123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-libs~253ae210"],{"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"0366":function(e,t,n){var r=n("4625"),i=n("59ed"),o=n("40d5"),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},"03d6":function(e,t,n){var r=n("9c0e"),i=n("6ca1"),o=n("39ad")(!1),a=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},"0402":function(e,t,n){var r=n("23e7"),i=n("da84"),o=n("2cf4").set,a=n("20cc"),s=i.setImmediate?a(o,!1):o;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==s},{setImmediate:s})},"04f8":function(e,t,n){var r=n("2d00"),i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"051b":function(e,t,n){var r=n("1a14"),i=n("10db");e.exports=n("0bad")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"05f5":function(e,t,n){var r=n("7a41"),i=n("ef08").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"06cf":function(e,t,n){var r=n("83ab"),i=n("c65b"),o=n("d1e7"),a=n("5c6c"),s=n("fc6a"),l=n("a04b"),u=n("1a2d"),c=n("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),c)try{return d(e,t)}catch(n){}if(u(e,t))return a(!i(o.f,e,t),e[t])}},"072d":function(e,t,n){"use strict";var r=n("0bad"),i=n("9876"),o=n("fed5"),a=n("1917"),s=n("0983"),l=n("9fbb"),u=Object.assign;e.exports=!u||n("4b8b")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){var n=s(e),u=arguments.length,c=1,d=o.f,f=a.f;while(u>c){var h,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;while(g>v)h=m[v++],r&&!f.call(p,h)||(n[h]=p[h])}return n}:u},"07fa":function(e,t,n){var r=n("50c4");e.exports=function(e){return r(e.length)}},"083a":function(e,t,n){"use strict";var r=n("0d51"),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+r(t)+" of "+r(e))}},"0983":function(e,t,n){var r=n("c901");e.exports=function(e){return Object(r(e))}},"0ae2":function(e,t,n){var r=n("9876"),i=n("fed5"),o=n("1917");e.exports=function(e){var t=r(e),n=i.f;if(n){var a,s=n(e),l=o.f,u=0;while(s.length>u)l.call(e,a=s[u++])&&t.push(a)}return t}},"0b99":function(e,t,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(e,t,n){var r=n("e330"),i=Error,o=r("".replace),a=function(e){return String(i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=o(e,s,"");return e}},"0d51":function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=l(r),o=n("f893"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"130f":function(e,t,n){n("e20c"),n("0402")},"13d2":function(e,t,n){var r=n("e330"),i=n("d039"),o=n("1626"),a=n("1a2d"),s=n("83ab"),l=n("5e77").CONFIGURABLE,u=n("8925"),c=n("69f3"),d=c.enforce,f=c.get,h=String,p=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),y=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===m(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=d(e);return a(r,"source")||(r.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return o(this)&&f(this).source||u(this)}),"toString")},"14d9":function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),a=n("3a34"),s=n("3511"),l=n("d039"),u=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=u||!c();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=i(this),n=o(t),r=arguments.length;s(n+r);for(var l=0;l<r;l++)t[n]=arguments[l],n++;return a(t,n),n}})},1609:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},1626:function(e,t,n){var r=n("8ea1"),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},"182d":function(e,t,n){var r=n("f8cd"),i=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw i("Wrong offset");return n}},1836:function(e,t,n){var r=n("6ca1"),i=n("6438").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},1917:function(e,t){t.f={}.propertyIsEnumerable},"19fa":function(e,t,n){var r=n("fc5e"),i=n("c901");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(e,t,n){var r=n("77e9"),i=n("faf5"),o=n("3397"),a=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2d":function(e,t,n){var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},"1b3b":function(e,t,n){n("6ce5")},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d02":function(e,t,n){"use strict";var r=n("ebb5"),i=n("a258").findLastIndex,o=r.aTypedArray,a=r.exportTypedArrayMethod;a("findLastIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"1d80":function(e,t,n){var r=n("7234"),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},"20cc":function(e,t,n){"use strict";var r=n("da84"),i=n("2ba4"),o=n("1626"),a=n("c6a7"),s=n("342f"),l=n("f36a"),u=n("d6d6"),c=r.Function,d=/MSIE .\./.test(s)||a&&function(){var e=r.Bun.version.split(".");return e.length<3||0==e[0]&&(e[1]<3||3==e[1]&&0==e[2])}();e.exports=function(e,t){var n=t?2:1;return d?function(r,a){var s=u(arguments.length,1)>n,d=o(r)?r:c(r),f=s?l(arguments,n):[],h=s?function(){i(d,this,f)}:d;return t?e(h,a):e(h)}:e}},"23cb":function(e,t,n){var r=n("5926"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("cb2d"),s=n("6374"),l=n("e893"),u=n("94ca");e.exports=function(e,t){var n,c,d,f,h,p,m=e.target,g=e.global,v=e.stat;if(c=g?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,c)for(d in t){if(h=t[d],e.dontCallGetSet?(p=i(c,d),f=p&&p.value):f=c[d],n=u(g?d:m+(v?".":"#")+d,e.forced),!n&&void 0!==f){if(typeof h==typeof f)continue;l(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),a(c,d,h,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"26dd":function(e,t,n){"use strict";var r=n("6f4f"),i=n("10db"),o=n("92f0"),a={};n("051b")(a,n("cc15")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},2834:function(e,t,n){"use strict";var r=n("ebb5"),i=n("e330"),o=n("59ed"),a=n("dfb95"),s=r.aTypedArray,l=r.getTypedArrayConstructor,u=r.exportTypedArrayMethod,c=i(r.TypedArrayPrototype.sort);u("toSorted",(function(e){void 0!==e&&o(e);var t=s(this),n=a(l(t),t);return c(n,e)}))},2877:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},"2ba4":function(e,t,n){var r=n("40d5"),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},"2cf4":function(e,t,n){var r,i,o,a,s=n("da84"),l=n("2ba4"),u=n("0366"),c=n("1626"),d=n("1a2d"),f=n("d039"),h=n("1be4"),p=n("f36a"),m=n("cc12"),g=n("d6d6"),v=n("1cdc"),y=n("605d"),b=s.setImmediate,w=s.clearImmediate,C=s.process,x=s.Dispatch,E=s.Function,S=s.MessageChannel,T=s.String,k=0,z={},M="onreadystatechange";f((function(){r=s.location}));var N=function(e){if(d(z,e)){var t=z[e];delete z[e],t()}},A=function(e){return function(){N(e)}},O=function(e){N(e.data)},P=function(e){s.postMessage(T(e),r.protocol+"//"+r.host)};b&&w||(b=function(e){g(arguments.length,1);var t=c(e)?e:E(e),n=p(arguments,1);return z[++k]=function(){l(t,void 0,n)},i(k),k},w=function(e){delete z[e]},y?i=function(e){C.nextTick(A(e))}:x&&x.now?i=function(e){x.now(A(e))}:S&&!v?(o=new S,a=o.port2,o.port1.onmessage=O,i=u(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(P)?(i=P,s.addEventListener("message",O,!1)):i=M in m("script")?function(e){h.appendChild(m("script"))[M]=function(){h.removeChild(this),N(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:b,clear:w}},"2d00":function(e,t,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(r=c.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},"2f62":function(e,t,n){"use strict";n.r(t),function(e){
- /*!
- * vuex v3.6.2
- * (c) 2021 Evan You
- * @license MIT
- */
- function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"Store",(function(){return y})),n.d(t,"createLogger",(function(){return F})),n.d(t,"createNamespacedHelpers",(function(){return R})),n.d(t,"install",(function(){return P})),n.d(t,"mapActions",(function(){return B})),n.d(t,"mapGetters",(function(){return L})),n.d(t,"mapMutations",(function(){return D})),n.d(t,"mapState",(function(){return _}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=l(e[n],t)})),r}function u(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},h.prototype.forEachChild=function(e){u(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&u(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&u(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&u(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,p);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new h(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&u(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var v;var y=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return l.call(i,e,t,n)},this.strict=r;var u=this._modules.root.state;E(this,u,[],this._modules.root),x(this,u),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&a(this)},b={state:{configurable:!0}};function w(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function C(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;E(e,n,[],e._modules.root,!0),x(e,n,t)}function x(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};u(i,(function(t,n){o[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:o}),v.config.silent=a,e.strict&&N(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function E(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=A(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){v.set(s,l,r.state)}))}var u=r.context=S(e,a,n);r.forEachMutation((function(t,n){var r=a+n;k(e,r,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;z(e,r,i,u)})),r.forEachGetter((function(t,n){var r=a+n;M(e,r,t,u)})),r.forEachChild((function(r,o){E(e,t,n.concat(o),r,i)}))}function S(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:r?e.commit:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return T(e,t)}},state:{get:function(){return A(e.state,n)}}}),i}function T(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function k(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function z(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return d(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function M(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function N(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function A(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function P(e){v&&e===v||(v=e,r(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var r=this,i=O(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},y.prototype.dispatch=function(e,t){var n=this,r=O(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(u){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return w(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return w(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),E(this,this.state,e,this._modules.get(e),n.preserveState),x(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=A(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])})),C(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),C(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var _=V((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=$(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),D=V((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=$(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),L=V((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||$(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),B=V((function(e,t){var n={};return I(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=$(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),R=function(e){return{mapState:_.bind(null,e),mapGetters:L.bind(null,e),mapMutations:D.bind(null,e),mapActions:B.bind(null,e)}};function I(e){return H(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function H(e){return Array.isArray(e)||c(e)}function V(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function $(e,t,n){var r=e._modulesNamespaceMap[n];return r}function F(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var u=e.logActions;void 0===u&&(u=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var d=l(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,o){var a=l(o);if(n(e,d,a)){var s=q(),u=i(e),f="mutation "+e.type+s;j(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),U(c)}d=a})),u&&e.subscribeAction((function(e,n){if(o(e,n)){var r=q(),i=a(e),s="action "+e.type+r;j(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),U(c)}})))}}function j(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function U(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function q(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function W(e,t){return new Array(t+1).join(e)}function G(e,t){return W("0",t-e.toString().length)+e}var X={Store:y,install:P,version:"3.6.2",mapState:_,mapMutations:D,mapGetters:L,mapActions:B,createNamespacedHelpers:R,createLogger:F};t["default"]=X}.call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"301c":function(e,t,n){n("e198")("asyncIterator")},"323e":function(e,t,n){var r,i;
- /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
- * @license MIT */(function(o,a){r=a,i="function"===typeof r?r.call(t,n,t,e):r,void 0===i||(e.exports=i)})(0,(function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(e,t,n){return e<t?t:e>n?n:e}function r(e){return 100*(-1+e)}function i(e,n,i){var o;return o="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"},o.transition="all "+n+"ms "+i,o}e.configure=function(e){var n,r;for(n in e)r=e[n],void 0!==r&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var s=e.isStarted();r=n(r,t.minimum,1),e.status=1===r?null:r;var l=e.render(!s),u=l.querySelector(t.barSelector),c=t.speed,d=t.easing;return l.offsetWidth,o((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),a(u,i(r,c,d)),1===r?(a(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){a(l,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),c)}),c)):setTimeout(n,c)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!==typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always((function(){n--,0===n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=t.template;var o,s=i.querySelector(t.barSelector),u=n?"-100":r(e.status||0),c=document.querySelector(t.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),t.showSpinner||(o=i.querySelector(t.spinnerSelector),o&&d(o)),c!=document.body&&l(c,"nprogress-custom-parent"),c.appendChild(i),i},e.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var o=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),a=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;var r,i=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);while(i--)if(r=e[i]+o,r in n)return r;return t}function i(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=i(t),e.style[t]=n}return function(e,t){var n,r,i=arguments;if(2==i.length)for(n in t)r=t[n],void 0!==r&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,i[1],i[2])}}();function s(e,t){var n="string"==typeof e?e:c(e);return n.indexOf(" "+t+" ")>=0}function l(e,t){var n=c(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function u(e,t){var n,r=c(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e}))},3397:function(e,t,n){var r=n("7a41");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"342f":function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3511:function(e,t){var n=TypeError,r=9007199254740991;e.exports=function(e){if(e>r)throw n("Maximum allowed index exceeded");return e}},"393a":function(e,t,n){"use strict";var r=n("e444"),i=n("512c"),o=n("ba01"),a=n("051b"),s=n("8a0d"),l=n("26dd"),u=n("92f0"),c=n("ce7a"),d=n("cc15")("iterator"),f=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,b,w){l(n,t,v);var C,x,E,S=function(e){if(!f&&e in M)return M[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",k=y==m,z=!1,M=e.prototype,N=M[d]||M[h]||y&&M[y],A=N||S(y),O=y?k?S("entries"):A:void 0,P="Array"==t&&M.entries||N;if(P&&(E=c(P.call(new e)),E!==Object.prototype&&E.next&&(u(E,T,!0),r||"function"==typeof E[d]||a(E,d,g))),k&&N&&N.name!==m&&(z=!0,A=function(){return N.call(this)}),r&&!w||!f&&!z&&M[d]||a(M,d,A),s[t]=A,s[T]=g,y)if(C={values:k?A:S(m),keys:b?A:S(p),entries:O},w)for(x in C)x in M||o(M,x,C[x]);else i(i.P+i.F*(f||z),t,C);return C}},"39ad":function(e,t,n){var r=n("6ca1"),i=n("d16a"),o=n("9d11");e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},"3a34":function(e,t,n){"use strict";var r=n("83ab"),i=n("e8b5"),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"3a9b":function(e,t,n){var r=n("e330");e.exports=r({}.isPrototypeOf)},"3bbe":function(e,t,n){var r=n("1626"),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&r(e)?h(u(e),e,t):e}function d(e,t,n){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=c(t,n):r(t)?i[o]=h(e[o],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function f(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){r(t[o])&&e[o]?i[o]=h(e[o],t[o],n):i[o]=c(t[o],n)})),i}function h(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),o=n||{arrayMerge:d},a=r===i;if(a){if(r){var s=o.arrayMerge||d;return s(e,t,n)}return f(e,t,n)}return c(t,n)}h.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return h(e,n,t)}))};var p=h;e.exports=p},"3c5d":function(e,t,n){"use strict";var r=n("da84"),i=n("c65b"),o=n("ebb5"),a=n("07fa"),s=n("182d"),l=n("7b0b"),u=n("d039"),c=r.RangeError,d=r.Int8Array,f=d&&d.prototype,h=f&&f.set,p=o.aTypedArray,m=o.exportTypedArrayMethod,g=!u((function(){var e=new Uint8ClampedArray(2);return i(h,e,{length:1,0:3},1),3!==e[1]})),v=g&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=l(e);if(g)return i(h,this,n,t);var r=this.length,o=a(n),u=0;if(o+t>r)throw c("Wrong length");while(u<o)this[t+u]=n[u++]}),!g||v)},"3c65":function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),a=n("3a34"),s=n("083a"),l=n("3511"),u=1!==[].unshift(0),c=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}},d=u||!c();r({target:"Array",proto:!0,arity:1,forced:d},{unshift:function(e){var t=i(this),n=o(t),r=arguments.length;if(r){l(n+r);var u=n;while(u--){var c=u+r;u in t?t[c]=t[u]:s(t,c)}for(var d=0;d<r;d++)t[d]=arguments[d]}return a(t,n+r)}})},"3d71":function(e,t,n){n("2834")},"3f6b":function(e,t,n){e.exports={default:n("b9c7"),__esModule:!0}},"40d5":function(e,t,n){var r=n("d039");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"41b2":function(e,t,n){"use strict";t.__esModule=!0;var r=n("3f6b"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44ad":function(e,t,n){var r=n("e330"),i=n("d039"),o=n("c6b6"),a=Object,s=r("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},4625:function(e,t,n){var r=n("c6b6"),i=n("e330");e.exports=function(e){if("Function"===r(e))return i(e)}},"485a":function(e,t,n){var r=n("c65b"),i=n("1626"),o=n("861d"),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},"4b11":function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},"4b8b":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"4d20":function(e,t,n){var r=n("1917"),i=n("10db"),o=n("6ca1"),a=n("3397"),s=n("9c0e"),l=n("faf5"),u=Object.getOwnPropertyDescriptor;t.f=n("0bad")?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},"4d64":function(e,t,n){var r=n("fc6a"),i=n("23cb"),o=n("07fa"),a=function(e){return function(t,n,a){var s,l=r(t),u=o(l),c=i(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4d88":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"4e71":function(e,t,n){n("e198")("observable")},"4ea1":function(e,t,n){"use strict";var r=n("d429"),i=n("ebb5"),o=n("bcbf"),a=n("5926"),s=n("f495"),l=i.aTypedArray,u=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();c("with",{with:function(e,t){var n=l(this),i=a(e),c=o(n)?s(t):+t;return r(n,u(n),i,c)}}["with"],!d)},"4ea4":function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"4ebc":function(e,t,n){var r=n("4d88");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"50c4":function(e,t,n){var r=n("5926"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"511f":function(e,t,n){n("0b99"),n("658f"),e.exports=n("fcd4").f("iterator")},"512c":function(e,t,n){var r=n("ef08"),i=n("5524"),o=n("9c0c"),a=n("051b"),s=n("9c0e"),l="prototype",u=function(e,t,n){var c,d,f,h=e&u.F,p=e&u.G,m=e&u.S,g=e&u.P,v=e&u.B,y=e&u.W,b=p?i:i[t]||(i[t]={}),w=b[l],C=p?r:m?r[t]:(r[t]||{})[l];for(c in p&&(n=t),n)d=!h&&C&&void 0!==C[c],d&&s(b,c)||(f=d?C[c]:n[c],b[c]=p&&"function"!=typeof C[c]?n[c]:v&&d?o(f,r):y&&C[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(f):g&&"function"==typeof f?o(Function.call,f):f,g&&((b.virtual||(b.virtual={}))[c]=f,e&u.R&&w&&!w[c]&&a(w,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},5377:function(e,t,n){var r=n("da84"),i=n("83ab"),o=n("edd0"),a=n("ad6d"),s=n("d039"),l=r.RegExp,u=l.prototype,c=i&&s((function(){var e=!0;try{l(".","d")}catch(c){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",i=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(o.hasIndices="d"),o)i(a,o[a]);var s=Object.getOwnPropertyDescriptor(u,"flags").get.call(t);return s!==r||n!==r}));c&&o(u,"flags",{configurable:!0,get:a})},5524:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.28.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(e,t,n){var r=n("d066"),i=n("e330"),o=n("241c"),a=n("7418"),s=n("825a"),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?l(t,n(e)):t}},"577e":function(e,t,n){var r=n("f5df"),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},5926:function(e,t,n){var r=n("b42e");e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},"597f":function(e,t){e.exports=function(e,t,n,r){var i,o=0;function a(){var a=this,s=Number(new Date)-o,l=arguments;function u(){o=Number(new Date),n.apply(a,l)}function c(){i=void 0}r&&!i&&u(),i&&clearTimeout(i),void 0===r&&s>e?u():!0!==t&&(i=setTimeout(r?c:u,void 0===r?e-s:e))}return"boolean"!==typeof t&&(r=n,n=t,t=void 0),a}},"59ed":function(e,t,n){var r=n("1626"),i=n("0d51"),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},"5a94":function(e,t,n){var r=n("b367")("keys"),i=n("8b1a");e.exports=function(e){return r[e]||(r[e]=i(e))}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5e77":function(e,t,n){var r=n("83ab"),i=n("1a2d"),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},"605d":function(e,t,n){(function(t){var r=n("c6b6");e.exports="undefined"!=typeof t&&"process"==r(t)}).call(this,n("4362"))},6374:function(e,t,n){var r=n("da84"),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6438:function(e,t,n){var r=n("03d6"),i=n("9742").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"658f":function(e,t,n){n("6858");for(var r=n("ef08"),i=n("051b"),o=n("8a0d"),a=n("cc15")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},6858:function(e,t,n){"use strict";var r=n("2f9a"),i=n("ea34"),o=n("8a0d"),a=n("6ca1");e.exports=n("393a")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},"693d":function(e,t,n){"use strict";var r=n("ef08"),i=n("9c0e"),o=n("0bad"),a=n("512c"),s=n("ba01"),l=n("e34a").KEY,u=n("4b8b"),c=n("b367"),d=n("92f0"),f=n("8b1a"),h=n("cc15"),p=n("fcd4"),m=n("e198"),g=n("0ae2"),v=n("4ebc"),y=n("77e9"),b=n("7a41"),w=n("0983"),C=n("6ca1"),x=n("3397"),E=n("10db"),S=n("6f4f"),T=n("1836"),k=n("4d20"),z=n("fed5"),M=n("1a14"),N=n("9876"),A=k.f,O=M.f,P=T.f,_=r.Symbol,D=r.JSON,L=D&&D.stringify,B="prototype",R=h("_hidden"),I=h("toPrimitive"),H={}.propertyIsEnumerable,V=c("symbol-registry"),$=c("symbols"),F=c("op-symbols"),j=Object[B],U="function"==typeof _&&!!z.f,q=r.QObject,W=!q||!q[B]||!q[B].findChild,G=o&&u((function(){return 7!=S(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=A(j,t);r&&delete j[t],O(e,t,n),r&&e!==j&&O(j,t,r)}:O,X=function(e){var t=$[e]=S(_[B]);return t._k=e,t},Y=U&&"symbol"==typeof _.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof _},K=function(e,t,n){return e===j&&K(F,t,n),y(e),t=x(t,!0),y(n),i($,t)?(n.enumerable?(i(e,R)&&e[R][t]&&(e[R][t]=!1),n=S(n,{enumerable:E(0,!1)})):(i(e,R)||O(e,R,E(1,{})),e[R][t]=!0),G(e,t,n)):O(e,t,n)},Z=function(e,t){y(e);var n,r=g(t=C(t)),i=0,o=r.length;while(o>i)K(e,n=r[i++],t[n]);return e},Q=function(e,t){return void 0===t?S(e):Z(S(e),t)},J=function(e){var t=H.call(this,e=x(e,!0));return!(this===j&&i($,e)&&!i(F,e))&&(!(t||!i(this,e)||!i($,e)||i(this,R)&&this[R][e])||t)},ee=function(e,t){if(e=C(e),t=x(t,!0),e!==j||!i($,t)||i(F,t)){var n=A(e,t);return!n||!i($,t)||i(e,R)&&e[R][t]||(n.enumerable=!0),n}},te=function(e){var t,n=P(C(e)),r=[],o=0;while(n.length>o)i($,t=n[o++])||t==R||t==l||r.push(t);return r},ne=function(e){var t,n=e===j,r=P(n?F:C(e)),o=[],a=0;while(r.length>a)!i($,t=r[a++])||n&&!i(j,t)||o.push($[t]);return o};U||(_=function(){if(this instanceof _)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===j&&t.call(F,n),i(this,R)&&i(this[R],e)&&(this[R][e]=!1),G(this,e,E(1,n))};return o&&W&&G(j,e,{configurable:!0,set:t}),X(e)},s(_[B],"toString",(function(){return this._k})),k.f=ee,M.f=K,n("6438").f=T.f=te,n("1917").f=J,z.f=ne,o&&!n("e444")&&s(j,"propertyIsEnumerable",J,!0),p.f=function(e){return X(h(e))}),a(a.G+a.W+a.F*!U,{Symbol:_});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)h(re[ie++]);for(var oe=N(h.store),ae=0;oe.length>ae;)m(oe[ae++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return i(V,e+="")?V[e]:V[e]=_(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!U,"Object",{create:Q,defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){z.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return z.f(w(e))}}),D&&a(a.S+a.F*(!U||u((function(){var e=_();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,L.apply(D,r)}}),_[B][I]||n("051b")(_[B],I,_[B].valueOf),d(_,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},"69f3":function(e,t,n){var r,i,o,a=n("cdce"),s=n("da84"),l=n("861d"),u=n("9112"),c=n("1a2d"),d=n("c6cd"),f=n("f772"),h=n("d012"),p="Object already initialized",m=s.TypeError,g=s.WeakMap,v=function(e){return o(e)?i(e):r(e,{})},y=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}};if(a||d.state){var b=d.state||(d.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw m(p);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var w=f("state");h[w]=!0,r=function(e,t){if(c(e,w))throw m(p);return t.facade=e,u(e,w,t),t},i=function(e){return c(e,w)?e[w]:{}},o=function(e){return c(e,w)}}e.exports={set:r,get:i,has:o,enforce:v,getterFor:y}},"6ca1":function(e,t,n){var r=n("9fbb"),i=n("c901");e.exports=function(e){return r(i(e))}},"6ce5":function(e,t,n){"use strict";var r=n("df7e"),i=n("ebb5"),o=i.aTypedArray,a=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;a("toReversed",(function(){return r(o(this),s(this))}))},"6dd8":function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),a=2;function s(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&u()}function l(){o(s)}function u(){var e=Date.now();if(n){if(e-i<a)return;r=!0}else n=!0,r=!1,setTimeout(l,t);i=e}return u}var l=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=u.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||i},p=S(0,0,0,0);function m(e){return parseFloat(e)||0}function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var r=e["border-"+n+"-width"];return t+m(r)}),0)}function v(e){for(var t=["top","right","bottom","left"],n={},r=0,i=t;r<i.length;r++){var o=i[r],a=e["padding-"+o];n[o]=m(a)}return n}function y(e){var t=e.getBBox();return S(0,0,t.width,t.height)}function b(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=h(e).getComputedStyle(e),i=v(r),o=i.left+i.right,a=i.top+i.bottom,s=m(r.width),l=m(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=g(r,"left","right")+o),Math.round(l+a)!==n&&(l-=g(r,"top","bottom")+a)),!C(e)){var u=Math.round(s+o)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return S(i.left,i.top,s,l)}var w=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"===typeof e.getBBox}}();function C(e){return e===h(e).document.documentElement}function x(e){return r?w(e)?y(e):b(e):p}function E(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return f(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function S(e,t,n,r){return{x:e,y:t,width:n,height:r}}var T=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=S(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=x(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(){function e(e,t){var n=E(t);f(this,{target:e,contentRect:n})}return e}(),z=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new T(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),M="undefined"!==typeof WeakMap?new WeakMap:new n,N=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),r=new z(t,n,this);M.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){N.prototype[e]=function(){var t;return(t=M.get(this))[e].apply(t,arguments)}}));var A=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:N}();t["default"]=A}.call(this,n("c8ba"))},"6f19":function(e,t,n){var r=n("9112"),i=n("0d26"),o=n("b980"),a=Error.captureStackTrace;e.exports=function(e,t,n,s){o&&(a?a(e,t):r(e,"stack",i(n,s)))}},"6f4f":function(e,t,n){var r=n("77e9"),i=n("85e7"),o=n("9742"),a=n("5a94")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("05f5")("iframe"),r=o.length,i="<",a=">";t.style.display="none",n("9141").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(r--)delete u[l][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},7037:function(e,t){function n(t){return e.exports=n="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.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},7156:function(e,t,n){var r=n("1626"),i=n("861d"),o=n("d2bb");e.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},7212:function(e,t,n){
- /*!
- * vue-awesome-swiper v4.1.1
- * Copyright (c) Surmon. All rights reserved.
- * Released under the MIT License.
- * Surmon <https://github.com/surmon-china>
- */
- (function(e,r){r(t,n("b619"),n("8bbf"))})(0,(function(e,t,n){"use strict";var r;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t,n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n["default"]:n,function(e){e["SwiperComponent"]="Swiper",e["SwiperSlideComponent"]="SwiperSlide",e["SwiperDirective"]="swiper",e["SwiperInstance"]="$swiper"}(r||(r={}));var i,o,a=Object.freeze({containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide"});(function(e){e["Ready"]="ready",e["ClickSlide"]="clickSlide"})(i||(i={})),function(e){e["AutoUpdate"]="autoUpdate",e["AutoDestroy"]="autoDestroy",e["DeleteInstanceOnDestroy"]="deleteInstanceOnDestroy",e["CleanupStylesOnDestroy"]="cleanupStylesOnDestroy"}(o||(o={}));var s=["init","beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize","observerUpdate","beforeLoopFix","loopFix"];
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation. All rights reserved.
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of the
- License at http://www.apache.org/licenses/LICENSE-2.0
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
- MERCHANTABLITY OR NON-INFRINGEMENT.
- See the Apache Version 2.0 License for specific language governing permissions
- and limitations under the License.
- ***************************************************************************** */function l(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var u,c=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()},d=function(e,t,n){var r,o,a;if(e&&!e.destroyed){var s=(null===(r=t.composedPath)||void 0===r?void 0:r.call(t))||t.path;if((null===t||void 0===t?void 0:t.target)&&s){var l=Array.from(e.slides),u=Array.from(s);if(l.includes(t.target)||u.some((function(e){return l.includes(e)}))){var d=e.clickedIndex,f=Number(null===(a=null===(o=e.clickedSlide)||void 0===o?void 0:o.dataset)||void 0===a?void 0:a.swiperSlideIndex),h=Number.isInteger(f)?f:null;n(i.ClickSlide,d,h),n(c(i.ClickSlide),d,h)}}}},f=function(e,t){s.forEach((function(n){e.on(n,(function(){for(var e=arguments,r=[],i=0;i<arguments.length;i++)r[i]=e[i];t.apply(void 0,l([n],r));var o=c(n);o!==n&&t.apply(void 0,l([o],r))}))}))},h="instanceName";function p(e,t){var n=function(e,t){var n,r,i,o,a=null===(r=null===(n=e.data)||void 0===n?void 0:n.attrs)||void 0===r?void 0:r[t];return void 0!==a?a:null===(o=null===(i=e.data)||void 0===i?void 0:i.attrs)||void 0===o?void 0:o[c(t)]},s=function(e,t,i){return t.arg||n(i,h)||e.id||r.SwiperInstance},l=function(e,t,n){var r=s(e,t,n);return n.context[r]||null},u=function(e){return e.value||t},p=function(e){return[!0,void 0,null,""].includes(e)},m=function(e){var t,n,r=(null===(t=e.data)||void 0===t?void 0:t.on)||(null===(n=e.componentOptions)||void 0===n?void 0:n.listeners);return function(e){for(var t,n=arguments,i=[],o=1;o<arguments.length;o++)i[o-1]=n[o];var a=null===(t=r)||void 0===t?void 0:t[e];a&&a.fns.apply(a,i)}};return{bind:function(e,t,n){-1===e.className.indexOf(a.containerClass)&&(e.className+=(e.className?" ":"")+a.containerClass),e.addEventListener("click",(function(r){var i=m(n),o=l(e,t,n);d(o,r,i)}))},inserted:function(t,n,r){var o=r.context,a=u(n),l=s(t,n,r),c=m(r),d=o,h=null===d||void 0===d?void 0:d[l];h&&!h.destroyed||(h=new e(t,a),d[l]=h,f(h,c),c(i.Ready,h))},componentUpdated:function(e,t,r){var i,a,s,c,d,f,h,m,g,v,y,b,w=n(r,o.AutoUpdate);if(p(w)){var C=l(e,t,r);if(C){var x=u(t),E=x.loop;E&&(null===(a=null===(i=C)||void 0===i?void 0:i.loopDestroy)||void 0===a||a.call(i)),null===(s=null===C||void 0===C?void 0:C.update)||void 0===s||s.call(C),null===(d=null===(c=C.navigation)||void 0===c?void 0:c.update)||void 0===d||d.call(c),null===(h=null===(f=C.pagination)||void 0===f?void 0:f.render)||void 0===h||h.call(f),null===(g=null===(m=C.pagination)||void 0===m?void 0:m.update)||void 0===g||g.call(m),E&&(null===(y=null===(v=C)||void 0===v?void 0:v.loopCreate)||void 0===y||y.call(v),null===(b=null===C||void 0===C?void 0:C.update)||void 0===b||b.call(C))}}},unbind:function(e,t,r){var i,a=n(r,o.AutoDestroy);if(p(a)){var s=l(e,t,r);s&&s.initialized&&(null===(i=null===s||void 0===s?void 0:s.destroy)||void 0===i||i.call(s,p(n(r,o.DeleteInstanceOnDestroy)),p(n(r,o.CleanupStylesOnDestroy))))}}}}function m(e){var t;return n.extend({name:r.SwiperComponent,props:(t={defaultOptions:{type:Object,required:!1,default:function(){return{}}},options:{type:Object,required:!1}},t[o.AutoUpdate]={type:Boolean,default:!0},t[o.AutoDestroy]={type:Boolean,default:!0},t[o.DeleteInstanceOnDestroy]={type:Boolean,required:!1,default:!0},t[o.CleanupStylesOnDestroy]={type:Boolean,required:!1,default:!0},t),data:function(){var e;return e={},e[r.SwiperInstance]=null,e},computed:{swiperInstance:{cache:!1,set:function(e){this[r.SwiperInstance]=e},get:function(){return this[r.SwiperInstance]}},swiperOptions:function(){return this.options||this.defaultOptions},wrapperClass:function(){return this.swiperOptions.wrapperClass||a.wrapperClass}},methods:{handleSwiperClick:function(e){d(this.swiperInstance,e,this.$emit.bind(this))},autoReLoopSwiper:function(){var e,t;if(this.swiperInstance&&this.swiperOptions.loop){var n=this.swiperInstance;null===(e=null===n||void 0===n?void 0:n.loopDestroy)||void 0===e||e.call(n),null===(t=null===n||void 0===n?void 0:n.loopCreate)||void 0===t||t.call(n)}},updateSwiper:function(){var e,t,n,r,i,a,s,l;this[o.AutoUpdate]&&this.swiperInstance&&(this.autoReLoopSwiper(),null===(t=null===(e=this.swiperInstance)||void 0===e?void 0:e.update)||void 0===t||t.call(e),null===(r=null===(n=this.swiperInstance.navigation)||void 0===n?void 0:n.update)||void 0===r||r.call(n),null===(a=null===(i=this.swiperInstance.pagination)||void 0===i?void 0:i.render)||void 0===a||a.call(i),null===(l=null===(s=this.swiperInstance.pagination)||void 0===s?void 0:s.update)||void 0===l||l.call(s))},destroySwiper:function(){var e,t;this[o.AutoDestroy]&&this.swiperInstance&&this.swiperInstance.initialized&&(null===(t=null===(e=this.swiperInstance)||void 0===e?void 0:e.destroy)||void 0===t||t.call(e,this[o.DeleteInstanceOnDestroy],this[o.CleanupStylesOnDestroy]))},initSwiper:function(){this.swiperInstance=new e(this.$el,this.swiperOptions),f(this.swiperInstance,this.$emit.bind(this)),this.$emit(i.Ready,this.swiperInstance)}},mounted:function(){this.swiperInstance||this.initSwiper()},activated:function(){this.updateSwiper()},updated:function(){this.updateSwiper()},beforeDestroy:function(){this.$nextTick(this.destroySwiper)},render:function(e){return e("div",{staticClass:a.containerClass,on:{click:this.handleSwiperClick}},[this.$slots[u.ParallaxBg],e("div",{class:this.wrapperClass},this.$slots.default),this.$slots[u.Pagination],this.$slots[u.PrevButton],this.$slots[u.NextButton],this.$slots[u.Scrollbar]])}})}(function(e){e["ParallaxBg"]="parallax-bg",e["Pagination"]="pagination",e["Scrollbar"]="scrollbar",e["PrevButton"]="button-prev",e["NextButton"]="button-next"})(u||(u={}));var g=n.extend({name:r.SwiperSlideComponent,computed:{slideClass:function(){var e,t;return(null===(t=null===(e=this.$parent)||void 0===e?void 0:e.swiperOptions)||void 0===t?void 0:t.slideClass)||a.slideClass}},methods:{update:function(){var e,t=this.$parent;t[o.AutoUpdate]&&(null===(e=null===t||void 0===t?void 0:t.swiperInstance)||void 0===e||e.update())}},mounted:function(){this.update()},updated:function(){this.update()},render:function(e){return e("div",{class:this.slideClass},this.$slots.default)}}),v=function(e){var t=function(n,i){if(!t.installed){var o=m(e);i&&(o.options.props.defaultOptions.default=function(){return i}),n.component(r.SwiperComponent,o),n.component(r.SwiperSlideComponent,g),n.directive(r.SwiperDirective,p(e,i)),t.installed=!0}};return t};function y(e){var t;return t={version:"4.1.1",install:v(e),directive:p(e)},t[r.SwiperComponent]=m(e),t[r.SwiperSlideComponent]=g,t}var b=y(t),w=b.version,C=b.install,x=b.directive,E=b.Swiper,S=b.SwiperSlide;e.Swiper=E,e.SwiperSlide=S,e.default=b,e.directive=x,e.install=C,e.version=w,Object.defineProperty(e,"__esModule",{value:!0})}))},7234:function(e,t){e.exports=function(e){return null===e||void 0===e}},7282:function(e,t,n){var r=n("e330"),i=n("59ed");e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(o){}}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"77e9":function(e,t,n){var r=n("7a41");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a41":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},"7b0b":function(e,t,n){var r=n("1d80"),i=Object;e.exports=function(e){return i(r(e))}},"7b3e":function(e,t,n){"use strict";var r,i=n("a3de");
- /**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @param {?boolean} capture Check if the capture phase is supported.
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */
- function o(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&r&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},8119:function(e,t,n){n("693d"),n("dfe5"),n("301c"),n("4e71"),e.exports=n("5524").Symbol},"825a":function(e,t,n){var r=n("861d"),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"85e7":function(e,t,n){var r=n("1a14"),i=n("77e9"),o=n("9876");e.exports=n("0bad")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,l=0;while(s>l)r.f(e,n=a[l++],t[n]);return e}},"861d":function(e,t,n){var r=n("1626"),i=n("8ea1"),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},8925:function(e,t,n){var r=n("e330"),i=n("1626"),o=n("c6cd"),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},"8a0d":function(e,t){e.exports={}},"8b1a":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"8ea1":function(e,t){var n="object"==typeof document&&document.all,r="undefined"==typeof n&&void 0!==n;e.exports={all:n,IS_HTMLDDA:r}},"8eb7":function(e,t){var n,r,i,o,a,s,l,u,c,d,f,h,p,m,g,v=!1;function y(){if(!v){v=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(h=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),m=/FBAN\/\w+;/i.exec(e),g=/Mobile/i.exec(e),f=!!/Win64/.exec(e),t){n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,n&&document&&document.documentMode&&(n=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);s=b?parseFloat(b[1])+4:n,r=t[2]?parseFloat(t[2]):NaN,i=t[3]?parseFloat(t[3]):NaN,o=t[4]?parseFloat(t[4]):NaN,o?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),a=t&&t[1]?parseFloat(t[1]):NaN):a=NaN}else n=r=i=a=o=NaN;if(y){if(y[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=!w||parseFloat(w[1].replace("_","."))}else l=!1;u=!!y[2],c=!!y[3]}else l=u=c=!1}}var b={ie:function(){return y()||n},ieCompatibilityMode:function(){return y()||s>n},ie64:function(){return b.ie()&&f},firefox:function(){return y()||r},opera:function(){return y()||i},webkit:function(){return y()||o},safari:function(){return b.webkit()},chrome:function(){return y()||a},windows:function(){return y()||u},osx:function(){return y()||l},linux:function(){return y()||c},iphone:function(){return y()||h},mobile:function(){return y()||h||p||d||g},nativeApp:function(){return y()||m},android:function(){return y()||d},ipad:function(){return y()||p}};e.exports=b},"907a":function(e,t,n){"use strict";var r=n("ebb5"),i=n("07fa"),o=n("5926"),a=r.aTypedArray,s=r.exportTypedArrayMethod;s("at",(function(e){var t=a(this),n=i(t),r=o(e),s=r>=0?r:n+r;return s<0||s>=n?void 0:t[s]}))},"90e3":function(e,t,n){var r=n("e330"),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},9112:function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9141:function(e,t,n){var r=n("ef08").document;e.exports=r&&r.documentElement},"92f0":function(e,t,n){var r=n("1a14").f,i=n("9c0e"),o=n("cc15")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},"92fa":function(e,t){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var i,o,a,s,l;for(a in t)if(i=e[a],o=t[a],i&&n.test(a))if("class"===a&&("string"===typeof i&&(l=i,e[a]=i={},i[l]=!0),"string"===typeof o&&(l=o,t[a]=o={},o[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)i[s]=r(i[s],o[s]);else if(Array.isArray(i))e[a]=i.concat(o);else if(Array.isArray(o))e[a]=[i].concat(o);else for(s in o)i[s]=o[s];else e[a]=t[a];return e}),{})}},"94ca":function(e,t,n){var r=n("d039"),i=n("1626"),o=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==c||n!=u&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},9619:function(e,t,n){var r=n("597f"),i=n("0e15");e.exports={throttle:r,debounce:i}},9742:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"986a":function(e,t,n){"use strict";var r=n("ebb5"),i=n("a258").findLast,o=r.aTypedArray,a=r.exportTypedArrayMethod;a("findLast",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},9876:function(e,t,n){var r=n("03d6"),i=n("9742");e.exports=Object.keys||function(e){return r(e,i)}},"9bf2":function(e,t,n){var r=n("83ab"),i=n("0cfb"),o=n("aed9"),a=n("825a"),s=n("a04b"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"===typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=c(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9c0c":function(e,t,n){var r=n("1609");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"9c0e":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"9d11":function(e,t,n){var r=n("fc5e"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},"9fbb":function(e,t,n){var r=n("4d88");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},a04b:function(e,t,n){var r=n("c04e"),i=n("d9b5");e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},a15e:function(e,t,n){"use strict";n.r(t);var r=n("41b2"),i=n.n(r),o=n("1098"),a=n.n(o),s=/%[sdj%]/g,l=function(){};function u(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,i=t[0],o=t.length;if("function"===typeof i)return i.apply(null,t.slice(1));if("string"===typeof i){for(var a=String(i).replace(s,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(n){return"[Circular]"}break;default:return e}})),l=t[r];r<o;l=t[++r])a+=" "+l;return a}return i}function c(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}function d(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!c(t)||"string"!==typeof e||e))}function f(e,t,n){var r=[],i=0,o=e.length;function a(e){r.push.apply(r,e),i++,i===o&&n(r)}e.forEach((function(e){t(e,a)}))}function h(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<i?t(e[s],o):n([])}}o([])}function p(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}function m(e,t,n,r){if(t.first){var i=p(e);return h(i,n,r)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,l=0,u=[],c=function(e){u.push.apply(u,e),l++,l===s&&r(u)};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?h(r,n,c):f(r,n,c)}))}function g(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:t,field:t.field||e.fullField}}}function v(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===("undefined"===typeof r?"undefined":a()(r))&&"object"===a()(e[n])?e[n]=i()({},e[n],r):e[n]=r}return e}function y(e,t,n,r,i,o){!e.required||n.hasOwnProperty(e.field)&&!d(t,o||e.type)||r.push(u(i.messages.required,e.fullField))}var b=y;function w(e,t,n,r,i){(/^\s+$/.test(t)||""===t)&&r.push(u(i.messages.whitespace,e.fullField))}var C=w,x={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},E={integer:function(e){return E.number(e)&&parseInt(e,10)===e},float:function(e){return E.number(e)&&!E.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===("undefined"===typeof e?"undefined":a()(e))&&!E.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(x.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(x.url)},hex:function(e){return"string"===typeof e&&!!e.match(x.hex)}};function S(e,t,n,r,i){if(e.required&&void 0===t)b(e,t,n,r,i);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=e.type;o.indexOf(s)>-1?E[s](t)||r.push(u(i.messages.types[s],e.fullField,e.type)):s&&("undefined"===typeof t?"undefined":a()(t))!==e.type&&r.push(u(i.messages.types[s],e.fullField,e.type))}}var T=S;function k(e,t,n,r,i){var o="number"===typeof e.len,a="number"===typeof e.min,s="number"===typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,d=null,f="number"===typeof t,h="string"===typeof t,p=Array.isArray(t);if(f?d="number":h?d="string":p&&(d="array"),!d)return!1;p&&(c=t.length),h&&(c=t.replace(l,"_").length),o?c!==e.len&&r.push(u(i.messages[d].len,e.fullField,e.len)):a&&!s&&c<e.min?r.push(u(i.messages[d].min,e.fullField,e.min)):s&&!a&&c>e.max?r.push(u(i.messages[d].max,e.fullField,e.max)):a&&s&&(c<e.min||c>e.max)&&r.push(u(i.messages[d].range,e.fullField,e.min,e.max))}var z=k,M="enum";function N(e,t,n,r,i){e[M]=Array.isArray(e[M])?e[M]:[],-1===e[M].indexOf(t)&&r.push(u(i.messages[M],e.fullField,e[M].join(", ")))}var A=N;function O(e,t,n,r,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(u(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||r.push(u(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var P=O,_={required:b,whitespace:C,type:T,range:z,enum:A,pattern:P};function D(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t,"string")&&!e.required)return n();_.required(e,t,r,o,i,"string"),d(t,"string")||(_.type(e,t,r,o,i),_.range(e,t,r,o,i),_.pattern(e,t,r,o,i),!0===e.whitespace&&_.whitespace(e,t,r,o,i))}n(o)}var L=D;function B(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();_.required(e,t,r,o,i),void 0!==t&&_.type(e,t,r,o,i)}n(o)}var R=B;function I(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();_.required(e,t,r,o,i),void 0!==t&&(_.type(e,t,r,o,i),_.range(e,t,r,o,i))}n(o)}var H=I;function V(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();_.required(e,t,r,o,i),void 0!==t&&_.type(e,t,r,o,i)}n(o)}var $=V;function F(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();_.required(e,t,r,o,i),d(t)||_.type(e,t,r,o,i)}n(o)}var j=F;function U(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();_.required(e,t,r,o,i),void 0!==t&&(_.type(e,t,r,o,i),_.range(e,t,r,o,i))}n(o)}var q=U;function W(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();_.required(e,t,r,o,i),void 0!==t&&(_.type(e,t,r,o,i),_.range(e,t,r,o,i))}n(o)}var G=W;function X(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t,"array")&&!e.required)return n();_.required(e,t,r,o,i,"array"),d(t,"array")||(_.type(e,t,r,o,i),_.range(e,t,r,o,i))}n(o)}var Y=X;function K(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();_.required(e,t,r,o,i),void 0!==t&&_.type(e,t,r,o,i)}n(o)}var Z=K,Q="enum";function J(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();_.required(e,t,r,o,i),t&&_[Q](e,t,r,o,i)}n(o)}var ee=J;function te(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t,"string")&&!e.required)return n();_.required(e,t,r,o,i),d(t,"string")||_.pattern(e,t,r,o,i)}n(o)}var ne=te;function re(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return n();if(_.required(e,t,r,o,i),!d(t)){var s=void 0;s="number"===typeof t?new Date(t):t,_.type(e,s,r,o,i),s&&_.range(e,s.getTime(),r,o,i)}}n(o)}var ie=re;function oe(e,t,n,r,i){var o=[],s=Array.isArray(t)?"array":"undefined"===typeof t?"undefined":a()(t);_.required(e,t,r,o,i,s),n(o)}var ae=oe;function se(e,t,n,r,i){var o=e.type,a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(d(t,o)&&!e.required)return n();_.required(e,t,r,a,i,o),d(t,o)||_.type(e,t,r,a,i)}n(a)}var le=se,ue={string:L,method:R,number:H,boolean:$,regexp:j,integer:q,float:G,array:Y,object:Z,enum:ee,pattern:ne,date:ie,url:le,hex:le,email:le,required:ae};function ce(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var de=ce();function fe(e){this.rules=null,this._messages=de,this.define(e)}fe.prototype={messages:function(e){return e&&(this._messages=v(ce(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof e?"undefined":a()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],o=e,s=n,c=r;if("function"===typeof s&&(c=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var d=this.messages();d===de&&(d=ce()),v(d,s.messages),s.messages=d}else s.messages=this.messages();var f=void 0,h=void 0,p={},y=s.keys||Object.keys(this.rules);y.forEach((function(n){f=t.rules[n],h=o[n],f.forEach((function(r){var a=r;"function"===typeof a.transform&&(o===e&&(o=i()({},o)),h=o[n]=a.transform(h)),a="function"===typeof a?{validator:a}:i()({},a),a.validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(p[n]=p[n]||[],p[n].push({rule:a,value:h,source:o,field:n}))}))}));var b={};m(p,s,(function(e,t){var n=e.rule,r=("object"===n.type||"array"===n.type)&&("object"===a()(n.fields)||"object"===a()(n.defaultField));function o(e,t){return i()({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;if(Array.isArray(c)||(c=[c]),c.length&&l("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map(g(n)),s.first&&c.length)return b[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map(g(n)):s.error?[s.error(n,u(s.messages.required,n.field))]:[],t(c);var d={};if(n.defaultField)for(var f in e.value)e.value.hasOwnProperty(f)&&(d[f]=n.defaultField);for(var h in d=i()({},d,e.rule.fields),d)if(d.hasOwnProperty(h)){var p=Array.isArray(d[h])?d[h]:[d[h]];d[h]=p.map(o.bind(null,h))}var m=new fe(d);m.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),m.validate(e.value,e.rule.options||s,(function(e){t(e&&e.length?c.concat(e):e)}))}else t(c)}r=r&&(n.required||!n.required&&e.value),n.field=e.field;var d=n.validator(n,e.value,c,e.source,s);d&&d.then&&d.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){w(e)}))}else c&&c();function w(e){var t=void 0,n=void 0,r=[],i={};function o(e){Array.isArray(e)?r=r.concat.apply(r,e):r.push(e)}for(t=0;t<e.length;t++)o(e[t]);if(r.length)for(t=0;t<r.length;t++)n=r[t].field,i[n]=i[n]||[],i[n].push(r[t]);else r=null,i=null;c(r,i)}},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!ue.hasOwnProperty(e.type))throw new Error(u("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?ue.required:ue[this.getType(e)]||!1}},fe.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");ue[e]=t},fe.messages=de;t["default"]=fe},a258:function(e,t,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),a=n("07fa"),s=function(e){var t=1==e;return function(n,s,l){var u,c,d=o(n),f=i(d),h=r(s,l),p=a(f);while(p-- >0)if(u=f[p],c=h(u,p,d),c)switch(e){case 0:return u;case 1:return p}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},a3de:function(e,t,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=i},a5d8:function(e,t,n){},a753:function(e,t,n){},a7a3:function(e,t,n){},ab36:function(e,t,n){var r=n("861d"),i=n("9112");e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},aeb0:function(e,t,n){var r=n("9bf2").f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},aed9:function(e,t,n){var r=n("83ab"),i=n("d039");e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b367:function(e,t,n){var r=n("5524"),i=n("ef08"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("e444")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},b42e:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}},b619:function(e,t,n){"use strict";function r(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])}))}n.r(t);var o="undefined"!==typeof document?document:{},a={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};i(o,a);var s="undefined"!==typeof window?window:{},l={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}};i(s,l);class u{constructor(e){const t=this;for(let n=0;n<e.length;n+=1)t[n]=e[n];return t.length=e.length,this}}function c(e,t){const n=[];let r=0;if(e&&!t&&e instanceof u)return e;if(e)if("string"===typeof e){let i,a;const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";for(0===s.indexOf("<li")&&(e="ul"),0===s.indexOf("<tr")&&(e="tbody"),0!==s.indexOf("<td")&&0!==s.indexOf("<th")||(e="tr"),0===s.indexOf("<tbody")&&(e="table"),0===s.indexOf("<option")&&(e="select"),a=o.createElement(e),a.innerHTML=s,r=0;r<a.childNodes.length;r+=1)n.push(a.childNodes[r])}else for(i=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||o).querySelectorAll(e.trim()):[o.getElementById(e.trim().split("#")[1])],r=0;r<i.length;r+=1)i[r]&&n.push(i[r])}else if(e.nodeType||e===s||e===o)n.push(e);else if(e.length>0&&e[0].nodeType)for(r=0;r<e.length;r+=1)n.push(e[r]);return new u(n)}function d(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function f(e){if("undefined"===typeof e)return this;const t=e.split(" ");for(let n=0;n<t.length;n+=1)for(let e=0;e<this.length;e+=1)"undefined"!==typeof this[e]&&"undefined"!==typeof this[e].classList&&this[e].classList.add(t[n]);return this}function h(e){const t=e.split(" ");for(let n=0;n<t.length;n+=1)for(let e=0;e<this.length;e+=1)"undefined"!==typeof this[e]&&"undefined"!==typeof this[e].classList&&this[e].classList.remove(t[n]);return this}function p(e){return!!this[0]&&this[0].classList.contains(e)}function m(e){const t=e.split(" ");for(let n=0;n<t.length;n+=1)for(let e=0;e<this.length;e+=1)"undefined"!==typeof this[e]&&"undefined"!==typeof this[e].classList&&this[e].classList.toggle(t[n]);return this}function g(e,t){if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this}function v(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function y(e,t){let n;if("undefined"!==typeof t){for(let r=0;r<this.length;r+=1)n=this[r],n.dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0],n){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];const t=n.getAttribute("data-"+e);return t||void 0}}function b(e){for(let t=0;t<this.length;t+=1){const n=this[t].style;n.webkitTransform=e,n.transform=e}return this}function w(e){"string"!==typeof e&&(e+="ms");for(let t=0;t<this.length;t+=1){const n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this}function C(...e){let[t,n,r,i]=e;function o(e){const t=e.target;if(!t)return;const i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),c(t).is(n))r.apply(t,i);else{const e=c(t).parents();for(let t=0;t<e.length;t+=1)c(e[t]).is(n)&&r.apply(e[t],i)}}function a(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"===typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const s=t.split(" ");let l;for(let u=0;u<this.length;u+=1){const e=this[u];if(n)for(l=0;l<s.length;l+=1){const t=s[l];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:r,proxyListener:o}),e.addEventListener(t,o,i)}else for(l=0;l<s.length;l+=1){const t=s[l];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:r,proxyListener:a}),e.addEventListener(t,a,i)}}return this}function x(...e){let[t,n,r,i]=e;"function"===typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const o=t.split(" ");for(let a=0;a<o.length;a+=1){const e=o[a];for(let t=0;t<this.length;t+=1){const o=this[t];let a;if(!n&&o.dom7Listeners?a=o.dom7Listeners[e]:n&&o.dom7LiveListeners&&(a=o.dom7LiveListeners[e]),a&&a.length)for(let t=a.length-1;t>=0;t-=1){const n=a[t];r&&n.listener===r||r&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===r?(o.removeEventListener(e,n.proxyListener,i),a.splice(t,1)):r||(o.removeEventListener(e,n.proxyListener,i),a.splice(t,1))}}}return this}function E(...e){const t=e[0].split(" "),n=e[1];for(let i=0;i<t.length;i+=1){const a=t[i];for(let t=0;t<this.length;t+=1){const i=this[t];let l;try{l=new s.CustomEvent(a,{detail:n,bubbles:!0,cancelable:!0})}catch(r){l=o.createEvent("Event"),l.initEvent(a,!0,!0),l.detail=n}i.dom7EventData=e.filter((e,t)=>t>0),i.dispatchEvent(l),i.dom7EventData=[],delete i.dom7EventData}}return this}function S(e){const t=["webkitTransitionEnd","transitionend"],n=this;let r;function i(o){if(o.target===this)for(e.call(this,o),r=0;r<t.length;r+=1)n.off(t[r],i)}if(e)for(r=0;r<t.length;r+=1)n.on(t[r],i);return this}function T(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function k(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function z(){if(this.length>0){const e=this[0],t=e.getBoundingClientRect(),n=o.body,r=e.clientTop||n.clientTop||0,i=e.clientLeft||n.clientLeft||0,a=e===s?s.scrollY:e.scrollTop,l=e===s?s.scrollX:e.scrollLeft;return{top:t.top+a-r,left:t.left+l-i}}return null}function M(){return this[0]?s.getComputedStyle(this[0],null):{}}function N(e,t){let n;if(1===arguments.length){if("string"!==typeof e){for(n=0;n<this.length;n+=1)for(let t in e)this[n].style[t]=e[t];return this}if(this[0])return s.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function A(e){if(!e)return this;for(let t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function O(e){const t=[],n=this;for(let r=0;r<n.length;r+=1)e.call(n[r],r,n[r])&&t.push(n[r]);return new u(t)}function P(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:void 0;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function _(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this}function D(e){const t=this[0];let n,r;if(!t||"undefined"===typeof e)return!1;if("string"===typeof e){if(t.matches)return t.matches(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);for(n=c(e),r=0;r<n.length;r+=1)if(n[r]===t)return!0;return!1}if(e===o)return t===o;if(e===s)return t===s;if(e.nodeType||e instanceof u){for(n=e.nodeType?[e]:e,r=0;r<n.length;r+=1)if(n[r]===t)return!0;return!1}return!1}function L(){let e,t=this[0];if(t){e=0;while(null!==(t=t.previousSibling))1===t.nodeType&&(e+=1);return e}}function B(e){if("undefined"===typeof e)return this;const t=this.length;let n;return e>t-1?new u([]):e<0?(n=t+e,new u(n<0?[]:[this[n]])):new u([this[e]])}function R(...e){let t;for(let n=0;n<e.length;n+=1){t=e[n];for(let e=0;e<this.length;e+=1)if("string"===typeof t){const n=o.createElement("div");n.innerHTML=t;while(n.firstChild)this[e].appendChild(n.firstChild)}else if(t instanceof u)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this}function I(e){let t,n;for(t=0;t<this.length;t+=1)if("string"===typeof e){const r=o.createElement("div");for(r.innerHTML=e,n=r.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(r.childNodes[n],this[t].childNodes[0])}else if(e instanceof u)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function H(e){return this.length>0?e?this[0].nextElementSibling&&c(this[0].nextElementSibling).is(e)?new u([this[0].nextElementSibling]):new u([]):this[0].nextElementSibling?new u([this[0].nextElementSibling]):new u([]):new u([])}function V(e){const t=[];let n=this[0];if(!n)return new u([]);while(n.nextElementSibling){const r=n.nextElementSibling;e?c(r).is(e)&&t.push(r):t.push(r),n=r}return new u(t)}function $(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&c(t.previousElementSibling).is(e)?new u([t.previousElementSibling]):new u([]):t.previousElementSibling?new u([t.previousElementSibling]):new u([])}return new u([])}function F(e){const t=[];let n=this[0];if(!n)return new u([]);while(n.previousElementSibling){const r=n.previousElementSibling;e?c(r).is(e)&&t.push(r):t.push(r),n=r}return new u(t)}function j(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?c(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return c(d(t))}function U(e){const t=[];for(let n=0;n<this.length;n+=1){let r=this[n].parentNode;while(r)e?c(r).is(e)&&t.push(r):t.push(r),r=r.parentNode}return c(d(t))}function q(e){let t=this;return"undefined"===typeof e?new u([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function W(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].querySelectorAll(e);for(let e=0;e<r.length;e+=1)t.push(r[e])}return new u(t)}function G(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].childNodes;for(let n=0;n<r.length;n+=1)e?1===r[n].nodeType&&c(r[n]).is(e)&&t.push(r[n]):1===r[n].nodeType&&t.push(r[n])}return new u(d(t))}function X(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function Y(...e){const t=this;let n,r;for(n=0;n<e.length;n+=1){const i=c(e[n]);for(r=0;r<i.length;r+=1)t[t.length]=i[r],t.length+=1}return t}c.fn=u.prototype,c.Class=u,c.Dom7=u;"resize scroll".split(" ");const K={addClass:f,removeClass:h,hasClass:p,toggleClass:m,attr:g,removeAttr:v,data:y,transform:b,transition:w,on:C,off:x,trigger:E,transitionEnd:S,outerWidth:T,outerHeight:k,offset:z,css:N,each:A,html:P,text:_,is:D,index:L,eq:B,append:R,prepend:I,next:H,nextAll:V,prev:$,prevAll:F,parent:j,parents:U,closest:q,find:W,children:G,filter:O,remove:X,add:Y,styles:M};Object.keys(K).forEach(e=>{c.fn[e]=c.fn[e]||K[e]});const Z={deleteProps(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}})},nextTick(e,t=0){return setTimeout(e,t)},now(){return Date.now()},getTranslate(e,t="x"){let n,r,i;const o=s.getComputedStyle(e,null);return s.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),i=new s.WebKitCSSMatrix("none"===r?"":r)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=i.toString().split(",")),"x"===t&&(r=s.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=s.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0},parseUrlQuery(e){const t={};let n,r,i,o,a=e||s.location.href;if("string"===typeof a&&a.length)for(a=a.indexOf("?")>-1?a.replace(/\S*\?/,""):"",r=a.split("&").filter(e=>""!==e),o=r.length,n=0;n<o;n+=1)i=r[n].replace(/#\S+/g,"").split("="),t[decodeURIComponent(i[0])]="undefined"===typeof i[1]?void 0:decodeURIComponent(i[1])||"";return t},isObject(e){return"object"===typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend(...e){const t=Object(e[0]);for(let n=1;n<e.length;n+=1){const r=e[n];if(void 0!==r&&null!==r){const e=Object.keys(Object(r));for(let n=0,i=e.length;n<i;n+=1){const i=e[n],o=Object.getOwnPropertyDescriptor(r,i);void 0!==o&&o.enumerable&&(Z.isObject(t[i])&&Z.isObject(r[i])?Z.extend(t[i],r[i]):!Z.isObject(t[i])&&Z.isObject(r[i])?(t[i]={},Z.extend(t[i],r[i])):t[i]=r[i])}}}return t}},Q=function(){return{touch:!!("ontouchstart"in s||s.DocumentTouch&&o instanceof s.DocumentTouch),pointerEvents:!!s.PointerEvent&&"maxTouchPoints"in s.navigator&&s.navigator.maxTouchPoints>=0,observer:function(){return"MutationObserver"in s||"WebkitMutationObserver"in s}(),passiveListener:function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get(){e=!0}});s.addEventListener("testPassiveListener",null,t)}catch(t){}return e}(),gestures:function(){return"ongesturestart"in s}()}}();class J{constructor(e={}){const t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(e=>{t.on(e,t.params.on[e])})}on(e,t,n){const r=this;if("function"!==typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach(e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)}),r}once(e,t,n){const r=this;if("function"!==typeof t)return r;function i(...n){r.off(e,i),i.f7proxy&&delete i.f7proxy,t.apply(r,n)}return i.f7proxy=t,r.on(e,i,n)}off(e,t){const n=this;return n.eventsListeners?(e.split(" ").forEach(e=>{"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((r,i)=>{(r===t||r.f7proxy&&r.f7proxy===t)&&n.eventsListeners[e].splice(i,1)})}),n):n}emit(...e){const t=this;if(!t.eventsListeners)return t;let n,r,i;"string"===typeof e[0]||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),i=t):(n=e[0].events,r=e[0].data,i=e[0].context||t);const o=Array.isArray(n)?n:n.split(" ");return o.forEach(e=>{if(t.eventsListeners&&t.eventsListeners[e]){const n=[];t.eventsListeners[e].forEach(e=>{n.push(e)}),n.forEach(e=>{e.apply(i,r)})}}),t}useModulesParams(e){const t=this;t.modules&&Object.keys(t.modules).forEach(n=>{const r=t.modules[n];r.params&&Z.extend(e,r.params)})}useModules(e={}){const t=this;t.modules&&Object.keys(t.modules).forEach(n=>{const r=t.modules[n],i=e[n]||{};r.instance&&Object.keys(r.instance).forEach(e=>{const n=r.instance[e];t[e]="function"===typeof n?n.bind(t):n}),r.on&&t.on&&Object.keys(r.on).forEach(e=>{t.on(e,r.on[e])}),r.create&&r.create.bind(t)(i)})}static set components(e){const t=this;t.use&&t.use(e)}static installModule(e,...t){const n=this;n.prototype.modules||(n.prototype.modules={});const r=e.name||`${Object.keys(n.prototype.modules).length}_${Z.now()}`;return n.prototype.modules[r]=e,e.proto&&Object.keys(e.proto).forEach(t=>{n.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(t=>{n[t]=e.static[t]}),e.install&&e.install.apply(n,t),n}static use(e,...t){const n=this;return Array.isArray(e)?(e.forEach(e=>n.installModule(e)),n):n.installModule(e,...t)}}function ee(){const e=this;let t,n;const r=e.$el;t="undefined"!==typeof e.params.width?e.params.width:r[0].clientWidth,n="undefined"!==typeof e.params.height?e.params.height:r[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(r.css("padding-left"),10)-parseInt(r.css("padding-right"),10),n=n-parseInt(r.css("padding-top"),10)-parseInt(r.css("padding-bottom"),10),Z.extend(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function te(){const e=this,t=e.params,{$wrapperEl:n,size:r,rtlTranslate:i,wrongRTL:o}=e,a=e.virtual&&t.virtual.enabled,l=a?e.virtual.slides.length:e.slides.length,u=n.children("."+e.params.slideClass),c=a?e.virtual.slides.length:u.length;let d=[];const f=[],h=[];function p(e){return!t.cssMode||e!==u.length-1}let m=t.slidesOffsetBefore;"function"===typeof m&&(m=t.slidesOffsetBefore.call(e));let g=t.slidesOffsetAfter;"function"===typeof g&&(g=t.slidesOffsetAfter.call(e));const v=e.snapGrid.length,y=e.snapGrid.length;let b,w,C=t.spaceBetween,x=-m,E=0,S=0;if("undefined"===typeof r)return;"string"===typeof C&&C.indexOf("%")>=0&&(C=parseFloat(C.replace("%",""))/100*r),e.virtualSize=-C,i?u.css({marginLeft:"",marginTop:""}):u.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(b=Math.floor(c/t.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(b=Math.max(b,t.slidesPerView*t.slidesPerColumn)));const T=t.slidesPerColumn,k=b/T,z=Math.floor(c/t.slidesPerColumn);for(let N=0;N<c;N+=1){w=0;const n=u.eq(N);if(t.slidesPerColumn>1){let r,i,o;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){const e=Math.floor(N/(t.slidesPerGroup*t.slidesPerColumn)),a=N-t.slidesPerColumn*t.slidesPerGroup*e,s=0===e?t.slidesPerGroup:Math.min(Math.ceil((c-e*T*t.slidesPerGroup)/T),t.slidesPerGroup);o=Math.floor(a/s),i=a-o*s+e*t.slidesPerGroup,r=i+o*b/T,n.css({"-webkit-box-ordinal-group":r,"-moz-box-ordinal-group":r,"-ms-flex-order":r,"-webkit-order":r,order:r})}else"column"===t.slidesPerColumnFill?(i=Math.floor(N/T),o=N-i*T,(i>z||i===z&&o===T-1)&&(o+=1,o>=T&&(o=0,i+=1))):(o=Math.floor(N/k),i=N-o*k);n.css("margin-"+(e.isHorizontal()?"top":"left"),0!==o&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==n.css("display")){if("auto"===t.slidesPerView){const r=s.getComputedStyle(n[0],null),i=n[0].style.transform,o=n[0].style.webkitTransform;if(i&&(n[0].style.transform="none"),o&&(n[0].style.webkitTransform="none"),t.roundLengths)w=e.isHorizontal()?n.outerWidth(!0):n.outerHeight(!0);else if(e.isHorizontal()){const e=parseFloat(r.getPropertyValue("width")),t=parseFloat(r.getPropertyValue("padding-left")),n=parseFloat(r.getPropertyValue("padding-right")),i=parseFloat(r.getPropertyValue("margin-left")),o=parseFloat(r.getPropertyValue("margin-right")),a=r.getPropertyValue("box-sizing");w=a&&"border-box"===a?e+i+o:e+t+n+i+o}else{const e=parseFloat(r.getPropertyValue("height")),t=parseFloat(r.getPropertyValue("padding-top")),n=parseFloat(r.getPropertyValue("padding-bottom")),i=parseFloat(r.getPropertyValue("margin-top")),o=parseFloat(r.getPropertyValue("margin-bottom")),a=r.getPropertyValue("box-sizing");w=a&&"border-box"===a?e+i+o:e+t+n+i+o}i&&(n[0].style.transform=i),o&&(n[0].style.webkitTransform=o),t.roundLengths&&(w=Math.floor(w))}else w=(r-(t.slidesPerView-1)*C)/t.slidesPerView,t.roundLengths&&(w=Math.floor(w)),u[N]&&(e.isHorizontal()?u[N].style.width=w+"px":u[N].style.height=w+"px");u[N]&&(u[N].swiperSlideSize=w),h.push(w),t.centeredSlides?(x=x+w/2+E/2+C,0===E&&0!==N&&(x=x-r/2-C),0===N&&(x=x-r/2-C),Math.abs(x)<.001&&(x=0),t.roundLengths&&(x=Math.floor(x)),S%t.slidesPerGroup===0&&d.push(x),f.push(x)):(t.roundLengths&&(x=Math.floor(x)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&d.push(x),f.push(x),x=x+w+C),e.virtualSize+=w+C,E=w,S+=1}}let M;if(e.virtualSize=Math.max(e.virtualSize,r)+g,i&&o&&("slide"===t.effect||"coverflow"===t.effect)&&n.css({width:e.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(e.isHorizontal()?n.css({width:e.virtualSize+t.spaceBetween+"px"}):n.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(w+t.spaceBetween)*b,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?n.css({width:e.virtualSize+t.spaceBetween+"px"}):n.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){M=[];for(let n=0;n<d.length;n+=1){let r=d[n];t.roundLengths&&(r=Math.floor(r)),d[n]<e.virtualSize+d[0]&&M.push(r)}d=M}if(!t.centeredSlides){M=[];for(let n=0;n<d.length;n+=1){let i=d[n];t.roundLengths&&(i=Math.floor(i)),d[n]<=e.virtualSize-r&&M.push(i)}d=M,Math.floor(e.virtualSize-r)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-r)}if(0===d.length&&(d=[0]),0!==t.spaceBetween&&(e.isHorizontal()?i?u.filter(p).css({marginLeft:C+"px"}):u.filter(p).css({marginRight:C+"px"}):u.filter(p).css({marginBottom:C+"px"})),t.centeredSlides&&t.centeredSlidesBounds){let e=0;h.forEach(n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween;const n=e-r;d=d.map(e=>e<0?-m:e>n?n+g:e)}if(t.centerInsufficientSlides){let e=0;if(h.forEach(n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween,e<r){const t=(r-e)/2;d.forEach((e,n)=>{d[n]=e-t}),f.forEach((e,n)=>{f[n]=e+t})}}Z.extend(e,{slides:u,snapGrid:d,slidesGrid:f,slidesSizesGrid:h}),c!==l&&e.emit("slidesLengthChange"),d.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==y&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}function ne(e){const t=this,n=[];let r,i=0;if("number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed),"auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each((e,t)=>{n.push(t)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length)break;n.push(t.slides.eq(e)[0])}else n.push(t.slides.eq(t.activeIndex)[0]);for(r=0;r<n.length;r+=1)if("undefined"!==typeof n[r]){const e=n[r].offsetHeight;i=e>i?e:i}i&&t.$wrapperEl.css("height",i+"px")}function re(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop}function ie(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:i}=t;if(0===r.length)return;"undefined"===typeof r[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;i&&(o=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let a=0;a<r.length;a+=1){const e=r[a],s=(o+(n.centeredSlides?t.minTranslate():0)-e.swiperSlideOffset)/(e.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){const i=-(o-e.swiperSlideOffset),s=i+t.slidesSizesGrid[a],l=i>=0&&i<t.size-1||s>1&&s<=t.size||i<=0&&s>=t.size;l&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(a),r.eq(a).addClass(n.slideVisibleClass))}e.progress=i?-s:s}t.visibleSlides=c(t.visibleSlides)}function oe(e){const t=this;if("undefined"===typeof e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:a}=t;const s=o,l=a;0===r?(i=0,o=!0,a=!0):(i=(e-t.minTranslate())/r,o=i<=0,a=i>=1),Z.extend(t,{progress:i,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!s&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(s&&!o||l&&!a)&&t.emit("fromEdge"),t.emit("progress",i)}function ae(){const e=this,{slides:t,params:n,$wrapperEl:r,activeIndex:i,realIndex:o}=e,a=e.virtual&&n.virtual.enabled;let s;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),s=a?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),s.addClass(n.slideActiveClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=s.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let u=s.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===u.length&&(u=t.eq(-1),u.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),u.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${u.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${u.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass))}function se(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:r,snapGrid:i,params:o,activeIndex:a,realIndex:s,snapIndex:l}=t;let u,c=e;if("undefined"===typeof c){for(let e=0;e<r.length;e+=1)"undefined"!==typeof r[e+1]?n>=r[e]&&n<r[e+1]-(r[e+1]-r[e])/2?c=e:n>=r[e]&&n<r[e+1]&&(c=e+1):n>=r[e]&&(c=e);o.normalizeSlideIndex&&(c<0||"undefined"===typeof c)&&(c=0)}if(i.indexOf(n)>=0)u=i.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,c);u=e+Math.floor((c-e)/o.slidesPerGroup)}if(u>=i.length&&(u=i.length-1),c===a)return void(u!==l&&(t.snapIndex=u,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Z.extend(t,{snapIndex:u,realIndex:d,previousIndex:a,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}function le(e){const t=this,n=t.params,r=c(e.target).closest("."+n.slideClass)[0];let i=!1;if(r)for(let o=0;o<t.slides.length;o+=1)t.slides[o]===r&&(i=!0);if(!r||!i)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(c(r).attr("data-swiper-slide-index"),10):t.clickedIndex=c(r).index(),n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var ue={updateSize:ee,updateSlides:te,updateAutoHeight:ne,updateSlidesOffset:re,updateSlidesProgress:ie,updateProgress:oe,updateSlidesClasses:ae,updateActiveIndex:se,updateClickedSlide:le};function ce(e=(this.isHorizontal()?"x":"y")){const t=this,{params:n,rtlTranslate:r,translate:i,$wrapperEl:o}=t;if(n.virtualTranslate)return r?-i:i;if(n.cssMode)return i;let a=Z.getTranslate(o[0],e);return r&&(a=-a),a||0}function de(e,t){const n=this,{rtlTranslate:r,params:i,$wrapperEl:o,wrapperEl:a,progress:s}=n;let l=0,u=0;const c=0;let d;n.isHorizontal()?l=r?-e:e:u=e,i.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),i.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-u:i.virtualTranslate||o.transform(`translate3d(${l}px, ${u}px, ${c}px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:u;const f=n.maxTranslate()-n.minTranslate();d=0===f?0:(e-n.minTranslate())/f,d!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function fe(){return-this.snapGrid[0]}function he(){return-this.snapGrid[this.snapGrid.length-1]}function pe(e=0,t=this.params.speed,n=!0,r=!0,i){const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const l=o.minTranslate(),u=o.maxTranslate();let c;if(c=r&&e>l?l:r&&e<u?u:e,o.updateProgress(c),a.cssMode){const e=o.isHorizontal();return 0===t?s[e?"scrollLeft":"scrollTop"]=-c:s.scrollTo?s.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"}):s[e?"scrollLeft":"scrollTop"]=-c,!0}return 0===t?(o.setTransition(0),o.setTranslate(c),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(c),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}var me={getTranslate:ce,setTranslate:de,minTranslate:fe,maxTranslate:he,translateTo:pe};function ge(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)}function ve(e=!0,t){const n=this,{activeIndex:r,params:i,previousIndex:o}=n;if(i.cssMode)return;i.autoHeight&&n.updateAutoHeight();let a=t;if(a||(a=r>o?"next":r<o?"prev":"reset"),n.emit("transitionStart"),e&&r!==o){if("reset"===a)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===a?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}}function ye(e=!0,t){const n=this,{activeIndex:r,previousIndex:i,params:o}=n;if(n.animating=!1,o.cssMode)return;n.setTransition(0);let a=t;if(a||(a=r>i?"next":r<i?"prev":"reset"),n.emit("transitionEnd"),e&&r!==i){if("reset"===a)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===a?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}var be={setTransition:ge,transitionStart:ve,transitionEnd:ye};function we(e=0,t=this.params.speed,n=!0,r){const i=this;let o=e;o<0&&(o=0);const{params:a,snapGrid:s,slidesGrid:l,previousIndex:u,activeIndex:c,rtlTranslate:d,wrapperEl:f}=i;if(i.animating&&a.preventInteractionOnTransition)return!1;const h=Math.min(i.params.slidesPerGroupSkip,o);let p=h+Math.floor((o-h)/i.params.slidesPerGroup);p>=s.length&&(p=s.length-1),(c||a.initialSlide||0)===(u||0)&&n&&i.emit("beforeSlideChangeStart");const m=-s[p];if(i.updateProgress(m),a.normalizeSlideIndex)for(let v=0;v<l.length;v+=1)-Math.floor(100*m)>=Math.floor(100*l[v])&&(o=v);if(i.initialized&&o!==c){if(!i.allowSlideNext&&m<i.translate&&m<i.minTranslate())return!1;if(!i.allowSlidePrev&&m>i.translate&&m>i.maxTranslate()&&(c||0)!==o)return!1}let g;if(g=o>c?"next":o<c?"prev":"reset",d&&-m===i.translate||!d&&m===i.translate)return i.updateActiveIndex(o),a.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==a.effect&&i.setTranslate(m),"reset"!==g&&(i.transitionStart(n,g),i.transitionEnd(n,g)),!1;if(a.cssMode){const e=i.isHorizontal();let n=-m;return d&&(n=f.scrollWidth-f.offsetWidth-n),0===t?f[e?"scrollLeft":"scrollTop"]=n:f.scrollTo?f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"}):f[e?"scrollLeft":"scrollTop"]=n,!0}return 0===t?(i.setTransition(0),i.setTranslate(m),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,g),i.transitionEnd(n,g)):(i.setTransition(t),i.setTranslate(m),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,g),i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,g))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd))),!0}function Ce(e=0,t=this.params.speed,n=!0,r){const i=this;let o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,n,r)}function xe(e=this.params.speed,t=!0,n){const r=this,{params:i,animating:o}=r,a=r.activeIndex<i.slidesPerGroupSkip?1:i.slidesPerGroup;if(i.loop){if(o)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return r.slideTo(r.activeIndex+a,e,t,n)}function Ee(e=this.params.speed,t=!0,n){const r=this,{params:i,animating:o,snapGrid:a,slidesGrid:s,rtlTranslate:l}=r;if(i.loop){if(o)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}const u=l?r.translate:-r.translate;function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=c(u),f=a.map(e=>c(e));s.map(e=>c(e)),a[f.indexOf(d)];let h,p=a[f.indexOf(d)-1];return"undefined"===typeof p&&i.cssMode&&a.forEach(e=>{!p&&d>=e&&(p=e)}),"undefined"!==typeof p&&(h=s.indexOf(p),h<0&&(h=r.activeIndex-1)),r.slideTo(h,e,t,n)}function Se(e=this.params.speed,t=!0,n){const r=this;return r.slideTo(r.activeIndex,e,t,n)}function Te(e=this.params.speed,t=!0,n,r=.5){const i=this;let o=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){const e=i.snapGrid[s],t=i.snapGrid[s+1];l-e>(t-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[s-1],t=i.snapGrid[s];l-e<=(t-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)}function ke(){const e=this,{params:t,$wrapperEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(c(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-r/2||o>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),Z.nextTick(()=>{e.slideTo(o)})):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),Z.nextTick(()=>{e.slideTo(o)})):e.slideTo(o)}else e.slideTo(o)}var ze={slideTo:we,slideToLoop:Ce,slideNext:xe,slidePrev:Ee,slideReset:Se,slideToClosest:Te,slideToClickedSlide:ke};function Me(){const e=this,{params:t,$wrapperEl:n}=e;n.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let r=n.children("."+t.slideClass);if(t.loopFillGroupWithBlank){const e=t.slidesPerGroup-r.length%t.slidesPerGroup;if(e!==t.slidesPerGroup){for(let r=0;r<e;r+=1){const e=c(o.createElement("div")).addClass(`${t.slideClass} ${t.slideBlankClass}`);n.append(e)}r=n.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=r.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>r.length&&(e.loopedSlides=r.length);const i=[],a=[];r.each((t,n)=>{const o=c(n);t<e.loopedSlides&&a.push(n),t<r.length&&t>=r.length-e.loopedSlides&&i.push(n),o.attr("data-swiper-slide-index",t)});for(let o=0;o<a.length;o+=1)n.append(c(a[o].cloneNode(!0)).addClass(t.slideDuplicateClass));for(let o=i.length-1;o>=0;o-=1)n.prepend(c(i[o].cloneNode(!0)).addClass(t.slideDuplicateClass))}function Ne(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:r,allowSlidePrev:i,allowSlideNext:o,snapGrid:a,rtlTranslate:s}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const u=-a[t],c=u-e.getTranslate();if(t<r){l=n.length-3*r+t,l+=r;const i=e.slideTo(l,0,!1,!0);i&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}else if(t>=n.length-r){l=-n.length+t+r,l+=r;const i=e.slideTo(l,0,!1,!0);i&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}e.allowSlidePrev=i,e.allowSlideNext=o,e.emit("loopFix")}function Ae(){const e=this,{$wrapperEl:t,params:n,slides:r}=e;t.children(`.${n.slideClass}.${n.slideDuplicateClass},.${n.slideClass}.${n.slideBlankClass}`).remove(),r.removeAttr("data-swiper-slide-index")}var Oe={loopCreate:Me,loopFix:Ne,loopDestroy:Ae};function Pe(e){const t=this;if(Q.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.el;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"}function _e(){const e=this;Q.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}var De={setGrabCursor:Pe,unsetGrabCursor:_e};function Le(e){const t=this,{$wrapperEl:n,params:r}=t;if(r.loop&&t.loopDestroy(),"object"===typeof e&&"length"in e)for(let i=0;i<e.length;i+=1)e[i]&&n.append(e[i]);else n.append(e);r.loop&&t.loopCreate(),r.observer&&Q.observer||t.update()}function Be(e){const t=this,{params:n,$wrapperEl:r,activeIndex:i}=t;n.loop&&t.loopDestroy();let o=i+1;if("object"===typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&r.prepend(e[t]);o=i+e.length}else r.prepend(e);n.loop&&t.loopCreate(),n.observer&&Q.observer||t.update(),t.slideTo(o,0,!1)}function Re(e,t){const n=this,{$wrapperEl:r,params:i,activeIndex:o}=n;let a=o;i.loop&&(a-=n.loopedSlides,n.loopDestroy(),n.slides=r.children("."+i.slideClass));const s=n.slides.length;if(e<=0)return void n.prependSlide(t);if(e>=s)return void n.appendSlide(t);let l=a>e?a+1:a;const u=[];for(let c=s-1;c>=e;c-=1){const e=n.slides.eq(c);e.remove(),u.unshift(e)}if("object"===typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&r.append(t[e]);l=a>e?a+t.length:a}else r.append(t);for(let c=0;c<u.length;c+=1)r.append(u[c]);i.loop&&n.loopCreate(),i.observer&&Q.observer||n.update(),i.loop?n.slideTo(l+n.loopedSlides,0,!1):n.slideTo(l,0,!1)}function Ie(e){const t=this,{params:n,$wrapperEl:r,activeIndex:i}=t;let o=i;n.loop&&(o-=t.loopedSlides,t.loopDestroy(),t.slides=r.children("."+n.slideClass));let a,s=o;if("object"===typeof e&&"length"in e){for(let n=0;n<e.length;n+=1)a=e[n],t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1);s=Math.max(s,0)}else a=e,t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1),s=Math.max(s,0);n.loop&&t.loopCreate(),n.observer&&Q.observer||t.update(),n.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)}function He(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}var Ve={appendSlide:Le,prependSlide:Be,addSlide:Re,removeSlide:Ie,removeAllSlides:He};const $e=function(){const e=s.navigator.platform,t=s.navigator.userAgent,n={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!s.cordova&&!s.phonegap),phonegap:!(!s.cordova&&!s.phonegap),electron:!1},r=s.screen.width,i=s.screen.height,o=t.match(/(Android);?[\s\/]+([\d.]+)?/);let a=t.match(/(iPad).*OS\s([\d_]+)/);const l=t.match(/(iPod)(.*OS\s([\d_]+))?/),u=!a&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),c=t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0,d=t.indexOf("Edge/")>=0,f=t.indexOf("Gecko/")>=0&&t.indexOf("Firefox/")>=0,h="Win32"===e,p=t.toLowerCase().indexOf("electron")>=0;let m="MacIntel"===e;return!a&&m&&Q.touch&&(1024===r&&1366===i||834===r&&1194===i||834===r&&1112===i||768===r&&1024===i)&&(a=t.match(/(Version)\/([\d.]+)/),m=!1),n.ie=c,n.edge=d,n.firefox=f,o&&!h&&(n.os="android",n.osVersion=o[2],n.android=!0,n.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(a||u||l)&&(n.os="ios",n.ios=!0),u&&!l&&(n.osVersion=u[2].replace(/_/g,"."),n.iphone=!0),a&&(n.osVersion=a[2].replace(/_/g,"."),n.ipad=!0),l&&(n.osVersion=l[3]?l[3].replace(/_/g,"."):null,n.ipod=!0),n.ios&&n.osVersion&&t.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),n.webView=!(!(u||a||l)||!t.match(/.*AppleWebKit(?!.*Safari)/i)&&!s.navigator.standalone)||s.matchMedia&&s.matchMedia("(display-mode: standalone)").matches,n.webview=n.webView,n.standalone=n.webView,n.desktop=!(n.ios||n.android)||p,n.desktop&&(n.electron=p,n.macos=m,n.windows=h,n.macos&&(n.os="macos"),n.windows&&(n.os="windows")),n.pixelRatio=s.devicePixelRatio||1,n}();function Fe(e){const t=this,n=t.touchEventsData,{params:r,touches:i}=t;if(t.animating&&r.preventInteractionOnTransition)return;let a=e;a.originalEvent&&(a=a.originalEvent);const l=c(a.target);if("wrapper"===r.touchEventsTarget&&!l.closest(t.wrapperEl).length)return;if(n.isTouchEvent="touchstart"===a.type,!n.isTouchEvent&&"which"in a&&3===a.which)return;if(!n.isTouchEvent&&"button"in a&&a.button>0)return;if(n.isTouched&&n.isMoved)return;if(r.noSwiping&&l.closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])return void(t.allowClick=!0);if(r.swipeHandler&&!l.closest(r.swipeHandler)[0])return;i.currentX="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,i.currentY="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY;const u=i.currentX,d=i.currentY,f=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,h=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(!f||!(u<=h||u>=s.screen.width-h)){if(Z.extend(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=u,i.startY=d,n.touchStartTime=Z.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==a.type){let e=!0;l.is(n.formElements)&&(e=!1),o.activeElement&&c(o.activeElement).is(n.formElements)&&o.activeElement!==l[0]&&o.activeElement.blur();const i=e&&t.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||i)&&a.preventDefault()}t.emit("touchStart",a)}}function je(e){const t=this,n=t.touchEventsData,{params:r,touches:i,rtlTranslate:a}=t;let s=e;if(s.originalEvent&&(s=s.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",s));if(n.isTouchEvent&&"touchmove"!==s.type)return;const l="touchmove"===s.type&&s.targetTouches&&(s.targetTouches[0]||s.changedTouches[0]),u="touchmove"===s.type?l.pageX:s.pageX,d="touchmove"===s.type?l.pageY:s.pageY;if(s.preventedByNestedSwiper)return i.startX=u,void(i.startY=d);if(!t.allowTouchMove)return t.allowClick=!1,void(n.isTouched&&(Z.extend(i,{startX:u,startY:d,currentX:u,currentY:d}),n.touchStartTime=Z.now()));if(n.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(t.isVertical()){if(d<i.startY&&t.translate<=t.maxTranslate()||d>i.startY&&t.translate>=t.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<i.startX&&t.translate<=t.maxTranslate()||u>i.startX&&t.translate>=t.minTranslate())return;if(n.isTouchEvent&&o.activeElement&&s.target===o.activeElement&&c(s.target).is(n.formElements))return n.isMoved=!0,void(t.allowClick=!1);if(n.allowTouchCallbacks&&t.emit("touchMove",s),s.targetTouches&&s.targetTouches.length>1)return;i.currentX=u,i.currentY=d;const f=i.currentX-i.startX,h=i.currentY-i.startY;if(t.params.threshold&&Math.sqrt(f**2+h**2)<t.params.threshold)return;if("undefined"===typeof n.isScrolling){let e;t.isHorizontal()&&i.currentY===i.startY||t.isVertical()&&i.currentX===i.startX?n.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,n.isScrolling=t.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(n.isScrolling&&t.emit("touchMoveOpposite",s),"undefined"===typeof n.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;t.allowClick=!1,!r.cssMode&&s.cancelable&&s.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&s.stopPropagation(),n.isMoved||(r.loop&&t.loopFix(),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!r.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",s)),t.emit("sliderMove",s),n.isMoved=!0;let p=t.isHorizontal()?f:h;i.diff=p,p*=r.touchRatio,a&&(p=-p),t.swipeDirection=p>0?"prev":"next",n.currentTranslate=p+n.startTranslate;let m=!0,g=r.resistanceRatio;if(r.touchReleaseOnEdges&&(g=0),p>0&&n.currentTranslate>t.minTranslate()?(m=!1,r.resistance&&(n.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+n.startTranslate+p)**g)):p<0&&n.currentTranslate<t.maxTranslate()&&(m=!1,r.resistance&&(n.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-n.startTranslate-p)**g)),m&&(s.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(p)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,n.currentTranslate=n.startTranslate,void(i.diff=t.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}r.followFinger&&!r.cssMode&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&(0===n.velocities.length&&n.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:Z.now()})),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}function Ue(e){const t=this,n=t.touchEventsData,{params:r,touches:i,rtlTranslate:o,$wrapperEl:a,slidesGrid:s,snapGrid:l}=t;let u=e;if(u.originalEvent&&(u=u.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",u),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=Z.now(),d=c-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(u),t.emit("tap click",u),d<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",u)),n.lastClickTime=Z.now(),Z.nextTick(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let f;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,f=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,r.cssMode)return;if(r.freeMode){if(f<-t.minTranslate())return void t.slideTo(t.activeIndex);if(f>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(r.freeModeMomentum){if(n.velocities.length>1){const e=n.velocities.pop(),i=n.velocities.pop(),o=e.position-i.position,a=e.time-i.time;t.velocity=o/a,t.velocity/=2,Math.abs(t.velocity)<r.freeModeMinimumVelocity&&(t.velocity=0),(a>150||Z.now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeModeMomentumVelocityRatio,n.velocities.length=0;let e=1e3*r.freeModeMomentumRatio;const i=t.velocity*e;let s=t.translate+i;o&&(s=-s);let u,c=!1;const d=20*Math.abs(t.velocity)*r.freeModeMomentumBounceRatio;let f;if(s<t.maxTranslate())r.freeModeMomentumBounce?(s+t.maxTranslate()<-d&&(s=t.maxTranslate()-d),u=t.maxTranslate(),c=!0,n.allowMomentumBounce=!0):s=t.maxTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(s>t.minTranslate())r.freeModeMomentumBounce?(s-t.minTranslate()>d&&(s=t.minTranslate()+d),u=t.minTranslate(),c=!0,n.allowMomentumBounce=!0):s=t.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeModeSticky){let e;for(let t=0;t<l.length;t+=1)if(l[t]>-s){e=t;break}s=Math.abs(l[e]-s)<Math.abs(l[e-1]-s)||"next"===t.swipeDirection?l[e]:l[e-1],s=-s}if(f&&t.once("transitionEnd",()=>{t.loopFix()}),0!==t.velocity){if(e=o?Math.abs((-s-t.translate)/t.velocity):Math.abs((s-t.translate)/t.velocity),r.freeModeSticky){const n=Math.abs((o?-s:s)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=n<i?r.speed:n<2*i?1.5*r.speed:2.5*r.speed}}else if(r.freeModeSticky)return void t.slideToClosest();r.freeModeMomentumBounce&&c?(t.updateProgress(u),t.setTransition(e),t.setTranslate(s),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd(()=>{t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(r.speed),setTimeout(()=>{t.setTranslate(u),a.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(s),t.setTransition(e),t.setTranslate(s),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(s),t.updateActiveIndex(),t.updateSlidesClasses()}else if(r.freeModeSticky)return void t.slideToClosest();return void((!r.freeModeMomentum||d>=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses()))}let h=0,p=t.slidesSizesGrid[0];for(let v=0;v<s.length;v+=v<r.slidesPerGroupSkip?1:r.slidesPerGroup){const e=v<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;"undefined"!==typeof s[v+e]?f>=s[v]&&f<s[v+e]&&(h=v,p=s[v+e]-s[v]):f>=s[v]&&(h=v,p=s[s.length-1]-s[s.length-2])}const m=(f-s[h])/p,g=h<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(d>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(m>=r.longSwipesRatio?t.slideTo(h+g):t.slideTo(h)),"prev"===t.swipeDirection&&(m>1-r.longSwipesRatio?t.slideTo(h+g):t.slideTo(h))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);const e=t.navigation&&(u.target===t.navigation.nextEl||u.target===t.navigation.prevEl);e?u.target===t.navigation.nextEl?t.slideTo(h+g):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(h+g),"prev"===t.swipeDirection&&t.slideTo(h))}}function qe(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function We(e){const t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function Ge(){const e=this,{wrapperEl:t,rtlTranslate:n}=e;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=n?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();r=0===i?0:(e.translate-e.minTranslate())/i,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let Xe=!1;function Ye(){}function Ke(){const e=this,{params:t,touchEvents:n,el:r,wrapperEl:i}=e;e.onTouchStart=Fe.bind(e),e.onTouchMove=je.bind(e),e.onTouchEnd=Ue.bind(e),t.cssMode&&(e.onScroll=Ge.bind(e)),e.onClick=We.bind(e);const a=!!t.nested;if(!Q.touch&&Q.pointerEvents)r.addEventListener(n.start,e.onTouchStart,!1),o.addEventListener(n.move,e.onTouchMove,a),o.addEventListener(n.end,e.onTouchEnd,!1);else{if(Q.touch){const i=!("touchstart"!==n.start||!Q.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(n.start,e.onTouchStart,i),r.addEventListener(n.move,e.onTouchMove,Q.passiveListener?{passive:!1,capture:a}:a),r.addEventListener(n.end,e.onTouchEnd,i),n.cancel&&r.addEventListener(n.cancel,e.onTouchEnd,i),Xe||(o.addEventListener("touchstart",Ye),Xe=!0)}(t.simulateTouch&&!$e.ios&&!$e.android||t.simulateTouch&&!Q.touch&&$e.ios)&&(r.addEventListener("mousedown",e.onTouchStart,!1),o.addEventListener("mousemove",e.onTouchMove,a),o.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",e.onClick,!0),t.cssMode&&i.addEventListener("scroll",e.onScroll),t.updateOnWindowResize?e.on($e.ios||$e.android?"resize orientationchange observerUpdate":"resize observerUpdate",qe,!0):e.on("observerUpdate",qe,!0)}function Ze(){const e=this,{params:t,touchEvents:n,el:r,wrapperEl:i}=e,a=!!t.nested;if(!Q.touch&&Q.pointerEvents)r.removeEventListener(n.start,e.onTouchStart,!1),o.removeEventListener(n.move,e.onTouchMove,a),o.removeEventListener(n.end,e.onTouchEnd,!1);else{if(Q.touch){const i=!("onTouchStart"!==n.start||!Q.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(n.start,e.onTouchStart,i),r.removeEventListener(n.move,e.onTouchMove,a),r.removeEventListener(n.end,e.onTouchEnd,i),n.cancel&&r.removeEventListener(n.cancel,e.onTouchEnd,i)}(t.simulateTouch&&!$e.ios&&!$e.android||t.simulateTouch&&!Q.touch&&$e.ios)&&(r.removeEventListener("mousedown",e.onTouchStart,!1),o.removeEventListener("mousemove",e.onTouchMove,a),o.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",e.onClick,!0),t.cssMode&&i.removeEventListener("scroll",e.onScroll),e.off($e.ios||$e.android?"resize orientationchange observerUpdate":"resize observerUpdate",qe)}var Qe={attachEvents:Ke,detachEvents:Ze};function Je(){const e=this,{activeIndex:t,initialized:n,loopedSlides:r=0,params:i,$el:o}=e,a=i.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=e.getBreakpoint(a);if(s&&e.currentBreakpoint!==s){const l=s in a?a[s]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(e=>{const t=l[e];"undefined"!==typeof t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});const u=l||e.originalParams,c=i.slidesPerColumn>1,d=u.slidesPerColumn>1;c&&!d?o.removeClass(`${i.containerModifierClass}multirow ${i.containerModifierClass}multirow-column`):!c&&d&&(o.addClass(i.containerModifierClass+"multirow"),"column"===u.slidesPerColumnFill&&o.addClass(i.containerModifierClass+"multirow-column"));const f=u.direction&&u.direction!==i.direction,h=i.loop&&(u.slidesPerView!==i.slidesPerView||f);f&&n&&e.changeDirection(),Z.extend(e.params,u),Z.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=s,h&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}function et(e){if(!e)return;let t=!1;const n=Object.keys(e).map(e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1)),n=s.innerHeight*t;return{value:n,point:e}}return{value:e,point:e}});n.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let r=0;r<n.length;r+=1){const{point:e,value:i}=n[r];i<=s.innerWidth&&(t=e)}return t||"max"}var tt={setBreakpoint:Je,getBreakpoint:et};function nt(){const e=this,{classNames:t,params:n,rtl:r,$el:i}=e,o=[];o.push("initialized"),o.push(n.direction),n.freeMode&&o.push("free-mode"),n.autoHeight&&o.push("autoheight"),r&&o.push("rtl"),n.slidesPerColumn>1&&(o.push("multirow"),"column"===n.slidesPerColumnFill&&o.push("multirow-column")),$e.android&&o.push("android"),$e.ios&&o.push("ios"),n.cssMode&&o.push("css-mode"),o.forEach(e=>{t.push(n.containerModifierClass+e)}),i.addClass(t.join(" "))}function rt(){const e=this,{$el:t,classNames:n}=e;t.removeClass(n.join(" "))}var it={addClasses:nt,removeClasses:rt};function ot(e,t,n,r,i,o){let a;function l(){o&&o()}const u=c(e).parent("picture")[0];u||e.complete&&i?l():t?(a=new s.Image,a.onload=l,a.onerror=l,r&&(a.sizes=r),n&&(a.srcset=n),t&&(a.src=t)):l()}function at(){const e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){const r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}var st={loadImage:ot,preloadImages:at};function lt(){const e=this,t=e.params,n=e.isLocked,r=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&r?e.isLocked=r<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),n&&n!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}var ut={checkOverflow:lt},ct={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0};const dt={update:ue,translate:me,transition:be,slide:ze,loop:Oe,grabCursor:De,manipulation:Ve,events:Qe,breakpoints:tt,checkOverflow:ut,classes:it,images:st},ft={};class ht extends J{constructor(...e){let t,n;1===e.length&&e[0].constructor&&e[0].constructor===Object?n=e[0]:[t,n]=e,n||(n={}),n=Z.extend({},n),t&&!n.el&&(n.el=t),super(n),Object.keys(dt).forEach(e=>{Object.keys(dt[e]).forEach(t=>{ht.prototype[t]||(ht.prototype[t]=dt[e][t])})});const r=this;"undefined"===typeof r.modules&&(r.modules={}),Object.keys(r.modules).forEach(e=>{const t=r.modules[e];if(t.params){const e=Object.keys(t.params)[0],r=t.params[e];if("object"!==typeof r||null===r)return;if(!(e in n)||!("enabled"in r))return;!0===n[e]&&(n[e]={enabled:!0}),"object"!==typeof n[e]||"enabled"in n[e]||(n[e].enabled=!0),n[e]||(n[e]={enabled:!1})}});const i=Z.extend({},ct);r.useModulesParams(i),r.params=Z.extend({},i,ft,n),r.originalParams=Z.extend({},r.params),r.passedParams=Z.extend({},n),r.$=c;const o=c(r.params.el);if(t=o[0],!t)return;if(o.length>1){const e=[];return o.each((t,r)=>{const i=Z.extend({},n,{el:r});e.push(new ht(i))}),e}let a;return t.swiper=r,o.data("swiper",r),t&&t.shadowRoot&&t.shadowRoot.querySelector?(a=c(t.shadowRoot.querySelector("."+r.params.wrapperClass)),a.children=e=>o.children(e)):a=o.children("."+r.params.wrapperClass),Z.extend(r,{$el:o,el:t,$wrapperEl:a,wrapperEl:a[0],classNames:[],slides:c(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===r.params.direction},isVertical(){return"vertical"===r.params.direction},rtl:"rtl"===t.dir.toLowerCase()||"rtl"===o.css("direction"),rtlTranslate:"horizontal"===r.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===o.css("direction")),wrongRTL:"-webkit-box"===a.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"];let t=["mousedown","mousemove","mouseup"];return Q.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},Q.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:Z.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.useModules(),r.params.init&&r.init(),r}slidesPerViewDynamic(){const e=this,{params:t,slides:n,slidesGrid:r,size:i,activeIndex:o}=e;let a=1;if(t.centeredSlides){let e,t=n[o].swiperSlideSize;for(let r=o+1;r<n.length;r+=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,a+=1,t>i&&(e=!0));for(let r=o-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,a+=1,t>i&&(e=!0))}else for(let s=o+1;s<n.length;s+=1)r[s]-r[o]<i&&(a+=1);return a}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(r(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||r()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${r}`).addClass(`${n.params.containerModifierClass}${e}`),n.params.direction=e,n.slides.each((t,n)=>{"vertical"===e?n.style.width="":n.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}init(){const e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}destroy(e=!0,t=!0){const n=this,{params:r,$el:i,$wrapperEl:o,slides:a}=n;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),Z.deleteProps(n)),n.destroyed=!0),null}static extendDefaults(e){Z.extend(ft,e)}static get extendedDefaults(){return ft}static get defaults(){return ct}static get Class(){return J}static get $(){return c}}var pt={name:"device",proto:{device:$e},static:{device:$e}},mt={name:"support",proto:{support:Q},static:{support:Q}};const gt=function(){function e(){const e=s.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}return{isEdge:!!s.navigator.userAgent.match(/Edge/g),isSafari:e(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(s.navigator.userAgent)}}();var vt={name:"browser",proto:{browser:gt},static:{browser:gt}},yt={name:"resize",create(){const e=this;Z.extend(e,{resize:{resizeHandler(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init(){const e=this;s.addEventListener("resize",e.resize.resizeHandler),s.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy(){const e=this;s.removeEventListener("resize",e.resize.resizeHandler),s.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}};const bt={func:s.MutationObserver||s.WebkitMutationObserver,attach(e,t={}){const n=this,r=bt.func,i=new r(e=>{if(1===e.length)return void n.emit("observerUpdate",e[0]);const t=function(){n.emit("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)});i.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),n.observer.observers.push(i)},init(){const e=this;if(Q.observer&&e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let n=0;n<t.length;n+=1)e.observer.attach(t[n])}e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy(){const e=this;e.observer.observers.forEach(e=>{e.disconnect()}),e.observer.observers=[]}};var wt={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create(){const e=this;Z.extend(e,{observer:{init:bt.init.bind(e),attach:bt.attach.bind(e),destroy:bt.destroy.bind(e),observers:[]}})},on:{init(){const e=this;e.observer.init()},destroy(){const e=this;e.observer.destroy()}}};const Ct={update(e){const t=this,{slidesPerView:n,slidesPerGroup:r,centeredSlides:i}=t.params,{addSlidesBefore:o,addSlidesAfter:a}=t.params.virtual,{from:s,to:l,slides:u,slidesGrid:c,renderSlide:d,offset:f}=t.virtual;t.updateActiveIndex();const h=t.activeIndex||0;let p,m,g;p=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",i?(m=Math.floor(n/2)+r+o,g=Math.floor(n/2)+r+a):(m=n+(r-1)+o,g=r+a);const v=Math.max((h||0)-g,0),y=Math.min((h||0)+m,u.length-1),b=(t.slidesGrid[v]||0)-(t.slidesGrid[0]||0);function w(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(Z.extend(t.virtual,{from:v,to:y,offset:b,slidesGrid:t.slidesGrid}),s===v&&l===y&&!e)return t.slidesGrid!==c&&b!==f&&t.slides.css(p,b+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:b,from:v,to:y,slides:function(){const e=[];for(let t=v;t<=y;t+=1)e.push(u[t]);return e}()}),void w();const C=[],x=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(let E=s;E<=l;E+=1)(E<v||E>y)&&t.$wrapperEl.find(`.${t.params.slideClass}[data-swiper-slide-index="${E}"]`).remove();for(let E=0;E<u.length;E+=1)E>=v&&E<=y&&("undefined"===typeof l||e?x.push(E):(E>l&&x.push(E),E<s&&C.push(E)));x.forEach(e=>{t.$wrapperEl.append(d(u[e],e))}),C.sort((e,t)=>t-e).forEach(e=>{t.$wrapperEl.prepend(d(u[e],e))}),t.$wrapperEl.children(".swiper-slide").css(p,b+"px"),w()},renderSlide(e,t){const n=this,r=n.params.virtual;if(r.cache&&n.virtual.cache[t])return n.virtual.cache[t];const i=r.renderSlide?c(r.renderSlide.call(n,e,t)):c(`<div class="${n.params.slideClass}" data-swiper-slide-index="${t}">${e}</div>`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),r.cache&&(n.virtual.cache[t]=i),i},appendSlide(e){const t=this;if("object"===typeof e&&"length"in e)for(let n=0;n<e.length;n+=1)e[n]&&t.virtual.slides.push(e[n]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide(e){const t=this,n=t.activeIndex;let r=n+1,i=1;if(Array.isArray(e)){for(let n=0;n<e.length;n+=1)e[n]&&t.virtual.slides.unshift(e[n]);r=n+e.length,i=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){const e=t.virtual.cache,n={};Object.keys(e).forEach(t=>{const r=e[t],o=r.attr("data-swiper-slide-index");o&&r.attr("data-swiper-slide-index",parseInt(o,10)+1),n[parseInt(t,10)+i]=r}),t.virtual.cache=n}t.virtual.update(!0),t.slideTo(r,0)},removeSlide(e){const t=this;if("undefined"===typeof e||null===e)return;let n=t.activeIndex;if(Array.isArray(e))for(let r=e.length-1;r>=0;r-=1)t.virtual.slides.splice(e[r],1),t.params.virtual.cache&&delete t.virtual.cache[e[r]],e[r]<n&&(n-=1),n=Math.max(n,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<n&&(n-=1),n=Math.max(n,0);t.virtual.update(!0),t.slideTo(n,0)},removeAllSlides(){const e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}};var xt={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create(){const e=this;Z.extend(e,{virtual:{update:Ct.update.bind(e),appendSlide:Ct.appendSlide.bind(e),prependSlide:Ct.prependSlide.bind(e),removeSlide:Ct.removeSlide.bind(e),removeAllSlides:Ct.removeAllSlides.bind(e),renderSlide:Ct.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit(){const e=this;if(!e.params.virtual.enabled)return;e.classNames.push(e.params.containerModifierClass+"virtual");const t={watchSlidesProgress:!0};Z.extend(e.params,t),Z.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()},setTranslate(){const e=this;e.params.virtual.enabled&&e.virtual.update()}}};const Et={handle(e){const t=this,{rtlTranslate:n}=t;let r=e;r.originalEvent&&(r=r.originalEvent);const i=r.keyCode||r.charCode,a=t.params.keyboard.pageUpDown,l=a&&33===i,u=a&&34===i,c=37===i,d=39===i,f=38===i,h=40===i;if(!t.allowSlideNext&&(t.isHorizontal()&&d||t.isVertical()&&h||u))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&c||t.isVertical()&&f||l))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey)&&(!o.activeElement||!o.activeElement.nodeName||"input"!==o.activeElement.nodeName.toLowerCase()&&"textarea"!==o.activeElement.nodeName.toLowerCase())){if(t.params.keyboard.onlyInViewport&&(l||u||c||d||f||h)){let e=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;const r=s.innerWidth,i=s.innerHeight,o=t.$el.offset();n&&(o.left-=t.$el[0].scrollLeft);const a=[[o.left,o.top],[o.left+t.width,o.top],[o.left,o.top+t.height],[o.left+t.width,o.top+t.height]];for(let t=0;t<a.length;t+=1){const n=a[t];n[0]>=0&&n[0]<=r&&n[1]>=0&&n[1]<=i&&(e=!0)}if(!e)return}t.isHorizontal()?((l||u||c||d)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),((u||d)&&!n||(l||c)&&n)&&t.slideNext(),((l||c)&&!n||(u||d)&&n)&&t.slidePrev()):((l||u||f||h)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),(u||h)&&t.slideNext(),(l||f)&&t.slidePrev()),t.emit("keyPress",i)}},enable(){const e=this;e.keyboard.enabled||(c(o).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable(){const e=this;e.keyboard.enabled&&(c(o).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}};var St={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create(){const e=this;Z.extend(e,{keyboard:{enabled:!1,enable:Et.enable.bind(e),disable:Et.disable.bind(e),handle:Et.handle.bind(e)}})},on:{init(){const e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy(){const e=this;e.keyboard.enabled&&e.keyboard.disable()}}};function Tt(){const e="onwheel";let t=e in o;if(!t){const n=o.createElement("div");n.setAttribute(e,"return;"),t="function"===typeof n[e]}return!t&&o.implementation&&o.implementation.hasFeature&&!0!==o.implementation.hasFeature("","")&&(t=o.implementation.hasFeature("Events.wheel","3.0")),t}const kt={lastScrollTime:Z.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event(){return s.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":Tt()?"wheel":"mousewheel"},normalize(e){const t=10,n=40,r=800;let i=0,o=0,a=0,s=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(i=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(i=o,o=0),a=i*t,s=o*t,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=s,s=0),(a||s)&&e.deltaMode&&(1===e.deltaMode?(a*=n,s*=n):(a*=r,s*=r)),a&&!i&&(i=a<1?-1:1),s&&!o&&(o=s<1?-1:1),{spinX:i,spinY:o,pixelX:a,pixelY:s}},handleMouseEnter(){const e=this;e.mouseEntered=!0},handleMouseLeave(){const e=this;e.mouseEntered=!1},handle(e){let t=e;const n=this,r=n.params.mousewheel;n.params.cssMode&&t.preventDefault();let i=n.$el;if("container"!==n.params.mousewheel.eventsTarged&&(i=c(n.params.mousewheel.eventsTarged)),!n.mouseEntered&&!i[0].contains(t.target)&&!r.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);let o=0;const a=n.rtlTranslate?-1:1,s=kt.normalize(t);if(r.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;o=-s.pixelX*a}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;o=-s.pixelY}else o=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*a:-s.pixelY;if(0===o)return!0;if(r.invert&&(o=-o),n.params.freeMode){const e={time:Z.now(),delta:Math.abs(o),direction:Math.sign(o)},{lastEventBeforeSnap:i}=n.mousewheel,a=i&&e.time<i.time+500&&e.delta<=i.delta&&e.direction===i.direction;if(!a){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();let i=n.getTranslate()+o*r.sensitivity;const s=n.isBeginning,l=n.isEnd;if(i>=n.minTranslate()&&(i=n.minTranslate()),i<=n.maxTranslate()&&(i=n.maxTranslate()),n.setTransition(0),n.setTranslate(i),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!s&&n.isBeginning||!l&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;const t=n.mousewheel.recentWheelEvents;t.length>=15&&t.shift();const r=t.length?t[t.length-1]:void 0,i=t[0];if(t.push(e),r&&(e.delta>r.delta||e.direction!==r.direction))t.splice(0);else if(t.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const r=o>0?.8:.2;n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.mousewheel.timeout=Z.nextTick(()=>{n.slideToClosest(n.params.speed,!0,void 0,r)},0)}n.mousewheel.timeout||(n.mousewheel.timeout=Z.nextTick(()=>{const r=.5;n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.slideToClosest(n.params.speed,!0,void 0,r)},500))}if(a||n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),i===n.minTranslate()||i===n.maxTranslate())return!0}}else{const t={time:Z.now(),delta:Math.abs(o),direction:Math.sign(o),raw:e},r=n.mousewheel.recentWheelEvents;r.length>=2&&r.shift();const i=r.length?r[r.length-1]:void 0;if(r.push(t),i?(t.direction!==i.direction||t.delta>i.delta||t.time>i.time+150)&&n.mousewheel.animateSlider(t):n.mousewheel.animateSlider(t),n.mousewheel.releaseScroll(t))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider(e){const t=this;return e.delta>=6&&Z.now()-t.mousewheel.lastScrollTime<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new s.Date).getTime(),!1)},releaseScroll(e){const t=this,n=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&n.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&n.releaseOnEdges)return!0;return!1},enable(){const e=this,t=kt.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;let n=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(n=c(e.params.mousewheel.eventsTarged)),n.on("mouseenter",e.mousewheel.handleMouseEnter),n.on("mouseleave",e.mousewheel.handleMouseLeave),n.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable(){const e=this,t=kt.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;let n=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(n=c(e.params.mousewheel.eventsTarged)),n.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}};var zt={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create(){const e=this;Z.extend(e,{mousewheel:{enabled:!1,enable:kt.enable.bind(e),disable:kt.disable.bind(e),handle:kt.handle.bind(e),handleMouseEnter:kt.handleMouseEnter.bind(e),handleMouseLeave:kt.handleMouseLeave.bind(e),animateSlider:kt.animateSlider.bind(e),releaseScroll:kt.releaseScroll.bind(e),lastScrollTime:Z.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init(){const e=this;!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy(){const e=this;e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}};const Mt={update(){const e=this,t=e.params.navigation;if(e.params.loop)return;const{$nextEl:n,$prevEl:r}=e.navigation;r&&r.length>0&&(e.isBeginning?r.addClass(t.disabledClass):r.removeClass(t.disabledClass),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))},onPrevClick(e){const t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick(e){const t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init(){const e=this,t=e.params.navigation;if(!t.nextEl&&!t.prevEl)return;let n,r;t.nextEl&&(n=c(t.nextEl),e.params.uniqueNavElements&&"string"===typeof t.nextEl&&n.length>1&&1===e.$el.find(t.nextEl).length&&(n=e.$el.find(t.nextEl))),t.prevEl&&(r=c(t.prevEl),e.params.uniqueNavElements&&"string"===typeof t.prevEl&&r.length>1&&1===e.$el.find(t.prevEl).length&&(r=e.$el.find(t.prevEl))),n&&n.length>0&&n.on("click",e.navigation.onNextClick),r&&r.length>0&&r.on("click",e.navigation.onPrevClick),Z.extend(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:r,prevEl:r&&r[0]})},destroy(){const e=this,{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",e.navigation.onNextClick),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",e.navigation.onPrevClick),n.removeClass(e.params.navigation.disabledClass))}};var Nt={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create(){const e=this;Z.extend(e,{navigation:{init:Mt.init.bind(e),update:Mt.update.bind(e),destroy:Mt.destroy.bind(e),onNextClick:Mt.onNextClick.bind(e),onPrevClick:Mt.onPrevClick.bind(e)}})},on:{init(){const e=this;e.navigation.init(),e.navigation.update()},toEdge(){const e=this;e.navigation.update()},fromEdge(){const e=this;e.navigation.update()},destroy(){const e=this;e.navigation.destroy()},click(e){const t=this,{$nextEl:n,$prevEl:r}=t.navigation;if(t.params.navigation.hideOnClick&&!c(e.target).is(r)&&!c(e.target).is(n)){let e;n?e=n.hasClass(t.params.navigation.hiddenClass):r&&(e=r.hasClass(t.params.navigation.hiddenClass)),!0===e?t.emit("navigationShow",t):t.emit("navigationHide",t),n&&n.toggleClass(t.params.navigation.hiddenClass),r&&r.toggleClass(t.params.navigation.hiddenClass)}}}};const At={update(){const e=this,t=e.rtl,n=e.params.pagination;if(!n.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el;let o;const a=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(o=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),o>r-1-2*e.loopedSlides&&(o-=r-2*e.loopedSlides),o>a-1&&(o-=a),o<0&&"bullets"!==e.params.paginationType&&(o=a+o)):o="undefined"!==typeof e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const r=e.pagination.bullets;let a,s,l;if(n.dynamicBullets&&(e.pagination.bulletSize=r.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),i.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=o-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),a=o-e.pagination.dynamicBulletIndex,s=a+(Math.min(r.length,n.dynamicMainBullets)-1),l=(s+a)/2),r.removeClass(`${n.bulletActiveClass} ${n.bulletActiveClass}-next ${n.bulletActiveClass}-next-next ${n.bulletActiveClass}-prev ${n.bulletActiveClass}-prev-prev ${n.bulletActiveClass}-main`),i.length>1)r.each((e,t)=>{const r=c(t),i=r.index();i===o&&r.addClass(n.bulletActiveClass),n.dynamicBullets&&(i>=a&&i<=s&&r.addClass(n.bulletActiveClass+"-main"),i===a&&r.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),i===s&&r.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next"))});else{const t=r.eq(o),i=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=r.eq(a),o=r.eq(s);for(let e=a;e<=s;e+=1)r.eq(e).addClass(n.bulletActiveClass+"-main");if(e.params.loop)if(i>=r.length-n.dynamicMainBullets){for(let e=n.dynamicMainBullets;e>=0;e-=1)r.eq(r.length-e).addClass(n.bulletActiveClass+"-main");r.eq(r.length-n.dynamicMainBullets-1).addClass(n.bulletActiveClass+"-prev")}else t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),o.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next");else t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),o.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),o=(e.pagination.bulletSize*i-e.pagination.bulletSize)/2-l*e.pagination.bulletSize,a=t?"right":"left";r.css(e.isHorizontal()?a:"top",o+"px")}}if("fraction"===n.type&&(i.find("."+n.currentClass).text(n.formatFractionCurrent(o+1)),i.find("."+n.totalClass).text(n.formatFractionTotal(a))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const r=(o+1)/a;let s=1,l=1;"horizontal"===t?s=r:l=r,i.find("."+n.progressbarFillClass).transform(`translate3d(0,0,0) scaleX(${s}) scaleY(${l})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(i.html(n.renderCustom(e,o+1,a)),e.emit("paginationRender",e,i[0])):e.emit("paginationUpdate",e,i[0]),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)},render(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el;let i="";if("bullets"===t.type){const o=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;for(let n=0;n<o;n+=1)t.renderBullet?i+=t.renderBullet.call(e,n,t.bulletClass):i+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;r.html(i),e.pagination.bullets=r.find("."+t.bulletClass)}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,r.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,r.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])},init(){const e=this,t=e.params.pagination;if(!t.el)return;let n=c(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"===typeof t.el&&n.length>1&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass,(function(t){t.preventDefault();let n=c(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),Z.extend(e.pagination,{$el:n,el:n[0]}))},destroy(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click","."+t.bulletClass)}};var Ot={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create(){const e=this;Z.extend(e,{pagination:{init:At.init.bind(e),render:At.render.bind(e),update:At.update.bind(e),destroy:At.destroy.bind(e),dynamicBulletIndex:0}})},on:{init(){const e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange(){const e=this;(e.params.loop||"undefined"===typeof e.snapIndex)&&e.pagination.update()},snapIndexChange(){const e=this;e.params.loop||e.pagination.update()},slidesLengthChange(){const e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange(){const e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy(){const e=this;e.pagination.destroy()},click(e){const t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!c(e.target).hasClass(t.params.pagination.bulletClass)){const e=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);!0===e?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}};const Pt={setTranslate(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:n,progress:r}=e,{dragSize:i,trackSize:o,$dragEl:a,$el:s}=t,l=e.params.scrollbar;let u=i,c=(o-i)*r;n?(c=-c,c>0?(u=i-c,c=0):-c+i>o&&(u=o+c)):c<0?(u=i+c,c=0):c+i>o&&(u=o-c),e.isHorizontal()?(a.transform(`translate3d(${c}px, 0, 0)`),a[0].style.width=u+"px"):(a.transform(`translate3d(0px, ${c}px, 0)`),a[0].style.height=u+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),s[0].style.opacity=1,e.scrollbar.timeout=setTimeout(()=>{s[0].style.opacity=0,s.transition(400)},1e3))},setTransition(e){const t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:n,$el:r}=t;n[0].style.width="",n[0].style.height="";const i=e.isHorizontal()?r[0].offsetWidth:r[0].offsetHeight,o=e.size/e.virtualSize,a=o*(i/e.size);let s;s="auto"===e.params.scrollbar.dragSize?i*o:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n[0].style.width=s+"px":n[0].style.height=s+"px",r[0].style.display=o>=1?"none":"",e.params.scrollbar.hide&&(r[0].style.opacity=0),Z.extend(t,{trackSize:i,divider:o,moveDivider:a,dragSize:s}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)},getPointerPosition(e){const t=this;return t.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition(e){const t=this,{scrollbar:n,rtlTranslate:r}=t,{$el:i,dragSize:o,trackSize:a,dragStartPos:s}=n;let l;l=(n.getPointerPosition(e)-i.offset()[t.isHorizontal()?"left":"top"]-(null!==s?s:o/2))/(a-o),l=Math.max(Math.min(l,1),0),r&&(l=1-l);const u=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*l;t.updateProgress(u),t.setTranslate(u),t.updateActiveIndex(),t.updateSlidesClasses()},onDragStart(e){const t=this,n=t.params.scrollbar,{scrollbar:r,$wrapperEl:i}=t,{$el:o,$dragEl:a}=r;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===a[0]||e.target===a?r.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),a.transition(100),r.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),o.transition(0),n.hide&&o.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove(e){const t=this,{scrollbar:n,$wrapperEl:r}=t,{$el:i,$dragEl:o}=n;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,n.setDragPosition(e),r.transition(0),i.transition(0),o.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd(e){const t=this,n=t.params.scrollbar,{scrollbar:r,$wrapperEl:i}=t,{$el:o}=r;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),i.transition("")),n.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=Z.nextTick(()=>{o.css("opacity",0),o.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())},enableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:n,touchEventsDesktop:r,params:i}=e,a=t.$el,s=a[0],l=!(!Q.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},u=!(!Q.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};Q.touch?(s.addEventListener(n.start,e.scrollbar.onDragStart,l),s.addEventListener(n.move,e.scrollbar.onDragMove,l),s.addEventListener(n.end,e.scrollbar.onDragEnd,u)):(s.addEventListener(r.start,e.scrollbar.onDragStart,l),o.addEventListener(r.move,e.scrollbar.onDragMove,l),o.addEventListener(r.end,e.scrollbar.onDragEnd,u))},disableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:n,touchEventsDesktop:r,params:i}=e,a=t.$el,s=a[0],l=!(!Q.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},u=!(!Q.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};Q.touch?(s.removeEventListener(n.start,e.scrollbar.onDragStart,l),s.removeEventListener(n.move,e.scrollbar.onDragMove,l),s.removeEventListener(n.end,e.scrollbar.onDragEnd,u)):(s.removeEventListener(r.start,e.scrollbar.onDragStart,l),o.removeEventListener(r.move,e.scrollbar.onDragMove,l),o.removeEventListener(r.end,e.scrollbar.onDragEnd,u))},init(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,$el:n}=e,r=e.params.scrollbar;let i=c(r.el);e.params.uniqueNavElements&&"string"===typeof r.el&&i.length>1&&1===n.find(r.el).length&&(i=n.find(r.el));let o=i.find("."+e.params.scrollbar.dragClass);0===o.length&&(o=c(`<div class="${e.params.scrollbar.dragClass}"></div>`),i.append(o)),Z.extend(t,{$el:i,el:i[0],$dragEl:o,dragEl:o[0]}),r.draggable&&t.enableDraggable()},destroy(){const e=this;e.scrollbar.disableDraggable()}};var _t={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create(){const e=this;Z.extend(e,{scrollbar:{init:Pt.init.bind(e),destroy:Pt.destroy.bind(e),updateSize:Pt.updateSize.bind(e),setTranslate:Pt.setTranslate.bind(e),setTransition:Pt.setTransition.bind(e),enableDraggable:Pt.enableDraggable.bind(e),disableDraggable:Pt.disableDraggable.bind(e),setDragPosition:Pt.setDragPosition.bind(e),getPointerPosition:Pt.getPointerPosition.bind(e),onDragStart:Pt.onDragStart.bind(e),onDragMove:Pt.onDragMove.bind(e),onDragEnd:Pt.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init(){const e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update(){const e=this;e.scrollbar.updateSize()},resize(){const e=this;e.scrollbar.updateSize()},observerUpdate(){const e=this;e.scrollbar.updateSize()},setTranslate(){const e=this;e.scrollbar.setTranslate()},setTransition(e){const t=this;t.scrollbar.setTransition(e)},destroy(){const e=this;e.scrollbar.destroy()}}};const Dt={setTransform(e,t){const n=this,{rtl:r}=n,i=c(e),o=r?-1:1,a=i.attr("data-swiper-parallax")||"0";let s=i.attr("data-swiper-parallax-x"),l=i.attr("data-swiper-parallax-y");const u=i.attr("data-swiper-parallax-scale"),d=i.attr("data-swiper-parallax-opacity");if(s||l?(s=s||"0",l=l||"0"):n.isHorizontal()?(s=a,l="0"):(l=a,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*t*o+"%":s*t*o+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px","undefined"!==typeof d&&null!==d){const e=d-(d-1)*(1-Math.abs(t));i[0].style.opacity=e}if("undefined"===typeof u||null===u)i.transform(`translate3d(${s}, ${l}, 0px)`);else{const e=u-(u-1)*(1-Math.abs(t));i.transform(`translate3d(${s}, ${l}, 0px) scale(${e})`)}},setTranslate(){const e=this,{$el:t,slides:n,progress:r,snapGrid:i}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,n)=>{e.parallax.setTransform(n,r)}),n.each((t,n)=>{let o=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(t/2)-r*(i.length-1)),o=Math.min(Math.max(o,-1),1),c(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,n)=>{e.parallax.setTransform(n,o)})})},setTransition(e=this.params.speed){const t=this,{$el:n}=t;n.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,n)=>{const r=c(n);let i=parseInt(r.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),r.transition(i)})}};var Lt={name:"parallax",params:{parallax:{enabled:!1}},create(){const e=this;Z.extend(e,{parallax:{setTransform:Dt.setTransform.bind(e),setTranslate:Dt.setTranslate.bind(e),setTransition:Dt.setTransition.bind(e)}})},on:{beforeInit(){const e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init(){const e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate(){const e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition(e){const t=this;t.params.parallax.enabled&&t.parallax.setTransition(e)}}};const Bt={getDistanceBetweenTouches(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,r=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY,o=Math.sqrt((r-t)**2+(i-n)**2);return o},onGestureStart(e){const t=this,n=t.params.zoom,r=t.zoom,{gesture:i}=r;if(r.fakeGestureTouched=!1,r.fakeGestureMoved=!1,!Q.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;r.fakeGestureTouched=!0,i.scaleStart=Bt.getDistanceBetweenTouches(e)}i.$slideEl&&i.$slideEl.length||(i.$slideEl=c(e.target).closest("."+t.params.slideClass),0===i.$slideEl.length&&(i.$slideEl=t.slides.eq(t.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+n.containerClass),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==i.$imageWrapEl.length)?(i.$imageEl&&i.$imageEl.transition(0),t.zoom.isScaling=!0):i.$imageEl=void 0},onGestureChange(e){const t=this,n=t.params.zoom,r=t.zoom,{gesture:i}=r;if(!Q.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;r.fakeGestureMoved=!0,i.scaleMove=Bt.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(Q.gestures?r.scale=e.scale*r.currentScale:r.scale=i.scaleMove/i.scaleStart*r.currentScale,r.scale>i.maxRatio&&(r.scale=i.maxRatio-1+(r.scale-i.maxRatio+1)**.5),r.scale<n.minRatio&&(r.scale=n.minRatio+1-(n.minRatio-r.scale+1)**.5),i.$imageEl.transform(`translate3d(0,0,0) scale(${r.scale})`))},onGestureEnd(e){const t=this,n=t.params.zoom,r=t.zoom,{gesture:i}=r;if(!Q.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!$e.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,i.maxRatio),n.minRatio),i.$imageEl.transition(t.params.speed).transform(`translate3d(0,0,0) scale(${r.scale})`),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(i.$slideEl=void 0))},onTouchStart(e){const t=this,n=t.zoom,{gesture:r,image:i}=n;r.$imageEl&&0!==r.$imageEl.length&&(i.isTouched||($e.android&&e.cancelable&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove(e){const t=this,n=t.zoom,{gesture:r,image:i,velocity:o}=n;if(!r.$imageEl||0===r.$imageEl.length)return;if(t.allowClick=!1,!i.isTouched||!r.$slideEl)return;i.isMoved||(i.width=r.$imageEl[0].offsetWidth,i.height=r.$imageEl[0].offsetHeight,i.startX=Z.getTranslate(r.$imageWrapEl[0],"x")||0,i.startY=Z.getTranslate(r.$imageWrapEl[0],"y")||0,r.slideWidth=r.$slideEl[0].offsetWidth,r.slideHeight=r.$slideEl[0].offsetHeight,r.$imageWrapEl.transition(0),t.rtl&&(i.startX=-i.startX,i.startY=-i.startY));const a=i.width*n.scale,s=i.height*n.scale;if(!(a<r.slideWidth&&s<r.slideHeight)){if(i.minX=Math.min(r.slideWidth/2-a/2,0),i.maxX=-i.minX,i.minY=Math.min(r.slideHeight/2-s/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!n.isScaling){if(t.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-(i.minX-i.currentX+1)**.8),i.currentX>i.maxX&&(i.currentX=i.maxX-1+(i.currentX-i.maxX+1)**.8),i.currentY<i.minY&&(i.currentY=i.minY+1-(i.minY-i.currentY+1)**.8),i.currentY>i.maxY&&(i.currentY=i.maxY-1+(i.currentY-i.maxY+1)**.8),o.prevPositionX||(o.prevPositionX=i.touchesCurrent.x),o.prevPositionY||(o.prevPositionY=i.touchesCurrent.y),o.prevTime||(o.prevTime=Date.now()),o.x=(i.touchesCurrent.x-o.prevPositionX)/(Date.now()-o.prevTime)/2,o.y=(i.touchesCurrent.y-o.prevPositionY)/(Date.now()-o.prevTime)/2,Math.abs(i.touchesCurrent.x-o.prevPositionX)<2&&(o.x=0),Math.abs(i.touchesCurrent.y-o.prevPositionY)<2&&(o.y=0),o.prevPositionX=i.touchesCurrent.x,o.prevPositionY=i.touchesCurrent.y,o.prevTime=Date.now(),r.$imageWrapEl.transform(`translate3d(${i.currentX}px, ${i.currentY}px,0)`)}},onTouchEnd(){const e=this,t=e.zoom,{gesture:n,image:r,velocity:i}=t;if(!n.$imageEl||0===n.$imageEl.length)return;if(!r.isTouched||!r.isMoved)return r.isTouched=!1,void(r.isMoved=!1);r.isTouched=!1,r.isMoved=!1;let o=300,a=300;const s=i.x*o,l=r.currentX+s,u=i.y*a,c=r.currentY+u;0!==i.x&&(o=Math.abs((l-r.currentX)/i.x)),0!==i.y&&(a=Math.abs((c-r.currentY)/i.y));const d=Math.max(o,a);r.currentX=l,r.currentY=c;const f=r.width*t.scale,h=r.height*t.scale;r.minX=Math.min(n.slideWidth/2-f/2,0),r.maxX=-r.minX,r.minY=Math.min(n.slideHeight/2-h/2,0),r.maxY=-r.minY,r.currentX=Math.max(Math.min(r.currentX,r.maxX),r.minX),r.currentY=Math.max(Math.min(r.currentY,r.maxY),r.minY),n.$imageWrapEl.transition(d).transform(`translate3d(${r.currentX}px, ${r.currentY}px,0)`)},onTransitionEnd(){const e=this,t=e.zoom,{gesture:n}=t;n.$slideEl&&e.previousIndex!==e.activeIndex&&(n.$imageEl&&n.$imageEl.transform("translate3d(0,0,0) scale(1)"),n.$imageWrapEl&&n.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,n.$slideEl=void 0,n.$imageEl=void 0,n.$imageWrapEl=void 0)},toggle(e){const t=this,n=t.zoom;n.scale&&1!==n.scale?n.out():n.in(e)},in(e){const t=this,n=t.zoom,r=t.params.zoom,{gesture:i,image:o}=n;if(i.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?i.$slideEl=t.$wrapperEl.children("."+t.params.slideActiveClass):i.$slideEl=t.slides.eq(t.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+r.containerClass)),!i.$imageEl||0===i.$imageEl.length)return;let a,s,l,u,c,d,f,h,p,m,g,v,y,b,w,C,x,E;i.$slideEl.addClass(""+r.zoomedSlideClass),"undefined"===typeof o.touchesStart.x&&e?(a="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,s="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(a=o.touchesStart.x,s=o.touchesStart.y),n.scale=i.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,n.currentScale=i.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,e?(x=i.$slideEl[0].offsetWidth,E=i.$slideEl[0].offsetHeight,l=i.$slideEl.offset().left,u=i.$slideEl.offset().top,c=l+x/2-a,d=u+E/2-s,p=i.$imageEl[0].offsetWidth,m=i.$imageEl[0].offsetHeight,g=p*n.scale,v=m*n.scale,y=Math.min(x/2-g/2,0),b=Math.min(E/2-v/2,0),w=-y,C=-b,f=c*n.scale,h=d*n.scale,f<y&&(f=y),f>w&&(f=w),h<b&&(h=b),h>C&&(h=C)):(f=0,h=0),i.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${h}px,0)`),i.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${n.scale})`)},out(){const e=this,t=e.zoom,n=e.params.zoom,{gesture:r}=t;r.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?r.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):r.$slideEl=e.slides.eq(e.activeIndex),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+n.containerClass)),r.$imageEl&&0!==r.$imageEl.length&&(t.scale=1,t.currentScale=1,r.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),r.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),r.$slideEl.removeClass(""+n.zoomedSlideClass),r.$slideEl=void 0)},enable(){const e=this,t=e.zoom;if(t.enabled)return;t.enabled=!0;const n=!("touchstart"!==e.touchEvents.start||!Q.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},r=!Q.passiveListener||{passive:!1,capture:!0},i="."+e.params.slideClass;Q.gestures?(e.$wrapperEl.on("gesturestart",i,t.onGestureStart,n),e.$wrapperEl.on("gesturechange",i,t.onGestureChange,n),e.$wrapperEl.on("gestureend",i,t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,i,t.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,i,t.onGestureChange,r),e.$wrapperEl.on(e.touchEvents.end,i,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,i,t.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,r)},disable(){const e=this,t=e.zoom;if(!t.enabled)return;e.zoom.enabled=!1;const n=!("touchstart"!==e.touchEvents.start||!Q.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},r=!Q.passiveListener||{passive:!1,capture:!0},i="."+e.params.slideClass;Q.gestures?(e.$wrapperEl.off("gesturestart",i,t.onGestureStart,n),e.$wrapperEl.off("gesturechange",i,t.onGestureChange,n),e.$wrapperEl.off("gestureend",i,t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,i,t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,i,t.onGestureChange,r),e.$wrapperEl.off(e.touchEvents.end,i,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,i,t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,r)}};var Rt={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create(){const e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(n=>{t[n]=Bt[n].bind(e)}),Z.extend(e,{zoom:t});let n=1;Object.defineProperty(e.zoom,"scale",{get(){return n},set(t){if(n!==t){const n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,r=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,r)}n=t}})},on:{init(){const e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy(){const e=this;e.zoom.disable()},touchStart(e){const t=this;t.zoom.enabled&&t.zoom.onTouchStart(e)},touchEnd(e){const t=this;t.zoom.enabled&&t.zoom.onTouchEnd(e)},doubleTap(e){const t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}};const It={loadInSlide(e,t=!0){const n=this,r=n.params.lazy;if("undefined"===typeof e)return;if(0===n.slides.length)return;const i=n.virtual&&n.params.virtual.enabled,o=i?n.$wrapperEl.children(`.${n.params.slideClass}[data-swiper-slide-index="${e}"]`):n.slides.eq(e);let a=o.find(`.${r.elementClass}:not(.${r.loadedClass}):not(.${r.loadingClass})`);!o.hasClass(r.elementClass)||o.hasClass(r.loadedClass)||o.hasClass(r.loadingClass)||(a=a.add(o[0])),0!==a.length&&a.each((e,i)=>{const a=c(i);a.addClass(r.loadingClass);const s=a.attr("data-background"),l=a.attr("data-src"),u=a.attr("data-srcset"),d=a.attr("data-sizes"),f=a.parent("picture");n.loadImage(a[0],l||s,u,d,!1,()=>{if("undefined"!==typeof n&&null!==n&&n&&(!n||n.params)&&!n.destroyed){if(s?(a.css("background-image",`url("${s}")`),a.removeAttr("data-background")):(u&&(a.attr("srcset",u),a.removeAttr("data-srcset")),d&&(a.attr("sizes",d),a.removeAttr("data-sizes")),f.length&&f.children("source").each((e,t)=>{const n=c(t);n.attr("data-srcset")&&(n.attr("srcset",n.attr("data-srcset")),n.removeAttr("data-srcset"))}),l&&(a.attr("src",l),a.removeAttr("data-src"))),a.addClass(r.loadedClass).removeClass(r.loadingClass),o.find("."+r.preloaderClass).remove(),n.params.loop&&t){const e=o.attr("data-swiper-slide-index");if(o.hasClass(n.params.slideDuplicateClass)){const t=n.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${n.params.slideDuplicateClass})`);n.lazy.loadInSlide(t.index(),!1)}else{const t=n.$wrapperEl.children(`.${n.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`);n.lazy.loadInSlide(t.index(),!1)}}n.emit("lazyImageReady",o[0],a[0]),n.params.autoHeight&&n.updateAutoHeight()}}),n.emit("lazyImageLoad",o[0],a[0])})},load(){const e=this,{$wrapperEl:t,params:n,slides:r,activeIndex:i}=e,o=e.virtual&&n.virtual.enabled,a=n.lazy;let s=n.slidesPerView;function l(e){if(o){if(t.children(`.${n.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(r[e])return!0;return!1}function u(e){return o?c(e).attr("data-swiper-slide-index"):c(e).index()}if("auto"===s&&(s=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each((t,n)=>{const r=o?c(n).attr("data-swiper-slide-index"):c(n).index();e.lazy.loadInSlide(r)});else if(s>1)for(let c=i;c<i+s;c+=1)l(c)&&e.lazy.loadInSlide(c);else e.lazy.loadInSlide(i);if(a.loadPrevNext)if(s>1||a.loadPrevNextAmount&&a.loadPrevNextAmount>1){const t=a.loadPrevNextAmount,n=s,o=Math.min(i+n+Math.max(t,n),r.length),u=Math.max(i-Math.max(n,t),0);for(let r=i+s;r<o;r+=1)l(r)&&e.lazy.loadInSlide(r);for(let r=u;r<i;r+=1)l(r)&&e.lazy.loadInSlide(r)}else{const r=t.children("."+n.slideNextClass);r.length>0&&e.lazy.loadInSlide(u(r));const i=t.children("."+n.slidePrevClass);i.length>0&&e.lazy.loadInSlide(u(i))}}};var Ht={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create(){const e=this;Z.extend(e,{lazy:{initialImageLoaded:!1,load:It.load.bind(e),loadInSlide:It.loadInSlide.bind(e)}})},on:{beforeInit(){const e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init(){const e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll(){const e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize(){const e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove(){const e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart(){const e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd(){const e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange(){const e=this;e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}};const Vt={LinearSpline:function(e,t){const n=function(){let e,t,n;return(r,i)=>{t=-1,e=r.length;while(e-t>1)n=e+t>>1,r[n]<=i?t=n:e=n;return e}}();let r,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=n(this.x,e),r=i-1,(e-this.x[r])*(this.y[i]-this.y[r])/(this.x[i]-this.x[r])+this.y[r]):0},this},getInterpolateFunction(e){const t=this;t.controller.spline||(t.controller.spline=t.params.loop?new Vt.LinearSpline(t.slidesGrid,e.slidesGrid):new Vt.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate(e,t){const n=this,r=n.controller.control;let i,o;function a(e){const t=n.rtlTranslate?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),o=-n.controller.spline.interpolate(-t)),o&&"container"!==n.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),o=(t-n.minTranslate())*i+e.minTranslate()),n.params.controller.inverse&&(o=e.maxTranslate()-o),e.updateProgress(o),e.setTranslate(o,n),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(let s=0;s<r.length;s+=1)r[s]!==t&&r[s]instanceof ht&&a(r[s]);else r instanceof ht&&t!==r&&a(r)},setTransition(e,t){const n=this,r=n.controller.control;let i;function o(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&Z.nextTick(()=>{t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(()=>{r&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(r))for(i=0;i<r.length;i+=1)r[i]!==t&&r[i]instanceof ht&&o(r[i]);else r instanceof ht&&t!==r&&o(r)}};var $t={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create(){const e=this;Z.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:Vt.getInterpolateFunction.bind(e),setTranslate:Vt.setTranslate.bind(e),setTransition:Vt.setTransition.bind(e)}})},on:{update(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate(e,t){const n=this;n.controller.control&&n.controller.setTranslate(e,t)},setTransition(e,t){const n=this;n.controller.control&&n.controller.setTransition(e,t)}}};const Ft={makeElFocusable(e){return e.attr("tabIndex","0"),e},makeElNotFocusable(e){return e.attr("tabIndex","-1"),e},addElRole(e,t){return e.attr("role",t),e},addElLabel(e,t){return e.attr("aria-label",t),e},disableEl(e){return e.attr("aria-disabled",!0),e},enableEl(e){return e.attr("aria-disabled",!1),e},onEnterKey(e){const t=this,n=t.params.a11y;if(13!==e.keyCode)return;const r=c(e.target);t.navigation&&t.navigation.$nextEl&&r.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&r.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&r.is("."+t.params.pagination.bulletClass)&&r[0].click()},notify(e){const t=this,n=t.a11y.liveRegion;0!==n.length&&(n.html(""),n.html(e))},updateNavigation(){const e=this;if(e.params.loop||!e.navigation)return;const{$nextEl:t,$prevEl:n}=e.navigation;n&&n.length>0&&(e.isBeginning?(e.a11y.disableEl(n),e.a11y.makeElNotFocusable(n)):(e.a11y.enableEl(n),e.a11y.makeElFocusable(n))),t&&t.length>0&&(e.isEnd?(e.a11y.disableEl(t),e.a11y.makeElNotFocusable(t)):(e.a11y.enableEl(t),e.a11y.makeElFocusable(t)))},updatePagination(){const e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((n,r)=>{const i=c(r);e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,t.paginationBulletMessage.replace(/\{\{index\}\}/,i.index()+1))})},init(){const e=this;e.$el.append(e.a11y.liveRegion);const t=e.params.a11y;let n,r;e.navigation&&e.navigation.$nextEl&&(n=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(r=e.navigation.$prevEl),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.nextSlideMessage),n.on("keydown",e.a11y.onEnterKey)),r&&(e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.prevSlideMessage),r.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy(){const e=this;let t,n;e.a11y.liveRegion&&e.a11y.liveRegion.length>0&&e.a11y.liveRegion.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&t.off("keydown",e.a11y.onEnterKey),n&&n.off("keydown",e.a11y.onEnterKey),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.off("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)}};var jt={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create(){const e=this;Z.extend(e,{a11y:{liveRegion:c(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)}}),Object.keys(Ft).forEach(t=>{e.a11y[t]=Ft[t].bind(e)})},on:{init(){const e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge(){const e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge(){const e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate(){const e=this;e.params.a11y.enabled&&e.a11y.updatePagination()},destroy(){const e=this;e.params.a11y.enabled&&e.a11y.destroy()}}};const Ut={init(){const e=this;if(!e.params.history)return;if(!s.history||!s.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);const t=e.history;t.initialized=!0,t.paths=Ut.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||s.addEventListener("popstate",e.history.setHistoryPopState))},destroy(){const e=this;e.params.history.replaceState||s.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState(){const e=this;e.history.paths=Ut.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues(){const e=s.location.pathname.slice(1).split("/").filter(e=>""!==e),t=e.length,n=e[t-2],r=e[t-1];return{key:n,value:r}},setHistory(e,t){const n=this;if(!n.history.initialized||!n.params.history.enabled)return;const r=n.slides.eq(t);let i=Ut.slugify(r.attr("data-history"));s.location.pathname.includes(e)||(i=`${e}/${i}`);const o=s.history.state;o&&o.value===i||(n.params.history.replaceState?s.history.replaceState({value:i},null,i):s.history.pushState({value:i},null,i))},slugify(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide(e,t,n){const r=this;if(t)for(let i=0,o=r.slides.length;i<o;i+=1){const o=r.slides.eq(i),a=Ut.slugify(o.attr("data-history"));if(a===t&&!o.hasClass(r.params.slideDuplicateClass)){const t=o.index();r.slideTo(t,e,n)}}else r.slideTo(0,e,n)}};var qt={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create(){const e=this;Z.extend(e,{history:{init:Ut.init.bind(e),setHistory:Ut.setHistory.bind(e),setHistoryPopState:Ut.setHistoryPopState.bind(e),scrollToSlide:Ut.scrollToSlide.bind(e),destroy:Ut.destroy.bind(e)}})},on:{init(){const e=this;e.params.history.enabled&&e.history.init()},destroy(){const e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd(){const e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange(){const e=this;e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}};const Wt={onHashCange(){const e=this;e.emit("hashChange");const t=o.location.hash.replace("#",""),n=e.slides.eq(e.activeIndex).attr("data-hash");if(t!==n){const n=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if("undefined"===typeof n)return;e.slideTo(n)}},setHash(){const e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&s.history&&s.history.replaceState)s.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||""),e.emit("hashSet");else{const t=e.slides.eq(e.activeIndex),n=t.attr("data-hash")||t.attr("data-history");o.location.hash=n||"",e.emit("hashSet")}},init(){const e=this;if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;e.hashNavigation.initialized=!0;const t=o.location.hash.replace("#","");if(t){const n=0;for(let r=0,i=e.slides.length;r<i;r+=1){const i=e.slides.eq(r),o=i.attr("data-hash")||i.attr("data-history");if(o===t&&!i.hasClass(e.params.slideDuplicateClass)){const t=i.index();e.slideTo(t,n,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&c(s).on("hashchange",e.hashNavigation.onHashCange)},destroy(){const e=this;e.params.hashNavigation.watchState&&c(s).off("hashchange",e.hashNavigation.onHashCange)}};var Gt={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create(){const e=this;Z.extend(e,{hashNavigation:{initialized:!1,init:Wt.init.bind(e),destroy:Wt.destroy.bind(e),setHash:Wt.setHash.bind(e),onHashCange:Wt.onHashCange.bind(e)}})},on:{init(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd(){const e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange(){const e=this;e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}};const Xt={run(){const e=this,t=e.slides.eq(e.activeIndex);let n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=Z.nextTick(()=>{e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},n)},start(){const e=this;return"undefined"===typeof e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop(){const e=this;return!!e.autoplay.running&&("undefined"!==typeof e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause(e){const t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}};var Yt={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create(){const e=this;Z.extend(e,{autoplay:{running:!1,paused:!1,run:Xt.run.bind(e),start:Xt.start.bind(e),stop:Xt.stop.bind(e),pause:Xt.pause.bind(e),onVisibilityChange(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init(){const e=this;e.params.autoplay.enabled&&(e.autoplay.start(),document.addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart(e,t){const n=this;n.autoplay.running&&(t||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(e):n.autoplay.stop())},sliderFirstMove(){const e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd(){const e=this;e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy(){const e=this;e.autoplay.running&&e.autoplay.stop(),document.removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}};const Kt={setTranslate(){const e=this,{slides:t}=e;for(let n=0;n<t.length;n+=1){const t=e.slides.eq(n),r=t[0].swiperSlideOffset;let i=-r;e.params.virtualTranslate||(i-=e.translate);let o=0;e.isHorizontal()||(o=i,i=0);const a=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:a}).transform(`translate3d(${i}px, ${o}px, 0px)`)}},setTransition(e){const t=this,{slides:n,$wrapperEl:r}=t;if(n.transition(e),t.params.virtualTranslate&&0!==e){let e=!1;n.transitionEnd(()=>{if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let e=0;e<n.length;e+=1)r.trigger(n[e])})}}};var Zt={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create(){const e=this;Z.extend(e,{fadeEffect:{setTranslate:Kt.setTranslate.bind(e),setTransition:Kt.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("fade"!==e.params.effect)return;e.classNames.push(e.params.containerModifierClass+"fade");const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};Z.extend(e.params,t),Z.extend(e.originalParams,t)},setTranslate(){const e=this;"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition(e){const t=this;"fade"===t.params.effect&&t.fadeEffect.setTransition(e)}}};const Qt={setTranslate(){const e=this,{$el:t,$wrapperEl:n,slides:r,width:i,height:o,rtlTranslate:a,size:s}=e,l=e.params.cubeEffect,u=e.isHorizontal(),d=e.virtual&&e.params.virtual.enabled;let f,h=0;l.shadow&&(u?(f=n.find(".swiper-cube-shadow"),0===f.length&&(f=c('<div class="swiper-cube-shadow"></div>'),n.append(f)),f.css({height:i+"px"})):(f=t.find(".swiper-cube-shadow"),0===f.length&&(f=c('<div class="swiper-cube-shadow"></div>'),t.append(f))));for(let m=0;m<r.length;m+=1){const e=r.eq(m);let t=m;d&&(t=parseInt(e.attr("data-swiper-slide-index"),10));let n=90*t,i=Math.floor(n/360);a&&(n=-n,i=Math.floor(-n/360));const o=Math.max(Math.min(e[0].progress,1),-1);let f=0,p=0,g=0;t%4===0?(f=4*-i*s,g=0):(t-1)%4===0?(f=0,g=4*-i*s):(t-2)%4===0?(f=s+4*i*s,g=s):(t-3)%4===0&&(f=-s,g=3*s+4*s*i),a&&(f=-f),u||(p=f,f=0);const v=`rotateX(${u?0:-n}deg) rotateY(${u?n:0}deg) translate3d(${f}px, ${p}px, ${g}px)`;if(o<=1&&o>-1&&(h=90*t+90*o,a&&(h=90*-t-90*o)),e.transform(v),l.slideShadows){let t=u?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),n=u?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===t.length&&(t=c(`<div class="swiper-slide-shadow-${u?"left":"top"}"></div>`),e.append(t)),0===n.length&&(n=c(`<div class="swiper-slide-shadow-${u?"right":"bottom"}"></div>`),e.append(n)),t.length&&(t[0].style.opacity=Math.max(-o,0)),n.length&&(n[0].style.opacity=Math.max(o,0))}}if(n.css({"-webkit-transform-origin":`50% 50% -${s/2}px`,"-moz-transform-origin":`50% 50% -${s/2}px`,"-ms-transform-origin":`50% 50% -${s/2}px`,"transform-origin":`50% 50% -${s/2}px`}),l.shadow)if(u)f.transform(`translate3d(0px, ${i/2+l.shadowOffset}px, ${-i/2}px) rotateX(90deg) rotateZ(0deg) scale(${l.shadowScale})`);else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=l.shadowScale,r=l.shadowScale/t,i=l.shadowOffset;f.transform(`scale3d(${n}, 1, ${r}) translate3d(0px, ${o/2+i}px, ${-o/2/r}px) rotateX(-90deg)`)}const p=gt.isSafari||gt.isWebView?-s/2:0;n.transform(`translate3d(0px,0,${p}px) rotateX(${e.isHorizontal()?0:h}deg) rotateY(${e.isHorizontal()?-h:0}deg)`)},setTransition(e){const t=this,{$el:n,slides:r}=t;r.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&n.find(".swiper-cube-shadow").transition(e)}};var Jt={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create(){const e=this;Z.extend(e,{cubeEffect:{setTranslate:Qt.setTranslate.bind(e),setTransition:Qt.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("cube"!==e.params.effect)return;e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};Z.extend(e.params,t),Z.extend(e.originalParams,t)},setTranslate(){const e=this;"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition(e){const t=this;"cube"===t.params.effect&&t.cubeEffect.setTransition(e)}}};const en={setTranslate(){const e=this,{slides:t,rtlTranslate:n}=e;for(let r=0;r<t.length;r+=1){const i=t.eq(r);let o=i[0].progress;e.params.flipEffect.limitRotation&&(o=Math.max(Math.min(i[0].progress,1),-1));const a=i[0].swiperSlideOffset,s=-180*o;let l=s,u=0,d=-a,f=0;if(e.isHorizontal()?n&&(l=-l):(f=d,d=0,u=-l,l=0),i[0].style.zIndex=-Math.abs(Math.round(o))+t.length,e.params.flipEffect.slideShadows){let t=e.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),n=e.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===t.length&&(t=c(`<div class="swiper-slide-shadow-${e.isHorizontal()?"left":"top"}"></div>`),i.append(t)),0===n.length&&(n=c(`<div class="swiper-slide-shadow-${e.isHorizontal()?"right":"bottom"}"></div>`),i.append(n)),t.length&&(t[0].style.opacity=Math.max(-o,0)),n.length&&(n[0].style.opacity=Math.max(o,0))}i.transform(`translate3d(${d}px, ${f}px, 0px) rotateX(${u}deg) rotateY(${l}deg)`)}},setTransition(e){const t=this,{slides:n,activeIndex:r,$wrapperEl:i}=t;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){let e=!1;n.eq(r).transitionEnd((function(){if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let e=0;e<n.length;e+=1)i.trigger(n[e])}))}}};var tn={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create(){const e=this;Z.extend(e,{flipEffect:{setTranslate:en.setTranslate.bind(e),setTransition:en.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("flip"!==e.params.effect)return;e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};Z.extend(e.params,t),Z.extend(e.originalParams,t)},setTranslate(){const e=this;"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition(e){const t=this;"flip"===t.params.effect&&t.flipEffect.setTransition(e)}}};const nn={setTranslate(){const e=this,{width:t,height:n,slides:r,$wrapperEl:i,slidesSizesGrid:o}=e,a=e.params.coverflowEffect,s=e.isHorizontal(),l=e.translate,u=s?t/2-l:n/2-l,d=s?a.rotate:-a.rotate,f=a.depth;for(let h=0,p=r.length;h<p;h+=1){const e=r.eq(h),t=o[h],n=e[0].swiperSlideOffset,i=(u-n-t/2)/t*a.modifier;let l=s?d*i:0,p=s?0:d*i,m=-f*Math.abs(i),g=a.stretch;"string"===typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(a.stretch)/100*t);let v=s?0:g*i,y=s?g*i:0,b=1-(1-a.scale)*Math.abs(i);Math.abs(y)<.001&&(y=0),Math.abs(v)<.001&&(v=0),Math.abs(m)<.001&&(m=0),Math.abs(l)<.001&&(l=0),Math.abs(p)<.001&&(p=0),Math.abs(b)<.001&&(b=0);const w=`translate3d(${y}px,${v}px,${m}px) rotateX(${p}deg) rotateY(${l}deg) scale(${b})`;if(e.transform(w),e[0].style.zIndex=1-Math.abs(Math.round(i)),a.slideShadows){let t=s?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),n=s?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===t.length&&(t=c(`<div class="swiper-slide-shadow-${s?"left":"top"}"></div>`),e.append(t)),0===n.length&&(n=c(`<div class="swiper-slide-shadow-${s?"right":"bottom"}"></div>`),e.append(n)),t.length&&(t[0].style.opacity=i>0?i:0),n.length&&(n[0].style.opacity=-i>0?-i:0)}}if(Q.pointerEvents||Q.prefixedPointerEvents){const e=i[0].style;e.perspectiveOrigin=u+"px 50%"}},setTransition(e){const t=this;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}};var rn={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create(){const e=this;Z.extend(e,{coverflowEffect:{setTranslate:nn.setTranslate.bind(e),setTransition:nn.setTransition.bind(e)}})},on:{beforeInit(){const e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate(){const e=this;"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition(e){const t=this;"coverflow"===t.params.effect&&t.coverflowEffect.setTransition(e)}}};const on={init(){const e=this,{thumbs:t}=e.params,n=e.constructor;t.swiper instanceof n?(e.thumbs.swiper=t.swiper,Z.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Z.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):Z.isObject(t.swiper)&&(e.thumbs.swiper=new n(Z.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick(){const e=this,t=e.thumbs.swiper;if(!t)return;const n=t.clickedIndex,r=t.clickedSlide;if(r&&c(r).hasClass(e.params.thumbs.slideThumbActiveClass))return;if("undefined"===typeof n||null===n)return;let i;if(i=t.params.loop?parseInt(c(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const n=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(),r=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index();i="undefined"===typeof n?r:"undefined"===typeof r?n:r-t<t-n?r:n}e.slideTo(i)},update(e){const t=this,n=t.thumbs.swiper;if(!n)return;const r="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,i=t.params.thumbs.autoScrollOffset,o=i&&!n.params.loop;if(t.realIndex!==n.realIndex||o){let a,s,l=n.activeIndex;if(n.params.loop){n.slides.eq(l).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,l=n.activeIndex);const e=n.slides.eq(l).prevAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(),r=n.slides.eq(l).nextAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index();a="undefined"===typeof e?r:"undefined"===typeof r?e:r-l===l-e?l:r-l<l-e?r:e,s=t.activeIndex>t.previousIndex?"next":"prev"}else a=t.realIndex,s=a>t.previousIndex?"next":"prev";o&&(a+="next"===s?i:-1*i),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(a)<0&&(n.params.centeredSlides?a=a>l?a-Math.floor(r/2)+1:a+Math.floor(r/2)-1:a>l&&(a=a-r+1),n.slideTo(a,e?0:void 0))}let a=1;const s=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(a=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),n.slides.removeClass(s),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let l=0;l<a;l+=1)n.$wrapperEl.children(`[data-swiper-slide-index="${t.realIndex+l}"]`).addClass(s);else for(let l=0;l<a;l+=1)n.slides.eq(t.realIndex+l).addClass(s)}};var an={name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create(){const e=this;Z.extend(e,{thumbs:{swiper:null,init:on.init.bind(e),update:on.update.bind(e),onThumbClick:on.onThumbClick.bind(e)}})},on:{beforeInit(){const e=this,{thumbs:t}=e.params;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange(){const e=this;e.thumbs.swiper&&e.thumbs.update()},update(){const e=this;e.thumbs.swiper&&e.thumbs.update()},resize(){const e=this;e.thumbs.swiper&&e.thumbs.update()},observerUpdate(){const e=this;e.thumbs.swiper&&e.thumbs.update()},setTransition(e){const t=this,n=t.thumbs.swiper;n&&n.setTransition(e)},beforeDestroy(){const e=this,t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}};const sn=[pt,mt,vt,yt,wt,xt,St,zt,Nt,Ot,_t,Lt,Rt,Ht,$t,jt,qt,Gt,Yt,Zt,Jt,tn,rn,an];"undefined"===typeof ht.use&&(ht.use=ht.Class.use,ht.installModule=ht.Class.installModule),ht.use(sn);t["default"]=ht},b622:function(e,t,n){var r=n("da84"),i=n("5692"),o=n("1a2d"),a=n("90e3"),s=n("04f8"),l=n("fdbf"),u=r.Symbol,c=i("wks"),d=l?u["for"]||u:u&&u.withoutSetter||a;e.exports=function(e){return o(c,e)||(c[e]=s&&o(u,e)?u[e]:d("Symbol."+e)),c[e]}},b980:function(e,t,n){var r=n("d039"),i=n("5c6c");e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},b9c7:function(e,t,n){n("e507"),e.exports=n("5524").Object.assign},ba01:function(e,t,n){e.exports=n("051b")},bcbf:function(e,t,n){var r=n("f5df");e.exports=function(e){var t=r(e);return"BigInt64Array"==t||"BigUint64Array"==t}},c04e:function(e,t,n){var r=n("c65b"),i=n("861d"),o=n("d9b5"),a=n("dc4a"),s=n("485a"),l=n("b622"),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,l=a(e,c);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},c098:function(e,t,n){e.exports=n("d4af")},c430:function(e,t){e.exports=!1},c65b:function(e,t,n){var r=n("40d5"),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},c6a7:function(e,t){e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},c6b6:function(e,t,n){var r=n("e330"),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},c6cd:function(e,t,n){var r=n("da84"),i=n("6374"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},c6e3:function(e,t,n){n("4ea1")},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c901:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},ca84:function(e,t,n){var r=n("e330"),i=n("1a2d"),o=n("fc6a"),a=n("4d64").indexOf,s=n("d012"),l=r([].push);e.exports=function(e,t){var n,r=o(e),u=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&l(c,n);while(t.length>u)i(r,n=t[u++])&&(~a(c,n)||l(c,n));return c}},cb2d:function(e,t,n){var r=n("1626"),i=n("9bf2"),o=n("13d2"),a=n("6374");e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&o(n,u,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(c){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},cc12:function(e,t,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cc15:function(e,t,n){var r=n("b367")("wks"),i=n("8b1a"),o=n("ef08").Symbol,a="function"==typeof o,s=e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=r},cdce:function(e,t,n){var r=n("da84"),i=n("1626"),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},ce7a:function(e,t,n){var r=n("9c0e"),i=n("0983"),o=n("5a94")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("da84"),i=n("1626"),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},d16a:function(e,t,n){var r=n("fc5e"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},d2bb:function(e,t,n){var r=n("7282"),i=n("825a"),o=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=r(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(a){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},d429:function(e,t,n){var r=n("07fa"),i=n("5926"),o=RangeError;e.exports=function(e,t,n,a){var s=r(e),l=i(n),u=l<0?s+l:l;if(u>=s||u<0)throw o("Incorrect index");for(var c=new t(s),d=0;d<s;d++)c[d]=d===u?a:e[d];return c}},d4af:function(e,t,n){"use strict";var r=n("8eb7"),i=n("7b3e"),o=10,a=40,s=800;function l(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*o,i=n*o,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(1==e.deltaMode?(r*=a,i*=a):(r*=s,i*=s)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}l.getEventType=function(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},e.exports=l},d6d6:function(e,t){var n=TypeError;e.exports=function(e,t){if(e<t)throw n("Not enough arguments");return e}},d9b5:function(e,t,n){var r=n("d066"),i=n("1626"),o=n("3a9b"),a=n("fdbf"),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},d9e2:function(e,t,n){var r=n("23e7"),i=n("da84"),o=n("2ba4"),a=n("e5cb"),s="WebAssembly",l=i[s],u=7!==Error("e",{cause:7}).cause,c=function(e,t){var n={};n[e]=a(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=a(s+"."+e,t,u),r({target:s,stat:!0,constructor:!0,arity:1,forced:u},n)}};c("Error",(function(e){return function(t){return o(e,this,arguments)}})),c("EvalError",(function(e){return function(t){return o(e,this,arguments)}})),c("RangeError",(function(e){return function(t){return o(e,this,arguments)}})),c("ReferenceError",(function(e){return function(t){return o(e,this,arguments)}})),c("SyntaxError",(function(e){return function(t){return o(e,this,arguments)}})),c("TypeError",(function(e){return function(t){return o(e,this,arguments)}})),c("URIError",(function(e){return function(t){return o(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return o(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return o(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return o(e,this,arguments)}}))},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dbce:function(e,t,n){var r=n("7037")["default"];function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}return o["default"]=e,n&&n.set(e,o),o}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},dc4a:function(e,t,n){var r=n("59ed"),i=n("7234");e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(i(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===o(e,-1);return e=n(i(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}var u=[];for(l=s;l<i.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},df7e:function(e,t,n){var r=n("07fa");e.exports=function(e,t){for(var n=r(e),i=new t(n),o=0;o<n;o++)i[o]=e[n-o-1];return i}},dfb95:function(e,t,n){var r=n("07fa");e.exports=function(e,t){var n=0,i=r(t),o=new e(i);while(i>n)o[n]=t[n++];return o}},dfe5:function(e,t){},e163:function(e,t,n){var r=n("1a2d"),i=n("1626"),o=n("7b0b"),a=n("f772"),s=n("e177"),l=a("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=o(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},e177:function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e198:function(e,t,n){var r=n("ef08"),i=n("5524"),o=n("e444"),a=n("fcd4"),s=n("1a14").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},e20c:function(e,t,n){var r=n("23e7"),i=n("da84"),o=n("2cf4").clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},e330:function(e,t,n){var r=n("40d5"),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);e.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},e34a:function(e,t,n){var r=n("8b1a")("meta"),i=n("7a41"),o=n("9c0e"),a=n("1a14").f,s=0,l=Object.isExtensible||function(){return!0},u=!n("4b8b")((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},h=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:h}},e391:function(e,t,n){var r=n("577e");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},e444:function(e,t){e.exports=!0},e507:function(e,t,n){var r=n("512c");r(r.S+r.F,"Object",{assign:n("072d")})},e562:function(e,t,n){(function(t){(function(n){"use strict";var r=function(){},i=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e(t.apply(null,n))}},o=function(e){return function(){return e}},a=function(e){return e};function s(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.concat(n);return e.apply(null,i)}}var l=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!e.apply(null,t)}},u=function(e){return function(){throw new Error(e)}},c=o(!1),d=o(!0),f=function(){return h},h=function(){var e=function(e){return e.isNone()},t=function(e){return e()},n=function(e){return e},i={fold:function(e,t){return e()},is:c,isSome:c,isNone:d,getOr:n,getOrThunk:t,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:o(null),getOrUndefined:o(void 0),or:n,orThunk:t,map:f,each:r,bind:f,exists:c,forall:d,filter:f,equals:e,equals_:e,toArray:function(){return[]},toString:o("none()")};return Object.freeze&&Object.freeze(i),i}(),p=function(e){var t=o(e),n=function(){return i},r=function(t){return t(e)},i={fold:function(t,n){return n(e)},is:function(t){return e===t},isSome:d,isNone:c,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return p(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?i:h},toArray:function(){return[e]},toString:function(){return"some("+e+")"},equals:function(t){return t.is(e)},equals_:function(t,n){return t.fold(c,(function(t){return n(e,t)}))}};return i},m=function(e){return null===e||void 0===e?h:p(e)},g={some:p,none:f,from:m},v=function(e){if(null===e)return"null";var t=typeof e;return"object"===t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t},y=function(e){return function(t){return v(t)===e}},b=y("string"),w=y("object"),C=y("array"),x=y("null"),E=y("boolean"),S=y("function"),T=y("number"),k=Array.prototype.slice,z=Array.prototype.indexOf,M=Array.prototype.push,N=function(e,t){return z.call(e,t)},A=function(e,t){var n=N(e,t);return-1===n?g.none():g.some(n)},O=function(e,t){return N(e,t)>-1},P=function(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(t(i,n))return!0}return!1},_=function(e,t){for(var n=e.length,r=new Array(n),i=0;i<n;i++){var o=e[i];r[i]=t(o,i)}return r},D=function(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];t(i,n)}},L=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];t(r,n)}},B=function(e,t){for(var n=[],r=[],i=0,o=e.length;i<o;i++){var a=e[i],s=t(a,i)?n:r;s.push(a)}return{pass:n,fail:r}},R=function(e,t){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r];t(o,r)&&n.push(o)}return n},I=function(e,t,n){return L(e,(function(e){n=t(n,e)})),n},H=function(e,t,n){return D(e,(function(e){n=t(n,e)})),n},V=function(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(t(i,n))return g.some(i)}return g.none()},$=function(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(t(i,n))return g.some(n)}return g.none()},F=function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!C(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);M.apply(t,e[n])}return t},j=function(e,t){var n=_(e,t);return F(n)},U=function(e,t){for(var n=0,r=e.length;n<r;++n){var i=e[n];if(!0!==t(i,n))return!1}return!0},q=function(e){var t=k.call(e,0);return t.reverse(),t},W=function(e,t){return R(e,(function(e){return!O(t,e)}))},G=function(e,t){for(var n={},r=0,i=e.length;r<i;r++){var o=e[r];n[String(o)]=t(o,r)}return n},X=function(e,t){var n=k.call(e,0);return n.sort(t),n},Y=function(e){return 0===e.length?g.none():g.some(e[0])},K=function(e){return 0===e.length?g.none():g.some(e[e.length-1])},Z=S(Array.from)?Array.from:function(e){return k.call(e)},Q=function(){return Q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Q.apply(this,arguments)};function J(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}var ee=function(e){return function(t){return!!t&&t.nodeType===e}},te=function(e){return!!e&&!Object.getPrototypeOf(e)},ne=ee(1),re=function(e){var t=e.map((function(e){return e.toLowerCase()}));return function(e){if(e&&e.nodeName){var n=e.nodeName.toLowerCase();return O(t,n)}return!1}},ie=function(e,t){var n=t.toLowerCase().split(" ");return function(t){var r,i;if(ne(t))for(r=0;r<n.length;r++){var o=t.ownerDocument.defaultView.getComputedStyle(t,null);if(i=o?o.getPropertyValue(e):null,i===n[r])return!0}return!1}},oe=function(e,t){return function(n){return ne(n)&&n[e]===t}},ae=function(e,t){return function(t){return ne(t)&&t.hasAttribute(e)}},se=function(e,t){return function(n){return ne(n)&&n.getAttribute(e)===t}},le=function(e){return ne(e)&&e.hasAttribute("data-mce-bogus")},ue=function(e){return ne(e)&&"all"===e.getAttribute("data-mce-bogus")},ce=function(e){return ne(e)&&"TABLE"===e.tagName},de=function(e){return function(t){if(ne(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1}},fe=re(["textarea","input"]),he=ee(3),pe=ee(8),me=ee(9),ge=ee(11),ve=re(["br"]),ye=de("true"),be=de("false"),we={isText:he,isElement:ne,isComment:pe,isDocument:me,isDocumentFragment:ge,isBr:ve,isContentEditableTrue:ye,isContentEditableFalse:be,isRestrictedNode:te,matchNodeNames:re,hasPropValue:oe,hasAttribute:ae,hasAttributeValue:se,matchStyleValues:ie,isBogus:le,isBogusAll:ue,isTable:ce,isTextareaOrInput:fe},Ce=function(e){var t=e,n=function(){return t},r=function(e){t=e},i=function(){return Ce(n())};return{get:n,set:r,clone:i}},xe=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.test(t))return r}},Ee=function(e,t){var n=xe(e,t);if(!n)return{major:0,minor:0};var r=function(e){return Number(t.replace(n,"$"+e))};return ke(r(1),r(2))},Se=function(e,t){var n=String(t).toLowerCase();return 0===e.length?Te():Ee(e,n)},Te=function(){return ke(0,0)},ke=function(e,t){return{major:e,minor:t}},ze={nu:ke,detect:Se,unknown:Te},Me="Edge",Ne="Chrome",Ae="IE",Oe="Opera",Pe="Firefox",_e="Safari",De=function(e,t){return function(){return t===e}},Le=function(){return Be({current:void 0,version:ze.unknown()})},Be=function(e){var t=e.current,n=e.version;return{current:t,version:n,isEdge:De(Me,t),isChrome:De(Ne,t),isIE:De(Ae,t),isOpera:De(Oe,t),isFirefox:De(Pe,t),isSafari:De(_e,t)}},Re={unknown:Le,nu:Be,edge:o(Me),chrome:o(Ne),ie:o(Ae),opera:o(Oe),firefox:o(Pe),safari:o(_e)},Ie="Windows",He="iOS",Ve="Android",$e="Linux",Fe="OSX",je="Solaris",Ue="FreeBSD",qe=function(e,t){return function(){return t===e}},We=function(){return Ge({current:void 0,version:ze.unknown()})},Ge=function(e){var t=e.current,n=e.version;return{current:t,version:n,isWindows:qe(Ie,t),isiOS:qe(He,t),isAndroid:qe(Ve,t),isOSX:qe(Fe,t),isLinux:qe($e,t),isSolaris:qe(je,t),isFreeBSD:qe(Ue,t)}},Xe={unknown:We,nu:Ge,windows:o(Ie),ios:o(He),android:o(Ve),linux:o($e),osx:o(Fe),solaris:o(je),freebsd:o(Ue)},Ye=function(e,t,n,r){var i=e.isiOS()&&!0===/ipad/i.test(n),a=e.isiOS()&&!i,s=e.isiOS()||e.isAndroid(),l=s||r("(pointer:coarse)"),u=i||!a&&s&&r("(min-device-width:768px)"),c=a||s&&!u,d=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),f=!c&&!u&&!d;return{isiPad:o(i),isiPhone:o(a),isTablet:o(u),isPhone:o(c),isTouch:o(l),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:o(d),isDesktop:o(f)}},Ke=function(e,t){var n=String(t).toLowerCase();return V(e,(function(e){return e.search(n)}))},Ze=function(e,t){return Ke(e,t).map((function(e){var n=ze.detect(e.versionRegexes,t);return{current:e.name,version:n}}))},Qe=function(e,t){return Ke(e,t).map((function(e){var n=ze.detect(e.versionRegexes,t);return{current:e.name,version:n}}))},Je={detectBrowser:Ze,detectOs:Qe},et=function(e,t,n){if(""===t)return!0;if(e.length<t.length)return!1;var r=e.substr(n,n+t.length);return r===t},tt=function(e,t){return-1!==e.indexOf(t)},nt=function(e,t){return et(e,t,0)},rt=function(e){return e.replace(/^\s+|\s+$/g,"")},it=function(e){return e.replace(/^\s+/g,"")},ot=function(e){return e.replace(/\s+$/g,"")},at=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,st=function(e){return function(t){return tt(t,e)}},lt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return tt(e,"edge/")&&tt(e,"chrome")&&tt(e,"safari")&&tt(e,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,at],search:function(e){return tt(e,"chrome")&&!tt(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return tt(e,"msie")||tt(e,"trident")}},{name:"Opera",versionRegexes:[at,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:st("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:st("firefox")},{name:"Safari",versionRegexes:[at,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(tt(e,"safari")||tt(e,"mobile/"))&&tt(e,"applewebkit")}}],ut=[{name:"Windows",search:st("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return tt(e,"iphone")||tt(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:st("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:st("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:st("linux"),versionRegexes:[]},{name:"Solaris",search:st("sunos"),versionRegexes:[]},{name:"FreeBSD",search:st("freebsd"),versionRegexes:[]}],ct={browsers:o(lt),oses:o(ut)},dt=function(e,t){var n=ct.browsers(),r=ct.oses(),i=Je.detectBrowser(n,e).fold(Re.unknown,Re.nu),o=Je.detectOs(r,e).fold(Xe.unknown,Xe.nu),a=Ye(o,i,e,t);return{browser:i,os:o,deviceType:a}},ft={detect:dt},ht=function(e){return n.window.matchMedia(e).matches},pt=Ce(ft.detect(n.navigator.userAgent,ht)),mt=function(){return pt.get()},gt=function(e,t){var r=t||n.document,i=r.createElement("div");if(i.innerHTML=e,!i.hasChildNodes()||i.childNodes.length>1)throw n.console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return bt(i.childNodes[0])},vt=function(e,t){var r=t||n.document,i=r.createElement(e);return bt(i)},yt=function(e,t){var r=t||n.document,i=r.createTextNode(e);return bt(i)},bt=function(e){if(null===e||void 0===e)throw new Error("Node cannot be null or undefined");return{dom:o(e)}},wt=function(e,t,n){var r=e.dom();return g.from(r.elementFromPoint(t,n)).map(bt)},Ct={fromHtml:gt,fromTag:vt,fromText:yt,fromDom:bt,fromPoint:wt},xt=(n.Node.ATTRIBUTE_NODE,n.Node.CDATA_SECTION_NODE,n.Node.COMMENT_NODE,n.Node.DOCUMENT_NODE),Et=(n.Node.DOCUMENT_TYPE_NODE,n.Node.DOCUMENT_FRAGMENT_NODE,n.Node.ELEMENT_NODE),St=n.Node.TEXT_NODE,Tt=(n.Node.PROCESSING_INSTRUCTION_NODE,n.Node.ENTITY_REFERENCE_NODE,n.Node.ENTITY_NODE,n.Node.NOTATION_NODE,"undefined"!==typeof n.window?n.window:Function("return this;")(),function(e){var t=e.dom().nodeName;return t.toLowerCase()}),kt=function(e){return e.dom().nodeType},zt=function(e){return function(t){return kt(t)===e}},Mt=zt(Et),Nt=zt(St),At=Object.keys,Ot=Object.hasOwnProperty,Pt=function(e,t){for(var n=At(e),r=0,i=n.length;r<i;r++){var o=n[r],a=e[o];t(a,o)}},_t=function(e,t){return Dt(e,(function(e,n){return{k:n,v:t(e,n)}}))},Dt=function(e,t){var n={};return Pt(e,(function(e,r){var i=t(e,r);n[i.k]=i.v})),n},Lt=function(e,t){var n={},r={};return Pt(e,(function(e,i){var o=t(e,i)?n:r;o[i]=e})),{t:n,f:r}},Bt=function(e,t){return Rt(e,t)?g.from(e[t]):g.none()},Rt=function(e,t){return Ot.call(e,t)},It=function(e){return void 0!==e.style&&S(e.style.getPropertyValue)},Ht=function(e){var t=Nt(e)?e.dom().parentNode:e.dom();return void 0!==t&&null!==t&&t.ownerDocument.body.contains(t)},Vt=function(e,t,r){if(!(b(r)||E(r)||T(r)))throw n.console.error("Invalid call to Attr.set. Key ",t,":: Value ",r,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,r+"")},$t=function(e,t,n){Vt(e.dom(),t,n)},Ft=function(e,t){var n=e.dom();Pt(t,(function(e,t){Vt(n,t,e)}))},jt=function(e,t){var n=e.dom().getAttribute(t);return null===n?void 0:n},Ut=function(e,t){var n=e.dom();return!(!n||!n.hasAttribute)&&n.hasAttribute(t)},qt=function(e,t){e.dom().removeAttribute(t)},Wt=function(e,t){var r=e.dom(),i=n.window.getComputedStyle(r),o=i.getPropertyValue(t),a=""!==o||Ht(e)?o:Gt(r,t);return null===a?void 0:a},Gt=function(e,t){return It(e)?e.style.getPropertyValue(t):""},Xt=function(e,t){var n=e.dom(),r=Gt(n,t);return g.from(r).filter((function(e){return e.length>0}))},Yt=function(e){return e.dom().offsetWidth},Kt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e.length!==t.length)throw new Error('Wrong number of arguments to struct. Expected "['+e.length+']", got '+t.length+" arguments");var r={};return D(e,(function(e,n){r[e]=o(t[n])})),r}},Zt=function(e,t){var n=[],r=function(e){return n.push(e),t(e)},i=t(e);do{i=i.bind(r)}while(i.isSome());return n},Qt={toArray:Zt},Jt=function(e,t,n){return 0!==(e.compareDocumentPosition(t)&n)},en=function(e,t){return Jt(e,t,n.Node.DOCUMENT_POSITION_PRECEDING)},tn=function(e,t){return Jt(e,t,n.Node.DOCUMENT_POSITION_CONTAINED_BY)},nn={documentPositionPreceding:en,documentPositionContainedBy:tn},rn=Et,on=xt,an=function(e,t){var n=e.dom();if(n.nodeType!==rn)return!1;var r=n;if(void 0!==r.matches)return r.matches(t);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},sn=function(e){return e.nodeType!==rn&&e.nodeType!==on||0===e.childElementCount},ln=function(e,t){var r=void 0===t?n.document:t.dom();return sn(r)?[]:_(r.querySelectorAll(e),Ct.fromDom)},un=function(e,t){var r=void 0===t?n.document:t.dom();return sn(r)?g.none():g.from(r.querySelector(e)).map(Ct.fromDom)},cn=function(e,t){return e.dom()===t.dom()},dn=function(e,t){var n=e.dom(),r=t.dom();return n!==r&&n.contains(r)},fn=function(e,t){return nn.documentPositionContainedBy(e.dom(),t.dom())},hn=mt().browser,pn=hn.isIE()?fn:dn,mn=function(e){return Ct.fromDom(e.dom().ownerDocument)},gn=function(e){return Ct.fromDom(e.dom().ownerDocument.documentElement)},vn=function(e){return Ct.fromDom(e.dom().ownerDocument.defaultView)},yn=function(e){return g.from(e.dom().parentNode).map(Ct.fromDom)},bn=function(e,t){var n=S(t)?t:c,r=e.dom(),i=[];while(null!==r.parentNode&&void 0!==r.parentNode){var o=r.parentNode,a=Ct.fromDom(o);if(i.push(a),!0===n(a))break;r=o}return i},wn=function(e){return g.from(e.dom().previousSibling).map(Ct.fromDom)},Cn=function(e){return g.from(e.dom().nextSibling).map(Ct.fromDom)},xn=function(e){return q(Qt.toArray(e,wn))},En=function(e){return Qt.toArray(e,Cn)},Sn=function(e){return _(e.dom().childNodes,Ct.fromDom)},Tn=function(e,t){var n=e.dom().childNodes;return g.from(n[t]).map(Ct.fromDom)},kn=function(e){return Tn(e,0)},zn=function(e){return Tn(e,e.dom().childNodes.length-1)},Mn=function(e){return e.dom().childNodes.length},Nn=(Kt("element","offset"),mt().browser),An=function(e){return V(e,Mt)},On=function(e){return Nn.isFirefox()&&"table"===Tt(e)?An(Sn(e)).filter((function(e){return"caption"===Tt(e)})).bind((function(e){return An(En(e)).map((function(t){var n=t.dom().offsetTop,r=e.dom().offsetTop,i=e.dom().offsetHeight;return n<=r?-i:0}))})).getOr(0):0},Pn=function(e,t){return e.children&&O(e.children,t)},_n=function(e,t,n){var r,i,o=0,a=0,s=e.ownerDocument;if(n=n||e,t){if(n===e&&t.getBoundingClientRect&&"static"===Wt(Ct.fromDom(e),"position"))return i=t.getBoundingClientRect(),o=i.left+(s.documentElement.scrollLeft||e.scrollLeft)-s.documentElement.clientLeft,a=i.top+(s.documentElement.scrollTop||e.scrollTop)-s.documentElement.clientTop,{x:o,y:a};r=t;while(r&&r!==n&&r.nodeType&&!Pn(r,n))o+=r.offsetLeft||0,a+=r.offsetTop||0,r=r.offsetParent;r=t.parentNode;while(r&&r!==n&&r.nodeType&&!Pn(r,n))o-=r.scrollLeft||0,a-=r.scrollTop||0,r=r.parentNode;a+=On(Ct.fromDom(t))}return{x:o,y:a}},Dn={getPos:_n},Ln={},Bn={exports:Ln};(function(e,n,r,i){(function(i){if("object"===typeof n&&"undefined"!==typeof r)r.exports=i();else if("function"===typeof e&&e.amd)e([],i);else{var o;o="undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:this,o.EphoxContactWrapper=i()}})((function(){return function(){function e(t,n,r){function o(s,l){if(!n[s]){if(!t[s]){var u="function"==typeof i&&i;if(!l&&u)return u(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[s]={exports:{}};t[s][0].call(d.exports,(function(e){var n=t[s][1][e];return o(n||e)}),d,d.exports,e,t,n,r)}return n[s].exports}for(var a="function"==typeof i&&i,s=0;s<r.length;s++)o(r[s]);return o}return e}()({1:[function(e,t,n){var r,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}function u(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(function(){try{r="function"===typeof setTimeout?setTimeout:a}catch(e){r=a}try{i="function"===typeof clearTimeout?clearTimeout:s}catch(e){i=s}})();var c,d=[],f=!1,h=-1;function p(){f&&c&&(f=!1,c.length?d=c.concat(d):h=-1,d.length&&m())}function m(){if(!f){var e=l(p);f=!0;var t=d.length;while(t){c=d,d=[];while(++h<t)c&&c[h].run();h=-1,t=d.length}c=null,f=!1,u(e)}}function g(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new g(e,t)),1!==d.length||f||l(m)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],2:[function(e,t,n){(function(e){(function(n){var r=setTimeout;function i(){}function o(e,t){return function(){e.apply(t,arguments)}}function a(e){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(e,this)}function s(e,t){while(3===e._state)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(i){return void u(t.promise,i)}l(t.promise,r)}else(1===e._state?l:u)(t.promise,e._value)}))):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void c(e);if("function"===typeof n)return void f(o(n,t),e)}e._state=1,e._value=t,c(e)}catch(r){u(e,r)}}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&a._immediateFn((function(){e._handled||a._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function d(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function f(e,t){var n=!1;try{e((function(e){n||(n=!0,l(t,e))}),(function(e){n||(n=!0,u(t,e))}))}catch(r){if(n)return;n=!0,u(t,r)}}a.prototype["catch"]=function(e){return this.then(null,e)},a.prototype.then=function(e,t){var n=new this.constructor(i);return s(this,new d(e,t,n)),n},a.all=function(e){var t=Array.prototype.slice.call(e);return new a((function(e,n){if(0===t.length)return e([]);var r=t.length;function i(o,a){try{if(a&&("object"===typeof a||"function"===typeof a)){var s=a.then;if("function"===typeof s)return void s.call(a,(function(e){i(o,e)}),n)}t[o]=a,0===--r&&e(t)}catch(l){n(l)}}for(var o=0;o<t.length;o++)i(o,t[o])}))},a.resolve=function(e){return e&&"object"===typeof e&&e.constructor===a?e:new a((function(t){t(e)}))},a.reject=function(e){return new a((function(t,n){n(e)}))},a.race=function(e){return new a((function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n)}))},a._immediateFn="function"===typeof e?function(t){e(t)}:function(e){r(e,0)},a._unhandledRejectionFn=function(e){"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},a._setImmediateFn=function(e){a._immediateFn=e},a._setUnhandledRejectionFn=function(e){a._unhandledRejectionFn=e},"undefined"!==typeof t&&t.exports?t.exports=a:n.Promise||(n.Promise=a)})(this)}).call(this,e("timers").setImmediate)},{timers:3}],3:[function(e,t,n){(function(t,r){var i=e("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},l=0;function u(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new u(o.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(o.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate="function"===typeof t?t:function(e){var t=l++,r=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,i((function(){s[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"===typeof r?r:function(e){delete s[e]}}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(e,t,n){var r=e("promise-polyfill"),i=function(){return"undefined"!==typeof window?window:Function("return this;")()}();t.exports={boltExport:i.Promise||r}},{"promise-polyfill":2}]},{},[4])(4)}))})(void 0,Ln,Bn,void 0);var Rn,In=Bn.exports.boltExport,Hn=function(e){var t=g.none(),r=[],i=function(e){return Hn((function(t){o((function(n){t(e(n))}))}))},o=function(e){s()?u(e):r.push(e)},a=function(e){t=g.some(e),l(r),r=[]},s=function(){return t.isSome()},l=function(e){D(e,u)},u=function(e){t.each((function(t){n.setTimeout((function(){e(t)}),0)}))};return e(a),{get:o,map:i,isReady:s}},Vn=function(e){return Hn((function(t){t(e)}))},$n={nu:Hn,pure:Vn},Fn=function(e){n.setTimeout((function(){throw e}),0)},jn=function(e){var t=function(t){e().then(t,Fn)},n=function(t){return jn((function(){return e().then(t)}))},r=function(t){return jn((function(){return e().then((function(e){return t(e).toPromise()}))}))},i=function(t){return jn((function(){return e().then((function(){return t.toPromise()}))}))},o=function(){return $n.nu(t)},a=function(){var t=null;return jn((function(){return null===t&&(t=e()),t}))},s=e;return{map:n,bind:r,anonBind:i,toLazy:o,toCached:a,toPromise:s,get:t}},Un=function(e){return jn((function(){return new In(e)}))},qn=function(e){return jn((function(){return In.resolve(e)}))},Wn={nu:Un,pure:qn},Gn=function(e,t){return t((function(t){var n=[],r=0,i=function(i){return function(o){n[i]=o,r++,r>=e.length&&t(n)}};0===e.length?t([]):D(e,(function(e,t){e.get(i(t))}))}))},Xn=function(e){return Gn(e,Wn.nu)},Yn=function(e){var t=function(t){return e===t},n=function(t){return Yn(e)},r=function(t){return Yn(e)},i=function(t){return Yn(t(e))},a=function(t){return Yn(e)},s=function(t){t(e)},l=function(t){return t(e)},u=function(t,n){return n(e)},f=function(t){return t(e)},h=function(t){return t(e)},p=function(){return g.some(e)};return{is:t,isValue:d,isError:c,getOr:o(e),getOrThunk:o(e),getOrDie:o(e),or:n,orThunk:r,fold:u,map:i,mapError:a,each:s,bind:l,exists:f,forall:h,toOption:p}},Kn=function(e){var t=function(e){return e()},n=function(){return u(String(e))()},i=function(e){return e},o=function(e){return e()},s=function(t){return Kn(e)},l=function(t){return Kn(t(e))},f=function(t){return Kn(e)},h=function(t,n){return t(e)};return{is:c,isValue:c,isError:d,getOr:a,getOrThunk:t,getOrDie:n,or:i,orThunk:o,fold:h,map:s,mapError:l,each:r,bind:f,exists:c,forall:d,toOption:g.none}},Zn=function(e,t){return e.fold((function(){return Kn(t)}),Yn)},Qn={value:Yn,error:Kn,fromOption:Zn},Jn=function(){function e(e,t){return function(){e.apply(t,arguments)}}var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=function(t){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],c(t,e(a,this),e(s,this))},i=r.immediateFn||"function"===typeof n.setImmediate&&n.setImmediate||function(e){n.setTimeout(e,1)};function o(e){var t=this;null!==this._state?i((function(){var n=t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(i){return void e.reject(i)}e.resolve(r)}else(t._state?e.resolve:e.reject)(t._value)})):this._deferreds.push(e)}function a(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var n=t.then;if("function"===typeof n)return void c(e(n,t),e(a,this),e(s,this))}this._state=!0,this._value=t,l.call(this)}catch(r){s.call(this,r)}}function s(e){this._state=!1,this._value=e,l.call(this)}function l(){for(var e=0,t=this._deferreds.length;e<t;e++)o.call(this,this._deferreds[e]);this._deferreds=null}function u(e,t,n,r){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.resolve=n,this.reject=r}function c(e,t,n){var r=!1;try{e((function(e){r||(r=!0,t(e))}),(function(e){r||(r=!0,n(e))}))}catch(i){if(r)return;r=!0,n(i)}}return r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=this;return new r((function(r,i){o.call(n,new u(e,t,r,i))}))},r.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&t(arguments[0])?arguments[0]:arguments);return new r((function(t,n){if(0===e.length)return t([]);var r=e.length;function i(o,a){try{if(a&&("object"===typeof a||"function"===typeof a)){var s=a.then;if("function"===typeof s)return void s.call(a,(function(e){i(o,e)}),n)}e[o]=a,0===--r&&t(e)}catch(l){n(l)}}for(var o=0;o<e.length;o++)i(o,e[o])}))},r.resolve=function(e){return e&&"object"===typeof e&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n)}))},r},er=window.Promise?window.Promise:Jn(),tr=function(e,t){var r,i=n.window.requestAnimationFrame,o=["ms","moz","webkit"],a=function(e){n.window.setTimeout(e,0)};for(r=0;r<o.length&&!i;r++)i=n.window[o[r]+"RequestAnimationFrame"];i||(i=a),i(e,t)},nr=function(e,t){return"number"!==typeof t&&(t=0),n.setTimeout(e,t)},rr=function(e,t){return"number"!==typeof t&&(t=1),n.setInterval(e,t)},ir=function(e){return n.clearTimeout(e)},or=function(e){return n.clearInterval(e)},ar=function(e,t){var r,i;return i=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];n.clearTimeout(r),r=nr((function(){e.apply(this,i)}),t)},i.stop=function(){n.clearTimeout(r)},i},sr={requestAnimationFrame:function(e,t){Rn?Rn.then(e):Rn=new er((function(e){t||(t=n.document.body),tr(e,t)})).then(e)},setTimeout:nr,setInterval:rr,setEditorTimeout:function(e,t,n){return nr((function(){e.removed||t()}),n)},setEditorInterval:function(e,t,r){var i;return i=rr((function(){e.removed?n.clearInterval(i):t()}),r),i},debounce:ar,throttle:ar,clearInterval:or,clearTimeout:ir},lr=n.navigator.userAgent,ur=mt(),cr=ur.browser,dr=ur.os,fr=ur.deviceType,hr=/WebKit/.test(lr)&&!cr.isEdge(),pr="FormData"in n.window&&"FileReader"in n.window&&"URL"in n.window&&!!n.URL.createObjectURL,mr=-1!==lr.indexOf("Windows Phone"),gr={opera:cr.isOpera(),webkit:hr,ie:!(!cr.isIE()&&!cr.isEdge())&&cr.version.major,gecko:cr.isFirefox(),mac:dr.isOSX()||dr.isiOS(),iOS:fr.isiPad()||fr.isiPhone(),android:dr.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:n.window.getSelection&&"Range"in n.window,documentMode:cr.isIE()?n.document.documentMode||7:10,fileApi:pr,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!cr.isIE(),desktop:fr.isDesktop(),windowsPhone:mr,browser:{current:cr.current,version:cr.version,isChrome:cr.isChrome,isEdge:cr.isEdge,isFirefox:cr.isFirefox,isIE:cr.isIE,isOpera:cr.isOpera,isSafari:cr.isSafari},os:{current:dr.current,version:dr.version,isAndroid:dr.isAndroid,isFreeBSD:dr.isFreeBSD,isiOS:dr.isiOS,isLinux:dr.isLinux,isOSX:dr.isOSX,isSolaris:dr.isSolaris,isWindows:dr.isWindows},deviceType:{isDesktop:fr.isDesktop,isiPad:fr.isiPad,isiPhone:fr.isiPhone,isPhone:fr.isPhone,isTablet:fr.isTablet,isTouch:fr.isTouch,isWebView:fr.isWebView}},vr=Array.isArray,yr=function(e){var t,n,r=e;if(!vr(e))for(r=[],t=0,n=e.length;t<n;t++)r[t]=e[t];return r},br=function(e,t,n){var r,i;if(!e)return 0;if(n=n||e,void 0!==e.length){for(r=0,i=e.length;r<i;r++)if(!1===t.call(n,e[r],r,e))return 0}else for(r in e)if(e.hasOwnProperty(r)&&!1===t.call(n,e[r],r,e))return 0;return 1},wr=function(e,t){var n=[];return br(e,(function(r,i){n.push(t(r,i,e))})),n},Cr=function(e,t){var n=[];return br(e,(function(r,i){t&&!t(r,i,e)||n.push(r)})),n},xr=function(e,t){var n,r;if(e)for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Er=function(e,t,n,r){var i=0;for(arguments.length<3&&(n=e[0]);i<e.length;i++)n=t.call(r,n,e[i],i);return n},Sr=function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return r;return-1},Tr=function(e,t,n){var r=Sr(e,t,n);if(-1!==r)return e[r]},kr=function(e){return e[e.length-1]},zr={isArray:vr,toArray:yr,each:br,map:wr,filter:Cr,indexOf:xr,reduce:Er,findIndex:Sr,find:Tr,last:kr},Mr=/^\s*|\s*$/g,Nr=function(e){return null===e||void 0===e?"":(""+e).replace(Mr,"")},Ar=function(e,t){return t?!("array"!==t||!zr.isArray(e))||typeof e===t:void 0!==e},Or=function(e,t,n){var r;e=e||[],t=t||",","string"===typeof e&&(e=e.split(t)),n=n||{},r=e.length;while(r--)n[e[r]]={};return n},Pr=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},_r=function(e,t,n){var r,i,o,a,s,l=this,u=0;if(e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e),o=e[3].match(/(^|\.)(\w+)$/i)[2],i=l.createNS(e[3].replace(/\.\w+$/,""),n),!i[o]){if("static"===e[2])return i[o]=t,void(this.onCreate&&this.onCreate(e[2],e[3],i[o]));t[o]||(t[o]=function(){},u=1),i[o]=t[o],l.extend(i[o].prototype,t),e[5]&&(r=l.resolve(e[5]).prototype,a=e[5].match(/\.(\w+)$/i)[1],s=i[o],i[o]=u?function(){return r[a].apply(this,arguments)}:function(){return this.parent=r[a],s.apply(this,arguments)},i[o].prototype[o]=i[o],l.each(r,(function(e,t){i[o].prototype[t]=r[t]})),l.each(t,(function(e,t){r[t]?i[o].prototype[t]=function(){return this.parent=r[t],e.apply(this,arguments)}:t!==o&&(i[o].prototype[t]=e)}))),l.each(t.static,(function(e,t){i[o][t]=e}))}},Dr=function(e,t){for(var n,r,i,o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var s,l=arguments;for(n=1,r=l.length;n<r;n++)for(i in t=l[n],t)t.hasOwnProperty(i)&&(s=t[i],void 0!==s&&(e[i]=s));return e},Lr=function(e,t,n,r){r=r||this,e&&(n&&(e=e[n]),zr.each(e,(function(e,i){if(!1===t.call(r,e,i,n))return!1;Lr(e,t,n,r)})))},Br=function(e,t){var r,i;for(t=t||n.window,e=e.split("."),r=0;r<e.length;r++)i=e[r],t[i]||(t[i]={}),t=t[i];return t},Rr=function(e,t){var r,i;for(t=t||n.window,e=e.split("."),r=0,i=e.length;r<i;r++)if(t=t[e[r]],!t)break;return t},Ir=function(e,t){return!e||Ar(e,"array")?e:zr.map(e.split(t||","),Nr)},Hr=function(e){var t=gr.cacheSuffix;return t&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e},Vr={trim:Nr,isArray:zr.isArray,is:Ar,toArray:zr.toArray,makeMap:Or,each:zr.each,map:zr.map,grep:zr.filter,inArray:zr.indexOf,hasOwn:Pr,extend:Dr,create:_r,walk:Lr,createNS:Br,resolve:Rr,explode:Ir,_addCacheSuffix:Hr};function $r(e,t){void 0===t&&(t={});var r,s=0,l={};r=t.maxLoadTime||5e3;var u=function(e){t.referrerPolicy=e},c=function(t){e.getElementsByTagName("head")[0].appendChild(t)},d=function(i,o,a){var u,d,f,h,p=function(e){h.status=e,h.passed=[],h.failed=[],u&&(u.onload=null,u.onerror=null,u=null)},m=function(){var e=h.passed,t=e.length;while(t--)e[t]();p(2)},g=function(){var e=h.failed,t=e.length;while(t--)e[t]();p(3)},v=function(){var e=n.navigator.userAgent.match(/WebKit\/(\d*)/);return!!(e&&parseInt(e[1],10)<536)},y=function(e,t){e()||((new Date).getTime()-f<r?sr.setTimeout(t):g())},b=function(){y((function(){var t,n,r=e.styleSheets,i=r.length;while(i--)if(t=r[i],n=t.ownerNode?t.ownerNode:t.owningElement,n&&n.id===u.id)return m(),!0}),b)},w=function(){y((function(){try{var e=d.sheet.cssRules;return m(),!!e}catch(t){}}),w)};if(i=Vr._addCacheSuffix(i),l[i]?h=l[i]:(h={passed:[],failed:[]},l[i]=h),o&&h.passed.push(o),a&&h.failed.push(a),1!==h.status)if(2!==h.status)if(3!==h.status){if(h.status=1,u=e.createElement("link"),u.rel="stylesheet",u.type="text/css",u.id="u"+s++,u.async=!1,u.defer=!1,f=(new Date).getTime(),t.contentCssCors&&(u.crossOrigin="anonymous"),t.referrerPolicy&&$t(Ct.fromDom(u),"referrerpolicy",t.referrerPolicy),"onload"in u&&!v())u.onload=b,u.onerror=g;else{if(n.navigator.userAgent.indexOf("Firefox")>0)return d=e.createElement("style"),d.textContent='@import "'+i+'"',w(),void c(d);b()}c(u),u.href=i}else g();else m()},f=function(e){return Wn.nu((function(t){d(e,i(t,o(Qn.value(e))),i(t,o(Qn.error(e))))}))},h=function(e){return e.fold(a,a)},p=function(e,t,n){Xn(_(e,f)).get((function(e){var r=B(e,(function(e){return e.isValue()}));r.fail.length>0?n(r.fail.map(h)):t(r.pass.map(h))}))};return{load:d,loadAll:p,_setReferrerPolicy:u}}var Fr,jr,Ur,qr=["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"],Wr=["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param","embed","source","wbr","track"],Gr=["td","th"],Xr=["thead","tbody","tfoot"],Yr=["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"],Kr=["h1","h2","h3","h4","h5","h6"],Zr=["li","dd","dt"],Qr=["ul","ol","dl"],Jr=["pre","script","textarea","style"],ei=function(e){var t;return function(n){return t=t||G(e,o(!0)),t.hasOwnProperty(Tt(n))}},ti=ei(Kr),ni=ei(qr),ri=function(e){return"table"===Tt(e)},ii=function(e){return Mt(e)&&!ni(e)},oi=function(e){return Mt(e)&&"br"===Tt(e)},ai=ei(Yr),si=ei(Qr),li=ei(Zr),ui=ei(Wr),ci=ei(Xr),di=ei(Gr),fi=ei(Jr),hi=function(e){var t=e.previousSibling&&"SPAN"===e.previousSibling.nodeName,n=e.nextSibling&&"SPAN"===e.nextSibling.nodeName;return t&&n},pi=function(e){return e&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type")},mi=function(e,t){var n,r=t.childNodes;if(!we.isElement(t)||!pi(t)){for(n=r.length-1;n>=0;n--)mi(e,r[n]);if(!1===we.isDocument(t)){if(we.isText(t)&&t.nodeValue.length>0){var i=Vr.trim(t.nodeValue).length;if(e.isBlock(t.parentNode)||i>0)return;if(0===i&&hi(t))return}else if(we.isElement(t)&&(r=t.childNodes,1===r.length&&pi(r[0])&&t.parentNode.insertBefore(r[0],t),r.length||ui(Ct.fromDom(t))))return;e.remove(t)}return t}},gi={trimNode:mi},vi=Vr.makeMap,yi=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bi=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wi=/[<>&\"\']/g,Ci=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,xi={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};jr={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},Ur={"<":"<",">":">","&":"&",""":'"',"'":"'"};var Ei=function(e){var t;return t=Ct.fromTag("div").dom(),t.innerHTML=e,t.textContent||t.innerText||e},Si=function(e,t){var n,r,i,o={};if(e){for(e=e.split(","),t=t||10,n=0;n<e.length;n+=2)r=String.fromCharCode(parseInt(e[n],t)),jr[r]||(i="&"+e[n+1]+";",o[r]=i,o[i]=r);return o}};Fr=Si("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var Ti=function(e,t){return e.replace(t?yi:bi,(function(e){return jr[e]||e}))},ki=function(e){return(""+e).replace(wi,(function(e){return jr[e]||e}))},zi=function(e,t){return e.replace(t?yi:bi,(function(e){return e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":jr[e]||"&#"+e.charCodeAt(0)+";"}))},Mi=function(e,t,n){return n=n||Fr,e.replace(t?yi:bi,(function(e){return jr[e]||n[e]||e}))},Ni=function(e,t){var n=Si(t)||Fr,r=function(e,t){return e.replace(t?yi:bi,(function(e){return void 0!==jr[e]?jr[e]:void 0!==n[e]?n[e]:e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":"&#"+e.charCodeAt(0)+";"}))},i=function(e,t){return Mi(e,t,n)},o=vi(e.replace(/\+/g,","));return o.named&&o.numeric?r:o.named?t?i:Mi:o.numeric?zi:Ti},Ai=function(e){return e.replace(Ci,(function(e,t){return t?(t="x"===t.charAt(0).toLowerCase()?parseInt(t.substr(1),16):parseInt(t,10),t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):xi[t]||String.fromCharCode(t)):Ur[e]||Fr[e]||Ei(e)}))},Oi={encodeRaw:Ti,encodeAllRaw:ki,encodeNumeric:zi,encodeNamed:Mi,getEncodeFunc:Ni,decode:Ai},Pi={},_i={},Di=Vr.makeMap,Li=Vr.each,Bi=Vr.extend,Ri=Vr.explode,Ii=Vr.inArray,Hi=function(e,t){return e=Vr.trim(e),e?e.split(t||" "):[]},Vi=function(e){var t,n,r,i,o,a,s={},l=function(e,n,r){var i,o,a,l=function(e,t){var n,r,i={};for(n=0,r=e.length;n<r;n++)i[e[n]]=t||{};return i};r=r||[],n=n||"","string"===typeof r&&(r=Hi(r)),e=Hi(e),i=e.length;while(i--)o=Hi([t,n].join(" ")),a={attributes:l(o),attributesOrder:o,children:l(r,_i)},s[e[i]]=a},u=function(e,t){var n,r,i,o;e=Hi(e),n=e.length,t=Hi(t);while(n--)for(r=s[e[n]],i=0,o=t.length;i<o;i++)r.attributes[t[i]]={},r.attributesOrder.push(t[i])};return Pi[e]?Pi[e]:(t="id accesskey class dir lang style tabindex title role",n="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",r="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!==e&&(t+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",n+=" article aside details dialog figure main header footer hgroup section nav",r+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"),"html5-strict"!==e&&(t+=" xml:lang",a="acronym applet basefont big font strike tt",r=[r,a].join(" "),Li(Hi(a),(function(e){l(e,"",r)})),o="center dir isindex noframes",n=[n,o].join(" "),i=[n,r].join(" "),Li(Hi(o),(function(e){l(e,"",i)}))),i=i||[n,r].join(" "),l("html","manifest","head body"),l("head","","base command link meta noscript script style title"),l("title hr noscript br"),l("base","href target"),l("link","href rel media hreflang type sizes hreflang"),l("meta","name http-equiv content charset"),l("style","media type scoped"),l("script","src async defer type charset"),l("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",i),l("address dt dd div caption","",i),l("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",r),l("blockquote","cite",i),l("ol","reversed start type","li"),l("ul","","li"),l("li","value",i),l("dl","","dt dd"),l("a","href target rel media hreflang type",r),l("q","cite",r),l("ins del","cite datetime",i),l("img","src sizes srcset alt usemap ismap width height"),l("iframe","src name width height",i),l("embed","src type width height"),l("object","data type typemustmatch name usemap form width height",[i,"param"].join(" ")),l("param","name value"),l("map","name",[i,"area"].join(" ")),l("area","alt coords shape href target rel media hreflang type"),l("table","border","caption colgroup thead tfoot tbody tr"+("html4"===e?" col":"")),l("colgroup","span","col"),l("col","span"),l("tbody thead tfoot","","tr"),l("tr","","td th"),l("td","colspan rowspan headers",i),l("th","colspan rowspan headers scope abbr",i),l("form","accept-charset action autocomplete enctype method name novalidate target",i),l("fieldset","disabled form name",[i,"legend"].join(" ")),l("label","form for",r),l("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),l("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"===e?i:r),l("select","disabled form multiple name required size","option optgroup"),l("optgroup","disabled label","option"),l("option","disabled label selected value"),l("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),l("menu","type label",[i,"li"].join(" ")),l("noscript","",i),"html4"!==e&&(l("wbr"),l("ruby","",[r,"rt rp"].join(" ")),l("figcaption","",i),l("mark rt rp summary bdi","",r),l("canvas","width height",i),l("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[i,"track source"].join(" ")),l("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[i,"track source"].join(" ")),l("picture","","img source"),l("source","src srcset type media sizes"),l("track","kind src srclang label default"),l("datalist","",[r,"option"].join(" ")),l("article section nav aside main header footer","",i),l("hgroup","","h1 h2 h3 h4 h5 h6"),l("figure","",[i,"figcaption"].join(" ")),l("time","datetime",r),l("dialog","open",i),l("command","type label icon disabled checked radiogroup command"),l("output","for form name",r),l("progress","value max",r),l("meter","value min max low high optimum",r),l("details","open",[i,"summary"].join(" ")),l("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!==e&&(u("script","language xml:space"),u("style","xml:space"),u("object","declare classid code codebase codetype archive standby align border hspace vspace"),u("embed","align name hspace vspace"),u("param","valuetype type"),u("a","charset name rev shape coords"),u("br","clear"),u("applet","codebase archive code object alt name width height align hspace vspace"),u("img","name longdesc align border hspace vspace"),u("iframe","longdesc frameborder marginwidth marginheight scrolling align"),u("font basefont","size color face"),u("input","usemap align"),u("select","onchange"),u("textarea"),u("h1 h2 h3 h4 h5 h6 div p legend caption","align"),u("ul","type compact"),u("li","type"),u("ol dl menu dir","compact"),u("pre","width xml:space"),u("hr","align noshade size width"),u("isindex","prompt"),u("table","summary width frame rules cellspacing cellpadding align bgcolor"),u("col","width align char charoff valign"),u("colgroup","width align char charoff valign"),u("thead","align char charoff valign"),u("tr","align char charoff valign bgcolor"),u("th","axis align char charoff valign nowrap bgcolor width height"),u("form","accept"),u("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),u("tfoot","align char charoff valign"),u("tbody","align char charoff valign"),u("area","nohref"),u("body","background bgcolor text link vlink alink")),"html4"!==e&&(u("input button select textarea","autofocus"),u("input textarea","placeholder"),u("a","download"),u("link script img","crossorigin"),u("iframe","sandbox seamless allowfullscreen")),Li(Hi("a form meter progress dfn"),(function(e){s[e]&&delete s[e].children[e]})),delete s.caption.children.table,delete s.script,Pi[e]=s,s)},$i=function(e,t){var n;return e&&(n={},"string"===typeof e&&(e={"*":e}),Li(e,(function(e,r){n[r]=n[r.toUpperCase()]="map"===t?Di(e,/[, ]/):Ri(e,/[, ]/)}))),n};function Fi(e){var t,n,r,i,o,a,s,l,u,c,d,f,h,p={},m={},g=[],v={},y={},b=function(t,n,r){var i=e[t];return i?i=Di(i,/[, ]/,Di(i.toUpperCase(),/[, ]/)):(i=Pi[t],i||(i=Di(n," ",Di(n.toUpperCase()," ")),i=Bi(i,r),Pi[t]=i)),i};e=e||{},r=Vi(e.schema),!1===e.verify_html&&(e.valid_elements="*[*]"),t=$i(e.valid_styles),n=$i(e.invalid_styles,"map"),l=$i(e.valid_classes,"map"),i=b("whitespace_elements","pre script noscript style textarea video audio iframe object code"),o=b("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),a=b("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),s=b("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),c=b("non_empty_elements","td th iframe video audio object script pre code",a),d=b("move_caret_before_on_enter_elements","table",c),f=b("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),u=b("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary",f),h=b("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp"),Li((e.special||"script noscript noframes noembed title style textarea xmp").split(" "),(function(e){y[e]=new RegExp("</"+e+"[^>]*>","gi")}));var w=function(e){return new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$")},C=function(e){var t,n,r,i,o,a,s,l,u,c,d,f,h,m,v,y,b,C,x,E=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)\])?$/,S=/^([!\-])?(\w+[\\:]:\w+|[^=:<]+)?(?:([=:<])(.*))?$/,T=/[*?+]/;if(e)for(e=Hi(e,","),p["@"]&&(y=p["@"].attributes,b=p["@"].attributesOrder),t=0,n=e.length;t<n;t++)if(o=E.exec(e[t]),o){if(m=o[1],u=o[2],v=o[3],l=o[5],f={},h=[],a={attributes:f,attributesOrder:h},"#"===m&&(a.paddEmpty=!0),"-"===m&&(a.removeEmpty=!0),"!"===o[4]&&(a.removeEmptyAttrs=!0),y){for(C in y)f[C]=y[C];h.push.apply(h,b)}if(l)for(l=Hi(l,"|"),r=0,i=l.length;r<i;r++)if(o=S.exec(l[r]),o){if(s={},d=o[1],c=o[2].replace(/[\\:]:/g,":"),m=o[3],x=o[4],"!"===d&&(a.attributesRequired=a.attributesRequired||[],a.attributesRequired.push(c),s.required=!0),"-"===d){delete f[c],h.splice(Ii(h,c),1);continue}m&&("="===m&&(a.attributesDefault=a.attributesDefault||[],a.attributesDefault.push({name:c,value:x}),s.defaultValue=x),":"===m&&(a.attributesForced=a.attributesForced||[],a.attributesForced.push({name:c,value:x}),s.forcedValue=x),"<"===m&&(s.validValues=Di(x,"?"))),T.test(c)?(a.attributePatterns=a.attributePatterns||[],s.pattern=w(c),a.attributePatterns.push(s)):(f[c]||h.push(c),f[c]=s)}y||"@"!==u||(y=f,b=h),v&&(a.outputName=u,p[v]=a),T.test(u)?(a.pattern=w(u),g.push(a)):p[u]=a}},x=function(e){p={},g=[],C(e),Li(r,(function(e,t){m[t]=e.children}))},E=function(e){var t=/^(~)?(.+)$/;e&&(Pi.text_block_elements=Pi.block_elements=null,Li(Hi(e,","),(function(e){var n=t.exec(e),r="~"===n[1],i=r?"span":"div",o=n[2];if(m[o]=m[i],v[o]=i,r||(u[o.toUpperCase()]={},u[o]={}),!p[o]){var a=p[i];a=Bi({},a),delete a.removeEmptyAttrs,delete a.removeEmpty,p[o]=a}Li(m,(function(e,t){e[i]&&(m[t]=e=Bi({},m[t]),e[o]=e[i])}))})))},S=function(t){var n=/^([+\-]?)(\w+)\[([^\]]+)\]$/;Pi[e.schema]=null,t&&Li(Hi(t,","),(function(e){var t,r,i=n.exec(e);i&&(r=i[1],t=r?m[i[2]]:m[i[2]]={"#comment":{}},t=m[i[2]],Li(Hi(i[3],"|"),(function(e){"-"===r?delete t[e]:t[e]={}})))}))},T=function(e){var t,n=p[e];if(n)return n;t=g.length;while(t--)if(n=g[t],n.pattern.test(e))return n};e.valid_elements?x(e.valid_elements):(Li(r,(function(e,t){p[t]={attributes:e.attributes,attributesOrder:e.attributesOrder},m[t]=e.children})),"html5"!==e.schema&&Li(Hi("strong/b em/i"),(function(e){e=Hi(e,"/"),p[e[1]].outputName=e[0]})),Li(Hi("ol ul sub sup blockquote span font a table tbody tr strong em b i"),(function(e){p[e]&&(p[e].removeEmpty=!0)})),Li(Hi("p h1 h2 h3 h4 h5 h6 th td pre div address caption li"),(function(e){p[e].paddEmpty=!0})),Li(Hi("span"),(function(e){p[e].removeEmptyAttrs=!0}))),E(e.custom_elements),S(e.valid_children),C(e.extended_valid_elements),S("+ol[ul|ol],+ul[ul|ol]"),Li({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(function(e,t){p[t]&&(p[t].parentsRequired=Hi(e))})),e.invalid_elements&&Li(Ri(e.invalid_elements),(function(e){p[e]&&delete p[e]})),T("span")||C("span[!data-mce-type|*]");var k=function(){return t},z=function(){return n},M=function(){return l},N=function(){return s},A=function(){return u},O=function(){return f},P=function(){return h},_=function(){return a},D=function(){return o},L=function(){return c},B=function(){return d},R=function(){return i},I=function(){return y},H=function(e,t){var n=m[e.toLowerCase()];return!(!n||!n[t.toLowerCase()])},V=function(e,t){var n,r,i=T(e);if(i){if(!t)return!0;if(i.attributes[t])return!0;if(n=i.attributePatterns,n){r=n.length;while(r--)if(n[r].pattern.test(e))return!0}}return!1},$=function(){return v};return{children:m,elements:p,getValidStyles:k,getValidClasses:M,getBlockElements:A,getInvalidStyles:z,getShortEndedElements:_,getTextBlockElements:O,getTextInlineElements:P,getBoolAttrs:N,getElementRule:T,getSelfClosingElements:D,getNonEmptyElements:L,getMoveCaretBeforeOnEnterElements:B,getWhiteSpaceElements:R,getSpecialElements:I,isValidChild:H,isValid:V,getCustomElements:$,addValidElements:C,setValidElements:x,addCustomElements:E,addValidChildren:S}}var ji,Ui,qi,Wi,Gi,Xi,Yi,Ki,Zi,Qi,Ji,eo,to,no,ro,io,oo,ao,so,lo=function(e,t,n,r){var i=function(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e};return"#"+i(t)+i(n)+i(r)},uo=function(e,t){var n,r,i,o,a=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,s=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,l=/\s*([^:]+):\s*([^;]+);?/g,u=/\s+$/,c={},d="\ufeff";for(e=e||{},t&&(i=t.getValidStyles(),o=t.getInvalidStyles()),r=("\\\" \\' \\; \\: ; : "+d).split(" "),n=0;n<r.length;n++)c[r[n]]=d+n,c[d+n]=r[n];return{toHex:function(e){return e.replace(a,lo)},parse:function(t){var r,i,o,f,h={},p=e.url_converter,m=e.url_converter_scope||this,g=function(e,t,r){var i,o,a,s;if(i=h[e+"-top"+t],i&&(o=h[e+"-right"+t],o&&(a=h[e+"-bottom"+t],a&&(s=h[e+"-left"+t],s)))){var l=[i,o,a,s];n=l.length-1;while(n--)if(l[n]!==l[n+1])break;n>-1&&r||(h[e+t]=-1===n?l[0]:l.join(" "),delete h[e+"-top"+t],delete h[e+"-right"+t],delete h[e+"-bottom"+t],delete h[e+"-left"+t])}},v=function(e){var t,n=h[e];if(n){n=n.split(" "),t=n.length;while(t--)if(n[t]!==n[0])return!1;return h[e]=n[0],!0}},y=function(e,t,n,r){v(t)&&v(n)&&v(r)&&(h[e]=h[t]+" "+h[n]+" "+h[r],delete h[t],delete h[n],delete h[r])},b=function(e){return f=!0,c[e]},w=function(e,t){return f&&(e=e.replace(/\uFEFF[0-9]/g,(function(e){return c[e]}))),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e},C=function(e){return String.fromCharCode(parseInt(e.slice(1),16))},x=function(e){return e.replace(/\\[0-9a-f]+/gi,C)},E=function(t,n,r,i,o,a){if(o=o||a,o)return o=w(o),"'"+o.replace(/\'/g,"\\'")+"'";if(n=w(n||r||i),!e.allow_script_urls){var s=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(s))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(s))return""}return p&&(n=p.call(m,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"};if(t){t=t.replace(/[\u0000-\u001F]/g,""),t=t.replace(/\\[\"\';:\uFEFF]/g,b).replace(/\"[^\"]+\"|\'[^\']+\'/g,(function(e){return e.replace(/[;:]/g,b)}));while(r=l.exec(t))if(l.lastIndex=r.index+r[0].length,i=r[1].replace(u,"").toLowerCase(),o=r[2].replace(u,""),i&&o){if(i=x(i),o=x(o),-1!==i.indexOf(d)||-1!==i.indexOf('"'))continue;if(!e.allow_script_urls&&("behavior"===i||/expression\s*\(|\/\*|\*\//.test(o)))continue;"font-weight"===i&&"700"===o?o="bold":"color"!==i&&"background-color"!==i||(o=o.toLowerCase()),o=o.replace(a,lo),o=o.replace(s,E),h[i]=f?w(o,!0):o}g("border","",!0),g("border","-width"),g("border","-color"),g("border","-style"),g("padding",""),g("margin",""),y("border","border-width","border-style","border-color"),"medium none"===h.border&&delete h.border,"none"===h["border-image"]&&delete h["border-image"]}return h},serialize:function(e,t){var n,r,a="",s=function(t){var n,r,o,s;if(n=i[t],n)for(r=0,o=n.length;r<o;r++)t=n[r],s=e[t],s&&(a+=(a.length>0?" ":"")+t+": "+s+";")},l=function(e,t){var n;return n=o["*"],(!n||!n[e])&&(n=o[t],!n||!n[e])};if(t&&i)s("*"),s(t);else for(n in e)r=e[n],!r||o&&!l(n,t)||(a+=(a.length>0?" ":"")+n+": "+r+";");return a}}},co="mce-data-",fo=/^(?:mouse|contextmenu)|click/,ho={keyLocation:1,layerX:1,layerY:1,returnValue:1,webkitMovementX:1,webkitMovementY:1,keyIdentifier:1,mozPressure:1},po=function(e){return e.isDefaultPrevented===go||e.isDefaultPrevented===mo},mo=function(){return!1},go=function(){return!0},vo=function(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r||!1):e.attachEvent&&e.attachEvent("on"+t,n)},yo=function(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r||!1):e.detachEvent&&e.detachEvent("on"+t,n)},bo=function(e,t){if(e.composedPath){var n=e.composedPath();if(n&&n.length>0)return n[0]}return t},wo=function(e,t){var r,i=t||{};for(r in e)ho[r]||(i[r]=e[r]);if(i.target||(i.target=i.srcElement||n.document),gr.experimentalShadowDom&&(i.target=bo(e,i.target)),e&&fo.test(e.type)&&void 0===e.pageX&&void 0!==e.clientX){var o=i.target.ownerDocument||n.document,a=o.documentElement,s=o.body;i.pageX=e.clientX+(a&&a.scrollLeft||s&&s.scrollLeft||0)-(a&&a.clientLeft||s&&s.clientLeft||0),i.pageY=e.clientY+(a&&a.scrollTop||s&&s.scrollTop||0)-(a&&a.clientTop||s&&s.clientTop||0)}return i.preventDefault=function(){i.isDefaultPrevented=go,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},i.stopPropagation=function(){i.isPropagationStopped=go,e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)},i.stopImmediatePropagation=function(){i.isImmediatePropagationStopped=go,i.stopPropagation()},!1===po(i)&&(i.isDefaultPrevented=mo,i.isPropagationStopped=mo,i.isImmediatePropagationStopped=mo),"undefined"===typeof i.metaKey&&(i.metaKey=!1),i},Co=function(e,t,n){var r=e.document,i={type:"ready"};if(n.domLoaded)t(i);else{var o=function(){return"complete"===r.readyState||"interactive"===r.readyState&&r.body},a=function(){yo(e,"DOMContentLoaded",a),yo(e,"load",a),n.domLoaded||(n.domLoaded=!0,t(i))};o()?a():vo(e,"DOMContentLoaded",a),vo(e,"load",a)}},xo=function(){function e(){this.domLoaded=!1,this.events={},this.count=1,this.expando=co+(+new Date).toString(32),this.hasMouseEnterLeave="onmouseenter"in n.document.documentElement,this.hasFocusIn="onfocusin"in n.document.documentElement,this.count=1}return e.prototype.bind=function(e,t,r,i){var o,a,s,l,u,c,d,f=this,h=n.window,p=function(e){f.executeHandlers(wo(e||h.event),o)};if(e&&3!==e.nodeType&&8!==e.nodeType){e[f.expando]?o=e[f.expando]:(o=f.count++,e[f.expando]=o,f.events[o]={}),i=i||e;var m=t.split(" ");s=m.length;while(s--)l=m[s],c=p,u=d=!1,"DOMContentLoaded"===l&&(l="ready"),f.domLoaded&&"ready"===l&&"complete"===e.readyState?r.call(i,wo({type:l})):(f.hasMouseEnterLeave||(u=f.mouseEnterLeave[l],u&&(c=function(e){var t,n;if(t=e.currentTarget,n=e.relatedTarget,n&&t.contains)n=t.contains(n);else while(n&&n!==t)n=n.parentNode;n||(e=wo(e||h.event),e.type="mouseout"===e.type?"mouseleave":"mouseenter",e.target=t,f.executeHandlers(e,o))})),f.hasFocusIn||"focusin"!==l&&"focusout"!==l||(d=!0,u="focusin"===l?"focus":"blur",c=function(e){e=wo(e||h.event),e.type="focus"===e.type?"focusin":"focusout",f.executeHandlers(e,o)}),a=f.events[o][l],a?"ready"===l&&f.domLoaded?r(wo({type:l})):a.push({func:r,scope:i}):(f.events[o][l]=a=[{func:r,scope:i}],a.fakeName=u,a.capture=d,a.nativeHandler=c,"ready"===l?Co(e,c,f):vo(e,u||l,c,d)));return e=a=0,r}},e.prototype.unbind=function(e,t,n){var r,i,o,a,s,l;if(!e||3===e.nodeType||8===e.nodeType)return this;if(r=e[this.expando],r){if(l=this.events[r],t){var u=t.split(" ");o=u.length;while(o--)if(s=u[o],i=l[s],i){if(n){a=i.length;while(a--)if(i[a].func===n){var c=i.nativeHandler,d=i.fakeName,f=i.capture;i=i.slice(0,a).concat(i.slice(a+1)),i.nativeHandler=c,i.fakeName=d,i.capture=f,l[s]=i}}n&&0!==i.length||(delete l[s],yo(e,i.fakeName||s,i.nativeHandler,i.capture))}}else{for(s in l)i=l[s],yo(e,i.fakeName||s,i.nativeHandler,i.capture);l={}}for(s in l)return this;delete this.events[r];try{delete e[this.expando]}catch(h){e[this.expando]=null}}return this},e.prototype.fire=function(e,t,n){var r;if(!e||3===e.nodeType||8===e.nodeType)return this;var i=wo(null,n);i.type=t,i.target=e;do{r=e[this.expando],r&&this.executeHandlers(i,r),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow}while(e&&!i.isPropagationStopped());return this},e.prototype.clean=function(e){var t,n;if(!e||3===e.nodeType||8===e.nodeType)return this;if(e[this.expando]&&this.unbind(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName){this.unbind(e),n=e.getElementsByTagName("*"),t=n.length;while(t--)e=n[t],e[this.expando]&&this.unbind(e)}return this},e.prototype.destroy=function(){this.events={}},e.prototype.cancel=function(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1},e.prototype.executeHandlers=function(e,t){var n,r,i,o,a=this.events[t];if(n=a&&a[e.type],n)for(r=0,i=n.length;r<i;r++)if(o=n[r],o&&!1===o.func.call(o.scope,e)&&e.preventDefault(),e.isImmediatePropagationStopped())return},e.Event=new e,e}(),Eo="sizzle"+-new Date,So=n.window.document,To=0,ko=0,zo=sa(),Mo=sa(),No=sa(),Ao=function(e,t){return e===t&&(Ji=!0),0},Oo="undefined",Po=1<<31,_o={}.hasOwnProperty,Do=[],Lo=Do.pop,Bo=Do.push,Ro=Do.push,Io=Do.slice,Ho=Do.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},Vo="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",$o="[\\x20\\t\\r\\n\\f]",Fo="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",jo="\\["+$o+"*("+Fo+")(?:"+$o+"*([*^$|!~]?=)"+$o+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Fo+"))|)"+$o+"*\\]",Uo=":("+Fo+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+jo+")*)|.*)\\)|)",qo=new RegExp("^"+$o+"+|((?:^|[^\\\\])(?:\\\\.)*)"+$o+"+$","g"),Wo=new RegExp("^"+$o+"*,"+$o+"*"),Go=new RegExp("^"+$o+"*([>+~]|"+$o+")"+$o+"*"),Xo=new RegExp("="+$o+"*([^\\]'\"]*?)"+$o+"*\\]","g"),Yo=new RegExp(Uo),Ko=new RegExp("^"+Fo+"$"),Zo={ID:new RegExp("^#("+Fo+")"),CLASS:new RegExp("^\\.("+Fo+")"),TAG:new RegExp("^("+Fo+"|[*])"),ATTR:new RegExp("^"+jo),PSEUDO:new RegExp("^"+Uo),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+$o+"*(even|odd|(([+-]|)(\\d*)n|)"+$o+"*(?:([+-]|)"+$o+"*(\\d+)|))"+$o+"*\\)|)","i"),bool:new RegExp("^(?:"+Vo+")$","i"),needsContext:new RegExp("^"+$o+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+$o+"*((?:-\\d)?\\d*)"+$o+"*\\)|)(?=[^-]|$)","i")},Qo=/^(?:input|select|textarea|button)$/i,Jo=/^h\d$/i,ea=/^[^{]+\{\s*\[native \w/,ta=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,na=/[+~]/,ra=/'|\\/g,ia=new RegExp("\\\\([\\da-f]{1,6}"+$o+"?|("+$o+")|.)","ig"),oa=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{Ro.apply(Do=Io.call(So.childNodes),So.childNodes),Do[So.childNodes.length].nodeType}catch(GR){Ro={apply:Do.length?function(e,t){Bo.apply(e,Io.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}var aa=function(e,t,n,r){var i,o,a,s,l,u,c,d,f,h;if((t?t.ownerDocument||t:So)!==to&&eo(t),t=t||to,n=n||[],!e||"string"!==typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(ro&&!r){if(i=ta.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&so(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return Ro.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&Ui.getElementsByClassName)return Ro.apply(n,t.getElementsByClassName(a)),n}if(Ui.qsa&&(!io||!io.test(e))){if(d=c=Eo,f=t,h=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){u=Xi(e),(c=t.getAttribute("id"))?d=c.replace(ra,"\\$&"):t.setAttribute("id",d),d="[id='"+d+"'] ",l=u.length;while(l--)u[l]=d+ma(u[l]);f=na.test(e)&&ha(t.parentNode)||t,h=u.join(",")}if(h)try{return Ro.apply(n,f.querySelectorAll(h)),n}catch(p){}finally{c||t.removeAttribute("id")}}}return Ki(e.replace(qo,"$1"),t,n,r)};function sa(){var e=[];function t(n,r){return e.push(n+" ")>qi.cacheLength&&delete t[e.shift()],t[n+" "]=r}return t}function la(e){return e[Eo]=!0,e}function ua(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Po)-(~e.sourceIndex||Po);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ca(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function da(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fa(e){return la((function(t){return t=+t,la((function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function ha(e){return e&&typeof e.getElementsByTagName!==Oo&&e}for(ji in Ui=aa.support={},Gi=aa.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},eo=aa.setDocument=function(e){var t,n=e?e.ownerDocument||e:So,r=n.defaultView;function i(e){try{return e.top}catch(t){}return null}return n!==to&&9===n.nodeType&&n.documentElement?(to=n,no=n.documentElement,ro=!Gi(n),r&&r!==i(r)&&(r.addEventListener?r.addEventListener("unload",(function(){eo()}),!1):r.attachEvent&&r.attachEvent("onunload",(function(){eo()}))),Ui.attributes=!0,Ui.getElementsByTagName=!0,Ui.getElementsByClassName=ea.test(n.getElementsByClassName),Ui.getById=!0,qi.find.ID=function(e,t){if(typeof t.getElementById!==Oo&&ro){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},qi.filter.ID=function(e){var t=e.replace(ia,oa);return function(e){return e.getAttribute("id")===t}},qi.find.TAG=Ui.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==Oo)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},qi.find.CLASS=Ui.getElementsByClassName&&function(e,t){if(ro)return t.getElementsByClassName(e)},oo=[],io=[],Ui.disconnectedMatch=!0,io=io.length&&new RegExp(io.join("|")),oo=oo.length&&new RegExp(oo.join("|")),t=ea.test(no.compareDocumentPosition),so=t||ea.test(no.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},Ao=t?function(e,t){if(e===t)return Ji=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!Ui.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===So&&so(So,e)?-1:t===n||t.ownerDocument===So&&so(So,t)?1:Qi?Ho.call(Qi,e)-Ho.call(Qi,t):0:4&r?-1:1)}:function(e,t){if(e===t)return Ji=!0,0;var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:Qi?Ho.call(Qi,e)-Ho.call(Qi,t):0;if(o===a)return ua(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?ua(s[i],l[i]):s[i]===So?-1:l[i]===So?1:0},n):to},aa.matches=function(e,t){return aa(e,null,null,t)},aa.matchesSelector=function(e,t){if((e.ownerDocument||e)!==to&&eo(e),t=t.replace(Xo,"='$1']"),Ui.matchesSelector&&ro&&(!oo||!oo.test(t))&&(!io||!io.test(t)))try{var n=ao.call(e,t);if(n||Ui.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(GR){}return aa(t,to,null,[e]).length>0},aa.contains=function(e,t){return(e.ownerDocument||e)!==to&&eo(e),so(e,t)},aa.attr=function(e,t){(e.ownerDocument||e)!==to&&eo(e);var n=qi.attrHandle[t.toLowerCase()],r=n&&_o.call(qi.attrHandle,t.toLowerCase())?n(e,t,!ro):void 0;return void 0!==r?r:Ui.attributes||!ro?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},aa.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},aa.uniqueSort=function(e){var t,n=[],r=0,i=0;if(Ji=!Ui.detectDuplicates,Qi=!Ui.sortStable&&e.slice(0),e.sort(Ao),Ji){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return Qi=null,e},Wi=aa.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=Wi(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=Wi(t);return n},qi=aa.selectors={cacheLength:50,createPseudo:la,match:Zo,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ia,oa),e[3]=(e[3]||e[4]||e[5]||"").replace(ia,oa),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||aa.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&aa.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Zo.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Yo.test(n)&&(t=Xi(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ia,oa).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=zo[e+" "];return t||(t=new RegExp("(^|"+$o+")"+e+"("+$o+"|$)"))&&zo(e,(function(e){return t.test("string"===typeof e.className&&e.className||typeof e.getAttribute!==Oo&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=aa.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,h,p,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){while(m){d=t;while(d=d[m])if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){c=g[Eo]||(g[Eo]={}),u=c[e]||[],h=u[0]===To&&u[1],f=u[0]===To&&u[2],d=h&&g.childNodes[h];while(d=++h&&d&&d[m]||(f=h=0)||p.pop())if(1===d.nodeType&&++f&&d===t){c[e]=[To,h,f];break}}else if(y&&(u=(t[Eo]||(t[Eo]={}))[e])&&u[0]===To)f=u[1];else while(d=++h&&d&&d[m]||(f=h=0)||p.pop())if((s?d.nodeName.toLowerCase()===v:1===d.nodeType)&&++f&&(y&&((d[Eo]||(d[Eo]={}))[e]=[To,f]),d===t))break;return f-=i,f===r||f%r===0&&f/r>=0}}},PSEUDO:function(e,t){var n,r=qi.pseudos[e]||qi.setFilters[e.toLowerCase()]||aa.error("unsupported pseudo: "+e);return r[Eo]?r(t):r.length>1?(n=[e,e,"",t],qi.setFilters.hasOwnProperty(e.toLowerCase())?la((function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=Ho.call(e,o[a]),e[i]=!(n[i]=o[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:la((function(e){var t=[],n=[],r=Yi(e.replace(qo,"$1"));return r[Eo]?la((function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}})),has:la((function(e){return function(t){return aa(e,t).length>0}})),contains:la((function(e){return e=e.replace(ia,oa),function(t){return(t.textContent||t.innerText||Wi(t)).indexOf(e)>-1}})),lang:la((function(e){return Ko.test(e||"")||aa.error("unsupported lang: "+e),e=e.replace(ia,oa).toLowerCase(),function(t){var n;do{if(n=ro?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=n.window.location&&n.window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===no},focus:function(e){return e===to.activeElement&&(!to.hasFocus||to.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!qi.pseudos.empty(e)},header:function(e){return Jo.test(e.nodeName)},input:function(e){return Qo.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fa((function(){return[0]})),last:fa((function(e,t){return[t-1]})),eq:fa((function(e,t,n){return[n<0?n+t:n]})),even:fa((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:fa((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:fa((function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e})),gt:fa((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},qi.pseudos.nth=qi.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})qi.pseudos[ji]=ca(ji);for(ji in{submit:!0,reset:!0})qi.pseudos[ji]=da(ji);function pa(){}function ma(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ga(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=ko++;return t.first?function(t,n,o){while(t=t[r])if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,l,u=[To,o];if(a){while(t=t[r])if((1===t.nodeType||i)&&e(t,n,a))return!0}else while(t=t[r])if(1===t.nodeType||i){if(l=t[Eo]||(t[Eo]={}),(s=l[r])&&s[0]===To&&s[1]===o)return u[2]=s[2];if(l[r]=u,u[2]=e(t,n,a))return!0}}}function va(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ya(e,t,n){for(var r=0,i=t.length;r<i;r++)aa(e,t[r],n);return n}function ba(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function wa(e,t,n,r,i,o){return r&&!r[Eo]&&(r=wa(r)),i&&!i[Eo]&&(i=wa(i,o)),la((function(o,a,s,l){var u,c,d,f=[],h=[],p=a.length,m=o||ya(t||"*",s.nodeType?[s]:s,[]),g=!e||!o&&t?m:ba(m,f,e,s,l),v=n?i||(o?e:p||r)?[]:a:g;if(n&&n(g,v,s,l),r){u=ba(v,h),r(u,[],s,l),c=u.length;while(c--)(d=u[c])&&(v[h[c]]=!(g[h[c]]=d))}if(o){if(i||e){if(i){u=[],c=v.length;while(c--)(d=v[c])&&u.push(g[c]=d);i(null,v=[],u,l)}c=v.length;while(c--)(d=v[c])&&(u=i?Ho.call(o,d):f[c])>-1&&(o[u]=!(a[u]=d))}}else v=ba(v===a?v.splice(p,v.length):v),i?i(null,a,v,l):Ro.apply(a,v)}))}function Ca(e){for(var t,n,r,i=e.length,o=qi.relative[e[0].type],a=o||qi.relative[" "],s=o?1:0,l=ga((function(e){return e===t}),a,!0),u=ga((function(e){return Ho.call(t,e)>-1}),a,!0),c=[function(e,n,r){return!o&&(r||n!==Zi)||((t=n).nodeType?l(e,n,r):u(e,n,r))}];s<i;s++)if(n=qi.relative[e[s].type])c=[ga(va(c),n)];else{if(n=qi.filter[e[s].type].apply(null,e[s].matches),n[Eo]){for(r=++s;r<i;r++)if(qi.relative[e[r].type])break;return wa(s>1&&va(c),s>1&&ma(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(qo,"$1"),n,s<r&&Ca(e.slice(s,r)),r<i&&Ca(e=e.slice(r)),r<i&&ma(e))}c.push(n)}return va(c)}function xa(e,t){var n=t.length>0,r=e.length>0,i=function(i,o,a,s,l){var u,c,d,f=0,h="0",p=i&&[],m=[],g=Zi,v=i||r&&qi.find.TAG("*",l),y=To+=null==g?1:Math.random()||.1,b=v.length;for(l&&(Zi=o!==to&&o);h!==b&&null!=(u=v[h]);h++){if(r&&u){c=0;while(d=e[c++])if(d(u,o,a)){s.push(u);break}l&&(To=y)}n&&((u=!d&&u)&&f--,i&&p.push(u))}if(f+=h,n&&h!==f){c=0;while(d=t[c++])d(p,m,o,a);if(i){if(f>0)while(h--)p[h]||m[h]||(m[h]=Lo.call(s));m=ba(m)}Ro.apply(s,m),l&&!i&&m.length>0&&f+t.length>1&&aa.uniqueSort(s)}return l&&(To=y,Zi=g),p};return n?la(i):i}pa.prototype=qi.filters=qi.pseudos,qi.setFilters=new pa,Xi=aa.tokenize=function(e,t){var n,r,i,o,a,s,l,u=Mo[e+" "];if(u)return t?0:u.slice(0);a=e,s=[],l=qi.preFilter;while(a){for(o in n&&!(r=Wo.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=Go.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(qo," ")}),a=a.slice(n.length)),qi.filter)qi.filter.hasOwnProperty(o)&&(!(r=Zo[o].exec(a))||l[o]&&!(r=l[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length)));if(!n)break}return t?a.length:a?aa.error(e):Mo(e,s).slice(0)},Yi=aa.compile=function(e,t){var n,r=[],i=[],o=No[e+" "];if(!o){t||(t=Xi(e)),n=t.length;while(n--)o=Ca(t[n]),o[Eo]?r.push(o):i.push(o);o=No(e,xa(i,r)),o.selector=e}return o},Ki=aa.select=function(e,t,n,r){var i,o,a,s,l,u="function"===typeof e&&e,c=!r&&Xi(e=u.selector||e);if(n=n||[],1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&Ui.getById&&9===t.nodeType&&ro&&qi.relative[o[1].type]){if(t=(qi.find.ID(a.matches[0].replace(ia,oa),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=Zo.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],qi.relative[s=a.type])break;if((l=qi.find[s])&&(r=l(a.matches[0].replace(ia,oa),na.test(o[0].type)&&ha(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&ma(o),!e)return Ro.apply(n,r),n;break}}}return(u||Yi(e,c))(r,t,!ro,n,na.test(e)&&ha(t.parentNode)||t),n},Ui.sortStable=Eo.split("").sort(Ao).join("")===Eo,Ui.detectDuplicates=!!Ji,eo(),Ui.sortDetached=!0;var Ea=n.document,Sa=Array.prototype.push,Ta=Array.prototype.slice,ka=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,za=xo.Event,Ma=Vr.makeMap("children,contents,next,prev"),Na=function(e){return"undefined"!==typeof e},Aa=function(e){return"string"===typeof e},Oa=function(e){return e&&e===e.window},Pa=function(e,t){var n,r,i;t=t||Ea,i=t.createElement("div"),n=t.createDocumentFragment(),i.innerHTML=e;while(r=i.firstChild)n.appendChild(r);return n},_a=function(e,t,n,r){var i;if(Aa(t))t=Pa(t,Xa(e[0]));else if(t.length&&!t.nodeType){if(t=Qa.makeArray(t),r)for(i=t.length-1;i>=0;i--)_a(e,t[i],n,r);else for(i=0;i<t.length;i++)_a(e,t[i],n,r);return e}if(t.nodeType){i=e.length;while(i--)n.call(e[i],t)}return e},Da=function(e,t){return e&&t&&-1!==(" "+e.className+" ").indexOf(" "+t+" ")},La=function(e,t,n){var r,i;return t=Qa(t)[0],e.each((function(){var e=this;n&&r===e.parentNode||(r=e.parentNode,i=t.cloneNode(!1),e.parentNode.insertBefore(i,e)),i.appendChild(e)})),e},Ba=Vr.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),Ra=Vr.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),Ia={for:"htmlFor",class:"className",readonly:"readOnly"},Ha={float:"cssFloat"},Va={},$a={},Fa=function(e,t){return new Qa.fn.init(e,t)},ja=function(e,t){var n;if(t.indexOf)return t.indexOf(e);n=t.length;while(n--)if(t[n]===e)return n;return-1},Ua=/^\s*|\s*$/g,qa=function(e){return null===e||void 0===e?"":(""+e).replace(Ua,"")},Wa=function(e,t){var n,r,i,o;if(e)if(n=e.length,void 0===n){for(r in e)if(e.hasOwnProperty(r)&&(o=e[r],!1===t.call(o,r,o)))break}else for(i=0;i<n;i++)if(o=e[i],!1===t.call(o,i,o))break;return e},Ga=function(e,t){var n=[];return Wa(e,(function(e,r){t(r,e)&&n.push(r)})),n},Xa=function(e){return e?9===e.nodeType?e:e.ownerDocument:Ea};Fa.fn=Fa.prototype={constructor:Fa,selector:"",context:null,length:0,init:function(e,t){var r,i,o=this;if(!e)return o;if(e.nodeType)return o.context=o[0]=e,o.length=1,o;if(t&&t.nodeType)o.context=t;else{if(t)return Qa(e).attr(t);o.context=t=n.document}if(Aa(e)){if(o.selector=e,r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ka.exec(e),!r)return Qa(t).find(e);if(r[1]){i=Pa(e,Xa(t)).firstChild;while(i)Sa.call(o,i),i=i.nextSibling}else{if(i=Xa(t).getElementById(r[2]),!i)return o;if(i.id!==r[2])return o.find(e);o.length=1,o[0]=i}}else this.add(e,!1);return o},toArray:function(){return Vr.toArray(this)},add:function(e,t){var n,r,i=this;if(Aa(e))return i.add(Qa(e));if(!1!==t)for(n=Qa.unique(i.toArray().concat(Qa.makeArray(e))),i.length=n.length,r=0;r<n.length;r++)i[r]=n[r];else Sa.apply(i,Qa.makeArray(e));return i},attr:function(e,t){var n,r=this;if("object"===typeof e)Wa(e,(function(e,t){r.attr(e,t)}));else{if(!Na(t)){if(r[0]&&1===r[0].nodeType){if(n=Va[e],n&&n.get)return n.get(r[0],e);if(Ra[e])return r.prop(e)?e:void 0;t=r[0].getAttribute(e,2),null===t&&(t=void 0)}return t}this.each((function(){var n;if(1===this.nodeType){if(n=Va[e],n&&n.set)return void n.set(this,t);null===t?this.removeAttribute(e,2):this.setAttribute(e,t,2)}}))}return r},removeAttr:function(e){return this.attr(e,null)},prop:function(e,t){var n=this;if(e=Ia[e]||e,"object"===typeof e)Wa(e,(function(e,t){n.prop(e,t)}));else{if(!Na(t))return n[0]&&n[0].nodeType&&e in n[0]?n[0][e]:t;this.each((function(){1===this.nodeType&&(this[e]=t)}))}return n},css:function(e,t){var n,r,i=this,o=function(e){return e.replace(/-(\D)/g,(function(e,t){return t.toUpperCase()}))},a=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e}))};if("object"===typeof e)Wa(e,(function(e,t){i.css(e,t)}));else if(Na(t))e=o(e),"number"!==typeof t||Ba[e]||(t=t.toString()+"px"),i.each((function(){var n=this.style;if(r=$a[e],r&&r.set)r.set(this,t);else{try{this.style[Ha[e]||e]=t}catch(i){}null!==t&&""!==t||(n.removeProperty?n.removeProperty(a(e)):n.removeAttribute(e))}}));else{if(n=i[0],r=$a[e],r&&r.get)return r.get(n);if(!n.ownerDocument.defaultView)return n.currentStyle?n.currentStyle[o(e)]:"";try{return n.ownerDocument.defaultView.getComputedStyle(n,null).getPropertyValue(a(e))}catch(s){return}}return i},remove:function(){var e,t=this,n=this.length;while(n--)e=t[n],za.clean(e),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){var e,t=this,n=this.length;while(n--){e=t[n];while(e.firstChild)e.removeChild(e.firstChild)}return this},html:function(e){var t,n=this;if(Na(e)){t=n.length;try{while(t--)n[t].innerHTML=e}catch(r){Qa(n[t]).empty().append(e)}return n}return n[0]?n[0].innerHTML:""},text:function(e){var t,n=this;if(Na(e)){t=n.length;while(t--)"innerText"in n[t]?n[t].innerText=e:n[0].textContent=e;return n}return n[0]?n[0].innerText||n[0].textContent:""},append:function(){return _a(this,arguments,(function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.appendChild(e)}))},prepend:function(){return _a(this,arguments,(function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.insertBefore(e,this.firstChild)}),!0)},before:function(){var e=this;return e[0]&&e[0].parentNode?_a(e,arguments,(function(e){this.parentNode.insertBefore(e,this)})):e},after:function(){var e=this;return e[0]&&e[0].parentNode?_a(e,arguments,(function(e){this.parentNode.insertBefore(e,this.nextSibling)}),!0):e},appendTo:function(e){return Qa(e).append(this),this},prependTo:function(e){return Qa(e).prepend(this),this},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){return La(this,e)},wrapAll:function(e){return La(this,e,!0)},wrapInner:function(e){return this.each((function(){Qa(this).contents().wrapAll(e)})),this},unwrap:function(){return this.parent().each((function(){Qa(this).replaceWith(this.childNodes)}))},clone:function(){var e=[];return this.each((function(){e.push(this.cloneNode(!0))})),Qa(e)},addClass:function(e){return this.toggleClass(e,!0)},removeClass:function(e){return this.toggleClass(e,!1)},toggleClass:function(e,t){var n=this;return"string"!==typeof e||(-1!==e.indexOf(" ")?Wa(e.split(" "),(function(){n.toggleClass(this,t)})):n.each((function(n,r){var i,o;o=Da(r,e),o!==t&&(i=r.className,o?r.className=qa((" "+i+" ").replace(" "+e+" "," ")):r.className+=i?" "+e:e)}))),n},hasClass:function(e){return Da(this[0],e)},each:function(e){return Wa(this,e)},on:function(e,t){return this.each((function(){za.bind(this,e,t)}))},off:function(e,t){return this.each((function(){za.unbind(this,e,t)}))},trigger:function(e){return this.each((function(){"object"===typeof e?za.fire(this,e.type,e):za.fire(this,e)}))},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return new Qa(Ta.apply(this,arguments))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(e){var t,n,r=[];for(t=0,n=this.length;t<n;t++)Qa.find(e,this[t],r);return Qa(r)},filter:function(e){return Qa("function"===typeof e?Ga(this.toArray(),(function(t,n){return e(n,t)})):Qa.filter(e,this.toArray()))},closest:function(e){var t=[];return e instanceof Qa&&(e=e[0]),this.each((function(n,r){while(r){if("string"===typeof e&&Qa(r).is(e)){t.push(r);break}if(r===e){t.push(r);break}r=r.parentNode}})),Qa(t)},offset:function(e){var t,n,r,i,o=0,a=0;return e?this.css(e):(t=this[0],t&&(n=t.ownerDocument,r=n.documentElement,t.getBoundingClientRect&&(i=t.getBoundingClientRect(),o=i.left+(r.scrollLeft||n.body.scrollLeft)-r.clientLeft,a=i.top+(r.scrollTop||n.body.scrollTop)-r.clientTop)),{left:o,top:a})},push:Sa,sort:Array.prototype.sort,splice:Array.prototype.splice},Vr.extend(Fa,{extend:Vr.extend,makeArray:function(e){return Oa(e)||e.nodeType?[e]:Vr.toArray(e)},inArray:ja,isArray:Vr.isArray,each:Wa,trim:qa,grep:Ga,find:aa,expr:aa.selectors,unique:aa.uniqueSort,text:aa.getText,contains:aa.contains,filter:function(e,t,n){var r=t.length;n&&(e=":not("+e+")");while(r--)1!==t[r].nodeType&&t.splice(r,1);return t=1===t.length?Qa.find.matchesSelector(t[0],e)?[t[0]]:[]:Qa.find.matches(e,t),t}});var Ya=function(e,t,n){var r=[],i=e[t];"string"!==typeof n&&n instanceof Qa&&(n=n[0]);while(i&&9!==i.nodeType){if(void 0!==n){if(i===n)break;if("string"===typeof n&&Qa(i).is(n))break}1===i.nodeType&&r.push(i),i=i[t]}return r},Ka=function(e,t,n,r){var i=[];for(r instanceof Qa&&(r=r[0]);e;e=e[t])if(!n||e.nodeType===n){if(void 0!==r){if(e===r)break;if("string"===typeof r&&Qa(e).is(r))break}i.push(e)}return i},Za=function(e,t,n){for(e=e[t];e;e=e[t])if(e.nodeType===n)return e;return null};Wa({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ya(e,"parentNode")},next:function(e){return Za(e,"nextSibling",1)},prev:function(e){return Za(e,"previousSibling",1)},children:function(e){return Ka(e.firstChild,"nextSibling",1)},contents:function(e){return Vr.toArray(("iframe"===e.nodeName?e.contentDocument||e.contentWindow.document:e).childNodes)}},(function(e,t){Fa.fn[e]=function(n){var r=this,i=[];r.each((function(){var e=t.call(i,this,n,i);e&&(Qa.isArray(e)?i.push.apply(i,e):i.push(e))})),this.length>1&&(Ma[e]||(i=Qa.unique(i)),0===e.indexOf("parents")&&(i=i.reverse()));var o=Qa(i);return n?o.filter(n):o}})),Wa({parentsUntil:function(e,t){return Ya(e,"parentNode",t)},nextUntil:function(e,t){return Ka(e,"nextSibling",1,t).slice(1)},prevUntil:function(e,t){return Ka(e,"previousSibling",1,t).slice(1)}},(function(e,t){Fa.fn[e]=function(n,r){var i=this,o=[];i.each((function(){var e=t.call(o,this,n,o);e&&(Qa.isArray(e)?o.push.apply(o,e):o.push(e))})),this.length>1&&(o=Qa.unique(o),0!==e.indexOf("parents")&&"prevUntil"!==e||(o=o.reverse()));var a=Qa(o);return r?a.filter(r):a}})),Fa.fn.is=function(e){return!!e&&this.filter(e).length>0},Fa.fn.init.prototype=Fa.fn,Fa.overrideDefaults=function(e){var t,n=function(r,i){return t=t||e(),0===arguments.length&&(r=t.element),i||(i=t.context),new n.fn.init(r,i)};return Qa.extend(n,this),n},Fa.attrHooks=Va,Fa.cssHooks=$a;var Qa=Fa,Ja=function(){function e(e,t){this.node=e,this.rootNode=t,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}return e.prototype.current=function(){return this.node},e.prototype.next=function(e){return this.node=this.findSibling(this.node,"firstChild","nextSibling",e),this.node},e.prototype.prev=function(e){return this.node=this.findSibling(this.node,"lastChild","previousSibling",e),this.node},e.prototype.prev2=function(e){return this.node=this.findPreviousNode(this.node,"lastChild","previousSibling",e),this.node},e.prototype.findSibling=function(e,t,n,r){var i,o;if(e){if(!r&&e[t])return e[t];if(e!==this.rootNode){if(i=e[n],i)return i;for(o=e.parentNode;o&&o!==this.rootNode;o=o.parentNode)if(i=o[n],i)return i}}},e.prototype.findPreviousNode=function(e,t,n,r){var i,o,a;if(e){if(i=e[n],this.rootNode&&i===this.rootNode)return;if(i){if(!r)for(a=i[t];a;a=a[t])if(!a[t])return a;return i}if(o=e.parentNode,o&&o!==this.rootNode)return o}},e}(),es=function(e,t){var n=yn(e);n.each((function(n){n.dom().insertBefore(t.dom(),e.dom())}))},ts=function(e,t){var n=Cn(e);n.fold((function(){var n=yn(e);n.each((function(e){rs(e,t)}))}),(function(e){es(e,t)}))},ns=function(e,t){var n=kn(e);n.fold((function(){rs(e,t)}),(function(n){e.dom().insertBefore(t.dom(),n.dom())}))},rs=function(e,t){e.dom().appendChild(t.dom())},is=function(e,t){es(e,t),rs(t,e)},os=function(e,t){D(t,(function(t){es(e,t)}))},as=function(e,t){D(t,(function(t){rs(e,t)}))},ss=function(e){e.dom().textContent="",D(Sn(e),(function(e){ls(e)}))},ls=function(e){var t=e.dom();null!==t.parentNode&&t.parentNode.removeChild(t)},us=function(e){var t=Sn(e);t.length>0&&os(e,t),ls(e)},cs=function(e,t){var n=function(n,r){return cs(e+n,t+r)};return{left:o(e),top:o(t),translate:n}},ds=cs,fs=function(e){var t=e.getBoundingClientRect();return ds(t.left,t.top)},hs=function(e,t){return void 0!==e?e:void 0!==t?t:0},ps=function(e){var t=e.dom().ownerDocument,n=t.body,r=t.defaultView,i=t.documentElement;if(n===e.dom())return ds(n.offsetLeft,n.offsetTop);var o=hs(r.pageYOffset,i.scrollTop),a=hs(r.pageXOffset,i.scrollLeft),s=hs(i.clientTop,n.clientTop),l=hs(i.clientLeft,n.clientLeft);return ms(e).translate(a-l,o-s)},ms=function(e){var t=e.dom(),n=t.ownerDocument,r=n.body;return r===t?ds(r.offsetLeft,r.offsetTop):Ht(e)?fs(t):ds(0,0)},gs=mt().browser.isSafari(),vs=function(e){var t=void 0!==e?e.dom():n.document,r=t.body.scrollLeft||t.documentElement.scrollLeft,i=t.body.scrollTop||t.documentElement.scrollTop;return ds(r,i)},ys=function(e,t,r){var i=void 0!==r?r.dom():n.document,o=i.defaultView;o.scrollTo(e,t)},bs=function(e,t){gs&&S(e.dom().scrollIntoViewIfNeeded)?e.dom().scrollIntoViewIfNeeded(!1):e.dom().scrollIntoView(t)},ws=function(e,t,n,r){return{x:o(e),y:o(t),width:o(n),height:o(r),right:o(e+n),bottom:o(t+r)}},Cs=function(e){var t=void 0===e?n.window:e,r=t["visualViewport"];if(void 0!==r)return ws(r.pageLeft,r.pageTop,r.width,r.height);var i=Ct.fromDom(t.document),o=t.document.documentElement,a=vs(i),s=o.clientWidth,l=o.clientHeight;return ws(a.left(),a.top(),s,l)},xs=Vr.each,Es=Vr.grep,Ss=gr.ie,Ts=/^([a-z0-9],?)+$/i,ks=/^[ \t\r\n]*$/,zs=function(e,t,n){var r=t.keep_values,i={set:function(e,r,i){t.url_converter&&(r=t.url_converter.call(t.url_converter_scope||n(),r,i,e[0])),e.attr("data-mce-"+i,r).attr(i,r)},get:function(e,t){return e.attr("data-mce-"+t)||e.attr(t)}},o={style:{set:function(e,t){null===t||"object"!==typeof t?(r&&e.attr("data-mce-style",t),e.attr("style",t)):e.css(t)},get:function(t){var n=t.attr("data-mce-style")||t.attr("style");return n=e.serialize(e.parse(n),t[0].nodeName),n}}};return r&&(o.href=o.src=i),o},Ms=function(e,t){var n=t.attr("style"),r=e.serialize(e.parse(n),t[0].nodeName);r||(r=null),t.attr("data-mce-style",r)},Ns=function(e,t){var n,r,i=0;if(e)for(n=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)r=e.nodeType,(!t||3!==r||r!==n&&e.nodeValue.length)&&(i++,n=r);return i};function As(e,t){var r,i=this;void 0===t&&(t={});var o={},a=n.window,s={},l=0,u=!0,c=!0,d=$r(e,{contentCssCors:t.contentCssCors,referrerPolicy:t.referrerPolicy}),f=[],h=t.schema?t.schema:Fi({}),p=uo({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),m=t.ownEvents?new xo:xo.Event,g=h.getBlockElements(),v=Qa.overrideDefaults((function(){return{context:e,element:Ae.getRoot()}})),y=function(e){if("string"===typeof e)return!!g[e];if(e){var t=e.nodeType;if(t)return!(1!==t||!g[e.nodeName])}return!1},w=function(t){if(t&&e&&"string"===typeof t){var n=e.getElementById(t);return n&&n.id!==t?e.getElementsByName(t)[1]:n}return t},C=function(e){return"string"===typeof e&&(e=w(e)),v(e)},x=function(e,t,n){var i,o,a=C(e);return a.length&&(i=r[t],o=i&&i.get?i.get(a,t):a.attr(t)),"undefined"===typeof o&&(o=n||""),o},E=function(e){var t=w(e);return t?t.attributes:[]},S=function(e,n,i){var o,a;""===i&&(i=null);var s=C(e);o=s.attr(n),s.length&&(a=r[n],a&&a.set?a.set(s,i,n):s.attr(n,i),o!==i&&t.onSetAttrib&&t.onSetAttrib({attrElm:s,attrName:n,attrValue:i}))},T=function(t,n){if(!Ss||1!==t.nodeType||n)return t.cloneNode(n);if(!n){var r=e.createElement(t.nodeName);return xs(E(t),(function(e){S(r,e.nodeName,x(t,e.nodeName))})),r}return null},k=function(){return t.root_element||e.body},z=function(e){var t=Cs(e);return{x:t.x(),y:t.y(),w:t.width(),h:t.height()}},M=function(t,n){return Dn.getPos(e.body,w(t),n)},N=function(e,n,r){var i=b(n)?C(e).css(n,r):C(e).css(n);t.update_styles&&Ms(p,i)},A=function(e,n){var r=C(e).css(n);t.update_styles&&Ms(p,r)},O=function(e,t,n){var r=C(e);return n?r.css(t):(t=t.replace(/-(\D)/g,(function(e,t){return t.toUpperCase()})),"float"===t&&(t=gr.browser.isIE()?"styleFloat":"cssFloat"),r[0]&&r[0].style?r[0].style[t]:void 0)},P=function(e){var t,n;return e=w(e),t=O(e,"width"),n=O(e,"height"),-1===t.indexOf("px")&&(t=0),-1===n.indexOf("px")&&(n=0),{w:parseInt(t,10)||e.offsetWidth||e.clientWidth,h:parseInt(n,10)||e.offsetHeight||e.clientHeight}},_=function(e){var t,n;return e=w(e),t=M(e),n=P(e),{x:t.x,y:t.y,w:n.w,h:n.h}},D=function(e,t){var n;if(!e)return!1;if(!Array.isArray(e)){if("*"===t)return 1===e.nodeType;if(Ts.test(t)){var r=t.toLowerCase().split(/,/),i=e.nodeName.toLowerCase();for(n=r.length-1;n>=0;n--)if(r[n]===i)return!0;return!1}if(e.nodeType&&1!==e.nodeType)return!1}var o=Array.isArray(e)?e:[e];return aa(t,o[0].ownerDocument||o[0],null,o).length>0},L=function(e,t,n,r){var i,o=[],a=w(e);r=void 0===r,n=n||("BODY"!==k().nodeName?k().parentNode:null),Vr.is(t,"string")&&(i=t,t="*"===t?function(e){return 1===e.nodeType}:function(e){return D(e,i)});while(a){if(a===n||!a.nodeType||9===a.nodeType)break;if(!t||"function"===typeof t&&t(a)){if(!r)return[a];o.push(a)}a=a.parentNode}return r?o:null},B=function(e,t,n){var r=L(e,t,n,!1);return r&&r.length>0?r[0]:null},R=function(e,t,n){var r=t;if(e)for("string"===typeof t&&(r=function(e){return D(e,t)}),e=e[n];e;e=e[n])if("function"===typeof r&&r(e))return e;return null},I=function(e,t){return R(e,t,"nextSibling")},H=function(e,t){return R(e,t,"previousSibling")},V=function(n,r){return aa(n,w(r)||t.root_element||e,[])},$=function(e,t,n){var r,o="string"===typeof e?w(e):e;if(!o)return!1;if(Vr.isArray(o)&&(o.length||0===o.length))return r=[],xs(o,(function(e,i){e&&("string"===typeof e&&(e=w(e)),r.push(t.call(n,e,i)))})),r;var a=n||i;return t.call(a,o)},F=function(e,t){C(e).each((function(e,n){xs(t,(function(e,t){S(n,t,e)}))}))},j=function(e,t){var n=C(e);Ss?n.each((function(e,n){if(!1!==n.canHaveHTML){while(n.firstChild)n.removeChild(n.firstChild);try{n.innerHTML="<br>"+t,n.removeChild(n.firstChild)}catch(r){Qa("<div></div>").html("<br>"+t).contents().slice(1).appendTo(n)}return t}})):n.html(t)},U=function(t,n,r,i,o){return $(t,(function(t){var a="string"===typeof n?e.createElement(n):n;return F(a,r),i&&("string"!==typeof i&&i.nodeType?a.appendChild(i):"string"===typeof i&&j(a,i)),o?a:t.appendChild(a)}))},q=function(t,n,r){return U(e.createElement(t),t,n,r,!0)},W=Oi.decode,G=Oi.encodeAllRaw,X=function(e,t,n){var r,i="";for(r in i+="<"+e,t)t.hasOwnProperty(r)&&null!==t[r]&&"undefined"!==typeof t[r]&&(i+=" "+r+'="'+G(t[r])+'"');return"undefined"!==typeof n?i+">"+n+"</"+e+">":i+" />"},Y=function(t){var n,r=e.createElement("div"),i=e.createDocumentFragment();t&&(r.innerHTML=t);while(n=r.firstChild)i.appendChild(n);return i},K=function(e,t){var n=C(e);return t?n.each((function(){var e;while(e=this.firstChild)3===e.nodeType&&0===e.data.length?this.removeChild(e):this.parentNode.insertBefore(e,this)})).remove():n.remove(),n.length>1?n.toArray():n[0]},Z=function(e){return $(e,(function(e){var t,n=e.attributes;for(t=n.length-1;t>=0;t--)e.removeAttributeNode(n.item(t))}))},J=function(e){return p.parse(e)},ee=function(e,t){return p.serialize(e,t)},te=function(t){var r,i;if(Ae!==As.DOM&&e===n.document){if(o[t])return;o[t]=!0}i=e.getElementById("mceDefaultStyles"),i||(i=e.createElement("style"),i.id="mceDefaultStyles",i.type="text/css",r=e.getElementsByTagName("head")[0],r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i)),i.styleSheet?i.styleSheet.cssText+=t:i.appendChild(e.createTextNode(t))},ne=function(r){var i;Ae===As.DOM||e!==n.document?(r||(r=""),i=e.getElementsByTagName("head")[0],xs(r.split(","),(function(e){var n;e=Vr._addCacheSuffix(e),s[e]||(s[e]=!0,n=q("link",Q(Q({rel:"stylesheet",type:"text/css",href:e},t.contentCssCors?{crossOrigin:"anonymous"}:{}),t.referrerPolicy?{referrerPolicy:t.referrerPolicy}:{})),i.appendChild(n))}))):As.DOM.loadCSS(r)},re=function(e,t,n){C(e).toggleClass(t,n).each((function(){""===this.className&&Qa(this).attr("class",null)}))},ie=function(e,t){C(e).addClass(t)},oe=function(e,t){re(e,t,!1)},ae=function(e,t){return C(e).hasClass(t)},se=function(e){C(e).show()},le=function(e){C(e).hide()},ue=function(e){return"none"===C(e).css("display")},ce=function(e){return(e||"mce_")+l++},de=function(e){var t="string"===typeof e?w(e):e;return we.isElement(t)?t.outerHTML:Qa("<div></div>").append(Qa(t).clone()).html()},fe=function(e,t){C(e).each((function(){try{if("outerHTML"in this)return void(this.outerHTML=t)}catch(e){}K(Qa(this).html(t),!0)}))},he=function(e,t){var n=w(t);return $(e,(function(e){var t,r;return t=n.parentNode,r=n.nextSibling,r?t.insertBefore(e,r):t.appendChild(e),e}))},pe=function(e,t,n){return $(t,(function(t){return Vr.is(t,"array")&&(e=e.cloneNode(!0)),n&&xs(Es(t.childNodes),(function(t){e.appendChild(t)})),t.parentNode.replaceChild(e,t)}))},me=function(e,t){var n;return e.nodeName!==t.toUpperCase()&&(n=q(t),xs(E(e),(function(t){S(n,t.nodeName,x(e,t.nodeName))})),pe(n,e,!0)),n||e},ge=function(e,t){var n,r=e;while(r){n=t;while(n&&r!==n)n=n.parentNode;if(r===n)break;r=r.parentNode}return!r&&e.ownerDocument?e.ownerDocument.documentElement:r},ve=function(e){return p.toHex(Vr.trim(e))},ye=function(e,t){var n,r,i,o,a=0;if(e=e.firstChild,e){var s=new Ja(e,e.parentNode),l=h?h.getWhiteSpaceElements():{};t=t||(h?h.getNonEmptyElements():null);do{if(i=e.nodeType,we.isElement(e)){var u=e.getAttribute("data-mce-bogus");if(u){e=s.next("all"===u);continue}if(o=e.nodeName.toLowerCase(),t&&t[o]){if("br"===o){a++,e=s.next();continue}return!1}r=E(e),n=r.length;while(n--)if(o=r[n].nodeName,"name"===o||"data-mce-bookmark"===o)return!1}if(8===i)return!1;if(3===i&&!ks.test(e.nodeValue))return!1;if(3===i&&e.parentNode&&l[e.parentNode.nodeName]&&ks.test(e.nodeValue))return!1;e=s.next()}while(e)}return a<=1},be=function(){return e.createRange()},Ce=function(e,t,n){var r,i,o,a=be();if(e&&t)return a.setStart(e.parentNode,Ns(e)),a.setEnd(t.parentNode,Ns(t)),r=a.extractContents(),a=be(),a.setStart(t.parentNode,Ns(t)+1),a.setEnd(e.parentNode,Ns(e)+1),i=a.extractContents(),o=e.parentNode,o.insertBefore(gi.trimNode(Ae,r),e),n?o.insertBefore(n,e):o.insertBefore(t,e),o.insertBefore(gi.trimNode(Ae,i),e),K(e),n||t},xe=function(n,r,i,o){if(Vr.isArray(n)){var s=n.length,l=[];while(s--)l[s]=xe(n[s],r,i,o);return l}return!t.collect||n!==e&&n!==a||f.push([n,r,i,o]),m.bind(n,r,i,o||Ae)},Ee=function(t,n,r){var i;if(Vr.isArray(t)){i=t.length;var o=[];while(i--)o[i]=Ee(t[i],n,r);return o}if(f&&(t===e||t===a)){i=f.length;while(i--){var s=f[i];t!==s[0]||n&&n!==s[1]||r&&r!==s[2]||m.unbind(s[0],s[1],s[2])}}return m.unbind(t,n,r)},Se=function(e,t,n){return m.fire(e,t,n)},Te=function(e){if(e&&we.isElement(e)){var t=e.getAttribute("data-mce-contenteditable");return t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null}return null},ke=function(e){for(var t=k(),n=null;e&&e!==t;e=e.parentNode)if(n=Te(e),null!==n)break;return n},ze=function(){if(f){var e=f.length;while(e--){var t=f[e];m.unbind(t[0],t[1],t[2])}}aa.setDocument&&aa.setDocument()},Me=function(e,t){while(e){if(t===e)return!0;e=e.parentNode}return!1},Ne=function(e){return"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},Ae={doc:e,settings:t,win:a,files:s,stdMode:u,boxModel:c,styleSheetLoader:d,boundEvents:f,styles:p,schema:h,events:m,isBlock:y,$:v,$$:C,root:null,clone:T,getRoot:k,getViewPort:z,getRect:_,getSize:P,getParent:B,getParents:L,get:w,getNext:I,getPrev:H,select:V,is:D,add:U,create:q,createHTML:X,createFragment:Y,remove:K,setStyle:N,getStyle:O,setStyles:A,removeAllAttribs:Z,setAttrib:S,setAttribs:F,getAttrib:x,getPos:M,parseStyle:J,serializeStyle:ee,addStyle:te,loadCSS:ne,addClass:ie,removeClass:oe,hasClass:ae,toggleClass:re,show:se,hide:le,isHidden:ue,uniqueId:ce,setHTML:j,getOuterHTML:de,setOuterHTML:fe,decode:W,encode:G,insertAfter:he,replace:pe,rename:me,findCommonAncestor:ge,toHex:ve,run:$,getAttribs:E,isEmpty:ye,createRng:be,nodeIndex:Ns,split:Ce,bind:xe,unbind:Ee,fire:Se,getContentEditable:Te,getContentEditableParent:ke,destroy:ze,isChildOf:Me,dumpRng:Ne};return r=zs(p,t,(function(){return Ae})),Ae}(function(e){e.DOM=e(n.document),e.nodeIndex=Ns})(As||(As={}));var Os=As,Ps=Os.DOM,_s=Vr.each,Ds=Vr.grep,Ls=0,Bs=1,Rs=2,Is=3,Hs=function(){function e(e){void 0===e&&(e={}),this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=0,this.settings=e}return e.prototype._setReferrerPolicy=function(e){this.settings.referrerPolicy=e},e.prototype.loadScript=function(e,t,r){var i,o,a=Ps,s=function(){a.remove(o),i&&(i.onreadystatechange=i.onload=i=null),t()},l=function(){S(r)?r():"undefined"!==typeof n.console&&n.console.log&&n.console.log("Failed to load script: "+e)};o=a.uniqueId(),i=n.document.createElement("script"),i.id=o,i.type="text/javascript",i.src=Vr._addCacheSuffix(e),this.settings.referrerPolicy&&a.setAttrib(i,"referrerpolicy",this.settings.referrerPolicy),i.onload=s,i.onerror=l,(n.document.getElementsByTagName("head")[0]||n.document.body).appendChild(i)},e.prototype.isDone=function(e){return this.states[e]===Rs},e.prototype.markDone=function(e){this.states[e]=Rs},e.prototype.add=function(e,t,n,r){var i=this.states[e];void 0===i&&(this.queue.push(e),this.states[e]=Ls),t&&(this.scriptLoadedCallbacks[e]||(this.scriptLoadedCallbacks[e]=[]),this.scriptLoadedCallbacks[e].push({success:t,failure:r,scope:n||this}))},e.prototype.load=function(e,t,n,r){return this.add(e,t,n,r)},e.prototype.remove=function(e){delete this.states[e],delete this.scriptLoadedCallbacks[e]},e.prototype.loadQueue=function(e,t,n){this.loadScripts(this.queue,e,t,n)},e.prototype.loadScripts=function(e,t,n,r){var i,o=this,a=[],s=function(e,t){_s(o.scriptLoadedCallbacks[t],(function(t){S(t[e])&&t[e].call(t.scope)})),o.scriptLoadedCallbacks[t]=void 0};o.queueLoadedCallbacks.push({success:t,failure:r,scope:n||this}),i=function(){var t=Ds(e);if(e.length=0,_s(t,(function(e){o.states[e]!==Rs?o.states[e]!==Is?o.states[e]!==Bs&&(o.states[e]=Bs,o.loading++,o.loadScript(e,(function(){o.states[e]=Rs,o.loading--,s("success",e),i()}),(function(){o.states[e]=Is,o.loading--,a.push(e),s("failure",e),i()}))):s("failure",e):s("success",e)})),!o.loading){var n=o.queueLoadedCallbacks.slice(0);o.queueLoadedCallbacks.length=0,_s(n,(function(e){0===a.length?S(e.success)&&e.success.call(e.scope):S(e.failure)&&e.failure.call(e.scope,a)}))}},i()},e.ScriptLoader=new e,e}(),Vs=function(e){return w(e)&&Rt(e,"raw")},$s=function(e){return C(e)&&e.length>1},Fs={},js=Ce("en"),Us=function(){return _t(Fs,(function(e){return Q({},e)}))},qs=function(e){e&&js.set(e)},Ws=function(){return js.get()},Gs=function(e,t){var n=Fs[e];for(var r in n||(Fs[e]=n={}),t)n[r.toLowerCase()]=t[r]},Xs=function(e){var t=Fs[js.get()]||{},n=function(e){return S(e)?Object.prototype.toString.call(e):r(e)?"":""+e},r=function(e){return""===e||null===e||void 0===e},i=function(e){var r=n(e),i=r.toLowerCase();return Rt(t,i)?n(t[i]):r},o=function(e){return e.replace(/{context:\w+}$/,"")},a=function(e){return e};if(r(e))return a("");if(Vs(e))return a(n(e.raw));if($s(e)){var s=e.slice(1),l=i(e[0]).replace(/\{([0-9]+)\}/g,(function(e,t){return Rt(s,t)?n(s[t]):e}));return a(o(l))}return a(o(i(e)))},Ys=function(){return Bt(Fs,js.get()).bind((function(e){return Bt(e,"_dir")})).exists((function(e){return"rtl"===e}))},Ks=function(e){return Rt(Fs,e)},Zs={getData:Us,setCode:qs,getCode:Ws,add:Gs,translate:Xs,isRtl:Ys,hasCode:Ks},Qs=Vr.each;function Js(){var e=this,t=[],n={},r={},i=[],o=function(e){if(r[e])return r[e].instance},a=function(e){var t;return r[e]&&(t=r[e].dependencies),t||[]},s=function(e,t){var r=Zs.getCode();if(r&&!1!==Js.languageLoad){if(t)if(t=","+t+",",-1!==t.indexOf(","+r.substr(0,2)+","))r=r.substr(0,2);else if(-1===t.indexOf(","+r+","))return;Hs.ScriptLoader.add(n[e]+"/langs/"+r+".js")}},l=function(e,n,o){t.push(n),r[e]={instance:n,dependencies:o};var a=B(i,(function(t){return t.name===e}));return i=a.fail,Qs(a.pass,(function(e){e.callback()})),n},u=function(e){delete n[e],delete r[e]},c=function(e,t){return"object"===typeof t?t:"string"===typeof e?{prefix:"",resource:t,suffix:""}:{prefix:e.prefix,resource:t,suffix:e.suffix}},d=function(t,n){var r=e.urls[t];Qs(n,(function(e){Hs.ScriptLoader.add(r+"/"+e)}))},f=function(e,t,n,r){var i=a(e);Qs(i,(function(e){var n=c(t,e);h(n.resource,n,void 0,void 0)})),n&&(r?n.call(r):n.call(Hs))},h=function(e,t,i,o,a){if(!n[e]){var s="string"===typeof t?t:t.prefix+t.resource+t.suffix;0!==s.indexOf("/")&&-1===s.indexOf("://")&&(s=Js.baseURL+"/"+s),n[e]=s.substring(0,s.lastIndexOf("/")),r[e]?f(e,t,i,o):Hs.ScriptLoader.add(s,(function(){return f(e,t,i,o)}),o,a)}},p=function(e,t){r.hasOwnProperty(e)?t():i.push({name:e,callback:t})};return{items:t,urls:n,lookup:r,_listeners:i,get:o,dependencies:a,requireLangPack:s,add:l,remove:u,createUrl:c,addComponents:d,load:h,waitFor:p}}(function(e){e.PluginManager=e(),e.ThemeManager=e()})(Js||(Js={}));var el=Js,tl=function(e,t){var r=null,i=function(){null!==r&&(n.clearTimeout(r),r=null)},o=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];null===r&&(r=n.setTimeout((function(){e.apply(null,i),r=null}),t))};return{cancel:i,throttle:o}},nl=function(e,t){var r=null,i=function(){null!==r&&(n.clearTimeout(r),r=null)},o=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];null!==r&&n.clearTimeout(r),r=n.setTimeout((function(){e.apply(null,i),r=null}),t)};return{cancel:i,throttle:o}},rl=function(e,t){var n=jt(e,t);return void 0===n||""===n?[]:n.split(" ")},il=function(e,t,n){var r=rl(e,t),i=r.concat([n]);return $t(e,t,i.join(" ")),!0},ol=function(e,t,n){var r=R(rl(e,t),(function(e){return e!==n}));return r.length>0?$t(e,t,r.join(" ")):qt(e,t),!1},al=function(e){return void 0!==e.dom().classList},sl=function(e){return rl(e,"class")},ll=function(e,t){return il(e,"class",t)},ul=function(e,t){return ol(e,"class",t)},cl=function(e,t){al(e)?e.dom().classList.add(t):ll(e,t)},dl=function(e){var t=al(e)?e.dom().classList:sl(e);0===t.length&&qt(e,"class")},fl=function(e,t){if(al(e)){var n=e.dom().classList;n.remove(t)}else ul(e,t);dl(e)},hl=function(e,t){return al(e)&&e.dom().classList.contains(t)},pl=function(e,t){var n=[];return D(Sn(e),(function(e){t(e)&&(n=n.concat([e])),n=n.concat(pl(e,t))})),n},ml=function(e,t){return ln(t,e)};function gl(e,t,n,r,i){return e(n,r)?g.some(n):S(i)&&i(n)?g.none():t(n,r,i)}var vl=function(e,t,n){var r=e.dom(),i=S(n)?n:o(!1);while(r.parentNode){r=r.parentNode;var a=Ct.fromDom(r);if(t(a))return g.some(a);if(i(a))break}return g.none()},yl=function(e,t,n){var r=function(e,t){return t(e)};return gl(r,vl,e,t,n)},bl=function(e,t,n){return vl(e,(function(e){return an(e,t)}),n)},wl=function(e,t){return un(t,e)},Cl=function(e,t,n){return gl(an,bl,e,t,n)},xl=o("mce-annotation"),El=o("data-mce-annotation"),Sl=o("data-mce-annotation-uid"),Tl=function(e,t){var n=e.selection.getRng(),r=Ct.fromDom(n.startContainer),i=Ct.fromDom(e.getBody()),o=t.fold((function(){return"."+xl()}),(function(e){return"["+El()+'="'+e+'"]'})),a=Tn(r,n.startOffset).getOr(r),s=Cl(a,o,(function(e){return cn(e,i)})),l=function(e,t){return Ut(e,t)?g.some(jt(e,t)):g.none()};return s.bind((function(t){return l(t,""+Sl()).bind((function(n){return l(t,""+El()).map((function(t){var r=zl(e,n);return{uid:n,name:t,elements:r}}))}))}))},kl=function(e){return Mt(e)&&hl(e,xl())},zl=function(e,t){var n=Ct.fromDom(e.getBody());return ml(n,"["+Sl()+'="'+t+'"]')},Ml=function(e,t){var n=Ct.fromDom(e.getBody()),r=ml(n,"["+El()+'="'+t+'"]'),i={};return D(r,(function(e){var t=jt(e,Sl()),n=i.hasOwnProperty(t)?i[t]:[];i[t]=n.concat([e])})),i},Nl=function(e,t){var n=Ce({}),r=function(){return{listeners:[],previous:Ce(g.none())}},i=function(e,t){o(e,(function(e){return t(e),e}))},o=function(e,t){var i=n.get(),o=i.hasOwnProperty(e)?i[e]:r(),a=t(o);i[e]=a,n.set(i)},a=function(e,t,n){i(e,(function(r){D(r.listeners,(function(r){return r(!0,e,{uid:t,nodes:_(n,(function(e){return e.dom()}))})}))}))},s=function(e){i(e,(function(t){D(t.listeners,(function(t){return t(!1,e)}))}))},l=nl((function(){var t=n.get(),r=X(At(t));D(r,(function(t){o(t,(function(n){var r=n.previous.get();return Tl(e,g.some(t)).fold((function(){r.isSome()&&(s(t),n.previous.set(g.none()))}),(function(e){var t=e.uid,i=e.name,o=e.elements;r.is(t)||(a(i,t,o),n.previous.set(g.some(t)))})),{previous:n.previous,listeners:n.listeners}}))}))}),30);e.on("remove",(function(){l.cancel()})),e.on("NodeChange",(function(){l.throttle()}));var u=function(e,t){o(e,(function(e){return{previous:e.previous,listeners:e.listeners.concat([t])}}))};return{addListener:u}},Al=function(e,t){var n=function(e){return g.from(e.attr(El())).bind(t.lookup)};e.on("init",(function(){e.serializer.addNodeFilter("span",(function(e){D(e,(function(e){n(e).each((function(t){!1===t.persistent&&e.unwrap()}))}))}))}))},Ol=function(){var e={},t=function(t,n){e[t]={name:t,settings:n}},n=function(t){return e.hasOwnProperty(t)?g.from(e[t]).map((function(e){return e.settings})):g.none()};return{register:t,lookup:n}},Pl=0,_l=function(e){var t=new Date,n=t.getTime(),r=Math.floor(1e9*Math.random());return Pl++,e+"_"+r+Pl+String(n)},Dl=function(e,t){D(t,(function(t){cl(e,t)}))},Ll=function(e,t){return Ct.fromDom(e.dom().cloneNode(t))},Bl=function(e){return Ll(e,!1)},Rl=function(e){return Ll(e,!0)},Il=function(e,t){var r=t||n.document,i=r.createElement("div");return i.innerHTML=e,Sn(Ct.fromDom(i))},Hl=function(e){return e.dom().innerHTML},Vl=function(e,t){var n=mn(e),r=n.dom(),i=Ct.fromDom(r.createDocumentFragment()),o=Il(t,r);as(i,o),ss(e),rs(e,i)},$l="\ufeff",Fl=function(e){return e===$l},jl=function(e){return e.replace(new RegExp($l,"g"),"")},Ul={isZwsp:Fl,ZWSP:$l,trim:jl},ql=we.isElement,Wl=we.isText,Gl=function(e){return Wl(e)&&(e=e.parentNode),ql(e)&&e.hasAttribute("data-mce-caret")},Xl=function(e){return Wl(e)&&Ul.isZwsp(e.data)},Yl=function(e){return Gl(e)||Xl(e)},Kl=function(e){return e.firstChild!==e.lastChild||!we.isBr(e.firstChild)},Zl=function(e,t){var n,r,i,o;if(n=e.ownerDocument,i=n.createTextNode(Ul.ZWSP),o=e.parentNode,t){if(r=e.previousSibling,Wl(r)){if(Yl(r))return r;if(ru(r))return r.splitText(r.data.length-1)}o.insertBefore(i,e)}else{if(r=e.nextSibling,Wl(r)){if(Yl(r))return r;if(nu(r))return r.splitText(1),r}e.nextSibling?o.insertBefore(i,e.nextSibling):o.appendChild(i)}return i},Ql=function(e){var t=e.container();return!(!e||!we.isText(t))&&(t.data.charAt(e.offset())===Ul.ZWSP||e.isAtStart()&&Xl(t.previousSibling))},Jl=function(e){var t=e.container();return!(!e||!we.isText(t))&&(t.data.charAt(e.offset()-1)===Ul.ZWSP||e.isAtEnd()&&Xl(t.nextSibling))},eu=function(){var e=n.document.createElement("br");return e.setAttribute("data-mce-bogus","1"),e},tu=function(e,t,n){var r,i,o;return r=t.ownerDocument,i=r.createElement(e),i.setAttribute("data-mce-caret",n?"before":"after"),i.setAttribute("data-mce-bogus","all"),i.appendChild(eu()),o=t.parentNode,n?o.insertBefore(i,t):t.nextSibling?o.insertBefore(i,t.nextSibling):o.appendChild(i),i},nu=function(e){return Wl(e)&&e.data[0]===Ul.ZWSP},ru=function(e){return Wl(e)&&e.data[e.data.length-1]===Ul.ZWSP},iu=function(e){var t=e.getElementsByTagName("br"),n=t[t.length-1];we.isBogus(n)&&n.parentNode.removeChild(n)},ou=function(e){return e&&e.hasAttribute("data-mce-caret")?(iu(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("_moz_abspos"),e):null},au=function(e){return Gl(e.startContainer)},su=we.isContentEditableTrue,lu=we.isContentEditableFalse,uu=we.isBr,cu=we.isText,du=we.matchNodeNames(["script","style","textarea"]),fu=we.matchNodeNames(["img","input","textarea","hr","iframe","video","audio","object"]),hu=we.matchNodeNames(["table"]),pu=Yl,mu=function(e){return!pu(e)&&(cu(e)?!du(e.parentNode):fu(e)||uu(e)||hu(e)||vu(e))},gu=function(e){return we.isElement(e)&&"true"===e.getAttribute("unselectable")},vu=function(e){return!1===gu(e)&&lu(e)},yu=function(e,t){for(e=e.parentNode;e&&e!==t;e=e.parentNode){if(vu(e))return!1;if(su(e))return!0}return!0},bu=function(e){return!!vu(e)&&!0!==H(Z(e.getElementsByTagName("*")),(function(e,t){return e||su(t)}),!1)},wu=function(e){return fu(e)||bu(e)},Cu=function(e,t){return mu(e)&&yu(e,t)},xu=Math.round,Eu=function(e){return e?{left:xu(e.left),top:xu(e.top),bottom:xu(e.bottom),right:xu(e.right),width:xu(e.width),height:xu(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0}},Su=function(e,t){return e=Eu(e),t||(e.left=e.left+e.width),e.right=e.left,e.width=0,e},Tu=function(e,t){return e.left===t.left&&e.top===t.top&&e.bottom===t.bottom&&e.right===t.right},ku=function(e,t,n){return e>=0&&e<=Math.min(t.height,n.height)/2},zu=function(e,t){return e.bottom-e.height/2<t.top||!(e.top>t.bottom)&&ku(t.top-e.bottom,e,t)},Mu=function(e,t){return e.top>t.bottom||!(e.bottom<t.top)&&ku(t.bottom-e.top,e,t)},Nu=function(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom},Au=function(e){var t=e.startContainer,n=e.startOffset;return t.hasChildNodes()&&e.endOffset===n+1?t.childNodes[n]:null},Ou=function(e,t){return 1===e.nodeType&&e.hasChildNodes()&&(t>=e.childNodes.length&&(t=e.childNodes.length-1),e=e.childNodes[t]),e},Pu=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿-⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"),_u=function(e){return"string"===typeof e&&e.charCodeAt(0)>=768&&Pu.test(e)},Du=function(e,t,n){return e.isSome()&&t.isSome()?g.some(n(e.getOrDie(),t.getOrDie())):g.none()},Lu=function(e,t,n,r){return e.isSome()&&t.isSome()&&n.isSome()?g.some(r(e.getOrDie(),t.getOrDie(),n.getOrDie())):g.none()},Bu=function(e,t){return e?g.some(t):g.none()},Ru=[].slice,Iu=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ru.call(arguments);return function(e){for(var t=0;t<n.length;t++)if(n[t](e))return!0;return!1}},Hu=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ru.call(arguments);return function(e){for(var t=0;t<n.length;t++)if(!n[t](e))return!1;return!0}},Vu={and:Hu,or:Iu},$u=we.isElement,Fu=mu,ju=we.matchStyleValues("display","block table"),Uu=we.matchStyleValues("float","left right"),qu=Vu.and($u,Fu,l(Uu)),Wu=l(we.matchStyleValues("white-space","pre pre-line pre-wrap")),Gu=we.isText,Xu=we.isBr,Yu=Os.nodeIndex,Ku=Ou,Zu=function(e){return"createRange"in e?e.createRange():Os.DOM.createRng()},Qu=function(e){return e&&/[\r\n\t ]/.test(e)},Ju=function(e){return!!e.setStart&&!!e.setEnd},ec=function(e){var t,n=e.startContainer,r=e.startOffset;return!!(Qu(e.toString())&&Wu(n.parentNode)&&we.isText(n)&&(t=n.data,Qu(t[r-1])||Qu(t[r+1])))},tc=function(e){var t,n=e.ownerDocument,r=Zu(n),i=n.createTextNode(" "),o=e.parentNode;return o.insertBefore(i,e),r.setStart(i,0),r.setEnd(i,1),t=Eu(r.getBoundingClientRect()),o.removeChild(i),t},nc=function(e){var t=e.startContainer,n=e.endContainer,r=e.startOffset,i=e.endOffset;if(t===n&&we.isText(n)&&0===r&&1===i){var o=e.cloneRange();return o.setEndAfter(n),ic(o)}return null},rc=function(e){return 0===e.left&&0===e.right&&0===e.top&&0===e.bottom},ic=function(e){var t,n;return n=e.getClientRects(),t=n.length>0?Eu(n[0]):Eu(e.getBoundingClientRect()),!Ju(e)&&Xu(e)&&rc(t)?tc(e):rc(t)&&Ju(e)?nc(e):t},oc=function(e,t){var n=Su(e,t);return n.width=1,n.right=n.left+1,n},ac=function(e){var t,n,r=[],i=function(e){0!==e.height&&(r.length>0&&Tu(e,r[r.length-1])||r.push(e))},o=function(e,t){var n=Zu(e.ownerDocument);if(t<e.data.length){if(_u(e.data[t]))return r;if(_u(e.data[t-1])&&(n.setStart(e,t),n.setEnd(e,t+1),!ec(n)))return i(oc(ic(n),!1)),r}t>0&&(n.setStart(e,t-1),n.setEnd(e,t),ec(n)||i(oc(ic(n),!1))),t<e.data.length&&(n.setStart(e,t),n.setEnd(e,t+1),ec(n)||i(oc(ic(n),!0)))};if(Gu(e.container()))return o(e.container(),e.offset()),r;if($u(e.container()))if(e.isAtEnd())n=Ku(e.container(),e.offset()),Gu(n)&&o(n,n.data.length),qu(n)&&!Xu(n)&&i(oc(ic(n),!1));else{if(n=Ku(e.container(),e.offset()),Gu(n)&&o(n,0),qu(n)&&e.isAtEnd())return i(oc(ic(n),!1)),r;t=Ku(e.container(),e.offset()-1),qu(t)&&!Xu(t)&&(ju(t)||ju(n)||!qu(n))&&i(oc(ic(t),!1)),qu(n)&&i(oc(ic(n),!0))}return r};function sc(e,t,n){var r=function(){return Gu(e),0===t},i=function(){return Gu(e)?t>=e.data.length:t>=e.childNodes.length},a=function(){var n;return n=Zu(e.ownerDocument),n.setStart(e,t),n.setEnd(e,t),n},s=function(){return n||(n=ac(sc(e,t))),n},l=function(){return s().length>0},u=function(n){return n&&e===n.container()&&t===n.offset()},c=function(n){return Ku(e,n?t-1:t)};return{container:o(e),offset:o(t),toRange:a,getClientRects:s,isVisible:l,isAtStart:r,isAtEnd:i,isEqual:u,getNode:c}}(function(e){e.fromRangeStart=function(t){return e(t.startContainer,t.startOffset)},e.fromRangeEnd=function(t){return e(t.endContainer,t.endOffset)},e.after=function(t){return e(t.parentNode,Yu(t)+1)},e.before=function(t){return e(t.parentNode,Yu(t))},e.isAbove=function(e,t){return Du(Y(t.getClientRects()),K(e.getClientRects()),zu).getOr(!1)},e.isBelow=function(e,t){return Du(K(t.getClientRects()),Y(e.getClientRects()),Mu).getOr(!1)},e.isAtStart=function(e){return!!e&&e.isAtStart()},e.isAtEnd=function(e){return!!e&&e.isAtEnd()},e.isTextPosition=function(e){return!!e&&we.isText(e.container())},e.isElementPosition=function(t){return!1===e.isTextPosition(t)}})(sc||(sc={}));var lc,uc=sc,cc=we.isText,dc=we.isBogus,fc=Os.nodeIndex,hc=function(e){var t=e.parentNode;return dc(t)?hc(t):t},pc=function(e){return e?zr.reduce(e.childNodes,(function(e,t){return dc(t)&&"BR"!==t.nodeName?e=e.concat(pc(t)):e.push(t),e}),[]):[]},mc=function(e,t){while(e=e.previousSibling){if(!cc(e))break;t+=e.data.length}return t},gc=function(e){return function(t){return e===t}},vc=function(e){var t,n,r;return t=pc(hc(e)),n=zr.findIndex(t,gc(e),e),t=t.slice(0,n+1),r=zr.reduce(t,(function(e,n,r){return cc(n)&&cc(t[r-1])&&e++,e}),0),t=zr.filter(t,we.matchNodeNames([e.nodeName])),n=zr.findIndex(t,gc(e),e),n-r},yc=function(e){var t;return t=cc(e)?"text()":e.nodeName.toLowerCase(),t+"["+vc(e)+"]"},bc=function(e,t,n){var r=[];for(t=t.parentNode;t!==e;t=t.parentNode){if(n&&n(t))break;r.push(t)}return r},wc=function(e,t){var n,r,i,o,a,s=[];return n=t.container(),r=t.offset(),cc(n)?i=mc(n,r):(o=n.childNodes,r>=o.length?(i="after",r=o.length-1):i="before",n=o[r]),s.push(yc(n)),a=bc(e,n),a=zr.filter(a,l(we.isBogus)),s=s.concat(zr.map(a,(function(e){return yc(e)}))),s.reverse().join("/")+","+i},Cc=function(e,t,n){var r=pc(e);return r=zr.filter(r,(function(e,t){return!cc(e)||!cc(r[t-1])})),r=zr.filter(r,we.matchNodeNames([t])),r[n]},xc=function(e,t){var n,r=e,i=0;while(cc(r)){if(n=r.data.length,t>=i&&t<=i+n){e=r,t-=i;break}if(!cc(r.nextSibling)){e=r,t=n;break}i+=n,r=r.nextSibling}return cc(e)&&t>e.data.length&&(t=e.data.length),uc(e,t)},Ec=function(e,t){var n,r,i;return t?(n=t.split(","),t=n[0].split("/"),i=n.length>1?n[1]:"before",r=zr.reduce(t,(function(e,t){return t=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(t),t?("text()"===t[1]&&(t[1]="#text"),Cc(e,t[1],parseInt(t[2],10))):null}),e),r?cc(r)?xc(r,parseInt(i,10)):(i="after"===i?fc(r)+1:fc(r),uc(r.parentNode,i)):null):null},Sc=function(e,t){we.isText(t)&&0===t.data.length&&e.remove(t)},Tc=function(e,t,n){t.insertNode(n),Sc(e,n.previousSibling),Sc(e,n.nextSibling)},kc=function(e,t,n){var r=g.from(n.firstChild),i=g.from(n.lastChild);t.insertNode(n),r.each((function(t){return Sc(e,t.previousSibling)})),i.each((function(t){return Sc(e,t.nextSibling)}))},zc=function(e,t,n){we.isDocumentFragment(n)?kc(e,t,n):Tc(e,t,n)},Mc=we.isContentEditableFalse,Nc=function(e,t,n){var r,i;for(i=e(t.data.slice(0,n)).length,r=t.previousSibling;r&&we.isText(r);r=r.previousSibling)i+=e(r.data).length;return i},Ac=function(e,t,n,r,i){var o,a=r[i?"startContainer":"endContainer"],s=r[i?"startOffset":"endOffset"],l=[],u=0,c=e.getRoot();for(we.isText(a)?l.push(n?Nc(t,a,s):s):(o=a.childNodes,s>=o.length&&o.length&&(u=1,s=Math.max(0,o.length-1)),l.push(e.nodeIndex(o[s],n)+u));a&&a!==c;a=a.parentNode)l.push(e.nodeIndex(a,n));return l},Oc=function(e,t,n,r){var i=t.dom,o={};return o.start=Ac(i,e,n,r,!0),t.isCollapsed()||(o.end=Ac(i,e,n,r,!1)),o},Pc=function(e,t,n){var r=0;return Vr.each(e.select(t),(function(e){if("all"!==e.getAttribute("data-mce-bogus"))return e!==n&&void r++})),r},_c=function(e,t){var n,r,i,o=t?"start":"end";n=e[o+"Container"],r=e[o+"Offset"],we.isElement(n)&&"TR"===n.nodeName&&(i=n.childNodes,n=i[Math.min(t?r:r-1,i.length-1)],n&&(r=t?0:n.childNodes.length,e["set"+(t?"Start":"End")](n,r)))},Dc=function(e){return _c(e,!0),_c(e,!1),e},Lc=function(e,t){var n;if(we.isElement(e)&&(e=Ou(e,t),Mc(e)))return e;if(Yl(e)){if(we.isText(e)&&Gl(e)&&(e=e.parentNode),n=e.previousSibling,Mc(n))return n;if(n=e.nextSibling,Mc(n))return n}},Bc=function(e){return Lc(e.startContainer,e.startOffset)||Lc(e.endContainer,e.endOffset)},Rc=function(e,t,n){var r=n.getNode(),i=r?r.nodeName:null,o=n.getRng();if(Mc(r)||"IMG"===i)return{name:i,index:Pc(n.dom,i,r)};var a=Bc(o);return a?(i=a.tagName,{name:i,index:Pc(n.dom,i,a)}):Oc(e,n,t,o)},Ic=function(e){var t=e.getRng();return{start:wc(e.dom.getRoot(),uc.fromRangeStart(t)),end:wc(e.dom.getRoot(),uc.fromRangeEnd(t))}},Hc=function(e){return{rng:e.getRng()}},Vc=function(e,t,n){var r={"data-mce-type":"bookmark",id:t,style:"overflow:hidden;line-height:0px"};return n?e.create("span",r,""):e.create("span",r)},$c=function(e,t){var n=e.dom,r=e.getRng(),i=n.uniqueId(),o=e.isCollapsed(),a=e.getNode(),s=a.nodeName;if("IMG"===s)return{name:s,index:Pc(n,s,a)};var l=Dc(r.cloneRange());if(!o){l.collapse(!1);var u=Vc(n,i+"_end",t);zc(n,l,u)}r=Dc(r),r.collapse(!0);var c=Vc(n,i+"_start",t);return zc(n,r,c),e.moveToBookmark({id:i,keep:1}),{id:i}},Fc=function(e,t,n){return 2===t?Rc(Ul.trim,n,e):3===t?Ic(e):t?Hc(e):$c(e,!1)},jc={getBookmark:Fc,getUndoBookmark:s(Rc,a,!0),getPersistentBookmark:$c},Uc="_mce_caret",qc=function(e){return we.isElement(e)&&e.id===Uc},Wc=function(e,t){while(t&&t!==e){if(t.id===Uc)return t;t=t.parentNode}return null},Gc=we.isElement,Xc=we.isText,Yc=function(e){var t=e.parentNode;t&&t.removeChild(e)},Kc=function(e){try{return e.nodeValue}catch(t){return""}},Zc=function(e,t){0===t.length?Yc(e):e.nodeValue=t},Qc=function(e){var t=Ul.trim(e);return{count:e.length-t.length,text:t}},Jc=function(e,t){return od(e),t},ed=function(e,t){var n=Qc(e.data.substr(0,t.offset())),r=Qc(e.data.substr(t.offset())),i=n.text+r.text;return i.length>0?(Zc(e,i),uc(e,t.offset()-n.count)):t},td=function(e,t){var n=t.container(),r=A(Z(n.childNodes),e).map((function(e){return e<t.offset()?uc(n,t.offset()-1):t})).getOr(t);return od(e),r},nd=function(e,t){return Xc(e)&&t.container()===e?ed(e,t):Jc(e,t)},rd=function(e,t){return t.container()===e.parentNode?td(e,t):Jc(e,t)},id=function(e,t){return uc.isTextPosition(t)?nd(e,t):rd(e,t)},od=function(e){if(Gc(e)&&Yl(e)&&(Kl(e)?e.removeAttribute("data-mce-caret"):Yc(e)),Xc(e)){var t=Ul.trim(Kc(e));Zc(e,t)}},ad={removeAndReposition:id,remove:od},sd=mt().browser,ld=we.isContentEditableFalse,ud=function(e){return we.isElement(e)&&/^(TD|TH)$/i.test(e.tagName)},cd=function(e,t,n){var r,i,o,a,s,l=Su(t.getBoundingClientRect(),n);return"BODY"===e.tagName?(r=e.ownerDocument.documentElement,i=e.scrollLeft||r.scrollLeft,o=e.scrollTop||r.scrollTop):(s=e.getBoundingClientRect(),i=e.scrollLeft-s.left,o=e.scrollTop-s.top),l.left+=i,l.right+=i,l.top+=o,l.bottom+=o,l.width=1,a=t.offsetWidth-t.clientWidth,a>0&&(n&&(a*=-1),l.left+=a,l.right+=a),l},dd=function(e){var t,n,r,i,o;for(t=Qa("*[contentEditable=false]",e),i=0;i<t.length;i++)n=t[i],r=n.previousSibling,ru(r)&&(o=r.data,1===o.length?r.parentNode.removeChild(r):r.deleteData(o.length-1,1)),r=n.nextSibling,nu(r)&&(o=r.data,1===o.length?r.parentNode.removeChild(r):r.deleteData(0,1))},fd=function(e,t,n){var r,i,o=Ce(g.none()),a=function(n,r){var a,u;if(s(),ud(r))return null;if(!t(r))return i=Zl(r,n),u=r.ownerDocument.createRange(),ld(i.nextSibling)?(u.setStart(i,0),u.setEnd(i,0)):(u.setStart(i,1),u.setEnd(i,1)),u;i=tu("p",r,n),a=cd(e,r,n),Qa(i).css("top",a.top);var c=Qa('<div class="mce-visual-caret" data-mce-bogus="all"></div>').css(a).appendTo(e)[0];return o.set(g.some({caret:c,element:r,before:n})),o.get().each((function(e){n&&Qa(e.caret).addClass("mce-visual-caret-before")})),l(),u=r.ownerDocument.createRange(),u.setStart(i,0),u.setEnd(i,0),u},s=function(){dd(e),i&&(ad.remove(i),i=null),o.get().each((function(e){Qa(e.caret).remove(),o.set(g.none())})),sr.clearInterval(r)},l=function(){r=sr.setInterval((function(){n()?Qa("div.mce-visual-caret",e).toggleClass("mce-visual-caret-hidden"):Qa("div.mce-visual-caret",e).addClass("mce-visual-caret-hidden")}),500)},u=function(){o.get().each((function(t){var n=cd(e,t.element,t.before);Qa(t.caret).css(Q({},n))}))},c=function(){return sr.clearInterval(r)},d=function(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"};return{show:a,hide:s,getCss:d,reposition:u,destroy:c}},hd=function(){return sd.isIE()||sd.isEdge()||sd.isFirefox()},pd=function(e){return ld(e)||we.isTable(e)&&hd()},md=we.isContentEditableFalse,gd=we.matchStyleValues("display","block table table-cell table-caption list-item"),vd=Yl,yd=Gl,bd=we.isElement,wd=mu,Cd=function(e){return e>0},xd=function(e){return e<0},Ed=function(e,t){var n;while(n=e(t))if(!yd(n))return n;return null},Sd=function(e,t,n,r,i){var o=new Ja(e,r);if(xd(t)){if((md(e)||yd(e))&&(e=Ed(o.prev,!0),n(e)))return e;while(e=Ed(o.prev,i))if(n(e))return e}if(Cd(t)){if((md(e)||yd(e))&&(e=Ed(o.next,!0),n(e)))return e;while(e=Ed(o.next,i))if(n(e))return e}return null},Td=function(e,t){while(e&&e!==t){if(gd(e))return e;e=e.parentNode}return null},kd=function(e,t,n){return Td(e.container(),n)===Td(t.container(),n)},zd=function(e,t){var n,r;return t?(n=t.container(),r=t.offset(),bd(n)?n.childNodes[r+e]:null):null},Md=function(e,t){var n=t.ownerDocument.createRange();return e?(n.setStartBefore(t),n.setEndBefore(t)):(n.setStartAfter(t),n.setEndAfter(t)),n},Nd=function(e,t,n){return Td(t,e)===Td(n,e)},Ad=function(e,t,n){var r,i;i=e?"previousSibling":"nextSibling";while(n&&n!==t){if(r=n[i],vd(r)&&(r=r[i]),md(r)){if(Nd(t,r,n))return r;break}if(wd(r))break;n=n.parentNode}return null},Od=s(Md,!0),Pd=s(Md,!1),_d=function(e,t,n){var r,i,o,a,l=s(Ad,!0,t),u=s(Ad,!1,t);if(i=n.startContainer,o=n.startOffset,Gl(i)){if(bd(i)||(i=i.parentNode),a=i.getAttribute("data-mce-caret"),"before"===a&&(r=i.nextSibling,pd(r)))return Od(r);if("after"===a&&(r=i.previousSibling,pd(r)))return Pd(r)}if(!n.collapsed)return n;if(we.isText(i)){if(vd(i)){if(1===e){if(r=u(i),r)return Od(r);if(r=l(i),r)return Pd(r)}if(-1===e){if(r=l(i),r)return Pd(r);if(r=u(i),r)return Od(r)}return n}if(ru(i)&&o>=i.data.length-1)return 1===e&&(r=u(i),r)?Od(r):n;if(nu(i)&&o<=1)return-1===e&&(r=l(i),r)?Pd(r):n;if(o===i.data.length)return r=u(i),r?Od(r):n;if(0===o)return r=l(i),r?Pd(r):n}return n},Dd=function(e,t){return g.from(zd(e?0:-1,t)).filter(md)},Ld=function(e,t,n){var r=_d(e,t,n);return-1===e?sc.fromRangeStart(r):sc.fromRangeEnd(r)},Bd=function(e){return g.from(e.getNode()).map(Ct.fromDom)},Rd=function(e){return g.from(e.getNode(!0)).map(Ct.fromDom)},Id=function(e,t){while(t=e(t))if(t.isVisible())return t;return t},Hd=function(e,t){var n=kd(e,t);return!(n||!we.isBr(e.getNode()))||n};(function(e){e[e["Backwards"]=-1]="Backwards",e[e["Forwards"]=1]="Forwards"})(lc||(lc={}));var Vd=we.isContentEditableFalse,$d=we.isText,Fd=we.isElement,jd=we.isBr,Ud=mu,qd=wu,Wd=Cu,Gd=function(e,t){var n=[];while(e&&e!==t)n.push(e),e=e.parentNode;return n},Xd=function(e,t){return e.hasChildNodes()&&t<e.childNodes.length?e.childNodes[t]:null},Yd=function(e,t){if(Cd(e)){if(Ud(t.previousSibling)&&!$d(t.previousSibling))return uc.before(t);if($d(t))return uc(t,0)}if(xd(e)){if(Ud(t.nextSibling)&&!$d(t.nextSibling))return uc.after(t);if($d(t))return uc(t,t.data.length)}return xd(e)?jd(t)?uc.before(t):uc.after(t):uc.before(t)},Kd=function(e,t){var n=t.nextSibling;return n&&Ud(n)?$d(n)?uc(n,0):uc.before(n):Zd(lc.Forwards,uc.after(t),e)},Zd=function(e,t,n){var r,i,a,s,l;if(!Fd(n)||!t)return null;if(t.isEqual(uc.after(n))&&n.lastChild){if(l=uc.after(n.lastChild),xd(e)&&Ud(n.lastChild)&&Fd(n.lastChild))return jd(n.lastChild)?uc.before(n.lastChild):l}else l=t;var u=l.container(),c=l.offset();if($d(u)){if(xd(e)&&c>0)return uc(u,--c);if(Cd(e)&&c<u.length)return uc(u,++c);r=u}else{if(xd(e)&&c>0&&(i=Xd(u,c-1),Ud(i)))return!qd(i)&&(a=Sd(i,e,Wd,i),a)?$d(a)?uc(a,a.data.length):uc.after(a):$d(i)?uc(i,i.data.length):uc.before(i);if(Cd(e)&&c<u.childNodes.length&&(i=Xd(u,c),Ud(i)))return jd(i)?Kd(n,i):!qd(i)&&(a=Sd(i,e,Wd,i),a)?$d(a)?uc(a,0):uc.before(a):$d(i)?uc(i,0):uc.after(i);r=i||l.getNode()}return(Cd(e)&&l.isAtEnd()||xd(e)&&l.isAtStart())&&(r=Sd(r,e,o(!0),n,!0),Wd(r,n))?Yd(e,r):(i=Sd(r,e,Wd,n),s=zr.last(R(Gd(u,n),Vd)),!s||i&&s.contains(i)?i?Yd(e,i):null:(l=Cd(e)?uc.after(s):uc.before(s),l))},Qd=function(e){return{next:function(t){return Zd(lc.Forwards,t,e)},prev:function(t){return Zd(lc.Backwards,t,e)}}},Jd=function(e,t,n){var r=e?uc.before(n):uc.after(n);return sf(e,t,r)},ef=function(e){return we.isBr(e)?uc.before(e):uc.after(e)},tf=function(e){return uc.isTextPosition(e)?0===e.offset():mu(e.getNode())},nf=function(e){if(uc.isTextPosition(e)){var t=e.container();return e.offset()===t.data.length}return mu(e.getNode(!0))},rf=function(e,t){return!uc.isTextPosition(e)&&!uc.isTextPosition(t)&&e.getNode()===t.getNode(!0)},of=function(e){return!uc.isTextPosition(e)&&we.isBr(e.getNode())},af=function(e,t,n){return e?!rf(t,n)&&!of(t)&&nf(t)&&tf(n):!rf(n,t)&&tf(t)&&nf(n)},sf=function(e,t,n){var r=Qd(t);return g.from(e?r.next(n):r.prev(n))},lf=function(e,t,n){return sf(e,t,n).bind((function(r){return kd(n,r,t)&&af(e,n,r)?sf(e,t,r):g.some(r)}))},uf=function(e,t,n,r){return lf(e,t,n).bind((function(n){return r(n)?uf(e,t,n,r):g.some(n)}))},cf=function(e,t){var n=e?t.firstChild:t.lastChild;return we.isText(n)?g.some(uc(n,e?0:n.data.length)):n?mu(n)?g.some(e?uc.before(n):ef(n)):Jd(e,t,n):g.none()},df=s(sf,!0),ff=s(sf,!1),hf={fromPosition:sf,nextPosition:df,prevPosition:ff,navigate:lf,navigateIgnore:uf,positionIn:cf,firstPositionIn:s(cf,!0),lastPositionIn:s(cf,!1)},pf=function(e){return"string"===typeof e.start},mf=function(e){return e.hasOwnProperty("rng")},gf=function(e){return e.hasOwnProperty("id")},vf=function(e){return e.hasOwnProperty("name")},yf=function(e){return Vr.isArray(e.start)},bf=function(e,t){return we.isElement(t)&&e.isBlock(t)&&!t.innerHTML&&!gr.ie&&(t.innerHTML='<br data-mce-bogus="1" />'),t},wf=function(e,t){var n,r;return n=e.createRng(),r=Ec(e.getRoot(),t.start),n.setStart(r.container(),r.offset()),r=Ec(e.getRoot(),t.end),n.setEnd(r.container(),r.offset()),n},Cf=function(e,t){var n=e.ownerDocument.createTextNode(Ul.ZWSP);e.appendChild(n),t.setStart(n,0),t.setEnd(n,0)},xf=function(e){return!1===e.hasChildNodes()},Ef=function(e,t){return hf.lastPositionIn(e).fold((function(){return!1}),(function(e){return t.setStart(e.container(),e.offset()),t.setEnd(e.container(),e.offset()),!0}))},Sf=function(e,t,n){return!(!xf(t)||!Wc(e,t))&&(Cf(t,n),!0)},Tf=function(e,t,n,r){var i,o,a,s,l=n[t?"start":"end"],u=e.getRoot();if(l){for(a=l[0],o=u,i=l.length-1;i>=1;i--){if(s=o.childNodes,Sf(u,o,r))return!0;if(l[i]>s.length-1)return!!Sf(u,o,r)||Ef(o,r);o=s[l[i]]}3===o.nodeType&&(a=Math.min(l[0],o.nodeValue.length)),1===o.nodeType&&(a=Math.min(l[0],o.childNodes.length)),t?r.setStart(o,a):r.setEnd(o,a)}return!0},kf=function(e){return we.isText(e)&&e.data.length>0},zf=function(e,t,n){var r,i,o,a,s,l,u=e.get(n.id+"_"+t),c=n.keep;if(u){if(r=u.parentNode,"start"===t?(c?u.hasChildNodes()?(r=u.firstChild,i=1):kf(u.nextSibling)?(r=u.nextSibling,i=0):kf(u.previousSibling)?(r=u.previousSibling,i=u.previousSibling.data.length):(r=u.parentNode,i=e.nodeIndex(u)+1):i=e.nodeIndex(u),s=r,l=i):(c?u.hasChildNodes()?(r=u.firstChild,i=1):kf(u.previousSibling)?(r=u.previousSibling,i=u.previousSibling.data.length):(r=u.parentNode,i=e.nodeIndex(u)):i=e.nodeIndex(u),s=r,l=i),!c){a=u.previousSibling,o=u.nextSibling,Vr.each(Vr.grep(u.childNodes),(function(e){we.isText(e)&&(e.nodeValue=e.nodeValue.replace(/\uFEFF/g,""))}));while(u=e.get(n.id+"_"+t))e.remove(u,!0);a&&o&&a.nodeType===o.nodeType&&we.isText(a)&&!gr.opera&&(i=a.nodeValue.length,a.appendData(o.nodeValue),e.remove(o),s=a,l=i)}return g.some(uc(s,l))}return g.none()},Mf=function(e,t){var n=e.createRng();return Tf(e,!0,t,n)&&Tf(e,!1,t,n)?g.some(n):g.none()},Nf=function(e,t){var n=zf(e,"start",t),r=zf(e,"end",t);return Du(n,r.or(n),(function(t,n){var r=e.createRng();return r.setStart(bf(e,t.container()),t.offset()),r.setEnd(bf(e,n.container()),n.offset()),r}))},Af=function(e,t){return g.from(e.select(t.name)[t.index]).map((function(t){var n=e.createRng();return n.selectNode(t),n}))},Of=function(e,t){var n=e.dom;if(t){if(yf(t))return Mf(n,t);if(pf(t))return g.some(wf(n,t));if(gf(t))return Nf(n,t);if(vf(t))return Af(n,t);if(mf(t))return g.some(t.rng)}return g.none()},Pf={resolve:Of},_f=function(e,t,n){return jc.getBookmark(e,t,n)},Df=function(e,t){Pf.resolve(e,t).each((function(t){e.setRng(t)}))},Lf=function(e){return we.isElement(e)&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type")},Bf={getBookmark:_f,moveToBookmark:Df,isBookmarkNode:Lf},Rf=function(e){return e&&/^(IMG)$/.test(e.nodeName)},If=function(e,t,n){var r,i,o,a=n.startOffset,s=n.startContainer;if((n.startContainer!==n.endContainer||!Rf(n.startContainer.childNodes[n.startOffset]))&&1===s.nodeType)for(o=s.childNodes,a<o.length?(s=o[a],r=new Ja(s,e.getParent(s,e.isBlock))):(s=o[o.length-1],r=new Ja(s,e.getParent(s,e.isBlock)),r.next(!0)),i=r.current();i;i=r.next())if(3===i.nodeType&&!Ff(i))return n.setStart(i,0),void t.setRng(n)},Hf=function(e,t,n){if(e)for(t=t?"nextSibling":"previousSibling",e=n?e:e[t];e;e=e[t])if(1===e.nodeType||!Ff(e))return e},Vf=function(e,t){return t.nodeType&&(t=t.nodeName),!!e.schema.getTextBlockElements()[t.toLowerCase()]},$f=function(e,t,n){return e.schema.isValidChild(t,n)},Ff=function(e){return e&&3===e.nodeType&&/^([\t \r\n]+|)$/.test(e.nodeValue)},jf=function(e,t){return"string"!==typeof e?e=e(t):t&&(e=e.replace(/%(\w+)/g,(function(e,n){return t[n]||e}))),e},Uf=function(e,t){return e=e||"",t=t||"",e=""+(e.nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()===t.toLowerCase()},qf=function(e,t,n){return"color"!==n&&"backgroundColor"!==n||(t=e.toHex(t)),"fontWeight"===n&&700===t&&(t="bold"),"fontFamily"===n&&(t=t.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+t},Wf=function(e,t,n){return qf(e,e.getStyle(t,n),n)},Gf=function(e,t){var n;return e.getParent(t,(function(t){return n=e.getStyle(t,"text-decoration"),n&&"none"!==n})),n},Xf=function(e,t,n){return e.getParents(t,n,e.getRoot())},Yf={isInlineBlock:Rf,moveStart:If,getNonWhiteSpaceSibling:Hf,isTextBlock:Vf,isValid:$f,isWhiteSpaceNode:Ff,replaceVars:jf,isEq:Uf,normalizeStyleValue:qf,getStyle:Wf,getTextDecoration:Gf,getParents:Xf},Kf=Bf.isBookmarkNode,Zf=Yf.getParents,Qf=Yf.isWhiteSpaceNode,Jf=Yf.isTextBlock,eh=function(e,t){"undefined"===typeof t&&(t=3===e.nodeType?e.length:e.childNodes.length);while(e&&e.hasChildNodes())e=e.childNodes[t],e&&(t=3===e.nodeType?e.length:e.childNodes.length);return{node:e,offset:t}},th=function(e,t){var n=eh(e,t);if(n.node){while(n.node&&0===n.offset&&n.node.previousSibling)n=eh(n.node.previousSibling);n.node&&n.offset>0&&3===n.node.nodeType&&" "===n.node.nodeValue.charAt(n.offset-1)&&n.offset>1&&(e=n.node,e.splitText(n.offset-1))}return e},nh=function(e){return"BR"===e.nodeName&&e.getAttribute("data-mce-bogus")&&!e.nextSibling},rh=function(e,t){var n=t;while(n){if(1===n.nodeType&&e.getContentEditable(n))return"false"===e.getContentEditable(n)?n:t;n=n.parentNode}return t},ih=function(e,t,n,r){var i,o,a=n.nodeValue;return"undefined"===typeof r&&(r=e?a.length:0),e?(i=a.lastIndexOf(" ",r),o=a.lastIndexOf(" ",r),i=i>o?i:o,-1!==i&&!t&&(i<r||!e)&&i<=a.length&&i++):(i=a.indexOf(" ",r),o=a.indexOf(" ",r),i=-1!==i&&(-1===o||i<o)?i:o),i},oh=function(e,t,n,r,i,o){var a,s,l;if(3===n.nodeType){if(s=ih(i,o,n,r),-1!==s)return{container:n,offset:s};l=n}var u=new Ja(n,e.getParent(n,e.isBlock)||t);while(a=u[i?"prev":"next"]())if(3!==a.nodeType||Kf(a.parentNode)){if(e.isBlock(a)||Yf.isEq(a,"BR"))break}else if(l=a,s=ih(i,o,a),-1!==s)return{container:a,offset:s};if(l)return r=i?0:l.length,{container:l,offset:r}},ah=function(e,t,n,r,i){var o,a,s,l;for(3===r.nodeType&&0===r.nodeValue.length&&r[i]&&(r=r[i]),o=Zf(e,r),a=0;a<o.length;a++)for(s=0;s<t.length;s++)if(l=t[s],(!("collapsed"in l)||l.collapsed===n.collapsed)&&e.is(o[a],l.selector))return o[a];return r},sh=function(e,t,n,r){var i,o=e.dom,a=o.getRoot();if(t[0].wrapper||(i=o.getParent(n,t[0].block,a)),!i){var s=o.getParent(n,"LI,TD,TH");i=o.getParent(3===n.nodeType?n.parentNode:n,(function(t){return t!==a&&Jf(e,t)}),s)}if(i&&t[0].wrapper&&(i=Zf(o,i,"ul,ol").reverse()[0]||i),!i){i=n;while(i[r]&&!o.isBlock(i[r]))if(i=i[r],Yf.isEq(i,"br"))break}return i||n},lh=function(e,t,n,r,i,o,a){var s,l,u,c,d;if(s=l=a?n:i,c=a?"previousSibling":"nextSibling",d=e.getRoot(),3===s.nodeType&&!Qf(s)&&(a?r>0:o<s.nodeValue.length))return s;while(1){if(!t[0].block_expand&&e.isBlock(l))return l;for(u=l[c];u;u=u[c])if(!Kf(u)&&!Qf(u)&&!nh(u))return l;if(l===d||l.parentNode===d){s=l;break}l=l.parentNode}return s},uh=function(e,t,n,r){var i,o=t.startContainer,a=t.startOffset,s=t.endContainer,l=t.endOffset,u=e.dom;return 1===o.nodeType&&o.hasChildNodes()&&(o=Ou(o,a),3===o.nodeType&&(a=0)),1===s.nodeType&&s.hasChildNodes()&&(s=Ou(s,t.collapsed?l:l-1),3===s.nodeType&&(l=s.nodeValue.length)),o=rh(u,o),s=rh(u,s),(Kf(o.parentNode)||Kf(o))&&(o=Kf(o)?o:o.parentNode,o=t.collapsed?o.previousSibling||o:o.nextSibling||o,3===o.nodeType&&(a=t.collapsed?o.length:0)),(Kf(s.parentNode)||Kf(s))&&(s=Kf(s)?s:s.parentNode,s=t.collapsed?s.nextSibling||s:s.previousSibling||s,3===s.nodeType&&(l=t.collapsed?0:s.length)),t.collapsed&&(i=oh(u,e.getBody(),o,a,!0,r),i&&(o=i.container,a=i.offset),i=oh(u,e.getBody(),s,l,!1,r),i&&(s=i.container,l=i.offset)),n[0].inline&&(s=r?s:th(s,l)),(n[0].inline||n[0].block_expand)&&(n[0].inline&&3===o.nodeType&&0!==a||(o=lh(u,n,o,a,s,l,!0)),n[0].inline&&3===s.nodeType&&l!==s.nodeValue.length||(s=lh(u,n,o,a,s,l,!1))),n[0].selector&&!1!==n[0].expand&&!n[0].inline&&(o=ah(u,n,t,o,"previousSibling"),s=ah(u,n,t,s,"nextSibling")),(n[0].block||n[0].selector)&&(o=sh(e,n,o,"previousSibling"),s=sh(e,n,s,"nextSibling"),n[0].block&&(u.isBlock(o)||(o=lh(u,n,o,a,s,l,!0)),u.isBlock(s)||(s=lh(u,n,o,a,s,l,!1)))),1===o.nodeType&&(a=u.nodeIndex(o),o=o.parentNode),1===s.nodeType&&(l=u.nodeIndex(s)+1,s=s.parentNode),{startContainer:o,startOffset:a,endContainer:s,endOffset:l}},ch={expandRng:uh},dh=Vr.each,fh=function(e,t){var n=e.childNodes;return t--,t>n.length-1?t=n.length-1:t<0&&(t=0),n[t]||e},hh=function(e,t,n){var r,i,o,a,s,l,u,c=t.startContainer,d=t.startOffset,f=t.endContainer,h=t.endOffset;if(u=e.select("td[data-mce-selected],th[data-mce-selected]"),u.length>0)dh(u,(function(e){n([e])}));else{var p=function(e){var t;return t=e[0],3===t.nodeType&&t===c&&d>=t.nodeValue.length&&e.splice(0,1),t=e[e.length-1],0===h&&e.length>0&&t===f&&3===t.nodeType&&e.splice(e.length-1,1),e},m=function(e,t,n){for(var r=[];e&&e!==n;e=e[t])r.push(e);return r},g=function(e,t){do{if(e.parentNode===t)return e;e=e.parentNode}while(e)},v=function(e,t,r){var i=r?"nextSibling":"previousSibling";for(a=e,s=a.parentNode;a&&a!==t;a=s)s=a.parentNode,l=m(a===e?a:a[i],i),l.length&&(r||l.reverse(),n(p(l)))};if(1===c.nodeType&&c.hasChildNodes()&&(c=c.childNodes[d]),1===f.nodeType&&f.hasChildNodes()&&(f=fh(f,h)),c===f)return n(p([c]));for(r=e.findCommonAncestor(c,f),a=c;a;a=a.parentNode){if(a===f)return v(c,r,!0);if(a===r)break}for(a=f;a;a=a.parentNode){if(a===c)return v(f,r);if(a===r)break}i=g(c,r)||c,o=g(f,r)||f,v(c,i,!0),l=m(i===c?i:i.nextSibling,"nextSibling",o===f?o.nextSibling:o),l.length&&n(p(l)),v(f,o)}},ph={walk:hh},mh=function(){return"\ufeff"};function gh(e,t){var n=function(n){if(!e(n))throw new Error("Can only get "+t+" value of a "+t+" node");return r(n).getOr("")},r=function(t){return e(t)?g.from(t.dom().nodeValue):g.none()},i=function(n,r){if(!e(n))throw new Error("Can only set raw "+t+" value of a "+t+" node");n.dom().nodeValue=r};return{get:n,getOption:r,set:i}}var vh=gh(Nt,"text"),yh=function(e){return vh.get(e)},bh=function(e){return Nt(e)&&yh(e)===mh()},wh=function(e,t,n,r){return yn(t).fold((function(){return"skipping"}),(function(i){return"br"===r||bh(t)?"valid":kl(t)?"existing":qc(t)?"caret":Yf.isValid(e,n,r)&&Yf.isValid(e,Tt(i),n)?"valid":"invalid-child"}))},Ch=function(e){return 3===e.startContainer.nodeType&&e.startContainer.nodeValue.length>=e.startOffset&&" "===e.startContainer.nodeValue[e.startOffset]},xh=function(e,t){var n=ch.expandRng(e,t,[{inline:!0}],Ch(t));t.setStart(n.startContainer,n.startOffset),t.setEnd(n.endContainer,n.endOffset),e.selection.setRng(t)},Eh=function(e,t,n,r){var i=t.uid,o=void 0===i?_l("mce-annotation"):i,a=J(t,["uid"]),s=Ct.fromTag("span",e);cl(s,xl()),$t(s,""+Sl(),o),$t(s,""+El(),n);var l=r(o,a),u=l.attributes,c=void 0===u?{}:u,d=l.classes,f=void 0===d?[]:d;return Ft(s,c),Dl(s,f),s},Sh=function(e,t,n,r,i){var o=[],a=Eh(e.getDoc(),i,n,r),s=Ce(g.none()),l=function(){s.set(g.none())},u=function(){return s.get().getOrThunk((function(){var e=Bl(a);return o.push(e),s.set(g.some(e)),e}))},c=function(e){D(e,d)},d=function(t){var n=wh(e,t,"span",Tt(t));switch(n){case"invalid-child":l();var r=Sn(t);c(r),l();break;case"valid":var i=u();is(t,i);break;case"skipping":case"existing":case"caret":}},f=function(e){var t=_(e,Ct.fromDom);c(t)};return ph.walk(e.dom,t,(function(e){l(),f(e)})),o},Th=function(e,t,n,r){e.undoManager.transact((function(){var i=e.selection.getRng();if(i.collapsed&&xh(e,i),e.selection.getRng().collapsed){var o=Eh(e.getDoc(),r,t,n.decorate);Vl(o," "),e.selection.getRng().insertNode(o.dom()),e.selection.select(o.dom())}else{var a=jc.getPersistentBookmark(e.selection,!1),s=e.selection.getRng();Sh(e,s,t,n.decorate,r),e.selection.moveToBookmark(a)}}))},kh=function(e){var t=Ol();Al(e,t);var n=Nl(e);return{register:function(e,n){t.register(e,n)},annotate:function(n,r){t.lookup(n).each((function(t){Th(e,n,t,r)}))},annotationChanged:function(e,t){n.addListener(e,t)},remove:function(t){Tl(e,g.some(t)).each((function(e){var t=e.elements;D(t,us)}))},getAll:function(t){var n=Ml(e,t);return _t(n,(function(e){return _(e,(function(e){return e.dom()}))}))}}},zh=/^[ \t\r\n]*$/,Mh={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Nh=function(e,t,n){var r=n?"lastChild":"firstChild",i=n?"prev":"next";if(e[r])return e[r];if(e!==t){var o=e[i];if(o)return o;for(var a=e.parent;a&&a!==t;a=a.parent)if(o=a[i],o)return o}},Ah=function(){function e(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}return e.create=function(t,n){var r=new e(t,Mh[t]||1);if(n)for(var i in n)r.attr(i,n[i]);return r},e.prototype.replace=function(e){var t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t},e.prototype.attr=function(e,t){var n,r=this;if("string"!==typeof e){for(var i in e)r.attr(i,e[i]);return r}if(n=r.attributes){if(void 0!==t){if(null===t){if(e in n.map){delete n.map[e];var o=n.length;while(o--)if(n[o].name===e)return n.splice(o,1),r}return r}if(e in n.map){o=n.length;while(o--)if(n[o].name===e){n[o].value=t;break}}else n.push({name:e,value:t});return n.map[e]=t,r}return n.map[e]}},e.prototype.clone=function(){var t,n=this,r=new e(n.name,n.type);if(t=n.attributes){var i=[];i.map={};for(var o=0,a=t.length;o<a;o++){var s=t[o];"id"!==s.name&&(i[i.length]={name:s.name,value:s.value},i.map[s.name]=s.value)}r.attributes=i}return r.value=n.value,r.shortEnded=n.shortEnded,r},e.prototype.wrap=function(e){var t=this;return t.parent.insert(e,t),e.append(t),t},e.prototype.unwrap=function(){for(var e=this,t=e.firstChild;t;){var n=t.next;e.insert(t,e,!0),t=n}e.remove()},e.prototype.remove=function(){var e=this,t=e.parent,n=e.next,r=e.prev;return t&&(t.firstChild===e?(t.firstChild=n,n&&(n.prev=null)):r.next=n,t.lastChild===e?(t.lastChild=r,r&&(r.next=null)):n.prev=r,e.parent=e.next=e.prev=null),e},e.prototype.append=function(e){var t=this;e.parent&&e.remove();var n=t.lastChild;return n?(n.next=e,e.prev=n,t.lastChild=e):t.lastChild=t.firstChild=e,e.parent=t,e},e.prototype.insert=function(e,t,n){e.parent&&e.remove();var r=t.parent||this;return n?(t===r.firstChild?r.firstChild=e:t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e):(t===r.lastChild?r.lastChild=e:t.next.prev=e,e.next=t.next,e.prev=t,t.next=e),e.parent=r,e},e.prototype.getAll=function(e){for(var t=this,n=[],r=t.firstChild;r;r=Nh(r,t))r.name===e&&n.push(r);return n},e.prototype.empty=function(){var e=this;if(e.firstChild){for(var t=[],n=e.firstChild;n;n=Nh(n,e))t.push(n);var r=t.length;while(r--){n=t[r];n.parent=n.firstChild=n.lastChild=n.next=n.prev=null}}return e.firstChild=e.lastChild=null,e},e.prototype.isEmpty=function(e,t,n){void 0===t&&(t={});var r=this,i=r.firstChild;if(i)do{if(1===i.type){if(i.attr("data-mce-bogus"))continue;if(e[i.name])return!1;var o=i.attributes.length;while(o--){var a=i.attributes[o].name;if("name"===a||0===a.indexOf("data-mce-bookmark"))return!1}}if(8===i.type)return!1;if(3===i.type&&!zh.test(i.value))return!1;if(3===i.type&&i.parent&&t[i.parent.name]&&zh.test(i.value))return!1;if(n&&n(i))return!1}while(i=Nh(i,r));return!0},e.prototype.walk=function(e){return Nh(this,null,e)},e}(),Oh=function(e){return 0===e.indexOf("data-")||0===e.indexOf("aria-")},Ph=function(e){return e.replace(/<!--|-->/g,"")},_h=function(e,t){return!e.allow_html_data_urls&&(/^data:image\//i.test(t)?!1===e.allow_svg_data_urls&&/^data:image\/svg\+xml/i.test(t):/^data:/i.test(t))},Dh=function(e,t,n){var r,i,o,a,s=1;a=e.getShortEndedElements(),o=/<([!?\/])?([A-Za-z0-9\-_\:\.]+)((?:\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g,o.lastIndex=r=n;while(i=o.exec(t)){if(r=o.lastIndex,"/"===i[1])s--;else if(!i[1]){if(i[2]in a)continue;s++}if(0===s)break}return r},Lh=function(e,t){var n=e.exec(t);if(n){var r=n[1],i=n[2];return"string"===typeof r&&"data-mce-bogus"===r.toLowerCase()?i:null}return null};function Bh(e,t){void 0===t&&(t=Fi());var n=function(){};e=e||{},!1!==e.fix_self_closing&&(e.fix_self_closing=!0);var r=e.comment?e.comment:n,i=e.cdata?e.cdata:n,o=e.text?e.text:n,a=e.start?e.start:n,s=e.end?e.end:n,l=e.pi?e.pi:n,u=e.doctype?e.doctype:n,c=function(n){var c,d,f,h,p,m,g,v,y,b,w,C,x,E,S,T,k,z,M,N,A,O,P,_,D,L,B,R,I,H,V=0,$=[],F=0,j=Oi.decode,U=Vr.makeMap("src,href,data,background,formaction,poster,xlink:href"),q=/((java|vb)script|mhtml):/i,W=function(e){var t,n;t=$.length;while(t--)if($[t].name===e)break;if(t>=0){for(n=$.length-1;n>=t;n--)e=$[n],e.valid&&s(e.name);$.length=t}},G=function(t,n,r,i,o){var a,s,l=/[\s\u0000-\u001F]+/g;if(n=n.toLowerCase(),r=n in w?n:j(r||i||o||""),x&&!v&&!1===Oh(n)){if(a=z[n],!a&&M){s=M.length;while(s--)if(a=M[s],a.pattern.test(n))break;-1===s&&(a=null)}if(!a)return;if(a.validValues&&!(r in a.validValues))return}if(U[n]&&!e.allow_script_urls){var u=r.replace(l,"");try{u=decodeURIComponent(u)}catch(c){u=unescape(u)}if(q.test(u))return;if(_h(e,u))return}v&&(n in U||0===n.indexOf("on"))||(h.map[n]=r,h.push({name:n,value:r}))};L=new RegExp("<(?:(?:!--([\\w\\W]*?)--\x3e)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|(?:([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g"),B=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,b=t.getShortEndedElements(),D=e.self_closing_elements||t.getSelfClosingElements(),w=t.getBoolAttrs(),x=e.validate,y=e.remove_internals,H=e.fix_self_closing,R=t.getSpecialElements(),P=n+">";while(c=L.exec(P)){if(V<c.index&&o(j(n.substr(V,c.index-V))),d=c[6])d=d.toLowerCase(),":"===d.charAt(0)&&(d=d.substr(1)),W(d);else if(d=c[7]){if(c.index+c[0].length>n.length){o(j(n.substr(c.index))),V=c.index+c[0].length;continue}d=d.toLowerCase(),":"===d.charAt(0)&&(d=d.substr(1)),C=d in b,H&&D[d]&&$.length>0&&$[$.length-1].name===d&&W(d);var X=Lh(B,c[8]);if(null!==X){if("all"===X){V=Dh(t,n,L.lastIndex),L.lastIndex=V;continue}S=!1}if(!x||(E=t.getElementRule(d))){if(S=!0,x&&(z=E.attributes,M=E.attributePatterns),(k=c[8])?(v=-1!==k.indexOf("data-mce-type"),v&&y&&(S=!1),h=[],h.map={},k.replace(B,G)):(h=[],h.map={}),x&&!v){if(N=E.attributesRequired,A=E.attributesDefault,O=E.attributesForced,_=E.removeEmptyAttrs,_&&!h.length&&(S=!1),O){p=O.length;while(p--)T=O[p],g=T.name,I=T.value,"{$uid}"===I&&(I="mce_"+F++),h.map[g]=I,h.push({name:g,value:I})}if(A){p=A.length;while(p--)T=A[p],g=T.name,g in h.map||(I=T.value,"{$uid}"===I&&(I="mce_"+F++),h.map[g]=I,h.push({name:g,value:I}))}if(N){p=N.length;while(p--)if(N[p]in h.map)break;-1===p&&(S=!1)}if(T=h.map["data-mce-bogus"]){if("all"===T){V=Dh(t,n,L.lastIndex),L.lastIndex=V;continue}S=!1}}S&&a(d,h,C)}else S=!1;if(f=R[d]){f.lastIndex=V=c.index+c[0].length,(c=f.exec(n))?(S&&(m=n.substr(V,c.index-V)),V=c.index+c[0].length):(m=n.substr(V),V=n.length),S&&(m.length>0&&o(m,!0),s(d)),L.lastIndex=V;continue}C||(k&&k.indexOf("/")===k.length-1?S&&s(d):$.push({name:d,valid:S}))}else(d=c[1])?(">"===d.charAt(0)&&(d=" "+d),e.allow_conditional_comments||"[if"!==d.substr(0,3).toLowerCase()||(d=" "+d),r(d)):(d=c[2])?i(Ph(d)):(d=c[3])?u(d):(d=c[4])&&l(d,c[5]);V=c.index+c[0].length}for(V<n.length&&o(j(n.substr(V))),p=$.length-1;p>=0;p--)d=$[p],d.valid&&s(d.name)};return{parse:c}}(function(e){e.findEndTag=Dh})(Bh||(Bh={}));var Rh,Ih=Bh,Hh=function(e,t){var n=new RegExp(["\\s?("+e.join("|")+')="[^"]+"'].join("|"),"gi");return t.replace(n,"")},Vh=function(e,t){var n,r,i,o,a,s=t,l=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,u=e.schema;s=Hh(e.getTempAttrs(),s),a=u.getShortEndedElements();while(o=l.exec(s))r=l.lastIndex,i=o[0].length,n=a[o[1]]?r:Ih.findEndTag(u,s,r),s=s.substring(0,r-i)+s.substring(n),l.lastIndex=r-i;return Ul.trim(s)},$h=Vh,Fh={trimExternal:$h,trimInternal:Vh},jh=function(e,t,n){var r=e.getParam(t,n);if(-1!==r.indexOf("=")){var i=e.getParam(t,"","hash");return i.hasOwnProperty(e.id)?i[e.id]:n}return r},Uh=function(e){return e.getParam("iframe_attrs",{})},qh=function(e){return e.getParam("doctype","<!DOCTYPE html>")},Wh=function(e){return e.getParam("document_base_url","")},Gh=function(e){return jh(e,"body_id","tinymce")},Xh=function(e){return jh(e,"body_class","")},Yh=function(e){return e.getParam("content_security_policy","")},Kh=function(e){return e.getParam("br_in_pre",!0)},Zh=function(e){if(e.getParam("force_p_newlines",!1))return"p";var t=e.getParam("forced_root_block","p");return!1===t?"":!0===t?"p":t},Qh=function(e){return e.getParam("forced_root_block_attrs",{})},Jh=function(e){return e.getParam("br_newline_selector",".mce-toc h2,figcaption,caption")},ep=function(e){return e.getParam("no_newline_selector","")},tp=function(e){return e.getParam("keep_styles",!0)},np=function(e){return e.getParam("end_container_on_empty_block",!1)},rp=function(e){return Vr.explode(e.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large"))},ip=function(e){return Vr.explode(e.getParam("font_size_classes",""))},op=function(e){return e.getParam("images_dataimg_filter",o(!0),"function")},ap=function(e){return e.getParam("automatic_uploads",!0,"boolean")},sp=function(e){return e.getParam("images_reuse_filename",!1,"boolean")},lp=function(e){return e.getParam("images_replace_blob_uris",!0,"boolean")},up=function(e){return e.getParam("icons","","string")},cp=function(e){return e.getParam("icons_url","","string")},dp=function(e){return e.getParam("images_upload_url","","string")},fp=function(e){return e.getParam("images_upload_base_path","","string")},hp=function(e){return e.getParam("images_upload_credentials",!1,"boolean")},pp=function(e){return e.getParam("images_upload_handler",null,"function")},mp=function(e){return e.getParam("content_css_cors",!1,"boolean")},gp=function(e){return e.getParam("referrer_policy","","string")},vp=function(e){return e.getParam("language","en","string")},yp=function(e){return e.getParam("language_url","","string")},bp=function(e){return e.getParam("indent_use_margin",!1)},wp=function(e){return e.getParam("indentation","40px","string")},Cp=function(e){var t=e.settings.content_css;return b(t)?_(t.split(","),rt):C(t)?t:!1===t||e.inline?[]:["default"]},xp=function(e){return e.getParam("directionality",Zs.isRtl()?"rtl":void 0)},Ep=function(e){return e.getParam("inline_boundaries_selector","a[href],code,.mce-annotation","string")},Sp={getIframeAttrs:Uh,getDocType:qh,getDocumentBaseUrl:Wh,getBodyId:Gh,getBodyClass:Xh,getContentSecurityPolicy:Yh,shouldPutBrInPre:Kh,getForcedRootBlock:Zh,getForcedRootBlockAttrs:Qh,getBrNewLineSelector:Jh,getNoNewLineSelector:ep,shouldKeepStyles:tp,shouldEndContainerOnEmptyBlock:np,getFontStyleValues:rp,getFontSizeClasses:ip,getIconPackName:up,getIconsUrl:cp,getImagesDataImgFilter:op,isAutomaticUploadsEnabled:ap,shouldReuseFileName:sp,shouldReplaceBlobUris:lp,getImageUploadUrl:dp,getImageUploadBasePath:fp,getImagesUploadCredentials:hp,getImagesUploadHandler:pp,shouldUseContentCssCors:mp,getReferrerPolicy:gp,getLanguageCode:vp,getLanguageUrl:yp,shouldIndentUseMargin:bp,getIndentation:wp,getContentCss:Cp,getDirectionality:xp,getInlineBoundarySelector:Ep},Tp="html",kp=function(e,t){var n=Sp.getForcedRootBlock(e),r=new RegExp("^(<"+n+"[^>]*>( | |\\s| |<br \\/>|)<\\/"+n+">[\r\n]*|<br \\/>[\r\n]*)$");return t.replace(r,"")},zp=function(e,t,n){var r;if(t.format=t.format?t.format:Tp,t.get=!0,t.getInner=!0,t.no_events||e.fire("BeforeGetContent",t),"raw"===t.format)r=Vr.trim(Fh.trimExternal(e.serializer,n.innerHTML));else if("text"===t.format)r=Ul.trim(n.innerText||n.textContent);else{if("tree"===t.format)return e.serializer.serialize(n,t);r=kp(e,e.serializer.serialize(n,t))}return"text"===t.format||fi(Ct.fromDom(n))?t.content=r:t.content=Vr.trim(r),t.no_events||e.fire("GetContent",t),t.content},Mp=function(e,t){return void 0===t&&(t={}),g.from(e.getBody()).fold(o("tree"===t.format?new Ah("body",11):""),(function(n){return zp(e,t,n)}))},Np=Vr.makeMap,Ap=function(e){var t,n,r,i,o,a=[];return e=e||{},t=e.indent,n=Np(e.indent_before||""),r=Np(e.indent_after||""),i=Oi.getEncodeFunc(e.entity_encoding||"raw",e.entities),o="html"===e.element_format,{start:function(e,s,l){var u,c,d,f;if(t&&n[e]&&a.length>0&&(f=a[a.length-1],f.length>0&&"\n"!==f&&a.push("\n")),a.push("<",e),s)for(u=0,c=s.length;u<c;u++)d=s[u],a.push(" ",d.name,'="',i(d.value,!0),'"');a[a.length]=!l||o?">":" />",l&&t&&r[e]&&a.length>0&&(f=a[a.length-1],f.length>0&&"\n"!==f&&a.push("\n"))},end:function(e){var n;a.push("</",e,">"),t&&r[e]&&a.length>0&&(n=a[a.length-1],n.length>0&&"\n"!==n&&a.push("\n"))},text:function(e,t){e.length>0&&(a[a.length]=t?e:i(e))},cdata:function(e){a.push("<![CDATA[",e,"]]>")},comment:function(e){a.push("\x3c!--",e,"--\x3e")},pi:function(e,n){n?a.push("<?",e," ",i(n),"?>"):a.push("<?",e,"?>"),t&&a.push("\n")},doctype:function(e){a.push("<!DOCTYPE",e,">",t?"\n":"")},reset:function(){a.length=0},getContent:function(){return a.join("").replace(/\n$/,"")}}},Op=function(e,t){void 0===t&&(t=Fi());var n=Ap(e);e=e||{},e.validate=!("validate"in e)||e.validate;var r=function(r){var i,o;o=e.validate,i={3:function(e){n.text(e.value,e.raw)},8:function(e){n.comment(e.value)},7:function(e){n.pi(e.name,e.value)},10:function(e){n.doctype(e.value)},4:function(e){n.cdata(e.value)},11:function(e){if(e=e.firstChild)do{a(e)}while(e=e.next)}},n.reset();var a=function(e){var r,s,l,u,c,d,f,h,p,m=i[e.type];if(m)m(e);else{if(r=e.name,s=e.shortEnded,l=e.attributes,o&&l&&l.length>1&&(d=[],d.map={},p=t.getElementRule(e.name),p)){for(f=0,h=p.attributesOrder.length;f<h;f++)u=p.attributesOrder[f],u in l.map&&(c=l.map[u],d.map[u]=c,d.push({name:u,value:c}));for(f=0,h=l.length;f<h;f++)u=l[f].name,u in d.map||(c=l.map[u],d.map[u]=c,d.push({name:u,value:c}));l=d}if(n.start(e.name,l,s),!s){if(e=e.firstChild)do{a(e)}while(e=e.next);n.end(r)}}};return 1!==r.type||e.inner?i[11](r):a(r),n.getContent()};return{serialize:r}},Pp=function(e,t){t(e),e.firstChild&&Pp(e.firstChild,t),e.next&&Pp(e.next,t)},_p=function(e,t,n){var r={},i={},o=[];for(var a in n.firstChild&&Pp(n.firstChild,(function(n){D(e,(function(e){e.name===n.name&&(r[e.name]?r[e.name].nodes.push(n):r[e.name]={filter:e,nodes:[n]})})),D(t,(function(e){"string"===typeof n.attr(e.name)&&(i[e.name]?i[e.name].nodes.push(n):i[e.name]={filter:e,nodes:[n]})}))})),r)r.hasOwnProperty(a)&&o.push(r[a]);for(var a in i)i.hasOwnProperty(a)&&o.push(i[a]);return o},Dp=function(e,t,n){var r=_p(e,t,n);D(r,(function(e){D(e.filter.callbacks,(function(t){t(e.nodes,e.filter.name,{})}))}))},Lp=function(e){var t=mn(e).dom();return e.dom()===t.activeElement},Bp=function(e){var t=void 0!==e?e.dom():n.document;return g.from(t.activeElement).map(Ct.fromDom)},Rp=function(e){return Bp(mn(e)).filter((function(t){return e.dom().contains(t.dom())}))},Ip=function(e){if(!C(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");var t=[],r={};return D(e,(function(i,o){var a=At(i);if(1!==a.length)throw new Error("one and only one name per case");var s=a[0],l=i[s];if(void 0!==r[s])throw new Error("duplicate key detected:"+s);if("cata"===s)throw new Error("cannot have a case named cata (sorry)");if(!C(l))throw new Error("case arguments must be an array");t.push(s),r[s]=function(){var r=arguments.length;if(r!==l.length)throw new Error("Wrong number of arguments to case "+s+". Expected "+l.length+" ("+l+"), got "+r);for(var i=new Array(r),a=0;a<i.length;a++)i[a]=arguments[a];var u=function(e){var n=At(e);if(t.length!==n.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+n.join(","));var r=U(t,(function(e){return O(n,e)}));if(!r)throw new Error("Not all branches were specified when using match. Specified: "+n.join(", ")+"\nRequired: "+t.join(", "));return e[s].apply(null,i)};return{fold:function(){if(arguments.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+arguments.length);var t=arguments[o];return t.apply(null,i)},match:u,log:function(e){n.console.log(e,{constructors:t,constructor:s,params:i})}}}})),r},Hp={generate:Ip},Vp=Kt("start","soffset","finish","foffset"),$p={create:Vp},Fp=Hp.generate([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),jp=function(e,t,n,r){return e.fold(t,n,r)},Up=function(e){return e.fold(a,a,a)},qp=Fp.before,Wp=Fp.on,Gp=Fp.after,Xp={before:qp,on:Wp,after:Gp,cata:jp,getStart:Up},Yp=Hp.generate([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Kp=function(e){return Yp.exact(e.start(),e.soffset(),e.finish(),e.foffset())},Zp=function(e){return e.match({domRange:function(e){return Ct.fromDom(e.startContainer)},relative:function(e,t){return Xp.getStart(e)},exact:function(e,t,n,r){return e}})},Qp=Yp.domRange,Jp=Yp.relative,em=Yp.exact,tm=function(e){var t=Zp(e);return vn(t)},nm=$p.create,rm={domRange:Qp,relative:Jp,exact:em,exactFromRange:Kp,getWin:tm,range:nm},im=mt().browser,om=function(e,t){var n=Nt(t)?yh(t).length:Sn(t).length+1;return e>n?n:e<0?0:e},am=function(e){return rm.range(e.start(),om(e.soffset(),e.start()),e.finish(),om(e.foffset(),e.finish()))},sm=function(e,t){return!we.isRestrictedNode(t.dom())&&(pn(e,t)||cn(e,t))},lm=function(e){return function(t){return sm(e,t.start())&&sm(e,t.finish())}},um=function(e){return!0===e.inline||im.isIE()},cm=function(e){return rm.range(Ct.fromDom(e.startContainer),e.startOffset,Ct.fromDom(e.endContainer),e.endOffset)},dm=function(e){var t=e.getSelection(),n=t&&0!==t.rangeCount?g.from(t.getRangeAt(0)):g.none();return n.map(cm)},fm=function(e){var t=vn(e);return dm(t.dom()).filter(lm(e))},hm=function(e,t){return g.from(t).filter(lm(e)).map(am)},pm=function(e){var t=n.document.createRange();try{return t.setStart(e.start().dom(),e.soffset()),t.setEnd(e.finish().dom(),e.foffset()),g.some(t)}catch(r){return g.none()}},mm=function(e){var t=um(e)?fm(Ct.fromDom(e.getBody())):g.none();e.bookmark=t.isSome()?t:e.bookmark},gm=function(e,t){var n=Ct.fromDom(e.getBody()),r=um(e)?g.from(t):g.none(),i=r.map(cm).filter(lm(n));e.bookmark=i.isSome()?i:e.bookmark},vm=function(e){var t=e.bookmark?e.bookmark:g.none();return t.bind((function(t){return hm(Ct.fromDom(e.getBody()),t)})).bind(pm)},ym=function(e){vm(e).each((function(t){e.selection.setRng(t)}))},bm={store:mm,storeNative:gm,readRange:dm,restore:ym,getRng:vm,getBookmark:fm,validate:hm},wm=function(e){var t=e.className.toString();return-1!==t.indexOf("tox-")||-1!==t.indexOf("mce-")},Cm={isEditorUIElement:wm},xm=function(e){return"nodechange"===e.type&&e.selectionChange},Em=function(e,t){var r=function(){t.throttle()};Os.DOM.bind(n.document,"mouseup",r),e.on("remove",(function(){Os.DOM.unbind(n.document,"mouseup",r)}))},Sm=function(e){e.on("focusout",(function(){bm.store(e)}))},Tm=function(e,t){e.on("mouseup touchend",(function(e){t.throttle()}))},km=function(e,t){var n=mt().browser;n.isIE()?Sm(e):Tm(e,t),e.on("keyup NodeChange",(function(t){xm(t)||bm.store(e)}))},zm=function(e){var t=tl((function(){bm.store(e)}),0);e.on("init",(function(){e.inline&&Em(e,t),km(e,t)})),e.on("remove",(function(){t.cancel()}))},Mm={register:zm},Nm=Os.DOM,Am=function(e){return Cm.isEditorUIElement(e)},Om=function(e){var t=e.classList;return void 0!==t&&(t.contains("tox-edit-area")||t.contains("tox-edit-area__iframe")||t.contains("mce-content-body"))},Pm=function(e,t){var n=e?e.settings.custom_ui_selector:"",r=Nm.getParent(t,(function(t){return Am(t)||!!n&&e.dom.is(t,n)}));return null!==r},_m=function(){try{return n.document.activeElement}catch(e){return n.document.body}},Dm=function(e,t){var r=t.editor;Mm.register(r),r.on("focusin",(function(){var t=this,n=e.focusedEditor;n!==t&&(n&&n.fire("blur",{focusedEditor:t}),e.setActive(t),e.focusedEditor=t,t.fire("focus",{blurredEditor:n}),t.focus(!0))})),r.on("focusout",(function(){var t=this;sr.setEditorTimeout(t,(function(){var n=e.focusedEditor;Pm(t,_m())||n!==t||(t.fire("blur",{focusedEditor:null}),e.focusedEditor=null)}))})),Rh||(Rh=function(t){var r,i=e.activeEditor;r=t.target,i&&r.ownerDocument===n.document&&(r===n.document.body||Pm(i,r)||e.focusedEditor!==i||(i.fire("blur",{focusedEditor:null}),e.focusedEditor=null))},Nm.bind(n.document,"focusin",Rh))},Lm=function(e,t){e.focusedEditor===t.editor&&(e.focusedEditor=null),e.activeEditor||(Nm.unbind(n.document,"focusin",Rh),Rh=null)},Bm=function(e){e.on("AddEditor",s(Dm,e)),e.on("RemoveEditor",s(Lm,e))},Rm={setup:Bm,isEditorUIElement:Am,isEditorContentAreaElement:Om,isUIElement:Pm},Im=function(e,t){return e.dom.getParent(t,(function(t){return"true"===e.dom.getContentEditable(t)}))},Hm=function(e){return e.collapsed?g.from(Ou(e.startContainer,e.startOffset)).map(Ct.fromDom):g.none()},Vm=function(e,t){return Hm(t).bind((function(t){return ci(t)?g.some(t):!1===pn(e,t)?g.some(e):g.none()}))},$m=function(e,t){Vm(Ct.fromDom(e.getBody()),t).bind((function(e){return hf.firstPositionIn(e.dom())})).fold((function(){e.selection.normalize()}),(function(t){return e.selection.setRng(t.toRange())}))},Fm=function(e){if(e.setActive)try{e.setActive()}catch(t){e.focus()}else e.focus()},jm=function(e){return Lp(e)||Rp(e).isSome()},Um=function(e){return e.iframeElement&&Lp(Ct.fromDom(e.iframeElement))},qm=function(e){var t=e.getBody();return t&&jm(Ct.fromDom(t))},Wm=function(e){return Bp().filter((function(t){return!Rm.isEditorContentAreaElement(t.dom())&&Rm.isUIElement(e,t.dom())})).isSome()},Gm=function(e){return e.inline?qm(e):Um(e)},Xm=function(e){return Gm(e)||Wm(e)},Ym=function(e){var t=e.selection,n=e.getBody(),r=t.getRng();e.quirks.refreshContentEditable(),void 0!==e.bookmark&&!1===Gm(e)&&bm.getRng(e).each((function(t){e.selection.setRng(t),r=t}));var i=Im(e,t.getNode());if(e.$.contains(n,i))return Fm(i),$m(e,r),void Km(e);e.inline||(gr.opera||Fm(n),e.getWin().focus()),(gr.gecko||e.inline)&&(Fm(n),$m(e,r)),Km(e)},Km=function(e){return e.editorManager.setActive(e)},Zm=function(e,t){e.removed||(t?Km(e):Ym(e))},Qm={focus:Zm,hasFocus:Gm,hasEditorOrUiFocus:Xm},Jm="html",eg=function(e){return e instanceof Ah},tg=function(e){Qm.hasFocus(e)&&hf.firstPositionIn(e.getBody()).each((function(t){var n=t.getNode(),r=we.isTable(n)?hf.firstPositionIn(n).getOr(t):t;e.selection.setRng(r.toRange())}))},ng=function(e,t){e.dom.setHTML(e.getBody(),t),tg(e)},rg=function(e,t,n,r){var i,o;return 0===n.length||/^\s+$/.test(n)?(o='<br data-mce-bogus="1">',"TABLE"===t.nodeName?n="<tr><td>"+o+"</td></tr>":/^(UL|OL)$/.test(t.nodeName)&&(n="<li>"+o+"</li>"),i=Sp.getForcedRootBlock(e),i&&e.schema.isValidChild(t.nodeName.toLowerCase(),i.toLowerCase())?(n=o,n=e.dom.createHTML(i,e.settings.forced_root_block_attrs,n)):n||(n='<br data-mce-bogus="1">'),ng(e,n),e.fire("SetContent",r)):("raw"!==r.format&&(n=Op({validate:e.validate},e.schema).serialize(e.parser.parse(n,{isRootContent:!0,insert:!0}))),r.content=fi(Ct.fromDom(t))?n:Vr.trim(n),ng(e,r.content),r.no_events||e.fire("SetContent",r)),r.content},ig=function(e,t,n,r){Dp(e.parser.getNodeFilters(),e.parser.getAttributeFilters(),n);var i=Op({validate:e.validate},e.schema).serialize(n);return r.content=fi(Ct.fromDom(t))?i:Vr.trim(i),ng(e,r.content),r.no_events||e.fire("SetContent",r),n},og=function(e,t,n){return void 0===n&&(n={}),n.format=n.format?n.format:Jm,n.set=!0,n.content=eg(t)?"":t,eg(t)||n.no_events||(e.fire("BeforeSetContent",n),t=n.content),g.from(e.getBody()).fold(o(t),(function(r){return eg(t)?ig(e,r,t,n):rg(e,r,t,n)}))},ag=function(e,t){return e.fire("PreProcess",t)},sg=function(e,t){return e.fire("PostProcess",t)},lg=function(e){return e.fire("remove")},ug=function(e){return e.fire("detach")},cg=function(e,t){return e.fire("SwitchMode",{mode:t})},dg=function(e,t,n,r){e.fire("ObjectResizeStart",{target:t,width:n,height:r})},fg=function(e,t,n,r){e.fire("ObjectResized",{target:t,width:n,height:r})},hg={firePreProcess:ag,firePostProcess:sg,fireRemove:lg,fireDetach:ug,fireSwitchMode:cg,fireObjectResizeStart:dg,fireObjectResized:fg},pg=Os.DOM,mg=function(e){pg.setStyle(e.id,"display",e.orgDisplay)},gg=function(e){return g.from(e).each((function(e){return e.destroy()}))},vg=function(e){e.contentAreaContainer=e.formElement=e.container=e.editorContainer=null,e.bodyElement=e.contentDocument=e.contentWindow=null,e.iframeElement=e.targetElm=null,e.selection&&(e.selection=e.selection.win=e.selection.dom=e.selection.dom.doc=null)},yg=function(e){var t=e.formElement;t&&(t._mceOldSubmit&&(t.submit=t._mceOldSubmit,t._mceOldSubmit=null),pg.unbind(t,"submit reset",e.formEventDelegate))},bg=function(e){if(!e.removed){var t=e._selectionOverrides,n=e.editorUpload,r=e.getBody(),i=e.getElement();r&&e.save({is_removing:!0}),e.removed=!0,e.unbindAllNativeEvents(),e.hasHiddenInput&&i&&pg.remove(i.nextSibling),hg.fireRemove(e),e.editorManager.remove(e),!e.inline&&r&&mg(e),hg.fireDetach(e),pg.remove(e.getContainer()),gg(t),gg(n),e.destroy()}},wg=function(e,t){var n=e.selection,r=e.dom;e.destroyed||(t||e.removed?(t||(e.editorManager.off("beforeunload",e._beforeUnload),e.theme&&e.theme.destroy&&e.theme.destroy(),gg(n),gg(r)),yg(e),vg(e),e.destroyed=!0):e.remove())},Cg=Object.prototype.hasOwnProperty,xg=function(e,t){return t},Eg=function(e,t){var n=w(e)&&w(t);return n?Tg(e,t):t},Sg=function(e){return function(){for(var t=new Array(arguments.length),n=0;n<t.length;n++)t[n]=arguments[n];if(0===t.length)throw new Error("Can't merge zero objects");for(var r={},i=0;i<t.length;i++){var o=t[i];for(var a in o)Cg.call(o,a)&&(r[a]=e(r[a],o[a]))}return r}},Tg=Sg(Eg),kg=Sg(xg),zg=Kt("sections","settings"),Mg=mt().deviceType,Ng=Mg.isTouch(),Ag=Mg.isPhone(),Og=["lists","autolink","autosave"],Pg={table_grid:!1,object_resizing:!1,resize:!1},_g=function(e){var t=C(e)?e.join(" "):e,n=_(b(t)?t.split(" "):[],rt);return R(n,(function(e){return e.length>0}))},Dg=function(e){return R(e,s(O,Og))},Lg=function(e,t){var n=Lt(t,(function(t,n){return O(e,n)}));return zg(n.t,n.f)},Bg=function(e,t,n){void 0===n&&(n={});var r=e.sections(),i=r.hasOwnProperty(t)?r[t]:{};return Vr.extend({},n,i)},Rg=function(e,t){return e.sections().hasOwnProperty(t)},Ig=function(e,t,n){var r=e.sections();return Rg(e,t)&&r[t].theme===n},Hg=function(e,t){return Rg(e,t)?e.sections()[t]:{}},Vg=function(e,t,n,r){var i={id:e,theme:"silver",toolbar_drawer:"floating",plugins:"",document_base_url:t,add_form_submit_trigger:!0,submit_patch:!0,add_unload_trigger:!0,convert_urls:!0,relative_urls:!0,remove_script_host:!0,object_resizing:!0,doctype:"<!DOCTYPE html>",visual:!0,font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,inline_styles:!0,convert_fonts_to_spans:!0,indent:!0,indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",entity_encoding:"named",url_converter:r.convertURL,url_converter_scope:r};return Q(Q({},i),n?Pg:{})},$g=function(e){var t={resize:!1,toolbar_drawer:!1,toolbar_sticky:!1},n={menubar:!1};return Q(Q(Q({},Pg),t),e?n:{})},Fg=function(e,t){var n=t.external_plugins?t.external_plugins:{};return e&&e.external_plugins?Vr.extend({},e.external_plugins,n):n},jg=function(e,t){return[].concat(_g(e)).concat(_g(t))},Ug=function(e,t,n,r){var i=_g(n.forced_plugins),o=_g(r.plugins),a=Hg(t,"mobile"),s=a.plugins?_g(a.plugins):o,l=e&&Ig(t,"mobile","mobile")?Dg(s):e&&Rg(t,"mobile")?s:o,u=jg(i,l);return Vr.extend(r,{plugins:u.join(" ")})},qg=function(e,t){return e&&Rg(t,"mobile")},Wg=function(e,t,n,r,i){var o=e?{mobile:$g(t)}:{},a=Lg(["mobile"],Tg(o,i)),s=Vr.extend(n,r,a.settings(),qg(e,a)?Bg(a,"mobile"):{},{validate:!0,external_plugins:Fg(r,a.settings())});return Ug(e,a,r,s)},Gg=function(e,t,n,r,i){var o=Vg(t,n,Ng,e);return Wg(Ng,Ag,o,r,i)},Xg=function(e,t,n){return g.from(t.settings[n]).filter(e)},Yg=function(e){var t={};return"string"===typeof e?D(e.indexOf("=")>0?e.split(/[;,](?![^=;,]*(?:[;,]|$))/):e.split(","),(function(e){var n=e.split("=");n.length>1?t[Vr.trim(n[0])]=Vr.trim(n[1]):t[Vr.trim(n[0])]=Vr.trim(n[0])})):t=e,t},Kg=function(e){return function(t){return C(t)&&U(t,e)}},Zg=function(e,t,n,r){var i=t in e.settings?e.settings[t]:n;return"hash"===r?Yg(i):"string"===r?Xg(b,e,t).getOr(n):"number"===r?Xg(T,e,t).getOr(n):"boolean"===r?Xg(E,e,t).getOr(n):"object"===r?Xg(w,e,t).getOr(n):"array"===r?Xg(C,e,t).getOr(n):"string[]"===r?Xg(Kg(b),e,t).getOr(n):"function"===r?Xg(S,e,t).getOr(n):i},Qg=function(e,t){var n=t.dom();return n[e]},Jg=function(e,t){return parseInt(Wt(t,e),10)},ev=s(Qg,"clientWidth"),tv=s(Qg,"clientHeight"),nv=s(Jg,"margin-top"),rv=s(Jg,"margin-left"),iv=function(e){return e.dom().getBoundingClientRect()},ov=function(e,t,n){var r=ev(e),i=tv(e);return t>=0&&n>=0&&t<=r&&n<=i},av=function(e,t,n,r){var i=iv(t),o=e?i.left+t.dom().clientLeft+rv(t):0,a=e?i.top+t.dom().clientTop+nv(t):0,s=n-o,l=r-a;return{x:s,y:l}},sv=function(e,t,n){var r=Ct.fromDom(e.getBody()),i=e.inline?r:gn(r),o=av(e.inline,i,t,n);return ov(i,o.x,o.y)},lv=function(e){return g.from(e).map(Ct.fromDom)},uv=function(e){var t=e.inline?e.getBody():e.getContentAreaContainer();return lv(t).map((function(e){return pn(mn(e),e)})).getOr(!1)},cv={isXYInContentArea:sv,isEditorAttachedToDom:uv};function dv(){var e=function(){throw new Error("Theme did not provide a NotificationManager implementation.")};return{open:e,close:e,reposition:e,getArgs:e}}function fv(e){var t=[],n=function(){var t=e.theme;return t&&t.getNotificationManagerImpl?t.getNotificationManagerImpl():dv()},r=function(){return g.from(t[0])},i=function(e,t){return e.type===t.type&&e.text===t.text&&!e.progressBar&&!e.timeout&&!t.progressBar&&!t.timeout},o=function(){t.length>0&&n().reposition(t)},a=function(e){t.push(e)},s=function(e){$(t,(function(t){return t===e})).each((function(e){t.splice(e,1)}))},l=function(r){if(!e.removed&&cv.isEditorAttachedToDom(e))return V(t,(function(e){return i(n().getArgs(e),r)})).getOrThunk((function(){e.editorManager.setActive(e);var t=n().open(r,(function(){s(t),o()}));return a(t),o(),t}))},u=function(){r().each((function(e){n().close(e),s(e),o()}))},c=function(){return t},d=function(e){e.on("SkinLoaded",(function(){var t=e.settings.service_message;t&&l({text:t,type:"warning",timeout:0})})),e.on("ResizeEditor ResizeWindow NodeChange",(function(){sr.requestAnimationFrame(o)})),e.on("remove",(function(){D(t.slice(),(function(e){n().close(e)}))}))};return d(e),{open:l,close:u,getNotifications:c}}function hv(){var e=function(){throw new Error("Theme did not provide a WindowManager implementation.")};return{open:e,openUrl:e,alert:e,confirm:e,close:e,getParams:e,setParams:e}}var pv=function(e){var t=[],n=function(){var t=e.theme;return t&&t.getWindowManagerImpl?t.getWindowManagerImpl():hv()},r=function(e,t){return function(){return t?t.apply(e,arguments):void 0}},i=function(t){e.fire("OpenWindow",{dialog:t})},o=function(t){e.fire("CloseWindow",{dialog:t})},a=function(e){t.push(e),i(e)},s=function(n){o(n),t=R(t,(function(e){return e!==n})),0===t.length&&e.focus()},l=function(){return g.from(t[t.length-1])},u=function(t){e.editorManager.setActive(e),bm.store(e);var n=t();return a(n),n},c=function(e,t){return u((function(){return n().open(e,t,s)}))},d=function(e){return u((function(){return n().openUrl(e,s)}))},f=function(e,t,i){n().alert(e,r(i||this,t))},h=function(e,t,i){n().confirm(e,r(i||this,t))},p=function(){l().each((function(e){n().close(e),s(e)}))};return e.on("remove",(function(){D(t,(function(e){n().close(e)}))})),{open:c,openUrl:d,alert:f,confirm:h,close:p}},mv=function(e,t){e.notificationManager.open({type:"error",text:t})},gv=function(e,t){e._skinLoaded?mv(e,t):e.on("SkinLoaded",(function(){mv(e,t)}))},vv=function(e,t){gv(e,Zs.translate(["Failed to upload image: {0}",t]))},yv=function(e){n.console.error(e)},bv=function(e,t,n){return n?"Failed to load "+e+": "+n+" from url "+t:"Failed to load "+e+" url: "+t},wv=function(e,t){yv(bv("plugin",e,t))},Cv=function(e,t){yv(bv("icons",e,t))},xv=function(e,t){yv(bv("language",e,t))},Ev=function(e,t,n){var r=Zs.translate(["Failed to initialize plugin: {0}",t]);Sv(r,n),gv(e,r)},Sv=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i=n.window.console;i&&(i.error?i.error.apply(i,arguments):i.log.apply(i,arguments))},Tv={pluginLoadError:wv,iconsLoadError:Cv,languageLoadError:xv,pluginInitError:Ev,uploadError:vv,displayError:gv,initError:Sv},kv=function(){return{"accessibility-check":'<svg width="24" height="24"><path d="M12 2a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1.1.9-2 2-2zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5c0-.6-.4-1-1-1a1 1 0 0 0-1 1v5c0 .6-.4 1-1 1a1 1 0 0 1-1-1V9H4a1 1 0 1 1 0-2h16c.6 0 1 .4 1 1s-.4 1-1 1z" fill-rule="nonzero"/></svg>',"action-next":'<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 0 0-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 1 0-1.4-1.4L12 13.6 5.7 7.3z"/></svg>',"action-prev":'<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 0 0 1.4-1.4L12 6.6l-7.7 7.7a1 1 0 0 0 1.4 1.4L12 9.4l6.3 6.3z"/></svg>',"align-center":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',"align-justify":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',"align-left":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',"align-none":'<svg width="24" height="24"><path d="M14.2 5L13 7H5a1 1 0 1 1 0-2h9.2zm4 0h.8a1 1 0 0 1 0 2h-2l1.2-2zm-6.4 4l-1.2 2H5a1 1 0 0 1 0-2h6.8zm4 0H19a1 1 0 0 1 0 2h-4.4l1.2-2zm-6.4 4l-1.2 2H5a1 1 0 0 1 0-2h4.4zm4 0H19a1 1 0 0 1 0 2h-6.8l1.2-2zM7 17l-1.2 2H5a1 1 0 0 1 0-2h2zm4 0h8a1 1 0 0 1 0 2H9.8l1.2-2zm5.2-13.5l1.3.7-9.7 16.3-1.3-.7 9.7-16.3z" fill-rule="evenodd"/></svg>',"align-right":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',"arrow-left":'<svg width="24" height="24"><path d="M5.6 13l12 6a1 1 0 0 0 1.4-1V6a1 1 0 0 0-1.4-.9l-12 6a1 1 0 0 0 0 1.8z" fill-rule="evenodd"/></svg>',"arrow-right":'<svg width="24" height="24"><path d="M18.5 13l-12 6A1 1 0 0 1 5 18V6a1 1 0 0 1 1.4-.9l12 6a1 1 0 0 1 0 1.8z" fill-rule="evenodd"/></svg>',bold:'<svg width="24" height="24"><path d="M7.8 19c-.3 0-.5 0-.6-.2l-.2-.5V5.7c0-.2 0-.4.2-.5l.6-.2h5c1.5 0 2.7.3 3.5 1 .7.6 1.1 1.4 1.1 2.5a3 3 0 0 1-.6 1.9c-.4.6-1 1-1.6 1.2.4.1.9.3 1.3.6s.8.7 1 1.2c.4.4.5 1 .5 1.6 0 1.3-.4 2.3-1.3 3-.8.7-2.1 1-3.8 1H7.8zm5-8.3c.6 0 1.2-.1 1.6-.5.4-.3.6-.7.6-1.3 0-1.1-.8-1.7-2.3-1.7H9.3v3.5h3.4zm.5 6c.7 0 1.3-.1 1.7-.4.4-.4.6-.9.6-1.5s-.2-1-.7-1.4c-.4-.3-1-.4-2-.4H9.4v3.8h4z" fill-rule="evenodd"/></svg>',bookmark:'<svg width="24" height="24"><path d="M6 4v17l6-4 6 4V4c0-.6-.4-1-1-1H7a1 1 0 0 0-1 1z" fill-rule="nonzero"/></svg>',"border-width":'<svg width="24" height="24"><path d="M5 14.8h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2zm-.5 3.7h15c.3 0 .5.2.5.5s-.2.5-.5.5h-15a.5.5 0 1 1 0-1zm.5-8.3h14c.6 0 1 .4 1 1v1c0 .5-.4 1-1 1H5a1 1 0 0 1-1-1v-1c0-.6.4-1 1-1zm0-5.7h14c.6 0 1 .4 1 1v2c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-2c0-.6.4-1 1-1z" fill-rule="evenodd"/></svg>',brightness:'<svg width="24" height="24"><path d="M12 17c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3zm0-10a1 1 0 0 1-.7-.3A1 1 0 0 1 11 6V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-1a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1zM7 12c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H5a1 1 0 0 1-.7-.3A1 1 0 0 1 4 12c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7zm10 3.5l.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 0 1-.8.3 1 1 0 0 1-.6-.3l-.8-.7a1 1 0 0 1-.3-.8c0-.2.1-.5.3-.7a1 1 0 0 1 1.4 0zm-10-7l-.7-.8a1 1 0 0 1-.3-.6c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.2 0 .5.1.7.3l.7.7c.2.2.3.5.3.8 0 .2-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.8-.3zm10 0a1 1 0 0 1-.8.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.6.3-.8l.8-.7c.1-.2.4-.3.6-.3.3 0 .6.1.8.3.2.2.3.5.3.8 0 .2-.1.5-.3.7l-.7.7zm-10 7c.2-.2.5-.3.8-.3.2 0 .5.1.7.3a1 1 0 0 1 0 1.4l-.8.8a1 1 0 0 1-.6.3 1 1 0 0 1-.8-.3 1 1 0 0 1-.3-.8c0-.2.1-.5.3-.6l.7-.8zM12 8a4 4 0 0 1 3.7 2.4 4 4 0 0 1 0 3.2A4 4 0 0 1 12 16a4 4 0 0 1-3.7-2.4 4 4 0 0 1 0-3.2A4 4 0 0 1 12 8zm0 6.5c.7 0 1.3-.2 1.8-.7.5-.5.7-1.1.7-1.8s-.2-1.3-.7-1.8c-.5-.5-1.1-.7-1.8-.7s-1.3.2-1.8.7c-.5.5-.7 1.1-.7 1.8s.2 1.3.7 1.8c.5.5 1.1.7 1.8.7z" fill-rule="evenodd"/></svg>',browse:'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14zm-8 9.4l-2.3 2.3a1 1 0 1 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L13 13.4V20a1 1 0 0 1-2 0v-6.6z" fill-rule="nonzero"/></svg>',cancel:'<svg width="24" height="24"><path d="M12 4.6a7.4 7.4 0 1 1 0 14.8 7.4 7.4 0 0 1 0-14.8zM12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 8L14.8 8l1 1.1-2.7 2.8 2.7 2.7-1.1 1.1-2.7-2.7-2.7 2.7-1-1.1 2.6-2.7-2.7-2.7 1-1.1 2.8 2.7z" fill-rule="nonzero"/></svg>',"change-case":'<svg width="24" height="24"><path d="M18.4 18.2v-.6c-.5.8-1.3 1.2-2.4 1.2-2.2 0-3.3-1.6-3.3-4.8 0-3.1 1-4.7 3.3-4.7 1.1 0 1.8.3 2.4 1.1v-.6c0-.5.4-.8.8-.8s.8.3.8.8v8.4c0 .5-.4.8-.8.8a.8.8 0 0 1-.8-.8zm-2-7.4c-1.3 0-1.8.9-1.8 3.2 0 2.4.5 3.3 1.7 3.3 1.3 0 1.8-.9 1.8-3.2 0-2.4-.5-3.3-1.7-3.3zM10 15.7H5.5l-.8 2.6a1 1 0 0 1-1 .7h-.2a.7.7 0 0 1-.7-1l4-12a1 1 0 1 1 2 0l4 12a.7.7 0 0 1-.8 1h-.2a1 1 0 0 1-1-.7l-.8-2.6zm-.3-1.5l-2-6.5-1.9 6.5h3.9z" fill-rule="evenodd"/></svg>',"character-count":'<svg width="24" height="24"><path d="M4 11.5h16v1H4v-1zm4.8-6.8V10H7.7V5.8h-1v-1h2zM11 8.3V9h2v1h-3V7.7l2-1v-.9h-2v-1h3v2.4l-2 1zm6.3-3.4V10h-3.1V9h2.1V8h-2.1V6.8h2.1v-1h-2.1v-1h3.1zM5.8 16.4c0-.5.2-.8.5-1 .2-.2.6-.3 1.2-.3l.8.1c.2 0 .4.2.5.3l.4.4v2.8l.2.3H8.2v-.1-.2l-.6.3H7c-.4 0-.7 0-1-.2a1 1 0 0 1-.3-.9c0-.3 0-.6.3-.8.3-.2.7-.4 1.2-.4l.6-.2h.3v-.2l-.1-.2a.8.8 0 0 0-.5-.1 1 1 0 0 0-.4 0l-.3.4h-1zm2.3.8h-.2l-.2.1-.4.1a1 1 0 0 0-.4.2l-.2.2.1.3.5.1h.4l.4-.4v-.6zm2-3.4h1.2v1.7l.5-.3h.5c.5 0 .9.1 1.2.5.3.4.5.8.5 1.4 0 .6-.2 1.1-.5 1.5-.3.4-.7.6-1.3.6l-.6-.1-.4-.4v.4h-1.1v-5.4zm1.1 3.3c0 .3 0 .6.2.8a.7.7 0 0 0 1.2 0l.2-.8c0-.4 0-.6-.2-.8a.7.7 0 0 0-.6-.3l-.6.3-.2.8zm6.1-.5c0-.2 0-.3-.2-.4a.8.8 0 0 0-.5-.2c-.3 0-.5.1-.6.3l-.2.9c0 .3 0 .6.2.8.1.2.3.3.6.3.2 0 .4 0 .5-.2l.2-.4h1.1c0 .5-.3.8-.6 1.1a2 2 0 0 1-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 0 1-.5-1.4c0-.6.1-1.1.5-1.5.3-.4.8-.5 1.4-.5.5 0 1 0 1.2.3.4.3.5.7.5 1.2h-1v-.1z" fill-rule="evenodd"/></svg>',"checklist-rtl":'<svg width="24" height="24"><path d="M5 17h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm14.2 11c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 8c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checklist:'<svg width="24" height="24"><path d="M11 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0-6h8a1 1 0 0 1 0 2h-8a1 1 0 0 1 0-2zM7.2 16c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 8c-.2.3-.7.4-1 0L3.8 6.9a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checkmark:'<svg width="24" height="24"><path d="M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11z" fill-rule="nonzero"/></svg>',"chevron-down":'<svg width="10" height="10"><path d="M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8z" fill-rule="nonzero"/></svg>',"chevron-left":'<svg width="10" height="10"><path d="M7.8 1.3L4 5l3.8 3.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L2.2 5.7a.8.8 0 0 1 0-1.2L6.6.2C7 0 7.4 0 7.8.2c.3.3.3.8 0 1.1z" fill-rule="nonzero"/></svg>',"chevron-right":'<svg width="10" height="10"><path d="M2.2 1.3a.8.8 0 0 1 0-1c.4-.4.9-.4 1.2 0l4.4 4.1c.3.4.3.9 0 1.2L3.4 9.8c-.3.3-.8.3-1.2 0a.8.8 0 0 1 0-1.1L6 5 2.2 1.3z" fill-rule="nonzero"/></svg>',"chevron-up":'<svg width="10" height="10"><path d="M8.7 7.8L5 4 1.3 7.8c-.3.3-.8.3-1 0a.8.8 0 0 1 0-1.2l4.1-4.4c.3-.3.9-.3 1.2 0l4.2 4.4c.3.3.3.9 0 1.2-.3.3-.8.3-1.1 0z" fill-rule="nonzero"/></svg>',close:'<svg width="24" height="24"><path d="M17.3 8.2L13.4 12l3.9 3.8a1 1 0 0 1-1.5 1.5L12 13.4l-3.8 3.9a1 1 0 0 1-1.5-1.5l3.9-3.8-3.9-3.8a1 1 0 0 1 1.5-1.5l3.8 3.9 3.8-3.9a1 1 0 0 1 1.5 1.5z" fill-rule="evenodd"/></svg>',"code-sample":'<svg width="24" height="26"><path d="M7.1 11a2.8 2.8 0 0 1-.8 2 2.8 2.8 0 0 1 .8 2v1.7c0 .3.1.6.4.8.2.3.5.4.8.4.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.7 0-1.4-.3-2-.8-.5-.6-.8-1.3-.8-2V15c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V9.3c0-.7.3-1.4.8-2 .6-.5 1.3-.8 2-.8.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8V11zm9.8 0V9.3c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4V7c0-.2.1-.4.4-.4.7 0 1.4.3 2 .8.5.6.8 1.3.8 2V11c0 .3.1.6.4.8.2.3.5.4.8.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.3.8-2 .8a.4.4 0 0 1-.4-.4v-.8c0-.2.1-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V15a2.8 2.8 0 0 1 .8-2 2.8 2.8 0 0 1-.8-2zm-3.3-.4c0 .4-.1.8-.5 1.1-.3.3-.7.5-1.1.5-.4 0-.8-.2-1.1-.5-.4-.3-.5-.7-.5-1.1 0-.5.1-.9.5-1.2.3-.3.7-.4 1.1-.4.4 0 .8.1 1.1.4.4.3.5.7.5 1.2zM12 13c.4 0 .8.1 1.1.5.4.3.5.7.5 1.1 0 1-.1 1.6-.5 2a3 3 0 0 1-1.1 1c-.4.3-.8.4-1.1.4a.5.5 0 0 1-.5-.5V17a3 3 0 0 0 1-.2l.6-.6c-.6 0-1-.2-1.3-.5-.2-.3-.3-.7-.3-1 0-.5.1-1 .5-1.2.3-.4.7-.5 1.1-.5z" fill-rule="evenodd"/></svg>',"color-levels":'<svg width="24" height="24"><path d="M17.5 11.4A9 9 0 0 1 18 14c0 .5 0 1-.2 1.4 0 .4-.3.9-.5 1.3a6.2 6.2 0 0 1-3.7 3 5.7 5.7 0 0 1-3.2 0A5.9 5.9 0 0 1 7.6 18a6.2 6.2 0 0 1-1.4-2.6 6.7 6.7 0 0 1 0-2.8c0-.4.1-.9.3-1.3a13.6 13.6 0 0 1 2.3-4A20 20 0 0 1 12 4a26.4 26.4 0 0 1 3.2 3.4 18.2 18.2 0 0 1 2.3 4zm-2 4.5c.4-.7.5-1.4.5-2a7.3 7.3 0 0 0-1-3.2c.2.6.2 1.2.2 1.9a4.5 4.5 0 0 1-1.3 3 5.3 5.3 0 0 1-2.3 1.5 4.9 4.9 0 0 1-2 .1 4.3 4.3 0 0 0 2.4.8 4 4 0 0 0 2-.6 4 4 0 0 0 1.5-1.5z" fill-rule="evenodd"/></svg>',"color-picker":'<svg width="24" height="24"><path d="M12 3a9 9 0 0 0 0 18 1.5 1.5 0 0 0 1.1-2.5c-.2-.3-.4-.6-.4-1 0-.8.7-1.5 1.5-1.5H16a5 5 0 0 0 5-5c0-4.4-4-8-9-8zm-5.5 9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm3-4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm3 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z" fill-rule="nonzero"/></svg>',"color-swatch-remove-color":'<svg width="24" height="24"><path stroke="#000" stroke-width="2" d="M21 3L3 21" fill-rule="evenodd"/></svg>',"color-swatch":'<svg width="24" height="24"><rect x="3" y="3" width="18" height="18" rx="1" fill-rule="evenodd"/></svg>',"comment-add":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9 19l3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23z"/><path d="M13 10h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-2H9a1 1 0 0 1 0-2h2V8a1 1 0 0 1 2 0v2z"/></g></svg>',comment:'<svg width="24" height="24"><path fill-rule="nonzero" d="M9 19l3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23z"/></svg>',contrast:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4zm-6 8a6 6 0 0 0 6 6V6a6 6 0 0 0-6 6z" fill-rule="evenodd"/></svg>',copy:'<svg width="24" height="24"><path d="M16 3H6a2 2 0 0 0-2 2v11h2V5h10V3zm1 4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7zm0 12V9h-7v10h7z" fill-rule="nonzero"/></svg>',crop:'<svg width="24" height="24"><path d="M17 8v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-2H7V9H5a1 1 0 1 1 0-2h2V5c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3zM9 9v5l5-5H9zm1 6h5v-5l-5 5z" fill-rule="evenodd"/></svg>',cut:'<svg width="24" height="24"><path d="M18 15c.6.7 1 1.4 1 2.3 0 .8-.2 1.5-.7 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 0 1 0 2c0 .4-.3.7-.5 1l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8zm-8.5 2.2l.1-.4v-.3-.4a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2 1.6 1.6 0 0 0-.8 0 2.6 2.6 0 0 0-.8.3 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3 2.8 2.8 0 0 0 1-1zm2.5-2.8c.4 0 .7-.1 1-.4.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4s-.7.1-1 .4c-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4zm5.4 4l.2-.5v-.4-.3a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3 1.5 1.5 0 0 0-.8 0 1 1 0 0 0-.4.2 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4l.3.4.3.4a2.8 2.8 0 0 0 .8.5l.4.1h.7l.5-.2z" fill-rule="evenodd"/></svg>',"document-properties":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3zM17 19H7V5h6v4h4v10z" fill-rule="nonzero"/></svg>',drag:'<svg width="24" height="24"><path d="M13 5h2v2h-2V5zm0 4h2v2h-2V9zM9 9h2v2H9V9zm4 4h2v2h-2v-2zm-4 0h2v2H9v-2zm0 4h2v2H9v-2zm4 0h2v2h-2v-2zM9 5h2v2H9V5z" fill-rule="evenodd"/></svg>',duplicate:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M16 3v2H6v11H4V5c0-1.1.9-2 2-2h10zm3 8h-2V9h-7v10h9a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7a2 2 0 0 1 2 2v2z"/><path d="M17 14h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1v-1a1 1 0 0 1 2 0v1z"/></g></svg>',"edit-block":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19.8 8.8l-9.4 9.4c-.2.2-.5.4-.9.4l-5.4 1.2 1.2-5.4.5-.8 9.4-9.4c.7-.7 1.8-.7 2.5 0l2.1 2.1c.7.7.7 1.8 0 2.5zm-2-.2l1-.9v-.3l-2.2-2.2a.3.3 0 0 0-.3 0l-1 1L18 8.5zm-1 1l-2.5-2.4-6 6 2.5 2.5 6-6zm-7 7.1l-2.6-2.4-.3.3-.1.2-.7 3 3.1-.6h.1l.4-.5z"/></svg>',"edit-image":'<svg width="24" height="24"><path d="M18 16h2V7a2 2 0 0 0-2-2H7v2h11v9zM6 17h15a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1H6a2 2 0 0 1-2-2V7H3a1 1 0 1 1 0-2h1V4a1 1 0 1 1 2 0v13zm3-5.3l1.3 2 3-4.7 3.7 6H7l2-3.3z" fill-rule="nonzero"/></svg>',"embed-page":'<svg width="24" height="24"><path d="M19 6V5H5v14h2A13 13 0 0 1 19 6zm0 1.4c-.8.8-1.6 2.4-2.2 4.6H19V7.4zm0 5.6h-2.4c-.4 1.8-.6 3.8-.6 6h3v-6zm-4 6c0-2.2.2-4.2.6-6H13c-.7 1.8-1.1 3.8-1.1 6h3zm-4 0c0-2.2.4-4.2 1-6H9.6A12 12 0 0 0 8 19h3zM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1zm11.8 9c.4-1.9 1-3.4 1.8-4.5a9.2 9.2 0 0 0-4 4.5h2.2zm-3.4 0a12 12 0 0 1 2.8-4 12 12 0 0 0-5 4h2.2z" fill-rule="nonzero"/></svg>',embed:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1zm1 2v14h14V5H5zm4.8 2.6l5.6 4a.5.5 0 0 1 0 .8l-5.6 4A.5.5 0 0 1 9 16V8a.5.5 0 0 1 .8-.4z" fill-rule="nonzero"/></svg>',emoji:'<svg width="24" height="24"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5zM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm0 14.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13z" fill-rule="nonzero"/></svg>',fill:'<svg width="24" height="26"><path d="M16.6 12l-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L9 19.6a1.5 1.5 0 0 0 2.2 0l5.5-5.5c.5-.6.5-1.6 0-2.2zM5.2 13L10 8.2l4.8 4.8H5.2zM19 14.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.3-2-3.5-2-3.5z" fill-rule="nonzero"/></svg>',"flip-horizontally":'<svg width="24" height="24"><path d="M14 19h2v-2h-2v2zm4-8h2V9h-2v2zM4 7v10c0 1.1.9 2 2 2h3v-2H6V7h3V5H6a2 2 0 0 0-2 2zm14-2v2h2a2 2 0 0 0-2-2zm-7 16h2V3h-2v18zm7-6h2v-2h-2v2zm-4-8h2V5h-2v2zm4 12a2 2 0 0 0 2-2h-2v2z" fill-rule="nonzero"/></svg>',"flip-vertically":'<svg width="24" height="24"><path d="M5 14v2h2v-2H5zm8 4v2h2v-2h-2zm4-14H7a2 2 0 0 0-2 2v3h2V6h10v3h2V6a2 2 0 0 0-2-2zm2 14h-2v2a2 2 0 0 0 2-2zM3 11v2h18v-2H3zm6 7v2h2v-2H9zm8-4v2h2v-2h-2zM5 18c0 1.1.9 2 2 2v-2H5z" fill-rule="nonzero"/></svg>',"format-painter":'<svg width="24" height="24"><path d="M18 5V4c0-.5-.4-1-1-1H5a1 1 0 0 0-1 1v4c0 .6.5 1 1 1h12c.6 0 1-.4 1-1V7h1v4H9v9c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-7h8V5h-3z" fill-rule="nonzero"/></svg>',fullscreen:'<svg width="24" height="24"><path d="M15.3 10l-1.2-1.3 2.9-3h-2.3a.9.9 0 1 1 0-1.7H19c.5 0 .9.4.9.9v4.4a.9.9 0 1 1-1.8 0V7l-2.9 3zm0 4l3 3v-2.3a.9.9 0 1 1 1.7 0V19c0 .5-.4.9-.9.9h-4.4a.9.9 0 1 1 0-1.8H17l-3-2.9 1.3-1.2zM10 15.4l-2.9 3h2.3a.9.9 0 1 1 0 1.7H5a.9.9 0 0 1-.9-.9v-4.4a.9.9 0 1 1 1.8 0V17l2.9-3 1.2 1.3zM8.7 10L5.7 7v2.3a.9.9 0 0 1-1.7 0V5c0-.5.4-.9.9-.9h4.4a.9.9 0 0 1 0 1.8H7l3 2.9-1.3 1.2z" fill-rule="nonzero"/></svg>',gallery:'<svg width="24" height="24"><path fill-rule="nonzero" d="M5 15.7l2.3-2.2c.3-.3.7-.3 1 0L11 16l5.1-5c.3-.4.8-.4 1 0l2 1.9V8H5v7.7zM5 18V19h3l1.8-1.9-2-2L5 17.9zm14-3l-2.5-2.4-6.4 6.5H19v-4zM4 6h16c.6 0 1 .4 1 1v13c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V7c0-.6.4-1 1-1zm6 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM4.5 4h15a.5.5 0 1 1 0 1h-15a.5.5 0 0 1 0-1zm2-2h11a.5.5 0 1 1 0 1h-11a.5.5 0 0 1 0-1z"/></svg>',gamma:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1zm1 2v14h14V5H5zm6.5 11.8V14L9.2 8.7a5.1 5.1 0 0 0-.4-.8l-.1-.2H8 8v-1l.3-.1.3-.1h.7a1 1 0 0 1 .6.5l.1.3a8.5 8.5 0 0 1 .3.6l1.9 4.6 2-5.2a1 1 0 0 1 1-.6.5.5 0 0 1 .5.6L13 14v2.8a.7.7 0 0 1-1.4 0z" fill-rule="nonzero"/></svg>',help:'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M12 5.5a6.5 6.5 0 0 0-6 9 6.3 6.3 0 0 0 1.4 2l1 1a6.3 6.3 0 0 0 3.6 1 6.5 6.5 0 0 0 6-9 6.3 6.3 0 0 0-1.4-2l-1-1a6.3 6.3 0 0 0-3.6-1zM12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4z"/><path d="M9.6 9.7a.7.7 0 0 1-.7-.8c0-1.1 1.5-1.8 3.2-1.8 1.8 0 3.2.8 3.2 2.4 0 1.4-.4 2.1-1.5 2.8-.2 0-.3.1-.3.2a2 2 0 0 0-.8.8.8.8 0 0 1-1.4-.6c.3-.7.8-1 1.3-1.5l.4-.2c.7-.4.8-.6.8-1.5 0-.5-.6-.9-1.7-.9-.5 0-1 .1-1.4.3-.2 0-.3.1-.3.2v-.2c0 .4-.4.8-.8.8z" fill-rule="nonzero"/><circle cx="12" cy="16" r="1"/></g></svg>',"highlight-bg-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-highlight-bg-color__color" d="M3 18h18v3H3z"/><path fill-rule="nonzero" d="M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"/></g></svg>',home:'<svg width="24" height="24"><path fill-rule="nonzero" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>',"horizontal-rule":'<svg width="24" height="24"><path d="M4 11h16v2H4z" fill-rule="evenodd"/></svg>',"image-options":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2z" fill-rule="nonzero"/></svg>',image:'<svg width="24" height="24"><path d="M5 15.7l3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7zM5 18V19h3l2.8-2.9-2-2L5 17.9zm14-3l-2.5-2.4-6.4 6.5H19v-4zM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1zm6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill-rule="nonzero"/></svg>',indent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2zm-2.6-3.8L6.2 12l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6z" fill-rule="evenodd"/></svg>',info:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4zm-1 3v2h2V7h-2zm3 10v-1h-1v-5h-3v1h1v4h-1v1h4z" fill-rule="evenodd"/></svg>',"insert-character":'<svg width="24" height="24"><path d="M15 18h4l1-2v4h-6v-3.3l1.4-1a6 6 0 0 0 1.8-2.9 6.3 6.3 0 0 0-.1-4.1 5.8 5.8 0 0 0-3-3.2c-.6-.3-1.3-.5-2.1-.5a5.1 5.1 0 0 0-3.9 1.8 6.3 6.3 0 0 0-1.3 6 6.2 6.2 0 0 0 1.8 3l1.4.9V20H4v-4l1 2h4v-.5l-2-1L5.4 15A6.5 6.5 0 0 1 4 11c0-1 .2-1.9.6-2.7A7 7 0 0 1 6.3 6C7.1 5.4 8 5 9 4.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 0 1 5.7 2 7 7 0 0 1 1.7 2.3 6 6 0 0 1 .2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 0 1-3.6 2.5v.5z" fill-rule="evenodd"/></svg>',"insert-time":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm0 2a9 9 0 1 1 0-18 9 9 0 0 1 0 18z"/><path d="M16 12h-3V7c0-.6-.4-1-1-1a1 1 0 0 0-1 1v7h5c.6 0 1-.4 1-1s-.4-1-1-1z"/></g></svg>',invert:'<svg width="24" height="24"><path d="M18 19.3L16.5 18a5.8 5.8 0 0 1-3.1 1.9 6.1 6.1 0 0 1-5.5-1.6A5.8 5.8 0 0 1 6 14v-.3l.1-1.2A13.9 13.9 0 0 1 7.7 9l-3-3 .7-.8 2.8 2.9 9 8.9 1.5 1.6-.7.6zm0-5.5v.3l-.1 1.1-.4 1-1.2-1.2a4.3 4.3 0 0 0 .2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 0 0-3-4.2L12 6a26.1 26.1 0 0 0-2.2 2.5l-1-1a20.9 20.9 0 0 1 2.9-3.3L12 4l1 .8a22.2 22.2 0 0 1 4 5.4c.6 1.2 1 2.4 1 3.6z" fill-rule="evenodd"/></svg>',italic:'<svg width="24" height="24"><path d="M16.7 4.7l-.1.9h-.3c-.6 0-1 0-1.4.3-.3.3-.4.6-.5 1.1l-2.1 9.8v.6c0 .5.4.8 1.4.8h.2l-.2.8H8l.2-.8h.2c1.1 0 1.8-.5 2-1.5l2-9.8.1-.5c0-.6-.4-.8-1.4-.8h-.3l.2-.9h5.8z" fill-rule="evenodd"/></svg>',line:'<svg width="24" height="24"><path d="M15 9l-8 8H4v-3l8-8 3 3zm1-1l-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1zM4 18h16v2H4v-2z" fill-rule="evenodd"/></svg>',link:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2.1 2a2 2 0 1 0 2.7 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2zm11.6-.6a1 1 0 0 1-1.4-1.4l2-2a2 2 0 1 0-2.6-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2z" fill-rule="nonzero"/></svg>',"list-bull-circle":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6zM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6zM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6z" fill-rule="nonzero"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-default":'<svg width="48" height="48"><g fill-rule="evenodd"><circle cx="11" cy="14" r="3"/><circle cx="11" cy="24" r="3"/><circle cx="11" cy="34" r="3"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-square":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M8 11h6v6H8zM8 21h6v6H8zM8 31h6v6H8z"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-num-default-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 17v-4.8l-1.6 1v-1.1l1.6-1h1.2V17zM33.3 17.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm1.7 5.7c0-1.2 1-2 2.2-2 1.3 0 2.1.8 2.1 1.8 0 .7-.3 1.2-1.3 2.2l-1.2 1v.2h2.6v1h-4.3v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H35zm-1.7 4.3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm3.2 7.3v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H35c0-1.1 1-1.8 2.2-1.8 1.2 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.7.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .6 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm-3.3 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-default":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10 17v-4.8l-1.5 1v-1.1l1.6-1h1.2V17h-1.2zm3.6.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm-5 5.7c0-1.2.8-2 2.1-2s2.1.8 2.1 1.8c0 .7-.3 1.2-1.4 2.2l-1.1 1v.2h2.6v1H8.6v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H8.5zm6.3 4.3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM10 34.4v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H8.6c0-1.1 1-1.8 2.2-1.8 1.3 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.8.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .7 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm4.7 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-lower-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M36.5 16c-.9 0-1.5-.5-1.5-1.3s.6-1.3 1.8-1.4h1v-.4c0-.4-.2-.6-.7-.6-.4 0-.7.1-.8.4h-1.1c0-.8.8-1.4 2-1.4S39 12 39 13V16h-1.2v-.6c-.3.4-.8.7-1.4.7zm.4-.8c.6 0 1-.4 1-.9V14h-1c-.5.1-.7.3-.7.6 0 .4.3.6.7.6zM33.1 16.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zM37.7 26c-.7 0-1.2-.2-1.5-.7v.7H35v-6.3h1.2v2.5c.3-.5.8-.9 1.5-.9 1.1 0 1.8 1 1.8 2.4 0 1.5-.7 2.4-1.8 2.4zm-.5-3.6c-.6 0-1 .5-1 1.3s.4 1.4 1 1.4c.7 0 1-.6 1-1.4 0-.8-.3-1.3-1-1.3zM33.2 26.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm6 7h-1c-.1-.5-.4-.8-1-.8s-1 .5-1 1.4c0 1 .4 1.4 1 1.4.5 0 .9-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm-6.1 3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.3 15.2c.5 0 1-.4 1-.9V14h-1c-.5.1-.8.3-.8.6 0 .4.3.6.8.6zm-.4.9c-1 0-1.5-.6-1.5-1.4 0-.8.6-1.3 1.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5 0-.8.1-.9.4h-1c0-.8.8-1.4 2-1.4 1.1 0 1.8.6 1.8 1.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7zm4.6 0c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-3.2 10c-.6 0-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9 1.4-.9 1.2 0 1.9 1 1.9 2.4 0 1.5-.7 2.4-1.9 2.4zm-.4-3.7c-.7 0-1 .5-1 1.3s.3 1.4 1 1.4c.6 0 1-.6 1-1.4 0-.8-.4-1.3-1-1.3zm4 3.7c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-2.2 7h-1.2c0-.5-.4-.8-.9-.8-.6 0-1 .5-1 1.4 0 1 .4 1.4 1 1.4.5 0 .8-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm1.8 3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-greek-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 16c-1.2 0-2-.8-2-2.3 0-1.5.8-2.4 2-2.4.6 0 1 .4 1.3 1v-.9H40v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1-.7h-.2c-.2.4-.7.8-1.3.8zm.3-1c.6 0 1-.5 1-1.3s-.4-1.3-1-1.3-1 .5-1 1.3.4 1.4 1 1.4zM33.3 16.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM36 21.9c0-1.5.8-2.3 2.1-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.9 1.3.9.3 1.3.8 1.3 1.7 0 1.2-.7 1.9-1.8 1.9-.6 0-1.1-.3-1.4-.8v2.2H36V22zm1.8 1.2v-1h.3c.5 0 .9-.2.9-.7 0-.5-.3-.8-.9-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1 1.3s1-.4 1-1-.4-1-1.2-1h-.3zM33.3 26.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zM37.1 34.6L34.8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.2.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1zM33.3 36.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-greek":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.5 15c.7 0 1-.5 1-1.3s-.3-1.3-1-1.3c-.5 0-.9.5-.9 1.3s.4 1.4 1 1.4zm-.3 1c-1.1 0-1.8-.8-1.8-2.3 0-1.5.7-2.4 1.8-2.4.7 0 1.1.4 1.3 1h.1v-.9h1.2v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8zm5 .1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm-4.9 7v-1h.3c.6 0 1-.2 1-.7 0-.5-.4-.8-1-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1.1 1.3.6 0 1-.4 1-1s-.5-1-1.3-1h-.3zM8.6 22c0-1.5.7-2.3 2-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.8 1.3.8.3 1.3.8 1.3 1.7 0 1.2-.8 1.9-1.9 1.9-.6 0-1.1-.3-1.3-.8v2.2H8.5V22zm6.2 4.2c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm-4.5 8.5L8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.1.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1zm4.5.5c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M32.9 16v-1.2h-1.3V16H33zm0 10v-1.2h-1.3V26H33zm0 10v-1.2h-1.3V36H33z"/><path fill-rule="nonzero" d="M36 21h-1.5v5H36zM36 31h-1.5v5H36zM39 21h-1.5v5H39zM39 31h-1.5v5H39zM42 31h-1.5v5H42zM36 11h-1.5v5H36zM36 19h-1.5v1H36zM36 29h-1.5v1H36zM39 19h-1.5v1H39zM39 29h-1.5v1H39zM42 29h-1.5v1H42zM36 9h-1.5v1H36z"/></g></svg>',"list-num-lower-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 16v-1.2h1.3V16H15zm0 10v-1.2h1.3V26H15zm0 10v-1.2h1.3V36H15z"/><path fill-rule="nonzero" d="M12 21h1.5v5H12zM12 31h1.5v5H12zM9 21h1.5v5H9zM9 31h1.5v5H9zM6 31h1.5v5H6zM12 11h1.5v5H12zM12 19h1.5v1H12zM12 29h1.5v1H12zM9 19h1.5v1H9zM9 29h1.5v1H9zM6 29h1.5v1H6zM12 9h1.5v1H12z"/></g></svg>',"list-num-upper-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M39.3 17l-.5-1.4h-2l-.5 1.4H35l2-6h1.6l2 6h-1.3zm-1.6-4.7l-.7 2.3h1.6l-.8-2.3zM33.4 17c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zm4.7 9.9h-2.7v-6H38c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7zm-1.4-5v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1zm0 4h1.1c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9h-1.1V26zM33 27.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm4.9 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2zm-4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-upper-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M12.6 17l-.5-1.4h-2L9.5 17H8.3l2-6H12l2 6h-1.3zM11 12.3l-.7 2.3h1.6l-.8-2.3zm4.7 4.8c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7zM11.4 27H8.7v-6h2.6c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7zM10 22v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1zm0 4H11c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9H10V26zm5.4 1.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm-4.1 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2zm4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-upper-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M31.6 17v-1.2H33V17h-1.3zm0 10v-1.2H33V27h-1.3zm0 10v-1.2H33V37h-1.3z"/><path fill-rule="nonzero" d="M34.5 20H36v7h-1.5zM34.5 30H36v7h-1.5zM37.5 20H39v7h-1.5zM37.5 30H39v7h-1.5zM40.5 30H42v7h-1.5zM34.5 10H36v7h-1.5z"/></g></svg>',"list-num-upper-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 17v-1.2h1.3V17H15zm0 10v-1.2h1.3V27H15zm0 10v-1.2h1.3V37H15z"/><path fill-rule="nonzero" d="M12 20h1.5v7H12zM12 30h1.5v7H12zM9 20h1.5v7H9zM9 30h1.5v7H9zM6 30h1.5v7H6zM12 10h1.5v7H12z"/></g></svg>',lock:'<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3zM10 8v3h4V8a1 1 0 0 0-.3-.7A1 1 0 0 0 13 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7z" fill-rule="evenodd"/></svg>',ltr:'<svg width="24" height="24"><path d="M11 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 7.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L11 5zM4.4 16.2L6.2 15l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6z" fill-rule="evenodd"/></svg>',"more-drawer":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2z" fill-rule="nonzero"/></svg>',"new-document":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3zM17 19H7V5h6v4h4v10z" fill-rule="nonzero"/></svg>',"new-tab":'<svg width="24" height="24"><path d="M15 13l2-2v8H5V7h8l-2 2H7v8h8v-4zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19z" fill-rule="evenodd"/></svg>',"non-breaking":'<svg width="24" height="24"><path d="M11 11H8a1 1 0 1 1 0-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-3zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1z" fill-rule="evenodd"/></svg>',notice:'<svg width="24" height="24"><path d="M17.8 9.8L15.4 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7l2.3 5.8zm0 0l2.2 5.7-2.3-5.8zM13 17v-2h-2v2h2zm0-4V7h-2v6h2z" fill-rule="evenodd"/></svg>',"ordered-list-rtl":'<svg width="24" height="24"><path d="M6 17h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2zm13-1v3.5a.5.5 0 1 1-1 0V5h-.5a.5.5 0 1 1 0-1H19zm-1 8.8l.2.2h1.3a.5.5 0 1 1 0 1h-1.6a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2h-1.3a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 0 1 0-1h1.2a.3.3 0 1 0 0-.6h-1.3a.4.4 0 1 1 0-.8h1.3a.3.3 0 0 0 0-.6h-1.2a.5.5 0 1 1 0-1H19c.6 0 1 .4 1 1z" fill-rule="evenodd"/></svg>',"ordered-list":'<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 1 1 0-2zM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.5V5h-.5a.5.5 0 0 1 0-1H6zm-1 8.8l.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2H4.5a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3zM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 0 1 0-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 1 1 0-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 1 1 0-1H6c.6 0 1 .4 1 1z" fill-rule="evenodd"/></svg>',orientation:'<svg width="24" height="24"><path d="M7.3 6.4L1 13l6.4 6.5 6.5-6.5-6.5-6.5zM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7zM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 0 1 0-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 1 1-4.3 16.9l1.5-1.5A7 7 0 1 0 13 6h-1z" fill-rule="nonzero"/></svg>',outdent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2zm1.6-3.8a1 1 0 0 1-1.2 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 0 1 1.2 1.6L6.8 12l1.8 1.2z" fill-rule="evenodd"/></svg>',"page-break":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M5 11c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 0 1 0-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zM7 3v5h10V3c0-.6.4-1 1-1s1 .4 1 1v7H5V3c0-.6.4-1 1-1s1 .4 1 1zM6 22a1 1 0 0 1-1-1v-7h14v7c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5H7v5c0 .6-.4 1-1 1z"/></g></svg>',"paste-text":'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9zM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1zm1.5-9.5v9h9v-9h-9zM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1zm0 9h6v2h-.5l-.5-1h-1v4h.8v1h-3.6v-1h.8v-4h-1l-.5 1H12v-2z" fill-rule="nonzero"/></svg>',paste:'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9zM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1zm1.5-9.5v9h9v-9h-9zM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z" fill-rule="nonzero"/></svg>',"permanent-pen":'<svg width="24" height="24"><path d="M10.5 17.5L8 20H3v-3l3.5-3.5a2 2 0 0 1 0-3L14 3l1 1-7.3 7.3a1 1 0 0 0 0 1.4l3.6 3.6c.4.4 1 .4 1.4 0L20 9l1 1-7.6 7.6a2 2 0 0 1-2.8 0l-.1-.1z" fill-rule="nonzero"/></svg>',plus:'<svg width="24" height="24"><g fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke="#000" stroke-width="2"><path d="M12 5v14M5 12h14"/></g></svg>',preferences:'<svg width="24" height="24"><path d="M20.1 13.5l-1.9.2a5.8 5.8 0 0 1-.6 1.5l1.2 1.5c.4.4.3 1 0 1.4l-.7.7a1 1 0 0 1-1.4 0l-1.5-1.2a6.2 6.2 0 0 1-1.5.6l-.2 1.9c0 .5-.5.9-1 .9h-1a1 1 0 0 1-1-.9l-.2-1.9a5.8 5.8 0 0 1-1.5-.6l-1.5 1.2a1 1 0 0 1-1.4 0l-.7-.7a1 1 0 0 1 0-1.4l1.2-1.5a6.2 6.2 0 0 1-.6-1.5l-1.9-.2a1 1 0 0 1-.9-1v-1c0-.5.4-1 .9-1l1.9-.2a5.8 5.8 0 0 1 .6-1.5L5.2 7.3a1 1 0 0 1 0-1.4l.7-.7a1 1 0 0 1 1.4 0l1.5 1.2a6.2 6.2 0 0 1 1.5-.6l.2-1.9c0-.5.5-.9 1-.9h1c.5 0 1 .4 1 .9l.2 1.9a5.8 5.8 0 0 1 1.5.6l1.5-1.2a1 1 0 0 1 1.4 0l.7.7c.3.4.4 1 0 1.4l-1.2 1.5a6.2 6.2 0 0 1 .6 1.5l1.9.2c.5 0 .9.5.9 1v1c0 .5-.4 1-.9 1zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" fill-rule="evenodd"/></svg>',preview:'<svg width="24" height="24"><path d="M3.5 12.5c.5.8 1.1 1.6 1.8 2.3 2 2 4.2 3.2 6.7 3.2s4.7-1.2 6.7-3.2a16.2 16.2 0 0 0 2.1-2.8 15.7 15.7 0 0 0-2.1-2.8c-2-2-4.2-3.2-6.7-3.2a9.3 9.3 0 0 0-6.7 3.2A16.2 16.2 0 0 0 3.2 12c0 .2.2.3.3.5zm-2.4-1l.7-1.2L4 7.8C6.2 5.4 8.9 4 12 4c3 0 5.8 1.4 8.1 3.8a18.2 18.2 0 0 1 2.8 3.7v1l-.7 1.2-2.1 2.5c-2.3 2.4-5 3.8-8.1 3.8-3 0-5.8-1.4-8.1-3.8a18.2 18.2 0 0 1-2.8-3.7 1 1 0 0 1 0-1zm12-3.3a2 2 0 1 0 2.7 2.6 4 4 0 1 1-2.6-2.6z" fill-rule="nonzero"/></svg>',print:'<svg width="24" height="24"><path d="M18 8H6a3 3 0 0 0-3 3v6h2v3h14v-3h2v-6a3 3 0 0 0-3-3zm-1 10H7v-4h10v4zm.5-5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm.5-8H6v2h12V5z" fill-rule="nonzero"/></svg>',quote:'<svg width="24" height="24"><path d="M7.5 17h.9c.4 0 .7-.2.9-.6L11 13V8c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3zm8 0h.9c.4 0 .7-.2.9-.6L19 13V8c0-.6-.4-1-1-1h-4a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3z" fill-rule="nonzero"/></svg>',redo:'<svg width="24" height="24"><path d="M17.6 10H12c-2.8 0-4.4 1.4-4.9 3.5-.4 2 .3 4 1.4 4.6a1 1 0 1 1-1 1.8c-2-1.2-2.9-4.1-2.3-6.8.6-3 3-5.1 6.8-5.1h5.6l-3.3-3.3a1 1 0 1 1 1.4-1.4l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.4-1.4l3.3-3.3z" fill-rule="nonzero"/></svg>',reload:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M5 22.1l-1.2-4.7v-.2a1 1 0 0 1 1-1l5 .4a1 1 0 1 1-.2 2l-2.2-.2a7.8 7.8 0 0 0 8.4.2 7.5 7.5 0 0 0 3.5-6.4 1 1 0 1 1 2 0 9.5 9.5 0 0 1-4.5 8 9.9 9.9 0 0 1-10.2 0l.4 1.4a1 1 0 1 1-2 .5zM13.6 7.4c0-.5.5-1 1-.9l2.8.2a8 8 0 0 0-9.5-1 7.5 7.5 0 0 0-3.6 7 1 1 0 0 1-2 0 9.5 9.5 0 0 1 4.5-8.6 10 10 0 0 1 10.9.3l-.3-1a1 1 0 0 1 2-.5l1.1 4.8a1 1 0 0 1-1 1.2l-5-.4a1 1 0 0 1-.9-1z"/></g></svg>',"remove-formatting":'<svg width="24" height="24"><path d="M13.2 6a1 1 0 0 1 0 .2l-2.6 10a1 1 0 0 1-1 .8h-.2a.8.8 0 0 1-.8-1l2.6-10H8a1 1 0 1 1 0-2h9a1 1 0 0 1 0 2h-3.8zM5 18h7a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2zm13 1.5L16.5 18 15 19.5a.7.7 0 0 1-1-1l1.5-1.5-1.5-1.5a.7.7 0 0 1 1-1l1.5 1.5 1.5-1.5a.7.7 0 0 1 1 1L17.5 17l1.5 1.5a.7.7 0 0 1-1 1z" fill-rule="evenodd"/></svg>',remove:'<svg width="24" height="24"><path d="M16 7h3a1 1 0 0 1 0 2h-1v9a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9H5a1 1 0 1 1 0-2h3V6a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v1zm-2 0V6c0-.6-.4-1-1-1h-2a1 1 0 0 0-1 1v1h4zm2 2H8v9c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V9zm-7 3a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4zm4 0a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4z" fill-rule="nonzero"/></svg>',"resize-handle":'<svg width="10" height="10"><g fill-rule="nonzero"><path d="M8.1 1.1A.5.5 0 1 1 9 2l-7 7A.5.5 0 1 1 1 8l7-7zM8.1 5.1A.5.5 0 1 1 9 6l-3 3A.5.5 0 1 1 5 8l3-3z"/></g></svg>',resize:'<svg width="24" height="24"><path d="M4 5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h6c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H7.4L18 16.6V13c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v6c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-6a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L6 7.4V11c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3A1 1 0 0 1 4 11V5z" fill-rule="evenodd"/></svg>',"restore-draft":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1z"/><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10z" fill-rule="nonzero"/></g></svg>',"rotate-left":'<svg width="24" height="24"><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10z" fill-rule="nonzero"/></svg>',"rotate-right":'<svg width="24" height="24"><path d="M20 8V5a1 1 0 0 1 2 0v6c0 .6-.4 1-1 1h-6a1 1 0 0 1 0-2h4.3L16 7A7.2 7.2 0 0 0 7.7 6a7 7 0 0 0 3 13.1c1.9.1 3.7-.5 5-1.7a1 1 0 0 1 1.4 1.5A9.2 9.2 0 0 1 2.2 14c-.9-3.9 1-8 4.5-9.9 3.5-1.9 8-1.3 10.8 1.5L20 8z" fill-rule="nonzero"/></svg>',rtl:'<svg width="24" height="24"><path d="M8 5h8v2h-2v12h-2V7h-2v12H8v-7c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 4.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L8 5zm12 11.2a1 1 0 1 1-1 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 1 1 1 1.6L18.4 15l1.8 1.2z" fill-rule="evenodd"/></svg>',save:'<svg width="24" height="24"><path d="M5 16h14a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2zm0 2v2h14v-2H5zm10 0h2v2h-2v-2zm-4-6.4L8.7 9.3a1 1 0 1 0-1.4 1.4l4 4c.4.4 1 .4 1.4 0l4-4a1 1 0 1 0-1.4-1.4L13 11.6V4a1 1 0 0 0-2 0v7.6z" fill-rule="nonzero"/></svg>',search:'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12z" fill-rule="nonzero"/></svg>',"select-all":'<svg width="24" height="24"><path d="M3 5h2V3a2 2 0 0 0-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2a2 2 0 0 0-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8a2 2 0 0 0 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z" fill-rule="nonzero"/></svg>',selected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2zm3.6 10.9L7 12.3a.7.7 0 0 0-1 1L9.6 17 18 8.6a.7.7 0 0 0 0-1 .7.7 0 0 0-1 0l-7.4 7.3z"/></svg>',settings:'<svg width="24" height="24"><path d="M11 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V8H5a1 1 0 1 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V6zM8 8h2V6H8v2zm9 2.8v.2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V13H5a1 1 0 0 1 0-2h8v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.6zM14 13h2v-2h-2v2zm-3 2.8v.2h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V18H5a1 1 0 0 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6zM8 18h2v-2H8v2z" fill-rule="evenodd"/></svg>',sharpen:'<svg width="24" height="24"><path d="M16 6l4 4-8 9-8-9 4-4h8zm-4 10.2l5.5-6.2-.1-.1H12v-.3h5.1l-.2-.2H12V9h4.6l-.2-.2H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2z" fill-rule="evenodd"/></svg>',sourcecode:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9.8 15.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0l-4.4-4.1a.8.8 0 0 1 0-1.2l4.4-4.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L6 12l3.8 3.7zM14.2 15.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.9 0-1.2l-4.4-4.2a.8.8 0 0 0-1.2 0c-.3.3-.3.8 0 1.1L18 12l-3.8 3.7z"/></g></svg>',"spell-check":'<svg width="24" height="24"><path d="M6 8v3H5V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H8V8H6zm0-3v2h2V5H6zm13 0h-3v5h3v1h-3a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1zm-5 1.5l-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V10c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-3V4h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5zM13 10V8h-2v2h2zm0-3V5h-2v2h2zm3 5l1 1-6.5 7L7 15.5l1.3-1 2.2 2.2L16 12z" fill-rule="evenodd"/></svg>',"strike-through":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M15.6 8.5c-.5-.7-1-1.1-1.3-1.3-.6-.4-1.3-.6-2-.6-2.7 0-2.8 1.7-2.8 2.1 0 1.6 1.8 2 3.2 2.3 4.4.9 4.6 2.8 4.6 3.9 0 1.4-.7 4.1-5 4.1A6.2 6.2 0 0 1 7 16.4l1.5-1.1c.4.6 1.6 2 3.7 2 1.6 0 2.5-.4 3-1.2.4-.8.3-2-.8-2.6-.7-.4-1.6-.7-2.9-1-1-.2-3.9-.8-3.9-3.6C7.6 6 10.3 5 12.4 5c2.9 0 4.2 1.6 4.7 2.4l-1.5 1.1z"/><path d="M5 11h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2z" fill-rule="nonzero"/></g></svg>',subscript:'<svg width="24" height="24"><path d="M10.4 10l4.6 4.6-1.4 1.4L9 11.4 4.4 16 3 14.6 7.6 10 3 5.4 4.4 4 9 8.6 13.6 4 15 5.4 10.4 10zM21 19h-5v-1l1-.8 1.7-1.6c.3-.4.5-.8.5-1.2 0-.3 0-.6-.2-.7-.2-.2-.5-.3-.9-.3a2 2 0 0 0-.8.2l-.7.3-.4-1.1 1-.6 1.2-.2c.8 0 1.4.3 1.8.7.4.4.6.9.6 1.5s-.2 1.1-.5 1.6a8 8 0 0 1-1.3 1.3l-.6.6h2.6V19z" fill-rule="nonzero"/></svg>',superscript:'<svg width="24" height="24"><path d="M15 9.4L10.4 14l4.6 4.6-1.4 1.4L9 15.4 4.4 20 3 18.6 7.6 14 3 9.4 4.4 8 9 12.6 13.6 8 15 9.4zm5.9 1.6h-5v-1l1-.8 1.7-1.6c.3-.5.5-.9.5-1.3 0-.3 0-.5-.2-.7-.2-.2-.5-.3-.9-.3l-.8.2-.7.4-.4-1.2c.2-.2.5-.4 1-.5.3-.2.8-.2 1.2-.2.8 0 1.4.2 1.8.6.4.4.6 1 .6 1.6 0 .5-.2 1-.5 1.5l-1.3 1.4-.6.5h2.6V11z" fill-rule="nonzero"/></svg>',"table-cell-properties":'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm10 10h-4v3h4v-3zm0-8h-4v3h4V7zM9 7H5v3h4V7zm-4 4v3h4v-3H5zm10 0v3h4v-3h-4zm0-1h4V7h-4v3zM5 15v3h4v-3H5zm10 3h4v-3h-4v3z" fill-rule="evenodd"/></svg>',"table-cell-select-all":'<svg width="24" height="24"><path d="M12.5 5.5v6h6v-6h-6zm-1 0h-6v6h6v-6zm1 13h6v-6h-6v6zm-1 0v-6h-6v6h6zm-7-14h15v15h-15v-15z" fill-rule="nonzero"/></svg>',"table-cell-select-inner":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M5.5 5.5v13h13v-13h-13zm-1-1h15v15h-15v-15z" opacity=".2"/><path d="M11.5 11.5v-7h1v7h7v1h-7v7h-1v-7h-7v-1h7z"/></g></svg>',"table-delete-column":'<svg width="24" height="24"><path d="M9 11.2l1 1v.2l-1 1v-2.2zm5 1l1-1v2.2l-1-1v-.2zM20 5v14H4V5h16zm-1 2h-4v.8l-.2-.2-.8.8V7h-4v1.4l-.8-.8-.2.2V7H5v11h4v-1.8l.5.5.5-.4V18h4v-1.8l.8.8.2-.3V18h4V7zm-3.9 3.4l-1.8 1.9 1.8 1.9c.4.3.4.9 0 1.2-.3.3-.8.3-1.2 0L12 13.5l-1.8 1.9a.8.8 0 0 1-1.2 0 .9.9 0 0 1 0-1.2l1.8-1.9-1.9-2a.9.9 0 0 1 1.2-1.2l2 2 1.8-1.8c.3-.4.9-.4 1.2 0a.8.8 0 0 1 0 1.1z" fill-rule="evenodd"/></svg>',"table-delete-row":'<svg width="24" height="24"><path d="M16.7 8.8l1.1 1.2-2.4 2.5L18 15l-1.2 1.2-2.5-2.5-2.4 2.5-1.3-1.2 2.5-2.5-2.5-2.5 1.2-1.3 2.6 2.6 2.4-2.5zM4 5h16v14H4V5zm15 5V7H5v3h4.8l1 1H5v3h5.8l-1 1H5v3h14v-3h-.4l-1-1H19v-3h-1.3l1-1h.3z" fill-rule="evenodd"/></svg>',"table-delete-table":'<svg width="24" height="26"><path d="M4 6h16v14H4V6zm1 2v11h14V8H5zm11.7 8.7l-1.5 1.5L12 15l-3.3 3.2-1.4-1.5 3.2-3.2-3.3-3.2 1.5-1.5L12 12l3.2-3.2 1.5 1.5-3.2 3.2 3.2 3.2z" fill-rule="evenodd"/></svg>',"table-insert-column-after":'<svg width="24" height="24"><path d="M14.3 9c.4 0 .7.3.7.6v2.2h2.1c.4 0 .7.3.7.7 0 .4-.3.7-.7.7H15v2.2c0 .3-.3.6-.7.6a.7.7 0 0 1-.6-.6v-2.2h-2.2a.7.7 0 0 1 0-1.4h2.2V9.6c0-.3.3-.6.6-.6zM4 5h16v14H4V5zm5 13v-3H5v3h4zm0-4v-3H5v3h4zm0-4V7H5v3h4zm10 8V7h-9v11h9z" fill-rule="evenodd"/></svg>',"table-insert-column-before":'<svg width="24" height="24"><path d="M9.7 16a.7.7 0 0 1-.7-.6v-2.2H6.9a.7.7 0 0 1 0-1.4H9V9.6c0-.3.3-.6.7-.6.3 0 .6.3.6.6v2.2h2.2c.4 0 .8.3.8.7 0 .4-.4.7-.8.7h-2.2v2.2c0 .3-.3.6-.6.6zM4 5h16v14H4V5zm10 13V7H5v11h9zm5 0v-3h-4v3h4zm0-4v-3h-4v3h4zm0-4V7h-4v3h4z" fill-rule="evenodd"/></svg>',"table-insert-row-above":'<svg width="24" height="24"><path d="M14.8 10.5c0 .3-.2.5-.5.5h-1.8v1.8c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.6V11H9.7a.5.5 0 0 1 0-1h1.8V8.3c0-.3.2-.6.5-.6s.5.3.5.6V10h1.8c.3 0 .5.2.5.5zM4 5h16v14H4V5zm5 13v-3H5v3h4zm5 0v-3h-4v3h4zm5 0v-3h-4v3h4zm0-4V7H5v7h14z" fill-rule="evenodd"/></svg>',"table-insert-row-after":'<svg width="24" height="24"><path d="M9.2 14.5c0-.3.2-.5.5-.5h1.8v-1.8c0-.3.2-.5.5-.5s.5.2.5.6V14h1.8c.3 0 .5.2.5.5s-.2.5-.5.5h-1.8v1.7c0 .3-.2.6-.5.6a.5.5 0 0 1-.5-.6V15H9.7a.5.5 0 0 1-.5-.5zM4 5h16v14H4V5zm6 2v3h4V7h-4zM5 7v3h4V7H5zm14 11v-7H5v7h14zm0-8V7h-4v3h4z" fill-rule="evenodd"/></svg>',"table-left-header":'<svg width="24" height="24"><path d="M4 5h16v13H4V5zm10 12v-3h-4v3h4zm0-4v-3h-4v3h4zm0-4V6h-4v3h4zm5 8v-3h-4v3h4zm0-4v-3h-4v3h4zm0-4V6h-4v3h4z" fill-rule="evenodd"/></svg>',"table-merge-cells":'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm6 13h9v-7h-9v7zm4-11h-4v3h4V7zM9 7H5v3h4V7zm-4 4v3h4v-3H5zm10-1h4V7h-4v3zM5 15v3h4v-3H5z" fill-rule="evenodd"/></svg>',"table-row-properties":'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm10 10h-4v3h4v-3zm0-8h-4v3h4V7zM9 7H5v3h4V7zm6 3h4V7h-4v3zM5 15v3h4v-3H5zm10 3h4v-3h-4v3z" fill-rule="evenodd"/></svg>',"table-split-cells":'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm6 2v3h4V7h-4zM9 18v-3H5v3h4zm0-4v-3H5v3h4zm0-4V7H5v3h4zm10 8v-7h-9v7h9zm0-8V7h-4v3h4zm-3.5 4.5l1.5 1.6c.3.2.3.7 0 1-.2.2-.7.2-1 0l-1.5-1.6-1.6 1.5c-.2.3-.7.3-1 0a.7.7 0 0 1 0-1l1.6-1.5-1.5-1.6a.7.7 0 0 1 1-1l1.5 1.6 1.6-1.5c.2-.3.7-.3 1 0 .2.2.2.7 0 1l-1.6 1.5z" fill-rule="evenodd"/></svg>',"table-top-header":'<svg width="24" height="24"><path d="M4 5h16v13H4V5zm5 12v-3H5v3h4zm0-4v-3H5v3h4zm5 4v-3h-4v3h4zm0-4v-3h-4v3h4zm5 4v-3h-4v3h4zm0-4v-3h-4v3h4z" fill-rule="evenodd"/></svg>',table:'<svg width="24" height="24"><path d="M4 5h16v14H4V5zm6 9h4v-3h-4v3zm4 1h-4v3h4v-3zm0-8h-4v3h4V7zM9 7H5v3h4V7zm-4 4v3h4v-3H5zm10 0v3h4v-3h-4zm0-1h4V7h-4v3zM5 15v3h4v-3H5zm10 3h4v-3h-4v3z" fill-rule="evenodd"/></svg>',template:'<svg width="24" height="24"><path d="M19 19v-1H5v1h14zM9 16v-4a5 5 0 1 1 6 0v4h4a2 2 0 0 1 2 2v3H3v-3c0-1.1.9-2 2-2h4zm4 0v-5l.8-.6a3 3 0 1 0-3.6 0l.8.6v5h2z" fill-rule="nonzero"/></svg>',"temporary-placeholder":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M9 7.6V6h2.5V4.5a.5.5 0 1 1 1 0V6H15v1.6a8 8 0 1 1-6 0zm-2.6 5.3a.5.5 0 0 0 .3.6c.3 0 .6 0 .6-.3l.1-.2a5 5 0 0 1 3.3-2.8c.3-.1.4-.4.4-.6-.1-.3-.4-.5-.6-.4a6 6 0 0 0-4.1 3.7z"/><circle cx="14" cy="4" r="1"/><circle cx="12" cy="2" r="1"/><circle cx="10" cy="4" r="1"/></g></svg>',"text-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4zm2.6-7.6l-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4z"/></g></svg>',toc:'<svg width="24" height="24"><path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',translate:'<svg width="24" height="24"><path d="M12.7 14.3l-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 0 1 0-1l3.1-3A12.4 12.4 0 0 1 6.7 9H8a10.1 10.1 0 0 0 1.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 1 1 0-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 0 1-1 2.4 13.5 13.5 0 0 1-1.7 2.3l1.9 1.8zm4.3-3l2.7 7.3a.5.5 0 0 1-.4.7 1 1 0 0 1-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 0 1-1 .7.5.5 0 0 1-.4-.7l2.7-7.4a1 1 0 1 1 2 0zm-2.2 4.4h2.4L16 12.5l-1.2 3.2z" fill-rule="evenodd"/></svg>',underline:'<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 0 1-.4 1.8l-1 1.4a5.3 5.3 0 0 1-5.5 1 5 5 0 0 1-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 0 1-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 0 0 2.2.8 3.4 3.4 0 0 0 2.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1zM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2z" fill-rule="evenodd"/></svg>',undo:'<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 0 1-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 1 1-1.4 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.4 1.4L6.4 8z" fill-rule="nonzero"/></svg>',unlink:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2zm11.6-.6a1 1 0 0 1-1.4-1.4l2.1-2a2 2 0 1 0-2.7-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2zM7.6 6.3a.8.8 0 0 1-1 1.1L3.3 4.2a.7.7 0 1 1 1-1l3.2 3.1zM5.1 8.6a.8.8 0 0 1 0 1.5H3a.8.8 0 0 1 0-1.5H5zm5-3.5a.8.8 0 0 1-1.5 0V3a.8.8 0 0 1 1.5 0V5zm6 11.8a.8.8 0 0 1 1-1l3.2 3.2a.8.8 0 0 1-1 1L16 17zm-2.2 2a.8.8 0 0 1 1.5 0V21a.8.8 0 0 1-1.5 0V19zm5-3.5a.7.7 0 1 1 0-1.5H21a.8.8 0 0 1 0 1.5H19z" fill-rule="nonzero"/></svg>',unlock:'<svg width="24" height="24"><path d="M16 5c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V8a1 1 0 0 0-.3-.7A1 1 0 0 0 16 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7v3h.3c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H11V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2z" fill-rule="evenodd"/></svg>',"unordered-list":'<svg width="24" height="24"><path d="M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1z" fill-rule="evenodd"/></svg>',unselected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2zm0 1a1 1 0 0 0-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6z"/></svg>',upload:'<svg width="24" height="24"><path d="M18 19v-2a1 1 0 0 1 2 0v3c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v2h12zM11 6.4L8.7 8.7a1 1 0 0 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 1 1-1.4 1.4L13 6.4V16a1 1 0 0 1-2 0V6.4z" fill-rule="nonzero"/></svg>',user:'<svg width="24" height="24"><path d="M12 24a12 12 0 1 1 0-24 12 12 0 0 1 0 24zm-8.7-5.3a11 11 0 0 0 17.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7zM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13z" fill-rule="nonzero"/></svg>',visualblocks:'<svg width="24" height="24"><path d="M9 19v2H7v-2h2zm-4 0v2a2 2 0 0 1-2-2h2zm8 0v2h-2v-2h2zm8 0a2 2 0 0 1-2 2v-2h2zm-4 0v2h-2v-2h2zM15 7a1 1 0 0 1 0 2v7a1 1 0 0 1-2 0V9h-1v7a1 1 0 0 1-2 0v-4a2.5 2.5 0 0 1-.2-5H15zM5 15v2H3v-2h2zm16 0v2h-2v-2h2zM5 11v2H3v-2h2zm16 0v2h-2v-2h2zM5 7v2H3V7h2zm16 0v2h-2V7h2zM5 3v2H3c0-1.1.9-2 2-2zm8 0v2h-2V3h2zm6 0a2 2 0 0 1 2 2h-2V3zM9 3v2H7V3h2zm8 0v2h-2V3h2z" fill-rule="evenodd"/></svg>',visualchars:'<svg width="24" height="24"><path d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5z" fill-rule="evenodd"/></svg>',warning:'<svg width="24" height="24"><path d="M19.8 18.3c.2.5.3.9 0 1.2-.1.3-.5.5-1 .5H5.2c-.5 0-.9-.2-1-.5-.3-.3-.2-.7 0-1.2L11 4.7l.5-.5.5-.2c.2 0 .3 0 .5.2.2 0 .3.3.5.5l6.8 13.6zM12 18c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3zm.7-3l.3-4a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7l.3 4h1.4z" fill-rule="evenodd"/></svg>',"zoom-in":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-1-9a1 1 0 0 1 2 0v6a1 1 0 0 1-2 0V8zm-2 4a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8z" fill-rule="nonzero"/></svg>',"zoom-out":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-3-5a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8z" fill-rule="nonzero"/></svg>'}},zv=function(){var e={},t=function(t,n){e[t]=n},n=function(t){return e[t]?e[t]:{icons:{}}},r=function(t){return Rt(e,t)};return{add:t,get:n,has:r}},Mv=zv(),Nv=el.PluginManager,Av=el.ThemeManager;function Ov(e,t){var r={},i=function(e,t){return e?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):t},o=function(e,r,o,a){var s,l;s=new n.XMLHttpRequest,s.open("POST",t.url),s.withCredentials=t.credentials,s.upload.onprogress=function(e){a(e.loaded/e.total*100)},s.onerror=function(){o("Image upload failed due to a XHR Transport error. Code: "+s.status)},s.onload=function(){var e;s.status<200||s.status>=300?o("HTTP Error: "+s.status):(e=JSON.parse(s.responseText),e&&"string"===typeof e.location?r(i(t.basePath,e.location)):o("Invalid JSON: "+s.responseText))},l=new n.FormData,l.append("file",e.blob(),e.filename()),s.send(l)},a=function(){return new er((function(e){e([])}))},s=function(e,t){return{url:t,blobInfo:e,status:!0}},l=function(e,t){return{url:"",blobInfo:e,status:!1,error:t}},u=function(e,t){Vr.each(r[e],(function(e){e(t)})),delete r[e]},c=function(t,n,r){return e.markPending(t.blobUri()),new er((function(i){var o,a,c=function(){};try{var d=function(){o&&(o.close(),a=c)},f=function(n){d(),e.markUploaded(t.blobUri(),n),u(t.blobUri(),s(t,n)),i(s(t,n))},h=function(n){d(),e.removeFailed(t.blobUri()),u(t.blobUri(),l(t,n)),i(l(t,n))};a=function(e){e<0||e>100||(o||(o=r()),o.progressBar.value(e))},n(t,f,h,a)}catch(p){i(l(t,p.message))}}))},d=function(e){return e===o},f=function(e){var t=e.blobUri();return new er((function(e){r[t]=r[t]||[],r[t].push(e)}))},h=function(n,r){return n=Vr.grep(n,(function(t){return!e.isUploaded(t.blobUri())})),er.all(Vr.map(n,(function(n){return e.isPending(n.blobUri())?f(n):c(n,t.handler,r)})))},p=function(e,n){return!t.url&&d(t.handler)?a():h(e,n)};return!1===S(t.handler)&&(t.handler=o),{upload:p}}var Pv=function(e){return new er((function(t,r){var i=function(){r("Cannot convert "+e+" to Blob. Resource might not exist or is inaccessible.")};try{var o=new n.XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){200===this.status?t(this.response):i()},o.onerror=i,o.send()}catch(a){i()}}))},_v=function(e){var t,n,r=decodeURIComponent(e).split(",");return n=/data:([^;]+)/.exec(r[0]),n&&(t=n[1]),{type:t,data:r[1]}},Dv=function(e){return new er((function(t){var r,i,o,a=_v(e);try{r=n.atob(a.data)}catch(GR){return void t(new n.Blob([]))}for(i=new Uint8Array(r.length),o=0;o<i.length;o++)i[o]=r.charCodeAt(o);t(new n.Blob([i],{type:a.type}))}))},Lv=function(e){return 0===e.indexOf("blob:")?Pv(e):0===e.indexOf("data:")?Dv(e):null},Bv=function(e){return new er((function(t){var r=new n.FileReader;r.onloadend=function(){t(r.result)},r.readAsDataURL(e)}))},Rv={uriToBlob:Lv,blobToDataUri:Bv,parseDataUri:_v},Iv=0,Hv=function(e){return(e||"blobid")+Iv++},Vv=function(e,t,n,r){var i,o;if(0===t.src.indexOf("blob:"))return o=e.getByUri(t.src),void(o?n({image:t,blobInfo:o}):Rv.uriToBlob(t.src).then((function(r){Rv.blobToDataUri(r).then((function(a){i=Rv.parseDataUri(a).data,o=e.create(Hv(),r,i),e.add(o),n({image:t,blobInfo:o})}))}),(function(e){r(e)})));i=Rv.parseDataUri(t.src).data,o=e.findFirst((function(e){return e.base64()===i})),o?n({image:t,blobInfo:o}):Rv.uriToBlob(t.src).then((function(r){o=e.create(Hv(),r,i),e.add(o),n({image:t,blobInfo:o})}),(function(e){r(e)}))},$v=function(e){return e?Z(e.getElementsByTagName("img")):[]};function Fv(e,t){var n={},r=function(r,i){var a;i||(i=o(!0)),a=R($v(r),(function(t){var n=t.src;return!!gr.fileApi&&(!t.hasAttribute("data-mce-bogus")&&(!t.hasAttribute("data-mce-placeholder")&&(!(!n||n===gr.transparentSrc)&&(0===n.indexOf("blob:")?!e.isUploaded(n)&&i(t):0===n.indexOf("data:")&&i(t)))))}));var s=_(a,(function(e){if(n[e.src])return new er((function(t){n[e.src].then((function(n){if("string"===typeof n)return n;t({image:e,blobInfo:n.blobInfo})}))}));var r=new er((function(n,r){Vv(t,e,n,r)})).then((function(e){return delete n[e.image.src],e})).catch((function(t){return delete n[e.src],t}));return n[e.src]=r,r}));return er.all(s)};return{findAll:r}}var jv=0,Uv=function(){var e=function(){return Math.round(4294967295*Math.random()).toString(36)},t=(new Date).getTime();return"s"+t.toString(36)+e()+e()+e()},qv=function(e){return e+jv+++Uv()},Wv={uuid:qv},Gv=function(){var e=[],t=function(e){var t={"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png"};return t[e.toLowerCase()]||"dat"},r=function(e,t,n,r){if(b(e)){var o=e;return i({id:o,name:r,blob:t,base64:n})}if(w(e))return i(e);throw new Error("Unknown input type")},i=function(e){var r,i;if(!e.blob||!e.base64)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");return r=e.id||Wv.uuid("blobid"),i=e.name||r,{id:o(r),name:o(i),filename:o(i+"."+t(e.blob.type)),blob:o(e.blob),base64:o(e.base64),blobUri:o(e.blobUri||n.URL.createObjectURL(e.blob)),uri:o(e.uri)}},a=function(t){s(t.id())||e.push(t)},s=function(e){return l((function(t){return t.id()===e}))},l=function(t){return R(e,t)[0]},u=function(e){return l((function(t){return t.blobUri()===e}))},c=function(t){e=R(e,(function(e){return e.blobUri()!==t||(n.URL.revokeObjectURL(e.blobUri()),!1)}))},d=function(){D(e,(function(e){n.URL.revokeObjectURL(e.blobUri())})),e=[]};return{create:r,add:a,get:s,getByUri:u,findFirst:l,removeByUri:c,destroy:d}};function Xv(){var e=1,t=2,n={},r=function(e,t){return{status:e,resultUri:t}},i=function(e){return e in n},o=function(e){var t=n[e];return t?t.resultUri:null},a=function(t){return!!i(t)&&n[t].status===e},s=function(e){return!!i(e)&&n[e].status===t},l=function(t){n[t]=r(e,null)},u=function(e,i){n[e]=r(t,i)},c=function(e){delete n[e]},d=function(){n={}};return{hasBlobUri:i,getResultUri:o,isPending:a,isUploaded:s,markPending:l,markUploaded:u,removeFailed:c,destroy:d}}var Yv,Kv=function(e){var t,n,r=Gv(),i=Xv(),o=[],a=function(t){return function(n){return e.selection?t(n):[]}},s=function(){return"?"+(new Date).getTime()},l=function(e,t,n){var r=0;do{r=e.indexOf(t,r),-1!==r&&(e=e.substring(0,r)+n+e.substr(r+t.length),r+=n.length-t.length+1)}while(-1!==r);return e},u=function(e,t,n){return e=l(e,'src="'+t+'"','src="'+n+'"'),e=l(e,'data-mce-src="'+t+'"','data-mce-src="'+n+'"'),e},c=function(t,n){D(e.undoManager.data,(function(e){"fragmented"===e.type?e.fragments=_(e.fragments,(function(e){return u(e,t,n)})):e.content=u(e.content,t,n)}))},d=function(){return e.notificationManager.open({text:e.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0})},f=function(t,n){r.removeByUri(t.src),c(t.src,n),e.$(t).attr({src:Sp.shouldReuseFileName(e)?n+s():n,"data-mce-src":e.convertURL(n,"src")})},h=function(n){return t||(t=Ov(i,{url:Sp.getImageUploadUrl(e),basePath:Sp.getImageUploadBasePath(e),credentials:Sp.getImagesUploadCredentials(e),handler:Sp.getImagesUploadHandler(e)})),v().then(a((function(r){var i;return i=_(r,(function(e){return e.blobInfo})),t.upload(i,d).then(a((function(t){var i=_(t,(function(t,n){var i=r[n].image;return t.status&&Sp.shouldReplaceBlobUris(e)?f(i,t.url):t.error&&Tv.uploadError(e,t.error),{element:i,status:t.status}}));return n&&n(i),i})))})))},p=function(t){if(Sp.isAutomaticUploadsEnabled(e))return h(t)},m=function(t){if(!1===U(o,(function(e){return e(t)})))return!1;if(0===t.getAttribute("src").indexOf("data:")){var n=Sp.getImagesDataImgFilter(e);return n(t)}return!0},g=function(e){o.push(e)},v=function(){return n||(n=Fv(i,r)),n.findAll(e.getBody(),m).then(a((function(t){return t=R(t,(function(t){return"string"!==typeof t||(Tv.displayError(e,t),!1)})),D(t,(function(e){c(e.image.src,e.blobInfo.blobUri()),e.image.src=e.blobInfo.blobUri(),e.image.removeAttribute("data-mce-src")})),t})))},y=function(){r.destroy(),i.destroy(),n=t=null},b=function(t){return t.replace(/src="(blob:[^"]+)"/g,(function(t,n){var o=i.getResultUri(n);if(o)return'src="'+o+'"';var a=r.getByUri(n);if(a||(a=H(e.editorManager.get(),(function(e,t){return e||t.editorUpload&&t.editorUpload.blobCache.getByUri(n)}),null)),a){var s=a.blob();return'src="data:'+s.type+";base64,"+a.base64()+'"'}return t}))};return e.on("SetContent",(function(){Sp.isAutomaticUploadsEnabled(e)?p():v()})),e.on("RawSaveContent",(function(e){e.content=b(e.content)})),e.on("GetContent",(function(e){e.source_view||"raw"===e.format||(e.content=b(e.content))})),e.on("PostRender",(function(){e.parser.addNodeFilter("img",(function(e){D(e,(function(e){var t=e.attr("src");if(!r.getByUri(t)){var n=i.getResultUri(t);n&&e.attr("src",n)}}))}))})),{blobCache:r,addFilter:g,uploadImages:h,uploadImagesAuto:p,scanForImages:v,destroy:y}},Zv=function(e){return e.slice(0,-1)},Qv=function(e,t,n){return pn(t,e)?Zv(bn(e,(function(e){return n(e)||cn(e,t)}))):[]},Jv=function(e,t){return Qv(e,t,o(!1))},ey=function(e,t){return[e].concat(Jv(e,t))},ty={parentsUntil:Qv,parents:Jv,parentsAndSelf:ey},ny=function(e,t){return e.hasOwnProperty(t.nodeName)},ry=function(e,t){return!!we.isText(t)||!!we.isElement(t)&&(!ny(e,t)&&!Bf.isBookmarkNode(t))},iy=function(e,t,n){return P(ty.parents(Ct.fromDom(n),Ct.fromDom(t)),(function(t){return ny(e,t.dom())}))},oy=function(e,t){if(we.isText(t)){if(0===t.nodeValue.length)return!0;if(/^\s+$/.test(t.nodeValue)&&(!t.nextSibling||ny(e,t.nextSibling)))return!0}return!1},ay=function(e){var t,n,r,i,o,a,s,l,u,c,d=e.dom,f=e.selection,h=e.schema,p=h.getBlockElements(),m=f.getStart(),g=e.getBody(),v=Sp.getForcedRootBlock(e);if(m&&we.isElement(m)&&v&&(c=g.nodeName.toLowerCase(),h.isValidChild(c,v.toLowerCase())&&!iy(p,g,m))){t=f.getRng(),n=t.startContainer,r=t.startOffset,i=t.endContainer,o=t.endOffset,u=Qm.hasFocus(e),m=g.firstChild;while(m)if(ry(p,m)){if(oy(p,m)){s=m,m=m.nextSibling,d.remove(s);continue}a||(a=d.create(v,Sp.getForcedRootBlockAttrs(e)),m.parentNode.insertBefore(a,m),l=!0),s=m,m=m.nextSibling,a.appendChild(s)}else a=null,m=m.nextSibling;l&&u&&(t.setStart(n,r),t.setEnd(i,o),f.setRng(t),e.nodeChanged())}},sy=function(e){Sp.getForcedRootBlock(e)&&e.on("NodeChange",s(ay,e))},ly={setup:sy},uy=function(e,t){return e&&t&&e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset},cy={isEq:uy},dy=function(e){var t=e.startContainer,n=e.startOffset;return we.isText(t)?0===n?g.some(Ct.fromDom(t)):g.none():g.from(t.childNodes[n]).map(Ct.fromDom)},fy=function(e){var t=e.endContainer,n=e.endOffset;return we.isText(t)?n===t.data.length?g.some(Ct.fromDom(t)):g.none():g.from(t.childNodes[n-1]).map(Ct.fromDom)},hy=function(e){return kn(e).fold(o([e]),(function(t){return[e].concat(hy(t))}))},py=function(e){return zn(e).fold(o([e]),(function(t){return"br"===Tt(t)?wn(t).map((function(t){return[e].concat(py(t))})).getOr([]):[e].concat(py(t))}))},my=function(e,t){return Du(dy(t),fy(t),(function(t,n){var r=V(hy(e),s(cn,t)),i=V(py(e),s(cn,n));return r.isSome()&&i.isSome()})).getOr(!1)},gy=function(e,t,n,r){var i=n,o=new Ja(n,i),a=e.schema.getNonEmptyElements();do{if(3===n.nodeType&&0!==Vr.trim(n.nodeValue).length)return void(r?t.setStart(n,0):t.setEnd(n,n.nodeValue.length));if(a[n.nodeName]&&!/^(TD|TH)$/.test(n.nodeName))return void(r?t.setStartBefore(n):"BR"===n.nodeName?t.setEndBefore(n):t.setEndAfter(n))}while(n=r?o.next():o.prev());"BODY"===i.nodeName&&(r?t.setStart(i,0):t.setEnd(i,i.childNodes.length))},vy=function(e){var t=e.selection.getSel();return t&&t.rangeCount>0},yy=function(){function e(e){var t;this.lastPath=[],this.editor=e;var n=this;"onselectionchange"in e.getDoc()||e.on("NodeChange click mouseup keyup focus",(function(n){var r,i;r=e.selection.getRng(),i={startContainer:r.startContainer,startOffset:r.startOffset,endContainer:r.endContainer,endOffset:r.endOffset},"nodechange"!==n.type&&cy.isEq(i,t)||e.fire("SelectionChange"),t=i})),e.on("contextmenu",(function(){e.fire("SelectionChange")})),e.on("SelectionChange",(function(){var t=e.selection.getStart(!0);!t||!gr.range&&e.selection.isCollapsed()||vy(e)&&!n.isSameElementPath(t)&&e.dom.isChildOf(t,e.getBody())&&e.nodeChanged({selectionChange:!0})})),e.on("mouseup",(function(t){!t.isDefaultPrevented()&&vy(e)&&("IMG"===e.selection.getNode().nodeName?sr.setEditorTimeout(e,(function(){e.nodeChanged()})):e.nodeChanged())}))}return e.prototype.nodeChanged=function(e){var t,n,r,i=this.editor.selection;this.editor.initialized&&i&&!this.editor.settings.disable_nodechange&&!this.editor.readonly&&(r=this.editor.getBody(),t=i.getStart(!0)||r,t.ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(t,r)||(t=r),n=[],this.editor.dom.getParent(t,(function(e){if(e===r)return!0;n.push(e)})),e=e||{},e.element=t,e.parents=n,this.editor.fire("NodeChange",e))},e.prototype.isSameElementPath=function(e){var t,n;if(n=this.editor.$(e).parentsUntil(this.editor.getBody()).add(e),n.length===this.lastPath.length){for(t=n.length;t>=0;t--)if(n[t]!==this.lastPath[t])break;if(-1===t)return this.lastPath=n,!0}return this.lastPath=n,!1},e}(),by={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,END:35,HOME:36,modifierPressed:function(e){return e.shiftKey||e.ctrlKey||e.altKey||this.metaKeyPressed(e)},metaKeyPressed:function(e){return gr.mac?e.metaKey:e.ctrlKey&&!e.altKey}},wy=function(e){return function(t){return e===t}},Cy=wy(" "),xy=function(e){return/^[\r\n\t ]$/.test(e)},Ey=function(e){return!xy(e)&&!Cy(e)},Sy=function(e,t,n){return g.from(n.container()).filter(we.isText).exists((function(r){var i=e?0:-1;return t(r.data.charAt(n.offset()+i))}))},Ty=s(Sy,!0,xy),ky=s(Sy,!1,xy),zy=function(e){var t=e.container();return we.isText(t)&&0===t.data.length},My=function(e,t){return function(n){return g.from(zd(e?0:-1,n)).filter(t).isSome()}},Ny=function(e){return"IMG"===e.nodeName&&"block"===Wt(Ct.fromDom(e),"display")},Ay=function(e){return we.isContentEditableFalse(e)&&!we.isBogusAll(e)},Oy=My(!0,Ny),Py=My(!1,Ny),_y=My(!0,we.isTable),Dy=My(!1,we.isTable),Ly=My(!0,Ay),By=My(!1,Ay),Ry=function(e){var t=function(t){return _(t,(function(t){return t=Eu(t),t.node=e,t}))};if(we.isElement(e))return t(e.getClientRects());if(we.isText(e)){var n=e.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,e.data.length),t(n.getClientRects())}},Iy=function(e){return H(e,(function(e,t){return e.concat(Ry(t))}),[])};(function(e){e[e["Up"]=-1]="Up",e[e["Down"]=1]="Down"})(Yv||(Yv={}));var Hy=function(e,t,n,r){while(r=Sd(r,e,Cu,t))if(n(r))return},Vy=function(e,t,n,r,i,o){var a,s,l=0,u=[],c=function(r){var o,a,c;for(c=Iy([r]),-1===e&&(c=c.reverse()),o=0;o<c.length;o++)if(a=c[o],!n(a,s)){if(u.length>0&&t(a,zr.last(u))&&l++,a.line=l,i(a))return!0;u.push(a)}};return s=zr.last(o.getClientRects()),s?(a=o.getNode(),c(a),Hy(e,r,c,a),u):u},$y=function(e,t){return t.line>e},Fy=function(e,t){return t.line===e},jy=s(Vy,Yv.Up,zu,Mu),Uy=s(Vy,Yv.Down,Mu,zu),qy=function(e,t,n,r){var i,o,a,s,l,u,c=Qd(t),d=[],f=0,h=function(e){return zr.last(e.getClientRects())};1===e?(i=c.next,o=Mu,a=zu,s=uc.after(r)):(i=c.prev,o=zu,a=Mu,s=uc.before(r)),u=h(s);do{if(s.isVisible()&&(l=h(s),!a(l,u))){if(d.length>0&&o(l,zr.last(d))&&f++,l=Eu(l),l.position=s,l.line=f,n(l))return d;d.push(l)}}while(s=i(s));return d},Wy=function(e){return function(t){return $y(e,t)}},Gy=function(e){return function(t){return Fy(e,t)}},Xy=we.isContentEditableFalse,Yy=Sd,Ky=function(e,t){return Math.abs(e.left-t)},Zy=function(e,t){return Math.abs(e.right-t)},Qy=function(e,t){return e>=t.left&&e<=t.right},Jy=function(e,t){return zr.reduce(e,(function(e,n){var r,i;return r=Math.min(Ky(e,t),Zy(e,t)),i=Math.min(Ky(n,t),Zy(n,t)),Qy(t,n)?n:Qy(t,e)?e:i===r&&Xy(n.node)||i<r?n:e}))},eb=function(e,t,n,r){while(r=Yy(r,e,Cu,t))if(n(r))return},tb=function(e,t){var n=[],r=function(e,r){var i;return i=R(Iy([r]),(function(n){return!e(n,t)})),n=n.concat(i),0===i.length};return n.push(t),eb(Yv.Up,e,s(r,zu),t.node),eb(Yv.Down,e,s(r,Mu),t.node),n},nb=function(e){return R(Z(e.getElementsByTagName("*")),pd)},rb=function(e,t){return{node:e.node,before:Ky(e,t)<Zy(e,t)}},ib=function(e,t,n){var r,i=Iy(nb(e)),o=R(i,(function(e){return n>=e.top&&n<=e.bottom}));return r=Jy(o,t),r&&(r=Jy(tb(e,r),t),r&&pd(r.node))?rb(r,t):null},ob=function(e,t,n){if(n.collapsed)return!1;if(gr.browser.isIE()&&n.startOffset===n.endOffset-1&&n.startContainer===n.endContainer){var r=n.startContainer.childNodes[n.startOffset];if(we.isElement(r))return P(r.getClientRects(),(function(n){return Nu(n,e,t)}))}return P(n.getClientRects(),(function(n){return Nu(n,e,t)}))},ab={isXYWithinRange:ob},sb=function(e){var t,n,r,i;return i=e.getBoundingClientRect(),t=e.ownerDocument,n=t.documentElement,r=t.defaultView,{top:i.top+r.pageYOffset-n.clientTop,left:i.left+r.pageXOffset-n.clientLeft}},lb=function(e){return e.inline?sb(e.getBody()):{left:0,top:0}},ub=function(e){var t=e.getBody();return e.inline?{left:t.scrollLeft,top:t.scrollTop}:{left:0,top:0}},cb=function(e){var t=e.getBody(),n=e.getDoc().documentElement,r={left:t.scrollLeft,top:t.scrollTop},i={left:t.scrollLeft||n.scrollLeft,top:t.scrollTop||n.scrollTop};return e.inline?r:i},db=function(e,t){if(t.target.ownerDocument!==e.getDoc()){var n=sb(e.getContentAreaContainer()),r=cb(e);return{left:t.pageX-n.left+r.left,top:t.pageY-n.top+r.top}}return{left:t.pageX,top:t.pageY}},fb=function(e,t,n){return{pageX:n.left-e.left+t.left,pageY:n.top-e.top+t.top}},hb=function(e,t){return fb(lb(e),ub(e),db(e,t))},pb={calc:hb},mb=we.isContentEditableFalse,gb=we.isContentEditableTrue,vb=function(e,t){return mb(t)&&t!==e},yb=function(e,t,n){return t!==n&&!e.dom.isChildOf(t,n)&&!mb(t)},bb=function(e){var t=e.cloneNode(!0);return t.removeAttribute("data-mce-selected"),t},wb=function(e,t,n,r){var i=t.cloneNode(!0);e.dom.setStyles(i,{width:n,height:r}),e.dom.setAttrib(i,"data-mce-selected",null);var o=e.dom.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return e.dom.setStyles(o,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:r}),e.dom.setStyles(i,{margin:0,boxSizing:"border-box"}),o.appendChild(i),o},Cb=function(e,t){e.parentNode!==t&&t.appendChild(e)},xb=function(e,t,n,r,i,o){var a=0,s=0;e.style.left=t.pageX+"px",e.style.top=t.pageY+"px",t.pageX+n>i&&(a=t.pageX+n-i),t.pageY+r>o&&(s=t.pageY+r-o),e.style.width=n-a+"px",e.style.height=r-s+"px"},Eb=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},Sb=function(e){return 0===e.button},Tb=function(e){return e.element},kb=function(e,t){return{pageX:t.pageX-e.relX,pageY:t.pageY+5}},zb=function(e,t){return function(n){if(Sb(n)){var r=V(t.dom.getParents(n.target),Vu.or(mb,gb)).getOr(null);if(vb(t.getBody(),r)){var i=t.dom.getPos(r),o=t.getBody(),a=t.getDoc().documentElement;e.element=r,e.screenX=n.screenX,e.screenY=n.screenY,e.maxX=(t.inline?o.scrollWidth:a.offsetWidth)-2,e.maxY=(t.inline?o.scrollHeight:a.offsetHeight)-2,e.relX=n.pageX-i.x,e.relY=n.pageY-i.y,e.width=r.offsetWidth,e.height=r.offsetHeight,e.ghost=wb(t,r,e.width,e.height)}}}},Mb=function(e,t){var n=sr.throttle((function(e,n){t._selectionOverrides.hideFakeCaret(),t.selection.placeCaretAt(e,n)}),0);return function(r){var i=Math.max(Math.abs(r.screenX-e.screenX),Math.abs(r.screenY-e.screenY));if(Tb(e)&&!e.dragging&&i>10){var o=t.fire("dragstart",{target:e.element});if(o.isDefaultPrevented())return;e.dragging=!0,t.focus()}if(e.dragging){var a=kb(e,pb.calc(t,r));Cb(e.ghost,t.getBody()),xb(e.ghost,a,e.width,e.height,e.maxX,e.maxY),n(r.clientX,r.clientY)}}},Nb=function(e){var t=e.getSel().getRangeAt(0),n=t.startContainer;return 3===n.nodeType?n.parentNode:n},Ab=function(e,t){return function(n){if(e.dragging&&yb(t,Nb(t.selection),e.element)){var r=bb(e.element),i=t.fire("drop",{targetClone:r,clientX:n.clientX,clientY:n.clientY});i.isDefaultPrevented()||(r=i.targetClone,t.undoManager.transact((function(){Eb(e.element),t.insertContent(t.dom.getOuterHTML(r)),t._selectionOverrides.hideFakeCaret()})))}Pb(e)}},Ob=function(e,t){return function(){e.dragging&&t.fire("dragend"),Pb(e)}},Pb=function(e){e.dragging=!1,e.element=null,Eb(e.ghost)},_b=function(e){var t,r,i,o,a,s,l={};t=Os.DOM,s=n.document,r=zb(l,e),i=Mb(l,e),o=Ab(l,e),a=Ob(l,e),e.on("mousedown",r),e.on("mousemove",i),e.on("mouseup",o),t.bind(s,"mousemove",i),t.bind(s,"mouseup",a),e.on("remove",(function(){t.unbind(s,"mousemove",i),t.unbind(s,"mouseup",a)}))},Db=function(e){e.on("drop",(function(t){var n="undefined"!==typeof t.clientX?e.getDoc().elementFromPoint(t.clientX,t.clientY):null;(mb(n)||mb(e.dom.getContentEditableParent(n)))&&t.preventDefault()}))},Lb=function(e){_b(e),Db(e)},Bb={init:Lb},Rb=we.isContentEditableTrue,Ib=we.isContentEditableFalse,Hb=function(e,t,n,r,i){return t._selectionOverrides.showCaret(e,n,r,i)},Vb=function(e){var t=e.ownerDocument.createRange();return t.selectNode(e),t},$b=function(e,t){var n=e.fire("BeforeObjectSelected",{target:t});return n.isDefaultPrevented()?null:Vb(t)},Fb=function(e,t,n){var r=_d(1,e.getBody(),t),i=uc.fromRangeStart(r),o=i.getNode();if(Ib(o))return Hb(1,e,o,!i.isAtEnd(),!1);var a=i.getNode(!0);if(Ib(a))return Hb(1,e,a,!1,!1);var s=e.dom.getParent(i.getNode(),(function(e){return Ib(e)||Rb(e)}));return Ib(s)?Hb(1,e,s,!1,n):null},jb=function(e,t,n){if(!t||!t.collapsed)return t;var r=Fb(e,t,n);return r||t},Ub=function(e){var t=tl((function(){if(!e.removed&&e.getBody().contains(n.document.activeElement)){var t=e.selection.getRng();if(t.collapsed){var r=jb(e,e.selection.getRng(),!1);e.selection.setRng(r)}}}),0);e.on("focus",(function(){t.throttle()})),e.on("blur",(function(){t.cancel()}))},qb={setup:Ub},Wb=we.isContentEditableTrue,Gb=we.isContentEditableFalse,Xb=function(e,t){var n=e.getBody();while(t&&t!==n){if(Wb(t)||Gb(t))return t;t=t.parentNode}return null},Yb=function(e){var t,n=function(t){return e.dom.isBlock(t)},r=e.getBody(),i=fd(e.getBody(),n,(function(){return Qm.hasFocus(e)})),o="sel-"+e.dom.uniqueId(),a=function(t){return e.dom.hasClass(t,"mce-offscreen-selection")},s=function(){var t=e.dom.get(o);return t?t.getElementsByTagName("*")[0]:t},l=function(t){t&&e.selection.setRng(t)},u=function(){return e.selection.getRng()},c=function(t,n,r,o){var a;return void 0===o&&(o=!0),a=e.fire("ShowCaret",{target:n,direction:t,before:r}),a.isDefaultPrevented()?null:(o&&e.selection.scrollIntoView(n,-1===t),i.show(r,n))},d=function(t){t.hasAttribute("data-mce-caret")&&(ou(t),l(u()),e.selection.scrollIntoView(t[0]))},f=function(){e.on("mouseup",(function(t){var n=u();n.collapsed&&cv.isXYInContentArea(e,t.clientX,t.clientY)&&l(Fb(e,n,!1))})),e.on("click",(function(t){var n;n=Xb(e,t.target),n&&(Gb(n)&&(t.preventDefault(),e.focus()),Wb(n)&&e.dom.isChildOf(n,e.selection.getNode())&&v())})),e.on("blur NewBlock",(function(){v()})),e.on("ResizeWindow FullscreenStateChanged",(function(){return i.reposition()}));var n=function(e){var t=!1;e.on("touchstart",(function(){t=!1})),e.on("touchmove",(function(){t=!0})),e.on("touchend",(function(n){if(!t){var r=Xb(e,n.target);Gb(r)&&(n.preventDefault(),g($b(e,r)))}}),!0)},o=function(e){var t=Qd(e);if(!e.firstChild)return!1;var n=uc.before(e.firstChild),r=t.next(n);return r&&!Ly(r)&&!By(r)},d=function(t,n){var r=e.dom.getParent(t,e.dom.isBlock),i=e.dom.getParent(n,e.dom.isBlock);return r===i},f=function(t,n){var r=e.dom.getParent(t,e.dom.isBlock),i=e.dom.getParent(n,e.dom.isBlock);return!(!r||!e.dom.isChildOf(r,i)||!1!==Gb(Xb(e,r)))||r&&!d(r,i)&&o(r)};n(e),e.on("mousedown",(function(t){var n,i=t.target;if((i===r||"HTML"===i.nodeName||e.dom.isChildOf(i,r))&&!1!==cv.isXYInContentArea(e,t.clientX,t.clientY))if(n=Xb(e,i),n)Gb(n)?(t.preventDefault(),g($b(e,n))):(v(),Wb(n)&&t.shiftKey||ab.isXYWithinRange(t.clientX,t.clientY,e.selection.getRng())||(b(),e.selection.placeCaretAt(t.clientX,t.clientY)));else if(!1===pd(i)){v(),b();var o=ib(r,t.clientX,t.clientY);if(o&&!f(t.target,o.node)){t.preventDefault();var a=c(1,o.node,o.before,!1);e.getBody().focus(),l(a)}}})),e.on("keypress",(function(t){if(!by.modifierPressed(t))switch(t.keyCode){default:Gb(e.selection.getNode())&&t.preventDefault();break}})),e.on("GetSelectionRange",(function(e){var n=e.range;if(t){if(!t.parentNode)return void(t=null);n=n.cloneRange(),n.selectNode(t),e.range=n}})),e.on("SetSelectionRange",(function(e){e.range=m(e.range);var t=g(e.range,e.forward);t&&(e.range=t)}));var h=function(e){return"mcepastebin"===e.id};e.on("AfterSetSelectionRange",(function(e){var t=e.range;p(t)||h(t.startContainer.parentNode)||b(),a(t.startContainer.parentNode)||v()})),e.on("copy",(function(e){var t=e.clipboardData;if(!e.isDefaultPrevented()&&e.clipboardData&&!gr.ie){var n=s();n&&(e.preventDefault(),t.clearData(),t.setData("text/html",n.outerHTML),t.setData("text/plain",n.outerText))}})),Bb.init(e),qb.setup(e)},h=function(e){return Yl(e)||nu(e)||ru(e)},p=function(e){return h(e.startContainer)||h(e.endContainer)},m=function(t){var n=e.schema.getShortEndedElements(),r=e.dom.createRng(),i=t.startContainer,o=t.startOffset,a=t.endContainer,s=t.endOffset;return Rt(n,i.nodeName.toLowerCase())?0===o?r.setStartBefore(i):r.setStartAfter(i):r.setStart(i,o),Rt(n,a.nodeName.toLowerCase())?0===s?r.setEndBefore(a):r.setEndAfter(a):r.setEnd(a,s),r},g=function(n,i){var a,s,l,u,d,f,h,m,g,v,y=e.$,w=e.dom;if(!n)return null;if(n.collapsed){if(!p(n))if(!1===i){if(m=Ld(-1,r,n),pd(m.getNode(!0)))return c(-1,m.getNode(!0),!1,!1);if(pd(m.getNode()))return c(-1,m.getNode(),!m.isAtEnd(),!1)}else{if(m=Ld(1,r,n),pd(m.getNode()))return c(1,m.getNode(),!m.isAtEnd(),!1);if(pd(m.getNode(!0)))return c(1,m.getNode(!0),!1,!1)}return null}if(u=n.startContainer,d=n.startOffset,f=n.endOffset,3===u.nodeType&&0===d&&Gb(u.parentNode)&&(u=u.parentNode,d=w.nodeIndex(u),u=u.parentNode),1!==u.nodeType)return null;if(f===d+1&&u===n.endContainer&&(a=u.childNodes[d]),!Gb(a))return null;if(g=v=a.cloneNode(!0),h=e.fire("ObjectSelected",{target:a,targetClone:g}),h.isDefaultPrevented())return null;s=wl(Ct.fromDom(e.getBody()),"#"+o).fold((function(){return y([])}),(function(e){return y([e.dom()])})),g=h.targetClone,0===s.length&&(s=y('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>').attr("id",o),s.appendTo(e.getBody())),n=e.dom.createRng(),g===v&&gr.ie?(s.empty().append('<p style="font-size: 0" data-mce-bogus="all"> </p>').append(g),n.setStartAfter(s[0].firstChild.firstChild),n.setEndAfter(g)):(s.empty().append(" ").append(g).append(" "),n.setStart(s[0].firstChild,1),n.setEnd(s[0].lastChild,0)),s.css({top:w.getPos(a,e.getBody()).y}),s[0].focus(),l=e.selection.getSel(),l.removeAllRanges(),l.addRange(n);var C=Ct.fromDom(a);return D(ml(Ct.fromDom(e.getBody()),"*[data-mce-selected]"),(function(e){cn(C,e)||qt(e,"data-mce-selected")})),e.dom.getAttrib(a,"data-mce-selected")||a.setAttribute("data-mce-selected","1"),t=a,b(),n},v=function(){t&&(t.removeAttribute("data-mce-selected"),wl(Ct.fromDom(e.getBody()),"#"+o).each(ls),t=null),wl(Ct.fromDom(e.getBody()),"#"+o).each(ls),t=null},y=function(){i.destroy(),t=null},b=function(){i.hide()};return gr.ceFalse&&f(),{showCaret:c,showBlockCaretContainer:d,hideFakeCaret:b,destroy:y}},Kb=0,Zb=1,Qb=2,Jb=function(e,t){var n=e.length+t.length+2,r=new Array(n),i=new Array(n),o=function(e,t,n){return{start:e,end:t,diag:n}},a=function(n,r,i,o,s){var u=l(n,r,i,o);if(null===u||u.start===r&&u.diag===r-o||u.end===n&&u.diag===n-i){var c=n,d=i;while(c<r||d<o)c<r&&d<o&&e[c]===t[d]?(s.push([Kb,e[c]]),++c,++d):r-n>o-i?(s.push([Qb,e[c]]),++c):(s.push([Zb,t[d]]),++d)}else{a(n,u.start,i,u.start-u.diag,s);for(var f=u.start;f<u.end;++f)s.push([Kb,e[f]]);a(u.end,r,u.end-u.diag,o,s)}},s=function(n,r,i,a){var s=n;while(s-r<a&&s<i&&e[s]===t[s-r])++s;return o(n,s,r)},l=function(n,o,a,l){var u=o-n,c=l-a;if(0===u||0===c)return null;var d,f,h,p,m,g=u-c,v=c+u,y=(v%2===0?v:v+1)/2;for(r[1+y]=n,i[1+y]=o+1,d=0;d<=y;++d){for(f=-d;f<=d;f+=2){h=f+y,f===-d||f!==d&&r[h-1]<r[h+1]?r[h]=r[h+1]:r[h]=r[h-1]+1,p=r[h],m=p-n+a-f;while(p<o&&m<l&&e[p]===t[m])r[h]=++p,++m;if(g%2!==0&&g-d<=f&&f<=g+d&&i[h-g]<=r[h])return s(i[h-g],f+n-a,o,l)}for(f=g-d;f<=g+d;f+=2){h=f+y-g,f===g-d||f!==g+d&&i[h+1]<=i[h-1]?i[h]=i[h+1]-1:i[h]=i[h-1],p=i[h]-1,m=p-n+a-f;while(p>=n&&m>=a&&e[p]===t[m])i[h]=p--,m--;if(g%2===0&&-d<=f&&f<=d&&i[h]<=r[h+g])return s(i[h],f+n-a,o,l)}}},u=[];return a(0,e.length,0,t.length,u),u},ew={KEEP:Kb,DELETE:Qb,INSERT:Zb,diff:Jb},tw=function(e){return we.isElement(e)?e.outerHTML:we.isText(e)?Oi.encodeRaw(e.data,!1):we.isComment(e)?"\x3c!--"+e.data+"--\x3e":""},nw=function(e){var t,r,i;i=n.document.createElement("div"),t=n.document.createDocumentFragment(),e&&(i.innerHTML=e);while(r=i.firstChild)t.appendChild(r);return t},rw=function(e,t,n){var r=nw(t);if(e.hasChildNodes()&&n<e.childNodes.length){var i=e.childNodes[n];i.parentNode.insertBefore(r,i)}else e.appendChild(r)},iw=function(e,t){if(e.hasChildNodes()&&t<e.childNodes.length){var n=e.childNodes[t];n.parentNode.removeChild(n)}},ow=function(e,t){var n=0;D(e,(function(e){e[0]===ew.KEEP?n++:e[0]===ew.INSERT?(rw(t,e[1],n),n++):e[0]===ew.DELETE&&iw(t,n)}))},aw=function(e){return R(_(Z(e.childNodes),tw),(function(e){return e.length>0}))},sw=function(e,t){var n=_(Z(t.childNodes),tw);return ow(ew.diff(n,e),t),t},lw={read:aw,write:sw},uw=Ce(g.none()),cw=function(){return uw.get().getOrThunk((function(){var e=n.document.implementation.createHTMLDocument("undo");return uw.set(g.some(e)),e}))},dw=function(e){return-1!==e.indexOf("</iframe>")},fw=function(e){return{type:"fragmented",fragments:e,content:"",bookmark:null,beforeBookmark:null}},hw=function(e){return{type:"complete",fragments:null,content:e,bookmark:null,beforeBookmark:null}},pw=function(e){var t,n,r;return t=lw.read(e.getBody()),r=j(t,(function(t){var n=Fh.trimInternal(e.serializer,t);return n.length>0?[n]:[]})),n=r.join(""),dw(n)?fw(r):hw(n)},mw=function(e,t,n){"fragmented"===t.type?lw.write(t.fragments,e.getBody()):e.setContent(t.content,{format:"raw"}),e.selection.moveToBookmark(n?t.beforeBookmark:t.bookmark)},gw=function(e){return"fragmented"===e.type?e.fragments.join(""):e.content},vw=function(e){var t=Ct.fromTag("body",cw());return Vl(t,gw(e)),D(ml(t,"*[data-mce-bogus]"),us),Hl(t)},yw=function(e,t){return gw(e)===gw(t)},bw=function(e,t){return vw(e)===vw(t)},ww=function(e,t){return!(!e||!t)&&(!!yw(e,t)||bw(e,t))},Cw={createFragmentedLevel:fw,createCompleteLevel:hw,createFromEditor:pw,applyToEditor:mw,isEq:ww},xw=function(e){return 0===e.get()},Ew=function(e,t,n){xw(n)&&(e.typing=t)},Sw=function(e,t){e.typing&&(Ew(e,!1,t),e.add())},Tw=function(e){e.typing&&(e.typing=!1,e.add())},kw=function(e,t,n){xw(t)&&n.set(g.some(jc.getUndoBookmark(e.selection)))},zw=function(e,t,n,r,i,o,a){var s=e.settings,l=Cw.createFromEditor(e);if(o=o||{},o=Vr.extend(o,l),!1===xw(r)||e.removed)return null;var u=t.data[n.get()];if(e.fire("BeforeAddUndo",{level:o,lastLevel:u,originalEvent:a}).isDefaultPrevented())return null;if(u&&Cw.isEq(u,o))return null;if(t.data[n.get()]&&i.get().each((function(e){t.data[n.get()].beforeBookmark=e})),s.custom_undo_redo_levels&&t.data.length>s.custom_undo_redo_levels){for(var c=0;c<t.data.length-1;c++)t.data[c]=t.data[c+1];t.data.length--,n.set(t.data.length)}o.bookmark=jc.getUndoBookmark(e.selection),n.get()<t.data.length-1&&(t.data.length=n.get()+1),t.data.push(o),n.set(t.data.length-1);var d={level:o,lastLevel:u,originalEvent:a};return e.fire("AddUndo",d),n.get()>0&&(e.setDirty(!0),e.fire("change",d)),o},Mw=function(e,t,n){t.data=[],n.set(0),t.typing=!1,e.fire("ClearUndos")},Nw=function(e,t,n,r,i){if(t.transact(r)){var o=t.data[n.get()].bookmark,a=t.data[n.get()-1];Cw.applyToEditor(e,a,!0),t.transact(i)&&(t.data[n.get()-1].beforeBookmark=o)}},Aw=function(e,t,n){var r;return t.get()<n.length-1&&(t.set(t.get()+1),r=n[t.get()],Cw.applyToEditor(e,r,!1),e.setDirty(!0),e.fire("Redo",{level:r})),r},Ow=function(e,t,n,r){var i;return t.typing&&(t.add(),t.typing=!1,Ew(t,!1,n)),r.get()>0&&(r.set(r.get()-1),i=t.data[r.get()],Cw.applyToEditor(e,i,!0),e.setDirty(!0),e.fire("Undo",{level:i})),i},Pw=function(e){e.clear(),e.add()},_w=function(e,t,n){return n.get()>0||t.typing&&t.data[0]&&!Cw.isEq(Cw.createFromEditor(e),t.data[0])},Dw=function(e,t){return t.get()<e.data.length-1&&!e.typing},Lw=function(e,t,n){return Sw(e,t),e.beforeChange(),e.ignore(n),e.add()},Bw=function(e,t){try{e.set(e.get()+1),t()}finally{e.set(e.get()-1)}},Rw=function(e,t,n){var r=Ce(!1),i=function(e){Ew(t,!1,n),t.add({},e)};e.on("init",(function(){t.add()})),e.on("BeforeExecCommand",(function(e){var r=e.command;"Undo"!==r&&"Redo"!==r&&"mceRepaint"!==r&&(Sw(t,n),t.beforeChange())})),e.on("ExecCommand",(function(e){var t=e.command;"Undo"!==t&&"Redo"!==t&&"mceRepaint"!==t&&i(e)})),e.on("ObjectResizeStart cut",(function(){t.beforeChange()})),e.on("SaveContent ObjectResized blur",i),e.on("dragend",i),e.on("keyup",(function(n){var o=n.keyCode;n.isDefaultPrevented()||((o>=33&&o<=36||o>=37&&o<=40||45===o||n.ctrlKey)&&(i(),e.nodeChanged()),46!==o&&8!==o||e.nodeChanged(),r.get()&&t.typing&&!1===Cw.isEq(Cw.createFromEditor(e),t.data[0])&&(!1===e.isDirty()&&(e.setDirty(!0),e.fire("change",{level:t.data[0],lastLevel:null})),e.fire("TypingUndo"),r.set(!1),e.nodeChanged()))})),e.on("keydown",(function(e){var o=e.keyCode;if(!e.isDefaultPrevented())if(o>=33&&o<=36||o>=37&&o<=40||45===o)t.typing&&i(e);else{var a=e.ctrlKey&&!e.altKey||e.metaKey;!(o<16||o>20)||224===o||91===o||t.typing||a||(t.beforeChange(),Ew(t,!0,n),t.add({},e),r.set(!0))}})),e.on("mousedown",(function(e){t.typing&&i(e)}));var o=function(e){return"insertReplacementText"===e.inputType},a=function(e){return"insertText"===e.inputType&&null===e.data};e.on("input",(function(e){e.inputType&&(o(e)||a(e))&&i(e)})),e.on("AddUndo Undo Redo ClearUndos",(function(t){t.isDefaultPrevented()||e.nodeChanged()}))},Iw=function(e){e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo")},Hw=function(e){var t=Ce(g.none()),n=Ce(0),r=Ce(0),i={data:[],typing:!1,beforeChange:function(){kw(e,n,t)},add:function(o,a){return zw(e,i,r,n,t,o,a)},undo:function(){return Ow(e,i,n,r)},redo:function(){return Aw(e,r,i.data)},clear:function(){Mw(e,i,r)},reset:function(){Pw(i)},hasUndo:function(){return _w(e,i,r)},hasRedo:function(){return Dw(i,r)},transact:function(e){return Lw(i,n,e)},ignore:function(e){Bw(n,e)},extra:function(t,n){Nw(e,i,r,t,n)}};return Rw(e,i,n),Iw(e),i},Vw=function(e){var t=[],n=e.dom();while(n)t.push(Ct.fromDom(n)),n=n.lastChild;return t},$w=function(e){var t=ml(e,"br"),n=R(Vw(e).slice(-1),oi);t.length===n.length&&D(n,ls)},Fw=function(e){ss(e),rs(e,Ct.fromHtml('<br data-mce-bogus="1">'))},jw=function(e){return Nt(e)?" "===yh(e):oi(e)},Uw=function(e){return 1===R(Sn(e),jw).length},qw=function(e){zn(e).each((function(t){wn(t).each((function(n){ni(e)&&oi(t)&&ni(n)&&ls(t)}))}))},Ww={removeTrailingBr:$w,fillWithPaddingBr:Fw,isPaddedElement:Uw,trimBlockTrailingBr:qw},Gw=Yf.isEq,Xw=function(e,t,n){var r=e.formatter.get(n);if(r)for(var i=0;i<r.length;i++)if(!1===r[i].inherit&&e.dom.is(t,r[i].selector))return!0;return!1},Yw=function(e,t,n,r){var i=e.dom.getRoot();return t!==i&&(t=e.dom.getParent(t,(function(t){return!!Xw(e,t,n)||(t.parentNode===i||!!Qw(e,t,n,r,!0))})),Qw(e,t,n,r))},Kw=function(e,t,n){return!!Gw(t,n.inline)||(!!Gw(t,n.block)||(n.selector?1===t.nodeType&&e.is(t,n.selector):void 0))},Zw=function(e,t,n,r,i,o){var a,s,l,u=n[r];if(n.onmatch)return n.onmatch(t,n,r);if(u)if("undefined"===typeof u.length){for(a in u)if(u.hasOwnProperty(a)){if(s="attributes"===r?e.getAttrib(t,a):Yf.getStyle(e,t,a),i&&!s&&!n.exact)return;if((!i||n.exact)&&!Gw(s,Yf.normalizeStyleValue(e,Yf.replaceVars(u[a],o),a)))return}}else for(l=0;l<u.length;l++)if("attributes"===r?e.getAttrib(t,u[l]):Yf.getStyle(e,t,u[l]))return n;return n},Qw=function(e,t,n,r,i){var o,a,s,l,u=e.formatter.get(n),c=e.dom;if(u&&t)for(a=0;a<u.length;a++)if(o=u[a],Kw(e.dom,t,o)&&Zw(c,t,o,"attributes",i,r)&&Zw(c,t,o,"styles",i,r)){if(l=o.classes)for(s=0;s<l.length;s++)if(!e.dom.hasClass(t,l[s]))return;return o}},Jw=function(e,t,n,r){var i;return r?Yw(e,r,t,n):(r=e.selection.getNode(),!!Yw(e,r,t,n)||(i=e.selection.getStart(),!(i===r||!Yw(e,i,t,n))))},eC=function(e,t,n){var r,i=[],o={};return r=e.selection.getStart(),e.dom.getParent(r,(function(r){var a,s;for(a=0;a<t.length;a++)s=t[a],!o[s]&&Qw(e,r,s,n)&&(o[s]=!0,i.push(s))}),e.dom.getRoot()),i},tC=function(e,t){var n,r,i,o,a,s=e.formatter.get(t),l=e.dom;if(s)for(n=e.selection.getStart(),r=Yf.getParents(l,n),o=s.length-1;o>=0;o--){if(a=s[o].selector,!a||s[o].defaultBlock)return!0;for(i=r.length-1;i>=0;i--)if(l.is(r[i],a))return!0}return!1},nC={matchNode:Qw,matchName:Kw,match:Jw,matchAll:eC,canApply:tC,matchesUnInheritedFormatSelector:Xw},rC=function(e,t){return e.splitText(t)},iC=function(e){var t=e.startContainer,n=e.startOffset,r=e.endContainer,i=e.endOffset;return t===r&&we.isText(t)?n>0&&n<t.nodeValue.length&&(r=rC(t,n),t=r.previousSibling,i>n?(i-=n,t=r=rC(r,i).previousSibling,i=r.nodeValue.length,n=0):i=0):(we.isText(t)&&n>0&&n<t.nodeValue.length&&(t=rC(t,n),n=0),we.isText(r)&&i>0&&i<r.nodeValue.length&&(r=rC(r,i).previousSibling,i=r.nodeValue.length)),{startContainer:t,startOffset:n,endContainer:r,endOffset:i}},oC=function(e){return-1!==" \f\n\r\t\v".indexOf(e)},aC=function(e,t,n){var r=H(e,(function(r,i){return oC(i)||" "===i?r.previousCharIsSpace||""===r.str&&t||r.str.length===e.length-1&&n?{previousCharIsSpace:!1,str:r.str+" "}:{previousCharIsSpace:!0,str:r.str+" "}:{previousCharIsSpace:!1,str:r.str+i}}),{previousCharIsSpace:!1,str:""});return r.str},sC=function(e,t,n){if(0!==n){var r=e.data.slice(t,t+n),i=t+n>=e.data.length,o=0===t;e.replaceData(t,n,aC(r,o,i))}},lC=function(e,t){var n=e.data.slice(t),r=n.length-it(n).length;return sC(e,t,r)},uC=function(e,t){var n=e.data.slice(0,t),r=n.length-ot(n).length;return sC(e,t-r,r)},cC=function(e,t,n){var r=ot(e.data).length;return e.appendData(t.data),ls(Ct.fromDom(t)),n&&lC(e,r),e},dC=function(e,t,n){return bl(e,t,n).isSome()},fC=function(e,t){var n=Ct.fromDom(e),r=Ct.fromDom(t);return dC(r,"pre,code",s(cn,n))},hC=function(e,t){return we.isText(t)&&/^[ \t\r\n]*$/.test(t.data)&&!1===fC(e,t)},pC=function(e){return we.isElement(e)&&"A"===e.nodeName&&e.hasAttribute("name")},mC=function(e,t){return mu(t)&&!1===hC(e,t)||pC(t)||gC(t)},gC=we.hasAttribute("data-mce-bookmark"),vC=we.hasAttribute("data-mce-bogus"),yC=we.hasAttributeValue("data-mce-bogus","all"),bC=function(e){var t,n=0;if(mC(e,e))return!1;if(t=e.firstChild,!t)return!0;var r=new Ja(t,e);do{if(yC(t))t=r.next(!0);else if(vC(t))t=r.next();else if(we.isBr(t))n++,t=r.next();else{if(mC(e,t))return!1;t=r.next()}}while(t);return n<=1},wC=function(e){return bC(e.dom())},CC={isEmpty:wC},xC=function(e,t){var n=e.container(),r=e.offset();return!1===uc.isTextPosition(e)&&n===t.parentNode&&r>uc.before(t).offset()},EC=function(e,t){return xC(t,e)?uc(t.container(),t.offset()-1):t},SC=function(e){return we.isText(e)?uc(e,0):uc.before(e)},TC=function(e){return we.isText(e)?uc(e,e.data.length):uc.after(e)},kC=function(e){return mu(e.previousSibling)?g.some(TC(e.previousSibling)):e.previousSibling?hf.lastPositionIn(e.previousSibling):g.none()},zC=function(e){return mu(e.nextSibling)?g.some(SC(e.nextSibling)):e.nextSibling?hf.firstPositionIn(e.nextSibling):g.none()},MC=function(e,t){var n=uc.before(t.previousSibling?t.previousSibling:t.parentNode);return hf.prevPosition(e,n).fold((function(){return hf.nextPosition(e,uc.after(t))}),g.some)},NC=function(e,t){return hf.nextPosition(e,uc.after(t)).fold((function(){return hf.prevPosition(e,uc.before(t))}),g.some)},AC=function(e,t){return kC(t).orThunk((function(){return zC(t)})).orThunk((function(){return MC(e,t)}))},OC=function(e,t){return zC(t).orThunk((function(){return kC(t)})).orThunk((function(){return NC(e,t)}))},PC=function(e,t,n){return e?OC(t,n):AC(t,n)},_C=function(e,t,n){return PC(e,t,n).map(s(EC,n))},DC=function(e,t,n){n.fold((function(){e.focus()}),(function(n){e.selection.setRng(n.toRange(),t)}))},LC=function(e){return function(t){return t.dom()===e}},BC=function(e,t){return t&&e.schema.getBlockElements().hasOwnProperty(Tt(t))},RC=function(e){if(CC.isEmpty(e)){var t=Ct.fromHtml('<br data-mce-bogus="1">');return ss(e),rs(e,t),g.some(uc.before(t.dom()))}return g.none()},IC=function(e,t,n){var r=wn(e).filter(Nt),i=Cn(e).filter(Nt);return ls(e),Lu(r,i,t,(function(e,t,r){var i=e.dom(),o=t.dom(),a=i.data.length;return cC(i,o,n),r.container()===o?uc(i,a):r})).orThunk((function(){return n&&(r.each((function(e){return uC(e.dom(),e.dom().length)})),i.each((function(e){return lC(e.dom(),0)}))),t}))},HC=function(e,t){return Rt(e.schema.getTextInlineElements(),Tt(t))},VC=function(e,t,n,r){void 0===r&&(r=!0);var i=_C(t,e.getBody(),n.dom()),o=vl(n,s(BC,e),LC(e.getBody())),a=IC(n,i,HC(e,n));e.dom.isEmpty(e.getBody())?(e.setContent(""),e.selection.setCursorLocation()):o.bind(RC).fold((function(){r&&DC(e,t,a)}),(function(n){r&&DC(e,t,g.some(n))}))},$C={deleteElement:VC},FC=Ul.ZWSP,jC="_mce_caret",UC=function(e,t){return e.importNode(t,!0)},qC=function(e){var t=[];while(e){if(3===e.nodeType&&e.nodeValue!==FC||e.childNodes.length>1)return[];1===e.nodeType&&t.push(e),e=e.firstChild}return t},WC=function(e){return qC(e).length>0},GC=function(e){if(e){var t=new Ja(e,e);for(e=t.current();e;e=t.next())if(3===e.nodeType)return e}return null},XC=function(e){var t=Ct.fromTag("span");return Ft(t,{id:jC,"data-mce-bogus":"1","data-mce-type":"format-caret"}),e&&rs(t,Ct.fromText(FC)),t},YC=function(e){var t=GC(e);return t&&t.nodeValue.charAt(0)===FC&&t.deleteData(0,1),t},KC=function(e,t,n){void 0===n&&(n=!0);var r=e.dom,i=e.selection;if(WC(t))$C.deleteElement(e,!1,Ct.fromDom(t),n);else{var o=i.getRng(),a=r.getParent(t,r.isBlock),s=YC(t);o.startContainer===s&&o.startOffset>0&&o.setStart(s,o.startOffset-1),o.endContainer===s&&o.endOffset>0&&o.setEnd(s,o.endOffset-1),r.remove(t,!0),a&&r.isEmpty(a)&&Ww.fillWithPaddingBr(Ct.fromDom(a)),i.setRng(o)}},ZC=function(e,t,n){void 0===n&&(n=!0);var r=e.dom,i=e.selection;if(t)KC(e,t,n);else if(t=Wc(e.getBody(),i.getStart()),!t)while(t=r.get(jC))KC(e,t,!1)},QC=function(e,t,n){var r=e.dom,i=r.getParent(n,s(Yf.isTextBlock,e));i&&r.isEmpty(i)?n.parentNode.replaceChild(t,n):(Ww.removeTrailingBr(Ct.fromDom(n)),r.isEmpty(n)?n.parentNode.replaceChild(t,n):r.insertAfter(t,n))},JC=function(e,t){return e.appendChild(t),t},ex=function(e,t){var n=I(e,(function(e,t){return JC(e,t.cloneNode(!1))}),t);return JC(n,n.ownerDocument.createTextNode(FC))},tx=function(e,t,n){var r,i,o,a,s,l,u,c=e.selection;r=c.getRng(),a=r.startOffset,l=r.startContainer,u=l.nodeValue,i=Wc(e.getBody(),c.getStart()),i&&(o=GC(i));var d=/[^\s\u00a0\u00ad\u200b\ufeff]/;u&&a>0&&a<u.length&&d.test(u.charAt(a))&&d.test(u.charAt(a-1))?(s=c.getBookmark(),r.collapse(!0),r=ch.expandRng(e,r,e.formatter.get(t)),r=iC(r),e.formatter.apply(t,n,r),c.moveToBookmark(s)):(i&&o.nodeValue===FC||(i=UC(e.getDoc(),XC(!0).dom()),o=i.firstChild,r.insertNode(i),a=1),e.formatter.apply(t,n,i),c.setCursorLocation(o,a))},nx=function(e,t,n,r){var i,o,a,s,l,u,c,d=e.dom,f=e.selection,h=[],p=f.getRng();i=p.startContainer,o=p.startOffset,l=i,3===i.nodeType&&(o!==i.nodeValue.length&&(s=!0),l=l.parentNode);while(l){if(nC.matchNode(e,l,t,n,r)){u=l;break}l.nextSibling&&(s=!0),h.push(l),l=l.parentNode}if(u)if(s){a=f.getBookmark(),p.collapse(!0);var m=ch.expandRng(e,p,e.formatter.get(t),!0);m=iC(m),e.formatter.remove(t,n,m),f.moveToBookmark(a)}else{c=Wc(e.getBody(),u);var g=XC(!1).dom(),v=ex(h,g);QC(e,g,c||u),KC(e,c,!1),f.setCursorLocation(v,1),d.isEmpty(u)&&d.remove(u)}},rx=function(e,t){var n=e.selection,r=e.getBody();ZC(e,null,!1),8!==t&&46!==t||!n.isCollapsed()||n.getStart().innerHTML!==FC||ZC(e,Wc(r,n.getStart())),37!==t&&39!==t||ZC(e,Wc(r,n.getStart()))},ix=function(e){e.on("mouseup keydown",(function(t){rx(e,t.keyCode)}))},ox=function(e,t){var n=XC(!1),r=ex(t,n.dom());return es(Ct.fromDom(e),n),ls(Ct.fromDom(e)),uc(r,0)},ax=function(e,t){var n=e.schema.getTextInlineElements();return n.hasOwnProperty(Tt(t))&&!qc(t.dom())&&!we.isBogus(t.dom())},sx=function(e){return qc(e.dom())&&WC(e.dom())},lx={},ux=zr.filter,cx=zr.each,dx=function(e,t){var n=lx[e];n||(lx[e]=n=[]),lx[e].push(t)},fx=function(e,t){cx(lx[e],(function(e){e(t)}))};dx("pre",(function(e){var t,n,r=e.selection.getRng(),i=function(e){return t(e.previousSibling)&&-1!==zr.indexOf(n,e.previousSibling)},o=function(e,t){Qa(t).remove(),Qa(e).append("<br><br>").append(t.childNodes)};t=we.matchNodeNames(["pre"]),r.collapsed||(n=e.selection.getSelectedBlocks(),cx(ux(ux(n,t),i),(function(e){o(e.previousSibling,e)})))}));var hx={postProcess:fx},px=Vr.each,mx=function(e){this.compare=function(t,n){if(t.nodeName!==n.nodeName)return!1;var r=function(t){var n={};return px(e.getAttribs(t),(function(r){var i=r.nodeName.toLowerCase();0!==i.indexOf("_")&&"style"!==i&&0!==i.indexOf("data-")&&(n[i]=e.getAttrib(t,i))})),n},i=function(e,t){var n,r;for(r in e)if(e.hasOwnProperty(r)){if(n=t[r],"undefined"===typeof n)return!1;if(e[r]!==n)return!1;delete t[r]}for(r in t)if(t.hasOwnProperty(r))return!1;return!0};return!!i(r(t),r(n))&&(!!i(e.parseStyle(e.getAttrib(t,"style")),e.parseStyle(e.getAttrib(n,"style")))&&(!Bf.isBookmarkNode(t)&&!Bf.isBookmarkNode(n)))}},gx=/^(src|href|style)$/,vx=Vr.each,yx=Yf.isEq,bx=function(e){return/^(TH|TD)$/.test(e.nodeName)},wx=function(e,t,n){return e.isChildOf(t,n)&&t!==n&&!e.isBlock(n)},Cx=function(e,t,n){var r,i,o;return r=t[n?"startContainer":"endContainer"],i=t[n?"startOffset":"endOffset"],we.isElement(r)&&(o=r.childNodes.length-1,!n&&i&&i--,r=r.childNodes[i>o?o:i]),we.isText(r)&&n&&i>=r.nodeValue.length&&(r=new Ja(r,e.getBody()).next()||r),we.isText(r)&&!n&&0===i&&(r=new Ja(r,e.getBody()).prev()||r),r},xx=function(e,t,n,r){var i=e.create(n,r);return t.parentNode.insertBefore(i,t),i.appendChild(t),i},Ex=function(e,t,n,r,i){var o=Ct.fromDom(t),a=Ct.fromDom(e.create(r,i)),s=n?En(o):xn(o);return as(a,s),n?(es(o,a),ns(a,o)):(ts(o,a),rs(a,o)),a.dom()},Sx=function(e,t,n){return!!yx(t,n.inline)||(!!yx(t,n.block)||(n.selector?we.isElement(t)&&e.is(t,n.selector):void 0))},Tx=function(e,t){return t.links&&"A"===e.tagName},kx=function(e,t,n,r){return t=Yf.getNonWhiteSpaceSibling(t,n,r),!t||"BR"===t.nodeName||e.isBlock(t)},zx=function(e,t,n){var r,i=t.parentNode,o=e.dom,a=Sp.getForcedRootBlock(e);n.block&&(a?i===o.getRoot()&&(n.list_block&&yx(t,n.list_block)||vx(Vr.grep(t.childNodes),(function(t){Yf.isValid(e,a,t.nodeName.toLowerCase())?r?r.appendChild(t):(r=xx(o,t,a),o.setAttribs(r,e.settings.forced_root_block_attrs)):r=0}))):o.isBlock(t)&&!o.isBlock(i)&&(kx(o,t,!1)||kx(o,t.firstChild,!0,1)||t.insertBefore(o.create("br"),t.firstChild),kx(o,t,!0)||kx(o,t.lastChild,!1,1)||t.appendChild(o.create("br")))),n.selector&&n.inline&&!yx(n.inline,t)||o.remove(t,1)},Mx=function(e,t,n,r,i){var o,a,s,l=e.dom;if(!Sx(l,r,t)&&!Tx(r,t))return!1;if("all"!==t.remove)for(vx(t.styles,(function(e,o){e=Yf.normalizeStyleValue(l,Yf.replaceVars(e,n),o),"number"===typeof o&&(o=e,i=0),(t.remove_similar||!i||yx(Yf.getStyle(l,i,o),e))&&l.setStyle(r,o,""),s=1})),s&&""===l.getAttrib(r,"style")&&(r.removeAttribute("style"),r.removeAttribute("data-mce-style")),vx(t.attributes,(function(e,o){var a;if(e=Yf.replaceVars(e,n),"number"===typeof o&&(o=e,i=0),t.remove_similar||!i||yx(l.getAttrib(i,o),e)){if("class"===o&&(e=l.getAttrib(r,o),e&&(a="",vx(e.split(/\s+/),(function(e){/mce\-\w+/.test(e)&&(a+=(a?" ":"")+e)})),a)))return void l.setAttrib(r,o,a);"class"===o&&r.removeAttribute("className"),gx.test(o)&&r.removeAttribute("data-mce-"+o),r.removeAttribute(o)}})),vx(t.classes,(function(e){e=Yf.replaceVars(e,n),i&&!l.hasClass(i,e)||l.removeClass(r,e)})),a=l.getAttribs(r),o=0;o<a.length;o++){var u=a[o].nodeName;if(0!==u.indexOf("_")&&0!==u.indexOf("data-"))return!1}return"none"!==t.remove?(zx(e,r,t),!0):void 0},Nx=function(e,t,n,r,i){var o;return vx(Yf.getParents(e.dom,t.parentNode).reverse(),(function(t){var a;o||"_start"===t.id||"_end"===t.id||(a=nC.matchNode(e,t,n,r,i),a&&!1!==a.split&&(o=t))})),o},Ax=function(e,t,n,r,i,o,a,s){var l,u,c,d,f,h,p=e.dom;if(n){for(h=n.parentNode,l=r.parentNode;l&&l!==h;l=l.parentNode){for(u=p.clone(l,!1),f=0;f<t.length;f++)if(Mx(e,t[f],s,u,u)){u=0;break}u&&(c&&u.appendChild(c),d||(d=u),c=u)}!o||a.mixed&&p.isBlock(n)||(r=p.split(n,r)),c&&(i.parentNode.insertBefore(c,i),d.appendChild(i))}return r},Ox=function(e,t,n,r,i){var o,a,s=e.formatter.get(t),l=s[0],u=!0,c=e.dom,d=e.selection,f=function(r){var o=Nx(e,r,t,n,i);return Ax(e,s,o,r,r,!0,l,n)},h=function(e){return Bf.isBookmarkNode(e)&&we.isElement(e)&&("_start"===e.id||"_end"===e.id)},p=function(t){var r,i,o,a,d;if(we.isElement(t)&&c.getContentEditable(t)&&(a=u,u="true"===c.getContentEditable(t),d=!0),r=Vr.grep(t.childNodes),u&&!d)for(i=0,o=s.length;i<o;i++)if(Mx(e,s[i],n,t,t))break;if(l.deep&&r.length){for(i=0,o=r.length;i<o;i++)p(r[i]);d&&(u=a)}},m=function(e){var t=c.get(e?"_start":"_end"),n=t[e?"firstChild":"lastChild"];return h(n)&&(n=n[e?"firstChild":"lastChild"]),we.isText(n)&&0===n.data.length&&(n=e?t.previousSibling||t.nextSibling:t.nextSibling||t.previousSibling),c.remove(t,!0),n},v=function(t){var n,r,i=t.commonAncestorContainer;if(t=ch.expandRng(e,t,s,!0),l.split){if(t=iC(t),n=Cx(e,t,!0),r=Cx(e,t),n!==r){if(/^(TR|TH|TD)$/.test(n.nodeName)&&n.firstChild&&(n="TR"===n.nodeName?n.firstChild.firstChild||n:n.firstChild||n),i&&/^T(HEAD|BODY|FOOT|R)$/.test(i.nodeName)&&bx(r)&&r.firstChild&&(r=r.firstChild||r),wx(c,n,r)){var o=g.from(n.firstChild).getOr(n);return f(Ex(c,o,!0,"span",{id:"_start","data-mce-type":"bookmark"})),void m(!0)}if(wx(c,r,n)){o=g.from(r.lastChild).getOr(r);return f(Ex(c,o,!1,"span",{id:"_end","data-mce-type":"bookmark"})),void m(!1)}n=xx(c,n,"span",{id:"_start","data-mce-type":"bookmark"}),r=xx(c,r,"span",{id:"_end","data-mce-type":"bookmark"}),f(n),f(r),n=m(!0),r=m()}else n=r=f(n);t.startContainer=n.parentNode?n.parentNode:n,t.startOffset=c.nodeIndex(n),t.endContainer=r.parentNode?r.parentNode:r,t.endOffset=c.nodeIndex(r)+1}ph.walk(c,t,(function(t){vx(t,(function(t){p(t),we.isElement(t)&&"underline"===e.dom.getStyle(t,"text-decoration")&&t.parentNode&&"underline"===Yf.getTextDecoration(c,t.parentNode)&&Mx(e,{deep:!1,exact:!0,inline:"span",styles:{textDecoration:"underline"}},null,t)}))}))};if(r)r.nodeType?(a=c.createRng(),a.setStartBefore(r),a.setEndAfter(r),v(a)):v(r);else if("false"!==c.getContentEditable(d.getNode()))d.isCollapsed()&&l.inline&&!c.select("td[data-mce-selected],th[data-mce-selected]").length?nx(e,t,n,i):(o=jc.getPersistentBookmark(e.selection,!0),v(d.getRng()),d.moveToBookmark(o),l.inline&&nC.match(e,t,n,d.getStart())&&Yf.moveStart(c,d,d.getRng()),e.nodeChanged());else{r=d.getNode();for(var y=0,b=s.length;y<b;y++)if(s[y].ceFalseOverride&&Mx(e,s[y],n,r,r))break}},Px={removeFormat:Mx,remove:Ox},_x=Vr.each,Dx=function(e){return e&&1===e.nodeType&&!Bf.isBookmarkNode(e)&&!qc(e)&&!we.isBogus(e)},Lx=function(e,t){var n;for(n=e;n;n=n[t]){if(3===n.nodeType&&0!==n.nodeValue.length)return e;if(1===n.nodeType&&!Bf.isBookmarkNode(n))return n}return e},Bx=function(e,t,n){var r,i,o=new mx(e);if(t&&n&&(t=Lx(t,"previousSibling"),n=Lx(n,"nextSibling"),o.compare(t,n))){for(r=t.nextSibling;r&&r!==n;)i=r,r=r.nextSibling,t.appendChild(i);return e.remove(n),Vr.each(Vr.grep(n.childNodes),(function(e){t.appendChild(e)})),t}return n},Rx=function(e,t,n){_x(e.childNodes,(function(e){Dx(e)&&(t(e)&&n(e),e.hasChildNodes()&&Rx(e,t,n))}))},Ix=function(e,t){return s((function(t,n){return!(!n||!Yf.getStyle(e,n,t))}),t)},Hx=function(e,t,n){return s((function(t,n,r){e.setStyle(r,t,n),""===r.getAttribute("style")&&r.removeAttribute("style"),Vx(e,r)}),t,n)},Vx=function(e,t){"SPAN"===t.nodeName&&0===e.getAttribs(t).length&&e.remove(t,!0)},$x=function(e,t){var n;1===t.nodeType&&t.parentNode&&1===t.parentNode.nodeType&&(n=Yf.getTextDecoration(e,t.parentNode),e.getStyle(t,"color")&&n?e.setStyle(t,"text-decoration",n):e.getStyle(t,"text-decoration")===n&&e.setStyle(t,"text-decoration",null))},Fx=function(e,t,n,r){(t.styles.color||t.styles.textDecoration)&&(Vr.walk(r,s($x,e),"childNodes"),$x(e,r))},jx=function(e,t,n,r){t.styles&&t.styles.backgroundColor&&Rx(r,Ix(e,"fontSize"),Hx(e,"backgroundColor",Yf.replaceVars(t.styles.backgroundColor,n)))},Ux=function(e,t,n,r){"sub"!==t.inline&&"sup"!==t.inline||(Rx(r,Ix(e,"fontSize"),Hx(e,"fontSize","")),e.remove(e.select("sup"===t.inline?"sub":"sup",r),!0))},qx=function(e,t,n,r){r&&!1!==t.merge_siblings&&(r=Bx(e,Yf.getNonWhiteSpaceSibling(r),r),r=Bx(e,r,Yf.getNonWhiteSpaceSibling(r,!0)))},Wx=function(e,t,n){if(t.clear_child_styles){var r=t.links?"*:not(a)":"*";_x(e.select(r,n),(function(n){Dx(n)&&_x(t.styles,(function(t,r){e.setStyle(n,r,"")}))}))}},Gx=function(e,t,n,r){_x(t,(function(t){_x(e.dom.select(t.inline,r),(function(r){Dx(r)&&Px.removeFormat(e,t,n,r,t.exact?r:null)})),Wx(e.dom,t,r)}))},Xx=function(e,t,n,r,i){nC.matchNode(e,i.parentNode,n,r)&&Px.removeFormat(e,t,r,i)||t.merge_with_parents&&e.dom.getParent(i.parentNode,(function(o){if(nC.matchNode(e,o,n,r))return Px.removeFormat(e,t,r,i),!0}))},Yx={mergeWithChildren:Gx,mergeUnderlineAndColor:Fx,mergeBackgroundColorAndFontSize:jx,mergeSubSup:Ux,mergeSiblings:qx,mergeWithParents:Xx},Kx=function(e,t,r,i){var o=n.document.createRange();return o.setStart(e,t),o.setEnd(r,i),o},Zx=function(e){var t=uc.fromRangeStart(e),n=uc.fromRangeEnd(e),r=e.commonAncestorContainer;return hf.fromPosition(!1,r,n).map((function(i){return!kd(t,n,r)&&kd(t,i,r)?Kx(t.container(),t.offset(),i.container(),i.offset()):e})).getOr(e)},Qx=function(e){return e.collapsed?e:Zx(e)},Jx={normalize:Qx},eE=Vr.each,tE=function(e){return e&&1===e.nodeType&&!Bf.isBookmarkNode(e)&&!qc(e)&&!we.isBogus(e)},nE=function(e,t,n,r){var i,o,a=e.formatter.get(t),s=a[0],l=!r&&e.selection.isCollapsed(),u=e.dom,c=e.selection,d=function(e,t){if(t=t||s,e){if(t.onformat&&t.onformat(e,t,n,r),eE(t.styles,(function(t,r){u.setStyle(e,r,Yf.replaceVars(t,n))})),t.styles){var i=u.getAttrib(e,"style");i&&e.setAttribute("data-mce-style",i)}eE(t.attributes,(function(t,r){u.setAttrib(e,r,Yf.replaceVars(t,n))})),eE(t.classes,(function(t){t=Yf.replaceVars(t,n),u.hasClass(e,t)||u.addClass(e,t)}))}},f=function(e,t){var n=!1;return!!s.selector&&(eE(e,(function(e){if(!("collapsed"in e)||e.collapsed===l)return u.is(t,e.selector)&&!qc(t)?(d(t,e),n=!0,!1):void 0})),n)},h=function(r,i,o,l){var u,c,h=[],p=!0;u=s.inline||s.block,c=r.create(u),d(c),ph.walk(r,i,(function(i){var o,m=function(i){var g,v,y,b;if(b=p,g=i.nodeName.toLowerCase(),v=i.parentNode.nodeName.toLowerCase(),1===i.nodeType&&r.getContentEditable(i)&&(b=p,p="true"===r.getContentEditable(i),y=!0),Yf.isEq(g,"br"))return o=0,void(s.block&&r.remove(i));if(s.wrapper&&nC.matchNode(e,i,t,n))o=0;else{if(p&&!y&&s.block&&!s.wrapper&&Yf.isTextBlock(e,g)&&Yf.isValid(e,v,u))return i=r.rename(i,u),d(i),h.push(i),void(o=0);if(s.selector){var w=f(a,i);if(!s.inline||w)return void(o=0)}!p||y||!Yf.isValid(e,u,g)||!Yf.isValid(e,v,u)||!l&&3===i.nodeType&&1===i.nodeValue.length&&65279===i.nodeValue.charCodeAt(0)||qc(i)||s.inline&&r.isBlock(i)?(o=0,eE(Vr.grep(i.childNodes),m),y&&(p=b),o=0):(o||(o=r.clone(c,!1),i.parentNode.insertBefore(o,i),h.push(o)),o.appendChild(i))}};eE(i,m)})),!0===s.links&&eE(h,(function(e){var t=function(e){"A"===e.nodeName&&d(e,s),eE(Vr.grep(e.childNodes),t)};t(e)})),eE(h,(function(i){var o,l=function(e){var t=0;return eE(e.childNodes,(function(e){Yf.isWhiteSpaceNode(e)||Bf.isBookmarkNode(e)||t++})),t},u=function(e){var t=!1;return eE(e.childNodes,(function(e){if(tE(e))return t=e,!1})),t},c=function(e){var t,n;return t=u(e),t&&!Bf.isBookmarkNode(t)&&nC.matchName(r,t,s)&&(n=r.clone(t,!1),d(n),r.replace(n,e,!0),r.remove(t,1)),n||e};o=l(i),!(h.length>1)&&r.isBlock(i)||0!==o?(s.inline||s.wrapper)&&(s.exact||1!==o||(i=c(i)),Yx.mergeWithChildren(e,a,n,i),Yx.mergeWithParents(e,s,t,n,i),Yx.mergeBackgroundColorAndFontSize(r,s,n,i),Yx.mergeSubSup(r,s,n,i),Yx.mergeSiblings(r,s,n,i)):r.remove(i,1)}))};if("false"!==u.getContentEditable(c.getNode())){if(s){if(r)r.nodeType?f(a,r)||(o=u.createRng(),o.setStartBefore(r),o.setEndAfter(r),h(u,ch.expandRng(e,o,a),null,!0)):h(u,r,null,!0);else if(l&&s.inline&&!u.select("td[data-mce-selected],th[data-mce-selected]").length)tx(e,t,n);else{var p=e.selection.getNode();e.settings.forced_root_block||!a[0].defaultBlock||u.getParent(p,u.isBlock)||nE(e,a[0].defaultBlock),e.selection.setRng(Jx.normalize(e.selection.getRng())),i=jc.getPersistentBookmark(e.selection,!0),h(u,ch.expandRng(e,c.getRng(),a)),s.styles&&Yx.mergeUnderlineAndColor(u,s,n,p),c.moveToBookmark(i),Yf.moveStart(u,c,c.getRng()),e.nodeChanged()}hx.postProcess(t,e)}}else{r=c.getNode();for(var m=0,g=a.length;m<g;m++)if(a[m].ceFalseOverride&&u.is(r,a[m].selector))return void d(r,a[m])}},rE={applyFormat:nE},iE=function(e,t){var n=Ce({});e.set({}),t.on("NodeChange",(function(r){oE(t,r.element,n,e.get())}))},oE=function(e,t,n,r){var i=At(n.get()),o={},a={},s=R(Yf.getParents(e.dom,t),(function(e){return 1===e.nodeType&&!e.getAttribute("data-mce-bogus")}));Pt(r,(function(t,n){Vr.each(s,(function(r){return e.formatter.matchNode(r,n,{},t.similar)?(-1===i.indexOf(n)&&(D(t.callbacks,(function(e){e(!0,{node:r,format:n,parents:s})})),o[n]=t.callbacks),a[n]=t.callbacks,!1):!nC.matchesUnInheritedFormatSelector(e,r,n)&&void 0}))}));var l=aE(n.get(),a,t,s);n.set(Q(Q({},o),l))},aE=function(e,t,n,r){return Lt(e,(function(e,i){return!!Rt(t,i)||(D(e,(function(e){e(!1,{node:n,format:i,parents:r})})),!1)})).t},sE=function(e,t,n,r){var i=e.get();D(t.split(","),(function(e){i[e]||(i[e]={similar:r,callbacks:[]}),i[e].callbacks.push(n)})),e.set(i)},lE=function(e,t,n){var r=e.get();D(t.split(","),(function(e){r[e].callbacks=R(r[e].callbacks,(function(e){return e!==n})),0===r[e].callbacks.length&&delete r[e]})),e.set(r)},uE=function(e,t,n,r,i){return null===t.get()&&iE(t,e),sE(t,n,r,i),{unbind:function(){return lE(t,n,r)}}},cE=function(e){var t={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(){return!0},onformat:function(t,n,r){Vr.each(r,(function(n,r){e.setAttrib(t,r,n)}))}},removeformat:[{selector:"b,strong,em,i,font,u,strike,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return Vr.each("p h1 h2 h3 h4 h5 h6 div address pre div dt dd samp".split(/\s/),(function(e){t[e]={block:e,remove:"all"}})),t},dE={get:cE};function fE(e){var t={},n=function(e){return e?t[e]:t},r=function(e){return Rt(t,e)},i=function(e,n){e&&("string"!==typeof e?Vr.each(e,(function(e,t){i(t,e)})):(C(n)||(n=[n]),Vr.each(n,(function(e){"undefined"===typeof e.deep&&(e.deep=!e.selector),"undefined"===typeof e.split&&(e.split=!e.selector||e.inline),"undefined"===typeof e.remove&&e.selector&&!e.inline&&(e.remove="none"),e.selector&&e.inline&&(e.mixed=!0,e.block_expand=!0),"string"===typeof e.classes&&(e.classes=e.classes.split(/\s+/))})),t[e]=n))},o=function(e){return e&&t[e]&&delete t[e],t};return i(dE.get(e.dom)),i(e.settings.formats),{get:n,has:r,register:i,unregister:o}}var hE=Vr.each,pE=Os.DOM,mE=function(e,t){var n,r,i,o=t&&t.schema||Fi({}),a=function(e,t){t.classes.length&&pE.addClass(e,t.classes.join(" ")),pE.setAttribs(e,t.attrs)},s=function(e){var t;return r="string"===typeof e?{name:e,classes:[],attrs:{}}:e,t=pE.create(r.name),a(t,r),t},l=function(e,t){var n="string"!==typeof e?e.nodeName.toLowerCase():e,r=o.getElementRule(n),i=r&&r.parentsRequired;return!(!i||!i.length)&&(t&&-1!==Vr.inArray(i,t)?t:i[0])},u=function(e,t,n){var r,i,o,a=t.length>0&&t[0],c=a&&a.name;if(o=l(e,c),o)c===o?(i=t[0],t=t.slice(1)):i=o;else if(a)i=t[0],t=t.slice(1);else if(!n)return e;return i&&(r=s(i),r.appendChild(e)),n&&(r||(r=pE.create("div"),r.appendChild(e)),Vr.each(n,(function(t){var n=s(t);r.insertBefore(n,e)}))),u(r,t,i&&i.siblings)};return e&&e.length?(r=e[0],n=s(r),i=pE.create("div"),i.appendChild(u(n,e.slice(1),r.siblings)),i):""},gE=function(e,t){return mE(yE(e),t)},vE=function(e){var t,n={classes:[],attrs:{}};return e=n.selector=Vr.trim(e),"*"!==e&&(t=e.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,(function(e,t,r,i,o){switch(t){case"#":n.attrs.id=r;break;case".":n.classes.push(r);break;case":":-1!==Vr.inArray("checked disabled enabled read-only required".split(" "),r)&&(n.attrs[r]=r);break}if("["===i){var a=o.match(/([\w\-]+)(?:\=\"([^\"]+))?/);a&&(n.attrs[a[1]]=a[2])}return""}))),n.name=t||"div",n},yE=function(e){return e&&"string"===typeof e?(e=e.split(/\s*,\s*/)[0],e=e.replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),Vr.map(e.split(/(?:>|\s+(?![^\[\]]+\]))/),(function(e){var t=Vr.map(e.split(/(?:~\+|~|\+)/),vE),n=t.pop();return t.length&&(n.siblings=t),n})).reverse()):[]},bE=function(e,t){var n,r,i,o,a,s,l="";if(s=e.settings.preview_styles,!1===s)return"";"string"!==typeof s&&(s="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow");var u=function(e){return e.replace(/%(\w+)/g,"")};if("string"===typeof t){if(t=e.formatter.get(t),!t)return;t=t[0]}return"preview"in t&&(s=t.preview,!1===s)?"":(n=t.block||t.inline||"span",o=yE(t.selector),o.length?(o[0].name||(o[0].name=n),n=t.selector,r=mE(o,e)):r=mE([n],e),i=pE.select(n,r)[0]||r.firstChild,hE(t.styles,(function(e,t){e=u(e),e&&pE.setStyle(i,t,e)})),hE(t.attributes,(function(e,t){e=u(e),e&&pE.setAttrib(i,t,e)})),hE(t.classes,(function(e){e=u(e),pE.hasClass(i,e)||pE.addClass(i,e)})),e.fire("PreviewFormats"),pE.setStyles(r,{position:"absolute",left:-65535}),e.getBody().appendChild(r),a=pE.getStyle(e.getBody(),"fontSize",!0),a=/px$/.test(a)?parseInt(a,10):0,hE(s.split(" "),(function(t){var n=pE.getStyle(i,t,!0);if(("background-color"!==t||!/transparent|rgba\s*\([^)]+,\s*0\)/.test(n)||(n=pE.getStyle(e.getBody(),t,!0),"#ffffff"!==pE.toHex(n).toLowerCase()))&&("color"!==t||"#000000"!==pE.toHex(n).toLowerCase())){if("font-size"===t&&/em|%$/.test(n)){if(0===a)return;var r=parseFloat(n)/(/%$/.test(n)?100:1);n=r*a+"px"}"border"===t&&n&&(l+="padding:0 2px;"),l+=t+":"+n+";"}})),e.fire("AfterPreviewFormats"),pE.remove(r),l)},wE={getCssText:bE,parseSelector:yE,selectorToHtml:gE},CE=function(e,t,n,r,i){var o=t.get(n);!nC.match(e,n,r,i)||"toggle"in o[0]&&!o[0].toggle?rE.applyFormat(e,n,r,i):Px.remove(e,n,r,i)},xE={toggle:CE},EE=function(e){e.addShortcut("meta+b","","Bold"),e.addShortcut("meta+i","","Italic"),e.addShortcut("meta+u","","Underline");for(var t=1;t<=6;t++)e.addShortcut("access+"+t,"",["FormatBlock",!1,"h"+t]);e.addShortcut("access+7","",["FormatBlock",!1,"p"]),e.addShortcut("access+8","",["FormatBlock",!1,"div"]),e.addShortcut("access+9","",["FormatBlock",!1,"address"])},SE={setup:EE},TE=function(e){var t=fE(e),n=Ce(null);return SE.setup(e),ix(e),{get:t.get,has:t.has,register:t.register,unregister:t.unregister,apply:s(rE.applyFormat,e),remove:s(Px.remove,e),toggle:s(xE.toggle,e,t),match:s(nC.match,e),matchAll:s(nC.matchAll,e),matchNode:s(nC.matchNode,e),canApply:s(nC.canApply,e),formatChanged:s(uE,e,n),getCssText:s(wE.getCssText,e)}},kE=function(e,t,n){e.addAttributeFilter("data-mce-tabindex",(function(e,t){var n,r=e.length;while(r--)n=e[r],n.attr("tabindex",n.attr("data-mce-tabindex")),n.attr(t,null)})),e.addAttributeFilter("src,href,style",(function(e,r){var i,o,a=e.length,s="data-mce-"+r,l=t.url_converter,u=t.url_converter_scope;while(a--)i=e[a],o=i.attr(s),void 0!==o?(i.attr(r,o.length>0?o:null),i.attr(s,null)):(o=i.attr(r),"style"===r?o=n.serializeStyle(n.parseStyle(o),i.name):l&&(o=l.call(u,o,r,i.name)),i.attr(r,o.length>0?o:null))})),e.addAttributeFilter("class",(function(e){var t,n,r=e.length;while(r--)t=e[r],n=t.attr("class"),n&&(n=t.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),t.attr("class",n.length>0?n:null))})),e.addAttributeFilter("data-mce-type",(function(e,t,n){var r,i=e.length;while(i--)if(r=e[i],"bookmark"===r.attr("data-mce-type")&&!n.cleanup){var o=g.from(r.firstChild).exists((function(e){return!Ul.isZwsp(e.value)}));o?r.unwrap():r.remove()}})),e.addNodeFilter("noscript",(function(e){var t,n=e.length;while(n--)t=e[n].firstChild,t&&(t.value=Oi.decode(t.value))})),e.addNodeFilter("script,style",(function(e,n){var r,i,o,a=e.length,s=function(e){return e.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")};while(a--)r=e[a],i=r.firstChild?r.firstChild.value:"","script"===n?(o=r.attr("type"),o&&r.attr("type","mce-no/type"===o?null:o.replace(/^mce\-/,"")),"xhtml"===t.element_format&&i.length>0&&(r.firstChild.value="// <![CDATA[\n"+s(i)+"\n// ]]>")):"xhtml"===t.element_format&&i.length>0&&(r.firstChild.value="\x3c!--\n"+s(i)+"\n--\x3e")})),e.addNodeFilter("#comment",(function(e){var t,n=e.length;while(n--)t=e[n],0===t.value.indexOf("[CDATA[")?(t.name="#cdata",t.type=4,t.value=t.value.replace(/^\[CDATA\[|\]\]$/g,"")):0===t.value.indexOf("mce:protected ")&&(t.name="#text",t.type=3,t.raw=!0,t.value=unescape(t.value).substr(14))})),e.addNodeFilter("xml:namespace,input",(function(e,t){var n,r=e.length;while(r--)n=e[r],7===n.type?n.remove():1===n.type&&("input"!==t||n.attr("type")||n.attr("type","text"))})),e.addAttributeFilter("data-mce-type",(function(t){D(t,(function(t){"format-caret"===t.attr("data-mce-type")&&(t.isEmpty(e.schema.getNonEmptyElements())?t.remove():t.unwrap())}))})),e.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",(function(e,t){var n=e.length;while(n--)e[n].attr(t,null)}))},zE=function(e){var t,n,r=function(e){return e&&"br"===e.name};t=e.lastChild,r(t)&&(n=t.prev,r(n)&&(t.remove(),n.remove()))},ME={register:kE,trimTrailingBr:zE},NE=function(e,t,r){var i,o,a,s=e.dom;return t=t.cloneNode(!0),i=n.document.implementation,i.createHTMLDocument&&(o=i.createHTMLDocument(""),Vr.each("BODY"===t.nodeName?t.childNodes:[t],(function(e){o.body.appendChild(o.importNode(e,!0))})),t="BODY"!==t.nodeName?o.body.firstChild:o.body,a=s.doc,s.doc=o),hg.firePreProcess(e,kg(r,{node:t})),a&&(s.doc=a),t},AE=function(e,t){return e&&e.hasEventListeners("PreProcess")&&!t.no_events},OE=function(e,t,n){return AE(e,n)?NE(e,t,n):t},PE={process:OE},_E=function(e,t){D(t,(function(t){e.attr(t,null)}))},DE=function(e,t,n){e.addNodeFilter("font",(function(e){D(e,(function(e){var r=t.parse(e.attr("style")),i=e.attr("color"),o=e.attr("face"),a=e.attr("size");i&&(r.color=i),o&&(r["font-family"]=o),a&&(r["font-size"]=n[parseInt(e.attr("size"),10)-1]),e.name="span",e.attr("style",t.serialize(r)),_E(e,["color","face","size"])}))}))},LE=function(e,t){e.addNodeFilter("strike",(function(e){D(e,(function(e){var n=t.parse(e.attr("style"));n["text-decoration"]="line-through",e.name="span",e.attr("style",t.serialize(n))}))}))},BE=function(e,t){var n=uo();t.convert_fonts_to_spans&&DE(e,n,Vr.explode(t.font_size_legacy_values)),LE(e,n)},RE=function(e,t){t.inline_styles&&BE(e,t)},IE={register:RE},HE=function(e,t,n,r){var i=e.padd_empty_with_br||t.insert;i&&n[r.name]?r.empty().append(new Ah("br",1)).shortEnded=!0:r.empty().append(new Ah("#text",3)).value=" "},VE=function(e){return $E(e,"#text")&&" "===e.firstChild.value},$E=function(e,t){return e&&e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.name===t},FE=function(e,t){var n=e.getElementRule(t.name);return n&&n.paddEmpty},jE=function(e,t,n,r){return r.isEmpty(t,n,(function(t){return FE(e,t)}))},UE=function(e,t){return e&&(t[e.name]||"br"===e.name)},qE=function(e,t){var n=e.schema;t.remove_trailing_brs&&e.addNodeFilter("br",(function(e,r,i){var o,a,s,l,u,c,d,f,h=e.length,p=Vr.extend({},n.getBlockElements()),m=n.getNonEmptyElements(),g=n.getNonEmptyElements();for(p.body=1,o=0;o<h;o++)if(a=e[o],s=a.parent,p[a.parent.name]&&a===s.lastChild){u=a.prev;while(u){if(c=u.name,"span"!==c||"bookmark"!==u.attr("data-mce-type")){if("br"!==c)break;if("br"===c){a=null;break}}u=u.prev}a&&(a.remove(),jE(n,m,g,s)&&(d=n.getElementRule(s.name),d&&(d.removeEmpty?s.remove():d.paddEmpty&&HE(t,i,p,s))))}else{l=a;while(s&&s.firstChild===l&&s.lastChild===l){if(l=s,p[s.name])break;s=s.parent}l===s&&!0!==t.padd_empty_with_br&&(f=new Ah("#text",3),f.value=" ",a.replace(f))}})),e.addAttributeFilter("href",(function(e){var n,r=e.length,i=function(e){var t=e.split(" ").filter((function(e){return e.length>0}));return t.concat(["noopener"]).sort().join(" ")},o=function(e){var t=e?Vr.trim(e):"";return/\b(noopener)\b/g.test(t)?t:i(t)};if(!t.allow_unsafe_link_target)while(r--)n=e[r],"a"===n.name&&"_blank"===n.attr("target")&&n.attr("rel",o(n.attr("rel")))})),t.allow_html_in_named_anchor||e.addAttributeFilter("id,name",(function(e){var t,n,r,i,o=e.length;while(o--)if(i=e[o],"a"===i.name&&i.firstChild&&!i.attr("href")){r=i.parent,t=i.lastChild;do{n=t.prev,r.insert(t,i),t=n}while(t)}})),t.fix_list_elements&&e.addNodeFilter("ul,ol",(function(e){var t,n,r=e.length;while(r--)if(t=e[r],n=t.parent,"ul"===n.name||"ol"===n.name)if(t.prev&&"li"===t.prev.name)t.prev.append(t);else{var i=new Ah("li",1);i.attr("style","list-style-type: none"),t.wrap(i)}})),t.validate&&n.getValidClasses()&&e.addAttributeFilter("class",(function(e){var t,r,i,o,a,s,l,u=e.length,c=n.getValidClasses();while(u--){for(t=e[u],r=t.attr("class").split(" "),a="",i=0;i<r.length;i++)o=r[i],l=!1,s=c["*"],s&&s[o]&&(l=!0),s=c[t.name],!l&&s&&s[o]&&(l=!0),l&&(a&&(a+=" "),a+=o);a.length||(a=null),t.attr("class",a)}}))},WE=Vr.makeMap,GE=Vr.each,XE=Vr.explode,YE=Vr.extend,KE=function(e,t){void 0===t&&(t=Fi());var n={},r=[],i={},o={};e=e||{},e.validate=!("validate"in e)||e.validate,e.root_name=e.root_name||"body";var a=function(e){var n,r,i,o,a,l,u,c,d,f,h,p,m,g,v,y;for(p=WE("tr,td,th,tbody,thead,tfoot,table"),f=t.getNonEmptyElements(),h=t.getWhiteSpaceElements(),m=t.getTextBlockElements(),g=t.getSpecialElements(),n=0;n<e.length;n++)if(r=e[n],r.parent&&!r.fixed)if(m[r.name]&&"li"===r.parent.name){v=r.next;while(v){if(!m[v.name])break;v.name="li",v.fixed=!0,r.parent.insert(v,r.parent),v=v.next}r.unwrap(r)}else{for(o=[r],i=r.parent;i&&!t.isValidChild(i.name,r.name)&&!p[i.name];i=i.parent)o.push(i);if(i&&o.length>1){for(o.reverse(),a=l=s(o[0].clone()),d=0;d<o.length-1;d++){for(t.isValidChild(l.name,o[d].name)?(u=s(o[d].clone()),l.append(u)):u=l,c=o[d].firstChild;c&&c!==o[d+1];)y=c.next,u.append(c),c=y;l=u}jE(t,f,h,a)?i.insert(r,o[0],!0):(i.insert(a,o[0],!0),i.insert(r,a)),i=o[0],(jE(t,f,h,i)||$E(i,"br"))&&i.empty().remove()}else if(r.parent){if("li"===r.name){if(v=r.prev,v&&("ul"===v.name||"ul"===v.name)){v.append(r);continue}if(v=r.next,v&&("ul"===v.name||"ul"===v.name)){v.insert(r,v.firstChild,!0);continue}r.wrap(s(new Ah("ul",1)));continue}t.isValidChild(r.parent.name,"div")&&t.isValidChild("div",r.name)?r.wrap(s(new Ah("div",1))):g[r.name]?r.empty().remove():r.unwrap()}}},s=function(e){var t,a,s;a=e.name,a in n&&(s=i[a],s?s.push(e):i[a]=[e]),t=r.length;while(t--)a=r[t].name,a in e.attributes.map&&(s=o[a],s?s.push(e):o[a]=[e]);return e},l=function(e,t){GE(XE(e),(function(e){var r=n[e];r||(n[e]=r=[]),r.push(t)}))},u=function(){var e=[];for(var t in n)n.hasOwnProperty(t)&&e.push({name:t,callbacks:n[t]});return e},c=function(e,t){GE(XE(e),(function(e){var n;for(n=0;n<r.length;n++)if(r[n].name===e)return void r[n].callbacks.push(t);r.push({name:e,callbacks:[t]})}))},d=function(){return[].concat(r)},f=function(s,l){var u,c,d,f,h,p,m,g,v,y,b,w=[],C=function(e){return!1===e?"":!0===e?"p":e};l=l||{},i={},o={},v=YE(WE("script,style,head,html,body,title,meta,param"),t.getBlockElements());var x=t.getNonEmptyElements(),E=t.children,S=e.validate,T="forced_root_block"in l?l.forced_root_block:e.forced_root_block,k=C(T),z=t.getWhiteSpaceElements(),M=/^[ \t\r\n]+/,N=/[ \t\r\n]+$/,A=/[ \t\r\n]+/g,O=/^[ \t\r\n]+$/;y=z.hasOwnProperty(l.context)||z.hasOwnProperty(e.root_name);var P=function(){var n,r,i=B.firstChild,o=function(e){e&&(i=e.firstChild,i&&3===i.type&&(i.value=i.value.replace(M,"")),i=e.lastChild,i&&3===i.type&&(i.value=i.value.replace(N,"")))};if(t.isValidChild(B.name,k.toLowerCase())){while(i)n=i.next,3===i.type||1===i.type&&"p"!==i.name&&!v[i.name]&&!i.attr("data-mce-type")?(r||(r=_(k,1),r.attr(e.forced_root_block_attrs),B.insert(r,i)),r.append(i)):(o(r),r=null),i=n;o(r)}},_=function(e,t){var r,o=new Ah(e,t);return e in n&&(r=i[e],r?r.push(o):i[e]=[o]),o},D=function(e){var n,r,i,o,a=t.getBlockElements();for(n=e.prev;n&&3===n.type;){if(i=n.value.replace(N,""),i.length>0)return void(n.value=i);if(r=n.next,r){if(3===r.type&&r.value.length){n=n.prev;continue}if(!a[r.name]&&"script"!==r.name&&"style"!==r.name){n=n.prev;continue}}o=n.prev,n.remove(),n=o}},L=function(e){var t,n={};for(t in e)"li"!==t&&"p"!==t&&(n[t]=e[t]);return n};u=Ih({validate:S,allow_script_urls:e.allow_script_urls,allow_conditional_comments:e.allow_conditional_comments,self_closing_elements:L(t.getSelfClosingElements()),cdata:function(e){b.append(_("#cdata",4)).value=e},text:function(e,t){var n;y||(e=e.replace(A," "),UE(b.lastChild,v)&&(e=e.replace(M,""))),0!==e.length&&(n=_("#text",3),n.raw=!!t,b.append(n).value=e)},comment:function(e){b.append(_("#comment",8)).value=e},pi:function(e,t){b.append(_(e,7)).value=t,D(b)},doctype:function(e){var t;t=b.append(_("#doctype",10)),t.value=e,D(b)},start:function(e,n,i){var a,s,l,u,c;if(l=S?t.getElementRule(e):{},l){a=_(l.outputName||e,1),a.attributes=n,a.shortEnded=i,b.append(a),c=E[b.name],c&&E[a.name]&&!c[a.name]&&w.push(a),s=r.length;while(s--)u=r[s].name,u in n.map&&(m=o[u],m?m.push(a):o[u]=[a]);v[e]&&D(a),i||(b=a),!y&&z[e]&&(y=!0)}},end:function(n){var r,i,o,a,s;if(i=S?t.getElementRule(n):{},i){if(v[n]&&!y){if(r=b.firstChild,r&&3===r.type)if(o=r.value.replace(M,""),o.length>0)r.value=o,r=r.next;else{a=r.next,r.remove(),r=a;while(r&&3===r.type)o=r.value,a=r.next,(0===o.length||O.test(o))&&(r.remove(),r=a),r=a}if(r=b.lastChild,r&&3===r.type)if(o=r.value.replace(N,""),o.length>0)r.value=o,r=r.prev;else{a=r.prev,r.remove(),r=a;while(r&&3===r.type)o=r.value,a=r.prev,(0===o.length||O.test(o))&&(r.remove(),r=a),r=a}}if(y&&z[n]&&(y=!1),i.removeEmpty&&jE(t,x,z,b)&&!b.attr("name")&&!b.attr("id"))return s=b.parent,v[b.name]?b.empty().remove():b.unwrap(),void(b=s);i.paddEmpty&&(VE(b)||jE(t,x,z,b))&&HE(e,l,v,b),b=b.parent}}},t);var B=b=new Ah(l.context||e.root_name,11);if(u.parse(s),S&&w.length&&(l.context?l.invalid=!0:a(w)),k&&("body"===B.name||l.isRootContent)&&P(),!l.invalid){for(g in i)if(i.hasOwnProperty(g)){m=n[g],c=i[g],h=c.length;while(h--)c[h].parent||c.splice(h,1);for(d=0,f=m.length;d<f;d++)m[d](c,g,l)}for(d=0,f=r.length;d<f;d++)if(m=r[d],m.name in o){c=o[m.name],h=c.length;while(h--)c[h].parent||c.splice(h,1);for(h=0,p=m.callbacks.length;h<p;h++)m.callbacks[h](c,m.name,l)}}return B},h={schema:t,addAttributeFilter:c,getAttributeFilters:d,addNodeFilter:l,getNodeFilters:u,filterNode:s,parse:f};return qE(h,e),IE.register(h,e),h},ZE=function(e,t,n){-1===Vr.inArray(t,n)&&(e.addAttributeFilter(n,(function(e,t){var n=e.length;while(n--)e[n].attr(t,null)})),t.push(n))},QE=function(e,t,n){if(!t.no_events&&e){var r=hg.firePostProcess(e,kg(t,{content:n}));return r.content}return n},JE=function(e,t,n){var r=Ul.trim(n.getInner?t.innerHTML:e.getOuterHTML(t));return n.selection||fi(Ct.fromDom(t))?r:Vr.trim(r)},eS=function(e,t,n){var r=n.selection?kg({forced_root_block:!1},n):n,i=e.parse(t,r);return ME.trimTrailingBr(i),i},tS=function(e,t,n){var r=Op(e,t);return r.serialize(n)},nS=function(e,t,n,r,i){var o=tS(t,n,r);return QE(e,i,o)},rS=function(e,t){var n,r,i,o=["data-mce-selected"];n=t&&t.dom?t.dom:Os.DOM,r=t&&t.schema?t.schema:Fi(e),e.entity_encoding=e.entity_encoding||"named",e.remove_trailing_brs=!("remove_trailing_brs"in e)||e.remove_trailing_brs,i=KE(e,r),ME.register(i,e,n);var a=function(o,a){var s=kg({format:"html"},a||{}),l=PE.process(t,o,s),u=JE(n,l,s),c=eS(i,u,s);return"tree"===s.format?c:nS(t,e,r,c,s)};return{schema:r,addNodeFilter:i.addNodeFilter,addAttributeFilter:i.addAttributeFilter,serialize:a,addRules:function(e){r.addValidElements(e)},setRules:function(e){r.setValidElements(e)},addTempAttr:s(ZE,i,o),getTempAttrs:function(){return o}}},iS=function(e,t){var n=rS(e,t);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs}};function oS(e){return{getBookmark:s(Bf.getBookmark,e),moveToBookmark:s(Bf.moveToBookmark,e)}}(function(e){e.isBookmarkNode=Bf.isBookmarkNode})(oS||(oS={}));var aS=oS,sS=we.isContentEditableFalse,lS=we.isContentEditableTrue,uS=function(e,t){while(t&&t!==e){if(lS(t)||sS(t))return t;t=t.parentNode}return null},cS=function(e,t){var r,i,o,a,s,l,u,c,d,f,h,p,m,g,v,y,b,w=t.dom,C=Vr.each,x=t.getDoc(),E=n.document,S=Math.abs,T=Math.round,k=t.getBody();a={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var z=function(e){return e&&("IMG"===e.nodeName||t.dom.is(e,"figure.image"))},M=function(e,t){if("longpress"===e.type||0===e.type.indexOf("touch")){var n=e.touches[0];return z(e.target)&&!ab.isXYWithinRange(n.clientX,n.clientY,t)}return z(e.target)&&!ab.isXYWithinRange(e.clientX,e.clientY,t)},N=function(e){var n=e.target;M(e,t.selection.getRng())&&!e.isDefaultPrevented()&&t.selection.select(n)},A=function(e){return t.dom.is(e,"figure.image")?e.querySelector("img"):e},O=function(e){var n=t.settings.object_resizing;return!1!==n&&!gr.iOS&&("string"!==typeof n&&(n="table,img,figure.image,div"),"false"!==e.getAttribute("data-mce-resize")&&(e!==t.getBody()&&an(Ct.fromDom(e),n)))},P=function(e){var n,a,C,x,E;n=e.screenX-l,a=e.screenY-u,g=n*s[2]+f,v=a*s[3]+h,g=g<5?5:g,v=v<5?5:v,C=z(r)&&!1!==t.settings.resize_img_proportional?!by.modifierPressed(e):by.modifierPressed(e)||z(r)&&s[2]*s[3]!==0,C&&(S(n)>S(a)?(v=T(g*p),g=T(v/p)):(g=T(v/p),v=T(g*p))),w.setStyles(A(i),{width:g,height:v}),x=s.startPos.x+n,E=s.startPos.y+a,x=x>0?x:0,E=E>0?E:0,w.setStyles(o,{left:x,top:E,display:"block"}),o.innerHTML=g+" × "+v,s[2]<0&&i.clientWidth<=g&&w.setStyle(i,"left",c+(f-g)),s[3]<0&&i.clientHeight<=v&&w.setStyle(i,"top",d+(h-v)),n=k.scrollWidth-y,a=k.scrollHeight-b,n+a!==0&&w.setStyles(o,{left:x-n,top:E-a}),m||(hg.fireObjectResizeStart(t,r,f,h),m=!0)},_=function(){m=!1;var e=function(e,n){n&&(r.style[e]||!t.schema.isValid(r.nodeName.toLowerCase(),e)?w.setStyle(A(r),e,n):w.setAttrib(A(r),e,n))};e("width",g),e("height",v),w.unbind(x,"mousemove",P),w.unbind(x,"mouseup",_),E!==x&&(w.unbind(E,"mousemove",P),w.unbind(E,"mouseup",_)),w.remove(i),w.remove(o),D(r),hg.fireObjectResized(t,r,g,v),w.setAttrib(r,"style",w.getAttrib(r,"style")),t.nodeChanged()},D=function(e){var n,m,S,T,z;L(),I(),n=w.getPos(e,k),c=n.x,d=n.y,z=e.getBoundingClientRect(),m=z.width||z.right-z.left,S=z.height||z.bottom-z.top,r!==e&&(r=e,g=v=0),T=t.fire("ObjectSelected",{target:e}),O(e)&&!T.isDefaultPrevented()?C(a,(function(e,t){var n,a=function(t){l=t.screenX,u=t.screenY,f=A(r).clientWidth,h=A(r).clientHeight,p=h/f,s=e,e.startPos={x:m*e[0]+c,y:S*e[1]+d},y=k.scrollWidth,b=k.scrollHeight,i=r.cloneNode(!0),w.addClass(i,"mce-clonedresizable"),w.setAttrib(i,"data-mce-bogus","all"),i.contentEditable=!1,i.unSelectabe=!0,w.setStyles(i,{left:c,top:d,margin:0}),i.removeAttribute("data-mce-selected"),k.appendChild(i),w.bind(x,"mousemove",P),w.bind(x,"mouseup",_),E!==x&&(w.bind(E,"mousemove",P),w.bind(E,"mouseup",_)),o=w.add(k,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},f+" × "+h)};n=w.get("mceResizeHandle"+t),n&&w.remove(n),n=w.add(k,"div",{id:"mceResizeHandle"+t,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+t+"-resize; margin:0; padding:0"}),11===gr.ie&&(n.contentEditable=!1),w.bind(n,"mousedown",(function(e){e.stopImmediatePropagation(),e.preventDefault(),a(e)})),e.elm=n,w.setStyles(n,{left:m*e[0]+c-n.offsetWidth/2,top:S*e[1]+d-n.offsetHeight/2})})):L(),r.setAttribute("data-mce-selected","1")},L=function(){var e,t;for(e in I(),r&&r.removeAttribute("data-mce-selected"),a)t=w.get("mceResizeHandle"+e),t&&(w.unbind(t),w.remove(t))},B=function(n){var r,i,o=function(e,t){if(e)do{if(e===t)return!0}while(e=e.parentNode)};m||t.removed||(C(w.select("img[data-mce-selected],hr[data-mce-selected]"),(function(e){e.removeAttribute("data-mce-selected")})),i="mousedown"===n.type?n.target:e.getNode(),i=w.$(i).closest("table,img,figure.image,hr")[0],o(i,k)&&(H(),r=e.getStart(!0),o(r,i)&&o(e.getEnd(!0),i))?D(i):L())},R=function(e){return sS(uS(t.getBody(),e))},I=function(){for(var e in a){var t=a[e];t.elm&&(w.unbind(t.elm),delete t.elm)}},H=function(){try{t.getDoc().execCommand("enableObjectResizing",!1,!1)}catch(e){}};t.on("init",(function(){H(),(gr.browser.isIE()||gr.browser.isEdge())&&(t.on("mousedown click",(function(e){var n=e.target,r=n.nodeName;m||!/^(TABLE|IMG|HR)$/.test(r)||R(n)||(2!==e.button&&t.selection.select(n,"TABLE"===r),"mousedown"===e.type&&t.nodeChanged())})),t.dom.bind(k,"mscontrolselect",(function(e){var n=function(e){sr.setEditorTimeout(t,(function(){t.selection.select(e)}))};if(R(e.target))return e.preventDefault(),void n(e.target);/^(TABLE|IMG|HR)$/.test(e.target.nodeName)&&(e.preventDefault(),"IMG"===e.target.tagName&&n(e.target))})));var e=sr.throttle((function(e){t.composing||B(e)}));t.on("nodechange ResizeEditor ResizeWindow drop FullscreenStateChanged",e),t.on("keyup compositionend",(function(t){r&&"TABLE"===r.nodeName&&e(t)})),t.on("hide blur",L),t.on("contextmenu longpress",N,!0)})),t.on("remove",I);var V=function(){r=i=null};return{isResizable:O,showResizeRect:D,hideResizeRect:L,updateResizeRect:B,destroy:V}};function dS(e,t){var n=function(t,n){if(!T(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);var r=t.dom();It(r)&&(r.style[e]=n+"px")},r=function(n){var r=t(n);if(r<=0||null===r){var i=Wt(n,e);return parseFloat(i)||0}return r},i=r,o=function(e,t){return H(t,(function(t,n){var r=Wt(e,n),i=void 0===r?0:parseInt(r,10);return isNaN(i)?t:t+i}),0)},a=function(e,t,n){var r=o(e,n),i=t>r?t-r:0;return i};return{set:n,get:r,getOuter:i,aggregate:o,max:a}}var fS=dS("height",(function(e){var t=e.dom();return Ht(e)?t.getBoundingClientRect().height:t.offsetHeight})),hS=function(e){return fS.get(e)},pS=function(e,t){var n=e.view(t);return n.fold(o([]),(function(t){var n=e.owner(t),r=pS(e,n);return[t].concat(r)}))},mS=function(e,t){var n=t.owner(e);return pS(t,n)},gS=function(e){var t=e.dom()===n.document?g.none():g.from(e.dom().defaultView.frameElement);return t.map(Ct.fromDom)},vS=function(e){return mn(e)},yS=Object.freeze({view:gS,owner:vS}),bS=function(e){var t=Ct.fromDom(n.document),r=vs(t),i=mS(e,yS),o=ms(e),a=I(i,(function(e,t){var n=ms(t);return{left:e.left+n.left(),top:e.top+n.top()}}),{left:0,top:0});return ds(a.left+o.left()+r.left(),a.top+o.top()+r.top())},wS=function(e){return"textarea"===Tt(e)},CS=function(e,t){var n=Sn(e);if(0===n.length||wS(e))return{element:e,offset:t};if(t<n.length&&!wS(n[t]))return{element:n[t],offset:0};var r=n[n.length-1];return wS(r)?{element:e,offset:t}:"img"===Tt(r)?{element:r,offset:1}:Nt(r)?{element:r,offset:yh(r).length}:{element:r,offset:Sn(r).length}},xS=function(e,t){var n=ps(e),r=hS(e);return{element:e,bottom:n.top()+r,pos:n,cleanup:t}},ES=function(e,t){var n=CS(e,t),r=Ct.fromHtml('<span data-mce-bogus="all">'+Ul.ZWSP+"</span>");return es(n.element,r),xS(r,(function(){return ls(r)}))},SS=function(e){return xS(Ct.fromDom(e),r)},TS=function(e,t,n,r){MS(e,(function(i,o){return kS(e,t,n,r)}),n)},kS=function(e,t,n,r){var i=Ct.fromDom(e.getBody()),o=Ct.fromDom(e.getDoc());Yt(i);var a=vs(o).top(),s=ES(Ct.fromDom(n.startContainer),n.startOffset);t(o,a,s,r),s.cleanup()},zS=function(e,t,n,r){var i=Ct.fromDom(e.getDoc()),o=vs(i).top();n(i,o,t,r)},MS=function(e,t,n){var r=n.startContainer,i=n.startOffset,o=n.endContainer,a=n.endOffset;t(Ct.fromDom(r),Ct.fromDom(o));var s=e.dom.createRng();s.setStart(r,i),s.setEnd(o,a),e.selection.setRng(n)},NS=function(e,t,n){var r=e.fire("ScrollIntoView",{elm:t,alignToTop:n});return r.isDefaultPrevented()},AS=function(e,t,n,r){var i=e.pos;if(n)ys(i.left(),i.top(),r);else{var o=i.top()-t+(e.bottom-i.top());ys(i.left(),o,r)}},OS=function(e,t,n,r,i){r.pos.top()<t?AS(r,n,!1!==i,e):r.bottom>n+t&&AS(r,n,!0===i,e)},PS=function(e,t,n,r){var i=e.dom().defaultView.innerHeight;OS(e,t,i,n,r)},_S=function(e,t,r,i,o){var a=t.dom().defaultView.innerHeight;OS(t,r,a,i,o);var s=bS(i.element),l=Cs(n.window);s.top()<l.y()?bs(i.element,!1!==o):s.top()>l.bottom()&&bs(i.element,!0===o)},DS=function(e,t,n){return TS(e,s(PS),t,n)},LS=function(e,t,n){return zS(e,SS(t),s(PS),n)},BS=function(e,t,n){return TS(e,s(_S,e),t,n)},RS=function(e,t,n){return zS(e,SS(t),s(_S,e),n)},IS=function(e,t,n){if(!NS(e,t,n)){var r=e.inline?LS:RS;r(e,t,n)}},HS=function(e,t,n){var r=e.inline?DS:BS;r(e,t,n)},VS={scrollElementIntoView:IS,scrollRangeIntoView:HS},$S=function(e){return we.isContentEditableTrue(e)||we.isContentEditableFalse(e)},FS=function(e,t,n){while(e&&e!==t){if(n(e))return e;e=e.parentNode}return null},jS=function(e,t,n){var r,i,o;if(r=n.elementFromPoint(e,t),i=n.body.createTextRange(),r&&"HTML"!==r.tagName||(r=n.body),i.moveToElementText(r),o=Vr.toArray(i.getClientRects()),o=o.sort((function(e,n){return e=Math.abs(Math.max(e.top-t,e.bottom-t)),n=Math.abs(Math.max(n.top-t,n.bottom-t)),e-n})),o.length>0){t=(o[0].bottom+o[0].top)/2;try{return i.moveToPoint(e,t),i.collapse(!0),i}catch(a){}}return null},US=function(e,t){var n=e&&e.parentElement?e.parentElement():null;return we.isContentEditableFalse(FS(n,t,$S))?null:e},qS=function(e,t,n){var r,i,o=n;if(o.caretPositionFromPoint)i=o.caretPositionFromPoint(e,t),i&&(r=n.createRange(),r.setStart(i.offsetNode,i.offset),r.collapse(!0));else if(n.caretRangeFromPoint)r=n.caretRangeFromPoint(e,t);else if(o.body.createTextRange){r=o.body.createTextRange();try{r.moveToPoint(e,t),r.collapse(!0)}catch(a){r=jS(e,t,n)}return US(r,n.body)}return r},WS={fromPoint:qS},GS=function(e,t){return _(t,(function(t){var n=e.fire("GetSelectionRange",{range:t});return n.range!==t?n.range:t}))},XS={processRanges:GS},YS=function(e,t){var r=t||n.document,i=r.createDocumentFragment();return D(e,(function(e){i.appendChild(e.dom())})),Ct.fromDom(i)},KS=Kt("element","width","rows"),ZS=Kt("element","cells"),QS=Kt("x","y"),JS=function(e,t){var n=parseInt(jt(e,t),10);return isNaN(n)?1:n},eT=function(e,t,n,r,i){for(var o=JS(i,"rowspan"),a=JS(i,"colspan"),s=e.rows(),l=n;l<n+o;l++){s[l]||(s[l]=ZS(Rl(r),[]));for(var u=t;u<t+a;u++){var c=s[l].cells();c[u]=l===n&&u===t?i:Bl(i)}}},tT=function(e,t,n){var r=e.rows(),i=r[n]?r[n].cells():[];return!!i[t]},nT=function(e,t,n){while(tT(e,t,n))t++;return t},rT=function(e){return H(e,(function(e,t){return t.cells().length>e?t.cells().length:e}),0)},iT=function(e,t){for(var n=e.rows(),r=0;r<n.length;r++)for(var i=n[r].cells(),o=0;o<i.length;o++)if(cn(i[o],t))return g.some(QS(o,r));return g.none()},oT=function(e,t,n,r,i){for(var o=[],a=e.rows(),s=n;s<=i;s++){var l=a[s].cells(),u=t<r?l.slice(t,r+1):l.slice(r,t+1);o.push(ZS(a[s].element(),u))}return o},aT=function(e,t,n){var r=t.x(),i=t.y(),o=n.x(),a=n.y(),s=i<a?oT(e,r,i,o,a):oT(e,r,a,o,i);return KS(e.element(),rT(s),s)},sT=function(e,t){var n=Bl(e.element()),r=Ct.fromTag("tbody");return as(r,t),rs(n,r),n},lT=function(e){return _(e.rows(),(function(e){var t=_(e.cells(),(function(e){var t=Rl(e);return qt(t,"colspan"),qt(t,"rowspan"),t})),n=Bl(e.element());return as(n,t),n}))},uT=function(e){var t=KS(Bl(e),0,[]);return D(ml(e,"tr"),(function(e,n){D(ml(e,"td,th"),(function(r,i){eT(t,nT(t,i,n),n,e,r)}))})),KS(t.element(),rT(t.rows()),t.rows())},cT=function(e){return sT(e,lT(e))},dT=function(e,t,n){return iT(e,t).bind((function(t){return iT(e,n).map((function(n){return aT(e,t,n)}))}))},fT={fromDom:uT,toDom:cT,subsection:dT},hT=function(e){var t=[];if(e)for(var n=0;n<e.rangeCount;n++)t.push(e.getRangeAt(n));return t},pT=function(e){return j(e,(function(e){var t=Au(e);return t?[Ct.fromDom(t)]:[]}))},mT=function(e){return hT(e).length>1},gT={getRanges:hT,getSelectedNodes:pT,hasMultipleRanges:mT},vT=function(e){return R(gT.getSelectedNodes(e),di)},yT=function(e){return ml(e,"td[data-mce-selected],th[data-mce-selected]")},bT=function(e,t){var n=yT(t),r=vT(e);return n.length>0?n:r},wT=function(e){return bT(gT.getRanges(e.selection.getSel()),Ct.fromDom(e.getBody()))},CT={getCellsFromRanges:vT,getCellsFromElement:yT,getCellsFromElementOrRanges:bT,getCellsFromEditor:wT},xT=function(e){return V(e,(function(e){return"ul"===Tt(e)||"ol"===Tt(e)}))},ET=function(e,t){return V(e,(function(e){return"li"===Tt(e)&&my(e,t)})).fold(o([]),(function(t){return xT(e).map((function(e){return[Ct.fromTag("li"),Ct.fromTag(Tt(e))]})).getOr([])}))},ST=function(e,t){var n=H(t,(function(e,t){return rs(t,e),t}),e);return t.length>0?YS([n]):n},TT=function(e){return li(e)?yn(e).filter(si).fold(o([]),(function(t){return[e,t]})):si(e)?[e]:[]},kT=function(e,t){var n=Ct.fromDom(t.commonAncestorContainer),r=ty.parentsAndSelf(n,e),i=R(r,(function(e){return ii(e)||ti(e)})),o=ET(r,t),a=i.concat(o.length?o:TT(n));return _(a,Bl)},zT=function(){return YS([])},MT=function(e,t){return ST(Ct.fromDom(t.cloneContents()),kT(e,t))},NT=function(e,t){return bl(t,"table",s(cn,e))},AT=function(e,t){return NT(e,t[0]).bind((function(e){var n=t[0],r=t[t.length-1],i=fT.fromDom(e);return fT.subsection(i,n,r).map((function(e){return YS([fT.toDom(e)])}))})).getOrThunk(zT)},OT=function(e,t){return t.length>0&&t[0].collapsed?zT():MT(e,t[0])},PT=function(e,t){var n=CT.getCellsFromElementOrRanges(t,e);return n.length>0?AT(e,n):OT(e,t)},_T={read:PT},DT=function(e){return g.from(e.selection.getRng()).map((function(t){var n=e.dom.add(e.getBody(),"div",{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},t.cloneContents()),r=Ul.trim(n.innerText);return e.dom.remove(n),r})).getOr("")},LT=function(e,t){var n,r=e.selection.getRng(),i=e.dom.create("body"),o=e.selection.getSel(),a=XS.processRanges(e,gT.getRanges(o));return n=t.contextual?_T.read(Ct.fromDom(e.getBody()),a).dom():r.cloneContents(),n&&i.appendChild(n),e.selection.serializer.serialize(i,t)},BT=function(e,t){if(void 0===t&&(t={}),t.get=!0,t.format=t.format||"html",t.selection=!0,t=e.fire("BeforeGetContent",t),t.isDefaultPrevented())return e.fire("GetContent",t),t.content;if("text"===t.format)return DT(e);t.getInner=!0;var n=LT(e,t);return"tree"===t.format?n:(t.content=e.selection.isCollapsed()?"":n,e.fire("GetContent",t),t.content)},RT={getContent:BT},IT=function(e,t,n){while(e&&e!==t){if(n(e))return e;e=e.parentNode}return null},HT=function(e,t,n){return null!==IT(e,t,n)},VT=function(e,t,n){return HT(e,t,(function(e){return e.nodeName===n}))},$T=function(e){return e&&"TABLE"===e.nodeName},FT=function(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)},jT=function(e,t){return Yl(e)&&!1===HT(e,t,qc)},UT=function(e,t,n){var r=new Ja(t,e.getParent(t.parentNode,e.isBlock)||e.getRoot());while(t=r[n?"prev":"next"]())if(we.isBr(t))return!0},qT=function(e,t){return e.previousSibling&&e.previousSibling.nodeName===t},WT=function(e,t){while(t&&t!==e){if(we.isContentEditableFalse(t))return!0;t=t.parentNode}return!1},GT=function(e,t,n,r,i){var o,a,s=e.getRoot(),l=e.schema.getNonEmptyElements(),u=e.getParent(i.parentNode,e.isBlock)||s;if(r&&we.isBr(i)&&t&&e.isEmpty(u))return g.some(sc(i.parentNode,e.nodeIndex(i)));var c=new Ja(i,u);while(a=c[r?"prev":"next"]()){if("false"===e.getContentEditableParent(a)||jT(a,s))return g.none();if(we.isText(a)&&a.nodeValue.length>0)return!1===VT(a,s,"A")?g.some(sc(a,r?a.nodeValue.length:0)):g.none();if(e.isBlock(a)||l[a.nodeName.toLowerCase()])return g.none();o=a}return n&&o?g.some(sc(o,0)):g.none()},XT=function(e,t,n,r){var i,o,a,s,l,u,c=e.getRoot(),d=!1;if(i=r[(n?"start":"end")+"Container"],o=r[(n?"start":"end")+"Offset"],u=we.isElement(i)&&o===i.childNodes.length,s=e.schema.getNonEmptyElements(),l=n,Yl(i))return g.none();if(we.isElement(i)&&o>i.childNodes.length-1&&(l=!1),we.isDocument(i)&&(i=c,o=0),i===c){if(l&&(a=i.childNodes[o>0?o-1:0],a)){if(Yl(a))return g.none();if(s[a.nodeName]||$T(a))return g.none()}if(i.hasChildNodes()){if(o=Math.min(!l&&o>0?o-1:o,i.childNodes.length-1),i=i.childNodes[o],o=we.isText(i)&&u?i.data.length:0,!t&&i===c.lastChild&&$T(i))return g.none();if(WT(c,i)||Yl(i))return g.none();if(i.hasChildNodes()&&!1===$T(i)){a=i;var f=new Ja(i,c);do{if(we.isContentEditableFalse(a)||Yl(a)){d=!1;break}if(we.isText(a)&&a.nodeValue.length>0){o=l?0:a.nodeValue.length,i=a,d=!0;break}if(s[a.nodeName.toLowerCase()]&&!FT(a)){o=e.nodeIndex(a),i=a.parentNode,l||o++,d=!0;break}}while(a=l?f.next():f.prev())}}}return t&&(we.isText(i)&&0===o&>(e,u,t,!0,i).each((function(e){i=e.container(),o=e.offset(),d=!0})),we.isElement(i)&&(a=i.childNodes[o],a||(a=i.childNodes[o-1]),!a||!we.isBr(a)||qT(a,"A")||UT(e,a,!1)||UT(e,a,!0)||GT(e,u,t,!0,a).each((function(e){i=e.container(),o=e.offset(),d=!0})))),l&&!t&&we.isText(i)&&o===i.nodeValue.length&>(e,u,t,!1,i).each((function(e){i=e.container(),o=e.offset(),d=!0})),d?g.some(sc(i,o)):g.none()},YT=function(e,t){var n=t.collapsed,r=t.cloneRange(),i=sc.fromRangeStart(t);return XT(e,n,!0,r).each((function(e){n&&sc.isAbove(i,e)||r.setStart(e.container(),e.offset())})),n||XT(e,n,!1,r).each((function(e){r.setEnd(e.container(),e.offset())})),n&&r.collapse(!0),cy.isEq(t,r)?g.none():g.some(r)},KT={normalize:YT},ZT=function(e,t){e.insertData(0,t)},QT=function(e){return 0===e.dom().length?(ls(e),g.none()):g.some(e)},JT=function(e,t){var n=g.from(t.firstChild).map(Ct.fromDom),r=g.from(t.lastChild).map(Ct.fromDom);e.deleteContents(),e.insertNode(t);var i=n.bind(wn).filter(Nt).bind(QT),o=r.bind(Cn).filter(Nt).bind(QT);Du(i,n.filter(Nt),(function(e,t){ZT(t.dom(),e.dom().data),ls(e)})),Du(o,r.filter(Nt),(function(t,n){var r=n.dom().length;n.dom().appendData(t.dom().data),e.setEnd(n.dom(),r),ls(t)})),e.collapse(!1)},ek=function(e,t){return e=e||{format:"html"},e.set=!0,e.selection=!0,e.content=t,e},tk=function(e,t,n){if(n=ek(n,t),n.no_events||(n=e.fire("BeforeSetContent",n),!n.isDefaultPrevented())){var r=e.selection.getRng();JT(r,r.createContextualFragment(n.content)),e.selection.setRng(r),VS.scrollRangeIntoView(e,r),n.no_events||e.fire("SetContent",n)}else e.fire("SetContent",n)},nk={setContent:tk},rk=function(e,t,n,r,i){var o=n?t.startContainer:t.endContainer,a=n?t.startOffset:t.endOffset;return g.from(o).map(Ct.fromDom).map((function(e){return r&&t.collapsed?e:Tn(e,i(e,a)).getOr(e)})).bind((function(e){return Mt(e)?g.some(e):yn(e)})).map((function(e){return e.dom()})).getOr(e)},ik=function(e,t,n){return rk(e,t,!0,n,(function(e,t){return Math.min(Mn(e),t)}))},ok=function(e,t,n){return rk(e,t,!1,n,(function(e,t){return t>0?t-1:t}))},ak=function(e,t){var n=e;while(e&&we.isText(e)&&0===e.length)e=t?e.nextSibling:e.previousSibling;return e||n},sk=function(e,t){var n,r,i,o,a;return t?(r=t.startContainer,i=t.endContainer,o=t.startOffset,a=t.endOffset,n=t.commonAncestorContainer,!t.collapsed&&(r===i&&a-o<2&&r.hasChildNodes()&&(n=r.childNodes[o]),3===r.nodeType&&3===i.nodeType&&(r=r.length===o?ak(r.nextSibling,!0):r.parentNode,i=0===a?ak(i.previousSibling,!1):i.parentNode,r&&r===i))?r:n&&3===n.nodeType?n.parentNode:n):e},lk=function(e,t,n,r){var i,o,a=[];if(o=e.getRoot(),n=e.getParent(n||ik(o,t,t.collapsed),e.isBlock),r=e.getParent(r||ok(o,t,t.collapsed),e.isBlock),n&&n!==o&&a.push(n),n&&r&&n!==r){i=n;var s=new Ja(n,o);while((i=s.next())&&i!==r)e.isBlock(i)&&a.push(i)}return r&&n!==r&&r!==o&&a.push(r),a},uk=function(e,t,n){return g.from(t).map((function(t){var r=e.nodeIndex(t),i=e.createRng();return i.setStart(t.parentNode,r),i.setEnd(t.parentNode,r+1),n&&(gy(e,i,t,!0),gy(e,i,t,!1)),i}))},ck=function(e,t,n){if(e&&e.hasOwnProperty(t)){var r=R(e[t],(function(e){return e!==n}));0===r.length?delete e[t]:e[t]=r}};function dk(e,t){var n,r;return{selectorChangedWithUnbind:function(i,o){return n||(n={},r={},t.on("NodeChange",(function(t){var i=t.element,o=e.getParents(i,null,e.getRoot()),a={};Vr.each(n,(function(t,n){Vr.each(o,(function(i){if(e.is(i,n))return r[n]||(Vr.each(t,(function(e){e(!0,{node:i,selector:n,parents:o})})),r[n]=t),a[n]=t,!1}))})),Vr.each(r,(function(e,t){a[t]||(delete r[t],Vr.each(e,(function(e){e(!1,{node:i,selector:t,parents:o})})))}))}))),n[i]||(n[i]=[]),n[i].push(o),{unbind:function(){ck(n,i,o),ck(r,i,o)}}}}}var fk,hk=function(e){return!!e.select},pk=function(e){return!(!e||!e.ownerDocument)&&pn(Ct.fromDom(e.ownerDocument),Ct.fromDom(e))},mk=function(e){return!!e&&(!!hk(e)||pk(e.startContainer)&&pk(e.endContainer))},gk=function(e,t,n,r){var i,o,a,s,l=dk(e,r).selectorChangedWithUnbind,u=function(t,n){var i=e.createRng();t?(i.setStart(t,n),i.setEnd(t,n),C(i),y(!1)):(gy(e,i,r.getBody(),!0),C(i))},c=function(e){return RT.getContent(r,e)},d=function(e,t){return nk.setContent(r,e,t)},f=function(e){return ik(r.getBody(),w(),e)},h=function(e){return ok(r.getBody(),w(),e)},p=function(e,t){return i.getBookmark(e,t)},m=function(e){return i.moveToBookmark(e)},g=function(t,n){return uk(e,t,n).each(C),t},v=function(){var e=w(),t=b();return!(!e||e.item)&&(e.compareEndPoints?0===e.compareEndPoints("StartToEnd",e):!t||e.collapsed)},y=function(e){var t=w();t.collapse(!!e),C(t)},b=function(){return t.getSelection?t.getSelection():t.document.selection},w=function(){var n,i,o,l,u=function(e,t,n){try{return t.compareBoundaryPoints(e,n)}catch(r){return-1}};if(!t)return null;if(l=t.document,"undefined"===typeof l||null===l)return null;if(void 0!==r.bookmark&&!1===Qm.hasFocus(r)){var c=bm.getRng(r);if(c.isSome())return c.map((function(e){return XS.processRanges(r,[e])[0]})).getOr(l.createRange())}try{(n=b())&&!we.isRestrictedNode(n.anchorNode)&&(i=n.rangeCount>0?n.getRangeAt(0):n.createRange?n.createRange():l.createRange())}catch(d){}return i=XS.processRanges(r,[i])[0],i||(i=l.createRange?l.createRange():l.body.createTextRange()),i.setStart&&9===i.startContainer.nodeType&&i.collapsed&&(o=e.getRoot(),i.setStart(o,0),i.setEnd(o,0)),a&&s&&(0===u(i.START_TO_START,i,a)&&0===u(i.END_TO_END,i,a)?i=s:(a=null,s=null)),i},C=function(e,t){var n,i,o;if(mk(e)){var l=hk(e)?e:null;if(l){s=null;try{l.select()}catch(u){}}else{if(n=b(),o=r.fire("SetSelectionRange",{range:e,forward:t}),e=o.range,n){s=e;try{n.removeAllRanges(),n.addRange(e)}catch(u){}!1===t&&n.extend&&(n.collapse(e.endContainer,e.endOffset),n.extend(e.startContainer,e.startOffset)),a=n.rangeCount>0?n.getRangeAt(0):null}e.collapsed||e.startContainer!==e.endContainer||!n.setBaseAndExtent||gr.ie||e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()&&(i=e.startContainer.childNodes[e.startOffset],i&&"IMG"===i.tagName&&(n.setBaseAndExtent(e.startContainer,e.startOffset,e.endContainer,e.endOffset),n.anchorNode===e.startContainer&&n.focusNode===e.endContainer||n.setBaseAndExtent(i,0,i,1))),r.fire("AfterSetSelectionRange",{range:e,forward:t})}}},x=function(t){return d(e.getOuterHTML(t)),t},E=function(){return sk(r.getBody(),w())},S=function(t,n){return lk(e,w(),t,n)},T=function(){var t,n,r=b();return!(r&&r.anchorNode&&r.focusNode)||(t=e.createRng(),t.setStart(r.anchorNode,r.anchorOffset),t.collapse(!0),n=e.createRng(),n.setStart(r.focusNode,r.focusOffset),n.collapse(!0),t.compareBoundaryPoints(t.START_TO_START,n)<=0)},k=function(){var t=w(),n=b();if(!gT.hasMultipleRanges(n)&&vy(r)){var i=KT.normalize(e,t);return i.each((function(e){C(e,T())})),i.getOr(t)}return t},z=function(e,t){return l(e,t),_},M=function(){var t,n=e.getRoot();while(n&&"BODY"!==n.nodeName){if(n.scrollHeight>n.clientHeight){t=n;break}n=n.parentNode}return t},N=function(e,t){return VS.scrollElementIntoView(r,e,t)},A=function(e,t){return C(WS.fromPoint(e,t,r.getDoc()))},O=function(){var e=w();return e.collapsed?uc.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},P=function(){t=a=s=null,o.destroy()},_={bookmarkManager:null,controlSelection:null,dom:e,win:t,serializer:n,editor:r,collapse:y,setCursorLocation:u,getContent:c,setContent:d,getBookmark:p,moveToBookmark:m,select:g,isCollapsed:v,isForward:T,setNode:x,getNode:E,getSel:b,setRng:C,getRng:w,getStart:f,getEnd:h,getSelectedBlocks:S,normalize:k,selectorChanged:z,selectorChangedWithUnbind:l,getScrollContainer:M,scrollIntoView:N,placeCaretAt:A,getBoundingClientRect:O,destroy:P};return i=aS(_),o=cS(_,r),_.bookmarkManager=i,_.controlSelection=o,_},vk=we.isText,yk=function(e){return vk(e)&&e.data[0]===Ul.ZWSP},bk=function(e){return vk(e)&&e.data[e.data.length-1]===Ul.ZWSP},wk=function(e){return e.ownerDocument.createTextNode(Ul.ZWSP)},Ck=function(e){if(vk(e.previousSibling))return bk(e.previousSibling)||e.previousSibling.appendData(Ul.ZWSP),e.previousSibling;if(vk(e))return yk(e)||e.insertData(0,Ul.ZWSP),e;var t=wk(e);return e.parentNode.insertBefore(t,e),t},xk=function(e){if(vk(e.nextSibling))return yk(e.nextSibling)||e.nextSibling.insertData(0,Ul.ZWSP),e.nextSibling;if(vk(e))return bk(e)||e.appendData(Ul.ZWSP),e;var t=wk(e);return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t},Ek=function(e,t){return e?Ck(t):xk(t)},Sk=s(Ek,!0),Tk=s(Ek,!1),kk=function(e,t){return we.isText(e.container())?Ek(t,e.container()):Ek(t,e.getNode())},zk=function(e,t){var n=t.get();return n&&e.container()===n&&Xl(n)},Mk=function(e,t){return t.fold((function(t){ad.remove(e.get());var n=Sk(t);return e.set(n),g.some(uc(n,n.length-1))}),(function(t){return hf.firstPositionIn(t).map((function(t){if(zk(t,e))return uc(e.get(),1);ad.remove(e.get());var n=kk(t,!0);return e.set(n),uc(n,1)}))}),(function(t){return hf.lastPositionIn(t).map((function(t){if(zk(t,e))return uc(e.get(),e.get().length-1);ad.remove(e.get());var n=kk(t,!1);return e.set(n),uc(n,n.length-1)}))}),(function(t){ad.remove(e.get());var n=Tk(t);return e.set(n),g.some(uc(n,1))}))},Nk={renderCaret:Mk},Ak=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,Ok=function(e){return Ak.test(e)},Pk=function(e,t){return an(Ct.fromDom(t),Sp.getInlineBoundarySelector(e))},_k=function(e){return"rtl"===Os.DOM.getStyle(e,"direction",!0)||Ok(e.textContent)},Dk=function(e,t,n){return R(Os.DOM.getParents(n.container(),"*",t),e)},Lk=function(e,t,n){var r=Dk(e,t,n);return g.from(r[r.length-1])},Bk=function(e,t,n){var r=Td(t,e),i=Td(n,e);return r&&r===i},Rk=function(e){return Ql(e)||Jl(e)},Ik=function(e,t){if(!t)return t;var n=t.container(),r=t.offset();return e?Xl(n)?we.isText(n.nextSibling)?uc(n.nextSibling,0):uc.after(n):Ql(t)?uc(n,r+1):t:Xl(n)?we.isText(n.previousSibling)?uc(n.previousSibling,n.previousSibling.data.length):uc.before(n):Jl(t)?uc(n,r-1):t},Hk=s(Ik,!0),Vk=s(Ik,!1),$k={isInlineTarget:Pk,findRootInline:Lk,isRtl:_k,isAtZwsp:Rk,normalizePosition:Ik,normalizeForwards:Hk,normalizeBackwards:Vk,hasSameParentBlock:Bk},Fk=function(e,t){for(var n=0;n<e.length;n++){var r=e[n].apply(null,t);if(r.isSome())return r}return g.none()},jk={evaluateUntil:Fk},Uk=Hp.generate([{before:["element"]},{start:["element"]},{end:["element"]},{after:["element"]}]),qk=function(e,t){var n=Td(t,e);return n||e},Wk=function(e,t,n){var r=$k.normalizeForwards(n),i=qk(t,r.container());return $k.findRootInline(e,i,r).fold((function(){return hf.nextPosition(i,r).bind(s($k.findRootInline,e,i)).map((function(e){return Uk.before(e)}))}),g.none)},Gk=function(e,t){return null===Wc(e,t)},Xk=function(e,t,n){return $k.findRootInline(e,t,n).filter(s(Gk,t))},Yk=function(e,t,n){var r=$k.normalizeBackwards(n);return Xk(e,t,r).bind((function(e){var t=hf.prevPosition(e,r);return t.isNone()?g.some(Uk.start(e)):g.none()}))},Kk=function(e,t,n){var r=$k.normalizeForwards(n);return Xk(e,t,r).bind((function(e){var t=hf.nextPosition(e,r);return t.isNone()?g.some(Uk.end(e)):g.none()}))},Zk=function(e,t,n){var r=$k.normalizeBackwards(n),i=qk(t,r.container());return $k.findRootInline(e,i,r).fold((function(){return hf.prevPosition(i,r).bind(s($k.findRootInline,e,i)).map((function(e){return Uk.after(e)}))}),g.none)},Qk=function(e){return!1===$k.isRtl(ez(e))},Jk=function(e,t,n){var r=jk.evaluateUntil([Wk,Yk,Kk,Zk],[e,t,n]);return r.filter(Qk)},ez=function(e){return e.fold(a,a,a,a)},tz=function(e){return e.fold(o("before"),o("start"),o("end"),o("after"))},nz=function(e){return e.fold(Uk.before,Uk.before,Uk.after,Uk.after)},rz=function(e){return e.fold(Uk.start,Uk.start,Uk.end,Uk.end)},iz=function(e,t){return tz(e)===tz(t)&&ez(e)===ez(t)},oz=function(e,t,n,r,i,o){return Du($k.findRootInline(t,n,r),$k.findRootInline(t,n,i),(function(t,r){return t!==r&&$k.hasSameParentBlock(n,t,r)?Uk.after(e?t:r):o})).getOr(o)},az=function(e,t){return e.fold(o(!0),(function(e){return!iz(e,t)}))},sz=function(e,t,n,r,i){var o=$k.normalizePosition(e,i),a=hf.fromPosition(e,n,o).map(s($k.normalizePosition,e)),l=a.fold((function(){return r.map(nz)}),(function(i){return Jk(t,n,i).map(s(oz,e,t,n,o,i)).filter(s(az,r))}));return l.filter(Qk)},lz=function(e,t){return e?t.fold(i(g.some,Uk.start),g.none,i(g.some,Uk.after),g.none):t.fold(g.none,i(g.some,Uk.before),g.none,i(g.some,Uk.end))},uz=function(e,t,n,r){var i=$k.normalizePosition(e,r),o=Jk(t,n,i);return Jk(t,n,i).bind(s(lz,e)).orThunk((function(){return sz(e,t,n,o,r)}))},cz={readLocation:Jk,findLocation:uz,prevLocation:s(uz,!1),nextLocation:s(uz,!0),getElement:ez,outside:nz,inside:rz},dz=function(e){return S(e.selection.getSel().modify)},fz=function(e,t,n){var r=e?1:-1;return t.setRng(uc(n.container(),n.offset()+r).toRange()),t.getSel().modify("move",e?"forward":"backward","word"),!0},hz=function(e,t){var n=t.selection.getRng(),r=e?uc.fromRangeEnd(n):uc.fromRangeStart(n);return!!dz(t)&&(e&&Ql(r)?fz(!0,t.selection,r):!(e||!Jl(r))&&fz(!1,t.selection,r))},pz={hasSelectionModifyApi:dz,moveByWord:hz},mz=function(e,t){var n=e.dom.createRng();n.setStart(t.container(),t.offset()),n.setEnd(t.container(),t.offset()),e.selection.setRng(n)},gz=function(e){return!1!==e.settings.inline_boundaries},vz=function(e,t){e?t.setAttribute("data-mce-selected","inline-boundary"):t.removeAttribute("data-mce-selected")},yz=function(e,t,n){return Nk.renderCaret(t,n).map((function(t){return mz(e,t),n}))},bz=function(e,t,n){var r=e.getBody(),i=uc.fromRangeStart(e.selection.getRng()),o=s($k.isInlineTarget,e),a=cz.findLocation(n,o,r,i);return a.bind((function(n){return yz(e,t,n)}))},wz=function(e,t,n){var r=R(t.select('*[data-mce-selected="inline-boundary"]'),e),i=R(n,e);D(W(r,i),s(vz,!1)),D(W(i,r),s(vz,!0))},Cz=function(e,t){if(e.selection.isCollapsed()&&!0!==e.composing&&t.get()){var n=uc.fromRangeStart(e.selection.getRng());uc.isTextPosition(n)&&!1===$k.isAtZwsp(n)&&(mz(e,ad.removeAndReposition(t.get(),n)),t.set(null))}},xz=function(e,t,n,r){if(t.selection.isCollapsed()){var i=R(r,e);D(i,(function(r){var i=uc.fromRangeStart(t.selection.getRng());cz.readLocation(e,t.getBody(),i).bind((function(e){return yz(t,n,e)}))}))}},Ez=function(e,t,n){return function(){return!!gz(e)&&bz(e,t,n).isSome()}},Sz=function(e,t,n){return function(){return!!gz(t)&&pz.moveByWord(e,t)}},Tz=function(e){var t=Ce(null),n=s($k.isInlineTarget,e);return e.on("NodeChange",(function(r){gz(e)&&(wz(n,e.dom,r.parents),Cz(e,t),xz(n,e,t,r.parents))})),t},kz=s(Sz,!0),zz=s(Sz,!1),Mz={move:Ez,moveNextWord:kz,movePrevWord:zz,setupSelectedState:Tz,setCaretPosition:mz};(function(e){e[e["Br"]=0]="Br",e[e["Block"]=1]="Block",e[e["Wrap"]=2]="Wrap",e[e["Eol"]=3]="Eol"})(fk||(fk={}));var Nz,Az,Oz=function(e,t){return e===lc.Backwards?t.reverse():t},Pz=function(e,t,n){return e===lc.Forwards?t.next(n):t.prev(n)},_z=function(e,t,n,r){return we.isBr(r.getNode(t===lc.Forwards))?fk.Br:!1===kd(n,r)?fk.Block:fk.Wrap},Dz=function(e,t,n,r){var i,o=Qd(n),a=r,s=[];while(a){if(i=Pz(t,o,a),!i)break;if(we.isBr(i.getNode(!1)))return t===lc.Forwards?{positions:Oz(t,s).concat([i]),breakType:fk.Br,breakAt:g.some(i)}:{positions:Oz(t,s),breakType:fk.Br,breakAt:g.some(i)};if(i.isVisible()){if(e(a,i)){var l=_z(n,t,a,i);return{positions:Oz(t,s),breakType:l,breakAt:g.some(i)}}s.push(i),a=i}else a=i}return{positions:Oz(t,s),breakType:fk.Eol,breakAt:g.none()}},Lz=function(e,t,n,r){return t(n,r).breakAt.map((function(r){var i=t(n,r).positions;return e===lc.Backwards?i.concat(r):[r].concat(i)})).getOr([])},Bz=function(e,t){return H(e,(function(e,n){return e.fold((function(){return g.some(n)}),(function(r){return Du(Y(r.getClientRects()),Y(n.getClientRects()),(function(e,i){var o=Math.abs(t-e.left),a=Math.abs(t-i.left);return a<=o?n:r})).or(e)}))}),g.none())},Rz=function(e,t){return Y(t.getClientRects()).bind((function(t){return Bz(e,t.left)}))},Iz=s(Dz,sc.isAbove,-1),Hz=s(Dz,sc.isBelow,1),Vz=function(e,t){return Iz(e,t).breakAt.isNone()},$z=function(e,t){return Hz(e,t).breakAt.isNone()},Fz=s(Lz,-1,Iz),jz=s(Lz,1,Hz),Uz=function(e){return hf.firstPositionIn(e).map((function(t){return[t].concat(Hz(e,t).positions)})).getOr([])},qz=function(e){return hf.lastPositionIn(e).map((function(t){return Iz(e,t).positions.concat(t)})).getOr([])},Wz=we.isContentEditableFalse,Gz=Au,Xz=function(e,t,n,r){var i=e===lc.Forwards,o=i?Ly:By;if(!r.collapsed){var a=Gz(r);if(Wz(a))return Hb(e,t,a,e===lc.Backwards,!0)}var s=au(r),l=Ld(e,t.getBody(),r);if(o(l))return $b(t,l.getNode(!i));var u=$k.normalizePosition(i,n(l));if(!u)return s?r:null;if(o(u))return Hb(e,t,u.getNode(!i),i,!0);var c=n(u);return c&&o(c)&&Hd(u,c)?Hb(e,t,c.getNode(!i),i,!0):s?jb(t,u.toRange(),!0):null},Yz=function(e,t,n,r){var i,o,a,s,l,u,c,d,f;if(f=Gz(r),i=Ld(e,t.getBody(),r),o=n(t.getBody(),Wy(1),i),a=R(o,Gy(1)),l=zr.last(i.getClientRects()),(Ly(i)||_y(i))&&(f=i.getNode()),(By(i)||Dy(i))&&(f=i.getNode(!0)),!l)return null;if(u=l.left,s=Jy(a,u),s&&Wz(s.node))return c=Math.abs(u-s.left),d=Math.abs(u-s.right),Hb(e,t,s.node,c<d,!0);if(f){var h=qy(e,t.getBody(),Wy(1),f);if(s=Jy(R(h,Gy(1)),u),s)return jb(t,s.position.toRange(),!0);if(s=zr.last(R(h,Gy(0))),s)return jb(t,s.position.toRange(),!0)}},Kz=function(e){var t=e.dom.create(Sp.getForcedRootBlock(e));return(!gr.ie||gr.ie>=11)&&(t.innerHTML='<br data-mce-bogus="1">'),t},Zz=function(e,t,n){var r,i,o,a=Qd(e.getBody()),l=s(Id,a.next),u=s(Id,a.prev);if(n.collapsed&&e.settings.forced_root_block){if(r=e.dom.getParent(n.startContainer,"PRE"),!r)return;i=1===t?l(uc.fromRangeStart(n)):u(uc.fromRangeStart(n)),i||(o=Kz(e),1===t?e.$(r).after(o):e.$(r).before(o),e.selection.select(o,!0),e.selection.collapse())}},Qz=function(e,t){var n,r=Qd(e.getBody()),i=s(Id,r.next),o=s(Id,r.prev),a=t?lc.Forwards:lc.Backwards,l=t?i:o,u=e.selection.getRng();return n=Xz(a,e,l,u),n||(n=Zz(e,a,u),n||null)},Jz=function(e,t){var n,r=t?1:-1,i=t?Uy:jy,o=e.selection.getRng();return n=Yz(r,e,i,o),n||(n=Zz(e,r,o),n||null)},eM=function(e,t){return function(){var n=Qz(e,t);return!!n&&(e.selection.setRng(n),!0)}},tM=function(e,t){return function(){var n=Jz(e,t);return!!n&&(e.selection.setRng(n),!0)}},nM=function(e){return function(t){return e?By(t):Ly(t)}},rM=function(e,t){return function(){var n=t?uc.fromRangeEnd(e.selection.getRng()):uc.fromRangeStart(e.selection.getRng()),r=t?Hz(e.getBody(),n):Iz(e.getBody(),n),i=t?K(r.positions):Y(r.positions);return i.filter(nM(t)).fold(o(!1),(function(t){return e.selection.setRng(t.toRange()),!0}))}},iM=function(e,t){return{left:e.left-t,top:e.top-t,right:e.right+2*t,bottom:e.bottom+2*t,width:e.width+t,height:e.height+t}},oM=function(e,t){return j(t,(function(t){var n=iM(Eu(t.getBoundingClientRect()),-1);return[{x:n.left,y:e(n),cell:t},{x:n.right,y:e(n),cell:t}]}))},aM=function(e,t,n){return H(e,(function(e,r){return e.fold((function(){return g.some(r)}),(function(e){var i=Math.sqrt(Math.abs(e.x-t)+Math.abs(e.y-n)),o=Math.sqrt(Math.abs(r.x-t)+Math.abs(r.y-n));return g.some(o<i?r:e)}))}),g.none())},sM=function(e,t,n,r,i){var o=ml(Ct.fromDom(n),"td,th,caption").map((function(e){return e.dom()})),a=R(oM(e,o),(function(e){return t(e,i)}));return aM(a,r,i).map((function(e){return e.cell}))},lM=function(e){return e.bottom},uM=function(e){return e.top},cM=function(e,t){return e.y<t},dM=function(e,t){return e.y>t},fM=s(sM,lM,cM),hM=s(sM,uM,dM),pM=function(e,t){return Y(t.getClientRects()).bind((function(t){return fM(e,t.left,t.top)})).bind((function(e){return Rz(qz(e),t)}))},mM=function(e,t){return K(t.getClientRects()).bind((function(t){return hM(e,t.left,t.top)})).bind((function(e){return Rz(Uz(e),t)}))},gM=function(e,t){e.selection.setRng(t),VS.scrollRangeIntoView(e,t)},vM=function(e,t,n){return n.breakAt.map((function(n){return e(t,n).breakAt.isSome()})).getOr(!1)},yM=function(e){return e.breakType===fk.Wrap&&0===e.positions.length},bM=function(e){return e.breakType===fk.Br&&1===e.positions.length},wM=function(e,t,n){var r=e(t,n);return yM(r)||!we.isBr(n.getNode())&&bM(r)?!vM(e,t,r):r.breakAt.isNone()},CM=s(wM,Iz),xM=s(wM,Hz),EM=function(e,t,n){var r=uc.fromRangeStart(t);return hf.positionIn(!e,n).map((function(e){return e.isEqual(r)})).getOr(!1)},SM=function(e,t,n,r){var i=e.selection.getRng(),o=t?1:-1;if(hd()&&EM(t,i,n)){var a=Hb(o,e,n,!t,!0);return gM(e,a),!0}return!1},TM=function(e,t,n){return pM(t,n).orThunk((function(){return Y(n.getClientRects()).bind((function(n){return Bz(Fz(e,uc.before(t)),n.left)}))})).getOr(uc.before(t))},kM=function(e,t,n){return mM(t,n).orThunk((function(){return Y(n.getClientRects()).bind((function(n){return Bz(jz(e,uc.after(t)),n.left)}))})).getOr(uc.after(t))},zM=function(e,t){var n=t.getNode(e);return we.isElement(n)&&"TABLE"===n.nodeName?g.some(n):g.none()},MM=function(e,t,n,r){var i=Sp.getForcedRootBlock(t);i?t.undoManager.transact((function(){var r=Ct.fromTag(i);Ft(r,Sp.getForcedRootBlockAttrs(t)),rs(r,Ct.fromTag("br")),e?ts(Ct.fromDom(n),r):es(Ct.fromDom(n),r);var o=t.dom.createRng();o.setStart(r.dom(),0),o.setEnd(r.dom(),0),gM(t,o)})):gM(t,r.toRange())},NM=function(e,t,n){var r=zM(!!t,n),i=!1===t;r.fold((function(){return gM(e,n.toRange())}),(function(r){return hf.positionIn(i,e.getBody()).filter((function(e){return e.isEqual(n)})).fold((function(){return gM(e,n.toRange())}),(function(i){return MM(t,e,r,n)}))}))},AM=function(e,t,n,r){var i=e.selection.getRng(),o=uc.fromRangeStart(i),a=e.getBody();if(!t&&CM(r,o)){var s=TM(a,n,o);return NM(e,t,s),!0}if(t&&xM(r,o)){s=kM(a,n,o);return NM(e,t,s),!0}return!1},OM=function(e,t){return function(){return g.from(e.dom.getParent(e.selection.getNode(),"td,th")).bind((function(n){return g.from(e.dom.getParent(n,"table")).map((function(n){return SM(e,t,n)}))})).getOr(!1)}},PM=function(e,t){return function(){return g.from(e.dom.getParent(e.selection.getNode(),"td,th")).bind((function(n){return g.from(e.dom.getParent(n,"table")).map((function(r){return AM(e,t,r,n)}))})).getOr(!1)}},_M=function(e){return O(["figcaption"],Tt(e))},DM=function(e){var t=n.document.createRange();return t.setStartBefore(e.dom()),t.setEndBefore(e.dom()),t},LM=function(e,t,n){n?rs(e,t):ns(e,t)},BM=function(e,t){var n=Ct.fromTag("br");return LM(e,n,t),DM(n)},RM=function(e,t,n,r){var i=Ct.fromTag(n),o=Ct.fromTag("br");return Ft(i,r),rs(i,o),LM(e,i,t),DM(o)},IM=function(e,t,n,r){return""===t?BM(e,r):RM(e,r,t,n)},HM=function(e,t){var n=s(cn,t);return yl(Ct.fromDom(e.container()),ni,n).filter(_M)},VM=function(e,t,n){return t?$z(e.dom(),n):Vz(e.dom(),n)},$M=function(e,t){var n=Ct.fromDom(e.getBody()),r=uc.fromRangeStart(e.selection.getRng()),i=Sp.getForcedRootBlock(e),o=Sp.getForcedRootBlockAttrs(e);return HM(r,n).exists((function(){if(VM(n,t,r)){var a=IM(n,i,o,t);return e.selection.setRng(a),!0}return!1}))},FM=function(e,t){return function(){return!!e.selection.isCollapsed()&&$M(e,t)}},jM=function(e){return _(e,(function(e){return kg({shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0,action:r},e)}))},UM=function(e,t){return t.keyCode===e.keyCode&&t.shiftKey===e.shiftKey&&t.altKey===e.altKey&&t.ctrlKey===e.ctrlKey&&t.metaKey===e.metaKey},qM=function(e,t){return j(jM(e),(function(e){return UM(e,t)?[e]:[]}))},WM=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,r)}},GM=function(e,t){return V(qM(e,t),(function(e){return e.action()}))},XM={match:qM,action:WM,execute:GM},YM=function(e,t,n){var r=mt().os;XM.execute([{keyCode:by.RIGHT,action:eM(e,!0)},{keyCode:by.LEFT,action:eM(e,!1)},{keyCode:by.UP,action:tM(e,!1)},{keyCode:by.DOWN,action:tM(e,!0)},{keyCode:by.RIGHT,action:OM(e,!0)},{keyCode:by.LEFT,action:OM(e,!1)},{keyCode:by.UP,action:PM(e,!1)},{keyCode:by.DOWN,action:PM(e,!0)},{keyCode:by.RIGHT,action:Mz.move(e,t,!0)},{keyCode:by.LEFT,action:Mz.move(e,t,!1)},{keyCode:by.RIGHT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:Mz.moveNextWord(e,t)},{keyCode:by.LEFT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:Mz.movePrevWord(e,t)},{keyCode:by.UP,action:FM(e,!1)},{keyCode:by.DOWN,action:FM(e,!0)}],n).each((function(e){n.preventDefault()}))},KM=function(e,t){e.on("keydown",(function(n){!1===n.isDefaultPrevented()&&YM(e,t,n)}))},ZM={setup:KM},QM=function(e){return function(t){return cn(e,Ct.fromDom(t.dom().parentNode))}},JM=function(e,t){return pn(e,t)?yl(t,(function(e){return ai(e)||li(e)}),QM(e)):g.none()},eN=function(e){var t=e.getBody(),n=t.firstChild&&e.dom.isBlock(t.firstChild)?t.firstChild:t;e.selection.setCursorLocation(n,0)},tN=function(e){e.dom.isEmpty(e.getBody())&&(e.setContent(""),eN(e))},nN=function(e,t,n){return Du(hf.firstPositionIn(n),hf.lastPositionIn(n),(function(r,i){var o=$k.normalizePosition(!0,r),a=$k.normalizePosition(!1,i),s=$k.normalizePosition(!1,t);return e?hf.nextPosition(n,s).map((function(e){return e.isEqual(a)&&t.isEqual(o)})).getOr(!1):hf.prevPosition(n,s).map((function(e){return e.isEqual(o)&&t.isEqual(a)})).getOr(!1)})).getOr(!0)},rN={getParentBlock:JM,paddEmptyBody:tN,willDeleteLastPositionInElement:nN},iN=function(e,t){return{block:o(e),position:o(t)}},oN=function(e,t){return{from:o(e),to:o(t)}},aN=function(e,t){var n=Ct.fromDom(e),r=Ct.fromDom(t.container());return rN.getParentBlock(n,r).map((function(e){return iN(e,t)}))},sN=function(e){return!1===cn(e.from().block(),e.to().block())},lN=function(e){return yn(e.from().block()).bind((function(t){return yn(e.to().block()).filter((function(e){return cn(t,e)}))})).isSome()},uN=function(e){return!1===we.isContentEditableFalse(e.from().block().dom())&&!1===we.isContentEditableFalse(e.to().block().dom())},cN=function(e,t,n){return we.isBr(n.position().getNode())&&!1===CC.isEmpty(n.block())?hf.positionIn(!1,n.block().dom()).bind((function(r){return r.isEqual(n.position())?hf.fromPosition(t,e,r).bind((function(t){return aN(e,t)})):g.some(n)})).getOr(n):n},dN=function(e,t,n){var r=aN(e,uc.fromRangeStart(n)),i=r.bind((function(n){return hf.fromPosition(t,e,n.position()).bind((function(n){return aN(e,n).map((function(n){return cN(e,t,n)}))}))}));return Du(r,i,oN).filter((function(e){return sN(e)&&lN(e)&&uN(e)}))},fN=function(e,t,n){return n.collapsed?dN(e,t,n):g.none()},hN={read:fN},pN=function(e){var t=Sn(e);return $(t,ni).fold((function(){return t}),(function(e){return t.slice(0,e)}))},mN=function(e){var t=pN(e);return D(t,ls),t},gN=function(e,t){var n=ty.parentsAndSelf(t,e);return V(n.reverse(),CC.isEmpty).each(ls)},vN=function(e){return 0===R(xn(e),(function(e){return!CC.isEmpty(e)})).length},yN=function(e,t,n,r){if(CC.isEmpty(n))return Ww.fillWithPaddingBr(n),hf.firstPositionIn(n.dom());vN(r)&&CC.isEmpty(t)&&es(r,Ct.fromTag("br"));var i=hf.prevPosition(n.dom(),uc.before(r.dom()));return D(mN(t),(function(e){es(r,e)})),gN(e,t),i},bN=function(e,t,n){if(CC.isEmpty(n))return ls(n),CC.isEmpty(t)&&Ww.fillWithPaddingBr(t),hf.firstPositionIn(t.dom());var r=hf.lastPositionIn(n.dom());return D(mN(t),(function(e){rs(n,e)})),gN(e,t),r},wN=function(e,t){var n=ty.parentsAndSelf(t,e);return g.from(n[n.length-1])},CN=function(e,t){return pn(t,e)?wN(t,e):g.none()},xN=function(e,t){hf.positionIn(e,t.dom()).map((function(e){return e.getNode()})).map(Ct.fromDom).filter(oi).each(ls)},EN=function(e,t,n){return xN(!0,t),xN(!1,n),CN(t,n).fold(s(bN,e,t,n),s(yN,e,t,n))},SN=function(e,t,n,r){return t?EN(e,r,n):EN(e,n,r)},TN={mergeBlocks:SN},kN=function(e,t){var n=Ct.fromDom(e.getBody()),r=hN.read(n.dom(),t,e.selection.getRng()).bind((function(e){return TN.mergeBlocks(n,t,e.from().block(),e.to().block())}));return r.each((function(t){e.selection.setRng(t.toRange())})),r.isSome()},zN={backspaceDelete:kN},MN=function(e,t){var n=t.getRng();return Du(rN.getParentBlock(e,Ct.fromDom(n.startContainer)),rN.getParentBlock(e,Ct.fromDom(n.endContainer)),(function(r,i){return!1===cn(r,i)&&(n.deleteContents(),TN.mergeBlocks(e,!0,r,i).each((function(e){t.setRng(e.toRange())})),!0)})).getOr(!1)},NN=function(e,t){var n=Ct.fromDom(t),r=s(cn,e);return vl(n,di,r).isSome()},AN=function(e,t){return NN(e,t.startContainer)||NN(e,t.endContainer)},ON=function(e,t){var n=hf.prevPosition(e.dom(),uc.fromRangeStart(t)).isNone(),r=hf.nextPosition(e.dom(),uc.fromRangeEnd(t)).isNone();return!AN(e,t)&&n&&r},PN=function(e){return e.setContent(""),e.selection.setCursorLocation(),!0},_N=function(e){var t=Ct.fromDom(e.getBody()),n=e.selection.getRng();return ON(t,n)?PN(e):MN(t,e.selection)},DN=function(e,t){return!e.selection.isCollapsed()&&_N(e)},LN={backspaceDelete:DN},BN=function(e){return Bd(e).exists(oi)},RN=function(e,t,n){var r=R(ty.parentsAndSelf(Ct.fromDom(n.container()),t),ni),i=Y(r).getOr(t);return hf.fromPosition(e,i.dom(),n).filter(BN)},IN=function(e,t){return Bd(t).exists(oi)||RN(!0,e,t).isSome()},HN=function(e,t){return Rd(t).exists(oi)||RN(!1,e,t).isSome()},VN=s(RN,!1),$N=s(RN,!0),FN=function(e){return di(Ct.fromDom(e))||li(Ct.fromDom(e))},jN=Hp.generate([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),UN=function(e,t){var n=t.getNode(!1===e),r=e?"after":"before";return we.isElement(n)&&n.getAttribute("data-mce-caret")===r},qN=function(e,t,n,r){var i=function(t){return ii(Ct.fromDom(t))&&!kd(n,r,e)};return Dd(!t,n).fold((function(){return Dd(t,r).fold(o(!1),i)}),i)},WN=function(e,t,n,r){var i=r.getNode(!1===t);return rN.getParentBlock(Ct.fromDom(e),Ct.fromDom(n.getNode())).map((function(e){return CC.isEmpty(e)?jN.remove(e.dom()):jN.moveToElement(i)})).orThunk((function(){return g.some(jN.moveToElement(i))}))},GN=function(e,t,n){return hf.fromPosition(t,e,n).bind((function(r){return FN(r.getNode())||qN(e,t,n,r)?g.none():t&&we.isContentEditableFalse(r.getNode())||!1===t&&we.isContentEditableFalse(r.getNode(!0))?WN(e,t,n,r):t&&By(n)||!1===t&&Ly(n)?g.some(jN.moveToPosition(r)):g.none()}))},XN=function(e,t){return e&&we.isContentEditableFalse(t.nextSibling)?g.some(jN.moveToElement(t.nextSibling)):!1===e&&we.isContentEditableFalse(t.previousSibling)?g.some(jN.moveToElement(t.previousSibling)):g.none()},YN=function(e,t,n){return n.fold((function(e){return g.some(jN.remove(e))}),(function(e){return g.some(jN.moveToElement(e))}),(function(n){return kd(t,n,e)?g.none():g.some(jN.moveToPosition(n))}))},KN=function(e,t,n){return UN(t,n)?XN(t,n.getNode(!1===t)).fold((function(){return GN(e,t,n)}),g.some):GN(e,t,n).bind((function(t){return YN(e,n,t)}))},ZN=function(e,t,n){var r=_d(t?1:-1,e,n),i=uc.fromRangeStart(r),o=Ct.fromDom(e);return!1===t&&By(i)?g.some(jN.remove(i.getNode(!0))):t&&Ly(i)?g.some(jN.remove(i.getNode())):!1===t&&Ly(i)&&HN(o,i)?VN(o,i).map((function(e){return jN.remove(e.getNode())})):t&&By(i)&&IN(o,i)?$N(o,i).map((function(e){return jN.remove(e.getNode())})):KN(e,t,i)},QN=function(e,t){return function(n){return e._selectionOverrides.hideFakeCaret(),$C.deleteElement(e,t,Ct.fromDom(n)),!0}},JN=function(e,t){return function(n){var r=t?uc.before(n):uc.after(n);return e.selection.setRng(r.toRange()),!0}},eA=function(e){return function(t){return e.selection.setRng(t.toRange()),!0}},tA=function(e,t){return g.from(oA(e.getBody(),t))},nA=function(e,t){var n=e.selection.getNode();return tA(e,n).filter(we.isContentEditableFalse).fold((function(){var n=ZN(e.getBody(),t,e.selection.getRng()).map((function(n){return n.fold(QN(e,t),JN(e,t),eA(e))}));return n.getOr(!1)}),(function(){return!0}))},rA=function(e){D(ml(e,".mce-offscreen-selection"),ls)},iA=function(e,t){var n=e.selection.getNode();if(we.isContentEditableFalse(n)){var r=tA(e,n.parentNode).filter(we.isContentEditableFalse);return r.fold((function(){return rA(Ct.fromDom(e.getBody())),$C.deleteElement(e,t,Ct.fromDom(e.selection.getNode())),rN.paddEmptyBody(e),!0}),(function(){return!0}))}return!1},oA=function(e,t){while(t&&t!==e){if(we.isContentEditableTrue(t)||we.isContentEditableFalse(t))return t;t=t.parentNode}return null},aA=function(e){var t,n=oA(e.getBody(),e.selection.getNode());return we.isContentEditableTrue(n)&&e.dom.isBlock(n)&&e.dom.isEmpty(n)&&(t=e.dom.create("br",{"data-mce-bogus":"1"}),e.dom.setHTML(n,""),n.appendChild(t),e.selection.setRng(uc.before(t).toRange())),!0},sA=function(e,t){return e.selection.isCollapsed()?nA(e,t):iA(e,t)},lA={backspaceDelete:sA,paddEmptyElement:aA},uA=function(e,t){we.isText(t)&&0===t.data.length&&e.remove(t)},cA=function(e,t,n,r,i,o){var a=Hb(r,e,o.getNode(!i),i,!0);if(t.collapsed){var s=t.cloneRange();i?s.setEnd(a.startContainer,a.startOffset):s.setStart(a.endContainer,a.endOffset),s.deleteContents()}else t.deleteContents();return e.selection.setRng(a),uA(e.dom,n),!0},dA=function(e,t){var n=e.selection.getRng();if(!we.isText(n.commonAncestorContainer))return!1;var r=t?lc.Forwards:lc.Backwards,i=Qd(e.getBody()),o=s(Id,i.next),a=s(Id,i.prev),l=t?o:a,u=t?Ly:By,c=Ld(r,e.getBody(),n),d=$k.normalizePosition(t,l(c));if(!d)return!1;if(u(d))return cA(e,n,c.getNode(),r,t,d);var f=l(d);return!!(f&&u(f)&&Hd(d,f))&&cA(e,n,c.getNode(),r,t,f)},fA=function(e,t){return dA(e,t)},hA={backspaceDelete:fA},pA=function(e){return!1!==e.settings.inline_boundaries},mA=function(e,t){var r=n.document.createRange();return r.setStart(e.container(),e.offset()),r.setEnd(t.container(),t.offset()),r},gA=function(e){return Du(hf.firstPositionIn(e),hf.lastPositionIn(e),(function(t,n){var r=$k.normalizePosition(!0,t),i=$k.normalizePosition(!1,n);return hf.nextPosition(e,r).map((function(e){return e.isEqual(i)})).getOr(!0)})).getOr(!0)},vA=function(e,t){return function(n){return Nk.renderCaret(t,n).map((function(t){return Mz.setCaretPosition(e,t),!0})).getOr(!1)}},yA=function(e,t,n,r){var i=e.getBody(),o=s($k.isInlineTarget,e);e.undoManager.ignore((function(){e.selection.setRng(mA(n,r)),e.execCommand("Delete"),cz.readLocation(o,i,uc.fromRangeStart(e.selection.getRng())).map(cz.inside).map(vA(e,t))})),e.nodeChanged()},bA=function(e,t){var n=Td(t,e);return n||e},wA=function(e,t,n,r){var i=bA(e.getBody(),r.container()),a=s($k.isInlineTarget,e),l=cz.readLocation(a,i,r);return l.bind((function(e){return n?e.fold(o(g.some(cz.inside(e))),g.none,o(g.some(cz.outside(e))),g.none):e.fold(g.none,o(g.some(cz.outside(e))),g.none,o(g.some(cz.inside(e))))})).map(vA(e,t)).getOrThunk((function(){var o=hf.navigate(n,i,r),s=o.bind((function(e){return cz.readLocation(a,i,e)}));return l.isSome()&&s.isSome()?$k.findRootInline(a,i,r).map((function(t){return!!gA(t)&&($C.deleteElement(e,n,Ct.fromDom(t)),!0)})).getOr(!1):s.bind((function(i){return o.map((function(i){return n?yA(e,t,r,i):yA(e,t,i,r),!0}))})).getOr(!1)}))},CA=function(e,t,n){if(e.selection.isCollapsed()&&pA(e)){var r=uc.fromRangeStart(e.selection.getRng());return wA(e,t,n,r)}return!1},xA={backspaceDelete:CA},EA=function(e,t){var n=ty.parentsAndSelf(t,e);return $(n,ni).fold(o(n),(function(e){return n.slice(0,e)}))},SA=function(e){return 1===Sn(e).length},TA=function(e,t,n,r){var i=s(ax,t),o=_(R(r,i),(function(e){return e.dom()}));if(0===o.length)$C.deleteElement(t,e,n);else{var a=ox(n.dom(),o);t.selection.setRng(a.toRange())}},kA=function(e,t){var n=Ct.fromDom(e.getBody()),r=Ct.fromDom(e.selection.getStart()),i=R(EA(n,r),SA);return K(i).map((function(n){var r=uc.fromRangeStart(e.selection.getRng());return!(!rN.willDeleteLastPositionInElement(t,r,n.dom())||sx(n))&&(TA(t,e,n,i),!0)})).getOr(!1)},zA=function(e,t){return!!e.selection.isCollapsed()&&kA(e,t)},MA={backspaceDelete:zA},NA=function(e,t){return{start:o(e),end:o(t)}},AA=function(e,t,n){return{rng:o(e),table:o(t),cells:o(n)}},OA=Hp.generate([{removeTable:["element"]},{emptyCells:["cells"]}]),PA=function(e){return function(t){return cn(e,t)}},_A=function(e,t){return Cl(Ct.fromDom(e),"td,th",t)},DA=function(e,t){return bl(e,"table",t)},LA=function(e){return!1===cn(e.start(),e.end())},BA=function(e,t){return DA(e.start(),t).bind((function(n){return DA(e.end(),t).bind((function(e){return Bu(cn(n,e),n)}))}))},RA=function(e){return ml(e,"td,th")},IA=function(e,t){return DA(e.start(),t).bind((function(t){return K(RA(t)).map((function(t){return NA(e.start(),t)}))}))},HA=function(e,t){var n=_A(t.startContainer,e),r=_A(t.endContainer,e);return t.collapsed?g.none():Du(n,r,NA).fold((function(){return n.fold((function(){return r.bind((function(t){return DA(t,e).bind((function(e){return Y(RA(e)).map((function(e){return NA(e,t)}))}))}))}),(function(t){return DA(t,e).bind((function(e){return K(RA(e)).map((function(e){return NA(t,e)}))}))}))}),(function(t){return VA(e,t)?g.none():IA(t,e)}))},VA=function(e,t){return BA(t,e).isSome()},$A=function(e,t){var n=_A(e.startContainer,t),r=_A(e.endContainer,t);return Du(n,r,NA).filter(LA).filter((function(e){return VA(t,e)})).orThunk((function(){return HA(t,e)}))},FA=function(e,t){return BA(e,t).map((function(t){return AA(e,t,RA(t))}))},jA=function(e,t){var n=PA(e);return $A(t,n).bind((function(e){return FA(e,n)}))},UA=function(e,t){return $(e,(function(e){return cn(e,t)}))},qA=function(e){return Du(UA(e.cells(),e.rng().start()),UA(e.cells(),e.rng().end()),(function(t,n){return e.cells().slice(t,n+1)}))},WA=function(e){return qA(e).map((function(t){var n=e.cells();return t.length===n.length?OA.removeTable(e.table()):OA.emptyCells(t)}))},GA=function(e,t){return jA(e,t).bind(WA)},XA=function(e,t){return D(t,Ww.fillWithPaddingBr),e.selection.setCursorLocation(t[0].dom(),0),!0},YA=function(e,t){return $C.deleteElement(e,!1,t),!0},KA=function(e,t,n){return GA(t,n).map((function(t){return t.fold(s(YA,e),s(XA,e))}))},ZA=function(e,t){return rO(e,t)},QA=function(e,t,n,r){return tO(t,r).fold((function(){return KA(e,t,n)}),(function(t){return ZA(e,t)})).getOr(!1)},JA=function(e,t){var n=Ct.fromDom(e.getBody()),r=e.selection.getRng(),i=CT.getCellsFromEditor(e);return 0!==i.length?XA(e,i):QA(e,n,r,t)},eO=function(e,t){return V(ty.parentsAndSelf(t,e),di)},tO=function(e,t){return V(ty.parentsAndSelf(t,e),(function(e){return"caption"===Tt(e)}))},nO=function(e,t,n,r,i){return hf.navigate(n,e.getBody(),i).bind((function(e){return eO(t,Ct.fromDom(e.getNode())).map((function(e){return!1===cn(e,r)}))}))},rO=function(e,t){return Ww.fillWithPaddingBr(t),e.selection.setCursorLocation(t.dom(),0),g.some(!0)},iO=function(e,t,n,r){return hf.firstPositionIn(e.dom()).bind((function(i){return hf.lastPositionIn(e.dom()).map((function(e){return t?n.isEqual(i)&&r.isEqual(e):n.isEqual(e)&&r.isEqual(i)}))})).getOr(!0)},oO=function(e,t){return rO(e,t)},aO=function(e,t,n){return tO(e,Ct.fromDom(n.getNode())).map((function(e){return!1===cn(e,t)}))},sO=function(e,t,n,r,i){return hf.navigate(n,e.getBody(),i).bind((function(o){return iO(r,n,i,o)?oO(e,r):aO(t,r,o)})).or(g.some(!0))},lO=function(e,t,n,r){var i=uc.fromRangeStart(e.selection.getRng());return eO(n,r).bind((function(r){return CC.isEmpty(r)?rO(e,r):nO(e,n,t,r,i)})).getOr(!1)},uO=function(e,t,n,r){var i=uc.fromRangeStart(e.selection.getRng());return CC.isEmpty(r)?rO(e,r):sO(e,n,t,r,i)},cO=function(e,t){return e?_y(t):Dy(t)},dO=function(e,t){var n=uc.fromRangeStart(e.selection.getRng());return cO(t,n)||hf.fromPosition(t,e.getBody(),n).map((function(e){return cO(t,e)})).getOr(!1)},fO=function(e,t,n){var r=Ct.fromDom(e.getBody());return tO(r,n).fold((function(){return lO(e,t,r,n)||dO(e,t)}),(function(n){return uO(e,t,r,n).getOr(!1)}))},hO=function(e,t){var n=Ct.fromDom(e.selection.getStart(!0)),r=CT.getCellsFromEditor(e);return e.selection.isCollapsed()&&0===r.length?fO(e,t,n):JA(e,n)},pO={backspaceDelete:hO},mO=function(e,t){var n=uc.fromRangeStart(e.selection.getRng());return hf.fromPosition(t,e.getBody(),n).filter((function(e){return t?Oy(e):Py(e)})).bind((function(e){return g.from(zd(t?0:-1,e))})).map((function(t){return e.selection.select(t),!0})).getOr(!1)},gO=function(e,t){return!!e.selection.isCollapsed()&&mO(e,t)},vO={backspaceDelete:gO},yO=function(e){return yl(e,(function(e){return we.isContentEditableTrue(e.dom())||we.isContentEditableFalse(e.dom())})).exists((function(e){return we.isContentEditableTrue(e.dom())}))},bO=function(e){var t=parseInt(e,10);return isNaN(t)?0:t},wO=function(e,t){var n=e||ri(t)?"margin":"padding",r="rtl"===Wt(t,"direction")?"-right":"-left";return n+r},CO=function(e,t,n,r,i,o){var a=wO(n,Ct.fromDom(o));if("outdent"===t){var s=Math.max(0,bO(o.style[a])-r);e.setStyle(o,a,s?s+i:"")}else{s=bO(o.style[a])+r+i;e.setStyle(o,a,s)}},xO=function(e,t){return U(t,(function(t){var n=wO(Sp.shouldIndentUseMargin(e),t),r=Xt(t,n).map(bO).getOr(0),i=e.dom.getContentEditable(t.dom());return"false"!==i&&r>0}))},EO=function(e){var t=kO(e);return!0!==e.readonly&&(t.length>1||xO(e,t))},SO=function(e){return si(e)||li(e)},TO=function(e){return yn(e).map(SO).getOr(!1)},kO=function(e){return R(_(e.selection.getSelectedBlocks(),Ct.fromDom),(function(e){return!SO(e)&&!TO(e)&&yO(e)}))},zO=function(e,t){var n=e.dom,r=e.selection,i=e.formatter,o=Sp.getIndentation(e),a=/[a-z%]+$/i.exec(o)[0],s=parseInt(o,10),l=Sp.shouldIndentUseMargin(e),u=Sp.getForcedRootBlock(e);e.queryCommandState("InsertUnorderedList")||e.queryCommandState("InsertOrderedList")||""!==u||n.getParent(r.getNode(),n.isBlock)||i.apply("div"),D(kO(e),(function(e){CO(n,t,l,s,a,e.dom())}))},MO=function(e,t,n){return hf.navigateIgnore(e,t,n,zy)},NO=function(e,t){return V(ty.parentsAndSelf(Ct.fromDom(t.container()),e),ni)},AO=function(e,t,n){return MO(e,t.dom(),n).forall((function(e){return NO(t,n).fold((function(){return!1===kd(e,n,t.dom())}),(function(r){return!1===kd(e,n,t.dom())&&pn(r,Ct.fromDom(e.container()))}))}))},OO=function(e,t,n){return NO(t,n).fold((function(){return MO(e,t.dom(),n).forall((function(e){return!1===kd(e,n,t.dom())}))}),(function(t){return MO(e,t.dom(),n).isNone()}))},PO=s(OO,!1),_O=s(OO,!0),DO=s(AO,!1),LO=s(AO,!0),BO=function(e,t,n){if(e.selection.isCollapsed()&&EO(e)){var r=e.dom,i=e.selection.getRng(),o=uc.fromRangeStart(i),a=r.getParent(i.startContainer,r.isBlock);if(null!==a&&PO(Ct.fromDom(a),o))return zO(e,"outdent"),!0}return!1},RO={backspaceDelete:BO},IO=function(e,t,n){XM.execute([{keyCode:by.BACKSPACE,action:XM.action(RO.backspaceDelete,e,!1)},{keyCode:by.BACKSPACE,action:XM.action(lA.backspaceDelete,e,!1)},{keyCode:by.DELETE,action:XM.action(lA.backspaceDelete,e,!0)},{keyCode:by.BACKSPACE,action:XM.action(hA.backspaceDelete,e,!1)},{keyCode:by.DELETE,action:XM.action(hA.backspaceDelete,e,!0)},{keyCode:by.BACKSPACE,action:XM.action(xA.backspaceDelete,e,t,!1)},{keyCode:by.DELETE,action:XM.action(xA.backspaceDelete,e,t,!0)},{keyCode:by.BACKSPACE,action:XM.action(pO.backspaceDelete,e,!1)},{keyCode:by.DELETE,action:XM.action(pO.backspaceDelete,e,!0)},{keyCode:by.BACKSPACE,action:XM.action(vO.backspaceDelete,e,!1)},{keyCode:by.DELETE,action:XM.action(vO.backspaceDelete,e,!0)},{keyCode:by.BACKSPACE,action:XM.action(LN.backspaceDelete,e,!1)},{keyCode:by.DELETE,action:XM.action(LN.backspaceDelete,e,!0)},{keyCode:by.BACKSPACE,action:XM.action(zN.backspaceDelete,e,!1)},{keyCode:by.DELETE,action:XM.action(zN.backspaceDelete,e,!0)},{keyCode:by.BACKSPACE,action:XM.action(MA.backspaceDelete,e,!1)},{keyCode:by.DELETE,action:XM.action(MA.backspaceDelete,e,!0)}],n).each((function(e){n.preventDefault()}))},HO=function(e,t){XM.execute([{keyCode:by.BACKSPACE,action:XM.action(lA.paddEmptyElement,e)},{keyCode:by.DELETE,action:XM.action(lA.paddEmptyElement,e)}],t)},VO=function(e,t){e.on("keydown",(function(n){!1===n.isDefaultPrevented()&&IO(e,t,n)})),e.on("keyup",(function(t){!1===t.isDefaultPrevented()&&HO(e,t)}))},$O={setup:VO},FO=function(e){while(e){if(1===e.nodeType||3===e.nodeType&&e.data&&/[\r\n\s]/.test(e.data))return e;e=e.nextSibling}},jO=function(e,t){var n,r,i=t,o=e.dom,a=e.schema.getMoveCaretBeforeOnEnterElements();if(t){if(/^(LI|DT|DD)$/.test(t.nodeName)){var s=FO(t.firstChild);s&&/^(UL|OL|DL)$/.test(s.nodeName)&&t.insertBefore(o.doc.createTextNode(" "),t.firstChild)}if(r=o.createRng(),t.normalize(),t.hasChildNodes()){var l=new Ja(t,t);while(n=l.current()){if(we.isText(n)){r.setStart(n,0),r.setEnd(n,0);break}if(a[n.nodeName.toLowerCase()]){r.setStartBefore(n),r.setEndBefore(n);break}i=n,n=l.next()}n||(r.setStart(i,0),r.setEnd(i,0))}else we.isBr(t)?t.nextSibling&&o.isBlock(t.nextSibling)?(r.setStartBefore(t),r.setEndBefore(t)):(r.setStartAfter(t),r.setEndAfter(t)):(r.setStart(t,0),r.setEnd(t,0));e.selection.setRng(r),e.selection.scrollIntoView(t)}},UO=function(e,t){var n,r,i=e.getRoot();n=t;while(n!==i&&"false"!==e.getContentEditable(n))"true"===e.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==i?r:i},qO=function(e){return g.from(e.dom.getParent(e.selection.getStart(!0),e.dom.isBlock))},WO=function(e){return qO(e).fold(o(""),(function(e){return e.nodeName.toUpperCase()}))},GO=function(e){return qO(e).filter((function(e){return li(Ct.fromDom(e))})).isSome()},XO={moveToCaretPosition:jO,getEditableRoot:UO,getParentBlock:qO,getParentBlockName:WO,isListItemParentBlock:GO},YO=function(e,t){return e.firstChild&&e.firstChild.nodeName===t},KO=function(e,t){return e&&e.parentNode&&e.parentNode.nodeName===t},ZO=function(e){return e&&/^(OL|UL|LI)$/.test(e.nodeName)},QO=function(e){return ZO(e)&&ZO(e.parentNode)},JO=function(e){var t=e.parentNode;return/^(LI|DT|DD)$/.test(t.nodeName)?t:e},eP=function(e,t,n){var r=e[n?"firstChild":"lastChild"];while(r){if(we.isElement(r))break;r=r[n?"nextSibling":"previousSibling"]}return r===t},tP=function(e,t,n,r,i){var o=e.dom,a=e.selection.getRng();if(n!==e.getBody()){QO(n)&&(i="LI");var s=i?t(i):o.create("BR");if(eP(n,r,!0)&&eP(n,r,!1))KO(n,"LI")?o.insertAfter(s,JO(n)):o.replace(s,n);else if(eP(n,r,!0))KO(n,"LI")?(o.insertAfter(s,JO(n)),s.appendChild(o.doc.createTextNode(" ")),s.appendChild(n)):n.parentNode.insertBefore(s,n);else if(eP(n,r,!1))o.insertAfter(s,JO(n));else{n=JO(n);var l=a.cloneRange();l.setStartAfter(r),l.setEndAfter(n);var u=l.extractContents();"LI"===i&&YO(u,"LI")?(s=u.firstChild,o.insertAfter(u,n)):(o.insertAfter(u,n),o.insertAfter(s,n))}o.remove(r),XO.moveToCaretPosition(e,s)}},nP={insert:tP},rP=function(e){D(pl(Ct.fromDom(e),Nt),(function(e){var t=e.dom();t.nodeValue=Ul.trim(t.nodeValue)}))},iP=function(e,t){return t&&"A"===t.nodeName&&e.isEmpty(t)},oP=function(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)},aP=function(e){e.innerHTML='<br data-mce-bogus="1">'},sP=function(e,t){return e.nodeName===t||e.previousSibling&&e.previousSibling.nodeName===t},lP=function(e,t){return t&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&!/^(fixed|absolute)/i.test(t.style.position)&&"true"!==e.getContentEditable(t)},uP=function(e,t,n){var r,i=n,o=[];if(i){while(i=i.firstChild){if(e.isBlock(i))return;we.isElement(i)&&!t[i.nodeName.toLowerCase()]&&o.push(i)}r=o.length;while(r--)i=o[r],(!i.hasChildNodes()||i.firstChild===i.lastChild&&""===i.firstChild.nodeValue||iP(e,i))&&e.remove(i)}},cP=function(e,t,n){return!1===we.isText(t)?n:e?1===n&&t.data.charAt(n-1)===Ul.ZWSP?0:n:n===t.data.length-1&&t.data.charAt(n)===Ul.ZWSP?t.data.length:n},dP=function(e){var t=e.cloneRange();return t.setStart(e.startContainer,cP(!0,e.startContainer,e.startOffset)),t.setEnd(e.endContainer,cP(!1,e.endContainer,e.endOffset)),t},fP=function(e){do{we.isText(e)&&(e.nodeValue=e.nodeValue.replace(/^[\r\n]+/,"")),e=e.firstChild}while(e)},hP=function(e,t){var n,r,i=e.getRoot();n=t;while(n!==i&&"false"!==e.getContentEditable(n))"true"===e.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==i?r:i},pP=function(e,t){var n=Sp.getForcedRootBlock(e);n&&n.toLowerCase()===t.tagName.toLowerCase()&&e.dom.setAttribs(t,Sp.getForcedRootBlockAttrs(e))},mP=function(e,t,n,r,i){var o,a,s,l,u,c,d=t||"P",f=e.dom,h=hP(f,r);if(a=f.getParent(r,f.isBlock),!a||!lP(f,a)){if(a=a||h,c=a===e.getBody()||oP(a)?a.nodeName.toLowerCase():a.parentNode.nodeName.toLowerCase(),!a.hasChildNodes())return o=f.create(d),pP(e,o),a.appendChild(o),n.setStart(o,0),n.setEnd(o,0),o;l=r;while(l.parentNode!==a)l=l.parentNode;while(l&&!f.isBlock(l))s=l,l=l.previousSibling;if(s&&e.schema.isValidChild(c,d.toLowerCase())){o=f.create(d),pP(e,o),s.parentNode.insertBefore(o,s),l=s;while(l&&!f.isBlock(l))u=l.nextSibling,o.appendChild(l),l=u;n.setStart(r,i),n.setEnd(r,i)}}return r},gP=function(e,t){var n;t.normalize(),n=t.lastChild,n&&!/^(left|right)$/gi.test(e.getStyle(n,"float",!0))||e.add(t,"br")},vP=function(e,t){var n,r,i,o,a,s,l,u,c,d,f,h,p,m=e.dom,g=e.schema,v=g.getNonEmptyElements(),y=e.selection.getRng(),b=function(t){var n,o,s,l=i,u=g.getTextInlineElements();if(t||"TABLE"===d||"HR"===d?(n=m.create(t||h),pP(e,n)):n=a.cloneNode(!1),s=n,!1===Sp.shouldKeepStyles(e))m.setAttrib(n,"style",null),m.setAttrib(n,"class",null);else do{if(u[l.nodeName]){if(qc(l)||Bf.isBookmarkNode(l))continue;o=l.cloneNode(!1),m.setAttrib(o,"id",""),n.hasChildNodes()?(o.appendChild(n.firstChild),n.appendChild(o)):(s=o,n.appendChild(o))}}while((l=l.parentNode)&&l!==r);return aP(s),n},w=function(e){var t,n,r=cP(e,i,o);if(we.isText(i)&&(e?r>0:r<i.nodeValue.length))return!1;if(i.parentNode===a&&p&&!e)return!0;if(e&&we.isElement(i)&&i===a.firstChild)return!0;if(sP(i,"TABLE")||sP(i,"HR"))return p&&!e||!p&&e;var s=new Ja(i,a);we.isText(i)&&(e&&0===r?s.prev():e||r!==i.nodeValue.length||s.next());while(t=s.current()){if(we.isElement(t)){if(!t.getAttribute("data-mce-bogus")&&(n=t.nodeName.toLowerCase(),v[n]&&"br"!==n))return!1}else if(we.isText(t)&&!/^[ \t\r\n]*$/.test(t.nodeValue))return!1;e?s.prev():s.next()}return!0},C=function(){l=/^(H[1-6]|PRE|FIGURE)$/.test(d)&&"HGROUP"!==f?b(h):b(),Sp.shouldEndContainerOnEmptyBlock(e)&&lP(m,c)&&m.isEmpty(a)?l=m.split(c,a):m.insertAfter(l,a),XO.moveToCaretPosition(e,l)};KT.normalize(m,y).each((function(e){y.setStart(e.startContainer,e.startOffset),y.setEnd(e.endContainer,e.endOffset)})),i=y.startContainer,o=y.startOffset,h=Sp.getForcedRootBlock(e),s=!(!t||!t.shiftKey);var x=!(!t||!t.ctrlKey);we.isElement(i)&&i.hasChildNodes()&&(p=o>i.childNodes.length-1,i=i.childNodes[Math.min(o,i.childNodes.length-1)]||i,o=p&&we.isText(i)?i.nodeValue.length:0),r=hP(m,i),r&&((h&&!s||!h&&s)&&(i=mP(e,h,y,i,o)),a=m.getParent(i,m.isBlock),c=a?m.getParent(a.parentNode,m.isBlock):null,d=a?a.nodeName.toUpperCase():"",f=c?c.nodeName.toUpperCase():"","LI"!==f||x||(a=c,c=c.parentNode,d=f),/^(LI|DT|DD)$/.test(d)&&m.isEmpty(a)?nP.insert(e,b,c,a,h):h&&a===e.getBody()||(h=h||"P",Gl(a)?(l=ou(a),m.isEmpty(a)&&aP(a),XO.moveToCaretPosition(e,l)):w()?C():w(!0)?(l=a.parentNode.insertBefore(b(),a),XO.moveToCaretPosition(e,sP(a,"HR")?l:a)):(n=dP(y).cloneRange(),n.setEndAfter(a),u=n.extractContents(),rP(u),fP(u),l=u.firstChild,m.insertAfter(u,a),uP(m,v,l),gP(m,a),m.isEmpty(a)&&aP(a),l.normalize(),m.isEmpty(l)?(m.remove(l),C()):XO.moveToCaretPosition(e,l)),m.setAttrib(l,"id",""),e.fire("NewBlock",{newBlock:l})))},yP={insert:vP},bP=function(e,t,n){var r,i=new Ja(t,n),o=e.getNonEmptyElements();while(r=i.next())if(o[r.nodeName.toLowerCase()]||r.length>0)return!0},wP=function(e,t,n){var r=e.create("span",{}," ");n.parentNode.insertBefore(r,n),t.scrollIntoView(r),e.remove(r)},CP=function(e,t,n,r){var i=e.createRng();r?(i.setStartBefore(n),i.setEndBefore(n)):(i.setStartAfter(n),i.setEndAfter(n)),t.setRng(i)},xP=function(e,t){var n,r,i=e.selection,o=e.dom,a=i.getRng();KT.normalize(o,a).each((function(e){a.setStart(e.startContainer,e.startOffset),a.setEnd(e.endContainer,e.endOffset)}));var s=a.startOffset,l=a.startContainer;if(1===l.nodeType&&l.hasChildNodes()){var u=s>l.childNodes.length-1;l=l.childNodes[Math.min(s,l.childNodes.length-1)]||l,s=u&&3===l.nodeType?l.nodeValue.length:0}var c=o.getParent(l,o.isBlock),d=c?o.getParent(c.parentNode,o.isBlock):null,f=d?d.nodeName.toUpperCase():"",h=!(!t||!t.ctrlKey);"LI"!==f||h||(c=d),l&&3===l.nodeType&&s>=l.nodeValue.length&&(bP(e.schema,l,c)||(n=o.create("br"),a.insertNode(n),a.setStartAfter(n),a.setEndAfter(n),r=!0)),n=o.create("br"),zc(o,a,n),wP(o,i,n),CP(o,i,n,r),e.undoManager.add()},EP=function(e,t){var n=Ct.fromTag("br");es(Ct.fromDom(t),n),e.undoManager.add()},SP=function(e,t){kP(e.getBody(),t)||ts(Ct.fromDom(t),Ct.fromTag("br"));var n=Ct.fromTag("br");ts(Ct.fromDom(t),n),wP(e.dom,e.selection,n.dom()),CP(e.dom,e.selection,n.dom(),!1),e.undoManager.add()},TP=function(e){return we.isBr(e.getNode())},kP=function(e,t){return!!TP(uc.after(t))||hf.nextPosition(e,uc.after(t)).map((function(e){return we.isBr(e.getNode())})).getOr(!1)},zP=function(e){return e&&"A"===e.nodeName&&"href"in e},MP=function(e){return e.fold(o(!1),zP,zP,o(!1))},NP=function(e){var t=s($k.isInlineTarget,e),n=uc.fromRangeStart(e.selection.getRng());return cz.readLocation(t,e.getBody(),n).filter(MP)},AP=function(e,t){t.fold(r,s(EP,e),s(SP,e),r)},OP=function(e,t){var n=NP(e);n.isSome()?n.each(s(AP,e)):xP(e,t)},PP={insert:OP},_P=function(e,t){return XO.getParentBlock(e).filter((function(e){return t.length>0&&an(Ct.fromDom(e),t)})).isSome()},DP=function(e){return _P(e,Sp.getBrNewLineSelector(e))},LP=function(e){return _P(e,Sp.getNoNewLineSelector(e))},BP={shouldInsertBr:DP,shouldBlockNewLine:LP},RP=Hp.generate([{br:[]},{block:[]},{none:[]}]),IP=function(e,t){return BP.shouldBlockNewLine(e)},HP=function(e){return function(t,n){var r=""===Sp.getForcedRootBlock(t);return r===e}},VP=function(e){return function(t,n){return XO.isListItemParentBlock(t)===e}},$P=function(e,t){return function(n,r){var i=XO.getParentBlockName(n)===e.toUpperCase();return i===t}},FP=function(e){return $P("pre",e)},jP=function(){return $P("summary",!0)},UP=function(e){return function(t,n){return Sp.shouldPutBrInPre(t)===e}},qP=function(e,t){return BP.shouldInsertBr(e)},WP=function(e,t){return t},GP=function(e){var t=Sp.getForcedRootBlock(e),n=XO.getEditableRoot(e.dom,e.selection.getStart());return n&&e.schema.isValidChild(n.nodeName,t||"P")},XP=function(e,t){return function(n,r){var i=H(e,(function(e,t){return e&&t(n,r)}),!0);return i?g.some(t):g.none()}},YP=function(e,t){return jk.evaluateUntil([XP([IP],RP.none()),XP([jP()],RP.br()),XP([FP(!0),UP(!1),WP],RP.br()),XP([FP(!0),UP(!1)],RP.block()),XP([FP(!0),UP(!0),WP],RP.block()),XP([FP(!0),UP(!0)],RP.br()),XP([VP(!0),WP],RP.br()),XP([VP(!0)],RP.block()),XP([HP(!0),WP,GP],RP.block()),XP([HP(!0)],RP.br()),XP([qP],RP.br()),XP([HP(!1),WP],RP.br()),XP([GP],RP.block())],[e,!(!t||!t.shiftKey)]).getOr(RP.none())},KP={getAction:YP},ZP=function(e,t){KP.getAction(e,t).fold((function(){PP.insert(e,t)}),(function(){yP.insert(e,t)}),r)},QP={insert:ZP},JP=function(e,t){t.isDefaultPrevented()||(t.preventDefault(),Tw(e.undoManager),e.undoManager.transact((function(){!1===e.selection.isCollapsed()&&e.execCommand("Delete"),QP.insert(e,t)})))},e_=function(e){e.on("keydown",(function(t){t.keyCode===by.ENTER&&JP(e,t)}))},t_={setup:e_},n_=function(e,t){var n=t.container(),r=t.offset();return we.isText(n)?(n.insertData(r,e),g.some(sc(n,r+e.length))):Bd(t).map((function(n){var r=Ct.fromText(e);return t.isAtEnd()?ts(n,r):es(n,r),sc(r.dom(),e.length)}))},r_=s(n_," "),i_=s(n_," "),o_=" ",a_=function(e){return sc.isTextPosition(e)&&!e.isAtStart()&&!e.isAtEnd()},s_=function(e,t){var n=R(ty.parentsAndSelf(Ct.fromDom(t.container()),e),ni);return Y(n).getOr(e)},l_=function(e,t){return a_(t)?ky(t):ky(t)||hf.prevPosition(s_(e,t).dom(),t).exists(ky)},u_=function(e,t){return a_(t)?Ty(t):Ty(t)||hf.nextPosition(s_(e,t).dom(),t).exists(Ty)},c_=function(e){return O(["pre","pre-wrap"],e)},d_=function(e){return Bd(e).bind((function(e){return yl(e,Mt)})).exists((function(e){return c_(Wt(e,"white-space"))}))},f_=function(e,t){return hf.prevPosition(e.dom(),t).isNone()},h_=function(e,t){return hf.nextPosition(e.dom(),t).isNone()},p_=function(e,t){return f_(e,t)||h_(e,t)||PO(e,t)||_O(e,t)||HN(e,t)||IN(e,t)},m_=function(e,t){return!d_(t)&&(p_(e,t)||l_(e,t)||u_(e,t))},g_=function(e,t){return!d_(t)&&(PO(e,t)||DO(e,t)||HN(e,t)||l_(e,t))},v_=function(e){var t=e.container(),n=e.offset();return we.isText(t)&&n<t.data.length?sc(t,n+1):e},y_=function(e,t){var n=v_(t);return!d_(n)&&(_O(e,n)||LO(e,n)||IN(e,n)||u_(e,n))},b_=function(e,t){return g_(e,t)||y_(e,t)},w_=function(e,t){return Cy(e.charAt(t))},C_=function(e){var t=e.container();return we.isText(t)&&tt(t.data,o_)},x_=function(e){var t=e.split("");return _(t,(function(e,n){return Cy(e)&&n>0&&n<t.length-1&&Ey(t[n-1])&&Ey(t[n+1])?" ":e})).join("")},E_=function(e,t){var n=t.data,r=sc(t,0);return!(!w_(n,0)||b_(e,r))&&(t.data=" "+n.slice(1),!0)},S_=function(e){var t=e.data,n=x_(t);return n!==t&&(e.data=n,!0)},T_=function(e,t){var n=t.data,r=sc(t,n.length-1);return!(!w_(n,n.length-1)||b_(e,r))&&(t.data=n.slice(0,-1)+" ",!0)},k_=function(e,t){return g.some(t).filter(C_).bind((function(t){var n=t.container(),r=E_(e,n)||S_(n)||T_(e,n);return r?g.some(t):g.none()}))},z_=function(e){var t=Ct.fromDom(e.getBody());e.selection.isCollapsed()&&k_(t,sc.fromRangeStart(e.selection.getRng())).each((function(t){e.selection.setRng(t.toRange())}))},M_=function(e){return function(t){return t.fold((function(t){return hf.prevPosition(e.dom(),uc.before(t))}),(function(e){return hf.firstPositionIn(e)}),(function(e){return hf.lastPositionIn(e)}),(function(t){return hf.nextPosition(e.dom(),uc.after(t))}))}},N_=function(e,t){return function(n){return m_(e,n)?r_(t):i_(t)}},A_=function(e){return function(t){return e.selection.setRng(t.toRange()),e.nodeChanged(),!0}},O_=function(e){var t=uc.fromRangeStart(e.selection.getRng()),n=Ct.fromDom(e.getBody());if(e.selection.isCollapsed()){var r=s($k.isInlineTarget,e),i=uc.fromRangeStart(e.selection.getRng());return cz.readLocation(r,e.getBody(),i).bind(M_(n)).bind(N_(n,t)).exists(A_(e))}return!1},P_=function(e,t){XM.execute([{keyCode:by.SPACEBAR,action:XM.action(O_,e)}],t).each((function(e){t.preventDefault()}))},__=function(e){e.on("keydown",(function(t){!1===t.isDefaultPrevented()&&P_(e,t)}))},D_={setup:__},L_=function(e){return wl(Ct.fromDom(e.getBody()),"*[data-mce-caret]").fold(o(null),(function(e){return e.dom()}))},B_=function(e){e.selection.setRng(e.selection.getRng())},R_=function(e,t){t.hasAttribute("data-mce-caret")&&(ou(t),B_(e),e.selection.scrollIntoView(t))},I_=function(e,t){var n=L_(e);if(n)return"compositionstart"===t.type?(t.preventDefault(),t.stopPropagation(),void R_(e,n)):void(Kl(n)&&(R_(e,n),e.undoManager.add()))},H_=function(e){e.on("keyup compositionstart",s(I_,e))},V_={setup:H_},$_=mt().browser,F_=function(e){var t=tl((function(){e.composing||z_(e)}),0);$_.isIE()&&(e.on("keypress",(function(e){t.throttle()})),e.on("remove",(function(e){t.cancel()})))},j_=function(e){F_(e),e.on("input",(function(t){!1===t.isComposing&&z_(e)}))},U_=function(e,t){XM.execute([{keyCode:by.END,action:rM(e,!0)},{keyCode:by.HOME,action:rM(e,!1)}],t).each((function(e){t.preventDefault()}))},q_=function(e){e.on("keydown",(function(t){!1===t.isDefaultPrevented()&&U_(e,t)}))},W_={setup:q_},G_=function(e){var t=Mz.setupSelectedState(e);V_.setup(e),ZM.setup(e,t),$O.setup(e,t),t_.setup(e),D_.setup(e),j_(e),W_.setup(e)},X_={setup:G_},Y_=function(e){var t=Vr.each,r=by.BACKSPACE,i=by.DELETE,o=e.dom,a=e.selection,s=e.settings,l=e.parser,u=gr.gecko,c=gr.ie,d=gr.webkit,f="data:text/mce-internal,",h=c?"Text":"URL",p=function(t,n){try{e.getDoc().execCommand(t,!1,n)}catch(r){}},m=function(e){return e.isDefaultPrevented()},g=function(t){var n,r;t.dataTransfer&&(e.selection.isCollapsed()&&"IMG"===t.target.tagName&&a.select(t.target),n=e.selection.getContent(),n.length>0&&(r=f+escape(e.id)+","+escape(n),t.dataTransfer.setData(h,r)))},v=function(e){var t;return e.dataTransfer&&(t=e.dataTransfer.getData(h),t&&t.indexOf(f)>=0)?(t=t.substr(f.length).split(","),{id:unescape(t[0]),html:unescape(t[1])}):null},y=function(t,n){e.queryCommandSupported("mceInsertClipboardContent")?e.execCommand("mceInsertClipboardContent",!1,{content:t,internal:n}):e.execCommand("mceInsertContent",!1,t)},b=function(){var t=function(e){var t=o.create("body"),n=e.cloneContents();return t.appendChild(n),a.serializer.serialize(t,{format:"html"})},n=function(n){var r=t(n),i=o.createRng();i.selectNode(e.getBody());var a=t(i);return r===a};e.on("keydown",(function(t){var a,s,l=t.keyCode;if(!m(t)&&(l===i||l===r)){if(a=e.selection.isCollapsed(),s=e.getBody(),a&&!o.isEmpty(s))return;if(!a&&!n(e.selection.getRng()))return;t.preventDefault(),e.setContent(""),s.firstChild&&o.isBlock(s.firstChild)?e.selection.setCursorLocation(s.firstChild,0):e.selection.setCursorLocation(s,0),e.nodeChanged()}}))},w=function(){e.shortcuts.add("meta+a",null,"SelectAll")},C=function(){e.inline||o.bind(e.getDoc(),"mousedown mouseup",(function(t){var n;if(t.target===e.getDoc().documentElement)if(n=a.getRng(),e.getBody().focus(),"mousedown"===t.type){if(Yl(n.startContainer))return;a.placeCaretAt(t.clientX,t.clientY)}else a.setRng(n)}))},x=function(){e.on("keydown",(function(t){if(!m(t)&&t.keyCode===r){if(!e.getBody().getElementsByTagName("hr").length)return;if(a.isCollapsed()&&0===a.getRng().startOffset){var n=a.getNode(),i=n.previousSibling;if("HR"===n.nodeName)return o.remove(n),void t.preventDefault();i&&i.nodeName&&"hr"===i.nodeName.toLowerCase()&&(o.remove(i),t.preventDefault())}}}))},E=function(){n.Range.prototype.getClientRects||e.on("mousedown",(function(t){if(!m(t)&&"HTML"===t.target.nodeName){var n=e.getBody();n.blur(),sr.setEditorTimeout(e,(function(){n.focus()}))}}))},S=function(){e.on("click",(function(t){var n=t.target;/^(IMG|HR)$/.test(n.nodeName)&&"false"!==o.getContentEditableParent(n)&&(t.preventDefault(),e.selection.select(n),e.nodeChanged()),"A"===n.nodeName&&o.hasClass(n,"mce-item-anchor")&&(t.preventDefault(),a.select(n))}))},T=function(){var n=function(){var n=o.getAttribs(a.getStart().cloneNode(!1));return function(){var r=a.getStart();r!==e.getBody()&&(o.setAttrib(r,"style",null),t(n,(function(e){r.setAttributeNode(e.cloneNode(!0))})))}},r=function(){return!a.isCollapsed()&&o.getParent(a.getStart(),o.isBlock)!==o.getParent(a.getEnd(),o.isBlock)};e.on("keypress",(function(t){var i;if(!m(t)&&(8===t.keyCode||46===t.keyCode)&&r())return i=n(),e.getDoc().execCommand("delete",!1,null),i(),t.preventDefault(),!1})),o.bind(e.getDoc(),"cut",(function(t){var i;!m(t)&&r()&&(i=n(),sr.setEditorTimeout(e,(function(){i()})))}))},k=function(){e.on("keydown",(function(e){if(!m(e)&&e.keyCode===r&&a.isCollapsed()&&0===a.getRng().startOffset){var t=a.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}}))},z=function(){e.on("keydown",(function(t){var n,r,i,s,l;if(!m(t)&&t.keyCode===by.BACKSPACE&&(n=a.getRng(),r=n.startContainer,i=n.startOffset,s=o.getRoot(),l=r,n.collapsed&&0===i)){while(l&&l.parentNode&&l.parentNode.firstChild===l&&l.parentNode!==s)l=l.parentNode;"BLOCKQUOTE"===l.tagName&&(e.formatter.toggle("blockquote",null,l),n=o.createRng(),n.setStart(r,0),n.setEnd(r,0),a.setRng(n))}}))},M=function(){var t=function(){p("StyleWithCSS",!1),p("enableInlineTableEditing",!1),s.object_resizing||p("enableObjectResizing",!1)};s.readonly||e.on("BeforeExecCommand mousedown",t)},N=function(){var n=function(){t(o.select("a"),(function(e){var t=e.parentNode,n=o.getRoot();if(t.lastChild===e){while(t&&!o.isBlock(t)){if(t.parentNode.lastChild!==t||t===n)return;t=t.parentNode}o.add(t,"br",{"data-mce-bogus":1})}}))};e.on("SetContent ExecCommand",(function(e){"setcontent"!==e.type&&"mceInsertLink"!==e.command||n()}))},A=function(){s.forced_root_block&&e.on("init",(function(){p("DefaultParagraphSeparator",Sp.getForcedRootBlock(e))}))},O=function(){e.on("keyup focusin mouseup",(function(e){by.modifierPressed(e)||a.normalize()}),!0)},P=function(){e.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")},_=function(){e.inline||e.on("keydown",(function(){n.document.activeElement===n.document.body&&e.getWin().focus()}))},D=function(){e.inline||(e.contentStyles.push("body {min-height: 150px}"),e.on("click",(function(t){var n;if("HTML"===t.target.nodeName){if(gr.ie>11)return void e.getBody().focus();n=e.selection.getRng(),e.getBody().focus(),e.selection.setRng(n),e.selection.normalize(),e.nodeChanged()}})))},L=function(){gr.mac&&e.on("keydown",(function(t){if(by.metaKeyPressed(t)&&!t.shiftKey&&(37===t.keyCode||39===t.keyCode)){t.preventDefault();var n=e.selection.getSel();n.modify("move",37===t.keyCode?"backward":"forward","lineboundary")}}))},B=function(){p("AutoUrlDetect",!1)},R=function(){e.on("click",(function(e){var t=e.target;do{if("A"===t.tagName)return void e.preventDefault()}while(t=t.parentNode)})),e.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")},I=function(){e.on("init",(function(){e.dom.bind(e.getBody(),"submit",(function(e){e.preventDefault()}))}))},H=function(){l.addNodeFilter("br",(function(e){var t=e.length;while(t--)"Apple-interchange-newline"===e[t].attr("class")&&e[t].remove()}))},V=function(){e.on("dragstart",(function(e){g(e)})),e.on("drop",(function(t){if(!m(t)){var n=v(t);if(n&&n.id!==e.id){t.preventDefault();var r=WS.fromPoint(t.x,t.y,e.getDoc());a.setRng(r),y(n.html,!0)}}}))},$=function(){},F=function(){var t;return!(!u||e.removed)&&(t=e.selection.getSel(),!t||!t.rangeCount||0===t.rangeCount)};return z(),b(),gr.windowsPhone||O(),d&&(C(),S(),A(),I(),k(),H(),gr.iOS?(_(),D(),R()):w()),gr.ie>=11&&(D(),k()),gr.ie&&(w(),B(),V()),u&&(x(),E(),T(),M(),N(),P(),L(),k()),{refreshContentEditable:$,isHidden:F}},K_=function(e){return we.isElement(e)&&ai(Ct.fromDom(e))},Z_=function(e){var t=e.selection.getRng(),n=sc.fromRangeStart(t),r=sc.fromRangeEnd(t);if(sc.isElementPosition(n)){var i=n.container();K_(i)&&hf.firstPositionIn(i).each((function(e){return t.setStart(e.container(),e.offset())}))}if(sc.isElementPosition(r)){i=n.container();K_(i)&&hf.lastPositionIn(i).each((function(e){return t.setEnd(e.container(),e.offset())}))}e.selection.setRng(Jx.normalize(t))},Q_=function(e){e.on("click",(function(t){t.detail>=3&&Z_(e)}))},J_=function(e){e.on("click",(function(t){e.dom.getParent(t.target,"details")&&t.preventDefault()}))},eD=function(e){e.parser.addNodeFilter("details",(function(e){D(e,(function(e){e.attr("data-mce-open",e.attr("open")),e.attr("open","open")}))})),e.serializer.addNodeFilter("details",(function(e){D(e,(function(e){var t=e.attr("data-mce-open");e.attr("open",b(t)?t:null),e.attr("data-mce-open",null)}))}))},tD=function(e){J_(e),eD(e)},nD=Os.DOM,rD=function(e,t){var n=Ct.fromDom(e.getDoc().head),r=Ct.fromTag("style");$t(r,"type","text/css"),rs(r,Ct.fromText(t)),rs(n,r)},iD=function(e){var t=KE(e.settings,e.schema);return t.addAttributeFilter("src,href,style,tabindex",(function(t,n){var r,i,o,a=t.length,s=e.dom;while(a--)if(r=t[a],i=r.attr(n),o="data-mce-"+n,!r.attr(o)){if(0===i.indexOf("data:")||0===i.indexOf("blob:"))continue;"style"===n?(i=s.serializeStyle(s.parseStyle(i),r.name),i.length||(i=null),r.attr(o,i),r.attr(n,i)):"tabindex"===n?(r.attr(o,i),r.attr(n,null)):r.attr(o,e.convertURL(i,n,r.name))}})),t.addNodeFilter("script",(function(e){var t,n,r=e.length;while(r--)t=e[r],n=t.attr("type")||"no/type",0!==n.indexOf("mce-")&&t.attr("type","mce-"+n)})),t.addNodeFilter("#cdata",(function(e){var t,n=e.length;while(n--)t=e[n],t.type=8,t.name="#comment",t.value="[CDATA["+t.value+"]]"})),t.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",(function(t){var n,r=t.length,i=e.schema.getNonEmptyElements();while(r--)n=t[r],n.isEmpty(i)&&0===n.getAll("br").length&&(n.append(new Ah("br",1)).shortEnded=!0)})),t},oD=function(e){e.settings.auto_focus&&sr.setEditorTimeout(e,(function(){var t;t=!0===e.settings.auto_focus?e:e.editorManager.get(e.settings.auto_focus),t.destroyed||t.focus()}),100)},aD=function(e){e.bindPendingEventDelegates(),e.initialized=!0,e.fire("init"),e.focus(!0),e.nodeChanged({initial:!0}),e.execCallback("init_instance_callback",e),oD(e)},sD=function(e){return e.inline?nD.styleSheetLoader:e.dom.styleSheetLoader},lD=function(e,t){var r,i,o=e.settings,a=e.getElement(),s=e.getDoc();o.inline||(e.getElement().style.visibility=e.orgVisibility),t||e.inline||(s.open(),s.write(e.iframeHTML),s.close()),e.inline&&(e.on("remove",(function(){var e=this.getBody();nD.removeClass(e,"mce-content-body"),nD.removeClass(e,"mce-edit-focus"),nD.setAttrib(e,"contentEditable",null)})),nD.addClass(a,"mce-content-body"),e.contentDocument=s=n.document,e.contentWindow=n.window,e.bodyElement=a,e.contentAreaContainer=a,o.root_name=a.nodeName.toLowerCase()),r=e.getBody(),r.disabled=!0,e.readonly=o.readonly,e.readonly||(e.inline&&"static"===nD.getStyle(r,"position",!0)&&(r.style.position="relative"),r.contentEditable=e.getParam("content_editable_state",!0)),r.disabled=!1,e.editorUpload=Kv(e),e.schema=Fi(o),e.dom=Os(s,{keep_values:!0,url_converter:e.convertURL,url_converter_scope:e,hex_colors:o.force_hex_style_colors,update_styles:!0,root_element:e.inline?e.getBody():null,collect:function(){return e.inline},schema:e.schema,contentCssCors:Sp.shouldUseContentCssCors(e),referrerPolicy:Sp.getReferrerPolicy(e),onSetAttrib:function(t){e.fire("SetAttrib",t)}}),e.parser=iD(e),e.serializer=iS(o,e),e.selection=gk(e.dom,e.getWin(),e.serializer,e),e.annotator=kh(e),e.formatter=TE(e),e.undoManager=Hw(e),e._nodeChangeDispatcher=new yy(e),e._selectionOverrides=Yb(e),tD(e),Q_(e),X_.setup(e),ly.setup(e),e.fire("PreInit"),o.browser_spellcheck||o.gecko_spellcheck||(s.body.spellcheck=!1,nD.setAttrib(r,"spellcheck","false")),e.quirks=Y_(e),e.fire("PostRender");var l=Sp.getDirectionality(e);void 0!==l&&(r.dir=l),o.protect&&e.on("BeforeSetContent",(function(e){Vr.each(o.protect,(function(t){e.content=e.content.replace(t,(function(e){return"\x3c!--mce:protected "+escape(e)+"--\x3e"}))}))})),e.on("SetContent",(function(){e.addVisual(e.getBody())})),e.load({initial:!0,format:"html"}),e.startContent=e.getContent({format:"raw"}),e.on("compositionstart compositionend",(function(t){e.composing="compositionstart"===t.type})),e.contentStyles.length>0&&(i="",Vr.each(e.contentStyles,(function(e){i+=e+"\r\n"})),e.dom.addStyle(i)),sD(e).loadAll(e.contentCSS,(function(t){aD(e)}),(function(t){aD(e)})),o.content_style&&rD(e,o.content_style)},uD={initContentBody:lD},cD=Os.DOM,dD=function(e,t){if(n.document.domain!==n.window.location.hostname&&gr.browser.isIE()){var r=Wv.uuid("mce");e[r]=function(){uD.initContentBody(e)};var i='javascript:(function(){document.open();document.domain="'+n.document.domain+'";var ed = window.parent.tinymce.get("'+e.id+'");document.write(ed.iframeHTML);document.close();ed.'+r+"(true);})()";return cD.setAttrib(t,"src",i),!0}return!1},fD=function(e,t,n,r){var i=Ct.fromTag("iframe");return Ft(i,r),Ft(i,{id:e+"_ifr",frameBorder:"0",allowTransparency:"true",title:t}),cl(i,"tox-edit-area__iframe"),i},hD=function(e){var t,n,r;return r=Sp.getDocType(e)+"<html><head>",Sp.getDocumentBaseUrl(e)!==e.documentBaseUrl&&(r+='<base href="'+e.documentBaseURI.getURI()+'" />'),r+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />',t=Sp.getBodyId(e),n=Sp.getBodyClass(e),Sp.getContentSecurityPolicy(e)&&(r+='<meta http-equiv="Content-Security-Policy" content="'+Sp.getContentSecurityPolicy(e)+'" />'),r+='</head><body id="'+t+'" class="mce-content-body '+n+'" data-id="'+e.id+'"><br></body></html>',r},pD=function(e,t){var n=e.editorManager.translate("Rich Text Area. Press ALT-0 for help."),r=fD(e.id,n,t.height,Sp.getIframeAttrs(e)).dom();r.onload=function(){r.onload=null,e.fire("load")};var i=dD(e,r);return e.contentAreaContainer=t.iframeContainer,e.iframeElement=r,e.iframeHTML=hD(e),cD.add(t.iframeContainer,r),i},mD=function(e,t){var n=pD(e,t);t.editorContainer&&(cD.get(t.editorContainer).style.display=e.orgDisplay,e.hidden=cD.isHidden(t.editorContainer)),e.getElement().style.display="none",cD.setAttrib(e.id,"aria-hidden","true"),n||uD.initContentBody(e)},gD={init:mD},vD=function(e){return/^[a-z0-9\-]+$/i.test(e)},yD=function(e){var t=Sp.getContentCss(e),n=e.editorManager.baseURL+"/skins/content",r=e.editorManager.suffix,i="content"+r+".css",o=!0===e.inline;return _(t,(function(t){return vD(t)&&!o?n+"/"+t+"/"+i:e.documentBaseURI.toAbsolute(t)}))},bD=function(e){e.contentCSS=e.contentCSS.concat(yD(e))},wD=Os.DOM,CD=function(e,t,n){var r=Nv.get(n),i=Nv.urls[n]||e.documentBaseUrl.replace(/\/$/,"");if(n=Vr.trim(n),r&&-1===Vr.inArray(t,n)){if(Vr.each(Nv.dependencies(n),(function(n){CD(e,t,n)})),e.plugins[n])return;try{var o=new r(e,i,e.$);e.plugins[n]=o,o.init&&(o.init(e,i),t.push(n))}catch(GR){Tv.pluginInitError(e,n,GR)}}},xD=function(e){return e.replace(/^\-/,"")},ED=function(e){var t=[];Vr.each(e.settings.plugins.split(/[ ,]/),(function(n){CD(e,t,xD(n))}))},SD=function(e){var t=Vr.trim(e.settings.icons),n=e.ui.registry.getAll().icons,r=kv(),i=Q(Q({},r),Mv.get(t).icons);Pt(i,(function(t,r){Rt(n,r)||e.ui.registry.addIcon(r,t)}))},TD=function(e){var t=e.settings.theme;if(b(t)){e.settings.theme=xD(t);var n=Av.get(t);e.theme=new n(e,Av.urls[t]),e.theme.init&&e.theme.init(e,Av.urls[t]||e.documentBaseUrl.replace(/\/$/,""),e.$)}else e.theme={}},kD=function(e){return e.theme.renderUI()},zD=function(e){var t=e.getElement(),n=e.settings.theme,r=n(e,t);return r.editorContainer.nodeType&&(r.editorContainer.id=r.editorContainer.id||e.id+"_parent"),r.iframeContainer&&r.iframeContainer.nodeType&&(r.iframeContainer.id=r.iframeContainer.id||e.id+"_iframecontainer"),r.height=r.iframeHeight?r.iframeHeight:t.offsetHeight,r},MD=function(e){return{editorContainer:e,iframeContainer:e}},ND=function(e){var t=wD.create("div");return wD.insertAfter(t,e),MD(t)},AD=function(e){var t=e.getElement();return e.inline?MD(null):ND(t)},OD=function(e){var t=e.getElement();return e.orgDisplay=t.style.display,b(e.settings.theme)?kD(e):S(e.settings.theme)?zD(e):AD(e)},PD=function(e){e.fire("ScriptsLoaded"),SD(e),TD(e),ED(e);var t=OD(e);return e.editorContainer=t.editorContainer?t.editorContainer:null,bD(e),e.inline?uD.initContentBody(e):gD.init(e,t)},_D={init:PD},DD=Os.DOM,LD=function(e){return"-"===e.charAt(0)},BD=function(e,t){var n=Sp.getLanguageCode(t),i=Sp.getLanguageUrl(t);if(!1===Zs.hasCode(n)&&"en"!==n){var o=""!==i?i:t.editorManager.baseURL+"/langs/"+n+".js";e.add(o,r,void 0,(function(){Tv.languageLoadError(o,n)}))}},RD=function(e,t,n,r){var i=t.settings,o=i.theme;if(b(o)){if(!LD(o)&&!Av.urls.hasOwnProperty(o)){var a=i.theme_url;a?Av.load(o,t.documentBaseURI.toAbsolute(a)):Av.load(o,"themes/"+o+"/theme"+n+".js")}e.loadQueue((function(){Av.waitFor(o,r)}))}else r()},ID=function(e){return g.from(Sp.getIconsUrl(e)).filter((function(e){return e.length>0})).map((function(e){return{url:e,name:g.none()}}))},HD=function(e){return g.from(Sp.getIconPackName(e)).filter((function(e){return e.length>0&&!Mv.has(e)})).map((function(t){return{url:e.editorManager.baseURL+"/icons/"+t+"/icons.js",name:g.some(t)}}))},VD=function(e,t){ID(t).orThunk((function(){return HD(t)})).each((function(t){e.add(t.url,r,void 0,(function(){Tv.iconsLoadError(t.url,t.name.getOrUndefined())}))}))},$D=function(e,t){C(e.plugins)&&(e.plugins=e.plugins.join(" ")),Vr.each(e.external_plugins,(function(t,n){Nv.load(n,t,r,void 0,(function(){Tv.pluginLoadError(n,t)})),e.plugins+=" "+n})),Vr.each(e.plugins.split(/[ ,]/),(function(e){if(e=Vr.trim(e),e&&!Nv.urls[e])if(LD(e)){e=e.substr(1,e.length);var n=Nv.dependencies(e);Vr.each(n,(function(e){var n={prefix:"plugins/",resource:e,suffix:"/plugin"+t+".js"};e=Nv.createUrl(n,e),Nv.load(e.resource,e,r,void 0,(function(){Tv.pluginLoadError(e.prefix+e.resource+e.suffix,e.resource)}))}))}else{var i={prefix:"plugins/",resource:e,suffix:"/plugin"+t+".js"};Nv.load(e,i,r,void 0,(function(){Tv.pluginLoadError(i.prefix+i.resource+i.suffix,e)}))}}))},FD=function(e,t){var n=Hs.ScriptLoader;RD(n,e,t,(function(){BD(n,e),VD(n,e),$D(e.settings,t),n.loadQueue((function(){e.removed||_D.init(e)}),e,(function(){e.removed||_D.init(e)}))}))},jD=function(e){var t=e.settings,r=e.id;Zs.setCode(Sp.getLanguageCode(e));var i=function(){DD.unbind(n.window,"ready",i),e.render()};if(xo.Event.domLoaded){if(e.getElement()&&gr.contentEditable){t.inline?e.inline=!0:(e.orgVisibility=e.getElement().style.visibility,e.getElement().style.visibility="hidden");var o=e.getElement().form||DD.getParent(r,"form");o&&(e.formElement=o,t.hidden_input&&!we.isTextareaOrInput(e.getElement())&&(DD.insertAfter(DD.create("input",{type:"hidden",name:r}),r),e.hasHiddenInput=!0),e.formEventDelegate=function(t){e.fire(t.type,t)},DD.bind(o,"submit reset",e.formEventDelegate),e.on("reset",(function(){e.resetContent()})),!t.submit_patch||o.submit.nodeType||o.submit.length||o._mceOldSubmit||(o._mceOldSubmit=o.submit,o.submit=function(){return e.editorManager.triggerSave(),e.setDirty(!1),o._mceOldSubmit(o)})),e.windowManager=pv(e),e.notificationManager=fv(e),"xml"===t.encoding&&e.on("GetContent",(function(e){e.save&&(e.content=DD.encode(e.content))})),t.add_form_submit_trigger&&e.on("submit",(function(){e.initialized&&e.save()})),t.add_unload_trigger&&(e._beforeUnload=function(){!e.initialized||e.destroyed||e.isHidden()||e.save({format:"raw",no_events:!0,set_dirty:!1})},e.editorManager.on("BeforeUnload",e._beforeUnload)),e.editorManager.add(e),FD(e,e.suffix)}}else DD.bind(n.window,"ready",i)},UD={render:jD},qD="data-mce-contenteditable",WD=function(e,t,n){hl(e,t)&&!1===n?fl(e,t):n&&cl(e,t)},GD=function(e,t,n){try{e.getDoc().execCommand(t,!1,n)}catch(r){}},XD=function(e,t){e.dom().contentEditable=t?"true":"false"},YD=function(e){D(ml(e,'*[contenteditable="true"]'),(function(e){$t(e,qD,"true"),XD(e,!1)}))},KD=function(e){D(ml(e,"*["+qD+'="true"]'),(function(e){qt(e,qD),XD(e,!0)}))},ZD=function(e){g.from(e.selection.getNode()).each((function(e){e.removeAttribute("data-mce-selected")}))},QD=function(e){e.selection.setRng(e.selection.getRng())},JD=function(e,t){var n=Ct.fromDom(e.getBody());WD(n,"mce-content-readonly",t),t?(e.selection.controlSelection.hideResizeRect(),e._selectionOverrides.hideFakeCaret(),ZD(e),e.readonly=!0,XD(n,!1),YD(n)):(e.readonly=!1,XD(n,!0),KD(n),GD(e,"StyleWithCSS",!1),GD(e,"enableInlineTableEditing",!1),GD(e,"enableObjectResizing",!1),Qm.hasEditorOrUiFocus(e)&&e.focus(),QD(e),e.nodeChanged())},eL=function(e){return!0===e.readonly},tL=function(e){e.parser.addAttributeFilter("contenteditable",(function(t){eL(e)&&D(t,(function(e){e.attr(qD,e.attr("contenteditable")),e.attr("contenteditable","false")}))})),e.serializer.addAttributeFilter(qD,(function(t){eL(e)&&D(t,(function(e){e.attr("contenteditable",e.attr(qD))}))})),e.serializer.addTempAttr(qD)},nL=function(e){e.serializer?tL(e):e.on("PreInit",(function(){tL(e)}))},rL=function(e){return"click"===e.type},iL=function(e){var t=e.target;rL(e)&&"A"===t.tagName&&!by.metaKeyPressed(e)&&e.preventDefault()},oL=function(e){e.on("ShowCaret",(function(t){eL(e)&&t.preventDefault()})),e.on("ObjectSelected",(function(t){eL(e)&&t.preventDefault()}))},aL=["design","readonly"],sL=function(e,t,r,i){var o=r[t.get()],a=r[i];try{a.activate()}catch(GR){return void n.console.error("problem while activating editor mode "+i+":",GR)}o.deactivate(),o.editorReadOnly!==a.editorReadOnly&&JD(e,a.editorReadOnly),t.set(i),hg.fireSwitchMode(e,i)},lL=function(e,t,n,r){if(r!==n.get()){if(!Rt(t,r))throw new Error("Editor mode '"+r+"' is invalid");e.initialized?sL(e,n,t,r):e.on("init",(function(){return sL(e,n,t,r)}))}},uL=function(e,t,r){var i;if(O(aL,t))throw new Error("Cannot override default mode "+t);return Q(Q({},e),(i={},i[t]=Q(Q({},r),{deactivate:function(){try{r.deactivate()}catch(GR){n.console.error("problem while deactivating editor mode "+t+":",GR)}}}),i))},cL=function(e){var t=Ce("design"),n=Ce({design:{activate:r,deactivate:r,editorReadOnly:!1},readonly:{activate:r,deactivate:r,editorReadOnly:!0}});return nL(e),oL(e),{isReadOnly:function(){return eL(e)},set:function(r){return lL(e,n.get(),t,r)},get:function(){return t.get()},register:function(e,t){n.set(uL(n.get(),e,t))}}},dL=function(e){return e.firstChild&&e.firstChild===e.lastChild},fL=function(e){return"br"===e.name||" "===e.value},hL=function(e,t){var n=e.getBlockElements();return n[t.name]&&dL(t)&&fL(t.firstChild)},pL=function(e,t){var n=e.getNonEmptyElements();return t&&(t.isEmpty(n)||hL(e,t))},mL=function(e,t){var n=t.firstChild,r=t.lastChild;return n&&"meta"===n.name&&(n=n.next),r&&"mce_marker"===r.attr("id")&&(r=r.prev),pL(e,r)&&(r=r.prev),!(!n||n!==r)&&("ul"===n.name||"ol"===n.name)},gL=function(e){var t=e.firstChild,n=e.lastChild;return t&&"META"===t.nodeName&&t.parentNode.removeChild(t),n&&"mce_marker"===n.id&&n.parentNode.removeChild(n),e},vL=function(e,t,n){var r=t.serialize(n),i=e.createFragment(r);return gL(i)},yL=function(e){return Vr.grep(e.childNodes,(function(e){return"LI"===e.nodeName}))},bL=function(e){return" "===e.data||we.isBr(e)},wL=function(e){return e&&e.firstChild&&e.firstChild===e.lastChild&&bL(e.firstChild)},CL=function(e){return!e.firstChild||wL(e)},xL=function(e){return e.length>0&&CL(e[e.length-1])?e.slice(0,-1):e},EL=function(e,t){var n=e.getParent(t,e.isBlock);return n&&"LI"===n.nodeName?n:null},SL=function(e,t){return!!EL(e,t)},TL=function(e,t){var n=t.cloneRange(),r=t.cloneRange();return n.setStartBefore(e),r.setEndAfter(e),[n.cloneContents(),r.cloneContents()]},kL=function(e,t){var n=uc.before(e),r=Qd(t),i=r.next(n);return i?i.toRange():null},zL=function(e,t){var n=uc.after(e),r=Qd(t),i=r.prev(n);return i?i.toRange():null},ML=function(e,t,n,r){var i=TL(e,r),o=e.parentNode;return o.insertBefore(i[0],e),Vr.each(t,(function(t){o.insertBefore(t,e)})),o.insertBefore(i[1],e),o.removeChild(e),zL(t[t.length-1],n)},NL=function(e,t,n){var r=e.parentNode;return Vr.each(t,(function(t){r.insertBefore(t,e)})),kL(e,n)},AL=function(e,t,n,r){return r.insertAfter(t.reverse(),e),zL(t[0],n)},OL=function(e,t,n,r){var i=vL(t,e,r),o=EL(t,n.startContainer),a=xL(yL(i.firstChild)),s=1,l=2,u=t.getRoot(),c=function(e){var r=uc.fromRangeStart(n),i=Qd(t.getRoot()),a=e===s?i.prev(r):i.next(r);return!a||EL(t,a.getNode())!==o};return c(s)?NL(o,a,u):c(l)?AL(o,a,u,t):ML(o,a,u,n)},PL={isListFragment:mL,insertAtCaret:OL,isParentBlockLi:SL,trimListItems:xL,listItems:yL},_L=function(e,t){return we.isText(e)&&" "===e.nodeValue[t-1]},DL=function(e,t){var n,r;n=e.startContainer,r=e.startOffset;var i=function(e){return n[e]&&3===n[e].nodeType};return 3===n.nodeType&&(r>0?t=t.replace(/^ /," "):i("previousSibling")||(t=t.replace(/^ /," ")),r<n.length?t=t.replace(/ (<br>|)$/," "):i("nextSibling")||(t=t.replace(/( | )(<br>|)$/," "))),t},LL=function(e,t){var n,r;return n=e.startContainer,r=e.startOffset,3===n.nodeType&&e.collapsed&&(" "===n.data[r]?(n.deleteData(r,1),/[\u00a0| ]$/.test(t)||(t+=" ")):" "===n.data[r-1]&&(n.deleteData(r-1,1),/[\u00a0| ]$/.test(t)||(t=" "+t))),t},BL=we.matchNodeNames(["td","th"]),RL=function(e,t){var n=e.selection.getRng(),r=n.startContainer,i=n.startOffset;n.collapsed&&_L(r,i)&&we.isText(r)&&(r.insertData(i-1," "),r.deleteData(i,1),n.setStart(r,i),n.setEnd(r,i),e.selection.setRng(n)),e.selection.setContent(t)},IL=function(e,t,n){if("all"===n.getAttribute("data-mce-bogus"))n.parentNode.insertBefore(e.dom.createFragment(t),n);else{var r=n.firstChild,i=n.lastChild;!r||r===i&&"BR"===r.nodeName?e.dom.setHTML(n,t):RL(e,t)}},HL=function(e,t){g.from(e.getParent(t,"td,th")).map(Ct.fromDom).each(Ww.trimBlockTrailingBr)},VL=function(e,t){var n=e.schema.getTextInlineElements(),r=e.dom;if(t){var i=e.getBody(),o=new mx(r);Vr.each(r.select("*[data-mce-fragment]"),(function(e){for(var t=e.parentNode;t&&t!==i;t=t.parentNode)n[e.nodeName.toLowerCase()]&&o.compare(t,e)&&r.remove(e,!0)}))}},$L=function(e){var t=e;while(t=t.walk())1===t.type&&t.attr("data-mce-fragment","1")},FL=function(e){Vr.each(e.getElementsByTagName("*"),(function(e){e.removeAttribute("data-mce-fragment")}))},jL=function(e){return!!e.getAttribute("data-mce-fragment")},UL=function(e,t){return t&&!e.schema.getShortEndedElements()[t.nodeName]},qL=function(e,t){var n,r,i,o,a,s=e.dom,l=e.selection,u=function(t){for(var n=e.getBody();t&&t!==n;t=t.parentNode)if("false"===e.dom.getContentEditable(t))return t;return null};if(t){if(e.selection.scrollIntoView(t),n=u(t),n)return s.remove(t),void l.select(n);var c=s.createRng();o=t.previousSibling,o&&3===o.nodeType?(c.setStart(o,o.nodeValue.length),gr.ie||(a=t.nextSibling,a&&3===a.nodeType&&(o.appendData(a.data),a.parentNode.removeChild(a)))):(c.setStartBefore(t),c.setEndBefore(t));var d=function(t){var n=uc.fromRangeStart(t),r=Qd(e.getBody());if(n=r.next(n),n)return n.toRange()};r=s.getParent(t,s.isBlock),s.remove(t),r&&s.isEmpty(r)&&(e.$(r).empty(),c.setStart(r,0),c.setEnd(r,0),BL(r)||jL(r)||!(i=d(c))?s.add(r,s.create("br",{"data-mce-bogus":"1"})):(c=i,s.remove(r))),l.setRng(c)}},WL=function(e,t,n){var r,i,o,a,s,l,u,c,d,f,h,p=e.selection,m=e.dom;if(/^ | $/.test(t)&&(t=DL(p.getRng(),t)),r=e.parser,h=n.merge,i=Op({validate:e.settings.validate},e.schema),f='<span id="mce_marker" data-mce-type="bookmark">​</span>',l={content:t,format:"html",selection:!0,paste:n.paste},l=e.fire("BeforeSetContent",l),l.isDefaultPrevented())e.fire("SetContent",{content:l.content,format:"html",selection:!0,paste:n.paste});else{t=l.content,-1===t.indexOf("{$caret}")&&(t+="{$caret}"),t=t.replace(/\{\$caret\}/,f),c=p.getRng();var g=c.startContainer||(c.parentElement?c.parentElement():null),v=e.getBody();g===v&&p.isCollapsed()&&m.isBlock(v.firstChild)&&UL(e,v.firstChild)&&m.isEmpty(v.firstChild)&&(c=m.createRng(),c.setStart(v.firstChild,0),c.setEnd(v.firstChild,0),p.setRng(c)),p.isCollapsed()||(e.selection.setRng(Jx.normalize(e.selection.getRng())),e.getDoc().execCommand("Delete",!1,null),t=LL(e.selection.getRng(),t)),o=p.getNode();var y={context:o.nodeName.toLowerCase(),data:n.data,insert:!0};if(s=r.parse(t,y),!0===n.paste&&PL.isListFragment(e.schema,s)&&PL.isParentBlockLi(m,o))return c=PL.insertAtCaret(i,m,e.selection.getRng(),s),e.selection.setRng(c),void e.fire("SetContent",l);if($L(s),d=s.lastChild,"mce_marker"===d.attr("id"))for(u=d,d=d.prev;d;d=d.walk(!0))if(3===d.type||!m.isBlock(d.name)){e.schema.isValidChild(d.parent.name,"span")&&d.parent.insert(u,d,"br"===d.name);break}if(e._selectionOverrides.showBlockCaretContainer(o),y.invalid){RL(e,f),o=p.getNode(),a=e.getBody(),9===o.nodeType?o=d=a:d=o;while(d!==a)o=d,d=d.parentNode;t=o===a?a.innerHTML:m.getOuterHTML(o),t=i.serialize(r.parse(t.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,(function(){return i.serialize(s)})))),o===a?m.setHTML(a,t):m.setOuterHTML(o,t)}else t=i.serialize(s),IL(e,t,o);VL(e,h),qL(e,m.get("mce_marker")),FL(e.getBody()),HL(e.dom,e.selection.getStart()),e.fire("SetContent",l),e.addVisual()}},GL=function(e){var t;return"string"!==typeof e?(t=Vr.extend({paste:e.paste,data:{paste:e.paste}},e),{content:e.content,details:t}):{content:e,details:{}}},XL=function(e,t){var n=GL(t);WL(e,n.content,n.details)},YL={insertAtCaret:XL},KL=function(e,t){e.getDoc().execCommand(t,!1,null)},ZL=function(e){RO.backspaceDelete(e,!1)||lA.backspaceDelete(e,!1)||hA.backspaceDelete(e,!1)||xA.backspaceDelete(e,!1)||zN.backspaceDelete(e,!1)||pO.backspaceDelete(e)||LN.backspaceDelete(e,!1)||MA.backspaceDelete(e,!1)||(KL(e,"Delete"),rN.paddEmptyBody(e))},QL=function(e){lA.backspaceDelete(e,!0)||hA.backspaceDelete(e,!0)||xA.backspaceDelete(e,!0)||zN.backspaceDelete(e,!0)||pO.backspaceDelete(e)||LN.backspaceDelete(e,!0)||MA.backspaceDelete(e,!0)||KL(e,"ForwardDelete")},JL={deleteCommand:ZL,forwardDeleteCommand:QL},eB=function(e,t,n){var r=function(t){return Xt(t,e)},i=function(e){return cn(Ct.fromDom(t),e)};return yl(Ct.fromDom(n),(function(e){return r(e).isSome()}),i).bind(r)},tB=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},nB=function(e,t){return/[0-9.]+px$/.test(e)?tB(72*parseInt(e,10)/96,t||0)+"pt":e},rB=function(e){return e.replace(/[\'\"\\]/g,"").replace(/,\s+/g,",")},iB=function(e,t){return g.from(Os.DOM.getStyle(t,e,!0))},oB=function(e){return function(t,n){return g.from(n).map(Ct.fromDom).filter(Mt).bind((function(n){return eB(e,t,n.dom()).or(iB(e,n.dom()))})).getOr("")}},aB={getFontSize:oB("font-size"),getFontFamily:i(rB,oB("font-family")),toPt:nB},sB=function(e){return hf.firstPositionIn(e.getBody()).map((function(e){var t=e.container();return we.isText(t)?t.parentNode:t}))},lB=function(e,t){return e.startContainer===t&&0===e.startOffset},uB=function(e){return g.from(e.selection.getRng()).bind((function(t){var n=e.getBody();return lB(t,n)?g.none():g.from(e.selection.getStart(!0))}))},cB=function(e,t){if(/^[0-9\.]+$/.test(t)){var n=parseInt(t,10);if(n>=1&&n<=7){var r=Sp.getFontStyleValues(e),i=Sp.getFontSizeClasses(e);return i?i[n-1]||t:r[n-1]||t}return t}return t},dB=function(e){var t=e.split(/\s*,\s*/);return _(t,(function(e){return-1===e.indexOf(" ")||nt(e,'"')||nt(e,"'")?e:'"'+e+'"'})).join(",")},fB=function(e,t){var n=cB(e,t);e.formatter.toggle("fontname",{value:dB(n)}),e.nodeChanged()},hB=function(e){return uB(e).fold((function(){return sB(e).map((function(t){return aB.getFontFamily(e.getBody(),t)})).getOr("")}),(function(t){return aB.getFontFamily(e.getBody(),t)}))},pB=function(e,t){e.formatter.toggle("fontsize",{value:cB(e,t)}),e.nodeChanged()},mB=function(e){return uB(e).fold((function(){return sB(e).map((function(t){return aB.getFontSize(e.getBody(),t)})).getOr("")}),(function(t){return aB.getFontSize(e.getBody(),t)}))},gB=Vr.each,vB=Vr.map,yB=Vr.inArray,bB=function(){function e(e){this.commands={state:{},exec:{},value:{}},this.editor=e,this.setupCommands(e)}return e.prototype.execCommand=function(e,t,n,r){var i,o,a=!1,s=this;if(!s.editor.removed){if(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(e)||r&&r.skip_focus?bm.restore(s.editor):s.editor.focus(),r=s.editor.fire("BeforeExecCommand",{command:e,ui:t,value:n}),r.isDefaultPrevented())return!1;if(o=e.toLowerCase(),i=s.commands.exec[o])return i(o,t,n),s.editor.fire("ExecCommand",{command:e,ui:t,value:n}),!0;if(gB(this.editor.plugins,(function(r){if(r.execCommand&&r.execCommand(e,t,n))return s.editor.fire("ExecCommand",{command:e,ui:t,value:n}),a=!0,!1})),a)return a;if(s.editor.theme&&s.editor.theme.execCommand&&s.editor.theme.execCommand(e,t,n))return s.editor.fire("ExecCommand",{command:e,ui:t,value:n}),!0;try{a=s.editor.getDoc().execCommand(e,t,n)}catch(l){}return!!a&&(s.editor.fire("ExecCommand",{command:e,ui:t,value:n}),!0)}},e.prototype.queryCommandState=function(e){var t;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(e=e.toLowerCase(),t=this.commands.state[e])return t(e);try{return this.editor.getDoc().queryCommandState(e)}catch(n){}return!1}},e.prototype.queryCommandValue=function(e){var t;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(e=e.toLowerCase(),t=this.commands.value[e])return t(e);try{return this.editor.getDoc().queryCommandValue(e)}catch(n){}}},e.prototype.addCommands=function(e,t){var n=this;t=t||"exec",gB(e,(function(e,r){gB(r.toLowerCase().split(","),(function(r){n.commands[t][r]=e}))}))},e.prototype.addCommand=function(e,t,n){var r=this;e=e.toLowerCase(),this.commands.exec[e]=function(e,i,o,a){return t.call(n||r.editor,i,o,a)}},e.prototype.queryCommandSupported=function(e){if(e=e.toLowerCase(),this.commands.exec[e])return!0;try{return this.editor.getDoc().queryCommandSupported(e)}catch(t){}return!1},e.prototype.addQueryStateHandler=function(e,t,n){var r=this;e=e.toLowerCase(),this.commands.state[e]=function(){return t.call(n||r.editor)}},e.prototype.addQueryValueHandler=function(e,t,n){var r=this;e=e.toLowerCase(),this.commands.value[e]=function(){return t.call(n||r.editor)}},e.prototype.hasCustomCommand=function(e){return e=e.toLowerCase(),!!this.commands.exec[e]},e.prototype.execNativeCommand=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=null),this.editor.getDoc().execCommand(e,t,n)},e.prototype.isFormatMatch=function(e){return this.editor.formatter.match(e)},e.prototype.toggleFormat=function(e,t){this.editor.formatter.toggle(e,t?{value:t}:void 0),this.editor.nodeChanged()},e.prototype.storeSelection=function(e){this.selectionBookmark=this.editor.selection.getBookmark(e)},e.prototype.restoreSelection=function(){this.editor.selection.moveToBookmark(this.selectionBookmark)},e.prototype.setupCommands=function(e){var t=this;this.addCommands({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){e.undoManager.add()},"Cut,Copy,Paste":function(n){var r,i=e.getDoc();try{t.execNativeCommand(n)}catch(a){r=!0}if("paste"!==n||i.queryCommandEnabled(n)||(r=!0),r||!i.queryCommandSupported(n)){var o=e.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");gr.mac&&(o=o.replace(/Ctrl\+/g,"⌘+")),e.notificationManager.open({text:o,type:"error"})}},unlink:function(){if(e.selection.isCollapsed()){var t=e.dom.getParent(e.selection.getStart(),"a");t&&e.dom.remove(t,!0)}else e.formatter.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(n){var r=n.substring(7);"full"===r&&(r="justify"),gB("left,center,right,justify".split(","),(function(t){r!==t&&e.formatter.remove("align"+t)})),"none"!==r&&t.toggleFormat("align"+r)},"InsertUnorderedList,InsertOrderedList":function(n){var r,i;t.execNativeCommand(n),r=e.dom.getParent(e.selection.getNode(),"ol,ul"),r&&(i=r.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(i.nodeName)&&(t.storeSelection(),e.dom.split(i,r),t.restoreSelection()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){t.toggleFormat(e)},"ForeColor,HiliteColor":function(e,n,r){t.toggleFormat(e,r)},FontName:function(t,n,r){fB(e,r)},FontSize:function(t,n,r){pB(e,r)},RemoveFormat:function(t){e.formatter.remove(t)},mceBlockQuote:function(){t.toggleFormat("blockquote")},FormatBlock:function(e,n,r){return t.toggleFormat(r||"p")},mceCleanup:function(){var t=e.selection.getBookmark();e.setContent(e.getContent()),e.selection.moveToBookmark(t)},mceRemoveNode:function(n,r,i){var o=i||e.selection.getNode();o!==e.getBody()&&(t.storeSelection(),e.dom.remove(o,!0),t.restoreSelection())},mceSelectNodeDepth:function(t,n,r){var i=0;e.dom.getParent(e.selection.getNode(),(function(t){if(1===t.nodeType&&i++===r)return e.selection.select(t),!1}),e.getBody())},mceSelectNode:function(t,n,r){e.selection.select(r)},mceInsertContent:function(t,n,r){YL.insertAtCaret(e,r)},mceInsertRawHTML:function(t,n,r){e.selection.setContent("tiny_mce_marker");var i=e.getContent();e.setContent(i.replace(/tiny_mce_marker/g,(function(){return r})))},mceInsertNewLine:function(t,n,r){QP.insert(e,r)},mceToggleFormat:function(e,n,r){t.toggleFormat(r)},mceSetContent:function(t,n,r){e.setContent(r)},"Indent,Outdent":function(t){zO(e,t)},mceRepaint:function(){},InsertHorizontalRule:function(){e.execCommand("mceInsertContent",!1,"<hr />")},mceToggleVisualAid:function(){e.hasVisual=!e.hasVisual,e.addVisual()},mceReplaceContent:function(t,n,r){e.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,e.selection.getContent({format:"text"})))},mceInsertLink:function(t,n,r){var i;"string"===typeof r&&(r={href:r}),i=e.dom.getParent(e.selection.getNode(),"a"),r.href=r.href.replace(/ /g,"%20"),i&&r.href||e.formatter.remove("link"),r.href&&e.formatter.apply("link",r,i)},selectAll:function(){var t=e.dom.getParent(e.selection.getStart(),we.isContentEditableTrue);if(t){var n=e.dom.createRng();n.selectNodeContents(t),e.selection.setRng(n)}},delete:function(){JL.deleteCommand(e)},forwardDelete:function(){JL.forwardDeleteCommand(e)},mceNewDocument:function(){e.setContent("")},InsertLineBreak:function(t,n,r){return PP.insert(e,r),!0}});var n=function(t){return function(){var n=e.selection.isCollapsed()?[e.dom.getParent(e.selection.getNode(),e.dom.isBlock)]:e.selection.getSelectedBlocks(),r=vB(n,(function(n){return!!e.formatter.matchNode(n,t)}));return-1!==yB(r,!0)}};t.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify"),"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return t.isFormatMatch(e)},mceBlockQuote:function(){return t.isFormatMatch("blockquote")},Outdent:function(){return EO(e)},"InsertUnorderedList,InsertOrderedList":function(t){var n=e.dom.getParent(e.selection.getNode(),"ul,ol");return n&&("insertunorderedlist"===t&&"UL"===n.tagName||"insertorderedlist"===t&&"OL"===n.tagName)}},"state"),t.addCommands({Undo:function(){e.undoManager.undo()},Redo:function(){e.undoManager.redo()}}),t.addQueryValueHandler("FontName",(function(){return hB(e)}),this),t.addQueryValueHandler("FontSize",(function(){return mB(e)}),this)},e}(),wB=Vr.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," "),CB=function(){function e(e){this.bindings={},this.settings=e||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||c}return e.isNative=function(e){return!!wB[e.toLowerCase()]},e.prototype.fire=function(e,t){var n,r,i,o;if(e=e.toLowerCase(),t=t||{},t.type=e,t.target||(t.target=this.scope),t.preventDefault||(t.preventDefault=function(){t.isDefaultPrevented=d},t.stopPropagation=function(){t.isPropagationStopped=d},t.stopImmediatePropagation=function(){t.isImmediatePropagationStopped=d},t.isDefaultPrevented=c,t.isPropagationStopped=c,t.isImmediatePropagationStopped=c),this.settings.beforeFire&&this.settings.beforeFire(t),n=this.bindings[e],n)for(r=0,i=n.length;r<i;r++){if(o=n[r],o.once&&this.off(e,o.func),t.isImmediatePropagationStopped())return t.stopPropagation(),t;if(!1===o.func.call(this.scope,t))return t.preventDefault(),t}return t},e.prototype.on=function(e,t,n,r){var i,o,a;if(!1===t&&(t=c),t){var s={func:t};r&&Vr.extend(s,r),o=e.toLowerCase().split(" "),a=o.length;while(a--)e=o[a],i=this.bindings[e],i||(i=this.bindings[e]=[],this.toggleEvent(e,!0)),n?i.unshift(s):i.push(s)}return this},e.prototype.off=function(e,t){var n,r,i,o,a;if(e){o=e.toLowerCase().split(" "),n=o.length;while(n--){if(e=o[n],r=this.bindings[e],!e){for(i in this.bindings)this.toggleEvent(i,!1),delete this.bindings[i];return this}if(r){if(t){a=r.length;while(a--)r[a].func===t&&(r=r.slice(0,a).concat(r.slice(a+1)),this.bindings[e]=r)}else r.length=0;r.length||(this.toggleEvent(e,!1),delete this.bindings[e])}}}else{for(e in this.bindings)this.toggleEvent(e,!1);this.bindings={}}return this},e.prototype.once=function(e,t,n){return this.on(e,t,n,{once:!0})},e.prototype.has=function(e){return e=e.toLowerCase(),!(!this.bindings[e]||0===this.bindings[e].length)},e}(),xB=function(e){return e._eventDispatcher||(e._eventDispatcher=new CB({scope:e,toggleEvent:function(t,n){CB.isNative(t)&&e.toggleNativeEvent&&e.toggleNativeEvent(t,n)}})),e._eventDispatcher},EB={fire:function(e,t,n){var r=this;if(r.removed&&"remove"!==e&&"detach"!==e)return t;var i=xB(r).fire(e,t);if(!1!==n&&r.parent){var o=r.parent();while(o&&!i.isPropagationStopped())o.fire(e,i,!1),o=o.parent()}return i},on:function(e,t,n){return xB(this).on(e,t,n)},off:function(e,t){return xB(this).off(e,t)},once:function(e,t){return xB(this).once(e,t)},hasEventListeners:function(e){return xB(this).has(e)}},SB=Os.DOM,TB=function(e,t){return"selectionchange"===t?e.getDoc():!e.inline&&/^mouse|touch|click|contextmenu|drop|dragover|dragend/.test(t)?e.getDoc().documentElement:e.settings.event_root?(e.eventRoot||(e.eventRoot=SB.select(e.settings.event_root)[0]),e.eventRoot):e.getBody()},kB=function(e){return!e.hidden&&!eL(e)},zB=function(e,t,n){kB(e)?e.fire(t,n):eL(e)&&iL(n)},MB=function(e,t){var n,r;if(e.delegates||(e.delegates={}),!e.delegates[t]&&!e.removed)if(n=TB(e,t),e.settings.event_root){if(Nz||(Nz={},e.editorManager.on("removeEditor",(function(){var t;if(!e.editorManager.activeEditor&&Nz){for(t in Nz)e.dom.unbind(TB(e,t));Nz=null}}))),Nz[t])return;r=function(n){var r=n.target,i=e.editorManager.get(),o=i.length;while(o--){var a=i[o].getBody();(a===r||SB.isChildOf(r,a))&&zB(i[o],t,n)}},Nz[t]=r,SB.bind(n,t,r)}else r=function(n){zB(e,t,n)},SB.bind(n,t,r),e.delegates[t]=r},NB=Q(Q({},EB),{bindPendingEventDelegates:function(){var e=this;Vr.each(e._pendingNativeEvents,(function(t){MB(e,t)}))},toggleNativeEvent:function(e,t){var n=this;"focus"!==e&&"blur"!==e&&(t?n.initialized?MB(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&(n.dom.unbind(TB(n,e),e,n.delegates[e]),delete n.delegates[e]))},unbindAllNativeEvents:function(){var e,t=this,n=t.getBody(),r=t.dom;if(t.delegates){for(e in t.delegates)t.dom.unbind(TB(t,e),e,t.delegates[e]);delete t.delegates}!t.inline&&n&&r&&(n.onload=null,r.unbind(t.getWin()),r.unbind(t.getDoc())),r&&(r.unbind(n),r.unbind(t.getContainer()))}}),AB=Vr.each,OB=Vr.explode,PB={f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},_B=Vr.makeMap("alt,ctrl,shift,meta,access"),DB=function(){function e(e){this.shortcuts={},this.pendingPatterns=[],this.editor=e;var t=this;e.on("keyup keypress keydown",(function(e){!t.hasModifier(e)&&!t.isFunctionKey(e)||e.isDefaultPrevented()||(AB(t.shortcuts,(function(n){if(t.matchShortcut(e,n))return t.pendingPatterns=n.subpatterns.slice(0),"keydown"===e.type&&t.executeShortcutAction(n),!0})),t.matchShortcut(e,t.pendingPatterns[0])&&(1===t.pendingPatterns.length&&"keydown"===e.type&&t.executeShortcutAction(t.pendingPatterns[0]),t.pendingPatterns.shift()))}))}return e.prototype.add=function(e,t,n,r){var i,o=this;return i=n,"string"===typeof n?n=function(){o.editor.execCommand(i,!1,null)}:Vr.isArray(i)&&(n=function(){o.editor.execCommand(i[0],i[1],i[2])}),AB(OB(Vr.trim(e)),(function(e){var i=o.createShortcut(e,t,n,r);o.shortcuts[i.id]=i})),!0},e.prototype.remove=function(e){var t=this.createShortcut(e);return!!this.shortcuts[t.id]&&(delete this.shortcuts[t.id],!0)},e.prototype.parseShortcut=function(e){var t,n,r={};for(n in AB(OB(e.toLowerCase(),"+"),(function(e){e in _B?r[e]=!0:/^[0-9]{2,}$/.test(e)?r.keyCode=parseInt(e,10):(r.charCode=e.charCodeAt(0),r.keyCode=PB[e]||e.toUpperCase().charCodeAt(0))})),t=[r.keyCode],_B)r[n]?t.push(n):r[n]=!1;return r.id=t.join(","),r.access&&(r.alt=!0,gr.mac?r.ctrl=!0:r.shift=!0),r.meta&&(gr.mac?r.meta=!0:(r.ctrl=!0,r.meta=!1)),r},e.prototype.createShortcut=function(e,t,n,r){var i;return i=Vr.map(OB(e,">"),this.parseShortcut),i[i.length-1]=Vr.extend(i[i.length-1],{func:n,scope:r||this.editor}),Vr.extend(i[0],{desc:this.editor.translate(t),subpatterns:i.slice(1)})},e.prototype.hasModifier=function(e){return e.altKey||e.ctrlKey||e.metaKey},e.prototype.isFunctionKey=function(e){return"keydown"===e.type&&e.keyCode>=112&&e.keyCode<=123},e.prototype.matchShortcut=function(e,t){return!!t&&(t.ctrl===e.ctrlKey&&t.meta===e.metaKey&&(t.alt===e.altKey&&t.shift===e.shiftKey&&(!!(e.keyCode===t.keyCode||e.charCode&&e.charCode===t.charCode)&&(e.preventDefault(),!0))))},e.prototype.executeShortcutAction=function(e){return e.func?e.func.call(e.scope):null},e}(),LB=Vr.each,BB=Vr.trim,RB="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),IB={ftp:21,http:80,https:443,mailto:25},HB=function(){function e(t,r){t=BB(t),this.settings=r||{};var i=this.settings.base_uri,o=this;if(/^([\w\-]+):([^\/]{2})/i.test(t)||/^\s*#/.test(t))o.source=t;else{var a=0===t.indexOf("//");if(0!==t.indexOf("/")||a||(t=(i&&i.protocol||"http")+"://mce_host"+t),!/^[\w\-]*:?\/\//.test(t)){var s=this.settings.base_uri?this.settings.base_uri.path:new e(n.document.location.href).directory;if(this.settings.base_uri&&""==this.settings.base_uri.protocol)t="//mce_host"+o.toAbsPath(s,t);else{var l=/([^#?]*)([#?]?.*)/.exec(t);t=(i&&i.protocol||"http")+"://mce_host"+o.toAbsPath(s,l[1])+l[2]}}t=t.replace(/@@/g,"(mce_at)");var u=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(t);LB(RB,(function(e,t){var n=u[t];n&&(n=n.replace(/\(mce_at\)/g,"@@")),o[e]=n})),i&&(o.protocol||(o.protocol=i.protocol),o.userInfo||(o.userInfo=i.userInfo),o.port||"mce_host"!==o.host||(o.port=i.port),o.host&&"mce_host"!==o.host||(o.host=i.host),o.source=""),a&&(o.protocol="")}}return e.parseDataUri=function(e){var t,n=decodeURIComponent(e).split(","),r=/data:([^;]+)/.exec(n[0]);return r&&(t=r[1]),{type:t,data:n[1]}},e.getDocumentBaseUrl=function(e){var t;return t=0!==e.protocol.indexOf("http")&&"file:"!==e.protocol?e.href:e.protocol+"//"+e.host+e.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),t},e.prototype.setPath=function(e){var t=/^(.*?)\/?(\w+)?$/.exec(e);this.path=t[0],this.directory=t[1],this.file=t[2],this.source="",this.getURI()},e.prototype.toRelative=function(t){var n;if("./"===t)return t;var r=new e(t,{base_uri:this});if("mce_host"!==r.host&&this.host!==r.host&&r.host||this.port!==r.port||this.protocol!==r.protocol&&""!==r.protocol)return r.getURI();var i=this.getURI(),o=r.getURI();return i===o||"/"===i.charAt(i.length-1)&&i.substr(0,i.length-1)===o?i:(n=this.toRelPath(this.path,r.path),r.query&&(n+="?"+r.query),r.anchor&&(n+="#"+r.anchor),n)},e.prototype.toAbsolute=function(t,n){var r=new e(t,{base_uri:this});return r.getURI(n&&this.isSameOrigin(r))},e.prototype.isSameOrigin=function(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;var t=IB[this.protocol];if(t&&(this.port||t)==(e.port||t))return!0}return!1},e.prototype.toRelPath=function(e,t){var n,r,i,o=0,a="",s=e.substring(0,e.lastIndexOf("/")).split("/");if(n=t.split("/"),s.length>=n.length)for(r=0,i=s.length;r<i;r++)if(r>=n.length||s[r]!==n[r]){o=r+1;break}if(s.length<n.length)for(r=0,i=n.length;r<i;r++)if(r>=s.length||s[r]!==n[r]){o=r+1;break}if(1===o)return t;for(r=0,i=s.length-(o-1);r<i;r++)a+="../";for(r=o-1,i=n.length;r<i;r++)a+=r!==o-1?"/"+n[r]:n[r];return a},e.prototype.toAbsPath=function(e,t){var n,r,i,o=0,a=[];r=/\/$/.test(t)?"/":"";var s=e.split("/"),l=t.split("/");for(LB(s,(function(e){e&&a.push(e)})),s=a,n=l.length-1,a=[];n>=0;n--)0!==l[n].length&&"."!==l[n]&&(".."!==l[n]?o>0?o--:a.push(l[n]):o++);return n=s.length-o,i=n<=0?a.reverse().join("/"):s.slice(0,n).join("/")+"/"+a.reverse().join("/"),0!==i.indexOf("/")&&(i="/"+i),r&&i.lastIndexOf("/")!==i.length-1&&(i+=r),i},e.prototype.getURI=function(e){var t;return void 0===e&&(e=!1),this.source&&!e||(t="",e||(this.protocol?t+=this.protocol+"://":t+="//",this.userInfo&&(t+=this.userInfo+"@"),this.host&&(t+=this.host),this.port&&(t+=":"+this.port)),this.path&&(t+=this.path),this.query&&(t+="?"+this.query),this.anchor&&(t+="#"+this.anchor),this.source=t),this.source},e}(),VB=function(){var e={},t={},n={},r={},i={},o={},a={},s=function(e,t){return function(n,r){return e[n.toLowerCase()]=Q(Q({},r),{type:t})}},l=function(e,t){return r[e.toLowerCase()]=t};return{addButton:s(e,"button"),addToggleButton:s(e,"togglebutton"),addMenuButton:s(e,"menubutton"),addSplitButton:s(e,"splitbutton"),addMenuItem:s(t,"menuitem"),addNestedMenuItem:s(t,"nestedmenuitem"),addToggleMenuItem:s(t,"togglemenuitem"),addAutocompleter:s(n,"autocompleter"),addContextMenu:s(i,"contextmenu"),addContextToolbar:s(o,"contexttoolbar"),addContextForm:s(o,"contextform"),addSidebar:s(a,"sidebar"),addIcon:l,getAll:function(){return{buttons:e,menuItems:t,icons:r,popups:n,contextMenus:i,contextToolbars:o,sidebars:a}}}},$B=function(){var e=VB();return{addAutocompleter:e.addAutocompleter,addButton:e.addButton,addContextForm:e.addContextForm,addContextMenu:e.addContextMenu,addContextToolbar:e.addContextToolbar,addIcon:e.addIcon,addMenuButton:e.addMenuButton,addMenuItem:e.addMenuItem,addNestedMenuItem:e.addNestedMenuItem,addSidebar:e.addSidebar,addSplitButton:e.addSplitButton,addToggleButton:e.addToggleButton,addToggleMenuItem:e.addToggleMenuItem,getAll:e.getAll}},FB=Os.DOM,jB=Vr.extend,UB=Vr.each,qB=Vr.resolve,WB=gr.ie,GB=function(){function e(e,t,n){var r=this;this.plugins={},this.contentCSS=[],this.contentStyles=[],this.loadedCSS={},this.isNotDirty=!1,this.editorManager=n,this.documentBaseUrl=n.documentBaseURL,jB(this,NB),this.settings=Gg(this,e,this.documentBaseUrl,n.defaultSettings,t),this.settings.suffix&&(n.suffix=this.settings.suffix),this.suffix=n.suffix,this.settings.base_url&&n._setBaseUrl(this.settings.base_url),this.baseUri=n.baseURI,this.settings.referrer_policy&&(Hs.ScriptLoader._setReferrerPolicy(this.settings.referrer_policy),Os.DOM.styleSheetLoader._setReferrerPolicy(this.settings.referrer_policy)),el.languageLoad=this.settings.language_load,el.baseURL=n.baseURL,this.id=e,this.setDirty(!1),this.documentBaseURI=new HB(this.settings.document_base_url,{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=!!this.settings.inline,this.shortcuts=new DB(this),this.editorCommands=new bB(this),this.settings.cache_suffix&&(gr.cacheSuffix=this.settings.cache_suffix.replace(/^[\?\&]+/,"")),this.ui={registry:$B()};var i=this,o=cL(i);this.mode=o,this.setMode=o.set,n.fire("SetupEditor",{editor:this}),this.execCallback("setup",this),this.$=Qa.overrideDefaults((function(){return{context:r.inline?r.getBody():r.getDoc(),element:r.getBody()}}))}return e.prototype.render=function(){UD.render(this)},e.prototype.focus=function(e){Qm.focus(this,e)},e.prototype.hasFocus=function(){return Qm.hasFocus(this)},e.prototype.execCallback=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r,i=this,o=i.settings[e];if(o)return i.callbackLookup&&(r=i.callbackLookup[e])&&(o=r.func,r=r.scope),"string"===typeof o&&(r=o.replace(/\.\w+$/,""),r=r?qB(r):0,o=qB(o),i.callbackLookup=i.callbackLookup||{},i.callbackLookup[e]={func:o,scope:r}),o.apply(r||i,Array.prototype.slice.call(arguments,1))},e.prototype.translate=function(e){return Zs.translate(e)},e.prototype.getParam=function(e,t,n){return Zg(this,e,t,n)},e.prototype.nodeChanged=function(e){this._nodeChangeDispatcher.nodeChanged(e)},e.prototype.addCommand=function(e,t,n){this.editorCommands.addCommand(e,t,n)},e.prototype.addQueryStateHandler=function(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)},e.prototype.addQueryValueHandler=function(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)},e.prototype.addShortcut=function(e,t,n,r){this.shortcuts.add(e,t,n,r)},e.prototype.execCommand=function(e,t,n,r){return this.editorCommands.execCommand(e,t,n,r)},e.prototype.queryCommandState=function(e){return this.editorCommands.queryCommandState(e)},e.prototype.queryCommandValue=function(e){return this.editorCommands.queryCommandValue(e)},e.prototype.queryCommandSupported=function(e){return this.editorCommands.queryCommandSupported(e)},e.prototype.show=function(){var e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable="true":(FB.show(e.getContainer()),FB.hide(e.id)),e.load(),e.fire("show"))},e.prototype.hide=function(){var e=this,t=e.getDoc();e.hidden||(WB&&t&&!e.inline&&t.execCommand("SelectAll"),e.save(),e.inline?(e.getBody().contentEditable="false",e===e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(FB.hide(e.getContainer()),FB.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.fire("hide"))},e.prototype.isHidden=function(){return!!this.hidden},e.prototype.setProgressState=function(e,t){this.fire("ProgressState",{state:e,time:t})},e.prototype.load=function(e){var t,n=this,r=n.getElement();if(n.removed)return"";if(r){e=e||{},e.load=!0;var i=we.isTextareaOrInput(r)?r.value:r.innerHTML;return t=n.setContent(i,e),e.element=r,e.no_events||n.fire("LoadContent",e),e.element=r=null,t}},e.prototype.save=function(e){var t,n,r=this,i=r.getElement();if(i&&r.initialized&&!r.removed)return e=e||{},e.save=!0,e.element=i,t=e.content=r.getContent(e),e.no_events||r.fire("SaveContent",e),"raw"===e.format&&r.fire("RawSaveContent",e),t=e.content,we.isTextareaOrInput(i)?i.value=t:(!e.is_removing&&r.inline||(i.innerHTML=t),(n=FB.getParent(r.id,"form"))&&UB(n.elements,(function(e){if(e.name===r.id)return e.value=t,!1}))),e.element=i=null,!1!==e.set_dirty&&r.setDirty(!1),t},e.prototype.setContent=function(e,t){return og(this,e,t)},e.prototype.getContent=function(e){return Mp(this,e)},e.prototype.insertContent=function(e,t){t&&(e=jB({content:e},t)),this.execCommand("mceInsertContent",!1,e)},e.prototype.resetContent=function(e){void 0===e?og(this,this.startContent,{format:"raw"}):og(this,e),this.undoManager.reset(),this.setDirty(!1),this.nodeChanged()},e.prototype.isDirty=function(){return!this.isNotDirty},e.prototype.setDirty=function(e){var t=!this.isNotDirty;this.isNotDirty=!e,e&&e!==t&&this.fire("dirty")},e.prototype.getContainer=function(){var e=this;return e.container||(e.container=FB.get(e.editorContainer||e.id+"_parent")),e.container},e.prototype.getContentAreaContainer=function(){return this.contentAreaContainer},e.prototype.getElement=function(){return this.targetElm||(this.targetElm=FB.get(this.id)),this.targetElm},e.prototype.getWin=function(){var e,t=this;return t.contentWindow||(e=t.iframeElement,e&&(t.contentWindow=e.contentWindow)),t.contentWindow},e.prototype.getDoc=function(){var e,t=this;return t.contentDocument||(e=t.getWin(),e&&(t.contentDocument=e.document)),t.contentDocument},e.prototype.getBody=function(){var e=this.getDoc();return this.bodyElement||(e?e.body:null)},e.prototype.convertURL=function(e,t,n){var r=this,i=r.settings;return i.urlconverter_callback?r.execCallback("urlconverter_callback",e,n,!0,t):!i.convert_urls||n&&"LINK"===n.nodeName||0===e.indexOf("file:")||0===e.length?e:i.relative_urls?r.documentBaseURI.toRelative(e):(e=r.documentBaseURI.toAbsolute(e,i.remove_script_host),e)},e.prototype.addVisual=function(e){var t,n=this,r=n.settings,i=n.dom;e=e||n.getBody(),void 0===n.hasVisual&&(n.hasVisual=r.visual),UB(i.select("table,a",e),(function(e){var o;switch(e.nodeName){case"TABLE":return t=r.visual_table_class||"mce-item-table",o=i.getAttrib(e,"border"),void(o&&"0"!==o||!n.hasVisual?i.removeClass(e,t):i.addClass(e,t));case"A":return void(i.getAttrib(e,"href")||(o=i.getAttrib(e,"name")||e.id,t=r.visual_anchor_class||"mce-item-anchor",o&&n.hasVisual?i.addClass(e,t):i.removeClass(e,t)))}})),n.fire("VisualAid",{element:e,hasVisual:n.hasVisual})},e.prototype.remove=function(){bg(this)},e.prototype.destroy=function(e){wg(this,e)},e.prototype.uploadImages=function(e){return this.editorUpload.uploadImages(e)},e.prototype._scanForImages=function(){return this.editorUpload.scanForImages()},e.prototype.addButton=function(){throw new Error("editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead")},e.prototype.addSidebar=function(){throw new Error("editor.addSidebar has been removed in tinymce 5x, use editor.ui.registry.addSidebar instead")},e.prototype.addMenuItem=function(){throw new Error("editor.addMenuItem has been removed in tinymce 5x, use editor.ui.registry.addMenuItem instead")},e.prototype.addContextToolbar=function(){throw new Error("editor.addContextToolbar has been removed in tinymce 5x, use editor.ui.registry.addContextToolbar instead")},e}(),XB=Os.DOM,YB=Vr.explode,KB=Vr.each,ZB=Vr.extend,QB=0,JB=!1,eR=[],tR=[],nR=function(e){return"length"!==e},rR=function(e){var t=e.type;KB(lR.get(),(function(n){switch(t){case"scroll":n.fire("ScrollWindow",e);break;case"resize":n.fire("ResizeWindow",e);break}}))},iR=function(e){e!==JB&&(e?Qa(window).on("resize scroll",rR):Qa(window).off("resize scroll",rR),JB=e)},oR=function(e){var t=tR;delete eR[e.id];for(var n=0;n<eR.length;n++)if(eR[n]===e){eR.splice(n,1);break}return tR=R(tR,(function(t){return e!==t})),lR.activeEditor===e&&(lR.activeEditor=tR.length>0?tR[0]:null),lR.focusedEditor===e&&(lR.focusedEditor=null),t.length!==tR.length},aR=function(e){return e&&e.initialized&&!(e.getContainer()||e.getBody()).parentNode&&(oR(e),e.unbindAllNativeEvents(),e.destroy(!0),e.removed=!0,e=null),e},sR="CSS1Compat"!==n.document.compatMode,lR=Q(Q({},EB),{baseURI:null,baseURL:null,defaultSettings:{},documentBaseURL:null,suffix:null,$:Qa,majorVersion:"5",minorVersion:"1.0",releaseDate:"2019-10-17",editors:eR,i18n:Zs,activeEditor:null,focusedEditor:null,settings:{},setup:function(){var e,t,r=this,i="";t=HB.getDocumentBaseUrl(n.document.location),/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/"));var o=window.tinymce||window.tinyMCEPreInit;if(o)e=o.base||o.baseURL,i=o.suffix;else{for(var a=n.document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s].src||"";if(""!==l){var u=l.substring(l.lastIndexOf("/"));if(/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(l)){-1!==u.indexOf(".min")&&(i=".min"),e=l.substring(0,l.lastIndexOf("/"));break}}}if(!e&&n.document.currentScript){l=n.document.currentScript.src;-1!==l.indexOf(".min")&&(i=".min"),e=l.substring(0,l.lastIndexOf("/"))}}r.baseURL=new HB(t).toAbsolute(e),r.documentBaseURL=t,r.baseURI=new HB(r.baseURL),r.suffix=i,Rm.setup(r)},overrideDefaults:function(e){var t,n;t=e.base_url,t&&this._setBaseUrl(t),n=e.suffix,e.suffix&&(this.suffix=n),this.defaultSettings=e;var r=e.plugin_base_urls;for(var i in r)el.PluginManager.urls[i]=r[i]},init:function(e){var t,r,i=this;r=Vr.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu"," ");var o=function(e,t){return e.inline&&t.tagName.toLowerCase()in r},a=function(e){var t=e.id;return t||(t=e.name,t=t&&!XB.get(t)?e.name:XB.uniqueId(),e.setAttribute("id",t)),t},s=function(t){var n=e[t];if(n)return n.apply(i,Array.prototype.slice.call(arguments,2))},l=function(e,t){return t.constructor===RegExp?t.test(e.className):XB.hasClass(e,t)},u=function(e){var t,r=[];if(gr.browser.isIE()&&gr.browser.version.major<11)return Tv.initError("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tinymce.com/docs/get-started/system-requirements/"),[];if(sR)return Tv.initError("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."),[];if(e.types)return KB(e.types,(function(e){r=r.concat(XB.select(e.selector))})),r;if(e.selector)return XB.select(e.selector);if(e.target)return[e.target];switch(e.mode){case"exact":t=e.elements||"",t.length>0&&KB(YB(t),(function(e){var t;(t=XB.get(e))?r.push(t):KB(n.document.forms,(function(t){KB(t.elements,(function(t){t.name===e&&(e="mce_editor_"+QB++,XB.setAttrib(t,"id",e),r.push(t))}))}))}));break;case"textareas":case"specific_textareas":KB(XB.select("textarea"),(function(t){e.editor_deselector&&l(t,e.editor_deselector)||e.editor_selector&&!l(t,e.editor_selector)||r.push(t)}));break}return r},c=function(e){t=e},d=function(){var t,n=0,r=[],l=function(e,o,a){var s=new GB(e,o,i);r.push(s),s.on("init",(function(){++n===t.length&&c(r)})),s.targetElm=s.targetElm||a,s.render()};XB.unbind(window,"ready",d),s("onpageload"),t=Qa.unique(u(e)),e.types?KB(e.types,(function(n){Vr.each(t,(function(t){return!XB.is(t,n.selector)||(l(a(t),ZB({},e,n),t),!1)}))})):(Vr.each(t,(function(e){aR(i.get(e.id))})),t=Vr.grep(t,(function(e){return!i.get(e.id)})),0===t.length?c([]):KB(t,(function(t){o(e,t)?Tv.initError("Could not initialize inline editor on invalid inline target element",t):l(a(t),e,t)})))};return i.settings=e,XB.bind(window,"ready",d),new er((function(e){t?e(t):c=function(t){e(t)}}))},get:function(e){return 0===arguments.length?tR.slice(0):b(e)?V(tR,(function(t){return t.id===e})).getOr(null):T(e)&&tR[e]?tR[e]:null},add:function(e){var t,n=this;return t=eR[e.id],t===e||(null===n.get(e.id)&&(nR(e.id)&&(eR[e.id]=e),eR.push(e),tR.push(e)),iR(!0),n.activeEditor=e,n.fire("AddEditor",{editor:e}),Az||(Az=function(e){var t=n.fire("BeforeUnload");if(t.returnValue)return e.preventDefault(),e.returnValue=t.returnValue,t.returnValue},window.addEventListener("beforeunload",Az))),e},createEditor:function(e,t){return this.add(new GB(e,t,this))},remove:function(e){var t,n,r=this;if(e){if(!b(e))return n=e,x(r.get(n.id))?null:(oR(n)&&r.fire("RemoveEditor",{editor:n}),0===tR.length&&window.removeEventListener("beforeunload",Az),n.remove(),iR(tR.length>0),n);KB(XB.select(e),(function(e){n=r.get(e.id),n&&r.remove(n)}))}else for(t=tR.length-1;t>=0;t--)r.remove(tR[t])},execCommand:function(e,t,n){var r=this,i=r.get(n);switch(e){case"mceAddEditor":return r.get(n)||new GB(n,r.settings,r).render(),!0;case"mceRemoveEditor":return i&&i.remove(),!0;case"mceToggleEditor":return i?(i.isHidden()?i.show():i.hide(),!0):(r.execCommand("mceAddEditor",0,n),!0)}return!!r.activeEditor&&r.activeEditor.execCommand(e,t,n)},triggerSave:function(){KB(tR,(function(e){e.save()}))},addI18n:function(e,t){Zs.add(e,t)},translate:function(e){return Zs.translate(e)},setActive:function(e){var t=this.activeEditor;this.activeEditor!==e&&(t&&t.fire("deactivate",{relatedTarget:e}),e.fire("activate",{relatedTarget:t})),this.activeEditor=e},_setBaseUrl:function(e){this.baseURL=new HB(this.documentBaseURL).toAbsolute(e.replace(/\/+$/,"")),this.baseURI=new HB(this.baseURL)}});function uR(e){var t=function(t,n){return ph.walk(e,t,n)},n=iC,r=function(t){return KT.normalize(e,t).fold(o(!1),(function(e){return t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),!0}))};return{walk:t,split:n,normalize:r}}lR.setup(),function(e){e.compareRanges=cy.isEq,e.getCaretRangeFromPoint=WS.fromPoint,e.getSelectedNode=Au,e.getNode=Ou}(uR||(uR={}));var cR,dR,fR=uR,hR=function(e,t,r){void 0===r&&(r=1e3);var i=!1,o=null,a=function(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];i||(i=!0,null!==o&&(n.clearTimeout(o),o=null),e.apply(null,t))}},s=a(e),l=a(t),u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i||null!==o||(o=n.setTimeout((function(){return l.apply(null,e)}),r))};return{start:u,resolve:s,reject:l}},pR=function(){var e={},t={},n=function(n,r){var i='Script at URL "'+r+'" failed to load',o='Script at URL "'+r+"\" did not call `tinymce.Resource.add('"+n+"', data)` within 1 second";if(void 0!==e[n])return e[n];var a=new er((function(e,a){var s=hR(e,a);t[n]=s.resolve,Hs.ScriptLoader.loadScript(r,(function(){return s.start(o)}),(function(){return s.reject(i)}))}));return e[n]=a,a},r=function(n,r){void 0!==t[n]&&(t[n](r),delete t[n]),e[n]=er.resolve(r)};return{load:n,add:r}},mR=pR(),gR=Math.min,vR=Math.max,yR=Math.round,bR=function(e,t,n){var r,i,o,a,s,l;return r=t.x,i=t.y,o=e.w,a=e.h,s=t.w,l=t.h,n=(n||"").split(""),"b"===n[0]&&(i+=l),"r"===n[1]&&(r+=s),"c"===n[0]&&(i+=yR(l/2)),"c"===n[1]&&(r+=yR(s/2)),"b"===n[3]&&(i-=a),"r"===n[4]&&(r-=o),"c"===n[3]&&(i-=yR(a/2)),"c"===n[4]&&(r-=yR(o/2)),SR(r,i,o,a)},wR=function(e,t,n,r){var i,o;for(o=0;o<r.length;o++)if(i=bR(e,t,r[o]),i.x>=n.x&&i.x+i.w<=n.w+n.x&&i.y>=n.y&&i.y+i.h<=n.h+n.y)return r[o];return null},CR=function(e,t,n){return SR(e.x-t,e.y-n,e.w+2*t,e.h+2*n)},xR=function(e,t){var n,r,i,o;return n=vR(e.x,t.x),r=vR(e.y,t.y),i=gR(e.x+e.w,t.x+t.w),o=gR(e.y+e.h,t.y+t.h),i-n<0||o-r<0?null:SR(n,r,i-n,o-r)},ER=function(e,t,n){var r,i,o,a,s,l,u,c,d,f;return s=e.x,l=e.y,u=e.x+e.w,c=e.y+e.h,d=t.x+t.w,f=t.y+t.h,r=vR(0,t.x-s),i=vR(0,t.y-l),o=vR(0,u-d),a=vR(0,c-f),s+=r,l+=i,n&&(u+=r,c+=i,s-=o,l-=a),u-=o,c-=a,SR(s,l,u-s,c-l)},SR=function(e,t,n,r){return{x:e,y:t,w:n,h:r}},TR=function(e){return SR(e.left,e.top,e.width,e.height)},kR={inflate:CR,relativePosition:bR,findBestRelativePosition:wR,intersect:xR,clamp:ER,create:SR,fromClientRect:TR},zR=Vr.each,MR=Vr.extend,NR=function(){};NR.extend=cR=function(e){var t,n,r,i=this,o=i.prototype,a=function(){var e,t,n,r=this;if(!dR&&(r.init&&r.init.apply(r,arguments),t=r.Mixins,t)){e=t.length;while(e--)n=t[e],n.init&&n.init.apply(r,arguments)}},s=function(){return this},l=function(e,t){return function(){var n,r=this,i=r._super;return r._super=o[e],n=t.apply(r,arguments),r._super=i,n}};for(n in dR=!0,t=new i,dR=!1,e.Mixins&&(zR(e.Mixins,(function(t){for(var n in t)"init"!==n&&(e[n]=t[n])})),o.Mixins&&(e.Mixins=o.Mixins.concat(e.Mixins))),e.Methods&&zR(e.Methods.split(","),(function(t){e[t]=s})),e.Properties&&zR(e.Properties.split(","),(function(t){var n="_"+t;e[t]=function(e){var t=this;return void 0!==e?(t[n]=e,t):t[n]}})),e.Statics&&zR(e.Statics,(function(e,t){a[t]=e})),e.Defaults&&o.Defaults&&(e.Defaults=MR({},o.Defaults,e.Defaults)),e)r=e[n],"function"===typeof r&&o[n]?t[n]=l(n,r):t[n]=r;return a.prototype=t,a.constructor=a,a.extend=cR,a};var AR,OR=Math.min,PR=Math.max,_R=Math.round,DR=function(e){var t={},n=0,r=0,i=0,o=function(e,t,n){var r,i,o,a,s,l;return r=0,i=0,o=0,e/=255,t/=255,n/=255,s=OR(e,OR(t,n)),l=PR(e,PR(t,n)),s===l?(o=s,{h:0,s:0,v:100*o}):(a=e===s?t-n:n===s?e-t:n-e,r=e===s?3:n===s?1:5,r=60*(r-a/(l-s)),i=(l-s)/l,o=l,{h:_R(r),s:_R(100*i),v:_R(100*o)})},a=function(e,t,o){var a,s,l,u;if(e=(parseInt(e,10)||0)%360,t=parseInt(t,10)/100,o=parseInt(o,10)/100,t=PR(0,OR(t,1)),o=PR(0,OR(o,1)),0!==t){switch(a=e/60,s=o*t,l=s*(1-Math.abs(a%2-1)),u=o-s,Math.floor(a)){case 0:n=s,r=l,i=0;break;case 1:n=l,r=s,i=0;break;case 2:n=0,r=s,i=l;break;case 3:n=0,r=l,i=s;break;case 4:n=l,r=0,i=s;break;case 5:n=s,r=0,i=l;break;default:n=r=i=0}n=_R(255*(n+u)),r=_R(255*(r+u)),i=_R(255*(i+u))}else n=r=i=_R(255*o)},s=function(){var e=function(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e};return"#"+e(n)+e(r)+e(i)},l=function(){return{r:n,g:r,b:i}},u=function(){return o(n,r,i)},c=function(e){var o;return"object"===typeof e?"r"in e?(n=e.r,r=e.g,i=e.b):"v"in e&&a(e.h,e.s,e.v):(o=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(e))?(n=parseInt(o[1],10),r=parseInt(o[2],10),i=parseInt(o[3],10)):(o=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(e))?(n=parseInt(o[1],16),r=parseInt(o[2],16),i=parseInt(o[3],16)):(o=/#([0-F])([0-F])([0-F])/gi.exec(e))&&(n=parseInt(o[1]+o[1],16),r=parseInt(o[2]+o[2],16),i=parseInt(o[3]+o[3],16)),n=n<0?0:n>255?255:n,r=r<0?0:r>255?255:r,i=i<0?0:i>255?255:i,t};return e&&c(e),t.toRgb=l,t.toHsv=u,t.toHex=s,t.parse=c,t},LR=function(e){var t=JSON.stringify(e);return b(t)?t.replace(/[\u0080-\uFFFF]/g,(function(e){var t=e.charCodeAt(0).toString(16);return"\\u"+"0000".substring(t.length)+t})):t},BR={serialize:LR,parse:function(e){try{return JSON.parse(e)}catch(t){}}},RR={callbacks:{},count:0,send:function(e){var t=this,n=Os.DOM,r=void 0!==e.count?e.count:t.count,i="tinymce_jsonp_"+r;t.callbacks[r]=function(o){n.remove(i),delete t.callbacks[r],e.callback(o)},n.add(n.doc.body,"script",{id:i,src:e.url,type:"text/javascript"}),t.count++}},IR=Q(Q({},EB),{send:function(e){var t,r=0,i=function(){!e.async||4===t.readyState||r++>1e4?(e.success&&r<1e4&&200===t.status?e.success.call(e.success_scope,""+t.responseText,t,e):e.error&&e.error.call(e.error_scope,r>1e4?"TIMED_OUT":"GENERAL",t,e),t=null):sr.setTimeout(i,10)};if(e.scope=e.scope||this,e.success_scope=e.success_scope||e.scope,e.error_scope=e.error_scope||e.scope,e.async=!1!==e.async,e.data=e.data||"",IR.fire("beforeInitialize",{settings:e}),t=new n.XMLHttpRequest,t){if(t.overrideMimeType&&t.overrideMimeType(e.content_type),t.open(e.type||(e.data?"POST":"GET"),e.url,e.async),e.crossDomain&&(t.withCredentials=!0),e.content_type&&t.setRequestHeader("Content-Type",e.content_type),e.requestheaders&&Vr.each(e.requestheaders,(function(e){t.setRequestHeader(e.key,e.value)})),t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t=IR.fire("beforeSend",{xhr:t,settings:e}).xhr,t.send(e.data),!e.async)return i();sr.setTimeout(i,10)}}}),HR=Vr.extend,VR=function(){function e(e){this.settings=HR({},e),this.count=0}return e.sendRPC=function(t){return(new e).send(t)},e.prototype.send=function(e){var t=e.error,n=e.success,r=HR(this.settings,e);r.success=function(e,i){e=BR.parse(e),"undefined"===typeof e&&(e={error:"JSON Parse error."}),e.error?t.call(r.error_scope||r.scope,e.error,i):n.call(r.success_scope||r.scope,e.result)},r.error=function(e,n){t&&t.call(r.error_scope||r.scope,e,n)},r.data=BR.serialize({id:e.id||"c"+this.count++,method:e.method,params:e.params}),r.content_type="application/json",IR.send(r)},e}(),$R=function(){return function(){var e={},t=[],n={getItem:function(t){var n=e[t];return n||null},setItem:function(n,r){t.push(n),e[n]=String(r)},key:function(e){return t[e]},removeItem:function(n){t=t.filter((function(e){return e===n})),delete e[n]},clear:function(){t=[],e={}},length:0};return Object.defineProperty(n,"length",{get:function(){return t.length},configurable:!1,enumerable:!1}),n}()};try{AR=n.window.localStorage}catch(GR){AR=$R()}var FR=AR,jR={geom:{Rect:kR},util:{Promise:er,Delay:sr,Tools:Vr,VK:by,URI:HB,Class:NR,EventDispatcher:CB,Observable:EB,I18n:Zs,XHR:IR,JSON:BR,JSONRequest:VR,JSONP:RR,LocalStorage:FR,Color:DR},dom:{EventUtils:xo,Sizzle:aa,DomQuery:Qa,TreeWalker:Ja,DOMUtils:Os,ScriptLoader:Hs,RangeUtils:fR,Serializer:iS,ControlSelection:cS,BookmarkManager:aS,Selection:gk,Event:xo.Event},html:{Styles:uo,Entities:Oi,Node:Ah,Schema:Fi,SaxParser:Ih,DomParser:KE,Writer:Ap,Serializer:Op},Env:gr,AddOnManager:el,Annotator:kh,Formatter:TE,UndoManager:Hw,EditorCommands:bB,WindowManager:pv,NotificationManager:fv,EditorObservable:NB,Shortcuts:DB,Editor:GB,FocusManager:Cm,EditorManager:lR,DOM:Os.DOM,ScriptLoader:Hs.ScriptLoader,PluginManager:el.PluginManager,ThemeManager:el.ThemeManager,IconManager:Mv,Resource:mR,trim:Vr.trim,isArray:Vr.isArray,is:Vr.is,toArray:Vr.toArray,makeMap:Vr.makeMap,each:Vr.each,map:Vr.map,grep:Vr.grep,inArray:Vr.inArray,extend:Vr.extend,create:Vr.create,walk:Vr.walk,createNS:Vr.createNS,resolve:Vr.resolve,explode:Vr.explode,_addCacheSuffix:Vr._addCacheSuffix,isOpera:gr.opera,isWebKit:gr.webkit,isIE:gr.ie,isGecko:gr.gecko,isMac:gr.mac},UR=Vr.extend(lR,jR),qR=function(t){try{e.exports=t}catch(n){}},WR=function(e){window.tinymce=e,window.tinyMCE=e};WR(UR),qR(UR)})(window)}).call(this,n("c8ba"))},e5cb:function(e,t,n){"use strict";var r=n("d066"),i=n("1a2d"),o=n("9112"),a=n("3a9b"),s=n("d2bb"),l=n("e893"),u=n("aeb0"),c=n("7156"),d=n("e391"),f=n("ab36"),h=n("6f19"),p=n("83ab"),m=n("c430");e.exports=function(e,t,n,g){var v="stackTraceLimit",y=g?2:1,b=e.split("."),w=b[b.length-1],C=r.apply(null,b);if(C){var x=C.prototype;if(!m&&i(x,"cause")&&delete x.cause,!n)return C;var E=r("Error"),S=t((function(e,t){var n=d(g?t:e,void 0),r=g?new C(e):new C;return void 0!==n&&o(r,"message",n),h(r,S,r.stack,2),this&&a(x,this)&&c(r,this,S),arguments.length>y&&f(r,arguments[y]),r}));if(S.prototype=x,"Error"!==w?s?s(S,E):l(S,E,{name:!0}):p&&v in C&&(u(S,C,v),u(S,C,"prepareStackTrace")),l(S,C),!m)try{x.name!==w&&o(x,"name",w),x.constructor=S}catch(T){}return S}}},e893:function(e,t,n){var r=n("1a2d"),i=n("56ef"),o=n("06cf"),a=n("9bf2");e.exports=function(e,t,n){for(var s=i(t),l=a.f,u=o.f,c=0;c<s.length;c++){var d=s[c];r(e,d)||n&&r(n,d)||l(e,d,u(t,d))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},ea34:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},ebb5:function(e,t,n){"use strict";var r,i,o,a=n("4b11"),s=n("83ab"),l=n("da84"),u=n("1626"),c=n("861d"),d=n("1a2d"),f=n("f5df"),h=n("0d51"),p=n("9112"),m=n("cb2d"),g=n("edd0"),v=n("3a9b"),y=n("e163"),b=n("d2bb"),w=n("b622"),C=n("90e3"),x=n("69f3"),E=x.enforce,S=x.get,T=l.Int8Array,k=T&&T.prototype,z=l.Uint8ClampedArray,M=z&&z.prototype,N=T&&y(T),A=k&&y(k),O=Object.prototype,P=l.TypeError,_=w("toStringTag"),D=C("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",B=a&&!!b&&"Opera"!==f(l.opera),R=!1,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},V=function(e){if(!c(e))return!1;var t=f(e);return"DataView"===t||d(I,t)||d(H,t)},$=function(e){var t=y(e);if(c(t)){var n=S(t);return n&&d(n,L)?n[L]:$(t)}},F=function(e){if(!c(e))return!1;var t=f(e);return d(I,t)||d(H,t)},j=function(e){if(F(e))return e;throw P("Target is not a typed array")},U=function(e){if(u(e)&&(!b||v(N,e)))return e;throw P(h(e)+" is not a typed array constructor")},q=function(e,t,n,r){if(s){if(n)for(var i in I){var o=l[i];if(o&&d(o.prototype,e))try{delete o.prototype[e]}catch(a){try{o.prototype[e]=t}catch(u){}}}A[e]&&!n||m(A,e,n?t:B&&k[e]||t,r)}},W=function(e,t,n){var r,i;if(s){if(b){if(n)for(r in I)if(i=l[r],i&&d(i,e))try{delete i[e]}catch(o){}if(N[e]&&!n)return;try{return m(N,e,n?t:B&&N[e]||t)}catch(o){}}for(r in I)i=l[r],!i||i[e]&&!n||m(i,e,t)}};for(r in I)i=l[r],o=i&&i.prototype,o?E(o)[L]=i:B=!1;for(r in H)i=l[r],o=i&&i.prototype,o&&(E(o)[L]=i);if((!B||!u(N)||N===Function.prototype)&&(N=function(){throw P("Incorrect invocation")},B))for(r in I)l[r]&&b(l[r],N);if((!B||!A||A===O)&&(A=N.prototype,B))for(r in I)l[r]&&b(l[r].prototype,A);if(B&&y(M)!==A&&b(M,A),s&&!d(A,_))for(r in R=!0,g(A,_,{configurable:!0,get:function(){return c(this)?this[D]:void 0}}),I)l[r]&&p(l[r],D,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:B,TYPED_ARRAY_TAG:R&&D,aTypedArray:j,aTypedArrayConstructor:U,exportTypedArrayMethod:q,exportTypedArrayStaticMethod:W,getTypedArrayConstructor:$,isView:V,isTypedArray:F,TypedArray:N,TypedArrayPrototype:A}},edd0:function(e,t,n){var r=n("13d2"),i=n("9bf2");e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},edee:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=7)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n.n(r);i.a.install=function(e){e.component("share",i.a)},"undefined"!==typeof window&&window.vue&&(window.Share=i.a),t["default"]=i.a},function(e,t){var n;!function(){function e(e){this.mode=c.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,n=this.data.length;n>t;t++){var r=[],i=this.data.charCodeAt(t);i>65536?(r[0]=240|(1835008&i)>>>18,r[1]=128|(258048&i)>>>12,r[2]=128|(4032&i)>>>6,r[3]=128|63&i):i>2048?(r[0]=224|(61440&i)>>>12,r[1]=128|(4032&i)>>>6,r[2]=128|63&i):i>128?(r[0]=192|(1984&i)>>>6,r[1]=128|63&i):r[0]=i,this.parsedData.push(r)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function r(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}function i(e,t){this.totalCount=e,this.dataCount=t}function o(){this.buffer=[],this.length=0}function a(){return"undefined"!=typeof CanvasRenderingContext2D}function s(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var n=t.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(e=parseFloat(n[1]))}return e}function l(e,t){for(var n=1,r=u(e),i=0,o=g.length;o>=i;i++){var a=0;switch(t){case d.L:a=g[i][0];break;case d.M:a=g[i][1];break;case d.Q:a=g[i][2];break;case d.H:a=g[i][3]}if(a>=r)break;n++}if(n>g.length)throw new Error("Too long data");return n}function u(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}e.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;n>t;t++)e.put(this.parsedData[t],8)}},t.prototype={addData:function(t){var n=new e(t);this.dataList.push(n),this.dataCache=null},isDark:function(e,t){if(0>e||this.moduleCount<=e||0>t||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[r][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,n),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(e,t){for(var n=-1;7>=n;n++)if(!(-1>=e+n||this.moduleCount<=e+n))for(var r=-1;7>=r;r++)-1>=t+r||this.moduleCount<=t+r||(this.modules[e+n][t+r]=n>=0&&6>=n&&(0==r||6==r)||r>=0&&6>=r&&(0==n||6==n)||n>=2&&4>=n&&r>=2&&4>=r)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;8>n;n++){this.makeImpl(!0,n);var r=h.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},createMovieClip:function(e,t,n){var r=e.createEmptyMovieClip(t,n),i=1;this.make();for(var o=0;o<this.modules.length;o++)for(var a=o*i,s=0;s<this.modules[o].length;s++){var l=s*i,u=this.modules[o][s];u&&(r.beginFill(0,100),r.moveTo(l,a),r.lineTo(l+i,a),r.lineTo(l+i,a+i),r.lineTo(l,a+i),r.endFill())}return r},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=h.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;2>=o;o++)for(var a=-2;2>=a;a++)this.modules[r+o][i+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(e){for(var t=h.getBCHTypeNumber(this.typeNumber),n=0;18>n;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;18>n;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=h.getBCHTypeInfo(n),i=0;15>i;i++){var o=!e&&1==(r>>i&1);6>i?this.modules[i][8]=o:8>i?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;15>i;i++){o=!e&&1==(r>>i&1);8>i?this.modules[8][this.moduleCount-i-1]=o:9>i?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;2>s;s++)if(null==this.modules[r][a-s]){var l=!1;o<e.length&&(l=1==(e[o]>>>i&1));var u=h.getMask(t,r,a-s);u&&(l=!l),this.modules[r][a-s]=l,i--,-1==i&&(o++,i=7)}if(r+=n,0>r||this.moduleCount<=r){r-=n,n=-n;break}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,n,r){for(var a=i.getRSBlocks(e,n),s=new o,l=0;l<r.length;l++){var u=r[l];s.put(u.mode,4),s.put(u.getLength(),h.getLengthInBits(u.mode,e)),u.write(s)}var c=0;for(l=0;l<a.length;l++)c+=a[l].dataCount;if(s.getLengthInBits()>8*c)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*c+")");for(s.getLengthInBits()+4<=8*c&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;;){if(s.getLengthInBits()>=8*c)break;if(s.put(t.PAD0,8),s.getLengthInBits()>=8*c)break;s.put(t.PAD1,8)}return t.createBytes(s,a)},t.createBytes=function(e,t){for(var n=0,i=0,o=0,a=new Array(t.length),s=new Array(t.length),l=0;l<t.length;l++){var u=t[l].dataCount,c=t[l].totalCount-u;i=Math.max(i,u),o=Math.max(o,c),a[l]=new Array(u);for(var d=0;d<a[l].length;d++)a[l][d]=255&e.buffer[d+n];n+=u;var f=h.getErrorCorrectPolynomial(c),p=new r(a[l],f.getLength()-1),m=p.mod(f);s[l]=new Array(f.getLength()-1);for(d=0;d<s[l].length;d++){var g=d+m.getLength()-s[l].length;s[l][d]=g>=0?m.get(g):0}}var v=0;for(d=0;d<t.length;d++)v+=t[d].totalCount;var y=new Array(v),b=0;for(d=0;i>d;d++)for(l=0;l<t.length;l++)d<a[l].length&&(y[b++]=a[l][d]);for(d=0;o>d;d++)for(l=0;l<t.length;l++)d<s[l].length&&(y[b++]=s[l][d]);return y};for(var c={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},d={L:1,M:0,Q:3,H:2},f={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},h={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;h.getBCHDigit(t)-h.getBCHDigit(h.G15)>=0;)t^=h.G15<<h.getBCHDigit(t)-h.getBCHDigit(h.G15);return(e<<10|t)^h.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;h.getBCHDigit(t)-h.getBCHDigit(h.G18)>=0;)t^=h.G18<<h.getBCHDigit(t)-h.getBCHDigit(h.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return h.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case f.PATTERN000:return(t+n)%2==0;case f.PATTERN001:return t%2==0;case f.PATTERN010:return n%3==0;case f.PATTERN011:return(t+n)%3==0;case f.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case f.PATTERN101:return t*n%2+t*n%3==0;case f.PATTERN110:return(t*n%2+t*n%3)%2==0;case f.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new r([1],0),n=0;e>n;n++)t=t.multiply(new r([1,p.gexp(n)],0));return t},getLengthInBits:function(e,t){if(t>=1&&10>t)switch(e){case c.MODE_NUMBER:return 10;case c.MODE_ALPHA_NUM:return 9;case c.MODE_8BIT_BYTE:return 8;case c.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(27>t)switch(e){case c.MODE_NUMBER:return 12;case c.MODE_ALPHA_NUM:return 11;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(41>t))throw new Error("type:"+t);switch(e){case c.MODE_NUMBER:return 14;case c.MODE_ALPHA_NUM:return 13;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;t>r;r++)for(var i=0;t>i;i++){for(var o=0,a=e.isDark(r,i),s=-1;1>=s;s++)if(!(0>r+s||r+s>=t))for(var l=-1;1>=l;l++)0>i+l||i+l>=t||(0!=s||0!=l)&&a==e.isDark(r+s,i+l)&&o++;o>5&&(n+=3+o-5)}for(r=0;t-1>r;r++)for(i=0;t-1>i;i++){var u=0;e.isDark(r,i)&&u++,e.isDark(r+1,i)&&u++,e.isDark(r,i+1)&&u++,e.isDark(r+1,i+1)&&u++,(0==u||4==u)&&(n+=3)}for(r=0;t>r;r++)for(i=0;t-6>i;i++)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;t>i;i++)for(r=0;t-6>r;r++)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);var c=0;for(i=0;t>i;i++)for(r=0;t>r;r++)e.isDark(r,i)&&c++;var d=Math.abs(100*c/t/t-50)/5;return n+10*d}},p={glog:function(e){if(1>e)throw new Error("glog("+e+")");return p.LOG_TABLE[e]},gexp:function(e){for(;0>e;)e+=255;for(;e>=256;)e-=255;return p.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},m=0;8>m;m++)p.EXP_TABLE[m]=1<<m;for(m=8;256>m;m++)p.EXP_TABLE[m]=p.EXP_TABLE[m-4]^p.EXP_TABLE[m-5]^p.EXP_TABLE[m-6]^p.EXP_TABLE[m-8];for(m=0;255>m;m++)p.LOG_TABLE[p.EXP_TABLE[m]]=m;r.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var i=0;i<e.getLength();i++)t[n+i]^=p.gexp(p.glog(this.get(n))+p.glog(e.get(i)));return new r(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=p.glog(this.get(0))-p.glog(e.get(0)),n=new Array(this.getLength()),i=0;i<this.getLength();i++)n[i]=this.get(i);for(i=0;i<e.getLength();i++)n[i]^=p.gexp(p.glog(e.get(i))+t);return new r(n,0).mod(e)}},i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(e,t){var n=i.getRsBlockTable(e,t);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=[],a=0;r>a;a++)for(var s=n[3*a+0],l=n[3*a+1],u=n[3*a+2],c=0;s>c;c++)o.push(new i(l,u));return o},i.getRsBlockTable=function(e,t){switch(t){case d.L:return i.RS_BLOCK_TABLE[4*(e-1)+0];case d.M:return i.RS_BLOCK_TABLE[4*(e-1)+1];case d.Q:return i.RS_BLOCK_TABLE[4*(e-1)+2];case d.H:return i.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},o.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;t>n;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var g=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],v=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){function t(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var r in t)t.hasOwnProperty(r)&&n.setAttribute(r,t[r]);return n}var n=this._htOption,r=this._el,i=e.getModuleCount();Math.floor(n.width/i),Math.floor(n.height/i),this.clear();var o=t("svg",{viewBox:"0 0 "+String(i)+" "+String(i),width:"100%",height:"100%",fill:n.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(o),o.appendChild(t("rect",{fill:n.colorLight,width:"100%",height:"100%"})),o.appendChild(t("rect",{fill:n.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;i>a;a++)for(var s=0;i>s;s++)if(e.isDark(a,s)){var l=t("use",{x:String(s),y:String(a)});l.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),o.appendChild(l)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e}(),y="svg"===document.documentElement.tagName.toLowerCase(),b=y?v:a()?function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}function t(e,t){var n=this;if(n._fFail=t,n._fSuccess=e,null===n._bSupportDataURI){var r=document.createElement("img"),i=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)},o=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)};return r.onabort=i,r.onerror=i,r.onload=o,void(r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}if(this._android&&this._android<=2.1){var n=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,t,i,o,a,s,l,u,c){if("nodeName"in e&&/img/i.test(e.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*n;else"undefined"==typeof u&&(arguments[1]*=n,arguments[2]*=n,arguments[3]*=n,arguments[4]*=n);r.apply(this,arguments)}}var i=function(e,t){this._bIsPainted=!1,this._android=s(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return i.prototype.draw=function(e){var t=this._elImage,n=this._oContext,r=this._htOption,i=e.getModuleCount(),o=r.width/i,a=r.height/i,s=Math.round(o),l=Math.round(a);t.style.display="none",this.clear();for(var u=0;i>u;u++)for(var c=0;i>c;c++){var d=e.isDark(u,c),f=c*o,h=u*a;n.strokeStyle=d?r.colorDark:r.colorLight,n.lineWidth=1,n.fillStyle=d?r.colorDark:r.colorLight,n.fillRect(f,h,o,a),n.strokeRect(Math.floor(f)+.5,Math.floor(h)+.5,s,l),n.strokeRect(Math.ceil(f)-.5,Math.ceil(h)-.5,s,l)}this._bIsPainted=!0},i.prototype.makeImage=function(){this._bIsPainted&&t.call(this,e)},i.prototype.isPainted=function(){return this._bIsPainted},i.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},i.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},i}():function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,n=this._el,r=e.getModuleCount(),i=Math.floor(t.width/r),o=Math.floor(t.height/r),a=['<table style="border:0;border-collapse:collapse;">'],s=0;r>s;s++){a.push("<tr>");for(var l=0;r>l;l++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+i+"px;height:"+o+"px;background-color:"+(e.isDark(s,l)?t.colorDark:t.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),n.innerHTML=a.join("");var u=n.childNodes[0],c=(t.width-u.offsetWidth)/2,d=(t.height-u.offsetHeight)/2;c>0&&d>0&&(u.style.margin=d+"px "+c+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();n=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:d.H},"string"==typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(b=v),this._android=s(),this._el=e,this._oQRCode=null,this._oDrawing=new b(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},n.prototype.makeCode=function(e){this._oQRCode=new t(l(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},n.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},n.prototype.clear=function(){this._oDrawing.clear()},n.CorrectLevel=d}(),function(e,t,r){function i(e,t){var n=m({},M,t||{},g(e));n.imageSelector&&(n.image=u(n.imageSelector).map((function(e){return e.src})).join("||")),d(e,"share-component social-share"),o(e,n),a(e,n),e.initialized=!0}function o(e,t){var n=s(t),r="prepend"==t.mode;y(r?n.reverse():n,(function(n){var i=l(n,t),o=t.initialized?h(e,"icon-"+n):p('<a class="social-share-icon icon-'+n+'"></a>');return!o.length||(o[0].href=i,"wechat"===n?o[0].tabindex=-1:o[0].target="_blank",void(t.initialized||(r?e.insertBefore(o[0],e.firstChild):e.appendChild(o[0]))))}))}function a(e,t){var r=h(e,"icon-wechat","a");if(0===r.length)return!1;var i=p('<div class="wechat-qrcode"><h4>'+t.wechatQrcodeTitle+'</h4><div class="qrcode"></div><div class="help">'+t.wechatQrcodeHelper+"</div></div>"),o=h(i[0],"qrcode","div");r[0].appendChild(i[0]),new n(o[0],{text:t.url,width:t.wechatQrcodeSize,height:t.wechatQrcodeSize})}function s(e){e.mobileSites.length||(e.mobileSites=e.sites);var t=(E?e.mobileSites:e.sites).slice(0),n=e.disabled;return"string"==typeof t&&(t=t.split(/\s*,\s*/)),"string"==typeof n&&(n=n.split(/\s*,\s*/)),x&&n.push("wechat"),n.length&&y(n,(function(e){t.splice(v(e,t),1)})),t}function l(e,t){return t.summary=t.description,N[e].replace(/\{\{(\w)(\w*)\}\}/g,(function(n,i,o){var a=e+i+o.toLowerCase();return o=(i+o).toLowerCase(),encodeURIComponent((t[a]===r?t[o]:t[a])||"")}))}function u(n){return(t.querySelectorAll||e.jQuery||e.Zepto||c).call(t,n)}function c(e){var n=[];return y(e.split(/\s*,\s*/),(function(r){var i=r.match(/([#.])(\w+)/);if(null===i)throw Error("Supports only simple single #ID or .CLASS selector.");if(i[1]){var o=t.getElementById(i[2]);o&&n.push(o)}n=n.concat(h(e))})),n}function d(e,t){if(t&&"string"==typeof t){var n=(e.className+" "+t).split(/\s+/),r=" ";y(n,(function(e){r.indexOf(" "+e+" ")<0&&(r+=e+" ")})),e.className=r.slice(1,-1)}}function f(e){return(t.getElementsByName(e)[0]||0).content}function h(e,t,n){if(e.getElementsByClassName)return e.getElementsByClassName(t);var r=[],i=e.getElementsByTagName(n||"*");return t=" "+t+" ",y(i,(function(e){(" "+(e.className||"")+" ").indexOf(t)>=0&&r.push(e)})),r}function p(e){var n=t.createElement("div");return n.innerHTML=e,n.childNodes}function m(){var e=arguments;if(C)return C.apply(null,e);var t={};return y(e,(function(e){y(e,(function(e,n){t[n]=e}))})),e[0]=t}function g(e){if(e.dataset)return e.dataset;var t={};return e.hasAttributes()?(y(e.attributes,(function(e){var n=e.name;return 0!==n.indexOf("data-")||(n=n.replace(/^data-/i,"").replace(/-(\w)/g,(function(e,t){return t.toUpperCase()})),void(t[n]=e.value))})),t):{}}function v(e,t,n){var r;if(t){if(w)return w.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1}function y(e,t){var n=e.length;if(n===r){for(var i in e)if(e.hasOwnProperty(i)&&!1===t.call(e[i],e[i],i))break}else for(var o=0;n>o&&!1!==t.call(e[o],e[o],o);o++);}function b(n){var r="addEventListener",i=t[r]?"":"on";~t.readyState.indexOf("m")?n():"load DOMContentLoaded readystatechange".replace(/\w+/g,(function(o,a){(a?t:e)[i?"attachEvent":r](i+o,(function(){n&&(6>a||~t.readyState.indexOf("m"))&&(n(),n=0)}),!1)}))}var w=Array.prototype.indexOf,C=Object.assign,x=/MicroMessenger/i.test(navigator.userAgent),E=t.documentElement.clientWidth<=768,S=(t.images[0]||0).src||"",T=f("site")||f("Site")||t.title,k=f("title")||f("Title")||t.title,z=f("description")||f("Description")||"",M={url:location.href,origin:location.origin,source:T,title:k,description:z,image:S,imageSelector:r,weiboKey:"",wechatQrcodeTitle:"微信扫一扫:分享",wechatQrcodeHelper:"<p>微信里点“发现”,扫一下</p><p>二维码便可将本文分享至朋友圈。</p>",wechatQrcodeSize:100,sites:["weibo","qq","wechat","tencent","douban","qzone","linkedin","diandian","facebook","twitter","google"],mobileSites:[],disabled:[],initialized:!1},N={qzone:"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={{URL}}&title={{TITLE}}&desc={{DESCRIPTION}}&summary={{SUMMARY}}&site={{SOURCE}}",qq:"http://connect.qq.com/widget/shareqq/index.html?url={{URL}}&title={{TITLE}}&source={{SOURCE}}&desc={{DESCRIPTION}}&pics={{IMAGE}}",tencent:"http://share.v.t.qq.com/index.php?c=share&a=index&title={{TITLE}}&url={{URL}}&pic={{IMAGE}}",weibo:"http://service.weibo.com/share/share.php?url={{URL}}&title={{TITLE}}&pic={{IMAGE}}&appkey={{WEIBOKEY}}",wechat:"javascript:",douban:"http://shuo.douban.com/!service/share?href={{URL}}&name={{TITLE}}&text={{DESCRIPTION}}&image={{IMAGE}}&starid=0&aid=0&style=11",diandian:"http://www.diandian.com/share?lo={{URL}}&ti={{TITLE}}&type=link",linkedin:"http://www.linkedin.com/shareArticle?mini=true&ro=true&title={{TITLE}}&url={{URL}}&summary={{SUMMARY}}&source={{SOURCE}}&armin=armin",facebook:"https://www.facebook.com/sharer/sharer.php?u={{URL}}",twitter:"https://twitter.com/intent/tweet?text={{TITLE}}&url={{URL}}&via={{ORIGIN}}",google:"https://plus.google.com/share?url={{URL}}"};e.socialShare=function(e,t){e="string"==typeof e?u(e):e,e.length===r&&(e=[e]),y(e,(function(e){e.initialized||i(e,t)}))},b((function(){socialShare(".social-share, .share-component")}))}(window,document)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);n.n(r);t["default"]={name:"share",props:{config:{type:Object}},mounted:function(){window.socialShare(this.$el,this.config)}}},function(e,t){},function(e,t,n){n(3);var r=n(5)(n(2),n(6),null,null);r.options.__file="/Users/sinchang/Desktop/personal/vue-social-share/src/share.vue",r.esModule&&Object.keys(r.esModule).some((function(e){return"default"!==e&&"__esModule"!==e}))&&console.error("named exports are not supported in *.vue files."),r.options.functional&&console.error("[vue-loader] share.vue: functional components are not supported with templates, they should use render functions."),e.exports=r.exports},function(e,t){e.exports=function(e,t,n,r){var i,o=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(i=e,o=e.default);var s="function"===typeof o?o.options:o;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=Object.create(s.computed||null);Object.keys(r).forEach((function(e){var t=r[e];l[e]=function(){return t}})),s.computed=l}return{esModule:i,exports:o,options:s}}},function(e,t,n){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"social-share"})},staticRenderFns:[]},e.exports.render._withStripped=!0},function(e,t,n){e.exports=n(0)}])}))},ef08:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},f36a:function(e,t,n){var r=n("e330");e.exports=r([].slice)},f495:function(e,t,n){var r=n("c04e"),i=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw i("Can't convert number to bigint");return BigInt(t)}},f5df:function(e,t,n){var r=n("00ee"),i=n("1626"),o=n("c6b6"),a=n("b622"),s=a("toStringTag"),l=Object,u="Arguments"==o(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=c(t=l(e),s))?n:u?o(t):"Object"==(r=o(t))&&i(t.callee)?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),i=n("90e3"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},f893:function(e,t,n){e.exports={default:n("8119"),__esModule:!0}},f8cd:function(e,t,n){var r=n("5926"),i=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw i("The argument can't be less than 0");return t}},faf5:function(e,t,n){e.exports=!n("0bad")&&!n("4b8b")((function(){return 7!=Object.defineProperty(n("05f5")("div"),"a",{get:function(){return 7}}).a}))},fc5e:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},fc6a:function(e,t,n){var r=n("44ad"),i=n("1d80");e.exports=function(e){return r(i(e))}},fcd4:function(e,t,n){t.f=n("cc15")},fdbf:function(e,t,n){var r=n("04f8");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fed5:function(e,t){t.f=Object.getOwnPropertySymbols}}]);
|