var __extends=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();define(["require","exports","ekyna-cms/editor/plugin/base-plugin","ekyna-cms/editor/document-manager","ekyna-product/cms/product-slide"],function(a,b,c,d,e){"use strict";var f=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return __extends(b,a),b.prototype.edit=function(){var b=this;a.prototype.edit.call(this),this.openModal(d.BlockManager.generateUrl(this.$element,"ekyna_cms_editor_block_edit"),function(a){"json"==a.contentType&&(e.init(b.$element),a.modal.close())})},b}(c.BasePlugin);return f});