@ckeditor/ckeditor5-template 47.6.0-alpha.3 → 47.6.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/template.js CHANGED
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={49:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(106),i=n.n(r),s=n(779),c=n.n(s)()(i());c.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const a=c},102:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},237:t=>{"use strict";t.exports=CKEditor5.dll},297:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(r)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(c[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},929:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},c=[],a=0;a<t.length;a++){var o=t[a],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=a,e.splice(a,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var c=0;c<s.length;c++){var a=n(s[c]);e[a].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>U,TemplateCommand:()=>c,TemplateEditing:()=>u,TemplateUI:()=>H});var t=n(782);function e(){const t=["429894HKYoiS","toModel","1006492TMjfoz","45oesHKz","insertContent","editor","2658WvyyHr","function","data","1116440dMYJtp","4346331LBFEmy","toView","1120968xMrRgr","execute","htmlProcessor","string","108gcVppk","35gzAioy","change","517393ikCmap","20NIuaKQ"];return(e=function(){return t})()}const i=s;function s(t,n){const r=e();return(s=function(t,e){return r[t-=232]})(t,n)}!function(t){const e=s,n=t();for(;;)try{if(358934===parseInt(e(243))/1+-parseInt(e(240))/2*(-parseInt(e(251))/3)+-parseInt(e(247))/4+-parseInt(e(233))/5+parseInt(e(245))/6*(parseInt(e(241))/7)+-parseInt(e(236))/8*(-parseInt(e(248))/9)+-parseInt(e(244))/10*(parseInt(e(234))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class c extends t.Command{[i(237)](t){const e=i,{model:n}=this[e(250)];let r;switch(typeof t){case e(239):r=t;break;case e(252):r=t()}e(239)==typeof r&&n[e(242)](()=>{const t=e,i=this[t(250)][t(232)][t(238)][t(235)](r),s=this[t(250)][t(232)][t(246)](i);n[t(249)](s)})}}function a(t,e){const n=l();return(a=function(t,e){return n[t-=359]})(t,e)}const o=a;function l(){const t=["templateLicenseKeyExpired","templateLicenseKeyNotAllowed","Template","licenseKey","12751630zAVKsH","4085190fpnCSH","commands","3587315LtvKaH","add","5493906IhNuBg","config","isOfficialPlugin","featureNotAllowed","103407LCsLTB","domainLimit","editor","12059256cUPrUU","templateLicenseKeyValid","templateLicenseKeyInvalid","120qOyJcQ","_licenseKeyCheckInterval","init","pluginName","destroy","templateLicenseKeyEvaluationLimit","get","invalid","expired","_showLicenseError","insertTemplate","evaluationLimit","usageLimit","TemplateEditing","templateLicenseKeyDomainLimit","2Gnlszu","isPremiumPlugin","54837jagCIt","14MjDFXZ","templateLicenseKeyUsageLimit"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(791552===-parseInt(e(395))/1*(-parseInt(e(377))/2)+-parseInt(e(379))/3*(parseInt(e(362))/4)+parseInt(e(389))/5+parseInt(e(387))/6*(parseInt(e(380))/7)+-parseInt(e(359))/8+-parseInt(e(391))/9+parseInt(e(386))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(385)];[o(363)];static get[o(365)](){return o(375)}static get[o(393)](){return!0}static get[o(378)](){return!0}[o(364)](){const t=o,{editor:e}=this;e[t(388)][t(390)](t(372),new c(e)),this[t(385)]=this[t(397)][t(392)][t(368)](t(385));const n=this[t(397)];this[t(363)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(360)==s||e(361)==s||e(382)==s||e(376)==s||e(383)==s||e(367)==s||e(381)==s){delete n[i],r=s,clearInterval(this[e(363)]),this[e(363)]=void 0;break}}e(361)==r&&n[e(371)](e(369)),e(382)==r&&n[e(371)](e(370)),e(376)==r&&n[e(371)](e(396)),e(383)==r&&n[e(371)](e(394),e(384)),e(367)==r&&n[e(371)](e(373)),e(381)==r&&n[e(371)](e(374))},1e3)}[o(366)](){const t=o;super[t(366)](),this[t(363)]&&clearInterval(this[t(363)])}}var p=n(355),f=n(311),d=n(584);const m=w;function h(){const t=["forEach","24146878DCXgbj","267205HJPeLL","set","1915281JlujKj","2053293ErrqWr","13MeLqih","originalIndex","addMany","isMatching","1737340BVxFpW","highlightText","title","clear","20pMNtBw","map","48rdJgwd","isVisible","4vFqKme","length","4KIjgSJ","84EBpxZb","get","items","7tLEWug","buttonView","sort","size","_resetFiltering","10547648UBcKUq","filter","646011ZzSNtY"];return(h=function(){return t})()}!function(t){const e=w,n=t();for(;;)try{if(791640===-parseInt(e(427))/1*(parseInt(e(414))/2)+-parseInt(e(433))/3*(-parseInt(e(416))/4)+-parseInt(e(430))/5*(-parseInt(e(417))/6)+-parseInt(e(420))/7*(-parseInt(e(425))/8)+parseInt(e(432))/9*(parseInt(e(410))/10)+-parseInt(e(438))/11*(-parseInt(e(412))/12)+parseInt(e(434))/13*(-parseInt(e(429))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class k extends f.ListView{[m(426)](t){const e=m;if(!t)return this[e(424)]();const n=new Map,r=this[e(419)][e(411)](r=>{const i=e,s=r[i(421)][i(437)](t);return r[i(413)]=!!s,r[i(421)][i(439)](s?t:null),s&&n[i(431)](r,s),r})[e(422)](g)[e(422)]((i=n,function(t,e){const n=w,r=i[n(418)](t),s=i[n(418)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(408)]&&!s[n(408)]?-1:!r[n(408)]&&s[n(408)]?1:0:0}));var i;return this[e(419)][e(409)](),this[e(419)][e(436)](r),{resultsCount:n[e(423)],totalItemsCount:this[e(419)][e(415)]}}[m(424)](){const t=m,e=this[t(419)][t(411)](t=>t)[t(422)](g);return e[t(428)](e=>{const n=t;e[n(413)]=!0,e[n(421)][n(439)](null)}),this[t(419)][t(409)](),this[t(419)][t(436)](e),{resultsCount:e[t(415)],totalItemsCount:e[t(415)]}}}function w(t,e){const n=h();return(w=function(t,e){return n[t-=408]})(t,e)}function g(t,e){const n=m;return t[n(435)]-e[n(435)]}var I=v;function v(t,e){var n=y();return(v=function(t,e){return n[t-=191]})(t,e)}function y(){var t=["4169766KjgLNH","buttonView","51436520jxcKoF","11DrmPVu","4106200VwqtjL","490976nVvFkm","147EVGRcL","9350gGcyNF","306qWjpGF","originalIndex","10242KLdcEg","7398937sHHmkL","18XDtxyO"];return(y=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(699288===-parseInt(e(194))/1*(parseInt(e(198))/2)+-parseInt(e(201))/3+-parseInt(e(192))/4+-parseInt(e(195))/5*(parseInt(e(196))/6)+-parseInt(e(199))/7+parseInt(e(193))/8*(-parseInt(e(200))/9)+parseInt(e(203))/10*(parseInt(e(191))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class b extends f.ListItemView{[I(197)];[I(202)];constructor(t,e){var n=I;super(t),this[n(197)]=e,this[n(202)]=null}}function x(){const t=["isMatching","element","281367nCRxqq","ck-template-form__description","extendTemplate","push","highlightText","iconView","remove","98718FSbgcQ","95ReIqPD","2228872poYLLX","730250RqWRFr","setTemplate","isColorInherited","ck-template-form__text-part","ck-button__label","description","descriptionView","add","locale","div","32vyngRQ","set","textPartView","ck-template-button","children","title","span","930380jtJfON","8792KhPXnC","render","labelView","match","text","destroy","2808846NXTQah","titleView","templateDefinition","option","7oJIbGM"];return(x=function(){return t})()}const _=T;function T(t,e){const n=x();return(T=function(t,e){return n[t-=229]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(165409===parseInt(e(250))/1*(parseInt(e(242))/2)+-parseInt(e(263))/3+-parseInt(e(249))/4+parseInt(e(230))/5*(-parseInt(e(229))/6)+parseInt(e(260))/7*(parseInt(e(231))/8)+parseInt(e(256))/9+parseInt(e(232))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(x);class L extends f.ButtonView{[_(258)];[_(244)];constructor(t,e){const n=_;super(t),this[n(258)]=e,this[n(244)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(243)]({withText:!0,class:n(245),role:n(259),icon:r}),this[n(268)][n(234)]=!1}[_(251)](){const t=_;super[t(251)](),this[t(244)]=new N(this[t(240)],this[t(258)],this[t(252)][t(262)].id),this[t(246)][t(269)](this[t(252)]),this[t(246)][t(239)](this[t(244)])}[_(255)](){const t=_;super[t(255)](),this[t(252)][t(255)]()}[_(261)](t){const e=_,{title:n,description:r}=this[e(258)],i=!!n[e(253)](t),s=!(!r||!r[e(253)](t));return i||s?{title:i,description:s}:null}[_(267)](t){const e=_;this[e(244)][e(267)](t)}}class N extends f.View{constructor(t,e,n){const r=_;super(t),this[r(247)]=e[r(247)],this[r(237)]=e[r(237)],this[r(257)]=new f.HighlightedTextView,this[r(257)][r(254)]=this[r(247)],this[r(257)][r(265)]({tag:r(248),attributes:{class:[r(236)],id:n}});const i=[this[r(257)]];this[r(237)]&&(this[r(238)]=new f.HighlightedTextView,this[r(238)][r(254)]=this[r(237)],this[r(238)][r(265)]({tag:"p",attributes:{class:[r(264)]}}),i[r(266)](this[r(238)])),this[r(233)]({tag:r(241),attributes:{class:["ck",r(235)]},children:i})}[_(267)](t){const e=_;this[e(257)][e(267)](t),this[e(237)]&&this[e(238)][e(267)](t)}}function S(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var V=n(929),M=n.n(V),C=n(297),E=n.n(C),P=n(102),K=n.n(P),j=n(123),O=n.n(j),A=n(741),B=n.n(A),q=n(49),R={attributes:{"data-cke":!0}};R.setAttributes=O(),R.insert=K().bind(null,"head"),R.domAPI=E(),R.insertStyleElement=B();M()(q.A,R);q.A&&q.A.locals&&q.A.locals;const D=z;function F(){const t=["afterInit","resultsCount","TemplateUI","isPremiumPlugin","1125098ytjdKa","template.definitions","1510pCZhSS","14tQBlpZ","icon","11574AmZWtx","init","search","reset","data","ariaLiveAnnouncer","4WemNSA","view","query","47304DEyZqR","execute","config",'No templates were found matching "%0".',"children","addMany","fromCharCode","title","href","8LwnENp","isOfficialPlugin","Insert template","1REoXhW","1551zJDNcf","extendTemplate","announce","panelView","4622261qcRlub","Search template","1019552NeOSdX","componentFactory","listbox","isEnabled","menuBar:insertTemplate","editing","Please try a different phrase or check the spelling.","add","items","bind","85DOmqmJ","templateDefinition","source","pluginName","buttonView","map","ck-template-list","insertTemplate","change:isOpen","No templates available.","43374WnPEpd","delegate","Template","focus","ck-template-button","%0 templates found","commands","ck-template-form","length","get","269193uNcEgt","join","_createTemplateListView","set"];return(F=function(){return t})()}function z(t,e){const n=F();return(z=function(t,e){return n[t-=367]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(330797===parseInt(e(400))/1*(parseInt(e(407))/2)+-parseInt(e(437))/3*(parseInt(e(385))/4)+parseInt(e(417))/5*(parseInt(e(427))/6)+parseInt(e(405))/7*(-parseInt(e(397))/8)+parseInt(e(379))/9*(-parseInt(e(376))/10)+parseInt(e(401))/11*(parseInt(e(388))/12)+-parseInt(e(374))/13*(-parseInt(e(377))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class H extends t.Plugin{static get[D(420)](){return D(372)}static get[D(398)](){return!0}static get[D(373)](){return!0}[D(380)](){const t=D,{editor:e}=this,n=e[t(390)][t(436)](t(375))||[];e.ui[t(408)][t(414)](t(424),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(368)](r,n),a=new f.SearchTextView(r,{filteredView:c,queryView:{label:S(r,i(406))},class:i(434),infoView:{text:{notFound:{primary:t=>S(r,i(391),t),secondary:S(r,i(413))},noSearchableItems:{primary:S(r,i(426))}}}}),o=e[i(433)][i(436)](i(424));return a.on(i(381),(t,n)=>{const s=i;n[s(387)]&&n[s(387)][s(435)]&&e.ui[s(384)][s(403)](S(r,s(432),n[s(371)]))}),s[i(416)](i(410)).to(o),s[i(404)][i(392)][i(414)](a),s[i(421)][i(369)]({label:S(r,i(399)),icon:p.IconTemplate,tooltip:!0}),s.on(i(425),(t,e,n)=>{n||a[i(382)]()}),s}),e.ui[t(408)][t(414)](t(411),r=>{const i=t,s=e[i(433)][i(436)](i(424)),c=new f.MenuBarMenuView(r);c[i(421)][i(369)]({label:S(r,i(429)),icon:p.IconTemplate});const a=new f.MenuBarMenuListView(r);if(!n||!n[i(435)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(369)]({label:S(r,i(426))}),n[i(428)](i(389)).to(c),n.on(i(389),()=>{const t=i;e[t(412)][t(386)][t(430)]()}),t[i(392)][i(414)](n),a[i(415)][i(414)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(369)]({class:i(431),label:t[i(395)],icon:t[i(378)]||p.IconTemplateGeneric}),s[i(428)](i(389)).to(c),s.on(i(389),()=>{const n=i;e[n(389)](n(424),t[n(383)]),e[n(412)][n(386)][n(430)]()}),n[i(392)][i(414)](s),a[i(415)][i(414)](n)}return c[i(404)][i(392)][i(414)](a),c[i(416)](i(410)).to(s,i(410)),c})}[D(370)](){!async function(t){const e=m([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],i=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function a(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](o(t)):null}function o(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function p(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(t){const e=z;return t[e(422)](t=>String[e(394)](t))[e(367)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([103]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=m([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await i,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(a=>{if(s())return a(m([86,97,108,105,100]));c(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const f=(0,d.uid)();function h(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function k(r){o(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(f+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=c();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](a)[m([99,97,116,99,104])](()=>{a(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+u(l(t)),r=p(u(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function c(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function o(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return a(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:f}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[m([114,101,116,117,114,110])])&&(o=!0,k(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),i[m([116,104,101,110])](()=>{o||a(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function c(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=c[m([115,112,108,105,116])](m([46])),[i,s,a]=r;return e(i),await n(i,s,a),t}catch{return!1}function e(e){const n=a(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](o(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),c=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const l=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,i,c)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([84,80,76]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([68,82,85,80]))&&window[m([68,114,117,112,97,108])]||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1772236800;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=z,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(396)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const i=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&f?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),f[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[D(368)](t,e){const n=D,{editor:r}=this,i=new k(t);return i[n(402)]({attributes:{role:n(409),class:[n(423)]}}),i[n(415)][n(393)](e[n(422)]((e,i)=>{const s=n,c=new b(t,i),a=new L(t,e);return c[s(421)]=a,c[s(392)][s(414)](a),c[s(421)].on(s(389),t=>{const e=s;r[e(389)](e(424),t[e(419)][e(418)][e(383)]),r[e(412)][e(386)][e(430)]()}),c})),i}}function W(t,e){var n=X();return(W=function(t,e){return n[t-=387]})(t,e)}var J=W;function X(){var t=["4563880OIWcqt","isOfficialPlugin","isPremiumPlugin","17993090ygauyJ","pluginName","Template","7PBQRBN","232176gXcCjg","594198LyLSOR","requires","20unianE","31942TZLEan","9mEShGm","249987vMytnl","2103085sKQUtb"];return(X=function(){return t})()}!function(t){for(var e=W,n=t();;)try{if(345630===parseInt(e(397))/1*(-parseInt(e(387))/2)+parseInt(e(389))/3*(-parseInt(e(401))/4)+-parseInt(e(390))/5+parseInt(e(399))/6+-parseInt(e(398))/7+-parseInt(e(391))/8+-parseInt(e(388))/9*(-parseInt(e(394))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);class U extends t.Plugin{static get[J(400)](){return[u,H]}static get[J(395)](){return J(396)}static get[J(392)](){return!0}static get[J(393)](){return!0}}function Q(t,e){var n=Z();return(Q=function(t,e){return n[t-=289]})(t,e)}function Z(){var t=["596994RHktZq","1015gXvKTo","10733YBROUW","6FWIOZD","30spwMDm","1460669hQsRCc","1225120TlmAyG","6500lFBTXt","125703oJQPSg","18gNPhnX","3787344Wpayrg"];return(Z=function(){return t})()}!function(t){for(var e=Q,n=t();;)try{if(267540===parseInt(e(298))/1*(parseInt(e(294))/2)+parseInt(e(296))/3+-parseInt(e(292))/4*(-parseInt(e(297))/5)+-parseInt(e(299))/6*(parseInt(e(290))/7)+parseInt(e(291))/8+parseInt(e(293))/9*(parseInt(e(289))/10)+-parseInt(e(295))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
5
+ */(()=>{var t={49:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(106),i=n.n(r),s=n(779),c=n.n(s)()(i());c.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const a=c},102:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},237:t=>{"use strict";t.exports=CKEditor5.dll},297:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(r)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(c[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},929:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},c=[],a=0;a<t.length;a++){var o=t[a],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=a,e.splice(a,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var c=0;c<s.length;c++){var a=n(s[c]);e[a].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>U,TemplateCommand:()=>c,TemplateEditing:()=>u,TemplateUI:()=>D});var t=n(782);function e(){const t=["429894HKYoiS","toModel","1006492TMjfoz","45oesHKz","insertContent","editor","2658WvyyHr","function","data","1116440dMYJtp","4346331LBFEmy","toView","1120968xMrRgr","execute","htmlProcessor","string","108gcVppk","35gzAioy","change","517393ikCmap","20NIuaKQ"];return(e=function(){return t})()}const i=s;function s(t,n){const r=e();return(s=function(t,e){return r[t-=232]})(t,n)}!function(t){const e=s,n=t();for(;;)try{if(358934===parseInt(e(243))/1+-parseInt(e(240))/2*(-parseInt(e(251))/3)+-parseInt(e(247))/4+-parseInt(e(233))/5+parseInt(e(245))/6*(parseInt(e(241))/7)+-parseInt(e(236))/8*(-parseInt(e(248))/9)+-parseInt(e(244))/10*(parseInt(e(234))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class c extends t.Command{[i(237)](t){const e=i,{model:n}=this[e(250)];let r;switch(typeof t){case e(239):r=t;break;case e(252):r=t()}e(239)==typeof r&&n[e(242)](()=>{const t=e,i=this[t(250)][t(232)][t(238)][t(235)](r),s=this[t(250)][t(232)][t(246)](i);n[t(249)](s)})}}function a(t,e){const n=l();return(a=function(t,e){return n[t-=359]})(t,e)}const o=a;function l(){const t=["templateLicenseKeyExpired","templateLicenseKeyNotAllowed","Template","licenseKey","12751630zAVKsH","4085190fpnCSH","commands","3587315LtvKaH","add","5493906IhNuBg","config","isOfficialPlugin","featureNotAllowed","103407LCsLTB","domainLimit","editor","12059256cUPrUU","templateLicenseKeyValid","templateLicenseKeyInvalid","120qOyJcQ","_licenseKeyCheckInterval","init","pluginName","destroy","templateLicenseKeyEvaluationLimit","get","invalid","expired","_showLicenseError","insertTemplate","evaluationLimit","usageLimit","TemplateEditing","templateLicenseKeyDomainLimit","2Gnlszu","isPremiumPlugin","54837jagCIt","14MjDFXZ","templateLicenseKeyUsageLimit"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(791552===-parseInt(e(395))/1*(-parseInt(e(377))/2)+-parseInt(e(379))/3*(parseInt(e(362))/4)+parseInt(e(389))/5+parseInt(e(387))/6*(parseInt(e(380))/7)+-parseInt(e(359))/8+-parseInt(e(391))/9+parseInt(e(386))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(385)];[o(363)];static get[o(365)](){return o(375)}static get[o(393)](){return!0}static get[o(378)](){return!0}[o(364)](){const t=o,{editor:e}=this;e[t(388)][t(390)](t(372),new c(e)),this[t(385)]=this[t(397)][t(392)][t(368)](t(385));const n=this[t(397)];this[t(363)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(360)==s||e(361)==s||e(382)==s||e(376)==s||e(383)==s||e(367)==s||e(381)==s){delete n[i],r=s,clearInterval(this[e(363)]),this[e(363)]=void 0;break}}e(361)==r&&n[e(371)](e(369)),e(382)==r&&n[e(371)](e(370)),e(376)==r&&n[e(371)](e(396)),e(383)==r&&n[e(371)](e(394),e(384)),e(367)==r&&n[e(371)](e(373)),e(381)==r&&n[e(371)](e(374))},1e3)}[o(366)](){const t=o;super[t(366)](),this[t(363)]&&clearInterval(this[t(363)])}}var p=n(355),f=n(311),d=n(584);const m=w;function h(){const t=["forEach","24146878DCXgbj","267205HJPeLL","set","1915281JlujKj","2053293ErrqWr","13MeLqih","originalIndex","addMany","isMatching","1737340BVxFpW","highlightText","title","clear","20pMNtBw","map","48rdJgwd","isVisible","4vFqKme","length","4KIjgSJ","84EBpxZb","get","items","7tLEWug","buttonView","sort","size","_resetFiltering","10547648UBcKUq","filter","646011ZzSNtY"];return(h=function(){return t})()}!function(t){const e=w,n=t();for(;;)try{if(791640===-parseInt(e(427))/1*(parseInt(e(414))/2)+-parseInt(e(433))/3*(-parseInt(e(416))/4)+-parseInt(e(430))/5*(-parseInt(e(417))/6)+-parseInt(e(420))/7*(-parseInt(e(425))/8)+parseInt(e(432))/9*(parseInt(e(410))/10)+-parseInt(e(438))/11*(-parseInt(e(412))/12)+parseInt(e(434))/13*(-parseInt(e(429))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class k extends f.ListView{[m(426)](t){const e=m;if(!t)return this[e(424)]();const n=new Map,r=this[e(419)][e(411)](r=>{const i=e,s=r[i(421)][i(437)](t);return r[i(413)]=!!s,r[i(421)][i(439)](s?t:null),s&&n[i(431)](r,s),r})[e(422)](g)[e(422)]((i=n,function(t,e){const n=w,r=i[n(418)](t),s=i[n(418)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(408)]&&!s[n(408)]?-1:!r[n(408)]&&s[n(408)]?1:0:0}));var i;return this[e(419)][e(409)](),this[e(419)][e(436)](r),{resultsCount:n[e(423)],totalItemsCount:this[e(419)][e(415)]}}[m(424)](){const t=m,e=this[t(419)][t(411)](t=>t)[t(422)](g);return e[t(428)](e=>{const n=t;e[n(413)]=!0,e[n(421)][n(439)](null)}),this[t(419)][t(409)](),this[t(419)][t(436)](e),{resultsCount:e[t(415)],totalItemsCount:e[t(415)]}}}function w(t,e){const n=h();return(w=function(t,e){return n[t-=408]})(t,e)}function g(t,e){const n=m;return t[n(435)]-e[n(435)]}var I=v;function v(t,e){var n=y();return(v=function(t,e){return n[t-=191]})(t,e)}function y(){var t=["4169766KjgLNH","buttonView","51436520jxcKoF","11DrmPVu","4106200VwqtjL","490976nVvFkm","147EVGRcL","9350gGcyNF","306qWjpGF","originalIndex","10242KLdcEg","7398937sHHmkL","18XDtxyO"];return(y=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(699288===-parseInt(e(194))/1*(parseInt(e(198))/2)+-parseInt(e(201))/3+-parseInt(e(192))/4+-parseInt(e(195))/5*(parseInt(e(196))/6)+-parseInt(e(199))/7+parseInt(e(193))/8*(-parseInt(e(200))/9)+parseInt(e(203))/10*(parseInt(e(191))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class b extends f.ListItemView{[I(197)];[I(202)];constructor(t,e){var n=I;super(t),this[n(197)]=e,this[n(202)]=null}}function x(){const t=["isMatching","element","281367nCRxqq","ck-template-form__description","extendTemplate","push","highlightText","iconView","remove","98718FSbgcQ","95ReIqPD","2228872poYLLX","730250RqWRFr","setTemplate","isColorInherited","ck-template-form__text-part","ck-button__label","description","descriptionView","add","locale","div","32vyngRQ","set","textPartView","ck-template-button","children","title","span","930380jtJfON","8792KhPXnC","render","labelView","match","text","destroy","2808846NXTQah","titleView","templateDefinition","option","7oJIbGM"];return(x=function(){return t})()}const _=T;function T(t,e){const n=x();return(T=function(t,e){return n[t-=229]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(165409===parseInt(e(250))/1*(parseInt(e(242))/2)+-parseInt(e(263))/3+-parseInt(e(249))/4+parseInt(e(230))/5*(-parseInt(e(229))/6)+parseInt(e(260))/7*(parseInt(e(231))/8)+parseInt(e(256))/9+parseInt(e(232))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(x);class L extends f.ButtonView{[_(258)];[_(244)];constructor(t,e){const n=_;super(t),this[n(258)]=e,this[n(244)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(243)]({withText:!0,class:n(245),role:n(259),icon:r}),this[n(268)][n(234)]=!1}[_(251)](){const t=_;super[t(251)](),this[t(244)]=new V(this[t(240)],this[t(258)],this[t(252)][t(262)].id),this[t(246)][t(269)](this[t(252)]),this[t(246)][t(239)](this[t(244)])}[_(255)](){const t=_;super[t(255)](),this[t(252)][t(255)]()}[_(261)](t){const e=_,{title:n,description:r}=this[e(258)],i=!!n[e(253)](t),s=!(!r||!r[e(253)](t));return i||s?{title:i,description:s}:null}[_(267)](t){const e=_;this[e(244)][e(267)](t)}}class V extends f.View{constructor(t,e,n){const r=_;super(t),this[r(247)]=e[r(247)],this[r(237)]=e[r(237)],this[r(257)]=new f.HighlightedTextView,this[r(257)][r(254)]=this[r(247)],this[r(257)][r(265)]({tag:r(248),attributes:{class:[r(236)],id:n}});const i=[this[r(257)]];this[r(237)]&&(this[r(238)]=new f.HighlightedTextView,this[r(238)][r(254)]=this[r(237)],this[r(238)][r(265)]({tag:"p",attributes:{class:[r(264)]}}),i[r(266)](this[r(238)])),this[r(233)]({tag:r(241),attributes:{class:["ck",r(235)]},children:i})}[_(267)](t){const e=_;this[e(257)][e(267)](t),this[e(237)]&&this[e(238)][e(267)](t)}}function M(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var N=n(929),S=n.n(N),C=n(297),P=n.n(C),K=n(102),j=n.n(K),E=n(123),B=n.n(E),O=n(741),A=n.n(O),F=n(49),R={attributes:{"data-cke":!0}};R.setAttributes=B(),R.insert=j().bind(null,"head"),R.domAPI=P(),R.insertStyleElement=A();S()(F.A,R);F.A&&F.A.locals&&F.A.locals;const q=H;function z(){const t=["init","delegate","source","menuBar:insertTemplate","insertTemplate","Insert template","reset","bind","get","78FjtkYk","824874BSqBgT","data","ariaLiveAnnouncer","children","view","Search template","6420414BHTWkd","isOfficialPlugin","TemplateUI","length","isEnabled","277400NlxKLR","897926GPAmpk","href","execute","resultsCount","extendTemplate","componentFactory","config","title","buttonView","addMany","template.definitions","ck-template-button","change:isOpen","_createTemplateListView","30438SnaVfk","search","Please try a different phrase or check the spelling.","22220vfYQmO","%0 templates found","Template","5NrmFWJ","81fhJRRz","afterInit","templateDefinition","items","ck-template-form","ck-template-list","announce","1650772vmZbPF","commands","pluginName","add","panelView","3620GgxYCB",'No templates were found matching "%0".',"editing","focus","map","listbox","isPremiumPlugin","join","fromCharCode","No templates available.","set","query","icon"];return(z=function(){return t})()}function H(t,e){const n=z();return(H=function(t,e){return n[t-=167]})(t,e)}!function(t){const e=H,n=t();for(;;)try{if(507425===parseInt(e(223))/1+-parseInt(e(169))/2*(-parseInt(e(210))/3)+parseInt(e(183))/4*(parseInt(e(175))/5)+parseInt(e(211))/6+-parseInt(e(217))/7+parseInt(e(222))/8*(parseInt(e(176))/9)+-parseInt(e(188))/10*(parseInt(e(172))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);class D extends t.Plugin{static get[q(185)](){return q(219)}static get[q(218)](){return!0}static get[q(194)](){return!0}[q(201)](){const t=q,{editor:e}=this,n=e[t(229)][t(209)](t(233))||[];e.ui[t(228)][t(186)](t(205),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(168)](r,n),a=new f.SearchTextView(r,{filteredView:c,queryView:{label:M(r,i(216))},class:i(180),infoView:{text:{notFound:{primary:t=>M(r,i(189),t),secondary:M(r,i(171))},noSearchableItems:{primary:M(r,i(197))}}}}),o=e[i(184)][i(209)](i(205));return a.on(i(170),(t,n)=>{const s=i;n[s(199)]&&n[s(199)][s(220)]&&e.ui[s(213)][s(182)](M(r,s(173),n[s(226)]))}),s[i(208)](i(221)).to(o),s[i(187)][i(214)][i(186)](a),s[i(231)][i(198)]({label:M(r,i(206)),icon:p.IconTemplate,tooltip:!0}),s.on(i(167),(t,e,n)=>{n||a[i(207)]()}),s}),e.ui[t(228)][t(186)](t(204),r=>{const i=t,s=e[i(184)][i(209)](i(205)),c=new f.MenuBarMenuView(r);c[i(231)][i(198)]({label:M(r,i(174)),icon:p.IconTemplate});const a=new f.MenuBarMenuListView(r);if(!n||!n[i(220)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(198)]({label:M(r,i(197))}),n[i(202)](i(225)).to(c),n.on(i(225),()=>{const t=i;e[t(190)][t(215)][t(191)]()}),t[i(214)][i(186)](n),a[i(179)][i(186)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(198)]({class:i(234),label:t[i(230)],icon:t[i(200)]||p.IconTemplateGeneric}),s[i(202)](i(225)).to(c),s.on(i(225),()=>{const n=i;e[n(225)](n(205),t[n(212)]),e[n(190)][n(215)][n(191)]()}),n[i(214)][i(186)](s),a[i(179)][i(186)](n)}return c[i(187)][i(214)][i(186)](a),c[i(208)](i(221)).to(s,i(221)),c})}[q(177)](){!async function(t){const e=m([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],i=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function a(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](o(t)):null}function o(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function p(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(t){const e=H;return t[e(192)](t=>String[e(196)](t))[e(195)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([103]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=m([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await i,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(a=>{if(s())return a(m([86,97,108,105,100]));c(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const f=(0,d.uid)();function h(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function k(r){o(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(f+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=c();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](a)[m([99,97,116,99,104])](()=>{a(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+u(l(t)),r=p(u(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function c(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function o(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return a(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:f}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[m([114,101,116,117,114,110])])&&(o=!0,k(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),i[m([116,104,101,110])](()=>{o||a(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function c(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=c[m([115,112,108,105,116])](m([46])),[i,s,a]=r;return e(i),await n(i,s,a),t}catch{return!1}function e(e){const n=a(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](o(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),c=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const l=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,i,c)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([84,80,76]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([68,82,85,80]))&&window[m([68,114,117,112,97,108])]||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1772323200;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=H,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(224)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const i=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&f?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),f[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[q(168)](t,e){const n=q,{editor:r}=this,i=new k(t);return i[n(227)]({attributes:{role:n(193),class:[n(181)]}}),i[n(179)][n(232)](e[n(192)]((e,i)=>{const s=n,c=new b(t,i),a=new L(t,e);return c[s(231)]=a,c[s(214)][s(186)](a),c[s(231)].on(s(225),t=>{const e=s;r[e(225)](e(205),t[e(203)][e(178)][e(212)]),r[e(190)][e(215)][e(191)]()}),c})),i}}function J(t,e){var n=G();return(J=function(t,e){return n[t-=387]})(t,e)}var W=J;function G(){var t=["4563880OIWcqt","isOfficialPlugin","isPremiumPlugin","17993090ygauyJ","pluginName","Template","7PBQRBN","232176gXcCjg","594198LyLSOR","requires","20unianE","31942TZLEan","9mEShGm","249987vMytnl","2103085sKQUtb"];return(G=function(){return t})()}!function(t){for(var e=J,n=t();;)try{if(345630===parseInt(e(397))/1*(-parseInt(e(387))/2)+parseInt(e(389))/3*(-parseInt(e(401))/4)+-parseInt(e(390))/5+parseInt(e(399))/6+-parseInt(e(398))/7+-parseInt(e(391))/8+-parseInt(e(388))/9*(-parseInt(e(394))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class U extends t.Plugin{static get[W(400)](){return[u,D]}static get[W(395)](){return W(396)}static get[W(392)](){return!0}static get[W(393)](){return!0}}function Q(t,e){var n=X();return(Q=function(t,e){return n[t-=289]})(t,e)}function X(){var t=["596994RHktZq","1015gXvKTo","10733YBROUW","6FWIOZD","30spwMDm","1460669hQsRCc","1225120TlmAyG","6500lFBTXt","125703oJQPSg","18gNPhnX","3787344Wpayrg"];return(X=function(){return t})()}!function(t){for(var e=Q,n=t();;)try{if(267540===parseInt(e(298))/1*(parseInt(e(294))/2)+parseInt(e(296))/3+-parseInt(e(292))/4*(-parseInt(e(297))/5)+-parseInt(e(299))/6*(parseInt(e(290))/7)+parseInt(e(291))/8+parseInt(e(293))/9*(parseInt(e(289))/10)+-parseInt(e(295))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x838334,Plugin as _0x55a3c9}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0xfe0118,IconTemplate as _0xef315}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x1dca26,ListItemView as _0x19af4a,ButtonView as _0x5cf134,View as _0x4b5762,HighlightedTextView as _0x1a41b1,createDropdown as _0xf55b0b,SearchTextView as _0x22cb5a,MenuBarMenuView as _0x49db61,MenuBarMenuListView as _0x5a933a,MenuBarMenuListItemView as _0x2cc91a,MenuBarMenuListItemButtonView as _0x3ee66e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x5603a1}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x838334{['execute'](_0x3b0dcc){const {model:_0x3f1cf7}=this['editor'];let _0x42b4c4;switch(typeof _0x3b0dcc){case'string':_0x42b4c4=_0x3b0dcc;break;case'function':_0x42b4c4=_0x3b0dcc();}'string'==typeof _0x42b4c4&&_0x3f1cf7['change'](()=>{const _0x5b406e=this['editor']['data']['htmlProcessor']['toView'](_0x42b4c4),_0x15b851=this['editor']['data']['toModel'](_0x5b406e);_0x3f1cf7['insertContent'](_0x15b851);});}}class i extends _0x55a3c9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b770b}=this;_0x1b770b['commands']['add']('insertTemplate',new a(_0x1b770b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b9348=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2d6918;for(const _0x1c10d2 in _0x4b9348){const _0x500d99=_0x1c10d2,_0x4e2b9e=_0x4b9348[_0x500d99];if('templateLicenseKeyValid'==_0x4e2b9e||'templateLicenseKeyInvalid'==_0x4e2b9e||'templateLicenseKeyExpired'==_0x4e2b9e||'templateLicenseKeyDomainLimit'==_0x4e2b9e||'templateLicenseKeyNotAllowed'==_0x4e2b9e||'templateLicenseKeyEvaluationLimit'==_0x4e2b9e||'templateLicenseKeyUsageLimit'==_0x4e2b9e){delete _0x4b9348[_0x500d99],_0x2d6918=_0x4e2b9e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x2d6918&&_0x4b9348['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x2d6918&&_0x4b9348['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x2d6918&&_0x4b9348['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x2d6918&&_0x4b9348['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x2d6918&&_0x4b9348['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x2d6918&&_0x4b9348['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x1dca26{['filter'](_0x4d5fce){if(!_0x4d5fce)return this['_resetFiltering']();const _0x1e13df=new Map(),_0x5927ac=this['items']['map'](_0x471add=>{const _0x39807f=_0x471add['buttonView']['isMatching'](_0x4d5fce);return _0x471add['isVisible']=!!_0x39807f,_0x471add['buttonView']['highlightText'](_0x39807f?_0x4d5fce:null),_0x39807f&&_0x1e13df['set'](_0x471add,_0x39807f),_0x471add;})['sort'](j)['sort'](function(_0x23c7ee){return function(_0x223e2e,_0x476dcc){const _0x2f7550=_0x23c7ee['get'](_0x223e2e),_0x497241=_0x23c7ee['get'](_0x476dcc);return _0x2f7550&&!_0x497241?-0x1:_0x497241&&!_0x2f7550?0x1:_0x2f7550||_0x497241?_0x2f7550['title']&&!_0x497241['title']?-0x1:!_0x2f7550['title']&&_0x497241['title']?0x1:0x0:0x0;};}(_0x1e13df));return this['items']['clear'](),this['items']['addMany'](_0x5927ac),{'resultsCount':_0x1e13df['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x5240ea=this['items']['map'](_0x3c79f7=>_0x3c79f7)['sort'](j);return _0x5240ea['forEach'](_0x985aee=>{_0x985aee['isVisible']=!0x0,_0x985aee['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x5240ea),{'resultsCount':_0x5240ea['length'],'totalItemsCount':_0x5240ea['length']};}}function j(_0x741e42,_0x12749e){return _0x741e42['originalIndex']-_0x12749e['originalIndex'];}class b extends _0x19af4a{['originalIndex'];['buttonView'];constructor(_0x3da8fe,_0x158101){super(_0x3da8fe),this['originalIndex']=_0x158101,this['buttonView']=null;}}class h extends _0x5cf134{['templateDefinition'];['textPartView'];constructor(_0x311c79,_0x48d40f){super(_0x311c79),this['templateDefinition']=_0x48d40f,this['textPartView']=null;const {icon:_0x53c30f=_0xfe0118}=_0x48d40f;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x53c30f}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new L(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x5c647f){const {title:_0x2ca908,description:_0x33ecc2}=this['templateDefinition'],_0x3839f1=!!_0x2ca908['match'](_0x5c647f),_0x1f8fe1=!(!_0x33ecc2||!_0x33ecc2['match'](_0x5c647f));return _0x3839f1||_0x1f8fe1?{'title':_0x3839f1,'description':_0x1f8fe1}:null;}['highlightText'](_0x5114c5){this['textPartView']['highlightText'](_0x5114c5);}}class L extends _0x4b5762{constructor(_0x42bbb9,_0x5e921d,_0xd8beac){super(_0x42bbb9),this['title']=_0x5e921d['title'],this['description']=_0x5e921d['description'],this['titleView']=new _0x1a41b1(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0xd8beac}});const _0x3d0d5e=[this['titleView']];this['description']&&(this['descriptionView']=new _0x1a41b1(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x3d0d5e['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x3d0d5e});}['highlightText'](_0x335e95){this['titleView']['highlightText'](_0x335e95),this['description']&&this['descriptionView']['highlightText'](_0x335e95);}}function g(_0x95fbcf,_0x3178af,..._0x282d1b){const t=_0x95fbcf['t'];switch(_0x3178af){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x282d1b);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x282d1b);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3178af;}}class s extends _0x55a3c9{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1f5080}=this,_0x5459d0=_0x1f5080['config']['get']('template.definitions')||[];_0x1f5080['ui']['componentFactory']['add']('insertTemplate',_0xf02834=>{const _0x58e8ea=_0xf55b0b(_0xf02834),_0x3f3594=this['_createTemplateListView'](_0xf02834,_0x5459d0),_0x161815=new _0x22cb5a(_0xf02834,{'filteredView':_0x3f3594,'queryView':{'label':g(_0xf02834,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x1c6c27=>g(_0xf02834,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x1c6c27),'secondary':g(_0xf02834,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0xf02834,'No\x20templates\x20available.')}}}}),_0x24e834=_0x1f5080['commands']['get']('insertTemplate');return _0x161815['on']('search',(_0x31268d,_0x490f91)=>{_0x490f91['query']&&_0x490f91['query']['length']&&_0x1f5080['ui']['ariaLiveAnnouncer']['announce'](g(_0xf02834,'%0\x20templates\x20found',_0x490f91['resultsCount']));}),_0x58e8ea['bind']('isEnabled')['to'](_0x24e834),_0x58e8ea['panelView']['children']['add'](_0x161815),_0x58e8ea['buttonView']['set']({'label':g(_0xf02834,'Insert\x20template'),'icon':_0xef315,'tooltip':!0x0}),_0x58e8ea['on']('change:isOpen',(_0x40e05d,_0xdd6de7,_0x33e7b5)=>{_0x33e7b5||_0x161815['reset']();}),_0x58e8ea;}),_0x1f5080['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x70c5ff=>{const _0x25fe22=_0x1f5080['commands']['get']('insertTemplate'),_0x4da9c2=new _0x49db61(_0x70c5ff);_0x4da9c2['buttonView']['set']({'label':g(_0x70c5ff,'Template'),'icon':_0xef315});const _0x215280=new _0x5a933a(_0x70c5ff);if(!_0x5459d0||!_0x5459d0['length']){const _0x46ddd3=new _0x2cc91a(_0x70c5ff,_0x4da9c2),_0x2f4442=new _0x3ee66e(_0x70c5ff);_0x2f4442['set']({'label':g(_0x70c5ff,'No\x20templates\x20available.')}),_0x2f4442['delegate']('execute')['to'](_0x4da9c2),_0x2f4442['on']('execute',()=>{_0x1f5080['editing']['view']['focus']();}),_0x46ddd3['children']['add'](_0x2f4442),_0x215280['items']['add'](_0x46ddd3);}for(const _0x4c26e6 of _0x5459d0){const _0x5a008a=new _0x2cc91a(_0x70c5ff,_0x4da9c2),_0xc04522=new _0x3ee66e(_0x70c5ff);_0xc04522['set']({'class':'ck-template-button','label':_0x4c26e6['title'],'icon':_0x4c26e6['icon']||_0xfe0118}),_0xc04522['delegate']('execute')['to'](_0x4da9c2),_0xc04522['on']('execute',()=>{_0x1f5080['execute']('insertTemplate',_0x4c26e6['data']),_0x1f5080['editing']['view']['focus']();}),_0x5a008a['children']['add'](_0xc04522),_0x215280['items']['add'](_0x5a008a);}return _0x4da9c2['panelView']['children']['add'](_0x215280),_0x4da9c2['bind']('isEnabled')['to'](_0x25fe22,'isEnabled'),_0x4da9c2;});}['afterInit'](){!async function(_0x505dc6){const _0x1f8c62=_0x157126([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x1b3ba6=0x6b0f5e6f,_0x2f9236=0x6b08dd6f^_0x1b3ba6,_0x5cd28b=window[_0x157126([0x44,0x61,0x74,0x65])][_0x157126([0x6e,0x6f,0x77])](),_0x1e0d0e=_0x505dc6[_0x157126([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e706e=new window[(_0x157126([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x326e5c=>{_0x1e0d0e[_0x157126([0x6f,0x6e,0x63,0x65])](_0x157126([0x72,0x65,0x61,0x64,0x79]),_0x326e5c);}),_0x46ec7a={[_0x157126([0x6b,0x74,0x79])]:_0x157126([0x45,0x43]),[_0x157126([0x75,0x73,0x65])]:_0x157126([0x73,0x69,0x67]),[_0x157126([0x63,0x72,0x76])]:_0x157126([0x50,0x2d,0x32,0x35,0x36]),[_0x157126([0x78])]:_0x157126([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x157126([0x79])]:_0x157126([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x157126([0x61,0x6c,0x67])]:_0x157126([0x45,0x53,0x32,0x35,0x36])},_0x1554a7=_0x1e0d0e[_0x157126([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x157126([0x67,0x65,0x74])](_0x157126([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x528946(){let _0x41a24a,_0x9946ce=null,_0x2b09ee=null;try{if(_0x1554a7==_0x157126([0x47,0x50,0x4c]))return _0x157126([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41a24a=_0x142b90(),!_0x41a24a)return _0x157126([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41a24a[_0x157126([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b09ee=_0x4beedb(_0x41a24a[_0x157126([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41a24a[_0x157126([0x6a,0x74,0x69])])),await _0x160e6b()?_0x335c00()?_0x2d7cdb()?_0x157126([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ea54d()?(_0x41a24a[_0x157126([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157126([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9946ce=_0x21b34(_0x157126([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x25ec22()):_0x157126([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x157126([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x157126([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x157126([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d7cdb(){const _0x523e80=[_0x157126([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x157126([0x74,0x72,0x69,0x61,0x6c])][_0x157126([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41a24a[_0x157126([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5cd28b/0x3e8:0xe10*_0x2f9236;return _0x41a24a[_0x157126([0x65,0x78,0x70])]<_0x523e80;}function _0x335c00(){const _0x51b245=_0x41a24a[_0x157126([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51b245&&(!!_0x51b245[_0x157126([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157126([0x2a]))||(!!_0x51b245[_0x157126([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157126([0x54,0x50,0x4c]))||(!!_0x51b245[_0x157126([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157126([0x50,0x50]))||(!(!_0x51b245[_0x157126([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157126([0x44,0x52,0x55,0x50]))||!_0x29d42d())||!(!_0x51b245[_0x157126([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157126([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x516ed7())))));}function _0x3ea54d(){const _0x2fc72c=_0x41a24a[_0x157126([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2fc72c||0x0==_0x2fc72c[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4fbb8a}=new URL(window[_0x157126([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2fc72c[_0x157126([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fbb8a))return!0x0;const _0x219ee0=_0x4fbb8a[_0x157126([0x73,0x70,0x6c,0x69,0x74])](_0x157126([0x2e]));return _0x2fc72c[_0x157126([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3108d0=>_0x3108d0[_0x157126([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157126([0x2a])))[_0x157126([0x6d,0x61,0x70])](_0x4f4941=>_0x4f4941[_0x157126([0x73,0x70,0x6c,0x69,0x74])](_0x157126([0x2e])))[_0x157126([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fa78e=>_0x4fa78e[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x219ee0[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157126([0x6d,0x61,0x70])](_0x22eaf9=>Array(_0x219ee0[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22eaf9[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157126([0x66,0x69,0x6c,0x6c])](_0x22eaf9[0x0]===_0x157126([0x2a])?_0x157126([0x2a]):'')[_0x157126([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22eaf9))[_0x157126([0x73,0x6f,0x6d,0x65])](_0x32cd22=>_0x219ee0[_0x157126([0x65,0x76,0x65,0x72,0x79])]((_0x32f4e9,_0x421e29)=>_0x32cd22[_0x421e29]===_0x32f4e9||_0x32cd22[_0x421e29]===_0x157126([0x2a])));}function _0x25ec22(){return _0x9946ce&&_0x2b09ee?new window[(_0x157126([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25f117,_0x376643)=>{_0x9946ce[_0x157126([0x74,0x68,0x65,0x6e])](_0x25f117,_0x376643),_0x2b09ee[_0x157126([0x74,0x68,0x65,0x6e])](_0x331bd2=>{_0x331bd2!=_0x157126([0x56,0x61,0x6c,0x69,0x64])&&_0x25f117(_0x331bd2);},_0x376643);}):_0x9946ce||_0x2b09ee||_0x157126([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4beedb(_0xc7e622,_0x5148fa){return new window[(_0x157126([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c6ea4=>{if(_0x1021f9())return _0x4c6ea4(_0x157126([0x56,0x61,0x6c,0x69,0x64]));_0xfe477d(),_0x1e0d0e[_0x157126([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x157126([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28cb25=!0x1;const _0x39b2ea=_0x5603a1();function _0x124df9(_0x206e90){return!!_0x206e90&&(typeof _0x206e90===_0x157126([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x206e90===_0x157126([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x206e90[_0x157126([0x74,0x68,0x65,0x6e])]===_0x157126([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x206e90[_0x157126([0x63,0x61,0x74,0x63,0x68])]===_0x157126([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2edcac(_0x5d05a1){_0x408ae7(_0x5d05a1)[_0x157126([0x74,0x68,0x65,0x6e])](_0x5154b4=>{if(!_0x5154b4||_0x5154b4[_0x157126([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x157126([0x6f,0x6b]))return _0x157126([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3aedd8(_0xc5c9a7(_0x39b2ea+_0x5148fa))!=_0x5154b4[_0x157126([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x157126([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x157126([0x56,0x61,0x6c,0x69,0x64]);})[_0x157126([0x74,0x68,0x65,0x6e])](_0x3ecfa9=>(_0x3c7f2f(),_0x3ecfa9),()=>{const _0x3e20cf=_0x337ae6();return null==_0x3e20cf?(_0x3c7f2f(),_0x157126([0x56,0x61,0x6c,0x69,0x64])):_0x157126(_0x5cd28b-_0x3e20cf>(0x4f03da6f^_0x1b3ba6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x157126([0x74,0x68,0x65,0x6e])](_0x4c6ea4)[_0x157126([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c6ea4(_0x157126([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x479ed3=0x6b39b0ef^_0x1b3ba6;function _0x3c7f2f(){const _0x57e217=_0x157126([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedd8(_0xc5c9a7(_0xc7e622)),_0x464871=_0x27999f(_0x3aedd8(window[_0x157126([0x4d,0x61,0x74,0x68])][_0x157126([0x63,0x65,0x69,0x6c])](_0x5cd28b/_0x479ed3)));window[_0x157126([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157126([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57e217,_0x464871);}function _0x337ae6(){const _0x138338=_0x157126([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedd8(_0xc5c9a7(_0xc7e622)),_0x26e6e1=window[_0x157126([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157126([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x138338);return _0x26e6e1?window[_0x157126([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27999f(_0x26e6e1),0x10)*_0x479ed3:null;}function _0x408ae7(_0x46cb02){return new window[(_0x157126([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x128ed3,_0xa3ed71)=>{_0x46cb02[_0x157126([0x74,0x68,0x65,0x6e])](_0x128ed3,_0xa3ed71),window[_0x157126([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa3ed71,0x6b0e8aaf^_0x1b3ba6);});}}_0x1e0d0e[_0x157126([0x6f,0x6e])](_0x157126([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49ec20,_0x1c79fa)=>{if(_0x1c79fa[0x0]!=_0xc7e622)return _0x4c6ea4(_0x157126([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c79fa[0x1]={..._0x1c79fa[0x1],[_0x157126([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39b2ea};},{[_0x157126([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157126([0x68,0x69,0x67,0x68])}),_0x1e0d0e[_0x157126([0x6f,0x6e])](_0x157126([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bdd24=>{_0x124df9(_0x3bdd24[_0x157126([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28cb25=!0x0,_0x2edcac(_0x3bdd24[_0x157126([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x157126([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157126([0x6c,0x6f,0x77])}),_0x2e706e[_0x157126([0x74,0x68,0x65,0x6e])](()=>{_0x28cb25||_0x4c6ea4(_0x157126([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1021f9(){return _0x1e0d0e[_0x157126([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157126([0x76,0x69,0x65,0x77])][_0x157126([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x157126([0x61,0x75,0x74,0x6f]);}function _0xfe477d(){_0x1e0d0e[_0x157126([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157126([0x76,0x69,0x65,0x77])][_0x157126([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x157126([0x61,0x75,0x74,0x6f]);}}function _0x21b34(_0x5d653e){const _0x37d9c3=[new window[(_0x157126([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cac5b=>setTimeout(_0x1cac5b,0x6b0660a3^_0x1b3ba6)),_0x2e706e[_0x157126([0x74,0x68,0x65,0x6e])](()=>new window[(_0x157126([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17ddaf=>{let _0x666a99=0x0;_0x1e0d0e[_0x157126([0x6d,0x6f,0x64,0x65,0x6c])][_0x157126([0x6f,0x6e])](_0x157126([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bf610,_0x3bee07)=>{_0x3bee07[0x0][_0x157126([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x666a99++,_0x666a99==(0x6b0f5b87^_0x1b3ba6)&&(_0x17ddaf(),_0x2bf610[_0x157126([0x6f,0x66,0x66])]());});}))];return window[_0x157126([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x157126([0x72,0x61,0x63,0x65])](_0x37d9c3)[_0x157126([0x74,0x68,0x65,0x6e])](()=>_0x5d653e);}async function _0x8eb9a7(){await _0x2e706e,_0x1e0d0e[_0x157126([0x6d,0x6f,0x64,0x65,0x6c])][_0x157126([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45e80a,_0x1e0d0e[_0x157126([0x6d,0x6f,0x64,0x65,0x6c])][_0x157126([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45e80a,_0x1e0d0e[_0x157126([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x157126([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29d42d(){return window[_0x157126([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x516ed7(){return window[_0x157126([0x67,0x6c,0x6f,0x62])]&&window[_0x157126([0x67,0x6c,0x6f,0x62])][_0x157126([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x350d7b(_0x256f9e){const _0x56c384=_0x26ddbe();_0x1e0d0e[_0x56c384]=_0x157126([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x256f9e,_0x256f9e!=_0x157126([0x56,0x61,0x6c,0x69,0x64])&&_0x8eb9a7();}function _0x26ddbe(){const _0x259bba=window[_0x157126([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x157126([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x157126([0x6e,0x6f,0x77])]())[_0x157126([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x157126([0x2e]),'');let _0x59e08c=_0x157126([0x67]);for(let _0x5dedb3=0x0;_0x5dedb3<_0x259bba[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5dedb3+=0x2){let _0x244e63=window[_0x157126([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x259bba[_0x157126([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dedb3,_0x5dedb3+0x2));_0x244e63>=_0x1f8c62[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x244e63-=_0x1f8c62[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59e08c+=_0x1f8c62[_0x244e63];}return _0x59e08c;}function _0x142b90(){const _0x397971=_0x1554a7[_0x157126([0x73,0x70,0x6c,0x69,0x74])](_0x157126([0x2e]));if(0x3!=_0x397971[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fe905(_0x397971[0x1]);function _0x4fe905(_0x3a80cb){const _0x140e22=_0x49b0d0(_0x3a80cb);return _0x140e22&&_0x51faa9()?_0x140e22:null;function _0x51faa9(){const _0x11c47b=_0x140e22[_0x157126([0x6a,0x74,0x69])],_0x23fbdc=window[_0x157126([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11c47b[_0x157126([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11c47b[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a51b1={..._0x140e22,[_0x157126([0x6a,0x74,0x69])]:_0x11c47b[_0x157126([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x11c47b[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a51b1[_0x157126([0x76,0x63])],_0xc5c9a7(_0x2a51b1)==_0x23fbdc;}}}async function _0x160e6b(){let _0x3afa81=!0x0;try{const _0x32b9aa=_0x1554a7[_0x157126([0x73,0x70,0x6c,0x69,0x74])](_0x157126([0x2e])),[_0x17e467,_0x280ea8,_0x5b984c]=_0x32b9aa;return _0x53af5b(_0x17e467),await _0x2d88a4(_0x17e467,_0x280ea8,_0x5b984c),_0x3afa81;}catch{return!0x1;}function _0x53af5b(_0x444065){const _0x2fb17c=_0x49b0d0(_0x444065);_0x2fb17c&&_0x2fb17c[_0x157126([0x61,0x6c,0x67])]==_0x157126([0x45,0x53,0x32,0x35,0x36])||(_0x3afa81=!0x1);}async function _0x2d88a4(_0x269af3,_0x46b853,_0x2fb000){const _0x33d463=window[_0x157126([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x157126([0x66,0x72,0x6f,0x6d])](_0x3c7b13(_0x2fb000),_0x2fccb7=>_0x2fccb7[_0x157126([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5187c6=new window[(_0x157126([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x157126([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x269af3+_0x157126([0x2e])+_0x46b853),_0x5b1c23=window[_0x157126([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x157126([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b1c23)return;const _0x3f08f4=await _0x5b1c23[_0x157126([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x157126([0x6a,0x77,0x6b]),_0x46ec7a,{[_0x157126([0x6e,0x61,0x6d,0x65])]:_0x157126([0x45,0x43,0x44,0x53,0x41]),[_0x157126([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x157126([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x157126([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b1c23[_0x157126([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x157126([0x6e,0x61,0x6d,0x65])]:_0x157126([0x45,0x43,0x44,0x53,0x41]),[_0x157126([0x68,0x61,0x73,0x68])]:{[_0x157126([0x6e,0x61,0x6d,0x65])]:_0x157126([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f08f4,_0x33d463,_0x5187c6)||(_0x3afa81=!0x1);}}function _0x49b0d0(_0x65c243){return _0x65c243[_0x157126([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x157126([0x65,0x79]))?JSON[_0x157126([0x70,0x61,0x72,0x73,0x65])](_0x3c7b13(_0x65c243)):null;}function _0x3c7b13(_0x290024){return window[_0x157126([0x61,0x74,0x6f,0x62])](_0x290024[_0x157126([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x157126([0x2b]))[_0x157126([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x157126([0x2f])));}function _0xc5c9a7(_0xd57622){let _0x9816eb=0x1505;function _0x1c04ed(_0x872622){for(let _0x496516=0x0;_0x496516<_0x872622[_0x157126([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x496516++){const _0x322fd6=_0x872622[_0x157126([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x496516);_0x9816eb=(_0x9816eb<<0x5)+_0x9816eb+_0x322fd6,_0x9816eb&=_0x9816eb;}}function _0x4e0e51(_0x170f6e){Array[_0x157126([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x170f6e)?_0x170f6e[_0x157126([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e0e51):_0x170f6e&&typeof _0x170f6e==_0x157126([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x157126([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x170f6e)[_0x157126([0x73,0x6f,0x72,0x74])]()[_0x157126([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xea11a,_0x1238de])=>{_0x1c04ed(_0xea11a),_0x4e0e51(_0x1238de);}):_0x1c04ed(window[_0x157126([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x170f6e));}return _0x4e0e51(_0xd57622),_0x9816eb>>>0x0;}function _0x3aedd8(_0x14b027){return _0x14b027[_0x157126([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x157126([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x157126([0x30]));}function _0x27999f(_0x279547){return _0x279547[_0x157126([0x73,0x70,0x6c,0x69,0x74])]('')[_0x157126([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x157126([0x6a,0x6f,0x69,0x6e])]('');}function _0x45e80a(){}function _0x157126(_0x305fa2){return _0x305fa2['map'](_0x505ddd=>String['fromCharCode'](_0x505ddd))['join']('');}_0x350d7b(await _0x528946());}(this);}['_createTemplateListView'](_0x39dad6,_0x105e3d){const {editor:_0x4bd938}=this,_0x48d99c=new y(_0x39dad6);return _0x48d99c['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x48d99c['items']['addMany'](_0x105e3d['map']((_0x9e41aa,_0x36b08c)=>{const _0x2de371=new b(_0x39dad6,_0x36b08c),_0x422020=new h(_0x39dad6,_0x9e41aa);return _0x2de371['buttonView']=_0x422020,_0x2de371['children']['add'](_0x422020),_0x2de371['buttonView']['on']('execute',_0x45a515=>{_0x4bd938['execute']('insertTemplate',_0x45a515['source']['templateDefinition']['data']),_0x4bd938['editing']['view']['focus']();}),_0x2de371;})),_0x48d99c;}}class v extends _0x55a3c9{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
23
+ import{Command as _0x374007,Plugin as _0xa6c556}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x3a8234,IconTemplate as _0x84811}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x15ed9b,ListItemView as _0xd8366e,ButtonView as _0x328e4c,View as _0x4fbbaa,HighlightedTextView as _0x977a6c,createDropdown as _0x9613a8,SearchTextView as _0x550a81,MenuBarMenuView as _0x1f51f4,MenuBarMenuListView as _0x398d5a,MenuBarMenuListItemView as _0x5362a7,MenuBarMenuListItemButtonView as _0x22983f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x3877a1}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x374007{['execute'](_0x56fc58){const {model:_0x2344ad}=this['editor'];let _0x3231e8;switch(typeof _0x56fc58){case'string':_0x3231e8=_0x56fc58;break;case'function':_0x3231e8=_0x56fc58();}'string'==typeof _0x3231e8&&_0x2344ad['change'](()=>{const _0x52a372=this['editor']['data']['htmlProcessor']['toView'](_0x3231e8),_0x1fdf19=this['editor']['data']['toModel'](_0x52a372);_0x2344ad['insertContent'](_0x1fdf19);});}}class i extends _0xa6c556{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x431369}=this;_0x431369['commands']['add']('insertTemplate',new a(_0x431369)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2bc5f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x31b66e;for(const _0x1e3de6 in _0x2bc5f1){const _0x5651dd=_0x1e3de6,_0x531ebe=_0x2bc5f1[_0x5651dd];if('templateLicenseKeyValid'==_0x531ebe||'templateLicenseKeyInvalid'==_0x531ebe||'templateLicenseKeyExpired'==_0x531ebe||'templateLicenseKeyDomainLimit'==_0x531ebe||'templateLicenseKeyNotAllowed'==_0x531ebe||'templateLicenseKeyEvaluationLimit'==_0x531ebe||'templateLicenseKeyUsageLimit'==_0x531ebe){delete _0x2bc5f1[_0x5651dd],_0x31b66e=_0x531ebe,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x31b66e&&_0x2bc5f1['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x31b66e&&_0x2bc5f1['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x31b66e&&_0x2bc5f1['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x31b66e&&_0x2bc5f1['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x31b66e&&_0x2bc5f1['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x31b66e&&_0x2bc5f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x15ed9b{['filter'](_0x47876c){if(!_0x47876c)return this['_resetFiltering']();const _0x41664b=new Map(),_0xe5c8b0=this['items']['map'](_0x2c49ad=>{const _0x501417=_0x2c49ad['buttonView']['isMatching'](_0x47876c);return _0x2c49ad['isVisible']=!!_0x501417,_0x2c49ad['buttonView']['highlightText'](_0x501417?_0x47876c:null),_0x501417&&_0x41664b['set'](_0x2c49ad,_0x501417),_0x2c49ad;})['sort'](j)['sort'](function(_0x5cc94d){return function(_0x4eb1cf,_0x121b10){const _0x2131e6=_0x5cc94d['get'](_0x4eb1cf),_0x4971fb=_0x5cc94d['get'](_0x121b10);return _0x2131e6&&!_0x4971fb?-0x1:_0x4971fb&&!_0x2131e6?0x1:_0x2131e6||_0x4971fb?_0x2131e6['title']&&!_0x4971fb['title']?-0x1:!_0x2131e6['title']&&_0x4971fb['title']?0x1:0x0:0x0;};}(_0x41664b));return this['items']['clear'](),this['items']['addMany'](_0xe5c8b0),{'resultsCount':_0x41664b['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0xe78f9e=this['items']['map'](_0x10a5be=>_0x10a5be)['sort'](j);return _0xe78f9e['forEach'](_0x749a89=>{_0x749a89['isVisible']=!0x0,_0x749a89['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0xe78f9e),{'resultsCount':_0xe78f9e['length'],'totalItemsCount':_0xe78f9e['length']};}}function j(_0x56c600,_0x29dd31){return _0x56c600['originalIndex']-_0x29dd31['originalIndex'];}class b extends _0xd8366e{['originalIndex'];['buttonView'];constructor(_0x4d9a10,_0x3ddc1e){super(_0x4d9a10),this['originalIndex']=_0x3ddc1e,this['buttonView']=null;}}class h extends _0x328e4c{['templateDefinition'];['textPartView'];constructor(_0x5cd714,_0x11f796){super(_0x5cd714),this['templateDefinition']=_0x11f796,this['textPartView']=null;const {icon:_0x516d7c=_0x3a8234}=_0x11f796;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x516d7c}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new L(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x24ffd5){const {title:_0x259439,description:_0x4cc08c}=this['templateDefinition'],_0x3f0689=!!_0x259439['match'](_0x24ffd5),_0x21b906=!(!_0x4cc08c||!_0x4cc08c['match'](_0x24ffd5));return _0x3f0689||_0x21b906?{'title':_0x3f0689,'description':_0x21b906}:null;}['highlightText'](_0x44c1d2){this['textPartView']['highlightText'](_0x44c1d2);}}class L extends _0x4fbbaa{constructor(_0xd85c72,_0x13d254,_0xcfa3f8){super(_0xd85c72),this['title']=_0x13d254['title'],this['description']=_0x13d254['description'],this['titleView']=new _0x977a6c(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0xcfa3f8}});const _0x1cdfb5=[this['titleView']];this['description']&&(this['descriptionView']=new _0x977a6c(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x1cdfb5['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x1cdfb5});}['highlightText'](_0x18908){this['titleView']['highlightText'](_0x18908),this['description']&&this['descriptionView']['highlightText'](_0x18908);}}function g(_0xa3e0e0,_0x1bc9aa,..._0xb523c9){const t=_0xa3e0e0['t'];switch(_0x1bc9aa){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xb523c9);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0xb523c9);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x1bc9aa;}}class s extends _0xa6c556{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1290d}=this,_0x16850f=_0x1290d['config']['get']('template.definitions')||[];_0x1290d['ui']['componentFactory']['add']('insertTemplate',_0x5a7b31=>{const _0x5c462c=_0x9613a8(_0x5a7b31),_0x3f35bc=this['_createTemplateListView'](_0x5a7b31,_0x16850f),_0x3a9e9d=new _0x550a81(_0x5a7b31,{'filteredView':_0x3f35bc,'queryView':{'label':g(_0x5a7b31,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x2bb3db=>g(_0x5a7b31,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x2bb3db),'secondary':g(_0x5a7b31,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x5a7b31,'No\x20templates\x20available.')}}}}),_0x52abef=_0x1290d['commands']['get']('insertTemplate');return _0x3a9e9d['on']('search',(_0x5c5509,_0x4cd430)=>{_0x4cd430['query']&&_0x4cd430['query']['length']&&_0x1290d['ui']['ariaLiveAnnouncer']['announce'](g(_0x5a7b31,'%0\x20templates\x20found',_0x4cd430['resultsCount']));}),_0x5c462c['bind']('isEnabled')['to'](_0x52abef),_0x5c462c['panelView']['children']['add'](_0x3a9e9d),_0x5c462c['buttonView']['set']({'label':g(_0x5a7b31,'Insert\x20template'),'icon':_0x84811,'tooltip':!0x0}),_0x5c462c['on']('change:isOpen',(_0x182802,_0x256d79,_0x4e60b7)=>{_0x4e60b7||_0x3a9e9d['reset']();}),_0x5c462c;}),_0x1290d['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x2a5fc8=>{const _0x57b831=_0x1290d['commands']['get']('insertTemplate'),_0x3bb2f8=new _0x1f51f4(_0x2a5fc8);_0x3bb2f8['buttonView']['set']({'label':g(_0x2a5fc8,'Template'),'icon':_0x84811});const _0x134085=new _0x398d5a(_0x2a5fc8);if(!_0x16850f||!_0x16850f['length']){const _0x111e7f=new _0x5362a7(_0x2a5fc8,_0x3bb2f8),_0x39b7a9=new _0x22983f(_0x2a5fc8);_0x39b7a9['set']({'label':g(_0x2a5fc8,'No\x20templates\x20available.')}),_0x39b7a9['delegate']('execute')['to'](_0x3bb2f8),_0x39b7a9['on']('execute',()=>{_0x1290d['editing']['view']['focus']();}),_0x111e7f['children']['add'](_0x39b7a9),_0x134085['items']['add'](_0x111e7f);}for(const _0x102be7 of _0x16850f){const _0x2e4522=new _0x5362a7(_0x2a5fc8,_0x3bb2f8),_0x57e1aa=new _0x22983f(_0x2a5fc8);_0x57e1aa['set']({'class':'ck-template-button','label':_0x102be7['title'],'icon':_0x102be7['icon']||_0x3a8234}),_0x57e1aa['delegate']('execute')['to'](_0x3bb2f8),_0x57e1aa['on']('execute',()=>{_0x1290d['execute']('insertTemplate',_0x102be7['data']),_0x1290d['editing']['view']['focus']();}),_0x2e4522['children']['add'](_0x57e1aa),_0x134085['items']['add'](_0x2e4522);}return _0x3bb2f8['panelView']['children']['add'](_0x134085),_0x3bb2f8['bind']('isEnabled')['to'](_0x57b831,'isEnabled'),_0x3bb2f8;});}['afterInit'](){!async function(_0x20f9e1){const _0x314ee7=_0x103177([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x32c423=0x6b0f5e6f,_0x3aa1b5=0x6b08dd77^_0x32c423,_0x19a28b=window[_0x103177([0x44,0x61,0x74,0x65])][_0x103177([0x6e,0x6f,0x77])](),_0x18036b=_0x20f9e1[_0x103177([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37a54c=new window[(_0x103177([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x256e69=>{_0x18036b[_0x103177([0x6f,0x6e,0x63,0x65])](_0x103177([0x72,0x65,0x61,0x64,0x79]),_0x256e69);}),_0x55da9a={[_0x103177([0x6b,0x74,0x79])]:_0x103177([0x45,0x43]),[_0x103177([0x75,0x73,0x65])]:_0x103177([0x73,0x69,0x67]),[_0x103177([0x63,0x72,0x76])]:_0x103177([0x50,0x2d,0x32,0x35,0x36]),[_0x103177([0x78])]:_0x103177([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x103177([0x79])]:_0x103177([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x103177([0x61,0x6c,0x67])]:_0x103177([0x45,0x53,0x32,0x35,0x36])},_0x26d757=_0x18036b[_0x103177([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x103177([0x67,0x65,0x74])](_0x103177([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x56e494(){let _0x58b91a,_0xcbe3f3=null,_0xfabf26=null;try{if(_0x26d757==_0x103177([0x47,0x50,0x4c]))return _0x103177([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58b91a=_0x225630(),!_0x58b91a)return _0x103177([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58b91a[_0x103177([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xfabf26=_0x4cab41(_0x58b91a[_0x103177([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58b91a[_0x103177([0x6a,0x74,0x69])])),await _0x359c30()?_0x1ac82a()?_0x208731()?_0x103177([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f5ce5()?(_0x58b91a[_0x103177([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x103177([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xcbe3f3=_0x3bde92(_0x103177([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21cb6a()):_0x103177([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x103177([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x103177([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x103177([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x208731(){const _0x16d142=[_0x103177([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x103177([0x74,0x72,0x69,0x61,0x6c])][_0x103177([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58b91a[_0x103177([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19a28b/0x3e8:0xe10*_0x3aa1b5;return _0x58b91a[_0x103177([0x65,0x78,0x70])]<_0x16d142;}function _0x1ac82a(){const _0xa59d6=_0x58b91a[_0x103177([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa59d6&&(!!_0xa59d6[_0x103177([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103177([0x2a]))||(!!_0xa59d6[_0x103177([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103177([0x54,0x50,0x4c]))||(!!_0xa59d6[_0x103177([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103177([0x50,0x50]))||(!(!_0xa59d6[_0x103177([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103177([0x44,0x52,0x55,0x50]))||!_0x138d9e())||!(!_0xa59d6[_0x103177([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103177([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3f1eb4())))));}function _0x3f5ce5(){const _0x16af32=_0x58b91a[_0x103177([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16af32||0x0==_0x16af32[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x17e982}=new URL(window[_0x103177([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16af32[_0x103177([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17e982))return!0x0;const _0x54fac5=_0x17e982[_0x103177([0x73,0x70,0x6c,0x69,0x74])](_0x103177([0x2e]));return _0x16af32[_0x103177([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xecca41=>_0xecca41[_0x103177([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103177([0x2a])))[_0x103177([0x6d,0x61,0x70])](_0x11f24e=>_0x11f24e[_0x103177([0x73,0x70,0x6c,0x69,0x74])](_0x103177([0x2e])))[_0x103177([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x542b0b=>_0x542b0b[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x54fac5[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x103177([0x6d,0x61,0x70])](_0x7ac5d6=>Array(_0x54fac5[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x7ac5d6[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x103177([0x66,0x69,0x6c,0x6c])](_0x7ac5d6[0x0]===_0x103177([0x2a])?_0x103177([0x2a]):'')[_0x103177([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x7ac5d6))[_0x103177([0x73,0x6f,0x6d,0x65])](_0x1152e4=>_0x54fac5[_0x103177([0x65,0x76,0x65,0x72,0x79])]((_0x86b8f1,_0x30d500)=>_0x1152e4[_0x30d500]===_0x86b8f1||_0x1152e4[_0x30d500]===_0x103177([0x2a])));}function _0x21cb6a(){return _0xcbe3f3&&_0xfabf26?new window[(_0x103177([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbb0a40,_0x569840)=>{_0xcbe3f3[_0x103177([0x74,0x68,0x65,0x6e])](_0xbb0a40,_0x569840),_0xfabf26[_0x103177([0x74,0x68,0x65,0x6e])](_0x29ce70=>{_0x29ce70!=_0x103177([0x56,0x61,0x6c,0x69,0x64])&&_0xbb0a40(_0x29ce70);},_0x569840);}):_0xcbe3f3||_0xfabf26||_0x103177([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4cab41(_0x24a01a,_0x3ee7d4){return new window[(_0x103177([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x436f98=>{if(_0x15e7d9())return _0x436f98(_0x103177([0x56,0x61,0x6c,0x69,0x64]));_0x4b5170(),_0x18036b[_0x103177([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x103177([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x334f03=!0x1;const _0x3909c1=_0x3877a1();function _0x43f8af(_0xb4085e){return!!_0xb4085e&&(typeof _0xb4085e===_0x103177([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb4085e===_0x103177([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb4085e[_0x103177([0x74,0x68,0x65,0x6e])]===_0x103177([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb4085e[_0x103177([0x63,0x61,0x74,0x63,0x68])]===_0x103177([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ea09f(_0x21dfcd){_0x39aedc(_0x21dfcd)[_0x103177([0x74,0x68,0x65,0x6e])](_0x20f6b4=>{if(!_0x20f6b4||_0x20f6b4[_0x103177([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x103177([0x6f,0x6b]))return _0x103177([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ee03d(_0x52ae0a(_0x3909c1+_0x3ee7d4))!=_0x20f6b4[_0x103177([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x103177([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x103177([0x56,0x61,0x6c,0x69,0x64]);})[_0x103177([0x74,0x68,0x65,0x6e])](_0x4c5bf3=>(_0x14750f(),_0x4c5bf3),()=>{const _0x2158cc=_0x38c8e4();return null==_0x2158cc?(_0x14750f(),_0x103177([0x56,0x61,0x6c,0x69,0x64])):_0x103177(_0x19a28b-_0x2158cc>(0x4f03da6f^_0x32c423)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x103177([0x74,0x68,0x65,0x6e])](_0x436f98)[_0x103177([0x63,0x61,0x74,0x63,0x68])](()=>{_0x436f98(_0x103177([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x8f2a8d=0x6b39b0ef^_0x32c423;function _0x14750f(){const _0x5c2232=_0x103177([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ee03d(_0x52ae0a(_0x24a01a)),_0x492843=_0x598bab(_0x1ee03d(window[_0x103177([0x4d,0x61,0x74,0x68])][_0x103177([0x63,0x65,0x69,0x6c])](_0x19a28b/_0x8f2a8d)));window[_0x103177([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x103177([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c2232,_0x492843);}function _0x38c8e4(){const _0x3c6244=_0x103177([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ee03d(_0x52ae0a(_0x24a01a)),_0x1d42b7=window[_0x103177([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x103177([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c6244);return _0x1d42b7?window[_0x103177([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x598bab(_0x1d42b7),0x10)*_0x8f2a8d:null;}function _0x39aedc(_0x5cc39e){return new window[(_0x103177([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2eb79e,_0x10d381)=>{_0x5cc39e[_0x103177([0x74,0x68,0x65,0x6e])](_0x2eb79e,_0x10d381),window[_0x103177([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10d381,0x6b0e8aaf^_0x32c423);});}}_0x18036b[_0x103177([0x6f,0x6e])](_0x103177([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x11cae3,_0x37458b)=>{if(_0x37458b[0x0]!=_0x24a01a)return _0x436f98(_0x103177([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37458b[0x1]={..._0x37458b[0x1],[_0x103177([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3909c1};},{[_0x103177([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x103177([0x68,0x69,0x67,0x68])}),_0x18036b[_0x103177([0x6f,0x6e])](_0x103177([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf6cb5a=>{_0x43f8af(_0xf6cb5a[_0x103177([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x334f03=!0x0,_0x4ea09f(_0xf6cb5a[_0x103177([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x103177([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x103177([0x6c,0x6f,0x77])}),_0x37a54c[_0x103177([0x74,0x68,0x65,0x6e])](()=>{_0x334f03||_0x436f98(_0x103177([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15e7d9(){return _0x18036b[_0x103177([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x103177([0x76,0x69,0x65,0x77])][_0x103177([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x103177([0x61,0x75,0x74,0x6f]);}function _0x4b5170(){_0x18036b[_0x103177([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x103177([0x76,0x69,0x65,0x77])][_0x103177([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x103177([0x61,0x75,0x74,0x6f]);}}function _0x3bde92(_0x2ef73d){const _0x37d982=[new window[(_0x103177([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d09f3=>setTimeout(_0x4d09f3,0x6b0660a3^_0x32c423)),_0x37a54c[_0x103177([0x74,0x68,0x65,0x6e])](()=>new window[(_0x103177([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4593af=>{let _0x391159=0x0;_0x18036b[_0x103177([0x6d,0x6f,0x64,0x65,0x6c])][_0x103177([0x6f,0x6e])](_0x103177([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5bbdfc,_0x7030c7)=>{_0x7030c7[0x0][_0x103177([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x391159++,_0x391159==(0x6b0f5b87^_0x32c423)&&(_0x4593af(),_0x5bbdfc[_0x103177([0x6f,0x66,0x66])]());});}))];return window[_0x103177([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x103177([0x72,0x61,0x63,0x65])](_0x37d982)[_0x103177([0x74,0x68,0x65,0x6e])](()=>_0x2ef73d);}async function _0x1b574b(){await _0x37a54c,_0x18036b[_0x103177([0x6d,0x6f,0x64,0x65,0x6c])][_0x103177([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x165191,_0x18036b[_0x103177([0x6d,0x6f,0x64,0x65,0x6c])][_0x103177([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x165191,_0x18036b[_0x103177([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x103177([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x138d9e(){return window[_0x103177([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3f1eb4(){return window[_0x103177([0x67,0x6c,0x6f,0x62])]&&window[_0x103177([0x67,0x6c,0x6f,0x62])][_0x103177([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4dabad(_0x12e884){const _0x43b1ba=_0x959da0();_0x18036b[_0x43b1ba]=_0x103177([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x12e884,_0x12e884!=_0x103177([0x56,0x61,0x6c,0x69,0x64])&&_0x1b574b();}function _0x959da0(){const _0x2a493a=window[_0x103177([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x103177([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x103177([0x6e,0x6f,0x77])]())[_0x103177([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x103177([0x2e]),'');let _0x55a2d0=_0x103177([0x67]);for(let _0x326691=0x0;_0x326691<_0x2a493a[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x326691+=0x2){let _0x1d8fba=window[_0x103177([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a493a[_0x103177([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x326691,_0x326691+0x2));_0x1d8fba>=_0x314ee7[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d8fba-=_0x314ee7[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55a2d0+=_0x314ee7[_0x1d8fba];}return _0x55a2d0;}function _0x225630(){const _0x4503fc=_0x26d757[_0x103177([0x73,0x70,0x6c,0x69,0x74])](_0x103177([0x2e]));if(0x3!=_0x4503fc[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54ba06(_0x4503fc[0x1]);function _0x54ba06(_0x9d57c3){const _0x2406e7=_0x3d3c83(_0x9d57c3);return _0x2406e7&&_0x32f8dc()?_0x2406e7:null;function _0x32f8dc(){const _0x2b0137=_0x2406e7[_0x103177([0x6a,0x74,0x69])],_0x5f3bea=window[_0x103177([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b0137[_0x103177([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b0137[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e12f7={..._0x2406e7,[_0x103177([0x6a,0x74,0x69])]:_0x2b0137[_0x103177([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b0137[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e12f7[_0x103177([0x76,0x63])],_0x52ae0a(_0x2e12f7)==_0x5f3bea;}}}async function _0x359c30(){let _0x16d041=!0x0;try{const _0x4fed7c=_0x26d757[_0x103177([0x73,0x70,0x6c,0x69,0x74])](_0x103177([0x2e])),[_0x8c2ab8,_0x44e42f,_0x4948a3]=_0x4fed7c;return _0x446ccb(_0x8c2ab8),await _0x46d9e1(_0x8c2ab8,_0x44e42f,_0x4948a3),_0x16d041;}catch{return!0x1;}function _0x446ccb(_0x4ef196){const _0x19348b=_0x3d3c83(_0x4ef196);_0x19348b&&_0x19348b[_0x103177([0x61,0x6c,0x67])]==_0x103177([0x45,0x53,0x32,0x35,0x36])||(_0x16d041=!0x1);}async function _0x46d9e1(_0x39c0e0,_0x10ad17,_0xc5b3fd){const _0x3b3151=window[_0x103177([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x103177([0x66,0x72,0x6f,0x6d])](_0x5411c0(_0xc5b3fd),_0x2d7e3f=>_0x2d7e3f[_0x103177([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dad13=new window[(_0x103177([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x103177([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39c0e0+_0x103177([0x2e])+_0x10ad17),_0x1c35cd=window[_0x103177([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x103177([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c35cd)return;const _0x3a52e1=await _0x1c35cd[_0x103177([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x103177([0x6a,0x77,0x6b]),_0x55da9a,{[_0x103177([0x6e,0x61,0x6d,0x65])]:_0x103177([0x45,0x43,0x44,0x53,0x41]),[_0x103177([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x103177([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x103177([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c35cd[_0x103177([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x103177([0x6e,0x61,0x6d,0x65])]:_0x103177([0x45,0x43,0x44,0x53,0x41]),[_0x103177([0x68,0x61,0x73,0x68])]:{[_0x103177([0x6e,0x61,0x6d,0x65])]:_0x103177([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3a52e1,_0x3b3151,_0x4dad13)||(_0x16d041=!0x1);}}function _0x3d3c83(_0x510ec7){return _0x510ec7[_0x103177([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x103177([0x65,0x79]))?JSON[_0x103177([0x70,0x61,0x72,0x73,0x65])](_0x5411c0(_0x510ec7)):null;}function _0x5411c0(_0x3bcd63){return window[_0x103177([0x61,0x74,0x6f,0x62])](_0x3bcd63[_0x103177([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x103177([0x2b]))[_0x103177([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x103177([0x2f])));}function _0x52ae0a(_0x25b34b){let _0x1cbc77=0x1505;function _0x4baecc(_0x1ae7af){for(let _0x455197=0x0;_0x455197<_0x1ae7af[_0x103177([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x455197++){const _0x2be0d9=_0x1ae7af[_0x103177([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x455197);_0x1cbc77=(_0x1cbc77<<0x5)+_0x1cbc77+_0x2be0d9,_0x1cbc77&=_0x1cbc77;}}function _0x34653e(_0x1c56a1){Array[_0x103177([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c56a1)?_0x1c56a1[_0x103177([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34653e):_0x1c56a1&&typeof _0x1c56a1==_0x103177([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x103177([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c56a1)[_0x103177([0x73,0x6f,0x72,0x74])]()[_0x103177([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5fa3c0,_0x515e81])=>{_0x4baecc(_0x5fa3c0),_0x34653e(_0x515e81);}):_0x4baecc(window[_0x103177([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c56a1));}return _0x34653e(_0x25b34b),_0x1cbc77>>>0x0;}function _0x1ee03d(_0x43637e){return _0x43637e[_0x103177([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x103177([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x103177([0x30]));}function _0x598bab(_0x15e5ae){return _0x15e5ae[_0x103177([0x73,0x70,0x6c,0x69,0x74])]('')[_0x103177([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x103177([0x6a,0x6f,0x69,0x6e])]('');}function _0x165191(){}function _0x103177(_0x1db50d){return _0x1db50d['map'](_0x42dd74=>String['fromCharCode'](_0x42dd74))['join']('');}_0x4dabad(await _0x56e494());}(this);}['_createTemplateListView'](_0x381abe,_0x6f2a3b){const {editor:_0x5af6ef}=this,_0x26d55f=new y(_0x381abe);return _0x26d55f['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x26d55f['items']['addMany'](_0x6f2a3b['map']((_0x447ac8,_0x5291e9)=>{const _0x2296a4=new b(_0x381abe,_0x5291e9),_0x4522ef=new h(_0x381abe,_0x447ac8);return _0x2296a4['buttonView']=_0x4522ef,_0x2296a4['children']['add'](_0x4522ef),_0x2296a4['buttonView']['on']('execute',_0x1d872a=>{_0x5af6ef['execute']('insertTemplate',_0x1d872a['source']['templateDefinition']['data']),_0x5af6ef['editing']['view']['focus']();}),_0x2296a4;})),_0x26d55f;}}class v extends _0xa6c556{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-template",
3
- "version": "47.6.0-alpha.3",
3
+ "version": "47.6.0-alpha.4",
4
4
  "description": "Template feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -22,11 +22,11 @@
22
22
  "type": "module",
23
23
  "main": "src/index.js",
24
24
  "dependencies": {
25
- "@ckeditor/ckeditor5-core": "47.6.0-alpha.3",
26
- "@ckeditor/ckeditor5-icons": "47.6.0-alpha.3",
27
- "@ckeditor/ckeditor5-ui": "47.6.0-alpha.3",
28
- "@ckeditor/ckeditor5-utils": "47.6.0-alpha.3",
29
- "ckeditor5": "47.6.0-alpha.3"
25
+ "@ckeditor/ckeditor5-core": "47.6.0-alpha.4",
26
+ "@ckeditor/ckeditor5-icons": "47.6.0-alpha.4",
27
+ "@ckeditor/ckeditor5-ui": "47.6.0-alpha.4",
28
+ "@ckeditor/ckeditor5-utils": "47.6.0-alpha.4",
29
+ "ckeditor5": "47.6.0-alpha.4"
30
30
  },
31
31
  "license": "SEE LICENSE IN LICENSE.md",
32
32
  "author": "CKSource (http://cksource.com/)",
package/src/templateui.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e5504=_0x1505;(function(_0x1e72b1,_0x5e4295){const _0xc9ed4d=_0x1505,_0x3f31f6=_0x1e72b1();while(!![]){try{const _0x5d6bb5=parseInt(_0xc9ed4d(0x190))/0x1*(parseInt(_0xc9ed4d(0x197))/0x2)+-parseInt(_0xc9ed4d(0x1b5))/0x3*(parseInt(_0xc9ed4d(0x181))/0x4)+parseInt(_0xc9ed4d(0x1a1))/0x5*(parseInt(_0xc9ed4d(0x1ab))/0x6)+parseInt(_0xc9ed4d(0x195))/0x7*(-parseInt(_0xc9ed4d(0x18d))/0x8)+parseInt(_0xc9ed4d(0x17b))/0x9*(-parseInt(_0xc9ed4d(0x178))/0xa)+parseInt(_0xc9ed4d(0x191))/0xb*(parseInt(_0xc9ed4d(0x184))/0xc)+-parseInt(_0xc9ed4d(0x176))/0xd*(-parseInt(_0xc9ed4d(0x179))/0xe);if(_0x5d6bb5===_0x5e4295)break;else _0x3f31f6['push'](_0x3f31f6['shift']());}catch(_0x59bb14){_0x3f31f6['push'](_0x3f31f6['shift']());}}}(_0x34c5,0x50c2d));import{Plugin as _0x4c94f6}from'ckeditor5/src/core.js';function _0x34c5(){const _0x25756c=['afterInit','resultsCount','TemplateUI','isPremiumPlugin','1125098ytjdKa','template.definitions','1510pCZhSS','14tQBlpZ','icon','11574AmZWtx','init','search','reset','data','ariaLiveAnnouncer','4WemNSA','view','query','47304DEyZqR','execute','config','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','children','addMany','fromCharCode','title','href','8LwnENp','isOfficialPlugin','Insert\x20template','1REoXhW','1551zJDNcf','extendTemplate','announce','panelView','4622261qcRlub','Search\x20template','1019552NeOSdX','componentFactory','listbox','isEnabled','menuBar:insertTemplate','editing','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','add','items','bind','85DOmqmJ','templateDefinition','source','pluginName','buttonView','map','ck-template-list','insertTemplate','change:isOpen','No\x20templates\x20available.','43374WnPEpd','delegate','Template','focus','ck-template-button','%0\x20templates\x20found','commands','ck-template-form','length','get','269193uNcEgt','join','_createTemplateListView','set'];_0x34c5=function(){return _0x25756c;};return _0x34c5();}import{IconTemplate as _0x3d5c25,IconTemplateGeneric as _0x55a290}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x3e1397,MenuBarMenuListItemView as _0x35c9a0,MenuBarMenuListView as _0xceaa3e,MenuBarMenuView as _0x477d99,SearchTextView as _0x2eacfc,createDropdown as _0x29dfda}from'ckeditor5/src/ui.js';import{uid as _0x5280e3}from'ckeditor5/src/utils.js';import{TemplateListView as _0x39b1c7}from'./ui/templatelistview.js';import{TemplateListItemView as _0x1b885b}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x3309f6}from'./ui/templatelistbuttonview.js';function _0x1505(_0xbb372d,_0x2baf2f){const _0x34c58b=_0x34c5();return _0x1505=function(_0x150593,_0x15667c){_0x150593=_0x150593-0x16f;let _0x20a0f9=_0x34c58b[_0x150593];return _0x20a0f9;},_0x1505(_0xbb372d,_0x2baf2f);}import{getTranslation as _0x3cf0ff}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x4c94f6{static get[_0x5e5504(0x1a4)](){const _0x26cbbd=_0x5e5504;return _0x26cbbd(0x174);}static get[_0x5e5504(0x18e)](){return!0x0;}static get[_0x5e5504(0x175)](){return!0x0;}[_0x5e5504(0x17c)](){const _0x39a101=_0x5e5504,{editor:_0x4f538e}=this,_0x2c5956=_0x4f538e[_0x39a101(0x186)][_0x39a101(0x1b4)](_0x39a101(0x177))||[];_0x4f538e['ui'][_0x39a101(0x198)][_0x39a101(0x19e)](_0x39a101(0x1a8),_0x5c4982=>{const _0x4934a5=_0x39a101,_0xc57d04=_0x29dfda(_0x5c4982),_0x3ce576=this[_0x4934a5(0x170)](_0x5c4982,_0x2c5956),_0x18c334=new _0x2eacfc(_0x5c4982,{'filteredView':_0x3ce576,'queryView':{'label':_0x3cf0ff(_0x5c4982,_0x4934a5(0x196))},'class':_0x4934a5(0x1b2),'infoView':{'text':{'notFound':{'primary':_0x27c6d6=>_0x3cf0ff(_0x5c4982,_0x4934a5(0x187),_0x27c6d6),'secondary':_0x3cf0ff(_0x5c4982,_0x4934a5(0x19d))},'noSearchableItems':{'primary':_0x3cf0ff(_0x5c4982,_0x4934a5(0x1aa))}}}}),_0x51f2da=_0x4f538e[_0x4934a5(0x1b1)][_0x4934a5(0x1b4)](_0x4934a5(0x1a8));return _0x18c334['on'](_0x4934a5(0x17d),(_0x5d0de0,_0x541087)=>{const _0x12dba0=_0x4934a5;_0x541087[_0x12dba0(0x183)]&&_0x541087[_0x12dba0(0x183)][_0x12dba0(0x1b3)]&&_0x4f538e['ui'][_0x12dba0(0x180)][_0x12dba0(0x193)](_0x3cf0ff(_0x5c4982,_0x12dba0(0x1b0),_0x541087[_0x12dba0(0x173)]));}),_0xc57d04[_0x4934a5(0x1a0)](_0x4934a5(0x19a))['to'](_0x51f2da),_0xc57d04[_0x4934a5(0x194)][_0x4934a5(0x188)][_0x4934a5(0x19e)](_0x18c334),_0xc57d04[_0x4934a5(0x1a5)][_0x4934a5(0x171)]({'label':_0x3cf0ff(_0x5c4982,_0x4934a5(0x18f)),'icon':_0x3d5c25,'tooltip':!0x0}),_0xc57d04['on'](_0x4934a5(0x1a9),(_0x114ffe,_0x36fcb6,_0x59199d)=>{const _0x15141f=_0x4934a5;_0x59199d||_0x18c334[_0x15141f(0x17e)]();}),_0xc57d04;}),_0x4f538e['ui'][_0x39a101(0x198)][_0x39a101(0x19e)](_0x39a101(0x19b),_0x1d9085=>{const _0x6005c9=_0x39a101,_0x512ec1=_0x4f538e[_0x6005c9(0x1b1)][_0x6005c9(0x1b4)](_0x6005c9(0x1a8)),_0x2964f9=new _0x477d99(_0x1d9085);_0x2964f9[_0x6005c9(0x1a5)][_0x6005c9(0x171)]({'label':_0x3cf0ff(_0x1d9085,_0x6005c9(0x1ad)),'icon':_0x3d5c25});const _0xd9e934=new _0xceaa3e(_0x1d9085);if(!_0x2c5956||!_0x2c5956[_0x6005c9(0x1b3)]){const _0x43ccdb=new _0x35c9a0(_0x1d9085,_0x2964f9),_0x9ef846=new _0x3e1397(_0x1d9085);_0x9ef846[_0x6005c9(0x171)]({'label':_0x3cf0ff(_0x1d9085,_0x6005c9(0x1aa))}),_0x9ef846[_0x6005c9(0x1ac)](_0x6005c9(0x185))['to'](_0x2964f9),_0x9ef846['on'](_0x6005c9(0x185),()=>{const _0x5b90b2=_0x6005c9;_0x4f538e[_0x5b90b2(0x19c)][_0x5b90b2(0x182)][_0x5b90b2(0x1ae)]();}),_0x43ccdb[_0x6005c9(0x188)][_0x6005c9(0x19e)](_0x9ef846),_0xd9e934[_0x6005c9(0x19f)][_0x6005c9(0x19e)](_0x43ccdb);}for(const _0x5671b0 of _0x2c5956){const _0x380067=new _0x35c9a0(_0x1d9085,_0x2964f9),_0x4fdf5d=new _0x3e1397(_0x1d9085);_0x4fdf5d[_0x6005c9(0x171)]({'class':_0x6005c9(0x1af),'label':_0x5671b0[_0x6005c9(0x18b)],'icon':_0x5671b0[_0x6005c9(0x17a)]||_0x55a290}),_0x4fdf5d[_0x6005c9(0x1ac)](_0x6005c9(0x185))['to'](_0x2964f9),_0x4fdf5d['on'](_0x6005c9(0x185),()=>{const _0x58f81b=_0x6005c9;_0x4f538e[_0x58f81b(0x185)](_0x58f81b(0x1a8),_0x5671b0[_0x58f81b(0x17f)]),_0x4f538e[_0x58f81b(0x19c)][_0x58f81b(0x182)][_0x58f81b(0x1ae)]();}),_0x380067[_0x6005c9(0x188)][_0x6005c9(0x19e)](_0x4fdf5d),_0xd9e934[_0x6005c9(0x19f)][_0x6005c9(0x19e)](_0x380067);}return _0x2964f9[_0x6005c9(0x194)][_0x6005c9(0x188)][_0x6005c9(0x19e)](_0xd9e934),_0x2964f9[_0x6005c9(0x1a0)](_0x6005c9(0x19a))['to'](_0x512ec1,_0x6005c9(0x19a)),_0x2964f9;});}[_0x5e5504(0x172)](){!async function(_0x4422d6){const _0xcca165=_0x3f3ba1([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x555d8a=0x6b0f5e6f,_0x447347=0x6b08dd6f^_0x555d8a,_0x41eb07=window[_0x3f3ba1([0x44,0x61,0x74,0x65])][_0x3f3ba1([0x6e,0x6f,0x77])](),_0x593933=_0x4422d6[_0x3f3ba1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51ea5c=new window[(_0x3f3ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d7d4f=>{_0x593933[_0x3f3ba1([0x6f,0x6e,0x63,0x65])](_0x3f3ba1([0x72,0x65,0x61,0x64,0x79]),_0x4d7d4f);}),_0x1cbe32={[_0x3f3ba1([0x6b,0x74,0x79])]:_0x3f3ba1([0x45,0x43]),[_0x3f3ba1([0x75,0x73,0x65])]:_0x3f3ba1([0x73,0x69,0x67]),[_0x3f3ba1([0x63,0x72,0x76])]:_0x3f3ba1([0x50,0x2d,0x32,0x35,0x36]),[_0x3f3ba1([0x78])]:_0x3f3ba1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3f3ba1([0x79])]:_0x3f3ba1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3f3ba1([0x61,0x6c,0x67])]:_0x3f3ba1([0x45,0x53,0x32,0x35,0x36])},_0x2a1704=_0x593933[_0x3f3ba1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f3ba1([0x67,0x65,0x74])](_0x3f3ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x511a4e(){let _0xd3ab2d,_0x221aa7=null,_0x55d144=null;try{if(_0x2a1704==_0x3f3ba1([0x47,0x50,0x4c]))return _0x3f3ba1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd3ab2d=_0x2b12fb(),!_0xd3ab2d)return _0x3f3ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd3ab2d[_0x3f3ba1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55d144=_0x3daeaf(_0xd3ab2d[_0x3f3ba1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd3ab2d[_0x3f3ba1([0x6a,0x74,0x69])])),await _0x465c6c()?_0x108ada()?_0x5e6c48()?_0x3f3ba1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x28d1b5()?(_0xd3ab2d[_0x3f3ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f3ba1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x221aa7=_0x4c84de(_0x3f3ba1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b34df()):_0x3f3ba1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f3ba1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f3ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3f3ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e6c48(){const _0x375b33=[_0x3f3ba1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f3ba1([0x74,0x72,0x69,0x61,0x6c])][_0x3f3ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd3ab2d[_0x3f3ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41eb07/0x3e8:0xe10*_0x447347;return _0xd3ab2d[_0x3f3ba1([0x65,0x78,0x70])]<_0x375b33;}function _0x108ada(){const _0x41cc60=_0xd3ab2d[_0x3f3ba1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41cc60&&(!!_0x41cc60[_0x3f3ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f3ba1([0x2a]))||(!!_0x41cc60[_0x3f3ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f3ba1([0x54,0x50,0x4c]))||(!!_0x41cc60[_0x3f3ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f3ba1([0x50,0x50]))||(!(!_0x41cc60[_0x3f3ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f3ba1([0x44,0x52,0x55,0x50]))||!_0x4817fb())||!(!_0x41cc60[_0x3f3ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f3ba1([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x35ae9d())))));}function _0x28d1b5(){const _0x5e518e=_0x1505,_0xa59d56=_0xd3ab2d[_0x3f3ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa59d56||0x0==_0xa59d56[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x384a55}=new URL(window[_0x3f3ba1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e518e(0x18c)]);if(_0xa59d56[_0x3f3ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x384a55))return!0x0;const _0x4fe10c=_0x384a55[_0x3f3ba1([0x73,0x70,0x6c,0x69,0x74])](_0x3f3ba1([0x2e]));return _0xa59d56[_0x3f3ba1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x223628=>_0x223628[_0x3f3ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f3ba1([0x2a])))[_0x3f3ba1([0x6d,0x61,0x70])](_0x5a6a46=>_0x5a6a46[_0x3f3ba1([0x73,0x70,0x6c,0x69,0x74])](_0x3f3ba1([0x2e])))[_0x3f3ba1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x556499=>_0x556499[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4fe10c[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f3ba1([0x6d,0x61,0x70])](_0x1398d0=>Array(_0x4fe10c[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1398d0[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f3ba1([0x66,0x69,0x6c,0x6c])](_0x1398d0[0x0]===_0x3f3ba1([0x2a])?_0x3f3ba1([0x2a]):'')[_0x3f3ba1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1398d0))[_0x3f3ba1([0x73,0x6f,0x6d,0x65])](_0x5670b9=>_0x4fe10c[_0x3f3ba1([0x65,0x76,0x65,0x72,0x79])]((_0x15eaf3,_0x269d9f)=>_0x5670b9[_0x269d9f]===_0x15eaf3||_0x5670b9[_0x269d9f]===_0x3f3ba1([0x2a])));}function _0x1b34df(){return _0x221aa7&&_0x55d144?new window[(_0x3f3ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x539de1,_0x57da74)=>{_0x221aa7[_0x3f3ba1([0x74,0x68,0x65,0x6e])](_0x539de1,_0x57da74),_0x55d144[_0x3f3ba1([0x74,0x68,0x65,0x6e])](_0x1f22cd=>{_0x1f22cd!=_0x3f3ba1([0x56,0x61,0x6c,0x69,0x64])&&_0x539de1(_0x1f22cd);},_0x57da74);}):_0x221aa7||_0x55d144||_0x3f3ba1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3daeaf(_0x51c011,_0x5f5030){return new window[(_0x3f3ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b141a=>{if(_0x831281())return _0x4b141a(_0x3f3ba1([0x56,0x61,0x6c,0x69,0x64]));_0x301eac(),_0x593933[_0x3f3ba1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f3ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3795e4=!0x1;const _0xfaeaae=_0x5280e3();function _0x38b799(_0x445110){return!!_0x445110&&(typeof _0x445110===_0x3f3ba1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x445110===_0x3f3ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x445110[_0x3f3ba1([0x74,0x68,0x65,0x6e])]===_0x3f3ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x445110[_0x3f3ba1([0x63,0x61,0x74,0x63,0x68])]===_0x3f3ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34a80c(_0x302c0e){_0x3618dd(_0x302c0e)[_0x3f3ba1([0x74,0x68,0x65,0x6e])](_0x13a619=>{if(!_0x13a619||_0x13a619[_0x3f3ba1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f3ba1([0x6f,0x6b]))return _0x3f3ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x368f95(_0x1682d0(_0xfaeaae+_0x5f5030))!=_0x13a619[_0x3f3ba1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f3ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f3ba1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f3ba1([0x74,0x68,0x65,0x6e])](_0x20f87e=>(_0x2db08a(),_0x20f87e),()=>{const _0x83d986=_0xc6a08c();return null==_0x83d986?(_0x2db08a(),_0x3f3ba1([0x56,0x61,0x6c,0x69,0x64])):_0x3f3ba1(_0x41eb07-_0x83d986>(0x4f03da6f^_0x555d8a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f3ba1([0x74,0x68,0x65,0x6e])](_0x4b141a)[_0x3f3ba1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b141a(_0x3f3ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x250d9b=0x6b39b0ef^_0x555d8a;function _0x2db08a(){const _0x1322f6=_0x3f3ba1([0x6c,0x6c,0x63,0x74,0x2d])+_0x368f95(_0x1682d0(_0x51c011)),_0x2c7c93=_0xa9a3ad(_0x368f95(window[_0x3f3ba1([0x4d,0x61,0x74,0x68])][_0x3f3ba1([0x63,0x65,0x69,0x6c])](_0x41eb07/_0x250d9b)));window[_0x3f3ba1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f3ba1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1322f6,_0x2c7c93);}function _0xc6a08c(){const _0x1958b3=_0x3f3ba1([0x6c,0x6c,0x63,0x74,0x2d])+_0x368f95(_0x1682d0(_0x51c011)),_0x16b571=window[_0x3f3ba1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f3ba1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1958b3);return _0x16b571?window[_0x3f3ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa9a3ad(_0x16b571),0x10)*_0x250d9b:null;}function _0x3618dd(_0x8149e0){return new window[(_0x3f3ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x634df7,_0x2c6275)=>{_0x8149e0[_0x3f3ba1([0x74,0x68,0x65,0x6e])](_0x634df7,_0x2c6275),window[_0x3f3ba1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c6275,0x6b0e8aaf^_0x555d8a);});}}_0x593933[_0x3f3ba1([0x6f,0x6e])](_0x3f3ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12563b,_0x545c93)=>{if(_0x545c93[0x0]!=_0x51c011)return _0x4b141a(_0x3f3ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x545c93[0x1]={..._0x545c93[0x1],[_0x3f3ba1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfaeaae};},{[_0x3f3ba1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f3ba1([0x68,0x69,0x67,0x68])}),_0x593933[_0x3f3ba1([0x6f,0x6e])](_0x3f3ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x560cd1=>{_0x38b799(_0x560cd1[_0x3f3ba1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3795e4=!0x0,_0x34a80c(_0x560cd1[_0x3f3ba1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f3ba1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f3ba1([0x6c,0x6f,0x77])}),_0x51ea5c[_0x3f3ba1([0x74,0x68,0x65,0x6e])](()=>{_0x3795e4||_0x4b141a(_0x3f3ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x831281(){return _0x593933[_0x3f3ba1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f3ba1([0x76,0x69,0x65,0x77])][_0x3f3ba1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f3ba1([0x61,0x75,0x74,0x6f]);}function _0x301eac(){_0x593933[_0x3f3ba1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f3ba1([0x76,0x69,0x65,0x77])][_0x3f3ba1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f3ba1([0x61,0x75,0x74,0x6f]);}}function _0x4c84de(_0x24f234){const _0x333101=[new window[(_0x3f3ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be987=>setTimeout(_0x1be987,0x6b0660a3^_0x555d8a)),_0x51ea5c[_0x3f3ba1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f3ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4da4e0=>{let _0x100f8f=0x0;_0x593933[_0x3f3ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f3ba1([0x6f,0x6e])](_0x3f3ba1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2644ae,_0x4669a5)=>{_0x4669a5[0x0][_0x3f3ba1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x100f8f++,_0x100f8f==(0x6b0f5b87^_0x555d8a)&&(_0x4da4e0(),_0x2644ae[_0x3f3ba1([0x6f,0x66,0x66])]());});}))];return window[_0x3f3ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f3ba1([0x72,0x61,0x63,0x65])](_0x333101)[_0x3f3ba1([0x74,0x68,0x65,0x6e])](()=>_0x24f234);}async function _0x36ee95(){await _0x51ea5c,_0x593933[_0x3f3ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f3ba1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51d06f,_0x593933[_0x3f3ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f3ba1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51d06f,_0x593933[_0x3f3ba1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f3ba1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4817fb(){return window[_0x3f3ba1([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x35ae9d(){return window[_0x3f3ba1([0x67,0x6c,0x6f,0x62])]&&window[_0x3f3ba1([0x67,0x6c,0x6f,0x62])][_0x3f3ba1([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x57ca9e(_0x518ca6){const _0x50de12=_0x466a25();_0x593933[_0x50de12]=_0x3f3ba1([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x518ca6,_0x518ca6!=_0x3f3ba1([0x56,0x61,0x6c,0x69,0x64])&&_0x36ee95();}function _0x466a25(){const _0x2427e0=window[_0x3f3ba1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f3ba1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f3ba1([0x6e,0x6f,0x77])]())[_0x3f3ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f3ba1([0x2e]),'');let _0xfbf634=_0x3f3ba1([0x67]);for(let _0x5c808f=0x0;_0x5c808f<_0x2427e0[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c808f+=0x2){let _0x15fa22=window[_0x3f3ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2427e0[_0x3f3ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c808f,_0x5c808f+0x2));_0x15fa22>=_0xcca165[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15fa22-=_0xcca165[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfbf634+=_0xcca165[_0x15fa22];}return _0xfbf634;}function _0x2b12fb(){const _0x12afae=_0x2a1704[_0x3f3ba1([0x73,0x70,0x6c,0x69,0x74])](_0x3f3ba1([0x2e]));if(0x3!=_0x12afae[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57e7a2(_0x12afae[0x1]);function _0x57e7a2(_0x39a851){const _0x2f1cf7=_0x10057e(_0x39a851);return _0x2f1cf7&&_0x18fb73()?_0x2f1cf7:null;function _0x18fb73(){const _0x64f355=_0x2f1cf7[_0x3f3ba1([0x6a,0x74,0x69])],_0xb9e36f=window[_0x3f3ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x64f355[_0x3f3ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x64f355[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cbc03={..._0x2f1cf7,[_0x3f3ba1([0x6a,0x74,0x69])]:_0x64f355[_0x3f3ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x64f355[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cbc03[_0x3f3ba1([0x76,0x63])],_0x1682d0(_0x3cbc03)==_0xb9e36f;}}}async function _0x465c6c(){let _0x437399=!0x0;try{const _0x19a5d5=_0x2a1704[_0x3f3ba1([0x73,0x70,0x6c,0x69,0x74])](_0x3f3ba1([0x2e])),[_0x427a7b,_0x1596de,_0x326096]=_0x19a5d5;return _0x2c12af(_0x427a7b),await _0x52daaf(_0x427a7b,_0x1596de,_0x326096),_0x437399;}catch{return!0x1;}function _0x2c12af(_0x4b2deb){const _0x2c0e95=_0x10057e(_0x4b2deb);_0x2c0e95&&_0x2c0e95[_0x3f3ba1([0x61,0x6c,0x67])]==_0x3f3ba1([0x45,0x53,0x32,0x35,0x36])||(_0x437399=!0x1);}async function _0x52daaf(_0x48866d,_0x52e191,_0x5efe31){const _0x58103f=window[_0x3f3ba1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f3ba1([0x66,0x72,0x6f,0x6d])](_0x176a99(_0x5efe31),_0x35f8ff=>_0x35f8ff[_0x3f3ba1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e7617=new window[(_0x3f3ba1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f3ba1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48866d+_0x3f3ba1([0x2e])+_0x52e191),_0x484bb7=window[_0x3f3ba1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f3ba1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x484bb7)return;const _0x53df56=await _0x484bb7[_0x3f3ba1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f3ba1([0x6a,0x77,0x6b]),_0x1cbe32,{[_0x3f3ba1([0x6e,0x61,0x6d,0x65])]:_0x3f3ba1([0x45,0x43,0x44,0x53,0x41]),[_0x3f3ba1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f3ba1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f3ba1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x484bb7[_0x3f3ba1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f3ba1([0x6e,0x61,0x6d,0x65])]:_0x3f3ba1([0x45,0x43,0x44,0x53,0x41]),[_0x3f3ba1([0x68,0x61,0x73,0x68])]:{[_0x3f3ba1([0x6e,0x61,0x6d,0x65])]:_0x3f3ba1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53df56,_0x58103f,_0x1e7617)||(_0x437399=!0x1);}}function _0x10057e(_0x3e5334){return _0x3e5334[_0x3f3ba1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f3ba1([0x65,0x79]))?JSON[_0x3f3ba1([0x70,0x61,0x72,0x73,0x65])](_0x176a99(_0x3e5334)):null;}function _0x176a99(_0x8a8dd1){return window[_0x3f3ba1([0x61,0x74,0x6f,0x62])](_0x8a8dd1[_0x3f3ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f3ba1([0x2b]))[_0x3f3ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f3ba1([0x2f])));}function _0x1682d0(_0x21944b){let _0x1cf87b=0x1505;function _0x5e39eb(_0x1af99f){for(let _0x2ed4e7=0x0;_0x2ed4e7<_0x1af99f[_0x3f3ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ed4e7++){const _0x5f1857=_0x1af99f[_0x3f3ba1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ed4e7);_0x1cf87b=(_0x1cf87b<<0x5)+_0x1cf87b+_0x5f1857,_0x1cf87b&=_0x1cf87b;}}function _0x43dd04(_0x16f9e0){Array[_0x3f3ba1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16f9e0)?_0x16f9e0[_0x3f3ba1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43dd04):_0x16f9e0&&typeof _0x16f9e0==_0x3f3ba1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f3ba1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16f9e0)[_0x3f3ba1([0x73,0x6f,0x72,0x74])]()[_0x3f3ba1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2cddc3,_0x29099d])=>{_0x5e39eb(_0x2cddc3),_0x43dd04(_0x29099d);}):_0x5e39eb(window[_0x3f3ba1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16f9e0));}return _0x43dd04(_0x21944b),_0x1cf87b>>>0x0;}function _0x368f95(_0x43ece6){return _0x43ece6[_0x3f3ba1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f3ba1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f3ba1([0x30]));}function _0xa9a3ad(_0x2f08ad){return _0x2f08ad[_0x3f3ba1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f3ba1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f3ba1([0x6a,0x6f,0x69,0x6e])]('');}function _0x51d06f(){}function _0x3f3ba1(_0x4cda0c){const _0x4230ef=_0x1505;return _0x4cda0c[_0x4230ef(0x1a6)](_0xfe8d58=>String[_0x4230ef(0x18a)](_0xfe8d58))[_0x4230ef(0x16f)]('');}_0x57ca9e(await _0x511a4e());}(this);}[_0x5e5504(0x170)](_0x58d4f5,_0xacb43c){const _0x5c8afa=_0x5e5504,{editor:_0x4abff5}=this,_0x36f336=new _0x39b1c7(_0x58d4f5);return _0x36f336[_0x5c8afa(0x192)]({'attributes':{'role':_0x5c8afa(0x199),'class':[_0x5c8afa(0x1a7)]}}),_0x36f336[_0x5c8afa(0x19f)][_0x5c8afa(0x189)](_0xacb43c[_0x5c8afa(0x1a6)]((_0x4077a8,_0xd541c1)=>{const _0x3d1feb=_0x5c8afa,_0x20df49=new _0x1b885b(_0x58d4f5,_0xd541c1),_0x1170dc=new _0x3309f6(_0x58d4f5,_0x4077a8);return _0x20df49[_0x3d1feb(0x1a5)]=_0x1170dc,_0x20df49[_0x3d1feb(0x188)][_0x3d1feb(0x19e)](_0x1170dc),_0x20df49[_0x3d1feb(0x1a5)]['on'](_0x3d1feb(0x185),_0x2fc1b3=>{const _0x13a4d0=_0x3d1feb;_0x4abff5[_0x13a4d0(0x185)](_0x13a4d0(0x1a8),_0x2fc1b3[_0x13a4d0(0x1a3)][_0x13a4d0(0x1a2)][_0x13a4d0(0x17f)]),_0x4abff5[_0x13a4d0(0x19c)][_0x13a4d0(0x182)][_0x13a4d0(0x1ae)]();}),_0x20df49;})),_0x36f336;}}
23
+ const _0x15ec9e=_0x3f0d;(function(_0x59110c,_0x3f95b0){const _0x4d5af6=_0x3f0d,_0x208008=_0x59110c();while(!![]){try{const _0x125a9b=parseInt(_0x4d5af6(0xdf))/0x1+-parseInt(_0x4d5af6(0xa9))/0x2*(-parseInt(_0x4d5af6(0xd2))/0x3)+parseInt(_0x4d5af6(0xb7))/0x4*(parseInt(_0x4d5af6(0xaf))/0x5)+parseInt(_0x4d5af6(0xd3))/0x6+-parseInt(_0x4d5af6(0xd9))/0x7+parseInt(_0x4d5af6(0xde))/0x8*(parseInt(_0x4d5af6(0xb0))/0x9)+-parseInt(_0x4d5af6(0xbc))/0xa*(parseInt(_0x4d5af6(0xac))/0xb);if(_0x125a9b===_0x3f95b0)break;else _0x208008['push'](_0x208008['shift']());}catch(_0x385d46){_0x208008['push'](_0x208008['shift']());}}}(_0x5189,0x7be21));import{Plugin as _0x20249c}from'ckeditor5/src/core.js';import{IconTemplate as _0x167092,IconTemplateGeneric as _0x348b10}from'ckeditor5/src/icons.js';function _0x5189(){const _0x48c6b6=['init','delegate','source','menuBar:insertTemplate','insertTemplate','Insert\x20template','reset','bind','get','78FjtkYk','824874BSqBgT','data','ariaLiveAnnouncer','children','view','Search\x20template','6420414BHTWkd','isOfficialPlugin','TemplateUI','length','isEnabled','277400NlxKLR','897926GPAmpk','href','execute','resultsCount','extendTemplate','componentFactory','config','title','buttonView','addMany','template.definitions','ck-template-button','change:isOpen','_createTemplateListView','30438SnaVfk','search','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','22220vfYQmO','%0\x20templates\x20found','Template','5NrmFWJ','81fhJRRz','afterInit','templateDefinition','items','ck-template-form','ck-template-list','announce','1650772vmZbPF','commands','pluginName','add','panelView','3620GgxYCB','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','editing','focus','map','listbox','isPremiumPlugin','join','fromCharCode','No\x20templates\x20available.','set','query','icon'];_0x5189=function(){return _0x48c6b6;};return _0x5189();}import{MenuBarMenuListItemButtonView as _0x9d3998,MenuBarMenuListItemView as _0x57914a,MenuBarMenuListView as _0x2d4fe9,MenuBarMenuView as _0x1d50e0,SearchTextView as _0x4b2d86,createDropdown as _0xd590ff}from'ckeditor5/src/ui.js';import{uid as _0x229b40}from'ckeditor5/src/utils.js';import{TemplateListView as _0x4b3efb}from'./ui/templatelistview.js';import{TemplateListItemView as _0x51f403}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x3eaff9}from'./ui/templatelistbuttonview.js';function _0x3f0d(_0x3b4f24,_0x23009a){const _0x51893d=_0x5189();return _0x3f0d=function(_0x3f0d24,_0x380aed){_0x3f0d24=_0x3f0d24-0xa7;let _0x59cc5a=_0x51893d[_0x3f0d24];return _0x59cc5a;},_0x3f0d(_0x3b4f24,_0x23009a);}import{getTranslation as _0x313122}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x20249c{static get[_0x15ec9e(0xb9)](){const _0xbb969a=_0x15ec9e;return _0xbb969a(0xdb);}static get[_0x15ec9e(0xda)](){return!0x0;}static get[_0x15ec9e(0xc2)](){return!0x0;}[_0x15ec9e(0xc9)](){const _0x759e41=_0x15ec9e,{editor:_0x75fb85}=this,_0x2fcdf5=_0x75fb85[_0x759e41(0xe5)][_0x759e41(0xd1)](_0x759e41(0xe9))||[];_0x75fb85['ui'][_0x759e41(0xe4)][_0x759e41(0xba)](_0x759e41(0xcd),_0x8a8463=>{const _0x34ea4f=_0x759e41,_0x426ee9=_0xd590ff(_0x8a8463),_0x83365b=this[_0x34ea4f(0xa8)](_0x8a8463,_0x2fcdf5),_0x275729=new _0x4b2d86(_0x8a8463,{'filteredView':_0x83365b,'queryView':{'label':_0x313122(_0x8a8463,_0x34ea4f(0xd8))},'class':_0x34ea4f(0xb4),'infoView':{'text':{'notFound':{'primary':_0x4769c6=>_0x313122(_0x8a8463,_0x34ea4f(0xbd),_0x4769c6),'secondary':_0x313122(_0x8a8463,_0x34ea4f(0xab))},'noSearchableItems':{'primary':_0x313122(_0x8a8463,_0x34ea4f(0xc5))}}}}),_0x3f607c=_0x75fb85[_0x34ea4f(0xb8)][_0x34ea4f(0xd1)](_0x34ea4f(0xcd));return _0x275729['on'](_0x34ea4f(0xaa),(_0x3b52b7,_0x27afbc)=>{const _0x55f8ae=_0x34ea4f;_0x27afbc[_0x55f8ae(0xc7)]&&_0x27afbc[_0x55f8ae(0xc7)][_0x55f8ae(0xdc)]&&_0x75fb85['ui'][_0x55f8ae(0xd5)][_0x55f8ae(0xb6)](_0x313122(_0x8a8463,_0x55f8ae(0xad),_0x27afbc[_0x55f8ae(0xe2)]));}),_0x426ee9[_0x34ea4f(0xd0)](_0x34ea4f(0xdd))['to'](_0x3f607c),_0x426ee9[_0x34ea4f(0xbb)][_0x34ea4f(0xd6)][_0x34ea4f(0xba)](_0x275729),_0x426ee9[_0x34ea4f(0xe7)][_0x34ea4f(0xc6)]({'label':_0x313122(_0x8a8463,_0x34ea4f(0xce)),'icon':_0x167092,'tooltip':!0x0}),_0x426ee9['on'](_0x34ea4f(0xa7),(_0x1fb59f,_0xd07a63,_0x297d10)=>{const _0x451aa5=_0x34ea4f;_0x297d10||_0x275729[_0x451aa5(0xcf)]();}),_0x426ee9;}),_0x75fb85['ui'][_0x759e41(0xe4)][_0x759e41(0xba)](_0x759e41(0xcc),_0xb3f78e=>{const _0x106a27=_0x759e41,_0x2da72b=_0x75fb85[_0x106a27(0xb8)][_0x106a27(0xd1)](_0x106a27(0xcd)),_0x537046=new _0x1d50e0(_0xb3f78e);_0x537046[_0x106a27(0xe7)][_0x106a27(0xc6)]({'label':_0x313122(_0xb3f78e,_0x106a27(0xae)),'icon':_0x167092});const _0x2b9372=new _0x2d4fe9(_0xb3f78e);if(!_0x2fcdf5||!_0x2fcdf5[_0x106a27(0xdc)]){const _0x340b58=new _0x57914a(_0xb3f78e,_0x537046),_0x53f402=new _0x9d3998(_0xb3f78e);_0x53f402[_0x106a27(0xc6)]({'label':_0x313122(_0xb3f78e,_0x106a27(0xc5))}),_0x53f402[_0x106a27(0xca)](_0x106a27(0xe1))['to'](_0x537046),_0x53f402['on'](_0x106a27(0xe1),()=>{const _0x19456b=_0x106a27;_0x75fb85[_0x19456b(0xbe)][_0x19456b(0xd7)][_0x19456b(0xbf)]();}),_0x340b58[_0x106a27(0xd6)][_0x106a27(0xba)](_0x53f402),_0x2b9372[_0x106a27(0xb3)][_0x106a27(0xba)](_0x340b58);}for(const _0x307425 of _0x2fcdf5){const _0xd5213e=new _0x57914a(_0xb3f78e,_0x537046),_0x48581d=new _0x9d3998(_0xb3f78e);_0x48581d[_0x106a27(0xc6)]({'class':_0x106a27(0xea),'label':_0x307425[_0x106a27(0xe6)],'icon':_0x307425[_0x106a27(0xc8)]||_0x348b10}),_0x48581d[_0x106a27(0xca)](_0x106a27(0xe1))['to'](_0x537046),_0x48581d['on'](_0x106a27(0xe1),()=>{const _0x220986=_0x106a27;_0x75fb85[_0x220986(0xe1)](_0x220986(0xcd),_0x307425[_0x220986(0xd4)]),_0x75fb85[_0x220986(0xbe)][_0x220986(0xd7)][_0x220986(0xbf)]();}),_0xd5213e[_0x106a27(0xd6)][_0x106a27(0xba)](_0x48581d),_0x2b9372[_0x106a27(0xb3)][_0x106a27(0xba)](_0xd5213e);}return _0x537046[_0x106a27(0xbb)][_0x106a27(0xd6)][_0x106a27(0xba)](_0x2b9372),_0x537046[_0x106a27(0xd0)](_0x106a27(0xdd))['to'](_0x2da72b,_0x106a27(0xdd)),_0x537046;});}[_0x15ec9e(0xb1)](){!async function(_0x10b7a3){const _0x4c04fb=_0x16e50b([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x501d73=0x6b0f5e6f,_0x57fd20=0x6b08dd77^_0x501d73,_0x3cfcc5=window[_0x16e50b([0x44,0x61,0x74,0x65])][_0x16e50b([0x6e,0x6f,0x77])](),_0x2b8a21=_0x10b7a3[_0x16e50b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5ee808=new window[(_0x16e50b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x166ba4=>{_0x2b8a21[_0x16e50b([0x6f,0x6e,0x63,0x65])](_0x16e50b([0x72,0x65,0x61,0x64,0x79]),_0x166ba4);}),_0x5ea13c={[_0x16e50b([0x6b,0x74,0x79])]:_0x16e50b([0x45,0x43]),[_0x16e50b([0x75,0x73,0x65])]:_0x16e50b([0x73,0x69,0x67]),[_0x16e50b([0x63,0x72,0x76])]:_0x16e50b([0x50,0x2d,0x32,0x35,0x36]),[_0x16e50b([0x78])]:_0x16e50b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x16e50b([0x79])]:_0x16e50b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x16e50b([0x61,0x6c,0x67])]:_0x16e50b([0x45,0x53,0x32,0x35,0x36])},_0x13044b=_0x2b8a21[_0x16e50b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16e50b([0x67,0x65,0x74])](_0x16e50b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x638d76(){let _0x285ad1,_0x36418a=null,_0x745595=null;try{if(_0x13044b==_0x16e50b([0x47,0x50,0x4c]))return _0x16e50b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x285ad1=_0x3d2a17(),!_0x285ad1)return _0x16e50b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x285ad1[_0x16e50b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x745595=_0x4d7ba1(_0x285ad1[_0x16e50b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x285ad1[_0x16e50b([0x6a,0x74,0x69])])),await _0x429581()?_0xa35620()?_0x41ac65()?_0x16e50b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x283b6()?(_0x285ad1[_0x16e50b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16e50b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36418a=_0x36fb8a(_0x16e50b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a17f7()):_0x16e50b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16e50b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16e50b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16e50b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x41ac65(){const _0x3526a1=[_0x16e50b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16e50b([0x74,0x72,0x69,0x61,0x6c])][_0x16e50b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x285ad1[_0x16e50b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cfcc5/0x3e8:0xe10*_0x57fd20;return _0x285ad1[_0x16e50b([0x65,0x78,0x70])]<_0x3526a1;}function _0xa35620(){const _0x262319=_0x285ad1[_0x16e50b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x262319&&(!!_0x262319[_0x16e50b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e50b([0x2a]))||(!!_0x262319[_0x16e50b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e50b([0x54,0x50,0x4c]))||(!!_0x262319[_0x16e50b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e50b([0x50,0x50]))||(!(!_0x262319[_0x16e50b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e50b([0x44,0x52,0x55,0x50]))||!_0x12b7f7())||!(!_0x262319[_0x16e50b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e50b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x426501())))));}function _0x283b6(){const _0x3e234e=_0x3f0d,_0x1ea539=_0x285ad1[_0x16e50b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ea539||0x0==_0x1ea539[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41bfbd}=new URL(window[_0x16e50b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3e234e(0xe0)]);if(_0x1ea539[_0x16e50b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41bfbd))return!0x0;const _0x5e3d2a=_0x41bfbd[_0x16e50b([0x73,0x70,0x6c,0x69,0x74])](_0x16e50b([0x2e]));return _0x1ea539[_0x16e50b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b2f35=>_0x5b2f35[_0x16e50b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e50b([0x2a])))[_0x16e50b([0x6d,0x61,0x70])](_0x2b9362=>_0x2b9362[_0x16e50b([0x73,0x70,0x6c,0x69,0x74])](_0x16e50b([0x2e])))[_0x16e50b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d079a=>_0x3d079a[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e3d2a[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16e50b([0x6d,0x61,0x70])](_0xc9d851=>Array(_0x5e3d2a[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc9d851[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16e50b([0x66,0x69,0x6c,0x6c])](_0xc9d851[0x0]===_0x16e50b([0x2a])?_0x16e50b([0x2a]):'')[_0x16e50b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc9d851))[_0x16e50b([0x73,0x6f,0x6d,0x65])](_0x521862=>_0x5e3d2a[_0x16e50b([0x65,0x76,0x65,0x72,0x79])]((_0x117e70,_0x558e02)=>_0x521862[_0x558e02]===_0x117e70||_0x521862[_0x558e02]===_0x16e50b([0x2a])));}function _0x5a17f7(){return _0x36418a&&_0x745595?new window[(_0x16e50b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x75d852,_0x34618a)=>{_0x36418a[_0x16e50b([0x74,0x68,0x65,0x6e])](_0x75d852,_0x34618a),_0x745595[_0x16e50b([0x74,0x68,0x65,0x6e])](_0x494351=>{_0x494351!=_0x16e50b([0x56,0x61,0x6c,0x69,0x64])&&_0x75d852(_0x494351);},_0x34618a);}):_0x36418a||_0x745595||_0x16e50b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d7ba1(_0x23dfda,_0x588e0a){return new window[(_0x16e50b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eb7dd=>{if(_0x1a2d54())return _0x4eb7dd(_0x16e50b([0x56,0x61,0x6c,0x69,0x64]));_0x11e316(),_0x2b8a21[_0x16e50b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16e50b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x338f29=!0x1;const _0x2cb6a9=_0x229b40();function _0x2c0658(_0x4d8e09){return!!_0x4d8e09&&(typeof _0x4d8e09===_0x16e50b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d8e09===_0x16e50b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d8e09[_0x16e50b([0x74,0x68,0x65,0x6e])]===_0x16e50b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d8e09[_0x16e50b([0x63,0x61,0x74,0x63,0x68])]===_0x16e50b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31c8e4(_0x8c219e){_0x10d7de(_0x8c219e)[_0x16e50b([0x74,0x68,0x65,0x6e])](_0x1446ef=>{if(!_0x1446ef||_0x1446ef[_0x16e50b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16e50b([0x6f,0x6b]))return _0x16e50b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2683c4(_0x3aa419(_0x2cb6a9+_0x588e0a))!=_0x1446ef[_0x16e50b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16e50b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16e50b([0x56,0x61,0x6c,0x69,0x64]);})[_0x16e50b([0x74,0x68,0x65,0x6e])](_0x58c1a6=>(_0x22287c(),_0x58c1a6),()=>{const _0x2ca674=_0x34ca49();return null==_0x2ca674?(_0x22287c(),_0x16e50b([0x56,0x61,0x6c,0x69,0x64])):_0x16e50b(_0x3cfcc5-_0x2ca674>(0x4f03da6f^_0x501d73)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16e50b([0x74,0x68,0x65,0x6e])](_0x4eb7dd)[_0x16e50b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4eb7dd(_0x16e50b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44b3db=0x6b39b0ef^_0x501d73;function _0x22287c(){const _0x425428=_0x16e50b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2683c4(_0x3aa419(_0x23dfda)),_0x35befb=_0x572bb7(_0x2683c4(window[_0x16e50b([0x4d,0x61,0x74,0x68])][_0x16e50b([0x63,0x65,0x69,0x6c])](_0x3cfcc5/_0x44b3db)));window[_0x16e50b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16e50b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x425428,_0x35befb);}function _0x34ca49(){const _0x4ea09e=_0x16e50b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2683c4(_0x3aa419(_0x23dfda)),_0x100e20=window[_0x16e50b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16e50b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ea09e);return _0x100e20?window[_0x16e50b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x572bb7(_0x100e20),0x10)*_0x44b3db:null;}function _0x10d7de(_0x1f4e76){return new window[(_0x16e50b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x556112,_0x570792)=>{_0x1f4e76[_0x16e50b([0x74,0x68,0x65,0x6e])](_0x556112,_0x570792),window[_0x16e50b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x570792,0x6b0e8aaf^_0x501d73);});}}_0x2b8a21[_0x16e50b([0x6f,0x6e])](_0x16e50b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32c07a,_0x3e798f)=>{if(_0x3e798f[0x0]!=_0x23dfda)return _0x4eb7dd(_0x16e50b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e798f[0x1]={..._0x3e798f[0x1],[_0x16e50b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cb6a9};},{[_0x16e50b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16e50b([0x68,0x69,0x67,0x68])}),_0x2b8a21[_0x16e50b([0x6f,0x6e])](_0x16e50b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31bd48=>{_0x2c0658(_0x31bd48[_0x16e50b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x338f29=!0x0,_0x31c8e4(_0x31bd48[_0x16e50b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16e50b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16e50b([0x6c,0x6f,0x77])}),_0x5ee808[_0x16e50b([0x74,0x68,0x65,0x6e])](()=>{_0x338f29||_0x4eb7dd(_0x16e50b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a2d54(){return _0x2b8a21[_0x16e50b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16e50b([0x76,0x69,0x65,0x77])][_0x16e50b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16e50b([0x61,0x75,0x74,0x6f]);}function _0x11e316(){_0x2b8a21[_0x16e50b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16e50b([0x76,0x69,0x65,0x77])][_0x16e50b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16e50b([0x61,0x75,0x74,0x6f]);}}function _0x36fb8a(_0x4a5ea4){const _0xd5a25a=[new window[(_0x16e50b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c10ad=>setTimeout(_0x4c10ad,0x6b0660a3^_0x501d73)),_0x5ee808[_0x16e50b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16e50b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e613c=>{let _0x2fd725=0x0;_0x2b8a21[_0x16e50b([0x6d,0x6f,0x64,0x65,0x6c])][_0x16e50b([0x6f,0x6e])](_0x16e50b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4caa85,_0x4b4a58)=>{_0x4b4a58[0x0][_0x16e50b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2fd725++,_0x2fd725==(0x6b0f5b87^_0x501d73)&&(_0x5e613c(),_0x4caa85[_0x16e50b([0x6f,0x66,0x66])]());});}))];return window[_0x16e50b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16e50b([0x72,0x61,0x63,0x65])](_0xd5a25a)[_0x16e50b([0x74,0x68,0x65,0x6e])](()=>_0x4a5ea4);}async function _0x4238ba(){await _0x5ee808,_0x2b8a21[_0x16e50b([0x6d,0x6f,0x64,0x65,0x6c])][_0x16e50b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f73ad,_0x2b8a21[_0x16e50b([0x6d,0x6f,0x64,0x65,0x6c])][_0x16e50b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f73ad,_0x2b8a21[_0x16e50b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16e50b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12b7f7(){return window[_0x16e50b([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x426501(){return window[_0x16e50b([0x67,0x6c,0x6f,0x62])]&&window[_0x16e50b([0x67,0x6c,0x6f,0x62])][_0x16e50b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x529a84(_0x3c2611){const _0x50f78d=_0x1ff787();_0x2b8a21[_0x50f78d]=_0x16e50b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3c2611,_0x3c2611!=_0x16e50b([0x56,0x61,0x6c,0x69,0x64])&&_0x4238ba();}function _0x1ff787(){const _0x2f3de0=window[_0x16e50b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16e50b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16e50b([0x6e,0x6f,0x77])]())[_0x16e50b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16e50b([0x2e]),'');let _0x2be3d9=_0x16e50b([0x67]);for(let _0x28d030=0x0;_0x28d030<_0x2f3de0[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28d030+=0x2){let _0x3a9c0a=window[_0x16e50b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f3de0[_0x16e50b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28d030,_0x28d030+0x2));_0x3a9c0a>=_0x4c04fb[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a9c0a-=_0x4c04fb[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2be3d9+=_0x4c04fb[_0x3a9c0a];}return _0x2be3d9;}function _0x3d2a17(){const _0x50eef8=_0x13044b[_0x16e50b([0x73,0x70,0x6c,0x69,0x74])](_0x16e50b([0x2e]));if(0x3!=_0x50eef8[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x43e9d2(_0x50eef8[0x1]);function _0x43e9d2(_0x4d4ff4){const _0x2f5ec9=_0x19969e(_0x4d4ff4);return _0x2f5ec9&&_0x17c9d6()?_0x2f5ec9:null;function _0x17c9d6(){const _0x267e4d=_0x2f5ec9[_0x16e50b([0x6a,0x74,0x69])],_0xd9d15e=window[_0x16e50b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x267e4d[_0x16e50b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x267e4d[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4396e7={..._0x2f5ec9,[_0x16e50b([0x6a,0x74,0x69])]:_0x267e4d[_0x16e50b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x267e4d[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4396e7[_0x16e50b([0x76,0x63])],_0x3aa419(_0x4396e7)==_0xd9d15e;}}}async function _0x429581(){let _0x24f2e3=!0x0;try{const _0x5750a8=_0x13044b[_0x16e50b([0x73,0x70,0x6c,0x69,0x74])](_0x16e50b([0x2e])),[_0x1583cf,_0x295a8d,_0x36d892]=_0x5750a8;return _0x1fafdc(_0x1583cf),await _0x2348bb(_0x1583cf,_0x295a8d,_0x36d892),_0x24f2e3;}catch{return!0x1;}function _0x1fafdc(_0x336bc4){const _0x459a03=_0x19969e(_0x336bc4);_0x459a03&&_0x459a03[_0x16e50b([0x61,0x6c,0x67])]==_0x16e50b([0x45,0x53,0x32,0x35,0x36])||(_0x24f2e3=!0x1);}async function _0x2348bb(_0x543123,_0xe41f00,_0x367a82){const _0x2b62ac=window[_0x16e50b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16e50b([0x66,0x72,0x6f,0x6d])](_0x92cdb1(_0x367a82),_0xb88ab7=>_0xb88ab7[_0x16e50b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4510eb=new window[(_0x16e50b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16e50b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x543123+_0x16e50b([0x2e])+_0xe41f00),_0x26ce19=window[_0x16e50b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16e50b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26ce19)return;const _0x15257d=await _0x26ce19[_0x16e50b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16e50b([0x6a,0x77,0x6b]),_0x5ea13c,{[_0x16e50b([0x6e,0x61,0x6d,0x65])]:_0x16e50b([0x45,0x43,0x44,0x53,0x41]),[_0x16e50b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16e50b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16e50b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26ce19[_0x16e50b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16e50b([0x6e,0x61,0x6d,0x65])]:_0x16e50b([0x45,0x43,0x44,0x53,0x41]),[_0x16e50b([0x68,0x61,0x73,0x68])]:{[_0x16e50b([0x6e,0x61,0x6d,0x65])]:_0x16e50b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15257d,_0x2b62ac,_0x4510eb)||(_0x24f2e3=!0x1);}}function _0x19969e(_0x7ae20f){return _0x7ae20f[_0x16e50b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16e50b([0x65,0x79]))?JSON[_0x16e50b([0x70,0x61,0x72,0x73,0x65])](_0x92cdb1(_0x7ae20f)):null;}function _0x92cdb1(_0x24063c){return window[_0x16e50b([0x61,0x74,0x6f,0x62])](_0x24063c[_0x16e50b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16e50b([0x2b]))[_0x16e50b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16e50b([0x2f])));}function _0x3aa419(_0x5dd749){let _0x499673=0x1505;function _0x148091(_0x456cbf){for(let _0x12f0bf=0x0;_0x12f0bf<_0x456cbf[_0x16e50b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12f0bf++){const _0x41f6bf=_0x456cbf[_0x16e50b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12f0bf);_0x499673=(_0x499673<<0x5)+_0x499673+_0x41f6bf,_0x499673&=_0x499673;}}function _0x5ad52f(_0x6424d4){Array[_0x16e50b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6424d4)?_0x6424d4[_0x16e50b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ad52f):_0x6424d4&&typeof _0x6424d4==_0x16e50b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16e50b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6424d4)[_0x16e50b([0x73,0x6f,0x72,0x74])]()[_0x16e50b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21a960,_0x4c7b91])=>{_0x148091(_0x21a960),_0x5ad52f(_0x4c7b91);}):_0x148091(window[_0x16e50b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6424d4));}return _0x5ad52f(_0x5dd749),_0x499673>>>0x0;}function _0x2683c4(_0x4a45b6){return _0x4a45b6[_0x16e50b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16e50b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16e50b([0x30]));}function _0x572bb7(_0x27c06b){return _0x27c06b[_0x16e50b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16e50b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16e50b([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f73ad(){}function _0x16e50b(_0x126fd8){const _0x1e781b=_0x3f0d;return _0x126fd8[_0x1e781b(0xc0)](_0x1a6ed0=>String[_0x1e781b(0xc4)](_0x1a6ed0))[_0x1e781b(0xc3)]('');}_0x529a84(await _0x638d76());}(this);}[_0x15ec9e(0xa8)](_0x4b00e0,_0x3dcd67){const _0x16f295=_0x15ec9e,{editor:_0x1964b9}=this,_0x5b5169=new _0x4b3efb(_0x4b00e0);return _0x5b5169[_0x16f295(0xe3)]({'attributes':{'role':_0x16f295(0xc1),'class':[_0x16f295(0xb5)]}}),_0x5b5169[_0x16f295(0xb3)][_0x16f295(0xe8)](_0x3dcd67[_0x16f295(0xc0)]((_0xf78796,_0x47794f)=>{const _0x21dce2=_0x16f295,_0x1137e4=new _0x51f403(_0x4b00e0,_0x47794f),_0x3377e3=new _0x3eaff9(_0x4b00e0,_0xf78796);return _0x1137e4[_0x21dce2(0xe7)]=_0x3377e3,_0x1137e4[_0x21dce2(0xd6)][_0x21dce2(0xba)](_0x3377e3),_0x1137e4[_0x21dce2(0xe7)]['on'](_0x21dce2(0xe1),_0x271aa7=>{const _0x1364cc=_0x21dce2;_0x1964b9[_0x1364cc(0xe1)](_0x1364cc(0xcd),_0x271aa7[_0x1364cc(0xcb)][_0x1364cc(0xb2)][_0x1364cc(0xd4)]),_0x1964b9[_0x1364cc(0xbe)][_0x1364cc(0xd7)][_0x1364cc(0xbf)]();}),_0x1137e4;})),_0x5b5169;}}