text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2037e25e"],{"2fb2":function(e,t,a){},"587f":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-card",{staticStyle:{"margin-top":"10px"}},[a("el-form",{attrs:{"label-position":"left","label-width":"120px"}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"标题"}},[a("el-input",{model:{value:e.allDetail.productName,callback:function(t){e.$set(e.allDetail,"productName",t)},expression:"allDetail.productName"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"促销语"}},[a("el-input",{model:{value:e.allDetail.productSubtitle,callback:function(t){e.$set(e.allDetail,"productSubtitle",t)},expression:"allDetail.productSubtitle"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"产品类别"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.allDetail.categoryId,callback:function(t){e.$set(e.allDetail,"categoryId",t)},expression:"allDetail.categoryId"}},e._l(e.category_list,(function(e){return a("el-option",{key:e.category_id,attrs:{label:e.category_name_display,value:e.category_id}})})),1)],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"货号"}},[a("el-input",{staticClass:"input_small",model:{value:e.allDetail.itemNo,callback:function(t){e.$set(e.allDetail,"itemNo",t)},expression:"allDetail.itemNo"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"品牌"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.allDetail.brandId,callback:function(t){e.$set(e.allDetail,"brandId",t)},expression:"allDetail.brandId"}},e._l(e.brand_list,(function(e){return a("el-option",{key:e.id,attrs:{label:e.brandName,value:e.id}})})),1)],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"最低起购"}},[a("el-input",{staticClass:"input_small",model:{value:e.allDetail.dealQuantityMin,callback:function(t){e.$set(e.allDetail,"dealQuantityMin",t)},expression:"allDetail.dealQuantityMin"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"单次最多购买"}},[a("el-input",{staticClass:"input_small",model:{value:e.allDetail.dealQuantityMax,callback:function(t){e.$set(e.allDetail,"dealQuantityMax",t)},expression:"allDetail.dealQuantityMax"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"运费模版"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.allDetail.deliveryConfigId,callback:function(t){e.$set(e.allDetail,"deliveryConfigId",t)},expression:"allDetail.deliveryConfigId"}},e._l(e.delivery_config_list,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"产品规格"}},[a("el-radio-group",{model:{value:e.allDetail.withSku,callback:function(t){e.$set(e.allDetail,"withSku",t)},expression:"allDetail.withSku"}},[a("el-radio",{staticClass:"radio",attrs:{label:!1}},[e._v("单一规格")]),e._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:!0}},[e._v("多规格")])],1)],1)],1)],1),e._v(" "),0==e.allDetail.withSku?a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"价格"}},[a("el-input",{staticClass:"input_small",model:{value:e.allDetail.price,callback:function(t){e.$set(e.allDetail,"price",t)},expression:"allDetail.price"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"折扣"}},[a("el-input",{staticClass:"input_small",model:{value:e.allDetail.priceDiscount,callback:function(t){e.$set(e.allDetail,"priceDiscount",t)},expression:"allDetail.priceDiscount"}})],1)],1)],1):e._e(),e._v(" "),0==e.allDetail.withSku?a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"总库存"}},[a("el-input",{staticClass:"input_small",model:{value:e.allDetail.inventoryQuantity,callback:function(t){e.$set(e.allDetail,"inventoryQuantity",t)},expression:"allDetail.inventoryQuantity"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:12}})],1):e._e(),e._v(" "),1==e.allDetail.withSku?a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"产品规格"}},[a("el-card",{attrs:{shadow:"never"}},[a("el-card",{attrs:{shadow:"never"}},[a("el-form-item",{attrs:{label:"规格名称"}},[e._l(e.attributeNameTags,(function(t,l){return a("el-tag",{key:l,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return e.handleAttributeNameClose(t)}}},[e._v("\n                "+e._s(t.valueName)+"\n              ")])})),e._v(" "),a("el-input",{ref:"saveAttributeNameTagInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:e.handleInputConfirm},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleInputConfirm(t)}},model:{value:e.AttributeNameinputValue,callback:function(t){e.AttributeNameinputValue=t},expression:"AttributeNameinputValue"}}),e._v(" "),a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:e.showAttributeNameInput}},[e._v("添加规格")]),e._v(" "),a("span",{staticClass:"tips"},[e._v("   请填写规格名，如：颜色、容量、尺码等………（最多可以添加2种）")])],2)],1),e._v(" "),a("el-row",[e._v(" ")]),e._v(" "),a("el-card",{attrs:{shadow:"never"}},e._l(e.allDetail.skuList,(function(t,l){return a("el-form-item",{key:l,attrs:{label:t.skuKeyName}},[e._l(t.skuValueList,(function(l,i){return a("el-tag",{key:i,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return e.handleColorClose(t.skuKeyName,l)}}},[e._v("\n              "+e._s(l.skuValueName)+"\n            ")])})),e._v(" "),a("el-input",{ref:"saveColorTagInput",refInFor:!0,staticClass:"input-new-tag",attrs:{size:"small"},model:{value:t.skuValueNameNew,callback:function(a){e.$set(t,"skuValueNameNew",a)},expression:"item.skuValueNameNew"}}),e._v(" "),a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(a){return e.handleConfirm(t.skuKeyName,t)}}},[e._v("增加")])],2)})),1)],1)],1)],1)],1):e._e(),e._v(" "),1==e.allDetail.withSku?a("el-form-item",[a("el-card",{attrs:{shadow:"never"}},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.allDetail.skuValuePriceEtcList,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"规格名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.skuValueName1)+","+e._s(t.row.skuValueName2))]}}],null,!1,3135057279)}),e._v(" "),a("el-table-column",{attrs:{label:"库存"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{model:{value:t.row.skuValueInventoryQuantity,callback:function(a){e.$set(t.row,"skuValueInventoryQuantity",a)},expression:"scope.row.skuValueInventoryQuantity"}})]}}],null,!1,433292510)}),e._v(" "),a("el-table-column",{attrs:{label:"价格"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{model:{value:t.row.skuValuePrice,callback:function(a){e.$set(t.row,"skuValuePrice",a)},expression:"scope.row.skuValuePrice"}})]}}],null,!1,1337169890)}),e._v(" "),a("el-table-column",{attrs:{label:"折扣"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{model:{value:t.row.skuValuePriceDiscount,callback:function(a){e.$set(t.row,"skuValuePriceDiscount",a)},expression:"scope.row.skuValuePriceDiscount"}})]}}],null,!1,3777165055)}),e._v(" "),a("el-table-column",[a("span",{staticClass:"tips"},[e._v("  1表示不打折，0.95是95折，以此类推。")])]),e._v(" "),a("el-table-column")],1)],1)],1):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"产品图片"}},[a("div",{staticClass:"box"},[a("draggable",e._b({staticClass:"list-group",attrs:{tag:"ul"},on:{start:function(t){e.productForm.drag=!0},end:function(t){e.productForm.drag=!1}},model:{value:e.productForm.productPicList,callback:function(t){e.$set(e.productForm,"productPicList",t)},expression:"productForm.productPicList"}},"draggable",e.dragOptions,!1),e._l(e.productForm.productPicList,(function(t,l){return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.productForm.loadingapp,expression:"productForm.loadingapp"}],key:l,staticClass:"img-wrapper divBox",on:{mouseenter:function(t){return e.showDelBtn(l)},mouseleave:e.hiddenDelBtn}},[t?a("img",{staticClass:"imgSty",attrs:{src:t,width:"148",height:"148"}}):e._e(),e._v(" "),a("div",{class:{mask:l===e.productForm.currentDelBtn}}),e._v(" "),a("i",{directives:[{name:"show",rawName:"v-show",value:l===e.productForm.currentDelBtn,expression:"index===productForm.currentDelBtn"}],staticClass:"el-icon-delete delIcon",on:{click:function(a){return e.deleImg(t,l)}}})])})),0),e._v(" "),a("el-upload",{attrs:{"show-file-list":!1,action:"","list-type":"picture-card","http-request":e.handleUploadHttpRequest,"on-success":e.handlePictureSuccess}},[a("i",{staticClass:"el-icon-plus"})])],1)]),e._v(" "),a("el-form-item",{staticStyle:{"margin-bottom":"30px"}},[a("Tinymce",{ref:"editor",attrs:{height:400},model:{value:e.allDetail.productDescription,callback:function(t){e.$set(e.allDetail,"productDescription",t)},expression:"allDetail.productDescription"}})],1),e._v(" "),a("el-form-item",[a("el-upload",{staticClass:"pic upload-demo",attrs:{action:"/api/admin/upload/public_pic","list-type":"picture-card",headers:e.headers,"show-file-list":!1,"on-success":e.UploadOnSuccess,"before-upload":e.beforeAvatarUpload}},[a("el-button",[e._v("上传插入图片")])],1)],1),e._v(" "),a("el-form-item",[e._v("\n        \n        推荐\n        "),a("el-switch",{model:{value:e.allDetail.isRecommend,callback:function(t){e.$set(e.allDetail,"isRecommend",t)},expression:"allDetail.isRecommend"}}),e._v("\n        热卖\n        "),a("el-switch",{model:{value:e.allDetail.isHot,callback:function(t){e.$set(e.allDetail,"isHot",t)},expression:"allDetail.isHot"}}),e._v("\n        新品\n        "),a("el-switch",{model:{value:e.allDetail.isNew,callback:function(t){e.$set(e.allDetail,"isNew",t)},expression:"allDetail.isNew"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.handleUpdate}},[e._v("发布")]),e._v("\n            \n        立即上架\n        "),a("el-switch",{model:{value:e.allDetail.isSelling,callback:function(t){e.$set(e.allDetail,"isSelling",t)},expression:"allDetail.isSelling"}})],1)],1)],1)],1)},i=[],n=(a("ac6a"),a("a481"),a("96cf"),a("3b8d")),s=a("db72"),r=(a("c5f6"),a("8256")),o=a("c4c8"),u=a("2f62"),c=a("5f87"),d=a("1980"),p=a.n(d),m={components:{Tinymce:r["a"],draggable:p.a},props:{id:{type:[Number,String],default:0}},data:function(){return{radio2:"1",checked:!1,headers:{token:Object(c["a"])(),user_id:Object(c["b"])()},imageUrl:"",dialogVisible:!1,productForm:{productPicList:[],currentDelBtn:-1,loadingapp:!1,drag:!1,productObj:[]},colorTags:[],sizeTags:[],attributeNameTags:[],dynamicTags:["标签一","标签二","标签三"],SizeinputVisible:!1,ColorinputVisible:!1,AttributeNameinputVisible:!1,SizeinputValue:"",ColorinputValue:"",AttributeNameinputValue:"",inputValue:""}},computed:Object(s["a"])(Object(s["a"])({},Object(u["c"])({allDetail:function(e){return e.product.allDetail},category_list:function(e){return e.product.CategoryListData},delivery_config_list:function(e){return e.delivery.deliveryConfigList},brand_list:function(e){return e.brand.brandList}})),{},{dragOptions:function(){return{animation:200,group:"description",disabled:!1,ghostClass:"ghost"}}}),created:function(){this.load()},methods:{load:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this,this.productForm.productObj={},this.productForm.productPicList=[],e.next=5,this.$store.dispatch("product/getDetail",this.id);case 5:return e.next=7,this.$store.dispatch("product/getCategory");case 7:return e.next=9,this.$store.dispatch("brand/getBrandList");case 9:return e.next=11,this.$store.dispatch("delivery/getDeliveryConfigList");case 11:for(t in this.$store.state.product.allDetail,this.productForm.productObj=this.$store.state.product.allDetail.pictureList,this.productForm.productObj)this.productForm.productPicList.push(this.productForm.productObj[t].url);case 14:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleUpdate:function(){this.$store.dispatch("product/updateProduct",this.allDetail),this.$router.replace({path:"/product/product"})},handleAvatarSuccess:function(e,t){this.imageUrl=URL.createObjectURL(t.raw)},beforeAvatarUpload:function(e){var t="image/jpeg"===e.type||"image/png"===e.type||"image/gif"===e.type,a=e.size/1024/1024<20;return t||this.$message.error("上传图片只能是 JPG、PNG、GIF 格式之一!"),a||this.$message.error("上传图片大小不能超过 20MB!"),t&&a},handleColorClose:function(e,t){for(var a=this,l=this,i=l.allDetail.skuValuePriceEtcList.length-1;i>=0;i--){var n=l.allDetail.skuValuePriceEtcList[i];n.skuValueName1!=t.skuValueName&&n.skuValueName2!=t.skuValueName||l.allDetail.skuValuePriceEtcList.splice(i,1)}this.allDetail.skuList.forEach((function(l){if(l.skuKeyName===e)return l.skuValueList.splice(l.skuValueList.indexOf(t),1),void(0==l.skuValueList.length&&a.allDetail.skuList.splice(a.allDetail.skuList.indexOf(l),1))}))},handleAttributeNameClose:function(e){this.attributeNameTags.splice(this.attributeNameTags.indexOf(e),1)},showAttributeNameInput:function(){var e=this;this.AttributeNameinputVisible=!0,this.$nextTick((function(t){e.$refs.saveAttributeNameTagInput.$refs.input.focus()}))},showColorInput:function(){var e=this;this.ColorinputVisible=!0,this.$nextTick((function(t){e.$refs.saveColorTagInput.$refs.input.focus()}))},handleConfirm:function(e,t){var a=this;if(t.skuValueNameNew){var l=0;a.allDetail.skuList.forEach((function(i){if(l++,i.skuKeyName!==e){i.skuValueList.forEach((function(e){var i=t.skuValueNameNew,n=e.skuValueName;if(1==l){var s=[n,i];i=s[0],n=s[1]}var r={skuValueName1:i,skuValueName2:n,skuValueInventoryQuantity:100,skuValuePrice:100,skuValuePriceDiscount:1};a.allDetail.skuValuePriceEtcList.push(r)}));for(var n=a.allDetail.skuValuePriceEtcList.length-1;n>=0;n--){var s=a.allDetail.skuValuePriceEtcList[n];null!=s.skuValueName1&&null!=s.skuValueName2||a.allDetail.skuValuePriceEtcList.splice(n,1)}}else{if(i.skuValueList.push({skuValueName:t.skuValueNameNew}),1==a.allDetail.skuList.length){var r={skuValueName1:t.skuValueNameNew,skuValueName2:null,skuValueInventoryQuantity:100,skuValuePrice:100,skuValuePriceDiscount:1};a.allDetail.skuValuePriceEtcList.push(r)}i.skuValueName=null}}))}},handleSizeInputConfirm:function(){var e=this.SizeinputValue;e&&this.sizeTags.push(e),this.SizeinputVisible=!1,this.SizeinputValue=""},handleInputConfirm:function(){var e=this.AttributeNameinputValue;this.allDetail.skuList.length>=2||(e&&this.allDetail.skuList.push({skuKeyName:e,skuValueList:[]}),this.AttributeNameinputVisible=!1,this.AttributeNameinputValue="")},handleUploadHttpRequest:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a,l,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.file,l=new FormData,l.append("file",a),e.next=5,Object(o["p"])(l);case 5:i=e.sent,0===i.status?(this.$notify({title:"提示信息",message:"图片上传成功",type:"success",duration:2e3}),this.productForm.productPicList.push(i.url),this.productForm.productObj.push({id:i.id,url:i.url})):this.$notify({title:"提示信息",message:i.message,type:"error",duration:2e3});case 7:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),UploadOnSuccess:function(e,t,a){this.$refs.editor.imageSuccessCBK([{url:e.url}]),this.$forceUpdate()},showDelBtn:function(e){this.productForm.currentDelBtn=e},hiddenDelBtn:function(){this.productForm.currentDelBtn=-1},deleImg:function(e,t){this.productForm.productPicList.splice(t,1)},handlePictureSuccess:function(e,t,a){var l="image/jpeg"===t.raw.type,i="image/jpg"===t.raw.type,n="image/png"===t.raw.type,s="image/gif"===t.raw.type;if(l||i||n||s){var r=this;new Promise((function(e,a){var l=window.URL||window.webkitURL,i=new Image;i.src=l.createObjectURL(t.raw)})).then((function(){return r.productForm.productPicList.push(t.response.data),t.raw}))}else this.$message.warning("只支持jpg或png或gif格式图片")}}},f=m,h=(a("7cda"),a("2877")),v=Object(h["a"])(f,l,i,!1,null,"74b1b3d9",null);t["default"]=v.exports},"7cda":function(e,t,a){"use strict";var l=a("2fb2"),i=a.n(l);i.a},8256:function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"tinymce-container",class:{fullscreen:e.fullscreen},style:{width:e.containerWidth}},[a("textarea",{staticClass:"tinymce-textarea",attrs:{id:e.tinymceId}}),e._v(" "),a("div",{staticClass:"editor-custom-btn-container"})])},i=[],n=(a("ac6a"),a("c5f6"),["advlist anchor autolink autosave code codesample colorpicker colorpicker contextmenu directionality emoticons fullscreen hr image imagetools insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace spellchecker tabfocus table template textcolor textpattern visualblocks visualchars wordcount"]),s=n,r=["searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent  blockquote undo redo removeformat subscript superscript code codesample","hr bullist numlist link image charmap preview anchor pagebreak insertdatetime media table emoticons forecolor backcolor fullscreen"],o=r,u=a("2d63"),c=[];function d(){return window.tinymce}var p=function(e,t){var a=document.getElementById(e),l=t||function(){};if(!a){var i=document.createElement("script");i.src=e,i.id=e,document.body.appendChild(i),c.push(l);var n="onload"in i?s:r;n(i)}function s(t){t.onload=function(){this.onerror=this.onload=null;var e,a=Object(u["a"])(c);try{for(a.s();!(e=a.n()).done;){var l=e.value;l(null,t)}}catch(i){a.e(i)}finally{a.f()}c=null},t.onerror=function(){this.onerror=this.onload=null,l(new Error("Failed to load "+e),t)}}function r(e){e.onreadystatechange=function(){if("complete"===this.readyState||"loaded"===this.readyState){this.onreadystatechange=null;var t,a=Object(u["a"])(c);try{for(a.s();!(t=a.n()).done;){var l=t.value;l(null,e)}}catch(i){a.e(i)}finally{a.f()}c=null}}}a&&l&&(d()?l(null,a):c.push(l))},m=p,f="https://cdn.jsdelivr.net/npm/tinymce-all-in-one@4.9.3/tinymce.min.js",h={name:"Tinymce",props:{id:{type:String,default:function(){return"vue-tinymce-"+ +new Date+(1e3*Math.random()).toFixed(0)}},value:{type:String,default:""},toolbar:{type:Array,required:!1,default:function(){return[]}},menubar:{type:String,default:"file edit insert view format table"},height:{type:[Number,String],required:!1,default:360},width:{type:[Number,String],required:!1,default:"auto"}},data:function(){return{hasChange:!1,hasInit:!1,tinymceId:this.id,fullscreen:!1,languageTypeList:{en:"en",zh:"zh_CN",es:"es_MX",ja:"ja"}}},computed:{containerWidth:function(){var e=this.width;return/^[\d]+(\.[\d]+)?$/.test(e)?"".concat(e,"px"):e}},watch:{value:function(e){var t=this;!this.hasChange&&this.hasInit&&this.$nextTick((function(){return window.tinymce.get(t.tinymceId).setContent(e||"")}))}},mounted:function(){this.init()},activated:function(){window.tinymce&&this.initTinymce()},deactivated:function(){this.destroyTinymce()},destroyed:function(){this.destroyTinymce()},methods:{init:function(){var e=this;m(f,(function(t){t?e.$message.error(t.message):e.initTinymce()}))},initTinymce:function(){var e=this,t=this;window.tinymce.init({selector:"#".concat(this.tinymceId),language:this.languageTypeList["en"],height:this.height,body_class:"panel-body ",object_resizing:!1,toolbar:this.toolbar.length>0?this.toolbar:o,menubar:this.menubar,plugins:s,end_container_on_empty_block:!0,powerpaste_word_import:"clean",code_dialog_height:450,code_dialog_width:1e3,advlist_bullet_styles:"square",advlist_number_styles:"default",imagetools_cors_hosts:["www.tinymce.com","codepen.io"],default_link_target:"_blank",link_title:!1,nonbreaking_force_tab:!0,init_instance_callback:function(a){t.value&&a.setContent(t.value),t.hasInit=!0,a.on("NodeChange Change KeyUp SetContent",(function(){e.hasChange=!0,e.$emit("input",a.getContent())}))},setup:function(e){e.on("FullscreenStateChanged",(function(e){t.fullscreen=e.state}))},convert_urls:!1})},destroyTinymce:function(){var e=window.tinymce.get(this.tinymceId);this.fullscreen&&e.execCommand("mceFullScreen"),e&&e.destroy()},setContent:function(e){window.tinymce.get(this.tinymceId).setContent(e)},getContent:function(){window.tinymce.get(this.tinymceId).getContent()},imageSuccessCBK:function(e){var t=this;e.forEach((function(e){window.tinymce.get(t.tinymceId).insertContent('<img class="wscnph" src="'.concat(e.url,'" >'))}))}}},v=h,b=(a("b19f"),a("2877")),g=Object(b["a"])(v,l,i,!1,null,"3a4cd6c3",null);t["a"]=g.exports},b19f:function(e,t,a){"use strict";var l=a("f218"),i=a.n(l);i.a},f218:function(e,t,a){}}]);