UNPKG

vaslapp-content-manager

Version:

this package is for test

1 lines 236 kB
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var i in n)("object"==typeof exports?exports:t)[i]=n[i]}}(window,function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},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=89)}([function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var i=n(60),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();t.exports=o},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";e.__esModule=!0,e.extend=s,e.indexOf=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},e.escapeExpression=function(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return o.test(t)?t.replace(r,a):t},e.isEmpty=function(t){return!t&&0!==t||!(!c(t)||0!==t.length)},e.createFrame=function(t){var e=s({},t);return e._parent=t,e},e.blockParams=function(t,e){return t.path=e,t},e.appendContextPath=function(t,e){return(t?t+".":"")+e};var i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},r=/[&<>"'`=]/g,o=/[&<>"'`=]/;function a(t){return i[t]}function s(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}var l=Object.prototype.toString;e.toString=l;var u=function(t){return"function"==typeof t};u(/x/)&&(e.isFunction=u=function(t){return"function"==typeof t&&"[object Function]"===l.call(t)}),e.isFunction=u;var c=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===l.call(t)};e.isArray=c},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var i=n(75)("wks"),r=n(43),o=n(5).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},function(t,e,n){t.exports=n(249).default},function(t,e,n){var i=n(95),r=n(100);t.exports=function(t,e){var n=r(t,e);return i(n)?n:void 0}},function(t,e,n){var i=n(10),r=n(69);t.exports=n(12)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(11),r=n(125),o=n(126),a=Object.defineProperty;e.f=n(12)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(2);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(23),r=n(96),o=n(97),a=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?r(t):o(t)}},function(t,e,n){var i=n(33),r=n(35);t.exports=function(t){return null!=t&&r(t.length)&&!i(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){var i=n(5),r=n(18),o=n(26),a=n(9),s=n(13),l=function(t,e,n){var u,c,d,f=t&l.F,h=t&l.G,p=t&l.S,m=t&l.P,v=t&l.B,g=t&l.W,b=h?r:r[e]||(r[e]={}),y=b.prototype,x=h?i:p?i[e]:(i[e]||{}).prototype;for(u in h&&(n=e),n)(c=!f&&x&&void 0!==x[u])&&s(b,u)||(d=c?x[u]:n[u],b[u]=h&&"function"!=typeof x[u]?n[u]:v&&c?o(d,i):g&&x[u]==d?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[u]=d,t&l.R&&y&&!y[u]&&a(y,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports={}},function(t,e,n){var i=n(32);t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},function(t,e,n){"use strict";e.__esModule=!0;var i=["description","fileName","lineNumber","message","name","number","stack"];function r(t,e){var n=e&&e.loc,o=void 0,a=void 0;n&&(t+=" - "+(o=n.start.line)+":"+(a=n.start.column));for(var s=Error.prototype.constructor.call(this,t),l=0;l<i.length;l++)this[i[l]]=s[i[l]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{n&&(this.lineNumber=o,Object.defineProperty?Object.defineProperty(this,"column",{value:a,enumerable:!0}):this.column=a)}catch(t){}}r.prototype=new Error,e.default=r,t.exports=e.default},function(t,e,n){var i=n(1).Symbol;t.exports=i},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,n){var i=n(67);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(166),r=n(215),o=n(34),a=n(0),s=n(225);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?r(t[0],t[1]):i(t):s(t)}},function(t,e,n){var i=n(168),r=n(169),o=n(170),a=n(171),s=n(172);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},function(t,e,n){var i=n(24);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},function(t,e,n){var i=n(8)(Object,"create");t.exports=i},function(t,e,n){var i=n(186);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var i=n(14),r=n(16);t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==i(t)}},function(t,e,n){var i=n(14),r=n(4);t.exports=function(t){if(!r(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e){t.exports=function(t){return t}},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,n){(function(t){var i=n(1),r=n(113),o="object"==typeof e&&e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?i.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;t.exports=l}).call(this,n(65)(t))},function(t,e,n){var i=n(114),r=n(115),o=n(116),a=o&&o.isTypedArray,s=a?r(a):i;t.exports=s},function(t,e,n){var i=n(39),r=n(70);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(40);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(74),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(75)("keys"),r=n(43);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var i=n(10).f,r=n(13),o=n(6)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(70);t.exports=function(t){return Object(i(t))}},function(t,e,n){var i=n(26),r=n(39),o=n(45),a=n(41),s=n(144);t.exports=function(t,e){var n=1==t,l=2==t,u=3==t,c=4==t,d=6==t,f=5==t||d,h=e||s;return function(e,s,p){for(var m,v,g=o(e),b=r(g),y=i(s,p,3),x=a(b.length),w=0,E=n?h(e,x):l?h(e,0):void 0;x>w;w++)if((f||w in b)&&(v=y(m=b[w],w,g),t))if(n)E[w]=v;else if(v)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:E.push(m)}else if(c)return!1;return d?-1:u||c?c:E}}},function(t,e,n){var i=n(43)("meta"),r=n(2),o=n(13),a=n(10).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(19)(function(){return l(Object.preventExtensions({}))}),c=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[i].i},getWeak:function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[i].w},onFreeze:function(t){return u&&d.NEED&&l(t)&&!o(t,i)&&c(t),t}}},function(t,e,n){var i=n(26),r=n(151),o=n(152),a=n(11),s=n(41),l=n(153),u={},c={};(e=t.exports=function(t,e,n,d,f){var h,p,m,v,g=f?function(){return t}:l(t),b=i(n,d,e?2:1),y=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(h=s(t.length);h>y;y++)if((v=e?b(a(p=t[y])[0],p[1]):b(t[y]))===u||v===c)return v}else for(m=g.call(t);!(p=m.next()).done;)if((v=r(m,b,p.value,e))===u||v===c)return v}).BREAK=u,e.RETURN=c},function(t,e,n){var i=n(2);t.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0});var r=e.insertAfter=function(t,e){var n=e.parentNode;n.lastChild==e?n.appendChild(t):n.insertBefore(t,e.nextSibling)},o=e.setEndOfContenteditable=function(t){var e=void 0,n=void 0;document.createRange?((e=document.createRange()).selectNodeContents(t),e.collapse(!1),(n=window.getSelection()).removeAllRanges(),n.addRange(e)):document.selection&&((e=document.body.createTextRange()).moveToElementText(t),e.collapse(!1),e.select())},a=e.uuid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},s=e.toEnum=function(t){var e=Object.keys(t).reduce(function(e,n){return e[t[n]]=n,e},{});return Object.freeze(Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},function(t){return e[t]}))},l=e.isExistInEnum=function(t,e){return Object.values(t).includes(e)},u=e.triggerEvent=function(t,e){var n;"createEvent"in document?((n=document.createEvent("HTMLEvents")).initEvent(e,!1,!0),t.dispatchEvent(n)):((n=document.createEventObject()).eventType=e,t.fireEvent("on"+n.eventType,n))},c=e.insertBetween=function(t,e,n){return[].concat(i(n.slice(0,t)),[e],i(n.slice(t)))};e.default={insertAfter:r,setEndOfContenteditable:o,uuid:a,toEnum:s,isExistInEnum:l,triggerEvent:u,insertBetween:c}},function(t,e,n){var i=n(8)(n(1),"Map");t.exports=i},function(t,e,n){var i=n(178),r=n(185),o=n(187),a=n(188),s=n(189);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},function(t,e,n){var i=n(63),r=n(207),o=n(15);t.exports=function(t){return o(t)?i(t):r(t)}},function(t,e,n){var i=n(55),r=n(21);t.exports=function(t,e){for(var n=0,o=(e=i(e,t)).length;null!=t&&n<o;)t=t[r(e[n++])];return n&&n==o?t:void 0}},function(t,e,n){var i=n(0),r=n(56),o=n(217),a=n(220);t.exports=function(t,e){return i(t)?t:r(t,e)?[t]:o(a(t))}},function(t,e,n){var i=n(0),r=n(32),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!r(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},function(t,e,n){t.exports=n(92)},function(t,e,n){var i=n(59);t.exports=function(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var i=n(8),r=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=r},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(61))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,n){var i=n(111),r=n(64),o=n(0),a=n(36),s=n(25),l=n(37),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),c=!n&&r(t),d=!n&&!c&&a(t),f=!n&&!c&&!d&&l(t),h=n||c||d||f,p=h?i(t.length,String):[],m=p.length;for(var v in t)!e&&!u.call(t,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||p.push(v);return p}},function(t,e,n){var i=n(112),r=n(16),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(t){return r(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=l},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(2),r=n(5).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=!0},function(t,e,n){t.exports=n(9)},function(t,e,n){var i=n(138),r=n(76);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(18),r=n(5),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(71)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(9);t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(l=u,u=[];++d<e;)l&&l[d].run();d=-1,e=u.length}l=null,c=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new p(t,e)),1!==u.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}},function(t,e,n){var i=n(28),r=n(173),o=n(174),a=n(175),s=n(176),l=n(177);function u(t){var e=this.__data__=new i(t);this.size=e.size}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,t.exports=u},function(t,e,n){var i=n(190),r=n(16);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!r(e)&&!r(n)?e!=e&&n!=n:i(e,n,o,a,t,s))}},function(t,e,n){var i=n(191),r=n(194),o=n(195);t.exports=function(t,e,n,a,s,l){var u=1&n,c=t.length,d=e.length;if(c!=d&&!(u&&d>c))return!1;var f=l.get(t);if(f&&l.get(e))return f==e;var h=-1,p=!0,m=2&n?new i:void 0;for(l.set(t,e),l.set(e,t);++h<c;){var v=t[h],g=e[h];if(a)var b=u?a(g,v,h,e,t,l):a(v,g,h,t,e,l);if(void 0!==b){if(b)continue;p=!1;break}if(m){if(!r(e,function(t,e){if(!o(m,e)&&(v===t||s(v,t,n,a,l)))return m.push(e)})){p=!1;break}}else if(v!==g&&!s(v,g,n,a,l)){p=!1;break}}return l.delete(t),l.delete(e),p}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var i=n(4);t.exports=function(t){return t==t&&!i(t)}},function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},function(t,e,n){var i=n(230),r=n(53);t.exports=function(t,e){return t&&i(t,e,r)}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.HandlebarsEnvironment=u;var r=n(3),o=i(n(22)),a=n(250),s=n(258),l=i(n(260));function u(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},a.registerDefaultHelpers(this),s.registerDefaultDecorators(this)}e.VERSION="4.1.2",e.COMPILER_REVISION=7,e.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"},u.prototype={constructor:u,logger:l.default,log:l.default.log,registerHelper:function(t,e){if("[object Object]"===r.toString.call(t)){if(e)throw new o.default("Arg not supported with multiple helpers");r.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if("[object Object]"===r.toString.call(t))r.extend(this.partials,t);else{if(void 0===e)throw new o.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if("[object Object]"===r.toString.call(t)){if(e)throw new o.default("Arg not supported with multiple decorators");r.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var c=l.default.log;e.log=c,e.createFrame=r.createFrame,e.logger=l.default},function(t,e,n){t.exports=n(90)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContentManager=void 0,n(91);var i=a(n(57)),r=a(n(119)),o=a(n(160));function a(t){return t&&t.__esModule?t:{default:t}}n(271);var s={target:"",placeholder:"",editor:!1,ajax:{url:"path.php",method:"POST",data:{},headers:{}}},l=e.ContentManager=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.getData=function(){return n.core.getData()},n.setData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n.core.setData(t)},(s=(0,i.default)(s,t)).target?(n.elem=document.querySelector(s.target),n.elem.dataset.time=(new Date).getTime(),n.elem.dataset.name="ali",n.elem.classList.add("cm-wrapper"),n.core=new o.default(n.elem,s),n.core.init()):console.error("you must select element by options 'target'"),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default),e}();e.default=l},function(t,e){},function(t,e,n){var i=n(93),r=n(101),o=n(110),a=r(function(t,e){i(e,o(e),t)});t.exports=a},function(t,e,n){var i=n(94),r=n(58);t.exports=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,l=e.length;++s<l;){var u=e[s],c=o?o(n[u],t[u],u,n,t):void 0;void 0===c&&(c=t[u]),a?r(n,u,c):i(n,u,c)}return n}},function(t,e,n){var i=n(58),r=n(24),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&r(a,n)&&(void 0!==n||e in t)||i(t,e,n)}},function(t,e,n){var i=n(33),r=n(98),o=n(4),a=n(62),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,f=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||r(t))&&(i(t)?f:s).test(a(t))}},function(t,e,n){var i=n(23),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var r=a.call(t);return i&&(e?t[s]=n:delete t[s]),r}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){var i=n(99),r=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!r&&r in t}},function(t,e,n){var i=n(1)["__core-js_shared__"];t.exports=i},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){var i=n(102),r=n(109);t.exports=function(t){return i(function(e,n){var i=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&r(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++i<o;){var l=n[i];l&&t(e,l,i,a)}return e})}},function(t,e,n){var i=n(34),r=n(103),o=n(105);t.exports=function(t,e){return o(r(t,e,i),t+"")}},function(t,e,n){var i=n(104),r=Math.max;t.exports=function(t,e,n){return e=r(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=r(o.length-e,0),l=Array(s);++a<s;)l[a]=o[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=o[a];return u[e]=n(l),i(t,this,u)}}},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e,n){var i=n(106),r=n(108)(i);t.exports=r},function(t,e,n){var i=n(107),r=n(59),o=n(34),a=r?function(t,e){return r(t,"toString",{configurable:!0,enumerable:!1,value:i(e),writable:!0})}:o;t.exports=a},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e){var n=Date.now;t.exports=function(t){var e=0,i=0;return function(){var r=n(),o=16-(r-i);if(i=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,n){var i=n(24),r=n(15),o=n(25),a=n(4);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?r(n)&&o(e,n.length):"string"==s&&e in n)&&i(n[e],t)}},function(t,e,n){var i=n(63),r=n(117),o=n(15);t.exports=function(t){return o(t)?i(t,!0):r(t)}},function(t,e){t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},function(t,e,n){var i=n(14),r=n(16);t.exports=function(t){return r(t)&&"[object Arguments]"==i(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var i=n(14),r=n(35),o=n(16),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&r(t.length)&&!!a[i(t)]}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){(function(t){var i=n(60),r="object"==typeof e&&e&&!e.nodeType&&e,o=r&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===r&&i.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(this,n(65)(t))},function(t,e,n){var i=n(4),r=n(66),o=n(118),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return o(t);var e=r(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(n(120)),r=o(n(121));function o(t){return t&&t.__esModule?t:{default:t}}var a=new(o(n(127)).default),s=function(){function t(){(0,i.default)(this,t),a.set(this,{events:{}}),this.eventLength=0}return(0,r.default)(t,[{key:"on",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===e)throw new Error("You must provide a callback method.");if("function"!=typeof e)throw new TypeError("Listener must be a function");return this.events[t]=this.events[t]||[],this.events[t].push({cb:e,once:n}),this.eventLength++,this}},{key:"off",value:function(t,e){if(void 0===e)throw new Error("You must provide a callback method.");if("function"!=typeof e)throw new TypeError("Listener must be a function");if(void 0===this.events[t])throw new Error("Event not found - the event you provided is: "+t);var n=this.events[t];return n.forEach(function(t,i){t.cb===e&&n.splice(i,1)}),0===n.length&&(delete this.events[t],this.eventLength--),this}},{key:"trigger",value:function(t){for(var e=this,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if(void 0===t)throw new Error("You must provide an event to trigger.");var o=this.events[t],a=[];return void 0!==o&&o.forEach(function(t,n){t.cb.apply(e,i),t.once&&a.unshift(n),a.forEach(function(t,e){o.splice(e,1)})}),this}},{key:"once",value:function(t,e){this.on(t,e,!0)}},{key:"destroy",value:function(){a.delete(this),this.eventLength=0}},{key:"events",get:function(){return a.get(this).events}}]),t}();e.default=s},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var i=function(t){return t&&t.__esModule?t:{default:t}}(n(122));e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(t,r.key,r)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}()},function(t,e,n){t.exports={default:n(123),__esModule:!0}},function(t,e,n){n(124);var i=n(18).Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},function(t,e,n){var i=n(17);i(i.S+i.F*!n(12),"Object",{defineProperty:n(10).f})},function(t,e,n){t.exports=!n(12)&&!n(19)(function(){return 7!=Object.defineProperty(n(68)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(2);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){t.exports={default:n(128),__esModule:!0}},function(t,e,n){n(129),n(130),n(143),n(156),n(158),t.exports=n(18).WeakMap},function(t,e){},function(t,e,n){n(131);for(var i=n(5),r=n(9),o=n(20),a=n(6)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=i[u],d=c&&c.prototype;d&&!d[a]&&r(d,a,u),o[u]=o.Array}},function(t,e,n){"use strict";var i=n(132),r=n(133),o=n(20),a=n(38);t.exports=n(134)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var i=n(71),r=n(17),o=n(72),a=n(9),s=n(20),l=n(135),u=n(44),c=n(142),d=n(6)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,m,v,g){l(n,e,p);var b,y,x,w=function(t){if(!f&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",C="values"==m,S=!1,k=t.prototype,T=k[d]||k["@@iterator"]||m&&k[m],_=T||w(m),A=m?C?w("entries"):_:void 0,L="Array"==e&&k.entries||T;if(L&&(x=c(L.call(new t)))!==Object.prototype&&x.next&&(u(x,E,!0),i||"function"==typeof x[d]||a(x,d,h)),C&&T&&"values"!==T.name&&(S=!0,_=function(){return T.call(this)}),i&&!g||!f&&!S&&k[d]||a(k,d,_),s[e]=_,s[E]=h,m)if(b={values:C?_:w("values"),keys:v?_:w("keys"),entries:A},g)for(y in b)y in k||o(k,y,b[y]);else r(r.P+r.F*(f||S),e,b);return b}},function(t,e,n){"use strict";var i=n(136),r=n(69),o=n(44),a={};n(9)(a,n(6)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var i=n(11),r=n(137),o=n(76),a=n(42)("IE_PROTO"),s=function(){},l=function(){var t,e=n(68)("iframe"),i=o.length;for(e.style.display="none",n(141).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;i--;)delete l.prototype[o[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=i(t),n=new s,s.prototype=null,n[a]=t):n=l(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(10),r=n(11),o=n(73);t.exports=n(12)?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),s=a.length,l=0;s>l;)i.f(t,n=a[l++],e[n]);return t}},function(t,e,n){var i=n(13),r=n(38),o=n(139)(!1),a=n(42)("IE_PROTO");t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var i=n(38),r=n(41),o=n(140);t.exports=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){var i=n(74),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(5).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(13),r=n(45),o=n(42)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){"use strict";var i,r=n(5),o=n(46)(0),a=n(72),s=n(47),l=n(147),u=n(150),c=n(2),d=n(49),f=n(49),h=!r.ActiveXObject&&"ActiveXObject"in r,p=s.getWeak,m=Object.isExtensible,v=u.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(t){if(c(t)){var e=p(t);return!0===e?v(d(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(d(this,"WeakMap"),t,e)}},y=t.exports=n(155)("WeakMap",g,b,u,!0,!0);f&&h&&(l((i=u.getConstructor(g,"WeakMap")).prototype,b),s.NEED=!0,o(["delete","has","get","set"],function(t){var e=y.prototype,n=e[t];a(e,t,function(e,r){if(c(e)&&!m(e)){this._f||(this._f=new i);var o=this._f[t](e,r);return"set"==t?this:o}return n.call(this,e,r)})}))},function(t,e,n){var i=n(145);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){var i=n(2),r=n(146),o=n(6)("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var i=n(40);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";var i=n(73),r=n(148),o=n(149),a=n(45),s=n(39),l=Object.assign;t.exports=!l||n(19)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i})?function(t,e){for(var n=a(t),l=arguments.length,u=1,c=r.f,d=o.f;l>u;)for(var f,h=s(arguments[u++]),p=c?i(h).concat(c(h)):i(h),m=p.length,v=0;m>v;)d.call(h,f=p[v++])&&(n[f]=h[f]);return n}:l},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var i=n(77),r=n(47).getWeak,o=n(11),a=n(2),s=n(78),l=n(48),u=n(46),c=n(13),d=n(49),f=u(5),h=u(6),p=0,m=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},g=function(t,e){return f(t.a,function(t){return t[0]===e})};v.prototype={get:function(t){var e=g(this,t);if(e)return e[1]},has:function(t){return!!g(this,t)},set:function(t,e){var n=g(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var u=t(function(t,i){s(t,u,e,"_i"),t._t=e,t._i=p++,t._l=void 0,void 0!=i&&l(i,n,t[o],t)});return i(u.prototype,{delete:function(t){if(!a(t))return!1;var n=r(t);return!0===n?m(d(this,e)).delete(t):n&&c(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=r(t);return!0===n?m(d(this,e)).has(t):n&&c(n,this._i)}}),u},def:function(t,e,n){var i=r(o(e),!0);return!0===i?m(t).set(e,n):i[t._i]=n,t},ufstore:m}},function(t,e,n){var i=n(11);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},function(t,e,n){var i=n(20),r=n(6)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(154),r=n(6)("iterator"),o=n(20);t.exports=n(18).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){var i=n(40),r=n(6)("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){"use strict";var i=n(5),r=n(17),o=n(47),a=n(19),s=n(9),l=n(77),u=n(48),c=n(78),d=n(2),f=n(44),h=n(10).f,p=n(46)(0),m=n(12);t.exports=function(t,e,n,v,g,b){var y=i[t],x=y,w=g?"set":"add",E=x&&x.prototype,C={};return m&&"function"==typeof x&&(b||E.forEach&&!a(function(){(new x).entries().next()}))?(x=e(function(e,n){c(e,x,t,"_c"),e._c=new y,void 0!=n&&u(n,g,e[w],e)}),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var e="add"==t||"set"==t;t in E&&(!b||"clear"!=t)&&s(x.prototype,t,function(n,i){if(c(this,x,t),!e&&b&&!d(n))return"get"==t&&void 0;var r=this._c[t](0===n?0:n,i);return e?this:r})}),b||h(x.prototype,"size",{get:function(){return this._c.size}})):(x=v.getConstructor(e,t,g,w),l(x.prototype,n),o.NEED=!0),f(x,t),C[t]=x,r(r.G+r.W+r.F,C),b||v.setStrong(x,t,g),x}},function(t,e,n){n(157)("WeakMap")},function(t,e,n){"use strict";var i=n(17);t.exports=function(t){i(i.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){n(159)("WeakMap")},function(t,e,n){"use strict";var i=n(17),r=n(67),o=n(26),a=n(48);t.exports=function(t){i(i.S,t,{from:function(t){var e,n,i,s,l=arguments[1];return r(this),(e=void 0!==l)&&r(l),void 0==t?new this:(n=[],e?(i=0,s=o(l,arguments[2],2),a(t,!1,function(t){n.push(s(t,i++))})):a(t,!1,n.push,n),new this(n))}})}},function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=p(i(50)),o=p(i(161)),a=p(i(162)),s=p(i(163)),l=p(i(164)),u=p(i(165)),c=p(i(57)),d=p(i(233)),f=p(i(239)),h=p(i(244));function p(t){return t&&t.__esModule?t:{default:t}}var m=i(248),v=i(264),g=i(265),b=i(266),y=i(267),x=i(268),w=i(269),E=i(270),C=r.default.toEnum({TEXT:"text",IMAGE:"image",VIDEO:"video",AUDIO:"audio",LINK:"link",MAP:"map",CUSTOM1:"cusom-1",CUSTOM2:"cusom-2",CUSTOM3:"cusom-3",CUSTOM4:"cusom-4",CUSTOM5:"cusom-5"}),S=r.default.toEnum({IMAGE:"image",VIDEO:"video",AUDIO:"audio",LINK:"link",MAP:"map"}),k=null,T=function(){var t=this;this.watch=function(t){},this.createSection=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=k.id=r.default.uuid(),o={id:i,contentRow:C.TEXT,field1:"",field2:"",field3:"",field4:"",field5:""};if(n&&(o={id:i,contentRow:n.contentRow,field1:n.field1,field2:n.field2,field3:n.field3,field4:n.field4,field5:n.field5}),t)try{var a=/cm-section-((\w*\W*)*)/g,s=t.id;s.match(a)&&(s=s.replace(a,"$1"));var u=(0,f.default)(k.data,function(t){return t.id===s});u>-1?u+1===k.data.length?k.data.push(o):k.data=r.default.insertBetween(u+1,o,k.data):(e.log("not found index"),k.data.push(o))}catch(t){k.data.push(o),console.log(t)}else k.data.push(o);var c=document.createElement("div");c.classList.add("cm-section"),c.id="cm-section-"+i;var d=document.createElement("div");d.setAttribute("contenteditable","true"),d.setAttribute("placeholder",k.defaults.placeholder||"write here..."),d.classList.add("cm-content"),d.id="cm-content-"+i,d.innerHTML=o.field1,c.appendChild(d),document.querySelectorAll("button[data-action='removeList']").forEach(function(t){t.addEventListener("click",function(t){var e=/btn-delete-((\w*\W*)*)/g,n=t.currentTarget.id;n.match(e)&&(n=n.replace(e,"$1"));var i=document.querySelector("#cm-section-"+n),o=document.querySelector("#cm-content-"+n);k.elem.querySelectorAll(".cm-section").length>0&&k.data.findIndex(function(t){return t.id==n})>-1&&(null===i.previousSibling&&(t.preventDefault(),k.createSection(i)),k.removeDataItem(o),r.default.setEndOfContenteditable(i.querySelector(".cm-content")),k.elem.removeChild(i))})}),d.addEventListener("keyup",function(t){var e=(t=t||window.event).charCode?t.charCode:t.which,n=/cm-section-((\w*\W*)*)/g,i=d.parentNode.id;i.match(n)&&(i=i.replace(n,"$1"));var o="";if(k.data.forEach(function(t){t.id==i&&(o=t.contentRow)}),o!==C.TEXT&&8!==e&&46!==e)return t.preventDefault(),!1;if(k.updateContentRow(d,C.TEXT),8===e||46===e){var a=d.innerText.trim();""!==a&&a.length&&"\r\n"!==a&&"\n"!==a||(t.preventDefault(),k.elem.querySelectorAll(".cm-section").length>1&&k.data.findIndex(function(t){return t.id==i})>-1&&(k.removeDataItem(d),r.default.setEndOfContenteditable(c.querySelector(".cm-content")),k.elem.removeChild(c)))}}),d.addEventListener("keydown",function(t){var e=(t=t||window.event).charCode?t.charCode:t.which,n=/cm-section-((\w*\W*)*)/g,i=d.parentNode.id;i.match(n)&&(i=i.replace(n,"$1"));var r="";if(k.data.forEach(function(t){t.id==i&&(r=t.contentRow)}),r!==C.TEXT&&13!==e)return t.preventDefault(),d.setAttribute("contenteditable","false"),!1;13===e&&(t.ctrlKey||t.metaKey)?(t.preventDefault(),document.execCommand("insertparagraph",!1,d.id)):13===e&&(t.preventDefault(),k.createSection(c))}),d.addEventListener("input",function(t){var e=/cm-section-((\w*\W*)*)/g,n=d.parentNode.id;n.match(e)&&(n=n.replace(e,"$1"));var i=document.querySelector("#btn-create-"+n),r=document.querySelector("#btn-delete-"+n);this.innerText.trim().length?(i.classList.add("hidden"),r.classList.remove("hidden")):(i.classList.remove("hidden"),r.classList.add("hidden")),k.updateContentText(d)}),d.addEventListener("cm.inset.media",function(t){var e=/cm-section-((\w*\W*)*)/g,n=d.parentNode.id;n.match(e)&&(n=n.replace(e,"$1"));var i=document.querySelector("#btn-create-"+n),r=document.querySelector("#btn-delete-"+n);this.innerText.trim().length?(r.classList.remove("hidden"),i.classList.add("hidden")):(i.classList.remove("hidden"),r.classList.add("hidden")),k.updateContentObject(d,t.detail.contentRow)});var h=document.createElement("div");h.classList.add("cm-btn-control"),h.id="cm-btn-control-"+i,h.innerHTML=m({id:i}),c.appendChild(h),h.querySelector(".create-section-list"),h.querySelectorAll("[data-action='add']").forEach(function(t){t.addEventListener("click",function(t){var e=t.currentTarget.dataset.type;k.updateContentRow(d,e)})}),t?r.default.insertAfter(c,t):k.elem.appendChild(c);var p=document.querySelectorAll(".cm-content");return new l.default(p,{disableReturn:!0,disableDoubleReturn:!0,disableExtraSpaces:!0,placeholder:!1,anchorPreview:!1,paste:{cleanPastedHTML:!0,unwrapTags:["a"],cleanTags:["img"]},toolbar:{buttons:["bold","italic","underline","h2","h3","quote"]}}),d.focus(),d},this.updateContentRow=function(t,e){var n=/cm-section-((\w*\W*)*)/g,i=t.parentNode.id;i.match(n)&&(i=i.replace(n,"$1")),r.default.isExistInEnum(C,e)&&(0,u.default)(k.data,function(t){return t.id===i&&(t.contentRow=e),t})},this.updateContentText=function(t){var e=/cm-section-((\w*\W*)*)/g,n=t.parentNode.id;n.match(e)&&(n=n.replace(e,"$1"));var i=t.innerHTML;t.innerText,(0,u.default)(k.data,function(t){return t.id===n&&(t.field1=i,t.field2=i),t})},this.updateContentObject=function(t,e){var n=/cm-section-((\w*\W*)*)/g,i=t.parentNode.id;i.match(n)&&(i=i.replace(n,"$1"));var r=t.innerHTML;(0,u.default)(k.data,function(n){return n.id===i&&(n.field2=r,S.IMAGE===e?n.field1=b({url:r}):S.VIDEO===e?n.field1=y({url:r}):S.AUDIO===e?n.field1=x({url:r}):S.LINK===e?n.field1=w({url:r}):S.MAP===e&&(n.field1=E({url:r,id:i})),t.innerHTML=n.field1),n})},this.removeDataItem=function(t){var e=/cm-section-((\w*\W*)*)/g,n=t.parentNode.id;n.match(e)&&(n=n.replace(e,"$1")),k.data=(0,d.default)(k.data,function(t){if(t.id!==n)return t})},this.init=function(){document.addEventListener("click",function(t){"undefined"!==t.target.dataset.action&&"toggleList"===t.target.dataset.action?(document.querySelector(t.target.dataset.target).classList.toggle("show"),t.target.classList.contains("btn-create-text")?t.target.parentNode.classList.toggle("close"):t.target.classList.toggle("close")):(document.querySelectorAll("button[data-action='toggleList']").forEach(function(t){t.classList.remove("close")}),document.querySelectorAll(".create-section-list").forEach(function(t){t.classList.remove("show")}))}),k.createSection()},this.setData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=t;document.querySelectorAll(".cm-section").forEach(function(t){t.remove()}),n.data=[];var i=!0,o=null;e.forEach(function(t){var e={id:"",contentRow:C.TEXT,field1:"",field2:"",field3:"",field4:"",field5:""};if((t=(0,c.default)(e,t)).contentRow===C.TEXT)o=n.createSection(i?void 0:o.parentNode,t),i&&(i=!1),r.default.triggerEvent(o,"input");else{var a=/^["\s|\s|"]*<(\w|\W)+(src|href)+=(\\"|")(([^\\"]|\\")*)(\\"|")(\w|\W)+/g;t=(0,h.default)(t,function(e,n,i){"field1"===i?t.field1.match(a)&&(n=n.replace(a,"$4"),e[i]=n):e[i]=n},{}),o=n.createSection(i?void 0:o.parentNode,t),i&&(i=!1);var s=new CustomEvent("cm.inset.media",{detail:{contentRow:t.contentRow}});o.dispatchEvent(s)}})},this.getData=function(){return k.data}};n.default=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),T.call(this),this.elem=e,this.defaults=n,this.data=[],this.id="",this.lastCursorPosition=0,k=this,new o.default({target:k.defaults.target,modalId:"contentFileManagerModal",customNameForEventFileSelect:"cfm.file.item.select",useExternalLink:!0,ajax:k.defaults.ajax}),_();var i=document.createElement("div");i.innerHTML=v({}),document.body.appendChild(i);var r=document.createElement("div");r.innerHTML=g({}),document.body.appendChild(r),$("#contentFileManagerModal").on("shown.bs.modal",function(t){document.querySelector(k.defaults.target).addEventListener("cfm.file.item.select",A,!1)}),$("#contentFileManagerModal").on("hidden.bs.modal",function(t){document.querySelector(k.defaults.target).removeEventListener("cfm.file.item.select",A,!1)}),$("#urlModal").on("shown.bs.modal",function(t){var e=$(t.relatedTarget),n=$(this);new a.default(n).init(e,k)}),$("#urlModal").on("hidden.bs.modal",function(){$(this).find(".modal-body input").val("")});var l=new s.default($("#mapModal"),k);return $("#mapModal").on("shown.bs.modal",function(t){var e=$(this),n=$(t.relatedTarget),i=null;if(t.relatedTarget.hasAttribute("data-latlng")){i=$(t.relatedTarget).data("latlng");var r=n.data("sectionId");e.find("#map-submit").data("sectionId",r),e.find("#map-submit").data("type",n.data("type")),e.find("#map-submit").data("latlng",i),l.initMap(i)}else r=n.data("sectionId"),e.find("#map-submit").data("sectionId",r),e.find("#map-submit").data("type",n.data("type")),l.initMap(i)}),$("#mapModal").on("hidden.bs.modal",function(){var t=$(this);l.removeMap(),t.find(".modal-body input").val(""),t.find("#map-submit").data("latlng","")}),this};var _=function(){var t=document.querySelector(k.defaults.target);t.removeEventListener("cfm.file.item.select",A,!1),t.addEventListener("cfm.file.item.select",A,!1)},A=function(t){t.preventDefault();var e=$(t.relatedTarget);$("#cm-content-"+e.data("sectionId")).html(t.detail.address),k.updateContentObject(document.getElementById("cm-content-"+e.data("sectionId")),e.data("type"));var n=document.querySelector("#btn-create-"+e.data("sectionId")),i=document.querySelector("#btn-delete-"+e.data("sectionId"));n.classList.add("hidden"),i.classList.remove("hidden"),k.createSection(document.querySelector("#cm-section-"+e.data("sectionId")))}},function(t,e,n){window,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},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=29)}([function(t,e,n){"use strict";e.__esModule=!0,e.extend=s,e.indexOf=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},e.escapeExpression=function(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return o.test(t)?t.replace(r,a):t},e.isEmpty=function(t){return!t&&0!==t||!(!c(t)||0!==t.length)},e.createFrame=function(t){var e=s({},t);return e._parent=t,e},e.blockParams=function(t,e){return t.path=e,t},e.appendContextPath=function(t,e){return(t?t+".":"")+e};var i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},r=/[&<>"'`=]/g,o=/[&<>"'`=]/;function a(t){return i[t]}function s(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}var l=Object.prototype.toString;e.toString=l;var u=function(t){return"function"==typeof t};u(/x/)&&(e.isFunction=u=function(t){return"function"==typeof t&&"[object Function]"===l.call(t)}),e.isFunction=u;var c=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===l.call(t)};e.isArray=c},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){"use strict";e.__esModule=!0;var i=["description","fileName","lineNumber","message","na