jodit-pro 1.3.31 → 1.3.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o=e();for(var n in o)("object"==typeof exports?exports:t)[n]=o[n]}}(self,(function(){return function(){var t,e={71399:function(t,e){"use strict";function o(t){return o="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},o(t)}function n(t,e,n){var r=n.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(r)));var i=!1;return{configurable:!0,get:function(){if(i||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof r)return r;var o=r.bind(this);return i=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return o},set:function(t){r=t,delete this[e]}}),i=!1,o},set:function(t){r=t}}}function r(t){var e;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?e=Reflect.ownKeys(t.prototype):(e=Object.getOwnPropertyNames(t.prototype),"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t.prototype)))),e.forEach((function(e){if("constructor"!==e){var o=Object.getOwnPropertyDescriptor(t.prototype,e);"function"==typeof o.value&&Object.defineProperty(t.prototype,e,n(t,e,o))}})),t}Object.defineProperty(e,"__esModule",{value:!0}),e.boundClass=e.boundMethod=void 0,e.boundMethod=n,e.boundClass=r,e.default=function(){return 1===arguments.length?r.apply(void 0,arguments):n.apply(void 0,arguments)}},24998:function(){"use strict";"document"in window.self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(t){if("Element"in t){var e="classList",o=t.Element.prototype,n=Object,r=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},i=Array.prototype.indexOf||function(t){for(var e=0,o=this.length;o>e;e++)if(e in this&&this[e]===t)return e;return-1},s=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},a=function(t,e){if(""===e)throw new s("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))throw new s("INVALID_CHARACTER_ERR","String contains an invalid character");return i.call(t,e)},c=function(t){for(var e=r.call(t.getAttribute("class")||""),o=e?e.split(/\s+/):[],n=0,i=o.length;i>n;n++)this.push(o[n]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},l=c.prototype=[],u=function(){return new c(this)};if(s.prototype=Error.prototype,l.item=function(t){return this[t]||null},l.contains=function(t){return-1!==a(this,t+="")},l.add=function(){var t,e=arguments,o=0,n=e.length,r=!1;do{-1===a(this,t=e[o]+"")&&(this.push(t),r=!0)}while(++o<n);r&&this._updateClassName()},l.remove=function(){var t,e,o=arguments,n=0,r=o.length,i=!1;do{for(e=a(this,t=o[n]+"");-1!==e;)this.splice(e,1),i=!0,e=a(this,t)}while(++n<r);i&&this._updateClassName()},l.toggle=function(t,e){var o=this.contains(t+=""),n=o?!0!==e&&"remove":!1!==e&&"add";return n&&this[n](t),!0===e||!1===e?e:!o},l.toString=function(){return this.join(" ")},n.defineProperty){var d={get:u,enumerable:!0,configurable:!0};try{n.defineProperty(o,e,d)}catch(t){void 0!==t.number&&-2146823252!==t.number||(d.enumerable=!1,n.defineProperty(o,e,d))}}else n.prototype.__defineGetter__&&o.__defineGetter__(e,u)}}(window.self),function(){var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e=function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var o,n=arguments.length;for(o=0;n>o;o++)e.call(this,t=arguments[o])}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:o.call(this,t)}}t=null}())},97760:function(t,e,o){"use strict";o(51050);var n=o(96287);t.exports=n("Array","findIndex")},39274:function(t,e,o){"use strict";o(6313),o(31826);var n=o(13071);t.exports=n.Array.from},13578:function(t,e,o){"use strict";o(13790),o(21562),o(52398),o(90979),o(46386),o(58294),o(98177),o(23544),o(44662),o(21882),o(69586),o(76171),o(11007),o(5053),o(48386),o(96565),o(13854),o(44185),o(41584),o(39818);var n=o(13071);t.exports=n.Symbol},77113:function(t,e,o){"use strict";var n=o(20927),r=o(98495),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(r(t)+" is not a function")}},51476:function(t,e,o){"use strict";var n=o(20927),r=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+r(t)+" as a prototype")}},60352:function(t,e,o){"use strict";var n=o(12304),r=o(44013),i=o(65132).f,s=n("unscopables"),a=Array.prototype;null==a[s]&&i(a,s,{configurable:!0,value:r(null)}),t.exports=function(t){a[s][t]=!0}},29457:function(t,e,o){"use strict";var n=o(52160),r=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(r(t)+" is not an object")}},35416:function(t,e,o){"use strict";var n=o(98786),r=o(28236),i=o(63097),s=o(29538),a=o(36308),c=o(34136),l=o(68536),u=o(30980),d=o(14892),f=o(83884),p=Array;t.exports=function(t){var e=i(t),o=c(this),h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v;m&&(v=n(v,h>2?arguments[2]:void 0));var g,y,_,b,w,S,C=f(e),j=0;if(!C||this===p&&a(C))for(g=l(e),y=o?new this(g):p(g);g>j;j++)S=m?v(e[j],j):e[j],u(y,j,S);else for(w=(b=d(e,C)).next,y=o?new this:[];!(_=r(w,b)).done;j++)S=m?s(b,v,[_.value,j],!0):_.value,u(y,j,S);return y.length=j,y}},48675:function(t,e,o){"use strict";var n=o(57257),r=o(74475),i=o(68536),s=function(t){return function(e,o,s){var a,c=n(e),l=i(c),u=r(s,l);if(t&&o!=o){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===o)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},92796:function(t,e,o){"use strict";var n=o(98786),r=o(44352),i=o(62250),s=o(63097),a=o(68536),c=o(82624),l=r([].push),u=function(t){var e=1==t,o=2==t,r=3==t,u=4==t,d=6==t,f=7==t,p=5==t||d;return function(h,v,m,g){for(var y,_,b=s(h),w=i(b),S=n(v,m),C=a(w),j=0,x=g||c,E=e?x(h,C):o||f?x(h,0):void 0;C>j;j++)if((p||j in w)&&(_=S(y=w[j],j,b),t))if(e)E[j]=_;else if(_)switch(t){case 3:return!0;case 5:return y;case 6:return j;case 2:l(E,y)}else switch(t){case 4:return!1;case 7:l(E,y)}return d?-1:r||u?u:E}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},8890:function(t,e,o){"use strict";var n=o(43913),r=o(12304),i=o(46816),s=r("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},19912:function(t,e,o){"use strict";var n=o(74475),r=o(68536),i=o(30980),s=Array,a=Math.max;t.exports=function(t,e,o){for(var c=r(t),l=n(e,c),u=n(void 0===o?c:o,c),d=s(a(u-l,0)),f=0;u>l;l++,f++)i(d,f,t[l]);return d.length=f,d}},5731:function(t,e,o){"use strict";var n=o(44352);t.exports=n([].slice)},83932:function(t,e,o){"use strict";var n=o(9546),r=o(34136),i=o(52160),s=o(12304)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(r(e=t.constructor)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[s]))&&(e=void 0),void 0===e?a:e}},82624:function(t,e,o){"use strict";var n=o(83932);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},29538:function(t,e,o){"use strict";var n=o(29457),r=o(37474);t.exports=function(t,e,o,i){try{return i?e(n(o)[0],o[1]):e(o)}catch(e){r(t,"throw",e)}}},66141:function(t,e,o){"use strict";var n=o(12304)("iterator"),r=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){r=!0}};s[n]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var o=!1;try{var i={};i[n]=function(){return{next:function(){return{done:o=!0}}}},t(i)}catch(t){}return o}},99364:function(t,e,o){"use strict";var n=o(91880),r=n({}.toString),i=n("".slice);t.exports=function(t){return i(r(t),8,-1)}},86829:function(t,e,o){"use strict";var n=o(75816),r=o(20927),i=o(99364),s=o(12304)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,o,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(o=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?o:c?i(e):"Object"==(n=i(e))&&r(e.callee)?"Arguments":n}},40793:function(t,e,o){"use strict";var n=o(57314),r=o(7097),i=o(42048),s=o(65132);t.exports=function(t,e,o){for(var a=r(e),c=s.f,l=i.f,u=0;a.length>u;u++){var d=a[u];n(t,d)||o&&n(o,d)||c(t,d,l(e,d))}}},68753:function(t,e,o){"use strict";var n=o(43913);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},6672:function(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},13509:function(t,e,o){"use strict";var n=o(95753),r=o(65132),i=o(26875);t.exports=n?function(t,e,o){return r.f(t,e,i(1,o))}:function(t,e,o){return t[e]=o,t}},26875:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},30980:function(t,e,o){"use strict";var n=o(66591),r=o(65132),i=o(26875);t.exports=function(t,e,o){var s=n(e);s in t?r.f(t,s,i(0,o)):t[s]=o}},87395:function(t,e,o){"use strict";var n=o(20927),r=o(65132),i=o(10197),s=o(71695);t.exports=function(t,e,o,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:e;if(n(o)&&i(o,l,a),a.global)c?t[e]=o:s(e,o);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=o:r.f(t,e,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},71695:function(t,e,o){"use strict";var n=o(87825),r=Object.defineProperty;t.exports=function(t,e){try{r(n,t,{value:e,configurable:!0,writable:!0})}catch(o){n[t]=e}return e}},95753:function(t,e,o){"use strict";var n=o(43913);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},42264:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports={all:e,IS_HTMLDDA:void 0===e&&void 0!==e}},61740:function(t,e,o){"use strict";var n=o(87825),r=o(52160),i=n.document,s=r(i)&&r(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},5371:function(t){"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},4831:function(t,e,o){"use strict";var n=o(77791);t.exports=n("navigator","userAgent")||""},46816:function(t,e,o){"use strict";var n,r,i=o(87825),s=o(4831),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(r=(n=u.split("."))[0]>0&&4>n[0]?1:+(n[0]+n[1])),!r&&s&&((n=s.match(/Edge\/(\d+)/))&&74>n[1]||(n=s.match(/Chrome\/(\d+)/))&&(r=+n[1])),t.exports=r},96287:function(t,e,o){"use strict";var n=o(87825),r=o(44352);t.exports=function(t,e){return r(n[t].prototype[e])}},81369:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},88391:function(t,e,o){"use strict";var n=o(87825),r=o(42048).f,i=o(13509),s=o(87395),a=o(71695),c=o(40793),l=o(58581);t.exports=function(t,e){var o,u,d,f,p,h=t.target,v=t.global,m=t.stat;if(o=v?n:m?n[h]||a(h,{}):(n[h]||{}).prototype)for(u in e){if(f=e[u],d=t.dontCallGetSet?(p=r(o,u))&&p.value:o[u],!l(v?u:h+(m?".":"#")+u,t.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(t.sham||d&&d.sham)&&i(f,"sham",!0),s(o,u,f,t)}}},43913:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},8750:function(t,e,o){"use strict";var n=o(59841),r=Function.prototype,i=r.apply,s=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},98786:function(t,e,o){"use strict";var n=o(44352),r=o(77113),i=o(59841),s=n(n.bind);t.exports=function(t,e){return r(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},59841:function(t,e,o){"use strict";var n=o(43913);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},28236:function(t,e,o){"use strict";var n=o(59841),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},67301:function(t,e,o){"use strict";var n=o(95753),r=o(57314),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},91880:function(t,e,o){"use strict";var n=o(59841),r=Function.prototype,i=r.call,s=n&&r.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},44352:function(t,e,o){"use strict";var n=o(99364),r=o(91880);t.exports=function(t){if("Function"===n(t))return r(t)}},77791:function(t,e,o){"use strict";var n=o(87825),r=o(20927),i=function(t){return r(t)?t:void 0};t.exports=function(t,e){return 2>arguments.length?i(n[t]):n[t]&&n[t][e]}},83884:function(t,e,o){"use strict";var n=o(86829),r=o(9489),i=o(84956),s=o(91127),a=o(12304)("iterator");t.exports=function(t){if(!i(t))return r(t,a)||r(t,"@@iterator")||s[n(t)]}},14892:function(t,e,o){"use strict";var n=o(28236),r=o(77113),i=o(29457),s=o(98495),a=o(83884),c=TypeError;t.exports=function(t,e){var o=2>arguments.length?a(t):e;if(r(o))return i(n(o,t));throw c(s(t)+" is not iterable")}},9489:function(t,e,o){"use strict";var n=o(77113),r=o(84956);t.exports=function(t,e){var o=t[e];return r(o)?void 0:n(o)}},87825:function(t,e,o){"use strict";var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof o.g&&o.g)||function(){return this}()||Function("return this")()},57314:function(t,e,o){"use strict";var n=o(44352),r=o(63097),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(r(t),e)}},19742:function(t){"use strict";t.exports={}},27246:function(t,e,o){"use strict";var n=o(77791);t.exports=n("document","documentElement")},94105:function(t,e,o){"use strict";var n=o(95753),r=o(43913),i=o(61740);t.exports=!n&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},62250:function(t,e,o){"use strict";var n=o(44352),r=o(43913),i=o(99364),s=Object,a=n("".split);t.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):s(t)}:s},25893:function(t,e,o){"use strict";var n=o(44352),r=o(20927),i=o(5023),s=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},91616:function(t,e,o){"use strict";var n,r,i,s=o(44286),a=o(87825),c=o(52160),l=o(13509),u=o(57314),d=o(5023),f=o(99419),p=o(19742),h="Object already initialized",v=a.TypeError;if(s||d.state){var m=d.state||(d.state=new(0,a.WeakMap));m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw v(h);return e.facade=t,m.set(t,e),e},r=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var g=f("state");p[g]=!0,n=function(t,e){if(u(t,g))throw v(h);return e.facade=t,l(t,g,e),e},r=function(t){return u(t,g)?t[g]:{}},i=function(t){return u(t,g)}}t.exports={set:n,get:r,has:i,enforce:function(t){return i(t)?r(t):n(t,{})},getterFor:function(t){return function(e){var o;if(!c(e)||(o=r(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return o}}}},36308:function(t,e,o){"use strict";var n=o(12304),r=o(91127),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||s[i]===t)}},9546:function(t,e,o){"use strict";var n=o(99364);t.exports=Array.isArray||function(t){return"Array"==n(t)}},20927:function(t,e,o){"use strict";var n=o(42264),r=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},34136:function(t,e,o){"use strict";var n=o(44352),r=o(43913),i=o(20927),s=o(86829),a=o(77791),c=o(25893),l=function(){},u=[],d=a("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=n(f.exec),h=!f.exec(l),v=function(t){if(!i(t))return!1;try{return d(l,u,t),!0}catch(t){return!1}},m=function(t){if(!i(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(f,c(t))}catch(t){return!0}};m.sham=!0,t.exports=!d||r((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?m:v},58581:function(t,e,o){"use strict";var n=o(43913),r=o(20927),i=/#|\.prototype\./,s=function(t,e){var o=c[a(t)];return o==u||o!=l&&(r(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},84956:function(t){"use strict";t.exports=function(t){return null==t}},52160:function(t,e,o){"use strict";var n=o(20927),r=o(42264),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},6325:function(t){"use strict";t.exports=!1},60575:function(t,e,o){"use strict";var n=o(77791),r=o(20927),i=o(36960),s=o(63776),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return r(e)&&i(e.prototype,a(t))}},37474:function(t,e,o){"use strict";var n=o(28236),r=o(29457),i=o(9489);t.exports=function(t,e,o){var s,a;r(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw o;return o}s=n(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw o;if(a)throw s;return r(s),o}},94829:function(t,e,o){"use strict";var n=o(341).IteratorPrototype,r=o(44013),i=o(26875),s=o(74177),a=o(91127),c=function(){return this};t.exports=function(t,e,o,l){var u=e+" Iterator";return t.prototype=r(n,{next:i(+!l,o)}),s(t,u,!1,!0),a[u]=c,t}},72927:function(t,e,o){"use strict";var n=o(88391),r=o(28236),i=o(6325),s=o(67301),a=o(20927),c=o(94829),l=o(29423),u=o(87310),d=o(74177),f=o(13509),p=o(87395),h=o(12304),v=o(91127),m=o(341),g=s.PROPER,y=s.CONFIGURABLE,_=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,w=h("iterator"),S="keys",C="values",j="entries",x=function(){return this};t.exports=function(t,e,o,s,h,m,E){c(o,e,s);var P,I,T,O=function(t){if(t===h&&L)return L;if(!b&&t in D)return D[t];switch(t){case S:case C:case j:return function(){return new o(this,t)}}return function(){return new o(this)}},k=e+" Iterator",M=!1,D=t.prototype,A=D[w]||D["@@iterator"]||h&&D[h],L=!b&&A||O(h),N="Array"==e&&D.entries||A;if(N&&(P=l(N.call(new t)))!==Object.prototype&&P.next&&(i||l(P)===_||(u?u(P,_):a(P[w])||p(P,w,x)),d(P,k,!0,!0),i&&(v[k]=x)),g&&h==C&&A&&A.name!==C&&(!i&&y?f(D,"name",C):(M=!0,L=function(){return r(A,this)})),h)if(I={values:O(C),keys:m?L:O(S),entries:O(j)},E)for(T in I)(b||M||!(T in D))&&p(D,T,I[T]);else n({target:e,proto:!0,forced:b||M},I);return i&&!E||D[w]===L||p(D,w,L,{name:h}),v[e]=L,I}},341:function(t,e,o){"use strict";var n,r,i,s=o(43913),a=o(20927),c=o(52160),l=o(44013),u=o(29423),d=o(87395),f=o(12304),p=o(6325),h=f("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(r=u(u(i)))!==Object.prototype&&(n=r):v=!0),!c(n)||s((function(){var t={};return n[h].call(t)!==t}))?n={}:p&&(n=l(n)),a(n[h])||d(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},91127:function(t){"use strict";t.exports={}},68536:function(t,e,o){"use strict";var n=o(54762);t.exports=function(t){return n(t.length)}},10197:function(t,e,o){"use strict";var n=o(43913),r=o(20927),i=o(57314),s=o(95753),a=o(67301).CONFIGURABLE,c=o(25893),l=o(91616),u=l.enforce,d=l.get,f=Object.defineProperty,p=s&&!n((function(){return 8!==f((function(){}),"length",{value:8}).length})),h=String(String).split("String"),v=t.exports=function(t,e,o){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(e="get "+e),o&&o.setter&&(e="set "+e),(!i(t,"name")||a&&t.name!==e)&&(s?f(t,"name",{value:e,configurable:!0}):t.name=e),p&&o&&i(o,"arity")&&t.length!==o.arity&&f(t,"length",{value:o.arity});try{o&&i(o,"constructor")&&o.constructor?s&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=u(t);return i(n,"source")||(n.source=h.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return r(this)&&d(this).source||c(this)}),"toString")},17865:function(t){"use strict";var e=Math.ceil,o=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?o:e)(n)}},44013:function(t,e,o){"use strict";var n,r=o(29457),i=o(26563),s=o(81369),a=o(19742),c=o(27246),l=o(61740),u=o(99419)("IE_PROTO"),d=function(){},f=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;h="undefined"!=typeof document?document.domain&&n?p(n):((e=l("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F):p(n);for(var o=s.length;o--;)delete h.prototype[s[o]];return h()};a[u]=!0,t.exports=Object.create||function(t,e){var o;return null!==t?(d.prototype=r(t),o=new d,d.prototype=null,o[u]=t):o=h(),void 0===e?o:i.f(o,e)}},26563:function(t,e,o){"use strict";var n=o(95753),r=o(40325),i=o(65132),s=o(29457),a=o(57257),c=o(50552);e.f=n&&!r?Object.defineProperties:function(t,e){s(t);for(var o,n=a(e),r=c(e),l=r.length,u=0;l>u;)i.f(t,o=r[u++],n[o]);return t}},65132:function(t,e,o){"use strict";var n=o(95753),r=o(94105),i=o(40325),s=o(29457),a=o(66591),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor;e.f=n?i?function(t,e,o){if(s(t),e=a(e),s(o),"function"==typeof t&&"prototype"===e&&"value"in o&&"writable"in o&&!o.writable){var n=u(t,e);n&&n.writable&&(t[e]=o.value,o={configurable:"configurable"in o?o.configurable:n.configurable,enumerable:"enumerable"in o?o.enumerable:n.enumerable,writable:!1})}return l(t,e,o)}:l:function(t,e,o){if(s(t),e=a(e),s(o),r)try{return l(t,e,o)}catch(t){}if("get"in o||"set"in o)throw c("Accessors not supported");return"value"in o&&(t[e]=o.value),t}},42048:function(t,e,o){"use strict";var n=o(95753),r=o(28236),i=o(12559),s=o(26875),a=o(57257),c=o(66591),l=o(57314),u=o(94105),d=Object.getOwnPropertyDescriptor;e.f=n?d:function(t,e){if(t=a(t),e=c(e),u)try{return d(t,e)}catch(t){}if(l(t,e))return s(!r(i.f,t,e),t[e])}},56999:function(t,e,o){"use strict";var n=o(99364),r=o(57257),i=o(52705).f,s=o(19912),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return s(a)}}(t):i(r(t))}},52705:function(t,e,o){"use strict";var n=o(52021),r=o(81369).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},52376:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},29423:function(t,e,o){"use strict";var n=o(57314),r=o(20927),i=o(63097),s=o(99419),a=o(68753),c=s("IE_PROTO"),l=Object,u=l.prototype;t.exports=a?l.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var o=e.constructor;return r(o)&&e instanceof o?o.prototype:e instanceof l?u:null}},36960:function(t,e,o){"use strict";var n=o(44352);t.exports=n({}.isPrototypeOf)},52021:function(t,e,o){"use strict";var n=o(44352),r=o(57314),i=o(57257),s=o(48675).indexOf,a=o(19742),c=n([].push);t.exports=function(t,e){var o,n=i(t),l=0,u=[];for(o in n)!r(a,o)&&r(n,o)&&c(u,o);for(;e.length>l;)r(n,o=e[l++])&&(~s(u,o)||c(u,o));return u}},50552:function(t,e,o){"use strict";var n=o(52021),r=o(81369);t.exports=Object.keys||function(t){return n(t,r)}},12559:function(t,e){"use strict";var o={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!o.call({1:2},1);e.f=r?function(t){var e=n(this,t);return!!e&&e.enumerable}:o},87310:function(t,e,o){"use strict";var n=o(44352),r=o(29457),i=o(51476);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,o={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(o,[]),e=o instanceof Array}catch(t){}return function(o,n){return r(o),i(n),e?t(o,n):o.__proto__=n,o}}():void 0)},17694:function(t,e,o){"use strict";var n=o(75816),r=o(86829);t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},18926:function(t,e,o){"use strict";var n=o(28236),r=o(20927),i=o(52160),s=TypeError;t.exports=function(t,e){var o,a;if("string"===e&&r(o=t.toString)&&!i(a=n(o,t)))return a;if(r(o=t.valueOf)&&!i(a=n(o,t)))return a;if("string"!==e&&r(o=t.toString)&&!i(a=n(o,t)))return a;throw s("Can't convert object to primitive value")}},7097:function(t,e,o){"use strict";var n=o(77791),r=o(44352),i=o(52705),s=o(52376),a=o(29457),c=r([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),o=s.f;return o?c(e,o(t)):e}},13071:function(t,e,o){"use strict";var n=o(87825);t.exports=n},18587:function(t,e,o){"use strict";var n=o(84956),r=TypeError;t.exports=function(t){if(n(t))throw r("Can't call method on "+t);return t}},74177:function(t,e,o){"use strict";var n=o(65132).f,r=o(57314),i=o(12304)("toStringTag");t.exports=function(t,e,o){t&&!o&&(t=t.prototype),t&&!r(t,i)&&n(t,i,{configurable:!0,value:e})}},99419:function(t,e,o){"use strict";var n=o(43432),r=o(97018),i=n("keys");t.exports=function(t){return i[t]||(i[t]=r(t))}},5023:function(t,e,o){"use strict";var n=o(87825),r=o(71695),i="__core-js_shared__",s=n[i]||r(i,{});t.exports=s},43432:function(t,e,o){"use strict";var n=o(6325),r=o(5023);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.0",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})},36506:function(t,e,o){"use strict";var n=o(44352),r=o(28734),i=o(24111),s=o(18587),a=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(t){return function(e,o){var n,u,d=i(s(e)),f=r(o),p=d.length;return 0>f||f>=p?t?"":void 0:55296>(n=c(d,f))||n>56319||f+1===p||56320>(u=c(d,f+1))||u>57343?t?a(d,f):n:t?l(d,f,f+2):u-56320+(n-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},25391:function(t,e,o){"use strict";var n=o(46816),r=o(43913);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&41>n}))},60130:function(t,e,o){"use strict";var n=o(28236),r=o(77791),i=o(12304),s=o(87395);t.exports=function(){var t=r("Symbol"),e=t&&t.prototype,o=e&&e.valueOf,a=i("toPrimitive");e&&!e[a]&&s(e,a,(function(t){return n(o,this)}),{arity:1})}},24983:function(t,e,o){"use strict";var n=o(25391);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},74475:function(t,e,o){"use strict";var n=o(28734),r=Math.max,i=Math.min;t.exports=function(t,e){var o=n(t);return 0>o?r(o+e,0):i(o,e)}},57257:function(t,e,o){"use strict";var n=o(62250),r=o(18587);t.exports=function(t){return n(r(t))}},28734:function(t,e,o){"use strict";var n=o(17865);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},54762:function(t,e,o){"use strict";var n=o(28734),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},63097:function(t,e,o){"use strict";var n=o(18587),r=Object;t.exports=function(t){return r(n(t))}},29722:function(t,e,o){"use strict";var n=o(28236),r=o(52160),i=o(60575),s=o(9489),a=o(18926),c=o(12304),l=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!r(t)||i(t))return t;var o,c=s(t,u);if(c){if(void 0===e&&(e="default"),o=n(c,t,e),!r(o)||i(o))return o;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},66591:function(t,e,o){"use strict";var n=o(29722),r=o(60575);t.exports=function(t){var e=n(t,"string");return r(e)?e:e+""}},75816:function(t,e,o){"use strict";var n={};n[o(12304)("toStringTag")]="z",t.exports="[object z]"===String(n)},24111:function(t,e,o){"use strict";var n=o(86829),r=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},98495:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},97018:function(t,e,o){"use strict";var n=o(44352),r=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++r+i,36)}},63776:function(t,e,o){"use strict";var n=o(25391);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},40325:function(t,e,o){"use strict";var n=o(95753),r=o(43913);t.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},44286:function(t,e,o){"use strict";var n=o(87825),r=o(20927),i=n.WeakMap;t.exports=r(i)&&/native code/.test(String(i))},39746:function(t,e,o){"use strict";var n=o(13071),r=o(57314),i=o(94931),s=o(65132).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});r(e,t)||s(e,t,{value:i.f(t)})}},94931:function(t,e,o){"use strict";var n=o(12304);e.f=n},12304:function(t,e,o){"use strict";var n=o(87825),r=o(43432),i=o(57314),s=o(97018),a=o(25391),c=o(63776),l=r("wks"),u=n.Symbol,d=u&&u.for,f=c?u:u&&u.withoutSetter||s;t.exports=function(t){if(!i(l,t)||!a&&"string"!=typeof l[t]){var e="Symbol."+t;l[t]=a&&i(u,t)?u[t]:c&&d?d(e):f(e)}return l[t]}},13790:function(t,e,o){"use strict";var n=o(88391),r=o(43913),i=o(9546),s=o(52160),a=o(63097),c=o(68536),l=o(5371),u=o(30980),d=o(82624),f=o(8890),p=o(12304),h=o(46816),v=p("isConcatSpreadable"),m=h>=51||!r((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=f("concat"),y=function(t){if(!s(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!m||!g},{concat:function(t){var e,o,n,r,i,s=a(this),f=d(s,0),p=0;for(e=-1,n=arguments.length;n>e;e++)if(y(i=-1===e?s:arguments[e]))for(r=c(i),l(p+r),o=0;r>o;o++,p++)o in i&&u(f,p,i[o]);else l(p+1),u(f,p++,i);return f.length=p,f}})},51050:function(t,e,o){"use strict";var n=o(88391),r=o(92796).findIndex,i=o(60352),s="findIndex",a=!0;s in[]&&Array(1).findIndex((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i(s)},31826:function(t,e,o){"use strict";var n=o(88391),r=o(35416);n({target:"Array",stat:!0,forced:!o(66141)((function(t){Array.from(t)}))},{from:r})},87820:function(t,e,o){"use strict";var n=o(88391),r=o(77791),i=o(8750),s=o(28236),a=o(44352),c=o(43913),l=o(9546),u=o(20927),d=o(52160),f=o(60575),p=o(5731),h=o(25391),v=r("JSON","stringify"),m=a(/./.exec),g=a("".charAt),y=a("".charCodeAt),_=a("".replace),b=a(1..toString),w=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,C=/^[\uDC00-\uDFFF]$/,j=!h||c((function(){var t=r("Symbol")();return"[null]"!=v([t])||"{}"!=v({a:t})||"{}"!=v(Object(t))})),x=c((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),E=function(t,e){var o=p(arguments),n=e;if((d(e)||void 0!==t)&&!f(t))return l(e)||(e=function(t,e){if(u(n)&&(e=s(n,this,t,e)),!f(e))return e}),o[1]=e,i(v,null,o)},P=function(t,e,o){var n=g(o,e-1),r=g(o,e+1);return m(S,t)&&!m(C,r)||m(C,t)&&!m(S,n)?"\\u"+b(y(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:j||x},{stringify:function(t,e,o){var n=p(arguments),r=i(j?E:v,null,n);return x&&"string"==typeof r?_(r,w,P):r}})},44185:function(t,e,o){"use strict";var n=o(87825);o(74177)(n.JSON,"JSON",!0)},41584:function(t,e,o){"use strict";o(74177)(Math,"Math",!0)},68787:function(t,e,o){"use strict";var n=o(88391),r=o(25391),i=o(43913),s=o(52376),a=o(63097);n({target:"Object",stat:!0,forced:!r||i((function(){s.f(1)}))},{getOwnPropertySymbols:function(t){var e=s.f;return e?e(a(t)):[]}})},21562:function(t,e,o){"use strict";var n=o(75816),r=o(87395),i=o(17694);n||r(Object.prototype,"toString",i,{unsafe:!0})},39818:function(t,e,o){"use strict";var n=o(88391),r=o(87825),i=o(74177);n({global:!0},{Reflect:{}}),i(r.Reflect,"Reflect",!0)},6313:function(t,e,o){"use strict";var n=o(36506).charAt,r=o(24111),i=o(91616),s=o(72927),a=o(6672),c="String Iterator",l=i.set,u=i.getterFor(c);s(String,"String",(function(t){l(this,{type:c,string:r(t),index:0})}),(function(){var t,e=u(this),o=e.string,r=e.index;return o.length>r?(t=n(o,r),e.index+=t.length,a(t,!1)):a(void 0,!0)}))},90979:function(t,e,o){"use strict";o(39746)("asyncIterator")},38297:function(t,e,o){"use strict";var n=o(88391),r=o(87825),i=o(28236),s=o(44352),a=o(6325),c=o(95753),l=o(25391),u=o(43913),d=o(57314),f=o(36960),p=o(29457),h=o(57257),v=o(66591),m=o(24111),g=o(26875),y=o(44013),_=o(50552),b=o(52705),w=o(56999),S=o(52376),C=o(42048),j=o(65132),x=o(26563),E=o(12559),P=o(87395),I=o(43432),T=o(99419),O=o(19742),k=o(97018),M=o(12304),D=o(94931),A=o(39746),L=o(60130),N=o(74177),z=o(91616),R=o(92796).forEach,B=T("hidden"),q="Symbol",F=z.set,H=z.getterFor(q),U=Object.prototype,V=r.Symbol,W=V&&V.prototype,Y=r.TypeError,G=r.QObject,K=C.f,X=j.f,$=w.f,J=E.f,Z=s([].push),Q=I("symbols"),tt=I("op-symbols"),et=I("wks"),ot=!G||!G.prototype||!G.prototype.findChild,nt=c&&u((function(){return 7!=y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,o){var n=K(U,e);n&&delete U[e],X(t,e,o),n&&t!==U&&X(U,e,n)}:X,rt=function(t,e){var o=Q[t]=y(W);return F(o,{type:q,tag:t,description:e}),c||(o.description=e),o},it=function(t,e,o){t===U&&it(tt,e,o),p(t);var n=v(e);return p(o),d(Q,n)?(o.enumerable?(d(t,B)&&t[B][n]&&(t[B][n]=!1),o=y(o,{enumerable:g(0,!1)})):(d(t,B)||X(t,B,g(1,{})),t[B][n]=!0),nt(t,n,o)):X(t,n,o)},st=function(t,e){p(t);var o=h(e),n=_(o).concat(ut(o));return R(n,(function(e){c&&!i(at,o,e)||it(t,e,o[e])})),t},at=function(t){var e=v(t),o=i(J,this,e);return!(this===U&&d(Q,e)&&!d(tt,e))&&(!(o||!d(this,e)||!d(Q,e)||d(this,B)&&this[B][e])||o)},ct=function(t,e){var o=h(t),n=v(e);if(o!==U||!d(Q,n)||d(tt,n)){var r=K(o,n);return!r||!d(Q,n)||d(o,B)&&o[B][n]||(r.enumerable=!0),r}},lt=function(t){var e=$(h(t)),o=[];return R(e,(function(t){d(Q,t)||d(O,t)||Z(o,t)})),o},ut=function(t){var e=t===U,o=$(e?tt:h(t)),n=[];return R(o,(function(t){!d(Q,t)||e&&!d(U,t)||Z(n,Q[t])})),n};l||(V=function(){if(f(W,this))throw Y("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=k(t),o=function(t){this===U&&i(o,tt,t),d(this,B)&&d(this[B],e)&&(this[B][e]=!1),nt(this,e,g(1,t))};return c&&ot&&nt(U,e,{configurable:!0,set:o}),rt(e,t)},P(W=V.prototype,"toString",(function(){return H(this).tag})),P(V,"withoutSetter",(function(t){return rt(k(t),t)})),E.f=at,j.f=it,x.f=st,C.f=ct,b.f=w.f=lt,S.f=ut,D.f=function(t){return rt(M(t),t)},c&&(X(W,"description",{configurable:!0,get:function(){return H(this).description}}),a||P(U,"propertyIsEnumerable",at,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),R(_(et),(function(t){A(t)})),n({target:q,stat:!0,forced:!l},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!c},{create:function(t,e){return void 0===e?y(t):st(y(t),e)},defineProperty:it,defineProperties:st,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:lt}),L(),N(V,q),O[B]=!0},46386:function(t,e,o){"use strict";var n=o(88391),r=o(95753),i=o(87825),s=o(44352),a=o(57314),c=o(20927),l=o(36960),u=o(24111),d=o(65132).f,f=o(40793),p=i.Symbol,h=p&&p.prototype;if(r&&c(p)&&(!("description"in h)||void 0!==p().description)){var v={},m=function(){var t=1>arguments.length||void 0===arguments[0]?void 0:u(arguments[0]),e=l(h,this)?new p(t):void 0===t?p():p(t);return""===t&&(v[e]=!0),e};f(m,p),m.prototype=h,h.constructor=m;var g="Symbol(test)"==String(p("test")),y=s(h.valueOf),_=s(h.toString),b=/^Symbol\((.*)\)[^)]+$/,w=s("".replace),S=s("".slice);d(h,"description",{configurable:!0,get:function(){var t=y(this);if(a(v,t))return"";var e=_(t),o=g?S(e,7,-1):w(e,b,"$1");return""===o?void 0:o}}),n({global:!0,constructor:!0,forced:!0},{Symbol:m})}},50548:function(t,e,o){"use strict";var n=o(88391),r=o(77791),i=o(57314),s=o(24111),a=o(43432),c=o(24983),l=a("string-to-symbol-registry"),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=s(t);if(i(l,e))return l[e];var o=r("Symbol")(e);return l[e]=o,u[o]=e,o}})},58294:function(t,e,o){"use strict";o(39746)("hasInstance")},98177:function(t,e,o){"use strict";o(39746)("isConcatSpreadable")},23544:function(t,e,o){"use strict";o(39746)("iterator")},52398:function(t,e,o){"use strict";o(38297),o(50548),o(7318),o(87820),o(68787)},7318:function(t,e,o){"use strict";var n=o(88391),r=o(57314),i=o(60575),s=o(98495),a=o(43432),c=o(24983),l=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!i(t))throw TypeError(s(t)+" is not a symbol");if(r(l,t))return l[t]}})},21882:function(t,e,o){"use strict";o(39746)("matchAll")},44662:function(t,e,o){"use strict";o(39746)("match")},69586:function(t,e,o){"use strict";o(39746)("replace")},76171:function(t,e,o){"use strict";o(39746)("search")},11007:function(t,e,o){"use strict";o(39746)("species")},5053:function(t,e,o){"use strict";o(39746)("split")},48386:function(t,e,o){"use strict";var n=o(39746),r=o(60130);n("toPrimitive"),r()},96565:function(t,e,o){"use strict";var n=o(77791),r=o(39746),i=o(74177);r("toStringTag"),i(n("Symbol"),"Symbol")},13854:function(t,e,o){"use strict";o(39746)("unscopables")},46507:function(t,e,o){"use strict";t.exports=o(57364).polyfill()},57364:function(t,e,o){"use strict";t.exports=function(){function t(t){return"function"==typeof t}var e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},n=0,r=void 0,i=void 0,s=function(t,e){p[n]=t,p[n+1]=e,2===(n+=2)&&(i?i(h):_())},a="undefined"!=typeof window?window:void 0,c=a||{},l=c.MutationObserver||c.WebKitMutationObserver,u="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var t=setTimeout;return function(){return t(h,1)}}var p=new Array(1e3);function h(){for(var t=0;n>t;t+=2)(0,p[t])(p[t+1]),p[t]=void 0,p[t+1]=void 0;n=0}var v,m,g,y,_=void 0;function b(t,e){var o=this,n=new this.constructor(C);void 0===n[S]&&A(n);var r=o._state;if(r){var i=arguments[r-1];s((function(){return M(r,n,i,o._result)}))}else O(o,n,t,e);return n}function w(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(C);return E(e,t),e}_=u?function(){return process.nextTick(h)}:l?(m=0,g=new l(h),y=document.createTextNode(""),g.observe(y,{characterData:!0}),function(){y.data=m=++m%2}):d?((v=new MessageChannel).port1.onmessage=h,function(){return v.port2.postMessage(0)}):void 0===a?function(){try{var t=Function("return this")().require("vertx");return void 0!==(r=t.runOnLoop||t.runOnContext)?function(){r(h)}:f()}catch(t){return f()}}():f();var S=Math.random().toString(36).substring(2);function C(){}var j=void 0;function x(e,o,n){o.constructor===e.constructor&&n===b&&o.constructor.resolve===w?function(t,e){1===e._state?I(t,e._result):2===e._state?T(t,e._result):O(e,void 0,(function(e){return E(t,e)}),(function(e){return T(t,e)}))}(e,o):void 0===n?I(e,o):t(n)?function(t,e,o){s((function(t){var n=!1,r=function(o,r,i,s){try{o.call(r,(function(o){n||(n=!0,e!==o?E(t,o):I(t,o))}),(function(e){n||(n=!0,T(t,e))}))}catch(t){return t}}(o,e);!n&&r&&(n=!0,T(t,r))}),t)}(e,o,n):I(e,o)}function E(t,e){if(t===e)T(t,new TypeError("You cannot resolve a promise with itself"));else if(r=typeof(n=e),null===n||"object"!==r&&"function"!==r)I(t,e);else{var o=void 0;try{o=e.then}catch(e){return void T(t,e)}x(t,e,o)}var n,r}function P(t){t._onerror&&t._onerror(t._result),k(t)}function I(t,e){t._state===j&&(t._result=e,t._state=1,0!==t._subscribers.length&&s(k,t))}function T(t,e){t._state===j&&(t._state=2,t._result=e,s(P,t))}function O(t,e,o,n){var r=t._subscribers,i=r.length;t._onerror=null,r[i]=e,r[i+1]=o,r[i+2]=n,0===i&&t._state&&s(k,t)}function k(t){var e=t._subscribers,o=t._state;if(0!==e.length){for(var n=void 0,r=void 0,i=t._result,s=0;e.length>s;s+=3)r=e[s+o],(n=e[s])?M(o,n,r,i):r(i);t._subscribers.length=0}}function M(e,o,n,r){var i=t(n),s=void 0,a=void 0,c=!0;if(i){try{s=n(r)}catch(t){c=!1,a=t}if(o===s)return void T(o,new TypeError("A promises callback cannot return that same promise."))}else s=r;o._state!==j||(i&&c?E(o,s):!1===c?T(o,a):1===e?I(o,s):2===e&&T(o,s))}var D=0;function A(t){t[S]=D++,t._state=void 0,t._result=void 0,t._subscribers=[]}var L=function(){function t(t,o){this._instanceConstructor=t,this.promise=new t(C),this.promise[S]||A(this.promise),e(o)?(this.length=o.length,this._remaining=o.length,this._result=new Array(this.length),0===this.length?I(this.promise,this._result):(this.length=this.length||0,this._enumerate(o),0===this._remaining&&I(this.promise,this._result))):T(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===j&&t.length>e;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var o=this._instanceConstructor,n=o.resolve;if(n===w){var r=void 0,i=void 0,s=!1;try{r=t.then}catch(t){s=!0,i=t}if(r===b&&t._state!==j)this._settledAt(t._state,e,t._result);else if("function"!=typeof r)this._remaining--,this._result[e]=t;else if(o===N){var a=new o(C);s?T(a,i):x(a,t,r),this._willSettleAt(a,e)}else this._willSettleAt(new o((function(e){return e(t)})),e)}else this._willSettleAt(n(t),e)},t.prototype._settledAt=function(t,e,o){var n=this.promise;n._state===j&&(this._remaining--,2===t?T(n,o):this._result[e]=o),0===this._remaining&&I(n,this._result)},t.prototype._willSettleAt=function(t,e){var o=this;O(t,void 0,(function(t){return o._settledAt(1,e,t)}),(function(t){return o._settledAt(2,e,t)}))},t}(),N=function(){function e(t){this[S]=D++,this._result=this._state=void 0,this._subscribers=[],C!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(t,e){try{e((function(e){E(t,e)}),(function(e){T(t,e)}))}catch(e){T(t,e)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return e.prototype.catch=function(t){return this.then(null,t)},e.prototype.finally=function(e){var o=this,n=o.constructor;return t(e)?o.then((function(t){return n.resolve(e()).then((function(){return t}))}),(function(t){return n.resolve(e()).then((function(){throw t}))})):o.then(e,e)},e}();return N.prototype.then=b,N.all=function(t){return new L(this,t).promise},N.race=function(t){var o=this;return e(t)?new o((function(e,n){for(var r=t.length,i=0;r>i;i++)o.resolve(t[i]).then(e,n)})):new o((function(t,e){return e(new TypeError("You must pass an array to race."))}))},N.resolve=w,N.reject=function(t){var e=new this(C);return T(e,t),e},N._setScheduler=function(t){i=t},N._setAsap=function(t){s=t},N._asap=s,N.polyfill=function(){var t=void 0;if(void 0!==o.g)t=o.g;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=N},N.Promise=N,N}()},52784:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.__classPrivateFieldIn=e.__classPrivateFieldSet=e.__classPrivateFieldGet=e.__importDefault=e.__importStar=e.__makeTemplateObject=e.__asyncValues=e.__asyncDelegator=e.__asyncGenerator=e.__await=e.__spreadArray=e.__spreadArrays=e.__spread=e.__read=e.__values=e.__exportStar=e.__createBinding=e.__generator=e.__awaiter=e.__metadata=e.__param=e.__decorate=e.__rest=e.__assign=e.__extends=void 0;var o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},o(t,e)};function n(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],n=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,r,i=o.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return s}function i(t){return this instanceof i?(this.v=t,this):new i(t)}e.__extends=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},e.__assign=function(){return e.__assign=Object.assign||function(t){for(var e,o=1,n=arguments.length;n>o;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},e.__assign.apply(this,arguments)},e.__rest=function(t,e){var o={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(o[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(t);n.length>r;r++)0>e.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(o[n[r]]=t[n[r]])}return o},e.__decorate=function(t,e,o,n){var r,i=arguments.length,s=3>i?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(3>i?r(s):i>3?r(e,o,s):r(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},e.__param=function(t,e){return function(o,n){e(o,n,t)}},e.__metadata=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},e.__awaiter=function(t,e,o,n){return new(o||(o=Promise))((function(r,i){function s(t){try{c(n.next(t))}catch(t){i(t)}}function a(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof o?e:new o((function(t){t(e)}))).then(s,a)}c((n=n.apply(t,e||[])).next())}))},e.__generator=function(t,e){var o,n,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(o)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(o=1,n&&(r=2&a[0]?n.return:a[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,a[1])).done)return r;switch(n=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&r[3]>a[1])){s.label=a[1];break}if(6===a[0]&&r[1]>s.label){s.label=r[1],r=a;break}if(r&&r[2]>s.label){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],n=0}finally{o=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}},e.__createBinding=Object.create?function(t,e,o,n){void 0===n&&(n=o);var r=Object.getOwnPropertyDescriptor(e,o);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[o]}}),Object.defineProperty(t,n,r)}:function(t,e,o,n){void 0===n&&(n=o),t[n]=e[o]},e.__exportStar=function(t,o){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(o,n)||(0,e.__createBinding)(o,t,n)},e.__values=n,e.__read=r,e.__spread=function(){for(var t=[],e=0;arguments.length>e;e++)t=t.concat(r(arguments[e]));return t},e.__spreadArrays=function(){for(var t=0,e=0,o=arguments.length;o>e;e++)t+=arguments[e].length;var n=Array(t),r=0;for(e=0;o>e;e++)for(var i=arguments[e],s=0,a=i.length;a>s;s++,r++)n[r]=i[s];return n},e.__spreadArray=function(t,e,o){if(o||2===arguments.length)for(var n,r=0,i=e.length;i>r;r++)!n&&r in e||(n||(n=Array.prototype.slice.call(e,0,r)),n[r]=e[r]);return t.concat(n||Array.prototype.slice.call(e))},e.__await=i,e.__asyncGenerator=function(t,e,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,r=o.apply(t,e||[]),s=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(t){r[t]&&(n[t]=function(e){return new Promise((function(o,n){s.push([t,e,o,n])>1||c(t,e)}))})}function c(t,e){try{(o=r[t](e)).value instanceof i?Promise.resolve(o.value.v).then(l,u):d(s[0][2],o)}catch(t){d(s[0][3],t)}var o}function l(t){c("next",t)}function u(t){c("throw",t)}function d(t,e){t(e),s.shift(),s.length&&c(s[0][0],s[0][1])}},e.__asyncDelegator=function(t){var e,o;return e={},n("next"),n("throw",(function(t){throw t})),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,r){e[n]=t[n]?function(e){return(o=!o)?{value:i(t[n](e)),done:"return"===n}:r?r(e):e}:r}},e.__asyncValues=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,o=t[Symbol.asyncIterator];return o?o.call(t):(t=n(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(o){e[o]=t[o]&&function(e){return new Promise((function(n,r){!function(t,e,o,n){Promise.resolve(n).then((function(e){t({value:e,done:o})}),e)}(n,r,(e=t[o](e)).done,e.value)}))}}},e.__makeTemplateObject=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t};var s=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};e.__importStar=function(t){if(t&&t.__esModule)return t;var o={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&(0,e.__createBinding)(o,t,n);return s(o,t),o},e.__importDefault=function(t){return t&&t.__esModule?t:{default:t}},e.__classPrivateFieldGet=function(t,e,o,n){if("a"===o&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?n:"a"===o?n.call(t):n?n.value:e.get(t)},e.__classPrivateFieldSet=function(t,e,o,n,r){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(t,o):r?r.value=o:e.set(t,o),o},e.__classPrivateFieldIn=function(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}},733:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Config=void 0;var n=o(49940),r=o(49940),i=function(){function t(){this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.editorCssClass=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=1e3,this.useNativeTooltip=!1,this.defaultActionOnPaste=r.INSERT_AS_HTML,this.enter=n.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:n.PARAGRAPH,this.defaultMode=n.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","---","image","table","|","link","\n","brush","paragraph","align","|","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","|","fontsize","---","image","\n","align","undo","redo","|","link","table","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}return Object.defineProperty(t,"defaultOptions",{get:function(){return t.__defaultOptions||(t.__defaultOptions=new t),t.__defaultOptions},enumerable:!1,configurable:!0}),t}();e.Config=i,i.prototype.controls={}},4617:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Async=void 0;var n=o(52784),r=o(15958),i=o(6244),s=o(6395),a=o(22233),c=o(57348),l=o(92845);o(52378);var u=function(){function t(){var t,e,o,n,r=this;this.timers=new Map,this.__callbacks=new Map,this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=null!==(e=null===(t=window.requestIdleCallback)||void 0===t?void 0:t.bind(window))&&void 0!==e?e:function(t,e){var o,n=Date.now();return r.setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})}),null!==(o=null==e?void 0:e.timeout)&&void 0!==o?o:1)},this.cancelIdleCallbackNative=null!==(n=null===(o=window.cancelIdleCallback)||void 0===o?void 0:o.bind(window))&&void 0!==n?n:function(t){r.clearTimeout(t)},this.isDestructed=!1}return t.prototype.delay=function(t){var e=this;return this.promise((function(o){return e.setTimeout(o,t)}))},t.prototype.setTimeout=function(t,e){for(var o=[],i=2;arguments.length>i;i++)o[i-2]=arguments[i];if(this.isDestructed)return 0;var s={};(0,l.isNumber)(e)||(e=(s=e).timeout||0),s.label&&this.clearLabel(s.label);var a=r.setTimeout.apply(void 0,n.__spreadArray([t,e],n.__read(o),!1)),c=s.label||a;return this.timers.set(c,a),this.__callbacks.set(c,t),a},t.prototype.updateTimeout=function(t,e){if(!t||!this.timers.has(t))return null;var o=this.__callbacks.get(t);return this.setTimeout(o,{label:t,timeout:e})},t.prototype.clearLabel=function(t){t&&this.timers.has(t)&&((0,r.clearTimeout)(this.timers.get(t)),this.timers.delete(t),this.__callbacks.delete(t))},t.prototype.clearTimeout=function(t){if((0,c.isString)(t))return this.clearLabel(t);(0,r.clearTimeout)(t),this.timers.delete(t),this.__callbacks.delete(t)},t.prototype.debounce=function(t,e,o){var c=this;void 0===o&&(o=!1);var l=0,u=!1,d=[],f=function(){for(var e=[],o=0;arguments.length>o;o++)e[o]=arguments[o];if(!u){l=0;var r=t.apply(void 0,n.__spreadArray([],n.__read(e),!1));if(u=!0,d.length){var i=function(){d.forEach((function(t){return t()})),d.length=0};(0,a.isPromise)(r)?r.finally(i):i()}}},p=function(){for(var s=[],a=0;arguments.length>a;a++)s[a]=arguments[a];u=!1,e?(!l&&o&&f.apply(void 0,n.__spreadArray([],n.__read(s),!1)),(0,r.clearTimeout)(l),l=c.setTimeout((function(){return f.apply(void 0,n.__spreadArray([],n.__read(s),!1))}),(0,i.isFunction)(e)?e():e),c.timers.set(t,l)):f.apply(void 0,n.__spreadArray([],n.__read(s),!1))};return(0,s.isPlainObject)(e)&&e.promisify?function(){for(var t=[],e=0;arguments.length>e;e++)t[e]=arguments[e];var o=c.promise((function(t){d.push(t)}));return p.apply(void 0,n.__spreadArray([],n.__read(t),!1)),o}:p},t.prototype.throttle=function(t,e,o){var r=this;void 0===o&&(o=!1);var s,a,c,l=null;return function(){for(var o=[],u=0;arguments.length>u;u++)o[u]=arguments[u];s=!0,c=o,e?l||(a=function(){s?(t.apply(void 0,n.__spreadArray([],n.__read(c),!1)),s=!1,l=r.setTimeout(a,(0,i.isFunction)(e)?e():e),r.timers.set(a,l)):l=null})():t.apply(void 0,n.__spreadArray([],n.__read(c),!1))}},t.prototype.promise=function(t){var e=this,o=function(){},n=new Promise((function(n,r){return e.promisesRejections.add(r),o=r,t(n,r)}));return n.finally||(n.finally=function(t){return n.then(t).catch(t),n}),n.finally((function(){e.promisesRejections.delete(o)})).catch((function(){return null})),n.rejectCallback=o,n},t.prototype.promiseState=function(t){var e=this;if(t.status)return t.status;if(!Promise.race)return new Promise((function(o){t.then((function(t){return o("fulfilled"),t}),(function(t){throw o("rejected"),t})),e.setTimeout((function(){o("pending")}),100)}));var o={};return Promise.race([t,o]).then((function(t){return t===o?"pending":"fulfilled"}),(function(){return"rejected"}))},t.prototype.requestIdleCallback=function(t,e){var o=this.requestIdleCallbackNative(t,e);return this.requestsIdle.add(o),o},t.prototype.requestIdlePromise=function(t){var e=this;return this.promise((function(o){var n=e.requestIdleCallback((function(){return o(n)}),t)}))},t.prototype.cancelIdleCallback=function(t){return this.requestsIdle.delete(t),this.cancelIdleCallbackNative(t)},t.prototype.requestAnimationFrame=function(t){var e=requestAnimationFrame(t);return this.requestsRaf.add(e),e},t.prototype.cancelAnimationFrame=function(t){this.requestsRaf.delete(t),cancelAnimationFrame(t)},t.prototype.clear=function(){var t=this;this.requestsIdle.forEach((function(e){return t.cancelIdleCallback(e)})),this.requestsRaf.forEach((function(e){return t.cancelAnimationFrame(e)})),this.timers.forEach((function(e){return(0,r.clearTimeout)(t.timers.get(e))})),this.timers.clear(),this.promisesRejections.forEach((function(t){return t()})),this.promisesRejections.clear()},t.prototype.destruct=function(){this.clear(),this.isDestructed=!0},t}();e.Async=u},94184:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(52784).__exportStar(o(4617),e)},90456:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Component=void 0;var n=o(16892),r=o(58706),i=o(20937),s=o(94184),a=new Map,c=function(){function t(){this.async=new s.Async,this.ownerWindow=window,this.__componentStatus=i.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,r.uniqueUid)()}return Object.defineProperty(t.prototype,"componentName",{get:function(){return this.__componentName||(this.__componentName="jodit-"+(0,n.kebabCase)(((0,n.isFunction)(this.className)?this.className():"")||(0,n.getClassName)(this))),this.__componentName},enumerable:!1,configurable:!0}),t.prototype.getFullElName=function(t,e,o){var r=[this.componentName];return t&&(t=t.replace(/[^a-z0-9-]/gi,"-"),r.push("__".concat(t))),e&&(r.push("_",e),r.push("_",(0,n.isVoid)(o)?"true":o.toString())),r.join("")},Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this.ow.document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"od",{get:function(){return this.ownerDocument},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ow",{get:function(){return this.ownerWindow},enumerable:!1,configurable:!0}),t.prototype.get=function(t,e){return(0,n.get)(t,e||this)},Object.defineProperty(t.prototype,"isReady",{get:function(){return this.componentStatus===i.STATUSES.ready},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDestructed",{get:function(){return this.componentStatus===i.STATUSES.destructed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInDestruct",{get:function(){return i.STATUSES.beforeDestruct===this.componentStatus||i.STATUSES.destructed===this.componentStatus},enumerable:!1,configurable:!0}),t.prototype.bindDestruct=function(t){var e=this;return t.hookStatus(i.STATUSES.beforeDestruct,(function(){return!e.isInDestruct&&e.destruct()})),this},t.prototype.destruct=function(){this.setStatus(i.STATUSES.destructed),this.async.destruct(),a.get(this)&&a.delete(this)},Object.defineProperty(t.prototype,"componentStatus",{get:function(){return this.__componentStatus},set:function(t){this.setStatus(t)},enumerable:!1,configurable:!0}),t.prototype.setStatus=function(t){return this.setStatusComponent(t,this)},t.prototype.setStatusComponent=function(t,e){if(t!==this.__componentStatus){e===this&&(this.__componentStatus=t);var o=Object.getPrototypeOf(this);o&&(0,n.isFunction)(o.setStatusComponent)&&o.setStatusComponent(t,e);var r=a.get(this),i=null==r?void 0:r[t];i&&i.length&&i.forEach((function(t){return t(e)}))}},t.prototype.hookStatus=function(t,e){var o=a.get(this);o||a.set(this,o={}),o[t]||(o[t]=[]),o[t].push(e)},t.isInstanceOf=function(t,e){return t instanceof e},t.STATUSES=i.STATUSES,t}();e.Component=c},68311:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(20937),e),n.__exportStar(o(90456),e),n.__exportStar(o(56773),e)},20937:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.STATUSES=void 0,e.STATUSES={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},56773:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewComponent=void 0;var n=o(52784),r=function(t){function e(e){var o=t.call(this)||this;return o.setParentView(e),o}return n.__extends(e,t),Object.defineProperty(e.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultTimeout",{get:function(){return this.j.defaultTimeout},enumerable:!1,configurable:!0}),e.prototype.i18n=function(t){for(var e,o=[],r=1;arguments.length>r;r++)o[r-1]=arguments[r];return(e=this.j).i18n.apply(e,n.__spreadArray([t],n.__read(o),!1))},e.prototype.setParentView=function(t){return this.jodit=t,t.components.add(this),this},e.prototype.destruct=function(){return this.j.components.delete(this),t.prototype.destruct.call(this)},e}(o(90456).Component);e.ViewComponent=r},49940:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CLIPBOARD_ID=e.lang=e.TEMP_ATTR=e.BASE_PATH=e.KEY_ALIASES=e.IS_MAC=e.SAFE_COUNT_CHANGE_CALL=e.INSERT_ONLY_TEXT=e.INSERT_AS_TEXT=e.INSERT_CLEAR_HTML=e.INSERT_AS_HTML=e.EMULATE_DBLCLICK_TIMEOUT=e.MARKER_CLASS=e.TEXT_RTF=e.TEXT_HTML=e.TEXT_PLAIN=e.IS_IE=e.MODE_SPLIT=e.MODE_SOURCE=e.MODE_WYSIWYG=e.PARAGRAPH=e.BR=e.COMMAND_KEYS=e.ACCURACY=e.NEARBY=e.KEY_F3=e.KEY_DELETE=e.KEY_SPACE=e.KEY_DOWN=e.KEY_RIGHT=e.KEY_UP=e.KEY_LEFT=e.KEY_ALT=e.KEY_ESC=e.KEY_ENTER=e.KEY_TAB=e.KEY_BACKSPACE=e.KEY_META=e.MAY_BE_REMOVED_WITH_KEY=e.INSEPARABLE_TAGS=e.IS_INLINE=e.IS_BLOCK=e.SPACE_REG_EXP_END=e.SPACE_REG_EXP_START=e.SPACE_REG_EXP=e.INVISIBLE_SPACE_REG_EXP_START=e.INVISIBLE_SPACE_REG_EXP_END=e.INVISIBLE_SPACE_REG_EXP=e.NBSP_SPACE=e.INVISIBLE_SPACE=void 0,e.SOURCE_CONSUMER=void 0,e.INVISIBLE_SPACE="\ufeff",e.NBSP_SPACE=" ",e.INVISIBLE_SPACE_REG_EXP=function(){return/[\uFEFF]/g},e.INVISIBLE_SPACE_REG_EXP_END=function(){return/[\uFEFF]+$/g},e.INVISIBLE_SPACE_REG_EXP_START=function(){return/^[\uFEFF]+/g},e.SPACE_REG_EXP=function(){return/[\s\n\t\r\uFEFF\u200b]+/g},e.SPACE_REG_EXP_START=function(){return/^[\s\n\t\r\uFEFF\u200b]+/g},e.SPACE_REG_EXP_END=function(){return/[\s\n\t\r\uFEFF\u200b]+$/g},e.IS_BLOCK=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,e.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,e.INSEPARABLE_TAGS=["img","br","video","iframe","script","input","textarea","hr","link","jodit","jodit-media"],e.MAY_BE_REMOVED_WITH_KEY=RegExp("^".concat(e.INSEPARABLE_TAGS.join("|"),"$"),"i"),e.KEY_META="Meta",e.KEY_BACKSPACE="Backspace",e.KEY_TAB="Tab",e.KEY_ENTER="Enter",e.KEY_ESC="Escape",e.KEY_ALT="Alt",e.KEY_LEFT="ArrowLeft",e.KEY_UP="ArrowUp",e.KEY_RIGHT="ArrowRight",e.KEY_DOWN="ArrowDown",e.KEY_SPACE="Space",e.KEY_DELETE="Delete",e.KEY_F3="F3",e.NEARBY=5,e.ACCURACY=10,e.COMMAND_KEYS=[e.KEY_META,e.KEY_BACKSPACE,e.KEY_DELETE,e.KEY_UP,e.KEY_DOWN,e.KEY_RIGHT,e.KEY_LEFT,e.KEY_ENTER,e.KEY_ESC,e.KEY_F3,e.KEY_TAB],e.BR="br",e.PARAGRAPH="p",e.MODE_WYSIWYG=1,e.MODE_SOURCE=2,e.MODE_SPLIT=3,e.IS_IE="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),e.TEXT_PLAIN=e.IS_IE?"text":"text/plain",e.TEXT_HTML=e.IS_IE?"html":"text/html",e.TEXT_RTF=e.IS_IE?"rtf":"text/rtf",e.MARKER_CLASS="jodit-selection_marker",e.EMULATE_DBLCLICK_TIMEOUT=300,e.INSERT_AS_HTML="insert_as_html",e.INSERT_CLEAR_HTML="insert_clear_html",e.INSERT_AS_TEXT="insert_as_text",e.INSERT_ONLY_TEXT="insert_only_text",e.SAFE_COUNT_CHANGE_CALL=10,e.IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),e.KEY_ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:e.IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},e.BASE_PATH=function(){if("undefined"==typeof document)return"";var t=document.currentScript,e=function(t){var e=t.split("/");return/\.js/.test(e[e.length-1])?e.slice(0,e.length-1).join("/")+"/":t};if(t)return e(t.src);var o=document.querySelectorAll("script[src]");return o&&o.length?e(o[o.length-1].src):window.location.href}(),e.TEMP_ATTR="data-jodit-temp",e.lang={},e.CLIPBOARD_ID="clipboard",e.SOURCE_CONSUMER="source-consumer"},21253:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Create=void 0;var n=o(16892);o(52378);var r=o(96582),i=o(49940),s=function(){function t(t,e){this.document=t,this.createAttributes=e}return Object.defineProperty(t.prototype,"doc",{get:function(){return(0,n.isFunction)(this.document)?this.document():this.document},enumerable:!1,configurable:!0}),t.prototype.element=function(t,e,o){var r=this,i=this.doc.createElement(t.toLowerCase());return this.applyCreateAttributes(i),e&&((0,n.isPlainObject)(e)?(0,n.attr)(i,e):o=e),o&&(0,n.asArray)(o).forEach((function(t){return i.appendChild((0,n.isString)(t)?r.fromHTML(t):t)})),i},t.prototype.div=function(t,e,o){var n=this.element("div",e,o);return t&&(n.className=t),n},t.prototype.sandbox=function(){var t,e=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(e);var o=null===(t=e.contentWindow)||void 0===t?void 0:t.document;if(!o)throw Error("Iframe error");return o.open(),o.write("<!DOCTYPE html><html><head></head><body></body></html>"),o.close(),o.body},t.prototype.span=function(t,e,o){var n=this.element("span",e,o);return t&&(n.className=t),n},t.prototype.a=function(t,e,o){var n=this.element("a",e,o);return t&&(n.className=t),n},t.prototype.text=function(t){return this.doc.createTextNode(t)},t.prototype.fake=function(){return this.text(i.INVISIBLE_SPACE)},t.prototype.fragment=function(){return this.doc.createDocumentFragment()},t.prototype.fromHTML=function(t,e){var o=this.div();o.innerHTML=t.toString();var i=o.firstChild===o.lastChild&&o.firstChild?o.firstChild:o;if(r.Dom.safeRemove(i),e){var s=(0,n.refs)(i);Object.keys(e).forEach((function(t){var o=s[t];o&&!1===e[t]&&r.Dom.hide(o)}))}return i},t.prototype.applyCreateAttributes=function(t){if(this.createAttributes){var e=this.createAttributes;if(e&&e[t.tagName.toLowerCase()]){var o=e[t.tagName.toLowerCase()];(0,n.isFunction)(o)?o(t):(0,n.isPlainObject)(o)&&(0,n.attr)(t,o)}}},t}();e.Create=s},18319:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(52784).__exportStar(o(21253),e)},47625:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cache=void 0;var n=o(16892);e.cache=function(t,e,o){var r=o.get;if(!r)throw(0,n.error)("Getter property descriptor expected");o.get=function(){var t=r.call(this);return t&&!0===t.noCache||Object.defineProperty(this,e,{configurable:o.configurable,enumerable:o.enumerable,writable:!1,value:t}),t}}},9119:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.component=void 0;var n=o(52784);e.component=function(t){var e=function(t){function e(){for(var o=[],r=0;arguments.length>r;r++)o[r]=arguments[r];var i=t.apply(this,n.__spreadArray([],n.__read(o),!1))||this,s=i.constructor===e;return s&&(i instanceof e||Object.setPrototypeOf(i,e.prototype),i.setStatus("ready")),i}return n.__extends(e,t),e}(t);return e}},23218:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.throttle=e.debounce=void 0;var n=o(74699),r=o(68311),i=o(65422);function s(t,e,o){return void 0===e&&(e=!1),void 0===o&&(o="debounce"),function(s,a){var c=s[a];if(!(0,n.isFunction)(c))throw(0,i.error)("Handler must be a Function");return s.hookStatus(r.STATUSES.ready,(function(r){var i=r.async,s=(0,n.isFunction)(t)?t(r):t;Object.defineProperty(r,a,{configurable:!0,value:i[o](r[a].bind(r),(0,n.isNumber)(s)||(0,n.isPlainObject)(s)?s:r.defaultTimeout,e)})})),{configurable:!0,get:function(){return c.bind(this)}}}}o(52378),e.debounce=s,e.throttle=function(t,e){return void 0===e&&(e=!1),s(t,e,"throttle")}},4961:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.derive=void 0;var n=o(52784),r=o(74699);e.derive=function(){for(var t=[],e=0;arguments.length>e;e++)t[e]=arguments[e];return function(e){for(var o=e.prototype,i=0;t.length>i;i++)for(var s=t[i],a=Object.getOwnPropertyNames(s.prototype),c=function(t){var e=a[t],i=Object.getOwnPropertyDescriptor(s.prototype,e);null!=i&&(0,r.isFunction)(i.value)&&!(0,r.isFunction)(o[e])&&Object.defineProperty(o,e,{enumerable:!0,configurable:!0,writable:!0,value:function(){for(var t,e=[],o=0;arguments.length>o;o++)e[o]=arguments[o];return(t=i.value).call.apply(t,n.__spreadArray([this],n.__read(e),!1))}})},l=0;a.length>l;l++)c(l)}}},85324:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hook=void 0;var n=o(74699),r=o(65422);e.hook=function(t){return function(e,o){if(!(0,n.isFunction)(e[o]))throw(0,r.error)("Handler must be a Function");e.hookStatus(t,(function(t){t[o].call(t)}))}}},71314:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.idle=void 0;var n=o(52784),r=o(68311),i=o(16892);e.idle=function(){return function(t,e){if(!(0,i.isFunction)(t[e]))throw(0,i.error)("Handler must be a Function");t.hookStatus(r.STATUSES.ready,(function(t){var o=t.async,r=t[e];t[e]=function(){for(var e=[],i=0;arguments.length>i;i++)e[i]=arguments[i];return o.requestIdleCallback(r.bind.apply(r,n.__spreadArray([t],n.__read(e),!1)))}}))}}},51923:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.autobind=void 0;var n=o(52784);n.__exportStar(o(47625),e),n.__exportStar(o(9119),e),n.__exportStar(o(23218),e),n.__exportStar(o(71314),e),n.__exportStar(o(85324),e),n.__exportStar(o(81041),e),n.__exportStar(o(73896),e),n.__exportStar(o(96074),e),n.__exportStar(o(31501),e),n.__exportStar(o(4961),e);var r=o(71399);Object.defineProperty(e,"autobind",{enumerable:!0,get:function(){return r.default}})},81041:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nonenumerable=void 0,e.nonenumerable=function(t,e){!1!==(Object.getOwnPropertyDescriptor(t,e)||{}).enumerable&&Object.defineProperty(t,e,{enumerable:!1,set:function(t){Object.defineProperty(this,e,{enumerable:!1,writable:!0,value:t})}})}},73896:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.persistent=void 0;var n=o(68311),r=o(90412);e.persistent=function(t,e){t.hookStatus(n.STATUSES.ready,(function(t){var o=(0,r.isViewObject)(t)?t:t.jodit,n="".concat(o.options.namespace).concat(t.componentName,"_prop_").concat(e),i=t[e];Object.defineProperty(t,e,{get:function(){var t;return null!==(t=o.storage.get(n))&&void 0!==t?t:i},set:function(t){o.storage.set(n,t)}})}))}},96074:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wait=void 0;var n=o(52784),r=o(16892),i=o(68311);e.wait=function(t){return function(e,o){if(!(0,r.isFunction)(e[o]))throw(0,r.error)("Handler must be a Function");e.hookStatus(i.STATUSES.ready,(function(e){var r=e.async,i=e[o],s=0;Object.defineProperty(e,o,{configurable:!0,value:function o(){for(var a=[],c=0;arguments.length>c;c++)a[c]=arguments[c];r.clearTimeout(s),t(e)?i.apply(e,a):s=r.setTimeout((function(){return o.apply(void 0,n.__spreadArray([],n.__read(a),!1))}),10)}})}))}}},31501:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.watch=e.getPropertyDescriptor=void 0;var n=o(52784),r=o(6244),i=o(6395),s=o(90412),a=o(71419),c=o(20937),l=o(65735),u=o(65422);function d(t,e){var o;do{o=Object.getOwnPropertyDescriptor(t,e),t=Object.getPrototypeOf(t)}while(!o&&t);return o}function f(t,e){return function(o,f){if(!(0,r.isFunction)(o[f]))throw(0,u.error)("Handler must be a Function");var p=function(c){var u=function(t){for(var e,o=[],r=1;arguments.length>r;r++)o[r-1]=arguments[r];if(!c.isInDestruct)return(e=c)[f].apply(e,n.__spreadArray([t],n.__read(o),!1))};(0,l.splitArray)(t).forEach((function(t){if(/:/.test(t)){var l=n.__read(t.split(":"),2),f=l[0],p=l[1],h=e,v=(0,s.isViewObject)(c)?c:c.jodit;return f.length&&(h=c.get(f)),(0,r.isFunction)(h)&&(h=h(c)),v.events.on(h||c,p,u),h||v.events.on(p,u),void c.hookStatus("beforeDestruct",(function(){v.events.off(h||c,p,u).off(p,u)}))}var m=t.split("."),g=n.__read(m,1)[0],y=m.slice(1),_=c[g];(0,i.isPlainObject)(_)&&(0,a.observable)(_).on("change.".concat(y.join(".")),u);var b=d(o,g);Object.defineProperty(c,g,{configurable:!0,set:function(t){var e=_;e!==t&&(_=t,b&&b.set&&b.set.call(c,t),(0,i.isPlainObject)(_)&&(_=(0,a.observable)(_)).on("change.".concat(y.join(".")),u),u(g,e,_))},get:function(){return b&&b.get?b.get.call(c):_}})}))};(0,r.isFunction)(o.hookStatus)?o.hookStatus(c.STATUSES.ready,p):p(o)}}e.getPropertyDescriptor=d,e.watch=f,e.default=f},12815:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Dom=void 0;var n=o(52784),r=o(49940),i=o(16892),s=o(60039),a=o(49940),c=function(){function t(){}return t.detach=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},t.wrapInline=function(e,o,n){var r,s=e,a=e;n.s.save();var c=!1;do{c=!1,(r=s.previousSibling)&&!t.isBlock(r)&&(c=!0,s=r)}while(c);do{c=!1,(r=a.nextSibling)&&!t.isBlock(r)&&(c=!0,a=r)}while(c);var l=(0,i.isString)(o)?n.createInside.element(o):o;s.parentNode&&s.parentNode.insertBefore(l,s);for(var u=s;u&&(u=s.nextSibling,l.appendChild(s),s!==a&&u);)s=u;return n.s.restore(),l},t.wrap=function(e,o,n){var r=(0,i.isString)(o)?n.element(o):o;if(t.isNode(e)){if(!e.parentNode)throw(0,i.error)("Element should be in DOM");e.parentNode.insertBefore(r,e),r.appendChild(e)}else{var s=e.extractContents();e.insertNode(r),r.appendChild(s)}return r},t.unwrap=function(e){var o=e.parentNode;if(o){for(;e.firstChild;)o.insertBefore(e.firstChild,e);t.safeRemove(e)}},t.between=function(t,e,o){for(var n=t;n&&n!==e&&(t===n||!o(n));){var r=n.firstChild||n.nextSibling;if(!r){for(;n&&!n.nextSibling;)n=n.parentNode;r=null==n?void 0:n.nextSibling}n=r}},t.replace=function(e,o,n,r,s){void 0===r&&(r=!1),void 0===s&&(s=!1),(0,i.isHTML)(o)&&(o=n.fromHTML(o));var a=(0,i.isString)(o)?n.element(o):o;if(!s)for(;e.firstChild;)a.appendChild(e.firstChild);return r&&t.isElement(e)&&t.isElement(a)&&(0,i.toArray)(e.attributes).forEach((function(t){a.setAttribute(t.name,t.value)})),e.parentNode&&e.parentNode.replaceChild(a,e),a},t.isEmptyTextNode=function(e){return t.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(r.INVISIBLE_SPACE_REG_EXP(),"").trim().length)},t.isEmptyContent=function(e){return t.each(e,(function(e){return t.isEmptyTextNode(e)}))},t.isContentEditable=function(e,o){return t.isNode(e)&&!t.closest(e,(function(e){return t.isElement(e)&&"false"===e.getAttribute("contenteditable")}),o)},t.isEmpty=function(e,o){return void 0===o&&(o=/^(img|svg|canvas|input|textarea|form)$/),!e||(t.isText(e)?null==e.nodeValue||0===(0,i.trim)(e.nodeValue).length:!o.test(e.nodeName.toLowerCase())&&t.each(e,(function(e){if(t.isText(e)&&null!=e.nodeValue&&0!==(0,i.trim)(e.nodeValue).length||t.isElement(e)&&o.test(e.nodeName.toLowerCase()))return!1})))},t.isNode=function(t){return Boolean(t&&(0,i.isString)(t.nodeName)&&"number"==typeof t.nodeType&&t.childNodes&&(0,i.isFunction)(t.appendChild))},t.isCell=function(e){return t.isNode(e)&&/^(td|th)$/i.test(e.nodeName)},t.isImage=function(e){return t.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)},t.isBlock=function(e){return!(0,i.isVoid)(e)&&"object"==typeof e&&t.isNode(e)&&r.IS_BLOCK.test(e.nodeName)},t.isText=function(t){return Boolean(t&&t.nodeType===Node.TEXT_NODE)},t.isElement=function(e){var o;if(!t.isNode(e))return!1;var n=null===(o=e.ownerDocument)||void 0===o?void 0:o.defaultView;return Boolean(n&&e.nodeType===Node.ELEMENT_NODE)},t.isFragment=function(e){var o;if(!t.isNode(e))return!1;var n=null===(o=e.ownerDocument)||void 0===o?void 0:o.defaultView;return Boolean(n&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)},t.isHTMLElement=function(e){var o;if(!t.isNode(e))return!1;var n=null===(o=e.ownerDocument)||void 0===o?void 0:o.defaultView;return Boolean(n&&e instanceof n.HTMLElement)},t.isInlineBlock=function(e){return t.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf((0,i.css)(e,"display").toString())},t.canSplitBlock=function(e){return!(0,i.isVoid)(e)&&t.isHTMLElement(e)&&t.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)},t.last=function(t,e){var o=null==t?void 0:t.lastChild;if(!o)return null;do{if(e(o))return o;var n=o.lastChild;if(n||(n=o.previousSibling),!n&&o.parentNode!==t){do{o=o.parentNode}while(o&&!(null==o?void 0:o.previousSibling)&&o.parentNode!==t);n=null==o?void 0:o.previousSibling}o=n}while(o);return null},t.prev=function(e,o,n,r){return void 0===r&&(r=!0),t.find(e,o,n,!1,r)},t.next=function(e,o,n,r){return void 0===r&&(r=!0),t.find(e,o,n,!0,r)},t.prevWithClass=function(e,o){return t.prev(e,(function(e){return t.isElement(e)&&e.classList.contains(o)}),e.parentNode)},t.nextWithClass=function(e,o){return t.next(e,(function(e){return t.isElement(e)&&e.classList.contains(o)}),e.parentNode)},t.find=function(t,e,o,n,r){void 0===n&&(n=!0),void 0===r&&(r=!0);for(var i=this.nextGen(t,o,n,r),s=i.next();!s.done;){if(e(s.value))return s.value;s=i.next()}return null},t.nextGen=function(t,e,o,r){var i,s,a;return void 0===o&&(o=!0),void 0===r&&(r=!0),n.__generator(this,(function(c){switch(c.label){case 0:i=[],s=t,c.label=1;case 1:for(a=o?s.nextSibling:s.previousSibling;a;)i.unshift(a),a=o?a.nextSibling:a.previousSibling;return[5,n.__values(this.runInStack(t,i,o,r))];case 2:c.sent(),s=s.parentNode,c.label=3;case 3:if(s&&s!==e)return[3,1];c.label=4;case 4:return[2,null]}}))},t.each=function(t,e,o){void 0===o&&(o=!0);for(var n=this.eachGen(t,o),r=n.next();!r.done;){if(!1===e(r.value))return!1;r=n.next()}return!0},t.eachGen=function(t,e){return void 0===e&&(e=!0),this.runInStack(t,[t],e)},t.runInStack=function(t,e,o,r){var i,s;return void 0===r&&(r=!0),n.__generator(this,(function(n){switch(n.label){case 0:if(!e.length)return[3,3];if(i=e.pop(),r)for(s=o?i.lastChild:i.firstChild;s;)e.push(s),s=o?s.previousSibling:s.nextSibling;return t===i?[3,2]:[4,i];case 1:n.sent(),n.label=2;case 2:return[3,0];case 3:return[2]}}))},t.findWithCurrent=function(e,o,n,r,i){void 0===r&&(r="nextSibling"),void 0===i&&(i="firstChild");var s=e;do{if(o(s))return s||null;if(i&&s&&s[i]){var a=t.findWithCurrent(s[i],o,s,r,i);if(a)return a}for(;s&&!s[r]&&s!==n;)s=s.parentNode;s&&s[r]&&s!==n&&(s=s[r])}while(s&&s!==n);return null},t.findSibling=function(e,o,n){void 0===o&&(o=!0),void 0===n&&(n=function(e){return!t.isEmptyTextNode(e)});for(var r=t.sibling(e,o);r&&!n(r);)r=t.sibling(r,o);return r&&n(r)?r:null},t.findNotEmptySibling=function(e,o){return t.findSibling(e,o,(function(e){var o;return!t.isEmptyTextNode(e)&&Boolean(!t.isText(e)||(null===(o=e.nodeValue)||void 0===o?void 0:o.length)&&(0,i.trim)(e.nodeValue))}))},t.findNotEmptyNeighbor=function(e,o,n){return(0,i.call)(o?t.prev:t.next,e,(function(e){return Boolean(e&&(!t.isText(e)||(0,i.trim)((null==e?void 0:e.nodeValue)||"").length))}),n)},t.sibling=function(t,e){return e?t.previousSibling:t.nextSibling},t.up=function(t,e,o,n){void 0===n&&(n=!1);var r=t;if(!r)return null;do{if(e(r))return r;if(r===o||!r.parentNode)break;r=r.parentNode}while(r&&r!==o);return r===o&&n&&e(r)?r:null},t.closest=function(e,o,n){var r;return r=(0,i.isFunction)(o)?o:(0,i.isArray)(o)?function(t){return Boolean(t&&o.includes(t.nodeName.toLowerCase()))}:function(t){return Boolean(t&&o===t.nodeName.toLowerCase())},t.up(e,r,n)},t.furthest=function(t,e,o){for(var n=null,r=null==t?void 0:t.parentElement;r&&r!==o;)e(r)&&(n=r),r=null==r?void 0:r.parentElement;return n},t.appendChildFirst=function(t,e){var o=t.firstChild;o?o!==e&&t.insertBefore(e,o):t.appendChild(e)},t.after=function(t,e){var o=t.parentNode;o&&(o.lastChild===t?o.appendChild(e):o.insertBefore(e,t.nextSibling))},t.before=function(t,e){var o=t.parentNode;o&&o.insertBefore(e,t)},t.prepend=function(t,e){t.insertBefore(e,t.firstChild)},t.append=function(t,e){var o=this;(0,i.isArray)(e)?e.forEach((function(e){o.append(t,e)})):t.appendChild(e)},t.moveContent=function(t,e,o){void 0===o&&(o=!1);var n=(t.ownerDocument||document).createDocumentFragment();(0,i.toArray)(t.childNodes).forEach((function(t){n.appendChild(t)})),o&&e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)},t.isOrContains=function(t,e,o){return void 0===o&&(o=!1),t===e?!o:Boolean(e&&t&&this.up(e,(function(e){return e===t}),t,!0))},t.safeRemove=function(){for(var e=[],o=0;arguments.length>o;o++)e[o]=arguments[o];e.forEach((function(e){return t.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e)}))},t.safeInsertNode=function(e,o){e.collapsed||e.deleteContents(),e.insertNode(o),[o.nextSibling,o.previousSibling].forEach((function(e){return t.isText(e)&&!e.nodeValue&&t.safeRemove(e)}))},t.hide=function(t){t&&((0,i.dataBind)(t,"__old_display",t.style.display),t.style.display="none")},t.show=function(t){if(t){var e=(0,i.dataBind)(t,"__old_display");"none"===t.style.display&&(t.style.display=e||"")}},t.isTag=function(t,e){for(var o=(0,i.asArray)(e).map(String),n=0;o.length>n;n+=1)if(this.isElement(t)&&t.tagName.toLowerCase()===o[n].toLowerCase())return!0;return!1},t.markTemporary=function(t,e){return e&&(0,i.attr)(t,e),(0,i.attr)(t,a.TEMP_ATTR,!0),t},t.isTemporary=function(e){return!!t.isElement(e)&&(s.Select.isMarker(e)||"true"===(0,i.attr)(e,a.TEMP_ATTR))},t.replaceTemporaryFromString=function(t){return t.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")},t.temporaryList=function(t){return(0,i.$$)("[".concat(a.TEMP_ATTR,"]"),t)},t}();e.Dom=c},96582:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(12815),e),n.__exportStar(o(51428),e)},51428:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LazyWalker=void 0;var n=o(52784),r=o(42440),i=o(51923),s=o(12815),a=function(t){function e(e,o){void 0===o&&(o={});var n=t.call(this)||this;return n.async=e,n.options=o,n.workNodes=null,n.hadAffect=!1,n.isWorked=!1,n.isFinished=!1,n.idleId=0,n}return n.__extends(e,t),e.prototype.setWork=function(t){return this.isWorked&&this.break(),this.workNodes=s.Dom.eachGen(t,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this},e.prototype.startIdleRequest=function(){var t;this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:null!==(t=this.options.timeout)&&void 0!==t?t:10})},e.prototype.break=function(t){this.isWorked&&(this.stop(),this.emit("break",t))},e.prototype.end=function(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)},e.prototype.stop=function(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)},e.prototype.destruct=function(){t.prototype.destruct.call(this),this.stop()},e.prototype.workPerform=function(t){var e;if(this.workNodes){this.isWorked=!0;for(var o=0,n=null!==(e=this.options.timeoutChunkSize)&&void 0!==e?e:50;!this.isFinished&&(t.timeRemaining()>0||t.didTimeout&&n>=o);){var r=this.workNodes.next();if(o+=1,this.visitNode(r.value)&&(this.hadAffect=!0),r.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()},e.prototype.visitNode=function(t){var e;return!(!t||void 0!==this.options.whatToShow&&t.nodeType!==this.options.whatToShow)&&null!==(e=this.emit("visit",t))&&void 0!==e&&e},n.__decorate([i.autobind],e.prototype,"workPerform",null),e}(r.Eventify);e.LazyWalker=a},96639:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EventEmitter=void 0;var n=o(52784),r=o(91441),i=o(57348),s=o(6244),a=o(8356),c=o(65422),l=o(65735),u=function(){function t(t){var e=this;this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=function(t){t.cancelBubble||(t.composed&&(0,s.isFunction)(t.composedPath)&&t.composedPath()[0]&&Object.defineProperty(t,"target",{value:t.composedPath()[0],configurable:!0,enumerable:!0}),t.type.match(/^touch/)&&t.changedTouches&&t.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((function(e){Object.defineProperty(t,e,{value:t.changedTouches[0][e],configurable:!0,enumerable:!0})})),t.originalEvent||(t.originalEvent=t),"paste"===t.type&&void 0===t.clipboardData&&e.__doc.defaultView.clipboardData&&Object.defineProperty(t,"clipboardData",{get:function(){return e.__doc.defaultView.clipboardData},configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,t&&(this.__doc=t),this.__key+=(new Date).getTime()}return t.prototype.mute=function(t){return this.__mutedEvents.add(null!=t?t:"*"),this},t.prototype.isMuted=function(t){return!(!t||!this.__mutedEvents.has(t))||this.__mutedEvents.has("*")},t.prototype.unmute=function(t){return this.__mutedEvents.delete(null!=t?t:"*"),this},t.prototype.__eachEvent=function(t,e){var o=this;(0,l.splitArray)(t).map((function(t){return t.trim()})).forEach((function(t){var n=t.split(".");e.call(o,n[0],n[1]||r.defaultNameSpace)}))},t.prototype.__getStore=function(t){if(!t)throw(0,c.error)("Need subject");if(void 0===t[this.__key]){var e=new r.EventHandlersStore;Object.defineProperty(t,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:e})}return t[this.__key]},t.prototype.__removeStoreFromSubject=function(t){void 0!==t[this.__key]&&Object.defineProperty(t,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})},t.prototype.__triggerNativeEvent=function(t,e){var o=this.__doc.createEvent("HTMLEvents");(0,i.isString)(e)?o.initEvent(e,!0,!0):(o.initEvent(e.type,e.bubbles,e.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((function(t){Object.defineProperty(o,t,{value:e[t],enumerable:!0})})),Object.defineProperty(o,"originalEvent",{value:e,enumerable:!0})),t.dispatchEvent(o)},Object.defineProperty(t.prototype,"current",{get:function(){return this.currents[this.currents.length-1]},enumerable:!1,configurable:!0}),t.prototype.on=function(t,e,o,r){var l,u,d,f,p=this;if((0,i.isString)(t)||(0,i.isStringArray)(t)?(l=this,u=t,d=e,f=o):(l=t,u=e,d=o,f=r),!(0,i.isString)(u)&&!(0,i.isStringArray)(u)||0===u.length)throw(0,c.error)("Need events names");if(!(0,s.isFunction)(d))throw(0,c.error)("Need event handler");if((0,a.isArray)(l))return l.forEach((function(t){p.on(t,u,d,f)})),this;var h=l,v=this.__getStore(h),m=(0,s.isFunction)(h.addEventListener),g=this,y=function(t){for(var e=[],o=1;arguments.length>o;o++)e[o-1]=arguments[o];if(!g.isMuted(t))return d&&d.call.apply(d,n.__spreadArray([this],n.__read(e),!1))};return m&&(y=function(t){if(!g.isMuted(t.type))return g.__prepareEvent(t),d&&!1===d.call(this,t)?(t.preventDefault(),t.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(u,(function(t,e){if(0===t.length)throw(0,c.error)("Need event name");if(!1===v.indexOf(t,e,d)&&(v.set(t,e,{event:t,originalCallback:d,syntheticCallback:y},null==f?void 0:f.top),m)){var o=!!["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"].includes(t)&&{passive:!0};h.addEventListener(t,y,o)}})),this},t.prototype.one=function(t,e,o,r){var s,a,c,l,u=this;(0,i.isString)(t)||(0,i.isStringArray)(t)?(s=this,a=t,c=e,l=o):(s=t,a=e,c=o,l=r);var d=function(){for(var t=[],e=0;arguments.length>e;e++)t[e]=arguments[e];return u.off(s,a,d),c.apply(void 0,n.__spreadArray([],n.__read(t),!1))};return this.on(s,a,d,l),this},t.prototype.off=function(t,e,o){var n,c,l,u=this;if((0,i.isString)(t)||(0,i.isStringArray)(t)?(n=this,c=t,l=e):(n=t,c=e,l=o),(0,a.isArray)(n))return n.forEach((function(t){u.off(t,c,l)})),this;var d=n,f=this.__getStore(d);if(!(0,i.isString)(c)&&!(0,i.isStringArray)(c)||0===c.length)return f.namespaces().forEach((function(t){u.off(d,"."+t)})),this.__removeStoreFromSubject(d),this;var p=(0,s.isFunction)(d.removeEventListener),h=function(t){p&&d.removeEventListener(t.event,t.syntheticCallback,!1)},v=function(t,e){if(""!==t){var o=f.get(t,e);if(o&&o.length)if((0,s.isFunction)(l)){var n=f.indexOf(t,e,l);!1!==n&&(h(o[n]),o.splice(n,1),o.length||f.clearEvents(e,t))}else o.forEach(h),o.length=0,f.clearEvents(e,t)}else f.events(e).forEach((function(t){""!==t&&v(t,e)}))};return this.__eachEvent(c,(function(t,e){e===r.defaultNameSpace?f.namespaces().forEach((function(e){v(t,e)})):v(t,e)})),f.isEmpty()&&this.__removeStoreFromSubject(d),this},t.prototype.stopPropagation=function(t,e){var o=this,n=(0,i.isString)(t)?this:t,s=(0,i.isString)(t)?t:e;if("string"!=typeof s)throw(0,c.error)("Need event names");var a=this.__getStore(n);this.__eachEvent(s,(function(t,e){var i=a.get(t,e);i&&o.__stopped.push(i),e===r.defaultNameSpace&&a.namespaces(!0).forEach((function(e){return o.stopPropagation(n,t+"."+e)}))}))},t.prototype.__removeStop=function(t){if(t){var e=this.__stopped.indexOf(t);-1!==e&&this.__stopped.splice(0,e+1)}},t.prototype.__isStopped=function(t){return void 0!==t&&-1!==this.__stopped.indexOf(t)},t.prototype.fire=function(t,e){for(var o,a,l=this,u=[],d=2;arguments.length>d;d++)u[d-2]=arguments[d];var f=(0,i.isString)(t)?this:t,p=(0,i.isString)(t)?t:e,h=(0,i.isString)(t)?n.__spreadArray([e],n.__read(u),!1):u,v=(0,s.isFunction)(f.dispatchEvent);if(!v&&!(0,i.isString)(p))throw(0,c.error)("Need events names");var m=this.__getStore(f);return!(0,i.isString)(p)&&v?this.__triggerNativeEvent(f,e):this.__eachEvent(p,(function(t,e){if(v)l.__triggerNativeEvent(f,t);else{var i=m.get(t,e);if(i)try{n.__spreadArray([],n.__read(i),!1).every((function(e){var r;return!l.__isStopped(i)&&(l.currents.push(t),a=(r=e.syntheticCallback).call.apply(r,n.__spreadArray([f,t],n.__read(h),!1)),l.currents.pop(),void 0!==a&&(o=a),!0)}))}finally{l.__removeStop(i)}e!==r.defaultNameSpace||v||m.namespaces().filter((function(t){return t!==e})).forEach((function(e){var r=l.fire.apply(l,n.__spreadArray([f,t+"."+e],n.__read(h),!1));void 0!==r&&(o=r)}))}})),o},t.prototype.destruct=function(){this.__isDestructed&&(this.__isDestructed=!0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))},t}();e.EventEmitter=u},42440:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Eventify=void 0;var n=o(52784),r=function(){function t(){this.__map=new Map}return t.prototype.on=function(t,e){var o;return this.__map.has(t)||this.__map.set(t,new Set),null===(o=this.__map.get(t))||void 0===o||o.add(e),this},t.prototype.off=function(t,e){var o;return this.__map.has(t)&&(null===(o=this.__map.get(t))||void 0===o||o.delete(e)),this},t.prototype.destruct=function(){this.__map.clear()},t.prototype.emit=function(t){for(var e,o,r=[],i=1;arguments.length>i;i++)r[i-1]=arguments[i];return this.__map.has(t)&&(null===(e=this.__map.get(t))||void 0===e||e.forEach((function(t){o=t.apply(void 0,n.__spreadArray([],n.__read(r),!1))}))),o},t}();e.Eventify=r},57083:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(96639),e),n.__exportStar(o(42440),e),n.__exportStar(o(71419),e),n.__exportStar(o(91441),e)},71419:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.observable=void 0;var n=o(52784),r=o(8356),i=o(33686),s=o(6395),a=o(31501),c=Symbol("observable-object");function l(t){return void 0!==t[c]}e.observable=function(t){if(l(t))return t;var e={},o={},u=function(e,n){return(0,r.isArray)(e)?(e.map((function(t){return u(t,n)})),t):(o[e]||(o[e]=[]),o[e].push(n),t)},d=function(i){for(var s=[],a=1;arguments.length>a;a++)s[a-1]=arguments[a];if((0,r.isArray)(i))i.map((function(t){return d.apply(void 0,n.__spreadArray([t],n.__read(s),!1))}));else try{!e[i]&&o[i]&&(e[i]=!0,o[i].forEach((function(e){return e.call.apply(e,n.__spreadArray([t],n.__read(s),!1))})))}finally{e[i]=!1}},f=function(e,o){void 0===o&&(o=[]);var r={};l(e)||(Object.defineProperty(e,c,{enumerable:!1,value:!0}),Object.keys(e).forEach((function(c){var l=c,u=o.concat(l).filter((function(t){return t.length}));r[l]=e[l];var p=(0,a.getPropertyDescriptor)(e,l);Object.defineProperty(e,l,{set:function(e){var o=r[l];if(!(0,i.isFastEqual)(r[l],e)){d(["beforeChange","beforeChange.".concat(u.join("."))],l,e),(0,s.isPlainObject)(e)&&f(e,u),p&&p.set?p.set.call(t,e):r[l]=e;var a=[];d(n.__spreadArray(["change"],n.__read(u.reduce((function(t,e){return a.push(e),t.push("change.".concat(a.join("."))),t}),[])),!1),u.join("."),o,(null==e?void 0:e.valueOf)?e.valueOf():e)}},get:function(){return p&&p.get?p.get.call(t):r[l]},enumerable:!0,configurable:!0}),(0,s.isPlainObject)(r[l])&&f(r[l],u)})),Object.defineProperty(t,"on",{value:u}))};return f(t),t}},91441:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EventHandlersStore=e.defaultNameSpace=void 0,o(52378);var n=o(62507);e.defaultNameSpace="JoditEventDefaultNamespace";var r=function(){function t(){this.__store=new Map}return t.prototype.get=function(t,e){if(this.__store.has(e))return this.__store.get(e)[t]},t.prototype.indexOf=function(t,e,o){var n=this.get(t,e);if(n)for(var r=0;n.length>r;r+=1)if(n[r].originalCallback===o)return r;return!1},t.prototype.namespaces=function(t){void 0===t&&(t=!1);var o=(0,n.toArray)(this.__store.keys());return t?o.filter((function(t){return t!==e.defaultNameSpace})):o},t.prototype.events=function(t){var e=this.__store.get(t);return e?Object.keys(e):[]},t.prototype.set=function(t,e,o,n){void 0===n&&(n=!1);var r=this.__store.get(e);r||this.__store.set(e,r={}),void 0===r[t]&&(r[t]=[]),n?r[t].unshift(o):r[t].push(o)},t.prototype.clear=function(){this.__store.clear()},t.prototype.clearEvents=function(t,e){var o=this.__store.get(t);o&&o[e]&&(delete o[e],Object.keys(o).length||this.__store.delete(t))},t.prototype.isEmpty=function(){return 0===this.__store.size},t}();e.EventHandlersStore=r},58706:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.eventEmitter=e.getContainer=e.extendLang=e.modules=e.pluginSystem=e.uniqueUid=e.instances=void 0;var n=o(52666),r=o(96582),i=o(57083),s=o(8637),a=o(90412),c=o(87122),l=o(76910),u=o(49940);e.instances={};var d=1,f=new Set;e.uniqueUid=function(){function t(){return d+=10*(Math.random()+1),Math.round(d).toString(16)}for(var e=t();f.has(e);)e=t();return f.add(e),e},e.pluginSystem=new n.PluginSystem,e.modules={},e.extendLang=function(t){Object.keys(t).forEach((function(e){u.lang[e]?Object.assign(u.lang[e],t[e]):u.lang[e]=t[e]}))};var p=new WeakMap;e.getContainer=function(t,e,o,n){void 0===o&&(o="div"),void 0===n&&(n=!1);var i=e?(0,c.getClassName)(e.prototype):"jodit-utils",u=p.get(t)||{},d=i+o,f=(0,a.isViewObject)(t)?t:t.j;if(!u[d]){var h=f.c,v=(0,s.isJoditObject)(t)&&t.o.shadowRoot?t.o.shadowRoot:t.od.body;if(n&&(0,s.isJoditObject)(t)&&t.od!==t.ed){h=t.createInside;var m="style"===o?t.ed.head:t.ed.body;v=(0,s.isJoditObject)(t)&&t.o.shadowRoot?t.o.shadowRoot:m}var g=h.element(o,{className:"jodit jodit-".concat((0,l.kebabCase)(i),"-container jodit-box")});g.classList.add("jodit_theme_".concat(f.o.theme||"default")),v.appendChild(g),u[d]=g,t.hookStatus("beforeDestruct",(function(){r.Dom.safeRemove(g),delete u[d],Object.keys(u).length&&p.delete(t)})),p.set(t,u)}return u[d].classList.remove("jodit_theme_default","jodit_theme_dark"),u[d].classList.add("jodit_theme_".concat(f.o.theme||"default")),u[d]},e.eventEmitter=new i.EventEmitter},78094:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asArray=void 0;var n=o(8356);e.asArray=function(t){return(0,n.isArray)(t)?t:[t]}},89105:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toArray=e.splitArray=e.asArray=void 0;var n=o(78094);Object.defineProperty(e,"asArray",{enumerable:!0,get:function(){return n.asArray}});var r=o(65735);Object.defineProperty(e,"splitArray",{enumerable:!0,get:function(){return r.splitArray}});var i=o(62507);Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return i.toArray}})},65735:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.splitArray=void 0,e.splitArray=function(t){return Array.isArray(t)?t:t.split(/[,\s]+/)}},62507:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toArray=void 0;var n=o(10991),r=o(8412);e.toArray=function(){for(var t,e=[],o=0;arguments.length>o;o++)e[o]=arguments[o];var i=(0,r.isNativeFunction)(Array.from)?Array.from:null!==(t=(0,n.reset)("Array.from"))&&void 0!==t?t:Array.from;return i.apply(Array,e)}},15958:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(52784).__exportStar(o(55641),e)},55641:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearTimeout=e.setTimeout=void 0;var n=o(52784);e.setTimeout=function(t,e){for(var o=[],r=2;arguments.length>r;r++)o[r-2]=arguments[r];return e?window.setTimeout.apply(window,n.__spreadArray([t,e],n.__read(o),!1)):(t.call.apply(t,n.__spreadArray([null],n.__read(o),!1)),0)},e.clearTimeout=function(t){window.clearTimeout(t)}},64609:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasBrowserColorPicker=void 0,e.hasBrowserColorPicker=function(){var t=!0;try{var e=document.createElement("input");e.type="color",t="color"===e.type&&"number"!=typeof e.selectionStart}catch(e){t=!1}return t}},74699:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(64609),e),n.__exportStar(o(8356),e),n.__exportStar(o(82949),e),n.__exportStar(o(33686),e),n.__exportStar(o(6244),e),n.__exportStar(o(58613),e),n.__exportStar(o(68066),e),n.__exportStar(o(13886),e),n.__exportStar(o(44825),e),n.__exportStar(o(8637),e),n.__exportStar(o(90412),e),n.__exportStar(o(2143),e),n.__exportStar(o(8412),e),n.__exportStar(o(92845),e),n.__exportStar(o(77240),e),n.__exportStar(o(6395),e),n.__exportStar(o(22233),e),n.__exportStar(o(57348),e),n.__exportStar(o(84842),e),n.__exportStar(o(9106),e),n.__exportStar(o(93215),e),n.__exportStar(o(51585),e)},8356:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=void 0,e.isArray=function(t){return Array.isArray(t)}},82949:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBoolean=void 0,e.isBoolean=function(t){return"boolean"==typeof t}},33686:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFastEqual=e.isEqual=void 0;var n=o(47475);e.isEqual=function(t,e){return t===e||(0,n.stringify)(t)===(0,n.stringify)(e)},e.isFastEqual=function(t,e){return t===e}},6244:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=void 0,e.isFunction=function(t){return"function"==typeof t}},68066:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isHtmlFromWord=void 0,e.isHtmlFromWord=function(t){return-1!==t.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==t.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==t.search(/style="[^"]*mso-/)&&-1!==t.search(/<font/)}},58613:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isHTML=void 0;var n=o(57348);e.isHTML=function(t){return(0,n.isString)(t)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(t.replace(/[\r\n]/g,""))}},13886:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasContainer=e.isDestructable=e.isInitable=void 0;var n=o(6244),r=o(12815),i=o(93215);e.isInitable=function(t){return!(0,i.isVoid)(t)&&(0,n.isFunction)(t.init)},e.isDestructable=function(t){return!(0,i.isVoid)(t)&&(0,n.isFunction)(t.destruct)},e.hasContainer=function(t){return!(0,i.isVoid)(t)&&r.Dom.isElement(t.container)}},44825:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isInt=void 0;var n=o(77240),r=o(57348);e.isInt=function(t){return(0,r.isString)(t)&&(0,n.isNumeric)(t)&&(t=parseFloat(t)),"number"==typeof t&&Number.isFinite(t)&&!(t%1)}},8637:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isJoditObject=void 0;var n=o(6244);e.isJoditObject=function(t){return Boolean(t&&t instanceof Object&&(0,n.isFunction)(t.constructor)&&("undefined"!=typeof Jodit&&t instanceof Jodit||t.isJodit))}},2143:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isLicense=void 0;var n=o(57348);e.isLicense=function(t){return(0,n.isString)(t)&&23===t.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(t)}},8412:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNativeFunction=void 0,e.isNativeFunction=function(t){return Boolean(t)&&"function"===(typeof t).toLowerCase()&&(t===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(t)))}},92845:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNumber=void 0,e.isNumber=function(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}},77240:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNumeric=void 0;var n=o(57348);e.isNumeric=function(t){if((0,n.isString)(t)){if(!t.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;t=parseFloat(t)}return"number"==typeof t&&!isNaN(t)&&isFinite(t)}},6395:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPlainObject=void 0;var n=o(51585);e.isPlainObject=function(t){return!(!t||"object"!=typeof t||t.nodeType||(0,n.isWindow)(t)||t.constructor&&!{}.hasOwnProperty.call(t.constructor.prototype,"isPrototypeOf"))}},22233:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPromise=void 0,e.isPromise=function(t){return t&&"function"==typeof t.then}},57348:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isStringArray=e.isString=void 0;var n=o(8356);function r(t){return"string"==typeof t}e.isString=r,e.isStringArray=function(t){return(0,n.isArray)(t)&&r(t[0])}},84842:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isURL=void 0,e.isURL=function(t){if(t.includes(" "))return!1;if("undefined"!=typeof URL)try{var e=new URL(t);return["https:","http:","ftp:","file:","rtmp:"].includes(e.protocol)}catch(t){return!1}var o=document.createElement("a");return o.href=t,Boolean(o.hostname)}},9106:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isValidName=void 0,e.isValidName=function(t){return!!t.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_.]/.test(t)}},90412:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isViewObject=void 0;var n=o(6244);e.isViewObject=function(t){return Boolean(t&&t instanceof Object&&(0,n.isFunction)(t.constructor)&&t.isView)}},93215:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isVoid=void 0,e.isVoid=function(t){return null==t}},51585:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isWindow=void 0,e.isWindow=function(t){return null!=t&&t===t.window}},49771:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.colorToHex=void 0,e.colorToHex=function(t){if("rgba(0, 0, 0, 0)"===t||""===t)return!1;if(!t)return"#000000";if("#"===t.substr(0,1))return t;var e=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(t)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(t);if(!e)return"#000000";for(var o=parseInt(e[2],10),n=parseInt(e[3],10),r=(parseInt(e[4],10)|n<<8|o<<16).toString(16).toUpperCase();6>r.length;)r="0"+r;return e[1]+"#"+r}},8586:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(52784).__exportStar(o(49771),e)},52475:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyStyles=void 0;var n=o(12815),r=o(93772),i=o(78097);function s(t){return t.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,(function(t,e,o){switch(o.toLowerCase()){case"pt":return(1.328*parseFloat(e)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(e)).toFixed(0)+"px"}return t}))}e.applyStyles=function(t){if(-1===t.indexOf("<html "))return t;t=(t=t.substring(t.indexOf("<html "),t.length)).substring(0,t.lastIndexOf("</html>")+"</html>".length);var e=document.createElement("iframe");e.style.display="none",document.body.appendChild(e);var o="";try{var a=e.contentDocument||(e.contentWindow?e.contentWindow.document:null);if(a){a.open(),a.write(t),a.close();try{for(var c=function(t){for(var e=a.styleSheets[t].cssRules,o=function(t){if(""===e[t].selectorText)return"continue";(0,r.$$)(e[t].selectorText,a.body).forEach((function(o){o.style.cssText=s(e[t].style.cssText+";"+o.style.cssText)}))},n=0;e.length>n;n+=1)o(n)},l=0;a.styleSheets.length>l;l+=1)c(l)}catch(t){}n.Dom.each(a.body,(function(t){if(n.Dom.isElement(t)){var e=t,o=e.getAttribute("style");o&&(e.style.cssText=s(o)),e.hasAttribute("style")&&!e.getAttribute("style")&&e.removeAttribute("style")}})),o=a.firstChild?(0,i.trim)(a.body.innerHTML):""}}catch(t){}finally{n.Dom.safeRemove(e)}return o&&(t=o),(0,i.trim)(t.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},69235:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cleanFromWord=void 0;var n=o(12815),r=o(78097),i=o(62507);e.cleanFromWord=function(t){-1!==t.indexOf("<html ")&&(t=(t=t.substring(t.indexOf("<html "),t.length)).substring(0,t.lastIndexOf("</html>")+"</html>".length));var e="";try{var o=document.createElement("div");o.innerHTML=t;var s=[];o.firstChild&&n.Dom.each(o,(function(t){if(t)switch(t.nodeType){case Node.ELEMENT_NODE:switch(t.nodeName){case"STYLE":case"LINK":case"META":s.push(t);break;case"W:SDT":case"W:SDTPR":case"FONT":n.Dom.unwrap(t);break;default:(0,i.toArray)(t.attributes).forEach((function(e){-1===["src","href","rel","content"].indexOf(e.name.toLowerCase())&&t.removeAttribute(e.name)}))}break;case Node.TEXT_NODE:break;default:s.push(t)}})),n.Dom.safeRemove.apply(null,s),e=o.innerHTML}catch(t){}return e&&(t=e),(t=t.split(/(\n)/).filter(r.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},46441:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.htmlspecialchars=void 0,e.htmlspecialchars=function(t){var e=document.createElement("div");return e.textContent=t,e.innerHTML}},70497:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(52475),e),n.__exportStar(o(69235),e),n.__exportStar(o(46441),e),n.__exportStar(o(66477),e),n.__exportStar(o(37337),e),n.__exportStar(o(23564),e)},23564:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nl2br=void 0,e.nl2br=function(t){return t.replace(/\r\n|\r|\n/g,"<br/>")}},37337:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeHTMLElement=e.safeHTML=void 0;var n=o(93772),r=o(12815);function i(t,e){var o=void 0===e?{safeJavaScriptLink:!0,removeOnError:!0}:e,i=o.safeJavaScriptLink,s=o.removeOnError;if(!r.Dom.isElement(t))return!1;var a=!1;s&&t.hasAttribute("onerror")&&((0,n.attr)(t,"onerror",null),a=!0);var c=t.getAttribute("href");return i&&c&&0===c.trim().indexOf("javascript")&&((0,n.attr)(t,"href",location.protocol+"//"+c),a=!0),a}e.safeHTML=function(t,e){(r.Dom.isElement(t)||r.Dom.isFragment(t))&&(e.removeOnError&&(i(t),(0,n.$$)("[onerror]",t).forEach((function(t){return i(t,e)}))),e.safeJavaScriptLink&&(i(t),(0,n.$$)('a[href^="javascript"]',t).forEach((function(t){return i(t,e)}))))},e.sanitizeHTMLElement=i},66477:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stripTags=void 0;var n=o(57348),r=o(93772),i=o(78097),s=o(12815);e.stripTags=function(t,e){void 0===e&&(e=document);var o=e.createElement("div");return(0,n.isString)(t)?o.innerHTML=t:o.appendChild(t),(0,r.$$)("DIV, P, BR, H1, H2, H3, H4, H5, H6, HR",o).forEach((function(t){var o=t.parentNode;if(o){var n=t.nextSibling;s.Dom.isText(n)&&/^\s/.test(n.nodeValue||"")||n&&o.insertBefore(e.createTextNode(" "),n)}})),(0,i.trim)(o.innerText)||""}},16892:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(93772),e),n.__exportStar(o(89105),e),n.__exportStar(o(15958),e),n.__exportStar(o(74699),e),n.__exportStar(o(8586),e),n.__exportStar(o(70497),e),n.__exportStar(o(79029),e),n.__exportStar(o(11310),e),n.__exportStar(o(88619),e)},79029:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(67547),e),n.__exportStar(o(36255),e),n.__exportStar(o(51534),e),n.__exportStar(o(29149),e),n.__exportStar(o(86005),e),n.__exportStar(o(38100),e),n.__exportStar(o(64735),e),n.__exportStar(o(44523),e),n.__exportStar(o(72435),e)},72435:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeColor=void 0;var n=o(8586),r=o(88619);e.normalizeColor=function(t){var e=["#"],o=(0,n.colorToHex)(t);if(!o)return!1;if(3===(o=(o=(0,r.trim)(o.toUpperCase())).substr(1)).length){for(var i=0;3>i;i+=1)e.push(o[i]),e.push(o[i]);return e.join("")}return o.length>6&&(o=o.substr(0,6)),"#"+o}},44523:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeCssValue=void 0;var n=o(77240),r=o(76910),i=o(49771);e.normalizeCssValue=function(t,e){if("font-weight"===(0,r.kebabCase)(t)){switch(e.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,n.isNumeric)(e)?Number(e):e}return/color/i.test(t)&&/^rgb/i.test(e.toString())&&(0,i.colorToHex)(e.toString())||e}},67547:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeKeyAliases=void 0;var n=o(78097),r=o(49940);e.normalizeKeyAliases=function(t){var e={},o={meta:1,ctrl:2,control:2,alt:3,shift:4};return t.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map((function(t){return(0,n.trim)(t.toLowerCase())})).map((function(t){return r.KEY_ALIASES[t]||t})).sort((function(t,e){return o[t]&&!o[e]?-1:!o[t]&&o[e]?1:o[t]&&o[e]?o[t]-o[e]:t>e?1:-1})).filter((function(t){return!e[t]&&""!==t&&(e[t]=!0)})).join("+")}},36255:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeLicense=void 0,e.normalizeLicense=function(t,e){void 0===e&&(e=8);for(var o=[];t.length;)o.push(t.substr(0,e)),t=t.substr(e);return o[1]=o[1].replace(/./g,"*"),o[2]=o[2].replace(/./g,"*"),o.join("-")}},51534:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeNode=void 0;var n=o(49940),r=o(12815);e.normalizeNode=function(t){if(t){if(r.Dom.isText(t)&&null!=t.nodeValue&&t.parentNode)for(;r.Dom.isText(t.nextSibling);)null!=t.nextSibling.nodeValue&&(t.nodeValue+=t.nextSibling.nodeValue),t.nodeValue=t.nodeValue.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),""),r.Dom.safeRemove(t.nextSibling);else(0,e.normalizeNode)(t.firstChild);(0,e.normalizeNode)(t.nextSibling)}}},29149:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizePath=void 0;var n=o(88619);e.normalizePath=function(){for(var t=[],e=0;arguments.length>e;e++)t[e]=arguments[e];return t.filter((function(t){return(0,n.trim)(t).length})).map((function(e,o){return e=e.replace(/([^:])[\\/]+/g,"$1/"),o&&(e=e.replace(/^\//,"")),o!==t.length-1&&(e=e.replace(/\/$/,"")),e})).join("/")}},86005:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeRelativePath=void 0,e.normalizeRelativePath=function(t){return t.split("/").reduce((function(t,e){switch(e){case"":case".":break;case"..":t.pop();break;default:t.push(e)}return t}),[]).join("/")+(t.endsWith("/")?"/":"")}},38100:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeSize=void 0,e.normalizeSize=function(t){return/^[0-9]+$/.test(t.toString())?t+"px":t.toString()}},64735:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeUrl=void 0,e.normalizeUrl=function(){for(var t=[],e=0;arguments.length>e;e++)t[e]=arguments[e];return t.filter((function(t){return t.length})).map((function(t){return t.replace(/\/$/,"")})).join("/").replace(/([^:])[\\/]+/g,"$1/")}},21969:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getContentWidth=void 0,e.getContentWidth=function(t,e){var o=function(t){return parseInt(t,10)},n=e.getComputedStyle(t);return t.offsetWidth-o(n.getPropertyValue("padding-left")||"0")-o(n.getPropertyValue("padding-right")||"0")}},564:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getScrollParent=void 0;var n=o(93772),r=o(12815);e.getScrollParent=function t(e){if(!e)return null;var o=r.Dom.isHTMLElement(e),i=o&&(0,n.css)(e,"overflowY");return o&&"visible"!==i&&"hidden"!==i&&e.scrollHeight>=e.clientHeight?e:t(e.parentNode)||document.scrollingElement||document.body}},11310:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(21969),e),n.__exportStar(o(564),e),n.__exportStar(o(40969),e),n.__exportStar(o(86933),e),n.__exportStar(o(34046),e),n.__exportStar(o(40318),e)},40969:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.innerWidth=void 0,e.innerWidth=function(t,e){var o=e.getComputedStyle(t);return t.clientWidth-(parseFloat(o.paddingLeft||"0")+parseFloat(o.paddingRight||"0"))}},40318:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.size=void 0;var n=o(74699);e.size=function(t){return(0,n.isString)(t)||(0,n.isArray)(t)?t.length:(0,n.isPlainObject)(t)?Object.keys(t).length:0}},86933:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.offset=void 0,e.offset=function(t,o,n,r){var i;void 0===r&&(r=!1);try{i=t.getBoundingClientRect()}catch(t){i={top:0,bottom:0,left:0,right:0,width:0,height:0}}var s,a,c=n.body,l=n.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},u=n.defaultView||n.parentWindow,d=u.pageYOffset||l.scrollTop||c.scrollTop,f=u.pageXOffset||l.scrollLeft||c.scrollLeft,p=l.clientTop||c.clientTop||0,h=l.clientLeft||c.clientLeft||0,v=o.iframe;if(!r&&o&&o.options&&o.o.iframe&&v){var m=(0,e.offset)(v,o,o.od,!0);s=i.top+m.top,a=i.left+m.left}else s=i.top+d-p,a=i.left+f-h;return{top:Math.round(s),left:Math.round(a),width:i.width,height:i.height}}},34046:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.position=void 0;var n=o(8637);e.position=function t(e,o,r){void 0===r&&(r=!1);var i=e.getBoundingClientRect(),s=i.left,a=i.top;if((0,n.isJoditObject)(o)&&o.iframe&&o.ed.body.contains(e)&&!r){var c=t(o.iframe,o,!0);s+=c.left,a+=c.top}return{left:Math.round(s),top:Math.round(a),width:Math.round(e.offsetWidth),height:Math.round(e.offsetHeight)}}},83479:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=void 0,e.camelCase=function(t){return t.replace(/([-_])(.)/g,(function(t,e,o){return o.toUpperCase()}))}},27420:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fuzzySearchIndex=void 0;var n=o(49940);e.fuzzySearchIndex=function(t,e,o,r){void 0===o&&(o=0),void 0===r&&(r=1);var i=0,s=0,a=-1,c=0,l=0;for(s=o;t.length>i&&e.length>s;)t[i].toLowerCase()===e[s].toLowerCase()?(i++,c++,l=0,-1===a&&(a=s)):i>0&&(r>l||e[s]===n.INVISIBLE_SPACE?(l++,c++):(i=0,a=-1,c=0,l=0,s--)),s++;return i===t.length?[a,c]:[-1,0]}},49946:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.i18n=e.sprintf=void 0;var n=o(733),r=o(93772),i=o(57348),s=o(80361),a=o(49940);e.sprintf=function(t,e){if(!e||!e.length)return t;for(var o=/%([sd])/g,n=o.exec(t),r=t,i=0;n&&void 0!==e[i];)r=r.replace(n[0],e[i].toString()),i+=1,n=o.exec(t);return r},e.i18n=function(t,o,c){if(!(0,i.isString)(t))throw(0,r.error)("i18n: Need string in first argument");if(!t.length)return t;var l=Boolean(null==c?void 0:c.debugLanguage),u={},d=function(t){return o&&o.length?(0,e.sprintf)(t,o):t},f=(0,r.defaultLanguage)(n.Config.defaultOptions.language,n.Config.defaultOptions.language),p=(0,r.defaultLanguage)(null==c?void 0:c.language,f),h=function(e){if(e){if((0,i.isString)(e[t]))return d(e[t]);var o=t.toLowerCase();if((0,i.isString)(e[o]))return d(e[o]);var n=(0,s.ucfirst)(t);return(0,i.isString)(e[n])?d(e[n]):void 0}};void 0!==a.lang[p]?u=a.lang[p]:l||(u=void 0!==a.lang[f]?a.lang[f]:a.lang.en);var v=null==c?void 0:c.i18n;if(v&&v[p]){var m=h(v[p]);if(m)return m}return h(u)||(!l&&a.lang.en&&(0,i.isString)(a.lang.en[t])&&a.lang.en[t]?d(a.lang.en[t]):l?"{"+t+"}":d(t))}},88619:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(83479),e),n.__exportStar(o(27420),e),n.__exportStar(o(49946),e),n.__exportStar(o(76910),e),n.__exportStar(o(47475),e),n.__exportStar(o(78097),e),n.__exportStar(o(80361),e)},76910:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CamelCaseToKebabCase=e.kebabCase=void 0,e.kebabCase=function(t){return t.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()},e.CamelCaseToKebabCase=function(t){return t.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},47475:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=void 0,e.stringify=function(t,e){if(void 0===e&&(e={}),"object"!=typeof t)return String(t);var o=new Set(e.excludeKeys),n=new WeakMap;return JSON.stringify(t,(function(t,e){if(!o.has(t)){if("object"==typeof e&&null!=e){if(n.get(e))return"[refObject]";n.set(e,!0)}return e}}),e.prettify)}},78097:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimInv=e.trim=void 0;var n=o(49940);e.trim=function(t){return t.replace((0,n.SPACE_REG_EXP_END)(),"").replace((0,n.SPACE_REG_EXP_START)(),"")},e.trimInv=function(t){return t.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,n.INVISIBLE_SPACE_REG_EXP_START)(),"")}},80361:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ucfirst=void 0,e.ucfirst=function(t){return t.length?t[0].toUpperCase()+t.substr(1):""}},18578:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.alignElement=e.clearAlign=e.hAlignElement=void 0;var n=o(96582),r=o(21714);function i(t){n.Dom.each(t,(function(t){n.Dom.isHTMLElement(t)&&t.style.textAlign&&(t.style.textAlign="",t.style.cssText.trim().length||t.removeAttribute("style"))}))}e.hAlignElement=function(t,e){e&&"normal"!==e?"center"!==e?((0,r.css)(t,"float",e),(0,r.clearCenterAlign)(t)):(0,r.css)(t,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,r.css)(t,"float")&&-1!==["right","left"].indexOf((0,r.css)(t,"float").toString().toLowerCase())&&(0,r.css)(t,"float",""),(0,r.clearCenterAlign)(t))},e.clearAlign=i,e.alignElement=function(t,e){if(n.Dom.isNode(e)&&n.Dom.isElement(e))switch(i(e),t.toLowerCase()){case"justifyfull":e.style.textAlign="justify";break;case"justifyright":e.style.textAlign="right";break;case"justifyleft":e.style.textAlign="left";break;case"justifycenter":e.style.textAlign="center"}}},49394:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loadNextStyle=e.loadNext=e.appendStyleAsync=e.appendScriptAsync=e.appendScript=void 0;var n=o(52784),r=o(68301),i=o(6244),s=o(57348),a=new Map,c=function(t){return function(e,o){return n.__awaiter(void 0,void 0,Promise,(function(){var r;return n.__generator(this,(function(n){return a.has(o)?[2,a.get(o)]:(r=t(e,o),a.set(o,r),[2,r])}))}))}};e.appendScript=function(t,e,o){var n=t.c.element("script");return n.type="text/javascript",n.async=!0,(0,i.isFunction)(o)&&!t.isInDestruct&&t.e.on(n,"load",o),n.src||(n.src=(0,r.completeUrl)(e)),t.od.body.appendChild(n),{callback:o,element:n}},e.appendScriptAsync=c((function(t,o){return new Promise((function(n,r){var i=(0,e.appendScript)(t,o,n).element;!t.isInDestruct&&t.e.on(i,"error",r)}))})),e.appendStyleAsync=c((function(t,e){return new Promise((function(o,n){var i=t.c.element("link");i.rel="stylesheet",i.media="all",i.crossOrigin="anonymous",!t.isInDestruct&&t.e.on(i,"load",(function(){return o(i)})).on(i,"error",n),i.href=(0,r.completeUrl)(e),t.o.shadowRoot?t.o.shadowRoot.appendChild(i):t.od.body.appendChild(i)}))})),e.loadNext=function(t,o,n){return void 0===n&&(n=0),(0,s.isString)(o[n])?(0,e.appendScriptAsync)(t,o[n]).then((function(){return(0,e.loadNext)(t,o,n+1)})):Promise.resolve()},e.loadNextStyle=function(t,o,n){return void 0===n&&(n=0),(0,s.isString)(o[n])?(0,e.appendStyleAsync)(t,o[n]).then((function(){return(0,e.loadNextStyle)(t,o,n+1)})):Promise.resolve()}},87706:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.browser=void 0,e.browser=function(t){var e=navigator.userAgent.toLowerCase(),o=/(firefox)[\s/]([\w.]+)/.exec(e)||/(chrome)[\s/]([\w.]+)/.exec(e)||/(webkit)[\s/]([\w.]+)/.exec(e)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(e)||/(msie)[\s]([\w.]+)/.exec(e)||/(trident)\/([\w.]+)/.exec(e)||0>e.indexOf("compatible")||[];return"version"===t?o[2]:"webkit"===t?"chrome"===o[1]||"webkit"===o[1]:"ff"===t?"firefox"===o[1]:"msie"===t?"trident"===o[1]||"msie"===o[1]:o[1]===t}},82118:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildQuery=void 0;var n=o(6395);e.buildQuery=function(t,o){var r=[],i=encodeURIComponent;for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)){var a=o?o+"["+s+"]":s,c=t[s];r.push((0,n.isPlainObject)(c)?(0,e.buildQuery)(c,a):i(a)+"="+i(c))}return r.join("&")}},68301:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.completeUrl=void 0,e.completeUrl=function(t){return"file:"===window.location.protocol&&/^\/\//.test(t)&&(t="https:"+t),t}},20702:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigFlatten=e.ConfigProto=void 0;var n=o(52784),r=o(28858),i=o(8356),s=o(6395),a=o(57348),c=o(93215),l=o(733),u=o(89437);e.ConfigProto=function t(e,o,u){if(void 0===u&&(u=0),Object.getPrototypeOf(e)!==Object.prototype)return e;var d=l.Config.defaultOptions;if((0,a.isString)(e.preset)){if(void 0!==d.presets[e.preset]){var f=d.presets[e.preset];Object.keys(f).forEach((function(t){(0,c.isVoid)(e[t])&&(e[t]=f[t])}))}delete e.preset}var p={};return Object.keys(e).forEach((function(a){var c=e[a],l=o?o[a]:null;p[a]=(0,s.isPlainObject)(c)&&(0,s.isPlainObject)(l)&&!(0,r.isAtom)(c)?t(c,l,u+1):0!==u&&(0,i.isArray)(c)&&!(0,r.isAtom)(c)&&(0,i.isArray)(l)?n.__spreadArray(n.__spreadArray([],n.__read(c),!1),n.__read(l.slice(c.length)),!1):c})),Object.setPrototypeOf(p,o),p},e.ConfigFlatten=function(t){return(0,u.keys)(t,!1).reduce((function(e,o){return e[o]=t[o],e}),{})}},1853:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertMediaUrlToVideoEmbed=void 0;var n=o(84842),r=o(63864);e.convertMediaUrlToVideoEmbed=function(t,e,o){if(void 0===e&&(e=400),void 0===o&&(o=345),!(0,n.isURL)(t))return t;var i=document.createElement("a"),s=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;i.href=t,e||(e=400),o||(o=345);var a=i.protocol||"";switch(i.hostname){case"www.vimeo.com":case"vimeo.com":return s.test(t)?t.replace(s,'<iframe width="'+e+'" height="'+o+'" src="'+a+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):t;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":var c=i.search?(0,r.parseQuery)(i.search):{v:i.pathname.substr(1)};return c.v?'<iframe width="'+e+'" height="'+o+'" src="'+a+"//www.youtube.com/embed/"+c.v+'" frameborder="0" allowfullscreen></iframe>':t}return t}},21714:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearCenterAlign=e.css=void 0;var n=o(6395),r=o(77240),i=o(93215),s=o(82949),a=o(44523),c=o(83479),l=o(76910);function u(t,e,o,d){void 0===d&&(d=!1);var f=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;if((0,s.isBoolean)(o)&&(d=o,o=void 0),(0,n.isPlainObject)(e)||void 0!==o){var p=function(t,e,o){!(0,i.isVoid)(o)&&f.test(e)&&(0,r.isNumeric)(o.toString())&&(o=parseInt(o.toString(),10)+"px"),void 0===o||null!=o&&u(t,e,!0)===(0,a.normalizeCssValue)(e,o)||(t.style[e]=o)};if((0,n.isPlainObject)(e))for(var h=Object.keys(e),v=0;h.length>v;v+=1)p(t,(0,c.camelCase)(h[v]),e[h[v]]);else p(t,(0,c.camelCase)(e),o);return""}var m=(0,l.kebabCase)(e),g=t.ownerDocument||document,y=!!g&&(g.defaultView||g.parentWindow),_=t.style[e],b="";return void 0!==_&&""!==_?b=_:y&&!d&&(b=y.getComputedStyle(t).getPropertyValue(m)),f.test(e)&&/^[-+]?[0-9.]+px$/.test(b.toString())&&(b=parseInt(b.toString(),10)),(0,a.normalizeCssValue)(e,b)}e.css=u,e.clearCenterAlign=function(t){"block"===u(t,"display")&&u(t,"display","");var e=t.style;"auto"===e.marginLeft&&"auto"===e.marginRight&&(e.marginLeft="",e.marginRight="")}},60457:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ctrlKey=void 0,e.ctrlKey=function(t){if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(t.metaKey&&!t.altKey)return!0}else if(t.ctrlKey&&!t.altKey)return!0;return!1}},1070:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dataBind=void 0;var n=o(90412),r=new WeakMap;e.dataBind=function(t,e,o){var i=r.get(t);if(!i){r.set(t,i={});var s=null;(0,n.isViewObject)(t.j)&&(s=t.j.e),(0,n.isViewObject)(t)&&(s=t.e),s&&s.on("beforeDestruct",(function(){r.delete(t)}))}return void 0===o?i[e]:(i[e]=o,o)}},16617:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultLanguage=void 0;var n=o(57348);e.defaultLanguage=function(t,e){return void 0===e&&(e="en"),"auto"!==t&&(0,n.isString)(t)?t:document.documentElement&&document.documentElement.lang?document.documentElement.lang:navigator.language?navigator.language.substring(0,2):e}},28647:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isAbort=e.abort=e.options=e.connection=e.error=void 0;var n=o(62468);e.error=function(t){return new TypeError(t)},e.connection=function(t){return new n.ConnectionError(t)},e.options=function(t){return new n.OptionsError(t)},e.abort=function(t){return new n.AbortError(t)},e.isAbort=function(t){return t instanceof n.AbortError}},9322:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbortError=void 0;var n=o(52784),r=function(t){function e(o){var n=t.call(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return n.__extends(e,t),e}(Error);e.AbortError=r},87017:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ConnectionError=void 0;var n=o(52784),r=function(t){function e(o){var n=t.call(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return n.__extends(e,t),e}(Error);e.ConnectionError=r},62468:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(9322),e),n.__exportStar(o(87017),e),n.__exportStar(o(17975),e)},17975:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OptionsError=void 0;var n=o(52784),r=function(t){function e(o){var n=t.call(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return n.__extends(e,t),e}(TypeError);e.OptionsError=r},65422:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(28647),e),n.__exportStar(o(62468),e)},28858:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fastClone=e.markAsAtomic=e.isAtom=void 0;var n=o(47475);e.isAtom=function(t){return t&&t.isAtom},e.markAsAtomic=function(t){return Object.defineProperty(t,"isAtom",{enumerable:!1,value:!0,configurable:!1}),t},e.fastClone=function(t){return JSON.parse((0,n.stringify)(t))}},87122:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getClassName=e.keepNames=void 0;var n=o(6244);e.keepNames=new Map,e.getClassName=function(t){var o;if((0,n.isFunction)(t.className))return t.className();var r=(null===(o=t.constructor)||void 0===o?void 0:o.originalConstructor)||t.constructor;if(e.keepNames.has(r))return e.keepNames.get(r);if(r.name)return r.name;var i=new RegExp(/^\s*function\s*(\S*)\s*\(/),s=r.toString().match(i);return s?s[1]:""}},84060:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.get=void 0;var n=o(52784),r=o(57348),i=o(93215);e.get=function(t,e){var o,s;if(!(0,r.isString)(t)||!t.length)return null;var a=t.split("."),c=e;try{try{for(var l=n.__values(a),u=l.next();!u.done;u=l.next()){var d=u.value;if((0,i.isVoid)(c[d]))return null;c=c[d]}}catch(t){o={error:t}}finally{try{u&&!u.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}}catch(t){return null}return(0,i.isVoid)(c)?null:c}},17625:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.humanSizeToBytes=void 0,e.humanSizeToBytes=function(t){if(/^[0-9.]+$/.test(t.toString()))return parseFloat(t);var e=t.substr(-2,2).toUpperCase(),o=["KB","MB","GB","TB"],n=parseFloat(t.substr(0,t.length-2));return-1!==o.indexOf(e)?n*Math.pow(1024,o.indexOf(e)+1):parseInt(t,10)}},93772:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(18578),e),n.__exportStar(o(49394),e),n.__exportStar(o(52378),e),n.__exportStar(o(87706),e),n.__exportStar(o(82118),e),n.__exportStar(o(68301),e),n.__exportStar(o(20702),e),n.__exportStar(o(1853),e),n.__exportStar(o(21714),e),n.__exportStar(o(60457),e),n.__exportStar(o(1070),e),n.__exportStar(o(16617),e),n.__exportStar(o(65422),e),n.__exportStar(o(28858),e),n.__exportStar(o(84060),e),n.__exportStar(o(87122),e),n.__exportStar(o(17625),e),n.__exportStar(o(11461),e),n.__exportStar(o(63864),e),n.__exportStar(o(27903),e),n.__exportStar(o(10991),e),n.__exportStar(o(6517),e),n.__exportStar(o(18365),e),n.__exportStar(o(88341),e),n.__exportStar(o(37323),e),n.__exportStar(o(89437),e),n.__exportStar(o(76985),e)},11461:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.markDeprecated=e.cns=void 0;var n=o(52784);e.cns=console,e.markDeprecated=function(t,o,r){return void 0===o&&(o=[""]),void 0===r&&(r=null),function(){for(var i=[],s=0;arguments.length>s;s++)i[s]=arguments[s];return e.cns.warn('Method "'.concat(o[0],'" deprecated.')+(o[1]?' Use "'.concat(o[1],'" instead'):"")),t.call.apply(t,n.__spreadArray([r],n.__read(i),!1))}}},63864:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseQuery=void 0,e.parseQuery=function(t){for(var e={},o=t.substring(1).split("&"),n=0;o.length>n;n+=1){var r=o[n].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1]||"")}return e}},27903:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.previewBox=void 0;var n=o(57348),r=o(12815),i=o(21714),s=o(89437),a=o(18365);e.previewBox=function(t,e,o,c){void 0===o&&(o="px"),void 0===c&&(c=null);var l=function(t,e){var o=[];try{(0,a.$$)("img",t.editor).forEach((function(n){var i=[(0,s.attr)(n,"width"),(0,s.attr)(n,"height"),n.src];(0,s.attr)(n,{width:n.offsetWidth+e,height:n.offsetHeight+e});var a=t.createInside.a();t.ed.body.appendChild(a),a.href=n.src,n.src=a.href,r.Dom.safeRemove(a),o.push((function(){var t;n.src=null!==(t=i[2])&&void 0!==t?t:"",(0,s.attr)(n,{width:i[0]||null,height:i[1]||null})}))}))}catch(t){throw o.forEach((function(t){return t()})),o.length=0,t}return o}(t,o);try{var u=t.e.fire("beforePreviewBox",e,o);if(null!=u)return u;var d=t.c.div("jodit__preview-box jodit-context");c&&c.appendChild(d),(0,i.css)(d,{position:"relative",padding:16});var f=t.value||"<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>".concat(t.i18n("Empty"),"</div>");if(t.iframe){var p=t.create.element("iframe");(0,i.css)(p,{minWidth:800,minHeight:600,border:0}),d.appendChild(p);var h=p.contentWindow;if(h&&(t.e.fire("generateDocumentStructure.iframe",h.document,t),d=h.document.body,"function"==typeof ResizeObserver)){var v=new ResizeObserver((function(t){p.style.height=h.document.body.offsetHeight+20+"px"}));v.observe(h.document.body),t.e.on("beforeDestruct",(function(){v.unobserve(h.document.body)}))}}else(0,i.css)(d,{minWidth:1024,minHeight:600,border:0});var m=function(e,o){var i=(0,n.isString)(o)?t.c.div():o;(0,n.isString)(o)&&(i.innerHTML=o);for(var a=0;i.childNodes.length>a;a+=1){var c=i.childNodes[a];if(r.Dom.isElement(c)){for(var l=e.ownerDocument.createElement(c.nodeName),u=0;c.attributes.length>u;u+=1)(0,s.attr)(l,c.attributes[u].nodeName,c.attributes[u].nodeValue);0===c.childNodes.length||r.Dom.isTag(c,["table"])?"SCRIPT"===c.nodeName?c.textContent&&(l.textContent=c.textContent):c.innerHTML&&(l.innerHTML=c.innerHTML):m(l,c);try{e.appendChild(l)}catch(t){}}else try{e.appendChild(c.cloneNode(!0))}catch(t){}}};return m(d,f),t.e.fire("afterPreviewBox",d),d}finally{l.forEach((function(t){return t()}))}}},10991:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.reset=void 0;var n=o(84060),r=o(6244),i={};e.reset=function(t){var e,o;if(!(t in i)){var s=document.createElement("iframe");try{if(s.src="about:blank",document.body.appendChild(s),!s.contentWindow)return null;var a=(0,n.get)(t,s.contentWindow),c=(0,n.get)(t.split(".").slice(0,-1).join("."),s.contentWindow);(0,r.isFunction)(a)&&(i[t]=a.bind(c))}catch(t){}finally{null===(e=s.parentNode)||void 0===e||e.removeChild(s)}}return null!==(o=i[t])&&void 0!==o?o:null}},6517:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.scrollIntoViewIfNeeded=e.inView=void 0;var n=o(12815);e.inView=function(t,e,o){var n=t.getBoundingClientRect(),r=t,i=n.top,s=n.height;do{if(r&&r.parentNode){if((n=(r=r.parentNode).getBoundingClientRect()).bottom<i)return!1;if(n.top>=i+s)return!1}}while(r&&r!==e&&r.parentNode);return(o.documentElement&&o.documentElement.clientHeight||0)>=i},e.scrollIntoViewIfNeeded=function(t,o,r){n.Dom.isHTMLElement(t)&&!(0,e.inView)(t,o,r)&&(o.clientHeight!==o.scrollHeight&&(o.scrollTop=t.offsetTop),(0,e.inView)(t,o,r)||t.scrollIntoView())}},18365:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveElement=e.cssPath=e.refs=e.getXPathByElement=e.$$=void 0;var n=o(49940),r=o(57348),i=o(93772),s=o(12815),a=o(83479),c=o(62507),l=o(13717),u=o(90456),d=1;function f(t,e){var o;if(!/:scope/.test(t)||!n.IS_IE||e&&e.nodeType===Node.DOCUMENT_NODE)o=e.querySelectorAll(t);else{var r=e.id,i=r||"_selector_id_"+String(Math.random()).slice(2)+ ++d;t=t.replace(/:scope/g,"#"+i),!r&&e.setAttribute("id",i),o=e.parentNode.querySelectorAll(t),r||e.removeAttribute("id")}return[].slice.call(o)}e.$$=f,e.getXPathByElement=function(t,o){if(!t||t.nodeType!==Node.ELEMENT_NODE)return"";if(!t.parentNode||o===t)return"";if(t.id)return"//*[@id='"+t.id+"']";var n=[].filter.call(t.parentNode.childNodes,(function(e){return e.nodeName===t.nodeName}));return(0,e.getXPathByElement)(t.parentNode,o)+"/"+t.nodeName.toLowerCase()+(n.length>1?"["+((0,c.toArray)(n).indexOf(t)+1)+"]":"")},e.refs=function(t){return u.Component.isInstanceOf(t,l.UIElement)&&(t=t.container),f("[ref],[data-ref]",t).reduce((function(t,e){var o=(0,i.attr)(e,"-ref");return o&&(0,r.isString)(o)&&(t[(0,a.camelCase)(o)]=e,t[o]=e),t}),{})},e.cssPath=function(t){if(!s.Dom.isElement(t))return null;for(var e=[],o=t;o&&o.nodeType===Node.ELEMENT_NODE;){var n=o.nodeName.toLowerCase();if(o.id){e.unshift(n+="#"+o.id);break}var r=o,i=1;do{(r=r.previousElementSibling)&&r.nodeName.toLowerCase()===n&&i++}while(r);e.unshift(n+=":nth-of-type("+i+")"),o=o.parentNode}return e.join(" > ")},e.resolveElement=function(t,e){var o=t;if((0,r.isString)(t))try{o=e.querySelector(t)}catch(e){throw(0,i.error)('String "'+t+'" should be valid HTML selector')}if(!o||"object"!=typeof o||!s.Dom.isElement(o)||!o.cloneNode)throw(0,i.error)('Element "'+t+'" should be string or HTMLElement instance');return o}},88341:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.set=void 0;var n=o(57348),r=o(77240),i=o(8356),s=o(6395);e.set=function(t,e,o){if((0,n.isString)(t)&&t.length){for(var a=t.split("."),c=o,l=a[0],u=0;a.length-1>u;u+=1)(0,i.isArray)(c[l=a[u]])||(0,s.isPlainObject)(c[l])||(c[l]=(0,r.isNumeric)(a[u+1])?[]:{}),c=c[l];c&&(c[a[a.length-1]]=e)}}},37323:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LimitedStack=void 0;var o=function(){function t(t){this.limit=t,this.stack=[]}return t.prototype.push=function(t){return this.stack.push(t),this.stack.length>this.limit&&this.stack.shift(),this},t.prototype.pop=function(){return this.stack.pop()},t.prototype.find=function(t){return this.stack.find(t)},t}();e.LimitedStack=o},89437:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDataTransfer=e.memorizeExec=e.keys=e.loadImage=e.callPromise=e.markOwner=e.attr=e.call=void 0;var n=o(52784),r=o(6244),i=o(22233),s=o(93215),a=o(6395),c=o(57348),l=o(1070),u=o(21714),d=o(76910);function f(t,e,o){if(!t||!(0,r.isFunction)(t.getAttribute))return null;if(!(0,c.isString)(e))return Object.keys(e).forEach((function(o){var n=e[o];(0,a.isPlainObject)(n)&&"style"===o?(0,u.css)(t,n):("className"===o&&(o="class"),f(t,o,n))})),null;var n=(0,d.CamelCaseToKebabCase)(e);if(/^-/.test(n)){var i=f(t,"data".concat(n));if(i)return i;n=n.substr(1)}if(void 0!==o){if(null!=o)return t.setAttribute(n,o.toString()),o.toString();t.hasAttribute(n)&&t.removeAttribute(n)}return t.getAttribute(n)}e.call=function(t){for(var e=[],o=1;arguments.length>o;o++)e[o-1]=arguments[o];return t.apply(void 0,n.__spreadArray([],n.__read(e),!1))},e.attr=f,e.markOwner=function(t,e){f(e,"data-editor_id",t.id),!e.component&&Object.defineProperty(e,"jodit",{value:t})},e.callPromise=function(t,e){return(0,i.isPromise)(t)?t.finally(e):e()},e.loadImage=function(t,e){return e.async.promise((function(o,n){var r=new Image,i=function(){e.e.off(r),null==n||n()},s=function(){e.e.off(r),o(r)};e.e.one(r,"load",s).one(r,"error",i).one(r,"abort",i),r.src=t,r.complete&&s()}))},e.keys=function(t,e){if(void 0===e&&(e=!0),e)return Object.keys(t);var o=[];for(var n in t)o.push(n);return o},e.memorizeExec=function(t,e,o,n){var r,i=o.control,a="button".concat(i.command),c=null!==(r=i.args&&i.args[0])&&void 0!==r?r:(0,l.dataBind)(t,a);if((0,s.isVoid)(c))return!1;(0,l.dataBind)(t,a,c),n&&(c=n(c)),t.execCommand(i.command,!1,null!=c?c:void 0)},e.getDataTransfer=function(t){if(t.clipboardData)return t.clipboardData;try{return t.dataTransfer||new DataTransfer}catch(t){return null}}},76985:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.val=void 0,e.val=function(t,e,o){var n=t.querySelector(e);return n?(o&&(n.value=o),n.value):""}},43464:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(52666),e),n.__exportStar(o(36894),e)},52666:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PluginSystem=void 0;var n=o(52784),r=o(74699),i=o(49394),s=o(89105),a=o(88619),c=o(89437),l=o(58706),u=function(){function t(){this._items=new Map}return t.prototype.normalizeName=function(t){return(0,a.kebabCase)(t).toLowerCase()},t.prototype.items=function(t){var e=[];return this._items.forEach((function(t,o){e.push([o,t])})),e.filter((function(e){var o=n.__read(e,1);return!t||t.includes(o[0])}))},t.prototype.add=function(t,e){this._items.set(this.normalizeName(t),e),l.eventEmitter.fire("plugin:".concat(t,":ready"))},t.prototype.get=function(t){return this._items.get(this.normalizeName(t))},t.prototype.remove=function(t){this._items.delete(this.normalizeName(t))},t.prototype.init=function(e){var o=this,i=e.o.extraPlugins.map((function(t){return(0,r.isString)(t)?{name:t}:t})),a=(0,s.splitArray)(e.o.disablePlugins).map((function(t){return o.normalizeName(t)})),l=[],u={},d=[],f={},p=function(i){var s=n.__read(i,2),c=s[0],p=s[1];if(!(a.includes(c)||l.includes(c)||u[c])){var h=null==p?void 0:p.requires;if(!(h&&(0,r.isArray)(h)&&o.hasDisabledRequires(a,h))){var v=t.makePluginInstance(e,p);v&&(o.initOrWait(e,c,v,l,u),d.push(v),f[c]=v)}}},h=this.loadExtras(e,i);return(0,c.callPromise)(h,(function(){e.isInDestruct||(o.items(e.o.safeMode?e.o.safePluginsList.concat(i.map((function(t){return t.name}))):null).forEach(p),o.addListenerOnBeforeDestruct(e,d),e.__plugins=f)}))},t.prototype.wait=function(t){var e=this;return new Promise((function(o){if(e.get(t))return o();var n=function(){o(),l.eventEmitter.off("plugin:".concat(t,":ready"),n)};l.eventEmitter.on("plugin:".concat(t,":ready"),n)}))},t.prototype.hasDisabledRequires=function(t,e){return Boolean((null==e?void 0:e.length)&&t.some((function(t){return e.includes(t)})))},t.makePluginInstance=function(t,e){try{try{return(0,r.isFunction)(e)?new e(t):e}catch(o){if((0,r.isFunction)(e)&&!e.prototype)return e(t)}}catch(t){}return null},t.prototype.initOrWait=function(e,o,n,i,s){var a=function(o,n){if((0,r.isInitable)(n)){var a=n.requires;if((null==a?void 0:a.length)&&!a.every((function(t){return i.includes(t)})))return s[o]=n,!1;try{n.init(e)}catch(t){}i.push(o)}else i.push(o);return n.hasStyle&&t.loadStyle(e,o),!0};a(o,n),Object.keys(s).forEach((function(t){var e=s[t];e&&a(t,e)&&(s[t]=void 0,delete s[t])}))},t.prototype.addListenerOnBeforeDestruct=function(t,e){t.e.on("beforeDestruct",(function(){e.forEach((function(e){(0,r.isDestructable)(e)&&e.destruct(t)})),e.length=0,delete t.__plugins}))},t.prototype.load=function(e,o){return Promise.all(o.map((function(o){var n=o.url||t.getFullUrl(e,o.name,!0);return(0,i.appendScriptAsync)(e,n).then((function(t){return{v:t,status:"fulfilled"}}),(function(t){return{e:t,status:"rejected"}}))})))},t.loadStyle=function(e,o){return n.__awaiter(this,void 0,Promise,(function(){var r;return n.__generator(this,(function(n){return r=t.getFullUrl(e,o,!1),this.styles.has(r)?[2]:(this.styles.add(r),[2,(0,i.appendStyleAsync)(e,r)])}))}))},t.getFullUrl=function(t,e,o){return e=(0,a.kebabCase)(e),t.basePath+"plugins/"+e+"/"+e+"."+(o?"js":"css")},t.prototype.loadExtras=function(t,e){var o=this;if(e&&e.length)try{var n=e.filter((function(t){return!o._items.has(o.normalizeName(t.name))}));if(n.length)return this.load(t,n)}catch(t){}},t.styles=new Set,t}();e.PluginSystem=u},36894:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Plugin=void 0;var n=o(52784),r=o(68311),i=o(51923),s=o(16892),a=function(t){function e(e){var o=t.call(this,e)||this;return o.requires=[],o.buttons=[],o.hasStyle=!1,e.e.on("afterPluginSystemInit",(function(){var t;(0,s.isJoditObject)(e)&&(null===(t=o.buttons)||void 0===t||t.forEach((function(t){e.registerButton(t)})))})).on("afterInit",(function(){o.setStatus(r.STATUSES.ready),o.afterInit(e)})).on("beforeDestruct",o.destruct),o}return n.__extends(e,t),e.prototype.className=function(){return""},e.prototype.init=function(t){},e.prototype.destruct=function(){var e,o,n;if(!this.isInDestruct){this.setStatus(r.STATUSES.beforeDestruct);var i=this.j;(0,s.isJoditObject)(i)&&(null===(e=this.buttons)||void 0===e||e.forEach((function(t){null==i||i.unregisterButton(t)}))),null===(n=null===(o=this.j)||void 0===o?void 0:o.events)||void 0===n||n.off("beforeDestruct",this.destruct),this.beforeDestruct(this.j),t.prototype.destruct.call(this)}},n.__decorate([i.autobind],e.prototype,"destruct",null),e}(r.ViewComponent);e.Plugin=a},75294:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Ajax=void 0;var n=o(52784),r=o(733),i=o(16892),s=o(65422),a=o(88211),c=o(94184),l=o(51923);o(57961);var u=function(){function t(t,e){void 0===e&&(e=r.Config.prototype.defaultAjaxOptions),this.__async=new c.Async,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,i.ConfigProto)(t||{},e),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}return t.prototype.__buildParams=function(t,e){return(0,i.isPlainObject)(t)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(t):(0,i.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,t,e):(0,i.isString)(t)||t instanceof window.FormData||"object"==typeof t&&null!=t&&(0,i.isFunction)(t.append)?t:(0,i.buildQuery)(t)},Object.defineProperty(t.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),t.prototype.abort=function(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(t){}return this},t.prototype.send=function(){var t=this;this.__activated=!0;var e=this.xhr,o=this.o,r=this.prepareRequest();return this.__async.promise((function(c,l){return n.__awaiter(t,void 0,void 0,(function(){var t,u,d,f,p,h=this;return n.__generator(this,(function(n){switch(n.label){case 0:return t=function(){h.__isFulfilled=!0,l(s.connection("Connection error"))},e.onload=u=function(){h.__isFulfilled=!0,c(new a.Response(r,e.status,e.statusText,e.responseType?e.response:e.responseText))},e.onabort=function(){h.__isFulfilled=!0,l(s.abort("Abort connection"))},e.onerror=t,e.ontimeout=t,o.responseType&&(e.responseType=o.responseType),e.onprogress=function(t){var e,o,n=0;t.lengthComputable&&(n=t.loaded/t.total*100),null===(o=(e=h.options).onProgress)||void 0===o||o.call(e,n)},e.onreadystatechange=function(){var t,n;null===(n=(t=h.options).onProgress)||void 0===n||n.call(t,10),e.readyState===XMLHttpRequest.DONE&&(o.successStatuses.includes(e.status)?u():e.statusText&&(h.__isFulfilled=!0,l(s.connection(e.statusText))))},e.withCredentials=null!==(p=o.withCredentials)&&void 0!==p&&p,d=r.data,e.open(r.method,r.url,!0),o.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",o.contentType),(0,i.isFunction)(f=o.headers)?[4,f.call(this)]:[3,2];case 1:f=n.sent(),n.label=2;case 2:return f&&e.setRequestHeader&&Object.keys(f).forEach((function(t){e.setRequestHeader(t,f[t])})),this.__async.setTimeout((function(){e.send(d?h.__buildParams(d):void 0)}),0),[2]}}))}))}))},t.prototype.prepareRequest=function(){if(!this.o.url)throw s.error("Need URL for AJAX request");var e=this.o.url,o=this.o.data,r=(this.o.method||"get").toLowerCase();if("get"===r&&o&&(0,i.isPlainObject)(o)){var a=e.indexOf("?");if(-1!==a){var c=(0,i.parseQuery)(e);e=e.substring(0,a)+"?"+(0,i.buildQuery)(n.__assign(n.__assign({},c),o))}else e+="?"+(0,i.buildQuery)(this.o.data)}var l={url:e,method:r,data:o};return t.log.splice(100),t.log.push(l),l},t.prototype.destruct=function(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())},t.log=[],n.__decorate([l.autobind],t.prototype,"destruct",null),t}();e.Ajax=u},57961:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:function(){return new XMLHttpRequest}}},42239:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(75294),e),n.__exportStar(o(88211),e)},88211:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Response=void 0;var n=o(52784),r=function(){function t(t,e,o,n){this.request=t,this.status=e,this.statusText=o,this.body=n}return Object.defineProperty(t.prototype,"url",{get:function(){return this.request.url},enumerable:!1,configurable:!0}),t.prototype.json=function(){return n.__awaiter(this,void 0,Promise,(function(){return n.__generator(this,(function(t){return[2,JSON.parse(this.body)]}))}))},t.prototype.text=function(){return Promise.resolve(this.body)},t.prototype.blob=function(){return n.__awaiter(this,void 0,Promise,(function(){return n.__generator(this,(function(t){return[2,this.body]}))}))},t}();e.Response=r},80354:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(24579),e),n.__exportStar(o(59532),e)},24579:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.moveNodeInsideStart=void 0;var n=o(96582),r=o(49940);e.moveNodeInsideStart=function(t,e,o){for(var i=n.Dom.findSibling(e,o),s=n.Dom.findSibling(e,!o);n.Dom.isElement(i)&&!n.Dom.isTag(i,r.INSEPARABLE_TAGS)&&n.Dom.isContentEditable(i,t.editor)&&(!s||!n.Dom.closest(e,n.Dom.isElement,t.editor));)o||!i.firstChild?i.appendChild(e):n.Dom.before(i.firstChild,e),i=n.Dom.sibling(e,o),s=n.Dom.sibling(e,!o)}},59532:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.moveTheNodeAlongTheEdgeOutward=void 0;var n=o(96582);e.moveTheNodeAlongTheEdgeOutward=function(t,e,o){for(var r=t;r&&r!==o;){if(n.Dom.findSibling(r,e))return;(r=r.parentElement)&&r!==o&&(e?n.Dom.before(r,t):n.Dom.after(r,t))}}},60039:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(15899),e),n.__exportStar(o(20865),e)},20865:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Select=void 0;var n=o(52784),r=o(49940),i=o(49940),s=o(96582),a=o(16892),c=o(15899),l=o(51923),u=o(80354),d=function(){function t(t){var e=this;this.jodit=t,t.e.on("removeMarkers",(function(){e.removeMarkers()}))}return Object.defineProperty(t.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),t.prototype.errorNode=function(t){if(!s.Dom.isNode(t))throw(0,a.error)("Parameter node must be instance of Node")},Object.defineProperty(t.prototype,"area",{get:function(){return this.j.editor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"win",{get:function(){return this.j.ew},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"doc",{get:function(){return this.j.ed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sel",{get:function(){return this.j.o.shadowRoot&&(0,a.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"range",{get:function(){var t=this.sel;return t&&t.rangeCount?t.getRangeAt(0):this.createRange()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInsideArea",{get:function(){var t=this.sel,e=(null==t?void 0:t.rangeCount)?t.getRangeAt(0):null;return!(!e||!s.Dom.isOrContains(this.area,e.startContainer))},enumerable:!1,configurable:!0}),t.prototype.createRange=function(t){void 0===t&&(t=!1);var e=this.doc.createRange();return t&&this.selectRange(e),e},t.prototype.remove=function(){var t=this.sel,e=this.current();if(t&&e)for(var o=0;t.rangeCount>o;o+=1)t.getRangeAt(o).deleteContents(),t.getRangeAt(o).collapse(!0)},t.prototype.clear=function(){var t,e;(null===(t=this.sel)||void 0===t?void 0:t.rangeCount)&&(null===(e=this.sel)||void 0===e||e.removeAllRanges())},t.prototype.removeNode=function(t){if(!s.Dom.isOrContains(this.j.editor,t,!0))throw(0,a.error)("Selection.removeNode can remove only editor's children");s.Dom.safeRemove(t),this.j.e.fire("afterRemoveNode",t)},t.prototype.insertCursorAtPoint=function(t,e){var o=this;this.removeMarkers();try{var n=this.createRange();return function(){if(o.doc.caretPositionFromPoint&&(r=o.doc.caretPositionFromPoint(t,e)))n.setStart(r.offsetNode,r.offset);else if(o.doc.caretRangeFromPoint){var r=o.doc.caretRangeFromPoint(t,e);n.setStart(r.startContainer,r.startOffset)}}(),n.collapse(!0),this.selectRange(n),!0}catch(t){}return!1},t.isMarker=function(t){return s.Dom.isNode(t)&&s.Dom.isTag(t,"span")&&t.hasAttribute("data-"+r.MARKER_CLASS)},Object.defineProperty(t.prototype,"hasMarkers",{get:function(){return Boolean(this.markers.length)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"markers",{get:function(){return(0,a.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)},enumerable:!1,configurable:!0}),t.prototype.removeMarkers=function(){s.Dom.safeRemove.apply(null,this.markers)},t.prototype.marker=function(t,e){void 0===t&&(t=!1);var o=null;e&&(o=e.cloneRange()).collapse(t);var n=this.j.createInside.span();return n.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),n.style.lineHeight="0",n.style.display="none",s.Dom.markTemporary(n),(0,a.attr)(n,"data-"+r.MARKER_CLASS,t?"start":"end"),n.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),o&&s.Dom.isOrContains(this.area,t?o.startContainer:o.endContainer)&&o.insertNode(n),n},t.prototype.restore=function(){var t=!1,e=function(t){return"span[data-".concat(r.MARKER_CLASS,"=").concat(t?"start":"end","]")},o=this.area.querySelector(e(!0)),n=this.area.querySelector(e(!1));if(o){if(t=this.createRange(),n)t.setStartAfter(o),s.Dom.safeRemove(o),t.setEndBefore(n),s.Dom.safeRemove(n);else{var i=o.previousSibling;s.Dom.isText(i)?t.setStart(i,i.nodeValue?i.nodeValue.length:0):t.setStartBefore(o),s.Dom.safeRemove(o),t.collapse(!0)}t&&this.selectRange(t)}},t.prototype.save=function(t){if(void 0===t&&(t=!1),this.hasMarkers)return[];var e=this.sel;if(!e||!e.rangeCount)return[];for(var o=[],n=e.rangeCount,r=[],i=0;n>i;i+=1)if(r[i]=e.getRangeAt(i),r[i].collapsed){var s=this.marker(!0,r[i]);o[i]={startId:s.id,collapsed:!0,startMarker:s.outerHTML}}else{s=this.marker(!0,r[i]);var a=this.marker(!1,r[i]);o[i]={startId:s.id,endId:a.id,collapsed:!1,startMarker:s.outerHTML,endMarker:a.outerHTML}}if(!t)for(e.removeAllRanges(),i=n-1;i>=0;--i){var c=this.doc.getElementById(o[i].startId);if(c)if(o[i].collapsed)r[i].setStartAfter(c),r[i].collapse(!0);else if(r[i].setStartBefore(c),o[i].endId){var l=this.doc.getElementById(o[i].endId);l&&r[i].setEndAfter(l)}try{e.addRange(r[i].cloneRange())}catch(t){}}return o},t.prototype.focus=function(t){var e,o;if(void 0===t&&(t={preventScroll:!0}),!this.isFocused()){var n=(0,a.getScrollParent)(this.j.container),r=null==n?void 0:n.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(t),this.win.focus(),this.area.focus(t),r&&(null==n?void 0:n.scrollTo)&&n.scrollTo(0,r);var i=this.sel,c=(null==i?void 0:i.rangeCount)?null==i?void 0:i.getRangeAt(0):null;if(!c||!s.Dom.isOrContains(this.area,c.startContainer)){var l=this.createRange();l.setStart(this.area,0),l.collapse(!0),this.selectRange(l,!1)}return this.j.editorIsActive||null===(o=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===o||o.fire("focus"),!0}return!1},t.prototype.isCollapsed=function(){for(var t=this.sel,e=0;t&&t.rangeCount>e;e+=1)if(!t.getRangeAt(e).collapsed)return!1;return!0},t.prototype.isFocused=function(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement},t.prototype.current=function(t){if(void 0===t&&(t=!0),this.j.getRealMode()===r.MODE_WYSIWYG){var e=this.sel;if(!e||0===e.rangeCount)return null;var o=e.getRangeAt(0),n=o.startContainer,i=!1,a=function(t){return i?t.lastChild:t.firstChild};if(s.Dom.isTag(n,"br")&&e.isCollapsed)return n;if(!s.Dom.isText(n)){if((n=o.startContainer.childNodes[o.startOffset])||(n=o.startContainer.childNodes[o.startOffset-1],i=!0),n&&e.isCollapsed&&!s.Dom.isText(n))if(!i&&s.Dom.isText(n.previousSibling))n=n.previousSibling;else if(t)for(var c=a(n);c;){if(c&&s.Dom.isText(c)){n=c;break}c=a(c)}if(n&&!e.isCollapsed&&!s.Dom.isText(n)){var l=n,u=n;do{l=l.firstChild,u=u.lastChild}while(l&&u&&!s.Dom.isText(l));l===u&&l&&s.Dom.isText(l)&&(n=l)}}if(n&&s.Dom.isOrContains(this.area,n))return n}return null},t.prototype.insertNode=function(t,e,o){var n=this;void 0===e&&(e=!0),void 0===o&&(o=!0),this.errorNode(t),this.j.e.fire("safeHTML",t),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());var r=this.sel;this.j.history.snapshot.transaction((function(){var o;if(n.isCollapsed()||n.j.execCommand("Delete"),n.j.e.fire("beforeInsertNode",t),r&&r.rangeCount){var a=r.getRangeAt(0);s.Dom.isOrContains(n.area,a.commonAncestorContainer)?s.Dom.isTag(a.startContainer,i.INSEPARABLE_TAGS)&&a.collapsed?null===(o=a.startContainer.parentNode)||void 0===o||o.insertBefore(t,a.startContainer):s.Dom.safeInsertNode(a,t):n.area.appendChild(t)}else n.area.appendChild(t);e&&(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.lastChild&&n.setCursorAfter(t.lastChild):n.setCursorAfter(t))})),o&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",t)},t.prototype.insertHTML=function(t,e){if(void 0===e&&(e=!0),""!==t){var o,n=this.j.createInside.div(),r=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),s.Dom.isNode(t)?n.appendChild(t):n.innerHTML=t.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",n.innerHTML))&&(o=n.lastChild)){for(;n.firstChild;)o=n.firstChild,r.appendChild(n.firstChild);this.insertNode(r.firstChild&&r.firstChild===r.lastChild?r.lastChild:r,!1,!1),e&&(o?this.setCursorAfter(o):this.setCursorIn(r)),this.j.__imdSynchronizeValues()}}},t.prototype.insertImage=function(t,e,o){void 0===e&&(e=null),void 0===o&&(o=null);var n=(0,a.isString)(t)?this.j.createInside.element("img"):t;if((0,a.isString)(t)&&n.setAttribute("src",t),null!=o){var r=o.toString();r&&"auto"!==r&&0>String(r).indexOf("px")&&0>String(r).indexOf("%")&&(r+="px"),(0,a.call)(this.j.o.resizer.forImageChangeAttributes?a.attr:a.css,n,"width",r)}e&&"object"==typeof e&&(0,a.css)(n,e);var i=function(){(n.offsetHeight>n.naturalHeight||n.offsetWidth>n.naturalWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",i)};this.j.e.on(n,"load",i),n.complete&&i(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)},t.prototype.eachSelection=function(e){var o,n=this,r=this.sel;if(r&&r.rangeCount){var c=r.getRangeAt(0),l=c.commonAncestorContainer;s.Dom.isHTMLElement(l)||(l=l.parentElement);var u=[],d=c.startOffset,f=l.childNodes.length,p=c.startContainer===this.area?l.childNodes[f>d?d:f-1]:c.startContainer,h=c.endContainer===this.area?l.childNodes[c.endOffset-1]:c.endContainer;s.Dom.isText(p)&&p===c.startContainer&&c.startOffset===(null===(o=p.nodeValue)||void 0===o?void 0:o.length)&&p.nextSibling&&(p=p.nextSibling),s.Dom.isText(h)&&h===c.endContainer&&0===c.endOffset&&h.previousSibling&&(h=h.previousSibling);var v=function(e){!e||e===l||s.Dom.isEmptyTextNode(e)||t.isMarker(e)||u.push(e)};v(p),p!==h&&s.Dom.isOrContains(l,p,!0)&&s.Dom.find(p,(function(t){return v(t),t===h||t&&t.contains&&t.contains(h)}),l,!0,!1);var m=function(t){if(s.Dom.isOrContains(n.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,a.toArray)(t.childNodes).forEach(m);if(s.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{var o=n.j.createInside.text(i.INVISIBLE_SPACE);t.appendChild(o),t=o}e(t)}};0===u.length&&s.Dom.isEmptyTextNode(p)&&u.push(p),0===u.length&&p.firstChild&&u.push(p.firstChild),u.forEach(m)}},t.prototype.cursorInTheEdge=function(t,e){var o,n,r=!t,c=null===(o=this.sel)||void 0===o?void 0:o.getRangeAt(0),l=this.current(!1);if(!c||!l||!s.Dom.isOrContains(e,l,!0))return null;var u=t?c.startContainer:c.endContainer,d=t?c.startOffset:c.endOffset,f=function(t){return Boolean(t&&!s.Dom.isTag(t,"br")&&!s.Dom.isEmptyTextNode(t))};if(s.Dom.isText(u)){var p=(null===(n=u.nodeValue)||void 0===n?void 0:n.length)?u.nodeValue:"";if(r&&p.replace((0,i.INVISIBLE_SPACE_REG_EXP_END)(),"").length>d)return!1;var h=(0,i.INVISIBLE_SPACE_REG_EXP_START)().exec(p);if(t&&(h&&d>h[0].length||!h&&d>0))return!1}else{var v=(0,a.toArray)(u.childNodes);if(r){if(v.slice(d).some(f))return!1}else if(v.slice(0,d).some(f))return!1}return!(0,a.call)(t?s.Dom.prev:s.Dom.next,l,f,e)},t.prototype.cursorOnTheLeft=function(t){return this.cursorInTheEdge(!0,t)},t.prototype.cursorOnTheRight=function(t){return this.cursorInTheEdge(!1,t)},t.prototype.setCursorAfter=function(t){return this.setCursorNearWith(t,!1)},t.prototype.setCursorBefore=function(t){return this.setCursorNearWith(t,!0)},t.prototype.setCursorNearWith=function(t,e){var o,n,i=this;if(this.errorNode(t),!s.Dom.up(t,(function(t){return t===i.area||t&&t.parentNode===i.area}),this.area))throw(0,a.error)("Node element must be in editor");var c=this.createRange(),l=null;return s.Dom.isText(t)?e?c.setStart(t,0):c.setEnd(t,null!==(n=null===(o=t.nodeValue)||void 0===o?void 0:o.length)&&void 0!==n?n:0):(l=this.j.createInside.text(r.INVISIBLE_SPACE),e?c.setStartBefore(t):c.setEndAfter(t),c.collapse(e),s.Dom.safeInsertNode(c,l),c.selectNode(l)),c.collapse(e),this.selectRange(c),l},t.prototype.setCursorIn=function(t,e){var o=this;if(void 0===e&&(e=!1),this.errorNode(t),!s.Dom.up(t,(function(t){return t===o.area||t&&t.parentNode===o.area}),this.area))throw(0,a.error)("Node element must be in editor");var n=this.createRange(),i=t,c=t;do{if(s.Dom.isText(i))break;c=i,i=e?i.firstChild:i.lastChild}while(i);if(!i){var l=this.j.createInside.text(r.INVISIBLE_SPACE);/^(img|br|input)$/i.test(c.nodeName)?i=c:(c.appendChild(l),c=l)}return n.selectNodeContents(i||c),n.collapse(e),this.selectRange(n),c},t.prototype.selectRange=function(t,e){void 0===e&&(e=!0);var o=this.sel;return e&&!this.isFocused()&&this.focus(),o&&(o.removeAllRanges(),o.addRange(t)),this.j.e.fire("changeSelection"),this},t.prototype.select=function(t,e){var o=this;if(void 0===e&&(e=!1),this.errorNode(t),!s.Dom.up(t,(function(t){return t===o.area||t&&t.parentNode===o.area}),this.area))throw(0,a.error)("Node element must be in editor");var n=this.createRange();return n[e?"selectNodeContents":"selectNode"](t),this.selectRange(n)},Object.defineProperty(t.prototype,"html",{get:function(){var t=this.sel;if(t&&t.rangeCount>0){var e=t.getRangeAt(0).cloneContents(),o=this.j.createInside.div();return o.appendChild(e),o.innerHTML}return""},enumerable:!1,configurable:!0}),t.prototype.wrapInTagGen=function(){var e,o,r,c,l,u,d,f,p,h,v;return n.__generator(this,(function(m){switch(m.label){case 0:return this.isCollapsed()?(u=this.jodit.createInside.element("font",i.INVISIBLE_SPACE),this.insertNode(u,!1,!1),e=n.__read(this.markers,1),(o=e[0])?u.appendChild(o):(this.setCursorIn(u),this.save()),[4,u]):[3,2];case 1:return m.sent(),s.Dom.unwrap(u),[2];case 2:(0,a.$$)("*[style*=font-size]",this.area).forEach((function(t){return(0,a.attr)(t,"data-font-size",t.style.fontSize.toString())})),this.isCollapsed()?(u=this.j.createInside.element("font"),(0,a.attr)(u,"size",7),this.insertNode(u,!1,!1)):this.j.nativeExecCommand("fontsize",!1,"7"),(0,a.$$)("*[data-font-size]",this.area).forEach((function(t){var e=(0,a.attr)(t,"data-font-size");e&&(t.style.fontSize=e,(0,a.attr)(t,"data-font-size",null))})),r=(0,a.$$)('font[size="7"]',this.area),m.label=3;case 3:m.trys.push([3,8,9,10]),c=n.__values(r),l=c.next(),m.label=4;case 4:return l.done?[3,7]:(f=(u=l.value).lastChild,(d=u.firstChild)&&d===f&&t.isMarker(d)?(s.Dom.unwrap(u),[3,6]):(d&&t.isMarker(d)&&s.Dom.before(u,d),f&&t.isMarker(f)&&s.Dom.after(u,f),[4,u]));case 5:m.sent(),s.Dom.unwrap(u),m.label=6;case 6:return l=c.next(),[3,4];case 7:return[3,10];case 8:return p=m.sent(),h={error:p},[3,10];case 9:try{l&&!l.done&&(v=c.return)&&v.call(c)}finally{if(h)throw h.error}return[7];case 10:return[2]}}))},t.prototype.wrapInTag=function(e){var o,r,i=[];try{for(var c=n.__values(this.wrapInTagGen()),l=c.next();!l.done;l=c.next()){var u=l.value;try{if(u.firstChild&&u.firstChild===u.lastChild&&t.isMarker(u.firstChild))continue;(0,a.isFunction)(e)?e(u):i.push(s.Dom.replace(u,e,this.j.createInside))}finally{var d=u.parentNode;d&&(s.Dom.unwrap(u),s.Dom.isEmpty(d)&&s.Dom.unwrap(d))}}}catch(t){o={error:t}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}return i},t.prototype.applyStyle=function(t,e){void 0===e&&(e={}),new c.CommitStyle({style:t,element:e.element,className:e.className,defaultTag:e.defaultTag}).apply(this.j)},t.prototype.splitSelection=function(t){if(!this.isCollapsed())return null;var e=this.createRange(),o=this.range;e.setStartBefore(t);var n=this.cursorOnTheRight(t),r=this.cursorOnTheLeft(t),a=this.j.createInside.element("br"),c=this.j.createInside.text(i.INVISIBLE_SPACE),l=c.cloneNode();try{if(n||r){s.Dom.safeInsertNode(o,a);var u=function(t,e){for(var o=e(t);o;){var n=e(o);if(!o||!s.Dom.isTag(o,"br")&&!s.Dom.isEmptyTextNode(o))break;s.Dom.safeRemove(o),o=n}};u(a,(function(t){return t.nextSibling})),u(a,(function(t){return t.previousSibling})),s.Dom.after(a,l),s.Dom.before(a,c),n?(e.setEndBefore(a),o.setEndBefore(a)):(e.setEndAfter(a),o.setEndAfter(a))}else e.setEnd(o.startContainer,o.startOffset);var d=e.extractContents(),f=function(t){return s.Dom.each(t,(function(t){return s.Dom.isEmptyTextNode(t)&&s.Dom.safeRemove(t)}))};if(t.parentNode)try{if(f(d),f(t),t.parentNode.insertBefore(d,t),n&&(null==a?void 0:a.parentNode)){var p=this.createRange();p.setStartBefore(a),this.selectRange(p)}}catch(t){}var h=function(t){var e,o,n;(null===(e=null==t?void 0:t.parentNode)||void 0===e?void 0:e.firstChild)===(null===(o=null==t?void 0:t.parentNode)||void 0===o?void 0:o.lastChild)&&(null===(n=null==t?void 0:t.parentNode)||void 0===n||n.appendChild(a.cloneNode()))};h(c),h(l)}finally{s.Dom.safeRemove(c),s.Dom.safeRemove(l)}return t.previousElementSibling},t.prototype.expandSelection=function(){var t=this;if(this.isCollapsed())return this;var e=this.range,o=e.cloneRange();if(!s.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;var n=function(o){var n=t.j.createInside.fake(),r=e.cloneRange();return r.collapse(o),s.Dom.safeInsertNode(r,n),(0,u.moveTheNodeAlongTheEdgeOutward)(n,o,t.j.editor),n},r=n(!0),i=n(!1);o.setStartAfter(r),o.setEndBefore(i);var a=s.Dom.findSibling(r,!1),c=s.Dom.findSibling(i,!0);if(a!==c){var l=s.Dom.isElement(a)&&s.Dom.isOrContains(a,i),d=!l&&s.Dom.isElement(c)&&s.Dom.isOrContains(c,r);if(l||d){for(var f=l?a:c,p=f;s.Dom.isElement(f);)(f=l?f.firstElementChild:f.lastElementChild)&&s.Dom.isOrContains(f,l?i:r)&&(p=f);l?o.setStart(p,0):o.setEnd(p,p.childNodes.length)}}return this.selectRange(o),s.Dom.safeRemove(r,i),this},n.__decorate([l.autobind],t.prototype,"createRange",null),n.__decorate([l.autobind],t.prototype,"focus",null),n.__decorate([l.autobind],t.prototype,"setCursorAfter",null),n.__decorate([l.autobind],t.prototype,"setCursorBefore",null),n.__decorate([l.autobind],t.prototype,"setCursorIn",null),t}();e.Select=d},29554:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.elementHasSameStyleKeys=e.elementHasSameStyle=void 0;var n=o(21714),r=o(93215),i=o(44523),s=o(96582);e.elementHasSameStyle=function(t,e){return Boolean(!s.Dom.isTag(t,"font")&&s.Dom.isHTMLElement(t)&&Object.keys(e).every((function(o){var s=(0,n.css)(t,o,!0);return!(0,r.isVoid)(s)&&""!==s&&!(0,r.isVoid)(e[o])&&(0,i.normalizeCssValue)(o,e[o]).toString().toLowerCase()===s.toString().toLowerCase()})))},e.elementHasSameStyleKeys=function(t,e){return Boolean(!s.Dom.isTag(t,"font")&&s.Dom.isHTMLElement(t)&&Object.keys(e).every((function(e){return!(0,r.isVoid)((0,n.css)(t,e,!0))})))}},19008:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.extractSelectedPart=void 0;var n=o(20865),r=o(16892),i=o(96582);function s(t,e,o){var n=e.extractContents();n.textContent&&(0,r.trim)(n.textContent).length||!n.firstChild||i.Dom.unwrap(n.firstChild),t.parentNode&&(0,r.call)(o?i.Dom.before:i.Dom.after,t,n)}e.extractSelectedPart=function(t,e,o){var r=o.s.createRange(),i=n.Select.isMarker(e.previousSibling)?e.previousSibling:e;r.setStartBefore(t),r.setEndBefore(i),s(t,r,!0);var a=n.Select.isMarker(e.nextSibling)?e.nextSibling:e;r.setStartAfter(a),r.setEndAfter(t),s(t,r,!1)}},68465:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FiniteStateMachine=void 0;var n=o(52784),r=function(){function t(t,e){this.state=t,this.transitions=e,this.subState="",this.silent=!0}return t.prototype.setState=function(t,e){this.state=t,null!=e&&(this.subState=e)},t.prototype.getState=function(){return this.state},t.prototype.getSubState=function(){return this.subState},t.prototype.disableSilent=function(){this.silent=!1},t.prototype.dispatch=function(t){for(var e=[],o=1;arguments.length>o;o++)e[o-1]=arguments[o];var r=this.transitions[this.state][t];if(r){var i=r.call.apply(r,n.__spreadArray([this],n.__read(e),!1));return i}if(!this.silent)throw new Error("invalid action: "+this.state+"."+t)},t}();e.FiniteStateMachine=r},76420:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSuitChild=void 0;var n=o(96582),r=o(91969),i=o(4730);e.getSuitChild=function(t,e){for(var o=e.firstChild;o&&!(0,r.isNormalNode)(o);)if(!(o=o.nextSibling))return null;return o&&!n.Dom.next(o,r.isNormalNode,e)&&(0,i.isSuitElement)(t,o,!1)?o:null}},24321:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSuitParent=void 0;var n=o(96582),r=o(91969),i=o(4730);e.getSuitParent=function t(e,o,s){var a=o.parentNode;return a===s||!n.Dom.isHTMLElement(a)||n.Dom.next(o,r.isNormalNode,a)||n.Dom.prev(o,r.isNormalNode,a)?null:e.isElementCommit&&e.elementIsBlock&&!n.Dom.isBlock(a)?t(e,a,s):!(0,i.isSuitElement)(e,a,!1)||n.Dom.isBlock(a)&&!e.elementIsBlock?e.isElementCommit&&!n.Dom.isBlock(a)?t(e,a,s):null:a}},7680:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(52839),e),n.__exportStar(o(43291),e),n.__exportStar(o(29554),e),n.__exportStar(o(19008),e),n.__exportStar(o(68465),e),n.__exportStar(o(76420),e),n.__exportStar(o(24321),e),n.__exportStar(o(50954),e),n.__exportStar(o(91969),e),n.__exportStar(o(4730),e),n.__exportStar(o(70427),e),n.__exportStar(o(77806),e),n.__exportStar(o(45562),e),n.__exportStar(o(72598),e),n.__exportStar(o(8990),e)},50954:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isInsideInvisibleElement=void 0;var n=o(96582);e.isInsideInvisibleElement=function(t,e){return Boolean(n.Dom.closest(t,["style","script"],e))}},91969:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNormalNode=void 0;var n=o(96582),r=o(60039);e.isNormalNode=function(t){return Boolean(t&&!n.Dom.isEmptyTextNode(t)&&!n.Dom.isTemporary(t)&&!r.Select.isMarker(t))}},4730:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSameStyleChild=e.isSuitElement=void 0;var n=o(91969),r=o(29554),i=o(96582);e.isSuitElement=function(t,e,o){if(!e)return!1;var s=t.element,a=t.elementIsDefault,c=t.options,l=Boolean(c.style&&(0,r.elementHasSameStyle)(e,c.style)),u=e.nodeName.toLowerCase()===s||i.Dom.isTag(e,["ul","ol"])&&t.elementIsList;return!!((!a||!o)&&u||l&&(0,n.isNormalNode)(e))||Boolean(!u&&!o&&a&&i.Dom.isInlineBlock(e))},e.isSameStyleChild=function(t,e){var o=t.element,i=t.options;if(!e||!(0,n.isNormalNode)(e))return!1;var s=e.nodeName.toLowerCase()===o,a=Boolean(i.style&&(0,r.elementHasSameStyleKeys)(e,i.style));return s&&a}},70427:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toggleCommitStyles=void 0;var n=o(96582);e.toggleCommitStyles=function(t,e,o){return!!(t.elementIsBlock||n.Dom.isTag(e,t.element)&&!t.elementIsDefault)&&(e.getAttribute("style")?n.Dom.replace(e,t.defaultTag,o.createInside,!0):n.Dom.unwrap(e),!0)}},52839:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toggleCSS=void 0;var n=o(93772),r=o(21714),i=o(1070),s=o(76910),a=o(44523),c=o(40318),l=o(96582),u=o(15899),d=o(58706);function f(t,e,o){return(0,n.attr)(e,"style")||((0,n.attr)(e,"style",null),e.tagName.toLowerCase()===t.defaultTag&&(l.Dom.unwrap(e),o=u.UNWRAP)),o}e.toggleCSS=function(t,e,o,n,p){void 0===p&&(p=!1);var h=t.options,v=h.style,m=h.className;return v&&(0,c.size)(v)>0&&Object.keys(v).forEach((function(c){if(""!==e.style.getPropertyValue((0,s.kebabCase)(c))||null!=v[c]){if(function(t,e,o){var n=t.create.element(e.tagName.toLowerCase());n.style.cssText=e.style.cssText,function(t){var e;if(void 0!==(0,i.dataBind)(t,"shadowRoot"))return(0,i.dataBind)(t,"shadowRoot");var o=(0,d.getContainer)(t),n=document.createElement("iframe");(0,r.css)(n,{width:0,height:0,position:"absolute",border:0}),n.src="about:blank",o.appendChild(n);var s=null===(e=n.contentWindow)||void 0===e?void 0:e.document,a=s?s.body:t.od.body;return(0,i.dataBind)(t,"shadowRoot",a),a}(t).appendChild(n);var s=(0,r.css)(n,o);return l.Dom.safeRemove(n),s}(o,e,c)===(0,a.normalizeCssValue)(c,v[c]))return!p&&(0,r.css)(e,c,null),void(n=f(t,e,n=u.UNSET));n=u.CHANGE,!p&&(0,r.css)(e,c,v[c]),p||(n=f(t,e,n))}})),m&&(e.classList.contains(m)?(e.classList.remove(m),n=u.UNSET):(e.classList.add(m),n=u.CHANGE)),n}},43291:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toggleOrderedList=void 0;var n=o(96582),r=o(19008),i=o(15899),s=o(52839);e.toggleOrderedList=function(t,e,o,a){if(!e)return a;var c=e.parentElement;if(!c)return a;if(c.tagName.toLowerCase()!==t.element){var l=n.Dom.replace(c,t.element,o.createInside);return(0,s.toggleCSS)(t,l,o,a),i.REPLACE}return(0,s.toggleCSS)(t,e.parentElement,o,i.INITIAL,!0)===i.CHANGE?(0,s.toggleCSS)(t,e.parentElement,o,a):((0,r.extractSelectedPart)(c,e,o),n.Dom.unwrap(e.parentElement),n.Dom.replace(e,o.o.enter,o.createInside),a)}},77806:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapChildren=void 0;var n=o(96582),r=o(4730),i=o(16892),s=o(29554);e.unwrapChildren=function(t,e){var o,a=[],c=[],l=t.options.style;if(e.firstChild)for(var u=n.Dom.eachGen(e),d=u.next(),f=function(){var e=d.value;!(0,r.isSuitElement)(t,e,!0)||l&&!(0,s.elementHasSameStyleKeys)(e,l)?l&&(0,r.isSameStyleChild)(t,e)?(void 0===o&&(o=!1),c.push((function(){(0,i.css)(e,Object.keys(l).reduce((function(t,e){return t[e]=null,t}),{})),(0,i.attr)(e,"style")||(0,i.attr)(e,"style",null),(0,i.attr)(e,"style")||e.nodeName.toLowerCase()!==t.element||a.push(e)}))):n.Dom.isEmptyTextNode(e)||void 0===o&&(o=!1):(void 0===o&&(o=!0),a.push(e)),d=u.next()};!d.done;)f();return c.forEach((function(t){return t()})),a.forEach(n.Dom.unwrap),Boolean(o)}},45562:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wrapAndCommitStyle=void 0;var n=o(96582),r=o(8990),i=o(16892),s=o(72598);e.wrapAndCommitStyle=function(t,e,o){var a=function(t,e,o){if(t.elementIsBlock){var s=n.Dom.up(e,(function(t){return n.Dom.isBlock(t)&&!n.Dom.isTag(t,["td","th","tr","tbody","table","li","ul","ol"])}),o.editor);if(s)return s}return t.elementIsBlock?(0,r.wrapUnwrappedText)(t,e,o,o.s.createRange):((0,i.attr)(e,"size",null),e)}(t,e,o);return t.elementIsList?(0,s.wrapOrderedList)(t,a,o):n.Dom.replace(a,t.element,o.createInside,!0)}},72598:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wrapOrderedList=void 0;var n=o(96582);e.wrapOrderedList=function(t,e,o){var r=n.Dom.replace(e,"li",o.createInside),i=r.previousElementSibling||r.nextElementSibling;return n.Dom.isTag(i,["ul","ol"])||(i=o.createInside.element(t.element),n.Dom.before(r,i)),r.previousElementSibling===i?n.Dom.append(i,r):n.Dom.prepend(i,r),i}},8990:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wrapUnwrappedText=void 0;var n=o(96582);e.wrapUnwrappedText=function(t,e,o,r){var i=o.editor,s=o.createInside,a=function(t,e){void 0===e&&(e="previousSibling");for(var r=t,s=t;s&&!n.Dom.isTag(s,o.o.enter)&&(r=s,s=s[e]?s[e]:s.parentNode&&!n.Dom.isBlock(s.parentNode)&&s.parentNode!==i?s.parentNode:null,!n.Dom.isBlock(s)););return r},c=a(e),l=a(e,"nextSibling"),u=r();u.setStartBefore(c),u.setEndAfter(l);var d=u.extractContents(),f=s.element(t.element);return f.appendChild(d),n.Dom.safeInsertNode(u,f),t.elementIsBlock&&n.Dom.isEmpty(f)&&!n.Dom.isTag(f.firstElementChild,"br")&&f.appendChild(s.element("br")),f}},84863:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ApplyStyle=void 0;var n=o(16892),r=o(7680),i=o(15899),s=o(96582),a=o(7680);e.ApplyStyle=function(t,e){var o=t.s,c=t.editor,l=new a.FiniteStateMachine("start",{start:{start:function(){o.save(),(0,n.normalizeNode)(c.firstChild),this.setState("generator")}},generator:{initGenerator:function(){return t.s.wrapInTagGen()},nextFont:function(t){var e=t.next();if(e.done)this.setState("end");else if(!(0,r.isInsideInvisibleElement)(e.value,c)&&!s.Dom.isEmptyContent(e.value))return this.setState("check"),e.value}},check:{work:function(o){var n=(0,r.getSuitParent)(e,o,t.editor)||(0,r.getSuitChild)(e,o);return n?(this.setState("wholeElement"),n):((n=s.Dom.closest(o,(function(t){return(0,a.isSuitElement)(e,t,!0)}),t.editor))&&(e.elementIsBlock||(0,a.extractSelectedPart)(n,o,t)),e.elementIsList&&s.Dom.isTag(n,["ul","ol"])?(this.setState("orderList"),o):n?(this.setState("wholeElement"),n):(0,r.unwrapChildren)(e,o)?(this.setState("endProcess"),null):(this.setState("wrap"),o))}},wholeElement:{toggleStyles:function(o){var n=i.INITIAL;n=(0,r.toggleCommitStyles)(e,o,t)?i.UNWRAP:(0,a.toggleCSS)(e,o,t,n),this.setState("generator",n)}},orderList:{toggleStyles:function(o){var n=i.INITIAL,r=s.Dom.closest(o,"li",t.editor);r&&s.Dom.closest(o,["ul","ol"],t.editor)?(n=(0,a.toggleOrderedList)(e,r,t,n),this.setState(n!==i.REPLACE&&n!==i.UNWRAP&&n!==i.CHANGE?"generator":"endWhile")):this.setState("generator")}},wrap:{toggleStyles:function(o){if("unwrap"!==this.getSubState()){var n=(0,a.wrapAndCommitStyle)(e,o,t);(0,a.toggleCSS)(e,n,t,i.WRAP)}this.setState("generator")}},endWhile:{nextFont:function(t){t.next().done&&this.setState("end")}},endProcess:{toggleStyles:function(){this.setState("generator")}},end:{finalize:function(){o.restore()}}});l.dispatch("start");for(var u=l.dispatch("initGenerator");"end"!==l.getState();){var d=l.dispatch("nextFont",u);if(d){var f=l.dispatch("work",d);l.dispatch("toggleStyles",f)}}l.dispatch("finalize",u)}},15899:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CommitStyle=e.REPLACE=e.INITIAL=e.UNSET=e.CHANGE=e.UNWRAP=e.WRAP=void 0;var n=o(49940),r=o(84863);e.WRAP="wrap",e.UNWRAP="unwrap",e.CHANGE="change",e.UNSET="unset",e.INITIAL="initial",e.REPLACE="replace";var i=function(){function t(t){this.options=t}return Object.defineProperty(t.prototype,"elementIsList",{get:function(){return Boolean(this.options.element&&["ul","ol"].includes(this.options.element))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.options.element||this.defaultTag},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementIsBlock",{get:function(){return Boolean(this.options.element&&n.IS_BLOCK.test(this.options.element))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isElementCommit",{get:function(){return Boolean(this.options.element&&this.options.element!==this.options.defaultTag)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTag",{get:function(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementIsDefault",{get:function(){return this.element===this.defaultTag},enumerable:!1,configurable:!0}),t.prototype.apply=function(t){(0,r.ApplyStyle)(t,this)},t}();e.CommitStyle=i},20360:function(t,e){"use strict";var o;Object.defineProperty(e,"__esModule",{value:!0}),e.LocalStorageProvider=e.canUsePersistentStorage=void 0,e.canUsePersistentStorage=function(){return void 0===o&&(o=function(){var t="___Jodit___"+Math.random().toString();try{localStorage.setItem(t,"1");var e="1"===localStorage.getItem(t);return localStorage.removeItem(t),e}catch(t){}return!1}()),o};var n=function(){function t(t){this.rootKey=t}return t.prototype.set=function(t,e){try{var o=localStorage.getItem(this.rootKey),n=o?JSON.parse(o):{};n[t]=e,localStorage.setItem(this.rootKey,JSON.stringify(n))}catch(t){}return this},t.prototype.delete=function(t){try{localStorage.removeItem(this.rootKey)}catch(t){}return this},t.prototype.get=function(t){try{var e=localStorage.getItem(this.rootKey),o=e?JSON.parse(e):{};return void 0!==o[t]?o[t]:null}catch(t){}},t.prototype.exists=function(t){return null!=this.get(t)},t.prototype.clear=function(){try{localStorage.removeItem(this.rootKey)}catch(t){}return this},t}();e.LocalStorageProvider=n},18307:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MemoryStorageProvider=void 0;var o=function(){function t(){this.data=new Map}return t.prototype.set=function(t,e){return this.data.set(t,e),this},t.prototype.delete=function(t){return this.data.delete(t),this},t.prototype.get=function(t){return this.data.get(t)},t.prototype.exists=function(t){return this.data.has(t)},t.prototype.clear=function(){return this.data.clear(),this},t}();e.MemoryStorageProvider=o},98416:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(18307),e),n.__exportStar(o(20360),e),n.__exportStar(o(48860),e)},48860:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Storage=e.StorageKey=void 0;var n=o(16892),r=o(20360),i=o(18307);e.StorageKey="Jodit_";var s=function(){function t(t,o){this.provider=t,this.prefix=e.StorageKey,o&&(this.prefix+=o)}return t.prototype.set=function(t,e){return this.provider.set((0,n.camelCase)(this.prefix+t),e),this},t.prototype.delete=function(t){return this.provider.delete((0,n.camelCase)(this.prefix+t)),this},t.prototype.get=function(t){return this.provider.get((0,n.camelCase)(this.prefix+t))},t.prototype.exists=function(t){return this.provider.exists((0,n.camelCase)(this.prefix+t))},t.prototype.clear=function(){return this.provider.clear(),this},t.makeStorage=function(o,n){var s;return void 0===o&&(o=!1),o&&(0,r.canUsePersistentStorage)()&&(s=new r.LocalStorageProvider(e.StorageKey+n)),s||(s=new i.MemoryStorageProvider),new t(s,n)},t}();e.Storage=s},80024:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Dlgs=void 0;var n=o(52784),r=o(71910),i=o(16892),s=function(){function t(){}return t.prototype.dlg=function(t){var e=new r.Dialog(n.__assign({language:this.o.language,shadowRoot:this.o.shadowRoot,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,theme:this.o.theme,globalFullSize:this.o.globalFullSize},t));return(0,i.markOwner)(this,e.container),e.parent=this,e.bindDestruct(this)},t.prototype.confirm=function(t,e,o){return(0,i.isString)(e)&&(e=this.i18n(e)),r.Confirm.call(this.dlg(),this.i18n(t),e,o)},t.prototype.prompt=function(t,e,o,n,s){return(0,i.isString)(e)&&(e=this.i18n(e)),(0,i.isString)(n)&&(n=this.i18n(n)),r.Prompt.call(this.dlg(),this.i18n(t),e,o,n,s)},t.prototype.alert=function(t,e,o,n){return(0,i.isString)(t)&&(t=this.i18n(t)),(0,i.isString)(e)&&(e=this.i18n(e)),r.Alert.call(this.dlg(),t,e,o,n)},t}();e.Dlgs=s},43682:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Elms=void 0;var n=o(62507),r=function(){function t(){}return t.prototype.getElm=function(t){return this.container.querySelector(".".concat(this.getFullElName(t)))},t.prototype.getElms=function(t){return(0,n.toArray)(this.container.querySelectorAll(".".concat(this.getFullElName(t))))},t}();e.Elms=r},38017:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(43682),e),n.__exportStar(o(5482),e),n.__exportStar(o(80024),e)},5482:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mods=void 0;var n=o(62507),r=o(93215),i=function(){function t(){}return t.prototype.afterSetMod=function(t,e){},t.prototype.setMod=function(t,e,o){if(t=t.toLowerCase(),this.mods[t]===e)return this;var i="".concat(this.componentName,"_").concat(t),s=(o||this.container).classList;return(0,n.toArray)(s).forEach((function(t){0===t.indexOf(i)&&s.remove(t)})),!(0,r.isVoid)(e)&&""!==e&&s.add("".concat(i,"_").concat(e.toString().toLowerCase())),this.mods[t]=e,this.afterSetMod(t,e),this},t.prototype.getMod=function(t){var e;return null!==(e=this.mods[t])&&void 0!==e?e:null},t}();e.Mods=i},70305:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Button=e.UIButton=e.UIButtonState=void 0;var n=o(52784);o(89477);var r=o(13717),i=o(12815),s=o(93772),a=o(57348),c=o(6244),l=o(74259),u=o(75917),d=o(51923),f=o(20937);e.UIButtonState=function(){return{size:"middle",type:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0}};var p=function(t){function o(o,n){var r=t.call(this,o)||this;return r.isButton=!0,r.state=(0,e.UIButtonState)(),r.actionHandlers=[],r.updateSize(),r.onChangeSize(),r.onChangeStatus(),n&&r.hookStatus(f.STATUSES.ready,(function(){r.setState(n)})),r}return n.__extends(o,t),o.prototype.className=function(){return"UIButton"},o.prototype.setState=function(t){return Object.assign(this.state,t),this},o.prototype.onChangeSize=function(){this.setMod("size",this.state.size)},o.prototype.onChangeType=function(){(0,s.attr)(this.container,"type",this.state.type)},o.prototype.updateSize=function(){var t=this.closest(u.UIList);t&&(this.state.size=t.buttonSize)},o.prototype.onChangeStatus=function(){this.setMod("variant",this.state.variant)},o.prototype.onChangeText=function(){this.text.textContent=this.jodit.i18n(this.state.text)},o.prototype.onChangeTextSetMode=function(){this.setMod("text-icons",Boolean(this.state.text.trim().length))},o.prototype.onChangeDisabled=function(){(0,s.attr)(this.container,"disabled",this.state.disabled||null)},o.prototype.onChangeActivated=function(){(0,s.attr)(this.container,"aria-pressed",this.state.activated)},o.prototype.onChangeName=function(){this.container.classList.add("".concat(this.componentName,"_").concat(this.clearName(this.state.name))),this.name=this.state.name,(0,s.attr)(this.container,"data-ref",this.state.name),(0,s.attr)(this.container,"ref",this.state.name)},o.prototype.onChangeTooltip=function(){this.get("j.o.useNativeTooltip")&&(0,s.attr)(this.container,"title",this.state.tooltip),(0,s.attr)(this.container,"aria-label",this.state.tooltip)},o.prototype.onChangeTabIndex=function(){(0,s.attr)(this.container,"tabindex",this.state.tabIndex)},o.prototype.onChangeIcon=function(){var t=this.get("j.o.textIcons");if(!(!0===t||(0,c.isFunction)(t)&&t(this.state.name))){i.Dom.detach(this.icon);var e=l.Icon.makeIcon(this.j,this.state.icon);e&&this.icon.appendChild(e)}},o.prototype.focus=function(){this.container.focus()},o.prototype.isFocused=function(){var t=this.od.activeElement;return Boolean(t&&i.Dom.isOrContains(this.container,t))},o.prototype.createContainer=function(){var t=this.componentName,e=this.j.c.element("button",{class:t,type:"button",role:"button",ariaPressed:!1});return this.icon=this.j.c.span(t+"__icon"),this.text=this.j.c.span(t+"__text"),e.appendChild(this.icon),e.appendChild(this.text),this.j.e.on(e,"click",this.onActionFire),e},o.prototype.destruct=function(){return this.j.e.off(this.container),t.prototype.destruct.call(this)},o.prototype.onAction=function(t){return this.actionHandlers.push(t),this},o.prototype.onActionFire=function(t){var e=this;t.buffer={actionTrigger:this},this.actionHandlers.forEach((function(o){return o.call(e,t)}))},n.__decorate([(0,d.watch)("state.size")],o.prototype,"onChangeSize",null),n.__decorate([(0,d.watch)("state.type")],o.prototype,"onChangeType",null),n.__decorate([(0,d.watch)("parentElement")],o.prototype,"updateSize",null),n.__decorate([(0,d.watch)("state.variant")],o.prototype,"onChangeStatus",null),n.__decorate([(0,d.watch)("state.text")],o.prototype,"onChangeText",null),n.__decorate([(0,d.watch)("state.text")],o.prototype,"onChangeTextSetMode",null),n.__decorate([(0,d.watch)("state.disabled")],o.prototype,"onChangeDisabled",null),n.__decorate([(0,d.watch)("state.activated")],o.prototype,"onChangeActivated",null),n.__decorate([(0,d.watch)("state.name")],o.prototype,"onChangeName",null),n.__decorate([(0,d.watch)("state.tooltip")],o.prototype,"onChangeTooltip",null),n.__decorate([(0,d.watch)("state.tabIndex")],o.prototype,"onChangeTabIndex",null),n.__decorate([(0,d.watch)("state.icon")],o.prototype,"onChangeIcon",null),n.__decorate([d.autobind],o.prototype,"onActionFire",null),n.__decorate([d.component],o)}(r.UIElement);e.UIButton=p,e.Button=function(t,e,o,n){var r=new p(t);return r.state.tabIndex=t.o.allowTabNavigation?0:-1,(0,a.isString)(e)?(r.state.icon.name=e,r.state.name=e,n&&(r.state.variant=n),o&&(r.state.text=o)):r.setState(e),r}},18119:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIButtonGroup=void 0;var n=o(52784);o(71852);var r=o(12465),i=o(9119),s=o(70305);o(52378);var a=function(t){function e(e,o){void 0===o&&(o={radio:!0});var n,r,i=this;return(i=t.call(this,e,null===(n=o.options)||void 0===n?void 0:n.map((function(t){var o=new s.UIButton(e,{text:t.text,value:t.value,variant:"primary"});return o.onAction((function(){i.select(t.value)})),o})),o)||this).options=o,i.select(null!==(r=o.value)&&void 0!==r?r:0),i}return n.__extends(e,t),e.prototype.className=function(){return"UIButtonGroup"},e.prototype.render=function(t){return'<div>\n\t\t\t<div class="&__label">~'.concat(t.label,'~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>')},e.prototype.appendChildToContainer=function(t){this.getElm("options").appendChild(t)},e.prototype.select=function(t){var e,o,n=this;this.elements.forEach((function(e,o){o===t||e.state.value===t?e.state.activated=!0:n.options.radio&&(e.state.activated=!1)}));var r=this.elements.filter((function(t){return t.state.activated})).map((function(t){return{text:t.state.text,value:t.state.value}}));this.jodit.e.fire(this,"select",r),null===(o=(e=this.options).onChange)||void 0===o||o.call(e,r)},n.__decorate([i.component],e)}(r.UIGroup);e.UIButtonGroup=a},24697:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(70305),e),n.__exportStar(o(18119),e),n.__exportStar(o(71490),e)},71490:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UITooltip=void 0;var n=o(52784);o(12700);var r=o(16892),i=o(58706),s=o(51923),a=function(t){function e(o){var n=t.call(this,o)||this;n.__isOpened=!1,n.__useCount=1,n.__delayShowTimeout=0,(0,i.getContainer)(o,e).appendChild(n.container);var r=0;return o.e.off(".tooltip").on("showTooltip.tooltip",(function(t,e){o.async.clearTimeout(r),n.__open(t,e)})).on("delayShowTooltip.tooltip",n.__delayOpen).on("escape.tooltip",n.__close).on("hideTooltip.tooltip change.tooltip scroll.tooltip changePlace.tooltip hidePopup.tooltip closeAllPopups.tooltip",(function(){n.j.async.clearTimeout(n.__delayShowTimeout),r=o.async.setTimeout(n.__close,n.j.defaultTimeout)})),n}return n.__extends(e,t),e.prototype.className=function(){return"UITooltip"},e.make=function(t){var o=(0,r.dataBind)(t,"ui-tooltip");return o?(o.__useCount+=1,o):(o=new e(t),(0,r.dataBind)(t,"ui-tooltip",o),o)},e.prototype.__delayOpen=function(t,e){var o=this,n=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.__delayShowTimeout),this.__delayShowTimeout=this.j.async.setTimeout((function(){return o.__open(t,e)}),{timeout:n,label:"tooltip"})},e.prototype.__open=function(t,e){this.setMod("visible",!0),this.container.innerHTML=e,this.__isOpened=!0,this.__setPosition(t)},e.prototype.__setPosition=function(t){var e=t();(0,r.css)(this.container,{left:e.x,top:e.y})},e.prototype.__close=function(){this.j.async.clearTimeout(this.__delayShowTimeout),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),(0,r.css)(this.container,{left:-5e3}))},e.prototype.destruct=function(){var e;this.__useCount--,this.__useCount||(null===(e=this.j)||void 0===e||e.e.off(".tooltip"),this.__close(),t.prototype.destruct.call(this))},n.__decorate([s.autobind],e.prototype,"__delayOpen",null),n.__decorate([s.autobind],e.prototype,"__close",null),e}(o(13717).UIElement);e.UITooltip=a},13717:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIElement=void 0;var n=o(52784),r=o(68311),i=o(12815),s=o(38017),a=o(57348),c=o(74259),l=o(51923),u=function(t){function e(e,o){var n=t.call(this,e)||this;return n.name="",n.__parentElement=null,n.mods={},n.container=n.createContainer(o),Object.defineProperty(n.container,"component",{value:n,configurable:!0}),n}var o;return n.__extends(e,t),o=e,Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.__parentElement},set:function(t){var e=this;this.__parentElement=t,t&&t.hookStatus("beforeDestruct",(function(){return e.destruct()})),this.updateParentElement(this)},enumerable:!1,configurable:!0}),e.prototype.bubble=function(t){for(var e=this.parentElement;e;)t(e),e=e.parentElement;return this},e.prototype.updateParentElement=function(t){var e;return null===(e=this.__parentElement)||void 0===e||e.updateParentElement(t),this},e.prototype.get=function(e,o){return t.prototype.get.call(this,e,o)||this.getElm(e)},e.prototype.closest=function(t){for(var e="object"==typeof t?function(e){return e===t}:function(e){return r.Component.isInstanceOf(e,t)},n=this.__parentElement;n;){if(e(n))return n;n=!n.parentElement&&n.container.parentElement?o.closestElement(n.container.parentElement,o):n.parentElement}return null},e.closestElement=function(t,e){var o=i.Dom.up(t,(function(t){if(t){var o=t.component;return o&&r.Component.isInstanceOf(o,e)}return!1}));return o?null==o?void 0:o.component:null},e.prototype.update=function(){},e.prototype.appendTo=function(t){return t.appendChild(this.container),this},e.prototype.clearName=function(t){return t.replace(/[^a-zA-Z0-9]/g,"_")},e.prototype.render=function(t){return this.j.c.div(this.componentName)},e.prototype.createContainer=function(t){var e=this.render(t);if((0,a.isString)(e)){var o=this.parseTemplate(e);return o.classList.add(this.componentName),o}return e},e.prototype.parseTemplate=function(t){var e=this;return this.j.c.fromHTML(t.replace(/\*([^*]+?)\*/g,(function(t,e){return c.Icon.get(e)||""})).replace(/&__/g,this.componentName+"__").replace(/~([^~]+?)~/g,(function(t,o){return e.i18n(o)})))},e.prototype.destruct=function(){return i.Dom.safeRemove(this.container),this.parentElement=null,t.prototype.destruct.call(this)},o=n.__decorate([(0,l.derive)(s.Mods,s.Elms)],e)}(r.ViewComponent);e.UIElement=u},62119:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIBlock=void 0;var n=o(52784);o(97749);var r=o(12465),i=o(93772),s=o(9119),a=function(t){function e(e,o,n){void 0===n&&(n={align:"left"});var r=t.call(this,e,o)||this;return r.options=n,r.setMod("align",r.options.align||"left"),r.setMod("width",r.options.width||""),r.options.mod&&r.setMod(r.options.mod,!0),r.options.className&&r.container.classList.add(r.options.className),(0,i.attr)(r.container,"data-ref",n.ref),(0,i.attr)(r.container,"ref",n.ref),r}return n.__extends(e,t),e.prototype.className=function(){return"UIBlock"},n.__decorate([s.component],e)}(r.UIGroup);e.UIBlock=a},50388:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIForm=void 0;var n=o(52784),r=o(12465),i=o(86431),s=o(75047),a=o(93772),c=o(9119),l=o(90456),u=function(t){function e(){for(var e=[],o=0;arguments.length>o;o++)e[o]=arguments[o];var r,i,s=this;return(null===(r=(s=t.apply(this,n.__spreadArray([],n.__read(e),!1))||this).options)||void 0===r?void 0:r.className)&&s.container.classList.add(null===(i=s.options)||void 0===i?void 0:i.className),s}return n.__extends(e,t),e.prototype.className=function(){return"UIForm"},e.prototype.submit=function(){this.j.e.fire(this.container,"submit")},e.prototype.validate=function(){var t,e,o,r,a=this.allChildren.filter((function(t){return l.Component.isInstanceOf(t,i.UIInput)}));try{for(var c=n.__values(a),u=c.next();!u.done;u=c.next())if(!u.value.validate())return!1}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}var d=this.allChildren.filter((function(t){return l.Component.isInstanceOf(t,s.UISelect)}));try{for(var f=n.__values(d),p=f.next();!p.done;p=f.next())if(!p.value.validate())return!1}catch(t){o={error:t}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(o)throw o.error}}return!0},e.prototype.onSubmit=function(t){var e=this;this.j.e.on(this.container,"submit",(function(){var o=e.allChildren.filter((function(t){return l.Component.isInstanceOf(t,i.UIInput)}));return!!e.validate()&&(t(o.reduce((function(t,e){return t[e.state.name]=e.value,t}),{})),!1)}))},e.prototype.createContainer=function(){var t=this.j.c.element("form");return t.classList.add(this.componentName),(0,a.attr)(t,"dir",this.j.o.direction||"auto"),t},n.__decorate([c.component],e)}(r.UIGroup);e.UIForm=u},92815:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(50388),e),n.__exportStar(o(11832),e),n.__exportStar(o(62119),e)},9454:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UITextArea=void 0;var n=o(52784);o(69718);var r=o(86431),i=o(9119),s=function(t){function e(e,r){var i=t.call(this,e,r)||this;return i.state=n.__assign({},o.defaultState),Object.assign(i.state,r),!1===i.state.resizable&&(i.nativeInput.style.resize="none"),i}var o;return n.__extends(e,t),o=e,e.prototype.className=function(){return"UITextArea"},e.prototype.createContainer=function(e){return this.nativeInput=this.j.create.element("textarea"),t.prototype.createContainer.call(this,e)},e.defaultState=n.__assign(n.__assign({},r.UIInput.defaultState),{size:5,resizable:!0}),o=n.__decorate([i.component],e)}(r.UIInput);e.UITextArea=s},70301:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UICheckbox=void 0;var n=o(52784);o(65713);var r=o(86431),i=o(51923),s=o(12815),a=function(t){function e(e,r){var i=t.call(this,e,n.__assign(n.__assign({},r),{type:"checkbox"}))||this;return i.state=n.__assign({},o.defaultState),Object.assign(i.state,r),i}var o;return n.__extends(e,t),o=e,e.prototype.className=function(){return"UICheckbox"},e.prototype.render=function(){return this.j.c.element("label",{className:this.componentName})},e.prototype.onChangeChecked=function(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)},e.prototype.onChangeNativeCheckBox=function(){this.state.checked=this.nativeInput.checked},e.prototype.onChangeSwitch=function(){this.setMod("switch",this.state.switch);var t=this.getElm("switch-slider");this.state.switch?(t||(t=this.j.c.div(this.getFullElName("switch-slider"))),s.Dom.after(this.nativeInput,t)):s.Dom.safeRemove(t)},e.defaultState=n.__assign(n.__assign({},r.UIInput.defaultState),{checked:!1,switch:!1}),n.__decorate([(0,i.watch)("state.checked"),(0,i.hook)("ready")],e.prototype,"onChangeChecked",null),n.__decorate([(0,i.watch)("nativeInput:change")],e.prototype,"onChangeNativeCheckBox",null),n.__decorate([(0,i.watch)("state.switch"),(0,i.hook)("ready")],e.prototype,"onChangeSwitch",null),o=n.__decorate([i.component],e)}(r.UIInput);e.UICheckbox=a},93717:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIFileInput=void 0;var n=o(52784);o(49104);var r=o(86431),i=o(9119),s=o(70305),a=function(t){function e(e,o){var i=t.call(this,e,n.__assign({type:"file"},o))||this;return i.state=n.__assign(n.__assign({},r.UIInput.defaultState),{type:"file",onlyImages:!0}),i}return n.__extends(e,t),e.prototype.className=function(){return"UIFileInput"},e.prototype.createContainer=function(t){this.button=new s.UIButton(this.j,{icon:{name:"plus"}});var e=this.button.container;this.nativeInput||(this.nativeInput=this.createNativeInput(t));var o=this.nativeInput;return o.classList.add(this.getFullElName("input")),e.classList.add(this.componentName),e.appendChild(o),e},e.prototype.createNativeInput=function(t){return this.j.create.fromHTML('<input\n\t\t\ttype="file"\n\t\t\taccept="'.concat(t.onlyImages?"image/*":"*",'"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>'))},n.__decorate([i.component],e)}(r.UIInput);e.UIFileInput=a},11832:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(86431),e),n.__exportStar(o(9454),e),n.__exportStar(o(70301),e),n.__exportStar(o(75047),e),n.__exportStar(o(93717),e)},86431:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIInput=void 0;var n=o(52784);o(79793);var r=o(13717),i=o(93772),s=o(62507),a=o(12815),c=o(51923),l=o(74259),u=o(73833),d=function(t){function e(e,r){var i=t.call(this,e,r)||this;return i.label=i.j.c.span(i.getFullElName("label")),i.icon=i.j.c.span(i.getFullElName("icon")),i.clearButton=i.j.c.span(i.getFullElName("clear"),l.Icon.get("cancel")),i.state=n.__assign({},o.defaultState),i.__errorBox=i.j.c.span(i.getFullElName("error")),i.validators=new Set([]),void 0!==(null==r?void 0:r.value)&&(r.value=r.value.toString()),Object.assign(i.state,r),void 0!==i.state.clearButton&&(i.j.e.on(i.clearButton,"click",(function(t){t.preventDefault(),i.nativeInput.value="",i.j.e.fire(i.nativeInput,"input"),i.focus()})).on(i.nativeInput,"input",(function(){i.state.clearButton=Boolean(i.value.length)})),i.state.clearButton=Boolean(i.value.length)),i.j.e.on(i.nativeInput,"focus blur",(function(){i.onChangeFocus()})).on(i.nativeInput,"input change",i.onChangeValue),i.onChangeState(),i.onChangeClassName(),i.onChangeStateValue(),i}var o;return n.__extends(e,t),o=e,e.prototype.className=function(){return"UIInput"},e.prototype.onChangeClear=function(){this.state.clearButton?a.Dom.after(this.nativeInput,this.clearButton):a.Dom.safeRemove(this.clearButton)},e.prototype.onChangeClassName=function(t,e){e&&this.container.classList.remove(e),this.state.className&&this.container.classList.add(this.state.className)},e.prototype.onChangeState=function(){this.name=this.state.name;var t=this.nativeInput,e=this.state,o=e.name,n=e.icon,r=e.type,s=e.ref,c=e.required,u=e.placeholder,d=e.autocomplete,f=e.label;(0,i.attr)(t,"name",o),(0,i.attr)(t,"type",r),(0,i.attr)(t,"data-ref",s||o),(0,i.attr)(t,"ref",s||o),(0,i.attr)(t,"required",c||null),(0,i.attr)(t,"autocomplete",d?null:"off"),(0,i.attr)(t,"placeholder",u?this.j.i18n(u):""),n&&l.Icon.exists(n)?(a.Dom.before(t,this.icon),this.icon.innerHTML=l.Icon.get(n)):a.Dom.safeRemove(this.icon),f?(a.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(f)):a.Dom.safeRemove(this.label),this.updateValidators()},e.prototype.updateValidators=function(){var t,e=this;this.validators.clear(),this.state.required&&this.validators.add(u.inputValidators.required),null===(t=this.state.validators)||void 0===t||t.forEach((function(t){var o=u.inputValidators[t];o&&e.validators.add(o)}))},Object.defineProperty(e.prototype,"error",{set:function(t){this.setMod("has-error",Boolean(t)),t?(this.__errorBox.innerText=this.j.i18n(t,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):a.Dom.safeRemove(this.__errorBox)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.nativeInput.value},set:function(t){this.value!==t&&(this.nativeInput.value=t,this.onChangeValue())},enumerable:!1,configurable:!0}),e.prototype.onChangeStateValue=function(){var t=this.state.value.toString();t!==this.value&&(this.value=t)},e.prototype.onChangeValue=function(){var t,e,o=this.value;this.state.value!==o&&(this.state.value=o,this.j.e.fire(this,"change",o),null===(e=(t=this.state).onChange)||void 0===e||e.call(t,o))},e.prototype.validate=function(){var t=this;return this.error="",(0,s.toArray)(this.validators).every((function(e){return e(t)}))},e.prototype.createContainer=function(e){var o=t.prototype.createContainer.call(this);this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());var n=this.nativeInput;return n.classList.add(this.getFullElName("input")),this.wrapper.appendChild(n),o.appendChild(this.wrapper),(0,i.attr)(n,"dir",this.j.o.direction||"auto"),o},e.prototype.createNativeInput=function(t){return this.j.create.element("input")},e.prototype.focus=function(){this.nativeInput.focus()},Object.defineProperty(e.prototype,"isFocused",{get:function(){return this.nativeInput===this.j.od.activeElement},enumerable:!1,configurable:!0}),e.prototype.onChangeFocus=function(){this.setMod("focused",this.isFocused)},e.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},n.__decorate([(0,c.watch)("state.clearButton")],e.prototype,"onChangeClear",null),n.__decorate([(0,c.watch)("state.className")],e.prototype,"onChangeClassName",null),n.__decorate([(0,c.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"]),(0,c.debounce)()],e.prototype,"onChangeState",null),n.__decorate([(0,c.watch)("state.value")],e.prototype,"onChangeStateValue",null),n.__decorate([c.autobind],e.prototype,"onChangeValue",null),o=n.__decorate([c.component],e)}(r.UIElement);e.UIInput=d},75047:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UISelect=void 0;var n=o(52784);o(23198);var r=o(89437),i=o(9119),s=o(86431),a=o(73833),c=function(t){function e(e,r){var i=t.call(this,e,r)||this;return i.state=n.__assign({},o.defaultState),Object.assign(i.state,r),i}var o;return n.__extends(e,t),o=e,e.prototype.className=function(){return"UISelect"},e.prototype.createContainer=function(e){var o,n=t.prototype.createContainer.call(this,e),i=this.j,s=this.nativeInput,a=function(){return i.create.element("option")};if(void 0!==e.placeholder){var c=a();c.value="",c.text=i.i18n(e.placeholder),s.add(c)}return null===(o=e.options)||void 0===o||o.forEach((function(t){var e=a();e.value=t.value.toString(),e.text=i.i18n(t.text),s.add(e)})),e.size&&e.size>0&&(0,r.attr)(s,"size",e.size),e.multiple&&(0,r.attr)(s,"multiple",""),n},e.prototype.createNativeInput=function(){return this.j.create.element("select")},e.prototype.updateValidators=function(){t.prototype.updateValidators.call(this),this.state.required&&(this.validators.delete(a.inputValidators.required),this.validators.add(a.selectValidators.required))},e.defaultState=n.__assign(n.__assign({},s.UIInput.defaultState),{options:[],size:1,multiple:!1}),o=n.__decorate([i.component],e)}(s.UIInput);e.UISelect=c},73833:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.selectValidators=e.inputValidators=void 0,e.inputValidators=o(28336),e.selectValidators=o(12560)},28336:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.url=e.required=void 0;var n=o(84842),r=o(78097);e.required=function(t){return!!(0,r.trim)(t.value).length||(t.error="Please fill out this field",!1)},e.url=function(t){return!!(0,n.isURL)((0,r.trim)(t.value))||(t.error="Please enter a web address",!1)}},12560:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.required=void 0;var n=o(78097);e.required=function(t){return!!(0,n.trim)(t.value).length||(t.error="Please fill out this field",!1)}},12465:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIGroup=void 0;var n=o(52784);o(83404);var r=o(13717),i=o(51923),s=o(16892);o(52378);var a=o(12815),c=o(90456),l=function(t){function e(e,o,n){var r=t.call(this,e,n)||this;return r.options=n,r.syncMod=!1,r.elements=[],r.buttonSize="middle",null==o||o.forEach((function(t){return t&&r.append(t)})),(null==n?void 0:n.name)&&(r.name=n.name),r}var o;return n.__extends(e,t),o=e,e.prototype.className=function(){return"UIGroup"},Object.defineProperty(e.prototype,"allChildren",{get:function(){for(var t=[],e=n.__spreadArray([],n.__read(this.elements),!1);e.length;){var r=e.shift();(0,s.isArray)(r)?e.push.apply(e,n.__spreadArray([],n.__read(r),!1)):c.Component.isInstanceOf(r,o)?e.push.apply(e,n.__spreadArray([],n.__read(r.elements),!1)):r&&t.push(r)}return t},enumerable:!1,configurable:!0}),e.prototype.update=function(){this.elements.forEach((function(t){return t.update()})),this.setMod("size",this.buttonSize)},e.prototype.append=function(t,e){var o=this;return(0,s.isArray)(t)?(t.forEach((function(t){return o.append(t,e)})),this):(this.elements.push(t),t.name&&t.container.classList.add(this.getFullElName(t.name)),e?this.getElm(e).appendChild(t.container):this.appendChildToContainer(t.container),t.parentElement=this,t.update(),this)},e.prototype.afterSetMod=function(t,e){this.syncMod&&this.elements.forEach((function(o){return o.setMod(t,e)}))},e.prototype.appendChildToContainer=function(t){this.container.appendChild(t)},e.prototype.remove=function(t){var e=this.elements.indexOf(t);return-1!==e&&(this.elements.splice(e,1),a.Dom.safeRemove(t.container),t.parentElement=null),this},e.prototype.clear=function(){return this.elements.forEach((function(t){return t.destruct()})),this.elements.length=0,this},e.prototype.destruct=function(){return this.clear(),t.prototype.destruct.call(this)},n.__decorate([(0,i.watch)("buttonSize")],e.prototype,"update",null),o=n.__decorate([i.component],e)}(r.UIElement);e.UIGroup=l},50086:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(12465),e),n.__exportStar(o(75917),e),n.__exportStar(o(98883),e),n.__exportStar(o(62485),e)},75917:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIList=void 0;var n=o(52784);o(38784);var r=o(61757),i=o(51923),s=o(12465),a=o(98883),c=o(62485),l=o(70305),u=o(5674),d=o(4015),f=o(65735),p=o(90456),h=function(t){function e(e){var o=t.call(this,e)||this;return o.mode="horizontal",o.removeButtons=[],o.onChangeMode(),o}return n.__extends(e,t),e.prototype.className=function(){return"UIList"},e.prototype.onChangeMode=function(){this.setMod("mode",this.mode)},e.prototype.makeGroup=function(){return new s.UIGroup(this.jodit)},Object.defineProperty(e.prototype,"buttons",{get:function(){return this.allChildren.filter((function(t){return p.Component.isInstanceOf(t,l.UIButton)}))},enumerable:!1,configurable:!0}),e.prototype.getButtonsNames=function(){return this.buttons.map((function(t){return t instanceof l.UIButton&&t.state.name||""})).filter((function(t){return""!==t}))},e.prototype.setRemoveButtons=function(t){return this.removeButtons=t||[],this},e.prototype.build=function(t,e){var o=this;void 0===e&&(e=null),t=(0,f.splitArray)(t),this.clear();var n,i=!1,s=this.makeGroup();this.append(s),s.setMod("line",!0);var l=function(t){var r=null;switch(t.name){case"\n":(s=o.makeGroup()).setMod("line",!0),n=o.makeGroup(),s.append(n),o.append(s);break;case"|":i||(i=!0,r=new a.UISeparator(o.j));break;case"---":n.setMod("before-spacer",!0);var l=new c.UISpacer(o.j);s.append(l),n=o.makeGroup(),s.append(n),i=!1;break;default:i=!1,r=o.makeButton(t,e)}r&&(n||(n=o.makeGroup(),s.append(n)),n.append(r))},p=function(t){return!o.removeButtons.includes(t.name)};return t.forEach((function(t){if((0,u.isButtonGroup)(t)){var e=t.buttons.filter((function(t){return t}));e.length&&((n=o.makeGroup()).setMod("separated",!0).setMod("group",t.group),s.append(n),(0,r.getStrongControlTypes)(e,o.j.o.controls).filter(p).forEach(l))}else{n||(n=o.makeGroup(),s.append(n));var i=(0,d.getControlType)(t,o.j.o.controls);p(i)&&l(i)}})),this.update(),this},e.prototype.makeButton=function(t,e){return new l.UIButton(this.j)},n.__decorate([(0,i.watch)("mode")],e.prototype,"onChangeMode",null),n.__decorate([i.component],e)}(s.UIGroup);e.UIList=h},98883:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UISeparator=void 0;var n=o(52784),r=o(13717),i=o(9119),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.className=function(){return"UISeparator"},n.__decorate([i.component],e)}(r.UIElement);e.UISeparator=s},62485:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UISpacer=void 0;var n=o(52784),r=o(13717),i=o(9119),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.className=function(){return"UISpacer"},n.__decorate([i.component],e)}(r.UIElement);e.UISpacer=s},5674:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flatButtonsSet=e.isButtonGroup=void 0;var n=o(52784),r=o(8356);e.isButtonGroup=function(t){return(0,r.isArray)(t.buttons)},e.flatButtonsSet=function(t,o){var r=o.getRegisteredButtonGroups();return new Set(t.reduce((function(t,o){var i;return(0,e.isButtonGroup)(o)?t=t.concat(n.__spreadArray(n.__spreadArray([],n.__read(o.buttons),!1),n.__read(null!==(i=r[o.group])&&void 0!==i?i:[]),!1)):t.push(o),t}),[]))}},4015:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findControlType=e.getControlType=void 0;var n=o(52784),r=o(16892),i=o(733);function s(t,e){var o=n.__read(t.split(/\./),2),i=o[0],s=o[1],a=e;return null!=s?void 0!==e[i]&&(a=e[i]):s=i,a[s]?n.__assign({name:s},(0,r.ConfigFlatten)(a[s])):void 0}e.getControlType=function(t,e){var o;return e||(e=i.Config.defaultOptions.controls),(0,r.isString)(t)?o=s(t,e)||{name:t,command:t,tooltip:t}:void 0!==e[(o=n.__assign({name:"empty"},(0,r.ConfigFlatten)(t))).name]&&(o=n.__assign(n.__assign({},(0,r.ConfigFlatten)(e[o.name])),(0,r.ConfigFlatten)(o))),o},e.findControlType=s},61757:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStrongControlTypes=void 0;var n=o(4015),r=o(733),i=o(8356),s=o(93772);e.getStrongControlTypes=function(t,e){return((0,i.isArray)(t)?t:(0,s.keys)(t,!1).map((function(e){return(0,s.ConfigProto)({name:e},t[e]||{})}))).map((function(t){return(0,n.getControlType)(t,e||r.Config.defaultOptions.controls)}))}},74259:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Icon=void 0;var n=o(21714),r=o(16892),i=function(){function t(){}return t.getIcon=function(e){return/<svg/i.test(e)?e:t.icons[e]||t.icons[e.replace(/-/g,"_")]||t.icons[e.replace(/_/g,"-")]||t.icons[(0,r.camelCase)(e)]||t.icons[(0,r.kebabCase)(e)]||t.icons[e.toLowerCase()]},t.exists=function(t){return void 0!==this.getIcon(t)},t.get=function(t,e){return void 0===e&&(e="<span></span>"),this.getIcon(t)||e},t.set=function(t,e){return this.icons[t.replace("_","-")]=e,this},t.makeIcon=function(e,o){var r,i;if(o){var s=o.name.replace(/[^a-zA-Z0-9]/g,"_");if(o.iconURL)i=e.c.span(),(0,n.css)(i,"backgroundImage","url("+o.iconURL.replace("{basePath}",(null==e?void 0:e.basePath)||"")+")");else{var a=e.e.fire("getIcon",o.name,o,s)||t.get(o.name,"")||(null===(r=e.o.extraIcons)||void 0===r?void 0:r[o.name]);a&&(i=e.c.fromHTML(a.trim()),/^<svg/i.test(o.name)||i.classList.add("jodit-icon_"+s))}}return i&&(i.classList.add("jodit-icon"),i.style.fill=o.fill),i},t.icons={},t}();e.Icon=i},98440:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(13717),e),n.__exportStar(o(24697),e),n.__exportStar(o(88153),e),n.__exportStar(o(50086),e),n.__exportStar(o(92815),e),n.__exportStar(o(74259),e),n.__exportStar(o(88742),e)},88153:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(52784).__exportStar(o(17497),e)},17497:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Popup=void 0;var n=o(52784);o(30861);var r=o(12815),i=o(16892);o(52378);var s=o(13717),a=o(51923),c=o(90456),l=o(58706),u=function(t){function e(e,o){void 0===o&&(o=!0);var n=t.call(this,e)||this;return n.smart=o,n.isOpened=!1,n.strategy="leftBottom",n.viewBound=function(){return{left:0,top:0,width:n.ow.innerWidth,height:n.ow.innerHeight}},n.childrenPopups=new Set,(0,i.attr)(n.container,"role","popup"),n}return n.__extends(e,t),e.prototype.className=function(){return"Popup"},e.prototype.updateParentElement=function(o){var n=this;return o!==this&&c.Component.isInstanceOf(o,e)&&(this.childrenPopups.forEach((function(t){!o.closest(t)&&t.isOpened&&t.close()})),this.childrenPopups.has(o)||this.j.e.on(o,"beforeClose",(function(){n.childrenPopups.delete(o)})),this.childrenPopups.add(o)),t.prototype.updateParentElement.call(this,o)},e.prototype.setContent=function(t){r.Dom.detach(this.container);var e,o=this.j.c.div("".concat(this.componentName,"__content"));return c.Component.isInstanceOf(t,s.UIElement)?(e=t.container,t.parentElement=this):e=(0,i.isString)(t)?this.j.c.fromHTML(t):t,o.appendChild(e),this.container.appendChild(o),this.updatePosition(),this},e.prototype.open=function(t,o,n){if(void 0===o&&(o=!1),(0,i.markOwner)(this.jodit,this.container),this.calculateZIndex(),this.isOpened=!0,this.addGlobalListeners(),this.targetBound=o?this.getKeepBound(t):t,n)n.appendChild(this.container);else{var r=(0,l.getContainer)(this.jodit,e);n!==this.container.parentElement&&r.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this},e.prototype.calculateZIndex=function(){var t=this;if(!this.container.style.zIndex){var e=function(e){var o=e.container.style.zIndex||e.o.zIndex;return!!o&&(t.setZIndex(1+parseInt(o.toString(),10)),!0)},o=this.j;if(!e(o))for(var n=this.parentElement;n;){if(e(o))return;if(n.container.style.zIndex)return void this.setZIndex(1+parseInt(n.container.style.zIndex.toString(),10));if(!n.parentElement&&n.container.parentElement){var r=s.UIElement.closestElement(n.container.parentElement,s.UIElement);if(r){n=r;continue}}n=n.parentElement}}},e.prototype.getKeepBound=function(t){var e=this,o=t(),s=this.od.elementFromPoint(o.left,o.top);if(!s)return t;var a=r.Dom.isHTMLElement(s)?s:s.parentElement,c=(0,i.position)(a,this.j);return function(){var o=t(),r=(0,i.position)(a,e.j);return n.__assign(n.__assign({},o),{top:o.top+(r.top-c.top),left:o.left+(r.left-c.left)})}},e.prototype.updatePosition=function(){if(!this.isOpened)return this;var t=n.__read(this.calculatePosition(this.targetBound(),this.viewBound(),(0,i.position)(this.container,this.j)),2),e=t[0];return this.setMod("strategy",t[1]),(0,i.css)(this.container,{left:e.left,top:e.top}),this.childrenPopups.forEach((function(t){return t.updatePosition()})),this},e.prototype.throttleUpdatePosition=function(){this.updatePosition()},e.prototype.calculatePosition=function(t,o,r,s){void 0===s&&(s=this.strategy);var a={left:t.left,right:t.left-(r.width-t.width)},c={bottom:t.top+t.height,top:t.top-r.height},l=Object.keys(a).reduce((function(t,e){return t.concat(Object.keys(c).map((function(t){return"".concat(e).concat((0,i.ucfirst)(t))})))}),[]),u=function(t){var e=n.__read((0,i.kebabCase)(t).split("-"),2);return{left:a[e[0]],top:c[e[1]],width:r.width,height:r.height}},d=function(t){return e.boxInView(u(s),t)?s:l.find((function(o){if(e.boxInView(u(o),t))return o}))||null},f=d((0,i.position)(this.j.container,this.j));return f&&e.boxInView(u(f),o)||(f=d(o)||f||s),[u(f),f]},e.boxInView=function(t,e){return!(-2>t.top-e.top||-2>t.left-e.left||-2>e.top+e.height-(t.top+t.height)||-2>e.left+e.width-(t.left+t.width))},e.prototype.close=function(){return this.isOpened?(this.isOpened=!1,this.childrenPopups.forEach((function(t){return t.close()})),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.removeGlobalListeners(),r.Dom.safeRemove(this.container),this):this},e.prototype.closeOnOutsideClick=function(t){this.isOpened&&!this.isOwnClick(t)&&this.close()},e.prototype.isOwnClick=function(t){if(!t.target)return!1;var o=s.UIElement.closestElement(t.target,e);return Boolean(o&&(this===o||o.closest(this)))},e.prototype.addGlobalListeners=function(){var t=this,e=this.throttleUpdatePosition,o=this.ow;l.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on("escape",this.close).on("mousedown touchstart",this.closeOnOutsideClick).on(o,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(o,"scroll",e).on(o,"resize",e),r.Dom.up(this.j.container,(function(o){o&&t.j.e.on(o,"scroll mousewheel",e)}))},e.prototype.removeGlobalListeners=function(){var t=this,e=this.throttleUpdatePosition,o=this.ow;l.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off("escape",this.close).off("mousedown touchstart",this.closeOnOutsideClick).off(o,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(o,"scroll",e).off(o,"resize",e),r.Dom.up(this.j.container,(function(o){o&&t.j.e.off(o,"scroll mousewheel",e)}))},e.prototype.setZIndex=function(t){this.container.style.zIndex=t.toString()},e.prototype.destruct=function(){return this.close(),t.prototype.destruct.call(this)},n.__decorate([a.autobind],e.prototype,"updatePosition",null),n.__decorate([(0,a.throttle)(10),a.autobind],e.prototype,"throttleUpdatePosition",null),n.__decorate([a.autobind],e.prototype,"close",null),n.__decorate([a.autobind],e.prototype,"closeOnOutsideClick",null),e}(s.UIElement);e.Popup=u},88742:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;var n=o(52784);o(98926);var r=o(12815),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.className=function(){return"ProgressBar"},e.prototype.render=function(){return"<div><div></div></div>"},e.prototype.show=function(){return(this.j.workplace||this.j.container).appendChild(this.container),this},e.prototype.hide=function(){return r.Dom.safeRemove(this.container),this},e.prototype.progress=function(t){return this.container.style.width=t.toFixed(2)+"%",this},e.prototype.destruct=function(){return this.hide(),t.prototype.destruct.call(this)},e}(o(13717).UIElement);e.ProgressBar=i},78063:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewWithToolbar=void 0;var n=o(52784);o(29269);var r=o(9e3),i=o(16892),s=o(96582),a=o(75901),c=o(68311),l=o(5674),u=o(51923),d=function(t){function e(e,o){void 0===o&&(o=!1);var n=t.call(this,e,o)||this;return n.toolbar=(0,a.makeCollection)(n),n.defaultToolbarContainer=n.c.div("jodit-toolbar__box"),n.registeredButtons=new Set,n.groupToButtons={},n.isJodit=!1,n.isJodit=o,n.e.on("beforeToolbarBuild",n.beforeToolbarBuild),n}return n.__extends(e,t),Object.defineProperty(e.prototype,"toolbarContainer",{get:function(){return this.o.fullsize||!(0,i.isString)(this.o.toolbar)&&!s.Dom.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&s.Dom.appendChildFirst(this.container,this.defaultToolbarContainer),this.defaultToolbarContainer):(0,i.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od)},enumerable:!1,configurable:!0}),e.prototype.setPanel=function(t){this.o.toolbar=t,this.buildToolbar()},e.prototype.buildToolbar=function(){if(this.o.toolbar){var t=this.o.buttons?(0,i.splitArray)(this.o.buttons):[];this.toolbar.setRemoveButtons(this.o.removeButtons).build(t.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}},e.prototype.getRegisteredButtonGroups=function(){return this.groupToButtons},e.prototype.registerButton=function(t){var e;this.registeredButtons.add(t);var o=null!==(e=t.group)&&void 0!==e?e:"other";return this.groupToButtons[o]||(this.groupToButtons[o]=[]),null!=t.position?this.groupToButtons[o][t.position]=t.name:this.groupToButtons[o].push(t.name),this},e.prototype.unregisterButton=function(t){var e;this.registeredButtons.delete(t);var o=null!==(e=t.group)&&void 0!==e?e:"other",n=this.groupToButtons[o];if(n){var r=n.indexOf(t.name);-1!==r&&n.splice(r,1),0===n.length&&delete this.groupToButtons[o]}return this},e.prototype.beforeToolbarBuild=function(t){var e=this;if(Object.keys(this.groupToButtons).length)return t.map((function(t){return(0,l.isButtonGroup)(t)&&t.group&&e.groupToButtons[t.group]?{group:t.group,buttons:n.__spreadArray(n.__spreadArray([],n.__read(t.buttons),!1),n.__read(e.groupToButtons[t.group]),!1)}:t}))},e.prototype.destruct=function(){this.isDestructed||(this.setStatus(c.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.toolbar.destruct(),t.prototype.destruct.call(this))},n.__decorate([u.autobind],e.prototype,"beforeToolbarBuild",null),e}(r.View);e.ViewWithToolbar=d},9e3:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.View=void 0;var n=o(52784),r=o(98416),i=o(16892),s=o(49940),a=o(71910),c=o(58706),l=o(51923),u=o(38017),d=o(57083),f=o(67963),p=function(t){function e(e,n){void 0===n&&(n=!1);var i=t.call(this)||this;return i.isJodit=n,i.isView=!0,i.parent=null,i.mods={},i.components=new Set,i.version="1.3.31",i.buffer=r.Storage.makeStorage(),i.storage=r.Storage.makeStorage(!0,i.componentName),i.OPTIONS=o.defaultOptions,i.__isFullSize=!1,i.__whoLocked="",i.isLockedNotBy=function(t){return i.isLocked&&i.__whoLocked!==t},i.__modulesInstances=new Map,i.id=(new Date).getTime().toString(),i.buffer=r.Storage.makeStorage(),i.initOptions(e),i.initOwners(),i.events=new d.EventEmitter(i.od),i.create=new a.Create(i.od),i.container=i.c.div("jodit ".concat(i.componentName)),i.progressbar=new a.ProgressBar(i),i.message=new f.UIMessages(i),i}var o;return n.__extends(e,t),o=e,Object.defineProperty(e.prototype,"basePath",{get:function(){return this.o.basePath?this.o.basePath:s.BASE_PATH},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultTimeout",{get:function(){return(0,i.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"c",{get:function(){return this.create},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"container",{get:function(){return this.__container},set:function(t){this.__container=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"e",{get:function(){return this.events},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.__options},set:function(t){this.__options=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),e.prototype.i18n=function(t){for(var e=[],o=1;arguments.length>o;o++)e[o-1]=arguments[o];return(0,i.i18n)(t,e,this.options)},e.prototype.toggleFullSize=function(t){void 0===t&&(t=!this.__isFullSize),t!==this.__isFullSize&&(this.__isFullSize=t,this.e.fire("toggleFullSize",t))},Object.defineProperty(e.prototype,"isLocked",{get:function(){return""!==this.__whoLocked},enumerable:!1,configurable:!0}),e.prototype.lock=function(t){return void 0===t&&(t="any"),!this.isLocked&&(this.__whoLocked=t,!0)},e.prototype.unlock=function(){return!!this.isLocked&&(this.__whoLocked="",!0)},Object.defineProperty(e.prototype,"isFullSize",{get:function(){return this.__isFullSize},enumerable:!1,configurable:!0}),e.prototype.getVersion=function(){return"1.3.31"},e.getVersion=function(){return"1.3.31"},e.prototype.initOptions=function(t){this.options=(0,i.ConfigProto)(t||{},(0,i.ConfigProto)(this.options||{},o.defaultOptions))},e.prototype.initOwners=function(){var t;this.ownerWindow=null!==(t=this.o.ownerWindow)&&void 0!==t?t:window},e.prototype.attachEvents=function(t){var e=this;if(t){var o=null==t?void 0:t.events;o&&Object.keys(o).forEach((function(t){return e.e.on(t,o[t])}))}},e.prototype.getInstance=function(t,e){var o=this.e.fire((0,i.camelCase)("getInstance_"+t),e);if(o)return o;var n=c.modules[t],r=this.__modulesInstances;if(!(0,i.isFunction)(n))throw(0,i.error)("Need real module name");if(!r.has(t)){var s=n.prototype instanceof a.ViewComponent?new n(this,e):new n(e);this.components.add(s),r.set(t,s)}return r.get(t)},e.prototype.addDisclaimer=function(t){this.container.appendChild(t)},e.prototype.beforeDestruct=function(){this.e.fire(a.STATUSES.beforeDestruct,this),this.components.forEach((function(t){(0,i.isDestructable)(t)&&!t.isInDestruct&&t.destruct()})),this.components.clear()},e.prototype.destruct=function(){this.isDestructed||(this.progressbar.destruct(),this.message.destruct(),this.async&&this.async.destruct(),this.events&&this.e.destruct(),this.buffer&&this.buffer.clear(),a.Dom.safeRemove(this.container),t.prototype.destruct.call(this))},e.esNext=!1,n.__decorate([(0,l.hook)(a.STATUSES.beforeDestruct)],e.prototype,"beforeDestruct",null),o=n.__decorate([(0,l.derive)(u.Mods,u.Elms)],e)}(a.Component);e.View=p,p.defaultOptions={extraButtons:[],textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},13523:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Jodit=void 0,o(1261),"undefined"!=typeof window&&o(62175);var n=o(37363);Object.defineProperty(e,"Jodit",{enumerable:!0,get:function(){return n.Jodit}});var r=o(94946),i=o(51923),s=o(49940),a=o(71910),c=o(87986);o(74751),o(48772),Object.keys(s).forEach((function(t){n.Jodit[t]=s[t]}));var l=function(t){return"__esModule"!==t};Object.keys(c).filter(l).forEach((function(t){a.Icon.set(t.replace("_","-"),c[t])})),Object.keys(a).filter(l).forEach((function(t){n.Jodit.modules[t]=a[t]})),Object.keys(i).filter(l).forEach((function(t){n.Jodit.decorators[t]=i[t]})),["Confirm","Alert","Prompt"].forEach((function(t){n.Jodit[t]=a[t]})),Object.keys(r.default).filter(l).forEach((function(t){n.Jodit.lang[t]=r.default[t]}))},37363:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Jodit=void 0;var n=o(52784),r=o(733),i=o(49940),s=o(71910),a=o(16892),c=o(98416),l=o(49940),u=o(58706),d=o(51923),f=o(38017),p=o(42239),h="data-jodit-default-style-display",v="data-jodit-default-classes",Jodit=function(t){function Jodit(o,n){var r=t.call(this,n,!0)||this;r.isJodit=!0,r.commands=new Map,r.__selectionLocked=null,r.__wasReadOnly=!1,r.createInside=new s.Create((function(){return r.ed}),r.o.createAttributes),r.editorIsActive=!1,r.__mode=i.MODE_WYSIWYG,r.__callChangeCount=0,r.__isSilentChange=!1,r.__elementToPlace=new Map;try{var l=(0,a.resolveElement)(o,r.o.shadowRoot||r.od);if(e.isJoditAssigned(l))return l.component}catch(t){throw r.destruct(),t}r.setStatus(s.STATUSES.beforeInit),r.id=(0,a.attr)((0,a.resolveElement)(o,r.o.shadowRoot||r.od),"id")||(new Date).getTime().toString(),u.instances[r.id]=r,r.storage=c.Storage.makeStorage(!0,r.id),r.attachEvents(n),r.e.on(r.ow,"resize",(function(){r.e&&r.e.fire("resize")})),r.e.on("prepareWYSIWYGEditor",r.__prepareWYSIWYGEditor),r.selection=new s.Select(r);var d=r.beforeInitHook();return(0,a.callPromise)(d,(function(){r.e.fire("beforeInit",r);var t=u.pluginSystem.init(r);(0,a.callPromise)(t,(function(){r.e.fire("afterPluginSystemInit",r),r.e.on("changePlace",(function(){r.setReadOnly(r.o.readonly),r.setDisabled(r.o.disabled)})),r.places.length=0;var t=r.addPlace(o,n);u.instances[r.id]=r,(0,a.callPromise)(t,(function(){r.e&&r.e.fire("afterInit",r),r.afterInitHook(),r.setStatus(s.STATUSES.ready),r.e.fire("afterConstructor",r)}))}))})),r}var e;return n.__extends(Jodit,t),e=Jodit,Jodit.prototype.className=function(){return"Jodit"},Jodit.prototype.waitForReady=function(){var t=this;return this.isReady?Promise.resolve(this):this.async.promise((function(e){t.hookStatus("ready",(function(){return e(t)}))}))},Object.defineProperty(Jodit,"ready",{get:function(){return new Promise((function(t){u.eventEmitter.on("oditready",t)}))},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"text",{get:function(){if(this.editor)return this.editor.innerText||"";var t=this.createInside.div();return t.innerHTML=this.getElementValue(),t.innerText||""},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"defaultTimeout",{get:function(){return(0,a.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:r.Config.defaultOptions.defaultTimeout},enumerable:!1,configurable:!0}),Jodit.atom=function(t){return(0,a.markAsAtomic)(t)},Jodit.make=function(t,o){return new e(t,o)},Jodit.isJoditAssigned=function(t){return t&&(0,a.isJoditObject)(t.component)&&!t.component.isInDestruct},Object.defineProperty(Jodit,"defaultOptions",{get:function(){return r.Config.defaultOptions},enumerable:!1,configurable:!0}),Jodit.prototype.__setPlaceField=function(t,e){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[t]=e},Object.defineProperty(Jodit.prototype,"element",{get:function(){return this.currentPlace.element},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"editor",{get:function(){return this.currentPlace.editor},set:function(t){this.__setPlaceField("editor",t)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"container",{get:function(){return this.currentPlace.container},set:function(t){this.__setPlaceField("container",t)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"workplace",{get:function(){return this.currentPlace.workplace},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"statusbar",{get:function(){return this.currentPlace.statusbar},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"iframe",{get:function(){return this.currentPlace.iframe},set:function(t){this.__setPlaceField("iframe",t)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"history",{get:function(){return this.currentPlace.history},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"observer",{get:function(){return this.history},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"editorWindow",{get:function(){return this.currentPlace.editorWindow},set:function(t){this.__setPlaceField("editorWindow",t)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"ew",{get:function(){return this.editorWindow},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"editorDocument",{get:function(){return this.currentPlace.editorWindow.document},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"ed",{get:function(){return this.editorDocument},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"options",{get:function(){return this.currentPlace.options},set:function(t){this.__setPlaceField("options",t)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"s",{get:function(){return this.selection},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"uploader",{get:function(){return this.getInstance("Uploader",this.o.uploader)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"filebrowser",{get:function(){var t=this,e=(0,a.ConfigProto)({defaultTimeout:t.defaultTimeout,uploader:t.o.uploader,language:t.o.language,license:t.o.license,theme:t.o.theme,shadowRoot:t.o.shadowRoot,defaultCallback:function(e){e.files&&e.files.length&&e.files.forEach((function(o,n){var r=e.baseurl+o;e.isImages&&e.isImages[n]?t.s.insertImage(r,null,t.o.imageDefaultWidth):t.s.insertNode(t.createInside.fromHTML("<a href='".concat(r,"' title='").concat(r,"'>").concat(r,"</a>")))}))}},this.o.filebrowser);return t.getInstance("FileBrowser",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"mode",{get:function(){return this.__mode},set:function(t){this.setMode(t)},enumerable:!1,configurable:!0}),Jodit.prototype.getNativeEditorValue=function(){var t=this.e.fire("beforeGetNativeEditorValue");return(0,a.isString)(t)?t:this.editor?this.editor.innerHTML:this.getElementValue()},Jodit.prototype.setNativeEditorValue=function(t){var e={value:t};this.e.fire("beforeSetNativeEditorValue",e)||this.editor&&(this.editor.innerHTML=e.value)},Object.defineProperty(Jodit.prototype,"value",{get:function(){return this.getEditorValue()},set:function(t){this.setEditorValue(t),this.history.__processChanges()},enumerable:!1,configurable:!0}),Jodit.prototype.synchronizeValues=function(){this.__imdSynchronizeValues()},Jodit.prototype.__imdSynchronizeValues=function(){this.setEditorValue()},Jodit.prototype.getEditorValue=function(t,e){var o;if(void 0===t&&(t=!0),void 0!==(o=this.e.fire("beforeGetValueFromEditor",e)))return o;o=this.getNativeEditorValue().replace(i.INVISIBLE_SPACE_REG_EXP(),""),t&&(o=o.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===o&&(o="");var n={value:o};return this.e.fire("afterGetValueFromEditor",n,e),n.value},Jodit.prototype.setEditorValue=function(t){var e=this.e.fire("beforeSetValueToEditor",t);if(!1!==e)if((0,a.isString)(e)&&(t=e),this.editor){if(!(0,a.isString)(t)&&!(0,a.isVoid)(t))throw(0,a.error)("value must be string");(0,a.isVoid)(t)||this.getNativeEditorValue()===t||this.setNativeEditorValue(t),this.e.fire("postProcessSetEditorValue");var o=this.getElementValue(),n=this.getEditorValue();if(!this.__isSilentChange&&o!==n&&i.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.__setElementValue(n),this.__callChangeCount+=1;try{this.history.__upTick(),this.e.fire("change",n,o),this.e.fire(this.history,"change",n,o)}finally{this.__callChangeCount=0}}}else void 0!==t&&this.__setElementValue(t)},Jodit.prototype.updateElementValue=function(){this.__setElementValue(this.getEditorValue())},Jodit.prototype.getElementValue=function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML},Jodit.prototype.setElementValue=function(t){var e=this.getElementValue();return(void 0===t||(0,a.isString)(t)&&t!==e)&&(null!=t||(t=e),t!==this.getEditorValue()&&this.setEditorValue(t)),this.__setElementValue(t)},Jodit.prototype.__setElementValue=function(t){var e=this;if(!(0,a.isString)(t))throw(0,a.error)("value must be string");if(this.element!==this.container&&t!==this.getElementValue()){var o={value:t},n=this.e.fire("beforeSetElementValue",o);(0,a.callPromise)(n,(function(){void 0!==e.element.value?e.element.value=o.value:e.element.innerHTML=o.value,e.e.fire("afterSetElementValue",o)}))}},Jodit.prototype.registerCommand=function(t,e,o){var n=t.toLowerCase(),r=this.commands.get(n);if(void 0===r&&this.commands.set(n,r=[]),r.push(e),!(0,a.isFunction)(e)){var i=this.o.commandToHotkeys[n]||this.o.commandToHotkeys[t]||e.hotkeys;i&&this.registerHotkeyToCommand(i,n,null==o?void 0:o.stopPropagation)}return this},Jodit.prototype.registerHotkeyToCommand=function(t,e,o){var n=this;void 0===o&&(o=!0);var r=(0,a.asArray)(t).map(a.normalizeKeyAliases).map((function(t){return t+".hotkey"})).join(" ");this.e.off(r).on(r,(function(t,r){return r&&(r.shouldStop=null==o||o),n.execCommand(e)}))},Jodit.prototype.execCommand=function(t,e,o){for(var r,i=[],s=3;arguments.length>s;s++)i[s-3]=arguments[s];if(this.s.isFocused()||this.s.focus(),!this.o.readonly||this.o.allowCommandsInReadOnly.includes(t)){var a;if(t=t.toLowerCase(),!1!==(a=(r=this.e).fire.apply(r,n.__spreadArray(["beforeCommand",t,e,o],n.__read(i),!1)))&&(a=this.__execCustomCommands.apply(this,n.__spreadArray([t,e,o],n.__read(i),!1))),!1!==a)if(this.s.focus(),"selectall"===t)this.s.select(this.editor,!0),this.s.expandSelection();else try{a=this.nativeExecCommand(t,e,o)}catch(t){}return this.e.fire("afterCommand",t,e,o),this.setEditorValue(),a}},Jodit.prototype.nativeExecCommand=function(t,e,o){this.__isSilentChange=!0;try{return this.ed.execCommand(t,e,o)}finally{this.__isSilentChange=!1}},Jodit.prototype.__execCustomCommands=function(t,e,o){for(var r=this,i=[],s=3;arguments.length>s;s++)i[s-3]=arguments[s];t=t.toLowerCase();var c,l=this.commands.get(t);if(void 0!==l)return l.forEach((function(s){var l,u=(l=(0,a.isFunction)(s)?s:s.exec).call.apply(l,n.__spreadArray([r,t,e,o],n.__read(i),!1));void 0!==u&&(c=u)})),c},Jodit.prototype.lock=function(e){return void 0===e&&(e="any"),!!t.prototype.lock.call(this,e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)},Jodit.prototype.unlock=function(){return!!t.prototype.unlock.call(this)&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)},Jodit.prototype.getMode=function(){return this.mode},Jodit.prototype.isEditorMode=function(){return this.getRealMode()===i.MODE_WYSIWYG},Jodit.prototype.getRealMode=function(){if(this.getMode()!==i.MODE_SPLIT)return this.getMode();var t=this.od.activeElement;return t&&(t===this.iframe||s.Dom.isOrContains(this.editor,t)||s.Dom.isOrContains(this.toolbar.container,t))?i.MODE_WYSIWYG:i.MODE_SOURCE},Jodit.prototype.setMode=function(t){var e=this,o=this.getMode(),n={mode:parseInt(t.toString(),10)},r=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",n)&&(this.__mode=[i.MODE_SOURCE,i.MODE_WYSIWYG,i.MODE_SPLIT].includes(n.mode)?n.mode:i.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),r.forEach((function(t){e.container.classList.remove(t)})),this.container.classList.add(r[this.mode-1]),o!==this.getMode()&&this.e.fire("afterSetMode"))},Jodit.prototype.toggleMode=function(){var t=this.getMode();[i.MODE_SOURCE,i.MODE_WYSIWYG,this.o.useSplitMode?i.MODE_SPLIT:9].includes(t+1)?t+=1:t=i.MODE_WYSIWYG,this.setMode(t)},Jodit.prototype.setDisabled=function(t){this.o.disabled=t;var e=this.__wasReadOnly;this.setReadOnly(t||e),this.__wasReadOnly=e,this.editor&&(this.editor.setAttribute("aria-disabled",t.toString()),this.container.classList.toggle("jodit_disabled",t),this.e.fire("disabled",t))},Jodit.prototype.getDisabled=function(){return this.o.disabled},Jodit.prototype.setReadOnly=function(t){this.__wasReadOnly!==t&&(this.__wasReadOnly=t,this.o.readonly=t,t?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",t))},Jodit.prototype.getReadOnly=function(){return this.o.readonly},Jodit.prototype.focus=function(){this.getMode()!==i.MODE_SOURCE&&this.s.focus()},Object.defineProperty(Jodit.prototype,"isFocused",{get:function(){return this.s.isFocused()},enumerable:!1,configurable:!0}),Jodit.prototype.beforeInitHook=function(){},Jodit.prototype.afterInitHook=function(){},Jodit.prototype.initOptions=function(t){this.options=(0,a.ConfigProto)(t||{},r.Config.defaultOptions)},Jodit.prototype.initOwners=function(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow},Jodit.prototype.addPlace=function(t,e){var o=this,n=(0,a.resolveElement)(t,this.o.shadowRoot||this.od);this.attachEvents(e),n.attributes&&(0,a.toArray)(n.attributes).forEach((function(t){var n=t.name,i=t.value;void 0===r.Config.defaultOptions[n]||e&&void 0!==e[n]||(-1!==["readonly","disabled"].indexOf(n)&&(i=""===i||"true"===i),/^[0-9]+(\.)?([0-9]+)?$/.test(i.toString())&&(i=Number(i)),o.options[n]=i)}));var i=this.c.div("jodit-container");i.classList.add("jodit"),i.classList.add("jodit-container"),i.classList.add("jodit_theme_".concat(this.o.theme||"default")),m(this.o.className,i),this.o.containerStyle&&(0,a.css)(i,this.o.containerStyle);var c=this.o.styleValues;Object.keys(c).forEach((function(t){var e=(0,a.kebabCase)(t);i.style.setProperty("--jd-".concat(e),c[t])})),i.setAttribute("contenteditable","false");var l=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(n.nodeName)&&(i=n,n.setAttribute(v,n.className.toString()),l=i.innerHTML,i.innerHTML=""),i.classList.add("jodit_inline"),i.classList.add("jodit-container")),n!==i&&(n.style.display&&n.setAttribute(h,n.style.display),n.style.display="none");var u=this.c.div("jodit-workplace",{contenteditable:!1});i.appendChild(u),n.parentNode&&n!==i&&n.parentNode.insertBefore(i,n),Object.defineProperty(n,"component",{enumerable:!1,configurable:!0,value:this});var d=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});u.appendChild(d);var f={editor:d,element:n,container:i,workplace:u,statusbar:new s.StatusBar(this,i),options:this.isReady?(0,a.ConfigProto)(e||{},r.Config.defaultOptions):this.options,history:new s.History(this),editorWindow:this.ow};this.__elementToPlace.set(d,f),this.setCurrentPlace(f),this.places.push(f),this.setNativeEditorValue(this.getElementValue());var p=this.__initEditor(l),g=this.options;return(0,a.callPromise)(p,(function(){g.enableDragAndDropFileToEditor&&g.uploader&&(g.uploader.url||g.uploader.insertImageAsBase64URI)&&o.uploader.bind(o.editor),o.__elementToPlace.get(o.editor)||o.__elementToPlace.set(o.editor,f),o.e.fire("afterAddPlace",f)}))},Jodit.prototype.addDisclaimer=function(t){this.workplace.appendChild(t)},Jodit.prototype.setCurrentPlace=function(t){this.currentPlace!==t&&(this.isEditorMode()||this.setMode(i.MODE_WYSIWYG),this.currentPlace=t,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",t))},Jodit.prototype.__initEditor=function(t){var e=this,o=this.__createEditor();return(0,a.callPromise)(o,(function(){if(!e.isInDestruct){if(e.element!==e.container){var o=e.getElementValue();o!==e.getEditorValue()&&e.setEditorValue(o)}else null!=t&&e.setEditorValue(t);var n=e.o.defaultMode;if(e.o.saveModeInStorage){var r=e.storage.get("jodit_default_mode");"string"==typeof r&&(n=parseInt(r,10))}e.setMode(n),e.o.readonly&&(e.__wasReadOnly=!1,e.setReadOnly(!0)),e.o.disabled&&e.setDisabled(!0);try{e.ed.execCommand("defaultParagraphSeparator",!1,e.o.enter.toLowerCase())}catch(t){}try{e.ed.execCommand("enableObjectResizing",!1,"false")}catch(t){}try{e.ed.execCommand("enableInlineTableEditing",!1,"false")}catch(t){}}}))},Jodit.prototype.__createEditor=function(){var t=this,e=this.editor,o=this.e.fire("createEditor",this);return(0,a.callPromise)(o,(function(){if(!t.isInDestruct){if((!1===o||(0,a.isPromise)(o))&&s.Dom.safeRemove(e),m(t.o.editorClassName||t.o.editorCssClass,t.editor),t.o.editorCssClass&&t.editor.classList.add(t.o.editorCssClass),t.o.style&&(0,a.css)(t.editor,t.o.style),t.e.on("synchro",(function(){t.setEditorValue()})).on("focus",(function(){t.editorIsActive=!0})).on("blur",(function(){return t.editorIsActive=!1})),t.__prepareWYSIWYGEditor(),t.o.direction){var n="rtl"===t.o.direction.toLowerCase()?"rtl":"ltr";t.container.style.direction=n,t.container.setAttribute("dir",n),t.toolbar.setDirection(n)}t.o.triggerChangeEvent&&t.e.on("change",t.async.debounce((function(){t.e&&t.e.fire(t.element,"change")}),t.defaultTimeout))}}))},Jodit.prototype.__prepareWYSIWYGEditor=function(){var t=this,e=this.editor;if(this.o.direction){var o="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=o,this.editor.setAttribute("dir",o)}this.e.on(e,"mousedown touchstart focus",(function(){var o=t.__elementToPlace.get(e);o&&t.setCurrentPlace(o)})).on(e,"compositionend",this.synchronizeValues).on(e,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",(function(e){if(!t.o.readonly&&!t.__isSilentChange&&!(e instanceof t.ew.KeyboardEvent&&e.isComposing)&&t.e&&t.e.fire){if(!1===t.e.fire(e.type,e))return!1;t.synchronizeValues()}}))},Jodit.prototype.fetch=function(t,e){var o=this,r=new p.Ajax(n.__assign({url:t},e),this.o.defaultAjaxOptions),i=function(){o.e.off("beforeDestruct",i),o.progressbar.progress(100).hide(),r.destruct()};this.e.one("beforeDestruct",i),this.progressbar.show().progress(30);var s=r.send();return s.finally(i).catch((function(){return null})),s},Jodit.prototype.destruct=function(){var e=this;if(!this.isInDestruct&&(this.setStatus(s.STATUSES.beforeDestruct),this.__elementToPlace.clear(),this.editor)){var o=this.getEditorValue();this.storage.clear(),this.buffer.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body),this.places.forEach((function(t){var n=t.container,r=t.workplace,i=t.statusbar,c=t.element,l=t.iframe,u=t.editor,d=t.history;if(c!==n)if(c.hasAttribute(h)){var f=(0,a.attr)(c,h);f&&(c.style.display=f,c.removeAttribute(h))}else c.style.display="";else c.hasAttribute(v)&&(c.className=(0,a.attr)(c,v)||"",c.removeAttribute(v));c.hasAttribute("style")&&!(0,a.attr)(c,"style")&&c.removeAttribute("style"),i.destruct(),e.e.off(n),e.e.off(c),e.e.off(u),s.Dom.safeRemove(r),s.Dom.safeRemove(u),n!==c&&s.Dom.safeRemove(n),Object.defineProperty(c,"component",{enumerable:!1,configurable:!0,value:null}),s.Dom.safeRemove(l),n===c&&(c.innerHTML=o),d.destruct()})),this.places.length=0,this.currentPlace={},delete u.instances[this.id],t.prototype.destruct.call(this)}},Jodit.fatMode=!1,Jodit.plugins=u.pluginSystem,Jodit.modules=u.modules,Jodit.ns=u.modules,Jodit.decorators={},Jodit.constants=i,Jodit.instances=u.instances,Jodit.lang=l.lang,Jodit.core={Plugin:s.Plugin},n.__decorate([d.cache],Jodit.prototype,"uploader",null),n.__decorate([d.cache],Jodit.prototype,"filebrowser",null),n.__decorate([(0,d.throttle)()],Jodit.prototype,"synchronizeValues",null),n.__decorate([(0,d.watch)(":internalChange")],Jodit.prototype,"updateElementValue",null),n.__decorate([d.autobind],Jodit.prototype,"__prepareWYSIWYGEditor",null),e=n.__decorate([(0,d.derive)(f.Dlgs)],Jodit)}(s.ViewWithToolbar);function m(t,e){t&&t.split(/\s+/).forEach((function(t){return e.classList.add(t)}))}e.Jodit=Jodit},94946:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(74699),r={},i=o(89091),s=o(61124),a=o(34554),c=o(57889),l=o(88716),u=o(72632),d=o(46524),f=o(32920),p=o(53946),h=o(90069),v=o(53283),m=o(87409),g=o(134),y=o(65296),_=o(31130),b=o(65453),w=o(10676),S=o(38039),C=o(17046);r={ar:i,cs_cz:s,de:a,en:c,es:l,fr:u,he:d,hu:f,id:p,it:h,ja:v,ko:m,nl:g,pl:y,pt_br:_,ru:b,tr:w,zh_cn:S,zh_tw:C};var j=o(73725),x=function(t){return t?t.default||t:{}},E={};(0,n.isArray)(x(j))&&x(j).forEach((function(t,e){E[e]=t})),Object.keys(r).forEach((function(t){var e=x(r[t]);(0,n.isArray)(e)?(r[t]={},e.forEach((function(e,o){r[t][E[o]]=e}))):r[t]=e})),e.default=r},23853:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenu=void 0;var n=o(52784);o(53224);var r=o(88153),i=o(24697),s=o(74699),a=o(9119),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.className=function(){return"ContextMenu"},e.prototype.show=function(t,e,o){var n=this,r=this,a=this.j.c.div(this.getFullElName("actions"));(0,s.isArray)(o)&&(o.forEach((function(t){if(t){var e=(0,i.Button)(n.jodit,t.icon||"empty",t.title);n.jodit&&e.setParentView(n.jodit),e.setMod("context","menu"),e.onAction((function(e){var o;return null===(o=t.exec)||void 0===o||o.call(r,e),r.close(),!1})),a.appendChild(e.container)}})),this.setContent(a).open((function(){return{left:t,top:e,width:0,height:0}}),!0))},n.__decorate([a.component],e)}(r.Popup);e.ContextMenu=c},22187:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Alert=void 0;var n=o(48310),r=o(16892),i=o(96582),s=o(98440);e.Alert=function(t,e,o,a){void 0===a&&(a="jodit-dialog_alert"),(0,r.isFunction)(e)&&(o=e,e=void 0);var c=this instanceof n.Dialog?this:new n.Dialog,l=c.c.div(a),u=(0,s.Button)(c,"ok","Ok");return(0,r.asArray)(t).forEach((function(t){l.appendChild(i.Dom.isNode(t)?t:c.c.fromHTML(t))})),u.onAction((function(){o&&(0,r.isFunction)(o)&&!1===o(c)||c.close()})),c.setFooter([u]),c.open(l,e||"&nbsp;",!0,!0),u.focus(),c}},26914:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Confirm=void 0;var n=o(48310),r=o(6244),i=o(70305);e.Confirm=function(t,e,o){var s=this instanceof n.Dialog?this:new n.Dialog,a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),c=s.c.element("label");(0,r.isFunction)(e)&&(o=e,e=void 0),c.appendChild(s.c.fromHTML(t)),a.appendChild(c);var l=function(t){return function(){o&&!1===o(t)||s.close()}},u=(0,i.Button)(s,"cancel","Cancel"),d=(0,i.Button)(s,"ok","Yes");return u.onAction(l(!1)),d.onAction(l(!0)),s.e.on(a,"submit",(function(){return l(!0)(),!1})),s.setFooter([d,u]),s.open(a,e||"&nbsp;",!0,!0),d.focus(),s}},48310:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Dialog=void 0;var n=o(52784);o(49073);var r=o(733),i=o(49940),s=o(16892);o(52378);var a=o(78063),c=o(96582),l=o(68311),u=o(58706),d=o(51923),f=o(9e3),p=o(98440);r.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[]},r.Config.prototype.controls.dialog={close:{icon:"cancel",exec:function(t){t.close()}}};var h=function(t){function e(e){var o=t.call(this,e)||this;o.destroyAfterClose=!1,o.moved=!1,o.resizable=!1,o.draggable=!1,o.startX=0,o.startY=0,o.startPoint={x:0,y:0,w:0,h:0},o.lockSelect=function(){o.setMod("moved",!0)},o.unlockSelect=function(){o.setMod("moved",!1)},o.onResize=function(){o.options&&o.o.resizable&&!o.moved&&o.isOpened&&!o.offsetX&&!o.offsetY&&o.setPosition()},o.isModal=!1,o.isOpened=!1;var n=o;n.options=(0,s.ConfigProto)(null!=e?e:{},(0,s.ConfigProto)({toolbarButtonSize:"middle"},(0,s.ConfigProto)(r.Config.prototype.dialog,f.View.defaultOptions))),c.Dom.safeRemove(n.container);var i=o.getFullElName.bind(o);n.container=o.c.fromHTML('<div style="z-index:'.concat(n.o.zIndex,'" class="jodit jodit-dialog ').concat(o.componentName,'">\n\t\t\t\t<div class="').concat(i("overlay"),'"></div>\n\t\t\t\t<div class="').concat(o.getFullElName("panel"),'">\n\t\t\t\t\t<div class="').concat(i("header"),'">\n\t\t\t\t\t\t<div class="').concat(i("header-title"),'"></div>\n\t\t\t\t\t\t<div class="').concat(i("header-toolbar"),'"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="').concat(i("content"),'"></div>\n\t\t\t\t\t<div class="').concat(i("footer"),'"></div>\n\t\t\t\t\t<div class="').concat(i("resizer"),'">').concat(p.Icon.get("resize_handler"),"</div>\n\t\t\t\t</div>\n\t\t\t</div>")),(0,s.attr)(n.container,"role","dialog"),Object.defineProperty(n.container,"component",{value:o}),n.setMod("theme",n.o.theme||"default").setMod("resizable",Boolean(n.o.resizable));var a=n.getElm("panel"),l=n.getElm("resizer"),d=n.getElm("header-title"),h=n.getElm("content"),v=n.getElm("footer"),m=n.getElm("header-toolbar");o.dialog=a,o.resizer=l,o.dialogbox_header=d,o.dialogbox_content=h,o.dialogbox_footer=v,o.dialogbox_toolbar=m,(0,s.css)(n.dialog,{maxWidth:n.options.maxWidth,minHeight:n.options.minHeight,minWidth:n.options.minWidth});var g=n.getElm("header");g&&n.e.on(g,"pointerdown touchstart",n.onHeaderMouseDown),n.e.on(n.resizer,"mousedown touchstart",n.onResizerMouseDown);var y=u.pluginSystem.get("fullsize");return(0,s.isFunction)(y)&&y(n),o.e.on(n.container,"close_dialog",n.close).on(o.ow,"keydown",o.onEsc).on(o.ow,"resize",o.onResize),o}return n.__extends(e,t),e.prototype.className=function(){return"Dialog"},Object.defineProperty(e.prototype,"destination",{get:function(){var t;return null!==(t=this.o.shadowRoot)&&void 0!==t?t:this.od.body},enumerable:!1,configurable:!0}),e.prototype.setElements=function(t,e){var o=this,n=[];(0,s.asArray)(e).forEach((function(e){if((0,s.isArray)(e)){var r=o.c.div(o.getFullElName("column"));return n.push(r),t.appendChild(r),o.setElements(r,e)}var i;i=(0,s.isString)(e)?o.c.fromHTML(e):(0,s.hasContainer)(e)?e.container:e,n.push(i),i.parentNode!==t&&t.appendChild(i)})),(0,s.toArray)(t.childNodes).forEach((function(e){-1===n.indexOf(e)&&t.removeChild(e)}))},e.prototype.onMouseUp=function(){(this.draggable||this.resizable)&&(this.removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))},e.prototype.onHeaderMouseDown=function(t){var e=t.target;!this.o.draggable||e&&e.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=t.clientX,this.startY=t.clientY,this.startPoint.x=(0,s.css)(this.dialog,"left"),this.startPoint.y=(0,s.css)(this.dialog,"top"),this.setMaxZIndex(),t.cancelable&&t.preventDefault(),this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startMove"))},e.prototype.onMouseMove=function(t){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+t.clientX-this.startX,this.startPoint.y+t.clientY-this.startY),this.e&&this.e.fire(this,"move",t.clientX-this.startX,t.clientY-this.startY),t.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+t.clientX-this.startX,this.startPoint.h+t.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",t.clientX-this.startX,t.clientY-this.startY))},e.prototype.onEsc=function(t){if(this.isOpened&&t.key===i.KEY_ESC&&!0!==this.getMod("static")){var e=this.getMaxZIndexDialog();e?e.close():this.close(),t.stopImmediatePropagation()}},e.prototype.onResizerMouseDown=function(t){this.resizable=!0,this.startX=t.clientX,this.startY=t.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")},e.prototype.addGlobalResizeListeners=function(){var t=this;t.e.on(t.ow,"pointermove touchmove",t.onMouseMove).on(t.ow,"pointerup touchend",t.onMouseUp)},e.prototype.removeGlobalResizeListeners=function(){var t=this;t.e.off(t.ow,"mousemove pointermove",t.onMouseMove).off(t.ow,"mouseup pointerup",t.onMouseUp)},e.prototype.setSize=function(t,e){return null==t&&(t=this.dialog.offsetWidth),null==e&&(e=this.dialog.offsetHeight),(0,s.css)(this.dialog,{width:t,height:e}),this},e.prototype.calcAutoSize=function(){return this.setSize("auto","auto"),this.setSize(),this},e.prototype.setPosition=function(t,e){var o=this.ow.innerWidth/2-this.dialog.offsetWidth/2,n=this.ow.innerHeight/2-this.dialog.offsetHeight/2;return 0>o&&(o=0),0>n&&(n=0),void 0!==t&&void 0!==e&&(this.offsetX=t,this.offsetY=e,this.moved=Math.abs(t-o)>100||Math.abs(e-n)>100),this.dialog.style.left=(t||o)+"px",this.dialog.style.top=(e||n)+"px",this},e.prototype.setHeader=function(t){return this.setElements(this.dialogbox_header,t),this},e.prototype.setContent=function(t){return this.setElements(this.dialogbox_content,t),this},e.prototype.setFooter=function(t){return this.setElements(this.dialogbox_footer,t),this.setMod("footer",Boolean(t)),this},e.prototype.getZIndex=function(){return parseInt((0,s.css)(this.container,"zIndex"),10)||0},e.prototype.getMaxZIndexDialog=function(){var t,e,o=0,n=this;return(0,s.$$)(".jodit-dialog",this.destination).forEach((function(r){t=r.component,e=parseInt((0,s.css)(r,"zIndex"),10),t.isOpened&&!isNaN(e)&&e>o&&(n=t,o=e)})),n},e.prototype.setMaxZIndex=function(){var t=20000004,e=0;(0,s.$$)(".jodit-dialog",this.destination).forEach((function(o){e=parseInt((0,s.css)(o,"zIndex"),10),t=Math.max(isNaN(e)?0:e,t)})),this.container.style.zIndex=(t+1).toString()},e.prototype.toggleFullSize=function(e){(0,s.isVoid)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),t.prototype.toggleFullSize.call(this,e)},e.prototype.open=function(t,e,o,n){if(u.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,s.isBoolean)(t)&&(o=t),(0,s.isBoolean)(e)&&(n=e),this.destroyAfterClose=!0===o;var r=(0,s.isBoolean)(t)?void 0:t,i=(0,s.isBoolean)(e)?void 0:e;return void 0!==i&&this.setHeader(i),r&&this.setContent(r),this.setMod("active",!0),this.isOpened=!0,this.setModal(n),this.destination.appendChild(this.container),this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex(),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this},e.prototype.setModal=function(t){return this.isModal=Boolean(t),this.setMod("modal",this.isModal),this},e.prototype.close=function(){return this.isDestructed||!this.isOpened||!0===this.getMod("static")||!1===this.e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),c.Dom.safeRemove(this.container),this.removeGlobalResizeListeners(),this.destroyAfterClose&&this.destruct(),this.e.fire(this,"afterClose"),this.e.fire(this.ow,"joditCloseDialog")),this},e.prototype.buildToolbar=function(){this.o.buttons&&this.toolbar.build((0,s.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)},e.prototype.destruct=function(){this.isInDestruct||(this.setStatus(l.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.onEsc).off(this.ow,"resize",this.onResize)),t.prototype.destruct.call(this))},n.__decorate([d.autobind],e.prototype,"onMouseUp",null),n.__decorate([d.autobind],e.prototype,"onHeaderMouseDown",null),n.__decorate([d.autobind],e.prototype,"onMouseMove",null),n.__decorate([d.autobind],e.prototype,"onEsc",null),n.__decorate([d.autobind],e.prototype,"onResizerMouseDown",null),n.__decorate([d.autobind],e.prototype,"close",null),n.__decorate([(0,d.hook)("ready")],e.prototype,"buildToolbar",null),n.__decorate([d.component],e)}(a.ViewWithToolbar);e.Dialog=h},74353:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Confirm=e.Prompt=e.Alert=e.Dialog=void 0;var n=o(48310);Object.defineProperty(e,"Dialog",{enumerable:!0,get:function(){return n.Dialog}});var r=o(22187);Object.defineProperty(e,"Alert",{enumerable:!0,get:function(){return r.Alert}});var i=o(69100);Object.defineProperty(e,"Prompt",{enumerable:!0,get:function(){return i.Prompt}});var s=o(26914);Object.defineProperty(e,"Confirm",{enumerable:!0,get:function(){return s.Confirm}})},69100:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Prompt=void 0;var n=o(74353),r=o(98440),i=o(16892);e.Prompt=function(t,e,o,s,a){var c=this instanceof n.Dialog?this:new n.Dialog,l=(0,r.Button)(c,"cancel","Cancel"),u=(0,r.Button)(c,"ok","Ok"),d=c.c.element("form",{class:"jodit-dialog_prompt"}),f=c.c.element("input",{autofocus:!0,class:"jodit-input"}),p=c.c.element("label");(0,i.isFunction)(e)&&(o=e,e=void 0),s&&(0,i.attr)(f,"placeholder",s),p.appendChild(c.c.text(t)),d.appendChild(p),d.appendChild(f),l.onAction(c.close);var h=function(){o&&(0,i.isFunction)(o)&&!1===o(f.value)||c.close()};return u.onAction(h),c.e.on(d,"submit",(function(){return h(),!1})),c.setFooter([u,l]),c.open(d,e||"&nbsp;",!0,!0),f.focus(),void 0!==a&&a.length&&(f.value=a,f.select()),c}},1383:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784),r=o(96582),i=o(16892),s=o(74738),a=o(98440),c=o(7917),l=o(67757),u=o(9564),d=o(15169),f=o(54812),p="jodit-filebrowser-preview",h=function(t,e){return void 0===t&&(t="next"),void 0===e&&(e="right"),'<div class="'.concat(p,"__navigation ").concat(p,"__navigation_arrow_").concat(t,'">')+""+a.Icon.get("angle-"+e)+"</a>"};e.default=function(t){if(!t.o.contextMenu)return function(){};var e=(0,s.makeContextMenu)(t);return function(o){var s=(0,c.getItem)(o.target,t.container);if(s){var a=s,v=t.options,m=function(t){return(0,i.attr)(a,t)||""};return t.async.setTimeout((function(){var g=(0,c.elementToItem)(s,(0,u.elementsMap)(t));g&&(t.state.activeElements=[g],e.show(o.clientX,o.clientY,[!("1"===m("data-is-file")||!v.editImage||!t.dataProvider.canI("ImageResize")&&!t.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:function(){return l.openImageEditor.call(t,m("href"),m("data-name"),m("data-path"),m("data-source"))}},!!t.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec:function(){t.e.fire("fileRename.filebrowser",m("data-name"),m("data-path"),m("data-source"))}},!!t.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:function(){return n.__awaiter(void 0,void 0,Promise,(function(){var e;return n.__generator(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,(0,f.deleteFile)(t,m("data-name"),m("data-source"))];case 1:return o.sent(),[3,3];case 2:return e=o.sent(),[2,t.status(e)];case 3:return t.state.activeElements=[],[2,(0,d.loadTree)(t).catch(t.status)]}}))}))}},!!v.preview&&{icon:"eye",title:"Preview",exec:function(){var e=t.dlg({buttons:["fullsize","dialog.close"]}),o=t.c.div(p,'<div class="jodit-icon_loader"></div>'),n=t.c.div(p+"__box"),s=t.c.fromHTML(h()),c=t.c.fromHTML(h("prev","left")),l=function(i){var l=t.c.element("img");l.setAttribute("src",i);var u=function(){var i;t.isInDestruct||(t.e.off(l,"load"),r.Dom.detach(o),v.showPreviewNavigation&&(r.Dom.prevWithClass(a,t.files.getFullElName("item"))&&o.appendChild(c),r.Dom.nextWithClass(a,t.files.getFullElName("item"))&&o.appendChild(s)),o.appendChild(n),n.appendChild(l),e.setPosition(),null===(i=null==t?void 0:t.events)||void 0===i||i.fire("previewOpenedAndLoaded"))};t.e.on(l,"load",u),l.complete&&u()};t.e.on([s,c],"click",(function(){if(!(a=this===s?r.Dom.nextWithClass(a,t.files.getFullElName("item")):r.Dom.prevWithClass(a,t.files.getFullElName("item"))))throw(0,i.error)("Need element");r.Dom.detach(o),r.Dom.detach(n),o.innerHTML='<div class="jodit-icon_loader"></div>',l(m("href"))})),t.e.on("beforeDestruct",(function(){e.destruct()})),e.container.classList.add(p+"__dialog"),e.setContent(o),e.setPosition(),e.open(),l(m("href")),t.events.on("beforeDestruct",(function(){e.destruct()})).fire("previewOpened")}},{icon:"upload",title:"Download",exec:function(){var e=m("href");e&&t.ow.open(e)}}]))}),t.defaultTimeout),t.e.on("beforeClose",(function(){return e.close()})).on("beforeDestruct",(function(){return e.destruct()})),o.stopPropagation(),o.preventDefault(),!1}}}},9564:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.elementsMap=void 0;var o=new WeakMap;e.elementsMap=function(t){var e=o.get(t);return e||o.set(t,e={}),e}},93991:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FileBrowserItem=void 0;var n=o(16892),r=function(){function t(t){var e=this;this.data=t,Object.keys(t).forEach((function(o){e[o]=t[o]}))}return t.create=function(e){return e instanceof t?e:new t(e)},Object.defineProperty(t.prototype,"path",{get:function(){return(0,n.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageURL",{get:function(){var t=this.time||(new Date).getTime().toString(),e=this.data,o=e.source,r=e.thumb||e.file;return e.thumbIsAbsolute&&r?r:(0,n.normalizeUrl)(o.baseurl,o.path,r||"")+"?_tmst="+encodeURIComponent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fileURL",{get:function(){var t=this.data.name,e=this.data,o=e.file,r=e.source;return void 0!==o&&(t=o),e.fileIsAbsolute&&t?t:(0,n.normalizeUrl)(r.baseurl,r.path,t||"")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"time",{get:function(){var t=this.data.changed;return t&&("number"==typeof t?new Date(t).toLocaleString():t)||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uniqueHashKey",{get:function(){var t=this.data;return[t.sourceName,t.name,t.file,this.time,t.thumb].join("_").toLowerCase().replace(/[^0-9a-z\-.]/g,"-")},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.data},t}();e.FileBrowserItem=r},7310:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784),r=o(733),i=o(74699),s=o(93717),a=o(17625);r.Config.prototype.filebrowser={namespace:"",extraButtons:[],filter:function(t,e){return e=e.toLowerCase(),(0,i.isString)(t)?-1!==t.toLowerCase().indexOf(e):(0,i.isString)(t.name)?-1!==t.name.toLowerCase().indexOf(e):!(0,i.isString)(t.file)||-1!==t.file.toLowerCase().indexOf(e)},sortBy:"changed-desc",sort:function(t,e,o){var r=n.__read(o.toLowerCase().split("-"),2),s=r[0],c="asc"===r[1],l=function(t,e){return e>t?c?-1:1:t>e?c?1:-1:0};if((0,i.isString)(t))return l(t.toLowerCase(),e.toLowerCase());if(void 0===t[s]||"name"===s)return(0,i.isString)(t.name)?l(t.name.toLowerCase(),e.name.toLowerCase()):(0,i.isString)(t.file)?l(t.file.toLowerCase(),e.file.toLowerCase()):0;switch(s){case"changed":var u=new Date(t.changed).getTime(),d=new Date(e.changed).getTime();return c?u-d:d-u;case"size":return u=(0,a.humanSizeToBytes)(t.size),d=(0,a.humanSizeToBytes)(e.size),c?u-d:d-u}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:function(t){return t.success},getMessage:function(t){return void 0!==t.data.messages&&(0,i.isArray)(t.data.messages)?t.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate:function(t,e,o){var n=this.options,r=this.files.getFullElName("item"),i=n.showFileName,s=n.showFileSize&&t.size,a=n.showFileChangeTime&&t.time,c="";void 0!==t.file&&(c=t.file);var l='<div class="'.concat(r,'-info">').concat(i?'<span class="'.concat(r,'-info-filename">').concat(c,"</span>"):"").concat(s?'<span class="'.concat(r,'-info-filesize">').concat(t.size,"</span>"):"").concat(a?'<span class="'.concat(r,'-info-filechanged">').concat(a,"</span>"):"","</div>");return'<a\n\t\t\tdata-jodit-filebrowser-item="true"\n\t\t\tdata-is-file="'.concat(t.isImage?0:1,'"\n\t\t\tdraggable="true"\n\t\t\tclass="').concat(r,'"\n\t\t\thref="').concat(t.fileURL,'"\n\t\t\tdata-source="').concat(o,'"\n\t\t\tdata-path="').concat(t.path,'"\n\t\t\tdata-name="').concat(c,'"\n\t\t\ttitle="').concat(c,'"\n\t\t\tdata-url="').concat(t.fileURL,'">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="').concat(t.isImage?0:1,'"\n\t\t\t\t\tdata-src="').concat(t.fileURL,'"\n\t\t\t\t\tsrc="').concat(t.imageURL,'"\n\t\t\t\t\talt="').concat(c,'"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t').concat(i||s||a?l:"","\n\t\t\t</a>")},ajax:n.__assign(n.__assign({},r.Config.prototype.defaultAjaxOptions),{url:"",data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,headers:{},prepareData:function(t){return t},process:function(t){return t}}),create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRename:{data:{action:"fileRename"}},folderRename:{data:{action:"folderRename"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}}},r.Config.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,isDisabled:function(t){return!t.dataProvider.canI("FileUpload")},getContent:function(t){var e=new s.UIFileInput(t,{onlyImages:t.state.onlyImages});return t.e.fire("bindUploader.filebrowser",e.container),e.container}},remove:{icon:"bin",isDisabled:function(t){return!t.state.activeElements.length||!t.dataProvider.canI("FileRemove")},exec:function(t){t.e.fire("fileRemove.filebrowser")}},update:{exec:function(t){t.e.fire("update.filebrowser")}},select:{icon:"check",isDisabled:function(t){return!t.state.activeElements.length},exec:function(t){t.e.fire("select.filebrowser")}},edit:{icon:"pencil",isDisabled:function(t){var e=t.state.activeElements;return 1!==e.length||!e[0].isImage||!(t.dataProvider.canI("ImageCrop")||t.dataProvider.canI("ImageResize"))},exec:function(t){t.e.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:function(t){return"tiles"===t.state.view},exec:function(t){t.e.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:function(t){return"list"===t.state.view},exec:function(t){t.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:function(t,e,o){var n=o.container.querySelector(".jodit-input");if(n)return n;var r=t.c.element("input",{class:"jodit-input",placeholder:t.i18n("Filter")});return r.value=t.state.filterWord,t.e.on(r,"keydown mousedown",t.async.debounce((function(){t.e.fire("filter.filebrowser",r.value)}),t.defaultTimeout)),r}},sort:{isInput:!0,getContent:function(t){var e=t.c.fromHTML('<select class="jodit-input jodit-select">'+'<option value="changed-asc">'.concat(t.i18n("Sort by changed")," (⬆)</option>")+'<option value="changed-desc">'.concat(t.i18n("Sort by changed")," (⬇)</option>")+'<option value="name-asc">'.concat(t.i18n("Sort by name")," (⬆)</option>")+'<option value="name-desc">'.concat(t.i18n("Sort by name")," (⬇)</option>")+'<option value="size-asc">'.concat(t.i18n("Sort by size")," (⬆)</option>")+'<option value="size-desc">'.concat(t.i18n("Sort by size")," (⬇)</option>")+"</select>");return e.value=t.state.sortBy,t.e.on("sort.filebrowser",(function(t){e.value!==t&&(e.value=t)})).on(e,"change",(function(){t.e.fire("sort.filebrowser",e.value)})),e}}}},62614:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_SOURCE_NAME=void 0;var n=o(52784),r=o(16892),i=o(42239),s=o(51923),a=o(93991);e.DEFAULT_SOURCE_NAME="default";var c=function(){function t(t,e){this.parent=t,this.options=e,this.__currentPermissions=null,this.ajaxInstances=new Map,this.progressHandler=function(t){}}return Object.defineProperty(t.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),t.prototype.get=function(t){var e=this,o=this.ajaxInstances;if(o.has(t)){var n=o.get(t);null==n||n.abort(),o.delete(t)}var s=(0,r.ConfigProto)(void 0!==this.options[t]?this.options[t]:{},(0,r.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));s.prepareData&&(s.data=s.prepareData.call(this,s.data));var a=new i.Ajax(s);o.set(t,a);var c=a.send();return c.finally((function(){a.destruct(),o.delete(t),e.progressHandler(100)})).catch((function(){return null})),c.then((function(t){return t.json()})).then((function(t){if(t&&!e.isSuccess(t))throw new Error(e.getMessage(t));return t}))},t.prototype.onProgress=function(t){this.progressHandler=t},t.prototype.permissions=function(t,e){return n.__awaiter(this,void 0,Promise,(function(){var o=this;return n.__generator(this,(function(n){return this.o.permissions?(this.o.permissions.data.path=t,this.o.permissions.data.source=e,this.o.permissions.url?[2,this.get("permissions").then((function(t){var e=o.o.permissions.process;if(e||(e=o.o.ajax.process),e){var n=e.call(self,t);n.data.permissions&&(o.__currentPermissions=n.data.permissions)}return o.__currentPermissions}))]:[2,null]):[2,null]}))}))},t.prototype.canI=function(t){var e="allow"+t;return null==this.__currentPermissions||void 0===this.__currentPermissions[e]||this.__currentPermissions[e]},t.prototype.items=function(t,e,o){var n=this;void 0===o&&(o={});var r=this.options;return r.items?(r.items.data.path=t,r.items.data.source=e,r.items.data.mods=o,this.get("items").then((function(t){var e=n.o.items.process;return e||(e=n.o.ajax.process),e&&(t=e.call(self,t)),n.generateItemsList(t.data.sources,o)}))):Promise.reject("Set Items api options")},t.prototype.generateItemsList=function(t,e){var o=this;void 0===e&&(e={});var i=[];return t.forEach((function(t){if(t.files&&t.files.length){var s=o.o.sort;(0,r.isFunction)(s)&&e.sortBy&&t.files.sort((function(t,o){return s(t,o,e.sortBy)})),t.files.forEach((function(r){(function(t){var n;return!(null===(n=e.filterWord)||void 0===n?void 0:n.length)||void 0===o.o.filter||o.o.filter(t,e.filterWord)})(r)&&function(t){return!e.onlyImages||void 0===t.isImage||t.isImage}(r)&&i.push(a.FileBrowserItem.create(n.__assign(n.__assign({},r),{sourceName:t.name,source:t})))}))}})),i},t.prototype.tree=function(t,e){return n.__awaiter(this,void 0,Promise,(function(){var o=this;return n.__generator(this,(function(n){switch(n.label){case 0:return t=(0,r.normalizeRelativePath)(t),this.o.folder?[4,this.permissions(t,e)]:[2,Promise.reject("Set Folder Api options")];case 1:return n.sent(),this.o.folder.data.path=t,this.o.folder.data.source=e,[2,this.get("folder").then((function(t){var e=o.o.folder.process;return e||(e=o.o.ajax.process),e&&(t=e.call(self,t)),t.data.sources}))]}}))}))},t.prototype.getPathByUrl=function(t){var e=this;return(0,r.set)("options.getLocalFileByUrl.data.url",t,this),this.get("getLocalFileByUrl").then((function(t){if(e.isSuccess(t))return t.data;throw(0,r.error)(e.getMessage(t))}))},t.prototype.createFolder=function(t,e,o){var n=this,i=this.o.create;if(!i)throw(0,r.error)("Set Create api options");return i.data.source=o,i.data.path=e,i.data.name=t,this.get("create").then((function(t){if(n.isSuccess(t))return!0;throw(0,r.error)(n.getMessage(t))}))},t.prototype.move=function(t,e,o,n){var i=this,s=n?"fileMove":"folderMove",a=this.options[s];if(!a)throw(0,r.error)("Set Move api options");return a.data.from=t,a.data.path=e,a.data.source=o,this.get(s).then((function(t){if(i.isSuccess(t))return!0;throw(0,r.error)(i.getMessage(t))}))},t.prototype.remove=function(t,e,o,n){var i=this,s=this.o[t];if(!s)throw(0,r.error)('Set "'.concat(t,'" api options'));return s.data.path=e,s.data.name=o,s.data.source=n,this.get(t).then((function(t){return s.process&&(t=s.process.call(i,t)),i.getMessage(t)}))},t.prototype.fileRemove=function(t,e,o){return this.remove("fileRemove",t,e,o)},t.prototype.folderRemove=function(t,e,o){return this.remove("folderRemove",t,e,o)},t.prototype.rename=function(t,e,o,n,i){var s=this,a=this.o[t];if(!a)throw(0,r.error)('Set "'.concat(t,'" api options'));return a.data.path=e,a.data.name=o,a.data.newname=n,a.data.source=i,this.get(t).then((function(t){return a.process&&(t=a.process.call(self,t)),s.getMessage(t)}))},t.prototype.folderRename=function(t,e,o,n){return this.rename("folderRename",t,e,o,n)},t.prototype.fileRename=function(t,e,o,n){return this.rename("fileRename",t,e,o,n)},t.prototype.changeImage=function(t,e,o,n,r,i){this.o[t]||(this.o[t]={data:{}});var s=this.o[t];return void 0===s.data&&(s.data={action:t}),s.data.newname=r||n,i&&(s.data.box=i),s.data.path=e,s.data.name=n,s.data.source=o,this.get(t).then((function(){return!0}))},t.prototype.crop=function(t,e,o,n,r){return this.changeImage("crop",t,e,o,n,r)},t.prototype.resize=function(t,e,o,n,r){return this.changeImage("resize",t,e,o,n,r)},t.prototype.getMessage=function(t){return this.options.getMessage(t)},t.prototype.isSuccess=function(t){return this.options.isSuccess(t)},t.prototype.destruct=function(){this.ajaxInstances.forEach((function(t){return t.destruct()})),this.ajaxInstances.clear()},n.__decorate([s.autobind],t)}();e.default=c},74738:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.makeContextMenu=e.makeDataProvider=void 0;var n=o(62614),r=o(23853);e.makeDataProvider=function(t,e){return new n.default(t,e)},e.makeContextMenu=function(t){return new r.ContextMenu(t)}},54812:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.deleteFile=void 0,e.deleteFile=function(t,e,o){return t.dataProvider.fileRemove(t.state.currentPath,e,o).then((function(o){t.status(o||t.i18n('File "%s" was deleted',e),!0)})).catch(t.status)}},94634:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loadItems=void 0,e.loadItems=function(t){return t.files.setMod("active",!0),t.files.setMod("loading",!0),t.dataProvider.items(t.state.currentPath,t.state.currentSource,{sortBy:t.state.sortBy,onlyImages:t.state.onlyImages,filterWord:t.state.filterWord}).then((function(e){e&&(t.state.elements=e,t.state.activeElements=[])})).catch(t.status).finally((function(){return t.files.setMod("loading",!1)}))}},15169:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loadTree=void 0;var n=o(52784),r=o(96582),i=o(94634);e.loadTree=function(t){return n.__awaiter(this,void 0,Promise,(function(){var e,o;return n.__generator(this,(function(n){return t.tree.setMod("active",!0),r.Dom.detach(t.tree.container),e=(0,i.loadItems)(t),t.o.showFoldersPanel?(t.tree.setMod("loading",!0),o=t.dataProvider.tree(t.state.currentPath,t.state.currentSource).then((function(e){t.state.sources=e})).catch(t.status).finally((function(){return t.tree.setMod("loading",!1)})),[2,Promise.all([o,e])]):(t.tree.setMod("active",!1),[2,e])}))}))}},91203:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFileBrowserFilesItem=e.FileBrowser=void 0;var n=o(52784);o(27040);var r=o(733),i=o(49940),s=o(98416),a=o(16892),c=o(96582),l=o(74738),u=o(16464),d=o(7917),f=o(92342),p=o(62614),h=o(51923),v=o(90416),m=o(57083),g=o(15169),y=o(94634),_=o(68311),b=o(38017),w=o(78063);o(7310);var S=function(t){function e(e){var o,n=this;(n=t.call(this,e)||this).browser=n.c.div(n.componentName),n.status_line=n.c.div(n.getFullElName("status")),n.tree=new v.FileBrowserTree(n),n.files=new v.FileBrowserFiles(n),n.state=(0,m.observable)({currentPath:"",currentSource:p.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],messages:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),n.errorHandler=function(t){(0,a.isAbort)(t)||(t instanceof Error?n.status(n.i18n(t.message)):n.status(n.dataProvider.getMessage(t)))},n.close=function(){n._dialog.close()},n.attachEvents(e);var i=n;i.options=(0,a.ConfigProto)(e||{},r.Config.defaultOptions.filebrowser),i.storage=s.Storage.makeStorage(Boolean(n.o.saveStateInStorage),n.componentName),i.dataProvider=(0,l.makeDataProvider)(i,i.options),i._dialog=n.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!==(o=n.o.headerButtons)&&void 0!==o?o:["fullsize","dialog.close"]}),n.proxyDialogEvents(i),i.browser.component=n,i.container=i.browser,i.o.showFoldersPanel&&i.browser.appendChild(i.tree.container),i.browser.appendChild(i.files.container),i.browser.appendChild(i.status_line),f.selfListeners.call(i),d.nativeListeners.call(i),u.stateListeners.call(i),i._dialog.setSize(i.o.width,i.o.height),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((function(t){null!=n.options[t]&&(n.options[t]=(0,a.ConfigProto)(n.options[t],n.o.ajax))}));var c=n.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},h=c.storeSortBy,g=c.storeLastOpenedFolder,y=c.storeView&&n.storage.get("view");i.state.view=y&&null==n.o.view?"list"===y?"list":"tiles":"list"===i.o.view?"list":"tiles",i.files.setMod("view",i.state.view);var b=h&&i.storage.get("sortBy");if(b){var w=b.split("-");i.state.sortBy=["changed","name","size"].includes(w[0])?b:"changed-desc"}else i.state.sortBy=i.o.sortBy||"changed-desc";if(g){var S=i.storage.get("currentPath"),C=i.storage.get("currentSource");i.state.currentPath=null!=S?S:"",i.state.currentSource=null!=C?C:""}return i.initUploader(i),i.setStatus(_.STATUSES.ready),n}return n.__extends(e,t),e.prototype.className=function(){return"Filebrowser"},e.prototype.onSelect=function(t){var e=this;return function(){if(e.state.activeElements.length){var o=[],n=[];e.state.activeElements.forEach((function(t){var e=t.fileURL;e&&(o.push(e),n.push(t.isImage||!1))})),e.close();var r={baseurl:"",files:o,isImages:n};(0,a.isFunction)(t)&&t(r),e.close()}return!1}},Object.defineProperty(e.prototype,"isOpened",{get:function(){return this._dialog.isOpened&&"none"!==this.browser.style.display},enumerable:!1,configurable:!0}),e.prototype.status=function(t,e){t&&!(0,a.isAbort)(t)&&((0,a.isString)(t)||(t=t.message),(0,a.isString)(t)&&(0,a.trim)(t).length&&this.message.message(t,e?"success":"error",this.o.howLongShowMsg))},e.prototype.open=function(t,e){var o=this;return void 0===t&&(t=this.o.defaultCallback),void 0===e&&(e=!1),this.state.onlyImages=e,this.async.promise((function(e,n){var r;if(!o.o.items||!o.o.items.url)throw(0,a.error)("Need set options.filebrowser.ajax.url");var s=0;o.e.off(o.files.container,"dblclick").on(o.files.container,"dblclick",o.onSelect(t)).on(o.files.container,"touchstart",(function(){var e=(new Date).getTime();i.EMULATE_DBLCLICK_TIMEOUT>e-s&&o.onSelect(t)(),s=e})).off("select.filebrowser").on("select.filebrowser",o.onSelect(t));var c=o.c.div();o.toolbar.build(null!==(r=o.o.buttons)&&void 0!==r?r:[]).appendTo(c),o._dialog.open(o.browser,c),o.e.fire("sort.filebrowser",o.state.sortBy),(0,g.loadTree)(o).then(e,n)}))},e.prototype.initUploader=function(t){var e,o=this,n=this,i=null===(e=null==t?void 0:t.options)||void 0===e?void 0:e.uploader,s=(0,a.ConfigProto)(i||{},r.Config.defaultOptions.uploader),c=function(){return(0,y.loadItems)(o)};n.uploader=n.getInstance("Uploader",s),n.uploader.setPath(n.state.currentPath).setSource(n.state.currentSource).bind(n.browser,c,n.errorHandler),this.state.on(["change.currentPath","change.currentSource"],(function(){o.uploader.setPath(o.state.currentPath).setSource(o.state.currentSource)})),n.e.on("bindUploader.filebrowser",(function(t){n.uploader.bind(t,c,n.errorHandler)}))},e.prototype.proxyDialogEvents=function(t){var e=this;["afterClose","beforeOpen"].forEach((function(o){t._dialog.events.on(t.dlg,o,(function(){e.e.fire(o)}))}))},e.prototype.destruct=function(){this.isInDestruct||(t.prototype.destruct.call(this),this._dialog.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())},n.__decorate([h.autobind],e.prototype,"status",null),n.__decorate([h.autobind],e.prototype,"open",null),n.__decorate([(0,h.derive)(b.Dlgs)],e)}(w.ViewWithToolbar);e.FileBrowser=S,e.isFileBrowserFilesItem=function(t){return c.Dom.isElement(t)&&t.classList.contains(v.FileBrowserFiles.prototype.getFullElName("item"))}},23827:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(52784).__exportStar(o(91203),e)},7917:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nativeListeners=e.elementToItem=e.getItem=void 0;var n=o(52784),r=o(16892),i=o(1383),s=o(96582),a=o(9564),c=o(15169);e.getItem=function(t,e,o){return void 0===o&&(o="a"),s.Dom.closest(t,(function(t){return s.Dom.isTag(t,o)}),e)},e.elementToItem=function(t,e){return e[t.dataset.key||""].item},e.nativeListeners=function(){var t=this,o=!1,s=(0,a.elementsMap)(this),l=this;l.e.on(l.tree.container,"dragstart",(function(t){var n=(0,e.getItem)(t.target,l.container);n&&l.o.moveFolder&&(o=n)})).on(l.tree.container,"drop",(function(n){if((l.o.moveFile||l.o.moveFolder)&&o){var i=(0,r.attr)(o,"-path")||"";if(!l.o.moveFolder&&o.classList.contains(t.tree.getFullElName("item")))return!1;if(o.classList.contains(t.files.getFullElName("item"))&&(i+=(0,r.attr)(o,"-name"),!l.o.moveFile))return!1;var s=(0,e.getItem)(n.target,l.container);if(!s)return;l.dataProvider.move(i,(0,r.attr)(s,"-path")||"",(0,r.attr)(s,"-source")||"",o.classList.contains(t.files.getFullElName("item"))).then((function(){return(0,c.loadTree)(t)})).catch(l.status),o=!1}})).on(l.files.container,"contextmenu",(0,i.default)(l)).on(l.files.container,"click",(function(e){(0,r.ctrlKey)(e)||(t.state.activeElements=[])})).on(l.files.container,"click",(function(t){var o=(0,e.getItem)(t.target,l.container);if(o){var i=(0,e.elementToItem)(o,s);if(i)return l.state.activeElements=(0,r.ctrlKey)(t)?n.__spreadArray(n.__spreadArray([],n.__read(l.state.activeElements),!1),[i],!1):[i],t.stopPropagation(),!1}})).on(l.files.container,"dragstart",(function(t){if(l.o.moveFile){var n=(0,e.getItem)(t.target,l.container);if(!n)return;o=n}})).on(l.container,"drop",(function(t){return t.preventDefault()}))}},92342:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.selfListeners=void 0;var n=o(52784),r=o(74699),i=o(16892),s=o(62614),a=o(67757),c=o(15169),l=o(94634),u=o(54812);e.selfListeners=function(){var t=this,e=this.state,o=this.dataProvider,d=this;d.e.on("view.filebrowser",(function(t){t!==e.view&&(e.view=t)})).on("sort.filebrowser",(function(t){t!==e.sortBy&&(e.sortBy=t,(0,l.loadItems)(d))})).on("filter.filebrowser",(function(t){t!==e.filterWord&&(e.filterWord=t,(0,l.loadItems)(d))})).on("openFolder.filebrowser",(function(t){var e;e=".."===t.name?t.path.split("/").filter((function(t){return t.length})).slice(0,-1).join("/"):(0,i.normalizePath)(t.path,t.name),d.state.currentPath=e,d.state.currentSource="."===t.name?s.DEFAULT_SOURCE_NAME:t.source})).on("removeFolder.filebrowser",(function(t){d.confirm("Are you sure?","Delete",(function(e){e&&o.folderRemove(t.path,t.name,t.source).then((function(t){return d.status(t,!0),(0,c.loadTree)(d)})).catch(d.status)}))})).on("renameFolder.filebrowser",(function(t){d.prompt("Enter new name","Rename",(function(e){if(!(0,r.isValidName)(e))return d.status(d.i18n("Enter new name")),!1;o.folderRename(t.path,t.name,e,t.source).then((function(t){return d.state.activeElements=[],d.status(t,!0),(0,c.loadTree)(d)})).catch(d.status)}),"type name",t.name)})).on("addFolder.filebrowser",(function(t){d.prompt("Enter Directory name","Create directory",(function(e){o.createFolder(e,t.path,t.source).then((function(){return(0,c.loadTree)(d)})).catch(d.status)}),"type name")})).on("fileRemove.filebrowser",(function(){d.state.activeElements.length&&d.confirm("Are you sure?","",(function(t){if(t){var e=[];d.state.activeElements.forEach((function(t){e.push((0,u.deleteFile)(d,t.file||t.name||"",t.sourceName))})),d.state.activeElements=[],Promise.all(e).then((function(){return(0,c.loadTree)(d).catch(d.status)}),d.status)}}))})).on("edit.filebrowser",(function(){if(1===d.state.activeElements.length){var e=n.__read(t.state.activeElements,1)[0];a.openImageEditor.call(d,e.fileURL,e.file||"",e.path,e.sourceName)}})).on("fileRename.filebrowser",(function(t,e,n){1===d.state.activeElements.length&&d.prompt("Enter new name","Rename",(function(i){if(!(0,r.isValidName)(i))return d.status(d.i18n("Enter new name")),!1;o.fileRename(e,t,i,n).then((function(t){d.state.activeElements=[],d.status(t,!0),(0,l.loadItems)(d)})).catch(d.status)}),"type name",t)})).on("update.filebrowser",(function(){(0,c.loadTree)(t).then(t.status,t.status)}))}},16464:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stateListeners=void 0;var n=o(96582),r=o(79029),i=o(98440),s=o(9564),a=o(15169);e.stateListeners=function(){var t=this,e=(0,s.elementsMap)(this),o=this,c=o.state,l=o.files,u=o.create,d=o.options;c.on(["change.currentPath","change.currentSource"],this.async.debounce((function(){t.o.saveStateInStorage&&t.o.saveStateInStorage.storeLastOpenedFolder&&t.storage.set("currentPath",t.state.currentPath).set("currentSource",t.state.currentSource),(0,a.loadTree)(t).catch(t.status)}),this.defaultTimeout)).on("beforeChange.activeElements",(function(){c.activeElements.forEach((function(t){var o=e[t.uniqueHashKey].elm;o&&o.classList.remove(l.getFullElName("item","active",!0))}))})).on("change.activeElements",(function(){t.e.fire("changeSelection"),c.activeElements.forEach((function(t){var o=e[t.uniqueHashKey].elm;o&&o.classList.add(l.getFullElName("item","active",!0))}))})).on("change.view",(function(){l.setMod("view",c.view),t.o.saveStateInStorage&&t.o.saveStateInStorage.storeView&&t.storage.set("view",c.view)})).on("change.sortBy",(function(){t.o.saveStateInStorage&&t.o.saveStateInStorage.storeSortBy&&t.storage.set("sortBy",c.sortBy)})).on("change.elements",this.async.debounce((function(){n.Dom.detach(l.container),c.elements.length?c.elements.forEach((function(o){t.files.container.appendChild(function(o){var n=o.uniqueHashKey;if(e[n])return e[n].elm;var r=u.fromHTML(d.getThumbTemplate.call(t,o,o.source,o.sourceName.toString()));return r.dataset.key=n,e[n]={item:o,elm:r},e[n].elm}(o))})):l.container.appendChild(u.div(t.componentName+"_no-files_true",t.i18n("There are no files")))}),this.defaultTimeout)).on("change.sources",this.async.debounce((function(){n.Dom.detach(t.tree.container),c.sources.forEach((function(e){var o=e.name;if(o&&"default"!==o&&t.tree.container.appendChild(u.div(t.tree.getFullElName("source-title"),o)),e.folders.forEach((function(n){var s,a=u.a(t.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":(0,r.normalizePath)(e.path,n+"/"),"data-name":n,"data-source":o,"data-source-path":e.path},u.span(t.tree.getFullElName("item-title"),n)),c=function(i){return function(s){t.e.fire("".concat(i,".filebrowser"),{name:n,path:(0,r.normalizePath)(e.path+"/"),source:o}),s.stopPropagation(),s.preventDefault()}};t.e.on(a,"click",c("openFolder")),t.tree.container.appendChild(a),".."!==n&&"."!==n&&(d.renameFolder&&t.dataProvider.canI("FolderRename")&&((s=(0,i.Button)(t,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"})).onAction(c("renameFolder")),a.appendChild(s.container)),d.deleteFolder&&t.dataProvider.canI("FolderRemove")&&((s=(0,i.Button)(t,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"})).onAction(c("removeFolder")),a.appendChild(s.container)))})),d.createNewFolder&&t.dataProvider.canI("FolderCreate")){var n=(0,i.Button)(t,"plus","Add folder","secondary");n.onAction((function(){t.e.fire("addFolder",{path:(0,r.normalizePath)(e.path+"/"),source:o})})),t.tree.append(n)}}))}),this.defaultTimeout))}},57331:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FileBrowserFiles=void 0;var n=o(52784);o(76519);var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.className=function(){return"FilebrowserFiles"},e}(o(98440).UIGroup);e.FileBrowserFiles=r},90416:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(57331),e),n.__exportStar(o(70981),e)},70981:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FileBrowserTree=void 0;var n=o(52784);o(58188);var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.className=function(){return"FilebrowserTree"},e}(o(98440).UIGroup);e.FileBrowserTree=r},13561:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Command=void 0;var o=function(){function t(t,e,o,n){this.oldValue=t,this.newValue=e,this.history=o,this.tick=n}return t.prototype.undo=function(){this.history.snapshot.restore(this.oldValue)},t.prototype.redo=function(){this.history.snapshot.restore(this.newValue)},t}();e.Command=o},37369:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.History=void 0;var n=o(52784),r=o(733),i=o(68311),s=o(4866),a=o(54138),c=o(13561),l=o(51923);r.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3},r.Config.prototype.observer=r.Config.prototype.history;var u=function(t){function e(e,o,n){void 0===o&&(o=new a.Stack(e.o.history.maxHistoryLength)),void 0===n&&(n=new s.Snapshot(e));var r=t.call(this,e)||this;return r.updateTick=0,r.__stack=o,r.snapshot=n,e.o.history.enable&&e.e.on("afterAddPlace.history",(function(){r.isInDestruct||(r.startValue=r.snapshot.make(),e.events.on("internalChange internalUpdate",(function(){r.startValue=r.snapshot.make()})).on(e.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map((function(t){return t+".history"})).join(" "),(function(){r.startValue.html===r.j.getNativeEditorValue()&&(r.startValue=r.snapshot.make())})).on(r,"change.history",r.onChange))})),r}return n.__extends(e,t),e.prototype.className=function(){return"History"},Object.defineProperty(e.prototype,"startValue",{get:function(){return this.__startValue},set:function(t){this.__startValue=t},enumerable:!1,configurable:!0}),e.prototype.__upTick=function(){this.updateTick+=1},e.prototype.onChange=function(){this.__processChanges()},e.prototype.__processChanges=function(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()},e.prototype.updateStack=function(t){void 0===t&&(t=!1);var e=this.snapshot.make();if(!s.Snapshot.equal(e,this.startValue)){var o=new c.Command(this.startValue,e,this,this.updateTick);if(t){var n=this.__stack.current();n&&this.updateTick===n.tick&&this.__stack.replace(o)}else this.__stack.push(o);this.startValue=e,this.fireChangeStack()}},e.prototype.redo=function(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())},e.prototype.canRedo=function(){return this.__stack.canRedo()},e.prototype.undo=function(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())},e.prototype.canUndo=function(){return this.__stack.canUndo()},e.prototype.clear=function(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()},Object.defineProperty(e.prototype,"length",{get:function(){return this.__stack.length},enumerable:!1,configurable:!0}),e.prototype.fireChangeStack=function(){var t;this.j&&!this.j.isInDestruct&&(null===(t=this.j.events)||void 0===t||t.fire("changeStack"))},e.prototype.destruct=function(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),t.prototype.destruct.call(this))},n.__decorate([(0,l.debounce)()],e.prototype,"onChange",null),e}(i.ViewComponent);e.History=u},4866:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Snapshot=void 0;var n=o(52784),r=o(68311),i=o(96582),s=o(49940),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.__isBlocked=!1,e}return n.__extends(e,t),e.prototype.className=function(){return"Snapshot"},e.equal=function(t,e){return t.html===e.html&&JSON.stringify(t.range)===JSON.stringify(e.range)},e.countNodesBeforeInParent=function(t){if(!t.parentNode)return 0;for(var e=t.parentNode.childNodes,o=0,n=null,r=0;e.length>r;r+=1){if(!n||this.isIgnoredNode(e[r])||i.Dom.isText(n)&&i.Dom.isText(e[r])||(o+=1),e[r]===t)return o;n=e[r]}return 0},e.strokeOffset=function(t,e){for(;i.Dom.isText(t);)i.Dom.isText(t=t.previousSibling)&&t.nodeValue&&(e+=t.nodeValue.length);return e},e.prototype.calcHierarchyLadder=function(t){var o=[];if(!t||!t.parentNode||!i.Dom.isOrContains(this.j.editor,t))return[];for(;t&&t!==this.j.editor;)t&&!e.isIgnoredNode(t)&&o.push(e.countNodesBeforeInParent(t)),t=t.parentNode;return o.reverse()},e.prototype.getElementByLadder=function(t){var e,o=this.j.editor;for(e=0;o&&t.length>e;e+=1)o=o.childNodes[t[e]];return o},Object.defineProperty(e.prototype,"isBlocked",{get:function(){return this.__isBlocked},enumerable:!1,configurable:!0}),e.prototype.__block=function(t){this.__isBlocked=t},e.prototype.transaction=function(t){this.__block(!0);try{t()}catch(t){}this.__block(!1)},e.prototype.make=function(){var t={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};t.html=this.removeJoditSelection(this.j.editor);var o=this.j.s.sel;if(o&&o.rangeCount){var n=o.getRangeAt(0),r=this.calcHierarchyLadder(n.startContainer),i=this.calcHierarchyLadder(n.endContainer),s=e.strokeOffset(n.startContainer,n.startOffset),a=e.strokeOffset(n.endContainer,n.endOffset);r.length||n.startContainer===this.j.editor||(s=0),i.length||n.endContainer===this.j.editor||(a=0),t.range={startContainer:r,startOffset:s,endContainer:i,endOffset:a}}return t},e.prototype.restore=function(t){var e=this;this.transaction((function(){var o=e.storeScrollState();e.j.getNativeEditorValue()!==t.html&&(e.j.value=t.html),e.restoreOnlySelection(t),e.restoreScrollState(o)}))},e.prototype.storeScrollState=function(){return[this.j.ow.scrollY,this.j.editor.scrollTop]},e.prototype.restoreScrollState=function(t){var e=this.j,o=e.ow;o.scrollTo(o.scrollX,t[0]),e.editor.scrollTop=t[1]},e.prototype.restoreOnlySelection=function(t){try{if(t.range){var e=this.j.ed.createRange();e.setStart(this.getElementByLadder(t.range.startContainer),t.range.startOffset),e.setEnd(this.getElementByLadder(t.range.endContainer),t.range.endOffset),this.j.s.selectRange(e)}}catch(t){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild)}},e.prototype.destruct=function(){this.__block(!1),t.prototype.destruct.call(this)},e.isIgnoredNode=function(t){return i.Dom.isText(t)&&!t.nodeValue||i.Dom.isTemporary(t)},e.prototype.removeJoditSelection=function(t){var e=t.cloneNode(!0);return e.querySelectorAll("[".concat(s.TEMP_ATTR,"]")).forEach(i.Dom.unwrap),e.innerHTML},e}(r.ViewComponent);e.Snapshot=a},54138:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Stack=void 0;var o=function(){function t(t){this.size=t,this.commands=[],this.stackPosition=-1}return Object.defineProperty(t.prototype,"length",{get:function(){return this.commands.length},enumerable:!1,configurable:!0}),t.prototype.clearRedo=function(){this.commands.length=this.stackPosition+1},t.prototype.clear=function(){this.commands.length=0,this.stackPosition=-1},t.prototype.push=function(t){this.clearRedo(),this.commands.push(t),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)},t.prototype.replace=function(t){this.commands[this.stackPosition]=t},t.prototype.current=function(){return this.commands[this.stackPosition]},t.prototype.undo=function(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)},t.prototype.redo=function(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)},t.prototype.canUndo=function(){return this.stackPosition>=0},t.prototype.canRedo=function(){return this.commands.length-1>this.stackPosition},t}();e.Stack=o},38682:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},r.Icon.set("crop",o(41563)).set("resize",o(66297))},67757:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.openImageEditor=e.ImageEditor=void 0;var n=o(52784);o(62731);var r=o(733),i=o(68311),s=o(16892),a=o(96582),c=o(24697),l=o(93658),u=o(51923);o(38682);var d="jodit-image-editor",f="resize",p="crop",h=function(t){function e(e){var n=t.call(this,e)||this;n.resizeUseRatio=!0,n.cropUseRatio=!0,n.clicked=!1,n.start_x=0,n.start_y=0,n.top_x=0,n.top_y=0,n.width=0,n.height=0,n.activeTab=f,n.naturalWidth=0,n.naturalHeight=0,n.ratio=0,n.new_h=0,n.new_w=0,n.diff_x=0,n.diff_y=0,n.cropBox={x:0,y:0,w:0,h:0},n.resizeBox={w:0,h:0},n.calcCropBox=function(){var t=n.crop_box.parentNode,e=.8*t.offsetWidth,o=.8*t.offsetHeight,r=e,i=o,a=n.naturalWidth,c=n.naturalHeight;e>a&&o>c?(r=a,i=c):n.ratio>e/o?(r=e,i=c*(e/a)):(r=a*(o/c),i=o),(0,s.css)(n.crop_box,{width:r,height:i})},n.showCrop=function(){if(n.cropImage){n.calcCropBox();var t=n.cropImage.offsetWidth||n.image.offsetWidth||n.image.naturalWidth;n.new_w=o.calcValueByPercent(t,n.o.cropDefaultWidth);var e=n.cropImage.offsetHeight||n.image.offsetHeight||n.image.naturalHeight;n.new_h=n.cropUseRatio?n.new_w/n.ratio:o.calcValueByPercent(e,n.o.cropDefaultHeight),(0,s.css)(n.cropHandler,{backgroundImage:"url("+(0,s.attr)(n.cropImage,"src")+")",width:n.new_w,height:n.new_h,left:t/2-n.new_w/2,top:e/2-n.new_h/2}),n.j.e.fire(n.cropHandler,"updatesize")}},n.updateCropBox=function(){if(n.cropImage){var t=n.cropImage.offsetWidth/n.naturalWidth,e=n.cropImage.offsetHeight/n.naturalHeight;n.cropBox.x=(0,s.css)(n.cropHandler,"left")/t,n.cropBox.y=(0,s.css)(n.cropHandler,"top")/e,n.cropBox.w=n.cropHandler.offsetWidth/t,n.cropBox.h=n.cropHandler.offsetHeight/e,n.sizes.textContent=n.cropBox.w.toFixed(0)+"x"+n.cropBox.h.toFixed(0)}},n.updateResizeBox=function(){n.resizeBox.w=n.image.offsetWidth||n.naturalWidth,n.resizeBox.h=n.image.offsetHeight||n.naturalHeight},n.setHandlers=function(){var t=n,e=(0,s.refs)(n.editor),o=e.widthInput,r=e.heightInput;t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],"mousedown.".concat(d),n.onResizeHandleMouseDown).on(n.j.ow,"resize.".concat(d),(function(){n.j.e.fire(t.resizeHandler,"updatesize"),t.showCrop(),n.j.e.fire(t.cropHandler,"updatesize")})),t.j.e.on((0,s.toArray)(n.editor.querySelectorAll(".".concat(d,"__slider-title"))),"click",n.onTitleModeClick).on([o,r],"input",n.onChangeSizeInput);var i=(0,s.refs)(n.editor),a=i.keepAspectRatioResize,c=i.keepAspectRatioCrop;a&&a.addEventListener("change",(function(){n.resizeUseRatio=a.checked})),c&&c.addEventListener("change",(function(){n.cropUseRatio=c.checked})),t.j.e.on(t.resizeHandler,"updatesize",(function(){(0,s.css)(t.resizeHandler,{top:0,left:0,width:t.image.offsetWidth||t.naturalWidth,height:t.image.offsetHeight||t.naturalHeight}),n.updateResizeBox()})).on(t.cropHandler,"updatesize",(function(){if(t.cropImage){var e=(0,s.css)(t.cropHandler,"left"),o=(0,s.css)(t.cropHandler,"top"),n=t.cropHandler.offsetWidth,r=t.cropHandler.offsetHeight;0>e&&(e=0),0>o&&(o=0),e+n>t.cropImage.offsetWidth&&(n=t.cropImage.offsetWidth-e,t.cropUseRatio&&(r=n/t.ratio)),o+r>t.cropImage.offsetHeight&&(r=t.cropImage.offsetHeight-o,t.cropUseRatio&&(n=r*t.ratio)),(0,s.css)(t.cropHandler,{width:n,height:r,left:e,top:o,backgroundPosition:-e-1+"px "+(-o-1)+"px",backgroundSize:t.cropImage.offsetWidth+"px "+t.cropImage.offsetHeight+"px"}),t.updateCropBox()}})),Object.values(t.buttons).forEach((function(e){e.onAction((function(){var n={action:t.activeTab,box:t.activeTab===f?t.resizeBox:t.cropBox};switch(e){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",(function(e){if(!(0,s.trim)(e))return t.j.alert("The name should not be empty"),!1;t.onSave(e,n,t.hide,(function(e){t.j.alert(e.message)}))}));break;case t.buttons.save:t.onSave(void 0,n,t.hide,(function(e){t.j.alert(e.message)}));break;case t.buttons.reset:t.activeTab===f?((0,s.css)(t.image,{width:null,height:null}),o.value=t.naturalWidth.toString(),r.value=t.naturalHeight.toString(),t.j.e.fire(t.resizeHandler,"updatesize")):t.showCrop()}}))}))},n.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:r.Config.defaultOptions.imageeditor;var i=n.options;n.resizeUseRatio=i.resizeUseRatio,n.cropUseRatio=i.cropUseRatio,n.buttons={reset:(0,c.Button)(n.j,"update","Reset"),save:(0,c.Button)(n.j,"save","Save"),saveas:(0,c.Button)(n.j,"save","Save as ...")},n.activeTab=i.resize?f:p,n.editor=(0,l.form)(n.j,n.options);var a=(0,s.refs)(n.editor),u=a.cropBox;return n.resize_box=a.resizeBox,n.crop_box=u,n.sizes=n.editor.querySelector(".".concat(d,"__area.").concat(d,"__area_crop .jodit-image-editor__sizes")),n.resizeHandler=n.editor.querySelector(".".concat(d,"__resizer")),n.cropHandler=n.editor.querySelector(".".concat(d,"__croper")),n._dialog=n.j.dlg({buttons:["fullsize","dialog.close"]}),n._dialog.setContent(n.editor),n._dialog.setSize(n.o.width,n.o.height),n._dialog.setHeader([n.buttons.reset,n.buttons.save,n.buttons.saveas]),n.setHandlers(),n}var o;return n.__extends(e,t),o=e,e.prototype.className=function(){return"ImageEditor"},e.prototype.onTitleModeClick=function(t){var e=this,o=t.target,n=null==o?void 0:o.parentElement;if(n){(0,s.$$)(".".concat(d,"__slider,.").concat(d,"__area"),e.editor).forEach((function(t){return t.classList.remove("".concat(d,"_active"))})),n.classList.add("".concat(d,"_active")),this.activeTab=(0,s.attr)(n,"-area")||f;var r=e.editor.querySelector(".".concat(d,"__area.").concat(d,"__area_")+e.activeTab);r&&r.classList.add("".concat(d,"_active")),e.activeTab===p&&e.showCrop()}},e.prototype.onChangeSizeInput=function(t){var e,o=this,n=t.target,r=(0,s.refs)(this.editor),i=r.widthInput,a=r.heightInput,c="widthInput"===(0,s.attr)(n,"data-ref"),l=parseInt(n.value,10),u=c?o.o.min_height:o.o.min_width;l>(c?o.o.min_width:o.o.min_height)&&((0,s.css)(o.image,c?"width":"height",l),o.resizeUseRatio&&(e=c?Math.round(l/o.ratio):Math.round(l*o.ratio))>u&&((0,s.css)(o.image,c?"height":"width",e),c?a.value=e.toString():i.value=e.toString())),this.j.e.fire(o.resizeHandler,"updatesize")},e.prototype.onResizeHandleMouseDown=function(t){var e=this;e.target=t.target,t.preventDefault(),t.stopImmediatePropagation(),e.clicked=!0,e.start_x=t.clientX,e.start_y=t.clientY,e.activeTab===p?(e.top_x=(0,s.css)(e.cropHandler,"left"),e.top_y=(0,s.css)(e.cropHandler,"top"),e.width=e.cropHandler.offsetWidth,e.height=e.cropHandler.offsetHeight):(e.width=e.image.offsetWidth,e.height=e.image.offsetHeight),e.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)},e.prototype.onGlobalMouseUp=function(t){this.clicked&&(this.clicked=!1,t.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))},e.prototype.onGlobalMouseMove=function(t){var e=this;if(e.clicked){var o=(0,s.refs)(this.editor),n=o.widthInput,r=o.heightInput;e.diff_x=t.clientX-e.start_x,e.diff_y=t.clientY-e.start_y,e.activeTab===f&&e.resizeUseRatio||e.activeTab===p&&e.cropUseRatio?e.diff_x?(e.new_w=e.width+e.diff_x,e.new_h=Math.round(e.new_w/e.ratio)):(e.new_h=e.height+e.diff_y,e.new_w=Math.round(e.new_h*e.ratio)):(e.new_w=e.width+e.diff_x,e.new_h=e.height+e.diff_y),e.activeTab===f?(e.new_w>e.o.resizeMinWidth&&((0,s.css)(e.image,"width",e.new_w+"px"),n.value=e.new_w.toString()),e.new_h>e.o.resizeMinHeight&&((0,s.css)(e.image,"height",e.new_h+"px"),r.value=e.new_h.toString()),this.j.e.fire(e.resizeHandler,"updatesize")):(e.target!==e.cropHandler?(e.top_x+e.new_w>e.cropImage.offsetWidth&&(e.new_w=e.cropImage.offsetWidth-e.top_x),e.top_y+e.new_h>e.cropImage.offsetHeight&&(e.new_h=e.cropImage.offsetHeight-e.top_y),(0,s.css)(e.cropHandler,{width:e.new_w,height:e.new_h})):(e.top_x+e.diff_x+e.cropHandler.offsetWidth>e.cropImage.offsetWidth&&(e.diff_x=e.cropImage.offsetWidth-e.top_x-e.cropHandler.offsetWidth),(0,s.css)(e.cropHandler,"left",e.top_x+e.diff_x),e.top_y+e.diff_y+e.cropHandler.offsetHeight>e.cropImage.offsetHeight&&(e.diff_y=e.cropImage.offsetHeight-e.top_y-e.cropHandler.offsetHeight),(0,s.css)(e.cropHandler,"top",e.top_y+e.diff_y)),this.j.e.fire(e.cropHandler,"updatesize"))}},Object.defineProperty(e.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),e.prototype.hide=function(){this._dialog.close()},e.prototype.open=function(t,e){var o=this;return this.j.async.promise((function(n){var r=(new Date).getTime();o.image=o.j.c.element("img"),(0,s.$$)("img,.jodit-icon_loader",o.resize_box).forEach(a.Dom.safeRemove),(0,s.$$)("img,.jodit-icon_loader",o.crop_box).forEach(a.Dom.safeRemove),(0,s.css)(o.cropHandler,"background","transparent"),o.onSave=e,o.resize_box.appendChild(o.j.c.element("i",{class:"jodit-icon_loader"})),o.crop_box.appendChild(o.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(t)?t+="&_tst="+r:t+="?_tst="+r,o.image.setAttribute("src",t),o._dialog.open();var i=(0,s.refs)(o.editor),c=i.widthInput,l=i.heightInput,u=function(){o.isDestructed||(o.image.removeEventListener("load",u),o.naturalWidth=o.image.naturalWidth,o.naturalHeight=o.image.naturalHeight,c.value=o.naturalWidth.toString(),l.value=o.naturalHeight.toString(),o.ratio=o.naturalWidth/o.naturalHeight,o.resize_box.appendChild(o.image),o.cropImage=o.image.cloneNode(!0),o.crop_box.appendChild(o.cropImage),a.Dom.safeRemove.apply(null,(0,s.$$)(".jodit-icon_loader",o.editor)),o.activeTab===p&&o.showCrop(),o.j.e.fire(o.resizeHandler,"updatesize"),o.j.e.fire(o.cropHandler,"updatesize"),o._dialog.setPosition(),o.j.e.fire("afterImageEditor"),n(o._dialog))};o.image.addEventListener("load",u),o.image.complete&&u()}))},e.prototype.destruct=function(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),a.Dom.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,".".concat(d)).off(".".concat(d)),t.prototype.destruct.call(this))},e.calcValueByPercent=function(t,e){var o,n=e.toString(),r=parseFloat(t.toString());return(o=/^[-+]?[0-9]+(px)?$/.exec(n))?parseInt(n,10):(o=/^([-+]?[0-9.]+)%$/.exec(n))?Math.round(r*(parseFloat(o[1])/100)):r||0},n.__decorate([u.autobind],e.prototype,"onTitleModeClick",null),n.__decorate([(0,u.debounce)(),u.autobind],e.prototype,"onChangeSizeInput",null),n.__decorate([u.autobind],e.prototype,"onResizeHandleMouseDown",null),n.__decorate([u.autobind],e.prototype,"onGlobalMouseUp",null),n.__decorate([(0,u.throttle)(10)],e.prototype,"onGlobalMouseMove",null),n.__decorate([u.autobind],e.prototype,"hide",null),n.__decorate([u.autobind],e.prototype,"open",null),o=n.__decorate([u.component],e)}(i.ViewComponent);e.ImageEditor=h,e.openImageEditor=function(t,e,o,n,r,i){var a=this;return this.getInstance("ImageEditor",this.o).open(t,(function(t,c,l,u){return(0,s.call)("resize"===c.action?a.dataProvider.resize:a.dataProvider.crop,o,n,e,t,c.box).then((function(t){t&&(l(),r&&r())})).catch((function(t){u(t),i&&i(t)}))}))}},93658:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.form=void 0;var n=o(98440),r="jodit-image-editor",i=n.Icon.get.bind(n.Icon),s=function(t,e){return void 0===e&&(e="jodti-image-editor_active"),t?e:""};e.form=function(t,e){var o=t.i18n.bind(t),n=function(t,e,n){return void 0===n&&(n=!0),'<div class="jodit-form__group">\n\t\t\t<label>'.concat(o(t),"</label>\n\n\t\t\t<label class='jodit-switcher'>\n\t\t\t\t<input ").concat(s(n,"checked"),' data-ref="').concat(e,'" type="checkbox"/>\n\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t</label>\n\t</div>')};return t.create.fromHTML('<form class="'.concat(r,' jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-3-4 jodit_col-sm-5-5">\n\t\t\t').concat(e.resize?'<div class="'.concat(r,"__area ").concat(r,"__area_resize ").concat(r,'_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="').concat(r,'__box"></div>\n\t\t\t\t\t\t\t<div class="').concat(r,'__resizer">\n\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"","\n\t\t\t").concat(e.crop?'<div class="'.concat(r,"__area ").concat(r,"__area_crop ").concat(s(!e.resize),'">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="').concat(r,'__box">\n\t\t\t\t\t\t\t\t<div class="').concat(r,'__croper">\n\t\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t\t\t<i class="').concat(r,'__sizes"></i>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"",'\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-1-4 jodit_col-sm-5-5">\n\t\t\t').concat(e.resize?'<div data-area="resize" class="'.concat(r,"__slider ").concat(r,'_active">\n\t\t\t\t\t\t\t<div class="').concat(r,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(i("resize"),"\n\t\t\t\t\t\t\t\t").concat(o("Resize"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(r,'__slider-content">\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(o("Width"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="widthInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(o("Height"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="heightInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t').concat(n("Keep Aspect Ratio","keepAspectRatioResize"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t").concat(e.crop?'<div data-area="crop" class="'.concat(r,"__slider ").concat(s(!e.resize),'\'">\n\t\t\t\t\t\t\t<div class="').concat(r,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(i("crop"),"\n\t\t\t\t\t\t\t\t").concat(o("Crop"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(r,'__slider-content">\n\t\t\t\t\t\t\t\t').concat(n("Keep Aspect Ratio","keepAspectRatioCrop"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t</div>\n\t\t</div>\n\t</form>"))}},71910:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PluginSystem=e.UIMessages=e.Uploader=e.ToolbarCollection=e.ToolbarEditorCollection=e.Table=e.StatusBar=e.CommitStyle=e.Select=e.Snapshot=e.History=e.ImageEditor=e.Helpers=e.ViewWithToolbar=e.View=e.Icon=e.ProgressBar=e.UIBlock=e.UICheckbox=e.UITextArea=e.UIInput=e.UIForm=e.UIList=e.UIGroup=e.UISeparator=e.Popup=e.UIButton=e.UIElement=e.Create=e.Plugin=e.LazyWalker=e.Dom=e.ContextMenu=e.STATUSES=e.ViewComponent=e.Component=e.Async=void 0;var n=o(52784);n.__exportStar(o(57083),e);var r=o(94184);Object.defineProperty(e,"Async",{enumerable:!0,get:function(){return r.Async}}),n.__exportStar(o(42239),e);var i=o(68311);Object.defineProperty(e,"Component",{enumerable:!0,get:function(){return i.Component}}),Object.defineProperty(e,"ViewComponent",{enumerable:!0,get:function(){return i.ViewComponent}}),Object.defineProperty(e,"STATUSES",{enumerable:!0,get:function(){return i.STATUSES}});var s=o(23853);Object.defineProperty(e,"ContextMenu",{enumerable:!0,get:function(){return s.ContextMenu}}),n.__exportStar(o(74353),e);var a=o(96582);Object.defineProperty(e,"Dom",{enumerable:!0,get:function(){return a.Dom}}),Object.defineProperty(e,"LazyWalker",{enumerable:!0,get:function(){return a.LazyWalker}});var c=o(43464);Object.defineProperty(e,"Plugin",{enumerable:!0,get:function(){return c.Plugin}});var l=o(18319);Object.defineProperty(e,"Create",{enumerable:!0,get:function(){return l.Create}});var u=o(98440);Object.defineProperty(e,"UIElement",{enumerable:!0,get:function(){return u.UIElement}}),Object.defineProperty(e,"UIButton",{enumerable:!0,get:function(){return u.UIButton}}),Object.defineProperty(e,"Popup",{enumerable:!0,get:function(){return u.Popup}}),Object.defineProperty(e,"UISeparator",{enumerable:!0,get:function(){return u.UISeparator}}),Object.defineProperty(e,"UIGroup",{enumerable:!0,get:function(){return u.UIGroup}}),Object.defineProperty(e,"UIList",{enumerable:!0,get:function(){return u.UIList}}),Object.defineProperty(e,"UIForm",{enumerable:!0,get:function(){return u.UIForm}}),Object.defineProperty(e,"UIInput",{enumerable:!0,get:function(){return u.UIInput}}),Object.defineProperty(e,"UITextArea",{enumerable:!0,get:function(){return u.UITextArea}}),Object.defineProperty(e,"UICheckbox",{enumerable:!0,get:function(){return u.UICheckbox}}),Object.defineProperty(e,"UIBlock",{enumerable:!0,get:function(){return u.UIBlock}}),Object.defineProperty(e,"ProgressBar",{enumerable:!0,get:function(){return u.ProgressBar}}),Object.defineProperty(e,"Icon",{enumerable:!0,get:function(){return u.Icon}});var d=o(9e3);Object.defineProperty(e,"View",{enumerable:!0,get:function(){return d.View}});var f=o(78063);Object.defineProperty(e,"ViewWithToolbar",{enumerable:!0,get:function(){return f.ViewWithToolbar}}),n.__exportStar(o(23827),e);var p=o(16892);e.Helpers=p;var h=o(67757);Object.defineProperty(e,"ImageEditor",{enumerable:!0,get:function(){return h.ImageEditor}});var v=o(37369);Object.defineProperty(e,"History",{enumerable:!0,get:function(){return v.History}});var m=o(4866);Object.defineProperty(e,"Snapshot",{enumerable:!0,get:function(){return m.Snapshot}});var g=o(60039);Object.defineProperty(e,"Select",{enumerable:!0,get:function(){return g.Select}}),Object.defineProperty(e,"CommitStyle",{enumerable:!0,get:function(){return g.CommitStyle}});var y=o(5287);Object.defineProperty(e,"StatusBar",{enumerable:!0,get:function(){return y.StatusBar}});var _=o(91980);Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return _.Table}});var b=o(63314);Object.defineProperty(e,"ToolbarEditorCollection",{enumerable:!0,get:function(){return b.ToolbarEditorCollection}});var w=o(70141);Object.defineProperty(e,"ToolbarCollection",{enumerable:!0,get:function(){return w.ToolbarCollection}}),n.__exportStar(o(41581),e);var S=o(99509);Object.defineProperty(e,"Uploader",{enumerable:!0,get:function(){return S.Uploader}});var C=o(67963);Object.defineProperty(e,"UIMessages",{enumerable:!0,get:function(){return C.UIMessages}});var j=o(52666);Object.defineProperty(e,"PluginSystem",{enumerable:!0,get:function(){return j.PluginSystem}})},62564:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIMessage=void 0;var n=o(52784),r=o(98440),i=o(9119),s=function(t){function e(e,o){var n=t.call(this,e)||this;return n.setMod("active",!0),n.setMod("variant",o.variant),n.container.textContent=o.text,n}return n.__extends(e,t),e.prototype.className=function(){return"UIMessage"},n.__decorate([i.component],e)}(r.UIElement);e.UIMessage=s},67963:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIMessages=void 0;var n=o(52784);o(66177);var r=o(21714),i=o(12465),s=o(9119),a=o(31501),c=o(16892),l=o(62564),u=function(t){function e(e,o){void 0===o&&(o={defaultTimeout:3e3,defaultOffset:5});var n=t.call(this,e)||this;return n.options=o,n.__messages=new Set,n}return n.__extends(e,t),e.prototype.className=function(){return"UIMessages"},e.prototype.info=function(t,e){this.__message(t,"info",e)},e.prototype.success=function(t,e){this.__message(t,"success",e)},e.prototype.error=function(t,e){this.__message(t,"error",e)},e.prototype.message=function(t,e,o){this.__message(t,e,o)},e.prototype.__message=function(t,e,o){void 0===e&&(e="info");var n=t+":"+e;if(this.__messages.has(n))this.async.updateTimeout(n,o||this.options.defaultTimeout);else{var r=this.j;(0,c.isJoditObject)(r)?r.workplace.appendChild(this.container):r.container.appendChild(this.container);var i=new l.UIMessage(this.j,{text:t,variant:e});this.append(i),this.__calcOffsets(),this.__messages.add(n);var s=this.__getRemoveCallback(i,n);this.j.e.on(i.container,"pointerdown",s),this.async.setTimeout(s,{label:n,timeout:o||this.options.defaultTimeout})}},e.prototype.__getRemoveCallback=function(t,e){var o=this,n=function(r){r&&r.preventDefault(),t.isInDestruct||(o.async.clearTimeout(e),o.j.e.off(t.container,"pointerdown",n),o.__messages.delete(e),t.setMod("active",!1),o.async.setTimeout((function(){o.remove(t),t.destruct(),o.__calcOffsets()}),300))};return n},e.prototype.__calcOffsets=function(){var t=this,e=5;this.elements.forEach((function(o){(0,r.css)(o.container,"bottom",e+"px"),e+=o.container.offsetHeight+t.options.defaultOffset}))},n.__decorate([(0,a.watch)(":errorMessage")],e.prototype,"__message",null),n.__decorate([s.component],e)}(i.UIGroup);e.UIMessages=u},5287:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StatusBar=void 0;var n=o(52784);o(4741);var r=o(68311),i=o(96582),s=o(38017),a=o(51923),c=function(t){function e(e,o){var n=t.call(this,e)||this;return n.target=o,n.mods={},n.container=e.c.div("jodit-status-bar"),o.appendChild(n.container),n.hide(),n}return n.__extends(e,t),e.prototype.className=function(){return"StatusBar"},e.prototype.hide=function(){this.container.classList.add("jodit_hidden")},e.prototype.show=function(){this.container.classList.remove("jodit_hidden")},Object.defineProperty(e.prototype,"isShown",{get:function(){return!this.container.classList.contains("jodit_hidden")},enumerable:!1,configurable:!0}),e.prototype.getHeight=function(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.offsetHeight)&&void 0!==e?e:0},e.prototype.findEmpty=function(t){void 0===t&&(t=!1);for(var e=this.getElms(t?"item-right":"item"),o=0;e.length>o;o+=1)if(!e[o].innerHTML.trim().length)return e[o]},e.prototype.append=function(t,e){var o;void 0===e&&(e=!1);var n=this.findEmpty(e)||this.j.c.div(this.getFullElName("item"));e&&n.classList.add(this.getFullElName("item-right")),n.appendChild(t),null===(o=this.container)||void 0===o||o.appendChild(n),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")},e.prototype.destruct=function(){this.isInDestruct||(this.setStatus(r.STATUSES.beforeDestruct),i.Dom.safeRemove(this.container),t.prototype.destruct.call(this))},n.__decorate([a.component,(0,a.derive)(s.Mods,s.Elms)],e)}(r.ViewComponent);e.StatusBar=c},91980:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Table=void 0;var n=o(52784),r=o(49940),i=o(96582),s=o(16892),a=o(68311),c=o(58706),l=o(51923),u=new WeakMap,d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.selected=new Set,e}return n.__extends(e,t),e.prototype.className=function(){return"Table"},e.prototype.recalculateStyles=function(){var t=(0,c.getContainer)(this.j,e,"style",!0),o=[];this.selected.forEach((function(t){var e=(0,s.cssPath)(t);e&&o.push(e)})),t.innerHTML=o.length?o.join(",")+"{".concat(this.jodit.options.table.selectionCellStyle,"}"):""},e.prototype.addSelection=function(t){this.selected.add(t),this.recalculateStyles();var o=i.Dom.closest(t,"table",this.j.editor);if(o){var n=e.selectedByTable.get(o)||new Set;n.add(t),e.selectedByTable.set(o,n)}},e.prototype.removeSelection=function(t){this.selected.delete(t),this.recalculateStyles();var o=i.Dom.closest(t,"table",this.j.editor);if(o){var n=e.selectedByTable.get(o);n&&(n.delete(t),n.size||e.selectedByTable.delete(o))}},e.prototype.getAllSelectedCells=function(){return(0,s.toArray)(this.selected)},e.getSelectedCellsByTable=function(t){var o=e.selectedByTable.get(t);return o?(0,s.toArray)(o):[]},e.prototype.destruct=function(){return this.selected.clear(),t.prototype.destruct.call(this)},e.getRowsCount=function(t){return t.rows.length},e.getColumnsCount=function(t){return e.formalMatrix(t).reduce((function(t,e){return Math.max(t,e.length)}),0)},e.formalMatrix=function(t,e){for(var o=[[]],n=(0,s.toArray)(t.rows),r=function(t,n){void 0===o[n]&&(o[n]=[]);for(var r,i,s=t.colSpan,a=t.rowSpan,c=0;o[n][c];)c+=1;for(i=0;a>i;i+=1)for(r=0;s>r;r+=1){if(void 0===o[n+i]&&(o[n+i]=[]),e&&!1===e(t,n+i,c+r,s,a))return!1;o[n+i][c+r]=t}},i=0;n.length>i;i+=1)for(var a=(0,s.toArray)(n[i].cells),c=0;a.length>c;c+=1)if(!1===r(a[c],i))return o;return o},e.formalCoordinate=function(t,o,n){void 0===n&&(n=!1);var r=0,i=0,s=1,a=1;return e.formalMatrix(t,(function(t,e,c,l,u){if(o===t)return r=e,i=c,s=l||1,a=u||1,n&&(i+=(l||1)-1,r+=(u||1)-1),!1})),[r,i,s,a]},e.appendRow=function(t,o,n,r){var i,a;if(o)a=o.cloneNode(!0),(0,s.$$)("td,th",o).forEach((function(t){var e=(0,s.attr)(t,"rowspan");if(e&&parseInt(e,10)>1){var o=parseInt(e,10)-1;(0,s.attr)(t,"rowspan",o>1?o:null)}})),(0,s.$$)("td,th",a).forEach((function(t){t.innerHTML=""}));else{var c=e.getColumnsCount(t);a=r.element("tr");for(var l=0;c>l;l+=1)a.appendChild(r.element("td"))}n&&o&&o.nextSibling?o.parentNode&&o.parentNode.insertBefore(a,o.nextSibling):!n&&o?o.parentNode&&o.parentNode.insertBefore(a,o):((null===(i=t.getElementsByTagName("tbody"))||void 0===i?void 0:i[0])||t).appendChild(a)},e.removeRow=function(t,o){var n,r=e.formalMatrix(t),a=t.rows[o];r[o].forEach((function(e,c){if(n=!1,0>o-1||r[o-1][c]!==e)if(r[o+1]&&r[o+1][c]===e){if(e.parentNode===a&&e.parentNode.nextSibling){n=!0;for(var l=c+1;r[o+1][l]===e;)l+=1;var u=i.Dom.next(e.parentNode,(function(t){return i.Dom.isTag(t,"tr")}),t);u&&(r[o+1][l]?u.insertBefore(e,r[o+1][l]):u.appendChild(e))}}else i.Dom.safeRemove(e);else n=!0;if(n&&(e.parentNode===a||e!==r[o][c-1])){var d=e.rowSpan;(0,s.attr)(e,"rowspan",d-1>1?d-1:null)}})),i.Dom.safeRemove(a)},e.appendColumn=function(t,o,n,r){var a,c=e.formalMatrix(t);for((void 0===o||0>o)&&(o=e.getColumnsCount(t)-1),a=0;c.length>a;a+=1){var l=r.element("td"),u=c[a][o],d=!1;n?(c[a]&&u&&o+1>=c[a].length||u!==c[a][o+1])&&(u.nextSibling?i.Dom.before(u.nextSibling,l):u.parentNode&&u.parentNode.appendChild(l),d=!0):(0>o-1||c[a][o]!==c[a][o-1]&&c[a][o].parentNode)&&(i.Dom.before(c[a][o],l),d=!0),d||(0,s.attr)(c[a][o],"colspan",parseInt((0,s.attr)(c[a][o],"colspan")||"1",10)+1)}},e.removeColumn=function(t,o){var n,r=e.formalMatrix(t);r.forEach((function(t,e){var a=t[o];if(n=!1,0>o-1||r[e][o-1]!==a?t.length>o+1&&r[e][o+1]===a?n=!0:i.Dom.safeRemove(a):n=!0,n&&(0>e-1||a!==r[e-1][o])){var c=a.colSpan;(0,s.attr)(a,"colspan",c-1>1?(c-1).toString():null)}}))},e.getSelectedBound=function(t,o){var n,r,i,s=[[1/0,1/0],[0,0]],a=e.formalMatrix(t);for(n=0;a.length>n;n+=1)for(r=0;a[n]&&a[n].length>r;r+=1)o.includes(a[n][r])&&(s[0][0]=Math.min(n,s[0][0]),s[0][1]=Math.min(r,s[0][1]),s[1][0]=Math.max(n,s[1][0]),s[1][1]=Math.max(r,s[1][1]));for(n=s[0][0];s[1][0]>=n;n+=1)for(i=1,r=s[0][1];s[1][1]>=r;r+=1){for(;a[n]&&a[n][r-i]&&a[n][r]===a[n][r-i];)s[0][1]=Math.min(r-i,s[0][1]),s[1][1]=Math.max(r-i,s[1][1]),i+=1;for(i=1;a[n]&&a[n][r+i]&&a[n][r]===a[n][r+i];)s[0][1]=Math.min(r+i,s[0][1]),s[1][1]=Math.max(r+i,s[1][1]),i+=1;for(i=1;a[n-i]&&a[n][r]===a[n-i][r];)s[0][0]=Math.min(n-i,s[0][0]),s[1][0]=Math.max(n-i,s[1][0]),i+=1;for(i=1;a[n+i]&&a[n][r]===a[n+i][r];)s[0][0]=Math.min(n+i,s[0][0]),s[1][0]=Math.max(n+i,s[1][0]),i+=1}return s},e.normalizeTable=function(t){var o,n,r,i,a=[],c=e.formalMatrix(t);for(n=0;c[0].length>n;n+=1){for(r=1e6,i=!1,o=0;c.length>o;o+=1)if(void 0!==c[o][n]){if(2>c[o][n].colSpan){i=!0;break}r=Math.min(r,c[o][n].colSpan)}if(!i)for(o=0;c.length>o;o+=1)void 0!==c[o][n]&&e.mark(c[o][n],"colspan",c[o][n].colSpan-r+1,a)}for(o=0;c.length>o;o+=1){for(r=1e6,i=!1,n=0;c[o].length>n;n+=1)if(void 0!==c[o][n]){if(2>c[o][n].rowSpan){i=!0;break}r=Math.min(r,c[o][n].rowSpan)}if(!i)for(n=0;c[o].length>n;n+=1)void 0!==c[o][n]&&e.mark(c[o][n],"rowspan",c[o][n].rowSpan-r+1,a)}for(o=0;c.length>o;o+=1)for(n=0;c[o].length>n;n+=1)void 0!==c[o][n]&&(c[o][n].hasAttribute("rowspan")&&1===c[o][n].rowSpan&&(0,s.attr)(c[o][n],"rowspan",null),c[o][n].hasAttribute("colspan")&&1===c[o][n].colSpan&&(0,s.attr)(c[o][n],"colspan",null),c[o][n].hasAttribute("class")&&!(0,s.attr)(c[o][n],"class")&&(0,s.attr)(c[o][n],"class",null));e.unmark(a)},e.mergeSelected=function(t,o){var n,a=[],c=e.getSelectedBound(t,e.getSelectedCellsByTable(t)),l=0,u=null,d=0,p=0,h=0,v=new Set,m=[];c&&(c[0][0]-c[1][0]||c[0][1]-c[1][1])&&(e.formalMatrix(t,(function(t,r,i,g,y){if(!(c[0][0]>r||r>c[1][0]||c[0][1]>i||i>c[1][1])){if(v.has(n=t))return;v.add(n),r===c[0][0]&&n.style.width&&(l+=n.offsetWidth),""!==(0,s.trim)(t.innerHTML.replace(/<br(\/)?>/g,""))&&a.push(t.innerHTML),g>1&&(p+=g-1),y>1&&(h+=y-1),u?(e.mark(n,"remove",1,m),f(o).removeSelection(n)):(u=t,d=i)}})),p=c[1][1]-c[0][1]+1,h=c[1][0]-c[0][0]+1,u&&(p>1&&e.mark(u,"colspan",p,m),h>1&&e.mark(u,"rowspan",h,m),l&&(e.mark(u,"width",(l/t.offsetWidth*100).toFixed(r.ACCURACY)+"%",m),d&&e.setColumnWidthByDelta(t,d,0,!0,m)),u.innerHTML=a.join("<br/>"),f(o).addSelection(u),v.delete(u),e.unmark(m),e.normalizeTable(t),(0,s.toArray)(t.rows).forEach((function(t,e){t.cells.length||i.Dom.safeRemove(t)}))))},e.splitHorizontal=function(t,o){var n,r,s,a,c,l=[];e.getSelectedCellsByTable(t).forEach((function(u){(r=o.createInside.element("td")).appendChild(o.createInside.element("br")),s=o.createInside.element("tr"),n=e.formalCoordinate(t,u),2>u.rowSpan?(e.formalMatrix(t,(function(t,o,r){n[0]===o&&n[1]!==r&&t!==u&&e.mark(t,"rowspan",t.rowSpan+1,l)})),i.Dom.after(i.Dom.closest(u,"tr",t),s),s.appendChild(r)):(e.mark(u,"rowspan",u.rowSpan-1,l),e.formalMatrix(t,(function(e,o,r){o>n[0]&&n[0]+u.rowSpan>o&&n[1]>r&&e.parentNode.rowIndex===o&&(c=e),o>n[0]&&e===u&&(a=t.rows[o])})),c?i.Dom.after(c,r):a.insertBefore(r,a.firstChild)),u.colSpan>1&&e.mark(r,"colspan",u.colSpan,l),e.unmark(l),f(o).removeSelection(u)})),this.normalizeTable(t)},e.splitVertical=function(t,o){var n,s,a,c=[];e.getSelectedCellsByTable(t).forEach((function(l){n=e.formalCoordinate(t,l),2>l.colSpan?e.formalMatrix(t,(function(t,o,r){n[1]===r&&n[0]!==o&&t!==l&&e.mark(t,"colspan",t.colSpan+1,c)})):e.mark(l,"colspan",l.colSpan-1,c),(s=o.createInside.element("td")).appendChild(o.createInside.element("br")),l.rowSpan>1&&e.mark(s,"rowspan",l.rowSpan,c);var u=l.offsetWidth;i.Dom.after(l,s),e.mark(l,"width",(100*(a=u/t.offsetWidth/2)).toFixed(r.ACCURACY)+"%",c),e.mark(s,"width",(100*a).toFixed(r.ACCURACY)+"%",c),e.unmark(c),f(o).removeSelection(l)})),e.normalizeTable(t)},e.setColumnWidthByDelta=function(t,o,n,i,s){for(var a=e.formalMatrix(t),c=0,l=0;a.length>l;l+=1)if(1>=(u=a[l][o]).colSpan||1>=a.length){e.mark(u,"width",((u.offsetWidth+n)/t.offsetWidth*100).toFixed(r.ACCURACY)+"%",s),c=l;break}for(l=c+1;a.length>l;l+=1){var u;e.mark(u=a[l][o],"width",null,s)}i||e.unmark(s)},e.mark=function(t,e,o,n){var r;n.push(t);var i=null!==(r=u.get(t))&&void 0!==r?r:{};i[e]=void 0===o?1:o,u.set(t,i)},e.unmark=function(t){t.forEach((function(t){var e=u.get(t);e&&(Object.keys(e).forEach((function(o){var n=e[o];switch(o){case"remove":i.Dom.safeRemove(t);break;case"rowspan":(0,s.attr)(t,"rowspan",(0,s.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,s.attr)(t,"colspan",(0,s.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(t.style.removeProperty("width"),(0,s.attr)(t,"style")||(0,s.attr)(t,"style",null)):t.style.width=n.toString()}delete e[o]})),u.delete(t))}))},e.selectedByTable=new WeakMap,n.__decorate([(0,l.debounce)()],e.prototype,"recalculateStyles",null),e}(a.ViewComponent);e.Table=d;var f=function(t){return t.getInstance("Table",t.o)}},73102:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToolbarButton=void 0;var n=o(52784);o(65751);var r=o(24697),i=o(51923),s=o(96582),a=o(17497),c=o(75901),l=o(16892),u=o(74259),d=o(70141),f=o(20937),p=o(4015),h=function(t){function e(e,o,i){void 0===i&&(i=null);var s=t.call(this,e)||this;return s.control=o,s.target=i,s.state=n.__assign(n.__assign({},(0,r.UIButtonState)()),{theme:"toolbar",currentValue:"",hasTrigger:!1}),s.openedPopup=null,e.e.on([s.button,s.trigger],"mousedown",(function(t){return t.preventDefault()})),s.onAction(s.onClick),s.hookStatus(f.STATUSES.ready,(function(){s.initFromControl(),s.initTooltip(),s.update()})),o.mods&&Object.keys(o.mods).forEach((function(t){o.mods&&s.setMod(t,o.mods[t])})),s}return n.__extends(e,t),e.prototype.className=function(){return"ToolbarButton"},Object.defineProperty(e.prototype,"toolbar",{get:function(){return this.closest(d.ToolbarCollection)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"button",{get:function(){return this.container.querySelector("button.".concat(this.componentName,"__button"))},enumerable:!1,configurable:!0}),e.prototype.update=function(){var e=this.control,o=this.state,n=this.closest(d.ToolbarCollection);o.disabled=this.calculateDisabledStatus(n),o.activated=this.calculateActivatedStatus(n),(0,l.isFunction)(e.update)&&n&&e.update(this,n.jodit),t.prototype.update.call(this)},e.prototype.calculateActivatedStatus=function(t){return!((0,l.isJoditObject)(this.j)&&!this.j.editorIsActive)&&(!(!(0,l.isFunction)(this.control.isActive)||!this.control.isActive(this.j,this.control,this))||Boolean(t&&t.shouldBeActive(this)))},e.prototype.calculateDisabledStatus=function(t){return!!this.j.o.disabled||!(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))||!(!(0,l.isFunction)(this.control.isDisabled)||!this.control.isDisabled(this.j,this.control,this))||Boolean(t&&t.shouldBeDisabled(this))},e.prototype.onChangeActivated=function(){(0,l.attr)(this.button,"aria-pressed",this.state.activated),t.prototype.onChangeActivated.call(this)},e.prototype.onChangeText=function(){(0,l.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):t.prototype.onChangeText.call(this),this.setMod("text-icons",Boolean(this.text.innerText.trim().length))},e.prototype.onChangeTabIndex=function(){(0,l.attr)(this.button,"tabindex",this.state.tabIndex)},e.prototype.onChangeTooltip=function(){(0,l.attr)(this.button,"aria-label",this.state.tooltip),t.prototype.onChangeTooltip.call(this)},e.prototype.createContainer=function(){var e=this.componentName,o=this.j.c.span(e),n=t.prototype.createContainer.call(this);return(0,l.attr)(o,"role","listitem"),n.classList.remove(e),n.classList.add(e+"__button"),Object.defineProperty(n,"component",{value:this}),o.appendChild(n),this.trigger=this.j.c.fromHTML('<span role="trigger" class="'.concat(e,'__trigger">').concat(u.Icon.get("chevron"),"</span>")),o},e.prototype.focus=function(){var t;null===(t=this.container.querySelector("button"))||void 0===t||t.focus()},e.prototype.onChangeHasTrigger=function(){this.state.hasTrigger?this.container.appendChild(this.trigger):s.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)},e.prototype.onChangeDisabled=function(){var t=this.state.disabled?"disabled":null;(0,l.attr)(this.trigger,"disabled",t),(0,l.attr)(this.button,"disabled",t),(0,l.attr)(this.container,"disabled",t)},e.prototype.initTooltip=function(){var t=this;this.j.o.textIcons||!this.j.o.showTooltip||this.j.o.useNativeTooltip||this.j.e.off(this.container,"mouseenter mouseleave").on(this.container,"mousemove",(function(e){t.state.tooltip&&!t.state.disabled&&t.j.e.fire("delayShowTooltip",(function(){return{x:e.clientX+10,y:e.clientY+10}}),t.state.tooltip)})).on(this.container,"mouseleave",(function(){t.j.e.fire("hideTooltip")}))},e.prototype.initFromControl=function(){var t,e=this.control,o=this.state;this.updateSize(),o.name=e.name;var n=this.j.o.textIcons;if(!0===n||(0,l.isFunction)(n)&&n(e.name)||e.template)o.icon=(0,r.UIButtonState)().icon,o.text=e.text||e.name;else{if(e.iconURL)o.icon.iconURL=e.iconURL;else{var i=e.icon||e.name;o.icon.name=u.Icon.exists(i)||(null===(t=this.j.o.extraIcons)||void 0===t?void 0:t[i])?i:""}e.iconURL||o.icon.name||(o.text=e.text||e.name)}e.tooltip&&(o.tooltip=this.j.i18n((0,l.isFunction)(e.tooltip)?e.tooltip(this.j,e,this):e.tooltip)),o.hasTrigger=Boolean(e.list||e.popup&&e.exec)},e.prototype.onTriggerClick=function(t){var e,o,n,r=this;if(this.openedPopup)this.closePopup();else{var i=this.control;if(t.buffer={actionTrigger:this},i.list)return this.openControlList(i);if((0,l.isFunction)(i.popup)){var s=this.openPopup();if(s.parentElement=this,!1!==this.j.e.fire((0,l.camelCase)("before-".concat(i.name,"-open-popup")),this.target,i,s)){var a=null!==(n=null!==(o=null===(e=this.toolbar)||void 0===e?void 0:e.getTarget(this))&&void 0!==o?o:this.target)&&void 0!==n?n:null,c=i.popup(this.j,a,i,this.closePopup,this);c&&s.setContent((0,l.isString)(c)?this.j.c.fromHTML(c):c).open((function(){return(0,l.position)(r.container)}),!1,this.j.o.allowTabNavigation?this.container:void 0)}this.j.e.fire((0,l.camelCase)("after-".concat(i.name,"-open-popup")),s.container)}}},e.prototype.openControlList=function(t){var e,o=this,r=null!==(e=this.jodit.options.controls)&&void 0!==e?e:{},i=function(t){return(0,p.findControlType)(t,r)},s=t.list,a=this.openPopup(),u=(0,c.makeCollection)(this.j);a.parentElement=this,u.parentElement=a,u.mode="vertical";var d=function(e,r){if((0,l.isString)(r)&&i(r))return n.__assign({name:r.toString()},i(r));if((0,l.isString)(e)&&i(e))return n.__assign(n.__assign({name:e.toString()},i(e)),"object"==typeof r?r:{});(function(t){return(0,l.isPlainObject)(t)&&"title"in t&&"value"in t})(e)&&(r=e.value,e=e.title);var s=t.childTemplate,a={name:e.toString(),template:s&&function(t,e,n){return s(t,e,n,o)},exec:t.childExec?function(e,o,r){var i;return null===(i=t.childExec)||void 0===i?void 0:i.call(t,e,o,n.__assign(n.__assign({},r),{parentControl:t}))}:t.exec,data:t.data,command:t.command,isActive:t.isChildActive,isDisabled:t.isChildDisabled,mode:t.mode,args:n.__spreadArray(n.__spreadArray([],n.__read(t.args?t.args:[]),!1),[e,r],!1)};return(0,l.isString)(r)&&(a.text=r),a};u.build((0,l.isArray)(s)?s.map(d):(0,l.keys)(s,!1).map((function(t){return d(t,s[t])})),this.target),a.setContent(u.container).open((function(){return(0,l.position)(o.container)}),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0},e.prototype.onOutsideClick=function(t){this.openedPopup&&(t&&s.Dom.isNode(t.target)&&(s.Dom.isOrContains(this.container,t.target)||this.openedPopup.isOwnClick(t))||this.closePopup())},e.prototype.openPopup=function(){return this.closePopup(),this.openedPopup=new a.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup},e.prototype.closePopup=function(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)},e.prototype.onClick=function(t){var e,o,n,r,i,s,a,c=this.control;if((0,l.isFunction)(c.exec)){var u=null!==(n=null!==(o=null===(e=this.toolbar)||void 0===e?void 0:e.getTarget(this))&&void 0!==o?o:this.target)&&void 0!==n?n:null,d=c.exec(this.j,u,{control:c,originalEvent:t,button:this});if(!1!==d&&!0!==d&&(null===(i=null===(r=this.j)||void 0===r?void 0:r.e)||void 0===i||i.fire("synchro"),this.parentElement&&this.parentElement.update(),null===(a=null===(s=this.j)||void 0===s?void 0:s.e)||void 0===a||a.fire("closeAllPopups afterExec")),!1!==d)return}return c.list?this.openControlList(c):(0,l.isFunction)(c.popup)?this.onTriggerClick(t):void((c.command||c.name)&&((0,l.call)((0,l.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),c.command||c.name,!1,c.args&&c.args[0]),this.j.e.fire("closeAllPopups")))},e.prototype.destruct=function(){return this.closePopup(),t.prototype.destruct.call(this)},n.__decorate([(0,i.watch)("state.tooltip")],e.prototype,"onChangeTooltip",null),n.__decorate([(0,i.watch)("state.hasTrigger")],e.prototype,"onChangeHasTrigger",null),n.__decorate([(0,i.watch)("trigger:click")],e.prototype,"onTriggerClick",null),n.__decorate([i.autobind],e.prototype,"onOutsideClick",null),n.__decorate([i.autobind],e.prototype,"closePopup",null),n.__decorate([i.component],e)}(r.UIButton);e.ToolbarButton=h},61581:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToolbarContent=void 0;var n=o(52784);o(35218);var r=o(24697),i=o(96582),s=o(16892),a=o(51923),c=function(t){function e(e,o,n){void 0===n&&(n=null);var r=t.call(this,e)||this;return r.control=o,r.target=n,r.container.classList.add("".concat(r.componentName,"_").concat(r.clearName(o.name))),(0,s.attr)(r.container,"role","content"),r}return n.__extends(e,t),e.prototype.className=function(){return"ToolbarContent"},e.prototype.update=function(){var e=this.control.getContent(this.j,this.control,this);((0,s.isString)(e)||e.parentNode!==this.container)&&(i.Dom.detach(this.container),this.container.appendChild((0,s.isString)(e)?this.j.create.fromHTML(e):e)),t.prototype.update.call(this)},e.prototype.createContainer=function(){return this.j.c.span(this.componentName)},n.__decorate([a.component],e)}(r.UIButton);e.ToolbarContent=c},41581:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(73102),e),n.__exportStar(o(61581),e)},70141:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToolbarCollection=void 0;var n=o(52784);o(28119);var r=o(16892),i=o(98440),s=o(75901),a=o(51923),c=function(t){function e(e){var o=t.call(this,e)||this;return o.listenEvents="updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur",o.update=o.j.async.debounce(o.immediateUpdate,(function(){return o.j.defaultTimeout})),o.__tooltip=null,o.initEvents(),o.__tooltip=i.UITooltip.make(e),o}return n.__extends(e,t),e.prototype.className=function(){return"ToolbarCollection"},Object.defineProperty(e.prototype,"firstButton",{get:function(){return n.__read(this.buttons,1)[0]||null},enumerable:!1,configurable:!0}),e.prototype.makeButton=function(t,e){return void 0===e&&(e=null),(0,s.makeButton)(this.j,t,e)},e.prototype.shouldBeActive=function(t){},e.prototype.shouldBeDisabled=function(t){},e.prototype.getTarget=function(t){return t.target||null},e.prototype.immediateUpdate=function(){this.isDestructed||this.j.isLocked||(t.prototype.update.call(this),this.j.e.fire("afterUpdateToolbar"))},e.prototype.setDirection=function(t){this.container.style.direction=t,this.container.setAttribute("dir",t)},e.prototype.initEvents=function(){this.j.e.on(this.listenEvents,this.update).on("afterSetMode focus",this.immediateUpdate)},e.prototype.hide=function(){this.container.remove()},e.prototype.show=function(){this.appendTo(this.j.toolbarContainer)},e.prototype.showInline=function(t){throw(0,r.error)("The method is not implemented for this class.")},e.prototype.build=function(e,o){void 0===o&&(o=null);var n=this.j.e.fire("beforeToolbarBuild",e);return n&&(e=n),t.prototype.build.call(this,e,o),this},e.prototype.destruct=function(){var e;this.isDestructed||(null===(e=this.__tooltip)||void 0===e||e.destruct(),this.j.e.off(this.listenEvents,this.update).off("afterSetMode focus",this.immediateUpdate),t.prototype.destruct.call(this))},n.__decorate([a.autobind],e.prototype,"immediateUpdate",null),n.__decorate([a.component],e)}(i.UIList);e.ToolbarCollection=c},63314:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToolbarEditorCollection=void 0;var n=o(52784),r=o(70141),i=o(49940),s=o(96582),a=o(16892),c=o(51923),l=function(t){function e(e){var o=t.call(this,e)||this;return o.checkActiveStatus=function(t,e){var n=0,r=0;return Object.keys(t).forEach((function(i){var s=t[i];(0,a.isFunction)(s)?s(o.j,(0,a.css)(e,i).toString())&&(n+=1):-1!==s.indexOf((0,a.css)(e,i).toString())&&(n+=1),r+=1})),r===n},o.prependInvisibleInput(o.container),o}return n.__extends(e,t),e.prototype.className=function(){return"ToolbarEditorCollection"},e.prototype.shouldBeDisabled=function(e){var o=t.prototype.shouldBeDisabled.call(this,e);if(void 0!==o)return o;var n=void 0===e.control.mode?i.MODE_WYSIWYG:e.control.mode;return!(n===i.MODE_SPLIT||n===this.j.getRealMode())},e.prototype.shouldBeActive=function(e){var o=this,n=t.prototype.shouldBeActive.call(this,e);if(void 0!==n)return n;var r=this.j.selection?this.j.s.current():null;if(!r)return!1;if(e.control.tags){var i=e.control.tags;if(s.Dom.up(r,(function(t){if(t&&-1!==i.indexOf(t.nodeName.toLowerCase()))return!0}),this.j.editor))return!0}if(e.control.css){var a=e.control.css;if(s.Dom.up(r,(function(t){if(t&&!s.Dom.isText(t))return o.checkActiveStatus(a,t)}),this.j.editor))return!0}return!1},e.prototype.getTarget=function(t){return t.target||this.j.s.current()||null},e.prototype.prependInvisibleInput=function(t){var e=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});s.Dom.appendChildFirst(t,e)},e.prototype.showInline=function(t){this.jodit.e.fire("showInlineToolbar",t)},e.prototype.hide=function(){this.jodit.e.fire("hidePopup"),t.prototype.hide.call(this),this.jodit.e.fire("toggleToolbar")},e.prototype.show=function(){t.prototype.show.call(this),this.jodit.e.fire("toggleToolbar")},n.__decorate([c.component],e)}(r.ToolbarCollection);e.ToolbarEditorCollection=l},75901:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.makeButton=e.makeCollection=void 0;var n=o(16892),r=o(70141),i=o(63314),s=o(73102),a=o(61581);e.makeCollection=function(t,e){var o=(0,n.isJoditObject)(t)?new i.ToolbarEditorCollection(t):new r.ToolbarCollection(t);return t.o.textIcons&&o.container.classList.add("jodit_text_icons"),e&&(o.parentElement=e),t.o.toolbarButtonSize&&(o.buttonSize=t.o.toolbarButtonSize),o},e.makeButton=function(t,e,o){if(void 0===o&&(o=null),(0,n.isFunction)(e.getContent))return new a.ToolbarContent(t,e,o);var r=new s.ToolbarButton(t,e,o);return r.state.tabIndex=t.o.allowTabNavigation?0:-1,r}},14825:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784),r=o(733),i=o(8356),s=o(8637);r.Config.prototype.enableDragAndDropFileToEditor=!0,r.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:function(t){return"files[".concat(t,"]")},withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:function(t){return t},isSuccess:function(t){return t.success},getMessage:function(t){return void 0!==t.data.messages&&(0,i.isArray)(t.data.messages)?t.data.messages.join(" "):""},processFileName:function(t,e,o){return[t,e,o]},process:function(t){return t.data},error:function(t){this.j.e.fire("errorMessage",t.message,"error",4e3)},getDisplayName:function(t,e){return t+e},defaultHandlerSuccess:function(t){var e=this,o=this.j||this;(0,s.isJoditObject)(o)&&t.files&&t.files.length&&t.files.forEach((function(r,i){var s=n.__read(t.isImages&&t.isImages[i]?["img","src"]:["a","href"],2),a=s[0],c=s[1],l=o.createInside.element(a);l.setAttribute(c,t.baseurl+r),"a"===a&&(l.textContent=o.o.uploader.getDisplayName.call(e,t.baseurl,r)),"img"===a?o.s.insertImage(l,null,o.o.imageDefaultWidth):o.s.insertNode(l)}))},defaultHandlerError:function(t){this.j.e.fire("errorMessage",t.message)},contentType:function(t){return(void 0===this.ow.FormData||"string"==typeof t)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},33760:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildData=void 0;var n=o(16892);e.buildData=function(t,e){if((0,n.isFunction)(t.o.buildData))return t.o.buildData.call(t,e);var o=t.ow.FormData;if(void 0!==o){if(e instanceof o)return e;if((0,n.isString)(e))return e;var r=new o;return Object.keys(e).forEach((function(t){r.append(t,e[t])})),r}return e}},20353:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dataURItoBlob=void 0,e.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),o=t.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(e.length),r=new Uint8Array(n),i=0;e.length>i;i+=1)r[i]=e.charCodeAt(i);return new Blob([r],{type:o})}},7564:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasItems=e.hasFiles=void 0;var n=o(52784);n.__exportStar(o(93659),e),n.__exportStar(o(20353),e),n.__exportStar(o(33760),e),n.__exportStar(o(18340),e),n.__exportStar(o(69503),e),e.hasFiles=function(t){return Boolean(t&&t.files&&t.files.length>0)},e.hasItems=function(t){return Boolean(t&&t.items&&t.items.length>0)}},93659:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processOldBrowserDrag=void 0;var n=o(49940),r=o(58706),i=o(16892),s=o(96582),a=o(7564);e.processOldBrowserDrag=function(t,e,o,c,l){if(e&&(!e.types.length||e.types[0]!==n.TEXT_PLAIN)){var u=t.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.getContainer)(t.j,t.constructor).appendChild(u);var d=(0,i.isJoditObject)(t.j)?t.j.s.save():null;u.focus(),t.j.async.setTimeout((function(){var e=u.firstChild;if(s.Dom.safeRemove(u),e&&e.hasAttribute("src")){var n=(0,i.attr)(e,"src")||"";d&&(0,i.isJoditObject)(t.j)&&t.j.s.restore(),(0,a.sendFiles)(t,[(0,a.dataURItoBlob)(n)],o,c).finally(l)}}),t.j.defaultTimeout)}}},69503:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sendFiles=void 0;var n=o(52784),r=o(16892),i=o(18340);e.sendFiles=function(t,e,o,s,a){if(!e)return Promise.reject((0,r.error)("Need files"));var c=t.o,l=(0,r.toArray)(e);if(!l.length)return Promise.reject((0,r.error)("Need files"));var u=[];if(c.insertImageAsBase64URI){var d,f=void 0,p=function(){if((d=l[f])&&d.type){var e=d.type.match(/\/([a-z0-9]+)/i),n=e[1]?e[1].toLowerCase():"";if(c.imagesExtensions.includes(n)){var i=new FileReader;u.push(t.j.async.promise((function(e,n){i.onerror=n,i.onloadend=function(){var n={baseurl:"",files:[i.result],isImages:[!0]};((0,r.isFunction)(o)?o:c.defaultHandlerSuccess).call(t,n),e(n)},i.readAsDataURL(d)}))),l[f]=null}}};for(f=0;l.length>f;f+=1)p()}if((l=l.filter((function(t){return t}))).length){var h=new FormData;h.append(c.pathVariableName,t.path),h.append("source",t.source);var v=void 0;for(f=0;l.length>f;f+=1)if(v=l[f]){var m=/\.[\d\w]+$/.test(v.name),g=v.type.match(/\/([a-z0-9]+)/i),y=g&&g[1]?g[1].toLowerCase():"",_=l[f].name||Math.random().toString().replace(".","");if(!m&&y){var b=y;["jpeg","jpg"].includes(b)&&(b="jpeg|jpg"),new RegExp(".("+b+")$","i").test(_)||(_+="."+y)}var w=n.__read(c.processFileName.call(t,c.filesVariableName(f),l[f],_),3);h.append(w[0],w[1],w[2])}a&&a(h),c.data&&(0,r.isPlainObject)(c.data)&&Object.keys(c.data).forEach((function(t){h.append(t,c.data[t])})),c.prepareData.call(t,h),u.push((0,i.send)(t,h).then((function(e){return c.isSuccess.call(t,e)?(((0,r.isFunction)(o)?o:c.defaultHandlerSuccess).call(t,c.process.call(t,e)),e):(((0,r.isFunction)(s)?s:c.defaultHandlerError).call(t,(0,r.error)(c.getMessage.call(t,e))),e)})).then((function(){t.j.events&&t.j.e.fire("filesWereUploaded")})))}return Promise.all(u)}},18340:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.send=e.ajaxInstances=void 0;var n=o(42239),r=o(16892),i=o(33760);e.ajaxInstances=new WeakMap,e.send=function(t,o){var s=(0,i.buildData)(t,o),a=function(o){var i=new n.Ajax({xhr:function(){var e=new XMLHttpRequest;return void 0!==t.j.ow.FormData&&e.upload?(t.j.progressbar.show().progress(10),e.upload.addEventListener("progress",(function(e){if(e.lengthComputable){var o=e.loaded/e.total;o*=100,t.j.progressbar.show().progress(o),100>o||t.j.progressbar.hide()}}),!1)):t.j.progressbar.hide(),e},method:t.o.method||"POST",data:o,url:(0,r.isFunction)(t.o.url)?t.o.url(o):t.o.url,headers:t.o.headers,queryBuild:t.o.queryBuild,contentType:t.o.contentType.call(t,o),withCredentials:t.o.withCredentials||!1}),s=e.ajaxInstances.get(t);return s||(s=new Set,e.ajaxInstances.set(t,s)),s.add(i),t.j.e.one("beforeDestruct",i.destruct),i.send().then((function(t){return t.json()})).catch((function(e){t.o.error.call(t,e)})).finally((function(){i.destruct(),null==s||s.delete(i)}))};return(0,r.isPromise)(s)?s.then(a).catch((function(e){t.o.error.call(t,e)})):a(s)}},99509:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Uploader=void 0;var n=o(52784);o(82247);var r=o(733),i=o(49940),s=o(16892),a=o(68311),c=o(7564);o(14825);var l=function(t){function e(e,o){var n=t.call(this,e)||this;return n.path="",n.source="default",n.options=(0,s.ConfigProto)(o||{},(0,s.ConfigProto)(r.Config.defaultOptions.uploader,(0,s.isJoditObject)(e)?e.o.uploader:{})),n}return n.__extends(e,t),Object.defineProperty(e.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.className=function(){return"Uploader"},Object.defineProperty(e.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),e.prototype.setPath=function(t){return this.path=t,this},e.prototype.setSource=function(t){return this.source=t,this},e.prototype.bind=function(t,e,o){var n=function(){t.classList.remove("jodit_drag_hover")},r=this,s=function(t){var s,a,l,u=t.clipboardData,d=function(t){a&&(t.append("extension",l),t.append("mimetype",a.type))};if(!i.IS_IE&&(0,c.hasFiles)(u))return(0,c.sendFiles)(r,u.files,e,o).finally(n),!1;if(i.IS_IE)return(0,c.processOldBrowserDrag)(r,u,e,o,n);if((0,c.hasItems)(u)){var f=u.items;for(s=0;f.length>s;s+=1)if("file"===f[s].kind&&"image/png"===f[s].type){if(a=f[s].getAsFile()){var p=a.type.match(/\/([a-z0-9]+)/i);l=p[1]?p[1].toLowerCase():"",(0,c.sendFiles)(r,[a],e,o,d).finally(n)}t.preventDefault();break}}};r.j&&r.j.editor!==t?r.j.e.on(t,"paste",s):r.j.e.on("beforePaste",s),this.attachEvents(t,e,o,n)},e.prototype.attachEvents=function(t,e,o,n){var r=this;r.j.e.on(t,"dragend dragover dragenter dragleave drop",(function(t){t.preventDefault()})).on(t,"dragover",(function(e){((0,c.hasFiles)(e.dataTransfer)||(0,c.hasItems)(e.dataTransfer))&&(t.classList.add("jodit_drag_hover"),e.preventDefault())})).on(t,"dragend dragleave",(function(e){t.classList.remove("jodit_drag_hover"),(0,c.hasFiles)(e.dataTransfer)&&e.preventDefault()})).on(t,"drop",(function(i){t.classList.remove("jodit_drag_hover"),(0,c.hasFiles)(i.dataTransfer)&&(i.preventDefault(),i.stopImmediatePropagation(),(0,c.sendFiles)(r,i.dataTransfer.files,e,o).finally(n))}));var i=t.querySelector("input[type=file]");i&&r.j.e.on(i,"change",(function(){(0,c.sendFiles)(r,i.files,e,o).then((function(){i.value="",/safari/i.test(navigator.userAgent)||(i.type="",i.type="file")})).finally(n)}))},e.prototype.uploadRemoteImage=function(t,e,o){var n=this,r=n.o,i=(0,s.isFunction)(o)?o:r.defaultHandlerError;(0,c.send)(n,{action:"fileUploadRemote",url:t}).then((function(t){r.isSuccess.call(n,t)?((0,s.isFunction)(e)?e:r.defaultHandlerSuccess).call(n,r.process.call(n,t)):i.call(n,(0,s.error)(r.getMessage.call(n,t)))})).catch((function(t){return i.call(n,t)}))},e.prototype.destruct=function(){this.setStatus(a.STATUSES.beforeDestruct);var e=c.ajaxInstances.get(this);e&&(e.forEach((function(t){try{t.destruct()}catch(t){}})),e.clear()),t.prototype.destruct.call(this)},e}(a.ViewComponent);e.Uploader=l},21795:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorPickerWidget=void 0,o(26881);var n=o(16892),r=o(98440),i=o(96582);r.Icon.set("palette",o(81762)),e.ColorPickerWidget=function(t,e,o){var s="jodit-color-picker",a=(0,n.normalizeColor)(o),c=t.c.div(s),l=t.o.textIcons?"<span>".concat(t.i18n("palette"),"</span>"):r.Icon.get("palette"),u=function(t){var e=[];return(0,n.isPlainObject)(t)?Object.keys(t).forEach((function(o){e.push('<div class="'.concat(s,"__group ").concat(s,"__group-").concat(o,'">')),e.push(u(t[o])),e.push("</div>")})):(0,n.isArray)(t)&&t.forEach((function(t){e.push("<span class='".concat(s,"__color-item ").concat(a===t?s+"__color-item_active_true":"","' title=\"").concat(t,'" style="background-color:').concat(t,'" data-color="').concat(t,'"></span>'))})),e.join("")};c.appendChild(t.c.fromHTML('<div class="'.concat(s,'__groups">').concat(u(t.o.colors),"</div>"))),c.appendChild(t.c.fromHTML('<div data-ref="extra" class="'.concat(s,'__extra"></div>')));var d=(0,n.refs)(c).extra;return t.o.showBrowserColorPicker&&(0,n.hasBrowserColorPicker)()&&(d.appendChild(t.c.fromHTML('<div class="'.concat(s,'__native">').concat(l,'<input type="color" value="#ffffff"/></div>'))),t.e.on(c,"change",(function(t){t.stopPropagation();var o=t.target;if(o&&o.tagName&&i.Dom.isTag(o,"input")){var r=o.value||"";(0,n.isFunction)(e)&&e(r),t.preventDefault()}}))),t.e.on(c,"mousedown touchend",(function(o){o.stopPropagation(),o.preventDefault();var r=o.target;if(r&&r.tagName&&!i.Dom.isTag(r,"svg")&&!i.Dom.isTag(r,"path")||!r.parentNode||(r=i.Dom.closest(r.parentNode,"span",t.editor)),i.Dom.isTag(r,"span")&&r.classList.contains(s+"__color-item")){var a=(0,n.attr)(r,"-color")||"";e&&(0,n.isFunction)(e)&&e(a)}})),t.e.fire("afterGenerateColorPicker",c,d,e,a),c}},64970:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FileSelectorWidget=void 0;var n=o(16892),r=o(96582),i=o(98440),s=o(86245);e.FileSelectorWidget=function(t,e,o,a,c){var l;void 0===c&&(c=!0);var u=[];if(e.upload&&t.o.uploader&&(t.o.uploader.url||t.o.uploader.insertImageAsBase64URI)){var d=t.c.fromHTML('<div class="jodit-drag-and-drop__file-box">'+"<strong>".concat(t.i18n(c?"Drop image":"Drop file"),"</strong>")+"<span><br>".concat(t.i18n("or click"),"</span>")+'<input type="file" accept="'.concat(c?"image/*":"*",'" tabindex="-1" dir="auto" multiple=""/>')+"</div>");t.uploader.bind(d,(function(o){var r=(0,n.isFunction)(e.upload)?e.upload:t.o.uploader.defaultHandlerSuccess;(0,n.isFunction)(r)&&r.call(t,o),t.e.fire("closeAllPopups")}),(function(e){t.e.fire("errorMessage",e.message),t.e.fire("closeAllPopups")})),u.push({icon:"upload",name:"Upload",content:d})}if(e.filebrowser&&(t.o.filebrowser.ajax.url||t.o.filebrowser.items.url)&&u.push({icon:"folder",name:"Browse",content:function(){a&&a(),e.filebrowser&&t.filebrowser.open(e.filebrowser,c)}}),e.url){var f=new i.UIButton(t,{type:"submit",variant:"primary",text:"Insert"}),p=new i.UIForm(t,[new i.UIInput(t,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new i.UIInput(t,{name:"text",label:"Alternative text"}),new i.UIBlock(t,[f])]);l=null,o&&!r.Dom.isText(o)&&(r.Dom.isTag(o,"img")||(0,n.$$)("img",o).length)&&(l="IMG"===o.tagName?o:(0,n.$$)("img",o)[0],(0,n.val)(p.container,"input[name=url]",(0,n.attr)(l,"src")),(0,n.val)(p.container,"input[name=text]",(0,n.attr)(l,"alt")),f.state.text="Update"),o&&r.Dom.isTag(o,"a")&&((0,n.val)(p.container,"input[name=url]",(0,n.attr)(o,"href")),(0,n.val)(p.container,"input[name=text]",(0,n.attr)(o,"title")),f.state.text="Update"),p.onSubmit((function(o){(0,n.isFunction)(e.url)&&e.url.call(t,o.url,o.text)})),u.push({icon:"link",name:"URL",content:p.container})}return(0,s.TabsWidget)(t,u)}},19800:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(21795),e),n.__exportStar(o(86245),e),n.__exportStar(o(64970),e)},86245:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TabsWidget=void 0,o(7590);var n=o(16892),r=o(6244),i=o(98440),s=o(68311),a=o(12815);e.TabsWidget=function(t,e,o){var c=t.c.div("jodit-tabs"),l=t.c.div("jodit-tabs__wrapper"),u=t.c.div("jodit-tabs__buttons"),d={},f=[],p="",h=0;c.appendChild(u),c.appendChild(l);var v=function(t){d[t]&&(f.forEach((function(t){t.state.activated=!1})),(0,n.$$)(".jodit-tab",l).forEach((function(t){t.classList.remove("jodit-tab_active")})),d[t].button.state.activated=!0,d[t].tab.classList.add("jodit-tab_active"))};if(e.forEach((function(n){var c=n.icon,m=n.name,g=n.content,y=t.c.div("jodit-tab"),_=(0,i.Button)(t,c||m,m);t.e.on(_.container,"mousedown",(function(t){return t.preventDefault()})),p||(p=m),u.appendChild(_.container),f.push(_),_.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+e.length),(0,r.isFunction)(g)?y.appendChild(t.c.div("jodit-tab_empty")):y.appendChild(s.Component.isInstanceOf(g,i.UIElement)?g.container:g),l.appendChild(y),_.onAction((function(){return v(m),(0,r.isFunction)(g)&&!a.Dom.isElement(g)&&g.call(t),o&&(o.__activeTab=m),!1})),d[m]={button:_,tab:y},h+=1})),!h)return c;if((0,n.$$)("a",u).forEach((function(t){t.style.width=(100/h).toFixed(10)+"%"})),v(o&&o.__activeTab&&d[o.__activeTab]?o.__activeTab:p),o){var m=o.__activeTab;Object.defineProperty(o,"__activeTab",{configurable:!0,enumerable:!1,get:function(){return m},set:function(t){m=t,v(t)}})}return c}},63779:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(98831);var n=o(733),r=o(16892),i=o(49940),s=o(58706),a=o(74259);n.Config.prototype.controls.about={exec:function(t){var e=t.dlg(),o=t.i18n.bind(t);e.setMod("theme",t.o.theme).setHeader(o("About Jodit")).setContent('<div class="jodit-about">\n\t\t\t\t\t<div>'.concat(o("Jodit Editor")," v.").concat(t.getVersion(),"</div>\n\t\t\t\t\t<div>").concat(o("License: %s",(0,r.isLicense)(t.o.license)?(0,r.normalizeLicense)(t.o.license):"MIT"),'</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="').concat("https://xdsoft.net/jodit/pro/",'" target="_blank">').concat("https://xdsoft.net/jodit/pro/",'</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/doc/" target="_blank">').concat(o("Jodit User's Guide"),"</a>\n\t\t\t\t\t\t").concat(o("contains detailed help for using"),"\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>").concat(o("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved."),"</div>\n\t\t\t\t</div>")),(0,r.css)(e.dialog,{minHeight:200,minWidth:420}),e.open(!0)},tooltip:"About Jodit",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},s.pluginSystem.add("about",(function(t){t.registerButton({name:"about",group:"info"})})),a.Icon.set("about",o(61515))},90770:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addNewLine=void 0;var n=o(52784);o(19777);var r=o(71910),i=o(16892),s=o(51923),a=o(58706);o(78016);var c="addnewline",l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.line=e.j.c.fromHTML('<div role="button" tabindex="-1" title="'.concat(e.j.i18n("Break"),'" class="jodit-add-new-line"><span>').concat(r.Icon.get("enter"),"</span></div>")),e.isMatchedTag=function(t){return Boolean(t&&e.j.o.addNewLineTagsTriggers.includes(t.nodeName.toLowerCase()))},e.preview=!1,e.lineInFocus=!1,e.isShown=!1,e.hideForce=function(){e.isShown&&(e.isShown=!1,e.j.async.clearTimeout(e.timeout),e.lineInFocus=!1,r.Dom.safeRemove(e.line),e.line.style.setProperty("--jd-offset-handle","0"))},e.canGetFocus=function(t){return null!=t&&r.Dom.isBlock(t)&&!/^(img|table|iframe|hr)$/i.test(t.nodeName)},e.onClickLine=function(t){var o=e.j,n=o.createInside.element(o.o.enter);e.preview&&e.current&&e.current.parentNode?e.current===o.editor?r.Dom.prepend(o.editor,n):e.current.parentNode.insertBefore(n,e.current):o.editor.appendChild(n),o.s.setCursorIn(n),(0,i.scrollIntoViewIfNeeded)(n,o.editor,o.ed),o.synchronizeValues(),e.hideForce(),t.preventDefault()},e}return n.__extends(e,t),e.prototype.show=function(){this.isShown||this.j.o.readonly||this.j.isLocked||(this.isShown=!0,this.j.async.clearTimeout(this.timeout),this.line.classList.toggle("jodit-add-new-line_after",!this.preview),this.j.container.appendChild(this.line),this.line.style.width=this.j.container.clientWidth+"px")},e.prototype.onLock=function(t){t&&this.isShown&&this.hideForce()},e.prototype.hide=function(){this.isShown&&!this.lineInFocus&&(this.timeout=this.j.async.setTimeout(this.hideForce,{timeout:500,label:"add-new-line-hide"}))},e.prototype.afterInit=function(t){var e=this;t.o.addNewLine&&(t.e.on(this.line,"mousemove",(function(t){t.stopPropagation()})).on(this.line,"mousedown touchstart",this.onClickLine).on("change",this.hideForce).on(this.line,"mouseenter",(function(){e.j.async.clearTimeout(e.timeout),e.lineInFocus=!0})).on(this.line,"mouseleave",(function(){e.lineInFocus=!1})).on("changePlace",this.addEventListeners.bind(this)),this.addEventListeners())},e.prototype.addEventListeners=function(){var t=this.j;t.e.off(t.editor,"."+c).off(t.container,"."+c).on([t.ow,t.ew,t.editor],"scroll."+c,this.hideForce).on(t.editor,"click."+c,this.hide).on(t.container,"mouseleave."+c,this.hide).on(t.editor,"mousemove."+c,this.onMouseMove)},e.prototype.onDblClickEditor=function(t){var e=this.j;if(!e.o.readonly&&e.o.addNewLineOnDBLClick&&t.target===e.editor&&e.s.isCollapsed()){var o=(0,i.offset)(e.editor,e,e.ed),n=t.pageY-e.ew.pageYOffset,r=e.createInside.element(e.o.enter);Math.abs(n-o.top)<Math.abs(n-(o.height+o.top))&&e.editor.firstChild?e.editor.insertBefore(r,e.editor.firstChild):e.editor.appendChild(r),e.s.setCursorIn(r),e.synchronizeValues(),this.hideForce(),t.preventDefault()}},e.prototype.onMouseMove=function(t){var e=this.j,o=e.ed.elementFromPoint(t.clientX,t.clientY);if(r.Dom.isHTMLElement(o)&&!r.Dom.isOrContains(this.line,o)&&r.Dom.isOrContains(e.editor,o))if(e.editor===o||this.isMatchedTag(o)||(o=r.Dom.closest(o,this.isMatchedTag,e.editor)),o){if(this.isMatchedTag(o)){var n=r.Dom.up(o,r.Dom.isBlock,e.editor);n&&n!==e.editor&&(o=n)}var s=(0,i.position)(o,this.j),a=!1,c=t.clientY,l=t.clientX;if(this.j.iframe){var u=(0,i.position)(this.j.iframe,this.j,!0);c+=u.top,l+=u.left}var d=this.j.o.addNewLineDeltaShow;Math.abs(c-s.top)>d||(a=s.top,this.preview=!0),Math.abs(c-(s.top+s.height))>d||(a=s.top+s.height,this.preview=!1),!1===a||(e.editor!==o||this.preview)&&(0,i.call)(this.preview?r.Dom.prev:r.Dom.next,o,this.canGetFocus,e.editor)?(this.current=!1,this.hide()):(this.line.style.top=a+"px",this.current=o,this.show(),this.line.style.setProperty("--jd-offset-handle",l-s.left-10+"px"))}else this.hide()},e.prototype.beforeDestruct=function(){this.j.async.clearTimeout(this.timeout),this.j.e.off(this.line).off("changePlace",this.addEventListeners),r.Dom.safeRemove(this.line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+c).off(this.j.container,"."+c)},n.__decorate([(0,s.watch)(":lock")],e.prototype,"onLock",null),n.__decorate([s.autobind],e.prototype,"hide",null),n.__decorate([(0,s.watch)(":dblclick")],e.prototype,"onDblClickEditor",null),n.__decorate([(0,s.debounce)((function(t){return 5*t.defaultTimeout}))],e.prototype,"onMouseMove",null),e}(r.Plugin);e.addNewLine=l,a.pluginSystem.add("addNewLine",l)},78016:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(98440);n.Config.prototype.addNewLine=!0,n.Config.prototype.addNewLineOnDBLClick=!0,n.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],n.Config.prototype.addNewLineDeltaShow=20,r.Icon.set("enter",o(49663))},98677:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.backspace=void 0;var n=o(52784),r=o(43464),i=o(96582),s=o(49940),a=o(16892),c=o(80354),l=o(58706),u=o(54362),d=o(57748);o(23578);var f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.requires=["hotkeys"],e}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;t.e.on("afterCommand.delete",(function(t){"delete"===t&&e.afterDeleteCommand()})),t.registerCommand("deleteButton",{exec:function(){return e.onDelete(!1)},hotkeys:t.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:function(){return e.onDelete(!0)},hotkeys:t.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:function(){return e.onDelete(!1,"word")},hotkeys:t.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:function(){return e.onDelete(!0,"word")},hotkeys:t.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:function(){return e.onDelete(!1,"sentence")},hotkeys:t.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:function(){return e.onDelete(!0,"sentence")},hotkeys:t.o.delete.hotkeys.backspaceSentence})},e.prototype.beforeDestruct=function(t){t.e.off("afterCommand.delete")},e.prototype.afterDeleteCommand=function(){var t=this.j,e=t.s.current();if(e&&i.Dom.isTag(e.firstChild,"br")&&t.s.removeNode(e.firstChild),!((0,a.trim)(t.editor.textContent||"")||t.editor.querySelector("img,table,jodit,iframe,hr")||e&&i.Dom.closest(e,"table",t.editor))){t.editor.innerHTML="";var o=t.s.setCursorIn(t.editor);t.s.removeNode(o)}},e.prototype.onDelete=function(t,e){void 0===e&&(e="char");var o=this.j,n=o.selection;if(n.isFocused()||n.focus(),(0,d.checkNotCollapsed)(o))return!1;var r=n.range,l=o.createInside.text(s.INVISIBLE_SPACE);try{if(i.Dom.safeInsertNode(r,l),!i.Dom.isOrContains(o.editor,l))return;if((0,c.moveNodeInsideStart)(o,l,t),u.cases.some((function(n){if((0,a.isFunction)(n)&&n(o,l,t,e))return!0})))return!1}catch(t){throw t}finally{this.safeRemoveEmptyNode(l)}return!1},e.prototype.safeRemoveEmptyNode=function(t){var e,o,n=this.j.s.range;n.startContainer===t&&(t.previousSibling?i.Dom.isText(t.previousSibling)?n.setStart(t.previousSibling,null!==(o=null===(e=t.previousSibling.nodeValue)||void 0===e?void 0:e.length)&&void 0!==o?o:0):n.setStartAfter(t.previousSibling):t.nextSibling&&(i.Dom.isText(t.nextSibling)?n.setStart(t.nextSibling,0):n.setStartBefore(t.nextSibling)),n.collapse(!0),this.j.s.selectRange(n)),i.Dom.safeRemove(t)},e}(r.Plugin);e.backspace=f,l.pluginSystem.add("backspace",f)},56392:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkJoinNeighbors=void 0;var n=o(12815);function r(t,e,o,r){if(e&&n.Dom.isElement(o)){n.Dom.moveContent(e,o,!r);for(var i=e;i&&i!==t.editor&&n.Dom.isEmpty(i);){var s=i.parentElement;n.Dom.safeRemove(i),i=s}return!0}return!1}e.checkJoinNeighbors=function(t,e,o){for(var i=e,s=i;i&&!n.Dom.findNotEmptySibling(i,o)&&i.parentElement!==t.editor;)s=i=i.parentElement;if(n.Dom.isElement(s)&&n.Dom.isContentEditable(s,t.editor)){var a=n.Dom.findNotEmptySibling(s,o);if(a&&(function(t,e,o,i){var s=n.Dom.isTag(o,["ol","ul"]),a=n.Dom.isTag(e,["ol","ul"]),c=function(t,e){return e?t.firstElementChild:t.lastElementChild};return a?(o=t.createInside.element(t.o.enterBlock),n.Dom.before(e,o),r(t,c(e,i),o,i)):!(!o||!s||a)&&r(t,e,c(o,!i),i)}(t,s,a,o)||r(t,s,a,o)))return t.s.setCursorBefore(e),!0}return!1}},21417:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkJoinTwoLists=void 0;var n=o(12815),r=o(89437);e.checkJoinTwoLists=function(t,e,o){var i=n.Dom.findSibling(e,o),s=n.Dom.findSibling(e,!o);if(!n.Dom.closest(e,n.Dom.isElement,t.editor)&&n.Dom.isTag(i,["ul","ol"])&&n.Dom.isTag(s,["ul","ol"])&&n.Dom.isTag(i.lastElementChild,"li")&&n.Dom.isTag(s.firstElementChild,"li")){var a=t.s,c=a.setCursorBefore,l=a.setCursorAfter,u=i.lastElementChild;return(0,r.call)(o?n.Dom.prepend:n.Dom.append,s.firstElementChild,e),n.Dom.moveContent(s,i,!o),n.Dom.safeRemove(s),(0,r.call)(o?n.Dom.append:n.Dom.prepend,u,e),(0,r.call)(o?c:l,e),!0}return!1}},57748:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkNotCollapsed=void 0,e.checkNotCollapsed=function(t){return!t.s.isCollapsed()&&(t.execCommand("Delete"),!0)}},90250:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkRemoveChar=void 0;var n=o(96582),r=o(16892),i=o(49940),s=o(32895);e.checkRemoveChar=function t(e,o,a,c){var l,u,d,f,p=a?-1:1,h=n.Dom.sibling(o,!a),v=n.Dom.sibling(o,a),m=null,g=!1,y=function(t){var o=n.Dom.sibling(t,a);return!o&&t.parentNode&&t.parentNode!==e.editor&&(o=(0,s.findMostNestedNeighbor)(t,!a,e.editor,!0)),o};for(v||(v=y(o));v&&(n.Dom.isText(v)||n.Dom.isInlineBlock(v));){for(;n.Dom.isInlineBlock(v);)v=a?null==v?void 0:v.lastChild:null==v?void 0:v.firstChild;if(!v)break;if(null===(l=v.nodeValue)||void 0===l?void 0:l.length){var _=(0,r.toArray)(v.nodeValue),b=_.length,w=a?b-1:0;if(_[w]===i.INVISIBLE_SPACE)for(;_[w]===i.INVISIBLE_SPACE;)w+=p;if(f=_[w],_[w+p]===i.INVISIBLE_SPACE){for(w+=p;_[w]===i.INVISIBLE_SPACE;)w+=p;w+=a?1:-1}if(_=a&&0>w?[]:_.slice(a?0:w+1,a?w:b),!h||!n.Dom.isText(h)||(a?/^ /:/ $/).test(null!==(u=h.nodeValue)&&void 0!==u?u:"")||!(0,r.trimInv)(h.nodeValue||"").length)for(var S=a?_.length-1:0;(a?S>=0:_.length>S)&&" "===_[S];S+=a?-1:1)_[S]=i.NBSP_SPACE;v.nodeValue=_.join("")}if((null===(d=v.nodeValue)||void 0===d?void 0:d.length)||(m=v),!(0,r.isVoid)(f)&&f!==i.INVISIBLE_SPACE){g=!0,(0,r.call)(a?n.Dom.after:n.Dom.before,v,o),("sentence"===c||"word"===c&&" "!==f&&f!==i.NBSP_SPACE)&&t(e,o,a,c);break}var C=y(v);m&&(n.Dom.safeRemove(m),m=null),v=C}return m&&(n.Dom.safeRemove(m),m=null),g&&(function(t){for(var e=t.parentElement;e&&n.Dom.isInlineBlock(e);){var o=e.parentElement;n.Dom.isEmpty(e)&&(n.Dom.after(e,t),n.Dom.safeRemove(e)),e=o}}(o),function(t,e){e.parentElement!==t.editor&&n.Dom.isBlock(e.parentElement)&&n.Dom.each(e.parentElement,n.Dom.isEmptyTextNode)&&n.Dom.after(e,t.createInside.element("br"))}(e,o),e.s.setCursorBefore(o),n.Dom.isTag(o.previousSibling,"br")&&!n.Dom.findNotEmptySibling(o,!1)&&n.Dom.after(o,e.createInside.element("br"))),g}},36062:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkRemoveContentNotEditable=void 0;var n=o(96582),r=o(16892),i=o(80354);e.checkRemoveContentNotEditable=function(t,e,o){var s=n.Dom.findSibling(e,o);return!s&&e.parentElement&&e.parentElement!==t.editor&&(s=n.Dom.findSibling(e.parentElement,o)),!(!n.Dom.isElement(s)||n.Dom.isContentEditable(s,t.editor)||((0,r.call)(o?n.Dom.before:n.Dom.after,s,e),n.Dom.safeRemove(s),(0,i.moveNodeInsideStart)(t,e,o),(0,r.call)(o?t.s.setCursorBefore:t.s.setCursorAfter,e),0))}},49418:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkRemoveEmptyNeighbor=void 0;var n=o(12815);e.checkRemoveEmptyNeighbor=function(t,e,o){var r=n.Dom.closest(e,n.Dom.isElement,t.editor);if(!r)return!1;var i=n.Dom.findNotEmptySibling(r,o);return!(!i||!n.Dom.isEmpty(i)||(n.Dom.safeRemove(i),t.s.setCursorBefore(e),0))}},48599:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkRemoveEmptyParent=void 0;var n=o(96582),r=o(49940),i=o(21417);e.checkRemoveEmptyParent=function(t,e,o){var s=!1,a=t.s,c=a.setCursorBefore,l=a.setCursorIn,u=n.Dom.closest(e,n.Dom.isElement,t.editor);if(!u||!n.Dom.isEmpty(u))return!1;var d=n.Dom.findNotEmptyNeighbor(e,o,t.editor);do{if(!u||!n.Dom.isEmpty(u)||n.Dom.isCell(u))break;n.Dom.after(u,e);var f=n.Dom.closest(u,(function(t){return n.Dom.isElement(t)&&t!==u}),t.editor);n.Dom.safeRemove(u),s=!0,u=f}while(u);return!(!s||!(0,i.checkJoinTwoLists)(t,e,o))||(!d||n.Dom.isText(d)||n.Dom.isTag(d,r.INSEPARABLE_TAGS)?c(e):l(d,!o),s)}},33838:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkRemoveUnbreakableElement=void 0;var n=o(12815),r=o(49940),i=o(48599);e.checkRemoveUnbreakableElement=function(t,e,o){var s=n.Dom.findSibling(e,o);return!(!n.Dom.isElement(s)||!n.Dom.isTag(s,r.INSEPARABLE_TAGS)&&!n.Dom.isEmpty(s)||(n.Dom.safeRemove(s),n.Dom.isTag(s,"br")&&!n.Dom.findNotEmptySibling(e,!1)&&n.Dom.after(e,t.createInside.element("br")),t.s.setCursorBefore(e),n.Dom.isTag(s,"br")&&(0,i.checkRemoveEmptyParent)(t,e,o),0))}},10836:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkTableCell=void 0;var n=o(12815);e.checkTableCell=function(t,e){return!!n.Dom.isCell(e.parentElement)}},48041:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkUnwrapFirstListItem=void 0;var n=o(12815),r=o(93772);e.checkUnwrapFirstListItem=function(t,e,o){var i,s=n.Dom.closest(e,n.Dom.isElement,t.editor),a=t.s;if(n.Dom.isTag(s,"li")&&(null===(i=null==s?void 0:s.parentElement)||void 0===i?void 0:i[o?"firstElementChild":"lastElementChild"])===s&&a.cursorInTheEdge(o,s)){var c=s.parentElement,l=t.createInside.element(t.o.enterBlock);return(0,r.call)(o?n.Dom.before:n.Dom.after,c,l),n.Dom.moveContent(s,l),n.Dom.safeRemove(s),n.Dom.isEmpty(c)&&n.Dom.safeRemove(c),(0,r.call)(o?a.setCursorBefore:a.setCursorAfter,e),!0}return!1}},54362:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cases=void 0;var n=o(33838),r=o(36062),i=o(90250),s=o(10836),a=o(48599),c=o(49418),l=o(21417),u=o(56392),d=o(48041);e.cases=[n.checkRemoveUnbreakableElement,r.checkRemoveContentNotEditable,i.checkRemoveChar,s.checkTableCell,a.checkRemoveEmptyParent,c.checkRemoveEmptyNeighbor,l.checkJoinTwoLists,u.checkJoinNeighbors,d.checkUnwrapFirstListItem]},23578:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},32895:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findMostNestedNeighbor=void 0;var n=o(96582);e.findMostNestedNeighbor=function(t,e,o,r){void 0===r&&(r=!1);var i=function(t){return e?t.firstChild:t.lastChild},s=n.Dom.findNotEmptyNeighbor(t,!e,o);if(r&&n.Dom.isElement(s)&&!n.Dom.isInlineBlock(s))return null;if(s)do{if(!i(s))return s;s=i(s)}while(s);return null}},67414:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bold=void 0;var n=o(52784),r=o(733),i=o(16892),s=o(58706),a=o(74259);function c(t){var e=function(e){var o,s=r.Config.defaultOptions.controls[e],a=n.__assign({},s.css);return Object.keys(a).forEach((function(t){o||(o={}),o[t]=(0,i.isArray)(a[t])?a[t][0]:a[t]})),t.s.applyStyle(o,{element:s.tags?s.tags[0]:void 0}),t.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach((function(e){t.registerButton({name:e,group:"font-style"})})),["superscript","subscript"].forEach((function(e){t.registerButton({name:e,group:"script"})})),t.registerCommand("bold",{exec:e,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:e,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:e,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:e}).registerCommand("subscript",{exec:e}).registerCommand("superscript",{exec:e})}o(47884),o(67450),e.bold=c,s.pluginSystem.add("bold",c),a.Icon.set("bold",o(76958)).set("italic",o(49914)).set("strikethrough",o(10946)).set("subscript",o(61228)).set("superscript",o(56095)).set("underline",o(95347))},67450:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},n.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},n.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},n.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},n.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},n.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},47884:function(){},93146:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.classSpan=void 0;var n=o(52784),r=o(43464),i=o(733),s=o(96582),a=o(16892),c=o(58706),l=o(98440);i.Config.prototype.controls.classSpan={command:"applyClassName",exec:a.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive:function(t,e){var o=t.s.current();if(o){var n=s.Dom.closest(o,s.Dom.isElement,t.editor)||t.editor;return Boolean(e.args&&n.classList.contains(e.args[0].toString()))}return!1},isActive:function(t,e){var o=t.s.current();if(o){var n=s.Dom.closest(o,s.Dom.isElement,t.editor)||t.editor,r=!1;return e.list&&Object.keys(e.list).forEach((function(t){n.classList.contains(t)&&(r=!0)})),Boolean(n&&n!==t.editor&&void 0!==e.list&&r)}return!1},childTemplate:function(t,e,o){return'<span class="'.concat(e,'">').concat(t.i18n(o),"</span>")},tooltip:"Insert className"};var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"classSpan",group:"font"}],e}return n.__extends(e,t),e.prototype.afterInit=function(t){t.registerCommand("applyClassName",(function(e,o,n){return t.s.applyStyle(void 0,{className:n}),!1}))},e.prototype.beforeDestruct=function(){},e}(r.Plugin);e.classSpan=u,c.pluginSystem.add("classSpan",u),l.Icon.set("class-span",o(54))},16042:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cleanHtml=void 0;var n=o(52784),r=o(37337),i=o(36894),s=o(51923),a=o(51428),c=o(58706),l=o(12815),u=o(36434);o(7147);var d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"eraser",group:"font-style"}],e.currentSelectionNode=null,e.walker=new a.LazyWalker(e.j.async,{timeout:e.j.o.cleanHTML.timeout}),e}return n.__extends(e,t),e.prototype.afterInit=function(t){},Object.defineProperty(e.prototype,"isEditMode",{get:function(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())},enumerable:!1,configurable:!0}),e.prototype.onChangeCleanHTML=function(){if(this.isEditMode){var t=this.j;this.walker.setWork(t.editor),this.currentSelectionNode=t.s.current()}},e.prototype.startWalker=function(){var t=this,e=this.jodit,o=(0,u.getHash)(this.j.o.cleanHTML.allowTags),n=(0,u.getHash)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",(function(r){return(0,u.visitNodeWalker)(e,r,o,n,t.currentSelectionNode)})).on("end",(function(e){t.j.e.fire(e?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")}))},e.prototype.beforeCommand=function(t){if("removeformat"===t.toLowerCase())return this.j.s.isCollapsed()?(0,u.removeFormatForCollapsedSelection)(this.j):(0,u.removeFormatForSelection)(this.j),!1},e.prototype.onBeforeSetNativeEditorValue=function(t){var e=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():this.j.createInside.div();return e.innerHTML=t.value,this.onSafeHTML(e),t.value=e.innerHTML,(0,r.safeHTML)(e,{safeJavaScriptLink:!0,removeOnError:!0}),l.Dom.safeRemove(e),!1},e.prototype.onSafeHTML=function(t){(0,r.safeHTML)(t,this.j.o.cleanHTML)},e.prototype.beforeDestruct=function(){this.walker.destruct()},n.__decorate([(0,s.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],e.prototype,"onChangeCleanHTML",null),n.__decorate([(0,s.hook)("ready")],e.prototype,"startWalker",null),n.__decorate([(0,s.watch)(":beforeCommand")],e.prototype,"beforeCommand",null),n.__decorate([(0,s.watch)(":beforeSetNativeEditorValue")],e.prototype,"onBeforeSetNativeEditorValue",null),n.__decorate([(0,s.watch)(":safeHTML")],e.prototype,"onSafeHTML",null),e}(i.Plugin);e.cleanHtml=d,c.pluginSystem.add("cleanHtml",d)},7147:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},n.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},r.Icon.set("eraser",o(2113))},96184:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHash=void 0;var n=o(78097),r=o(57348);e.getHash=function(t){var e=/([^[]*)\[([^\]]+)]/,o=/[\s]*,[\s]*/,i=/^(.*)[\s]*=[\s]*(.*)$/,s={};return(0,r.isString)(t)?(t.split(o).map((function(t){t=(0,n.trim)(t);var r=e.exec(t),a={};if(r){var c=r[2].split(o);r[1]&&(c.forEach((function(t){t=(0,n.trim)(t);var e=i.exec(t);e?a[e[1]]=e[2]:a[t]=!0})),s[r[1].toUpperCase()]=a)}else s[t.toUpperCase()]=!0})),s):!!t&&(Object.keys(t).forEach((function(e){s[e.toUpperCase()]=t[e]})),s)}},36434:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(96184),e),n.__exportStar(o(55198),e),n.__exportStar(o(76851),e),n.__exportStar(o(42949),e)},55198:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isInlineBlock=e.removeFormatForCollapsedSelection=void 0;var n=o(12815),r=o(49940);function i(t){return n.Dom.isInlineBlock(t)&&!n.Dom.isTag(t,r.INSEPARABLE_TAGS)}e.removeFormatForCollapsedSelection=function(t,e){var o=t.s,r=e;if(!r){r=t.createInside.fake();var s=o.range;n.Dom.safeInsertNode(s,r),s.collapse()}var a=n.Dom.furthest(r,i,t.editor);if(a)if(o.cursorOnTheLeft(a))n.Dom.before(a,r);else if(o.cursorOnTheRight(a))n.Dom.after(a,r);else{var c=o.splitSelection(a);c&&n.Dom.after(c,r)}e||(o.setCursorBefore(r),n.Dom.safeRemove(r))},e.isInlineBlock=i},76851:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeFormatForSelection=void 0;var n=o(12815),r=o(93772),i=o(55198);e.removeFormatForSelection=function(t){var e=t.s,o=t.editor,s=t.createInside,a=e.range,c=a.cloneRange(),l=a.cloneRange(),u=s.fake(),d=s.fake();c.collapse(!0),l.collapse(!1),n.Dom.safeInsertNode(c,u),n.Dom.safeInsertNode(l,d),a.setStartBefore(u),a.collapse(!0),e.selectRange(a),(0,i.removeFormatForCollapsedSelection)(t,u),a.setEndAfter(d),a.collapse(!1),e.selectRange(a),(0,i.removeFormatForCollapsedSelection)(t,d);var f=[];n.Dom.between(u,d,(function(t){(0,i.isInlineBlock)(t)&&!n.Dom.isTag(t,["a"])&&f.push(t),n.Dom.isElement(t)&&(0,r.attr)(t,"style")&&(0,r.attr)(t,"style",null)})),f.forEach((function(t){return n.Dom.unwrap(t)}));var p=function(t,e){if(!n.Dom.findNotEmptySibling(t,e)){var i=t.parentNode;if(i&&i!==o&&(0,r.attr)(i,"style"))return(0,r.attr)(i,"style",null),p(i,e),!0}};p(u,!0)&&p(d,!1),a.setStartAfter(u),a.setEndBefore(d),e.selectRange(a),n.Dom.safeRemove(u),n.Dom.safeRemove(d)}},68543:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.allowAttributes=void 0;var n=o(12815);e.allowAttributes=function(t,e,o,r){if(r&&n.Dom.isElement(e)&&!0!==r[e.nodeName]){var i=e.attributes;if(i&&i.length){for(var s=[],a=0;i.length>a;a+=1){var c=r[e.nodeName][i[a].name];(!c||!0!==c&&c!==i[a].value)&&s.push(i[a].name)}s.length&&(o=!0),s.forEach((function(t){e.removeAttribute(t)}))}}return o}},80143:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fillEmptyParagraph=void 0;var n=o(12815);e.fillEmptyParagraph=function(t,e,o){if(t.o.cleanHTML.fillEmptyParagraph&&n.Dom.isBlock(e)&&n.Dom.isEmpty(e,/^(img|svg|canvas|input|textarea|form|br)$/)){var r=t.createInside.element("br");return e.appendChild(r),!0}return o}},46066:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(5162),e),n.__exportStar(o(68543),e),n.__exportStar(o(80143),e),n.__exportStar(o(29353),e),n.__exportStar(o(49334),e),n.__exportStar(o(25657),e),n.__exportStar(o(77579),e)},49334:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeEmptyTextNode=void 0;var n=o(12815);e.removeEmptyTextNode=function(t,e,o,r,i,s){return n.Dom.isText(e)&&!e.nodeValue?(e===s&&t.s.isCollapsed()&&t.s.setCursorAfter(e),n.Dom.safeRemove(e),!0):o}},25657:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeInvTextNodes=void 0;var n=o(49940),r=o(12815);e.removeInvTextNodes=function(t,e,o,i,s,a){return a!==e&&r.Dom.isText(e)&&null!=e.nodeValue&&(0,n.INVISIBLE_SPACE_REG_EXP)().test(e.nodeValue)?(e.nodeValue=e.nodeValue.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),""),e===a&&t.s.isCollapsed()&&t.s.setCursorAfter(e),e.nodeValue||r.Dom.safeRemove(e),!0):o}},5162:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.replaceOldTags=void 0;var n=o(12815);e.replaceOldTags=function(t,e,o){var r=function(t,e,o){if(!o||!n.Dom.isHTMLElement(e))return e;var r=o[e.nodeName.toLowerCase()]||o[e.nodeName];return r?n.Dom.replace(e,r,t.createInside,!0,!1):e}(t,e,t.o.cleanHTML.replaceOldTags);return e!==r?(e=r,!0):o}},77579:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeAttributes=void 0;var n=o(12815),r=o(16892);e.sanitizeAttributes=function(t,e,o){return!(!n.Dom.isElement(e)||!(0,r.sanitizeHTMLElement)(e,{safeJavaScriptLink:t.options.cleanHTML.safeJavaScriptLink,removeOnError:t.options.cleanHTML.removeOnError}))||o}},29353:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tryRemoveNode=void 0;var n=o(12815),r=o(49940),i=o(78097);e.tryRemoveNode=function(t,e,o,s,a,c){return function(t,e,o,s,a){return!(n.Dom.isText(e)||!(s&&!s[e.nodeName]||a&&a[e.nodeName]))||t.o.cleanHTML.removeEmptyElements&&n.Dom.isElement(e)&&null!=e.nodeName.match(r.IS_INLINE)&&!n.Dom.isTemporary(e)&&0===(0,i.trim)(e.innerHTML).length&&(null==o||!n.Dom.isOrContains(e,o))}(t,e,c,s,a)?(n.Dom.safeRemove(e),!0):o}},42949:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.visitNodeWalker=void 0;var n=o(52784),r=o(46066),i=Object.keys(r);e.visitNodeWalker=function(t,e,o,s,a){var c,l,u=!1,d=t.o.cleanHTML.disableCleanFilter;try{for(var f=n.__values(i),p=f.next();!p.done;p=f.next()){var h=p.value;if(!(d&&d.has(h)||(u=(0,r[h])(t,e,u,o,s,a),e.isConnected)))return!0}}catch(t){c={error:t}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(c)throw c.error}}return u}},85049:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clipboard=void 0;var n=o(49940),r=o(16892),i=o(58706);o(39077);var s=function(){function t(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}return t.prototype.init=function(t){var e;null===(e=this.buttons)||void 0===e||e.forEach((function(e){return t.registerButton(e)})),t.e.off("copy.".concat(n.CLIPBOARD_ID," cut.").concat(n.CLIPBOARD_ID)).on("copy.".concat(n.CLIPBOARD_ID," cut.").concat(n.CLIPBOARD_ID),(function(e){var o,i=t.s.html,s=(0,r.getDataTransfer)(e)||(0,r.getDataTransfer)(t.ew)||(0,r.getDataTransfer)(e.originalEvent);s&&(s.setData(n.TEXT_PLAIN,(0,r.stripTags)(i)),s.setData(n.TEXT_HTML,i)),t.buffer.set(n.CLIPBOARD_ID,i),t.e.fire("pasteStack",{html:i,action:t.o.defaultActionOnPaste||n.INSERT_AS_HTML}),"cut"===e.type&&(t.s.remove(),t.s.focus()),e.preventDefault(),null===(o=null==t?void 0:t.events)||void 0===o||o.fire("afterCopy",i)}))},t.prototype.destruct=function(t){var e,o;null===(e=null==t?void 0:t.buffer)||void 0===e||e.set(n.CLIPBOARD_ID,""),null===(o=null==t?void 0:t.events)||void 0===o||o.off("."+n.CLIPBOARD_ID)},t}();e.clipboard=s,i.pluginSystem.add("clipboard",s)},39077:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.controls.cut={command:"cut",isDisabled:function(t){return t.s.isCollapsed()},tooltip:"Cut selection"},n.Config.prototype.controls.copy={command:"copy",isDisabled:function(t){return t.s.isCollapsed()},tooltip:"Copy selection"},n.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},r.Icon.set("copy",o(41567)).set("cut",o(29129)).set("paste",o(1307)).set("select-all",o(58939))},25071:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.color=void 0;var n=o(16892),r=o(58706);function i(t){t.registerButton({name:"brush",group:"color"});var e=function(e,o,r){var i=(0,n.normalizeColor)(r);switch(e){case"background":t.s.applyStyle({backgroundColor:i||""});break;case"forecolor":t.s.applyStyle({color:i||""})}return t.synchronizeValues(),!1};t.registerCommand("forecolor",e).registerCommand("background",e)}o(44273),e.color=i,r.pluginSystem.add("color",i)},44273:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(16892),i=o(19800),s=o(74259),a=o(12815);s.Icon.set("brush",o(23129)),n.Config.prototype.controls.brush={update:function(t,e){var o=(0,r.dataBind)(t,"color"),n=function(o,n){n&&n!==(0,r.css)(e.editor,o).toString()&&(t.state.icon.fill=n)};if(o){var i=(0,r.dataBind)(t,"color");n("color"===i?i:"background-color",o)}else{var s=e.s.current();if(s&&!t.state.disabled){var c=a.Dom.closest(s,a.Dom.isElement,e.editor)||e.editor;n("color",(0,r.css)(c,"color").toString()),n("background-color",(0,r.css)(c,"background-color").toString())}t.state.icon.fill="",t.state.activated=!1}},popup:function(t,e,o,n,s){var c="",l="",u=[],d=null;return e&&e!==t.editor&&a.Dom.isNode(e)&&(a.Dom.isElement(e)&&t.s.isCollapsed()&&!a.Dom.isTag(e,["br","hr"])&&(d=e),a.Dom.up(e,(function(t){if(a.Dom.isHTMLElement(t)){var e=(0,r.css)(t,"color",!0),o=(0,r.css)(t,"background-color",!0);if(e)return c=e.toString(),!0;if(o)return l=o.toString(),!0}}),t.editor)),u=[{name:"Background",content:(0,i.ColorPickerWidget)(t,(function(e){d?d.style.backgroundColor=e:t.execCommand("background",!1,e),(0,r.dataBind)(s,"color",e),(0,r.dataBind)(s,"color-mode","background"),n()}),l)},{name:"Text",content:(0,i.ColorPickerWidget)(t,(function(e){d?d.style.color=e:t.execCommand("forecolor",!1,e),(0,r.dataBind)(s,"color",e),(0,r.dataBind)(s,"color-mode","color"),n()}),c)}],"background"!==t.o.colorPickerDefaultTab&&(u=u.reverse()),(0,i.TabsWidget)(t,u,d)},exec:function(t,e,o){var n=o.button,i=(0,r.dataBind)(n,"color-mode"),s=(0,r.dataBind)(n,"color");if(!i)return!1;if(e&&e!==t.editor&&a.Dom.isNode(e)&&a.Dom.isElement(e))switch(i){case"color":e.style.color=s;break;case"background":e.style.backgroundColor=s}else t.execCommand("background"===i?i:"forecolor",!1,s)},tooltip:"Fill color or set the text color"}},23728:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.copyFormat=void 0;var n=o(733),r=o(12815),i=o(21714),s=o(58706),a=o(74259),c="copy-format",l=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],u=function(t,e,o,n){var r=(0,i.css)(o,e);return r===n[e]&&(r=o.parentNode&&o!==t.editor&&o.parentNode!==t.editor?u(t,e,o.parentNode,n):void 0),r};function d(t){t.registerButton({name:"copyformat",group:"clipboard"}),(0,s.extendLang)(o(99340))}n.Config.prototype.controls.copyformat={exec:function(t,e,o){var n=o.button;if(e){if(t.buffer.exists(c))t.buffer.delete(c),t.e.off(t.editor,"mouseup."+c);else{var s={},a=r.Dom.up(e,(function(t){return t&&!r.Dom.isText(t)}),t.editor)||t.editor,d=t.createInside.span();t.editor.appendChild(d),l.forEach((function(t){s[t]=(0,i.css)(d,t)})),d!==t.editor&&r.Dom.safeRemove(d);var f=function(t,e,o){var n={};return e&&l.forEach((function(r){n[r]=u(t,r,e,o),r.match(/border(Style|Color)/)&&!n.borderWidth&&(n[r]=void 0)})),n}(t,a,s);t.e.on(t.editor,"mouseup."+c,(function(){t.buffer.delete(c);var e=t.s.current();e&&(r.Dom.isTag(e,"img")?(0,i.css)(e,f):t.s.applyStyle(f)),t.e.off(t.editor,"mouseup."+c)})),t.buffer.set(c,!0)}n.update()}},isActive:function(t){return t.buffer.exists(c)},tooltip:"Paint format"},e.copyFormat=d,s.pluginSystem.add("copyformat",d),a.Icon.set("copyformat",o(70209))},99340:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zh_tw=e.zh_cn=e.tr=e.ru=e.pt_br=e.pl=e.nl=e.ko=e.ja=e.it=e.id=e.hu=e.he=e.fr=e.fa=e.es=e.de=e.cs_cz=e.ar=void 0;var n=o(64364);e.ar=n;var r=o(99982);e.cs_cz=r;var i=o(20746);e.de=i;var s=o(37215);e.es=s;var a=o(88559);e.fa=a;var c=o(69346);e.fr=c;var l=o(6127);e.he=l;var u=o(74340);e.hu=u;var d=o(29999);e.id=d;var f=o(52210);e.it=f;var p=o(60420);e.ja=p;var h=o(52096);e.ko=h;var v=o(32257);e.nl=v;var m=o(94887);e.pl=m;var g=o(14704);e.pt_br=g;var y=o(65108);e.ru=y;var _=o(44704);e.tr=_;var b=o(13100);e.zh_cn=b;var w=o(59483);e.zh_tw=w},82840:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.draggableTags=["img","jodit-media","jodit"]},5032:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dragAndDropElement=void 0;var n,r=o(52784),i=o(16892),s=o(43464),a=o(96582),c=o(58706),l=o(51923);o(82840),function(t){t[t.IDLE=0]="IDLE",t[t.WAIT_DRAGGING=1]="WAIT_DRAGGING",t[t.DRAGGING=2]="DRAGGING"}(n||(n={}));var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dragList=[],e.draggable=null,e.isCopyMode=!1,e.diffStep=10,e.startX=0,e.startY=0,e.state=n.IDLE,e}return r.__extends(e,t),e.prototype.afterInit=function(){this.dragList=this.j.o.draggableTags?(0,i.splitArray)(this.j.o.draggableTags).filter(Boolean).map((function(t){return t.toLowerCase()})):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)},e.prototype.onDragStart=function(t){var e=this;if("dragstart"===t.type&&this.draggable)return!1;if(n.IDLE>=this.state){var o=t.target;if(this.dragList.length&&o){var r=function(t){return Boolean(t&&e.dragList.includes(t.nodeName.toLowerCase()))},s=a.Dom.furthest(o,r,this.j.editor)||(r(o)?o:null);s&&(a.Dom.isTag(s.parentElement,"a")&&s.parentElement.firstChild===s&&s.parentElement.lastChild===s&&(s=s.parentElement),this.startX=t.clientX,this.startY=t.clientY,this.isCopyMode=(0,i.ctrlKey)(t),this.draggable=s.cloneNode(!0),(0,i.dataBind)(this.draggable,"target",s),this.state=n.WAIT_DRAGGING,this.addDragListeners())}}},e.prototype.onDrag=function(t){var o,r;if(this.draggable&&this.state!==n.IDLE){var s=t.clientY;if(this.state!==n.WAIT_DRAGGING||Math.sqrt(Math.pow(t.clientX-this.startX,2)+Math.pow(s-this.startY,2))>=this.diffStep){if(this.state===n.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=n.DRAGGING),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){var a=(0,i.dataBind)(this.draggable,"target");(0,i.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:t.clientX,top:t.clientY,width:null!==(o=null==a?void 0:a.offsetWidth)&&void 0!==o?o:100,height:null!==(r=null==a?void 0:a.offsetHeight)&&void 0!==r?r:100}),(0,c.getContainer)(this.j,e).appendChild(this.draggable)}(0,i.css)(this.draggable,{left:t.clientX,top:t.clientY}),this.j.s.insertCursorAtPoint(t.clientX,t.clientY)}}},e.prototype.onDragEnd=function(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=n.IDLE,this.draggable&&(a.Dom.safeRemove(this.draggable),this.draggable=null))},e.prototype.onDrop=function(){if(this.draggable&&this.state>=n.DRAGGING){var t=(0,i.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(t=t.cloneNode(!0));var e=t.parentElement;this.j.s.insertNode(t,!0,!1),e&&a.Dom.isEmpty(e)&&!a.Dom.isTag(e,["td","th"])&&a.Dom.safeRemove(e),a.Dom.isTag(t,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",t),this.j.e.fire("synchro")}else this.onDragEnd()},e.prototype.addDragListeners=function(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)},e.prototype.removeDragListeners=function(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)},e.prototype.beforeDestruct=function(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()},r.__decorate([l.autobind],e.prototype,"onDragStart",null),r.__decorate([(0,l.throttle)((function(t){return t.defaultTimeout/10}))],e.prototype,"onDrag",null),r.__decorate([l.autobind],e.prototype,"onDragEnd",null),r.__decorate([l.autobind],e.prototype,"onDrop",null),e}(s.Plugin);e.dragAndDropElement=u,c.pluginSystem.add("dragAndDropElement",u)},63483:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dragAndDrop=void 0;var n=o(52784),r=o(49940),i=o(12815),s=o(16892),a=o(43464),c=o(51923),l=o(23827),u=o(58706),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isFragmentFromEditor=!1,e.isCopyMode=!1,e.startDragPoint={x:0,y:0},e.draggable=null,e.bufferRange=null,e.getText=function(t){var e=(0,s.getDataTransfer)(t);return e?e.getData(r.TEXT_HTML)||e.getData(r.TEXT_PLAIN):null},e}return n.__extends(e,t),e.prototype.afterInit=function(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)},e.prototype.onDragStart=function(t){var e=t.target;if(this.onDragEnd(),this.isFragmentFromEditor=i.Dom.isOrContains(this.j.editor,e,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,s.ctrlKey)(t),this.isFragmentFromEditor){var o=this.j.s.sel,n=o&&o.rangeCount?o.getRangeAt(0):null;n&&(this.bufferRange=n.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=t.clientX,this.startDragPoint.y=t.clientY,(0,l.isFileBrowserFilesItem)(e)&&(e=e.querySelector("img")),i.Dom.isTag(e,"img")&&(this.draggable=e.cloneNode(!0),(0,s.dataBind)(this.draggable,"target",e)),this.addDragListeners()},e.prototype.addDragListeners=function(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)},e.prototype.removeDragListeners=function(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)},e.prototype.onDrag=function(t){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(t.clientX,t.clientY),t.preventDefault(),t.stopPropagation())},e.prototype.onDragEnd=function(){this.draggable&&(i.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()},e.prototype.onDrop=function(t){if(!t.dataTransfer||!t.dataTransfer.files||!t.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",t),t.preventDefault(),t.stopPropagation(),!1;var e=this.j.s.sel,o=this.bufferRange||(e&&e.rangeCount?e.getRangeAt(0):null),r=null;if(!this.draggable&&o)r=this.isCopyMode?o.cloneContents():o.extractContents();else if(this.draggable)if(this.isCopyMode){var a=n.__read("1"===(0,s.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"],2),c=a[0],l=a[1];(r=this.j.createInside.element(c)).setAttribute(l,(0,s.attr)(this.draggable,"data-src")||(0,s.attr)(this.draggable,"src")||""),"a"===c&&(r.textContent=(0,s.attr)(r,l)||"")}else r=(0,s.dataBind)(this.draggable,"target");else this.getText(t)&&(r=this.j.createInside.fromHTML(this.getText(t)));e&&e.removeAllRanges(),this.j.s.insertCursorAtPoint(t.clientX,t.clientY),r&&(this.j.s.insertNode(r,!1,!1),o&&r.firstChild&&r.lastChild&&(o.setStartBefore(r.firstChild),o.setEndAfter(r.lastChild),this.j.s.selectRange(o),this.j.e.fire("synchro")),i.Dom.isTag(r,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",r)),t.preventDefault(),t.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()},e.prototype.beforeDestruct=function(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)},n.__decorate([c.autobind],e.prototype,"onDragStart",null),n.__decorate([(0,c.throttle)((function(t){return t.defaultTimeout/10}))],e.prototype,"onDrag",null),n.__decorate([c.autobind],e.prototype,"onDragEnd",null),n.__decorate([c.autobind],e.prototype,"onDrop",null),e}(a.Plugin);e.dragAndDrop=d,u.pluginSystem.add("dragAndDrop",d)},65232:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(52784).__exportStar(o(64137),e)},64137:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeExtraBr=void 0;var n=o(12815);e.removeExtraBr=function(t,e){if(t.o.dtd.removeExtraBr&&!n.Dom.isTag(e,"br")){var o=n.Dom.furthest(e,n.Dom.isBlock,t.editor);if(o&&!n.Dom.isTag(o,["table","pre","blockquote","code"])){var r=n.Dom.isTag(e,"br")?e:n.Dom.findNotEmptySibling(e,!1);if(!n.Dom.isTag(r,"br"))return;t.s.setCursorBefore(r),n.Dom.safeRemove(r)}}}},23939:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkBlockNesting=void 0;var n=o(12815);e.checkBlockNesting=function(t,e){if(n.Dom.isFragment(e)&&(e=e.firstChild),t.o.dtd.checkBlockNesting&&n.Dom.isBlock(e)){var o=n.Dom.furthest(t.s.current(),n.Dom.isBlock,t.editor);o&&!t.o.dtd.blockLimits[o.tagName.toLowerCase()]&&(t.s.setCursorAfter(o),n.Dom.isEmpty(o)&&n.Dom.safeRemove(o))}}},96852:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(52784).__exportStar(o(23939),e)},63094:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},41186:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784),r=o(43464),i=o(58706),s=o(31501);o(63094);var a=o(96852),c=o(65232),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.afterInit=function(t){},e.prototype.beforeDestruct=function(t){},e.prototype.__onBeforeInsertNode=function(t){var e=this;Object.keys(a).forEach((function(o){a[o](e.j,t)}))},e.prototype.__onAfterInsertNode=function(t){var e=this;Object.keys(c).forEach((function(o){c[o](e.j,t)}))},n.__decorate([(0,s.watch)(":beforeInsertNode")],e.prototype,"__onBeforeInsertNode",null),n.__decorate([(0,s.watch)(":afterInsertNode")],e.prototype,"__onAfterInsertNode",null),e}(r.Plugin);i.pluginSystem.add("dtd",l)},42712:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enter=void 0;var n=o(52784),r=o(12815),i=o(36894),s=o(49940),a=o(51923),c=o(11739),l=o(58706),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this,o=t.o.enter.toLowerCase(),n=o===s.BR.toLowerCase();t.o.enterBlock||(t.o.enterBlock=n?s.PARAGRAPH:o),t.registerCommand("enter",(function(t,o,n){return void 0===n&&(n={}),e.onEnter(n)}))},e.prototype.onEnterKeyDown=function(t){if(t.key===s.KEY_ENTER){var e=this.j,o=e.e.fire("beforeEnter",t);return void 0!==o?o:(e.s.isCollapsed()||e.execCommand("Delete"),e.s.focus(),this.onEnter(t),e.synchronizeValues(),!1)}},e.prototype.onEnter=function(t){var e=this.j,o=this.getCurrentOrFillEmpty(e);(0,c.moveCursorOutFromSpecialTags)(e,o,["a"]);var n=(0,c.getBlockWrapper)(e,o),i=r.Dom.isTag(n,"li");return!!(i&&!(null==t?void 0:t.shiftKey)||(0,c.checkBR)(e,o,null==t?void 0:t.shiftKey))&&(n||(0,c.hasPreviousBlock)(e,o)||(n=(0,c.wrapText)(e,o)),n&&n!==o?!!(0,c.checkUnsplittableBox)(e,n)&&(i&&r.Dom.isEmpty(n)?((0,c.processEmptyLILeaf)(e,n),!1):void(0,c.splitFragment)(e,n)):((0,c.insertParagraph)(e,null,i?"li":e.o.enter),!1))},e.prototype.getCurrentOrFillEmpty=function(t){var e=t.s,o=e.current(!1);return o&&o!==t.editor||(o=t.createInside.text(s.INVISIBLE_SPACE),e.insertNode(o,!1,!1),e.select(o)),o},e.prototype.beforeDestruct=function(t){t.e.off("keydown.enter")},n.__decorate([(0,a.watch)(":keydown.enter")],e.prototype,"onEnterKeyDown",null),e}(i.Plugin);e.enter=u,l.pluginSystem.add("enter",u)},18749:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkBR=void 0;var n=o(12815),r=o(6517),i=o(49940);e.checkBR=function(t,e,o){var s=n.Dom.closest(e,["pre","blockquote"],t.editor);if(t.o.enter.toLowerCase()===i.BR.toLowerCase()||o&&!s||!o&&s){var a=t.createInside.element("br");t.s.insertNode(a,!1,!1),n.Dom.findNotEmptySibling(a,!1)||n.Dom.after(a,a.cloneNode());var c=t.s.range;return c.setStartAfter(a),c.collapse(!0),t.s.selectRange(c),(0,r.scrollIntoViewIfNeeded)(a,t.editor,t.ed),!1}return!0}},16087:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkUnsplittableBox=void 0;var n=o(12815);e.checkUnsplittableBox=function(t,e){var o=t.s;if(!n.Dom.canSplitBlock(e)){var r=t.createInside.element("br");return o.insertNode(r,!1,!1),o.setCursorAfter(r),!1}return!0}},13353:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBlockWrapper=void 0;var n=o(49940),r=o(12815);e.getBlockWrapper=function t(e,o,i){void 0===i&&(i=n.IS_BLOCK);var s=o,a=e.editor;do{if(!s||s===a)break;if(i.test(s.nodeName))return r.Dom.isTag(s,"li")?s:t(e,s.parentNode,/^li$/i)||s;s=s.parentNode}while(s&&s!==a);return null}},1886:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasPreviousBlock=void 0;var n=o(12815);e.hasPreviousBlock=function(t,e){return Boolean(n.Dom.prev(e,(function(t){return n.Dom.isBlock(t)||n.Dom.isImage(t)}),t.editor))}},11739:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(18749),e),n.__exportStar(o(16087),e),n.__exportStar(o(90869),e),n.__exportStar(o(13353),e),n.__exportStar(o(1886),e),n.__exportStar(o(62416),e),n.__exportStar(o(90265),e),n.__exportStar(o(83012),e),n.__exportStar(o(21860),e)},62416:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.insertParagraph=void 0;var n=o(12815),r=o(6517);e.insertParagraph=function(t,e,o,i){var s,a,c=t.s,l=t.createInside,u=l.element(o),d=l.element("br");u.appendChild(d),i&&i.cssText&&u.setAttribute("style",i.cssText),e&&e.isConnected?(n.Dom.before(e,u),n.Dom.safeRemove(e)):c.insertNode(u,!1,!1);var f=c.createRange();return f.setStartBefore("br"!==o.toLowerCase()?d:u),f.collapse(!0),null===(s=c.sel)||void 0===s||s.removeAllRanges(),null===(a=c.sel)||void 0===a||a.addRange(f),(0,r.scrollIntoViewIfNeeded)(u,t.editor,t.ed),u}},21860:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.moveCursorOutFromSpecialTags=void 0;var n=o(12815);e.moveCursorOutFromSpecialTags=function(t,e,o){var r=t.s,i=n.Dom.closest(e,o,t.editor);i&&(r.cursorOnTheRight(i)?r.setCursorAfter(i):r.cursorOnTheLeft(i)&&r.setCursorBefore(i))}},90869:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processEmptyLILeaf=void 0;var n=o(12815),r=o(18365),i=o(62416);e.processEmptyLILeaf=function(t,e){var o=n.Dom.closest(e,["ol","ul"],t.editor);if(o){var s=o.parentElement,a=n.Dom.isTag(s,"li"),c=a?s:o,l=t.s.createRange();l.setStartAfter(e),l.setEndAfter(o);var u=l.extractContents(),d=t.createInside.fake();n.Dom.after(c,d),n.Dom.safeRemove(e),(0,r.$$)("li",o).length||n.Dom.safeRemove(o);var f=(0,i.insertParagraph)(t,d,a?"li":t.o.enter);u.querySelector("li")&&(a?f.appendChild(u):n.Dom.after(f,u))}}},90265:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.splitFragment=void 0;var n=o(6517),r=o(12815),i=o(62416);e.splitFragment=function(t,e){var o,s=t.s,a=t.o.enter.toLowerCase(),c=r.Dom.isTag(e,"li"),l=e.tagName.toLowerCase()===a||c,u=s.cursorOnTheRight(e),d=s.cursorOnTheLeft(e);if(!l&&(u||d))return o=u?s.setCursorAfter(e):s.setCursorBefore(e),(0,i.insertParagraph)(t,o,a),void(d&&!u&&s.setCursorIn(e,!0));var f=s.splitSelection(e);(0,n.scrollIntoViewIfNeeded)(f,t.editor,t.ed)}},83012:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wrapText=void 0;var n=o(12815);e.wrapText=function(t,e){var o=e;n.Dom.up(o,(function(e){e&&e.hasChildNodes()&&e!==t.editor&&(o=e)}),t.editor);var r=n.Dom.wrapInline(o,t.o.enter,t);if(n.Dom.isEmpty(r)){var i=t.createInside.element("br");r.appendChild(i),t.s.setCursorBefore(i)}return r}},16242:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.file=void 0;var n=o(733),r=o(12815),i=o(19800),s=o(58706);function a(t){t.registerButton({name:"file",group:"media"})}n.Config.prototype.controls.file={popup:function(t,e,o,n){var s=function(e,o){void 0===o&&(o=""),t.s.insertNode(t.createInside.fromHTML('<a href="'.concat(e,'" title="').concat(o,'">').concat(o||e,"</a>")))},a=null;return e&&(r.Dom.isTag(e,"a")||r.Dom.closest(e,"a",t.editor))&&(a=r.Dom.isTag(e,"a")?e:r.Dom.closest(e,"a",t.editor)),(0,i.FileSelectorWidget)(t,{filebrowser:function(t){t.files&&t.files.forEach((function(e){return s(t.baseurl+e)})),n()},upload:!0,url:function(t,e){a?(a.setAttribute("href",t),a.setAttribute("title",e)):s(t,e),n()}},a,n,!1)},tags:["a"],tooltip:"Insert file"},e.file=a,s.pluginSystem.add("file",a)},78835:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.focus=void 0;var n=o(733),r=o(96582),i=o(58706);function s(t){t.o.saveSelectionOnBlur&&t.e.on("blur",(function(){t.isEditorMode()&&t.s.save(!0)})).on("focus",(function(){t.s.restore()}));var e=function(){if(t.s.focus(),"end"===t.o.cursorAfterAutofocus){var e=r.Dom.last(t.editor,(function(t){return r.Dom.isText(t)}));e&&t.s.setCursorIn(e,!1)}};t.e.on("afterInit",(function(){t.o.autofocus&&(t.defaultTimeout?t.async.setTimeout(e,300):e())})),t.e.on("afterInit afterAddPlace",(function(){t.e.off(t.editor,"mousedown.autofocus").on(t.editor,"mousedown.autofocus",(function(e){t.isEditorMode()&&e.target&&r.Dom.isBlock(e.target)&&!e.target.childNodes.length&&(t.editor===e.target?t.s.focus():t.s.setCursorIn(e.target))}))}))}n.Config.prototype.autofocus=!1,n.Config.prototype.cursorAfterAutofocus="end",n.Config.prototype.saveSelectionOnBlur=!0,e.focus=s,i.pluginSystem.add("focus",s)},84618:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784),r=o(733),i=o(12815),s=o(93772),a=o(74259);r.Config.prototype.defaultFontSizePoints="px",a.Icon.set("font",o(54050)).set("fontsize",o(76901)),r.Config.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size"},list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],exec:function(t,e,o){var n=o.control;return(0,s.memorizeExec)(t,e,{control:n},(function(e){var o;return"fontsize"===(null===(o=n.command)||void 0===o?void 0:o.toLowerCase())?"".concat(e).concat(t.o.defaultFontSizePoints):e}))},childTemplate:function(t,e,o){return"".concat(o).concat(t.o.defaultFontSizePoints)},tooltip:"Font size",isChildActive:function(t,e){var o,n,r=t.s.current(),a=(null===(o=e.data)||void 0===o?void 0:o.cssRule)||"font-size",c=(null===(n=e.data)||void 0===n?void 0:n.normalize)||function(e){return/pt$/i.test(e)&&"pt"===t.o.defaultFontSizePoints?e.replace(/pt$/i,""):e};if(r){var l=i.Dom.closest(r,i.Dom.isElement,t.editor)||t.editor,u=(0,s.css)(l,a);return Boolean(u&&e.args&&c(e.args[0].toString())===c(u.toString()))}return!1}},r.Config.prototype.controls.font=n.__assign(n.__assign({},r.Config.prototype.controls.fontsize),{command:"fontname",list:{"":"Default","Helvetica,sans-serif":"Helvetica","Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},childTemplate:function(t,e,o){var n=!1;try{n=-1===e.indexOf("dings")&&document.fonts.check("16px ".concat(e),o)}catch(t){}return'<span style="'.concat(n?"font-family: ".concat(e,"!important;"):"",'">').concat(o,"</span>")},data:{cssRule:"font-family",normalize:function(t){return t.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")}},tooltip:"Font family"})},62718:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.font=void 0;var n=o(16892),r=o(58706);function i(t){t.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});var e=function(e,o,r){switch(e){case"fontsize":t.s.applyStyle({fontSize:(0,n.normalizeSize)(r)});break;case"fontname":t.s.applyStyle({fontFamily:r})}return t.synchronizeValues(),!1};t.registerCommand("fontsize",e).registerCommand("fontname",e)}o(84618),e.font=i,r.pluginSystem.add("font",i)},53142:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatBlock=void 0;var n=o(733),r=o(71910),i=o(16892),s=o(58706);function a(t){t.registerButton({name:"paragraph",group:"font"}),t.registerCommand("formatblock",(function(e,o,n){return t.s.applyStyle(void 0,{element:n}),t.synchronizeValues(),!1}))}o(74259).Icon.set("paragraph",o(25223)),n.Config.prototype.controls.paragraph={command:"formatBlock",update:function(t,e){var o=t.control,n=e.s.current();if(n&&e.o.textIcons){var i=(r.Dom.closest(n,r.Dom.isBlock,e.editor)||e.editor).nodeName.toLowerCase(),s=o.list;t&&o.data&&o.data.currentValue!==i&&s&&s[i]&&(e.o.textIcons?t.state.text=i:t.state.icon.name=i,o.data.currentValue=i)}return!1},exec:i.memorizeExec,data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:function(t,e){var o=t.s.current();if(o){var n=r.Dom.closest(o,r.Dom.isBlock,t.editor);return Boolean(n&&n!==t.editor&&void 0!==e.args&&n.nodeName.toLowerCase()===e.args[0])}return!1},isActive:function(t,e){var o=t.s.current();if(o){var n=r.Dom.closest(o,r.Dom.isBlock,t.editor);return Boolean(n&&n!==t.editor&&void 0!==e.list&&!r.Dom.isTag(n,"p")&&void 0!==e.list[n.nodeName.toLowerCase()])}return!1},childTemplate:function(t,e,o){return"<".concat(e,' style="margin:0;padding:0"><span>').concat(t.i18n(o),"</span></").concat(e,">")},tooltip:"Insert format block"},e.formatBlock=a,s.pluginSystem.add("formatBlock",a)},86153:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(83184);var n=o(733),r=o(49940),i=o(74259);n.Config.prototype.fullsize=!1,n.Config.prototype.globalFullSize=!0,i.Icon.set("fullsize",o(95331)).set("shrink",o(34345)),n.Config.prototype.controls.fullsize={exec:function(t){t.toggleFullSize()},update:function(t,e){var o=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=o:t.state.icon.name=o},tooltip:"Open in fullsize",mode:r.MODE_SOURCE+r.MODE_WYSIWYG}},8640:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fullsize=void 0,o(83184);var n=o(21714),r=o(8637),i=o(58706);o(86153);var s=new Set;function a(t){t.registerButton({name:"fullsize"});var e=!1,o=0,i=0,a=!1,c=function(){var r=t.container;t.events&&(e?(o=(0,n.css)(r,"height",!0),i=(0,n.css)(r,"width",!0),(0,n.css)(r,{height:t.ow.innerHeight,width:t.ow.innerWidth}),a=!0):a&&(0,n.css)(r,{height:o||"auto",width:i||"auto"}))},l=function(o){var i=t.container,a=t.events;if(i){if(void 0===o&&(o=!i.classList.contains("jodit_fullsize")),t.setMod("fullsize",o),t.o.fullsize=o,e=o,i.classList.toggle("jodit_fullsize",o),t.toolbar&&((0,r.isJoditObject)(t)&&t.toolbarContainer.appendChild(t.toolbar.container),(0,n.css)(t.toolbar.container,"width","auto")),o?s.add(i):s.delete(i),t.o.globalFullSize&&(1===s.size&&o||0===s.size&&!o)){for(var l=i.parentNode;l&&l.nodeType!==Node.DOCUMENT_NODE&&l.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)l.classList.toggle("jodit_fullsize-box_true",o),l=l.parentNode;c()}a.fire("afterResize")}};t.o.globalFullSize&&t.e.on(t.ow,"resize",c),t.e.on("afterInit afterOpen",(function(){var e;t.toggleFullSize(null===(e=null==t?void 0:t.options)||void 0===e?void 0:e.fullsize)})).on("toggleFullSize",l).on("beforeDestruct",(function(){e&&l(!1)})).on("beforeDestruct",(function(){t.events&&t.e.off(t.ow,"resize",c)}))}e.fullsize=a,i.pluginSystem.add("fullsize",a)},12382:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},83410:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hotkeys=void 0;var n=o(52784),r=o(43464),i=o(16892),s=o(49940),a=o(58706);o(12382);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onKeyPress=function(t){var o=e.specialKeys[t.which],n=(t.key||String.fromCharCode(t.which)).toLowerCase(),r=[o||n];return["alt","ctrl","shift","meta"].forEach((function(e){t[e+"Key"]&&o!==e&&r.push(e)})),(0,i.normalizeKeyAliases)(r.join("+"))},e.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},e}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;(0,i.keys)(t.o.commandToHotkeys,!1).forEach((function(e){var o=t.o.commandToHotkeys[e];o&&((0,i.isArray)(o)||(0,i.isString)(o))&&t.registerHotkeyToCommand(o,e)}));var o=!1;t.e.off(".hotkeys").on([t.ow,t.ew],"keydown.hotkeys",(function(t){if(t.key===s.KEY_ESC)return e.j.e.fire("escape",t)})).on("keydown.hotkeys",(function(n){var r=e.onKeyPress(n),i={shouldStop:!0};if(!1===e.j.e.fire(r+".hotkey",n.type,i)){if(i.shouldStop)return o=!0,t.e.stopPropagation("keydown"),!1;n.preventDefault()}}),{top:!0}).on("keyup.hotkeys",(function(){if(o)return o=!1,t.e.stopPropagation("keyup"),!1}),{top:!0})},e.prototype.beforeDestruct=function(t){t.events&&t.e.off(".hotkeys")},e}(r.Plugin);e.hotkeys=c,a.pluginSystem.add("hotkeys",c)},40028:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hr=void 0;var n=o(733),r=o(96582),i=o(58706);function s(t){t.registerButton({name:"hr",group:"insert"}),t.registerCommand("insertHorizontalRule",(function(){var e=t.createInside.element("hr");t.s.insertNode(e,!1,!1);var o=r.Dom.closest(e.parentElement,r.Dom.isBlock,t.editor);o&&r.Dom.isEmpty(o)&&o!==t.editor&&(r.Dom.after(o,e),r.Dom.safeRemove(o));var n=r.Dom.next(e,r.Dom.isBlock,t.editor,!1);return n||(n=t.createInside.element(t.o.enter),r.Dom.after(e,n)),t.s.setCursorIn(n),!1}))}o(74259).Icon.set("hr",o(85487)),n.Config.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},e.hr=s,i.pluginSystem.add("hr",s)},95077:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.iframeBaseUrl="",n.Config.prototype.iframeTitle="Jodit Editor",n.Config.prototype.iframeDoctype="<!DOCTYPE html>",n.Config.prototype.iframeDefaultSrc="about:blank",n.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',n.Config.prototype.iframeCSSLinks=[]},73389:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.iframe=void 0;var n=o(16892),r=o(16892),i=o(49940),s=o(58706);function a(t){var e=t.options;t.e.on("afterSetMode",(function(){t.isEditorMode()&&t.s.focus()})).on("generateDocumentStructure.iframe",(function(t,o){var r=t||o.iframe.contentWindow.document;if(r.open(),r.write(e.iframeDoctype+'<html dir="'.concat(e.direction,'" class="jodit" lang="').concat((0,n.defaultLanguage)(e.language),'">')+"<head>"+"<title>".concat(e.iframeTitle,"</title>")+(e.iframeBaseUrl?'<base href="'.concat(e.iframeBaseUrl,'"/>'):"")+'</head><body class="jodit-wysiwyg"></body></html>'),r.close(),e.iframeCSSLinks&&e.iframeCSSLinks.forEach((function(t){var e=r.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),r.head&&r.head.appendChild(e)})),e.iframeStyle){var i=r.createElement("style");i.innerHTML=e.iframeStyle,r.head&&r.head.appendChild(i)}})).on("createEditor",(function(){if(e.iframe){var o=t.c.element("iframe");o.style.display="block",o.src="about:blank",o.className="jodit-wysiwyg_iframe",o.setAttribute("allowtransparency","true"),o.setAttribute("tabindex",e.tabIndex.toString()),o.setAttribute("frameborder","0"),t.workplace.appendChild(o),t.iframe=o;var s=t.e.fire("generateDocumentStructure.iframe",null,t);return(0,n.callPromise)(s,(function(){if(!t.iframe)return!1;var o=t.iframe.contentWindow.document;t.editorWindow=t.iframe.contentWindow;var s=function(){(0,n.attr)(o.body,"contenteditable",t.getMode()!==i.MODE_SOURCE&&!t.getReadOnly()||null)},a=function(t){var e=/<body.*<\/body>/im,o="{%%BODY%%}",n=e.exec(t);return n&&(t=t.replace(e,o).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(o,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),t};if(e.editHTMLDocumentMode){var c=t.element.tagName;if("TEXTAREA"!==c&&"INPUT"!==c)throw(0,r.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");t.e.on("beforeGetNativeEditorValue",(function(){return a(t.o.iframeDoctype+o.documentElement.outerHTML)})).on("beforeSetNativeEditorValue",(function(e){var n=e.value;return!t.isLocked&&(/<(html|body)/i.test(n)?a(o.documentElement.outerHTML)!==a(n)&&(o.open(),o.write(t.o.iframeDoctype+a(n)),o.close(),t.editor=o.body,t.e.fire("safeHTML",t.editor),s(),t.e.fire("prepareWYSIWYGEditor"),t.e.stopPropagation("beforeSetNativeEditorValue")):o.body.innerHTML=n,!0)}),{top:!0})}if(t.editor=o.body,t.e.on("afterSetMode afterInit afterAddPlace",s),"auto"===e.height){o.documentElement&&(o.documentElement.style.overflowY="hidden");var l=t.async.throttle((function(){if(t.editor&&t.iframe&&"auto"===e.height){var o=t.ew.getComputedStyle(t.editor),r=parseInt(o.marginTop||"0",10)+parseInt(o.marginBottom||"0",10);(0,n.css)(t.iframe,"height",t.editor.offsetHeight+r)}}),t.defaultTimeout/2);if(t.e.on("change afterInit afterSetMode resize",l).on([t.iframe,t.ew,o.documentElement],"load",l).on(o,"readystatechange DOMContentLoaded",l),"function"==typeof ResizeObserver){var u=new ResizeObserver(l);u.observe(o.body),t.e.on("beforeDestruct",(function(){u.unobserve(o.body)}))}}return o.documentElement&&t.e.on(o.documentElement,"mousedown touchend",(function(){t.s.isFocused()||(t.s.focus(),t.editor===o.body&&t.s.setCursorIn(o.body))})).on(t.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",(function(e){var o;null===(o=t.events)||void 0===o||o.fire(t.ow,e)})),!1}))}}))}o(95077),e.iframe=a,s.pluginSystem.add("iframe",a)},1431:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},34638:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.imageProcessor=void 0;var n=o(52784),r=o(16892),i=o(43464),s=o(51923),a=o(49940),c=o(58706);o(1431);var l="__jodit_imageprocessor_binded",u="__jodit_imageprocessor_bindedblob-id",d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.afterInit=function(t){},e.prototype.beforeDestruct=function(t){var e,o,r=t.buffer.get(u);if(r){var i=Object.keys(r);try{for(var s=n.__values(i),a=s.next();!a.done;a=s.next())URL.revokeObjectURL(a.value)}catch(t){e={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}t.buffer.delete(u)}},e.prototype.onAfterGetValueFromEditor=function(t,e){if(e!==a.SOURCE_CONSUMER)return this.onBeforeSetElementValue(t)},e.prototype.onBeforeSetElementValue=function(t){var e,o,r=this.jodit;if(r.o.imageProcessor.replaceDataURIToBlobIdInView){var i=r.buffer.get(u);if(i){var s=Object.keys(i);try{for(var a=n.__values(s),c=a.next();!c.done;c=a.next())for(var l=c.value;t.value.includes(l);)t.value=t.value.replace(l,i[l])}catch(t){e={error:t}}finally{try{c&&!c.done&&(o=a.return)&&o.call(a)}finally{if(e)throw e.error}}}}},e.prototype.afterChange=function(t){return n.__awaiter(this,void 0,Promise,(function(){var t;return n.__generator(this,(function(e){return(t=this.jodit).editor?((0,r.$$)("img",t.editor).forEach((function(e){(0,r.dataBind)(e,l)||((0,r.dataBind)(e,l,!0),e.complete||t.e.on(e,"load",(function o(){var n;!t.isInDestruct&&(null===(n=t.e)||void 0===n||n.fire("resize")),t.e.off(e,"load",o)})),e.src&&/^data:/.test(e.src)&&function(t,e){if(t.o.imageProcessor.replaceDataURIToBlobIdInView&&"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof URL){var o=e.src,n=function(t){for(var e=atob(t.split(",")[1]),o=t.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(e.length),r=new Uint8Array(n),i=0;e.length>i;i++)r[i]=e.charCodeAt(i);return new Blob([n],{type:o})}(o);e.src=URL.createObjectURL(n),t.e.fire("internalUpdate");var r=t.buffer.get(u)||{};r[e.src]=o,t.buffer.set(u,r)}}(t,e),t.e.on(e,"mousedown touchstart",(function(){t.s.select(e)})))})),[2]):[2]}))}))},n.__decorate([(0,s.watch)(":afterGetValueFromEditor")],e.prototype,"onAfterGetValueFromEditor",null),n.__decorate([(0,s.watch)(":beforeSetElementValue")],e.prototype,"onBeforeSetElementValue",null),n.__decorate([(0,s.watch)([":change",":afterInit",":changePlace"]),(0,s.debounce)()],e.prototype,"afterChange",null),e}(i.Plugin);e.imageProcessor=d,c.pluginSystem.add("imageProcessor",d)},83380:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0}},6183:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.imageProperties=void 0;var n=o(52784);o(47164);var r=o(71910),i=o(16892),s=o(19800),a=o(24697),c=o(51923),l=o(67757),u=o(58706),d=o(8457),f=o(58916),p=o(49011);o(83380);var h=function(t){return t=(0,i.trim)(t),/^[0-9]+$/.test(t)?t+"px":t},v=function(t){return/^[-+]?[0-9.]+px$/.test(t.toString())?parseFloat(t.toString()):t},m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={image:new Image,get ratio(){return this.image.naturalWidth/this.image.naturalHeight||1},sizeIsLocked:!0,marginIsLocked:!0},e.activeTabState={__activeTab:"Image"},e}return n.__extends(e,t),e.prototype.onChangeMarginIsLocked=function(){var t=this;if(this.form){var e=(0,i.refs)(this.form),o=e.lockMargin;[e.marginRight,e.marginBottom,e.marginLeft].forEach((function(e){(0,i.attr)(e,"disabled",t.state.marginIsLocked||null)})),o.innerHTML=r.Icon.get(this.state.marginIsLocked?"lock":"unlock")}},e.prototype.onChangeSizeIsLocked=function(){if(this.form){var t=(0,i.refs)(this.form),e=t.lockSize,o=t.imageWidth;e.innerHTML=r.Icon.get(this.state.sizeIsLocked?"lock":"unlock"),e.classList.remove("jodit-properties__lock"),e.classList.remove("jodit-properties__unlock"),e.classList.add(this.state.sizeIsLocked?"jodit-properties__lock":"jodit-properties__unlock"),this.j.e.fire(o,"change")}},e.prototype.open=function(){return this.makeForm(),this.activeTabState.__activeTab="Image",this.j.e.fire("hidePopup"),(0,i.markOwner)(this.j,this.dialog.container),this.state.marginIsLocked=!0,this.state.sizeIsLocked=!0,this.onChangeMarginIsLocked(),this.onChangeSizeIsLocked(),this.updateValues(),this.dialog.open().setModal(!0).setPosition(),!1},e.prototype.makeForm=function(){var t=this;if(!this.dialog){this.dialog=this.j.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]});var e=this.j,o=e.o,n=e.i18n.bind(e),r={check:(0,a.Button)(e,"ok","Apply","primary"),remove:(0,a.Button)(e,"bin","Delete")};e.e.on(this.dialog,"afterClose",(function(){t.state.image.parentNode&&o.image.selectImageAfterClose&&e.s.select(t.state.image)})),r.remove.onAction((function(){e.s.removeNode(t.state.image),t.dialog.close()}));var c=this.dialog;c.setHeader(n("Image properties"));var l=(0,d.form)(e);this.form=l,c.setContent(l);var u=(0,i.refs)(this.form).tabsBox;u&&u.appendChild((0,s.TabsWidget)(e,[{name:"Image",content:(0,f.mainTab)(e)},{name:"Advanced",content:(0,p.positionTab)(e)}],this.activeTabState)),r.check.onAction(this.onApply);var h=(0,i.refs)(this.form),v=h.editImage;e.e.on(h.changeImage,"click",this.openImagePopup),o.image.useImageEditor&&e.e.on(v,"click",this.openImageEditor);var m=(0,i.refs)(l),g=m.lockSize,y=m.lockMargin,_=m.imageWidth,b=m.imageHeight;g&&e.e.on(g,"click",(function(){t.state.sizeIsLocked=!t.state.sizeIsLocked})),e.e.on(y,"click",(function(e){t.state.marginIsLocked=!t.state.marginIsLocked,e.preventDefault()}));var w=function(e){if((0,i.isNumeric)(_.value)&&(0,i.isNumeric)(b.value)){var o=parseFloat(_.value),n=parseFloat(b.value);e.target===_?b.value=Math.round(o/t.state.ratio).toString():_.value=Math.round(n*t.state.ratio).toString()}};e.e.on([_,b],"change keydown mousedown paste",(function(o){t.state.sizeIsLocked&&e.async.setTimeout(w.bind(t,o),{timeout:e.defaultTimeout,label:"image-properties-changeSize"})})),c.setFooter([r.remove,r.check]),c.setSize(this.j.o.image.dialogWidth)}},e.prototype.updateValues=function(){var t,e,o=this,n=this.j.o,s=this.state.image,a=(0,i.refs)(this.form),c=a.marginTop,l=a.marginRight,u=a.marginBottom,d=a.marginLeft,f=a.imageSrc,p=a.id,h=a.classes,m=a.align,g=a.style,y=a.imageTitle,_=a.imageAlt,b=a.borderRadius,w=a.imageLink,S=a.imageWidth,C=a.imageHeight,j=a.imageLinkOpenInNewTab,x=a.imageViewSrc,E=a.lockSize;a.lockMargin.checked=o.state.marginIsLocked,E.checked=o.state.sizeIsLocked,f.value=(0,i.attr)(s,"src")||"",x&&(0,i.attr)(x,"src",(0,i.attr)(s,"src")||""),function(){y.value=(0,i.attr)(s,"title")||"",_.value=(0,i.attr)(s,"alt")||"";var t=r.Dom.closest(s,"a",o.j.editor);t?(w.value=(0,i.attr)(t,"href")||"",j.checked="_blank"===(0,i.attr)(t,"target")):(w.value="",j.checked=!1)}(),t=(0,i.attr)(s,"width")||(0,i.css)(s,"width",!0)||!1,e=(0,i.attr)(s,"height")||(0,i.css)(s,"height",!0)||!1,S.value=!1!==t?v(t).toString():s.offsetWidth.toString(),C.value=!1!==e?v(e).toString():s.offsetHeight.toString(),o.state.sizeIsLocked=function(){if(!(0,i.isNumeric)(S.value)||!(0,i.isNumeric)(C.value))return!1;var t=parseFloat(S.value),e=parseFloat(C.value);return 1>Math.abs(t-e*o.state.ratio)}(),function(){if(n.image.editMargins){var t=!0,e=!1;[c,l,u,d].forEach((function(o){var n=(0,i.attr)(o,"data-ref")||"",r=s.style.getPropertyValue((0,i.kebabCase)(n));if(!r)return e=!0,void(o.value="");/^[0-9]+(px)?$/.test(r)&&(r=parseInt(r,10)),o.value=r.toString()||"",(e&&o.value||t&&"marginTop"!==n&&o.value!==c.value)&&(t=!1)})),o.state.marginIsLocked=t}}(),h.value=((0,i.attr)(s,"class")||"").replace(/jodit_focused_image[\s]*/,""),p.value=(0,i.attr)(s,"id")||"",b.value=(parseInt(s.style.borderRadius||"0",10)||"0").toString(),s.style.cssFloat&&-1!==["left","right"].indexOf(s.style.cssFloat.toLowerCase())?m.value=(0,i.css)(s,"float"):"block"===(0,i.css)(s,"display")&&"auto"===s.style.marginLeft&&"auto"===s.style.marginRight&&(m.value="center"),g.value=(0,i.attr)(s,"style")||""},e.prototype.onApply=function(){var t=(0,i.refs)(this.form),e=t.imageSrc,o=t.borderRadius,n=t.imageTitle,s=t.imageAlt,a=t.imageLink,c=t.imageWidth,l=t.imageHeight,u=t.marginTop,d=t.marginRight,f=t.marginBottom,p=t.marginLeft,v=t.imageLinkOpenInNewTab,m=t.align,g=t.classes,y=t.id,_=this.j.o,b=this.state.image;if(_.image.editStyle&&(0,i.attr)(b,"style",t.style.value||null),!e.value)return r.Dom.safeRemove(b),void this.dialog.close();(0,i.attr)(b,"src",e.value),b.style.borderRadius="0"!==o.value&&/^[0-9]+$/.test(o.value)?o.value+"px":"",(0,i.attr)(b,"title",n.value||null),(0,i.attr)(b,"alt",s.value||null);var w=r.Dom.closest(b,"a",this.j.editor);if(a.value?(w||(w=r.Dom.wrap(b,"a",this.j.createInside)),(0,i.attr)(w,"href",a.value),(0,i.attr)(w,"target",v.checked?"_blank":null)):w&&w.parentNode&&w.parentNode.replaceChild(b,w),c.value!==b.offsetWidth.toString()||l.value!==b.offsetHeight.toString()){var S=(0,i.trim)(c.value)?h(c.value):null,C=(0,i.trim)(l.value)?h(l.value):null;(0,i.css)(b,{width:S,height:C}),(0,i.attr)(b,"width",(0,i.attr)(b,"width")?S:null),(0,i.attr)(b,"height",(0,i.attr)(b,"height")?C:null)}var j=[u,d,f,p];_.image.editMargins&&(this.state.marginIsLocked?(0,i.css)(b,"margin",h(u.value)):j.forEach((function(t){var e=(0,i.attr)(t,"data-ref")||"";(0,i.css)(b,e,h(t.value))}))),_.image.editClass&&(0,i.attr)(b,"class",g.value||null),_.image.editId&&(0,i.attr)(b,"id",y.value||null),_.image.editAlign&&(0,i.hAlignElement)(b,m.value),this.j.synchronizeValues(),this.dialog.close()},e.prototype.openImageEditor=function(){var t=this,e=(0,i.attr)(this.state.image,"src")||"",o=this.j.c.element("a"),n=function(){o.host===location.host||t.j.confirm("You can only edit your own images. Download this image on the host?",(function(e){e&&t.j.uploader&&t.j.uploader.uploadRemoteImage(o.href.toString(),(function(e){t.j.alert("The image has been successfully uploaded to the host!",(function(){(0,i.isString)(e.newfilename)&&((0,i.attr)(t.state.image,"src",e.baseurl+e.newfilename),t.updateValues())}))}),(function(e){t.j.alert("There was an error loading %s",e.message)}))}))};o.href=e,this.j.filebrowser.dataProvider.getPathByUrl(o.href.toString()).then((function(n){l.openImageEditor.call(t.j.filebrowser,o.href,n.name,n.path,n.source,(function(){var o=(new Date).getTime();(0,i.attr)(t.state.image,"src",e+(-1!==e.indexOf("?")?"":"?")+"&_tmp="+o.toString()),t.updateValues()}),(function(e){t.j.alert(e.message)}))})).catch((function(e){t.j.alert(e.message,n)}))},e.prototype.openImagePopup=function(t){var e=this,o=new r.Popup(this.j),n=(0,i.refs)(this.form).changeImage;o.setZIndex(this.dialog.getZIndex()+1),o.setContent((0,s.FileSelectorWidget)(this.j,{upload:function(t){t.files&&t.files.length&&(0,i.attr)(e.state.image,"src",t.baseurl+t.files[0]),e.updateValues(),o.close()},filebrowser:function(t){t&&(0,i.isArray)(t.files)&&t.files.length&&((0,i.attr)(e.state.image,"src",t.files[0]),o.close(),e.updateValues())}},this.state.image,o.close)).open((function(){return(0,i.position)(n)})),t.stopPropagation()},e.prototype.afterInit=function(t){var e=this,o=this;t.e.on("afterConstructor changePlace",(function(){t.e.off(t.editor,".imageproperties").on(t.editor,"dblclick.imageproperties",(function(n){var i=n.target;if(r.Dom.isTag(i,"img"))if(t.o.image.openOnDblClick){if(!1===e.j.e.fire("openOnDblClick",i))return;o.state.image=i,t.o.readonly||(n.stopImmediatePropagation(),n.preventDefault(),o.open())}else n.stopImmediatePropagation(),t.s.select(i)}))})).on("openImageProperties.imageproperties",(function(t){e.state.image=t,e.open()}))},e.prototype.beforeDestruct=function(t){this.dialog&&this.dialog.destruct(),t.e.off(t.editor,".imageproperties").off(".imageproperties")},n.__decorate([(0,c.watch)("state.marginIsLocked")],e.prototype,"onChangeMarginIsLocked",null),n.__decorate([(0,c.watch)("state.sizeIsLocked")],e.prototype,"onChangeSizeIsLocked",null),n.__decorate([c.autobind],e.prototype,"onApply",null),n.__decorate([c.autobind],e.prototype,"openImageEditor",null),n.__decorate([c.autobind],e.prototype,"openImagePopup",null),e}(r.Plugin);e.imageProperties=m,u.pluginSystem.add("imageProperties",m)},8457:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.form=void 0;var n=o(74259);e.form=function(t){var e=t.o.image,o=e.showPreview,r=e.editSize,i=n.Icon.get.bind(n.Icon);return t.c.fromHTML('<form class="jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-2-5 jodit_col-xs-5-5">\n\t\t\t\t<div class="jodit-properties_view_box">\n\t\t\t\t\t<div style="'.concat(o?"":"display:none",'" class="jodit-properties_image_view">\n\t\t\t\t\t\t<img data-ref="imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div style="').concat(r?"":"display:none",'" class="jodit-form__group jodit-properties_image_sizes">\n\t\t\t\t\t\t<input data-ref="imageWidth" type="text" class="jodit-input"/>\n\t\t\t\t\t\t<a data-ref="lockSize" class="jodit-properties__lock">').concat(i("lock"),'</a>\n\t\t\t\t\t\t<input data-ref="imageHeight" type="text" class="imageHeight jodit-input"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div data-ref="tabsBox" class="jodit_col-lg-3-5 jodit_col-xs-5-5"></div>\n\t\t</div>\n\t</form>'))}},58916:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mainTab=void 0;var n=o(74259);e.mainTab=function(t){var e=t.o,o=t.i18n.bind(t),r=n.Icon.get.bind(n.Icon),i=e.filebrowser.ajax.url||e.uploader.url,s=e.image.useImageEditor;return t.c.fromHTML('<div style="'.concat(e.image.editSrc?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Src"),'</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input data-ref="imageSrc" class="jodit-input" type="text"/>\n\t\t\t\t<div\n\t\t\t\t\tclass="jodit-input_group-buttons"\n\t\t\t\t\tstyle="').concat(i?"":"display: none",'"\n\t\t\t\t>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="changeImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t>').concat(r("image"),'</a>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="editImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t\tstyle="').concat(s?"":"display: none",'"\n\t\t\t\t\t\t>').concat(r("crop"),'</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div style="').concat(e.image.editTitle?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Title"),'</label>\n\t\t\t<input data-ref="imageTitle" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(e.image.editAlt?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Alternative"),'</label>\n\t\t\t<input data-ref="imageAlt" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(e.image.editLink?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Link"),'</label>\n\t\t\t<input data-ref="imageLink" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(e.image.editLink?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input data-ref="imageLinkOpenInNewTab" type="checkbox" class="jodit-checkbox"/>\n\t\t\t\t<span>').concat(o("Open link in new tab"),"</span>\n\t\t\t</label>\n\t\t</div>"))}},49011:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.positionTab=void 0;var n=o(74259);e.positionTab=function(t){var e=t.o,o=t.i18n.bind(t),r=n.Icon.get.bind(n.Icon);return t.c.fromHTML('<div style="'.concat(e.image.editMargins?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Margins"),'</label>\n\t\t\t<div class="jodit-grid jodit_vertical_middle">\n\t\t\t\t<input class="jodit_col-lg-1-5 jodit-input" data-ref="marginTop" type="text" placeholder="').concat(o("top"),'"/>\n\t\t\t\t<a style="text-align: center;" data-ref="lockMargin" class="jodit-properties__lock jodit_col-lg-1-5">').concat(r("lock"),'</a>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginRight" type="text" placeholder="').concat(o("right"),'"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginBottom" type="text" placeholder="').concat(o("bottom"),'"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginLeft" type="text" placeholder="').concat(o("left"),'"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="').concat(e.image.editAlign?"":"display:none",'"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>').concat(o("Align"),'</label>\n\t\t\t<select data-ref="align" class="jodit-select">\n\t\t\t\t<option value="">').concat(o("--Not Set--"),'</option>\n\t\t\t\t<option value="left">').concat(o("Left"),'</option>\n\t\t\t\t<option value="center">').concat(o("Center"),'</option>\n\t\t\t\t<option value="right">').concat(o("Right"),'</option>\n\t\t\t</select>\n\t\t</div>\n\t\t<div style="').concat(e.image.editStyle?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Styles"),'</label>\n\t\t\t<input data-ref="style" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(e.image.editClass?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Classes"),'</label>\n\t\t\t<input data-ref="classes" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(e.image.editId?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>Id</label>\n\t\t\t<input data-ref="id" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="').concat(e.image.editBorderRadius?"":"display:none",'"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>').concat(o("Border radius"),'</label>\n\t\t\t\t<input data-ref="borderRadius" type="number" class="jodit-input"/>\n\t\t</div>'))}},82582:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.image=void 0;var n=o(52784),r=o(96582),i=o(16892),s=o(19800),a=o(733),c=o(58706);function l(t){t.registerButton({name:"image",group:"media"})}o(74259).Icon.set("image",o(25249)),a.Config.prototype.controls.image={popup:function(t,e,o,a){var c=null;return e&&!r.Dom.isText(e)&&r.Dom.isHTMLElement(e)&&(r.Dom.isTag(e,"img")||(0,i.$$)("img",e).length)&&(c=r.Dom.isTag(e,"img")?e:(0,i.$$)("img",e)[0]),t.s.save(),(0,s.FileSelectorWidget)(t,{filebrowser:function(e){t.s.restore(),e.files&&e.files.forEach((function(o){return t.s.insertImage(e.baseurl+o,null,t.o.imageDefaultWidth)})),a()},upload:!0,url:function(e,o){return n.__awaiter(void 0,void 0,void 0,(function(){var r;return n.__generator(this,(function(n){switch(n.label){case 0:return t.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(e)&&(e="//"+e),(r=c||t.createInside.element("img")).setAttribute("src",e),r.setAttribute("alt",o),c?[3,2]:[4,t.s.insertImage(r,null,t.o.imageDefaultWidth)];case 1:n.sent(),n.label=2;case 2:return a(),[2]}}))}))}},c,a)},tags:["img"],tooltip:"Insert Image"},e.image=l,c.pluginSystem.add("image",l)},14259:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(96582),i=o(74259),s=o(86061);i.Icon.set("indent",o(38471)).set("outdent",o(10580)),n.Config.prototype.controls.indent={tooltip:"Increase Indent"},n.Config.prototype.controls.outdent={isDisabled:function(t){var e=t.s.current();if(e){var o=r.Dom.closest(e,r.Dom.isBlock,t.editor);if(o){var n=(0,s.getKey)(t.o.direction,o);return!o.style[n]||0>=parseInt(o.style[n],10)}}return!0},tooltip:"Decrease Indent"},n.Config.prototype.indentMargin=10},86061:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getKey=void 0;var n=o(12815);e.getKey=function(t,e){return"".concat(n.Dom.isCell(e)?"padding":"margin").concat("rtl"===t?"Right":"Left")}},81769:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.indent=void 0;var n=o(49940),r=o(96582),i=o(16892),s=o(58706);o(14259);var a=o(86061);function c(t){t.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});var e=function(e){var o=[];return t.s.eachSelection((function(s){t.s.save();var c=!!s&&r.Dom.up(s,r.Dom.isBlock,t.editor),l=t.o.enter;if(!c&&s&&(c=r.Dom.wrapInline(s,l!==n.BR?l:n.PARAGRAPH,t)),!c)return t.s.restore(),!1;var u=o.includes(c);if(c&&!u){var d=(0,a.getKey)(t.o.direction,c);o.push(c);var f=c.style[d]?parseInt(c.style[d],10):0;c.style[d]=(f+=t.o.indentMargin*("outdent"===e?-1:1))>0?f+"px":"",(0,i.attr)(c,"style")||(0,i.attr)(c,"style",null)}t.s.restore()})),t.synchronizeValues(),!1};t.registerCommand("indent",{exec:e,hotkeys:["ctrl+]","cmd+]"]}),t.registerCommand("outdent",{exec:e,hotkeys:["ctrl+[","cmd+["]})}e.indent=c,s.pluginSystem.add("indent",c)},74751:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(63779),o(90770),o(98677),o(67414),o(93146),o(16042),o(85049),o(25071),o(23728),o(63483),o(5032),o(42712),o(16242),o(78835),o(62718),o(53142),o(8640),o(83410),o(40028),o(73389),o(82582),o(34638),o(6183),o(81769),o(41163),o(31239),o(569),o(95662),o(42844),o(36355),o(68972),o(39778),o(61720),o(86813),o(1485),o(81774),o(96761),o(64148),o(54545),o(53902),o(82376),o(55991),o(94915),o(77394),o(67155),o(66064),o(60145),o(9427),o(15834),o(21056),o(59127),o(77518),o(4702),o(5280),o(26222),o(15126),o(65028),o(15771),o(41186),o(97964)},91265:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.toolbarInline=!0,n.Config.prototype.toolbarInlineForSelection=!1,n.Config.prototype.toolbarInlineDisableFor=[],n.Config.prototype.toolbarInlineDisabledButtons=["source"],r.Icon.set("addcolumn",o(28972)).set("addrow",o(40732)).set("merge",o(39822)).set("th",o(59203)).set("splitg",o(62724)).set("splitv",o(4087)).set("th-list",o(16500)),n.Config.prototype.popup={a:o(77115).Z,img:o(36461).default,cells:o(59050).Z,toolbar:o(68179).Z,jodit:o(84757).Z,iframe:o(84757).Z,"jodit-media":o(84757).Z,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},77115:function(t,e,o){"use strict";var n=o(93772);e.Z=[{name:"eye",tooltip:"Open link",exec:function(t,e){var o=(0,n.attr)(e,"href");e&&o&&t.ow.open(o)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},59050:function(t,e,o){"use strict";var n=o(74699),r=o(21714),i=o(19800),s=function(t){return t.args&&(0,n.isString)(t.args[0])?t.args[0].toLowerCase():""};e.Z=[{name:"brush",popup:function(t,e,o,s){if((0,n.isJoditObject)(t)){var a=t.getInstance("Table",t.o).getAllSelectedCells();if(!a.length)return!1;var c=function(e){return(0,i.ColorPickerWidget)(t,(function(o){a.forEach((function(t){(0,r.css)(t,e,o)})),t.lock(),t.synchronizeValues(),s(),t.unlock()}),(0,r.css)(a[0],e))};return(0,i.TabsWidget)(t,[{name:"Background",content:c("background-color")},{name:"Text",content:c("color")},{name:"Border",content:c("border-color")}])}},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:function(t,e,o){return o},exec:function(t,e,o){var n=s(o.control);t.getInstance("Table",t.o).getAllSelectedCells().forEach((function(t){(0,r.css)(t,"vertical-align","normal"===n?"":n)}))},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:function(t,e,o){var r=o.control;if((0,n.isJoditObject)(t)){var i=s(r);t.execCommand(i,!1,e)}},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(t,e,o){var r=o.control;if((0,n.isJoditObject)(t)){var i=s(r);t.execCommand(i,!1,e)}},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:function(t,e,o){var r=o.control;if((0,n.isJoditObject)(t)){var i=s(r);t.execCommand(i,!1,e),t.e.fire("hidePopup")}},tooltip:"Delete"}]},84757:function(t,e,o){"use strict";var n=o(36461);e.Z=[{name:"bin",tooltip:"Delete",exec:function(t,e){e&&t.s.removeNode(e)}},n.align]},36461:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.align=void 0;var n=o(96582),r=o(57348),i=o(21714),s=o(18578);e.align={name:"left",childTemplate:function(t,e,o){return o},list:["Left","Right","Center","Normal"],exec:function(t,e,o){var i=o.control;if(n.Dom.isTag(e,["img","jodit","jodit-media"])){var a=i.args&&(0,r.isString)(i.args[0])?i.args[0].toLowerCase():"";if(!a)return!1;(0,s.hAlignElement)(e,a),n.Dom.isTag(e,["jodit","jodit-media"])&&e.firstElementChild&&(0,s.hAlignElement)(e.firstElementChild,a),t.synchronizeValues(),t.e.fire("recalcPositionPopup")}},tooltip:"Horizontal align"},e.default=[{name:"delete",icon:"bin",tooltip:"Delete",exec:function(t,e){e&&t.s.removeNode(e)}},{name:"pencil",exec:function(t,e){"img"===e.tagName.toLowerCase()&&t.e.fire("openImageProperties",e)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec:function(t,e,o){var s=o.control;if(n.Dom.isTag(e,"img")){var a=s.args&&(0,r.isString)(s.args[0])?s.args[0].toLowerCase():"";if(!a)return!1;(0,i.css)(e,"vertical-align","normal"===a?"":a),t.e.fire("recalcPositionPopup")}}},e.align]},68179:function(t,e){"use strict";e.Z=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},41163:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.inlinePopup=void 0;var n=o(52784);o(63729);var r=o(43464),i=o(75901),s=o(88153),a=o(16892),c=o(96582),l=o(98440),u=o(51923),d=o(58706);o(91265);var f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.requires=["select"],e.type=null,e.popup=new s.Popup(e.jodit,!1),e.toolbar=(0,i.makeCollection)(e.jodit,e.popup),e.snapRange=null,e.elmsList=(0,a.keys)(e.j.o.popup,!1).filter((function(t){return!e.isExcludedTarget(t)})),e}return n.__extends(e,t),e.prototype.onClick=function(t){var e=this,o=this.elmsList,n=c.Dom.isTag(t,"img")?t:c.Dom.closest(t,o,this.j.editor);if(n&&this.canShowPopupForType(n.nodeName.toLowerCase()))return this.showPopup((function(){return(0,a.position)(n,e.j)}),n.nodeName.toLowerCase(),n),!1},e.prototype.showPopup=function(t,e,o){if(e=e.toLowerCase(),!this.canShowPopupForType(e))return!1;if(this.type!==e||o!==this.previousTarget){this.previousTarget=o;var n=this.j.o.popup[e],r=void 0;r=(0,a.isFunction)(n)?n(this.j,o,this.popup.close):n,(0,a.isArray)(r)&&(this.toolbar.build(r,o),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,r=this.toolbar.container),this.popup.setContent(r),this.type=e}return this.popup.open(t),!0},e.prototype.hidePopup=function(t){(0,a.isString)(t)&&t!==this.type||this.popup.close()},e.prototype.onOutsideClick=function(){this.popup.close()},e.prototype.canShowPopupForType=function(t){var e=this.j.o.popup[t.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!e||this.isExcludedTarget(t))},e.prototype.isExcludedTarget=function(t){return(0,a.splitArray)(this.j.o.toolbarInlineDisableFor).map((function(t){return t.toLowerCase()})).includes(t.toLowerCase())},e.prototype.afterInit=function(t){var e=this;this.j.e.on("getDiffButtons.mobile",(function(o){if(e.toolbar===o){var n=e.toolbar.getButtonsNames();return(0,a.toArray)(t.registeredButtons).filter((function(t){return!e.j.o.toolbarInlineDisabledButtons.includes(t.name)})).filter((function(t){var e=(0,a.isString)(t)?t:t.name;return e&&"|"!==e&&"\n"!==e&&!n.includes(e)}))}})).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(function(t,o,n){e.showPopup(o,n||((0,a.isString)(t)?t:t.nodeName),(0,a.isString)(t)?void 0:t)})).on("mousedown keydown",this.onSelectionStart).on("change",(function(){e.popup.isOpened&&e.previousTarget&&!e.previousTarget.parentNode&&(e.hidePopup(),e.previousTarget=void 0)})).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()},e.prototype.onSelectionStart=function(){this.snapRange=this.j.s.range.cloneRange()},e.prototype.onSelectionEnd=function(t){if(!(t&&t.target&&l.UIElement.closestElement(t.target,s.Popup))){var e=this.snapRange,o=this.j.s.range;e&&!o.collapsed&&o.startContainer===e.startContainer&&o.startOffset===e.startOffset&&o.endContainer===e.endContainer&&o.endOffset===e.endOffset||this.onSelectionChange()}},e.prototype.onSelectionChange=function(){if(this.j.o.toolbarInlineForSelection){var t="selection",e=this.j.s.sel,o=this.j.s.range;(null==e?void 0:e.isCollapsed)||this.isSelectedTarget(o)||this.tableModule.getAllSelectedCells().length?this.type===t&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup((function(){return o.getBoundingClientRect()}),t)}},e.prototype.isSelectedTarget=function(t){var e=t.startContainer;return c.Dom.isElement(e)&&e===t.endContainer&&c.Dom.isTag(e.childNodes[t.startOffset],(0,a.keys)(this.j.o.popup,!1))&&t.startOffset===t.endOffset-1},Object.defineProperty(e.prototype,"tableModule",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),e.prototype.beforeDestruct=function(t){t.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()},e.prototype._eventsList=function(){var t=this.elmsList;return t.map((function(t){return(0,a.camelCase)("click_".concat(t))})).concat(t.map((function(t){return(0,a.camelCase)("touchstart_".concat(t))}))).join(" ")},e.prototype.addListenersForElements=function(){this.j.e.on(this._eventsList(),this.onClick)},e.prototype.removeListenersForElements=function(){this.j.e.off(this._eventsList(),this.onClick)},e.prototype.showInlineToolbar=function(t){var e=this;this.showPopup((function(){return t||e.j.s.range.getBoundingClientRect()}),"toolbar")},n.__decorate([u.autobind],e.prototype,"onClick",null),n.__decorate([(0,u.wait)((function(t){return!t.j.isLocked}))],e.prototype,"showPopup",null),n.__decorate([(0,u.watch)(":clickEditor"),u.autobind],e.prototype,"hidePopup",null),n.__decorate([(0,u.watch)(":outsideClick")],e.prototype,"onOutsideClick",null),n.__decorate([u.autobind],e.prototype,"onSelectionStart",null),n.__decorate([u.autobind],e.prototype,"onSelectionEnd",null),n.__decorate([(0,u.debounce)((function(t){return t.defaultTimeout}))],e.prototype,"onSelectionChange",null),n.__decorate([u.autobind],e.prototype,"showInlineToolbar",null),e}(r.Plugin);e.inlinePopup=f,d.pluginSystem.add("inlinePopup",f)},31239:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.justify=void 0;var n=o(733),r=o(12815),i=o(21714),s=o(18578),a=o(58706);function c(t){t.registerButton({name:"align",group:"indent"});var e=function(e){return t.s.focus(),t.s.eachSelection((function(o){if(o){var n=r.Dom.up(o,r.Dom.isBlock,t.editor);n||(n=r.Dom.wrapInline(o,t.o.enterBlock,t)),(0,s.alignElement)(e,n)}})),!1};t.registerCommand("justifyfull",e),t.registerCommand("justifyright",e),t.registerCommand("justifyleft",e),t.registerCommand("justifycenter",e)}o(74259).Icon.set("justify",o(88145)),n.Config.prototype.controls.align={name:"left",tooltip:"Align",update:function(t,e){var o=t.control,n=e.s.current();if(n){var s=r.Dom.closest(n,r.Dom.isBlock,e.editor)||e.editor,a=(0,i.css)(s,"text-align").toString();o.defaultValue&&-1!==o.defaultValue.indexOf(a)&&(a="left"),o.data&&o.data.currentValue!==a&&o.list&&-1!==o.list.indexOf(a)&&(e.o.textIcons?t.state.text=a:t.state.icon.name=a,o.data.currentValue=a)}},isActive:function(t,e){var o=t.s.current();if(o&&e.defaultValue){var n=r.Dom.closest(o,r.Dom.isBlock,t.editor)||t.editor;return-1===e.defaultValue.indexOf((0,i.css)(n,"text-align").toString())}return!1},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},n.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},n.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},n.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},n.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},e.justify=c,a.pluginSystem.add("justify",c)},569:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.keyArrowOutside=void 0;var n=o(52784),r=o(43464),i=o(51923),s=o(49940),a=o(12815),c=o(58706),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.afterInit=function(t){},e.prototype.beforeDestruct=function(t){},e.prototype.onKeyDownArrow=function(t){var e;if(t.key===s.KEY_RIGHT&&this.j.selection.isCollapsed()){var o=this.j.selection.range,n=o.endContainer,r=o.endOffset;if(a.Dom.isText(n)&&(null===(e=n.nodeValue)||void 0===e?void 0:e.length)===r){var i=n.parentNode;a.Dom.isInlineBlock(i)&&!a.Dom.findNotEmptyNeighbor(i,!1,this.j.editor)&&a.Dom.after(i,this.j.createInside.text(s.NBSP_SPACE))}}},n.__decorate([(0,i.watch)(":keydown")],e.prototype,"onKeyDownArrow",null),e}(r.Plugin);e.keyArrowOutside=l,c.pluginSystem.add("keyArrowOutside",l)},40270:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1},95662:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.limit=void 0;var n=o(52784),r=o(43464),i=o(49940),s=o(51923),a=o(58706);o(40270);var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this,o=t.o;if(t&&(o.limitWords||o.limitChars)){var n=null;t.e.off(".limit").on("beforePaste.limit",(function(){n=t.history.snapshot.make()})).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",(function(){if(e.__shouldDenyInput(!0)&&n)return t.history.snapshot.restore(n),t.e.fire("denyPaste.limit"),!1}))}},e.prototype.shouldPreventInsertHTML=function(t){return(!t||!(i.COMMAND_KEYS.includes(t.key)||t.ctrlKey||t.metaKey))&&this.__shouldDenyInput(!1)},e.prototype.__shouldDenyInput=function(t){var e=this.jodit,o=e.o,n=o.limitWords,r=o.limitChars,i=this.__splitWords(e.o.limitHTML?e.value:e.text);if(n&&l(i.length,n,t))return e.e.fire("denyWords.limit limit.limit"),!0;var s=Boolean(r&&l(i.join("").length,r,t));return s&&e.e.fire("denyChars.limit limit.limit"),s},e.prototype.checkPreventKeyPressOrPaste=function(t){if(this.shouldPreventInsertHTML(t))return!1},e.prototype.checkPreventChanging=function(t,e){var o=this.jodit;this.__shouldDenyInput(!0)&&(o.value=e)},e.prototype.__splitWords=function(t){return t.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter((function(t){return t.length}))},e.prototype.beforeDestruct=function(t){t.e.off(".limit")},n.__decorate([s.autobind],e.prototype,"checkPreventKeyPressOrPaste",null),n.__decorate([s.autobind],e.prototype,"checkPreventChanging",null),e}(r.Plugin);function l(t,e,o){return o?t>e:t>=e}e.limit=c,a.pluginSystem.add("limit",c)},61467:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(16892),i=o(74259);n.Config.prototype.defaultLineHeight=null,i.Icon.set("line-height",o(21702)),n.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:function(t,e,o){return(0,r.memorizeExec)(t,e,{control:o.control},(function(t){return t}))}}},42786:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zh_tw=e.zh_cn=e.tr=e.ru=e.pt_br=e.pl=e.nl=e.ko=e.ja=e.it=e.id=e.hu=e.he=e.fr=e.fa=e.es=e.de=e.cs_cz=e.ar=void 0;var n=o(7713);e.ar=n;var r=o(79457);e.cs_cz=r;var i=o(95551);e.de=i;var s=o(86184);e.es=s;var a=o(43418);e.fa=a;var c=o(65643);e.fr=c;var l=o(96250);e.he=l;var u=o(8754);e.hu=u;var d=o(99271);e.id=d;var f=o(26080);e.it=f;var p=o(23267);e.ja=p;var h=o(70074);e.ko=h;var v=o(51419);e.nl=v;var m=o(38179);e.pl=m;var g=o(61707);e.pt_br=g;var y=o(15035);e.ru=y;var _=o(28048);e.tr=_;var b=o(72647);e.zh_cn=b;var w=o(65107);e.zh_tw=w},42844:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.lineHeight=void 0;var n=o(52784),r=o(43464),i=o(16892),s=o(51923),a=o(12815),c=o(58706);o(61467);var l=function(t){function e(e){var n=t.call(this,e)||this;return n.buttons=[{name:"lineHeight",group:"font"}],(0,c.extendLang)(o(42786)),n}return n.__extends(e,t),e.prototype.afterInit=function(t){(0,i.css)(t.editor,{lineHeight:t.o.defaultLineHeight}),t.registerCommand("applyLineHeight",this.applyLineHeight)},e.prototype.applyLineHeight=function(t,e,o){var n,r=this.j,s=r.s,c=r.createInside,l=r.editor,u=r.o;s.isFocused()||s.focus(),s.save();var d=function(t){var e=a.Dom.closest(t,a.Dom.isBlock,l);e||(e=a.Dom.wrap(t,u.enter,c));var r=(0,i.css)(e,"lineHeight");void 0===n&&(n=r.toString()!==o.toString()),(0,i.css)(e,"lineHeight",n?o:null)};try{if(s.isCollapsed()){var f=c.fake();s.insertNode(f,!1,!1),d(f),a.Dom.safeRemove(f)}else s.eachSelection(d)}finally{s.restore()}},e.prototype.beforeDestruct=function(t){(0,i.css)(t.editor,{lineHeight:null})},n.__decorate([s.autobind],e.prototype,"applyLineHeight",null),e}(r.Plugin);e.lineHeight=l,c.pluginSystem.add("lineHeight",l)},95927:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(77332),i=o(12815),s=o(74259);n.Config.prototype.link={formTemplate:r.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},s.Icon.set("link",o(40364)).set("unlink",o(33178)),n.Config.prototype.controls.unlink={exec:function(t,e){var o=i.Dom.closest(e,"a",t.editor);o&&i.Dom.unwrap(o),t.synchronizeValues(),t.e.fire("hidePopup")},tooltip:"Unlink"},n.Config.prototype.controls.link={isActive:function(t){var e=t.s.current();return Boolean(e&&i.Dom.closest(e,"a",t.editor))},popup:function(t,e,o,n){return t.e.fire("generateLinkForm.link",e,n)},tags:["a"],tooltip:"Insert link"}},36355:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.link=void 0;var n=o(52784),r=o(96582),i=o(16892),s=o(43464),a=o(51923),c=o(58706);o(95927);var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"link",group:"insert"}],e}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;t.o.link.followOnDblClick&&t.e.on("dblclick.link",this.onDblClickOnLink),t.o.link.processPastedLink&&t.e.on("processPaste.link",this.onProcessPasteLink),t.e.on("generateLinkForm.link",this.generateForm),t.registerCommand("openLinkDialog",{exec:function(){var o=t.dlg({resizable:!1}),n=e.generateForm(t.s.current(),(function(){o.close()}));n.container.classList.add("jodit-dialog_alert"),o.setContent(n),o.open(),t.async.requestIdleCallback((function(){var t=(0,i.refs)(n.container).url_input;null==t||t.focus()}))},hotkeys:t.o.link.hotkeys})},e.prototype.onDblClickOnLink=function(t){if(r.Dom.isTag(t.target,"a")){var e=(0,i.attr)(t.target,"href");e&&(location.href=e,t.preventDefault())}},e.prototype.onProcessPasteLink=function(t,e){var o=this.jodit;if((0,i.isURL)(e)){if(o.o.link.processVideoLink){var n=(0,i.convertMediaUrlToVideoEmbed)(e);if(n!==e)return o.e.stopPropagation("processPaste"),o.createInside.fromHTML(n)}var r=o.createInside.element("a");return r.setAttribute("href",e),r.textContent=e,o.e.stopPropagation("processPaste"),o.e.fire("applyLink",o,r,null),r}},e.prototype.generateForm=function(t,e){var o,n=this.jodit,s=n.i18n.bind(n),a=n.o.link,c=a.openInNewTabCheckbox,l=a.noFollowCheckbox,u=a.formClassName,d=a.modeClassName,f=(0,a.formTemplate)(n),p=(0,i.isString)(f)?n.c.fromHTML(f,{target_checkbox_box:c,nofollow_checkbox_box:l}):f,h=r.Dom.isElement(p)?p:p.container,v=(0,i.refs)(h),m=v.insert,g=v.unlink,y=v.content_input_box,_=v.target_checkbox,b=v.nofollow_checkbox,w=v.url_input,S=r.Dom.isImage(t),C=v.content_input,j=v.className_input,x=v.className_select;C||(C=n.c.element("input",{type:"hidden",ref:"content_input"})),u&&h.classList.add(u),S&&r.Dom.hide(y);var E=function(){return o?o.innerText:(0,i.stripTags)(n.s.range.cloneContents(),n.ed)};if(o=!(!t||!r.Dom.closest(t,"a",n.editor))&&r.Dom.closest(t,"a",n.editor),!S&&t&&(C.value=E()),o){if(w.value=(0,i.attr)(o,"href")||"",d)switch(d){case"input":j&&(j.value=(0,i.attr)(o,"class")||"");break;case"select":if(x){for(var P=0;x.selectedOptions.length>P;P++){var I=x.options.item(P);I&&(I.selected=!1)}((0,i.attr)(o,"class")||"").split(" ").forEach((function(t){if(t)for(var e=0;x.options.length>e;e++){var o=x.options.item(e);(null==o?void 0:o.value)&&o.value===t&&(o.selected=!0)}}))}}c&&_&&(_.checked="_blank"===(0,i.attr)(o,"target")),l&&b&&(b.checked="nofollow"===(0,i.attr)(o,"rel")),m.textContent=s("Update")}else r.Dom.hide(g);n.editor.normalize();var T=n.history.snapshot.make();g&&n.e.on(g,"click",(function(t){n.s.restore(),n.history.snapshot.restore(T),o&&r.Dom.unwrap(o),n.synchronizeValues(),e(),t.preventDefault()}));var O=function(){if(!w.value.trim().length)return w.focus(),w.classList.add("jodit_error"),!1;var t;n.s.restore(),n.s.removeMarkers(),n.editor.normalize(),n.history.snapshot.restore(T);var s=E()!==C.value.trim(),a=n.createInside;if(o)t=[o];else{if(n.s.isCollapsed()){var u=a.element("a");n.s.insertNode(u,!1,!1),t=[u]}else{var f=n.s.current();t=r.Dom.isTag(f,["img"])?[r.Dom.wrap(f,"a",a)]:n.s.wrapInTag("a")}t.forEach((function(t){return n.s.select(t)}))}return t.forEach((function(t){var e;if((0,i.attr)(t,"href",w.value),d&&(null!=j?j:x))if("input"===d)""===j.value&&t.hasAttribute("class")&&(0,i.attr)(t,"class",null),""!==j.value&&(0,i.attr)(t,"class",j.value);else if("select"===d){t.hasAttribute("class")&&(0,i.attr)(t,"class",null);for(var o=0;x.selectedOptions.length>o;o++){var r=null===(e=x.selectedOptions.item(o))||void 0===e?void 0:e.value;r&&t.classList.add(r)}}if(!S){var a=t.textContent;C.value.trim().length?s&&(a=C.value):a=w.value,a!==t.textContent&&(t.textContent=a)}c&&_&&(0,i.attr)(t,"target",_.checked?"_blank":null),l&&b&&(0,i.attr)(t,"rel",b.checked?"nofollow":null),n.e.fire("applyLink",n,t,p)})),n.synchronizeValues(),e(),!1};return r.Dom.isElement(p)?n.e.on(p,"submit",(function(t){return t.preventDefault(),t.stopImmediatePropagation(),O(),!1})):p.onSubmit(O),p},e.prototype.beforeDestruct=function(t){t.e.off("generateLinkForm.link",this.generateForm).off("dblclick.link",this.onDblClickOnLink).off("processPaste.link",this.onProcessPasteLink)},n.__decorate([a.autobind],e.prototype,"onDblClickOnLink",null),n.__decorate([a.autobind],e.prototype,"onProcessPasteLink",null),n.__decorate([a.autobind],e.prototype,"generateForm",null),e}(s.Plugin);e.link=l,c.pluginSystem.add("link",l)},77332:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formTemplate=void 0;var n=o(92815),r=o(24697);e.formTemplate=function(t){var e=t.o.link,o=e.openInNewTabCheckbox,i=e.noFollowCheckbox,s=e.modeClassName,a=e.selectSizeClassName,c=e.selectMultipleClassName,l=e.selectOptionsClassName;return new n.UIForm(t,[new n.UIBlock(t,[new n.UIInput(t,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new n.UIBlock(t,[new n.UIInput(t,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),s?new n.UIBlock(t,["input"===s?new n.UIInput(t,{name:"className",ref:"className_input",label:"Class name"}):"select"===s?new n.UISelect(t,{name:"className",ref:"className_select",label:"Class name",size:a,multiple:c,options:l}):null]):null,o?new n.UICheckbox(t,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,i?new n.UICheckbox(t,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new n.UIBlock(t,[new r.UIButton(t,{name:"unlink",variant:"default",text:"Unlink"}),new r.UIButton(t,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},47969:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.mediaFakeTag="jodit-media",n.Config.prototype.mediaInFakeBlock=!0,n.Config.prototype.mediaBlocks=["video","audio"]},68972:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.media=void 0;var n=o(49940),r=o(93772),i=o(58706);function s(t){var e="jodit_fake_wrapper",o=t.options,i=o.mediaFakeTag,s=o.mediaBlocks;o.mediaInFakeBlock&&t.e.on("afterGetValueFromEditor",(function(t){var o=new RegExp("<".concat(i,"[^>]+data-").concat(e,"[^>]+>([^]+?)</").concat(i,">"),"ig");o.test(t.value)&&(t.value=t.value.replace(o,"$1"))})).on("change afterInit afterSetMode changePlace",t.async.debounce((function(){t.isDestructed||t.getMode()===n.MODE_SOURCE||(0,r.$$)(s.join(","),t.editor).forEach((function(o){(0,r.dataBind)(o,e)||((0,r.dataBind)(o,e,!0),function(o){var n;if(o.parentNode&&(0,r.attr)(o.parentNode,"data-jodit_iframe_wrapper"))o=o.parentNode;else{var s=t.createInside.element(i,((n={"data-jodit-temp":1,contenteditable:!1,draggable:!0})["data-".concat(e)]=1,n));(0,r.attr)(s,"style",(0,r.attr)(o,"style")),s.style.display="inline-block"===o.style.display?"inline-block":"block",s.style.width=o.offsetWidth+"px",s.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(s,o),s.appendChild(o),o=s}t.e.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",(function(){t.s.setCursorAfter(o)}))}(o))}))}),t.defaultTimeout))}o(47969),e.media=s,i.pluginSystem.add("media",s)},96367:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(49940),i=o(75901),s=o(16892),a=o(70141);n.Config.prototype.mobileTapTimeout=300,n.Config.prototype.toolbarAdaptive=!0,n.Config.prototype.controls.dots={mode:r.MODE_SOURCE+r.MODE_WYSIWYG,popup:function(t,e,o,n,r){var c=o.data;return void 0===c&&(c={toolbar:(0,i.makeCollection)(t),rebuild:function(){var e;if(r){var o=t.e.fire("getDiffButtons.mobile",r.closest(a.ToolbarCollection));if(o&&c){c.toolbar.build((0,s.splitArray)(o));var n=(null===(e=t.toolbar.firstButton)||void 0===e?void 0:e.container.offsetWidth)||36;c.toolbar.container.style.width=3*(n+4)+"px"}}}},o.data=c),c.rebuild(),c.toolbar},tooltip:"Show all"}},39778:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mobile=void 0;var n=o(16892),r=o(5674),i=o(58706);function s(t){var e=0,o=(0,n.splitArray)(t.o.buttons);t.o.mobileTapTimeout&&t.e.on("touchend",(function(o){if(o.changedTouches&&o.changedTouches.length){var n=(new Date).getTime(),r=n-e;r>t.o.mobileTapTimeout&&(e=n,1.5*t.o.mobileTapTimeout>r&&t.s.insertCursorAtPoint(o.clientX,o.clientY))}})),t.e.on("getDiffButtons.mobile",(function(e){if(e===t.toolbar){var i=(0,r.flatButtonsSet)((0,n.splitArray)(t.o.buttons),t),s=(0,r.flatButtonsSet)(o,t);return(0,n.toArray)(i).reduce((function(t,e){return s.has(e)||t.push(e),t}),[])}})),t.o.toolbarAdaptive&&t.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",(function(){var e;if(t.o.toolbar){var r=(null!==(e=t.container.parentElement)&&void 0!==e?e:t.container).offsetWidth,i=(0,n.splitArray)(t.isFullSize||r>=t.o.sizeLG?t.o.buttons:t.o.sizeMD>r?t.o.sizeSM>r?t.o.buttonsXS:t.o.buttonsSM:t.o.buttonsMD);i.toString()!==o.toString()&&(o=i,t.e.fire("closeAllPopups"),t.toolbar.setRemoveButtons(t.o.removeButtons).build(o.concat(t.o.extraButtons)))}})).on(t.ow,"load resize",(function(){return t.e.fire("recalcAdaptive")}))}o(96367),e.mobile=s,i.pluginSystem.add("mobile",s)},55141:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(1070),i=function(t,e,o){var n,i=o.control,s="button".concat(i.command),a=null!==(n=i.args&&i.args[0])&&void 0!==n?n:(0,r.dataBind)(t,s);(0,r.dataBind)(t,s,a),t.execCommand(i.command,!1,"default"===a?null:a)};o(74259).Icon.set("ol",o(8681)).set("ul",o(1513)),n.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:i},n.Config.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:i}},61720:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.orderedList=void 0;var n=o(52784),r=o(43464),i=o(51923),s=o(58706);o(55141);var a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}],e}return n.__extends(e,t),e.prototype.afterInit=function(t){t.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)},e.prototype.onCommand=function(t,e,o){return this.jodit.s.applyStyle({listStyleType:null!=o?o:null},{element:"insertunorderedlist"===t?"ul":"ol"}),this.jodit.synchronizeValues(),!1},e.prototype.beforeDestruct=function(t){},n.__decorate([i.autobind],e.prototype,"onCommand",null),e}(r.Plugin);e.orderedList=a,s.pluginSystem.add("orderedList",a)},60755:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(49940);n.Config.prototype.askBeforePasteFromWord=!0,n.Config.prototype.processPasteFromWord=!0,n.Config.prototype.defaultActionOnPasteFromWord=null,n.Config.prototype.pasteFromWordActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Clean"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}]},1485:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pasteFromWord=void 0;var n=o(52784),r=o(43464),i=o(16892),s=o(49940),a=o(51923),c=o(62582),l=o(58706);o(60755);var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.requires=["paste"],e}return n.__extends(e,t),e.prototype.afterInit=function(t){},e.prototype.beforeDestruct=function(t){},e.prototype.processWordHTML=function(t,e,o){var n=this,r=this.j,s=r.o,a=s.askBeforePasteFromWord,l=s.defaultActionOnPasteFromWord,u=s.defaultActionOnPaste,d=s.pasteFromWordActionList;return!(!s.processPasteFromWord||!(0,i.isHtmlFromWord)(e)||(a?(0,c.askInsertTypeDialog)(r,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",(function(r){n.insertFromWordByType(t,e,r,o)}),d):this.insertFromWordByType(t,e,l||u,o),0))},e.prototype.insertFromWordByType=function(t,e,o,n){var r;switch(o){case s.INSERT_AS_HTML:e=(0,i.applyStyles)(e);var a=null===(r=this.j.events)||void 0===r?void 0:r.fire("beautifyHTML",e);(0,i.isString)(a)&&(e=a);break;case s.INSERT_AS_TEXT:e=(0,i.cleanFromWord)(e);break;case s.INSERT_ONLY_TEXT:e=(0,i.stripTags)((0,i.cleanFromWord)(e))}(0,c.pasteInsertHtml)(t,this.j,e)},n.__decorate([(0,a.watch)(":processHTML")],e.prototype,"processWordHTML",null),e}(r.Plugin);e.pasteFromWord=u,l.pluginSystem.add("pasteFromWord",u)},81774:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pasteStorage=void 0;var n=o(52784);o(87527);var r=o(49940),i=o(36894),s=o(12815),a=o(16892),c=o(70305),l=o(58706),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentIndex=0,e.list=[],e.container=null,e.listBox=null,e.previewBox=null,e.dialog=null,e.paste=function(){if(e.j.s.focus(),e.j.s.insertHTML(e.list[e.currentIndex]),0!==e.currentIndex){var t=e.list[0];e.list[0]=e.list[e.currentIndex],e.list[e.currentIndex]=t}e.dialog&&e.dialog.close(),e.j.synchronizeValues(),e.j.e.fire("afterPaste")},e.onKeyDown=function(t){var o=e.currentIndex;-1!==[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(t.key)&&(t.key===r.KEY_UP&&(0===o?o=e.list.length-1:o-=1),t.key===r.KEY_DOWN&&(o===e.list.length-1?o=0:o+=1),t.key!==r.KEY_ENTER?(o!==e.currentIndex&&e.selectIndex(o),t.stopImmediatePropagation(),t.preventDefault()):e.paste())},e.selectIndex=function(t){e.listBox&&(0,a.toArray)(e.listBox.childNodes).forEach((function(o,n){o.classList.remove("jodit_active"),t===n&&e.previewBox&&(o.classList.add("jodit_active"),e.previewBox.innerHTML=e.list[t],o.focus())})),e.currentIndex=t},e.showDialog=function(){2>e.list.length||(e.dialog||e.createDialog(),e.listBox&&(e.listBox.innerHTML=""),e.previewBox&&(e.previewBox.innerHTML=""),e.list.forEach((function(t,o){var n=e.j.c.element("a");n.textContent=o+1+". "+t.replace((0,r.SPACE_REG_EXP)(),""),e.j.e.on(n,"keydown",e.onKeyDown),(0,a.attr)(n,"href","#"),(0,a.attr)(n,"data-index",o.toString()),(0,a.attr)(n,"tab-index","-1"),e.listBox&&e.listBox.appendChild(n)})),e.dialog&&e.dialog.open(),e.j.async.setTimeout((function(){e.selectIndex(0)}),100))},e}return n.__extends(e,t),e.prototype.createDialog=function(){var t=this;this.dialog=this.j.dlg();var e=(0,c.Button)(this.j,"paste","Paste","primary");e.onAction(this.paste);var o=(0,c.Button)(this.j,"","Cancel");o.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,o]),this.j.e.on(this.listBox,"click dblclick",(function(e){var o=e.target;return s.Dom.isTag(o,"a")&&o.hasAttribute("data-index")&&t.selectIndex(parseInt((0,a.attr)(o,"-index")||"0",10)),"dblclick"===e.type&&t.paste(),!1}))},e.prototype.afterInit=function(){var t=this;this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",(function(){return t.list.length})).on("afterCopy.paste-storage",(function(e){-1!==t.list.indexOf(e)&&t.list.splice(t.list.indexOf(e),1),t.list.unshift(e),t.list.length>5&&(t.list.length=5)})),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})},e.prototype.beforeDestruct=function(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),s.Dom.safeRemove(this.previewBox),s.Dom.safeRemove(this.listBox),s.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]},e}(i.Plugin);e.pasteStorage=u,l.pluginSystem.add("pasteStorage",u)},110:function(t,e,o){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var r=o(52784),i=o(49940),s=o(733),a=o(62582);s.Config.prototype.askBeforePasteHTML=!0,s.Config.prototype.processPasteHTML=!0,s.Config.prototype.pasteHTMLActionList=[{value:i.INSERT_AS_HTML,text:"Keep"},{value:i.INSERT_AS_TEXT,text:"Insert as Text"},{value:i.INSERT_ONLY_TEXT,text:"Insert only Text"}],s.Config.prototype.memorizeChoiceWhenPasteFragment=!1,s.Config.prototype.nl2brInPlainText=!0;var c="pasteStorage";s.Config.prototype.controls.paste={tooltip:"Paste from clipboard",exec:function(t,e,o){var n=o.control;return r.__awaiter(this,void 0,void 0,(function(){var e,o,s,l,u;return r.__generator(this,(function(r){switch(r.label){case 0:if(n.name===c)return t.execCommand("showPasteStorage"),[2];if(t.s.focus(),e="",o=!0,!navigator.clipboard)return[3,11];r.label=1;case 1:return r.trys.push([1,6,,7]),[4,navigator.clipboard.read()];case 2:return(s=r.sent())&&s.length?[4,s[0].getType(i.TEXT_PLAIN)]:[3,5];case 3:return l=r.sent(),[4,new Response(l).text()];case 4:e=r.sent(),r.label=5;case 5:return o=!1,[3,7];case 6:return r.sent(),[3,7];case 7:if(!o)return[3,11];r.label=8;case 8:return r.trys.push([8,10,,11]),[4,navigator.clipboard.readText()];case 9:return e=r.sent(),o=!1,[3,11];case 10:return r.sent(),[3,11];case 11:return o&&(e=t.buffer.get(i.CLIPBOARD_ID)||"",o=0===e.length),u=t.value,o?(t.ed.execCommand("paste"),!(o=u===t.value)&&t.e.fire("afterPaste")):e.length?((0,a.pasteInsertHtml)(null,t,e),t.e.fire("afterPaste")):o&&t.alert("Your browser doesn't support direct access to the clipboard.",(function(){t.s.focus()})),[2]}}))}))},list:(n={},n[c]="Paste Storage",n),isChildDisabled:function(t){return 2>t.e.fire("pasteStorageList")}}},62582:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.askInsertTypeDialog=e.getAllTypes=e.pasteInsertHtml=void 0;var n=o(52784),r=o(74699),i=o(12815),s=o(49940),a=o(70305);e.pasteInsertHtml=function(t,e,o){if(!e.isInDestruct){(function(t){return Boolean(t&&"drop"===t.type)})(t)&&e.s.insertCursorAtPoint(t.clientX,t.clientY);var n=e.e.fire("beforePasteInsert",o);!(0,r.isVoid)(n)&&((0,r.isString)(n)||(0,r.isNumber)(n)||i.Dom.isNode(n))&&(o=n),(0,r.isString)(o)&&(o=function(t){var e=(t=t.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==e&&(t=t.substring(e+20));var o=t.search(/<!--EndFragment-->/i);return-1!==o&&(t=t.substring(0,o)),t}(o)),e.s.insertHTML(o)}},e.getAllTypes=function(t){var e=t.types,o="";if((0,r.isArray)(e)||"[object DOMStringList]"==={}.toString.call(e))for(var n=0;e.length>n;n+=1)o+=e[n]+";";else o=(e||s.TEXT_PLAIN).toString()+";";return o},e.askInsertTypeDialog=function(t,e,o,r,i){if(!1!==t.e.fire("beforeOpenPasteDialog",e,o,r,i)){var s=t.confirm('<div style="word-break: normal; white-space: normal">'.concat(t.i18n(e),"</div>"),t.i18n(o)),c=i.map((function(e){var o=e.text,n=e.value;return(0,a.Button)(t,{text:o,name:o.toLowerCase(),tabIndex:0}).onAction((function(){s.close(),r(n)}))}));s.e.one(s,"afterClose",(function(){t.s.isFocused()||t.s.focus()}));var l=(0,a.Button)(t,{text:"Cancel",tabIndex:0}).onAction((function(){s.close()}));return s.setFooter(n.__spreadArray(n.__spreadArray([],n.__read(c),!1),[l],!1)),c[0].focus(),c[0].state.variant="primary",t.e.fire("afterOpenPasteDialog",s,e,o,r,i),s}}},86813:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.paste=void 0;var n=o(52784),r=o(36894),i=o(49940),s=o(12815),a=o(51923),c=o(16892),l=o(58706),u=o(62582);o(110);var d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.pasteStack=new c.LimitedStack(20),e._isDialogOpened=!1,e}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;t.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(function(t){return e.pasteStack.push(t)})),t.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)},e.prototype.beforeDestruct=function(t){t.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")},e.prototype.onPaste=function(t){try{if(!1===this.customPasteProcess(t)||!1===this.j.e.fire("beforePaste",t))return t.preventDefault(),!1;this.defaultPasteProcess(t)}finally{this.j.e.fire("afterPaste",t)}},e.prototype.customPasteProcess=function(t){if(this.j.o.processPasteHTML){var e,o=(0,c.getDataTransfer)(t),n={html:null==o?void 0:o.getData(i.TEXT_HTML),plain:null==o?void 0:o.getData(i.TEXT_PLAIN),rtf:null==o?void 0:o.getData(i.TEXT_RTF)};for(e in n){var r=n[e];if((0,c.isHTML)(r)&&(this.j.e.fire("processHTML",t,r,n)||this.processHTML(t,r)))return!1}}},e.prototype.defaultPasteProcess=function(t){var e=(0,c.getDataTransfer)(t),o=(null==e?void 0:e.getData(i.TEXT_HTML))||(null==e?void 0:e.getData(i.TEXT_PLAIN));if(e&&o&&""!==(0,c.trim)(o)){var n=this.j.e.fire("processPaste",t,o,(0,u.getAllTypes)(e));void 0!==n&&(o=n),((0,c.isString)(o)||s.Dom.isNode(o))&&this.insertByType(t,o,this.j.o.defaultActionOnPaste),t.preventDefault(),t.stopPropagation()}},e.prototype.processHTML=function(t,e){var o=this;if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){var n=this.pasteStack.find((function(t){return t.html===e}));if(n)return this.insertByType(t,e,n.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;var r=(0,u.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(function(n){o._isDialogOpened=!1,o.insertByType(t,e,n)}),this.j.o.pasteHTMLActionList);return r&&(this._isDialogOpened=!0,r.e.on("beforeClose",(function(){o._isDialogOpened=!1}))),!0}return!1},e.prototype.insertByType=function(t,e,o){if(this.pasteStack.push({html:e,action:o}),(0,c.isString)(e))switch(this.j.buffer.set(i.CLIPBOARD_ID,e),o){case i.INSERT_CLEAR_HTML:e=(0,c.cleanFromWord)(e);break;case i.INSERT_ONLY_TEXT:e=(0,c.stripTags)(e);break;case i.INSERT_AS_TEXT:e=(0,c.htmlspecialchars)(e)}(0,u.pasteInsertHtml)(t,this.j,e)},e.prototype.onProcessPasteReplaceNl2Br=function(t,e,o){if(o===i.TEXT_PLAIN+";"&&!(0,c.isHTML)(e))return(0,c.nl2br)(e)},n.__decorate([a.autobind],e.prototype,"onPaste",null),n.__decorate([a.autobind],e.prototype,"onProcessPasteReplaceNl2Br",null),e}(r.Plugin);e.paste=d,l.pluginSystem.add("paste",d)},61396:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.showPlaceholder=!0,n.Config.prototype.placeholder="Type something",n.Config.prototype.useInputsPlaceholder=!0},96761:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.placeholder=e.isEditorEmpty=void 0;var n=o(52784);o(23455);var r=o(49940),i=o(16892),s=o(96582),a=o(36894),c=o(49940),l=o(51923),u=o(60039),d=o(58706);function f(t){if(!t.firstChild)return!0;var e=t.firstChild;if(c.MAY_BE_REMOVED_WITH_KEY.test(e.nodeName)||/^(TABLE)$/i.test(e.nodeName))return!1;var o=s.Dom.next(e,(function(t){return t&&!s.Dom.isEmptyTextNode(t)}),t);return s.Dom.isText(e)&&!o?s.Dom.isEmptyTextNode(e):!o&&s.Dom.each(e,(function(t){return!s.Dom.isTag(t,["ul","li","ol"])&&(s.Dom.isEmpty(t)||s.Dom.isTag(t,"br"))}))}o(61396),e.isEditorEmpty=f;var p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.addNativeListeners=function(){e.j.e.off(e.j.editor,"input.placeholder keydown.placeholder").on(e.j.editor,"input.placeholder keydown.placeholder",e.toggle)},e.addEvents=function(){var t=e.j;t.o.useInputsPlaceholder&&t.element.hasAttribute("placeholder")&&(e.placeholderElm.innerHTML=(0,i.attr)(t.element,"placeholder")||""),t.e.fire("placeholder",e.placeholderElm.innerHTML),t.e.off(".placeholder").on("changePlace.placeholder",e.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",e.toggle).on(window,"load",e.toggle),e.addNativeListeners(),e.toggle()},e}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;t.o.showPlaceholder&&(this.placeholderElm=t.c.fromHTML('<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">'.concat(t.i18n(t.o.placeholder),"</span>")),"rtl"===t.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),t.e.on("readonly",(function(t){t?e.hide():e.toggle()})).on("changePlace",this.addEvents),this.addEvents())},e.prototype.show=function(){var t=this.j;if(!t.o.readonly){var e=0,o=0,n=t.s.current(),r=n&&s.Dom.closest(n,s.Dom.isBlock,t.editor)||t.editor,a=t.ew.getComputedStyle(r),c=t.ew.getComputedStyle(t.editor);t.workplace.appendChild(this.placeholderElm);var l=t.editor.firstChild;if(s.Dom.isElement(l)&&!u.Select.isMarker(l)){var d=t.ew.getComputedStyle(l);e=parseInt(d.getPropertyValue("margin-top"),10),o=parseInt(d.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(d.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=d.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(a.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=a.getPropertyValue("line-height");(0,i.css)(this.placeholderElm,{display:"block",textAlign:a.getPropertyValue("text-align"),paddingTop:parseInt(c.paddingTop,10)+"px",paddingLeft:parseInt(c.paddingLeft,10)+"px",paddingRight:parseInt(c.paddingRight,10)+"px",marginTop:Math.max(parseInt(a.getPropertyValue("margin-top"),10),e),marginLeft:Math.max(parseInt(a.getPropertyValue("margin-left"),10),o)})}},e.prototype.hide=function(){s.Dom.safeRemove(this.placeholderElm)},e.prototype.toggle=function(){var t=this.j;t.editor&&!t.isInDestruct&&(t.getRealMode()===r.MODE_WYSIWYG&&f(t.editor)?this.show():this.hide())},e.prototype.beforeDestruct=function(t){this.hide(),t.e.off(".placeholder").off(window,"load",this.toggle)},n.__decorate([(0,l.debounce)((function(t){return t.defaultTimeout/10}),!0)],e.prototype,"toggle",null),e}(a.Plugin);e.placeholder=p,d.pluginSystem.add("placeholder",p)},64148:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.poweredByJodit=void 0;var n=o(58706);function r(t){var e=t.o;e.hidePoweredByJodit||e.inline||!(e.showCharsCounter||e.showWordsCounter||e.showXPathInStatusbar)||t.hookStatus("ready",(function(){t.statusbar.append(t.create.fromHTML('<a\n\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\tstyle="text-transform: uppercase"\n\t\t\t\t\t\tclass="jodit-status-bar-link"\n\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\thref="https://xdsoft.net/jodit/">\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t</a>'),!0)}))}e.poweredByJodit=r,n.pluginSystem.add("poweredByJodit",r)},54545:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.preview=void 0,o(89057);var n=o(733),r=o(49940),i=o(27903),s=o(58706);function a(t){t.registerButton({name:"preview"}),t.registerCommand("preview",(function(e,o,n){var r=t.dlg();r.setSize(1024,600).open("",t.i18n("Preview")).setModal(!0),(0,i.previewBox)(t,n,"px",r.getElm("content"))}))}n.Config.prototype.controls.preview={icon:"eye",command:"preview",mode:r.MODE_SOURCE+r.MODE_WYSIWYG,tooltip:"Preview"},e.preview=a,s.pluginSystem.add("preview",a)},55972:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateCriticalCSS=void 0;var n=o(52784),r=o(62507);e.generateCriticalCSS=function(t){var e=function(t,e){return void 0===e&&(e=t.ownerDocument.styleSheets),(0,r.toArray)(e).map((function(t){try{return(0,r.toArray)(t.cssRules)}catch(t){}return[]})).flat().filter((function(e){try{return Boolean(e&&t.matches(e.selectorText))}catch(t){}return!1}))},o=function(){function o(o,r,i){var s=this;this.css={};var a=i||{},c=function(e){var o=e.selectorText.split(",").map((function(t){return t.trim()})).sort().join(",");!1===Boolean(s.css[o])&&(s.css[o]={});for(var r=e.style.cssText.split(/;(?![A-Za-z0-9])/),i=0;r.length>i;i++)if(r[i]){var a=r[i].split(":");a[0]=a[0].trim(),a[1]=a[1].trim(),s.css[o][a[0]]=a[1].replace(/var\(([^)]+)\)/g,(function(e,o){var r=n.__read(o.split(","),2),i=r[0],s=r[1];return(t.ew.getComputedStyle(t.editor).getPropertyValue(i.trim())||s||e).trim()}))}};!function(){for(var n=o.innerHeight,i=r.createTreeWalker(t.editor,NodeFilter.SHOW_ELEMENT,(function(){return NodeFilter.FILTER_ACCEPT}));i.nextNode();){var s=i.currentNode;if(n>s.getBoundingClientRect().top||a.scanFullPage){var l=e(s);if(l)for(var u=0;l.length>u;u++)c(l[u])}}}()}return o.prototype.generateCSS=function(){var t="";for(var e in this.css)if(!/:not\(/.test(e)){for(var o in t+=e+" { ",this.css[e])t+=o+": "+this.css[e][o]+"; ";t+="}\n"}return t},o}();try{return new o(t.ew,t.ed,{scanFullPage:!0}).generateCSS()}catch(t){}return""}},53902:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.print=void 0;var n=o(733),r=o(58706),i=o(96582),s=o(16617),a=o(49940),c=o(58706),l=o(74259),u=o(55972),d=o(27903);function f(t){t.registerButton({name:"print"})}l.Icon.set("print",o(94460)),n.Config.prototype.controls.print={exec:function(t){var e=t.create.element("iframe");Object.assign(e.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,r.getContainer)(t,n.Config).appendChild(e);var o=function(){t.e.off(t.ow,"mousemove",o),i.Dom.safeRemove(e)},a=e.contentWindow;if(a){t.e.on(a,"onbeforeunload onafterprint",o).on(t.ow,"mousemove",o),t.o.iframe?(t.e.fire("generateDocumentStructure.iframe",a.document,t),a.document.body.innerHTML=t.value):(a.document.write('<!doctype html><html lang="'+(0,s.defaultLanguage)(t.o.language)+'"><head><title></title></head><style>'+(0,u.generateCriticalCSS)(t)+"</style><body></body></html>"),a.document.close(),(0,d.previewBox)(t,void 0,"px",a.document.body));var c=a.document.createElement("style");c.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",a.document.head.appendChild(c),a.focus(),a.print()}},mode:a.MODE_SOURCE+a.MODE_WYSIWYG,tooltip:"Print"},e.print=f,c.pluginSystem.add("print",f)},82376:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.redoUndo=void 0;var n=o(52784),r=o(733),i=o(49940),s=o(36894),a=o(58706);o(74259).Icon.set("redo",o(19780)).set("undo",o(6309)),r.Config.prototype.controls.redo={mode:i.MODE_SPLIT,isDisabled:function(t){return!t.history.canRedo()},tooltip:"Redo"},r.Config.prototype.controls.undo={mode:i.MODE_SPLIT,isDisabled:function(t){return!t.history.canUndo()},tooltip:"Undo"};var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}],e}return n.__extends(e,t),e.prototype.beforeDestruct=function(){},e.prototype.afterInit=function(t){var e=function(e){return t.history[e](),!1};t.registerCommand("redo",{exec:e,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),t.registerCommand("undo",{exec:e,hotkeys:["ctrl+z","cmd+z"]})},e}(s.Plugin);e.redoUndo=c,a.pluginSystem.add("redoUndo",c)},33606:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.tableAllowCellResize=!0},55991:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resizeCells=void 0;var n=o(52784);o(71696);var r=o(49940),i=o(71910),s=o(16892),a=o(51923),c=o(12815),l=o(58706);o(33606);var u="table_processor_observer-resize",d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.selectMode=!1,e.resizeDelta=0,e.createResizeHandle=function(){e.resizeHandler||(e.resizeHandler=e.j.c.div("jodit-table-resizer"),e.j.e.on(e.resizeHandler,"mousedown.table touchstart.table",e.onHandleMouseDown).on(e.resizeHandler,"mouseenter.table",(function(){e.j.async.clearTimeout(e.hideTimeout)})))},e.hideTimeout=0,e.drag=!1,e.minX=0,e.maxX=0,e.startX=0,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"module",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRTL",{get:function(){return"rtl"===this.j.o.direction},enumerable:!1,configurable:!0}),e.prototype.showResizeHandle=function(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)},e.prototype.hideResizeHandle=function(){var t=this;this.hideTimeout=this.j.async.setTimeout((function(){c.Dom.safeRemove(t.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})},e.prototype.onHandleMouseDown=function(t){var e=this;if(!this.j.isLocked){this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=t.clientX,this.j.lock(u),this.resizeHandler.classList.add("jodit-table-resizer_moved");var o,n=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)n=this.workTable.parentNode.getBoundingClientRect(),this.minX=n.left,this.maxX=this.minX+n.width;else{var s=i.Table.formalCoordinate(this.workTable,this.workCell,!0);i.Table.formalMatrix(this.workTable,(function(t,n,i){s[1]===i&&(o=t.getBoundingClientRect(),e.minX=Math.max(o.left+r.NEARBY/2,e.minX)),s[1]+(e.isRTL?-1:1)===i&&(o=t.getBoundingClientRect(),e.maxX=Math.min(o.left+o.width-r.NEARBY/2,e.maxX))}))}return!1}},e.prototype.onMouseMove=function(t){if(this.drag){this.j.e.fire("closeAllPopups");var e=t.clientX,o=(0,s.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>e&&(e=this.minX),e>this.maxX&&(e=this.maxX),this.resizeDelta=e-this.startX+(this.j.o.iframe?o.left:0),this.resizeHandler.style.left=e-(this.j.o.iframe?0:o.left)+"px";var n=this.j.s.sel;n&&n.removeAllRanges()}},e.prototype.onMouseUp=function(t){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==t.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())},e.prototype.resizeColumns=function(){var t=this.resizeDelta,e=[];i.Table.setColumnWidthByDelta(this.workTable,i.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],t,!0,e);var o=(0,s.call)(this.isRTL?c.Dom.prev:c.Dom.next,this.workCell,c.Dom.isCell,this.workCell.parentNode);i.Table.setColumnWidthByDelta(this.workTable,i.Table.formalCoordinate(this.workTable,o)[1],-t,!1,e)},e.prototype.resizeTable=function(){var t=this.resizeDelta*(this.isRTL?-1:1),e=this.workTable.offsetWidth,o=(0,s.getContentWidth)(this.workTable.parentNode,this.j.ew),n=!this.wholeTable;if(this.isRTL?!n:n)this.workTable.style.width=(e+t)/o*100+"%";else{var r=this.isRTL?"marginRight":"marginLeft",i=parseInt(this.j.ew.getComputedStyle(this.workTable)[r]||"0",10);this.workTable.style.width=(e-t)/o*100+"%",this.workTable.style[r]=(i+t)/o*100+"%"}},e.prototype.setWorkCell=function(t,e){void 0===e&&(e=null),this.wholeTable=e,this.workCell=t,this.workTable=c.Dom.up(t,(function(t){return c.Dom.isTag(t,"table")}),this.j.editor)},e.prototype.calcHandlePosition=function(t,e,o,n){void 0===o&&(o=0),void 0===n&&(n=0);var i=(0,s.offset)(e,this.j,this.j.ed);if(o>r.NEARBY&&i.width-r.NEARBY>o)this.hideResizeHandle();else{var a=(0,s.offset)(this.j.workplace,this.j,this.j.od,!0),l=(0,s.offset)(t,this.j,this.j.ed);if(this.resizeHandler.style.left=(o>r.NEARBY?i.left+i.width:i.left)-a.left+n+"px",Object.assign(this.resizeHandler.style,{height:l.height+"px",top:l.top-a.top+"px"}),this.showResizeHandle(),o>r.NEARBY){var u=(0,s.call)(this.isRTL?c.Dom.prev:c.Dom.next,e,c.Dom.isCell,e.parentNode);this.setWorkCell(e,!!u&&null)}else{var d=(0,s.call)(this.isRTL?c.Dom.next:c.Dom.prev,e,c.Dom.isCell,e.parentNode);this.setWorkCell(d||e,!d||null)}}},e.prototype.afterInit=function(t){var e=this;t.o.tableAllowCellResize&&t.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(function(){(0,s.$$)("table",t.editor).forEach(e.observe)})).on(this.j.ow,"scroll.resize-cells",(function(){if(e.drag){var o=c.Dom.up(e.workCell,(function(t){return c.Dom.isTag(t,"table")}),t.editor);if(o){var n=o.getBoundingClientRect();e.resizeHandler.style.top=n.top+"px"}}})).on("beforeSetMode.resize-cells",(function(){e.module.getAllSelectedCells().forEach((function(o){e.module.removeSelection(o),i.Table.normalizeTable(c.Dom.closest(o,"table",t.editor))}))}))},e.prototype.observe=function(t){var e=this;(0,s.dataBind)(t,u)||((0,s.dataBind)(t,u,!0),this.j.e.on(t,"mouseleave.resize-cells",(function(t){e.resizeHandler&&e.resizeHandler!==t.relatedTarget&&e.hideResizeHandle()})).on(t,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((function(o){if(!e.j.isLocked){var n=c.Dom.up(o.target,c.Dom.isCell,t);n&&e.calcHandlePosition(t,n,o.offsetX)}}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())},e.prototype.beforeDestruct=function(t){t.events&&(t.e.off(this.j.ow,".resize-cells"),t.e.off(".resize-cells"))},n.__decorate([a.autobind],e.prototype,"onHandleMouseDown",null),n.__decorate([a.autobind],e.prototype,"onMouseMove",null),n.__decorate([a.autobind],e.prototype,"onMouseUp",null),n.__decorate([a.autobind],e.prototype,"observe",null),e}(i.Plugin);e.resizeCells=d,l.pluginSystem.add("resizeCells",d)},90324:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.allowResizeX=!1,n.Config.prototype.allowResizeY=!0},94915:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resizeHandler=void 0;var n=o(52784),r=o(43464),i=o(96582),s=o(51923),a=o(98440),c=o(58706);o(90324);var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isResized=!1,e.start={x:0,y:0,w:0,h:0},e.handle=e.j.c.div("jodit-editor__resize",a.Icon.get("resize_handler")),e}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this,o=t.o,n=o.height,r=o.width,i=t.o.allowResizeY;"auto"===n&&"auto"!==r&&(i=!1),"auto"===n&&"auto"===r||!o.allowResizeX&&!i||(t.statusbar.setMod("resize-handle",!0),t.e.on("toggleFullSize.resizeHandler",(function(){e.handle.style.display=t.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(t.ow,"mouseup touchend",this.onHandleResizeEnd),t.container.appendChild(this.handle))},e.prototype.onHandleResizeStart=function(t){this.isResized=!0,this.start.x=t.clientX,this.start.y=t.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),t.preventDefault()},e.prototype.onHandleResize=function(t){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+t.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+t.clientX-this.start.x),this.j.e.fire("resize"))},e.prototype.onHandleResizeEnd=function(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())},e.prototype.beforeDestruct=function(){i.Dom.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)},e.requires=["size"],n.__decorate([s.autobind],e)}(r.Plugin);e.resizeHandler=l,c.pluginSystem.add("resizeHandler",l)},40020:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.allowResizeTags=["img","iframe","table","jodit"],n.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:["img"]}},77394:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resizer=void 0;var n=o(52784);o(65581);var r=o(49940),i=o(49940),s=o(12815),a=o(16892),c=o(36894),l=o(58706),u=o(51923),d=o(58706);o(40020);var f="__jodit-resizer_binded",p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.LOCK_KEY="resizer",e.element=null,e.isResizeMode=!1,e.isShown=!1,e.startX=0,e.startY=0,e.width=0,e.height=0,e.ratio=0,e.rect=e.j.c.fromHTML('<div title="'.concat(e.j.i18n("Press Alt for custom resizing"),'" class="jodit-resizer">\n\t\t\t\t<div class="jodit-resizer__top-left"></div>\n\t\t\t\t<div class="jodit-resizer__top-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-left"></div>\n\t\t\t\t<span>100x100</span>\n\t\t\t</div>')),e.sizeViewer=e.rect.getElementsByTagName("span")[0],e.pointerX=0,e.pointerY=0,e.isAltMode=!1,e.onClickElement=function(t){e.isResizeMode||e.element===t&&e.isShown||(e.element=t,e.show(),s.Dom.isTag(e.element,"img")&&!e.element.complete&&e.j.e.one(e.element,"load",e.updateSize))},e.updateSize=function(){if(!e.isInDestruct&&e.isShown&&e.element&&e.rect){var t=e.getWorkplacePosition(),o=(0,a.offset)(e.element,e.j,e.j.ed),n=parseInt(e.rect.style.left||"0",10),r=parseInt(e.rect.style.top||"0",10),i=o.top-t.top,s=o.left-t.left;r===i&&n===s&&e.rect.offsetWidth===e.element.offsetWidth&&e.rect.offsetHeight===e.element.offsetHeight||((0,a.css)(e.rect,{top:i,left:s,width:e.element.offsetWidth,height:e.element.offsetHeight}),e.j.events&&(e.j.e.fire(e.element,"changesize"),isNaN(n)||e.j.e.fire("resize")))}},e.hideSizeViewer=function(){e.sizeViewer.style.opacity="0"},e}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;(0,a.$$)("div",this.rect).forEach((function(o){t.e.on(o,"mousedown.resizer touchstart.resizer",e.onStartResizing.bind(e,o))})),l.eventEmitter.on("hideHelpers",this.hide),t.e.on("readonly",(function(t){t&&e.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(function(t){var e=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;e.test(t.value)&&(t.value=t.value.replace(e,"$1"))})).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()},e.prototype.onEditorClick=function(t){for(var e=t.target,o=this.j,n=o.editor,r=o.options.allowResizeTags;e&&e!==n;){if(s.Dom.isTag(e,r))return this.bind(e),void this.onClickElement(e);e=e.parentNode}},e.prototype.addEventListeners=function(){var t=this,e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",(function(e){t.isShown&&e.key===r.KEY_DELETE&&t.element&&!s.Dom.isTag(t.element,"table")&&t.onDelete(e)})).on(e.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([e.ow,e.editor],"scroll.resizer",(function(){t.isShown&&!t.isResizeMode&&t.hide()})).on(e.ow,"keydown.resizer",this.onKeyDown).on(e.ow,"keyup.resizer",this.onKeyUp).on(e.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)},e.prototype.onStartResizing=function(t,e){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=t,e.cancelable&&e.preventDefault(),e.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=e.clientX,this.startY=e.clientY,this.pointerX=e.clientX,this.pointerY=e.clientY;var o=this.j;o.e.fire("hidePopup"),o.lock(this.LOCK_KEY),o.e.on(o.ow,"mousemove.resizer touchmove.resizer",this.onResize)},e.prototype.onEndResizing=function(){var t=this.j;t.unlock(),this.isResizeMode=!1,this.isAltMode=!1,t.synchronizeValues(),t.e.off(t.ow,"mousemove.resizer touchmove.resizer",this.onResize)},e.prototype.onResize=function(t){if(this.isResizeMode){if(!this.element)return;this.pointerX=t.clientX,this.pointerY=t.clientY;var e=void 0,o=void 0;if(this.j.options.iframe){var n=this.getWorkplacePosition();e=t.clientX+n.left-this.startX,o=t.clientY+n.top-this.startY}else e=this.pointerX-this.startX,o=this.pointerY-this.startY;var r=this.handle.className,i=0,c=0,l=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===l||Array.isArray(l)&&s.Dom.isTag(this.element,l))?(e?(i=this.width+(r.match(/left/)?-1:1)*e,c=Math.round(i/this.ratio)):(c=this.height+(r.match(/top/)?-1:1)*o,i=Math.round(c*this.ratio)),i>(0,a.innerWidth)(this.j.editor,this.j.ow)&&(i=(0,a.innerWidth)(this.j.editor,this.j.ow),c=Math.round(i/this.ratio))):(i=this.width+(r.match(/left/)?-1:1)*e,c=this.height+(r.match(/top/)?-1:1)*o),i>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>i?i:"100%"),c>this.j.o.resizer.min_height&&this.applySize(this.element,"height",c),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),t.stopImmediatePropagation()}},e.prototype.onKeyDown=function(t){this.isAltMode=t.key===i.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()},e.prototype.onKeyUp=function(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1},e.prototype.onClickOutside=function(t){if(this.isShown){if(!this.isResizeMode)return this.hide();t.stopImmediatePropagation(),this.onEndResizing()}},e.prototype.getWorkplacePosition=function(){return(0,a.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)},e.prototype.applySize=function(t,e,o){var n=s.Dom.isImage(t)&&this.j.o.resizer.forImageChangeAttributes;n&&(0,a.attr)(t,e,o),n&&!t.style[e]||(0,a.css)(t,e,o)},e.prototype.onDelete=function(t){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(s.Dom.safeRemove(this.element),this.hide(),t.preventDefault()))},e.prototype.onChangeEditor=function(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,a.$$)("iframe",this.j.editor).forEach(this.bind)},e.prototype.bind=function(t){var e=this;if(s.Dom.isHTMLElement(t)&&this.j.o.allowResizeTags.includes(t.tagName.toLowerCase())&&!(0,a.dataBind)(t,f)){var o;if((0,a.dataBind)(t,f,!0),s.Dom.isTag(t,"iframe")){var n=t;s.Dom.isHTMLElement(t.parentNode)&&(0,a.attr)(t.parentNode,"-jodit_iframe_wrapper")?t=t.parentNode:(o=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,a.attr)(o,"style",(0,a.attr)(t,"style")),(0,a.css)(o,{display:"inline-block"===t.style.display?"inline-block":"block",width:t.offsetWidth,height:t.offsetHeight}),t.parentNode&&t.parentNode.insertBefore(o,t),o.appendChild(t),this.j.e.on(o,"click",(function(){(0,a.attr)(o,"data-jodit-wrapper_active",!0)})),t=o),this.j.e.off(t,"mousedown.select touchstart.select").on(t,"mousedown.select touchstart.select",(function(){e.j.s.select(t)})).off(t,"changesize").on(t,"changesize",(function(){n.setAttribute("width",t.offsetWidth+"px"),n.setAttribute("height",t.offsetHeight+"px")}))}this.j.e.on(t,"dragstart",this.hide),i.IS_IE&&this.j.e.on(t,"mousedown",(function(e){s.Dom.isTag(t,"img")&&e.preventDefault()}))}},e.prototype.showSizeViewer=function(t,e){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>t||this.sizeViewer.offsetHeight>e?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent="".concat(t," x ").concat(e),this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))},e.prototype.show=function(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,a.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=(0,a.css)(this.j.container,"zIndex").toString()),this.updateSize())},e.prototype.hide=function(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,s.Dom.safeRemove(this.rect),(0,a.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((function(t){return(0,a.attr)(t,"data-jodit-wrapper_active",!1)})))},e.prototype.beforeDestruct=function(t){this.hide(),l.eventEmitter.off("hideHelpers",this.hide),t.e.off(this.j.ow,".resizer").off(".resizer")},n.__decorate([(0,u.watch)(":click")],e.prototype,"onEditorClick",null),n.__decorate([u.autobind],e.prototype,"onStartResizing",null),n.__decorate([u.autobind],e.prototype,"onEndResizing",null),n.__decorate([u.autobind],e.prototype,"onResize",null),n.__decorate([u.autobind],e.prototype,"onKeyDown",null),n.__decorate([u.autobind],e.prototype,"onKeyUp",null),n.__decorate([u.autobind],e.prototype,"onClickOutside",null),n.__decorate([(0,u.debounce)()],e.prototype,"onChangeEditor",null),n.__decorate([u.autobind],e.prototype,"bind",null),n.__decorate([u.autobind],e.prototype,"hide",null),e}(c.Plugin);e.resizer=p,d.pluginSystem.add("resizer",p)},14557:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(74259);o(20964),n.Config.prototype.useSearch=!0,n.Config.prototype.search={lazyIdleTimeout:0},r.Icon.set("search",o(2251)),n.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec:function(t,e,o){var n=o.control;switch(n.args&&n.args[0]){case"findPrevious":t.e.fire("searchPrevious");break;case"findNext":t.e.fire("searchNext");break;case"replace":t.execCommand("openReplaceDialog");break;default:t.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:function(t,e,o){return o}}},21614:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(8212),e),n.__exportStar(o(71247),e)},8212:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SentenceFinder=void 0;var n=o(52784),r=o(27420),i=function(){function t(t){void 0===t&&(t=r.fuzzySearchIndex),this.searchIndex=t,this.queue=[],this.value=""}return t.prototype.add=function(t){var e,o=(null!==(e=t.nodeValue)&&void 0!==e?e:"").toLowerCase();if(o.length){var n=this.value.length;this.queue.push({startIndex:n,endIndex:n+o.length,node:t}),this.value+=o}},t.prototype.ranges=function(t,e){var o;void 0===e&&(e=0);var r=[],i=e,s=0,a=0;do{if(s=(o=n.__read(this.searchIndex(t,this.value,i),2))[1],-1!==(i=o[0])){for(var c=void 0,l=0,u=void 0,d=0,f=a;this.queue.length>f;f+=1)if(!c&&this.queue[f].endIndex>i&&(c=this.queue[f].node,l=i-this.queue[f].startIndex),c&&this.queue[f].endIndex>=i+s){u=this.queue[f].node,d=i+s-this.queue[f].startIndex,a=f;break}c&&u&&r.push({startContainer:c,startOffset:l,endContainer:u,endOffset:d}),i+=s}}while(-1!==i);return 0===r.length?null:r},t}();e.SentenceFinder=i},71247:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSelectionWrapper=e.clearSelectionWrappersFromHTML=e.clearSelectionWrappers=e.getSelectionWrappers=e.wrapRangesTextsInTmpSpan=void 0;var n=o(52784),r=o(12815),i=o(18365),s="jd-tmp-selection";function a(t){return(0,i.$$)("[".concat(s,"]"),t)}function c(t){return r.Dom.isElement(t)&&t.hasAttribute(s)}e.wrapRangesTextsInTmpSpan=function(t,e,o,i){var a,l,u;if(null!=t.startContainer.nodeValue&&null!=t.endContainer.nodeValue){var d=o.element("span",((a={})[s]=!0,a));r.Dom.markTemporary(d);var f=t.startContainer.nodeValue,p=0;if(0!==t.startOffset){var h=o.text(f.substring(0,t.startOffset));t.startContainer.nodeValue=f.substring(t.startOffset),r.Dom.before(t.startContainer,h),t.startContainer===t.endContainer&&(t.endOffset-=p=t.startOffset),t.startOffset=0}var v=t.endContainer.nodeValue;if(t.endOffset!==v.length){h=o.text(v.substring(t.endOffset)),t.endContainer.nodeValue=v.substring(0,t.endOffset),r.Dom.after(t.endContainer,h);try{for(var m=n.__values(e),g=m.next();!g.done;g=m.next()){var y=g.value;if(y.startContainer!==t.endContainer)break;y.startContainer=h,y.startOffset=y.startOffset-t.endOffset-p,y.endContainer===t.endContainer&&(y.endContainer=h,y.endOffset=y.endOffset-t.endOffset-p)}}catch(t){l={error:t}}finally{try{g&&!g.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}t.endOffset=t.endContainer.nodeValue.length}var _=t.startContainer;do{if(!_)break;if(r.Dom.isText(_)&&!c(_.parentNode)&&r.Dom.wrap(_,d.cloneNode(),o),_===t.endContainer)break;var b=_.firstChild||_.nextSibling;if(!b){for(;_&&!_.nextSibling&&_!==i;)_=_.parentNode;b=null==_?void 0:_.nextSibling}_=b}while(_&&_!==i)}},e.getSelectionWrappers=a,e.clearSelectionWrappers=function(t){a(t).forEach((function(t){return r.Dom.unwrap(t)}))},e.clearSelectionWrappersFromHTML=function(t){return t.replace(RegExp("<span[^>]+".concat(s,"[^>]+>(.*?)</span>"),"g"),"$1")},e.isSelectionWrapper=c},20964:function(){},67155:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.search=void 0;var n=o(52784),r=o(96582),i=o(43464),s=o(51923),a=o(31398),c=o(16892),l=o(58706),u=o(21614);o(14557);var d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"find",group:"search"}],e.previousQuery="",e.drawPromise=null,e.walker=null,e.walkerCount=null,e.cache={},e.wrapFrameRequest=0,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"ui",{get:function(){return new a.UISearch(this.j)},enumerable:!1,configurable:!0}),e.prototype.updateCounters=function(){return n.__awaiter(this,void 0,Promise,(function(){var t;return n.__generator(this,(function(e){switch(e.label){case 0:return this.ui.isOpened?(t=this.ui,[4,this.calcCounts(this.ui.query)]):[2];case 1:return t.count=e.sent(),[2]}}))}))},e.prototype.onPressReplaceButton=function(){this.findAndReplace(this.ui.query),this.updateCounters()},e.prototype.tryScrollToElement=function(t){var e=r.Dom.closest(t,r.Dom.isElement,this.j.editor);e||(e=r.Dom.prev(t,r.Dom.isElement,this.j.editor)),e&&e!==this.j.editor&&(0,c.scrollIntoViewIfNeeded)(e,this.j.editor,this.j.ed)},e.prototype.calcCounts=function(t){return n.__awaiter(this,void 0,Promise,(function(){return n.__generator(this,(function(e){switch(e.label){case 0:return[4,this.findQueryBounds(t,"walkerCount")];case 1:return[2,e.sent().length]}}))}))},e.prototype.findQueryBounds=function(t,e){return n.__awaiter(this,void 0,Promise,(function(){var o;return n.__generator(this,(function(n){return(o=this[e])&&o.break(),o=new r.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[e]=o,[2,this.find(o,t).catch((function(t){return[]}))]}))}))},e.prototype.findAndReplace=function(t){return n.__awaiter(this,void 0,Promise,(function(){var e,o,i,s,a;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,this.findQueryBounds(t,"walker")];case 1:if(!(e=n.sent()).length)return[2,!1];if(-1===(o=this.findCurrentIndexInRanges(e,this.j.s.range))&&(o=0),!(i=e[o]))return[3,6];n.label=2;case 2:return n.trys.push([2,,4,5]),(s=this.j.ed.createRange()).setStart(i.startContainer,i.startOffset),s.setEnd(i.endContainer,i.endOffset),s.deleteContents(),a=this.j.createInside.text(this.ui.replace),r.Dom.safeInsertNode(s,a),(0,u.clearSelectionWrappers)(this.j.editor),this.j.s.setCursorAfter(a),this.tryScrollToElement(a),this.cache={},this.ui.currentIndex=o,[4,this.findAndSelect(t,!0).catch((function(t){return null}))];case 3:return n.sent(),[3,5];case 4:return this.j.synchronizeValues(),[7];case 5:return this.j.e.fire("afterFindAndReplace"),[2,!0];case 6:return[2,!1]}}))}))},e.prototype.findAndSelect=function(t,e){var o;return n.__awaiter(this,void 0,Promise,(function(){var r,i,s,a;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,this.findQueryBounds(t,"walker")];case 1:if(!(r=n.sent()).length)return[2,!1];if(this.previousQuery===t&&(0,u.getSelectionWrappers)(this.j.editor).length||(null===(o=this.drawPromise)||void 0===o||o.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,u.clearSelectionWrappers)(this.j.editor),this.drawPromise=this.drawSelectionRanges(r)),this.previousQuery=t,this.ui.currentIndex=(i=-1==(i=this.ui.currentIndex-1)?0:e?i===r.length-1?0:i+1:0===i?r.length-1:i-1)+1,!(s=r[i]))return[3,4];a=this.j.ed.createRange();try{a.setStart(s.startContainer,s.startOffset),a.setEnd(s.endContainer,s.endOffset),this.j.s.selectRange(a)}catch(t){}return this.tryScrollToElement(s.startContainer),[4,this.updateCounters()];case 2:return n.sent(),[4,this.drawPromise];case 3:return n.sent(),this.j.e.fire("afterFindAndSelect"),[2,!0];case 4:return[2,!1]}}))}))},e.prototype.findCurrentIndexInRanges=function(t,e){return t.findIndex((function(t){return t.startContainer===e.startContainer&&t.startOffset===e.startOffset&&t.endContainer===e.startContainer&&t.endOffset===e.endOffset}))},e.prototype.isValidCache=function(t){return n.__awaiter(this,void 0,Promise,(function(){return n.__generator(this,(function(e){switch(e.label){case 0:return[4,t];case 1:return[2,e.sent().every((function(t){var e,o,n,r;return t.startContainer.isConnected&&t.startOffset<=(null!==(o=null===(e=t.startContainer.nodeValue)||void 0===e?void 0:e.length)&&void 0!==o?o:0)&&t.endContainer.isConnected&&t.endOffset<=(null!==(r=null===(n=t.endContainer.nodeValue)||void 0===n?void 0:n.length)&&void 0!==r?r:0)}))]}}))}))},e.prototype.find=function(t,e){return n.__awaiter(this,void 0,Promise,(function(){var o,i,s=this;return n.__generator(this,(function(n){switch(n.label){case 0:return e.length?(i=o=this.cache[e])?[4,this.isValidCache(o)]:[3,2]:[2,[]];case 1:i=n.sent(),n.label=2;case 2:return i?[2,o]:(this.cache[e]=this.j.async.promise((function(o){var n=new u.SentenceFinder(s.j.o.search.fuzzySearch);t.on("break",(function(){o([])})).on("visit",(function(t){return r.Dom.isText(t)&&n.add(t),!1})).on("end",(function(){var t;o(null!==(t=n.ranges(e))&&void 0!==t?t:[])})).setWork(s.j.editor)})),[2,this.cache[e]])}}))}))},e.prototype.drawSelectionRanges=function(t){var e=this,o=this.j,r=o.async,i=o.createInside,s=o.editor;r.cancelAnimationFrame(this.wrapFrameRequest);var a,c=n.__spreadArray([],n.__read(t),!1),l=0;return r.promise((function(t){var o=function(){do{(a=c.shift())&&(0,u.wrapRangesTextsInTmpSpan)(a,c,i,s),l+=1}while(a&&5>=l);c.length?e.wrapFrameRequest=r.requestAnimationFrame(o):t()};o()}))},e.prototype.onAfterGetValueFromEditor=function(t){t.value=(0,u.clearSelectionWrappersFromHTML)(t.value)},e.prototype.afterInit=function(t){var e=this;if(t.o.useSearch){var o=this;t.e.on("beforeSetMode.search",(function(){e.ui.close()})).on(this.ui,"afterClose",(function(){(0,u.clearSelectionWrappers)(t.editor),e.ui.currentIndex=0,e.ui.count=0,e.cache={}})).on("click",(function(){e.ui.currentIndex=0,(0,u.clearSelectionWrappers)(t.editor)})).on("change.search",(function(){e.cache={}})).on("keydown.search mousedown.search",t.async.debounce((function(){e.ui.selInfo&&(t.s.removeMarkers(),e.ui.selInfo=null),e.ui.isOpened&&e.updateCounters()}),t.defaultTimeout)).on("searchNext.search searchPrevious.search",(function(){return e.ui.isOpened||e.ui.open(),o.findAndSelect(o.ui.query,"searchNext"===t.e.current).catch((function(t){}))})).on("search.search",(function(t,n){return void 0===n&&(n=!0),e.ui.currentIndex=0,o.findAndSelect(t||"",n).catch((function(t){}))})),t.registerCommand("search",{exec:function(t,e,n){return void 0===n&&(n=!0),e&&o.findAndSelect(e,n).catch((function(t){})),!1}}).registerCommand("openSearchDialog",{exec:function(t,e){return o.ui.open(e),!1},hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:function(e,n,r){return t.o.readonly||o.ui.open(n,r,!0),!1},hotkeys:["ctrl+h","cmd+h"]})}},e.prototype.beforeDestruct=function(t){this.ui.destruct(),t.e.off(".search")},n.__decorate([s.cache],e.prototype,"ui",null),n.__decorate([(0,s.watch)("ui:needUpdateCounters")],e.prototype,"updateCounters",null),n.__decorate([(0,s.watch)("ui:pressReplaceButton")],e.prototype,"onPressReplaceButton",null),n.__decorate([s.autobind],e.prototype,"findQueryBounds",null),n.__decorate([s.autobind],e.prototype,"findAndReplace",null),n.__decorate([s.autobind],e.prototype,"findAndSelect",null),n.__decorate([s.autobind],e.prototype,"find",null),n.__decorate([(0,s.watch)(":afterGetValueFromEditor")],e.prototype,"onAfterGetValueFromEditor",null),e}(i.Plugin);e.search=d,l.pluginSystem.add("search",d)},31398:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UISearch=void 0;var n=o(52784);o(52404);var r=o(98440),i=o(16892),s=o(49940),a=o(49940),c=o(51923),l=o(96582),u=function(t){function e(e){var o=t.call(this,e)||this;o.selInfo=null,o._currentIndex=0,o.isOpened=!1;var n=(0,i.refs)(o.container),r=n.replace,s=n.cancel,c=n.next,l=n.prev,u=n.replaceBtn,d=n.current,f=n.count;return o.queryInput=n.query,o.replaceInput=r,o.closeButton=s,o.replaceButton=u,o.currentBox=d,o.countBox=f,e.e.on(o.closeButton,"pointerdown",(function(){return o.close(),!1})).on(o.queryInput,"input",(function(){o.currentIndex=0})).on(o.queryInput,"pointerdown",(function(){e.s.isFocused()&&(e.s.removeMarkers(),o.selInfo=e.s.save())})).on(o.replaceButton,"pointerdown",(function(){return e.e.fire(o,"pressReplaceButton"),!1})).on(c,"pointerdown",(function(){return e.e.fire("searchNext"),!1})).on(l,"pointerdown",(function(){return e.e.fire("searchPrevious"),!1})).on(o.queryInput,"input",(function(){o.setMod("empty-query",!(0,i.trim)(o.queryInput.value).length)})).on(o.queryInput,"keydown",o.j.async.debounce((function(t){t.key===a.KEY_ENTER?(t.preventDefault(),t.stopImmediatePropagation(),e.e.fire("searchNext")&&o.close()):e.e.fire(o,"needUpdateCounters")}),o.j.defaultTimeout)),o}return n.__extends(e,t),e.prototype.className=function(){return"UISearch"},e.prototype.render=function(){return'<div>\n\t\t\t<div class="&__box">\n\t\t\t\t<div class="&__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="~Replace with~" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__counts">\n\t\t\t\t\t<span data-ref="counter-box">\n\t\t\t\t\t\t<span data-ref="current">0</span><span>/</span><span data-ref="count">0</span>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">'.concat(r.Icon.get("angle-down"),'</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">').concat(r.Icon.get("angle-up"),'</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">').concat(r.Icon.get("cancel"),'</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>')},Object.defineProperty(e.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(t){this._currentIndex=t,this.currentBox.innerText=t.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"count",{set:function(t){this.countBox.innerText=t.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"query",{get:function(){return this.queryInput.value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"replace",{get:function(){return this.replaceInput.value},enumerable:!1,configurable:!0}),e.prototype.onEditorKeyDown=function(t){if(this.isOpened){var e=this.j;if(e.getRealMode()===s.MODE_WYSIWYG)switch(t.key){case a.KEY_ESC:this.close();break;case a.KEY_F3:this.queryInput.value&&(e.e.fire(t.shiftKey?"searchPrevious":"searchNext"),t.preventDefault())}}},e.prototype.open=function(t,e,o){void 0===o&&(o=!1),this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",o);var n=null!=t?t:(this.j.s.sel||"").toString();n&&(this.queryInput.value=n),e&&(this.replaceInput.value=e),this.setMod("empty-query",!n.length),this.j.e.fire(this,"needUpdateCounters"),n?this.queryInput.select():this.queryInput.focus()},e.prototype.close=function(){this.isOpened&&(this.j.s.restore(),l.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))},e.prototype.calcSticky=function(t){if(this.isOpened)if(this.setMod("sticky",t),t){var e=(0,i.position)(this.j.toolbarContainer);(0,i.css)(this.container,{top:e.top+e.height,left:e.left+e.width})}else(0,i.css)(this.container,{top:null,left:null})},n.__decorate([(0,c.watch)([":keydown","queryInput:keydown"])],e.prototype,"onEditorKeyDown",null),n.__decorate([c.autobind],e.prototype,"open",null),n.__decorate([c.autobind],e.prototype,"close",null),n.__decorate([(0,c.watch)(":toggleSticky")],e.prototype,"calcSticky",null),n.__decorate([c.component],e)}(r.UIElement);e.UISearch=u},59814:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.tableAllowCellSelection=!0},60145:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.selectCells=void 0;var n=o(52784),r=o(43464),i=o(71910),s=o(12815),a=o(16892),c=o(49940),l=o(51923),u=o(58706);o(59814);var d="table_processor_observer",f="onMoveTableSelectCell",p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.requires=["select"],e.selectedCell=null,e.isSelectionMode=!1,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"module",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),e.prototype.afterInit=function(t){var e=this;t.o.tableAllowCellSelection&&t.e.on("keydown.select-cells",(function(t){t.key===c.KEY_TAB&&e.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((function(t){return t+".select-cells"})).join(" "),this.onStartSelection).on("clickTr clickTbody",(function(){var t,o=e.module.getAllSelectedCells().length;if(o)return o>1&&(null===(t=e.j.s.sel)||void 0===t||t.removeAllRanges()),!1}))},e.prototype.onStartSelection=function(t){if(!this.j.o.readonly&&(this.unselectCells(),t!==this.j.editor)){var e=s.Dom.closest(t,"table",this.j.editor);if(t&&e)return t.firstChild||t.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=t,this.module.addSelection(t),this.j.e.on(e,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,e),{label:f,timeout:this.j.defaultTimeout/2})).on(e,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,e)),!1}},e.prototype.onOutsideClick=function(){this.selectedCell=null,this.onRemoveSelection()},e.prototype.onChange=function(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()},e.prototype.onMove=function(t,e){var o,n=this;if((!this.j.o.readonly||this.j.isLocked)&&!this.j.isLockedNotBy(d)){var r=this.j.ed.elementFromPoint(e.clientX,e.clientY);if(r){var a=s.Dom.closest(r,["td","th"],t);if(a&&this.selectedCell){a!==this.selectedCell&&this.j.lock(d),this.unselectCells();for(var c=i.Table.getSelectedBound(t,[a,this.selectedCell]),l=i.Table.formalMatrix(t),u=c[0][0];c[1][0]>=u;u+=1)for(var f=c[0][1];c[1][1]>=f;f+=1)this.module.addSelection(l[u][f]);var p;this.module.getAllSelectedCells().length>1&&(null===(o=this.j.s.sel)||void 0===o||o.removeAllRanges()),this.j.e.fire("hidePopup"),e.stopPropagation(),p=n.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>'),a.appendChild(p),n.j.async.setTimeout((function(){var t;null===(t=p.parentNode)||void 0===t||t.removeChild(p)}),n.j.defaultTimeout/5)}}}},e.prototype.onRemoveSelection=function(t){var e;if(!(null===(e=null==t?void 0:t.buffer)||void 0===e?void 0:e.actionTrigger)&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null},e.prototype.onStopSelection=function(t,e){var o=this;if(this.selectedCell){this.isSelectionMode=!1,this.j.unlock();var n=this.j.ed.elementFromPoint(e.clientX,e.clientY);if(n){var r=s.Dom.closest(n,["td","th"],t);if(r){var c=s.Dom.closest(r,"table",t);if(!c||c===t){var l=i.Table.getSelectedBound(t,[r,this.selectedCell]),u=i.Table.formalMatrix(t),d=u[l[1][0]][l[1][1]],p=u[l[0][0]][l[0][1]];this.j.e.fire("showPopup",t,(function(){var t=(0,a.position)(p,o.j),e=(0,a.position)(d,o.j);return{left:t.left,top:t.top,width:e.left-t.left+e.width,height:e.top-t.top+e.height}}),"cells"),(0,a.$$)("table",this.j.editor).forEach((function(t){o.j.e.off(t,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(f)}}}}},e.prototype.unselectCells=function(t){var e=this.module,o=e.getAllSelectedCells();o.length&&o.forEach((function(o){t&&t===o||e.removeSelection(o)}))},e.prototype.onExecCommand=function(t){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(t)){t=t.replace("table","");var e=this.module.getAllSelectedCells();if(e.length){var o=n.__read(e,1)[0];if(!o)return;var r=s.Dom.closest(o,"table",this.j.editor);if(!r)return;switch(t){case"splitv":i.Table.splitVertical(r,this.j);break;case"splitg":i.Table.splitHorizontal(r,this.j);break;case"merge":i.Table.mergeSelected(r,this.j);break;case"empty":e.forEach((function(t){return s.Dom.detach(t)}));break;case"bin":s.Dom.safeRemove(r);break;case"binrow":new Set(e.map((function(t){return t.parentNode}))).forEach((function(t){i.Table.removeRow(r,t.rowIndex)}));break;case"bincolumn":var a=new Set;e.reduce((function(t,e){return a.has(e.cellIndex)||(t.push(e),a.add(e.cellIndex)),t}),[]).forEach((function(t){i.Table.removeColumn(r,t.cellIndex)}));break;case"addcolumnafter":case"addcolumnbefore":i.Table.appendColumn(r,o.cellIndex,"addcolumnafter"===t,this.j.createInside);break;case"addrowafter":case"addrowbefore":i.Table.appendRow(r,o.parentNode,"addrowafter"===t,this.j.createInside)}}return!1}},e.prototype.onAfterCommand=function(t){/^justify/.test(t)&&this.module.getAllSelectedCells().forEach((function(e){return(0,a.alignElement)(t,e)}))},e.prototype.beforeDestruct=function(t){this.onRemoveSelection(),t.e.off(".select-cells")},n.__decorate([l.autobind],e.prototype,"onStartSelection",null),n.__decorate([(0,l.watch)(":outsideClick")],e.prototype,"onOutsideClick",null),n.__decorate([(0,l.watch)(":change")],e.prototype,"onChange",null),n.__decorate([l.autobind],e.prototype,"onRemoveSelection",null),n.__decorate([l.autobind],e.prototype,"onStopSelection",null),n.__decorate([l.autobind],e.prototype,"onExecCommand",null),n.__decorate([l.autobind],e.prototype,"onAfterCommand",null),e}(r.Plugin);e.selectCells=p,u.pluginSystem.add("selectCells",p)},35326:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1}},66064:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.select=void 0;var n=o(52784),r=o(43464),i=o(51923),s=o(83479),a=o(12815),c=o(98440),l=o(58706);o(35326);var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"],e}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;this.proxyEventsList.forEach((function(o){t.e.on(o+".select",e.onStartSelection)}))},e.prototype.beforeDestruct=function(t){var e=this;this.proxyEventsList.forEach((function(o){t.e.on(o+".select",e.onStartSelection)}))},e.prototype.onStartSelection=function(t){for(var e,o=this.j,n=t.target;void 0===e&&n&&n!==o.editor;)e=o.e.fire((0,s.camelCase)(t.type+"_"+n.nodeName.toLowerCase()),n,t),n=n.parentElement;"click"===t.type&&void 0===e&&n===o.editor&&o.e.fire(t.type+"Editor",n,t)},e.prototype.onOutsideClick=function(t){var e=this,o=t.target;a.Dom.up(o,(function(t){return t===e.j.editor}))||c.UIElement.closestElement(o,c.Popup)||this.j.e.fire("outsideClick",t)},e.prototype.beforeCommandCut=function(t){var e=this.j.s;if("cut"===t&&!e.isCollapsed()){var o=e.current();o&&a.Dom.isOrContains(this.j.editor,o)&&this.onCopyNormalizeSelectionBound()}},e.prototype.onCopyNormalizeSelectionBound=function(t){var e=this.j,o=e.editor;e.o.select.normalizeSelectionBeforeCutAndCopy&&!e.s.isCollapsed()&&(!t||t.isTrusted&&a.Dom.isNode(t.target)&&a.Dom.isOrContains(o,t.target))&&this.jodit.s.expandSelection()},n.__decorate([i.autobind],e.prototype,"onStartSelection",null),n.__decorate([(0,i.watch)("ow:click")],e.prototype,"onOutsideClick",null),n.__decorate([(0,i.watch)([":beforeCommand"])],e.prototype,"beforeCommandCut",null),n.__decorate([(0,i.watch)([":copy",":cut"])],e.prototype,"onCopyNormalizeSelectionBound",null),e}(r.Plugin);e.select=u,l.pluginSystem.add("select",u)},11744:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.minWidth=200,n.Config.prototype.maxWidth="100%",n.Config.prototype.minHeight=200,n.Config.prototype.maxHeight="auto",n.Config.prototype.saveHeightInStorage=!1},9427:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.size=void 0;var n=o(52784);o(32052);var r=o(16892),i=o(36894),s=o(51923),a=o(58706);o(11744);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.resizeWorkspaces=e.j.async.debounce(e.resizeWorkspaceImd,e.j.defaultTimeout,!0),e}return n.__extends(e,t),e.prototype.afterInit=function(t){t.e.on("setHeight.size",this.setHeight).on("setWidth.size",this.setWidth).on("afterInit.size changePlace.size",this.initialize,{top:!0}).on(t.ow,"load.size",this.resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.resizeWorkspaceImd),this.initialize()},e.prototype.initialize=function(){var t=this.j;if(!t.o.inline){var e=t.o.height;if(t.o.saveHeightInStorage&&"auto"!==e){var o=t.storage.get("height");o&&(e=o)}(0,r.css)(t.editor,{minHeight:"100%"}),(0,r.css)(t.container,{minHeight:t.o.minHeight,maxHeight:t.o.maxHeight,minWidth:t.o.minWidth,maxWidth:t.o.maxWidth}),this.setHeight(e),this.setWidth(t.o.width)}},e.prototype.setHeight=function(t){if((0,r.isNumber)(t)){var e=this.j.o,o=e.minHeight,n=e.maxHeight;(0,r.isNumber)(o)&&o>t&&(t=o),(0,r.isNumber)(n)&&t>n&&(t=n)}(0,r.css)(this.j.container,"height",t),this.j.o.saveHeightInStorage&&this.j.storage.set("height",t),this.resizeWorkspaceImd()},e.prototype.setWidth=function(t){if((0,r.isNumber)(t)){var e=this.j.o,o=e.minWidth,n=e.maxWidth;(0,r.isNumber)(o)&&o>t&&(t=o),(0,r.isNumber)(n)&&t>n&&(t=n)}(0,r.css)(this.j.container,"width",t),this.resizeWorkspaceImd()},e.prototype.getNotWorkHeight=function(){var t,e;return((null===(t=this.j.toolbarContainer)||void 0===t?void 0:t.offsetHeight)||0)+((null===(e=this.j.statusbar)||void 0===e?void 0:e.getHeight())||0)+2},e.prototype.resizeWorkspaceImd=function(){if(this.j&&!this.j.isDestructed&&this.j.o&&!this.j.o.inline&&this.j.container&&this.j.container.parentNode){var t=((0,r.css)(this.j.container,"minHeight")||0)-this.getNotWorkHeight();if((0,r.isNumber)(t)&&t>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((function(e){e&&(0,r.css)(e,"minHeight",t)})),this.j.e.fire("setMinHeight",t)),(0,r.isNumber)(this.j.o.maxHeight)){var e=this.j.o.maxHeight-this.getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((function(t){t&&(0,r.css)(t,"maxHeight",e)})),this.j.e.fire("setMaxHeight",e)}this.j.container&&(0,r.css)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.getNotWorkHeight():"auto")}},e.prototype.beforeDestruct=function(t){t.e.off(t.ow,"load.size",this.resizeWorkspaces).off(".size")},n.__decorate([s.autobind],e.prototype,"resizeWorkspaceImd",null),n.__decorate([s.autobind],e)}(i.Plugin);e.size=c,a.pluginSystem.add("size",c)},39983:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(49940),i=o(74259);n.Config.prototype.beautifyHTML=!r.IS_IE,n.Config.prototype.sourceEditor="ace",n.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},n.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],n.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],i.Icon.set("source",o(88858)),n.Config.prototype.controls.source={mode:r.MODE_SPLIT,exec:function(t){t.toggleMode()},isActive:function(t){return t.getRealMode()===r.MODE_SOURCE},tooltip:"Change mode"}},63671:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AceEditor=void 0;var n=o(52784),r=o(49940),i=o(16892),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.className="jodit_ace_editor",e.proxyOnBlur=function(t){e.j.e.fire("blur",t)},e.proxyOnFocus=function(t){e.j.e.fire("focus",t)},e.proxyOnMouseDown=function(t){e.j.e.fire("mousedown",t)},e}return n.__extends(e,t),e.prototype.aceExists=function(){return void 0!==this.j.ow.ace},e.prototype.getLastColumnIndex=function(t){return this.instance.session.getLine(t).length},e.prototype.getLastColumnIndices=function(){for(var t=this.instance.session.getLength(),e=[],o=0,n=0;t>n;n++)o+=this.getLastColumnIndex(n),n>0&&(o+=1),e[n]=o;return e},e.prototype.getRowColumnIndices=function(t){var e=this.getLastColumnIndices();if(e[0]>=t)return{row:0,column:t};for(var o=1,n=1;e.length>n;n++)t>e[n]&&(o=n+1);return{row:o,column:t-e[o-1]-1}},e.prototype.setSelectionRangeIndices=function(t,e){var o=this.getRowColumnIndices(t),n=this.getRowColumnIndices(e);this.instance.getSelection().setSelectionRange({start:o,end:n})},e.prototype.getIndexByRowColumn=function(t,e){return this.getLastColumnIndices()[t]-this.getLastColumnIndex(t)+e},e.prototype.init=function(t){var e=this,o=function(){if(void 0===e.instance&&e.aceExists()){var o=e.j.c.div("jodit-source__mirror-fake");e.container.appendChild(o),e.instance=t.ow.ace.edit(o),e.instance.setTheme(t.o.sourceEditorNativeOptions.theme),e.instance.renderer.setShowGutter(t.o.sourceEditorNativeOptions.showGutter),e.instance.getSession().setMode(t.o.sourceEditorNativeOptions.mode),e.instance.setHighlightActiveLine(t.o.sourceEditorNativeOptions.highlightActiveLine),e.instance.getSession().setUseWrapMode(!0),e.instance.setOption("indentedSoftWrap",!1),e.instance.setOption("wrap",t.o.sourceEditorNativeOptions.wrap),e.instance.getSession().setUseWorker(!1),e.instance.$blockScrolling=1/0,e.instance.on("change",e.toWYSIWYG),e.instance.on("focus",e.proxyOnFocus),e.instance.on("mousedown",e.proxyOnMouseDown),e.instance.on("blur",e.proxyOnBlur),t.getRealMode()!==r.MODE_WYSIWYG&&e.setValue(e.getValue());var n=e.j.async.debounce((function(){t.isInDestruct||(e.instance.setOption("maxLines","auto"!==t.o.height?t.workplace.offsetHeight/e.instance.renderer.lineHeight:1/0),e.instance.resize())}),2*e.j.defaultTimeout);t.e.on("afterResize afterSetMode",n),n(),e.onReady()}};t.e.on("afterSetMode",(function(){t.getRealMode()!==r.MODE_SOURCE&&t.getMode()!==r.MODE_SPLIT||(e.fromWYSIWYG(),o())})),o(),this.aceExists()||(0,i.loadNext)(t,t.o.sourceEditorCDNUrlsJS).then((function(){t.isInDestruct||o()})).catch((function(){return null}))},e.prototype.destruct=function(){var t,e;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(e=null===(t=this.j)||void 0===t?void 0:t.events)||void 0===e||e.off("aceInited.source")},e.prototype.setValue=function(t){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var e=this.j.e.fire("beautifyHTML",t);(0,i.isString)(e)&&(t=e)}this.instance.setValue(t),this.instance.clearSelection()},e.prototype.getValue=function(){return this.instance.getValue()},e.prototype.setReadOnly=function(t){this.instance.setReadOnly(t)},Object.defineProperty(e.prototype,"isFocused",{get:function(){return this.instance.isFocused()},enumerable:!1,configurable:!0}),e.prototype.focus=function(){this.instance.focus()},e.prototype.blur=function(){this.instance.blur()},e.prototype.getSelectionStart=function(){var t=this.instance.selection.getRange();return this.getIndexByRowColumn(t.start.row,t.start.column)},e.prototype.getSelectionEnd=function(){var t=this.instance.selection.getRange();return this.getIndexByRowColumn(t.end.row,t.end.column)},e.prototype.selectAll=function(){this.instance.selection.selectAll()},e.prototype.insertRaw=function(t){var e=this.instance.selection.getCursor(),o=this.instance.session.insert(e,t);this.instance.selection.setRange({start:e,end:o},!1)},e.prototype.setSelectionRange=function(t,e){this.setSelectionRangeIndices(t,e)},e.prototype.setPlaceHolder=function(t){},e.prototype.replaceUndoManager=function(){var t=this.jodit.history;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec:function(){t.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec:function(){t.redo()}})},e}(o(79770).SourceEditor);e.AceEditor=s},35449:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextAreaEditor=void 0;var n=o(52784),r=o(21714),i=o(12815),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.autosize=e.j.async.debounce((function(){e.instance.style.height="auto",e.instance.style.height=e.instance.scrollHeight+"px"}),e.j.defaultTimeout),e}return n.__extends(e,t),e.prototype.init=function(t){var e=this;this.instance=t.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),t.e.on(this.instance,"mousedown keydown touchstart input",t.async.debounce(this.toWYSIWYG,t.defaultTimeout)).on("setMinHeight.source",(function(t){(0,r.css)(e.instance,"minHeight",t)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(function(e){t.e.fire(e.type,e)})),this.autosize(),this.onReady()},e.prototype.destruct=function(){i.Dom.safeRemove(this.instance)},e.prototype.getValue=function(){return this.instance.value},e.prototype.setValue=function(t){this.instance.value=t},e.prototype.insertRaw=function(t){var e=this.getValue();if(0>this.getSelectionStart())this.setValue(e+t);else{var o=this.getSelectionStart(),n=this.getSelectionEnd();this.setValue(e.substring(0,o)+t+e.substring(n,e.length))}},e.prototype.getSelectionStart=function(){return this.instance.selectionStart},e.prototype.getSelectionEnd=function(){return this.instance.selectionEnd},e.prototype.setSelectionRange=function(t,e){void 0===e&&(e=t),this.instance.setSelectionRange(t,e)},Object.defineProperty(e.prototype,"isFocused",{get:function(){return this.instance===this.j.od.activeElement},enumerable:!1,configurable:!0}),e.prototype.focus=function(){this.instance.focus()},e.prototype.blur=function(){this.instance.blur()},e.prototype.setPlaceHolder=function(t){this.instance.setAttribute("placeholder",t)},e.prototype.setReadOnly=function(t){t?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")},e.prototype.selectAll=function(){this.instance.select()},e.prototype.replaceUndoManager=function(){var t=this,e=this.jodit.history;this.j.e.on(this.instance,"keydown",(function(o){if((o.ctrlKey||o.metaKey)&&"z"===o.key)return o.shiftKey?e.redo():e.undo(),t.setSelectionRange(t.getValue().length),!1}))},e}(o(79770).SourceEditor);e.TextAreaEditor=s},51628:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(35449),e),n.__exportStar(o(63671),e)},73443:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSourceEditor=void 0;var n=o(16892),r=o(51628);e.createSourceEditor=function(t,e,o,i,s){var a;if((0,n.isFunction)(t))a=t(e);else switch(t){case"ace":if(!e.o.shadowRoot){a=new r.AceEditor(e,o,i,s);break}default:a=new r.TextAreaEditor(e,o,i,s)}return a.init(e),a.onReadyAlways((function(){a.setReadOnly(e.o.readonly)})),a}},79770:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SourceEditor=void 0;var o=function(){function t(t,e,o,n){this.jodit=t,this.container=e,this.toWYSIWYG=o,this.fromWYSIWYG=n,this.className="",this.isReady=!1}return Object.defineProperty(t.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),t.prototype.onReady=function(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")},t.prototype.onReadyAlways=function(t){var e;this.isReady?t():null===(e=this.j.events)||void 0===e||e.on(this,"ready",t)},t}();e.SourceEditor=o},15834:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.source=void 0;var n=o(52784);o(76069);var r=o(49940),i=o(49940),s=o(43464),a=o(12815),c=o(16892),l=o(51923),u=o(58706),d=o(73443);o(39983);var f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttons=[{name:"source",group:"source"}],e.__lock=!1,e.__oldMirrorValue="",e.tempMarkerStart="{start-jodit-selection}",e.tempMarkerStartReg=/{start-jodit-selection}/g,e.tempMarkerEnd="{end-jodit-selection}",e.tempMarkerEndReg=/{end-jodit-selection}/g,e.getSelectionStart=function(){var t,o;return null!==(o=null===(t=e.sourceEditor)||void 0===t?void 0:t.getSelectionStart())&&void 0!==o?o:0},e.getSelectionEnd=function(){var t,o;return null!==(o=null===(t=e.sourceEditor)||void 0===t?void 0:t.getSelectionEnd())&&void 0!==o?o:0},e}return n.__extends(e,t),e.prototype.onInsertHTML=function(t){var e;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(e=this.sourceEditor)||void 0===e||e.insertRaw(t),this.toWYSIWYG(),!1},e.prototype.fromWYSIWYG=function(t){if(void 0===t&&(t=!1),!this.__lock||!0===t){this.__lock=!0;var e=this.j.getEditorValue(!1,i.SOURCE_CONSUMER);e!==this.getMirrorValue()&&this.setMirrorValue(e),this.__lock=!1}},e.prototype.toWYSIWYG=function(){if(!this.__lock){var t=this.getMirrorValue();t!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=t,this.__lock=!1,this.__oldMirrorValue=t)}},e.prototype.getNormalPosition=function(t,e){for(e=e.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(function(t){for(var e="",o=0;t.length>o;o+=1)e+=i.INVISIBLE_SPACE;return e}));t>0&&e[t]===i.INVISIBLE_SPACE;)t--;for(var o=t;o>0;){if("<"===e[--o]&&void 0!==e[o+1]&&e[o+1].match(/[\w/]+/i))return o;if(">"===e[o])return t}return t},e.prototype.clnInv=function(t){return t.replace(r.INVISIBLE_SPACE_REG_EXP(),"")},e.prototype.onSelectAll=function(t){var e;if("selectall"===t.toLowerCase()&&this.j.getRealMode()===i.MODE_SOURCE)return null===(e=this.sourceEditor)||void 0===e||e.selectAll(),!1},e.prototype.getMirrorValue=function(){var t;return(null===(t=this.sourceEditor)||void 0===t?void 0:t.getValue())||""},e.prototype.setMirrorValue=function(t){var e;null===(e=this.sourceEditor)||void 0===e||e.setValue(t)},e.prototype.setFocusToMirror=function(){var t;null===(t=this.sourceEditor)||void 0===t||t.focus()},e.prototype.saveSelection=function(){if(this.j.getRealMode()===r.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;var t=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){var e=this.j.s.marker(!0),o=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(t.substring(0,o)+this.clnInv(e.outerHTML)+t.substring(o))}else{var n=this.j.s.marker(!0),i=this.j.s.marker(!1),s=(o=this.getNormalPosition(this.getSelectionStart(),t),this.getNormalPosition(this.getSelectionEnd(),t));this.setMirrorValue(t.substring(0,o)+this.clnInv(n.outerHTML)+t.substring(o,s-o)+this.clnInv(i.outerHTML)+t.substring(s))}this.toWYSIWYG()}},e.prototype.removeSelection=function(){if(this.j.getRealMode()===r.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);var t=this.getMirrorValue(),e=0,o=0;try{if(t=t.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var n=this.j.e.fire("beautifyHTML",t);(0,c.isString)(n)&&(t=n)}if(o=e=t.indexOf(this.tempMarkerStart),t=t.replace(this.tempMarkerStartReg,""),-1!==e){var i=t.indexOf(this.tempMarkerEnd);-1!==i&&(o=i)}t=t.replace(this.tempMarkerEndReg,"")}finally{t=t.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(t),this.setMirrorSelectionRange(e,o),this.toWYSIWYG(),this.setFocusToMirror()},e.prototype.setMirrorSelectionRange=function(t,e){var o;null===(o=this.sourceEditor)||void 0===o||o.setSelectionRange(t,e)},e.prototype.onReadonlyReact=function(){var t;null===(t=this.sourceEditor)||void 0===t||t.setReadOnly(this.j.o.readonly)},e.prototype.afterInit=function(t){var e=this;if(this.mirrorContainer=t.c.div("jodit-source"),t.workplace.appendChild(this.mirrorContainer),t.e.on("afterAddPlace changePlace afterInit",(function(){t.workplace.appendChild(e.mirrorContainer)})),this.sourceEditor=(0,d.createSourceEditor)("area",t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),t.e.on(t.ow,"keydown",(function(t){var o;t.key===i.KEY_ESC&&(null===(o=e.sourceEditor)||void 0===o?void 0:o.isFocused)&&e.sourceEditor.blur()})),this.onReadonlyReact(),t.e.on("placeholder.source",(function(t){var o;null===(o=e.sourceEditor)||void 0===o||o.setPlaceHolder(t)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(function(t){return t})),t.o.beautifyHTML){var o=function(){var e,o=t.ow.html_beautify;return!(!o||t.isInDestruct||(null===(e=t.events)||void 0===e||e.off("beautifyHTML").on("beautifyHTML",(function(t){return o(t)})),0))};o()||(0,c.loadNext)(t,t.o.beautifyHTMLCDNUrlsJS).then(o)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(t)},e.prototype.syncValueFromWYSIWYG=function(t){void 0===t&&(t=!1);var e=this.j;e.getMode()!==i.MODE_SPLIT&&e.getMode()!==i.MODE_SOURCE||this.fromWYSIWYG(t)},e.prototype.initSourceEditor=function(t){var e,o=this;if("area"!==t.o.sourceEditor){var n=(0,d.createSourceEditor)(t.o.sourceEditor,t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);n.onReadyAlways((function(){var e,r;null===(e=o.sourceEditor)||void 0===e||e.destruct(),o.sourceEditor=n,o.syncValueFromWYSIWYG(!0),null===(r=t.events)||void 0===r||r.fire("sourceEditorReady",t)}))}else null===(e=this.sourceEditor)||void 0===e||e.onReadyAlways((function(){var e;o.syncValueFromWYSIWYG(!0),null===(e=t.events)||void 0===e||e.fire("sourceEditorReady",t)}))},e.prototype.beforeDestruct=function(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),a.Dom.safeRemove(this.mirrorContainer)},n.__decorate([(0,l.watch)(":insertHTML.source")],e.prototype,"onInsertHTML",null),n.__decorate([l.autobind],e.prototype,"fromWYSIWYG",null),n.__decorate([l.autobind],e.prototype,"toWYSIWYG",null),n.__decorate([l.autobind],e.prototype,"getNormalPosition",null),n.__decorate([(0,l.watch)(":beforeCommand.source")],e.prototype,"onSelectAll",null),n.__decorate([(0,l.watch)(":beforeSetMode.source")],e.prototype,"saveSelection",null),n.__decorate([(0,l.watch)(":afterSetMode.source")],e.prototype,"removeSelection",null),n.__decorate([l.autobind],e.prototype,"setMirrorSelectionRange",null),n.__decorate([(0,l.watch)(":readonly.source")],e.prototype,"onReadonlyReact",null),n.__decorate([l.autobind],e.prototype,"syncValueFromWYSIWYG",null),e}(s.Plugin);e.source=f,u.pluginSystem.add("source",f)},38172:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.spellcheck=!1,r.Icon.set("spellcheck",o(16054)),n.Config.prototype.controls.spellcheck={isActive:function(t){return t.o.spellcheck},icon:o(16054),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},57395:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zh_tw=e.zh_cn=e.tr=e.ru=e.pt_br=e.pl=e.nl=e.ko=e.ja=e.it=e.id=e.hu=e.he=e.fr=e.fa=e.es=e.de=e.cs_cz=e.ar=void 0;var n=o(97871);e.ar=n;var r=o(30689);e.cs_cz=r;var i=o(80242);e.de=i;var s=o(18338);e.es=s;var a=o(30402);e.fa=a;var c=o(64941);e.fr=c;var l=o(58543);e.he=l;var u=o(63504);e.hu=u;var d=o(44927);e.id=d;var f=o(79211);e.it=f;var p=o(8903);e.ja=p;var h=o(68537);e.ko=h;var v=o(91597);e.nl=v;var m=o(52608);e.pl=m;var g=o(51529);e.pt_br=g;var y=o(72924);e.ru=y;var _=o(19366);e.tr=_;var b=o(54398);e.zh_cn=b;var w=o(84052);e.zh_tw=w},21056:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spellcheck=void 0;var n=o(52784),r=o(43464),i=o(89437),s=o(51923),a=o(58706);o(38172);var c=function(t){function e(e){var n=t.call(this,e)||this;return n.buttons=[{group:"state",name:"spellcheck"}],(0,a.extendLang)(o(57395)),n}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;t.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),t.registerCommand("toggleSpellcheck",(function(){e.jodit.o.spellcheck=!e.jodit.o.spellcheck,e.toggleSpellcheck(),e.j.e.fire("updateToolbar")}))},e.prototype.toggleSpellcheck=function(){(0,i.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)},e.prototype.beforeDestruct=function(t){},n.__decorate([s.autobind],e.prototype,"toggleSpellcheck",null),e}(r.Plugin);e.spellcheck=c,a.pluginSystem.add("spellcheck",c)},20008:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.showCharsCounter=!0,n.Config.prototype.countHTMLChars=!1,n.Config.prototype.showWordsCounter=!0},59127:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stat=void 0;var n=o(52784),r=o(49940),i=o(36894),s=o(12815),a=o(58706);o(20008);var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.charCounter=null,e.wordCounter=null,e.reInit=function(){e.j.o.showCharsCounter&&e.charCounter&&e.j.statusbar.append(e.charCounter,!0),e.j.o.showWordsCounter&&e.wordCounter&&e.j.statusbar.append(e.wordCounter,!0),e.j.e.off("change keyup",e.calc).on("change keyup",e.calc),e.calc()},e.calc=e.j.async.throttle((function(){var t=e.j.text;if(e.j.o.showCharsCounter&&e.charCounter){var o=e.j.o.countHTMLChars?e.j.value:t.replace((0,r.SPACE_REG_EXP)(),"");e.charCounter.textContent=e.j.i18n("Chars: %d",o.length)}e.j.o.showWordsCounter&&e.wordCounter&&(e.wordCounter.textContent=e.j.i18n("Words: %d",t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").split((0,r.SPACE_REG_EXP)()).filter((function(t){return t.length})).length))}),e.j.defaultTimeout),e}return n.__extends(e,t),e.prototype.afterInit=function(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()},e.prototype.beforeDestruct=function(){s.Dom.safeRemove(this.charCounter),s.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null},e}(i.Plugin);e.stat=c,a.pluginSystem.add("stat",c)},3112:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733);n.Config.prototype.toolbarSticky=!0,n.Config.prototype.toolbarDisableStickyForMobile=!0,n.Config.prototype.toolbarStickyOffset=0},77518:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sticky=void 0;var n=o(52784);o(96578);var r=o(49940),i=o(36894),s=o(12815),a=o(16892),c=o(51923),l=o(58706);o(3112);var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isToolbarSticked=!1,e.createDummy=function(t){r.IS_IE&&!e.dummyBox&&(e.dummyBox=e.j.c.div(),e.dummyBox.classList.add("jodit_sticky-dummy_toolbar"),e.j.container.insertBefore(e.dummyBox,t))},e.addSticky=function(t){e.isToolbarSticked||(e.createDummy(t),e.j.container.classList.add("jodit_sticky"),e.isToolbarSticked=!0),(0,a.css)(t,{top:e.j.o.toolbarStickyOffset||null,width:e.j.container.offsetWidth-2}),r.IS_IE&&e.dummyBox&&(0,a.css)(e.dummyBox,{height:t.offsetHeight})},e.removeSticky=function(t){e.isToolbarSticked&&((0,a.css)(t,{width:"",top:""}),e.j.container.classList.remove("jodit_sticky"),e.isToolbarSticked=!1)},e}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;t.e.on(t.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",(function(){return e.isToolbarSticked}))},e.prototype.onScroll=function(){var t=this.jodit,e=t.ow.pageYOffset||t.od.documentElement&&t.od.documentElement.scrollTop||0,o=(0,a.offset)(t.container,t,t.od,!0),n=t.getMode()===r.MODE_WYSIWYG&&e+t.o.toolbarStickyOffset>o.top&&o.top+o.height>e+t.o.toolbarStickyOffset&&!(t.o.toolbarDisableStickyForMobile&&this.isMobile());if(t.o.toolbarSticky&&!0===t.o.toolbar&&this.isToolbarSticked!==n){var i=t.toolbarContainer;i&&(n?this.addSticky(i):this.removeSticky(i)),t.e.fire("toggleSticky",n)}},e.prototype.isMobile=function(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth},e.prototype.beforeDestruct=function(t){this.dummyBox&&s.Dom.safeRemove(this.dummyBox),t.e.off(t.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")},n.__decorate([(0,c.throttle)()],e.prototype,"onScroll",null),e}(i.Plugin);e.sticky=u,l.pluginSystem.add("sticky",u)},69325:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.usePopupForSpecialCharacters=!1,n.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],r.Icon.set("symbols",o(41087)),n.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:function(t,e,o,n){var r=t.e.fire("generateSpecialCharactersTable.symbols");if(r){if(t.o.usePopupForSpecialCharacters){var i=t.c.div();return i.classList.add("jodit-symbols"),i.appendChild(r),t.e.on(r,"close_dialog",n),i}t.alert(r,"Select Special Character",void 0,"jodit-symbols").bindDestruct(t);var s=r.querySelector("a");s&&s.focus()}}}},89447:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zh_tw=e.zh_cn=e.tr=e.ru=e.pt_br=e.pl=e.nl=e.ko=e.ja=e.it=e.id=e.hu=e.he=e.fr=e.fa=e.es=e.de=e.cs_cz=e.ar=void 0;var n=o(54942);e.ar=n;var r=o(91982);e.cs_cz=r;var i=o(67793);e.de=i;var s=o(73246);e.es=s;var a=o(83233);e.fa=a;var c=o(40695);e.fr=c;var l=o(18732);e.he=l;var u=o(14389);e.hu=u;var d=o(49571);e.id=d;var f=o(59462);e.it=f;var p=o(53146);e.ja=p;var h=o(70124);e.ko=h;var v=o(62202);e.nl=v;var m=o(56803);e.pl=m;var g=o(17431);e.pt_br=g;var y=o(14556);e.ru=y;var _=o(87539);e.tr=_;var b=o(34929);e.zh_cn=b;var w=o(47996);e.zh_tw=w},4702:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.symbols=void 0;var n=o(52784);o(24305);var r=o(49940),i=o(36894),s=o(12815),a=o(93772),c=o(58706);o(69325);var l=function(t){function e(e){var n=t.call(this,e)||this;return n.buttons=[{name:"symbols",group:"insert"}],n.countInRow=17,(0,c.extendLang)(o(89447)),n}return n.__extends(e,t),e.prototype.afterInit=function(t){var e=this;t.e.on("generateSpecialCharactersTable.symbols",(function(){for(var o=t.c.fromHTML('<div class="jodit-symbols__container">\n\t\t\t\t\t\t<div class="jodit-symbols__container_table">\n\t\t\t\t\t\t\t<table class="jodit-symbols__table"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="jodit-symbols__container_preview">\n\t\t\t\t\t\t\t<div class="jodit-symbols__preview"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'),n=o.querySelector(".jodit-symbols__preview"),i=o.querySelector("table").tBodies[0],c=[],l=0;t.o.specialCharacters.length>l;){for(var u=t.c.element("tr"),d=0;e.countInRow>d&&t.o.specialCharacters.length>l;d+=1,l+=1){var f=t.c.element("td"),p=t.c.fromHTML('<a\n\t\t\t\t\t\t\t\t\tdata-index="'.concat(l,'"\n\t\t\t\t\t\t\t\t\tdata-index-j="').concat(d,'"\n\t\t\t\t\t\t\t\t\trole="option"\n\t\t\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\t\t>').concat(t.o.specialCharacters[l],"</a>"));c.push(p),f.appendChild(p),u.appendChild(f)}i.appendChild(u)}var h=e;return t.e.on(c,"focus",(function(){n.innerHTML=this.innerHTML})).on(c,"mousedown",(function(e){s.Dom.isTag(this,"a")&&(t.s.focus(),t.s.insertHTML(this.innerHTML),t.e.fire(this,"close_dialog"),e&&e.preventDefault(),e&&e.stopImmediatePropagation())})).on(c,"mouseenter",(function(){s.Dom.isTag(this,"a")&&this.focus()})).on(c,"keydown",(function(e){var o=e.target;if(s.Dom.isTag(o,"a")){var n=parseInt((0,a.attr)(o,"-index")||"0",10),i=parseInt((0,a.attr)(o,"data-index-j")||"0",10),l=void 0;switch(e.key){case r.KEY_UP:case r.KEY_DOWN:void 0===c[l=e.key===r.KEY_UP?n-h.countInRow:n+h.countInRow]&&(l=e.key===r.KEY_UP?Math.floor(c.length/h.countInRow)*h.countInRow+i:i)>c.length-1&&(l-=h.countInRow),c[l]&&c[l].focus();break;case r.KEY_RIGHT:case r.KEY_LEFT:void 0===c[l=e.key===r.KEY_LEFT?n-1:n+1]&&(l=e.key===r.KEY_LEFT?c.length-1:0),c[l]&&c[l].focus();break;case r.KEY_ENTER:t.e.fire(o,"mousedown"),e.stopImmediatePropagation(),e.preventDefault()}}})),o}))},e.prototype.beforeDestruct=function(t){t.e.off("generateSpecialCharactersTable.symbols")},e}(i.Plugin);e.symbols=l,c.pluginSystem.add("symbols",l)},17097:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(52784).__exportStar(o(72461),e)},72461:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.onTabInsideLi=void 0;var n=o(12815);e.onTabInsideLi=function(t){if(!t.o.tab.tabInsideLiInsertNewList||!t.s.isCollapsed())return!1;var e=t.createInside.fake();t.s.insertNode(e);var o=n.Dom.closest(e,"li",t.editor);if(o&&t.s.cursorOnTheLeft(o)&&n.Dom.isTag(o.previousElementSibling,"li")){var r=n.Dom.closest(o,["ol","ul"],t.editor);if(r){var i=t.createInside.element(r.tagName),s=o.previousElementSibling;return i.appendChild(o),s.appendChild(i),t.s.setCursorAfter(e),n.Dom.safeRemove(e),!0}}return n.Dom.safeRemove(e),!1}},80803:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.tab={tabInsideLiInsertNewList:!0}},5280:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784),r=o(43464),i=o(51923),s=o(49940),a=o(58706),c=o(17097);o(80803);var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.afterInit=function(t){},e.prototype.onTab=function(t){if(t.key===s.KEY_TAB&&(0,c.onTabInsideLi)(this.j))return!1},e.prototype.beforeDestruct=function(t){},n.__decorate([(0,i.watch)(":keydown.tab")],e.prototype,"onTab",null),e}(r.Plugin);a.pluginSystem.add("tab",l)},15126:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tableKeyboardNavigation=void 0;var n=o(49940),r=o(12815),i=o(91980),s=o(58706);function a(t){t.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(function(e){var o,s;if((e.key===n.KEY_TAB||e.key===n.KEY_LEFT||e.key===n.KEY_RIGHT||e.key===n.KEY_UP||e.key===n.KEY_DOWN)&&(o=t.s.current(),s=r.Dom.up(o,(function(t){return t&&t.nodeName&&/^td|th$/i.test(t.nodeName)}),t.editor))){var a=t.s.range;if(e.key===n.KEY_TAB||o===s||(e.key!==n.KEY_LEFT&&e.key!==n.KEY_UP||!(r.Dom.prev(o,(function(t){return e.key===n.KEY_UP?r.Dom.isTag(t,"br"):Boolean(t)}),s)||e.key!==n.KEY_UP&&r.Dom.isText(o)&&0!==a.startOffset))&&(e.key!==n.KEY_RIGHT&&e.key!==n.KEY_DOWN||!(r.Dom.next(o,(function(t){return e.key===n.KEY_DOWN?r.Dom.isTag(t,"br"):Boolean(t)}),s)||e.key!==n.KEY_DOWN&&r.Dom.isText(o)&&o.nodeValue&&a.startOffset!==o.nodeValue.length))){var c=r.Dom.up(s,(function(t){return t&&/^table$/i.test(t.nodeName)}),t.editor),l=null;switch(e.key){case n.KEY_TAB:case n.KEY_LEFT:var u=e.key===n.KEY_LEFT||e.shiftKey?"prev":"next";(l=r.Dom[u](s,(function(t){return t&&/^td|th$/i.test(t.tagName)}),c))||(i.Table.appendRow(c,"next"!==u&&c.querySelector("tr"),"next"===u,t.createInside),l=r.Dom[u](s,r.Dom.isCell,c));break;case n.KEY_UP:case n.KEY_DOWN:var d=0,f=0,p=i.Table.formalMatrix(c,(function(t,e,o){t===s&&(d=e,f=o)}));e.key===n.KEY_UP?void 0!==p[d-1]&&(l=p[d-1][f]):void 0!==p[d+1]&&(l=p[d+1][f])}if(l){if(l.firstChild)e.key===n.KEY_TAB?t.s.select(l,!0):t.s.setCursorIn(l,e.key===n.KEY_RIGHT||e.key===n.KEY_DOWN);else{var h=t.createInside.element("br");l.appendChild(h),t.s.setCursorBefore(h)}return!1}}}}))}e.tableKeyboardNavigation=a,s.pluginSystem.add("tableKeyboardNavigation",a)},951:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(96582),i=o(93772),s=o(16892),a=o(74259);n.Config.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},a.Icon.set("table",o(46430)),n.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:function(t,e,o,n,a){for(var c=o.data&&o.data.rows?o.data.rows:10,l=o.data&&o.data.cols?o.data.cols:10,u=t.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+function(){if(!t.o.table.useExtraClassesOptions)return"";var e=[];if(o.data){var n=o.data.classList;Object.keys(n).forEach((function(t){e.push('<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="'.concat(t,'" type="checkbox"/>').concat(n[t],"</label>"))}))}return e.join("")}()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),d=u.querySelectorAll("span")[0],f=u.querySelectorAll("span")[1],p=u.querySelector(".jodit-form__container"),h=u.querySelector(".jodit-form__options"),v=[],m=c*l,g=0;m>g;g+=1)v[g]||v.push(t.c.element("span",{dataIndex:g}));if(t.e.on(p,"mousemove",(function(t,e){var o=t.target;if(r.Dom.isTag(o,"span")){for(var n=void 0===e||isNaN(e)?parseInt((0,i.attr)(o,"-index")||"0",10):e||0,s=Math.ceil((n+1)/l),a=n%l+1,c=0;v.length>c;c+=1)v[c].className=c%l+1>a||s<Math.ceil((c+1)/l)?"":"jodit_hovered";f.textContent=a.toString(),d.textContent=s.toString()}})).on(p,"touchstart mousedown",(function(e){var o=e.target;if(e.preventDefault(),e.stopImmediatePropagation(),r.Dom.isTag(o,"span")){var a=parseInt((0,i.attr)(o,"-index")||"0",10),c=Math.ceil((a+1)/l),u=a%l+1,d=t.createInside,f=d.element("tbody"),p=d.element("table");p.appendChild(f);for(var v,m,g=null,y=1;c>=y;y+=1){v=d.element("tr");for(var _=1;u>=_;_+=1)m=d.element("td"),g||(g=m),(0,s.css)(m,"width",(100/u).toFixed(4)+"%"),m.appendChild(d.element("br")),v.appendChild(d.text("\n")),v.appendChild(d.text("\t")),v.appendChild(m);f.appendChild(d.text("\n")),f.appendChild(v)}(0,s.$$)("input[type=checkbox]:checked",h).forEach((function(t){t.value.split(/[\s]+/).forEach((function(t){p.classList.add(t)}))})),t.editor.firstChild&&t.s.insertNode(d.text("\n"),!1,!1),t.s.insertNode(p,!1),g&&(t.s.setCursorIn(g),(0,s.scrollIntoViewIfNeeded)(g,t.editor,t.ed)),n()}})),a&&a.parentElement){for(g=0;c>g;g+=1){for(var y=t.c.div(),_=0;l>_;_+=1)y.appendChild(v[g*l+_]);p.appendChild(y)}v[0]&&(v[0].className="hovered")}return u},tooltip:"Insert table"}},26222:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.table=void 0,o(75131);var n=o(58706);function r(t){t.registerButton({name:"table",group:"insert"})}o(951),e.table=r,n.pluginSystem.add("table",r)},92963:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(733),r=o(19800),i=o(16892),s=o(92815),a=o(24697);o(74259).Icon.set("video",o(78606)),n.Config.prototype.controls.video={popup:function(t,e,o,n){var c=new s.UIForm(t,[new s.UIBlock(t,[new s.UIInput(t,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new s.UIBlock(t,[(0,a.Button)(t,"","Insert","primary").onAction((function(){return c.submit()}))])]),l=new s.UIForm(t,[new s.UIBlock(t,[new s.UITextArea(t,{name:"code",required:!0,label:"Embed code"})]),new s.UIBlock(t,[(0,a.Button)(t,"","Insert","primary").onAction((function(){return l.submit()}))])]),u=[],d=function(e){t.s.restore(),t.s.insertHTML(e),n()};return t.s.save(),u.push({icon:"link",name:"Link",content:c.container},{icon:"source",name:"Code",content:l.container}),c.onSubmit((function(t){d((0,i.convertMediaUrlToVideoEmbed)(t.url))})),l.onSubmit((function(t){d(t.code)})),(0,r.TabsWidget)(t,u)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},65028:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(58706);o(92963),n.pluginSystem.add("video",(function(t){t.registerButton({name:"video",group:"media"})}))},40246:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.wrapNodes={exclude:["hr","style","br"],emptyBlockAfterInit:!0}},15771:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784),r=o(43464),i=o(96582),s=o(57348),a=o(51923),c=o(58706);o(40246);var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isSuitableStart=function(t){return i.Dom.isText(t)&&(0,s.isString)(t.nodeValue)&&/[^\s]/.test(t.nodeValue)||e.isNotClosed(t)&&!i.Dom.isTemporary(t)},e.isSuitable=function(t){return i.Dom.isText(t)||e.isNotClosed(t)},e.isNotClosed=function(t){return i.Dom.isElement(t)&&!(i.Dom.isBlock(t)||i.Dom.isTag(t,e.j.o.wrapNodes.exclude))},e}return n.__extends(e,t),e.prototype.afterInit=function(t){"br"!==t.o.enter.toLowerCase()&&t.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)},e.prototype.beforeDestruct=function(t){t.e.off(".wtn")},e.prototype.postProcessSetEditorValue=function(){var t=this.jodit;if(t.isEditorMode()){for(var e=t.editor.firstChild,o=!1;e;){if(e=this.checkAloneListLeaf(e,t),this.isSuitableStart(e)){o||t.s.save(),o=!0;var n=t.createInside.element(t.o.enter);for(i.Dom.before(e,n);e&&this.isSuitable(e);){var r=e.nextSibling;n.appendChild(e),e=r}n.normalize(),e=n}e=e&&e.nextSibling}o&&(t.s.restore(),"afterInit"===t.e.current&&t.e.fire("internalChange"))}},e.prototype.checkAloneListLeaf=function(t,e){var o=t,n=t;do{if(!i.Dom.isElement(n)||!i.Dom.isTag(n,"li")||i.Dom.isTag(n.parentElement,["ul","ol"]))break;var r=i.Dom.findNotEmptySibling(n,!1);i.Dom.isTag(o,"ul")?o.appendChild(n):o=i.Dom.wrap(n,"ul",e.createInside),n=r}while(n);return o},e.prototype.preprocessInput=function(){var t=this.jodit,e="afterInit"===t.e.current;if(t.isEditorMode()&&!t.editor.firstChild&&(t.o.wrapNodes.emptyBlockAfterInit||!e)){var o=t.createInside.element(t.o.enter),n=t.createInside.element("br");i.Dom.append(o,n),i.Dom.append(t.editor,o),t.s.isFocused()&&t.s.setCursorBefore(n),t.e.fire("internalChange")}},n.__decorate([a.autobind],e.prototype,"postProcessSetEditorValue",null),n.__decorate([a.autobind],e.prototype,"preprocessInput",null),e}(r.Plugin);c.pluginSystem.add("wrapNodes",l)},40252:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.showXPathInStatusbar=!0},97964:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(52784);o(3263);var r=o(49940),i=o(23853),s=o(96582),a=o(16892),c=o(43464),l=o(75901),u=o(58706);o(40252);var d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onContext=function(t,o){return e.menu||(e.menu=new i.ContextMenu(e.j)),e.menu.show(o.clientX,o.clientY,[{icon:"bin",title:t===e.j.editor?"Clear":"Remove",exec:function(){t!==e.j.editor?s.Dom.safeRemove(t):e.j.value="",e.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:function(){e.j.s.select(t)}}]),!1},e.onSelectPath=function(t,o){e.j.s.focus();var n=(0,a.attr)(o.target,"-path")||"/";if("/"===n)return e.j.execCommand("selectall"),!1;try{var r=e.j.ed.evaluate(n,e.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(r)return e.j.s.select(r),!1}catch(t){}return e.j.s.select(t),!1},e.tpl=function(t,o,n,r){var i=e.j.c.fromHTML('<span class="jodit-xpath__item"><a role="button" data-path="'.concat(o,'" title="').concat(r,'" tabindex="-1"\'>').concat((0,a.trim)(n),"</a></span>")),s=i.firstChild;return e.j.e.on(s,"click",e.onSelectPath.bind(e,t)).on(s,"contextmenu",e.onContext.bind(e,t)),i},e.removeSelectAll=function(){e.selectAllButton&&(e.selectAllButton.destruct(),delete e.selectAllButton)},e.appendSelectAll=function(){e.removeSelectAll(),e.selectAllButton=(0,l.makeButton)(e.j,n.__assign({name:"selectall"},e.j.o.controls.selectall)),e.selectAllButton.state.size="tiny",e.container&&e.container.insertBefore(e.selectAllButton.container,e.container.firstChild)},e.calcPathImd=function(){if(!e.isDestructed){var t,o,n,i=e.j.s.current();e.container&&(e.container.innerHTML=r.INVISIBLE_SPACE),i&&s.Dom.up(i,(function(r){r&&e.j.editor!==r&&!s.Dom.isText(r)&&(t=r.nodeName.toLowerCase(),o=(0,a.getXPathByElement)(r,e.j.editor).replace(/^\//,""),n=e.tpl(r,o,t,e.j.i18n("Select %s",t)),e.container&&e.container.insertBefore(n,e.container.firstChild))}),e.j.editor),e.appendSelectAll()}},e.calcPath=e.j.async.debounce(e.calcPathImd,2*e.j.defaultTimeout),e}return n.__extends(e,t),e.prototype.afterInit=function(){var t=this;this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(function(){t.j.o.showXPathInStatusbar&&t.container&&(t.j.statusbar.append(t.container),t.j.getRealMode()===r.MODE_WYSIWYG?t.calcPath():(t.container&&(t.container.innerHTML=r.INVISIBLE_SPACE),t.appendSelectAll()))})),this.calcPath())},e.prototype.beforeDestruct=function(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),s.Dom.safeRemove(this.container),delete this.menu,delete this.container},e}(c.Plugin);u.pluginSystem.add("xpath",d)},62175:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(24998),o(46507),o(13578),o(97760),o(39274),Array.prototype.includes||(Array.prototype.includes=function(t){return this.indexOf(t)>-1}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),n=1;arguments.length>n;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=r[i])}return o},writable:!0,configurable:!0}),Array.prototype.find||(Array.prototype.find=function(t){return this.indexOf(t)>-1?t:void 0}),String.prototype.endsWith||(String.prototype.endsWith=function(t){return this[this.length-1]===t})},87986:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.valign=e.upload=e.update=e.unlock=e.settings=e.save=e.right=e.resize_handler=e.plus=e.pencil=e.ok=e.lock=e.left=e.info_circle=e.folder=e.file=e.eye=e.dots=e.chevron=e.check=e.center=e.cancel=e.bin=e.angle_up=e.angle_right=e.angle_left=e.angle_down=void 0;var n=o(61764);e.angle_down=n;var r=o(5886);e.angle_left=r;var i=o(26957);e.angle_right=i;var s=o(86979);e.angle_up=s;var a=o(9678);e.bin=a;var c=o(39606);e.cancel=c;var l=o(20435);e.center=l;var u=o(12005);e.check=u;var d=o(49295);e.chevron=d;var f=o(12637);e.dots=f;var p=o(68115);e.eye=p;var h=o(68490);e.file=h;var v=o(23948);e.folder=v;var m=o(22144);e.info_circle=m;var g=o(2895);e.left=g;var y=o(69072);e.lock=y;var _=o(92475);e.ok=_;var b=o(93324);e.pencil=b;var w=o(47680);e.plus=w;var S=o(55793);e.resize_handler=S;var C=o(93894);e.right=C;var j=o(84916);e.save=j;var x=o(58315);e.settings=x;var E=o(27669);e.unlock=E;var P=o(1274);e.update=P;var I=o(32039);e.upload=I;var T=o(42215);e.valign=T},75195:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JoditPro=void 0;var n=o(70655);o(57997);var r=o(13523),i=o(93772);o(79032);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.beforeInitHook=function(){return(0,i.appendScriptAsync)(this,this.basePath+"config.js")},e.prototype.afterInitHook=function(){return n.__awaiter(this,void 0,Promise,(function(){var e;return n.__generator(this,(function(o){switch(o.label){case 0:return[4,this.e.fire("checkReserve")];case 1:if("normal"!==o.sent()){if(this.isInDestruct)return[2];e=this.c.div("",'Trial version. Buy <a href="https://xdsoft.net/jodit/pro/">Jodit Pro</a>'),(0,i.css)(e,{position:"absolute",color:"red",right:10,bottom:10}),this.addDisclaimer(e)}return t.prototype.afterInitHook.call(this),[2]}}))}))},e.prototype.getVersion=function(){return"PRO "+this.version},e.fatMode=!1,e}(r.Jodit);e.JoditPro=s},79032:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o(733).Config.prototype.controls.font.list={"andale mono,monospace":"Andale Mono","arial,helvetica,sans-serif":"Arial","arial black,sans-serif":"Arial Black","book antiqua,palatino,serif":"Book Antiqua","comic sans ms,sans-serif":"Comic Sans MS","courier new,courier,monospace":"Courier New","georgia,palatino,serif":"Georgia","helvetica,arial,sans-serif":"Helvetica","impact,sans-serif":"Impact","symbol,sans-serif":"Symbol","tahoma,arial,helvetica,sans-serif":"Tahoma","terminal,monaco,monospace":"Terminal","times new roman,times,serif":"Times New Roman","trebuchet ms,geneva,sans-serif":"Trebuchet MS","verdana,geneva,sans-serif":"Verdana",webdings:"Webdings","wingdings,zapf dingbats":"Wingdings"}},97029:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Jodit=void 0;var n=o(75195),r=o(62671);Object.keys(r).forEach((function(t){return n.JoditPro.plugins.add(t,r[t])})),e.Jodit=n.JoditPro},62671:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.poweredByJodit=e.license=void 0;var n=o(85475);Object.defineProperty(e,"license",{enumerable:!0,get:function(){return n.license}}),e.poweredByJodit=function(){}},85475:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.license=void 0;var n=o(70655),r=o(43464),i=o(71910),s=o(16892),a=o(11777),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.make=function(t){return new e(t)},e.prototype.afterInit=function(t){var e=this;this.j.e.on("checkReserve",(function(){return n.__awaiter(e,void 0,void 0,(function(){var t,e,o;return n.__generator(this,(function(n){switch(n.label){case 0:return t=this.j.o.license,e=location.host,(o=(0,a.validateLicense)(t,e))||"A">=t[12]?[3,2]:[4,this.validateLicenseRemote(t,e)];case 1:o=n.sent(),n.label=2;case 2:return[2,o?"normal":""]}}))}))}))},e.prototype.beforeDestruct=function(t){},e.prototype.validateLicenseRemote=function(t,e){return n.__awaiter(this,void 0,Promise,(function(){var o,r,c=this;return n.__generator(this,(function(n){return(o=this.j.storage.get("validateJoditLicenseRemote"))&&(0,a.validateLicense)(o,e)?[2,!0]:((r=document.createElement("script")).src="https://xdsoft.net/jodit/pro/api/licenses/validate/?code=".concat(encodeURIComponent(t),"&host=").concat(encodeURIComponent(e)),document.body.appendChild(r),[2,new Promise((function(t){window.onJoditResolveKeyCode=function(o){try{if((0,s.isBoolean)(o))return t(o);(0,a.validateLicense)(o,e)?(c.j.storage.set("validateJoditLicenseRemote",o),t(!0)):t(!1)}finally{i.Dom.safeRemove(r)}},setTimeout((function(){t(!1),i.Dom.safeRemove(r)}),3e3)}))])}))}))},e}(r.Plugin);e.license=c},70655:function(t,e,o){"use strict";o.r(e),o.d(e,{__assign:function(){return i},__asyncDelegator:function(){return w},__asyncGenerator:function(){return b},__asyncValues:function(){return S},__await:function(){return _},__awaiter:function(){return u},__classPrivateFieldGet:function(){return P},__classPrivateFieldIn:function(){return T},__classPrivateFieldSet:function(){return I},__createBinding:function(){return f},__decorate:function(){return a},__exportStar:function(){return p},__extends:function(){return r},__generator:function(){return d},__importDefault:function(){return E},__importStar:function(){return x},__makeTemplateObject:function(){return C},__metadata:function(){return l},__param:function(){return c},__read:function(){return v},__rest:function(){return s},__spread:function(){return m},__spreadArray:function(){return y},__spreadArrays:function(){return g},__values:function(){return h}});var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},n(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}var i=function(){return i=Object.assign||function(t){for(var e,o=1,n=arguments.length;n>o;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)};function s(t,e){var o={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(o[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(t);n.length>r;r++)0>e.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(o[n[r]]=t[n[r]])}return o}function a(t,e,o,n){var r,i=arguments.length,s=3>i?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(3>i?r(s):i>3?r(e,o,s):r(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s}function c(t,e){return function(o,n){e(o,n,t)}}function l(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t,e,o,n){return new(o||(o=Promise))((function(r,i){function s(t){try{c(n.next(t))}catch(t){i(t)}}function a(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof o?e:new o((function(t){t(e)}))).then(s,a)}c((n=n.apply(t,e||[])).next())}))}function d(t,e){var o,n,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(o)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(o=1,n&&(r=2&a[0]?n.return:a[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,a[1])).done)return r;switch(n=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&r[3]>a[1])){s.label=a[1];break}if(6===a[0]&&r[1]>s.label){s.label=r[1],r=a;break}if(r&&r[2]>s.label){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],n=0}finally{o=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}var f=Object.create?function(t,e,o,n){void 0===n&&(n=o);var r=Object.getOwnPropertyDescriptor(e,o);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[o]}}),Object.defineProperty(t,n,r)}:function(t,e,o,n){void 0===n&&(n=o),t[n]=e[o]};function p(t,e){for(var o in t)"default"===o||Object.prototype.hasOwnProperty.call(e,o)||f(e,t,o)}function h(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],n=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,r,i=o.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return s}function m(){for(var t=[],e=0;arguments.length>e;e++)t=t.concat(v(arguments[e]));return t}function g(){for(var t=0,e=0,o=arguments.length;o>e;e++)t+=arguments[e].length;var n=Array(t),r=0;for(e=0;o>e;e++)for(var i=arguments[e],s=0,a=i.length;a>s;s++,r++)n[r]=i[s];return n}function y(t,e,o){if(o||2===arguments.length)for(var n,r=0,i=e.length;i>r;r++)!n&&r in e||(n||(n=Array.prototype.slice.call(e,0,r)),n[r]=e[r]);return t.concat(n||Array.prototype.slice.call(e))}function _(t){return this instanceof _?(this.v=t,this):new _(t)}function b(t,e,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,r=o.apply(t,e||[]),i=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(t){r[t]&&(n[t]=function(e){return new Promise((function(o,n){i.push([t,e,o,n])>1||a(t,e)}))})}function a(t,e){try{(o=r[t](e)).value instanceof _?Promise.resolve(o.value.v).then(c,l):u(i[0][2],o)}catch(t){u(i[0][3],t)}var o}function c(t){a("next",t)}function l(t){a("throw",t)}function u(t,e){t(e),i.shift(),i.length&&a(i[0][0],i[0][1])}}function w(t){var e,o;return e={},n("next"),n("throw",(function(t){throw t})),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,r){e[n]=t[n]?function(e){return(o=!o)?{value:_(t[n](e)),done:"return"===n}:r?r(e):e}:r}}function S(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,o=t[Symbol.asyncIterator];return o?o.call(t):(t=h(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=t[o]&&function(e){return new Promise((function(n,r){!function(t,e,o,n){Promise.resolve(n).then((function(e){t({value:e,done:o})}),e)}(n,r,(e=t[o](e)).done,e.value)}))}}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var j=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function x(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)"default"!==o&&Object.prototype.hasOwnProperty.call(t,o)&&f(e,t,o);return j(e,t),e}function E(t){return t&&t.__esModule?t:{default:t}}function P(t,e,o,n){if("a"===o&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?n:"a"===o?n.call(t):n?n.value:e.get(t)}function I(t,e,o,n,r){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(t,o):r?r.value=o:e.set(t,o),o}function T(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}},11777:function(t){function e(t){return/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(t)}function o(t){const e=t.split(".");return e.map((t=>t[0]&&t[0].charCodeAt(0)?String.fromCharCode(t[0].charCodeAt(0)+1):t[0])).concat(e.map((t=>t[t.length-1]&&t[t.length-1].charCodeAt(0)?String.fromCharCode(t[t.length-1].charCodeAt(0)-1):t[t.length-1])))}t.exports.validateLicense=function t(n,r){if(e(n))return!0;const i=o(r),s=["[A-F013456][A-F0-9]{3}{part}","([0-3]){part}[E-L4-8]{2}\\1","[A-D]{part}[J-P5-6]{3}","{part}[A-R0-9]{3}[X-Z]"].map(((t,e)=>t.replace("{part}",i[e]||"[R-T]"))),a=RegExp(`^${s.join("-")}$`,"i"),c=n.substring(12,13),l=a.test(n);if(!l&&c===(typeof!r).toUpperCase()[5]){const e=r.split(".");return e.shift(),!!e.length&&t(n,e.join("."))}return l},t.exports.validateEntLicense=e,t.exports.domainsHash=o},89091:function(t){t.exports.default=["إبدأ في الكتابة...","لتحرير","المربعة"]},61124:function(t){t.exports.default=["Napiš něco","Chcete-li upravit","Quadrate"]},34554:function(t){t.exports.default=["Bitte geben Sie einen Text ein","Bearbeiten","Quadrate"]},57889:function(t){t.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},88716:function(t){t.exports.default=["Escriba algo...","Para editar","Cuadro"]},72632:function(t){t.exports.default=["Ecrivez ici","Pour éditer","Quadrate"]},46524:function(t){t.exports.default=["הקלד משהו...","כדי לערוך","הריבוע הזה"]},32920:function(t){t.exports.default=["Írjon be valamit","Szerkesztés","Quadrate"]},53946:function(t){t.exports.default=["Ketik sesuatu","pensil","Kuadrat"]},90069:function(t){t.exports.default=["Scrivi qualcosa...","Per modificare","Quadrate"]},53283:function(t){t.exports.default=["なにかタイプしてください","鉛筆","四角"]},73725:function(t){t.exports.default=["Type something","pencil","Quadrate"]},87409:function(t){t.exports.default=["무엇이든 입력하세요","연필","정사각형"]},134:function(t){t.exports.default=["Begin met typen..","Om te bewerken","Quadrate"]},65296:function(t){t.exports.default=["Napisz coś","edytuj","Kwadrat"]},31130:function(t){t.exports.default=["Escreva algo...","Editar","Quadro"]},65453:function(t){t.exports.default=["Напишите что-либо","Редактировать","Квадрат"]},10676:function(t){t.exports.default=["Bir şeyler yaz","Düzenlemek için","Kare"]},38039:function(t){t.exports.default=["输入一些内容","铅笔","方形"]},17046:function(t){t.exports.default=["輸入一些內容","鉛筆","Quadrate"]},41563:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg>'},66297:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg>'},81762:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg>'},61515:function(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},49663:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},76958:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg>'},49914:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg>'},10946:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},61228:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},56095:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},95347:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},54:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},2113:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg>'},41567:function(t){t.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg>'},29129:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},1307:function(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},58939:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},23129:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},70209:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg>'},54050:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},76901:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},25223:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},95331:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},34345:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/> </svg>'},85487:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},25249:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},38471:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},10580:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},28972:function(t){t.exports='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg>'},40732:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},39822:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg>'},62724:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},4087:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},16500:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},59203:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},88145:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},21702:function(t){t.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg>'},40364:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},33178:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},8681:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},1513:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},94460:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},19780:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg>'},6309:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg>'},2251:function(t){t.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},88858:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/> </svg>'},16054:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg>'},41087:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},46430:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},78606:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg>'},61764:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},5886:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},26957:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},86979:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},9678:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg>'},39606:function(t){t.exports='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg>'},20435:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},12005:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg>'},49295:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},12637:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},68115:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},68490:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg>'},23948:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg>'},22144:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},2895:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},69072:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},92475:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg>'},93324:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},47680:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},55793:function(t){t.exports='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg>'},93894:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},84916:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg>'},58315:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},27669:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg>'},1274:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},32039:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'},42215:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg>'},57997:function(t,e,o){"use strict";o.r(e)},89477:function(t,e,o){"use strict";o.r(e)},71852:function(t,e,o){"use strict";o.r(e)},12700:function(t,e,o){"use strict";o.r(e)},97749:function(t,e,o){"use strict";o.r(e)},69718:function(t,e,o){"use strict";o.r(e)},65713:function(t,e,o){"use strict";o.r(e)},49104:function(t,e,o){"use strict";o.r(e)},79793:function(t,e,o){"use strict";o.r(e)},23198:function(t,e,o){"use strict";o.r(e)},83404:function(t,e,o){"use strict";o.r(e)},38784:function(t,e,o){"use strict";o.r(e)},30861:function(t,e,o){"use strict";o.r(e)},98926:function(t,e,o){"use strict";o.r(e)},29269:function(t,e,o){"use strict";o.r(e)},53224:function(t,e,o){"use strict";o.r(e)},49073:function(t,e,o){"use strict";o.r(e)},27040:function(t,e,o){"use strict";o.r(e)},76519:function(t,e,o){"use strict";o.r(e)},58188:function(t,e,o){"use strict";o.r(e)},62731:function(t,e,o){"use strict";o.r(e)},66177:function(t,e,o){"use strict";o.r(e)},4741:function(t,e,o){"use strict";o.r(e)},65751:function(t,e,o){"use strict";o.r(e)},35218:function(t,e,o){"use strict";o.r(e)},28119:function(t,e,o){"use strict";o.r(e)},82247:function(t,e,o){"use strict";o.r(e)},26881:function(t,e,o){"use strict";o.r(e)},7590:function(t,e,o){"use strict";o.r(e)},98831:function(t,e,o){"use strict";o.r(e)},19777:function(t,e,o){"use strict";o.r(e)},83184:function(t,e,o){"use strict";o.r(e)},47164:function(t,e,o){"use strict";o.r(e)},63729:function(t,e,o){"use strict";o.r(e)},87527:function(t,e,o){"use strict";o.r(e)},23455:function(t,e,o){"use strict";o.r(e)},89057:function(t,e,o){"use strict";o.r(e)},71696:function(t,e,o){"use strict";o.r(e)},65581:function(t,e,o){"use strict";o.r(e)},52404:function(t,e,o){"use strict";o.r(e)},32052:function(t,e,o){"use strict";o.r(e)},76069:function(t,e,o){"use strict";o.r(e)},96578:function(t,e,o){"use strict";o.r(e)},24305:function(t,e,o){"use strict";o.r(e)},75131:function(t,e,o){"use strict";o.r(e)},3263:function(t,e,o){"use strict";o.r(e)},1261:function(t,e,o){"use strict";o.r(e)},48772:function(t,e,o){"use strict";o.r(e)},64364:function(t){t.exports={"copy-format":"نسخ التنسيق"}},99982:function(t){t.exports={"copy-format":"Kopírovat formát"}},20746:function(t){t.exports={"copy-format":"Format kopierenт"}},37215:function(t){t.exports={"copy-format":"Copiar formato"}},88559:function(t){t.exports={"copy-format":"کپی کردن قالب"}},69346:function(t){t.exports={"copy-format":"Format de copie"}},6127:function(t){t.exports={"copy-format":"העתק עיצוב"}},74340:function(t){t.exports={"copy-format":"Formátum másolás"}},29999:function(t){t.exports={"copy-format":"salin format"}},52210:function(t){t.exports={"copy-format":"Copia il formato"}},60420:function(t){t.exports={"copy-format":"copyformat"}},52096:function(t){t.exports={"copy-format":"복사 형식"}},32257:function(t){t.exports={"copy-format":"opmaak kopiëren"}},94887:function(t){t.exports={"copy-format":"format kopii"}},14704:function(t){t.exports={"copy-format":"Copiar formato"}},65108:function(t){t.exports={"copy-format":"Копировать формат"}},44704:function(t){t.exports={"copy-format":"Kopyalama Biçimi"}},13100:function(t){t.exports={"copy-format":"复制格式"}},59483:function(t){t.exports={"copy-format":"複製格式"}},7713:function(t){t.exports={"Line height":"ارتفاع الخط"}},79457:function(t){t.exports={"Line height":"Výška čáry"}},95551:function(t){t.exports={"Line height":"Zeilenhöhe"}},86184:function(t){t.exports={"Line height":"Altura de la línea"}},43418:function(t){t.exports={"Line height":"ارتفاع خط"}},65643:function(t){t.exports={"Line height":"Hauteur de ligne"}},96250:function(t){t.exports={"Line height":"גובה שורה"}},8754:function(t){t.exports={"Line height":"Vonal magassága"}},99271:function(t){t.exports={"Line height":"Tinggi baris"}},26080:function(t){t.exports={"Line height":"Altezza linea"}},23267:function(t){t.exports={"Line height":"ラインの高さ"}},70074:function(t){t.exports={"Line height":"선 높이"}},51419:function(t){t.exports={"Line height":"Lijnhoogte"}},38179:function(t){t.exports={"Line height":"Wysokość linii"}},61707:function(t){t.exports={"Line height":"Altura da linha"}},15035:function(t){t.exports={"Line height":"Высота линии"}},28048:function(t){t.exports={"Line height":"Çizgi yüksekliği"}},72647:function(t){t.exports={"Line height":"线高"}},65107:function(t){t.exports={"Line height":"ความสูงเส้น"}},97871:function(t){t.exports={Spellcheck:"التدقيق الإملائي"}},30689:function(t){t.exports={Spellcheck:"Kontrola pravopisu"}},80242:function(t){t.exports={Spellcheck:"Rechtschreibprüfung"}},18338:function(t){t.exports={Spellcheck:"Corrección ortográfica"}},30402:function(t){t.exports={Spellcheck:"غلطیابی املایی"}},64941:function(t){t.exports={Spellcheck:"Vérification Orthographique"}},58543:function(t){t.exports={Spellcheck:"בדיקת איות"}},63504:function(t){t.exports={Spellcheck:"Helyesírás-ellenőrzés"}},44927:function(t){t.exports={Spellcheck:"Spellchecking"}},79211:function(t){t.exports={Spellcheck:"Controllo ortografico"}},8903:function(t){t.exports={Spellcheck:"スペルチェック"}},68537:function(t){t.exports={Spellcheck:"맞춤법 검사"}},91597:function(t){t.exports={Spellcheck:"Spellingcontrole"}},52608:function(t){t.exports={Spellcheck:"Sprawdzanie pisowni"}},51529:function(t){t.exports={Spellcheck:"Verificação ortográfica"}},72924:function(t){t.exports={Spellcheck:"Проверка орфографии"}},19366:function(t){t.exports={Spellcheck:"Yazım denetimi"}},54398:function(t){t.exports={Spellcheck:"拼写检查"}},84052:function(t){t.exports={Spellcheck:"สะกดคำ"}},54942:function(t){t.exports={symbols:"رمز"}},91982:function(t){t.exports={symbols:"symbol"}},67793:function(t){t.exports={symbols:"Symbol"}},73246:function(t){t.exports={symbols:"Símbolo"}},83233:function(t){t.exports={symbols:"سمبل"}},40695:function(t){t.exports={symbols:"caractère"}},18732:function(t){t.exports={symbols:"תו מיוחד"}},14389:function(t){t.exports={symbols:"Szimbólum"}},49571:function(t){t.exports={symbols:"simbol"}},59462:function(t){t.exports={symbols:"Simbolo"}},53146:function(t){t.exports={symbols:"symbol"}},70124:function(t){t.exports={symbols:"기호"}},62202:function(t){t.exports={symbols:"symbool"}},56803:function(t){t.exports={symbols:"symbol"}},17431:function(t){t.exports={symbols:"Símbolo"}},14556:function(t){t.exports={symbols:"символ"}},87539:function(t){t.exports={symbols:"Sembol"}},34929:function(t){t.exports={symbols:"符号"}},47996:function(t){t.exports={symbols:"符號"}},52378:function(t){"use strict";t.exports={assert(){}}}},o={};function n(t){var r=o[t];if(void 0!==r)return r.exports;var i=o[t]={exports:{}};return e[t].call(i.exports,i,i.exports,n),i.exports}n.m=e,t=[],n.O=function(e,o,r,i){if(!o){var s=1/0;for(u=0;t.length>u;u++){o=t[u][0],r=t[u][1],i=t[u][2];for(var a=!0,c=0;o.length>c;c++)(!1&i||s>=i)&&Object.keys(n.O).every((function(t){return n.O[t](o[c])}))?o.splice(c--,1):(a=!1,s>i&&(s=i));if(a){t.splice(u--,1);var l=r();void 0!==l&&(e=l)}}return e}i=i||0;for(var u=t.length;u>0&&t[u-1][2]>i;u--)t[u]=t[u-1];t[u]=[o,r,i]},n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){var t={670:0};n.O.j=function(e){return 0===t[e]};var e=function(e,o){var r,i,s=o[0],a=o[1],c=o[2],l=0;if(s.some((function(e){return 0!==t[e]}))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(c)var u=c(n)}for(e&&e(o);s.length>l;l++)n.o(t,i=s[l])&&t[i]&&t[i][0](),t[i]=0;return n.O(u)},o=self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))}();var r=n(97029);return n.O(r)}()}));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,(function(){return function(){var e,t={71399:function(e,t){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function n(e,t,n){var r=n.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(r)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var o=r.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return o},set:function(e){r=e,delete this[t]}}),i=!1,o},set:function(e){r=e}}}function r(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var o=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof o.value&&Object.defineProperty(e.prototype,t,n(e,t,o))}})),e}Object.defineProperty(t,"__esModule",{value:!0}),t.boundClass=t.boundMethod=void 0,t.boundMethod=n,t.boundClass=r,t.default=function(){return 1===arguments.length?r.apply(void 0,arguments):n.apply(void 0,arguments)}},24998:function(){"use strict";"document"in window.self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(e){if("Element"in e){var t="classList",o=e.Element.prototype,n=Object,r=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},i=Array.prototype.indexOf||function(e){for(var t=0,o=this.length;o>t;t++)if(t in this&&this[t]===e)return t;return-1},a=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},s=function(e,t){if(""===t)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return i.call(e,t)},l=function(e){for(var t=r.call(e.getAttribute("class")||""),o=t?t.split(/\s+/):[],n=0,i=o.length;i>n;n++)this.push(o[n]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},c=l.prototype=[],u=function(){return new l(this)};if(a.prototype=Error.prototype,c.item=function(e){return this[e]||null},c.contains=function(e){return-1!==s(this,e+="")},c.add=function(){var e,t=arguments,o=0,n=t.length,r=!1;do{-1===s(this,e=t[o]+"")&&(this.push(e),r=!0)}while(++o<n);r&&this._updateClassName()},c.remove=function(){var e,t,o=arguments,n=0,r=o.length,i=!1;do{for(t=s(this,e=o[n]+"");-1!==t;)this.splice(t,1),i=!0,t=s(this,e)}while(++n<r);i&&this._updateClassName()},c.toggle=function(e,t){var o=this.contains(e+=""),n=o?!0!==t&&"remove":!1!==t&&"add";return n&&this[n](e),!0===t||!1===t?t:!o},c.toString=function(){return this.join(" ")},n.defineProperty){var d={get:u,enumerable:!0,configurable:!0};try{n.defineProperty(o,t,d)}catch(e){void 0!==e.number&&-2146823252!==e.number||(d.enumerable=!1,n.defineProperty(o,t,d))}}else n.prototype.__defineGetter__&&o.__defineGetter__(t,u)}}(window.self),function(){var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var o,n=arguments.length;for(o=0;n>o;o++)t.call(this,e=arguments[o])}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:o.call(this,e)}}e=null}())},97760:function(e,t,o){"use strict";o(51050);var n=o(96287);e.exports=n("Array","findIndex")},39274:function(e,t,o){"use strict";o(6313),o(31826);var n=o(13071);e.exports=n.Array.from},13578:function(e,t,o){"use strict";o(13790),o(21562),o(52398),o(90979),o(46386),o(58294),o(98177),o(23544),o(44662),o(21882),o(69586),o(76171),o(11007),o(5053),o(48386),o(96565),o(13854),o(44185),o(41584),o(39818);var n=o(13071);e.exports=n.Symbol},77113:function(e,t,o){"use strict";var n=o(20927),r=o(98495),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(r(e)+" is not a function")}},51476:function(e,t,o){"use strict";var n=o(20927),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},60352:function(e,t,o){"use strict";var n=o(12304),r=o(44013),i=o(65132).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!0}},29457:function(e,t,o){"use strict";var n=o(52160),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(r(e)+" is not an object")}},35416:function(e,t,o){"use strict";var n=o(98786),r=o(28236),i=o(63097),a=o(29538),s=o(36308),l=o(34136),c=o(68536),u=o(30980),d=o(14892),p=o(83884),f=Array;e.exports=function(e){var t=i(e),o=l(this),h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m;v&&(m=n(m,h>2?arguments[2]:void 0));var g,y,b,_,w,S,C=p(t),j=0;if(!C||this===f&&s(C))for(g=c(t),y=o?new this(g):f(g);g>j;j++)S=v?m(t[j],j):t[j],u(y,j,S);else for(w=(_=d(t,C)).next,y=o?new this:[];!(b=r(w,_)).done;j++)S=v?a(_,m,[b.value,j],!0):b.value,u(y,j,S);return y.length=j,y}},48675:function(e,t,o){"use strict";var n=o(57257),r=o(74475),i=o(68536),a=function(e){return function(t,o,a){var s,l=n(t),c=i(l),u=r(a,c);if(e&&o!=o){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===o)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},92796:function(e,t,o){"use strict";var n=o(98786),r=o(44352),i=o(62250),a=o(63097),s=o(68536),l=o(82624),c=r([].push),u=function(e){var t=1==e,o=2==e,r=3==e,u=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,m,v,g){for(var y,b,_=a(h),w=i(_),S=n(m,v),C=s(w),j=0,k=g||l,x=t?k(h,C):o||p?k(h,0):void 0;C>j;j++)if((f||j in w)&&(b=S(y=w[j],j,_),e))if(t)x[j]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return j;case 2:c(x,y)}else switch(e){case 4:return!1;case 7:c(x,y)}return d?-1:r||u?u:x}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},8890:function(e,t,o){"use strict";var n=o(43913),r=o(12304),i=o(46816),a=r("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},19912:function(e,t,o){"use strict";var n=o(74475),r=o(68536),i=o(30980),a=Array,s=Math.max;e.exports=function(e,t,o){for(var l=r(e),c=n(t,l),u=n(void 0===o?l:o,l),d=a(s(u-c,0)),p=0;u>c;c++,p++)i(d,p,e[c]);return d.length=p,d}},5731:function(e,t,o){"use strict";var n=o(44352);e.exports=n([].slice)},83932:function(e,t,o){"use strict";var n=o(9546),r=o(34136),i=o(52160),a=o(12304)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(r(t=e.constructor)&&(t===s||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0),void 0===t?s:t}},82624:function(e,t,o){"use strict";var n=o(83932);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},29538:function(e,t,o){"use strict";var n=o(29457),r=o(37474);e.exports=function(e,t,o,i){try{return i?t(n(o)[0],o[1]):t(o)}catch(t){r(e,"throw",t)}}},66141:function(e,t,o){"use strict";var n=o(12304)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var o=!1;try{var i={};i[n]=function(){return{next:function(){return{done:o=!0}}}},e(i)}catch(e){}return o}},99364:function(e,t,o){"use strict";var n=o(44352),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},86829:function(e,t,o){"use strict";var n=o(75816),r=o(20927),i=o(99364),a=o(12304)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,o,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(o=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?o:l?i(t):"Object"==(n=i(t))&&r(t.callee)?"Arguments":n}},40793:function(e,t,o){"use strict";var n=o(57314),r=o(7097),i=o(42048),a=o(65132);e.exports=function(e,t,o){for(var s=r(t),l=a.f,c=i.f,u=0;s.length>u;u++){var d=s[u];n(e,d)||o&&n(o,d)||l(e,d,c(t,d))}}},68753:function(e,t,o){"use strict";var n=o(43913);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},6672:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},13509:function(e,t,o){"use strict";var n=o(95753),r=o(65132),i=o(26875);e.exports=n?function(e,t,o){return r.f(e,t,i(1,o))}:function(e,t,o){return e[t]=o,e}},26875:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},30980:function(e,t,o){"use strict";var n=o(66591),r=o(65132),i=o(26875);e.exports=function(e,t,o){var a=n(t);a in e?r.f(e,a,i(0,o)):e[a]=o}},87395:function(e,t,o){"use strict";var n=o(20927),r=o(65132),i=o(10197),a=o(71695);e.exports=function(e,t,o,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(n(o)&&i(o,c,s),s.global)l?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},71695:function(e,t,o){"use strict";var n=o(87825),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(o){n[e]=t}return t}},95753:function(e,t,o){"use strict";var n=o(43913);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},42264:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports={all:t,IS_HTMLDDA:void 0===t&&void 0!==t}},61740:function(e,t,o){"use strict";var n=o(87825),r=o(52160),i=n.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},5371:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},4831:function(e,t,o){"use strict";var n=o(77791);e.exports=n("navigator","userAgent")||""},46816:function(e,t,o){"use strict";var n,r,i=o(87825),a=o(4831),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=(n=u.split("."))[0]>0&&4>n[0]?1:+(n[0]+n[1])),!r&&a&&((n=a.match(/Edge\/(\d+)/))&&74>n[1]||(n=a.match(/Chrome\/(\d+)/))&&(r=+n[1])),e.exports=r},96287:function(e,t,o){"use strict";var n=o(87825),r=o(44352);e.exports=function(e,t){return r(n[e].prototype[t])}},81369:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},88391:function(e,t,o){"use strict";var n=o(87825),r=o(42048).f,i=o(13509),a=o(87395),s=o(71695),l=o(40793),c=o(58581);e.exports=function(e,t){var o,u,d,p,f,h=e.target,m=e.global,v=e.stat;if(o=m?n:v?n[h]||s(h,{}):(n[h]||{}).prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=r(o,u))&&f.value:o[u],!c(m?u:h+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(o,u,p,e)}}},43913:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},8750:function(e,t,o){"use strict";var n=o(59841),r=Function.prototype,i=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},98786:function(e,t,o){"use strict";var n=o(43562),r=o(77113),i=o(59841),a=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},59841:function(e,t,o){"use strict";var n=o(43913);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},28236:function(e,t,o){"use strict";var n=o(59841),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},67301:function(e,t,o){"use strict";var n=o(95753),r=o(57314),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=r(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},43562:function(e,t,o){"use strict";var n=o(99364),r=o(44352);e.exports=function(e){if("Function"===n(e))return r(e)}},44352:function(e,t,o){"use strict";var n=o(59841),r=Function.prototype,i=r.call,a=n&&r.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},77791:function(e,t,o){"use strict";var n=o(87825),r=o(20927),i=function(e){return r(e)?e:void 0};e.exports=function(e,t){return 2>arguments.length?i(n[e]):n[e]&&n[e][t]}},83884:function(e,t,o){"use strict";var n=o(86829),r=o(9489),i=o(84956),a=o(91127),s=o(12304)("iterator");e.exports=function(e){if(!i(e))return r(e,s)||r(e,"@@iterator")||a[n(e)]}},14892:function(e,t,o){"use strict";var n=o(28236),r=o(77113),i=o(29457),a=o(98495),s=o(83884),l=TypeError;e.exports=function(e,t){var o=2>arguments.length?s(e):t;if(r(o))return i(n(o,e));throw l(a(e)+" is not iterable")}},9489:function(e,t,o){"use strict";var n=o(77113),r=o(84956);e.exports=function(e,t){var o=e[t];return r(o)?void 0:n(o)}},87825:function(e,t,o){"use strict";var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof o.g&&o.g)||function(){return this}()||Function("return this")()},57314:function(e,t,o){"use strict";var n=o(44352),r=o(63097),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},19742:function(e){"use strict";e.exports={}},27246:function(e,t,o){"use strict";var n=o(77791);e.exports=n("document","documentElement")},94105:function(e,t,o){"use strict";var n=o(95753),r=o(43913),i=o(61740);e.exports=!n&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},62250:function(e,t,o){"use strict";var n=o(44352),r=o(43913),i=o(99364),a=Object,s=n("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},25893:function(e,t,o){"use strict";var n=o(44352),r=o(20927),i=o(5023),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},91616:function(e,t,o){"use strict";var n,r,i,a=o(44286),s=o(87825),l=o(52160),c=o(13509),u=o(57314),d=o(5023),p=o(99419),f=o(19742),h="Object already initialized",m=s.TypeError;if(a||d.state){var v=d.state||(d.state=new(0,s.WeakMap));v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw m(h);return t.facade=e,v.set(e,t),t},r=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var g=p("state");f[g]=!0,n=function(e,t){if(u(e,g))throw m(h);return t.facade=e,c(e,g,t),t},r=function(e){return u(e,g)?e[g]:{}},i=function(e){return u(e,g)}}e.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var o;if(!l(t)||(o=r(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return o}}}},36308:function(e,t,o){"use strict";var n=o(12304),r=o(91127),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},9546:function(e,t,o){"use strict";var n=o(99364);e.exports=Array.isArray||function(e){return"Array"==n(e)}},20927:function(e,t,o){"use strict";var n=o(42264),r=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},34136:function(e,t,o){"use strict";var n=o(44352),r=o(43913),i=o(20927),a=o(86829),s=o(77791),l=o(25893),c=function(){},u=[],d=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,f=n(p.exec),h=!p.exec(c),m=function(e){if(!i(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}},v=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(p,l(e))}catch(e){return!0}};v.sham=!0,e.exports=!d||r((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?v:m},58581:function(e,t,o){"use strict";var n=o(43913),r=o(20927),i=/#|\.prototype\./,a=function(e,t){var o=l[s(e)];return o==u||o!=c&&(r(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},84956:function(e){"use strict";e.exports=function(e){return null==e}},52160:function(e,t,o){"use strict";var n=o(20927),r=o(42264),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},6325:function(e){"use strict";e.exports=!1},60575:function(e,t,o){"use strict";var n=o(77791),r=o(20927),i=o(36960),a=o(63776),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,s(e))}},37474:function(e,t,o){"use strict";var n=o(28236),r=o(29457),i=o(9489);e.exports=function(e,t,o){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw o;return o}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw o;if(s)throw a;return r(a),o}},94829:function(e,t,o){"use strict";var n=o(341).IteratorPrototype,r=o(44013),i=o(26875),a=o(74177),s=o(91127),l=function(){return this};e.exports=function(e,t,o,c){var u=t+" Iterator";return e.prototype=r(n,{next:i(+!c,o)}),a(e,u,!1,!0),s[u]=l,e}},72927:function(e,t,o){"use strict";var n=o(88391),r=o(28236),i=o(6325),a=o(67301),s=o(20927),l=o(94829),c=o(29423),u=o(87310),d=o(74177),p=o(13509),f=o(87395),h=o(12304),m=o(91127),v=o(341),g=a.PROPER,y=a.CONFIGURABLE,b=v.IteratorPrototype,_=v.BUGGY_SAFARI_ITERATORS,w=h("iterator"),S="keys",C="values",j="entries",k=function(){return this};e.exports=function(e,t,o,a,h,v,x){l(o,t,a);var E,P,I,T=function(e){if(e===h&&A)return A;if(!_&&e in D)return D[e];switch(e){case S:case C:case j:return function(){return new o(this,e)}}return function(){return new o(this)}},O=t+" Iterator",M=!1,D=e.prototype,z=D[w]||D["@@iterator"]||h&&D[h],A=!_&&z||T(h),L="Array"==t&&D.entries||z;if(L&&(E=c(L.call(new e)))!==Object.prototype&&E.next&&(i||c(E)===b||(u?u(E,b):s(E[w])||f(E,w,k)),d(E,O,!0,!0),i&&(m[O]=k)),g&&h==C&&z&&z.name!==C&&(!i&&y?p(D,"name",C):(M=!0,A=function(){return r(z,this)})),h)if(P={values:T(C),keys:v?A:T(S),entries:T(j)},x)for(I in P)(_||M||!(I in D))&&f(D,I,P[I]);else n({target:t,proto:!0,forced:_||M},P);return i&&!x||D[w]===A||f(D,w,A,{name:h}),m[t]=A,P}},341:function(e,t,o){"use strict";var n,r,i,a=o(43913),s=o(20927),l=o(52160),c=o(44013),u=o(29423),d=o(87395),p=o(12304),f=o(6325),h=p("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(r=u(u(i)))!==Object.prototype&&(n=r):m=!0),!l(n)||a((function(){var e={};return n[h].call(e)!==e}))?n={}:f&&(n=c(n)),s(n[h])||d(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},91127:function(e){"use strict";e.exports={}},68536:function(e,t,o){"use strict";var n=o(54762);e.exports=function(e){return n(e.length)}},10197:function(e,t,o){"use strict";var n=o(43913),r=o(20927),i=o(57314),a=o(95753),s=o(67301).CONFIGURABLE,l=o(25893),c=o(91616),u=c.enforce,d=c.get,p=Object.defineProperty,f=a&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=e.exports=function(e,t,o){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(t="get "+t),o&&o.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),f&&o&&i(o,"arity")&&e.length!==o.arity&&p(e,"length",{value:o.arity});try{o&&i(o,"constructor")&&o.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=u(e);return i(n,"source")||(n.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return r(this)&&d(this).source||l(this)}),"toString")},17865:function(e){"use strict";var t=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?o:t)(n)}},44013:function(e,t,o){"use strict";var n,r=o(29457),i=o(26563),a=o(81369),s=o(19742),l=o(27246),c=o(61740),u=o(99419)("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"<\/script>"},f=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},h=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;h="undefined"!=typeof document?document.domain&&n?f(n):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):f(n);for(var o=a.length;o--;)delete h.prototype[a[o]];return h()};s[u]=!0,e.exports=Object.create||function(e,t){var o;return null!==e?(d.prototype=r(e),o=new d,d.prototype=null,o[u]=e):o=h(),void 0===t?o:i.f(o,t)}},26563:function(e,t,o){"use strict";var n=o(95753),r=o(40325),i=o(65132),a=o(29457),s=o(57257),l=o(50552);t.f=n&&!r?Object.defineProperties:function(e,t){a(e);for(var o,n=s(t),r=l(t),c=r.length,u=0;c>u;)i.f(e,o=r[u++],n[o]);return e}},65132:function(e,t,o){"use strict";var n=o(95753),r=o(94105),i=o(40325),a=o(29457),s=o(66591),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor;t.f=n?i?function(e,t,o){if(a(e),t=s(t),a(o),"function"==typeof e&&"prototype"===t&&"value"in o&&"writable"in o&&!o.writable){var n=u(e,t);n&&n.writable&&(e[t]=o.value,o={configurable:"configurable"in o?o.configurable:n.configurable,enumerable:"enumerable"in o?o.enumerable:n.enumerable,writable:!1})}return c(e,t,o)}:c:function(e,t,o){if(a(e),t=s(t),a(o),r)try{return c(e,t,o)}catch(e){}if("get"in o||"set"in o)throw l("Accessors not supported");return"value"in o&&(e[t]=o.value),e}},42048:function(e,t,o){"use strict";var n=o(95753),r=o(28236),i=o(12559),a=o(26875),s=o(57257),l=o(66591),c=o(57314),u=o(94105),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return a(!r(i.f,e,t),e[t])}},56999:function(e,t,o){"use strict";var n=o(99364),r=o(57257),i=o(52705).f,a=o(19912),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==n(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(r(e))}},52705:function(e,t,o){"use strict";var n=o(52021),r=o(81369).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},52376:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},29423:function(e,t,o){"use strict";var n=o(57314),r=o(20927),i=o(63097),a=o(99419),s=o(68753),l=a("IE_PROTO"),c=Object,u=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(n(t,l))return t[l];var o=t.constructor;return r(o)&&t instanceof o?o.prototype:t instanceof c?u:null}},36960:function(e,t,o){"use strict";var n=o(44352);e.exports=n({}.isPrototypeOf)},52021:function(e,t,o){"use strict";var n=o(44352),r=o(57314),i=o(57257),a=o(48675).indexOf,s=o(19742),l=n([].push);e.exports=function(e,t){var o,n=i(e),c=0,u=[];for(o in n)!r(s,o)&&r(n,o)&&l(u,o);for(;t.length>c;)r(n,o=t[c++])&&(~a(u,o)||l(u,o));return u}},50552:function(e,t,o){"use strict";var n=o(52021),r=o(81369);e.exports=Object.keys||function(e){return n(e,r)}},12559:function(e,t){"use strict";var o={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!o.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:o},87310:function(e,t,o){"use strict";var n=o(44352),r=o(29457),i=o(51476);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(o,[]),t=o instanceof Array}catch(e){}return function(o,n){return r(o),i(n),t?e(o,n):o.__proto__=n,o}}():void 0)},17694:function(e,t,o){"use strict";var n=o(75816),r=o(86829);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},18926:function(e,t,o){"use strict";var n=o(28236),r=o(20927),i=o(52160),a=TypeError;e.exports=function(e,t){var o,s;if("string"===t&&r(o=e.toString)&&!i(s=n(o,e)))return s;if(r(o=e.valueOf)&&!i(s=n(o,e)))return s;if("string"!==t&&r(o=e.toString)&&!i(s=n(o,e)))return s;throw a("Can't convert object to primitive value")}},7097:function(e,t,o){"use strict";var n=o(77791),r=o(44352),i=o(52705),a=o(52376),s=o(29457),l=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),o=a.f;return o?l(t,o(e)):t}},13071:function(e,t,o){"use strict";var n=o(87825);e.exports=n},18587:function(e,t,o){"use strict";var n=o(84956),r=TypeError;e.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}},74177:function(e,t,o){"use strict";var n=o(65132).f,r=o(57314),i=o(12304)("toStringTag");e.exports=function(e,t,o){e&&!o&&(e=e.prototype),e&&!r(e,i)&&n(e,i,{configurable:!0,value:t})}},99419:function(e,t,o){"use strict";var n=o(43432),r=o(97018),i=n("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},5023:function(e,t,o){"use strict";var n=o(87825),r=o(71695),i="__core-js_shared__",a=n[i]||r(i,{});e.exports=a},43432:function(e,t,o){"use strict";var n=o(6325),r=o(5023);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},36506:function(e,t,o){"use strict";var n=o(44352),r=o(28734),i=o(24111),a=o(18587),s=n("".charAt),l=n("".charCodeAt),c=n("".slice),u=function(e){return function(t,o){var n,u,d=i(a(t)),p=r(o),f=d.length;return 0>p||p>=f?e?"":void 0:55296>(n=l(d,p))||n>56319||p+1===f||56320>(u=l(d,p+1))||u>57343?e?s(d,p):n:e?c(d,p,p+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},25391:function(e,t,o){"use strict";var n=o(46816),r=o(43913);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&41>n}))},60130:function(e,t,o){"use strict";var n=o(28236),r=o(77791),i=o(12304),a=o(87395);e.exports=function(){var e=r("Symbol"),t=e&&e.prototype,o=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return n(o,this)}),{arity:1})}},24983:function(e,t,o){"use strict";var n=o(25391);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},74475:function(e,t,o){"use strict";var n=o(28734),r=Math.max,i=Math.min;e.exports=function(e,t){var o=n(e);return 0>o?r(o+t,0):i(o,t)}},57257:function(e,t,o){"use strict";var n=o(62250),r=o(18587);e.exports=function(e){return n(r(e))}},28734:function(e,t,o){"use strict";var n=o(17865);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},54762:function(e,t,o){"use strict";var n=o(28734),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},63097:function(e,t,o){"use strict";var n=o(18587),r=Object;e.exports=function(e){return r(n(e))}},29722:function(e,t,o){"use strict";var n=o(28236),r=o(52160),i=o(60575),a=o(9489),s=o(18926),l=o(12304),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var o,l=a(e,u);if(l){if(void 0===t&&(t="default"),o=n(l,e,t),!r(o)||i(o))return o;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},66591:function(e,t,o){"use strict";var n=o(29722),r=o(60575);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},75816:function(e,t,o){"use strict";var n={};n[o(12304)("toStringTag")]="z",e.exports="[object z]"===String(n)},24111:function(e,t,o){"use strict";var n=o(86829),r=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},98495:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},97018:function(e,t,o){"use strict";var n=o(44352),r=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+i,36)}},63776:function(e,t,o){"use strict";var n=o(25391);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},40325:function(e,t,o){"use strict";var n=o(95753),r=o(43913);e.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},44286:function(e,t,o){"use strict";var n=o(87825),r=o(20927),i=n.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},39746:function(e,t,o){"use strict";var n=o(13071),r=o(57314),i=o(94931),a=o(65132).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});r(t,e)||a(t,e,{value:i.f(e)})}},94931:function(e,t,o){"use strict";var n=o(12304);t.f=n},12304:function(e,t,o){"use strict";var n=o(87825),r=o(43432),i=o(57314),a=o(97018),s=o(25391),l=o(63776),c=r("wks"),u=n.Symbol,d=u&&u.for,p=l?u:u&&u.withoutSetter||a;e.exports=function(e){if(!i(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;c[e]=s&&i(u,e)?u[e]:l&&d?d(t):p(t)}return c[e]}},13790:function(e,t,o){"use strict";var n=o(88391),r=o(43913),i=o(9546),a=o(52160),s=o(63097),l=o(68536),c=o(5371),u=o(30980),d=o(82624),p=o(8890),f=o(12304),h=o(46816),m=f("isConcatSpreadable"),v=h>=51||!r((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),g=p("concat"),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!v||!g},{concat:function(e){var t,o,n,r,i,a=s(this),p=d(a,0),f=0;for(t=-1,n=arguments.length;n>t;t++)if(y(i=-1===t?a:arguments[t]))for(r=l(i),c(f+r),o=0;r>o;o++,f++)o in i&&u(p,f,i[o]);else c(f+1),u(p,f++,i);return p.length=f,p}})},51050:function(e,t,o){"use strict";var n=o(88391),r=o(92796).findIndex,i=o(60352),a="findIndex",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},31826:function(e,t,o){"use strict";var n=o(88391),r=o(35416);n({target:"Array",stat:!0,forced:!o(66141)((function(e){Array.from(e)}))},{from:r})},87820:function(e,t,o){"use strict";var n=o(88391),r=o(77791),i=o(8750),a=o(28236),s=o(44352),l=o(43913),c=o(9546),u=o(20927),d=o(52160),p=o(60575),f=o(5731),h=o(25391),m=r("JSON","stringify"),v=s(/./.exec),g=s("".charAt),y=s("".charCodeAt),b=s("".replace),_=s(1..toString),w=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,C=/^[\uDC00-\uDFFF]$/,j=!h||l((function(){var e=r("Symbol")();return"[null]"!=m([e])||"{}"!=m({a:e})||"{}"!=m(Object(e))})),k=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),x=function(e,t){var o=f(arguments),n=t;if((d(t)||void 0!==e)&&!p(e))return c(t)||(t=function(e,t){if(u(n)&&(t=a(n,this,e,t)),!p(t))return t}),o[1]=t,i(m,null,o)},E=function(e,t,o){var n=g(o,t-1),r=g(o,t+1);return v(S,e)&&!v(C,r)||v(C,e)&&!v(S,n)?"\\u"+_(y(e,0),16):e};m&&n({target:"JSON",stat:!0,arity:3,forced:j||k},{stringify:function(e,t,o){var n=f(arguments),r=i(j?x:m,null,n);return k&&"string"==typeof r?b(r,w,E):r}})},44185:function(e,t,o){"use strict";var n=o(87825);o(74177)(n.JSON,"JSON",!0)},41584:function(e,t,o){"use strict";o(74177)(Math,"Math",!0)},68787:function(e,t,o){"use strict";var n=o(88391),r=o(25391),i=o(43913),a=o(52376),s=o(63097);n({target:"Object",stat:!0,forced:!r||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},21562:function(e,t,o){"use strict";var n=o(75816),r=o(87395),i=o(17694);n||r(Object.prototype,"toString",i,{unsafe:!0})},39818:function(e,t,o){"use strict";var n=o(88391),r=o(87825),i=o(74177);n({global:!0},{Reflect:{}}),i(r.Reflect,"Reflect",!0)},6313:function(e,t,o){"use strict";var n=o(36506).charAt,r=o(24111),i=o(91616),a=o(72927),s=o(6672),l="String Iterator",c=i.set,u=i.getterFor(l);a(String,"String",(function(e){c(this,{type:l,string:r(e),index:0})}),(function(){var e,t=u(this),o=t.string,r=t.index;return o.length>r?(e=n(o,r),t.index+=e.length,s(e,!1)):s(void 0,!0)}))},90979:function(e,t,o){"use strict";o(39746)("asyncIterator")},38297:function(e,t,o){"use strict";var n=o(88391),r=o(87825),i=o(28236),a=o(44352),s=o(6325),l=o(95753),c=o(25391),u=o(43913),d=o(57314),p=o(36960),f=o(29457),h=o(57257),m=o(66591),v=o(24111),g=o(26875),y=o(44013),b=o(50552),_=o(52705),w=o(56999),S=o(52376),C=o(42048),j=o(65132),k=o(26563),x=o(12559),E=o(87395),P=o(43432),I=o(99419),T=o(19742),O=o(97018),M=o(12304),D=o(94931),z=o(39746),A=o(60130),L=o(74177),N=o(91616),B=o(92796).forEach,R=I("hidden"),q="Symbol",F=N.set,H=N.getterFor(q),V=Object.prototype,W=r.Symbol,U=W&&W.prototype,Y=r.TypeError,G=r.QObject,K=C.f,X=j.f,J=w.f,$=x.f,Z=a([].push),Q=P("symbols"),ee=P("op-symbols"),te=P("wks"),oe=!G||!G.prototype||!G.prototype.findChild,ne=l&&u((function(){return 7!=y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(e,t,o){var n=K(V,t);n&&delete V[t],X(e,t,o),n&&e!==V&&X(V,t,n)}:X,re=function(e,t){var o=Q[e]=y(U);return F(o,{type:q,tag:e,description:t}),l||(o.description=t),o},ie=function(e,t,o){e===V&&ie(ee,t,o),f(e);var n=m(t);return f(o),d(Q,n)?(o.enumerable?(d(e,R)&&e[R][n]&&(e[R][n]=!1),o=y(o,{enumerable:g(0,!1)})):(d(e,R)||X(e,R,g(1,{})),e[R][n]=!0),ne(e,n,o)):X(e,n,o)},ae=function(e,t){f(e);var o=h(t),n=b(o).concat(ue(o));return B(n,(function(t){l&&!i(se,o,t)||ie(e,t,o[t])})),e},se=function(e){var t=m(e),o=i($,this,t);return!(this===V&&d(Q,t)&&!d(ee,t))&&(!(o||!d(this,t)||!d(Q,t)||d(this,R)&&this[R][t])||o)},le=function(e,t){var o=h(e),n=m(t);if(o!==V||!d(Q,n)||d(ee,n)){var r=K(o,n);return!r||!d(Q,n)||d(o,R)&&o[R][n]||(r.enumerable=!0),r}},ce=function(e){var t=J(h(e)),o=[];return B(t,(function(e){d(Q,e)||d(T,e)||Z(o,e)})),o},ue=function(e){var t=e===V,o=J(t?ee:h(e)),n=[];return B(o,(function(e){!d(Q,e)||t&&!d(V,e)||Z(n,Q[e])})),n};c||(W=function(){if(p(U,this))throw Y("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=O(e),o=function(e){this===V&&i(o,ee,e),d(this,R)&&d(this[R],t)&&(this[R][t]=!1),ne(this,t,g(1,e))};return l&&oe&&ne(V,t,{configurable:!0,set:o}),re(t,e)},E(U=W.prototype,"toString",(function(){return H(this).tag})),E(W,"withoutSetter",(function(e){return re(O(e),e)})),x.f=se,j.f=ie,k.f=ae,C.f=le,_.f=w.f=ce,S.f=ue,D.f=function(e){return re(M(e),e)},l&&(X(U,"description",{configurable:!0,get:function(){return H(this).description}}),s||E(V,"propertyIsEnumerable",se,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),B(b(te),(function(e){z(e)})),n({target:q,stat:!0,forced:!c},{useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?y(e):ae(y(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ce}),A(),L(W,q),T[R]=!0},46386:function(e,t,o){"use strict";var n=o(88391),r=o(95753),i=o(87825),a=o(44352),s=o(57314),l=o(20927),c=o(36960),u=o(24111),d=o(65132).f,p=o(40793),f=i.Symbol,h=f&&f.prototype;if(r&&l(f)&&(!("description"in h)||void 0!==f().description)){var m={},v=function(){var e=1>arguments.length||void 0===arguments[0]?void 0:u(arguments[0]),t=c(h,this)?new f(e):void 0===e?f():f(e);return""===e&&(m[t]=!0),t};p(v,f),v.prototype=h,h.constructor=v;var g="Symbol(test)"==String(f("test")),y=a(h.valueOf),b=a(h.toString),_=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),S=a("".slice);d(h,"description",{configurable:!0,get:function(){var e=y(this);if(s(m,e))return"";var t=b(e),o=g?S(t,7,-1):w(t,_,"$1");return""===o?void 0:o}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},50548:function(e,t,o){"use strict";var n=o(88391),r=o(77791),i=o(57314),a=o(24111),s=o(43432),l=o(24983),c=s("string-to-symbol-registry"),u=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(i(c,t))return c[t];var o=r("Symbol")(t);return c[t]=o,u[o]=t,o}})},58294:function(e,t,o){"use strict";o(39746)("hasInstance")},98177:function(e,t,o){"use strict";o(39746)("isConcatSpreadable")},23544:function(e,t,o){"use strict";o(39746)("iterator")},52398:function(e,t,o){"use strict";o(38297),o(50548),o(7318),o(87820),o(68787)},7318:function(e,t,o){"use strict";var n=o(88391),r=o(57314),i=o(60575),a=o(98495),s=o(43432),l=o(24983),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(r(c,e))return c[e]}})},21882:function(e,t,o){"use strict";o(39746)("matchAll")},44662:function(e,t,o){"use strict";o(39746)("match")},69586:function(e,t,o){"use strict";o(39746)("replace")},76171:function(e,t,o){"use strict";o(39746)("search")},11007:function(e,t,o){"use strict";o(39746)("species")},5053:function(e,t,o){"use strict";o(39746)("split")},48386:function(e,t,o){"use strict";var n=o(39746),r=o(60130);n("toPrimitive"),r()},96565:function(e,t,o){"use strict";var n=o(77791),r=o(39746),i=o(74177);r("toStringTag"),i(n("Symbol"),"Symbol")},13854:function(e,t,o){"use strict";o(39746)("unscopables")},46507:function(e,t,o){"use strict";e.exports=o(57364).polyfill()},57364:function(e,t,o){"use strict";e.exports=function(){function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},n=0,r=void 0,i=void 0,a=function(e,t){f[n]=e,f[n+1]=t,2===(n+=2)&&(i?i(h):b())},s="undefined"!=typeof window?window:void 0,l=s||{},c=l.MutationObserver||l.WebKitMutationObserver,u="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var e=setTimeout;return function(){return e(h,1)}}var f=new Array(1e3);function h(){for(var e=0;n>e;e+=2)(0,f[e])(f[e+1]),f[e]=void 0,f[e+1]=void 0;n=0}var m,v,g,y,b=void 0;function _(e,t){var o=this,n=new this.constructor(C);void 0===n[S]&&z(n);var r=o._state;if(r){var i=arguments[r-1];a((function(){return M(r,n,i,o._result)}))}else T(o,n,e,t);return n}function w(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(C);return x(t,e),t}b=u?function(){return process.nextTick(h)}:c?(v=0,g=new c(h),y=document.createTextNode(""),g.observe(y,{characterData:!0}),function(){y.data=v=++v%2}):d?((m=new MessageChannel).port1.onmessage=h,function(){return m.port2.postMessage(0)}):void 0===s?function(){try{var e=Function("return this")().require("vertx");return void 0!==(r=e.runOnLoop||e.runOnContext)?function(){r(h)}:p()}catch(e){return p()}}():p();var S=Math.random().toString(36).substring(2);function C(){}var j=void 0;function k(t,o,n){o.constructor===t.constructor&&n===_&&o.constructor.resolve===w?function(e,t){1===t._state?P(e,t._result):2===t._state?I(e,t._result):T(t,void 0,(function(t){return x(e,t)}),(function(t){return I(e,t)}))}(t,o):void 0===n?P(t,o):e(n)?function(e,t,o){a((function(e){var n=!1,r=function(o,r,i,a){try{o.call(r,(function(o){n||(n=!0,t!==o?x(e,o):P(e,o))}),(function(t){n||(n=!0,I(e,t))}))}catch(e){return e}}(o,t);!n&&r&&(n=!0,I(e,r))}),e)}(t,o,n):P(t,o)}function x(e,t){if(e===t)I(e,new TypeError("You cannot resolve a promise with itself"));else if(r=typeof(n=t),null===n||"object"!==r&&"function"!==r)P(e,t);else{var o=void 0;try{o=t.then}catch(t){return void I(e,t)}k(e,t,o)}var n,r}function E(e){e._onerror&&e._onerror(e._result),O(e)}function P(e,t){e._state===j&&(e._result=t,e._state=1,0!==e._subscribers.length&&a(O,e))}function I(e,t){e._state===j&&(e._state=2,e._result=t,a(E,e))}function T(e,t,o,n){var r=e._subscribers,i=r.length;e._onerror=null,r[i]=t,r[i+1]=o,r[i+2]=n,0===i&&e._state&&a(O,e)}function O(e){var t=e._subscribers,o=e._state;if(0!==t.length){for(var n=void 0,r=void 0,i=e._result,a=0;t.length>a;a+=3)r=t[a+o],(n=t[a])?M(o,n,r,i):r(i);e._subscribers.length=0}}function M(t,o,n,r){var i=e(n),a=void 0,s=void 0,l=!0;if(i){try{a=n(r)}catch(e){l=!1,s=e}if(o===a)return void I(o,new TypeError("A promises callback cannot return that same promise."))}else a=r;o._state!==j||(i&&l?x(o,a):!1===l?I(o,s):1===t?P(o,a):2===t&&I(o,a))}var D=0;function z(e){e[S]=D++,e._state=void 0,e._result=void 0,e._subscribers=[]}var A=function(){function e(e,o){this._instanceConstructor=e,this.promise=new e(C),this.promise[S]||z(this.promise),t(o)?(this.length=o.length,this._remaining=o.length,this._result=new Array(this.length),0===this.length?P(this.promise,this._result):(this.length=this.length||0,this._enumerate(o),0===this._remaining&&P(this.promise,this._result))):I(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===j&&e.length>t;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var o=this._instanceConstructor,n=o.resolve;if(n===w){var r=void 0,i=void 0,a=!1;try{r=e.then}catch(e){a=!0,i=e}if(r===_&&e._state!==j)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(o===L){var s=new o(C);a?I(s,i):k(s,e,r),this._willSettleAt(s,t)}else this._willSettleAt(new o((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,o){var n=this.promise;n._state===j&&(this._remaining--,2===e?I(n,o):this._result[t]=o),0===this._remaining&&P(n,this._result)},e.prototype._willSettleAt=function(e,t){var o=this;T(e,void 0,(function(e){return o._settledAt(1,t,e)}),(function(e){return o._settledAt(2,t,e)}))},e}(),L=function(){function t(e){this[S]=D++,this._result=this._state=void 0,this._subscribers=[],C!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){x(e,t)}),(function(t){I(e,t)}))}catch(t){I(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var o=this,n=o.constructor;return e(t)?o.then((function(e){return n.resolve(t()).then((function(){return e}))}),(function(e){return n.resolve(t()).then((function(){throw e}))})):o.then(t,t)},t}();return L.prototype.then=_,L.all=function(e){return new A(this,e).promise},L.race=function(e){var o=this;return t(e)?new o((function(t,n){for(var r=e.length,i=0;r>i;i++)o.resolve(e[i]).then(t,n)})):new o((function(e,t){return t(new TypeError("You must pass an array to race."))}))},L.resolve=w,L.reject=function(e){var t=new this(C);return I(t,e),t},L._setScheduler=function(e){i=e},L._setAsap=function(e){a=e},L._asap=a,L.polyfill=function(){var e=void 0;if(void 0!==o.g)e=o.g;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=L},L.Promise=L,L}()},52784:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__classPrivateFieldIn=t.__classPrivateFieldSet=t.__classPrivateFieldGet=t.__importDefault=t.__importStar=t.__makeTemplateObject=t.__asyncValues=t.__asyncDelegator=t.__asyncGenerator=t.__await=t.__spreadArray=t.__spreadArrays=t.__spread=t.__read=t.__values=t.__exportStar=t.__createBinding=t.__generator=t.__awaiter=t.__metadata=t.__param=t.__decorate=t.__rest=t.__assign=t.__extends=void 0;var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},o(e,t)};function n(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],n=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var n,r,i=o.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return a}function i(e){return this instanceof i?(this.v=e,this):new i(e)}t.__extends=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,o=1,n=arguments.length;n>o;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.__assign.apply(this,arguments)},t.__rest=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);n.length>r;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o},t.__decorate=function(e,t,o,n){var r,i=arguments.length,a=3>i?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(3>i?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},t.__param=function(e,t){return function(o,n){t(o,n,e)}},t.__metadata=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},t.__awaiter=function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},t.__generator=function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(o)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(o=1,n&&(r=2&s[0]?n.return:s[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;switch(n=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&r[3]>s[1])){a.label=s[1];break}if(6===s[0]&&r[1]>a.label){a.label=r[1],r=s;break}if(r&&r[2]>a.label){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{o=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},t.__createBinding=Object.create?function(e,t,o,n){void 0===n&&(n=o);var r=Object.getOwnPropertyDescriptor(t,o);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,n,r)}:function(e,t,o,n){void 0===n&&(n=o),e[n]=t[o]},t.__exportStar=function(e,o){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(o,n)||(0,t.__createBinding)(o,e,n)},t.__values=n,t.__read=r,t.__spread=function(){for(var e=[],t=0;arguments.length>t;t++)e=e.concat(r(arguments[t]));return e},t.__spreadArrays=function(){for(var e=0,t=0,o=arguments.length;o>t;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;o>t;t++)for(var i=arguments[t],a=0,s=i.length;s>a;a++,r++)n[r]=i[a];return n},t.__spreadArray=function(e,t,o){if(o||2===arguments.length)for(var n,r=0,i=t.length;i>r;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))},t.__await=i,t.__asyncGenerator=function(e,t,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,r=o.apply(e,t||[]),a=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){r[e]&&(n[e]=function(t){return new Promise((function(o,n){a.push([e,t,o,n])>1||l(e,t)}))})}function l(e,t){try{(o=r[e](t)).value instanceof i?Promise.resolve(o.value.v).then(c,u):d(a[0][2],o)}catch(e){d(a[0][3],e)}var o}function c(e){l("next",e)}function u(e){l("throw",e)}function d(e,t){e(t),a.shift(),a.length&&l(a[0][0],a[0][1])}},t.__asyncDelegator=function(e){var t,o;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,r){t[n]=e[n]?function(t){return(o=!o)?{value:i(e[n](t)),done:"return"===n}:r?r(t):t}:r}},t.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=e[Symbol.asyncIterator];return o?o.call(e):(e=n(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(t){return new Promise((function(n,r){!function(e,t,o,n){Promise.resolve(n).then((function(t){e({value:t,done:o})}),t)}(n,r,(t=e[o](t)).done,t.value)}))}}},t.__makeTemplateObject=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var a=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};t.__importStar=function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&(0,t.__createBinding)(o,e,n);return a(o,e),o},t.__importDefault=function(e){return e&&e.__esModule?e:{default:e}},t.__classPrivateFieldGet=function(e,t,o,n){if("a"===o&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?n:"a"===o?n.call(e):n?n.value:t.get(e)},t.__classPrivateFieldSet=function(e,t,o,n,r){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(e,o):r?r.value=o:t.set(e,o),o},t.__classPrivateFieldIn=function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},733:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var n=o(49940),r=o(49940),i=function(){function e(){this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.editorCssClass=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=1e3,this.useNativeTooltip=!1,this.defaultActionOnPaste=r.INSERT_AS_HTML,this.enter=n.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:n.PARAGRAPH,this.defaultMode=n.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","---","image","table","|","link","\n","brush","paragraph","align","|","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","|","fontsize","---","image","\n","align","undo","redo","|","link","table","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}return Object.defineProperty(e,"defaultOptions",{get:function(){return e.__defaultOptions||(e.__defaultOptions=new e),e.__defaultOptions},enumerable:!1,configurable:!0}),e}();t.Config=i,i.prototype.controls={}},4617:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Async=void 0;var n=o(52784),r=o(15958),i=o(6244),a=o(6395),s=o(22233),l=o(57348),c=o(92845);o(52378);var u=function(){function e(){var e,t,o,n,r=this;this.timers=new Map,this.__callbacks=new Map,this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=null!==(t=null===(e=window.requestIdleCallback)||void 0===e?void 0:e.bind(window))&&void 0!==t?t:function(e,t){var o,n=Date.now();return r.setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})}),null!==(o=null==t?void 0:t.timeout)&&void 0!==o?o:1)},this.cancelIdleCallbackNative=null!==(n=null===(o=window.cancelIdleCallback)||void 0===o?void 0:o.bind(window))&&void 0!==n?n:function(e){r.clearTimeout(e)},this.isDestructed=!1}return e.prototype.delay=function(e){var t=this;return this.promise((function(o){return t.setTimeout(o,e)}))},e.prototype.setTimeout=function(e,t){for(var o=[],i=2;arguments.length>i;i++)o[i-2]=arguments[i];if(this.isDestructed)return 0;var a={};(0,c.isNumber)(t)||(t=(a=t).timeout||0),a.label&&this.clearLabel(a.label);var s=r.setTimeout.apply(void 0,n.__spreadArray([e,t],n.__read(o),!1)),l=a.label||s;return this.timers.set(l,s),this.__callbacks.set(l,e),s},e.prototype.updateTimeout=function(e,t){if(!e||!this.timers.has(e))return null;var o=this.__callbacks.get(e);return this.setTimeout(o,{label:e,timeout:t})},e.prototype.clearLabel=function(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))},e.prototype.clearTimeout=function(e){if((0,l.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)},e.prototype.debounce=function(e,t,o){var l=this;void 0===o&&(o=!1);var c=0,u=!1,d=[],p=function(){for(var t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];if(!u){c=0;var r=e.apply(void 0,n.__spreadArray([],n.__read(t),!1));if(u=!0,d.length){var i=function(){d.forEach((function(e){return e()})),d.length=0};(0,s.isPromise)(r)?r.finally(i):i()}}},f=function(){for(var a=[],s=0;arguments.length>s;s++)a[s]=arguments[s];u=!1,t?(!c&&o&&p.apply(void 0,n.__spreadArray([],n.__read(a),!1)),(0,r.clearTimeout)(c),c=l.setTimeout((function(){return p.apply(void 0,n.__spreadArray([],n.__read(a),!1))}),(0,i.isFunction)(t)?t():t),l.timers.set(e,c)):p.apply(void 0,n.__spreadArray([],n.__read(a),!1))};return(0,a.isPlainObject)(t)&&t.promisify?function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var o=l.promise((function(e){d.push(e)}));return f.apply(void 0,n.__spreadArray([],n.__read(e),!1)),o}:f},e.prototype.throttle=function(e,t,o){var r=this;void 0===o&&(o=!1);var a,s,l,c=null;return function(){for(var o=[],u=0;arguments.length>u;u++)o[u]=arguments[u];a=!0,l=o,t?c||(s=function(){a?(e.apply(void 0,n.__spreadArray([],n.__read(l),!1)),a=!1,c=r.setTimeout(s,(0,i.isFunction)(t)?t():t),r.timers.set(s,c)):c=null})():e.apply(void 0,n.__spreadArray([],n.__read(l),!1))}},e.prototype.promise=function(e){var t=this,o=function(){},n=new Promise((function(n,r){return t.promisesRejections.add(r),o=r,e(n,r)}));return n.finally||(n.finally=function(e){return n.then(e).catch(e),n}),n.finally((function(){t.promisesRejections.delete(o)})).catch((function(){return null})),n.rejectCallback=o,n},e.prototype.promiseState=function(e){var t=this;if(e.status)return e.status;if(!Promise.race)return new Promise((function(o){e.then((function(e){return o("fulfilled"),e}),(function(e){throw o("rejected"),e})),t.setTimeout((function(){o("pending")}),100)}));var o={};return Promise.race([e,o]).then((function(e){return e===o?"pending":"fulfilled"}),(function(){return"rejected"}))},e.prototype.requestIdleCallback=function(e,t){var o=this.requestIdleCallbackNative(e,t);return this.requestsIdle.add(o),o},e.prototype.requestIdlePromise=function(e){var t=this;return this.promise((function(o){var n=t.requestIdleCallback((function(){return o(n)}),e)}))},e.prototype.cancelIdleCallback=function(e){return this.requestsIdle.delete(e),this.cancelIdleCallbackNative(e)},e.prototype.requestAnimationFrame=function(e){var t=requestAnimationFrame(e);return this.requestsRaf.add(t),t},e.prototype.cancelAnimationFrame=function(e){this.requestsRaf.delete(e),cancelAnimationFrame(e)},e.prototype.clear=function(){var e=this;this.requestsIdle.forEach((function(t){return e.cancelIdleCallback(t)})),this.requestsRaf.forEach((function(t){return e.cancelAnimationFrame(t)})),this.timers.forEach((function(t){return(0,r.clearTimeout)(e.timers.get(t))})),this.timers.clear(),this.promisesRejections.forEach((function(e){return e()})),this.promisesRejections.clear()},e.prototype.destruct=function(){this.clear(),this.isDestructed=!0},e}();t.Async=u},94184:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(52784).__exportStar(o(4617),t)},90456:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var n=o(16892),r=o(58706),i=o(20937),a=o(94184),s=new Map,l=function(){function e(){this.async=new a.Async,this.ownerWindow=window,this.__componentStatus=i.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,r.uniqueUid)()}return Object.defineProperty(e.prototype,"componentName",{get:function(){return this.__componentName||(this.__componentName="jodit-"+(0,n.kebabCase)(((0,n.isFunction)(this.className)?this.className():"")||(0,n.getClassName)(this))),this.__componentName},enumerable:!1,configurable:!0}),e.prototype.getFullElName=function(e,t,o){var r=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),r.push("__".concat(e))),t&&(r.push("_",t),r.push("_",(0,n.isVoid)(o)?"true":o.toString())),r.join("")},Object.defineProperty(e.prototype,"ownerDocument",{get:function(){return this.ow.document},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"od",{get:function(){return this.ownerDocument},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ow",{get:function(){return this.ownerWindow},enumerable:!1,configurable:!0}),e.prototype.get=function(e,t){return(0,n.get)(e,t||this)},Object.defineProperty(e.prototype,"isReady",{get:function(){return this.componentStatus===i.STATUSES.ready},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDestructed",{get:function(){return this.componentStatus===i.STATUSES.destructed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInDestruct",{get:function(){return i.STATUSES.beforeDestruct===this.componentStatus||i.STATUSES.destructed===this.componentStatus},enumerable:!1,configurable:!0}),e.prototype.bindDestruct=function(e){var t=this;return e.hookStatus(i.STATUSES.beforeDestruct,(function(){return!t.isInDestruct&&t.destruct()})),this},e.prototype.destruct=function(){this.setStatus(i.STATUSES.destructed),this.async.destruct(),s.get(this)&&s.delete(this)},Object.defineProperty(e.prototype,"componentStatus",{get:function(){return this.__componentStatus},set:function(e){this.setStatus(e)},enumerable:!1,configurable:!0}),e.prototype.setStatus=function(e){return this.setStatusComponent(e,this)},e.prototype.setStatusComponent=function(e,t){if(e!==this.__componentStatus){t===this&&(this.__componentStatus=e);var o=Object.getPrototypeOf(this);o&&(0,n.isFunction)(o.setStatusComponent)&&o.setStatusComponent(e,t);var r=s.get(this),i=null==r?void 0:r[e];i&&i.length&&i.forEach((function(e){return e(t)}))}},e.prototype.hookStatus=function(e,t){var o=s.get(this);o||s.set(this,o={}),o[e]||(o[e]=[]),o[e].push(t)},e.isInstanceOf=function(e,t){return e instanceof t},e.STATUSES=i.STATUSES,e}();t.Component=l},68311:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(20937),t),n.__exportStar(o(90456),t),n.__exportStar(o(56773),t)},20937:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STATUSES=void 0,t.STATUSES={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},56773:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewComponent=void 0;var n=o(52784),r=function(e){function t(t){var o=e.call(this)||this;return o.setParentView(t),o}return n.__extends(t,e),Object.defineProperty(t.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return this.j.defaultTimeout},enumerable:!1,configurable:!0}),t.prototype.i18n=function(e){for(var t,o=[],r=1;arguments.length>r;r++)o[r-1]=arguments[r];return(t=this.j).i18n.apply(t,n.__spreadArray([e],n.__read(o),!1))},t.prototype.setParentView=function(e){return this.jodit=e,e.components.add(this),this},t.prototype.destruct=function(){return this.j.components.delete(this),e.prototype.destruct.call(this)},t}(o(90456).Component);t.ViewComponent=r},49940:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLIPBOARD_ID=t.lang=t.TEMP_ATTR=t.BASE_PATH=t.KEY_ALIASES=t.IS_MAC=t.SAFE_COUNT_CHANGE_CALL=t.INSERT_ONLY_TEXT=t.INSERT_AS_TEXT=t.INSERT_CLEAR_HTML=t.INSERT_AS_HTML=t.EMULATE_DBLCLICK_TIMEOUT=t.MARKER_CLASS=t.TEXT_RTF=t.TEXT_HTML=t.TEXT_PLAIN=t.IS_IE=t.MODE_SPLIT=t.MODE_SOURCE=t.MODE_WYSIWYG=t.PARAGRAPH=t.BR=t.COMMAND_KEYS=t.ACCURACY=t.NEARBY=t.KEY_F3=t.KEY_DELETE=t.KEY_SPACE=t.KEY_DOWN=t.KEY_RIGHT=t.KEY_UP=t.KEY_LEFT=t.KEY_ALT=t.KEY_ESC=t.KEY_ENTER=t.KEY_TAB=t.KEY_BACKSPACE=t.KEY_META=t.MAY_BE_REMOVED_WITH_KEY=t.INSEPARABLE_TAGS=t.IS_INLINE=t.IS_BLOCK=t.SPACE_REG_EXP_END=t.SPACE_REG_EXP_START=t.SPACE_REG_EXP=t.INVISIBLE_SPACE_REG_EXP_START=t.INVISIBLE_SPACE_REG_EXP_END=t.INVISIBLE_SPACE_REG_EXP=t.NBSP_SPACE=t.INVISIBLE_SPACE=void 0,t.SOURCE_CONSUMER=void 0,t.INVISIBLE_SPACE="\ufeff",t.NBSP_SPACE=" ",t.INVISIBLE_SPACE_REG_EXP=function(){return/[\uFEFF]/g},t.INVISIBLE_SPACE_REG_EXP_END=function(){return/[\uFEFF]+$/g},t.INVISIBLE_SPACE_REG_EXP_START=function(){return/^[\uFEFF]+/g},t.SPACE_REG_EXP=function(){return/[\s\n\t\r\uFEFF\u200b]+/g},t.SPACE_REG_EXP_START=function(){return/^[\s\n\t\r\uFEFF\u200b]+/g},t.SPACE_REG_EXP_END=function(){return/[\s\n\t\r\uFEFF\u200b]+$/g},t.IS_BLOCK=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,t.INSEPARABLE_TAGS=["img","br","video","iframe","script","input","textarea","hr","link","jodit","jodit-media"],t.MAY_BE_REMOVED_WITH_KEY=RegExp("^".concat(t.INSEPARABLE_TAGS.join("|"),"$"),"i"),t.KEY_META="Meta",t.KEY_BACKSPACE="Backspace",t.KEY_TAB="Tab",t.KEY_ENTER="Enter",t.KEY_ESC="Escape",t.KEY_ALT="Alt",t.KEY_LEFT="ArrowLeft",t.KEY_UP="ArrowUp",t.KEY_RIGHT="ArrowRight",t.KEY_DOWN="ArrowDown",t.KEY_SPACE="Space",t.KEY_DELETE="Delete",t.KEY_F3="F3",t.NEARBY=5,t.ACCURACY=10,t.COMMAND_KEYS=[t.KEY_META,t.KEY_BACKSPACE,t.KEY_DELETE,t.KEY_UP,t.KEY_DOWN,t.KEY_RIGHT,t.KEY_LEFT,t.KEY_ENTER,t.KEY_ESC,t.KEY_F3,t.KEY_TAB],t.BR="br",t.PARAGRAPH="p",t.MODE_WYSIWYG=1,t.MODE_SOURCE=2,t.MODE_SPLIT=3,t.IS_IE="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),t.TEXT_PLAIN=t.IS_IE?"text":"text/plain",t.TEXT_HTML=t.IS_IE?"html":"text/html",t.TEXT_RTF=t.IS_IE?"rtf":"text/rtf",t.MARKER_CLASS="jodit-selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.INSERT_AS_HTML="insert_as_html",t.INSERT_CLEAR_HTML="insert_clear_html",t.INSERT_AS_TEXT="insert_as_text",t.INSERT_ONLY_TEXT="insert_only_text",t.SAFE_COUNT_CHANGE_CALL=10,t.IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),t.KEY_ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t.IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},t.BASE_PATH=function(){if("undefined"==typeof document)return"";var e=document.currentScript,t=function(e){var t=e.split("/");return/\.js/.test(t[t.length-1])?t.slice(0,t.length-1).join("/")+"/":e};if(e)return t(e.src);var o=document.querySelectorAll("script[src]");return o&&o.length?t(o[o.length-1].src):window.location.href}(),t.TEMP_ATTR="data-jodit-temp",t.lang={},t.CLIPBOARD_ID="clipboard",t.SOURCE_CONSUMER="source-consumer"},21253:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Create=void 0;var n=o(16892);o(52378);var r=o(96582),i=o(49940),a=function(){function e(e,t){this.document=e,this.createAttributes=t}return Object.defineProperty(e.prototype,"doc",{get:function(){return(0,n.isFunction)(this.document)?this.document():this.document},enumerable:!1,configurable:!0}),e.prototype.element=function(e,t,o){var r=this,i=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(i),t&&((0,n.isPlainObject)(t)?(0,n.attr)(i,t):o=t),o&&(0,n.asArray)(o).forEach((function(e){return i.appendChild((0,n.isString)(e)?r.fromHTML(e):e)})),i},e.prototype.div=function(e,t,o){var n=this.element("div",t,o);return e&&(n.className=e),n},e.prototype.sandbox=function(){var e,t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);var o=null===(e=t.contentWindow)||void 0===e?void 0:e.document;if(!o)throw Error("Iframe error");return o.open(),o.write("<!DOCTYPE html><html><head></head><body></body></html>"),o.close(),o.body},e.prototype.span=function(e,t,o){var n=this.element("span",t,o);return e&&(n.className=e),n},e.prototype.a=function(e,t,o){var n=this.element("a",t,o);return e&&(n.className=e),n},e.prototype.text=function(e){return this.doc.createTextNode(e)},e.prototype.fake=function(){return this.text(i.INVISIBLE_SPACE)},e.prototype.fragment=function(){return this.doc.createDocumentFragment()},e.prototype.fromHTML=function(e,t){var o=this.div();o.innerHTML=e.toString();var i=o.firstChild===o.lastChild&&o.firstChild?o.firstChild:o;if(r.Dom.safeRemove(i),t){var a=(0,n.refs)(i);Object.keys(t).forEach((function(e){var o=a[e];o&&!1===t[e]&&r.Dom.hide(o)}))}return i},e.prototype.applyCreateAttributes=function(e){if(this.createAttributes){var t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){var o=t[e.tagName.toLowerCase()];(0,n.isFunction)(o)?o(e):(0,n.isPlainObject)(o)&&(0,n.attr)(e,o)}}},e}();t.Create=a},18319:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(52784).__exportStar(o(21253),t)},47625:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cache=void 0;var n=o(16892);t.cache=function(e,t,o){var r=o.get;if(!r)throw(0,n.error)("Getter property descriptor expected");o.get=function(){var e=r.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:o.configurable,enumerable:o.enumerable,writable:!1,value:e}),e}}},9119:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.component=void 0;var n=o(52784);t.component=function(e){var t=function(e){function t(){for(var o=[],r=0;arguments.length>r;r++)o[r]=arguments[r];var i=e.apply(this,n.__spreadArray([],n.__read(o),!1))||this,a=i.constructor===t;return a&&(i instanceof t||Object.setPrototypeOf(i,t.prototype),i.setStatus("ready")),i}return n.__extends(t,e),t}(e);return t}},23218:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.debounce=void 0;var n=o(74699),r=o(68311),i=o(65422);function a(e,t,o){return void 0===t&&(t=!1),void 0===o&&(o="debounce"),function(a,s){var l=a[s];if(!(0,n.isFunction)(l))throw(0,i.error)("Handler must be a Function");return a.hookStatus(r.STATUSES.ready,(function(r){var i=r.async,a=(0,n.isFunction)(e)?e(r):e;Object.defineProperty(r,s,{configurable:!0,value:i[o](r[s].bind(r),(0,n.isNumber)(a)||(0,n.isPlainObject)(a)?a:r.defaultTimeout,t)})})),{configurable:!0,get:function(){return l.bind(this)}}}}o(52378),t.debounce=a,t.throttle=function(e,t){return void 0===t&&(t=!1),a(e,t,"throttle")}},4961:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.derive=void 0;var n=o(52784),r=o(74699);t.derive=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return function(t){for(var o=t.prototype,i=0;e.length>i;i++)for(var a=e[i],s=Object.getOwnPropertyNames(a.prototype),l=function(e){var t=s[e],i=Object.getOwnPropertyDescriptor(a.prototype,t);null!=i&&(0,r.isFunction)(i.value)&&!(0,r.isFunction)(o[t])&&Object.defineProperty(o,t,{enumerable:!0,configurable:!0,writable:!0,value:function(){for(var e,t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];return(e=i.value).call.apply(e,n.__spreadArray([this],n.__read(t),!1))}})},c=0;s.length>c;c++)l(c)}}},85324:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hook=void 0;var n=o(74699),r=o(65422);t.hook=function(e){return function(t,o){if(!(0,n.isFunction)(t[o]))throw(0,r.error)("Handler must be a Function");t.hookStatus(e,(function(e){e[o].call(e)}))}}},71314:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idle=void 0;var n=o(52784),r=o(68311),i=o(16892);t.idle=function(){return function(e,t){if(!(0,i.isFunction)(e[t]))throw(0,i.error)("Handler must be a Function");e.hookStatus(r.STATUSES.ready,(function(e){var o=e.async,r=e[t];e[t]=function(){for(var t=[],i=0;arguments.length>i;i++)t[i]=arguments[i];return o.requestIdleCallback(r.bind.apply(r,n.__spreadArray([e],n.__read(t),!1)))}}))}}},51923:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autobind=void 0;var n=o(52784);n.__exportStar(o(47625),t),n.__exportStar(o(9119),t),n.__exportStar(o(23218),t),n.__exportStar(o(71314),t),n.__exportStar(o(85324),t),n.__exportStar(o(81041),t),n.__exportStar(o(73896),t),n.__exportStar(o(96074),t),n.__exportStar(o(31501),t),n.__exportStar(o(4961),t);var r=o(71399);Object.defineProperty(t,"autobind",{enumerable:!0,get:function(){return r.default}})},81041:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonenumerable=void 0,t.nonenumerable=function(e,t){!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set:function(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},73896:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.persistent=void 0;var n=o(68311),r=o(90412);t.persistent=function(e,t){e.hookStatus(n.STATUSES.ready,(function(e){var o=(0,r.isViewObject)(e)?e:e.jodit,n="".concat(o.options.namespace).concat(e.componentName,"_prop_").concat(t),i=e[t];Object.defineProperty(e,t,{get:function(){var e;return null!==(e=o.storage.get(n))&&void 0!==e?e:i},set:function(e){o.storage.set(n,e)}})}))}},96074:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wait=void 0;var n=o(52784),r=o(16892),i=o(68311);t.wait=function(e){return function(t,o){if(!(0,r.isFunction)(t[o]))throw(0,r.error)("Handler must be a Function");t.hookStatus(i.STATUSES.ready,(function(t){var r=t.async,i=t[o],a=0;Object.defineProperty(t,o,{configurable:!0,value:function o(){for(var s=[],l=0;arguments.length>l;l++)s[l]=arguments[l];r.clearTimeout(a),e(t)?i.apply(t,s):a=r.setTimeout((function(){return o.apply(void 0,n.__spreadArray([],n.__read(s),!1))}),10)}})}))}}},31501:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watch=t.getPropertyDescriptor=void 0;var n=o(52784),r=o(6244),i=o(6395),a=o(90412),s=o(71419),l=o(20937),c=o(65735),u=o(65422);function d(e,t){var o;do{o=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!o&&e);return o}function p(e,t){return function(o,p){if(!(0,r.isFunction)(o[p]))throw(0,u.error)("Handler must be a Function");var f=function(l){var u=function(e){for(var t,o=[],r=1;arguments.length>r;r++)o[r-1]=arguments[r];if(!l.isInDestruct)return(t=l)[p].apply(t,n.__spreadArray([e],n.__read(o),!1))};(0,c.splitArray)(e).forEach((function(e){if(/:/.test(e)){var c=n.__read(e.split(":"),2),p=c[0],f=c[1],h=t,m=(0,a.isViewObject)(l)?l:l.jodit;return p.length&&(h=l.get(p)),(0,r.isFunction)(h)&&(h=h(l)),m.events.on(h||l,f,u),h||m.events.on(f,u),void l.hookStatus("beforeDestruct",(function(){m.events.off(h||l,f,u).off(f,u)}))}var v=e.split("."),g=n.__read(v,1)[0],y=v.slice(1),b=l[g];(0,i.isPlainObject)(b)&&(0,s.observable)(b).on("change.".concat(y.join(".")),u);var _=d(o,g);Object.defineProperty(l,g,{configurable:!0,set:function(e){var t=b;t!==e&&(b=e,_&&_.set&&_.set.call(l,e),(0,i.isPlainObject)(b)&&(b=(0,s.observable)(b)).on("change.".concat(y.join(".")),u),u(g,t,b))},get:function(){return _&&_.get?_.get.call(l):b}})}))};(0,r.isFunction)(o.hookStatus)?o.hookStatus(l.STATUSES.ready,f):f(o)}}t.getPropertyDescriptor=d,t.watch=p,t.default=p},12815:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dom=void 0;var n=o(52784),r=o(49940),i=o(16892),a=o(60039),s=o(49940),l=function(){function e(){}return e.detach=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},e.wrapInline=function(t,o,n){var r,a=t,s=t;n.s.save();var l=!1;do{l=!1,(r=a.previousSibling)&&!e.isBlock(r)&&(l=!0,a=r)}while(l);do{l=!1,(r=s.nextSibling)&&!e.isBlock(r)&&(l=!0,s=r)}while(l);var c=(0,i.isString)(o)?n.createInside.element(o):o;a.parentNode&&a.parentNode.insertBefore(c,a);for(var u=a;u&&(u=a.nextSibling,c.appendChild(a),a!==s&&u);)a=u;return n.s.restore(),c},e.wrap=function(t,o,n){var r=(0,i.isString)(o)?n.element(o):o;if(e.isNode(t)){if(!t.parentNode)throw(0,i.error)("Element should be in DOM");t.parentNode.insertBefore(r,t),r.appendChild(t)}else{var a=t.extractContents();t.insertNode(r),r.appendChild(a)}return r},e.unwrap=function(t){var o=t.parentNode;if(o){for(;t.firstChild;)o.insertBefore(t.firstChild,t);e.safeRemove(t)}},e.between=function(e,t,o){for(var n=e;n&&n!==t&&(e===n||!o(n));){var r=n.firstChild||n.nextSibling;if(!r){for(;n&&!n.nextSibling;)n=n.parentNode;r=null==n?void 0:n.nextSibling}n=r}},e.replace=function(t,o,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!1),(0,i.isHTML)(o)&&(o=n.fromHTML(o));var s=(0,i.isString)(o)?n.element(o):o;if(!a)for(;t.firstChild;)s.appendChild(t.firstChild);return r&&e.isElement(t)&&e.isElement(s)&&(0,i.toArray)(t.attributes).forEach((function(e){s.setAttribute(e.name,e.value)})),t.parentNode&&t.parentNode.replaceChild(s,t),s},e.isEmptyTextNode=function(t){return e.isText(t)&&(!t.nodeValue||0===t.nodeValue.replace(r.INVISIBLE_SPACE_REG_EXP(),"").trim().length)},e.isEmptyContent=function(t){return e.each(t,(function(t){return e.isEmptyTextNode(t)}))},e.isContentEditable=function(t,o){return e.isNode(t)&&!e.closest(t,(function(t){return e.isElement(t)&&"false"===t.getAttribute("contenteditable")}),o)},e.isEmpty=function(t,o){return void 0===o&&(o=/^(img|svg|canvas|input|textarea|form)$/),!t||(e.isText(t)?null==t.nodeValue||0===(0,i.trim)(t.nodeValue).length:!o.test(t.nodeName.toLowerCase())&&e.each(t,(function(t){if(e.isText(t)&&null!=t.nodeValue&&0!==(0,i.trim)(t.nodeValue).length||e.isElement(t)&&o.test(t.nodeName.toLowerCase()))return!1})))},e.isNode=function(e){return Boolean(e&&(0,i.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,i.isFunction)(e.appendChild))},e.isCell=function(t){return e.isNode(t)&&/^(td|th)$/i.test(t.nodeName)},e.isImage=function(t){return e.isNode(t)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName)},e.isBlock=function(t){return!(0,i.isVoid)(t)&&"object"==typeof t&&e.isNode(t)&&r.IS_BLOCK.test(t.nodeName)},e.isText=function(e){return Boolean(e&&e.nodeType===Node.TEXT_NODE)},e.isElement=function(t){var o;if(!e.isNode(t))return!1;var n=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return Boolean(n&&t.nodeType===Node.ELEMENT_NODE)},e.isFragment=function(t){var o;if(!e.isNode(t))return!1;var n=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return Boolean(n&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)},e.isHTMLElement=function(t){var o;if(!e.isNode(t))return!1;var n=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return Boolean(n&&t instanceof n.HTMLElement)},e.isInlineBlock=function(t){return e.isElement(t)&&!/^(BR|HR)$/i.test(t.tagName)&&-1!==["inline","inline-block"].indexOf((0,i.css)(t,"display").toString())},e.canSplitBlock=function(t){return!(0,i.isVoid)(t)&&e.isHTMLElement(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&void 0!==t.style&&!/^(fixed|absolute)/i.test(t.style.position)},e.last=function(e,t){var o=null==e?void 0:e.lastChild;if(!o)return null;do{if(t(o))return o;var n=o.lastChild;if(n||(n=o.previousSibling),!n&&o.parentNode!==e){do{o=o.parentNode}while(o&&!(null==o?void 0:o.previousSibling)&&o.parentNode!==e);n=null==o?void 0:o.previousSibling}o=n}while(o);return null},e.prev=function(t,o,n,r){return void 0===r&&(r=!0),e.find(t,o,n,!1,r)},e.next=function(t,o,n,r){return void 0===r&&(r=!0),e.find(t,o,n,!0,r)},e.prevWithClass=function(t,o){return e.prev(t,(function(t){return e.isElement(t)&&t.classList.contains(o)}),t.parentNode)},e.nextWithClass=function(t,o){return e.next(t,(function(t){return e.isElement(t)&&t.classList.contains(o)}),t.parentNode)},e.find=function(e,t,o,n,r){void 0===n&&(n=!0),void 0===r&&(r=!0);for(var i=this.nextGen(e,o,n,r),a=i.next();!a.done;){if(t(a.value))return a.value;a=i.next()}return null},e.nextGen=function(e,t,o,r){var i,a,s;return void 0===o&&(o=!0),void 0===r&&(r=!0),n.__generator(this,(function(l){switch(l.label){case 0:i=[],a=e,l.label=1;case 1:for(s=o?a.nextSibling:a.previousSibling;s;)i.unshift(s),s=o?s.nextSibling:s.previousSibling;return[5,n.__values(this.runInStack(e,i,o,r))];case 2:l.sent(),a=a.parentNode,l.label=3;case 3:if(a&&a!==t)return[3,1];l.label=4;case 4:return[2,null]}}))},e.each=function(e,t,o){void 0===o&&(o=!0);for(var n=this.eachGen(e,o),r=n.next();!r.done;){if(!1===t(r.value))return!1;r=n.next()}return!0},e.eachGen=function(e,t){return void 0===t&&(t=!0),this.runInStack(e,[e],t)},e.runInStack=function(e,t,o,r){var i,a;return void 0===r&&(r=!0),n.__generator(this,(function(n){switch(n.label){case 0:if(!t.length)return[3,3];if(i=t.pop(),r)for(a=o?i.lastChild:i.firstChild;a;)t.push(a),a=o?a.previousSibling:a.nextSibling;return e===i?[3,2]:[4,i];case 1:n.sent(),n.label=2;case 2:return[3,0];case 3:return[2]}}))},e.findWithCurrent=function(t,o,n,r,i){void 0===r&&(r="nextSibling"),void 0===i&&(i="firstChild");var a=t;do{if(o(a))return a||null;if(i&&a&&a[i]){var s=e.findWithCurrent(a[i],o,a,r,i);if(s)return s}for(;a&&!a[r]&&a!==n;)a=a.parentNode;a&&a[r]&&a!==n&&(a=a[r])}while(a&&a!==n);return null},e.findSibling=function(t,o,n){void 0===o&&(o=!0),void 0===n&&(n=function(t){return!e.isEmptyTextNode(t)});for(var r=e.sibling(t,o);r&&!n(r);)r=e.sibling(r,o);return r&&n(r)?r:null},e.findNotEmptySibling=function(t,o){return e.findSibling(t,o,(function(t){var o;return!e.isEmptyTextNode(t)&&Boolean(!e.isText(t)||(null===(o=t.nodeValue)||void 0===o?void 0:o.length)&&(0,i.trim)(t.nodeValue))}))},e.findNotEmptyNeighbor=function(t,o,n){return(0,i.call)(o?e.prev:e.next,t,(function(t){return Boolean(t&&(!e.isText(t)||(0,i.trim)((null==t?void 0:t.nodeValue)||"").length))}),n)},e.sibling=function(e,t){return t?e.previousSibling:e.nextSibling},e.up=function(e,t,o,n){void 0===n&&(n=!1);var r=e;if(!r)return null;do{if(t(r))return r;if(r===o||!r.parentNode)break;r=r.parentNode}while(r&&r!==o);return r===o&&n&&t(r)?r:null},e.closest=function(t,o,n){var r;return r=(0,i.isFunction)(o)?o:(0,i.isArray)(o)?function(e){return Boolean(e&&o.includes(e.nodeName.toLowerCase()))}:function(e){return Boolean(e&&o===e.nodeName.toLowerCase())},e.up(t,r,n)},e.furthest=function(e,t,o){for(var n=null,r=null==e?void 0:e.parentElement;r&&r!==o;)t(r)&&(n=r),r=null==r?void 0:r.parentElement;return n},e.appendChildFirst=function(e,t){var o=e.firstChild;o?o!==t&&e.insertBefore(t,o):e.appendChild(t)},e.after=function(e,t){var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))},e.before=function(e,t){var o=e.parentNode;o&&o.insertBefore(t,e)},e.prepend=function(e,t){e.insertBefore(t,e.firstChild)},e.append=function(e,t){var o=this;(0,i.isArray)(t)?t.forEach((function(t){o.append(e,t)})):e.appendChild(t)},e.moveContent=function(e,t,o){void 0===o&&(o=!1);var n=(e.ownerDocument||document).createDocumentFragment();(0,i.toArray)(e.childNodes).forEach((function(e){n.appendChild(e)})),o&&t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)},e.isOrContains=function(e,t,o){return void 0===o&&(o=!1),e===t?!o:Boolean(t&&e&&this.up(t,(function(t){return t===e}),e,!0))},e.safeRemove=function(){for(var t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];t.forEach((function(t){return e.isNode(t)&&t.parentNode&&t.parentNode.removeChild(t)}))},e.safeInsertNode=function(t,o){t.collapsed||t.deleteContents(),t.insertNode(o),[o.nextSibling,o.previousSibling].forEach((function(t){return e.isText(t)&&!t.nodeValue&&e.safeRemove(t)}))},e.hide=function(e){e&&((0,i.dataBind)(e,"__old_display",e.style.display),e.style.display="none")},e.show=function(e){if(e){var t=(0,i.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}},e.isTag=function(e,t){for(var o=(0,i.asArray)(t).map(String),n=0;o.length>n;n+=1)if(this.isElement(e)&&e.tagName.toLowerCase()===o[n].toLowerCase())return!0;return!1},e.markTemporary=function(e,t){return t&&(0,i.attr)(e,t),(0,i.attr)(e,s.TEMP_ATTR,!0),e},e.isTemporary=function(t){return!!e.isElement(t)&&(a.Select.isMarker(t)||"true"===(0,i.attr)(t,s.TEMP_ATTR))},e.replaceTemporaryFromString=function(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")},e.temporaryList=function(e){return(0,i.$$)("[".concat(s.TEMP_ATTR,"]"),e)},e}();t.Dom=l},96582:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(12815),t),n.__exportStar(o(51428),t)},51428:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyWalker=void 0;var n=o(52784),r=o(42440),i=o(51923),a=o(12815),s=function(e){function t(t,o){void 0===o&&(o={});var n=e.call(this)||this;return n.async=t,n.options=o,n.workNodes=null,n.hadAffect=!1,n.isWorked=!1,n.isFinished=!1,n.idleId=0,n}return n.__extends(t,e),t.prototype.setWork=function(e){return this.isWorked&&this.break(),this.workNodes=a.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this},t.prototype.startIdleRequest=function(){var e;this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:null!==(e=this.options.timeout)&&void 0!==e?e:10})},t.prototype.break=function(e){this.isWorked&&(this.stop(),this.emit("break",e))},t.prototype.end=function(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)},t.prototype.stop=function(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)},t.prototype.destruct=function(){e.prototype.destruct.call(this),this.stop()},t.prototype.workPerform=function(e){var t;if(this.workNodes){this.isWorked=!0;for(var o=0,n=null!==(t=this.options.timeoutChunkSize)&&void 0!==t?t:50;!this.isFinished&&(e.timeRemaining()>0||e.didTimeout&&n>=o);){var r=this.workNodes.next();if(o+=1,this.visitNode(r.value)&&(this.hadAffect=!0),r.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()},t.prototype.visitNode=function(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t},n.__decorate([i.autobind],t.prototype,"workPerform",null),t}(r.Eventify);t.LazyWalker=s},96639:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventEmitter=void 0;var n=o(52784),r=o(91441),i=o(57348),a=o(6244),s=o(8356),l=o(65422),c=o(65735),u=function(){function e(e){var t=this;this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=function(e){e.cancelBubble||(e.composed&&(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((function(t){Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})})),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&t.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:function(){return t.__doc.defaultView.clipboardData},configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}return e.prototype.mute=function(e){return this.__mutedEvents.add(null!=e?e:"*"),this},e.prototype.isMuted=function(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")},e.prototype.unmute=function(e){return this.__mutedEvents.delete(null!=e?e:"*"),this},e.prototype.__eachEvent=function(e,t){var o=this;(0,c.splitArray)(e).map((function(e){return e.trim()})).forEach((function(e){var n=e.split(".");t.call(o,n[0],n[1]||r.defaultNameSpace)}))},e.prototype.__getStore=function(e){if(!e)throw(0,l.error)("Need subject");if(void 0===e[this.__key]){var t=new r.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]},e.prototype.__removeStoreFromSubject=function(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})},e.prototype.__triggerNativeEvent=function(e,t){var o=this.__doc.createEvent("HTMLEvents");(0,i.isString)(t)?o.initEvent(t,!0,!0):(o.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((function(e){Object.defineProperty(o,e,{value:t[e],enumerable:!0})})),Object.defineProperty(o,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(o)},Object.defineProperty(e.prototype,"current",{get:function(){return this.currents[this.currents.length-1]},enumerable:!1,configurable:!0}),e.prototype.on=function(e,t,o,r){var c,u,d,p,f=this;if((0,i.isString)(e)||(0,i.isStringArray)(e)?(c=this,u=e,d=t,p=o):(c=e,u=t,d=o,p=r),!(0,i.isString)(u)&&!(0,i.isStringArray)(u)||0===u.length)throw(0,l.error)("Need events names");if(!(0,a.isFunction)(d))throw(0,l.error)("Need event handler");if((0,s.isArray)(c))return c.forEach((function(e){f.on(e,u,d,p)})),this;var h=c,m=this.__getStore(h),v=(0,a.isFunction)(h.addEventListener),g=this,y=function(e){for(var t=[],o=1;arguments.length>o;o++)t[o-1]=arguments[o];if(!g.isMuted(e))return d&&d.call.apply(d,n.__spreadArray([this],n.__read(t),!1))};return v&&(y=function(e){if(!g.isMuted(e.type))return g.__prepareEvent(e),d&&!1===d.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(u,(function(e,t){if(0===e.length)throw(0,l.error)("Need event name");if(!1===m.indexOf(e,t,d)&&(m.set(e,t,{event:e,originalCallback:d,syntheticCallback:y},null==p?void 0:p.top),v)){var o=!!["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"].includes(e)&&{passive:!0};h.addEventListener(e,y,o)}})),this},e.prototype.one=function(e,t,o,r){var a,s,l,c,u=this;(0,i.isString)(e)||(0,i.isStringArray)(e)?(a=this,s=e,l=t,c=o):(a=e,s=t,l=o,c=r);var d=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return u.off(a,s,d),l.apply(void 0,n.__spreadArray([],n.__read(e),!1))};return this.on(a,s,d,c),this},e.prototype.off=function(e,t,o){var n,l,c,u=this;if((0,i.isString)(e)||(0,i.isStringArray)(e)?(n=this,l=e,c=t):(n=e,l=t,c=o),(0,s.isArray)(n))return n.forEach((function(e){u.off(e,l,c)})),this;var d=n,p=this.__getStore(d);if(!(0,i.isString)(l)&&!(0,i.isStringArray)(l)||0===l.length)return p.namespaces().forEach((function(e){u.off(d,"."+e)})),this.__removeStoreFromSubject(d),this;var f=(0,a.isFunction)(d.removeEventListener),h=function(e){f&&d.removeEventListener(e.event,e.syntheticCallback,!1)},m=function(e,t){if(""!==e){var o=p.get(e,t);if(o&&o.length)if((0,a.isFunction)(c)){var n=p.indexOf(e,t,c);!1!==n&&(h(o[n]),o.splice(n,1),o.length||p.clearEvents(t,e))}else o.forEach(h),o.length=0,p.clearEvents(t,e)}else p.events(t).forEach((function(e){""!==e&&m(e,t)}))};return this.__eachEvent(l,(function(e,t){t===r.defaultNameSpace?p.namespaces().forEach((function(t){m(e,t)})):m(e,t)})),p.isEmpty()&&this.__removeStoreFromSubject(d),this},e.prototype.stopPropagation=function(e,t){var o=this,n=(0,i.isString)(e)?this:e,a=(0,i.isString)(e)?e:t;if("string"!=typeof a)throw(0,l.error)("Need event names");var s=this.__getStore(n);this.__eachEvent(a,(function(e,t){var i=s.get(e,t);i&&o.__stopped.push(i),t===r.defaultNameSpace&&s.namespaces(!0).forEach((function(t){return o.stopPropagation(n,e+"."+t)}))}))},e.prototype.__removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}},e.prototype.__isStopped=function(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)},e.prototype.fire=function(e,t){for(var o,s,c=this,u=[],d=2;arguments.length>d;d++)u[d-2]=arguments[d];var p=(0,i.isString)(e)?this:e,f=(0,i.isString)(e)?e:t,h=(0,i.isString)(e)?n.__spreadArray([t],n.__read(u),!1):u,m=(0,a.isFunction)(p.dispatchEvent);if(!m&&!(0,i.isString)(f))throw(0,l.error)("Need events names");var v=this.__getStore(p);return!(0,i.isString)(f)&&m?this.__triggerNativeEvent(p,t):this.__eachEvent(f,(function(e,t){if(m)c.__triggerNativeEvent(p,e);else{var i=v.get(e,t);if(i)try{n.__spreadArray([],n.__read(i),!1).every((function(t){var r;return!c.__isStopped(i)&&(c.currents.push(e),s=(r=t.syntheticCallback).call.apply(r,n.__spreadArray([p,e],n.__read(h),!1)),c.currents.pop(),void 0!==s&&(o=s),!0)}))}finally{c.__removeStop(i)}t!==r.defaultNameSpace||m||v.namespaces().filter((function(e){return e!==t})).forEach((function(t){var r=c.fire.apply(c,n.__spreadArray([p,e+"."+t],n.__read(h),!1));void 0!==r&&(o=r)}))}})),o},e.prototype.destruct=function(){this.__isDestructed&&(this.__isDestructed=!0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))},e}();t.EventEmitter=u},42440:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eventify=void 0;var n=o(52784),r=function(){function e(){this.__map=new Map}return e.prototype.on=function(e,t){var o;return this.__map.has(e)||this.__map.set(e,new Set),null===(o=this.__map.get(e))||void 0===o||o.add(t),this},e.prototype.off=function(e,t){var o;return this.__map.has(e)&&(null===(o=this.__map.get(e))||void 0===o||o.delete(t)),this},e.prototype.destruct=function(){this.__map.clear()},e.prototype.emit=function(e){for(var t,o,r=[],i=1;arguments.length>i;i++)r[i-1]=arguments[i];return this.__map.has(e)&&(null===(t=this.__map.get(e))||void 0===t||t.forEach((function(e){o=e.apply(void 0,n.__spreadArray([],n.__read(r),!1))}))),o},e}();t.Eventify=r},57083:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(96639),t),n.__exportStar(o(42440),t),n.__exportStar(o(71419),t),n.__exportStar(o(91441),t)},71419:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0;var n=o(52784),r=o(8356),i=o(33686),a=o(6395),s=o(31501),l=Symbol("observable-object");function c(e){return void 0!==e[l]}t.observable=function(e){if(c(e))return e;var t={},o={},u=function(t,n){return(0,r.isArray)(t)?(t.map((function(e){return u(e,n)})),e):(o[t]||(o[t]=[]),o[t].push(n),e)},d=function(i){for(var a=[],s=1;arguments.length>s;s++)a[s-1]=arguments[s];if((0,r.isArray)(i))i.map((function(e){return d.apply(void 0,n.__spreadArray([e],n.__read(a),!1))}));else try{!t[i]&&o[i]&&(t[i]=!0,o[i].forEach((function(t){return t.call.apply(t,n.__spreadArray([e],n.__read(a),!1))})))}finally{t[i]=!1}},p=function(t,o){void 0===o&&(o=[]);var r={};c(t)||(Object.defineProperty(t,l,{enumerable:!1,value:!0}),Object.keys(t).forEach((function(l){var c=l,u=o.concat(c).filter((function(e){return e.length}));r[c]=t[c];var f=(0,s.getPropertyDescriptor)(t,c);Object.defineProperty(t,c,{set:function(t){var o=r[c];if(!(0,i.isFastEqual)(r[c],t)){d(["beforeChange","beforeChange.".concat(u.join("."))],c,t),(0,a.isPlainObject)(t)&&p(t,u),f&&f.set?f.set.call(e,t):r[c]=t;var s=[];d(n.__spreadArray(["change"],n.__read(u.reduce((function(e,t){return s.push(t),e.push("change.".concat(s.join("."))),e}),[])),!1),u.join("."),o,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:function(){return f&&f.get?f.get.call(e):r[c]},enumerable:!0,configurable:!0}),(0,a.isPlainObject)(r[c])&&p(r[c],u)})),Object.defineProperty(e,"on",{value:u}))};return p(e),e}},91441:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlersStore=t.defaultNameSpace=void 0,o(52378);var n=o(62507);t.defaultNameSpace="JoditEventDefaultNamespace";var r=function(){function e(){this.__store=new Map}return e.prototype.get=function(e,t){if(this.__store.has(t))return this.__store.get(t)[e]},e.prototype.indexOf=function(e,t,o){var n=this.get(e,t);if(n)for(var r=0;n.length>r;r+=1)if(n[r].originalCallback===o)return r;return!1},e.prototype.namespaces=function(e){void 0===e&&(e=!1);var o=(0,n.toArray)(this.__store.keys());return e?o.filter((function(e){return e!==t.defaultNameSpace})):o},e.prototype.events=function(e){var t=this.__store.get(e);return t?Object.keys(t):[]},e.prototype.set=function(e,t,o,n){void 0===n&&(n=!1);var r=this.__store.get(t);r||this.__store.set(t,r={}),void 0===r[e]&&(r[e]=[]),n?r[e].unshift(o):r[e].push(o)},e.prototype.clear=function(){this.__store.clear()},e.prototype.clearEvents=function(e,t){var o=this.__store.get(e);o&&o[t]&&(delete o[t],Object.keys(o).length||this.__store.delete(e))},e.prototype.isEmpty=function(){return 0===this.__store.size},e}();t.EventHandlersStore=r},58706:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventEmitter=t.getContainer=t.extendLang=t.modules=t.pluginSystem=t.uniqueUid=t.instances=void 0;var n=o(52666),r=o(96582),i=o(57083),a=o(8637),s=o(90412),l=o(87122),c=o(76910),u=o(49940);t.instances={};var d=1,p=new Set;t.uniqueUid=function(){function e(){return d+=10*(Math.random()+1),Math.round(d).toString(16)}for(var t=e();p.has(t);)t=e();return p.add(t),t},t.pluginSystem=new n.PluginSystem,t.modules={},t.extendLang=function(e){Object.keys(e).forEach((function(t){u.lang[t]?Object.assign(u.lang[t],e[t]):u.lang[t]=e[t]}))};var f=new WeakMap;t.getContainer=function(e,t,o,n){void 0===o&&(o="div"),void 0===n&&(n=!1);var i=t?(0,l.getClassName)(t.prototype):"jodit-utils",u=f.get(e)||{},d=i+o,p=(0,s.isViewObject)(e)?e:e.j;if(!u[d]){var h=p.c,m=(0,a.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:e.od.body;if(n&&(0,a.isJoditObject)(e)&&e.od!==e.ed){h=e.createInside;var v="style"===o?e.ed.head:e.ed.body;m=(0,a.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:v}var g=h.element(o,{className:"jodit jodit-".concat((0,c.kebabCase)(i),"-container jodit-box")});g.classList.add("jodit_theme_".concat(p.o.theme||"default")),m.appendChild(g),u[d]=g,e.hookStatus("beforeDestruct",(function(){r.Dom.safeRemove(g),delete u[d],Object.keys(u).length&&f.delete(e)})),f.set(e,u)}return u[d].classList.remove("jodit_theme_default","jodit_theme_dark"),u[d].classList.add("jodit_theme_".concat(p.o.theme||"default")),u[d]},t.eventEmitter=new i.EventEmitter},78094:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=void 0;var n=o(8356);t.asArray=function(e){return(0,n.isArray)(e)?e:[e]}},89105:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=t.splitArray=t.asArray=void 0;var n=o(78094);Object.defineProperty(t,"asArray",{enumerable:!0,get:function(){return n.asArray}});var r=o(65735);Object.defineProperty(t,"splitArray",{enumerable:!0,get:function(){return r.splitArray}});var i=o(62507);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return i.toArray}})},65735:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitArray=void 0,t.splitArray=function(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}},62507:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var n=o(10991),r=o(8412);t.toArray=function(){for(var e,t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];var i=(0,r.isNativeFunction)(Array.from)?Array.from:null!==(e=(0,n.reset)("Array.from"))&&void 0!==e?e:Array.from;return i.apply(Array,t)}},15958:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(52784).__exportStar(o(55641),t)},55641:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearTimeout=t.setTimeout=void 0;var n=o(52784);t.setTimeout=function(e,t){for(var o=[],r=2;arguments.length>r;r++)o[r-2]=arguments[r];return t?window.setTimeout.apply(window,n.__spreadArray([e,t],n.__read(o),!1)):(e.call.apply(e,n.__spreadArray([null],n.__read(o),!1)),0)},t.clearTimeout=function(e){window.clearTimeout(e)}},64609:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserColorPicker=void 0,t.hasBrowserColorPicker=function(){var e=!0;try{var t=document.createElement("input");t.type="color",e="color"===t.type&&"number"!=typeof t.selectionStart}catch(t){e=!1}return e}},74699:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(64609),t),n.__exportStar(o(8356),t),n.__exportStar(o(82949),t),n.__exportStar(o(33686),t),n.__exportStar(o(6244),t),n.__exportStar(o(58613),t),n.__exportStar(o(68066),t),n.__exportStar(o(13886),t),n.__exportStar(o(44825),t),n.__exportStar(o(8637),t),n.__exportStar(o(90412),t),n.__exportStar(o(2143),t),n.__exportStar(o(8412),t),n.__exportStar(o(92845),t),n.__exportStar(o(77240),t),n.__exportStar(o(6395),t),n.__exportStar(o(22233),t),n.__exportStar(o(57348),t),n.__exportStar(o(84842),t),n.__exportStar(o(9106),t),n.__exportStar(o(93215),t),n.__exportStar(o(51585),t)},8356:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=function(e){return Array.isArray(e)}},82949:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBoolean=void 0,t.isBoolean=function(e){return"boolean"==typeof e}},33686:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFastEqual=t.isEqual=void 0;var n=o(47475);t.isEqual=function(e,t){return e===t||(0,n.stringify)(e)===(0,n.stringify)(t)},t.isFastEqual=function(e,t){return e===t}},6244:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},68066:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHtmlFromWord=void 0,t.isHtmlFromWord=function(e){return-1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}},58613:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHTML=void 0;var n=o(57348);t.isHTML=function(e){return(0,n.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))}},13886:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasContainer=t.isDestructable=t.isInitable=void 0;var n=o(6244),r=o(12815),i=o(93215);t.isInitable=function(e){return!(0,i.isVoid)(e)&&(0,n.isFunction)(e.init)},t.isDestructable=function(e){return!(0,i.isVoid)(e)&&(0,n.isFunction)(e.destruct)},t.hasContainer=function(e){return!(0,i.isVoid)(e)&&r.Dom.isElement(e.container)}},44825:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInt=void 0;var n=o(77240),r=o(57348);t.isInt=function(e){return(0,r.isString)(e)&&(0,n.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},8637:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoditObject=void 0;var n=o(6244);t.isJoditObject=function(e){return Boolean(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))}},2143:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLicense=void 0;var n=o(57348);t.isLicense=function(e){return(0,n.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)}},8412:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNativeFunction=void 0,t.isNativeFunction=function(e){return Boolean(e)&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(e)))}},92845:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isNumber=function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},77240:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=void 0;var n=o(57348);t.isNumeric=function(e){if((0,n.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},6395:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=void 0;var n=o(51585);t.isPlainObject=function(e){return!(!e||"object"!=typeof e||e.nodeType||(0,n.isWindow)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},22233:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0,t.isPromise=function(e){return e&&"function"==typeof e.then}},57348:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isStringArray=t.isString=void 0;var n=o(8356);function r(e){return"string"==typeof e}t.isString=r,t.isStringArray=function(e){return(0,n.isArray)(e)&&r(e[0])}},84842:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=void 0,t.isURL=function(e){if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{var t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}var o=document.createElement("a");return o.href=e,Boolean(o.hostname)}},9106:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidName=void 0,t.isValidName=function(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_.]/.test(e)}},90412:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isViewObject=void 0;var n=o(6244);t.isViewObject=function(e){return Boolean(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&e.isView)}},93215:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVoid=void 0,t.isVoid=function(e){return null==e}},51585:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindow=void 0,t.isWindow=function(e){return null!=e&&e===e.window}},49771:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorToHex=void 0,t.colorToHex=function(e){if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";for(var o=parseInt(t[2],10),n=parseInt(t[3],10),r=(parseInt(t[4],10)|n<<8|o<<16).toString(16).toUpperCase();6>r.length;)r="0"+r;return t[1]+"#"+r}},8586:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(52784).__exportStar(o(49771),t)},52475:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyStyles=void 0;var n=o(12815),r=o(93772),i=o(78097);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,(function(e,t,o){switch(o.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e}))}t.applyStyles=function(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+"</html>".length);var t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);var o="";try{var s=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(s){s.open(),s.write(e),s.close();try{for(var l=function(e){for(var t=s.styleSheets[e].cssRules,o=function(e){if(""===t[e].selectorText)return"continue";(0,r.$$)(t[e].selectorText,s.body).forEach((function(o){o.style.cssText=a(t[e].style.cssText+";"+o.style.cssText)}))},n=0;t.length>n;n+=1)o(n)},c=0;s.styleSheets.length>c;c+=1)l(c)}catch(e){}n.Dom.each(s.body,(function(e){if(n.Dom.isElement(e)){var t=e,o=t.getAttribute("style");o&&(t.style.cssText=a(o)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}})),o=s.firstChild?(0,i.trim)(s.body.innerHTML):""}}catch(e){}finally{n.Dom.safeRemove(t)}return o&&(e=o),(0,i.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},69235:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cleanFromWord=void 0;var n=o(12815),r=o(78097),i=o(62507);t.cleanFromWord=function(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+"</html>".length));var t="";try{var o=document.createElement("div");o.innerHTML=e;var a=[];o.firstChild&&n.Dom.each(o,(function(e){if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":a.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":n.Dom.unwrap(e);break;default:(0,i.toArray)(e.attributes).forEach((function(t){-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)}))}break;case Node.TEXT_NODE:break;default:a.push(e)}})),n.Dom.safeRemove.apply(null,a),t=o.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(r.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},46441:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlspecialchars=void 0,t.htmlspecialchars=function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML}},70497:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(52475),t),n.__exportStar(o(69235),t),n.__exportStar(o(46441),t),n.__exportStar(o(66477),t),n.__exportStar(o(37337),t),n.__exportStar(o(23564),t)},23564:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nl2br=void 0,t.nl2br=function(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}},37337:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeHTMLElement=t.safeHTML=void 0;var n=o(93772),r=o(12815);function i(e,t){var o=void 0===t?{safeJavaScriptLink:!0,removeOnError:!0}:t,i=o.safeJavaScriptLink,a=o.removeOnError;if(!r.Dom.isElement(e))return!1;var s=!1;a&&e.hasAttribute("onerror")&&((0,n.attr)(e,"onerror",null),s=!0);var l=e.getAttribute("href");return i&&l&&0===l.trim().indexOf("javascript")&&((0,n.attr)(e,"href",location.protocol+"//"+l),s=!0),s}t.safeHTML=function(e,t){(r.Dom.isElement(e)||r.Dom.isFragment(e))&&(t.removeOnError&&(i(e),(0,n.$$)("[onerror]",e).forEach((function(e){return i(e,t)}))),t.safeJavaScriptLink&&(i(e),(0,n.$$)('a[href^="javascript"]',e).forEach((function(e){return i(e,t)}))))},t.sanitizeHTMLElement=i},66477:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripTags=void 0;var n=o(57348),r=o(93772),i=o(78097),a=o(12815);t.stripTags=function(e,t){void 0===t&&(t=document);var o=t.createElement("div");return(0,n.isString)(e)?o.innerHTML=e:o.appendChild(e),(0,r.$$)("DIV, P, BR, H1, H2, H3, H4, H5, H6, HR",o).forEach((function(e){var o=e.parentNode;if(o){var n=e.nextSibling;a.Dom.isText(n)&&/^\s/.test(n.nodeValue||"")||n&&o.insertBefore(t.createTextNode(" "),n)}})),(0,i.trim)(o.innerText)||""}},16892:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(93772),t),n.__exportStar(o(89105),t),n.__exportStar(o(15958),t),n.__exportStar(o(74699),t),n.__exportStar(o(8586),t),n.__exportStar(o(70497),t),n.__exportStar(o(79029),t),n.__exportStar(o(11310),t),n.__exportStar(o(88619),t)},79029:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(67547),t),n.__exportStar(o(36255),t),n.__exportStar(o(51534),t),n.__exportStar(o(29149),t),n.__exportStar(o(86005),t),n.__exportStar(o(38100),t),n.__exportStar(o(64735),t),n.__exportStar(o(44523),t),n.__exportStar(o(72435),t)},72435:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeColor=void 0;var n=o(8586),r=o(88619);t.normalizeColor=function(e){var t=["#"],o=(0,n.colorToHex)(e);if(!o)return!1;if(3===(o=(o=(0,r.trim)(o.toUpperCase())).substr(1)).length){for(var i=0;3>i;i+=1)t.push(o[i]),t.push(o[i]);return t.join("")}return o.length>6&&(o=o.substr(0,6)),"#"+o}},44523:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeCssValue=void 0;var n=o(77240),r=o(76910),i=o(49771);t.normalizeCssValue=function(e,t){if("font-weight"===(0,r.kebabCase)(e)){switch(t.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,n.isNumeric)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(t.toString())&&(0,i.colorToHex)(t.toString())||t}},67547:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeKeyAliases=void 0;var n=o(78097),r=o(49940);t.normalizeKeyAliases=function(e){var t={},o={meta:1,ctrl:2,control:2,alt:3,shift:4};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map((function(e){return(0,n.trim)(e.toLowerCase())})).map((function(e){return r.KEY_ALIASES[e]||e})).sort((function(e,t){return o[e]&&!o[t]?-1:!o[e]&&o[t]?1:o[e]&&o[t]?o[e]-o[t]:e>t?1:-1})).filter((function(e){return!t[e]&&""!==e&&(t[e]=!0)})).join("+")}},36255:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLicense=void 0,t.normalizeLicense=function(e,t){void 0===t&&(t=8);for(var o=[];e.length;)o.push(e.substr(0,t)),e=e.substr(t);return o[1]=o[1].replace(/./g,"*"),o[2]=o[2].replace(/./g,"*"),o.join("-")}},51534:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeNode=void 0;var n=o(49940),r=o(12815);t.normalizeNode=function(e){if(e){if(r.Dom.isText(e)&&null!=e.nodeValue&&e.parentNode)for(;r.Dom.isText(e.nextSibling);)null!=e.nextSibling.nodeValue&&(e.nodeValue+=e.nextSibling.nodeValue),e.nodeValue=e.nodeValue.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),""),r.Dom.safeRemove(e.nextSibling);else(0,t.normalizeNode)(e.firstChild);(0,t.normalizeNode)(e.nextSibling)}}},29149:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePath=void 0;var n=o(88619);t.normalizePath=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return e.filter((function(e){return(0,n.trim)(e).length})).map((function(t,o){return t=t.replace(/([^:])[\\/]+/g,"$1/"),o&&(t=t.replace(/^\//,"")),o!==e.length-1&&(t=t.replace(/\/$/,"")),t})).join("/")}},86005:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeRelativePath=void 0,t.normalizeRelativePath=function(e){return e.split("/").reduce((function(e,t){switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e}),[]).join("/")+(e.endsWith("/")?"/":"")}},38100:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeSize=void 0,t.normalizeSize=function(e){return/^[0-9]+$/.test(e.toString())?e+"px":e.toString()}},64735:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeUrl=void 0,t.normalizeUrl=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return e.filter((function(e){return e.length})).map((function(e){return e.replace(/\/$/,"")})).join("/").replace(/([^:])[\\/]+/g,"$1/")}},21969:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentWidth=void 0,t.getContentWidth=function(e,t){var o=function(e){return parseInt(e,10)},n=t.getComputedStyle(e);return e.offsetWidth-o(n.getPropertyValue("padding-left")||"0")-o(n.getPropertyValue("padding-right")||"0")}},564:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=void 0;var n=o(93772),r=o(12815);t.getScrollParent=function e(t){if(!t)return null;var o=r.Dom.isHTMLElement(t),i=o&&(0,n.css)(t,"overflowY");return o&&"visible"!==i&&"hidden"!==i&&t.scrollHeight>=t.clientHeight?t:e(t.parentNode)||document.scrollingElement||document.body}},11310:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(21969),t),n.__exportStar(o(564),t),n.__exportStar(o(40969),t),n.__exportStar(o(86933),t),n.__exportStar(o(34046),t),n.__exportStar(o(40318),t)},40969:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.innerWidth=void 0,t.innerWidth=function(e,t){var o=t.getComputedStyle(e);return e.clientWidth-(parseFloat(o.paddingLeft||"0")+parseFloat(o.paddingRight||"0"))}},40318:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.size=void 0;var n=o(74699);t.size=function(e){return(0,n.isString)(e)||(0,n.isArray)(e)?e.length:(0,n.isPlainObject)(e)?Object.keys(e).length:0}},86933:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.offset=void 0,t.offset=function(e,o,n,r){var i;void 0===r&&(r=!1);try{i=e.getBoundingClientRect()}catch(e){i={top:0,bottom:0,left:0,right:0,width:0,height:0}}var a,s,l=n.body,c=n.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},u=n.defaultView||n.parentWindow,d=u.pageYOffset||c.scrollTop||l.scrollTop,p=u.pageXOffset||c.scrollLeft||l.scrollLeft,f=c.clientTop||l.clientTop||0,h=c.clientLeft||l.clientLeft||0,m=o.iframe;if(!r&&o&&o.options&&o.o.iframe&&m){var v=(0,t.offset)(m,o,o.od,!0);a=i.top+v.top,s=i.left+v.left}else a=i.top+d-f,s=i.left+p-h;return{top:Math.round(a),left:Math.round(s),width:i.width,height:i.height}}},34046:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.position=void 0;var n=o(8637);t.position=function e(t,o,r){void 0===r&&(r=!1);var i=t.getBoundingClientRect(),a=i.left,s=i.top;if((0,n.isJoditObject)(o)&&o.iframe&&o.ed.body.contains(t)&&!r){var l=e(o.iframe,o,!0);a+=l.left,s+=l.top}return{left:Math.round(a),top:Math.round(s),width:Math.round(t.offsetWidth),height:Math.round(t.offsetHeight)}}},83479:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0,t.camelCase=function(e){return e.replace(/([-_])(.)/g,(function(e,t,o){return o.toUpperCase()}))}},27420:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fuzzySearchIndex=void 0;var n=o(49940);t.fuzzySearchIndex=function(e,t,o,r){void 0===o&&(o=0),void 0===r&&(r=1);var i=0,a=0,s=-1,l=0,c=0;for(a=o;e.length>i&&t.length>a;)e[i].toLowerCase()===t[a].toLowerCase()?(i++,l++,c=0,-1===s&&(s=a)):i>0&&(r>c||t[a]===n.INVISIBLE_SPACE?(c++,l++):(i=0,s=-1,l=0,c=0,a--)),a++;return i===e.length?[s,l]:[-1,0]}},49946:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.i18n=t.sprintf=void 0;var n=o(733),r=o(93772),i=o(57348),a=o(80361),s=o(49940);t.sprintf=function(e,t){if(!t||!t.length)return e;for(var o=/%([sd])/g,n=o.exec(e),r=e,i=0;n&&void 0!==t[i];)r=r.replace(n[0],t[i].toString()),i+=1,n=o.exec(e);return r},t.i18n=function(e,o,l){if(!(0,i.isString)(e))throw(0,r.error)("i18n: Need string in first argument");if(!e.length)return e;var c=Boolean(null==l?void 0:l.debugLanguage),u={},d=function(e){return o&&o.length?(0,t.sprintf)(e,o):e},p=(0,r.defaultLanguage)(n.Config.defaultOptions.language,n.Config.defaultOptions.language),f=(0,r.defaultLanguage)(null==l?void 0:l.language,p),h=function(t){if(t){if((0,i.isString)(t[e]))return d(t[e]);var o=e.toLowerCase();if((0,i.isString)(t[o]))return d(t[o]);var n=(0,a.ucfirst)(e);return(0,i.isString)(t[n])?d(t[n]):void 0}};void 0!==s.lang[f]?u=s.lang[f]:c||(u=void 0!==s.lang[p]?s.lang[p]:s.lang.en);var m=null==l?void 0:l.i18n;if(m&&m[f]){var v=h(m[f]);if(v)return v}return h(u)||(!c&&s.lang.en&&(0,i.isString)(s.lang.en[e])&&s.lang.en[e]?d(s.lang.en[e]):c?"{"+e+"}":d(e))}},88619:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(83479),t),n.__exportStar(o(27420),t),n.__exportStar(o(49946),t),n.__exportStar(o(76910),t),n.__exportStar(o(47475),t),n.__exportStar(o(78097),t),n.__exportStar(o(80361),t)},76910:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CamelCaseToKebabCase=t.kebabCase=void 0,t.kebabCase=function(e){return e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()},t.CamelCaseToKebabCase=function(e){return e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},47475:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=void 0,t.stringify=function(e,t){if(void 0===t&&(t={}),"object"!=typeof e)return String(e);var o=new Set(t.excludeKeys),n=new WeakMap;return JSON.stringify(e,(function(e,t){if(!o.has(e)){if("object"==typeof t&&null!=t){if(n.get(t))return"[refObject]";n.set(t,!0)}return t}}),t.prettify)}},78097:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trimInv=t.trim=void 0;var n=o(49940);t.trim=function(e){return e.replace((0,n.SPACE_REG_EXP_END)(),"").replace((0,n.SPACE_REG_EXP_START)(),"")},t.trimInv=function(e){return e.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,n.INVISIBLE_SPACE_REG_EXP_START)(),"")}},80361:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ucfirst=void 0,t.ucfirst=function(e){return e.length?e[0].toUpperCase()+e.substr(1):""}},18578:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.alignElement=t.clearAlign=t.hAlignElement=void 0;var n=o(96582),r=o(21714);function i(e){n.Dom.each(e,(function(e){n.Dom.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))}))}t.hAlignElement=function(e,t){t&&"normal"!==t?"center"!==t?((0,r.css)(e,"float",t),(0,r.clearCenterAlign)(e)):(0,r.css)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,r.css)(e,"float")&&-1!==["right","left"].indexOf((0,r.css)(e,"float").toString().toLowerCase())&&(0,r.css)(e,"float",""),(0,r.clearCenterAlign)(e))},t.clearAlign=i,t.alignElement=function(e,t){if(n.Dom.isNode(t)&&n.Dom.isElement(t))switch(i(t),e.toLowerCase()){case"justifyfull":t.style.textAlign="justify";break;case"justifyright":t.style.textAlign="right";break;case"justifyleft":t.style.textAlign="left";break;case"justifycenter":t.style.textAlign="center"}}},49394:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadNextStyle=t.loadNext=t.appendStyleAsync=t.appendScriptAsync=t.appendScript=void 0;var n=o(52784),r=o(68301),i=o(6244),a=o(57348),s=new Map,l=function(e){return function(t,o){return n.__awaiter(void 0,void 0,Promise,(function(){var r;return n.__generator(this,(function(n){return s.has(o)?[2,s.get(o)]:(r=e(t,o),s.set(o,r),[2,r])}))}))}};t.appendScript=function(e,t,o){var n=e.c.element("script");return n.type="text/javascript",n.async=!0,(0,i.isFunction)(o)&&!e.isInDestruct&&e.e.on(n,"load",o),n.src||(n.src=(0,r.completeUrl)(t)),e.od.body.appendChild(n),{callback:o,element:n}},t.appendScriptAsync=l((function(e,o){return new Promise((function(n,r){var i=(0,t.appendScript)(e,o,n).element;!e.isInDestruct&&e.e.on(i,"error",r)}))})),t.appendStyleAsync=l((function(e,t){return new Promise((function(o,n){var i=e.c.element("link");i.rel="stylesheet",i.media="all",i.crossOrigin="anonymous",!e.isInDestruct&&e.e.on(i,"load",(function(){return o(i)})).on(i,"error",n),i.href=(0,r.completeUrl)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(i):e.od.body.appendChild(i)}))})),t.loadNext=function(e,o,n){return void 0===n&&(n=0),(0,a.isString)(o[n])?(0,t.appendScriptAsync)(e,o[n]).then((function(){return(0,t.loadNext)(e,o,n+1)})):Promise.resolve()},t.loadNextStyle=function(e,o,n){return void 0===n&&(n=0),(0,a.isString)(o[n])?(0,t.appendStyleAsync)(e,o[n]).then((function(){return(0,t.loadNextStyle)(e,o,n+1)})):Promise.resolve()}},87706:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browser=void 0,t.browser=function(e){var t=navigator.userAgent.toLowerCase(),o=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?o[2]:"webkit"===e?"chrome"===o[1]||"webkit"===o[1]:"ff"===e?"firefox"===o[1]:"msie"===e?"trident"===o[1]||"msie"===o[1]:o[1]===e}},82118:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildQuery=void 0;var n=o(6395);t.buildQuery=function(e,o){var r=[],i=encodeURIComponent;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=o?o+"["+a+"]":a,l=e[a];r.push((0,n.isPlainObject)(l)?(0,t.buildQuery)(l,s):i(s)+"="+i(l))}return r.join("&")}},68301:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.completeUrl=void 0,t.completeUrl=function(e){return"file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e}},20702:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigFlatten=t.ConfigProto=void 0;var n=o(52784),r=o(28858),i=o(8356),a=o(6395),s=o(57348),l=o(93215),c=o(733),u=o(89437);t.ConfigProto=function e(t,o,u){if(void 0===u&&(u=0),Object.getPrototypeOf(t)!==Object.prototype)return t;var d=c.Config.defaultOptions;if((0,s.isString)(t.preset)){if(void 0!==d.presets[t.preset]){var p=d.presets[t.preset];Object.keys(p).forEach((function(e){(0,l.isVoid)(t[e])&&(t[e]=p[e])}))}delete t.preset}var f={};return Object.keys(t).forEach((function(s){var l=t[s],c=o?o[s]:null;f[s]=(0,a.isPlainObject)(l)&&(0,a.isPlainObject)(c)&&!(0,r.isAtom)(l)?e(l,c,u+1):0!==u&&(0,i.isArray)(l)&&!(0,r.isAtom)(l)&&(0,i.isArray)(c)?n.__spreadArray(n.__spreadArray([],n.__read(l),!1),n.__read(c.slice(l.length)),!1):l})),Object.setPrototypeOf(f,o),f},t.ConfigFlatten=function(e){return(0,u.keys)(e,!1).reduce((function(t,o){return t[o]=e[o],t}),{})}},1853:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertMediaUrlToVideoEmbed=void 0;var n=o(84842),r=o(63864);t.convertMediaUrlToVideoEmbed=function(e,t,o){if(void 0===t&&(t=400),void 0===o&&(o=345),!(0,n.isURL)(e))return e;var i=document.createElement("a"),a=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;i.href=e,t||(t=400),o||(o=345);var s=i.protocol||"";switch(i.hostname){case"www.vimeo.com":case"vimeo.com":return a.test(e)?e.replace(a,'<iframe width="'+t+'" height="'+o+'" src="'+s+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":var l=i.search?(0,r.parseQuery)(i.search):{v:i.pathname.substr(1)};return l.v?'<iframe width="'+t+'" height="'+o+'" src="'+s+"//www.youtube.com/embed/"+l.v+'" frameborder="0" allowfullscreen></iframe>':e}return e}},21714:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCenterAlign=t.css=void 0;var n=o(6395),r=o(77240),i=o(93215),a=o(82949),s=o(44523),l=o(83479),c=o(76910);function u(e,t,o,d){void 0===d&&(d=!1);var p=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;if((0,a.isBoolean)(o)&&(d=o,o=void 0),(0,n.isPlainObject)(t)||void 0!==o){var f=function(e,t,o){!(0,i.isVoid)(o)&&p.test(t)&&(0,r.isNumeric)(o.toString())&&(o=parseInt(o.toString(),10)+"px"),void 0===o||null!=o&&u(e,t,!0)===(0,s.normalizeCssValue)(t,o)||(e.style[t]=o)};if((0,n.isPlainObject)(t))for(var h=Object.keys(t),m=0;h.length>m;m+=1)f(e,(0,l.camelCase)(h[m]),t[h[m]]);else f(e,(0,l.camelCase)(t),o);return""}var v=(0,c.kebabCase)(t),g=e.ownerDocument||document,y=!!g&&(g.defaultView||g.parentWindow),b=e.style[t],_="";return void 0!==b&&""!==b?_=b:y&&!d&&(_=y.getComputedStyle(e).getPropertyValue(v)),p.test(t)&&/^[-+]?[0-9.]+px$/.test(_.toString())&&(_=parseInt(_.toString(),10)),(0,s.normalizeCssValue)(t,_)}t.css=u,t.clearCenterAlign=function(e){"block"===u(e,"display")&&u(e,"display","");var t=e.style;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},60457:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ctrlKey=void 0,t.ctrlKey=function(e){if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},1070:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dataBind=void 0;var n=o(90412),r=new WeakMap;t.dataBind=function(e,t,o){var i=r.get(e);if(!i){r.set(e,i={});var a=null;(0,n.isViewObject)(e.j)&&(a=e.j.e),(0,n.isViewObject)(e)&&(a=e.e),a&&a.on("beforeDestruct",(function(){r.delete(e)}))}return void 0===o?i[t]:(i[t]=o,o)}},16617:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultLanguage=void 0;var n=o(57348);t.defaultLanguage=function(e,t){return void 0===t&&(t="en"),"auto"!==e&&(0,n.isString)(e)?e:document.documentElement&&document.documentElement.lang?document.documentElement.lang:navigator.language?navigator.language.substring(0,2):t}},28647:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAbort=t.abort=t.options=t.connection=t.error=void 0;var n=o(62468);t.error=function(e){return new TypeError(e)},t.connection=function(e){return new n.ConnectionError(e)},t.options=function(e){return new n.OptionsError(e)},t.abort=function(e){return new n.AbortError(e)},t.isAbort=function(e){return e instanceof n.AbortError}},9322:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbortError=void 0;var n=o(52784),r=function(e){function t(o){var n=e.call(this,o)||this;return Object.setPrototypeOf(n,t.prototype),n}return n.__extends(t,e),t}(Error);t.AbortError=r},87017:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionError=void 0;var n=o(52784),r=function(e){function t(o){var n=e.call(this,o)||this;return Object.setPrototypeOf(n,t.prototype),n}return n.__extends(t,e),t}(Error);t.ConnectionError=r},62468:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(9322),t),n.__exportStar(o(87017),t),n.__exportStar(o(17975),t)},17975:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsError=void 0;var n=o(52784),r=function(e){function t(o){var n=e.call(this,o)||this;return Object.setPrototypeOf(n,t.prototype),n}return n.__extends(t,e),t}(TypeError);t.OptionsError=r},65422:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(28647),t),n.__exportStar(o(62468),t)},28858:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fastClone=t.markAsAtomic=t.isAtom=void 0;var n=o(47475);t.isAtom=function(e){return e&&e.isAtom},t.markAsAtomic=function(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e},t.fastClone=function(e){return JSON.parse((0,n.stringify)(e))}},87122:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClassName=t.keepNames=void 0;var n=o(6244);t.keepNames=new Map,t.getClassName=function(e){var o;if((0,n.isFunction)(e.className))return e.className();var r=(null===(o=e.constructor)||void 0===o?void 0:o.originalConstructor)||e.constructor;if(t.keepNames.has(r))return t.keepNames.get(r);if(r.name)return r.name;var i=new RegExp(/^\s*function\s*(\S*)\s*\(/),a=r.toString().match(i);return a?a[1]:""}},84060:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=void 0;var n=o(52784),r=o(57348),i=o(93215);t.get=function(e,t){var o,a;if(!(0,r.isString)(e)||!e.length)return null;var s=e.split("."),l=t;try{try{for(var c=n.__values(s),u=c.next();!u.done;u=c.next()){var d=u.value;if((0,i.isVoid)(l[d]))return null;l=l[d]}}catch(e){o={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}}catch(e){return null}return(0,i.isVoid)(l)?null:l}},17625:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.humanSizeToBytes=void 0,t.humanSizeToBytes=function(e){if(/^[0-9.]+$/.test(e.toString()))return parseFloat(e);var t=e.substr(-2,2).toUpperCase(),o=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return-1!==o.indexOf(t)?n*Math.pow(1024,o.indexOf(t)+1):parseInt(e,10)}},93772:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(18578),t),n.__exportStar(o(49394),t),n.__exportStar(o(52378),t),n.__exportStar(o(87706),t),n.__exportStar(o(82118),t),n.__exportStar(o(68301),t),n.__exportStar(o(20702),t),n.__exportStar(o(1853),t),n.__exportStar(o(21714),t),n.__exportStar(o(60457),t),n.__exportStar(o(1070),t),n.__exportStar(o(16617),t),n.__exportStar(o(65422),t),n.__exportStar(o(28858),t),n.__exportStar(o(84060),t),n.__exportStar(o(87122),t),n.__exportStar(o(17625),t),n.__exportStar(o(11461),t),n.__exportStar(o(63864),t),n.__exportStar(o(27903),t),n.__exportStar(o(10991),t),n.__exportStar(o(6517),t),n.__exportStar(o(18365),t),n.__exportStar(o(88341),t),n.__exportStar(o(37323),t),n.__exportStar(o(89437),t),n.__exportStar(o(76985),t)},11461:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markDeprecated=t.cns=void 0;var n=o(52784);t.cns=console,t.markDeprecated=function(e,o,r){return void 0===o&&(o=[""]),void 0===r&&(r=null),function(){for(var i=[],a=0;arguments.length>a;a++)i[a]=arguments[a];return t.cns.warn('Method "'.concat(o[0],'" deprecated.')+(o[1]?' Use "'.concat(o[1],'" instead'):"")),e.call.apply(e,n.__spreadArray([r],n.__read(i),!1))}}},63864:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseQuery=void 0,t.parseQuery=function(e){for(var t={},o=e.substring(1).split("&"),n=0;o.length>n;n+=1){var r=o[n].split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r[1]||"")}return t}},27903:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.previewBox=void 0;var n=o(57348),r=o(12815),i=o(21714),a=o(89437),s=o(18365);t.previewBox=function(e,t,o,l){void 0===o&&(o="px"),void 0===l&&(l=null);var c=function(e,t){var o=[];try{(0,s.$$)("img",e.editor).forEach((function(n){var i=[(0,a.attr)(n,"width"),(0,a.attr)(n,"height"),n.src];(0,a.attr)(n,{width:n.offsetWidth+t,height:n.offsetHeight+t});var s=e.createInside.a();e.ed.body.appendChild(s),s.href=n.src,n.src=s.href,r.Dom.safeRemove(s),o.push((function(){var e;n.src=null!==(e=i[2])&&void 0!==e?e:"",(0,a.attr)(n,{width:i[0]||null,height:i[1]||null})}))}))}catch(e){throw o.forEach((function(e){return e()})),o.length=0,e}return o}(e,o);try{var u=e.e.fire("beforePreviewBox",t,o);if(null!=u)return u;var d=e.c.div("jodit__preview-box jodit-context");l&&l.appendChild(d),(0,i.css)(d,{position:"relative",padding:16});var p=e.value||"<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>".concat(e.i18n("Empty"),"</div>");if(e.iframe){var f=e.create.element("iframe");(0,i.css)(f,{minWidth:800,minHeight:600,border:0}),d.appendChild(f);var h=f.contentWindow;if(h&&(e.e.fire("generateDocumentStructure.iframe",h.document,e),d=h.document.body,"function"==typeof ResizeObserver)){var m=new ResizeObserver((function(e){f.style.height=h.document.body.offsetHeight+20+"px"}));m.observe(h.document.body),e.e.on("beforeDestruct",(function(){m.unobserve(h.document.body)}))}}else(0,i.css)(d,{minWidth:1024,minHeight:600,border:0});var v=function(t,o){var i=(0,n.isString)(o)?e.c.div():o;(0,n.isString)(o)&&(i.innerHTML=o);for(var s=0;i.childNodes.length>s;s+=1){var l=i.childNodes[s];if(r.Dom.isElement(l)){for(var c=t.ownerDocument.createElement(l.nodeName),u=0;l.attributes.length>u;u+=1)(0,a.attr)(c,l.attributes[u].nodeName,l.attributes[u].nodeValue);0===l.childNodes.length||r.Dom.isTag(l,["table"])?"SCRIPT"===l.nodeName?l.textContent&&(c.textContent=l.textContent):l.innerHTML&&(c.innerHTML=l.innerHTML):v(c,l);try{t.appendChild(c)}catch(e){}}else try{t.appendChild(l.cloneNode(!0))}catch(e){}}};return v(d,p),e.e.fire("afterPreviewBox",d),d}finally{c.forEach((function(e){return e()}))}}},10991:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reset=void 0;var n=o(84060),r=o(6244),i={};t.reset=function(e){var t,o;if(!(e in i)){var a=document.createElement("iframe");try{if(a.src="about:blank",document.body.appendChild(a),!a.contentWindow)return null;var s=(0,n.get)(e,a.contentWindow),l=(0,n.get)(e.split(".").slice(0,-1).join("."),a.contentWindow);(0,r.isFunction)(s)&&(i[e]=s.bind(l))}catch(e){}finally{null===(t=a.parentNode)||void 0===t||t.removeChild(a)}}return null!==(o=i[e])&&void 0!==o?o:null}},6517:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scrollIntoViewIfNeeded=t.inView=void 0;var n=o(12815);t.inView=function(e,t,o){var n=e.getBoundingClientRect(),r=e,i=n.top,a=n.height;do{if(r&&r.parentNode){if((n=(r=r.parentNode).getBoundingClientRect()).bottom<i)return!1;if(n.top>=i+a)return!1}}while(r&&r!==t&&r.parentNode);return(o.documentElement&&o.documentElement.clientHeight||0)>=i},t.scrollIntoViewIfNeeded=function(e,o,r){n.Dom.isHTMLElement(e)&&!(0,t.inView)(e,o,r)&&(o.clientHeight!==o.scrollHeight&&(o.scrollTop=e.offsetTop),(0,t.inView)(e,o,r)||e.scrollIntoView())}},18365:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveElement=t.cssPath=t.refs=t.getXPathByElement=t.$$=void 0;var n=o(49940),r=o(57348),i=o(93772),a=o(12815),s=o(83479),l=o(62507),c=o(13717),u=o(90456),d=1;function p(e,t){var o;if(!/:scope/.test(e)||!n.IS_IE||t&&t.nodeType===Node.DOCUMENT_NODE)o=t.querySelectorAll(e);else{var r=t.id,i=r||"_selector_id_"+String(Math.random()).slice(2)+ ++d;e=e.replace(/:scope/g,"#"+i),!r&&t.setAttribute("id",i),o=t.parentNode.querySelectorAll(e),r||t.removeAttribute("id")}return[].slice.call(o)}t.$$=p,t.getXPathByElement=function(e,o){if(!e||e.nodeType!==Node.ELEMENT_NODE)return"";if(!e.parentNode||o===e)return"";if(e.id)return"//*[@id='"+e.id+"']";var n=[].filter.call(e.parentNode.childNodes,(function(t){return t.nodeName===e.nodeName}));return(0,t.getXPathByElement)(e.parentNode,o)+"/"+e.nodeName.toLowerCase()+(n.length>1?"["+((0,l.toArray)(n).indexOf(e)+1)+"]":"")},t.refs=function(e){return u.Component.isInstanceOf(e,c.UIElement)&&(e=e.container),p("[ref],[data-ref]",e).reduce((function(e,t){var o=(0,i.attr)(t,"-ref");return o&&(0,r.isString)(o)&&(e[(0,s.camelCase)(o)]=t,e[o]=t),e}),{})},t.cssPath=function(e){if(!a.Dom.isElement(e))return null;for(var t=[],o=e;o&&o.nodeType===Node.ELEMENT_NODE;){var n=o.nodeName.toLowerCase();if(o.id){t.unshift(n+="#"+o.id);break}var r=o,i=1;do{(r=r.previousElementSibling)&&r.nodeName.toLowerCase()===n&&i++}while(r);t.unshift(n+=":nth-of-type("+i+")"),o=o.parentNode}return t.join(" > ")},t.resolveElement=function(e,t){var o=e;if((0,r.isString)(e))try{o=t.querySelector(e)}catch(t){throw(0,i.error)('String "'+e+'" should be valid HTML selector')}if(!o||"object"!=typeof o||!a.Dom.isElement(o)||!o.cloneNode)throw(0,i.error)('Element "'+e+'" should be string or HTMLElement instance');return o}},88341:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.set=void 0;var n=o(57348),r=o(77240),i=o(8356),a=o(6395);t.set=function(e,t,o){if((0,n.isString)(e)&&e.length){for(var s=e.split("."),l=o,c=s[0],u=0;s.length-1>u;u+=1)(0,i.isArray)(l[c=s[u]])||(0,a.isPlainObject)(l[c])||(l[c]=(0,r.isNumeric)(s[u+1])?[]:{}),l=l[c];l&&(l[s[s.length-1]]=t)}}},37323:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LimitedStack=void 0;var o=function(){function e(e){this.limit=e,this.stack=[]}return e.prototype.push=function(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this},e.prototype.pop=function(){return this.stack.pop()},e.prototype.find=function(e){return this.stack.find(e)},e}();t.LimitedStack=o},89437:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDataTransfer=t.memorizeExec=t.keys=t.loadImage=t.callPromise=t.markOwner=t.attr=t.call=void 0;var n=o(52784),r=o(6244),i=o(22233),a=o(93215),s=o(6395),l=o(57348),c=o(1070),u=o(21714),d=o(76910);function p(e,t,o){if(!e||!(0,r.isFunction)(e.getAttribute))return null;if(!(0,l.isString)(t))return Object.keys(t).forEach((function(o){var n=t[o];(0,s.isPlainObject)(n)&&"style"===o?(0,u.css)(e,n):("className"===o&&(o="class"),p(e,o,n))})),null;var n=(0,d.CamelCaseToKebabCase)(t);if(/^-/.test(n)){var i=p(e,"data".concat(n));if(i)return i;n=n.substr(1)}if(void 0!==o){if(null!=o)return e.setAttribute(n,o.toString()),o.toString();e.hasAttribute(n)&&e.removeAttribute(n)}return e.getAttribute(n)}t.call=function(e){for(var t=[],o=1;arguments.length>o;o++)t[o-1]=arguments[o];return e.apply(void 0,n.__spreadArray([],n.__read(t),!1))},t.attr=p,t.markOwner=function(e,t){p(t,"data-editor_id",e.id),!t.component&&Object.defineProperty(t,"jodit",{value:e})},t.callPromise=function(e,t){return(0,i.isPromise)(e)?e.finally(t):t()},t.loadImage=function(e,t){return t.async.promise((function(o,n){var r=new Image,i=function(){t.e.off(r),null==n||n()},a=function(){t.e.off(r),o(r)};t.e.one(r,"load",a).one(r,"error",i).one(r,"abort",i),r.src=e,r.complete&&a()}))},t.keys=function(e,t){if(void 0===t&&(t=!0),t)return Object.keys(e);var o=[];for(var n in e)o.push(n);return o},t.memorizeExec=function(e,t,o,n){var r,i=o.control,s="button".concat(i.command),l=null!==(r=i.args&&i.args[0])&&void 0!==r?r:(0,c.dataBind)(e,s);if((0,a.isVoid)(l))return!1;(0,c.dataBind)(e,s,l),n&&(l=n(l)),e.execCommand(i.command,!1,null!=l?l:void 0)},t.getDataTransfer=function(e){if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}}},76985:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.val=void 0,t.val=function(e,t,o){var n=e.querySelector(t);return n?(o&&(n.value=o),n.value):""}},43464:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(52666),t),n.__exportStar(o(36894),t)},52666:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluginSystem=void 0;var n=o(52784),r=o(74699),i=o(49394),a=o(89105),s=o(88619),l=o(89437),c=o(58706),u=function(){function e(){this._items=new Map}return e.prototype.normalizeName=function(e){return(0,s.kebabCase)(e).toLowerCase()},e.prototype.items=function(e){var t=[];return this._items.forEach((function(e,o){t.push([o,e])})),t.filter((function(t){var o=n.__read(t,1);return!e||e.includes(o[0])}))},e.prototype.add=function(e,t){this._items.set(this.normalizeName(e),t),c.eventEmitter.fire("plugin:".concat(e,":ready"))},e.prototype.get=function(e){return this._items.get(this.normalizeName(e))},e.prototype.remove=function(e){this._items.delete(this.normalizeName(e))},e.prototype.init=function(t){var o=this,i=t.o.extraPlugins.map((function(e){return(0,r.isString)(e)?{name:e}:e})),s=(0,a.splitArray)(t.o.disablePlugins).map((function(e){return o.normalizeName(e)})),c=[],u={},d=[],p={},f=function(i){var a=n.__read(i,2),l=a[0],f=a[1];if(!(s.includes(l)||c.includes(l)||u[l])){var h=null==f?void 0:f.requires;if(!(h&&(0,r.isArray)(h)&&o.hasDisabledRequires(s,h))){var m=e.makePluginInstance(t,f);m&&(o.initOrWait(t,l,m,c,u),d.push(m),p[l]=m)}}},h=this.loadExtras(t,i);return(0,l.callPromise)(h,(function(){t.isInDestruct||(o.items(t.o.safeMode?t.o.safePluginsList.concat(i.map((function(e){return e.name}))):null).forEach(f),o.addListenerOnBeforeDestruct(t,d),t.__plugins=p)}))},e.prototype.wait=function(e){var t=this;return new Promise((function(o){if(t.get(e))return o();var n=function(){o(),c.eventEmitter.off("plugin:".concat(e,":ready"),n)};c.eventEmitter.on("plugin:".concat(e,":ready"),n)}))},e.prototype.hasDisabledRequires=function(e,t){return Boolean((null==t?void 0:t.length)&&e.some((function(e){return t.includes(e)})))},e.makePluginInstance=function(e,t){try{try{return(0,r.isFunction)(t)?new t(e):t}catch(o){if((0,r.isFunction)(t)&&!t.prototype)return t(e)}}catch(e){}return null},e.prototype.initOrWait=function(t,o,n,i,a){var s=function(o,n){if((0,r.isInitable)(n)){var s=n.requires;if((null==s?void 0:s.length)&&!s.every((function(e){return i.includes(e)})))return a[o]=n,!1;try{n.init(t)}catch(e){}i.push(o)}else i.push(o);return n.hasStyle&&e.loadStyle(t,o),!0};s(o,n),Object.keys(a).forEach((function(e){var t=a[e];t&&s(e,t)&&(a[e]=void 0,delete a[e])}))},e.prototype.addListenerOnBeforeDestruct=function(e,t){e.e.on("beforeDestruct",(function(){t.forEach((function(t){(0,r.isDestructable)(t)&&t.destruct(e)})),t.length=0,delete e.__plugins}))},e.prototype.load=function(t,o){return Promise.all(o.map((function(o){var n=o.url||e.getFullUrl(t,o.name,!0);return(0,i.appendScriptAsync)(t,n).then((function(e){return{v:e,status:"fulfilled"}}),(function(e){return{e:e,status:"rejected"}}))})))},e.loadStyle=function(t,o){return n.__awaiter(this,void 0,Promise,(function(){var r;return n.__generator(this,(function(n){return r=e.getFullUrl(t,o,!1),this.styles.has(r)?[2]:(this.styles.add(r),[2,(0,i.appendStyleAsync)(t,r)])}))}))},e.getFullUrl=function(e,t,o){return t=(0,s.kebabCase)(t),e.basePath+"plugins/"+t+"/"+t+"."+(o?"js":"css")},e.prototype.loadExtras=function(e,t){var o=this;if(t&&t.length)try{var n=t.filter((function(e){return!o._items.has(o.normalizeName(e.name))}));if(n.length)return this.load(e,n)}catch(e){}},e.styles=new Set,e}();t.PluginSystem=u},36894:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Plugin=void 0;var n=o(52784),r=o(68311),i=o(51923),a=o(16892),s=function(e){function t(t){var o=e.call(this,t)||this;return o.requires=[],o.buttons=[],o.hasStyle=!1,t.e.on("afterPluginSystemInit",(function(){var e;(0,a.isJoditObject)(t)&&(null===(e=o.buttons)||void 0===e||e.forEach((function(e){t.registerButton(e)})))})).on("afterInit",(function(){o.setStatus(r.STATUSES.ready),o.afterInit(t)})).on("beforeDestruct",o.destruct),o}return n.__extends(t,e),t.prototype.className=function(){return""},t.prototype.init=function(e){},t.prototype.destruct=function(){var t,o,n;if(!this.isInDestruct){this.setStatus(r.STATUSES.beforeDestruct);var i=this.j;(0,a.isJoditObject)(i)&&(null===(t=this.buttons)||void 0===t||t.forEach((function(e){null==i||i.unregisterButton(e)}))),null===(n=null===(o=this.j)||void 0===o?void 0:o.events)||void 0===n||n.off("beforeDestruct",this.destruct),this.beforeDestruct(this.j),e.prototype.destruct.call(this)}},n.__decorate([i.autobind],t.prototype,"destruct",null),t}(r.ViewComponent);t.Plugin=s},75294:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ajax=void 0;var n=o(52784),r=o(733),i=o(16892),a=o(65422),s=o(88211),l=o(94184),c=o(51923);o(57961);var u=function(){function e(e,t){void 0===t&&(t=r.Config.prototype.defaultAjaxOptions),this.__async=new l.Async,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,i.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}return e.prototype.__buildParams=function(e,t){return(0,i.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,i.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,i.isString)(e)||e instanceof window.FormData||"object"==typeof e&&null!=e&&(0,i.isFunction)(e.append)?e:(0,i.buildQuery)(e)},Object.defineProperty(e.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),e.prototype.abort=function(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(e){}return this},e.prototype.send=function(){var e=this;this.__activated=!0;var t=this.xhr,o=this.o,r=this.prepareRequest();return this.__async.promise((function(l,c){return n.__awaiter(e,void 0,void 0,(function(){var e,u,d,p,f,h=this;return n.__generator(this,(function(n){switch(n.label){case 0:return e=function(){h.__isFulfilled=!0,c(a.connection("Connection error"))},t.onload=u=function(){h.__isFulfilled=!0,l(new s.Response(r,t.status,t.statusText,t.responseType?t.response:t.responseText))},t.onabort=function(){h.__isFulfilled=!0,c(a.abort("Abort connection"))},t.onerror=e,t.ontimeout=e,o.responseType&&(t.responseType=o.responseType),t.onprogress=function(e){var t,o,n=0;e.lengthComputable&&(n=e.loaded/e.total*100),null===(o=(t=h.options).onProgress)||void 0===o||o.call(t,n)},t.onreadystatechange=function(){var e,n;null===(n=(e=h.options).onProgress)||void 0===n||n.call(e,10),t.readyState===XMLHttpRequest.DONE&&(o.successStatuses.includes(t.status)?u():t.statusText&&(h.__isFulfilled=!0,c(a.connection(t.statusText))))},t.withCredentials=null!==(f=o.withCredentials)&&void 0!==f&&f,d=r.data,t.open(r.method,r.url,!0),o.contentType&&t.setRequestHeader&&t.setRequestHeader("Content-type",o.contentType),(0,i.isFunction)(p=o.headers)?[4,p.call(this)]:[3,2];case 1:p=n.sent(),n.label=2;case 2:return p&&t.setRequestHeader&&Object.keys(p).forEach((function(e){t.setRequestHeader(e,p[e])})),this.__async.setTimeout((function(){t.send(d?h.__buildParams(d):void 0)}),0),[2]}}))}))}))},e.prototype.prepareRequest=function(){if(!this.o.url)throw a.error("Need URL for AJAX request");var t=this.o.url,o=this.o.data,r=(this.o.method||"get").toLowerCase();if("get"===r&&o&&(0,i.isPlainObject)(o)){var s=t.indexOf("?");if(-1!==s){var l=(0,i.parseQuery)(t);t=t.substring(0,s)+"?"+(0,i.buildQuery)(n.__assign(n.__assign({},l),o))}else t+="?"+(0,i.buildQuery)(this.o.data)}var c={url:t,method:r,data:o};return e.log.splice(100),e.log.push(c),c},e.prototype.destruct=function(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())},e.log=[],n.__decorate([c.autobind],e.prototype,"destruct",null),e}();t.Ajax=u},57961:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:function(){return new XMLHttpRequest}}},42239:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(75294),t),n.__exportStar(o(88211),t)},88211:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Response=void 0;var n=o(52784),r=function(){function e(e,t,o,n){this.request=e,this.status=t,this.statusText=o,this.body=n}return Object.defineProperty(e.prototype,"url",{get:function(){return this.request.url},enumerable:!1,configurable:!0}),e.prototype.json=function(){return n.__awaiter(this,void 0,Promise,(function(){return n.__generator(this,(function(e){return[2,JSON.parse(this.body)]}))}))},e.prototype.text=function(){return Promise.resolve(this.body)},e.prototype.blob=function(){return n.__awaiter(this,void 0,Promise,(function(){return n.__generator(this,(function(e){return[2,this.body]}))}))},e}();t.Response=r},80354:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(24579),t),n.__exportStar(o(59532),t)},24579:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveNodeInsideStart=void 0;var n=o(96582),r=o(49940);t.moveNodeInsideStart=function(e,t,o){for(var i=n.Dom.findSibling(t,o),a=n.Dom.findSibling(t,!o);n.Dom.isElement(i)&&!n.Dom.isTag(i,r.INSEPARABLE_TAGS)&&n.Dom.isContentEditable(i,e.editor)&&(!a||!n.Dom.closest(t,n.Dom.isElement,e.editor));)o||!i.firstChild?i.appendChild(t):n.Dom.before(i.firstChild,t),i=n.Dom.sibling(t,o),a=n.Dom.sibling(t,!o)}},59532:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveTheNodeAlongTheEdgeOutward=void 0;var n=o(96582);t.moveTheNodeAlongTheEdgeOutward=function(e,t,o){for(var r=e;r&&r!==o;){if(n.Dom.findSibling(r,t))return;(r=r.parentElement)&&r!==o&&(t?n.Dom.before(r,e):n.Dom.after(r,e))}}},60039:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(15899),t),n.__exportStar(o(20865),t)},20865:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Select=void 0;var n=o(52784),r=o(49940),i=o(49940),a=o(96582),s=o(16892),l=o(15899),c=o(51923),u=o(80354),d=function(){function e(e){var t=this;this.jodit=e,e.e.on("removeMarkers",(function(){t.removeMarkers()}))}return Object.defineProperty(e.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.errorNode=function(e){if(!a.Dom.isNode(e))throw(0,s.error)("Parameter node must be instance of Node")},Object.defineProperty(e.prototype,"area",{get:function(){return this.j.editor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"win",{get:function(){return this.j.ew},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"doc",{get:function(){return this.j.ed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sel",{get:function(){return this.j.o.shadowRoot&&(0,s.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){var e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInsideArea",{get:function(){var e=this.sel,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!a.Dom.isOrContains(this.area,t.startContainer))},enumerable:!1,configurable:!0}),e.prototype.createRange=function(e){void 0===e&&(e=!1);var t=this.doc.createRange();return e&&this.selectRange(t),t},e.prototype.remove=function(){var e=this.sel,t=this.current();if(e&&t)for(var o=0;e.rangeCount>o;o+=1)e.getRangeAt(o).deleteContents(),e.getRangeAt(o).collapse(!0)},e.prototype.clear=function(){var e,t;(null===(e=this.sel)||void 0===e?void 0:e.rangeCount)&&(null===(t=this.sel)||void 0===t||t.removeAllRanges())},e.prototype.removeNode=function(e){if(!a.Dom.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");a.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)},e.prototype.insertCursorAtPoint=function(e,t){var o=this;this.removeMarkers();try{var n=this.createRange();return function(){if(o.doc.caretPositionFromPoint&&(r=o.doc.caretPositionFromPoint(e,t)))n.setStart(r.offsetNode,r.offset);else if(o.doc.caretRangeFromPoint){var r=o.doc.caretRangeFromPoint(e,t);n.setStart(r.startContainer,r.startOffset)}}(),n.collapse(!0),this.selectRange(n),!0}catch(e){}return!1},e.isMarker=function(e){return a.Dom.isNode(e)&&a.Dom.isTag(e,"span")&&e.hasAttribute("data-"+r.MARKER_CLASS)},Object.defineProperty(e.prototype,"hasMarkers",{get:function(){return Boolean(this.markers.length)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return(0,s.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)},enumerable:!1,configurable:!0}),e.prototype.removeMarkers=function(){a.Dom.safeRemove.apply(null,this.markers)},e.prototype.marker=function(e,t){void 0===e&&(e=!1);var o=null;t&&(o=t.cloneRange()).collapse(e);var n=this.j.createInside.span();return n.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),n.style.lineHeight="0",n.style.display="none",a.Dom.markTemporary(n),(0,s.attr)(n,"data-"+r.MARKER_CLASS,e?"start":"end"),n.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),o&&a.Dom.isOrContains(this.area,e?o.startContainer:o.endContainer)&&o.insertNode(n),n},e.prototype.restore=function(){var e=!1,t=function(e){return"span[data-".concat(r.MARKER_CLASS,"=").concat(e?"start":"end","]")},o=this.area.querySelector(t(!0)),n=this.area.querySelector(t(!1));if(o){if(e=this.createRange(),n)e.setStartAfter(o),a.Dom.safeRemove(o),e.setEndBefore(n),a.Dom.safeRemove(n);else{var i=o.previousSibling;a.Dom.isText(i)?e.setStart(i,i.nodeValue?i.nodeValue.length:0):e.setStartBefore(o),a.Dom.safeRemove(o),e.collapse(!0)}e&&this.selectRange(e)}},e.prototype.save=function(e){if(void 0===e&&(e=!1),this.hasMarkers)return[];var t=this.sel;if(!t||!t.rangeCount)return[];for(var o=[],n=t.rangeCount,r=[],i=0;n>i;i+=1)if(r[i]=t.getRangeAt(i),r[i].collapsed){var a=this.marker(!0,r[i]);o[i]={startId:a.id,collapsed:!0,startMarker:a.outerHTML}}else{a=this.marker(!0,r[i]);var s=this.marker(!1,r[i]);o[i]={startId:a.id,endId:s.id,collapsed:!1,startMarker:a.outerHTML,endMarker:s.outerHTML}}if(!e)for(t.removeAllRanges(),i=n-1;i>=0;--i){var l=this.doc.getElementById(o[i].startId);if(l)if(o[i].collapsed)r[i].setStartAfter(l),r[i].collapse(!0);else if(r[i].setStartBefore(l),o[i].endId){var c=this.doc.getElementById(o[i].endId);c&&r[i].setEndAfter(c)}try{t.addRange(r[i].cloneRange())}catch(e){}}return o},e.prototype.focus=function(e){var t,o;if(void 0===e&&(e={preventScroll:!0}),!this.isFocused()){var n=(0,s.getScrollParent)(this.j.container),r=null==n?void 0:n.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),r&&(null==n?void 0:n.scrollTo)&&n.scrollTo(0,r);var i=this.sel,l=(null==i?void 0:i.rangeCount)?null==i?void 0:i.getRangeAt(0):null;if(!l||!a.Dom.isOrContains(this.area,l.startContainer)){var c=this.createRange();c.setStart(this.area,0),c.collapse(!0),this.selectRange(c,!1)}return this.j.editorIsActive||null===(o=null===(t=this.j)||void 0===t?void 0:t.events)||void 0===o||o.fire("focus"),!0}return!1},e.prototype.isCollapsed=function(){for(var e=this.sel,t=0;e&&e.rangeCount>t;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0},e.prototype.isFocused=function(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement},e.prototype.current=function(e){if(void 0===e&&(e=!0),this.j.getRealMode()===r.MODE_WYSIWYG){var t=this.sel;if(!t||0===t.rangeCount)return null;var o=t.getRangeAt(0),n=o.startContainer,i=!1,s=function(e){return i?e.lastChild:e.firstChild};if(a.Dom.isTag(n,"br")&&t.isCollapsed)return n;if(!a.Dom.isText(n)){if((n=o.startContainer.childNodes[o.startOffset])||(n=o.startContainer.childNodes[o.startOffset-1],i=!0),n&&t.isCollapsed&&!a.Dom.isText(n))if(!i&&a.Dom.isText(n.previousSibling))n=n.previousSibling;else if(e)for(var l=s(n);l;){if(l&&a.Dom.isText(l)){n=l;break}l=s(l)}if(n&&!t.isCollapsed&&!a.Dom.isText(n)){var c=n,u=n;do{c=c.firstChild,u=u.lastChild}while(c&&u&&!a.Dom.isText(c));c===u&&c&&a.Dom.isText(c)&&(n=c)}}if(n&&a.Dom.isOrContains(this.area,n))return n}return null},e.prototype.insertNode=function(e,t,o){var n=this;void 0===t&&(t=!0),void 0===o&&(o=!0),this.errorNode(e),this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());var r=this.sel;this.j.history.snapshot.transaction((function(){var o;if(n.isCollapsed()||n.j.execCommand("Delete"),n.j.e.fire("beforeInsertNode",e),r&&r.rangeCount){var s=r.getRangeAt(0);a.Dom.isOrContains(n.area,s.commonAncestorContainer)?a.Dom.isTag(s.startContainer,i.INSEPARABLE_TAGS)&&s.collapsed?null===(o=s.startContainer.parentNode)||void 0===o||o.insertBefore(e,s.startContainer):a.Dom.safeInsertNode(s,e):n.area.appendChild(e)}else n.area.appendChild(e);t&&(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.lastChild&&n.setCursorAfter(e.lastChild):n.setCursorAfter(e))})),o&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",e)},e.prototype.insertHTML=function(e,t){if(void 0===t&&(t=!0),""!==e){var o,n=this.j.createInside.div(),r=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),a.Dom.isNode(e)?n.appendChild(e):n.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",n.innerHTML))&&(o=n.lastChild)){for(;n.firstChild;)o=n.firstChild,r.appendChild(n.firstChild);this.insertNode(r.firstChild&&r.firstChild===r.lastChild?r.lastChild:r,!1,!1),t&&(o?this.setCursorAfter(o):this.setCursorIn(r)),this.j.__imdSynchronizeValues()}}},e.prototype.insertImage=function(e,t,o){void 0===t&&(t=null),void 0===o&&(o=null);var n=(0,s.isString)(e)?this.j.createInside.element("img"):e;if((0,s.isString)(e)&&n.setAttribute("src",e),null!=o){var r=o.toString();r&&"auto"!==r&&0>String(r).indexOf("px")&&0>String(r).indexOf("%")&&(r+="px"),(0,s.call)(this.j.o.resizer.forImageChangeAttributes?s.attr:s.css,n,"width",r)}t&&"object"==typeof t&&(0,s.css)(n,t);var i=function(){(n.offsetHeight>n.naturalHeight||n.offsetWidth>n.naturalWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",i)};this.j.e.on(n,"load",i),n.complete&&i(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)},e.prototype.eachSelection=function(t){var o,n=this,r=this.sel;if(r&&r.rangeCount){var l=r.getRangeAt(0),c=l.commonAncestorContainer;a.Dom.isHTMLElement(c)||(c=c.parentElement);var u=[],d=l.startOffset,p=c.childNodes.length,f=l.startContainer===this.area?c.childNodes[p>d?d:p-1]:l.startContainer,h=l.endContainer===this.area?c.childNodes[l.endOffset-1]:l.endContainer;a.Dom.isText(f)&&f===l.startContainer&&l.startOffset===(null===(o=f.nodeValue)||void 0===o?void 0:o.length)&&f.nextSibling&&(f=f.nextSibling),a.Dom.isText(h)&&h===l.endContainer&&0===l.endOffset&&h.previousSibling&&(h=h.previousSibling);var m=function(t){!t||t===c||a.Dom.isEmptyTextNode(t)||e.isMarker(t)||u.push(t)};m(f),f!==h&&a.Dom.isOrContains(c,f,!0)&&a.Dom.find(f,(function(e){return m(e),e===h||e&&e.contains&&e.contains(h)}),c,!0,!1);var v=function(e){if(a.Dom.isOrContains(n.j.editor,e,!0)){if(e.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(e.childNodes).forEach(v);if(a.Dom.isTag(e,"li"))if(e.firstChild)e=e.firstChild;else{var o=n.j.createInside.text(i.INVISIBLE_SPACE);e.appendChild(o),e=o}t(e)}};0===u.length&&a.Dom.isEmptyTextNode(f)&&u.push(f),0===u.length&&f.firstChild&&u.push(f.firstChild),u.forEach(v)}},e.prototype.cursorInTheEdge=function(e,t){var o,n,r=!e,l=null===(o=this.sel)||void 0===o?void 0:o.getRangeAt(0),c=this.current(!1);if(!l||!c||!a.Dom.isOrContains(t,c,!0))return null;var u=e?l.startContainer:l.endContainer,d=e?l.startOffset:l.endOffset,p=function(e){return Boolean(e&&!a.Dom.isTag(e,"br")&&!a.Dom.isEmptyTextNode(e))};if(a.Dom.isText(u)){var f=(null===(n=u.nodeValue)||void 0===n?void 0:n.length)?u.nodeValue:"";if(r&&f.replace((0,i.INVISIBLE_SPACE_REG_EXP_END)(),"").length>d)return!1;var h=(0,i.INVISIBLE_SPACE_REG_EXP_START)().exec(f);if(e&&(h&&d>h[0].length||!h&&d>0))return!1}else{var m=(0,s.toArray)(u.childNodes);if(r){if(m.slice(d).some(p))return!1}else if(m.slice(0,d).some(p))return!1}return!(0,s.call)(e?a.Dom.prev:a.Dom.next,c,p,t)},e.prototype.cursorOnTheLeft=function(e){return this.cursorInTheEdge(!0,e)},e.prototype.cursorOnTheRight=function(e){return this.cursorInTheEdge(!1,e)},e.prototype.setCursorAfter=function(e){return this.setCursorNearWith(e,!1)},e.prototype.setCursorBefore=function(e){return this.setCursorNearWith(e,!0)},e.prototype.setCursorNearWith=function(e,t){var o,n,i=this;if(this.errorNode(e),!a.Dom.up(e,(function(e){return e===i.area||e&&e.parentNode===i.area}),this.area))throw(0,s.error)("Node element must be in editor");var l=this.createRange(),c=null;return a.Dom.isText(e)?t?l.setStart(e,0):l.setEnd(e,null!==(n=null===(o=e.nodeValue)||void 0===o?void 0:o.length)&&void 0!==n?n:0):(c=this.j.createInside.text(r.INVISIBLE_SPACE),t?l.setStartBefore(e):l.setEndAfter(e),l.collapse(t),a.Dom.safeInsertNode(l,c),l.selectNode(c)),l.collapse(t),this.selectRange(l),c},e.prototype.setCursorIn=function(e,t){var o=this;if(void 0===t&&(t=!1),this.errorNode(e),!a.Dom.up(e,(function(e){return e===o.area||e&&e.parentNode===o.area}),this.area))throw(0,s.error)("Node element must be in editor");var n=this.createRange(),i=e,l=e;do{if(a.Dom.isText(i))break;l=i,i=t?i.firstChild:i.lastChild}while(i);if(!i){var c=this.j.createInside.text(r.INVISIBLE_SPACE);/^(img|br|input)$/i.test(l.nodeName)?i=l:(l.appendChild(c),l=c)}return n.selectNodeContents(i||l),n.collapse(t),this.selectRange(n),l},e.prototype.selectRange=function(e,t){void 0===t&&(t=!0);var o=this.sel;return t&&!this.isFocused()&&this.focus(),o&&(o.removeAllRanges(),o.addRange(e)),this.j.e.fire("changeSelection"),this},e.prototype.select=function(e,t){var o=this;if(void 0===t&&(t=!1),this.errorNode(e),!a.Dom.up(e,(function(e){return e===o.area||e&&e.parentNode===o.area}),this.area))throw(0,s.error)("Node element must be in editor");var n=this.createRange();return n[t?"selectNodeContents":"selectNode"](e),this.selectRange(n)},Object.defineProperty(e.prototype,"html",{get:function(){var e=this.sel;if(e&&e.rangeCount>0){var t=e.getRangeAt(0).cloneContents(),o=this.j.createInside.div();return o.appendChild(t),o.innerHTML}return""},enumerable:!1,configurable:!0}),e.prototype.wrapInTagGen=function(){var t,o,r,l,c,u,d,p,f,h,m;return n.__generator(this,(function(v){switch(v.label){case 0:return this.isCollapsed()?(u=this.jodit.createInside.element("font",i.INVISIBLE_SPACE),this.insertNode(u,!1,!1),t=n.__read(this.markers,1),(o=t[0])?u.appendChild(o):(this.setCursorIn(u),this.save()),[4,u]):[3,2];case 1:return v.sent(),a.Dom.unwrap(u),[2];case 2:(0,s.$$)("*[style*=font-size]",this.area).forEach((function(e){return(0,s.attr)(e,"data-font-size",e.style.fontSize.toString())})),this.isCollapsed()?(u=this.j.createInside.element("font"),(0,s.attr)(u,"size",7),this.insertNode(u,!1,!1)):this.j.nativeExecCommand("fontsize",!1,"7"),(0,s.$$)("*[data-font-size]",this.area).forEach((function(e){var t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))})),r=(0,s.$$)('font[size="7"]',this.area),v.label=3;case 3:v.trys.push([3,8,9,10]),l=n.__values(r),c=l.next(),v.label=4;case 4:return c.done?[3,7]:(p=(u=c.value).lastChild,(d=u.firstChild)&&d===p&&e.isMarker(d)?(a.Dom.unwrap(u),[3,6]):(d&&e.isMarker(d)&&a.Dom.before(u,d),p&&e.isMarker(p)&&a.Dom.after(u,p),[4,u]));case 5:v.sent(),a.Dom.unwrap(u),v.label=6;case 6:return c=l.next(),[3,4];case 7:return[3,10];case 8:return f=v.sent(),h={error:f},[3,10];case 9:try{c&&!c.done&&(m=l.return)&&m.call(l)}finally{if(h)throw h.error}return[7];case 10:return[2]}}))},e.prototype.wrapInTag=function(t){var o,r,i=[];try{for(var l=n.__values(this.wrapInTagGen()),c=l.next();!c.done;c=l.next()){var u=c.value;try{if(u.firstChild&&u.firstChild===u.lastChild&&e.isMarker(u.firstChild))continue;(0,s.isFunction)(t)?t(u):i.push(a.Dom.replace(u,t,this.j.createInside))}finally{var d=u.parentNode;d&&(a.Dom.unwrap(u),a.Dom.isEmpty(d)&&a.Dom.unwrap(d))}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(o)throw o.error}}return i},e.prototype.applyStyle=function(e,t){void 0===t&&(t={}),new l.CommitStyle({style:e,element:t.element,className:t.className,defaultTag:t.defaultTag}).apply(this.j)},e.prototype.splitSelection=function(e){if(!this.isCollapsed())return null;var t=this.createRange(),o=this.range;t.setStartBefore(e);var n=this.cursorOnTheRight(e),r=this.cursorOnTheLeft(e),s=this.j.createInside.element("br"),l=this.j.createInside.text(i.INVISIBLE_SPACE),c=l.cloneNode();try{if(n||r){a.Dom.safeInsertNode(o,s);var u=function(e,t){for(var o=t(e);o;){var n=t(o);if(!o||!a.Dom.isTag(o,"br")&&!a.Dom.isEmptyTextNode(o))break;a.Dom.safeRemove(o),o=n}};u(s,(function(e){return e.nextSibling})),u(s,(function(e){return e.previousSibling})),a.Dom.after(s,c),a.Dom.before(s,l),n?(t.setEndBefore(s),o.setEndBefore(s)):(t.setEndAfter(s),o.setEndAfter(s))}else t.setEnd(o.startContainer,o.startOffset);var d=t.extractContents(),p=function(e){return a.Dom.each(e,(function(e){return a.Dom.isEmptyTextNode(e)&&a.Dom.safeRemove(e)}))};if(e.parentNode)try{if(p(d),p(e),e.parentNode.insertBefore(d,e),n&&(null==s?void 0:s.parentNode)){var f=this.createRange();f.setStartBefore(s),this.selectRange(f)}}catch(e){}var h=function(e){var t,o,n;(null===(t=null==e?void 0:e.parentNode)||void 0===t?void 0:t.firstChild)===(null===(o=null==e?void 0:e.parentNode)||void 0===o?void 0:o.lastChild)&&(null===(n=null==e?void 0:e.parentNode)||void 0===n||n.appendChild(s.cloneNode()))};h(l),h(c)}finally{a.Dom.safeRemove(l),a.Dom.safeRemove(c)}return e.previousElementSibling},e.prototype.expandSelection=function(){var e=this;if(this.isCollapsed())return this;var t=this.range,o=t.cloneRange();if(!a.Dom.isOrContains(this.j.editor,t.commonAncestorContainer,!0))return this;var n=function(o){var n=e.j.createInside.fake(),r=t.cloneRange();return r.collapse(o),a.Dom.safeInsertNode(r,n),(0,u.moveTheNodeAlongTheEdgeOutward)(n,o,e.j.editor),n},r=n(!0),i=n(!1);o.setStartAfter(r),o.setEndBefore(i);var s=a.Dom.findSibling(r,!1),l=a.Dom.findSibling(i,!0);if(s!==l){var c=a.Dom.isElement(s)&&a.Dom.isOrContains(s,i),d=!c&&a.Dom.isElement(l)&&a.Dom.isOrContains(l,r);if(c||d){for(var p=c?s:l,f=p;a.Dom.isElement(p);)(p=c?p.firstElementChild:p.lastElementChild)&&a.Dom.isOrContains(p,c?i:r)&&(f=p);c?o.setStart(f,0):o.setEnd(f,f.childNodes.length)}}return this.selectRange(o),a.Dom.safeRemove(r,i),this},n.__decorate([c.autobind],e.prototype,"createRange",null),n.__decorate([c.autobind],e.prototype,"focus",null),n.__decorate([c.autobind],e.prototype,"setCursorAfter",null),n.__decorate([c.autobind],e.prototype,"setCursorBefore",null),n.__decorate([c.autobind],e.prototype,"setCursorIn",null),e}();t.Select=d},29554:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementHasSameStyleKeys=t.elementHasSameStyle=void 0;var n=o(21714),r=o(93215),i=o(44523),a=o(96582);t.elementHasSameStyle=function(e,t){return Boolean(!a.Dom.isTag(e,"font")&&a.Dom.isHTMLElement(e)&&Object.keys(t).every((function(o){var a=(0,n.css)(e,o,!0);return!(0,r.isVoid)(a)&&""!==a&&!(0,r.isVoid)(t[o])&&(0,i.normalizeCssValue)(o,t[o]).toString().toLowerCase()===a.toString().toLowerCase()})))},t.elementHasSameStyleKeys=function(e,t){return Boolean(!a.Dom.isTag(e,"font")&&a.Dom.isHTMLElement(e)&&Object.keys(t).every((function(t){return!(0,r.isVoid)((0,n.css)(e,t,!0))})))}},19008:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractSelectedPart=void 0;var n=o(20865),r=o(16892),i=o(96582);function a(e,t,o){var n=t.extractContents();n.textContent&&(0,r.trim)(n.textContent).length||!n.firstChild||i.Dom.unwrap(n.firstChild),e.parentNode&&(0,r.call)(o?i.Dom.before:i.Dom.after,e,n)}t.extractSelectedPart=function(e,t,o){var r=o.s.createRange(),i=n.Select.isMarker(t.previousSibling)?t.previousSibling:t;r.setStartBefore(e),r.setEndBefore(i),a(e,r,!0);var s=n.Select.isMarker(t.nextSibling)?t.nextSibling:t;r.setStartAfter(s),r.setEndAfter(e),a(e,r,!1)}},68465:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FiniteStateMachine=void 0;var n=o(52784),r=function(){function e(e,t){this.state=e,this.transitions=t,this.subState="",this.silent=!0}return e.prototype.setState=function(e,t){this.state=e,null!=t&&(this.subState=t)},e.prototype.getState=function(){return this.state},e.prototype.getSubState=function(){return this.subState},e.prototype.disableSilent=function(){this.silent=!1},e.prototype.dispatch=function(e){for(var t=[],o=1;arguments.length>o;o++)t[o-1]=arguments[o];var r=this.transitions[this.state][e];if(r){var i=r.call.apply(r,n.__spreadArray([this],n.__read(t),!1));return i}if(!this.silent)throw new Error("invalid action: "+this.state+"."+e)},e}();t.FiniteStateMachine=r},76420:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSuitChild=void 0;var n=o(96582),r=o(91969),i=o(4730);t.getSuitChild=function(e,t){for(var o=t.firstChild;o&&!(0,r.isNormalNode)(o);)if(!(o=o.nextSibling))return null;return o&&!n.Dom.next(o,r.isNormalNode,t)&&(0,i.isSuitElement)(e,o,!1)?o:null}},24321:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSuitParent=void 0;var n=o(96582),r=o(91969),i=o(4730);t.getSuitParent=function e(t,o,a){var s=o.parentNode;return s===a||!n.Dom.isHTMLElement(s)||n.Dom.next(o,r.isNormalNode,s)||n.Dom.prev(o,r.isNormalNode,s)?null:t.isElementCommit&&t.elementIsBlock&&!n.Dom.isBlock(s)?e(t,s,a):!(0,i.isSuitElement)(t,s,!1)||n.Dom.isBlock(s)&&!t.elementIsBlock?t.isElementCommit&&!n.Dom.isBlock(s)?e(t,s,a):null:s}},7680:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(52839),t),n.__exportStar(o(43291),t),n.__exportStar(o(29554),t),n.__exportStar(o(19008),t),n.__exportStar(o(68465),t),n.__exportStar(o(76420),t),n.__exportStar(o(24321),t),n.__exportStar(o(50954),t),n.__exportStar(o(91969),t),n.__exportStar(o(4730),t),n.__exportStar(o(70427),t),n.__exportStar(o(77806),t),n.__exportStar(o(45562),t),n.__exportStar(o(72598),t),n.__exportStar(o(8990),t)},50954:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInsideInvisibleElement=void 0;var n=o(96582);t.isInsideInvisibleElement=function(e,t){return Boolean(n.Dom.closest(e,["style","script"],t))}},91969:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNormalNode=void 0;var n=o(96582),r=o(60039);t.isNormalNode=function(e){return Boolean(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!r.Select.isMarker(e))}},4730:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSameStyleChild=t.isSuitElement=void 0;var n=o(91969),r=o(29554),i=o(96582);t.isSuitElement=function(e,t,o){if(!t)return!1;var a=e.element,s=e.elementIsDefault,l=e.options,c=Boolean(l.style&&(0,r.elementHasSameStyle)(t,l.style)),u=t.nodeName.toLowerCase()===a||i.Dom.isTag(t,["ul","ol"])&&e.elementIsList;return!!((!s||!o)&&u||c&&(0,n.isNormalNode)(t))||Boolean(!u&&!o&&s&&i.Dom.isInlineBlock(t))},t.isSameStyleChild=function(e,t){var o=e.element,i=e.options;if(!t||!(0,n.isNormalNode)(t))return!1;var a=t.nodeName.toLowerCase()===o,s=Boolean(i.style&&(0,r.elementHasSameStyleKeys)(t,i.style));return a&&s}},70427:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCommitStyles=void 0;var n=o(96582);t.toggleCommitStyles=function(e,t,o){return!!(e.elementIsBlock||n.Dom.isTag(t,e.element)&&!e.elementIsDefault)&&(t.getAttribute("style")?n.Dom.replace(t,e.defaultTag,o.createInside,!0):n.Dom.unwrap(t),!0)}},52839:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCSS=void 0;var n=o(93772),r=o(21714),i=o(1070),a=o(76910),s=o(44523),l=o(40318),c=o(96582),u=o(15899),d=o(58706);function p(e,t,o){return(0,n.attr)(t,"style")||((0,n.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(c.Dom.unwrap(t),o=u.UNWRAP)),o}t.toggleCSS=function(e,t,o,n,f){void 0===f&&(f=!1);var h=e.options,m=h.style,v=h.className;return m&&(0,l.size)(m)>0&&Object.keys(m).forEach((function(l){if(""!==t.style.getPropertyValue((0,a.kebabCase)(l))||null!=m[l]){if(function(e,t,o){var n=e.create.element(t.tagName.toLowerCase());n.style.cssText=t.style.cssText,function(e){var t;if(void 0!==(0,i.dataBind)(e,"shadowRoot"))return(0,i.dataBind)(e,"shadowRoot");var o=(0,d.getContainer)(e),n=document.createElement("iframe");(0,r.css)(n,{width:0,height:0,position:"absolute",border:0}),n.src="about:blank",o.appendChild(n);var a=null===(t=n.contentWindow)||void 0===t?void 0:t.document,s=a?a.body:e.od.body;return(0,i.dataBind)(e,"shadowRoot",s),s}(e).appendChild(n);var a=(0,r.css)(n,o);return c.Dom.safeRemove(n),a}(o,t,l)===(0,s.normalizeCssValue)(l,m[l]))return!f&&(0,r.css)(t,l,null),void(n=p(e,t,n=u.UNSET));n=u.CHANGE,!f&&(0,r.css)(t,l,m[l]),f||(n=p(e,t,n))}})),v&&(t.classList.contains(v)?(t.classList.remove(v),n=u.UNSET):(t.classList.add(v),n=u.CHANGE)),n}},43291:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleOrderedList=void 0;var n=o(96582),r=o(19008),i=o(15899),a=o(52839);t.toggleOrderedList=function(e,t,o,s){if(!t)return s;var l=t.parentElement;if(!l)return s;if(l.tagName.toLowerCase()!==e.element){var c=n.Dom.replace(l,e.element,o.createInside);return(0,a.toggleCSS)(e,c,o,s),i.REPLACE}return(0,a.toggleCSS)(e,t.parentElement,o,i.INITIAL,!0)===i.CHANGE?(0,a.toggleCSS)(e,t.parentElement,o,s):((0,r.extractSelectedPart)(l,t,o),n.Dom.unwrap(t.parentElement),n.Dom.replace(t,o.o.enter,o.createInside),s)}},77806:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unwrapChildren=void 0;var n=o(96582),r=o(4730),i=o(16892),a=o(29554);t.unwrapChildren=function(e,t){var o,s=[],l=[],c=e.options.style;if(t.firstChild)for(var u=n.Dom.eachGen(t),d=u.next(),p=function(){var t=d.value;!(0,r.isSuitElement)(e,t,!0)||c&&!(0,a.elementHasSameStyleKeys)(t,c)?c&&(0,r.isSameStyleChild)(e,t)?(void 0===o&&(o=!1),l.push((function(){(0,i.css)(t,Object.keys(c).reduce((function(e,t){return e[t]=null,e}),{})),(0,i.attr)(t,"style")||(0,i.attr)(t,"style",null),(0,i.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||s.push(t)}))):n.Dom.isEmptyTextNode(t)||void 0===o&&(o=!1):(void 0===o&&(o=!0),s.push(t)),d=u.next()};!d.done;)p();return l.forEach((function(e){return e()})),s.forEach(n.Dom.unwrap),Boolean(o)}},45562:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapAndCommitStyle=void 0;var n=o(96582),r=o(8990),i=o(16892),a=o(72598);t.wrapAndCommitStyle=function(e,t,o){var s=function(e,t,o){if(e.elementIsBlock){var a=n.Dom.up(t,(function(e){return n.Dom.isBlock(e)&&!n.Dom.isTag(e,["td","th","tr","tbody","table","li","ul","ol"])}),o.editor);if(a)return a}return e.elementIsBlock?(0,r.wrapUnwrappedText)(e,t,o,o.s.createRange):((0,i.attr)(t,"size",null),t)}(e,t,o);return e.elementIsList?(0,a.wrapOrderedList)(e,s,o):n.Dom.replace(s,e.element,o.createInside,!0)}},72598:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapOrderedList=void 0;var n=o(96582);t.wrapOrderedList=function(e,t,o){var r=n.Dom.replace(t,"li",o.createInside),i=r.previousElementSibling||r.nextElementSibling;return n.Dom.isTag(i,["ul","ol"])||(i=o.createInside.element(e.element),n.Dom.before(r,i)),r.previousElementSibling===i?n.Dom.append(i,r):n.Dom.prepend(i,r),i}},8990:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapUnwrappedText=void 0;var n=o(96582);t.wrapUnwrappedText=function(e,t,o,r){var i=o.editor,a=o.createInside,s=function(e,t){void 0===t&&(t="previousSibling");for(var r=e,a=e;a&&!n.Dom.isTag(a,o.o.enter)&&(r=a,a=a[t]?a[t]:a.parentNode&&!n.Dom.isBlock(a.parentNode)&&a.parentNode!==i?a.parentNode:null,!n.Dom.isBlock(a)););return r},l=s(t),c=s(t,"nextSibling"),u=r();u.setStartBefore(l),u.setEndAfter(c);var d=u.extractContents(),p=a.element(e.element);return p.appendChild(d),n.Dom.safeInsertNode(u,p),e.elementIsBlock&&n.Dom.isEmpty(p)&&!n.Dom.isTag(p.firstElementChild,"br")&&p.appendChild(a.element("br")),p}},84863:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApplyStyle=void 0;var n=o(16892),r=o(7680),i=o(15899),a=o(96582),s=o(7680);t.ApplyStyle=function(e,t){var o=e.s,l=e.editor,c=new s.FiniteStateMachine("start",{start:{start:function(){o.save(),(0,n.normalizeNode)(l.firstChild),this.setState("generator")}},generator:{initGenerator:function(){return e.s.wrapInTagGen()},nextFont:function(e){var t=e.next();if(t.done)this.setState("end");else if(!(0,r.isInsideInvisibleElement)(t.value,l)&&!a.Dom.isEmptyContent(t.value))return this.setState("check"),t.value}},check:{work:function(o){var n=(0,r.getSuitParent)(t,o,e.editor)||(0,r.getSuitChild)(t,o);return n?(this.setState("wholeElement"),n):((n=a.Dom.closest(o,(function(e){return(0,s.isSuitElement)(t,e,!0)}),e.editor))&&(t.elementIsBlock||(0,s.extractSelectedPart)(n,o,e)),t.elementIsList&&a.Dom.isTag(n,["ul","ol"])?(this.setState("orderList"),o):n?(this.setState("wholeElement"),n):(0,r.unwrapChildren)(t,o)?(this.setState("endProcess"),null):(this.setState("wrap"),o))}},wholeElement:{toggleStyles:function(o){var n=i.INITIAL;n=(0,r.toggleCommitStyles)(t,o,e)?i.UNWRAP:(0,s.toggleCSS)(t,o,e,n),this.setState("generator",n)}},orderList:{toggleStyles:function(o){var n=i.INITIAL,r=a.Dom.closest(o,"li",e.editor);r&&a.Dom.closest(o,["ul","ol"],e.editor)?(n=(0,s.toggleOrderedList)(t,r,e,n),this.setState(n!==i.REPLACE&&n!==i.UNWRAP&&n!==i.CHANGE?"generator":"endWhile")):this.setState("generator")}},wrap:{toggleStyles:function(o){if("unwrap"!==this.getSubState()){var n=(0,s.wrapAndCommitStyle)(t,o,e);(0,s.toggleCSS)(t,n,e,i.WRAP)}this.setState("generator")}},endWhile:{nextFont:function(e){e.next().done&&this.setState("end")}},endProcess:{toggleStyles:function(){this.setState("generator")}},end:{finalize:function(){o.restore()}}});c.dispatch("start");for(var u=c.dispatch("initGenerator");"end"!==c.getState();){var d=c.dispatch("nextFont",u);if(d){var p=c.dispatch("work",d);c.dispatch("toggleStyles",p)}}c.dispatch("finalize",u)}},15899:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommitStyle=t.REPLACE=t.INITIAL=t.UNSET=t.CHANGE=t.UNWRAP=t.WRAP=void 0;var n=o(49940),r=o(84863);t.WRAP="wrap",t.UNWRAP="unwrap",t.CHANGE="change",t.UNSET="unset",t.INITIAL="initial",t.REPLACE="replace";var i=function(){function e(e){this.options=e}return Object.defineProperty(e.prototype,"elementIsList",{get:function(){return Boolean(this.options.element&&["ul","ol"].includes(this.options.element))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.options.element||this.defaultTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"elementIsBlock",{get:function(){return Boolean(this.options.element&&n.IS_BLOCK.test(this.options.element))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isElementCommit",{get:function(){return Boolean(this.options.element&&this.options.element!==this.options.defaultTag)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultTag",{get:function(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"elementIsDefault",{get:function(){return this.element===this.defaultTag},enumerable:!1,configurable:!0}),e.prototype.apply=function(e){(0,r.ApplyStyle)(e,this)},e}();t.CommitStyle=i},20360:function(e,t){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageProvider=t.canUsePersistentStorage=void 0,t.canUsePersistentStorage=function(){return void 0===o&&(o=function(){var e="___Jodit___"+Math.random().toString();try{localStorage.setItem(e,"1");var t="1"===localStorage.getItem(e);return localStorage.removeItem(e),t}catch(e){}return!1}()),o};var n=function(){function e(e){this.rootKey=e}return e.prototype.set=function(e,t){try{var o=localStorage.getItem(this.rootKey),n=o?JSON.parse(o):{};n[e]=t,localStorage.setItem(this.rootKey,JSON.stringify(n))}catch(e){}return this},e.prototype.delete=function(e){try{localStorage.removeItem(this.rootKey)}catch(e){}return this},e.prototype.get=function(e){try{var t=localStorage.getItem(this.rootKey),o=t?JSON.parse(t):{};return void 0!==o[e]?o[e]:null}catch(e){}},e.prototype.exists=function(e){return null!=this.get(e)},e.prototype.clear=function(){try{localStorage.removeItem(this.rootKey)}catch(e){}return this},e}();t.LocalStorageProvider=n},18307:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryStorageProvider=void 0;var o=function(){function e(){this.data=new Map}return e.prototype.set=function(e,t){return this.data.set(e,t),this},e.prototype.delete=function(e){return this.data.delete(e),this},e.prototype.get=function(e){return this.data.get(e)},e.prototype.exists=function(e){return this.data.has(e)},e.prototype.clear=function(){return this.data.clear(),this},e}();t.MemoryStorageProvider=o},98416:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(18307),t),n.__exportStar(o(20360),t),n.__exportStar(o(48860),t)},48860:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=t.StorageKey=void 0;var n=o(16892),r=o(20360),i=o(18307);t.StorageKey="Jodit_";var a=function(){function e(e,o){this.provider=e,this.prefix=t.StorageKey,o&&(this.prefix+=o)}return e.prototype.set=function(e,t){return this.provider.set((0,n.camelCase)(this.prefix+e),t),this},e.prototype.delete=function(e){return this.provider.delete((0,n.camelCase)(this.prefix+e)),this},e.prototype.get=function(e){return this.provider.get((0,n.camelCase)(this.prefix+e))},e.prototype.exists=function(e){return this.provider.exists((0,n.camelCase)(this.prefix+e))},e.prototype.clear=function(){return this.provider.clear(),this},e.makeStorage=function(o,n){var a;return void 0===o&&(o=!1),o&&(0,r.canUsePersistentStorage)()&&(a=new r.LocalStorageProvider(t.StorageKey+n)),a||(a=new i.MemoryStorageProvider),new e(a,n)},e}();t.Storage=a},80024:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dlgs=void 0;var n=o(52784),r=o(71910),i=o(16892),a=function(){function e(){}return e.prototype.dlg=function(e){var t=new r.Dialog(n.__assign({language:this.o.language,shadowRoot:this.o.shadowRoot,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,theme:this.o.theme,globalFullSize:this.o.globalFullSize},e));return(0,i.markOwner)(this,t.container),t.parent=this,t.bindDestruct(this)},e.prototype.confirm=function(e,t,o){return(0,i.isString)(t)&&(t=this.i18n(t)),r.Confirm.call(this.dlg(),this.i18n(e),t,o)},e.prototype.prompt=function(e,t,o,n,a){return(0,i.isString)(t)&&(t=this.i18n(t)),(0,i.isString)(n)&&(n=this.i18n(n)),r.Prompt.call(this.dlg(),this.i18n(e),t,o,n,a)},e.prototype.alert=function(e,t,o,n){return(0,i.isString)(e)&&(e=this.i18n(e)),(0,i.isString)(t)&&(t=this.i18n(t)),r.Alert.call(this.dlg(),e,t,o,n)},e}();t.Dlgs=a},43682:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Elms=void 0;var n=o(62507),r=function(){function e(){}return e.prototype.getElm=function(e){return this.container.querySelector(".".concat(this.getFullElName(e)))},e.prototype.getElms=function(e){return(0,n.toArray)(this.container.querySelectorAll(".".concat(this.getFullElName(e))))},e}();t.Elms=r},38017:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(43682),t),n.__exportStar(o(5482),t),n.__exportStar(o(80024),t)},5482:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mods=void 0;var n=o(62507),r=o(93215),i=function(){function e(){}return e.prototype.afterSetMod=function(e,t){},e.prototype.setMod=function(e,t,o){if(e=e.toLowerCase(),this.mods[e]===t)return this;var i="".concat(this.componentName,"_").concat(e),a=(o||this.container).classList;return(0,n.toArray)(a).forEach((function(e){0===e.indexOf(i)&&a.remove(e)})),!(0,r.isVoid)(t)&&""!==t&&a.add("".concat(i,"_").concat(t.toString().toLowerCase())),this.mods[e]=t,this.afterSetMod(e,t),this},e.prototype.getMod=function(e){var t;return null!==(t=this.mods[e])&&void 0!==t?t:null},e}();t.Mods=i},70305:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.UIButton=t.UIButtonState=void 0;var n=o(52784);o(89477);var r=o(13717),i=o(12815),a=o(93772),s=o(57348),l=o(6244),c=o(74259),u=o(75917),d=o(51923),p=o(20937);t.UIButtonState=function(){return{size:"middle",type:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0}};var f=function(e){function o(o,n){var r=e.call(this,o)||this;return r.isButton=!0,r.state=(0,t.UIButtonState)(),r.actionHandlers=[],r.updateSize(),r.onChangeSize(),r.onChangeStatus(),n&&r.hookStatus(p.STATUSES.ready,(function(){r.setState(n)})),r}return n.__extends(o,e),o.prototype.className=function(){return"UIButton"},o.prototype.setState=function(e){return Object.assign(this.state,e),this},o.prototype.onChangeSize=function(){this.setMod("size",this.state.size)},o.prototype.onChangeType=function(){(0,a.attr)(this.container,"type",this.state.type)},o.prototype.updateSize=function(){var e=this.closest(u.UIList);e&&(this.state.size=e.buttonSize)},o.prototype.onChangeStatus=function(){this.setMod("variant",this.state.variant)},o.prototype.onChangeText=function(){this.text.textContent=this.jodit.i18n(this.state.text)},o.prototype.onChangeTextSetMode=function(){this.setMod("text-icons",Boolean(this.state.text.trim().length))},o.prototype.onChangeDisabled=function(){(0,a.attr)(this.container,"disabled",this.state.disabled||null)},o.prototype.onChangeActivated=function(){(0,a.attr)(this.container,"aria-pressed",this.state.activated)},o.prototype.onChangeName=function(){this.container.classList.add("".concat(this.componentName,"_").concat(this.clearName(this.state.name))),this.name=this.state.name,(0,a.attr)(this.container,"data-ref",this.state.name),(0,a.attr)(this.container,"ref",this.state.name)},o.prototype.onChangeTooltip=function(){this.get("j.o.useNativeTooltip")&&(0,a.attr)(this.container,"title",this.state.tooltip),(0,a.attr)(this.container,"aria-label",this.state.tooltip)},o.prototype.onChangeTabIndex=function(){(0,a.attr)(this.container,"tabindex",this.state.tabIndex)},o.prototype.onChangeIcon=function(){var e=this.get("j.o.textIcons");if(!(!0===e||(0,l.isFunction)(e)&&e(this.state.name))){i.Dom.detach(this.icon);var t=c.Icon.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}},o.prototype.focus=function(){this.container.focus()},o.prototype.isFocused=function(){var e=this.od.activeElement;return Boolean(e&&i.Dom.isOrContains(this.container,e))},o.prototype.createContainer=function(){var e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1});return this.icon=this.j.c.span(e+"__icon"),this.text=this.j.c.span(e+"__text"),t.appendChild(this.icon),t.appendChild(this.text),this.j.e.on(t,"click",this.onActionFire),t},o.prototype.destruct=function(){return this.j.e.off(this.container),e.prototype.destruct.call(this)},o.prototype.onAction=function(e){return this.actionHandlers.push(e),this},o.prototype.onActionFire=function(e){var t=this;e.buffer={actionTrigger:this},this.actionHandlers.forEach((function(o){return o.call(t,e)}))},n.__decorate([(0,d.watch)("state.size")],o.prototype,"onChangeSize",null),n.__decorate([(0,d.watch)("state.type")],o.prototype,"onChangeType",null),n.__decorate([(0,d.watch)("parentElement")],o.prototype,"updateSize",null),n.__decorate([(0,d.watch)("state.variant")],o.prototype,"onChangeStatus",null),n.__decorate([(0,d.watch)("state.text")],o.prototype,"onChangeText",null),n.__decorate([(0,d.watch)("state.text")],o.prototype,"onChangeTextSetMode",null),n.__decorate([(0,d.watch)("state.disabled")],o.prototype,"onChangeDisabled",null),n.__decorate([(0,d.watch)("state.activated")],o.prototype,"onChangeActivated",null),n.__decorate([(0,d.watch)("state.name")],o.prototype,"onChangeName",null),n.__decorate([(0,d.watch)("state.tooltip")],o.prototype,"onChangeTooltip",null),n.__decorate([(0,d.watch)("state.tabIndex")],o.prototype,"onChangeTabIndex",null),n.__decorate([(0,d.watch)("state.icon")],o.prototype,"onChangeIcon",null),n.__decorate([d.autobind],o.prototype,"onActionFire",null),n.__decorate([d.component],o)}(r.UIElement);t.UIButton=f,t.Button=function(e,t,o,n){var r=new f(e);return r.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,s.isString)(t)?(r.state.icon.name=t,r.state.name=t,n&&(r.state.variant=n),o&&(r.state.text=o)):r.setState(t),r}},18119:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIButtonGroup=void 0;var n=o(52784);o(71852);var r=o(12465),i=o(9119),a=o(70305);o(52378);var s=function(e){function t(t,o){void 0===o&&(o={radio:!0});var n,r,i=this;return(i=e.call(this,t,null===(n=o.options)||void 0===n?void 0:n.map((function(e){var o=new a.UIButton(t,{text:e.text,value:e.value,variant:"primary"});return o.onAction((function(){i.select(e.value)})),o})),o)||this).options=o,i.select(null!==(r=o.value)&&void 0!==r?r:0),i}return n.__extends(t,e),t.prototype.className=function(){return"UIButtonGroup"},t.prototype.render=function(e){return'<div>\n\t\t\t<div class="&__label">~'.concat(e.label,'~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>')},t.prototype.appendChildToContainer=function(e){this.getElm("options").appendChild(e)},t.prototype.select=function(e){var t,o,n=this;this.elements.forEach((function(t,o){o===e||t.state.value===e?t.state.activated=!0:n.options.radio&&(t.state.activated=!1)}));var r=this.elements.filter((function(e){return e.state.activated})).map((function(e){return{text:e.state.text,value:e.state.value}}));this.jodit.e.fire(this,"select",r),null===(o=(t=this.options).onChange)||void 0===o||o.call(t,r)},n.__decorate([i.component],t)}(r.UIGroup);t.UIButtonGroup=s},24697:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(70305),t),n.__exportStar(o(18119),t),n.__exportStar(o(71490),t)},71490:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UITooltip=void 0;var n=o(52784);o(12700);var r=o(16892),i=o(58706),a=o(51923),s=function(e){function t(o){var n=e.call(this,o)||this;n.__isOpened=!1,n.__useCount=1,n.__delayShowTimeout=0,(0,i.getContainer)(o,t).appendChild(n.container);var r=0;return o.e.off(".tooltip").on("showTooltip.tooltip",(function(e,t){o.async.clearTimeout(r),n.__open(e,t)})).on("delayShowTooltip.tooltip",n.__delayOpen).on("escape.tooltip",n.__close).on("hideTooltip.tooltip change.tooltip scroll.tooltip changePlace.tooltip hidePopup.tooltip closeAllPopups.tooltip",(function(){n.j.async.clearTimeout(n.__delayShowTimeout),r=o.async.setTimeout(n.__close,n.j.defaultTimeout)})),n}return n.__extends(t,e),t.prototype.className=function(){return"UITooltip"},t.make=function(e){var o=(0,r.dataBind)(e,"ui-tooltip");return o?(o.__useCount+=1,o):(o=new t(e),(0,r.dataBind)(e,"ui-tooltip",o),o)},t.prototype.__delayOpen=function(e,t){var o=this,n=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.__delayShowTimeout),this.__delayShowTimeout=this.j.async.setTimeout((function(){return o.__open(e,t)}),{timeout:n,label:"tooltip"})},t.prototype.__open=function(e,t){this.setMod("visible",!0),this.container.innerHTML=t,this.__isOpened=!0,this.__setPosition(e)},t.prototype.__setPosition=function(e){var t=e();(0,r.css)(this.container,{left:t.x,top:t.y})},t.prototype.__close=function(){this.j.async.clearTimeout(this.__delayShowTimeout),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),(0,r.css)(this.container,{left:-5e3}))},t.prototype.destruct=function(){var t;this.__useCount--,this.__useCount||(null===(t=this.j)||void 0===t||t.e.off(".tooltip"),this.__close(),e.prototype.destruct.call(this))},n.__decorate([a.autobind],t.prototype,"__delayOpen",null),n.__decorate([a.autobind],t.prototype,"__close",null),t}(o(13717).UIElement);t.UITooltip=s},13717:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIElement=void 0;var n=o(52784),r=o(68311),i=o(12815),a=o(38017),s=o(57348),l=o(74259),c=o(51923),u=function(e){function t(t,o){var n=e.call(this,t)||this;return n.name="",n.__parentElement=null,n.mods={},n.container=n.createContainer(o),Object.defineProperty(n.container,"component",{value:n,configurable:!0}),n}var o;return n.__extends(t,e),o=t,Object.defineProperty(t.prototype,"parentElement",{get:function(){return this.__parentElement},set:function(e){var t=this;this.__parentElement=e,e&&e.hookStatus("beforeDestruct",(function(){return t.destruct()})),this.updateParentElement(this)},enumerable:!1,configurable:!0}),t.prototype.bubble=function(e){for(var t=this.parentElement;t;)e(t),t=t.parentElement;return this},t.prototype.updateParentElement=function(e){var t;return null===(t=this.__parentElement)||void 0===t||t.updateParentElement(e),this},t.prototype.get=function(t,o){return e.prototype.get.call(this,t,o)||this.getElm(t)},t.prototype.closest=function(e){for(var t="object"==typeof e?function(t){return t===e}:function(t){return r.Component.isInstanceOf(t,e)},n=this.__parentElement;n;){if(t(n))return n;n=!n.parentElement&&n.container.parentElement?o.closestElement(n.container.parentElement,o):n.parentElement}return null},t.closestElement=function(e,t){var o=i.Dom.up(e,(function(e){if(e){var o=e.component;return o&&r.Component.isInstanceOf(o,t)}return!1}));return o?null==o?void 0:o.component:null},t.prototype.update=function(){},t.prototype.appendTo=function(e){return e.appendChild(this.container),this},t.prototype.clearName=function(e){return e.replace(/[^a-zA-Z0-9]/g,"_")},t.prototype.render=function(e){return this.j.c.div(this.componentName)},t.prototype.createContainer=function(e){var t=this.render(e);if((0,s.isString)(t)){var o=this.parseTemplate(t);return o.classList.add(this.componentName),o}return t},t.prototype.parseTemplate=function(e){var t=this;return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,(function(e,t){return l.Icon.get(t)||""})).replace(/&__/g,this.componentName+"__").replace(/~([^~]+?)~/g,(function(e,o){return t.i18n(o)})))},t.prototype.destruct=function(){return i.Dom.safeRemove(this.container),this.parentElement=null,e.prototype.destruct.call(this)},o=n.__decorate([(0,c.derive)(a.Mods,a.Elms)],t)}(r.ViewComponent);t.UIElement=u},62119:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIBlock=void 0;var n=o(52784);o(97749);var r=o(12465),i=o(93772),a=o(9119),s=function(e){function t(t,o,n){void 0===n&&(n={align:"left"});var r=e.call(this,t,o)||this;return r.options=n,r.setMod("align",r.options.align||"left"),r.setMod("width",r.options.width||""),r.options.mod&&r.setMod(r.options.mod,!0),r.options.className&&r.container.classList.add(r.options.className),(0,i.attr)(r.container,"data-ref",n.ref),(0,i.attr)(r.container,"ref",n.ref),r}return n.__extends(t,e),t.prototype.className=function(){return"UIBlock"},n.__decorate([a.component],t)}(r.UIGroup);t.UIBlock=s},50388:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIForm=void 0;var n=o(52784),r=o(12465),i=o(86431),a=o(75047),s=o(93772),l=o(9119),c=o(90456),u=function(e){function t(){for(var t=[],o=0;arguments.length>o;o++)t[o]=arguments[o];var r,i,a=this;return(null===(r=(a=e.apply(this,n.__spreadArray([],n.__read(t),!1))||this).options)||void 0===r?void 0:r.className)&&a.container.classList.add(null===(i=a.options)||void 0===i?void 0:i.className),a}return n.__extends(t,e),t.prototype.className=function(){return"UIForm"},t.prototype.submit=function(){this.j.e.fire(this.container,"submit")},t.prototype.validate=function(){var e,t,o,r,s=this.allChildren.filter((function(e){return c.Component.isInstanceOf(e,i.UIInput)}));try{for(var l=n.__values(s),u=l.next();!u.done;u=l.next())if(!u.value.validate())return!1}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}var d=this.allChildren.filter((function(e){return c.Component.isInstanceOf(e,a.UISelect)}));try{for(var p=n.__values(d),f=p.next();!f.done;f=p.next())if(!f.value.validate())return!1}catch(e){o={error:e}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(o)throw o.error}}return!0},t.prototype.onSubmit=function(e){var t=this;this.j.e.on(this.container,"submit",(function(){var o=t.allChildren.filter((function(e){return c.Component.isInstanceOf(e,i.UIInput)}));return!!t.validate()&&(e(o.reduce((function(e,t){return e[t.state.name]=t.value,e}),{})),!1)}))},t.prototype.createContainer=function(){var e=this.j.c.element("form");return e.classList.add(this.componentName),(0,s.attr)(e,"dir",this.j.o.direction||"auto"),e},n.__decorate([l.component],t)}(r.UIGroup);t.UIForm=u},92815:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(50388),t),n.__exportStar(o(11832),t),n.__exportStar(o(62119),t)},9454:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UITextArea=void 0;var n=o(52784);o(69718);var r=o(86431),i=o(9119),a=function(e){function t(t,r){var i=e.call(this,t,r)||this;return i.state=n.__assign({},o.defaultState),Object.assign(i.state,r),!1===i.state.resizable&&(i.nativeInput.style.resize="none"),i}var o;return n.__extends(t,e),o=t,t.prototype.className=function(){return"UITextArea"},t.prototype.createContainer=function(t){return this.nativeInput=this.j.create.element("textarea"),e.prototype.createContainer.call(this,t)},t.defaultState=n.__assign(n.__assign({},r.UIInput.defaultState),{size:5,resizable:!0}),o=n.__decorate([i.component],t)}(r.UIInput);t.UITextArea=a},70301:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UICheckbox=void 0;var n=o(52784);o(65713);var r=o(86431),i=o(51923),a=o(12815),s=function(e){function t(t,r){var i=e.call(this,t,n.__assign(n.__assign({},r),{type:"checkbox"}))||this;return i.state=n.__assign({},o.defaultState),Object.assign(i.state,r),i}var o;return n.__extends(t,e),o=t,t.prototype.className=function(){return"UICheckbox"},t.prototype.render=function(){return this.j.c.element("label",{className:this.componentName})},t.prototype.onChangeChecked=function(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)},t.prototype.onChangeNativeCheckBox=function(){this.state.checked=this.nativeInput.checked},t.prototype.onChangeSwitch=function(){this.setMod("switch",this.state.switch);var e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),a.Dom.after(this.nativeInput,e)):a.Dom.safeRemove(e)},t.defaultState=n.__assign(n.__assign({},r.UIInput.defaultState),{checked:!1,switch:!1}),n.__decorate([(0,i.watch)("state.checked"),(0,i.hook)("ready")],t.prototype,"onChangeChecked",null),n.__decorate([(0,i.watch)("nativeInput:change")],t.prototype,"onChangeNativeCheckBox",null),n.__decorate([(0,i.watch)("state.switch"),(0,i.hook)("ready")],t.prototype,"onChangeSwitch",null),o=n.__decorate([i.component],t)}(r.UIInput);t.UICheckbox=s},93717:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIFileInput=void 0;var n=o(52784);o(49104);var r=o(86431),i=o(9119),a=o(70305),s=function(e){function t(t,o){var i=e.call(this,t,n.__assign({type:"file"},o))||this;return i.state=n.__assign(n.__assign({},r.UIInput.defaultState),{type:"file",onlyImages:!0}),i}return n.__extends(t,e),t.prototype.className=function(){return"UIFileInput"},t.prototype.createContainer=function(e){this.button=new a.UIButton(this.j,{icon:{name:"plus"}});var t=this.button.container;this.nativeInput||(this.nativeInput=this.createNativeInput(e));var o=this.nativeInput;return o.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(o),t},t.prototype.createNativeInput=function(e){return this.j.create.fromHTML('<input\n\t\t\ttype="file"\n\t\t\taccept="'.concat(e.onlyImages?"image/*":"*",'"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>'))},n.__decorate([i.component],t)}(r.UIInput);t.UIFileInput=s},11832:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(86431),t),n.__exportStar(o(9454),t),n.__exportStar(o(70301),t),n.__exportStar(o(75047),t),n.__exportStar(o(93717),t)},86431:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIInput=void 0;var n=o(52784);o(79793);var r=o(13717),i=o(93772),a=o(62507),s=o(12815),l=o(51923),c=o(74259),u=o(73833),d=function(e){function t(t,r){var i=e.call(this,t,r)||this;return i.label=i.j.c.span(i.getFullElName("label")),i.icon=i.j.c.span(i.getFullElName("icon")),i.clearButton=i.j.c.span(i.getFullElName("clear"),c.Icon.get("cancel")),i.state=n.__assign({},o.defaultState),i.__errorBox=i.j.c.span(i.getFullElName("error")),i.validators=new Set([]),void 0!==(null==r?void 0:r.value)&&(r.value=r.value.toString()),Object.assign(i.state,r),void 0!==i.state.clearButton&&(i.j.e.on(i.clearButton,"click",(function(e){e.preventDefault(),i.nativeInput.value="",i.j.e.fire(i.nativeInput,"input"),i.focus()})).on(i.nativeInput,"input",(function(){i.state.clearButton=Boolean(i.value.length)})),i.state.clearButton=Boolean(i.value.length)),i.j.e.on(i.nativeInput,"focus blur",(function(){i.onChangeFocus()})).on(i.nativeInput,"input change",i.onChangeValue),i.onChangeState(),i.onChangeClassName(),i.onChangeStateValue(),i}var o;return n.__extends(t,e),o=t,t.prototype.className=function(){return"UIInput"},t.prototype.onChangeClear=function(){this.state.clearButton?s.Dom.after(this.nativeInput,this.clearButton):s.Dom.safeRemove(this.clearButton)},t.prototype.onChangeClassName=function(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)},t.prototype.onChangeState=function(){this.name=this.state.name;var e=this.nativeInput,t=this.state,o=t.name,n=t.icon,r=t.type,a=t.ref,l=t.required,u=t.placeholder,d=t.autocomplete,p=t.label;(0,i.attr)(e,"name",o),(0,i.attr)(e,"type",r),(0,i.attr)(e,"data-ref",a||o),(0,i.attr)(e,"ref",a||o),(0,i.attr)(e,"required",l||null),(0,i.attr)(e,"autocomplete",d?null:"off"),(0,i.attr)(e,"placeholder",u?this.j.i18n(u):""),n&&c.Icon.exists(n)?(s.Dom.before(e,this.icon),this.icon.innerHTML=c.Icon.get(n)):s.Dom.safeRemove(this.icon),p?(s.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(p)):s.Dom.safeRemove(this.label),this.updateValidators()},t.prototype.updateValidators=function(){var e,t=this;this.validators.clear(),this.state.required&&this.validators.add(u.inputValidators.required),null===(e=this.state.validators)||void 0===e||e.forEach((function(e){var o=u.inputValidators[e];o&&t.validators.add(o)}))},Object.defineProperty(t.prototype,"error",{set:function(e){this.setMod("has-error",Boolean(e)),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):s.Dom.safeRemove(this.__errorBox)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.nativeInput.value},set:function(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())},enumerable:!1,configurable:!0}),t.prototype.onChangeStateValue=function(){var e=this.state.value.toString();e!==this.value&&(this.value=e)},t.prototype.onChangeValue=function(){var e,t,o=this.value;this.state.value!==o&&(this.state.value=o,this.j.e.fire(this,"change",o),null===(t=(e=this.state).onChange)||void 0===t||t.call(e,o))},t.prototype.validate=function(){var e=this;return this.error="",(0,a.toArray)(this.validators).every((function(t){return t(e)}))},t.prototype.createContainer=function(t){var o=e.prototype.createContainer.call(this);this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());var n=this.nativeInput;return n.classList.add(this.getFullElName("input")),this.wrapper.appendChild(n),o.appendChild(this.wrapper),(0,i.attr)(n,"dir",this.j.o.direction||"auto"),o},t.prototype.createNativeInput=function(e){return this.j.create.element("input")},t.prototype.focus=function(){this.nativeInput.focus()},Object.defineProperty(t.prototype,"isFocused",{get:function(){return this.nativeInput===this.j.od.activeElement},enumerable:!1,configurable:!0}),t.prototype.onChangeFocus=function(){this.setMod("focused",this.isFocused)},t.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},n.__decorate([(0,l.watch)("state.clearButton")],t.prototype,"onChangeClear",null),n.__decorate([(0,l.watch)("state.className")],t.prototype,"onChangeClassName",null),n.__decorate([(0,l.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"]),(0,l.debounce)()],t.prototype,"onChangeState",null),n.__decorate([(0,l.watch)("state.value")],t.prototype,"onChangeStateValue",null),n.__decorate([l.autobind],t.prototype,"onChangeValue",null),o=n.__decorate([l.component],t)}(r.UIElement);t.UIInput=d},75047:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISelect=void 0;var n=o(52784);o(23198);var r=o(89437),i=o(9119),a=o(86431),s=o(73833),l=function(e){function t(t,r){var i=e.call(this,t,r)||this;return i.state=n.__assign({},o.defaultState),Object.assign(i.state,r),i}var o;return n.__extends(t,e),o=t,t.prototype.className=function(){return"UISelect"},t.prototype.createContainer=function(t){var o,n=e.prototype.createContainer.call(this,t),i=this.j,a=this.nativeInput,s=function(){return i.create.element("option")};if(void 0!==t.placeholder){var l=s();l.value="",l.text=i.i18n(t.placeholder),a.add(l)}return null===(o=t.options)||void 0===o||o.forEach((function(e){var t=s();t.value=e.value.toString(),t.text=i.i18n(e.text),a.add(t)})),t.size&&t.size>0&&(0,r.attr)(a,"size",t.size),t.multiple&&(0,r.attr)(a,"multiple",""),n},t.prototype.createNativeInput=function(){return this.j.create.element("select")},t.prototype.updateValidators=function(){e.prototype.updateValidators.call(this),this.state.required&&(this.validators.delete(s.inputValidators.required),this.validators.add(s.selectValidators.required))},t.defaultState=n.__assign(n.__assign({},a.UIInput.defaultState),{options:[],size:1,multiple:!1}),o=n.__decorate([i.component],t)}(a.UIInput);t.UISelect=l},73833:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectValidators=t.inputValidators=void 0,t.inputValidators=o(28336),t.selectValidators=o(12560)},28336:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.url=t.required=void 0;var n=o(84842),r=o(78097);t.required=function(e){return!!(0,r.trim)(e.value).length||(e.error="Please fill out this field",!1)},t.url=function(e){return!!(0,n.isURL)((0,r.trim)(e.value))||(e.error="Please enter a web address",!1)}},12560:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.required=void 0;var n=o(78097);t.required=function(e){return!!(0,n.trim)(e.value).length||(e.error="Please fill out this field",!1)}},12465:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIGroup=void 0;var n=o(52784);o(83404);var r=o(13717),i=o(51923),a=o(16892);o(52378);var s=o(12815),l=o(90456),c=function(e){function t(t,o,n){var r=e.call(this,t,n)||this;return r.options=n,r.syncMod=!1,r.elements=[],r.buttonSize="middle",null==o||o.forEach((function(e){return e&&r.append(e)})),(null==n?void 0:n.name)&&(r.name=n.name),r}var o;return n.__extends(t,e),o=t,t.prototype.className=function(){return"UIGroup"},Object.defineProperty(t.prototype,"allChildren",{get:function(){for(var e=[],t=n.__spreadArray([],n.__read(this.elements),!1);t.length;){var r=t.shift();(0,a.isArray)(r)?t.push.apply(t,n.__spreadArray([],n.__read(r),!1)):l.Component.isInstanceOf(r,o)?t.push.apply(t,n.__spreadArray([],n.__read(r.elements),!1)):r&&e.push(r)}return e},enumerable:!1,configurable:!0}),t.prototype.update=function(){this.elements.forEach((function(e){return e.update()})),this.setMod("size",this.buttonSize)},t.prototype.append=function(e,t){var o=this;return(0,a.isArray)(e)?(e.forEach((function(e){return o.append(e,t)})),this):(this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t?this.getElm(t).appendChild(e.container):this.appendChildToContainer(e.container),e.parentElement=this,e.update(),this)},t.prototype.afterSetMod=function(e,t){this.syncMod&&this.elements.forEach((function(o){return o.setMod(e,t)}))},t.prototype.appendChildToContainer=function(e){this.container.appendChild(e)},t.prototype.remove=function(e){var t=this.elements.indexOf(e);return-1!==t&&(this.elements.splice(t,1),s.Dom.safeRemove(e.container),e.parentElement=null),this},t.prototype.clear=function(){return this.elements.forEach((function(e){return e.destruct()})),this.elements.length=0,this},t.prototype.destruct=function(){return this.clear(),e.prototype.destruct.call(this)},n.__decorate([(0,i.watch)("buttonSize")],t.prototype,"update",null),o=n.__decorate([i.component],t)}(r.UIElement);t.UIGroup=c},50086:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(12465),t),n.__exportStar(o(75917),t),n.__exportStar(o(98883),t),n.__exportStar(o(62485),t)},75917:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIList=void 0;var n=o(52784);o(38784);var r=o(61757),i=o(51923),a=o(12465),s=o(98883),l=o(62485),c=o(70305),u=o(5674),d=o(4015),p=o(65735),f=o(90456),h=function(e){function t(t){var o=e.call(this,t)||this;return o.mode="horizontal",o.removeButtons=[],o.onChangeMode(),o}return n.__extends(t,e),t.prototype.className=function(){return"UIList"},t.prototype.onChangeMode=function(){this.setMod("mode",this.mode)},t.prototype.makeGroup=function(){return new a.UIGroup(this.jodit)},Object.defineProperty(t.prototype,"buttons",{get:function(){return this.allChildren.filter((function(e){return f.Component.isInstanceOf(e,c.UIButton)}))},enumerable:!1,configurable:!0}),t.prototype.getButtonsNames=function(){return this.buttons.map((function(e){return e instanceof c.UIButton&&e.state.name||""})).filter((function(e){return""!==e}))},t.prototype.setRemoveButtons=function(e){return this.removeButtons=e||[],this},t.prototype.build=function(e,t){var o=this;void 0===t&&(t=null),e=(0,p.splitArray)(e),this.clear();var n,i=!1,a=this.makeGroup();this.append(a),a.setMod("line",!0);var c=function(e){var r=null;switch(e.name){case"\n":(a=o.makeGroup()).setMod("line",!0),n=o.makeGroup(),a.append(n),o.append(a);break;case"|":i||(i=!0,r=new s.UISeparator(o.j));break;case"---":n.setMod("before-spacer",!0);var c=new l.UISpacer(o.j);a.append(c),n=o.makeGroup(),a.append(n),i=!1;break;default:i=!1,r=o.makeButton(e,t)}r&&(n||(n=o.makeGroup(),a.append(n)),n.append(r))},f=function(e){return!o.removeButtons.includes(e.name)};return e.forEach((function(e){if((0,u.isButtonGroup)(e)){var t=e.buttons.filter((function(e){return e}));t.length&&((n=o.makeGroup()).setMod("separated",!0).setMod("group",e.group),a.append(n),(0,r.getStrongControlTypes)(t,o.j.o.controls).filter(f).forEach(c))}else{n||(n=o.makeGroup(),a.append(n));var i=(0,d.getControlType)(e,o.j.o.controls);f(i)&&c(i)}})),this.update(),this},t.prototype.makeButton=function(e,t){return new c.UIButton(this.j)},n.__decorate([(0,i.watch)("mode")],t.prototype,"onChangeMode",null),n.__decorate([i.component],t)}(a.UIGroup);t.UIList=h},98883:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISeparator=void 0;var n=o(52784),r=o(13717),i=o(9119),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.className=function(){return"UISeparator"},n.__decorate([i.component],t)}(r.UIElement);t.UISeparator=a},62485:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISpacer=void 0;var n=o(52784),r=o(13717),i=o(9119),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.className=function(){return"UISpacer"},n.__decorate([i.component],t)}(r.UIElement);t.UISpacer=a},5674:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatButtonsSet=t.isButtonGroup=void 0;var n=o(52784),r=o(8356);t.isButtonGroup=function(e){return(0,r.isArray)(e.buttons)},t.flatButtonsSet=function(e,o){var r=o.getRegisteredButtonGroups();return new Set(e.reduce((function(e,o){var i;return(0,t.isButtonGroup)(o)?e=e.concat(n.__spreadArray(n.__spreadArray([],n.__read(o.buttons),!1),n.__read(null!==(i=r[o.group])&&void 0!==i?i:[]),!1)):e.push(o),e}),[]))}},4015:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findControlType=t.getControlType=void 0;var n=o(52784),r=o(16892),i=o(733);function a(e,t){var o=n.__read(e.split(/\./),2),i=o[0],a=o[1],s=t;return null!=a?void 0!==t[i]&&(s=t[i]):a=i,s[a]?n.__assign({name:a},(0,r.ConfigFlatten)(s[a])):void 0}t.getControlType=function(e,t){var o;return t||(t=i.Config.defaultOptions.controls),(0,r.isString)(e)?o=a(e,t)||{name:e,command:e,tooltip:e}:void 0!==t[(o=n.__assign({name:"empty"},(0,r.ConfigFlatten)(e))).name]&&(o=n.__assign(n.__assign({},(0,r.ConfigFlatten)(t[o.name])),(0,r.ConfigFlatten)(o))),o},t.findControlType=a},61757:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStrongControlTypes=void 0;var n=o(4015),r=o(733),i=o(8356),a=o(93772);t.getStrongControlTypes=function(e,t){return((0,i.isArray)(e)?e:(0,a.keys)(e,!1).map((function(t){return(0,a.ConfigProto)({name:t},e[t]||{})}))).map((function(e){return(0,n.getControlType)(e,t||r.Config.defaultOptions.controls)}))}},74259:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=void 0;var n=o(21714),r=o(16892),i=function(){function e(){}return e.getIcon=function(t){return/<svg/i.test(t)?t:e.icons[t]||e.icons[t.replace(/-/g,"_")]||e.icons[t.replace(/_/g,"-")]||e.icons[(0,r.camelCase)(t)]||e.icons[(0,r.kebabCase)(t)]||e.icons[t.toLowerCase()]},e.exists=function(e){return void 0!==this.getIcon(e)},e.get=function(e,t){return void 0===t&&(t="<span></span>"),this.getIcon(e)||t},e.set=function(e,t){return this.icons[e.replace("_","-")]=t,this},e.makeIcon=function(t,o){var r,i;if(o){var a=o.name.replace(/[^a-zA-Z0-9]/g,"_");if(o.iconURL)i=t.c.span(),(0,n.css)(i,"backgroundImage","url("+o.iconURL.replace("{basePath}",(null==t?void 0:t.basePath)||"")+")");else{var s=t.e.fire("getIcon",o.name,o,a)||e.get(o.name,"")||(null===(r=t.o.extraIcons)||void 0===r?void 0:r[o.name]);s&&(i=t.c.fromHTML(s.trim()),/^<svg/i.test(o.name)||i.classList.add("jodit-icon_"+a))}}return i&&(i.classList.add("jodit-icon"),i.style.fill=o.fill),i},e.icons={},e}();t.Icon=i},98440:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(13717),t),n.__exportStar(o(24697),t),n.__exportStar(o(88153),t),n.__exportStar(o(50086),t),n.__exportStar(o(92815),t),n.__exportStar(o(74259),t),n.__exportStar(o(88742),t)},88153:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(52784).__exportStar(o(17497),t)},17497:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Popup=void 0;var n=o(52784);o(30861);var r=o(12815),i=o(16892);o(52378);var a=o(13717),s=o(51923),l=o(90456),c=o(58706),u=function(e){function t(t,o){void 0===o&&(o=!0);var n=e.call(this,t)||this;return n.smart=o,n.isOpened=!1,n.strategy="leftBottom",n.viewBound=function(){return{left:0,top:0,width:n.ow.innerWidth,height:n.ow.innerHeight}},n.childrenPopups=new Set,(0,i.attr)(n.container,"role","popup"),n}return n.__extends(t,e),t.prototype.className=function(){return"Popup"},t.prototype.updateParentElement=function(o){var n=this;return o!==this&&l.Component.isInstanceOf(o,t)&&(this.childrenPopups.forEach((function(e){!o.closest(e)&&e.isOpened&&e.close()})),this.childrenPopups.has(o)||this.j.e.on(o,"beforeClose",(function(){n.childrenPopups.delete(o)})),this.childrenPopups.add(o)),e.prototype.updateParentElement.call(this,o)},t.prototype.setContent=function(e){r.Dom.detach(this.container);var t,o=this.j.c.div("".concat(this.componentName,"__content"));return l.Component.isInstanceOf(e,a.UIElement)?(t=e.container,e.parentElement=this):t=(0,i.isString)(e)?this.j.c.fromHTML(e):e,o.appendChild(t),this.container.appendChild(o),this.updatePosition(),this},t.prototype.open=function(e,o,n){if(void 0===o&&(o=!1),(0,i.markOwner)(this.jodit,this.container),this.calculateZIndex(),this.isOpened=!0,this.addGlobalListeners(),this.targetBound=o?this.getKeepBound(e):e,n)n.appendChild(this.container);else{var r=(0,c.getContainer)(this.jodit,t);n!==this.container.parentElement&&r.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this},t.prototype.calculateZIndex=function(){var e=this;if(!this.container.style.zIndex){var t=function(t){var o=t.container.style.zIndex||t.o.zIndex;return!!o&&(e.setZIndex(1+parseInt(o.toString(),10)),!0)},o=this.j;if(!t(o))for(var n=this.parentElement;n;){if(t(o))return;if(n.container.style.zIndex)return void this.setZIndex(1+parseInt(n.container.style.zIndex.toString(),10));if(!n.parentElement&&n.container.parentElement){var r=a.UIElement.closestElement(n.container.parentElement,a.UIElement);if(r){n=r;continue}}n=n.parentElement}}},t.prototype.getKeepBound=function(e){var t=this,o=e(),a=this.od.elementFromPoint(o.left,o.top);if(!a)return e;var s=r.Dom.isHTMLElement(a)?a:a.parentElement,l=(0,i.position)(s,this.j);return function(){var o=e(),r=(0,i.position)(s,t.j);return n.__assign(n.__assign({},o),{top:o.top+(r.top-l.top),left:o.left+(r.left-l.left)})}},t.prototype.updatePosition=function(){if(!this.isOpened)return this;var e=n.__read(this.calculatePosition(this.targetBound(),this.viewBound(),(0,i.position)(this.container,this.j)),2),t=e[0];return this.setMod("strategy",e[1]),(0,i.css)(this.container,{left:t.left,top:t.top}),this.childrenPopups.forEach((function(e){return e.updatePosition()})),this},t.prototype.throttleUpdatePosition=function(){this.updatePosition()},t.prototype.calculatePosition=function(e,o,r,a){void 0===a&&(a=this.strategy);var s={left:e.left,right:e.left-(r.width-e.width)},l={bottom:e.top+e.height,top:e.top-r.height},c=Object.keys(s).reduce((function(e,t){return e.concat(Object.keys(l).map((function(e){return"".concat(t).concat((0,i.ucfirst)(e))})))}),[]),u=function(e){var t=n.__read((0,i.kebabCase)(e).split("-"),2);return{left:s[t[0]],top:l[t[1]],width:r.width,height:r.height}},d=function(e){return t.boxInView(u(a),e)?a:c.find((function(o){if(t.boxInView(u(o),e))return o}))||null},p=d((0,i.position)(this.j.container,this.j));return p&&t.boxInView(u(p),o)||(p=d(o)||p||a),[u(p),p]},t.boxInView=function(e,t){return!(-2>e.top-t.top||-2>e.left-t.left||-2>t.top+t.height-(e.top+e.height)||-2>t.left+t.width-(e.left+e.width))},t.prototype.close=function(){return this.isOpened?(this.isOpened=!1,this.childrenPopups.forEach((function(e){return e.close()})),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.removeGlobalListeners(),r.Dom.safeRemove(this.container),this):this},t.prototype.closeOnOutsideClick=function(e){this.isOpened&&!this.isOwnClick(e)&&this.close()},t.prototype.isOwnClick=function(e){if(!e.target)return!1;var o=a.UIElement.closestElement(e.target,t);return Boolean(o&&(this===o||o.closest(this)))},t.prototype.addGlobalListeners=function(){var e=this,t=this.throttleUpdatePosition,o=this.ow;c.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on("escape",this.close).on("mousedown touchstart",this.closeOnOutsideClick).on(o,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",t).on(this.container,"scroll mousewheel",t).on(o,"scroll",t).on(o,"resize",t),r.Dom.up(this.j.container,(function(o){o&&e.j.e.on(o,"scroll mousewheel",t)}))},t.prototype.removeGlobalListeners=function(){var e=this,t=this.throttleUpdatePosition,o=this.ow;c.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off("escape",this.close).off("mousedown touchstart",this.closeOnOutsideClick).off(o,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",t).off(this.container,"scroll mousewheel",t).off(o,"scroll",t).off(o,"resize",t),r.Dom.up(this.j.container,(function(o){o&&e.j.e.off(o,"scroll mousewheel",t)}))},t.prototype.setZIndex=function(e){this.container.style.zIndex=e.toString()},t.prototype.destruct=function(){return this.close(),e.prototype.destruct.call(this)},n.__decorate([s.autobind],t.prototype,"updatePosition",null),n.__decorate([(0,s.throttle)(10),s.autobind],t.prototype,"throttleUpdatePosition",null),n.__decorate([s.autobind],t.prototype,"close",null),n.__decorate([s.autobind],t.prototype,"closeOnOutsideClick",null),t}(a.UIElement);t.Popup=u},88742:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressBar=void 0;var n=o(52784);o(98926);var r=o(12815),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.className=function(){return"ProgressBar"},t.prototype.render=function(){return"<div><div></div></div>"},t.prototype.show=function(){return(this.j.workplace||this.j.container).appendChild(this.container),this},t.prototype.hide=function(){return r.Dom.safeRemove(this.container),this},t.prototype.progress=function(e){return this.container.style.width=e.toFixed(2)+"%",this},t.prototype.destruct=function(){return this.hide(),e.prototype.destruct.call(this)},t}(o(13717).UIElement);t.ProgressBar=i},78063:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewWithToolbar=void 0;var n=o(52784);o(29269);var r=o(9e3),i=o(16892),a=o(96582),s=o(75901),l=o(68311),c=o(5674),u=o(51923),d=function(e){function t(t,o){void 0===o&&(o=!1);var n=e.call(this,t,o)||this;return n.toolbar=(0,s.makeCollection)(n),n.defaultToolbarContainer=n.c.div("jodit-toolbar__box"),n.registeredButtons=new Set,n.groupToButtons={},n.isJodit=!1,n.isJodit=o,n.e.on("beforeToolbarBuild",n.beforeToolbarBuild),n}return n.__extends(t,e),Object.defineProperty(t.prototype,"toolbarContainer",{get:function(){return this.o.fullsize||!(0,i.isString)(this.o.toolbar)&&!a.Dom.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&a.Dom.appendChildFirst(this.container,this.defaultToolbarContainer),this.defaultToolbarContainer):(0,i.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od)},enumerable:!1,configurable:!0}),t.prototype.setPanel=function(e){this.o.toolbar=e,this.buildToolbar()},t.prototype.buildToolbar=function(){if(this.o.toolbar){var e=this.o.buttons?(0,i.splitArray)(this.o.buttons):[];this.toolbar.setRemoveButtons(this.o.removeButtons).build(e.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}},t.prototype.getRegisteredButtonGroups=function(){return this.groupToButtons},t.prototype.registerButton=function(e){var t;this.registeredButtons.add(e);var o=null!==(t=e.group)&&void 0!==t?t:"other";return this.groupToButtons[o]||(this.groupToButtons[o]=[]),null!=e.position?this.groupToButtons[o][e.position]=e.name:this.groupToButtons[o].push(e.name),this},t.prototype.unregisterButton=function(e){var t;this.registeredButtons.delete(e);var o=null!==(t=e.group)&&void 0!==t?t:"other",n=this.groupToButtons[o];if(n){var r=n.indexOf(e.name);-1!==r&&n.splice(r,1),0===n.length&&delete this.groupToButtons[o]}return this},t.prototype.beforeToolbarBuild=function(e){var t=this;if(Object.keys(this.groupToButtons).length)return e.map((function(e){return(0,c.isButtonGroup)(e)&&e.group&&t.groupToButtons[e.group]?{group:e.group,buttons:n.__spreadArray(n.__spreadArray([],n.__read(e.buttons),!1),n.__read(t.groupToButtons[e.group]),!1)}:e}))},t.prototype.destruct=function(){this.isDestructed||(this.setStatus(l.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.toolbar.destruct(),e.prototype.destruct.call(this))},n.__decorate([u.autobind],t.prototype,"beforeToolbarBuild",null),t}(r.View);t.ViewWithToolbar=d},9e3:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.View=void 0;var n=o(52784),r=o(98416),i=o(16892),a=o(49940),s=o(71910),l=o(58706),c=o(51923),u=o(38017),d=o(57083),p=o(67963),f=function(e){function t(t,n){void 0===n&&(n=!1);var i=e.call(this)||this;return i.isJodit=n,i.isView=!0,i.parent=null,i.mods={},i.components=new Set,i.version="1.3.32",i.buffer=r.Storage.makeStorage(),i.storage=r.Storage.makeStorage(!0,i.componentName),i.OPTIONS=o.defaultOptions,i.__isFullSize=!1,i.__whoLocked="",i.isLockedNotBy=function(e){return i.isLocked&&i.__whoLocked!==e},i.__modulesInstances=new Map,i.id=(new Date).getTime().toString(),i.buffer=r.Storage.makeStorage(),i.initOptions(t),i.initOwners(),i.events=new d.EventEmitter(i.od),i.create=new s.Create(i.od),i.container=i.c.div("jodit ".concat(i.componentName)),i.progressbar=new s.ProgressBar(i),i.message=new p.UIMessages(i),i}var o;return n.__extends(t,e),o=t,Object.defineProperty(t.prototype,"basePath",{get:function(){return this.o.basePath?this.o.basePath:a.BASE_PATH},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return(0,i.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"c",{get:function(){return this.create},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.__container},set:function(e){this.__container=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"e",{get:function(){return this.events},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.__options},set:function(e){this.__options=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),t.prototype.i18n=function(e){for(var t=[],o=1;arguments.length>o;o++)t[o-1]=arguments[o];return(0,i.i18n)(e,t,this.options)},t.prototype.toggleFullSize=function(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.e.fire("toggleFullSize",e))},Object.defineProperty(t.prototype,"isLocked",{get:function(){return""!==this.__whoLocked},enumerable:!1,configurable:!0}),t.prototype.lock=function(e){return void 0===e&&(e="any"),!this.isLocked&&(this.__whoLocked=e,!0)},t.prototype.unlock=function(){return!!this.isLocked&&(this.__whoLocked="",!0)},Object.defineProperty(t.prototype,"isFullSize",{get:function(){return this.__isFullSize},enumerable:!1,configurable:!0}),t.prototype.getVersion=function(){return"1.3.32"},t.getVersion=function(){return"1.3.32"},t.prototype.initOptions=function(e){this.options=(0,i.ConfigProto)(e||{},(0,i.ConfigProto)(this.options||{},o.defaultOptions))},t.prototype.initOwners=function(){var e;this.ownerWindow=null!==(e=this.o.ownerWindow)&&void 0!==e?e:window},t.prototype.attachEvents=function(e){var t=this;if(e){var o=null==e?void 0:e.events;o&&Object.keys(o).forEach((function(e){return t.e.on(e,o[e])}))}},t.prototype.getInstance=function(e,t){var o=this.e.fire((0,i.camelCase)("getInstance_"+e),t);if(o)return o;var n=l.modules[e],r=this.__modulesInstances;if(!(0,i.isFunction)(n))throw(0,i.error)("Need real module name");if(!r.has(e)){var a=n.prototype instanceof s.ViewComponent?new n(this,t):new n(t);this.components.add(a),r.set(e,a)}return r.get(e)},t.prototype.addDisclaimer=function(e){this.container.appendChild(e)},t.prototype.beforeDestruct=function(){this.e.fire(s.STATUSES.beforeDestruct,this),this.components.forEach((function(e){(0,i.isDestructable)(e)&&!e.isInDestruct&&e.destruct()})),this.components.clear()},t.prototype.destruct=function(){this.isDestructed||(this.progressbar.destruct(),this.message.destruct(),this.async&&this.async.destruct(),this.events&&this.e.destruct(),this.buffer&&this.buffer.clear(),s.Dom.safeRemove(this.container),e.prototype.destruct.call(this))},t.esNext=!1,n.__decorate([(0,c.hook)(s.STATUSES.beforeDestruct)],t.prototype,"beforeDestruct",null),o=n.__decorate([(0,c.derive)(u.Mods,u.Elms)],t)}(s.Component);t.View=f,f.defaultOptions={extraButtons:[],textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},13523:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Jodit=void 0,o(1261),"undefined"!=typeof window&&o(62175);var n=o(37363);Object.defineProperty(t,"Jodit",{enumerable:!0,get:function(){return n.Jodit}});var r=o(94946),i=o(51923),a=o(49940),s=o(71910),l=o(87986);o(74751),o(48772),Object.keys(a).forEach((function(e){n.Jodit[e]=a[e]}));var c=function(e){return"__esModule"!==e};Object.keys(l).filter(c).forEach((function(e){s.Icon.set(e.replace("_","-"),l[e])})),Object.keys(s).filter(c).forEach((function(e){n.Jodit.modules[e]=s[e]})),Object.keys(i).filter(c).forEach((function(e){n.Jodit.decorators[e]=i[e]})),["Confirm","Alert","Prompt"].forEach((function(e){n.Jodit[e]=s[e]})),Object.keys(r.default).filter(c).forEach((function(e){n.Jodit.lang[e]=r.default[e]}))},37363:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Jodit=void 0;var n=o(52784),r=o(733),i=o(49940),a=o(71910),s=o(16892),l=o(98416),c=o(49940),u=o(58706),d=o(51923),p=o(38017),f=o(42239),h="data-jodit-default-style-display",m="data-jodit-default-classes",Jodit=function(e){function Jodit(o,n){var r=e.call(this,n,!0)||this;r.isJodit=!0,r.commands=new Map,r.__selectionLocked=null,r.__wasReadOnly=!1,r.createInside=new a.Create((function(){return r.ed}),r.o.createAttributes),r.editorIsActive=!1,r.__mode=i.MODE_WYSIWYG,r.__callChangeCount=0,r.__isSilentChange=!1,r.__elementToPlace=new Map;try{var c=(0,s.resolveElement)(o,r.o.shadowRoot||r.od);if(t.isJoditAssigned(c))return c.component}catch(e){throw r.destruct(),e}r.setStatus(a.STATUSES.beforeInit),r.id=(0,s.attr)((0,s.resolveElement)(o,r.o.shadowRoot||r.od),"id")||(new Date).getTime().toString(),u.instances[r.id]=r,r.storage=l.Storage.makeStorage(!0,r.id),r.attachEvents(n),r.e.on(r.ow,"resize",(function(){r.e&&r.e.fire("resize")})),r.e.on("prepareWYSIWYGEditor",r.__prepareWYSIWYGEditor),r.selection=new a.Select(r);var d=r.beforeInitHook();return(0,s.callPromise)(d,(function(){r.e.fire("beforeInit",r);var e=u.pluginSystem.init(r);(0,s.callPromise)(e,(function(){r.e.fire("afterPluginSystemInit",r),r.e.on("changePlace",(function(){r.setReadOnly(r.o.readonly),r.setDisabled(r.o.disabled)})),r.places.length=0;var e=r.addPlace(o,n);u.instances[r.id]=r,(0,s.callPromise)(e,(function(){r.e&&r.e.fire("afterInit",r),r.afterInitHook(),r.setStatus(a.STATUSES.ready),r.e.fire("afterConstructor",r)}))}))})),r}var t;return n.__extends(Jodit,e),t=Jodit,Jodit.prototype.className=function(){return"Jodit"},Jodit.prototype.waitForReady=function(){var e=this;return this.isReady?Promise.resolve(this):this.async.promise((function(t){e.hookStatus("ready",(function(){return t(e)}))}))},Object.defineProperty(Jodit,"ready",{get:function(){return new Promise((function(e){u.eventEmitter.on("oditready",e)}))},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"text",{get:function(){if(this.editor)return this.editor.innerText||"";var e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"defaultTimeout",{get:function(){return(0,s.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:r.Config.defaultOptions.defaultTimeout},enumerable:!1,configurable:!0}),Jodit.atom=function(e){return(0,s.markAsAtomic)(e)},Jodit.make=function(e,o){return new t(e,o)},Jodit.isJoditAssigned=function(e){return e&&(0,s.isJoditObject)(e.component)&&!e.component.isInDestruct},Object.defineProperty(Jodit,"defaultOptions",{get:function(){return r.Config.defaultOptions},enumerable:!1,configurable:!0}),Jodit.prototype.__setPlaceField=function(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t},Object.defineProperty(Jodit.prototype,"element",{get:function(){return this.currentPlace.element},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"editor",{get:function(){return this.currentPlace.editor},set:function(e){this.__setPlaceField("editor",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"container",{get:function(){return this.currentPlace.container},set:function(e){this.__setPlaceField("container",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"workplace",{get:function(){return this.currentPlace.workplace},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"statusbar",{get:function(){return this.currentPlace.statusbar},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"iframe",{get:function(){return this.currentPlace.iframe},set:function(e){this.__setPlaceField("iframe",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"history",{get:function(){return this.currentPlace.history},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"observer",{get:function(){return this.history},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"editorWindow",{get:function(){return this.currentPlace.editorWindow},set:function(e){this.__setPlaceField("editorWindow",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"ew",{get:function(){return this.editorWindow},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"editorDocument",{get:function(){return this.currentPlace.editorWindow.document},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"ed",{get:function(){return this.editorDocument},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"options",{get:function(){return this.currentPlace.options},set:function(e){this.__setPlaceField("options",e)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"s",{get:function(){return this.selection},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"uploader",{get:function(){return this.getInstance("Uploader",this.o.uploader)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"filebrowser",{get:function(){var e=this,t=(0,s.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback:function(t){t.files&&t.files.length&&t.files.forEach((function(o,n){var r=t.baseurl+o;t.isImages&&t.isImages[n]?e.s.insertImage(r,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML("<a href='".concat(r,"' title='").concat(r,"'>").concat(r,"</a>")))}))}},this.o.filebrowser);return e.getInstance("FileBrowser",t)},enumerable:!1,configurable:!0}),Object.defineProperty(Jodit.prototype,"mode",{get:function(){return this.__mode},set:function(e){this.setMode(e)},enumerable:!1,configurable:!0}),Jodit.prototype.getNativeEditorValue=function(){var e=this.e.fire("beforeGetNativeEditorValue");return(0,s.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()},Jodit.prototype.setNativeEditorValue=function(e){var t={value:e};this.e.fire("beforeSetNativeEditorValue",t)||this.editor&&(this.editor.innerHTML=t.value)},Object.defineProperty(Jodit.prototype,"value",{get:function(){return this.getEditorValue()},set:function(e){this.setEditorValue(e),this.history.__processChanges()},enumerable:!1,configurable:!0}),Jodit.prototype.synchronizeValues=function(){this.__imdSynchronizeValues()},Jodit.prototype.__imdSynchronizeValues=function(){this.setEditorValue()},Jodit.prototype.getEditorValue=function(e,t){var o;if(void 0===e&&(e=!0),void 0!==(o=this.e.fire("beforeGetValueFromEditor",t)))return o;o=this.getNativeEditorValue().replace(i.INVISIBLE_SPACE_REG_EXP(),""),e&&(o=o.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===o&&(o="");var n={value:o};return this.e.fire("afterGetValueFromEditor",n,t),n.value},Jodit.prototype.setEditorValue=function(e){var t=this.e.fire("beforeSetValueToEditor",e);if(!1!==t)if((0,s.isString)(t)&&(e=t),this.editor){if(!(0,s.isString)(e)&&!(0,s.isVoid)(e))throw(0,s.error)("value must be string");(0,s.isVoid)(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");var o=this.getElementValue(),n=this.getEditorValue();if(!this.__isSilentChange&&o!==n&&i.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.__setElementValue(n),this.__callChangeCount+=1;try{this.history.__upTick(),this.e.fire("change",n,o),this.e.fire(this.history,"change",n,o)}finally{this.__callChangeCount=0}}}else void 0!==e&&this.__setElementValue(e)},Jodit.prototype.updateElementValue=function(){this.__setElementValue(this.getEditorValue())},Jodit.prototype.getElementValue=function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML},Jodit.prototype.setElementValue=function(e){var t=this.getElementValue();return(void 0===e||(0,s.isString)(e)&&e!==t)&&(null!=e||(e=t),e!==this.getEditorValue()&&this.setEditorValue(e)),this.__setElementValue(e)},Jodit.prototype.__setElementValue=function(e){var t=this;if(!(0,s.isString)(e))throw(0,s.error)("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){var o={value:e},n=this.e.fire("beforeSetElementValue",o);(0,s.callPromise)(n,(function(){void 0!==t.element.value?t.element.value=o.value:t.element.innerHTML=o.value,t.e.fire("afterSetElementValue",o)}))}},Jodit.prototype.registerCommand=function(e,t,o){var n=e.toLowerCase(),r=this.commands.get(n);if(void 0===r&&this.commands.set(n,r=[]),r.push(t),!(0,s.isFunction)(t)){var i=this.o.commandToHotkeys[n]||this.o.commandToHotkeys[e]||t.hotkeys;i&&this.registerHotkeyToCommand(i,n,null==o?void 0:o.stopPropagation)}return this},Jodit.prototype.registerHotkeyToCommand=function(e,t,o){var n=this;void 0===o&&(o=!0);var r=(0,s.asArray)(e).map(s.normalizeKeyAliases).map((function(e){return e+".hotkey"})).join(" ");this.e.off(r).on(r,(function(e,r){return r&&(r.shouldStop=null==o||o),n.execCommand(t)}))},Jodit.prototype.execCommand=function(e,t,o){for(var r,i=[],a=3;arguments.length>a;a++)i[a-3]=arguments[a];if(this.s.isFocused()||this.s.focus(),!this.o.readonly||this.o.allowCommandsInReadOnly.includes(e)){var s;if(e=e.toLowerCase(),!1!==(s=(r=this.e).fire.apply(r,n.__spreadArray(["beforeCommand",e,t,o],n.__read(i),!1)))&&(s=this.__execCustomCommands.apply(this,n.__spreadArray([e,t,o],n.__read(i),!1))),!1!==s)if(this.s.focus(),"selectall"===e)this.s.select(this.editor,!0),this.s.expandSelection();else try{s=this.nativeExecCommand(e,t,o)}catch(e){}return this.e.fire("afterCommand",e,t,o),this.setEditorValue(),s}},Jodit.prototype.nativeExecCommand=function(e,t,o){this.__isSilentChange=!0;try{return this.ed.execCommand(e,t,o)}finally{this.__isSilentChange=!1}},Jodit.prototype.__execCustomCommands=function(e,t,o){for(var r=this,i=[],a=3;arguments.length>a;a++)i[a-3]=arguments[a];e=e.toLowerCase();var l,c=this.commands.get(e);if(void 0!==c)return c.forEach((function(a){var c,u=(c=(0,s.isFunction)(a)?a:a.exec).call.apply(c,n.__spreadArray([r,e,t,o],n.__read(i),!1));void 0!==u&&(l=u)})),l},Jodit.prototype.lock=function(t){return void 0===t&&(t="any"),!!e.prototype.lock.call(this,t)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)},Jodit.prototype.unlock=function(){return!!e.prototype.unlock.call(this)&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)},Jodit.prototype.getMode=function(){return this.mode},Jodit.prototype.isEditorMode=function(){return this.getRealMode()===i.MODE_WYSIWYG},Jodit.prototype.getRealMode=function(){if(this.getMode()!==i.MODE_SPLIT)return this.getMode();var e=this.od.activeElement;return e&&(e===this.iframe||a.Dom.isOrContains(this.editor,e)||a.Dom.isOrContains(this.toolbar.container,e))?i.MODE_WYSIWYG:i.MODE_SOURCE},Jodit.prototype.setMode=function(e){var t=this,o=this.getMode(),n={mode:parseInt(e.toString(),10)},r=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",n)&&(this.__mode=[i.MODE_SOURCE,i.MODE_WYSIWYG,i.MODE_SPLIT].includes(n.mode)?n.mode:i.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),r.forEach((function(e){t.container.classList.remove(e)})),this.container.classList.add(r[this.mode-1]),o!==this.getMode()&&this.e.fire("afterSetMode"))},Jodit.prototype.toggleMode=function(){var e=this.getMode();[i.MODE_SOURCE,i.MODE_WYSIWYG,this.o.useSplitMode?i.MODE_SPLIT:9].includes(e+1)?e+=1:e=i.MODE_WYSIWYG,this.setMode(e)},Jodit.prototype.setDisabled=function(e){this.o.disabled=e;var t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",e.toString()),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))},Jodit.prototype.getDisabled=function(){return this.o.disabled},Jodit.prototype.setReadOnly=function(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))},Jodit.prototype.getReadOnly=function(){return this.o.readonly},Jodit.prototype.focus=function(){this.getMode()!==i.MODE_SOURCE&&this.s.focus()},Object.defineProperty(Jodit.prototype,"isFocused",{get:function(){return this.s.isFocused()},enumerable:!1,configurable:!0}),Jodit.prototype.beforeInitHook=function(){},Jodit.prototype.afterInitHook=function(){},Jodit.prototype.initOptions=function(e){this.options=(0,s.ConfigProto)(e||{},r.Config.defaultOptions)},Jodit.prototype.initOwners=function(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow},Jodit.prototype.addPlace=function(e,t){var o=this,n=(0,s.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),n.attributes&&(0,s.toArray)(n.attributes).forEach((function(e){var n=e.name,i=e.value;void 0===r.Config.defaultOptions[n]||t&&void 0!==t[n]||(-1!==["readonly","disabled"].indexOf(n)&&(i=""===i||"true"===i),/^[0-9]+(\.)?([0-9]+)?$/.test(i.toString())&&(i=Number(i)),o.options[n]=i)}));var i=this.c.div("jodit-container");i.classList.add("jodit"),i.classList.add("jodit-container"),i.classList.add("jodit_theme_".concat(this.o.theme||"default")),v(this.o.className,i),this.o.containerStyle&&(0,s.css)(i,this.o.containerStyle);var l=this.o.styleValues;Object.keys(l).forEach((function(e){var t=(0,s.kebabCase)(e);i.style.setProperty("--jd-".concat(t),l[e])})),i.setAttribute("contenteditable","false");var c=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(n.nodeName)&&(i=n,n.setAttribute(m,n.className.toString()),c=i.innerHTML,i.innerHTML=""),i.classList.add("jodit_inline"),i.classList.add("jodit-container")),n!==i&&(n.style.display&&n.setAttribute(h,n.style.display),n.style.display="none");var u=this.c.div("jodit-workplace",{contenteditable:!1});i.appendChild(u),n.parentNode&&n!==i&&n.parentNode.insertBefore(i,n),Object.defineProperty(n,"component",{enumerable:!1,configurable:!0,value:this});var d=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});u.appendChild(d);var p={editor:d,element:n,container:i,workplace:u,statusbar:new a.StatusBar(this,i),options:this.isReady?(0,s.ConfigProto)(t||{},r.Config.defaultOptions):this.options,history:new a.History(this),editorWindow:this.ow};this.__elementToPlace.set(d,p),this.setCurrentPlace(p),this.places.push(p),this.setNativeEditorValue(this.getElementValue());var f=this.__initEditor(c),g=this.options;return(0,s.callPromise)(f,(function(){g.enableDragAndDropFileToEditor&&g.uploader&&(g.uploader.url||g.uploader.insertImageAsBase64URI)&&o.uploader.bind(o.editor),o.__elementToPlace.get(o.editor)||o.__elementToPlace.set(o.editor,p),o.e.fire("afterAddPlace",p)}))},Jodit.prototype.addDisclaimer=function(e){this.workplace.appendChild(e)},Jodit.prototype.setCurrentPlace=function(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(i.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))},Jodit.prototype.__initEditor=function(e){var t=this,o=this.__createEditor();return(0,s.callPromise)(o,(function(){if(!t.isInDestruct){if(t.element!==t.container){var o=t.getElementValue();o!==t.getEditorValue()&&t.setEditorValue(o)}else null!=e&&t.setEditorValue(e);var n=t.o.defaultMode;if(t.o.saveModeInStorage){var r=t.storage.get("jodit_default_mode");"string"==typeof r&&(n=parseInt(r,10))}t.setMode(n),t.o.readonly&&(t.__wasReadOnly=!1,t.setReadOnly(!0)),t.o.disabled&&t.setDisabled(!0);try{t.ed.execCommand("defaultParagraphSeparator",!1,t.o.enter.toLowerCase())}catch(e){}try{t.ed.execCommand("enableObjectResizing",!1,"false")}catch(e){}try{t.ed.execCommand("enableInlineTableEditing",!1,"false")}catch(e){}}}))},Jodit.prototype.__createEditor=function(){var e=this,t=this.editor,o=this.e.fire("createEditor",this);return(0,s.callPromise)(o,(function(){if(!e.isInDestruct){if((!1===o||(0,s.isPromise)(o))&&a.Dom.safeRemove(t),v(e.o.editorClassName||e.o.editorCssClass,e.editor),e.o.editorCssClass&&e.editor.classList.add(e.o.editorCssClass),e.o.style&&(0,s.css)(e.editor,e.o.style),e.e.on("synchro",(function(){e.setEditorValue()})).on("focus",(function(){e.editorIsActive=!0})).on("blur",(function(){return e.editorIsActive=!1})),e.__prepareWYSIWYGEditor(),e.o.direction){var n="rtl"===e.o.direction.toLowerCase()?"rtl":"ltr";e.container.style.direction=n,e.container.setAttribute("dir",n),e.toolbar.setDirection(n)}e.o.triggerChangeEvent&&e.e.on("change",e.async.debounce((function(){e.e&&e.e.fire(e.element,"change")}),e.defaultTimeout))}}))},Jodit.prototype.__prepareWYSIWYGEditor=function(){var e=this,t=this.editor;if(this.o.direction){var o="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=o,this.editor.setAttribute("dir",o)}this.e.on(t,"mousedown touchstart focus",(function(){var o=e.__elementToPlace.get(t);o&&e.setCurrentPlace(o)})).on(t,"compositionend",this.synchronizeValues).on(t,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",(function(t){if(!e.o.readonly&&!e.__isSilentChange&&!(t instanceof e.ew.KeyboardEvent&&t.isComposing)&&e.e&&e.e.fire){if(!1===e.e.fire(t.type,t))return!1;e.synchronizeValues()}}))},Jodit.prototype.fetch=function(e,t){var o=this,r=new f.Ajax(n.__assign({url:e},t),this.o.defaultAjaxOptions),i=function(){o.e.off("beforeDestruct",i),o.progressbar.progress(100).hide(),r.destruct()};this.e.one("beforeDestruct",i),this.progressbar.show().progress(30);var a=r.send();return a.finally(i).catch((function(){return null})),a},Jodit.prototype.destruct=function(){var t=this;if(!this.isInDestruct&&(this.setStatus(a.STATUSES.beforeDestruct),this.__elementToPlace.clear(),this.editor)){var o=this.getEditorValue();this.storage.clear(),this.buffer.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body),this.places.forEach((function(e){var n=e.container,r=e.workplace,i=e.statusbar,l=e.element,c=e.iframe,u=e.editor,d=e.history;if(l!==n)if(l.hasAttribute(h)){var p=(0,s.attr)(l,h);p&&(l.style.display=p,l.removeAttribute(h))}else l.style.display="";else l.hasAttribute(m)&&(l.className=(0,s.attr)(l,m)||"",l.removeAttribute(m));l.hasAttribute("style")&&!(0,s.attr)(l,"style")&&l.removeAttribute("style"),i.destruct(),t.e.off(n),t.e.off(l),t.e.off(u),a.Dom.safeRemove(r),a.Dom.safeRemove(u),n!==l&&a.Dom.safeRemove(n),Object.defineProperty(l,"component",{enumerable:!1,configurable:!0,value:null}),a.Dom.safeRemove(c),n===l&&(l.innerHTML=o),d.destruct()})),this.places.length=0,this.currentPlace={},delete u.instances[this.id],e.prototype.destruct.call(this)}},Jodit.fatMode=!1,Jodit.plugins=u.pluginSystem,Jodit.modules=u.modules,Jodit.ns=u.modules,Jodit.decorators={},Jodit.constants=i,Jodit.instances=u.instances,Jodit.lang=c.lang,Jodit.core={Plugin:a.Plugin},n.__decorate([d.cache],Jodit.prototype,"uploader",null),n.__decorate([d.cache],Jodit.prototype,"filebrowser",null),n.__decorate([(0,d.throttle)()],Jodit.prototype,"synchronizeValues",null),n.__decorate([(0,d.watch)(":internalChange")],Jodit.prototype,"updateElementValue",null),n.__decorate([d.autobind],Jodit.prototype,"__prepareWYSIWYGEditor",null),t=n.__decorate([(0,d.derive)(p.Dlgs)],Jodit)}(a.ViewWithToolbar);function v(e,t){e&&e.split(/\s+/).forEach((function(e){return t.classList.add(e)}))}t.Jodit=Jodit},94946:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(74699),r={},i=o(89091),a=o(61124),s=o(34554),l=o(57889),c=o(88716),u=o(72632),d=o(46524),p=o(32920),f=o(53946),h=o(90069),m=o(53283),v=o(87409),g=o(134),y=o(65296),b=o(31130),_=o(65453),w=o(10676),S=o(38039),C=o(17046);r={ar:i,cs_cz:a,de:s,en:l,es:c,fr:u,he:d,hu:p,id:f,it:h,ja:m,ko:v,nl:g,pl:y,pt_br:b,ru:_,tr:w,zh_cn:S,zh_tw:C};var j=o(73725),k=function(e){return e?e.default||e:{}},x={};(0,n.isArray)(k(j))&&k(j).forEach((function(e,t){x[t]=e})),Object.keys(r).forEach((function(e){var t=k(r[e]);(0,n.isArray)(t)?(r[e]={},t.forEach((function(t,o){r[e][x[o]]=t}))):r[e]=t})),t.default=r},23853:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContextMenu=void 0;var n=o(52784);o(53224);var r=o(88153),i=o(24697),a=o(74699),s=o(9119),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.className=function(){return"ContextMenu"},t.prototype.show=function(e,t,o){var n=this,r=this,s=this.j.c.div(this.getFullElName("actions"));(0,a.isArray)(o)&&(o.forEach((function(e){if(e){var t=(0,i.Button)(n.jodit,e.icon||"empty",e.title);n.jodit&&t.setParentView(n.jodit),t.setMod("context","menu"),t.onAction((function(t){var o;return null===(o=e.exec)||void 0===o||o.call(r,t),r.close(),!1})),s.appendChild(t.container)}})),this.setContent(s).open((function(){return{left:e,top:t,width:0,height:0}}),!0))},n.__decorate([s.component],t)}(r.Popup);t.ContextMenu=l},22187:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alert=void 0;var n=o(48310),r=o(16892),i=o(96582),a=o(98440);t.Alert=function(e,t,o,s){void 0===s&&(s="jodit-dialog_alert"),(0,r.isFunction)(t)&&(o=t,t=void 0);var l=this instanceof n.Dialog?this:new n.Dialog,c=l.c.div(s),u=(0,a.Button)(l,"ok","Ok");return(0,r.asArray)(e).forEach((function(e){c.appendChild(i.Dom.isNode(e)?e:l.c.fromHTML(e))})),u.onAction((function(){o&&(0,r.isFunction)(o)&&!1===o(l)||l.close()})),l.setFooter([u]),l.open(c,t||"&nbsp;",!0,!0),u.focus(),l}},26914:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Confirm=void 0;var n=o(48310),r=o(6244),i=o(70305);t.Confirm=function(e,t,o){var a=this instanceof n.Dialog?this:new n.Dialog,s=a.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=a.c.element("label");(0,r.isFunction)(t)&&(o=t,t=void 0),l.appendChild(a.c.fromHTML(e)),s.appendChild(l);var c=function(e){return function(){o&&!1===o(e)||a.close()}},u=(0,i.Button)(a,"cancel","Cancel"),d=(0,i.Button)(a,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),a.e.on(s,"submit",(function(){return c(!0)(),!1})),a.setFooter([d,u]),a.open(s,t||"&nbsp;",!0,!0),d.focus(),a}},48310:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dialog=void 0;var n=o(52784);o(49073);var r=o(733),i=o(49940),a=o(16892);o(52378);var s=o(78063),l=o(96582),c=o(68311),u=o(58706),d=o(51923),p=o(9e3),f=o(98440);r.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[]},r.Config.prototype.controls.dialog={close:{icon:"cancel",exec:function(e){e.close()}}};var h=function(e){function t(t){var o=e.call(this,t)||this;o.destroyAfterClose=!1,o.moved=!1,o.resizable=!1,o.draggable=!1,o.startX=0,o.startY=0,o.startPoint={x:0,y:0,w:0,h:0},o.lockSelect=function(){o.setMod("moved",!0)},o.unlockSelect=function(){o.setMod("moved",!1)},o.onResize=function(){o.options&&o.o.resizable&&!o.moved&&o.isOpened&&!o.offsetX&&!o.offsetY&&o.setPosition()},o.isModal=!1,o.isOpened=!1;var n=o;n.options=(0,a.ConfigProto)(null!=t?t:{},(0,a.ConfigProto)({toolbarButtonSize:"middle"},(0,a.ConfigProto)(r.Config.prototype.dialog,p.View.defaultOptions))),l.Dom.safeRemove(n.container);var i=o.getFullElName.bind(o);n.container=o.c.fromHTML('<div style="z-index:'.concat(n.o.zIndex,'" class="jodit jodit-dialog ').concat(o.componentName,'">\n\t\t\t\t<div class="').concat(i("overlay"),'"></div>\n\t\t\t\t<div class="').concat(o.getFullElName("panel"),'">\n\t\t\t\t\t<div class="').concat(i("header"),'">\n\t\t\t\t\t\t<div class="').concat(i("header-title"),'"></div>\n\t\t\t\t\t\t<div class="').concat(i("header-toolbar"),'"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="').concat(i("content"),'"></div>\n\t\t\t\t\t<div class="').concat(i("footer"),'"></div>\n\t\t\t\t\t<div class="').concat(i("resizer"),'">').concat(f.Icon.get("resize_handler"),"</div>\n\t\t\t\t</div>\n\t\t\t</div>")),(0,a.attr)(n.container,"role","dialog"),Object.defineProperty(n.container,"component",{value:o}),n.setMod("theme",n.o.theme||"default").setMod("resizable",Boolean(n.o.resizable));var s=n.getElm("panel"),c=n.getElm("resizer"),d=n.getElm("header-title"),h=n.getElm("content"),m=n.getElm("footer"),v=n.getElm("header-toolbar");o.dialog=s,o.resizer=c,o.dialogbox_header=d,o.dialogbox_content=h,o.dialogbox_footer=m,o.dialogbox_toolbar=v,(0,a.css)(n.dialog,{maxWidth:n.options.maxWidth,minHeight:n.options.minHeight,minWidth:n.options.minWidth});var g=n.getElm("header");g&&n.e.on(g,"pointerdown touchstart",n.onHeaderMouseDown),n.e.on(n.resizer,"mousedown touchstart",n.onResizerMouseDown);var y=u.pluginSystem.get("fullsize");return(0,a.isFunction)(y)&&y(n),o.e.on(n.container,"close_dialog",n.close).on(o.ow,"keydown",o.onEsc).on(o.ow,"resize",o.onResize),o}return n.__extends(t,e),t.prototype.className=function(){return"Dialog"},Object.defineProperty(t.prototype,"destination",{get:function(){var e;return null!==(e=this.o.shadowRoot)&&void 0!==e?e:this.od.body},enumerable:!1,configurable:!0}),t.prototype.setElements=function(e,t){var o=this,n=[];(0,a.asArray)(t).forEach((function(t){if((0,a.isArray)(t)){var r=o.c.div(o.getFullElName("column"));return n.push(r),e.appendChild(r),o.setElements(r,t)}var i;i=(0,a.isString)(t)?o.c.fromHTML(t):(0,a.hasContainer)(t)?t.container:t,n.push(i),i.parentNode!==e&&e.appendChild(i)})),(0,a.toArray)(e.childNodes).forEach((function(t){-1===n.indexOf(t)&&e.removeChild(t)}))},t.prototype.onMouseUp=function(){(this.draggable||this.resizable)&&(this.removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))},t.prototype.onHeaderMouseDown=function(e){var t=e.target;!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,a.css)(this.dialog,"left"),this.startPoint.y=(0,a.css)(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startMove"))},t.prototype.onMouseMove=function(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))},t.prototype.onEsc=function(e){if(this.isOpened&&e.key===i.KEY_ESC&&!0!==this.getMod("static")){var t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}},t.prototype.onResizerMouseDown=function(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")},t.prototype.addGlobalResizeListeners=function(){var e=this;e.e.on(e.ow,"pointermove touchmove",e.onMouseMove).on(e.ow,"pointerup touchend",e.onMouseUp)},t.prototype.removeGlobalResizeListeners=function(){var e=this;e.e.off(e.ow,"mousemove pointermove",e.onMouseMove).off(e.ow,"mouseup pointerup",e.onMouseUp)},t.prototype.setSize=function(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,a.css)(this.dialog,{width:e,height:t}),this},t.prototype.calcAutoSize=function(){return this.setSize("auto","auto"),this.setSize(),this},t.prototype.setPosition=function(e,t){var o=this.ow.innerWidth/2-this.dialog.offsetWidth/2,n=this.ow.innerHeight/2-this.dialog.offsetHeight/2;return 0>o&&(o=0),0>n&&(n=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-o)>100||Math.abs(t-n)>100),this.dialog.style.left=(e||o)+"px",this.dialog.style.top=(t||n)+"px",this},t.prototype.setHeader=function(e){return this.setElements(this.dialogbox_header,e),this},t.prototype.setContent=function(e){return this.setElements(this.dialogbox_content,e),this},t.prototype.setFooter=function(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",Boolean(e)),this},t.prototype.getZIndex=function(){return parseInt((0,a.css)(this.container,"zIndex"),10)||0},t.prototype.getMaxZIndexDialog=function(){var e,t,o=0,n=this;return(0,a.$$)(".jodit-dialog",this.destination).forEach((function(r){e=r.component,t=parseInt((0,a.css)(r,"zIndex"),10),e.isOpened&&!isNaN(t)&&t>o&&(n=e,o=t)})),n},t.prototype.setMaxZIndex=function(){var e=20000004,t=0;(0,a.$$)(".jodit-dialog",this.destination).forEach((function(o){t=parseInt((0,a.css)(o,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)})),this.container.style.zIndex=(e+1).toString()},t.prototype.toggleFullSize=function(t){(0,a.isVoid)(t)&&(t=!this.getMod("fullsize")),this.setMod("fullsize",t),e.prototype.toggleFullSize.call(this,t)},t.prototype.open=function(e,t,o,n){if(u.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,a.isBoolean)(e)&&(o=e),(0,a.isBoolean)(t)&&(n=t),this.destroyAfterClose=!0===o;var r=(0,a.isBoolean)(e)?void 0:e,i=(0,a.isBoolean)(t)?void 0:t;return void 0!==i&&this.setHeader(i),r&&this.setContent(r),this.setMod("active",!0),this.isOpened=!0,this.setModal(n),this.destination.appendChild(this.container),this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex(),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this},t.prototype.setModal=function(e){return this.isModal=Boolean(e),this.setMod("modal",this.isModal),this},t.prototype.close=function(){return this.isDestructed||!this.isOpened||!0===this.getMod("static")||!1===this.e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),l.Dom.safeRemove(this.container),this.removeGlobalResizeListeners(),this.destroyAfterClose&&this.destruct(),this.e.fire(this,"afterClose"),this.e.fire(this.ow,"joditCloseDialog")),this},t.prototype.buildToolbar=function(){this.o.buttons&&this.toolbar.build((0,a.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)},t.prototype.destruct=function(){this.isInDestruct||(this.setStatus(c.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.onEsc).off(this.ow,"resize",this.onResize)),e.prototype.destruct.call(this))},n.__decorate([d.autobind],t.prototype,"onMouseUp",null),n.__decorate([d.autobind],t.prototype,"onHeaderMouseDown",null),n.__decorate([d.autobind],t.prototype,"onMouseMove",null),n.__decorate([d.autobind],t.prototype,"onEsc",null),n.__decorate([d.autobind],t.prototype,"onResizerMouseDown",null),n.__decorate([d.autobind],t.prototype,"close",null),n.__decorate([(0,d.hook)("ready")],t.prototype,"buildToolbar",null),n.__decorate([d.component],t)}(s.ViewWithToolbar);t.Dialog=h},74353:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Confirm=t.Prompt=t.Alert=t.Dialog=void 0;var n=o(48310);Object.defineProperty(t,"Dialog",{enumerable:!0,get:function(){return n.Dialog}});var r=o(22187);Object.defineProperty(t,"Alert",{enumerable:!0,get:function(){return r.Alert}});var i=o(69100);Object.defineProperty(t,"Prompt",{enumerable:!0,get:function(){return i.Prompt}});var a=o(26914);Object.defineProperty(t,"Confirm",{enumerable:!0,get:function(){return a.Confirm}})},69100:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Prompt=void 0;var n=o(74353),r=o(98440),i=o(16892);t.Prompt=function(e,t,o,a,s){var l=this instanceof n.Dialog?this:new n.Dialog,c=(0,r.Button)(l,"cancel","Cancel"),u=(0,r.Button)(l,"ok","Ok"),d=l.c.element("form",{class:"jodit-dialog_prompt"}),p=l.c.element("input",{autofocus:!0,class:"jodit-input"}),f=l.c.element("label");(0,i.isFunction)(t)&&(o=t,t=void 0),a&&(0,i.attr)(p,"placeholder",a),f.appendChild(l.c.text(e)),d.appendChild(f),d.appendChild(p),c.onAction(l.close);var h=function(){o&&(0,i.isFunction)(o)&&!1===o(p.value)||l.close()};return u.onAction(h),l.e.on(d,"submit",(function(){return h(),!1})),l.setFooter([u,c]),l.open(d,t||"&nbsp;",!0,!0),p.focus(),void 0!==s&&s.length&&(p.value=s,p.select()),l}},1383:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784),r=o(96582),i=o(16892),a=o(74738),s=o(98440),l=o(7917),c=o(67757),u=o(9564),d=o(15169),p=o(54812),f="jodit-filebrowser-preview",h=function(e,t){return void 0===e&&(e="next"),void 0===t&&(t="right"),'<div class="'.concat(f,"__navigation ").concat(f,"__navigation_arrow_").concat(e,'">')+""+s.Icon.get("angle-"+t)+"</a>"};t.default=function(e){if(!e.o.contextMenu)return function(){};var t=(0,a.makeContextMenu)(e);return function(o){var a=(0,l.getItem)(o.target,e.container);if(a){var s=a,m=e.options,v=function(e){return(0,i.attr)(s,e)||""};return e.async.setTimeout((function(){var g=(0,l.elementToItem)(a,(0,u.elementsMap)(e));g&&(e.state.activeElements=[g],t.show(o.clientX,o.clientY,[!("1"===v("data-is-file")||!m.editImage||!e.dataProvider.canI("ImageResize")&&!e.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:function(){return c.openImageEditor.call(e,v("href"),v("data-name"),v("data-path"),v("data-source"))}},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec:function(){e.e.fire("fileRename.filebrowser",v("data-name"),v("data-path"),v("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:function(){return n.__awaiter(void 0,void 0,Promise,(function(){var t;return n.__generator(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,(0,p.deleteFile)(e,v("data-name"),v("data-source"))];case 1:return o.sent(),[3,3];case 2:return t=o.sent(),[2,e.status(t)];case 3:return e.state.activeElements=[],[2,(0,d.loadTree)(e).catch(e.status)]}}))}))}},!!m.preview&&{icon:"eye",title:"Preview",exec:function(){var t=e.dlg({buttons:["fullsize","dialog.close"]}),o=e.c.div(f,'<div class="jodit-icon_loader"></div>'),n=e.c.div(f+"__box"),a=e.c.fromHTML(h()),l=e.c.fromHTML(h("prev","left")),c=function(i){var c=e.c.element("img");c.setAttribute("src",i);var u=function(){var i;e.isInDestruct||(e.e.off(c,"load"),r.Dom.detach(o),m.showPreviewNavigation&&(r.Dom.prevWithClass(s,e.files.getFullElName("item"))&&o.appendChild(l),r.Dom.nextWithClass(s,e.files.getFullElName("item"))&&o.appendChild(a)),o.appendChild(n),n.appendChild(c),t.setPosition(),null===(i=null==e?void 0:e.events)||void 0===i||i.fire("previewOpenedAndLoaded"))};e.e.on(c,"load",u),c.complete&&u()};e.e.on([a,l],"click",(function(){if(!(s=this===a?r.Dom.nextWithClass(s,e.files.getFullElName("item")):r.Dom.prevWithClass(s,e.files.getFullElName("item"))))throw(0,i.error)("Need element");r.Dom.detach(o),r.Dom.detach(n),o.innerHTML='<div class="jodit-icon_loader"></div>',c(v("href"))})),e.e.on("beforeDestruct",(function(){t.destruct()})),t.container.classList.add(f+"__dialog"),t.setContent(o),t.setPosition(),t.open(),c(v("href")),e.events.on("beforeDestruct",(function(){t.destruct()})).fire("previewOpened")}},{icon:"upload",title:"Download",exec:function(){var t=v("href");t&&e.ow.open(t)}}]))}),e.defaultTimeout),e.e.on("beforeClose",(function(){return t.close()})).on("beforeDestruct",(function(){return t.destruct()})),o.stopPropagation(),o.preventDefault(),!1}}}},9564:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementsMap=void 0;var o=new WeakMap;t.elementsMap=function(e){var t=o.get(e);return t||o.set(e,t={}),t}},93991:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileBrowserItem=void 0;var n=o(16892),r=function(){function e(e){var t=this;this.data=e,Object.keys(e).forEach((function(o){t[o]=e[o]}))}return e.create=function(t){return t instanceof e?t:new e(t)},Object.defineProperty(e.prototype,"path",{get:function(){return(0,n.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"imageURL",{get:function(){var e=this.time||(new Date).getTime().toString(),t=this.data,o=t.source,r=t.thumb||t.file;return t.thumbIsAbsolute&&r?r:(0,n.normalizeUrl)(o.baseurl,o.path,r||"")+"?_tmst="+encodeURIComponent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fileURL",{get:function(){var e=this.data.name,t=this.data,o=t.file,r=t.source;return void 0!==o&&(e=o),t.fileIsAbsolute&&e?e:(0,n.normalizeUrl)(r.baseurl,r.path,e||"")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){var e=this.data.changed;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"uniqueHashKey",{get:function(){var e=this.data;return[e.sourceName,e.name,e.file,this.time,e.thumb].join("_").toLowerCase().replace(/[^0-9a-z\-.]/g,"-")},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.data},e}();t.FileBrowserItem=r},7310:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784),r=o(733),i=o(74699),a=o(93717),s=o(17625);r.Config.prototype.filebrowser={namespace:"",extraButtons:[],filter:function(e,t){return t=t.toLowerCase(),(0,i.isString)(e)?-1!==e.toLowerCase().indexOf(t):(0,i.isString)(e.name)?-1!==e.name.toLowerCase().indexOf(t):!(0,i.isString)(e.file)||-1!==e.file.toLowerCase().indexOf(t)},sortBy:"changed-desc",sort:function(e,t,o){var r=n.__read(o.toLowerCase().split("-"),2),a=r[0],l="asc"===r[1],c=function(e,t){return t>e?l?-1:1:e>t?l?1:-1:0};if((0,i.isString)(e))return c(e.toLowerCase(),t.toLowerCase());if(void 0===e[a]||"name"===a)return(0,i.isString)(e.name)?c(e.name.toLowerCase(),t.name.toLowerCase()):(0,i.isString)(e.file)?c(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(a){case"changed":var u=new Date(e.changed).getTime(),d=new Date(t.changed).getTime();return l?u-d:d-u;case"size":return u=(0,s.humanSizeToBytes)(e.size),d=(0,s.humanSizeToBytes)(t.size),l?u-d:d-u}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&(0,i.isArray)(e.data.messages)?e.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate:function(e,t,o){var n=this.options,r=this.files.getFullElName("item"),i=n.showFileName,a=n.showFileSize&&e.size,s=n.showFileChangeTime&&e.time,l="";void 0!==e.file&&(l=e.file);var c='<div class="'.concat(r,'-info">').concat(i?'<span class="'.concat(r,'-info-filename">').concat(l,"</span>"):"").concat(a?'<span class="'.concat(r,'-info-filesize">').concat(e.size,"</span>"):"").concat(s?'<span class="'.concat(r,'-info-filechanged">').concat(s,"</span>"):"","</div>");return'<a\n\t\t\tdata-jodit-filebrowser-item="true"\n\t\t\tdata-is-file="'.concat(e.isImage?0:1,'"\n\t\t\tdraggable="true"\n\t\t\tclass="').concat(r,'"\n\t\t\thref="').concat(e.fileURL,'"\n\t\t\tdata-source="').concat(o,'"\n\t\t\tdata-path="').concat(e.path,'"\n\t\t\tdata-name="').concat(l,'"\n\t\t\ttitle="').concat(l,'"\n\t\t\tdata-url="').concat(e.fileURL,'">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="').concat(e.isImage?0:1,'"\n\t\t\t\t\tdata-src="').concat(e.fileURL,'"\n\t\t\t\t\tsrc="').concat(e.imageURL,'"\n\t\t\t\t\talt="').concat(l,'"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t').concat(i||a||s?c:"","\n\t\t\t</a>")},ajax:n.__assign(n.__assign({},r.Config.prototype.defaultAjaxOptions),{url:"",data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,headers:{},prepareData:function(e){return e},process:function(e){return e}}),create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRename:{data:{action:"fileRename"}},folderRename:{data:{action:"folderRename"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}}},r.Config.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,isDisabled:function(e){return!e.dataProvider.canI("FileUpload")},getContent:function(e){var t=new a.UIFileInput(e,{onlyImages:e.state.onlyImages});return e.e.fire("bindUploader.filebrowser",t.container),t.container}},remove:{icon:"bin",isDisabled:function(e){return!e.state.activeElements.length||!e.dataProvider.canI("FileRemove")},exec:function(e){e.e.fire("fileRemove.filebrowser")}},update:{exec:function(e){e.e.fire("update.filebrowser")}},select:{icon:"check",isDisabled:function(e){return!e.state.activeElements.length},exec:function(e){e.e.fire("select.filebrowser")}},edit:{icon:"pencil",isDisabled:function(e){var t=e.state.activeElements;return 1!==t.length||!t[0].isImage||!(e.dataProvider.canI("ImageCrop")||e.dataProvider.canI("ImageResize"))},exec:function(e){e.e.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:function(e){return"tiles"===e.state.view},exec:function(e){e.e.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:function(e){return"list"===e.state.view},exec:function(e){e.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:function(e,t,o){var n=o.container.querySelector(".jodit-input");if(n)return n;var r=e.c.element("input",{class:"jodit-input",placeholder:e.i18n("Filter")});return r.value=e.state.filterWord,e.e.on(r,"keydown mousedown",e.async.debounce((function(){e.e.fire("filter.filebrowser",r.value)}),e.defaultTimeout)),r}},sort:{isInput:!0,getContent:function(e){var t=e.c.fromHTML('<select class="jodit-input jodit-select">'+'<option value="changed-asc">'.concat(e.i18n("Sort by changed")," (⬆)</option>")+'<option value="changed-desc">'.concat(e.i18n("Sort by changed")," (⬇)</option>")+'<option value="name-asc">'.concat(e.i18n("Sort by name")," (⬆)</option>")+'<option value="name-desc">'.concat(e.i18n("Sort by name")," (⬇)</option>")+'<option value="size-asc">'.concat(e.i18n("Sort by size")," (⬆)</option>")+'<option value="size-desc">'.concat(e.i18n("Sort by size")," (⬇)</option>")+"</select>");return t.value=e.state.sortBy,e.e.on("sort.filebrowser",(function(e){t.value!==e&&(t.value=e)})).on(t,"change",(function(){e.e.fire("sort.filebrowser",t.value)})),t}}}},62614:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SOURCE_NAME=void 0;var n=o(52784),r=o(16892),i=o(42239),a=o(51923),s=o(93991);t.DEFAULT_SOURCE_NAME="default";var l=function(){function e(e,t){this.parent=e,this.options=t,this.__currentPermissions=null,this.ajaxInstances=new Map,this.progressHandler=function(e){}}return Object.defineProperty(e.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),e.prototype.get=function(e){var t=this,o=this.ajaxInstances;if(o.has(e)){var n=o.get(e);null==n||n.abort(),o.delete(e)}var a=(0,r.ConfigProto)(void 0!==this.options[e]?this.options[e]:{},(0,r.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));a.prepareData&&(a.data=a.prepareData.call(this,a.data));var s=new i.Ajax(a);o.set(e,s);var l=s.send();return l.finally((function(){s.destruct(),o.delete(e),t.progressHandler(100)})).catch((function(){return null})),l.then((function(e){return e.json()})).then((function(e){if(e&&!t.isSuccess(e))throw new Error(t.getMessage(e));return e}))},e.prototype.onProgress=function(e){this.progressHandler=e},e.prototype.permissions=function(e,t){return n.__awaiter(this,void 0,Promise,(function(){var o=this;return n.__generator(this,(function(n){return this.o.permissions?(this.o.permissions.data.path=e,this.o.permissions.data.source=t,this.o.permissions.url?[2,this.get("permissions").then((function(e){var t=o.o.permissions.process;if(t||(t=o.o.ajax.process),t){var n=t.call(self,e);n.data.permissions&&(o.__currentPermissions=n.data.permissions)}return o.__currentPermissions}))]:[2,null]):[2,null]}))}))},e.prototype.canI=function(e){var t="allow"+e;return null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]},e.prototype.items=function(e,t,o){var n=this;void 0===o&&(o={});var r=this.options;return r.items?(r.items.data.path=e,r.items.data.source=t,r.items.data.mods=o,this.get("items").then((function(e){var t=n.o.items.process;return t||(t=n.o.ajax.process),t&&(e=t.call(self,e)),n.generateItemsList(e.data.sources,o)}))):Promise.reject("Set Items api options")},e.prototype.generateItemsList=function(e,t){var o=this;void 0===t&&(t={});var i=[];return e.forEach((function(e){if(e.files&&e.files.length){var a=o.o.sort;(0,r.isFunction)(a)&&t.sortBy&&e.files.sort((function(e,o){return a(e,o,t.sortBy)})),e.files.forEach((function(r){(function(e){var n;return!(null===(n=t.filterWord)||void 0===n?void 0:n.length)||void 0===o.o.filter||o.o.filter(e,t.filterWord)})(r)&&function(e){return!t.onlyImages||void 0===e.isImage||e.isImage}(r)&&i.push(s.FileBrowserItem.create(n.__assign(n.__assign({},r),{sourceName:e.name,source:e})))}))}})),i},e.prototype.tree=function(e,t){return n.__awaiter(this,void 0,Promise,(function(){var o=this;return n.__generator(this,(function(n){switch(n.label){case 0:return e=(0,r.normalizeRelativePath)(e),this.o.folder?[4,this.permissions(e,t)]:[2,Promise.reject("Set Folder Api options")];case 1:return n.sent(),this.o.folder.data.path=e,this.o.folder.data.source=t,[2,this.get("folder").then((function(e){var t=o.o.folder.process;return t||(t=o.o.ajax.process),t&&(e=t.call(self,e)),e.data.sources}))]}}))}))},e.prototype.getPathByUrl=function(e){var t=this;return(0,r.set)("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then((function(e){if(t.isSuccess(e))return e.data;throw(0,r.error)(t.getMessage(e))}))},e.prototype.createFolder=function(e,t,o){var n=this,i=this.o.create;if(!i)throw(0,r.error)("Set Create api options");return i.data.source=o,i.data.path=t,i.data.name=e,this.get("create").then((function(e){if(n.isSuccess(e))return!0;throw(0,r.error)(n.getMessage(e))}))},e.prototype.move=function(e,t,o,n){var i=this,a=n?"fileMove":"folderMove",s=this.options[a];if(!s)throw(0,r.error)("Set Move api options");return s.data.from=e,s.data.path=t,s.data.source=o,this.get(a).then((function(e){if(i.isSuccess(e))return!0;throw(0,r.error)(i.getMessage(e))}))},e.prototype.remove=function(e,t,o,n){var i=this,a=this.o[e];if(!a)throw(0,r.error)('Set "'.concat(e,'" api options'));return a.data.path=t,a.data.name=o,a.data.source=n,this.get(e).then((function(e){return a.process&&(e=a.process.call(i,e)),i.getMessage(e)}))},e.prototype.fileRemove=function(e,t,o){return this.remove("fileRemove",e,t,o)},e.prototype.folderRemove=function(e,t,o){return this.remove("folderRemove",e,t,o)},e.prototype.rename=function(e,t,o,n,i){var a=this,s=this.o[e];if(!s)throw(0,r.error)('Set "'.concat(e,'" api options'));return s.data.path=t,s.data.name=o,s.data.newname=n,s.data.source=i,this.get(e).then((function(e){return s.process&&(e=s.process.call(self,e)),a.getMessage(e)}))},e.prototype.folderRename=function(e,t,o,n){return this.rename("folderRename",e,t,o,n)},e.prototype.fileRename=function(e,t,o,n){return this.rename("fileRename",e,t,o,n)},e.prototype.changeImage=function(e,t,o,n,r,i){this.o[e]||(this.o[e]={data:{}});var a=this.o[e];return void 0===a.data&&(a.data={action:e}),a.data.newname=r||n,i&&(a.data.box=i),a.data.path=t,a.data.name=n,a.data.source=o,this.get(e).then((function(){return!0}))},e.prototype.crop=function(e,t,o,n,r){return this.changeImage("crop",e,t,o,n,r)},e.prototype.resize=function(e,t,o,n,r){return this.changeImage("resize",e,t,o,n,r)},e.prototype.getMessage=function(e){return this.options.getMessage(e)},e.prototype.isSuccess=function(e){return this.options.isSuccess(e)},e.prototype.destruct=function(){this.ajaxInstances.forEach((function(e){return e.destruct()})),this.ajaxInstances.clear()},n.__decorate([a.autobind],e)}();t.default=l},74738:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeContextMenu=t.makeDataProvider=void 0;var n=o(62614),r=o(23853);t.makeDataProvider=function(e,t){return new n.default(e,t)},t.makeContextMenu=function(e){return new r.ContextMenu(e)}},54812:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteFile=void 0,t.deleteFile=function(e,t,o){return e.dataProvider.fileRemove(e.state.currentPath,t,o).then((function(o){e.status(o||e.i18n('File "%s" was deleted',t),!0)})).catch(e.status)}},94634:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadItems=void 0,t.loadItems=function(e){return e.files.setMod("active",!0),e.files.setMod("loading",!0),e.dataProvider.items(e.state.currentPath,e.state.currentSource,{sortBy:e.state.sortBy,onlyImages:e.state.onlyImages,filterWord:e.state.filterWord}).then((function(t){t&&(e.state.elements=t,e.state.activeElements=[])})).catch(e.status).finally((function(){return e.files.setMod("loading",!1)}))}},15169:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTree=void 0;var n=o(52784),r=o(96582),i=o(94634);t.loadTree=function(e){return n.__awaiter(this,void 0,Promise,(function(){var t,o;return n.__generator(this,(function(n){return e.tree.setMod("active",!0),r.Dom.detach(e.tree.container),t=(0,i.loadItems)(e),e.o.showFoldersPanel?(e.tree.setMod("loading",!0),o=e.dataProvider.tree(e.state.currentPath,e.state.currentSource).then((function(t){e.state.sources=t})).catch(e.status).finally((function(){return e.tree.setMod("loading",!1)})),[2,Promise.all([o,t])]):(e.tree.setMod("active",!1),[2,t])}))}))}},91203:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFileBrowserFilesItem=t.FileBrowser=void 0;var n=o(52784);o(27040);var r=o(733),i=o(49940),a=o(98416),s=o(16892),l=o(96582),c=o(74738),u=o(16464),d=o(7917),p=o(92342),f=o(62614),h=o(51923),m=o(90416),v=o(57083),g=o(15169),y=o(94634),b=o(68311),_=o(38017),w=o(78063);o(7310);var S=function(e){function t(t){var o,n=this;(n=e.call(this,t)||this).browser=n.c.div(n.componentName),n.status_line=n.c.div(n.getFullElName("status")),n.tree=new m.FileBrowserTree(n),n.files=new m.FileBrowserFiles(n),n.state=(0,v.observable)({currentPath:"",currentSource:f.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],messages:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),n.errorHandler=function(e){(0,s.isAbort)(e)||(e instanceof Error?n.status(n.i18n(e.message)):n.status(n.dataProvider.getMessage(e)))},n.close=function(){n._dialog.close()},n.attachEvents(t);var i=n;i.options=(0,s.ConfigProto)(t||{},r.Config.defaultOptions.filebrowser),i.storage=a.Storage.makeStorage(Boolean(n.o.saveStateInStorage),n.componentName),i.dataProvider=(0,c.makeDataProvider)(i,i.options),i._dialog=n.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!==(o=n.o.headerButtons)&&void 0!==o?o:["fullsize","dialog.close"]}),n.proxyDialogEvents(i),i.browser.component=n,i.container=i.browser,i.o.showFoldersPanel&&i.browser.appendChild(i.tree.container),i.browser.appendChild(i.files.container),i.browser.appendChild(i.status_line),p.selfListeners.call(i),d.nativeListeners.call(i),u.stateListeners.call(i),i._dialog.setSize(i.o.width,i.o.height),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((function(e){null!=n.options[e]&&(n.options[e]=(0,s.ConfigProto)(n.options[e],n.o.ajax))}));var l=n.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},h=l.storeSortBy,g=l.storeLastOpenedFolder,y=l.storeView&&n.storage.get("view");i.state.view=y&&null==n.o.view?"list"===y?"list":"tiles":"list"===i.o.view?"list":"tiles",i.files.setMod("view",i.state.view);var _=h&&i.storage.get("sortBy");if(_){var w=_.split("-");i.state.sortBy=["changed","name","size"].includes(w[0])?_:"changed-desc"}else i.state.sortBy=i.o.sortBy||"changed-desc";if(g){var S=i.storage.get("currentPath"),C=i.storage.get("currentSource");i.state.currentPath=null!=S?S:"",i.state.currentSource=null!=C?C:""}return i.initUploader(i),i.setStatus(b.STATUSES.ready),n}return n.__extends(t,e),t.prototype.className=function(){return"Filebrowser"},t.prototype.onSelect=function(e){var t=this;return function(){if(t.state.activeElements.length){var o=[],n=[];t.state.activeElements.forEach((function(e){var t=e.fileURL;t&&(o.push(t),n.push(e.isImage||!1))})),t.close();var r={baseurl:"",files:o,isImages:n};(0,s.isFunction)(e)&&e(r),t.close()}return!1}},Object.defineProperty(t.prototype,"isOpened",{get:function(){return this._dialog.isOpened&&"none"!==this.browser.style.display},enumerable:!1,configurable:!0}),t.prototype.status=function(e,t){e&&!(0,s.isAbort)(e)&&((0,s.isString)(e)||(e=e.message),(0,s.isString)(e)&&(0,s.trim)(e).length&&this.message.message(e,t?"success":"error",this.o.howLongShowMsg))},t.prototype.open=function(e,t){var o=this;return void 0===e&&(e=this.o.defaultCallback),void 0===t&&(t=!1),this.state.onlyImages=t,this.async.promise((function(t,n){var r;if(!o.o.items||!o.o.items.url)throw(0,s.error)("Need set options.filebrowser.ajax.url");var a=0;o.e.off(o.files.container,"dblclick").on(o.files.container,"dblclick",o.onSelect(e)).on(o.files.container,"touchstart",(function(){var t=(new Date).getTime();i.EMULATE_DBLCLICK_TIMEOUT>t-a&&o.onSelect(e)(),a=t})).off("select.filebrowser").on("select.filebrowser",o.onSelect(e));var l=o.c.div();o.toolbar.build(null!==(r=o.o.buttons)&&void 0!==r?r:[]).appendTo(l),o._dialog.open(o.browser,l),o.e.fire("sort.filebrowser",o.state.sortBy),(0,g.loadTree)(o).then(t,n)}))},t.prototype.initUploader=function(e){var t,o=this,n=this,i=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.uploader,a=(0,s.ConfigProto)(i||{},r.Config.defaultOptions.uploader),l=function(){return(0,y.loadItems)(o)};n.uploader=n.getInstance("Uploader",a),n.uploader.setPath(n.state.currentPath).setSource(n.state.currentSource).bind(n.browser,l,n.errorHandler),this.state.on(["change.currentPath","change.currentSource"],(function(){o.uploader.setPath(o.state.currentPath).setSource(o.state.currentSource)})),n.e.on("bindUploader.filebrowser",(function(e){n.uploader.bind(e,l,n.errorHandler)}))},t.prototype.proxyDialogEvents=function(e){var t=this;["afterClose","beforeOpen"].forEach((function(o){e._dialog.events.on(e.dlg,o,(function(){t.e.fire(o)}))}))},t.prototype.destruct=function(){this.isInDestruct||(e.prototype.destruct.call(this),this._dialog.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())},n.__decorate([h.autobind],t.prototype,"status",null),n.__decorate([h.autobind],t.prototype,"open",null),n.__decorate([(0,h.derive)(_.Dlgs)],t)}(w.ViewWithToolbar);t.FileBrowser=S,t.isFileBrowserFilesItem=function(e){return l.Dom.isElement(e)&&e.classList.contains(m.FileBrowserFiles.prototype.getFullElName("item"))}},23827:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(52784).__exportStar(o(91203),t)},7917:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nativeListeners=t.elementToItem=t.getItem=void 0;var n=o(52784),r=o(16892),i=o(1383),a=o(96582),s=o(9564),l=o(15169);t.getItem=function(e,t,o){return void 0===o&&(o="a"),a.Dom.closest(e,(function(e){return a.Dom.isTag(e,o)}),t)},t.elementToItem=function(e,t){return t[e.dataset.key||""].item},t.nativeListeners=function(){var e=this,o=!1,a=(0,s.elementsMap)(this),c=this;c.e.on(c.tree.container,"dragstart",(function(e){var n=(0,t.getItem)(e.target,c.container);n&&c.o.moveFolder&&(o=n)})).on(c.tree.container,"drop",(function(n){if((c.o.moveFile||c.o.moveFolder)&&o){var i=(0,r.attr)(o,"-path")||"";if(!c.o.moveFolder&&o.classList.contains(e.tree.getFullElName("item")))return!1;if(o.classList.contains(e.files.getFullElName("item"))&&(i+=(0,r.attr)(o,"-name"),!c.o.moveFile))return!1;var a=(0,t.getItem)(n.target,c.container);if(!a)return;c.dataProvider.move(i,(0,r.attr)(a,"-path")||"",(0,r.attr)(a,"-source")||"",o.classList.contains(e.files.getFullElName("item"))).then((function(){return(0,l.loadTree)(e)})).catch(c.status),o=!1}})).on(c.files.container,"contextmenu",(0,i.default)(c)).on(c.files.container,"click",(function(t){(0,r.ctrlKey)(t)||(e.state.activeElements=[])})).on(c.files.container,"click",(function(e){var o=(0,t.getItem)(e.target,c.container);if(o){var i=(0,t.elementToItem)(o,a);if(i)return c.state.activeElements=(0,r.ctrlKey)(e)?n.__spreadArray(n.__spreadArray([],n.__read(c.state.activeElements),!1),[i],!1):[i],e.stopPropagation(),!1}})).on(c.files.container,"dragstart",(function(e){if(c.o.moveFile){var n=(0,t.getItem)(e.target,c.container);if(!n)return;o=n}})).on(c.container,"drop",(function(e){return e.preventDefault()}))}},92342:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selfListeners=void 0;var n=o(52784),r=o(74699),i=o(16892),a=o(62614),s=o(67757),l=o(15169),c=o(94634),u=o(54812);t.selfListeners=function(){var e=this,t=this.state,o=this.dataProvider,d=this;d.e.on("view.filebrowser",(function(e){e!==t.view&&(t.view=e)})).on("sort.filebrowser",(function(e){e!==t.sortBy&&(t.sortBy=e,(0,c.loadItems)(d))})).on("filter.filebrowser",(function(e){e!==t.filterWord&&(t.filterWord=e,(0,c.loadItems)(d))})).on("openFolder.filebrowser",(function(e){var t;t=".."===e.name?e.path.split("/").filter((function(e){return e.length})).slice(0,-1).join("/"):(0,i.normalizePath)(e.path,e.name),d.state.currentPath=t,d.state.currentSource="."===e.name?a.DEFAULT_SOURCE_NAME:e.source})).on("removeFolder.filebrowser",(function(e){d.confirm("Are you sure?","Delete",(function(t){t&&o.folderRemove(e.path,e.name,e.source).then((function(e){return d.status(e,!0),(0,l.loadTree)(d)})).catch(d.status)}))})).on("renameFolder.filebrowser",(function(e){d.prompt("Enter new name","Rename",(function(t){if(!(0,r.isValidName)(t))return d.status(d.i18n("Enter new name")),!1;o.folderRename(e.path,e.name,t,e.source).then((function(e){return d.state.activeElements=[],d.status(e,!0),(0,l.loadTree)(d)})).catch(d.status)}),"type name",e.name)})).on("addFolder.filebrowser",(function(e){d.prompt("Enter Directory name","Create directory",(function(t){o.createFolder(t,e.path,e.source).then((function(){return(0,l.loadTree)(d)})).catch(d.status)}),"type name")})).on("fileRemove.filebrowser",(function(){d.state.activeElements.length&&d.confirm("Are you sure?","",(function(e){if(e){var t=[];d.state.activeElements.forEach((function(e){t.push((0,u.deleteFile)(d,e.file||e.name||"",e.sourceName))})),d.state.activeElements=[],Promise.all(t).then((function(){return(0,l.loadTree)(d).catch(d.status)}),d.status)}}))})).on("edit.filebrowser",(function(){if(1===d.state.activeElements.length){var t=n.__read(e.state.activeElements,1)[0];s.openImageEditor.call(d,t.fileURL,t.file||"",t.path,t.sourceName)}})).on("fileRename.filebrowser",(function(e,t,n){1===d.state.activeElements.length&&d.prompt("Enter new name","Rename",(function(i){if(!(0,r.isValidName)(i))return d.status(d.i18n("Enter new name")),!1;o.fileRename(t,e,i,n).then((function(e){d.state.activeElements=[],d.status(e,!0),(0,c.loadItems)(d)})).catch(d.status)}),"type name",e)})).on("update.filebrowser",(function(){(0,l.loadTree)(e).then(e.status,e.status)}))}},16464:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stateListeners=void 0;var n=o(96582),r=o(79029),i=o(98440),a=o(9564),s=o(15169);t.stateListeners=function(){var e=this,t=(0,a.elementsMap)(this),o=this,l=o.state,c=o.files,u=o.create,d=o.options;l.on(["change.currentPath","change.currentSource"],this.async.debounce((function(){e.o.saveStateInStorage&&e.o.saveStateInStorage.storeLastOpenedFolder&&e.storage.set("currentPath",e.state.currentPath).set("currentSource",e.state.currentSource),(0,s.loadTree)(e).catch(e.status)}),this.defaultTimeout)).on("beforeChange.activeElements",(function(){l.activeElements.forEach((function(e){var o=t[e.uniqueHashKey].elm;o&&o.classList.remove(c.getFullElName("item","active",!0))}))})).on("change.activeElements",(function(){e.e.fire("changeSelection"),l.activeElements.forEach((function(e){var o=t[e.uniqueHashKey].elm;o&&o.classList.add(c.getFullElName("item","active",!0))}))})).on("change.view",(function(){c.setMod("view",l.view),e.o.saveStateInStorage&&e.o.saveStateInStorage.storeView&&e.storage.set("view",l.view)})).on("change.sortBy",(function(){e.o.saveStateInStorage&&e.o.saveStateInStorage.storeSortBy&&e.storage.set("sortBy",l.sortBy)})).on("change.elements",this.async.debounce((function(){n.Dom.detach(c.container),l.elements.length?l.elements.forEach((function(o){e.files.container.appendChild(function(o){var n=o.uniqueHashKey;if(t[n])return t[n].elm;var r=u.fromHTML(d.getThumbTemplate.call(e,o,o.source,o.sourceName.toString()));return r.dataset.key=n,t[n]={item:o,elm:r},t[n].elm}(o))})):c.container.appendChild(u.div(e.componentName+"_no-files_true",e.i18n("There are no files")))}),this.defaultTimeout)).on("change.sources",this.async.debounce((function(){n.Dom.detach(e.tree.container),l.sources.forEach((function(t){var o=t.name;if(o&&"default"!==o&&e.tree.container.appendChild(u.div(e.tree.getFullElName("source-title"),o)),t.folders.forEach((function(n){var a,s=u.a(e.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":(0,r.normalizePath)(t.path,n+"/"),"data-name":n,"data-source":o,"data-source-path":t.path},u.span(e.tree.getFullElName("item-title"),n)),l=function(i){return function(a){e.e.fire("".concat(i,".filebrowser"),{name:n,path:(0,r.normalizePath)(t.path+"/"),source:o}),a.stopPropagation(),a.preventDefault()}};e.e.on(s,"click",l("openFolder")),e.tree.container.appendChild(s),".."!==n&&"."!==n&&(d.renameFolder&&e.dataProvider.canI("FolderRename")&&((a=(0,i.Button)(e,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"})).onAction(l("renameFolder")),s.appendChild(a.container)),d.deleteFolder&&e.dataProvider.canI("FolderRemove")&&((a=(0,i.Button)(e,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"})).onAction(l("removeFolder")),s.appendChild(a.container)))})),d.createNewFolder&&e.dataProvider.canI("FolderCreate")){var n=(0,i.Button)(e,"plus","Add folder","secondary");n.onAction((function(){e.e.fire("addFolder",{path:(0,r.normalizePath)(t.path+"/"),source:o})})),e.tree.append(n)}}))}),this.defaultTimeout))}},57331:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileBrowserFiles=void 0;var n=o(52784);o(76519);var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.className=function(){return"FilebrowserFiles"},t}(o(98440).UIGroup);t.FileBrowserFiles=r},90416:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(57331),t),n.__exportStar(o(70981),t)},70981:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileBrowserTree=void 0;var n=o(52784);o(58188);var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.className=function(){return"FilebrowserTree"},t}(o(98440).UIGroup);t.FileBrowserTree=r},13561:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Command=void 0;var o=function(){function e(e,t,o,n){this.oldValue=e,this.newValue=t,this.history=o,this.tick=n}return e.prototype.undo=function(){this.history.snapshot.restore(this.oldValue)},e.prototype.redo=function(){this.history.snapshot.restore(this.newValue)},e}();t.Command=o},37369:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.History=void 0;var n=o(52784),r=o(733),i=o(68311),a=o(4866),s=o(54138),l=o(13561),c=o(51923);r.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3},r.Config.prototype.observer=r.Config.prototype.history;var u=function(e){function t(t,o,n){void 0===o&&(o=new s.Stack(t.o.history.maxHistoryLength)),void 0===n&&(n=new a.Snapshot(t));var r=e.call(this,t)||this;return r.updateTick=0,r.__stack=o,r.snapshot=n,t.o.history.enable&&t.e.on("afterAddPlace.history",(function(){r.isInDestruct||(r.startValue=r.snapshot.make(),t.events.on("internalChange internalUpdate",(function(){r.startValue=r.snapshot.make()})).on(t.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map((function(e){return e+".history"})).join(" "),(function(){r.startValue.html===r.j.getNativeEditorValue()&&(r.startValue=r.snapshot.make())})).on(r,"change.history",r.onChange))})),r}return n.__extends(t,e),t.prototype.className=function(){return"History"},Object.defineProperty(t.prototype,"startValue",{get:function(){return this.__startValue},set:function(e){this.__startValue=e},enumerable:!1,configurable:!0}),t.prototype.__upTick=function(){this.updateTick+=1},t.prototype.onChange=function(){this.__processChanges()},t.prototype.__processChanges=function(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()},t.prototype.updateStack=function(e){void 0===e&&(e=!1);var t=this.snapshot.make();if(!a.Snapshot.equal(t,this.startValue)){var o=new l.Command(this.startValue,t,this,this.updateTick);if(e){var n=this.__stack.current();n&&this.updateTick===n.tick&&this.__stack.replace(o)}else this.__stack.push(o);this.startValue=t,this.fireChangeStack()}},t.prototype.redo=function(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())},t.prototype.canRedo=function(){return this.__stack.canRedo()},t.prototype.undo=function(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())},t.prototype.canUndo=function(){return this.__stack.canUndo()},t.prototype.clear=function(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()},Object.defineProperty(t.prototype,"length",{get:function(){return this.__stack.length},enumerable:!1,configurable:!0}),t.prototype.fireChangeStack=function(){var e;this.j&&!this.j.isInDestruct&&(null===(e=this.j.events)||void 0===e||e.fire("changeStack"))},t.prototype.destruct=function(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),e.prototype.destruct.call(this))},n.__decorate([(0,c.debounce)()],t.prototype,"onChange",null),t}(i.ViewComponent);t.History=u},4866:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snapshot=void 0;var n=o(52784),r=o(68311),i=o(96582),a=o(49940),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.__isBlocked=!1,t}return n.__extends(t,e),t.prototype.className=function(){return"Snapshot"},t.equal=function(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)},t.countNodesBeforeInParent=function(e){if(!e.parentNode)return 0;for(var t=e.parentNode.childNodes,o=0,n=null,r=0;t.length>r;r+=1){if(!n||this.isIgnoredNode(t[r])||i.Dom.isText(n)&&i.Dom.isText(t[r])||(o+=1),t[r]===e)return o;n=t[r]}return 0},t.strokeOffset=function(e,t){for(;i.Dom.isText(e);)i.Dom.isText(e=e.previousSibling)&&e.nodeValue&&(t+=e.nodeValue.length);return t},t.prototype.calcHierarchyLadder=function(e){var o=[];if(!e||!e.parentNode||!i.Dom.isOrContains(this.j.editor,e))return[];for(;e&&e!==this.j.editor;)e&&!t.isIgnoredNode(e)&&o.push(t.countNodesBeforeInParent(e)),e=e.parentNode;return o.reverse()},t.prototype.getElementByLadder=function(e){var t,o=this.j.editor;for(t=0;o&&e.length>t;t+=1)o=o.childNodes[e[t]];return o},Object.defineProperty(t.prototype,"isBlocked",{get:function(){return this.__isBlocked},enumerable:!1,configurable:!0}),t.prototype.__block=function(e){this.__isBlocked=e},t.prototype.transaction=function(e){this.__block(!0);try{e()}catch(e){}this.__block(!1)},t.prototype.make=function(){var e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.removeJoditSelection(this.j.editor);var o=this.j.s.sel;if(o&&o.rangeCount){var n=o.getRangeAt(0),r=this.calcHierarchyLadder(n.startContainer),i=this.calcHierarchyLadder(n.endContainer),a=t.strokeOffset(n.startContainer,n.startOffset),s=t.strokeOffset(n.endContainer,n.endOffset);r.length||n.startContainer===this.j.editor||(a=0),i.length||n.endContainer===this.j.editor||(s=0),e.range={startContainer:r,startOffset:a,endContainer:i,endOffset:s}}return e},t.prototype.restore=function(e){var t=this;this.transaction((function(){var o=t.storeScrollState();t.j.getNativeEditorValue()!==e.html&&(t.j.value=e.html),t.restoreOnlySelection(e),t.restoreScrollState(o)}))},t.prototype.storeScrollState=function(){return[this.j.ow.scrollY,this.j.editor.scrollTop]},t.prototype.restoreScrollState=function(e){var t=this.j,o=t.ow;o.scrollTo(o.scrollX,e[0]),t.editor.scrollTop=e[1]},t.prototype.restoreOnlySelection=function(e){try{if(e.range){var t=this.j.ed.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.j.s.selectRange(t)}}catch(e){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild)}},t.prototype.destruct=function(){this.__block(!1),e.prototype.destruct.call(this)},t.isIgnoredNode=function(e){return i.Dom.isText(e)&&!e.nodeValue||i.Dom.isTemporary(e)},t.prototype.removeJoditSelection=function(e){var t=e.cloneNode(!0);return t.querySelectorAll("[".concat(a.TEMP_ATTR,"]")).forEach(i.Dom.unwrap),t.innerHTML},t}(r.ViewComponent);t.Snapshot=s},54138:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=void 0;var o=function(){function e(e){this.size=e,this.commands=[],this.stackPosition=-1}return Object.defineProperty(e.prototype,"length",{get:function(){return this.commands.length},enumerable:!1,configurable:!0}),e.prototype.clearRedo=function(){this.commands.length=this.stackPosition+1},e.prototype.clear=function(){this.commands.length=0,this.stackPosition=-1},e.prototype.push=function(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)},e.prototype.replace=function(e){this.commands[this.stackPosition]=e},e.prototype.current=function(){return this.commands[this.stackPosition]},e.prototype.undo=function(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)},e.prototype.redo=function(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)},e.prototype.canUndo=function(){return this.stackPosition>=0},e.prototype.canRedo=function(){return this.commands.length-1>this.stackPosition},e}();t.Stack=o},38682:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},r.Icon.set("crop",o(41563)).set("resize",o(66297))},67757:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openImageEditor=t.ImageEditor=void 0;var n=o(52784);o(62731);var r=o(733),i=o(68311),a=o(16892),s=o(96582),l=o(24697),c=o(93658),u=o(51923);o(38682);var d="jodit-image-editor",p="resize",f="crop",h=function(e){function t(t){var n=e.call(this,t)||this;n.resizeUseRatio=!0,n.cropUseRatio=!0,n.clicked=!1,n.start_x=0,n.start_y=0,n.top_x=0,n.top_y=0,n.width=0,n.height=0,n.activeTab=p,n.naturalWidth=0,n.naturalHeight=0,n.ratio=0,n.new_h=0,n.new_w=0,n.diff_x=0,n.diff_y=0,n.cropBox={x:0,y:0,w:0,h:0},n.resizeBox={w:0,h:0},n.calcCropBox=function(){var e=n.crop_box.parentNode,t=.8*e.offsetWidth,o=.8*e.offsetHeight,r=t,i=o,s=n.naturalWidth,l=n.naturalHeight;t>s&&o>l?(r=s,i=l):n.ratio>t/o?(r=t,i=l*(t/s)):(r=s*(o/l),i=o),(0,a.css)(n.crop_box,{width:r,height:i})},n.showCrop=function(){if(n.cropImage){n.calcCropBox();var e=n.cropImage.offsetWidth||n.image.offsetWidth||n.image.naturalWidth;n.new_w=o.calcValueByPercent(e,n.o.cropDefaultWidth);var t=n.cropImage.offsetHeight||n.image.offsetHeight||n.image.naturalHeight;n.new_h=n.cropUseRatio?n.new_w/n.ratio:o.calcValueByPercent(t,n.o.cropDefaultHeight),(0,a.css)(n.cropHandler,{backgroundImage:"url("+(0,a.attr)(n.cropImage,"src")+")",width:n.new_w,height:n.new_h,left:e/2-n.new_w/2,top:t/2-n.new_h/2}),n.j.e.fire(n.cropHandler,"updatesize")}},n.updateCropBox=function(){if(n.cropImage){var e=n.cropImage.offsetWidth/n.naturalWidth,t=n.cropImage.offsetHeight/n.naturalHeight;n.cropBox.x=(0,a.css)(n.cropHandler,"left")/e,n.cropBox.y=(0,a.css)(n.cropHandler,"top")/t,n.cropBox.w=n.cropHandler.offsetWidth/e,n.cropBox.h=n.cropHandler.offsetHeight/t,n.sizes.textContent=n.cropBox.w.toFixed(0)+"x"+n.cropBox.h.toFixed(0)}},n.updateResizeBox=function(){n.resizeBox.w=n.image.offsetWidth||n.naturalWidth,n.resizeBox.h=n.image.offsetHeight||n.naturalHeight},n.setHandlers=function(){var e=n,t=(0,a.refs)(n.editor),o=t.widthInput,r=t.heightInput;e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown.".concat(d),n.onResizeHandleMouseDown).on(n.j.ow,"resize.".concat(d),(function(){n.j.e.fire(e.resizeHandler,"updatesize"),e.showCrop(),n.j.e.fire(e.cropHandler,"updatesize")})),e.j.e.on((0,a.toArray)(n.editor.querySelectorAll(".".concat(d,"__slider-title"))),"click",n.onTitleModeClick).on([o,r],"input",n.onChangeSizeInput);var i=(0,a.refs)(n.editor),s=i.keepAspectRatioResize,l=i.keepAspectRatioCrop;s&&s.addEventListener("change",(function(){n.resizeUseRatio=s.checked})),l&&l.addEventListener("change",(function(){n.cropUseRatio=l.checked})),e.j.e.on(e.resizeHandler,"updatesize",(function(){(0,a.css)(e.resizeHandler,{top:0,left:0,width:e.image.offsetWidth||e.naturalWidth,height:e.image.offsetHeight||e.naturalHeight}),n.updateResizeBox()})).on(e.cropHandler,"updatesize",(function(){if(e.cropImage){var t=(0,a.css)(e.cropHandler,"left"),o=(0,a.css)(e.cropHandler,"top"),n=e.cropHandler.offsetWidth,r=e.cropHandler.offsetHeight;0>t&&(t=0),0>o&&(o=0),t+n>e.cropImage.offsetWidth&&(n=e.cropImage.offsetWidth-t,e.cropUseRatio&&(r=n/e.ratio)),o+r>e.cropImage.offsetHeight&&(r=e.cropImage.offsetHeight-o,e.cropUseRatio&&(n=r*e.ratio)),(0,a.css)(e.cropHandler,{width:n,height:r,left:t,top:o,backgroundPosition:-t-1+"px "+(-o-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}})),Object.values(e.buttons).forEach((function(t){t.onAction((function(){var n={action:e.activeTab,box:e.activeTab===p?e.resizeBox:e.cropBox};switch(t){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",(function(t){if(!(0,a.trim)(t))return e.j.alert("The name should not be empty"),!1;e.onSave(t,n,e.hide,(function(t){e.j.alert(t.message)}))}));break;case e.buttons.save:e.onSave(void 0,n,e.hide,(function(t){e.j.alert(t.message)}));break;case e.buttons.reset:e.activeTab===p?((0,a.css)(e.image,{width:null,height:null}),o.value=e.naturalWidth.toString(),r.value=e.naturalHeight.toString(),e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}}))}))},n.options=t&&t.o&&t.o.imageeditor?t.o.imageeditor:r.Config.defaultOptions.imageeditor;var i=n.options;n.resizeUseRatio=i.resizeUseRatio,n.cropUseRatio=i.cropUseRatio,n.buttons={reset:(0,l.Button)(n.j,"update","Reset"),save:(0,l.Button)(n.j,"save","Save"),saveas:(0,l.Button)(n.j,"save","Save as ...")},n.activeTab=i.resize?p:f,n.editor=(0,c.form)(n.j,n.options);var s=(0,a.refs)(n.editor),u=s.cropBox;return n.resize_box=s.resizeBox,n.crop_box=u,n.sizes=n.editor.querySelector(".".concat(d,"__area.").concat(d,"__area_crop .jodit-image-editor__sizes")),n.resizeHandler=n.editor.querySelector(".".concat(d,"__resizer")),n.cropHandler=n.editor.querySelector(".".concat(d,"__croper")),n._dialog=n.j.dlg({buttons:["fullsize","dialog.close"]}),n._dialog.setContent(n.editor),n._dialog.setSize(n.o.width,n.o.height),n._dialog.setHeader([n.buttons.reset,n.buttons.save,n.buttons.saveas]),n.setHandlers(),n}var o;return n.__extends(t,e),o=t,t.prototype.className=function(){return"ImageEditor"},t.prototype.onTitleModeClick=function(e){var t=this,o=e.target,n=null==o?void 0:o.parentElement;if(n){(0,a.$$)(".".concat(d,"__slider,.").concat(d,"__area"),t.editor).forEach((function(e){return e.classList.remove("".concat(d,"_active"))})),n.classList.add("".concat(d,"_active")),this.activeTab=(0,a.attr)(n,"-area")||p;var r=t.editor.querySelector(".".concat(d,"__area.").concat(d,"__area_")+t.activeTab);r&&r.classList.add("".concat(d,"_active")),t.activeTab===f&&t.showCrop()}},t.prototype.onChangeSizeInput=function(e){var t,o=this,n=e.target,r=(0,a.refs)(this.editor),i=r.widthInput,s=r.heightInput,l="widthInput"===(0,a.attr)(n,"data-ref"),c=parseInt(n.value,10),u=l?o.o.min_height:o.o.min_width;c>(l?o.o.min_width:o.o.min_height)&&((0,a.css)(o.image,l?"width":"height",c),o.resizeUseRatio&&(t=l?Math.round(c/o.ratio):Math.round(c*o.ratio))>u&&((0,a.css)(o.image,l?"height":"width",t),l?s.value=t.toString():i.value=t.toString())),this.j.e.fire(o.resizeHandler,"updatesize")},t.prototype.onResizeHandleMouseDown=function(e){var t=this;t.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),t.clicked=!0,t.start_x=e.clientX,t.start_y=e.clientY,t.activeTab===f?(t.top_x=(0,a.css)(t.cropHandler,"left"),t.top_y=(0,a.css)(t.cropHandler,"top"),t.width=t.cropHandler.offsetWidth,t.height=t.cropHandler.offsetHeight):(t.width=t.image.offsetWidth,t.height=t.image.offsetHeight),t.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)},t.prototype.onGlobalMouseUp=function(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))},t.prototype.onGlobalMouseMove=function(e){var t=this;if(t.clicked){var o=(0,a.refs)(this.editor),n=o.widthInput,r=o.heightInput;t.diff_x=e.clientX-t.start_x,t.diff_y=e.clientY-t.start_y,t.activeTab===p&&t.resizeUseRatio||t.activeTab===f&&t.cropUseRatio?t.diff_x?(t.new_w=t.width+t.diff_x,t.new_h=Math.round(t.new_w/t.ratio)):(t.new_h=t.height+t.diff_y,t.new_w=Math.round(t.new_h*t.ratio)):(t.new_w=t.width+t.diff_x,t.new_h=t.height+t.diff_y),t.activeTab===p?(t.new_w>t.o.resizeMinWidth&&((0,a.css)(t.image,"width",t.new_w+"px"),n.value=t.new_w.toString()),t.new_h>t.o.resizeMinHeight&&((0,a.css)(t.image,"height",t.new_h+"px"),r.value=t.new_h.toString()),this.j.e.fire(t.resizeHandler,"updatesize")):(t.target!==t.cropHandler?(t.top_x+t.new_w>t.cropImage.offsetWidth&&(t.new_w=t.cropImage.offsetWidth-t.top_x),t.top_y+t.new_h>t.cropImage.offsetHeight&&(t.new_h=t.cropImage.offsetHeight-t.top_y),(0,a.css)(t.cropHandler,{width:t.new_w,height:t.new_h})):(t.top_x+t.diff_x+t.cropHandler.offsetWidth>t.cropImage.offsetWidth&&(t.diff_x=t.cropImage.offsetWidth-t.top_x-t.cropHandler.offsetWidth),(0,a.css)(t.cropHandler,"left",t.top_x+t.diff_x),t.top_y+t.diff_y+t.cropHandler.offsetHeight>t.cropImage.offsetHeight&&(t.diff_y=t.cropImage.offsetHeight-t.top_y-t.cropHandler.offsetHeight),(0,a.css)(t.cropHandler,"top",t.top_y+t.diff_y)),this.j.e.fire(t.cropHandler,"updatesize"))}},Object.defineProperty(t.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),t.prototype.hide=function(){this._dialog.close()},t.prototype.open=function(e,t){var o=this;return this.j.async.promise((function(n){var r=(new Date).getTime();o.image=o.j.c.element("img"),(0,a.$$)("img,.jodit-icon_loader",o.resize_box).forEach(s.Dom.safeRemove),(0,a.$$)("img,.jodit-icon_loader",o.crop_box).forEach(s.Dom.safeRemove),(0,a.css)(o.cropHandler,"background","transparent"),o.onSave=t,o.resize_box.appendChild(o.j.c.element("i",{class:"jodit-icon_loader"})),o.crop_box.appendChild(o.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(e)?e+="&_tst="+r:e+="?_tst="+r,o.image.setAttribute("src",e),o._dialog.open();var i=(0,a.refs)(o.editor),l=i.widthInput,c=i.heightInput,u=function(){o.isDestructed||(o.image.removeEventListener("load",u),o.naturalWidth=o.image.naturalWidth,o.naturalHeight=o.image.naturalHeight,l.value=o.naturalWidth.toString(),c.value=o.naturalHeight.toString(),o.ratio=o.naturalWidth/o.naturalHeight,o.resize_box.appendChild(o.image),o.cropImage=o.image.cloneNode(!0),o.crop_box.appendChild(o.cropImage),s.Dom.safeRemove.apply(null,(0,a.$$)(".jodit-icon_loader",o.editor)),o.activeTab===f&&o.showCrop(),o.j.e.fire(o.resizeHandler,"updatesize"),o.j.e.fire(o.cropHandler,"updatesize"),o._dialog.setPosition(),o.j.e.fire("afterImageEditor"),n(o._dialog))};o.image.addEventListener("load",u),o.image.complete&&u()}))},t.prototype.destruct=function(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),s.Dom.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,".".concat(d)).off(".".concat(d)),e.prototype.destruct.call(this))},t.calcValueByPercent=function(e,t){var o,n=t.toString(),r=parseFloat(e.toString());return(o=/^[-+]?[0-9]+(px)?$/.exec(n))?parseInt(n,10):(o=/^([-+]?[0-9.]+)%$/.exec(n))?Math.round(r*(parseFloat(o[1])/100)):r||0},n.__decorate([u.autobind],t.prototype,"onTitleModeClick",null),n.__decorate([(0,u.debounce)(),u.autobind],t.prototype,"onChangeSizeInput",null),n.__decorate([u.autobind],t.prototype,"onResizeHandleMouseDown",null),n.__decorate([u.autobind],t.prototype,"onGlobalMouseUp",null),n.__decorate([(0,u.throttle)(10)],t.prototype,"onGlobalMouseMove",null),n.__decorate([u.autobind],t.prototype,"hide",null),n.__decorate([u.autobind],t.prototype,"open",null),o=n.__decorate([u.component],t)}(i.ViewComponent);t.ImageEditor=h,t.openImageEditor=function(e,t,o,n,r,i){var s=this;return this.getInstance("ImageEditor",this.o).open(e,(function(e,l,c,u){return(0,a.call)("resize"===l.action?s.dataProvider.resize:s.dataProvider.crop,o,n,t,e,l.box).then((function(e){e&&(c(),r&&r())})).catch((function(e){u(e),i&&i(e)}))}))}},93658:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.form=void 0;var n=o(98440),r="jodit-image-editor",i=n.Icon.get.bind(n.Icon),a=function(e,t){return void 0===t&&(t="jodti-image-editor_active"),e?t:""};t.form=function(e,t){var o=e.i18n.bind(e),n=function(e,t,n){return void 0===n&&(n=!0),'<div class="jodit-form__group">\n\t\t\t<label>'.concat(o(e),"</label>\n\n\t\t\t<label class='jodit-switcher'>\n\t\t\t\t<input ").concat(a(n,"checked"),' data-ref="').concat(t,'" type="checkbox"/>\n\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t</label>\n\t</div>')};return e.create.fromHTML('<form class="'.concat(r,' jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-3-4 jodit_col-sm-5-5">\n\t\t\t').concat(t.resize?'<div class="'.concat(r,"__area ").concat(r,"__area_resize ").concat(r,'_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="').concat(r,'__box"></div>\n\t\t\t\t\t\t\t<div class="').concat(r,'__resizer">\n\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"","\n\t\t\t").concat(t.crop?'<div class="'.concat(r,"__area ").concat(r,"__area_crop ").concat(a(!t.resize),'">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="').concat(r,'__box">\n\t\t\t\t\t\t\t\t<div class="').concat(r,'__croper">\n\t\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t\t\t<i class="').concat(r,'__sizes"></i>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"",'\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-1-4 jodit_col-sm-5-5">\n\t\t\t').concat(t.resize?'<div data-area="resize" class="'.concat(r,"__slider ").concat(r,'_active">\n\t\t\t\t\t\t\t<div class="').concat(r,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(i("resize"),"\n\t\t\t\t\t\t\t\t").concat(o("Resize"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(r,'__slider-content">\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(o("Width"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="widthInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(o("Height"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="heightInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t').concat(n("Keep Aspect Ratio","keepAspectRatioResize"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t").concat(t.crop?'<div data-area="crop" class="'.concat(r,"__slider ").concat(a(!t.resize),'\'">\n\t\t\t\t\t\t\t<div class="').concat(r,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(i("crop"),"\n\t\t\t\t\t\t\t\t").concat(o("Crop"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(r,'__slider-content">\n\t\t\t\t\t\t\t\t').concat(n("Keep Aspect Ratio","keepAspectRatioCrop"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t</div>\n\t\t</div>\n\t</form>"))}},71910:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluginSystem=t.UIMessages=t.Uploader=t.ToolbarCollection=t.ToolbarEditorCollection=t.Table=t.StatusBar=t.CommitStyle=t.Select=t.Snapshot=t.History=t.ImageEditor=t.Helpers=t.ViewWithToolbar=t.View=t.Icon=t.ProgressBar=t.UIBlock=t.UICheckbox=t.UITextArea=t.UIInput=t.UIForm=t.UIList=t.UIGroup=t.UISeparator=t.Popup=t.UIButton=t.UIElement=t.Create=t.Plugin=t.LazyWalker=t.Dom=t.ContextMenu=t.STATUSES=t.ViewComponent=t.Component=t.Async=void 0;var n=o(52784);n.__exportStar(o(57083),t);var r=o(94184);Object.defineProperty(t,"Async",{enumerable:!0,get:function(){return r.Async}}),n.__exportStar(o(42239),t);var i=o(68311);Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return i.Component}}),Object.defineProperty(t,"ViewComponent",{enumerable:!0,get:function(){return i.ViewComponent}}),Object.defineProperty(t,"STATUSES",{enumerable:!0,get:function(){return i.STATUSES}});var a=o(23853);Object.defineProperty(t,"ContextMenu",{enumerable:!0,get:function(){return a.ContextMenu}}),n.__exportStar(o(74353),t);var s=o(96582);Object.defineProperty(t,"Dom",{enumerable:!0,get:function(){return s.Dom}}),Object.defineProperty(t,"LazyWalker",{enumerable:!0,get:function(){return s.LazyWalker}});var l=o(43464);Object.defineProperty(t,"Plugin",{enumerable:!0,get:function(){return l.Plugin}});var c=o(18319);Object.defineProperty(t,"Create",{enumerable:!0,get:function(){return c.Create}});var u=o(98440);Object.defineProperty(t,"UIElement",{enumerable:!0,get:function(){return u.UIElement}}),Object.defineProperty(t,"UIButton",{enumerable:!0,get:function(){return u.UIButton}}),Object.defineProperty(t,"Popup",{enumerable:!0,get:function(){return u.Popup}}),Object.defineProperty(t,"UISeparator",{enumerable:!0,get:function(){return u.UISeparator}}),Object.defineProperty(t,"UIGroup",{enumerable:!0,get:function(){return u.UIGroup}}),Object.defineProperty(t,"UIList",{enumerable:!0,get:function(){return u.UIList}}),Object.defineProperty(t,"UIForm",{enumerable:!0,get:function(){return u.UIForm}}),Object.defineProperty(t,"UIInput",{enumerable:!0,get:function(){return u.UIInput}}),Object.defineProperty(t,"UITextArea",{enumerable:!0,get:function(){return u.UITextArea}}),Object.defineProperty(t,"UICheckbox",{enumerable:!0,get:function(){return u.UICheckbox}}),Object.defineProperty(t,"UIBlock",{enumerable:!0,get:function(){return u.UIBlock}}),Object.defineProperty(t,"ProgressBar",{enumerable:!0,get:function(){return u.ProgressBar}}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return u.Icon}});var d=o(9e3);Object.defineProperty(t,"View",{enumerable:!0,get:function(){return d.View}});var p=o(78063);Object.defineProperty(t,"ViewWithToolbar",{enumerable:!0,get:function(){return p.ViewWithToolbar}}),n.__exportStar(o(23827),t);var f=o(16892);t.Helpers=f;var h=o(67757);Object.defineProperty(t,"ImageEditor",{enumerable:!0,get:function(){return h.ImageEditor}});var m=o(37369);Object.defineProperty(t,"History",{enumerable:!0,get:function(){return m.History}});var v=o(4866);Object.defineProperty(t,"Snapshot",{enumerable:!0,get:function(){return v.Snapshot}});var g=o(60039);Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return g.Select}}),Object.defineProperty(t,"CommitStyle",{enumerable:!0,get:function(){return g.CommitStyle}});var y=o(5287);Object.defineProperty(t,"StatusBar",{enumerable:!0,get:function(){return y.StatusBar}});var b=o(91980);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return b.Table}});var _=o(63314);Object.defineProperty(t,"ToolbarEditorCollection",{enumerable:!0,get:function(){return _.ToolbarEditorCollection}});var w=o(70141);Object.defineProperty(t,"ToolbarCollection",{enumerable:!0,get:function(){return w.ToolbarCollection}}),n.__exportStar(o(41581),t);var S=o(99509);Object.defineProperty(t,"Uploader",{enumerable:!0,get:function(){return S.Uploader}});var C=o(67963);Object.defineProperty(t,"UIMessages",{enumerable:!0,get:function(){return C.UIMessages}});var j=o(52666);Object.defineProperty(t,"PluginSystem",{enumerable:!0,get:function(){return j.PluginSystem}})},62564:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIMessage=void 0;var n=o(52784),r=o(98440),i=o(9119),a=function(e){function t(t,o){var n=e.call(this,t)||this;return n.setMod("active",!0),n.setMod("variant",o.variant),n.container.textContent=o.text,n}return n.__extends(t,e),t.prototype.className=function(){return"UIMessage"},n.__decorate([i.component],t)}(r.UIElement);t.UIMessage=a},67963:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIMessages=void 0;var n=o(52784);o(66177);var r=o(21714),i=o(12465),a=o(9119),s=o(31501),l=o(16892),c=o(62564),u=function(e){function t(t,o){void 0===o&&(o={defaultTimeout:3e3,defaultOffset:5});var n=e.call(this,t)||this;return n.options=o,n.__messages=new Set,n}return n.__extends(t,e),t.prototype.className=function(){return"UIMessages"},t.prototype.info=function(e,t){this.__message(e,"info",t)},t.prototype.success=function(e,t){this.__message(e,"success",t)},t.prototype.error=function(e,t){this.__message(e,"error",t)},t.prototype.message=function(e,t,o){this.__message(e,t,o)},t.prototype.__message=function(e,t,o){void 0===t&&(t="info");var n=e+":"+t;if(this.__messages.has(n))this.async.updateTimeout(n,o||this.options.defaultTimeout);else{var r=this.j;(0,l.isJoditObject)(r)?r.workplace.appendChild(this.container):r.container.appendChild(this.container);var i=new c.UIMessage(this.j,{text:e,variant:t});this.append(i),this.__calcOffsets(),this.__messages.add(n);var a=this.__getRemoveCallback(i,n);this.j.e.on(i.container,"pointerdown",a),this.async.setTimeout(a,{label:n,timeout:o||this.options.defaultTimeout})}},t.prototype.__getRemoveCallback=function(e,t){var o=this,n=function(r){r&&r.preventDefault(),e.isInDestruct||(o.async.clearTimeout(t),o.j.e.off(e.container,"pointerdown",n),o.__messages.delete(t),e.setMod("active",!1),o.async.setTimeout((function(){o.remove(e),e.destruct(),o.__calcOffsets()}),300))};return n},t.prototype.__calcOffsets=function(){var e=this,t=5;this.elements.forEach((function(o){(0,r.css)(o.container,"bottom",t+"px"),t+=o.container.offsetHeight+e.options.defaultOffset}))},n.__decorate([(0,s.watch)(":errorMessage")],t.prototype,"__message",null),n.__decorate([a.component],t)}(i.UIGroup);t.UIMessages=u},5287:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBar=void 0;var n=o(52784);o(4741);var r=o(68311),i=o(96582),a=o(38017),s=o(51923),l=function(e){function t(t,o){var n=e.call(this,t)||this;return n.target=o,n.mods={},n.container=t.c.div("jodit-status-bar"),o.appendChild(n.container),n.hide(),n}return n.__extends(t,e),t.prototype.className=function(){return"StatusBar"},t.prototype.hide=function(){this.container.classList.add("jodit_hidden")},t.prototype.show=function(){this.container.classList.remove("jodit_hidden")},Object.defineProperty(t.prototype,"isShown",{get:function(){return!this.container.classList.contains("jodit_hidden")},enumerable:!1,configurable:!0}),t.prototype.getHeight=function(){var e,t;return null!==(t=null===(e=this.container)||void 0===e?void 0:e.offsetHeight)&&void 0!==t?t:0},t.prototype.findEmpty=function(e){void 0===e&&(e=!1);for(var t=this.getElms(e?"item-right":"item"),o=0;t.length>o;o+=1)if(!t[o].innerHTML.trim().length)return t[o]},t.prototype.append=function(e,t){var o;void 0===t&&(t=!1);var n=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&n.classList.add(this.getFullElName("item-right")),n.appendChild(e),null===(o=this.container)||void 0===o||o.appendChild(n),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")},t.prototype.destruct=function(){this.isInDestruct||(this.setStatus(r.STATUSES.beforeDestruct),i.Dom.safeRemove(this.container),e.prototype.destruct.call(this))},n.__decorate([s.component,(0,s.derive)(a.Mods,a.Elms)],t)}(r.ViewComponent);t.StatusBar=l},91980:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Table=void 0;var n=o(52784),r=o(49940),i=o(96582),a=o(16892),s=o(68311),l=o(58706),c=o(51923),u=new WeakMap,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=new Set,t}return n.__extends(t,e),t.prototype.className=function(){return"Table"},t.prototype.recalculateStyles=function(){var e=(0,l.getContainer)(this.j,t,"style",!0),o=[];this.selected.forEach((function(e){var t=(0,a.cssPath)(e);t&&o.push(t)})),e.innerHTML=o.length?o.join(",")+"{".concat(this.jodit.options.table.selectionCellStyle,"}"):""},t.prototype.addSelection=function(e){this.selected.add(e),this.recalculateStyles();var o=i.Dom.closest(e,"table",this.j.editor);if(o){var n=t.selectedByTable.get(o)||new Set;n.add(e),t.selectedByTable.set(o,n)}},t.prototype.removeSelection=function(e){this.selected.delete(e),this.recalculateStyles();var o=i.Dom.closest(e,"table",this.j.editor);if(o){var n=t.selectedByTable.get(o);n&&(n.delete(e),n.size||t.selectedByTable.delete(o))}},t.prototype.getAllSelectedCells=function(){return(0,a.toArray)(this.selected)},t.getSelectedCellsByTable=function(e){var o=t.selectedByTable.get(e);return o?(0,a.toArray)(o):[]},t.prototype.destruct=function(){return this.selected.clear(),e.prototype.destruct.call(this)},t.getRowsCount=function(e){return e.rows.length},t.getColumnsCount=function(e){return t.formalMatrix(e).reduce((function(e,t){return Math.max(e,t.length)}),0)},t.formalMatrix=function(e,t){for(var o=[[]],n=(0,a.toArray)(e.rows),r=function(e,n){void 0===o[n]&&(o[n]=[]);for(var r,i,a=e.colSpan,s=e.rowSpan,l=0;o[n][l];)l+=1;for(i=0;s>i;i+=1)for(r=0;a>r;r+=1){if(void 0===o[n+i]&&(o[n+i]=[]),t&&!1===t(e,n+i,l+r,a,s))return!1;o[n+i][l+r]=e}},i=0;n.length>i;i+=1)for(var s=(0,a.toArray)(n[i].cells),l=0;s.length>l;l+=1)if(!1===r(s[l],i))return o;return o},t.formalCoordinate=function(e,o,n){void 0===n&&(n=!1);var r=0,i=0,a=1,s=1;return t.formalMatrix(e,(function(e,t,l,c,u){if(o===e)return r=t,i=l,a=c||1,s=u||1,n&&(i+=(c||1)-1,r+=(u||1)-1),!1})),[r,i,a,s]},t.appendRow=function(e,o,n,r){var i,s;if(o)s=o.cloneNode(!0),(0,a.$$)("td,th",o).forEach((function(e){var t=(0,a.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){var o=parseInt(t,10)-1;(0,a.attr)(e,"rowspan",o>1?o:null)}})),(0,a.$$)("td,th",s).forEach((function(e){e.innerHTML=""}));else{var l=t.getColumnsCount(e);s=r.element("tr");for(var c=0;l>c;c+=1)s.appendChild(r.element("td"))}n&&o&&o.nextSibling?o.parentNode&&o.parentNode.insertBefore(s,o.nextSibling):!n&&o?o.parentNode&&o.parentNode.insertBefore(s,o):((null===(i=e.getElementsByTagName("tbody"))||void 0===i?void 0:i[0])||e).appendChild(s)},t.removeRow=function(e,o){var n,r=t.formalMatrix(e),s=e.rows[o];r[o].forEach((function(t,l){if(n=!1,0>o-1||r[o-1][l]!==t)if(r[o+1]&&r[o+1][l]===t){if(t.parentNode===s&&t.parentNode.nextSibling){n=!0;for(var c=l+1;r[o+1][c]===t;)c+=1;var u=i.Dom.next(t.parentNode,(function(e){return i.Dom.isTag(e,"tr")}),e);u&&(r[o+1][c]?u.insertBefore(t,r[o+1][c]):u.appendChild(t))}}else i.Dom.safeRemove(t);else n=!0;if(n&&(t.parentNode===s||t!==r[o][l-1])){var d=t.rowSpan;(0,a.attr)(t,"rowspan",d-1>1?d-1:null)}})),i.Dom.safeRemove(s)},t.appendColumn=function(e,o,n,r){var s,l=t.formalMatrix(e);for((void 0===o||0>o)&&(o=t.getColumnsCount(e)-1),s=0;l.length>s;s+=1){var c=r.element("td"),u=l[s][o],d=!1;n?(l[s]&&u&&o+1>=l[s].length||u!==l[s][o+1])&&(u.nextSibling?i.Dom.before(u.nextSibling,c):u.parentNode&&u.parentNode.appendChild(c),d=!0):(0>o-1||l[s][o]!==l[s][o-1]&&l[s][o].parentNode)&&(i.Dom.before(l[s][o],c),d=!0),d||(0,a.attr)(l[s][o],"colspan",parseInt((0,a.attr)(l[s][o],"colspan")||"1",10)+1)}},t.removeColumn=function(e,o){var n,r=t.formalMatrix(e);r.forEach((function(e,t){var s=e[o];if(n=!1,0>o-1||r[t][o-1]!==s?e.length>o+1&&r[t][o+1]===s?n=!0:i.Dom.safeRemove(s):n=!0,n&&(0>t-1||s!==r[t-1][o])){var l=s.colSpan;(0,a.attr)(s,"colspan",l-1>1?(l-1).toString():null)}}))},t.getSelectedBound=function(e,o){var n,r,i,a=[[1/0,1/0],[0,0]],s=t.formalMatrix(e);for(n=0;s.length>n;n+=1)for(r=0;s[n]&&s[n].length>r;r+=1)o.includes(s[n][r])&&(a[0][0]=Math.min(n,a[0][0]),a[0][1]=Math.min(r,a[0][1]),a[1][0]=Math.max(n,a[1][0]),a[1][1]=Math.max(r,a[1][1]));for(n=a[0][0];a[1][0]>=n;n+=1)for(i=1,r=a[0][1];a[1][1]>=r;r+=1){for(;s[n]&&s[n][r-i]&&s[n][r]===s[n][r-i];)a[0][1]=Math.min(r-i,a[0][1]),a[1][1]=Math.max(r-i,a[1][1]),i+=1;for(i=1;s[n]&&s[n][r+i]&&s[n][r]===s[n][r+i];)a[0][1]=Math.min(r+i,a[0][1]),a[1][1]=Math.max(r+i,a[1][1]),i+=1;for(i=1;s[n-i]&&s[n][r]===s[n-i][r];)a[0][0]=Math.min(n-i,a[0][0]),a[1][0]=Math.max(n-i,a[1][0]),i+=1;for(i=1;s[n+i]&&s[n][r]===s[n+i][r];)a[0][0]=Math.min(n+i,a[0][0]),a[1][0]=Math.max(n+i,a[1][0]),i+=1}return a},t.normalizeTable=function(e){var o,n,r,i,s=[],l=t.formalMatrix(e);for(n=0;l[0].length>n;n+=1){for(r=1e6,i=!1,o=0;l.length>o;o+=1)if(void 0!==l[o][n]){if(2>l[o][n].colSpan){i=!0;break}r=Math.min(r,l[o][n].colSpan)}if(!i)for(o=0;l.length>o;o+=1)void 0!==l[o][n]&&t.mark(l[o][n],"colspan",l[o][n].colSpan-r+1,s)}for(o=0;l.length>o;o+=1){for(r=1e6,i=!1,n=0;l[o].length>n;n+=1)if(void 0!==l[o][n]){if(2>l[o][n].rowSpan){i=!0;break}r=Math.min(r,l[o][n].rowSpan)}if(!i)for(n=0;l[o].length>n;n+=1)void 0!==l[o][n]&&t.mark(l[o][n],"rowspan",l[o][n].rowSpan-r+1,s)}for(o=0;l.length>o;o+=1)for(n=0;l[o].length>n;n+=1)void 0!==l[o][n]&&(l[o][n].hasAttribute("rowspan")&&1===l[o][n].rowSpan&&(0,a.attr)(l[o][n],"rowspan",null),l[o][n].hasAttribute("colspan")&&1===l[o][n].colSpan&&(0,a.attr)(l[o][n],"colspan",null),l[o][n].hasAttribute("class")&&!(0,a.attr)(l[o][n],"class")&&(0,a.attr)(l[o][n],"class",null));t.unmark(s)},t.mergeSelected=function(e,o){var n,s=[],l=t.getSelectedBound(e,t.getSelectedCellsByTable(e)),c=0,u=null,d=0,f=0,h=0,m=new Set,v=[];l&&(l[0][0]-l[1][0]||l[0][1]-l[1][1])&&(t.formalMatrix(e,(function(e,r,i,g,y){if(!(l[0][0]>r||r>l[1][0]||l[0][1]>i||i>l[1][1])){if(m.has(n=e))return;m.add(n),r===l[0][0]&&n.style.width&&(c+=n.offsetWidth),""!==(0,a.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&s.push(e.innerHTML),g>1&&(f+=g-1),y>1&&(h+=y-1),u?(t.mark(n,"remove",1,v),p(o).removeSelection(n)):(u=e,d=i)}})),f=l[1][1]-l[0][1]+1,h=l[1][0]-l[0][0]+1,u&&(f>1&&t.mark(u,"colspan",f,v),h>1&&t.mark(u,"rowspan",h,v),c&&(t.mark(u,"width",(c/e.offsetWidth*100).toFixed(r.ACCURACY)+"%",v),d&&t.setColumnWidthByDelta(e,d,0,!0,v)),u.innerHTML=s.join("<br/>"),p(o).addSelection(u),m.delete(u),t.unmark(v),t.normalizeTable(e),(0,a.toArray)(e.rows).forEach((function(e,t){e.cells.length||i.Dom.safeRemove(e)}))))},t.splitHorizontal=function(e,o){var n,r,a,s,l,c=[];t.getSelectedCellsByTable(e).forEach((function(u){(r=o.createInside.element("td")).appendChild(o.createInside.element("br")),a=o.createInside.element("tr"),n=t.formalCoordinate(e,u),2>u.rowSpan?(t.formalMatrix(e,(function(e,o,r){n[0]===o&&n[1]!==r&&e!==u&&t.mark(e,"rowspan",e.rowSpan+1,c)})),i.Dom.after(i.Dom.closest(u,"tr",e),a),a.appendChild(r)):(t.mark(u,"rowspan",u.rowSpan-1,c),t.formalMatrix(e,(function(t,o,r){o>n[0]&&n[0]+u.rowSpan>o&&n[1]>r&&t.parentNode.rowIndex===o&&(l=t),o>n[0]&&t===u&&(s=e.rows[o])})),l?i.Dom.after(l,r):s.insertBefore(r,s.firstChild)),u.colSpan>1&&t.mark(r,"colspan",u.colSpan,c),t.unmark(c),p(o).removeSelection(u)})),this.normalizeTable(e)},t.splitVertical=function(e,o){var n,a,s,l=[];t.getSelectedCellsByTable(e).forEach((function(c){n=t.formalCoordinate(e,c),2>c.colSpan?t.formalMatrix(e,(function(e,o,r){n[1]===r&&n[0]!==o&&e!==c&&t.mark(e,"colspan",e.colSpan+1,l)})):t.mark(c,"colspan",c.colSpan-1,l),(a=o.createInside.element("td")).appendChild(o.createInside.element("br")),c.rowSpan>1&&t.mark(a,"rowspan",c.rowSpan,l);var u=c.offsetWidth;i.Dom.after(c,a),t.mark(c,"width",(100*(s=u/e.offsetWidth/2)).toFixed(r.ACCURACY)+"%",l),t.mark(a,"width",(100*s).toFixed(r.ACCURACY)+"%",l),t.unmark(l),p(o).removeSelection(c)})),t.normalizeTable(e)},t.setColumnWidthByDelta=function(e,o,n,i,a){for(var s=t.formalMatrix(e),l=0,c=0;s.length>c;c+=1)if(1>=(u=s[c][o]).colSpan||1>=s.length){t.mark(u,"width",((u.offsetWidth+n)/e.offsetWidth*100).toFixed(r.ACCURACY)+"%",a),l=c;break}for(c=l+1;s.length>c;c+=1){var u;t.mark(u=s[c][o],"width",null,a)}i||t.unmark(a)},t.mark=function(e,t,o,n){var r;n.push(e);var i=null!==(r=u.get(e))&&void 0!==r?r:{};i[t]=void 0===o?1:o,u.set(e,i)},t.unmark=function(e){e.forEach((function(e){var t=u.get(e);t&&(Object.keys(t).forEach((function(o){var n=t[o];switch(o){case"remove":i.Dom.safeRemove(e);break;case"rowspan":(0,a.attr)(e,"rowspan",(0,a.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,a.attr)(e,"colspan",(0,a.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,a.attr)(e,"style")||(0,a.attr)(e,"style",null)):e.style.width=n.toString()}delete t[o]})),u.delete(e))}))},t.selectedByTable=new WeakMap,n.__decorate([(0,c.debounce)()],t.prototype,"recalculateStyles",null),t}(s.ViewComponent);t.Table=d;var p=function(e){return e.getInstance("Table",e.o)}},73102:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarButton=void 0;var n=o(52784);o(65751);var r=o(24697),i=o(51923),a=o(96582),s=o(17497),l=o(75901),c=o(16892),u=o(74259),d=o(70141),p=o(20937),f=o(4015),h=function(e){function t(t,o,i){void 0===i&&(i=null);var a=e.call(this,t)||this;return a.control=o,a.target=i,a.state=n.__assign(n.__assign({},(0,r.UIButtonState)()),{theme:"toolbar",currentValue:"",hasTrigger:!1}),a.openedPopup=null,t.e.on([a.button,a.trigger],"mousedown",(function(e){return e.preventDefault()})),a.onAction(a.onClick),a.hookStatus(p.STATUSES.ready,(function(){a.initFromControl(),a.initTooltip(),a.update()})),o.mods&&Object.keys(o.mods).forEach((function(e){o.mods&&a.setMod(e,o.mods[e])})),a}return n.__extends(t,e),t.prototype.className=function(){return"ToolbarButton"},Object.defineProperty(t.prototype,"toolbar",{get:function(){return this.closest(d.ToolbarCollection)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"button",{get:function(){return this.container.querySelector("button.".concat(this.componentName,"__button"))},enumerable:!1,configurable:!0}),t.prototype.update=function(){var t=this.control,o=this.state,n=this.closest(d.ToolbarCollection);o.disabled=this.calculateDisabledStatus(n),o.activated=this.calculateActivatedStatus(n),(0,c.isFunction)(t.update)&&n&&t.update(this,n.jodit),e.prototype.update.call(this)},t.prototype.calculateActivatedStatus=function(e){return!((0,c.isJoditObject)(this.j)&&!this.j.editorIsActive)&&(!(!(0,c.isFunction)(this.control.isActive)||!this.control.isActive(this.j,this.control,this))||Boolean(e&&e.shouldBeActive(this)))},t.prototype.calculateDisabledStatus=function(e){return!!this.j.o.disabled||!(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))||!(!(0,c.isFunction)(this.control.isDisabled)||!this.control.isDisabled(this.j,this.control,this))||Boolean(e&&e.shouldBeDisabled(this))},t.prototype.onChangeActivated=function(){(0,c.attr)(this.button,"aria-pressed",this.state.activated),e.prototype.onChangeActivated.call(this)},t.prototype.onChangeText=function(){(0,c.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):e.prototype.onChangeText.call(this),this.setMod("text-icons",Boolean(this.text.innerText.trim().length))},t.prototype.onChangeTabIndex=function(){(0,c.attr)(this.button,"tabindex",this.state.tabIndex)},t.prototype.onChangeTooltip=function(){(0,c.attr)(this.button,"aria-label",this.state.tooltip),e.prototype.onChangeTooltip.call(this)},t.prototype.createContainer=function(){var t=this.componentName,o=this.j.c.span(t),n=e.prototype.createContainer.call(this);return(0,c.attr)(o,"role","listitem"),n.classList.remove(t),n.classList.add(t+"__button"),Object.defineProperty(n,"component",{value:this}),o.appendChild(n),this.trigger=this.j.c.fromHTML('<span role="trigger" class="'.concat(t,'__trigger">').concat(u.Icon.get("chevron"),"</span>")),o},t.prototype.focus=function(){var e;null===(e=this.container.querySelector("button"))||void 0===e||e.focus()},t.prototype.onChangeHasTrigger=function(){this.state.hasTrigger?this.container.appendChild(this.trigger):a.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)},t.prototype.onChangeDisabled=function(){var e=this.state.disabled?"disabled":null;(0,c.attr)(this.trigger,"disabled",e),(0,c.attr)(this.button,"disabled",e),(0,c.attr)(this.container,"disabled",e)},t.prototype.initTooltip=function(){var e=this;this.j.o.textIcons||!this.j.o.showTooltip||this.j.o.useNativeTooltip||this.j.e.off(this.container,"mouseenter mouseleave").on(this.container,"mousemove",(function(t){e.state.tooltip&&!e.state.disabled&&e.j.e.fire("delayShowTooltip",(function(){return{x:t.clientX+10,y:t.clientY+10}}),e.state.tooltip)})).on(this.container,"mouseleave",(function(){e.j.e.fire("hideTooltip")}))},t.prototype.initFromControl=function(){var e,t=this.control,o=this.state;this.updateSize(),o.name=t.name;var n=this.j.o.textIcons;if(!0===n||(0,c.isFunction)(n)&&n(t.name)||t.template)o.icon=(0,r.UIButtonState)().icon,o.text=t.text||t.name;else{if(t.iconURL)o.icon.iconURL=t.iconURL;else{var i=t.icon||t.name;o.icon.name=u.Icon.exists(i)||(null===(e=this.j.o.extraIcons)||void 0===e?void 0:e[i])?i:""}t.iconURL||o.icon.name||(o.text=t.text||t.name)}t.tooltip&&(o.tooltip=this.j.i18n((0,c.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip)),o.hasTrigger=Boolean(t.list||t.popup&&t.exec)},t.prototype.onTriggerClick=function(e){var t,o,n,r=this;if(this.openedPopup)this.closePopup();else{var i=this.control;if(e.buffer={actionTrigger:this},i.list)return this.openControlList(i);if((0,c.isFunction)(i.popup)){var a=this.openPopup();if(a.parentElement=this,!1!==this.j.e.fire((0,c.camelCase)("before-".concat(i.name,"-open-popup")),this.target,i,a)){var s=null!==(n=null!==(o=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==o?o:this.target)&&void 0!==n?n:null,l=i.popup(this.j,s,i,this.closePopup,this);l&&a.setContent((0,c.isString)(l)?this.j.c.fromHTML(l):l).open((function(){return(0,c.position)(r.container)}),!1,this.j.o.allowTabNavigation?this.container:void 0)}this.j.e.fire((0,c.camelCase)("after-".concat(i.name,"-open-popup")),a.container)}}},t.prototype.openControlList=function(e){var t,o=this,r=null!==(t=this.jodit.options.controls)&&void 0!==t?t:{},i=function(e){return(0,f.findControlType)(e,r)},a=e.list,s=this.openPopup(),u=(0,l.makeCollection)(this.j);s.parentElement=this,u.parentElement=s,u.mode="vertical";var d=function(t,r){if((0,c.isString)(r)&&i(r))return n.__assign({name:r.toString()},i(r));if((0,c.isString)(t)&&i(t))return n.__assign(n.__assign({name:t.toString()},i(t)),"object"==typeof r?r:{});(function(e){return(0,c.isPlainObject)(e)&&"title"in e&&"value"in e})(t)&&(r=t.value,t=t.title);var a=e.childTemplate,s={name:t.toString(),template:a&&function(e,t,n){return a(e,t,n,o)},exec:e.childExec?function(t,o,r){var i;return null===(i=e.childExec)||void 0===i?void 0:i.call(e,t,o,n.__assign(n.__assign({},r),{parentControl:e}))}:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,isDisabled:e.isChildDisabled,mode:e.mode,args:n.__spreadArray(n.__spreadArray([],n.__read(e.args?e.args:[]),!1),[t,r],!1)};return(0,c.isString)(r)&&(s.text=r),s};u.build((0,c.isArray)(a)?a.map(d):(0,c.keys)(a,!1).map((function(e){return d(e,a[e])})),this.target),s.setContent(u.container).open((function(){return(0,c.position)(o.container)}),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0},t.prototype.onOutsideClick=function(e){this.openedPopup&&(e&&a.Dom.isNode(e.target)&&(a.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.closePopup())},t.prototype.openPopup=function(){return this.closePopup(),this.openedPopup=new s.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup},t.prototype.closePopup=function(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)},t.prototype.onClick=function(e){var t,o,n,r,i,a,s,l=this.control;if((0,c.isFunction)(l.exec)){var u=null!==(n=null!==(o=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==o?o:this.target)&&void 0!==n?n:null,d=l.exec(this.j,u,{control:l,originalEvent:e,button:this});if(!1!==d&&!0!==d&&(null===(i=null===(r=this.j)||void 0===r?void 0:r.e)||void 0===i||i.fire("synchro"),this.parentElement&&this.parentElement.update(),null===(s=null===(a=this.j)||void 0===a?void 0:a.e)||void 0===s||s.fire("closeAllPopups afterExec")),!1!==d)return}return l.list?this.openControlList(l):(0,c.isFunction)(l.popup)?this.onTriggerClick(e):void((l.command||l.name)&&((0,c.call)((0,c.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),l.command||l.name,!1,l.args&&l.args[0]),this.j.e.fire("closeAllPopups")))},t.prototype.destruct=function(){return this.closePopup(),e.prototype.destruct.call(this)},n.__decorate([(0,i.watch)("state.tooltip")],t.prototype,"onChangeTooltip",null),n.__decorate([(0,i.watch)("state.hasTrigger")],t.prototype,"onChangeHasTrigger",null),n.__decorate([(0,i.watch)("trigger:click")],t.prototype,"onTriggerClick",null),n.__decorate([i.autobind],t.prototype,"onOutsideClick",null),n.__decorate([i.autobind],t.prototype,"closePopup",null),n.__decorate([i.component],t)}(r.UIButton);t.ToolbarButton=h},61581:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarContent=void 0;var n=o(52784);o(35218);var r=o(24697),i=o(96582),a=o(16892),s=o(51923),l=function(e){function t(t,o,n){void 0===n&&(n=null);var r=e.call(this,t)||this;return r.control=o,r.target=n,r.container.classList.add("".concat(r.componentName,"_").concat(r.clearName(o.name))),(0,a.attr)(r.container,"role","content"),r}return n.__extends(t,e),t.prototype.className=function(){return"ToolbarContent"},t.prototype.update=function(){var t=this.control.getContent(this.j,this.control,this);((0,a.isString)(t)||t.parentNode!==this.container)&&(i.Dom.detach(this.container),this.container.appendChild((0,a.isString)(t)?this.j.create.fromHTML(t):t)),e.prototype.update.call(this)},t.prototype.createContainer=function(){return this.j.c.span(this.componentName)},n.__decorate([s.component],t)}(r.UIButton);t.ToolbarContent=l},41581:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(73102),t),n.__exportStar(o(61581),t)},70141:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarCollection=void 0;var n=o(52784);o(28119);var r=o(16892),i=o(98440),a=o(75901),s=o(51923),l=function(e){function t(t){var o=e.call(this,t)||this;return o.listenEvents="updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur",o.update=o.j.async.debounce(o.immediateUpdate,(function(){return o.j.defaultTimeout})),o.__tooltip=null,o.initEvents(),o.__tooltip=i.UITooltip.make(t),o}return n.__extends(t,e),t.prototype.className=function(){return"ToolbarCollection"},Object.defineProperty(t.prototype,"firstButton",{get:function(){return n.__read(this.buttons,1)[0]||null},enumerable:!1,configurable:!0}),t.prototype.makeButton=function(e,t){return void 0===t&&(t=null),(0,a.makeButton)(this.j,e,t)},t.prototype.shouldBeActive=function(e){},t.prototype.shouldBeDisabled=function(e){},t.prototype.getTarget=function(e){return e.target||null},t.prototype.immediateUpdate=function(){this.isDestructed||this.j.isLocked||(e.prototype.update.call(this),this.j.e.fire("afterUpdateToolbar"))},t.prototype.setDirection=function(e){this.container.style.direction=e,this.container.setAttribute("dir",e)},t.prototype.initEvents=function(){this.j.e.on(this.listenEvents,this.update).on("afterSetMode focus",this.immediateUpdate)},t.prototype.hide=function(){this.container.remove()},t.prototype.show=function(){this.appendTo(this.j.toolbarContainer)},t.prototype.showInline=function(e){throw(0,r.error)("The method is not implemented for this class.")},t.prototype.build=function(t,o){void 0===o&&(o=null);var n=this.j.e.fire("beforeToolbarBuild",t);return n&&(t=n),e.prototype.build.call(this,t,o),this},t.prototype.destruct=function(){var t;this.isDestructed||(null===(t=this.__tooltip)||void 0===t||t.destruct(),this.j.e.off(this.listenEvents,this.update).off("afterSetMode focus",this.immediateUpdate),e.prototype.destruct.call(this))},n.__decorate([s.autobind],t.prototype,"immediateUpdate",null),n.__decorate([s.component],t)}(i.UIList);t.ToolbarCollection=l},63314:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarEditorCollection=void 0;var n=o(52784),r=o(70141),i=o(49940),a=o(96582),s=o(16892),l=o(51923),c=function(e){function t(t){var o=e.call(this,t)||this;return o.checkActiveStatus=function(e,t){var n=0,r=0;return Object.keys(e).forEach((function(i){var a=e[i];(0,s.isFunction)(a)?a(o.j,(0,s.css)(t,i).toString())&&(n+=1):-1!==a.indexOf((0,s.css)(t,i).toString())&&(n+=1),r+=1})),r===n},o.prependInvisibleInput(o.container),o}return n.__extends(t,e),t.prototype.className=function(){return"ToolbarEditorCollection"},t.prototype.shouldBeDisabled=function(t){var o=e.prototype.shouldBeDisabled.call(this,t);if(void 0!==o)return o;var n=void 0===t.control.mode?i.MODE_WYSIWYG:t.control.mode;return!(n===i.MODE_SPLIT||n===this.j.getRealMode())},t.prototype.shouldBeActive=function(t){var o=this,n=e.prototype.shouldBeActive.call(this,t);if(void 0!==n)return n;var r=this.j.selection?this.j.s.current():null;if(!r)return!1;if(t.control.tags){var i=t.control.tags;if(a.Dom.up(r,(function(e){if(e&&-1!==i.indexOf(e.nodeName.toLowerCase()))return!0}),this.j.editor))return!0}if(t.control.css){var s=t.control.css;if(a.Dom.up(r,(function(e){if(e&&!a.Dom.isText(e))return o.checkActiveStatus(s,e)}),this.j.editor))return!0}return!1},t.prototype.getTarget=function(e){return e.target||this.j.s.current()||null},t.prototype.prependInvisibleInput=function(e){var t=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});a.Dom.appendChildFirst(e,t)},t.prototype.showInline=function(e){this.jodit.e.fire("showInlineToolbar",e)},t.prototype.hide=function(){this.jodit.e.fire("hidePopup"),e.prototype.hide.call(this),this.jodit.e.fire("toggleToolbar")},t.prototype.show=function(){e.prototype.show.call(this),this.jodit.e.fire("toggleToolbar")},n.__decorate([l.component],t)}(r.ToolbarCollection);t.ToolbarEditorCollection=c},75901:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeButton=t.makeCollection=void 0;var n=o(16892),r=o(70141),i=o(63314),a=o(73102),s=o(61581);t.makeCollection=function(e,t){var o=(0,n.isJoditObject)(e)?new i.ToolbarEditorCollection(e):new r.ToolbarCollection(e);return e.o.textIcons&&o.container.classList.add("jodit_text_icons"),t&&(o.parentElement=t),e.o.toolbarButtonSize&&(o.buttonSize=e.o.toolbarButtonSize),o},t.makeButton=function(e,t,o){if(void 0===o&&(o=null),(0,n.isFunction)(t.getContent))return new s.ToolbarContent(e,t,o);var r=new a.ToolbarButton(e,t,o);return r.state.tabIndex=e.o.allowTabNavigation?0:-1,r}},14825:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784),r=o(733),i=o(8356),a=o(8637);r.Config.prototype.enableDragAndDropFileToEditor=!0,r.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:function(e){return"files[".concat(e,"]")},withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:function(e){return e},isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&(0,i.isArray)(e.data.messages)?e.data.messages.join(" "):""},processFileName:function(e,t,o){return[e,t,o]},process:function(e){return e.data},error:function(e){this.j.e.fire("errorMessage",e.message,"error",4e3)},getDisplayName:function(e,t){return e+t},defaultHandlerSuccess:function(e){var t=this,o=this.j||this;(0,a.isJoditObject)(o)&&e.files&&e.files.length&&e.files.forEach((function(r,i){var a=n.__read(e.isImages&&e.isImages[i]?["img","src"]:["a","href"],2),s=a[0],l=a[1],c=o.createInside.element(s);c.setAttribute(l,e.baseurl+r),"a"===s&&(c.textContent=o.o.uploader.getDisplayName.call(t,e.baseurl,r)),"img"===s?o.s.insertImage(c,null,o.o.imageDefaultWidth):o.s.insertNode(c)}))},defaultHandlerError:function(e){this.j.e.fire("errorMessage",e.message)},contentType:function(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},33760:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildData=void 0;var n=o(16892);t.buildData=function(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);var o=e.ow.FormData;if(void 0!==o){if(t instanceof o)return t;if((0,n.isString)(t))return t;var r=new o;return Object.keys(t).forEach((function(e){r.append(e,t[e])})),r}return t}},20353:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dataURItoBlob=void 0,t.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),o=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),r=new Uint8Array(n),i=0;t.length>i;i+=1)r[i]=t.charCodeAt(i);return new Blob([r],{type:o})}},7564:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasItems=t.hasFiles=void 0;var n=o(52784);n.__exportStar(o(93659),t),n.__exportStar(o(20353),t),n.__exportStar(o(33760),t),n.__exportStar(o(18340),t),n.__exportStar(o(69503),t),t.hasFiles=function(e){return Boolean(e&&e.files&&e.files.length>0)},t.hasItems=function(e){return Boolean(e&&e.items&&e.items.length>0)}},93659:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processOldBrowserDrag=void 0;var n=o(49940),r=o(58706),i=o(16892),a=o(96582),s=o(7564);t.processOldBrowserDrag=function(e,t,o,l,c){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){var u=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.getContainer)(e.j,e.constructor).appendChild(u);var d=(0,i.isJoditObject)(e.j)?e.j.s.save():null;u.focus(),e.j.async.setTimeout((function(){var t=u.firstChild;if(a.Dom.safeRemove(u),t&&t.hasAttribute("src")){var n=(0,i.attr)(t,"src")||"";d&&(0,i.isJoditObject)(e.j)&&e.j.s.restore(),(0,s.sendFiles)(e,[(0,s.dataURItoBlob)(n)],o,l).finally(c)}}),e.j.defaultTimeout)}}},69503:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendFiles=void 0;var n=o(52784),r=o(16892),i=o(18340);t.sendFiles=function(e,t,o,a,s){if(!t)return Promise.reject((0,r.error)("Need files"));var l=e.o,c=(0,r.toArray)(t);if(!c.length)return Promise.reject((0,r.error)("Need files"));var u=[];if(l.insertImageAsBase64URI){var d,p=void 0,f=function(){if((d=c[p])&&d.type){var t=d.type.match(/\/([a-z0-9]+)/i),n=t[1]?t[1].toLowerCase():"";if(l.imagesExtensions.includes(n)){var i=new FileReader;u.push(e.j.async.promise((function(t,n){i.onerror=n,i.onloadend=function(){var n={baseurl:"",files:[i.result],isImages:[!0]};((0,r.isFunction)(o)?o:l.defaultHandlerSuccess).call(e,n),t(n)},i.readAsDataURL(d)}))),c[p]=null}}};for(p=0;c.length>p;p+=1)f()}if((c=c.filter((function(e){return e}))).length){var h=new FormData;h.append(l.pathVariableName,e.path),h.append("source",e.source);var m=void 0;for(p=0;c.length>p;p+=1)if(m=c[p]){var v=/\.[\d\w]+$/.test(m.name),g=m.type.match(/\/([a-z0-9]+)/i),y=g&&g[1]?g[1].toLowerCase():"",b=c[p].name||Math.random().toString().replace(".","");if(!v&&y){var _=y;["jpeg","jpg"].includes(_)&&(_="jpeg|jpg"),new RegExp(".("+_+")$","i").test(b)||(b+="."+y)}var w=n.__read(l.processFileName.call(e,l.filesVariableName(p),c[p],b),3);h.append(w[0],w[1],w[2])}s&&s(h),l.data&&(0,r.isPlainObject)(l.data)&&Object.keys(l.data).forEach((function(e){h.append(e,l.data[e])})),l.prepareData.call(e,h),u.push((0,i.send)(e,h).then((function(t){return l.isSuccess.call(e,t)?(((0,r.isFunction)(o)?o:l.defaultHandlerSuccess).call(e,l.process.call(e,t)),t):(((0,r.isFunction)(a)?a:l.defaultHandlerError).call(e,(0,r.error)(l.getMessage.call(e,t))),t)})).then((function(){e.j.events&&e.j.e.fire("filesWereUploaded")})))}return Promise.all(u)}},18340:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.send=t.ajaxInstances=void 0;var n=o(42239),r=o(16892),i=o(33760);t.ajaxInstances=new WeakMap,t.send=function(e,o){var a=(0,i.buildData)(e,o),s=function(o){var i=new n.Ajax({xhr:function(){var t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(e.j.progressbar.show().progress(10),t.upload.addEventListener("progress",(function(t){if(t.lengthComputable){var o=t.loaded/t.total;o*=100,e.j.progressbar.show().progress(o),100>o||e.j.progressbar.hide()}}),!1)):e.j.progressbar.hide(),t},method:e.o.method||"POST",data:o,url:(0,r.isFunction)(e.o.url)?e.o.url(o):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,o),withCredentials:e.o.withCredentials||!1}),a=t.ajaxInstances.get(e);return a||(a=new Set,t.ajaxInstances.set(e,a)),a.add(i),e.j.e.one("beforeDestruct",i.destruct),i.send().then((function(e){return e.json()})).catch((function(t){e.o.error.call(e,t)})).finally((function(){i.destruct(),null==a||a.delete(i)}))};return(0,r.isPromise)(a)?a.then(s).catch((function(t){e.o.error.call(e,t)})):s(a)}},99509:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uploader=void 0;var n=o(52784);o(82247);var r=o(733),i=o(49940),a=o(16892),s=o(68311),l=o(7564);o(14825);var c=function(e){function t(t,o){var n=e.call(this,t)||this;return n.path="",n.source="default",n.options=(0,a.ConfigProto)(o||{},(0,a.ConfigProto)(r.Config.defaultOptions.uploader,(0,a.isJoditObject)(t)?t.o.uploader:{})),n}return n.__extends(t,e),Object.defineProperty(t.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),t.prototype.className=function(){return"Uploader"},Object.defineProperty(t.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),t.prototype.setPath=function(e){return this.path=e,this},t.prototype.setSource=function(e){return this.source=e,this},t.prototype.bind=function(e,t,o){var n=function(){e.classList.remove("jodit_drag_hover")},r=this,a=function(e){var a,s,c,u=e.clipboardData,d=function(e){s&&(e.append("extension",c),e.append("mimetype",s.type))};if(!i.IS_IE&&(0,l.hasFiles)(u))return(0,l.sendFiles)(r,u.files,t,o).finally(n),!1;if(i.IS_IE)return(0,l.processOldBrowserDrag)(r,u,t,o,n);if((0,l.hasItems)(u)){var p=u.items;for(a=0;p.length>a;a+=1)if("file"===p[a].kind&&"image/png"===p[a].type){if(s=p[a].getAsFile()){var f=s.type.match(/\/([a-z0-9]+)/i);c=f[1]?f[1].toLowerCase():"",(0,l.sendFiles)(r,[s],t,o,d).finally(n)}e.preventDefault();break}}};r.j&&r.j.editor!==e?r.j.e.on(e,"paste",a):r.j.e.on("beforePaste",a),this.attachEvents(e,t,o,n)},t.prototype.attachEvents=function(e,t,o,n){var r=this;r.j.e.on(e,"dragend dragover dragenter dragleave drop",(function(e){e.preventDefault()})).on(e,"dragover",(function(t){((0,l.hasFiles)(t.dataTransfer)||(0,l.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())})).on(e,"dragend dragleave",(function(t){e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(t.dataTransfer)&&t.preventDefault()})).on(e,"drop",(function(i){e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(i.dataTransfer)&&(i.preventDefault(),i.stopImmediatePropagation(),(0,l.sendFiles)(r,i.dataTransfer.files,t,o).finally(n))}));var i=e.querySelector("input[type=file]");i&&r.j.e.on(i,"change",(function(){(0,l.sendFiles)(r,i.files,t,o).then((function(){i.value="",/safari/i.test(navigator.userAgent)||(i.type="",i.type="file")})).finally(n)}))},t.prototype.uploadRemoteImage=function(e,t,o){var n=this,r=n.o,i=(0,a.isFunction)(o)?o:r.defaultHandlerError;(0,l.send)(n,{action:"fileUploadRemote",url:e}).then((function(e){r.isSuccess.call(n,e)?((0,a.isFunction)(t)?t:r.defaultHandlerSuccess).call(n,r.process.call(n,e)):i.call(n,(0,a.error)(r.getMessage.call(n,e)))})).catch((function(e){return i.call(n,e)}))},t.prototype.destruct=function(){this.setStatus(s.STATUSES.beforeDestruct);var t=l.ajaxInstances.get(this);t&&(t.forEach((function(e){try{e.destruct()}catch(e){}})),t.clear()),e.prototype.destruct.call(this)},t}(s.ViewComponent);t.Uploader=c},21795:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPickerWidget=void 0,o(26881);var n=o(16892),r=o(98440),i=o(96582);r.Icon.set("palette",o(81762)),t.ColorPickerWidget=function(e,t,o){var a="jodit-color-picker",s=(0,n.normalizeColor)(o),l=e.c.div(a),c=e.o.textIcons?"<span>".concat(e.i18n("palette"),"</span>"):r.Icon.get("palette"),u=function(e){var t=[];return(0,n.isPlainObject)(e)?Object.keys(e).forEach((function(o){t.push('<div class="'.concat(a,"__group ").concat(a,"__group-").concat(o,'">')),t.push(u(e[o])),t.push("</div>")})):(0,n.isArray)(e)&&e.forEach((function(e){t.push("<span class='".concat(a,"__color-item ").concat(s===e?a+"__color-item_active_true":"","' title=\"").concat(e,'" style="background-color:').concat(e,'" data-color="').concat(e,'"></span>'))})),t.join("")};l.appendChild(e.c.fromHTML('<div class="'.concat(a,'__groups">').concat(u(e.o.colors),"</div>"))),l.appendChild(e.c.fromHTML('<div data-ref="extra" class="'.concat(a,'__extra"></div>')));var d=(0,n.refs)(l).extra;return e.o.showBrowserColorPicker&&(0,n.hasBrowserColorPicker)()&&(d.appendChild(e.c.fromHTML('<div class="'.concat(a,'__native">').concat(c,'<input type="color" value="#ffffff"/></div>'))),e.e.on(l,"change",(function(e){e.stopPropagation();var o=e.target;if(o&&o.tagName&&i.Dom.isTag(o,"input")){var r=o.value||"";(0,n.isFunction)(t)&&t(r),e.preventDefault()}}))),e.e.on(l,"mousedown touchend",(function(o){o.stopPropagation(),o.preventDefault();var r=o.target;if(r&&r.tagName&&!i.Dom.isTag(r,"svg")&&!i.Dom.isTag(r,"path")||!r.parentNode||(r=i.Dom.closest(r.parentNode,"span",e.editor)),i.Dom.isTag(r,"span")&&r.classList.contains(a+"__color-item")){var s=(0,n.attr)(r,"-color")||"";t&&(0,n.isFunction)(t)&&t(s)}})),e.e.fire("afterGenerateColorPicker",l,d,t,s),l}},64970:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileSelectorWidget=void 0;var n=o(16892),r=o(96582),i=o(98440),a=o(86245);t.FileSelectorWidget=function(e,t,o,s,l){var c;void 0===l&&(l=!0);var u=[];if(t.upload&&e.o.uploader&&(e.o.uploader.url||e.o.uploader.insertImageAsBase64URI)){var d=e.c.fromHTML('<div class="jodit-drag-and-drop__file-box">'+"<strong>".concat(e.i18n(l?"Drop image":"Drop file"),"</strong>")+"<span><br>".concat(e.i18n("or click"),"</span>")+'<input type="file" accept="'.concat(l?"image/*":"*",'" tabindex="-1" dir="auto" multiple=""/>')+"</div>");e.uploader.bind(d,(function(o){var r=(0,n.isFunction)(t.upload)?t.upload:e.o.uploader.defaultHandlerSuccess;(0,n.isFunction)(r)&&r.call(e,o),e.e.fire("closeAllPopups")}),(function(t){e.e.fire("errorMessage",t.message),e.e.fire("closeAllPopups")})),u.push({icon:"upload",name:"Upload",content:d})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&u.push({icon:"folder",name:"Browse",content:function(){s&&s(),t.filebrowser&&e.filebrowser.open(t.filebrowser,l)}}),t.url){var p=new i.UIButton(e,{type:"submit",variant:"primary",text:"Insert"}),f=new i.UIForm(e,[new i.UIInput(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new i.UIInput(e,{name:"text",label:"Alternative text"}),new i.UIBlock(e,[p])]);c=null,o&&!r.Dom.isText(o)&&(r.Dom.isTag(o,"img")||(0,n.$$)("img",o).length)&&(c="IMG"===o.tagName?o:(0,n.$$)("img",o)[0],(0,n.val)(f.container,"input[name=url]",(0,n.attr)(c,"src")),(0,n.val)(f.container,"input[name=text]",(0,n.attr)(c,"alt")),p.state.text="Update"),o&&r.Dom.isTag(o,"a")&&((0,n.val)(f.container,"input[name=url]",(0,n.attr)(o,"href")),(0,n.val)(f.container,"input[name=text]",(0,n.attr)(o,"title")),p.state.text="Update"),f.onSubmit((function(o){(0,n.isFunction)(t.url)&&t.url.call(e,o.url,o.text)})),u.push({icon:"link",name:"URL",content:f.container})}return(0,a.TabsWidget)(e,u)}},19800:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(21795),t),n.__exportStar(o(86245),t),n.__exportStar(o(64970),t)},86245:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabsWidget=void 0,o(7590);var n=o(16892),r=o(6244),i=o(98440),a=o(68311),s=o(12815);t.TabsWidget=function(e,t,o){var l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons"),d={},p=[],f="",h=0;l.appendChild(u),l.appendChild(c);var m=function(e){d[e]&&(p.forEach((function(e){e.state.activated=!1})),(0,n.$$)(".jodit-tab",c).forEach((function(e){e.classList.remove("jodit-tab_active")})),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach((function(n){var l=n.icon,v=n.name,g=n.content,y=e.c.div("jodit-tab"),b=(0,i.Button)(e,l||v,v);e.e.on(b.container,"mousedown",(function(e){return e.preventDefault()})),f||(f=v),u.appendChild(b.container),p.push(b),b.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,r.isFunction)(g)?y.appendChild(e.c.div("jodit-tab_empty")):y.appendChild(a.Component.isInstanceOf(g,i.UIElement)?g.container:g),c.appendChild(y),b.onAction((function(){return m(v),(0,r.isFunction)(g)&&!s.Dom.isElement(g)&&g.call(e),o&&(o.__activeTab=v),!1})),d[v]={button:b,tab:y},h+=1})),!h)return l;if((0,n.$$)("a",u).forEach((function(e){e.style.width=(100/h).toFixed(10)+"%"})),m(o&&o.__activeTab&&d[o.__activeTab]?o.__activeTab:f),o){var v=o.__activeTab;Object.defineProperty(o,"__activeTab",{configurable:!0,enumerable:!1,get:function(){return v},set:function(e){v=e,m(e)}})}return l}},63779:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(98831);var n=o(733),r=o(16892),i=o(49940),a=o(58706),s=o(74259);n.Config.prototype.controls.about={exec:function(e){var t=e.dlg(),o=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(o("About Jodit")).setContent('<div class="jodit-about">\n\t\t\t\t\t<div>'.concat(o("Jodit Editor")," v.").concat(e.getVersion(),"</div>\n\t\t\t\t\t<div>").concat(o("License: %s",(0,r.isLicense)(e.o.license)?(0,r.normalizeLicense)(e.o.license):"MIT"),'</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="').concat("https://xdsoft.net/jodit/pro/",'" target="_blank">').concat("https://xdsoft.net/jodit/pro/",'</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/doc/" target="_blank">').concat(o("Jodit User's Guide"),"</a>\n\t\t\t\t\t\t").concat(o("contains detailed help for using"),"\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>").concat(o("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved."),"</div>\n\t\t\t\t</div>")),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0)},tooltip:"About Jodit",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},a.pluginSystem.add("about",(function(e){e.registerButton({name:"about",group:"info"})})),s.Icon.set("about",o(61515))},90770:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addNewLine=void 0;var n=o(52784);o(19777);var r=o(71910),i=o(16892),a=o(51923),s=o(58706);o(78016);var l="addnewline",c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.line=t.j.c.fromHTML('<div role="button" tabindex="-1" title="'.concat(t.j.i18n("Break"),'" class="jodit-add-new-line"><span>').concat(r.Icon.get("enter"),"</span></div>")),t.isMatchedTag=function(e){return Boolean(e&&t.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase()))},t.preview=!1,t.lineInFocus=!1,t.isShown=!1,t.hideForce=function(){t.isShown&&(t.isShown=!1,t.j.async.clearTimeout(t.timeout),t.lineInFocus=!1,r.Dom.safeRemove(t.line),t.line.style.setProperty("--jd-offset-handle","0"))},t.canGetFocus=function(e){return null!=e&&r.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)},t.onClickLine=function(e){var o=t.j,n=o.createInside.element(o.o.enter);t.preview&&t.current&&t.current.parentNode?t.current===o.editor?r.Dom.prepend(o.editor,n):t.current.parentNode.insertBefore(n,t.current):o.editor.appendChild(n),o.s.setCursorIn(n),(0,i.scrollIntoViewIfNeeded)(n,o.editor,o.ed),o.synchronizeValues(),t.hideForce(),e.preventDefault()},t}return n.__extends(t,e),t.prototype.show=function(){this.isShown||this.j.o.readonly||this.j.isLocked||(this.isShown=!0,this.j.async.clearTimeout(this.timeout),this.line.classList.toggle("jodit-add-new-line_after",!this.preview),this.j.container.appendChild(this.line),this.line.style.width=this.j.container.clientWidth+"px")},t.prototype.onLock=function(e){e&&this.isShown&&this.hideForce()},t.prototype.hide=function(){this.isShown&&!this.lineInFocus&&(this.timeout=this.j.async.setTimeout(this.hideForce,{timeout:500,label:"add-new-line-hide"}))},t.prototype.afterInit=function(e){var t=this;e.o.addNewLine&&(e.e.on(this.line,"mousemove",(function(e){e.stopPropagation()})).on(this.line,"mousedown touchstart",this.onClickLine).on("change",this.hideForce).on(this.line,"mouseenter",(function(){t.j.async.clearTimeout(t.timeout),t.lineInFocus=!0})).on(this.line,"mouseleave",(function(){t.lineInFocus=!1})).on("changePlace",this.addEventListeners.bind(this)),this.addEventListeners())},t.prototype.addEventListeners=function(){var e=this.j;e.e.off(e.editor,"."+l).off(e.container,"."+l).on([e.ow,e.ew,e.editor],"scroll."+l,this.hideForce).on(e.editor,"click."+l,this.hide).on(e.container,"mouseleave."+l,this.hide).on(e.editor,"mousemove."+l,this.onMouseMove)},t.prototype.onDblClickEditor=function(e){var t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){var o=(0,i.offset)(t.editor,t,t.ed),n=e.pageY-t.ew.pageYOffset,r=t.createInside.element(t.o.enter);Math.abs(n-o.top)<Math.abs(n-(o.height+o.top))&&t.editor.firstChild?t.editor.insertBefore(r,t.editor.firstChild):t.editor.appendChild(r),t.s.setCursorIn(r),t.synchronizeValues(),this.hideForce(),e.preventDefault()}},t.prototype.onMouseMove=function(e){var t=this.j,o=t.ed.elementFromPoint(e.clientX,e.clientY);if(r.Dom.isHTMLElement(o)&&!r.Dom.isOrContains(this.line,o)&&r.Dom.isOrContains(t.editor,o))if(t.editor===o||this.isMatchedTag(o)||(o=r.Dom.closest(o,this.isMatchedTag,t.editor)),o){if(this.isMatchedTag(o)){var n=r.Dom.up(o,r.Dom.isBlock,t.editor);n&&n!==t.editor&&(o=n)}var a=(0,i.position)(o,this.j),s=!1,l=e.clientY,c=e.clientX;if(this.j.iframe){var u=(0,i.position)(this.j.iframe,this.j,!0);l+=u.top,c+=u.left}var d=this.j.o.addNewLineDeltaShow;Math.abs(l-a.top)>d||(s=a.top,this.preview=!0),Math.abs(l-(a.top+a.height))>d||(s=a.top+a.height,this.preview=!1),!1===s||(t.editor!==o||this.preview)&&(0,i.call)(this.preview?r.Dom.prev:r.Dom.next,o,this.canGetFocus,t.editor)?(this.current=!1,this.hide()):(this.line.style.top=s+"px",this.current=o,this.show(),this.line.style.setProperty("--jd-offset-handle",c-a.left-10+"px"))}else this.hide()},t.prototype.beforeDestruct=function(){this.j.async.clearTimeout(this.timeout),this.j.e.off(this.line).off("changePlace",this.addEventListeners),r.Dom.safeRemove(this.line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+l).off(this.j.container,"."+l)},n.__decorate([(0,a.watch)(":lock")],t.prototype,"onLock",null),n.__decorate([a.autobind],t.prototype,"hide",null),n.__decorate([(0,a.watch)(":dblclick")],t.prototype,"onDblClickEditor",null),n.__decorate([(0,a.debounce)((function(e){return 5*e.defaultTimeout}))],t.prototype,"onMouseMove",null),t}(r.Plugin);t.addNewLine=c,s.pluginSystem.add("addNewLine",c)},78016:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(98440);n.Config.prototype.addNewLine=!0,n.Config.prototype.addNewLineOnDBLClick=!0,n.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],n.Config.prototype.addNewLineDeltaShow=20,r.Icon.set("enter",o(49663))},98677:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.backspace=void 0;var n=o(52784),r=o(43464),i=o(96582),a=o(49940),s=o(16892),l=o(80354),c=o(58706),u=o(54362),d=o(57748);o(23578);var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["hotkeys"],t}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("afterCommand.delete",(function(e){"delete"===e&&t.afterDeleteCommand()})),e.registerCommand("deleteButton",{exec:function(){return t.onDelete(!1)},hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:function(){return t.onDelete(!0)},hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:function(){return t.onDelete(!1,"word")},hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:function(){return t.onDelete(!0,"word")},hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:function(){return t.onDelete(!1,"sentence")},hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:function(){return t.onDelete(!0,"sentence")},hotkeys:e.o.delete.hotkeys.backspaceSentence})},t.prototype.beforeDestruct=function(e){e.e.off("afterCommand.delete")},t.prototype.afterDeleteCommand=function(){var e=this.j,t=e.s.current();if(t&&i.Dom.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!((0,s.trim)(e.editor.textContent||"")||e.editor.querySelector("img,table,jodit,iframe,hr")||t&&i.Dom.closest(t,"table",e.editor))){e.editor.innerHTML="";var o=e.s.setCursorIn(e.editor);e.s.removeNode(o)}},t.prototype.onDelete=function(e,t){void 0===t&&(t="char");var o=this.j,n=o.selection;if(n.isFocused()||n.focus(),(0,d.checkNotCollapsed)(o))return!1;var r=n.range,c=o.createInside.text(a.INVISIBLE_SPACE);try{if(i.Dom.safeInsertNode(r,c),!i.Dom.isOrContains(o.editor,c))return;if((0,l.moveNodeInsideStart)(o,c,e),u.cases.some((function(n){if((0,s.isFunction)(n)&&n(o,c,e,t))return!0})))return!1}catch(e){throw e}finally{this.safeRemoveEmptyNode(c)}return!1},t.prototype.safeRemoveEmptyNode=function(e){var t,o,n=this.j.s.range;n.startContainer===e&&(e.previousSibling?i.Dom.isText(e.previousSibling)?n.setStart(e.previousSibling,null!==(o=null===(t=e.previousSibling.nodeValue)||void 0===t?void 0:t.length)&&void 0!==o?o:0):n.setStartAfter(e.previousSibling):e.nextSibling&&(i.Dom.isText(e.nextSibling)?n.setStart(e.nextSibling,0):n.setStartBefore(e.nextSibling)),n.collapse(!0),this.j.s.selectRange(n)),i.Dom.safeRemove(e)},t}(r.Plugin);t.backspace=p,c.pluginSystem.add("backspace",p)},56392:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkJoinNeighbors=void 0;var n=o(12815);function r(e,t,o,r){if(t&&n.Dom.isElement(o)){n.Dom.moveContent(t,o,!r);for(var i=t;i&&i!==e.editor&&n.Dom.isEmpty(i);){var a=i.parentElement;n.Dom.safeRemove(i),i=a}return!0}return!1}t.checkJoinNeighbors=function(e,t,o){for(var i=t,a=i;i&&!n.Dom.findNotEmptySibling(i,o)&&i.parentElement!==e.editor;)a=i=i.parentElement;if(n.Dom.isElement(a)&&n.Dom.isContentEditable(a,e.editor)){var s=n.Dom.findNotEmptySibling(a,o);if(s&&(function(e,t,o,i){var a=n.Dom.isTag(o,["ol","ul"]),s=n.Dom.isTag(t,["ol","ul"]),l=function(e,t){return t?e.firstElementChild:e.lastElementChild};return s?(o=e.createInside.element(e.o.enterBlock),n.Dom.before(t,o),r(e,l(t,i),o,i)):!(!o||!a||s)&&r(e,t,l(o,!i),i)}(e,a,s,o)||r(e,a,s,o)))return e.s.setCursorBefore(t),!0}return!1}},21417:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkJoinTwoLists=void 0;var n=o(12815),r=o(89437);t.checkJoinTwoLists=function(e,t,o){var i=n.Dom.findSibling(t,o),a=n.Dom.findSibling(t,!o);if(!n.Dom.closest(t,n.Dom.isElement,e.editor)&&n.Dom.isTag(i,["ul","ol"])&&n.Dom.isTag(a,["ul","ol"])&&n.Dom.isTag(i.lastElementChild,"li")&&n.Dom.isTag(a.firstElementChild,"li")){var s=e.s,l=s.setCursorBefore,c=s.setCursorAfter,u=i.lastElementChild;return(0,r.call)(o?n.Dom.prepend:n.Dom.append,a.firstElementChild,t),n.Dom.moveContent(a,i,!o),n.Dom.safeRemove(a),(0,r.call)(o?n.Dom.append:n.Dom.prepend,u,t),(0,r.call)(o?l:c,t),!0}return!1}},57748:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkNotCollapsed=void 0,t.checkNotCollapsed=function(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}},90250:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveChar=void 0;var n=o(96582),r=o(16892),i=o(49940),a=o(32895);t.checkRemoveChar=function e(t,o,s,l){var c,u,d,p,f=s?-1:1,h=n.Dom.sibling(o,!s),m=n.Dom.sibling(o,s),v=null,g=!1,y=function(e){var o=n.Dom.sibling(e,s);return!o&&e.parentNode&&e.parentNode!==t.editor&&(o=(0,a.findMostNestedNeighbor)(e,!s,t.editor,!0)),o};for(m||(m=y(o));m&&(n.Dom.isText(m)||n.Dom.isInlineBlock(m));){for(;n.Dom.isInlineBlock(m);)m=s?null==m?void 0:m.lastChild:null==m?void 0:m.firstChild;if(!m)break;if(null===(c=m.nodeValue)||void 0===c?void 0:c.length){var b=(0,r.toArray)(m.nodeValue),_=b.length,w=s?_-1:0;if(b[w]===i.INVISIBLE_SPACE)for(;b[w]===i.INVISIBLE_SPACE;)w+=f;if(p=b[w],b[w+f]===i.INVISIBLE_SPACE){for(w+=f;b[w]===i.INVISIBLE_SPACE;)w+=f;w+=s?1:-1}if(b=s&&0>w?[]:b.slice(s?0:w+1,s?w:_),!h||!n.Dom.isText(h)||(s?/^ /:/ $/).test(null!==(u=h.nodeValue)&&void 0!==u?u:"")||!(0,r.trimInv)(h.nodeValue||"").length)for(var S=s?b.length-1:0;(s?S>=0:b.length>S)&&" "===b[S];S+=s?-1:1)b[S]=i.NBSP_SPACE;m.nodeValue=b.join("")}if((null===(d=m.nodeValue)||void 0===d?void 0:d.length)||(v=m),!(0,r.isVoid)(p)&&p!==i.INVISIBLE_SPACE){g=!0,(0,r.call)(s?n.Dom.after:n.Dom.before,m,o),("sentence"===l||"word"===l&&" "!==p&&p!==i.NBSP_SPACE)&&e(t,o,s,l);break}var C=y(m);v&&(n.Dom.safeRemove(v),v=null),m=C}return v&&(n.Dom.safeRemove(v),v=null),g&&(function(e){for(var t=e.parentElement;t&&n.Dom.isInlineBlock(t);){var o=t.parentElement;n.Dom.isEmpty(t)&&(n.Dom.after(t,e),n.Dom.safeRemove(t)),t=o}}(o),function(e,t){t.parentElement!==e.editor&&n.Dom.isBlock(t.parentElement)&&n.Dom.each(t.parentElement,n.Dom.isEmptyTextNode)&&n.Dom.after(t,e.createInside.element("br"))}(t,o),t.s.setCursorBefore(o),n.Dom.isTag(o.previousSibling,"br")&&!n.Dom.findNotEmptySibling(o,!1)&&n.Dom.after(o,t.createInside.element("br"))),g}},36062:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveContentNotEditable=void 0;var n=o(96582),r=o(16892),i=o(80354);t.checkRemoveContentNotEditable=function(e,t,o){var a=n.Dom.findSibling(t,o);return!a&&t.parentElement&&t.parentElement!==e.editor&&(a=n.Dom.findSibling(t.parentElement,o)),!(!n.Dom.isElement(a)||n.Dom.isContentEditable(a,e.editor)||((0,r.call)(o?n.Dom.before:n.Dom.after,a,t),n.Dom.safeRemove(a),(0,i.moveNodeInsideStart)(e,t,o),(0,r.call)(o?e.s.setCursorBefore:e.s.setCursorAfter,t),0))}},49418:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveEmptyNeighbor=void 0;var n=o(12815);t.checkRemoveEmptyNeighbor=function(e,t,o){var r=n.Dom.closest(t,n.Dom.isElement,e.editor);if(!r)return!1;var i=n.Dom.findNotEmptySibling(r,o);return!(!i||!n.Dom.isEmpty(i)||(n.Dom.safeRemove(i),e.s.setCursorBefore(t),0))}},48599:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveEmptyParent=void 0;var n=o(96582),r=o(49940),i=o(21417);t.checkRemoveEmptyParent=function(e,t,o){var a=!1,s=e.s,l=s.setCursorBefore,c=s.setCursorIn,u=n.Dom.closest(t,n.Dom.isElement,e.editor);if(!u||!n.Dom.isEmpty(u))return!1;var d=n.Dom.findNotEmptyNeighbor(t,o,e.editor);do{if(!u||!n.Dom.isEmpty(u)||n.Dom.isCell(u))break;n.Dom.after(u,t);var p=n.Dom.closest(u,(function(e){return n.Dom.isElement(e)&&e!==u}),e.editor);n.Dom.safeRemove(u),a=!0,u=p}while(u);return!(!a||!(0,i.checkJoinTwoLists)(e,t,o))||(!d||n.Dom.isText(d)||n.Dom.isTag(d,r.INSEPARABLE_TAGS)?l(t):c(d,!o),a)}},33838:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveUnbreakableElement=void 0;var n=o(12815),r=o(49940),i=o(48599);t.checkRemoveUnbreakableElement=function(e,t,o){var a=n.Dom.findSibling(t,o);return!(!n.Dom.isElement(a)||!n.Dom.isTag(a,r.INSEPARABLE_TAGS)&&!n.Dom.isEmpty(a)||(n.Dom.safeRemove(a),n.Dom.isTag(a,"br")&&!n.Dom.findNotEmptySibling(t,!1)&&n.Dom.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),n.Dom.isTag(a,"br")&&(0,i.checkRemoveEmptyParent)(e,t,o),0))}},10836:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkTableCell=void 0;var n=o(12815);t.checkTableCell=function(e,t){return!!n.Dom.isCell(t.parentElement)}},48041:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkUnwrapFirstListItem=void 0;var n=o(12815),r=o(93772);t.checkUnwrapFirstListItem=function(e,t,o){var i,a=n.Dom.closest(t,n.Dom.isElement,e.editor),s=e.s;if(n.Dom.isTag(a,"li")&&(null===(i=null==a?void 0:a.parentElement)||void 0===i?void 0:i[o?"firstElementChild":"lastElementChild"])===a&&s.cursorInTheEdge(o,a)){var l=a.parentElement,c=e.createInside.element(e.o.enterBlock);return(0,r.call)(o?n.Dom.before:n.Dom.after,l,c),n.Dom.moveContent(a,c),n.Dom.safeRemove(a),n.Dom.isEmpty(l)&&n.Dom.safeRemove(l),(0,r.call)(o?s.setCursorBefore:s.setCursorAfter,t),!0}return!1}},54362:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cases=void 0;var n=o(33838),r=o(36062),i=o(90250),a=o(10836),s=o(48599),l=o(49418),c=o(21417),u=o(56392),d=o(48041);t.cases=[n.checkRemoveUnbreakableElement,r.checkRemoveContentNotEditable,i.checkRemoveChar,a.checkTableCell,s.checkRemoveEmptyParent,l.checkRemoveEmptyNeighbor,c.checkJoinTwoLists,u.checkJoinNeighbors,d.checkUnwrapFirstListItem]},23578:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},32895:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findMostNestedNeighbor=void 0;var n=o(96582);t.findMostNestedNeighbor=function(e,t,o,r){void 0===r&&(r=!1);var i=function(e){return t?e.firstChild:e.lastChild},a=n.Dom.findNotEmptyNeighbor(e,!t,o);if(r&&n.Dom.isElement(a)&&!n.Dom.isInlineBlock(a))return null;if(a)do{if(!i(a))return a;a=i(a)}while(a);return null}},67414:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bold=void 0;var n=o(52784),r=o(733),i=o(16892),a=o(58706),s=o(74259);function l(e){var t=function(t){var o,a=r.Config.defaultOptions.controls[t],s=n.__assign({},a.css);return Object.keys(s).forEach((function(e){o||(o={}),o[e]=(0,i.isArray)(s[e])?s[e][0]:s[e]})),e.s.applyStyle(o,{element:a.tags?a.tags[0]:void 0}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach((function(t){e.registerButton({name:t,group:"font-style"})})),["superscript","subscript"].forEach((function(t){e.registerButton({name:t,group:"script"})})),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})}o(47884),o(67450),t.bold=l,a.pluginSystem.add("bold",l),s.Icon.set("bold",o(76958)).set("italic",o(49914)).set("strikethrough",o(10946)).set("subscript",o(61228)).set("superscript",o(56095)).set("underline",o(95347))},67450:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},n.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},n.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},n.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},n.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},n.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},47884:function(){},93146:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classSpan=void 0;var n=o(52784),r=o(43464),i=o(733),a=o(96582),s=o(16892),l=o(58706),c=o(98440);i.Config.prototype.controls.classSpan={command:"applyClassName",exec:s.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive:function(e,t){var o=e.s.current();if(o){var n=a.Dom.closest(o,a.Dom.isElement,e.editor)||e.editor;return Boolean(t.args&&n.classList.contains(t.args[0].toString()))}return!1},isActive:function(e,t){var o=e.s.current();if(o){var n=a.Dom.closest(o,a.Dom.isElement,e.editor)||e.editor,r=!1;return t.list&&Object.keys(t.list).forEach((function(e){n.classList.contains(e)&&(r=!0)})),Boolean(n&&n!==e.editor&&void 0!==t.list&&r)}return!1},childTemplate:function(e,t,o){return'<span class="'.concat(t,'">').concat(e.i18n(o),"</span>")},tooltip:"Insert className"};var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"classSpan",group:"font"}],t}return n.__extends(t,e),t.prototype.afterInit=function(e){e.registerCommand("applyClassName",(function(t,o,n){return e.s.applyStyle(void 0,{className:n}),!1}))},t.prototype.beforeDestruct=function(){},t}(r.Plugin);t.classSpan=u,l.pluginSystem.add("classSpan",u),c.Icon.set("class-span",o(54))},16042:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cleanHtml=void 0;var n=o(52784),r=o(37337),i=o(36894),a=o(51923),s=o(51428),l=o(58706),c=o(12815),u=o(36434);o(7147);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"eraser",group:"font-style"}],t.currentSelectionNode=null,t.walker=new s.LazyWalker(t.j.async,{timeout:t.j.o.cleanHTML.timeout}),t}return n.__extends(t,e),t.prototype.afterInit=function(e){},Object.defineProperty(t.prototype,"isEditMode",{get:function(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())},enumerable:!1,configurable:!0}),t.prototype.onChangeCleanHTML=function(){if(this.isEditMode){var e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}},t.prototype.startWalker=function(){var e=this,t=this.jodit,o=(0,u.getHash)(this.j.o.cleanHTML.allowTags),n=(0,u.getHash)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",(function(r){return(0,u.visitNodeWalker)(t,r,o,n,e.currentSelectionNode)})).on("end",(function(t){e.j.e.fire(t?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")}))},t.prototype.beforeCommand=function(e){if("removeformat"===e.toLowerCase())return this.j.s.isCollapsed()?(0,u.removeFormatForCollapsedSelection)(this.j):(0,u.removeFormatForSelection)(this.j),!1},t.prototype.onBeforeSetNativeEditorValue=function(e){var t=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():this.j.createInside.div();return t.innerHTML=e.value,this.onSafeHTML(t),e.value=t.innerHTML,(0,r.safeHTML)(t,{safeJavaScriptLink:!0,removeOnError:!0}),c.Dom.safeRemove(t),!1},t.prototype.onSafeHTML=function(e){(0,r.safeHTML)(e,this.j.o.cleanHTML)},t.prototype.beforeDestruct=function(){this.walker.destruct()},n.__decorate([(0,a.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],t.prototype,"onChangeCleanHTML",null),n.__decorate([(0,a.hook)("ready")],t.prototype,"startWalker",null),n.__decorate([(0,a.watch)(":beforeCommand")],t.prototype,"beforeCommand",null),n.__decorate([(0,a.watch)(":beforeSetNativeEditorValue")],t.prototype,"onBeforeSetNativeEditorValue",null),n.__decorate([(0,a.watch)(":safeHTML")],t.prototype,"onSafeHTML",null),t}(i.Plugin);t.cleanHtml=d,l.pluginSystem.add("cleanHtml",d)},7147:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},n.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},r.Icon.set("eraser",o(2113))},96184:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHash=void 0;var n=o(78097),r=o(57348);t.getHash=function(e){var t=/([^[]*)\[([^\]]+)]/,o=/[\s]*,[\s]*/,i=/^(.*)[\s]*=[\s]*(.*)$/,a={};return(0,r.isString)(e)?(e.split(o).map((function(e){e=(0,n.trim)(e);var r=t.exec(e),s={};if(r){var l=r[2].split(o);r[1]&&(l.forEach((function(e){e=(0,n.trim)(e);var t=i.exec(e);t?s[t[1]]=t[2]:s[e]=!0})),a[r[1].toUpperCase()]=s)}else a[e.toUpperCase()]=!0})),a):!!e&&(Object.keys(e).forEach((function(t){a[t.toUpperCase()]=e[t]})),a)}},36434:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(96184),t),n.__exportStar(o(55198),t),n.__exportStar(o(76851),t),n.__exportStar(o(42949),t)},55198:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInlineBlock=t.removeFormatForCollapsedSelection=void 0;var n=o(12815),r=o(49940);function i(e){return n.Dom.isInlineBlock(e)&&!n.Dom.isTag(e,r.INSEPARABLE_TAGS)}t.removeFormatForCollapsedSelection=function(e,t){var o=e.s,r=t;if(!r){r=e.createInside.fake();var a=o.range;n.Dom.safeInsertNode(a,r),a.collapse()}var s=n.Dom.furthest(r,i,e.editor);if(s)if(o.cursorOnTheLeft(s))n.Dom.before(s,r);else if(o.cursorOnTheRight(s))n.Dom.after(s,r);else{var l=o.splitSelection(s);l&&n.Dom.after(l,r)}t||(o.setCursorBefore(r),n.Dom.safeRemove(r))},t.isInlineBlock=i},76851:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeFormatForSelection=void 0;var n=o(12815),r=o(93772),i=o(55198);t.removeFormatForSelection=function(e){var t=e.s,o=e.editor,a=e.createInside,s=t.range,l=s.cloneRange(),c=s.cloneRange(),u=a.fake(),d=a.fake();l.collapse(!0),c.collapse(!1),n.Dom.safeInsertNode(l,u),n.Dom.safeInsertNode(c,d),s.setStartBefore(u),s.collapse(!0),t.selectRange(s),(0,i.removeFormatForCollapsedSelection)(e,u),s.setEndAfter(d),s.collapse(!1),t.selectRange(s),(0,i.removeFormatForCollapsedSelection)(e,d);var p=[];n.Dom.between(u,d,(function(e){(0,i.isInlineBlock)(e)&&!n.Dom.isTag(e,["a"])&&p.push(e),n.Dom.isElement(e)&&(0,r.attr)(e,"style")&&(0,r.attr)(e,"style",null)})),p.forEach((function(e){return n.Dom.unwrap(e)}));var f=function(e,t){if(!n.Dom.findNotEmptySibling(e,t)){var i=e.parentNode;if(i&&i!==o&&(0,r.attr)(i,"style"))return(0,r.attr)(i,"style",null),f(i,t),!0}};f(u,!0)&&f(d,!1),s.setStartAfter(u),s.setEndBefore(d),t.selectRange(s),n.Dom.safeRemove(u),n.Dom.safeRemove(d)}},68543:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.allowAttributes=void 0;var n=o(12815);t.allowAttributes=function(e,t,o,r){if(r&&n.Dom.isElement(t)&&!0!==r[t.nodeName]){var i=t.attributes;if(i&&i.length){for(var a=[],s=0;i.length>s;s+=1){var l=r[t.nodeName][i[s].name];(!l||!0!==l&&l!==i[s].value)&&a.push(i[s].name)}a.length&&(o=!0),a.forEach((function(e){t.removeAttribute(e)}))}}return o}},80143:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fillEmptyParagraph=void 0;var n=o(12815);t.fillEmptyParagraph=function(e,t,o){if(e.o.cleanHTML.fillEmptyParagraph&&n.Dom.isBlock(t)&&n.Dom.isEmpty(t,/^(img|svg|canvas|input|textarea|form|br)$/)){var r=e.createInside.element("br");return t.appendChild(r),!0}return o}},46066:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(5162),t),n.__exportStar(o(68543),t),n.__exportStar(o(80143),t),n.__exportStar(o(29353),t),n.__exportStar(o(49334),t),n.__exportStar(o(25657),t),n.__exportStar(o(77579),t)},49334:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeEmptyTextNode=void 0;var n=o(12815);t.removeEmptyTextNode=function(e,t,o,r,i,a){return n.Dom.isText(t)&&!t.nodeValue?(t===a&&e.s.isCollapsed()&&e.s.setCursorAfter(t),n.Dom.safeRemove(t),!0):o}},25657:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeInvTextNodes=void 0;var n=o(49940),r=o(12815);t.removeInvTextNodes=function(e,t,o,i,a,s){return s!==t&&r.Dom.isText(t)&&null!=t.nodeValue&&(0,n.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue)?(t.nodeValue=t.nodeValue.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),""),t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||r.Dom.safeRemove(t),!0):o}},5162:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceOldTags=void 0;var n=o(12815);t.replaceOldTags=function(e,t,o){var r=function(e,t,o){if(!o||!n.Dom.isHTMLElement(t))return t;var r=o[t.nodeName.toLowerCase()]||o[t.nodeName];return r?n.Dom.replace(t,r,e.createInside,!0,!1):t}(e,t,e.o.cleanHTML.replaceOldTags);return t!==r?(t=r,!0):o}},77579:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeAttributes=void 0;var n=o(12815),r=o(16892);t.sanitizeAttributes=function(e,t,o){return!(!n.Dom.isElement(t)||!(0,r.sanitizeHTMLElement)(t,{safeJavaScriptLink:e.options.cleanHTML.safeJavaScriptLink,removeOnError:e.options.cleanHTML.removeOnError}))||o}},29353:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tryRemoveNode=void 0;var n=o(12815),r=o(49940),i=o(78097);t.tryRemoveNode=function(e,t,o,a,s,l){return function(e,t,o,a,s){return!(n.Dom.isText(t)||!(a&&!a[t.nodeName]||s&&s[t.nodeName]))||e.o.cleanHTML.removeEmptyElements&&n.Dom.isElement(t)&&null!=t.nodeName.match(r.IS_INLINE)&&!n.Dom.isTemporary(t)&&0===(0,i.trim)(t.innerHTML).length&&(null==o||!n.Dom.isOrContains(t,o))}(e,t,l,a,s)?(n.Dom.safeRemove(t),!0):o}},42949:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visitNodeWalker=void 0;var n=o(52784),r=o(46066),i=Object.keys(r);t.visitNodeWalker=function(e,t,o,a,s){var l,c,u=!1,d=e.o.cleanHTML.disableCleanFilter;try{for(var p=n.__values(i),f=p.next();!f.done;f=p.next()){var h=f.value;if(!(d&&d.has(h)||(u=(0,r[h])(e,t,u,o,a,s),t.isConnected)))return!0}}catch(e){l={error:e}}finally{try{f&&!f.done&&(c=p.return)&&c.call(p)}finally{if(l)throw l.error}}return u}},85049:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clipboard=void 0;var n=o(49940),r=o(16892),i=o(58706);o(39077);var a=function(){function e(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}return e.prototype.init=function(e){var t;null===(t=this.buttons)||void 0===t||t.forEach((function(t){return e.registerButton(t)})),e.e.off("copy.".concat(n.CLIPBOARD_ID," cut.").concat(n.CLIPBOARD_ID)).on("copy.".concat(n.CLIPBOARD_ID," cut.").concat(n.CLIPBOARD_ID),(function(t){var o,i=e.s.html,a=(0,r.getDataTransfer)(t)||(0,r.getDataTransfer)(e.ew)||(0,r.getDataTransfer)(t.originalEvent);a&&(a.setData(n.TEXT_PLAIN,(0,r.stripTags)(i)),a.setData(n.TEXT_HTML,i)),e.buffer.set(n.CLIPBOARD_ID,i),e.e.fire("pasteStack",{html:i,action:e.o.defaultActionOnPaste||n.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),null===(o=null==e?void 0:e.events)||void 0===o||o.fire("afterCopy",i)}))},e.prototype.destruct=function(e){var t,o;null===(t=null==e?void 0:e.buffer)||void 0===t||t.set(n.CLIPBOARD_ID,""),null===(o=null==e?void 0:e.events)||void 0===o||o.off("."+n.CLIPBOARD_ID)},e}();t.clipboard=a,i.pluginSystem.add("clipboard",a)},39077:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.controls.cut={command:"cut",isDisabled:function(e){return e.s.isCollapsed()},tooltip:"Cut selection"},n.Config.prototype.controls.copy={command:"copy",isDisabled:function(e){return e.s.isCollapsed()},tooltip:"Copy selection"},n.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},r.Icon.set("copy",o(41567)).set("cut",o(29129)).set("paste",o(1307)).set("select-all",o(58939))},25071:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.color=void 0;var n=o(16892),r=o(58706);function i(e){e.registerButton({name:"brush",group:"color"});var t=function(t,o,r){var i=(0,n.normalizeColor)(r);switch(t){case"background":e.s.applyStyle({backgroundColor:i||""});break;case"forecolor":e.s.applyStyle({color:i||""})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)}o(44273),t.color=i,r.pluginSystem.add("color",i)},44273:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(16892),i=o(19800),a=o(74259),s=o(12815);a.Icon.set("brush",o(23129)),n.Config.prototype.controls.brush={update:function(e,t){var o=(0,r.dataBind)(e,"color"),n=function(o,n){n&&n!==(0,r.css)(t.editor,o).toString()&&(e.state.icon.fill=n)};if(o){var i=(0,r.dataBind)(e,"color");n("color"===i?i:"background-color",o)}else{var a=t.s.current();if(a&&!e.state.disabled){var l=s.Dom.closest(a,s.Dom.isElement,t.editor)||t.editor;n("color",(0,r.css)(l,"color").toString()),n("background-color",(0,r.css)(l,"background-color").toString())}e.state.icon.fill="",e.state.activated=!1}},popup:function(e,t,o,n,a){var l="",c="",u=[],d=null;return t&&t!==e.editor&&s.Dom.isNode(t)&&(s.Dom.isElement(t)&&e.s.isCollapsed()&&!s.Dom.isTag(t,["br","hr"])&&(d=t),s.Dom.up(t,(function(e){if(s.Dom.isHTMLElement(e)){var t=(0,r.css)(e,"color",!0),o=(0,r.css)(e,"background-color",!0);if(t)return l=t.toString(),!0;if(o)return c=o.toString(),!0}}),e.editor)),u=[{name:"Background",content:(0,i.ColorPickerWidget)(e,(function(t){d?d.style.backgroundColor=t:e.execCommand("background",!1,t),(0,r.dataBind)(a,"color",t),(0,r.dataBind)(a,"color-mode","background"),n()}),c)},{name:"Text",content:(0,i.ColorPickerWidget)(e,(function(t){d?d.style.color=t:e.execCommand("forecolor",!1,t),(0,r.dataBind)(a,"color",t),(0,r.dataBind)(a,"color-mode","color"),n()}),l)}],"background"!==e.o.colorPickerDefaultTab&&(u=u.reverse()),(0,i.TabsWidget)(e,u,d)},exec:function(e,t,o){var n=o.button,i=(0,r.dataBind)(n,"color-mode"),a=(0,r.dataBind)(n,"color");if(!i)return!1;if(t&&t!==e.editor&&s.Dom.isNode(t)&&s.Dom.isElement(t))switch(i){case"color":t.style.color=a;break;case"background":t.style.backgroundColor=a}else e.execCommand("background"===i?i:"forecolor",!1,a)},tooltip:"Fill color or set the text color"}},23728:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copyFormat=void 0;var n=o(733),r=o(12815),i=o(21714),a=o(58706),s=o(74259),l="copy-format",c=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],u=function(e,t,o,n){var r=(0,i.css)(o,t);return r===n[t]&&(r=o.parentNode&&o!==e.editor&&o.parentNode!==e.editor?u(e,t,o.parentNode,n):void 0),r};function d(e){e.registerButton({name:"copyformat",group:"clipboard"}),(0,a.extendLang)(o(99340))}n.Config.prototype.controls.copyformat={exec:function(e,t,o){var n=o.button;if(t){if(e.buffer.exists(l))e.buffer.delete(l),e.e.off(e.editor,"mouseup."+l);else{var a={},s=r.Dom.up(t,(function(e){return e&&!r.Dom.isText(e)}),e.editor)||e.editor,d=e.createInside.span();e.editor.appendChild(d),c.forEach((function(e){a[e]=(0,i.css)(d,e)})),d!==e.editor&&r.Dom.safeRemove(d);var p=function(e,t,o){var n={};return t&&c.forEach((function(r){n[r]=u(e,r,t,o),r.match(/border(Style|Color)/)&&!n.borderWidth&&(n[r]=void 0)})),n}(e,s,a);e.e.on(e.editor,"mouseup."+l,(function(){e.buffer.delete(l);var t=e.s.current();t&&(r.Dom.isTag(t,"img")?(0,i.css)(t,p):e.s.applyStyle(p)),e.e.off(e.editor,"mouseup."+l)})),e.buffer.set(l,!0)}n.update()}},isActive:function(e){return e.buffer.exists(l)},tooltip:"Paint format"},t.copyFormat=d,a.pluginSystem.add("copyformat",d),s.Icon.set("copyformat",o(70209))},99340:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var n=o(64364);t.ar=n;var r=o(99982);t.cs_cz=r;var i=o(20746);t.de=i;var a=o(37215);t.es=a;var s=o(88559);t.fa=s;var l=o(69346);t.fr=l;var c=o(6127);t.he=c;var u=o(74340);t.hu=u;var d=o(29999);t.id=d;var p=o(52210);t.it=p;var f=o(60420);t.ja=f;var h=o(52096);t.ko=h;var m=o(32257);t.nl=m;var v=o(94887);t.pl=v;var g=o(14704);t.pt_br=g;var y=o(65108);t.ru=y;var b=o(44704);t.tr=b;var _=o(13100);t.zh_cn=_;var w=o(59483);t.zh_tw=w},82840:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.draggableTags=["img","jodit-media","jodit"]},5032:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dragAndDropElement=void 0;var n,r=o(52784),i=o(16892),a=o(43464),s=o(96582),l=o(58706),c=o(51923);o(82840),function(e){e[e.IDLE=0]="IDLE",e[e.WAIT_DRAGGING=1]="WAIT_DRAGGING",e[e.DRAGGING=2]="DRAGGING"}(n||(n={}));var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dragList=[],t.draggable=null,t.isCopyMode=!1,t.diffStep=10,t.startX=0,t.startY=0,t.state=n.IDLE,t}return r.__extends(t,e),t.prototype.afterInit=function(){this.dragList=this.j.o.draggableTags?(0,i.splitArray)(this.j.o.draggableTags).filter(Boolean).map((function(e){return e.toLowerCase()})):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)},t.prototype.onDragStart=function(e){var t=this;if("dragstart"===e.type&&this.draggable)return!1;if(n.IDLE>=this.state){var o=e.target;if(this.dragList.length&&o){var r=function(e){return Boolean(e&&t.dragList.includes(e.nodeName.toLowerCase()))},a=s.Dom.furthest(o,r,this.j.editor)||(r(o)?o:null);a&&(s.Dom.isTag(a.parentElement,"a")&&a.parentElement.firstChild===a&&a.parentElement.lastChild===a&&(a=a.parentElement),this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=(0,i.ctrlKey)(e),this.draggable=a.cloneNode(!0),(0,i.dataBind)(this.draggable,"target",a),this.state=n.WAIT_DRAGGING,this.addDragListeners())}}},t.prototype.onDrag=function(e){var o,r;if(this.draggable&&this.state!==n.IDLE){var a=e.clientY;if(this.state!==n.WAIT_DRAGGING||Math.sqrt(Math.pow(e.clientX-this.startX,2)+Math.pow(a-this.startY,2))>=this.diffStep){if(this.state===n.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=n.DRAGGING),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){var s=(0,i.dataBind)(this.draggable,"target");(0,i.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:null!==(o=null==s?void 0:s.offsetWidth)&&void 0!==o?o:100,height:null!==(r=null==s?void 0:s.offsetHeight)&&void 0!==r?r:100}),(0,l.getContainer)(this.j,t).appendChild(this.draggable)}(0,i.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}},t.prototype.onDragEnd=function(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=n.IDLE,this.draggable&&(s.Dom.safeRemove(this.draggable),this.draggable=null))},t.prototype.onDrop=function(){if(this.draggable&&this.state>=n.DRAGGING){var e=(0,i.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));var t=e.parentElement;this.j.s.insertNode(e,!0,!1),t&&s.Dom.isEmpty(t)&&!s.Dom.isTag(t,["td","th"])&&s.Dom.safeRemove(t),s.Dom.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}else this.onDragEnd()},t.prototype.addDragListeners=function(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)},t.prototype.removeDragListeners=function(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)},t.prototype.beforeDestruct=function(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()},r.__decorate([c.autobind],t.prototype,"onDragStart",null),r.__decorate([(0,c.throttle)((function(e){return e.defaultTimeout/10}))],t.prototype,"onDrag",null),r.__decorate([c.autobind],t.prototype,"onDragEnd",null),r.__decorate([c.autobind],t.prototype,"onDrop",null),t}(a.Plugin);t.dragAndDropElement=u,l.pluginSystem.add("dragAndDropElement",u)},63483:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dragAndDrop=void 0;var n=o(52784),r=o(49940),i=o(12815),a=o(16892),s=o(43464),l=o(51923),c=o(23827),u=o(58706),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isFragmentFromEditor=!1,t.isCopyMode=!1,t.startDragPoint={x:0,y:0},t.draggable=null,t.bufferRange=null,t.getText=function(e){var t=(0,a.getDataTransfer)(e);return t?t.getData(r.TEXT_HTML)||t.getData(r.TEXT_PLAIN):null},t}return n.__extends(t,e),t.prototype.afterInit=function(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)},t.prototype.onDragStart=function(e){var t=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=i.Dom.isOrContains(this.j.editor,t,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,a.ctrlKey)(e),this.isFragmentFromEditor){var o=this.j.s.sel,n=o&&o.rangeCount?o.getRangeAt(0):null;n&&(this.bufferRange=n.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,(0,c.isFileBrowserFilesItem)(t)&&(t=t.querySelector("img")),i.Dom.isTag(t,"img")&&(this.draggable=t.cloneNode(!0),(0,a.dataBind)(this.draggable,"target",t)),this.addDragListeners()},t.prototype.addDragListeners=function(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)},t.prototype.removeDragListeners=function(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)},t.prototype.onDrag=function(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())},t.prototype.onDragEnd=function(){this.draggable&&(i.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()},t.prototype.onDrop=function(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;var t=this.j.s.sel,o=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null),r=null;if(!this.draggable&&o)r=this.isCopyMode?o.cloneContents():o.extractContents();else if(this.draggable)if(this.isCopyMode){var s=n.__read("1"===(0,a.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"],2),l=s[0],c=s[1];(r=this.j.createInside.element(l)).setAttribute(c,(0,a.attr)(this.draggable,"data-src")||(0,a.attr)(this.draggable,"src")||""),"a"===l&&(r.textContent=(0,a.attr)(r,c)||"")}else r=(0,a.dataBind)(this.draggable,"target");else this.getText(e)&&(r=this.j.createInside.fromHTML(this.getText(e)));t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),r&&(this.j.s.insertNode(r,!1,!1),o&&r.firstChild&&r.lastChild&&(o.setStartBefore(r.firstChild),o.setEndAfter(r.lastChild),this.j.s.selectRange(o),this.j.e.fire("synchro")),i.Dom.isTag(r,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",r)),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()},t.prototype.beforeDestruct=function(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)},n.__decorate([l.autobind],t.prototype,"onDragStart",null),n.__decorate([(0,l.throttle)((function(e){return e.defaultTimeout/10}))],t.prototype,"onDrag",null),n.__decorate([l.autobind],t.prototype,"onDragEnd",null),n.__decorate([l.autobind],t.prototype,"onDrop",null),t}(s.Plugin);t.dragAndDrop=d,u.pluginSystem.add("dragAndDrop",d)},65232:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(52784).__exportStar(o(64137),t)},64137:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeExtraBr=void 0;var n=o(12815);t.removeExtraBr=function(e,t){if(e.o.dtd.removeExtraBr&&!n.Dom.isTag(t,"br")){var o=n.Dom.furthest(t,n.Dom.isBlock,e.editor);if(o&&!n.Dom.isTag(o,["table","pre","blockquote","code"])){var r=n.Dom.isTag(t,"br")?t:n.Dom.findNotEmptySibling(t,!1);if(!n.Dom.isTag(r,"br"))return;e.s.setCursorBefore(r),n.Dom.safeRemove(r)}}}},23939:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkBlockNesting=void 0;var n=o(12815);t.checkBlockNesting=function(e,t){if(n.Dom.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&n.Dom.isBlock(t)){var o=n.Dom.furthest(e.s.current(),n.Dom.isBlock,e.editor);o&&!e.o.dtd.blockLimits[o.tagName.toLowerCase()]&&(e.s.setCursorAfter(o),n.Dom.isEmpty(o)&&n.Dom.safeRemove(o))}}},96852:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(52784).__exportStar(o(23939),t)},63094:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},41186:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784),r=o(43464),i=o(58706),a=o(31501);o(63094);var s=o(96852),l=o(65232),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.beforeDestruct=function(e){},t.prototype.__onBeforeInsertNode=function(e){var t=this;Object.keys(s).forEach((function(o){s[o](t.j,e)}))},t.prototype.__onAfterInsertNode=function(e){var t=this;Object.keys(l).forEach((function(o){l[o](t.j,e)}))},n.__decorate([(0,a.watch)(":beforeInsertNode")],t.prototype,"__onBeforeInsertNode",null),n.__decorate([(0,a.watch)(":afterInsertNode")],t.prototype,"__onAfterInsertNode",null),t}(r.Plugin);i.pluginSystem.add("dtd",c)},42712:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enter=void 0;var n=o(52784),r=o(12815),i=o(36894),a=o(49940),s=o(51923),l=o(11739),c=o(58706),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this,o=e.o.enter.toLowerCase(),n=o===a.BR.toLowerCase();e.o.enterBlock||(e.o.enterBlock=n?a.PARAGRAPH:o),e.registerCommand("enter",(function(e,o,n){return void 0===n&&(n={}),t.onEnter(n)}))},t.prototype.onEnterKeyDown=function(e){if(e.key===a.KEY_ENTER){var t=this.j,o=t.e.fire("beforeEnter",e);return void 0!==o?o:(t.s.isCollapsed()||t.execCommand("Delete"),t.s.focus(),this.onEnter(e),t.synchronizeValues(),!1)}},t.prototype.onEnter=function(e){var t=this.j,o=this.getCurrentOrFillEmpty(t);(0,l.moveCursorOutFromSpecialTags)(t,o,["a"]);var n=(0,l.getBlockWrapper)(t,o),i=r.Dom.isTag(n,"li");return!!(i&&!(null==e?void 0:e.shiftKey)||(0,l.checkBR)(t,o,null==e?void 0:e.shiftKey))&&(n||(0,l.hasPreviousBlock)(t,o)||(n=(0,l.wrapText)(t,o)),n&&n!==o?!!(0,l.checkUnsplittableBox)(t,n)&&(i&&r.Dom.isEmpty(n)?((0,l.processEmptyLILeaf)(t,n),!1):void(0,l.splitFragment)(t,n)):((0,l.insertParagraph)(t,null,i?"li":t.o.enter),!1))},t.prototype.getCurrentOrFillEmpty=function(e){var t=e.s,o=t.current(!1);return o&&o!==e.editor||(o=e.createInside.text(a.INVISIBLE_SPACE),t.insertNode(o,!1,!1),t.select(o)),o},t.prototype.beforeDestruct=function(e){e.e.off("keydown.enter")},n.__decorate([(0,s.watch)(":keydown.enter")],t.prototype,"onEnterKeyDown",null),t}(i.Plugin);t.enter=u,c.pluginSystem.add("enter",u)},18749:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkBR=void 0;var n=o(12815),r=o(6517),i=o(49940);t.checkBR=function(e,t,o){var a=n.Dom.closest(t,["pre","blockquote"],e.editor);if(e.o.enter.toLowerCase()===i.BR.toLowerCase()||o&&!a||!o&&a){var s=e.createInside.element("br");e.s.insertNode(s,!1,!1),n.Dom.findNotEmptySibling(s,!1)||n.Dom.after(s,s.cloneNode());var l=e.s.range;return l.setStartAfter(s),l.collapse(!0),e.s.selectRange(l),(0,r.scrollIntoViewIfNeeded)(s,e.editor,e.ed),!1}return!0}},16087:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkUnsplittableBox=void 0;var n=o(12815);t.checkUnsplittableBox=function(e,t){var o=e.s;if(!n.Dom.canSplitBlock(t)){var r=e.createInside.element("br");return o.insertNode(r,!1,!1),o.setCursorAfter(r),!1}return!0}},13353:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockWrapper=void 0;var n=o(49940),r=o(12815);t.getBlockWrapper=function e(t,o,i){void 0===i&&(i=n.IS_BLOCK);var a=o,s=t.editor;do{if(!a||a===s)break;if(i.test(a.nodeName))return r.Dom.isTag(a,"li")?a:e(t,a.parentNode,/^li$/i)||a;a=a.parentNode}while(a&&a!==s);return null}},1886:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasPreviousBlock=void 0;var n=o(12815);t.hasPreviousBlock=function(e,t){return Boolean(n.Dom.prev(t,(function(e){return n.Dom.isBlock(e)||n.Dom.isImage(e)}),e.editor))}},11739:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(18749),t),n.__exportStar(o(16087),t),n.__exportStar(o(90869),t),n.__exportStar(o(13353),t),n.__exportStar(o(1886),t),n.__exportStar(o(62416),t),n.__exportStar(o(90265),t),n.__exportStar(o(83012),t),n.__exportStar(o(21860),t)},62416:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.insertParagraph=void 0;var n=o(12815),r=o(6517);t.insertParagraph=function(e,t,o,i){var a,s,l=e.s,c=e.createInside,u=c.element(o),d=c.element("br");u.appendChild(d),i&&i.cssText&&u.setAttribute("style",i.cssText),t&&t.isConnected?(n.Dom.before(t,u),n.Dom.safeRemove(t)):l.insertNode(u,!1,!1);var p=l.createRange();return p.setStartBefore("br"!==o.toLowerCase()?d:u),p.collapse(!0),null===(a=l.sel)||void 0===a||a.removeAllRanges(),null===(s=l.sel)||void 0===s||s.addRange(p),(0,r.scrollIntoViewIfNeeded)(u,e.editor,e.ed),u}},21860:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveCursorOutFromSpecialTags=void 0;var n=o(12815);t.moveCursorOutFromSpecialTags=function(e,t,o){var r=e.s,i=n.Dom.closest(t,o,e.editor);i&&(r.cursorOnTheRight(i)?r.setCursorAfter(i):r.cursorOnTheLeft(i)&&r.setCursorBefore(i))}},90869:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processEmptyLILeaf=void 0;var n=o(12815),r=o(18365),i=o(62416);t.processEmptyLILeaf=function(e,t){var o=n.Dom.closest(t,["ol","ul"],e.editor);if(o){var a=o.parentElement,s=n.Dom.isTag(a,"li"),l=s?a:o,c=e.s.createRange();c.setStartAfter(t),c.setEndAfter(o);var u=c.extractContents(),d=e.createInside.fake();n.Dom.after(l,d),n.Dom.safeRemove(t),(0,r.$$)("li",o).length||n.Dom.safeRemove(o);var p=(0,i.insertParagraph)(e,d,s?"li":e.o.enter);u.querySelector("li")&&(s?p.appendChild(u):n.Dom.after(p,u))}}},90265:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitFragment=void 0;var n=o(6517),r=o(12815),i=o(62416);t.splitFragment=function(e,t){var o,a=e.s,s=e.o.enter.toLowerCase(),l=r.Dom.isTag(t,"li"),c=t.tagName.toLowerCase()===s||l,u=a.cursorOnTheRight(t),d=a.cursorOnTheLeft(t);if(!c&&(u||d))return o=u?a.setCursorAfter(t):a.setCursorBefore(t),(0,i.insertParagraph)(e,o,s),void(d&&!u&&a.setCursorIn(t,!0));var p=a.splitSelection(t);(0,n.scrollIntoViewIfNeeded)(p,e.editor,e.ed)}},83012:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapText=void 0;var n=o(12815);t.wrapText=function(e,t){var o=t;n.Dom.up(o,(function(t){t&&t.hasChildNodes()&&t!==e.editor&&(o=t)}),e.editor);var r=n.Dom.wrapInline(o,e.o.enter,e);if(n.Dom.isEmpty(r)){var i=e.createInside.element("br");r.appendChild(i),e.s.setCursorBefore(i)}return r}},16242:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.file=void 0;var n=o(733),r=o(12815),i=o(19800),a=o(58706);function s(e){e.registerButton({name:"file",group:"media"})}n.Config.prototype.controls.file={popup:function(e,t,o,n){var a=function(t,o){void 0===o&&(o=""),e.s.insertNode(e.createInside.fromHTML('<a href="'.concat(t,'" title="').concat(o,'">').concat(o||t,"</a>")))},s=null;return t&&(r.Dom.isTag(t,"a")||r.Dom.closest(t,"a",e.editor))&&(s=r.Dom.isTag(t,"a")?t:r.Dom.closest(t,"a",e.editor)),(0,i.FileSelectorWidget)(e,{filebrowser:function(e){e.files&&e.files.forEach((function(t){return a(e.baseurl+t)})),n()},upload:!0,url:function(e,t){s?(s.setAttribute("href",e),s.setAttribute("title",t)):a(e,t),n()}},s,n,!1)},tags:["a"],tooltip:"Insert file"},t.file=s,a.pluginSystem.add("file",s)},78835:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.focus=void 0;var n=o(733),r=o(96582),i=o(58706);function a(e){e.o.saveSelectionOnBlur&&e.e.on("blur",(function(){e.isEditorMode()&&e.s.save(!0)})).on("focus",(function(){e.s.restore()}));var t=function(){if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){var t=r.Dom.last(e.editor,(function(e){return r.Dom.isText(e)}));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",(function(){e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())})),e.e.on("afterInit afterAddPlace",(function(){e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",(function(t){e.isEditorMode()&&t.target&&r.Dom.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))}))}))}n.Config.prototype.autofocus=!1,n.Config.prototype.cursorAfterAutofocus="end",n.Config.prototype.saveSelectionOnBlur=!0,t.focus=a,i.pluginSystem.add("focus",a)},84618:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784),r=o(733),i=o(12815),a=o(93772),s=o(74259);r.Config.prototype.defaultFontSizePoints="px",s.Icon.set("font",o(54050)).set("fontsize",o(76901)),r.Config.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size"},list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],exec:function(e,t,o){var n=o.control;return(0,a.memorizeExec)(e,t,{control:n},(function(t){var o;return"fontsize"===(null===(o=n.command)||void 0===o?void 0:o.toLowerCase())?"".concat(t).concat(e.o.defaultFontSizePoints):t}))},childTemplate:function(e,t,o){return"".concat(o).concat(e.o.defaultFontSizePoints)},tooltip:"Font size",isChildActive:function(e,t){var o,n,r=e.s.current(),s=(null===(o=t.data)||void 0===o?void 0:o.cssRule)||"font-size",l=(null===(n=t.data)||void 0===n?void 0:n.normalize)||function(t){return/pt$/i.test(t)&&"pt"===e.o.defaultFontSizePoints?t.replace(/pt$/i,""):t};if(r){var c=i.Dom.closest(r,i.Dom.isElement,e.editor)||e.editor,u=(0,a.css)(c,s);return Boolean(u&&t.args&&l(t.args[0].toString())===l(u.toString()))}return!1}},r.Config.prototype.controls.font=n.__assign(n.__assign({},r.Config.prototype.controls.fontsize),{command:"fontname",list:{"":"Default","Helvetica,sans-serif":"Helvetica","Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},childTemplate:function(e,t,o){var n=!1;try{n=-1===t.indexOf("dings")&&document.fonts.check("16px ".concat(t),o)}catch(e){}return'<span style="'.concat(n?"font-family: ".concat(t,"!important;"):"",'">').concat(o,"</span>")},data:{cssRule:"font-family",normalize:function(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")}},tooltip:"Font family"})},62718:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.font=void 0;var n=o(16892),r=o(58706);function i(e){e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});var t=function(t,o,r){switch(t){case"fontsize":e.s.applyStyle({fontSize:(0,n.normalizeSize)(r)});break;case"fontname":e.s.applyStyle({fontFamily:r})}return e.synchronizeValues(),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)}o(84618),t.font=i,r.pluginSystem.add("font",i)},53142:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatBlock=void 0;var n=o(733),r=o(71910),i=o(16892),a=o(58706);function s(e){e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",(function(t,o,n){return e.s.applyStyle(void 0,{element:n}),e.synchronizeValues(),!1}))}o(74259).Icon.set("paragraph",o(25223)),n.Config.prototype.controls.paragraph={command:"formatBlock",update:function(e,t){var o=e.control,n=t.s.current();if(n&&t.o.textIcons){var i=(r.Dom.closest(n,r.Dom.isBlock,t.editor)||t.editor).nodeName.toLowerCase(),a=o.list;e&&o.data&&o.data.currentValue!==i&&a&&a[i]&&(t.o.textIcons?e.state.text=i:e.state.icon.name=i,o.data.currentValue=i)}return!1},exec:i.memorizeExec,data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:function(e,t){var o=e.s.current();if(o){var n=r.Dom.closest(o,r.Dom.isBlock,e.editor);return Boolean(n&&n!==e.editor&&void 0!==t.args&&n.nodeName.toLowerCase()===t.args[0])}return!1},isActive:function(e,t){var o=e.s.current();if(o){var n=r.Dom.closest(o,r.Dom.isBlock,e.editor);return Boolean(n&&n!==e.editor&&void 0!==t.list&&!r.Dom.isTag(n,"p")&&void 0!==t.list[n.nodeName.toLowerCase()])}return!1},childTemplate:function(e,t,o){return"<".concat(t,' style="margin:0;padding:0"><span>').concat(e.i18n(o),"</span></").concat(t,">")},tooltip:"Insert format block"},t.formatBlock=s,a.pluginSystem.add("formatBlock",s)},86153:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(83184);var n=o(733),r=o(49940),i=o(74259);n.Config.prototype.fullsize=!1,n.Config.prototype.globalFullSize=!0,i.Icon.set("fullsize",o(95331)).set("shrink",o(34345)),n.Config.prototype.controls.fullsize={exec:function(e){e.toggleFullSize()},update:function(e,t){var o=t.isFullSize?"shrink":"fullsize";e.state.activated=t.isFullSize,t.o.textIcons?e.state.text=o:e.state.icon.name=o},tooltip:"Open in fullsize",mode:r.MODE_SOURCE+r.MODE_WYSIWYG}},8640:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullsize=void 0,o(83184);var n=o(21714),r=o(8637),i=o(58706);o(86153);var a=new Set;function s(e){e.registerButton({name:"fullsize"});var t=!1,o=0,i=0,s=!1,l=function(){var r=e.container;e.events&&(t?(o=(0,n.css)(r,"height",!0),i=(0,n.css)(r,"width",!0),(0,n.css)(r,{height:e.ow.innerHeight,width:e.ow.innerWidth}),s=!0):s&&(0,n.css)(r,{height:o||"auto",width:i||"auto"}))},c=function(o){var i=e.container,s=e.events;if(i){if(void 0===o&&(o=!i.classList.contains("jodit_fullsize")),e.setMod("fullsize",o),e.o.fullsize=o,t=o,i.classList.toggle("jodit_fullsize",o),e.toolbar&&((0,r.isJoditObject)(e)&&e.toolbarContainer.appendChild(e.toolbar.container),(0,n.css)(e.toolbar.container,"width","auto")),o?a.add(i):a.delete(i),e.o.globalFullSize&&(1===a.size&&o||0===a.size&&!o)){for(var c=i.parentNode;c&&c.nodeType!==Node.DOCUMENT_NODE&&c.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)c.classList.toggle("jodit_fullsize-box_true",o),c=c.parentNode;l()}s.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",l),e.e.on("afterInit afterOpen",(function(){var t;e.toggleFullSize(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.fullsize)})).on("toggleFullSize",c).on("beforeDestruct",(function(){t&&c(!1)})).on("beforeDestruct",(function(){e.events&&e.e.off(e.ow,"resize",l)}))}t.fullsize=s,i.pluginSystem.add("fullsize",s)},12382:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},83410:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hotkeys=void 0;var n=o(52784),r=o(43464),i=o(16892),a=o(49940),s=o(58706);o(12382);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onKeyPress=function(e){var o=t.specialKeys[e.which],n=(e.key||String.fromCharCode(e.which)).toLowerCase(),r=[o||n];return["alt","ctrl","shift","meta"].forEach((function(t){e[t+"Key"]&&o!==t&&r.push(t)})),(0,i.normalizeKeyAliases)(r.join("+"))},t.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},t}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;(0,i.keys)(e.o.commandToHotkeys,!1).forEach((function(t){var o=e.o.commandToHotkeys[t];o&&((0,i.isArray)(o)||(0,i.isString)(o))&&e.registerHotkeyToCommand(o,t)}));var o=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",(function(e){if(e.key===a.KEY_ESC)return t.j.e.fire("escape",e)})).on("keydown.hotkeys",(function(n){var r=t.onKeyPress(n),i={shouldStop:!0};if(!1===t.j.e.fire(r+".hotkey",n.type,i)){if(i.shouldStop)return o=!0,e.e.stopPropagation("keydown"),!1;n.preventDefault()}}),{top:!0}).on("keyup.hotkeys",(function(){if(o)return o=!1,e.e.stopPropagation("keyup"),!1}),{top:!0})},t.prototype.beforeDestruct=function(e){e.events&&e.e.off(".hotkeys")},t}(r.Plugin);t.hotkeys=l,s.pluginSystem.add("hotkeys",l)},40028:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hr=void 0;var n=o(733),r=o(96582),i=o(58706);function a(e){e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",(function(){var t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);var o=r.Dom.closest(t.parentElement,r.Dom.isBlock,e.editor);o&&r.Dom.isEmpty(o)&&o!==e.editor&&(r.Dom.after(o,t),r.Dom.safeRemove(o));var n=r.Dom.next(t,r.Dom.isBlock,e.editor,!1);return n||(n=e.createInside.element(e.o.enter),r.Dom.after(t,n)),e.s.setCursorIn(n),!1}))}o(74259).Icon.set("hr",o(85487)),n.Config.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},t.hr=a,i.pluginSystem.add("hr",a)},95077:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.iframeBaseUrl="",n.Config.prototype.iframeTitle="Jodit Editor",n.Config.prototype.iframeDoctype="<!DOCTYPE html>",n.Config.prototype.iframeDefaultSrc="about:blank",n.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',n.Config.prototype.iframeCSSLinks=[]},73389:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iframe=void 0;var n=o(16892),r=o(16892),i=o(49940),a=o(58706);function s(e){var t=e.options;e.e.on("afterSetMode",(function(){e.isEditorMode()&&e.s.focus()})).on("generateDocumentStructure.iframe",(function(e,o){var r=e||o.iframe.contentWindow.document;if(r.open(),r.write(t.iframeDoctype+'<html dir="'.concat(t.direction,'" class="jodit" lang="').concat((0,n.defaultLanguage)(t.language),'">')+"<head>"+"<title>".concat(t.iframeTitle,"</title>")+(t.iframeBaseUrl?'<base href="'.concat(t.iframeBaseUrl,'"/>'):"")+'</head><body class="jodit-wysiwyg"></body></html>'),r.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach((function(e){var t=r.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),r.head&&r.head.appendChild(t)})),t.iframeStyle){var i=r.createElement("style");i.innerHTML=t.iframeStyle,r.head&&r.head.appendChild(i)}})).on("createEditor",(function(){if(t.iframe){var o=e.c.element("iframe");o.style.display="block",o.src="about:blank",o.className="jodit-wysiwyg_iframe",o.setAttribute("allowtransparency","true"),o.setAttribute("tabindex",t.tabIndex.toString()),o.setAttribute("frameborder","0"),e.workplace.appendChild(o),e.iframe=o;var a=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,n.callPromise)(a,(function(){if(!e.iframe)return!1;var o=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;var a=function(){(0,n.attr)(o.body,"contenteditable",e.getMode()!==i.MODE_SOURCE&&!e.getReadOnly()||null)},s=function(e){var t=/<body.*<\/body>/im,o="{%%BODY%%}",n=t.exec(e);return n&&(e=e.replace(t,o).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(o,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(t.editHTMLDocumentMode){var l=e.element.tagName;if("TEXTAREA"!==l&&"INPUT"!==l)throw(0,r.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",(function(){return s(e.o.iframeDoctype+o.documentElement.outerHTML)})).on("beforeSetNativeEditorValue",(function(t){var n=t.value;return!e.isLocked&&(/<(html|body)/i.test(n)?s(o.documentElement.outerHTML)!==s(n)&&(o.open(),o.write(e.o.iframeDoctype+s(n)),o.close(),e.editor=o.body,e.e.fire("safeHTML",e.editor),a(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):o.body.innerHTML=n,!0)}),{top:!0})}if(e.editor=o.body,e.e.on("afterSetMode afterInit afterAddPlace",a),"auto"===t.height){o.documentElement&&(o.documentElement.style.overflowY="hidden");var c=e.async.throttle((function(){if(e.editor&&e.iframe&&"auto"===t.height){var o=e.ew.getComputedStyle(e.editor),r=parseInt(o.marginTop||"0",10)+parseInt(o.marginBottom||"0",10);(0,n.css)(e.iframe,"height",e.editor.offsetHeight+r)}}),e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",c).on([e.iframe,e.ew,o.documentElement],"load",c).on(o,"readystatechange DOMContentLoaded",c),"function"==typeof ResizeObserver){var u=new ResizeObserver(c);u.observe(o.body),e.e.on("beforeDestruct",(function(){u.unobserve(o.body)}))}}return o.documentElement&&e.e.on(o.documentElement,"mousedown touchend",(function(){e.s.isFocused()||(e.s.focus(),e.editor===o.body&&e.s.setCursorIn(o.body))})).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",(function(t){var o;null===(o=e.events)||void 0===o||o.fire(e.ow,t)})),!1}))}}))}o(95077),t.iframe=s,a.pluginSystem.add("iframe",s)},1431:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},34638:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageProcessor=void 0;var n=o(52784),r=o(16892),i=o(43464),a=o(51923),s=o(49940),l=o(58706);o(1431);var c="__jodit_imageprocessor_binded",u="__jodit_imageprocessor_bindedblob-id",d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.beforeDestruct=function(e){var t,o,r=e.buffer.get(u);if(r){var i=Object.keys(r);try{for(var a=n.__values(i),s=a.next();!s.done;s=a.next())URL.revokeObjectURL(s.value)}catch(e){t={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(t)throw t.error}}e.buffer.delete(u)}},t.prototype.onAfterGetValueFromEditor=function(e,t){if(t!==s.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)},t.prototype.onBeforeSetElementValue=function(e){var t,o,r=this.jodit;if(r.o.imageProcessor.replaceDataURIToBlobIdInView){var i=r.buffer.get(u);if(i){var a=Object.keys(i);try{for(var s=n.__values(a),l=s.next();!l.done;l=s.next())for(var c=l.value;e.value.includes(c);)e.value=e.value.replace(c,i[c])}catch(e){t={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(t)throw t.error}}}}},t.prototype.afterChange=function(e){return n.__awaiter(this,void 0,Promise,(function(){var e;return n.__generator(this,(function(t){return(e=this.jodit).editor?((0,r.$$)("img",e.editor).forEach((function(t){(0,r.dataBind)(t,c)||((0,r.dataBind)(t,c,!0),t.complete||e.e.on(t,"load",(function o(){var n;!e.isInDestruct&&(null===(n=e.e)||void 0===n||n.fire("resize")),e.e.off(t,"load",o)})),t.src&&/^data:/.test(t.src)&&function(e,t){if(e.o.imageProcessor.replaceDataURIToBlobIdInView&&"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof URL){var o=t.src,n=function(e){for(var t=atob(e.split(",")[1]),o=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),r=new Uint8Array(n),i=0;t.length>i;i++)r[i]=t.charCodeAt(i);return new Blob([n],{type:o})}(o);t.src=URL.createObjectURL(n),e.e.fire("internalUpdate");var r=e.buffer.get(u)||{};r[t.src]=o,e.buffer.set(u,r)}}(e,t),e.e.on(t,"mousedown touchstart",(function(){e.s.select(t)})))})),[2]):[2]}))}))},n.__decorate([(0,a.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),n.__decorate([(0,a.watch)(":beforeSetElementValue")],t.prototype,"onBeforeSetElementValue",null),n.__decorate([(0,a.watch)([":change",":afterInit",":changePlace"]),(0,a.debounce)()],t.prototype,"afterChange",null),t}(i.Plugin);t.imageProcessor=d,l.pluginSystem.add("imageProcessor",d)},83380:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0}},6183:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageProperties=void 0;var n=o(52784);o(47164);var r=o(71910),i=o(16892),a=o(19800),s=o(24697),l=o(51923),c=o(67757),u=o(58706),d=o(8457),p=o(58916),f=o(49011);o(83380);var h=function(e){return e=(0,i.trim)(e),/^[0-9]+$/.test(e)?e+"px":e},m=function(e){return/^[-+]?[0-9.]+px$/.test(e.toString())?parseFloat(e.toString()):e},v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={image:new Image,get ratio(){return this.image.naturalWidth/this.image.naturalHeight||1},sizeIsLocked:!0,marginIsLocked:!0},t.activeTabState={__activeTab:"Image"},t}return n.__extends(t,e),t.prototype.onChangeMarginIsLocked=function(){var e=this;if(this.form){var t=(0,i.refs)(this.form),o=t.lockMargin;[t.marginRight,t.marginBottom,t.marginLeft].forEach((function(t){(0,i.attr)(t,"disabled",e.state.marginIsLocked||null)})),o.innerHTML=r.Icon.get(this.state.marginIsLocked?"lock":"unlock")}},t.prototype.onChangeSizeIsLocked=function(){if(this.form){var e=(0,i.refs)(this.form),t=e.lockSize,o=e.imageWidth;t.innerHTML=r.Icon.get(this.state.sizeIsLocked?"lock":"unlock"),t.classList.remove("jodit-properties__lock"),t.classList.remove("jodit-properties__unlock"),t.classList.add(this.state.sizeIsLocked?"jodit-properties__lock":"jodit-properties__unlock"),this.j.e.fire(o,"change")}},t.prototype.open=function(){return this.makeForm(),this.activeTabState.__activeTab="Image",this.j.e.fire("hidePopup"),(0,i.markOwner)(this.j,this.dialog.container),this.state.marginIsLocked=!0,this.state.sizeIsLocked=!0,this.onChangeMarginIsLocked(),this.onChangeSizeIsLocked(),this.updateValues(),this.dialog.open().setModal(!0).setPosition(),!1},t.prototype.makeForm=function(){var e=this;if(!this.dialog){this.dialog=this.j.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]});var t=this.j,o=t.o,n=t.i18n.bind(t),r={check:(0,s.Button)(t,"ok","Apply","primary"),remove:(0,s.Button)(t,"bin","Delete")};t.e.on(this.dialog,"afterClose",(function(){e.state.image.parentNode&&o.image.selectImageAfterClose&&t.s.select(e.state.image)})),r.remove.onAction((function(){t.s.removeNode(e.state.image),e.dialog.close()}));var l=this.dialog;l.setHeader(n("Image properties"));var c=(0,d.form)(t);this.form=c,l.setContent(c);var u=(0,i.refs)(this.form).tabsBox;u&&u.appendChild((0,a.TabsWidget)(t,[{name:"Image",content:(0,p.mainTab)(t)},{name:"Advanced",content:(0,f.positionTab)(t)}],this.activeTabState)),r.check.onAction(this.onApply);var h=(0,i.refs)(this.form),m=h.editImage;t.e.on(h.changeImage,"click",this.openImagePopup),o.image.useImageEditor&&t.e.on(m,"click",this.openImageEditor);var v=(0,i.refs)(c),g=v.lockSize,y=v.lockMargin,b=v.imageWidth,_=v.imageHeight;g&&t.e.on(g,"click",(function(){e.state.sizeIsLocked=!e.state.sizeIsLocked})),t.e.on(y,"click",(function(t){e.state.marginIsLocked=!e.state.marginIsLocked,t.preventDefault()}));var w=function(t){if((0,i.isNumeric)(b.value)&&(0,i.isNumeric)(_.value)){var o=parseFloat(b.value),n=parseFloat(_.value);t.target===b?_.value=Math.round(o/e.state.ratio).toString():b.value=Math.round(n*e.state.ratio).toString()}};t.e.on([b,_],"change keydown mousedown paste",(function(o){e.state.sizeIsLocked&&t.async.setTimeout(w.bind(e,o),{timeout:t.defaultTimeout,label:"image-properties-changeSize"})})),l.setFooter([r.remove,r.check]),l.setSize(this.j.o.image.dialogWidth)}},t.prototype.updateValues=function(){var e,t,o=this,n=this.j.o,a=this.state.image,s=(0,i.refs)(this.form),l=s.marginTop,c=s.marginRight,u=s.marginBottom,d=s.marginLeft,p=s.imageSrc,f=s.id,h=s.classes,v=s.align,g=s.style,y=s.imageTitle,b=s.imageAlt,_=s.borderRadius,w=s.imageLink,S=s.imageWidth,C=s.imageHeight,j=s.imageLinkOpenInNewTab,k=s.imageViewSrc,x=s.lockSize;s.lockMargin.checked=o.state.marginIsLocked,x.checked=o.state.sizeIsLocked,p.value=(0,i.attr)(a,"src")||"",k&&(0,i.attr)(k,"src",(0,i.attr)(a,"src")||""),function(){y.value=(0,i.attr)(a,"title")||"",b.value=(0,i.attr)(a,"alt")||"";var e=r.Dom.closest(a,"a",o.j.editor);e?(w.value=(0,i.attr)(e,"href")||"",j.checked="_blank"===(0,i.attr)(e,"target")):(w.value="",j.checked=!1)}(),e=(0,i.attr)(a,"width")||(0,i.css)(a,"width",!0)||!1,t=(0,i.attr)(a,"height")||(0,i.css)(a,"height",!0)||!1,S.value=!1!==e?m(e).toString():a.offsetWidth.toString(),C.value=!1!==t?m(t).toString():a.offsetHeight.toString(),o.state.sizeIsLocked=function(){if(!(0,i.isNumeric)(S.value)||!(0,i.isNumeric)(C.value))return!1;var e=parseFloat(S.value),t=parseFloat(C.value);return 1>Math.abs(e-t*o.state.ratio)}(),function(){if(n.image.editMargins){var e=!0,t=!1;[l,c,u,d].forEach((function(o){var n=(0,i.attr)(o,"data-ref")||"",r=a.style.getPropertyValue((0,i.kebabCase)(n));if(!r)return t=!0,void(o.value="");/^[0-9]+(px)?$/.test(r)&&(r=parseInt(r,10)),o.value=r.toString()||"",(t&&o.value||e&&"marginTop"!==n&&o.value!==l.value)&&(e=!1)})),o.state.marginIsLocked=e}}(),h.value=((0,i.attr)(a,"class")||"").replace(/jodit_focused_image[\s]*/,""),f.value=(0,i.attr)(a,"id")||"",_.value=(parseInt(a.style.borderRadius||"0",10)||"0").toString(),a.style.cssFloat&&-1!==["left","right"].indexOf(a.style.cssFloat.toLowerCase())?v.value=(0,i.css)(a,"float"):"block"===(0,i.css)(a,"display")&&"auto"===a.style.marginLeft&&"auto"===a.style.marginRight&&(v.value="center"),g.value=(0,i.attr)(a,"style")||""},t.prototype.onApply=function(){var e=(0,i.refs)(this.form),t=e.imageSrc,o=e.borderRadius,n=e.imageTitle,a=e.imageAlt,s=e.imageLink,l=e.imageWidth,c=e.imageHeight,u=e.marginTop,d=e.marginRight,p=e.marginBottom,f=e.marginLeft,m=e.imageLinkOpenInNewTab,v=e.align,g=e.classes,y=e.id,b=this.j.o,_=this.state.image;if(b.image.editStyle&&(0,i.attr)(_,"style",e.style.value||null),!t.value)return r.Dom.safeRemove(_),void this.dialog.close();(0,i.attr)(_,"src",t.value),_.style.borderRadius="0"!==o.value&&/^[0-9]+$/.test(o.value)?o.value+"px":"",(0,i.attr)(_,"title",n.value||null),(0,i.attr)(_,"alt",a.value||null);var w=r.Dom.closest(_,"a",this.j.editor);if(s.value?(w||(w=r.Dom.wrap(_,"a",this.j.createInside)),(0,i.attr)(w,"href",s.value),(0,i.attr)(w,"target",m.checked?"_blank":null)):w&&w.parentNode&&w.parentNode.replaceChild(_,w),l.value!==_.offsetWidth.toString()||c.value!==_.offsetHeight.toString()){var S=(0,i.trim)(l.value)?h(l.value):null,C=(0,i.trim)(c.value)?h(c.value):null;(0,i.css)(_,{width:S,height:C}),(0,i.attr)(_,"width",(0,i.attr)(_,"width")?S:null),(0,i.attr)(_,"height",(0,i.attr)(_,"height")?C:null)}var j=[u,d,p,f];b.image.editMargins&&(this.state.marginIsLocked?(0,i.css)(_,"margin",h(u.value)):j.forEach((function(e){var t=(0,i.attr)(e,"data-ref")||"";(0,i.css)(_,t,h(e.value))}))),b.image.editClass&&(0,i.attr)(_,"class",g.value||null),b.image.editId&&(0,i.attr)(_,"id",y.value||null),b.image.editAlign&&(0,i.hAlignElement)(_,v.value),this.j.synchronizeValues(),this.dialog.close()},t.prototype.openImageEditor=function(){var e=this,t=(0,i.attr)(this.state.image,"src")||"",o=this.j.c.element("a"),n=function(){o.host===location.host||e.j.confirm("You can only edit your own images. Download this image on the host?",(function(t){t&&e.j.uploader&&e.j.uploader.uploadRemoteImage(o.href.toString(),(function(t){e.j.alert("The image has been successfully uploaded to the host!",(function(){(0,i.isString)(t.newfilename)&&((0,i.attr)(e.state.image,"src",t.baseurl+t.newfilename),e.updateValues())}))}),(function(t){e.j.alert("There was an error loading %s",t.message)}))}))};o.href=t,this.j.filebrowser.dataProvider.getPathByUrl(o.href.toString()).then((function(n){c.openImageEditor.call(e.j.filebrowser,o.href,n.name,n.path,n.source,(function(){var o=(new Date).getTime();(0,i.attr)(e.state.image,"src",t+(-1!==t.indexOf("?")?"":"?")+"&_tmp="+o.toString()),e.updateValues()}),(function(t){e.j.alert(t.message)}))})).catch((function(t){e.j.alert(t.message,n)}))},t.prototype.openImagePopup=function(e){var t=this,o=new r.Popup(this.j),n=(0,i.refs)(this.form).changeImage;o.setZIndex(this.dialog.getZIndex()+1),o.setContent((0,a.FileSelectorWidget)(this.j,{upload:function(e){e.files&&e.files.length&&(0,i.attr)(t.state.image,"src",e.baseurl+e.files[0]),t.updateValues(),o.close()},filebrowser:function(e){e&&(0,i.isArray)(e.files)&&e.files.length&&((0,i.attr)(t.state.image,"src",e.files[0]),o.close(),t.updateValues())}},this.state.image,o.close)).open((function(){return(0,i.position)(n)})),e.stopPropagation()},t.prototype.afterInit=function(e){var t=this,o=this;e.e.on("afterConstructor changePlace",(function(){e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",(function(n){var i=n.target;if(r.Dom.isTag(i,"img"))if(e.o.image.openOnDblClick){if(!1===t.j.e.fire("openOnDblClick",i))return;o.state.image=i,e.o.readonly||(n.stopImmediatePropagation(),n.preventDefault(),o.open())}else n.stopImmediatePropagation(),e.s.select(i)}))})).on("openImageProperties.imageproperties",(function(e){t.state.image=e,t.open()}))},t.prototype.beforeDestruct=function(e){this.dialog&&this.dialog.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")},n.__decorate([(0,l.watch)("state.marginIsLocked")],t.prototype,"onChangeMarginIsLocked",null),n.__decorate([(0,l.watch)("state.sizeIsLocked")],t.prototype,"onChangeSizeIsLocked",null),n.__decorate([l.autobind],t.prototype,"onApply",null),n.__decorate([l.autobind],t.prototype,"openImageEditor",null),n.__decorate([l.autobind],t.prototype,"openImagePopup",null),t}(r.Plugin);t.imageProperties=v,u.pluginSystem.add("imageProperties",v)},8457:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.form=void 0;var n=o(74259);t.form=function(e){var t=e.o.image,o=t.showPreview,r=t.editSize,i=n.Icon.get.bind(n.Icon);return e.c.fromHTML('<form class="jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-2-5 jodit_col-xs-5-5">\n\t\t\t\t<div class="jodit-properties_view_box">\n\t\t\t\t\t<div style="'.concat(o?"":"display:none",'" class="jodit-properties_image_view">\n\t\t\t\t\t\t<img data-ref="imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div style="').concat(r?"":"display:none",'" class="jodit-form__group jodit-properties_image_sizes">\n\t\t\t\t\t\t<input data-ref="imageWidth" type="text" class="jodit-input"/>\n\t\t\t\t\t\t<a data-ref="lockSize" class="jodit-properties__lock">').concat(i("lock"),'</a>\n\t\t\t\t\t\t<input data-ref="imageHeight" type="text" class="imageHeight jodit-input"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div data-ref="tabsBox" class="jodit_col-lg-3-5 jodit_col-xs-5-5"></div>\n\t\t</div>\n\t</form>'))}},58916:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mainTab=void 0;var n=o(74259);t.mainTab=function(e){var t=e.o,o=e.i18n.bind(e),r=n.Icon.get.bind(n.Icon),i=t.filebrowser.ajax.url||t.uploader.url,a=t.image.useImageEditor;return e.c.fromHTML('<div style="'.concat(t.image.editSrc?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Src"),'</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input data-ref="imageSrc" class="jodit-input" type="text"/>\n\t\t\t\t<div\n\t\t\t\t\tclass="jodit-input_group-buttons"\n\t\t\t\t\tstyle="').concat(i?"":"display: none",'"\n\t\t\t\t>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="changeImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t>').concat(r("image"),'</a>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="editImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t\tstyle="').concat(a?"":"display: none",'"\n\t\t\t\t\t\t>').concat(r("crop"),'</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div style="').concat(t.image.editTitle?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Title"),'</label>\n\t\t\t<input data-ref="imageTitle" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editAlt?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Alternative"),'</label>\n\t\t\t<input data-ref="imageAlt" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editLink?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Link"),'</label>\n\t\t\t<input data-ref="imageLink" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editLink?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input data-ref="imageLinkOpenInNewTab" type="checkbox" class="jodit-checkbox"/>\n\t\t\t\t<span>').concat(o("Open link in new tab"),"</span>\n\t\t\t</label>\n\t\t</div>"))}},49011:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.positionTab=void 0;var n=o(74259);t.positionTab=function(e){var t=e.o,o=e.i18n.bind(e),r=n.Icon.get.bind(n.Icon);return e.c.fromHTML('<div style="'.concat(t.image.editMargins?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Margins"),'</label>\n\t\t\t<div class="jodit-grid jodit_vertical_middle">\n\t\t\t\t<input class="jodit_col-lg-1-5 jodit-input" data-ref="marginTop" type="text" placeholder="').concat(o("top"),'"/>\n\t\t\t\t<a style="text-align: center;" data-ref="lockMargin" class="jodit-properties__lock jodit_col-lg-1-5">').concat(r("lock"),'</a>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginRight" type="text" placeholder="').concat(o("right"),'"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginBottom" type="text" placeholder="').concat(o("bottom"),'"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginLeft" type="text" placeholder="').concat(o("left"),'"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="').concat(t.image.editAlign?"":"display:none",'"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>').concat(o("Align"),'</label>\n\t\t\t<select data-ref="align" class="jodit-select">\n\t\t\t\t<option value="">').concat(o("--Not Set--"),'</option>\n\t\t\t\t<option value="left">').concat(o("Left"),'</option>\n\t\t\t\t<option value="center">').concat(o("Center"),'</option>\n\t\t\t\t<option value="right">').concat(o("Right"),'</option>\n\t\t\t</select>\n\t\t</div>\n\t\t<div style="').concat(t.image.editStyle?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Styles"),'</label>\n\t\t\t<input data-ref="style" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editClass?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(o("Classes"),'</label>\n\t\t\t<input data-ref="classes" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editId?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>Id</label>\n\t\t\t<input data-ref="id" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="').concat(t.image.editBorderRadius?"":"display:none",'"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>').concat(o("Border radius"),'</label>\n\t\t\t\t<input data-ref="borderRadius" type="number" class="jodit-input"/>\n\t\t</div>'))}},82582:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.image=void 0;var n=o(52784),r=o(96582),i=o(16892),a=o(19800),s=o(733),l=o(58706);function c(e){e.registerButton({name:"image",group:"media"})}o(74259).Icon.set("image",o(25249)),s.Config.prototype.controls.image={popup:function(e,t,o,s){var l=null;return t&&!r.Dom.isText(t)&&r.Dom.isHTMLElement(t)&&(r.Dom.isTag(t,"img")||(0,i.$$)("img",t).length)&&(l=r.Dom.isTag(t,"img")?t:(0,i.$$)("img",t)[0]),e.s.save(),(0,a.FileSelectorWidget)(e,{filebrowser:function(t){e.s.restore(),t.files&&t.files.forEach((function(o){return e.s.insertImage(t.baseurl+o,null,e.o.imageDefaultWidth)})),s()},upload:!0,url:function(t,o){return n.__awaiter(void 0,void 0,void 0,(function(){var r;return n.__generator(this,(function(n){switch(n.label){case 0:return e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t),(r=l||e.createInside.element("img")).setAttribute("src",t),r.setAttribute("alt",o),l?[3,2]:[4,e.s.insertImage(r,null,e.o.imageDefaultWidth)];case 1:n.sent(),n.label=2;case 2:return s(),[2]}}))}))}},l,s)},tags:["img"],tooltip:"Insert Image"},t.image=c,l.pluginSystem.add("image",c)},14259:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(96582),i=o(74259),a=o(86061);i.Icon.set("indent",o(38471)).set("outdent",o(10580)),n.Config.prototype.controls.indent={tooltip:"Increase Indent"},n.Config.prototype.controls.outdent={isDisabled:function(e){var t=e.s.current();if(t){var o=r.Dom.closest(t,r.Dom.isBlock,e.editor);if(o){var n=(0,a.getKey)(e.o.direction,o);return!o.style[n]||0>=parseInt(o.style[n],10)}}return!0},tooltip:"Decrease Indent"},n.Config.prototype.indentMargin=10},86061:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getKey=void 0;var n=o(12815);t.getKey=function(e,t){return"".concat(n.Dom.isCell(t)?"padding":"margin").concat("rtl"===e?"Right":"Left")}},81769:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.indent=void 0;var n=o(49940),r=o(96582),i=o(16892),a=o(58706);o(14259);var s=o(86061);function l(e){e.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});var t=function(t){var o=[];return e.s.eachSelection((function(a){e.s.save();var l=!!a&&r.Dom.up(a,r.Dom.isBlock,e.editor),c=e.o.enter;if(!l&&a&&(l=r.Dom.wrapInline(a,c!==n.BR?c:n.PARAGRAPH,e)),!l)return e.s.restore(),!1;var u=o.includes(l);if(l&&!u){var d=(0,s.getKey)(e.o.direction,l);o.push(l);var p=l.style[d]?parseInt(l.style[d],10):0;l.style[d]=(p+=e.o.indentMargin*("outdent"===t?-1:1))>0?p+"px":"",(0,i.attr)(l,"style")||(0,i.attr)(l,"style",null)}e.s.restore()})),e.synchronizeValues(),!1};e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})}t.indent=l,a.pluginSystem.add("indent",l)},74751:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(63779),o(90770),o(98677),o(67414),o(93146),o(16042),o(85049),o(25071),o(23728),o(63483),o(5032),o(42712),o(16242),o(78835),o(62718),o(53142),o(8640),o(83410),o(40028),o(73389),o(82582),o(34638),o(6183),o(81769),o(41163),o(31239),o(569),o(95662),o(42844),o(36355),o(68972),o(39778),o(61720),o(86813),o(1485),o(81774),o(96761),o(64148),o(54545),o(53902),o(82376),o(55991),o(94915),o(77394),o(67155),o(66064),o(60145),o(9427),o(15834),o(21056),o(59127),o(77518),o(4702),o(5280),o(26222),o(15126),o(65028),o(15771),o(41186),o(97964)},91265:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.toolbarInline=!0,n.Config.prototype.toolbarInlineForSelection=!1,n.Config.prototype.toolbarInlineDisableFor=[],n.Config.prototype.toolbarInlineDisabledButtons=["source"],r.Icon.set("addcolumn",o(28972)).set("addrow",o(40732)).set("merge",o(39822)).set("th",o(59203)).set("splitg",o(62724)).set("splitv",o(4087)).set("th-list",o(16500)),n.Config.prototype.popup={a:o(77115).Z,img:o(36461).default,cells:o(59050).Z,toolbar:o(68179).Z,jodit:o(84757).Z,iframe:o(84757).Z,"jodit-media":o(84757).Z,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},77115:function(e,t,o){"use strict";var n=o(93772);t.Z=[{name:"eye",tooltip:"Open link",exec:function(e,t){var o=(0,n.attr)(t,"href");t&&o&&e.ow.open(o)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},59050:function(e,t,o){"use strict";var n=o(74699),r=o(21714),i=o(19800),a=function(e){return e.args&&(0,n.isString)(e.args[0])?e.args[0].toLowerCase():""};t.Z=[{name:"brush",popup:function(e,t,o,a){if((0,n.isJoditObject)(e)){var s=e.getInstance("Table",e.o).getAllSelectedCells();if(!s.length)return!1;var l=function(t){return(0,i.ColorPickerWidget)(e,(function(o){s.forEach((function(e){(0,r.css)(e,t,o)})),e.lock(),e.synchronizeValues(),a(),e.unlock()}),(0,r.css)(s[0],t))};return(0,i.TabsWidget)(e,[{name:"Background",content:l("background-color")},{name:"Text",content:l("color")},{name:"Border",content:l("border-color")}])}},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:function(e,t,o){return o},exec:function(e,t,o){var n=a(o.control);e.getInstance("Table",e.o).getAllSelectedCells().forEach((function(e){(0,r.css)(e,"vertical-align","normal"===n?"":n)}))},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:function(e,t,o){var r=o.control;if((0,n.isJoditObject)(e)){var i=a(r);e.execCommand(i,!1,t)}},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(e,t,o){var r=o.control;if((0,n.isJoditObject)(e)){var i=a(r);e.execCommand(i,!1,t)}},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:function(e,t,o){var r=o.control;if((0,n.isJoditObject)(e)){var i=a(r);e.execCommand(i,!1,t),e.e.fire("hidePopup")}},tooltip:"Delete"}]},84757:function(e,t,o){"use strict";var n=o(36461);t.Z=[{name:"bin",tooltip:"Delete",exec:function(e,t){t&&e.s.removeNode(t)}},n.align]},36461:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.align=void 0;var n=o(96582),r=o(57348),i=o(21714),a=o(18578);t.align={name:"left",childTemplate:function(e,t,o){return o},list:["Left","Right","Center","Normal"],exec:function(e,t,o){var i=o.control;if(n.Dom.isTag(t,["img","jodit","jodit-media"])){var s=i.args&&(0,r.isString)(i.args[0])?i.args[0].toLowerCase():"";if(!s)return!1;(0,a.hAlignElement)(t,s),n.Dom.isTag(t,["jodit","jodit-media"])&&t.firstElementChild&&(0,a.hAlignElement)(t.firstElementChild,s),e.synchronizeValues(),e.e.fire("recalcPositionPopup")}},tooltip:"Horizontal align"},t.default=[{name:"delete",icon:"bin",tooltip:"Delete",exec:function(e,t){t&&e.s.removeNode(t)}},{name:"pencil",exec:function(e,t){"img"===t.tagName.toLowerCase()&&e.e.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec:function(e,t,o){var a=o.control;if(n.Dom.isTag(t,"img")){var s=a.args&&(0,r.isString)(a.args[0])?a.args[0].toLowerCase():"";if(!s)return!1;(0,i.css)(t,"vertical-align","normal"===s?"":s),e.e.fire("recalcPositionPopup")}}},t.align]},68179:function(e,t){"use strict";t.Z=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},41163:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inlinePopup=void 0;var n=o(52784);o(63729);var r=o(43464),i=o(75901),a=o(88153),s=o(16892),l=o(96582),c=o(98440),u=o(51923),d=o(58706);o(91265);var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["select"],t.type=null,t.popup=new a.Popup(t.jodit,!1),t.toolbar=(0,i.makeCollection)(t.jodit,t.popup),t.snapRange=null,t.elmsList=(0,s.keys)(t.j.o.popup,!1).filter((function(e){return!t.isExcludedTarget(e)})),t}return n.__extends(t,e),t.prototype.onClick=function(e){var t=this,o=this.elmsList,n=l.Dom.isTag(e,"img")?e:l.Dom.closest(e,o,this.j.editor);if(n&&this.canShowPopupForType(n.nodeName.toLowerCase()))return this.showPopup((function(){return(0,s.position)(n,t.j)}),n.nodeName.toLowerCase(),n),!1},t.prototype.showPopup=function(e,t,o){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||o!==this.previousTarget){this.previousTarget=o;var n=this.j.o.popup[t],r=void 0;r=(0,s.isFunction)(n)?n(this.j,o,this.popup.close):n,(0,s.isArray)(r)&&(this.toolbar.build(r,o),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,r=this.toolbar.container),this.popup.setContent(r),this.type=t}return this.popup.open(e),!0},t.prototype.hidePopup=function(e){(0,s.isString)(e)&&e!==this.type||this.popup.close()},t.prototype.onOutsideClick=function(){this.popup.close()},t.prototype.canShowPopupForType=function(e){var t=this.j.o.popup[e.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!t||this.isExcludedTarget(e))},t.prototype.isExcludedTarget=function(e){return(0,s.splitArray)(this.j.o.toolbarInlineDisableFor).map((function(e){return e.toLowerCase()})).includes(e.toLowerCase())},t.prototype.afterInit=function(e){var t=this;this.j.e.on("getDiffButtons.mobile",(function(o){if(t.toolbar===o){var n=t.toolbar.getButtonsNames();return(0,s.toArray)(e.registeredButtons).filter((function(e){return!t.j.o.toolbarInlineDisabledButtons.includes(e.name)})).filter((function(e){var t=(0,s.isString)(e)?e:e.name;return t&&"|"!==t&&"\n"!==t&&!n.includes(t)}))}})).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(function(e,o,n){t.showPopup(o,n||((0,s.isString)(e)?e:e.nodeName),(0,s.isString)(e)?void 0:e)})).on("mousedown keydown",this.onSelectionStart).on("change",(function(){t.popup.isOpened&&t.previousTarget&&!t.previousTarget.parentNode&&(t.hidePopup(),t.previousTarget=void 0)})).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()},t.prototype.onSelectionStart=function(){this.snapRange=this.j.s.range.cloneRange()},t.prototype.onSelectionEnd=function(e){if(!(e&&e.target&&c.UIElement.closestElement(e.target,a.Popup))){var t=this.snapRange,o=this.j.s.range;t&&!o.collapsed&&o.startContainer===t.startContainer&&o.startOffset===t.startOffset&&o.endContainer===t.endContainer&&o.endOffset===t.endOffset||this.onSelectionChange()}},t.prototype.onSelectionChange=function(){if(this.j.o.toolbarInlineForSelection){var e="selection",t=this.j.s.sel,o=this.j.s.range;(null==t?void 0:t.isCollapsed)||this.isSelectedTarget(o)||this.tableModule.getAllSelectedCells().length?this.type===e&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup((function(){return o.getBoundingClientRect()}),e)}},t.prototype.isSelectedTarget=function(e){var t=e.startContainer;return l.Dom.isElement(t)&&t===e.endContainer&&l.Dom.isTag(t.childNodes[e.startOffset],(0,s.keys)(this.j.o.popup,!1))&&e.startOffset===e.endOffset-1},Object.defineProperty(t.prototype,"tableModule",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),t.prototype.beforeDestruct=function(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()},t.prototype._eventsList=function(){var e=this.elmsList;return e.map((function(e){return(0,s.camelCase)("click_".concat(e))})).concat(e.map((function(e){return(0,s.camelCase)("touchstart_".concat(e))}))).join(" ")},t.prototype.addListenersForElements=function(){this.j.e.on(this._eventsList(),this.onClick)},t.prototype.removeListenersForElements=function(){this.j.e.off(this._eventsList(),this.onClick)},t.prototype.showInlineToolbar=function(e){var t=this;this.showPopup((function(){return e||t.j.s.range.getBoundingClientRect()}),"toolbar")},n.__decorate([u.autobind],t.prototype,"onClick",null),n.__decorate([(0,u.wait)((function(e){return!e.j.isLocked}))],t.prototype,"showPopup",null),n.__decorate([(0,u.watch)(":clickEditor"),u.autobind],t.prototype,"hidePopup",null),n.__decorate([(0,u.watch)(":outsideClick")],t.prototype,"onOutsideClick",null),n.__decorate([u.autobind],t.prototype,"onSelectionStart",null),n.__decorate([u.autobind],t.prototype,"onSelectionEnd",null),n.__decorate([(0,u.debounce)((function(e){return e.defaultTimeout}))],t.prototype,"onSelectionChange",null),n.__decorate([u.autobind],t.prototype,"showInlineToolbar",null),t}(r.Plugin);t.inlinePopup=p,d.pluginSystem.add("inlinePopup",p)},31239:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.justify=void 0;var n=o(733),r=o(12815),i=o(21714),a=o(18578),s=o(58706);function l(e){e.registerButton({name:"align",group:"indent"});var t=function(t){return e.s.focus(),e.s.eachSelection((function(o){if(o){var n=r.Dom.up(o,r.Dom.isBlock,e.editor);n||(n=r.Dom.wrapInline(o,e.o.enterBlock,e)),(0,a.alignElement)(t,n)}})),!1};e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)}o(74259).Icon.set("justify",o(88145)),n.Config.prototype.controls.align={name:"left",tooltip:"Align",update:function(e,t){var o=e.control,n=t.s.current();if(n){var a=r.Dom.closest(n,r.Dom.isBlock,t.editor)||t.editor,s=(0,i.css)(a,"text-align").toString();o.defaultValue&&-1!==o.defaultValue.indexOf(s)&&(s="left"),o.data&&o.data.currentValue!==s&&o.list&&-1!==o.list.indexOf(s)&&(t.o.textIcons?e.state.text=s:e.state.icon.name=s,o.data.currentValue=s)}},isActive:function(e,t){var o=e.s.current();if(o&&t.defaultValue){var n=r.Dom.closest(o,r.Dom.isBlock,e.editor)||e.editor;return-1===t.defaultValue.indexOf((0,i.css)(n,"text-align").toString())}return!1},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},n.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},n.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},n.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},n.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},t.justify=l,s.pluginSystem.add("justify",l)},569:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keyArrowOutside=void 0;var n=o(52784),r=o(43464),i=o(51923),a=o(49940),s=o(12815),l=o(58706),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.beforeDestruct=function(e){},t.prototype.onKeyDownArrow=function(e){var t;if(e.key===a.KEY_RIGHT&&this.j.selection.isCollapsed()){var o=this.j.selection.range,n=o.endContainer,r=o.endOffset;if(s.Dom.isText(n)&&(null===(t=n.nodeValue)||void 0===t?void 0:t.length)===r){var i=n.parentNode;s.Dom.isInlineBlock(i)&&!s.Dom.findNotEmptyNeighbor(i,!1,this.j.editor)&&s.Dom.after(i,this.j.createInside.text(a.NBSP_SPACE))}}},n.__decorate([(0,i.watch)(":keydown")],t.prototype,"onKeyDownArrow",null),t}(r.Plugin);t.keyArrowOutside=c,l.pluginSystem.add("keyArrowOutside",c)},40270:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1},95662:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.limit=void 0;var n=o(52784),r=o(43464),i=o(49940),a=o(51923),s=o(58706);o(40270);var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this,o=e.o;if(e&&(o.limitWords||o.limitChars)){var n=null;e.e.off(".limit").on("beforePaste.limit",(function(){n=e.history.snapshot.make()})).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",(function(){if(t.__shouldDenyInput(!0)&&n)return e.history.snapshot.restore(n),e.e.fire("denyPaste.limit"),!1}))}},t.prototype.shouldPreventInsertHTML=function(e){return(!e||!(i.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)},t.prototype.__shouldDenyInput=function(e){var t=this.jodit,o=t.o,n=o.limitWords,r=o.limitChars,i=this.__splitWords(t.o.limitHTML?t.value:t.text);if(n&&c(i.length,n,e))return t.e.fire("denyWords.limit limit.limit"),!0;var a=Boolean(r&&c(i.join("").length,r,e));return a&&t.e.fire("denyChars.limit limit.limit"),a},t.prototype.checkPreventKeyPressOrPaste=function(e){if(this.shouldPreventInsertHTML(e))return!1},t.prototype.checkPreventChanging=function(e,t){var o=this.jodit;this.__shouldDenyInput(!0)&&(o.value=t)},t.prototype.__splitWords=function(e){return e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter((function(e){return e.length}))},t.prototype.beforeDestruct=function(e){e.e.off(".limit")},n.__decorate([a.autobind],t.prototype,"checkPreventKeyPressOrPaste",null),n.__decorate([a.autobind],t.prototype,"checkPreventChanging",null),t}(r.Plugin);function c(e,t,o){return o?e>t:e>=t}t.limit=l,s.pluginSystem.add("limit",l)},61467:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(16892),i=o(74259);n.Config.prototype.defaultLineHeight=null,i.Icon.set("line-height",o(21702)),n.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:function(e,t,o){return(0,r.memorizeExec)(e,t,{control:o.control},(function(e){return e}))}}},42786:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var n=o(7713);t.ar=n;var r=o(79457);t.cs_cz=r;var i=o(95551);t.de=i;var a=o(86184);t.es=a;var s=o(43418);t.fa=s;var l=o(65643);t.fr=l;var c=o(96250);t.he=c;var u=o(8754);t.hu=u;var d=o(99271);t.id=d;var p=o(26080);t.it=p;var f=o(23267);t.ja=f;var h=o(70074);t.ko=h;var m=o(51419);t.nl=m;var v=o(38179);t.pl=v;var g=o(61707);t.pt_br=g;var y=o(15035);t.ru=y;var b=o(28048);t.tr=b;var _=o(72647);t.zh_cn=_;var w=o(65107);t.zh_tw=w},42844:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineHeight=void 0;var n=o(52784),r=o(43464),i=o(16892),a=o(51923),s=o(12815),l=o(58706);o(61467);var c=function(e){function t(t){var n=e.call(this,t)||this;return n.buttons=[{name:"lineHeight",group:"font"}],(0,l.extendLang)(o(42786)),n}return n.__extends(t,e),t.prototype.afterInit=function(e){(0,i.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)},t.prototype.applyLineHeight=function(e,t,o){var n,r=this.j,a=r.s,l=r.createInside,c=r.editor,u=r.o;a.isFocused()||a.focus(),a.save();var d=function(e){var t=s.Dom.closest(e,s.Dom.isBlock,c);t||(t=s.Dom.wrap(e,u.enter,l));var r=(0,i.css)(t,"lineHeight");void 0===n&&(n=r.toString()!==o.toString()),(0,i.css)(t,"lineHeight",n?o:null)};try{if(a.isCollapsed()){var p=l.fake();a.insertNode(p,!1,!1),d(p),s.Dom.safeRemove(p)}else a.eachSelection(d)}finally{a.restore()}},t.prototype.beforeDestruct=function(e){(0,i.css)(e.editor,{lineHeight:null})},n.__decorate([a.autobind],t.prototype,"applyLineHeight",null),t}(r.Plugin);t.lineHeight=c,l.pluginSystem.add("lineHeight",c)},95927:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(77332),i=o(12815),a=o(74259);n.Config.prototype.link={formTemplate:r.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},a.Icon.set("link",o(40364)).set("unlink",o(33178)),n.Config.prototype.controls.unlink={exec:function(e,t){var o=i.Dom.closest(t,"a",e.editor);o&&i.Dom.unwrap(o),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},n.Config.prototype.controls.link={isActive:function(e){var t=e.s.current();return Boolean(t&&i.Dom.closest(t,"a",e.editor))},popup:function(e,t,o,n){return e.e.fire("generateLinkForm.link",t,n)},tags:["a"],tooltip:"Insert link"}},36355:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.link=void 0;var n=o(52784),r=o(96582),i=o(16892),a=o(43464),s=o(51923),l=o(58706);o(95927);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"link",group:"insert"}],t}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.onDblClickOnLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.generateForm),e.registerCommand("openLinkDialog",{exec:function(){var o=e.dlg({resizable:!1}),n=t.generateForm(e.s.current(),(function(){o.close()}));n.container.classList.add("jodit-dialog_alert"),o.setContent(n),o.open(),e.async.requestIdleCallback((function(){var e=(0,i.refs)(n.container).url_input;null==e||e.focus()}))},hotkeys:e.o.link.hotkeys})},t.prototype.onDblClickOnLink=function(e){if(r.Dom.isTag(e.target,"a")){var t=(0,i.attr)(e.target,"href");t&&(location.href=t,e.preventDefault())}},t.prototype.onProcessPasteLink=function(e,t){var o=this.jodit;if((0,i.isURL)(t)){if(o.o.link.processVideoLink){var n=(0,i.convertMediaUrlToVideoEmbed)(t);if(n!==t)return o.e.stopPropagation("processPaste"),o.createInside.fromHTML(n)}var r=o.createInside.element("a");return r.setAttribute("href",t),r.textContent=t,o.e.stopPropagation("processPaste"),o.e.fire("applyLink",o,r,null),r}},t.prototype.generateForm=function(e,t){var o,n=this.jodit,a=n.i18n.bind(n),s=n.o.link,l=s.openInNewTabCheckbox,c=s.noFollowCheckbox,u=s.formClassName,d=s.modeClassName,p=(0,s.formTemplate)(n),f=(0,i.isString)(p)?n.c.fromHTML(p,{target_checkbox_box:l,nofollow_checkbox_box:c}):p,h=r.Dom.isElement(f)?f:f.container,m=(0,i.refs)(h),v=m.insert,g=m.unlink,y=m.content_input_box,b=m.target_checkbox,_=m.nofollow_checkbox,w=m.url_input,S=r.Dom.isImage(e),C=m.content_input,j=m.className_input,k=m.className_select;C||(C=n.c.element("input",{type:"hidden",ref:"content_input"})),u&&h.classList.add(u),S&&r.Dom.hide(y);var x=function(){return o?o.innerText:(0,i.stripTags)(n.s.range.cloneContents(),n.ed)};if(o=!(!e||!r.Dom.closest(e,"a",n.editor))&&r.Dom.closest(e,"a",n.editor),!S&&e&&(C.value=x()),o){if(w.value=(0,i.attr)(o,"href")||"",d)switch(d){case"input":j&&(j.value=(0,i.attr)(o,"class")||"");break;case"select":if(k){for(var E=0;k.selectedOptions.length>E;E++){var P=k.options.item(E);P&&(P.selected=!1)}((0,i.attr)(o,"class")||"").split(" ").forEach((function(e){if(e)for(var t=0;k.options.length>t;t++){var o=k.options.item(t);(null==o?void 0:o.value)&&o.value===e&&(o.selected=!0)}}))}}l&&b&&(b.checked="_blank"===(0,i.attr)(o,"target")),c&&_&&(_.checked="nofollow"===(0,i.attr)(o,"rel")),v.textContent=a("Update")}else r.Dom.hide(g);n.editor.normalize();var I=n.history.snapshot.make();g&&n.e.on(g,"click",(function(e){n.s.restore(),n.history.snapshot.restore(I),o&&r.Dom.unwrap(o),n.synchronizeValues(),t(),e.preventDefault()}));var T=function(){if(!w.value.trim().length)return w.focus(),w.classList.add("jodit_error"),!1;var e;n.s.restore(),n.s.removeMarkers(),n.editor.normalize(),n.history.snapshot.restore(I);var a=x()!==C.value.trim(),s=n.createInside;if(o)e=[o];else{if(n.s.isCollapsed()){var u=s.element("a");n.s.insertNode(u,!1,!1),e=[u]}else{var p=n.s.current();e=r.Dom.isTag(p,["img"])?[r.Dom.wrap(p,"a",s)]:n.s.wrapInTag("a")}e.forEach((function(e){return n.s.select(e)}))}return e.forEach((function(e){var t;if((0,i.attr)(e,"href",w.value),d&&(null!=j?j:k))if("input"===d)""===j.value&&e.hasAttribute("class")&&(0,i.attr)(e,"class",null),""!==j.value&&(0,i.attr)(e,"class",j.value);else if("select"===d){e.hasAttribute("class")&&(0,i.attr)(e,"class",null);for(var o=0;k.selectedOptions.length>o;o++){var r=null===(t=k.selectedOptions.item(o))||void 0===t?void 0:t.value;r&&e.classList.add(r)}}if(!S){var s=e.textContent;C.value.trim().length?a&&(s=C.value):s=w.value,s!==e.textContent&&(e.textContent=s)}l&&b&&(0,i.attr)(e,"target",b.checked?"_blank":null),c&&_&&(0,i.attr)(e,"rel",_.checked?"nofollow":null),n.e.fire("applyLink",n,e,f)})),n.synchronizeValues(),t(),!1};return r.Dom.isElement(f)?n.e.on(f,"submit",(function(e){return e.preventDefault(),e.stopImmediatePropagation(),T(),!1})):f.onSubmit(T),f},t.prototype.beforeDestruct=function(e){e.e.off("generateLinkForm.link",this.generateForm).off("dblclick.link",this.onDblClickOnLink).off("processPaste.link",this.onProcessPasteLink)},n.__decorate([s.autobind],t.prototype,"onDblClickOnLink",null),n.__decorate([s.autobind],t.prototype,"onProcessPasteLink",null),n.__decorate([s.autobind],t.prototype,"generateForm",null),t}(a.Plugin);t.link=c,l.pluginSystem.add("link",c)},77332:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formTemplate=void 0;var n=o(92815),r=o(24697);t.formTemplate=function(e){var t=e.o.link,o=t.openInNewTabCheckbox,i=t.noFollowCheckbox,a=t.modeClassName,s=t.selectSizeClassName,l=t.selectMultipleClassName,c=t.selectOptionsClassName;return new n.UIForm(e,[new n.UIBlock(e,[new n.UIInput(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new n.UIBlock(e,[new n.UIInput(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),a?new n.UIBlock(e,["input"===a?new n.UIInput(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===a?new n.UISelect(e,{name:"className",ref:"className_select",label:"Class name",size:s,multiple:l,options:c}):null]):null,o?new n.UICheckbox(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,i?new n.UICheckbox(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new n.UIBlock(e,[new r.UIButton(e,{name:"unlink",variant:"default",text:"Unlink"}),new r.UIButton(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},47969:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.mediaFakeTag="jodit-media",n.Config.prototype.mediaInFakeBlock=!0,n.Config.prototype.mediaBlocks=["video","audio"]},68972:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.media=void 0;var n=o(49940),r=o(93772),i=o(58706);function a(e){var t="jodit_fake_wrapper",o=e.options,i=o.mediaFakeTag,a=o.mediaBlocks;o.mediaInFakeBlock&&e.e.on("afterGetValueFromEditor",(function(e){var o=new RegExp("<".concat(i,"[^>]+data-").concat(t,"[^>]+>([^]+?)</").concat(i,">"),"ig");o.test(e.value)&&(e.value=e.value.replace(o,"$1"))})).on("change afterInit afterSetMode changePlace",e.async.debounce((function(){e.isDestructed||e.getMode()===n.MODE_SOURCE||(0,r.$$)(a.join(","),e.editor).forEach((function(o){(0,r.dataBind)(o,t)||((0,r.dataBind)(o,t,!0),function(o){var n;if(o.parentNode&&(0,r.attr)(o.parentNode,"data-jodit_iframe_wrapper"))o=o.parentNode;else{var a=e.createInside.element(i,((n={"data-jodit-temp":1,contenteditable:!1,draggable:!0})["data-".concat(t)]=1,n));(0,r.attr)(a,"style",(0,r.attr)(o,"style")),a.style.display="inline-block"===o.style.display?"inline-block":"block",a.style.width=o.offsetWidth+"px",a.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(a,o),a.appendChild(o),o=a}e.e.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",(function(){e.s.setCursorAfter(o)}))}(o))}))}),e.defaultTimeout))}o(47969),t.media=a,i.pluginSystem.add("media",a)},96367:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(49940),i=o(75901),a=o(16892),s=o(70141);n.Config.prototype.mobileTapTimeout=300,n.Config.prototype.toolbarAdaptive=!0,n.Config.prototype.controls.dots={mode:r.MODE_SOURCE+r.MODE_WYSIWYG,popup:function(e,t,o,n,r){var l=o.data;return void 0===l&&(l={toolbar:(0,i.makeCollection)(e),rebuild:function(){var t;if(r){var o=e.e.fire("getDiffButtons.mobile",r.closest(s.ToolbarCollection));if(o&&l){l.toolbar.build((0,a.splitArray)(o));var n=(null===(t=e.toolbar.firstButton)||void 0===t?void 0:t.container.offsetWidth)||36;l.toolbar.container.style.width=3*(n+4)+"px"}}}},o.data=l),l.rebuild(),l.toolbar},tooltip:"Show all"}},39778:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mobile=void 0;var n=o(16892),r=o(5674),i=o(58706);function a(e){var t=0,o=(0,n.splitArray)(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",(function(o){if(o.changedTouches&&o.changedTouches.length){var n=(new Date).getTime(),r=n-t;r>e.o.mobileTapTimeout&&(t=n,1.5*e.o.mobileTapTimeout>r&&e.s.insertCursorAtPoint(o.clientX,o.clientY))}})),e.e.on("getDiffButtons.mobile",(function(t){if(t===e.toolbar){var i=(0,r.flatButtonsSet)((0,n.splitArray)(e.o.buttons),e),a=(0,r.flatButtonsSet)(o,e);return(0,n.toArray)(i).reduce((function(e,t){return a.has(t)||e.push(t),e}),[])}})),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",(function(){var t;if(e.o.toolbar){var r=(null!==(t=e.container.parentElement)&&void 0!==t?t:e.container).offsetWidth,i=(0,n.splitArray)(e.isFullSize||r>=e.o.sizeLG?e.o.buttons:e.o.sizeMD>r?e.o.sizeSM>r?e.o.buttonsXS:e.o.buttonsSM:e.o.buttonsMD);i.toString()!==o.toString()&&(o=i,e.e.fire("closeAllPopups"),e.toolbar.setRemoveButtons(e.o.removeButtons).build(o.concat(e.o.extraButtons)))}})).on(e.ow,"load resize",(function(){return e.e.fire("recalcAdaptive")}))}o(96367),t.mobile=a,i.pluginSystem.add("mobile",a)},55141:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(1070),i=function(e,t,o){var n,i=o.control,a="button".concat(i.command),s=null!==(n=i.args&&i.args[0])&&void 0!==n?n:(0,r.dataBind)(e,a);(0,r.dataBind)(e,a,s),e.execCommand(i.command,!1,"default"===s?null:s)};o(74259).Icon.set("ol",o(8681)).set("ul",o(1513)),n.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:i},n.Config.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:i}},61720:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orderedList=void 0;var n=o(52784),r=o(43464),i=o(51923),a=o(58706);o(55141);var s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}],t}return n.__extends(t,e),t.prototype.afterInit=function(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)},t.prototype.onCommand=function(e,t,o){return this.jodit.s.applyStyle({listStyleType:null!=o?o:null},{element:"insertunorderedlist"===e?"ul":"ol"}),this.jodit.synchronizeValues(),!1},t.prototype.beforeDestruct=function(e){},n.__decorate([i.autobind],t.prototype,"onCommand",null),t}(r.Plugin);t.orderedList=s,a.pluginSystem.add("orderedList",s)},60755:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(49940);n.Config.prototype.askBeforePasteFromWord=!0,n.Config.prototype.processPasteFromWord=!0,n.Config.prototype.defaultActionOnPasteFromWord=null,n.Config.prototype.pasteFromWordActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Clean"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}]},1485:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pasteFromWord=void 0;var n=o(52784),r=o(43464),i=o(16892),a=o(49940),s=o(51923),l=o(62582),c=o(58706);o(60755);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["paste"],t}return n.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.beforeDestruct=function(e){},t.prototype.processWordHTML=function(e,t,o){var n=this,r=this.j,a=r.o,s=a.askBeforePasteFromWord,c=a.defaultActionOnPasteFromWord,u=a.defaultActionOnPaste,d=a.pasteFromWordActionList;return!(!a.processPasteFromWord||!(0,i.isHtmlFromWord)(t)||(s?(0,l.askInsertTypeDialog)(r,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",(function(r){n.insertFromWordByType(e,t,r,o)}),d):this.insertFromWordByType(e,t,c||u,o),0))},t.prototype.insertFromWordByType=function(e,t,o,n){var r;switch(o){case a.INSERT_AS_HTML:t=(0,i.applyStyles)(t);var s=null===(r=this.j.events)||void 0===r?void 0:r.fire("beautifyHTML",t);(0,i.isString)(s)&&(t=s);break;case a.INSERT_AS_TEXT:t=(0,i.cleanFromWord)(t);break;case a.INSERT_ONLY_TEXT:t=(0,i.stripTags)((0,i.cleanFromWord)(t))}(0,l.pasteInsertHtml)(e,this.j,t)},n.__decorate([(0,s.watch)(":processHTML")],t.prototype,"processWordHTML",null),t}(r.Plugin);t.pasteFromWord=u,c.pluginSystem.add("pasteFromWord",u)},81774:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pasteStorage=void 0;var n=o(52784);o(87527);var r=o(49940),i=o(36894),a=o(12815),s=o(16892),l=o(70305),c=o(58706),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.currentIndex=0,t.list=[],t.container=null,t.listBox=null,t.previewBox=null,t.dialog=null,t.paste=function(){if(t.j.s.focus(),t.j.s.insertHTML(t.list[t.currentIndex]),0!==t.currentIndex){var e=t.list[0];t.list[0]=t.list[t.currentIndex],t.list[t.currentIndex]=e}t.dialog&&t.dialog.close(),t.j.synchronizeValues(),t.j.e.fire("afterPaste")},t.onKeyDown=function(e){var o=t.currentIndex;-1!==[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(e.key)&&(e.key===r.KEY_UP&&(0===o?o=t.list.length-1:o-=1),e.key===r.KEY_DOWN&&(o===t.list.length-1?o=0:o+=1),e.key!==r.KEY_ENTER?(o!==t.currentIndex&&t.selectIndex(o),e.stopImmediatePropagation(),e.preventDefault()):t.paste())},t.selectIndex=function(e){t.listBox&&(0,s.toArray)(t.listBox.childNodes).forEach((function(o,n){o.classList.remove("jodit_active"),e===n&&t.previewBox&&(o.classList.add("jodit_active"),t.previewBox.innerHTML=t.list[e],o.focus())})),t.currentIndex=e},t.showDialog=function(){2>t.list.length||(t.dialog||t.createDialog(),t.listBox&&(t.listBox.innerHTML=""),t.previewBox&&(t.previewBox.innerHTML=""),t.list.forEach((function(e,o){var n=t.j.c.element("a");n.textContent=o+1+". "+e.replace((0,r.SPACE_REG_EXP)(),""),t.j.e.on(n,"keydown",t.onKeyDown),(0,s.attr)(n,"href","#"),(0,s.attr)(n,"data-index",o.toString()),(0,s.attr)(n,"tab-index","-1"),t.listBox&&t.listBox.appendChild(n)})),t.dialog&&t.dialog.open(),t.j.async.setTimeout((function(){t.selectIndex(0)}),100))},t}return n.__extends(t,e),t.prototype.createDialog=function(){var e=this;this.dialog=this.j.dlg();var t=(0,l.Button)(this.j,"paste","Paste","primary");t.onAction(this.paste);var o=(0,l.Button)(this.j,"","Cancel");o.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([t,o]),this.j.e.on(this.listBox,"click dblclick",(function(t){var o=t.target;return a.Dom.isTag(o,"a")&&o.hasAttribute("data-index")&&e.selectIndex(parseInt((0,s.attr)(o,"-index")||"0",10)),"dblclick"===t.type&&e.paste(),!1}))},t.prototype.afterInit=function(){var e=this;this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",(function(){return e.list.length})).on("afterCopy.paste-storage",(function(t){-1!==e.list.indexOf(t)&&e.list.splice(e.list.indexOf(t),1),e.list.unshift(t),e.list.length>5&&(e.list.length=5)})),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})},t.prototype.beforeDestruct=function(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),a.Dom.safeRemove(this.previewBox),a.Dom.safeRemove(this.listBox),a.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]},t}(i.Plugin);t.pasteStorage=u,c.pluginSystem.add("pasteStorage",u)},110:function(e,t,o){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0});var r=o(52784),i=o(49940),a=o(733),s=o(62582);a.Config.prototype.askBeforePasteHTML=!0,a.Config.prototype.processPasteHTML=!0,a.Config.prototype.pasteHTMLActionList=[{value:i.INSERT_AS_HTML,text:"Keep"},{value:i.INSERT_AS_TEXT,text:"Insert as Text"},{value:i.INSERT_ONLY_TEXT,text:"Insert only Text"}],a.Config.prototype.memorizeChoiceWhenPasteFragment=!1,a.Config.prototype.nl2brInPlainText=!0;var l="pasteStorage";a.Config.prototype.controls.paste={tooltip:"Paste from clipboard",exec:function(e,t,o){var n=o.control;return r.__awaiter(this,void 0,void 0,(function(){var t,o,a,c,u;return r.__generator(this,(function(r){switch(r.label){case 0:if(n.name===l)return e.execCommand("showPasteStorage"),[2];if(e.s.focus(),t="",o=!0,!navigator.clipboard)return[3,11];r.label=1;case 1:return r.trys.push([1,6,,7]),[4,navigator.clipboard.read()];case 2:return(a=r.sent())&&a.length?[4,a[0].getType(i.TEXT_PLAIN)]:[3,5];case 3:return c=r.sent(),[4,new Response(c).text()];case 4:t=r.sent(),r.label=5;case 5:return o=!1,[3,7];case 6:return r.sent(),[3,7];case 7:if(!o)return[3,11];r.label=8;case 8:return r.trys.push([8,10,,11]),[4,navigator.clipboard.readText()];case 9:return t=r.sent(),o=!1,[3,11];case 10:return r.sent(),[3,11];case 11:return o&&(t=e.buffer.get(i.CLIPBOARD_ID)||"",o=0===t.length),u=e.value,o?(e.ed.execCommand("paste"),!(o=u===e.value)&&e.e.fire("afterPaste")):t.length?((0,s.pasteInsertHtml)(null,e,t),e.e.fire("afterPaste")):o&&e.alert("Your browser doesn't support direct access to the clipboard.",(function(){e.s.focus()})),[2]}}))}))},list:(n={},n[l]="Paste Storage",n),isChildDisabled:function(e){return 2>e.e.fire("pasteStorageList")}}},62582:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.askInsertTypeDialog=t.getAllTypes=t.pasteInsertHtml=void 0;var n=o(52784),r=o(74699),i=o(12815),a=o(49940),s=o(70305);t.pasteInsertHtml=function(e,t,o){if(!t.isInDestruct){(function(e){return Boolean(e&&"drop"===e.type)})(e)&&t.s.insertCursorAtPoint(e.clientX,e.clientY);var n=t.e.fire("beforePasteInsert",o);!(0,r.isVoid)(n)&&((0,r.isString)(n)||(0,r.isNumber)(n)||i.Dom.isNode(n))&&(o=n),(0,r.isString)(o)&&(o=function(e){var t=(e=e.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==t&&(e=e.substring(t+20));var o=e.search(/<!--EndFragment-->/i);return-1!==o&&(e=e.substring(0,o)),e}(o)),t.s.insertHTML(o)}},t.getAllTypes=function(e){var t=e.types,o="";if((0,r.isArray)(t)||"[object DOMStringList]"==={}.toString.call(t))for(var n=0;t.length>n;n+=1)o+=t[n]+";";else o=(t||a.TEXT_PLAIN).toString()+";";return o},t.askInsertTypeDialog=function(e,t,o,r,i){if(!1!==e.e.fire("beforeOpenPasteDialog",t,o,r,i)){var a=e.confirm('<div style="word-break: normal; white-space: normal">'.concat(e.i18n(t),"</div>"),e.i18n(o)),l=i.map((function(t){var o=t.text,n=t.value;return(0,s.Button)(e,{text:o,name:o.toLowerCase(),tabIndex:0}).onAction((function(){a.close(),r(n)}))}));a.e.one(a,"afterClose",(function(){e.s.isFocused()||e.s.focus()}));var c=(0,s.Button)(e,{text:"Cancel",tabIndex:0}).onAction((function(){a.close()}));return a.setFooter(n.__spreadArray(n.__spreadArray([],n.__read(l),!1),[c],!1)),l[0].focus(),l[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",a,t,o,r,i),a}}},86813:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paste=void 0;var n=o(52784),r=o(36894),i=o(49940),a=o(12815),s=o(51923),l=o(16892),c=o(58706),u=o(62582);o(110);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pasteStack=new l.LimitedStack(20),t._isDialogOpened=!1,t}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(function(e){return t.pasteStack.push(e)})),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)},t.prototype.beforeDestruct=function(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")},t.prototype.onPaste=function(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}},t.prototype.customPasteProcess=function(e){if(this.j.o.processPasteHTML){var t,o=(0,l.getDataTransfer)(e),n={html:null==o?void 0:o.getData(i.TEXT_HTML),plain:null==o?void 0:o.getData(i.TEXT_PLAIN),rtf:null==o?void 0:o.getData(i.TEXT_RTF)};for(t in n){var r=n[t];if((0,l.isHTML)(r)&&(this.j.e.fire("processHTML",e,r,n)||this.processHTML(e,r)))return!1}}},t.prototype.defaultPasteProcess=function(e){var t=(0,l.getDataTransfer)(e),o=(null==t?void 0:t.getData(i.TEXT_HTML))||(null==t?void 0:t.getData(i.TEXT_PLAIN));if(t&&o&&""!==(0,l.trim)(o)){var n=this.j.e.fire("processPaste",e,o,(0,u.getAllTypes)(t));void 0!==n&&(o=n),((0,l.isString)(o)||a.Dom.isNode(o))&&this.insertByType(e,o,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}},t.prototype.processHTML=function(e,t){var o=this;if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){var n=this.pasteStack.find((function(e){return e.html===t}));if(n)return this.insertByType(e,t,n.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;var r=(0,u.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(function(n){o._isDialogOpened=!1,o.insertByType(e,t,n)}),this.j.o.pasteHTMLActionList);return r&&(this._isDialogOpened=!0,r.e.on("beforeClose",(function(){o._isDialogOpened=!1}))),!0}return!1},t.prototype.insertByType=function(e,t,o){if(this.pasteStack.push({html:t,action:o}),(0,l.isString)(t))switch(this.j.buffer.set(i.CLIPBOARD_ID,t),o){case i.INSERT_CLEAR_HTML:t=(0,l.cleanFromWord)(t);break;case i.INSERT_ONLY_TEXT:t=(0,l.stripTags)(t);break;case i.INSERT_AS_TEXT:t=(0,l.htmlspecialchars)(t)}(0,u.pasteInsertHtml)(e,this.j,t)},t.prototype.onProcessPasteReplaceNl2Br=function(e,t,o){if(o===i.TEXT_PLAIN+";"&&!(0,l.isHTML)(t))return(0,l.nl2br)(t)},n.__decorate([s.autobind],t.prototype,"onPaste",null),n.__decorate([s.autobind],t.prototype,"onProcessPasteReplaceNl2Br",null),t}(r.Plugin);t.paste=d,c.pluginSystem.add("paste",d)},61396:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.showPlaceholder=!0,n.Config.prototype.placeholder="Type something",n.Config.prototype.useInputsPlaceholder=!0},96761:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholder=t.isEditorEmpty=void 0;var n=o(52784);o(23455);var r=o(49940),i=o(16892),a=o(96582),s=o(36894),l=o(49940),c=o(51923),u=o(60039),d=o(58706);function p(e){if(!e.firstChild)return!0;var t=e.firstChild;if(l.MAY_BE_REMOVED_WITH_KEY.test(t.nodeName)||/^(TABLE)$/i.test(t.nodeName))return!1;var o=a.Dom.next(t,(function(e){return e&&!a.Dom.isEmptyTextNode(e)}),e);return a.Dom.isText(t)&&!o?a.Dom.isEmptyTextNode(t):!o&&a.Dom.each(t,(function(e){return!a.Dom.isTag(e,["ul","li","ol"])&&(a.Dom.isEmpty(e)||a.Dom.isTag(e,"br"))}))}o(61396),t.isEditorEmpty=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.addNativeListeners=function(){t.j.e.off(t.j.editor,"input.placeholder keydown.placeholder").on(t.j.editor,"input.placeholder keydown.placeholder",t.toggle)},t.addEvents=function(){var e=t.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(t.placeholderElm.innerHTML=(0,i.attr)(e.element,"placeholder")||""),e.e.fire("placeholder",t.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",t.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",t.toggle).on(window,"load",t.toggle),t.addNativeListeners(),t.toggle()},t}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML('<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">'.concat(e.i18n(e.o.placeholder),"</span>")),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",(function(e){e?t.hide():t.toggle()})).on("changePlace",this.addEvents),this.addEvents())},t.prototype.show=function(){var e=this.j;if(!e.o.readonly){var t=0,o=0,n=e.s.current(),r=n&&a.Dom.closest(n,a.Dom.isBlock,e.editor)||e.editor,s=e.ew.getComputedStyle(r),l=e.ew.getComputedStyle(e.editor);e.workplace.appendChild(this.placeholderElm);var c=e.editor.firstChild;if(a.Dom.isElement(c)&&!u.Select.isMarker(c)){var d=e.ew.getComputedStyle(c);t=parseInt(d.getPropertyValue("margin-top"),10),o=parseInt(d.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(d.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=d.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(s.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=s.getPropertyValue("line-height");(0,i.css)(this.placeholderElm,{display:"block",textAlign:s.getPropertyValue("text-align"),paddingTop:parseInt(l.paddingTop,10)+"px",paddingLeft:parseInt(l.paddingLeft,10)+"px",paddingRight:parseInt(l.paddingRight,10)+"px",marginTop:Math.max(parseInt(s.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(s.getPropertyValue("margin-left"),10),o)})}},t.prototype.hide=function(){a.Dom.safeRemove(this.placeholderElm)},t.prototype.toggle=function(){var e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===r.MODE_WYSIWYG&&p(e.editor)?this.show():this.hide())},t.prototype.beforeDestruct=function(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)},n.__decorate([(0,c.debounce)((function(e){return e.defaultTimeout/10}),!0)],t.prototype,"toggle",null),t}(s.Plugin);t.placeholder=f,d.pluginSystem.add("placeholder",f)},64148:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poweredByJodit=void 0;var n=o(58706);function r(e){var t=e.o;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",(function(){e.statusbar.append(e.create.fromHTML('<a\n\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\tstyle="text-transform: uppercase"\n\t\t\t\t\t\tclass="jodit-status-bar-link"\n\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\thref="https://xdsoft.net/jodit/">\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t</a>'),!0)}))}t.poweredByJodit=r,n.pluginSystem.add("poweredByJodit",r)},54545:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preview=void 0,o(89057);var n=o(733),r=o(49940),i=o(27903),a=o(58706);function s(e){e.registerButton({name:"preview"}),e.registerCommand("preview",(function(t,o,n){var r=e.dlg();r.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0),(0,i.previewBox)(e,n,"px",r.getElm("content"))}))}n.Config.prototype.controls.preview={icon:"eye",command:"preview",mode:r.MODE_SOURCE+r.MODE_WYSIWYG,tooltip:"Preview"},t.preview=s,a.pluginSystem.add("preview",s)},55972:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCriticalCSS=void 0;var n=o(52784),r=o(62507);t.generateCriticalCSS=function(e){var t=function(e,t){return void 0===t&&(t=e.ownerDocument.styleSheets),(0,r.toArray)(t).map((function(e){try{return(0,r.toArray)(e.cssRules)}catch(e){}return[]})).flat().filter((function(t){try{return Boolean(t&&e.matches(t.selectorText))}catch(e){}return!1}))},o=function(){function o(o,r,i){var a=this;this.css={};var s=i||{},l=function(t){var o=t.selectorText.split(",").map((function(e){return e.trim()})).sort().join(",");!1===Boolean(a.css[o])&&(a.css[o]={});for(var r=t.style.cssText.split(/;(?![A-Za-z0-9])/),i=0;r.length>i;i++)if(r[i]){var s=r[i].split(":");s[0]=s[0].trim(),s[1]=s[1].trim(),a.css[o][s[0]]=s[1].replace(/var\(([^)]+)\)/g,(function(t,o){var r=n.__read(o.split(","),2),i=r[0],a=r[1];return(e.ew.getComputedStyle(e.editor).getPropertyValue(i.trim())||a||t).trim()}))}};!function(){for(var n=o.innerHeight,i=r.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,(function(){return NodeFilter.FILTER_ACCEPT}));i.nextNode();){var a=i.currentNode;if(n>a.getBoundingClientRect().top||s.scanFullPage){var c=t(a);if(c)for(var u=0;c.length>u;u++)l(c[u])}}}()}return o.prototype.generateCSS=function(){var e="";for(var t in this.css)if(!/:not\(/.test(t)){for(var o in e+=t+" { ",this.css[t])e+=o+": "+this.css[t][o]+"; ";e+="}\n"}return e},o}();try{return new o(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},53902:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=void 0;var n=o(733),r=o(58706),i=o(96582),a=o(16617),s=o(49940),l=o(58706),c=o(74259),u=o(55972),d=o(27903);function p(e){e.registerButton({name:"print"})}c.Icon.set("print",o(94460)),n.Config.prototype.controls.print={exec:function(e){var t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,r.getContainer)(e,n.Config).appendChild(t);var o=function(){e.e.off(e.ow,"mousemove",o),i.Dom.safeRemove(t)},s=t.contentWindow;if(s){e.e.on(s,"onbeforeunload onafterprint",o).on(e.ow,"mousemove",o),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",s.document,e),s.document.body.innerHTML=e.value):(s.document.write('<!doctype html><html lang="'+(0,a.defaultLanguage)(e.o.language)+'"><head><title></title></head><style>'+(0,u.generateCriticalCSS)(e)+"</style><body></body></html>"),s.document.close(),(0,d.previewBox)(e,void 0,"px",s.document.body));var l=s.document.createElement("style");l.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",s.document.head.appendChild(l),s.focus(),s.print()}},mode:s.MODE_SOURCE+s.MODE_WYSIWYG,tooltip:"Print"},t.print=p,l.pluginSystem.add("print",p)},82376:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redoUndo=void 0;var n=o(52784),r=o(733),i=o(49940),a=o(36894),s=o(58706);o(74259).Icon.set("redo",o(19780)).set("undo",o(6309)),r.Config.prototype.controls.redo={mode:i.MODE_SPLIT,isDisabled:function(e){return!e.history.canRedo()},tooltip:"Redo"},r.Config.prototype.controls.undo={mode:i.MODE_SPLIT,isDisabled:function(e){return!e.history.canUndo()},tooltip:"Undo"};var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}],t}return n.__extends(t,e),t.prototype.beforeDestruct=function(){},t.prototype.afterInit=function(e){var t=function(t){return e.history[t](),!1};e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})},t}(a.Plugin);t.redoUndo=l,s.pluginSystem.add("redoUndo",l)},33606:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.tableAllowCellResize=!0},55991:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeCells=void 0;var n=o(52784);o(71696);var r=o(49940),i=o(71910),a=o(16892),s=o(51923),l=o(12815),c=o(58706);o(33606);var u="table_processor_observer-resize",d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectMode=!1,t.resizeDelta=0,t.createResizeHandle=function(){t.resizeHandler||(t.resizeHandler=t.j.c.div("jodit-table-resizer"),t.j.e.on(t.resizeHandler,"mousedown.table touchstart.table",t.onHandleMouseDown).on(t.resizeHandler,"mouseenter.table",(function(){t.j.async.clearTimeout(t.hideTimeout)})))},t.hideTimeout=0,t.drag=!1,t.minX=0,t.maxX=0,t.startX=0,t}return n.__extends(t,e),Object.defineProperty(t.prototype,"module",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRTL",{get:function(){return"rtl"===this.j.o.direction},enumerable:!1,configurable:!0}),t.prototype.showResizeHandle=function(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)},t.prototype.hideResizeHandle=function(){var e=this;this.hideTimeout=this.j.async.setTimeout((function(){l.Dom.safeRemove(e.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})},t.prototype.onHandleMouseDown=function(e){var t=this;if(!this.j.isLocked){this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(u),this.resizeHandler.classList.add("jodit-table-resizer_moved");var o,n=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)n=this.workTable.parentNode.getBoundingClientRect(),this.minX=n.left,this.maxX=this.minX+n.width;else{var a=i.Table.formalCoordinate(this.workTable,this.workCell,!0);i.Table.formalMatrix(this.workTable,(function(e,n,i){a[1]===i&&(o=e.getBoundingClientRect(),t.minX=Math.max(o.left+r.NEARBY/2,t.minX)),a[1]+(t.isRTL?-1:1)===i&&(o=e.getBoundingClientRect(),t.maxX=Math.min(o.left+o.width-r.NEARBY/2,t.maxX))}))}return!1}},t.prototype.onMouseMove=function(e){if(this.drag){this.j.e.fire("closeAllPopups");var t=e.clientX,o=(0,a.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?o.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:o.left)+"px";var n=this.j.s.sel;n&&n.removeAllRanges()}},t.prototype.onMouseUp=function(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())},t.prototype.resizeColumns=function(){var e=this.resizeDelta,t=[];i.Table.setColumnWidthByDelta(this.workTable,i.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);var o=(0,a.call)(this.isRTL?l.Dom.prev:l.Dom.next,this.workCell,l.Dom.isCell,this.workCell.parentNode);i.Table.setColumnWidthByDelta(this.workTable,i.Table.formalCoordinate(this.workTable,o)[1],-e,!1,t)},t.prototype.resizeTable=function(){var e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,o=(0,a.getContentWidth)(this.workTable.parentNode,this.j.ew),n=!this.wholeTable;if(this.isRTL?!n:n)this.workTable.style.width=(t+e)/o*100+"%";else{var r=this.isRTL?"marginRight":"marginLeft",i=parseInt(this.j.ew.getComputedStyle(this.workTable)[r]||"0",10);this.workTable.style.width=(t-e)/o*100+"%",this.workTable.style[r]=(i+e)/o*100+"%"}},t.prototype.setWorkCell=function(e,t){void 0===t&&(t=null),this.wholeTable=t,this.workCell=e,this.workTable=l.Dom.up(e,(function(e){return l.Dom.isTag(e,"table")}),this.j.editor)},t.prototype.calcHandlePosition=function(e,t,o,n){void 0===o&&(o=0),void 0===n&&(n=0);var i=(0,a.offset)(t,this.j,this.j.ed);if(o>r.NEARBY&&i.width-r.NEARBY>o)this.hideResizeHandle();else{var s=(0,a.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,a.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(o>r.NEARBY?i.left+i.width:i.left)-s.left+n+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-s.top+"px"}),this.showResizeHandle(),o>r.NEARBY){var u=(0,a.call)(this.isRTL?l.Dom.prev:l.Dom.next,t,l.Dom.isCell,t.parentNode);this.setWorkCell(t,!!u&&null)}else{var d=(0,a.call)(this.isRTL?l.Dom.next:l.Dom.prev,t,l.Dom.isCell,t.parentNode);this.setWorkCell(d||t,!d||null)}}},t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(function(){(0,a.$$)("table",e.editor).forEach(t.observe)})).on(this.j.ow,"scroll.resize-cells",(function(){if(t.drag){var o=l.Dom.up(t.workCell,(function(e){return l.Dom.isTag(e,"table")}),e.editor);if(o){var n=o.getBoundingClientRect();t.resizeHandler.style.top=n.top+"px"}}})).on("beforeSetMode.resize-cells",(function(){t.module.getAllSelectedCells().forEach((function(o){t.module.removeSelection(o),i.Table.normalizeTable(l.Dom.closest(o,"table",e.editor))}))}))},t.prototype.observe=function(e){var t=this;(0,a.dataBind)(e,u)||((0,a.dataBind)(e,u,!0),this.j.e.on(e,"mouseleave.resize-cells",(function(e){t.resizeHandler&&t.resizeHandler!==e.relatedTarget&&t.hideResizeHandle()})).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((function(o){if(!t.j.isLocked){var n=l.Dom.up(o.target,l.Dom.isCell,e);n&&t.calcHandlePosition(e,n,o.offsetX)}}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())},t.prototype.beforeDestruct=function(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))},n.__decorate([s.autobind],t.prototype,"onHandleMouseDown",null),n.__decorate([s.autobind],t.prototype,"onMouseMove",null),n.__decorate([s.autobind],t.prototype,"onMouseUp",null),n.__decorate([s.autobind],t.prototype,"observe",null),t}(i.Plugin);t.resizeCells=d,c.pluginSystem.add("resizeCells",d)},90324:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.allowResizeX=!1,n.Config.prototype.allowResizeY=!0},94915:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandler=void 0;var n=o(52784),r=o(43464),i=o(96582),a=o(51923),s=o(98440),l=o(58706);o(90324);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isResized=!1,t.start={x:0,y:0,w:0,h:0},t.handle=t.j.c.div("jodit-editor__resize",s.Icon.get("resize_handler")),t}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this,o=e.o,n=o.height,r=o.width,i=e.o.allowResizeY;"auto"===n&&"auto"!==r&&(i=!1),"auto"===n&&"auto"===r||!o.allowResizeX&&!i||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",(function(){t.handle.style.display=e.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))},t.prototype.onHandleResizeStart=function(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()},t.prototype.onHandleResize=function(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))},t.prototype.onHandleResizeEnd=function(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())},t.prototype.beforeDestruct=function(){i.Dom.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)},t.requires=["size"],n.__decorate([a.autobind],t)}(r.Plugin);t.resizeHandler=c,l.pluginSystem.add("resizeHandler",c)},40020:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.allowResizeTags=["img","iframe","table","jodit"],n.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:["img"]}},77394:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizer=void 0;var n=o(52784);o(65581);var r=o(49940),i=o(49940),a=o(12815),s=o(16892),l=o(36894),c=o(58706),u=o(51923),d=o(58706);o(40020);var p="__jodit-resizer_binded",f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.LOCK_KEY="resizer",t.element=null,t.isResizeMode=!1,t.isShown=!1,t.startX=0,t.startY=0,t.width=0,t.height=0,t.ratio=0,t.rect=t.j.c.fromHTML('<div title="'.concat(t.j.i18n("Press Alt for custom resizing"),'" class="jodit-resizer">\n\t\t\t\t<div class="jodit-resizer__top-left"></div>\n\t\t\t\t<div class="jodit-resizer__top-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-left"></div>\n\t\t\t\t<span>100x100</span>\n\t\t\t</div>')),t.sizeViewer=t.rect.getElementsByTagName("span")[0],t.pointerX=0,t.pointerY=0,t.isAltMode=!1,t.onClickElement=function(e){t.isResizeMode||t.element===e&&t.isShown||(t.element=e,t.show(),a.Dom.isTag(t.element,"img")&&!t.element.complete&&t.j.e.one(t.element,"load",t.updateSize))},t.updateSize=function(){if(!t.isInDestruct&&t.isShown&&t.element&&t.rect){var e=t.getWorkplacePosition(),o=(0,s.offset)(t.element,t.j,t.j.ed),n=parseInt(t.rect.style.left||"0",10),r=parseInt(t.rect.style.top||"0",10),i=o.top-e.top,a=o.left-e.left;r===i&&n===a&&t.rect.offsetWidth===t.element.offsetWidth&&t.rect.offsetHeight===t.element.offsetHeight||((0,s.css)(t.rect,{top:i,left:a,width:t.element.offsetWidth,height:t.element.offsetHeight}),t.j.events&&(t.j.e.fire(t.element,"changesize"),isNaN(n)||t.j.e.fire("resize")))}},t.hideSizeViewer=function(){t.sizeViewer.style.opacity="0"},t}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;(0,s.$$)("div",this.rect).forEach((function(o){e.e.on(o,"mousedown.resizer touchstart.resizer",t.onStartResizing.bind(t,o))})),c.eventEmitter.on("hideHelpers",this.hide),e.e.on("readonly",(function(e){e&&t.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(function(e){var t=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()},t.prototype.onEditorClick=function(e){for(var t=e.target,o=this.j,n=o.editor,r=o.options.allowResizeTags;t&&t!==n;){if(a.Dom.isTag(t,r))return this.bind(t),void this.onClickElement(t);t=t.parentNode}},t.prototype.addEventListeners=function(){var e=this,t=this.j;t.e.off(t.editor,".resizer").off(t.ow,".resizer").on(t.editor,"keydown.resizer",(function(t){e.isShown&&t.key===r.KEY_DELETE&&e.element&&!a.Dom.isTag(e.element,"table")&&e.onDelete(t)})).on(t.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([t.ow,t.editor],"scroll.resizer",(function(){e.isShown&&!e.isResizeMode&&e.hide()})).on(t.ow,"keydown.resizer",this.onKeyDown).on(t.ow,"keyup.resizer",this.onKeyUp).on(t.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)},t.prototype.onStartResizing=function(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;var o=this.j;o.e.fire("hidePopup"),o.lock(this.LOCK_KEY),o.e.on(o.ow,"mousemove.resizer touchmove.resizer",this.onResize)},t.prototype.onEndResizing=function(){var e=this.j;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)},t.prototype.onResize=function(e){if(this.isResizeMode){if(!this.element)return;this.pointerX=e.clientX,this.pointerY=e.clientY;var t=void 0,o=void 0;if(this.j.options.iframe){var n=this.getWorkplacePosition();t=e.clientX+n.left-this.startX,o=e.clientY+n.top-this.startY}else t=this.pointerX-this.startX,o=this.pointerY-this.startY;var r=this.handle.className,i=0,l=0,c=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===c||Array.isArray(c)&&a.Dom.isTag(this.element,c))?(t?(i=this.width+(r.match(/left/)?-1:1)*t,l=Math.round(i/this.ratio)):(l=this.height+(r.match(/top/)?-1:1)*o,i=Math.round(l*this.ratio)),i>(0,s.innerWidth)(this.j.editor,this.j.ow)&&(i=(0,s.innerWidth)(this.j.editor,this.j.ow),l=Math.round(i/this.ratio))):(i=this.width+(r.match(/left/)?-1:1)*t,l=this.height+(r.match(/top/)?-1:1)*o),i>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>i?i:"100%"),l>this.j.o.resizer.min_height&&this.applySize(this.element,"height",l),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}},t.prototype.onKeyDown=function(e){this.isAltMode=e.key===i.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()},t.prototype.onKeyUp=function(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1},t.prototype.onClickOutside=function(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}},t.prototype.getWorkplacePosition=function(){return(0,s.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)},t.prototype.applySize=function(e,t,o){var n=a.Dom.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;n&&(0,s.attr)(e,t,o),n&&!e.style[t]||(0,s.css)(e,t,o)},t.prototype.onDelete=function(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(a.Dom.safeRemove(this.element),this.hide(),e.preventDefault()))},t.prototype.onChangeEditor=function(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,s.$$)("iframe",this.j.editor).forEach(this.bind)},t.prototype.bind=function(e){var t=this;if(a.Dom.isHTMLElement(e)&&this.j.o.allowResizeTags.includes(e.tagName.toLowerCase())&&!(0,s.dataBind)(e,p)){var o;if((0,s.dataBind)(e,p,!0),a.Dom.isTag(e,"iframe")){var n=e;a.Dom.isHTMLElement(e.parentNode)&&(0,s.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(o=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,s.attr)(o,"style",(0,s.attr)(e,"style")),(0,s.css)(o,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(o,e),o.appendChild(e),this.j.e.on(o,"click",(function(){(0,s.attr)(o,"data-jodit-wrapper_active",!0)})),e=o),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",(function(){t.j.s.select(e)})).off(e,"changesize").on(e,"changesize",(function(){n.setAttribute("width",e.offsetWidth+"px"),n.setAttribute("height",e.offsetHeight+"px")}))}this.j.e.on(e,"dragstart",this.hide),i.IS_IE&&this.j.e.on(e,"mousedown",(function(t){a.Dom.isTag(e,"img")&&t.preventDefault()}))}},t.prototype.showSizeViewer=function(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent="".concat(e," x ").concat(t),this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))},t.prototype.show=function(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,s.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=(0,s.css)(this.j.container,"zIndex").toString()),this.updateSize())},t.prototype.hide=function(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,a.Dom.safeRemove(this.rect),(0,s.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((function(e){return(0,s.attr)(e,"data-jodit-wrapper_active",!1)})))},t.prototype.beforeDestruct=function(e){this.hide(),c.eventEmitter.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")},n.__decorate([(0,u.watch)(":click")],t.prototype,"onEditorClick",null),n.__decorate([u.autobind],t.prototype,"onStartResizing",null),n.__decorate([u.autobind],t.prototype,"onEndResizing",null),n.__decorate([u.autobind],t.prototype,"onResize",null),n.__decorate([u.autobind],t.prototype,"onKeyDown",null),n.__decorate([u.autobind],t.prototype,"onKeyUp",null),n.__decorate([u.autobind],t.prototype,"onClickOutside",null),n.__decorate([(0,u.debounce)()],t.prototype,"onChangeEditor",null),n.__decorate([u.autobind],t.prototype,"bind",null),n.__decorate([u.autobind],t.prototype,"hide",null),t}(l.Plugin);t.resizer=f,d.pluginSystem.add("resizer",f)},14557:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(74259);o(20964),n.Config.prototype.useSearch=!0,n.Config.prototype.search={lazyIdleTimeout:0},r.Icon.set("search",o(2251)),n.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec:function(e,t,o){var n=o.control;switch(n.args&&n.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:function(e,t,o){return o}}},21614:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(8212),t),n.__exportStar(o(71247),t)},8212:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SentenceFinder=void 0;var n=o(52784),r=o(27420),i=function(){function e(e){void 0===e&&(e=r.fuzzySearchIndex),this.searchIndex=e,this.queue=[],this.value=""}return e.prototype.add=function(e){var t,o=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(o.length){var n=this.value.length;this.queue.push({startIndex:n,endIndex:n+o.length,node:e}),this.value+=o}},e.prototype.ranges=function(e,t){var o;void 0===t&&(t=0);var r=[],i=t,a=0,s=0;do{if(a=(o=n.__read(this.searchIndex(e,this.value,i),2))[1],-1!==(i=o[0])){for(var l=void 0,c=0,u=void 0,d=0,p=s;this.queue.length>p;p+=1)if(!l&&this.queue[p].endIndex>i&&(l=this.queue[p].node,c=i-this.queue[p].startIndex),l&&this.queue[p].endIndex>=i+a){u=this.queue[p].node,d=i+a-this.queue[p].startIndex,s=p;break}l&&u&&r.push({startContainer:l,startOffset:c,endContainer:u,endOffset:d}),i+=a}}while(-1!==i);return 0===r.length?null:r},e}();t.SentenceFinder=i},71247:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSelectionWrapper=t.clearSelectionWrappersFromHTML=t.clearSelectionWrappers=t.getSelectionWrappers=t.wrapRangesTextsInTmpSpan=void 0;var n=o(52784),r=o(12815),i=o(18365),a="jd-tmp-selection";function s(e){return(0,i.$$)("[".concat(a,"]"),e)}function l(e){return r.Dom.isElement(e)&&e.hasAttribute(a)}t.wrapRangesTextsInTmpSpan=function(e,t,o,i){var s,c,u;if(null!=e.startContainer.nodeValue&&null!=e.endContainer.nodeValue){var d=o.element("span",((s={})[a]=!0,s));r.Dom.markTemporary(d);var p=e.startContainer.nodeValue,f=0;if(0!==e.startOffset){var h=o.text(p.substring(0,e.startOffset));e.startContainer.nodeValue=p.substring(e.startOffset),r.Dom.before(e.startContainer,h),e.startContainer===e.endContainer&&(e.endOffset-=f=e.startOffset),e.startOffset=0}var m=e.endContainer.nodeValue;if(e.endOffset!==m.length){h=o.text(m.substring(e.endOffset)),e.endContainer.nodeValue=m.substring(0,e.endOffset),r.Dom.after(e.endContainer,h);try{for(var v=n.__values(t),g=v.next();!g.done;g=v.next()){var y=g.value;if(y.startContainer!==e.endContainer)break;y.startContainer=h,y.startOffset=y.startOffset-e.endOffset-f,y.endContainer===e.endContainer&&(y.endContainer=h,y.endOffset=y.endOffset-e.endOffset-f)}}catch(e){c={error:e}}finally{try{g&&!g.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}e.endOffset=e.endContainer.nodeValue.length}var b=e.startContainer;do{if(!b)break;if(r.Dom.isText(b)&&!l(b.parentNode)&&r.Dom.wrap(b,d.cloneNode(),o),b===e.endContainer)break;var _=b.firstChild||b.nextSibling;if(!_){for(;b&&!b.nextSibling&&b!==i;)b=b.parentNode;_=null==b?void 0:b.nextSibling}b=_}while(b&&b!==i)}},t.getSelectionWrappers=s,t.clearSelectionWrappers=function(e){s(e).forEach((function(e){return r.Dom.unwrap(e)}))},t.clearSelectionWrappersFromHTML=function(e){return e.replace(RegExp("<span[^>]+".concat(a,"[^>]+>(.*?)</span>"),"g"),"$1")},t.isSelectionWrapper=l},20964:function(){},67155:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.search=void 0;var n=o(52784),r=o(96582),i=o(43464),a=o(51923),s=o(31398),l=o(16892),c=o(58706),u=o(21614);o(14557);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"find",group:"search"}],t.previousQuery="",t.drawPromise=null,t.walker=null,t.walkerCount=null,t.cache={},t.wrapFrameRequest=0,t}return n.__extends(t,e),Object.defineProperty(t.prototype,"ui",{get:function(){return new s.UISearch(this.j)},enumerable:!1,configurable:!0}),t.prototype.updateCounters=function(){return n.__awaiter(this,void 0,Promise,(function(){var e;return n.__generator(this,(function(t){switch(t.label){case 0:return this.ui.isOpened?(e=this.ui,[4,this.calcCounts(this.ui.query)]):[2];case 1:return e.count=t.sent(),[2]}}))}))},t.prototype.onPressReplaceButton=function(){this.findAndReplace(this.ui.query),this.updateCounters()},t.prototype.tryScrollToElement=function(e){var t=r.Dom.closest(e,r.Dom.isElement,this.j.editor);t||(t=r.Dom.prev(e,r.Dom.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,l.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)},t.prototype.calcCounts=function(e){return n.__awaiter(this,void 0,Promise,(function(){return n.__generator(this,(function(t){switch(t.label){case 0:return[4,this.findQueryBounds(e,"walkerCount")];case 1:return[2,t.sent().length]}}))}))},t.prototype.findQueryBounds=function(e,t){return n.__awaiter(this,void 0,Promise,(function(){var o;return n.__generator(this,(function(n){return(o=this[t])&&o.break(),o=new r.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[t]=o,[2,this.find(o,e).catch((function(e){return[]}))]}))}))},t.prototype.findAndReplace=function(e){return n.__awaiter(this,void 0,Promise,(function(){var t,o,i,a,s;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,this.findQueryBounds(e,"walker")];case 1:if(!(t=n.sent()).length)return[2,!1];if(-1===(o=this.findCurrentIndexInRanges(t,this.j.s.range))&&(o=0),!(i=t[o]))return[3,6];n.label=2;case 2:return n.trys.push([2,,4,5]),(a=this.j.ed.createRange()).setStart(i.startContainer,i.startOffset),a.setEnd(i.endContainer,i.endOffset),a.deleteContents(),s=this.j.createInside.text(this.ui.replace),r.Dom.safeInsertNode(a,s),(0,u.clearSelectionWrappers)(this.j.editor),this.j.s.setCursorAfter(s),this.tryScrollToElement(s),this.cache={},this.ui.currentIndex=o,[4,this.findAndSelect(e,!0).catch((function(e){return null}))];case 3:return n.sent(),[3,5];case 4:return this.j.synchronizeValues(),[7];case 5:return this.j.e.fire("afterFindAndReplace"),[2,!0];case 6:return[2,!1]}}))}))},t.prototype.findAndSelect=function(e,t){var o;return n.__awaiter(this,void 0,Promise,(function(){var r,i,a,s;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,this.findQueryBounds(e,"walker")];case 1:if(!(r=n.sent()).length)return[2,!1];if(this.previousQuery===e&&(0,u.getSelectionWrappers)(this.j.editor).length||(null===(o=this.drawPromise)||void 0===o||o.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,u.clearSelectionWrappers)(this.j.editor),this.drawPromise=this.drawSelectionRanges(r)),this.previousQuery=e,this.ui.currentIndex=(i=-1==(i=this.ui.currentIndex-1)?0:t?i===r.length-1?0:i+1:0===i?r.length-1:i-1)+1,!(a=r[i]))return[3,4];s=this.j.ed.createRange();try{s.setStart(a.startContainer,a.startOffset),s.setEnd(a.endContainer,a.endOffset),this.j.s.selectRange(s)}catch(e){}return this.tryScrollToElement(a.startContainer),[4,this.updateCounters()];case 2:return n.sent(),[4,this.drawPromise];case 3:return n.sent(),this.j.e.fire("afterFindAndSelect"),[2,!0];case 4:return[2,!1]}}))}))},t.prototype.findCurrentIndexInRanges=function(e,t){return e.findIndex((function(e){return e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset}))},t.prototype.isValidCache=function(e){return n.__awaiter(this,void 0,Promise,(function(){return n.__generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent().every((function(e){var t,o,n,r;return e.startContainer.isConnected&&e.startOffset<=(null!==(o=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==o?o:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(r=null===(n=e.endContainer.nodeValue)||void 0===n?void 0:n.length)&&void 0!==r?r:0)}))]}}))}))},t.prototype.find=function(e,t){return n.__awaiter(this,void 0,Promise,(function(){var o,i,a=this;return n.__generator(this,(function(n){switch(n.label){case 0:return t.length?(i=o=this.cache[t])?[4,this.isValidCache(o)]:[3,2]:[2,[]];case 1:i=n.sent(),n.label=2;case 2:return i?[2,o]:(this.cache[t]=this.j.async.promise((function(o){var n=new u.SentenceFinder(a.j.o.search.fuzzySearch);e.on("break",(function(){o([])})).on("visit",(function(e){return r.Dom.isText(e)&&n.add(e),!1})).on("end",(function(){var e;o(null!==(e=n.ranges(t))&&void 0!==e?e:[])})).setWork(a.j.editor)})),[2,this.cache[t]])}}))}))},t.prototype.drawSelectionRanges=function(e){var t=this,o=this.j,r=o.async,i=o.createInside,a=o.editor;r.cancelAnimationFrame(this.wrapFrameRequest);var s,l=n.__spreadArray([],n.__read(e),!1),c=0;return r.promise((function(e){var o=function(){do{(s=l.shift())&&(0,u.wrapRangesTextsInTmpSpan)(s,l,i,a),c+=1}while(s&&5>=c);l.length?t.wrapFrameRequest=r.requestAnimationFrame(o):e()};o()}))},t.prototype.onAfterGetValueFromEditor=function(e){e.value=(0,u.clearSelectionWrappersFromHTML)(e.value)},t.prototype.afterInit=function(e){var t=this;if(e.o.useSearch){var o=this;e.e.on("beforeSetMode.search",(function(){t.ui.close()})).on(this.ui,"afterClose",(function(){(0,u.clearSelectionWrappers)(e.editor),t.ui.currentIndex=0,t.ui.count=0,t.cache={}})).on("click",(function(){t.ui.currentIndex=0,(0,u.clearSelectionWrappers)(e.editor)})).on("change.search",(function(){t.cache={}})).on("keydown.search mousedown.search",e.async.debounce((function(){t.ui.selInfo&&(e.s.removeMarkers(),t.ui.selInfo=null),t.ui.isOpened&&t.updateCounters()}),e.defaultTimeout)).on("searchNext.search searchPrevious.search",(function(){return t.ui.isOpened||t.ui.open(),o.findAndSelect(o.ui.query,"searchNext"===e.e.current).catch((function(e){}))})).on("search.search",(function(e,n){return void 0===n&&(n=!0),t.ui.currentIndex=0,o.findAndSelect(e||"",n).catch((function(e){}))})),e.registerCommand("search",{exec:function(e,t,n){return void 0===n&&(n=!0),t&&o.findAndSelect(t,n).catch((function(e){})),!1}}).registerCommand("openSearchDialog",{exec:function(e,t){return o.ui.open(t),!1},hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:function(t,n,r){return e.o.readonly||o.ui.open(n,r,!0),!1},hotkeys:["ctrl+h","cmd+h"]})}},t.prototype.beforeDestruct=function(e){this.ui.destruct(),e.e.off(".search")},n.__decorate([a.cache],t.prototype,"ui",null),n.__decorate([(0,a.watch)("ui:needUpdateCounters")],t.prototype,"updateCounters",null),n.__decorate([(0,a.watch)("ui:pressReplaceButton")],t.prototype,"onPressReplaceButton",null),n.__decorate([a.autobind],t.prototype,"findQueryBounds",null),n.__decorate([a.autobind],t.prototype,"findAndReplace",null),n.__decorate([a.autobind],t.prototype,"findAndSelect",null),n.__decorate([a.autobind],t.prototype,"find",null),n.__decorate([(0,a.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),t}(i.Plugin);t.search=d,c.pluginSystem.add("search",d)},31398:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISearch=void 0;var n=o(52784);o(52404);var r=o(98440),i=o(16892),a=o(49940),s=o(49940),l=o(51923),c=o(96582),u=function(e){function t(t){var o=e.call(this,t)||this;o.selInfo=null,o._currentIndex=0,o.isOpened=!1;var n=(0,i.refs)(o.container),r=n.replace,a=n.cancel,l=n.next,c=n.prev,u=n.replaceBtn,d=n.current,p=n.count;return o.queryInput=n.query,o.replaceInput=r,o.closeButton=a,o.replaceButton=u,o.currentBox=d,o.countBox=p,t.e.on(o.closeButton,"pointerdown",(function(){return o.close(),!1})).on(o.queryInput,"input",(function(){o.currentIndex=0})).on(o.queryInput,"pointerdown",(function(){t.s.isFocused()&&(t.s.removeMarkers(),o.selInfo=t.s.save())})).on(o.replaceButton,"pointerdown",(function(){return t.e.fire(o,"pressReplaceButton"),!1})).on(l,"pointerdown",(function(){return t.e.fire("searchNext"),!1})).on(c,"pointerdown",(function(){return t.e.fire("searchPrevious"),!1})).on(o.queryInput,"input",(function(){o.setMod("empty-query",!(0,i.trim)(o.queryInput.value).length)})).on(o.queryInput,"keydown",o.j.async.debounce((function(e){e.key===s.KEY_ENTER?(e.preventDefault(),e.stopImmediatePropagation(),t.e.fire("searchNext")&&o.close()):t.e.fire(o,"needUpdateCounters")}),o.j.defaultTimeout)),o}return n.__extends(t,e),t.prototype.className=function(){return"UISearch"},t.prototype.render=function(){return'<div>\n\t\t\t<div class="&__box">\n\t\t\t\t<div class="&__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="~Replace with~" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__counts">\n\t\t\t\t\t<span data-ref="counter-box">\n\t\t\t\t\t\t<span data-ref="current">0</span><span>/</span><span data-ref="count">0</span>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">'.concat(r.Icon.get("angle-down"),'</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">').concat(r.Icon.get("angle-up"),'</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">').concat(r.Icon.get("cancel"),'</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>')},Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(e){this._currentIndex=e,this.currentBox.innerText=e.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{set:function(e){this.countBox.innerText=e.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryInput.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"replace",{get:function(){return this.replaceInput.value},enumerable:!1,configurable:!0}),t.prototype.onEditorKeyDown=function(e){if(this.isOpened){var t=this.j;if(t.getRealMode()===a.MODE_WYSIWYG)switch(e.key){case s.KEY_ESC:this.close();break;case s.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}},t.prototype.open=function(e,t,o){void 0===o&&(o=!1),this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",o);var n=null!=e?e:(this.j.s.sel||"").toString();n&&(this.queryInput.value=n),t&&(this.replaceInput.value=t),this.setMod("empty-query",!n.length),this.j.e.fire(this,"needUpdateCounters"),n?this.queryInput.select():this.queryInput.focus()},t.prototype.close=function(){this.isOpened&&(this.j.s.restore(),c.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))},t.prototype.calcSticky=function(e){if(this.isOpened)if(this.setMod("sticky",e),e){var t=(0,i.position)(this.j.toolbarContainer);(0,i.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,i.css)(this.container,{top:null,left:null})},n.__decorate([(0,l.watch)([":keydown","queryInput:keydown"])],t.prototype,"onEditorKeyDown",null),n.__decorate([l.autobind],t.prototype,"open",null),n.__decorate([l.autobind],t.prototype,"close",null),n.__decorate([(0,l.watch)(":toggleSticky")],t.prototype,"calcSticky",null),n.__decorate([l.component],t)}(r.UIElement);t.UISearch=u},59814:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.tableAllowCellSelection=!0},60145:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectCells=void 0;var n=o(52784),r=o(43464),i=o(71910),a=o(12815),s=o(16892),l=o(49940),c=o(51923),u=o(58706);o(59814);var d="table_processor_observer",p="onMoveTableSelectCell",f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["select"],t.selectedCell=null,t.isSelectionMode=!1,t}return n.__extends(t,e),Object.defineProperty(t.prototype,"module",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",(function(e){e.key===l.KEY_TAB&&t.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((function(e){return e+".select-cells"})).join(" "),this.onStartSelection).on("clickTr clickTbody",(function(){var e,o=t.module.getAllSelectedCells().length;if(o)return o>1&&(null===(e=t.j.s.sel)||void 0===e||e.removeAllRanges()),!1}))},t.prototype.onStartSelection=function(e){if(!this.j.o.readonly&&(this.unselectCells(),e!==this.j.editor)){var t=a.Dom.closest(e,"table",this.j.editor);if(e&&t)return e.firstChild||e.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=e,this.module.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,t),{label:p,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,t)),!1}},t.prototype.onOutsideClick=function(){this.selectedCell=null,this.onRemoveSelection()},t.prototype.onChange=function(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()},t.prototype.onMove=function(e,t){var o,n=this;if((!this.j.o.readonly||this.j.isLocked)&&!this.j.isLockedNotBy(d)){var r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(r){var s=a.Dom.closest(r,["td","th"],e);if(s&&this.selectedCell){s!==this.selectedCell&&this.j.lock(d),this.unselectCells();for(var l=i.Table.getSelectedBound(e,[s,this.selectedCell]),c=i.Table.formalMatrix(e),u=l[0][0];l[1][0]>=u;u+=1)for(var p=l[0][1];l[1][1]>=p;p+=1)this.module.addSelection(c[u][p]);var f;this.module.getAllSelectedCells().length>1&&(null===(o=this.j.s.sel)||void 0===o||o.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),f=n.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>'),s.appendChild(f),n.j.async.setTimeout((function(){var e;null===(e=f.parentNode)||void 0===e||e.removeChild(f)}),n.j.defaultTimeout/5)}}}},t.prototype.onRemoveSelection=function(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null},t.prototype.onStopSelection=function(e,t){var o=this;if(this.selectedCell){this.isSelectionMode=!1,this.j.unlock();var n=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(n){var r=a.Dom.closest(n,["td","th"],e);if(r){var l=a.Dom.closest(r,"table",e);if(!l||l===e){var c=i.Table.getSelectedBound(e,[r,this.selectedCell]),u=i.Table.formalMatrix(e),d=u[c[1][0]][c[1][1]],f=u[c[0][0]][c[0][1]];this.j.e.fire("showPopup",e,(function(){var e=(0,s.position)(f,o.j),t=(0,s.position)(d,o.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),"cells"),(0,s.$$)("table",this.j.editor).forEach((function(e){o.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(p)}}}}},t.prototype.unselectCells=function(e){var t=this.module,o=t.getAllSelectedCells();o.length&&o.forEach((function(o){e&&e===o||t.removeSelection(o)}))},t.prototype.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var t=this.module.getAllSelectedCells();if(t.length){var o=n.__read(t,1)[0];if(!o)return;var r=a.Dom.closest(o,"table",this.j.editor);if(!r)return;switch(e){case"splitv":i.Table.splitVertical(r,this.j);break;case"splitg":i.Table.splitHorizontal(r,this.j);break;case"merge":i.Table.mergeSelected(r,this.j);break;case"empty":t.forEach((function(e){return a.Dom.detach(e)}));break;case"bin":a.Dom.safeRemove(r);break;case"binrow":new Set(t.map((function(e){return e.parentNode}))).forEach((function(e){i.Table.removeRow(r,e.rowIndex)}));break;case"bincolumn":var s=new Set;t.reduce((function(e,t){return s.has(t.cellIndex)||(e.push(t),s.add(t.cellIndex)),e}),[]).forEach((function(e){i.Table.removeColumn(r,e.cellIndex)}));break;case"addcolumnafter":case"addcolumnbefore":i.Table.appendColumn(r,o.cellIndex,"addcolumnafter"===e,this.j.createInside);break;case"addrowafter":case"addrowbefore":i.Table.appendRow(r,o.parentNode,"addrowafter"===e,this.j.createInside)}}return!1}},t.prototype.onAfterCommand=function(e){/^justify/.test(e)&&this.module.getAllSelectedCells().forEach((function(t){return(0,s.alignElement)(e,t)}))},t.prototype.beforeDestruct=function(e){this.onRemoveSelection(),e.e.off(".select-cells")},n.__decorate([c.autobind],t.prototype,"onStartSelection",null),n.__decorate([(0,c.watch)(":outsideClick")],t.prototype,"onOutsideClick",null),n.__decorate([(0,c.watch)(":change")],t.prototype,"onChange",null),n.__decorate([c.autobind],t.prototype,"onRemoveSelection",null),n.__decorate([c.autobind],t.prototype,"onStopSelection",null),n.__decorate([c.autobind],t.prototype,"onExecCommand",null),n.__decorate([c.autobind],t.prototype,"onAfterCommand",null),t}(r.Plugin);t.selectCells=f,u.pluginSystem.add("selectCells",f)},35326:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1}},66064:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.select=void 0;var n=o(52784),r=o(43464),i=o(51923),a=o(83479),s=o(12815),l=o(98440),c=o(58706);o(35326);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"],t}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;this.proxyEventsList.forEach((function(o){e.e.on(o+".select",t.onStartSelection)}))},t.prototype.beforeDestruct=function(e){var t=this;this.proxyEventsList.forEach((function(o){e.e.on(o+".select",t.onStartSelection)}))},t.prototype.onStartSelection=function(e){for(var t,o=this.j,n=e.target;void 0===t&&n&&n!==o.editor;)t=o.e.fire((0,a.camelCase)(e.type+"_"+n.nodeName.toLowerCase()),n,e),n=n.parentElement;"click"===e.type&&void 0===t&&n===o.editor&&o.e.fire(e.type+"Editor",n,e)},t.prototype.onOutsideClick=function(e){var t=this,o=e.target;s.Dom.up(o,(function(e){return e===t.j.editor}))||l.UIElement.closestElement(o,l.Popup)||this.j.e.fire("outsideClick",e)},t.prototype.beforeCommandCut=function(e){var t=this.j.s;if("cut"===e&&!t.isCollapsed()){var o=t.current();o&&s.Dom.isOrContains(this.j.editor,o)&&this.onCopyNormalizeSelectionBound()}},t.prototype.onCopyNormalizeSelectionBound=function(e){var t=this.j,o=t.editor;t.o.select.normalizeSelectionBeforeCutAndCopy&&!t.s.isCollapsed()&&(!e||e.isTrusted&&s.Dom.isNode(e.target)&&s.Dom.isOrContains(o,e.target))&&this.jodit.s.expandSelection()},n.__decorate([i.autobind],t.prototype,"onStartSelection",null),n.__decorate([(0,i.watch)("ow:click")],t.prototype,"onOutsideClick",null),n.__decorate([(0,i.watch)([":beforeCommand"])],t.prototype,"beforeCommandCut",null),n.__decorate([(0,i.watch)([":copy",":cut"])],t.prototype,"onCopyNormalizeSelectionBound",null),t}(r.Plugin);t.select=u,c.pluginSystem.add("select",u)},11744:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.minWidth=200,n.Config.prototype.maxWidth="100%",n.Config.prototype.minHeight=200,n.Config.prototype.maxHeight="auto",n.Config.prototype.saveHeightInStorage=!1},9427:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.size=void 0;var n=o(52784);o(32052);var r=o(16892),i=o(36894),a=o(51923),s=o(58706);o(11744);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizeWorkspaces=t.j.async.debounce(t.resizeWorkspaceImd,t.j.defaultTimeout,!0),t}return n.__extends(t,e),t.prototype.afterInit=function(e){e.e.on("setHeight.size",this.setHeight).on("setWidth.size",this.setWidth).on("afterInit.size changePlace.size",this.initialize,{top:!0}).on(e.ow,"load.size",this.resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.resizeWorkspaceImd),this.initialize()},t.prototype.initialize=function(){var e=this.j;if(!e.o.inline){var t=e.o.height;if(e.o.saveHeightInStorage&&"auto"!==t){var o=e.storage.get("height");o&&(t=o)}(0,r.css)(e.editor,{minHeight:"100%"}),(0,r.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),this.setHeight(t),this.setWidth(e.o.width)}},t.prototype.setHeight=function(e){if((0,r.isNumber)(e)){var t=this.j.o,o=t.minHeight,n=t.maxHeight;(0,r.isNumber)(o)&&o>e&&(e=o),(0,r.isNumber)(n)&&e>n&&(e=n)}(0,r.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.resizeWorkspaceImd()},t.prototype.setWidth=function(e){if((0,r.isNumber)(e)){var t=this.j.o,o=t.minWidth,n=t.maxWidth;(0,r.isNumber)(o)&&o>e&&(e=o),(0,r.isNumber)(n)&&e>n&&(e=n)}(0,r.css)(this.j.container,"width",e),this.resizeWorkspaceImd()},t.prototype.getNotWorkHeight=function(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2},t.prototype.resizeWorkspaceImd=function(){if(this.j&&!this.j.isDestructed&&this.j.o&&!this.j.o.inline&&this.j.container&&this.j.container.parentNode){var e=((0,r.css)(this.j.container,"minHeight")||0)-this.getNotWorkHeight();if((0,r.isNumber)(e)&&e>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((function(t){t&&(0,r.css)(t,"minHeight",e)})),this.j.e.fire("setMinHeight",e)),(0,r.isNumber)(this.j.o.maxHeight)){var t=this.j.o.maxHeight-this.getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((function(e){e&&(0,r.css)(e,"maxHeight",t)})),this.j.e.fire("setMaxHeight",t)}this.j.container&&(0,r.css)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.getNotWorkHeight():"auto")}},t.prototype.beforeDestruct=function(e){e.e.off(e.ow,"load.size",this.resizeWorkspaces).off(".size")},n.__decorate([a.autobind],t.prototype,"resizeWorkspaceImd",null),n.__decorate([a.autobind],t)}(i.Plugin);t.size=l,s.pluginSystem.add("size",l)},39983:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(49940),i=o(74259);n.Config.prototype.beautifyHTML=!r.IS_IE,n.Config.prototype.sourceEditor="ace",n.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},n.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],n.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],i.Icon.set("source",o(88858)),n.Config.prototype.controls.source={mode:r.MODE_SPLIT,exec:function(e){e.toggleMode()},isActive:function(e){return e.getRealMode()===r.MODE_SOURCE},tooltip:"Change mode"}},63671:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AceEditor=void 0;var n=o(52784),r=o(49940),i=o(16892),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.className="jodit_ace_editor",t.proxyOnBlur=function(e){t.j.e.fire("blur",e)},t.proxyOnFocus=function(e){t.j.e.fire("focus",e)},t.proxyOnMouseDown=function(e){t.j.e.fire("mousedown",e)},t}return n.__extends(t,e),t.prototype.aceExists=function(){return void 0!==this.j.ow.ace},t.prototype.getLastColumnIndex=function(e){return this.instance.session.getLine(e).length},t.prototype.getLastColumnIndices=function(){for(var e=this.instance.session.getLength(),t=[],o=0,n=0;e>n;n++)o+=this.getLastColumnIndex(n),n>0&&(o+=1),t[n]=o;return t},t.prototype.getRowColumnIndices=function(e){var t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};for(var o=1,n=1;t.length>n;n++)e>t[n]&&(o=n+1);return{row:o,column:e-t[o-1]-1}},t.prototype.setSelectionRangeIndices=function(e,t){var o=this.getRowColumnIndices(e),n=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:o,end:n})},t.prototype.getIndexByRowColumn=function(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t},t.prototype.init=function(e){var t=this,o=function(){if(void 0===t.instance&&t.aceExists()){var o=t.j.c.div("jodit-source__mirror-fake");t.container.appendChild(o),t.instance=e.ow.ace.edit(o),t.instance.setTheme(e.o.sourceEditorNativeOptions.theme),t.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),t.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),t.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),t.instance.getSession().setUseWrapMode(!0),t.instance.setOption("indentedSoftWrap",!1),t.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),t.instance.getSession().setUseWorker(!1),t.instance.$blockScrolling=1/0,t.instance.on("change",t.toWYSIWYG),t.instance.on("focus",t.proxyOnFocus),t.instance.on("mousedown",t.proxyOnMouseDown),t.instance.on("blur",t.proxyOnBlur),e.getRealMode()!==r.MODE_WYSIWYG&&t.setValue(t.getValue());var n=t.j.async.debounce((function(){e.isInDestruct||(t.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/t.instance.renderer.lineHeight:1/0),t.instance.resize())}),2*t.j.defaultTimeout);e.e.on("afterResize afterSetMode",n),n(),t.onReady()}};e.e.on("afterSetMode",(function(){e.getRealMode()!==r.MODE_SOURCE&&e.getMode()!==r.MODE_SPLIT||(t.fromWYSIWYG(),o())})),o(),this.aceExists()||(0,i.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then((function(){e.isInDestruct||o()})).catch((function(){return null}))},t.prototype.destruct=function(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")},t.prototype.setValue=function(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var t=this.j.e.fire("beautifyHTML",e);(0,i.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()},t.prototype.getValue=function(){return this.instance.getValue()},t.prototype.setReadOnly=function(e){this.instance.setReadOnly(e)},Object.defineProperty(t.prototype,"isFocused",{get:function(){return this.instance.isFocused()},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.getSelectionStart=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)},t.prototype.getSelectionEnd=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)},t.prototype.selectAll=function(){this.instance.selection.selectAll()},t.prototype.insertRaw=function(e){var t=this.instance.selection.getCursor(),o=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:o},!1)},t.prototype.setSelectionRange=function(e,t){this.setSelectionRangeIndices(e,t)},t.prototype.setPlaceHolder=function(e){},t.prototype.replaceUndoManager=function(){var e=this.jodit.history;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec:function(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec:function(){e.redo()}})},t}(o(79770).SourceEditor);t.AceEditor=a},35449:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextAreaEditor=void 0;var n=o(52784),r=o(21714),i=o(12815),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.autosize=t.j.async.debounce((function(){t.instance.style.height="auto",t.instance.style.height=t.instance.scrollHeight+"px"}),t.j.defaultTimeout),t}return n.__extends(t,e),t.prototype.init=function(e){var t=this;this.instance=e.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",(function(e){(0,r.css)(t.instance,"minHeight",e)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(function(t){e.e.fire(t.type,t)})),this.autosize(),this.onReady()},t.prototype.destruct=function(){i.Dom.safeRemove(this.instance)},t.prototype.getValue=function(){return this.instance.value},t.prototype.setValue=function(e){this.instance.value=e},t.prototype.insertRaw=function(e){var t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{var o=this.getSelectionStart(),n=this.getSelectionEnd();this.setValue(t.substring(0,o)+e+t.substring(n,t.length))}},t.prototype.getSelectionStart=function(){return this.instance.selectionStart},t.prototype.getSelectionEnd=function(){return this.instance.selectionEnd},t.prototype.setSelectionRange=function(e,t){void 0===t&&(t=e),this.instance.setSelectionRange(e,t)},Object.defineProperty(t.prototype,"isFocused",{get:function(){return this.instance===this.j.od.activeElement},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.setPlaceHolder=function(e){this.instance.setAttribute("placeholder",e)},t.prototype.setReadOnly=function(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")},t.prototype.selectAll=function(){this.instance.select()},t.prototype.replaceUndoManager=function(){var e=this,t=this.jodit.history;this.j.e.on(this.instance,"keydown",(function(o){if((o.ctrlKey||o.metaKey)&&"z"===o.key)return o.shiftKey?t.redo():t.undo(),e.setSelectionRange(e.getValue().length),!1}))},t}(o(79770).SourceEditor);t.TextAreaEditor=a},51628:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);n.__exportStar(o(35449),t),n.__exportStar(o(63671),t)},73443:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSourceEditor=void 0;var n=o(16892),r=o(51628);t.createSourceEditor=function(e,t,o,i,a){var s;if((0,n.isFunction)(e))s=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){s=new r.AceEditor(t,o,i,a);break}default:s=new r.TextAreaEditor(t,o,i,a)}return s.init(t),s.onReadyAlways((function(){s.setReadOnly(t.o.readonly)})),s}},79770:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceEditor=void 0;var o=function(){function e(e,t,o,n){this.jodit=e,this.container=t,this.toWYSIWYG=o,this.fromWYSIWYG=n,this.className="",this.isReady=!1}return Object.defineProperty(e.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.onReady=function(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")},e.prototype.onReadyAlways=function(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)},e}();t.SourceEditor=o},15834:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.source=void 0;var n=o(52784);o(76069);var r=o(49940),i=o(49940),a=o(43464),s=o(12815),l=o(16892),c=o(51923),u=o(58706),d=o(73443);o(39983);var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"source",group:"source"}],t.__lock=!1,t.__oldMirrorValue="",t.tempMarkerStart="{start-jodit-selection}",t.tempMarkerStartReg=/{start-jodit-selection}/g,t.tempMarkerEnd="{end-jodit-selection}",t.tempMarkerEndReg=/{end-jodit-selection}/g,t.getSelectionStart=function(){var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionStart())&&void 0!==o?o:0},t.getSelectionEnd=function(){var e,o;return null!==(o=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==o?o:0},t}return n.__extends(t,e),t.prototype.onInsertHTML=function(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1},t.prototype.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!this.__lock||!0===e){this.__lock=!0;var t=this.j.getEditorValue(!1,i.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}},t.prototype.toWYSIWYG=function(){if(!this.__lock){var e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}},t.prototype.getNormalPosition=function(e,t){for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(function(e){for(var t="",o=0;e.length>o;o+=1)t+=i.INVISIBLE_SPACE;return t}));e>0&&t[e]===i.INVISIBLE_SPACE;)e--;for(var o=e;o>0;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w/]+/i))return o;if(">"===t[o])return e}return e},t.prototype.clnInv=function(e){return e.replace(r.INVISIBLE_SPACE_REG_EXP(),"")},t.prototype.onSelectAll=function(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===i.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1},t.prototype.getMirrorValue=function(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""},t.prototype.setMirrorValue=function(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)},t.prototype.setFocusToMirror=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()},t.prototype.saveSelection=function(){if(this.j.getRealMode()===r.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;var e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){var t=this.j.s.marker(!0),o=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substring(0,o)+this.clnInv(t.outerHTML)+e.substring(o))}else{var n=this.j.s.marker(!0),i=this.j.s.marker(!1),a=(o=this.getNormalPosition(this.getSelectionStart(),e),this.getNormalPosition(this.getSelectionEnd(),e));this.setMirrorValue(e.substring(0,o)+this.clnInv(n.outerHTML)+e.substring(o,a-o)+this.clnInv(i.outerHTML)+e.substring(a))}this.toWYSIWYG()}},t.prototype.removeSelection=function(){if(this.j.getRealMode()===r.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);var e=this.getMirrorValue(),t=0,o=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var n=this.j.e.fire("beautifyHTML",e);(0,l.isString)(n)&&(e=n)}if(o=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){var i=e.indexOf(this.tempMarkerEnd);-1!==i&&(o=i)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,o),this.toWYSIWYG(),this.setFocusToMirror()},t.prototype.setMirrorSelectionRange=function(e,t){var o;null===(o=this.sourceEditor)||void 0===o||o.setSelectionRange(e,t)},t.prototype.onReadonlyReact=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)},t.prototype.afterInit=function(e){var t=this;if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",(function(){e.workplace.appendChild(t.mirrorContainer)})),this.sourceEditor=(0,d.createSourceEditor)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",(function(e){var o;e.key===i.KEY_ESC&&(null===(o=t.sourceEditor)||void 0===o?void 0:o.isFocused)&&t.sourceEditor.blur()})),this.onReadonlyReact(),e.e.on("placeholder.source",(function(e){var o;null===(o=t.sourceEditor)||void 0===o||o.setPlaceHolder(e)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(function(e){return e})),e.o.beautifyHTML){var o=function(){var t,o=e.ow.html_beautify;return!(!o||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",(function(e){return o(e)})),0))};o()||(0,l.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(o)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)},t.prototype.syncValueFromWYSIWYG=function(e){void 0===e&&(e=!1);var t=this.j;t.getMode()!==i.MODE_SPLIT&&t.getMode()!==i.MODE_SOURCE||this.fromWYSIWYG(e)},t.prototype.initSourceEditor=function(e){var t,o=this;if("area"!==e.o.sourceEditor){var n=(0,d.createSourceEditor)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);n.onReadyAlways((function(){var t,r;null===(t=o.sourceEditor)||void 0===t||t.destruct(),o.sourceEditor=n,o.syncValueFromWYSIWYG(!0),null===(r=e.events)||void 0===r||r.fire("sourceEditorReady",e)}))}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways((function(){var t;o.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)}))},t.prototype.beforeDestruct=function(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),s.Dom.safeRemove(this.mirrorContainer)},n.__decorate([(0,c.watch)(":insertHTML.source")],t.prototype,"onInsertHTML",null),n.__decorate([c.autobind],t.prototype,"fromWYSIWYG",null),n.__decorate([c.autobind],t.prototype,"toWYSIWYG",null),n.__decorate([c.autobind],t.prototype,"getNormalPosition",null),n.__decorate([(0,c.watch)(":beforeCommand.source")],t.prototype,"onSelectAll",null),n.__decorate([(0,c.watch)(":beforeSetMode.source")],t.prototype,"saveSelection",null),n.__decorate([(0,c.watch)(":afterSetMode.source")],t.prototype,"removeSelection",null),n.__decorate([c.autobind],t.prototype,"setMirrorSelectionRange",null),n.__decorate([(0,c.watch)(":readonly.source")],t.prototype,"onReadonlyReact",null),n.__decorate([c.autobind],t.prototype,"syncValueFromWYSIWYG",null),t}(a.Plugin);t.source=p,u.pluginSystem.add("source",p)},38172:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.spellcheck=!1,r.Icon.set("spellcheck",o(16054)),n.Config.prototype.controls.spellcheck={isActive:function(e){return e.o.spellcheck},icon:o(16054),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},57395:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var n=o(97871);t.ar=n;var r=o(30689);t.cs_cz=r;var i=o(80242);t.de=i;var a=o(18338);t.es=a;var s=o(30402);t.fa=s;var l=o(64941);t.fr=l;var c=o(58543);t.he=c;var u=o(63504);t.hu=u;var d=o(44927);t.id=d;var p=o(79211);t.it=p;var f=o(8903);t.ja=f;var h=o(68537);t.ko=h;var m=o(91597);t.nl=m;var v=o(52608);t.pl=v;var g=o(51529);t.pt_br=g;var y=o(72924);t.ru=y;var b=o(19366);t.tr=b;var _=o(54398);t.zh_cn=_;var w=o(84052);t.zh_tw=w},21056:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spellcheck=void 0;var n=o(52784),r=o(43464),i=o(89437),a=o(51923),s=o(58706);o(38172);var l=function(e){function t(t){var n=e.call(this,t)||this;return n.buttons=[{group:"state",name:"spellcheck"}],(0,s.extendLang)(o(57395)),n}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",(function(){t.jodit.o.spellcheck=!t.jodit.o.spellcheck,t.toggleSpellcheck(),t.j.e.fire("updateToolbar")}))},t.prototype.toggleSpellcheck=function(){(0,i.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)},t.prototype.beforeDestruct=function(e){},n.__decorate([a.autobind],t.prototype,"toggleSpellcheck",null),t}(r.Plugin);t.spellcheck=l,s.pluginSystem.add("spellcheck",l)},20008:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.showCharsCounter=!0,n.Config.prototype.countHTMLChars=!1,n.Config.prototype.showWordsCounter=!0},59127:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stat=void 0;var n=o(52784),r=o(49940),i=o(36894),a=o(12815),s=o(58706);o(20008);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.charCounter=null,t.wordCounter=null,t.reInit=function(){t.j.o.showCharsCounter&&t.charCounter&&t.j.statusbar.append(t.charCounter,!0),t.j.o.showWordsCounter&&t.wordCounter&&t.j.statusbar.append(t.wordCounter,!0),t.j.e.off("change keyup",t.calc).on("change keyup",t.calc),t.calc()},t.calc=t.j.async.throttle((function(){var e=t.j.text;if(t.j.o.showCharsCounter&&t.charCounter){var o=t.j.o.countHTMLChars?t.j.value:e.replace((0,r.SPACE_REG_EXP)(),"");t.charCounter.textContent=t.j.i18n("Chars: %d",o.length)}t.j.o.showWordsCounter&&t.wordCounter&&(t.wordCounter.textContent=t.j.i18n("Words: %d",e.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").split((0,r.SPACE_REG_EXP)()).filter((function(e){return e.length})).length))}),t.j.defaultTimeout),t}return n.__extends(t,e),t.prototype.afterInit=function(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()},t.prototype.beforeDestruct=function(){a.Dom.safeRemove(this.charCounter),a.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null},t}(i.Plugin);t.stat=l,s.pluginSystem.add("stat",l)},3112:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733);n.Config.prototype.toolbarSticky=!0,n.Config.prototype.toolbarDisableStickyForMobile=!0,n.Config.prototype.toolbarStickyOffset=0},77518:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sticky=void 0;var n=o(52784);o(96578);var r=o(49940),i=o(36894),a=o(12815),s=o(16892),l=o(51923),c=o(58706);o(3112);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isToolbarSticked=!1,t.createDummy=function(e){r.IS_IE&&!t.dummyBox&&(t.dummyBox=t.j.c.div(),t.dummyBox.classList.add("jodit_sticky-dummy_toolbar"),t.j.container.insertBefore(t.dummyBox,e))},t.addSticky=function(e){t.isToolbarSticked||(t.createDummy(e),t.j.container.classList.add("jodit_sticky"),t.isToolbarSticked=!0),(0,s.css)(e,{top:t.j.o.toolbarStickyOffset||null,width:t.j.container.offsetWidth-2}),r.IS_IE&&t.dummyBox&&(0,s.css)(t.dummyBox,{height:e.offsetHeight})},t.removeSticky=function(e){t.isToolbarSticked&&((0,s.css)(e,{width:"",top:""}),t.j.container.classList.remove("jodit_sticky"),t.isToolbarSticked=!1)},t}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",(function(){return t.isToolbarSticked}))},t.prototype.onScroll=function(){var e=this.jodit,t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,o=(0,s.offset)(e.container,e,e.od,!0),n=e.getMode()===r.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>o.top&&o.top+o.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.isMobile());if(e.o.toolbarSticky&&!0===e.o.toolbar&&this.isToolbarSticked!==n){var i=e.toolbarContainer;i&&(n?this.addSticky(i):this.removeSticky(i)),e.e.fire("toggleSticky",n)}},t.prototype.isMobile=function(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth},t.prototype.beforeDestruct=function(e){this.dummyBox&&a.Dom.safeRemove(this.dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")},n.__decorate([(0,l.throttle)()],t.prototype,"onScroll",null),t}(i.Plugin);t.sticky=u,c.pluginSystem.add("sticky",u)},69325:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(74259);n.Config.prototype.usePopupForSpecialCharacters=!1,n.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],r.Icon.set("symbols",o(41087)),n.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:function(e,t,o,n){var r=e.e.fire("generateSpecialCharactersTable.symbols");if(r){if(e.o.usePopupForSpecialCharacters){var i=e.c.div();return i.classList.add("jodit-symbols"),i.appendChild(r),e.e.on(r,"close_dialog",n),i}e.alert(r,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);var a=r.querySelector("a");a&&a.focus()}}}},89447:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var n=o(54942);t.ar=n;var r=o(91982);t.cs_cz=r;var i=o(67793);t.de=i;var a=o(73246);t.es=a;var s=o(83233);t.fa=s;var l=o(40695);t.fr=l;var c=o(18732);t.he=c;var u=o(14389);t.hu=u;var d=o(49571);t.id=d;var p=o(59462);t.it=p;var f=o(53146);t.ja=f;var h=o(70124);t.ko=h;var m=o(62202);t.nl=m;var v=o(56803);t.pl=v;var g=o(17431);t.pt_br=g;var y=o(14556);t.ru=y;var b=o(87539);t.tr=b;var _=o(34929);t.zh_cn=_;var w=o(47996);t.zh_tw=w},4702:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0;var n=o(52784);o(24305);var r=o(49940),i=o(36894),a=o(12815),s=o(93772),l=o(58706);o(69325);var c=function(e){function t(t){var n=e.call(this,t)||this;return n.buttons=[{name:"symbols",group:"insert"}],n.countInRow=17,(0,l.extendLang)(o(89447)),n}return n.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("generateSpecialCharactersTable.symbols",(function(){for(var o=e.c.fromHTML('<div class="jodit-symbols__container">\n\t\t\t\t\t\t<div class="jodit-symbols__container_table">\n\t\t\t\t\t\t\t<table class="jodit-symbols__table"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="jodit-symbols__container_preview">\n\t\t\t\t\t\t\t<div class="jodit-symbols__preview"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'),n=o.querySelector(".jodit-symbols__preview"),i=o.querySelector("table").tBodies[0],l=[],c=0;e.o.specialCharacters.length>c;){for(var u=e.c.element("tr"),d=0;t.countInRow>d&&e.o.specialCharacters.length>c;d+=1,c+=1){var p=e.c.element("td"),f=e.c.fromHTML('<a\n\t\t\t\t\t\t\t\t\tdata-index="'.concat(c,'"\n\t\t\t\t\t\t\t\t\tdata-index-j="').concat(d,'"\n\t\t\t\t\t\t\t\t\trole="option"\n\t\t\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\t\t>').concat(e.o.specialCharacters[c],"</a>"));l.push(f),p.appendChild(f),u.appendChild(p)}i.appendChild(u)}var h=t;return e.e.on(l,"focus",(function(){n.innerHTML=this.innerHTML})).on(l,"mousedown",(function(t){a.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(l,"mouseenter",(function(){a.Dom.isTag(this,"a")&&this.focus()})).on(l,"keydown",(function(t){var o=t.target;if(a.Dom.isTag(o,"a")){var n=parseInt((0,s.attr)(o,"-index")||"0",10),i=parseInt((0,s.attr)(o,"data-index-j")||"0",10),c=void 0;switch(t.key){case r.KEY_UP:case r.KEY_DOWN:void 0===l[c=t.key===r.KEY_UP?n-h.countInRow:n+h.countInRow]&&(c=t.key===r.KEY_UP?Math.floor(l.length/h.countInRow)*h.countInRow+i:i)>l.length-1&&(c-=h.countInRow),l[c]&&l[c].focus();break;case r.KEY_RIGHT:case r.KEY_LEFT:void 0===l[c=t.key===r.KEY_LEFT?n-1:n+1]&&(c=t.key===r.KEY_LEFT?l.length-1:0),l[c]&&l[c].focus();break;case r.KEY_ENTER:e.e.fire(o,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),o}))},t.prototype.beforeDestruct=function(e){e.e.off("generateSpecialCharactersTable.symbols")},t}(i.Plugin);t.symbols=c,l.pluginSystem.add("symbols",c)},17097:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(52784).__exportStar(o(72461),t)},72461:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onTabInsideLi=void 0;var n=o(12815);t.onTabInsideLi=function(e){if(!e.o.tab.tabInsideLiInsertNewList||!e.s.isCollapsed())return!1;var t=e.createInside.fake();e.s.insertNode(t);var o=n.Dom.closest(t,"li",e.editor);if(o&&e.s.cursorOnTheLeft(o)&&n.Dom.isTag(o.previousElementSibling,"li")){var r=n.Dom.closest(o,["ol","ul"],e.editor);if(r){var i=e.createInside.element(r.tagName),a=o.previousElementSibling;return i.appendChild(o),a.appendChild(i),e.s.setCursorAfter(t),n.Dom.safeRemove(t),!0}}return n.Dom.safeRemove(t),!1}},80803:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.tab={tabInsideLiInsertNewList:!0}},5280:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784),r=o(43464),i=o(51923),a=o(49940),s=o(58706),l=o(17097);o(80803);var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.onTab=function(e){if(e.key===a.KEY_TAB&&(0,l.onTabInsideLi)(this.j))return!1},t.prototype.beforeDestruct=function(e){},n.__decorate([(0,i.watch)(":keydown.tab")],t.prototype,"onTab",null),t}(r.Plugin);s.pluginSystem.add("tab",c)},15126:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tableKeyboardNavigation=void 0;var n=o(49940),r=o(12815),i=o(91980),a=o(58706);function s(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(function(t){var o,a;if((t.key===n.KEY_TAB||t.key===n.KEY_LEFT||t.key===n.KEY_RIGHT||t.key===n.KEY_UP||t.key===n.KEY_DOWN)&&(o=e.s.current(),a=r.Dom.up(o,(function(e){return e&&e.nodeName&&/^td|th$/i.test(e.nodeName)}),e.editor))){var s=e.s.range;if(t.key===n.KEY_TAB||o===a||(t.key!==n.KEY_LEFT&&t.key!==n.KEY_UP||!(r.Dom.prev(o,(function(e){return t.key===n.KEY_UP?r.Dom.isTag(e,"br"):Boolean(e)}),a)||t.key!==n.KEY_UP&&r.Dom.isText(o)&&0!==s.startOffset))&&(t.key!==n.KEY_RIGHT&&t.key!==n.KEY_DOWN||!(r.Dom.next(o,(function(e){return t.key===n.KEY_DOWN?r.Dom.isTag(e,"br"):Boolean(e)}),a)||t.key!==n.KEY_DOWN&&r.Dom.isText(o)&&o.nodeValue&&s.startOffset!==o.nodeValue.length))){var l=r.Dom.up(a,(function(e){return e&&/^table$/i.test(e.nodeName)}),e.editor),c=null;switch(t.key){case n.KEY_TAB:case n.KEY_LEFT:var u=t.key===n.KEY_LEFT||t.shiftKey?"prev":"next";(c=r.Dom[u](a,(function(e){return e&&/^td|th$/i.test(e.tagName)}),l))||(i.Table.appendRow(l,"next"!==u&&l.querySelector("tr"),"next"===u,e.createInside),c=r.Dom[u](a,r.Dom.isCell,l));break;case n.KEY_UP:case n.KEY_DOWN:var d=0,p=0,f=i.Table.formalMatrix(l,(function(e,t,o){e===a&&(d=t,p=o)}));t.key===n.KEY_UP?void 0!==f[d-1]&&(c=f[d-1][p]):void 0!==f[d+1]&&(c=f[d+1][p])}if(c){if(c.firstChild)t.key===n.KEY_TAB?e.s.select(c,!0):e.s.setCursorIn(c,t.key===n.KEY_RIGHT||t.key===n.KEY_DOWN);else{var h=e.createInside.element("br");c.appendChild(h),e.s.setCursorBefore(h)}return!1}}}}))}t.tableKeyboardNavigation=s,a.pluginSystem.add("tableKeyboardNavigation",s)},951:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(96582),i=o(93772),a=o(16892),s=o(74259);n.Config.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",o(46430)),n.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:function(e,t,o,n,s){for(var l=o.data&&o.data.rows?o.data.rows:10,c=o.data&&o.data.cols?o.data.cols:10,u=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+function(){if(!e.o.table.useExtraClassesOptions)return"";var t=[];if(o.data){var n=o.data.classList;Object.keys(n).forEach((function(e){t.push('<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="'.concat(e,'" type="checkbox"/>').concat(n[e],"</label>"))}))}return t.join("")}()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),d=u.querySelectorAll("span")[0],p=u.querySelectorAll("span")[1],f=u.querySelector(".jodit-form__container"),h=u.querySelector(".jodit-form__options"),m=[],v=l*c,g=0;v>g;g+=1)m[g]||m.push(e.c.element("span",{dataIndex:g}));if(e.e.on(f,"mousemove",(function(e,t){var o=e.target;if(r.Dom.isTag(o,"span")){for(var n=void 0===t||isNaN(t)?parseInt((0,i.attr)(o,"-index")||"0",10):t||0,a=Math.ceil((n+1)/c),s=n%c+1,l=0;m.length>l;l+=1)m[l].className=l%c+1>s||a<Math.ceil((l+1)/c)?"":"jodit_hovered";p.textContent=s.toString(),d.textContent=a.toString()}})).on(f,"touchstart mousedown",(function(t){var o=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),r.Dom.isTag(o,"span")){var s=parseInt((0,i.attr)(o,"-index")||"0",10),l=Math.ceil((s+1)/c),u=s%c+1,d=e.createInside,p=d.element("tbody"),f=d.element("table");f.appendChild(p);for(var m,v,g=null,y=1;l>=y;y+=1){m=d.element("tr");for(var b=1;u>=b;b+=1)v=d.element("td"),g||(g=v),(0,a.css)(v,"width",(100/u).toFixed(4)+"%"),v.appendChild(d.element("br")),m.appendChild(d.text("\n")),m.appendChild(d.text("\t")),m.appendChild(v);p.appendChild(d.text("\n")),p.appendChild(m)}(0,a.$$)("input[type=checkbox]:checked",h).forEach((function(e){e.value.split(/[\s]+/).forEach((function(e){f.classList.add(e)}))})),e.editor.firstChild&&e.s.insertNode(d.text("\n"),!1,!1),e.s.insertNode(f,!1),g&&(e.s.setCursorIn(g),(0,a.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),n()}})),s&&s.parentElement){for(g=0;l>g;g+=1){for(var y=e.c.div(),b=0;c>b;b+=1)y.appendChild(m[g*c+b]);f.appendChild(y)}m[0]&&(m[0].className="hovered")}return u},tooltip:"Insert table"}},26222:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.table=void 0,o(75131);var n=o(58706);function r(e){e.registerButton({name:"table",group:"insert"})}o(951),t.table=r,n.pluginSystem.add("table",r)},92963:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(733),r=o(19800),i=o(16892),a=o(92815),s=o(24697);o(74259).Icon.set("video",o(78606)),n.Config.prototype.controls.video={popup:function(e,t,o,n){var l=new a.UIForm(e,[new a.UIBlock(e,[new a.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new a.UIBlock(e,[(0,s.Button)(e,"","Insert","primary").onAction((function(){return l.submit()}))])]),c=new a.UIForm(e,[new a.UIBlock(e,[new a.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new a.UIBlock(e,[(0,s.Button)(e,"","Insert","primary").onAction((function(){return c.submit()}))])]),u=[],d=function(t){e.s.restore(),e.s.insertHTML(t),n()};return e.s.save(),u.push({icon:"link",name:"Link",content:l.container},{icon:"source",name:"Code",content:c.container}),l.onSubmit((function(e){d((0,i.convertMediaUrlToVideoEmbed)(e.url))})),c.onSubmit((function(e){d(e.code)})),(0,r.TabsWidget)(e,u)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},65028:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(58706);o(92963),n.pluginSystem.add("video",(function(e){e.registerButton({name:"video",group:"media"})}))},40246:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.wrapNodes={exclude:["hr","style","br"],emptyBlockAfterInit:!0}},15771:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784),r=o(43464),i=o(96582),a=o(57348),s=o(51923),l=o(58706);o(40246);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSuitableStart=function(e){return i.Dom.isText(e)&&(0,a.isString)(e.nodeValue)&&/[^\s]/.test(e.nodeValue)||t.isNotClosed(e)&&!i.Dom.isTemporary(e)},t.isSuitable=function(e){return i.Dom.isText(e)||t.isNotClosed(e)},t.isNotClosed=function(e){return i.Dom.isElement(e)&&!(i.Dom.isBlock(e)||i.Dom.isTag(e,t.j.o.wrapNodes.exclude))},t}return n.__extends(t,e),t.prototype.afterInit=function(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)},t.prototype.beforeDestruct=function(e){e.e.off(".wtn")},t.prototype.postProcessSetEditorValue=function(){var e=this.jodit;if(e.isEditorMode()){for(var t=e.editor.firstChild,o=!1;t;){if(t=this.checkAloneListLeaf(t,e),this.isSuitableStart(t)){o||e.s.save(),o=!0;var n=e.createInside.element(e.o.enter);for(i.Dom.before(t,n);t&&this.isSuitable(t);){var r=t.nextSibling;n.appendChild(t),t=r}n.normalize(),t=n}t=t&&t.nextSibling}o&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}},t.prototype.checkAloneListLeaf=function(e,t){var o=e,n=e;do{if(!i.Dom.isElement(n)||!i.Dom.isTag(n,"li")||i.Dom.isTag(n.parentElement,["ul","ol"]))break;var r=i.Dom.findNotEmptySibling(n,!1);i.Dom.isTag(o,"ul")?o.appendChild(n):o=i.Dom.wrap(n,"ul",t.createInside),n=r}while(n);return o},t.prototype.preprocessInput=function(){var e=this.jodit,t="afterInit"===e.e.current;if(e.isEditorMode()&&!e.editor.firstChild&&(e.o.wrapNodes.emptyBlockAfterInit||!t)){var o=e.createInside.element(e.o.enter),n=e.createInside.element("br");i.Dom.append(o,n),i.Dom.append(e.editor,o),e.s.isFocused()&&e.s.setCursorBefore(n),e.e.fire("internalChange")}},n.__decorate([s.autobind],t.prototype,"postProcessSetEditorValue",null),n.__decorate([s.autobind],t.prototype,"preprocessInput",null),t}(r.Plugin);l.pluginSystem.add("wrapNodes",c)},40252:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.showXPathInStatusbar=!0},97964:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(52784);o(3263);var r=o(49940),i=o(23853),a=o(96582),s=o(16892),l=o(43464),c=o(75901),u=o(58706);o(40252);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onContext=function(e,o){return t.menu||(t.menu=new i.ContextMenu(t.j)),t.menu.show(o.clientX,o.clientY,[{icon:"bin",title:e===t.j.editor?"Clear":"Remove",exec:function(){e!==t.j.editor?a.Dom.safeRemove(e):t.j.value="",t.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:function(){t.j.s.select(e)}}]),!1},t.onSelectPath=function(e,o){t.j.s.focus();var n=(0,s.attr)(o.target,"-path")||"/";if("/"===n)return t.j.execCommand("selectall"),!1;try{var r=t.j.ed.evaluate(n,t.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(r)return t.j.s.select(r),!1}catch(e){}return t.j.s.select(e),!1},t.tpl=function(e,o,n,r){var i=t.j.c.fromHTML('<span class="jodit-xpath__item"><a role="button" data-path="'.concat(o,'" title="').concat(r,'" tabindex="-1"\'>').concat((0,s.trim)(n),"</a></span>")),a=i.firstChild;return t.j.e.on(a,"click",t.onSelectPath.bind(t,e)).on(a,"contextmenu",t.onContext.bind(t,e)),i},t.removeSelectAll=function(){t.selectAllButton&&(t.selectAllButton.destruct(),delete t.selectAllButton)},t.appendSelectAll=function(){t.removeSelectAll(),t.selectAllButton=(0,c.makeButton)(t.j,n.__assign({name:"selectall"},t.j.o.controls.selectall)),t.selectAllButton.state.size="tiny",t.container&&t.container.insertBefore(t.selectAllButton.container,t.container.firstChild)},t.calcPathImd=function(){if(!t.isDestructed){var e,o,n,i=t.j.s.current();t.container&&(t.container.innerHTML=r.INVISIBLE_SPACE),i&&a.Dom.up(i,(function(r){r&&t.j.editor!==r&&!a.Dom.isText(r)&&(e=r.nodeName.toLowerCase(),o=(0,s.getXPathByElement)(r,t.j.editor).replace(/^\//,""),n=t.tpl(r,o,e,t.j.i18n("Select %s",e)),t.container&&t.container.insertBefore(n,t.container.firstChild))}),t.j.editor),t.appendSelectAll()}},t.calcPath=t.j.async.debounce(t.calcPathImd,2*t.j.defaultTimeout),t}return n.__extends(t,e),t.prototype.afterInit=function(){var e=this;this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(function(){e.j.o.showXPathInStatusbar&&e.container&&(e.j.statusbar.append(e.container),e.j.getRealMode()===r.MODE_WYSIWYG?e.calcPath():(e.container&&(e.container.innerHTML=r.INVISIBLE_SPACE),e.appendSelectAll()))})),this.calcPath())},t.prototype.beforeDestruct=function(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),a.Dom.safeRemove(this.container),delete this.menu,delete this.container},t}(l.Plugin);u.pluginSystem.add("xpath",d)},62175:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(24998),o(46507),o(13578),o(97760),o(39274),Array.prototype.includes||(Array.prototype.includes=function(e){return this.indexOf(e)>-1}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),n=1;arguments.length>n;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=r[i])}return o},writable:!0,configurable:!0}),Array.prototype.find||(Array.prototype.find=function(e){return this.indexOf(e)>-1?e:void 0}),String.prototype.endsWith||(String.prototype.endsWith=function(e){return this[this.length-1]===e})},87986:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.valign=t.upload=t.update=t.unlock=t.settings=t.save=t.right=t.resize_handler=t.plus=t.pencil=t.ok=t.lock=t.left=t.info_circle=t.folder=t.file=t.eye=t.dots=t.chevron=t.check=t.center=t.cancel=t.bin=t.angle_up=t.angle_right=t.angle_left=t.angle_down=void 0;var n=o(61764);t.angle_down=n;var r=o(5886);t.angle_left=r;var i=o(26957);t.angle_right=i;var a=o(86979);t.angle_up=a;var s=o(9678);t.bin=s;var l=o(39606);t.cancel=l;var c=o(20435);t.center=c;var u=o(12005);t.check=u;var d=o(49295);t.chevron=d;var p=o(12637);t.dots=p;var f=o(68115);t.eye=f;var h=o(68490);t.file=h;var m=o(23948);t.folder=m;var v=o(22144);t.info_circle=v;var g=o(2895);t.left=g;var y=o(69072);t.lock=y;var b=o(92475);t.ok=b;var _=o(93324);t.pencil=_;var w=o(47680);t.plus=w;var S=o(55793);t.resize_handler=S;var C=o(93894);t.right=C;var j=o(84916);t.save=j;var k=o(58315);t.settings=k;var x=o(27669);t.unlock=x;var E=o(1274);t.update=E;var P=o(32039);t.upload=P;var I=o(42215);t.valign=I},75195:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JoditPro=void 0;var n=o(70655);o(57997);var r=o(13523),i=o(93772);o(79032);var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.beforeInitHook=function(){return(0,i.appendScriptAsync)(this,this.basePath+"config.js")},t.prototype.afterInitHook=function(){return n.__awaiter(this,void 0,Promise,(function(){var t;return n.__generator(this,(function(o){switch(o.label){case 0:return[4,this.e.fire("checkReserve")];case 1:if("normal"!==o.sent()){if(this.isInDestruct)return[2];t=this.c.div("",'Trial version. Buy <a href="https://xdsoft.net/jodit/pro/">Jodit Pro</a>'),(0,i.css)(t,{position:"absolute",color:"red",right:10,bottom:10}),this.addDisclaimer(t)}return e.prototype.afterInitHook.call(this),[2]}}))}))},t.prototype.getVersion=function(){return"PRO "+this.version},t.fatMode=!1,t}(r.Jodit);t.JoditPro=a},79032:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(733).Config.prototype.controls.font.list={"andale mono,monospace":"Andale Mono","arial,helvetica,sans-serif":"Arial","arial black,sans-serif":"Arial Black","book antiqua,palatino,serif":"Book Antiqua","comic sans ms,sans-serif":"Comic Sans MS","courier new,courier,monospace":"Courier New","georgia,palatino,serif":"Georgia","helvetica,arial,sans-serif":"Helvetica","impact,sans-serif":"Impact","symbol,sans-serif":"Symbol","tahoma,arial,helvetica,sans-serif":"Tahoma","terminal,monaco,monospace":"Terminal","times new roman,times,serif":"Times New Roman","trebuchet ms,geneva,sans-serif":"Trebuchet MS","verdana,geneva,sans-serif":"Verdana",webdings:"Webdings","wingdings,zapf dingbats":"Wingdings"}},97029:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Jodit=void 0;var n=o(75195),r=o(62671);Object.keys(r).forEach((function(e){return n.JoditPro.plugins.add(e,r[e])})),t.Jodit=n.JoditPro},62671:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poweredByJodit=t.license=void 0;var n=o(85475);Object.defineProperty(t,"license",{enumerable:!0,get:function(){return n.license}}),t.poweredByJodit=function(){}},85475:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.license=void 0;var n=o(70655),r=o(43464),i=o(71910),a=o(16892),s=o(11777),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.make=function(e){return new t(e)},t.prototype.afterInit=function(e){var t=this;this.j.e.on("checkReserve",(function(){return n.__awaiter(t,void 0,void 0,(function(){var e,t,o;return n.__generator(this,(function(n){switch(n.label){case 0:return e=this.j.o.license,t=location.host,(o=(0,s.validateLicense)(e,t))||"A">=e[12]?[3,2]:[4,this.validateLicenseRemote(e,t)];case 1:o=n.sent(),n.label=2;case 2:return[2,o?"normal":""]}}))}))}))},t.prototype.beforeDestruct=function(e){},t.prototype.validateLicenseRemote=function(e,t){return n.__awaiter(this,void 0,Promise,(function(){var o,r,l=this;return n.__generator(this,(function(n){return(o=this.j.storage.get("validateJoditLicenseRemote"))&&(0,s.validateLicense)(o,t)?[2,!0]:((r=document.createElement("script")).src="https://xdsoft.net/jodit/pro/api/licenses/validate/?code=".concat(encodeURIComponent(e),"&host=").concat(encodeURIComponent(t)),document.body.appendChild(r),[2,new Promise((function(e){window.onJoditResolveKeyCode=function(o){try{if((0,a.isBoolean)(o))return e(o);(0,s.validateLicense)(o,t)?(l.j.storage.set("validateJoditLicenseRemote",o),e(!0)):e(!1)}finally{i.Dom.safeRemove(r)}},setTimeout((function(){e(!1),i.Dom.safeRemove(r)}),3e3)}))])}))}))},t}(r.Plugin);t.license=l},70655:function(e,t,o){"use strict";o.r(t),o.d(t,{__assign:function(){return i},__asyncDelegator:function(){return w},__asyncGenerator:function(){return _},__asyncValues:function(){return S},__await:function(){return b},__awaiter:function(){return u},__classPrivateFieldGet:function(){return E},__classPrivateFieldIn:function(){return I},__classPrivateFieldSet:function(){return P},__createBinding:function(){return p},__decorate:function(){return s},__exportStar:function(){return f},__extends:function(){return r},__generator:function(){return d},__importDefault:function(){return x},__importStar:function(){return k},__makeTemplateObject:function(){return C},__metadata:function(){return c},__param:function(){return l},__read:function(){return m},__rest:function(){return a},__spread:function(){return v},__spreadArray:function(){return y},__spreadArrays:function(){return g},__values:function(){return h}});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},n(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var i=function(){return i=Object.assign||function(e){for(var t,o=1,n=arguments.length;n>o;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)};function a(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);n.length>r;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}function s(e,t,o,n){var r,i=arguments.length,a=3>i?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(3>i?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}function l(e,t){return function(o,n){t(o,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,o,n){return new(o||(o=Promise))((function(r,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function d(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(o)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(o=1,n&&(r=2&s[0]?n.return:s[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;switch(n=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&r[3]>s[1])){a.label=s[1];break}if(6===s[0]&&r[1]>a.label){a.label=r[1],r=s;break}if(r&&r[2]>a.label){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{o=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var p=Object.create?function(e,t,o,n){void 0===n&&(n=o);var r=Object.getOwnPropertyDescriptor(t,o);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,n,r)}:function(e,t,o,n){void 0===n&&(n=o),e[n]=t[o]};function f(e,t){for(var o in e)"default"===o||Object.prototype.hasOwnProperty.call(t,o)||p(t,e,o)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],n=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var n,r,i=o.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return a}function v(){for(var e=[],t=0;arguments.length>t;t++)e=e.concat(m(arguments[t]));return e}function g(){for(var e=0,t=0,o=arguments.length;o>t;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;o>t;t++)for(var i=arguments[t],a=0,s=i.length;s>a;a++,r++)n[r]=i[a];return n}function y(e,t,o){if(o||2===arguments.length)for(var n,r=0,i=t.length;i>r;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function _(e,t,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,r=o.apply(e,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){r[e]&&(n[e]=function(t){return new Promise((function(o,n){i.push([e,t,o,n])>1||s(e,t)}))})}function s(e,t){try{(o=r[e](t)).value instanceof b?Promise.resolve(o.value.v).then(l,c):u(i[0][2],o)}catch(e){u(i[0][3],e)}var o}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function w(e){var t,o;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,r){t[n]=e[n]?function(t){return(o=!o)?{value:b(e[n](t)),done:"return"===n}:r?r(t):t}:r}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=e[Symbol.asyncIterator];return o?o.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(o){t[o]=e[o]&&function(t){return new Promise((function(n,r){!function(e,t,o,n){Promise.resolve(n).then((function(t){e({value:t,done:o})}),t)}(n,r,(t=e[o](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var j=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&p(t,e,o);return j(t,e),t}function x(e){return e&&e.__esModule?e:{default:e}}function E(e,t,o,n){if("a"===o&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?n:"a"===o?n.call(e):n?n.value:t.get(e)}function P(e,t,o,n,r){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(e,o):r?r.value=o:t.set(e,o),o}function I(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},11777:function(e){function t(e){return/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(e)}function o(e){const t=e.split(".");return t.map((e=>e[0]&&e[0].charCodeAt(0)?String.fromCharCode(e[0].charCodeAt(0)+1):e[0])).concat(t.map((e=>e[e.length-1]&&e[e.length-1].charCodeAt(0)?String.fromCharCode(e[e.length-1].charCodeAt(0)-1):e[e.length-1])))}e.exports.validateLicense=function e(n,r){if(t(n))return!0;const i=o(r),a=["[A-F013456][A-F0-9]{3}{part}","([0-3]){part}[E-L4-8]{2}\\1","[A-D]{part}[J-P5-6]{3}","{part}[A-R0-9]{3}[X-Z]"].map(((e,t)=>e.replace("{part}",i[t]||"[R-T]"))),s=RegExp(`^${a.join("-")}$`,"i"),l=n.substring(12,13),c=s.test(n);if(!c&&l===(typeof!r).toUpperCase()[5]){const t=r.split(".");return t.shift(),!!t.length&&e(n,t.join("."))}return c},e.exports.validateEntLicense=t,e.exports.domainsHash=o},89091:function(e){e.exports.default=["إبدأ في الكتابة...","حول جوديت","محرر جوديت",null,"دليل مستخدم جوديت","يحتوي على مساعدة مفصلة للاستخدام","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","شراء النسخة الكاملة","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","مِرْساة","فتح في نافذة جديدة","فتح المحرر في الحجم الكامل","مسح التنسيق","ملء اللون أو تعيين لون النص","إعادة","تراجع","عريض","مائل","إدراج قائمة غير مرتبة","إدراج قائمة مرتبة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","إدراج خط أفقي","إدراج صورة","ادخال الملف","إدراج فيديو يوتيوب/فيميو ","إدراج رابط","حجم الخط","نوع الخط","إدراج كتلة تنسيق","عادي","عنوان 1","عنوان 2","عنوان 3","عنوان 4","إقتباس","كود","إدراج","إدراج جدول","تقليل المسافة البادئة","زيادة المسافة البادئة","تحديد أحرف خاصة","إدراج حرف خاص","تنسيق الرسم","تغيير الوضع","هوامش","أعلى","يمين","أسفل","يسار","الأنماط","الطبقات","محاذاة","اليمين","الوسط","اليسار","--غير مضبوط--","Src","العنوان","العنوان البديل","الرابط","افتح الرابط في نافذة جديدة","الصورة","ملف","متقدم","خصائص الصورة","إلغاء","حسنا","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","الصق ك HTML","احتفظ","نظيفة","إدراج كنص","إدراج النص فقط","كلمة لصق الكشف عن","للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","متصفح الملفات","حدث خطأ في تحميل القائمة ","حدث خطأ في تحميل المجلدات","هل أنت واثق؟","أدخل اسم المجلد","إنشاء مجلد","أكتب إسم","إسقاط صورة","إسقاط الملف","أو أنقر","النص البديل","تصفح","رفع","الخلفية","نص","أعلى","الوسط","الأسفل","إدراج عمود قبل","إدراج عمود بعد","إدراج صف أعلى","إدراج صف أسفل","حذف الجدول","حذف الصف","حذف العمود","خلية فارغة","مصدر","بالخط العريض","مائل","شغل","صلة","إلغاء","كرر","طاولة","صورة","نظيف","فقرة","حجم الخط","فيديو","الخط","حول المحرر","طباعة","أكد","شطب","المسافة البادئة","نتوء","ملء الشاشة","الحجم التقليدي","الخط","قائمة","قائمة مرقمة","قطع","اختر الكل","قانون","فتح الرابط","تعديل الرابط","سمة Nofollow","إزالة الرابط","مراجعة","لتحرير","تحديث","URL","تحرير","محاذاة أفقية","فلتر","عن طريق التغيير","بالاسم","حسب الحجم","إضافة مجلد","إعادة","احتفظ","حفظ باسم","تغيير الحجم","حجم القطع","عرض","ارتفاع","حافظ على النسب","أن","لا","حذف","تميز","%d حرف","%d كلام",null,"تميز %s","اختر الكل","محاذاة عمودية","انشق، مزق","انقسام عمودي","تقسيم أفقي","اذهب","أضف العمود","اضف سطر","حذف","الحدود","رخصة %s","اضرب من خلال","أكد","حرف فوقي","مخطوطة","قطع الاختيار","استراحة","البحث عن","استبدل ب","محل","معجون","اختر محتوى للصق","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","تم تحميل الصورة بنجاح على الخادم!","لوحة","لا توجد ملفات في هذا الدليل.","إعادة تسمية","أدخل اسم جديد","معاينة","تحميل","لصق من الحافظة","متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","نسخ التحديد","نسخ","دائرة نصف قطرها الحدود","عرض كل","تطبيق","يرجى ملء هذا المجال","يرجى إدخال عنوان ويب","الافتراضي","دائرة","نقطة","المربعة","البحث","تجد السابقة","تجد التالي","أدخل اسم الفصل","اضغط البديل لتغيير حجم مخصص"]},61124:function(e){e.exports.default=["Napiš něco","O Jodit","Editor Jodit","Verze pro nekomerční použití","Jodit Uživatelská příručka","obsahuje detailní nápovědu","Pro informace o licenci, prosím, přejděte na naši stránku:","Koupit plnou verzi","Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.","Anchor","Otevřít v nové záložce","Otevřít v celoobrazovkovém režimu","Vyčistit formátování","Barva výplně a písma","Vpřed","Zpět","Tučné","Kurzíva","Odrážky","Číslovaný seznam","Zarovnat na střed","Zarovnat do bloku","Zarovnat vlevo","Zarovnat vpravo","Vložit horizontální linku","Vložit obrázek","Vložit soubor","Vložit video (YT/Vimeo)","Vložit odkaz","Velikost písma","Typ písma","Formátovat blok","Normální text","Nadpis 1","Nadpis 2","Nadpis 3","Nadpis 4","Citát","Kód","Vložit","Vložit tabulku","Zmenšit odsazení","Zvětšit odsazení","Vybrat speciální symbol","Vložit speciální symbol","Použít formát","Změnit mód","Okraje","horní","pravý","spodní","levý","Styly","Třídy","Zarovnání","Vpravo","Na střed","Vlevo","--nenastaveno--","src","Titulek","Alternativní text (alt)","Link","Otevřít link v nové záložce","Obrázek","soubor","Rozšířené","Vlastnosti obrázku","Zpět","Ok","Váš text se podobá HTML. Vložit ho jako HTML?","Vložit jako HTML","Ponechat originál","Vyčistit","Vložit jako TEXT","Vložit pouze TEXT","Detekován fragment z Wordu nebo Excelu","Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","Prohlížeč souborů","Chyba při načítání seznamu souborů","Chyba při načítání složek","Jste si jistý(á)?","Název složky","Vytvořit složku","název","Přetáhněte sem obrázek","Přetáhněte sem soubor","nebo klikněte","Alternativní text","Server","Nahrát","Pozadí","Text","Nahoru","Na střed","Dolu","Vložit sloupec před","Vložit sloupec za","Vložit řádek nad","Vložit řádek pod","Vymazat tabulku","Vymazat řádku","Vymazat sloupec","Vyčistit buňku","HTML","tučně","kurzíva","štětec","odkaz","zpět","vpřed","tabulka","obrázek","guma","odstavec","velikost písma","video","písmo","о editoru","tisk","podtrženo","přeškrtnuto","zvětšit odsazení","zmenšit odsazení","celoobrazovkový režim","smrsknout","Linka","Odrážka","Číslovaný seznam","Vyjmout","Označit vše","Kód","Otevřít odkaz","Upravit odkaz","Atribut no-follow","Odstranit odkaz","Zobrazit","Chcete-li upravit","Aktualizovat","URL","Editovat","Horizontální zarovnání","Filtr","Dle poslední změny","Dle názvu","Dle velikosti","Přidat složku","Reset","Uložit","Uložit jako...","Změnit rozměr","Ořezat","Šířka","Výška","Ponechat poměr","Ano","Ne","Vyjmout","Označit","Znaky: %d","Slova: %d","Vše","Označit %s","Označit vše","Vertikální zarovnání","Rozdělit","Rozdělit vertikálně","Rozdělit horizontálně","Spojit","Přidat sloupec","Přidat řádek","Vymazat","Okraj","Licence: %s","Přeškrtnuto","Podtrženo","Horní index","Dolní index","Vyjmout označené","Zalomení","Najdi","Nahradit za","Vyměňte","Vložit","Vyber obsah pro vložení","Můžete upravovat pouze své obrázky. Načíst obrázek?","Obrázek byl úspěšně nahrán!","paleta","V tomto adresáři nejsou žádné soubory.","přejmenovat","Zadejte nový název","náhled","Stažení","Vložit ze schránky","Váš prohlížeč nepodporuje přímý přístup do schránky.","Kopírovat výběr","kopírování","Border radius","Zobrazit všechny","Platí","Prosím, vyplňte toto pole","Prosím, zadejte webovou adresu","Výchozí","Kruh","Dot","Quadrate","Najít","Najít Předchozí","Najít Další","Vložte název třídy","Stiskněte Alt pro vlastní změnu velikosti"]},34554:function(e){e.exports.default=["Bitte geben Sie einen Text ein","Über Jodit","Jodit Editor",null,"Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte öffnen","Editor in voller Größe öffnen","Formatierung löschen","Füllfarbe oder Textfarbe ändern","Wiederholen","Rückgängig machen","Fett","Kursiv","Unsortierte Liste einfügen","Nummerierte Liste einfügen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einfügen","Bild einfügen","Datei einfügen","Youtube/vimeo Video einfügen","Link einfügen","Schriftgröße","Schriftfamilie","Formatblock einfügen","Normal","Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Zitat","Code","Einfügen","Tabelle einfügen","Einzug verkleinern","Einzug vergrößern","Sonderzeichen auswählen","Sonderzeichen einfügen","Format kopieren","Änderungsmodus","Ränder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Als HTML einfügen?","Original speichern","Säubern","Als Text einfügen","Nur Text einfügen","In Word formatierter Text erkannt","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei löschen","oder hier klicken","Alternativtext","Auswählen","Hochladen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einfügen","Spalte danach einfügen","Zeile oberhalb einfügen","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Zelle leeren","HTML","Fett gedruckt","Kursiv","Bürste","Verknüpfung","Rückgängig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgröße","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","Wählen Sie Alle aus","Code einbetten","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Ansehen","Bearbeiten","Aktualisieren","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Wiederherstellen","Speichern","Speichern als","Größe ändern","Größe anpassen","Breite","Höhe","Seitenverhältnis beibehalten","Ja","Nein","Entfernen","Markieren","Zeichen: %d","Wörter: %d","Alles markieren","Markieren: %s","Alles markieren","Vertikale Ausrichtung","Unterteilen","Vertikal unterteilen","Horizontal unterteilen","Vereinen","Spalte hinzufügen","Zeile hinzufügen","Löschen","Rand",null,"Durchstreichen","Unterstreichen","Hochgestellen","Tiefstellen","Auswahl ausschneiden","Pause","Suche nach","Ersetzen durch","Ersetzen","Einfügen","Wählen Sie den Inhalt zum Einfügen aus","Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einfügen","Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius für abgerundete Ecken","Alle anzeigen","Anwenden","Bitte füllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","className (CSS) einfügen","Drücken Sie Alt für benutzerdefinierte Größenanpassung"]},57889:function(e){e.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},88716:function(e){e.exports.default=["Escriba algo...","Acerca de Jodit","Jodit Editor",null,"Guía de usuario Jodit","contiene ayuda detallada para el uso.","Para información sobre la licencia, por favor visite nuestro sitio:","Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Anclar","Abrir en nueva pestaña","Abrir editor en pantalla completa","Limpiar formato","Color de relleno o de letra","Rehacer","Deshacer","Negrita","Cursiva","Insertar lista no ordenada","Insertar lista ordenada","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Insertar línea horizontal","Insertar imagen","Insertar archivo","Insertar video de Youtube/vimeo","Insertar vínculo","Tamaño de letra","Familia de letra","Insertar bloque","Normal","Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Cita","Código","Insertar","Insertar tabla","Disminuir sangría","Aumentar sangría","Seleccionar caracter especial","Insertar caracter especial","Copiar formato","Cambiar modo","Márgenes","arriba","derecha","abajo","izquierda","Estilos CSS","Clases CSS","Alinear","Derecha","Centrado","Izquierda","--No Establecido--","Fuente","Título","Texto Alternativo","Vínculo","Abrir vínculo en nueva pestaña","Imagen","Archivo","Avanzado","Propiedades de imagen","Cancelar","Aceptar","El código es similar a HTML. ¿Mantener como HTML?","Pegar como HTML?","Mantener","Limpiar","Insertar como texto","Insertar solo texto","Pegado desde Word detectado","El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Buscar archivo","Error al cargar la lista","Error al cargar las carpetas","¿Está seguro?","Entre nombre de carpeta","Crear carpeta","Entre el nombre","Soltar imagen","Soltar archivo","o click","Texto alternativo","Buscar","Subir","Fondo","Texto","Arriba","Centro","Abajo","Insertar columna antes","Interar columna después","Insertar fila arriba","Insertar fila debajo","Borrar tabla","Borrar fila","Borrar columna","Vaciar celda","HTML","negrita","cursiva","Brocha","Vínculo","deshacer","rehacer","Tabla","Imagen","Borrar","Párrafo","Tamaño de letra","Video","Letra","Acerca de","Imprimir","subrayar","tachar","sangría","quitar sangría","Tamaño completo","encoger","línea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Incluir código","Abrir vínculo","Editar vínculo","No seguir","Desvincular","Ver","Para editar","Actualizar","URL","Editar","Alineación horizontal","filtrar","Ordenar por fecha modificación","Ordenar por nombre","Ordenar por tamaño","Agregar carpeta","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relación de aspecto","Si","No","Quitar","Seleccionar","Caracteres: %d","Palabras: %d","Todo","Seleccionar: %s","Seleccionar todo","Alineación vertical","Dividir","Dividir vertical","Dividir horizontal","Mezclar","Agregar columna","Agregar fila","Borrar","Borde",null,"Tachado","Subrayado","superíndice","subíndice","Cortar selección","Pausa","Buscar","Reemplazar con","Reemplazar","Pegar","Seleccionar contenido para pegar","Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","¡La imagen se ha subido correctamente al servidor!","paleta","No hay archivos en este directorio.","renombrar","Ingresa un nuevo nombre","avance","Descargar","Pegar desde el portapapeles","Su navegador no soporta el acceso directo en el portapapeles.","Selección de copia","copia","Radio frontera","Mostrar todos los","Aplicar","Por favor, rellene este campo","Por favor, introduzca una dirección web","Predeterminado","Círculo","Punto","Cuadro","Encontrar","Buscar Anterior","Buscar Siguiente","Insertar nombre de clase","Presione Alt para cambiar el tamaño personalizado"]},72632:function(e){e.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit",null,"Guide de l'utilisateur","Aide détaillée à l'utilisation","Consulter la licence sur notre site web:","Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'éditeur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","Défaire","Gras","Italique","Liste non ordonnée","Liste ordonnée","Centrer","Justifier","Aligner à gauche ","Aligner à droite","Insérer une ligne horizontale","Insérer une image","Insérer un fichier","Insérer une vidéo","Insérer un lien","Taille des caractères","Famille des caractères","Bloc formatté","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Insérer","Insérer un tableau","Diminuer le retrait","Retrait plus","Sélectionnez un caractère spécial","Insérer un caractère spécial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avancé","Propriétés de l'image","Annuler","OK","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Nettoyer","Coller en tant que texte","Coller le texte seulement","C'est peut-être un fragment de Word ou Excel","Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous sûrs ?","Entrer le non de dossier","Créer un dossier","type de fichier","Coller une image","Déposer un fichier","ou cliquer","Texte de remplacemement","Chercher","Charger","Arrière-plan","Texte","Haut","Milieu","Bas","Insérer une colonne avant","Insérer une colonne après","Insérer une ligne en dessus","Insérer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","la source","graisseux","italique","verser","lien","abolir","prêt","graphique","Image","la gommen","clause","taille de police","Video","police","à propos de l'éditeur","impression","souligné","barré","indentation","indifférent","taille réelle","taille conventionnelle","la ligne","Liste des","Liste numérotée","Couper","Sélectionner tout",null,"Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Voir","Pour éditer","Mettre à jour","URL",null,"Alignement horizontal","Filtre","Trier par modifié","Trier par nom","Classer par taille","Ajouter le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en évidence","Symboles: %d","Mots: %d",null,"Mettre en évidence: %s","Tout sélectionner","Alignement vertical","Split","Split vertical","Split horizontal","aller","Ajouter une colonne","Ajouter une rangée","Effacer",null,null,"Frapper à travers","Souligner","exposant","indice","Couper la sélection","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu à coller","Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","L'image a été téléchargée avec succès sur le serveur!null","Palette","Il n'y a aucun fichier dans ce répertoire.","renommer","Entrez un nouveau nom","Aperçu","Télécharger","Coller à partir du presse-papiers","Votre navigateur ne prend pas en charge l'accès direct à la presse-papiers.","Copier la sélection","copie","Rayon des frontières","Afficher tous les","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par défaut","Cercle","Dot","Quadrate","Trouver","Trouvez Précédente","Suivant","Insérer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalisé"]},46524:function(e){e.exports.default=["הקלד משהו...","About Jodit","Jodit Editor",null,"Jodit User's Guide","contains detailed help for using.","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","מקום עיגון","פתח בכרטיסיה חדשה","פתח את העורך בחלון חדש","נקה עיצוב","שנה צבע טקסט או רקע","בצע שוב","בטל","מודגש","נטוי","הכנס רשימת תבליטים","הכנס רשימה ממוספרת","מרכז","ישר ","ישר לשמאל","ישר לימין","הכנס קו אופקי","הכנס תמונה","הכנס קובץ","הכנס סרטון וידאו מYouTube/Vimeo","הכנס קישור","גודל גופן","גופן","מעוצב מראש","רגיל","כותרת 1","כותרת 2","כותרת 3","כותרת 4","ציטוט","קוד","הכנס","הכנס טבלה","הקטן כניסה","הגדל כניסה","בחר תו מיוחד","הכנס תו מיוחד","העתק עיצוב","החלף מצב","ריווח","עליון","ימין","תחתון","שמאל","עיצוב CSS","מחלקת CSS","יישור","ימין","מרכז","שמאל","--לא נקבע--","מקור","כותרת","כיתוב חלופי","קישור","פתח בכרטיסיה חדשה","תמונה","קובץ","מתקדם","מאפייני תמונה","ביטול","אישור","הקוד דומה לHTML, האם להשאיר כHTML","הדבק כHTML","השאר","נקה","הכנס כטקסט","הכנס טקסט בלבד",'זוהתה הדבקה מ"וורד"',"התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","סייר הקבצים","שגיאה בזמן טעינת רשימה","שגיאה בזמן טעינת תקיות","האם אתה בטוח?","הכנס שם תקיה","צור תקיה","סוג הקובץ","הסר תמונה","הסר קובץ","או לחץ","כיתוב חלופי","סייר","העלה","רקע","טקסט","עליון","מרכז","תחתון","הכנס עמודה לפני","הכנס עמודה אחרי","הכנס שורה מעל","הכנס שורה מתחת","מחק טבלה","מחק שורה","מחק עמודה","רוקן תא","HTML","מודגש","נטוי","מברשת","קישור","בטל","בצע שוב","טבלה","תמונה","מחק","פסקה","גודל גופן","וידאו","גופן","עלינו","הדפס","קו תחתון","קו חוצה","הגדל כניסה","הקטן כניסה","גודל מלא","כווץ","קו אופקי","רשימת תבליטים","רשימה ממוספרת","חתוך","בחר הכל","הוסף קוד","פתח קישור","ערוך קישור","ללא מעקב","בטל קישור","הצג","כדי לערוך","עדכן","כתובת","ערוך","יישור אופקי","סנן","מין לפי שינוי","מיין לפי שם","מיין לפי גודל","הוסף תקייה","אפס","שמור","שמור בשם...","שנה גודל","חתוך","רוחב","גובה","שמור יחס","כן","לא","הסר","בחר","תווים: %d","מילים: %d","הכל","נבחר: %s","בחר הכל","יישור אנכי","פיצול","פיצול אנכי","פיצול אופקי","מזג","הוסף עמודה","הוסף שורה","מחק","מסגרת",null,"קו חוצה","קו תחתון","superscript","subscript","גזור בחירה","שבירת שורה","חפש","החלף ב","להחליף","הדבק","בחר תוכן להדבקה","רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","התמונה עלתה בהצלחה!","לוח","אין קבצים בספריה זו.","הונגרית","הזן שם חדש","תצוגה מקדימה","הורד","להדביק מהלוח","הדפדפן שלך לא תומך גישה ישירה ללוח.","העתק בחירה","העתק","רדיוס הגבול","הצג את כל","החל","נא למלא שדה זה","אנא הזן כתובת אינטרנט","ברירת המחדל","מעגל","נקודה","הריבוע הזה","למצוא","מצא את הקודם","חפש את הבא","הכנס את שם הכיתה","לחץ על אלט לשינוי גודל מותאם אישית"]},32920:function(e){e.exports.default=["Írjon be valamit","Joditról","Jodit Editor","Ingyenes változat","Jodit útmutató","további segítséget tartalmaz","További licence információkért látogassa meg a weboldalunkat:","Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyitás új lapon","Megnyitás teljes méretben","Formázás törlése","Háttér/szöveg szín","Újra","Visszavon","Félkövér","Dőlt","Pontozott lista","Számozott lista","Középre zárt","Sorkizárt","Balra zárt","Jobbra zárt","Vízszintes vonal beszúrása","Kép beszúrás","Fájl beszúrás","Youtube videó beszúrása","Link beszúrás","Betűméret","Betűtípus","Formázott blokk beszúrása","Normál","Fejléc 1","Fejléc 2","Fejléc 3","Fejléc 4","Idézet","Kód","Beszúr","Táblázat beszúrása","Behúzás csökkentése","Behúzás növelése","Speciális karakter kiválasztása","Speciális karakter beszúrása","Kép formázása","Nézet váltása","Szegélyek","felső","jobb","alsó","bal","CSS stílusok","CSS osztályok","Igazítás","Jobbra","Középre","Balra","Nincs","Forrás","Cím","Helyettesítő szöveg","Link","Link megnyitása új lapon","Kép","Fájl","Haladó","Kép tulajdonságai","Mégsem","OK","A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Beszúrás HTML-ként","Megtartás","Elvetés","Beszúrás szövegként","Csak szöveg beillesztése","Word-ből másolt szöveg","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Fájl tallózó","Hiba a lista betöltése közben","Hiba a mappák betöltése közben","Biztosan ezt szeretné?","Írjon be egy mappanevet","Mappa létrehozása","írjon be bevet","Húzza ide a képet","Húzza ide a fájlt","vagy kattintson","Helyettesítő szöveg","Tallóz","Feltölt","Háttér","Szöveg","Fent","Középen","Lent","Oszlop beszúrás elé","Oszlop beszúrás utána","Sor beszúrás fölé","Sor beszúrás alá","Táblázat törlése","Sor törlése","Oszlop törlése","Cella tartalmának törlése","HTML","Félkövér","Dőlt","Ecset","Link","Visszavon","Újra","Táblázat","Kép","Törlés","Paragráfus","Betűméret","Videó","Betű","Rólunk","Nyomtat","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Egyenes vonal","Lista","Számozott lista","Kivág","Összes kijelölése","Beágyazott kód","Link megnyitása","Link szerkesztése","Nincs követés","Link leválasztása","felülvizsgálat","Szerkesztés","Frissít","URL","Szerkeszt","Vízszintes igazítás","Szűrő","Rendezés módosítás szerint","Rendezés név szerint","Rendezés méret szerint","Mappa hozzáadás","Visszaállít","Mentés","Mentés másként...","Átméretezés","Kivág","Szélesség","Magasság","Képarány megtartása","Igen","Nem","Eltávolít","Kijelöl","Karakterek száma: %d","Szavak száma: %d","Összes","Kijelöl: %s","Összes kijelölése","Függőleges igazítás","Felosztás","Függőleges felosztás","Vízszintes felosztás","Összevonás","Oszlop hozzáadás","Sor hozzáadás","Törlés","Szegély",null,"Áthúzott","Aláhúzott","Felső index","Alsó index","Kivágás","Szünet","Keresés","Csere erre","Cserélje ki","Beillesztés","Válasszon tartalmat a beillesztéshez","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","Kép sikeresen feltöltve!","Palette","Er zijn geen bestanden in deze map.","átnevezés","Adja meg az új nevet","előnézet","Letöltés","Illessze be a vágólap","A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Másolás kiválasztása","másolás","Határ sugár","Összes","Alkalmazni","Kérjük, töltse ki ezt a mezőt,","Kérjük, írja be a webcímet","Alapértelmezett","Kör","Pont","Quadrate","Találni","Megtalálja Előző","Következő Keresése","Helyezze be az osztály nevét","Nyomja meg az Alt egyéni átméretezés"]},53946:function(e){e.exports.default=["Ketik sesuatu","Tentang Jodit","Editor Jodit","Versi Bebas Non-komersil","Panduan Pengguna Jodit","mencakup detail bantuan penggunaan","Untuk informasi tentang lisensi, silakan kunjungi website:","Beli versi lengkap","Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.","Tautan","Buka di tab baru","Buka editor dalam ukuran penuh","Hapus Pemformatan","Isi warna atau atur warna teks","Ulangi","Batalkan","Tebal","Miring","Sisipkan Daftar Tidak Berurut","Sisipkan Daftar Berurut","Tengah","Penuh","Kiri","Kanan","Sisipkan Garis Horizontal","Sisipkan Gambar","Sisipkan Berkas","Sisipkan video youtube/vimeo","Sisipkan tautan","Ukuran font","Keluarga font","Sisipkan blok format","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Kutip","Kode","Sisipkan","Sisipkan tabel","Kurangi Indentasi","Tambah Indentasi","Pilih Karakter Spesial","Sisipkan Karakter Spesial","Formar warna","Ubah mode","Batas","atas","kanan","bawah","kiri","Gaya","Class","Rata","Kanan","Tengah","Kiri","--Tidak diset--","Src","Judul","Teks alternatif","Tautan","Buka tautan di tab baru","Gambar","berkas","Lanjutan","Properti gambar","Batal","Ya","Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste sebagai HTML","Jaga","Bersih","Sisipkan sebagai teks","Sisipkan hanya teks","Terdeteksi paste dari Word","Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","Penjelajah Berkas","Error ketika memuat list","Error ketika memuat folder","Apakah Anda yakin?","Masukkan nama Direktori","Buat direktori","ketik nama","Letakkan gambar","Letakkan berkas","atau klik","Teks alternatif","Jelajahi","Unggah","Latar Belakang","Teks","Atas","Tengah","Bawah","Sisipkan kolom sebelumnya","Sisipkan kolom setelahnya","Sisipkan baris di atasnya","Sisipkan baris di bawahnya","Hapus tabel","Hapus baris","Hapus kolom","Kosongkan cell","sumber","tebal","miring","sikat","tautan","batalkan","ulangi","tabel","gambar","penghapus","paragraf","ukuran font","video","font","tentang","cetak","garis bawah","coret","menjorok ke dalam","menjorok ke luar","ukuran penuh","menyusut","hr","ul","ol","potong","Pilih semua","Kode embed","Buka tautan","Edit tautan","No follow","Hapus tautan","Mata","pensil","Perbarui","URL","Edit","Perataan horizontal","Filter","Urutkan berdasarkan perubahan","Urutkan berdasarkan nama","Urutkan berdasarkan ukuran","Tambah folder","Reset","Simpan","Simpan sebagai...","Ubah ukuran","Crop","Lebar","Tinggi","Jaga aspek rasio","Ya","Tidak","Copot","Pilih","Karakter: %d","Kata: %d","Semua","Pilih %s","Pilih semua","Rata vertikal","Bagi","Bagi secara vertikal","Bagi secara horizontal","Gabungkan","Tambah kolom","tambah baris","Hapus","Bingkai","Lisensi: %s","Coret","Garis Bawah","Superskrip","Subskrip","Potong pilihan","Berhenti","Mencari","Ganti dengan","Mengganti","Paste","Pilih konten untuk dipaste","Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","Gambar telah sukses diunggah ke host!","palet","Tidak ada berkas","ganti nama","Masukkan nama baru","pratinjau","Unduh","Paste dari clipboard","Browser anda tidak mendukung akses langsung ke clipboard.","Copy seleksi","copy","Border radius","Tampilkan semua","Menerapkan","Silahkan mengisi kolom ini","Silahkan masukkan alamat web","Default","Lingkaran","Dot","Kuadrat","Menemukan","Menemukan Sebelumnya","Menemukan Berikutnya","Masukkan nama kelas","Tekan Alt untuk mengubah ukuran kustom"]},90069:function(e){e.exports.default=["Scrivi qualcosa...","A proposito di Jodit","Jodit Editor",null,"Guida utente di Jodit","contiene una guida dettagliata per l'uso.","Per informazioni sulla licenza, si prega di visitare il nostro sito:","Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Ancora","Apri in una nuova scheda","Apri l'editor a schermo intero","Formato chiaro","Riempi colore o lettera","Ripristina","Annulla","Grassetto","Corsivo","Inserisci lista non ordinata","Inserisci l'elenco ordinato","Allinea Centra","Allineare Giustificato","Allinea a Sinistra","Allinea a Destra","Inserisci la linea orizzontale","Inserisci immagine","Inserisci un file","Inserisci video Youtube/Vimeo","Inserisci il link","Dimensione del carattere","Tipo di font","Inserisci blocco","Normale","Heading 1","Heading 2","Heading 3","Heading 4","Citazione","Codice","Inserisci","Inserisci tabella","Riduci il rientro","Aumenta il rientro","Seleziona una funzione speciale","Inserisci un carattere speciale","Copia formato","Cambia modo","Margini","su","destra","giù","sinistra","Stili CSS","Classi CSS","Allinea","Destra","Centro","Sinistra","--Non Impostato--","Fonte","Titolo","Testo Alternativo","Link","Apri il link in una nuova scheda","Immagine","Archivio","Avanzato","Proprietà dell'immagine","Annulla","Accetta","Il codice è simile all'HTML. Mantieni come HTML?","Incolla come HTML?","Mantieni","Pulisci","Inserisci come testo","Inserisci solo il testo","Incollato da Word rilevato","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Cerca il file","Errore durante il caricamento dell'elenco","Errore durante il caricamento delle cartelle","Sei sicuro?","Inserisci il nome della cartella","Crea cartella","Entre el nombre","Rilascia l'immagine","Rilascia file","o click","Testo alternativo","Sfoglia","Carica","Sfondo","Testo","Su","Centro","Sotto","Inserisci prima la colonna","Inserisci colonna dopo","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tabella","Elimina riga","Elimina colonna","Cella vuota","HTML","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Sottolineato","Barrato","trattino","annulla rientro","A grandezza normale","comprimere","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Includi codice","Apri link","Modifica link","Non seguire","Togli link","Recensione","Per modificare","Aggiornare"," URL","Modifica","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Reset","Salva","Salva con nome...","Ridimensiona","Tagliare","Larghezza","Altezza","Mantenere le proporzioni","Si","No","Rimuovere","Seleziona","Caratteri: %d","Parole: %d","Tutto","Seleziona: %s","Seleziona tutto","Allineamento verticala","Dividere","Dividere verticalmente","Diviso orizzontale","Fondi","Aggiungi colonna","Aggiungi riga","Cancella","Bordo",null,"Barrato","Sottolineato","indice","deponente","Taglia la selezione","Pausa","Cerca","Sostituisci con","Sostituire","Incolla","Seleziona il contenuto da incollare","Puoi modificare solo le tue immagini. Scarica questa immagine sul server?","L'immagine è stata caricata con successo sul server!","tavolozza","Non ci sono file in questa directory.","ungherese","Inserisci un nuovo nome","anteprima","Scaricare","Incolla dagli appunti","Il tuo browser non supporta l'accesso diretto agli appunti.","Selezione di copia","copia","Border radius","Mostra tutti","Applicare","Si prega di compilare questo campo","Si prega di inserire un indirizzo web","Di Default","Cerchio","Dot","Quadrate","Trovare","Trova Precedente","Trova Successivo","Inserisci il nome della classe","Premere Alt per il ridimensionamento personalizzato"]},53283:function(e){e.exports.default=["なにかタイプしてください","Joditについて","Jodit Editor",null,"Jodit ユーザーズ・ガイド","詳しい使い方","ライセンス詳細についてはJodit Webサイトを確認ください:","フルバージョンを購入","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","新しいタブで開く","エディターのサイズ(フル/ノーマル)","書式をクリア","テキストの色","やり直し","元に戻す","太字","斜体","箇条書き","番号付きリスト","中央揃え","両端揃え","左揃え","右揃え","区切り線を挿入","画像を挿入","ファイルを挿入","Youtube/Vimeo 動画","リンクを挿入","フォントサイズ","フォント","テキストのスタイル","指定なし","タイトル1","タイトル2","タイトル3","タイトル4","引用","コード","挿入","表を挿入","インデント減","インデント増","特殊文字を選択","特殊文字を挿入","書式を貼付け","編集モード切替え","マージン","上","右","下","左","スタイル","クラス","配置","右寄せ","中央寄せ","左寄せ","指定なし","ソース","タイトル","代替テキスト","リンク","新しいタブで開く","画像","ファイル","高度な設定","画像のプロパティー","キャンセル","確定","HTMLコードを保持しますか?","HTMLで貼付け","HTMLを保持","Clean","HTMLをテキストにする","テキストだけ","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","ここに画像をドロップ","ここにファイルをドロップ","or クリック","代替テキスト","ブラウズ","アップロード","背景","文字","上","中央","下","左に列を挿入","右に列を挿入","上に行を挿入","下に行を挿入","表を削除","行を削除","列を削除","セルを空にする","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","分割線","箇条書き","番号付きリスト","切り取り","すべて選択","埋め込みコード","リンクを開く","リンクを編集","No follow","リンク解除","サイトを確認","鉛筆","更新","URL","編集","水平方向の配置","Filter","Sort by changed","Sort by name","Sort by size","Add folder","リセット","保存","Save as ...","リサイズ","Crop","幅","高さ","縦横比を保持","はい","いいえ","移除","選択","文字数: %d","単語数: %d","全部","選択: %s","すべて選択","垂直方向の配置","分割","セルの分割(垂直方向)","セルの分割(水平方向)","セルの結合","列を追加","行を追加","削除","境界線",null,"取り消し線","下線","上付き文字","下付き文字","切り取り","Pause","検索","置換","交換","貼付け","選択した内容を貼付け","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","パレット","There are no files","Rename","Enter new name","プレビュー","ダウンロード","貼り付け","お使いのブラウザはクリップボードを使用できません","コピー","copy","角の丸み","全て表示","適用","まだこの分野","を入力してくださいウェブアドレス","デフォルト","白丸","黒丸","四角","見","探前","由来","クラス名を挿入","カスタムサイズ変更のためのAltキーを押します"]},73725:function(e){e.exports.default=["Type something","About Jodit","Jodit Editor","Free Non-commercial Version","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Clean","Insert as Text","Insert only Text","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Browse","Upload","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Eye","pencil","Update"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Chars: %d","Words: %d","All","Select %s","Select all","Vertical align","Split","Split vertical","Split horizontal","Merge","Add column","Add row","Delete","Border","License: %s","Strike through","Underline","superscript","subscript","Cut selection","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","Insert className","Press Alt for custom resizing"]},87409:function(e){e.exports.default=["무엇이든 입력하세요","Jodit에 대하여","Jodit Editor",null,"Jodit 사용자 안내서","자세한 도움말이 들어있어요","라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:","풀 버전 구입하기","© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.","Anchor","새 탭에서 열기","전체 크기로 보기","서식 지우기","글씨 색상","재실행","실행 취소","굵게","기울임","글머리 목록","번호 목록","가운데 정렬","양쪽 정렬","왼쪽 정렬","오른쪽 정렬","수평 구분선 넣기","이미지 넣기","파일 넣기","Youtube/Vimeo 동영상","링크 넣기","글꼴 크기","글꼴","블록 요소 넣기","일반 텍스트","제목 1","제목 2","제목 3","제목 4","인용","코드","붙여 넣기","테이블","들여쓰기 감소","들여쓰기 증가","특수문자 선택","특수문자 입력","페인트 형식","편집모드 변경","마진","위","오른쪽","아래","왼쪽","스타일","클래스","정렬","오른쪽으로","가운데로","왼쪽으로","--지정 안 함--","경로(src)","제목","대체 텍스트(alt)","링크","새 탭에서 열기",null,"파일","고급","이미지 속성","취소","확인","HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","HTML로 붙여넣기","원본 유지","지우기","텍스트로 넣기","텍스트만 넣기","Word 붙여넣기 감지","Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","파일 탐색기","목록 불러오기 에러","폴더 불러오기","정말 진행할까요?","디렉토리 이름 입력","디렉토리 생성","이름 입력","이미지 드래그","파일 드래그","혹은 클릭","대체 텍스트","탐색","업로드","배경","텍스트","위","중앙","아래","이전 열에 삽입","다음 열에 삽입","위 행에 삽입","아래 행에 삽입","테이블 삭제","행 삭제","열 삭제","빈 셀","HTML 소스","볼드","이탤릭","브러시","링크","실행 취소","재실행","테이블","이미지","지우개","문단","글꼴 크기","비디오","글꼴","편집기 정보","프린트","밑줄","취소선","들여쓰기","내어쓰기","전체 화면","일반 화면","구분선","글머리 목록","번호 목록","잘라내기","모두 선택","Embed 코드","링크 열기","링크 편집","No follow","링크 제거","사이트 확인","연필","갱신","URL","편집","수평 정렬","필터","변경일 정렬","이름 정렬","크기 정렬","새 폴더","초기화","저장","새로 저장하기 ...","리사이즈","크롭","가로 길이","세로 높이","비율 유지하기","네","아니오","제거","선택","문자수: %d","단어수: %d","모두","선택: %s","모두 선택","수직 정렬","분할","세로 셀 분할","가로 셀 분할","셀 병합","열 추가","행 추가","삭제","외곽선","라이센스: %s","취소선","밑줄","윗첨자","아래첨자","선택 잘라내기","구분자","검색","대체하기","대체","붙여넣기","붙여넣을 내용 선택","외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","이미지를 무사히 업로드 했어요!","팔레트","파일이 없어요","이름 변경","새 이름 입력","미리보기","다운로드","클립보드 붙여넣기","사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","선택 복사","복사","둥근 테두리","모두 보기","적용","이 항목을 입력해주세요!","웹 URL을 입력해주세요.","기본","원","점","정사각형","찾기","이전 찾기","다음 찾기","className 입력","사용자 지정 크기 조정에 대 한 고도 누르십시오"]},134:function(e){e.exports.default=["Begin met typen..","Over Jodit","Jodit Editor","Gratis niet-commerciële versie","Jodit gebruikershandleiding","bevat gedetailleerde informatie voor gebruik.","Voor informatie over de licentie, ga naar onze website:","Volledige versie kopen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Anker","Open in nieuwe tab","Editor in volledig scherm openen","Opmaak verwijderen","Vulkleur of tekstkleur aanpassen","Opnieuw","Ongedaan maken","Vet","Cursief","Geordende list invoegen","Ongeordende lijst invoegen","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Horizontale lijn invoegen","Afbeelding invoegen","Bestand invoegen","Youtube/Vimeo video invoegen","Link toevoegen","Tekstgrootte","Lettertype","Format blok invoegen","Normaal","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Citaat","Code","Invoegen","Tabel invoegen","Inspringing verkleinen","Inspringing vergroten","Symbool selecteren","Symbool invoegen","Opmaak kopieren","Modus veranderen","Marges","Boven","Rechts","Onder","Links","CSS styles","CSS classes","Uitlijning","Rechts","Gecentreerd","Links","--Leeg--","Src","Titel","Alternatieve tekst","Link","Link in nieuwe tab openen","Afbeelding","Bestand","Geavanceerd","Afbeeldingseigenschappen","Annuleren","OK","Deze code lijkt op HTML. Als HTML behouden?","Invoegen als HTML","Origineel behouden","Opschonen","Als tekst invoegen","Als onopgemaakte tekst invoegen","Word-tekst gedetecteerd","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Bestandsbrowser","Fout bij het laden van de lijst","Fout bij het laden van de mappenlijst","Weet je het zeker?","Geef de map een naam","Map aanmaken","Type naam","Sleep hier een afbeelding naartoe","Sleep hier een bestand naartoe","of klik","Alternatieve tekst","Bladeren","Uploaden","Achtergrond","Tekst","Boven","Midden","Onder","Kolom invoegen (voor)","Kolom invoegen (na)","Rij invoegen (boven)","Rij invoegen (onder)","Tabel verwijderen","Rij verwijderen","Kolom verwijderen","Cel leegmaken","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","Embed code","link openen","link aanpassen","niet volgen","link verwijderen","Recensie","Om te bewerken","Updaten"," URL","Bewerken","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Tekens: %d","Woorden: %d","Alles","Selecteer: %s","Selecteer alles","Verticaal uitlijnen","Splitsen","Verticaal splitsen","Horizontaal splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen","Verwijderen","Rand",null,"Doorstrepen","Onderstrepen","Superscript","Subscript","Selectie knippen","Enter","Zoek naar","Vervangen door","Vervangen","Plakken","Kies content om te plakken","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol geüploadet!","Palette","Er zijn geen bestanden in deze map.","Hongaars","Voer een nieuwe naam in","voorvertoning","Download","Plakken van klembord","Uw browser ondersteunt geen directe toegang tot het klembord.","Selectie kopiëren","kopiëren","Border radius","Toon alle","Toepassing","Vul dit veld","Voer een webadres","Standaard","Cirkel","Dot","Quadrate","Zoeken","Vorige Zoeken","Volgende Zoeken","Voeg de klassenaam in","Druk op Alt voor aangepaste grootte"]},65296:function(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit",null,"Instrukcja Jodit","zawiera szczegółowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otwórz w nowej zakładce","Otwórz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Ponów","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyrównaj do lewej","Wyrównaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Krój czcionki","Wstaw formatowanie","Normalne","Nagłówek 1","Nagłówek 2","Nagłówek 3","Nagłówek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz formatów","Zmień tryb","Marginesy","Górny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyrównanie","Prawa","środek","Lewa","brak","Źródło","Tytuł","Tekst alternatywny","Link","Otwórz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Twój kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wyczyść","Wstaw jako tekst","Wstaw tylko treść","Wykryto tekst w formacie Word","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Przeglądarka plików","Błąd ładowania listy plików","Błąd ładowania folderów","Czy jesteś pewien?","Wprowadź nazwę folderu","Utwórz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Przeglądaj","Wczytaj","Tło","Treść","Góra","Środek","Dół","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść komórkę","HTML","pogrubienie","kursywa","pędzel","link","cofnij","ponów","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otwórz link","edytuj link","Atrybut no-follow","Usuń link","szukaj","edytuj","Aktualizuj","URL","Edytuj","Wyrównywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Znaki: %d","Słowa: %d","Wszystko","Wybierz: %s","Wybierz wszystko","Wyrównywanie w pionie","Podziel","Podziel w pionie","Podziel w poziomie","Scal","Dodaj kolumnę","Dodaj wiersz","Usuń","Obramowanie",null,"Przekreślenie","Podkreślenie","indeks górny","index dolny","Wytnij zaznaczenie","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plików.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar"]},31130:function(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit",null,"Guia de usuário Jodit","contém ajuda detalhada para o uso.","Para informação sobre a licença, por favor visite nosso site:","Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formatação","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","Itálico","Inserir lista não ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir vídeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Citação","Código","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--Não Estabelecido--","Fonte","Título","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avançado","Propriedades da imagem","Cancelar","Ok","Seu código é similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Limpar","Inserir como Texto","Inserir somente o Texto","Colado do Word Detectado","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Você tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Explorar","Upload","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar célula","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir código","Abrir link","Editar link","Não siga","Remover link","Visualizar","Editar","Atualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Caracteres: %d","Palavras: %d","Tudo","Selecionar: %s","Selecionar tudo","Alinhamento vertical","Dividir","Dividir vertical","Dividir horizontal","Mesclar","Adicionar coluna","Adicionar linha","Excluir","Borda",null,"Tachado","Sublinhar","sobrescrito","subscrito","Cortar seleção","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conteúdo para colar","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","Não há arquivos nesse diretório.","Húngara","Digite um novo nome","preview","Baixar","Colar da área de transferência","O seu navegador não oferece suporte a acesso direto para a área de transferência.","Selecção de cópia","cópia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endereço web","Padrão","Círculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Próxima","Insira o nome da classe","Pressione Alt para redimensionamento personalizado"]},65453:function(e){e.exports.default=["Напишите что-либо","О Jodit","Редактор Jodit",null,"Jodit Руководство пользователя","содержит детальную информацию по использованию","Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Купить полную версию","Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.","Анкор","Открывать ссылку в новой вкладке","Открыть редактор в полном размере","Очистить форматирование","Цвет заливки или цвет текста","Повтор","Отмена","Жирный","Наклонный","Вставка маркированного списка","Вставить нумерованный список","Выровнять по центру","Выровнять по ширине","Выровнять по левому краю","Выровнять по правому краю","Вставить горизонтальную линию","Вставить изображение","Вставить файл","Вставьте видео","Вставить ссылку","Размер шрифта","Шрифт","Вставить блочный элемент","Нормальный текст","Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Цитата","Код","Вставить","Вставить таблицу","Уменьшить отступ","Увеличить отступ","Выберите специальный символ","Вставить специальный символ","Формат краски","Источник","Отступы","сверху","справа","снизу","слева","Стили","Классы","Выравнивание","По правому краю","По центру","По левому краю","--не устанавливать--","src","Заголовок","Альтернативный текст (alt)","Ссылка","Открывать ссылку в новом окне",null,"Файл","Расширенные","Свойства изображения","Отмена","Ок","Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Вставить как HTML?","Сохранить оригинал","Почистить","Вставить как текст","Вставить только текст","Возможно это фрагмент Word или Excel","Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","Браузер файлов","Ошибка при загрузке списка изображений","Ошибка при загрузке списка директорий","Вы уверены?","Введите название директории","Создать директорию","введите название","Перетащите сюда изображение","Перетащите сюда файл","или нажмите","Альтернативный текст","Сервер","Загрузка","Фон","Текст"," К верху","По середине","К низу","Вставить столбец до","Вставить столбец после","Вставить ряд выше","Вставить ряд ниже","Удалить таблицу","Удалять ряд","Удалить столбец","Очистить ячейку","HTML","жирный","курсив","заливка","ссылка","отменить","повторить","таблица","Изображение","очистить","параграф","размер шрифта","видео","шрифт","о редакторе","печать","подчеркнутый","перечеркнутый","отступ","выступ","во весь экран","обычный размер","линия","Список","Нумерованный список","Вырезать","Выделить все","Код","Открыть ссылку","Редактировать ссылку","Атрибут nofollow","Убрать ссылку","Просмотр","Редактировать","Обновить","URL","Редактировать","Горизонтальное выравнивание","Фильтр","По изменению","По имени","По размеру","Добавить папку","Восстановить","Сохранить","Сохранить как","Изменить размер","Обрезать размер","Ширина","Высота","Сохранять пропорции","Да","Нет","Удалить","Выделить","Символов: %d","Слов: %d","Выделить все","Выделить: %s","Выделить все","Вертикальное выравнивание","Разделить","Разделить по вертикали","Разделить по горизонтали","Объединить в одну","Добавить столбец","Добавить строку","Удалить","Рамка","Лицензия: %s","Перечеркнуть","Подчеркивание","верхний индекс","индекс","Вырезать","Разделитель","Найти","Заменить на","Заменить","Вставить","Выбрать контент для вставки","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Изображение успешно загружено на сервер!","палитра","В данном каталоге нет файлов","Переименовать","Введите новое имя","Предпросмотр","Скачать","Вставить из буфера обмена","Ваш браузер не поддерживает прямой доступ к буферу обмена.","Скопировать выделенное","копия","Радиус границы","Показать все","Применить","Пожалуйста, заполните это поле","Пожалуйста, введите веб-адрес","По умолчанию","Круг","Точка","Квадрат","Найти","Найти Предыдущие","Найти Далее","Вставить название класса","Нажмите Alt для изменения пользовательского размера"]},10676:function(e){e.exports.default=["Bir şeyler yaz","Jodit Hakkında","Jodit Editor",null,"Jodit Kullanım Kılavuzu","kullanım için detaylı bilgiler içerir","Lisans hakkında bilgi için lütfen web sitemize gidin:","Tam versiyonunu satın al","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.","Bağlantı","Yeni sekmede aç","Editörü tam ekranda aç","Stili temizle","Renk doldur veya yazı rengi seç","Yinele","Geri Al","Kalın","İtalik","Sırasız Liste Ekle","Sıralı Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Yatay Çizgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Bağlantı Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Başlık 1","Başlık 2","Başlık 3","Başlık 4","Alıntı","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","Özel Karakter Seç","Özel Karakter Ekle","Resim Biçimi","Mod Değiştir","Boşluklar","Üst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirsiz","Kaynak","Başlık","Alternatif Yazı","Link","Bağlantıyı yeni sekmede aç","Resim","Dosya","Gelişmiş","Resim özellikleri","İptal","Tamam","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yapıştır","Sakla","Temizle","Yazı olarak ekle","Sadece yazıyı ekle","Word biçiminde yapıştırma algılandı","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Dosya Listeleyici","Liste yüklenirken hata oluştu","Klasörler yüklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","İsim yaz","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Gözat","Yükle","Arka plan","Yazı","Üst","Orta","Aşağı","Öncesine kolon ekle","Sonrasına kolon ekle","Üstüne satır ekle","Altına satır ekle","Tabloyu sil","Satırı sil","Kolonu sil","Hücreyi temizle","Kaynak","Kalın","italik","Fırça","Bağlantı","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Alt çizgi","Üstü çizili","Girinti","Çıkıntı","Tam ekran","Küçült","Ayraç","Sırasız liste","Sıralı liste","Kes","Tümünü seç","Kod ekle","Bağlantıyı aç","Bağlantıyı düzenle","Nofollow özelliği","Bağlantıyı kaldır","Yorumu","Düzenlemek için","Güncelle","URL","Düzenle","Yatay hizala","Filtre","Değişime göre sırala","İsme göre sırala","Boyuta göre sırala","Klasör ekle","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Yükseklik","En boy oranını koru","Evet","Hayır","Sil","Seç","Harfler: %d","Kelimeler: %d","Tümü","Seç: %s","Tümünü seç","Dikey hizala","Ayır","Dikey ayır","Yatay ayır","Birleştir","Kolon ekle","Satır ekle","Sil","Kenarlık",null,"Üstü çizili","Alt çizgi","Üst yazı","Alt yazı","Seçilimi kes","Satır sonu","Ara","Şununla değiştir","Değiştir","Yapıştır","Yapıştırılacak içerik seç","Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","Görsel başarıyla hostunuza yüklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","Ön izleme","İndir","Panodan yapıştır ","Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Seçimi kopyala","Kopyala","Sınır yarıçapı","Tümünü Göster","Uygula","Lütfen bu alanı doldurun","Lütfen bir web adresi girin","Varsayılan","Daire","Nokta","Kare","Bul","Öncekini Bul","Sonrakini Bul","Sınıf adı girin","Özel yeniden boyutlandırma için Alt tuşuna basın"]},38039:function(e){e.exports.default=["输入一些内容","关于Jodit","Jodit Editor","Free Non-commercial Version","开发者指南","使用帮助","有关许可证的信息,请访问我们的网站:","购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","视频","链接","字号","字体","格式块","默认","标题1","标题2","标题3","标题4","引用","代码","插入","表格","减少缩进","增加缩进","选择特殊符号","特殊符号","格式复制","改变模式","外边距(Margins)","top","right","bottom","left","样式","Classes","对齐方式","居右","居中","居左","无","Src","Title","Alternative","Link","在新窗口打开链接","图片","file","高级","图片属性","取消","确定","你粘贴的文本是一段html代码,是否保留源格式","html粘贴","保留源格式","匹配目标格式","把html代码视为普通文本","只保留文本","文本粘贴","正在粘贴 Word/Excel 的文本,是否保留源格式?","文件管理","加载list错误","加载folders错误","你确定吗?","输入路径","创建路径","type name","拖动图片到此","拖动文件到此","或点击","Alternative text","浏览","上传","背景色","文字","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","下划线","上出现","增加缩进","减少缩进","全屏","收缩","分割线","无序列表","顺序列表","剪切","全选","嵌入代码","打开链接","编辑链接","No follow","取消链接","预览","铅笔","更新","URL","编辑","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹","重置","保存","保存为","调整大小","剪切","宽","高","保持长宽比","是","不","移除","选择","字符数: %d","单词数: %d","全部","选择: %s","全选","垂直对齐","拆分","垂直拆分","水平拆分","合并","添加列","添加行","删除","边框",null,"删除线","下划线","上标","下标","剪切","Break","查找","替换为","替换","粘贴","选择内容并粘贴","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制选中内容","复制","边界半径","显示所有","应用","请填写这个字段","请输入一个网址","默认","圆圈","点","方形","搜索","查找上一个","查找下一个","插入班级名称","按Alt自定义调整大小"]},17046:function(e){e.exports.default=["輸入一些內容","關於Jodit","Jodit Editor",null,"開發者指南","使用幫助","有關許可證的信息,請訪問我們的網站:","購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","在新窗口打開","全屏編輯","清除樣式","顏色","重做","撤銷","粗體","斜體","符號列表","編號","居中","對齊文本","左對齊","右對齊","分割線","圖片","文件","youtube/vimeo 影片","鏈接","字號","字體","格式塊","文本","標題1","標題2","標題3","標題4","引用","代碼","插入","表格","減少縮進","增加縮進","選擇特殊符號","特殊符號","格式複製","改變模式","外邊距(Margins)","top","right","bottom","left","樣式","Classes","對齊方式","居右","居中","居左","無","Src","Title","替代","Link","在新窗口打開鏈接","圖片","file","高級","圖片屬性","取消","確定","你黏貼的文本是一段html代碼,是否保留源格式","html黏貼","保留源格式","匹配目標格式","把html代碼視為普通文本","只保留文本","文本黏貼","正在黏貼 Word/Excel 的文本,是否保留源格式?","文件管理","加載list錯誤","加載folders錯誤","你確定嗎?","輸入路徑","創建路徑","type name","拖動圖片到此","拖動文件到此","或點擊","替代文字","瀏覽","上傳","背景色","文字","頂部","中間","底部","在之前插入列","在之後插入列","在之前插入行","在之後插入行","刪除表格","刪除行","刪除列","清除內容","源碼","粗體","斜體","顏色","鏈接","撤銷","重做","表格","圖片","橡皮擦","段落","字號","影片","字體","關於","打印","下劃線","上出現","增加縮進","減少縮進","全屏","收縮","分割線","無序列表","順序列表","剪切","全選","嵌入代碼","打開鏈接","編輯鏈接","No follow","取消連結","回顧","鉛筆","更新","URL",null,"水平對齊","篩選","修改時間排序","名稱排序","大小排序","新建文件夾","重置","保存","保存為","調整大小","Crop","寬","高","保存長寬比","是","不","移除","選擇","字符數: %d","單詞數: %d","全部","選擇: %s","全選","垂直對齊","拆分","垂直拆分","水平拆分","合併","添加列","添加行","刪除","邊框",null,"刪除線","下劃線","上標","下標","剪切","Pause","查找","替換為","แทนที่","黏貼","選擇內容並黏貼","你只能編輯你自己的圖片。是否下載此圖片到本地?","圖片上傳成功","調色板","此目錄中沒有文件。","重命名","輸入新名稱","預覽","下載","從剪貼板貼上","瀏覽器無法存取剪贴板。","複製已選取項目","複製","邊框圓角","顯示所有","應用","ได้โปรดกรอกช่องข้อมูลนี้","โปรดเติมที่อยู่บนเว็บ","ค่าปริยาย","วงกลม","จุด","Quadrate","ค้นหา","ค้นหาก่อนหน้านี้","ค้นหาถัดไป","ใส่ชื่อคลาส","กดอัลท์สำหรับการปรับขนาดที่กำหนดเอง"]},41563:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg>'},66297:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg>'},81762:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg>'},61515:function(e){e.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},49663:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},76958:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg>'},49914:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg>'},10946:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},61228:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},56095:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},95347:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},54:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},2113:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg>'},41567:function(e){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg>'},29129:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},1307:function(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},58939:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},23129:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},70209:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg>'},54050:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},76901:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},25223:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},95331:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},34345:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/> </svg>'},85487:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},25249:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},38471:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},10580:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},28972:function(e){e.exports='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg>'},40732:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},39822:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg>'},62724:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},4087:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},16500:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},59203:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},88145:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},21702:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg>'},40364:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},33178:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},8681:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},1513:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},94460:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},19780:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg>'},6309:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg>'},2251:function(e){e.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},88858:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/> </svg>'},16054:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg>'},41087:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},46430:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},78606:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg>'},61764:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},5886:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},26957:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},86979:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},9678:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg>'},39606:function(e){e.exports='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg>'},20435:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},12005:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg>'},49295:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},12637:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},68115:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},68490:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg>'},23948:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg>'},22144:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},2895:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},69072:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},92475:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg>'},93324:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},47680:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},55793:function(e){e.exports='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg>'},93894:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},84916:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg>'},58315:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},27669:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg>'},1274:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},32039:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'},42215:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg>'},57997:function(e,t,o){"use strict";o.r(t)},89477:function(e,t,o){"use strict";o.r(t)},71852:function(e,t,o){"use strict";o.r(t)},12700:function(e,t,o){"use strict";o.r(t)},97749:function(e,t,o){"use strict";o.r(t)},69718:function(e,t,o){"use strict";o.r(t)},65713:function(e,t,o){"use strict";o.r(t)},49104:function(e,t,o){"use strict";o.r(t)},79793:function(e,t,o){"use strict";o.r(t)},23198:function(e,t,o){"use strict";o.r(t)},83404:function(e,t,o){"use strict";o.r(t)},38784:function(e,t,o){"use strict";o.r(t)},30861:function(e,t,o){"use strict";o.r(t)},98926:function(e,t,o){"use strict";o.r(t)},29269:function(e,t,o){"use strict";o.r(t)},53224:function(e,t,o){"use strict";o.r(t)},49073:function(e,t,o){"use strict";o.r(t)},27040:function(e,t,o){"use strict";o.r(t)},76519:function(e,t,o){"use strict";o.r(t)},58188:function(e,t,o){"use strict";o.r(t)},62731:function(e,t,o){"use strict";o.r(t)},66177:function(e,t,o){"use strict";o.r(t)},4741:function(e,t,o){"use strict";o.r(t)},65751:function(e,t,o){"use strict";o.r(t)},35218:function(e,t,o){"use strict";o.r(t)},28119:function(e,t,o){"use strict";o.r(t)},82247:function(e,t,o){"use strict";o.r(t)},26881:function(e,t,o){"use strict";o.r(t)},7590:function(e,t,o){"use strict";o.r(t)},98831:function(e,t,o){"use strict";o.r(t)},19777:function(e,t,o){"use strict";o.r(t)},83184:function(e,t,o){"use strict";o.r(t)},47164:function(e,t,o){"use strict";o.r(t)},63729:function(e,t,o){"use strict";o.r(t)},87527:function(e,t,o){"use strict";o.r(t)},23455:function(e,t,o){"use strict";o.r(t)},89057:function(e,t,o){"use strict";o.r(t)},71696:function(e,t,o){"use strict";o.r(t)},65581:function(e,t,o){"use strict";o.r(t)},52404:function(e,t,o){"use strict";o.r(t)},32052:function(e,t,o){"use strict";o.r(t)},76069:function(e,t,o){"use strict";o.r(t)},96578:function(e,t,o){"use strict";o.r(t)},24305:function(e,t,o){"use strict";o.r(t)},75131:function(e,t,o){"use strict";o.r(t)},3263:function(e,t,o){"use strict";o.r(t)},1261:function(e,t,o){"use strict";o.r(t)},48772:function(e,t,o){"use strict";o.r(t)},64364:function(e){e.exports={"copy-format":"نسخ التنسيق"}},99982:function(e){e.exports={"copy-format":"Kopírovat formát"}},20746:function(e){e.exports={"copy-format":"Format kopierenт"}},37215:function(e){e.exports={"copy-format":"Copiar formato"}},88559:function(e){e.exports={"copy-format":"کپی کردن قالب"}},69346:function(e){e.exports={"copy-format":"Format de copie"}},6127:function(e){e.exports={"copy-format":"העתק עיצוב"}},74340:function(e){e.exports={"copy-format":"Formátum másolás"}},29999:function(e){e.exports={"copy-format":"salin format"}},52210:function(e){e.exports={"copy-format":"Copia il formato"}},60420:function(e){e.exports={"copy-format":"copyformat"}},52096:function(e){e.exports={"copy-format":"복사 형식"}},32257:function(e){e.exports={"copy-format":"opmaak kopiëren"}},94887:function(e){e.exports={"copy-format":"format kopii"}},14704:function(e){e.exports={"copy-format":"Copiar formato"}},65108:function(e){e.exports={"copy-format":"Копировать формат"}},44704:function(e){e.exports={"copy-format":"Kopyalama Biçimi"}},13100:function(e){e.exports={"copy-format":"复制格式"}},59483:function(e){e.exports={"copy-format":"複製格式"}},7713:function(e){e.exports={"Line height":"ارتفاع الخط"}},79457:function(e){e.exports={"Line height":"Výška čáry"}},95551:function(e){e.exports={"Line height":"Zeilenhöhe"}},86184:function(e){e.exports={"Line height":"Altura de la línea"}},43418:function(e){e.exports={"Line height":"ارتفاع خط"}},65643:function(e){e.exports={"Line height":"Hauteur de ligne"}},96250:function(e){e.exports={"Line height":"גובה שורה"}},8754:function(e){e.exports={"Line height":"Vonal magassága"}},99271:function(e){e.exports={"Line height":"Tinggi baris"}},26080:function(e){e.exports={"Line height":"Altezza linea"}},23267:function(e){e.exports={"Line height":"ラインの高さ"}},70074:function(e){e.exports={"Line height":"선 높이"}},51419:function(e){e.exports={"Line height":"Lijnhoogte"}},38179:function(e){e.exports={"Line height":"Wysokość linii"}},61707:function(e){e.exports={"Line height":"Altura da linha"}},15035:function(e){e.exports={"Line height":"Высота линии"}},28048:function(e){e.exports={"Line height":"Çizgi yüksekliği"}},72647:function(e){e.exports={"Line height":"线高"}},65107:function(e){e.exports={"Line height":"ความสูงเส้น"}},97871:function(e){e.exports={Spellcheck:"التدقيق الإملائي"}},30689:function(e){e.exports={Spellcheck:"Kontrola pravopisu"}},80242:function(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},18338:function(e){e.exports={Spellcheck:"Corrección ortográfica"}},30402:function(e){e.exports={Spellcheck:"غلطیابی املایی"}},64941:function(e){e.exports={Spellcheck:"Vérification Orthographique"}},58543:function(e){e.exports={Spellcheck:"בדיקת איות"}},63504:function(e){e.exports={Spellcheck:"Helyesírás-ellenőrzés"}},44927:function(e){e.exports={Spellcheck:"Spellchecking"}},79211:function(e){e.exports={Spellcheck:"Controllo ortografico"}},8903:function(e){e.exports={Spellcheck:"スペルチェック"}},68537:function(e){e.exports={Spellcheck:"맞춤법 검사"}},91597:function(e){e.exports={Spellcheck:"Spellingcontrole"}},52608:function(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},51529:function(e){e.exports={Spellcheck:"Verificação ortográfica"}},72924:function(e){e.exports={Spellcheck:"Проверка орфографии"}},19366:function(e){e.exports={Spellcheck:"Yazım denetimi"}},54398:function(e){e.exports={Spellcheck:"拼写检查"}},84052:function(e){e.exports={Spellcheck:"สะกดคำ"}},54942:function(e){e.exports={symbols:"رمز"}},91982:function(e){e.exports={symbols:"symbol"}},67793:function(e){e.exports={symbols:"Symbol"}},73246:function(e){e.exports={symbols:"Símbolo"}},83233:function(e){e.exports={symbols:"سمبل"}},40695:function(e){e.exports={symbols:"caractère"}},18732:function(e){e.exports={symbols:"תו מיוחד"}},14389:function(e){e.exports={symbols:"Szimbólum"}},49571:function(e){e.exports={symbols:"simbol"}},59462:function(e){e.exports={symbols:"Simbolo"}},53146:function(e){e.exports={symbols:"symbol"}},70124:function(e){e.exports={symbols:"기호"}},62202:function(e){e.exports={symbols:"symbool"}},56803:function(e){e.exports={symbols:"symbol"}},17431:function(e){e.exports={symbols:"Símbolo"}},14556:function(e){e.exports={symbols:"символ"}},87539:function(e){e.exports={symbols:"Sembol"}},34929:function(e){e.exports={symbols:"符号"}},47996:function(e){e.exports={symbols:"符號"}},52378:function(e){"use strict";e.exports={assert(){}}}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var i=o[e]={exports:{}};return t[e].call(i.exports,i,i.exports,n),i.exports}n.m=t,e=[],n.O=function(t,o,r,i){if(!o){var a=1/0;for(u=0;e.length>u;u++){o=e[u][0],r=e[u][1],i=e[u][2];for(var s=!0,l=0;o.length>l;l++)(!1&i||a>=i)&&Object.keys(n.O).every((function(e){return n.O[e](o[l])}))?o.splice(l--,1):(s=!1,a>i&&(a=i));if(s){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[o,r,i]},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={670:0};n.O.j=function(t){return 0===e[t]};var t=function(t,o){var r,i,a=o[0],s=o[1],l=o[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(r in s)n.o(s,r)&&(n.m[r]=s[r]);if(l)var u=l(n)}for(t&&t(o);a.length>c;c++)n.o(e,i=a[c])&&e[i]&&e[i][0](),e[i]=0;return n.O(u)},o=self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var r=n(97029);return n.O(r)}()}));