/*
    Google Maps
    Version: 2.4.2
    Release date: Fri Mar 26 2021

    https://elfsight.com

    Copyright (c) 2021 Elfsight, LLC. ALL RIGHTS RESERVED
*/

(function(window){"use strict";
!function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=224)}([function(e,t,o){var n=o(38)("wks"),i=o(32),r=o(2).Symbol,a="function"==typeof r;(e.exports=function(e){return n[e]||(n[e]=a&&r[e]||(a?r:i)("Symbol."+e))}).store=n},function(e,t,o){var n=o(10).f,i=Function.prototype,r=/^\s*function ([^ (]*)/;"name"in i||o(11)&&n(i,"name",{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(e){return""}}})},function(e,t){var o=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=o)},function(e,t,o){var n=o(12);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,o){"use strict";var n=o(2),i=o(17),r=o(11),a=o(5),s=o(13),l=o(159).KEY,c=o(9),d=o(38),p=o(41),u=o(32),f=o(0),h=o(69),g=o(68),m=o(160),v=o(73),b=o(3),y=o(12),x=o(18),_=o(39),w=o(33),k=o(74),j=o(163),C=o(76),S=o(10),A=o(28),M=C.f,E=S.f,z=j.f,T=n.Symbol,D=n.JSON,L=D&&D.stringify,I=f("_hidden"),P=f("toPrimitive"),O={}.propertyIsEnumerable,q=d("symbol-registry"),N=d("symbols"),R=d("op-symbols"),B=Object.prototype,V="function"==typeof T,H=n.QObject,F=!H||!H.prototype||!H.prototype.findChild,W=r&&c((function(){return 7!=k(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a}))?function(e,t,o){var n=M(B,t);n&&delete B[t],E(e,t,o),n&&e!==B&&E(B,t,n)}:E,$=function(e){var t=N[e]=k(T.prototype);return t._k=e,t},U=V&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},Y=function(e,t,o){return e===B&&Y(R,t,o),b(e),t=_(t,!0),b(o),i(N,t)?(o.enumerable?(i(e,I)&&e[I][t]&&(e[I][t]=!1),o=k(o,{enumerable:w(0,!1)})):(i(e,I)||E(e,I,w(1,{})),e[I][t]=!0),W(e,t,o)):E(e,t,o)},K=function(e,t){b(e);for(var o,n=m(t=x(t)),i=0,r=n.length;r>i;)Y(e,o=n[i++],t[o]);return e},G=function(e){var t=O.call(this,e=_(e,!0));return!(this===B&&i(N,e)&&!i(R,e))&&(!(t||!i(this,e)||!i(N,e)||i(this,I)&&this[I][e])||t)},J=function(e,t){if(e=x(e),t=_(t,!0),e!==B||!i(N,t)||i(R,t)){var o=M(e,t);return!o||!i(N,t)||i(e,I)&&e[I][t]||(o.enumerable=!0),o}},X=function(e){for(var t,o=z(x(e)),n=[],r=0;o.length>r;)i(N,t=o[r++])||t==I||t==l||n.push(t);return n},Z=function(e){for(var t,o=e===B,n=z(o?R:x(e)),r=[],a=0;n.length>a;)!i(N,t=n[a++])||o&&!i(B,t)||r.push(N[t]);return r};V||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=u(arguments.length>0?arguments[0]:void 0),t=function(o){this===B&&t.call(R,o),i(this,I)&&i(this[I],e)&&(this[I][e]=!1),W(this,e,w(1,o))};return r&&F&&W(B,e,{configurable:!0,set:t}),$(e)}).prototype,"toString",(function(){return this._k})),C.f=J,S.f=Y,o(57).f=j.f=X,o(44).f=G,o(43).f=Z,r&&!o(31)&&s(B,"propertyIsEnumerable",G,!0),h.f=function(e){return $(f(e))}),a(a.G+a.W+a.F*!V,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)f(Q[ee++]);for(var te=A(f.store),oe=0;te.length>oe;)g(te[oe++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return i(q,e+="")?q[e]:q[e]=T(e)},keyFor:function(e){if(!U(e))throw TypeError(e+" is not a symbol!");for(var t in q)if(q[t]===e)return t},useSetter:function(){F=!0},useSimple:function(){F=!1}}),a(a.S+a.F*!V,"Object",{create:function(e,t){return void 0===t?k(e):K(k(e),t)},defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),D&&a(a.S+a.F*(!V||c((function(){var e=T();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))}))),"JSON",{stringify:function(e){for(var t,o,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);if(o=t=n[1],(y(t)||void 0!==e)&&!U(e))return v(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!U(t))return t}),n[1]=t,L.apply(D,n)}}),T.prototype[P]||o(14)(T.prototype,P,T.prototype.valueOf),p(T,"Symbol"),p(Math,"Math",!0),p(n.JSON,"JSON",!0)},function(e,t,o){var n=o(2),i=o(16),r=o(14),a=o(13),s=o(27),l=function(e,t,o){var c,d,p,u,f=e&l.F,h=e&l.G,g=e&l.S,m=e&l.P,v=e&l.B,b=h?n:g?n[t]||(n[t]={}):(n[t]||{}).prototype,y=h?i:i[t]||(i[t]={}),x=y.prototype||(y.prototype={});for(c in h&&(o=t),o)p=((d=!f&&b&&void 0!==b[c])?b:o)[c],u=v&&d?s(p,n):m&&"function"==typeof p?s(Function.call,p):p,b&&a(b,c,p,e&l.U),y[c]!=p&&r(y,c,u),m&&x[c]!=p&&(x[c]=p)};n.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,o){for(var n=o(21),i=o(28),r=o(13),a=o(2),s=o(14),l=o(35),c=o(0),d=c("iterator"),p=c("toStringTag"),u=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(f),g=0;g<h.length;g++){var m,v=h[g],b=f[v],y=a[v],x=y&&y.prototype;if(x&&(x[d]||s(x,d,u),x[p]||s(x,p,v),l[v]=u,b))for(m in n)x[m]||r(x,m,n[m],!0)}},function(e,t,o){"use strict";var n=o(46),i={};i[o(0)("toStringTag")]="z",i+""!="[object z]"&&o(13)(Object.prototype,"toString",(function(){return"[object "+n(this)+"]"}),!0)},function(e,t,o){o(68)("asyncIterator")},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,o){var n=o(3),i=o(70),r=o(39),a=Object.defineProperty;t.f=o(11)?Object.defineProperty:function(e,t,o){if(n(e),t=r(t,!0),n(o),i)try{return a(e,t,o)}catch(e){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(e[t]=o.value),e}},function(e,t,o){e.exports=!o(9)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,o){var n=o(2),i=o(14),r=o(17),a=o(32)("src"),s=o(158),l=(""+s).split("toString");o(16).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,o,s){var c="function"==typeof o;c&&(r(o,"name")||i(o,"name",t)),e[t]!==o&&(c&&(r(o,a)||i(o,a,e[t]?""+e[t]:l.join(String(t)))),e===n?e[t]=o:s?e[t]?e[t]=o:i(e,t,o):(delete e[t],i(e,t,o)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t,o){var n=o(10),i=o(33);e.exports=o(11)?function(e,t,o){return n.f(e,t,i(1,o))}:function(e,t,o){return e[t]=o,e}},function(e,t,o){var n=o(89),i="object"==typeof self&&self&&self.Object===Object&&self,r=n||i||Function("return this")();e.exports=r},function(e,t){var o=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=o)},function(e,t){var o={}.hasOwnProperty;e.exports=function(e,t){return o.call(e,t)}},function(e,t,o){var n=o(54),i=o(30);e.exports=function(e){return n(i(e))}},function(e,t,o){var n=o(42),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,o){var n=o(30);e.exports=function(e){return Object(n(e))}},function(e,t,o){"use strict";var n=o(61),i=o(166),r=o(35),a=o(18);e.exports=o(78)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,o=this._i++;return!e||o>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?o:"values"==t?e[o]:[o,e[o]])}),"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")},function(e,t,o){"use strict";o(170);var n=o(3),i=o(60),r=o(11),a=/./.toString,s=function(e){o(13)(RegExp.prototype,"toString",e,!0)};o(9)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var e=n(this);return"/".concat(e.source,"/","flags"in e?e.flags:!r&&e instanceof RegExp?i.call(e):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(e,t,o){var n=Date.prototype,i=n.toString,r=n.getTime;new Date(NaN)+""!="Invalid Date"&&o(13)(n,"toString",(function(){var e=r.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,o){"use strict";var n=o(77)(!0);o(78)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,o=this._i;return o>=t.length?{value:void 0,done:!0}:(e=n(t,o),this._i+=e.length,{value:e,done:!1})}))},function(e,t,o){"use strict";var n=o(27),i=o(5),r=o(20),a=o(79),s=o(80),l=o(19),c=o(81),d=o(82);i(i.S+i.F*!o(83)((function(e){Array.from(e)})),"Array",{from:function(e){var t,o,i,p,u=r(e),f="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,m=void 0!==g,v=0,b=d(u);if(m&&(g=n(g,h>2?arguments[2]:void 0,2)),null==b||f==Array&&s(b))for(o=new f(t=l(u.length));t>v;v++)c(o,v,m?g(u[v],v):u[v]);else for(p=b.call(u),o=new f;!(i=p.next()).done;v++)c(o,v,m?a(p,g,[i.value,v],!0):i.value);return o.length=v,o}})},function(e,t,o){"use strict";var n=o(84),i=o(3),r=o(85),a=o(58),s=o(19),l=o(45),c=o(59),d=o(9),p=Math.min,u=[].push,f=!d((function(){RegExp(4294967295,"y")}));o(47)("split",2,(function(e,t,o,d){var h;return h="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!n(e))return o.call(i,e,t);for(var r,a,s,l=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,f=void 0===t?4294967295:t>>>0,h=new RegExp(e.source,d+"g");(r=c.call(h,i))&&!((a=h.lastIndex)>p&&(l.push(i.slice(p,r.index)),r.length>1&&r.index<i.length&&u.apply(l,r.slice(1)),s=r[0].length,p=a,l.length>=f));)h.lastIndex===r.index&&h.lastIndex++;return p===i.length?!s&&h.test("")||l.push(""):l.push(i.slice(p)),l.length>f?l.slice(0,f):l}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:o.call(this,e,t)}:o,[function(o,n){var i=e(this),r=null==o?void 0:o[t];return void 0!==r?r.call(o,i,n):h.call(String(i),o,n)},function(e,t){var n=d(h,e,this,t,h!==o);if(n.done)return n.value;var c=i(e),u=String(this),g=r(c,RegExp),m=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(f?"y":"g"),b=new g(f?c:"^(?:"+c.source+")",v),y=void 0===t?4294967295:t>>>0;if(0===y)return[];if(0===u.length)return null===l(b,u)?[u]:[];for(var x=0,_=0,w=[];_<u.length;){b.lastIndex=f?_:0;var k,j=l(b,f?u:u.slice(_));if(null===j||(k=p(s(b.lastIndex+(f?0:_)),u.length))===x)_=a(u,_,m);else{if(w.push(u.slice(x,_)),w.length===y)return w;for(var C=1;C<=j.length-1;C++)if(w.push(j[C]),w.length===y)return w;_=x=k}}return w.push(u.slice(x)),w}]}))},function(e,t,o){var n=o(40);e.exports=function(e,t,o){if(n(e),void 0===t)return e;switch(o){case 1:return function(o){return e.call(t,o)};case 2:return function(o,n){return e.call(t,o,n)};case 3:return function(o,n,i){return e.call(t,o,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,o){var n=o(71),i=o(56);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t){var o={}.toString;e.exports=function(e){return o.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t){e.exports=!1},function(e,t){var o=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++o+n).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,o){"use strict";var n=o(3),i=o(20),r=o(19),a=o(42),s=o(58),l=o(45),c=Math.max,d=Math.min,p=Math.floor,u=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};o(47)("replace",2,(function(e,t,o,g){return[function(n,i){var r=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,r,i):o.call(String(r),n,i)},function(e,t){var i=g(o,e,this,t);if(i.done)return i.value;var p=n(e),u=String(this),f="function"==typeof t;f||(t=String(t));var v=p.global;if(v){var b=p.unicode;p.lastIndex=0}for(var y=[];;){var x=l(p,u);if(null===x)break;if(y.push(x),!v)break;""===String(x[0])&&(p.lastIndex=s(u,r(p.lastIndex),b))}for(var _="",w=0,k=0;k<y.length;k++){x=y[k];for(var j=String(x[0]),C=c(d(a(x.index),u.length),0),S=[],A=1;A<x.length;A++)S.push(h(x[A]));var M=x.groups;if(f){var E=[j].concat(S,C,u);void 0!==M&&E.push(M);var z=String(t.apply(void 0,E))}else z=m(j,u,C,S,M,t);C>=w&&(_+=u.slice(w,C)+z,w=C+j.length)}return _+u.slice(w)}];function m(e,t,n,r,a,s){var l=n+e.length,c=r.length,d=f;return void 0!==a&&(a=i(a),d=u),o.call(s,d,(function(o,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var d=+i;if(0===d)return o;if(d>c){var u=p(d/10);return 0===u?o:u<=c?void 0===r[u-1]?i.charAt(1):r[u-1]+i.charAt(1):o}s=r[d-1]}return void 0===s?"":s}))}}))},function(e,t){e.exports={}},function(e,t,o){var n=o(182),i=o(188);e.exports=function(e,t){var o=i(e,t);return n(o)?o:void 0}},function(e,t,o){var n=o(5);n(n.S+n.F,"Object",{assign:o(203)})},function(e,t,o){var n=o(16),i=o(2),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:o(31)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,o){var n=o(12);e.exports=function(e,t){if(!n(e))return e;var o,i;if(t&&"function"==typeof(o=e.toString)&&!n(i=o.call(e)))return i;if("function"==typeof(o=e.valueOf)&&!n(i=o.call(e)))return i;if(!t&&"function"==typeof(o=e.toString)&&!n(i=o.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,o){var n=o(10).f,i=o(17),r=o(0)("toStringTag");e.exports=function(e,t,o){e&&!i(e=o?e:e.prototype,r)&&n(e,r,{configurable:!0,value:t})}},function(e,t){var o=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:o)(e)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,o){"use strict";var n=o(46),i=RegExp.prototype.exec;e.exports=function(e,t){var o=e.exec;if("function"==typeof o){var r=o.call(e,t);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,o){var n=o(29),i=o(0)("toStringTag"),r="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,o,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(o=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?o:r?n(t):"Object"==(a=n(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,o){"use strict";o(165);var n=o(13),i=o(14),r=o(9),a=o(30),s=o(0),l=o(59),c=s("species"),d=!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),p=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var o="ab".split(e);return 2===o.length&&"a"===o[0]&&"b"===o[1]}();e.exports=function(e,t,o){var u=s(e),f=!r((function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})),h=f?!r((function(){var t=!1,o=/a/;return o.exec=function(){return t=!0,null},"split"===e&&(o.constructor={},o.constructor[c]=function(){return o}),o[u](""),!t})):void 0;if(!f||!h||"replace"===e&&!d||"split"===e&&!p){var g=/./[u],m=o(a,u,""[e],(function(e,t,o,n,i){return t.exec===l?f&&!i?{done:!0,value:g.call(t,o,n)}:{done:!0,value:e.call(o,t,n)}:{done:!1}})),v=m[0],b=m[1];n(String.prototype,e,v),i(RegExp.prototype,u,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},function(e,t,o){var n=o(88),i=o(184),r=o(185),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):r(e)}},function(e,t,o){"use strict";var n=o(3),i=o(216),r=o(45);o(47)("search",1,(function(e,t,o,a){return[function(o){var n=e(this),i=null==o?void 0:o[t];return void 0!==i?i.call(o,n):new RegExp(o)[t](String(n))},function(e){var t=a(o,e,this);if(t.done)return t.value;var s=n(e),l=String(this),c=s.lastIndex;i(c,0)||(s.lastIndex=0);var d=r(s,l);return i(s.lastIndex,c)||(s.lastIndex=c),null===d?-1:d.index}]}))},function(e,t){e.exports='<label class="ea-editor-property-inner">\n  <div class="ea-editor-property-control-text-label" ng-if="control.name || control.maxLength">\n    <div class="ea-editor-property-label" ng-if="control.name" editor-hint="control.description">{{control.name}}</div>\n\n    <div class="ea-editor-property-control-text-max-length" ng-show="control.maxLength && control.dirty">\n      <span class="ea-editor-property-control-text-max-length-current">{{ symbolsLast }}</span>\n    </div>\n  </div>\n\n  <div\n    class="ea-editor-property-caption" ng-if="control.captionTrusted"\n    ng-bind-html="toTrustedHTML(control.captionTrusted)"\n  ></div>\n\n  <div class="ea-editor-property-control-text ea-editor-property-control">\n    <div ng-if="showBtn" class="ea-editor-property-control-text-button" translate>Apply</div>\n\n    <input\n      ng-model="ngModel" ng-model-options="{ updateOn: showBtn ? \'change blur\' : \'default\', debounce: 300 }"\n      ng-blur="setDefaultValueIfEmpty()" placeholder="{{control.placeholder}}"\n      ng-disabled="control.text.disabled"\n      data-ng-trim="false"\n    >\n\n    <div ng-show="error" class="ea-editor-property-control-text-error"></div>\n  </div>\n</label>\n'},function(e,t,o){

window,e.exports=function(){return o={},e.m=t=[function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(4),r=o(9),a=(s.detach=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},s.unwrap=function(e){var t=e.parentNode,o=e;if(t){for(;o.firstChild;)t.insertBefore(o.firstChild,o);s.safeRemove(o)}},s.each=function(e,t){var o=e.firstChild;if(o)for(;o;){if(!1===t.call(o,o)||!s.each(o,t))return!1;o=s.next(o,(function(e){return!!e}),e)}return!0},s.replace=function(e,t,o,n,i){void 0===o&&(o=!1),void 0===n&&(n=!1);var r="string"==typeof t?i.createElement(t):t;if(!n)for(;e.firstChild;)r.appendChild(e.firstChild);return o&&Array.from(e.attributes).forEach((function(e){r.setAttribute(e.name,e.value)})),e.parentNode&&e.parentNode.replaceChild(r,e),r},s.isEmptyTextNode=function(e){return e&&e.nodeType===Node.TEXT_NODE&&(!e.nodeValue||0===e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP,"").length)},s.isEmpty=function(e,t){return void 0===t&&(t=/^(img|svg|canvas|input|textarea|form)$/),!e||(e.nodeType===Node.TEXT_NODE?null===e.nodeValue||0===r.trim(e.nodeValue).length:!e.nodeName.toLowerCase().match(t)&&s.each(e,(function(e){if(e&&e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&0!==r.trim(e.nodeValue).length||e&&e.nodeType===Node.ELEMENT_NODE&&t.test(e.nodeName.toLowerCase()))return!1})))},s.isNode=function(e,t){return!("object"!=typeof t||!t||"function"!=typeof t.Node&&"object"!=typeof t.Node)&&e instanceof t.Node},s.isCell=function(e,t){return s.isNode(e,t)&&/^(td|th)$/i.test(e.nodeName)},s.isImage=function(e,t){return s.isNode(e,t)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)},s.isBlock=function(e,t){return e&&"object"==typeof e&&s.isNode(e,t)&&n.IS_BLOCK.test(e.nodeName)},s.isInlineBlock=function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&!!~["inline","inline-block"].indexOf(""+i.css(e,"display"))},s.canSplitBlock=function(e,t){return e&&e instanceof t.HTMLElement&&this.isBlock(e,t)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)},s.prev=function(e,t,o,n){return void 0===n&&(n=!0),s.find(e,t,o,!1,"previousSibling",!!n&&"lastChild")},s.next=function(e,t,o,n){return void 0===n&&(n=!0),s.find(e,t,o,void 0,void 0,n?"firstChild":"")},s.prevWithClass=function(e,t){return this.prev(e,(function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&e.classList.contains(t)}),e.parentNode)},s.nextWithClass=function(e,t){return this.next(e,(function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&e.classList.contains(t)}),e.parentNode)},s.find=function(e,t,o,n,i,r){if(void 0===n&&(n=!1),void 0===i&&(i="nextSibling"),void 0===r&&(r="firstChild"),n&&t(e))return e;var a,l=e;do{if(t(a=l[i]))return a||!1;if(r&&a&&a[r]){var c=s.find(a[r],t,a,!0,i,r);if(c)return c}l=a=a||l.parentNode}while(l&&l!==o);return!1},s.findWithCurrent=function(e,t,o,n,i){void 0===n&&(n="nextSibling"),void 0===i&&(i="firstChild");var r=e;do{if(t(r))return r||!1;if(i&&r&&r[i]){var a=s.findWithCurrent(r[i],t,r,n,i);if(a)return a}for(;r&&!r[n]&&r!==o;)r=r.parentNode;r&&r[n]&&r!==o&&(r=r[n])}while(r&&r!==o);return!1},s.up=function(e,t,o){var n=e;if(!e)return!1;do{if(t(n))return n;if(n===o||!n.parentNode)break;n=n.parentNode}while(n&&n!==o);return!1},s.closest=function(e,t,o){return s.up(e,"function"==typeof t?t:t instanceof RegExp?function(e){return e&&t.test(e.nodeName)}:function(e){return e&&RegExp("^("+t+")$","i").test(e.nodeName)},o)},s.after=function(e,t){var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))},s.moveContent=function(e,t,o){void 0===o&&(o=!1);var i=(e.ownerDocument||document).createDocumentFragment();[].slice.call(e.childNodes).forEach((function(e){e.nodeType===Node.TEXT_NODE&&e.nodeValue===n.INVISIBLE_SPACE||i.appendChild(e)})),o&&t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i)},s.all=function(e,t,o){void 0===o&&(o=!1);var n=e.childNodes?Array.prototype.slice.call(e.childNodes):[];if(t(e))return e;o&&(n=n.reverse()),n.forEach((function(e){s.all(e,t,o)}))},s.safeRemove=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},s.wrapInline=function(e,t,o){for(var n,i=e,r=e,a=o.selection.save(),l=!1;l=!1,(n=i.previousSibling)&&!s.isBlock(n,o.editorWindow)&&(l=!0,i=n),l;);for(;l=!1,(n=r.nextSibling)&&!s.isBlock(n,o.editorWindow)&&(l=!0,r=n),l;);var c="string"==typeof t?o.create.inside.element(t):t;i.parentNode&&i.parentNode.insertBefore(c,i);for(var d=i;d&&(d=i.nextSibling,c.appendChild(i),i!==r&&d);)i=d;return o.selection.restore(a),c},s.wrap=function(e,t,o){var n=o.selection.save(),i="string"==typeof t?o.editorDocument.createElement(t):t;return e.parentNode?(e.parentNode.insertBefore(i,e),i.appendChild(e),o.selection.restore(n),i):null},s.findInline=function(e,t,o){var n=e,i=null;do{if(!n)break;if((i=t?n.previousSibling:n.nextSibling)||!n.parentNode||n.parentNode===o||!s.isInlineBlock(n.parentNode))break;n=n.parentNode}while(!i);for(;i&&s.isInlineBlock(i)&&(t?i.lastChild:i.firstChild);)i=t?i.lastChild:i.firstChild;return i},s.contains=function(e,t){for(;t.parentNode;){if(t.parentNode===e)return!0;t=t.parentNode}return!1},s.isOrContains=function(e,t,o){return void 0===o&&(o=!1),t&&e&&(e===t&&!o||s.contains(e,t))},s);function s(){}t.Dom=a},function(e,t,o){"use strict";o.r(t),o.d(t,"__extends",(function(){return i})),o.d(t,"__assign",(function(){return r})),o.d(t,"__rest",(function(){return a})),o.d(t,"__decorate",(function(){return s})),o.d(t,"__param",(function(){return l})),o.d(t,"__metadata",(function(){return c})),o.d(t,"__awaiter",(function(){return d})),o.d(t,"__generator",(function(){return p})),o.d(t,"__exportStar",(function(){return u})),o.d(t,"__values",(function(){return f})),o.d(t,"__read",(function(){return h})),o.d(t,"__spread",(function(){return g})),o.d(t,"__spreadArrays",(function(){return m})),o.d(t,"__await",(function(){return v})),o.d(t,"__asyncGenerator",(function(){return b})),o.d(t,"__asyncDelegator",(function(){return y})),o.d(t,"__asyncValues",(function(){return x})),o.d(t,"__makeTemplateObject",(function(){return _})),o.d(t,"__importStar",(function(){return w})),o.d(t,"__importDefault",(function(){return k}));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)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)};function i(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var r=function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&!~t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)!~t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]])}return o}function s(e,t,o,n){var i,r=arguments.length,a=r<3?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;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,o,a):i(t,o))||a);return 3<r&&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 d(e,t,o,n){return new(o=o||Promise)((function(i,r){function a(e){try{l(n.next(e))}catch(e){r(e)}}function s(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){e.done?i(e.value):new o((function(t){t(e.value)})).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function p(e,t){var o,n,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(i=2&r[0]?n.return:r[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,r[1])).done)return i;switch(n=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,n=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(i=0<(i=a.trys).length&&i[i.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!i||i[0]<r[1]&&r[1]<i[3])){a.label=r[1];break}if(6===r[0]&&a.label<i[1]){a.label=i[1],i=r;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(r);break}i[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],n=0}finally{o=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}function u(e,t){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}function f(e){var t="function"==typeof Symbol&&e[Symbol.iterator],o=0;return t?t.call(e):{next:function(){return e&&e.length<=o&&(e=void 0),{value:e&&e[o++],done:!e}}}}function h(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var n,i,r=o.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=r.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function m(){for(var e=0,t=0,o=arguments.length;t<o;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<o;t++)for(var r=arguments[t],a=0,s=r.length;a<s;a++,i++)n[i]=r[a];return n}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function b(e,t,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=o.apply(e,t||[]),r=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise((function(o,n){1<r.push([e,t,o,n])||s(e,t)}))})}function s(e,t){try{(o=i[e](t)).value instanceof v?Promise.resolve(o.value.v).then(l,c):d(r[0][2],o)}catch(e){d(r[0][3],e)}var o}function l(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),r.shift(),r.length&&s(r[0][0],r[0][1])}}function y(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,i){t[n]=e[n]?function(t){return(o=!o)?{value:v(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=e[Symbol.asyncIterator];return o?o.call(e):(e=f(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,i){var r,a,s;r=n,a=i,s=(t=e[o](t)).done,Promise.resolve(t.value).then((function(e){r({value:e,done:s})}),a)}))}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}function k(e){return e&&e.__esModule?e:{default:e}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVISIBLE_SPACE="\ufeff",t.INVISIBLE_SPACE_REG_EXP=/[\uFEFF]/g,t.INVISIBLE_SPACE_REG_EXP_END=/[\uFEFF]+$/g,t.INVISIBLE_SPACE_REG_EXP_START=/^[\uFEFF]+/g,t.SPACE_REG_EXP=/[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_START=/^[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_END=/[\s\n\t\r\uFEFF\u200b]+$/g,t.IS_BLOCK=/^(PRE|DIV|P|LI|H[1-6]|BLOCKQUOTE|TD|TH|TABLE|BODY|HTML|FIGCAPTION|FIGURE|DT|DD)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB)$/,t.MAY_BE_REMOVED_WITH_KEY=/^(IMG|BR|IFRAME|SCRIPT|INPUT|TEXTAREA|HR|JODIT|JODIT-MEDIA)$/,t.KEY_BACKSPACE=8,t.KEY_TAB=9,t.KEY_ENTER=13,t.KEY_ESC=27,t.KEY_LEFT=37,t.KEY_UP=38,t.KEY_RIGHT=39,t.KEY_DOWN=40,t.KEY_DELETE=46,t.KEY_F=70,t.KEY_R=82,t.KEY_H=72,t.KEY_Y=89,t.KEY_V=86,t.KEY_Z=90,t.KEY_F3=114,t.NEARBY=5,t.ACCURACY=10,t.COMMAND_KEYS=[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&&(!!~navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),t.URL_LIST=t.IS_IE?"url":"text/uri-list",t.TEXT_PLAIN=t.IS_IE?"text":"text/plain",t.TEXT_HTML=t.IS_IE?"text":"text/html",t.MARKER_CLASS="jodit_selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.JODIT_SELECTED_CELL_MARKER="data-jodit-selected-cell",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.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"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(17),a=r.Widget.TabsWidget,s=r.Widget.FileSelectorWidget,l=o(0),c=o(4),d=o(6),p=o(14),u=(Object.defineProperty(f,"defaultOptions",{get:function(){return f.__defaultOptions||(f.__defaultOptions=new f),f.__defaultOptions},enumerable:!0,configurable:!0}),f);function f(){this.iframe=!1,this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,popup:{selection:["bold","underline","italic","ul","ol","outdent","indent","\n","fontsize","brush","paragraph","link","align","cut","dots"]},showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.saveHeightInStorage=!1,this.spellcheck=!0,this.editorCssClass=!1,this.style=!1,this.triggerChangeEvent=!0,this.width="auto",this.minWidth="200px",this.maxWidth="100%",this.height="auto",this.minHeight=200,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n="en",this.tabIndex=-1,this.toolbar=!0,this.showTooltip=!0,this.showTooltipDelay=500,this.useNativeTooltip=!1,this.enter=i.PARAGRAPH,this.enterBlock=i.PARAGRAPH,this.defaultMode=i.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.extraButtons=[],this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=["source","|","bold","strikethrough","underline","italic","|","superscript","subscript","|","ul","ol","|","outdent","indent","|","font","fontsize","brush","paragraph","|","image","file","video","table","link","|","align","undo","redo","\n","selectall","cut","copy","paste","eraser","copyformat","|","hr","symbol","fullsize","print","about"],this.buttonsMD=["source","|","bold","italic","|","ul","ol","|","font","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","hr","eraser","copyformat","fullsize","dots"],this.buttonsSM=["source","|","bold","italic","|","ul","ol","|","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","eraser","copyformat","fullsize","dots"],this.buttonsXS=["bold","image","|","brush","paragraph","|","align","|","undo","redo","|","eraser","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!1}t.Config=u,t.OptionsDefault=function(e){var t=this,o=u.defaultOptions,n=this;if(void 0!==(n.plainOptions=e)&&"object"==typeof e){var i=function(e,r){if("preset"===r&&void 0!==o.presets[e.preset]){var a=o.presets[e.preset];Object.keys(a).forEach(i.bind(t,a))}var s=o[r];n[r]="object"!=typeof s||null===s||["ownerWindow","ownerDocument"].includes(r)||Array.isArray(s)?e[r]:p.extend(!0,{},s,e[r])};Object.keys(e).forEach(i.bind(this,e))}},u.prototype.controls={print:{exec:function(e){var t=window.open("","PRINT");t&&(e.options.iframe?(e.events.fire("generateDocumentStructure.iframe",t.document,e),t.document.body.innerHTML=e.value):(t.document.write('<!doctype html><html lang="'+c.defaultLanguage(e.options.language)+'"><head><title></title></head><body>'+e.value+"</body></html>"),t.document.close()),t.focus(),t.print(),t.close())},mode:i.MODE_SOURCE+i.MODE_WYSIWYG},about:{exec:function(e){var t=e.getInstance("Dialog");t.setTitle(e.i18n("About Jodit")),t.setContent('<div class="jodit_about">\t\t\t\t\t\t\t\t\t\t<div>'+e.i18n("Jodit Editor")+" v."+e.getVersion()+" </div><div>"+e.i18n("License: %s",c.isLicense(e.options.license)?c.normalizeLicense(e.options.license):e.i18n("GNU General Public License, version 2 or later"))+'</div><div><a href="https://xdsoft.net/jodit/" target="_blank">http://xdsoft.net/jodit/</a></div><div><a href="https://xdsoft.net/jodit/doc/" target="_blank">'+e.i18n("Jodit User's Guide")+"</a> "+e.i18n("contains detailed help for using")+"</div><div>"+e.i18n("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")+"</div></div>"),t.open()},tooltip:"About Jodit",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},hr:{command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},image:{popup:function(e,t,o,i){var r=null;return t&&t.nodeType!==Node.TEXT_NODE&&("IMG"===t.tagName||c.$$("img",t).length)&&(r="IMG"===t.tagName?t:c.$$("img",t)[0]),s(e,{filebrowser:function(t){return n.__awaiter(void 0,void 0,void 0,(function(){var o;return n.__generator(this,(function(n){switch(n.label){case 0:if(!t.files||!t.files.length)return[3,4];o=0,n.label=1;case 1:return o<t.files.length?[4,e.selection.insertImage(t.baseurl+t.files[o],null,e.options.imageDefaultWidth)]:[3,4];case 2:n.sent(),n.label=3;case 3:return o+=1,[3,1];case 4:return i(),[2]}}))}))},upload:function(t){return n.__awaiter(void 0,void 0,void 0,(function(){var o;return n.__generator(this,(function(n){switch(n.label){case 0:if(!t.files||!t.files.length)return[3,4];o=0,n.label=1;case 1:return o<t.files.length?[4,e.selection.insertImage(t.baseurl+t.files[o],null,e.options.imageDefaultWidth)]:[3,4];case 2:n.sent(),n.label=3;case 3:return o+=1,[3,1];case 4:return i(),[2]}}))}))},url:function(t,o){return n.__awaiter(void 0,void 0,void 0,(function(){var a;return n.__generator(this,(function(n){switch(n.label){case 0:return(a=r||e.create.inside.element("img")).setAttribute("src",t),a.setAttribute("alt",o),r?[3,2]:[4,e.selection.insertImage(a,null,e.options.imageDefaultWidth)];case 1:n.sent(),n.label=2;case 2:return i(),[2]}}))}))}},r,i)},tags:["img"],tooltip:"Insert Image"},file:{popup:function(e,t,o,n){function i(t,o){void 0===o&&(o=""),e.selection.insertNode(e.create.inside.fromHTML('<a href="'+t+'" title="'+o+'">'+(o||t)+"</a>"))}var r=null;return t&&("A"===t.nodeName||l.Dom.closest(t,"A",e.editor))&&(r="A"===t.nodeName?t:l.Dom.closest(t,"A",e.editor)),s(e,{filebrowser:function(e){if(e.files&&e.files.length){var t=void 0;for(t=0;t<e.files.length;t+=1)i(e.baseurl+e.files[t])}n()},upload:function(e){var t;if(e.files&&e.files.length)for(t=0;t<e.files.length;t+=1)i(e.baseurl+e.files[t]);n()},url:function(e,t){r?(r.setAttribute("href",e),r.setAttribute("title",t)):i(e,t),n()}},r,n,!1)},tags:["a"],tooltip:"Insert file"},video:{popup:function(e,t,o,n){function i(t){e.selection.restore(p),e.selection.insertHTML(t),n()}var r=e.create.fromHTML('<form class="jodit_form">\n\t\t\t\t\t\t\t\t\t\t\t\t<input required name="code" placeholder="http://" type="url"/>\n\t\t\t\t\t\t\t\t\t\t\t\t<button type="submit">'+e.i18n("Insert")+"</button>\n\t\t\t\t\t\t\t\t\t\t\t\t</form>"),s=e.create.fromHTML('<form class="jodit_form">\n\t\t\t\t\t\t\t\t\t\t\t\t<textarea required name="code" placeholder="'+e.i18n("Embed code")+'"></textarea>\n\t\t\t\t\t\t\t\t\t\t\t\t<button type="submit">'+e.i18n("Insert")+"</button>\n\t\t\t\t\t\t\t\t\t\t\t\t</form>"),l={},p=e.selection.save();return e.options.textIcons?(l[e.i18n("Link")]=r,l[e.i18n("Code")]=s):(l[d.ToolbarIcon.getIcon("link")+"&nbsp;"+e.i18n("Link")]=r,l[d.ToolbarIcon.getIcon("source")+"&nbsp;"+e.i18n("Code")]=s),s.addEventListener("submit",(function(e){return e.preventDefault(),c.trim(c.val(s,"textarea[name=code]"))?i(c.val(s,"textarea[name=code]")):(s.querySelector("textarea[name=code]").focus(),s.querySelector("textarea[name=code]").classList.add("jodit_error")),!1})),r.addEventListener("submit",(function(e){return e.preventDefault(),c.isURL(c.val(r,"input[name=code]"))?i(c.convertMediaURLToVideoEmbed(c.val(r,"input[name=code]"))):(r.querySelector("input[name=code]").focus(),r.querySelector("input[name=code]").classList.add("jodit_error")),!1})),a(e,l)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(31),t),n.__exportStar(o(5),t),n.__exportStar(o(14),t),n.__exportStar(o(35),t),n.__exportStar(o(86),t),n.__exportStar(o(36),t),n.__exportStar(o(19),t),n.__exportStar(o(23),t),n.__exportStar(o(9),t),n.__exportStar(o(50),t),n.__exportStar(o(105),t),n.__exportStar(o(106),t),n.__exportStar(o(10),t),n.__exportStar(o(53),t),n.__exportStar(o(107),t),n.__exportStar(o(54),t),n.__exportStar(o(24),t),n.__exportStar(o(51),t),n.__exportStar(o(108),t),n.__exportStar(o(33),t),n.__exportStar(o(32),t),n.__exportStar(o(52),t),n.__exportStar(o(55),t),n.__exportStar(o(109),t),n.__exportStar(o(12),t),n.__exportStar(o(34),t),n.__exportStar(o(110),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(43),t),n.__exportStar(o(18),t),n.__exportStar(o(80),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(i.exists=function(e){return void 0!==i.icons[e]},i.getIcon=function(e,t){return void 0===t&&(t="<span></span>"),i.icons[e]||i.icons[e.replace(/-/g,"_")]||i.icons[e.toLowerCase()]||t},i.icons={},i);function i(){}t.ToolbarIcon=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(8),a=(i.__extends(s,n=r.Component),s);function s(e){var t=n.call(this,e)||this;return t.destruct=function(){t.isDestructed||(t.jodit.events&&t.jodit.events.off("beforeDestruct",t.destruct),t.beforeDestruct(t.jodit),n.prototype.destruct.call(t))},e.events.on("afterInit",t.afterInit.bind(t,e)).on("beforeDestruct",t.destruct),t}t.Plugin=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(15),i=(Object.defineProperty(r.prototype,"isDestructed",{get:function(){return this.__isDestructed},enumerable:!0,configurable:!0}),r.prototype.destruct=function(){this.jodit&&(this.jodit=void 0),this.__isDestructed=!0},r);function r(e){this.__isDestructed=!1,e&&e instanceof r&&n.isJoditObject(this.jodit=e)&&e.components.push(this)}t.Component=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(47),t),n.__exportStar(o(48),t),n.__exportStar(o(90),t),n.__exportStar(o(37),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(21),i=o(22),r=o(49),a=o(47),s=o(48);t.css=function(e,o,l,c){void 0===c&&(c=!1);var d=/^left|top|bottom|right|width|min|max|height|margin|padding|font-size/i;if(n.isPlainObject(o)||void 0!==l){var p=function(e,o,n){null!=n&&d.test(o)&&i.isNumeric(""+n)&&(n=parseInt(""+n,10)+"px"),void 0!==n&&t.css(e,o,void 0,!0)!==r.normilizeCSSValue(o,n)&&(e.style[o]=n)};if(n.isPlainObject(o))for(var u=Object.keys(o),f=0;f<u.length;f+=1)p(e,a.camelCase(u[f]),o[u[f]]);else p(e,a.camelCase(o),l);return""}var h=s.fromCamelCase(o),g=e.ownerDocument||document,m=!!g&&(g.defaultView||g.parentWindow),v=e.style[o],b=void 0!==v&&""!==v?v:m&&!c?m.getComputedStyle(e).getPropertyValue(h):"";return d.test(o)&&/^[\-+]?[0-9.]+px$/.test(""+b)&&(b=parseInt(""+b,10)),r.normilizeCSSValue(o,b)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(0),s=o(4),l=o(33),c=o(32),d=o(56),p=o(59),u=o(112),f=o(25),h=o(62),g=o(120),m=function(e){function t(o,a){var l=e.call(this)||this;if(l.__defaultStyleDisplayKey="data-jodit-default-style-display",l.__defaultClassesKey="data-jodit-default-classes",l.commands={},l.__selectionLocked=null,l.__wasReadOnly=!1,l.storage=f.Storage.makeStorage(!0,l.id),l.iframe=null,l.__plugins={},l.mode=r.MODE_WYSIWYG,l.__callChangeCount=0,l.isInited=!1,l.options=new i.OptionsDefault(a),l.editorDocument=l.options.ownerDocument,l.editorWindow=l.options.ownerWindow,l.ownerDocument=l.options.ownerDocument,l.ownerWindow=l.options.ownerWindow,"string"==typeof o)try{l.element=l.ownerDocument.querySelector(o)}catch(h){throw Error('String "'+o+'" should be valid HTML selector')}else l.element=o;if(!l.element||"object"!=typeof l.element||l.element.nodeType!==Node.ELEMENT_NODE||!l.element.cloneNode)throw Error('Element "'+o+'" should be string or HTMLElement instance');l.element.attributes&&Array.from(l.element.attributes).forEach((function(e){var o=e.name,n=e.value;void 0===t.defaultOptions[o]||a&&void 0!==a[o]||(~["readonly","disabled"].indexOf(o)&&(n=""===n||"true"===n),/^[0-9]+(\.)?([0-9]+)?$/.test(""+n)&&(n=+n),l.options[o]=n)})),l.options.events&&Object.keys(l.options.events).forEach((function(e){l.events.on(e,l.options.events[e])})),l.container.classList.add("jodit_container"),l.container.setAttribute("contenteditable","false"),l.selection=new p.Select(l),l.events.on("removeMarkers",(function(){l.selection&&l.selection.removeMarkers()})),l.observer=new d.Observer(l);var c=null;l.options.inline&&(~["TEXTAREA","INPUT"].indexOf(l.element.nodeName)||(l.container=l.element,l.element.setAttribute(l.__defaultClassesKey,""+l.element.className),c=l.container.innerHTML,l.container.innerHTML=""),l.container.classList.add("jodit_inline"),l.container.classList.add("jodit_container")),l.element!==l.container&&(l.element.style.display&&l.element.setAttribute(l.__defaultStyleDisplayKey,l.element.style.display),l.element.style.display="none"),l.container.classList.add("jodit_"+(l.options.theme||"default")+"_theme"),l.options.zIndex&&(l.container.style.zIndex=""+parseInt(""+l.options.zIndex,10)),l.workplace=l.create.div("jodit_workplace",{contenteditable:!1}),l.options.toolbar&&l.toolbar.build(s.splitArray(l.options.buttons).concat(l.options.extraButtons),l.container);var h=l.options.toolbarButtonSize.toLowerCase();return l.container.classList.add("jodit_toolbar_size-"+(~["middle","large","small"].indexOf(h)?h:"middle")),l.options.textIcons&&l.container.classList.add("jodit_text_icons"),l.events.on(l.ownerWindow,"resize",(function(){l.events&&l.events.fire("resize")})),l.container.appendChild(l.workplace),l.statusbar=new u.StatusBar(l,l.container),l.workplace.appendChild(l.progress_bar),l.element.parentNode&&l.element!==l.container&&l.element.parentNode.insertBefore(l.container,l.element),l.id=l.element.getAttribute("id")||""+(new Date).getTime(),l.editor=l.create.div("jodit_wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:l.options.tabIndex}),l.workplace.appendChild(l.editor),l.setNativeEditorValue(l.getElementValue()),n.__awaiter(l,void 0,void 0,(function(){var e;return n.__generator(this,(function(t){switch(t.label){case 0:return[4,this.beforeInitHook()];case 1:return t.sent(),[4,this.events.fire("beforeInit",this)];case 2:t.sent();try{this.__initPlugines()}catch(t){}return[4,this.__initEditor(c)];case 3:return t.sent(),this.isDestructed?[2]:((e=this.options).enableDragAndDropFileToEditor&&e.uploader&&(e.uploader.url||e.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.isInited=!0,this.events?[4,this.events.fire("afterInit",this)]:[3,5]);case 4:t.sent(),this.events.fire("afterConstructor",this),t.label=5;case 5:return[4,this.afterInitHook()];case 6:return t.sent(),[2]}}))})),l}return n.__extends(t,e),Object.defineProperty(t.prototype,"isJodit",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.getEditorValue()},set:function(e){this.setEditorValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return this.options&&this.options.observer?this.options.observer.timeout:t.defaultOptions.observer.timeout},enumerable:!0,configurable:!0}),t.Array=function(e){return new l.JoditArray(e)},t.Object=function(e){return new c.JoditObject(e)},t.fireEach=function(e){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];Object.keys(t.instances).forEach((function(i){var r,a=t.instances[i];!a.isDestructed&&a.events&&(r=a.events).fire.apply(r,n.__spreadArrays([e],o))}))},Object.defineProperty(t.prototype,"uploader",{get:function(){return this.getInstance("Uploader")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filebrowser",{get:function(){return this.getInstance("FileBrowser")},enumerable:!0,configurable:!0}),t.prototype.getElementValue=function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML},t.prototype.getNativeEditorValue=function(){return this.editor?this.editor.innerHTML:this.getElementValue()},t.prototype.setNativeEditorValue=function(e){this.editor&&(this.editor.innerHTML=e)},t.prototype.getEditorValue=function(e){var t;if(void 0===e&&(e=!0),void 0!==(t=this.events.fire("beforeGetValueFromEditor")))return t;t=this.getNativeEditorValue().replace(r.INVISIBLE_SPACE_REG_EXP,""),e&&(t=t.replace(/<span[^>]+id="jodit_selection_marker_[^>]+><\/span>/g,"")),"<br>"===t&&(t="");var o={value:t};return this.events.fire("afterGetValueFromEditor",o),o.value},t.prototype.getEditorText=function(){if(this.editor)return this.editor.textContent||"";var e=this.create.inside.div();return e.innerHTML=this.getElementValue(),e.textContent||""},t.prototype.setElementValue=function(e){if("string"!=typeof e&&void 0!==e)throw Error("value must be string");void 0!==e?this.element!==this.container&&(void 0!==this.element.value?this.element.value=e:this.element.innerHTML=e):e=this.getElementValue(),e!==this.getEditorValue()&&this.setEditorValue(e)},t.prototype.setEditorValue=function(e){var t=this.events.fire("beforeSetValueToEditor",e);if(!1!==t)if("string"==typeof t&&(e=t),this.editor){if("string"!=typeof e&&void 0!==e)throw Error("value must be string");void 0!==e&&this.editor.innerHTML!==e&&this.setNativeEditorValue(e);var o=this.getElementValue(),n=this.getEditorValue();if(o!==n&&this.__callChangeCount<10){this.setElementValue(n),this.__callChangeCount+=1;try{this.events.fire("change",n,o)}finally{this.__callChangeCount=0}}}else void 0!==e&&this.setElementValue(e)},t.prototype.registerCommand=function(e,t){var o=e.toLowerCase();if(void 0===this.commands[o]&&(this.commands[o]=[]),this.commands[o].push(t),"function"!=typeof t){var n=this.options.commandToHotkeys[o]||this.options.commandToHotkeys[e]||t.hotkeys;n&&this.registerHotkeyToCommand(n,o)}return this},t.prototype.registerHotkeyToCommand=function(e,t){var o=this,n=s.asArray(e).map(s.normalizeKeyAliases).map((function(e){return e+".hotkey"})).join(" ");this.events.off(n).on(n,(function(){return o.execCommand(t)}))},t.prototype.execCommand=function(e,t,o){if(void 0===t&&(t=!1),void 0===o&&(o=null),!this.options.readonly||"selectall"===e){var n;if(e=e.toLowerCase(),!1!==(n=this.events.fire("beforeCommand",e,t,o))&&(n=this.execCustomCommands(e,t,o)),!1!==n)if(this.selection.focus(),"selectall"===e)this.selection.select(this.editor,!0);else try{n=this.editorDocument.execCommand(e,t,o)}catch(e){}return this.events.fire("afterCommand",e,t,o),this.setEditorValue(),n}},t.prototype.execCustomCommands=function(e,t,o){var n,i;if(void 0===t&&(t=!1),void 0===o&&(o=null),e=e.toLowerCase(),void 0!==this.commands[e]){for(var r,a=0;a<this.commands[e].length;a+=1)void 0!==(i=("function"==typeof(n=this.commands[e][a])?n:n.exec).call(this,e,t,o))&&(r=i);return r}},t.prototype.lock=function(t){return void 0===t&&(t="any"),!!e.prototype.lock.call(this,t)&&(this.__selectionLocked=this.selection.save(),this.editor.classList.add("jodit_disabled"),!0)},t.prototype.unlock=function(){return!!e.prototype.unlock.call(this)&&(this.editor.classList.remove("jodit_disabled"),this.__selectionLocked&&this.selection.restore(this.__selectionLocked),!0)},t.prototype.getMode=function(){return this.mode},t.prototype.isEditorMode=function(){return this.getRealMode()===r.MODE_WYSIWYG},t.prototype.getRealMode=function(){if(this.getMode()!==r.MODE_SPLIT)return this.getMode();var e=this.ownerDocument.activeElement;return e&&(a.Dom.isOrContains(this.editor,e)||a.Dom.isOrContains(this.toolbar.container,e))?r.MODE_WYSIWYG:r.MODE_SOURCE},t.prototype.setMode=function(e){var t=this,o=this.getMode(),n={mode:parseInt(""+e,10)},i=["jodit_wysiwyg_mode","jodit_source_mode","jodit_split_mode"];!1!==this.events.fire("beforeSetMode",n)&&(this.mode=s.inArray(n.mode,[r.MODE_SOURCE,r.MODE_WYSIWYG,r.MODE_SPLIT])?n.mode:r.MODE_WYSIWYG,this.options.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),i.forEach((function(e){t.container.classList.remove(e)})),this.container.classList.add(i[this.mode-1]),o!==this.getMode()&&this.events.fire("afterSetMode"))},t.prototype.toggleMode=function(){var e=this.getMode();s.inArray(e+1,[r.MODE_SOURCE,r.MODE_WYSIWYG,this.options.useSplitMode?r.MODE_SPLIT:9])?e+=1:e=r.MODE_WYSIWYG,this.setMode(e)},t.prototype.i18n=function(e){for(var o=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];function a(e){return n.length?s.sprintf.apply(o,[e].concat(n)):e}var l,c=void 0!==this.options&&this.options.debugLanguage,d="auto"===i.Config.defaultOptions.language?s.defaultLanguage(i.Config.defaultOptions.language):i.Config.defaultOptions.language,p=s.defaultLanguage(this.options?this.options.language:d);if(l=void 0!==this.options&&void 0!==t.lang[p]?t.lang[p]:void 0!==t.lang[d]?t.lang[d]:t.lang.en,void 0!==this.options&&void 0!==this.options.i18n[p]&&this.options.i18n[p][e])return a(this.options.i18n[p][e]);if("string"==typeof l[e]&&l[e])return a(l[e]);var u=e.toLowerCase();if("string"==typeof l[u]&&l[u])return a(l[u]);var f=g.ucfirst(e);return"string"==typeof l[f]&&l[f]?a(l[f]):c?"{"+e+"}":a("string"==typeof t.lang.en[e]&&t.lang.en[e]?t.lang.en[e]:e)},t.prototype.setDisabled=function(e){this.options.disabled=e;var t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",""+e),this.container.classList.toggle("jodit_disabled",e),this.events.fire("disabled",e))},t.prototype.getDisabled=function(){return this.options.disabled},t.prototype.setReadOnly=function(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,(this.options.readonly=e)?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.events&&this.events.fire("readonly",e))},t.prototype.getReadOnly=function(){return this.options.readonly},t.prototype.beforeInitHook=function(){},t.prototype.afterInitHook=function(){},t.prototype.__initPlugines=function(){var e=this,o=this.options.disablePlugins,n=Array.isArray(o)?o.map((function(e){return e.toLowerCase()})):o.toLowerCase().split(/[\s,]+/);Object.keys(t.plugins).forEach((function(o){~n.indexOf(o.toLowerCase())||(e.__plugins[o]=new t.plugins[o](e))}))},t.prototype.__initEditor=function(e){return n.__awaiter(this,void 0,void 0,(function(){var o,i;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,this.__createEditor()];case 1:if(n.sent(),this.isDestructed)return[2];this.element!==this.container?this.setElementValue():null!==e&&this.setEditorValue(e),o=(t.instances[this.id]=this).options.defaultMode,this.options.saveModeInStorage&&"string"==typeof(i=this.storage.get("jodit_default_mode"))&&(o=parseInt(i,10)),this.setMode(o),this.options.readonly&&this.setReadOnly(!0),this.options.disabled&&this.setDisabled(!0);try{this.editorDocument.execCommand("defaultParagraphSeparator",!1,this.options.enter.toLowerCase())}catch(n){}try{this.editorDocument.execCommand("enableObjectResizing",!1,"false")}catch(n){}try{this.editorDocument.execCommand("enableInlineTableEditing",!1,"false")}catch(n){}return[2]}}))}))},t.prototype.__createEditor=function(){return n.__awaiter(this,void 0,void 0,(function(){var e,t,o,i=this;return n.__generator(this,(function(n){switch(n.label){case 0:return e=this.editor,[4,this.events.fire("createEditor",this)];case 1:return t=n.sent(),this.isDestructed||(!1===t&&a.Dom.safeRemove(e),this.options.editorCssClass&&this.editor.classList.add(this.options.editorCssClass),this.options.style&&s.css(this.editor,this.options.style),this.events.on("synchro",(function(){i.setEditorValue()})).on(this.editor,"selectionchange selectionstart keydown keyup keypress mousedown mouseup mousepress click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",(function(e){if(!i.options.readonly&&i.events&&i.events.fire){if(!1===i.events.fire(e.type,e))return!1;i.setEditorValue()}})),this.options.spellcheck&&this.editor.setAttribute("spellcheck","true"),this.options.direction&&(o="rtl"==this.options.direction.toLowerCase()?"rtl":"ltr",this.editor.style.direction=o,this.container.style.direction=o,this.editor.setAttribute("dir",o),this.container.setAttribute("dir",o),this.toolbar.setDirection(o)),this.options.triggerChangeEvent&&this.events.on("change",s.debounce((function(){i.events&&i.events.fire(i.element,"change")}),this.defaultTimeout))),[2]}}))}))},t.prototype.destruct=function(){var o=this;if(!this.isDestructed&&!1!==this.events.fire("beforeDestruct")&&this.editor){var n=this.getEditorValue();if(this.element!==this.container)if(this.element.hasAttribute(this.__defaultStyleDisplayKey)){var i=this.element.getAttribute(this.__defaultStyleDisplayKey);i&&(this.element.style.display=i,this.element.removeAttribute(this.__defaultStyleDisplayKey))}else this.element.style.display="";else this.element.hasAttribute(this.__defaultClassesKey)&&(this.element.className=this.element.getAttribute(this.__defaultClassesKey)||"",this.element.removeAttribute(this.__defaultClassesKey));this.element.hasAttribute("style")&&!this.element.getAttribute("style")&&this.element.removeAttribute("style"),Object.keys(this.__plugins).forEach((function(e){var t=o.__plugins[e];void 0!==t&&void 0!==t.destruct&&"function"==typeof t.destruct&&t.destruct(),delete o.__plugins[e]})),this.observer.destruct(),this.statusbar.destruct(),delete this.observer,delete this.statusbar,delete this.storage,this.buffer.clear(),delete this.buffer,this.components.forEach((function(e){void 0===e.destruct||"function"!=typeof e.destruct||e.isDestructed||e.destruct()})),this.components.length=0,this.commands={},delete this.selection,this.__selectionLocked=null,this.events.off(this.ownerWindow),this.events.off(this.ownerDocument),this.events.off(this.ownerDocument.body),this.events.off(this.element),this.events.off(this.editor),a.Dom.safeRemove(this.workplace),a.Dom.safeRemove(this.editor),a.Dom.safeRemove(this.progress_bar),a.Dom.safeRemove(this.iframe),this.container!==this.element&&a.Dom.safeRemove(this.container),delete this.workplace,delete this.editor,delete this.progress_bar,delete this.iframe,this.container===this.element&&(this.element.innerHTML=n),delete t.instances[this.id],e.prototype.destruct.call(this),delete this.container}},t.plugins={},t.modules={},t.instances={},t.lang={},t}(h.ViewWithToolbar);t.Jodit=m},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=1;t.$$=function(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,a=r||"_selector_id_"+(""+Math.random()).slice(2)+i++;e=e.replace(/:scope/g,"#"+a),r||t.setAttribute("id",a),o=t.parentNode.querySelectorAll(e),r||t.removeAttribute("id")}return[].slice.call(o)},t.getXPathByElement=function(e,o){if(!e||1!==e.nodeType)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 t.getXPathByElement(e.parentNode,o)+"/"+e.nodeName.toLowerCase()+(1<n.length?"["+(1+Array.from(n).indexOf(e))+"]":"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(16);t.Dialog=n.Dialog;var i=o(138);t.Alert=i.Alert;var r=o(66);t.Promt=r.Promt;var a=o(67);t.Confirm=a.Confirm},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(32),i=o(33),r=o(34),a=o(21);t.extend=function e(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var s,l,c,d,p,u,f,h=t.length,g=t[0]||{},m=1,v=!1;for("boolean"==typeof g&&(v=g,g=t[m]||{},m+=1),"object"!=typeof g&&"function"===r.type(g)&&(g={}),m===h&&(g=this,m+=1);m<h;m+=1)if(null!=(s=t[m]))for(f=Object.keys(s),u=0;u<f.length;u+=1)c=g[l=f[u]],g!==(d=s[l])&&(v&&d&&(a.isPlainObject(d)&&!(d instanceof n.JoditObject)||Array.isArray(d)&&!(d instanceof i.JoditArray))?(p=Array.isArray(d)?c&&Array.isArray(c)?c:[]:c&&a.isPlainObject(c)?c:{},g[l]=e(v,p,d)):void 0!==d&&(g[l]=d));return g}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoditObject=function(e){return!!(e&&e instanceof Object&&"function"==typeof e.constructor&&(e instanceof n.Jodit||e.isJodit))};var n=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(4),s=o(63),l=o(0),c=o(15);i.Config.prototype.dialog={resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[]},i.Config.prototype.controls.dialog={close:{icon:"cancel",exec:function(e){e.close()}},fullsize:{icon:"fullsize",getLabel:function(e,t,o){if(i.Config.prototype.controls.fullsize&&i.Config.prototype.controls.fullsize.getLabel&&"function"==typeof i.Config.prototype.controls.fullsize.getLabel)return i.Config.prototype.controls.fullsize.getLabel(e,t,o)},exec:function(e){e.toggleFullSize()}}};var d,p=(n.__extends(u,d=s.View),u.prototype.setElements=function(e,t){var o=this,n=[];a.asArray(t).forEach((function(t){var i="string"==typeof t?o.create.fromHTML(t):t;n.push(i),i.parentNode!==e&&e.appendChild(i)})),Array.from(e.childNodes).forEach((function(t){~n.indexOf(t)||e.removeChild(t)}))},u.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.jodit.events&&this.jodit.events.fire(this,"startResize")},u.prototype.setSize=function(e,t){e&&a.css(this.dialog,"width",e),t&&a.css(this.dialog,"height",t)},u.prototype.setPosition=function(e,t){var o=this.window.innerWidth/2-this.dialog.offsetWidth/2,n=this.window.innerHeight/2-this.dialog.offsetHeight/2;o<0&&(o=0),n<0&&(n=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=100<Math.abs(e-o)||100<Math.abs(t-n)),this.dialog.style.left=(e||o)+"px",this.dialog.style.top=(t||n)+"px"},u.prototype.setTitle=function(e){this.setElements(this.dialogbox_header,e)},u.prototype.setContent=function(e){this.setElements(this.dialogbox_content,e)},u.prototype.setFooter=function(e){this.setElements(this.dialogbox_footer,e),this.dialog.classList.toggle("with_footer",!!e)},u.prototype.getZIndex=function(){return parseInt(this.container.style.zIndex||"0",10)},u.prototype.getMaxZIndexDialog=function(){var e,t,o=0,n=this;return a.$$(".jodit_dialog_box",this.destination).forEach((function(i){e=i.__jodit_dialog,t=parseInt(a.css(i,"zIndex"),10),e.isOpened()&&!isNaN(t)&&o<t&&(n=e,o=t)})),n},u.prototype.setMaxZIndex=function(){var e=0,t=0;a.$$(".jodit_dialog_box",this.destination).forEach((function(o){t=parseInt(a.css(o,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)})),this.container.style.zIndex=""+(e+1)},u.prototype.maximization=function(e){return"boolean"!=typeof e&&(e=!this.container.classList.contains("jodit_dialog_box-fullsize")),this.container.classList.toggle("jodit_dialog_box-fullsize",e),[this.destination,this.destination.parentNode].forEach((function(t){t&&t.classList&&t.classList.toggle("jodit_fullsize_box",e)})),this.iSetMaximization=e},u.prototype.open=function(e,t,o,n){this.jodit&&this.jodit.events&&!1===this.jodit.events.fire(this,"beforeOpen")||(this.destroyAfterClose=!0===o,void 0!==t&&this.setTitle(t),e&&this.setContent(e),this.container.classList.add("active"),n&&this.container.classList.add("jodit_modal"),this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex(),this.options.fullsize&&this.maximization(!0),this.jodit&&this.jodit.events&&this.jodit.events.fire("afterOpen",this))},u.prototype.isOpened=function(){return!this.isDestructed&&this.container&&this.container.classList.contains("active")},u.prototype.destruct=function(){this.isDestructed||(this.toolbar&&(this.toolbar.destruct(),delete this.toolbar),this.events&&this.events.off(this.window,"mousemove",this.onMouseMove).off(this.window,"mouseup",this.onMouseUp).off(this.window,"keydown",this.onKeyDown).off(this.window,"resize",this.onResize),!this.jodit&&this.events&&(this.events.destruct(),delete this.events),this.container&&(l.Dom.safeRemove(this.container),delete this.container),d.prototype.destruct.call(this))},u);function u(e,t){void 0===t&&(t=i.Config.prototype.dialog);var o=d.call(this,e,t)||this;o.destination=document.body,o.destroyAfterClose=!1,o.moved=!1,o.iSetMaximization=!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.container.classList.add("jodit_dialog_box-moved")},o.unlockSelect=function(){o.container.classList.remove("jodit_dialog_box-moved")},o.onMouseUp=function(){(o.draggable||o.resizable)&&(o.draggable=!1,o.resizable=!1,o.unlockSelect(),o.jodit&&o.jodit.events&&o.jodit.events.fire(o,"endResize endMove"))},o.onHeaderMouseDown=function(e){var t=e.target;!o.options.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(o.draggable=!0,o.startX=e.clientX,o.startY=e.clientY,o.startPoint.x=a.css(o.dialog,"left"),o.startPoint.y=a.css(o.dialog,"top"),o.setMaxZIndex(),e.preventDefault(),o.lockSelect(),o.jodit&&o.jodit.events&&o.jodit.events.fire(o,"startMove"))},o.onMouseMove=function(e){o.draggable&&o.options.draggable&&(o.setPosition(o.startPoint.x+e.clientX-o.startX,o.startPoint.y+e.clientY-o.startY),o.jodit&&o.jodit.events&&o.jodit.events.fire(o,"move",e.clientX-o.startX,e.clientY-o.startY),e.stopImmediatePropagation(),e.preventDefault()),o.resizable&&o.options.resizable&&(o.setSize(o.startPoint.w+e.clientX-o.startX,o.startPoint.h+e.clientY-o.startY),o.jodit&&o.jodit.events&&o.jodit.events.fire(o,"resizeDialog",e.clientX-o.startX,e.clientY-o.startY),e.stopImmediatePropagation(),e.preventDefault())},o.onKeyDown=function(e){if(o.isOpened()&&e.which===r.KEY_ESC){var t=o.getMaxZIndexDialog();t?t.close():o.close(),e.stopImmediatePropagation()}},o.onResize=function(){o.options&&o.options.resizable&&!o.moved&&o.isOpened()&&!o.offsetX&&!o.offsetY&&o.setPosition()},o.document=document,o.window=window,o.close=function(e){o.isDestructed||(e&&(e.stopImmediatePropagation(),e.preventDefault()),o.jodit&&o.jodit.events&&o.jodit.events.fire("beforeClose",o),o.container&&o.container.classList&&o.container.classList.remove("active"),o.iSetMaximization&&o.maximization(!1),o.destroyAfterClose&&o.destruct(),o.jodit&&o.jodit.events&&(o.jodit.events.fire(o,"afterClose"),o.jodit.events.fire(o.ownerWindow,"jodit_close_dialog")))},c.isJoditObject(e)&&(o.window=e.ownerWindow,o.document=e.ownerDocument,e.events.on("beforeDestruct",(function(){o.destruct()})));var s=o;s.options=n.__assign(n.__assign({},e&&e.options?e.options.dialog:i.Config.prototype.dialog),s.options),s.container=o.create.fromHTML('<div style="z-index:'+s.options.zIndex+'" class="jodit jodit_dialog_box"><div class="jodit_dialog_overlay"></div><div class="jodit_dialog"><div class="jodit_dialog_header non-selected"><div class="jodit_dialog_header-title"></div><div class="jodit_dialog_header-toolbar"></div></div><div class="jodit_dialog_content"></div><div class="jodit_dialog_footer"></div>'+(s.options.resizable?'<div class="jodit_dialog_resizer"></div>':"")+"</div></div>"),e&&e.id&&s.container.setAttribute("data-editor_id",e.id),Object.defineProperty(s.container,"__jodit_dialog",{value:s}),s.dialog=s.container.querySelector(".jodit_dialog"),s.resizer=s.container.querySelector(".jodit_dialog_resizer"),s.jodit&&s.jodit.options&&s.jodit.options.textIcons&&s.container.classList.add("jodit_text_icons"),s.dialogbox_header=s.container.querySelector(".jodit_dialog_header>.jodit_dialog_header-title"),s.dialogbox_content=s.container.querySelector(".jodit_dialog_content"),s.dialogbox_footer=s.container.querySelector(".jodit_dialog_footer"),s.dialogbox_toolbar=s.container.querySelector(".jodit_dialog_header>.jodit_dialog_header-toolbar"),s.destination.appendChild(s.container),s.container.addEventListener("close_dialog",s.close),s.toolbar=h.JoditToolbarCollection.makeCollection(s),s.toolbar.build(s.options.buttons,s.dialogbox_toolbar),s.events.on(o.window,"mousemove",s.onMouseMove).on(o.window,"mouseup",s.onMouseUp).on(o.window,"keydown",s.onKeyDown).on(o.window,"resize",s.onResize);var l=s.container.querySelector(".jodit_dialog_header");return l&&l.addEventListener("mousedown",s.onHeaderMouseDown.bind(s)),s.options.resizable&&s.resizer.addEventListener("mousedown",s.onResizerMouseDown.bind(s)),f.Jodit.plugins.fullsize(s),o}t.Dialog=p;var f=o(11),h=o(29)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(0),r=o(4),a=o(6);(n=t.Widget||(t.Widget={})).ColorPickerWidget=function(e,t,o){function n(e,t){e.innerHTML=a.ToolbarIcon.getIcon("eye"),e.classList.add("active");var o=r.hexToRgb(t);o&&(e.firstChild.style.fill="rgb("+(255-o.r)+","+(255-o.g)+","+(255-o.b)+")")}var s=r.normalizeColor(o),l=e.create.div("jodit_colorpicker"),c=e.options.textIcons?"":a.ToolbarIcon.getIcon("eye"),d=e.options.textIcons?"<span>"+e.i18n("eraser")+"</span>":a.ToolbarIcon.getIcon("eraser"),p=e.options.textIcons?"<span>"+e.i18n("palette")+"</span>":a.ToolbarIcon.getIcon("palette"),u=function(e){var t=[];return r.isPlainObject(e)?Object.keys(e).forEach((function(o){t.push('<div class="jodit_colorpicker_group jodit_colorpicker_group-'+o+'">'),t.push(u(e[o])),t.push("</div>")})):Array.isArray(e)&&e.forEach((function(e){t.push("<a "+(s===e?' class="active" ':"")+' title="'+e+'" style="background-color:'+e+'" data-color="'+e+'" href="javascript:void(0)">'+(s===e?c:"")+"</a>")})),t.join("")};return l.appendChild(e.create.fromHTML("<div>"+u(e.options.colors)+"</div>")),l.appendChild(e.create.fromHTML("<a "+(e.options.textIcons?'class="jodit_text_icon"':"")+' data-color="" href="javascript:void(0)">'+d+"</a>")),e.options.showBrowserColorPicker&&r.hasBrowserColorPicker()&&(l.appendChild(e.create.fromHTML("<span><em "+(e.options.textIcons?'class="jodit_text_icon"':"")+">"+p+'</em><input type="color" value=""/></span>')),e.events.on(l,"change",(function(e){e.stopPropagation();var o=e.target;if(o&&o.tagName&&"INPUT"==o.tagName.toUpperCase()){var i=o.value||"";i&&n(o,i),t&&"function"==typeof t&&t(i),e.preventDefault()}}))),e.events.on(l,"mousedown touchend",(function(o){o.stopPropagation();var r=o.target;if(r&&r.tagName&&"SVG"!=r.tagName.toUpperCase()&&"PATH"!=r.tagName.toUpperCase()||!r.parentNode||(r=i.Dom.closest(r.parentNode,"A",e.editor)),"A"==r.tagName.toUpperCase()){var a=l.querySelector("a.active");a&&(a.classList.remove("active"),a.innerHTML="");var s=r.getAttribute("data-color")||"";s&&n(r,s),t&&"function"==typeof t&&t(s),o.preventDefault()}})),l},n.TabsWidget=function(e,t,o){var n=e.create.div("jodit_tabs"),i=e.create.div("jodit_tabs_wrapper"),a=e.create.div("jodit_tabs_buttons"),s={},l="",c=0;return n.appendChild(a),n.appendChild(i),r.each(t,(function(t,n){var d=e.create.div("jodit_tab"),p=e.create.element("a",{href:"javascript:void(0);"});l=l||""+t,p.innerHTML=/<svg/.test(""+t)?t:e.i18n(""+t),a.appendChild(p),d.appendChild("function"!=typeof n?n:e.create.div("jodit_tab_empty")),i.appendChild(d),e.events.on(p,"mousedown touchend",(function(s){return r.$$("a",a).forEach((function(e){e.classList.remove("active")})),r.$$(".jodit_tab",i).forEach((function(e){e.classList.remove("active")})),p.classList.add("active"),d.classList.add("active"),"function"==typeof n&&n.call(e),s.stopPropagation(),o&&(o.__activeTab=""+t),!1})),s[t]={button:p,tab:d},c+=1})),c&&(r.$$("a",a).forEach((function(e){e.style.width=(100/c).toFixed(10)+"%"})),o&&o.__activeTab&&s[o.__activeTab]?(s[o.__activeTab].button.classList.add("active"),s[o.__activeTab].tab.classList.add("active")):(s[l].button.classList.add("active"),s[l].tab.classList.add("active"))),n},n.FileSelectorWidget=function(e,t,o,i,s){var l;void 0===s&&(s=!0);var c={};if(t.upload&&e.options.uploader&&(e.options.uploader.url||e.options.uploader.insertImageAsBase64URI)){var d=e.create.fromHTML('<div class="jodit_draganddrop_file_box"><strong>'+e.i18n(s?"Drop image":"Drop file")+"</strong><span><br>"+e.i18n("or click")+'</span><input type="file" accept="'+(s?"image/*":"*")+'" tabindex="-1" dir="auto" multiple=""/></div>');e.getInstance("Uploader").bind(d,(function(o){var n=e.options.uploader.defaultHandlerSuccess||t.upload;"function"==typeof n&&n.call(e,{baseurl:o.baseurl,files:o.files})}),(function(t){e.events.fire("errorMessage",t.message)})),c[(e.options.textIcons?"":a.ToolbarIcon.getIcon("upload"))+e.i18n("Upload")]=d}if(t.filebrowser&&(e.options.filebrowser.ajax.url||e.options.filebrowser.items.url)&&(c[(e.options.textIcons?"":a.ToolbarIcon.getIcon("folder"))+e.i18n("Browse")]=function(){i&&i(),t.filebrowser&&e.getInstance("FileBrowser").open(t.filebrowser,s)}),t.url){var p=e.create.fromHTML('<form onsubmit="return false;" class="jodit_form"><input type="text" required name="url" placeholder="http://"/><input type="text" name="text" placeholder="'+e.i18n("Alternative text")+'"/><div style="text-align: right"><button>'+e.i18n("Insert")+"</button></div></form>"),u=p.querySelector("button"),f=p.querySelector("input[name=url]");l=null,o&&o.nodeType!==Node.TEXT_NODE&&("IMG"===o.tagName||r.$$("img",o).length)&&(l="IMG"===o.tagName?o:r.$$("img",o)[0],r.val(p,"input[name=url]",l.getAttribute("src")),r.val(p,"input[name=text]",l.getAttribute("alt")),u.textContent=e.i18n("Update")),o&&o.nodeType!==Node.TEXT_NODE&&"A"===o.nodeName&&(r.val(p,"input[name=url]",o.getAttribute("href")||""),r.val(p,"input[name=text]",o.getAttribute("title")||""),u.textContent=e.i18n("Update")),p.addEventListener("submit",(function(o){return o.preventDefault(),o.stopPropagation(),r.val(p,"input[name=url]")?"function"==typeof t.url&&t.url.call(e,r.val(p,"input[name=url]"),r.val(p,"input[name=text]")):(f.focus(),f.classList.add("jodit_error")),!1}),!1),c[(e.options.textIcons?"":a.ToolbarIcon.getIcon("link"))+" URL"]=p}return n.TabsWidget(e,c)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setTimeout=function(e,t,o,n,i){return t?window.setTimeout.call(window,e,t,o,n,i):(e.call(null,o,n,i),0)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(94),t),n.__exportStar(o(95),t),n.__exportStar(o(96),t),n.__exportStar(o(97),t),n.__exportStar(o(98),t),n.__exportStar(o(99),t),n.__exportStar(o(100),t),n.__exportStar(o(49),t),n.__exportStar(o(101),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(38),a=o(0),s=o(10),l=o(2),c=o(15),d=(i.__extends(p,n=r.ToolbarCollection),p.prototype.buttonIsActive=function(e){var t=this,o=n.prototype.buttonIsActive.call(this,e);if(void 0!==o)return o;var i,r,s=!!this.jodit.selection&&this.jodit.selection.current();return!(!s||!((e.control.tags||e.control.options&&e.control.options.tags)&&(i=e.control.tags||e.control.options&&e.control.options.tags,a.Dom.up(s,(function(e){if(e&&~i.indexOf(e.nodeName.toLowerCase()))return!0}),this.jodit.editor))||(e.control.css||e.control.options&&e.control.options.css)&&(r=e.control.css||e.control.options&&e.control.options.css,a.Dom.up(s,(function(e){if(e&&e.nodeType!==Node.TEXT_NODE)return t.checkActiveStatus(r,e)}),this.jodit.editor))))},p.prototype.buttonIsDisabled=function(e){var t=n.prototype.buttonIsDisabled.call(this,e);if(void 0!==t)return t;var o=void 0===e.control||void 0===e.control.mode?l.MODE_WYSIWYG:e.control.mode;return!(o===l.MODE_SPLIT||o===this.jodit.getRealMode())},p.prototype.getTarget=function(e){return e.target||this.jodit.selection.current()||void 0},p.makeCollection=function(e){var t=c.isJoditObject(e)?new p(e):new r.ToolbarCollection(e);return e.options.textIcons&&t.container.classList.add("jodit_text_icons"),t},p);function p(){var e=null!==n&&n.apply(this,arguments)||this;return e.checkActiveStatus=function(t,o){var n=0,i=0;return Object.keys(t).forEach((function(r){var a=t[r];"function"==typeof a?a(e.jodit,""+s.css(o,r))&&(n+=1):~a.indexOf(""+s.css(o,r))&&(n+=1),i+=1})),i===n},e}t.JoditToolbarCollection=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(44),i=o(34);t.isPlainObject=function(e){return!("object"!=typeof e||e.nodeType||n.isWindow(e)||e.constructor&&!i.hasOwn.call(e.constructor.prototype,"isPrototypeOf"))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=function(e){if("string"==typeof e){if(!e.match(/^([+\-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return!isNaN(e)&&isFinite(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(102),t),n.__exportStar(o(103),t),n.__exportStar(o(104),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.each=function(e,t){var o,n,i;if(Array.isArray(e)){for(o=e.length,i=0;i<o;i+=1)if(!1===t.call(e[i],i,e[i]))return!1}else for(n=Object.keys(e),i=0;i<n.length;i+=1)if(!1===t.call(e[n[i]],n[i],e[n[i]]))return!1;return!0}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(9),i=o(60),r=o(61);t.StorageKey="Jodit_";var a=(s.prototype.set=function(e,t){this.provider.set(n.camelCase(this.prefix+e),t)},s.prototype.get=function(e){return this.provider.get(n.camelCase(this.prefix+e))},s.prototype.exists=function(e){return this.provider.exists(n.camelCase(this.prefix+e))},s.prototype.clear=function(){return this.provider.clear()},s.makeStorage=function(e,o){var n;return void 0===e&&(e=!1),e&&i.canUsePersistentStorage()&&(n=new i.LocalStorageProvider(t.StorageKey+o)),new s(n=n||new r.MemoryStorageProvider,o)},s);function s(e,o){this.provider=e,this.prefix=t.StorageKey,o&&(this.prefix+=o)}t.Storage=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(8),a=o(38),s=o(6),l=o(0),c=o(9),d=(i.__extends(p,n=r.Component),p.prototype.focus=function(){this.container.focus()},p.prototype.destruct=function(){this.isDestructed||(l.Dom.safeRemove(this.container),this.parentToolbar=void 0,n.prototype.destruct.call(this))},p.prototype.createIcon=function(e,t){var o=t?t.icon||t.name:e;if(this.jodit.options.textIcons)return this.jodit.create.fromHTML('<span class="jodit_icon">'+this.jodit.i18n(t?t.name:e)+"</span>");var n=this.jodit.events.fire("getIcon",o,t,e),i=void 0;return t&&t.iconURL&&void 0===n?(i=this.jodit.create.element("i")).style.backgroundImage="url("+t.iconURL+")":(void 0===n&&(n=s.ToolbarIcon.exists(o)?s.ToolbarIcon.getIcon(o):s.ToolbarIcon.getIcon("empty")),i="string"==typeof n?this.jodit.create.fromHTML(c.trim(n)):n),i.classList.add("jodit_icon","jodit_icon_"+e),i},p);function p(e,t,o){void 0===t&&(t="li"),void 0===o&&(o="jodit_toolbar_btn");var i=this;return e instanceof a.ToolbarCollection?(i=n.call(this,e.jodit)||this).parentToolbar=e:i=n.call(this,e)||this,i.container=i.jodit.create.element(t),i.container.classList.add(o),i}t.ToolbarElement=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(0),a=o(4),s=o(26),l=o(117),c=o(28),d=o(118),p=o(15),u=o(2),f=o(6),h=(i.__extends(g,n=s.ToolbarElement),Object.defineProperty(g.prototype,"disable",{get:function(){return this.__disabled},set:function(e){this.__disabled=e,this.container.classList.toggle("jodit_disabled",e),e?this.container.hasAttribute("disabled")||this.container.setAttribute("disabled","disabled"):this.container.hasAttribute("disabled")&&this.container.removeAttribute("disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"active",{get:function(){return this.__actived},set:function(e){this.__actived=e,this.container.classList.toggle("jodit_active",e)},enumerable:!0,configurable:!0}),g.prototype.isDisable=function(){return!(!this.parentToolbar||!this.parentToolbar.buttonIsDisabled(this))},g.prototype.isActive=function(){return!(!this.parentToolbar||!this.parentToolbar.buttonIsActive(this))},Object.defineProperty(g.prototype,"tooltipText",{get:function(){return this.control.tooltip?this.jodit.i18n(this.control.tooltip)+(this.control.hotkeys?"<br>"+a.asArray(this.control.hotkeys).join(" "):""):""},enumerable:!0,configurable:!0}),g.prototype.focus=function(){this.anchor.focus()},g.prototype.destruct=function(){this.isDestructed||(this.jodit&&this.jodit.events&&this.jodit.events.off(this.container),n.prototype.destruct.call(this),this.tooltip&&(this.tooltip.destruct(),delete this.tooltip))},g);function g(e,t,o){var i=n.call(this,e)||this;i.__disabled=!1,i.__actived=!1,i.onMouseDown=function(e){if("keydown"!==e.type||e.which===u.KEY_ENTER){if(e.stopImmediatePropagation(),e.preventDefault(),i.disable)return!1;var t=i.control,o=function(){return i.parentToolbar&&i.parentToolbar.getTarget(i)||i.target||!1};if(t.list){var n=new l.PopupList(i.jodit,i.container,i.target);n.open(t),i.jodit.events.fire("closeAllPopups",n.container),i.anchor.setAttribute("aria-expanded","true"),i.jodit.events.on(n,"afterClose",(function(){i.anchor.setAttribute("aria-expanded","false")}))}else if(void 0!==t.exec&&"function"==typeof t.exec)t.exec(i.jodit,o(),t,e,i.container),i.jodit.events.fire("synchro"),i.parentToolbar&&i.parentToolbar.immedateCheckActiveButtons(),i.jodit.events.fire("closeAllPopups afterExec");else if(void 0!==t.popup&&"function"==typeof t.popup){var r=new c.Popup(i.jodit,i.container,i.target);if(!1!==i.jodit.events.fire(a.camelCase("before-"+t.name+"-OpenPopup"),o(),t,r)){var s=t.popup(i.jodit,o(),t,r.close,i);s&&r.open(s)}i.jodit.events.fire(a.camelCase("after-"+t.name+"-OpenPopup")+" closeAllPopups",r.container)}else(t.command||t.name)&&(p.isJoditObject(i.jodit)?i.jodit.execCommand(t.command||t.name,t.args&&t.args[0]||!1,t.args&&t.args[1]||null):i.jodit.ownerDocument.execCommand(t.command||t.name,t.args&&t.args[0]||!1,t.args&&t.args[1]||null),i.jodit.events.fire("closeAllPopups"))}},i.control=t,i.target=o,i.anchor=i.jodit.create.element("a",{role:"button",href:"javascript:void(0)"});var s="-1";i.jodit.options.allowTabNavigation&&(s="0"),i.anchor.setAttribute("tabindex",s),i.container.appendChild(i.anchor),i.jodit.options.showTooltip&&t.tooltip&&(i.jodit.options.useNativeTooltip?i.anchor.setAttribute("title",i.tooltipText):i.tooltip=new d.ToolbarTooltip(i),i.anchor.setAttribute("aria-label",i.tooltipText)),i.textBox=i.jodit.create.span(),i.anchor.appendChild(i.textBox);var h=t.name.replace(/[^a-zA-Z0-9]/g,"_");if(t.getContent&&"function"==typeof t.getContent){r.Dom.detach(i.container);var g=t.getContent(i.jodit,t,i);i.container.appendChild("string"==typeof g?i.jodit.create.fromHTML(g):g)}else{if(t.list&&i.anchor){var m=i.jodit.create.fromHTML(f.ToolbarIcon.getIcon("dropdown-arrow"));m.classList.add("jodit_with_dropdownlist-trigger"),i.container.classList.add("jodit_with_dropdownlist"),i.anchor.appendChild(m)}i.textBox.appendChild(i.createIcon(h,t))}if(i.container.classList.add("jodit_toolbar_btn-"+h),i.jodit.options.direction){var v=i.jodit.options.direction.toLowerCase();i.container.style.direction="rtl"==v?"rtl":"ltr"}return t.isInput?i.container.classList.add("jodit_toolbar-input"):i.jodit.events.on(i.container,"mousedown touchend keydown",i.onMouseDown).on("click-"+h+"-btn",i.onMouseDown),i}t.ToolbarButton=h},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(0),a=o(4),s=o(8),l=(i.__extends(c,n=s.Component),c.prototype.calcPosition=function(){if(this.isOpened&&!this.isDestructed){var e=this.container,t=a.offset(this.jodit.container,this.jodit,this.jodit.ownerDocument,!0),o=a.offset(e,this.jodit,this.jodit.ownerDocument,!0),n=a.css(e,"marginLeft")||0;o.left-=n;var i=n,r="auto";if(i=o.left<t.left?t.left-o.left:o.left+o.width<t.left+t.width?0:-(o.left+o.width-(t.left+t.width)),o.width<t.width||(i=t.left-o.left,r=t.width),i!==n)try{e.style.setProperty("margin-left",i+"px","important")}catch(t){e.style.marginLeft=i+"px"}var s=e.querySelector(".jodit_popup_triangle");s&&(s.style.marginLeft=-i+"px"),a.css(e,"width",r)}},c.prototype.doOpen=function(e){e&&(r.Dom.detach(this.container),this.container.innerHTML='<span class="jodit_popup_triangle"></span>',this.container.appendChild(r.Dom.isNode(e,this.jodit.ownerWindow)?e:this.jodit.create.fromHTML(""+e)),this.container.style.display="block",this.container.style.removeProperty("marginLeft"))},c.prototype.doClose=function(){},c.prototype.open=function(e,t,o){void 0===o&&(o=!1),d.Jodit.fireEach("beforeOpenPopup closeAllPopups",this,e),o||this.jodit.events.on("closeAllPopups",this.close),this.container.classList.add(this.className+"-open"),this.doOpen(e),this.target.appendChild(this.container),this.jodit.options.textIcons&&this.firstInFocus(),void 0!==t&&this.container.classList.toggle("jodit_right",t),!o&&this.container.parentNode&&this.jodit.events.fire(this.container.parentNode,"afterOpenPopup",this.container),this.isOpened=!0,o||this.calcPosition()},c.prototype.firstInFocus=function(){},c.prototype.destruct=function(){this.isDestructed||(this.jodit.events.off([this.jodit.ownerWindow,this.jodit.events],"resize",this.throttleCalcPosition),r.Dom.safeRemove(this.container),delete this.container,n.prototype.destruct.call(this))},c);function c(e,t,o,i){void 0===i&&(i="jodit_toolbar_popup");var s=n.call(this,e)||this;return s.target=t,s.current=o,s.className=i,s.throttleCalcPosition=a.throttle(s.calcPosition,s.jodit.defaultTimeout),s.isOpened=!1,s.close=function(e){(s.isOpened||s.isDestructed)&&(e&&r.Dom.isOrContains(s.container,e instanceof c?e.target:e)||(s.isOpened=!1,s.jodit.events.off("closeAllPopups",s.close),s.doClose(),r.Dom.safeRemove(s.container),s.jodit.events.fire("removeMarkers"),s.jodit.events.fire(s,"afterClose")))},s.container=s.jodit.create.div(i,{"data-editor_id":e.id}),s.jodit.events.on(s.container,"mousedown touchstart touchend",(function(e){e.stopPropagation()})).on([s.jodit.ownerWindow,s.jodit.events],"resize",s.throttleCalcPosition),s}t.Popup=l;var d=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(39);t.Ajax=n.Ajax;var i=o(64);t.EventsNative=i.EventsNative;var r=o(8);t.Component=r.Component;var a=o(40);t.ContextMenu=a.ContextMenu;var s=o(13);t.Alert=s.Alert,t.Confirm=s.Confirm,t.Promt=s.Promt,t.Dialog=s.Dialog;var l=o(0);t.Dom=l.Dom;var c=o(7);t.Plugin=c.Plugin;var d=o(65);t.Create=d.Create;var p=o(139);t.FileBrowser=p.FileBrowser;var u=o(4);t.Helpers=u;var f=o(146);t.ImageEditor=f.ImageEditor;var h=o(56);t.Observer=h.Observer;var g=o(59);t.Select=g.Select;var m=o(25);t.Storage=m.Storage;var v=o(57);t.Snapshot=v.Snapshot;var b=o(30);t.Table=b.Table;var y=o(6);t.ToolbarIcon=y.ToolbarIcon;var x=o(20);t.JoditToolbarCollection=x.JoditToolbarCollection;var _=o(38);t.ToolbarCollection=_.ToolbarCollection;var w=o(27);t.ToolbarButton=w.ToolbarButton;var k=o(58);t.Stack=k.Stack;var j=o(17);t.Widget=j.Widget;var C=o(147);t.Uploader=C.Uploader},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(0),r=o(4),a=(s.addSelected=function(e){e.setAttribute(n.JODIT_SELECTED_CELL_MARKER,"1")},s.restoreSelection=function(e){e.removeAttribute(n.JODIT_SELECTED_CELL_MARKER)},s.getAllSelectedCells=function(e){return e?r.$$("td["+n.JODIT_SELECTED_CELL_MARKER+"],th["+n.JODIT_SELECTED_CELL_MARKER+"]",e):[]},s.getRowsCount=function(e){return e.rows.length},s.getColumnsCount=function(e){return s.formalMatrix(e).reduce((function(e,t){return Math.max(e,t.length)}),0)},s.formalMatrix=function(e,t){for(var o=[[]],n=Array.prototype.slice.call(e.rows),i=function(e,n){void 0===o[n]&&(o[n]=[]);for(var i,r,a=e.colSpan,s=e.rowSpan,l=0;o[n][l];)l+=1;for(r=0;r<s;r+=1)for(i=0;i<a;i+=1){if(void 0===o[n+r]&&(o[n+r]=[]),t&&!1===t(e,n+r,l+i,a,s))return!1;o[n+r][l+i]=e}},r=0,a=void 0;r<n.length;r+=1){var s=Array.prototype.slice.call(n[r].cells);for(a=0;a<s.length;a+=1)if(!1===i(s[a],r))return o}return o},s.formalCoordinate=function(e,t,o){void 0===o&&(o=!1);var n=0,i=0,r=1,a=1;return s.formalMatrix(e,(function(e,s,l,c,d){if(t===e)return n=s,i=l,r=c||1,a=d||1,o&&(i+=(c||1)-1,n+=(d||1)-1),!1})),[n,i,r,a]},s.appendRow=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!0);for(var n=e.ownerDocument||document,i=s.getColumnsCount(e),a=n.createElement("tr"),l=0;l<i;l+=1)a.appendChild(n.createElement("td"));o&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(a,t.nextSibling):!o&&t?t.parentNode&&t.parentNode.insertBefore(a,t):(r.$$(":scope>tbody",e)[0]||e).appendChild(a)},s.removeRow=function(e,t){var o,n=s.formalMatrix(e),a=e.rows[t];r.each(n[t],(function(r,s){if(o=!1,t-1<0||n[t-1][r]!==s)if(n[t+1]&&n[t+1][r]===s){if(s.parentNode===a&&s.parentNode.nextSibling){o=!0;for(var l=r+1;n[t+1][l]===s;)l+=1;var c=i.Dom.next(s.parentNode,(function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&"TR"===e.nodeName}),e);n[t+1][l]?c.insertBefore(s,n[t+1][l]):c.appendChild(s)}}else i.Dom.safeRemove(s);else o=!0;if(o&&(s.parentNode===a||s!==n[t][r-1])){var d=s.rowSpan;1<d-1?s.setAttribute("rowspan",""+(d-1)):s.removeAttribute("rowspan")}})),i.Dom.safeRemove(a)},s.appendColumn=function(e,t,o){void 0===o&&(o=!0);var n,i=s.formalMatrix(e);for(void 0===t&&(t=s.getColumnsCount(e)-1),n=0;n<i.length;n+=1){var r=(e.ownerDocument||document).createElement("td"),a=i[n][t],l=!1;o?(i[n]&&a&&i[n].length<=t+1||a!==i[n][t+1])&&(a.nextSibling?a.parentNode&&a.parentNode.insertBefore(r,a.nextSibling):a.parentNode&&a.parentNode.appendChild(r),l=!0):(t-1<0||i[n][t]!==i[n][t-1]&&i[n][t].parentNode)&&(a.parentNode&&a.parentNode.insertBefore(r,i[n][t]),l=!0),l||i[n][t].setAttribute("colspan",""+(parseInt(i[n][t].getAttribute("colspan")||"1",10)+1))}},s.removeColumn=function(e,t){var o,n=s.formalMatrix(e);r.each(n,(function(e,r){var a=r[t];if(o=!1,t-1<0||n[e][t-1]!==a?t+1<r.length&&n[e][t+1]===a?o=!0:i.Dom.safeRemove(a):o=!0,o&&(e-1<0||a!==n[e-1][t])){var s=a.colSpan;1<s-1?a.setAttribute("colspan",""+(s-1)):a.removeAttribute("colspan")}}))},s.getSelectedBound=function(e,t){var o,n,i,r=[[1/0,1/0],[0,0]],a=s.formalMatrix(e);for(o=0;o<a.length;o+=1)for(n=0;n<a[o].length;n+=1)~t.indexOf(a[o][n])&&(r[0][0]=Math.min(o,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(o,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(o=r[0][0];o<=r[1][0];o+=1)for(n=r[0][i=1];n<=r[1][1];n+=1){for(;a[o][n-i]&&a[o][n]===a[o][n-i];)r[0][1]=Math.min(n-i,r[0][1]),r[1][1]=Math.max(n-i,r[1][1]),i+=1;for(i=1;a[o][n+i]&&a[o][n]===a[o][n+i];)r[0][1]=Math.min(n+i,r[0][1]),r[1][1]=Math.max(n+i,r[1][1]),i+=1;for(i=1;a[o-i]&&a[o][n]===a[o-i][n];)r[0][0]=Math.min(o-i,r[0][0]),r[1][0]=Math.max(o-i,r[1][0]),i+=1;for(i=1;a[o+i]&&a[o][n]===a[o+i][n];)r[0][0]=Math.min(o+i,r[0][0]),r[1][0]=Math.max(o+i,r[1][0]),i+=1}return r},s.normalizeTable=function(e){var t,o,n,i,r=[],a=s.formalMatrix(e);for(o=0;o<a[0].length;o+=1){for(i=!(n=1e6),t=0;t<a.length;t+=1)if(void 0!==a[t][o]){if(a[t][o].colSpan<2){i=!0;break}n=Math.min(n,a[t][o].colSpan)}if(!i)for(t=0;t<a.length;t+=1)void 0!==a[t][o]&&s.__mark(a[t][o],"colspan",a[t][o].colSpan-n+1,r)}for(t=0;t<a.length;t+=1){for(i=!(n=1e6),o=0;o<a[t].length;o+=1)if(void 0!==a[t][o]){if(a[t][o].rowSpan<2){i=!0;break}n=Math.min(n,a[t][o].rowSpan)}if(!i)for(o=0;o<a[t].length;o+=1)void 0!==a[t][o]&&s.__mark(a[t][o],"rowspan",a[t][o].rowSpan-n+1,r)}for(t=0;t<a.length;t+=1)for(o=0;o<a[t].length;o+=1)void 0!==a[t][o]&&(a[t][o].hasAttribute("rowspan")&&1===a[t][o].rowSpan&&a[t][o].removeAttribute("rowspan"),a[t][o].hasAttribute("colspan")&&1===a[t][o].colSpan&&a[t][o].removeAttribute("colspan"),a[t][o].hasAttribute("class")&&!a[t][o].getAttribute("class")&&a[t][o].removeAttribute("class"));s.__unmark(r)},s.mergeSelected=function(e){var t,o=[],a=s.getSelectedBound(e,s.getAllSelectedCells(e)),l=0,c=null,d=0,p=0,u=0,f=[];a&&(a[0][0]-a[1][0]||a[0][1]-a[1][1])&&(s.formalMatrix(e,(function(e,n,i,h,g){if(!(n<a[0][0]||a[1][0]<n||i<a[0][1]||a[1][1]<i)){if((t=e).__i_am_already_was)return;t.__i_am_already_was=!0,n===a[0][0]&&t.style.width&&(l+=t.offsetWidth),r.trim(e.innerHTML.replace(/<br(\/)?>/g,""))&&o.push(e.innerHTML),1<h&&(p+=h-1),1<g&&(u+=g-1),c?s.__mark(t,"remove",1,f):(c=e,d=i)}})),p=a[1][1]-a[0][1]+1,u=a[1][0]-a[0][0]+1,c&&(1<p&&s.__mark(c,"colspan",p,f),1<u&&s.__mark(c,"rowspan",u,f),l&&(s.__mark(c,"width",(l/e.offsetWidth*100).toFixed(n.ACCURACY)+"%",f),d&&s.setColumnWidthByDelta(e,d,0,!0,f)),c.innerHTML=o.join("<br/>"),delete c.__i_am_already_was,s.__unmark(f),s.normalizeTable(e),r.each(Array.from(e.rows),(function(e,t){t.cells.length||i.Dom.safeRemove(t)}))))},s.splitHorizontal=function(e){var t,o,n,r,a,l=[],c=e.ownerDocument||document;s.getAllSelectedCells(e).forEach((function(d){(o=c.createElement("td")).appendChild(c.createElement("br")),n=c.createElement("tr"),t=s.formalCoordinate(e,d),d.rowSpan<2?(s.formalMatrix(e,(function(e,o,n){t[0]===o&&t[1]!==n&&e!==d&&s.__mark(e,"rowspan",e.rowSpan+1,l)})),i.Dom.after(i.Dom.closest(d,"tr",e),n),n.appendChild(o)):(s.__mark(d,"rowspan",d.rowSpan-1,l),s.formalMatrix(e,(function(o,n,i){t[0]<n&&n<t[0]+d.rowSpan&&i<t[1]&&o.parentNode.rowIndex===n&&(a=o),t[0]<n&&o===d&&(r=e.rows[n])})),a?i.Dom.after(a,o):r.insertBefore(o,r.firstChild)),1<d.colSpan&&s.__mark(o,"colspan",d.colSpan,l),s.__unmark(l),s.restoreSelection(d)})),this.normalizeTable(e)},s.splitVertical=function(e){var t,o,r,a=[],l=e.ownerDocument||document;s.getAllSelectedCells(e).forEach((function(c){t=s.formalCoordinate(e,c),c.colSpan<2?s.formalMatrix(e,(function(e,o,n){t[1]===n&&t[0]!==o&&e!==c&&s.__mark(e,"colspan",e.colSpan+1,a)})):s.__mark(c,"colspan",c.colSpan-1,a),(o=l.createElement("td")).appendChild(l.createElement("br")),1<c.rowSpan&&s.__mark(o,"rowspan",c.rowSpan,a);var d=c.offsetWidth;i.Dom.after(c,o),s.__mark(c,"width",(100*(r=d/e.offsetWidth/2)).toFixed(n.ACCURACY)+"%",a),s.__mark(o,"width",(100*r).toFixed(n.ACCURACY)+"%",a),s.__unmark(a),s.restoreSelection(c)})),s.normalizeTable(e)},s.setColumnWidthByDelta=function(e,t,o,i,r){var a,l=s.formalMatrix(e);for(a=0;a<l.length;a+=1)s.__mark(l[a][t],"width",((l[a][t].offsetWidth+o)/e.offsetWidth*100).toFixed(n.ACCURACY)+"%",r);i||s.__unmark(r)},s.__mark=function(e,t,o,n){n.push(e),e.__marked_value||(e.__marked_value={}),e.__marked_value[t]=void 0===o?1:o},s.__unmark=function(e){e.forEach((function(e){e.__marked_value&&(r.each(e.__marked_value,(function(t,o){switch(t){case"remove":i.Dom.safeRemove(e);break;case"rowspan":1<o?e.setAttribute("rowspan",""+o):e.removeAttribute("rowspan");break;case"colspan":1<o?e.setAttribute("colspan",""+o):e.removeAttribute("colspan");break;case"width":e.style.width=""+o}delete e.__marked_value[t]})),delete e.__marked_value)}))},s);function s(){}t.Table=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(42);t.asArray=n.asArray;var i=o(78);t.inArray=i.inArray;var r=o(79);t.splitArray=r.splitArray},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(14);t.JoditObject=function(e){n.extend(!0,this,e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(14),i=(r.prototype.toString=function(){for(var e=[],t=0;t<this.length;t+=1)e[t]=this[t];return""+e},r);function r(e){var t=this;n.extend(!(this.length=0),this,e),this.length=e.length;var o=Array.prototype;["map","forEach","reduce","push","pop","shift","unshift","slice","splice"].forEach((function(e){t[e]=o[e]}))}t.JoditArray=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={},i=n.toString;t.hasOwn=n.hasOwnProperty,["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error","Symbol","HTMLDocument","Window","HTMLElement","HTMLBodyElement","Text","DocumentFragment","DOMStringList","HTMLCollection"].forEach((function(e){n["[object "+e+"]"]=e.toLowerCase()})),t.type=function(e){return null===e?"null":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(81),t),n.__exportStar(o(82),t),n.__exportStar(o(83),t),n.__exportStar(o(84),t),n.__exportStar(o(22),t),n.__exportStar(o(21),t),n.__exportStar(o(45),t),n.__exportStar(o(44),t),n.__exportStar(o(85),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(88),t),n.__exportStar(o(89),t),n.__exportStar(o(91),t),n.__exportStar(o(92),t),n.__exportStar(o(93),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2);t.trim=function(e){return e.replace(n.SPACE_REG_EXP_START,"").replace(n.SPACE_REG_EXP_END,"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(5),a=o(116),s=o(27),l=o(119),c=o(0),d=o(8),p=o(3),u=(i.__extends(f,n=d.Component),f.prototype.getButtonsList=function(){return this.__buttons.map((function(e){return e instanceof s.ToolbarButton?e.control.name:""})).filter((function(e){return""!==e}))},f.prototype.appendChild=function(e){this.__buttons.push(e),this.container.appendChild(e.container)},Object.defineProperty(f.prototype,"firstButton",{get:function(){return this.__buttons[0]},enumerable:!0,configurable:!0}),f.prototype.removeChild=function(e){var t=this.__buttons.indexOf(e);-1!=t&&(this.__buttons.splice(t,1),e.container.parentNode===this.container&&c.Dom.safeRemove(e.container))},f.prototype.build=function(e,t,o){var n=this,i=!1;this.clear(),("string"==typeof e?e.split(/[,\s]+/):e).map(this.__getControlType).forEach((function(e){var t=null;if(!~n.jodit.options.removeButtons.indexOf(e.name)){switch(e.name){case"\n":t=new a.ToolbarBreak(n);break;case"|":i||(i=!0,t=new l.ToolbarSeparator(n));break;default:i=!1,t=new s.ToolbarButton(n,e,o)}t&&n.appendChild(t)}})),this.container.parentNode!==t&&t.appendChild(this.container),this.immedateCheckActiveButtons()},f.prototype.clear=function(){var e=this;i.__spreadArrays(this.__buttons).forEach((function(t){e.removeChild(t),t.destruct()})),this.__buttons.length=0},f.prototype.buttonIsActive=function(e){if("function"==typeof e.control.isActive)return e.control.isActive(this.jodit,e.control,e)},f.prototype.buttonIsDisabled=function(e){return!!this.jodit.options.disabled||!(!this.jodit.options.readonly||this.jodit.options.activeButtonsInReadOnly&&~this.jodit.options.activeButtonsInReadOnly.indexOf(e.control.name))||("function"==typeof e.control.isDisable&&(t=e.control.isDisable(this.jodit,e.control,e)),t);var t},f.prototype.getTarget=function(e){return e.target},f.prototype.setDirection=function(e){this.container.style.direction=e,this.container.setAttribute("dir",e)},f.prototype.destruct=function(){this.isDestructed||(this.jodit.events.off(this.jodit.ownerWindow,"mousedown touchstart",this.closeAll).off(this.listenEvents,this.checkActiveButtons).off("afterSetMode focus",this.immedateCheckActiveButtons),this.clear(),c.Dom.safeRemove(this.container),delete this.container,n.prototype.destruct.call(this))},f);function f(e){var t=n.call(this,e)||this;return t.__buttons=[],t.__getControlType=function(e){var o,n=t.jodit.options.controls||p.Config.defaultOptions.controls;if("string"!=typeof e)void 0!==n[(o=i.__assign({name:"empty"},e)).name]&&(o=i.__assign(i.__assign({},n[o.name]),o));else{var r=e.split(/\./),a=n;1<r.length&&void 0!==n[r[0]]&&(a=n[r[0]],e=r[1]),o=void 0!==a[e]?i.__assign({name:e},a[e]):{name:e,command:e,tooltip:e}}return o},t.closeAll=function(){t.jodit&&t.jodit.events&&t.jodit.events.fire("closeAllPopups")},t.initEvents=function(){t.jodit.events.on(t.jodit.ownerWindow,"mousedown touchend",t.closeAll).on(t.listenEvents,t.checkActiveButtons).on("afterSetMode focus",t.immedateCheckActiveButtons)},t.listenEvents="changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart",t.immedateCheckActiveButtons=function(){t.isDestructed||t.jodit.isLocked()||(t.__buttons.filter((function(e){return e instanceof s.ToolbarButton})).forEach((function(e){e.disable=e.isDisable(),e.disable||(e.active=e.isActive()),"function"==typeof e.control.getLabel&&e.control.getLabel(t.jodit,e.control,e)})),t.jodit.events&&t.jodit.events.fire("updateToolbar"))},t.checkActiveButtons=r.debounce(t.immedateCheckActiveButtons,t.jodit.defaultTimeout),t.container=t.jodit.create.element("ul"),t.container.classList.add("jodit_toolbar"),t.initEvents(),t}t.ToolbarCollection=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(4),a=o(55);i.Config.prototype.defaultAjaxOptions={dataType:"json",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}};var s=(l.prototype.__buildParams=function(e,t){return this.options.queryBuild&&"function"==typeof this.options.queryBuild?this.options.queryBuild.call(this,e,t):"string"==typeof e||this.jodit.ownerWindow.FormData&&e instanceof this.jodit.ownerWindow.FormData?e:a.buildQuery(e)},l.prototype.abort=function(){try{this.xhr.abort()}catch(e){}return this},l.prototype.send=function(){var e=this;return new Promise((function(t,o){function n(t){var o=null;if("json"===e.options.dataType&&(o=JSON.parse(t)),!o)throw Error("No JSON format");return o}e.xhr.onabort=function(){o(Error(e.xhr.statusText))},e.xhr.onerror=function(){o(Error(e.xhr.statusText))},e.xhr.ontimeout=function(){o(Error(e.xhr.statusText))},e.xhr.onload=function(){e.response=e.xhr.responseText,e.status=e.xhr.status,t.call(e.xhr,n(e.response)||{})},e.xhr.onreadystatechange=function(){if(e.xhr.readyState===XMLHttpRequest.DONE){var i=e.xhr.responseText;e.response=i,e.status=e.xhr.status,~e.success_response_codes.indexOf(e.xhr.status)?t.call(e.xhr,n(i)):o.call(e.xhr,Error(e.xhr.statusText||e.jodit.i18n("Connection error!")))}},e.xhr.withCredentials=e.options.withCredentials||!1;var i=e.prepareRequest(),a=i.data;e.xhr.open(i.method,i.url,!0),e.options.contentType&&e.xhr.setRequestHeader&&e.xhr.setRequestHeader("Content-type",e.options.contentType),e.options.headers&&e.xhr.setRequestHeader&&r.each(e.options.headers,(function(t,o){e.xhr.setRequestHeader(t,o)})),setTimeout((function(){e.xhr.send(a?e.__buildParams(a):void 0)}),0)}))},l.prototype.prepareRequest=function(){if(!this.options.url)throw Error("Need URL for AJAX request");var e=this.options.url,t=this.options.data,o=(this.options.method||"get").toLowerCase();if("get"==o&&t&&r.isPlainObject(t)){var i=e.indexOf("?");if(-1!=i){var s=r.parseQuery(e);e=e.substr(0,i)+"?"+a.buildQuery(n.__assign(n.__assign({},s),t))}else e+="?"+a.buildQuery(this.options.data)}var c={url:e,method:o,data:t};return l.log.splice(100),l.log.push(c),c},l.log=[],l);function l(e,t){var o=this;this.success_response_codes=[200,201,202],this.jodit=e,this.options=r.extend(!0,{},i.Config.prototype.defaultAjaxOptions,t),this.options.xhr&&(this.xhr=this.options.xhr()),e&&e.events&&e.events.on("beforeDestruct",(function(){o.abort()}))}t.Ajax=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(8),a=o(10),s=o(6),l=o(0),c=(i.__extends(d,n=r.Component),d.prototype.show=function(e,t,o,n){var i=this,r=this;Array.isArray(o)&&(n&&(this.context.style.zIndex=""+n),this.context.innerHTML="",o.forEach((function(e){if(e){var t=r.jodit.i18n(e.title||""),o=i.jodit.create.fromHTML('<a title="'+t+'" data-icon="'+e.icon+'"  href="javascript:void(0)">'+(e.icon?s.ToolbarIcon.getIcon(e.icon):"")+"<span></span></a>"),n=o.querySelector("span");o.addEventListener("click",(function(t){return e.exec&&e.exec.call(r,t),r.hide(),!1})),n.textContent=t,r.context.appendChild(o)}})),a.css(r.context,{left:e,top:t}),this.jodit.events.on(this.jodit.ownerWindow,"mouseup jodit_close_dialog",r.hide),this.context.classList.add("jodit_context_menu-show"))},d.prototype.destruct=function(){l.Dom.safeRemove(this.context),delete this.context,this.jodit.events.off(this.jodit.ownerWindow,"mouseup",this.hide),n.prototype.destruct.call(this)},d);function d(e){var t=n.call(this,e)||this;return t.hide=function(){t.context.classList.remove("jodit_context_menu-show"),t.jodit.ownerWindow.removeEventListener("mouseup",t.hide)},t.context=e.create.div("jodit_context_menu",{"data-editor_id":t.jodit.id}),e.ownerDocument.body.appendChild(t.context),t}t.ContextMenu=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.F_CLASS="jodit_filebrowser",t.ITEM_CLASS=t.F_CLASS+"_files_item",t.ICON_LOADER='<i class="jodit_icon-loader"></i>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=function(e){return Array.isArray(e)?e:[e]}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(18);t.debounce=function(e,t,o,i){3===arguments.length&&"boolean"!=typeof o&&(i=o,o=!1);var r=0;return function(){var a=arguments,s=i||this;(!o||r)&&t||e.apply(s,a),t&&(clearTimeout(r),r=n.setTimeout((function(){o||e.apply(s,a),r=0}),t))}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindow=function(e){return null!==e&&e===e.window}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=function(e){return/^(https?:\/\/)((([a-z\d]([a-z\d-]*[a-z\d])*)\.?)+[a-z]{2,}|((\d{1,3}\.){3}\d{1,3}))(\:\d+)?(\/[-a-z\d%_.~+]*)*(\?[;&a-z\d%_.~+=-]*)?(\#[-a-z\d_]*)?$/i.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!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,o,n,i=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!i)return"#000000";for(o=parseInt(i[2],10),n=parseInt(i[3],10),t=(parseInt(i[4],10)|n<<8|o<<16).toString(16).toUpperCase();t.length<6;)t="0"+t;return i[1]+"#"+t}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=function(e){return e.replace(/([-_])(.)/g,(function(e,t,o){return o.toUpperCase()}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCamelCase=function(e){return e.replace(/([A-Z]+)/g,(function(e,t){return"-"+t.toLowerCase()}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(22);t.normilizeCSSValue=function(e,t){switch(e.toLowerCase()){case"font-weight":switch((""+t).toLowerCase()){case"bold":return 700;case"normal":return 400;case"heavy":return 900}return n.isNumeric(t)?+t:t}return t}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(51);t.appendScript=function(e,t,o,i){void 0===o&&(o="");var r=i.createElement("script");return r.className=o,r.type="text/javascript",void 0!==t&&r.addEventListener("load",t),r.src=n.completeUrl(e),i.body.appendChild(r),{callback:t,element:r}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.completeUrl=function(e){return"file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseQuery=function(e){for(var t={},o=e.substr(1).split("&"),n=0;n<o.length;n+=1){var i=o[n].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1]||"")}return t}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ctrlKey=function(e){if("undefined"!=typeof navigator&&~navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultLanguage=function(e){return"auto"===e||void 0===e?document.documentElement&&document.documentElement.lang||navigator.language&&navigator.language.substr(0,2)||!!navigator.browserLanguage&&navigator.browserLanguage.substr(0,2)||"en":e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(35);t.buildQuery=function(e,o){var i=[],r=encodeURIComponent;for(var a in e)if(e.hasOwnProperty(a)){var s=o?o+"["+a+"]":a,l=e[a];i.push(n.isPlainObject(l)?t.buildQuery(l,s):r(s)+"="+r(l))}return i.join("&")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(8),a=o(5),s=o(57),l=o(58),c=o(111);i.Config.prototype.observer={timeout:100};var d,p=(n.__extends(u,d=r.Component),u.prototype.redo=function(){this.stack.redo()&&(this.__startValue=this.snapshot.make(),this.changeStack())},u.prototype.undo=function(){this.stack.undo()&&(this.__startValue=this.snapshot.make(),this.changeStack())},u.prototype.clear=function(){this.__startValue=this.snapshot.make(),this.stack.clear(),this.changeStack()},u.prototype.changeStack=function(){this.jodit&&!this.jodit.isDestructed&&this.jodit.events&&this.jodit.events.fire("changeStack")},u.prototype.destruct=function(){this.jodit.events&&this.jodit.events.off(".observer"),this.snapshot.destruct(),delete this.snapshot,delete this.stack,d.prototype.destruct.call(this)},u);function u(e){var t=d.call(this,e)||this;t.onChangeStack=function(){t.__newValue=t.snapshot.make(),s.Snapshot.equal(t.__newValue,t.__startValue)||(t.stack.push(new c.Command(t.__startValue,t.__newValue,t)),t.__startValue=t.__newValue,t.changeStack())},t.stack=new l.Stack,t.snapshot=new s.Snapshot(e);var o=a.debounce(t.onChangeStack,e.defaultTimeout);return e.events.on("afterInit.observer",(function(){t.isDestructed||(t.__startValue=t.snapshot.make(),e.events.on("changeSelection.observer selectionstart.observer selectionchange.observer mousedown.observer mouseup.observer keydown.observer keyup.observer",(function(){t.__startValue.html===t.jodit.getNativeEditorValue()&&(t.__startValue=t.snapshot.make())})).on("change.observer",(function(){t.snapshot.isBlocked||o()})))})),t}t.Observer=p},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(8),a=o(0),s=(i.__extends(l,n=r.Component),l.equal=function(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)},l.countNodesBeforeInParent=function(e){if(!e.parentNode)return 0;var t,o=e.parentNode.childNodes,n=0,i=null;for(t=0;t<o.length;t+=1){if(!i||o[t].nodeType===Node.TEXT_NODE&&""===o[t].textContent||i.nodeType===Node.TEXT_NODE&&o[t].nodeType===Node.TEXT_NODE||(n+=1),o[t]===e)return n;i=o[t]}return 0},l.strokeOffset=function(e,t){for(;e&&e.nodeType===Node.TEXT_NODE;)(e=e.previousSibling)&&e.nodeType===Node.TEXT_NODE&&null!==e.textContent&&(t+=e.textContent.length);return t},l.prototype.calcHierarchyLadder=function(e){var t=[];if(!e||!e.parentNode||!a.Dom.isOrContains(this.jodit.editor,e))return[];for(;e&&e!==this.jodit.editor;)e&&t.push(l.countNodesBeforeInParent(e)),e=e.parentNode;return t.reverse()},l.prototype.getElementByLadder=function(e){var t,o=this.jodit.editor;for(t=0;o&&t<e.length;t+=1)o=o.childNodes[e[t]];return o},l.prototype.make=function(){var e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.jodit.getNativeEditorValue();var t=this.jodit.selection.sel;if(t&&t.rangeCount){var o=t.getRangeAt(0),n=this.calcHierarchyLadder(o.startContainer),i=this.calcHierarchyLadder(o.endContainer),r=l.strokeOffset(o.startContainer,o.startOffset),a=l.strokeOffset(o.endContainer,o.endOffset);n.length||o.startContainer===this.jodit.editor||(r=0),i.length||o.endContainer===this.jodit.editor||(a=0),e.range={startContainer:n,startOffset:r,endContainer:i,endOffset:a}}return e},l.prototype.restore=function(e){this.isBlocked=!0,this.jodit.setEditorValue(e.html);try{if(e.range){var t=this.jodit.editorDocument.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.jodit.selection.selectRange(t)}}catch(e){}this.isBlocked=!1},l.prototype.destruct=function(){this.isBlocked=!1,n.prototype.destruct.call(this)},l);function l(){var e=null!==n&&n.apply(this,arguments)||this;return e.isBlocked=!1,e}t.Snapshot=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(i.prototype.clearRedo=function(){this.commands.length=this.stackPosition+1},i.prototype.clear=function(){this.commands.length=0,this.stackPosition=-1},i.prototype.push=function(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1},i.prototype.undo=function(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)},i.prototype.redo=function(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)},i.prototype.canUndo=function(){return 0<=this.stackPosition},i.prototype.canRedo=function(){return this.stackPosition<this.commands.length-1},i);function i(){this.commands=[],this.stackPosition=-1}t.Stack=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(2),r=o(0),a=o(10),s=o(19),l=o(12),c=o(35),d=o(24),p=o(9),u=(f.prototype.errorNode=function(e){if(!r.Dom.isNode(e,this.win))throw Error("Parameter node must be instance of Node")},Object.defineProperty(f.prototype,"area",{get:function(){return this.jodit.editor},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"win",{get:function(){return this.jodit.editorWindow},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"doc",{get:function(){return this.jodit.editorDocument},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"sel",{get:function(){return this.win.getSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"range",{get:function(){var e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()},enumerable:!0,configurable:!0}),f.prototype.createRange=function(){return this.doc.createRange()},f.prototype.remove=function(){var e=this.sel,t=this.current();if(e&&t)for(var o=0;o<e.rangeCount;o+=1)e.getRangeAt(o).deleteContents(),e.getRangeAt(o).collapse(!0)},f.prototype.insertCursorAtPoint=function(e,t){this.removeMarkers();try{var o=this.createRange();if(this.doc.caretPositionFromPoint){var n=this.doc.caretPositionFromPoint(e,t);o.setStart(n.offsetNode,n.offset)}else this.doc.caretRangeFromPoint&&(n=this.doc.caretRangeFromPoint(e,t),o.setStart(n.startContainer,n.startOffset));if(o){o.collapse(!0);var i=this.sel;i&&(i.removeAllRanges(),i.addRange(o))}else if(void 0!==this.doc.body.createTextRange){var r=this.doc.body.createTextRange();r.moveToPoint(e,t);var a=r.duplicate();a.moveToPoint(e,t),r.setEndPoint("EndToEnd",a),r.select()}return!0}catch(e){}return!1},f.prototype.removeMarkers=function(){l.$$("span[data-"+n.MARKER_CLASS+"]",this.area).forEach(r.Dom.safeRemove)},f.prototype.marker=function(e,t){void 0===e&&(e=!1);var o=null;t&&(o=t.cloneRange()).collapse(e);var i=this.jodit.create.inside.span();return i.id=n.MARKER_CLASS+"_"+ +new Date+"_"+(""+Math.random()).slice(2),i.style.lineHeight="0",i.style.display="none",i.setAttribute("data-"+n.MARKER_CLASS,e?"start":"end"),i.appendChild(this.jodit.create.inside.text(n.INVISIBLE_SPACE)),o&&r.Dom.isOrContains(this.area,e?o.startContainer:o.endContainer)&&o.insertNode(i),i},f.prototype.restore=function(e){var t=this;if(void 0===e&&(e=[]),Array.isArray(e)){var o=this.sel;o&&o.removeAllRanges(),e.forEach((function(e){var n=t.createRange(),i=t.area.querySelector("#"+e.endId),a=t.area.querySelector("#"+e.startId);if(a){if(e.collapsed||!i){var s=a.previousSibling;s&&s.nodeType===Node.TEXT_NODE?n.setStart(s,s.nodeValue?s.nodeValue.length:0):n.setStartBefore(a),r.Dom.safeRemove(a),n.collapse(!0)}else n.setStartAfter(a),r.Dom.safeRemove(a),n.setEndBefore(i),r.Dom.safeRemove(i);o&&o.addRange(n)}}))}},f.prototype.save=function(){var e=this.sel;if(!e||!e.rangeCount)return[];var t,o,n,i=[],r=e.rangeCount,a=[];for(t=0;t<r;t+=1)a[t]=e.getRangeAt(t),i[t]=a[t].collapsed?{startId:(o=this.marker(!0,a[t])).id,collapsed:!0,startMarker:o.outerHTML}:(o=this.marker(!0,a[t]),n=this.marker(!1,a[t]),{startId:o.id,endId:n.id,collapsed:!1,startMarker:o.outerHTML,endMarker:n.outerHTML});for(e.removeAllRanges(),t=r-1;0<=t;--t){var s=this.doc.getElementById(i[t].startId);if(s)if(i[t].collapsed)a[t].setStartAfter(s),a[t].collapse(!0);else if(a[t].setStartBefore(s),i[t].endId){var l=this.doc.getElementById(i[t].endId);l&&a[t].setEndAfter(l)}try{e.addRange(a[t].cloneRange())}catch(e){}}return i},f.prototype.isCollapsed=function(){for(var e=this.sel,t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0},f.prototype.isFocused=function(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement},f.prototype.current=function(e){if(void 0===e&&(e=!0),this.jodit.getRealMode()===n.MODE_WYSIWYG){var t=this.sel;if(t&&0<t.rangeCount){var o=t.getRangeAt(0),i=o.startContainer,a=!1,s=function(e){return a?e.lastChild:e.firstChild};if(i.nodeType!==Node.TEXT_NODE){if((i=o.startContainer.childNodes[o.startOffset])||(i=o.startContainer.childNodes[o.startOffset-1],a=!0),i&&t.isCollapsed&&i.nodeType!==Node.TEXT_NODE)if(!a&&i.previousSibling&&i.previousSibling.nodeType===Node.TEXT_NODE)i=i.previousSibling;else if(e)for(var l=s(i);l;){if(l&&l.nodeType===Node.TEXT_NODE){i=l;break}l=s(l)}if(i&&!t.isCollapsed&&i.nodeType!==Node.TEXT_NODE){for(var c=i,d=i;d=d.lastChild,(c=c.firstChild)&&d&&c.nodeType!==Node.TEXT_NODE;);c===d&&c&&c.nodeType===Node.TEXT_NODE&&(i=c)}}if(i&&r.Dom.isOrContains(this.area,i))return i}}return!1},f.prototype.insertNode=function(e,t,o){void 0===t&&(t=!0),void 0===o&&(o=!0),this.errorNode(e),this.focus();var n=this.sel;if(this.isCollapsed()||this.jodit.execCommand("Delete"),n&&n.rangeCount){var i=n.getRangeAt(0);r.Dom.isOrContains(this.area,i.commonAncestorContainer)?(i.deleteContents(),i.insertNode(e)):this.area.appendChild(e)}else this.area.appendChild(e);t&&this.setCursorAfter(e),o&&this.jodit.events&&this.jodit.events.fire("synchro"),this.jodit.events&&this.jodit.events.fire("afterInsertNode",e)},f.prototype.insertHTML=function(e){if(""!==e){var t,o,n=this.jodit.create.inside.div(),i=this.jodit.create.inside.fragment();if(!this.isFocused()&&this.jodit.isEditorMode()&&this.focus(),r.Dom.isNode(e,this.win)?n.appendChild(e):n.innerHTML=""+e,(this.jodit.isEditorMode()||!1!==this.jodit.events.fire("insertHTML",n.innerHTML))&&(t=n.lastChild)){for(;n.firstChild;)i.appendChild(t=n.firstChild);for(this.insertNode(i,!1),t?this.setCursorAfter(t):this.setCursorIn(i),o=this.area.lastChild;o&&o.nodeType===Node.TEXT_NODE&&o.previousSibling&&o.nodeValue&&/^\s*$/.test(o.nodeValue);)o=o.previousSibling;t&&(o&&t===o&&t.nodeType===Node.ELEMENT_NODE&&this.area.appendChild(this.jodit.create.inside.element("br")),this.setCursorAfter(t))}}},f.prototype.insertImage=function(e,t,o){var n="string"==typeof e?this.jodit.create.inside.element("img"):e;if("string"==typeof e&&n.setAttribute("src",e),null!==o){var i=""+o;!i||"auto"===i||~(i+"").indexOf("px")||~(i+"").indexOf("%")||(i+="px"),a.css(n,"width",i)}t&&"object"==typeof t&&a.css(n,t);var r=function(){(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",r)};n.addEventListener("load",r),n.complete&&r();var s=this.insertNode(n);return this.jodit.events.fire("afterInsertImage",n),s},f.prototype.setCursorAfter=function(e){var t=this;if(this.errorNode(e),!r.Dom.up(e,(function(e){return e===t.area||e&&e.parentNode===t.area}),this.area))throw Error("Node element must be in editor");var o=this.createRange(),i=!1;return e.nodeType!==Node.TEXT_NODE?(i=this.doc.createTextNode(n.INVISIBLE_SPACE),o.setStartAfter(e),o.insertNode(i),o.selectNode(i)):o.setEnd(e,null!==e.nodeValue?e.nodeValue.length:0),o.collapse(!1),this.selectRange(o),i},f.prototype.cursorInTheEdge=function(e,t){var o=this.sel,n=o&&o.rangeCount?o.getRangeAt(0):null;if(!n)return null;function a(o){for(;o;)if(n=o,(o=e?r.Dom.prev(n,(function(e){return!!e}),t):r.Dom.next(n,(function(e){return!!e}),t))&&!r.Dom.isEmptyTextNode(o)&&"BR"!==o.nodeName)return!1;var n}var s=e?n.startContainer:n.endContainer;if(s.nodeType===Node.TEXT_NODE){var l=s.nodeValue||"";if(e&&n.startOffset>l.length-l.replace(i.INVISIBLE_SPACE_REG_EXP_START,"").length)return!1;if(!e&&n.startOffset<l.replace(i.INVISIBLE_SPACE_REG_EXP_END,"").length)return!1;if(!1===a(s))return!1}var c=this.current(!1);return c&&r.Dom.isOrContains(t,c,!0)?!(!e&&n.startContainer.childNodes[n.startOffset]&&c&&!r.Dom.isEmptyTextNode(c))&&!1!==a(c):null},f.prototype.setCursorBefore=function(e){var t=this;if(this.errorNode(e),!r.Dom.up(e,(function(e){return e===t.area||e&&e.parentNode===t.area}),this.area))throw Error("Node element must be in editor");var o=this.createRange(),i=!1;return e.nodeType!==Node.TEXT_NODE?(i=this.doc.createTextNode(n.INVISIBLE_SPACE),o.setStartBefore(e),o.collapse(!0),o.insertNode(i),o.selectNode(i)):o.setStart(e,null!==e.nodeValue?e.nodeValue.length:0),o.collapse(!0),this.selectRange(o),i},f.prototype.setCursorIn=function(e,t){var o=this;if(void 0===t&&(t=!1),this.errorNode(e),!r.Dom.up(e,(function(e){return e===o.area||e&&e.parentNode===o.area}),this.area))throw Error("Node element must be in editor");var i=this.createRange(),a=e,s=e;do{if(a.nodeType===Node.TEXT_NODE)break;s=a,a=t?a.firstChild:a.lastChild}while(a);if(!a){var l=this.doc.createTextNode(n.INVISIBLE_SPACE);/^(img|br|input)$/i.test(s.nodeName)?a=s:(s.appendChild(l),s=l)}return i.selectNodeContents(a||s),i.collapse(t),this.selectRange(i),s},f.prototype.selectRange=function(e){var t=this.sel;t&&(t.removeAllRanges(),t.addRange(e)),this.jodit.events.fire("changeSelection")},f.prototype.select=function(e,t){var o=this;if(void 0===t&&(t=!1),this.errorNode(e),!r.Dom.up(e,(function(e){return e===o.area||e&&e.parentNode===o.area}),this.area))throw Error("Node element must be in editor");var n=this.createRange();n[t?"selectNodeContents":"selectNode"](e),this.selectRange(n)},f.prototype.getHTML=function(){var e=this.sel;if(e&&0<e.rangeCount){var t=e.getRangeAt(0).cloneContents(),o=this.jodit.create.inside.div();return o.appendChild(t),o.innerHTML}return""},f.prototype.applyCSS=function(e,t,o){var i=this;function u(e){return null!==e&&!r.Dom.isEmptyTextNode(e)&&!i.isMarker(e)}function f(e){return!!e&&(RegExp("^"+e.nodeName+"$","i").test(t)||!(!o||"FONT"===(n=e).nodeName||n.nodeType!==Node.ELEMENT_NODE||!(c.isPlainObject(o)&&d.each(o,(function(e,t){var o=a.css(n,e,void 0,!0);return null!==o&&""!==o&&!!~t.indexOf((""+o).toLowerCase())}))||"function"==typeof o&&o(i.jodit,n))))&&u(e);var n}function h(t){f(t)&&(t.nodeName===m&&e&&Object.keys(e).forEach((function(o){0===g||a.css(t,o)===s.normilizeCSSValue(o,e[o])?(a.css(t,o,""),void 0===g&&(g=0)):(a.css(t,o,e[o]),void 0===g&&(g=1))})),r.Dom.isBlock(t,i.win)||t.getAttribute("style")&&t.nodeName===m||(r.Dom.unwrap(t),void 0===g&&(g=0)))}void 0===t&&(t="span");var g,m="SPAN";if(this.isCollapsed()){var v=!1;if(this.current()&&r.Dom.closest(this.current(),t,this.area)){v=!0;var b=r.Dom.closest(this.current(),t,this.area);b&&this.setCursorAfter(b)}if(t.toUpperCase()==m||!v){var y=this.jodit.create.inside.element(t);y.appendChild(this.jodit.create.inside.text(n.INVISIBLE_SPACE)),this.insertNode(y,!1,!1),t.toUpperCase()==m&&e&&a.css(y,e),this.setCursorIn(y)}}else{var x=this.save();s.normalizeNode(this.area.firstChild),l.$$("*[style*=font-size]",this.area).forEach((function(e){e.style&&e.style.fontSize&&e.setAttribute("data-font-size",""+e.style.fontSize)})),this.doc.execCommand("fontsize",!1,"7"),l.$$("*[data-font-size]",this.area).forEach((function(e){var t=e.getAttribute("data-font-size");e.style&&t&&(e.style.fontSize=t,e.removeAttribute("data-font-size"))})),l.$$('font[size="7"]',this.area).forEach((function(o){if(r.Dom.next(o,u,o.parentNode)||r.Dom.prev(o,u,o.parentNode)||!f(o.parentNode)||o.parentNode===i.area||r.Dom.isBlock(o.parentNode,i.win)&&!n.IS_BLOCK.test(t))if(o.firstChild&&!r.Dom.next(o.firstChild,u,o)&&!r.Dom.prev(o.firstChild,u,o)&&f(o.firstChild))h(o.firstChild);else if(r.Dom.closest(o,f,i.area)){var s=i.createRange(),l=r.Dom.closest(o,f,i.area);s.setStartBefore(l),s.setEndBefore(o);var c=s.extractContents();c.textContent&&p.trim(c.textContent).length||!c.firstChild||r.Dom.unwrap(c.firstChild),l.parentNode&&l.parentNode.insertBefore(c,l),s.setStartAfter(o),s.setEndAfter(l);var d=s.extractContents();d.textContent&&p.trim(d.textContent).length||!d.firstChild||r.Dom.unwrap(d.firstChild),r.Dom.after(l,d),h(l)}else{var v,b=[];o.firstChild&&r.Dom.find(o.firstChild,(function(e){return e&&f(e)?(void 0===v&&(v=!0),b.push(e)):void 0===v&&(v=!1),!1}),o,!0),b.forEach(r.Dom.unwrap),v||(void 0===g&&(g=1),1===g&&a.css(r.Dom.replace(o,t,!1,!1,i.doc),e&&t.toUpperCase()==m?e:{}))}else h(o.parentNode);o.parentNode&&r.Dom.unwrap(o)})),this.restore(x)}},f);function f(e){var t=this;this.jodit=e,this.isMarker=function(e){return r.Dom.isNode(e,t.win)&&e.nodeType===Node.ELEMENT_NODE&&"SPAN"===e.nodeName&&e.hasAttribute("data-"+n.MARKER_CLASS)},this.focus=function(){if(t.isFocused())return!1;t.jodit.iframe&&"complete"==t.doc.readyState&&t.jodit.iframe.focus(),t.win.focus(),t.area.focus();var e=t.sel,o=t.createRange();return!e||e.rangeCount&&t.current()||(o.setStart(t.area,0),o.collapse(!0),e.removeAllRanges(),e.addRange(o)),!0},this.eachSelection=function(e){var o=t.sel;if(o&&o.rangeCount){var n=o.getRangeAt(0),a=[],s=n.startOffset,l=t.area.childNodes.length,c=n.startContainer===t.area?t.area.childNodes[s<l?s:l-1]:n.startContainer,d=n.endContainer===t.area?t.area.childNodes[n.endOffset-1]:n.endContainer;r.Dom.find(c,(function(e){return!e||e===t.area||r.Dom.isEmptyTextNode(e)||t.isMarker(e)||a.push(e),e===d||e&&e.contains(d)}),t.area,!0,"nextSibling",!1);var p=function(o){if(o.nodeName.match(/^(UL|OL)$/))return Array.from(o.childNodes).forEach(p);if("LI"===o.nodeName)if(o.firstChild)o=o.firstChild;else{var n=t.jodit.create.inside.text(i.INVISIBLE_SPACE);o.appendChild(n),o=n}e(o)};0===a.length&&r.Dom.isEmptyTextNode(c)&&a.push(c),a.forEach(p)}}}t.Select=u},function(e,t,o){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.canUsePersistentStorage=function(){return void 0===n&&(n=function(){var e="___Jodit___"+Math.random();try{localStorage.setItem(e,"1");var t="1"===localStorage.getItem(e);return localStorage.removeItem(e),t}catch(e){}return!1}()),n};var i=(r.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){}},r.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){}},r.prototype.exists=function(e){return null!==this.get(e)},r.prototype.clear=function(){try{localStorage.removeItem(this.rootKey)}catch(e){}},r);function r(e){this.rootKey=e}t.LocalStorageProvider=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(i.prototype.set=function(e,t){this.data.set(e,t)},i.prototype.get=function(e){return this.data.get(e)},i.prototype.exists=function(e){return this.data.has(e)},i.prototype.clear=function(){this.data.clear()},i);function i(){this.data=new Map}t.MemoryStorageProvider=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(63),a=(i.__extends(s,n=r.View),s.prototype.destruct=function(){this.toolbar.destruct(),delete this.toolbar,n.prototype.destruct.call(this)},s);function s(){var e=null!==n&&n.apply(this,arguments)||this;return e.toolbar=l.JoditToolbarCollection.makeCollection(e),e}t.ViewWithToolbar=a;var l=o(20)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(64),a=o(114),s=o(115),l=(i.__extends(c,n=a.Panel),Object.defineProperty(c.prototype,"defaultTimeout",{get:function(){return 100},enumerable:!0,configurable:!0}),c.prototype.i18n=function(e){for(var t,o,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return this.jodit&&this.jodit!==this?(t=this.jodit).i18n.apply(t,i.__spreadArrays([e],n)):(o=d.Jodit.prototype).i18n.apply(o,i.__spreadArrays([e],n))},c.prototype.toggleFullSize=function(e){n.prototype.toggleFullSize.call(this,e),this.events&&this.events.fire("toggleFullSize",e)},c.prototype.getInstance=function(e,t){if("function"!=typeof d.Jodit.modules[e])throw Error("Need real module name");return void 0===this.__modulesInstances[e]&&(this.__modulesInstances[e]=new d.Jodit.modules[e](this.jodit||this,t)),this.__modulesInstances[e]},c.prototype.destruct=function(){this.isDestructed||(this.events&&(this.events.destruct(),delete this.events),delete this.options,n.prototype.destruct.call(this))},c);function c(e,t){var o=n.call(this,e)||this;return o.version="3.2.65",o.__modulesInstances={},o.buffer=s.Storage.makeStorage(),o.progress_bar=o.create.div("jodit_progress_bar",o.create.div()),o.options={removeButtons:[],zIndex:100002,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullsize:!0},o.components=[],o.getVersion=function(){return o.version},o.id=e&&e.id?e.id:""+(new Date).getTime(),o.jodit=e||o,o.events=e&&e.events?e.events:new r.EventsNative(o.ownerDocument),o.buffer=e&&e.buffer?e.buffer:s.Storage.makeStorage(),o.options=i.__assign(i.__assign({},o.options),t),o}t.View=l;var d=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(113),r=(a.prototype.eachEvent=function(e,t){var o=this;e.split(/[\s,]+/).forEach((function(e){var n=e.split(".");t.call(o,n[0],n[1]||i.defaultNameSpace)}))},a.prototype.getStore=function(e){if(void 0===e[this.__key]){var t=new i.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,value:t})}return e[this.__key]},a.prototype.clearStore=function(e){void 0!==e[this.__key]&&delete e[this.__key]},a.prototype.triggerNativeEvent=function(e,t){var o=this.doc.createEvent("HTMLEvents");"string"==typeof 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)},a.prototype.removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!=t&&this.__stopped.splice(t,1)}},a.prototype.isStopped=function(e){return void 0!==e&&!!~this.__stopped.indexOf(e)},a.prototype.on=function(e,t,o,n,i){var r=this;void 0===i&&(i=!1);var a="string"==typeof e?this:e,s="string"==typeof t?t:e,l=o;void 0===l&&"function"==typeof t&&(l=t);var c=this.getStore(a);if("string"!=typeof s||""===s)throw Error("Need events names");if("function"!=typeof l)throw Error("Need event handler");if(Array.isArray(a))return a.forEach((function(e){r.on(e,s,l,n)})),this;var d="function"==typeof a.addEventListener,p=this,u=function(e){return l&&l.apply(this,arguments)};return d&&(u=function(e){if(p.prepareEvent(e),l&&!1===l.call(this,e))return e.preventDefault(),e.stopImmediatePropagation(),!1},n&&(u=function(e){p.prepareEvent(e);for(var t=e.target;t&&t!==this;){if(t.matches(n))return Object.defineProperty(e,"target",{value:t,configurable:!0,enumerable:!0}),l&&!1===l.call(t,e)?(e.preventDefault(),!1):void 0;t=t.parentNode}})),this.eachEvent(s,(function(e,t){if(""===e)throw Error("Need event name");!1===c.indexOf(e,t,l)&&(c.set(e,t,{event:e,originalCallback:l,syntheticCallback:u},i),d&&a.addEventListener(e,u,!1))})),this},a.prototype.off=function(e,t,o){var n=this,r="string"==typeof e?this:e,a="string"==typeof t?t:e,s=this.getStore(r),l=o;if("string"!=typeof a||!a)return s.namespaces().forEach((function(e){n.off(r,"."+e)})),this.clearStore(r),this;function c(e){d&&r.removeEventListener(e.event,e.syntheticCallback,!1)}void 0===l&&"function"==typeof t&&(l=t);var d="function"==typeof r.removeEventListener,p=function(e,t){if(""!==e){var o=s.get(e,t);if(o&&o.length)if("function"!=typeof l)o.forEach(c),o.length=0;else{var n=s.indexOf(e,t,l);!1!==n&&(c(o[n]),o.splice(n,1))}}else s.events(t).forEach((function(e){""!==e&&p(e,t)}))};return this.eachEvent(a,(function(e,t){t===i.defaultNameSpace?s.namespaces().forEach((function(t){p(e,t)})):p(e,t)})),this},a.prototype.stopPropagation=function(e,t){var o=this,n="string"==typeof e?this:e,r="string"==typeof e?e:t;if("string"!=typeof r)throw Error("Need event names");var a=this.getStore(n);this.eachEvent(r,(function(e,t){var r=a.get(e,t);r&&o.__stopped.push(r),t===i.defaultNameSpace&&a.namespaces(!0).forEach((function(t){return o.stopPropagation(n,e+"."+t)}))}))},a.prototype.fire=function(e,t){for(var o=this,r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];var s,l=void 0,c="string"==typeof e?this:e,d="string"==typeof e?e:t,p="string"==typeof e?n.__spreadArrays([t],r):r,u="function"==typeof c.dispatchEvent;if(!u&&"string"!=typeof d)throw Error("Need events names");var f=this.getStore(c);return"string"!=typeof d&&u?this.triggerNativeEvent(c,t):this.eachEvent(d,(function(e,t){if(u)o.triggerNativeEvent(c,e);else{var r=f.get(e,t);if(r)try{r.every((function(t){return!o.isStopped(r)&&(o.current.push(e),s=t.syntheticCallback.apply(c,p),o.current.pop(),void 0!==s&&(l=s),!0)}))}finally{o.removeStop(r)}t!==i.defaultNameSpace||u||f.namespaces().filter((function(e){return e!==t})).forEach((function(t){var i=o.fire.apply(o,n.__spreadArrays([c,e+"."+t],p));void 0!==i&&(l=i)}))}})),l},a.prototype.destruct=function(){this.isDestructed&&(this.isDestructed=!0,this.off(this),this.getStore(this).clear(),delete this[this.__key])},a);function a(e){var t=this;this.__key="__JoditEventsNativeNamespaces",this.doc=document,this.__stopped=[],this.prepareEvent=function(e){e.cancelBubble||(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.current=[],this.isDestructed=!1,e&&(this.doc=e),this.__key+=(new Date).getTime()}t.EventsNative=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(21),i=o(24),r=o(42),a=o(0),s=o(4),l=(c.prototype.setDocument=function(e){this.doc=e},c.prototype.element=function(e,t,o){var a=this,l=this.doc.createElement(e.toLowerCase());return t&&(n.isPlainObject(t)?i.each(t,(function(e,t){n.isPlainObject(t)&&"style"===e?s.css(l,t):l.setAttribute(e,""+t)})):o=t),o&&r.asArray(o).forEach((function(e){return l.appendChild("string"==typeof e?a.fromHTML(e):e)})),l},c.prototype.div=function(e,t,o){var n=this.element("div",t,o);return e&&(n.className=e),n},c.prototype.span=function(e,t,o){var n=this.element("span",t,o);return e&&(n.className=e),n},c.prototype.a=function(e,t,o){var n=this.element("a",t,o);return e&&(n.className=e),n},c.prototype.text=function(e){return this.doc.createTextNode(e)},c.prototype.fragment=function(){return this.doc.createDocumentFragment()},c.prototype.fromHTML=function(e){var t=this.div();t.innerHTML=""+e;var o=t.firstChild===t.lastChild&&t.firstChild?t.firstChild:t;return a.Dom.safeRemove(o),o},c);function c(e,t){this.doc=e,null!==t&&(this.inside=t?new c(t):new c(e,null))}t.Create=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(16),i=o(6);t.Promt=function(e,t,o,a,s){var l=new n.Dialog,c=l.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+i.ToolbarIcon.getIcon("cancel")+"<span>"+r.Jodit.prototype.i18n("Cancel")+"</span></a>"),d=l.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+i.ToolbarIcon.getIcon("check")+"<span>"+r.Jodit.prototype.i18n("Ok")+"</span></a>"),p=l.create.element("form",{class:"jodit_promt"}),u=l.create.element("input",{autofocus:!0,class:"jodit_input"}),f=l.create.element("label");function h(){o&&"function"==typeof o&&!1===o(u.value)||l.close()}return"function"==typeof t&&(o=t,t=void 0),a&&u.setAttribute("placeholder",a),f.appendChild(l.create.text(e)),p.appendChild(f),p.appendChild(u),c.addEventListener("click",l.close,!1),d.addEventListener("click",h),p.addEventListener("submit",(function(){return h(),!1})),l.setFooter([d,c]),l.open(p,t||"&nbsp;",!0,!0),u.focus(),void 0!==s&&s.length&&(u.value=s,u.select()),l};var r=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(16),i=o(6);t.Confirm=function(e,t,o){var a=new n.Dialog,s=a.create.fromHTML('<form class="jodit_promt"></form>'),l=a.create.element("label");"function"==typeof t&&(o=t,t=void 0),l.appendChild(a.create.fromHTML(e)),s.appendChild(l);var c=a.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+i.ToolbarIcon.getIcon("cancel")+"<span>"+r.Jodit.prototype.i18n("Cancel")+"</span></a>");function d(){o&&o(!0),a.close()}c.addEventListener("click",(function(){o&&o(!1),a.close()}));var p=a.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+i.ToolbarIcon.getIcon("check")+"<span>"+r.Jodit.prototype.i18n("Yes")+"</span></a>");return p.addEventListener("click",d),s.addEventListener("submit",(function(){return d(),!1})),a.setFooter([p,c]),a.open(s,t||"&nbsp;",!0,!0),p.focus(),a};var r=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(29),r=o(3),a=o(2),s=o(36),l=o(69);r.Config.prototype.controls.cut={command:"cut",isDisable:function(e){return e.selection.isCollapsed()},tooltip:"Cut selection"},r.Config.prototype.controls.copy={command:"copy",isDisable:function(e){return e.selection.isCollapsed()},tooltip:"Copy selection"},t.pluginKey="clipboard";var c,d=(n.__extends(p,c=i.Plugin),p.prototype.afterInit=function(e){e.events.on("copy."+t.pluginKey+" cut."+t.pluginKey,(function(o){var n,i,r=e.selection.getHTML(),c=l.getDataTransfer(o)||l.getDataTransfer(e.editorWindow)||l.getDataTransfer(o.originalEvent);c&&(c.setData(a.TEXT_PLAIN,s.stripTags(r)),c.setData(a.TEXT_HTML,r)),e.buffer.set(t.pluginKey,r),"cut"===o.type&&(e.selection.remove(),e.selection.focus()),o.preventDefault(),null===(i=null===(n=e)||void 0===n?void 0:n.events)||void 0===i||i.fire("afterCopy",r)}))},p.prototype.beforeDestruct=function(e){var o,n,i,r;null===(n=null===(o=e)||void 0===o?void 0:o.buffer)||void 0===n||n.set(t.pluginKey,""),null===(r=null===(i=e)||void 0===i?void 0:i.events)||void 0===r||r.off("."+t.pluginKey)},p);function p(){return null!==c&&c.apply(this,arguments)||this}t.clipboard=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(13),s=o(4),l=o(0),c=o(155),d=o(68);i.Config.prototype.askBeforePasteHTML=!0,i.Config.prototype.askBeforePasteFromWord=!0,i.Config.prototype.nl2brInPlainText=!0,i.Config.prototype.defaultActionOnPaste=r.INSERT_AS_HTML,t.getDataTransfer=function(e){return e.clipboardData?e.clipboardData:e.dataTransfer||new DataTransfer},i.Config.prototype.controls.paste={tooltip:"Paste from clipboard",exec:function(e){return n.__awaiter(this,void 0,void 0,(function(){var t,o,i,r,s;return n.__generator(this,(function(n){switch(n.label){case 0:if(e.selection.focus(),(o=!(t=""))&&(t=e.buffer.get(d.pluginKey)||"",o=0===t.length),!o||!navigator.clipboard)return[3,11];n.label=1;case 1:return n.trys.push([1,6,,7]),[4,navigator.clipboard.read()];case 2:return(i=n.sent())&&i.length?[4,i[0].getType("text/plain")]:[3,5];case 3:return r=n.sent(),[4,new Response(r).text()];case 4:t=n.sent(),n.label=5;case 5:return[3,7];case 6:return n.sent(),[3,7];case 7:if(!o)return[3,11];n.label=8;case 8:return n.trys.push([8,10,,11]),[4,navigator.clipboard.readText()];case 9:return t=n.sent(),o=!1,[3,11];case 10:return n.sent(),[3,11];case 11:return o&&(s=e.value,e.editorDocument.execCommand("paste"),o=s!==e.value),t?e.selection.insertHTML(t):o&&a.Alert(e.i18n("Your browser doesn't support direct access to the clipboard."),(function(){e.selection.focus()})),[2]}}))}))}},t.paste=function(e){function o(t,o,n,i,r){if(void 0===i&&(i="Clean"),void 0===r&&(r="Insert only Text"),!e.events||!1!==e.events.fire("beforeOpenPasteDialog",t,o,n,i,r)){var s=a.Confirm('<div style="word-break: normal; white-space: normal">'+t+"</div>",o,n);s.container.setAttribute("data-editor_id",e.id);var l=s.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+e.i18n("Keep")+"</span></a>"),c=s.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+e.i18n(i)+"</span></a>"),d=s.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+e.i18n(r)+"</span></a>"),p=s.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button"><span>'+e.i18n("Cancel")+"</span></a>");return e.events.on(l,"click",(function(){s.close(),n&&n(!0)})),e.events.on(c,"click",(function(){s.close(),n&&n(!1)})),e.events.on(d,"click",(function(){s.close(),n&&n(0)})),e.events.on(p,"click",(function(){s.close()})),s.setFooter([l,c,r?d:"",p]),e.events&&e.events.fire("afterOpenPasteDialog",s,t,o,n,i,r),s}}function n(t,o){if("string"==typeof t)switch(o){case r.INSERT_CLEAR_HTML:t=s.cleanFromWord(t);break;case r.INSERT_ONLY_TEXT:t=s.stripTags(t);break;case r.INSERT_AS_TEXT:t=s.htmlspecialchars(t)}"string"==typeof t&&e.buffer.set(d.pluginKey,t),e.selection.insertHTML(t)}function i(t,i){var a=e.buffer.get(d.pluginKey);if(s.isHTML(t)&&a!==p(t))return e.events.stopPropagation("beforePaste"),t=p(t),o(e.i18n("Your code is similar to HTML. Keep as HTML?"),e.i18n("Paste as HTML"),(function(o){var a=r.INSERT_AS_HTML;!1===o&&(a=r.INSERT_AS_TEXT),0===o&&(a=r.INSERT_ONLY_TEXT),"drop"===i.type&&e.selection.insertCursorAtPoint(i.clientX,i.clientY),n(t,a),e.setEditorValue()}),"Insert as Text"),!1}function p(e){var t=e.search(/<!--StartFragment-->/i);-1!=t&&(e=e.substr(20+t));var o=e.search(/<!--EndFragment-->/i);return-1!=o&&(e=e.substr(0,o)),e}e.events.on("paste",(function(o){if(!1===e.events.fire("beforePaste",o))return o.preventDefault(),!1;var i=t.getDataTransfer(o);if(o&&i){var a=i.types,c="";if(Array.isArray(a)||"domstringlist"===s.type(a))for(var u=0;u<a.length;u+=1)c+=a[u]+";";else c=a+";";var f=/text\/html/i.test(c)?i.getData("text/html"):/text\/rtf/i.test(c)&&s.browser("safari")?i.getData("text/rtf"):/text\/plain/i.test(c)&&!s.browser("mozilla")||/text/i.test(c)&&r.IS_IE?i.getData(r.TEXT_PLAIN):"";(l.Dom.isNode(f,e.editorWindow)||s.trim(f))&&(f=p(f),e.buffer.get(d.pluginKey)!==f&&(f=e.events.fire("processPaste",o,f,c)),"string"!=typeof f&&!l.Dom.isNode(f,e.editorWindow)||("drop"===o.type&&e.selection.insertCursorAtPoint(o.clientX,o.clientY),n(f,e.options.defaultActionOnPaste)),o.preventDefault(),o.stopPropagation())}return!1!==e.events.fire("afterPaste",o)&&void 0})),e.options.askBeforePasteHTML&&e.events.on("beforePaste",(function(e){var o=t.getDataTransfer(e);if(e&&o&&o.getData(r.TEXT_PLAIN))return i(o.getData(r.TEXT_PLAIN),e)})),e.options.askBeforePasteFromWord&&e.events.on("beforePaste",(function(n){var a=t.getDataTransfer(n);if(n&&a&&a.getData&&a.getData(r.TEXT_HTML)){var c=function(t){var r=e.buffer.get(d.pluginKey);if(s.isHTML(t)&&r!==p(t))return s.isHTMLFromWord(t)?o(e.i18n("The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?"),e.i18n("Word Paste Detected"),(function(o){!0===o&&(t=s.applyStyles(t),e.options.beautifyHTML&&e.ownerWindow.html_beautify&&(t=e.ownerWindow.html_beautify(t))),!1===o&&(t=s.cleanFromWord(t)),0===o&&(t=s.stripTags(s.cleanFromWord(t))),e.selection.insertHTML(t),e.setEditorValue()})):i(t,n),!1};if(a.types&&~Array.from(a.types).indexOf("text/html")){var u=a.getData(r.TEXT_HTML);return c(u)}if("drop"!==n.type){var f=e.create.div("",{tabindex:-1,contenteditable:!0,style:{left:-9999,top:0,width:0,height:"100%",lineHeight:"140%",overflow:"hidden",position:"fixed",zIndex:2147483647,wordBreak:"break-all"}});e.container.appendChild(f);var h=e.selection.save();f.focus();var g=0,m=function(){l.Dom.safeRemove(f),e.selection&&e.selection.restore(h)},v=function(){if(g+=1,f.childNodes&&0<f.childNodes.length){var t=f.innerHTML;return m(),void(!1!==c(t)&&e.selection.insertHTML(t))}g<5?s.setTimeout(v,20):m()};v()}}})),e.options.nl2brInPlainText&&e.events.on("processPaste",(function(e,t,o){if(o===r.TEXT_PLAIN+";"&&!s.isHTML(t))return c.nl2br(t)}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(71),"undefined"!=typeof window&&o(72);var n=o(11),i=o(2),r=o(121),a=o(29),s=o(148),l=o(190),c=o(3),d=o(6);function p(e){return"__esModule"!==e}Object.keys(i).forEach((function(e){n.Jodit[e]=i[e]})),Object.keys(l).filter(p).forEach((function(e){d.ToolbarIcon.icons[e.replace("_","-")]=l[e]})),Object.keys(a).filter(p).forEach((function(e){n.Jodit.modules[e]=a[e]})),["Confirm","Alert","Promt"].forEach((function(e){n.Jodit[e]=a[e]})),Object.keys(s).filter(p).forEach((function(e){n.Jodit.plugins[e]=s[e]})),Object.keys(r).filter(p).forEach((function(e){n.Jodit.lang[e]=r[e]})),n.Jodit.defaultOptions=c.Config.defaultOptions,c.OptionsDefault.prototype=n.Jodit.defaultOptions,t.Jodit=n.Jodit,t.default=n.Jodit},function(e,t,o){},function(e,t,o){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),o(73),o(74),(n=Element.prototype).matches||(n.matches=void 0!==n.matchesSelector?n.matchesSelector:function(e){if(!this.ownerDocument)return[];var t=this.ownerDocument.querySelectorAll(e),o=this;return Array.prototype.some.call(t,(function(e){return e===o}))}),Array.from||(Array.from=function(e){return[].slice.call(e)}),Array.prototype.includes||(Array.prototype.includes=function(e){return!!~this.indexOf(e)})},function(e,t){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){"use strict";if("Element"in e){var t="classList",o="prototype",n=e.Element[o],i=Object,r=String[o].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[o].indexOf||function(e){for(var t=0,o=this.length;t<o;t++)if(t in this&&this[t]===e)return t;return-1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function(e,t){if(""===t)throw new s("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(e,t)},c=function(e){for(var t=r.call(e.getAttribute("class")||""),o=t?t.split(/\s+/):[],n=0,i=o.length;n<i;n++)this.push(o[n]);this._updateClassName=function(){e.setAttribute("class",""+this)}},d=c[o]=[],p=function(){return new c(this)};if(s[o]=Error[o],d.item=function(e){return this[e]||null},d.contains=function(e){return-1!==l(this,e+="")},d.add=function(){for(var e,t=arguments,o=0,n=t.length,i=!1;-1===l(this,e=t[o]+"")&&(this.push(e),i=!0),++o<n;);i&&this._updateClassName()},d.remove=function(){var e,t,o=arguments,n=0,i=o.length,r=!1;do{for(t=l(this,e=o[n]+"");-1!==t;)this.splice(t,1),r=!0,t=l(this,e)}while(++n<i);r&&this._updateClassName()},d.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},d.toString=function(){return this.join(" ")},i.defineProperty){var u={get:p,enumerable:!0,configurable:!0};try{i.defineProperty(n,t,u)}catch(e){void 0!==e.number&&-2146823252!==e.number||(u.enumerable=!1,i.defineProperty(n,t,u))}}else i[o].__defineGetter__&&n.__defineGetter__(t,p)}}(window.self),function(){"use strict";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;o<n;o++)t.call(this,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}())},function(e,t,o){"use strict";e.exports=o(75).polyfill()},function(e,t,o){var n,i;n=o(76),i=o(77),e.exports=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=0,r=void 0,a=void 0,s=function(e,t){h[o]=e,h[o+1]=t,2===(o+=2)&&(a?a(g):x())},l="undefined"!=typeof window?window:void 0,c=l||{},d=c.MutationObserver||c.WebKitMutationObserver,p="undefined"==typeof self&&void 0!==n&&"[object process]"==={}.toString.call(n),u="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var e=setTimeout;return function(){return e(g,1)}}var h=Array(1e3);function g(){for(var e=0;e<o;e+=2)(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0;o=0}var m,v,b,y,x=void 0;function _(e,t){var o=this,n=new this.constructor(j);void 0===n[k]&&P(n);var i=o._state;if(i){var r=arguments[i-1];s((function(){return L(i,n,r,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(j);return A(t,e),t}x=p?function(){return n.nextTick(g)}:d?(v=0,b=new d(g),y=document.createTextNode(""),b.observe(y,{characterData:!0}),function(){y.data=v=++v%2}):u?((m=new MessageChannel).port1.onmessage=g,function(){return m.port2.postMessage(0)}):void 0===l?function(){try{var e=Function("return this")().require("vertx");return void 0!==(r=e.runOnLoop||e.runOnContext)?function(){r(g)}:f()}catch(e){return f()}}():f();var k=Math.random().toString(36).substring(2);function j(){}var C=void 0;function S(t,o,n){o.constructor===t.constructor&&n===_&&o.constructor.resolve===w?function(e,t){1===t._state?E(e,t._result):2===t._state?z(e,t._result):T(t,void 0,(function(t){return A(e,t)}),(function(t){return z(e,t)}))}(t,o):void 0===n?E(t,o):e(n)?function(e,t,o){s((function(e){var n=!1,i=function(e,t,o,n){try{e.call(t,o,n)}catch(e){return e}}(o,t,(function(o){n||(n=!0,t!==o?A(e,o):E(e,o))}),(function(t){n||(n=!0,z(e,t))}));!n&&i&&(n=!0,z(e,i))}),e)}(t,o,n):E(t,o)}function A(e,t){if(e===t)z(e,new TypeError("You cannot resolve a promise with itself"));else if(function(e){var t=typeof e;return null!==e&&("object"==t||"function"==t)}(t)){var o=void 0;try{o=t.then}catch(t){return void z(e,t)}S(e,t,o)}else E(e,t)}function M(e){e._onerror&&e._onerror(e._result),D(e)}function E(e,t){e._state===C&&(e._result=t,e._state=1,0!==e._subscribers.length&&s(D,e))}function z(e,t){e._state===C&&(e._state=2,e._result=t,s(M,e))}function T(e,t,o,n){var i=e._subscribers,r=i.length;e._onerror=null,i[r]=t,i[r+1]=o,i[r+2]=n,0===r&&e._state&&s(D,e)}function D(e){var t=e._subscribers,o=e._state;if(0!==t.length){for(var n=void 0,i=void 0,r=e._result,a=0;a<t.length;a+=3)i=t[a+o],(n=t[a])?L(o,n,i,r):i(r);e._subscribers.length=0}}function L(t,o,n,i){var r=e(n),a=void 0,s=void 0,l=!0;if(r){try{a=n(i)}catch(t){l=!1,s=t}if(o===a)return void z(o,new TypeError("A promises callback cannot return that same promise."))}else a=i;o._state!==C||(r&&l?A(o,a):!1===l?z(o,s):1===t?E(o,a):2===t&&z(o,a))}var I=0;function P(e){e[k]=I++,e._state=void 0,e._result=void 0,e._subscribers=[]}var O=(q.prototype._enumerate=function(e){for(var t=0;this._state===C&&t<e.length;t++)this._eachEntry(e[t],t)},q.prototype._eachEntry=function(e,t){var o=this._instanceConstructor,n=o.resolve;if(n===w){var i=void 0,r=void 0,a=!1;try{i=e.then}catch(t){a=!0,r=t}if(i===_&&e._state!==C)this._settledAt(e._state,t,e._result);else if("function"!=typeof i)this._remaining--,this._result[t]=e;else if(o===N){var s=new o(j);a?z(s,r):S(s,e,i),this._willSettleAt(s,t)}else this._willSettleAt(new o((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},q.prototype._settledAt=function(e,t,o){var n=this.promise;n._state===C&&(this._remaining--,2===e?z(n,o):this._result[t]=o),0===this._remaining&&E(n,this._result)},q.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)}))},q);function q(e,o){this._instanceConstructor=e,this.promise=new e(j),this.promise[k]||P(this.promise),t(o)?(this.length=o.length,this._remaining=o.length,this._result=Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(o),0===this._remaining&&E(this.promise,this._result))):z(this.promise,Error("Array Methods must be provided an Array"))}var N=(R.prototype.catch=function(e){return this.then(null,e)},R.prototype.finally=function(t){var o=this.constructor;return e(t)?this.then((function(e){return o.resolve(t()).then((function(){return e}))}),(function(e){return o.resolve(t()).then((function(){throw e}))})):this.then(t,t)},R);function R(e){this[k]=I++,this._result=this._state=void 0,this._subscribers=[],j!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof R?function(e,t){try{t((function(t){A(e,t)}),(function(t){z(e,t)}))}catch(t){z(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 N.prototype.then=_,N.all=function(e){return new O(this,e).promise},N.race=function(e){var o=this;return t(e)?new o((function(t,n){for(var i=e.length,r=0;r<i;r++)o.resolve(e[r]).then(t,n)})):new o((function(e,t){return t(new TypeError("You must pass an array to race."))}))},N.resolve=w,N.reject=function(e){var t=new this(j);return z(t,e),t},N._setScheduler=function(e){a=e},N._setAsap=function(e){s=e},N._asap=s,N.polyfill=function(){var e=void 0;if(void 0!==i)e=i;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var o=null;try{o=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===o&&!t.cast)return}e.Promise=N},N.Promise=N}()},function(e,t){var o,n,i=e.exports={};function r(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(o===setTimeout)return setTimeout(e,0);if((o===r||!o)&&setTimeout)return(o=setTimeout)(e,0);try{return o(e,0)}catch(t){try{return o.call(null,e,0)}catch(t){return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:r}catch(e){o=r}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,c=[],d=!1,p=-1;function u(){d&&l&&(d=!1,l.length?c=l.concat(c):p=-1,c.length&&f())}function f(){if(!d){var e=s(u);d=!0;for(var t=c.length;t;){for(l=c,c=[];++p<t;)l&&l[p].run();p=-1,t=c.length}l=null,d=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return(n=clearTimeout)(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(1<arguments.length)for(var o=1;o<arguments.length;o++)t[o-1]=arguments[o];c.push(new h(e,t)),1!==c.length||d||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){var o;o=function(){return this}();try{o=o||Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inArray=function(e,t){return!!~t.indexOf(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitArray=function(e){return"string"==typeof e?e.split(/[,\s]+/):e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(18);t.throttle=function(e,t,o){var i,r,a,s=null;return function(){i=arguments,r=!0;var l=o||this;t?s||(a=function(){s=r?(e.apply(l,i),r=!1,n.setTimeout(a,t)):null})():e.apply(l,i)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHTML=function(e){return/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!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/)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(22);t.isInt=function(e){return"string"==typeof e&&n.isNumeric(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLicense=function(e){return"string"==typeof e&&32===e.length&&/^[a-z0-9]+$/.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserColorPicker=function(){var e=!0;try{var t=document.createElement("input");e=(t.type="color")===t.type&&"number"!=typeof t.selectionStart}catch(t){e=!1}return e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(87),t),n.__exportStar(o(46),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRgb=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,o,n){return t+t+o+o+n+n}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(0),i=o(12);t.applyStyles=function(e){if(!~e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,7+e.lastIndexOf("</html>"));var t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);var o="",r=[];try{var a=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(a){a.open(),a.write(e),a.close(),a.styleSheets.length&&(r=a.styleSheets[a.styleSheets.length-1].cssRules);for(var s=function(e){if(""===r[e].selectorText)return"continue";i.$$(r[e].selectorText,a.body).forEach((function(t){t.style.cssText=r[e].style.cssText.replace(/mso-[a-z\-]+:[\s]*[^;]+;/g,"").replace(/border[a-z\-]*:[\s]*[^;]+;/g,"")+t.style.cssText}))},l=0;l<r.length;l+=1)s(l);o=a.firstChild?a.body.innerHTML:""}}catch(e){}finally{n.Dom.safeRemove(t)}return o&&(e=o),e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(0),i=o(9);t.cleanFromWord=function(e){~e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,7+e.lastIndexOf("</html>")));var t="";try{var o=document.createElement("div");o.innerHTML=e;var r=[];o.firstChild&&n.Dom.all(o,(function(e){if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":r.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":n.Dom.unwrap(e);break;default:Array.from(e.attributes).forEach((function(t){~["src","href","rel","content"].indexOf(t.name.toLowerCase())||e.removeAttribute(t.name)}))}break;case Node.TEXT_NODE:break;default:r.push(e)}})),r.forEach(n.Dom.safeRemove),t=o.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(i.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sprintf=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=0,n=e,i=n[o];function r(e,t,o,n){var i=e.length<t?Array(1+t-e.length>>>0).join(o):"";return n?e+i:i+e}function a(e,t,o,n,i){var a=n-e.length;return 0<a&&(e=o||!i?r(e,n," ",o):e.slice(0,t.length)+r("",a,"0",!0)+e.slice(t.length)),e}function s(e,t,o,n,i,s,l){var c=e>>>0;return a((o=o&&c&&{2:"0b",8:"0",16:"0x"}[t]||"")+r(c.toString(t),s||0,"0",!1),o,n,i,l)}function l(e,t,o,n,i){return null!=n&&(e=e.slice(0,n)),a(e,"",t,o,i)}return o+=1,i.replace(/%%|%(\d+\$)?([-+#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g,(function(e,t,i,c,d,p,u){if("%%"===e)return"%";for(var f=!1,h="",g=!1,m=!1,v=0;i&&v<i.length;v++)switch(i[0|v]){case" ":h=" ";break;case"+":h="+";break;case"-":f=!0;break;case"0":g=!0;break;case"#":m=!0}if((c=c?"*"===c?+n[o++]:"*"==(""+c)[0]?+n[(""+c).slice(1,-1)]:+c:0)<0&&(c=-c,f=!0),!isFinite(c))throw Error("sprintf: (minimum-)width must be finite");p=p?"*"===p?+n[o++]:"*"===p[0]?+n[p.slice(1,-1)]:+p:~"fFeE".indexOf(u)?6:"d"===u?0:void 0;var b=t?n[t.slice(0,-1)]:n[o++];switch(u){case"s":return l(b+"",f,c,p,g);case"c":return l(String.fromCharCode(+b),f,c,p,g);case"b":return s(b,2,m,f,c,p,g);case"o":return s(b,8,m,f,c,p,g);case"x":return s(b,16,m,f,c,p,g);case"X":return s(b,16,m,f,c,p,g).toUpperCase();case"u":return s(b,10,m,f,c,p,g);case"i":case"d":return a(b=(x=(y=parseInt(""+b,10))<0?"-":h)+r(Math.abs(y)+"",p,"0",!1),x,f,c,g);case"e":case"E":case"f":case"F":case"g":case"G":var y,x=(y=+b)<0?"-":h,_=["toExponential","toFixed","toPrecision"]["efg".indexOf(u.toLowerCase())],w=["toString","toUpperCase"]["eEfFgG".indexOf(u)%2];return a(b=x+Math.abs(y)[_](p),x,f,c,g)[w]();default:return e}}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(37),i=o(2);t.clear=function(e,t){return void 0===t&&(t=!1),e=n.trim(e).replace(i.INVISIBLE_SPACE_REG_EXP,"").replace(/[\s]*class=""/g,""),t&&(e=e.replace(/<p[^>]*>[\s\n\r\t]*(&nbsp;|<br>|<br\/>)?[\s\n\r\t]*<\/p>[\n\r]*/g,"")),e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlspecialchars=function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripTags=function(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||""}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(9),i=o(2);t.normalizeKeyAliases=function(e){var t={};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map((function(e){return n.trim(e.toLowerCase())})).map((function(e){return i.KEY_ALIASES[e]||e})).sort().filter((function(e){return!t[e]&&""!==e&&(t[e]=!0)})).join("+")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!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("-")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(0);t.normalizeNode=function(e){if(e){if(e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&e.parentNode)for(;e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE;)null!==e.nextSibling.nodeValue&&(e.nodeValue+=e.nextSibling.nodeValue),e.nodeValue=e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP,""),i.Dom.safeRemove(e.nextSibling);else t.normalizeNode(e.firstChild);t.normalizeNode(e.nextSibling)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(9);t.normalizePath=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return 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("/")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!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("/")?"/":"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeSize=function(e){return/^[0-9]+$/.test(""+e)?e+"px":""+e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeURL=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return e.length})).map((function(e){return e.replace(/\/$/,"")})).join("/").replace(/([^:])[\\\/]+/g,"$1/")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(46),i=o(37);t.normalizeColor=function(e){var t=["#"],o=n.colorToHex(e);if(!o)return!1;if(3!==(o=(o=i.trim(o.toUpperCase())).substr(1)).length)return 6<o.length&&(o=o.substr(0,6)),"#"+o;for(var r=0;r<3;r+=1)t.push(o[r]),t.push(o[r]);return t.join("")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentWidth=function(e,t){function o(e){return parseInt(e,10)}var n=t.getComputedStyle(e);return e.offsetWidth-o(n.getPropertyValue("padding-left")||"0")-o(n.getPropertyValue("padding-right")||"0")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.innerWidth=function(e,t){var o=t.getComputedStyle(e);return e.clientWidth-(parseFloat(o.paddingLeft||"0")+parseFloat(o.paddingRight||"0"))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.offset=function(e,o,n,i){void 0===i&&(i=!1);var r,a,s=e.getBoundingClientRect(),l=n.body,c=n.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},d=n.defaultView||n.parentWindow,p=d.pageYOffset||c.scrollTop||l.scrollTop,u=d.pageXOffset||c.scrollLeft||l.scrollLeft,f=c.clientTop||l.clientTop||0,h=c.clientLeft||l.clientLeft||0;if(!i&&o&&o.options&&o.options.iframe&&o.iframe){var g=t.offset(o.iframe,o,o.ownerDocument,!0);r=s.top+g.top,a=s.left+g.left}else r=s.top+p-f,a=s.left+u-h;return{top:Math.round(r),left:Math.round(a),width:s.width,height:s.height}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!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)||!~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}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(45),i=o(52);t.convertMediaURLToVideoEmbed=function(e,t,o){if(void 0===t&&(t=400),void 0===o&&(o=345),!n.isURL(e))return e;var r=document.createElement("a"),a=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;r.href=e,t=t||400,o=o||345;var s=r.protocol||"";switch(r.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=r.search?i.parseQuery(r.search):{v:r.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}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="JoditDataBindKey";t.dataBind=function(e,t,o){var i=e[n];if(i||Object.defineProperty(e,n,{enumerable:(i={},!1),configurable:!0,value:i}),void 0===o)return i[t];i[t]=o}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.humanSizeToBytes=function(e){if(/^[0-9.]+$/.test(""+e))return parseFloat(e);var t=e.substr(-2,2).toUpperCase(),o=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return~o.indexOf(t)?n*Math.pow(1024,1+o.indexOf(t)):parseInt(e,10)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inView=function(e,t,o){var n=e.getBoundingClientRect(),i=e,r=n.top,a=n.height;do{if(i&&i.parentNode){if(r>(n=(i=i.parentNode).getBoundingClientRect()).bottom)return!1;if(r+a<=n.top)return!1}}while(i&&i!==t&&i.parentNode);return r<=(o.documentElement&&o.documentElement.clientHeight||0)},t.scrollIntoView=function(e,o,n){t.inView(e,o,n)||(o.clientHeight!==o.scrollHeight&&(o.scrollTop=e.offsetTop),t.inView(e,o,n)||e.scrollIntoView())}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.val=function(e,t,o){var n=e.querySelector(t);return n?(o&&(n.value=o),n.value):""}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(i.prototype.undo=function(){this.observer.snapshot.restore(this.oldValue)},i.prototype.redo=function(){this.observer.snapshot.restore(this.newValue)},i);function i(e,t,o){this.observer=o,this.oldValue=e,this.newValue=t}t.Command=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(8),a=o(0),s=(i.__extends(l,n=r.Component),l.prototype.hide=function(){this.container&&(this.container.style.display="none")},l.prototype.show=function(){this.container&&(this.container.style.display="block")},l.prototype.append=function(e,t){void 0===t&&(t=!1);var o=this.jodit.create.div("jodit_statusbar_item");t&&o.classList.add("jodit_statusbar_item-right"),o.appendChild(e),this.container.appendChild(o),this.show(),this.jodit.events.fire("resize")},l.prototype.destruct=function(){a.Dom.safeRemove(this.container),delete this.container,n.prototype.destruct.call(this)},l);function l(e,t){var o=n.call(this,e)||this;return o.target=t,o.container=e.create.div("jodit_statusbar"),t.appendChild(o.container),o.hide(),o}t.StatusBar=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultNameSpace="JoditEventDefaultNamespace";var n=(i.prototype.get=function(e,t){if(void 0!==this.__store[t])return this.__store[t][e]},i.prototype.indexOf=function(e,t,o){var n=this.get(e,t);if(n)for(var i=0;i<n.length;i+=1)if(n[i].originalCallback===o)return i;return!1},i.prototype.namespaces=function(e){void 0===e&&(e=!1);var o=Object.keys(this.__store);return e?o.filter((function(e){return e!==t.defaultNameSpace})):o},i.prototype.events=function(e){return this.__store[e]?Object.keys(this.__store[e]):[]},i.prototype.set=function(e,t,o,n){void 0===n&&(n=!1),void 0===this.__store[t]&&(this.__store[t]={}),void 0===this.__store[t][e]&&(this.__store[t][e]=[]),n?this.__store[t][e].unshift(o):this.__store[t][e].push(o)},i.prototype.clear=function(){delete this.__store,this.__store={}},i);function i(){this.__store={}}t.EventHandlersStore=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(8),a=o(0),s=o(65),l=o(15),c=(i.__extends(d,n=r.Component),d.prototype.destruct=function(){this.isDestructed&&(a.Dom.safeRemove(this.container),delete this.container,n.prototype.destruct.call(this))},d.prototype.lock=function(e){return void 0===e&&(e="any"),!this.isLocked()&&(this.__whoLocked=e,!0)},d.prototype.unlock=function(){return!!this.isLocked()&&!(this.__whoLocked="")},d.prototype.toggleFullSize=function(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e)},d);function d(e){var t=n.call(this,e)||this;return t.__whoLocked="",t.__isFullSize=!1,t.ownerDocument=document,t.ownerWindow=window,t.isLocked=function(){return""!==t.__whoLocked},t.isLockedNotBy=function(e){return t.isLocked()&&t.__whoLocked!==e},t.isFullSize=function(){return t.__isFullSize},e&&e.ownerDocument&&(t.ownerDocument=e.ownerDocument,t.ownerWindow=e.ownerWindow),t.create=new s.Create(t.ownerDocument,l.isJoditObject(e)?e.editorDocument:void 0),t.container=t.create.div(),t}t.Panel=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(61),t),n.__exportStar(o(60),t),n.__exportStar(o(25),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(26),a=(i.__extends(s,n=r.ToolbarElement),s);function s(e){var t=n.call(this,e)||this;return t.container.classList.add("jodit_toolbar_btn-break"),t}t.ToolbarBreak=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(4),a=o(27),s=o(28),l=o(20),c=(i.__extends(d,n=s.Popup),d.prototype.doClose=function(){this.toolbar&&(this.toolbar.destruct(),delete this.toolbar)},d.prototype.doOpen=function(e){var t=this;this.toolbar=l.JoditToolbarCollection.makeCollection(this.jodit);var o="string"==typeof e.list?e.list.split(/[\s,]+/):e.list;r.each(o,(function(o,n){function r(e){return l&&l[e]}var s,l=t.jodit.options.controls;"string"==typeof n&&r(n)?s=new a.ToolbarButton(t.toolbar,i.__assign({name:""+n},r(n)),t.current):"string"==typeof o&&r(o)&&"object"==typeof n?s=new a.ToolbarButton(t.toolbar,i.__assign(i.__assign({name:""+o},r(o)),n),t.current):(s=new a.ToolbarButton(t.toolbar,{name:""+o,exec:e.exec,command:e.command,isActive:e.isActiveChild,isDisable:e.isDisableChild,mode:e.mode,args:[e.args&&e.args[0]||o,e.args&&e.args[1]||n]},t.current)).textBox.innerHTML=(e.template||t.defaultControl.template)(t.jodit,""+o,""+n),t.toolbar.appendChild(s)})),this.container.appendChild(this.toolbar.container),this.container.style.removeProperty("marginLeft"),this.toolbar.checkActiveButtons()},d.prototype.firstInFocus=function(){this.toolbar.firstButton.focus()},d.prototype.destruct=function(){this.isDestructed||(this.doClose(),n.prototype.destruct.call(this))},d);function d(e,t,o,i){void 0===i&&(i="jodit_toolbar_list");var r=n.call(this,e,t,o,i)||this;return r.target=t,r.current=o,r.className=i,r.defaultControl={template:function(e,t,o){return r.jodit.i18n(o)}},r}t.PopupList=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(0),a=o(5),s=o(26),l=(i.__extends(c,n=s.ToolbarElement),c.prototype.destruct=function(){return this.hide(),this.jodit&&this.jodit.events&&this.jodit.events.off("change updateToolbar scroll hidePopup closeAllPopups hideTooltip",this.hide),n.prototype.destruct.call(this)},c);function c(e){var t=n.call(this,e.parentToolbar||e.jodit,"div","jodit_tooltip")||this;return t.button=e,t.timeout=0,t.show=function(){var e=t.button.jodit.options.showTooltipDelay||10*t.button.jodit.defaultTimeout;t.button.jodit.events.fire("hideTooltip"),t.timeout=a.setTimeout((function(){t.button.container.appendChild(t.container),t.container.style.marginLeft=-(t.container.offsetWidth-t.button.container.offsetWidth)/2+"px"}),e)},t.hide=function(){window.clearTimeout(t.timeout),r.Dom.safeRemove(t.container)},e.control.tooltip&&(t.container.innerHTML=e.tooltipText,e.jodit.events.on(e.anchor,"mouseenter",t.show).on(e.anchor,"mouseleave",t.hide).on("change updateToolbar scroll hidePopup closeAllPopups hideTooltip",t.hide)),t}t.ToolbarTooltip=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(26),a=(i.__extends(s,n=r.ToolbarElement),s);function s(e){var t=n.call(this,e)||this;return t.container.classList.add("jodit_toolbar_btn-separator"),t}t.ToolbarSeparator=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ucfirst=function(e){return e.length?e[0].toUpperCase()+e.substr(1):""}},function(e,t,o){"use strict";var n=o(122),i=o(123),r=o(124),a=o(125),s=o(126),l=o(127),c=o(128),d=o(129),p=o(130),u=o(131),f=o(132),h=o(133),g=o(134),m=o(135),v=o(136),b=o(137),y={ar:n.default,de:r.default,cs_cz:i.default,en:b.default,es:a.default,fr:s.default,he:l.default,hu:c.default,id:d.default,it:p.default,nl:u.default,pt_br:f.default,ru:h.default,tr:g.default,zh_cn:m.default,zh_tw:v.default},x={};Array.isArray(b.default)&&b.default.forEach((function(e,t){x[t]=e})),Object.keys(y).forEach((function(e){var t=y[e];Array.isArray(t)&&(y[e]={},t.forEach((function(t,o){y[e][x[o]]=t})))})),e.exports=y},function(e,t){e.exports.default=["إبدأ في الكتابة...","حول جوديت","محرر جوديت","الإصدار الغير تجاري مجاني","رخصة جنو العمومية العامة ، الإصدار الثاني أو الأحدث","دليل مستخدم جوديت","يحتوي على مساعدة مفصلة للاستخدام","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","شراء النسخة الكاملة","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","مِرْساة","فتح في نافذة جديدة","فتح المحرر في الحجم الكامل","مسح التنسيق","ملء اللون أو تعيين لون النص","إعادة","تراجع","عريض","مائل","إدراج قائمة غير مرتبة","إدراج قائمة مرتبة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","إدراج خط أفقي","إدراج صورة","ادخال الملف","إدراج فيديو يوتيوب/فيميو ","إدراج رابط","حجم الخط","نوع الخط","إدراج كتلة تنسيق","عادي","عنوان 1","عنوان 2","عنوان 3","عنوان 4","إقتباس","كود","إدراج","إدراج جدول","تقليل المسافة البادئة","زيادة المسافة البادئة","تحديد أحرف خاصة","إدراج حرف خاص","تنسيق الرسم","تغيير الوضع","هوامش","أعلى","يمين","أسفل","يسار","الأنماط","الطبقات","محاذاة","اليمين","الوسط","اليسار","--غير مضبوط--","Src","العنوان","العنوان البديل","الرابط","افتح الرابط في نافذة جديدة","الصورة","ملف","متقدم","خصائص الصورة","إلغاء","حسنا","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","الصق ك HTML","احتفظ",null,"إدراج كنص","إدراج النص فقط",null,null,"متصفح الملفات","حدث خطأ في تحميل القائمة ","حدث خطأ في تحميل المجلدات","هل أنت واثق؟","أدخل اسم المجلد","إنشاء مجلد","أكتب إسم","إسقاط صورة","إسقاط الملف","أو أنقر","النص البديل","تصفح","رفع","الخلفية","نص","أعلى","الوسط","الأسفل","إدراج عمود قبل","إدراج عمود بعد","إدراج صف أعلى","إدراج صف أسفل","حذف الجدول","حذف الصف","حذف العمود","خلية فارغة","مصدر","بالخط العريض","مائل","شغل","صلة","إلغاء","كرر","طاولة","صورة","نظيف","فقرة","حجم الخط","فيديو","الخط","حول المحرر","طباعة","رمز","أكد","شطب","المسافة البادئة","نتوء","ملء الشاشة","الحجم التقليدي","نسخ التنسيق","الخط","قائمة","قائمة مرقمة","قطع","اختر الكل","قانون","فتح الرابط","تعديل الرابط","سمة Nofollow","إزالة الرابط","مراجعة","لتحرير","تحديث","URL","تحرير","محاذاة أفقية","فلتر","عن طريق التغيير","بالاسم","حسب الحجم","إضافة مجلد","إعادة","احتفظ","حفظ باسم","تغيير الحجم","حجم القطع","عرض","ارتفاع","حافظ على النسب","أن","لا","حذف","تميز","%d حرف","%d كلام",null,"تميز %s","اختر الكل","محاذاة عمودية","انشق، مزق","انقسام عمودي","تقسيم أفقي","اذهب","أضف العمود","اضف سطر","حذف","الحدود","رخصة %s","اضرب من خلال","أكد","حرف فوقي","مخطوطة","قطع الاختيار","استراحة","البحث عن","استبدل ب","يحل محل","معجون","اختر محتوى للصق","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","تم تحميل الصورة بنجاح على الخادم!","لوحة","لا توجد ملفات في هذا الدليل.","إعادة تسمية","أدخل اسم جديد","معاينة","تحميل","لصق من الحافظة","متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","نسخ التحديد","نسخ"]},function(e,t){e.exports.default=["Napiš něco","O Jodit","Editor Jodit","Verze pro nekomerční použití","Licence GNU (GPL), verze 2 nebo vyšší","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","symbol","podtrženo","přeškrtnuto","zvětšit odsazení","zmenšit odsazení","celoobrazovkový režim","smrsknout","Kopírovat formát","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","Nahradit","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í"]},function(e,t){e.exports.default=["Bitte geben Sie einen Text ein","Über Jodit","Jodit Editor","Freie Nicht-kommerzielle Version","GNU General Public License, Version 2 oder höher","Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Lizenz-Informationen, besuchen Sie bitte unsere Webseite:","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","Ungeordnete Liste einfügen","Sortierte 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 Stiel","CSS Klassen","Ausrichten","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Es scheint als dass Sie HTML-Text einfügen möchten","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 löschen?","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 einfügen vor","Spalte einfügen nach","Zeile einfügen oberhalb","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Leere Zelle","HTML","Fett gedruckt","kursiv","Bürste","Verknüpfung","rückgängig machen","wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","drucken","Symbol","unterstreichen","durchgestrichen","Einzug","Aussenseiter","Vollgröße","schrumpfen","Format kopierenт","die Linie","Liste von","Nummerierte Liste","Schnitt","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","Ändern Sie die Größe","Größe anpassen","Breite","Höhe","Halten Sie Proportionen","Ja","Nein","Entfernen","Markieren","Zeichen: %d","Wörter: %d","Wählen Sie Alle aus","Markieren: %s","Wählen Sie Alle aus","Vertikale Ausrichtung",null,"Split vertikal","Split horizontally","Verschmelzen","Spalte hinzufügen","Zeile hinzufügen","Löschen","Rand",null,"Durchschlagen","Unterstreichen","hochgestellt","Index","Auswahl ausschneid","Pause","Suche nach","Ersetzen durch","Ersetzen","Einfügen","Wählen Sie Inhalt zum Einfügen","Sie können nur Ihre eigenen Bilder bearbeiten. Laden Sie dieses Bild auf dem Host herunter?","Das Bild wurde erfolgreich auf den Server hochgeladen!null","Palette","In diesem Verzeichnis befinden sich keine Dateien.","umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus der Zwischenablage einfügen","Ihr browser unterstützt kein direkter Zugriff auf die Zwischenablage.","Auswahl kopieren","kopieren"]},function(e,t){e.exports.default=["Escriba algo...","Acerca de Jodit","Jodit Editor","Versión gratis no comercial","GNU General Public License, Versión 2 o posterior","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","Símbolo","subrayar","tachar","sangría","quitar sangría","Tamaño completo","encoger","Copiar formato","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",null,"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"]},function(e,t){e.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit","Version gratuite, non commerciale","GNU General Public License, version 2 ou ultérieure","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","Effacer","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","caractère","souligné","barré","indentation","indifférent","taille réelle","taille conventionnelle","Format de copie","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",null,null,null,"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"]},function(e,t){e.exports.default=["הקלד משהו...","About Jodit","Jodit Editor","Free Non-commercial Version","GNU General Public License, version 2 or later","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,"פיצול אנכי","פיצול אופקי","מזג","הוסף עמודה","הוסף שורה","מחק","מסגרת",null,"קו חוצה","קו תחתון","superscript","subscript","גזור בחירה","שבירת שורה","חפש","החלף ב","החלף","הדבק","בחר תוכן להדבקה","רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","התמונה עלתה בהצלחה!","לוח","אין קבצים בספריה זו.","הונגרית","הזן שם חדש","תצוגה מקדימה","הורד","להדביק מהלוח","הדפדפן שלך לא תומך גישה ישירה ללוח.","העתק בחירה","העתק"]},function(e,t){e.exports.default=["Írjon be valamit","Joditról","Jodit Editor","Ingyenes változat","GNU General Public License, Verzió 2 vagy későbbi","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","Szimbólum","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Formátum másolás","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","Csere","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"]},function(e,t){e.exports.default=["Ketik sesuatu","Tentang Jodit","Editor Jodit","Versi Bebas Non-komersil","Lisensi Publik Umum (GPL), versi 2 atau terbaru","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","simbol","garis bawah","coret","menjorok ke dalam","menjorok ke luar","ukuran penuh","menyusut","salin format","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","Ganti","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"]},function(e,t){e.exports.default=["Scrivi qualcosa...","A proposito di Jodit","Jodit Editor","Versione gratuita non commerciale","Licenza pubblica generale GNU, versione 2 o successiva","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","Simbolo","Sottolineato","Barrato","trattino","annulla rientro","A grandezza normale","comprimere","Copia il formato","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",null,"Dividere verticalmente","Diviso orizzontale","Fondi","Aggiungi colonna","Aggiungi riga","Cancella","Bordo",null,"Barrato","Sottolineato","indice","deponente","Taglia la selezione","Pausa","Cerca","Sostituisci con","Sostituisci","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"]},function(e,t){e.exports.default=["Begin met typen..","Over Jodit","Jodit Editor","Gratis niet-commerciële versie","GNU General Public License, versie 2 of hoger","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","symbool","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","opmaak kopiëren","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",null,"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"]},function(e,t){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit","Versão Gratuita não-comercial","Licença Pública GNU General, Versão 2 ou posterior","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 é simular 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","Símbolo","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","Copiar formato","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",null,"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"]},function(e,t){e.exports.default=["Напишите что-либо","О Jodit","Редактор Jodit","Версия для не коммерческого использования","Стандартная общественная лицензия GNU (GPL), версия 2 или выше","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","Перечеркнуть","Подчеркивание","верхний индекс","индекс","Вырезать","Разделитель","Найти","Заменить на","Заменить","Вставить","Выбрать контент для вставки","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Изображение успешно загружено на сервер!","палитра","В данном каталоге нет файлов","Переименовать","Введите новое имя","Предпросмотр","Скачать","Вставить из буфера обмена","Ваш браузер не поддерживает прямой доступ к буферу обмена.","Скопировать выделенное","копия"]},function(e,t){e.exports.default=["Bir şey yazın.","Jodit Hakkında","Jodit Editor","Ücretsiz, ticari olmayan versiyon","GNU General Public License, Versiyon 2 ve sonrası için","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 versiyon satın al","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm Hakları Saklıdır","Bağlantı","Yeni sekmede aç","Tam ekran editör","Stili temizle","Dolgu ve yazı rengi seç","İleri Al","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ı","Code","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","Özel Karakter Seç","Özel Karakter Ekle","Resim Biçimi","Mod Değiştir","MEsafeler","Üst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirlenmedi","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","Nur Text einfügen","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 Gezgini","Liste yüklenirken hata oluştu","Klasörler yüklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","Typname","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Ekle","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","Kolon sil","Hücreyi boşalt","Kaynak","Kalın","italik","Fırça","Bağlantı","Geri al","İleri al","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Sembol","Alt çizgi","Üstü çizili","Girinti","Çıkıntı","Tam ekran","Küçült","Kopyalama Biçimi","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 hizalama","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 hizalama",null,"Dikey ayır","Yatay ayır","Birleştir","Kolon ekle","Satır ekle","Sil","Kenarlık",null,"Durchschlagen","Alt çizgi","Üst yazı","Alt yazı","Seçilimi kes","Durdur","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","Palette","Bu dizinde dosya yok.","Macarca","Yeni isim girin","Ön izleme","İndir","Panodan yapıştır ","Tarayıcınız pano doğrudan erişim desteklemiyor.","Kopya seçimi","kopya"]},function(e,t){e.exports.default=["输入一些内容","关于Jodit","Jodit Editor","Free Non-commercial Version","GNU General Public License, version 2 or later","开发者指南","使用帮助","有关许可证的信息，请访问我们的网站：","购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","youtube/vimeo 视频","链接","字号","字体","格式块","文本","标题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","Unlink","回顧","铅笔","更新","URL",null,"水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹","重置","保存","保存为","调整大小","Crop","宽","高","保存长宽比","是","不","移除","选择","字符数: %d","单词数: %d","全部","选择: %s","全选","垂直对齐",null,"垂直拆分","水平拆分","合并","添加列","添加行","删除","边框",null,"删除线","下划线","上标","下标","剪切","Pause","查找","替换为","替换","粘贴","选择内容并粘贴","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制的选择","复制"]},function(e,t){e.exports.default=["輸入一些內容","關於Jodit","Jodit Editor","Free Non-commercial Version","GNU General Public License, version 2 or later","開發者指南","使用幫助","有關許可證的信息，請訪問我們的網站：","購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","在新窗口打開","全屏編輯","清除樣式","顏色","重做","撤銷","粗體","斜體","符號列表","編號","居中","對齊文本","左對齊","右對齊","分割線","圖片","文件","youtube/vimeo 影片","鏈接","字號","字體","格式塊","文本","標題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","Unlink","回顧","鉛筆","更新","URL",null,"水平對齊","篩選","修改時間排序","名稱排序","大小排序","新建文件夾","重置","保存","保存為","調整大小","Crop","寬","高","保存長寬比","是","不","移除","選擇","字符數: %d","單詞數: %d","全部","選擇: %s","全選","垂直對齊",null,"垂直拆分","水平拆分","合併","添加列","添加行","刪除","邊框",null,"刪除線","下劃線","上標","下標","剪切","Pause","查找","替換為","替換","黏貼","選擇內容並黏貼","妳只能編輯妳自己的圖片。Download this image on the host?","圖片上傳成功","調色板","此目錄中沒有文件。","重命名","輸入新名稱","預覽","下載","วางจากคลิปบอร์ด","ของเบราว์เซอร์ไม่สนับสนุนโดยตรงเข้าไปยังคลิปบอร์ด","คัดลอกส่วนที่เลือก","คัดลอก"]},function(e,t){e.exports.default=["Type something","About Jodit","Jodit Editor","Free Non-commercial Version","GNU General Public License, version 2 or later","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 editor 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","symbol","underline","strikethrough","indent","outdent","fullsize","shrink","copyformat","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"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(16),i=o(6);t.Alert=function(e,t,o,l){void 0===l&&(l="jodit_alert"),"function"==typeof t&&(o=t,t=void 0);var c=new n.Dialog,d=c.create.div(l),p=c.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+i.ToolbarIcon.getIcon("cancel")+"<span>"+r.Jodit.prototype.i18n("Ok")+"</span></a>");return a.asArray(e).forEach((function(e){d.appendChild(s.Dom.isNode(e,c.window)?e:c.create.fromHTML(e))})),p.addEventListener("click",(function(){o&&"function"==typeof o&&!1===o(c)||c.close()})),c.setFooter([p]),c.open(d,t||"&nbsp;",!0,!0),p.focus(),c};var r=o(11),a=o(31),s=o(0)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(16),s=o(67),l=o(66),c=o(6),d=o(25),p=o(24),u=o(19),f=o(12),h=o(53),g=o(14),m=o(18),v=o(62);o(140);var b,y=o(0),x=o(5),_=o(13),w=o(141),k=o(142),j=o(143),C=o(144),S=o(145),A=o(41),M=A.ITEM_CLASS+"-active-true",E=(n.__extends(z,b=v.ViewWithToolbar),Object.defineProperty(z.prototype,"defaultTimeout",{get:function(){return this.jodit&&this.jodit!==this?this.jodit.defaultTimeout:i.Config.defaultOptions.observer.timeout},enumerable:!0,configurable:!0}),z.prototype.loadItems=function(e,t){return void 0===e&&(e=this.dataProvider.currentPath),void 0===t&&(t=this.dataProvider.currentSource),n.__awaiter(this,void 0,void 0,(function(){var o=this;return n.__generator(this,(function(n){return this.files.classList.add("active"),this.files.appendChild(this.loader.cloneNode(!0)),[2,this.dataProvider.items(e,t).then((function(e){var t=o.options.items.process;if(t=t||o.options.ajax.process){var n=t.call(self,e);o.generateItemsList(n.data.sources),o.state.activeElements=[]}})).catch((function(e){_.Alert(e.message),o.errorHandler(e)}))]}))}))},z.prototype.loadTree=function(){return n.__awaiter(this,void 0,void 0,(function(){var e,t,o,i,r,a=this;return n.__generator(this,(function(n){return e=this.dataProvider.currentPath,t=this.dataProvider.currentSource,o=function(e){throw e instanceof Error?e:Error(e)},this.uploader&&(this.uploader.setPath(e),this.uploader.setSource(t)),this.tree.classList.add("active"),y.Dom.detach(this.tree),this.tree.appendChild(this.loader.cloneNode(!0)),this.options.showFoldersPanel?(i=this.dataProvider.tree(e,t).then((function(e){var t=a.options.folder.process;if(t=t||a.options.ajax.process){var o=t.call(self,e);a.generateFolderTree(o.data.sources)}})).catch((function(e){a.errorHandler(Error(a.jodit.i18n("Error on load folders"))),o(e)})),r=this.loadItems(e,t),[2,Promise.all([i,r]).catch(o)]):(this.tree.classList.remove("active"),[2])}))}))},z.prototype.deleteFile=function(e,t){return n.__awaiter(this,void 0,void 0,(function(){var o=this;return n.__generator(this,(function(n){return[2,this.dataProvider.fileRemove(this.dataProvider.currentPath,e,t).then((function(t){if(o.options.remove&&o.options.remove.process&&(t=o.options.remove.process.call(o,t)),!o.options.isSuccess(t))throw Error(o.options.getMessage(t));o.status(o.options.getMessage(t)||o.i18n('File "%s" was deleted',e),!0)})).catch(this.status)]}))}))},z.prototype.generateFolderTree=function(e){var t=[];p.each(e,(function(e,o){o.folders.forEach((function(n){t.push({name:n,source:o,sourceName:e})}))})),this.state.folders=t},z.prototype.generateItemsList=function(e){var t=this,o=[],i=this.state;p.each(e,(function(e,r){r.files&&r.files.length&&("function"==typeof t.options.sort&&r.files.sort((function(e,o){return t.options.sort(e,o,i.sortBy)})),r.files.forEach((function(a){i.filterWord.length&&void 0!==t.options.filter&&!t.options.filter(a,i.filterWord)||t.state.onlyImages&&void 0!==a.isImage&&!a.isImage||o.push(C.FileBrowserItem.create(n.__assign(n.__assign({},a),{sourceName:e,source:r})))})))})),this.state.elements=o},z.prototype.onSelect=function(e){var t=this;return function(){if(t.state.activeElements.length){var o=[];t.state.activeElements.forEach((function(e){var t=e.fileURL;t&&o.push(t)})),t.close(),"function"==typeof e&&e({baseurl:"",files:o})}return!1}},z.prototype.isOpened=function(){return this.dialog.isOpened()&&"none"!==this.browser.style.display},z.prototype.elementToItem=function(e){return this.elementsMap[e.dataset.key||""].item},z.prototype.stateToView=function(){var e=this,t=this.state,o=this.files,n=this.create,i=this.options;t.on("beforeChange.activeElements",(function(){t.activeElements.forEach((function(t){var o=e.elementsMap[t.uniqueHashKey].elm;o&&o.classList.remove(M)}))})).on("change.activeElements",(function(){e.events.fire("changeSelection"),t.activeElements.forEach((function(t){var o=e.elementsMap[t.uniqueHashKey].elm;o&&o.classList.add(M)}))})).on("change.view",(function(){o.classList.remove(A.F_CLASS+"_files_view-tiles"),o.classList.remove(A.F_CLASS+"_files_view-list"),o.classList.add(A.F_CLASS+"_files_view-"+t.view),e.storage.set(A.F_CLASS+"_view",t.view)})).on("change.sortBy",(function(){e.storage.set(A.F_CLASS+"_sortby",t.sortBy)})).on("change.elements",x.debounce((function(){y.Dom.detach(o),t.elements.length?t.elements.forEach((function(t){e.files.appendChild(function(t){var o=t.uniqueHashKey;if(e.elementsMap[o])return e.elementsMap[o].elm;var r=n.fromHTML(i.getThumbTemplate.call(e,t,t.source,""+t.sourceName));return e.elementsMap[r.dataset.key=o]={item:t,elm:r},e.elementsMap[o].elm}(t))})):o.appendChild(n.div(A.F_CLASS+"_no_files",e.i18n("There are no files")))}),this.defaultTimeout)).on("change.folders",x.debounce((function(){function o(t,o,r){void 0===r&&(r=!1),t&&a&&(t!==a||r)&&i.createNewFolder&&e.dataProvider.canI("FolderCreate")&&(e.tree.appendChild(n.a("jodit_button addfolder",{href:"javascript:void(0)","data-path":u.normalizePath(t.path+"/"),"data-source":o},c.ToolbarIcon.getIcon("plus")+" "+e.i18n("Add folder"))),a=t)}y.Dom.detach(e.tree);var r="default",a=null;t.folders.forEach((function(t){var s=t.name,l=t.source,d=t.sourceName;d&&d!==r&&(e.tree.appendChild(n.div(A.F_CLASS+"_source_title",d)),r=d);var p=n.a(A.F_CLASS+"_tree_item",{draggable:"draggable",href:"javascript:void(0)","data-path":u.normalizePath(l.path,s+"/"),"data-name":s,"data-source":d,"data-source-path":l.path},n.span(A.F_CLASS+"_tree_item_title",s));o(l,d),a=l,e.tree.appendChild(p),".."!==s&&"."!==s&&(i.deleteFolder&&e.dataProvider.canI("FolderRename")&&p.appendChild(n.element("i",{class:"jodit_icon_folder jodit_icon_folder_rename",title:e.i18n("Rename")},c.ToolbarIcon.getIcon("pencil"))),i.deleteFolder&&e.dataProvider.canI("FolderRemove")&&p.appendChild(n.element("i",{class:"jodit_icon_folder jodit_icon_folder_remove",title:e.i18n("Delete")},c.ToolbarIcon.getIcon("cancel"))))})),o(a,r,!0)}),this.defaultTimeout))},z.prototype.initEventsListeners=function(){var e=this,t=this.state,o=this;o.events.on("view.filebrowser",(function(e){e!==t.view&&(t.view=e)})).on("sort.filebrowser",(function(e){e!==t.sortBy&&(t.sortBy=e,o.loadItems())})).on("filter.filebrowser",(function(e){e!==t.filterWord&&(t.filterWord=e,o.loadItems())})).on("fileRemove.filebrowser",(function(){o.state.activeElements.length&&s.Confirm(o.i18n("Are you sure?"),"",(function(e){if(e){var t=[];o.state.activeElements.forEach((function(e){t.push(o.deleteFile(e.file||e.name||"",e.sourceName))})),o.state.activeElements=[],Promise.all(t).then((function(){return o.loadTree()}))}}))})).on("edit.filebrowser",(function(){if(1===o.state.activeElements.length){var t=e.state.activeElements[0];o.openImageEditor(t.fileURL,t.file||"",t.path,t.sourceName)}})).on("fileRename.filebrowser",(function(e,t,n){1===o.state.activeElements.length&&l.Promt(o.i18n("Enter new name"),o.i18n("Rename"),(function(i){if(!S.isValidName(i))return o.status(o.i18n("Enter new name")),!1;o.dataProvider.fileRename(t,e,i,n).then((function(e){if(o.options.fileRename&&o.options.fileRename.process&&(e=o.options.fileRename.process.call(o,e)),!o.options.isSuccess(e))throw Error(o.options.getMessage(e));o.state.activeElements=[],o.status(o.options.getMessage(e),!0),o.loadItems()})).catch(o.status)}),o.i18n("type name"),e)})).on("update.filebrowser",(function(){o.loadTree()}))},z.prototype.initNativeEventsListeners=function(){var e=this,t=!1,o=this;o.events.on(o.tree,"click",(function(e){var t=this.parentNode,n=t.getAttribute("data-path")||"";return s.Confirm(o.i18n("Are you sure?"),o.i18n("Delete"),(function(e){e&&o.dataProvider.folderRemove(n,t.getAttribute("data-name")||"",t.getAttribute("data-source")||"").then((function(e){if(o.options.folderRemove&&o.options.folderRemove.process&&(e=o.options.folderRemove.process.call(o,e)),!o.options.isSuccess(e))throw Error(o.options.getMessage(e));o.state.activeElements=[],o.status(o.options.getMessage(e),!0),o.loadTree()})).catch(o.status)})),e.stopImmediatePropagation(),!1}),"a>.jodit_icon_folder_remove").on(o.tree,"click",(function(e){var t=this.parentNode,n=t.getAttribute("data-name")||"",i=t.getAttribute("data-source-path")||"";return l.Promt(o.i18n("Enter new name"),o.i18n("Rename"),(function(e){if(!S.isValidName(e))return o.status(o.i18n("Enter new name")),!1;o.dataProvider.folderRename(i,t.getAttribute("data-name")||"",e,t.getAttribute("data-source")||"").then((function(e){if(o.options.folderRename&&o.options.folderRename.process&&(e=o.options.folderRename.process.call(o,e)),!o.options.isSuccess(e))throw Error(o.options.getMessage(e));o.state.activeElements=[],o.status(o.options.getMessage(e),!0),o.loadTree()})).catch(o.status)}),o.i18n("type name"),n),e.stopImmediatePropagation(),!1}),"a>.jodit_icon_folder_rename").on(o.tree,"click",(function(){var e=this;this.classList.contains("addfolder")?l.Promt(o.i18n("Enter Directory name"),o.i18n("Create directory"),(function(t){o.dataProvider.createFolder(t,e.getAttribute("data-path")||"",e.getAttribute("data-source")||"").then((function(e){return o.options.isSuccess(e)?o.loadTree():o.status(o.options.getMessage(e)),e}),o.status)}),o.i18n("type name")):(o.dataProvider.currentPath=this.getAttribute("data-path")||"",o.dataProvider.currentSource=this.getAttribute("data-source")||"",o.loadTree())}),"a").on(o.tree,"dragstart",(function(){o.options.moveFolder&&(t=this)}),"a").on(o.tree,"drop",(function(){if((o.options.moveFile||o.options.moveFolder)&&t){var e=t.getAttribute("data-path")||"";if(!o.options.moveFolder&&t.classList.contains(A.F_CLASS+"_tree_item"))return!1;if(t.classList.contains(A.ITEM_CLASS)&&(e+=t.getAttribute("data-name"),!o.options.moveFile))return!1;o.dataProvider.move(e,this.getAttribute("data-path")||"",this.getAttribute("data-source")||"",t.classList.contains(A.ITEM_CLASS)).then((function(e){o.options.isSuccess(e)?o.loadTree():o.status(o.options.getMessage(e))}),o.status),t=!1}}),"a").on(o.files,"contextmenu",k.default(o),"a").on(o.files,"click",(function(t){h.ctrlKey(t)||(e.state.activeElements=[])})).on(o.files,"click",(function(e){var t=o.elementToItem(this);if(t)return o.state.activeElements=h.ctrlKey(e)?n.__spreadArrays(o.state.activeElements,[t]):[t],e.stopPropagation(),!1}),"a").on(o.files,"dragstart",(function(){o.options.moveFile&&(t=this)}),"a").on(o.dialog.container,"drop",(function(e){return e.preventDefault()}))},z.prototype.initUploader=function(e){function t(){a.loadItems()}var o,r,a=this,s=this,l=g.extend(!0,{},i.Config.defaultOptions.uploader,s.options.uploader,n.__assign({},null===(r=null===(o=e)||void 0===o?void 0:o.options)||void 0===r?void 0:r.uploader));s.uploader=s.getInstance("Uploader",l),s.uploader.setPath(s.dataProvider.currentPath),s.uploader.setSource(s.dataProvider.currentSource),s.uploader.bind(s.browser,t,s.errorHandler),s.events.on("bindUploader.filebrowser",(function(e){s.uploader.bind(e,t,s.errorHandler)}))},z.prototype.destruct=function(){this.dialog.destruct(),delete this.dialog,this.events&&this.events.off(".filebrowser"),this.uploader&&this.uploader.destruct(),delete this.uploader,b.prototype.destruct.call(this)},z);function z(e,t){var o=b.call(this,e,t)||this;o.loader=o.create.div(A.F_CLASS+"_loader",A.ICON_LOADER),o.browser=o.create.div(A.F_CLASS+" non-selected"),o.status_line=o.create.div(A.F_CLASS+"_status"),o.tree=o.create.div(A.F_CLASS+"_tree"),o.files=o.create.div(A.F_CLASS+"_files"),o.state=j.ObserveObject.create({activeElements:[],elements:[],folders:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),o.errorHandler=function(e){o.status(e instanceof Error?o.i18n(e.message):o.options.getMessage(e))},o.status=function(e,t){"string"!=typeof e&&(e=e.message),clearTimeout(o.statusTimer),o.status_line.classList.remove("success"),o.status_line.classList.add("active");var n=o.create.div();n.textContent=e,o.status_line.appendChild(n),t&&o.status_line.classList.add("success"),o.statusTimer=m.setTimeout((function(){o.status_line.classList.remove("active"),y.Dom.detach(o.status_line)}),o.options.howLongShowMsg)},o.close=function(){o.dialog.close()},o.open=function(e,t){return void 0===t&&(t=!1),o.state.onlyImages=t,new Promise((function(t,n){if(!o.options.items||!o.options.items.url)throw Error("Need set options.filebrowser.ajax.url");var i=0;o.events.off(o.files,"dblclick").on(o.files,"dblclick",o.onSelect(e),"a").on(o.files,"touchstart",(function(){var t=(new Date).getTime();t-i<r.EMULATE_DBLCLICK_TIMEOUT&&o.onSelect(e)(),i=t}),"a").off("select.filebrowser").on("select.filebrowser",o.onSelect(e));var a=o.create.div();o.toolbar.build(o.options.buttons,a),o.dialog.dialogbox_header.classList.add(A.F_CLASS+"_title_box"),o.dialog.open(o.browser,a),o.events.fire("sort.filebrowser",o.state.sortBy),o.loadTree().then(t,n)}))},o.openImageEditor=function(e,t,n,i,r,a){return o.getInstance("ImageEditor").open(e,(function(e,s,l,c){("resize"===s.action?o.dataProvider.resize(n,i,t,e,s.box):o.dataProvider.crop(n,i,t,e,s.box)).then((function(e){o.options.isSuccess(e)?o.loadTree().then((function(){l(),r&&r()})):(c(Error(o.options.getMessage(e))),a&&a(Error(o.options.getMessage(e))))})).catch((function(e){c(e),a&&a(e)}))}))},o.elementsMap={};var n=o,s=e?e.ownerDocument:document,l=e?e.editorDocument:s;e&&(o.id=e.id),n.options=new i.OptionsDefault(g.extend(!0,{},n.options,i.Config.defaultOptions.filebrowser,t,e?e.options.filebrowser:void 0)),n.storage=d.Storage.makeStorage(o.options.filebrowser.saveStateInStorage),n.dataProvider=new w.default(n.options,n.jodit||n),n.dialog=new a.Dialog(e||n,{fullsize:n.options.fullsize,buttons:["dialog.fullsize","dialog.close"]}),n.options.showFoldersPanel&&n.browser.appendChild(n.tree),n.browser.appendChild(n.files),n.browser.appendChild(n.status_line),o.initEventsListeners(),o.initNativeEventsListeners(),n.dialog.setSize(n.options.width,n.options.height),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((function(e){null!==o.options[e]&&(o.options[e]=g.extend(!0,{},o.options.ajax,o.options[e]))})),n.stateToView();var c=o.storage.get(A.F_CLASS+"_view");n.state.view=c&&null===o.options.view?"list"===c?"list":"tiles":"list"===n.options.view?"list":"tiles";var p=n.storage.get(A.F_CLASS+"_sortby");if(p){var u=p.split("-");n.state.sortBy=["changed","name","size"].includes(u[0])?p:"changed-desc"}else n.state.sortBy=n.options.sortBy||"changed-desc";return n.dataProvider.currentBaseUrl=f.$$("base",l).length?f.$$("base",l)[0].getAttribute("href")||"":location.protocol+"//"+location.host,n.initUploader(e),o}t.FileBrowser=E},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(6),r=o(43),a=o(4),s=o(41);n.Config.prototype.filebrowser={filter:function(e,t){return t=t.toLowerCase(),"string"==typeof e?!!~e.toLowerCase().indexOf(t):"string"==typeof e.name?!!~e.name.toLowerCase().indexOf(t):"string"!=typeof e.file||!!~e.file.toLowerCase().indexOf(t)},sortBy:"changed-desc",sort:function(e,t,o){function n(e,t){return e<t?s?-1:1:t<e?s?1:-1:0}var i=o.toLowerCase().split("-"),r=i[0],s="asc"===i[1];if("string"==typeof e)return n(e.toLowerCase(),t.toLowerCase());if(void 0===e[r]||"name"===r)return"string"==typeof e.name?n(e.name.toLowerCase(),t.name.toLowerCase()):"string"==typeof e.file?n(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(r){case"changed":var l=new Date(e.changed).getTime(),c=new Date(t.changed).getTime();return s?l-c:c-l;case"size":return l=a.humanSizeToBytes(e.size),c=a.humanSizeToBytes(t.size),s?l-c:c-l}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,moveFolder:!0,moveFile:!0,showFoldersPanel:!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&&Array.isArray(e.data.messages)?e.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:!0,getThumbTemplate:function(e,t,o){var n=this.options,i=n.showFileName,r=n.showFileSize&&e.size,a=n.showFileChangeTime&&e.time,l="";return void 0!==e.file&&(l=e.file),'<a data-is-file="'+(e.isImage?0:1)+'" draggable="true" class="'+s.ITEM_CLASS+'" href="'+e.fileURL+'" data-source="'+o+'" data-path="'+e.path+'" data-name="'+l+'" title="'+l+'" data-url="'+e.fileURL+'"><img data-is-file="'+(e.isImage?0:1)+'" data-src="'+e.fileURL+'" src="'+e.imageURL+'" alt="'+l+'" loading="lazy" />'+(i||r||a?'<div class="'+s.ITEM_CLASS+'-info">'+(i?'<span class="'+s.ITEM_CLASS+'-info-filename">'+l+"</span>":"")+(r?'<span class="'+s.ITEM_CLASS+'-info-filesize">'+e.size+"</span>":"")+(a?'<span class="'+s.ITEM_CLASS+'-info-filechanged">'+a+"</span>":"")+"</div>":"")+"</a>"},ajax:{url:"",async:!0,data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,dataType:"json",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"}},uploader:null},n.Config.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,exec:function(){},isDisable:function(e){return!e.dataProvider.canI("FileUpload")},getContent:function(e,t){var o=e.create.fromHTML('<span class="jodit_upload_button">'+i.ToolbarIcon.getIcon("plus")+'<input type="file" accept="'+(e.state.onlyImages?"image/*":"*")+'" tabindex="-1" dir="auto" multiple=""/></span>'),n=o.querySelector("input");return e.events.on("updateToolbar",(function(){t&&t.isDisable&&(t.isDisable(e,t)?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled"))})).fire("bindUploader.filebrowser",o),o}},remove:{icon:"bin",isDisable:function(e){return!e.state.activeElements.length||!e.dataProvider.canI("FileRemove")},exec:function(e){e.events.fire("fileRemove.filebrowser")}},update:{exec:function(e){e.events.fire("update.filebrowser")}},select:{icon:"check",isDisable:function(e){return!e.state.activeElements.length},exec:function(e){e.events.fire("select.filebrowser")}},edit:{icon:"pencil",isDisable: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.events.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:function(e){return"tiles"===e.state.view},exec:function(e){e.events.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:function(e){return"list"===e.state.view},exec:function(e){e.events.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:function(e){var t=e.create.element("input",{class:"jodit_input",placeholder:e.i18n("Filter")});return e.events.on(t,"keydown mousedown",r.debounce((function(){e.events.fire("filter.filebrowser",t.value)}),e.defaultTimeout)),t}},sort:{isInput:!0,getContent:function(e){var t=e.create.fromHTML('<select class="jodit_input"><option value="changed-asc">'+e.i18n("Sort by changed")+' (⬆)</option><option value="changed-desc">'+e.i18n("Sort by changed")+' (⬇)</option><option value="name-asc">'+e.i18n("Sort by name")+' (⬆)</option><option value="name-desc">'+e.i18n("Sort by name")+' (⬇)</option><option value="size-asc">'+e.i18n("Sort by size")+' (⬆)</option><option value="size-desc">'+e.i18n("Sort by size")+" (⬇)</option></select>");return e.events.on("sort.filebrowser",(function(e){t.value!==e&&(t.value=e)})).on(t,"change",(function(){e.events.fire("sort.filebrowser",t.value)})),t}}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(4),r=o(39);t.DEFAULT_SOURCE_NAME="default";var a=(s.prototype.canI=function(e){var t="allow"+e;return null===this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]},s.prototype.get=function(e,t,o){var n=i.extend(!0,{},this.options.ajax,void 0!==this.options[e]?this.options[e]:this.options.ajax);n.prepareData&&(n.data=n.prepareData.call(this,n.data));var a=new r.Ajax(this.parent,n).send();return t&&a.then(t),o&&a.catch(o),a},s.prototype.permissions=function(e,t){return void 0===e&&(e=this.currentPath),void 0===t&&(t=this.currentSource),n.__awaiter(this,void 0,void 0,(function(){var o=this;return n.__generator(this,(function(n){return this.options.permissions?(this.options.permissions.data.path=e,this.options.permissions.data.source=t,this.options.permissions.url?[2,this.get("permissions").then((function(e){var t=o.options.permissions.process;if(t=t||o.options.ajax.process){var n=t.call(self,e);n.data.permissions&&(o.__currentPermissions=n.data.permissions)}}))]:[2,Promise.resolve()]):[2,Promise.resolve()]}))}))},s.prototype.items=function(e,t){return void 0===e&&(e=this.currentPath),void 0===t&&(t=this.currentSource),n.__awaiter(this,void 0,void 0,(function(){var o;return n.__generator(this,(function(n){return(o=this.options).items?(o.items.data.path=e,o.items.data.source=t,[2,this.get("items")]):[2,Promise.reject("Set Items api options")]}))}))},s.prototype.tree=function(e,t){return void 0===e&&(e=this.currentPath),void 0===t&&(t=this.currentSource),n.__awaiter(this,void 0,void 0,(function(){return n.__generator(this,(function(o){switch(o.label){case 0:return e=i.normalizeRelativePath(e),[4,this.permissions(e,t)];case 1:return o.sent(),this.options.folder?(this.options.folder.data.path=e,this.options.folder.data.source=t,[2,this.get("folder")]):[2,Promise.reject("Set Folder Api options")]}}))}))},s.prototype.createFolder=function(e,t,o){var n=this;return this.options.create?(this.options.create.data.source=o,this.options.create.data.path=t,this.options.create.data.name=e,this.get("create").then((function(e){return n.currentPath=t,n.currentSource=o,e}))):Promise.reject("Set Create api options")},s.prototype.move=function(e,t,o,n){var i=n?"fileMove":"folderMove",r=this.options[i];return r?(r.data.from=e,r.data.path=t,r.data.source=o,this.get(i)):Promise.reject("Set Move api options")},s.prototype.fileRemove=function(e,t,o){return this.options.fileRemove?(this.options.fileRemove.data.path=e,this.options.fileRemove.data.name=t,this.options.fileRemove.data.source=o,this.get("fileRemove")):Promise.reject("Set fileRemove api options")},s.prototype.folderRemove=function(e,t,o){return this.options.folderRemove?(this.options.folderRemove.data.path=e,this.options.folderRemove.data.name=t,this.options.folderRemove.data.source=o,this.get("folderRemove")):Promise.reject("Set folderRemove api options")},s.prototype.folderRename=function(e,t,o,n){return this.options.folderRename?(this.options.folderRename.data.path=e,this.options.folderRename.data.name=t,this.options.folderRename.data.newname=o,this.options.folderRename.data.source=n,this.get("folderRename")):Promise.reject("Set folderRename api options")},s.prototype.fileRename=function(e,t,o,n){return this.options.fileRename?(this.options.fileRename.data.path=e,this.options.fileRename.data.name=t,this.options.fileRename.data.newname=o,this.options.fileRename.data.source=n,this.get("fileRename")):Promise.reject("Set fileRename api options")},s.prototype.crop=function(e,t,o,n,i){return this.options.crop||(this.options.crop={data:{}}),void 0===this.options.crop.data&&(this.options.crop.data={action:"crop"}),this.options.crop.data.newname=n||o,i&&(this.options.crop.data.box=i),this.options.crop.data.path=e,this.options.crop.data.name=o,this.options.crop.data.source=t,this.get("crop")},s.prototype.resize=function(e,t,o,n,i){return this.options.resize||(this.options.resize={data:{}}),void 0===this.options.resize.data&&(this.options.resize.data={action:"resize"}),this.options.resize.data.newname=n||o,i&&(this.options.resize.data.box=i),this.options.resize.data.path=e,this.options.resize.data.name=o,this.options.resize.data.source=t,this.get("resize")},s);function s(e,o){var n=this;this.options=e,this.parent=o,this.__currentPermissions=null,this.currentPath="",this.currentSource=t.DEFAULT_SOURCE_NAME,this.currentBaseUrl="",this.getPathByUrl=function(e,t,o){var i="getLocalFileByUrl";return n.options[i].data.url=e,n.get(i,(function(e){n.options.isSuccess(e)?t(e.data.path,e.data.name,e.data.source):o(Error(n.options.getMessage(e)))}),o)}}t.default=a},function(e,t,o){"use strict";function n(e,t){return void 0===e&&(e="next"),void 0===t&&(t="right"),'<a href="javascript:void(0)" class="'+p+"navigation "+p+"navigation-"+e+'">'+c.ToolbarIcon.getIcon("angle-"+t)+"</a>"}Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),r=o(40),a=o(5),s=o(13),l=o(0),c=o(29),d=o(41),p=d.F_CLASS+"_preview_";t.default=function(e){if(!e.options.contextMenu)return function(){};var t=new r.ContextMenu(e.jodit||e);return function(o){function r(e){return u.getAttribute(e)||""}var c=this,u=this,f=e.options;return a.setTimeout((function(){t.show(o.pageX,o.pageY,[!("1"===r("data-is-file")||!f.editImage||!e.dataProvider.canI("ImageResize")&&!e.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:function(){e.openImageEditor(r("href"),r("data-name"),r("data-path"),r("data-source"))}},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec:function(){return i.__awaiter(c,void 0,void 0,(function(){return i.__generator(this,(function(t){return e.events.fire("fileRename.filebrowser",r("data-name"),r("data-path"),r("data-source")),[2]}))}))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:function(){return i.__awaiter(c,void 0,void 0,(function(){return i.__generator(this,(function(t){switch(t.label){case 0:return[4,e.deleteFile(r("data-name"),r("data-source"))];case 1:return t.sent(),e.state.activeElements=[],e.loadTree(),[2]}}))}))}},!!f.preview&&{icon:"eye",title:"Preview",exec:function(){function t(t){var o=e.create.element("img");o.setAttribute("src",t);var n=function(){var t,i;o.removeEventListener("load",n),c.innerHTML="",f.showPreviewNavigation&&(l.Dom.prevWithClass(u,d.ITEM_CLASS)&&c.appendChild(m),l.Dom.nextWithClass(u,d.ITEM_CLASS)&&c.appendChild(g)),c.appendChild(h),h.appendChild(o),a.setPosition(),null===(i=null===(t=e)||void 0===t?void 0:t.events)||void 0===i||i.fire("previewOpenedAndLoaded")};o.addEventListener("load",n),o.complete&&n()}var o,i,a=new s.Dialog(e),c=e.create.div(d.F_CLASS+"_preview",d.ICON_LOADER),h=e.create.div(d.F_CLASS+"_preview_box"),g=e.create.fromHTML(n()),m=e.create.fromHTML(n("prev","left"));t(r("href")),e.events.on([g,m],"click",(function(){if(!(u=this.classList.contains(p+"navigation-next")?l.Dom.nextWithClass(u,d.ITEM_CLASS):l.Dom.prevWithClass(u,d.ITEM_CLASS)))throw Error("Need element");l.Dom.detach(c),l.Dom.detach(h),c.innerHTML=d.ICON_LOADER,t(r("href"))})),a.setContent(c),a.setPosition(),a.open(),null===(i=null===(o=e)||void 0===o?void 0:o.events)||void 0===i||i.fire("previewOpened")}},{icon:"upload",title:"Download",exec:function(){var t=r("href");t&&e.ownerWindow.open(t)}}],e.dialog.getZIndex()+1)}),e.defaultTimeout),o.stopPropagation(),o.preventDefault(),!1}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=(r.prototype.on=function(e,t){var o=this;return Array.isArray(e)?e.map((function(e){return o.on(e,t)})):(this.__onEvents[e]||(this.__onEvents[e]=[]),this.__onEvents[e].push(t)),this},r.prototype.fire=function(e){for(var t=this,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];if(Array.isArray(e))e.map((function(e){return t.fire.apply(t,n.__spreadArrays([e],o))}));else try{!this.__lockEvent[e]&&this.__onEvents[e]&&(this.__lockEvent[e]=!0,this.__onEvents[e].forEach((function(e){return e.call.apply(e,n.__spreadArrays([t],o))})))}catch(e){}finally{this.__lockEvent[e]=!1}},r.create=function(e){return new r(e)},r);function r(e){var t=this;this.data=e,this.__onEvents={},this.__lockEvent={},Object.keys(e).forEach((function(o){Object.defineProperty(t,o,{set:function(n){t.fire(["beforeChange","beforeChange."+o],o,n),t.fire(["change","change."+o],o,e[o]=n)},get:function(){return e[o]}})}))}t.ObserveObject=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(14),i=o(19),r=(a.create=function(e){return new a(e)},Object.defineProperty(a.prototype,"path",{get:function(){return i.normalizePath(this.data.source.path?this.data.source.path+"/":"/")},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"imageURL",{get:function(){var e=""+(new Date).getTime(),t=this.data,o=t.source,n=t.thumb||t.file;return t.thumbIsAbsolute&&n?n:i.normalizeURL(o.baseurl,o.path,n||"")+"?_tmst="+e},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"fileURL",{get:function(){var e=this.data,t=e.name,o=e.file,n=e.source;return void 0!==o&&(t=o),e.fileIsAbsolute&&t?t:i.normalizeURL(n.baseurl,n.path,t||"")},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"time",{get:function(){var e=this.data.changed;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""},enumerable:!0,configurable:!0}),Object.defineProperty(a.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:!0,configurable:!0}),a);function a(e){this.data=e,n.extend(this,e)}t.FileBrowserItem=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidName=function(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_\.]/.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(8),a=o(13),s=o(4),l=o(6),c=o(0);i.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%"};var d,p=(n.__extends(u,d=r.Component),u.prototype.destruct=function(){this.isDestructed||(this.dialog&&(this.dialog.destruct(),delete this.dialog),c.Dom.safeRemove(this.editor),delete this.widthInput,delete this.heightInput,delete this.resize_box,delete this.crop_box,delete this.sizes,delete this.resizeHandler,delete this.cropHandler,delete this.editor,this.jodit.events&&this.jodit.events.off(".jodit_image_editor"),d.prototype.destruct.call(this))},u);function u(e){var t=d.call(this,e)||this;return t.resizeUseRatio=!0,t.cropUseRatio=!0,t.clicked=!1,t.activeTab="resize",t.cropBox={x:0,y:0,w:0,h:0},t.resizeBox={w:0,h:0},t.calcValueByPercent=function(e,t){var o,n=""+t,i=parseFloat(""+e);return(o=/^[\-+]?[0-9]+(px)?$/.exec(n))?parseInt(n,10):(o=/^([\-+]?[0-9.]+)%$/.exec(n))?Math.round(i*(parseFloat(o[1])/100)):i||0},t.calcCropBox=function(){var e,o=.8*t.crop_box.parentNode.offsetWidth,n=.8*t.crop_box.parentNode.offsetHeight,i=o;e=t.naturalWidth<o&&t.naturalHeight<n?(i=t.naturalWidth,t.naturalHeight):o/n<t.ratio?t.naturalHeight*((i=o)/t.naturalWidth):(i=t.naturalWidth*(n/t.naturalHeight),n),s.css(t.crop_box,{width:i,height:e})},t.showCrop=function(){t.cropImage&&(t.calcCropBox(),t.new_w=t.calcValueByPercent(t.cropImage.offsetWidth||t.image.offsetWidth,t.options.cropDefaultWidth),t.new_h=t.cropUseRatio?t.new_w/t.ratio:t.calcValueByPercent(t.cropImage.offsetHeight||t.image.offsetHeight,t.options.cropDefaultHeight),s.css(t.cropHandler,{backgroundImage:"url("+t.cropImage.getAttribute("src")+")",width:t.new_w,height:t.new_h,left:(t.cropImage.offsetWidth||t.image.offsetWidth)/2-t.new_w/2,top:(t.cropImage.offsetHeight||t.image.offsetHeight)/2-t.new_h/2}),t.jodit.events.fire(t.cropHandler,"updatesize"))},t.updateCropBox=function(){if(t.cropImage){var e=t.cropImage.offsetWidth/t.naturalWidth,o=t.cropImage.offsetHeight/t.naturalHeight;t.cropBox.x=s.css(t.cropHandler,"left")/e,t.cropBox.y=s.css(t.cropHandler,"top")/o,t.cropBox.w=t.cropHandler.offsetWidth/e,t.cropBox.h=t.cropHandler.offsetHeight/o,t.sizes.textContent=t.cropBox.w.toFixed(0)+"x"+t.cropBox.h.toFixed(0)}},t.updateResizeBox=function(){t.resizeBox.w=t.image.offsetWidth||t.naturalWidth,t.resizeBox.h=t.image.offsetHeight||t.naturalHeight},t.setHandlers=function(){var e=t;e.jodit.events.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown.jodit_image_editor",(function(t){e.target=t.target||t.srcElement,t.preventDefault(),t.stopImmediatePropagation(),e.clicked=!0,e.start_x=t.clientX,e.start_y=t.clientY,e.height="crop"===e.activeTab?(e.top_x=s.css(e.cropHandler,"left"),e.top_y=s.css(e.cropHandler,"top"),e.width=e.cropHandler.offsetWidth,e.cropHandler.offsetHeight):(e.width=e.image.offsetWidth,e.image.offsetHeight)})).off(t.jodit.ownerWindow,".jodit_image_editor"+e.jodit.id).on(t.jodit.ownerWindow,"mousemove.jodit_image_editor"+e.jodit.id,s.throttle((function(o){e.clicked&&(e.diff_x=o.clientX-e.start_x,e.diff_y=o.clientY-e.start_y,"resize"===e.activeTab&&e.resizeUseRatio||"crop"===e.activeTab&&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),"resize"===e.activeTab?(e.options.resizeMinWidth<e.new_w&&(s.css(e.image,"width",e.new_w+"px"),e.widthInput.value=""+e.new_w),e.options.resizeMinHeight<e.new_h&&(s.css(e.image,"height",e.new_h+"px"),e.heightInput.value=""+e.new_h),t.jodit.events.fire(e.resizeHandler,"updatesize")):(e.target!==e.cropHandler?(e.cropImage.offsetWidth<e.top_x+e.new_w&&(e.new_w=e.cropImage.offsetWidth-e.top_x),e.cropImage.offsetHeight<e.top_y+e.new_h&&(e.new_h=e.cropImage.offsetHeight-e.top_y),s.css(e.cropHandler,{width:e.new_w,height:e.new_h})):(e.cropImage.offsetWidth<e.top_x+e.diff_x+e.cropHandler.offsetWidth&&(e.diff_x=e.cropImage.offsetWidth-e.top_x-e.cropHandler.offsetWidth),s.css(e.cropHandler,"left",e.top_x+e.diff_x),e.cropImage.offsetHeight<e.top_y+e.diff_y+e.cropHandler.offsetHeight&&(e.diff_y=e.cropImage.offsetHeight-e.top_y-e.cropHandler.offsetHeight),s.css(e.cropHandler,"top",e.top_y+e.diff_y)),t.jodit.events.fire(e.cropHandler,"updatesize")),o.stopImmediatePropagation())}),5)).on(t.jodit.ownerWindow,"resize.jodit_image_editor"+e.jodit.id,(function(){t.jodit.events.fire(e.resizeHandler,"updatesize"),e.showCrop(),t.jodit.events.fire(e.cropHandler,"updatesize")})).on(t.jodit.ownerWindow,"mouseup.jodit_image_editor"+e.jodit.id+" keydown.jodit_image_editor"+e.jodit.id,(function(t){e.clicked&&(e.clicked=!1,t.stopImmediatePropagation())})),s.$$(".jodit_btn_group",e.editor).forEach((function(t){var o=t.querySelector("input");e.jodit.events.on(t,"click change",(function(){s.$$("button",t).forEach((function(e){return e.classList.remove("active")})),this.classList.add("active"),o.checked=!!this.getAttribute("data-yes"),e.jodit.events.fire(o,"change")}),"button")})),e.jodit.events.on(t.editor,"click.jodit_image_editor",(function(){s.$$(".jodit_image_editor_slider,.jodit_image_editor_area",e.editor).forEach((function(e){return e.classList.remove("active")}));var t=this.parentNode;t.classList.add("active"),e.activeTab=t.getAttribute("data-area")||"resize";var o=e.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_"+e.activeTab);o&&o.classList.add("active"),"crop"===e.activeTab&&e.showCrop()}),".jodit_image_editor_slider-title").on(e.widthInput,"change.jodit_image_editor mousedown.jodit_image_editor keydown.jodit_image_editor",s.debounce((function(){var o,n=parseInt(e.widthInput.value,10);e.options.min_width<n&&(s.css(e.image,"width",n+"px"),e.resizeUseRatio&&e.options.min_height<(o=Math.round(n/e.ratio))&&(s.css(e.image,"height",o+"px"),e.heightInput.value=""+o)),t.jodit.events.fire(e.resizeHandler,"updatesize")}),200)).on(e.heightInput,"change.jodit_image_editor mousedown.jodit_image_editor keydown.jodit_image_editor",s.debounce((function(){if(!t.isDestructed){var o,n=parseInt(e.heightInput.value,10);e.options.min_height<n&&(s.css(e.image,"height",n+"px"),e.resizeUseRatio&&e.options.min_width<(o=Math.round(n*e.ratio))&&(s.css(e.image,"width",o+"px"),e.widthInput.value=""+o)),t.jodit.events.fire(e.resizeHandler,"updatesize")}}),200));var o=e.editor.querySelector(".jodit_image_editor_keep_spect_ratio");o&&o.addEventListener("change",(function(){e.resizeUseRatio=o.checked}));var n=e.editor.querySelector(".jodit_image_editor_keep_spect_ratio_crop");n&&n.addEventListener("change",(function(){e.cropUseRatio=n.checked})),e.jodit.events.on(e.resizeHandler,"updatesize",(function(){s.css(e.resizeHandler,{top:0,left:0,width:(e.image.offsetWidth||e.naturalWidth)+"px",height:(e.image.offsetHeight||e.naturalHeight)+"px"}),t.updateResizeBox()})).on(e.cropHandler,"updatesize",(function(){if(e.cropImage){var t=s.css(e.cropHandler,"left"),o=s.css(e.cropHandler,"top"),n=e.cropHandler.offsetWidth,i=e.cropHandler.offsetHeight;t<0&&(t=0),o<0&&(o=0),e.cropImage.offsetWidth<t+n&&(n=e.cropImage.offsetWidth-t,e.cropUseRatio&&(i=n/e.ratio)),e.cropImage.offsetHeight<o+i&&(i=e.cropImage.offsetHeight-o,e.cropUseRatio&&(n=i*e.ratio)),s.css(e.cropHandler,{width:n,height:i,left:t,top:o,backgroundPosition:-t-1+"px "+(-o-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}})),e.buttons.forEach((function(t){t.addEventListener("mousedown",(function(e){e.stopImmediatePropagation()})),t.addEventListener("click",(function(){var o={action:e.activeTab,box:"resize"===e.activeTab?e.resizeBox:e.cropBox};switch(t.getAttribute("data-action")){case"saveas":a.Promt(e.jodit.i18n("Enter new name"),e.jodit.i18n("Save in new file"),(function(t){if(!s.trim(t))return a.Alert(e.jodit.i18n("The name should not be empty")),!1;e.onSave(t,o,e.hide,(function(e){a.Alert(e.message)}))}));break;case"save":e.onSave(void 0,o,e.hide,(function(e){a.Alert(e.message)}));break;case"reset":"resize"===e.activeTab?(s.css(e.image,{width:null,height:null}),e.widthInput.value=""+e.naturalWidth,e.heightInput.value=""+e.naturalHeight,e.jodit.events.fire(e.resizeHandler,"updatesize")):e.showCrop()}}))}))},t.hide=function(){t.dialog.close()},t.open=function(e,o){return new Promise((function(n){var i=(new Date).getTime();t.image=t.jodit.create.element("img"),s.$$("img,.jodit_icon-loader",t.resize_box).forEach(c.Dom.safeRemove),s.$$("img,.jodit_icon-loader",t.crop_box).forEach(c.Dom.safeRemove),s.css(t.cropHandler,"background","transparent"),t.onSave=o,t.resize_box.appendChild(t.jodit.create.element("i",{class:"jodit_icon-loader"})),t.crop_box.appendChild(t.jodit.create.element("i",{class:"jodit_icon-loader"})),t.image.setAttribute("src",e+=/\?/.test(e)?"&_tst="+i:"?_tst="+i),t.dialog.open();var r=function(){t.isDestructed||(t.image.removeEventListener("load",r),t.naturalWidth=t.image.naturalWidth,t.naturalHeight=t.image.naturalHeight,t.widthInput.value=""+t.naturalWidth,t.heightInput.value=""+t.naturalHeight,t.ratio=t.naturalWidth/t.naturalHeight,t.resize_box.appendChild(t.image),t.cropImage=t.image.cloneNode(),t.crop_box.appendChild(t.cropImage),s.$$(".jodit_icon-loader",t.editor).forEach(c.Dom.safeRemove),"crop"===t.activeTab&&t.showCrop(),t.jodit.events.fire(t.resizeHandler,"updatesize"),t.jodit.events.fire(t.cropHandler,"updatesize"),t.dialog.setPosition(),t.jodit.events.fire("afterImageEditor"),n(t.dialog))};t.image.addEventListener("load",r),t.image.complete&&r()}))},t.options=e&&e.options?e.options.imageeditor:i.Config.defaultOptions.imageeditor,t.resizeUseRatio=t.options.resizeUseRatio,t.cropUseRatio=t.options.cropUseRatio,t.buttons=[t.jodit.create.fromHTML('<button data-action="reset" type="button" class="jodit_btn">'+l.ToolbarIcon.getIcon("update")+"&nbsp;"+e.i18n("Reset")+"</button>"),t.jodit.create.fromHTML('<button data-action="save" type="button" class="jodit_btn jodit_btn_success">'+l.ToolbarIcon.getIcon("save")+"&nbsp;"+e.i18n("Save")+"</button>"),t.jodit.create.fromHTML('<button data-action="saveas" type="button" class="jodit_btn jodit_btn_success">'+l.ToolbarIcon.getIcon("save")+"&nbsp;"+e.i18n("Save as ...")+"</button>")],t.activeTab=t.options.resize?"resize":"crop",t.editor=t.jodit.create.fromHTML('<form class="jodit_image_editor jodit_properties"><div class="jodit_grid"><div class="jodit_col-lg-3-4">'+(t.options.resize?'<div class="jodit_image_editor_area jodit_image_editor_area_resize active">                                <div class="jodit_image_editor_box"></div>                                <div class="jodit_image_editor_resizer">                                    <i class="jodit_bottomright"></i>                                </div>                            </div>':"")+(t.options.crop?'<div class="jodit_image_editor_area jodit_image_editor_area_crop'+(t.options.resize?"":" active")+'">                                <div class="jodit_image_editor_box">                                    <div class="jodit_image_editor_croper">                                        <i class="jodit_bottomright"></i>                                        <i class="jodit_sizes"></i>                                    </div>                                </div>                            </div>':"")+'</div><div class="jodit_col-lg-1-4">'+(t.options.resize?'<div data-area="resize" class="jodit_image_editor_slider active">                                <div class="jodit_image_editor_slider-title">'+l.ToolbarIcon.getIcon("resize")+e.i18n("Resize")+'</div>                                <div class="jodit_image_editor_slider-content">                                    <div class="jodit_form_group">                                        <label for="jodit_image_editor_width">'+e.i18n("Width")+'</label>                                        <input type="number" class="jodit_image_editor_width"/>                                    </div>                                    <div class="jodit_form_group">                                        <label for="jodit_image_editor_height">'+e.i18n("Height")+'</label>                                        <input type="number" class="jodit_image_editor_height"/>                                    </div>                                    <div class="jodit_form_group">                                        <label>'+e.i18n("Keep Aspect Ratio")+'</label>                                        <div class="jodit_btn_group jodit_btn_radio_group">                                            <input '+(t.resizeUseRatio?"checked":"")+' type="checkbox" class="jodit_image_editor_keep_spect_ratio"/>                                            <button type="button"  data-yes="1"                                                 class="jodit_col6 jodit_btn jodit_btn_success '+(t.resizeUseRatio?"active":"")+'">'+e.i18n("Yes")+'</button>                                            <button type="button" class="jodit_col6 jodit_btn'+(t.resizeUseRatio?"":"active")+'">'+e.i18n("No")+"</button>                                        </div>                                    </div>                                </div>                            </div>":"")+(t.options.crop?'<div data-area="crop" class="jodit_image_editor_slider'+(t.options.resize?"":" active")+'">                                <div class="jodit_image_editor_slider-title">'+l.ToolbarIcon.getIcon("crop")+e.i18n("Crop")+'</div>                                <div class="jodit_image_editor_slider-content">                                    <div class="jodit_form_group">                                        <label>'+e.i18n("Keep Aspect Ratio")+'</label>                                        <div class="jodit_btn_group jodit_btn_radio_group">                                            <input '+(t.cropUseRatio?"checked":"")+' type="checkbox" class="jodit_image_editor_keep_spect_ratio_crop"/>                                            <button type="button" data-yes="1"                                                 class="jodit_col6 jodit_btn jodit_btn_success '+(t.cropUseRatio?"active":"")+'">'+e.i18n("Yes")+'</button>                                            <button type="button" class="jodit_col6 jodit_btn '+(t.cropUseRatio?"":"active")+'">'+e.i18n("No")+"</button>                                        </div>                                    </div>                                </div>                            </div>":"")+"</div></div></form>"),t.widthInput=t.editor.querySelector(".jodit_image_editor_width"),t.heightInput=t.editor.querySelector(".jodit_image_editor_height"),t.resize_box=t.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_resize .jodit_image_editor_box"),t.crop_box=t.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box"),t.sizes=t.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_sizes"),t.resizeHandler=t.editor.querySelector(".jodit_image_editor_resizer"),t.cropHandler=t.editor.querySelector(".jodit_image_editor_croper"),t.dialog=new a.Dialog(e),t.dialog.setContent(t.editor),t.dialog.setSize(t.options.width,t.options.height),t.dialog.setTitle(t.buttons),t.setHandlers(),t}t.ImageEditor=p},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(39),s=o(4),l=o(0),c=o(15),d=o(8);i.Config.prototype.enableDragAndDropFileToEditor=!0,i.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:function(e){return"files["+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&&Array.isArray(e.data.messages)?e.data.messages.join(" "):""},process:function(e){return e.data},error:function(e){this.jodit.events.fire("errorMessage",e.message,"error",4e3)},defaultHandlerSuccess:function(e){var t=this;e.files&&e.files.length&&e.files.forEach((function(o,n){var i=e.isImages&&e.isImages[n]?["img","src"]:["a","href"],r=i[0],a=i[1],s=t.jodit.create.inside.element(r);s.setAttribute(a,e.baseurl+o),"a"===r&&(s.textContent=e.baseurl+o),c.isJoditObject(t.jodit)&&("img"===r?t.jodit.selection.insertImage(s,null,t.jodit.options.imageDefaultWidth):t.jodit.selection.insertNode(s))}))},defaultHandlerError:function(e){this.jodit.events.fire("errorMessage",e.message)},contentType:function(e){return(void 0===this.jodit.ownerWindow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}};var p,u=(n.__extends(f,p=d.Component),f.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),o=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),i=new Uint8Array(n),r=0;r<t.length;r+=1)i[r]=t.charCodeAt(r);return new Blob([i],{type:o})},f.prototype.buildData=function(e){if(this.options.buildData&&"function"==typeof this.options.buildData)return this.options.buildData.call(this,e);var t=this.jodit.ownerWindow.FormData;if(void 0===t)return e;if(e instanceof t)return e;if("string"==typeof e)return e;var o=new t;return Object.keys(e).forEach((function(t){o.append(t,e[t])})),o},f.prototype.send=function(e,t){function o(e){var o=new a.Ajax(n.jodit||n,{xhr:function(){var e=new XMLHttpRequest;return void 0!==n.jodit.ownerWindow.FormData&&e.upload?e.upload.addEventListener("progress",(function(e){if(e.lengthComputable){var t=e.loaded/e.total;t*=100,n.jodit.progress_bar.style.display="block",n.jodit.progress_bar.style.width=t+"%",100==t&&(n.jodit.progress_bar.style.display="none")}}),!1):n.jodit.progress_bar.style.display="none",e},method:n.options.method||"POST",data:e,url:n.options.url,headers:n.options.headers,queryBuild:n.options.queryBuild,contentType:n.options.contentType.call(n,e),dataType:n.options.format||"json",withCredentials:n.options.withCredentials||!1});function i(){var e=n.ajaxInstances.indexOf(o);-1!=e&&n.ajaxInstances.splice(e,1)}return n.ajaxInstances.push(o),o.send().then((function(e){i(),t.call(n,e)})).catch((function(e){i(),n.options.error.call(n,e)}))}var n=this,i=this.buildData(e);return i instanceof Promise?i.then(o).catch((function(e){n.options.error.call(n,e)})):o(i)},f.prototype.sendFiles=function(e,t,o,n){var i=this;if(!e)return Promise.reject(Error("Need files"));var r=this,a=Array.from(e);if(!a.length)return Promise.reject(Error("Need files"));var l=[];if(this.options.insertImageAsBase64URI){var c,d=void 0,p=function(){if((c=a[d])&&c.type){var e=c.type.match(/\/([a-z0-9]+)/i),o=e[1]?e[1].toLowerCase():"";if(u.options.imagesExtensions.includes(o)){var n=new FileReader;l.push(new Promise((function(e,o){n.onerror=o,n.onloadend=function(){var o={baseurl:"",files:[n.result],isImages:[!0]};"function"==typeof(t||r.options.defaultHandlerSuccess)&&(t||r.options.defaultHandlerSuccess).call(r,o),e(o)},n.readAsDataURL(c)}))),a[d]=null}}},u=this;for(d=0;d<a.length;d+=1)p()}if((a=a.filter((function(e){return e}))).length){var f=new FormData;f.append(this.options.pathVariableName,r.path),f.append("source",r.source);var h=void 0;for(d=0;d<a.length;d+=1)if(h=a[d]){var g=h.type.match(/\/([a-z0-9]+)/i),m=g&&g[1]?g[1].toLowerCase():"",v=a[d].name||(""+Math.random()).replace(".","");if(m){var b=m;["jpeg","jpg"].includes(b)&&(b="jpeg|jpg"),RegExp(".("+b+")$","i").test(v)||(v+="."+m)}f.append(this.options.filesVariableName(d),a[d],v)}n&&n(f),r.options.data&&s.isPlainObject(r.options.data)&&Object.keys(r.options.data).forEach((function(e){f.append(e,r.options.data[e])})),r.options.prepareData.call(this,f),l.push(r.send(f,(function(e){i.options.isSuccess.call(r,e)?"function"==typeof(t||r.options.defaultHandlerSuccess)&&(t||r.options.defaultHandlerSuccess).call(r,r.options.process.call(r,e)):(o||r.options.defaultHandlerError).call(r,Error(r.options.getMessage.call(r,e)))})).then((function(){i.jodit.events&&i.jodit.events.fire("filesWereUploaded")})))}return Promise.all(l)},f.prototype.setPath=function(e){this.path=e},f.prototype.setSource=function(e){this.source=e},f.prototype.bind=function(e,t,o){function n(e){function n(e){p&&(e.append("extension",u),e.append("mimetype",p.type))}var d,p,u;if(e.clipboardData&&e.clipboardData.files&&e.clipboardData.files.length)return i.sendFiles(e.clipboardData.files,t,o),!1;if(s.browser("ff")||r.IS_IE){if(e.clipboardData&&!e.clipboardData.types.length&&e.clipboardData.types[0]!==r.TEXT_PLAIN){var h=i.jodit.create.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});i.jodit.ownerDocument.body.appendChild(h);var g=i.jodit&&c.isJoditObject(i.jodit)?i.jodit.selection.save():null;h.focus(),setTimeout((function(){var e=h.firstChild;if(l.Dom.safeRemove(h),e&&e.hasAttribute("src")){var n=e.getAttribute("src")||"";g&&i.jodit&&c.isJoditObject(i.jodit)&&i.jodit.selection.restore(g),a.sendFiles([f.dataURItoBlob(n)],t,o)}}),200)}}else if(e.clipboardData&&e.clipboardData.items&&e.clipboardData.items.length){var m=e.clipboardData.items;for(d=0;d<m.length;d+=1)if("file"===m[d].kind&&"image/png"===m[d].type){if(p=m[d].getAsFile()){var v=p.type.match(/\/([a-z0-9]+)/i);u=v[1]?v[1].toLowerCase():"",i.sendFiles([p],t,o,n)}e.preventDefault();break}}}var i=this,a=this;function d(e){return!(!e.dataTransfer||!e.dataTransfer.files||0===e.dataTransfer.files.length)}this.jodit&&this.jodit.editor!==e?a.jodit.events.on(e,"paste",n):a.jodit.events.on("beforePaste",n),a.jodit.events.on(e,"dragend dragover dragenter dragleave drop",(function(e){e.preventDefault()})).on(e,"dragover",(function(t){d(t)&&(e.classList.contains("jodit_draghover")||e.classList.add("jodit_draghover"),t.preventDefault())})).on(e,"dragend",(function(t){d(t)&&(e.classList.contains("jodit_draghover")&&e.classList.remove("jodit_draghover"),t.preventDefault())})).on(e,"drop",(function(n){e.classList.remove("jodit_draghover"),d(n)&&n.dataTransfer&&n.dataTransfer.files&&(n.preventDefault(),n.stopImmediatePropagation(),i.sendFiles(n.dataTransfer.files,t,o))}));var p=e.querySelector("input[type=file]");p&&a.jodit.events.on(p,"change",(function(){a.sendFiles(this.files,t,o).then((function(){p.value="",/safari/i.test(navigator.userAgent)||(p.type="",p.type="file")}))}))},f.prototype.uploadRemoteImage=function(e,t,o){var n=this,i=this;i.send({action:"fileUploadRemote",url:e},(function(e){if(i.options.isSuccess.call(i,e))"function"==typeof t?t.call(i,n.options.process.call(n,e)):n.options.defaultHandlerSuccess.call(i,n.options.process.call(n,e));else if("function"==typeof(o||i.options.defaultHandlerError))return void(o||n.options.defaultHandlerError).call(i,Error(i.options.getMessage.call(n,e)))}))},f.prototype.destruct=function(){this.ajaxInstances.forEach((function(e){try{e.abort()}catch(e){}})),delete this.options,p.prototype.destruct.call(this)},f);function f(e,t){var o=p.call(this,e)||this;return o.path="",o.source="default",o.ajaxInstances=[],o.options=s.extend(!0,{},i.Config.defaultOptions.uploader,c.isJoditObject(e)?e.options.uploader:null,t),o}t.Uploader=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(149);t.addNewLine=n.addNewLine;var i=o(150);t.autofocus=i.autofocus;var r=o(151);t.backspace=r.backspace;var a=o(152);t.bold=a.bold;var s=o(153);t.cleanHtml=s.cleanHtml;var l=o(154);t.clipboard=l.clipboard,t.paste=l.paste,t.pasteStorage=l.pasteStorage;var c=o(158);t.color=c.color;var d=o(159);t.DragAndDrop=d.DragAndDrop;var p=o(160);t.DragAndDropElement=p.DragAndDropElement;var u=o(161);t.enter=u.enter;var f=o(162);t.errorMessages=f.errorMessages;var h=o(163);t.font=h.font;var g=o(164);t.formatBlock=g.formatBlock;var m=o(165);t.fullsize=m.fullsize;var v=o(166);t.hotkeys=v.hotkeys;var b=o(167);t.iframe=b.iframe;var y=o(168);t.imageProcessor=y.imageProcessor;var x=o(169);t.imageProperties=x.imageProperties;var _=o(170);t.indent=_.indent;var w=o(171);t.inlinePopup=w.inlinePopup;var k=o(172);t.justify=k.justify;var j=o(173);t.limit=j.limit;var C=o(174);t.link=C.link;var S=o(175);t.media=S.media;var A=o(176);t.mobile=A.mobile;var M=o(177);t.orderedlist=M.orderedlist;var E=o(178);t.placeholder=E.placeholder;var z=o(179);t.redoundo=z.redoundo;var T=o(180);t.resizer=T.resizer;var D=o(181);t.search=D.search;var L=o(182);t.size=L.size;var I=o(183);t.source=I.source;var P=o(184);t.stat=P.stat;var O=o(185);t.sticky=O.sticky;var q=o(186);t.symbols=q.symbols;var N=o(187);t.tableKeyboardNavigation=N.tableKeyboardNavigation;var R=o(188);t.table=R.TableProcessor;var B=o(189);t.xpath=B.xpath},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(0),r=o(5),a=o(23),s=o(6);n.Config.prototype.addNewLine=!0,n.Config.prototype.addNewLineOnDBLClick=!0,n.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","jodit"],t.addNewLine=function(e){if(e.options.addNewLine){var t,o,n=e.create.fromHTML('<div role="button" tabIndex="-1" title="'+e.i18n("Break")+'" class="jodit-add-new-line"><span>'+s.ToolbarIcon.getIcon("enter")+"</span></div>"),l=RegExp("^("+e.options.addNewLineTagsTriggers.join("|")+")$","i"),c=!1,d=!1,p=!1,u=function(){clearTimeout(t),p=!1,n.style.display="none",c=!0},f=function(t){return null!==t&&i.Dom.isBlock(t,e.editorWindow)&&!/^(img|table|iframe|hr)$/i.test(t.nodeName)},h=function(){c||p||(clearTimeout(t),t=r.setTimeout(u,500))};e.events.on("beforeDestruct",(function(){i.Dom.safeRemove(n)})).on("afterInit",(function(){e.container.appendChild(n),e.events.on(n,"mousemove",(function(e){e.stopPropagation()})).on(n,"mousedown touchstart",(function(t){var n=e.editorDocument.createElement(e.options.enter);d&&o&&o.parentNode?o.parentNode.insertBefore(n,o):e.editor.appendChild(n),e.selection.setCursorIn(n),e.events.fire("synchro"),u(),t.preventDefault()}))})).on("afterInit",(function(){e.events.on(e.editor,"scroll",(function(){u()})).on(e.container,"mouseleave",h).on(n,"mouseenter",(function(){clearTimeout(t),p=!0})).on(n,"mouseleave",(function(){p=!1})).on(e.editor,"dblclick",(function(t){if(!e.options.readonly&&e.options.addNewLineOnDBLClick&&t.target===e.editor&&e.selection.isCollapsed()){var o=a.offset(e.editor,e,e.editorDocument),n=t.pageY-e.editorWindow.pageYOffset,i=e.editorDocument.createElement(e.options.enter);Math.abs(n-o.top)<Math.abs(n-(o.height+o.top))&&e.editor.firstChild?e.editor.insertBefore(i,e.editor.firstChild):e.editor.appendChild(i),e.selection.setCursorIn(i),e.setEditorValue(),u(),t.preventDefault()}})).on(e.editor,"mousemove",r.debounce((function(r){var s=e.editorDocument.elementFromPoint(r.pageX-e.editorWindow.pageXOffset,r.pageY-e.editorWindow.pageYOffset);if((!s||!i.Dom.isOrContains(n,s))&&s&&i.Dom.isOrContains(e.editor,s))if(s&&s.nodeName.match(l)&&i.Dom.isOrContains(e.editor,s)||(s=i.Dom.closest(s,l,e.editor))){if(l.test(s.nodeName)){var p=i.Dom.up(s,(function(t){return i.Dom.isBlock(t,e.editorWindow)}),e.editor);p&&p!==e.editor&&(s=p)}var u=a.offset(e.editor,e,e.editorDocument),g=a.offset(s,e,e.editorDocument),m=!1;Math.abs(r.pageY-g.top)<10&&((m=g.top)-u.top<20||(m-=15),d=!0),Math.abs(r.pageY-(g.top+g.height))<10&&(u.top+u.height-(m=g.top+g.height)<25||(m+=15),d=!1),!1!==m&&(d&&!i.Dom.prev(s,f,e.editor)||!d&&!i.Dom.next(s,f,e.editor))?(n.style.top=m+"px",o=s,e.options.readonly||e.isLocked()||e.container.classList.contains("jodit_popup_active")||(clearTimeout(t),n.classList.toggle("jodit-add-new-line_after",!d),n.style.display="block",n.style.width=e.editor.clientWidth+"px",c=!1)):(o=!1,h())}else h()}),e.defaultTimeout))}))}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(0),r=o(5);n.Config.prototype.autofocus=!1,t.autofocus=function(e){var t;e.events.on("afterInit",(function(){e.options.autofocus&&(e.defaultTimeout?t=r.setTimeout(e.selection.focus,300):e.selection.focus())})).on("mousedown",(function(t){e.isEditorMode()&&t.target&&i.Dom.isBlock(t.target,e.editorWindow)&&!t.target.childNodes.length&&(e.editor===t.target?e.selection.focus():e.selection.setCursorIn(t.target))})).on("beforeDestruct",(function(){clearTimeout(t)}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(2),r=o(0),a=o(4);t.backspace=function(e){function t(t){var o,i=t;a.normalizeNode(t);do{var s=i.innerHTML.replace(n.INVISIBLE_SPACE_REG_EXP,"");if(s.length&&"<br>"!==s||r.Dom.isCell(i,e.editorWindow)||!i.parentNode||t===e.editor)break;o=i.parentNode,r.Dom.safeRemove(i),i=o}while(i&&i!==e.editor)}function o(e){if(e&&c.test(e.nodeName))return r.Dom.safeRemove(e),!1}function s(t,n,i){if(t.node){var r=t.node;if(void 0!==l(t,n,i))return!0;if(t.node||(t.node=r.parentNode),t.node===e.editor)return!1;var a=t.node;if(!1===o(a))return!1;for(a=a&&(n?a.previousSibling:a.nextSibling);a&&a.nodeType===Node.TEXT_NODE&&a.nodeValue&&a.nodeValue.match(/^[\n\r]+$/);)a=n?a.previousSibling:a.nextSibling;return o(a)}}var l=function(t,o,i){if(t.node&&t.node.nodeType===Node.TEXT_NODE&&"string"==typeof t.node.nodeValue){for(var a=t.node.nodeValue,s=o?a.length:0,c=o?-1:1,d=s;0<=s&&s<=a.length&&a[s+(o?-1:0)]===n.INVISIBLE_SPACE;)s+=c;s!==d&&(o?a=a.substr(0,s)+a.substr(d):(a=a.substr(0,d)+a.substr(s),s=d),t.node.nodeValue=a),i.setStart(t.node,s),i.collapse(!0),e.selection.selectRange(i);var p=r.Dom.findInline(t.node,o,e.editor);if(a.length){var u=!1;if(o?s&&(u=!0):s<a.length&&(u=!0),u)return!0}else i.setStartBefore(t.node),i.collapse(!0),e.selection.selectRange(i),r.Dom.safeRemove(t.node),t.node=p;if(p&&(r.Dom.isInlineBlock(p)&&(p=o?p.lastChild:p.firstChild),p&&p.nodeType===Node.TEXT_NODE))return t.node=p,l(t,o,i)}},c=i.MAY_BE_REMOVED_WITH_KEY,d=function(e){return!(null!==e.nodeName.match(/^(TD|TH|TR|TABLE|LI)$/)||!r.Dom.isEmpty(e)&&null===e.nodeName.match(c)&&(e.nodeType===Node.TEXT_NODE&&!r.Dom.isEmptyTextNode(e)||e.childNodes.length&&!Array.from(e.childNodes).every(d)))};e.events.on("afterCommand",(function(t){if("delete"===t){var o=e.selection.current();if(o&&o.firstChild&&"BR"===o.firstChild.nodeName&&r.Dom.safeRemove(o.firstChild),!(a.trim(e.editor.textContent||"")||e.editor.querySelector("img")||o&&r.Dom.closest(o,"table",e.editor))){e.editor.innerHTML="";var n=e.selection.setCursorIn(e.editor);r.Dom.safeRemove(n)}}})).on("keydown",(function(o){if(o.which===n.KEY_BACKSPACE||o.which===n.KEY_DELETE){var i=o.which===n.KEY_BACKSPACE;if(e.selection.isFocused()||e.selection.focus(),!e.selection.isCollapsed())return e.execCommand("Delete"),!1;var l=e.selection.sel,c=!(!l||!l.rangeCount)&&l.getRangeAt(0);if(!c)return!1;var p=e.ownerDocument.createTextNode(n.INVISIBLE_SPACE),u=e.editorDocument.createElement("span");try{if(c.insertNode(p),!r.Dom.isOrContains(e.editor,p))return!1;var f=r.Dom.up(p,(function(t){return r.Dom.isBlock(t,e.editorWindow)}),e.editor),h=r.Dom.findInline(p,i,e.editor),g={node:h},m=void 0;if(h?m=s(g,i,c):p.parentNode&&(m=s({node:i?p.parentNode.previousSibling:p.parentNode.nextSibling},i,c)),void 0!==m)return!!m&&void 0;if(f&&f.nodeName.match(/^(TD)$/))return!1;var v=i?r.Dom.prev(g.node||p,(function(t){return r.Dom.isBlock(t,e.editorWindow)}),e.editor):r.Dom.next(g.node||p,(function(t){return r.Dom.isBlock(t,e.editorWindow)}),e.editor);if(!v&&f&&f.parentNode){v=e.create.inside.element(e.options.enter);for(var b=f;b&&b.parentNode&&b.parentNode!==e.editor;)b=b.parentNode;b.parentNode&&b.parentNode.insertBefore(v,b)}else if(v&&d(v))return r.Dom.safeRemove(v),!1;if(v){var y=e.selection.setCursorIn(v,!i);e.selection.insertNode(u,!1,!1),y.nodeType===Node.TEXT_NODE&&y.nodeValue===n.INVISIBLE_SPACE&&r.Dom.safeRemove(y)}if(f){if(t(f),v&&f.parentNode&&(f.nodeName===v.nodeName&&f.parentNode&&v.parentNode&&f.parentNode!==e.editor&&v.parentNode!==e.editor&&f.parentNode!==v.parentNode&&f.parentNode.nodeName===v.parentNode.nodeName&&(f=f.parentNode,v=v.parentNode),r.Dom.moveContent(f,v,!i),a.normalizeNode(v)),v&&"LI"===v.nodeName){var x=r.Dom.closest(v,"Ul|OL",e.editor);if(x){var _=x.nextSibling;_&&_.nodeName===x.nodeName&&x!==_&&(r.Dom.moveContent(_,x,!i),r.Dom.safeRemove(_))}}return t(f),!1}}finally{if(p.parentNode&&p.nodeValue===n.INVISIBLE_SPACE){var w=p.parentNode;r.Dom.safeRemove(p),!w.firstChild&&w.parentNode&&w!==e.editor&&r.Dom.safeRemove(w)}u&&r.Dom.isOrContains(e.editor,u,!0)&&(y=e.selection.setCursorBefore(u),r.Dom.safeRemove(u),y&&y.parentNode&&(r.Dom.findInline(y,!0,y.parentNode)||r.Dom.findInline(y,!0,y.parentNode))&&r.Dom.safeRemove(y)),e.setEditorValue()}return!1}}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3);i.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},i.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},i.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},i.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},i.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration":"underline"},tooltip:"Underline"},i.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration":"line-through"},tooltip:"Strike through"},t.bold=function(e){function t(t){var o=i.Config.defaultOptions.controls[t],r=n.__assign({},o.css),a={};return Object.keys(r).forEach((function(e){a[e]=Array.isArray(r[e])?r[e][0]:r[e]})),e.selection.applyCSS(a,o.tags?o.tags[0]:void 0,o.css),e.events.fire("synchro"),!1}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})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(2),a=o(0),s=o(4);n.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,cleanOnPaste:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:!1},n.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},t.cleanHtml=function(e){function t(e){var t={};return"string"==typeof e?(e.split(c).map((function(e){e=s.trim(e);var o=l.exec(e),n={};if(o){var i=o[2].split(c);o[1]&&(i.forEach((function(e){e=s.trim(e);var t=d.exec(e);t?n[t[1]]=t[2]:n[e]=!0})),t[o[1].toUpperCase()]=n)}else t[e.toUpperCase()]=!0})),t):!!e&&(Object.keys(e).forEach((function(o){t[o.toUpperCase()]=e[o]})),t)}function o(e,t){void 0===t&&(t=!1);for(var o=t?e.nextSibling:e.previousSibling;o;){if(o.nodeType===Node.ELEMENT_NODE||!a.Dom.isEmptyTextNode(o))return!0;o=t?o.nextSibling:o.previousSibling}return!1}e.options.cleanHTML.cleanOnPaste&&e.events.on("processPaste",(function(e,t){return s.cleanFromWord(t)}));var n,l=/([^\[]*)\[([^\]]+)]/,c=/[\s]*,[\s]*/,d=/^(.*)[\s]*=[\s]*(.*)$/,p=t(e.options.cleanHTML.allowTags),u=t(e.options.cleanHTML.denyTags);e.events.on("change afterSetMode afterInit mousedown keydown",s.debounce((function(){if(!e.isDestructed&&e.isEditorMode()&&e.selection){n=e.selection.current();var t=null,i=!1,l=0,c=[],d=e.options.cleanHTML.replaceOldTags;if(d&&n){var f=Object.keys(d).join("|");if(e.selection.isCollapsed()){var h=a.Dom.closest(n,f,e.editor);if(h){var g=e.selection.save(),m=d[h.nodeName.toLowerCase()]||d[h.nodeName];a.Dom.replace(h,m,!0,!1,e.editorDocument),e.selection.restore(g)}}}var v=function(t){if(t){if((g=t).nodeType!==Node.TEXT_NODE&&(p&&!p[g.nodeName]||u&&u[g.nodeName])||n&&"BR"===g.nodeName&&o(g)&&!o(g,!0)&&a.Dom.up(g,(function(t){return a.Dom.isBlock(t,e.editorWindow)}),e.editor)!==a.Dom.up(n,(function(t){return a.Dom.isBlock(t,e.editorWindow)}),e.editor)||e.options.cleanHTML.removeEmptyElements&&!1!==n&&g.nodeType===Node.ELEMENT_NODE&&null!==g.nodeName.match(r.IS_INLINE)&&!e.selection.isMarker(g)&&0===s.trim(g.innerHTML).length&&!a.Dom.isOrContains(g,n))return c.push(t),v(t.nextSibling);if(e.options.cleanHTML.fillEmptyParagraph&&a.Dom.isBlock(t,e.editorWindow)&&a.Dom.isEmpty(t,/^(img|svg|canvas|input|textarea|form|br)$/)){var d=e.create.inside.element("br");t.appendChild(d)}if(p&&!0!==p[t.nodeName]){var f=t.attributes;if(f&&f.length){var h=[];for(l=0;l<f.length;l+=1)p[t.nodeName][f[l].name]&&(!0===p[t.nodeName][f[l].name]||p[t.nodeName][f[l].name]===f[l].value)||h.push(f[l].name);h.length&&(i=!0),h.forEach((function(e){t.removeAttribute(e)}))}}v(t.firstChild),v(t.nextSibling)}var g};e.editor.firstChild&&(t=e.editor.firstChild),v(t),c.forEach(a.Dom.safeRemove),(c.length||i)&&e.events&&e.events.fire("syncho")}}),e.options.cleanHTML.timeout)).on("keyup",(function(){if(!e.options.readonly){var t=e.selection.current();if(t){var o=a.Dom.up(t,(function(t){return a.Dom.isBlock(t,e.editorWindow)}),e.editor);o&&a.Dom.all(o,(function(o){o&&o.nodeType===Node.TEXT_NODE&&null!==o.nodeValue&&i.INVISIBLE_SPACE_REG_EXP.test(o.nodeValue)&&0!==o.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP,"").length&&(o.nodeValue=o.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP,""),o===t&&e.selection.isCollapsed()&&e.selection.setCursorAfter(o))}))}}})).on("afterCommand",(function(t){var o,n,r=e.selection;switch(t.toLowerCase()){case"inserthorizontalrule":(o=e.editor.querySelector("hr[id=null]"))&&((n=a.Dom.next(o,(function(t){return a.Dom.isBlock(t,e.editorWindow)}),e.editor,!1))||(n=e.create.inside.element(e.options.enter))&&a.Dom.after(o,n),r.setCursorIn(n));break;case"removeformat":n=r.current();var l=function(t){switch(t.nodeType){case Node.ELEMENT_NODE:a.Dom.each(t,l),"FONT"===t.nodeName?a.Dom.unwrap(t):([].slice.call(t.attributes).forEach((function(e){~["src","href","rel","content"].indexOf(e.name.toLowerCase())||t.removeAttribute(e.name)})),s.normalizeNode(t));break;case Node.TEXT_NODE:e.options.cleanHTML.replaceNBSP&&t.nodeType===Node.TEXT_NODE&&null!==t.nodeValue&&t.nodeValue.match(i.SPACE_REG_EXP)&&(t.nodeValue=t.nodeValue.replace(i.SPACE_REG_EXP," "));break;default:a.Dom.safeRemove(t)}};if(r.isCollapsed())for(;n&&n.nodeType!==Node.ELEMENT_NODE&&n!==e.editor;)l(n),n=n&&n.parentNode;else e.selection.eachSelection((function(e){l(e)}))}}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);n.__exportStar(o(68),t),n.__exportStar(o(69),t),n.__exportStar(o(156),t),o(157)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nl2br=function(e){return e.replace(/([^>])([\n\r]+)/g,"$1<br/>$2")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(2),a=o(16),s=o(7),l=o(0),c=o(18),d=(i.__extends(p,n=s.Plugin),p.prototype.createDialog=function(){var e=this;this.dialog=new a.Dialog(this.jodit);var t=this.jodit.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button"><span>'+this.jodit.i18n("Paste")+"</span></a>");t.addEventListener("click",this.paste);var o=this.jodit.create.fromHTML('<a href="javascript:void(0)" style="float:right; margin-right: 10px;" class="jodit_button"><span>'+this.jodit.i18n("Cancel")+"</span></a>");o.addEventListener("click",this.dialog.close),this.container=this.jodit.ownerDocument.createElement("div"),this.container.classList.add("jodit_paste_storage"),this.listBox=this.jodit.ownerDocument.createElement("div"),this.previewBox=this.jodit.ownerDocument.createElement("div"),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setTitle(this.jodit.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([t,o]),this.jodit.events.on(this.listBox,"click dblclick",(function(t){var o=t.target;return o&&"A"===o.nodeName&&o.hasAttribute("data-index")&&e.selectIndex(parseInt(o.getAttribute("data-index")||"0",10)),"dblclick"===t.type&&e.paste(),!1}),"a")},p.prototype.afterInit=function(){var e=this;this.jodit.events.on("afterCopy",(function(t){~e.list.indexOf(t)&&e.list.splice(e.list.indexOf(t),1),e.list.unshift(t),5<e.list.length&&(e.list.length=5)})),this.jodit.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})},p.prototype.beforeDestruct=function(){this.dialog&&this.dialog.destruct(),l.Dom.safeRemove(this.previewBox),l.Dom.safeRemove(this.listBox),l.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]},p);function p(){var e=null!==n&&n.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.jodit.selection.focus(),e.jodit.selection.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.jodit.setEditorValue()},e.onKeyDown=function(t){var o=e.currentIndex;~[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(t.which)&&(t.which===r.KEY_UP&&(0===o?o=e.list.length-1:o-=1),t.which===r.KEY_DOWN&&(o===e.list.length-1?o=0:o+=1),t.which!==r.KEY_ENTER?(o!==e.currentIndex&&e.selectIndex(o),t.stopImmediatePropagation(),t.preventDefault()):e.paste())},e.selectIndex=function(t){e.listBox&&Array.from(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(){e.list.length<2||(e.dialog||e.createDialog(),e.listBox&&(e.listBox.innerHTML=""),e.previewBox&&(e.previewBox.innerHTML=""),e.list.forEach((function(t,o){var n=e.jodit.ownerDocument.createElement("a");n.textContent=o+1+". "+t.replace(r.SPACE_REG_EXP,""),n.addEventListener("keydown",e.onKeyDown),n.setAttribute("href","javascript:void(0)"),n.setAttribute("data-index",""+o),n.setAttribute("tab-index","-1"),e.listBox&&e.listBox.appendChild(n)})),e.dialog&&e.dialog.open(),c.setTimeout((function(){e.selectIndex(0)}),100))},e}t.pasteStorage=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(0),r=o(4),a="copyformat",s=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],l=function(e,t,o,n){var i=r.css(o,t);return i===n[t]&&(i=o.parentNode&&o!==e.editor&&o.parentNode!==e.editor?l(e,t,o.parentNode,n):void 0),i};n.Config.prototype.controls.copyformat={exec:function(e,t){if(t)if(e.buffer.exists(a))e.buffer.set(a,!1),e.events.off(e.editor,"mouseup."+a);else{var o={},n=i.Dom.up(t,(function(e){return e&&e.nodeType!==Node.TEXT_NODE}),e.editor)||e.editor,c=e.create.inside.span();e.editor.appendChild(c),s.forEach((function(e){o[e]=r.css(c,e)})),c!==e.editor&&i.Dom.safeRemove(c);var d=(p=e,f=o,h={},(u=n)&&s.forEach((function(e){h[e]=l(p,e,u,f),e.match(/border(Style|Color)/)&&!h.borderWidth&&(h[e]=void 0)})),h);e.events.on(e.editor,"mouseup."+a,(function(){e.buffer.set(a,!1);var t=e.selection.current();t&&("IMG"===t.nodeName?r.css(t,d):e.selection.applyCSS(d)),e.events.off(e.editor,"mouseup."+a)})),e.buffer.set(a,!0)}var p,u,f,h},isActive:function(e){return!!e.buffer.get(a)},tooltip:"Paint format"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(17),r=i.Widget.TabsWidget,a=i.Widget.ColorPickerWidget,s=o(0),l=o(4);n.Config.prototype.controls.brush={isActive:function(e,t,o){if(!o)return!0;var n=e.selection.current(),i=o.container.querySelector("svg");if(i&&i.style.fill&&i.style.removeProperty("fill"),n&&!o.isDisable()){var r=s.Dom.closest(n,(function(t){return s.Dom.isBlock(t,e.editorWindow)||t&&s.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE}),e.editor)||e.editor,a=""+l.css(r,"color"),c=""+l.css(r,"background-color");if(a!=""+l.css(e.editor,"color"))return i&&(i.style.fill=a),!0;if(c!=""+l.css(e.editor,"background-color"))return i&&(i.style.fill=c),!0}return!1},popup:function(e,t,o,n){var i="",c="",d=null;t&&t!==e.editor&&s.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE&&(i=""+l.css(t,"color"),c=""+l.css(t,"background-color"),d=t);var p=a(e,(function(t){d?d.style.backgroundColor=t:e.execCommand("background",!1,t),n()}),c),u=a(e,(function(t){d?d.style.color=t:e.execCommand("forecolor",!1,t),n()}),i);return r(e,"background"===e.options.colorPickerDefaultTab?{Background:p,Text:u}:{Text:u,Background:p},d)},tooltip:"Fill color or set the text color"},t.color=function(e){function t(t,o,n){var i=l.normalizeColor(n);switch(t){case"background":e.selection.applyCSS({backgroundColor:i||""});break;case"forecolor":e.selection.applyCSS({color:i||""})}return e.setEditorValue(),!1}e.registerCommand("forecolor",t).registerCommand("background",t)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(2),a=o(0),s=o(4),l=o(7),c=(i.__extends(d,n=l.Plugin),d.prototype.afterInit=function(){this.jodit.events.on(window,"dragover",this.onDrag).on([window,this.jodit.editorDocument,this.jodit.editor],"dragstart",this.onDragStart).on("drop",this.onDrop).on(window,"dragend drop mouseup",this.onDragEnd)},d.prototype.beforeDestruct=function(){this.onDragEnd()},d);function d(){var e=null!==n&&n.apply(this,arguments)||this;return e.isFragmentFromEditor=!1,e.isCopyMode=!1,e.startDragPoint={x:0,y:0},e.draggable=null,e.bufferRange=null,e.onDragEnd=function(){e.draggable&&(a.Dom.safeRemove(e.draggable),e.draggable=null),e.isCopyMode=!1},e.onDrag=function(t){e.draggable&&(e.draggable.parentNode||e.jodit.ownerDocument.body.appendChild(e.draggable),e.jodit.events.fire("hidePopup"),s.css(e.draggable,{left:t.clientX+20,top:t.clientY+20}),e.jodit.selection.insertCursorAtPoint(t.clientX,t.clientY),t.preventDefault(),t.stopPropagation())},e.onDrop=function(t){if(!t.dataTransfer||!t.dataTransfer.files||!t.dataTransfer.files.length){if(!e.isFragmentFromEditor&&!e.draggable)return e.jodit.events.fire("paste",t),t.preventDefault(),t.stopPropagation(),!1;var o=e.jodit.selection.sel,n=e.bufferRange||(o&&o.rangeCount?o.getRangeAt(0):null),i=null;if(!e.draggable&&n)i=e.isCopyMode?n.cloneContents():n.extractContents();else if(e.draggable)if(e.isCopyMode){var r="1"===e.draggable.getAttribute("data-is-file")?["a","href"]:["img","src"],a=r[0],l=r[1];(i=e.jodit.editorDocument.createElement(a)).setAttribute(l,e.draggable.getAttribute("data-src")||e.draggable.getAttribute("src")||""),"a"===a&&(i.textContent=i.getAttribute(l)||"")}else i=s.dataBind(e.draggable,"target");else e.getText(t)&&(i=e.jodit.create.inside.fromHTML(e.getText(t)));o&&o.removeAllRanges(),e.jodit.selection.insertCursorAtPoint(t.clientX,t.clientY),i&&(e.jodit.selection.insertNode(i,!1,!1),n&&i.firstChild&&i.lastChild&&(n.setStartBefore(i.firstChild),n.setEndAfter(i.lastChild),e.jodit.selection.selectRange(n),e.jodit.events.fire("synchro")),"IMG"===i.nodeName&&e.jodit.events&&e.jodit.events.fire("afterInsertImage",i)),t.preventDefault(),t.stopPropagation()}e.isFragmentFromEditor=!1},e.onDragStart=function(t){var o=t.target;if(e.onDragEnd(),e.isFragmentFromEditor=a.Dom.isOrContains(e.jodit.editor,o,!0),e.isCopyMode=!e.isFragmentFromEditor||s.ctrlKey(t),e.isFragmentFromEditor){var n=e.jodit.selection.sel,i=n&&n.rangeCount?n.getRangeAt(0):null;i&&(e.bufferRange=i.cloneRange())}else e.bufferRange=null;e.startDragPoint.x=t.clientX,e.startDragPoint.y=t.clientY,o.nodeType===Node.ELEMENT_NODE&&o.matches(".jodit_filebrowser_files_item")&&(o=o.querySelector("img")),"IMG"===o.nodeName&&(e.draggable=o.cloneNode(!0),s.dataBind(e.draggable,"target",o),s.css(e.draggable,{"z-index":1e14,"pointer-events":"none",position:"fixed",display:"inlin-block",left:e.startDragPoint.x,top:e.startDragPoint.y,width:o.offsetWidth,height:o.offsetHeight}))},e.getDataTransfer=function(e){return e.dataTransfer||new DataTransfer},e.getText=function(t){var o=e.getDataTransfer(t);return o.getData(r.TEXT_HTML)||o.getData(r.TEXT_PLAIN)},e}t.DragAndDrop=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(4),a=o(7),s=o(0);i.Config.prototype.draggableTags=["img","a","jodit-media","jodit"];var l,c=(n.__extends(d,l=a.Plugin),d.prototype.afterInit=function(){this.dragList=this.jodit.options.draggableTags?r.splitArray(this.jodit.options.draggableTags).filter((function(e){return e})).map((function(e){return e.toLowerCase()})):[],this.dragList.length&&this.jodit.events.on(this.jodit.editor,"mousemove touchmove",this.onDrag).on(this.jodit.editor,"mousedown touchstart dragstart",this.onDragStart).on("mouseup touchend",this.onDrop).on(window,"mouseup touchend",this.onDragEnd)},d.prototype.beforeDestruct=function(){this.onDragEnd()},d);function d(){var e=null!==l&&l.apply(this,arguments)||this;return e.dragList=[],e.isCopyMode=!1,e.draggable=null,e.wasMoved=!1,e.timeout=0,e.onDrag=r.throttle((function(t){e.draggable&&(e.wasMoved=!0,e.jodit.events.fire("hidePopup hideResizer"),e.draggable.parentNode||e.jodit.ownerDocument.body.appendChild(e.draggable),r.css(e.draggable,{left:t.clientX+20,top:t.clientY+20}),e.jodit.selection.insertCursorAtPoint(t.clientX,t.clientY))}),e.jodit.defaultTimeout),e.onDragStart=function(t){var o=t.target,n=null;if(e.dragList.length){for(;~e.dragList.indexOf(o.nodeName.toLowerCase())&&(n&&(o.firstChild!==n||o.lastChild!==n)||(n=o)),(o=o.parentNode)&&o!==e.jodit.editor;);n&&(e.isCopyMode=r.ctrlKey(t),e.onDragEnd(),e.timeout=r.setTimeout((function(o){o&&(e.draggable=o.cloneNode(!0),r.dataBind(e.draggable,"target",o),r.css(e.draggable,{"z-index":1e14,"pointer-events":"none",position:"fixed",display:"inlin-block",left:t.clientX,top:t.clientY,width:o.offsetWidth,height:o.offsetHeight}))}),e.jodit.defaultTimeout,n),t.preventDefault())}},e.onDragEnd=function(){window.clearTimeout(e.timeout),e.draggable&&(s.Dom.safeRemove(e.draggable),e.draggable=null,e.wasMoved=!1)},e.onDrop=function(){if(e.draggable&&e.wasMoved){var t=r.dataBind(e.draggable,"target");e.onDragEnd(),e.isCopyMode&&(t=t.cloneNode(!0)),e.jodit.selection.insertNode(t,!0,!1),"IMG"===t.nodeName&&e.jodit.events&&e.jodit.events.fire("afterInsertImage",t),e.jodit.events.fire("synchro")}else e.onDragEnd()},e}t.DragAndDropElement=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(0),r=o(4);t.insertParagraph=function(e,t,o,n){var a=e.create.inside.element(o),s=e.create.inside.element("br");a.appendChild(s),n&&n.cssText&&a.setAttribute("style",n.cssText),e.selection.insertNode(a,!1,!1),e.selection.setCursorBefore(s);var l=e.editorDocument.createRange();return l.setStartBefore("br"!=o.toLowerCase()?s:a),l.collapse(!0),e.selection.selectRange(l),i.Dom.safeRemove(t),r.scrollIntoView(a,e.editor,e.editorDocument),e.events&&e.events.fire("synchro"),a},t.enter=function(e){e.options.enterBlock||(e.options.enterBlock="br"==e.options.enter.toLowerCase()?n.PARAGRAPH:e.options.enter.toLowerCase()),e.events.on("keydown",(function(o){if(o.which===n.KEY_ENTER){var a=e.events.fire("beforeEnter",o);if(void 0!==a)return a;e.selection.isCollapsed()||e.execCommand("Delete"),e.selection.focus();var s=e.selection.current(!1),l=e.selection.sel,c=e.selection.range;s&&s!==e.editor||(e.selection.current(),s=e.create.inside.text(n.INVISIBLE_SPACE),l&&l.rangeCount?c.insertNode(s):e.editor.appendChild(s),c.selectNode(s),c.collapse(!1),l&&(l.removeAllRanges(),l.addRange(c)));var d=!!s&&i.Dom.up(s,(function(t){return i.Dom.isBlock(t,e.editorWindow)}),e.editor),p=d&&"LI"===d.nodeName;if(!p&&(e.options.enter.toLowerCase()==n.BR.toLowerCase()||o.shiftKey||i.Dom.closest(s,"PRE|BLOCKQUOTE",e.editor))){var u=e.create.inside.element("br");return e.selection.insertNode(u,!0),r.scrollIntoView(u,e.editor,e.editorDocument),!1}if(!d&&s&&!i.Dom.prev(s,(function(t){return i.Dom.isBlock(t,e.editorWindow)||!!t&&i.Dom.isImage(t,e.editorWindow)}),e.editor)){var f=s;if(i.Dom.up(f,(function(t){t&&t.hasChildNodes()&&t!==e.editor&&(f=t)}),e.editor),d=i.Dom.wrapInline(f,e.options.enter,e),i.Dom.isEmpty(d)){var h=e.editorDocument.createElement("br");d.appendChild(h),e.selection.setCursorBefore(h)}c=l&&l.rangeCount?l.getRangeAt(0):e.editorDocument.createRange()}var g=!1,m=!1;if(d){if(!i.Dom.canSplitBlock(d,e.editorWindow))return u=e.create.inside.element("br"),e.selection.insertNode(u,!1),e.selection.setCursorAfter(u),!1;if(p&&i.Dom.isEmpty(d)){var v=!1,b=i.Dom.closest(d,"ol|ul",e.editor);if(i.Dom.prev(d,(function(e){return e&&"LI"===e.nodeName}),b))if(i.Dom.next(d,(function(e){return e&&"LI"===e.nodeName}),b)){(x=e.editorDocument.createRange()).setStartBefore(b),x.setEndAfter(d);var y=x.extractContents();b.parentNode&&b.parentNode.insertBefore(y,b),v=e.selection.setCursorBefore(b)}else v=e.selection.setCursorAfter(b);else v=e.selection.setCursorBefore(b);return i.Dom.safeRemove(d),t.insertParagraph(e,v,e.options.enter),r.$$("li",b).length||i.Dom.safeRemove(b),!1}if(e.selection.cursorInTheEdge(!0,d))return g=e.selection.setCursorBefore(d),t.insertParagraph(e,g,p?"li":e.options.enter,d.style),d&&e.selection.setCursorIn(d,!0),!1;var x;!1===e.selection.cursorInTheEdge(!1,d)?((x=e.editorDocument.createRange()).setStartBefore(d),x.setEnd(c.startContainer,c.startOffset),y=x.extractContents(),d.parentNode&&d.parentNode.insertBefore(y,d),e.selection.setCursorIn(d,!0)):g=e.selection.setCursorAfter(d)}else m=!0;return(m||g)&&t.insertParagraph(e,g,p?"li":e.options.enter,d?d.style:void 0),!1}}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(0),r=o(5),a=o(4);n.Config.prototype.showMessageErrors=!0,n.Config.prototype.showMessageErrorTime=3e3,n.Config.prototype.showMessageErrorOffsetPx=3,t.errorMessages=function(e){if(e.options.showMessageErrors){var t,o=e.create.div("jodit_error_box_for_messages"),n=function(){t=5,Array.from(o.childNodes).forEach((function(n){a.css(o,"bottom",t+"px"),t+=n.offsetWidth+e.options.showMessageErrorOffsetPx}))};e.workplace.appendChild(o),e.events.on("beforeDestruct",(function(){i.Dom.safeRemove(o)})).on("errorMessage",(function(t,a,s){var l=e.create.div("active "+(a||""),t);o.appendChild(l),n(),r.setTimeout((function(){l.classList.remove("active"),r.setTimeout((function(){i.Dom.safeRemove(l),n()}),300)}),s||e.options.showMessageErrorTime)}))}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(0),r=o(4);n.Config.prototype.controls.fontsize={command:"fontSize",list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],template:function(e,t,o){return o},tooltip:"Font size",isActiveChild:function(e,t){var o=e.selection.current();if(o){var n=i.Dom.closest(o,(function(t){return i.Dom.isBlock(t,e.editorWindow)||t&&i.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE}),e.editor)||e.editor,a=r.css(n,"font-size");return!(!a||!t.args||""+t.args[1]!=""+a)}return!1},isActive:function(e){var t=e.selection.current();if(t){var o=i.Dom.closest(t,(function(t){return i.Dom.isBlock(t,e.editorWindow)||t&&i.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE}),e.editor)||e.editor;return""+r.css(o,"font-size")!=""+r.css(e.editor,"font-size")}return!1}},n.Config.prototype.controls.font={command:"fontname",exec:function(e,t,o){e.execCommand(o.command,!1,o.args?o.args[0]:void 0)},list:{"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"},template:function(e,t,o){return'<span style="font-family: '+t+'">'+o+"</span>"},isActiveChild:function(e,t){function o(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")}var n=e.selection.current();if(n){var a=i.Dom.closest(n,(function(t){return i.Dom.isBlock(t,e.editorWindow)||t&&i.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE}),e.editor)||e.editor,s=""+r.css(a,"font-family");return!(!s||!t.args||o(""+t.args[0])!==o(s))}return!1},isActive:function(e){var t=e.selection.current();if(t){var o=i.Dom.closest(t,(function(t){return i.Dom.isBlock(t,e.editorWindow)||i.Dom.isNode(t,e.editorWindow)&&t&&t.nodeType===Node.ELEMENT_NODE}),e.editor)||e.editor;return""+r.css(o,"font-family")!=""+r.css(e.editor,"font-family")}return!1},tooltip:"Font family"},t.font=function(e){function t(t,o,n){switch(t){case"fontsize":e.selection.applyCSS({fontSize:r.normalizeSize(n)});break;case"fontname":e.selection.applyCSS({fontFamily:n})}return e.events.fire("synchro"),!1}e.registerCommand("fontsize",t).registerCommand("fontname",t)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(0);n.Config.prototype.controls.paragraph={command:"formatBlock",getLabel:function(e,t,o){var n=e.selection.current();if(n&&e.options.textIcons){var i=(r.Dom.closest(n,(function(t){return r.Dom.isBlock(t,e.editorWindow)}),e.editor)||e.editor).nodeName.toLowerCase(),a=t.list;o&&t.data&&t.data.currentValue!==i&&t.list&&a[i]&&(o.textBox.innerHTML="<span>"+e.i18n(a[i])+"</span>",o.textBox.firstChild.classList.add("jodit_icon"),t.data.currentValue=i)}return!1},exec:function(e,t,o){e.execCommand(o.command,!1,o.args?o.args[0]:void 0)},data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote"},isActiveChild:function(e,t){var o=e.selection.current();if(o){var n=r.Dom.closest(o,(function(t){return r.Dom.isBlock(t,e.editorWindow)}),e.editor);return n&&n!==e.editor&&void 0!==t.args&&n.nodeName.toLowerCase()===t.args[0]}return!1},isActive:function(e,t){var o=e.selection.current();if(o){var n=r.Dom.closest(o,(function(t){return r.Dom.isBlock(t,e.editorWindow)}),e.editor);return n&&n!==e.editor&&void 0!==t.list&&"p"!=n.nodeName.toLowerCase()&&void 0!==t.list[n.nodeName.toLowerCase()]}return!1},template:function(e,t,o){return"<"+t+' class="jodit_list_element"><span>'+e.i18n(o)+"</span></"+t+"></li>"},tooltip:"Insert format block"},t.formatBlock=function(e){e.registerCommand("formatblock",(function(t,o,n){e.selection.focus();var a=!1;if(e.selection.eachSelection((function(t){var o=e.selection.save(),i=!!t&&r.Dom.up(t,(function(t){return r.Dom.isBlock(t,e.editorWindow)}),e.editor);i&&"LI"!==i.nodeName||!t||(i=r.Dom.wrapInline(t,e.options.enter,e)),i&&(i.tagName.match(/TD|TH|TBODY|TABLE|THEAD/i)?e.selection.isCollapsed()?r.Dom.wrapInline(t,n,e):e.selection.applyCSS({},n):n===e.options.enterBlock.toLowerCase()&&i.parentNode&&"LI"===i.parentNode.nodeName?r.Dom.unwrap(i):r.Dom.replace(i,n,!0,!1,e.editorDocument),a=!0),e.selection.restore(o)})),!a){var s=e.editorDocument.createElement(n);s.innerHTML=i.INVISIBLE_SPACE,e.selection.insertNode(s,!1),e.selection.setCursorIn(s)}return e.setEditorValue(),!1}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(4),a=o(6);n.Config.prototype.fullsize=!1,n.Config.prototype.globalFullsize=!0,n.Config.prototype.controls.fullsize={exec:function(e){e.toggleFullSize()},isActive:function(e){return e.isFullSize()},getLabel:function(e,t,o){var n=e.isFullSize()?"shrink":"fullsize";o&&(o.textBox.innerHTML=e.options.textIcons?"<span>"+e.i18n(n)+"</span>":a.ToolbarIcon.getIcon(n),o.textBox.firstChild.classList.add("jodit_icon"))},tooltip:"Open editor in fullsize",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},t.fullsize=function(e){function t(){e.events&&(n?(i=r.css(e.container,"height"),a=r.css(e.container,"width"),r.css(e.container,{height:e.ownerWindow.innerHeight,width:e.ownerWindow.innerWidth}),s=!0):s&&r.css(e.container,{height:i||"auto",width:a||"auto"}))}function o(o){if(e.container){if(void 0===o&&(o=!e.container.classList.contains("jodit_fullsize")),e.options.fullsize=!!o,e.container.classList.toggle("jodit_fullsize",n=o),e.toolbar&&r.css(e.toolbar.container,"width","auto"),e.options.globalFullsize){for(var i=e.container.parentNode;i&&i.nodeType!==Node.DOCUMENT_NODE;)i.classList.toggle("jodit_fullsize_box",o),i=i.parentNode;t()}e.events.fire("afterResize")}}var n=!1,i=0,a=0,s=!1;e.options.globalFullsize&&e.events.on(e.ownerWindow,"resize",t),e.events.on("afterInit afterOpen",(function(){e.toggleFullSize(e.options.fullsize)})).on("toggleFullSize",o).on("beforeDestruct beforeClose",(function(){o(!1)})).on("beforeDestruct",(function(){e.events&&e.events.off(e.ownerWindow,"resize",t)}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(7),a=o(19);i.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"]};var s,l=(n.__extends(c,s=r.Plugin),c.prototype.afterInit=function(e){var t=this;Object.keys(e.options.commandToHotkeys).forEach((function(t){var o=e.options.commandToHotkeys[t];o&&e.registerHotkeyToCommand(o,t)}));var o=!1;e.events.on("keydown.hotkeys",(function(n){var i=t.onKeyPress(n);if(!1===t.jodit.events.fire(i+".hotkey",n.type))return o=!0,e.events.stopPropagation("keydown"),!1}),void 0,void 0,!0).on("keyup.hotkeys",(function(){if(o)return o=!1,e.events.stopPropagation("keyup"),!1}),void 0,void 0,!0)},c.prototype.beforeDestruct=function(e){e.events&&e.events.off(".hotkeys")},c);function c(){var e=null!==s&&s.apply(this,arguments)||this;return e.onKeyPress=function(t){var o=e.specialKeys[t.which],n=(t.key||String.fromCharCode(t.which)).toLowerCase(),i=[o||n];return["alt","ctrl","shift","meta"].forEach((function(e){t[e+"Key"]&&o!==e&&i.push(e)})),a.normalizeKeyAliases(i.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}t.hotkeys=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(54),a=o(5),s=o(10);i.Config.prototype.iframeBaseUrl="",i.Config.prototype.iframeDefaultSrc="about:blank",i.Config.prototype.iframeStyle='html{margin: 0px;min-height: 100%;}body{box-sizing: border-box;font-size: 13px;    line-height: 1.6;padding:10px;background:transparent;color:#000;position:relative;z-index: 2;user-select:auto;margin:0px;overflow:auto;}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}td[data-jodit-selected-cell],th[data-jodit-selected-cell]{border: 1px double #1e88e5}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}',i.Config.prototype.iframeCSSLinks=[],t.iframe=function(e){var t=this;e.events.on("afterSetMode",(function(){e.isEditorMode()&&e.selection.focus()})).on("generateDocumentStructure.iframe",(function(e,t){var o=e||t.iframe.contentWindow.document;if(o.open(),o.write('<!DOCTYPE html><html dir="'+t.options.direction+'" class="jodit" lang="'+r.defaultLanguage(t.options.language)+'"><head><title>Jodit Editor</title>'+(t.options.iframeBaseUrl?'<base href="'+t.options.iframeBaseUrl+'"/>':"")+'</head><body class="jodit_wysiwyg" style="outline:none" contenteditable="true"></body></html>'),o.close(),t.options.iframeCSSLinks&&t.options.iframeCSSLinks.forEach((function(e){var t=o.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),o.head&&o.head.appendChild(t)})),t.options.iframeStyle){var n=o.createElement("style");n.innerHTML=t.options.iframeStyle,o.head&&o.head.appendChild(n)}})).on("createEditor",(function(){return n.__awaiter(t,void 0,void 0,(function(){var t,o,i;return n.__generator(this,(function(n){switch(n.label){case 0:return e.options.iframe?(delete e.editor,(t=e.create.element("iframe")).style.display="block",t.src="about:blank",t.className="jodit_wysiwyg_iframe",t.setAttribute("allowtransparency","true"),t.setAttribute("tabindex",""+e.options.tabIndex),t.setAttribute("frameborder","0"),e.workplace.appendChild(t),e.iframe=t,[4,e.events.fire("generateDocumentStructure.iframe",null,e)]):[2];case 1:return n.sent(),e.editorDocument=o=e.iframe.contentWindow.document,e.editorWindow=e.iframe.contentWindow,e.create.inside.setDocument(o),e.editor=o.body,"auto"===e.options.height&&(o.documentElement&&(o.documentElement.style.overflowY="hidden"),i=a.throttle((function(){e.editor&&e.iframe&&"auto"===e.options.height&&s.css(e.iframe,"height",e.editor.offsetHeight)}),e.defaultTimeout/2),e.events.on("change afterInit afterSetMode resize",i).on([e.iframe,e.editorWindow,o.documentElement],"load",i).on(o,"readystatechange DOMContentLoaded",i)),(r=e.editorWindow.Element.prototype).matches||(r.matches=Element.prototype.matches),e.editorDocument.documentElement&&e.events.on(e.editorDocument.documentElement,"mousedown touchend",(function(){e.selection.isFocused()||(e.selection.focus(),e.selection.setCursorIn(e.editor))})).on(e.editorWindow,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",(function(t){e.events&&e.events.fire&&e.events.fire(e.ownerWindow,t)})),[2,!1]}var r}))}))}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(4),i="__jodit_imageprocessor_binded";t.imageProcessor=function(e){e.events.on("change afterInit",n.debounce((function(){e.editor&&n.$$("img",e.editor).forEach((function(t){t[i]||(t[i]=!0,t.complete||t.addEventListener("load",(function o(){e.events&&e.events.fire&&e.events.fire("resize"),t.removeEventListener("load",o)})),e.events.on(t,"mousedown touchstart",(function(){e.selection.select(t)})))}))}),e.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(13),r=o(0),a=o(4),s=o(6),l=o(17),c=l.Widget.TabsWidget,d=l.Widget.FileSelectorWidget,p=o(28);n.Config.prototype.image={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},t.imageProperties=function(e){function t(t){var o=this;if(!e.options.readonly){t&&t.stopImmediatePropagation();var n,l=e.create.fromHTML.bind(e.create),u=this,f=new i.Dialog(e),h=l('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+s.ToolbarIcon.getIcon("cancel")+"<span>"+e.i18n("Cancel")+"</span></a>"),g=l('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+s.ToolbarIcon.getIcon("check")+"<span>"+e.i18n("Ok")+"</span></a>"),m={remove:l('<a href="javascript:void(0)" class="jodit_button">'+s.ToolbarIcon.getIcon("bin")+" "+e.i18n("Delete")+"</a>")},v=l('<form class="jodit_properties"><div class="jodit_grid"><div class="jodit_col-lg-2-5"><div class="jodit_properties_view_box"><div style="'+(e.options.image.showPreview?"":"display:none")+'" class="jodit_properties_image_view"><img class="imageViewSrc" src="" alt=""/></div><div style="'+(e.options.image.editSize?"":"display:none")+'" class="jodit_form_group jodit_properties_image_sizes"><input type="number" class="imageWidth"/><a class="jodit_lock_helper jodit_lock_size" href="javascript:void(0)">'+s.ToolbarIcon.getIcon("lock")+'</a><input type="number" class="imageHeight"/></div></div></div><div class="jodit_col-lg-3-5 tabsbox"></div></div></form>'),b=l('<div style="'+(e.options.image.editMargins?"":"display:none")+'" class="jodit_form_group"><label>'+e.i18n("Margins")+'</label><div class="jodit_grid"><input class="jodit_col-lg-1-5 margins marginTop" data-id="marginTop" type="text" placeholder="'+e.i18n("top")+'"/><a style="text-align: center;" class="jodit_lock_helper jodit_lock_margin jodit_col-lg-1-5" href="javascript:void(0)">'+s.ToolbarIcon.getIcon("lock")+'</a><input disabled="true" class="jodit_col-lg-1-5 margins marginRight" data-id="marginRight" type="text" placeholder="'+e.i18n("right")+'"/><input disabled="true" class="jodit_col-lg-1-5 margins marginBottom" data-id="marginBottom" type="text" placeholder="'+e.i18n("bottom")+'"/><input disabled="true" class="jodit_col-lg-1-5 margins marginLeft" data-id="marginLeft" type="text" placeholder="'+e.i18n("left")+'"/></div></div><div style="'+(e.options.image.editStyle?"":"display:none")+'" class="jodit_form_group"><label>'+e.i18n("Styles")+'</label><input type="text" class="style"/></div><div style="'+(e.options.image.editClass?"":"display:none")+'" class="jodit_form_group"><label for="classes">'+e.i18n("Classes")+'</label><input type="text" class="classes"/></div><div style="'+(e.options.image.editId?"":"display:none")+'" class="jodit_form_group"><label for="id">Id</label><input type="text" class="id"/></div><div style="'+(e.options.image.editBorderRadius?"":"display:none")+'" class="jodit_form_group"><label for="border_radius">Border radius</label><input type="number" class="border_radius"/></div><div style="'+(e.options.image.editAlign?"":"display:none")+'" class="jodit_form_group"><label for="align">'+e.i18n("Align")+'</label><select class="select align"><option value="">'+e.i18n("--Not Set--")+'</option><option value="left">'+e.i18n("Left")+'</option><option value="center">'+e.i18n("Center")+'</option><option value="right">'+e.i18n("Right")+"</option></optgroup></select></div>"),y=l('<div style="'+(e.options.image.editSrc?"":"display:none")+'" class="jodit_form_group"><label>'+e.i18n("Src")+'</label><div class="jodit_input_group"><input type="text" class="imageSrc"/>'+(e.options.filebrowser.ajax.url||e.options.uploader.url?'<div class="jodit_input_group-buttons">'+(e.options.filebrowser.ajax.url||e.options.uploader.url?'<a class="jodit_button jodit_rechange" href="javascript:void(0)">'+s.ToolbarIcon.getIcon("image")+"</a>":"")+(e.options.image.useImageEditor&&e.options.filebrowser.ajax.url?'<a class="jodit_button jodit_use_image_editor" href="javascript:void(0)">'+s.ToolbarIcon.getIcon("crop")+"</a>":"")+"</div>":"")+'</div></div><div style="'+(e.options.image.editTitle?"":"display:none")+'" class="jodit_form_group"><label for="imageTitle">'+e.i18n("Title")+'</label><input type="text" class="imageTitle"/></div><div style="'+(e.options.image.editAlt?"":"display:none")+'" class="jodit_form_group"><label for="imageAlt">'+e.i18n("Alternative")+'</label><input type="text" class="imageAlt"/></div><div style="'+(e.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><label for="imageLink">'+e.i18n("Link")+'</label><input type="text" class="imageLink"/></div><div style="'+(e.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><input type="checkbox" class="imageLinkOpenInNewTab"/> '+e.i18n("Open link in new tab")+"</div>"),x=u.naturalWidth/u.naturalHeight||1,_=v.querySelector(".imageWidth"),w=v.querySelector(".imageHeight"),k=function(){a.val(v,".imageSrc",u.getAttribute("src")||"");var e=v.querySelector(".imageViewSrc");e&&e.setAttribute("src",u.getAttribute("src")||"")},j=function(){k(),function(){u.hasAttribute("title")&&a.val(v,".imageTitle",u.getAttribute("title")||""),u.hasAttribute("alt")&&a.val(v,".imageAlt",u.getAttribute("alt")||"");var t=r.Dom.closest(u,"a",e.editor);t&&(a.val(v,".imageLink",t.getAttribute("href")||""),v.querySelector(".imageLinkOpenInNewTab").checked="_blank"===t.getAttribute("target"))}(),_.value=""+u.offsetWidth,w.value=""+u.offsetHeight,function(){if(e.options.image.editMargins){var t=!1;a.$$(".margins",v).forEach((function(e){var o=e.getAttribute("data-id")||"",n=u.style[o];n&&(/^[0-9]+(px)?$/.test(n)&&(n=parseInt(n,10)),e.value=""+n||"",t||"marginTop"===o||e.value===a.val(v,".marginTop")||(t=!0))})),S=!t;var o=v.querySelector(".jodit_lock_margin");o&&(o.innerHTML=s.ToolbarIcon.getIcon(S?"lock":"unlock")),a.$$(".margins:not(.marginTop)",v).forEach((function(e){return S?e.setAttribute("disabled","true"):e.removeAttribute("disabled")}))}}(),a.val(v,".classes",(u.getAttribute("class")||"").replace(/jodit_focused_image[\s]*/,"")),a.val(v,".id",u.getAttribute("id")||""),a.val(v,".border_radius",""+(parseInt(u.style.borderRadius||"0",10)||"0")),u.style.cssFloat&&~["left","right"].indexOf(u.style.cssFloat.toLowerCase())?a.val(v,".align",a.css(u,"float")):"block"===a.css(u,"display")&&"auto"===u.style.marginLeft&&"auto"===u.style.marginRight&&a.val(v,".align","center"),a.val(v,".style",u.getAttribute("style")||"")},C=!0,S=!0,A={},M=v.querySelector(".tabsbox");A.Image=y,A.Advanced=b,M&&M.appendChild(c(e,A)),j(),e.events.on(f,"afterClose",(function(){f.destruct(),u.parentNode&&e.options.image.selectImageAfterClose&&e.selection.select(u)})),m.remove.addEventListener("click",(function(){r.Dom.safeRemove(u),f.close()})),e.options.image.useImageEditor&&a.$$(".jodit_use_image_editor",y).forEach((function(t){e.events.on(t,"mousedown touchstart",(function(){function t(){n.host===location.host||i.Confirm(e.i18n("You can only edit your own images. Download this image on the host?"),(function(t){t&&e.uploader&&e.uploader.uploadRemoteImage(""+n.href,(function(t){i.Alert(e.i18n("The image has been successfully uploaded to the host!"),(function(){"string"==typeof t.newfilename&&(u.setAttribute("src",t.baseurl+t.newfilename),k())}))}),(function(t){i.Alert(e.i18n("There was an error loading %s",t.message))}))}))}var o=u.getAttribute("src")||"",n=e.create.element("a");n.href=o,e.getInstance("FileBrowser").dataProvider.getPathByUrl(""+n.href,(function(t,r,a){e.getInstance("FileBrowser").openImageEditor(n.href,r,t,a,(function(){var e=(new Date).getTime();u.setAttribute("src",o+(~o.indexOf("?")?"":"?")+"&_tmp="+e),k()}),(function(e){i.Alert(e.message)}))}),(function(e){i.Alert(e.message,t)}))}))})),a.$$(".jodit_rechange",y).forEach((function(t){t.addEventListener("mousedown",(function(o){t.classList.toggle("active");var n=new p.Popup(e,t);n.open(d(e,{upload:function(e){e.files&&e.files.length&&u.setAttribute("src",e.baseurl+e.files[0]),j(),n.close()},filebrowser:function(e){e&&e.files&&Array.isArray(e.files)&&e.files.length&&(u.setAttribute("src",e.files[0]),n.close(),j())}},u,n.close),!0),o.stopPropagation()}))}));var E=v.querySelector(".jodit_lock_helper.jodit_lock_size"),z=v.querySelector(".jodit_lock_helper.jodit_lock_margin");E&&E.addEventListener("click",(function(){this.innerHTML=s.ToolbarIcon.getIcon((C=!C)?"lock":"unlock"),e.events.fire(_,"change")})),z&&z.addEventListener("click",(function(){this.innerHTML=s.ToolbarIcon.getIcon((S=!S)?"lock":"unlock"),S?a.$$(".margins",v).forEach((function(e){e.matches(".marginTop")||e.setAttribute("disabled","true")})):a.$$(".margins",v).forEach((function(e){e.matches(".marginTop")||e.removeAttribute("disabled")}))}));var T=function(e){var t=parseInt(_.value,10),o=parseInt(w.value,10);e.target===_?w.value=""+Math.round(t/x):_.value=""+Math.round(o*x)};return e.events.on([_,w],"change keydown mousedown paste",(function(t){C&&(e.defaultTimeout?(clearTimeout(n),n=a.setTimeout(T.bind(o,t),e.defaultTimeout)):T(t))})),f.setTitle([e.i18n("Image properties"),m.remove]),f.setContent(v),h.addEventListener("click",(function(){f.close()})),g.addEventListener("click",(function(){if(e.options.image.editStyle&&(a.val(v,".style")?u.setAttribute("style",a.val(v,".style")):u.removeAttribute("style")),!a.val(v,".imageSrc"))return r.Dom.safeRemove(u),void f.close();u.setAttribute("src",a.val(v,".imageSrc")),u.style.borderRadius="0"!==a.val(v,".border_radius")&&/^[0-9]+$/.test(a.val(v,".border_radius"))?a.val(v,".border_radius")+"px":"",a.val(v,".imageTitle")?u.setAttribute("title",a.val(v,".imageTitle")):u.removeAttribute("title"),a.val(v,".imageAlt")?u.setAttribute("alt",a.val(v,".imageAlt")):u.removeAttribute("alt");var t=r.Dom.closest(u,"a",e.editor);function o(e){return e=a.trim(e),/^[0-9]+$/.test(e)?e+"px":e}function n(){"block"===a.css(u,"display")&&a.css(u,"display",""),"auto"===u.style.marginLeft&&"auto"===u.style.marginRight&&(u.style.marginLeft="",u.style.marginRight="")}a.val(v,".imageLink")?((t=t||r.Dom.wrap(u,"a",e)).setAttribute("href",a.val(v,".imageLink")),v.querySelector(".imageLinkOpenInNewTab").checked?t.setAttribute("target","_blank"):t.removeAttribute("target")):t&&t.parentNode&&t.parentNode.replaceChild(u,t),_.value===""+u.offsetWidth&&w.value===""+u.offsetHeight||a.css(u,{width:a.trim(_.value)?o(_.value):null,height:a.trim(w.value)?o(w.value):null}),e.options.image.editMargins&&(S?a.css(u,"margin",o(a.val(v,".marginTop"))):a.$$(".margins",v).forEach((function(e){var t=e.getAttribute("data-id")||"";a.css(u,t,o(e.value))}))),e.options.image.editClass&&(a.val(v,".classes")?u.setAttribute("class",a.val(v,".classes")):u.removeAttribute("class")),e.options.image.editId&&(a.val(v,".id")?u.setAttribute("id",a.val(v,".id")):u.removeAttribute("id")),e.options.image.editAlign&&(a.val(v,".align")?~["right","left"].indexOf(a.val(v,".align").toLowerCase())?(a.css(u,"float",a.val(v,".align")),n()):(a.css(u,"float",""),a.css(u,{display:"block","margin-left":"auto","margin-right":"auto"})):(a.css(u,"float")&&~["right","left"].indexOf((""+a.css(u,"float")).toLowerCase())&&a.css(u,"float",""),n())),u.getAttribute("style")||u.removeAttribute("style"),e.setEditorValue(),f.close()})),f.setFooter([g,h]),f.setSize(500),f.open(),t&&t.preventDefault(),!1}}e.events.on("afterInit",(function(){e.events.on(e.editor,"dblclick",e.options.image.openOnDblClick?t:function(t){t.stopImmediatePropagation(),e.selection.select(this)},"img")})).on("openImageProperties",(function(e){t.call(e)}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(0);n.Config.prototype.controls.indent={tooltip:"Increase Indent"},n.Config.prototype.controls.outdent={isDisable:function(e){var t=e.selection.current();if(t){var o=r.Dom.closest(t,(function(t){return r.Dom.isBlock(t,e.editorWindow)}),e.editor);if(o&&o.style&&o.style.marginLeft)return parseInt(o.style.marginLeft,10)<=0}return!0},tooltip:"Decrease Indent"},n.Config.prototype.indentMargin=10,t.indent=function(e){function t(t){var o=[];return e.selection.eachSelection((function(n){var a=e.selection.save(),s=!!n&&r.Dom.up(n,(function(t){return r.Dom.isBlock(t,e.editorWindow)}),e.editor),l=e.options.enter;if(!s&&n&&(s=r.Dom.wrapInline(n,l!==i.BR?l:i.PARAGRAPH,e)),!s)return e.selection.restore(a),!1;var c=!!~o.indexOf(s);if(s&&s.style&&!c){o.push(s);var d=s.style.marginLeft?parseInt(s.style.marginLeft,10):0;s.style.marginLeft=0<(d+=e.options.indentMargin*("outdent"===t?-1:1))?d+"px":"",s.getAttribute("style")||s.removeAttribute("style")}e.selection.restore(a)})),e.setEditorValue(),!1}e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(17),a=r.Widget.ColorPickerWidget,s=r.Widget.TabsWidget,l=o(0),c=o(4),d=o(7),p=o(30),u=o(28),f=o(20);i.Config.prototype.toolbarInline=!0,i.Config.prototype.toolbarInlineDisableFor=[],i.Config.prototype.popup={a:[{name:"eye",tooltip:"Open link",exec:function(e,t){var o=t.getAttribute("href");t&&o&&e.ownerWindow.open(o)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"],jodit:[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(l.Dom.safeRemove(t),e.events.fire("hidePopup"))}}],"jodit-media":[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(l.Dom.safeRemove(t),e.events.fire("hidePopup"))}}],img:[{name:"delete",icon:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(l.Dom.safeRemove(t),e.events.fire("hidePopup"))}},{name:"pencil",exec:function(e,t){"img"==t.tagName.toLowerCase()&&e.events.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom"],tooltip:"Vertical align",exec:function(e,t,o){if("img"==t.tagName.toLowerCase()){var n=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";c.css(t,"vertical-align",n),e.events.fire("recalcPositionPopup")}}},{name:"left",list:["Left","Right","Center","Normal"],exec:function(e,t,o){if("img"==t.tagName.toLowerCase()){var n=function(){"block"===c.css(t,"display")&&c.css(t,"display",""),"auto"===t.style.marginLeft&&"auto"===t.style.marginRight&&(t.style.marginLeft="",t.style.marginRight="")},i=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";"normal"!=i?~["right","left"].indexOf(i)?(c.css(t,"float",i),n()):(c.css(t,"float",""),c.css(t,{display:"block","margin-left":"auto","margin-right":"auto"})):(c.css(t,"float")&&~["right","left"].indexOf(c.css(t,"float").toLowerCase())&&c.css(t,"float",""),n()),e.events.fire("recalcPositionPopup")}},tooltip:"Horizontal align"}],table:[{name:"brush",popup:function(e,t){var o,n,i,r,l,d,u=p.Table.getAllSelectedCells(t);return!!u.length&&(r=c.css(u[0],"color"),d=c.css(u[0],"background-color"),l=c.css(u[0],"border-color"),o=a(e,(function(t){u.forEach((function(e){c.css(e,"background-color",t)})),e.setEditorValue()}),d),n=a(e,(function(t){u.forEach((function(e){c.css(e,"color",t)})),e.setEditorValue()}),r),i=a(e,(function(t){u.forEach((function(e){c.css(e,"border-color",t)})),e.setEditorValue()}),l),s(e,{Background:o,Text:n,Border:i}))},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom"],exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";p.Table.getAllSelectedCells(t).forEach((function(e){c.css(e,"vertical-align",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 n=o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"";e.execCommand(n,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"";e.execCommand(n,!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 n=o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"";e.execCommand(n,!1,t),e.events.fire("hidePopup")},tooltip:"Delete"}]};var h,g=(n.__extends(m,h=d.Plugin),m.prototype.isExcludedTarget=function(e){return!!~c.splitArray(this.jodit.options.toolbarInlineDisableFor).map((function(e){return e.toLowerCase()})).indexOf(e.toLowerCase())},m.prototype.hideIfCollapsed=function(){return!!this.jodit.selection.isCollapsed()&&(this.hidePopup(),!0)},m.prototype.afterInit=function(e){var t=this;this.toolbar=f.JoditToolbarCollection.makeCollection(e),this.target=e.create.div("jodit_toolbar_popup-inline-target"),this.container=e.create.div(),this.popup=new u.Popup(e,this.target,void 0,"jodit_toolbar_popup-inline"),e.events.on(this.target,"mousedown keydown touchstart",(function(e){e.stopPropagation()})).on("beforeOpenPopup hidePopup afterSetMode",this.hidePopup).on("recalcPositionPopup",this.reCalcPosition).on("getDiffButtons.mobile",(function(o){if(t.toolbar===o)return c.splitArray(e.options.buttons).filter((function(e){return"|"!==e&&"\n"!==e})).filter((function(e){return!~t.toolbar.getButtonsList().indexOf(e)}))})).on("selectionchange",this.onChangeSelection).on("afterCommand afterExec",(function(){t.isShown&&t.isSelectionPopup&&t.onChangeSelection()})).on("showPopup",(function(e,o){var n=("string"==typeof e?e:e.nodeName).toLowerCase();t.isSelectionPopup=!1,t.showPopup(o,n,"string"==typeof e?void 0:e)})).on("mousedown keydown touchstart",this.onSelectionStart).on([e.ownerWindow,e.editor],"scroll resize",this.reCalcPosition).on([e.ownerWindow],"mouseup keyup touchend",this.onSelectionEnd).on([e.ownerWindow],"mousedown keydown touchstart",this.checkIsTargetEvent)},m.prototype.beforeDestruct=function(e){this.popup&&this.popup.destruct(),delete this.popup,this.toolbar&&this.toolbar.destruct(),delete this.toolbar,l.Dom.safeRemove(this.target),l.Dom.safeRemove(this.container),e.events&&e.events.off([e.ownerWindow],"scroll resize",this.reCalcPosition).off([e.ownerWindow],"mouseup keyup touchend",this.onSelectionEnd).off([e.ownerWindow],"mousedown keydown touchstart",this.checkIsTargetEvent)},m);function m(){var e=null!==h&&h.apply(this,arguments)||this;return e._hiddenClass="jodit_toolbar_popup-inline-target-hidden",e.isSelectionStarted=!1,e.onSelectionEnd=c.debounce((function(){!e.isDestructed&&e.jodit.isEditorMode()&&(e.isSelectionStarted&&(e.isTargetAction||e.onChangeSelection()),e.isSelectionStarted=!1,e.isTargetAction=!1)}),e.jodit.defaultTimeout),e.isTargetAction=!1,e.isSelectionPopup=!1,e.calcWindSizes=function(){var t=e.jodit.ownerWindow,o=e.jodit.ownerDocument.documentElement;if(!o)return{left:0,top:0,width:0,height:0};var n=e.jodit.ownerDocument.body,i=o.clientTop||n.clientTop||0,r=o.clientLeft||n.clientLeft||0;return{left:r,top:i,width:o.clientWidth+(t.pageXOffset||o.scrollLeft||n.scrollLeft)-r,height:o.clientHeight+(t.pageYOffset||o.scrollTop||n.scrollTop)-i}},e.calcPosition=function(t,o){if(!e.isDestructed){e.popup.target.classList.remove(e._hiddenClass);var n=t.left+t.width/2,i=c.offset(e.jodit.workplace,e.jodit,e.jodit.ownerDocument,!0),r=t.top+t.height+10;e.target.style.left=n+"px",e.target.style.top=r+"px",e.jodit.isFullSize()&&(e.target.style.zIndex=""+c.css(e.jodit.container,"zIndex"));var a=e.container.offsetWidth/2,s=-a;e.popup.container.classList.remove("jodit_toolbar_popup-inline-top"),o.height<r+e.container.offsetHeight&&(e.target.style.top=(r=t.top-e.container.offsetHeight-10)+"px",e.popup.container.classList.add("jodit_toolbar_popup-inline-top")),n-a<0&&(s=-(t.width/2+t.left)),o.width<n+a&&(s=-(e.container.offsetWidth-(o.width-n))),e.container.style.marginLeft=s+"px",(50<i.top-r||50<r-(i.top+i.height))&&e.popup.target.classList.add(e._hiddenClass)}},e.reCalcPosition=function(){e.__getRect&&e.calcPosition(e.__getRect(),e.calcWindSizes())},e.showPopup=function(t,o,n){if(!e.jodit.options.toolbarInline||!e.jodit.options.popup[o.toLowerCase()])return!1;if(e.isExcludedTarget(o))return!0;e.isShown=!0,e.isTargetAction=!0;var i=e.calcWindSizes();return e.target.parentNode||e.jodit.ownerDocument.body.appendChild(e.target),e.toolbar.build(e.jodit.options.popup[o.toLowerCase()],e.container,n),e.popup.open(e.container,!1,!0),e.__getRect=t,e.calcPosition(t(),i),!0},e.hidePopup=function(t){e.isDestructed||t&&(l.Dom.isNode(t,e.jodit.editorWindow||window)||t instanceof u.Popup)&&l.Dom.isOrContains(e.target,t instanceof u.Popup?t.target:t)||(e.isTargetAction=!1,e.isShown=!1,e.popup.close(),l.Dom.safeRemove(e.target))},e.onSelectionStart=function(t){if(!e.isDestructed&&e.jodit.isEditorMode()&&(e.isTargetAction=!1,e.isSelectionPopup=!1,!e.isSelectionStarted)){var o=Object.keys(e.jodit.options.popup).join("|"),n="IMG"===t.target.nodeName?t.target:l.Dom.closest(t.target,o,e.jodit.editor);n&&e.showPopup((function(){return c.offset(n,e.jodit,e.jodit.editorDocument)}),n.nodeName,n)||(e.isSelectionStarted=!0)}},e.checkIsTargetEvent=function(){e.isTargetAction?e.isTargetAction=!1:e.hidePopup()},e.isShown=!1,e.onChangeSelection=function(){if(e.jodit.options.toolbarInline&&e.jodit.isEditorMode()&&!e.hideIfCollapsed()&&void 0!==e.jodit.options.popup.selection){var t=e.jodit.selection.sel;if(t&&t.rangeCount){e.isSelectionPopup=!0;var o=t.getRangeAt(0);e.showPopup((function(){return c.offset(o,e.jodit,e.jodit.editorDocument)}),"selection")}}},e}t.inlinePopup=g},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(0),r=o(4),a=o(6);n.Config.prototype.controls.align={name:"left",tooltip:"Align",getLabel:function(e,t,o){var n=e.selection.current();if(n){var s=i.Dom.closest(n,(function(t){return i.Dom.isBlock(t,e.editorWindow)}),e.editor)||e.editor,l=""+r.css(s,"text-align");t.defaultValue&&~t.defaultValue.indexOf(l)&&(l="left"),o&&t.data&&t.data.currentValue!==l&&t.list&&~t.list.indexOf(l)&&(o.textBox.innerHTML=e.options.textIcons?"<span>"+l+"</span>":a.ToolbarIcon.getIcon(l,""),o.textBox.firstChild.classList.add("jodit_icon"),t.data.currentValue=l)}return!1},isActive:function(e,t){var o=e.selection.current();if(o&&t.defaultValue){var n=i.Dom.closest(o,(function(t){return i.Dom.isBlock(t,e.editorWindow)}),e.editor)||e.editor;return!~t.defaultValue.indexOf(""+r.css(n,"text-align"))}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=function(e){function t(t){function o(o){if(o instanceof e.editorWindow.HTMLElement)switch(t.toLowerCase()){case"justifyfull":o.style.textAlign="justify";break;case"justifyright":o.style.textAlign="right";break;case"justifyleft":o.style.textAlign="left";break;case"justifycenter":o.style.textAlign="center"}}return e.selection.focus(),e.selection.eachSelection((function(t){if(!t&&e.editor.querySelector(".jodit_selected_cell"))return r.$$(".jodit_selected_cell",e.editor).forEach(o),!1;if(t instanceof e.editorWindow.Node){var n=!!t&&i.Dom.up(t,(function(t){return i.Dom.isBlock(t,e.editorWindow)}),e.editor);!n&&t&&(n=i.Dom.wrapInline(t,e.options.enterBlock,e)),o(n)}})),!1}e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(5),a=o(36);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1,t.limit=function(e){if(e&&(e.options.limitWords||e.options.limitChars)){var t=function(t,o){void 0===o&&(o="");var n=(o||(e.options.limitHTML?e.value:e.getEditorText())).replace(i.INVISIBLE_SPACE_REG_EXP,"").split(i.SPACE_REG_EXP).filter((function(e){return e.length}));if(!t||!~i.COMMAND_KEYS.indexOf(t.which))return e.options.limitWords&&e.options.limitWords<=n.length?e.options.limitWords===n.length:e.options.limitChars&&e.options.limitChars<=n.join("").length?e.options.limitChars===n.join("").length:void 0},o=null;e.events.on("beforePaste",(function(){o=e.observer.snapshot.make()})).on("keydown keyup beforeEnter beforePaste",(function(e){if(void 0!==t(e))return!1})).on("change",r.debounce((function(o,n){!1===t(null,e.options.limitHTML?o:a.stripTags(o))&&(e.value=n)}),e.defaultTimeout)).on("afterPaste",(function(){if(!1===t(null)&&o)return e.observer.snapshot.restore(o),!1}))}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(0),r=o(4);n.Config.prototype.link={followOnDblClick:!0,processVideoLink:!0,processPastedLink:!0,openLinkDialogAfterPost:!0,removeLinkAfterFormat:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0},n.Config.prototype.controls.unlink={exec:function(e,t){var o=i.Dom.closest(t,"A",e.editor);o&&i.Dom.unwrap(o),e.events.fire("hidePopup")}},n.Config.prototype.controls.link={isActive:function(e){var t=e.selection.current();return t&&!1!==i.Dom.closest(t,"a",e.editor)},popup:function(e,t,o,n){var a=e.selection.sel,s=e.create.fromHTML('<form class="jodit_form"><input required type="text" name="url" placeholder="http://" type="text"/><input name="text" placeholder="'+e.i18n("Text")+'" type="text"/>'+(e.options.link.openInNewTabCheckbox?'<label><input name="target" type="checkbox"/> '+e.i18n("Open in new tab")+"</label>":"")+(e.options.link.noFollowCheckbox?'<label><input name="nofollow" type="checkbox"/> '+e.i18n("No follow")+"</label>":"")+'<div style="text-align: right"><button class="jodit_unlink_button" type="button">'+e.i18n("Unlink")+'</button> &nbsp;&nbsp;<button class="jodit_link_insert_button" type="submit"></button></div><form/>');t=!(!t||!i.Dom.closest(t,"A",e.editor))&&i.Dom.closest(t,"A",e.editor);var l=s.querySelector(".jodit_link_insert_button"),c=s.querySelector(".jodit_unlink_button");t?(r.val(s,"input[name=url]",t.getAttribute("href")||""),r.val(s,"input[name=text]",t.textContent||""),e.options.link.openInNewTabCheckbox&&(s.querySelector("input[name=target]").checked="_blank"===t.getAttribute("target")),e.options.link.noFollowCheckbox&&(s.querySelector("input[name=nofollow]").checked="nofollow"===t.getAttribute("rel")),l&&(l.innerHTML=e.i18n("Update"))):(c&&(c.style.display="none"),r.val(s,"input[name=text]",a?""+a:""),l&&(l.innerHTML=e.i18n("Insert")));var d=e.selection.save();return c&&c.addEventListener("mousedown",(function(o){t&&i.Dom.unwrap(t),e.selection.restore(d),n(),o.preventDefault()})),s.addEventListener("submit",(function(o){o.preventDefault(),e.selection.restore(d);var i=t||e.editorDocument.createElement("a");return r.val(s,"input[name=url]")?(i.setAttribute("href",r.val(s,"input[name=url]")),i.textContent=r.val(s,"input[name=text]"),e.options.link.openInNewTabCheckbox&&(s.querySelector("input[name=target]").checked?i.setAttribute("target","_blank"):i.removeAttribute("target")),e.options.link.noFollowCheckbox&&(s.querySelector("input[name=nofollow]").checked?i.setAttribute("rel","nofollow"):i.removeAttribute("rel")),t||e.selection.insertNode(i),n()):(s.querySelector("input[name=url]").focus(),s.querySelector("input[name=url]").classList.add("jodit_error")),!1})),s},tags:["a"],tooltip:"Insert link"},t.link=function(e){e.options.link.followOnDblClick&&e.events.on("afterInit",(function(){e.events.on(e.editor,"dblclick",(function(e){var t=this.getAttribute("href");t&&(location.href=t,e.preventDefault())}),"a")})),e.options.link.processPastedLink&&e.events.on("processPaste",(function(t,o){if(r.isURL(o)){var n=r.convertMediaURLToVideoEmbed(o);if(n!==o)return e.create.inside.fromHTML(n);var i=e.create.inside.element("a");return i.setAttribute("href",o),i.textContent=o,i}})),e.options.link.removeLinkAfterFormat&&e.events.on("afterCommand",(function(t){var o,n;"removeFormat"===t&&((n=e.selection.current())&&"A"!==n.nodeName&&(n=i.Dom.closest(n,"A",e.editor)),n&&"A"===n.nodeName&&(n.innerHTML===n.textContent?o=e.editorDocument.createTextNode(n.innerHTML):(o=e.editorDocument.createElement("span")).innerHTML=n.innerHTML,n.parentNode&&(n.parentNode.replaceChild(o,n),e.selection.setCursorIn(o,!0))))}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(5),a=o(12);n.Config.prototype.mediaFakeTag="jodit-media",n.Config.prototype.mediaInFakeBlock=!0,n.Config.prototype.mediaBlocks=["video","audio"],t.media=function(e){var t="jodit_fake_wrapper",o=e.options,n=o.mediaFakeTag,s=o.mediaBlocks;o.mediaInFakeBlock&&e.events.on("afterGetValueFromEditor",(function(e){var o=RegExp("<"+n+"[^>]+data-"+t+"[^>]+>(.+?)</"+n+">","ig");o.test(e.value)&&(e.value=e.value.replace(o,"$1"))})).on("change afterInit afterSetMode",r.debounce((function(){e.isDestructed||e.getMode()===i.MODE_SOURCE||a.$$(s.join(","),e.editor).forEach((function(o){o["__"+t]||(o["__"+t]=!0,function(o){if(o.parentNode&&o.parentNode.getAttribute("data-jodit_iframe_wrapper"))o=o.parentNode;else{var i=void 0;(i=e.create.inside.fromHTML("<"+n+' data-jodit-temp="1" contenteditable="false" draggable="true" data-'+t+'="1"></'+n+">")).style.display="inline-block"===o.style.display?"inline-block":"block",i.style.width=o.offsetWidth+"px",i.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(i,o),i.appendChild(o),o=i}e.events.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",(function(){e.selection.setCursorAfter(o)}))}(o))}))}),e.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(31),a=o(20);n.Config.prototype.mobileTapTimeout=300,n.Config.prototype.toolbarAdaptive=!0,n.Config.prototype.controls.dots={mode:i.MODE_SOURCE+i.MODE_WYSIWYG,popup:function(e,t,o,n,i){var s=o.data;return void 0===s&&((s={container:e.create.div(),toolbar:a.JoditToolbarCollection.makeCollection(e),rebuild:function(){if(i){var t=e.events.fire("getDiffButtons.mobile",i.parentToolbar);t&&s&&s.toolbar.build(r.splitArray(t),s.container)}}}).container.style.width="100px",o.data=s),s.rebuild(),s.container}},t.mobile=function(e){var t,o=0,n=r.splitArray(e.options.buttons);e.events.on("touchend",(function(n){n.changedTouches&&n.changedTouches.length&&(t=(new Date).getTime(),e.options.mobileTapTimeout<t-o&&(o=t,e.selection.insertCursorAtPoint(n.changedTouches[0].clientX,n.changedTouches[0].clientY)))})).on("getDiffButtons.mobile",(function(t){if(t===e.toolbar)return r.splitArray(e.options.buttons).filter((function(e){return!~n.indexOf(e)}))})),e.options.toolbarAdaptive&&e.events.on("resize afterInit",(function(){if(e.options.toolbar){var t,o=e.container.offsetWidth;""+(t=r.splitArray(o<e.options.sizeLG?o<e.options.sizeMD?o<e.options.sizeSM?e.options.buttonsXS:e.options.buttonsSM:e.options.buttonsMD:e.options.buttons))!=""+n&&e.toolbar.build((n=t).concat(e.options.extraButtons),e.container)}}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(0);n.Config.prototype.controls.ul={command:"insertUnorderedList",controlName:"ul",tags:["ul"],tooltip:"Insert Unordered List"},n.Config.prototype.controls.ol={command:"insertOrderedList",controlName:"ol",tags:["ol"],tooltip:"Insert Ordered List"},t.orderedlist=function(e){e.events.on("afterCommand",(function(t){if(/insert(un)?orderedlist/i.test(t)){var o=i.Dom.up(e.selection.current(),(function(e){return e&&/^UL|OL$/i.test(e.nodeName)}),e.editor);if(o&&o.parentNode&&"P"===o.parentNode.nodeName){var n=e.selection.save();i.Dom.unwrap(o.parentNode),Array.from(o.childNodes).forEach((function(e){e.lastChild&&e.lastChild.nodeType===Node.ELEMENT_NODE&&"BR"===e.lastChild.nodeName&&i.Dom.safeRemove(e.lastChild)})),e.selection.restore(n)}e.setEditorValue()}}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(10),a=o(5),s=o(0);n.Config.prototype.showPlaceholder=!0,n.Config.prototype.useInputsPlaceholder=!0,n.Config.prototype.placeholder="Type something",t.placeholder=function(e){if(e.options.showPlaceholder){this.destruct=function(){s.Dom.safeRemove(n)};var t=function(){n.parentNode&&(n.style.display="none")},o=a.debounce((function(){if(null!==n.parentNode&&e.editor){if(e.getRealMode()!==i.MODE_WYSIWYG)return t();var o=e.getEditorValue();o&&!/^<(p|div|h[1-6])><\/\1>$/.test(o)?t():function(){if(n.parentNode&&!e.options.readonly){var t=0,o=0,i=e.editorWindow.getComputedStyle(e.editor);if(e.editor.firstChild&&e.editor.firstChild.nodeType===Node.ELEMENT_NODE){var a=e.editorWindow.getComputedStyle(e.editor.firstChild);t=parseInt(a.getPropertyValue("margin-top"),10),o=parseInt(a.getPropertyValue("margin-left"),10),n.style.fontSize=parseInt(a.getPropertyValue("font-size"),10)+"px",n.style.lineHeight=a.getPropertyValue("line-height")}else n.style.fontSize=parseInt(i.getPropertyValue("font-size"),10)+"px",n.style.lineHeight=i.getPropertyValue("line-height");r.css(n,{display:"block",marginTop:Math.max(parseInt(i.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(i.getPropertyValue("margin-left"),10),o)})}}()}}),e.defaultTimeout/10),n=e.create.fromHTML('<span style="display: none;" class="jodit_placeholder">'+e.i18n(e.options.placeholder)+"</span>");"rtl"===e.options.direction&&(n.style.right="0px",n.style.direction="rtl"),e.options.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(n.innerHTML=e.element.getAttribute("placeholder")||""),e.events.on("readonly",(function(e){e?t():o()})).on("afterInit",(function(){e.workplace.appendChild(n),o(),e.events.fire("placeholder",n.innerHTML),e.events.on("change keyup mouseup keydown mousedown afterSetMode",o).on(window,"load",o)}))}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(7);i.Config.prototype.controls.redo={mode:r.MODE_SPLIT,isDisable:function(e){return!e.observer.stack.canRedo()},tooltip:"Redo"},i.Config.prototype.controls.undo={mode:r.MODE_SPLIT,isDisable:function(e){return!e.observer.stack.canUndo()},tooltip:"Undo"};var s,l=(n.__extends(c,s=a.Plugin),c.prototype.beforeDestruct=function(){},c.prototype.afterInit=function(e){function t(t){return e.getRealMode()===r.MODE_WYSIWYG&&e.observer[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"]})},c);function c(){return null!==s&&s.apply(this,arguments)||this}t.redoundo=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(2),a=o(0),s=o(12),l=o(5),c=o(23),d=o(4);n.Config.prototype.useIframeResizer=!0,n.Config.prototype.useTableResizer=!0,n.Config.prototype.useImageResizer=!0,n.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,min_width:10,min_height:10},t.resizer=function(e){function t(){j=k=!1,u=null,S.style.display="none"}function o(){A.style.opacity="0"}function n(){if(j&&u&&S){var t=c.offset(S.parentNode||e.ownerDocument.documentElement,e,e.ownerDocument,!0),o=c.offset(u,e,e.editorDocument),n=parseInt(S.style.left||"0",10),i=o.top-1-t.top,r=o.left-1-t.left;parseInt(S.style.top||"0",10)===i&&n===r&&S.offsetWidth===u.offsetWidth&&S.offsetHeight===u.offsetHeight||(S.style.top=i+"px",S.style.left=r+"px",S.style.width=u.offsetWidth+"px",S.style.height=u.offsetHeight+"px",e.events&&(e.events.fire(u,"changesize"),isNaN(n)||e.events.fire("resize")))}}var p,u,f,h,g,m,v,b,y,x,_,w=!1,k=!1,j=!1,C=0,S=e.create.fromHTML('<div data-editor_id="'+e.id+'" style="display:none" class="jodit_resizer"><i class="jodit_resizer-topleft"></i><i class="jodit_resizer-topright"></i><i class="jodit_resizer-bottomright"></i><i class="jodit_resizer-bottomleft"></i><span>100x100</span></div>'),A=S.getElementsByTagName("span")[0];s.$$("i",S).forEach((function(o){e.events.on(o,"mousedown touchstart",(function(n){if(!u||!u.parentNode)return t(),!1;p=o,n.preventDefault(),n.stopImmediatePropagation(),v=(g=u.offsetWidth)/(m=u.offsetHeight),k=!0,f=n.clientX,h=n.clientY,e.events.fire("hidePopup"),e.lock("resizer")}))})),e.events.on("readonly",(function(e){e&&t()})).on("beforeDestruct",(function(){a.Dom.safeRemove(S)})).on("afterInit",(function(){e.events.on(e.editor,"keydown",(function(o){j&&o.which===i.KEY_DELETE&&u&&"table"!=u.tagName.toLowerCase()&&("JODIT"!==u.tagName?e.selection.select(u):(a.Dom.safeRemove(u),t(),o.preventDefault()))})).on(e.ownerWindow,"mousemove touchmove",(function(t){if(k){if(x=t.clientX-f,_=t.clientY-h,!u)return;var i=p.className;"IMG"===u.tagName?(x?(y=g+(i.match(/left/)?-1:1)*x,b=Math.round(y/v)):(b=m+(i.match(/top/)?-1:1)*_,y=Math.round(b*v)),y>c.innerWidth(e.editor,e.ownerWindow)&&(y=c.innerWidth(e.editor,e.ownerWindow),b=Math.round(y/v))):(y=g+(i.match(/left/)?-1:1)*x,b=m+(i.match(/top/)?-1:1)*_),e.options.resizer.min_width<y&&(u.style.width=y<S.parentNode.offsetWidth?y+"px":"100%"),e.options.resizer.min_height<b&&(u.style.height=b+"px"),n(),r=u.offsetWidth,a=u.offsetHeight,e.options.resizer.showSize&&(r<A.offsetWidth||a<A.offsetHeight?o():(A.style.opacity="1",A.innerHTML=r+" x "+a,clearTimeout(C),C=l.setTimeout(o,e.options.resizer.hideSizeTimeout))),t.stopImmediatePropagation()}var r,a})).on(e.ownerWindow,"resize",(function(){j&&n()})).on(e.ownerWindow,"mouseup keydown touchend",(function(o){j&&!w&&(k?(e.unlock(),k=!1,e.setEditorValue(),o.stopImmediatePropagation()):t())})).on([e.ownerWindow,e.editor],"scroll",(function(){j&&!k&&t()}))})).on("afterGetValueFromEditor",(function(e){var t=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]+>[\s\n\r]*<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})).on("hideResizer",t).on("change afterInit afterSetMode",l.debounce((function(){j&&(u&&u.parentNode?n():t()),e.isDestructed||s.$$("img, table, iframe",e.editor).forEach((function(o){e.getMode()!==i.MODE_SOURCE&&!o.__jodit_resizer_binded&&("IFRAME"===o.tagName&&e.options.useIframeResizer||"IMG"===o.tagName&&e.options.useImageResizer||"TABLE"===o.tagName&&e.options.useTableResizer)&&(o.__jodit_resizer_binded=!0,function(o){var i,a;if("IFRAME"===o.tagName){var s=o;o=o.parentNode&&o.parentNode.getAttribute("data-jodit_iframe_wrapper")?o.parentNode:((i=e.create.inside.fromHTML('<jodit data-jodit-temp="1" contenteditable="false" draggable="true" data-jodit_iframe_wrapper="1"></jodit>')).style.display="inline-block"===o.style.display?"inline-block":"block",i.style.width=o.offsetWidth+"px",i.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(i,o),i.appendChild(o),i),e.events.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",(function(){e.selection.select(o)})),e.events.off(o,"changesize").on(o,"changesize",(function(){s.setAttribute("width",o.offsetWidth+"px"),s.setAttribute("height",o.offsetHeight+"px")}))}e.events.on(o,"dragstart",t).on(o,"mousedown",(function(e){r.IS_IE&&"IMG"===o.nodeName&&e.preventDefault()})).on(o,"mousedown touchstart",(function(){w||(w=!0,u=o,e.options.readonly||(S.parentNode||e.workplace.appendChild(S),j=!0,S.style.display="block",e.isFullSize()&&(S.style.zIndex=""+d.css(e.container,"zIndex")),n()),"IMG"!==u.tagName||u.complete||u.addEventListener("load",(function e(){n(),u&&u.removeEventListener("load",e)})),clearTimeout(a)),a=l.setTimeout((function(){w=!1}),400)}))}(o))}))}),e.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(2),s=o(0),l=o(6),c=o(7),d=o(5),p=o(9);i.Config.prototype.useSearch=!0;var u,f=(n.__extends(h,u=c.Plugin),h.getSomePartOfStringIndex=function(e,t,o){return void 0===o&&(o=!0),this.findSomePartOfString(e,t,o,!0)},h.findSomePartOfString=function(e,t,o,n){void 0===o&&(o=!0),void 0===n&&(n=!1),e=p.trim(e.toLowerCase().replace(r.SPACE_REG_EXP," ")),t=t.toLowerCase();for(var i=o?0:t.length-1,a=o?0:e.length-1,s=0,l=null,c=o?1:-1,d=[];void 0!==t[i];i+=c){var u=e[a]===t[i];if(u||null!==l&&r.SPACE_REG_EXP.test(t[i])?(null!==l&&o||(l=i),d.push(t[i]),u&&(s+=1,a+=c)):(l=null,s=d.length=0,a=o?0:e.length-1),s===e.length)return!n||l}return n?null!=l&&l:!!d.length&&(o?d.join(""):d.reverse().join(""))},h.prototype.boundAlreadyWas=function(e,t){return t.some((function(t){return t.startContainer===e.startContainer&&t.endContainer===e.endContainer&&t.startOffset===e.startOffset&&t.endOffset===e.endOffset}),!1)},h.prototype.tryScrollToElement=function(e){var t=s.Dom.closest(e,(function(e){return e&&e.nodeType===Node.ELEMENT_NODE}),this.jodit.editor);(t=t||s.Dom.prev(e,(function(e){return e&&e.nodeType===Node.ELEMENT_NODE}),this.jodit.editor))&&t!==this.jodit.editor&&t.scrollIntoView()},h.prototype.afterInit=function(e){var t=this;if(e.options.useSearch){var o=this;o.searchBox=e.create.fromHTML(o.template);var n=o.searchBox.querySelector.bind(o.searchBox);o.queryInput=n("input.jodit_search-query"),o.replaceInput=n("input.jodit_search-replace"),o.closeButton=n(".jodit_search_buttons-cancel"),o.nextButton=n(".jodit_search_buttons-next"),o.prevButton=n(".jodit_search_buttons-prev"),o.replaceButton=n(".jodit_search_buttons-replace"),o.counterBox=n(".jodit_search_counts span"),e.workplace.appendChild(this.searchBox),e.events.on(o.closeButton,"click",this.close).on(o.queryInput,"mousedown",(function(){e.selection.isFocused()&&(e.selection.removeMarkers(),o.selInfo=e.selection.save())})).on(o.replaceButton,"click",(function(n){o.findAndReplace(e.selection.current()||e.editor.firstChild,o.queryInput.value),t.updateCounters(),n.preventDefault(),n.stopImmediatePropagation()})).on([o.nextButton,o.prevButton],"click",(function(t){e.events.fire(o.nextButton===this?"searchNext":"searchPrevious"),t.preventDefault(),t.stopImmediatePropagation()})).on(this.queryInput,"keydown",d.debounce((function(o){switch(o.which){case r.KEY_ENTER:o.preventDefault(),o.stopImmediatePropagation(),e.events.fire("searchNext")&&t.close();break;default:t.updateCounters()}}),this.jodit.defaultTimeout)).on(this.jodit.container,"keydown.search",(function(n){if(e.getRealMode()===a.MODE_WYSIWYG)switch(n.which){case r.KEY_ESC:t.close();break;case r.KEY_F3:o.queryInput.value&&(e.events.fire(n.shiftKey?"searchPrevious":"searchNext"),n.preventDefault())}})).on("beforeSetMode.search",(function(){t.close()})).on("keydown.search mousedown.search",(function(){t.selInfo&&(e.selection.removeMarkers(),t.selInfo=null),t.isOpened&&(t.current=t.jodit.selection.current(),t.updateCounters())})).on("searchNext.search searchPrevious.search",(function(){return o.findAndSelect(e.selection.current()||e.editor.firstChild,o.queryInput.value,"searchNext"===e.events.current[e.events.current.length-1])})).on("search.search",(function(t,o){void 0===o&&(o=!0),e.execCommand("search",t,o)})),e.registerCommand("search",{exec:function(t,n,i){return void 0===i&&(i=!0),o.findAndSelect(e.selection.current()||e.editor.firstChild,n||"",i),!1}}),e.registerCommand("openSearchDialog",{exec:function(){return o.open(),!1},hotkeys:["ctrl+f","cmd+f"]}),e.registerCommand("openReplaceDialog",{exec:function(){return e.options.readonly||o.open(!0),!1},hotkeys:["ctrl+h","cmd+h"]})}},h.prototype.beforeDestruct=function(e){s.Dom.safeRemove(this.searchBox),e.events&&e.events.off(".search"),e.events&&e.events.off(e.container,".search")},h);function h(){var e=null!==u&&u.apply(this,arguments)||this;return e.template='<div class="jodit_search"><div class="jodit_search_box"><div class="jodit_search_inputs"><input tabindex="0" class="jodit_search-query" placeholder="'+e.jodit.i18n("Search for")+'" type="text"/><input tabindex="0" class="jodit_search-replace" placeholder="'+e.jodit.i18n("Replace with")+'" type="text"/></div><div class="jodit_search_counts"><span>0/0</span></div><div class="jodit_search_buttons"><button tabindex="0" type="button" class="jodit_search_buttons-next">'+l.ToolbarIcon.getIcon("angle-down")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-prev">'+l.ToolbarIcon.getIcon("angle-up")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-cancel">'+l.ToolbarIcon.getIcon("cancel")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-replace">'+e.jodit.i18n("Replace")+"</button></div></div></div>",e.isOpened=!1,e.selInfo=null,e.current=!1,e.eachMap=function(t,o,n){s.Dom.findWithCurrent(t,(function(e){return!!e&&o(e)}),e.jodit.editor,n?"nextSibling":"previousSibling",n?"firstChild":"lastChild")},e.updateCounters=function(){if(e.isOpened){e.counterBox.style.display=e.queryInput.value.length?"inline-block":"none";var t=e.calcCounts(e.queryInput.value,e.jodit.selection.range);e.counterBox.textContent=t.join("/")}},e.calcCounts=function(t,o){void 0===o&&(o=!1);for(var n=[],i=0,r=0,a=!1,s=e.jodit.editor.firstChild;s&&t.length;)if(a=e.find(s,t,!0,0,a||e.jodit.editorDocument.createRange())){if(e.boundAlreadyWas(a,n))break;n.push(a),s=a.startContainer,r+=1,o&&e.boundAlreadyWas(o,[a])&&(i=r)}else s=null;return[i,r]},e.findAndReplace=function(t,o){var n=e.find(t,o,!0,0,e.jodit.selection.range);if(n&&n.startContainer&&n.endContainer){var i=e.jodit.editorDocument.createRange();try{if(n&&n.startContainer&&n.endContainer){i.setStart(n.startContainer,n.startOffset),i.setEnd(n.endContainer,n.endOffset),i.deleteContents();var r=e.jodit.editorDocument.createTextNode(e.replaceInput.value);i.insertNode(r),e.jodit.selection.select(r),e.tryScrollToElement(r)}}catch(t){}return!0}return!1},e.findAndSelect=function(t,o,n){var i=e.find(t,o,n,0,e.jodit.selection.range);if(i&&i.startContainer&&i.endContainer){var r=e.jodit.editorDocument.createRange();try{r.setStart(i.startContainer,i.startOffset),r.setEnd(i.endContainer,i.endOffset),e.jodit.selection.selectRange(r)}catch(t){}return e.tryScrollToElement(i.startContainer),e.current=i.startContainer,e.updateCounters(),!0}return!1},e.find=function(t,o,n,i,r){if(t&&o.length){var a="",l={startContainer:null,startOffset:null,endContainer:null,endOffset:null};if(e.eachMap(t,(function(t){if(t.nodeType===Node.TEXT_NODE&&null!==t.nodeValue&&t.nodeValue.length){var c=t.nodeValue;n||t!==r.startContainer?n&&t===r.endContainer&&(c=i?c.substr(0,r.startOffset):c.substr(r.endOffset)):c=i?c.substr(r.endOffset):c.substr(0,r.startOffset);var d=n?a+c:c+a,u=h.findSomePartOfString(o,d,n);if(!1!==u){var f=h.findSomePartOfString(o,c,n);!0===f?f=p.trim(o):!1===f&&!0===(f=h.findSomePartOfString(c,o,n))&&(f=p.trim(c));var g=h.getSomePartOfStringIndex(o,c,n)||0;if((n&&!i||!n&&i)&&0<t.nodeValue.length-c.length&&(g+=t.nodeValue.length-c.length),null===l.startContainer&&(l.startContainer=t,l.startOffset=g),!0===u)return l.endContainer=t,l.endOffset=g,l.endOffset+=f.length,!0;a=d}else a="",l={startContainer:null,startOffset:null,endContainer:null,endOffset:null}}else s.Dom.isBlock(t,e.jodit.editorWindow)&&""!==a&&(a=n?a+" ":" "+a);return!1}),n),l.startContainer&&l.endContainer)return l;if(!i)return e.current=n?e.jodit.editor.firstChild:e.jodit.editor.lastChild,e.find(e.current,o,n,i+1,r)}return!1},e.open=function(t){void 0===t&&(t=!1),e.isOpened||(e.searchBox.classList.add("jodit_search-active"),e.isOpened=!0),e.jodit.events.fire("hidePopup"),e.searchBox.classList.toggle("jodit_search-and-replace",t),e.current=e.jodit.selection.current(),e.selInfo=e.jodit.selection.save();var o=""+(e.jodit.selection.sel||"");o&&(e.queryInput.value=o),e.updateCounters(),o?e.queryInput.select():e.queryInput.focus()},e.close=function(){e.isOpened&&(e.selInfo&&(e.jodit.selection.restore(e.selInfo),e.selInfo=null),e.searchBox.classList.remove("jodit_search-active"),e.isOpened=!1)},e}t.search=f},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(5),r=o(10);n.Config.prototype.allowResizeX=!1,n.Config.prototype.allowResizeY=!0,t.size=function(e){function t(t){r.css(e.container,"height",t),e.options.saveHeightInStorage&&e.storage.set("height",t)}function o(t){return r.css(e.container,"width",t)}function n(t){return r.css(e.workplace,"height",t)}if("auto"!==e.options.height&&(e.options.allowResizeX||e.options.allowResizeY)){var a=e.create.div("jodit_editor_resize",'<a tabindex="-1" href="javascript:void(0)"></a>'),s={x:0,y:0,w:0,h:0},l=!1;e.events.on(a,"mousedown touchstart",(function(t){l=!0,s.x=t.clientX,s.y=t.clientY,s.w=e.container.offsetWidth,s.h=e.container.offsetHeight,e.lock(),t.preventDefault()})).on(e.ownerWindow,"mousemove touchmove",i.throttle((function(n){l&&(e.options.allowResizeY&&t(s.h+n.clientY-s.y),e.options.allowResizeX&&o(s.w+n.clientX-s.x),p(),e.events.fire("resize"))}),e.defaultTimeout/10)).on(e.ownerWindow,"mouseup touchsend",(function(){l&&(l=!1,e.unlock())})).on("afterInit",(function(){e.container.appendChild(a)})).on("toggleFullSize",(function(e){a.style.display=e?"none":"block"}))}function c(){return(e.options.toolbar?e.toolbar.container.offsetHeight:0)+(e.statusbar?e.statusbar.container.offsetHeight:0)}function d(){if(e.container&&e.container.parentNode){var t=r.css(e.container,"minHeight")-c();[e.workplace,e.iframe,e.editor].map((function(o){var n=o===e.editor?t-2:t;o&&r.css(o,"minHeight",n),e.events.fire("setMinHeight",n)}))}}var p=function(){e&&!e.isDestructed&&e.options&&!e.options.inline&&(d(),e.container&&("auto"!==e.options.height||e.isFullSize())&&n(e.container.offsetHeight-c()))},u=i.debounce(p,e.defaultTimeout);e.events.on("toggleFullSize",(function(t){t||"auto"!==e.options.height||(n("auto"),d())})).on("afterInit",(function(){e.options.inline||(r.css(e.editor,{minHeight:"100%"}),r.css(e.container,{minHeight:e.options.minHeight,minWidth:e.options.minWidth,maxWidth:e.options.maxWidth}));var n=e.options.height;if(e.options.saveHeightInStorage&&"auto"!==n){var i=e.storage.get("height");i&&(n=i)}e.options.inline||(t(n),o(e.options.width)),p()}),void 0,void 0,!0).on(window,"load",u).on("afterInit resize updateToolbar scroll afterResize",u)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(2),s=o(7),l=o(50),c=o(5),d=o(12),p=o(10),u=o(0);i.Config.prototype.beautifyHTML=!0,i.Config.prototype.useAceEditor=!0,i.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},i.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.5/ace.js"],i.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.10.0/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.10.0/beautify-html.min.js"],i.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"};var f,h=(n.__extends(g,f=s.Plugin),g.prototype.getMirrorValue=function(){return this.mirror.value},g.prototype.setMirrorValue=function(e){this.mirror.value=e},g.prototype.setFocusToMirror=function(){this.mirror.focus()},g.prototype.replaceMirrorToACE=function(){function e(){s&&c.getRealMode()===r.MODE_SOURCE&&(c.events.fire("canRedo",s.hasRedo()),c.events.fire("canUndo",s.hasUndo()))}function t(e){return a.session.getLine(e).length}function o(){for(var e=a.session.getLength(),o=[],n=0,i=0;i<e;i++)n+=t(i),0<i&&(n+=1),o[i]=n;return o}function n(e){var t=o();if(e<=t[0])return{row:0,column:e};for(var n=1,i=1;i<t.length;i++)t[i]<e&&(n=i+1);return{row:n,column:e-t[n-1]-1}}function i(e,n){return o()[e]-t(e)+n}var a,s,l=this,c=this.jodit,p=function(){if(void 0===a&&void 0!==l.jodit.ownerWindow.ace){l.jodit.events.off(l.jodit.ownerWindow,"aceReady",p);var t=l.jodit.create.div("jodit_source_mirror-fake");l.mirrorContainer.insertBefore(t,l.mirrorContainer.firstChild),l.aceEditor=a=l.jodit.ownerWindow.ace.edit(t),a.setTheme(c.options.sourceEditorNativeOptions.theme),a.renderer.setShowGutter(c.options.sourceEditorNativeOptions.showGutter),a.getSession().setMode(c.options.sourceEditorNativeOptions.mode),a.setHighlightActiveLine(c.options.sourceEditorNativeOptions.highlightActiveLine),a.getSession().setUseWrapMode(!0),a.setOption("indentedSoftWrap",!1),a.setOption("wrap",c.options.sourceEditorNativeOptions.wrap),a.getSession().setUseWorker(!1),a.$blockScrolling=1/0,a.setOptions({maxLines:1/0}),a.on("change",l.toWYSIWYG),a.on("focus",l.__proxyOnFocus),a.on("mousedown",l.__proxyOnMouseDown),l.mirror.style.display="none",s=a.getSession().getUndoManager(),l.setMirrorValue=function(t){a.setValue(c.options.beautifyHTML&&c.ownerWindow.html_beautify?c.ownerWindow.html_beautify(t):t),a.clearSelection(),e()},l.jodit.getRealMode()!==r.MODE_WYSIWYG&&l.setMirrorValue(l.getMirrorValue()),l.getMirrorValue=function(){return a.getValue()},l.setFocusToMirror=function(){a.focus()},l.getSelectionStart=function(){var e=a.selection.getRange();return i(e.start.row,e.start.column)},l.getSelectionEnd=function(){var e=a.selection.getRange();return i(e.end.row,e.end.column)},l.selectAll=function(){a.selection.selectAll()},l.insertHTML=function(e){var t=a.selection.getCursor(),o=a.session.insert(t,e);a.selection.setRange({start:t,end:o},!1)},l.setMirrorSelectionRange=function(e,t){var o,i,r;o=t,i=n(e),r=n(o),a.getSelection().setSelectionRange({start:i,end:r})},c.events.on("afterResize",(function(){a.resize()})).fire("aceInited",c)}};c.events.on(this.jodit.ownerWindow,"aceReady",p).on("aceReady",p).on("afterSetMode",(function(){c.getRealMode()!==r.MODE_SOURCE&&c.getMode()!==r.MODE_SPLIT||(l.fromWYSIWYG(),p())})).on("beforeCommand",(function(t){if(c.getRealMode()!==r.MODE_WYSIWYG&&("redo"===t||"undo"===t)&&s)return s["has"+t.substr(0,1).toUpperCase()+t.substr(1)]&&a[t](),e(),!1})),p(),void 0!==this.jodit.ownerWindow.ace||d.$$("script."+this.className,this.jodit.ownerDocument.body).length||this.loadNext(0,c.options.sourceEditorCDNUrlsJS,"aceReady",this.className)},g.prototype.afterInit=function(e){var t=this;function o(){e.events.off("beforeSetMode.source afterSetMode.source").on("beforeSetMode.source",t.saveSelection).on("afterSetMode.source",t.restoreSelection)}this.mirrorContainer=e.create.div("jodit_source"),this.mirror=e.create.fromHTML('<textarea class="jodit_source_mirror"/>'),o(),this.onReadonlyReact(),e.events.on(this.mirror,"mousedown keydown touchstart input",c.debounce(this.toWYSIWYG,e.defaultTimeout)).on(this.mirror,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.mirror,"mousedown focus",(function(t){e.events.fire(t.type,t)})),e.events.on("setMinHeight.source",(function(e){t.mirror&&p.css(t.mirror,"minHeight",e)})).on("insertHTML.source",(function(o){if(!e.options.readonly&&!t.jodit.isEditorMode())return t.insertHTML(o),!1})).on("aceInited",(function(){t.onReadonlyReact(),o()}),void 0,void 0,!0).on("readonly.source",this.onReadonlyReact).on("placeholder.source",(function(e){t.mirror.setAttribute("placeholder",e)})).on("beforeCommand.source",this.onSelectAll).on("change.source",this.fromWYSIWYG),this.mirrorContainer.appendChild(this.mirror),e.workplace.appendChild(this.mirrorContainer),this.autosize();var n="beutyfy_html_jodit_helper";e.options.beautifyHTML&&void 0===e.ownerWindow.html_beautify&&!d.$$("script."+n,e.ownerDocument.body).length&&this.loadNext(0,e.options.beautifyHTMLCDNUrlsJS,!1,n),e.options.useAceEditor&&this.replaceMirrorToACE(),this.fromWYSIWYG()},g.prototype.beforeDestruct=function(e){u.Dom.safeRemove(this.mirrorContainer),u.Dom.safeRemove(this.mirror),e&&e.events&&e.events.off("aceInited.source"),this.aceEditor&&(this.setFocusToMirror=function(){},this.aceEditor.off("change",this.toWYSIWYG),this.aceEditor.off("focus",this.__proxyOnFocus),this.aceEditor.off("mousedown",this.__proxyOnMouseDown),this.aceEditor.destroy(),delete this.aceEditor),this.lastTuple&&this.lastTuple.element.removeEventListener("load",this.lastTuple.callback)},g);function g(){var e=null!==f&&f.apply(this,arguments)||this;return e.className="jodit_ace_editor",e.__lock=!1,e.__oldMirrorValue="",e.autosize=c.debounce((function(){e.mirror.style.height="auto",e.mirror.style.height=e.mirror.scrollHeight+"px"}),e.jodit.defaultTimeout),e.tempMarkerStart="{start-jodit-selection}",e.tempMarkerStartReg=/{start-jodit-selection}/g,e.tempMarkerEnd="{end-jodit-selection}",e.tempMarkerEndReg=/{end-jodit-selection}/g,e.selInfo=[],e.lastTuple=null,e.loadNext=function(t,o,n,i){if(void 0===n&&(n="aceReady"),void 0===i&&(i=e.className),n&&void 0===o[t]&&!e.isDestructed)return e.jodit&&e.jodit.events&&e.jodit.events.fire(n),void(e.jodit&&e.jodit.events&&e.jodit.events.fire(e.jodit.ownerWindow,n));void 0!==o[t]&&(e.lastTuple&&e.lastTuple.element.removeEventListener("load",e.lastTuple.callback),e.lastTuple=l.appendScript(o[t],(function(){e.isDestructed||e.loadNext(t+1,o,n,i)}),i,e.jodit.ownerDocument))},e.insertHTML=function(t){if(e.mirror.selectionStart||0===e.mirror.selectionStart){var o=e.mirror.selectionEnd;e.mirror.value=e.mirror.value.substring(0,e.mirror.selectionStart)+t+e.mirror.value.substring(o,e.mirror.value.length)}else e.mirror.value+=e.mirror;e.toWYSIWYG()},e.fromWYSIWYG=function(t){if(void 0===t&&(t=!1),!e.__lock||!0===t){e.__lock=!0;var o=e.jodit.getEditorValue(!1);o!==e.getMirrorValue()&&e.setMirrorValue(o),e.__lock=!1}},e.toWYSIWYG=function(){if(!e.__lock){var t=e.getMirrorValue();t!==e.__oldMirrorValue&&(e.__lock=!0,e.jodit.setEditorValue(t),e.__lock=!1,e.__oldMirrorValue=t)}},e.getNormalPosition=function(e,t){for(var o=e;0<o;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w\/]+/i))return o;if(">"===t[o])return e}return e},e.__clear=function(e){return e.replace(r.INVISIBLE_SPACE_REG_EXP,"")},e.selectAll=function(){e.mirror.select()},e.onSelectAll=function(t){if("selectall"==t.toLowerCase()&&e.jodit.getRealMode()===a.MODE_SOURCE)return e.selectAll(),!1},e.getSelectionStart=function(){return e.mirror.selectionStart},e.getSelectionEnd=function(){return e.mirror.selectionEnd},e.saveSelection=function(){if(e.jodit.getRealMode()===r.MODE_WYSIWYG)e.selInfo=e.jodit.selection.save()||[],e.jodit.setEditorValue(),e.fromWYSIWYG(!0);else{e.selInfo.length=0;var t=e.getMirrorValue();if(e.getSelectionStart()===e.getSelectionEnd()){var o=e.jodit.selection.marker(!0);e.selInfo[0]={startId:o.id,collapsed:!0,startMarker:o.outerHTML};var n=e.getNormalPosition(e.getSelectionStart(),e.getMirrorValue());e.setMirrorValue(t.substr(0,n)+e.__clear(e.selInfo[0].startMarker)+t.substr(n))}else{var i=e.jodit.selection.marker(!0),a=e.jodit.selection.marker(!1);e.selInfo[0]={startId:i.id,endId:a.id,collapsed:!1,startMarker:e.__clear(i.outerHTML),endMarker:e.__clear(a.outerHTML)},n=e.getNormalPosition(e.getSelectionStart(),t);var s=e.getNormalPosition(e.getSelectionEnd(),t);e.setMirrorValue(t.substr(0,n)+e.selInfo[0].startMarker+t.substr(n,s-n)+e.selInfo[0].endMarker+t.substr(s))}e.toWYSIWYG()}},e.restoreSelection=function(){if(e.selInfo.length){if(e.jodit.getRealMode()===r.MODE_WYSIWYG)return e.__lock=!0,e.jodit.selection.restore(e.selInfo),void(e.__lock=!1);var t=e.getMirrorValue(),o=0,n=0;try{e.selInfo[0].startMarker&&(t=t.replace(/<span[^>]+data-jodit_selection_marker="start"[^>]*>[<>]*?<\/span>/gim,e.tempMarkerStart)),e.selInfo[0].endMarker&&(t=t.replace(/<span[^>]+data-jodit_selection_marker="end"[^>]*>[<>]*?<\/span>/gim,e.tempMarkerEnd)),e.jodit.ownerWindow.html_beautify&&e.jodit.options.beautifyHTML&&(t=e.jodit.ownerWindow.html_beautify(t)),n=o=t.indexOf(e.tempMarkerStart),t=t.replace(e.tempMarkerStartReg,""),e.selInfo[0].collapsed&&-1!==o||(n=t.indexOf(e.tempMarkerEnd),-1===o&&(o=n)),t=t.replace(e.tempMarkerEndReg,"")}finally{t=t.replace(e.tempMarkerEndReg,"").replace(e.tempMarkerStartReg,"")}e.setMirrorValue(t),e.setMirrorSelectionRange(o,n),e.toWYSIWYG(),e.setFocusToMirror()}},e.__proxyOnFocus=function(t){e.jodit.events.fire("focus",t)},e.__proxyOnMouseDown=function(t){e.jodit.events.fire("mousedown",t)},e.setMirrorSelectionRange=function(t,o){e.mirror.setSelectionRange(t,o)},e.onReadonlyReact=function(){var t=e.jodit.options.readonly;t?e.mirror.setAttribute("readonly","true"):e.mirror.removeAttribute("readonly"),e.aceEditor&&e.aceEditor.setReadOnly(t)},e}t.source=h},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(5),s=o(7),l=o(0);i.Config.prototype.showCharsCounter=!0,i.Config.prototype.showWordsCounter=!0;var c,d=(n.__extends(p,c=s.Plugin),p.prototype.afterInit=function(){this.jodit.options.showCharsCounter&&(this.charCounter=this.jodit.create.span(),this.jodit.statusbar.append(this.charCounter,!0)),this.jodit.options.showWordsCounter&&(this.wordCounter=this.jodit.create.span(),this.jodit.statusbar.append(this.wordCounter,!0)),this.jodit.events.on("change",this.calc),this.calc()},p.prototype.beforeDestruct=function(){l.Dom.safeRemove(this.charCounter),l.Dom.safeRemove(this.wordCounter),this.charCounter=null,this.wordCounter=null},p);function p(){var e=null!==c&&c.apply(this,arguments)||this;return e.calc=a.throttle((function(){var t=e.jodit.getEditorText();e.jodit.options.showCharsCounter&&e.charCounter&&(e.charCounter.textContent=e.jodit.i18n("Chars: %d",t.replace(r.SPACE_REG_EXP,"").length)),e.jodit.options.showWordsCounter&&e.wordCounter&&(e.wordCounter.textContent=e.jodit.i18n("Words: %d",t.replace(r.INVISIBLE_SPACE_REG_EXP,"").split(r.SPACE_REG_EXP).filter((function(e){return e.length})).length))}),e.jodit.defaultTimeout),e}t.stat=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(7),s=o(10),l=o(23),c=o(0);i.Config.prototype.toolbarSticky=!0,i.Config.prototype.toolbarDisableStickyForMobile=!0,i.Config.prototype.toolbarStickyOffset=0;var d,p=(n.__extends(u,d=a.Plugin),u.prototype.isMobile=function(){return this.jodit&&this.jodit.options&&this.jodit.container&&this.jodit.container.offsetWidth<=this.jodit.options.sizeSM},u.prototype.afterInit=function(e){var t=this;e.events.on(e.ownerWindow,"scroll wheel mousewheel resize",(function(){var o=e.ownerWindow.pageYOffset||e.ownerDocument.documentElement&&e.ownerDocument.documentElement.scrollTop||0,n=l.offset(e.container,e,e.ownerDocument,!0),i=e.getMode()===r.MODE_WYSIWYG&&n.top<o+e.options.toolbarStickyOffset&&o+e.options.toolbarStickyOffset<n.top+n.height&&!(e.options.toolbarDisableStickyForMobile&&t.isMobile());e.options.toolbarSticky&&e.options.toolbar&&(i?t.addSticky(e.toolbar.container):t.removeSticky(e.toolbar.container)),e.events.fire("toggleSticky",i)}))},u.prototype.beforeDestruct=function(e){c.Dom.safeRemove(this.dummyBox)},u);function u(){var e=null!==d&&d.apply(this,arguments)||this;return e.isToolbarSticked=!1,e.createDummy=function(t){e.dummyBox||(e.dummyBox=e.jodit.create.div(),e.dummyBox.classList.add("jodit_sticky-dummy_toolbar"),e.jodit.container.insertBefore(e.dummyBox,t))},e.addSticky=function(t){e.isToolbarSticked||(e.createDummy(t),e.jodit.container.classList.add("jodit_sticky"),e.isToolbarSticked=!0),s.css(t,{top:e.jodit.options.toolbarStickyOffset,width:e.jodit.container.offsetWidth}),s.css(e.dummyBox,{height:t.offsetHeight})},e.removeSticky=function(t){e.isToolbarSticked&&(s.css(t,{width:"",top:""}),e.jodit.container.classList.remove("jodit_sticky"),e.isToolbarSticked=!1)},e}t.sticky=p},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i=o(2),r=o(13);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;"],n.Config.prototype.controls.symbol={icon:"omega",hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:function(e,t,o,n){var i=e.events.fire("generateSpecialCharactersTable.symbols");if(i){if(e.options.usePopupForSpecialCharacters){var a=e.ownerDocument.createElement("div");return a.classList.add("jodit_symbols"),a.appendChild(i),e.events.on(i,"close_dialog",n),a}var s=r.Alert(i,e.i18n("Select Special Character"),void 0,"jodit_symbols"),l=i.querySelector("a");l&&l.focus(),e.events.on("beforeDestruct",(function(){s&&s.close()}))}}},t.symbols=function(e){var t=this;this.countInRow=17,e.events.on("generateSpecialCharactersTable.symbols",(function(){for(var o=e.create.fromHTML('<div class="jodit_symbols-container"><div class="jodit_symbols-container_table"><table><tbody></tbody></table></div><div class="jodit_symbols-container_preview"><div class="jodit_symbols-preview"></div></div></div>'),n=o.querySelector(".jodit_symbols-preview"),r=o.querySelector("table").tBodies[0],a=[],s=0;s<e.options.specialCharacters.length;){for(var l=e.create.element("tr"),c=0;c<t.countInRow&&s<e.options.specialCharacters.length;c+=1,s+=1){var d=e.create.element("td"),p=e.create.fromHTML('<a\n                                    data-index="'+s+'"\n                                    data-index-j="'+c+'"\n                                    href="javascript:void(0)"\n                                    role="option"\n                                    tabindex="-1"\n                                >'+e.options.specialCharacters[s]+"</a>");a.push(p),d.appendChild(p),l.appendChild(d)}r.appendChild(l)}var u=t;return e.events.on(a,"focus",(function(){n.innerHTML=this.innerHTML})).on(a,"mousedown",(function(t){this&&"A"===this.nodeName&&(e.selection.focus(),e.selection.insertHTML(this.innerHTML),e.events.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(a,"mouseenter",(function(){this&&"A"===this.nodeName&&this.focus()})).on(a,"keydown",(function(t){var o=t.target;if(o&&"A"===o.nodeName){var n=parseInt(o.getAttribute("data-index")||"0",10),r=parseInt(o.getAttribute("data-index-j")||"0",10),s=void 0;switch(t.which){case i.KEY_UP:case i.KEY_DOWN:void 0===a[s=t.which===i.KEY_UP?n-u.countInRow:n+u.countInRow]&&a.length-1<(s=t.which===i.KEY_UP?Math.floor(a.length/u.countInRow)*u.countInRow+r:r)&&(s-=u.countInRow),a[s]&&a[s].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:void 0===a[s=t.which===i.KEY_LEFT?n-1:n+1]&&(s=t.which===i.KEY_LEFT?a.length-1:0),a[s]&&a[s].focus();break;case i.KEY_ENTER:e.events.fire(o,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),o}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(0),r=o(30);t.tableKeyboardNavigation=function(e){e.events.on("keydown",(function(t){var o,a;if((t.which===n.KEY_TAB||t.which===n.KEY_LEFT||t.which===n.KEY_RIGHT||t.which===n.KEY_UP||t.which===n.KEY_DOWN)&&(o=e.selection.current(),a=i.Dom.up(o,(function(e){return e&&e.nodeName&&/^td|th$/i.test(e.nodeName)}),e.editor))){var s=e.selection.range;if(t.which===n.KEY_TAB||o===a||(t.which!==n.KEY_LEFT&&t.which!==n.KEY_UP||!(i.Dom.prev(o,(function(e){return t.which===n.KEY_UP?e&&"BR"===e.nodeName:!!e}),a)||t.which!==n.KEY_UP&&o.nodeType===Node.TEXT_NODE&&0!==s.startOffset))&&(t.which!==n.KEY_RIGHT&&t.which!==n.KEY_DOWN||!(i.Dom.next(o,(function(e){return t.which===n.KEY_DOWN?e&&"BR"===e.nodeName:!!e}),a)||t.which!==n.KEY_DOWN&&o.nodeType===Node.TEXT_NODE&&o.nodeValue&&s.startOffset!==o.nodeValue.length))){var l=i.Dom.up(a,(function(e){return e&&/^table$/i.test(e.nodeName)}),e.editor),c=null;switch(t.which){case n.KEY_TAB:case n.KEY_LEFT:var d=t.which===n.KEY_LEFT||t.shiftKey?"prev":"next";(c=i.Dom[d](a,(function(e){return e&&/^td|th$/i.test(e.tagName)}),l))||(r.Table.appendRow(l,"next"!=d&&l.querySelector("tr"),"next"==d),c=i.Dom[d](a,(function(t){return t&&i.Dom.isCell(t,e.editorWindow)}),l));break;case n.KEY_UP:case n.KEY_DOWN:var p=0,u=0,f=r.Table.formalMatrix(l,(function(e,t,o){e===a&&(p=t,u=o)}));t.which===n.KEY_UP?void 0!==f[p-1]&&(c=f[p-1][u]):void 0!==f[p+1]&&(c=f[p+1][u])}if(c){if(c.firstChild)t.which===n.KEY_TAB?e.selection.select(c,!0):e.selection.setCursorIn(c,t.which===n.KEY_RIGHT||t.which===n.KEY_DOWN);else{var h=e.editorDocument.createElement("br");c.appendChild(h),e.selection.setCursorBefore(h)}return!1}}}}))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(7),s=o(0),l=o(30),c=o(4),d=o(5);i.Config.prototype.useTableProcessor=!0,i.Config.prototype.useExtraClassesOptions=!0,i.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,i){var r=o.data&&o.data.rows?o.data.rows:10,a=o.data&&o.data.cols?o.data.cols:10,l=e.create.fromHTML('<form class="jodit_form jodit_form_inserter"><label><span>1</span> &times; <span>1</span></label><div class="jodit_form-table-creator-box"><div class="jodit_form-container"></div><div class="jodit_form-options">'+function(){if(!e.options.useExtraClassesOptions)return"";var t=[];if(o.data){var n=o.data.classList;Object.keys(n).forEach((function(e){t.push('<label><input value="'+e+'" type="checkbox"/>'+n[e]+"</label>")}))}return t.join("")}()+"</div></div></form>"),d=l.querySelectorAll("span")[0],p=l.querySelectorAll("span")[1],u=l.querySelector(".jodit_form-container"),f=l.querySelector(".jodit_form-table-creator-box"),h=l.querySelector(".jodit_form-options"),g=[];return u.addEventListener("mousemove",(function(e,t){var o=e.target;if(o&&"DIV"===o.tagName){for(var n=void 0===t||isNaN(t)?parseInt(o.getAttribute("data-index")||"0",10):t||0,i=Math.ceil((n+1)/a),r=n%a+1,s=0;s<g.length;s+=1)g[s].className=r<s%a+1||i<Math.ceil((s+1)/a)?"":"hovered";p.textContent=""+r,d.textContent=""+i}})),e.events.on(u,"touchstart mousedown",(function(t){var o=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),"DIV"===o.tagName){var i=parseInt(o.getAttribute("data-index")||"0",10),r=Math.ceil((i+1)/a),l=i%a+1,d=e.create.inside,p=d.element("tbody"),u=d.element("table");u.appendChild(p),u.style.width="100%";for(var f,g,m=null,v=1;v<=r;v+=1){f=d.element("tr");for(var b=1;b<=l;b+=1)g=d.element("td"),m=m||g,g.appendChild(d.element("br")),f.appendChild(d.text("\n")),f.appendChild(d.text("\t")),f.appendChild(g);p.appendChild(d.text("\n")),p.appendChild(f)}var y=e.selection.current();if(y&&e.selection.isCollapsed()){var x=s.Dom.closest(y,(function(t){return s.Dom.isBlock(t,e.editorWindow)}),e.editor);x&&x!==e.editor&&!x.nodeName.match(/^TD|TH|TBODY|TABLE|THEADER|TFOOTER$/)&&e.selection.setCursorAfter(x)}c.$$("input[type=checkbox]:checked",h).forEach((function(e){e.value.split(/[\s]+/).forEach((function(e){u.classList.add(e)}))})),e.selection.insertNode(d.text("\n")),e.selection.insertNode(u,!1),m&&(e.selection.setCursorIn(m),c.scrollIntoView(m,e.editor,e.editorDocument)),n()}})),i&&i.parentToolbar&&e.events.off(i.parentToolbar.container,"afterOpenPopup.tableGenerator").on(i.parentToolbar.container,"afterOpenPopup.tableGenerator",(function(){!function(){var t=r*a;if(t<g.length){for(var o=t;o<g.length;o+=1)s.Dom.safeRemove(g[o]),delete g[o];g.length=t}for(o=0;o<t;o+=1)if(!g[o]){var n=e.create.div();n.setAttribute("data-index",""+o),g.push(n)}g.forEach((function(e){u.appendChild(e)}));var i=(g[0].offsetWidth||18)*a;u.style.width=i+"px",f.style.width=i+h.offsetWidth+1+"px"}(),g[0]&&(g[0].className="hovered")}),"",!0),l},tooltip:"Insert table"};var p,u=(n.__extends(f,p=a.Plugin),f.isCell=function(e){return!!e&&/^TD|TH$/i.test(e.nodeName)},f.prototype.showResizer=function(){clearTimeout(this.hideTimeout),this.__resizerHandler.style.display="block"},f.prototype.hideResizer=function(){var e=this;clearTimeout(this.hideTimeout),this.hideTimeout=d.setTimeout((function(){e.__resizerHandler.style.display="none"}),this.jodit.defaultTimeout)},f.prototype.__deSelectAll=function(e,t){var o=l.Table.getAllSelectedCells(e||this.jodit.editor);o.length&&o.forEach((function(e){t&&t===e||l.Table.restoreSelection(e)}))},f.prototype.__setWorkCell=function(e,t){void 0===t&&(t=null),this.__wholeTable=t,this.__workCell=e,this.__workTable=s.Dom.up(e,(function(e){return e&&"TABLE"===e.nodeName}),this.jodit.editor)},f.prototype.__calcResizerPosition=function(e,t,o,n){void 0===o&&(o=0),void 0===n&&(n=0);var i=c.offset(t,this.jodit,this.jodit.editorDocument);if(r.NEARBY<o&&r.NEARBY<i.width-o)this.hideResizer();else{var a=c.offset(this.__resizerHandler.parentNode||this.jodit.ownerDocument.documentElement,this.jodit,this.jodit.ownerDocument,!0),l=c.offset(e,this.jodit,this.jodit.editorDocument);if(this.__resizerHandler.style.left=(r.NEARBY<o?i.left+i.width:i.left)-a.left+n+"px",this.__resizerHandler.style.height=l.height+"px",this.__resizerHandler.style.top=l.top-a.top+"px",this.showResizer(),r.NEARBY<o){var d=s.Dom.next(t,f.isCell,t.parentNode);this.__setWorkCell(t,!!d&&null)}else{var p=s.Dom.prev(t,f.isCell,t.parentNode);p?this.__setWorkCell(p):this.__setWorkCell(t,!0)}}},f.prototype.observe=function(e){var t,o=this;e[this.__key]=!0,this.jodit.events.on(e,"mousedown.table touchstart.table",(function(n){if(!o.jodit.options.readonly){var i=s.Dom.up(n.target,f.isCell,e);i&&i instanceof o.jodit.editorWindow.HTMLElement&&(i.firstChild||i.appendChild(o.jodit.editorDocument.createElement("br")),l.Table.addSelected(t=i),o.__selectMode=!0)}})).on(e,"mouseleave.table",(function(e){o.__resizerHandler&&o.__resizerHandler!==e.relatedTarget&&o.hideResizer()})).on(e,"mousemove.table touchmove.table",(function(n){if(!o.jodit.options.readonly&&!o.__drag&&!o.jodit.isLockedNotBy(o.__key)){var i=s.Dom.up(n.target,f.isCell,e);if(i)if(o.__selectMode){if(i!==t){o.jodit.lock(o.__key);var r=o.jodit.selection.sel;r&&r.removeAllRanges(),n.preventDefault&&n.preventDefault()}o.__deSelectAll(e);for(var a=l.Table.getSelectedBound(e,[i,t]),d=l.Table.formalMatrix(e),p=a[0][0];p<=a[1][0];p+=1)for(var u=a[0][1];u<=a[1][1];u+=1)l.Table.addSelected(d[p][u]);var h=d[a[1][0]][a[1][1]],g=d[a[0][0]][a[0][1]];o.jodit.events.fire("showPopup",e,(function(){var e=c.offset(g,o.jodit,o.jodit.editorDocument),t=c.offset(h,o.jodit,o.jodit.editorDocument);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}})),n.stopPropagation()}else o.__calcResizerPosition(e,i,n.offsetX)}})),this.__addResizer()},f.prototype.afterInit=function(e){var t=this;e.options.useTableProcessor&&e.events.on(this.jodit.ownerWindow,"mouseup.table touchend.table",(function(){if((t.__selectMode||t.__drag)&&(t.__selectMode=!1,t.jodit.unlock()),t.__resizerHandler&&t.__drag){if(t.__drag=!1,t.__resizerHandler.classList.remove("jodit_table_resizer-moved"),null===t.__wholeTable){var o=[];l.Table.setColumnWidthByDelta(t.__workTable,l.Table.formalCoordinate(t.__workTable,t.__workCell,!0)[1],t.__resizerDelta,!0,o);var n=s.Dom.next(t.__workCell,f.isCell,t.__workCell.parentNode);l.Table.setColumnWidthByDelta(t.__workTable,l.Table.formalCoordinate(t.__workTable,n)[1],-t.__resizerDelta,!1,o)}else{var i=t.__workTable.offsetWidth,r=c.getContentWidth(t.__workTable.parentNode,t.jodit.editorWindow);if(t.__wholeTable){var a=parseInt(t.jodit.editorWindow.getComputedStyle(t.__workTable).marginLeft||"0",10);t.__workTable.style.width=(i-t.__resizerDelta)/r*100+"%",t.__workTable.style.marginLeft=(a+t.__resizerDelta)/r*100+"%"}else t.__workTable.style.width=(i+t.__resizerDelta)/r*100+"%"}e.setEditorValue(),e.selection.focus()}})).on(this.jodit.ownerWindow,"scroll.table",(function(){if(t.__drag){var o=s.Dom.up(t.__workCell,(function(e){return e&&"TABLE"===e.nodeName}),e.editor);if(o){var n=o.getBoundingClientRect();t.__resizerHandler.style.top=n.top+"px"}}})).on(this.jodit.ownerWindow,"mousedown.table touchend.table",(function(e){var o=s.Dom.closest(e.originalEvent.target,"TD|TH",t.jodit.editor),n=null;o instanceof t.jodit.editorWindow.HTMLTableCellElement&&(n=s.Dom.closest(o,"table",t.jodit.editor)),n?t.__deSelectAll(n,o instanceof t.jodit.editorWindow.HTMLTableCellElement&&o):t.__deSelectAll()})).on("afterGetValueFromEditor.table",(function(e){var t=RegExp("([s]*)"+r.JODIT_SELECTED_CELL_MARKER+'="1"',"g");t.test(e.value)&&(e.value=e.value.replace(t,""))})).on("change.table afterCommand.table afterSetMode.table",(function(){c.$$("table",e.editor).forEach((function(e){e[t.__key]||t.observe(e)}))})).on("beforeSetMode.table",(function(){l.Table.getAllSelectedCells(e.editor).forEach((function(t){l.Table.restoreSelection(t),l.Table.normalizeTable(s.Dom.closest(t,"table",e.editor))}))})).on("keydown.table",(function(o){o.which===r.KEY_TAB&&c.$$("table",e.editor).forEach((function(e){t.__deSelectAll(e)}))})).on("beforeCommand.table",this.onExecCommand.bind(this))},f.prototype.beforeDestruct=function(e){e.events&&(e.events.off(this.jodit.ownerWindow,".table"),e.events.off(".table"))},f);function f(){var e=null!==p&&p.apply(this,arguments)||this;return e.__key="table_processor_observer",e.__selectMode=!1,e.__resizerDelta=0,e.__drag=!1,e.__addResizer=function(){if(!e.__resizerHandler&&(e.__resizerHandler=e.jodit.container.querySelector(".jodit_table_resizer"),!e.__resizerHandler)){e.__resizerHandler=e.jodit.create.div("jodit_table_resizer");var t=0;e.jodit.events.on(e.__resizerHandler,"mousedown.table touchstart.table",(function(o){e.__drag=!0,t=o.clientX,e.jodit.lock(e.__key),e.__resizerHandler.classList.add("jodit_table_resizer-moved");var n,i=e.__workTable.getBoundingClientRect();if(e.__minX=0,e.__maxX=1e6,null!==e.__wholeTable)i=e.__workTable.parentNode.getBoundingClientRect(),e.__minX=i.left,e.__maxX=i.left+i.width;else{var a=l.Table.formalCoordinate(e.__workTable,e.__workCell,!0);l.Table.formalMatrix(e.__workTable,(function(t,o,i){a[1]===i&&(n=t.getBoundingClientRect(),e.__minX=Math.max(n.left+r.NEARBY/2,e.__minX)),a[1]+1===i&&(n=t.getBoundingClientRect(),e.__maxX=Math.min(n.left+n.width-r.NEARBY/2,e.__maxX))}))}return!1})).on(e.__resizerHandler,"mouseenter.table",(function(){clearTimeout(e.hideTimeout)})).on(e.jodit.editorWindow,"mousemove.table touchmove.table",(function(o){if(e.__drag){var n=o.clientX,i=c.offset(e.__resizerHandler.parentNode||e.jodit.ownerDocument.documentElement,e.jodit,e.jodit.ownerDocument,!0);n<e.__minX&&(n=e.__minX),e.__maxX<n&&(n=e.__maxX),e.__resizerDelta=n-t+(e.jodit.options.iframe?i.left:0),e.__resizerHandler.style.left=n-(e.jodit.options.iframe?0:i.left)+"px";var r=e.jodit.selection.sel;r&&r.removeAllRanges(),o.preventDefault&&o.preventDefault()}})),e.jodit.workplace.appendChild(e.__resizerHandler)}},e.onExecCommand=function(t){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(t)){t=t.replace("table","");var o=l.Table.getAllSelectedCells(e.jodit.editor);if(o.length){var n=o.shift();if(!n)return;var i=s.Dom.closest(n,"table",e.jodit.editor);switch(t){case"splitv":l.Table.splitVertical(i);break;case"splitg":l.Table.splitHorizontal(i);break;case"merge":l.Table.mergeSelected(i);break;case"empty":l.Table.getAllSelectedCells(e.jodit.editor).forEach((function(e){return e.innerHTML=""}));break;case"bin":s.Dom.safeRemove(i);break;case"binrow":l.Table.removeRow(i,n.parentNode.rowIndex);break;case"bincolumn":l.Table.removeColumn(i,n.cellIndex);break;case"addcolumnafter":case"addcolumnbefore":l.Table.appendColumn(i,n.cellIndex,"addcolumnafter"===t);break;case"addrowafter":case"addrowbefore":l.Table.appendRow(i,n.parentNode,"addrowafter"===t)}}return!1}},e}t.TableProcessor=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(3),r=o(2),a=o(40),s=o(0),l=o(5),c=o(12),d=o(7),p=o(27),u=o(9);i.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},i.Config.prototype.showXPathInStatusbar=!0;var f,h=(n.__extends(g,f=d.Plugin),g.prototype.afterInit=function(){var e=this;this.jodit.options.showXPathInStatusbar&&(this.container=this.jodit.create.element("ul"),this.container.classList.add("jodit_xpath"),this.jodit.statusbar.append(this.container),this.jodit.events.on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath",(function(){e.jodit.getRealMode()===r.MODE_WYSIWYG?e.calcPath():(e.container&&(e.container.innerHTML=r.INVISIBLE_SPACE),e.appendSelectAll())})),this.calcPath())},g.prototype.beforeDestruct=function(){this.jodit&&this.jodit.events&&this.jodit.events.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),s.Dom.safeRemove(this.container),this.menu=null,this.container=null},g);function g(){var e=null!==f&&f.apply(this,arguments)||this;return e.onContext=function(t,o){return e.menu||(e.menu=new a.ContextMenu(e.jodit)),e.menu.show(o.clientX,o.clientY,[{icon:"bin",title:t===e.jodit.editor?"Clear":"Remove",exec:function(){t!==e.jodit.editor?s.Dom.safeRemove(t):e.jodit.value="",e.jodit.setEditorValue()}},{icon:"select-all",title:"Select",exec:function(){e.jodit.selection.select(t)}}]),!1},e.onSelectPath=function(t,o){e.jodit.selection.focus();var n=o.target.getAttribute("data-path")||"/";if("/"===n)return e.jodit.execCommand("selectall"),!1;try{var i=e.jodit.editorDocument.evaluate(n,e.jodit.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(i)return e.jodit.selection.select(i),!1}catch(t){}return e.jodit.selection.select(t),!1},e.tpl=function(t,o,n,i){var r=e.jodit.create.fromHTML('<li><a role="button" data-path="'+o+'" href="javascript:void(0)" title="'+i+'" tabindex="-1">'+u.trim(n)+"</a></li>"),a=r.firstChild;return e.jodit.events.on(a,"click",e.onSelectPath.bind(e,t)).on(a,"contextmenu",e.onContext.bind(e,t)),r},e.removeSelectAll=function(){e.selectAllButton&&(e.selectAllButton.destruct(),delete e.selectAllButton)},e.appendSelectAll=function(){e.removeSelectAll(),e.selectAllButton=new p.ToolbarButton(e.jodit,n.__assign({name:"selectall"},e.jodit.options.controls.selectall)),e.container&&e.container.insertBefore(e.selectAllButton.container,e.container.firstChild)},e.calcPathImd=function(){if(!e.isDestructed){var t,o,n,i=e.jodit.selection.current();e.container&&(e.container.innerHTML=r.INVISIBLE_SPACE),i&&s.Dom.up(i,(function(i){i&&e.jodit.editor!==i&&i.nodeType!==Node.TEXT_NODE&&(t=i.nodeName.toLowerCase(),o=c.getXPathByElement(i,e.jodit.editor).replace(/^\//,""),n=e.tpl(i,o,t,e.jodit.i18n("Select %s",t)),e.container&&e.container.insertBefore(n,e.container.firstChild))}),e.jodit.editor),e.appendSelectAll()}},e.calcPath=l.debounce(e.calcPathImd,2*e.jodit.defaultTimeout),e.container=null,e.menu=null,e}t.xpath=h},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(191);t.about=n;var i=o(192);t.addcolumn=i;var r=o(193);t.addrow=r;var a=o(194);t.angle_down=a;var s=o(195);t.angle_left=s;var l=o(196);t.angle_right=l;var c=o(197);t.angle_up=c;var d=o(198);t.arrows_alt=d;var p=o(199);t.arrows_h=p;var u=o(200);t.attachment=u;var f=o(201);t.bin=f;var h=o(202);t.bold=h;var g=o(203);t.brush=g;var m=o(204);t.cancel=m;var v=o(205);t.center=v;var b=o(206);t.chain_broken=b;var y=o(207);t.check=y;var x=o(208);t.check_square=x;var _=o(209);t.copyformat=_;var w=o(210);t.crop=w;var k=o(211);t.copy=k;var j=o(212);t.cut=j;var C=o(213);t.dedent=C;var S=o(214);t.dots=S;var A=o(215);t.dropdown_arrow=A;var M=o(216);t.enter=M;var E=o(217);t.eraser=E;var z=o(218);t.eye=z;var T=o(219);t.file=T;var D=o(220);t.folder=D;var L=o(221);t.font=L;var I=o(222);t.fontsize=I;var P=o(223);t.fullsize=P;var O=o(224);t.hr=O;var q=o(225);t.image=q;var N=o(226);t.indent=N;var R=o(227);t.info_circle=R;var B=o(228);t.italic=B;var V=o(229);t.justify=V;var H=o(230);t.left=H;var F=o(231);t.link=F;var W=o(232);t.lock=W;var $=o(233);t.menu=$;var U=o(234);t.merge=U;var Y=o(235);t.ol=Y;var K=o(236);t.omega=K;var G=o(237);t.outdent=G;var J=o(238);t.palette=J;var X=o(239);t.paragraph=X;var Z=o(240);t.paste=Z;var Q=o(241);t.pencil=Q;var ee=o(242);t.plus=ee;var te=o(243);t.print=te;var oe=o(244);t.redo=oe;var ne=o(245);t.resize=ne;var ie=o(246);t.resizer=ie;var re=o(247);t.right=re;var ae=o(248);t.save=ae;var se=o(249);t.select_all=se;var le=o(250);t.shrink=le;var ce=o(251);t.source=ce;var de=o(252);t.splitg=de;var pe=o(253);t.splitv=pe;var ue=o(254);t.strikethrough=ue;var fe=o(255);t.subscript=fe;var he=o(256);t.superscript=he;var ge=o(257);t.table=ge;var me=o(258);t.th=me;var ve=o(259);t.th_list=ve;var be=o(260);t.ul=be;var ye=o(261);t.underline=ye;var xe=o(262);t.undo=xe;var _e=o(263);t.unlink=_e;var we=o(264);t.unlock=we;var ke=o(265);t.update=ke;var je=o(266);t.upload=je;var Ce=o(267);t.valign=Ce;var Se=o(268);t.video=Se},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n\t<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"/>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 18.151 18.151">\n<g>\n\t<g>\n\t\t<path d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194\n\t\t\tc0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/>\n\t\t<path 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\n\t\t\tS13.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\n\t\t\ts3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/>\n\t\t<polygon  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\n\t\t\t10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 \t\t"/>\n\t</g>\n</g>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 432 432">\n<g>\n\t<g>\n\t\t<polygon points="203.688,96 0,96 0,144 155.688,144 \t\t"/>\n\t\t<polygon points="155.719,288 0,288 0,336 203.719,336 \t\t"/>\n\t\t<rect x="252" y="96"/>\n\t\t<rect/>\n\t\t<rect x="252" y="288"/>\n\t\t<rect y="384"/>\n\t\t<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\n\t\t\tL97.844,230.125z"/>\n\t\t<polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176 \t\t"/>\n\t</g>\n</g>\n</svg>\n'},function(e,t){e.exports='<svg  viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1411 541l-355 355 355 355 144-144q29-31 70-14 39 17 39 59v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l144-144-355-355-355 355 144 144q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l144 144 355-355-355-355-144 144q-19 19-45 19-12 0-24-5-40-17-40-59v-448q0-26 19-45t45-19h448q42 0 59 40 17 39-14 69l-144 144 355 355 355-355-144-144q-31-30-14-69 17-40 59-40h448q26 0 45 19t19 45v448q0 42-39 59-13 5-25 5-26 0-45-19z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 896q0 26-19 45l-256 256q-19 19-45 19t-45-19-19-45v-128h-1024v128q0 26-19 45t-45 19-45-19l-256-256q-19-19-19-45t19-45l256-256q19-19 45-19t45 19 19 45v128h1024v-128q0-26 19-45t45-19 45 19l256 256q19 19 19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1596 1385q0 117-79 196t-196 79q-135 0-235-100l-777-776q-113-115-113-271 0-159 110-270t269-111q158 0 273 113l605 606q10 10 10 22 0 16-30.5 46.5t-46.5 30.5q-13 0-23-10l-606-607q-79-77-181-77-106 0-179 75t-73 181q0 105 76 181l776 777q63 63 145 63 64 0 106-42t42-106q0-82-63-145l-581-581q-26-24-60-24-29 0-48 19t-19 48q0 32 25 59l410 410q10 10 10 22 0 16-31 47t-47 31q-12 0-22-10l-410-410q-63-61-63-149 0-82 57-139t139-57q88 0 149 63l581 581q100 98 100 235z"/></svg>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" style="stroke: #000000;">\n    <g transform="translate(0,-1036.3622)">\n        <path d="m 2,1050.3622 12,-12"\n              style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/>\n        <path d="m 2,1038.3622 12,12"\n              style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/>\n    </g>\n</svg>\n'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M813 1299l614-614q19-19 19-45t-19-45l-102-102q-19-19-45-19t-45 19l-467 467-211-211q-19-19-45-19t-45 19l-102 102q-19 19-19 45t19 45l358 358q19 19 45 19t45-19zm851-883v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16"><path 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>\n'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">\n\t<path\n\t\td="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"/>\n\t<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"/>\n\t<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"/>\n\t<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"/>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg\n        enable-background="new 0 0 24 24"\n        viewBox="0 0 24 24"\n        xml:space="preserve"\n\n       >\n    <circle cx="12" cy="12" r="2.2"/>\n    <circle cx="12" cy="5" r="2.2"/>\n    <circle cx="12" cy="19" r="2.2"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 10 10">\n\t<path\n\t\td="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"></path>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 128 128" xml:space="preserve">\n    <g>\n        <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   "/>\n    </g>\n</svg>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" >\n\t<path 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"/>\n</svg>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 1344v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45z"/></svg>'},function(e,t){e.exports='<svg\n     viewBox="0 0 312 312">\n    <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none">\n        <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32\n-30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30\n25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27\n-503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960\n11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40\n-47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0\n-775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80\n-3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10\n164 12 777 10 l773 -3 3 -454z"/>\n        <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104\n190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4\n289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103\n-97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35\n-82 -78z"/>\n        <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0\n189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/>\n        <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95\n106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79\n79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95\n108 -6 10 -568 11 -577 1z"/>\n    </g>\n</svg>\n'},function(e,t){e.exports='<svg role="img" viewBox="0 0 1792 1792">\n    <path 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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 270 270">\n\t<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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg x="0px" y="0px" viewBox="0 0 459 459">\n<g>\n\t<g>\n\t\t<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\n\t\t\tc-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\n\t\t\t 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\n\t\t\t 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\n\t\t\t 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\n\t\t\t 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"\n\t\t/>\n\t</g>\n</g>\n</svg>\n'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n\t<path\n\t\td="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"/>\n</svg>\n'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24"\n    >\n    <g>\n        <g transform="translate(-251.000000, -443.000000)">\n            <g transform="translate(215.000000, 119.000000)"/>\n            <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"/>\n        </g>\n    </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <path d="M844 472q0 60-19 113.5t-63 92.5-105 39q-76 0-138-57.5t-92-135.5-30-151q0-60 19-113.5t63-92.5 105-39q77 0 138.5 57.5t91.5 135 30 151.5zm-342 483q0 80-42 139t-119 59q-76 0-141.5-55.5t-100.5-133.5-35-152q0-80 42-139.5t119-59.5q76 0 141.5 55.5t100.5 134 35 152.5zm394-27q118 0 255 97.5t229 237 92 254.5q0 46-17 76.5t-48.5 45-64.5 20-76 5.5q-68 0-187.5-45t-182.5-45q-66 0-192.5 44.5t-200.5 44.5q-183 0-183-146 0-86 56-191.5t139.5-192.5 187.5-146 193-59zm239-211q-61 0-105-39t-63-92.5-19-113.5q0-74 30-151.5t91.5-135 138.5-57.5q61 0 105 39t63 92.5 19 113.5q0 73-30 151t-92 135.5-138 57.5zm432-104q77 0 119 59.5t42 139.5q0 74-35 152t-100.5 133.5-141.5 55.5q-77 0-119-59t-42-139q0-74 35-152.5t100.5-134 141.5-55.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18">\n    <g fill-rule="evenodd" stroke="none" stroke-width="1">\n        <g transform="translate(-381.000000, -381.000000)">\n            <g transform="translate(381.000000, 381.000000)">\n                <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"/>\n            </g>\n        </g>\n    </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48">\n    <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"/>\n    <path d="M0 0h48v48h-48z" fill="none"/>\n</svg>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n    <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"/>\n</svg>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path 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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'},function(e,t){e.exports='<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>'}],e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:n})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.t=function(t,o){if(1&o&&(t=e(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var i in t)e.d(n,i,function(e){return t[e]}.bind(null,i));return n},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.p="/build/",e(e.s=70);function e(n){if(o[n])return o[n].exports;var i=o[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var t,o}()},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3IDUiPgogICAgPHBhdGggaWQ9IlJvdW5kZWRfUmVjdGFuZ2xlXzIyX2NvcHlfMyIgc3R5bGU9Im9wYWNpdHk6MC44O2ZpbGw6IzY2Njg2QTsiIGQ9Ik0zLjksNC44CglDMy42LDUuMSwzLjIsNSwyLjksNC43TDAuMywxLjVDMCwxLjEtMC41LDAsMSwwTDYsMGMxLjUsMCwwLjksMS4xLDAuNiwxLjRMNC4xLDQuN0M0LDQuOCw0LDQuOCwzLjksNC44eiIvPgo8L3N2Zz4="},function(e,t,o){var n=o(12),i=o(2).document,r=n(i)&&n(i.createElement);e.exports=function(e){return r?i.createElement(e):{}}},function(e,t,o){var n=o(29);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,o){var n=o(38)("keys"),i=o(32);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,o){var n=o(71),i=o(56).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,o){"use strict";var n=o(77)(!0);e.exports=function(e,t,o){return t+(o?n(e,t).length:1)}},function(e,t,o){"use strict";var n=o(60),i=RegExp.prototype.exec,r=String.prototype.replace,a=i,s=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),l=void 0!==/()??/.exec("")[1];(s||l)&&(a=function(e){var t,o,a,c,d=this;return l&&(o=new RegExp("^"+d.source+"$(?!\\s)",n.call(d))),s&&(t=d.lastIndex),a=i.call(d,e),s&&a&&(d.lastIndex=d.global?a.index+a[0].length:t),l&&a&&a.length>1&&r.call(a[0],o,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(a[c]=void 0)})),a}),e.exports=a},function(e,t,o){"use strict";var n=o(3);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,o){var n=o(0)("unscopables"),i=Array.prototype;null==i[n]&&o(14)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t,o){var n=o(20),i=o(28);o(169)("keys",(function(){return function(e){return i(n(e))}}))},function(e,t,o){"use strict";var n=o(5),i=o(174)(5),r=!0;"find"in[]&&Array(1).find((function(){r=!1})),n(n.P+n.F*r,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(61)("find")},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,o){var n=o(177),i=o(180),r=o(193),a=o(195),s=o(196),l=o(197),c=o(86),d=o(199),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||d(e)||r(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!n(e).length;for(var o in e)if(p.call(e,o))return!1;return!0}},function(e,t){e.exports="data:image/png;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4AJkFkb2JlAGTAAAAAAQMAFQQDBgoNAAABpgAAAccAAAIDAAACMP/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8IAEQgAFAAUAwERAAIRAQMRAf/EAH8AAAMBAQAAAAAAAAAAAAAAAAIDBAEIAQEAAAAAAAAAAAAAAAAAAAAAEAACAwEAAAAAAAAAAAAAAAAAATARMRARAQAAAAAAAAAAAAAAAAAAADASAQAAAAAAAAAAAAAAAAAAADATAAEEAwEAAAAAAAAAAAAAAAEAEDAx8BGxYf/aAAwDAQACEQMRAAAB7kHhgCzCgnBP/9oACAEBAAEFAhYUjC3x6f/aAAgBAgABBQKH/9oACAEDAAEFAof/2gAIAQICBj8CH//aAAgBAwIGPwIf/9oACAEBAQY/Ah//2gAIAQEDAT8hVTeSJJaFL2a5v//aAAgBAgMBPyGH/9oACAEDAwE/IYf/2gAMAwEAAhEDEQAAEBBJBB//2gAIAQEDAT8QXV1sRKOD6CgsQDcXG//aAAgBAgMBPxCH/9oACAEDAwE/EIf/2Q=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACxJREFUeNpiVFfXYMAN/v3/j0eWiYECMKp5ZGhmIZCGGBlHA2xUMyWaAQIMAJSTBpxFdlboAAAAAElFTkSuQmCC"},function(e,t,o){var n=o(2),i=o(16),r=o(31),a=o(69),s=o(10).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=r?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,o){t.f=o(0)},function(e,t,o){e.exports=!o(11)&&!o(9)((function(){return 7!=Object.defineProperty(o(53)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,o){var n=o(17),i=o(18),r=o(72)(!1),a=o(55)("IE_PROTO");e.exports=function(e,t){var o,s=i(e),l=0,c=[];for(o in s)o!=a&&n(s,o)&&c.push(o);for(;t.length>l;)n(s,o=t[l++])&&(~r(c,o)||c.push(o));return c}},function(e,t,o){var n=o(18),i=o(19),r=o(161);e.exports=function(e){return function(t,o,a){var s,l=n(t),c=i(l.length),d=r(a,c);if(e&&o!=o){for(;c>d;)if((s=l[d++])!=s)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===o)return e||d||0;return!e&&-1}}},function(e,t,o){var n=o(29);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,o){var n=o(3),i=o(162),r=o(56),a=o(55)("IE_PROTO"),s=function(){},l=function(){var e,t=o(53)("iframe"),n=r.length;for(t.style.display="none",o(75).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[r[n]];return l()};e.exports=Object.create||function(e,t){var o;return null!==e?(s.prototype=n(e),o=new s,s.prototype=null,o[a]=e):o=l(),void 0===t?o:i(o,t)}},function(e,t,o){var n=o(2).document;e.exports=n&&n.documentElement},function(e,t,o){var n=o(44),i=o(33),r=o(18),a=o(39),s=o(17),l=o(70),c=Object.getOwnPropertyDescriptor;t.f=o(11)?c:function(e,t){if(e=r(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,o){var n=o(42),i=o(30);e.exports=function(e){return function(t,o){var r,a,s=String(i(t)),l=n(o),c=s.length;return l<0||l>=c?e?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):r:e?s.slice(l,l+2):a-56320+(r-55296<<10)+65536}}},function(e,t,o){"use strict";var n=o(31),i=o(5),r=o(13),a=o(14),s=o(35),l=o(167),c=o(41),d=o(168),p=o(0)("iterator"),u=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,o,h,g,m,v){l(o,t,h);var b,y,x,_=function(e){if(!u&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new o(this,e)}}return function(){return new o(this,e)}},w=t+" Iterator",k="values"==g,j=!1,C=e.prototype,S=C[p]||C["@@iterator"]||g&&C[g],A=S||_(g),M=g?k?_("entries"):A:void 0,E="Array"==t&&C.entries||S;if(E&&(x=d(E.call(new e)))!==Object.prototype&&x.next&&(c(x,w,!0),n||"function"==typeof x[p]||a(x,p,f)),k&&S&&"values"!==S.name&&(j=!0,A=function(){return S.call(this)}),n&&!v||!u&&!j&&C[p]||a(C,p,A),s[t]=A,s[w]=f,g)if(b={values:k?A:_("values"),keys:m?A:_("keys"),entries:M},v)for(y in b)y in C||r(C,y,b[y]);else i(i.P+i.F*(u||j),t,b);return b}},function(e,t,o){var n=o(3);e.exports=function(e,t,o,i){try{return i?t(n(o)[0],o[1]):t(o)}catch(t){var r=e.return;throw void 0!==r&&n(r.call(e)),t}}},function(e,t,o){var n=o(35),i=o(0)("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||r[i]===e)}},function(e,t,o){"use strict";var n=o(10),i=o(33);e.exports=function(e,t,o){t in e?n.f(e,t,i(0,o)):e[t]=o}},function(e,t,o){var n=o(46),i=o(0)("iterator"),r=o(35);e.exports=o(16).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||r[n(e)]}},function(e,t,o){var n=o(0)("iterator"),i=!1;try{var r=[7][n]();r.return=function(){i=!0},Array.from(r,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var o=!1;try{var r=[7],a=r[n]();a.next=function(){return{done:o=!0}},r[n]=function(){return a},e(r)}catch(e){}return o}},function(e,t,o){var n=o(12),i=o(29),r=o(0)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==i(e))}},function(e,t,o){var n=o(3),i=o(40),r=o(0)("species");e.exports=function(e,t){var o,a=n(e).constructor;return void 0===a||null==(o=n(a)[r])?t:i(o)}},function(e,t){var o=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||o)}},function(e,t,o){var n=o(48),i=o(90);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,o){var n=o(15).Symbol;e.exports=n},function(e,t,o){(function(t){var o="object"==typeof t&&t&&t.Object===Object&&t;e.exports=o}).call(this,o(183))},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){var o=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,o){var n=o(5),i=o(204),r=o(18),a=o(76),s=o(81);n(n.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,o,n=r(e),l=a.f,c=i(n),d={},p=0;c.length>p;)void 0!==(o=l(n,t=c[p++]))&&s(d,t,o);return d}})},function(e,t,o){var n,i,r,a=o(27),s=o(208),l=o(75),c=o(53),d=o(2),p=d.process,u=d.setImmediate,f=d.clearImmediate,h=d.MessageChannel,g=d.Dispatch,m=0,v={},b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){b.call(e.data)};u&&f||(u=function(e){for(var t=[],o=1;arguments.length>o;)t.push(arguments[o++]);return v[++m]=function(){s("function"==typeof e?e:Function(e),t)},n(m),m},f=function(e){delete v[e]},"process"==o(29)(p)?n=function(e){p.nextTick(a(b,e,1))}:g&&g.now?n=function(e){g.now(a(b,e,1))}:h?(r=(i=new h).port2,i.port1.onmessage=y,n=a(r.postMessage,r,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(n=function(e){d.postMessage(e+"","*")},d.addEventListener("message",y,!1)):n="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:u,clear:f}},function(e,t,o){"use strict";var n=o(40);e.exports.f=function(e){return new function(e){var t,o;this.promise=new e((function(e,n){if(void 0!==t||void 0!==o)throw TypeError("Bad Promise constructor");t=e,o=n})),this.resolve=n(t),this.reject=n(o)}(e)}},function(e,t){e.exports='<div class="ea-editor ea-editor-{{adaptiveClass}}" ng-class="expanded ? \'ea-editor-expanded\' : \'\'">\n    <div class="ea-editor-overlay" ng-click="expanded = !expanded"></div>\n\n    <div class="ea-editor-responsive-button" ng-click="expanded = !expanded">\n        <svg viewBox="0 0 18 18" class="ea-editor-responsive-button-label-icon" width="18" height="18"\n             ng-show="adaptiveClass !== \'small\'">\n            <path d="M14.6,12c0.2-0.4,0.4-0.8,0.5-1.2c0.1-0.3,0.3-0.4,0.6-0.5l2.3-0.3l0,0V7.9l-2.3-0.3c-0.3,0-0.5-0.2-0.6-0.5\n                C15,6.7,14.8,6.4,14.6,6c-0.1-0.2-0.1-0.5,0.1-0.7l1.4-1.9l-1.5-1.5l-1.9,1.4c-0.2,0.2-0.5,0.2-0.7,0.1c-0.4-0.2-0.8-0.4-1.2-0.5\n                c-0.3-0.1-0.4-0.3-0.5-0.6L10.1,0H7.9L7.6,2.3c0,0.3-0.2,0.5-0.5,0.6C6.8,3,6.4,3.2,6,3.4C5.8,3.5,5.5,3.5,5.3,3.3L3.4,1.9L1.9,3.4\n                l1.4,1.9C3.5,5.5,3.5,5.7,3.4,6C3.2,6.4,3,6.7,2.9,7.2C2.8,7.4,2.6,7.6,2.3,7.6L0,7.9v2.2l2.3,0.3c0.3,0,0.5,0.2,0.6,0.5\n                C3,11.2,3.2,11.6,3.4,12c0.1,0.2,0.1,0.5-0.1,0.7l-1.4,1.9l1.5,1.5l1.9-1.4c0.2-0.2,0.5-0.2,0.7-0.1c0.4,0.2,0.8,0.4,1.2,0.5\n                c0.3,0.1,0.4,0.3,0.5,0.6L7.9,18h2.2l0.3-2.3c0-0.3,0.2-0.5,0.5-0.6c0.4-0.1,0.8-0.3,1.2-0.5c0.2-0.1,0.5-0.1,0.7,0.1l1.9,1.4\n                l1.5-1.5l-1.4-1.9C14.5,12.5,14.5,12.2,14.6,12z M9,11.9c-1.6,0-2.8-1.3-2.8-2.8S7.4,6.1,9,6.1s2.8,1.3,2.8,2.9\n                C11.9,10.6,10.6,11.9,9,11.9z"></path>\n        </svg>\n\n        <span class="ea-editor-responsive-button-label" ng-show="!expanded && adaptiveClass === \'small\'">\n            <svg viewBox="0 0 18 18" class="ea-editor-responsive-button-label-icon" width="18" height="18">\n                <path d="M14.6,12c0.2-0.4,0.4-0.8,0.5-1.2c0.1-0.3,0.3-0.4,0.6-0.5l2.3-0.3l0,0V7.9l-2.3-0.3c-0.3,0-0.5-0.2-0.6-0.5\n                    C15,6.7,14.8,6.4,14.6,6c-0.1-0.2-0.1-0.5,0.1-0.7l1.4-1.9l-1.5-1.5l-1.9,1.4c-0.2,0.2-0.5,0.2-0.7,0.1c-0.4-0.2-0.8-0.4-1.2-0.5\n                    c-0.3-0.1-0.4-0.3-0.5-0.6L10.1,0H7.9L7.6,2.3c0,0.3-0.2,0.5-0.5,0.6C6.8,3,6.4,3.2,6,3.4C5.8,3.5,5.5,3.5,5.3,3.3L3.4,1.9L1.9,3.4\n                    l1.4,1.9C3.5,5.5,3.5,5.7,3.4,6C3.2,6.4,3,6.7,2.9,7.2C2.8,7.4,2.6,7.6,2.3,7.6L0,7.9v2.2l2.3,0.3c0.3,0,0.5,0.2,0.6,0.5\n                    C3,11.2,3.2,11.6,3.4,12c0.1,0.2,0.1,0.5-0.1,0.7l-1.4,1.9l1.5,1.5l1.9-1.4c0.2-0.2,0.5-0.2,0.7-0.1c0.4,0.2,0.8,0.4,1.2,0.5\n                    c0.3,0.1,0.4,0.3,0.5,0.6L7.9,18h2.2l0.3-2.3c0-0.3,0.2-0.5,0.5-0.6c0.4-0.1,0.8-0.3,1.2-0.5c0.2-0.1,0.5-0.1,0.7,0.1l1.9,1.4\n                    l1.5-1.5l-1.4-1.9C14.5,12.5,14.5,12.2,14.6,12z M9,11.9c-1.6,0-2.8-1.3-2.8-2.8S7.4,6.1,9,6.1s2.8,1.3,2.8,2.9\n                    C11.9,10.6,10.6,11.9,9,11.9z"></path>\n            </svg>\n\n            <span class="ea-editor-responsive-button-label-text" translate>\n                Widget Settings\n            </span>\n\n            <svg viewBox="0 0 8 12" class="ea-editor-responsive-button-arrow">\n                <path d="M5.71,4.286L1.727,0.302c-0.39-0.392-1.023-0.392-1.414,0c-0.39,0.39-0.39,1.023,0,1.414L3.59,4.992\n\t                L0.289,8.284c-0.39,0.39-0.39,1.025,0,1.415c0.39,0.39,1.023,0.39,1.414,0l4.008-4C6.101,5.309,6.101,4.675,5.71,4.286z"></path>\n            </svg>\n        </span>\n\n        <span class="ea-editor-responsive-button-label" ng-show="expanded && adaptiveClass === \'small\'">\n            <svg viewBox="0 0 12 17" class="ea-editor-responsive-button-label-icon" width="18" height="12">\n                <path d="M4.3,8.7l6,5.9c0.4,0.4,1.1,0.4,1.5,0c0.4-0.4,0.4-1.1,0-1.5L6.5,8l5.2-5.2c0.4-0.4,0.4-1.1,0-1.5\n                c-0.4-0.4-1.1-0.4-1.5,0l-6,6C3.9,7.7,3.9,8.3,4.3,8.7z"></path>\n            </svg>\n\n            <span class="ea-editor-responsive-button-label-text" translate>\n                Back to preview\n            </span>\n\n        </span>\n\n        \x3c!--<div class="ea-editor-responsive-button-hint">Try Settings</div>--\x3e\n    </div>\n\n    <div class="ea-editor-form">\n        <div class="ea-editor-tabs">\n            <div class="ea-editor-tabs-nav">\n                <div class="ea-editor-tabs-nav-item" ng-class="{ \'ea-editor-tabs-nav-item-active\': tab.active }"\n                     ng-click="openTab(key)" ng-show="tab.properties.length" ng-repeat="(key, tab) in tabs">\n                    {{tab.name}}\n                </div>\n            </div>\n\n            <div class="ea-editor-tabs-content">\n                <div class="ea-editor-tabs-content-item" ng-class="{ \'ea-editor-tabs-content-item-active\': tab.active }"\n                     ng-repeat="tab in tabs">\n                    <div class="ea-editor-property-{{property.type}} ea-editor-property" ng-repeat="property in tab.properties"\n                         ng-show="isPropertyVisible(property)">\n                        <div>\n                            <div control="property" ng-model="widget.data" ng-if="property.type === \'subgroup\'"></div>\n                            <div control="property" ng-model="widget.data[property.id]"\n                                 ng-if="property.type !== \'subgroup\'"></div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n\n        <div class="ea-editor-hint" ng-class="{ \'ea-editor-hint-visible\': editorHintVisible }">{{editorHint}}</div>\n        <div class="ea-editor-error" ng-class="{ \'ea-editor-error-visible\': editorErrorVisible }">{{editorError}}</div>\n\n        <elfsight-apps-templates ng-if="templates"></elfsight-apps-templates>\n    </div>\n\n    <div class="ea-editor-preview-container">\n        <div class="ea-editor-preview-overlay"></div>\n\n        <div class="ea-editor-preview-loader" ng-class="showLoader ? \'ea-editor-preview-loader-show\' : \'\'"></div>\n    </div>\n\n    <div class="ea-editor-toolbar-container"></div>\n\n    <canvas class="ea-editor-popup-canvas"></canvas>\n\n    <div class="ea-editor-popup-container hide-popup" ng-click="hidePopup($event)" ng-show="popupVisible"></div>\n</div>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div\n    class="ea-editor-property-control-file ea-editor-property-control"\n    ng-if="!control.file.multiple && mode !== \'fallbackUrl\'"\n    ng-click="selectFile($event)"\n  >\n    <label class="ea-editor-property-control-file-button" ng-if="!file.data.name && !file.data.url">\n      <svg\n        class="ea-editor-property-control-file-button-icon" ng-if="!loadInProgress"\n        xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="14" height="14"\n        viewBox="0 0 14 14"\n      >\n        <defs>\n          <path\n            id="combined-shape-copy-a"\n            d="M6.33528971,5.6109113 L4.80754974,7.13865128 C4.54734592,7.3988551 4.12547218,7.3988551 3.86526836,7.13865128 C3.60506454,6.87844746 3.60506454,6.45657371 3.86526836,6.1963699 L6.53044258,3.53119568 C6.7906464,3.27099186 7.21252014,3.27099186 7.47272396,3.53119568 L10.1378982,6.1963699 C10.398102,6.45657371 10.398102,6.87844746 10.1378982,7.13865128 C9.87769436,7.3988551 9.45582062,7.3988551 9.1956168,7.13865128 L7.66787682,5.6109113 L7.66787682,9.75912042 C7.66787682,10.0769352 7.36956704,10.334575 7.00158327,10.334575 C6.6335995,10.334575 6.33528971,10.0769352 6.33528971,9.75912042 L6.33528971,5.6109113 Z M7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,10.8659932 10.8659932,14 7,14 Z M7,12.7272727 C10.1630854,12.7272727 12.7272727,10.1630854 12.7272727,7 C12.7272727,3.83691461 10.1630854,1.27272727 7,1.27272727 C3.83691461,1.27272727 1.27272727,3.83691461 1.27272727,7 C1.27272727,10.1630854 3.83691461,12.7272727 7,12.7272727 Z"\n          ></path>\n        </defs>\n        <g fill="none" fill-rule="evenodd" opacity=".7">\n          <use fill="#FFF" fill-rule="nonzero" xlink:href="#combined-shape-copy-a" />\n        </g>\n      </svg>\n\n      <span class="ea-editor-property-control-file-button-text" ng-if="!loadInProgress">{{control.file.uploadButtonLabel || \'Upload\'}}</span>\n\n      <span class="ea-editor-property-control-file-button-loader" ng-if="loadInProgress"></span>\n    </label>\n\n    <div class="ea-editor-property-control-file-exists" ng-if="file">\n      <div class="ea-editor-property-control-file-exists-name">{{file.data.name}}</div>\n\n      <div class="ea-editor-property-control-file-exists-delete">\n        <svg width="10px" height="10px" viewBox="0 0 8 8" fill="#fff" focusable="false">\n          <path\n            fill="#fff"\n            d="M4.708,4l3.146-3.146c0.195-0.195,0.195-0.511,0-0.708c-0.196-0.195-0.513-0.195-0.708,0L4,3.292\n              L0.854,0.146c-0.195-0.195-0.511-0.195-0.708,0c-0.195,0.196-0.195,0.513,0,0.708L3.292,4L0.146,7.146\n              c-0.195,0.195-0.195,0.511,0,0.708c0.196,0.195,0.513,0.195,0.708,0L4,4.708l3.146,3.146c0.195,0.195,0.511,0.195,0.708,0\n              c0.195-0.196,0.195-0.513,0-0.708L4.708,4z"\n          ></path>\n        </svg>\n      </div>\n\n    </div>\n\n    <div class="ea-editor-property-control-file-error">{{error}}</div>\n  </div>\n\n  <div\n    class="ea-editor-property-control-file ea-editor-property-control"\n    ng-if="control.file.multiple && mode !== \'fallbackUrl\'"\n  >\n    <div class="ea-editor-property-control-file-multiple-files">\n      <div class="ea-editor-property-control-complex ea-editor-property-control" sv-root>\n        <div class="ea-editor-property-control-complex-list" sv-part="ngModel">\n          <div sv-placeholder class="ea-editor-property-control-complex-item-placeholder"></div>\n\n          <div\n            class="ea-editor-property-control-complex-item"\n            ng-repeat="item in ngModel track by $index"\n            ng-class="{ \'ea-editor-property-control-complex-item-removing\': itemsToRemove.indexOf($index) !== -1 }"\n            sv-element\n          >\n            <div class="ea-editor-property-control-complex-item-inner">\n              <div\n                class="ea-editor-property-control-complex-item-reorder"\n                ng-click="reorderClick($event)"\n                sv-handle\n                title="Reorder"\n              >\n                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 14" focusable="false">\n                  <path d="M1,4c0.6,0,1,0.4,1,1S1.6,6,1,6S0,5.6,0,5S0.4,4,1,4L1,4z" />\n                  <path d="M1,0c0.6,0,1,0.4,1,1S1.6,2,1,2S0,1.6,0,1S0.4,0,1,0L1,0z" />\n                  <path d="M1,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S0,9.6,0,9S0.4,8,1,8L1,8z" />\n                  <path d="M1,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S0.4,12,1,12L1,12z" />\n                  <path d="M6,0c0.6,0,1,0.4,1,1S6.6,2,6,2S5,1.6,5,1S5.4,0,6,0L6,0z" />\n                  <path d="M6,4c0.6,0,1,0.4,1,1S6.6,6,6,6S5,5.6,5,5S5.4,4,6,4L6,4z" />\n                  <path d="M6,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S5,9.6,5,9S5.4,8,6,8L6,8z" />\n                  <path d="M6,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S5.4,12,6,12L6,12z" />\n                </svg>\n              </div>\n\n              <div\n                class="ea-editor-property-control-complex-item-image-container"\n                title="{{item.data.name}}"\n                ng-if="itemIsImage(item.data.extension || item.data.ext)"\n              >\n                <div\n                  class="ea-editor-property-control-complex-item-image"\n                  style="background-image: url(\'{{item.data.url || item.data.file_url}}\')"\n                  title="{{item.data.name}}"\n                ></div>\n              </div>\n\n              <div class="ea-editor-property-control-complex-item-info">\n                <div class="ea-editor-property-control-complex-item-info-name" title="{{item.data.name}}">\n                  {{item.data.name}}\n                </div>\n\n                <div class="ea-editor-property-control-complex-item-info-edit" ng-click="openSub(item)">\n                  {{control.file.editButtonLabel || \'Edit info\'}}\n                </div>\n              </div>\n\n              <div class="ea-editor-property-control-complex-item-remove" ng-click="showRemoveConfirm($index, $event)">\n                <svg viewBox="0 0 753.2 753.2" focusable="false">\n                  <g>\n                    <path\n                      d="M647.3,117.7H517.8V47.1c0-26-21.1-47.1-47.1-47.1H282.5c-26,0-47.1,21.1-47.1,47.1v70.6H105.9\n\t\t\t\t        c-19.5,0-35.3,15.8-35.3,35.3s15.8,35.3,35.3,35.3h11.8v517.8c0,26,21.1,47.1,47.1,47.1h423.7c26,0,47.1-21.1,47.1-47.1V188.3\n\t\t\t\t        h11.8c19.5,0,35.3-15.8,35.3-35.3C682.6,133.5,666.8,117.7,647.3,117.7z M306,70.6h141.2v47.1H306V70.6z M564.9,682.6H188.3\n\t\t\t\t        V188.3h376.6V682.6z"\n                    />\n                  </g>\n                  <path\n                    d="M290,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H290c-13,0-23.7,10.6-23.7,23.7v316.9\n\t                    C266.3,606.8,277,617.4,290,617.4z"\n                  />\n                  <path\n                    d="M441,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H441c-13,0-23.7,10.6-23.7,23.7v316.9\n\t                    C417.3,606.8,428,617.4,441,617.4z"\n                  />\n                </svg>\n              </div>\n            </div>\n\n            <div class="ea-editor-property-control-complex-item-remove-confirm">\n              <div class="ea-editor-property-control-complex-item-remove-confirm-label" translate>\n                Are you sure you want to remove?\n              </div>\n\n              <div class="ea-editor-property-control-complex-item-remove-confirm-actions">\n                <div\n                  class="ea-editor-property-control-complex-item-remove-confirm-actions-yes"\n                  ng-click="removeItem($index, $event)" translate\n                >Yes\n                </div>\n                <div\n                  class="ea-editor-property-control-complex-item-remove-confirm-actions-no"\n                  ng-click="hideRemoveConfirm($index, $event)" translate\n                >No\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <label class="ea-editor-property-control-file-button" ng-click="selectFile($event)">\n      <svg\n        class="ea-editor-property-control-file-button-icon"\n        fill="#FFF"\n        xmlns="http://www.w3.org/2000/svg"\n        xmlns:xlink="http://www.w3.org/1999/xlink"\n        width="14"\n        height="14"\n        viewBox="0 0 14 14"\n      >\n        <path\n          d="M6.33528971,5.6109113 L4.80754974,7.13865128 C4.54734592,7.3988551 4.12547218,7.3988551 3.86526836,7.13865128 C3.60506454,6.87844746 3.60506454,6.45657371 3.86526836,6.1963699 L6.53044258,3.53119568 C6.7906464,3.27099186 7.21252014,3.27099186 7.47272396,3.53119568 L10.1378982,6.1963699 C10.398102,6.45657371 10.398102,6.87844746 10.1378982,7.13865128 C9.87769436,7.3988551 9.45582062,7.3988551 9.1956168,7.13865128 L7.66787682,5.6109113 L7.66787682,9.75912042 C7.66787682,10.0769352 7.36956704,10.334575 7.00158327,10.334575 C6.6335995,10.334575 6.33528971,10.0769352 6.33528971,9.75912042 L6.33528971,5.6109113 Z M7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,10.8659932 10.8659932,14 7,14 Z M7,12.7272727 C10.1630854,12.7272727 12.7272727,10.1630854 12.7272727,7 C12.7272727,3.83691461 10.1630854,1.27272727 7,1.27272727 C3.83691461,1.27272727 1.27272727,3.83691461 1.27272727,7 C1.27272727,10.1630854 3.83691461,12.7272727 7,12.7272727 Z"\n        />\n      </svg>\n      <span\n        class="ea-editor-property-control-file-button-text"\n      >{{control.file.uploadButtonLabel || \'Upload\'}}</span>\n    </label>\n  </div>\n\n  <div class="ea-editor-property-control-file ea-editor-property-control" ng-if="mode === \'fallbackUrl\'">\n    <input ng-model="ngModel" type="text" ng-keyup="setValue($event);">\n  </div>\n</label>\n\n'},function(e,t){e.exports='<div class="ea-editor-sub" ng-class="{ \'ea-editor-sub-active\': visible }">\n  <div class="ea-editor-sub-header" ng-click="hide()">\n    <div class="ea-editor-sub-back-button">\n      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">\n        <path\n          d="M11.3,5.2H2.5l4-4c0.3-0.3,0.3-0.8,0-1.1c-0.3-0.3-0.8-0.3-1.1,0L0.2,5.4C0.1,5.6,0,5.8,0,6\n                c0,0.2,0.1,0.4,0.2,0.5l5.2,5.2c0.3,0.3,0.8,0.3,1.1,0c0.3-0.3,0.3-0.8,0-1.1l-4-4h8.7C11.7,6.7,12,6.4,12,6\n                C12,5.6,11.7,5.2,11.3,5.2z"\n        />\n      </svg>\n    </div>\n\n    <div class="ea-editor-sub-title">{{name}}</div>\n  </div>\n\n  <div class="ea-editor-sub-content">\n\x3c!--    <div ng-if="preview" class="ea-editor-sub-content-preview" ng-click="preview.onClick($event)">--\x3e\n\x3c!--      <img src="{{preview.image}}" ng-if="preview.image" alt="" class="ea-editor-sub-content-preview-image">--\x3e\n\x3c!--    </div>--\x3e\n\n    <div\n      class="ea-editor-property-{{property.type}} ea-editor-property"\n      ng-repeat="property in properties"\n      ng-if="!controlGroupProperty || (controlGroupProperty && property.groups.indexOf(data[controlGroupProperty]) !== -1)"\n      ng-show="isPropertyVisible(property)"\n    >\n      <div>\n        <div control="property" ng-model="data[property.id]" ng-if="property.type !== \'subgroup\'"></div>\n\n        <div control="property" ng-model="data" ng-if="property.type === \'subgroup\'"></div>\n      </div>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-popup">\n  <div class="ea-editor-popup-close hide-popup" ng-click="hidePopup()">\n    <svg\n      width="14px" height="14px" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg"\n    >\n      <path\n        d="M8.41421356,7 L13.7071068,12.2928932 C14.0976311,12.6834175 14.0976311,13.3165825 13.7071068,13.7071068 C13.3165825,14.0976311 12.6834175,14.0976311 12.2928932,13.7071068 L7,8.41421356 L1.70710678,13.7071068 C1.31658249,14.0976311 0.683417511,14.0976311 0.292893219,13.7071068 C-0.0976310729,13.3165825 -0.0976310729,12.6834175 0.292893219,12.2928932 L5.58578644,7 L0.292893219,1.70710678 C-0.0976310729,1.31658249 -0.0976310729,0.683417511 0.292893219,0.292893219 C0.683417511,-0.0976310729 1.31658249,-0.0976310729 1.70710678,0.292893219 L7,5.58578644 L12.2928932,0.292893219 C12.6834175,-0.0976310729 13.3165825,-0.0976310729 13.7071068,0.292893219 C14.0976311,0.683417511 14.0976311,1.31658249 13.7071068,1.70710678 L8.41421356,7 Z"\n      ></path>\n    </svg>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-templates"\n     ng-class="{\'ea-editor-templates-hide\': !showTemplates && !enableTemplates, \'ea-editor-templates-enable\': enableTemplates }">\n\n    <div class="ea-editor-templates-wrapper">\n        <div class="ea-editor-templates-header" translate>Select a template to start with</div>\n\n        <div class="ea-editor-templates-item"\n             ng-repeat="template in templates"\n             ng-click="setData($index)"\n             ng-dblclick="selectTemplate($index)"\n             ng-class="{\'ea-editor-templates-item-active\': template.name === currentTemplate.name}">\n\n            <div class="ea-editor-templates-item-inner">\n                <div class="ea-editor-templates-item-image-container">\n                    <img ng-src="{{template.image}}" alt="{{template.name}}" class="ea-editor-templates-item-image"\n                         ng-if="template.image">\n                </div>\n\n                <span class="ea-editor-templates-item-title" title="{{template.name}}">\n                    <span class="ea-editor-templates-item-title-text">\n                        {{template.name}}\n                    </span>\n                </span>\n\n                <input name="template" type="radio" ng-value="template.name" ng-model="$parent.ngModel"\n                       class="ea-editor-templates-item-radio" ng-show="!template.name">\n            </div>\n\n        </div>\n    </div>\n\n    <div class="ea-editor-templates-actions">\n        <button class="ea-editor-templates-actions-customize" ng-click="hideTemplates()">\n            <span translate>Continue with this template</span>\n\n            <svg viewBox="0 0 24 24" id="icon-arrow-link" width="100%" height="100%">\n                <path d="M14.724 11l-2.862-2.862a.667.667 0 0 1 .943-.943l4 4c.26.26.26.683 0 .943l-4 4a.667.667 0 0 1-.943-.943l2.862-2.862H5.667a.667.667 0 1 1 0-1.333h9.057z"></path>\n            </svg>\n        </button>\n    </div>\n</div>'},function(e,t){e.exports='<div class="ea-editor-select-visual-group"\n     ng-class="{\'ea-editor-select-visual-group-active\': visible, \'ea-editor-select-visual-group-{{control.select.layout}}\': true }">\n    <div class="ea-editor-select-visual-group-header" ng-click="hide()">\n        <div class="ea-editor-select-visual-group-back-button">\n            <svg width="16px" height="16px" viewBox="0 0 16 16" fill="#989fa4" focusable="false">\n                <path d="M15.001,6.993H3.367l5.3-5.286c0.391-0.391,0.391-1.024,0-1.415\n            c-0.39-0.39-1.024-0.39-1.414,0L0.292,7.236C0.079,7.45-0.006,7.735,0.014,8.014C0.007,8.278,0.1,8.544,0.302,8.745l6.942,6.961\n            c0.391,0.391,1.024,0.391,1.415,0c0.39-0.39,0.39-1.024,0-1.414L3.374,8.994h11.628c0.551,0,0.999-0.447,0.999-1\n            C16,7.44,15.552,6.993,15.001,6.993z"></path>\n            </svg>\n        </div>\n\n        <div class="ea-editor-select-visual-group-title">{{control.name}}</div>\n    </div>\n\n    <div class="ea-editor-select-visual-group-content">\n        <label class="ea-editor-select-visual-group-option" ng-repeat="option in control.select.options"\n               ng-show="isOptionVisible(option)"\n               ng-class="{\'ea-editor-select-visual-group-option-selected\': option && selected && option.value === selected.value, \'ea-editor-select-visual-group-option-divider\': option.title}">\n\n            <div class="ea-editor-select-visual-group-option-image-container" ng-show="!option.title">\n                <img ng-src="{{option.img}}" alt="{{option.name}}" class="ea-editor-select-visual-group-option-image" ng-if="option.img">\n            </div>\n\n            <span class="ea-editor-select-visual-group-option-title">{{option.name || option.title}}</span>\n\n            <input name="skin" type="radio" ng-value="option.value" ng-model="$parent.ngModel"\n                   class="ea-editor-select-visual-group-option-radio" ng-show="!option.title">\n        </label>\n    </div>\n</div>\n'},function(e,t){e.exports='<div\n  class="ea-editor-select-icons-group"\n  ng-class="{\'ea-editor-select-icons-group-active\': visible}"\n>\n  <div class="ea-editor-select-icons-group-header" ng-click="hide()">\n    <div class="ea-editor-select-icons-group-back-button">\n      <svg width="16px" height="16px" viewBox="0 0 16 16" fill="#989fa4" focusable="false">\n        <path\n          d="M15.001,6.993H3.367l5.3-5.286c0.391-0.391,0.391-1.024,0-1.415\n            c-0.39-0.39-1.024-0.39-1.414,0L0.292,7.236C0.079,7.45-0.006,7.735,0.014,8.014C0.007,8.278,0.1,8.544,0.302,8.745l6.942,6.961\n            c0.391,0.391,1.024,0.391,1.415,0c0.39-0.39,0.39-1.024,0-1.414L3.374,8.994h11.628c0.551,0,0.999-0.447,0.999-1\n            C16,7.44,15.552,6.993,15.001,6.993z"\n        ></path>\n      </svg>\n    </div>\n\n    <div class="ea-editor-select-icons-group-title">{{control.name}}</div>\n  </div>\n\n  <div class="ea-editor-select-icons-group-content">\n    <label\n      class="ea-editor-select-icons-group-option"\n      ng-repeat="option in control.select.options"\n      ng-class="{\'ea-editor-select-icons-group-option-selected\': option && selected && option.value === selected.value}"\n      title="{{option.name || option.title}}"\n    >\n\n      <div class="ea-editor-select-icons-group-option-image-container" ng-show="!option.title">\n        <img\n          ng-src="{{option.img}}" alt="{{option.name}}" class="ea-editor-select-icons-group-option-image"\n          ng-if="option.img"\n        >\n      </div>\n\n      <input\n        name="skin" type="radio" ng-value="option.value" ng-model="$parent.ngModel"\n        class="ea-editor-select-icons-group-option-radio" ng-show="!option.title"\n      >\n    </label>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-select-user-group"\n     ng-class="{\'ea-editor-select-user-group-active\': visible, \'ea-editor-select-user-group-{{control.select.layout}}\': true }">\n    <div class="ea-editor-select-user-group-header" ng-click="hide()">\n        <div class="ea-editor-select-user-group-back-button">\n            <svg width="16px" height="16px" viewBox="0 0 16 16" fill="#989fa4" focusable="false">\n                <path d="M15.001,6.993H3.367l5.3-5.286c0.391-0.391,0.391-1.024,0-1.415\n            c-0.39-0.39-1.024-0.39-1.414,0L0.292,7.236C0.079,7.45-0.006,7.735,0.014,8.014C0.007,8.278,0.1,8.544,0.302,8.745l6.942,6.961\n            c0.391,0.391,1.024,0.391,1.415,0c0.39-0.39,0.39-1.024,0-1.414L3.374,8.994h11.628c0.551,0,0.999-0.447,0.999-1\n            C16,7.44,15.552,6.993,15.001,6.993z"></path>\n            </svg>\n        </div>\n\n        <div class="ea-editor-select-user-group-title">{{control.name}}</div>\n    </div>\n\n    <div class="ea-editor-select-user-group-content-filters">\n        <div class="ea-editor-property-label">Gender</div>\n\n        <label class="ea-editor-property-control-radio-item">\n            <span class="ea-editor-property-control-radio-item-label">All</span>\n\n            <div class="ea-editor-property-control-radio-item-radio-wrapper">\n                <input class="ea-editor-property-control-radio-item-input" ng-model="settings.gender" value="all" type="radio">\n                <span class="ea-editor-property-control-radio-item-radio"></span>\n            </div>\n        </label>\n\n        <label class="ea-editor-property-control-radio-item">\n            <span class="ea-editor-property-control-radio-item-label">Male</span>\n\n            <div class="ea-editor-property-control-radio-item-radio-wrapper">\n                <input class="ea-editor-property-control-radio-item-input" ng-model="settings.gender" value="male" type="radio">\n                <span class="ea-editor-property-control-radio-item-radio"></span>\n            </div>\n        </label>\n\n        <label class="ea-editor-property-control-radio-item">\n            <span class="ea-editor-property-control-radio-item-label">Female</span>\n\n            <div class="ea-editor-property-control-radio-item-radio-wrapper">\n                <input class="ea-editor-property-control-radio-item-input" ng-model="settings.gender" value="female" type="radio">\n                <span class="ea-editor-property-control-radio-item-radio"></span>\n            </div>\n        </label>\n    </div>\n\n    <div class="ea-editor-select-user-group-content" on-scroll-to-bottom>\n        <label class="ea-editor-select-user-group-option" ng-repeat="user in data"\n               ng-class="{\'ea-editor-select-user-group-option-selected\': user.photo === ngModel.photo, \'ea-editor-select-user-group-option-divider\': option.title}"\n        >\n\n            <div class="ea-editor-select-user-group-option-image-container" ng-show="!option.title">\n                <div class="ea-editor-select-user-group-option-image" style="background-image: url(\'{{user.photo}}\')"></div>\n                \x3c!--<img ng-src="{{user.photo}}" alt="{{option.name}}" ng-if="user.photo">--\x3e\n            </div>\n\n            <span class="ea-editor-select-user-group-option-title">{{option.name || option.title}}</span>\n\n            <input name="skin" type="radio" ng-value="user" ng-model="$parent.ngModel"\n                   class="ea-editor-select-user-group-option-radio" ng-show="!option.title">\n        </label>\n    </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-file-manager">\n  <div class="ea-editor-file-manager-title">File Manager</div>\n\n  <div class="ea-editor-file-manager-tabs">\n    <div class="ea-editor-file-manager-tabs-menu">\n      <div\n        class="ea-editor-file-manager-tabs-menu-item"\n        ng-repeat="item in tabs track by $index"\n        ng-click="setCurrentTab(item.value, $index)"\n        ng-class="{\'ea-editor-file-manager-tabs-menu-item-active\': $index === currentTabId}"\n      >\n        {{item.name}}\n      </div>\n    </div>\n\n    <div class="ea-editor-file-manager-tabs-content"></div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-file-manager-files-container" ng-show="currentTab === \'files\'">\n  <div class="ea-editor-file-manager-files-inner">\n    <div class="ea-editor-file-manager-files-error" ng-if="filesError && !files.length">\n      {{filesError}}\n    </div>\n\n    <div\n      ng-repeat="(key, item) in files"\n      class="ea-editor-file-manager-files-item"\n      ng-class="{\'ea-editor-file-manager-files-item-active\': activeId.indexOf(key) != -1 }"\n      ng-click="setFileUrl(item, key)"\n      title="{{item.name}}"\n    >\n      <div class="ea-editor-file-manager-files-item-icon">\n        <img src="{{item.icon || item.url}}" alt="">\n\n        <div class="ea-editor-file-manager-files-item-icon-extension" ng-if="item.previewType === \'defaultIcon\'">\n          {{extension(item.url).replace(\'.\', \'\')}}\n        </div>\n      </div>\n\n      <div class="ea-editor-file-manager-files-item-name">\n        {{item.name}}\n      </div>\n\n      <div class="ea-editor-file-manager-files-item-size">\n        {{formatSize(item.size)}}\n      </div>\n    </div>\n  </div>\n\n  <div class="ea-editor-file-manager-actions">\n    <div class="ea-editor-file-manager-actions-item">\n      <button class="ea-editor-file-manager-actions-item-cancel hide-popup" ng-click="hidePopup()">Cancel</button>\n    </div>\n\n    <div class="ea-editor-file-manager-actions-item">\n      <button\n        class="ea-editor-file-manager-actions-item-choose"\n        ng-click="setResult(filesResult || \'\');"\n        ng-class="{\'ea-editor-file-manager-actions-item-choose-disabled\': !filesResult}"\n      >\n        {{settings.chooseButtonText}}\n      </button>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-file-manager-link-container" ng-show="currentTab === \'link\'">\n  <div class="ea-editor-file-manager-link-icon">\n    <svg\n      width="53px"\n      height="53px"\n      viewBox="0 0 53 53"\n      version="1.1"\n      xmlns="http://www.w3.org/2000/svg"\n      fill="#DBDDDF"\n    >\n      <path\n        d="M49.463,3.51000004 C51.721,5.76800004 52.965,8.78100004 52.965,11.995 C52.965,15.209 51.721,18.222 49.463,20.48 L37.442,32.502 C35.103,34.841 32.03,36.011 28.957,36.011 C25.884,36.011 22.812,34.841 20.472,32.502 C20.081,32.111 20.081,31.479 20.472,31.088 C20.863,30.697 21.495,30.697 21.886,31.088 C25.785,34.986 32.131,34.986 36.029,31.088 L48.048,19.066 C49.928,17.186 50.964,14.676 50.964,11.996 C50.964,9.31600004 49.928,6.80500004 48.048,4.92500004 C46.168,3.04500004 43.658,2.00900004 40.977,2.00900004 C38.298,2.00900004 35.787,3.04400004 33.907,4.92400004 L24.715,14.116 C24.324,14.507 23.692,14.507 23.301,14.116 C22.91,13.725 22.91,13.093 23.301,12.702 L32.493,3.51000004 C37.172,-1.17099996 44.786,-1.16899996 49.463,3.51000004 Z M26.836,40.279 C27.227,39.889 27.858,39.888 28.249,40.279 C28.64,40.67 28.64,41.302 28.249,41.693 L20.471,49.471 C18.214,51.729 15.201,52.973 11.986,52.973 C8.773,52.973 5.76,51.728 3.502,49.471 C1.244,47.214 4.156675e-13,44.201 4.156675e-13,40.987 C4.156675e-13,37.773 1.243,34.76 3.501,32.502 L14.816,21.187 C19.495,16.506 27.109,16.508 31.786,21.187 C32.177,21.578 32.177,22.21 31.786,22.601 C31.395,22.992 30.763,22.992 30.372,22.601 C26.474,18.705 20.129,18.703 16.23,22.601 L4.916,33.915 C1.018,37.814 1.018,44.159 4.916,48.057 C6.797,49.937 9.307,50.973 11.987,50.973 C14.667,50.973 17.178,49.937 19.058,48.057 L26.836,40.279 Z"\n        id="Combined-Shape"\n      ></path>\n    </svg>\n  </div>\n\n  <div class="ea-editor-file-manager-link-title">\n    {{settings.linkTabCaption || \'Import file from a Public URL\'}}\n  </div>\n\n  <div class="ea-editor-file-manager-link-input-container">\n    <input\n      id="file"\n      ng-model="url"\n      ng-change="onChange()"\n      placeholder="https://example.com/"\n      class="ea-editor-file-manager-link-input"\n    >\n  </div>\n\n  <div class="ea-editor-file-manager-actions">\n    <div class="ea-editor-file-manager-actions-item">\n      <button class="ea-editor-file-manager-actions-item-cancel hide-popup" ng-click="hidePopup()">Cancel</button>\n    </div>\n\n    <div class="ea-editor-file-manager-actions-item">\n      <button\n        class="ea-editor-file-manager-actions-item-choose"\n        ng-click="setResult(linkResult || \'\');"\n        ng-class="{\'ea-editor-file-manager-actions-item-choose-disabled\': !linkResult}"\n      >\n        {{settings.chooseButtonText}}\n      </button>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-file-manager-upload-container" ng-show="currentTab === \'upload\'">\n  <div class="ea-editor-file-manager-upload-dropzone">\n    <div class="ea-editor-file-manager-upload-content" ng-if="!uploadFiles.length">\n      <div class="ea-editor-file-manager-upload-icon">\n        <svg xmlns="http://www.w3.org/2000/svg" width="60" height="51" viewBox="0 0 60 51">\n          <path\n            d="M50.975 16.194C56.173 17.56 60 22.483 60 27.972 60 34.604 54.604 40 47.972 40H44a1 1 0 1 1 0-2h3.972C53.501 38 58 33.501 58 27.972c0-4.811-3.51-9.1-8.166-9.985-.141-.019-2.46-.334-4.684.002a1 1 0 0 1-.301-1.977c1.53-.234 3.061-.197 4.083-.125C48.262 8.135 41.828 2 34.084 2 29.388 2 24.666 4.379 21.8 8.129A8.98 8.98 0 0 1 25 15a1 1 0 1 1-2 0 6.995 6.995 0 0 0-4.119-6.372 6.86 6.86 0 0 0-.838-.322c-.033-.01-.068-.016-.102-.026a6.867 6.867 0 0 0-.792-.177c-.077-.013-.154-.026-.232-.036A6.995 6.995 0 0 0 16 8c-3.86 0-7 3.141-7 7 0 .088.007.175.012.262l.012.188-.009.175C9.008 15.751 9 15.877 9 16v.63l-.568.271C4.705 18.688 2 23 2 27.154 2 33.135 6.865 38 12.845 38H18a1 1 0 1 1 0 2h-5.155C5.762 40 0 34.237 0 27.154c0-4.755 2.857-9.506 7.016-11.773A5.318 5.318 0 0 1 7 15c0-4.963 4.038-9 9-9 .341 0 .677.023 1.007.059.103.012.203.032.305.047.231.034.459.073.683.124.118.027.233.059.349.09a8.946 8.946 0 0 1 1.566.586c.075.037.154.063.228.102C23.396 2.663 28.654 0 34.084 0c8.945 0 16.364 7.194 16.891 16.194zm-19.267 10.1l7.999 7.999a.999.999 0 1 1-1.414 1.414L32 29.414V50a1 1 0 1 1-2 0V29.414l-6.293 6.293a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414l7.999-7.999a1 1 0 0 1 1.416 0z"\n          />\n        </svg>\n      </div>\n\n      <div class="ea-editor-file-manager-upload-name" ng-if="uploadResult.name">\n        {{uploadResult.name}}\n      </div>\n\n      <div class="ea-editor-file-manager-upload-name" ng-if="!uploadResult.name">\n        Browse for a file{{control.file.multiple ? \'s\' : \'\'}} to upload\n      </div>\n\n      <div class="ea-editor-file-manager-upload-button" ng-if="!uploadResult.name" ng-click="mode === \'wpMedia\' && wpMedia.open()">\n        Select File{{control.file.multiple ? \'s\' : \'\'}}\n      </div>\n\n      <div class="ea-editor-file-manager-upload-size" ng-if="!uploadResult.name">\n        Max file size {{maxFileSize}}MB\n      </div>\n\n      <div class="ea-editor-file-manager-upload-error" ng-if="error">\n        {{error}}\n      </div>\n    </div>\n\n    <div class="ea-editor-file-manager-upload-files" ng-if="uploadFiles.length">\n      <div class="ea-editor-file-manager-upload-files-item" ng-repeat="item in uploadFiles track by $index">\n        <div class="ea-editor-file-manager-upload-files-item-name">\n          {{item.name}}\n\n          <div\n            class="ea-editor-file-manager-upload-files-item-name-done"\n            ng-class="{\'ea-editor-file-manager-upload-files-item-name-done-show\': item.progressBar >= 100}"\n          >\n            <svg\n              xmlns="http://www.w3.org/2000/svg"\n              width="20"\n              height="20"\n              viewBox="0 0 20 20"\n              class="ea-editor-file-manager-upload-files-item-name-done-icon"\n            >\n              <path d="M7 14.17L2.83 10l-1.41 1.41L7 17 19 5l-1.41-1.42L7 14.17z" />\n            </svg>\n          </div>\n        </div>\n\n        <div\n          class="ea-editor-file-manager-upload-files-item-loader"\n          ng-class="{\'ea-editor-file-manager-upload-files-item-loader-hide\': item.progressBar >= 100}"\n        >\n          <div\n            class="ea-editor-file-manager-upload-files-item-loader-inner"\n            ng-style="{\'width\': item.progressBar + \'%\'}"\n          ></div>\n        </div>\n\n        <div\n          class="ea-editor-file-manager-upload-files-item-remove"\n          ng-click="removeFile(item)"\n          ng-if="settings.multiple"\n        >\n          <svg width="8px" height="8px" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg">\n            <path\n              d="M8.41421356,7 L13.7071068,12.2928932 C14.0976311,12.6834175 14.0976311,13.3165825 13.7071068,13.7071068 C13.3165825,14.0976311 12.6834175,14.0976311 12.2928932,13.7071068 L7,8.41421356 L1.70710678,13.7071068 C1.31658249,14.0976311 0.683417511,14.0976311 0.292893219,13.7071068 C-0.0976310729,13.3165825 -0.0976310729,12.6834175 0.292893219,12.2928932 L5.58578644,7 L0.292893219,1.70710678 C-0.0976310729,1.31658249 -0.0976310729,0.683417511 0.292893219,0.292893219 C0.683417511,-0.0976310729 1.31658249,-0.0976310729 1.70710678,0.292893219 L7,5.58578644 L12.2928932,0.292893219 C12.6834175,-0.0976310729 13.3165825,-0.0976310729 13.7071068,0.292893219 C14.0976311,0.683417511 14.0976311,1.31658249 13.7071068,1.70710678 L8.41421356,7 Z"\n            ></path>\n          </svg>\n        </div>\n      </div>\n\n      <div class="ea-editor-file-manager-upload-files-add-file" ng-if="settings.multiple">\n        + Add File\n\n        <input\n          ng-if="mode !== \'wpMedia\' && uploadFiles.length"\n          type="file"\n          name="file.name"\n          id="file"\n          onchange="angular.element(this).scope().processUploadedFile(this)"\n          accept="{{settings.accept}}"\n          value=""\n          class="ea-editor-file-manager-upload-input"\n          ng-multiple="control.file.multiple"\n        >\n      </div>\n    </div>\n\n    <input\n      ng-if="mode !== \'wpMedia\' && !uploadFiles.length"\n      type="file"\n      name="file.name"\n      id="file"\n      onchange="angular.element(this).scope().processUploadedFile(this)"\n      accept="{{settings.accept}}"\n      value=""\n      class="ea-editor-file-manager-upload-input"\n      ng-multiple="control.file.multiple"\n    >\n  </div>\n\n  <div class="ea-editor-file-manager-actions" ng-if="settings.multiple">\n    <div class="ea-editor-file-manager-actions-item">\n      <button class="ea-editor-file-manager-actions-item-cancel hide-popup" ng-click="hidePopup()">Cancel</button>\n    </div>\n\n    <div class="ea-editor-file-manager-actions-item">\n      <button\n        class="ea-editor-file-manager-actions-item-choose"\n        ng-click="setResult(uploadResult || []);"\n        ng-class="{\'ea-editor-file-manager-actions-item-choose-disabled\': uploadFilesCount > 0 || uploadResult.length === 0}"\n      >\n        {{settings.chooseButtonText}}\n      </button>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-textarea ea-editor-property-control" ng-class="{\'ea-editor-property-control-textarea-fixed-min-height\': fixedMinHeight}">\n        <textarea ng-model="ngModel" ng-model-options="{ debounce: 300 }" ng-blur="setDefaultValueIfEmpty()"></textarea>\n    </div>\n</div>'},function(e,t,o){var n,i;
void 0===(i="function"==typeof(n=function(e,t){"use strict";var o="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(o){return t[e.indexOf(o)]},set:function(o,n){-1===e.indexOf(o)&&(e.push(o),t.push(n))},delete:function(o){var n=e.indexOf(o);n>-1&&(e.splice(n,1),t.splice(n,1))}}}(),n=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){n=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function i(e){var t=o.get(e);t&&t.destroy()}function r(e){var t=o.get(e);t&&t.update()}var a=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((a=function(e){return e}).destroy=function(e){return e},a.update=function(e){return e}):((a=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t=null,i=null,r=null,a=function(){e.clientWidth!==i&&d()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(o){e.style[o]=t[o]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:s,update:d}),function(){var o=window.getComputedStyle(e,null);"vertical"===o.resize?e.style.resize="none":"both"===o.resize&&(e.style.resize="horizontal"),t="content-box"===o.boxSizing?-(parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)):parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),isNaN(t)&&(t=0),d()}()}function l(t){var o=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=o,e.style.overflowY=t}function c(){if(0!==e.scrollHeight){var o=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),n=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",i=e.clientWidth,o.forEach((function(e){e.node.scrollTop=e.scrollTop})),n&&(document.documentElement.scrollTop=n)}}function d(){c();var t=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i<t?"hidden"===o.overflowY&&(l("scroll"),c(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(l("hidden"),c(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),r!==i){r=i;var a=n("autosize:resized");try{e.dispatchEvent(a)}catch(e){}}}}(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e},a.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e}),t.default=a,e.exports=t.default})?n.apply(t,[e,t]):n)||(e.exports=i)},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-number ea-editor-property-control">\n        <input ng-model="ngModel" ng-model-options="{ debounce: 300 }" type="number" ng-blur="setDefaultValueIfEmpty()" min="{{control.number.min}}" max="{{control.number.max}}">\n    </div>\n</label>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" ng-if="control.name" editor-hint="control.description">{{control.name}}</div>\n\n    <div class="ea-editor-property-control-static-html ea-editor-property-control">\n        <div class="ea-editor-property-control-static-html-content"\n             ng-if="control.staticHtml && control.staticHtml.content"\n             ng-bind-html="toTrustedHTML(control.staticHtml.content)">\n        </div>\n    </div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" ng-if="control.name" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div\n    class="ea-editor-property-control-select ea-editor-property-control"\n    ng-class="{\'ea-editor-property-control-select-readonly\': readonly, \'ea-editor-property-control-select-open\': show}"\n  >\n    <input\n      class="ea-editor-property-control-select-input" type="text" ng-click="showOptions()"\n      ng-value="currentValue.name || currentValue.displayName || currentValue || ngModel" ng-readonly="readonly"\n    >\n\n    <div class="ea-editor-property-control-select-dropdown" ng-if="show">\n      <div class="ea-editor-property-control-select-dropdown-options">\n        <div\n          class="ea-editor-property-control-select-dropdown-options-item"\n          ng-repeat="option in control.select.options track by $index"\n          ng-click="setValue(option, $event)"\n          ng-class="{\'ea-editor-property-control-select-dropdown-options-item-selected\': option.name === currentValue.name || option.name === currentValue}"\n        >\n          {{option.name || option.displayName}}\n        </div>\n      </div>\n\n      <div class="ea-editor-property-control-select-dropdown-footer" ng-if="addSource">\n        <div\n          class="ea-editor-property-control-select-dropdown-footer-new-toggle" ng-click="newSourceToggle()" translate\n        >\n          + Add New {{ control.name }}\n        </div>\n\n        <div class="ea-editor-property-control-select-dropdown-footer-new" ng-show="newSourceShow">\n          <input\n            class="ea-editor-property-control-select-dropdown-footer-new-input" type="text" ng-model="newSource"\n            placeholder="{{ control.name }} name"\n          >\n\n          <div\n            class="ea-editor-property-control-select-dropdown-footer-new-button" ng-click="addNewSource(newSource)"\n            translate\n          >\n            Add\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</label>\n'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-select-inline ea-editor-property-control">\n        <div class="ea-editor-property-control-select-inline-wrapper">\n            <label class="ea-editor-property-control-select-inline-item" ng-repeat="option in control.selectInline.options">\n                <input class="ea-editor-property-control-select-inline-item-radio" ng-model="$parent.ngModel" type="radio" ng-value="option.value">\n\n                <span class="ea-editor-property-control-select-inline-item-label">{{option.name}}</span>\n            </label>\n        </div>\n    </div>\n</div>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-select-visual-control ea-editor-property-control" ng-click="openSelectVisual()">\n        <div class="ea-editor-select-visual-control-image-container">\n            <img src="{{selected.img}}" alt="" class="ea-editor-select-visual-control-image">\n        </div>\n\n        <div class="ea-editor-select-visual-control-name">\n            {{selected.name}}\n        </div>\n\n        <div class="ea-editor-select-visual-control-trigger">\n            <div class="ea-editor-select-visual-control-trigger-arrow">\n                <svg width="6px" height="10px" viewBox="0 0 6 10" fill="#c2c6ca" focusable="false">\n                    <path d="M5.71,4.286L1.727,0.302c-0.39-0.392-1.023-0.392-1.414,0c-0.39,0.39-0.39,1.023,0,1.414L3.59,4.992\n\t                L0.289,8.284c-0.39,0.39-0.39,1.025,0,1.415c0.39,0.39,1.023,0.39,1.414,0l4.008-4C6.101,5.309,6.101,4.675,5.71,4.286z"></path>\n                </svg>\n            </div>\n        </div>\n    </div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-select-icons-control ea-editor-property-control" ng-click="openSelectIcon()">\n        <div class="ea-editor-select-icons-control-image-container">\n            <img src="{{selected.img}}" alt="" class="ea-editor-select-icons-control-image">\n        </div>\n\n        <div class="ea-editor-select-icons-control-name">\n            {{selected.name}}\n        </div>\n\n        <div class="ea-editor-select-icons-control-trigger">\n            <div class="ea-editor-select-icons-control-trigger-arrow">\n                <svg width="6px" height="10px" viewBox="0 0 6 10" fill="#c2c6ca" focusable="false">\n                    <path d="M5.71,4.286L1.727,0.302c-0.39-0.392-1.023-0.392-1.414,0c-0.39,0.39-0.39,1.023,0,1.414L3.59,4.992\n\t                L0.289,8.284c-0.39,0.39-0.39,1.025,0,1.415c0.39,0.39,1.023,0.39,1.414,0l4.008-4C6.101,5.309,6.101,4.675,5.71,4.286z"></path>\n                </svg>\n            </div>\n        </div>\n    </div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-select-user-control ea-editor-property-control" ng-click="openSelectVisual()">\n        <div class="ea-editor-select-user-control-image-container">\n            <div class="ea-editor-select-user-control-image" style="background-image: url(\'{{selected.photo || ngModel.photo}}\')"></div>\n        </div>\n\n        <div class="ea-editor-select-user-control-trigger">\n            <div class="ea-editor-select-user-control-trigger-arrow">\n                <svg width="6px" height="10px" viewBox="0 0 6 10" fill="#c2c6ca" focusable="false">\n                    <path d="M5.71,4.286L1.727,0.302c-0.39-0.392-1.023-0.392-1.414,0c-0.39,0.39-0.39,1.023,0,1.414L3.59,4.992\n\t                L0.289,8.284c-0.39,0.39-0.39,1.025,0,1.415c0.39,0.39,1.023,0.39,1.414,0l4.008-4C6.101,5.309,6.101,4.675,5.71,4.286z"></path>\n                </svg>\n            </div>\n        </div>\n    </div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-tags ea-editor-property-control">\n        <input class="ea-editor-property-control-tags-input" type="text" ng-model="newTag" placeholder="{{control.tags.placeholder}}">\n\n        <div class="ea-editor-property-control-tags-wrapper" sv-root>\n            <div class="ea-editor-property-control-tags-list" sv-part="ngModel">\n                <div class="ea-editor-property-control-tags-item" sv-element ng-repeat="(key, value) in ngModel">\n                    <div class="ea-editor-property-control-tags-item-label" sv-handle title="{{value}}">{{value}}</div>\n                    <div class="ea-editor-property-control-tags-item-remove" ng-click="removeTag(key)">\n                        <svg width="8px" height="8px" viewBox="0 0 8 8" fill="#fff" focusable="false">\n                            <path fill="#fff" d="M4.708,4l3.146-3.146c0.195-0.195,0.195-0.511,0-0.708c-0.196-0.195-0.513-0.195-0.708,0L4,3.292\n                                L0.854,0.146c-0.195-0.195-0.511-0.195-0.708,0c-0.195,0.196-0.195,0.513,0,0.708L3.292,4L0.146,7.146\n                                c-0.195,0.195-0.195,0.511,0,0.708c0.196,0.195,0.513,0.195,0.708,0L4,4.708l3.146,3.146c0.195,0.195,0.511,0.195,0.708,0\n                                c0.195-0.196,0.195-0.513,0-0.708L4.708,4z"></path>\n                        </svg>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</label>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <label for="ea-editor-control-{{control.id}}" class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</label>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="toTrustedHTML(control.captionTrusted)"></div>\n\n    <div class="ea-editor-property-control-toggle ea-editor-property-control" ng-class="{ \'ea-editor-property-control-toggle-on\': ngModel }">\n        <label class="ea-editor-property-control-toggle-wrapper">\n            <span class="ea-editor-property-control-toggle-before" translate>On</span>\n            <span class="ea-editor-property-control-toggle-inner">\n                <input id="ea-editor-control-{{control.id}}" type="checkbox" ng-model="ngModel" ng-checked="ngModel">\n            </span>\n            <span class="ea-editor-property-control-toggle-after" translate>Off</span>\n        </label>\n    </div>\n</div>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div class="ea-editor-property-control-checklist ea-editor-property-control">\n    <label\n      class="ea-editor-property-control-checklist-item" ng-repeat="option in control.checklist.options"\n      ng-style="widthStyle"\n    >\n      <div class="ea-editor-property-control-checklist-checkbox-wrapper">\n        <input\n          type="checkbox"\n          ng-value="option.value"\n          ng-checked="ngModel.indexOf(option.value) !== -1"\n          ng-click="checkboxClick(option.value, ngModel.indexOf(option.value) !== -1)"\n        >\n\n        <span class="ea-editor-property-control-checklist-checkbox"></span>\n      </div>\n\n      <span class="ea-editor-property-control-checklist-item-label">{{option.name}}</span>\n    </label>\n  </div>\n</div>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-color ea-editor-property-control">\n        <color-picker ng-model="ngModel" options="options" event-api="eventApi"></color-picker>\n    </div>\n</label>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="toTrustedHTML(control.captionTrusted)"></div>\n\n    <div class="ea-editor-property-control-slider ea-editor-property-control">\n        <div class="ea-editor-property-control-slider-labels" ng-if="options.labels">\n            <div class="ea-editor-property-control-slider-labels-item-left ea-editor-property-control-slider-labels-item">{{options.labels.right}}</div>\n\n            <div class="ea-editor-property-control-slider-labels-item-right ea-editor-property-control-slider-labels-item">{{options.labels.left}}</div>\n        </div>\n\n        <rzslider rz-slider-model="ngModel"\n                  rz-slider-options="options"\n        ></rzslider>\n    </div>\n</label>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div\n    class="ea-editor-property-control-complex ea-editor-property-control" sv-root\n    sv-enabled="control.complex.reorderAction !== false"\n  >\n    <div class="ea-editor-property-control-complex-list" sv-part="ngModel">\n      <div sv-placeholder class="ea-editor-property-control-complex-item-placeholder"></div>\n\n      <div\n        class="ea-editor-property-control-complex-item" ng-repeat="(key, item) in ngModel"\n        ng-click="openSub(item)" sv-element\n        ng-class="{ \'ea-editor-property-control-complex-item-removing\': itemsToRemove.indexOf(key) > -1 }"\n      >\n        <div class="ea-editor-property-control-complex-item-inner" ng-if="item.visible !== false">\n          <div\n            class="ea-editor-property-control-complex-item-reorder" ng-click="reorderClick($event)"\n            ng-if="control.complex.reorderAction !== false"\n            sv-handle\n            title="Reorder"\n          >\n            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 14" focusable="false">\n              <path d="M1,4c0.6,0,1,0.4,1,1S1.6,6,1,6S0,5.6,0,5S0.4,4,1,4L1,4z" />\n              <path d="M1,0c0.6,0,1,0.4,1,1S1.6,2,1,2S0,1.6,0,1S0.4,0,1,0L1,0z" />\n              <path d="M1,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S0,9.6,0,9S0.4,8,1,8L1,8z" />\n              <path d="M1,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S0.4,12,1,12L1,12z" />\n              <path d="M6,0c0.6,0,1,0.4,1,1S6.6,2,6,2S5,1.6,5,1S5.4,0,6,0L6,0z" />\n              <path d="M6,4c0.6,0,1,0.4,1,1S6.6,6,6,6S5,5.6,5,5S5.4,4,6,4L6,4z" />\n              <path d="M6,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S5,9.6,5,9S5.4,8,6,8L6,8z" />\n              <path d="M6,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S5.4,12,6,12L6,12z" />\n            </svg>\n          </div>\n\n          <div\n            class="ea-editor-property-control-complex-item-preview"\n            style="background-image: url(\'{{getItemPreview(item)}}\');"\n            ng-if="getItemPreview(item)"\n          ></div>\n\n          <div class="ea-editor-property-control-complex-item-name" title="{{getItemName(item)}}">\n            {{getItemName(item)}}\n          </div>\n\n          <div\n            class="ea-editor-property-control-complex-item-duplicate"\n            ng-show="control.complex.duplicateAction !== false" title="{{\'Duplicate item\'|translate}}"\n            ng-click="duplicateItem(item, $event)"\n            ng-if="!control.complex.limit || (!!control.complex.limit && control.complex.limit > 0 && ngModel.length + 1 <= control.complex.limit)"\n          >\n            <svg viewBox="0 0 12 12" focusable="false">\n              <path\n                d="M11.3,0H3.8C3.3,0,3,0.3,3,0.8V3H0.8C0.3,3,0,3.3,0,3.8v7.5C0,11.7,0.3,12,0.8,12h7.5C8.7,12,9,11.7,9,11.3V9h2.3\n                  C11.7,9,12,8.7,12,8.3V0.8C12,0.3,11.7,0,11.3,0z M7.9,10.9H1.1V4.1H3v4.1C3,8.7,3.3,9,3.8,9h4.1V10.9z M10.9,7.9H4.1V1.1h6.8\n                  V7.9z"\n              />\n            </svg>\n          </div>\n\n          <div\n            class="ea-editor-property-control-complex-item-remove"\n            ng-show="control.complex.removeAction !== false" title="{{\'Remove item\'|translate}}"\n            ng-click="showRemoveConfirm(key, $event)"\n          >\n            <svg viewBox="0 0 753.2 753.2" focusable="false">\n              <g>\n                <path\n                  d="M647.3,117.7H517.8V47.1c0-26-21.1-47.1-47.1-47.1H282.5c-26,0-47.1,21.1-47.1,47.1v70.6H105.9\n                    c-19.5,0-35.3,15.8-35.3,35.3s15.8,35.3,35.3,35.3h11.8v517.8c0,26,21.1,47.1,47.1,47.1h423.7c26,0,47.1-21.1,47.1-47.1V188.3\n                    h11.8c19.5,0,35.3-15.8,35.3-35.3C682.6,133.5,666.8,117.7,647.3,117.7z M306,70.6h141.2v47.1H306V70.6z M564.9,682.6H188.3\n                    V188.3h376.6V682.6z"\n                />\n              </g>\n              <path\n                d="M290,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H290c-13,0-23.7,10.6-23.7,23.7v316.9\n                  C266.3,606.8,277,617.4,290,617.4z"\n              />\n              <path\n                d="M441,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H441c-13,0-23.7,10.6-23.7,23.7v316.9\n                  C417.3,606.8,428,617.4,441,617.4z"\n              />\n            </svg>\n          </div>\n        </div>\n\n        <div class="ea-editor-property-control-complex-item-remove-confirm">\n          <div class="ea-editor-property-control-complex-item-remove-confirm-label" translate>Are you sure you want to remove?\n          </div>\n\n          <div class="ea-editor-property-control-complex-item-remove-confirm-actions">\n            <div\n              class="ea-editor-property-control-complex-item-remove-confirm-actions-yes"\n              ng-click="removeItem(key, $event)" translate\n            >Yes\n            </div>\n            <div\n              class="ea-editor-property-control-complex-item-remove-confirm-actions-no"\n              ng-click="hideRemoveConfirm(key, $event)" translate\n            >No\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <div\n      class="ea-editor-property-control-complex-add-new ea-editor-property-control-complex-item"\n      ng-show="control.complex.addAction !== false"\n      ng-class="{\n        \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length,\n        \'ea-editor-property-control-complex-add-new-disable\': !!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit\n       }"\n      ng-click="openSub()"\n    >\n\n      <div class="ea-editor-property-control-complex-item-inner">\n        <svg viewBox="1 1 10 10" focusable="false">\n          <path\n            d="M9.987,4.999H7V2.013C7,1.454,6.552,1,6,1S5,1.454,5,2.013v2.986H2.013C1.453,4.999,1,5.449,1,6.001\n              s0.453,1,1.012,1H5v2.987C5,10.548,5.448,11,6,11s1-0.453,1-1.012V7.001h2.987c0.559,0,1.012-0.448,1.012-1\n              S10.547,4.999,9.987,4.999z"\n          ></path>\n        </svg>\n\n        <span class="ea-editor-property-control-complex-add-new-label" translate>Add</span>\n      </div>\n    </div>\n\n    <div\n      class="ea-editor-property-control-complex-limit-exceed"\n      ng-show="control.complex.addAction !== false"\n      ng-class="{ \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length }"\n      ng-if="!!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit"\n    >\n\n      <div\n        class="ea-editor-property-control-complex-item-inner"\n        ng-bind-html="toTrustedHTML(control.complex.limitExceedHtml)"\n      ></div>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-complex ea-editor-property-control" sv-root>\n        <div class="ea-editor-property-control-complex-list" sv-part="ngModel">\n            <div sv-placeholder class="ea-editor-property-control-complex-item-placeholder"></div>\n\n            <div class="ea-editor-property-control-complex-item" ng-repeat="(key, item) in ngModel"\n                 ng-click="openSub(item)" sv-element\n                 ng-class="{ \'ea-editor-property-control-complex-item-removing\': itemsToRemove.indexOf(key) > -1 }"\n                >\n                <div class="ea-editor-property-control-complex-item-inner">\n                    <div class="ea-editor-property-control-complex-item-reorder" \n                        ng-click="reorderClick($event)"\n                        title="Reorder"\n                        sv-handle\n                    >\n                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 14" focusable="false">\n                            <path d="M1,4c0.6,0,1,0.4,1,1S1.6,6,1,6S0,5.6,0,5S0.4,4,1,4L1,4z"/>\n                            <path d="M1,0c0.6,0,1,0.4,1,1S1.6,2,1,2S0,1.6,0,1S0.4,0,1,0L1,0z"/>\n                            <path d="M1,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S0,9.6,0,9S0.4,8,1,8L1,8z"/>\n                            <path d="M1,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S0.4,12,1,12L1,12z"/>\n                            <path d="M6,0c0.6,0,1,0.4,1,1S6.6,2,6,2S5,1.6,5,1S5.4,0,6,0L6,0z"/>\n                            <path d="M6,4c0.6,0,1,0.4,1,1S6.6,6,6,6S5,5.6,5,5S5.4,4,6,4L6,4z"/>\n                            <path d="M6,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S5,9.6,5,9S5.4,8,6,8L6,8z"/>\n                            <path d="M6,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S5.4,12,6,12L6,12z"/>\n                        </svg>\n                    </div>\n\n                    <div class="ea-editor-property-control-complex-item-icon" title="{{names[item.type]}}">\n                        <img ng-src="{{icons[item.type]}}" alt="">\n                    </div>\n\n                    <div class="ea-editor-property-control-complex-item-name" title="{{getItemName(item)}}">\n                        {{getItemName(item)}}\n                    </div>\n\n                    <div class="ea-editor-property-control-complex-item-duplicate"\n                         ng-show="control.complex.duplicateAction !== false" title="{{\'Duplicate item\'|translate}}"\n                         ng-click="duplicateItem(item, $event)"\n                         ng-if="!control.complex.limit || (!!control.complex.limit && control.complex.limit > 0 && ngModel.length + 1 <= control.complex.limit)">\n                        <svg viewBox="0 0 12 12" focusable="false">\n\n                            <g>\n                                <path d="M11.3,0H3.8C3.3,0,3,0.3,3,0.8V3H0.8C0.3,3,0,3.3,0,3.8v7.5C0,11.7,0.3,12,0.8,12h7.5C8.7,12,9,11.7,9,11.3V9h2.3\n                        C11.7,9,12,8.7,12,8.3V0.8C12,0.3,11.7,0,11.3,0z M7.9,10.9H1.1V4.1H3v4.1C3,8.7,3.3,9,3.8,9h4.1V10.9z M10.9,7.9H4.1V1.1h6.8\n                        V7.9z"/>\n                            </g>\n                        </svg>\n                    </div>\n\n                    <div class="ea-editor-property-control-complex-item-remove"\n                         ng-show="control.complex.removeAction !== false" title="{{\'Remove item\'|translate}}"\n                         ng-click="showRemoveConfirm(key, $event)">\n                        <svg viewBox="0 0 753.2 753.2" focusable="false">\n                            <g>\n                                <path d="M647.3,117.7H517.8V47.1c0-26-21.1-47.1-47.1-47.1H282.5c-26,0-47.1,21.1-47.1,47.1v70.6H105.9\n\t\t\t\t        c-19.5,0-35.3,15.8-35.3,35.3s15.8,35.3,35.3,35.3h11.8v517.8c0,26,21.1,47.1,47.1,47.1h423.7c26,0,47.1-21.1,47.1-47.1V188.3\n\t\t\t\t        h11.8c19.5,0,35.3-15.8,35.3-35.3C682.6,133.5,666.8,117.7,647.3,117.7z M306,70.6h141.2v47.1H306V70.6z M564.9,682.6H188.3\n\t\t\t\t        V188.3h376.6V682.6z"/>\n                            </g>\n                            <path d="M290,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H290c-13,0-23.7,10.6-23.7,23.7v316.9\n\t                    C266.3,606.8,277,617.4,290,617.4z"/>\n                            <path d="M441,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H441c-13,0-23.7,10.6-23.7,23.7v316.9\n\t                    C417.3,606.8,428,617.4,441,617.4z"/>\n                        </svg>\n                    </div>\n                </div>\n\n                <div class="ea-editor-property-control-complex-item-remove-confirm">\n                    <div class="ea-editor-property-control-complex-item-remove-confirm-label" translate>Are you sure you want to remove?</div>\n\n                    <div class="ea-editor-property-control-complex-item-remove-confirm-actions">\n                        <div class="ea-editor-property-control-complex-item-remove-confirm-actions-yes"\n                             ng-click="removeItem(key, $event)" translate>Yes</div>\n                        <div class="ea-editor-property-control-complex-item-remove-confirm-actions-no"\n                             ng-click="hideRemoveConfirm(key, $event)" translate>No</div>\n                    </div>\n                </div>\n            </div>\n        </div>\n\n        <div class="ea-editor-property-control-complex-add-new ea-editor-property-control-complex-item"\n             ng-show="control.complex.addAction !== false"\n             ng-class="{\n                 \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length,\n                 \'ea-editor-property-control-complex-add-new-disable\': !!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit\n             }"\n             ng-click="openSub()">\n\n            <div class="ea-editor-property-control-complex-item-inner">\n                <svg viewBox="1 1 10 10" focusable="false">\n                    <path d="M9.987,4.999H7V2.013C7,1.454,6.552,1,6,1S5,1.454,5,2.013v2.986H2.013C1.453,4.999,1,5.449,1,6.001\n                    s0.453,1,1.012,1H5v2.987C5,10.548,5.448,11,6,11s1-0.453,1-1.012V7.001h2.987c0.559,0,1.012-0.448,1.012-1\n                    S10.547,4.999,9.987,4.999z"></path>\n                </svg>\n\n                <span class="ea-editor-property-control-complex-add-new-label" translate>Add</span>\n            </div>\n        </div>\n\n        <div class="ea-editor-property-control-complex-limit-exceed"\n             ng-show="control.complex.addAction !== false"\n             ng-class="{ \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length }"\n             ng-if="!!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit">\n\n            <div class="ea-editor-property-control-complex-item-inner"\n                 ng-bind-html="toTrustedHTML(control.complex.limitExceedHtml)"></div>\n        </div>\n    </div>\n</div>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-control-subgroup ea-editor-property-control" ng-click="openSub()">\n        <div class="ea-editor-property-control-subgroup-name">\n            {{control.name}}\n        </div>\n\n        <div class="ea-editor-property-control-subgroup-icon">\n            <svg width="12" height="12" viewBox="0 0 12 12">\n                <path class="cls-1" d="M4.566,2.256L8.317,5.7a0.512,0.512,0,0,1,0,.785,0.681,0.681,0,0,1-.883,0L3.683,3.041a0.512,0.512,0,0,1,0-.785A0.681,0.681,0,0,1,4.566,2.256ZM3.683,9.146L7.433,5.7a0.68,0.68,0,0,1,.883,0,0.512,0.512,0,0,1,0,.785L4.566,9.931a0.681,0.681,0,0,1-.883,0A0.512,0.512,0,0,1,3.683,9.146Z"/>\n            </svg>\n        </div>\n    </div>\n</label>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-control-radio ea-editor-property-control">\n        <div class="ea-editor-property-control-radio-wrapper">\n            <label class="ea-editor-property-control-radio-item" ng-repeat="option in control.radio.options">\n                <span class="ea-editor-property-control-radio-item-label">{{option.name}}</span>\n\n                <div class="ea-editor-property-control-radio-item-radio-wrapper">\n                    <input class="ea-editor-property-control-radio-item-input" ng-model="$parent.ngModel" type="radio" ng-value="option.value">\n                    <span class="ea-editor-property-control-radio-item-radio"></span>\n                </div>\n            </label>\n        </div>\n    </div>\n</div>'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n    <div class="ea-editor-property-control-divider ea-editor-property-control"></div>\n</div>'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="toTrustedHTML(control.captionTrusted)"></div>\n\n    <div class="ea-editor-property-control-text ea-editor-property-control-datepicker ea-editor-property-control">\n        <div ng-if="showBtn" class="ea-editor-property-control-text-button" translate>Apply</div>\n\n        <ng-flatpickr\n                fp-opts="dateOpts"\n                fp-on-setup="datePostSetup({fpItem: fpItem})">\n        </ng-flatpickr>\n    </div>\n</label>\n'},function(e,t){e.exports='<div class="ea-editor-property-inner ea-editor-property-control-token-state-{{state}}"\n       ng-class="{\'ea-editor-twitter-feed-token-control-loading\': loading}">\n    <div class="ea-editor-property-control-token-wrapper">\n        <div class="ea-editor-property-label ea-editor-property-control-token-label" editor-hint="control.description">{{control.name}}</div>\n\n        <div class="ea-editor-property-caption ea-editor-property-control-token-caption">\n            <span ng-if="state === \'connected\'" translate>You widget is successfully connected to {{title}}. You can continue customization.</span>\n            <span ng-if="state === \'connect\'" ng-bind-html="control.captionTrusted"></span>\n        </div>\n\n        <span class="ea-editor-property-control-token-status">\n            <span ng-if="state === \'connected\'" translate>Connected</span>\n            <span ng-if="state === \'connect\'" translate>Disconnected</span>\n        </span>\n    </div>\n\n    <div class="ea-editor-property-control-token ea-editor-property-control">\n        <div class="ea-editor-property-control-token-button-container">\n            <button ng-click="processToken()" class="ea-editor-property-control-token-button ea-editor-property-control-token-button-type-{{provider}}">\n                <span class="ea-editor-property-control-token-button-icon" ng-if="control.token.icon && provider && state === \'connect\'">\n                    <img ng-src="{{icon}}">\n                </span>\n\n                <span class="ea-editor-property-control-token-button-label">\n                    <span ng-if="state === \'connect\'" translate>Connect to {{title}}</span>\n                    <span ng-if="state === \'connected\'" translate>Disconnect</span>\n                </span>\n            </button>\n        </div>\n\n        <div class="ea-editor-property-control-token-error" ng-if="!!error" translate>An error was received while authorization. Please, try to reconnect.</div>\n    </div>\n</div>\n'},function(e,t){e.exports='<div class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div class="ea-editor-property-control-localization-wrapper"\n       ng-class="languagesLoading ? \'\' : \'ea-editor-property-control-localization-loaded\'">\n    <div class="ea-editor-property-control-localization-inner">\n      <div class="ea-editor-property-control-localization-messages-item-label">\n        Language\n      </div>\n      <div\n        class="ea-editor-property-control-select ea-editor-property-control-select-readonly ea-editor-property-control"\n      >\n        <input\n          class="ea-editor-property-control-select-input" ng-click="toggleLanguagesSelect()"\n          ng-value="language.name" ng-readonly="true"\n        >\n\n        <div class="ea-editor-property-control-select-dropdown" ng-if="showLanguagesSelect">\n          <div class="ea-editor-property-control-select-dropdown-options">\n            <div\n              class="ea-editor-property-control-select-dropdown-options-item"\n              ng-repeat="item in languages track by $index"\n              ng-click="setLanguage(item)"\n              ng-class="{\'ea-editor-property-control-select-dropdown-options-item-selected\': item.value === language.value}"\n            >\n              {{item.name}}\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n    <div class="ea-editor-property-control-localization-loader"></div>\n  </div>\n\n  <div class="ea-editor-property-control-localization-wrapper"\n       ng-class="messagesLoading ? \'\' :  \'ea-editor-property-control-localization-loaded\'">\n    <div class="ea-editor-property-control-localization-inner">\n      <div class="ea-editor-property-control-divider"></div>\n\n      <div class="ea-editor-property-control-localization-messages">\n        <div class="ea-editor-property-control-localization-messages-title" translate>\n          Use the options below to translate your widget into your language or customize some messages\n        </div>\n        <label\n          class="ea-editor-property-control-localization-messages-item"\n          ng-repeat="item in messages track by $index"\n        >\n          <div class="ea-editor-property-control-localization-messages-item-label">\n            {{item.phrase}}\n          </div>\n          <div\n            class="ea-editor-property-control-text ea-editor-property-control"\n          >\n            <input\n              ng-model="item.translation"\n              ng-model-options="{ updateOn: \'default\', debounce: 300 }"\n              ng-change="setMessage(item)"\n              data-ng-trim="false"\n            >\n          </div>\n        </label>\n      </div>\n    </div>\n  </div>\n</div>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner" ng-show="show">\n    <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n    <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n    <div class="ea-editor-property-google-sheet-connect ea-editor-property-google-sheet-connect-{{status}}" ng-class="loading ? \'ea-editor-property-google-sheet-connect-loading\' : \'\'">\n        <svg height="40" width="40" class="ea-editor-property-google-sheet-connect-icon">\n            <path fill="#0F9D58" d="M9.5 2H24l9 9v24.5c0 1.3807119-1.1192881 2.5-2.5 2.5h-21C8.11928813 38 7 36.8807119 7 35.5v-31C7 3.11928813 8.11928813 2 9.5 2z"/><path fill="#263238" fill-opacity=".1" d="M7 35c0 1.3807119 1.11928813 2.5 2.5 2.5h21c1.3807119 0 2.5-1.1192881 2.5-2.5v.5c0 1.3807119-1.1192881 2.5-2.5 2.5h-21C8.11928813 38 7 36.8807119 7 35.5V35z"/><path fill="#FFF" fill-opacity=".2" d="M9.5 2H24v.5H9.5C8.11928813 2.5 7 3.61928813 7 5v-.5C7 3.11928813 8.11928813 2 9.5 2z"/><path fill="url(#a)" fill-rule="nonzero" d="M17.5 8l8.5 8.5V9" transform="translate(7 2)"/><path fill="#87CEAC" d="M24 2l9 9h-6.5C25.1192881 11 24 9.88071187 24 8.5V2z"/><path fill="#F1F1F1" d="M13 18h14v14H13V18zm2 2v2h4v-2h-4zm0 4v2h4v-2h-4zm0 4v2h4v-2h-4zm6-8v2h4v-2h-4zm0 4v2h4v-2h-4zm0 4v2h4v-2h-4z"/><path fill="url(#b)" fill-opacity=".1" d="M2.5 0H17l9 9v24.5c0 1.3807119-1.1192881 2.5-2.5 2.5h-21C1.11928813 36 0 34.8807119 0 33.5v-31C0 1.11928813 1.11928813 0 2.5 0z" transform="translate(7 2)"/>\n        </svg>\n\n        <div ng-show="status === \'connected\'">\n            <div class="ea-editor-property-google-sheet-connect-status">{{sheetTitle}}</div>\n            <div class="ea-editor-property-google-sheet-connect-link" ng-show="!!ngModel">\n                <a href="https://docs.google.com/spreadsheets/d/{{ngModel}}" target="_blank" translate>Open connected Google Sheet</a>\n            </div>\n        </div>\n\n        <div ng-show="status === \'disconnected\'">\n            <div class="ea-editor-property-google-sheet-connect-status" translate>Disconnected</div>\n        </div>\n\n        <div class="ea-editor-property-google-sheet-connect-loader"></div>\n    </div>\n\n\n    <div class="ea-editor-property-error" ng-if="!!error">{{error}}</div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div ng-if="!loading">\n      <div class="ea-editor-property-control-facebook-page-select ea-editor-property-control-select-readonly ea-editor-property-control" ng-if="hasPermission && control.custom.options.length > 0" ng-class="{\'ea-editor-property-control-select-open\': show}">\n          <input type="text" ng-click="showOptions()" ng-value="ngModel.name || ngModel" readonly>\n\n          <div class="ea-editor-property-control-facebook-page-select-dropdown" ng-if="show">\n              <div class="ea-editor-property-control-facebook-page-select-dropdown-options">\n                  <div class="ea-editor-property-control-facebook-page-select-dropdown-options-item"\n                      ng-repeat="option in control.custom.options"\n                      ng-click="setValue(option, $event)"\n                      ng-class="{\'ea-editor-property-control-facebook-page-select-dropdown-options-item-selected\': option.name === ngModel.name || option.name === ngModel}">\n                      {{option.name}}\n                  </div>\n              </div>\n          </div>\n      </div>\n\n      <div class="ea-editor-property-control-facebook-page-select-no-permission" ng-if="!hasPermission" translate>Please, check all the permissions during authorization to access your Facebook pages.</div>\n  </div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n  <div class="ea-editor-property-label" editor-hint="control.description">{{control.name}}</div>\n  <div class="ea-editor-property-caption" ng-if="control.captionTrusted" ng-bind-html="control.captionTrusted"></div>\n\n  <div ng-if="!loading">\n    <div class="ea-editor-property-control-instagram-connected-account-select ea-editor-property-control-select-readonly ea-editor-property-control" ng-if="hasPermission && hasAccount && options.length > 0" ng-class="{\'ea-editor-property-control-select-open\': show}">\n      <input type="text" ng-click="showOptions()" ng-value="displayValue" readonly>\n\n      <div class="ea-editor-property-control-instagram-connected-account-select-dropdown" ng-if="show">\n        <div class="ea-editor-property-control-instagram-connected-account-select-dropdown-options">\n          <div class="ea-editor-property-control-instagram-connected-account-select-dropdown-options-item"\n               ng-repeat="option in options"\n               ng-click="setValue(option, $event)"\n               ng-class="{\'ea-editor-property-control-instagram-connected-account-select-dropdown-options-item-selected\': option.name === ngModel.name || option.name === ngModel}">\n            @{{option.username}}\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <div class="ea-editor-property-control-instagram-connected-account-select-error" ng-if="!hasAccount" translate>The pages you’ve authorized don’t have a connected Instagram Business Account.</div>\n    <div class="ea-editor-property-control-instagram-connected-account-select-error" ng-if="!hasPermission" translate>Please, check all the permissions during authorization to access your connected Instagram Business Account.</div>\n  </div>\n</label>\n\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label ea-editor-property-elfsight-reviews-source-label" editor-hint="control.description">\n        {{control.name}}\n\n        <div class="ea-editor-property-elfsight-reviews-source-label-status" ng-if="sourceCollectingInfo">\n            <div class="ea-editor-property-elfsight-reviews-source-label-status-label">\n                <span ng-if="sourceCollectingInfo.collectingStatus === \'pending\'">\n                    <span translate>Collecting reviews</span>&nbsp;<strong>({{sourceCollectingInfo.collectingPercentage}}%)</strong>\n                </span>\n\n                <span ng-if="sourceCollectingInfo.collectingStatus === \'complete\'" translate>\n                    Reviews collected\n                </span>\n            </div>\n        </div>\n    </div>\n\n    <div class="ea-editor-property-caption" ng-if="control.caption">{{control.caption}}</div>\n\n    <div class="ea-editor-property-control-text ea-editor-property-control">\n        <div ng-click="applyPlaceUrl()" class="ea-editor-property-control-text-button" ng-class="{\'ea-editor-property-control-text-button-loading\': collectingInProgress}">\n            <span class="ea-editor-property-control-text-button-label" translate>Apply</span>\n            <span class="ea-editor-property-control-text-button-loader"></span>\n        </div>\n\n        <input ng-model="placeUrl" type="text">\n    </div>\n\n    <div class="ea-editor-property-error" ng-if="errorMessage">{{errorMessage}}</div>\n\n    <div class="ea-editor-property-recaptcha"></div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label ea-editor-property-elfsight-reviews-source-label" editor-hint="control.description">\n        {{control.name}}\n\n        <div class="ea-editor-property-elfsight-reviews-source-label-status" ng-if="sourceCollectingInfo">\n            <div class="ea-editor-property-elfsight-reviews-source-label-status-label">\n                <span ng-if="sourceCollectingInfo.collectingStatus === \'pending\'">\n                    <span translate>Collecting reviews</span>&nbsp;<strong>({{sourceCollectingInfo.collectingPercentage}}%)</strong>\n                </span>\n\n                <span ng-if="sourceCollectingInfo.collectingStatus === \'complete\'" translate>\n                    Reviews collected\n                </span>\n            </div>\n        </div>\n    </div>\n\n    <div class="ea-editor-property-caption" ng-if="control.caption">{{control.caption}}</div>\n\n    <div class="ea-editor-property-control-text ea-editor-property-control">\n        <div ng-click="applyPlaceUrl()" class="ea-editor-property-control-text-button" ng-class="{\'ea-editor-property-control-text-button-loading\': collectingInProgress}">\n            <span class="ea-editor-property-control-text-button-label" translate>Apply</span>\n            <span class="ea-editor-property-control-text-button-loader"></span>\n        </div>\n\n        <input ng-model="placeUrl" type="text">\n    </div>\n\n    <div class="ea-editor-property-error" ng-if="errorMessage">{{errorMessage}}</div>\n\n    <div class="ea-editor-property-recaptcha"></div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label ea-editor-property-ergs-label" editor-hint="control.description">\n        {{control.name}}\n\n        <div class="ea-editor-property-ergs-label-status" ng-if="source">\n            <div class="ea-editor-property-ergs-label-status-label">\n                <span ng-if="source.collectingStatus === \'pending\'">\n                    <span translate>Collecting reviews</span>&nbsp;<span class="ea-editor-property-ergs-loading-dots"></span>&nbsp;<strong>({{source.collectingPercentage}}%)</strong>\n                </span>\n\n                <span ng-if="source.collectingStatus === \'complete\'" translate>\n                    Reviews collected\n                </span>\n            </div>\n        </div>\n    </div>\n\n    <div class="ea-editor-property-caption" ng-if="control.caption">{{control.caption}}</div>\n\n    <div ng-show="!initialValue || appliedDisplayValue">\n        <div class="ea-editor-property-ergs-applied" ng-if="appliedDisplayValue">\n            <div class="ea-editor-property-ergs-applied-name">{{appliedDisplayValue.name}}</div>\n            <div class="ea-editor-property-ergs-applied-vicinity">{{appliedDisplayValue.vicinity}}</div>\n            <div class="ea-editor-property-ergs-applied-change" ng-click="clear()">Change</div>\n        </div>\n\n        <div class="ea-editor-property-ergs-search" ng-if="!appliedDisplayValue">\n            <div class="ea-editor-property-control-text ea-editor-property-control">\n                <div class="ea-editor-property-control-text-button" ng-click="$parent.search()">\n                    <span class="ea-editor-property-control-text-button-label" translate>Search</span>\n                    <span class="ea-editor-property-control-text-button-loader"></span>\n                </div>\n\n                <input class="ea-editor-property-ergs-search-input" type="text" ng-model="$parent.searchQuery"\n                    ng-focus="$parent.searchInputFocus()" ng-blur="$parent.searchInputBlur()"\n                    ng-keypress="$parent.searchInputKeyPesss($event)">\n            </div>\n\n            <div class="ea-editor-property-ergs-search-results"\n                ng-show="displaySearchResults && prevSearchQuery !== null && prevSearchQuery === searchQuery">\n                <div class="ea-editor-property-ergs-search-results-heading" ng-show="searchResults && searchResults.length > 0" translate>Choose your place</div>\n\n                <div class="ea-editor-property-ergs-search-results-empty"\n                    ng-show="!searchResults || searchResults.length === 0" translate>\n                    No search results. Please, add more specific information to your search: ZIP code, street address, city, state and country.\n                </div>\n\n                <div class="ea-editor-property-ergs-search-results-item" ng-repeat="item in searchResults"\n                    ng-click="selectPlace(item)">\n                    <div class="ea-editor-property-ergs-search-results-item-name">{{item.name}}</div>\n                    <div class="ea-editor-property-ergs-search-results-item-vicinity">{{item.vicinity}}</div>\n                </div>\n            </div>\n        </div>\n    </div>\n\n\n    <div class="ea-editor-property-error" ng-if="errorMessage">{{errorMessage}}</div>\n\n    <div class="ea-editor-property-recaptcha"></div>\n</label>\n'},function(e,t){e.exports='<label class="ea-editor-property-inner">\n    <div class="ea-editor-property-label ea-editor-property-ergs-label" editor-hint="control.description">\n        {{control.name}}\n\n        <div class="ea-editor-property-ergs-label-status" ng-if="source">\n            <div class="ea-editor-property-ergs-label-status-label">\n                <span ng-if="source.collectingStatus === \'pending\'">\n                    <span translate>Collecting reviews</span>&nbsp;<span class="ea-editor-property-ergs-loading-dots"></span>&nbsp;<strong>({{source.collectingPercentage}}%)</strong>\n                </span>\n\n                <span ng-if="source.collectingStatus === \'complete\'" translate>\n                    Reviews collected\n                </span>\n            </div>\n        </div>\n    </div>\n\n    <div class="ea-editor-property-caption" ng-if="control.caption">{{control.caption}}</div>\n\n    <div ng-show="!initialValue || appliedDisplayValue">\n        <div class="ea-editor-property-ergs-applied" ng-if="appliedDisplayValue">\n            <div class="ea-editor-property-ergs-applied-name">{{appliedDisplayValue.name}}</div>\n            <div class="ea-editor-property-ergs-applied-vicinity">{{appliedDisplayValue.address}}</div>\n            <div class="ea-editor-property-ergs-applied-change" ng-click="clear()">Change</div>\n        </div>\n\n        <div class="ea-editor-property-ergs-search" ng-if="!appliedDisplayValue">\n            <div class="ea-editor-property-control-text ea-editor-property-control">\n                <div class="ea-editor-property-control-text-button" ng-click="$parent.search()">\n                    <span class="ea-editor-property-control-text-button-label" translate>Search</span>\n                    <span class="ea-editor-property-control-text-button-loader"></span>\n                </div>\n\n                <input class="ea-editor-property-ergs-search-input" type="text" ng-model="$parent.searchQuery"\n                    ng-focus="$parent.searchInputFocus()" ng-blur="$parent.searchInputBlur()"\n                    ng-keypress="$parent.searchInputKeyPesss($event)">\n            </div>\n\n            <div class="ea-editor-property-ergs-search-results"\n                ng-show="displaySearchResults && prevSearchQuery !== null && prevSearchQuery === searchQuery">\n                <div class="ea-editor-property-ergs-search-results-heading" ng-show="searchResults && searchResults.length > 0" translate>Choose your place</div>\n\n                <div class="ea-editor-property-ergs-search-results-empty"\n                    ng-show="!searchResults || searchResults.length === 0" translate>\n                    No search results. Please, add more specific information to your search: ZIP code, street address, city, state and country.\n                </div>\n\n                <div class="ea-editor-property-ergs-search-results-item" ng-repeat="item in searchResults"\n                    ng-click="selectPlace(item)">\n                    <div class="ea-editor-property-ergs-search-results-item-name">{{item.name}}</div>\n                    <div class="ea-editor-property-ergs-search-results-item-vicinity">{{item.address}}</div>\n                </div>\n            </div>\n        </div>\n    </div>\n\n\n    <div class="ea-editor-property-error" ng-if="errorMessage">{{errorMessage}}</div>\n\n    <div class="ea-editor-property-recaptcha"></div>\n</label>\n'},function(e,t){e.exports='<div class="ea-editor-toolbar">\n    <elfsight-apps-editor-toolbar-resolution ng-model="toolbar.resolution"></elfsight-apps-editor-toolbar-resolution>\n\n    <elfsight-apps-editor-toolbar-background ng-model="toolbar.background"></elfsight-apps-editor-toolbar-background>\n</div>'},function(e,t){e.exports='<div class="ea-editor-toolbar-item">\r\n    <div class="ea-editor-toolbar-item-trigger">\r\n        <div class="ea-editor-toolbar-item-icon">\r\n            <svg width="16" height="16" viewBox="0 0 16 16" ng-bind-html="ngModel.code">\r\n                <path d="M16,10v1a2,2,0,0,1-2,2H10v1h1a1,1,0,1,1,0,2H5a1,1,0,0,1,0-2H6V13H2a2,2,0,0,1-2-2V10H0V2A2,2,0,0,1,2,0H14a2,2,0,0,1,2,2v8h0ZM14,4h0V3a1,1,0,0,0-1-1H3A1,1,0,0,0,2,3V4H2V8H2V9a1,1,0,0,0,1,1H13a1,1,0,0,0,1-1V8h0V4Z"></path>\r\n            </svg>\r\n        </div>\r\n    </div>\r\n\r\n    <div class="ea-editor-toolbar-item-values" style="min-width: 94px">\r\n        <div class="ea-editor-toolbar-resolution-value ea-editor-toolbar-item-value" ng-repeat="value in values" ng-click="select(value)" ng-class="{\'toolbar-item-value-active\': value === ngModel}">\r\n            <div class="ea-editor-toolbar-resolution-value-icon ea-editor-toolbar-item-value-icon">\r\n                <svg width="16" height="16" viewBox="0 0 16 16" ng-bind-html="value.code"></svg>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>'},function(e,t){e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path d="M16,10v1a2,2,0,0,1-2,2H10v1h1a1,1,0,1,1,0,2H5a1,1,0,0,1,0-2H6V13H2a2,2,0,0,1-2-2V10H0V2A2,2,0,0,1,2,0H14a2,2,0,0,1,2,2v8h0ZM14,4h0V3a1,1,0,0,0-1-1H3A1,1,0,0,0,2,3V4H2V8H2V9a1,1,0,0,0,1,1H13a1,1,0,0,0,1-1V8h0V4Z"/>'}},function(e,t){e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path d="M15,2V14a2,2,0,0,1-2,2H3a2,2,0,0,1-2-2V2A2,2,0,0,1,3,0H13A2,2,0,0,1,15,2ZM4,2A1,1,0,0,0,3,3v9a1,1,0,0,0,1,1h8a1,1,0,0,0,1-1V3a1,1,0,0,0-1-1H4Z"/>'}},function(e,t){e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path d="M13,2V14a2,2,0,0,1-2,2H5a2,2,0,0,1-2-2V2A2,2,0,0,1,5,0h6A2,2,0,0,1,13,2ZM6,2A1,1,0,0,0,5,3v9a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1V3a1,1,0,0,0-1-1H6Z"/>'}},function(e,t){e.exports='<div class="ea-editor-toolbar-item">\r\n    <div class="ea-editor-toolbar-item-trigger">\r\n        <div class="ea-editor-toolbar-item-icon">\r\n            <svg width="16" height="16" viewBox="0 0 16 16">\r\n                <path d="M14.2,10.7c0,0-1.8,1.9-1.8,3.1c0,1,0.8,1.8,1.8,1.8s1.8-0.8,1.8-1.8C16,12.6,14.2,10.7,14.2,10.7z"/>\r\n                <path d="M4.1,0.4L2.8,1.7L5,3.8L0.4,8.4c-0.5,0.5-0.5,1.4,0,1.9l4.9,4.9c0.3,0.3,0.6,0.4,0.9,0.4c0.3,0,0.7-0.1,0.9-0.4l4.9-4.9\r\n                    c0.5-0.5,0.5-1.4,0-1.9L4.1,0.4z M2,9.3l4.3-4.3l4.3,4.3H2z"/>\r\n            </svg>\r\n        </div>\r\n    </div>\r\n\r\n    <div class="ea-editor-toolbar-item-values" style="min-width: 124px">\r\n        <div class="ea-editor-toolbar-background-value ea-editor-toolbar-item-value" ng-repeat="value in values" ng-click="select(value)" ng-class="{\'toolbar-item-value-active\': value === ngModel}">\r\n            <div class="ea-editor-toolbar-background-value-icon ea-editor-toolbar-item-value-icon">\r\n                <div class="ea-editor-toolbar-background-{{value}} ea-editor-toolbar-background-value-icon-color"></div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>'},function(e,t,o){var n=o(145);"string"==typeof n&&(n=[[e.i,n,""]]);o(148)(n,{hmr:!0,transform:void 0}),n.locals&&(e.exports=n.locals)},function(e,t,o){(e.exports=o(146)()).push([e.i,"/*\n * angularjs-color-picker v3.4.8\n * https://github.com/ruhley/angular-color-picker/\n *\n * Copyright 2017 ruhley\n *\n * 2017-10-06 09:52:03\n *\n */\n.color-picker-wrapper {\n  position: relative;\n}\n.color-picker-wrapper .color-picker-input-wrapper {\n  display: table;\n  position: relative;\n}\n.color-picker-wrapper .input-group {\n  position: relative;\n  border-collapse: separate;\n}\n.color-picker-wrapper .input-group .color-picker-input,\n.color-picker-wrapper .input-group .input-group-addon {\n  display: table-cell;\n}\n.color-picker-wrapper .input-group .color-picker-input {\n  position: relative;\n  z-index: 2;\n  float: left;\n  margin-bottom: 0;\n}\n.color-picker-wrapper .input-group .input-group-addon {\n  padding: 6px 12px;\n  font-size: 14px;\n  font-weight: 400;\n  line-height: 1;\n  color: #555;\n  text-align: center;\n  background-color: #eee;\n  border: 1px solid #ccc;\n}\n.color-picker-wrapper .input-group .input-group-addon:first-child {\n  border-right-width: 0;\n}\n.color-picker-wrapper .input-group .input-group-addon:last-child {\n  border-left-width: 0;\n}\n.color-picker-wrapper .input-group .color-picker-input-swatch {\n  padding-left: 12px;\n}\n.color-picker-wrapper .color-picker-input-swatch {\n  padding-left: 36px;\n}\n.color-picker-wrapper .color-picker-swatch {\n  cursor: pointer;\n  z-index: 3;\n}\n.color-picker-wrapper .color-picker-swatch:not(.input-group-addon) {\n  position: absolute;\n  top: 3px;\n  width: 28px;\n  height: 70%;\n  box-sizing: border-box;\n  border-radius: 3px;\n  vertical-align: middle;\n  background-position: -80px 0;\n  border: solid 1px #ccc;\n  padding: 0;\n  margin: 0;\n  display: inline-block;\n}\n.color-picker-wrapper .color-picker-swatch:not(.input-group-addon).color-picker-swatch-left {\n  left: 3px;\n}\n.color-picker-wrapper .color-picker-swatch:not(.input-group-addon).color-picker-swatch-right {\n  right: 3px;\n}\n.color-picker-wrapper .color-picker-panel {\n  position: absolute;\n  background: #fff;\n  border: solid 1px #ccc;\n  box-shadow: 0 0 20px rgba(0,0,0,0.5);\n  z-index: 99999;\n  width: 150px;\n  table-layout: fixed;\n  border: 1px solid #fff;\n  padding-right: 1px;\n  box-sizing: content-box;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper {\n  display: table;\n  width: 100%;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row {\n  display: table-row;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-overlay {\n  position: absolute;\n  width: 100%;\n  height: 150px;\n  top: 0;\n  left: 0;\n  z-index: 2;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity {\n  background-image: linear-gradient(45deg, #808080 25%, transparent 25%), linear-gradient(-45deg, #808080 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #808080 75%), linear-gradient(-45deg, transparent 75%, #808080 75%);\n  background-size: 10px 10px;\n  background-position: 0 0, 0 5px, 5px -5px, -5px 0px;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness,\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity {\n  display: table-cell;\n  position: relative;\n  left: 1px;\n  width: 20px;\n  background-color: #fff;\n  cursor: row-resize;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-slider {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 18px;\n  height: 2px;\n  background: #fff;\n  border: solid 1px #000;\n  box-sizing: content-box;\n  margin-top: -1px;\n  z-index: 3;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid {\n  display: table-cell;\n  position: relative;\n  width: 150px;\n  height: 150px;\n  cursor: crosshair;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-grid-inner {\n  width: 150px;\n  height: 150px;\n  z-index: 9;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-overlay {\n  background-image: url(\"data:image/png;base64, \");\n  pointer-events: none;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-picker {\n  position: absolute;\n  top: 70px;\n  left: 70px;\n  width: 12px;\n  height: 12px;\n  border: solid 1px #000;\n  border-radius: 10px;\n  margin-top: -6px;\n  margin-left: -6px;\n  background: none;\n  box-sizing: content-box;\n  z-index: 99;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-picker > div {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 8px;\n  height: 8px;\n  border-radius: 8px;\n  border: solid 2px #fff;\n  box-sizing: content-box;\n}\n.color-picker-wrapper .color-picker-panel .color-picker-actions .color-picker-action {\n  width: calc(33.3333% - 6px);\n  margin: 3px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-inline {\n  position: relative;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation.color-picker-show-lightness.color-picker-show-alpha {\n  width: 230px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation.color-picker-show-lightness {\n  width: 210px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation.color-picker-show-alpha {\n  width: 210px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-lightness.color-picker-show-alpha {\n  width: 210px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-lightness {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-alpha {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-saturation.color-picker-show-alpha {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-saturation.color-picker-show-lightness {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-saturation.color-picker-show-lightness.color-picker-show-alpha {\n  width: 210px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-lightness.color-picker-show-alpha {\n  width: 190px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-hue {\n  width: 170px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-saturation {\n  width: 170px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-lightness {\n  width: 170px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-show-alpha {\n  width: 170px;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-bottom {\n  top: auto;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-top {\n  bottom: 100%;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-left {\n  left: 0;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-right {\n  right: 0;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-round .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-overlay {\n  background-image: url(\"data:image/png;base64, \");\n  border-radius: 50%;\n}\n.color-picker-wrapper .color-picker-panel.color-picker-panel-round .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-grid-inner {\n  background-color: #fff;\n}\n.color-picker-wrapper .color-picker-hidden {\n  display: none;\n}\n.color-picker-wrapper.color-picker-disabled .color-picker-swatch,\n.color-picker-wrapper.color-picker-disabled .color-picker-hue,\n.color-picker-wrapper.color-picker-disabled .color-picker-opacity,\n.color-picker-wrapper.color-picker-disabled .color-picker-grid,\n.color-picker-wrapper.color-picker-disabled .color-picker-input {\n  cursor: not-allowed !important;\n}\n.color-picker-wrapper.color-picker-swatch-only .color-picker-input {\n  padding-left: 33px;\n  padding-right: 0;\n  width: 35px;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon {\n  width: 35px;\n  height: 100%;\n  border-right: 1px solid #ccc;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon:first-child {\n  border-right-width: 1px;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon:last-child {\n  border-left-width: 1px;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .color-picker-input {\n  padding: 0;\n  width: 1px;\n  opacity: 0;\n  cursor: pointer;\n}\n.color-picker-wrapper.color-picker-swatch-only .input-group .color-picker-input:focus {\n  outline: none;\n}\n.color-picker-wrapper.color-picker-closed .color-picker-panel {\n  display: none;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel {\n  width: 150px !important;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row {\n  display: block;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid {\n  display: block;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity {\n  cursor: col-resize;\n  display: block;\n  left: 0;\n  width: 150px;\n  height: 20px;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue .color-picker-overlay,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation .color-picker-overlay,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness .color-picker-overlay,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity .color-picker-overlay {\n  height: 20px;\n}\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue .color-picker-slider,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation .color-picker-slider,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness .color-picker-slider,\n.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity .color-picker-slider {\n  width: 2px;\n  height: 18px;\n  margin-top: 0;\n}\n\n.rzslider {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  height: 4px;\n  margin: 35px 0 15px 0;\n  vertical-align: middle;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n.rzslider.noanimate * {\n  transition: none !important;\n}\n.rzslider.with-legend {\n  margin-bottom: 40px;\n}\n.rzslider[disabled] {\n  cursor: not-allowed;\n}\n.rzslider[disabled] .rz-pointer {\n  cursor: not-allowed;\n  background-color: #d8e0f3;\n}\n.rzslider[disabled] .rz-draggable {\n  cursor: not-allowed;\n}\n.rzslider[disabled] .rz-selection {\n  background: #8b91a2;\n}\n.rzslider[disabled] .rz-tick {\n  cursor: not-allowed;\n}\n.rzslider[disabled] .rz-tick.rz-selected {\n  background: #8b91a2;\n}\n.rzslider span {\n  position: absolute;\n  display: inline-block;\n  white-space: nowrap;\n}\n.rzslider .rz-base {\n  width: 100%;\n  height: 100%;\n  padding: 0;\n}\n.rzslider .rz-bar-wrapper {\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 32px;\n  padding-top: 16px;\n  margin-top: -16px;\n  box-sizing: border-box;\n  transition: all linear 0.3s;\n}\n.rzslider .rz-draggable {\n  cursor: move;\n}\n.rzslider .rz-bar {\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 4px;\n  background: #d8e0f3;\n  border-radius: 2px;\n}\n.rzslider .rz-bar-wrapper.rz-transparent .rz-bar {\n  background: transparent;\n}\n.rzslider .rz-bar-wrapper.rz-left-out-selection .rz-bar {\n  background: #df002d;\n}\n.rzslider .rz-bar-wrapper.rz-right-out-selection .rz-bar {\n  background: #03a688;\n}\n.rzslider .rz-selection {\n  z-index: 2;\n  background: #0db9f0;\n  border-radius: 2px;\n  transition: background-color linear 0.3s;\n}\n.rzslider .rz-restricted {\n  z-index: 3;\n  background: #f00;\n  border-radius: 2px;\n}\n.rzslider .rz-pointer {\n  top: -14px;\n  z-index: 3;\n  width: 32px;\n  height: 32px;\n  cursor: pointer;\n  background-color: #0db9f0;\n  border-radius: 16px;\n  transition: all linear 0.3s;\n}\n.rzslider .rz-pointer:after {\n  position: absolute;\n  top: 12px;\n  left: 12px;\n  width: 8px;\n  height: 8px;\n  background: #fff;\n  border-radius: 4px;\n  content: '';\n}\n.rzslider .rz-pointer:hover:after {\n  background-color: #fff;\n}\n.rzslider .rz-pointer.rz-active {\n  z-index: 4;\n}\n.rzslider .rz-pointer.rz-active:after {\n  background-color: #451aff;\n}\n.rzslider .rz-bubble {\n  bottom: 16px;\n  padding: 1px 3px;\n  color: #55637d;\n  cursor: default;\n  transition: all linear 0.3s;\n}\n.rzslider .rz-bubble.rz-limit {\n  color: #55637d;\n  transition: none;\n}\n.rzslider .rz-ticks {\n  position: absolute;\n  top: -3px;\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 0;\n  margin: 0;\n  list-style: none;\n  box-sizing: border-box;\n}\n.rzslider .rz-ticks-values-under .rz-tick-value {\n  top: auto;\n  bottom: -32px;\n}\n.rzslider .rz-tick {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 10px;\n  height: 10px;\n  margin-left: 11px;\n  text-align: center;\n  cursor: pointer;\n  background: #d8e0f3;\n  border-radius: 50%;\n  transition: background-color linear 0.3s;\n}\n.rzslider .rz-tick.rz-selected {\n  background: #0db9f0;\n}\n.rzslider .rz-tick-value {\n  position: absolute;\n  top: -30px;\n  transform: translate(-50%, 0);\n}\n.rzslider .rz-tick-legend {\n  position: absolute;\n  top: 24px;\n  max-width: 50px;\n  white-space: normal;\n  transform: translate(-50%, 0);\n}\n.rzslider.rz-vertical {\n  position: relative;\n  width: 4px;\n  height: 100%;\n  padding: 0;\n  margin: 0 20px;\n  vertical-align: baseline;\n}\n.rzslider.rz-vertical .rz-base {\n  width: 100%;\n  height: 100%;\n  padding: 0;\n}\n.rzslider.rz-vertical .rz-bar-wrapper {\n  top: auto;\n  left: 0;\n  width: 32px;\n  height: 100%;\n  padding: 0 0 0 16px;\n  margin: 0 0 0 -16px;\n}\n.rzslider.rz-vertical .rz-bar {\n  bottom: 0;\n  left: auto;\n  width: 4px;\n  height: 100%;\n}\n.rzslider.rz-vertical .rz-pointer {\n  top: auto;\n  bottom: 0;\n  left: -14px !important;\n}\n.rzslider.rz-vertical .rz-bubble {\n  bottom: 0;\n  left: 16px !important;\n  margin-left: 3px;\n}\n.rzslider.rz-vertical .rz-ticks {\n  top: 0;\n  left: -3px;\n  z-index: 1;\n  width: 0;\n  height: 100%;\n}\n.rzslider.rz-vertical .rz-tick {\n  margin-top: 11px;\n  margin-left: auto;\n  vertical-align: middle;\n}\n.rzslider.rz-vertical .rz-tick-value {\n  top: auto;\n  left: 24px;\n  transform: translate(0, -28%);\n}\n.rzslider.rz-vertical .rz-tick-legend {\n  top: auto;\n  right: 24px;\n  max-width: none;\n  white-space: nowrap;\n  transform: translate(0, -28%);\n}\n.rzslider.rz-vertical .rz-ticks-values-under .rz-tick-value {\n  right: 24px;\n  bottom: auto;\n  left: auto;\n}\niframe {\n  border: none;\n}\n.ea-editor {\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  height: 100%;\n  min-height: 600px;\n  color: #fff;\n  font-family: 'Roboto', Arial, sans-serif;\n  -webkit-font-smoothing: antialiased;\n  overflow: hidden;\n  line-height: 1.555;\n  background: #212121;\n  padding-top: 0;\n  transition: all 0.3s ease;\n}\n.ea-editor-small {\n  padding-top: 36px;\n  box-sizing: border-box;\n}\n.ea-editor-form {\n  position: relative;\n  width: 336px;\n  height: 100%;\n  flex-direction: column;\n  flex: 0 0 336px;\n  background: #38393a;\n  padding-top: 12px;\n  box-sizing: border-box;\n  overflow: hidden;\n  transition: all 0.3s;\n  transform: translateX(-100%);\n}\n.ea-editor-large .ea-editor-form {\n  transform: translateX(0);\n  transition: none;\n}\n.ea-editor-small .ea-editor-form,\n.ea-editor-medium .ea-editor-form {\n  position: absolute;\n  left: 0;\n  z-index: 1;\n  visibility: hidden;\n  pointer-events: none;\n  width: 100%;\n}\n.ea-editor-medium .ea-editor-form {\n  width: 336px;\n}\n.ea-editor-expanded .ea-editor-form {\n  display: flex;\n  opacity: 1;\n  visibility: visible;\n  pointer-events: all;\n  left: 0;\n  transform: translateX(0);\n}\n.ea-editor-responsive-button {\n  width: 56px;\n  height: 56px;\n  top: 0;\n  display: inline-flex;\n  align-items: center;\n  background: #38393a;\n  z-index: 2;\n  position: absolute;\n  cursor: pointer;\n  transition: 0.3s all;\n  opacity: 0;\n  vertical-align: middle;\n  box-sizing: border-box;\n}\n.ea-editor-responsive-button-label {\n  display: flex;\n  align-items: center;\n  width: 100%;\n}\n.ea-editor-responsive-button-label-icon {\n  fill: #fff;\n}\n.ea-editor-responsive-button-label-text {\n  margin-left: 12px;\n}\n.ea-editor-responsive-button-arrow {\n  height: 12px;\n  width: 8px;\n  fill: #c2c6c9;\n  margin-left: auto;\n}\n.ea-editor-small .ea-editor-responsive-button {\n  top: 0;\n  height: 36px;\n  opacity: 1;\n  width: 100%;\n  padding: 0 16px;\n  transition: none;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-medium .ea-editor-responsive-button {\n  opacity: 1;\n  padding: 8px;\n  justify-content: center;\n}\n.ea-editor-large .ea-editor-responsive-button {\n  transition: none;\n  pointer-events: none;\n}\n.ea-editor-medium.ea-editor-expanded .ea-editor-responsive-button {\n  transform: translateX(335px);\n}\n.ea-editor-responsive-button-hint {\n  width: 80px;\n  height: 48px;\n  left: 68px;\n  position: absolute;\n  background: #38393a;\n  border-radius: 8px;\n  font-size: 13px;\n  box-sizing: border-box;\n  padding: 4px 16px;\n  display: flex;\n  justify-content: center;\n  animation: jump 0.5s linear alternate infinite;\n}\n.ea-editor-responsive-button-hint:before {\n  content: ' ';\n  width: 8px;\n  height: 8px;\n  background: #38393a;\n  position: absolute;\n  left: -4px;\n  top: 50%;\n  transform: translateY(-50%) rotateZ(-45deg);\n}\n.ea-editor-small .ea-editor-responsive-button-hint {\n  display: none;\n}\n.ea-editor-overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n  opacity: 0;\n  background: #000;\n  z-index: 1;\n  transition: 0.3s all ease;\n  pointer-events: none;\n}\n.ea-editor-medium.ea-editor-expanded .ea-editor-overlay {\n  opacity: 0.5;\n  pointer-events: all;\n}\n.ea-editor-property {\n  margin: 0 auto;\n  margin-bottom: 24px;\n}\n.ea-editor-property-label {\n  display: inline-block;\n  color: #b2b4b7;\n  font-size: 10px;\n  font-weight: 500;\n  text-transform: uppercase;\n  padding: 4px 0;\n  margin-bottom: 8px;\n}\n.ea-editor-property-caption {\n  font-size: 11px;\n  line-height: 16px;\n  padding: 3px 0 3px 12px;\n  margin-bottom: 12px;\n  border-left: 2px solid #474848;\n  color: #abadaf;\n}\n.ea-editor-property-caption a {\n  color: #abadaf;\n  text-decoration: underline;\n}\n.ea-editor-property-caption a:hover {\n  color: #abadaf;\n}\n.ea-editor-property-caption ul {\n  margin: 0;\n  padding: 0 12px;\n}\n.ea-editor-property-error {\n  margin-top: 12px;\n  font-size: 13px;\n  line-height: 20px;\n  color: #ff4734;\n}\n.ea-editor-property-hide {\n  display: none;\n  margin: 0;\n}\n.ea-editor-hint {\n  display: flex;\n  position: absolute;\n  right: 24px;\n  bottom: 0;\n  left: 24px;\n  padding: 12px 16px;\n  border-radius: 2px;\n  font-size: 13px;\n  line-height: 18px;\n  background: #fff;\n  color: #17191a;\n  opacity: 0;\n  visibility: hidden;\n  transition: all 0.3s ease 0.4s;\n  z-index: 999999;\n}\n.ea-editor-hint:hover,\n.ea-editor-hint-visible {\n  bottom: 24px;\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-widget-name {\n  padding: 12px 24px;\n}\n.ea-editor-widget-name input {\n  box-sizing: border-box;\n  border: 1px solid transparent;\n  border-radius: 5px;\n  padding: 6px 10px;\n  width: 100%;\n  color: #17191a;\n  font-size: 19px;\n  text-align: center;\n  outline: none;\n  transition: all 0.2s ease;\n}\n.ea-editor-widget-name input:hover {\n  border-color: #f4f4f4;\n}\n.ea-editor-widget-name input:focus {\n  border-color: #a8d5ff;\n}\n.ea-editor-tabs {\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n}\n.ea-editor-tabs-nav {\n  display: flex;\n  flex-direction: row;\n  padding: 0 24px;\n  min-height: 44px;\n  height: 44px;\n  justify-content: flex-start;\n  border-bottom: 1px solid #303131;\n  background: #38393a;\n}\n.ea-editor-tabs-nav-item {\n  position: relative;\n  padding: 16px 0;\n  margin-left: 20px;\n  font-size: 12px;\n  font-weight: 600;\n  text-transform: uppercase;\n  text-align: center;\n  cursor: pointer;\n  transition: all 0.2s ease;\n  outline: none;\n  color: #fff;\n}\n.ea-editor-tabs-nav-item:first-child {\n  margin-left: 0;\n}\n.ea-editor-tabs-nav-item::after {\n  content: '';\n  position: absolute;\n  display: block;\n  bottom: -1px;\n  right: 50%;\n  left: 50%;\n  height: 2px;\n  background: transparent;\n  transition: all 0.2s ease-out;\n}\n.ea-editor-tabs-nav-item-active {\n  color: #ff6161;\n}\n.ea-editor-tabs-nav-item-active::after {\n  background: linear-gradient(to right, #fa3274 0%, #fd3462 25%, #ffa863 100%);\n  right: 0;\n  left: 0;\n}\n.ea-editor-tabs-content {\n  display: flex;\n  position: relative;\n  flex-direction: column;\n  flex-grow: 1;\n  overflow: hidden;\n  width: 336px;\n}\n.ea-editor-tabs-content::before {\n  content: '';\n  display: block;\n  position: absolute;\n  top: 0;\n  right: 0;\n  left: 0;\n  height: 10px;\n  background: linear-gradient(to bottom, #f6f6f6 0%, rgba(246,246,246,0) 100%);\n}\n.ea-editor-tabs-content-item {\n  display: none;\n  flex-grow: 1;\n  position: relative;\n  background: #38393a;\n  padding: 24px;\n  overflow: auto;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ea-editor-tabs-content-item-active {\n  display: block;\n}\n.ea-editor-sub {\n  display: flex;\n  flex-direction: column;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  bottom: 0;\n  transition: all 0.3s ease;\n  transform: translate(100%, 0);\n  background: #fff;\n  z-index: 5;\n  margin-top: -56px;\n  padding-top: 56px;\n  box-shadow: -3px 0 15px rgba(0,0,0,0.05);\n}\n.ea-editor-sub-active {\n  transform: translate(0, 0);\n}\n.ea-editor-sub-header {\n  position: relative;\n  background: #38393a;\n  height: 56px;\n  line-height: 56px;\n  padding: 0 54px;\n  cursor: pointer;\n  outline: none;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-sub-header:hover .ea-editor-sub-back-button {\n  left: 20px;\n}\n.ea-editor-sub-back-button {\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 24px;\n  transform: translateY(-50%);\n  transition: all 0.15s ease;\n}\n.ea-editor-sub-back-button svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #fff;\n}\n.ea-editor-sub-title {\n  color: #fff;\n  font-size: 18px;\n  font-weight: 400;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ea-editor-sub-content {\n  flex-grow: 1;\n  position: relative;\n  background: #38393a;\n  padding: 24px;\n  overflow: auto;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ea-editor-sub-content-preview-image {\n  max-width: 100%;\n}\n.ea-editor-preview {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  font-size: 12px;\n}\n.ea-editor-preview-container {\n  box-sizing: border-box;\n  position: relative;\n  margin: 0 auto;\n  width: 100%;\n  max-width: 100%;\n  height: 100%;\n  transition: 0.2s;\n}\n.ea-editor-preview-overlay {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: #fff;\n  transition: 0.2s;\n}\n.ea-editor-preview-loader {\n  box-sizing: border-box;\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  border-radius: 50%;\n  border-style: solid;\n  border-top-color: transparent;\n  animation: preview-loader 1s infinite linear;\n  width: 36px;\n  height: 36px;\n  margin: -16px 0 0 -16px;\n  border-width: 2px;\n  color: #b2b4b7;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-preview-loader-show {\n  opacity: 1;\n  visibility: visible;\n}\n@-moz-keyframes preview-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-webkit-keyframes preview-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-o-keyframes preview-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes preview-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.ea-editor-error {\n  display: flex;\n  position: absolute;\n  right: 24px;\n  bottom: 0;\n  left: 24px;\n  padding: 12px 16px;\n  border-radius: 2px;\n  font-size: 13px;\n  line-height: 18px;\n  background: #ff4734;\n  color: #fff;\n  opacity: 0;\n  visibility: hidden;\n  transition: all 0.3s ease 0.4s;\n  z-index: 999999;\n}\n.ea-editor-error-visible {\n  bottom: 24px;\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-popup {\n  background-color: #fff;\n  color: #111;\n  max-width: 650px;\n  width: 100%;\n  max-height: 600px;\n  height: 100%;\n  box-sizing: border-box;\n  box-shadow: 0 12px 24px 0 rgba(0,0,0,0.1);\n  border-radius: 10px;\n  position: relative;\n}\n.ea-editor-popup-canvas {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  filter: blur(10px);\n  pointer-events: none;\n}\n.ea-editor-popup-close {\n  position: absolute;\n  display: block;\n  width: 14px;\n  height: 14px;\n  right: 20px;\n  top: 20px;\n  padding: 8px;\n  cursor: pointer;\n}\n.ea-editor-popup-close svg {\n  fill: rgba(0,0,0,0.2);\n  display: block;\n  transition: 0.3s ease all;\n  pointer-events: none;\n}\n.ea-editor-popup-close:hover svg {\n  fill: rgba(0,0,0,0.8);\n}\n.ea-editor-popup-container {\n  position: absolute;\n  left: 0;\n  top: 0;\n  bottom: 0;\n  right: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 10000;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  background-color: rgba(17,17,17,0.5);\n  transition: 0.1s ease all;\n}\n.ea-editor-file-manager {\n  height: 100%;\n  padding: 20px 28px 28px;\n  box-sizing: border-box;\n  display: flex;\n  flex-direction: column;\n}\n.ea-editor-file-manager-title {\n  font-size: 20px;\n  font-weight: 700;\n  line-height: 28px;\n  color: #111;\n}\n.ea-editor-file-manager-tabs {\n  display: flex;\n  flex-direction: column;\n  justify-content: stretch;\n  box-sizing: border-box;\n  margin-top: 44px;\n  height: calc(100% - 72px);\n}\n.ea-editor-file-manager-tabs-menu {\n  display: flex;\n  border-bottom: 1px solid #eee;\n  margin-bottom: 28px;\n}\n.ea-editor-file-manager-tabs-menu-item {\n  cursor: pointer;\n  transition: 0.3s ease all;\n  font-size: 15px;\n  line-height: 24px;\n  color: rgba(17,17,17,0.5);\n  margin-right: 32px;\n  box-sizing: border-box;\n  padding-bottom: 12px;\n  border-bottom: 2px solid transparent;\n}\n.ea-editor-file-manager-tabs-menu-item:hover {\n  color: #111;\n}\n.ea-editor-file-manager-tabs-menu-item-active {\n  font-size: 15px;\n  line-height: 24px;\n  border-bottom: 2px solid #f93262;\n  color: #111;\n}\n.ea-editor-file-manager-tabs-content {\n  flex-grow: 1;\n  display: flex;\n  position: relative;\n  flex-direction: column;\n  height: 100%;\n}\n.ea-editor-file-manager-upload-container {\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  flex-grow: 1;\n}\n.ea-editor-file-manager-upload-name {\n  font-size: 20px;\n  line-height: 28px;\n  text-align: center;\n  color: #111;\n  margin-bottom: 18px;\n}\n.ea-editor-file-manager-upload-content {\n  display: flex;\n  position: absolute;\n  transform: translate(-50%, -50%);\n  top: 50%;\n  left: 50%;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n.ea-editor-file-manager-upload-icon {\n  position: absolute;\n  top: 0;\n  transform: translateY(calc(-100% - 20px));\n}\n.ea-editor-file-manager-upload-icon svg {\n  transition: 0.3s ease all;\n  display: block;\n  fill: #dbdddf;\n}\n.ea-editor-file-manager-upload-button {\n  box-sizing: border-box;\n  color: #fff;\n  border: none;\n  outline: none;\n  cursor: pointer;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 16px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 4px;\n  background-color: #1c91ff;\n  padding: 10px 40px;\n}\n.ea-editor-file-manager-upload-button:hover {\n  background-color: #f00;\n}\n.ea-editor-file-manager-upload-size {\n  font-size: 13px;\n  line-height: 20px;\n  text-align: center;\n  color: rgba(17,17,17,0.5);\n  margin: 16px;\n}\n.ea-editor-file-manager-upload-error {\n  font-size: 10px;\n  text-align: center;\n  color: #de2b33;\n  margin-top: 4px;\n}\n.ea-editor-file-manager-upload-dropzone {\n  width: 100%;\n  box-sizing: border-box;\n  height: 100%;\n  display: flex;\n  flex-grow: 1;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  position: relative;\n  border-radius: 6px;\n}\n.ea-editor-file-manager-upload-dropzone-hovered {\n  border: dashed 2px #1c91ff;\n}\n.ea-editor-file-manager-upload-dropzone-hovered .ea-editor-file-manager-upload-icon svg {\n  fill: #1c91ff;\n}\n.ea-editor-file-manager-upload-input {\n  position: absolute;\n  opacity: 0;\n  cursor: pointer;\n  padding: 0;\n  width: 100%;\n  height: 100%;\n  left: 0;\n  top: 0;\n  z-index: 1;\n}\n.ea-editor-file-manager-upload-files {\n  position: absolute;\n  display: flex;\n  top: 0;\n  left: 0;\n  height: 100%;\n  width: 100%;\n  align-items: flex-start;\n  justify-content: flex-start;\n  flex-direction: column;\n  overflow: auto;\n  padding-right: 20px;\n  box-sizing: border-box;\n}\n.ea-editor-file-manager-upload-files-item {\n  width: 100%;\n  box-sizing: border-box;\n  position: relative;\n}\n.ea-editor-file-manager-upload-files-item:not(:first-child) {\n  margin-top: 12px;\n}\n.ea-editor-file-manager-upload-files-item-name {\n  font-size: 12px;\n  color: #111;\n  display: inline-flex;\n  position: relative;\n}\n.ea-editor-file-manager-upload-files-item-name-done {\n  font-size: 9px;\n  text-transform: uppercase;\n  display: flex;\n  position: absolute;\n  left: 100%;\n  padding-left: 16px;\n  margin-left: 8px;\n  align-items: center;\n  top: 50%;\n  transform: translateY(-50%);\n  opacity: 0;\n  transition: 0.3s ease opacity;\n}\n.ea-editor-file-manager-upload-files-item-name-done-show {\n  opacity: 1;\n}\n.ea-editor-file-manager-upload-files-item-name-done-icon {\n  content: \"\";\n  display: block;\n  position: absolute;\n  left: 0;\n  top: 50%;\n  transform: translateY(-50%);\n  fill: #4ad504;\n  width: 12px;\n  height: 12px;\n}\n.ea-editor-file-manager-upload-files-item-loader {\n  display: block;\n  width: 100%;\n  background-color: #eee;\n  height: 4px;\n  border-radius: 8px;\n  margin-top: 4px;\n  position: relative;\n  overflow: hidden;\n  transition: 0.3s ease all;\n  opacity: 1;\n}\n.ea-editor-file-manager-upload-files-item-loader-hide {\n  height: 0;\n  opacity: 0;\n  margin-top: 0;\n}\n.ea-editor-file-manager-upload-files-item-loader-inner {\n  background-color: #1c91ff;\n  position: absolute;\n  left: 0;\n  top: 0;\n  height: 100%;\n  transition: 0.3s ease all;\n}\n.ea-editor-file-manager-upload-files-item-remove {\n  position: absolute;\n  right: 0;\n  cursor: pointer;\n  padding: 4px;\n  display: flex;\n  top: 50%;\n  transform: translateY(-50%);\n  transition: 0.3s ease all;\n  opacity: 0.3;\n}\n.ea-editor-file-manager-upload-files-item-remove:hover {\n  opacity: 1;\n}\n.ea-editor-file-manager-upload-files-add-file {\n  position: relative;\n  padding: 8px;\n  background-color: #1c91ff;\n  color: #fff;\n  border-radius: 4px;\n  font-size: 15px;\n  font-weight: 600;\n  line-height: 20px;\n  cursor: pointer;\n  outline: none;\n  transition: 0.3s ease all;\n  margin-top: 20px;\n  overflow: hidden;\n  box-sizing: border-box;\n  flex-shrink: 0;\n}\n.ea-editor-file-manager-upload-files-add-file input {\n  width: 200%;\n  height: 200%;\n  bottom: 0;\n  right: 0;\n  left: auto;\n  top: auto;\n}\n.ea-editor-file-manager-link-icon {\n  display: flex;\n}\n.ea-editor-file-manager-link-title {\n  font-size: 20px;\n  line-height: 28px;\n  text-align: center;\n  color: #111;\n  margin-top: 16px;\n}\n.ea-editor-file-manager-link-container {\n  padding-top: 64px;\n  display: flex;\n  flex-direction: column;\n  justify-content: stretch;\n  align-items: center;\n  height: 100%;\n  box-sizing: border-box;\n}\n.ea-editor-file-manager-link-input {\n  border-radius: 2px;\n  border: solid 1px rgba(17,17,17,0.3);\n  width: 100%;\n  font-size: 15px;\n  line-height: 18px;\n  color: #111;\n  padding: 12px 20px;\n  box-sizing: border-box;\n}\n.ea-editor-file-manager-link-input-container {\n  width: 100%;\n  margin-top: 16px;\n}\n.ea-editor-file-manager-files-container {\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  position: relative;\n}\n.ea-editor-file-manager-files-inner {\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n  height: 100%;\n  align-items: flex-start;\n  margin: 0 -4px;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ea-editor-file-manager-files-error {\n  font-size: 10px;\n  text-align: center;\n  color: #de2b33;\n  margin-top: 4px;\n  width: 100%;\n}\n.ea-editor-file-manager-files-item {\n  width: calc(33.333333% - 8px);\n  border-radius: 6px;\n  border: solid 1px #eee;\n  padding: 8px;\n  display: flex;\n  flex-direction: column;\n  box-sizing: border-box;\n  margin: 0 4px;\n  margin-bottom: 8px;\n  justify-content: center;\n  align-items: center;\n  background-color: transparent;\n  transition: 0.3s ease all;\n  cursor: pointer;\n}\n.ea-editor-file-manager-files-item:hover {\n  background-color: #fafafa;\n}\n.ea-editor-file-manager-files-item-active {\n  border: 1px solid #1c91ff;\n  background-color: transparent;\n}\n.ea-editor-file-manager-files-item-icon {\n  width: 80px;\n  height: 100px;\n  position: relative;\n  border-radius: 4px;\n  overflow: hidden;\n}\n.ea-editor-file-manager-files-item-icon img {\n  height: 100%;\n  position: absolute;\n  left: 50%;\n  transform: translateX(-50%);\n  min-width: 100%;\n}\n.ea-editor-file-manager-files-item-icon-extension {\n  font-size: 20px;\n  z-index: 1;\n  position: absolute;\n  top: 50%;\n  transform: translateY(-50%);\n  text-align: center;\n  width: 100%;\n  text-transform: uppercase;\n  opacity: 0.5;\n}\n.ea-editor-file-manager-files-item-name {\n  font-size: 12px;\n  text-align: center;\n  color: #111;\n  margin-top: 8px;\n  width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ea-editor-file-manager-files-item-size {\n  font-size: 10px;\n  text-align: center;\n  color: rgba(17,17,17,0.3);\n  margin-top: 4px;\n}\n.ea-editor-file-manager-actions {\n  display: flex;\n  margin-top: auto;\n  justify-content: flex-end;\n  width: 100%;\n  padding-top: 28px;\n}\n.ea-editor-file-manager-actions-item button {\n  padding: 10px 40px;\n  border-radius: 4px;\n  font-size: 15px;\n  font-weight: 600;\n  line-height: 20px;\n  cursor: pointer;\n  outline: none;\n  transition: 0.3s ease all;\n}\n.ea-editor-file-manager-actions-item button:hover {\n  transform: translateY(-2px);\n}\n.ea-editor-file-manager-actions-item-cancel {\n  border: solid 1px rgba(0,0,0,0.1);\n  color: #111;\n  background-color: transparent;\n  margin-right: 12px;\n}\n.ea-editor-file-manager-actions-item-choose {\n  border: solid 1px #1c91ff;\n  color: #fff;\n  background-color: #1c91ff;\n}\n.ea-editor-file-manager-actions-item-choose-disabled {\n  pointer-events: none;\n  background-color: #eee;\n  color: #111;\n  border: solid 1px #eee;\n}\n.ea-editor-property-control-checklist-item {\n  display: inline-flex;\n  margin: 0 0 6px;\n  width: 100%;\n  cursor: pointer;\n  position: relative;\n  align-items: center;\n}\n.ea-editor-property-control-checklist-item-label {\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  padding: 6px 12px 5px 12px;\n  width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  box-sizing: border-box;\n  line-height: 1;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-checklist-checkbox {\n  display: block;\n  cursor: pointer;\n  position: relative;\n}\n.ea-editor-property-control-checklist-checkbox:before {\n  content: \"\";\n  position: absolute;\n  background-color: #2c2c2d;\n  width: 14px;\n  height: 14px;\n  border-radius: 2px;\n  top: 0;\n  left: 0;\n  transition: background-color 0.1s ease;\n}\n.ea-editor-property-control-checklist-checkbox-wrapper {\n  width: 14px;\n  height: 14px;\n}\n.ea-editor-property-control-checklist-checkbox-wrapper input {\n  display: none !important;\n}\n.ea-editor-property-control-checklist-checkbox-wrapper input:checked + .ea-editor-property-control-checklist-checkbox::before {\n  background-image: url("+o(147)+");\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: 12px;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group {\n  display: inline-block;\n  position: relative;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group:after {\n  display: block;\n  content: '';\n  width: 32px;\n  height: 32px;\n  position: absolute;\n  top: 0;\n  left: 0;\n  background: #2c2d2d;\n  border-radius: 2px 0 0 2px;\n  z-index: 1;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group .input-group-addon {\n  box-sizing: border-box;\n  border-radius: 2px 0 0 2px;\n  width: 30px;\n  height: 30px;\n  transition: all 0.1s ease;\n  border: none;\n  margin: 1px;\n  float: left;\n  position: relative;\n  z-index: 2;\n  background: #38393a;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group .color-picker-input-swatch {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 0 2px 2px 0;\n  width: 170px;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  transition: all 0.1s ease;\n  border: none;\n  margin: 0;\n}\n.ea-editor-property-control-color .color-picker-wrapper .input-group .color-picker-input-swatch:focus {\n  background-color: #2c2d2d;\n}\n.ea-editor-property-control-color .color-picker-wrapper .color-picker-panel .color-picker-actions {\n  padding: 8px;\n}\n.ea-editor-property-control-color .color-picker-wrapper .color-picker-panel .color-picker-actions .color-picker-action {\n  margin: 4px;\n  width: auto;\n  height: 28px;\n  font-size: 11px;\n  border-radius: 4px;\n  border: none;\n  background-color: #444;\n  color: #fff;\n  cursor: pointer;\n  padding: 0 16px;\n  font-weight: 600;\n}\n.ea-editor-property-control-complex-item {\n  position: relative;\n  margin: 0 0 12px;\n  outline: none;\n}\n.ea-editor-property-control-complex-item:hover .ea-editor-property-control-complex-item-inner {\n  background: #474848;\n}\n.ea-editor-property-control-complex-item-inner {\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  box-sizing: border-box;\n  cursor: pointer;\n  background: #404141;\n  padding: 0 12px;\n  min-height: 36px;\n  border-radius: 2px;\n  outline: none;\n  transition: all 0.3s ease;\n  user-select: none;\n}\n.ea-editor-property-control-complex-item-removing .ea-editor-property-control-complex-item-inner {\n  transform: translateX(-100%);\n  right: 24px;\n}\n.ea-editor-property-control-complex-item-reorder {\n  display: block;\n  width: 7px;\n  height: 14px;\n  padding: 11px 16px 11px 7px;\n  box-sizing: content-box;\n  margin: 0 0 0 -12px;\n  cursor: move;\n  outline: none;\n}\n.ea-editor-property-control-complex-item-reorder svg {\n  display: block;\n  width: 7px;\n  height: 14px;\n  fill: #aaa;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-icon {\n  display: block;\n  height: 14px;\n  margin-right: 16px;\n}\n.ea-editor-property-control-complex-item-icon img {\n  display: block;\n  height: 14px;\n  width: 14px;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-preview {\n  width: 40px;\n  height: 40px;\n  overflow: hidden;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  flex-shrink: 0;\n  background-position: center !important;\n  background-size: contain !important;\n  background-repeat: no-repeat !important;\n  margin: 8px 8px 8px 0;\n}\n.ea-editor-property-control-complex-item-name {\n  font-size: 13px;\n  font-weight: 400;\n  text-overflow: ellipsis;\n  padding-right: 10px;\n  width: 100%;\n  white-space: nowrap;\n  color: #fff;\n  line-height: 1.39;\n  overflow: hidden;\n  user-select: none;\n}\n.ea-editor-property-control-complex-item-duplicate {\n  display: block;\n  width: 12px;\n  height: 12px;\n  padding: 13px 7px;\n  box-sizing: content-box;\n  margin-left: auto;\n  outline: none;\n}\n.ea-editor-property-control-complex-item-duplicate:hover svg {\n  fill: #dadadb;\n}\n.ea-editor-property-control-complex-item-duplicate svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #646668;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-remove {\n  display: block;\n  width: 12px;\n  height: 12px;\n  padding: 13px 7px;\n  box-sizing: content-box;\n  margin-right: -8px;\n  outline: none;\n}\n.ea-editor-property-control-complex-item-remove:hover svg {\n  fill: #dadadb;\n}\n.ea-editor-property-control-complex-item-remove svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #646668;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-remove-confirm {\n  position: absolute;\n  top: 0;\n  left: -24px;\n  right: -24px;\n  background: #303131;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  line-height: 40px;\n  height: 100%;\n  transform: translateX(100%);\n  transition: all 0.3s ease;\n  width: 100%;\n  padding: 0 24px;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-property-control-complex-item-removing .ea-editor-property-control-complex-item-remove-confirm {\n  transform: translateX(0);\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-property-control-complex-item-remove-confirm-label {\n  color: #fff;\n  font-size: 11px;\n  font-weight: 400;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions {\n  display: flex;\n  flex-direction: row;\n  margin-left: auto;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-yes,\n.ea-editor-property-control-complex-item-remove-confirm-actions-no {\n  box-sizing: border-box;\n  font-size: 10px;\n  font-weight: 500;\n  text-transform: uppercase;\n  border-radius: 3px;\n  cursor: pointer;\n  height: 20px;\n  line-height: 20px;\n  width: 40px;\n  text-align: center;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-yes {\n  color: #7e8184;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-yes:hover {\n  color: #fff;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-no {\n  color: #fff;\n  background: #404141;\n  margin-left: 6px;\n}\n.ea-editor-property-control-complex-item-remove-confirm-actions-no:hover {\n  background: #474848;\n}\n.ea-editor-property-control-complex-item-placeholder {\n  box-sizing: border-box;\n  border-radius: 3px;\n  border: 1px dashed #66686a;\n  height: 40px;\n  width: 288px;\n  margin: 0 0 12px;\n}\n.ea-editor-property-control-complex-add-new {\n  margin: 0;\n}\n.ea-editor-property-control-complex-add-new-disable {\n  pointer-events: none;\n}\n.ea-editor-property-control-complex-add-new-disable svg {\n  fill: rgba(255,255,255,0.3) !important;\n}\n.ea-editor-property-control-complex-add-new .ea-editor-property-control-complex-item-inner {\n  justify-content: center;\n  align-items: center;\n  text-transform: uppercase;\n  font-size: 10px;\n  font-weight: 500;\n  outline: none;\n  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;\n}\n.ea-editor-property-control-complex-add-new-transparent {\n  margin-top: -12px;\n}\n.ea-editor-property-control-complex-add-new-transparent .ea-editor-property-control-complex-item-inner {\n  background: transparent;\n}\n.ea-editor-property-control-complex-add-new-transparent:hover .ea-editor-property-control-complex-item-inner {\n  background: transparent;\n}\n.ea-editor-property-control-complex-add-new svg {\n  display: block;\n  width: 8px;\n  height: 8px;\n  fill: rgba(255,255,255,0.9);\n  transition: all 0.2s ease;\n  margin-right: 6px;\n}\n.ea-editor-property-control-complex-add-new-label {\n  color: rgba(255,255,255,0.9);\n  display: block;\n  transition: color 0.2s ease;\n}\n.ea-editor-property-control-complex-add-new-disable .ea-editor-property-control-complex-add-new-label {\n  color: rgba(255,255,255,0.3);\n}\n.ea-editor-property-control-complex-limit-exceed .ea-editor-property-control-complex-item-inner {\n  cursor: default;\n}\n.flatpickr-calendar{background:transparent;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px);}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none !important;box-shadow:none !important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.rightMost:after{left:auto;right:22px}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-months .flatpickr-month{background:transparent;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);}.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,.flatpickr-months .flatpickr-next-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-prev-month i,.flatpickr-months .flatpickr-next-month i{position:relative}.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,.flatpickr-months .flatpickr-next-month.flatpickr-prev-month{/*\n      /*rtl:begin:ignore*/left:0;/*\n      /*rtl:end:ignore*/}/*\n      /*rtl:begin:ignore*/\n/*\n      /*rtl:end:ignore*/\n.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,.flatpickr-months .flatpickr-next-month.flatpickr-next-month{/*\n      /*rtl:begin:ignore*/right:0;/*\n      /*rtl:end:ignore*/}/*\n      /*rtl:begin:ignore*/\n/*\n      /*rtl:end:ignore*/\n.flatpickr-months .flatpickr-prev-month:hover,.flatpickr-months .flatpickr-next-month:hover{color:#959ea9;}.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-prev-month svg,.flatpickr-months .flatpickr-next-month svg{width:14px;height:14px;}.flatpickr-months .flatpickr-prev-month svg path,.flatpickr-months .flatpickr-next-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto;}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%;}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-outer-spin-button,.numInputWrapper input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,0.15);-webkit-box-sizing:border-box;box-sizing:border-box;}.numInputWrapper span:hover{background:rgba(0,0,0,0.1)}.numInputWrapper span:active{background:rgba(0,0,0,0.2)}.numInputWrapper span:after{display:block;content:\"\";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0;}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,0.6);top:26%}.numInputWrapper span.arrowDown{top:50%;}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,0.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto;}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,0.05);}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0;}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\\0;display:inline-block;}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,0.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,0.9)}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,0.5);background:transparent;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:transparent;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:none;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto;}.flatpickr-current-month .flatpickr-monthDropdown-months:focus,.flatpickr-current-month .flatpickr-monthDropdown-months:active{outline:none}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:none;padding:0}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px;}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:transparent;color:rgba(0,0,0,0.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px;}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1;}.dayContainer + .dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(57,57,57,0.3);background:transparent;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,0.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left;}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,0.3);background:transparent;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-time:after{content:\"\";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left;}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;}.flatpickr-time input.flatpickr-hour{font-weight:bold}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:bold;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time input:hover,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time .flatpickr-am-pm:focus{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}\n.flatpickr-calendar {\n  font-family: 'Roboto', Arial, sans-serif;\n  -webkit-font-smoothing: antialiased;\n  width: 288px;\n}\n.flatpickr-calendar .flatpickr-months {\n  padding: 8px 0;\n}\n.flatpickr-calendar .flatpickr-days,\n.flatpickr-calendar .flatpickr-rContainer {\n  width: 100%;\n}\n.flatpickr-calendar .dayContainer {\n  width: 288px;\n  max-width: 288px;\n  min-width: 288px;\n}\n.flatpickr-calendar .flatpickr-current-month input.cur-year,\n.flatpickr-calendar .flatpickr-current-month span.cur-month {\n  font-size: 80%;\n}\n.flatpickr-calendar .flatpickr-months .flatpickr-prev-month,\n.flatpickr-calendar .flatpickr-months .flatpickr-next-month {\n  display: flex;\n  align-items: center;\n}\n.ea-editor-property-control-divider {\n  border-bottom: 1px solid #303131;\n  margin: 32px 0;\n}\n.ea-editor-property-control-file {\n  position: relative;\n  overflow: hidden;\n}\n.ea-editor-property-control-file input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  border: none;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-file-button {\n  box-sizing: border-box;\n  color: #fff;\n  background-color: #3f4141;\n  border-radius: 2px;\n  border: none;\n  outline: none;\n  cursor: pointer;\n  height: 28px;\n  width: 92px;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 16px;\n  display: flex;\n  align-items: center;\n  padding: 0 12px;\n  position: relative;\n}\n.ea-editor-property-control-file-button:hover {\n  background-color: #474848;\n}\n.ea-editor-property-control-file-button-text {\n  margin-left: 8px;\n}\n.ea-editor-property-control-file-button-loader {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  width: 12px;\n  height: 12px;\n  margin: -8px 0 0 -8px;\n  outline: none;\n  border: 2px solid #fff;\n  border-top: 2px solid transparent;\n  border-radius: 50%;\n  animation: button-loader 0.7s linear infinite;\n}\n.ea-editor-property-control-file-input[type=file] {\n  position: absolute;\n  opacity: 0;\n  cursor: pointer;\n  padding: 0;\n  width: 0;\n  height: 0;\n  z-index: -1;\n}\n.ea-editor-property-control-file-exists {\n  display: inline-flex;\n  align-items: center;\n  justify-content: space-between;\n  border-radius: 2px;\n  border: 1px solid rgba(255,255,255,0.2);\n  height: 28px;\n  padding: 6px 12px;\n  box-sizing: border-box;\n  max-width: 100%;\n  cursor: pointer;\n}\n.ea-editor-property-control-file-exists-name {\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  max-width: 100%;\n}\n.ea-editor-property-control-file-exists-delete {\n  cursor: pointer;\n  margin-left: 12px;\n  opacity: 0.2;\n}\n.ea-editor-property-control-file-exists-delete svg {\n  pointer-events: none;\n}\n.ea-editor-property-control-file-error {\n  font-size: 11px;\n  font-weight: 400;\n  margin-top: 4px;\n  opacity: 0.8;\n  color: #ff4734;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item {\n  height: 76px;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-placeholder {\n  width: 100%;\n  height: 76px;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-reorder svg {\n  fill: #aaa;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-inner {\n  height: 100%;\n  padding: 8px 12px;\n  cursor: auto;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item:hover .ea-editor-property-control-complex-item-inner {\n  background-color: #404141;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-image {\n  width: 100%;\n  height: 100%;\n  background-size: cover;\n  background-repeat: no-repeat;\n  background-position: center;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-image-container {\n  width: 60px;\n  height: 60px;\n  flex-shrink: 0;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-info {\n  margin-left: 12px;\n  width: 100%;\n  overflow: hidden;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-info-name {\n  line-height: 18px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-info-edit {\n  margin-top: 4px;\n  text-transform: uppercase;\n  font-size: 12px;\n  line-height: 17px;\n  opacity: 0.8;\n  transition: 0.3s ease all;\n  cursor: pointer;\n  display: inline-block;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-info-edit:hover {\n  opacity: 1;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-remove {\n  margin-left: auto;\n  cursor: pointer;\n}\n.ea-editor-property-control-file-multiple-files .ea-editor-property-control-complex-item-remove-confirm {\n  padding: 12px;\n  box-sizing: border-box;\n  left: 0;\n  right: 0;\n  height: 74px;\n}\n@-moz-keyframes button-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-webkit-keyframes button-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-o-keyframes button-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes button-loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.ea-editor-property-control-number input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n  border: none;\n}\n.ea-editor-property-control-number input:focus {\n  background: #2c2d2d;\n}\n.ea-editor-property-control-radio-item {\n  display: inline-flex;\n  margin: 0 0 6px;\n  width: 100%;\n  cursor: pointer;\n  position: relative;\n  align-items: center;\n  border-radius: 3px;\n  padding: 4px;\n  background: #404141;\n  transition: all 0.2s ease;\n  box-sizing: border-box;\n}\n.ea-editor-property-control-radio-item:hover {\n  background: #474848;\n}\n.ea-editor-property-control-radio-item-label {\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  padding: 5px 12px;\n  width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  box-sizing: border-box;\n  line-height: 1;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-radio-item-radio {\n  display: block;\n  cursor: pointer;\n  position: relative;\n  width: 14px;\n  height: 14px;\n}\n.ea-editor-property-control-radio-item-radio:before {\n  content: \"\";\n  position: absolute;\n  width: 14px;\n  height: 14px;\n  border-radius: 50%;\n  top: 0;\n  right: 0;\n  transition: background 0.1s ease;\n  background: #303131;\n}\n.ea-editor-property-control-radio-item-radio::after {\n  content: \"\";\n  position: absolute;\n  width: 10px;\n  height: 10px;\n  border-radius: 50%;\n  top: 50%;\n  left: 50%;\n  margin: -5px 0 0 -5px;\n  background: #fff;\n  opacity: 0;\n  visibility: hidden;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-radio-item-radio-wrapper {\n  width: 14px;\n  height: 14px;\n  padding: 5px;\n  box-sizing: content-box;\n}\n.ea-editor-property-control-radio-item-radio-wrapper input {\n  display: none !important;\n}\n.ea-editor-property-control-radio-item-radio-wrapper input:checked + .ea-editor-property-control-radio-item-radio::after {\n  visibility: visible;\n  opacity: 1;\n}\n.ea-editor-property-control-select {\n  position: relative;\n}\n.ea-editor-property-control-select-readonly input {\n  cursor: pointer;\n}\n.ea-editor-property-control-select-open > input {\n  border-radius: 3px 3px 0 0 !important;\n}\n.ea-editor-property-control-select input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 3px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n  border: none;\n  appearance: none;\n}\n.ea-editor-property-control-select input:focus {\n  background: #2c2d2d;\n}\n.ea-editor-property-control-select:after {\n  display: block;\n  content: '';\n  width: 7px;\n  height: 5px;\n  position: absolute;\n  right: 11px;\n  top: 50%;\n  transform: translateY(-50%);\n  background-image: url("+o(52)+');\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: 7px 5px;\n  pointer-events: none;\n}\n.ea-editor-property-control-select-dropdown {\n  position: absolute;\n  background: #fff;\n  width: 100%;\n  z-index: 10;\n  border: 1px solid #2c2d2d;\n  box-sizing: border-box;\n  overflow: hidden;\n  border-radius: 0 0 6px 6px;\n}\n.ea-editor-property-control-select-dropdown-options {\n  max-height: 192px;\n  overflow: auto;\n}\n.ea-editor-property-control-select-dropdown-options-item {\n  padding: 6px 16px;\n  transition: 0.3s all ease;\n  cursor: pointer;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  background: #fff;\n  line-height: 20px;\n  min-height: 20px;\n  box-sizing: border-box;\n  color: #111;\n}\n.ea-editor-property-control-select-dropdown-options-item:hover {\n  background: #eee;\n}\n.ea-editor-property-control-select-dropdown-options-item-selected {\n  background: #eee;\n}\n.ea-editor-property-control-select-dropdown-footer {\n  width: 100%;\n  box-sizing: border-box;\n  font-size: 13px;\n  font-weight: 400;\n  padding: 6px 6px;\n}\n.ea-editor-property-control-select-dropdown-footer-new {\n  position: relative;\n  margin-top: 6px;\n}\n.ea-editor-property-control-select-dropdown-footer-new-toggle {\n  padding: 4px 10px 0 10px;\n  color: #888;\n  font-size: 12px;\n  cursor: pointer;\n}\ninput.ea-editor-property-control-select-dropdown-footer-new-input {\n  padding: 6px 10px;\n  background-color: #eee;\n  color: #111;\n  font-size: 12px;\n}\ninput.ea-editor-property-control-select-dropdown-footer-new-input:focus {\n  background-color: #eee;\n}\n.ea-editor-property-control-select-dropdown-footer-new-button {\n  cursor: pointer;\n  display: inline-block;\n  position: absolute;\n  right: 0;\n  top: 0;\n  margin: 2px;\n  color: #fff;\n  font-size: 12px;\n  line-height: 16px;\n  padding: 6px 16px;\n  border-radius: 2px;\n  background: #38393a;\n  transform: scale(1);\n  transition: transform 0.3s;\n}\n.ea-editor-property-control-select-dropdown-footer-new-button:active {\n  transform: scale(0.95);\n}\n.ea-editor-property-control-select-dropdown-footer-new-button ~ input {\n  padding-right: 84px;\n  text-overflow: ellipsis;\n  overflow: hidden;\n}\n.ea-editor-property-control-select-inline-wrapper {\n  display: flex;\n  flex-direction: row;\n  box-sizing: border-box;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-select-inline-item {\n  display: block;\n  flex: 1;\n}\n.ea-editor-property-control-select-inline-item-label {\n  position: relative;\n  display: block;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 6px 12px;\n  z-index: 1;\n  border-radius: 2px;\n  cursor: pointer;\n  text-align: center;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-select-inline-item-label::after {\n  content: \'\';\n  display: block;\n  position: absolute;\n  top: 50%;\n  right: -0.5px;\n  height: 12px;\n  width: 1px;\n  margin-top: -6px;\n  background: #404141;\n}\n.ea-editor-property-control-select-inline-item:last-child .ea-editor-property-control-select-inline-item-label::after {\n  content: none;\n}\n.ea-editor-property-control-select-inline-item-radio {\n  position: absolute;\n  visibility: hidden;\n  opacity: 0;\n}\n.ea-editor-property-control-select-inline-item-radio:checked + .ea-editor-property-control-select-inline-item-label {\n  background: #fff;\n  color: #111;\n}\n.ea-editor-property-control-select-inline-item-radio:checked + .ea-editor-property-control-select-inline-item-label::after {\n  display: none;\n}\n.ea-editor-select-visual-control {\n  width: 100%;\n  height: 136px;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  border-radius: 2px;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  transition: all 0.1s ease;\n}\n.ea-editor-select-visual-control:hover .ea-editor-select-visual-control-trigger {\n  background-color: #474848;\n}\n.ea-editor-select-visual-control:hover .ea-editor-select-visual-control-trigger-arrow svg {\n  fill: #e8e8e8;\n}\n.ea-editor-select-visual-control-image {\n  max-width: 100%;\n  max-height: 100%;\n}\n.ea-editor-select-visual-control-image-container {\n  height: 64px;\n  margin-top: 8px;\n  margin-left: -29px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.ea-editor-select-visual-control-name {\n  color: #fff;\n  text-align: center;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  border-radius: 2px;\n  margin-top: 20px;\n  margin-left: -29px;\n}\n.ea-editor-select-visual-control-trigger {\n  position: absolute;\n  height: 100%;\n  width: 29px;\n  right: 0;\n  top: 0;\n  background-color: #404141;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-visual-control-trigger-arrow svg {\n  fill: #66686a;\n  display: block;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-visual-group {\n  display: flex;\n  flex-direction: column;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  bottom: 0;\n  transition: all 0.3s ease;\n  transform: translate(100%, 0);\n  background: #38393a;\n  box-shadow: 0 0 20px rgba(51,74,96,0.16);\n  z-index: 5;\n  margin-top: -56px;\n  padding-top: 56px;\n  box-shadow: -3px 0 15px rgba(0,0,0,0.05);\n}\n.ea-editor-select-visual-group-active {\n  transform: translate(0, 0);\n}\n.ea-editor-select-visual-group-header {\n  position: relative;\n  background: #38393a;\n  height: 56px;\n  line-height: 56px;\n  padding: 0 54px;\n  cursor: pointer;\n  outline: none;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-select-visual-group-back-button {\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 24px;\n  transform: translateY(-50%);\n}\n.ea-editor-select-visual-group-back-button svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #fff;\n}\n.ea-editor-select-visual-group-title {\n  color: #fff;\n  font-size: 18px;\n  font-weight: 400;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ea-editor-select-visual-group-content {\n  position: relative;\n  background: #38393a;\n  padding: 32px 24px;\n  overflow: auto;\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n}\n.editor-bottom-panel-show .ea-editor-select-visual-group-content {\n  margin-bottom: 135px;\n}\n.ea-editor-select-visual-group-option {\n  width: 100%;\n  height: 136px;\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  margin-bottom: 12px;\n  border-radius: 2px;\n  transition: box-shadow 0.2s ease, opacity 0.2s ease;\n  box-shadow: inset 0 0 0 1px transparent;\n  backface-visibility: hidden;\n}\n.ea-editor-select-visual-group-two-cols .ea-editor-select-visual-group-option {\n  width: 123px;\n  margin: 0 6px 12px;\n  height: 123px;\n}\n.ea-editor-select-visual-group-option:hover {\n  background-color: #2c2d2d;\n  box-shadow: inset 0 0 0 1px #fff;\n}\n.ea-editor-select-visual-group-option-image {\n  max-width: 100%;\n  max-height: 100%;\n}\n.ea-editor-select-visual-group-option-image-container {\n  height: 64px;\n  margin-top: 8px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.ea-editor-select-visual-group-option-selected {\n  background-color: #2c2d2d;\n  box-shadow: inset 0 0 0 1px #fff;\n}\n.ea-editor-select-visual-group-option-title {\n  color: #fff;\n  margin-top: 12px;\n  font-size: 13px;\n  line-height: 1;\n  font-weight: 400;\n  overflow: hidden;\n  text-align: center;\n  text-overflow: ellipsis;\n}\n.ea-editor-select-visual-group-option-radio {\n  width: 0;\n  height: 0;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-select-visual-group-content .ea-editor-select-visual-group-option-divider:first-child {\n  margin-top: 0;\n}\n.ea-editor-select-visual-group-content .ea-editor-select-visual-group-option-divider {\n  width: 100%;\n  background-color: transparent;\n  height: auto;\n  flex-direction: row;\n  justify-content: left;\n  margin-top: 24px;\n  margin-bottom: 12px;\n  cursor: auto;\n  pointer-events: none;\n}\n.ea-editor-select-visual-group-content .ea-editor-select-visual-group-option-divider .ea-editor-select-visual-group-option-title {\n  margin-top: 0;\n  color: #fff;\n  font-size: 12px;\n  font-weight: 500;\n  line-height: 12px;\n  text-transform: uppercase;\n  margin-bottom: 0;\n}\n.ea-editor-select-icons-control {\n  width: 100%;\n  height: 136px;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  border-radius: 2px;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  transition: all 0.1s ease;\n}\n.ea-editor-select-icons-control:hover .ea-editor-select-icons-control-trigger {\n  background-color: #474848;\n}\n.ea-editor-select-icons-control:hover .ea-editor-select-icons-control-trigger-arrow svg {\n  fill: #e8e8e8;\n}\n.ea-editor-select-icons-control-image {\n  max-width: 100%;\n  max-height: 100%;\n}\n.ea-editor-select-icons-control-image-container {\n  height: 64px;\n  margin-top: 8px;\n  margin-left: -29px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.ea-editor-select-icons-control-name {\n  color: #fff;\n  text-align: center;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  border-radius: 2px;\n  margin-top: 20px;\n  margin-left: -29px;\n}\n.ea-editor-select-icons-control-trigger {\n  position: absolute;\n  height: 100%;\n  width: 29px;\n  right: 0;\n  top: 0;\n  background-color: #404141;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-icons-control-trigger-arrow svg {\n  fill: #66686a;\n  display: block;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-icons-group {\n  display: flex;\n  flex-direction: column;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  bottom: 0;\n  transition: all 0.3s ease;\n  transform: translate(100%, 0);\n  background: #38393a;\n  box-shadow: 0 0 20px rgba(51,74,96,0.16);\n  z-index: 5;\n  margin-top: -56px;\n  padding-top: 56px;\n  box-shadow: -3px 0 15px rgba(0,0,0,0.05);\n}\n.ea-editor-select-icons-group-active {\n  transform: translate(0, 0);\n}\n.ea-editor-select-icons-group-header {\n  position: relative;\n  background: #38393a;\n  height: 56px;\n  line-height: 56px;\n  padding: 0 54px;\n  cursor: pointer;\n  outline: none;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-select-icons-group-back-button {\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 24px;\n  transform: translateY(-50%);\n}\n.ea-editor-select-icons-group-back-button svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #fff;\n}\n.ea-editor-select-icons-group-title {\n  color: #fff;\n  font-size: 18px;\n  font-weight: 400;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ea-editor-select-icons-group-content {\n  position: relative;\n  background: #38393a;\n  padding: 32px 24px;\n  overflow: auto;\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n  margin: -6px;\n  box-sizing: border-box;\n  width: 100%;\n}\n.editor-bottom-panel-show .ea-editor-select-icons-group-content {\n  margin-bottom: 135px;\n}\n.ea-editor-select-icons-group-option {\n  height: 45.59px;\n  width: calc(20% - 12px);\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  border-radius: 2px;\n  transition: box-shadow 0.2s ease, opacity 0.2s ease;\n  box-shadow: inset 0 0 0 1px transparent;\n  backface-visibility: hidden;\n  margin: 6px;\n}\n.ea-editor-select-icons-group-two-cols .ea-editor-select-icons-group-option {\n  width: 123px;\n  margin: 0 6px 12px;\n  height: 123px;\n}\n.ea-editor-select-icons-group-option:hover {\n  background-color: #2c2d2d;\n  box-shadow: inset 0 0 0 1px #fff;\n}\n.ea-editor-select-icons-group-option-image {\n  max-width: 100%;\n  max-height: 100%;\n}\n.ea-editor-select-icons-group-option-image-container {\n  height: 64px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.ea-editor-select-icons-group-option-selected {\n  background-color: #2c2d2d;\n  box-shadow: inset 0 0 0 1px #fff;\n}\n.ea-editor-select-icons-group-option-radio {\n  width: 0;\n  height: 0;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-select-icons-group-content .ea-editor-select-icons-group-option-divider:first-child {\n  margin-top: 0;\n}\n.ea-editor-select-icons-group-content .ea-editor-select-icons-group-option-divider {\n  width: 100%;\n  background-color: transparent;\n  height: auto;\n  flex-direction: row;\n  justify-content: left;\n  margin-top: 24px;\n  margin-bottom: 12px;\n  cursor: auto;\n  pointer-events: none;\n}\n.ea-editor-select-icons-group-content .ea-editor-select-icons-group-option-divider .ea-editor-select-icons-group-option-title {\n  margin-top: 0;\n  color: #fff;\n  font-size: 12px;\n  font-weight: 500;\n  line-height: 12px;\n  text-transform: uppercase;\n  margin-bottom: 0;\n}\n.ea-editor-select-user-control {\n  display: flex;\n  width: 100%;\n  height: 136px;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  border-radius: 2px;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  transition: all 0.1s ease;\n}\n.ea-editor-select-user-control:hover .ea-editor-select-visual-control-trigger {\n  background-color: #474848;\n}\n.ea-editor-select-user-control:hover .ea-editor-select-visual-control-trigger-arrow svg {\n  fill: #e8e8e8;\n}\n.ea-editor-select-user-control-image {\n  width: 100%;\n  height: 100%;\n  background-size: cover;\n  background-position: center;\n}\n.ea-editor-select-user-control-image-container {\n  height: 100px;\n  width: 100px;\n  margin-left: -29px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 2px;\n  overflow: hidden;\n}\n.ea-editor-select-user-control-name {\n  color: #fff;\n  text-align: center;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  border-radius: 2px;\n  margin-top: 20px;\n  margin-left: -29px;\n}\n.ea-editor-select-user-control-trigger {\n  position: absolute;\n  height: 100%;\n  width: 29px;\n  right: 0;\n  top: 0;\n  background-color: #404141;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-user-control-trigger-arrow svg {\n  fill: #66686a;\n  display: block;\n  transition: all 0.2s ease;\n}\n.ea-editor-select-user-group {\n  display: flex;\n  flex-direction: column;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  bottom: 0;\n  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);\n  transform: translate(-100%, 0);\n  background: #38393a;\n  box-shadow: 0 0 20px rgba(51,74,96,0.16);\n  z-index: 5;\n  margin-top: -56px;\n  padding-top: 56px;\n}\n.ea-editor-select-user-group-active {\n  transform: translate(0, 0);\n}\n.ea-editor-select-user-group-header {\n  position: relative;\n  background: #38393a;\n  height: 56px;\n  line-height: 56px;\n  padding: 0 54px;\n  cursor: pointer;\n  outline: none;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-select-user-group-back-button {\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 24px;\n  transform: translateY(-50%);\n}\n.ea-editor-select-user-group-back-button svg {\n  display: block;\n  width: 12px;\n  height: 12px;\n  fill: #fff;\n}\n.ea-editor-select-user-group-title {\n  color: #fff;\n  font-size: 18px;\n  font-weight: 400;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ea-editor-select-user-group-content {\n  position: relative;\n  background: #38393a;\n  padding: 12px 24px;\n  overflow: auto;\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n}\n.editor-bottom-panel-show .ea-editor-select-user-group-content {\n  margin-bottom: 135px;\n}\n.ea-editor-select-user-group-content-filters {\n  width: 100%;\n  padding: 20px;\n  box-sizing: border-box;\n  border-bottom: 1px solid #303131;\n}\n.ea-editor-select-user-group-content-filters .ea-editor-property-control-radio-item {\n  box-sizing: border-box;\n}\n.ea-editor-select-user-group-option {\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n  overflow: hidden;\n  cursor: pointer;\n  background-color: #303131;\n  position: relative;\n  transition: border 0.2s ease, opacity 0.2s ease;\n  border: 1px solid transparent;\n  backface-visibility: hidden;\n  width: 123px;\n  margin: 0 6px 12px;\n  height: 123px;\n  box-sizing: border-box;\n  border-radius: 4px;\n}\n.ea-editor-select-user-group-option:hover {\n  background-color: #2c2d2d;\n}\n.ea-editor-select-user-group-option-image {\n  width: 100%;\n  height: 100%;\n  background-size: cover;\n  background-position: center;\n}\n.ea-editor-select-user-group-option-image-container {\n  width: 100px;\n  height: 100px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 2px;\n  overflow: hidden;\n}\n.ea-editor-select-user-group-option-selected {\n  background-color: #2c2d2d;\n  border-color: #fff;\n}\n.ea-editor-select-user-group-option-radio {\n  width: 0;\n  height: 0;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-property-control-slider {\n  position: relative;\n}\n.ea-editor-property-control-slider-labels {\n  display: flex;\n  position: absolute;\n  justify-content: space-between;\n  width: 100%;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n}\n.ea-editor-property-control-slider .rzslider .rz-bubble {\n  color: #fff;\n  font-size: 13px;\n}\n.ea-editor-property-control-slider .rzslider .rz-bar {\n  background: #303131;\n}\n.ea-editor-property-control-slider .rzslider .rz-pointer {\n  top: -4px;\n  width: 12px;\n  height: 12px;\n  background-color: #fff;\n  outline: none;\n}\n.ea-editor-property-control-slider .rzslider .rz-pointer:after {\n  background: #303131;\n  top: 4px;\n  left: 4px;\n  width: 4px;\n  height: 4px;\n}\n.ea-editor-property-control-static-html img {\n  max-width: 100%;\n}\n.ea-editor-property-subgroup {\n  margin: 12px 0;\n}\n.ea-editor-property-subgroup:first-child {\n  margin-top: 0;\n}\n.ea-editor-property-subgroup:last-child {\n  margin-bottom: 0;\n}\n.ea-editor-property-control-subgroup {\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  box-sizing: border-box;\n  cursor: pointer;\n  background: #404141;\n  padding: 0 16px;\n  line-height: 32px;\n  height: 32px;\n  border-radius: 2px;\n  margin-bottom: -2px;\n  outline: none;\n  transition: all 0.1s ease;\n  margin: 12px 0;\n}\n.ea-editor-property-control-subgroup:hover {\n  background: #474848;\n}\n.ea-editor-property-control-subgroup:hover .ea-editor-property-control-subgroup-icon svg {\n  fill: #fff;\n}\n.ea-editor-property-control-subgroup-name {\n  font-size: 13px;\n  font-weight: 400;\n  color: #fff;\n}\n.ea-editor-property-control-subgroup-icon {\n  position: absolute;\n  width: 12px;\n  height: 12px;\n  top: 50%;\n  right: 7px;\n  transform: translateY(-50%);\n}\n.ea-editor-property-control-subgroup-icon svg {\n  display: block;\n  fill: #a7a7a7;\n  transition: all 0.2s ease;\n}\n.ea-editor-property-control-tags-input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n  border: none;\n}\n.ea-editor-property-control-tags-input:focus {\n  background-color: #2c2d2d;\n}\n.ea-editor-property-control-tags-wrapper {\n  box-sizing: border-box;\n  width: 100%;\n}\n.ea-editor-property-control-tags-list {\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n  width: 100%;\n}\n.ea-editor-property-control-tags-item {\n  position: relative;\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  border-radius: 2px;\n  border: 1px solid rgba(255,255,255,0.5);\n  height: 28px;\n  line-height: 28px;\n  padding: 0 28px 0 10px;\n  margin: 7px 7px 0 0;\n  max-width: 100%;\n  overflow: hidden;\n}\n.ea-editor-property-control-tags-item-label {\n  line-height: 26px;\n  max-width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n.ea-editor-property-control-tags-item-remove {\n  position: absolute;\n  top: 0;\n  right: 0;\n  width: 8px;\n  height: 8px;\n  cursor: pointer;\n  outline: none;\n  opacity: 0.7;\n  padding: 9px 10px;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-tags-item-remove svg {\n  display: block;\n}\n.ea-editor-property-control-text {\n  position: relative;\n}\n.ea-editor-property-control-text input {\n  box-sizing: border-box;\n  color: #fff !important;\n  background: #303131 !important;\n  font-size: 13px;\n  font-weight: 400;\n  border-radius: 2px;\n  border: none;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-text input:focus {\n  background-color: #2c2d2d !important;\n}\n.ea-editor-property-control-text input:disabled {\n  background-color: #404141 !important;\n}\n.ea-editor-property-control-text-label {\n  display: flex;\n  justify-content: space-between;\n}\n.ea-editor-property-control-text-max-length-current {\n  font-size: 11px;\n  font-weight: 600;\n  color: #b2b4b7;\n}\n.ea-editor-property-control-text-button {\n  display: inline-block;\n  position: absolute;\n  right: 0;\n  top: 0;\n  margin: 2px;\n  color: #111;\n  background: #fff;\n  font-size: 13px;\n  line-height: 16px;\n  padding: 6px 16px;\n  border-radius: 2px;\n  cursor: pointer;\n  transform: scale(1);\n  transition: transform 0.3s;\n}\n.ea-editor-property-control-text-button:active {\n  transform: scale(0.95);\n}\n.ea-editor-property-control-text-button ~ input {\n  padding-right: 84px;\n  text-overflow: ellipsis;\n  overflow: hidden;\n}\n.ea-editor-property-control-text-error {\n  display: inline-block;\n  color: #ff4f4f;\n  font-size: 10px;\n  font-weight: 500;\n  padding: 4px 0;\n  margin-top: 8px;\n}\n.ea-editor-property-control-textarea textarea {\n  box-sizing: border-box;\n  color: #fff;\n  font-family: \'Roboto\', Arial, sans-serif;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  outline: none;\n  overflow: hidden !important;\n  padding: 10px 16px;\n  min-height: 74px;\n  resize: none;\n  border: none;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-textarea textarea:focus {\n  background-color: #2c2d2d;\n}\n.ea-editor-property-control-textarea p {\n  font-size: 13px;\n  color: #fff;\n}\n.ea-editor-property-control-textarea h1,\n.ea-editor-property-control-textarea h2,\n.ea-editor-property-control-textarea h3,\n.ea-editor-property-control-textarea h4 {\n  font-size: 16px;\n  color: #fff;\n}\n.ea-editor-property-control-textarea-fixed-min-height .jodit_container {\n  min-height: auto !important;\n}\n.ea-editor-property-control-textarea-fixed-min-height .jodit_workplace,\n.ea-editor-property-control-textarea-fixed-min-height .jodit_wysiwyg {\n  min-height: 40px !important;\n}\n.ea-editor-property-control-textarea .jodit_container * {\n  line-height: inherit;\n  margin-bottom: inherit;\n}\n.ea-editor-property-control-textarea .jodit_container .jodit_source {\n  margin: 0;\n  min-height: 200px;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) {\n  background: none;\n  line-height: inherit;\n  margin-bottom: inherit;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form {\n  margin: 0;\n  padding: 20px;\n  box-sizing: border-box;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=text] {\n  border-radius: 2px;\n  border: none;\n  background: #3f4141;\n  color: #fff;\n  margin-top: 0;\n  margin-bottom: 12px;\n  box-sizing: border-box;\n  font-size: 13px;\n  font-weight: 400;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=text]:focus {\n  background-color: #2c2d2d;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox] {\n  transition: none;\n  margin-right: 4px;\n  border: none;\n  box-shadow: none;\n  top: 0;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:focus {\n  box-shadow: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:after {\n  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…4zLTAuMi0wLjRDMTAuMSwzLjIsMTAsMy4xLDkuOSwzLjF6Ii8+DQoJPC9nPg0KPC9zdmc+DQo=");\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: 12px;\n  transition: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:checked:after {\n  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEyIDEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMiAxMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KCTxnPg0KCQk8cGF0aCBzdHlsZT0iZmlsbDojZmZmZmZmOyIgZD0iTTkuOSwzLjFjLTAuMiwwLTAuMywwLTAuNCwwLjJMNS4zLDcuNUwzLjQsNS42QzMuMyw1LjUsMy4xLDUuNCwzLDUuNWMtMC4xLDAtMC4zLDAuMS0wLjQsMC4yQzIuNSw1LjcsMi40LDUuOSwyLjQsNg0KCQkJYzAsMC4yLDAsMC4zLDAuMiwwLjRsMi4zLDIuM0M1LDguOCw1LjEsOC45LDUuMyw4LjljMC4xLDAsMC4zLTAuMSwwLjQtMC4ybDQuNi00LjZjMC4xLTAuMSwwLjItMC4zLDAuMi0wLjQNCgkJCWMwLTAuMS0wLjEtMC4zLTAuMi0wLjRDMTAuMSwzLjIsMTAsMy4xLDkuOSwzLjF6Ii8+DQoJPC9nPg0KPC9zdmc+DQo=");\n  background-color: #3f4141;\n  border: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:checked:before {\n  content: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form label {\n  font-size: 13px;\n  font-weight: 400;\n  cursor: pointer;\n  height: 16px;\n  display: flex;\n  align-items: center;\n  margin-top: 12px;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form button {\n  box-sizing: border-box;\n  color: #fff;\n  background-color: #3f4141;\n  border-radius: 2px;\n  border: none;\n  outline: none;\n  cursor: pointer;\n  height: 28px;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 16px;\n  display: flex;\n  align-items: center;\n  padding: 0 12px;\n  position: relative;\n  margin: 0;\n  margin-left: auto;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_workplace {\n  border: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_workplace .jodit_wysiwyg {\n  box-sizing: border-box;\n  color: #fff;\n  font-family: \'Roboto\', Arial, sans-serif;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 2px;\n  width: 100%;\n  outline: none;\n  overflow: hidden !important;\n  padding: 10px 16px;\n  min-height: 74px;\n  resize: none;\n  border: none;\n  transition: all 0.1s ease;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_workplace .jodit_wysiwyg a {\n  color: #1c91ff;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar {\n  background: #404141;\n  border: none;\n  box-shadow: none;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_popup {\n  border-radius: 4px;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn {\n  cursor: auto;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn:not(.jodit_toolbar-input):hover,\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn>a:hover,\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn.jodit_active {\n  background-color: #6b6b6b;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn:not(.jodit_toolbar-input):hover .jodit_icon,\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn>a:hover .jodit_icon,\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn.jodit_active .jodit_icon {\n  fill: #fff;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn .jodit_icon {\n  fill: #fff;\n  backface-visibility: hidden;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn a {\n  cursor: pointer;\n}\n.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar .jodit_with_dropdownlist .jodit_with_dropdownlist-trigger {\n  border-top-color: #fff;\n}\n\n\n.jodit,.jodit *,.jodit_container,.jodit_container *{box-sizing:border-box}.jodit .jodit_workplace,.jodit_container .jodit_workplace{position:relative;overflow:auto}.jodit .jodit_workplace .jodit_wysiwyg,.jodit .jodit_workplace .jodit_wysiwyg_iframe,.jodit_container .jodit_workplace .jodit_wysiwyg,.jodit_container .jodit_workplace .jodit_wysiwyg_iframe{height:100%;width:100%}.jodit_container:not(.jodit_inline){background:#fff;font-size:14px;font-family:Helvetica,sans-serif,Arial}.jodit_container:not(.jodit_inline).jodit_disabled{background:hsla(0,0%,88.2%,.99)}.jodit_container:not(.jodit_inline).jodit_disabled .jodit_workplace{opacity:.4}.jodit_container:not(.jodit_inline) .jodit_workplace{border:1px solid #ccc}.jodit_disabled{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.jodit_hidden{display:none!important}.jodit_wysiwyg{outline:0}.jodit_wysiwyg::-moz-selection,.jodit_wysiwyg ::-moz-selection{background:#b5d6fd;color:#000}.jodit_wysiwyg::selection,.jodit_wysiwyg ::selection{background:#b5d6fd;color:#000}.jodit_container:not(.jodit_inline) .jodit_wysiwyg{margin:0;padding:10px;outline:0;overflow-x:auto;position:relative}.jodit_container:not(.jodit_inline) .jodit_wysiwyg img{position:relative;max-width:100%}.jodit_container:not(.jodit_inline) .jodit_wysiwyg p,.jodit_container:not(.jodit_inline) .jodit_wysiwyg pre{margin:0 0 10px}.jodit_container:not(.jodit_inline) .jodit_wysiwyg h1,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h2,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h3,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h4,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h5{margin-top:0}.jodit_container:not(.jodit_inline) .jodit_wysiwyg blockquote{border-left:2px solid #222;margin-left:0;padding-left:5px;color:#222}.jodit_container:not(.jodit_inline) .jodit_wysiwyg jodit-media{position:relative}.jodit_container:not(.jodit_inline) .jodit_wysiwyg jodit-media *{position:relative;z-index:0}.jodit_container:not(.jodit_inline) .jodit_wysiwyg jodit-media:before{z-index:1;content:"";position:absolute;top:0;left:0;right:0;bottom:0}.jodit_clearfix:after,.jodit_clearfix:before{content:" ";display:table}.jodit_clearfix:after{clear:both}.jodit_dark_theme.jodit_container,.jodit_dark_theme.jodit_container.jodit_disabled,.jodit_dark_theme .jodit_toolbar_list>.jodit_toolbar{background-color:#575757}.jodit_dark_theme .jodit_workplace{border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_statusbar{background-color:rgba(95,92,92,.8);border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_statusbar,.jodit_dark_theme .jodit_statusbar .jodit_statusbar_item span{color:#d1cccc}.jodit_dark_theme .jodit_toolbar_popup,.jodit_dark_theme .jodit_toolbar_popup-inline,.jodit_dark_theme .jodit_toolbar_popup-inline:before,.jodit_dark_theme .jodit_toolbar_popup:before{background:#575757}.jodit_dark_theme .jodit_toolbar{background:#5f5c5c;border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn>a{color:#d1cccc}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn>a:hover{background-color:#575757}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_toolbar_btn-break{border-top-color:#686767}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_toolbar_btn-separator{border-right-color:#686767}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn:active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn:hover{background-color:#575757}.jodit_dark_theme .jodit_icon,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{fill:silver}.jodit_dark_theme .jodit_wysiwyg,.jodit_dark_theme .jodit_wysiwyg_iframe{background-color:#575757;color:#d1cccc}.jodit_dark_theme .jodit_wysiwyg [data-jodit-selected-cell],.jodit_dark_theme .jodit_wysiwyg_iframe [data-jodit-selected-cell]{border-color:#152f5f}.jodit_dark_theme .jodit_dropdownlist{background:#5f5c5c}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a{background-color:#686767;color:#d1cccc}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a:hover{background-color:rgba(104,103,103,.8);color:#d1cccc;border-color:rgba(104,103,103,.9)}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a.active{background:rgba(81,81,81,.41);border-color:#686767}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a svg{fill:silver}.jodit_dark_theme .jodit_form input[type=text],.jodit_dark_theme .jodit_form input[type=url],.jodit_dark_theme .jodit_form textarea{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_dark_theme .jodit_form button{background-color:rgba(104,103,103,.75);color:#d1cccc}.jodit_dark_theme .jodit_placeholder{color:hsla(0,5.2%,81%,.8)}.jodit_dark_theme .jodit_draganddrop_file_box,.jodit_dark_theme .jodit_uploadfile_button{color:#d1cccc}.jodit_dark_theme .jodit_draganddrop_file_box:hover,.jodit_dark_theme .jodit_uploadfile_button:hover{background-color:rgba(104,103,103,.75)}.jodit_dark_theme .jodit-add-new-line:before{border-top-color:#686767}.jodit_dark_theme .jodit-add-new-line span{background:rgba(104,103,103,.75);border-color:#686767}.jodit_dark_theme .jodit-add-new-line span svg{fill:#d1cccc}.jodit_dark_theme .jodit_resizer>i{background:rgba(104,103,103,.75);border-color:silver}.jodit_btn{font-family:Helvetica,sans-serif,Arial;border:1px solid #ccc;border-radius:0;background-color:#f5f5f5;background-image:linear-gradient(180deg,#fff,#e6e6e6);text-shadow:0 1px 1px hsla(0,0%,100%,.75);color:#333;background-repeat:repeat-x;outline:0;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_btn:hover{background-color:#e6e6e6;background-position:0 -15px;text-decoration:none}.jodit_btn.jodit_btn_success{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:linear-gradient(180deg,#62c462,#51a351);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_success svg{fill:#fff}.jodit_btn.jodit_btn_success:hover{background-color:#51a351}.jodit_btn.jodit_btn_danger{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:linear-gradient(180deg,#ee5f5b,#bd362f);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_danger svg{fill:#fff}.jodit_btn.jodit_btn_danger:hover{background-color:#bd362f}.jodit_btn.jodit_btn_inverse{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:linear-gradient(180deg,#444,#222);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_inverse svg{fill:#fff}.jodit_btn.jodit_btn_inverse:hover{background-color:#222}.jodit_btn.active,.jodit_btn:active{background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.jodit_btn_group{font-size:0;vertical-align:middle}.jodit_btn_group input{display:none}.jodit_btn_group button{float:left}.jodit_btn_group button+button{margin-left:-1px}.jodit_btn_group button:first-child,.jodit_btn_group input:first-child+button{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.jodit_btn_group button:last-child,.jodit_btn_group input:last-child+button{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.jodit_btn_group:after{content:"";clear:both;float:none;display:table}.jodit_context_menu{font-family:Helvetica,sans-serif,Arial;display:none;background:#fff;position:absolute;min-width:150px;box-shadow:0 0 5px 0 rgba(0,0,0,.24);z-index:2222224}.jodit_context_menu a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-bottom:1px solid hsla(0,0%,80%,.24);text-decoration:none!important;color:#727272;height:38px}.jodit_context_menu a svg{float:left;display:block;width:18px;height:38px;margin:0 10px;fill:#727272}.jodit_context_menu a span{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:10px;border-left:1px solid hsla(0,0%,80%,.24);box-sizing:border-box;height:38px}.jodit_context_menu a:hover{background-color:#e3e3e3;color:#000}.jodit_context_menu a:hover .jodit_icon{fill:#000}.jodit_context_menu a:last-child{border:0}.jodit_context_menu-show{display:block}.jodit_dialog_box{font-family:Helvetica,sans-serif,Arial;box-sizing:border-box;display:none;width:0;height:0;border:0;position:absolute;will-change:left,top,width,height}.jodit_dialog_box.jodit_dialog_box-moved{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_dialog_box *{box-sizing:border-box}.jodit_dialog_box .jodit_elfinder,.jodit_dialog_box .jodit_elfinder *{box-sizing:initial}.jodit_dialog_box .jodit_dialog_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:2222222;text-align:center;white-space:nowrap;overflow:auto;display:none;background-color:rgba(0,0,0,.5)}.jodit_dialog_box.active,.jodit_dialog_box.jodit_modal .jodit_dialog_overlay{display:block}.jodit_dialog_box .jodit_dialog{z-index:2222223;display:inline-block;vertical-align:middle;white-space:normal;text-align:left;position:fixed;left:0;top:0;background-color:#fff;box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);min-width:200px;min-height:100px}@media (max-width:480px){.jodit_dialog_box .jodit_dialog{max-width:100%;width:100%!important;height:100%!important;top:0!important;left:0!important}}.jodit_dialog_box .jodit_dialog .jodit_promt{max-width:300px;min-width:200px;padding:10px;word-break:break-all}.jodit_dialog_box .jodit_dialog .jodit_promt label{margin-bottom:5px;display:block}.jodit_dialog_box .jodit_dialog .jodit_promt input[type=text]{display:block;border:1px solid #ccc;background:#fff;width:100%;height:28px;line-height:16px;padding:3px 6px;outline:none}.jodit_dialog_box .jodit_dialog .jodit_alert{max-width:300px;min-width:200px;padding:10px;word-break:break-all}.jodit_dialog_box .jodit_dialog .jodit_button{padding:0;margin:0;border:0;display:inline-block;vertical-align:top;width:32px;height:48px;line-height:48px;text-align:center;cursor:pointer;text-decoration:none}.jodit_dialog_box .jodit_dialog .jodit_button:not(.disabled):hover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_button.disabled{opacity:.7}.jodit_dialog_box .jodit_dialog .jodit_input{border:1px solid #ccc;padding:5px 10px;background-color:#fff;outline:0;font:13px Arial;height:28px;vertical-align:middle}.jodit_dialog_box .jodit_dialog select.jodit_input{width:75px}.jodit_dialog_box .jodit_dialog .jodit_button .jodit_icon,.jodit_dialog_box .jodit_dialog .jodit_button svg,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_icon,.jodit_dialog_box .jodit_dialog .jodit_dialog_header svg{width:16px;height:16px;display:inline-block;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;text-align:left;color:#222;box-shadow:0 1px 3px rgba(0,0,0,.16),0 1px 2px rgba(0,0,0,.23);cursor:move;height:48px;overflow:hidden}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-toolbar{-ms-flex-negative:3;flex-shrink:3;font-size:18px;margin:0;font-weight:400;line-height:48px;vertical-align:top;padding:0 10px}@media (max-width:480px){.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-toolbar{padding-left:0}}.jodit_dialog_box .jodit_dialog .jodit_dialog_header button{margin-right:10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-button{color:#222;font-size:28px;transition:background-color .2s ease 0s;-ms-flex-preferred-size:48px;flex-basis:48px;height:48px;line-height:48px;text-decoration:none;text-align:center}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-button:hover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar{background:transparent;display:block;height:100%;border:0;box-shadow:none}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn{vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn input[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn input[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn input[type=url],.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn select{padding-left:10px;width:auto}.jodit_dialog_box .jodit_dialog .jodit_dialog_content{height:calc(100% - 48px);overflow:auto}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group{margin-bottom:10px;padding:0 10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group:first-child{margin-top:10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]{display:block;height:34px;padding:6px 4px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select[disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select[disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url][disabled]{background-color:#f0f0f0;color:#ccc}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]:not([class*=col-]){width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group{display:table;border-collapse:separate;width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>*{vertical-align:middle;display:table-cell;height:34px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>input{float:left;margin:0!important}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>input:not([class*=col-]){width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group-buttons{width:1%;font-size:0;white-space:nowrap;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group-buttons>a{text-align:center;display:inline-block;border:1px solid #ccc;margin-left:-1px;position:relative;height:34px;line-height:34px}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer{padding:10px 10px 0;text-align:center;height:48px;display:none}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button{width:auto;margin-bottom:10px;height:32px;line-height:100%;padding:0 15px;background-color:#ccc;border:1px solid #ccc;color:#000;font-size:0}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:before{content:"";display:inline-block;vertical-align:middle;height:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button svg{display:inline-block;width:24px;height:24px;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button span{display:inline-block;vertical-align:middle;font-size:14px;margin-left:5px}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:focus{border:1px solid #8bade4;outline:1px solid #82b2e8}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:nth-child(n+2){margin-left:10px}.jodit_dialog_box .jodit_dialog.with_footer .jodit_dialog_content{height:calc(100% - 96px)}.jodit_dialog_box .jodit_dialog.with_footer .jodit_dialog_footer{display:block}.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer{position:absolute;bottom:0;right:0;cursor:se-resize;width:7px;height:7px;display:inline-block;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpilJGRYcACIoB4ORMuCSCOZMIlga4TRQJZJ4YETCdWCSBmZMIlATIOIMAAEyAPt4RnNx0AAAAASUVORK5CYII=")}.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer:hover{border-color:rgba(0,0,0,.6)}@media (max-width:480px){.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer{display:none}}.jodit_dialog_box.jodit_fullsize .jodit_dialog{top:0!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:100%!important}.jodit_dialog_box.jodit_fullsize .jodit_dialog .jodit_dialog_resizer{display:none}@media (max-width:768px){.jodit_dialog_header .jodit_input,.jodit_dialog_header .jodit_toolbar_btn-filter,.jodit_dialog_header .jodit_toolbar_btn-separator,.jodit_dialog_header .jodit_toolbar_btn-sort,.jodit_dialog_header_fullsize,.jodit_dialog_header_title{display:none!important}}.jodit_toolbar_list>.jodit_toolbar{max-height:400px;overflow:auto;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);padding:0;margin:auto;text-align:left;box-sizing:border-box;transition:max-height .2s ease 0s;margin-top:0!important;list-style-type:none;font-size:16px;z-index:10000;position:absolute;left:0;top:100%}.jodit_toolbar_list>.jodit_toolbar,.jodit_toolbar_list>.jodit_toolbar .jodit_toolbar{background:#f9f9f9}.jodit_toolbar_list>.jodit_toolbar blockquote,.jodit_toolbar_list>.jodit_toolbar h1,.jodit_toolbar_list>.jodit_toolbar h2,.jodit_toolbar_list>.jodit_toolbar h3,.jodit_toolbar_list>.jodit_toolbar h4,.jodit_toolbar_list>.jodit_toolbar h5,.jodit_toolbar_list>.jodit_toolbar p,.jodit_toolbar_list>.jodit_toolbar pre{font-family:Helvetica,sans-serif,Arial;margin:0;padding:0;font-weight:400}.jodit_toolbar_list>.jodit_toolbar h5{font-size:.8em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar h3{font-size:1.31em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar h4,.jodit_toolbar_list>.jodit_toolbar p{font-size:1em;line-height:1.5em}.jodit_toolbar_list>.jodit_toolbar h2{font-size:1.74em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar h1{font-size:2.17em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar blockquote,.jodit_toolbar_list>.jodit_toolbar pre{font-family:monospace}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn{display:block;cursor:pointer;white-space:nowrap;color:inherit;text-decoration:none;width:100%;height:auto;box-sizing:border-box;text-align:left}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a{background-image:none;padding:7px 24px;cursor:pointer;line-height:100%;width:auto;height:auto;display:block}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a>span{display:inline-block}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a:hover{background-color:#f3f0f0}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a:after{display:none}.jodit_toolbar[dir=rtl] .jodit_toolbar_list>.jodit_toolbar,.jodit_toolbar[dir=rtl] .jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn{text-align:right}.jodit_filebrowser{font-family:Helvetica,sans-serif,Arial;height:100%;display:-ms-flexbox;display:flex}.jodit_filebrowser_no_files{padding:10px}@media (max-width:480px){.jodit_filebrowser{-ms-flex-direction:column;flex-direction:column;-ms-flex-flow:column-reverse;flex-flow:column-reverse}}.jodit_filebrowser_loader{height:100%;width:100%;position:absolute;top:0;left:0}.jodit_filebrowser_loader i{position:absolute;top:50%;left:50%;margin-top:-24px;margin-left:-24px;font-style:normal;opacity:.7}.jodit_filebrowser_status{position:absolute;font-size:12px;padding:6px;text-align:right;border-top:1px solid hsla(0,0%,49.8%,.4);left:0;right:0;bottom:0;background-color:#4a4a4a;visibility:hidden;opacity:0;transition:opacity .3s linear;color:#b38888;word-break:break-all}.jodit_filebrowser_status.success{color:#c5c5c5}.jodit_filebrowser_status.active{visibility:visible;opacity:1}.jodit_filebrowser_files,.jodit_filebrowser_tree{display:none;vertical-align:top;height:100%;position:relative}.jodit_filebrowser_files.active,.jodit_filebrowser_tree.active{display:-ms-flexbox;display:flex}.jodit_filebrowser_files::-webkit-scrollbar,.jodit_filebrowser_tree::-webkit-scrollbar{width:5px}.jodit_filebrowser_files::-webkit-scrollbar-track,.jodit_filebrowser_tree::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit_filebrowser_files::-webkit-scrollbar-thumb,.jodit_filebrowser_tree::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit_filebrowser_tree.active{-ms-flex-direction:column;flex-direction:column;width:31%;min-width:200px;max-width:290px;z-index:2;background-color:#3f3f3f;overflow-y:auto}@media (max-width:480px){.jodit_filebrowser_tree.active{max-width:100%;width:auto;height:100px}}.jodit_filebrowser_tree.active::-webkit-scrollbar{width:5px}.jodit_filebrowser_tree.active::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit_filebrowser_tree.active::-webkit-scrollbar-thumb{background-color:hsla(0,0%,49.8%,.5);outline:1px solid #708090}.jodit_filebrowser_tree.active .jodit_filebrowser_source_title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;padding:10px;color:#969696;border-bottom:1px solid #484848;line-height:17px;min-height:38px;position:relative;word-break:break-all;background:#5a5a5a;font-size:16px}.jodit_filebrowser_tree.active .jodit_filebrowser_tree_item{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;min-height:38px;padding:5px 10px;text-decoration:none;color:#b1b1b1;transition:background-color .2s ease 0s;border-bottom:1px solid #474747;position:relative;word-break:break-all}.jodit_filebrowser_tree.active .jodit_filebrowser_tree_item_title{-ms-flex:1;flex:1}.jodit_filebrowser_tree.active .jodit_filebrowser_tree_item .jodit_icon_folder{margin-left:5px;width:16px;height:16px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;opacity:.3}.jodit_filebrowser_tree.active .jodit_filebrowser_tree_item .jodit_icon_folder svg{width:12px;height:12px;stroke:#b1b1b1!important;fill:#b1b1b1!important}.jodit_filebrowser_tree.active .jodit_filebrowser_tree_item .jodit_icon_folder:hover{background:#696969}.jodit_filebrowser_tree.active .jodit_filebrowser_tree_item:hover{color:#222;background-color:#ecebe9}.jodit_filebrowser_tree.active .jodit_filebrowser_tree_item:hover i.jodit_icon_folder{opacity:.6}.jodit_filebrowser_tree.active .jodit_button{cursor:pointer;background:#696969;text-align:center;width:auto;height:38px;color:#969696;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:14px}.jodit_filebrowser_tree.active .jodit_button svg{margin:0 5px;fill:#969696}.jodit_filebrowser_tree.active .jodit_button:not(.disabled):hover{background-color:#ecebe9}.jodit_filebrowser_tree.active .jodit_button.disabled,.jodit_filebrowser_tree.active .jodit_button:hover i{opacity:.7}.jodit_filebrowser_files.active{width:100%;overflow-y:auto;padding:5px;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start}.jodit_filebrowser_files.active .jodit_filebrowser_source_title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:-10px -10px 0;display:block;padding:10px;line-height:17px;min-height:38px;position:relative;word-break:break-all;background:#5a5a5a;font-size:16px;color:#969696}.jodit_filebrowser_files.active a+.jodit_filebrowser_source_title{margin-top:10px}.jodit_filebrowser_files.active .jodit_filebrowser_files_item{width:150px;height:150px;line-height:150px;text-align:center;border:1px solid #ccc;margin:5px;font-size:0;overflow:hidden;transition:border .1s linear,bottom .1s linear;position:relative}@media (max-width:480px){.jodit_filebrowser_files.active .jodit_filebrowser_files_item{width:calc(50% - 10px)}}.jodit_filebrowser_files.active .jodit_filebrowser_files_item img{max-width:100%;vertical-align:middle}.jodit_filebrowser_files.active .jodit_filebrowser_files_item:hover{border-color:#433b5c}.jodit_filebrowser_files.active .jodit_filebrowser_files_item-active-true{border-color:#1e88e5;background-color:#b5b5b5}.jodit_filebrowser_files.active .jodit_filebrowser_files_item-info{position:absolute;right:0;left:0;bottom:0;white-space:normal;opacity:.85;overflow:visible;padding:.3em .6em;transition:opacity .4s ease;background-color:#e9e9e9;color:#333;text-shadow:#eee 0 1px 0;font-size:14px;line-height:16px;text-align:left}.jodit_filebrowser_files.active .jodit_filebrowser_files_item-info>span{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.75em}.jodit_filebrowser_files.active .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filename{font-weight:700;font-size:.9em}.jodit_filebrowser_files.active .jodit_filebrowser_files_item-active-true .jodit_filebrowser_files_item-info{background-color:#b5b5b5;color:#fff;text-shadow:none}.jodit_filebrowser_files.active .jodit_filebrowser_files_item:hover:not(.jodit_filebrowser_files_item-active-true) .jodit_filebrowser_files_item-info{bottom:-100px}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list{scroll-behavior:smooth}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a{display:block;width:100%;height:26px;line-height:26px;margin:0;border-width:0 0 1px;text-align:left;white-space:nowrap}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a img{min-width:16px;max-width:16px;vertical-align:middle;display:inline-block;margin-left:4px}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info{padding:0;position:static;display:inline-block;width:calc(100% - 20px);margin-left:4px;background-color:transparent;height:100%;line-height:inherit;vertical-align:middle;font-size:0}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span{display:inline-block;height:100%;font-size:12px}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filename{width:50%}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filechanged,.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filesize{width:25%}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:hover{background-color:#433b5c}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:hover .jodit_filebrowser_files_item-info{color:#fff;text-shadow:none}.jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:before{height:100%;content:"";vertical-align:middle;display:inline-block}.jodit_draghover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog_header-title .jodit_upload_button{position:relative;width:220px;border:0;padding:25px 0;margin:10px 0;overflow:hidden}.jodit_dialog_box .jodit_dialog_header-title .jodit_upload_button input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;margin:0 -10px 0 0;padding:0;opacity:0;font-size:400px}.jodit_dialog_box .jodit_dialog_header-title.jodit_filebrowser_title_box{padding-left:10px}.jodit_filebrowser_preview{text-align:center;min-width:600px;max-width:1000px;min-height:700px;max-height:100%;position:relative;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}@media (max-width:768px){.jodit_filebrowser_preview{max-width:100%;max-height:100%;min-width:auto;min-height:auto;height:100%}}.jodit_filebrowser_preview_box{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.jodit_filebrowser_preview_navigation{position:absolute;top:0;height:100%;left:0}.jodit_filebrowser_preview_navigation-next{left:auto;right:0}.jodit_filebrowser_preview_navigation svg{width:45px;height:45px;position:relative;top:50%;margin-top:-22px;transition:fill .3s linear;fill:#9e9ba7}.jodit_filebrowser_preview_navigation:hover svg{fill:#000}.jodit_filebrowser_preview img{max-width:100%;max-height:100%}.jodit_grid{width:100%}.jodit_grid [class*=jodit_col-]{display:block;float:left}.jodit_grid .jodit_col-lg-5-5{width:100%}.jodit_grid .jodit_col-lg-4-5{width:80%}.jodit_grid .jodit_col-lg-3-5{width:60%}.jodit_grid .jodit_col-lg-2-5{width:40%}.jodit_grid .jodit_col-lg-1-5{width:20%}.jodit_grid .jodit_col-lg-4-4{width:100%}.jodit_grid .jodit_col-lg-3-4{width:75%}.jodit_grid .jodit_col-lg-2-4{width:50%}.jodit_grid .jodit_col-lg-1-4{width:25%}.jodit_grid:after,.jodit_grid:before{content:" ";display:table}.jodit_grid:after{clear:both}@keyframes rotate{to{transform:rotate(1turn)}}.jodit_icon-loader{background:url("data:image/png;base64, ") no-repeat 50%;background-size:100% 100%;width:48px;height:48px;will-change:transform;animation:rotate 2s ease-out 0s infinite}.jodit_icon,.jodit_icon-loader{display:inline-block;vertical-align:middle}.jodit_icon{font-style:normal;width:14px;height:14px;font-size:8px;fill:#222;transform-origin:0 0!important;overflow:visible;background:50% no-repeat;background-size:contain}svg.jodit_icon{isolation:isolate;height:auto}.jodit_text_icon{font-size:14px}.jodit_toolbar_size-small .jodit_icon{min-width:12px;height:12px;line-height:12px}.jodit_toolbar_size-large .jodit_icon{min-width:16px;height:16px;line-height:16px}.jodit_image_editor{width:100%;height:100%;padding:10px;overflow:hidden}@media (max-width:768px){.jodit_image_editor{height:auto}}.jodit_image_editor>div,.jodit_image_editor>div>div{height:100%}@media (max-width:768px){.jodit_image_editor>div,.jodit_image_editor>div>div{height:auto;min-height:200px}}.jodit_image_editor *{box-sizing:border-box}.jodit_image_editor .jodit_image_editor_slider-title{text-shadow:#f3f3f3 0 1px 0;color:#333;border-bottom:1px solid hsla(0,0%,62%,.31);background-color:#f9f9f9;padding:.8em 1em;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:700;line-height:1em}.jodit_image_editor .jodit_image_editor_slider-title svg{margin-right:10px;width:16px;display:inline-block;vertical-align:middle}.jodit_image_editor .jodit_image_editor_slider-content{display:none}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-title{background-color:#5d5d5d;color:#fff;text-shadow:#000 0 1px 0}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-title svg{fill:#fff}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-content{display:block}.jodit_image_editor_area{background-color:#eee;background-image:linear-gradient(45deg,#ccc 25%,transparent 0,transparent 75%,#ccc 0,#ccc),linear-gradient(45deg,#ccc 25%,transparent 0,transparent 75%,#ccc 0,#ccc);background-size:30px 30px;background-position:0 0,15px 15px;height:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none}.jodit_image_editor_area.active{display:block}.jodit_image_editor_area .jodit_image_editor_box{overflow:hidden;position:relative;z-index:1;pointer-events:none;height:100%}.jodit_image_editor_area .jodit_image_editor_box img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:100%;max-height:100%}.jodit_image_editor_area .jodit_image_editor_croper,.jodit_image_editor_area .jodit_image_editor_resizer{z-index:2;width:100px;height:100px;position:absolute;box-shadow:0 0 11px #000;border:1px solid #fff;background-repeat:no-repeat;top:10px;left:20px;pointer-events:none}.jodit_image_editor_area .jodit_image_editor_croper i.jodit_bottomright,.jodit_image_editor_area .jodit_image_editor_resizer i.jodit_bottomright{position:absolute;display:inline-block;border:1px solid #383838;z-index:4;background-color:#8c7878;cursor:se-resize;border-radius:10px;height:20px;width:20px;right:-10px;bottom:-10px;box-shadow:0 0 11px #000;pointer-events:all}.jodit_image_editor_area .jodit_image_editor_croper i.jodit_bottomright:active,.jodit_image_editor_area .jodit_image_editor_resizer i.jodit_bottomright:active{border:1px solid #ff0}.jodit_image_editor_area.jodit_image_editor_area_crop{height:100%;background:#eee;text-align:center;line-height:100%;position:relative}.jodit_image_editor_area.jodit_image_editor_area_crop:before{content:"";line-height:100%;vertical-align:middle;height:100%;display:inline-block}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box{height:100%;overflow:visible;display:inline-block;vertical-align:middle;pointer-events:all;font-size:0;text-align:left;line-height:100%}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box img{max-width:100%;max-height:100%}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box:before{content:"";line-height:100%;vertical-align:middle;height:100%;display:inline-block}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;background:hsla(0,0%,100%,.3);z-index:1}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box .jodit_image_editor_croper{pointer-events:all;cursor:move}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box .jodit_image_editor_croper i.jodit_sizes{font-size:12px;white-space:pre;position:absolute;bottom:-30px;left:100%;text-align:center;color:#fff;text-shadow:none;background:rgba(0,0,0,.2);border-radius:.4em;padding:9px 6px;display:block}.jodit_properties{font-family:Helvetica,sans-serif,Arial}.jodit_properties svg{font-style:normal;display:inline-block;width:14px;height:14px;line-height:14px;font-size:8px;overflow:hidden;vertical-align:middle;fill:#222;transform-origin:0 0!important}.jodit_properties .jodit_properties_view_box{padding:10px}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view{height:150px;text-align:center;line-height:1;vertical-align:middle;padding:0;background-color:#f6f6f6;margin:0 0 10px;font-size:100%}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view:before{content:"";display:inline-block;vertical-align:middle;height:100%}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view img{max-width:100%;max-height:100%;vertical-align:middle}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group{padding:0!important;margin:0!important}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group a{display:inline-block;cursor:pointer}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group input[type=number]{display:inline-block!important;width:calc(50% - 8px)!important}.jodit_toolbar,.jodit_toolbar *{box-sizing:border-box}.jodit_toolbar{font-family:Helvetica,sans-serif,Arial;position:relative;left:0;top:0;margin:0!important;padding:0!important;list-style:none!important;font-size:0;background:#f9f9f9;box-shadow:0 4px 4px -2px rgba(0,0,0,.14);border:1px solid #ccc;border-bottom:0;min-height:16px!important}.jodit_toolbar+.jodit_toolbar_dummy{display:none}.jodit_toolbar.jodit_fly{position:absolute;left:0;right:0;z-index:30000;background:#fff}.jodit_toolbar.jodit_sticky{position:fixed;position:-webkit-sticky;position:sticky;z-index:3;top:0;left:auto}.jodit_toolbar.jodit_sticky+.jodit_toolbar_dummy{display:block}.jodit_toolbar>.jodit_toolbar_btn{display:inline-block;vertical-align:top;margin:0!important;padding:0;list-style:none!important;outline:none;position:relative;text-align:center;cursor:pointer;transition:background-color .2s linear,opacity .1s linear}.jodit_toolbar>.jodit_toolbar_btn.jodit_disabled{background-color:transparent!important;opacity:.3;cursor:default}.jodit_toolbar>.jodit_toolbar_btn.jodit_disabled a{cursor:default}.jodit_toolbar>.jodit_toolbar_btn.jodit_toolbar_btn-separator{border-left:0;border-right:1px solid #e6e6e6;padding:0;margin:2px 5px 0!important;cursor:default}.jodit_toolbar>.jodit_toolbar_btn.jodit_toolbar_btn-break{display:block!important;width:auto;border-top:1px solid #e6e6e6;height:0!important;margin:0 3px!important}.jodit_toolbar>.jodit_toolbar_btn .jodit_toolbar_btn>a,.jodit_toolbar>.jodit_toolbar_btn>a{width:100%;height:100%;display:inline-block;outline:none;text-decoration:none}.jodit_toolbar>.jodit_toolbar_btn .jodit_toolbar_btn>a:after,.jodit_toolbar>.jodit_toolbar_btn>a:after{content:"";display:inline-block;height:100%;vertical-align:middle}.jodit_toolbar>.jodit_toolbar_btn .jodit_toolbar_btn>a:active+.jodit_tooltip,.jodit_toolbar>.jodit_toolbar_btn>a:active+.jodit_tooltip{visibility:hidden!important}.jodit_toolbar>.jodit_toolbar_btn .jodit_toolbar_btn>a:focus,.jodit_toolbar>.jodit_toolbar_btn>a:focus{outline:1px solid #ccc}.jodit_toolbar>.jodit_toolbar_btn.jodit_disabled .jodit_tooltip{display:none!important}.jodit_toolbar>.jodit_toolbar_btn>a{line-height:100%}.jodit_toolbar>.jodit_toolbar_btn.jodit_dropdown_open .jodit_tooltip,.jodit_toolbar>.jodit_toolbar_btn .jodit_popap_open,.jodit_toolbar>.jodit_toolbar_btn.jodit_popup_open .jodit_tooltip{visibility:hidden!important}.jodit_toolbar>.jodit_toolbar_btn:not(.jodit_toolbar-input):hover{background-color:#dde4ef;outline:none}.jodit_toolbar>.jodit_toolbar_btn.jodit_active,.jodit_toolbar>.jodit_toolbar_btn:not(.jodit_toolbar-input):active{background-color:hsla(0,0%,86.7%,.4);outline:none}.jodit_toolbar>.jodit_toolbar_btn.jodit-btn-hidden{display:none!important}.jodit_toolbar>.jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{display:inline-block;vertical-align:middle}.jodit_toolbar>.jodit_toolbar_btn.jodit_toolbar-input input,.jodit_toolbar>.jodit_toolbar_btn.jodit_toolbar-input select{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:100%;border-radius:0;outline:none;line-height:100%}.jodit_toolbar>.jodit_toolbar_btn.jodit_toolbar-input select{padding-right:20px;background:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NH08L3N0eWxlPjwvZGVmcz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDQuOTV2MTBIMHoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xLjQxIDQuNjdsMS4wNy0xLjQ5IDEuMDYgMS40OUgxLjQxek0zLjU0IDUuMzNMMi40OCA2LjgyIDEuNDEgNS4zM2gyLjEzeiIvPjwvc3ZnPg==) no-repeat 98% 50%!important}.jodit_toolbar .jodit_toolbar_btn{min-width:32px;height:32px;line-height:32px}.jodit_toolbar .jodit_toolbar_btn.jodit_toolbar_btn-separator{height:28px;width:0;min-width:0}.jodit_toolbar .jodit_toolbar_btn.jodit_with_dropdownlist{padding:0 7px}.jodit_toolbar .jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{width:8px;height:8px;margin-left:5.33333333px}.jodit_toolbar_btn>a{color:#000;text-decoration:none;display:block;background:no-repeat 50%}.jodit_toolbar.jodit_text_icons>.jodit_toolbar_btn>a{line-height:1}.jodit_tooltip{position:absolute;background:#727171;color:#fff;font-size:12px;line-height:15px;padding:4px 5px;font-family:Arial,sans-serif;z-index:10001;min-width:90px;width:auto;transition:opacity .3s linear}@media (max-width:768px){.jodit_tooltip{display:none}}.jodit_toolbar_size-small .jodit_toolbar{min-height:12px!important}.jodit_toolbar_size-small .jodit_toolbar .jodit_toolbar_btn{min-width:24px;height:24px;line-height:24px}.jodit_toolbar_size-small .jodit_toolbar .jodit_toolbar_btn.jodit_toolbar_btn-separator{height:20px;width:0;min-width:0}.jodit_toolbar_size-small .jodit_toolbar .jodit_toolbar_btn.jodit_with_dropdownlist{padding:0 5px}.jodit_toolbar_size-small .jodit_toolbar .jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{width:6px;height:6px;margin-left:4px}.jodit_toolbar_size-large .jodit_toolbar{min-height:18px!important}.jodit_toolbar_size-large .jodit_toolbar .jodit_toolbar_btn{min-width:36px;height:36px;line-height:36px}.jodit_toolbar_size-large .jodit_toolbar .jodit_toolbar_btn.jodit_toolbar_btn-separator{height:32px;width:0;min-width:0}.jodit_toolbar_size-large .jodit_toolbar .jodit_toolbar_btn.jodit_with_dropdownlist{padding:0 8px}.jodit_toolbar_size-large .jodit_toolbar .jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{width:9px;height:9px;margin-left:6px}.jodit_toolbar_popup{position:absolute;z-index:10;top:100%;margin-top:10px;padding-top:0;left:0;font-size:14px;line-height:14px!important;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);border:1px solid rgba(0,0,0,.2)}.jodit_toolbar_popup .jodit_toolbar{box-shadow:none;border-width:0;background-color:transparent}.jodit_toolbar_popup .jodit_toolbar .jodit_toolbar{background-color:#f9f9f9;box-shadow:0 4px 4px -2px rgba(0,0,0,.14);border:1px solid #ccc}.jodit_toolbar_popup>*{margin:10px}.jodit_toolbar_popup .jodit_popup_triangle{padding:0;margin:0;width:8px;height:8px;position:absolute;top:-5px;left:9px;display:inline-block;transform:rotate(45deg);background:#fff;border:solid rgba(0,0,0,.2);border-width:1px 0 0 1px;z-index:6}.jodit_toolbar_popup.jodit_right{left:auto;right:0}.jodit_toolbar_popup.jodit_right:before{left:auto;right:14px}.jodit_toolbar .jodit_toolbar_btn>svg{max-width:50%;vertical-align:middle;font-smoothing:antialiased}.jodit_container>.jodit_toolbar>li:first-child{margin-left:2px!important}.jodit_container[dir=rtl]>.jodit_toolbar>li:first-child{margin-left:0!important;margin-right:2px!important}.jodit_draganddrop_file_box,.jodit_uploadfile_button{position:relative;width:260px;border:1px dashed #ccc;padding:25px 0;margin:10px 0;text-align:center;overflow:hidden}.jodit_draganddrop_file_box:hover,.jodit_uploadfile_button:hover{background-color:#ecebe9}.jodit_draganddrop_file_box input,.jodit_uploadfile_button input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;left:0;margin:0;padding:0;opacity:0;font-size:400px}@media (max-width:768px){.jodit_draganddrop_file_box{width:auto;max-width:100%;min-width:120px}}.jodit_statusbar{font-family:Helvetica,sans-serif,Arial;border:1px solid #ccc;border-top:0;font-size:0;background-color:#f9f9f9;padding:0 5px}.jodit_statusbar .jodit_statusbar_item{font-size:11px;float:left;line-height:1.57142857em;margin:0 10px 0 0;padding:0;vertical-align:middle}.jodit_statusbar .jodit_statusbar_item.jodit_statusbar_item-right{float:right;margin:0 0 0 10px}.jodit_statusbar .jodit_statusbar_item .jodit_icon{font-size:11px;line-height:14px}.jodit_statusbar .jodit_statusbar_item li,.jodit_statusbar .jodit_statusbar_item ul{margin:0;padding:0;list-style:none;display:inline-block;vertical-align:top;position:relative}.jodit_statusbar .jodit_statusbar_item li li,.jodit_statusbar .jodit_statusbar_item ul li{margin-right:5px}.jodit_statusbar .jodit_statusbar_item a,.jodit_statusbar .jodit_statusbar_item span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;vertical-align:baseline;text-align:left;white-space:nowrap;padding:2px 3px;line-height:10px;outline:0;border:0;color:#222}.jodit_statusbar .jodit_statusbar_item a span,.jodit_statusbar .jodit_statusbar_item span span{padding:0}.jodit_statusbar .jodit_statusbar_item svg{width:11px;height:11px;display:inline-block;vertical-align:top}.jodit_statusbar .jodit_statusbar_item a{text-decoration:none;cursor:default;border-radius:3px}.jodit_statusbar .jodit_statusbar_item a:hover{background-color:hsla(0,0%,88.2%,.99);text-decoration:none;color:#222}.jodit_statusbar:after{content:" ";display:block;visibility:hidden;font-size:0;height:0;float:none;clear:both}.jodit_disabled .jodit_statusbar{opacity:.4}.jodit_form{font-family:Helvetica,sans-serif,Arial;color:#000}.jodit_form input[type=text],.jodit_form input[type=url],.jodit_form textarea{-webkit-appearance:none;-moz-appearance:none;display:block;outline:none;border:1px solid #b5b5b5;height:28px;line-height:28px;padding:0 5px;min-width:220px;margin-top:10px}.jodit_form input[type=text].jodit_error,.jodit_form input[type=url].jodit_error,.jodit_form textarea.jodit_error{border-color:#f7d1d1;box-shadow:inset 0 0 3px 0 hsla(0,0%,74.1%,.3)}@media (max-width:768px){.jodit_form input[type=text],.jodit_form input[type=url],.jodit_form textarea{min-width:150px}}.jodit_form textarea{height:128px}.jodit_form button{height:36px;line-height:1;color:#000;padding:10px;cursor:pointer;text-decoration:none;border:none;background:#d6d6d6;font-size:16px;outline:none;transition:background .2s ease 0s;margin-top:10px;margin-bottom:10px}.jodit_form button:hover{background-color:#ecebe9;color:#000}.jodit_form button:active{background:#ecebe9;color:#000}.jodit_form input[type=checkbox]{display:inline-block;z-index:2;border:0;cursor:pointer;height:16px;margin:0;padding:0;width:16px;position:relative;outline:none;top:3px}.jodit_form input[type=checkbox]:after{content:"";background:#fff;border:1px solid hsla(0,0%,88.2%,.99);border-radius:2px;background-clip:padding-box;width:16px;height:16px;display:inline-block;position:relative;z-index:1;box-sizing:border-box;transition:background .2s ease 0s,border-color .2s ease 0s}.jodit_form input[type=checkbox]:checked:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 32 32\'%3E%3Cpath d=\'M27 4L12 19l-7-7-5 5 12 12L32 9z\' fill=\'%23FFF\'/%3E%3C/svg%3E") no-repeat 50%;background-color:#b5b5b5;border-color:#b5b5b5}.jodit_form label{margin-top:10px;display:block;text-align:left}.jodit_form form:after{content:"";display:table;clear:both}.jodit_about{padding:20px}.jodit_about a{color:#459ce7;text-decoration:none}.jodit_about a:focus,.jodit_about a:hover{color:#23527c;text-decoration:underline;outline:0}.jodit_about div{margin-bottom:5px}.jodit_colorpicker{min-width:180px;text-align:left;margin:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_colorpicker .jodit_colorpicker_group{margin-bottom:5px;white-space:normal}.jodit_colorpicker a{width:18px;height:18px;line-height:16px;display:inline-block;text-decoration:none;vertical-align:middle;text-align:center}.jodit_colorpicker a:before{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.jodit_colorpicker a svg{display:inline-block;vertical-align:middle;font-smoothing:antialiased;max-width:14px}.jodit_colorpicker a:hover{border-color:#000}.jodit_colorpicker a:active{background:#d6d6d6;color:#b5b5b5}.jodit_colorpicker .jodit_text_icon{width:auto;text-decoration:none;color:#000}.jodit_colorpicker span{float:right}.jodit_colorpicker span em{width:16px;height:16px;display:inline-block;margin-right:4px}.jodit_colorpicker span input{width:18px;height:18px;padding:0;border:none;-webkit-appearance:none}.jodit_colorpicker span input[type=color]::-webkit-color-swatch-wrapper{padding:0}.jodit_colorpicker span input input[type=color]::-webkit-color-swatch{border:none}@keyframes pulse{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}.jodit_progress_bar{position:absolute;top:0;left:0;height:2px;z-index:2147483647;border-radius:1px;display:none}.jodit_progress_bar div{position:relative;background:#b91f1f;height:2px;transition:width .5s ease-out,opacity .5s linear;will-change:width,opacity}.jodit_progress_bar div:after,.jodit_progress_bar div:before{animation:pulse 2s ease-out 0s infinite;content:"";display:inline-block;position:absolute;top:0;height:2px;box-shadow:1px 0 6px 1px #b91f1f;border-radius:100%;opacity:.6}.jodit_progress_bar div:before{width:180px;right:-80px;clip:rect(-6px,90px,14px,-6px)}.jodit_progress_bar div:after{width:20px;right:0;clip:rect(-6px,22px,14px,10px)}.jodit_tabs{font-family:Helvetica,sans-serif,Arial}.jodit_tabs .jodit_tabs_buttons{line-height:18px;margin-bottom:5px;margin-top:4px;display:-ms-flexbox;display:flex}.jodit_tabs .jodit_tabs_buttons>a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none;font-size:11px;font-weight:700;text-align:center;white-space:nowrap;height:29px;line-height:27px;position:relative;vertical-align:middle;transition:background .1s linear;text-overflow:ellipsis;overflow:hidden;box-shadow:none;background-color:#f5f5f5;color:#737373;border:1px solid rgba(0,0,0,.1);outline:none}@media (max-width:768px){.jodit_tabs .jodit_tabs_buttons>a{width:100%!important;border-radius:0!important}}.jodit_tabs .jodit_tabs_buttons>a+a{margin-left:-1px}.jodit_tabs .jodit_tabs_buttons>a i,.jodit_tabs .jodit_tabs_buttons>a svg{width:16px;height:16px;display:inline-block;vertical-align:sub;margin-right:5px;fill:#737373}.jodit_tabs .jodit_tabs_buttons>a:hover{border:1px solid #c6c6c6;color:#111;box-shadow:none;background-color:#f8f8f8;outline:none}.jodit_tabs .jodit_tabs_buttons>a:hover i,.jodit_tabs .jodit_tabs_buttons>a:hover svg{fill:#111}.jodit_tabs .jodit_tabs_buttons>a.active,.jodit_tabs .jodit_tabs_buttons>a:active{outline:none;background:#fff;border:1px solid #ccc;color:#333}.jodit_tabs .jodit_tabs_buttons>a.active i,.jodit_tabs .jodit_tabs_buttons>a.active svg,.jodit_tabs .jodit_tabs_buttons>a:active i,.jodit_tabs .jodit_tabs_buttons>a:active svg{fill:#333}.jodit_tabs .jodit_tabs_wrapper .jodit_tab{display:none}.jodit_tabs .jodit_tabs_wrapper .jodit_tab.active{display:block}.jodit_tabs .jodit_tabs_wrapper .jodit_tab .jodit_tab_empty{min-width:220px;min-height:100px}.jodit-add-new-line{z-index:1;position:absolute;height:20px;line-height:100%;vertical-align:middle;font-size:0;top:0;outline:none;margin-top:-10px;display:none}.jodit-add-new-line,.jodit-add-new-line *{box-sizing:border-box}.jodit-add-new-line:before{height:100%}.jodit-add-new-line:after,.jodit-add-new-line:before{display:inline-block;vertical-align:middle;content:""}.jodit-add-new-line:after{box-sizing:border-box;border-top:1px solid #ccc;height:1px;width:calc(100% - 30px)}.jodit-add-new-line span{right:0;position:absolute;display:inline-block;width:30px;height:20px;background:rgba(236,235,233,.3);vertical-align:top;border:1px solid #ccc;padding:0 5px;cursor:pointer}.jodit-add-new-line span:hover{background:#ecebe9}.jodit-add-new-line svg{width:16px;fill:#ccc;vertical-align:top}.jodit_source_mode .jodit-add-new-line{display:none!important}.jodit_error_box_for_messages{font-family:Helvetica,sans-serif,Arial;position:absolute;right:0;bottom:0;width:0;height:0;overflow:visible;z-index:3}.jodit_error_box_for_messages>*{position:absolute;right:5px;bottom:0;display:block;transition:opacity .1s linear,bottom .3s linear;opacity:0;background:rgba(255,0,0,.29);color:#e02b2b;padding:2px 7px;border:1px solid rgba(226,117,117,.44);font-size:14px;white-space:pre}.jodit_error_box_for_messages>.active{opacity:1}.jodit_error_box_for_messages>.info{background:rgba(204,229,247,.71);color:#776565;border:1px solid hsla(0,0%,60.4%,.44)}.jodit_error_box_for_messages>.success{background:rgba(77,236,112,.29);color:#5d5a5a;border:1px solid hsla(0,0%,58%,.44)}.jodit_fullsize_box{z-index:100000!important;position:static!important;overflow:visible!important}body.jodit_fullsize_box,html.jodit_fullsize_box{height:0!important;width:0!important;overflow:initial!important}html.jodit_fullsize_box{position:fixed!important}.jodit_fullsize{position:absolute;top:0;left:0;right:0;bottom:0;z-index:100000;max-width:none!important}.jodit_fullsize .toolbar{width:100%!important}.jodit_fullsize .jodit_area,.jodit_fullsize .jodit_editor{height:100%}.jodit_fullsize .jodit_workflow{height:calc(100% - 24px);overflow:auto}.jodit_fullsize.jodit_toolbar_size-small .jodit_workflow{height:calc(100% - 18px)}.jodit_fullsize.jodit_toolbar_size-large .jodit_workflow{height:calc(100% - 27px)}.jodit_placeholder{font-family:Helvetica,sans-serif,Arial;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;top:0;left:0;display:block;position:absolute;padding:10px;color:rgba(0,0,0,.35);z-index:1;pointer-events:none}.jodit_toolbar_popup-inline-target{position:absolute;width:0;height:0}.jodit_toolbar_popup-inline-target.jodit_toolbar_popup-inline-target-hidden{display:none}.jodit_toolbar_popup-inline{display:inline-block!important;position:relative!important}.jodit_toolbar_popup-inline>div{color:hsla(0,0%,88.2%,.99);background:#fff;box-shadow:none;background-clip:padding-box;font-family:Helvetica,sans-serif,Arial;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:100001!important;text-align:left;border:1px solid hsla(0,0%,88.2%,.99);display:inline-block;vertical-align:top}.jodit_toolbar_popup-inline .jodit_toolbar{z-index:7;border:0;white-space:normal}.jodit_toolbar_popup-inline>div>.jodit_toolbar{white-space:nowrap;box-shadow:none;vertical-align:top}.jodit_toolbar_popup-inline>.jodit_popup_triangle{padding:0;width:8px;height:8px;position:absolute;top:-4px;margin:0 0 0 -4px;display:inline-block;transform:rotate(45deg);background:#fff;border:1px solid hsla(0,0%,88.2%,.99);border-width:1px 0 0 1px;z-index:6}.jodit_toolbar_popup-inline.jodit_toolbar_popup-inline-top>.jodit_popup_triangle{top:auto;bottom:-4px;border-width:0 1px 1px 0}.jodit_toolbar_popup-inline .buttons{box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);padding:0 2px;white-space:nowrap;line-height:0;border-bottom:0}[data-jodit_iframe_wrapper]{display:block;clear:both;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}[data-jodit_iframe_wrapper]:after{position:absolute;content:"";z-index:1;top:0;left:0;right:0;bottom:0;cursor:pointer;display:block;background:transparent}.jodit_resizer{width:100px;height:100px;position:absolute;border:1px solid rgba(3,14,82,.92);top:0;left:0;display:none;pointer-events:none;font-size:0}.jodit_resizer *{box-sizing:border-box}.jodit_resizer>span{opacity:0;transition:opacity .2s linear;left:50%;top:50%;height:24px;line-height:24px;font-size:12px;width:70px;margin-left:-35px;margin-top:-12px;text-align:center;overflow:visible;color:#fff;background-color:rgba(0,0,0,.35);max-width:100%}.jodit_resizer>i,.jodit_resizer>span{position:absolute;display:inline-block}.jodit_resizer>i{z-index:4;pointer-events:all;border:1px solid rgba(3,14,82,.92);background-color:hsla(0,0%,88.2%,.99);width:10px;height:10px}.jodit_resizer>i:hover{background-color:#f8f8f8}.jodit_resizer>i:first-child{left:-5px;top:-5px;cursor:nw-resize}.jodit_resizer>i:nth-child(2){right:-5px;top:-5px;cursor:ne-resize}.jodit_resizer>i:nth-child(3){right:-5px;bottom:-5px;cursor:se-resize}.jodit_resizer>i:nth-child(4){left:-5px;bottom:-5px;cursor:sw-resize}@media (max-width:768px){.jodit_resizer>i{width:20px;height:20px}.jodit_resizer>i:first-child{left:-10px;top:-10px;cursor:nw-resize}.jodit_resizer>i:nth-child(2){right:-10px;top:-10px;cursor:ne-resize}.jodit_resizer>i:nth-child(3){right:-10px;bottom:-10px;cursor:se-resize}.jodit_resizer>i:nth-child(4){left:-10px;bottom:-10px;cursor:sw-resize}}.jodit_container{min-height:100px}.jodit_container .jodit_workplace{display:-ms-flexbox;display:flex;height:auto;min-height:50px;overflow:hidden}.jodit_editor_resize{position:relative}.jodit_editor_resize a{position:absolute;bottom:0;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:0;height:0;overflow:hidden;border-color:transparent #ccc transparent transparent;border-style:dashed solid dashed dashed;border-width:7px 7px 0 0;cursor:se-resize}.jodit_source{display:none;position:relative;background-color:#f8f8f8;font-size:0;-ms-flex:1;flex:1;overflow:auto}.jodit_source,.jodit_source .jodit_source_mirror-fake{min-height:100%}.jodit_container.jodit_source_mode .jodit_wysiwyg,.jodit_container.jodit_source_mode .jodit_wysiwyg_iframe{display:none!important}.jodit_container.jodit_source_mode .jodit_source{display:block!important}.jodit_container.jodit_split_mode .jodit_source,.jodit_container.jodit_split_mode .jodit_wysiwyg,.jodit_container.jodit_split_mode .jodit_wysiwyg_iframe{display:block!important;width:50%;-ms-flex:1;flex:1}.jodit_source_mirror{border:0;width:100%;background:#3f3f3f;margin:0;height:100%;box-shadow:none;resize:none;box-sizing:border-box;color:#f0f0f0;outline:none;font-family:Menlo,Monaco,monospace,sans-serif;font-size:13px;line-height:1.3em;z-index:2;padding:10px;overflow:auto;white-space:pre-wrap;-moz-tab-size:2em;-o-tab-size:2em;tab-size:2em;min-height:100%}.jodit_source_mirror::-moz-selection{background:#bdbdbd}.jodit_source_mirror::selection{background:#bdbdbd}.jodit_table_resizer{cursor:col-resize;position:absolute;z-index:3;padding-left:5px;padding-right:5px;margin-left:-5px}.jodit_table_resizer:after{content:"";display:block;height:100%;width:0;border:solid transparent;border-width:0 1px 0 0}.jodit_table_resizer-moved{z-index:2}.jodit_table_resizer-moved:after{border-color:#1e88e5}.jodit_wysiwyg table{width:100%;border:none;border-collapse:collapse;table-layout:fixed;empty-cells:show;max-width:100%}.jodit_wysiwyg table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_wysiwyg table tr td,.jodit_wysiwyg table tr th{border:1px solid #ddd;text-align:left;vertical-align:middle;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.jodit_wysiwyg table tr td[data-jodit-selected-cell],.jodit_wysiwyg table tr th[data-jodit-selected-cell]{border:1px double #1e88e5}.jodit_form_inserter .jodit_form-table-creator-box{font-size:0}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container{display:inline-block;vertical-align:top;padding:0;margin:0;min-width:180px;font-size:0}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div{width:18px;height:18px;box-sizing:border-box;display:inline-block;position:relative;vertical-align:top}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div:after{content:"";position:absolute;top:0;left:0;display:inline-block;width:12px;height:12px;border:1px solid #ccc}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div.hovered:after{background:#7a450f;border:1px solid #b5b5b5}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-options{font-size:14px;display:inline-block;vertical-align:top}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-options label{text-align:left;padding-top:0}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-options label input{margin-right:10px}.jodit_form_inserter label{text-align:center;font-size:14px;padding:8px;display:block;margin:0}.jodit_text_icons .jodit_icon{width:auto;font-size:14px}.jodit_text_icons .jodit_icon:first-letter{text-transform:uppercase}.jodit_text_icons .jodit_tabs .jodit_tabs_buttons>a{width:auto;font-family:Helvetica,sans-serif,Arial}.jodit_text_icons .jodit_tabs .jodit_tabs_buttons>a i,.jodit_text_icons .jodit_toolbar>li{width:auto}.jodit_text_icons .jodit_toolbar>li>a{text-decoration:none;line-height:1}.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_button,.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_dialog_header a,.jodit_text_icons .jodit_toolbar>li>a{padding:0 12px;font-family:Helvetica,sans-serif,Arial;width:auto;color:rgba(0,0,0,.75)}.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_button .jodit_icon,.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_dialog_header a .jodit_icon{width:auto}.jodit_widget,.jodit_widget *{box-sizing:border-box}.jodit_search{font-family:Helvetica,sans-serif,Arial;visibility:hidden;position:absolute;top:0;right:0;width:0;height:0}.jodit_search.jodit_search-active{visibility:visible}.jodit_search .jodit_search_box{width:320px;position:absolute;right:0;background-color:#f9f9f9;border:solid #ccc;border-width:0 0 1px 1px;padding:5px}.jodit_search .jodit_search_box input{margin:0;width:100%;height:100%;border:0;background-color:transparent;outline:none;padding:0 10px}.jodit_search .jodit_search_box input.jodit_search-replace{display:none}.jodit_search .jodit_search_box .jodit_search_buttons,.jodit_search .jodit_search_box .jodit_search_counts,.jodit_search .jodit_search_box .jodit_search_inputs{height:30px;display:inline-block;vertical-align:top}.jodit_search .jodit_search_box .jodit_search_inputs{width:60%;padding-right:5px}.jodit_search .jodit_search_box .jodit_search_counts{width:15%;line-height:100%;text-align:center;color:#ccc;border-left:1px solid #ccc}.jodit_search .jodit_search_box .jodit_search_counts:before{content:"";display:inline-block;vertical-align:middle;height:100%}.jodit_search .jodit_search_box .jodit_search_counts span{display:inline-block;vertical-align:middle}.jodit_search .jodit_search_box .jodit_search_buttons{padding-left:0;width:25%}.jodit_search .jodit_search_box .jodit_search_buttons button{outline:0;width:32%;padding:1px 5px;margin-right:1%;transition:transform .1s linear;height:100%;border:1px solid transparent;background-color:transparent}.jodit_search .jodit_search_box .jodit_search_buttons button.jodit_search_buttons-replace{width:100%;border:1px solid #ccc;margin-top:2px;display:none}.jodit_search .jodit_search_box .jodit_search_buttons button:hover{background-color:#ecebe9}.jodit_search .jodit_search_box .jodit_search_buttons button:focus{border:1px solid rgba(181,214,253,.5)}.jodit_search .jodit_search_box .jodit_search_buttons button:active{border:1px solid #b5d6fd;transform:scale(.95)}.jodit_search.jodit_search-and-replace .jodit_search_counts,.jodit_search.jodit_search-and-replace .jodit_search_inputs{height:60px}.jodit_search.jodit_search-and-replace .jodit_search_counts input,.jodit_search.jodit_search-and-replace .jodit_search_inputs input{height:50%;transition:background-color .1s linear}.jodit_search.jodit_search-and-replace .jodit_search_counts input:focus,.jodit_search.jodit_search-and-replace .jodit_search_inputs input:focus{box-shadow:inset 0 0 3px 0 hsla(0,0%,80%,.58)}.jodit_search.jodit_search-and-replace .jodit_search_buttons button.jodit_search_buttons-replace,.jodit_search.jodit_search-and-replace .jodit_search_inputs input.jodit_search-replace{display:block}@media (max-width:320px){.jodit_search,.jodit_search .jodit_search_box{width:100%}}.jodit_symbols{width:460px;padding:10px}.jodit_symbols .jodit_symbols-container_preview,.jodit_symbols .jodit_symbols-container_table{display:inline-block;vertical-align:top}.jodit_symbols .jodit_symbols-container_table{width:88%}.jodit_symbols .jodit_symbols-container_preview{width:12%}.jodit_symbols .jodit_symbols-container_preview .jodit_symbols-preview{font-size:34px;text-align:center;padding:20px 0;border:1px solid #ccc}.jodit_symbols table{border:0;border-spacing:0;table-layout:fixed}.jodit_symbols table td{padding:0}.jodit_symbols table td a{font-size:16px;text-decoration:none;color:#000;display:inline-block;box-sizing:border-box;width:21.6px;height:21.6px;border:1px solid transparent;text-align:center;line-height:21.6px;vertical-align:top}.jodit_symbols table td a:focus,.jodit_symbols table td a:hover{border:1px solid #1e88e5}.jodit_sticky-dummy_toolbar{display:none}.jodit_sticky>.jodit_toolbar{position:fixed;z-index:3;top:0;left:auto}.jodit_sticky .jodit_sticky-dummy_toolbar{display:block}.jodit_paste_storage{padding:10px;max-width:600px}@media (max-width:768px){.jodit_paste_storage{max-width:100%}}.jodit_paste_storage>div{max-width:100%;max-height:300px;border:1px solid #ccc}.jodit_paste_storage>div:first-child{margin-bottom:10px}.jodit_paste_storage>div:first-child a{outline:none;box-sizing:border-box;display:block;max-width:100%;white-space:pre;overflow:hidden;text-overflow:ellipsis;padding:5px;margin:0;border:1px solid transparent;text-decoration:none;color:#000}.jodit_paste_storage>div:first-child a.jodit_active{color:#fff;background-color:#575757}.jodit_paste_storage>div:first-child a:focus{outline:none}.jodit_paste_storage>div:last-child{padding:10px;overflow:auto}.jodit_paste_storage>div:last-child li,.jodit_paste_storage>div:last-child ul{margin:0}\n.ea-editor-property-control-toggle-wrapper {\n  box-sizing: border-box;\n  display: inline-block;\n  position: relative;\n  overflow: hidden;\n  width: 60px;\n  height: 24px;\n  background: #303131;\n  line-height: 24px;\n  border-radius: 24px;\n  cursor: pointer;\n  transition: all 0.3s ease;\n}\n.ea-editor-property-control-toggle-wrapper:hover .ea-editor-property-control-toggle-inner {\n  background: #7a7b7c;\n}\n.ea-editor-property-control-toggle-before,\n.ea-editor-property-control-toggle-after {\n  display: block;\n  position: absolute;\n  top: 0;\n  height: 24px;\n  line-height: 24px;\n  color: #feffff;\n  text-transform: uppercase;\n  font-size: 10px;\n  font-weight: 500;\n  transition: all 0.3s ease;\n}\n.ea-editor-property-control-toggle-before {\n  left: -32px;\n  color: #feffff;\n}\n.ea-editor-property-control-toggle-after {\n  right: 9px;\n  color: #7e8184;\n}\n.ea-editor-property-control-toggle-inner {\n  display: block;\n  position: absolute;\n  overflow: hidden;\n  top: 3px;\n  left: 3px;\n  width: 18px;\n  height: 18px;\n  background: #646668;\n  border-radius: 50% 50%;\n  transition: all 0.3s ease;\n}\n.ea-editor-property-control-toggle-inner input {\n  display: none !important;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-wrapper {\n  background: #212121;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-wrapper:hover {\n  background: #212121;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-wrapper:hover .ea-editor-property-control-toggle-inner {\n  background: #fff;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-before {\n  left: 10px;\n  opacity: 1;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-after {\n  right: -40px;\n  opacity: 0;\n}\n.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-inner {\n  left: 39px;\n  background: #e5e7e8;\n}\n.ea-editor-property-control-token-wrapper {\n  position: relative;\n}\n.ea-editor-property-control-token-label {\n  color: #fff;\n  font-size: 14px;\n  font-weight: 500;\n  line-height: 12px;\n  text-transform: none;\n}\n.ea-editor-property-control-token-caption {\n  opacity: 0.7;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 0;\n  border-left: 0;\n}\n.ea-editor-property-control-token-error {\n  color: #ff4f4f;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 0;\n  border-left: 0;\n  margin-top: 12px;\n}\n.ea-editor-property-control-token-button {\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  box-sizing: border-box;\n  border-radius: 2px;\n  border: none;\n  outline: none;\n  cursor: pointer;\n  height: 28px;\n  padding: 6px 16px;\n  position: relative;\n  text-align: center;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 16px;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-button {\n  background-color: #fff;\n  color: #111;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-button-type-facebook {\n  background-color: #3c5a9b;\n  color: #fff;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-button-type-twitter {\n  background-color: #1da1f2;\n  color: #fff;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-button-type-pinterest {\n  background-color: #e60023;\n  color: #fff;\n}\n.ea-editor-property-control-token-state-connected .ea-editor-property-control-token-button {\n  background-color: #474848;\n  color: #fff;\n}\n.ea-editor-property-control-token-button-icon {\n  fill: #fff;\n  width: 16px;\n  height: 16px;\n  margin-right: 12px;\n}\n.ea-editor-property-control-token-button-container {\n  display: inline-flex;\n  align-items: center;\n}\n.ea-editor-property-control-token-status {\n  position: absolute;\n  right: 0;\n  top: 0;\n  line-height: 12px;\n  padding: 6px 0;\n  text-transform: uppercase;\n  font-size: 9px;\n  display: inline-flex;\n  align-items: center;\n}\n.ea-editor-property-control-token-status span {\n  display: inline-flex;\n  align-items: center;\n  position: relative;\n}\n.ea-editor-property-control-token-status span:before {\n  content: "";\n  display: inline-block;\n  background: #000;\n  width: 4px;\n  height: 4px;\n  border-radius: 50%;\n  margin: 0 6px;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-status span {\n  color: #ff4f4f;\n}\n.ea-editor-property-control-token-state-connect .ea-editor-property-control-token-status span:before {\n  background: #ff4f4f;\n}\n.ea-editor-property-control-token-state-connected .ea-editor-property-control-token-status span {\n  color: #4ad504;\n}\n.ea-editor-property-control-token-state-connected .ea-editor-property-control-token-status span:before {\n  background: #4ad504;\n}\n.ea-editor-property-control-token-loader {\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: 100%;\n  height: 100%;\n  border-radius: 2px;\n  pointer-events: none;\n}\n.ea-editor-property-control-token-loading .ea-editor-property-control-token-loader {\n  background: #717171;\n}\n.ea-editor-property-control-token-loader:after {\n  content: "";\n  box-sizing: border-box;\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  border-radius: 50%;\n  border-style: solid;\n  border-top-color: transparent;\n  animation: preview-loader 1s infinite linear;\n  width: 12px;\n  height: 12px;\n  margin: -6px 0 0 -6px;\n  border-width: 2px;\n  color: #fff;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-property-control-token-loading .ea-editor-property-control-token-loader:after {\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-property-control-token-load button {\n  pointer-events: none;\n}\n.ea-editor-property-control-localization-messages {\n  position: relative;\n}\n.ea-editor-property-control-localization-messages-title {\n  font-size: 13px;\n  margin-bottom: 24px;\n}\n.ea-editor-property-control-localization-messages-item {\n  display: block;\n  margin-bottom: 16px;\n}\n.ea-editor-property-control-localization-messages-item-label {\n  font-size: 13px;\n  padding: 4px 0;\n  color: #b2b4b7;\n}\n.ea-editor-property-control-localization-wrapper {\n  min-height: 60px;\n  position: relative;\n}\n.ea-editor-property-control-localization-inner {\n  transition: all 0.3s;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-property-control-localization-loaded .ea-editor-property-control-localization-inner {\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-property-control-localization-loader {\n  box-sizing: border-box;\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  border-radius: 50%;\n  border-style: solid;\n  border-top-color: transparent;\n  animation: loader 1s infinite linear;\n  transition: all 0.3s;\n  width: 20px;\n  height: 20px;\n  margin: -10px 0 0 -10px;\n  border-width: 2px;\n  color: #b2b4b7;\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-property-control-localization-loaded .ea-editor-property-control-localization-loader {\n  opacity: 0;\n  visibility: hidden;\n}\n@-moz-keyframes loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-webkit-keyframes loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-o-keyframes loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.ea-editor-property-control-facebook-page-select {\n  position: relative;\n}\n.ea-editor-property-control-facebook-page-select-readonly input {\n  cursor: pointer;\n}\n.ea-editor-property-control-facebook-page-select-open > input {\n  border-radius: 3px 3px 0 0 !important;\n}\n.ea-editor-property-control-facebook-page-select input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 3px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n  border: none;\n  appearance: none;\n}\n.ea-editor-property-control-facebook-page-select input:focus {\n  background: #2c2d2d;\n}\n.ea-editor-property-control-facebook-page-select:after {\n  display: block;\n  content: \'\';\n  width: 7px;\n  height: 5px;\n  position: absolute;\n  right: 11px;\n  top: 50%;\n  transform: translateY(-50%);\n  background-image: url('+o(52)+");\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: 7px 5px;\n  pointer-events: none;\n}\n.ea-editor-property-control-facebook-page-select-dropdown {\n  position: absolute;\n  background: #fff;\n  width: 100%;\n  z-index: 10;\n  border: 1px solid #2c2d2d;\n  box-sizing: border-box;\n  overflow: hidden;\n  border-radius: 0 0 6px 6px;\n}\n.ea-editor-property-control-facebook-page-select-dropdown-options {\n  max-height: 192px;\n  overflow: auto;\n}\n.ea-editor-property-control-facebook-page-select-dropdown-options-item {\n  padding: 6px 16px;\n  transition: 0.3s all ease;\n  cursor: pointer;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  background: #fff;\n  line-height: 20px;\n  min-height: 20px;\n  box-sizing: border-box;\n  color: #111;\n}\n.ea-editor-property-control-facebook-page-select-dropdown-options-item:hover {\n  background: #eee;\n}\n.ea-editor-property-control-facebook-page-select-dropdown-options-item-selected {\n  background: #eee;\n}\n.ea-editor-property-control-facebook-page-select-no-permission {\n  font-size: 14px;\n  color: #ff6161;\n}\n.ea-editor-property-google-sheet-connect {\n  display: flex;\n  position: relative;\n}\n.ea-editor-property-google-sheet-connect-icon {\n  filter: grayscale(1);\n  width: 40px;\n  height: 40px;\n  margin-right: 12px;\n  transition: all 0.3s;\n  flex: 0 0 40px;\n}\n.ea-editor-property-google-sheet-connect-connected .ea-editor-property-google-sheet-connect-icon {\n  filter: grayscale(0);\n}\n.ea-editor-property-google-sheet-connect-status {\n  font-size: 14px;\n}\n.ea-editor-property-google-sheet-connect-link {\n  font-size: 13px;\n}\n.ea-editor-property-google-sheet-connect-link a {\n  color: #fff;\n  text-decoration: underline;\n}\n.ea-editor-property-google-sheet-connect-loader {\n  box-sizing: border-box;\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  border-radius: 50%;\n  border-style: solid;\n  border-top-color: transparent;\n  animation: loader 1s infinite linear;\n  width: 20px;\n  height: 20px;\n  margin: -10px 0 0 -10px;\n  border-width: 2px;\n  color: #b2b4b7;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-property-google-sheet-connect-loading .ea-editor-property-google-sheet-connect-loader {\n  opacity: 1;\n  visibility: visible;\n}\n@-moz-keyframes loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-webkit-keyframes loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@-o-keyframes loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes loader {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.ea-editor-property-elfsight-reviews-source-label {\n  display: flex;\n  justify-content: space-between;\n  position: relative;\n}\n.ea-editor-property-elfsight-reviews-source-label-status {\n  position: relative;\n  margin-left: 8px;\n}\n.ea-editor-property-elfsight-reviews-source-label-status-label {\n  display: inline-flex;\n  align-items: center;\n  position: relative;\n  font-size: 9px;\n  color: #4ad504;\n}\n.ea-editor-property-elfsight-reviews-source-caption {\n  opacity: 0.7;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 0;\n  border-left: 0;\n}\n.ea-editor-property-ergs-label {\n  display: flex;\n  justify-content: space-between;\n  position: relative;\n}\n.ea-editor-property-ergs-label-status {\n  position: relative;\n  margin-left: 8px;\n}\n.ea-editor-property-ergs-label-status-label {\n  display: inline-flex;\n  align-items: center;\n  position: relative;\n  font-size: 9px;\n  color: #4ad504;\n}\n.ea-editor-property-ergs-caption {\n  opacity: 0.7;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  line-height: 20px;\n  padding: 0;\n  border-left: 0;\n}\n.ea-editor-property-ergs-applied {\n  display: flex;\n  flex-direction: column;\n  padding: 16px 16px 8px 16px;\n  border-radius: 2px;\n  background-color: #404141;\n  font-size: 13px;\n  line-height: 1.38;\n}\n.ea-editor-property-ergs-applied-name {\n  margin-bottom: 4px;\n  font-weight: 600;\n}\n.ea-editor-property-ergs-applied-change {\n  align-self: flex-end;\n  margin-top: 20px;\n  margin-right: -6px;\n  opacity: 0.7;\n  line-height: 1.23;\n  cursor: pointer;\n}\n.ea-editor-property-ergs-applied-change:hover {\n  opacity: 1;\n  text-decoration: underline;\n}\n.ea-editor-property-ergs-search {\n  position: relative;\n}\n.ea-editor-property-ergs-search-results {\n  position: absolute;\n  z-index: 1;\n  overflow: hidden;\n  top: 100%;\n  right: 0;\n  left: 0;\n  margin-top: 4px;\n  border-radius: 6px;\n  background: #fff;\n}\n.ea-editor-property-ergs-search-results-heading {\n  padding: 8px 12px 4px;\n  font-size: 11px;\n  line-height: 1.45;\n  text-transform: uppercase;\n  color: rgba(17,17,17,0.5);\n}\n.ea-editor-property-ergs-search-results-item {\n  padding: 8px 12px;\n  color: #111;\n  background-color: transparent;\n  cursor: pointer;\n}\n.ea-editor-property-ergs-search-results-item:hover {\n  background-color: #eee;\n}\n.ea-editor-property-ergs-search-results-item-name {\n  font-weight: 600;\n  font-size: 13px;\n  line-height: 1.38;\n}\n.ea-editor-property-ergs-search-results-item-vicinity {\n  font-size: 11px;\n  line-height: 1.45;\n}\n.ea-editor-property-ergs-search-results-empty {\n  padding: 10px 12px;\n  font-size: 13px;\n  line-height: 1.38;\n  color: rgba(17,17,17,0.5);\n}\n.ea-editor-property-ergs-loading-dots {\n  display: inline-block;\n  width: 14px;\n  letter-spacing: 1px;\n}\n.ea-editor-property-ergs-loading-dots::after {\n  animation: 1s linear infinite keyframes-loading-dots;\n  content: '';\n}\n@-moz-keyframes keyframes-loading-dots {\n  0% {\n    content: '';\n  }\n  25% {\n    content: '.';\n  }\n  50% {\n    content: '..';\n  }\n  75% {\n    content: '...';\n  }\n  100% {\n    content: '';\n  }\n}\n@-webkit-keyframes keyframes-loading-dots {\n  0% {\n    content: '';\n  }\n  25% {\n    content: '.';\n  }\n  50% {\n    content: '..';\n  }\n  75% {\n    content: '...';\n  }\n  100% {\n    content: '';\n  }\n}\n@-o-keyframes keyframes-loading-dots {\n  0% {\n    content: '';\n  }\n  25% {\n    content: '.';\n  }\n  50% {\n    content: '..';\n  }\n  75% {\n    content: '...';\n  }\n  100% {\n    content: '';\n  }\n}\n@keyframes keyframes-loading-dots {\n  0% {\n    content: '';\n  }\n  25% {\n    content: '.';\n  }\n  50% {\n    content: '..';\n  }\n  75% {\n    content: '...';\n  }\n  100% {\n    content: '';\n  }\n}\n.ea-editor-property-control-instagram-connected-account-select {\n  position: relative;\n}\n.ea-editor-property-control-instagram-connected-account-select-readonly input {\n  cursor: pointer;\n}\n.ea-editor-property-control-instagram-connected-account-select-open > input {\n  border-radius: 3px 3px 0 0 !important;\n}\n.ea-editor-property-control-instagram-connected-account-select input {\n  box-sizing: border-box;\n  color: #fff;\n  font-size: 13px;\n  font-weight: 400;\n  background: #303131;\n  border-radius: 3px;\n  width: 100%;\n  height: 32px;\n  outline: none;\n  line-height: 20px;\n  padding: 6px 16px;\n  margin: 0;\n  transition: all 0.1s ease;\n  border: none;\n  appearance: none;\n}\n.ea-editor-property-control-instagram-connected-account-select input:focus {\n  background: #2c2d2d;\n}\n.ea-editor-property-control-instagram-connected-account-select:after {\n  display: block;\n  content: '';\n  width: 7px;\n  height: 5px;\n  position: absolute;\n  right: 11px;\n  top: 50%;\n  transform: translateY(-50%);\n  background-image: url("+o(52)+");\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: 7px 5px;\n  pointer-events: none;\n}\n.ea-editor-property-control-instagram-connected-account-select-dropdown {\n  position: absolute;\n  background: #fff;\n  width: 100%;\n  z-index: 10;\n  border: 1px solid #2c2d2d;\n  box-sizing: border-box;\n  overflow: hidden;\n  border-radius: 0 0 6px 6px;\n}\n.ea-editor-property-control-instagram-connected-account-select-dropdown-options {\n  max-height: 192px;\n  overflow: auto;\n}\n.ea-editor-property-control-instagram-connected-account-select-dropdown-options-item {\n  padding: 6px 16px;\n  transition: 0.3s all ease;\n  cursor: pointer;\n  font-size: 13px;\n  font-weight: 400;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  background: #fff;\n  line-height: 20px;\n  min-height: 20px;\n  box-sizing: border-box;\n  color: #111;\n}\n.ea-editor-property-control-instagram-connected-account-select-dropdown-options-item:hover {\n  background: #eee;\n}\n.ea-editor-property-control-instagram-connected-account-select-dropdown-options-item-selected {\n  background: #eee;\n}\n.ea-editor-property-control-instagram-connected-account-select-error {\n  font-size: 14px;\n  color: #ff6161;\n}\n.instagram-connected-account-profile {\n  display: flex;\n  align-items: center;\n}\n.instagram-connected-account-profile-picture {\n  width: 24px;\n  height: 24px;\n  border-radius: 50%;\n  overflow: hidden;\n  margin-right: 8px;\n}\n.instagram-connected-account-profile-picture img {\n  width: 24px;\n  height: 24px;\n}\n.instagram-connected-account-profile-name small {\n  color: #808080;\n}\n.instagram-connected-account-profile-stats {\n  margin-top: 4px;\n  display: flex;\n  justify-content: space-between;\n  font-size: 12px;\n}\n.instagram-connected-account-profile-id {\n  display: flex;\n  justify-content: flex-end;\n  color: #808080;\n  font-size: 10px;\n}\n.ea-editor-toolbar {\n  position: absolute;\n  top: 80px;\n  right: 0;\n}\n@media only screen and (max-width: 480px) {\n  .ea-editor-toolbar {\n    display: none;\n  }\n}\n.ea-editor-toolbar-item {\n  position: relative;\n}\n.ea-editor-toolbar-item:first-child .ea-editor-toolbar-item-trigger {\n  padding-top: 6px;\n}\n.ea-editor-toolbar-item:last-child .ea-editor-toolbar-item-trigger {\n  padding-bottom: 6px;\n}\n.ea-editor-toolbar-item-trigger {\n  box-sizing: border-box;\n  padding: 3px 6px;\n  background: #38393a;\n  cursor: pointer;\n}\n.ea-editor-toolbar-item-trigger:hover .ea-editor-toolbar-item-icon svg {\n  fill: #fff;\n}\n.ea-editor-toolbar-item-icon {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 26px;\n  height: 26px;\n}\n.toolbar-item-active .ea-editor-toolbar-item-icon {\n  background: #2c2c2d;\n}\n.ea-editor-toolbar-item-icon svg {\n  width: 16px;\n  height: 16px;\n  fill: #66686a;\n  transition: 0.1s;\n}\n.toolbar-item-active .ea-editor-toolbar-item-icon svg {\n  fill: #fff;\n}\n.ea-editor-toolbar-item-values {\n  visibility: hidden;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  position: absolute;\n  top: 0px;\n  right: 38px;\n  padding: 0 2px;\n  border-radius: 2px;\n  transition: 0.2s;\n  opacity: 0;\n  background: #38393a;\n}\n.toolbar-item-active .ea-editor-toolbar-item-values {\n  visibility: visible;\n  opacity: 1;\n  right: 42px;\n}\n.ea-editor-toolbar-item-value {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  box-sizing: border-box;\n  padding: 4px 2px;\n  cursor: pointer;\n}\n.ea-editor-toolbar-item-value-icon {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 26px;\n  height: 26px;\n  border-radius: 2px;\n}\n.ea-editor-toolbar-resolution-value:hover .ea-editor-toolbar-resolution-value-icon svg {\n  fill: #fff;\n}\n.toolbar-item-value-active .ea-editor-toolbar-resolution-value-icon {\n  background: #2c2c2d;\n}\n.ea-editor-toolbar-resolution-value-icon svg {\n  width: 16px;\n  height: 16px;\n  fill: #66686a;\n  transition: 0.1s;\n}\n.toolbar-item-value-active .ea-editor-toolbar-resolution-value-icon svg {\n  fill: #fff;\n}\n.ea-editor-toolbar-background-value:hover.toolbar-item-value-active .ea-editor-toolbar-background-value-icon-color {\n  box-shadow: 0 0 0 2px #fc4264;\n}\n.ea-editor-toolbar-background-value:hover .ea-editor-toolbar-background-value-icon-color {\n  box-shadow: 0 0 0 2px #fff;\n}\n.ea-editor-toolbar-background-value-icon {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.ea-editor-toolbar-background-value-icon-color {\n  box-sizing: border-box;\n  width: 18px;\n  height: 18px;\n  border-radius: 2px;\n  box-shadow: 0 0 0 1px #474848;\n}\n.toolbar-item-value-active .ea-editor-toolbar-background-value-icon-color {\n  box-shadow: 0 0 0 2px #fc4264;\n}\n.ea-editor-toolbar-background-white {\n  background: #fff;\n}\n.ea-editor-toolbar-background-black {\n  background: #252627;\n}\n.ea-editor-toolbar-background-white-chess {\n  background-size: 10px;\n  background-image: url("+o(66)+");\n}\n.ea-editor-toolbar-background-black-chess {\n  background-size: 10px;\n  background-image: url("+o(67)+");\n}\n.ea-editor-preview-overlay-white {\n  background: #fff;\n}\n.ea-editor-preview-overlay-black {\n  background: #252627;\n}\n.ea-editor-preview-overlay-white-chess {\n  background-image: url("+o(66)+");\n}\n.ea-editor-preview-overlay-black-chess {\n  background-image: url("+o(67)+");\n}\n.ea-editor-templates {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: #38393a;\n  transition: all 0.3s ease;\n  transform: translateX(-100%);\n  z-index: 6;\n}\n.ea-editor-templates-enable {\n  transition: 0s;\n  transform: translateX(0);\n  opacity: 1;\n  visibility: visible;\n}\n.ea-editor-templates-hide {\n  transition: all 0.3s ease;\n  transform: translateX(-100%);\n  opacity: 0;\n  pointer-events: 0;\n  visibility: hidden;\n}\n.ea-editor-templates-wrapper {\n  overflow: auto;\n  height: 100%;\n  box-sizing: border-box;\n}\n.ea-editor-templates-wrapper::-webkit-scrollbar-track {\n  background-color: #f0f0f0;\n  padding: 0 2px;\n}\n.ea-editor-templates-wrapper::-webkit-scrollbar {\n  width: 6px;\n}\n.ea-editor-templates-wrapper::-webkit-scrollbar-thumb {\n  background-color: #888;\n}\n.ea-editor-templates-wrapper::after {\n  content: '';\n  display: block;\n  height: 88px;\n}\n.ea-editor-templates-header {\n  color: #fff;\n  font-size: 18px;\n  font-weight: 400;\n  text-align: center;\n  display: block;\n  padding: 28px 20px;\n}\n.ea-editor-templates-item {\n  margin-left: 20px;\n  width: 138px;\n  display: inline-flex;\n  align-items: center;\n  flex-direction: column;\n  overflow: hidden;\n  cursor: pointer;\n  position: relative;\n  margin-bottom: 20px;\n  border-radius: 2px;\n  backface-visibility: hidden;\n}\n.ea-editor-templates-item-inner {\n  height: 100%;\n  position: relative;\n  z-index: 1;\n  background-color: #252627;\n  margin: 2px;\n  border-radius: 2px;\n  overflow: hidden;\n  width: calc(100% - 4px);\n}\n.ea-editor-templates-item:before {\n  background: linear-gradient(40deg, transparent 15%, transparent 50%, transparent 85%);\n  content: '';\n  top: -2px;\n  bottom: -2px;\n  left: -2px;\n  right: -2px;\n  display: block;\n  position: absolute;\n  opacity: 0;\n  transition: 0.3s all ease;\n}\n.ea-editor-templates-item:hover:before {\n  background: rgba(255,255,255,0.1);\n  opacity: 1;\n}\n.ea-editor-templates-item-image {\n  width: 134px;\n  height: 134px;\n  display: block;\n}\n.ea-editor-templates-item-image-container {\n  width: 134px;\n  height: 134px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  flex-grow: 0;\n}\n.ea-editor-templates-item-active:hover:before {\n  background: linear-gradient(180deg, #ffa450 0%, #ff4177 100%);\n}\n.ea-editor-templates-item-active:before {\n  background: linear-gradient(180deg, #ffa450 0%, #ff4177 100%);\n  opacity: 1;\n}\n.ea-editor-templates-item-title {\n  color: #fff;\n  margin-top: auto;\n  font-size: 14px;\n  font-weight: 400;\n  overflow: hidden;\n  height: 62px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  flex-shrink: 0;\n  max-width: 100%;\n  padding: 12px;\n  box-sizing: border-box;\n  text-align: center;\n  line-height: 18px;\n}\n.ea-editor-templates-item-radio {\n  width: 0;\n  height: 0;\n  opacity: 0;\n  visibility: hidden;\n}\n.ea-editor-templates-actions {\n  position: absolute;\n  display: flex;\n  bottom: 0;\n  z-index: 1;\n  justify-content: center;\n  align-items: center;\n  padding: 20px 0;\n  width: 100%;\n  background-color: #404141;\n}\n.ea-editor-templates-actions-customize {\n  background: none;\n  border-radius: 4px;\n  border: none;\n  box-sizing: border-box;\n  color: #fff;\n  font-weight: 600;\n  cursor: pointer;\n  display: inline-flex;\n  justify-content: center;\n  align-content: center;\n  align-items: center;\n  position: relative;\n  outline: none;\n  text-align: center;\n  transition: all 0.4s ease;\n  text-transform: none;\n  background-color: #fa4772;\n  font-size: 15px;\n  line-height: 24px;\n  padding: 8px 40px;\n  padding-right: 16px;\n  padding-left: 32px;\n  height: 40px;\n}\n.ea-editor-templates-actions-customize:hover {\n  transform: translateY(-3px);\n  box-shadow: 0 8px 20px rgba(0,0,0,0.1);\n}\n.ea-editor-templates-actions-customize svg {\n  width: 24px;\n  height: 24px;\n  margin-left: 8px;\n  fill: #fff;\n  display: block;\n}\n@-moz-keyframes jump {\n  0% {\n    transform: translate3d(0, 0, 0);\n  }\n  40% {\n    transform: translate3d(10%, 0, 0);\n  }\n  100% {\n    transform: translate3d(30%, 0, 0);\n  }\n}\n@-webkit-keyframes jump {\n  0% {\n    transform: translate3d(0, 0, 0);\n  }\n  40% {\n    transform: translate3d(10%, 0, 0);\n  }\n  100% {\n    transform: translate3d(30%, 0, 0);\n  }\n}\n@-o-keyframes jump {\n  0% {\n    transform: translate3d(0, 0, 0);\n  }\n  40% {\n    transform: translate3d(10%, 0, 0);\n  }\n  100% {\n    transform: translate3d(30%, 0, 0);\n  }\n}\n@keyframes jump {\n  0% {\n    transform: translate3d(0, 0, 0);\n  }\n  40% {\n    transform: translate3d(10%, 0, 0);\n  }\n  100% {\n    transform: translate3d(30%, 0, 0);\n  }\n}\n",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var o=this[t];o[2]?e.push("@media "+o[2]+"{"+o[1]+"}"):e.push(o[1])}return e.join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},i=0;i<this.length;i++){var r=this[i][0];"number"==typeof r&&(n[r]=!0)}for(i=0;i<t.length;i++){var a=t[i];"number"==typeof a[0]&&n[a[0]]||(o&&!a[2]?a[2]=o:o&&(a[2]="("+a[2]+") and ("+o+")"),e.push(a))}},e}},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMiAxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTIgMTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiNmZmZmZmY7IiBkPSJNOS45LDMuMWMtMC4yLDAtMC4zLDAtMC40LDAuMkw1LjMsNy41TDMuNCw1LjZDMy4zLDUuNSwzLjEsNS40LDMsNS41Yy0wLjEsMC0wLjMsMC4xLTAuNCwwLjJDMi41LDUuNywyLjQsNS45LDIuNCw2CgkJCWMwLDAuMiwwLDAuMywwLjIsMC40bDIuMywyLjNDNSw4LjgsNS4xLDguOSw1LjMsOC45YzAuMSwwLDAuMy0wLjEsMC40LTAuMmw0LjYtNC42YzAuMS0wLjEsMC4yLTAuMywwLjItMC40CgkJCWMwLTAuMS0wLjEtMC4zLTAuMi0wLjRDMTAuMSwzLjIsMTAsMy4xLDkuOSwzLjF6Ii8+Cgk8L2c+Cjwvc3ZnPgo="},function(e,t,o){var n={},i=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}((function(){return window&&document&&document.all&&!window.atob})),r=function(e){var t={};return function(e){if(void 0===t[e]){var o=function(e){return document.querySelector(e)}.call(this,e);if(o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}}(),a=null,s=0,l=[],c=o(149);function d(e,t){for(var o=0;o<e.length;o++){var i=e[o],r=n[i.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](i.parts[a]);for(;a<i.parts.length;a++)r.parts.push(m(i.parts[a],t))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(m(i.parts[a],t));n[i.id]={id:i.id,refs:1,parts:s}}}}function p(e,t){for(var o=[],n={},i=0;i<e.length;i++){var r=e[i],a=t.base?r[0]+t.base:r[0],s={css:r[1],media:r[2],sourceMap:r[3]};n[a]?n[a].parts.push(s):o.push(n[a]={id:a,parts:[s]})}return o}function u(e,t){var o=r(e.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=l[l.length-1];if("top"===e.insertAt)n?n.nextSibling?o.insertBefore(t,n.nextSibling):o.appendChild(t):o.insertBefore(t,o.firstChild),l.push(t);else if("bottom"===e.insertAt)o.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=r(e.insertInto+" "+e.insertAt.before);o.insertBefore(t,i)}}function f(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=l.indexOf(e);t>=0&&l.splice(t,1)}function h(e){var t=document.createElement("style");return e.attrs.type="text/css",g(t,e.attrs),u(e,t),t}function g(e,t){Object.keys(t).forEach((function(o){e.setAttribute(o,t[o])}))}function m(e,t){var o,n,i,r;if(t.transform&&e.css){if(!(r=t.transform(e.css)))return function(){};e.css=r}if(t.singleton){var l=s++;o=a||(a=h(t)),n=b.bind(null,o,l,!1),i=b.bind(null,o,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",g(t,e.attrs),u(e,t),t}(t),n=function(e,t,o){var n=o.css,i=o.sourceMap,r=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||r)&&(n=c(n)),i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,o,t),i=function(){f(o),o.href&&URL.revokeObjectURL(o.href)}):(o=h(t),n=function(e,t){var o=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}.bind(null,o),i=function(){f(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var o=p(e,t);return d(o,t),function(e){for(var i=[],r=0;r<o.length;r++){var a=o[r];(s=n[a.id]).refs--,i.push(s)}for(e&&d(p(e,t),t),r=0;r<i.length;r++){var s;if(0===(s=i[r]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete n[s.id]}}}};var v=function(){var e=[];return function(t,o){return e[t]=o,e.filter(Boolean).join("\n")}}();function b(e,t,o,n){var i=o?"":n.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var r=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var o=t.protocol+"//"+t.host,n=o+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,r=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r)?e:(i=0===r.indexOf("//")?r:0===r.indexOf("/")?o+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},function(e,t,o){

e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="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=(function(){function e(e){this.value=e}function t(t){var o,n;function i(o,n){try{var a=t[o](n),s=a.value;s instanceof e?Promise.resolve(s.value).then((function(e){i("next",e)}),(function(e){i("throw",e)})):r(a.done?"return":"normal",a.value)}catch(e){r("throw",e)}}function r(e,t){switch(e){case"return":o.resolve({value:t,done:!0});break;case"throw":o.reject(t);break;default:o.resolve({value:t,done:!1})}(o=o.next)?i(o.key,o.arg):n=null}this._invoke=function(e,t){return new Promise((function(r,a){var s={key:e,arg:t,resolve:r,reject:a,next:null};n?n=n.next=s:(o=n=s,i(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),n=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),i=function(){function i(e,t,n,r,a){o(this,i),this.$scope=e,this.$element=t,this.$document=n,this.$timeout=r,this.ColorPickerOptions=a,this.$scope.init=this.init.bind(this),this.ngModelOptions={},this.hue=0,this.saturation=void 0,this.lightness=void 0,this.opacity=void 0,this.basicEventTypes=["hue","saturation","lightness","opacity"],this.fullEventTypes=["color","hue","saturation","lightness","opacity"]}return i.$inject=["_$scope","_$element","_$document","_$timeout","_ColorPickerOptions"],n(i,[{key:"init",value:function(){this.$scope.control[0].$options&&this.$scope.control[0].$options.$$options&&(this.ngModelOptions=this.$scope.control[0].$options.$$options),this.chrome=Boolean(window.chrome);var e=window.navigator.userAgent.match(/Android\s([0-9\.]*)/i);this.android_version=e&&e.length>1?parseFloat(e[1]):NaN,this.updateModel=!0,this.initWatchers(),this.initConfig(),this.initMouseEvents()}},{key:"initConfig",value:function(){this.options||(this.options={}),this.mergeOptions(this.options,this.ColorPickerOptions),this.is_open=this.options.inline,this.options.inline&&(this.options.close.show=!1),this.pickerDimensions={width:150,height:150},this.sliderDimensions={width:this.options.horizontal?this.pickerDimensions.width:20,height:this.options.horizontal?20:this.pickerDimensions.height}}},{key:"mergeOptions",value:function(e,o){for(var n in o)o.hasOwnProperty(n)&&(e&&e.hasOwnProperty(n)?"object"===t(o[n])&&this.mergeOptions(e[n],o[n]):e[n]=o[n])}},{key:"initWatchers",value:function(){var e=this;this.$scope.$watch("AngularColorPickerController.internalNgModel",this.watchInternalNgModel.bind(this)),this.$scope.$watch("AngularColorPickerController.ngModel",this.watchNgModel.bind(this)),this.$scope.$watch("AngularColorPickerController.options.swatchPos",(function(t){void 0!==t&&(e.initConfig(),e.$timeout((function(){e.updateSwatchBackground()})))})),this.$scope.$watchGroup(["AngularColorPickerController.options.format","AngularColorPickerController.options.alpha","AngularColorPickerController.options.case","AngularColorPickerController.options.round","AngularColorPickerController.options.restrictToFormat","AngularColorPickerController.options.preserveInputFormat","AngularColorPickerController.options.allowEmpty","AngularColorPickerController.options.horizontal","AngularColorPickerController.options.dynamicHue","AngularColorPickerController.options.dynamicSaturation","AngularColorPickerController.options.dynamicLightness","AngularColorPickerController.options.dynamicAlpha"],(function(t){void 0!==t&&(e.initConfig(),e.update())})),this.$scope.$watchGroup(["AngularColorPickerController.options.disabled","AngularColorPickerController.options.swatchBootstrap","AngularColorPickerController.options.swatchOnly","AngularColorPickerController.options.swatch","AngularColorPickerController.options.pos","AngularColorPickerController.options.inline","AngularColorPickerController.options.placeholder"],(function(t){void 0!==t&&e.initConfig()})),this.$scope.$watch("AngularColorPickerController.api",this.setupApi.bind(this)),this.$scope.$watch("AngularColorPickerController.swatchColor",this.updateSwatchBackground.bind(this)),this.$scope.$watch("AngularColorPickerController.hue",(function(){e.valueUpdate("hue")})),this.$scope.$watch("AngularColorPickerController.saturation",(function(){e.valueUpdate("saturation")})),this.$scope.$watch("AngularColorPickerController.lightness",(function(){e.valueUpdate("lightness")})),this.$scope.$watch("AngularColorPickerController.opacity",(function(){e.valueUpdate("opacity")}))}},{key:"watchInternalNgModel",value:function(e,t){this.colorMouse||this.watchNgModelSet(e)}},{key:"watchNgModel",value:function(e,t){void 0===e||this.hasOwnProperty("initialNgModel")||(this.initialNgModel=e),this.checkDirty(e),this.internalNgModel=this.ngModelOptions.getterSetter?this.ngModel():this.ngModel,this.colorMouse||this.watchNgModelSet(e)}},{key:"watchNgModelSet",value:function(t){var o=this;if(null!=t){var n=e(t),i=this.isColorValid(n);i&&(this.setColorValue(n),this.updateModel=!1,this.$timeout((function(){o.updateModel=!0}))),this.$scope.control[0].$setValidity("color",i)}else null!==t&&""!==t||(this.hue=0,this.saturation=void 0,this.lightness=void 0,this.opacity=void 0),this.swatchColor=""}},{key:"initMouseEvents",value:function(){var e=this,t={mouseDown:this.onMouseDown.bind(this),mouseUp:this.onMouseUp.bind(this),mouseMove:this.onMouseMove.bind(this),keyUp:this.onKeyUp.bind(this)};this.$document.on("mousedown",t.mouseDown),this.$document.on("mouseup",t.mouseUp),this.$document.on("mousemove",t.mouseMove),this.$document.on("touchstart",t.mouseDown),this.$document.on("touchend",t.mouseUp),this.$document.on("touchmove",t.mouseMove),this.$document.on("keyup",t.keyUp),this.find(".color-picker-grid").on("click",(function(t){e.onClick("color",t)})),this.find(".color-picker-grid").on("touchend",(function(t){e.onClick("color",t)})),this.find(".color-picker-hue").on("click",(function(t){e.onClick("hue",t)})),this.find(".color-picker-hue").on("touchend",(function(t){e.onClick("hue",t)})),this.find(".color-picker-saturation").on("click",(function(t){e.onClick("saturation",t)})),this.find(".color-picker-saturation").on("touchend",(function(t){e.onClick("saturation",t)})),this.find(".color-picker-lightness").on("click",(function(t){e.onClick("lightness",t)})),this.find(".color-picker-lightness").on("touchend",(function(t){e.onClick("lightness",t)})),this.find(".color-picker-opacity").on("click",(function(t){e.onClick("opacity",t)})),this.find(".color-picker-opacity").on("touchend",(function(t){e.onClick("opacity",t)})),this.find(".color-picker-input").on("focusin",this.onFocus.bind(this)),this.find(".color-picker-input").on("focusout",this.onBlur.bind(this)),this.$scope.$on("$destroy",(function(){e.$document.off("mousedown",t.mouseDown),e.$document.off("mouseup",t.mouseUp),e.$document.off("mousemove",t.mouseMove),e.$document.off("touchstart",t.mouseDown),e.$document.off("touchend",t.mouseUp),e.$document.off("touchmove",t.mouseMove),e.$document.off("keyup",t.keyUp),e.eventApiDispatch("onDestroy")}))}},{key:"onMouseDown",value:function(e){if(this.has_moused_moved=!1,this.options.disabled||0===this.find(e.target).length)return!0;for(var t=0;t<this.fullEventTypes.length;t++)this.onMouseDownType(this.fullEventTypes[t],e)}},{key:"onMouseDownType",value:function(e,t){("color"===e&&(t.target.classList.contains("color-picker-grid-inner")||t.target.classList.contains("color-picker-picker")||t.target.parentNode.classList.contains("color-picker-picker"))||t.target.classList.contains("color-picker-"+e)||t.target.parentNode.classList.contains("color-picker-"+e))&&this.mouseEventToggle(e,!1,t)}},{key:"onMouseUp",value:function(e){if(this.anyMouseEvents()||0!==this.find(e.target).length)for(var t=0;t<this.fullEventTypes.length;t++)this.onMouseUpType(this.fullEventTypes[t],e);else this.setupApi(),this.options.hide.click&&this.api.close(e),this.$scope.$apply()}},{key:"onMouseUpType",value:function(e,t){this[e+"Mouse"]&&this.has_moused_moved&&(this.mouseEventToggle(e,!0,t),this.onChange(t))}},{key:"onMouseMove",value:function(e){for(var t=0;t<this.fullEventTypes.length;t++)this.onMouseMoveType(this.fullEventTypes[t],e)}},{key:"onMouseMoveType",value:function(e,t){this[e+"Mouse"]&&(this.has_moused_moved=!0,this.valueChange(e,t),this.$scope.$apply())}},{key:"onKeyUp",value:function(e){this.options.hide.escape&&27===e.keyCode&&this.api.close(e)}},{key:"onClick",value:function(e,t){this.options.disabled||this.has_moused_moved||(this.valueChange(e,t),this.mouseEventToggle(e,!0,t),this.onChange(t))}},{key:"onChange",value:function(e){this.internalNgModel!==this.onChangeValue&&(this.onChangeValue=this.internalNgModel,this.eventApiDispatch("onChange",[e]))}},{key:"onBlur",value:function(e){this.internalNgModel!==this.onChangeValue&&(this.updateModel=!0,this.update()),this.$scope.control[0].$setTouched(),this.eventApiDispatch("onBlur",[e])}},{key:"onSwatchClick",value:function(e){this.options.show.swatch&&!this.options.disabled&&this.api.open(e)}},{key:"onFocus",value:function(e){this.options.show.focus&&this.api.open(e)}},{key:"setupApi",value:function(){var e=this;this.api||(this.api={}),this.api.open=function(t){if(e.is_open)return!0;e.is_open=!0,e.hueMouse=!1,e.opacityMouse=!1,e.colorMouse=!1,e.$scope.$applyAsync();for(var o=0;o<e.basicEventTypes.length;o++)e.valueUpdate(e.basicEventTypes[o]);e.eventApiDispatch("onOpen",[t])},this.api.close=function(t){e.options.inline||!e.is_open&&null===e.$element[0].querySelector(".color-picker-panel").offsetParent||(e.is_open=!1,e.$scope.$applyAsync(),e.update(),e.eventApiDispatch("onClose",[t]))},this.api.clear=function(t){e.setNgModel(null),e.eventApiDispatch("onClear",[t])},this.api.reset=function(t){e.internalNgModel!==e.initialNgModel&&(e.setNgModel(e.initialNgModel),e.eventApiDispatch("onReset",[t]))},this.api.getElement=function(){return e.$element},this.api.getScope=function(){return e.$scope}}},{key:"setNgModel",value:function(e){this.internalNgModel=e,this.ngModelOptions.getterSetter?this.ngModel(e):this.ngModel=e}},{key:"update",value:function(){if(!this.areAllValuesSet())return!1;var t=e(this.getColorValue());this.swatchColor=t.toHslString(),this.updateGridBackground(t),this.updateHueBackground(t),this.huePosUpdate(),this.updateSaturationBackground(t),this.saturationPosUpdate(),this.updateLightnessBackground(t),this.lightnessPosUpdate(),this.updateOpacityBackground(t),this.opacityPosUpdate();var o=this.options.preserveInputFormat&&e(this.internalNgModel).toHsvString()===t.toHsvString();if(this.updateModel&&!o){var n=t[{rgb:"toRgbString",hex:"toHex",hex8:"toHex8",hexstring:"toHexString",hex8string:"toHex8String",hsv:"toHsvString",hsl:"toHslString",raw:"clone"}[this.options.format.toLowerCase()]]();this.options.format.match(/hex/i)&&(n="upper"===this.options.case?n.toUpperCase():n.toLowerCase()),this.setNgModel(n)}}},{key:"mouseEventToggle",value:function(e,t,o){this.stopEvent(o),this[e+"Mouse"]=!t,this.$scope.$apply()}},{key:"valueChange",value:function(e,t){if(this.stopEvent(t),"color"===e)return this.colorChange(t);var o=this.find(".color-picker-"+e),n=this.getEventPos(t),i=this.getMaxFromType(e);this[e]=this.calculateSliderPos(o,n,i),this[e]>i?this[e]=i:this[e]<0&&(this[e]=0)}},{key:"valueUpdate",value:function(e){if(void 0!==this[e]){if("saturation"===e)this[e+"Pos"]=this[e];else{var t=this.getMaxFromType(e);this[e+"Pos"]=100*(1-this[e]/t)}this[e+"Pos"]<0?this[e+"Pos"]=0:this[e+"Pos"]>100&&(this[e+"Pos"]=100),this.options.round&&(this.getRoundPos(),this.updateRoundPos()),this[e+"PosUpdate"](),this.update()}}},{key:"huePosUpdate",value:function(){var e=angular.element(this.$element[0].querySelector(".color-picker-hue .color-picker-slider"));this.options.horizontal?e.css({left:this.sliderDimensions.width*this.huePos/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*this.huePos/100+"px"})}},{key:"updateHueBackground",value:function(t){var o=this.find(".color-picker-hue .color-picker-overlay"),n=this.options.horizontal?"left":"top",i=this.getColorValue(this.options.dynamicHue),r=this.getColorValue(this.options.dynamicHue),a=this.getColorValue(this.options.dynamicHue),s=this.getColorValue(this.options.dynamicHue),l=this.getColorValue(this.options.dynamicHue),c=this.getColorValue(this.options.dynamicHue),d=this.getColorValue(this.options.dynamicHue);i.h=0,r.h=60,a.h=120,s.h=180,l.h=240,c.h=300,d.h=359,o.css({background:"linear-gradient(to "+n+", "+e(i).toRgbString()+" 0%, "+e(r).toRgbString()+" 17%, "+e(a).toRgbString()+" 33%, "+e(s).toRgbString()+" 50%, "+e(l).toRgbString()+" 67%, "+e(c).toRgbString()+" 83%, "+e(d).toRgbString()+" 100%)"})}},{key:"saturationPosUpdate",value:function(){var e;this.options.round||(e=angular.element(this.$element[0].querySelector(".color-picker-grid .color-picker-picker"))).css({left:this.pickerDimensions.height*this.saturationPos/100+"px"}),e=angular.element(this.$element[0].querySelector(".color-picker-saturation .color-picker-slider")),this.options.horizontal?e.css({left:this.sliderDimensions.width*(100-this.saturationPos)/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*(100-this.saturationPos)/100+"px"})}},{key:"updateSaturationBackground",value:function(t){var o=this.find(".color-picker-saturation .color-picker-overlay"),n=this.options.horizontal?"right":"bottom",i=this.getColorValue(this.options.dynamicSaturation),r=this.getColorValue(this.options.dynamicSaturation);i.s="100%",r.s="0%",o.css({background:"linear-gradient(to "+n+", "+e(i).toRgbString()+" 0%, "+e(r).toRgbString()+" 100%)"})}},{key:"lightnessPosUpdate",value:function(){var e;this.options.round||(e=angular.element(this.$element[0].querySelector(".color-picker-grid .color-picker-picker"))).css({top:this.pickerDimensions.width*this.lightnessPos/100+"px"}),e=angular.element(this.$element[0].querySelector(".color-picker-lightness .color-picker-slider")),this.options.horizontal?e.css({left:this.sliderDimensions.width*this.lightnessPos/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*this.lightnessPos/100+"px"})}},{key:"updateLightnessBackground",value:function(t){var o=this.find(".color-picker-lightness .color-picker-overlay"),n=this.options.horizontal?"right":"bottom",i=this.getColorValue(this.options.dynamicLightness),r=this.getColorValue(this.options.dynamicLightness),a=this.getColorValue(this.options.dynamicLightness);this.options.round?(i.l=100,r.l=50,a.l=0):(i.v=100,r.v=50,a.v=0),o.css({background:"linear-gradient(to "+n+", "+e(i).toRgbString()+" 0%, "+e(r).toRgbString()+" 50%, "+e(a).toRgbString()+" 100%)"})}},{key:"opacityPosUpdate",value:function(){var e=angular.element(this.$element[0].querySelector(".color-picker-opacity .color-picker-slider"));this.options.horizontal?e.css({left:this.sliderDimensions.width*this.opacityPos/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*this.opacityPos/100+"px"})}},{key:"updateOpacityBackground",value:function(t){var o=this.find(".color-picker-opacity .color-picker-overlay"),n=this.options.horizontal?"right":"bottom",i=this.getColorValue(this.options.dynamicAlpha),r=this.getColorValue(this.options.dynamicAlpha);i.a=1,r.a=0,o.css({background:"linear-gradient(to "+n+", "+e(i).toRgbString()+" 0%, "+e(r).toRgbString()+" 100%)"})}},{key:"colorChange",value:function(e){this.stopEvent(e);var t=this.find(".color-picker-grid-inner"),o=this.getEventPos(e),n=this.offset(t);this.options.round?this.colorChangeRound(t,n,o):this.colorChangeSquare(t,n,o)}},{key:"colorChangeRound",value:function(e,t,o){var n=2*(o.pageX-t.left)/e.prop("offsetWidth")-1,i=-2*(o.pageY-t.top)/e.prop("offsetHeight")+1,r=Math.atan2(i,n),a=Math.round(57.29577951308233*r);a<0&&(a+=360),this.hue=a;var s=Math.sqrt(n*n+i*i);s>1?s=1:s<0&&(s=0),this.saturation=100*s,void 0===this.lightness&&(this.lightness=50)}},{key:"colorChangeSquare",value:function(e,t,o){this.saturation=(o.pageX-t.left)/e.prop("offsetWidth")*100,this.lightness=100*(1-(o.pageY-t.top)/e.prop("offsetHeight")),this.saturation>100?this.saturation=100:this.saturation<0&&(this.saturation=0),this.lightness>100?this.lightness=100:this.lightness<0&&(this.lightness=0)}},{key:"updateGridBackground",value:function(t){var o=this.find(".color-picker-grid .color-picker-overlay"),n=this.getColorValue();this.options.round?n.s="0%":(n.s="100%",n.v="100%",n.a=1),o.css({"background-color":e(n).toRgbString(),opacity:t.getAlpha()}),this.find(".color-picker-grid .color-picker-grid-inner").css({opacity:t.getAlpha()})}},{key:"updateSwatchBackground",value:function(){angular.element(this.$element[0].querySelector(".color-picker-swatch")).css({"background-color":this.swatchColor})}},{key:"isColorValid",value:function(e){var t=e.isValid();if(t&&this.options.restrictToFormat&&(t=e.getFormat()===this.getTinyColorFormat()),!t&&this.options.allowEmpty){var o=e.getOriginalInput();null!=o&&""!==o||(t=!0)}return t}},{key:"getTinyColorFormat",value:function(){return"hexString"===this.options.format?"hex":"hex8String"===this.options.format?"hex8":this.options.format}},{key:"areAllValuesSet",value:function(){return void 0!==this.hue&&void 0!==this.saturation&&void 0!==this.lightness}},{key:"getColorValue",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={h:this.hue,s:e?this.saturation+"%":"100%",v:e?this.lightness+"%":"100%"};return this.options.round&&(o={h:this.hue,s:e?this.saturation+"%":"100%",l:e?this.lightness+"%":"50%"}),t&&(o.a=e?this.opacity/100:1),o}},{key:"setColorValue",value:function(e){var t=!this.anyMouseEvents(),o=this.options.round?e.toHsl():e.toHsv();(t||this.hueMouse)&&(this.hue=o.h),(t||this.saturationMouse)&&(this.saturation=100*o.s),(t||this.lightnessMouse)&&(this.lightness=100*(this.options.round?o.l:o.v)),this.options.alpha&&(t||this.opacityMouse)&&(this.opacity=100*o.a)}},{key:"checkDirty",value:function(e){this.hasOwnProperty("initialNgModel")&&(e===this.initialNgModel?"function"==typeof this.$scope.control[0].$setPristine&&this.$scope.control[0].$setPristine():"function"==typeof this.$scope.control[0].$setDirty&&this.$scope.control[0].$setDirty())}},{key:"stopEvent",value:function(e){e.stopPropagation(),e.preventDefault()}},{key:"getRoundPos",value:function(){var e=.01745329251994*this.hue,t=Math.cos(e)*this.saturation,o=-Math.sin(e)*this.saturation;if(this.xPos=.5*(t+100),this.yPos=.5*(o+100),Math.pow(50-this.xPos,2)+Math.pow(50-this.yPos,2)>Math.pow(50,2)){var n=Math.atan2(this.yPos-50,this.xPos-50);this.xPos=50*Math.cos(n)+50,this.yPos=50*Math.sin(n)+50}}},{key:"updateRoundPos",value:function(){angular.element(this.$element[0].querySelector(".color-picker-grid .color-picker-picker")).css({left:this.pickerDimensions.width*this.xPos/100+"px",top:this.pickerDimensions.height*this.yPos/100+"px"})}},{key:"getEventPos",value:function(e){if(0===e.type.search("touch")){if(e.originalEvent&&e.originalEvent.changedTouches)return e.originalEvent.changedTouches[0];if(e.changedTouches)return e.changedTouches[0]}return e}},{key:"calculateSliderPos",value:function(e,t,o){return this.options.horizontal?Math.round((1-(t.pageX-this.offset(e).left)/e.prop("offsetWidth"))*o):Math.round((1-(t.pageY-this.offset(e).top)/e.prop("offsetHeight"))*o)}},{key:"eventApiDispatch",value:function(e,t){this.eventApi&&"function"==typeof this.eventApi[e]&&(t||(t=[]),t.unshift(this.internalNgModel),t.unshift(this.api),this.eventApi[e].apply(this,t))}},{key:"find",value:function(e){var t,o=this.wrapper?this.wrapper[0]:this.$element[0],n=[];if(!e)return n;if("string"==typeof e){if(1!==(t=o.nodeType)&&9!==t)return[];n=o.querySelectorAll(e)}else o.contains(e)&&n.push(e);return angular.element(n)}},{key:"offset",value:function(e){var t,o,n,i,r=e[0];if(r)return r.getClientRects().length?(n=r.getBoundingClientRect()).width||n.height?(i=r.ownerDocument,o=this.getWindowElements(i),t=i.documentElement,this.chrome&&this.android_version<6&&screen.width<=768?{top:n.top-t.clientTop,left:n.left-t.clientLeft}:{top:n.top+o.pageYOffset-t.clientTop,left:n.left+o.pageXOffset-t.clientLeft}):n:{top:0,left:0}}},{key:"getWindowElements",value:function(e){return null!==e&&e===e.window?e:9===e.nodeType&&e.defaultView}},{key:"anyMouseEvents",value:function(){return this.colorMouse||this.hueMouse||this.saturationMouse||this.lightnessMouse||this.opacityMouse}},{key:"getMaxFromType",value:function(e){return"hue"===e?360:100}}]),i}();function r(e){e.put("template/color-picker/directive.html",'<div class="color-picker-wrapper" ng-class="{\'color-picker-disabled\': AngularColorPickerController.options.disabled,\'color-picker-swatch-only\': AngularColorPickerController.options.swatchOnly,\'color-picker-open\': AngularColorPickerController.is_open,\'color-picker-closed\': !AngularColorPickerController.is_open,\'color-picker-horizontal\': AngularColorPickerController.options.horizontal,}"><div class="color-picker-input-wrapper" ng-class="{\'input-group\': AngularColorPickerController.options.swatchBootstrap && AngularColorPickerController.options.swatch}"><span ng-if="AngularColorPickerController.options.swatchPos === \'left\'" class="color-picker-swatch" ng-click="AngularColorPickerController.onSwatchClick($event)" ng-show="AngularColorPickerController.options.swatch" ng-class="{\'color-picker-swatch-left\': AngularColorPickerController.options.swatchPos !== \'right\', \'color-picker-swatch-right\': AngularColorPickerController.options.swatchPos === \'right\', \'input-group-addon\': AngularColorPickerController.options.swatchBootstrap}"></span><input ng-attr-id="{{AngularColorPickerController.options.id}}" ng-attr-name="{{AngularColorPickerController.options.name}}" class="color-picker-input {{AngularColorPickerController.options.inputClass}}" type="text" ng-model="AngularColorPickerController.internalNgModel" ng-model-options="AngularColorPickerController.ngModelOptions" ng-readonly="AngularColorPickerController.options.swatchOnly" ng-disabled="AngularColorPickerController.options.disabled" ng-change="AngularColorPickerController.onChange($event)" size="7" ng-class="{\'color-picker-input-swatch\': AngularColorPickerController.options.swatch && !AngularColorPickerController.options.swatchOnly && AngularColorPickerController.options.swatchPos === \'left\'}" placeholder="{{AngularColorPickerController.options.placeholder}}" ng-required="AngularColorPickerController.options.required"><span ng-if="AngularColorPickerController.options.swatchPos === \'right\'" class="color-picker-swatch" ng-click="AngularColorPickerController.onSwatchClick($event)" ng-show="AngularColorPickerController.options.swatch" ng-class="{\'color-picker-swatch-left\': AngularColorPickerController.options.swatchPos !== \'right\', \'color-picker-swatch-right\': AngularColorPickerController.options.swatchPos === \'right\', \'input-group-addon\': AngularColorPickerController.options.swatchBootstrap}"></span></div><div class="color-picker-panel" ng-class="{\'color-picker-panel-top color-picker-panel-right\': AngularColorPickerController.options.pos === \'top right\',\'color-picker-panel-top color-picker-panel-left\': AngularColorPickerController.options.pos === \'top left\',\'color-picker-panel-bottom color-picker-panel-right\': AngularColorPickerController.options.pos === \'bottom right\',\'color-picker-panel-bottom color-picker-panel-left\': AngularColorPickerController.options.pos === \'bottom left\',\'color-picker-panel-round\': AngularColorPickerController.options.round,\'color-picker-show-hue\': AngularColorPickerController.options.hue,\'color-picker-show-saturation\': AngularColorPickerController.options.saturation,\'color-picker-show-lightness\': AngularColorPickerController.options.lightness,\'color-picker-show-alpha\': AngularColorPickerController.options.alpha && AngularColorPickerController.options.format !== \'hex\',\'color-picker-show-inline\': AngularColorPickerController.options.inline,}"><div class="color-picker-grid-wrapper"><div class="color-picker-row"><div class="color-picker-grid"><div class="color-picker-overlay"></div><div class="color-picker-grid-inner"></div><div class="color-picker-picker"><div></div></div></div><div class="color-picker-hue" ng-show="AngularColorPickerController.options.hue"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div><div class="color-picker-saturation" ng-show="AngularColorPickerController.options.saturation"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div><div class="color-picker-lightness" ng-show="AngularColorPickerController.options.lightness"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div><div class="color-picker-opacity" ng-show="AngularColorPickerController.options.alpha && AngularColorPickerController.options.format !== \'hex\'"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div></div></div><div class="color-picker-actions"><button type="button"class="color-picker-action color-picker-action-clear"tabindex="-1"ng-class="AngularColorPickerController.options.clear.class"ng-show="AngularColorPickerController.options.clear.show"ng-click="AngularColorPickerController.api.clear($event)">{{AngularColorPickerController.options.clear.label}}</button><button type="button"class="color-picker-action color-picker-action-reset"tabindex="-1"ng-class="AngularColorPickerController.options.reset.class"ng-show="AngularColorPickerController.options.reset.show"ng-click="AngularColorPickerController.api.reset($event)">{{AngularColorPickerController.options.reset.label}}</button><button type="button"class="color-picker-action color-picker-action-close"tabindex="-1"ng-class="AngularColorPickerController.options.close.class"ng-show="AngularColorPickerController.options.close.show"ng-click="AngularColorPickerController.api.close($event)">{{AngularColorPickerController.options.close.label}}</button></div></div></div>')}return i.$inject=["$scope","$element","$document","$timeout","ColorPickerOptions"],r.$inject=["$templateCache"],angular.module("color.picker",[]).service("ColorPickerOptions",(function e(){return o(this,e),{id:void 0,name:void 0,required:!1,disabled:!1,placeholder:"",inputClass:"",restrictToFormat:!1,preserveInputFormat:!1,allowEmpty:!1,format:"hsl",case:"upper",hue:!0,saturation:!1,lightness:!1,alpha:!0,dynamicHue:!0,dynamicSaturation:!0,dynamicLightness:!0,dynamicAlpha:!0,round:!1,pos:"bottom left",inline:!1,horizontal:!1,swatch:!0,swatchOnly:!1,swatchPos:"left",swatchBootstrap:!0,show:{swatch:!0,focus:!0},hide:{blur:!0,escape:!0,click:!0},close:{show:!1,label:"Close",class:""},clear:{show:!1,label:"Clear",class:""},reset:{show:!1,label:"Reset",class:""}}})).directive("colorPicker",(function(){return{restrict:"E",require:["^ngModel"],scope:{ngModel:"=",options:"=?",api:"=?",eventApi:"=?"},bindToController:!0,templateUrl:"template/color-picker/directive.html",controller:i,controllerAs:"AngularColorPickerController",link:function(e,t,o,n){e.control=n,e.init()}}})).run(r)}(o(151))},function(e,t,o){var n;!function(i){var r=/^\s+/,a=/\s+$/,s=0,l=i.round,c=i.min,d=i.max,p=i.random;function u(e,t){if(t=t||{},(e=e||"")instanceof u)return e;if(!(this instanceof u))return new u(e,t);var o=function(e){var t={r:0,g:0,b:0},o=1,n=null,s=null,l=null,p=!1,u=!1;return"string"==typeof e&&(e=function(e){e=e.replace(r,"").replace(a,"").toLowerCase();var t,o=!1;if(z[e])e=z[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=B.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=B.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=B.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=B.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=B.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=B.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=B.hex8.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),a:R(t[4]),format:o?"name":"hex8"}:(t=B.hex6.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),format:o?"name":"hex"}:(t=B.hex4.exec(e))?{r:P(t[1]+""+t[1]),g:P(t[2]+""+t[2]),b:P(t[3]+""+t[3]),a:R(t[4]+""+t[4]),format:o?"name":"hex8"}:!!(t=B.hex3.exec(e))&&{r:P(t[1]+""+t[1]),g:P(t[2]+""+t[2]),b:P(t[3]+""+t[3]),format:o?"name":"hex"}}(e)),"object"==typeof e&&(V(e.r)&&V(e.g)&&V(e.b)?(t=function(e,t,o){return{r:255*L(e,255),g:255*L(t,255),b:255*L(o,255)}}(e.r,e.g,e.b),p=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):V(e.h)&&V(e.s)&&V(e.v)?(n=q(e.s),s=q(e.v),t=function(e,t,o){e=6*L(e,360),t=L(t,100),o=L(o,100);var n=i.floor(e),r=e-n,a=o*(1-t),s=o*(1-r*t),l=o*(1-(1-r)*t),c=n%6;return{r:255*[o,s,a,a,l,o][c],g:255*[l,o,o,s,a,a][c],b:255*[a,a,l,o,o,s][c]}}(e.h,n,s),p=!0,u="hsv"):V(e.h)&&V(e.s)&&V(e.l)&&(n=q(e.s),l=q(e.l),t=function(e,t,o){var n,i,r;function a(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(e=L(e,360),t=L(t,100),o=L(o,100),0===t)n=i=r=o;else{var s=o<.5?o*(1+t):o+t-o*t,l=2*o-s;n=a(l,s,e+1/3),i=a(l,s,e),r=a(l,s,e-1/3)}return{r:255*n,g:255*i,b:255*r}}(e.h,n,l),p=!0,u="hsl"),e.hasOwnProperty("a")&&(o=e.a)),o=D(o),{ok:p,format:e.format||u,r:c(255,d(t.r,0)),g:c(255,d(t.g,0)),b:c(255,d(t.b,0)),a:o}}(e);this._originalInput=e,this._r=o.r,this._g=o.g,this._b=o.b,this._a=o.a,this._roundA=l(100*this._a)/100,this._format=t.format||o.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=o.ok,this._tc_id=s++}function f(e,t,o){e=L(e,255),t=L(t,255),o=L(o,255);var n,i,r=d(e,t,o),a=c(e,t,o),s=(r+a)/2;if(r==a)n=i=0;else{var l=r-a;switch(i=s>.5?l/(2-r-a):l/(r+a),r){case e:n=(t-o)/l+(t<o?6:0);break;case t:n=(o-e)/l+2;break;case o:n=(e-t)/l+4}n/=6}return{h:n,s:i,l:s}}function h(e,t,o){e=L(e,255),t=L(t,255),o=L(o,255);var n,i,r=d(e,t,o),a=c(e,t,o),s=r,l=r-a;if(i=0===r?0:l/r,r==a)n=0;else{switch(r){case e:n=(t-o)/l+(t<o?6:0);break;case t:n=(o-e)/l+2;break;case o:n=(e-t)/l+4}n/=6}return{h:n,s:i,v:s}}function g(e,t,o,n){var i=[O(l(e).toString(16)),O(l(t).toString(16)),O(l(o).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function m(e,t,o,n){return[O(N(n)),O(l(e).toString(16)),O(l(t).toString(16)),O(l(o).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var o=u(e).toHsl();return o.s-=t/100,o.s=I(o.s),u(o)}function b(e,t){t=0===t?0:t||10;var o=u(e).toHsl();return o.s+=t/100,o.s=I(o.s),u(o)}function y(e){return u(e).desaturate(100)}function x(e,t){t=0===t?0:t||10;var o=u(e).toHsl();return o.l+=t/100,o.l=I(o.l),u(o)}function _(e,t){t=0===t?0:t||10;var o=u(e).toRgb();return o.r=d(0,c(255,o.r-l(-t/100*255))),o.g=d(0,c(255,o.g-l(-t/100*255))),o.b=d(0,c(255,o.b-l(-t/100*255))),u(o)}function w(e,t){t=0===t?0:t||10;var o=u(e).toHsl();return o.l-=t/100,o.l=I(o.l),u(o)}function k(e,t){var o=u(e).toHsl(),n=(o.h+t)%360;return o.h=n<0?360+n:n,u(o)}function j(e){var t=u(e).toHsl();return t.h=(t.h+180)%360,u(t)}function C(e){var t=u(e).toHsl(),o=t.h;return[u(e),u({h:(o+120)%360,s:t.s,l:t.l}),u({h:(o+240)%360,s:t.s,l:t.l})]}function S(e){var t=u(e).toHsl(),o=t.h;return[u(e),u({h:(o+90)%360,s:t.s,l:t.l}),u({h:(o+180)%360,s:t.s,l:t.l}),u({h:(o+270)%360,s:t.s,l:t.l})]}function A(e){var t=u(e).toHsl(),o=t.h;return[u(e),u({h:(o+72)%360,s:t.s,l:t.l}),u({h:(o+216)%360,s:t.s,l:t.l})]}function M(e,t,o){t=t||6,o=o||30;var n=u(e).toHsl(),i=360/o,r=[u(e)];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,r.push(u(n));return r}function E(e,t){t=t||6;for(var o=u(e).toHsv(),n=o.h,i=o.s,r=o.v,a=[],s=1/t;t--;)a.push(u({h:n,s:i,v:r})),r=(r+s)%1;return a}u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,o,n=this.toRgb();return e=n.r/255,t=n.g/255,o=n.b/255,.2126*(e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:i.pow((o+.055)/1.055,2.4))},setAlpha:function(e){return this._a=D(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),o=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+o+"%, "+n+"%)":"hsva("+t+", "+o+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),o=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+o+"%, "+n+"%)":"hsla("+t+", "+o+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,o,n,i){var r=[O(l(e).toString(16)),O(l(t).toString(16)),O(l(o).toString(16)),O(N(n))];return i&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)&&r[3].charAt(0)==r[3].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*L(this._r,255))+"%",g:l(100*L(this._g,255))+"%",b:l(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%)":"rgba("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),o=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var i=u(e);o="#"+m(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+o+")"},toString:function(e){var t=!!e;e=e||this._format;var o=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(o=this.toRgbString()),"prgb"===e&&(o=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(o=this.toHexString()),"hex3"===e&&(o=this.toHexString(!0)),"hex4"===e&&(o=this.toHex8String(!0)),"hex8"===e&&(o=this.toHex8String()),"name"===e&&(o=this.toName()),"hsl"===e&&(o=this.toHslString()),"hsv"===e&&(o=this.toHsvString()),o||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(e,t){var o=e.apply(null,[this].concat([].slice.call(t)));return this._r=o._r,this._g=o._g,this._b=o._b,this.setAlpha(o._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(A,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},u.fromRatio=function(e,t){if("object"==typeof e){var o={};for(var n in e)e.hasOwnProperty(n)&&(o[n]="a"===n?e[n]:q(e[n]));e=o}return u(e,t)},u.equals=function(e,t){return!(!e||!t)&&u(e).toRgbString()==u(t).toRgbString()},u.random=function(){return u.fromRatio({r:p(),g:p(),b:p()})},u.mix=function(e,t,o){o=0===o?0:o||50;var n=u(e).toRgb(),i=u(t).toRgb(),r=o/100;return u({r:(i.r-n.r)*r+n.r,g:(i.g-n.g)*r+n.g,b:(i.b-n.b)*r+n.b,a:(i.a-n.a)*r+n.a})},u.readability=function(e,t){var o=u(e),n=u(t);return(i.max(o.getLuminance(),n.getLuminance())+.05)/(i.min(o.getLuminance(),n.getLuminance())+.05)},u.isReadable=function(e,t,o){var n,i,r=u.readability(e,t);switch(i=!1,(n=function(e){var t,o;return"AA"!==(t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(o=(e.size||"small").toLowerCase())&&"large"!==o&&(o="small"),{level:t,size:o}}(o)).level+n.size){case"AAsmall":case"AAAlarge":i=r>=4.5;break;case"AAlarge":i=r>=3;break;case"AAAsmall":i=r>=7}return i},u.mostReadable=function(e,t,o){var n,i,r,a,s=null,l=0;i=(o=o||{}).includeFallbackColors,r=o.level,a=o.size;for(var c=0;c<t.length;c++)(n=u.readability(e,t[c]))>l&&(l=n,s=u(t[c]));return u.isReadable(e,s,{level:r,size:a})||!i?s:(o.includeFallbackColors=!1,u.mostReadable(e,["#fff","#000"],o))};var z=u.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=u.hexNames=function(e){var t={};for(var o in e)e.hasOwnProperty(o)&&(t[e[o]]=o);return t}(z);function D(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var o=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,d(0,parseFloat(e))),o&&(e=parseInt(e*t,10)/100),i.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return c(1,d(0,e))}function P(e){return parseInt(e,16)}function O(e){return 1==e.length?"0"+e:""+e}function q(e){return e<=1&&(e=100*e+"%"),e}function N(e){return i.round(255*parseFloat(e)).toString(16)}function R(e){return P(e)/255}var B=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",o="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function V(e){return!!B.CSS_UNIT.exec(e)}e.exports?e.exports=u:void 0===(n=function(){return u}.call(t,o,t,e))||(e.exports=n)}(Math)},function(e,t){!function(e,t){"use strict";var o=t.module("angular-sortable-view",[]);function n(e){if(!("clientX"in e)&&!("clientY"in e)){var t=e.touches||e.originalEvent.touches;t&&t.length&&(e.clientX=t[0].clientX,e.clientY=t[0].clientY),e.preventDefault()}}o.directive("svRoot",[function(){function e(e){return n[e]}var o,n=Object.create(null);return{restrict:"A",scope:{svEnabled:"="},controller:["$scope","$attrs","$interpolate","$parse",function(i,r,s,l){var c=s(r.svRoot)(i)||i.$id;n[c]||(n[c]=[]);var d,p,u,f,h,g=!1,m=l(r.svOnSort);r.svOnStart=r.$$element[0].attributes["sv-on-start"],r.svOnStart=r.svOnStart&&r.svOnStart.value,r.svOnStop=r.$$element[0].attributes["sv-on-stop"],r.svOnStop=r.svOnStop&&r.svOnStop.value;var v=l(r.svOnStart),b=l(r.svOnStop);if(this.sortingInProgress=function(){return o},this.enabled=!1!==i.svEnabled,this.enabled){if(r.svGrid){if(null===(g="true"===r.svGrid||"false"!==r.svGrid&&null))throw"Invalid value of sv-grid attribute"}else i.$watchCollection((function(){return e(c)}),(function(e){g=!1;var t=e.filter((function(e){return!e.container})).map((function(e){return{part:e.getPart().id,y:e.element[0].getBoundingClientRect().top}})),o=Object.create(null);t.forEach((function(e){o[e.part]?o[e.part].push(e.y):o[e.part]=[e.y]})),Object.keys(o).forEach((function(e){o[e].sort(),o[e].forEach((function(t,n){n<o[e].length-1&&t>0&&t===o[e][n+1]&&(g=!0)}))}))}));this.$moveUpdate=function(n,r,s,l,m,b,y){var x=s[0].getBoundingClientRect();"element"===n.tolerance&&(r={x:~~(x.left+x.width/2),y:~~(x.top+x.height/2)}),o=!0,d=[],p||(m?(p=m.clone()).removeClass("ng-hide"):((p=l.clone()).addClass("sv-visibility-hidden"),p.addClass("sv-placeholder"),p.css({height:x.height+"px",width:x.width+"px"})),l.after(p),l.addClass("ng-hide"),f=l,v(i,{$helper:{element:u=s},$part:b.model(b.scope),$index:y,$item:b.model(b.scope)[y]}),i.$root&&i.$root.$$phase||i.$apply()),u[0].reposition({x:r.x+document.body.scrollLeft-r.offset.x*x.width,y:r.y+document.body.scrollTop-r.offset.y*x.height}),e(c).forEach((function(e,t){if(null==n.containment||a(e.element,n.containment)||a(e.element,n.containment+" *")){var o=e.element[0].getBoundingClientRect(),i={x:~~(o.left+o.width/2),y:~~(o.top+o.height/2)};e.container||!e.element[0].scrollHeight&&!e.element[0].scrollWidth||d.push({element:e.element,q:(i.x-r.x)*(i.x-r.x)+(i.y-r.y)*(i.y-r.y),view:e.getPart(),targetIndex:e.getIndex(),after:function(e,t,o){return o?e.x-t.x<0:e.y-t.y<0}(i,r,g)}),e.container&&!e.element[0].querySelector("[sv-element]:not(.sv-placeholder):not(.sv-source)")&&d.push({element:e.element,q:(i.x-r.x)*(i.x-r.x)+(i.y-r.y)*(i.y-r.y),view:e.getPart(),targetIndex:0,container:!0})}}));var _=p[0].getBoundingClientRect(),w=~~(_.left+_.width/2),k=~~(_.top+_.height/2);d.push({q:(w-r.x)*(w-r.x)+(k-r.y)*(k-r.y),element:p,placeholder:!0}),d.sort((function(e,t){return e.q-t.q})),d.forEach((function(e,o){0!==o||e.placeholder||e.container?0===o&&e.container?(h=e,e.element.append(p)):e.element.removeClass("sv-candidate"):(h=e,e.element.addClass("sv-candidate"),e.after?e.element.after(p):function(e,o){var n=function(e){if((e=e[0]).previousElementSibling)return t.element(e.previousElementSibling);for(var o=e.previousSibling;null!=o&&1!=o.nodeType;)o=o.previousSibling;return t.element(o)}(e);n.length>0?n.after(o):e.parent().prepend(o)}(e.element,p))}))},this.$drop=function(e,t,n){if(p)if(n.revert){var r=p[0].getBoundingClientRect(),a=u[0].getBoundingClientRect(),s=Math.sqrt(Math.pow(a.top-r.top,2)+Math.pow(a.left-r.left,2)),l=+n.revert*s/200;l=Math.min(l,+n.revert),["-webkit-","-moz-","-ms-","-o-",""].forEach((function(e){void 0!==u[0].style[e+"transition"]&&(u[0].style[e+"transition"]="all "+l+"ms ease")})),setTimeout(c,l),u.css({top:r.top+document.body.scrollTop+"px",left:r.left+document.body.scrollLeft+"px"})}else c();function c(){if(o=!1,p.remove(),u.remove(),f.removeClass("ng-hide"),d=void 0,p=void 0,n=void 0,u=void 0,f=void 0,b(i,{$part:e.model(e.scope),$index:t,$item:e.model(e.scope)[t]}),h){h.element.removeClass("sv-candidate");var r=e.model(e.scope).splice(t,1),a=h.targetIndex;h.view===e&&h.targetIndex>t&&a--,h.after&&a++,h.view.model(h.view.scope).splice(a,0,r[0]),h.view===e&&t===a||m(i,{$partTo:h.view.model(h.view.scope),$partFrom:e.model(e.scope),$item:r[0],$indexTo:a,$indexFrom:t})}h=void 0,i.$root&&i.$root.$$phase||i.$apply()}},this.addToSortableElements=function(t){e(c).push(t)},this.removeFromSortableElements=function(t){var o=e(c),i=o.indexOf(t);i>-1&&(o.splice(i,1),0===o.length&&function(e){delete n[e]}(c))}}}]}}]),o.directive("svPart",["$parse",function(e){return{restrict:"A",require:"^svRoot",controller:["$scope",function(e){e.$ctrl=this,this.getPart=function(){return e.part},this.$drop=function(t,o){e.$sortableRoot.$drop(e.part,t,o)}}],scope:!0,link:function(t,o,n,i){if(i.enabled){if(!n.svPart)throw new Error("no model provided");var r=e(n.svPart);if(!r.assign)throw new Error("model not assignable");t.part={id:t.$id,element:o,model:r,scope:t},t.$sortableRoot=i;var a={element:o,getPart:t.$ctrl.getPart,container:!0};i.addToSortableElements(a),t.$on("$destroy",(function(){i.removeFromSortableElements(a)}))}}}}]),o.directive("svElement",["$parse",function(e){return{restrict:"A",require:["^svPart","^svRoot"],controller:["$scope",function(e){e.$ctrl=this}],link:function(o,i,r,a){if(a[1].enabled){var l={element:i,getPart:a[0].getPart,getIndex:function(){return o.$index}};a[1].addToSortableElements(l),o.$on("$destroy",(function(){a[1].removeFromSortableElements(l)}));var c,d,p=i;p.on("mousedown touchstart",h),o.$watch("$ctrl.handle",(function(e){e&&(p.off("mousedown touchstart",h),(p=e).on("mousedown touchstart",h))})),o.$watch("$ctrl.helper",(function(e){e&&(c=e)})),o.$watch("$ctrl.placeholder",(function(e){e&&(d=e)})),t.element(document.body);var u,f=t.element(document.documentElement)}function h(l){if(n(l),!a[1].sortingInProgress()&&(0==l.button||"mousedown"!==l.type)){u=!1;var p=e(r.svElement)(o);if((p=t.extend({},{tolerance:"pointer",revert:200,containment:"html"},p)).containment)var h=s.call(i,p.containment)[0].getBoundingClientRect();var g,m=i,v=i[0].getBoundingClientRect();c||(c=a[0].helper),d||(d=a[0].placeholder),c?((g=c.clone()).removeClass("ng-hide"),g.css({left:v.left+document.body.scrollLeft+"px",top:v.top+document.body.scrollTop+"px"}),m.addClass("sv-visibility-hidden")):(g=m.clone()).addClass("sv-helper").css({left:v.left+document.body.scrollLeft+"px",top:v.top+document.body.scrollTop+"px",width:v.width+"px"}),g[0].reposition=function(e){var t=e.x,o=e.y,n=g[0].getBoundingClientRect(),i=document.body;h&&(o<h.top+i.scrollTop&&(o=h.top+i.scrollTop),o+n.height>h.top+i.scrollTop+h.height&&(o=h.top+i.scrollTop+h.height-n.height),t<h.left+i.scrollLeft&&(t=h.left+i.scrollLeft),t+n.width>h.left+i.scrollLeft+h.width&&(t=h.left+i.scrollLeft+h.width-n.width)),this.style.left=t-i.scrollLeft+"px",this.style.top=o-i.scrollTop+"px"};var b={x:(l.clientX-v.left)/v.width,y:(l.clientY-v.top)/v.height};f.addClass("sv-sorting-in-progress"),f.on("mousemove touchmove",y).on("mouseup touchend touchcancel",(function e(t){f.off("mousemove touchmove",y),f.off("mouseup touchend",e),f.removeClass("sv-sorting-in-progress"),u&&a[0].$drop(o.$index,p),i.removeClass("sv-visibility-hidden")}))}function y(e){n(e),u||(i.parent().prepend(g),u=!0),a[1].$moveUpdate(p,{x:e.clientX,y:e.clientY,offset:b},g,i,d,a[0].getPart(),o.$index)}}}}}]),o.directive("svHandle",(function(){return{require:"?^svElement",link:function(e,t,o,n){n&&(n.handle=t.add(n.handle))}}})),o.directive("svHelper",(function(){return{require:["?^svPart","?^svElement"],link:function(e,t,o,n){t.addClass("sv-helper").addClass("ng-hide"),n[1]?n[1].helper=t:n[0]&&(n[0].helper=t)}}})),o.directive("svPlaceholder",(function(){return{require:["?^svPart","?^svElement"],link:function(e,t,o,n){t.addClass("sv-placeholder").addClass("ng-hide"),n[1]?n[1].placeholder=t:n[0]&&(n[0].placeholder=t)}}})),t.element(document.head).append(["<style>.sv-helper{position: fixed !important;z-index: 99999;margin: 0 !important;}.sv-candidate{}.sv-placeholder{}.sv-sorting-in-progress{-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.sv-visibility-hidden{visibility: hidden !important;opacity: 0 !important;}</style>"].join(""));var i=document.documentElement,r=i.matches?"matches":i.matchesSelector?"matchesSelector":i.webkitMatches?"webkitMatches":i.webkitMatchesSelector?"webkitMatchesSelector":i.msMatches?"msMatches":i.msMatchesSelector?"msMatchesSelector":i.mozMatches?"mozMatches":i.mozMatchesSelector?"mozMatchesSelector":null;if(null==r)throw"This browser doesn't support the HTMLElement.matches method";function a(e,o){if(e instanceof t.element&&(e=e[0]),null!==r)return e[r](o)}var s=t.element.prototype.closest||function(e){for(var o=this[0].parentNode;o!==document.documentElement&&!o[r](e);)o=o.parentNode;return o[r](e)?t.element(o):t.element()};"function"!=typeof t.element.prototype.add&&(t.element.prototype.add=function(e){var o,n=t.element();for(e=t.element(e),o=0;o<this.length;o++)n.push(this[o]);for(o=0;o<e.length;o++)n.push(e[o]);return n})}(window,window.angular)},function(e,t,o){e.exports===t&&(e.exports="checklist-model"),angular.module("checklist-model",[]).directive("checklistModel",["$parse","$compile",function(e,t){function o(e,t,o){if(angular.isArray(e))for(var n=e.length;n--;)if(o(e[n],t))return!0;return!1}function n(e,t,n){return o(e=angular.isArray(e)?e:[],t,n)||e.push(t),e}function i(e,t,o){if(angular.isArray(e))for(var n=e.length;n--;)if(o(e[n],t)){e.splice(n,1);break}return e}function r(r,a,s){var l=s.checklistModel;s.$set("checklistModel",null),t(a)(r),s.$set("checklistModel",l);var c=e(l),d=e(s.checklistChange),p=e(s.checklistBeforeChange),u=e(s.ngModel),f=function(e,t){return isNaN(e)||isNaN(t)?angular.equals(e,t):String(e)===String(t)};if(s.hasOwnProperty("checklistComparator"))if("."==s.checklistComparator[0]){var h=s.checklistComparator.substring(1);f=function(e,t){return e[h]===t[h]}}else f=e(s.checklistComparator)(r.$parent);var g=r.$watch(s.ngModel,(function(e,t){e!==t&&(p&&!1===p(r)?u.assign(r,o(c(r.$parent),b(),f)):(y(b(),e),d&&d(r)))})),m=r.$watch(b,(function(e,t){if(e!=t&&angular.isDefined(t)&&!0===r[s.ngModel]){var o=c(r.$parent);c.assign(r.$parent,i(o,t,f)),c.assign(r.$parent,n(o,e,f))}}),!0),v=r.$on("$destroy",(function(){g(),m(),v()}));function b(){return s.checklistValue?e(s.checklistValue)(r.$parent):s.value}function y(e,t){var o=c(r.$parent);angular.isFunction(c.assign)&&(!0===t?c.assign(r.$parent,n(o,e,f)):c.assign(r.$parent,i(o,e,f)))}function x(e,t){p&&!1===p(r)?y(b(),u(r)):u.assign(r,o(e,b(),f))}angular.isFunction(r.$parent.$watchCollection)?r.$parent.$watchCollection(l,x):r.$parent.$watch(l,x,!0)}return{restrict:"A",priority:1e3,terminal:!0,scope:!0,compile:function(e,t){if(!t.checklistValue&&!t.value)throw"You should provide `value` or `checklist-value`.";return t.ngModel||t.$set("ngModel","checked"),r}}}])},function(e,t,o){o(155),e.exports="gettext"},function(e,t){angular.module("gettext",[]),angular.module("gettext").constant("gettext",(function(e){return e})),angular.module("gettext").factory("gettextCatalog",["gettextPlurals","gettextFallbackLanguage","$http","$cacheFactory","$interpolate","$rootScope",function(e,t,o,n,i,r){var a,s='<span id="test" title="test" class="tested">test</span>',l=angular.element("<span>"+s+"</span>").html()!==s,c=function(e){return a.debug&&a.currentLanguage!==a.baseLanguage?a.debugPrefix+e:e},d=function(e){return a.showTranslatedMarkers?a.translatedMarkerPrefix+e+a.translatedMarkerSuffix:e};function p(){r.$broadcast("gettextLanguageChanged")}return a={debug:!1,debugPrefix:"[MISSING]: ",showTranslatedMarkers:!1,translatedMarkerPrefix:"[",translatedMarkerSuffix:"]",strings:{},baseLanguage:"en",currentLanguage:"en",cache:n("strings"),setCurrentLanguage:function(e){this.currentLanguage=e,p()},getCurrentLanguage:function(){return this.currentLanguage},setStrings:function(t,o){this.strings[t]||(this.strings[t]={});var n=e(t,1);for(var i in o){var r=o[i];if(l&&(i=angular.element("<span>"+i+"</span>").html()),angular.isString(r)||angular.isArray(r)){var a={};a.$$noContext=r,r=a}for(var s in this.strings[t][i]||(this.strings[t][i]={}),r){var c=r[s];angular.isArray(c)?this.strings[t][i][s]=c:(this.strings[t][i][s]=[],this.strings[t][i][s][n]=c)}}p()},getStringFormFor:function(t,o,n,i){return t?(((this.strings[t]||{})[o]||{})[i||"$$noContext"]||[])[e(t,n)]:null},getString:function(e,o,n){var r=t(this.currentLanguage);return e=this.getStringFormFor(this.currentLanguage,e,1,n)||this.getStringFormFor(r,e,1,n)||c(e),e=o?i(e)(o):e,d(e)},getPlural:function(e,o,n,r,a){var s=t(this.currentLanguage);return o=this.getStringFormFor(this.currentLanguage,o,e,a)||this.getStringFormFor(s,o,e,a)||c(1===e?o:n),r&&(r.$count=e,o=i(o)(r)),d(o)},loadRemote:function(e){return o({method:"GET",url:e,cache:a.cache}).then((function(e){var t=e.data;for(var o in t)a.setStrings(o,t[o]);return e}))}}}]),angular.module("gettext").directive("translate",["gettextCatalog","$parse","$animate","$compile","$window","gettextUtil",function(e,t,o,n,i,r){var a=parseInt((/msie (\d+)/i.exec(i.navigator.userAgent)||[])[1],10),s="translateParams";function l(e,t,o){var n=Object.keys(t).filter((function(e){return r.startsWith(e,s)&&e!==s}));if(!n.length)return null;var i=e.$new(),a=[];return n.forEach((function(n){var l=e.$watch(t[n],(function(e){var t=function(e){return r.lcFirst(e.replace(s,""))}(n);i[t]=e,o(i)}));a.push(l)})),e.$on("$destroy",(function(){a.forEach((function(e){e()})),i.$destroy()})),i}return{restrict:"AE",terminal:!0,compile:function(i,s){r.assert(!s.translatePlural||s.translateN,"translate-n","translate-plural"),r.assert(!s.translateN||s.translatePlural,"translate-plural","translate-n");var c=r.trim(i.html()),d=s.translatePlural,p=s.translateContext;return a<=8&&"\x3c!--IE fix--\x3e"===c.slice(-13)&&(c=c.slice(0,-13)),{post:function(i,a,s){var u=t(s.translateN),f=null,h=!0;function g(t){var s;t=t||null,d?((i=f||(f=i.$new())).$count=u(i),s=e.getPlural(i.$count,c,d,null,p)):s=e.getString(c,null,p);var l=a.contents();if(l||s)if(s!==r.trim(l.html())){var g=angular.element("<span>"+s+"</span>");n(g.contents())(t||i);var m=g.contents();o.enter(m,a),o.leave(l)}else h&&n(l)(i)}var m=l(i,s,g);g(m),h=!1,s.translateN&&i.$watch(s.translateN,(function(){g(m)})),i.$on("gettextLanguageChanged",(function(){g(m)}))}}}}}]),angular.module("gettext").factory("gettextFallbackLanguage",(function(){var e={},t=/([^_]+)_[^_]+$/;return function(o){if(e[o])return e[o];var n=t.exec(o);return n?(e[o]=n[1],n[1]):null}})),angular.module("gettext").filter("translate",["gettextCatalog",function(e){function t(t,o){return e.getString(t,null,o)}return t.$stateful=!0,t}]),angular.module("gettext").factory("gettextPlurals",(function(){var e={pt_BR:"pt_BR","pt-BR":"pt_BR"};return function(t,o){switch(function(t){return e[t]||(e[t]=t.split(/\-|_/).shift()),e[t]}(t)){case"ay":case"bo":case"cgg":case"dz":case"fa":case"id":case"ja":case"jbo":case"ka":case"kk":case"km":case"ko":case"ky":case"lo":case"ms":case"my":case"sah":case"su":case"th":case"tt":case"ug":case"vi":case"wo":case"zh":return 0;case"is":return o%10!=1||o%100==11?1:0;case"jv":return 0!=o?1:0;case"mk":return 1==o||o%10==1?0:1;case"ach":case"ak":case"am":case"arn":case"br":case"fil":case"fr":case"gun":case"ln":case"mfe":case"mg":case"mi":case"oc":case"pt_BR":case"tg":case"ti":case"tr":case"uz":case"wa":case"zh":return o>1?1:0;case"lv":return o%10==1&&o%100!=11?0:0!=o?1:2;case"lt":return o%10==1&&o%100!=11?0:o%10>=2&&(o%100<10||o%100>=20)?1:2;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return o%10==1&&o%100!=11?0:o%10>=2&&o%10<=4&&(o%100<10||o%100>=20)?1:2;case"mnk":return 0==o?0:1==o?1:2;case"ro":return 1==o?0:0==o||o%100>0&&o%100<20?1:2;case"pl":return 1==o?0:o%10>=2&&o%10<=4&&(o%100<10||o%100>=20)?1:2;case"cs":case"sk":return 1==o?0:o>=2&&o<=4?1:2;case"sl":return o%100==1?1:o%100==2?2:o%100==3||o%100==4?3:0;case"mt":return 1==o?0:0==o||o%100>1&&o%100<11?1:o%100>10&&o%100<20?2:3;case"gd":return 1==o||11==o?0:2==o||12==o?1:o>2&&o<20?2:3;case"cy":return 1==o?0:2==o?1:8!=o&&11!=o?2:3;case"kw":return 1==o?0:2==o?1:3==o?2:3;case"ga":return 1==o?0:2==o?1:o<7?2:o<11?3:4;case"ar":return 0==o?0:1==o?1:2==o?2:o%100>=3&&o%100<=10?3:o%100>=11?4:5;default:return 1!=o?1:0}}})),angular.module("gettext").factory("gettextUtil",(function(){return{trim:String.prototype.trim?function(e){return"string"==typeof e?e.trim():e}:function(e){return"string"==typeof e?e.replace(/^\s*/,"").replace(/\s*$/,""):e},assert:function(e,t,o){if(!e)throw new Error("You should add a "+t+" attribute whenever you add a "+o+" attribute.")},startsWith:function(e,t){return 0===e.indexOf(t)},lcFirst:function(e){return e.charAt(0).toLowerCase()+e.substr(1)}}}))},function(e,t,o){

e.exports=function(){"use strict";
var e=function(){return(e=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],o={_disable:[],_enable:[],allowInput:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enable:[],enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var o=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-o.getTime())/864e5-3+(o.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},n={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},i=function(e){return("0"+e).slice(-2)},r=function(e){return!0===e?1:0};function a(e,t,o){var n;return void 0===o&&(o=!1),function(){var i=this,r=arguments;null!==n&&clearTimeout(n),n=window.setTimeout((function(){n=null,o||e.apply(i,r)}),t),o&&!n&&e.apply(i,r)}}var s=function(e){return e instanceof Array?e:[e]};function l(e,t,o){if(!0===o)return e.classList.add(t);e.classList.remove(t)}function c(e,t,o){var n=window.document.createElement(e);return t=t||"",o=o||"",n.className=t,void 0!==o&&(n.textContent=o),n}function d(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function p(e,t){var o=c("div","numInputWrapper"),n=c("input","numInput "+e),i=c("span","arrowUp"),r=c("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?n.type="number":(n.type="text",n.pattern="\\d*"),void 0!==t)for(var a in t)n.setAttribute(a,t[a]);return o.appendChild(n),o.appendChild(i),o.appendChild(r),o}var u=function(){},f=function(e,t,o){return o.months[t?"shorthand":"longhand"][e]},h={D:u,F:function(e,t,o){e.setMonth(o.months.longhand.indexOf(t))},G:function(e,t){e.setHours(parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,o){e.setHours(e.getHours()%12+12*r(new RegExp(o.amPM[1],"i").test(t)))},M:function(e,t,o){e.setMonth(o.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,o){var n=parseInt(t),i=new Date(e.getFullYear(),0,2+7*(n-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+o.firstDayOfWeek),i},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours(parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:u,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:u,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},g={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},m={Z:function(e){return e.toISOString()},D:function(e,t,o){return t.weekdays.shorthand[m.w(e,t,o)]},F:function(e,t,o){return f(m.n(e,t,o)-1,!1,t)},G:function(e,t,o){return i(m.h(e,t,o))},H:function(e){return i(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[r(e.getHours()>11)]},M:function(e,t){return f(e.getMonth(),!0,t)},S:function(e){return i(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,o){return o.getWeek(e)},Y:function(e){return e.getFullYear()},d:function(e){return i(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return i(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return i(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},v=function(e){var t=e.config,i=void 0===t?o:t,r=e.l10n,a=void 0===r?n:r;return function(e,t,o){var n=o||a;return void 0!==i.formatDate?i.formatDate(e,t,n):t.split("").map((function(t,o,r){return m[t]&&"\\"!==r[o-1]?m[t](e,n,i):"\\"!==t?t:""})).join("")}},b=function(e){var t=e.config,i=void 0===t?o:t,r=e.l10n,a=void 0===r?n:r;return function(e,t,n,r){if(0===e||e){var s,l=r||a,c=e;if(e instanceof Date)s=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)s=new Date(e);else if("string"==typeof e){var d=t||(i||o).dateFormat,p=String(e).trim();if("today"===p)s=new Date,n=!0;else if(/Z$/.test(p)||/GMT$/.test(p))s=new Date(e);else if(i&&i.parseDate)s=i.parseDate(e,d);else{s=i&&i.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);for(var u=void 0,f=[],m=0,v=0,b="";m<d.length;m++){var y=d[m],x="\\"===y,_="\\"===d[m-1]||x;if(g[y]&&!_){b+=g[y];var w=new RegExp(b).exec(e);w&&(u=!0)&&f["Y"!==y?"push":"unshift"]({fn:h[y],val:w[++v]})}else x||(b+=".");f.forEach((function(e){var t=e.fn,o=e.val;return s=t(s,o,l)||s}))}s=u?s:void 0}}if(s instanceof Date&&!isNaN(s.getTime()))return!0===n&&s.setHours(0,0,0,0),s;i.errorHandler(new Error("Invalid date provided: "+c))}}};function y(e,t,o){return void 0===o&&(o=!0),!1!==o?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var x=function(e,t,o){return e>Math.min(t,o)&&e<Math.max(t,o)},_=864e5;"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var n=function(t){t&&Object.keys(t).forEach((function(o){return e[o]=t[o]}))},i=0,r=t;i<r.length;i++){var a=r[i];n(a)}return e});function w(u,h){var m={config:e({},o,j.defaultConfig),l10n:n};function w(e){return e.bind(m)}function k(){var e=m.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==m.calendarContainer&&(m.calendarContainer.style.visibility="hidden",m.calendarContainer.style.display="block"),void 0!==m.daysContainer){var t=(m.days.offsetWidth+1)*e.showMonths;m.daysContainer.style.width=t+"px",m.calendarContainer.style.width=t+(void 0!==m.weekWrapper?m.weekWrapper.offsetWidth:0)+"px",m.calendarContainer.style.removeProperty("visibility"),m.calendarContainer.style.removeProperty("display")}}))}function C(e){0===m.selectedDates.length&&ne(),void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,o=e.target;void 0!==m.amPM&&e.target===m.amPM&&(m.amPM.textContent=m.l10n.amPM[r(m.amPM.textContent===m.l10n.amPM[0])]);var n=parseFloat(o.getAttribute("min")),a=parseFloat(o.getAttribute("max")),s=parseFloat(o.getAttribute("step")),l=parseInt(o.value,10),c=l+s*(e.delta||(t?38===e.which?1:-1:0));if(void 0!==o.value&&2===o.value.length){var d=o===m.hourElement,p=o===m.minuteElement;c<n?(c=a+c+r(!d)+(r(d)&&r(!m.amPM)),p&&O(void 0,-1,m.hourElement)):c>a&&(c=o===m.hourElement?c-a-r(!m.amPM):n,p&&O(void 0,1,m.hourElement)),m.amPM&&d&&(1===s?c+l===23:Math.abs(c-l)>s)&&(m.amPM.textContent=m.l10n.amPM[r(m.amPM.textContent===m.l10n.amPM[0])]),o.value=i(c)}}(e);var t=m._input.value;S(),be(),m._input.value!==t&&m._debouncedChange()}function S(){if(void 0!==m.hourElement&&void 0!==m.minuteElement){var e=(parseInt(m.hourElement.value.slice(-2),10)||0)%24,t=(parseInt(m.minuteElement.value,10)||0)%60,o=void 0!==m.secondElement?(parseInt(m.secondElement.value,10)||0)%60:0;void 0!==m.amPM&&(e=function(e,t){return e%12+12*r(t===m.l10n.amPM[1])}(e,m.amPM.textContent));var n=void 0!==m.config.minTime||m.config.minDate&&m.minDateHasTime&&m.latestSelectedDateObj&&0===y(m.latestSelectedDateObj,m.config.minDate,!0);if(void 0!==m.config.maxTime||m.config.maxDate&&m.maxDateHasTime&&m.latestSelectedDateObj&&0===y(m.latestSelectedDateObj,m.config.maxDate,!0)){var i=void 0!==m.config.maxTime?m.config.maxTime:m.config.maxDate;(e=Math.min(e,i.getHours()))===i.getHours()&&(t=Math.min(t,i.getMinutes())),t===i.getMinutes()&&(o=Math.min(o,i.getSeconds()))}if(n){var a=void 0!==m.config.minTime?m.config.minTime:m.config.minDate;(e=Math.max(e,a.getHours()))===a.getHours()&&(t=Math.max(t,a.getMinutes())),t===a.getMinutes()&&(o=Math.max(o,a.getSeconds()))}E(e,t,o)}}function A(e){var t=e||m.latestSelectedDateObj;t&&E(t.getHours(),t.getMinutes(),t.getSeconds())}function M(){var e=m.config.defaultHour,t=m.config.defaultMinute,o=m.config.defaultSeconds;if(void 0!==m.config.minDate){var n=m.config.minDate.getHours(),i=m.config.minDate.getMinutes();(e=Math.max(e,n))===n&&(t=Math.max(i,t)),e===n&&t===i&&(o=m.config.minDate.getSeconds())}if(void 0!==m.config.maxDate){var r=m.config.maxDate.getHours(),a=m.config.maxDate.getMinutes();(e=Math.min(e,r))===r&&(t=Math.min(a,t)),e===r&&t===a&&(o=m.config.maxDate.getSeconds())}E(e,t,o)}function E(e,t,o){void 0!==m.latestSelectedDateObj&&m.latestSelectedDateObj.setHours(e%24,t,o||0,0),m.hourElement&&m.minuteElement&&!m.isMobile&&(m.hourElement.value=i(m.config.time_24hr?e:(12+e)%12+12*r(e%12==0)),m.minuteElement.value=i(t),void 0!==m.amPM&&(m.amPM.textContent=m.l10n.amPM[r(e>=12)]),void 0!==m.secondElement&&(m.secondElement.value=i(o)))}function z(e){var t=parseInt(e.target.value)+(e.delta||0);(t/1e3>1||"Enter"===e.key&&!/[^\d]/.test(t.toString()))&&X(t)}function T(e,t,o,n){return t instanceof Array?t.forEach((function(t){return T(e,t,o,n)})):e instanceof Array?e.forEach((function(e){return T(e,t,o,n)})):(e.addEventListener(t,o,n),void m._handlers.push({element:e,event:t,handler:o,options:n}))}function D(e){return function(t){1===t.which&&e(t)}}function L(){fe("onChange")}function I(e,t){var o=void 0!==e?m.parseDate(e):m.latestSelectedDateObj||(m.config.minDate&&m.config.minDate>m.now?m.config.minDate:m.config.maxDate&&m.config.maxDate<m.now?m.config.maxDate:m.now),n=m.currentYear,i=m.currentMonth;try{void 0!==o&&(m.currentYear=o.getFullYear(),m.currentMonth=o.getMonth())}catch(e){e.message="Invalid date supplied: "+o,m.config.errorHandler(e)}t&&m.currentYear!==n&&(fe("onYearChange"),F()),!t||m.currentYear===n&&m.currentMonth===i||fe("onMonthChange"),m.redraw()}function P(e){~e.target.className.indexOf("arrow")&&O(e,e.target.classList.contains("arrowUp")?1:-1)}function O(e,t,o){var n=e&&e.target,i=o||n&&n.parentNode&&n.parentNode.firstChild,r=he("increment");r.delta=t,i&&i.dispatchEvent(r)}function q(e,t,o,n){var i=Z(t,!0),r=c("span","flatpickr-day "+e,t.getDate().toString());return r.dateObj=t,r.$i=n,r.setAttribute("aria-label",m.formatDate(t,m.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===y(t,m.now)&&(m.todayDateElem=r,r.classList.add("today"),r.setAttribute("aria-current","date")),i?(r.tabIndex=-1,ge(t)&&(r.classList.add("selected"),m.selectedDateElem=r,"range"===m.config.mode&&(l(r,"startRange",m.selectedDates[0]&&0===y(t,m.selectedDates[0],!0)),l(r,"endRange",m.selectedDates[1]&&0===y(t,m.selectedDates[1],!0)),"nextMonthDay"===e&&r.classList.add("inRange")))):r.classList.add("flatpickr-disabled"),"range"===m.config.mode&&function(e){return!("range"!==m.config.mode||m.selectedDates.length<2)&&y(e,m.selectedDates[0])>=0&&y(e,m.selectedDates[1])<=0}(t)&&!ge(t)&&r.classList.add("inRange"),m.weekNumbers&&1===m.config.showMonths&&"prevMonthDay"!==e&&o%7==1&&m.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+m.config.getWeek(t)+"</span>"),fe("onDayCreate",r),r}function N(e){e.focus(),"range"===m.config.mode&&te(e)}function R(e){for(var t=e>0?0:m.config.showMonths-1,o=e>0?m.config.showMonths:-1,n=t;n!=o;n+=e)for(var i=m.daysContainer.children[n],r=e>0?0:i.children.length-1,a=e>0?i.children.length:-1,s=r;s!=a;s+=e){var l=i.children[s];if(-1===l.className.indexOf("hidden")&&Z(l.dateObj))return l}}function B(e,t){var o=Q(document.activeElement||document.body),n=void 0!==e?e:o?document.activeElement:void 0!==m.selectedDateElem&&Q(m.selectedDateElem)?m.selectedDateElem:void 0!==m.todayDateElem&&Q(m.todayDateElem)?m.todayDateElem:R(t>0?1:-1);return void 0===n?m._input.focus():o?void function(e,t){for(var o=-1===e.className.indexOf("Month")?e.dateObj.getMonth():m.currentMonth,n=t>0?m.config.showMonths:-1,i=t>0?1:-1,r=o-m.currentMonth;r!=n;r+=i)for(var a=m.daysContainer.children[r],s=o-m.currentMonth===r?e.$i+t:t<0?a.children.length-1:0,l=a.children.length,c=s;c>=0&&c<l&&c!=(t>0?l:-1);c+=i){var d=a.children[c];if(-1===d.className.indexOf("hidden")&&Z(d.dateObj)&&Math.abs(e.$i-c)>=Math.abs(t))return N(d)}m.changeMonth(i),B(R(i),0)}(n,t):N(n)}function V(e,t){for(var o=(new Date(e,t,1).getDay()-m.l10n.firstDayOfWeek+7)%7,n=m.utils.getDaysInMonth((t-1+12)%12),i=m.utils.getDaysInMonth(t),r=window.document.createDocumentFragment(),a=m.config.showMonths>1,s=a?"prevMonthDay hidden":"prevMonthDay",l=a?"nextMonthDay hidden":"nextMonthDay",d=n+1-o,p=0;d<=n;d++,p++)r.appendChild(q(s,new Date(e,t-1,d),d,p));for(d=1;d<=i;d++,p++)r.appendChild(q("",new Date(e,t,d),d,p));for(var u=i+1;u<=42-o&&(1===m.config.showMonths||p%7!=0);u++,p++)r.appendChild(q(l,new Date(e,t+1,u%i),u,p));var f=c("div","dayContainer");return f.appendChild(r),f}function H(){if(void 0!==m.daysContainer){d(m.daysContainer),m.weekNumbers&&d(m.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<m.config.showMonths;t++){var o=new Date(m.currentYear,m.currentMonth,1);o.setMonth(m.currentMonth+t),e.appendChild(V(o.getFullYear(),o.getMonth()))}m.daysContainer.appendChild(e),m.days=m.daysContainer.firstChild,"range"===m.config.mode&&1===m.selectedDates.length&&te()}}function F(){if(!(m.config.showMonths>1||"dropdown"!==m.config.monthSelectorType)){var e=function(e){return!(void 0!==m.config.minDate&&m.currentYear===m.config.minDate.getFullYear()&&e<m.config.minDate.getMonth()||void 0!==m.config.maxDate&&m.currentYear===m.config.maxDate.getFullYear()&&e>m.config.maxDate.getMonth())};m.monthsDropdownContainer.tabIndex=-1,m.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var o=c("option","flatpickr-monthDropdown-month");o.value=new Date(m.currentYear,t).getMonth().toString(),o.textContent=f(t,m.config.shorthandCurrentMonth,m.l10n),o.tabIndex=-1,m.currentMonth===t&&(o.selected=!0),m.monthsDropdownContainer.appendChild(o)}}}function W(){var e,t=c("div","flatpickr-month"),o=window.document.createDocumentFragment();m.config.showMonths>1||"static"===m.config.monthSelectorType?e=c("span","cur-month"):(m.monthsDropdownContainer=c("select","flatpickr-monthDropdown-months"),T(m.monthsDropdownContainer,"change",(function(e){var t=e.target,o=parseInt(t.value,10);m.changeMonth(o-m.currentMonth),fe("onMonthChange")})),F(),e=m.monthsDropdownContainer);var n=p("cur-year",{tabindex:"-1"}),i=n.getElementsByTagName("input")[0];i.setAttribute("aria-label",m.l10n.yearAriaLabel),m.config.minDate&&i.setAttribute("min",m.config.minDate.getFullYear().toString()),m.config.maxDate&&(i.setAttribute("max",m.config.maxDate.getFullYear().toString()),i.disabled=!!m.config.minDate&&m.config.minDate.getFullYear()===m.config.maxDate.getFullYear());var r=c("div","flatpickr-current-month");return r.appendChild(e),r.appendChild(n),o.appendChild(r),t.appendChild(o),{container:t,yearElement:i,monthElement:e}}function $(){d(m.monthNav),m.monthNav.appendChild(m.prevMonthNav),m.config.showMonths&&(m.yearElements=[],m.monthElements=[]);for(var e=m.config.showMonths;e--;){var t=W();m.yearElements.push(t.yearElement),m.monthElements.push(t.monthElement),m.monthNav.appendChild(t.container)}m.monthNav.appendChild(m.nextMonthNav)}function U(){m.weekdayContainer?d(m.weekdayContainer):m.weekdayContainer=c("div","flatpickr-weekdays");for(var e=m.config.showMonths;e--;){var t=c("div","flatpickr-weekdaycontainer");m.weekdayContainer.appendChild(t)}return Y(),m.weekdayContainer}function Y(){if(m.weekdayContainer){var e=m.l10n.firstDayOfWeek,t=m.l10n.weekdays.shorthand.slice();e>0&&e<t.length&&(t=t.splice(e,t.length).concat(t.splice(0,e)));for(var o=m.config.showMonths;o--;)m.weekdayContainer.children[o].innerHTML="\n      <span class='flatpickr-weekday'>\n        "+t.join("</span><span class='flatpickr-weekday'>")+"\n      </span>\n      "}}function K(e,t){void 0===t&&(t=!0);var o=t?e:e-m.currentMonth;o<0&&!0===m._hidePrevMonthArrow||o>0&&!0===m._hideNextMonthArrow||(m.currentMonth+=o,(m.currentMonth<0||m.currentMonth>11)&&(m.currentYear+=m.currentMonth>11?1:-1,m.currentMonth=(m.currentMonth+12)%12,fe("onYearChange"),F()),H(),fe("onMonthChange"),me())}function G(e){return!(!m.config.appendTo||!m.config.appendTo.contains(e))||m.calendarContainer.contains(e)}function J(e){if(m.isOpen&&!m.config.inline){var t=function(e){return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}(e),o=G(t),n=t===m.input||t===m.altInput||m.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(m.input)||~e.path.indexOf(m.altInput)),i="blur"===e.type?n&&e.relatedTarget&&!G(e.relatedTarget):!n&&!o&&!G(e.relatedTarget),r=!m.config.ignoredFocusElements.some((function(e){return e.contains(t)}));i&&r&&(void 0!==m.timeContainer&&void 0!==m.minuteElement&&void 0!==m.hourElement&&C(),m.close(),"range"===m.config.mode&&1===m.selectedDates.length&&(m.clear(!1),m.redraw()))}}function X(e){if(!(!e||m.config.minDate&&e<m.config.minDate.getFullYear()||m.config.maxDate&&e>m.config.maxDate.getFullYear())){var t=e,o=m.currentYear!==t;m.currentYear=t||m.currentYear,m.config.maxDate&&m.currentYear===m.config.maxDate.getFullYear()?m.currentMonth=Math.min(m.config.maxDate.getMonth(),m.currentMonth):m.config.minDate&&m.currentYear===m.config.minDate.getFullYear()&&(m.currentMonth=Math.max(m.config.minDate.getMonth(),m.currentMonth)),o&&(m.redraw(),fe("onYearChange"),F())}}function Z(e,t){void 0===t&&(t=!0);var o=m.parseDate(e,void 0,t);if(m.config.minDate&&o&&y(o,m.config.minDate,void 0!==t?t:!m.minDateHasTime)<0||m.config.maxDate&&o&&y(o,m.config.maxDate,void 0!==t?t:!m.maxDateHasTime)>0)return!1;if(0===m.config.enable.length&&0===m.config.disable.length)return!0;if(void 0===o)return!1;for(var n=m.config.enable.length>0,i=n?m.config.enable:m.config.disable,r=0,a=void 0;r<i.length;r++){if("function"==typeof(a=i[r])&&a(o))return n;if(a instanceof Date&&void 0!==o&&a.getTime()===o.getTime())return n;if("string"==typeof a&&void 0!==o){var s=m.parseDate(a,void 0,!0);return s&&s.getTime()===o.getTime()?n:!n}if("object"==typeof a&&void 0!==o&&a.from&&a.to&&o.getTime()>=a.from.getTime()&&o.getTime()<=a.to.getTime())return n}return!n}function Q(e){return void 0!==m.daysContainer&&-1===e.className.indexOf("hidden")&&m.daysContainer.contains(e)}function ee(e){var t=e.target===m._input,o=m.config.allowInput,n=m.isOpen&&(!o||!t),i=m.config.inline&&t&&!o;if(13===e.keyCode&&t){if(o)return m.setDate(m._input.value,!0,e.target===m.altInput?m.config.altFormat:m.config.dateFormat),e.target.blur();m.open()}else if(G(e.target)||n||i){var r=!!m.timeContainer&&m.timeContainer.contains(e.target);switch(e.keyCode){case 13:r?(e.preventDefault(),C(),le()):ce(e);break;case 27:e.preventDefault(),le();break;case 8:case 46:t&&!m.config.allowInput&&(e.preventDefault(),m.clear());break;case 37:case 39:if(r||t)m.hourElement&&m.hourElement.focus();else if(e.preventDefault(),void 0!==m.daysContainer&&(!1===o||document.activeElement&&Q(document.activeElement))){var a=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),K(a),B(R(1),0)):B(void 0,a)}break;case 38:case 40:e.preventDefault();var s=40===e.keyCode?1:-1;m.daysContainer&&void 0!==e.target.$i||e.target===m.input||e.target===m.altInput?e.ctrlKey?(e.stopPropagation(),X(m.currentYear-s),B(R(1),0)):r||B(void 0,7*s):e.target===m.currentYearElement?X(m.currentYear-s):m.config.enableTime&&(!r&&m.hourElement&&m.hourElement.focus(),C(e),m._debouncedChange());break;case 9:if(r){var l=[m.hourElement,m.minuteElement,m.secondElement,m.amPM].concat(m.pluginElements).filter((function(e){return e})),c=l.indexOf(e.target);if(-1!==c){var d=l[c+(e.shiftKey?-1:1)];e.preventDefault(),(d||m._input).focus()}}else!m.config.noCalendar&&m.daysContainer&&m.daysContainer.contains(e.target)&&e.shiftKey&&(e.preventDefault(),m._input.focus())}}if(void 0!==m.amPM&&e.target===m.amPM)switch(e.key){case m.l10n.amPM[0].charAt(0):case m.l10n.amPM[0].charAt(0).toLowerCase():m.amPM.textContent=m.l10n.amPM[0],S(),be();break;case m.l10n.amPM[1].charAt(0):case m.l10n.amPM[1].charAt(0).toLowerCase():m.amPM.textContent=m.l10n.amPM[1],S(),be()}(t||G(e.target))&&fe("onKeyDown",e)}function te(e){if(1===m.selectedDates.length&&(!e||e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled"))){for(var t=e?e.dateObj.getTime():m.days.firstElementChild.dateObj.getTime(),o=m.parseDate(m.selectedDates[0],void 0,!0).getTime(),n=Math.min(t,m.selectedDates[0].getTime()),i=Math.max(t,m.selectedDates[0].getTime()),r=!1,a=0,s=0,l=n;l<i;l+=_)Z(new Date(l),!0)||(r=r||l>n&&l<i,l<o&&(!a||l>a)?a=l:l>o&&(!s||l<s)&&(s=l));for(var c=0;c<m.config.showMonths;c++)for(var d=m.daysContainer.children[c],p=function(n,i){var l=d.children[n],c=l.dateObj.getTime(),p=a>0&&c<a||s>0&&c>s;return p?(l.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach((function(e){l.classList.remove(e)})),"continue"):r&&!p?"continue":(["startRange","inRange","endRange","notAllowed"].forEach((function(e){l.classList.remove(e)})),void(void 0!==e&&(e.classList.add(t<=m.selectedDates[0].getTime()?"startRange":"endRange"),o<t&&c===o?l.classList.add("startRange"):o>t&&c===o&&l.classList.add("endRange"),c>=a&&(0===s||c<=s)&&x(c,o,t)&&l.classList.add("inRange"))))},u=0,f=d.children.length;u<f;u++)p(u)}}function oe(){!m.isOpen||m.config.static||m.config.inline||ae()}function ne(){m.setDate(void 0!==m.config.minDate?new Date(m.config.minDate.getTime()):new Date,!0),M(),be()}function ie(e){return function(t){var o=m.config["_"+e+"Date"]=m.parseDate(t,m.config.dateFormat),n=m.config["_"+("min"===e?"max":"min")+"Date"];void 0!==o&&(m["min"===e?"minDateHasTime":"maxDateHasTime"]=o.getHours()>0||o.getMinutes()>0||o.getSeconds()>0),m.selectedDates&&(m.selectedDates=m.selectedDates.filter((function(e){return Z(e)})),m.selectedDates.length||"min"!==e||A(o),be()),m.daysContainer&&(se(),void 0!==o?m.currentYearElement[e]=o.getFullYear().toString():m.currentYearElement.removeAttribute(e),m.currentYearElement.disabled=!!n&&void 0!==o&&n.getFullYear()===o.getFullYear())}}function re(){"object"!=typeof m.config.locale&&void 0===j.l10ns[m.config.locale]&&m.config.errorHandler(new Error("flatpickr: invalid locale "+m.config.locale)),m.l10n=e({},j.l10ns.default,"object"==typeof m.config.locale?m.config.locale:"default"!==m.config.locale?j.l10ns[m.config.locale]:void 0),g.K="("+m.l10n.amPM[0]+"|"+m.l10n.amPM[1]+"|"+m.l10n.amPM[0].toLowerCase()+"|"+m.l10n.amPM[1].toLowerCase()+")",void 0===e({},h,JSON.parse(JSON.stringify(u.dataset||{}))).time_24hr&&void 0===j.defaultConfig.time_24hr&&(m.config.time_24hr=m.l10n.time_24hr),m.formatDate=v(m),m.parseDate=b({config:m.config,l10n:m.l10n})}function ae(e){if(void 0!==m.calendarContainer){fe("onPreCalendarPosition");var t=e||m._positionElement,o=Array.prototype.reduce.call(m.calendarContainer.children,(function(e,t){return e+t.offsetHeight}),0),n=m.calendarContainer.offsetWidth,i=m.config.position.split(" "),r=i[0],a=i.length>1?i[1]:null,s=t.getBoundingClientRect(),c=window.innerHeight-s.bottom,d="above"===r||"below"!==r&&c<o&&s.top>o,p=window.pageYOffset+s.top+(d?-o-2:t.offsetHeight+2);if(l(m.calendarContainer,"arrowTop",!d),l(m.calendarContainer,"arrowBottom",d),!m.config.inline){var u=window.pageXOffset+s.left-(null!=a&&"center"===a?(n-s.width)/2:0),f=window.document.body.offsetWidth-(window.pageXOffset+s.right),h=u+n>window.document.body.offsetWidth,g=f+n>window.document.body.offsetWidth;if(l(m.calendarContainer,"rightMost",h),!m.config.static)if(m.calendarContainer.style.top=p+"px",h)if(g){var v=document.styleSheets[0];if(void 0===v)return;var b=window.document.body.offsetWidth,y=Math.max(0,b/2-n/2),x=v.cssRules.length,_="{left:"+s.left+"px;right:auto;}";l(m.calendarContainer,"rightMost",!1),l(m.calendarContainer,"centerMost",!0),v.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+_,x),m.calendarContainer.style.left=y+"px",m.calendarContainer.style.right="auto"}else m.calendarContainer.style.left="auto",m.calendarContainer.style.right=f+"px";else m.calendarContainer.style.left=u+"px",m.calendarContainer.style.right="auto"}}}function se(){m.config.noCalendar||m.isMobile||(me(),H())}function le(){m._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(m.close,0):m.close()}function ce(e){e.preventDefault(),e.stopPropagation();var t=function e(t,o){return o(t)?t:t.parentNode?e(t.parentNode,o):void 0}(e.target,(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==t){var o=t,n=m.latestSelectedDateObj=new Date(o.dateObj.getTime()),i=(n.getMonth()<m.currentMonth||n.getMonth()>m.currentMonth+m.config.showMonths-1)&&"range"!==m.config.mode;if(m.selectedDateElem=o,"single"===m.config.mode)m.selectedDates=[n];else if("multiple"===m.config.mode){var r=ge(n);r?m.selectedDates.splice(parseInt(r),1):m.selectedDates.push(n)}else"range"===m.config.mode&&(2===m.selectedDates.length&&m.clear(!1,!1),m.latestSelectedDateObj=n,m.selectedDates.push(n),0!==y(n,m.selectedDates[0],!0)&&m.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()})));if(S(),i){var a=m.currentYear!==n.getFullYear();m.currentYear=n.getFullYear(),m.currentMonth=n.getMonth(),a&&(fe("onYearChange"),F()),fe("onMonthChange")}if(me(),H(),be(),m.config.enableTime&&setTimeout((function(){return m.showTimeInput=!0}),50),i||"range"===m.config.mode||1!==m.config.showMonths?void 0!==m.selectedDateElem&&void 0===m.hourElement&&m.selectedDateElem&&m.selectedDateElem.focus():N(o),void 0!==m.hourElement&&void 0!==m.hourElement&&m.hourElement.focus(),m.config.closeOnSelect){var s="single"===m.config.mode&&!m.config.enableTime,l="range"===m.config.mode&&2===m.selectedDates.length&&!m.config.enableTime;(s||l)&&le()}L()}}m.parseDate=b({config:m.config,l10n:m.l10n}),m._handlers=[],m.pluginElements=[],m.loadedPlugins=[],m._bind=T,m._setHoursFromDate=A,m._positionCalendar=ae,m.changeMonth=K,m.changeYear=X,m.clear=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),m.input.value="",void 0!==m.altInput&&(m.altInput.value=""),void 0!==m.mobileInput&&(m.mobileInput.value=""),m.selectedDates=[],m.latestSelectedDateObj=void 0,!0===t&&(m.currentYear=m._initialDate.getFullYear(),m.currentMonth=m._initialDate.getMonth()),m.showTimeInput=!1,!0===m.config.enableTime&&M(),m.redraw(),e&&fe("onChange")},m.close=function(){m.isOpen=!1,m.isMobile||(void 0!==m.calendarContainer&&m.calendarContainer.classList.remove("open"),void 0!==m._input&&m._input.classList.remove("active")),fe("onClose")},m._createElement=c,m.destroy=function(){void 0!==m.config&&fe("onDestroy");for(var e=m._handlers.length;e--;){var t=m._handlers[e];t.element.removeEventListener(t.event,t.handler,t.options)}if(m._handlers=[],m.mobileInput)m.mobileInput.parentNode&&m.mobileInput.parentNode.removeChild(m.mobileInput),m.mobileInput=void 0;else if(m.calendarContainer&&m.calendarContainer.parentNode)if(m.config.static&&m.calendarContainer.parentNode){var o=m.calendarContainer.parentNode;if(o.lastChild&&o.removeChild(o.lastChild),o.parentNode){for(;o.firstChild;)o.parentNode.insertBefore(o.firstChild,o);o.parentNode.removeChild(o)}}else m.calendarContainer.parentNode.removeChild(m.calendarContainer);m.altInput&&(m.input.type="text",m.altInput.parentNode&&m.altInput.parentNode.removeChild(m.altInput),delete m.altInput),m.input&&(m.input.type=m.input._type,m.input.classList.remove("flatpickr-input"),m.input.removeAttribute("readonly"),m.input.value=""),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete m[e]}catch(e){}}))},m.isEnabled=Z,m.jumpToDate=I,m.open=function(e,t){if(void 0===t&&(t=m._positionElement),!0===m.isMobile)return e&&(e.preventDefault(),e.target&&e.target.blur()),void 0!==m.mobileInput&&(m.mobileInput.focus(),m.mobileInput.click()),void fe("onOpen");if(!m._input.disabled&&!m.config.inline){var o=m.isOpen;m.isOpen=!0,o||(m.calendarContainer.classList.add("open"),m._input.classList.add("active"),fe("onOpen"),ae(t)),!0===m.config.enableTime&&!0===m.config.noCalendar&&(0===m.selectedDates.length&&ne(),!1!==m.config.allowInput||void 0!==e&&m.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return m.hourElement.select()}),50))}},m.redraw=se,m.set=function(e,o){if(null!==e&&"object"==typeof e)for(var n in Object.assign(m.config,e),e)void 0!==de[n]&&de[n].forEach((function(e){return e()}));else m.config[e]=o,void 0!==de[e]?de[e].forEach((function(e){return e()})):t.indexOf(e)>-1&&(m.config[e]=s(o));m.redraw(),be(!1)},m.setDate=function(e,t,o){if(void 0===t&&(t=!1),void 0===o&&(o=m.config.dateFormat),0!==e&&!e||e instanceof Array&&0===e.length)return m.clear(t);pe(e,o),m.showTimeInput=m.selectedDates.length>0,m.latestSelectedDateObj=m.selectedDates[m.selectedDates.length-1],m.redraw(),I(),A(),0===m.selectedDates.length&&m.clear(!1),be(t),t&&fe("onChange")},m.toggle=function(e){if(!0===m.isOpen)return m.close();m.open(e)};var de={locale:[re,Y],showMonths:[$,k,U],minDate:[I],maxDate:[I]};function pe(e,t){var o=[];if(e instanceof Array)o=e.map((function(e){return m.parseDate(e,t)}));else if(e instanceof Date||"number"==typeof e)o=[m.parseDate(e,t)];else if("string"==typeof e)switch(m.config.mode){case"single":case"time":o=[m.parseDate(e,t)];break;case"multiple":o=e.split(m.config.conjunction).map((function(e){return m.parseDate(e,t)}));break;case"range":o=e.split(m.l10n.rangeSeparator).map((function(e){return m.parseDate(e,t)}))}else m.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));m.selectedDates=o.filter((function(e){return e instanceof Date&&Z(e,!1)})),"range"===m.config.mode&&m.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()}))}function ue(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?m.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:m.parseDate(e.from,void 0),to:m.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function fe(e,t){if(void 0!==m.config){var o=m.config[e];if(void 0!==o&&o.length>0)for(var n=0;o[n]&&n<o.length;n++)o[n](m.selectedDates,m.input.value,m,t);"onChange"===e&&(m.input.dispatchEvent(he("change")),m.input.dispatchEvent(he("input")))}}function he(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function ge(e){for(var t=0;t<m.selectedDates.length;t++)if(0===y(m.selectedDates[t],e))return""+t;return!1}function me(){m.config.noCalendar||m.isMobile||!m.monthNav||(m.yearElements.forEach((function(e,t){var o=new Date(m.currentYear,m.currentMonth,1);o.setMonth(m.currentMonth+t),m.config.showMonths>1||"static"===m.config.monthSelectorType?m.monthElements[t].textContent=f(o.getMonth(),m.config.shorthandCurrentMonth,m.l10n)+" ":m.monthsDropdownContainer.value=o.getMonth().toString(),e.value=o.getFullYear().toString()})),m._hidePrevMonthArrow=void 0!==m.config.minDate&&(m.currentYear===m.config.minDate.getFullYear()?m.currentMonth<=m.config.minDate.getMonth():m.currentYear<m.config.minDate.getFullYear()),m._hideNextMonthArrow=void 0!==m.config.maxDate&&(m.currentYear===m.config.maxDate.getFullYear()?m.currentMonth+1>m.config.maxDate.getMonth():m.currentYear>m.config.maxDate.getFullYear()))}function ve(e){return m.selectedDates.map((function(t){return m.formatDate(t,e)})).filter((function(e,t,o){return"range"!==m.config.mode||m.config.enableTime||o.indexOf(e)===t})).join("range"!==m.config.mode?m.config.conjunction:m.l10n.rangeSeparator)}function be(e){void 0===e&&(e=!0),void 0!==m.mobileInput&&m.mobileFormatStr&&(m.mobileInput.value=void 0!==m.latestSelectedDateObj?m.formatDate(m.latestSelectedDateObj,m.mobileFormatStr):""),m.input.value=ve(m.config.dateFormat),void 0!==m.altInput&&(m.altInput.value=ve(m.config.altFormat)),!1!==e&&fe("onValueUpdate")}function ye(e){var t=m.prevMonthNav.contains(e.target),o=m.nextMonthNav.contains(e.target);t||o?K(t?-1:1):m.yearElements.indexOf(e.target)>=0?e.target.select():e.target.classList.contains("arrowUp")?m.changeYear(m.currentYear+1):e.target.classList.contains("arrowDown")&&m.changeYear(m.currentYear-1)}return function(){m.element=m.input=u,m.isOpen=!1,function(){var n=["wrap","weekNumbers","allowInput","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=e({},h,JSON.parse(JSON.stringify(u.dataset||{}))),r={};m.config.parseDate=i.parseDate,m.config.formatDate=i.formatDate,Object.defineProperty(m.config,"enable",{get:function(){return m.config._enable},set:function(e){m.config._enable=ue(e)}}),Object.defineProperty(m.config,"disable",{get:function(){return m.config._disable},set:function(e){m.config._disable=ue(e)}});var a="time"===i.mode;if(!i.dateFormat&&(i.enableTime||a)){var l=j.defaultConfig.dateFormat||o.dateFormat;r.dateFormat=i.noCalendar||a?"H:i"+(i.enableSeconds?":S":""):l+" H:i"+(i.enableSeconds?":S":"")}if(i.altInput&&(i.enableTime||a)&&!i.altFormat){var c=j.defaultConfig.altFormat||o.altFormat;r.altFormat=i.noCalendar||a?"h:i"+(i.enableSeconds?":S K":" K"):c+" h:i"+(i.enableSeconds?":S":"")+" K"}i.altInputClass||(m.config.altInputClass=m.input.className+" "+m.config.altInputClass),Object.defineProperty(m.config,"minDate",{get:function(){return m.config._minDate},set:ie("min")}),Object.defineProperty(m.config,"maxDate",{get:function(){return m.config._maxDate},set:ie("max")});var d=function(e){return function(t){m.config["min"===e?"_minTime":"_maxTime"]=m.parseDate(t,"H:i:S")}};Object.defineProperty(m.config,"minTime",{get:function(){return m.config._minTime},set:d("min")}),Object.defineProperty(m.config,"maxTime",{get:function(){return m.config._maxTime},set:d("max")}),"time"===i.mode&&(m.config.noCalendar=!0,m.config.enableTime=!0),Object.assign(m.config,r,i);for(var p=0;p<n.length;p++)m.config[n[p]]=!0===m.config[n[p]]||"true"===m.config[n[p]];t.filter((function(e){return void 0!==m.config[e]})).forEach((function(e){m.config[e]=s(m.config[e]||[]).map(w)})),m.isMobile=!m.config.disableMobile&&!m.config.inline&&"single"===m.config.mode&&!m.config.disable.length&&!m.config.enable.length&&!m.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(p=0;p<m.config.plugins.length;p++){var f=m.config.plugins[p](m)||{};for(var g in f)t.indexOf(g)>-1?m.config[g]=s(f[g]).map(w).concat(m.config[g]):void 0===i[g]&&(m.config[g]=f[g])}fe("onParseConfig")}(),re(),m.input=m.config.wrap?u.querySelector("[data-input]"):u,m.input?(m.input._type=m.input.type,m.input.type="text",m.input.classList.add("flatpickr-input"),m._input=m.input,m.config.altInput&&(m.altInput=c(m.input.nodeName,m.config.altInputClass),m._input=m.altInput,m.altInput.placeholder=m.input.placeholder,m.altInput.disabled=m.input.disabled,m.altInput.required=m.input.required,m.altInput.tabIndex=m.input.tabIndex,m.altInput.type="text",m.input.setAttribute("type","hidden"),!m.config.static&&m.input.parentNode&&m.input.parentNode.insertBefore(m.altInput,m.input.nextSibling)),m.config.allowInput||m._input.setAttribute("readonly","readonly"),m._positionElement=m.config.positionElement||m._input):m.config.errorHandler(new Error("Invalid input element specified")),function(){m.selectedDates=[],m.now=m.parseDate(m.config.now)||new Date;var e=m.config.defaultDate||("INPUT"!==m.input.nodeName&&"TEXTAREA"!==m.input.nodeName||!m.input.placeholder||m.input.value!==m.input.placeholder?m.input.value:null);e&&pe(e,m.config.dateFormat),m._initialDate=m.selectedDates.length>0?m.selectedDates[0]:m.config.minDate&&m.config.minDate.getTime()>m.now.getTime()?m.config.minDate:m.config.maxDate&&m.config.maxDate.getTime()<m.now.getTime()?m.config.maxDate:m.now,m.currentYear=m._initialDate.getFullYear(),m.currentMonth=m._initialDate.getMonth(),m.selectedDates.length>0&&(m.latestSelectedDateObj=m.selectedDates[0]),void 0!==m.config.minTime&&(m.config.minTime=m.parseDate(m.config.minTime,"H:i")),void 0!==m.config.maxTime&&(m.config.maxTime=m.parseDate(m.config.maxTime,"H:i")),m.minDateHasTime=!!m.config.minDate&&(m.config.minDate.getHours()>0||m.config.minDate.getMinutes()>0||m.config.minDate.getSeconds()>0),m.maxDateHasTime=!!m.config.maxDate&&(m.config.maxDate.getHours()>0||m.config.maxDate.getMinutes()>0||m.config.maxDate.getSeconds()>0),Object.defineProperty(m,"showTimeInput",{get:function(){return m._showTimeInput},set:function(e){m._showTimeInput=e,m.calendarContainer&&l(m.calendarContainer,"showTimeInput",e),m.isOpen&&ae()}})}(),m.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=m.currentMonth),void 0===t&&(t=m.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:m.l10n.daysInMonth[e]}},m.isMobile||function(){var e=window.document.createDocumentFragment();if(m.calendarContainer=c("div","flatpickr-calendar"),m.calendarContainer.tabIndex=-1,!m.config.noCalendar){if(e.appendChild((m.monthNav=c("div","flatpickr-months"),m.yearElements=[],m.monthElements=[],m.prevMonthNav=c("span","flatpickr-prev-month"),m.prevMonthNav.innerHTML=m.config.prevArrow,m.nextMonthNav=c("span","flatpickr-next-month"),m.nextMonthNav.innerHTML=m.config.nextArrow,$(),Object.defineProperty(m,"_hidePrevMonthArrow",{get:function(){return m.__hidePrevMonthArrow},set:function(e){m.__hidePrevMonthArrow!==e&&(l(m.prevMonthNav,"flatpickr-disabled",e),m.__hidePrevMonthArrow=e)}}),Object.defineProperty(m,"_hideNextMonthArrow",{get:function(){return m.__hideNextMonthArrow},set:function(e){m.__hideNextMonthArrow!==e&&(l(m.nextMonthNav,"flatpickr-disabled",e),m.__hideNextMonthArrow=e)}}),m.currentYearElement=m.yearElements[0],me(),m.monthNav)),m.innerContainer=c("div","flatpickr-innerContainer"),m.config.weekNumbers){var t=function(){m.calendarContainer.classList.add("hasWeeks");var e=c("div","flatpickr-weekwrapper");e.appendChild(c("span","flatpickr-weekday",m.l10n.weekAbbreviation));var t=c("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),o=t.weekWrapper,n=t.weekNumbers;m.innerContainer.appendChild(o),m.weekNumbers=n,m.weekWrapper=o}m.rContainer=c("div","flatpickr-rContainer"),m.rContainer.appendChild(U()),m.daysContainer||(m.daysContainer=c("div","flatpickr-days"),m.daysContainer.tabIndex=-1),H(),m.rContainer.appendChild(m.daysContainer),m.innerContainer.appendChild(m.rContainer),e.appendChild(m.innerContainer)}m.config.enableTime&&e.appendChild(function(){m.calendarContainer.classList.add("hasTime"),m.config.noCalendar&&m.calendarContainer.classList.add("noCalendar"),m.timeContainer=c("div","flatpickr-time"),m.timeContainer.tabIndex=-1;var e=c("span","flatpickr-time-separator",":"),t=p("flatpickr-hour",{"aria-label":m.l10n.hourAriaLabel});m.hourElement=t.getElementsByTagName("input")[0];var o=p("flatpickr-minute",{"aria-label":m.l10n.minuteAriaLabel});if(m.minuteElement=o.getElementsByTagName("input")[0],m.hourElement.tabIndex=m.minuteElement.tabIndex=-1,m.hourElement.value=i(m.latestSelectedDateObj?m.latestSelectedDateObj.getHours():m.config.time_24hr?m.config.defaultHour:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(m.config.defaultHour)),m.minuteElement.value=i(m.latestSelectedDateObj?m.latestSelectedDateObj.getMinutes():m.config.defaultMinute),m.hourElement.setAttribute("step",m.config.hourIncrement.toString()),m.minuteElement.setAttribute("step",m.config.minuteIncrement.toString()),m.hourElement.setAttribute("min",m.config.time_24hr?"0":"1"),m.hourElement.setAttribute("max",m.config.time_24hr?"23":"12"),m.minuteElement.setAttribute("min","0"),m.minuteElement.setAttribute("max","59"),m.timeContainer.appendChild(t),m.timeContainer.appendChild(e),m.timeContainer.appendChild(o),m.config.time_24hr&&m.timeContainer.classList.add("time24hr"),m.config.enableSeconds){m.timeContainer.classList.add("hasSeconds");var n=p("flatpickr-second");m.secondElement=n.getElementsByTagName("input")[0],m.secondElement.value=i(m.latestSelectedDateObj?m.latestSelectedDateObj.getSeconds():m.config.defaultSeconds),m.secondElement.setAttribute("step",m.minuteElement.getAttribute("step")),m.secondElement.setAttribute("min","0"),m.secondElement.setAttribute("max","59"),m.timeContainer.appendChild(c("span","flatpickr-time-separator",":")),m.timeContainer.appendChild(n)}return m.config.time_24hr||(m.amPM=c("span","flatpickr-am-pm",m.l10n.amPM[r((m.latestSelectedDateObj?m.hourElement.value:m.config.defaultHour)>11)]),m.amPM.title=m.l10n.toggleTitle,m.amPM.tabIndex=-1,m.timeContainer.appendChild(m.amPM)),m.timeContainer}()),l(m.calendarContainer,"rangeMode","range"===m.config.mode),l(m.calendarContainer,"animate",!0===m.config.animate),l(m.calendarContainer,"multiMonth",m.config.showMonths>1),m.calendarContainer.appendChild(e);var a=void 0!==m.config.appendTo&&void 0!==m.config.appendTo.nodeType;if((m.config.inline||m.config.static)&&(m.calendarContainer.classList.add(m.config.inline?"inline":"static"),m.config.inline&&(!a&&m.element.parentNode?m.element.parentNode.insertBefore(m.calendarContainer,m._input.nextSibling):void 0!==m.config.appendTo&&m.config.appendTo.appendChild(m.calendarContainer)),m.config.static)){var s=c("div","flatpickr-wrapper");m.element.parentNode&&m.element.parentNode.insertBefore(s,m.element),s.appendChild(m.element),m.altInput&&s.appendChild(m.altInput),s.appendChild(m.calendarContainer)}m.config.static||m.config.inline||(void 0!==m.config.appendTo?m.config.appendTo:window.document.body).appendChild(m.calendarContainer)}(),function(){if(m.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(m.element.querySelectorAll("[data-"+e+"]"),(function(t){return T(t,"click",m[e])}))})),m.isMobile)!function(){var e=m.config.enableTime?m.config.noCalendar?"time":"datetime-local":"date";m.mobileInput=c("input",m.input.className+" flatpickr-mobile"),m.mobileInput.step=m.input.getAttribute("step")||"any",m.mobileInput.tabIndex=1,m.mobileInput.type=e,m.mobileInput.disabled=m.input.disabled,m.mobileInput.required=m.input.required,m.mobileInput.placeholder=m.input.placeholder,m.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",m.selectedDates.length>0&&(m.mobileInput.defaultValue=m.mobileInput.value=m.formatDate(m.selectedDates[0],m.mobileFormatStr)),m.config.minDate&&(m.mobileInput.min=m.formatDate(m.config.minDate,"Y-m-d")),m.config.maxDate&&(m.mobileInput.max=m.formatDate(m.config.maxDate,"Y-m-d")),m.input.type="hidden",void 0!==m.altInput&&(m.altInput.type="hidden");try{m.input.parentNode&&m.input.parentNode.insertBefore(m.mobileInput,m.input.nextSibling)}catch(e){}T(m.mobileInput,"change",(function(e){m.setDate(e.target.value,!1,m.mobileFormatStr),fe("onChange"),fe("onClose")}))}();else{var e=a(oe,50);m._debouncedChange=a(L,300),m.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&T(m.daysContainer,"mouseover",(function(e){"range"===m.config.mode&&te(e.target)})),T(window.document.body,"keydown",ee),m.config.inline||m.config.static||T(window,"resize",e),void 0!==window.ontouchstart?T(window.document,"touchstart",J):T(window.document,"mousedown",D(J)),T(window.document,"focus",J,{capture:!0}),!0===m.config.clickOpens&&(T(m._input,"focus",m.open),T(m._input,"mousedown",D(m.open))),void 0!==m.daysContainer&&(T(m.monthNav,"mousedown",D(ye)),T(m.monthNav,["keyup","increment"],z),T(m.daysContainer,"mousedown",D(ce))),void 0!==m.timeContainer&&void 0!==m.minuteElement&&void 0!==m.hourElement&&(T(m.timeContainer,["increment"],C),T(m.timeContainer,"blur",C,{capture:!0}),T(m.timeContainer,"mousedown",D(P)),T([m.hourElement,m.minuteElement],["focus","click"],(function(e){return e.target.select()})),void 0!==m.secondElement&&T(m.secondElement,"focus",(function(){return m.secondElement&&m.secondElement.select()})),void 0!==m.amPM&&T(m.amPM,"mousedown",D((function(e){C(e),L()}))))}}(),(m.selectedDates.length||m.config.noCalendar)&&(m.config.enableTime&&A(m.config.noCalendar?m.latestSelectedDateObj||m.config.minDate:void 0),be(!1)),k(),m.showTimeInput=m.selectedDates.length>0||m.config.noCalendar;var n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!m.isMobile&&n&&ae(),fe("onReady")}(),m}function k(e,t){for(var o=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),n=[],i=0;i<o.length;i++){var r=o[i];try{if(null!==r.getAttribute("data-fp-omit"))continue;void 0!==r._flatpickr&&(r._flatpickr.destroy(),r._flatpickr=void 0),r._flatpickr=w(r,t||{}),n.push(r._flatpickr)}catch(e){console.error(e)}}return 1===n.length?n[0]:n}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return k(this,e)},HTMLElement.prototype.flatpickr=function(e){return k([this],e)});var j=function(e,t){return"string"==typeof e?k(window.document.querySelectorAll(e),t):e instanceof Node?k([e],t):k(e,t)};return j.defaultConfig={},j.l10ns={en:e({},n),default:e({},n)},j.localize=function(t){j.l10ns.default=e({},j.l10ns.default,t)},j.setDefaults=function(t){j.defaultConfig=e({},j.defaultConfig,t)},j.parseDate=b({}),j.formatDate=v({}),j.compareDates=y,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return k(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=j),j}()},function(e,t){

!function(){"use strict";var e={template:'<ng-transclude><input type="text" ng-if="!$ctrl.fpOpts.inline" ng-model="$ctrl.ngModel" placeholder="{{ $ctrl.fpOpts.placeholder }}"></input><div ng-if="$ctrl.fpOpts.inline"></div></ng-transclude>',controller:t,transclude:!0,bindings:{ngModel:"<",fpOpts:"<",fpOnSetup:"&"}};function t(e,t,o){var n=this;function i(){t((function(){!function(e){var t=flatpickr||FlatpickrInstance;if(!t)return console.warn("Unable to find any flatpickr installation");var i=new t(e,n.fpOpts);n.fpOnSetup&&n.fpOnSetup({fpItem:i}),n.ngModel&&i.setDate(n.ngModel),angular.element(e).on("$destroy",(function(){i.destroy()})),o.$applyAsync()}(e.find("ng-transclude")[0].children[0])}),0,!0)}n.$onInit=function(){n.fpOpts.placeholder=n.fpOpts.placeholder||"Select Date..",i()},n.$onChanges=function(){i()}}t.$inject=["$element","$timeout","$scope"],angular.module("angular-flatpickr",[]).component("ngFlatpickr",e)}()},function(e,t,o){e.exports=o(38)("native-function-to-string",Function.toString)},function(e,t,o){var n=o(32)("meta"),i=o(12),r=o(17),a=o(10).f,s=0,l=Object.isExtensible||function(){return!0},c=!o(9)((function(){return l(Object.preventExtensions({}))})),d=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},p=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,n)){if(!l(e))return"F";if(!t)return"E";d(e)}return e[n].i},getWeak:function(e,t){if(!r(e,n)){if(!l(e))return!0;if(!t)return!1;d(e)}return e[n].w},onFreeze:function(e){return c&&p.NEED&&l(e)&&!r(e,n)&&d(e),e}}},function(e,t,o){var n=o(28),i=o(43),r=o(44);e.exports=function(e){var t=n(e),o=i.f;if(o)for(var a,s=o(e),l=r.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,o){var n=o(42),i=Math.max,r=Math.min;e.exports=function(e,t){return(e=n(e))<0?i(e+t,0):r(e,t)}},function(e,t,o){var n=o(10),i=o(3),r=o(28);e.exports=o(11)?Object.defineProperties:function(e,t){i(e);for(var o,a=r(t),s=a.length,l=0;s>l;)n.f(e,o=a[l++],t[o]);return e}},function(e,t,o){var n=o(18),i=o(57).f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(n(e))}},function(e,t,o){"use strict";var n=o(3),i=o(19),r=o(58),a=o(45);o(47)("match",1,(function(e,t,o,s){return[function(o){var n=e(this),i=null==o?void 0:o[t];return void 0!==i?i.call(o,n):new RegExp(o)[t](String(n))},function(e){var t=s(o,e,this);if(t.done)return t.value;var l=n(e),c=String(this);if(!l.global)return a(l,c);var d=l.unicode;l.lastIndex=0;for(var p,u=[],f=0;null!==(p=a(l,c));){var h=String(p[0]);u[f]=h,""===h&&(l.lastIndex=r(c,i(l.lastIndex),d)),f++}return 0===f?null:u}]}))},function(e,t,o){"use strict";var n=o(59);o(5)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,o){"use strict";var n=o(74),i=o(33),r=o(41),a={};o(14)(a,o(0)("iterator"),(function(){return this})),e.exports=function(e,t,o){e.prototype=n(a,{next:i(1,o)}),r(e,t+" Iterator")}},function(e,t,o){var n=o(17),i=o(20),r=o(55)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,o){var n=o(5),i=o(16),r=o(9);e.exports=function(e,t){var o=(i.Object||{})[e]||Object[e],a={};a[e]=t(o),n(n.S+n.F*r((function(){o(1)})),"Object",a)}},function(e,t,o){o(11)&&"g"!=/./g.flags&&o(10).f(RegExp.prototype,"flags",{configurable:!0,get:o(60)})},function(e,t,o){var n={"./default.svg":172};function i(e){var t=r(e);return o(t)}function r(e){if(!o.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=r,e.exports=i,i.id=171},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzBweCIgaGVpZ2h0PSIzOHB4IiB2aWV3Qm94PSIwIDAgMzAgMzgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZWVlIj4KICAgIDxwYXRoIGQ9Ik0zLDEuMTU4NDkzNTllLTE2IEwyMS43NTczNTkzLC04Ljg4MTc4NDJlLTE2IEMyMi41NTMwMDg4LC0xLjc0MTAxNTU0ZS0xNSAyMy4zMTYwNzA1LDAuMzE2MDcwNTIxIDIzLjg3ODY3OTcsMC44Nzg2Nzk2NTYgTDI5LjEyMTMyMDMsNi4xMjEzMjAzNCBDMjkuNjgzOTI5NSw2LjY4MzkyOTQ4IDMwLDcuNDQ2OTkxMjIgMzAsOC4yNDI2NDA2OSBMMzAsMzUgQzMwLDM2LjY1Njg1NDIgMjguNjU2ODU0MiwzOCAyNywzOCBMMywzOCBDMS4zNDMxNDU3NSwzOCAyLjAyOTA2MTI1ZS0xNiwzNi42NTY4NTQyIDAsMzUgTDQuNDQwODkyMWUtMTYsMyBDMi40MTE4MzA4NWUtMTYsMS4zNDMxNDU3NSAxLjM0MzE0NTc1LDcuNDg0NDgzOThlLTE2IDMsNC40NDA4OTIxZS0xNiBaIi8+Cjwvc3ZnPgo="},function(e,t,o){"use strict";var n=o(5),i=o(20),r=o(39);n(n.P+n.F*o(9)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=i(this),o=r(t);return"number"!=typeof o||isFinite(o)?t.toISOString():null}})},function(e,t,o){var n=o(27),i=o(54),r=o(20),a=o(19),s=o(175);e.exports=function(e,t){var o=1==e,l=2==e,c=3==e,d=4==e,p=6==e,u=5==e||p,f=t||s;return function(t,s,h){for(var g,m,v=r(t),b=i(v),y=n(s,h,3),x=a(b.length),_=0,w=o?f(t,x):l?f(t,0):void 0;x>_;_++)if((u||_ in b)&&(m=y(g=b[_],_,v),e))if(o)w[_]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:w.push(g)}else if(d)return!1;return p?-1:c||d?d:w}}},function(e,t,o){var n=o(176);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,o){var n=o(12),i=o(73),r=o(0)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&null===(t=t[r])&&(t=void 0)),void 0===t?Array:t}},function(e,t,o){var n=o(86),i=o(178),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var o in Object(e))r.call(e,o)&&"constructor"!=o&&t.push(o);return t}},function(e,t,o){var n=o(179)(Object.keys,Object);e.exports=n},function(e,t){e.exports=function(e,t){return function(o){return e(t(o))}}},function(e,t,o){var n=o(181),i=o(189),r=o(190),a=o(191),s=o(192),l=o(48),c=o(91),d=c(n),p=c(i),u=c(r),f=c(a),h=c(s),g=l;(n&&"[object DataView]"!=g(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=g(new i)||r&&"[object Promise]"!=g(r.resolve())||a&&"[object Set]"!=g(new a)||s&&"[object WeakMap]"!=g(new s))&&(g=function(e){var t=l(e),o="[object Object]"==t?e.constructor:void 0,n=o?c(o):"";if(n)switch(n){case d:return"[object DataView]";case p:return"[object Map]";case u:return"[object Promise]";case f:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,o){var n=o(36)(o(15),"DataView");e.exports=n},function(e,t,o){var n=o(87),i=o(186),r=o(90),a=o(91),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,d=l.toString,p=c.hasOwnProperty,u=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||i(e))&&(n(e)?u:s).test(a(e))}},function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){var n=o(88),i=Object.prototype,r=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=r.call(e,s),o=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=o:delete e[s]),i}},function(e,t){var o=Object.prototype.toString;e.exports=function(e){return o.call(e)}},function(e,t,o){var n=o(187),i=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!i&&i in e}},function(e,t,o){var n=o(15)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,o){var n=o(36)(o(15),"Map");e.exports=n},function(e,t,o){var n=o(36)(o(15),"Promise");e.exports=n},function(e,t,o){var n=o(36)(o(15),"Set");e.exports=n},function(e,t,o){var n=o(36)(o(15),"WeakMap");e.exports=n},function(e,t,o){var n=o(194),i=o(64),r=Object.prototype,a=r.hasOwnProperty,s=r.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,o){var n=o(48),i=o(64);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},function(e,t){var o=Array.isArray;e.exports=o},function(e,t,o){var n=o(87),i=o(92);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},function(e,t,o){(function(e){var n=o(15),i=o(198),r=t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===r?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l}).call(this,o(93)(e))},function(e,t){e.exports=function(){return!1}},function(e,t,o){var n=o(200),i=o(201),r=o(202),a=r&&r.isTypedArray,s=a?i(a):n;e.exports=s},function(e,t,o){var n=o(48),i=o(92),r=o(64),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&i(e.length)&&!!a[n(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,o){(function(e){var n=o(89),i=t&&!t.nodeType&&t,r=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===i&&n.process,s=function(){try{return r&&r.require&&r.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,o(93)(e))},function(e,t,o){"use strict";var n=o(28),i=o(43),r=o(44),a=o(20),s=o(54),l=Object.assign;e.exports=!l||o(9)((function(){var e={},t={},o=Symbol(),n="abcdefghijklmnopqrst";return e[o]=7,n.split("").forEach((function(e){t[e]=e})),7!=l({},e)[o]||Object.keys(l({},t)).join("")!=n}))?function(e,t){for(var o=a(e),l=arguments.length,c=1,d=i.f,p=r.f;l>c;)for(var u,f=s(arguments[c++]),h=d?n(f).concat(d(f)):n(f),g=h.length,m=0;g>m;)p.call(f,u=h[m++])&&(o[u]=f[u]);return o}:l},function(e,t,o){var n=o(57),i=o(43),r=o(3),a=o(2).Reflect;e.exports=a&&a.ownKeys||function(e){var t=n.f(r(e)),o=i.f;return o?t.concat(o(e)):t}},function(e,t,o){"use strict";var n,i,r,a,s=o(31),l=o(2),c=o(27),d=o(46),p=o(5),u=o(12),f=o(40),h=o(206),g=o(207),m=o(85),v=o(95).set,b=o(209)(),y=o(96),x=o(210),_=o(211),w=o(212),k=l.TypeError,j=l.process,C=j&&j.versions,S=C&&C.v8||"",A=l.Promise,M="process"==d(j),E=function(){},z=i=y.f,T=!!function(){try{var e=A.resolve(1),t=(e.constructor={})[o(0)("species")]=function(e){e(E,E)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(E)instanceof t&&0!==S.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(e){}}(),D=function(e){var t;return!(!u(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var o=e._c;b((function(){for(var n=e._v,i=1==e._s,r=0,a=function(t){var o,r,a,s=i?t.ok:t.fail,l=t.resolve,c=t.reject,d=t.domain;try{s?(i||(2==e._h&&O(e),e._h=1),!0===s?o=n:(d&&d.enter(),o=s(n),d&&(d.exit(),a=!0)),o===t.promise?c(k("Promise-chain cycle")):(r=D(o))?r.call(o,l,c):l(o)):c(n)}catch(e){d&&!a&&d.exit(),c(e)}};o.length>r;)a(o[r++]);e._c=[],e._n=!1,t&&!e._h&&I(e)}))}},I=function(e){v.call(l,(function(){var t,o,n,i=e._v,r=P(e);if(r&&(t=x((function(){M?j.emit("unhandledRejection",i,e):(o=l.onunhandledrejection)?o({promise:e,reason:i}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",i)})),e._h=M||P(e)?2:1),e._a=void 0,r&&t.e)throw t.v}))},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},O=function(e){v.call(l,(function(){var t;M?j.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},q=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},N=function(e){var t,o=this;if(!o._d){o._d=!0,o=o._w||o;try{if(o===e)throw k("Promise can't be resolved itself");(t=D(e))?b((function(){var n={_w:o,_d:!1};try{t.call(e,c(N,n,1),c(q,n,1))}catch(e){q.call(n,e)}})):(o._v=e,o._s=1,L(o,!1))}catch(e){q.call({_w:o,_d:!1},e)}}};T||(A=function(e){h(this,A,"Promise","_h"),f(e),n.call(this);try{e(c(N,this,1),c(q,this,1))}catch(e){q.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=o(213)(A.prototype,{then:function(e,t){var o=z(m(this,A));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=M?j.domain:void 0,this._c.push(o),this._a&&this._a.push(o),this._s&&L(this,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),r=function(){var e=new n;this.promise=e,this.resolve=c(N,e,1),this.reject=c(q,e,1)},y.f=z=function(e){return e===A||e===a?new r(e):i(e)}),p(p.G+p.W+p.F*!T,{Promise:A}),o(41)(A,"Promise"),o(214)("Promise"),a=o(16).Promise,p(p.S+p.F*!T,"Promise",{reject:function(e){var t=z(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!T),"Promise",{resolve:function(e){return w(s&&this===a?A:this,e)}}),p(p.S+p.F*!(T&&o(83)((function(e){A.all(e).catch(E)}))),"Promise",{all:function(e){var t=this,o=z(t),n=o.resolve,i=o.reject,r=x((function(){var o=[],r=0,a=1;g(e,!1,(function(e){var s=r++,l=!1;o.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,o[s]=e,--a||n(o))}),i)})),--a||n(o)}));return r.e&&i(r.v),o.promise},race:function(e){var t=this,o=z(t),n=o.reject,i=x((function(){g(e,!1,(function(e){t.resolve(e).then(o.resolve,n)}))}));return i.e&&n(i.v),o.promise}})},function(e,t){e.exports=function(e,t,o,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(o+": incorrect invocation!");return e}},function(e,t,o){var n=o(27),i=o(79),r=o(80),a=o(3),s=o(19),l=o(82),c={},d={};(t=e.exports=function(e,t,o,p,u){var f,h,g,m,v=u?function(){return e}:l(e),b=n(o,p,t?2:1),y=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(r(v)){for(f=s(e.length);f>y;y++)if((m=t?b(a(h=e[y])[0],h[1]):b(e[y]))===c||m===d)return m}else for(g=v.call(e);!(h=g.next()).done;)if((m=i(g,b,h.value,t))===c||m===d)return m}).BREAK=c,t.RETURN=d},function(e,t){e.exports=function(e,t,o){var n=void 0===o;switch(t.length){case 0:return n?e():e.call(o);case 1:return n?e(t[0]):e.call(o,t[0]);case 2:return n?e(t[0],t[1]):e.call(o,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(o,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(o,t[0],t[1],t[2],t[3])}return e.apply(o,t)}},function(e,t,o){var n=o(2),i=o(95).set,r=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,l="process"==o(29)(a);e.exports=function(){var e,t,o,c=function(){var n,i;for(l&&(n=a.domain)&&n.exit();e;){i=e.fn,e=e.next;try{i()}catch(n){throw e?o():t=void 0,n}}t=void 0,n&&n.enter()};if(l)o=function(){a.nextTick(c)};else if(!r||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var d=s.resolve(void 0);o=function(){d.then(c)}}else o=function(){i.call(n,c)};else{var p=!0,u=document.createTextNode("");new r(c).observe(u,{characterData:!0}),o=function(){u.data=p=!p}}return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,o()),t=i}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,o){var n=o(2).navigator;e.exports=n&&n.userAgent||""},function(e,t,o){var n=o(3),i=o(12),r=o(96);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var o=r.f(e);return(0,o.resolve)(t),o.promise}},function(e,t,o){var n=o(13);e.exports=function(e,t,o){for(var i in t)n(e,i,t[i],o);return e}},function(e,t,o){"use strict";var n=o(2),i=o(10),r=o(11),a=o(0)("species");e.exports=function(e){var t=n[e];r&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,o){var n=function(e){"use strict";var t,o=Object.prototype,n=o.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,o,n){var i=t&&t.prototype instanceof g?t:g,r=Object.create(i.prototype),a=new A(n||[]);return r._invoke=function(e,t,o){var n=d;return function(i,r){if(n===u)throw new Error("Generator is already running");if(n===f){if("throw"===i)throw r;return E()}for(o.method=i,o.arg=r;;){var a=o.delegate;if(a){var s=j(a,o);if(s){if(s===h)continue;return s}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(n===d)throw n=f,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);n=u;var l=c(e,t,o);if("normal"===l.type){if(n=o.done?f:p,l.arg===h)continue;return{value:l.arg,done:o.done}}"throw"===l.type&&(n=f,o.method="throw",o.arg=l.arg)}}}(e,o,a),r}function c(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var d="suspendedStart",p="suspendedYield",u="executing",f="completed",h={};function g(){}function m(){}function v(){}var b={};b[r]=function(){return this};var y=Object.getPrototypeOf,x=y&&y(y(M([])));x&&x!==o&&n.call(x,r)&&(b=x);var _=v.prototype=g.prototype=Object.create(b);function w(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function k(e,t){var o;this._invoke=function(i,r){function a(){return new t((function(o,a){!function o(i,r,a,s){var l=c(e[i],e,r);if("throw"!==l.type){var d=l.arg,p=d.value;return p&&"object"==typeof p&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(p).then((function(e){d.value=e,a(d)}),(function(e){return o("throw",e,a,s)}))}s(l.arg)}(i,r,o,a)}))}return o=o?o.then(a,a):a()}}function j(e,o){var n=e.iterator[o.method];if(n===t){if(o.delegate=null,"throw"===o.method){if(e.iterator.return&&(o.method="return",o.arg=t,j(e,o),"throw"===o.method))return h;o.method="throw",o.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=c(n,e.iterator,o.arg);if("throw"===i.type)return o.method="throw",o.arg=i.arg,o.delegate=null,h;var r=i.arg;return r?r.done?(o[e.resultName]=r.value,o.next=e.nextLoc,"return"!==o.method&&(o.method="next",o.arg=t),o.delegate=null,h):r:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,h)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function M(e){if(e){var o=e[r];if(o)return o.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function o(){for(;++i<e.length;)if(n.call(e,i))return o.value=e[i],o.done=!1,o;return o.value=t,o.done=!0,o};return a.next=a}}return{next:E}}function E(){return{value:t,done:!0}}return m.prototype=_.constructor=v,v.constructor=m,v[s]=m.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(k.prototype),k.prototype[a]=function(){return this},e.AsyncIterator=k,e.async=function(t,o,n,i,r){void 0===r&&(r=Promise);var a=new k(l(t,o,n,i),r);return e.isGeneratorFunction(o)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),_[s]="Generator",_[r]=function(){return this},_.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var o in e)t.push(o);return t.reverse(),function o(){for(;t.length;){var n=t.pop();if(n in e)return o.value=n,o.done=!1,o}return o.done=!0,o}},e.values=M,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var o in this)"t"===o.charAt(0)&&n.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var o=this;function i(n,i){return s.type="throw",s.arg=e,o.next=n,i&&(o.method="next",o.arg=t),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=e,a.arg=t,r?(this.method="next",this.next=r.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),S(o),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var n=o.completion;if("throw"===n.type){var i=n.arg;S(o)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,o,n){return this.delegate={iterator:M(e),resultName:o,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,o){"use strict";o(218)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},function(e,t,o){var n=o(5),i=o(9),r=o(30),a=/"/g,s=function(e,t,o,n){var i=String(r(e)),s="<"+t;return""!==o&&(s+=" "+o+'="'+String(n).replace(a,"&quot;")+'"'),s+">"+i+"</"+t+">"};e.exports=function(e,t){var o={};o[e]=t(s),n(n.P+n.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",o)}},function(e,t,o){"use strict";var n=o(5),i=o(72)(!0);n(n.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(61)("includes")},function(e,t,o){"use strict";var n=o(5),i=o(221);n(n.P+n.F*o(222)("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,o){var n=o(84),i=o(30);e.exports=function(e,t,o){if(n(t))throw TypeError("String#"+o+" doesn't accept regex!");return String(i(e))}},function(e,t,o){var n=o(0)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(o){try{return t[n]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t){angular.module("elfsightAppsEditor").run(["gettextCatalog",function(e){e.setStrings("de",{"+ Add New {{ control.name }}":"Neu erstellen",Add:"Erstellen","An error was received while authorization. Please, try to reconnect.":"Während der Autorisierung wurde ein Fehler empfangen. Versuchen Sie bitte, die Verbindung wiederherzustellen.",Apply:"Übernehmen","Are you sure you want to remove?":"Sind Sie sich sicher, dass Sie das entfernen wollen?","Back to preview":"Zurück zur Vorschau","Choose your place":"Wählen Sie einen Ort","Clear color":"Farbe löschen","Collecting reviews":"Bewertungen sammeln","Connect to {{title}}":"Verbindung zu {{title}} herstellen",Connected:"In Verbindung gebracht","Continue with this template":"Fahren Sie mit dieser Vorlage","Custom CSS":"Custom CSS",Disconnect:"Verbindung trennen",Disconnected:"Verbindung getrennt","Duplicate item":"Element kopieren","If you need to customize your widget, add your custom styles here. The styles will only be applied to this widget.":"Wenn Sie Ihr Widget anpassen müssen, fügen Sie hier Ihre benutzerdefinierten Stile hinzu. Die Stile werden nur auf dieses Widget angewendet.",No:"Nein","No search results. Please, add more specific information to your search: ZIP code, street address, city, state and country.":"Keine Suchergebnisse. Bitte fügen Sie weitere spezifische Informationen zu Ihrer Suche: Postleitzahl, Adresse, Stadt, Staat und Land.",Off:"Aus",On:"An","Open connected Google Sheet":"Verbundenes Google Sheet öffnen","Remove item":"Element entfernen","Reviews collected":"Bewertungen gesammelt",Search:"Suche","Select a template to start with":"Wählen Sie eine Vorlage für den Anfang","The manage_pages permission is required to access your Facebook pages.":"Die manage_pages Erlaubnis benötigt, um Ihre Facebook-Seiten zuzugreifen.","Widget Settings":"Widget-Einstellungen",Yes:"Ja","You widget is successfully connected to {{title}}. You can continue customization.":"Dein Widget ist erfolgreich mit {{title}} verbunden. Sie können die Anpassung fortsetzen."}),e.setStrings("ru_RU",{"+ Add New {{ control.name }}":"+ Добавить {{ control.name }}",Add:"Добавить","An error was received while authorization. Please, try to reconnect.":"Ошибка при авторизации. Пожалуйста, попробуйте снова.",Apply:"Применить","Are you sure you want to remove?":"Вы уверены, что хотите удалить?","Back to preview":"Назад к предпросмотру","Choose your place":"Выберите место","Clear color":"Очистить цвет","Collecting reviews":"Сбор отзывов","Connect to {{control.token.title}}":"Подключено к {{control.token.title}}",Connected:"Подключено","Continue with this template":"Продолжить с этим шаблоном","Custom CSS":"Пользовательский CSS",Disconnect:"Отключить",Disconnected:"Отключено","Duplicate item":"Дублировать элемент","If you need to customize your widget, add your custom styles here. The styles will only be applied to this widget.":"Если вы хотите персонализировать виджет, добавьте свои стили сюда. Они будут применены только к этому виджету.",No:"Нет","No search results. Please, add more specific information to your search: ZIP code, street address, city, state and country.":"No search results. Please, add more specific information to your search: ZIP code, street address, city, state and country.",Off:"Выкл",On:"Вкл","Open connected Google Sheet":"Открыть подключенный Google Sheet","Remove item":"Удалить элемент","Reviews collected":"Отзывы собраны",Search:"Поиск","Select a template to start with":"Начните с выбора шаблона","The manage_pages permission is required to access your Facebook pages.":"The manage_pages permission is required to access your Facebook pages.","Widget Settings":"Настройки виджета",Yes:"Да","You widget is successfully connected to {{control.token.title}}. You can continue customization.":"Виджет успешно подключен к {{control.token.title}}. Вы можете перейти к настройкам."})}])},function(e,t,o){"use strict";M.$inject=["$document"],E.$inject=["$document"],z.$inject=["$document"],o.r(t),o(150),o(152),o(153),o(154),o(156),o(157);var n=o(97),i=o.n(n),r=(o(8),o(4),o(164),o(1),o(34),o(98)),a=o.n(r);function s(e){return(s="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})(e)}var l=["$rootScope","$popup","$sub",function(e,t,o){return{template:a.a,replace:!0,controller:["$scope","$rootScope","$window","$element","$http","$timeout","$compile","$sce",function(e,n,i,r,a,l,c,d){var p=n.elfsightFilesToken;e.control.file=angular.extend({accept:".jpg,.jpeg,.gif,.jpe,.png",old:!0,multiple:!1},e.control.file),e.loadInProgress=!1,e.uploaded=!1,e.itemsToRemove=[],e.mode=null,p?e.mode="default":window.wp&&window.wp.media?e.mode="wpMedia":e.mode="fallbackUrl",e.$watch("ngModel",(function(t,o){if("string"==typeof t&&e.control.file.old)e.file={type:"link",data:{name:t.replace(/^.*[\\\/]/,""),url:t}};else if(Array.isArray(t)&&!e.control.file.multiple)e.file={type:"link",data:{name:t[0].data.name,url:t[0].data.url}};else if(Array.isArray(t)&&e.control.file.multiple){if(t===o)return}else"object"===s(t)&&t&&(e.file={type:"link",data:{name:t.data.name,url:t.data.url}});e.ngModel||(e.file=null)})),e.itemIsImage=function(e){return e&&e.match(/(jpg|jpeg|png|gif)$/g)?e.match(/(jpg|jpeg|png|gif)$/g).length>0:""},e.selectFile=function(o){o&&o.target&&angular.element(o.target).hasClass("ea-editor-property-control-file-exists-delete")?e.deleteCurrentFile():t.show(e,c("<elfsight-apps-file-manager></elfsight-apps-file-manager>")(e))},e.deleteCurrentFile=function(){l((function(){e.file=null,e.ngModel=null}))},e.openSub=function(t){var i=n.$new();i.name=t.name,i.data=t,i.properties=[{id:"description",name:"Description",description:"",type:"textarea",defaultValue:"",textarea:{enableRichEdit:!0,enableRichEditHtml:!0},allowEmpty:!0}],i.preview={onClick:e.selectFile,image:t&&t.data&&t.data.file_url?t.data.file_url:""},n.currentComplex=t,o.show(i)},e.reorderClick=function(e){e.stopPropagation()},e.removeItem=function(t,o){e.ngModel.splice(t,1),e.itemsToRemove=[],o.stopPropagation()},e.showRemoveConfirm=function(t,o){e.itemsToRemove.push(t),o.stopPropagation()},e.hideRemoveConfirm=function(t,o){e.itemsToRemove.splice(e.itemsToRemove.indexOf(t),1),o.stopPropagation()},e.setValue=function(t){e.ngModel=t.target.value}}]}}];l.$inject=["$rootScope","$popup","$sub"];var c=o(99),d=o.n(c),p=["$sub","$timeout",function(e,t){return{template:d.a,replace:!0,link:function(o,n,i){var r=[],a=null;t((function(){angular.forEach(n[0].getElementsByClassName("ea-editor-property-control"),(function(e){r.push(e)})),r.forEach((function(e,t,o){(angular.element(e).hasClass("ea-editor-property-control-text")&&!a||angular.element(e).hasClass("ea-editor-property-control-textarea")&&!a||angular.element(e).hasClass("ea-editor-property-control-number")&&!a)&&(angular.element(e).hasClass("ea-editor-property-control-datepicker")||(a=angular.element(e)))})),a&&(a[0].getElementsByTagName("input")[0]?a[0].getElementsByTagName("input")[0].focus():a[0].getElementsByTagName("textarea")[0]&&a[0].getElementsByTagName("textarea")[0].focus())}),100),o.$on("$destroy",(function(){e.hide(n)})),o.hide=function(){e.hide(o,n)},!o.name&&o.data&&o.data.data&&o.data.data.name&&(o.name=o.data.data.name)},controller:["$rootScope","$scope",function(e,t){t.isPropertyVisible=function(t){return!(!e.enableCloudProperties&&t.onlyForCloud)&&!1!==t.visible}}]}}];p.$inject=["$sub","$timeout"];var u=o(100),f=o.n(u),h=["$popup","$timeout",function(e,t){return{template:f.a,replace:!0,controller:["$scope",function(e){}],link:function(e,t,o){t.append(e.element)}}}];h.$inject=["$popup","$timeout"],o(6),o(21),o(7),o(62);var g=o(101),m=o.n(g),v=["$sce","$timeout","$l10n","$utils",function(e,t,o,n){return{template:m.a,scope:{ngModel:"="},replace:!0,controller:["$scope","$element","$rootScope",function(e,t,o){e.templates=e.$parent.templates,e.editor=e.$parent,e.initialData=e.editor.widget.data||{},e.showTemplates=!1,e.setData=function(t){if(e.currentTemplate=e.templates[t]||null,e.enableTemplates=!!e.currentTemplate,e.editor.widget&&e.editor.widget.data&&e.currentTemplate){e.editor.widget.data=angular.extend({},e.initialData),e.editor.properties.forEach((function(t){n.recursivelyGetAllProps(e.editor.properties,e.editor.widget.data,t.type)}));var o={};e.currentTemplate.settings=angular.isString(e.currentTemplate.settings)?angular.fromJson(e.currentTemplate.settings):e.currentTemplate.settings,Object.keys(e.currentTemplate.settings).map((function(t){var n=e.currentTemplate.settings[t];e.editor.widget&&e.editor.widget.data&&e.editor.widget.data.hasOwnProperty(t)&&(o[t]=n)})),e.editor.widget.data=angular.extend(e.editor.widget.data,o)}},e.hideTemplates=function(){e.showTemplates=!1,e.enableTemplates=!1,e.editor.onTemplateSelect&&"function"==typeof e.editor.onTemplateSelect&&e.editor.onTemplateSelect()},e.selectTemplate=function(t){e.setData(t),e.hideTemplates()},e.setData(0)}]}}];v.$inject=["$sce","$timeout","$l10n","$utils"];var b=o(102),y=o.n(b),x=["$visual",function(e){return{template:y.a,replace:!0,link:function(t,o){var n=function(e,t,o){var n;return e.forEach((function(e){t.forEach((function(t){angular.equals(e[t],o)&&(n=e)}))})),n};t.$on("$destroy",(function(){e.hide(o)})),t.hide=function(){e.hide(t,o)},o.on("change",(function(){t.selected=n(t.control.select.options,["value"],t.ngModel)})),t.selected=n(t.control.select.options,["value"],t.ngModel)},controller:["$rootScope","$scope",function(e,t){t.isOptionVisible=function(t){return!(!e.enableCloudProperties&&t.onlyForCloud)&&!1!==t.visible}}]}}];x.$inject=["$visual"];var _=o(103),w=o.n(_),k=["$icons",function(e){return{template:w.a,replace:!0,link:function(t,o){var n=function(e,t,o){var n;return e.forEach((function(e){t.forEach((function(t){angular.equals(e[t],o)&&(n=e)}))})),n};t.$on("$destroy",(function(){e.hide(o)})),t.hide=function(){e.hide(t,o)},o.on("change",(function(){t.selected=n(t.control.select.options,["value"],t.ngModel)})),t.selected=n(t.control.select.options,["value"],t.ngModel)},controller:["$rootScope","$scope",function(e,t){}]}}];k.$inject=["$icons"];var j=o(104),C=o.n(j),S=["$user","$timeout","$document",function(e,t,o){return{template:C.a,replace:!0,link:function(t,o){var n=function(e,t,o){var n;return e.forEach((function(e){t.forEach((function(t){e[t]===o&&(n=e)}))})),n};t.$on("$destroy",(function(){e.hide(o)})),t.hide=function(){e.hide(t,o)},t.selected=n(t.data,["photo"],t.ngModel.photo),o.on("change",(function(){t.selected=n(t.data,["photo"],t.ngModel.photo)}))},controller:["$scope",function(e){}]}}];S.$inject=["$user","$timeout","$document"];var A=["$rootScope",function(e){return{link:function(t,o){o.bind("mouseenter",(function(){t.control.description&&t.$apply((function(){e.editorHint=t.control.description,e.editorHintVisible=!0}))})),o.bind("mouseleave",(function(){e.editorHint===t.control.description&&t.$apply((function(){e.editorHintVisible=!1}))}))}}}];function M(e){return{restrict:"A",link:function(e,t,o){t.bind("scroll",(function(){t[0].scrollTop+t[0].offsetHeight>=t[0].scrollHeight&&e.loadUsers()}))}}}function E(e){return{restrict:"A",link:function(e,t){e.active=!1,e.done=!1,e.inProgress=!1,e.popupContainer=document.getElementsByClassName("ea-editor-popup-container")[0];var o=0;e.popupContainer.addEventListener("dragover",(function(t){t.preventDefault(),e.preview=document.getElementsByClassName("ea-editor-preview-container")[0],e.dropzoneInput=document.getElementsByClassName("ea-editor-file-manager-upload-input")[0],e.preview.style.opacity=0,e.dropzoneInput.style.display="none"}),!1),e.popupContainer.addEventListener("dragenter",(function(n){n.preventDefault(),o++,n.target===t[0]&&(e.hovered=!0)}),!1),e.popupContainer.addEventListener("dragleave",(function(t){0==--o&&(e.preview.style.opacity=1,e.dropzoneInput.style.display="block",e.hovered=!1)}),!1),window.addEventListener("drop",(function(o){if(o.preventDefault(),e.preview.style.opacity=1,e.dropzoneInput.style.display="block",e.hovered=!1,o.target===t[0]){e.inProgress=!0;for(var n=o.dataTransfer.files,i=0,r=n[i];r===n[i];i++){var a=new FileReader;a.readAsArrayBuffer(r),a.onload=function(t){return function(){e.processFile(t),e.inProgress=!1}}(r)}}}),!1)}}}function z(e){return{restrict:"A",scope:{ngMultiple:"="},link:function(e,t){e.$watch("ngMultiple",(function(e){e?t.attr("multiple","multiple"):t.removeAttr("multiple")}))}}}A.$inject=["$rootScope"],o(22),o(23),o(24),o(25),o(26);var T=o(105),D=o.n(T);function L(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return I(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?I(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var P=["$rootScope","$compile","$filter",function(e,t,o){return{template:D.a,replace:!0,controller:["$scope","$element",function(n,i){var r=angular.element(i[0].querySelector(".ea-editor-file-manager-tabs-content"));n.settings=angular.extend({chooseButtonText:"OK",old:!0},n.control.file),n.tabs=n.settings&&n.settings.tabs?n.settings.tabs:[{name:"Upload File",value:"upload"},{name:"Recently Uploaded",value:"files"},{name:"File by URL",value:"link"}],"wpMedia"===n.mode&&(n.tabs=o("filter")(n.tabs,{value:"!files"})),n.currentTab=n.tabs[0].value,n.currentTabId=0,n.setResult=function(t){var o,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n.settings.multiple?(n.ngModel||(n.ngModel=[]),t.length?(o=n.ngModel).push.apply(o,L(t)):n.ngModel.push(t)):n.settings.old?(n.ngModel=t[0].data.url,n.file={type:"link",data:{name:t[0].data.name,url:t[0].data.url}}):(n.ngModel=t[0],n.file=t[0]),i&&e.hidePopup()},n.setCurrentTab=function(e,t){n.currentTab=e,n.currentTabId=t},n.allTabs={upload:t("<elfsight-apps-file-manager-upload></elfsight-apps-file-manager-upload>")(n),link:t("<elfsight-apps-file-manager-link></elfsight-apps-file-manager-link>")(n)},"wpMedia"!==n.mode&&(n.allTabs.files=t("<elfsight-apps-file-manager-files></elfsight-apps-file-manager-files>")(n)),n.tabs.map((function(e){r.append(n.allTabs[e.value])})),n.extension=function(e){return(e=e.substr(1+e.lastIndexOf("/")).split("?")[0]).split("#")[0].substr(e.lastIndexOf("."))},n.formatSize=function(e){var t=Math.floor(Math.log(e)/Math.log(1024));return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+["B","kB","MB","GB","TB"][t]}}]}}];P.$inject=["$rootScope","$compile","$filter"];var O=o(106),q=o.n(O),N=o(171),R=["$rootScope","$http",function(e,t){return{template:q.a,replace:!0,controller:["$scope",function(o){var n=e.elfsightFilesToken,i=[];o.filesResult=[],o.activeId=[];var r=N.keys().reduce((function(e,t){return e[t]=N(t),e}),{});o.setFileUrl=function(e,t){var n={type:"uploaded",data:{url:e.url,width:e.width,height:e.height,name:e.name,size:e.size,ext:o.extension(e.url).replace(".","")}};o.settings.multiple?(-1!==o.activeId.indexOf(t)?(o.activeId.splice(o.activeId.indexOf(t),1),i.splice(i.indexOf(o.files[t]),1)):(o.activeId.push(t),i.push(n)),o.filesResult=i):(o.filesResult=[n],o.activeId=[t])},t.get("https://files.elfsight.com/public/files/list/?access_token="+n).then((function(e){o.files=e.data.filter((function(e){return-1!==o.settings.accept.indexOf(o.extension(e.url))||-1!==o.settings.accept.indexOf("*")})).map((function(e){var t=e;return r["./".concat(o.extension(e.url),".svg")]?(t.icon=r["./".concat(o.extension(e.url),".svg")],t.previewType="specifiedIcon"):(t.icon=r["./default.svg"],t.previewType="defaultIcon"),/png|jpg|jpeg|svg/.test(o.extension(t.url))&&(t.icon=null,t.previewType="image"),t})),o.files.length||(o.filesError="You haven't ulpoaded any files yet")})).catch((function(e){o.filesError="Can't connect to server",console.error(e)}))}]}}];R.$inject=["$rootScope","$http"];var B=o(107),V=o.n(B),H=["$rootScope","$popup",function(e,t){return{template:V.a,replace:!0,controller:["$scope",function(e){e.url=null,e.linkResult=null,e.onChange=function(){e.linkResult=[{type:"link",data:{name:e.url.replace(/^.*[\\\/]/,""),url:e.url,ext:e.extension(e.url).replace(".","")}}]}}]}}];H.$inject=["$rootScope","$popup"],o(173);var F=o(108),W=o.n(F),$=["$rootScope","$popup","$http","$timeout",function(e,t,o,n){return{template:W.a,replace:!0,controller:["$scope",function(t){var n=e.elfsightFilesToken;if(t.uploadResult=[],t.uploadFiles=[],t.uploadFilesCount=0,t.wrongFileType=!1,t.maxFileSize="25",t.success=!1,t.wpMedia=null,"wpMedia"===t.mode){var i=wp.media({title:t.control.name,multiple:t.control.file.multiple});i.on("select",(function(){var e,o=[];i.state().get("selection").forEach((function(e){e.toJSON();var t=e.attributes,n=t.title,i=t.url,r=t.filesizeInBytes,a=t.type,s=t.subtype,l=t.width,c=t.height;o.push({type:"uploaded",data:{name:n,url:i,size:r,type:a,extension:s,width:l,height:c,ext:s}})})),(e=t.uploadResult).push.apply(e,o),t.setResult(t.uploadResult),t.$apply()})),t.wpMedia={open:function(){return i.open()}}}t.processUploadedFile=function(e){var o=angular.element(e)[0].files;t.processFiles(o)},t.processFiles=function(e){t.uploadFilesCount=e.length;for(var o=0;o<e.length;o++)t.uploadFiles.push(e[o]),t.uploadFile(null,e[o],o)},t.removeFile=function(e){t.uploadFiles.splice(t.uploadFiles.indexOf(e),1)},t.uploadFile=function(e,i,r){if(i){var a=new FormData;a.append("access_token",n),a.append("file",i),o({method:"POST",url:"https://files.elfsight.com/public/files/upload/",cache:!1,transformRequest:angular.identity,headers:{"Content-Type":void 0},type:"UPLOAD_FILE",data:a,uploadEventHandlers:{progress:function(e){e.lengthComputable&&(i.progressBar=e.loaded/e.total*100)}}}).then((function(e){t.error="",e.data.status?e.status&&(t.uploadResult.push({type:"uploaded",data:angular.extend({},{name:i.name,size:i.size,type:i.type,url:e.data.data.file_url,extension:e.data.data.file_url.split(".").pop()},e.data.data)}),t.settings.multiple||t.setResult(t.uploadResult),t.uploadFilesCount--):t.uploadFiles[r].error=e.data.reason})).catch((function(e){t.loadInProgress=!1,t.uploaded=!1,t.uploadResult=[],413===e.status&&(t.error="File size limit exceeded")}))}}}]}}];$.$inject=["$rootScope","$popup","$http","$timeout"];var U=["$compile","$rootScope","$sce","$l10n",function(e,t,o,n){return{scope:{control:"=",ngModel:"="},replace:!0,controller:["$scope",function(e){e.toTrustedHTML=function(e){return o.trustAsHtml(o.valueOf(e))}}],link:function(t,i){n.translateControl(t),t.setDefaultValueIfEmpty=function(){t.control.allowEmpty||""!==t.ngModel&&null!==t.ngModel&&angular.isDefined(t.ngModel)||(t.ngModel=void 0===t.control.defaultValue?null:angular.copy(t.control.defaultValue))},angular.isDefined(t.ngModel)||(t.ngModel=void 0===t.control.defaultValue?null:angular.copy(t.control.defaultValue)),t.control.caption&&(t.control.captionTrusted=o.trustAsHtml(t.control.caption));var r,a="<elfsight-apps-control-#type#></elfsight-apps-control-#type#>";r="custom"===t.control.type&&t.control.custom.type?angular.element(a.replace("#type#","custom-"+t.control.custom.type)):angular.element(a.replace("#type#",t.control.type)),i.replaceWith(e(r)(t))}}}];U.$inject=["$compile","$rootScope","$sce","$l10n"];var Y=o(50),K=o.n(Y),G=["$rootScope","$sce",function(e,t){return{template:K.a,replace:!0,controller:["$scope",function(e){e.showBtn=e.control.text&&e.control.text.button,function(e){return(0^e)===e}(e.control.maxLength)&&(e.symbolsLast=e.control.maxLength-e.ngModel.length,e.$watch("ngModel",(function(t,o){e.control.dirty=t!==o,e.symbolsLast=e.control.maxLength&&t?e.control.maxLength-t.length:null,e.symbolsLast<0&&(e.ngModel=t.slice(0,e.control.maxLength))}))),e.toTrustedHTML=function(e){return t.trustAsHtml(t.valueOf(e))}}],link:function(e,t){var o=document.createElement("div"),n=!1;e.$watch("ngModel",(function(t){if(n)n=!1;else{var i=!1;o.innerHTML=t,angular.forEach(o.querySelectorAll("script"),(function(e){e.parentNode.removeChild(e),i=!0})),angular.forEach(o.querySelectorAll("iframe"),(function(e){e.parentNode.removeChild(e),i=!0})),i&&(e.ngModel=o.innerHTML,n=!0)}}))}}}];G.$inject=["$rootScope","$sce"],o(63);var J=o(109),X=o.n(J),Z=o(110),Q=o.n(Z),ee=o(51),te=o.n(ee),oe=["$timeout",function(e){return{template:X.a,replace:!0,controller:["$scope","$rootScope","$element",function(t,o,n){var i="pasteStorage,DragAndDrop,xpath,stat,sticky,search,tableKeyboardNavigation,table,hotkeys,symbols,redoundo,placeholder,orderedlist,mobile,link,justify,inlinePopup,imageProperties,imageProcessor,indent,addNewLine,autofocus,backspace,bold,color,enter,errorMessages,font,formatBlock,fullsize,iframe";t.valueChanged=!1;var r={};if(t.control.textarea&&t.control.textarea.settings&&(r=angular.extend(t.control.textarea.settings)),function(e){return(0^e)===e}(t.control.maxLength)&&(r.limitChars=t.control.maxLength),r=angular.extend({spellcheck:!1,toolbarButtonSize:"medium",askBeforePasteHTML:!1,askBeforePasteFromWord:!1,defaultActionOnPaste:"insert_only_text",useNativeTooltip:!0,disablePlugins:i,buttons:"bold,underline,italic,ul,ol,align,link"+(t.control.textarea&&t.control.textarea.enableRichEditHtml?",source":""),toolbarSticky:!1,enter:"BR"},r),t.control.textarea&&t.control.textarea.enableRichEdit)t.editor=new te.a(n.find("textarea")[0],r),t.editor.events.on("afterInit",(function(){t.editor.value=t.ngModel||""})),t.editor.events.on("change",(function(){t.valueChanged=!0,t.ngModel=t.editor.value,e((function(){t.$apply()}))})),t.fixedMinHeight=t.control.textarea.fixedMinHeight||!1;else if(t.control.textarea&&(t.control.textarea.CSSMode||t.control.textarea.JSONMode)){var a;t.control.textarea.JSONMode&&(a="json"),t.control.textarea.CSSMode&&(a="css"),t.editor=new te.a(n.find("textarea")[0],{sourceEditorNativeOptions:{mode:"ace/mode/"+a},toolbar:!1,disablePlugins:i,defaultMode:te.a.MODE_SOURCE}),t.editor.events.on("afterInit",(function(){t.editor.value=t.ngModel||""})),t.editor.events.on("change",(function(){t.valueChanged=!0,t.ngModel=t.editor.value,e((function(){t.$apply()}))}))}else setTimeout((function(){Q()(n.find("textarea"))}),100);t.$watch("ngModel",(function(o,n){t.ngModelChanged=!0,!t.ngModel&&t.editor&&(t.editor.value=""),o&&o!==n&&!t.valueChanged&&t.editor&&e((function(){t.editor.value=o,t.$apply()})),e((function(){t.ngModelChanged=!1}),100),t.valueChanged=!1}))}],link:function(e,t){var o=document.createElement("div"),n=!1;e.$watch("ngModel",(function(t){if(n)n=!1;else{var i=!1;o.innerHTML=t,angular.forEach(o.querySelectorAll("script"),(function(e){e.parentNode.removeChild(e),i=!0})),angular.forEach(o.querySelectorAll("iframe"),(function(e){e.parentNode.removeChild(e),i=!0})),i&&(e.ngModel=o.innerHTML,n=!0)}}))}}}];oe.$inject=["$timeout"];var ne=o(111),ie=o.n(ne),re=o(112),ae=o.n(re),se=o(113),le=o.n(se);function ce(e){return(ce="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})(e)}var de=["$utils",function(e){return{template:le.a,replace:!0,controller:["$scope","$rootScope","$element","$timeout","$sub",function(t,o,n,i,r){var a=function(e,t,o){var n="";return!(!o&&0!==o||angular.equals({},o))&&(e.some((function(e){if(t.some((function(t){return e[t]===("object"===ce(o)?o[t]:o)})))return n=e})),n)};if(o.controls&&t.control.select&&t.control.select.optionsSource){var s=t.control.select.optionsSource;o.controls[s]&&(t.control.select.options=o.controls[t.control.parentId?"".concat(t.control.parentId,"-").concat(t.control.select.optionsSourcePostfix):s].getValue()||[]),t.control.select.options||(t.control.select.options=[]),a(t.control.select.options,["value"],t.ngModel)||(t.ngModel="")}t.control.allowEmpty&&t.control.select.options[0]&&""!==t.control.select.options[0].value&&t.control.select.options.unshift({value:"",name:" - None - ",visible:!1}),t.show=!1,t.readonly=t.control.select&&!t.control.select.enableInput,t.currentValue=a(t.control.select&&t.control.select.options||[],["value"],t.ngModel),t.showOptions=function(){!1===t.show&&(t.show=!0,t.binded=!1,t.show&&!t.binded&&n.bind("keydown keypress",(function(e){t.binded=!0,38===e.keyCode?(t.currentValue=a(t.control.select.options,["name"],e.target.value),t.currentId=t.control.select.options.indexOf(t.currentValue),i((function(){c()})),e.preventDefault()):40===e.keyCode?(t.currentValue=a(t.control.select.options,["name"],e.target.value),t.currentId=t.control.select.options.indexOf(t.currentValue),i((function(){l()})),e.preventDefault()):13===e.keyCode&&(n[0].querySelector(".ea-editor-property-control-select input").blur(),t.hideOptions(),e.preventDefault())})),angular.element(document).bind("click",(function(e){n[0]===e.target||n[0].contains(e.target)?e.preventDefault():t.hideOptions()})))},t.addSource=t.control.select&&t.control.select.enableNewSourceAdd&&!!t.control.select.optionsSource,t.newSource="",t.addNewSource=function(o){if(o){var n={value:e.uuid(),name:o};t.control.select.options.push(n),t.ngModel=n.value,t.currentValue=n,t.show=!1,t.binded=!1}},t.newSourceToggle=function(){t.openSub(o.controls[t.control.select.optionsSource].control)},n.find("input").bind("keyup",(function(e){var o=String.fromCharCode(e.keyCode);(/[a-zA-Z0-9-_ ]/.test(o)||/[\b]/.test(o))&&i((function(){t.currentValue=e.target.value,t.setValue(t.currentValue),t.$apply()}))}));var l=function(){var e=t.currentValue,o=0;t.control.select.options.indexOf(t.currentValue)+1>=t.control.select.options.length?(e=t.control.select.options[0],o=0):(e=t.control.select.options[t.control.select.options.indexOf(t.currentValue)+1],o=32*(t.currentId-1)),t.setValue(e),n[0].querySelector(".ea-editor-property-control-select-dropdown-options").scrollTop=o},c=function(){var e=t.currentValue,o=0;t.control.select.options.indexOf(t.currentValue)<=0?(e=t.control.select.options[t.control.select.options.length-1],o=32*t.control.select.options.length):(e=t.control.select.options[t.control.select.options.indexOf(t.currentValue)-1],o=32*(t.currentId-2)),t.setValue(e),n[0].querySelector(".ea-editor-property-control-select-dropdown-options").scrollTop=o};t.hideOptions=function(){t.show=!1,t.binded=!1,t.unbind(),i((function(){t.$apply()}))},t.unbind=function(){n.unbind("keydown keypress")},t.setValue=function(e,o){t.currentValue=a(t.control.select.options,["value","name"],e)||e,t.ngModel=e.value||0===e.value||""===e.value?e.value:e,o&&"click"===o.type&&i((function(){t.hideOptions()}))},o.controls&&o.controls[t.control.id]&&(o.controls[t.control.id].set=t.setValue),t.$watch("ngModel",(function(){t.currentValue=t.control.parentId&&o.controls[t.control.select.optionsSource]&&a(o.controls[t.control.select.optionsSource].value,["value","name"],t.ngModel)||a(t.control.select&&t.control.select.options||[],["value","name"],t.ngModel)||t.ngModel,t.control.select&&o.controls[t.control.select.optionsSource]&&o.controls[t.control.select.optionsSource].setValue&&o.controls[t.control.select.optionsSource].setValue(t.currentValue)})),t.openSub=function(n){var i=o.$new();i.name=t.control.name,i.properties=n.properties,i.data=angular.extend({},n),r.show(i,null,(function(){var o=[],n=i.data;n.value=e.uuid(),n&&n.properties&&n.properties.length&&n.properties.forEach((function(e){e.id!==n.idProperty&&o.push(e.id)})),-1===o.map((function(e){return!n[e]})).indexOf(!1)||(n.displayName=n[o[o.map((function(e){return!n[e]})).indexOf(!1)]],t.control.select.options.push(n),t.ngModel=n.value,t.currentValue=n,t.show=!1,t.binded=!1)}))}}]}}];de.$inject=["$utils"];var pe=o(114),ue=o.n(pe),fe=["$rootScope",function(e){return{template:ue.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];fe.$inject=["$rootScope"];var he=o(115),ge=o.n(he),me=["$rootScope",function(e){return{template:ge.a,replace:!0,controller:["$scope","$rootScope","$visual","$timeout",function(e,t,o,n){t.currentSelectVisualScope=e,e.control.select.layout=e.control.select.layout||"one-col";var i=function(e,t,o){var n;return e.forEach((function(e){t.forEach((function(t){angular.equals(e[t],o)&&(n=e)}))})),n};e.openSelectVisual=function(){o.show(e)},e.selected=i(e.control.select.options,["value"],e.ngModel),e.$watch("ngModel",(function(t,o){e.selected=i(e.control.select.options,["value"],e.ngModel)})),n((function(){e.$apply()}))}]}}];me.$inject=["$rootScope"];var ve=o(116),be=o.n(ve),ye=["$rootScope",function(e){return{template:be.a,replace:!0,controller:["$scope","$rootScope","$icons","$timeout",function(e,t,o,n){var i=function(e,t,o){var n;return e.forEach((function(e){t.forEach((function(t){angular.equals(e[t],o)&&(n=e)}))})),n};e.openSelectIcon=function(){o.show(e)},e.selected=i(e.control.select.options,["value"],e.ngModel),e.$watch("ngModel",(function(t,o){e.selected=i(e.control.select.options,["value"],e.ngModel)})),n((function(){e.$apply()}))}]}}];ye.$inject=["$rootScope"];var xe=o(117),_e=o.n(xe);function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var ke=["$rootScope",function(e){return{template:_e.a,replace:!0,controller:["$scope","$rootScope","$user","$http",function(e,t,o,n){t.currentSelectVisualScope=e,e.data=[],e.settings={gender:"all"};var i={random:!0,limit:20,"emotion[]":"happiness","provider[]":8};e.loadUsers=function(){"male"===e.settings.gender||"female"===e.settings.gender?i["gender[]"]=e.settings.gender:"all"===e.settings.gender&&delete i["gender[]"],n.get("https://uifaces.co/api?provider%5B%5D=9&provider%5B%5D=7&provider%5B%5D=5",{headers:{"X-API-KEY":"f09e1601752e7fc2b8aee7b50f9ed3"},params:i}).then((function(t){var o;(o=e.data).push.apply(o,function(e){return function(e){if(Array.isArray(e))return we(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return we(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?we(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.data))}))};var r=function(e,t,o){var n;return e.forEach((function(e){t.forEach((function(t){e[t]===o&&(n=e)}))})),n};e.loadUsers(),e.openSelectVisual=function(){o.show(e)},e.selected=r(e.data,["photo"],e.ngModel.photo),e.$watch("ngModel",(function(){e.selected=r(e.data,["photo"],e.ngModel.photo)})),e.$watch("settings.gender",(function(){e.selected,e.data=[],e.loadUsers()}))}]}}];ke.$inject=["$rootScope"];var je=o(118),Ce=o.n(je),Se=["$rootScope",function(e){return{template:Ce.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}],link:function(e,t){"string"==typeof e.ngModel&&""!==e.ngModel&&(e.ngModel=e.ngModel.split(",")),e.addTag=function(){e.newTag&&(angular.isArray(e.ngModel)||(e.ngModel=[]),-1===e.ngModel.indexOf(e.newTag)&&e.ngModel.push(e.newTag),e.newTag="")},e.removeTag=function(t){angular.isArray(e.ngModel)&&e.ngModel.splice(t,1)},t.bind("keydown",(function(t){var o=t.which;9!==o&&13!==o||e.newTag&&t.preventDefault()})),t.bind("keyup",(function(t){var o=t.which;Array.isArray(e.control.allowedKeys)||(e.control.allowedKeys=[]),9!==o&&13!==o&&-1===e.control.allowedKeys.indexOf(o)||(e.newTag&&t.preventDefault(),e.$apply("addTag()"))})),t.bind("change",(function(t){e.$apply("addTag()")}))}}}];Se.$inject=["$rootScope"];var Ae=o(119),Me=o.n(Ae),Ee=["$rootScope",function(e){return{template:Me.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];Ee.$inject=["$rootScope"];var ze=o(120),Te=o.n(ze),De=["$rootScope","$timeout",function(e,t){return{template:Te.a,replace:!0,controller:["$scope","$rootScope",function(e,t){e.widthStyle="",e.checkboxClick=function(t,o){o?e.ngModel.splice(e.ngModel.indexOf(t),1):e.ngModel.push(t)},e.control.checklist&&e.control.checklist.columns&&e.control.checklist.columns<5&&(e.widthStyle={width:100/e.control.checklist.columns+"%"})}]}}];De.$inject=["$rootScope","$timeout"];var Le=o(121),Ie=o.n(Le),Pe=["$rootScope",function(e){return{template:Ie.a,replace:!0,controller:["$scope","$rootScope",function(e,t){e.options={clear:{show:!0,label:"Clear color"}},e.eventApi={onClear:function(e){!function(e){var t=e.getElement()[0];angular.element(t.querySelector(".color-picker-swatch")).removeAttr("style")}(e)}}}]}}];Pe.$inject=["$rootScope"];var Oe=o(122),qe=o.n(Oe),Ne=["$rootScope",function(e){return{template:qe.a,replace:!0,controller:["$scope","$rootScope","$timeout",function(e,t,o){e.options=e.control.slider}],link:function(e,t){}}}];Ne.$inject=["$rootScope"];var Re=o(65),Be=o.n(Re),Ve=o(123),He=o.n(Ve);function Fe(e){return(Fe="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})(e)}var We=["$timeout","$utils","$l10n",function(e,t,o){return{template:He.a,replace:!0,link:function(e,t){},controller:["$scope","$rootScope","$sub",function(n,i,r){n.ngModel&&"string"==typeof n.ngModel&&(n.ngModel=JSON.parse(decodeURIComponent(n.ngModel))),n.control.globalInComplex&&(n.ngModel=i.controls["".concat(n.control.parentId,"-").concat(n.control.cleanId)]?i.controls["".concat(n.control.parentId,"-").concat(n.control.cleanId)].getValue():[]),n.itemsToRemove=[],n.controlGroupProperty=n.control.complex.controlGroupProperty,n.getItemName=function(e){var t,i=n.control.complex.nameProperty;if(t=i?a(e,i):s(e))return o.translate(t);if(n.control.complex.previewProperties){var r="";return(n.control.complex.previewProperties.split(",")||[]).forEach((function(t){e[t]&&(Array.isArray(e[t])?r||(r=e[t][0]&&e[t][0].data?e[t][0].data.name:""):"object"===Fe(e[t])?r||(r=e[t]&&e[t].data?e[t].data.name:""):r||(r=e[t]?e[t]:""))})),r}return""},n.getItemPreview=function(e){var t=!1;return n.control.complex.previewProperties&&(n.control.complex.previewProperties.split(",")||[]).forEach((function(o){e[o]&&(Array.isArray(e[o])?t||(t=!(!e[o][0]||!e[o][0].data)&&e[o][0].data.file_url):"object"===Fe(e[o])?t||(t=!(!e[o]||!e[o].data)&&(e[o].data.file_url||e[o].data.url)):t||(t=!!e[o]&&e[o]))})),t};var a=function(e,t){var o=!1,i="";return function n(r){o||r.forEach((function(r){o||("subgroup"===r.type?n(r.subgroup.properties):r.id===t&&(o=!0,i=e[t]||r.defaultValue))}))}(n.control.complex.properties),i},s=function(e){var t="";if(!angular.isObject(e))return e;for(var o=0;o<n.control.complex.properties.length;o++){var i=n.control.complex.properties[o];if(i.complexGroup){t=e.name;break}if("select"!==i.type){t=e[i.id];break}if(i.select&&i.select.options)for(var r=0;r<i.select.options.length;r++){var a=i.select.options[r];if(a.value===e[i.id]){t=a.name;break}}break}return t};n.openSub=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};angular.isArray(n.ngModel)||(n.ngModel=[]);var a=i.$new();o&&o.complexGroup?n.control.complex.properties.forEach((function(e){e.complexGroup&&e.complexGroup===o.complexGroup&&(a.name=e.name,a.properties=e.properties)})):(a.name=n.control.name,a.properties=n.control.complex.properties),!o||Be()(o)?e((function(){n.control.complex.idProperty&&Be()(o[n.control.complex.idProperty])&&(o[n.control.complex.idProperty]=t.uuid()),t.recursivelyGetAllProps(a.properties,o,"subgroup"),n.ngModel.push(o)}),300):e((function(){t.recursivelyGetAllProps(a.properties,o,"subgroup")}),300),e((function(){a.data=o,i.currentComplex=o,r.show(a,n.controlGroupProperty)}),300)},n.reorderClick=function(e){e.stopPropagation()},n.duplicateItem=function(e,o){var i=angular.copy(e);n.control.complex.idProperty?i[n.control.complex.idProperty]=t.uuid():i.id=t.uuid(),n.ngModel.push(i),o.stopPropagation()},n.removeItem=function(e,t){n.itemsToRemove.splice(n.itemsToRemove.indexOf(e),1),n.ngModel.splice(e,1),t.stopPropagation()},n.showRemoveConfirm=function(e,t){n.itemsToRemove.push(e),t.stopPropagation()},n.hideRemoveConfirm=function(e,t){n.itemsToRemove.splice(n.itemsToRemove.indexOf(e),1),t.stopPropagation()}}]}}];We.$inject=["$timeout","$utils","$l10n"];var $e=o(124),Ue=o.n($e),Ye=["$timeout","$utils",function(e,t){return{template:Ue.a,replace:!0,link:function(e,t){},controller:["$scope","$element","$rootScope","$sub","$visual",function(o,n,i,r,a){o.itemsToRemove=[],o.controlGroupProperty=o.control.complex.controlGroupProperty,o.icons={},o.names={},o.control.complex.properties.forEach((function(e){e.id===o.control.complex.controlGroupProperty&&e.select.options.forEach((function(e){o.icons[e.value]=e.img,o.names[e.value]=e.name}))})),o.getItemName=function(e){var t=o.control.complex.nameProperty;return e.label?t?function(e,t){var n=!1,i="";return function o(r){n||r.forEach((function(r){n||("subgroup"===r.type?o(r.subgroup.properties):r.id===t&&(n=!0,i=e[t]||r.defaultValue))}))}(o.control.complex.properties),i}(e,t):function(e){var t="";if(!angular.isObject(e))return e;for(var n=0;n<o.control.complex.properties.length;n++){var i=o.control.complex.properties[n];if(i.complexGroup){t=e.name;break}if("select"!==i.type){t=e[i.id];break}if(i.select&&i.select.options)for(var r=0;r<i.select.options.length;r++){var a=i.select.options[r];if(a.value===e[i.id]){t=a.name;break}}break}return t}(e):e.name?e.name:e.placeholder?e.placeholder:e.type},o.openSub=function(n){var s=!1;angular.isArray(o.ngModel)||(o.ngModel=[]);var l=i.$new();n&&n.complexGroup?o.control.complex.properties.forEach((function(e){e.complexGroup&&e.complexGroup===n.complexGroup&&(l.name=e.name,l.properties=e.properties)})):(l.name=o.control.name,l.properties=[],o.control.complex.properties.forEach((function(e){l.properties.push(e)}))),n||(s=!0,n={},e((function(){t.recursivelyGetAllProps(l.properties,n,"subgroup"),o.ngModel.push(n)}),300)),l.data=n,i.currentComplex=n,o.control.complex.idProperty&&angular.equals({},l.data)&&(l.data[o.control.complex.idProperty]=t.uuid()),r.show(l,o.controlGroupProperty,(function(){o.ngModel.forEach((function(e){"group"===e.type&&(e.label=e.name||e.type.replace(/^\w/,(function(e){return e.toUpperCase()})))}))}),s?300:0),s&&e((function(){i.currentSelectVisualScope.control.name="Select element to add",a.show(i.currentSelectVisualScope,(function(e){if(e.ngModel){if(o.ngModel&&o.ngModel.length){var t=o.ngModel[o.ngModel.length-1];t.label=o.names[t.type]||t.type.replace(/^\w/,(function(e){return e.toUpperCase()}))}l.name=e.ngModel.replace(/^\w/,(function(e){return e.toUpperCase()}))}else r.hide(l),o.ngModel.splice(o.ngModel.length-1,1);"divider"===e.ngModel&&r.hide(l)}),300)}),0)},o.reorderClick=function(e){e.stopPropagation()},o.duplicateItem=function(e,n){var i=angular.copy(e);i.id=t.uuid(),o.ngModel.push(i),n.stopPropagation()},o.removeItem=function(e,t){o.itemsToRemove.splice(o.itemsToRemove.indexOf(e),1),o.ngModel.splice(e,1),t.stopPropagation()},o.showRemoveConfirm=function(e,t){o.itemsToRemove.push(e),t.stopPropagation()},o.hideRemoveConfirm=function(e,t){o.itemsToRemove.splice(o.itemsToRemove.indexOf(e),1),t.stopPropagation()}}]}}];Ye.$inject=["$timeout","$utils"];var Ke=o(125),Ge=o.n(Ke),Je=["$rootScope",function(e){return{template:Ge.a,replace:!0,controller:["$scope","$rootScope","$sub",function(e,t,o){e.openSub=function(){var n=t.$new();n.name=e.control.name,n.properties=e.control.subgroup.properties,n.data=e.ngModel,o.show(n)}}]}}];Je.$inject=["$rootScope"];var Xe=o(126),Ze=o.n(Xe),Qe=["$rootScope",function(e){return{template:Ze.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];Qe.$inject=["$rootScope"];var et=o(127),tt=o.n(et),ot=["$rootScope",function(e){return{template:tt.a,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];ot.$inject=["$rootScope"];var nt=o(128),it=o.n(nt),rt=["$rootScope",function(e){return{template:it.a,replace:!0,controller:["$scope","$rootScope",function(e,t){var o=function(e){return new Date(e).getTime()?new Date(e).getTime():e};e.ngModel=o(e.ngModel),!e.ngModel&&e.control&&e.control.datepicker&&e.control.datepicker.currentDate&&(e.ngModel=(new Date).getTime(),e.control.datepicker.addDays&&(e.ngModel=new Date((new Date).setDate((new Date).getDate()+e.control.datepicker.addDays)).getTime())),e.dateOpts={defaultDate:e.ngModel,enableTime:!0,closeOnSelect:!1,onChange:function(t,n,i){e.ngModel=o(n)}},e.control&&e.control.datepicker&&e.control&&e.control.datepicker.timeOnly&&angular.extend(e.dateOpts,{enableTime:!0,noCalendar:!0,closeOnSelect:!1}),e.$watch("ngModel",(function(t,n){!function(t,n){var i;if(!e.ngModel&&(null==e||null===(i=e.control)||void 0===i?void 0:i.datepicker)){var r=e.control.datepicker,a=r.currentDate,s=void 0!==a&&a,l=r.addDays,c=void 0===l?0:l;s&&(e.ngModel=(new Date).getTime(),c&&(e.ngModel=o((new Date).setDate((new Date).getDate()+c))))}}()}))}]}}];rt.$inject=["$rootScope"],o(37);var at=o(129),st=o.n(at),lt=["$rootScope",function(e){return{scope:"=",template:st.a,replace:!0,controller:["$scope","$rootScope","$timeout","$http","$httpParamSerializer",function(e,t,o,n,i){console.log("Auth: initial",e.ngModel);var r=e.control.token,a=r.stage,s=void 0!==a&&a,l=(r.encrypt,r.useWidgetId),c=r.useIdentity,d=r.confirm,p=void 0===d||d,u=r.authUrl,f=r.apiUrl,h=r.provider,g=r.title,m=r.icon,v=r.appConfig,b=r.scopes,y=r.model,x=void 0===y?"id":y;e.provider=h,e.icon=m,e.title=g||function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(h);var _=function(){return l?t.widgetPublicId?t.widgetPublicId:null:t.user&&t.user.public_id?t.user.public_id:t.elfsightUserId?t.elfsightUserId:null},w=function(e,t){var o=["width=600","height=600","menubar=no","toolbar=no","resizable=no","scrollbars=yes","left="+(window.screen.availLeft+window.screen.availWidth/2-300),"top="+(window.screen.availTop+window.screen.availHeight/2-300)],n=window.open(e,t,o.join(","));n&&n.focus()},k=function(t){o((function(){var o=t.data,n=o.provider,i=o.callback,r=o.status,a=o.data,s=o.identity;if("authorize"===i&&h===n){if(e.loading=!1,!r)return e.state="connect",void(e.error=!0);console.log("Auth: Authorized",t.data);var l="";a&&a.token?l=a.token:a["".concat(h,"_oauth_token")]&&(l=a["".concat(h,"_oauth_token")]),"token"===x?(e.accessToken=e.ngModel=l,console.log("Auth: Save token as ngModel")):(e.ngModel=c?s:_(),e.accessToken=l,console.log(c?"Auth: Save identity as ngModel":"Auth: Save widgetID/userID as ngModel")),e.state="connected",e.error=!1}}))};if(!1!==e.control.visible&&window.addEventListener("message",k),e.$on("$destroy",(function(){window.removeEventListener("message",k)})),e.$watch("control.visible",(function(e){void 0!==e&&(e?window.addEventListener("message",k):window.removeEventListener("message",k))})),e.loading=!1,e.state=function(){if(!e.ngModel)return"connect";switch(h){case"facebook":var t;if(e.loading=!0,"token"===x)t="https://graph.facebook.com/me?access_token=".concat(e.ngModel);else{var o=f||"https://".concat(s?"stage.":"","storage.elfsight.com/api/").concat(h),r=-1===o.indexOf("?")?"?":"&",a={cache_bypass:!0,user_id:e.ngModel,q:"https://graph.facebook.com/me"};t="".concat(o).concat(r).concat(i(a))}n({method:"GET",url:t}).then((function(t){200===t.status?e.state="connected":(e.ngModel=null,e.state="connect",e.error=!0),console.log("Auth: Response",t)})).catch((function(t){console.log("Auth: Catch",t),e.ngModel=null,e.state="connect",e.error=!0,console.error(t.data.error.message)}))}return"connected"}(),e.processToken=function(){switch(e.state){case"connected":return void(p&&g&&!confirm("This action will disconnect ".concat(g," from widget. Are you sure?"))||(e.accessToken=e.ngModel="",e.state="connect"));default:return function(){var e=t.appPreferences.authUrl?t.appPreferences.authUrl:u||"https://".concat(s?"stage.":"","storage.elfsight.com/auth/").concat(h),o=-1===e.indexOf("?")?"?":"&",n={};c||(n.user_id=_()),v&&(n.app_config=v),b&&(n.scopes=b),console.log("Auth: Connect",n,e+o+i(n)),w(e+o+i(n),"".concat(h,"-connect"))}()}},e.control.global){var j={getValue:function(){return e.ngModel},getToken:function(){return e.accessToken}};t.controls[e.control.id]?(console.log("Auth: assign global control",t.controls[e.control.id],j),Object.assign(t.controls[e.control.id],j)):(console.log("Auth: init global control",j),t.controls[e.control.id]=j)}}]}}];lt.$inject=["$rootScope"],o(94),o(205),o(215);var ct=o(130),dt=o.n(ct);function pt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ut(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(o),!0).forEach((function(t){ft(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ft(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ht(e,t,o,n,i,r,a){try{var s=e[r](a),l=s.value}catch(e){return void o(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function gt(e){return function(){var t=this,o=arguments;return new Promise((function(n,i){var r=e.apply(t,o);function a(e){ht(r,n,i,a,s,"next",e)}function s(e){ht(r,n,i,a,s,"throw",e)}a(void 0)}))}}var mt="https://localization.elfsight.com";function vt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function bt(e){return(bt="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})(e)}o(49);var yt=["$rootScope",function(e){return{scope:"=",template:K.a,replace:!0,controller:["$scope","$rootScope","$http","$element",function(e,t,o,n){e.lastVal="",e.showBtn=e.control.custom&&e.control.custom.button||"send"===e.control.custom.action,e.$input=angular.element(n[0].querySelector(".ea-editor-property-control-text input")),e.$error=angular.element(n[0].querySelector(".ea-editor-property-control-text-error"));var i=function(){var e=t.appPreferences.apiKey;return function(e){return e&&e.length}(t.appPreferences.apiKeys)&&(e=function(e){return e[Math.floor(Math.random()*e.length)]}(t.appPreferences.apiKeys)),e||""},r=function(o){o.lat&&o.lng?(t.coordinates=o.lat+", "+o.lng,t.controls.coordinates.setValue(t.coordinates),e.lastVal=e.ngModel):s()},a=function(t,o){switch(o||(o="Geocode was not successful: "+t),t){case"NO_API_KEY":o="API key is required"}e.error=!0,e.$error.html(o),console.error(o)},s=function(){var t="https://maps.googleapis.com/maps/api/geocode/json?key="+i()+"&address="+e.ngModel;o.get(t).then((function(t){var o=t.data.results,n=t.data.status;return n&&"OK"!==n?(a(n,t.data.error_message),e.ngModel="",!1):"OK"===n?(console.log("geocoded",o[0].geometry.location),r({lat:o[0].geometry.location.lat,lng:o[0].geometry.location.lng})):void 0}))};if(t.previewProcessCoordinates=!1,t.previewProcessCoordinatesTested||"send"!==e.control.custom.action||(window.frames.preview.postMessage({action:"processCoordinatesPing"},"*"),t.previewCoordinatesPongFunc||window.addEventListener("message",(function e(){!function(e){e&&"string"==typeof e.data&&"EappsPreview.processCoordinatesPong"===e.data&&(t.previewProcessCoordinates=!0)}(event),t.previewCoordinatesPongFunc=e}))),e.processCoordinates=function(){var o=window.frames.preview;if(e.ngModel=e.$input.val(),e.error=!1,i()){if(e.ngModel&&e.ngModel!==e.lastVal)if(/^(\-?\d+(\.\d+)?),?\s*$/.test(e.ngModel))console.log("Await for second coordinate");else{if(/^(\-?\d+(\.\d+)?),\s*(\-?\d+(\.\d+)?)$/.test(e.ngModel)){var n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var o=[],n=!0,i=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(o.push(a.value),!t||o.length!==t);n=!0);}catch(e){i=!0,r=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return vt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?vt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.ngModel.split(/, ?/),2),l=n[0],c=n[1];return r({lat:parseFloat(l),lng:parseFloat(c)})}t.previewProcessCoordinates?(o.postMessage({action:"processCoordinates",data:e.ngModel},"*"),t.processCoordinatesHandleFunc||window.addEventListener("message",(function e(){!function(e){if(e){var o=e.data;"object"===bt(o)&&o.action&&~o.action.search("EappsPreview.processCoordinates")&&(o.coordinates?(console.log("geocoded preview",o.coordinates),r(o.coordinates)):(t.previewProcessCoordinates=!1,s()))}}(event),t.processCoordinatesHandleFunc=e}))):s()}}else a("NO_API_KEY",!1)},e.setValue=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";setTimeout((function(){e.ngModel=t,e.$apply()}))},e.control.global){var l={id:e.control.id,setValue:e.setValue};t.controls[e.control.id]?Object.assign(t.controls[e.control.id],l):t.controls[e.control.id]=l}}],link:function(e){"send"===e.control.custom.action&&e.$watch("ngModel",(function(t,o){t!==o&&""!==t&&e.processCoordinates()}))}}}];yt.$inject=["$rootScope"];var xt=o(131),_t=o.n(xt),wt=["$utils",function(e){return{template:_t.a,replace:!0,controller:["$scope","$rootScope","$element","$timeout","$http",function(e,t,o,n,i){var r=t.widgetPublicId.split("-")[0];e.show=!!e.ngModel,e.sheetTitle="Form Responses ".concat(r),e.accessTokenProperty=e.control.custom.accessTokenProperty||"integrationsGoogleToken",e.status=e.ngModel?"connected":"disconnected",e.connect=function(t){void 0!==t&&(e.error=!1,t&&!e.ngModel&&(e.show=!0,a(t)),!t&&e.ngModel&&(e.loading=!1,e.ngModel=null,e.status="disconnected"))};var a=function(t){return e.loading=!0,i({method:"POST",url:"".concat("https://sheets.googleapis.com/v4/spreadsheets"),headers:{authorization:"Bearer ".concat(t)},data:{properties:{title:e.sheetTitle}}}).then((function(t){var o=t.data;e.ngModel=o.spreadsheetId,e.loading=!1,e.status="connected"}),(function(t){console.error(t),e.error=t.data.error.message,e.status="disconnected"}))};if(e.reset=function(){e.status="disconnected"},e.accessTokenProperty in t.controls){var s=t.$watch((function(){return t.controls&&t.controls[e.accessTokenProperty]&&"function"==typeof t.controls[e.accessTokenProperty].getToken?t.controls[e.accessTokenProperty].getToken():null}),(function(t){return e.connect(t)}));e.$on("$destroy",(function(){s()}))}}]}}];wt.$inject=["$utils"],o(217);var kt=o(132),jt=o.n(kt);function Ct(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var St=["$utils",function(e){return{template:jt.a,replace:!0,controller:["$scope","$rootScope","$element","$timeout","$http",function(e,t,o,n,i){e.show=!1,e.userAccessTokenProperty=e.control.custom.userAccessTokenProperty||"userAccessToken",e.apiUrl=e.apiUrl||"https://graph.facebook.com/",e.loading=!0,e.hasPermission=!0,e.control.custom.options=[],e.showOptions=function(){!1===e.show&&(e.show=!0,e.binded=!1,e.show&&!e.binded&&o.bind("keydown keypress",(function(t){e.binded=!0,38===t.keyCode?(n((function(){r("up")})),t.preventDefault()):40===t.keyCode?(n((function(){r("down")})),t.preventDefault()):13===t.keyCode&&(e.hideOptions(),t.preventDefault())})),angular.element(document).bind("click",(function(t){o[0]===t.target||o[0].contains(t.target)?t.preventDefault():e.hideOptions()})))};var r=function(t){var n=e.ngModel,i=0,r=e.control.custom.options.indexOf(n),a=e.control.custom.options.length,s=o[0].querySelector(".ea-editor-property-control-facebook-page-select-dropdown-options");"up"===t?r<=0?(n=e.control.custom.options[a-1],i=32*e.control.custom.options.length):(n=e.control.custom.options[r-1],i=32*(r-2)):"down"===t&&(r+1>=a?(n=e.control.custom.options[0],i=0):(n=e.control.custom.options[r+1],i=32*(r-1))),e.setValue(n),s.scrollTop=i};e.hideOptions=function(){e.show=!1,e.binded=!1,e.unbind(),e.$apply()},e.unbind=function(){o.unbind("keydown keypress")},e.fetchPages=function(t){e.loading=!0,i({url:"".concat(e.apiUrl,"me/accounts"),params:{access_token:t,limit:1e3,fields:"name,link,picture,access_token"}}).then((function(o){var n=o.status,r=o.data;if(200===n){var s=r.data.map((function(e){var t=e.name,o=e.id,n=e.access_token;return{name:t,value:o,link:e.link,picture:e.picture,accessToken:n}}));e.control.custom.showMe||(e.loading=!1),e.control.custom.options=s,s[0]&&!e.ngModel&&(e.ngModel=a(s[0],["name","value","link","picture"]),e.accessToken=a(s[0],"accessToken")),e.control.custom.showMe&&i({url:"".concat(e.apiUrl,"me"),params:{access_token:t,fields:"id,picture,name"}}).then((function(t){var o=t.status,n=t.data;if(200===o){e.loading=!1;var i=n.name,r=n.picture,a=n.id;e.control.custom.options=[{name:i,picture:r,link:"https://www.facebook.com/".concat(a)}].concat(function(e){return function(e){if(Array.isArray(e))return Ct(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ct(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ct(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(s))}}))}}))},e.setValue=function(t,o){e.ngModel=a(t,["name","value","link","picture"]),e.accessToken=a(t,"accessToken"),console.log("FB Page: set page",e.ngModel),o&&"click"===o.type&&n((function(){e.hideOptions()}))};var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if("string"==typeof t)return e[t];var o={};return t.forEach((function(t){return o[t]=e[t]})),o};if(e.resetPages=function(){e.control.custom.options=[],e.ngModel=null,e.accessToken=null,console.log("FB Page: reset pages")},t.controls&&t.controls[e.control.id]&&(t.controls[e.control.id].set=e.setValue),e.userAccessTokenProperty in t.controls){var s=t.$watch((function(){return t.controls&&t.controls[e.userAccessTokenProperty]&&"function"==typeof t.controls[e.userAccessTokenProperty].getValue?t.controls[e.userAccessTokenProperty].getValue():null}),(function(t,o){console.log("FB Page: watch userAccessToken, new:",t),console.log("FB Page: watch userAccessToken, old:",o),t?e.fetchPages(t):e.resetPages()}));e.$on("$destroy",(function(){console.log("FB Page: DESTROY"),s()}))}if(e.control.global){var l={getValue:function(){return e.ngModel},getToken:function(){return e.accessToken}};t.controls[e.control.id]?Object.assign(t.controls[e.control.id],l):t.controls[e.control.id]=l}}]}}];St.$inject=["$utils"];var At=o(133),Mt=o.n(At);function Et(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function zt(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var Tt=["$utils",function(e){return{template:Mt.a,replace:!0,controller:["$scope","$rootScope","$element","$timeout","$http","$httpParamSerializer",function(e,t,o,n,i,r){var a=e.control.custom,s=a.userAccessTokenProperty,l=void 0===s?"businessAccessToken":s,c=a.stage,d=void 0!==c&&c,p=a.apiUrl,u=a.provider,f=void 0===u?"facebook":u,h=function(){return p||"https://".concat(d?"stage.":"","storage.elfsight.com/api/").concat(f,"?cache_bypass=true")};e.show=!1,e.loading=!0,e.hasAccount=null,e.hasPermission=null,e.displayValue=e.ngModel?"@".concat(e.ngModel.username):"",e.options=[],e.showOptions=function(){!1===e.show&&(e.show=!0,angular.element(document).bind("click",(function(t){o[0]===t.target||o[0].contains(t.target)?t.preventDefault():e.hideOptions()})))},e.hideOptions=function(){e.show=!1,e.$apply()},setTimeout((function(){var e=o[0].querySelector(".ea-editor-property-caption a");e&&e.addEventListener("click",(function(t){t.preventDefault(),window.open(e.getAttribute("href"),"_blank").opener=null}))}));var g=function(t){e.loading=!0;var o=["id","ig_id","media_count","followers_count","follows_count","name","username","website","biography","profile_picture_url"].join(","),n={limit:1e3,fields:"connected_instagram_account{".concat(o,"}")};i({url:h(),params:{q:encodeURIComponent("https://graph.facebook.com/me/accounts?".concat(r(n))),user_id:t}}).then((function(t){var o=t.status,n=t.data;200===o&&(e.options=n.data.filter((function(e){return e.connected_instagram_account})).map((function(e){var t=e.connected_instagram_account;return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(o),!0).forEach((function(t){zt(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Et(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{value:t.id})})),e.hasAccount=e.options.length>0,e.loading=!1,e.options[0]&&!e.ngModel&&(e.ngModel=m(e.options[0],["name","value","username","profile_picture_url"]),e.displayValue="@".concat(e.options[0].username),e.accessToken=m(e.options[0],"accessToken")))}))};e.setValue=function(t,o){e.ngModel=m(t,["name","value","username","profile_picture_url"]),e.displayValue="@".concat(e.ngModel.username),e.accessToken=m(t,"accessToken"),o&&"click"===o.type&&n((function(){e.hideOptions()}))};var m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if("string"==typeof t)return e[t];var o={};return t.forEach((function(t){return o[t]=e[t]})),o};if(l in t.controls){var v=t.$watch((function(){return t.controls&&t.controls[l]&&"function"==typeof t.controls[l].getValue?t.controls[l].getValue():null}),(function(t){t?function(t){e.loading=!0,i({url:h(),params:{q:"https://graph.facebook.com/me/permissions",user_id:t}}).then((function(o){var n=o.status,i=o.data;if(200===n){var r=i.data.some((function(e){var t=e.permission,o=e.status;return"pages_show_list"===t&&"granted"===o}));e.hasPermission=r,r?g(t):e.loading=!1}}),(function(e){console.error(e.data.error.message)}))}(t):(e.options=[],e.ngModel=null,e.displayValue=null,e.accessToken=null)}));e.$on("$destroy",(function(){v()}))}}]}}];Tt.$inject=["$utils"];var Dt=o(134),Lt=o.n(Dt),It=o(135),Pt=o.n(It);function Ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var o=[],n=!0,i=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(o.push(a.value),!t||o.length!==t);n=!0);}catch(e){i=!0,r=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?qt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var Nt=o(136),Rt=o.n(Nt),Bt=["$rootScope","$http","$q","$window","$timeout","$interval","$sce",function(e,t,o,n,i,r,a){var s=function(e){return o((function(t){o((function(e){if(window.grecaptcha)e();else{var t=document.createElement("script");t.src="https://www.google.com/recaptcha/api.js",t.addEventListener("load",(function(){return e()})),document.body.appendChild(t)}})).then(function(t){return function(){var o=window.grecaptcha,n={callback:t,sitekey:"6LfWGHgUAAAAAOOcU6ZNWpKDBT-0iHATV3DOSYTS",size:"invisible"};o.ready((function(){o.render(e,n),o.execute()}))}}(t))}))};return{template:Rt.a,replace:!0,controller:["$scope","$element",function(n,a){var l=a[0];n.elfsightReviewsToken=null,n.ngModel=n.ngModel||n.control.defaultValue,n.initialValue=n.ngModel,n.displaySearchResults=!1,n.searchResults=null,n.appliedDisplayValue=null,n.source=null,n.prevSearchQuery=null,n.searchQuery=null,n.searchInputBlurDebounce=null,n.sourceAutoUpdateInterval=null,n.errorMessage=null,n.handleError=function(t){switch(t.status){case 400:n.errorMessage="Please, enter a valid Tripadvisor URL";break;case 429:e.elfsightReviewsToken?n.errorMessage="No more places can be added at the moment. Please, try again one hour later.":n.errorMessage="Places limit for unregistered users has expired. Please, register to display more places";break;default:n.errorMessage="Error occurred. Please, email us at support@elfsight.com"}},n.obtainToken=function(){return o((function(o){if(!n.elfsightReviewsToken)if(e.elfsightReviewsToken)n.elfsightReviewsToken=e.elfsightReviewsToken;else if(window.localStorage){var i=localStorage.getItem("elfsight-reviews-token");i&&(n.elfsightReviewsToken=i)}n.elfsightReviewsToken?o(n.elfsightReviewsToken):s(l.querySelector(".ea-editor-property-recaptcha")).then((function(e){(function(e){return t({method:"post",url:"https://reviews.elfsight.com/public/authenticate",params:{recaptcha_token:e,recaptcha_type:"invisible"},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){return e.data.token}))})(e).then((function(e){window.localStorage&&localStorage.setItem("elfsight-reviews-token",e),n.elfsightReviewsToken=e,o()}))}))}))},n.clear=function(){n.initialValue=null,n.appliedDisplayValue=null,n.source=null,n.cancelSourceAutoUpdate()},n.search=function(){n.searchQuery&&n.searchQuery!==n.prevSearchQuery&&n.obtainToken().then((function(){t({url:"https://reviews.elfsight.com/public/utils/find-place",params:{token:n.elfsightReviewsToken,query:n.searchQuery}}).then((function(e){var t=e.data.data;n.searchResults=t.map((function(e){return{id:e.id,vicinity:e.address,name:e.name}})),n.prevSearchQuery=n.searchQuery,l.querySelector(".ea-editor-property-ergs-search-input").focus()})).catch(n.handleError)}))},n.setSource=function(e){var t=e.collecting_percentage,o=e.reviews_count,i=e.collecting_status;n.source={reviewsCount:o,collectingStatus:i,collectingPercentage:parseInt(t,10)}},n.selectPlace=function(e){var o=e.id,i=e.name,r=e.vicinity;n.appliedDisplayValue={name:i,vicinity:r};var a=function(e){return"data:text/plain;".concat(e)}(o);t({method:"post",url:"https://reviews.elfsight.com/public/google/source",params:{url:a,token:n.elfsightReviewsToken},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){var t=e.data;n.ngModel=a,n.setSource(t),n.startSourceAutoUpdate()})).catch(n.handleError)},n.startSourceAutoUpdate=function(){var e=n.ngModel;n.sourceAutoUpdateInterval=r((function(){t({url:"https://reviews.elfsight.com/public/google/source",params:{url:e},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){var t=e.data.data;n.setSource(t),"pending"!==n.source.collectingStatus&&n.cancelSourceAutoUpdate()}))}),2e3)},n.cancelSearchInputBlurDebounce=function(){if(!n.searchInputBlurDebounce)return null;i.cancel(n.searchInputBlurDebounce),n.searchInputBlurDebounce=null},n.cancelSourceAutoUpdate=function(){n.sourceAutoUpdateInterval&&(r.cancel(n.sourceAutoUpdateInterval),n.sourceAutoUpdateInterval=null)},n.searchInputFocus=function(){n.cancelSearchInputBlurDebounce(),n.displaySearchResults=!0},n.searchInputBlur=function(){n.cancelSearchInputBlurDebounce(),n.searchInputBlurDebounce=i((function(){return n.displaySearchResults=!1}),150)},n.searchInputKeyPesss=function(e){"Enter"===e.key&&n.search()},n.initialValue&&t({url:"https://reviews.elfsight.com/public/google/source",params:{url:n.initialValue},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){var t=e.data.data,o=t.resource_specific_fields.place,i=o.name,r=o.vicinity;n.appliedDisplayValue={name:i,vicinity:r},n.setSource(t),"pending"===n.source.collectingStatus&&n.startSourceAutoUpdate()}))}]}}];Bt.$inject=["$rootScope","$http","$q","$window","$timeout","$interval","$sce"];var Vt=o(137),Ht=o.n(Vt);function Ft(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var o=[],n=!0,i=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(o.push(a.value),!t||o.length!==t);n=!0);}catch(e){i=!0,r=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Wt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Wt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var $t=["$rootScope","$http","$q","$window","$timeout","$interval","$sce",function(e,t,o,n,i,r,a){return{template:Ht.a,replace:!0,controller:["$scope","$element",function(o,n){var a=n[0];o.elfsightReviewsToken=null,o.ngModel=o.ngModel||o.control.defaultValue,o.initialValue=o.ngModel,o.displaySearchResults=!1,o.searchResults=null,o.appliedDisplayValue=null,o.source=null,o.prevSearchQuery=null,o.searchQuery=null,o.searchInputBlurDebounce=null,o.sourceAutoUpdateInterval=null,o.errorMessage=null,o.handleError=function(t){switch(console.log(t),t.status){case 400:o.errorMessage="Please, enter a valid Tripadvisor URL";break;case 429:e.elfsightReviewsToken?o.errorMessage="No more places can be added at the moment. Please, try again one hour later.":o.errorMessage="Places limit for unregistered users has expired. Please, register to display more places";break;default:o.errorMessage="Error occurred. Please, email us at support@elfsight.com"}},o.clear=function(){o.initialValue=null,o.appliedDisplayValue=null,o.source=null,o.cancelSourceAutoUpdate()},o.search=function(){o.searchQuery&&o.searchQuery!==o.prevSearchQuery&&t({url:"https://service-reviews-ultimate.elfsight.com/data/google-places",params:{query:o.searchQuery}}).then((function(e){var t=e.data.result.data;o.searchResults=t.map((function(e){return{id:e.id,address:e.address,name:e.name}})),o.prevSearchQuery=o.searchQuery,a.querySelector(".ea-editor-property-ergs-search-input").focus()})).catch(o.handleError)},o.setSource=function(e){var t=Ft(e.profile_state,2),n=t[0],i=t[1],r=e.reviews_number;o.source={reviewsCount:r,collectingStatus:n,collectingPercentage:parseInt(i,10)}},o.selectPlace=function(e){var n=e.id,i=e.name,r=e.address;o.appliedDisplayValue={name:i,address:r},t({method:"post",url:"https://service-reviews-ultimate.elfsight.com/data/sources",params:{uri:n},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){var t=e.data.result.data;o.ngModel=n,o.setSource(t),o.startSourceAutoUpdate()})).catch(o.handleError)},o.startSourceAutoUpdate=function(){var e=o.ngModel;o.sourceAutoUpdateInterval=r((function(){t({url:"https://service-reviews-ultimate.elfsight.com/data/sources?uris[]=".concat(e),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){var t=Ft(e.data.result.data,1)[0];o.setSource(t),"pending"!==o.source.collectingStatus&&o.cancelSourceAutoUpdate()}))}),2e3)},o.cancelSearchInputBlurDebounce=function(){if(!o.searchInputBlurDebounce)return null;i.cancel(o.searchInputBlurDebounce),o.searchInputBlurDebounce=null},o.cancelSourceAutoUpdate=function(){o.sourceAutoUpdateInterval&&(r.cancel(o.sourceAutoUpdateInterval),o.sourceAutoUpdateInterval=null)},o.searchInputFocus=function(){o.cancelSearchInputBlurDebounce(),o.displaySearchResults=!0},o.searchInputBlur=function(){o.cancelSearchInputBlurDebounce(),o.searchInputBlurDebounce=i((function(){return o.displaySearchResults=!1}),150)},o.searchInputKeyPesss=function(e){"Enter"===e.key&&o.search()},o.initialValue&&t({url:"https://service-reviews-ultimate.elfsight.com/data/google-places?query=".concat(o.initialValue),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){var t=Ft(e.data.result.data,1)[0],n=t.name,i=t.address;o.appliedDisplayValue={name:n,address:i},o.startSourceAutoUpdate()}))}]}}];$t.$inject=["$rootScope","$http","$q","$window","$timeout","$interval","$sce"];var Ut=o(138),Yt=o.n(Ut),Kt=o(139),Gt=o.n(Kt),Jt=o(140),Xt=o.n(Jt),Zt=o(141),Qt=o.n(Zt),eo=o(142),to=o.n(eo),oo=["$sce","$timeout",function(e,t){return{template:Gt.a,scope:{ngModel:"="},replace:!0,controller:["$scope","$element","$rootScope",function(o,n,i){o.values=[{value:"100%",code:e.trustAsHtml(Xt.a.content)},{value:"768px",code:e.trustAsHtml(Qt.a.content)},{value:"375px",code:e.trustAsHtml(to.a.content)}],o.select=function(e){o.ngModel=e,t((function(){n.removeClass("toolbar-item-active")})),document.querySelector(".ea-editor-preview-container").style.maxWidth=e.value};var r=o.values[0];i.previewDefaultResolution&&o.values.forEach((function(e){e.value===i.previewDefaultResolution&&(r=e)})),o.select(r)}]}}];oo.$inject=["$sce","$timeout"];var no=o(143),io=o.n(no),ro=["$sce","$timeout",function(e,t){return{template:io.a,scope:{ngModel:"="},replace:!0,controller:["$scope","$element","$rootScope",function(e,o,n){var i=angular.element(document.querySelector(".ea-editor-preview-overlay"));e.select=function(o){t((function(){e.setBackground(o)}))},e.values=["white","black","white-chess","black-chess"],e.select(n.previewDefaultBgColor||"white-chess"),e.ngModel=e.values[3],e.setBackground=function(t){o.removeClass("toolbar-item-active"),i.removeClass("ea-editor-preview-overlay-"+e.ngModel).addClass("ea-editor-preview-overlay-"+t),e.ngModel=t}}]}}];function ao(e){return(ao="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})(e)}function so(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}ro.$inject=["$sce","$timeout"];var lo=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var o=this;this.$rootScope=t.get("$rootScope"),this.$compile=t.get("$compile"),this.$sce=t.get("$sce"),this.$timeout=t.get("$timeout"),this.$q=t.get("$q"),this.$l10n=t.get("$l10n"),this.$utils=t.get("$utils"),this.$gettextCatalog=t.get("gettextCatalog"),this.$scope={},window.addEventListener("message",(function e(t){o.handlePostMessage(t),o.handlePostMessageFunc=e}))}return function(e,t,o){t&&so(e.prototype,t)}(e,[{key:"init",value:function(e){var t=this,o=e.appAlias||null,n=e.parent||{},i=e.settings||{},r=e.preferences||{},a=e.language||null,s=e.localization||null,l="function"==typeof e.onChange?e.onChange:null,c=e.enableCustomCSS&&r.enableCustomCSS||!1,d=this.$rootScope.$new();this.showFreeLink=e.showFreeLink||!1,this.freeLinkAnchor=e.freeLinkAnchor||null,this.freeLinkUrl=e.freeLinkUrl||null,this.preferences=r||{},this.$l10n.setLocalization(s).init(a,o).onReady((function(){d.$apply((function(){d.tabs=t.getTabs(i)}))})),this.$gettextCatalog.setCurrentLanguage(a),this.addCustomCSSProperty(i,c),this.jivochatState(n,this.preferences.hideJivochat),d.properties=e.settings.properties,d.templates=e.templates||{},d.widget=e.widget||{},d.tabs=this.getTabs(i),d.onTemplateSelect="function"==typeof e.onTemplateSelect?e.onTemplateSelect:null,d.previewUrl=this.$sce.trustAsResourceUrl(e.previewUrl),d.showLoader=!0,d.expanded=!1,d.setPropertyVisibility=this.setPropertyVisibility.bind(this),d.getProperty=this.getProperty.bind(this),d.updateProperty=this.updateProperty.bind(this),this.$rootScope.widgetPublicId=d.widget.public_id||null,this.$rootScope.appPreferences=e.appPreferences||{},this.$rootScope.enableCloudProperties=!1!==e.enableCloudProperties,this.$rootScope.elfsightFilesToken=e.elfsightFilesToken||null,this.$rootScope.elfsightReviewsToken=e.elfsightReviewsToken||null,this.$rootScope.elfsightUserId=e.elfsightUserId||null,this.$rootScope.previewDefaultBgColor=r.previewDefaultBgColor||"white-chess",this.$rootScope.previewDefaultResolution=r.previewDefaultResolution||"100%",this.$rootScope.controls={},this.$rootScope.currentComplex={},d.widget.data=d.widget.data||{},d.widget.data=Object.assign(d.widget.data,{widgetId:d.widget.public_id||void 0,widgetOrigin:d.widget.origin||void 0}),this.$utils.recursivelyGetAllProps(d.properties,d.widget.data,"subgroup"),this.loadObserver(n,e.observerUrl).then((function(){window.eapps&&window.eapps.observer&&angular.isFunction(window.eapps.observer)&&window.eapps.observer(d,d.properties,t.$rootScope)})),this.editor=this.$compile("<elfsight-apps-editor></elfsight-apps-editor>")(d),n.append(this.editor),this.loadPreview(e.previewUrl).then((function(e){t.onLoad(d,l)})),this.watchToolbar(d),this.fit(d),this.watch(d),this.$scope=d,this.$rootScope.editor=this.$scope}},{key:"onLoad",value:function(e,t){this.watchData(e,t),this.hideLoader(e),this.initToolbar(e)}},{key:"hideLoader",value:function(e){e.showLoader=!1,this.$timeout((function(){e.$apply()}))}},{key:"handlePostMessage",value:function(e){var t=e.data,o=!1;switch("object"===ao(t)&&t.action&&(~t.action.search("EappsPreview.toolbar")&&(o="EappsPreview.toolbar"),~t.action.search("EappsPreview.appPreferences.updated")&&(o="EappsPreview.appPreferences.updated")),"string"==typeof t&&"EappsPreview.ready"===t&&(o="EappsPreview.ready"),o){case"EappsPreview.toolbar":this.handleToolbar(t);break;case"EappsPreview.appPreferences.updated":this.handleAppPreferences(t);break;case"EappsPreview.ready":this.onLoad(this.$scope)}}},{key:"handleToolbar",value:function(e){var t=e.action.split("."),o=t[2];"set"===t[3]&&this.$scope&&this.$scope.toolbar&&(this.$scope.toolbar[o]=e.data)}},{key:"handleAppPreferences",value:function(e){this.$rootScope&&(this.$rootScope.appPreferences=e.data)}},{key:"fit",value:function(e){var t=this.editor[0].clientWidth;t>1024?e.adaptiveClass="large":t<1024&&t>480?e.adaptiveClass="medium":t<480&&(e.adaptiveClass="small")}},{key:"sendDataToPreview",value:function(e){var t=window.frames.preview,o={data:e,appPreferences:this.$rootScope.appPreferences};e.deactivate=!1,e.showElfsightLogo=this.showFreeLink,e.freeLinkUrl=this.freeLinkUrl,e.freeLinkAnchor=this.freeLinkAnchor,this.currentData=e,o.action="data:updated",t.postMessage(o,"*"),o.action="settings.updated",t.postMessage(o,"*")}},{key:"watch",value:function(e){var t=this;e.$watch((function(){return t.editor[0].offsetWidth}),(function(){t.fit(e)})),window.addEventListener("resize",(function(){e.$apply()}))}},{key:"watchData",value:function(e,t){var o,n=this,i=angular.isNumber(this.preferences.previewUpdateTimeout)?this.preferences.previewUpdateTimeout:600;e.$watch("widget.data",(function(r,a){var s=JSON.parse(angular.toJson(e.widget.data));t&&t(s),n.$timeout.cancel(o),o=n.$timeout((function(){return n.sendDataToPreview(s)}),i)}),!0)}},{key:"watchToolbar",value:function(e){e.$watch("toolbar",(function(e,t){var o=window.frames.preview||null;angular.forEach(e,(function(e,n){t&&angular.equals(e,t[n])||o&&o.postMessage({action:"toolbar."+n+".changed",data:JSON.parse(angular.toJson(e))},"*")}))}),!0)}},{key:"loadObserver",value:function(e,t){var o=document.createElement("script"),n=this.$q.defer();return t||n.reject(),o.src=t,o.defer="defer",o.onload=function(){n.resolve()},e[0].appendChild(o),n.promise}},{key:"loadPreview",value:function(e){var t=this.editor[0].getElementsByClassName("ea-editor-preview-container"),o=document.createElement("iframe"),n=this.$q.defer();return e||n.reject(),o.id="ea-editor-preview",o.className="ea-editor-preview",o.name="preview",o.setAttribute("allow","autoplay; fullscreen"),o.setAttribute("data-hj-allow-iframe",1),o.src=e,o.addEventListener("load",(function(){n.resolve(o)})),t[0].appendChild(o),n.promise}},{key:"getData",value:function(){return void 0!==this.currentData?this.currentData:null}},{key:"destroy",value:function(){window.removeEventListener("message",this.handlePostMessageFunc)}},{key:"addCustomCSSProperty",value:function(e,t){if(!t)return!1;e.properties.push({id:"customCSSSubgroup",name:this.$gettextCatalog.getString("Custom CSS"),tab:e.tabs[e.tabs.length-1].id,type:"subgroup",subgroup:{properties:[{id:"customCSS",name:this.$gettextCatalog.getString("Custom CSS"),type:"textarea",textarea:{CSSMode:!0},defaultValue:"",description:this.$gettextCatalog.getString("If you need to customize your widget, add your custom styles here. The styles will only be applied to this widget.")}]},description:this.$gettextCatalog.getString("If you need to customize your widget, add your custom styles here. The styles will only be applied to this widget.")})}},{key:"getTabs",value:function(e){var t=this,o={};return angular.forEach(e.tabs,(function(e){e.name=t.$l10n.translate(e.name),o[e.id]=e,o[e.id].properties=[]})),angular.forEach(e.properties,(function(e){e.tab in o&&o[e.tab].properties.push(e)})),o}},{key:"initToolbar",value:function(e){var t=this.editor[0].querySelector(".ea-editor-toolbar-container"),o=this.$compile("<elfsight-apps-editor-toolbar></elfsight-apps-editor-toolbar>")(e);setTimeout((function(){o[0]&&t.appendChild(o[0])}))}},{key:"updateProperty",value:function(e,t){var o;(o=this.getProperty(e))&&Object.assign(o,t)}},{key:"setPropertyVisibility",value:function(e,t){this.updateProperty(e,{visible:t})}},{key:"getProperty",value:function(e,t){var o=this,n=null;return!!(t=t||this.$scope.properties).some((function(t){return t.id===e?!!(n=t):t&&t.properties?!!(n=o.getProperty(e,t.properties)):t.complex&&t.complex.properties?!!(n=o.getProperty(e,t.complex.properties)):t.subgroup&&t.subgroup.properties?!!(n=o.getProperty(e,t.subgroup.properties)):void 0}))&&n}},{key:"jivochatState",value:function(e,t){if(t&&!document.getElementById("jivochat-styles")){var o=document.createElement("style");o.innerText="#jvlabelWrap {display: none !important;}",o.id="jivochat-styles",e.append(o)}}}]),e}())(e)}];function co(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}lo.$inject=["$injector"];var po=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$timeout=t.get("$timeout"),this.$compile=t.get("$compile")}return function(e,t,o){t&&co(e.prototype,t)}(e,[{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},n=arguments.length>3?arguments[3]:void 0;n=n||0;var i=document.getElementsByClassName("ea-editor-form")[0];e.closeCb=function(){return o(e)},e.controlGroupProperty=t,e.$element=this.$compile("<elfsight-apps-sub></elfsight-apps-sub>")(e),angular.element(i).append(e.$element),this.$timeout((function(){e.visible=!0}),n)}},{key:"hide",value:function(e){!0===e.visible&&(e.visible=!1,this.$timeout((function(){e.$destroy(),e.closeCb(),e.$element.remove()}),300))}}]),e}())(e)}];function uo(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}po.$inject=["$injector"];var fo=["$injector","$rootScope",function(e,t){return new(function(){function e(o){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$timeout=o.get("$timeout"),this.$compile=o.get("$compile"),t.popupVisible=!1,t.hidePopup=function(e){e&&!angular.element(e.target).hasClass("hide-popup")||n.hide()}}return function(e,t,o){t&&uo(e.prototype,t)}(e,[{key:"show",value:function(e,o){e.popupContainer=angular.element(document.getElementsByClassName("ea-editor-popup-container")[0]),e.element=o,e.popupContainer.empty().append(this.$compile("<elfsight-apps-popup></elfsight-apps-popup>")(e)),this.$timeout((function(){t.popupVisible=!0}))}},{key:"hide",value:function(){!0===t.popupVisible&&(t.popupVisible=!1)}}]),e}())(e)}];function ho(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}fo.$inject=["$injector","$rootScope"];var go=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$timeout=t.get("$timeout"),this.$compile=t.get("$compile")}return function(e,t,o){t&&ho(e.prototype,t)}(e,[{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},o=arguments.length>2?arguments[2]:void 0;o=o||300;var n=document.getElementsByClassName("ea-editor-form")[0];e.closeCb=t,e.$element=this.$compile("<elfsight-apps-visual></elfsight-apps-visual>")(e),angular.element(n).append(e.$element),this.$timeout((function(){e.visible=!0}),o),this.watch(e)}},{key:"hide",value:function(e){!0===e.visible&&(e.visible=!1,e.closeCb(e),this.$timeout((function(){e.$element.remove()}),300))}},{key:"watch",value:function(e){var t=this;e.$watch("ngModel",(function(){e.control.closeOnClick&&t.hide(e)}))}}]),e}())(e)}];function mo(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}go.$inject=["$injector"];var vo=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$timeout=t.get("$timeout"),this.$compile=t.get("$compile")}return function(e,t,o){t&&mo(e.prototype,t)}(e,[{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},o=arguments.length>2?arguments[2]:void 0;o=o||300;var n=document.getElementsByClassName("ea-editor-form")[0];e.closeCb=t,angular.element(n).append(this.$compile("<elfsight-apps-icons></elfsight-apps-icons>")(e)),this.$timeout((function(){e.visible=!0}),o),this.watch(e)}},{key:"hide",value:function(e,t){!0===e.visible&&(e.visible=!1,e.closeCb(e),this.$timeout((function(){t&&t.remove()}),300))}},{key:"watch",value:function(e){var t=this;e.$watch("ngModel",(function(){e.control.closeOnClick&&t.hide(e)}))}}]),e}())(e)}];function bo(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}vo.$inject=["$injector"];var yo=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$timeout=t.get("$timeout"),this.$compile=t.get("$compile")}return function(e,t,o){t&&bo(e.prototype,t)}(e,[{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},o=document.getElementsByClassName("ea-editor-form")[0];e.closeCb=t,angular.element(o).append(this.$compile("<elfsight-apps-user></elfsight-apps-user>")(e)),this.$timeout((function(){e.visible=!0})),this.watch(e)}},{key:"hide",value:function(e,t){!0===e.visible&&(e.visible=!1,e.closeCb(e),this.$timeout((function(){t&&t.remove()}),300))}},{key:"watch",value:function(e){var t=this;e.$watch("ngModel",(function(){e.control.closeOnClick&&t.hide(e)}))}}]),e}())(e)}];function xo(e){return(xo="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})(e)}function _o(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wo(e){return(wo="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})(e)}function ko(e){return function(e){if(Array.isArray(e))return jo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return jo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?jo(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Co(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}yo.$inject=["$injector"],o(219),o(220);var So=["$injector","$timeout",function(e,t){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$l10n=t.get("$l10n"),this.$rootScope=t.get("$rootScope")}return function(e,t,o){t&&Co(e.prototype,t),o&&Co(e,o)}(e,[{key:"recursivelyGetAllProps",value:function(t,o,n){var i=this;angular.forEach(t,(function(t){if(t&&t.global){i.$rootScope.controls=i.$rootScope.controls||{};var r={id:t.id,getValue:function(){return o[t.id]||t.defaultValue},control:t.complex};i.$rootScope.controls[t.id]?Object.assign(i.$rootScope.controls[t.id],r):i.$rootScope.controls[t.id]=r}if(t&&t.globalInComplex){i.$rootScope.controls=i.$rootScope.controls||{},t.id="".concat(o.id,"-").concat(t.cleanId),t.visible=!0;var a={id:"".concat(t.id),getValue:function(){return i.$rootScope.controls["".concat(t.id)].value},setValue:function(e,n){e&&!i.$rootScope.controls["".concat(t.id)].value.includes(e)&&i.$rootScope.controls["".concat(t.id)].value.push(e),!e||o["".concat(t.id)]&&o["".concat(t.id)].includes(e)||(o["".concat(t.id)]||(o["".concat(t.id)]=[]),o["".concat(t.id)].push(e))},control:t.complex,value:o[t.id]||(i.$rootScope.controls["".concat(t.id)]?ko(i.$rootScope.controls["".concat(t.id)].value):[])};i.$rootScope.controls["".concat(t.id)]?Object.assign(i.$rootScope.controls["".concat(t.id)],a):i.$rootScope.controls[t.id]=a}"select"===t.type&&t.select&&t.select.optionsSource&&t.parentId&&(t.select.optionsSource="".concat(t.parentId,"-").concat(t.select.optionsSourcePostfix)),"complex"===t.type&&o.id&&(t.parentId=o.id,t.complex.properties=t.complex.properties.map((function(e){return Object.assign({},e,{parentId:o.id})}))),t&&!t[n]?o.hasOwnProperty(t.id)||(o[t.id]=e.newVariable(t.defaultValue)):(angular.forEach(t[n].properties,(function(t){o.hasOwnProperty(t.id)||(o[t.id]=e.newVariable(t.defaultValue))})),i.recursivelyGetAllProps(t[n].properties,o,n))}))}},{key:"uuid",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}}],[{key:"newVariable",value:function(e){return"object"===wo(e)?Array.isArray(e)?ko(e):e?Object.assign({},e):e:e}}]),e}())(e)}];So.$inject=["$injector","$timeout"];var Ao=["$rootScope","$timeout",function(e,t){return{show:function(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e3;e.editorError=o,e.editorErrorVisible=!0,t((function(){e.editorErrorVisible=!1}),n)}}}];Ao.$inject=["$rootScope","$timeout"],o(144),angular.module("elfsightAppsEditor",["checklist-model","color.picker","angular-sortable-view","gettext","rzSlider","angular-flatpickr"]).directive("elfsightAppsEditor",(function(){return{template:i.a,replace:!0,link:function(e){},controller:["$rootScope","$scope","$timeout",function(e,t,o){t.openTab=function(e){angular.forEach(t.tabs,(function(e){e.active=!1})),t.tabs[e].active=!0,o((function(){t.$broadcast("rzSliderForceRender")}))},t.isPropertyVisible=function(t){return!(!e.enableCloudProperties&&t.onlyForCloud)&&!1!==t.visible}}]}})).directive("control",U).directive("elfsightAppsControlText",G).directive("elfsightAppsControlTextarea",oe).directive("elfsightAppsControlNumber",(function(){return{template:ie.a,replace:!0,controller:["$scope",function(e){"string"==typeof e.ngModel&&""!==e.ngModel&&(e.ngModel=parseInt(e.ngModel)),e.control.number||(e.control.number={}),e.control.number.min||(e.control.number.min=0)}]}})).directive("elfsightAppsControlStaticHtml",(function(){return{template:ae.a,replace:!0,controller:["$scope",function(e){}]}})).directive("elfsightAppsControlSelect",de).directive("elfsightAppsControlSelectInline",fe).directive("elfsightAppsControlSelectVisual",me).directive("elfsightAppsControlSelectIcons",ye).directive("elfsightAppsControlSelectUser",ke).directive("elfsightAppsControlTags",Se).directive("elfsightAppsControlToggle",Ee).directive("elfsightAppsControlChecklist",De).directive("elfsightAppsControlColor",Pe).directive("elfsightAppsControlSlider",Ne).directive("elfsightAppsControlRadio",Qe).directive("elfsightAppsControlComplex",We).directive("elfsightAppsControlFormComplex",Ye).directive("elfsightAppsControlSubgroup",Je).directive("elfsightAppsControlDivider",ot).directive("elfsightAppsControlFile",l).directive("elfsightAppsControlDatepicker",rt).directive("elfsightAppsControlToken",lt).directive("elfsightAppsControlLocalization",(function(){return{template:dt.a,replace:!0,controller:["$scope","$http",function(e,t){var o=function(){var e=gt(regeneratorRuntime.mark((function e(o){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(mt,"/dictionary?domain=").concat(o,"&all=true"),e.next=3,t({url:n}).then((function(e){return e.status,e.data||[]}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n=function(){var e=gt(regeneratorRuntime.mark((function e(){var o,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(mt,"/languages"),e.next=3,t({url:o}).then((function(e){return e.status,e.data||[]}));case 3:return n=e.sent,e.abrupt("return",n.map((function(e){var t=e.code,o=e.name,n=e.name_native;return{value:t,name:"".concat(o).concat(n?" (".concat(n,")"):"")}})));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i=function(){var t=e.ngModel.language;return e.languages.find((function(e){return e.value===t}))},r=function(){var t=e.ngModel,o=t.language,n=t.messages,i=ut({},(e.dictionary||{})[o]||{},{},n[o]);return Object.keys(i).map((function(e){return{phrase:e,translation:i[e]}}))||[]};e.toggleLanguagesSelect=function(t){e.showLanguagesSelect=void 0!==t?t:!e.showLanguagesSelect},e.setLanguage=function(t){var o=t.value;e.ngModel.language=o,e.language=i(),e.messages=r(),e.toggleLanguagesSelect(!1)},e.setMessage=function(t){var o=t.phrase,n=t.translation,i=e.ngModel,r=i.language,a=i.messages,s=a[r];e.ngModel.messages=ut({},a,ft({},r,ut({},s,ft({},o,n))))},e.showLanguagesSelect=!1,e.languages=[{value:e.ngModel.language}],e.language=i(),e.messages=r(),e.dictionary={},e.ngModel={language:e.ngModel.language||"en",messages:e.ngModel.messages||{}},e.languagesLoading=!0,e.messagesLoading=!0,n().then((function(t){e.$apply((function(){e.languages=t,e.language=i(),e.languagesLoading=!1}))})),o(e.control.localization.domain).then((function(t){e.$apply((function(){e.dictionary=t,e.messages=r(),e.messagesLoading=!1}))}))}]}})).directive("elfsightAppsControlCustomGoogleMapsCoordinates",yt).directive("elfsightAppsControlCustomGoogleSheetConnect",wt).directive("elfsightAppsControlCustomFacebookPageSelect",St).directive("elfsightAppsControlCustomFacebookPageToken",(function(){return{scope:"=",template:"",replace:!0,controller:["$scope","$rootScope","$http",function(e,t,o){var n=e.control.custom.pageProperty||"page",i=Boolean(e.control.custom.encrypt);if(e.ngModel=e.ngModel||e.control.defaultValue,e.updateValue=function(t){if(i){var n="https://storage.elfsight.com/encrypt/".concat(t);o({url:n}).then((function(t){var o=t.status,n=t.data;200===o&&(e.ngModel=n.encrypted_token)}))}else e.ngModel=t},n in t.controls){var r=t.$watch((function(){return t.controls&&t.controls[n]&&"function"==typeof t.controls[n].getToken?t.controls[n].getToken():null}),(function(t){return t&&e.updateValue(t)}));e.$on("$destroy",(function(){r()}))}}]}})).directive("elfsightAppsControlCustomInstagramConnectedAccountSelect",Tt).directive("elfsightAppsControlCustomElfsightReviewsSource",(function(){return{template:Lt.a,replace:!0,controller:["$scope","$rootScope","$element","$http","$timeout","$q","$window","$interval",function(e,t,o,n,i,r,a,s){e.config=e.control.custom&&(e.control.custom["elfsight-reviews-source"]||{}),e.appliedPlaceUrl=e.ngModel||"",e.placeUrl=e.appliedPlaceUrl,e.canonicalizedUrl=null;var l=function(o){switch(o.status){case 400:e.errorMessage="Please, enter a valid URL";break;case 429:t.elfsightReviewsToken?e.errorMessage="No more places can be added at the moment. Please, try again one hour later.":e.errorMessage="Places limit for unregistered users has expired. Please, register to display more places";break;default:e.errorMessage="Error occurred. Please, email us at support@elfsight.com"}};e.$watch("appliedPlaceUrl",(function(i){i&&function(){var i=r.defer();if(e.elfsightReviewsToken=t.elfsightReviewsToken||e.elfsightReviewsToken,e.elfsightReviewsToken)i.resolve();else{var s=a.localStorage.getItem("elfsight-reviews-token");if(s)e.elfsightReviewsToken=s,i.resolve();else{var l=document.createElement("script");l.src="https://www.google.com/recaptcha/api.js",l.onload=function(){window.grecaptcha.ready((function(){var t={sitekey:"6LfWGHgUAAAAAOOcU6ZNWpKDBT-0iHATV3DOSYTS",callback:function(t){n({method:"post",url:"https://reviews.elfsight.com/public/authenticate",params:{recaptcha_token:t,recaptcha_type:"invisible"},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(t){e.elfsightReviewsToken=t.data.token,a.localStorage.setItem("elfsight-reviews-token",e.elfsightReviewsToken),i.resolve()}))},size:"invisible"};window.grecaptcha.render(o[0].getElementsByClassName("ea-editor-property-recaptcha")[0],t),window.grecaptcha.execute()}))},document.body.appendChild(l)}}return i.promise}().then((function(){return n({method:"post",url:"https://reviews.elfsight.com/public/".concat(e.config.supplier,"/source"),params:{url:i,token:e.elfsightReviewsToken},headers:{"Content-Type":"application/x-www-form-urlencoded"}})}),l).then((function(t){var o=t.data,r=o.url,a=o.collecting_percentage,l=o.reviews_count,c=o.collecting_status;if(e.sourceCollectingInfo={reviewsCount:l,collectingStatus:c,collectingPercentage:parseInt(a,10)},e.ngModel=e.appliedPlaceUrl,e.canonicalizedUrl=r,"pending"===e.sourceCollectingInfo.collectingStatus)var d=s((function(){n({method:"get",url:"https://reviews.elfsight.com/public/".concat(e.config.supplier,"/source"),params:{url:i,token:e.elfsightReviewsToken},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(t){var o=t.data.data;o.url===e.canonicalizedUrl?(e.sourceCollectingInfo={collectingPercentage:parseInt(o.collecting_percentage,10),reviewsCount:o.reviews_count,collectingStatus:o.collecting_status},"pending"!==o.collecting_status&&s.cancel(d)):s.cancel(d)}))}),2e3)}),l)})),e.applyPlaceUrl=function(){e.appliedPlaceUrl=e.placeUrl}}]}})).directive("elfsightAppsControlCustomElfsightAllReviewsSource",(function(){return{template:Pt.a,replace:!0,controller:["$scope","$rootScope","$element","$http","$timeout","$q","$window","$interval",function(e,t,o,n,i,r,a,s){e.config=e.control.custom&&(e.control.custom["elfsight-all-reviews-source"]||{}),e.appliedPlaceUrl=e.ngModel||"",e.placeUrl=e.appliedPlaceUrl;var l=function(o){switch(o.status){case 400:e.errorMessage="Please, enter a valid URL";break;case 429:t.elfsightReviewsToken?e.errorMessage="No more places can be added at the moment. Please, try again one hour later.":e.errorMessage="Places limit for unregistered users has expired. Please, register to display more places";break;default:e.errorMessage="Error occurred. Please, email us at support@elfsight.com"}};e.$watch("appliedPlaceUrl",(function(t){t&&n({method:"post",url:"https://service-reviews-ultimate.elfsight.com/data/sources",params:{uri:t},headers:{"Content-Type":"application/x-www-form-urlencoded"}},l).then((function(o){var i=o.data.result.data;e.errorMessage="";var r=i.uri,a=i.reviews_number,c=Ot(i.profile_state,2),d=c[0],p=c[1];if(e.sourceCollectingInfo={reviewsCount:a,collectingStatus:d,collectingPercentage:parseInt(p,10)},e.ngModel=e.appliedPlaceUrl,e.canonicalizedUrl=r,"maintenance"===d&&l({status:503}),"pending"===e.sourceCollectingInfo.collectingStatus)var u=s((function(){n({method:"get",url:"https://service-reviews-ultimate.elfsight.com/data/sources?uris[]=".concat(t),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(t){var o=Ot(t.data.result.data,1)[0];if(o.uri===e.canonicalizedUrl){var n=o.reviews_number,i=Ot(o.profile_state,2),r=i[0],a=i[1];e.sourceCollectingInfo={collectingPercentage:a,reviewsCount:n,collectingStatus:r},"pending"!==r&&(e.errorMessage="",s.cancel(u))}else s.cancel(u)}))}),2e3)}),l)})),e.applyPlaceUrl=function(){e.appliedPlaceUrl=e.placeUrl}}]}})).directive("elfsightAppsControlCustomElfsightReviewsGoogleSource",Bt).directive("elfsightAppsControlCustomElfsightAllReviewsGoogleSource",$t).directive("elfsightAppsSub",p).directive("elfsightAppsPopup",h).directive("elfsightAppsVisual",x).directive("elfsightAppsIcons",k).directive("elfsightAppsUser",S).directive("editorHint",A).directive("onScrollToBottom",M).directive("dropzone",E).directive("ngMultiple",z).directive("elfsightAppsFileManager",P).directive("elfsightAppsFileManagerFiles",R).directive("elfsightAppsFileManagerLink",H).directive("elfsightAppsFileManagerUpload",$).directive("elfsightAppsEditorToolbar",(function(){return{template:Yt.a,replace:!0,link:function(e,t){var o=t[0].getElementsByClassName("ea-editor-toolbar-item"),n=angular.element(o);angular.forEach(o,(function(e){e.addEventListener("click",(function(t){var o=angular.element(e).hasClass("toolbar-item-active");n.removeClass("toolbar-item-active"),o||angular.element(e).addClass("toolbar-item-active")}))}))},controller:["$scope",function(e){}]}})).directive("elfsightAppsEditorToolbarResolution",oo).directive("elfsightAppsEditorToolbarBackground",ro).directive("elfsightAppsTemplates",v).factory("$elfsightAppsEditor",lo).factory("$sub",po).factory("$popup",fo).factory("$visual",go).factory("$icons",vo).factory("$user",yo).factory("$l10n",(function(){return new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.localization=null,this.fetcher=null}return function(e,t,o){t&&_o(e.prototype,t),o&&_o(e,o)}(e,[{key:"init",value:function(t,o){var n=this,i=o?"editor.".concat(o):"";if(e.validLanguage(t)&&!this.hasLocalization()){var r="".concat("https://localization.elfsight.com","/dictionary?language=").concat(t).concat(i?"&domain=".concat(i):"");this.fetcher=fetch(r).then((function(e){return e.json()})).then((function(e){return n.localization=e}))}return this}},{key:"hasLocalization",value:function(){return this.localization&&!angular.equals([],this.localization)&&!angular.equals({},this.localization)}},{key:"setLocalization",value:function(e){return this.localization=e,this}},{key:"onReady",value:function(e){return!this.hasLocalization()&&this.fetcher?this.fetcher.then(e):requestAnimationFrame(e),this}},{key:"translateControl",value:function(e){var t=this;this.onReady((function(){e.$apply((function(){var o=e.control;o.name=t.translate(o.name),o.description=t.translate(o.description),["select","selectInline","checklist"].forEach((function(e){if(o[e]&&o[e].options){if(o[e].optionsSource||o.parentId)return;o[e].options=t.translateOptions(o[e].options)}}))}))}))}},{key:"translateOptions",value:function(e){var t=this;return e.map((function(e){return e.name=t.translate(e.name),e}))}},{key:"translate",value:function(e){var t=this;if(!this.localization)return e;if("string"==typeof e)return this.localization[e]?this.localization[e]:e;if("object"===xo(e)){if(Array.isArray(e))return e.map((function(e){return t.translate(e)}));for(var o in e)e.hasOwnProperty(o)&&(e[o]=this.translate(e[o]));return e}return e}}],[{key:"validLanguage",value:function(e){return e&&!/^en/.test(e)}}]),e}())})).factory("$utils",So).factory("Error",Ao).config(["$provide",function(e){e.decorator("ColorPickerOptions",["$delegate",function(e){var t=angular.copy(e);return t.saturation=!1,t.lightness=!1,t.format="rgb",t}])}]).run(["$rootScope",function(e){}]),o(223)}]);})(window)