text: !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tui-image-editor")):"function"==typeof define&&define.amd?define(["tui-image-editor"],e):"object"==typeof exports?exports.toastui=e(require("tui-image-editor")):t.toastui=e(t.tui&&t.tui.ImageEditor)}(window,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(e,n){e.exports=t},function(t,e,n){"use strict";n.r(e);var r=function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"tuiImageEditor",staticStyle:{width:"100%",height:"100%"}})};r._withStripped=!0;var o=n(0),i=n.n(o);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u={includeUI:{initMenu:"filter"}},a={cssMaxWidth:700,cssMaxHeight:500};var f=function(t,e,n,r,o,i,s,u){var a,f="function"==typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),s?(a=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},f._ssrRegister=a):o&&(a=u?function(){o.call(this,this.$root.$options.shadowRoot)}:o),a)if(f.functional){f._injectStyles=a;var c=f.render;f.render=function(t,e){return a.call(e),c(t,e)}}else{var d=f.beforeCreate;f.beforeCreate=d?[].concat(d,a):[a]}return{exports:t,options:f}}({name:"TuiImageEditor",props:{includeUi:{type:Boolean,default:!0},options:{type:Object,default:function(){return a}}},mounted:function(){var t=a;this.includeUi&&(t=Object.assign(u,this.options)),this.editorInstance=new i.a(this.$refs.tuiImageEditor,t),this.addEventListener()},destroyed:function(){var t=this;Object.keys(this.$listeners).forEach((function(e){t.editorInstance.off(e)})),this.editorInstance.destroy(),this.editorInstance=null},methods:{addEventListener:function(){var t=this;Object.keys(this.$listeners).forEach((function(e){t.editorInstance.on(e,(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.$emit.apply(t,[e].concat(r))}))}))},getRootElement:function(){return this.$refs.tuiImageEditor},invoke:function(t){for(var e,n=null,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];if(this.editorInstance[t])n=(e=this.editorInstance)[t].apply(e,o);else if(t.indexOf(".")>-1){var s=this.getMethod(this.editorInstance,t);"function"==typeof s&&(n=s.apply(void 0,o))}return n},getMethod:function(t,e){var n,r=this.parseDotMethodName(e),o=r.first,i=r.rest,u="Object"!==t.constructor.name,a=s(t[o]);return n=u&&"function"===a?t[o].bind(t):t[o],i.length>0?this.getMethod(n,i):n},parseDotMethodName:function(t){var e=t.indexOf("."),n=t,r="";return e>-1&&(n=t.substring(0,e),r=t.substring(e+1,t.length)),{first:n,rest:r}}}},r,[],!1,null,null,null);f.options.__file="src/ImageEditor.vue";var c=f.exports;n.d(e,"ImageEditor",(function(){return c}))}])}));
  //# sourceMappingURL=toastui-vue-image-editor.js.map