@ckeditor/ckeditor5-template 46.0.2-alpha.1 → 46.0.2

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-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),a=n.n(s)()(i());a.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 o=a},237:t=>{"use strict";t.exports=CKEditor5.dll},262: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)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433: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 a={};if(r)for(var o=0;o<this.length;o++){var c=this[o][0];null!=c&&(a[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[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}},545: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 a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(o,c[e]):t.appendChild(o)}}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)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673: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={},a=[],o=0;o<t.length;o++){var c=t[o],l=r.base?c[0]+r.base:c[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}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 a=0;a<s.length;a++){var o=n(s[a]);e[o].references--}for(var c=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=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},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:()=>J,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>H});var t=n(782);const e=i;function i(t,e){const n=a();return(i=function(t,e){return n[t-=460]})(t,e)}!function(t){const e=i,n=t();for(;;)try{if(263643===parseInt(e(462))/1*(parseInt(e(479))/2)+-parseInt(e(478))/3+parseInt(e(473))/4*(-parseInt(e(460))/5)+parseInt(e(463))/6*(-parseInt(e(471))/7)+-parseInt(e(461))/8+-parseInt(e(476))/9+parseInt(e(474))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class s extends t.Command{[e(464)](t){const n=e,{model:r}=this[n(465)];let i;switch(typeof t){case n(472):i=t;break;case n(475):i=t()}n(472)==typeof i&&r[n(466)](()=>{const t=n,e=this[t(465)][t(470)][t(477)][t(469)](i),s=this[t(465)][t(470)][t(468)](e);r[t(467)](s)})}}function a(){const t=["17839570qbnQES","function","4721904RQGICb","htmlProcessor","1229076bETyJu","10274tMezwN","505UBYEic","754160nQPDCf","10olnCqu","834126xKqxdW","execute","editor","change","insertContent","toModel","toView","data","14EmNLee","string","10496qyIPIh"];return(a=function(){return t})()}const o=l;function c(){const t=["TemplateEditing","expired","templateLicenseKeyEvaluationLimit","_licenseKeyCheckInterval","templateLicenseKeyUsageLimit","1026865nzYkvb","templateLicenseKeyExpired","Template","trialLimit","get","templateLicenseKeyNotAllowed","evaluationLimit","insertTemplate","4323688aJFubn","destroy","1458348EPfJGS","318899HRDpvk","pluginName","templateLicenseKeyDomainLimit","_showLicenseError","licenseKey","commands","7100910XiTUpO","templateLicenseKeyTrialLimit","179838WeaZZr","domainLimit","isPremiumPlugin","5116290gHatda","11JJNYgk","templateLicenseKeyInvalid","templateLicenseKeyValid","config","usageLimit","editor","invalid","112OjxlXe","init","isOfficialPlugin","add","featureNotAllowed"];return(c=function(){return t})()}function l(t,e){const n=c();return(l=function(t,e){return n[t-=361]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(677019===parseInt(e(396))/1*(parseInt(e(392))/2)+-parseInt(e(383))/3+parseInt(e(381))/4+-parseInt(e(373))/5+-parseInt(e(395))/6+parseInt(e(384))/7*(-parseInt(e(363))/8)+parseInt(e(390))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class u extends t.Plugin{[o(388)];[o(371)];static get[o(385)](){return o(368)}static get[o(365)](){return!0}static get[o(394)](){return!0}[o(364)](){const t=o,{editor:e}=this;e[t(389)][t(366)](t(380),new s(e)),this[t(388)]=this[t(361)][t(399)][t(377)](t(388));const n=this[t(361)];this[t(371)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(398)==s||e(397)==s||e(374)==s||e(386)==s||e(378)==s||e(370)==s||e(391)==s||e(372)==s){delete n[i],r=s,clearInterval(this[e(371)]),this[e(371)]=void 0;break}}e(397)==r&&n[e(387)](e(362)),e(374)==r&&n[e(387)](e(369)),e(386)==r&&n[e(387)](e(393)),e(378)==r&&n[e(387)](e(367),e(375)),e(370)==r&&n[e(387)](e(379)),e(391)==r&&n[e(387)](e(376)),e(372)==r&&n[e(387)](e(400))},1e3)}[o(382)](){const t=o;super[t(382)](),this[t(371)]&&clearInterval(this[t(371)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=394]})(t,e)}function k(){const t=["originalIndex","length","28TYUveY","isMatching","isVisible","3667977zbtdjk","size","title","384678PIPXnb","buttonView","items","sort","8286rkKjWh","map","1260EQZDzc","48GgypoC","193974MyOaGb","40704aourhs","forEach","5300ORaAGQ","addMany","highlightText","set","78906QMEKuP","get","clear","filter","110NloVEW","_resetFiltering"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(221633===parseInt(e(407))/1*(-parseInt(e(395))/2)+-parseInt(e(399))/3*(parseInt(e(420))/4)+parseInt(e(419))/5*(parseInt(e(417))/6)+parseInt(e(413))/7+-parseInt(e(422))/8+parseInt(e(410))/9+-parseInt(e(403))/10*(parseInt(e(421))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(402)](t){const e=m;if(!t)return this[e(404)]();const n=new Map,r=this[e(415)][e(418)](r=>{const i=e,s=r[i(414)][i(408)](t);return r[i(409)]=!!s,r[i(414)][i(397)](s?t:null),s&&n[i(398)](r,s),r})[e(416)](g)[e(416)]((i=n,function(t,e){const n=h,r=i[n(400)](t),s=i[n(400)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(412)]&&!s[n(412)]?-1:!r[n(412)]&&s[n(412)]?1:0:0}));var i;return this[e(415)][e(401)](),this[e(415)][e(396)](r),{resultsCount:n[e(411)],totalItemsCount:this[e(415)][e(406)]}}[m(404)](){const t=m,e=this[t(415)][t(418)](t=>t)[t(416)](g);return e[t(394)](e=>{const n=t;e[n(409)]=!0,e[n(414)][n(397)](null)}),this[t(415)][t(401)](),this[t(415)][t(396)](e),{resultsCount:e[t(406)],totalItemsCount:e[t(406)]}}}function g(t,e){const n=m;return t[n(405)]-e[n(405)]}var v=b;!function(t){for(var e=b,n=t();;)try{if(345058===-parseInt(e(475))/1+-parseInt(e(480))/2+parseInt(e(481))/3*(-parseInt(e(482))/4)+-parseInt(e(485))/5*(-parseInt(e(479))/6)+parseInt(e(477))/7*(-parseInt(e(483))/8)+-parseInt(e(484))/9+parseInt(e(476))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class I extends f.ListItemView{[v(486)];[v(478)];constructor(t,e){var n=v;super(t),this[n(486)]=e,this[n(478)]=null}}function b(t,e){var n=y();return(b=function(t,e){return n[t-=475]})(t,e)}function y(){var t=["134165qDDOMP","originalIndex","210814UUNWIS","24596610PsFgfp","77LNVfnw","buttonView","6tdxHVU","1053306BNJmbm","18ULiMnw","319092NuCHqR","466504mWZwTE","2554992lZoKym"];return(y=function(){return t})()}const x=T;function _(){const t=["descriptionView","add","push","1336590sditwM","div","ck-template-button","locale","match","textPartView","element","labelView","8KDwucl","940023TfbMio","setTemplate","iconView","ck-button__label","span","text","option","1436894hnFzVh","render","extendTemplate","isColorInherited","isMatching","description","destroy","149290wuYGed","1648840wYPIgI","children","templateDefinition","title","817348UwoXhT","titleView","18zQZhxX","highlightText","ck-template-form__text-part","remove","ck-template-form__description","65656XbKxzz","set"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=213]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(408436===-parseInt(e(221))/1+parseInt(e(214))/2+-parseInt(e(247))/3+-parseInt(e(233))/4+-parseInt(e(222))/5+-parseInt(e(228))/6*(-parseInt(e(226))/7)+parseInt(e(246))/8*(parseInt(e(238))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(224)];[x(243)];constructor(t,e){const n=x;super(t),this[n(224)]=e,this[n(243)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(234)]({withText:!0,class:n(240),role:n(213),icon:r}),this[n(249)][n(217)]=!1}[x(215)](){const t=x;super[t(215)](),this[t(243)]=new P(this[t(241)],this[t(224)],this[t(245)][t(244)].id),this[t(223)][t(231)](this[t(245)]),this[t(223)][t(236)](this[t(243)])}[x(220)](){const t=x;super[t(220)](),this[t(245)][t(220)]()}[x(218)](t){const e=x,{title:n,description:r}=this[e(224)],i=!!n[e(242)](t),s=!(!r||!r[e(242)](t));return i||s?{title:i,description:s}:null}[x(229)](t){const e=x;this[e(243)][e(229)](t)}}class P extends f.View{constructor(t,e,n){const r=x;super(t),this[r(225)]=e[r(225)],this[r(219)]=e[r(219)],this[r(227)]=new f.HighlightedTextView,this[r(227)][r(252)]=this[r(225)],this[r(227)][r(216)]({tag:r(251),attributes:{class:[r(250)],id:n}});const i=[this[r(227)]];this[r(219)]&&(this[r(235)]=new f.HighlightedTextView,this[r(235)][r(252)]=this[r(219)],this[r(235)][r(216)]({tag:"p",attributes:{class:[r(232)]}}),i[r(237)](this[r(235)])),this[r(248)]({tag:r(239),attributes:{class:["ck",r(230)]},children:i})}[x(229)](t){const e=x;this[e(227)][e(229)](t),this[e(219)]&&this[e(235)][e(229)](t)}}function V(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 M=n(673),C=n.n(M),N=n(545),S=n.n(N),E=n(262),O=n.n(E),A=n(667),K=n.n(A),j=n(357),z=n.n(j),B=n(175),D={attributes:{"data-cke":!0}};D.setAttributes=K(),D.insert=O().bind(null,"head"),D.domAPI=S(),D.insertStyleElement=z();C()(B.A,D);B.A&&B.A.locals&&B.A.locals;const U=F;function q(){const t=["execute","join","Insert template","bind","Template","delegate","init","ck-template-list","401256buTbRL","%0 templates found","addMany","source","announce","pluginName","icon","get","focus","afterInit","editing","componentFactory","length","isOfficialPlugin","commands","panelView","isEnabled","buttonView","insertTemplate","items","ck-template-form","2229928LLGWXt","extendTemplate","TemplateUI","isPremiumPlugin","templateDefinition","No templates available.","menuBar:insertTemplate","1207749OHbJJX","map","query","search","10VgIfAr","resultsCount","334708fRrAHo","ariaLiveAnnouncer","9BUgXhI","Please try a different phrase or check the spelling.","add","template.definitions","321164lTkjCI","view","data","reset","Search template","97176rlnPwN","set","href",'No templates were found matching "%0".',"_createTemplateListView","listbox","1445122KSzKwr","ck-template-button","children","config","title","fromCharCode","change:isOpen"];return(q=function(){return t})()}function F(t,e){const n=q();return(F=function(t,e){return n[t-=271]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(337992===parseInt(e(312))/1+parseInt(e(306))/2+parseInt(e(300))/3+-parseInt(e(272))/4+-parseInt(e(304))/5*(-parseInt(e(317))/6)+-parseInt(e(323))/7+-parseInt(e(293))/8*(parseInt(e(308))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class H extends t.Plugin{static get[U(277)](){return U(295)}static get[U(285)](){return!0}static get[U(296)](){return!0}[U(336)](){const t=U,{editor:e}=this,n=e[t(326)][t(279)](t(311))||[];e.ui[t(283)][t(310)](t(290),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(321)](r,n),o=new f.SearchTextView(r,{filteredView:a,queryView:{label:V(r,i(316))},class:i(292),infoView:{text:{notFound:{primary:t=>V(r,i(320),t),secondary:V(r,i(309))},noSearchableItems:{primary:V(r,i(298))}}}}),c=e[i(286)][i(279)](i(290));return o.on(i(303),(t,n)=>{const s=i;n[s(302)]&&n[s(302)][s(284)]&&e.ui[s(307)][s(276)](V(r,s(273),n[s(305)]))}),s[i(333)](i(288)).to(c),s[i(287)][i(325)][i(310)](o),s[i(289)][i(318)]({label:V(r,i(332)),icon:p.IconTemplate,tooltip:!0}),s.on(i(329),(t,e,n)=>{n||o[i(315)]()}),s}),e.ui[t(283)][t(310)](t(299),r=>{const i=t,s=e[i(286)][i(279)](i(290)),a=new f.MenuBarMenuView(r);a[i(289)][i(318)]({label:V(r,i(334)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(284)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(318)]({label:V(r,i(298))}),n[i(335)](i(330)).to(a),n.on(i(330),()=>{const t=i;e[t(282)][t(313)][t(280)]()}),t[i(325)][i(310)](n),o[i(291)][i(310)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(318)]({class:i(324),label:t[i(327)],icon:t[i(278)]||p.IconTemplateGeneric}),s[i(335)](i(330)).to(a),s.on(i(330),()=>{const n=i;e[n(330)](n(290),t[n(314)]),e[n(282)][n(313)][n(280)]()}),n[i(325)][i(310)](s),o[i(291)][i(310)](n)}return a[i(287)][i(325)][i(310)](o),a[i(333)](i(288)).to(s,i(288)),a})}[U(281)](){!async function(t){const e=h([116,72,105,87,115,69,117,66,53,112,74,82,55,101,76,75,67,78,52,49,50,81,57,107,109,119,120,121,99,89,118,111,86,77,65,122,88,48,103,114,90,98,73,104,108,56,70,84,110,106,97,79,80,83,54,51,68,85,102,100,113,71]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([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]),[h([121])]:h([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]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function c(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=F;return t[e(301)](t=>String[e(328)](t))[e(331)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([116]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){c(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function c(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(c=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{c||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function a(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=a[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=c(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const c=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},c,i,a)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1755561600;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=F,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(319)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[U(321)](t,e){const n=U,{editor:r}=this,i=new w(t);return i[n(294)]({attributes:{role:n(322),class:[n(271)]}}),i[n(291)][n(274)](e[n(301)]((e,i)=>{const s=n,a=new I(t,i),o=new L(t,e);return a[s(289)]=o,a[s(325)][s(310)](o),a[s(289)].on(s(330),t=>{const e=s;r[e(330)](e(290),t[e(275)][e(297)][e(314)]),r[e(282)][e(313)][e(280)]()}),a})),i}}var G=X;function R(){var t=["1789952XqjliQ","223945JEqwlB","99695lBWIwC","requires","pluginName","Template","27456PdsibI","isOfficialPlugin","508442nxAyuq","108OgqfHm","796070SiTMtu","isPremiumPlugin","41528PHKCrN","150tvsjgs","54XfHAFM","1337vPQZeD"];return(R=function(){return t})()}function X(t,e){var n=R();return(X=function(t,e){return n[t-=199]})(t,e)}!function(t){for(var e=X,n=t();;)try{if(573183===-parseInt(e(206))/1+parseInt(e(202))/2*(parseInt(e(210))/3)+-parseInt(e(204))/4+-parseInt(e(205))/5*(parseInt(e(201))/6)+parseInt(e(203))/7*(parseInt(e(200))/8)+-parseInt(e(213))/9*(-parseInt(e(214))/10)+parseInt(e(212))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);class J extends t.Plugin{static get[G(207)](){return[u,H]}static get[G(208)](){return G(209)}static get[G(211)](){return!0}static get[G(199)](){return!0}}function W(t,e){var n=Q();return(W=function(t,e){return n[t-=418]})(t,e)}function Q(){var t=["1656666VVOxGP","17192vmBVFd","645711ymOLFa","16926aBFWPY","760WCGoSG","17037394FuYvzt","1266UwvULS","30NMOkFb","988992xCnOmC","2vhCLHO","2067627EoiTDl"];return(Q=function(){return t})()}!function(t){for(var e=W,n=t();;)try{if(357762===parseInt(e(424))/1+-parseInt(e(420))/2*(-parseInt(e(421))/3)+parseInt(e(423))/4*(parseInt(e(426))/5)+parseInt(e(428))/6*(-parseInt(e(425))/7)+-parseInt(e(419))/8+parseInt(e(422))/9*(parseInt(e(418))/10)+-parseInt(e(427))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
5
+ */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(168),i=n.n(r),s=n(433),a=n.n(s)()(i());a.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 c=a},237:t=>{"use strict";t.exports=CKEditor5.dll},262: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)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433: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 a={};if(r)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(a[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[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}},545: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 a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(c,o[e]):t.appendChild(c)}}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)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673: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={},a=[],c=0;c<t.length;c++){var o=t[c],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=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}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 a=0;a<s.length;a++){var c=n(s[a]);e[c].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}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},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:()=>W,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>U});var t=n(782);const e=i;function i(t,e){const n=a();return(i=function(t,e){return n[t-=460]})(t,e)}!function(t){const e=i,n=t();for(;;)try{if(263643===parseInt(e(462))/1*(parseInt(e(479))/2)+-parseInt(e(478))/3+parseInt(e(473))/4*(-parseInt(e(460))/5)+parseInt(e(463))/6*(-parseInt(e(471))/7)+-parseInt(e(461))/8+-parseInt(e(476))/9+parseInt(e(474))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class s extends t.Command{[e(464)](t){const n=e,{model:r}=this[n(465)];let i;switch(typeof t){case n(472):i=t;break;case n(475):i=t()}n(472)==typeof i&&r[n(466)](()=>{const t=n,e=this[t(465)][t(470)][t(477)][t(469)](i),s=this[t(465)][t(470)][t(468)](e);r[t(467)](s)})}}function a(){const t=["17839570qbnQES","function","4721904RQGICb","htmlProcessor","1229076bETyJu","10274tMezwN","505UBYEic","754160nQPDCf","10olnCqu","834126xKqxdW","execute","editor","change","insertContent","toModel","toView","data","14EmNLee","string","10496qyIPIh"];return(a=function(){return t})()}const c=l;function o(){const t=["TemplateEditing","expired","templateLicenseKeyEvaluationLimit","_licenseKeyCheckInterval","templateLicenseKeyUsageLimit","1026865nzYkvb","templateLicenseKeyExpired","Template","trialLimit","get","templateLicenseKeyNotAllowed","evaluationLimit","insertTemplate","4323688aJFubn","destroy","1458348EPfJGS","318899HRDpvk","pluginName","templateLicenseKeyDomainLimit","_showLicenseError","licenseKey","commands","7100910XiTUpO","templateLicenseKeyTrialLimit","179838WeaZZr","domainLimit","isPremiumPlugin","5116290gHatda","11JJNYgk","templateLicenseKeyInvalid","templateLicenseKeyValid","config","usageLimit","editor","invalid","112OjxlXe","init","isOfficialPlugin","add","featureNotAllowed"];return(o=function(){return t})()}function l(t,e){const n=o();return(l=function(t,e){return n[t-=361]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(677019===parseInt(e(396))/1*(parseInt(e(392))/2)+-parseInt(e(383))/3+parseInt(e(381))/4+-parseInt(e(373))/5+-parseInt(e(395))/6+parseInt(e(384))/7*(-parseInt(e(363))/8)+parseInt(e(390))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class u extends t.Plugin{[c(388)];[c(371)];static get[c(385)](){return c(368)}static get[c(365)](){return!0}static get[c(394)](){return!0}[c(364)](){const t=c,{editor:e}=this;e[t(389)][t(366)](t(380),new s(e)),this[t(388)]=this[t(361)][t(399)][t(377)](t(388));const n=this[t(361)];this[t(371)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(398)==s||e(397)==s||e(374)==s||e(386)==s||e(378)==s||e(370)==s||e(391)==s||e(372)==s){delete n[i],r=s,clearInterval(this[e(371)]),this[e(371)]=void 0;break}}e(397)==r&&n[e(387)](e(362)),e(374)==r&&n[e(387)](e(369)),e(386)==r&&n[e(387)](e(393)),e(378)==r&&n[e(387)](e(367),e(375)),e(370)==r&&n[e(387)](e(379)),e(391)==r&&n[e(387)](e(376)),e(372)==r&&n[e(387)](e(400))},1e3)}[c(382)](){const t=c;super[t(382)](),this[t(371)]&&clearInterval(this[t(371)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=394]})(t,e)}function k(){const t=["originalIndex","length","28TYUveY","isMatching","isVisible","3667977zbtdjk","size","title","384678PIPXnb","buttonView","items","sort","8286rkKjWh","map","1260EQZDzc","48GgypoC","193974MyOaGb","40704aourhs","forEach","5300ORaAGQ","addMany","highlightText","set","78906QMEKuP","get","clear","filter","110NloVEW","_resetFiltering"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(221633===parseInt(e(407))/1*(-parseInt(e(395))/2)+-parseInt(e(399))/3*(parseInt(e(420))/4)+parseInt(e(419))/5*(parseInt(e(417))/6)+parseInt(e(413))/7+-parseInt(e(422))/8+parseInt(e(410))/9+-parseInt(e(403))/10*(parseInt(e(421))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(402)](t){const e=m;if(!t)return this[e(404)]();const n=new Map,r=this[e(415)][e(418)](r=>{const i=e,s=r[i(414)][i(408)](t);return r[i(409)]=!!s,r[i(414)][i(397)](s?t:null),s&&n[i(398)](r,s),r})[e(416)](g)[e(416)]((i=n,function(t,e){const n=h,r=i[n(400)](t),s=i[n(400)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(412)]&&!s[n(412)]?-1:!r[n(412)]&&s[n(412)]?1:0:0}));var i;return this[e(415)][e(401)](),this[e(415)][e(396)](r),{resultsCount:n[e(411)],totalItemsCount:this[e(415)][e(406)]}}[m(404)](){const t=m,e=this[t(415)][t(418)](t=>t)[t(416)](g);return e[t(394)](e=>{const n=t;e[n(409)]=!0,e[n(414)][n(397)](null)}),this[t(415)][t(401)](),this[t(415)][t(396)](e),{resultsCount:e[t(406)],totalItemsCount:e[t(406)]}}}function g(t,e){const n=m;return t[n(405)]-e[n(405)]}var v=b;!function(t){for(var e=b,n=t();;)try{if(345058===-parseInt(e(475))/1+-parseInt(e(480))/2+parseInt(e(481))/3*(-parseInt(e(482))/4)+-parseInt(e(485))/5*(-parseInt(e(479))/6)+parseInt(e(477))/7*(-parseInt(e(483))/8)+-parseInt(e(484))/9+parseInt(e(476))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class I extends f.ListItemView{[v(486)];[v(478)];constructor(t,e){var n=v;super(t),this[n(486)]=e,this[n(478)]=null}}function b(t,e){var n=y();return(b=function(t,e){return n[t-=475]})(t,e)}function y(){var t=["134165qDDOMP","originalIndex","210814UUNWIS","24596610PsFgfp","77LNVfnw","buttonView","6tdxHVU","1053306BNJmbm","18ULiMnw","319092NuCHqR","466504mWZwTE","2554992lZoKym"];return(y=function(){return t})()}const x=T;function _(){const t=["descriptionView","add","push","1336590sditwM","div","ck-template-button","locale","match","textPartView","element","labelView","8KDwucl","940023TfbMio","setTemplate","iconView","ck-button__label","span","text","option","1436894hnFzVh","render","extendTemplate","isColorInherited","isMatching","description","destroy","149290wuYGed","1648840wYPIgI","children","templateDefinition","title","817348UwoXhT","titleView","18zQZhxX","highlightText","ck-template-form__text-part","remove","ck-template-form__description","65656XbKxzz","set"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=213]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(408436===-parseInt(e(221))/1+parseInt(e(214))/2+-parseInt(e(247))/3+-parseInt(e(233))/4+-parseInt(e(222))/5+-parseInt(e(228))/6*(-parseInt(e(226))/7)+parseInt(e(246))/8*(parseInt(e(238))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(224)];[x(243)];constructor(t,e){const n=x;super(t),this[n(224)]=e,this[n(243)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(234)]({withText:!0,class:n(240),role:n(213),icon:r}),this[n(249)][n(217)]=!1}[x(215)](){const t=x;super[t(215)](),this[t(243)]=new M(this[t(241)],this[t(224)],this[t(245)][t(244)].id),this[t(223)][t(231)](this[t(245)]),this[t(223)][t(236)](this[t(243)])}[x(220)](){const t=x;super[t(220)](),this[t(245)][t(220)]()}[x(218)](t){const e=x,{title:n,description:r}=this[e(224)],i=!!n[e(242)](t),s=!(!r||!r[e(242)](t));return i||s?{title:i,description:s}:null}[x(229)](t){const e=x;this[e(243)][e(229)](t)}}class M extends f.View{constructor(t,e,n){const r=x;super(t),this[r(225)]=e[r(225)],this[r(219)]=e[r(219)],this[r(227)]=new f.HighlightedTextView,this[r(227)][r(252)]=this[r(225)],this[r(227)][r(216)]({tag:r(251),attributes:{class:[r(250)],id:n}});const i=[this[r(227)]];this[r(219)]&&(this[r(235)]=new f.HighlightedTextView,this[r(235)][r(252)]=this[r(219)],this[r(235)][r(216)]({tag:"p",attributes:{class:[r(232)]}}),i[r(237)](this[r(235)])),this[r(248)]({tag:r(239),attributes:{class:["ck",r(230)]},children:i})}[x(229)](t){const e=x;this[e(227)][e(229)](t),this[e(219)]&&this[e(235)][e(229)](t)}}function P(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(673),C=n.n(V),N=n(545),E=n.n(N),S=n(262),O=n.n(S),A=n(667),K=n.n(A),j=n(357),B=n.n(j),z=n(175),D={attributes:{"data-cke":!0}};D.setAttributes=K(),D.insert=O().bind(null,"head"),D.domAPI=E(),D.insertStyleElement=B();C()(z.A,D);z.A&&z.A.locals&&z.A.locals;const q=H;function H(t,e){const n=F();return(H=function(t,e){return n[t-=202]})(t,e)}!function(t){const e=H,n=t();for(;;)try{if(121723===-parseInt(e(230))/1+parseInt(e(261))/2*(parseInt(e(234))/3)+parseInt(e(203))/4*(parseInt(e(211))/5)+parseInt(e(247))/6+parseInt(e(218))/7+-parseInt(e(219))/8+parseInt(e(222))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class U extends t.Plugin{static get[q(243)](){return q(246)}static get[q(260)](){return!0}static get[q(245)](){return!0}[q(227)](){const t=q,{editor:e}=this,n=e[t(204)][t(223)](t(241))||[];e.ui[t(233)][t(256)](t(220),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(215)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:P(r,i(209))},class:i(232),infoView:{text:{notFound:{primary:t=>P(r,i(212),t),secondary:P(r,i(257))},noSearchableItems:{primary:P(r,i(221))}}}}),o=e[i(236)][i(223)](i(220));return c.on(i(228),(t,n)=>{const s=i;n[s(252)]&&n[s(252)][s(202)]&&e.ui[s(248)][s(265)](P(r,s(244),n[s(229)]))}),s[i(208)](i(251)).to(o),s[i(205)][i(231)][i(256)](c),s[i(206)][i(259)]({label:P(r,i(264)),icon:p.IconTemplate,tooltip:!0}),s.on(i(254),(t,e,n)=>{n||c[i(237)]()}),s}),e.ui[t(233)][t(256)](t(262),r=>{const i=t,s=e[i(236)][i(223)](i(220)),a=new f.MenuBarMenuView(r);a[i(206)][i(259)]({label:P(r,i(255)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(202)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(259)]({label:P(r,i(221))}),n[i(240)](i(210)).to(a),n.on(i(210),()=>{const t=i;e[t(258)][t(263)][t(226)]()}),t[i(231)][i(256)](n),c[i(216)][i(256)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(259)]({class:i(250),label:t[i(235)],icon:t[i(217)]||p.IconTemplateGeneric}),s[i(240)](i(210)).to(a),s.on(i(210),()=>{const n=i;e[n(210)](n(220),t[n(239)]),e[n(258)][n(263)][n(226)]()}),n[i(231)][i(256)](s),c[i(216)][i(256)](n)}return a[i(205)][i(231)][i(256)](c),a[i(208)](i(251)).to(s,i(251)),a})}[q(224)](){!async function(t){const e=h([79,48,49,77,112,113,104,82,120,116,74,78,56,85,89,81,111,51,57,80,66,76,75,67,101,55,70,52,103,97,69,54,122,109,72,108,50,71,90,117,100,65,115,106,110,121,88,107,68,102,114,86,99,98,53,87,118,83,105,119,84,73]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([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]),[h([121])]:h([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]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function o(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=H;return t[e(267)](t=>String[e(238)](t))[e(266)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([79]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=o(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(c=>{if(s())return c(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){o(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](c)[h([99,97,116,99,104])](()=>{c(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function o(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(o=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{o||c(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function a(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=a[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=o(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),c=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!c)return;const o=await c[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await c[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},o,i,a)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1755561600;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=H,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(213)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=c(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=c(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[q(215)](t,e){const n=q,{editor:r}=this,i=new w(t);return i[n(249)]({attributes:{role:n(253),class:[n(214)]}}),i[n(216)][n(225)](e[n(267)]((e,i)=>{const s=n,a=new I(t,i),c=new L(t,e);return a[s(206)]=c,a[s(231)][s(256)](c),a[s(206)].on(s(210),t=>{const e=s;r[e(210)](e(220),t[e(207)][e(242)][e(239)]),r[e(258)][e(263)][e(226)]()}),a})),i}}function F(){const t=["listbox","change:isOpen","Template","add","Please try a different phrase or check the spelling.","editing","set","isOfficialPlugin","59384ZnuHea","menuBar:insertTemplate","view","Insert template","announce","join","map","length","864628vHxZoJ","config","panelView","buttonView","source","bind","Search template","execute","5ZcMRfl",'No templates were found matching "%0".',"href","ck-template-list","_createTemplateListView","items","icon","306250VjIBeg","1280928qbUbpD","insertTemplate","No templates available.","460386mduzfw","get","afterInit","addMany","focus","init","search","resultsCount","213885QxWaiy","children","ck-template-form","componentFactory","3rLIEgk","title","commands","reset","fromCharCode","data","delegate","template.definitions","templateDefinition","pluginName","%0 templates found","isPremiumPlugin","TemplateUI","929826BpHLQY","ariaLiveAnnouncer","extendTemplate","ck-template-button","isEnabled","query"];return(F=function(){return t})()}var G=R;function Q(){var t=["1789952XqjliQ","223945JEqwlB","99695lBWIwC","requires","pluginName","Template","27456PdsibI","isOfficialPlugin","508442nxAyuq","108OgqfHm","796070SiTMtu","isPremiumPlugin","41528PHKCrN","150tvsjgs","54XfHAFM","1337vPQZeD"];return(Q=function(){return t})()}function R(t,e){var n=Q();return(R=function(t,e){return n[t-=199]})(t,e)}!function(t){for(var e=R,n=t();;)try{if(573183===-parseInt(e(206))/1+parseInt(e(202))/2*(parseInt(e(210))/3)+-parseInt(e(204))/4+-parseInt(e(205))/5*(parseInt(e(201))/6)+parseInt(e(203))/7*(parseInt(e(200))/8)+-parseInt(e(213))/9*(-parseInt(e(214))/10)+parseInt(e(212))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class W extends t.Plugin{static get[G(207)](){return[u,U]}static get[G(208)](){return G(209)}static get[G(211)](){return!0}static get[G(199)](){return!0}}function Y(t,e){var n=Z();return(Y=function(t,e){return n[t-=418]})(t,e)}function Z(){var t=["1656666VVOxGP","17192vmBVFd","645711ymOLFa","16926aBFWPY","760WCGoSG","17037394FuYvzt","1266UwvULS","30NMOkFb","988992xCnOmC","2vhCLHO","2067627EoiTDl"];return(Z=function(){return t})()}!function(t){for(var e=Y,n=t();;)try{if(357762===parseInt(e(424))/1+-parseInt(e(420))/2*(-parseInt(e(421))/3)+parseInt(e(423))/4*(parseInt(e(426))/5)+parseInt(e(428))/6*(-parseInt(e(425))/7)+-parseInt(e(419))/8+parseInt(e(422))/9*(parseInt(e(418))/10)+-parseInt(e(427))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z)})(),(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 _0x4f3816,Plugin as _0x25f817}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x1dc1e1,IconTemplate as _0x228a64}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x20f1b9,ListItemView as _0x5735ba,ButtonView as _0x405e8c,View as _0x4c3f5f,HighlightedTextView as _0x98115c,createDropdown as _0x405f1e,SearchTextView as _0x3344af,MenuBarMenuView as _0x4e94bf,MenuBarMenuListView as _0x4cb427,MenuBarMenuListItemView as _0x547222,MenuBarMenuListItemButtonView as _0x22882b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x1f5f83}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x4f3816{['execute'](_0x25ee5b){const {model:_0x55df2f}=this['editor'];let _0x16b606;switch(typeof _0x25ee5b){case'string':_0x16b606=_0x25ee5b;break;case'function':_0x16b606=_0x25ee5b();}'string'==typeof _0x16b606&&_0x55df2f['change'](()=>{const _0x179811=this['editor']['data']['htmlProcessor']['toView'](_0x16b606),_0x1039b0=this['editor']['data']['toModel'](_0x179811);_0x55df2f['insertContent'](_0x1039b0);});}}class i extends _0x25f817{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x22af6c}=this;_0x22af6c['commands']['add']('insertTemplate',new a(_0x22af6c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x300adc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x37bce9;for(const _0x5c2f5f in _0x300adc){const _0x4990bd=_0x5c2f5f,_0xd26f26=_0x300adc[_0x4990bd];if('templateLicenseKeyValid'==_0xd26f26||'templateLicenseKeyInvalid'==_0xd26f26||'templateLicenseKeyExpired'==_0xd26f26||'templateLicenseKeyDomainLimit'==_0xd26f26||'templateLicenseKeyNotAllowed'==_0xd26f26||'templateLicenseKeyEvaluationLimit'==_0xd26f26||'templateLicenseKeyTrialLimit'==_0xd26f26||'templateLicenseKeyUsageLimit'==_0xd26f26){delete _0x300adc[_0x4990bd],_0x37bce9=_0xd26f26,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x37bce9&&_0x300adc['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x37bce9&&_0x300adc['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x37bce9&&_0x300adc['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x37bce9&&_0x300adc['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x37bce9&&_0x300adc['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x37bce9&&_0x300adc['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x37bce9&&_0x300adc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x20f1b9{['filter'](_0x3ef685){if(!_0x3ef685)return this['_resetFiltering']();const _0x2a6dbb=new Map(),_0x30b3f0=this['items']['map'](_0x5dc432=>{const _0x312f7c=_0x5dc432['buttonView']['isMatching'](_0x3ef685);return _0x5dc432['isVisible']=!!_0x312f7c,_0x5dc432['buttonView']['highlightText'](_0x312f7c?_0x3ef685:null),_0x312f7c&&_0x2a6dbb['set'](_0x5dc432,_0x312f7c),_0x5dc432;})['sort'](j)['sort'](function(_0x46e098){return function(_0x349f6d,_0x512d0a){const _0x49a575=_0x46e098['get'](_0x349f6d),_0x27e7c3=_0x46e098['get'](_0x512d0a);return _0x49a575&&!_0x27e7c3?-0x1:_0x27e7c3&&!_0x49a575?0x1:_0x49a575||_0x27e7c3?_0x49a575['title']&&!_0x27e7c3['title']?-0x1:!_0x49a575['title']&&_0x27e7c3['title']?0x1:0x0:0x0;};}(_0x2a6dbb));return this['items']['clear'](),this['items']['addMany'](_0x30b3f0),{'resultsCount':_0x2a6dbb['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x153acf=this['items']['map'](_0x59268b=>_0x59268b)['sort'](j);return _0x153acf['forEach'](_0x10caf0=>{_0x10caf0['isVisible']=!0x0,_0x10caf0['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x153acf),{'resultsCount':_0x153acf['length'],'totalItemsCount':_0x153acf['length']};}}function j(_0x25668b,_0xa1901c){return _0x25668b['originalIndex']-_0xa1901c['originalIndex'];}class b extends _0x5735ba{['originalIndex'];['buttonView'];constructor(_0x236e28,_0x469cfd){super(_0x236e28),this['originalIndex']=_0x469cfd,this['buttonView']=null;}}class h extends _0x405e8c{['templateDefinition'];['textPartView'];constructor(_0x28168d,_0x2183c5){super(_0x28168d),this['templateDefinition']=_0x2183c5,this['textPartView']=null;const {icon:_0x239f7e=_0x1dc1e1}=_0x2183c5;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x239f7e}),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'](_0x331045){const {title:_0xa591a4,description:_0x2e4cdc}=this['templateDefinition'],_0x423b9d=!!_0xa591a4['match'](_0x331045),_0x953e8f=!(!_0x2e4cdc||!_0x2e4cdc['match'](_0x331045));return _0x423b9d||_0x953e8f?{'title':_0x423b9d,'description':_0x953e8f}:null;}['highlightText'](_0x229467){this['textPartView']['highlightText'](_0x229467);}}class L extends _0x4c3f5f{constructor(_0x2bda42,_0x45d1ae,_0x3dd463){super(_0x2bda42),this['title']=_0x45d1ae['title'],this['description']=_0x45d1ae['description'],this['titleView']=new _0x98115c(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3dd463}});const _0x125997=[this['titleView']];this['description']&&(this['descriptionView']=new _0x98115c(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x125997['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x125997});}['highlightText'](_0x4a15ca){this['titleView']['highlightText'](_0x4a15ca),this['description']&&this['descriptionView']['highlightText'](_0x4a15ca);}}function g(_0x1d3afe,_0x581c4d,..._0x4e61f6){const t=_0x1d3afe['t'];switch(_0x581c4d){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x4e61f6);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',..._0x4e61f6);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x581c4d;}}class s extends _0x25f817{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c3740}=this,_0x363010=_0x4c3740['config']['get']('template.definitions')||[];_0x4c3740['ui']['componentFactory']['add']('insertTemplate',_0x4bfe41=>{const _0x34886e=_0x405f1e(_0x4bfe41),_0x151cd5=this['_createTemplateListView'](_0x4bfe41,_0x363010),_0x129e59=new _0x3344af(_0x4bfe41,{'filteredView':_0x151cd5,'queryView':{'label':g(_0x4bfe41,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x171064=>g(_0x4bfe41,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x171064),'secondary':g(_0x4bfe41,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x4bfe41,'No\x20templates\x20available.')}}}}),_0x40fc28=_0x4c3740['commands']['get']('insertTemplate');return _0x129e59['on']('search',(_0x3f57c2,_0x36d2c3)=>{_0x36d2c3['query']&&_0x36d2c3['query']['length']&&_0x4c3740['ui']['ariaLiveAnnouncer']['announce'](g(_0x4bfe41,'%0\x20templates\x20found',_0x36d2c3['resultsCount']));}),_0x34886e['bind']('isEnabled')['to'](_0x40fc28),_0x34886e['panelView']['children']['add'](_0x129e59),_0x34886e['buttonView']['set']({'label':g(_0x4bfe41,'Insert\x20template'),'icon':_0x228a64,'tooltip':!0x0}),_0x34886e['on']('change:isOpen',(_0x5e8548,_0x1c8a31,_0x340b6b)=>{_0x340b6b||_0x129e59['reset']();}),_0x34886e;}),_0x4c3740['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x13d071=>{const _0x10d56d=_0x4c3740['commands']['get']('insertTemplate'),_0x547596=new _0x4e94bf(_0x13d071);_0x547596['buttonView']['set']({'label':g(_0x13d071,'Template'),'icon':_0x228a64});const _0x4b8323=new _0x4cb427(_0x13d071);if(!_0x363010||!_0x363010['length']){const _0xa0e848=new _0x547222(_0x13d071,_0x547596),_0x217899=new _0x22882b(_0x13d071);_0x217899['set']({'label':g(_0x13d071,'No\x20templates\x20available.')}),_0x217899['delegate']('execute')['to'](_0x547596),_0x217899['on']('execute',()=>{_0x4c3740['editing']['view']['focus']();}),_0xa0e848['children']['add'](_0x217899),_0x4b8323['items']['add'](_0xa0e848);}for(const _0x597743 of _0x363010){const _0x57866d=new _0x547222(_0x13d071,_0x547596),_0x48f7dd=new _0x22882b(_0x13d071);_0x48f7dd['set']({'class':'ck-template-button','label':_0x597743['title'],'icon':_0x597743['icon']||_0x1dc1e1}),_0x48f7dd['delegate']('execute')['to'](_0x547596),_0x48f7dd['on']('execute',()=>{_0x4c3740['execute']('insertTemplate',_0x597743['data']),_0x4c3740['editing']['view']['focus']();}),_0x57866d['children']['add'](_0x48f7dd),_0x4b8323['items']['add'](_0x57866d);}return _0x547596['panelView']['children']['add'](_0x4b8323),_0x547596['bind']('isEnabled')['to'](_0x10d56d,'isEnabled'),_0x547596;});}['afterInit'](){!async function(_0x346ebf){const _0x5711ed=_0x410385([0x74,0x48,0x69,0x57,0x73,0x45,0x75,0x42,0x35,0x70,0x4a,0x52,0x37,0x65,0x4c,0x4b,0x43,0x4e,0x34,0x31,0x32,0x51,0x39,0x6b,0x6d,0x77,0x78,0x79,0x63,0x59,0x76,0x6f,0x56,0x4d,0x41,0x7a,0x58,0x30,0x67,0x72,0x5a,0x62,0x49,0x68,0x6c,0x38,0x46,0x54,0x6e,0x6a,0x61,0x4f,0x50,0x53,0x36,0x33,0x44,0x55,0x66,0x64,0x71,0x47]),_0x54a8e2=0x29b0c6fd,_0x50aeb7=0x29b7b615^_0x54a8e2,_0x81d013=window[_0x410385([0x44,0x61,0x74,0x65])][_0x410385([0x6e,0x6f,0x77])](),_0x5d04ff=_0x346ebf[_0x410385([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c3897=new window[(_0x410385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbeff2f=>{_0x5d04ff[_0x410385([0x6f,0x6e,0x63,0x65])](_0x410385([0x72,0x65,0x61,0x64,0x79]),_0xbeff2f);}),_0x51d326={[_0x410385([0x6b,0x74,0x79])]:_0x410385([0x45,0x43]),[_0x410385([0x75,0x73,0x65])]:_0x410385([0x73,0x69,0x67]),[_0x410385([0x63,0x72,0x76])]:_0x410385([0x50,0x2d,0x32,0x35,0x36]),[_0x410385([0x78])]:_0x410385([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]),[_0x410385([0x79])]:_0x410385([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]),[_0x410385([0x61,0x6c,0x67])]:_0x410385([0x45,0x53,0x32,0x35,0x36])},_0xefd886=_0x5d04ff[_0x410385([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x410385([0x67,0x65,0x74])](_0x410385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20caa4(){let _0xea2f3d,_0x27a043=null,_0x2d24d3=null;try{if(_0xefd886==_0x410385([0x47,0x50,0x4c]))return _0x410385([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xea2f3d=_0x121ccf(),!_0xea2f3d)return _0x410385([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xea2f3d[_0x410385([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d24d3=_0x15033a(_0xea2f3d[_0x410385([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xea2f3d[_0x410385([0x6a,0x74,0x69])])),await _0x1c6836()?_0x47ccbc()?_0x2cac75()?_0x410385([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39ea7e()?(_0xea2f3d[_0x410385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x410385([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27a043=_0x1746a9(_0x410385([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xea2f3d[_0x410385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x410385([0x74,0x72,0x69,0x61,0x6c])&&(_0x27a043=_0x1746a9(_0x410385([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36e38e()):_0x410385([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x410385([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x410385([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x410385([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2cac75(){const _0x7583c8=[_0x410385([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x410385([0x74,0x72,0x69,0x61,0x6c])][_0x410385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xea2f3d[_0x410385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x81d013/0x3e8:0xe10*_0x50aeb7;return _0xea2f3d[_0x410385([0x65,0x78,0x70])]<_0x7583c8;}function _0x47ccbc(){const _0x6fb890=_0xea2f3d[_0x410385([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x6fb890&&(!!_0x6fb890[_0x410385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410385([0x2a]))||(!!_0x6fb890[_0x410385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410385([0x54,0x50,0x4c]))||(!!_0x6fb890[_0x410385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410385([0x50,0x50]))||!(!_0x6fb890[_0x410385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410385([0x44,0x52,0x55,0x50]))||!_0x3f8afd()))));}function _0x39ea7e(){const _0x3739f4=_0xea2f3d[_0x410385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3739f4||0x0==_0x3739f4[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ce363}=new URL(window[_0x410385([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3739f4[_0x410385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ce363))return!0x0;const _0x18e5de=_0x4ce363[_0x410385([0x73,0x70,0x6c,0x69,0x74])](_0x410385([0x2e]));return _0x3739f4[_0x410385([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4eeabc=>_0x4eeabc[_0x410385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410385([0x2a])))[_0x410385([0x6d,0x61,0x70])](_0x2ddb55=>_0x2ddb55[_0x410385([0x73,0x70,0x6c,0x69,0x74])](_0x410385([0x2e])))[_0x410385([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46f7a8=>_0x46f7a8[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18e5de[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x410385([0x6d,0x61,0x70])](_0x5da66c=>Array(_0x18e5de[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5da66c[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x410385([0x66,0x69,0x6c,0x6c])](_0x5da66c[0x0]===_0x410385([0x2a])?_0x410385([0x2a]):'')[_0x410385([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5da66c))[_0x410385([0x73,0x6f,0x6d,0x65])](_0x44395c=>_0x18e5de[_0x410385([0x65,0x76,0x65,0x72,0x79])]((_0x4cda9c,_0x211458)=>_0x44395c[_0x211458]===_0x4cda9c||_0x44395c[_0x211458]===_0x410385([0x2a])));}function _0x36e38e(){return _0x27a043&&_0x2d24d3?new window[(_0x410385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2fa7e3,_0x502fd9)=>{_0x27a043[_0x410385([0x74,0x68,0x65,0x6e])](_0x2fa7e3,_0x502fd9),_0x2d24d3[_0x410385([0x74,0x68,0x65,0x6e])](_0xcd6048=>{_0xcd6048!=_0x410385([0x56,0x61,0x6c,0x69,0x64])&&_0x2fa7e3(_0xcd6048);},_0x502fd9);}):_0x27a043||_0x2d24d3||_0x410385([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15033a(_0x159292,_0xcdd60b){return new window[(_0x410385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1901e5=>{if(_0x1fe25d())return _0x1901e5(_0x410385([0x56,0x61,0x6c,0x69,0x64]));_0xec4bf4(),_0x5d04ff[_0x410385([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x410385([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x108c3d=!0x1;const _0x145b60=_0x1f5f83();function _0x2d39b9(_0xff3e94){return!!_0xff3e94&&(typeof _0xff3e94===_0x410385([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xff3e94===_0x410385([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xff3e94[_0x410385([0x74,0x68,0x65,0x6e])]===_0x410385([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xff3e94[_0x410385([0x63,0x61,0x74,0x63,0x68])]===_0x410385([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3987f8(_0x325976){_0x4bfe23(_0x325976)[_0x410385([0x74,0x68,0x65,0x6e])](_0x2322b1=>{if(!_0x2322b1||_0x2322b1[_0x410385([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x410385([0x6f,0x6b]))return _0x410385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19abee(_0x501ee5(_0x145b60+_0xcdd60b))!=_0x2322b1[_0x410385([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x410385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x410385([0x56,0x61,0x6c,0x69,0x64]);})[_0x410385([0x74,0x68,0x65,0x6e])](_0x215c4d=>(_0x200975(),_0x215c4d),()=>{const _0x20d9a5=_0x17d3a2();return null==_0x20d9a5?(_0x200975(),_0x410385([0x56,0x61,0x6c,0x69,0x64])):_0x410385(_0x81d013-_0x20d9a5>(0xdbc42fd^_0x54a8e2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x410385([0x74,0x68,0x65,0x6e])](_0x1901e5)[_0x410385([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1901e5(_0x410385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc8fd04=0x2986287d^_0x54a8e2;function _0x200975(){const _0x518cbf=_0x410385([0x6c,0x6c,0x63,0x74,0x2d])+_0x19abee(_0x501ee5(_0x159292)),_0x3676bc=_0x494f15(_0x19abee(window[_0x410385([0x4d,0x61,0x74,0x68])][_0x410385([0x63,0x65,0x69,0x6c])](_0x81d013/_0xc8fd04)));window[_0x410385([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x410385([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x518cbf,_0x3676bc);}function _0x17d3a2(){const _0x1e09d5=_0x410385([0x6c,0x6c,0x63,0x74,0x2d])+_0x19abee(_0x501ee5(_0x159292)),_0x464450=window[_0x410385([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x410385([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e09d5);return _0x464450?window[_0x410385([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x494f15(_0x464450),0x10)*_0xc8fd04:null;}function _0x4bfe23(_0x5bc2fb){return new window[(_0x410385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x506a3f,_0x9ba68)=>{_0x5bc2fb[_0x410385([0x74,0x68,0x65,0x6e])](_0x506a3f,_0x9ba68),window[_0x410385([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9ba68,0x29b1123d^_0x54a8e2);});}}_0x5d04ff[_0x410385([0x6f,0x6e])](_0x410385([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3dacb8,_0x3d3288)=>{if(_0x3d3288[0x0]!=_0x159292)return _0x1901e5(_0x410385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d3288[0x1]={..._0x3d3288[0x1],[_0x410385([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x145b60};},{[_0x410385([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x410385([0x68,0x69,0x67,0x68])}),_0x5d04ff[_0x410385([0x6f,0x6e])](_0x410385([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x246c62=>{_0x2d39b9(_0x246c62[_0x410385([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x108c3d=!0x0,_0x3987f8(_0x246c62[_0x410385([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x410385([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x410385([0x6c,0x6f,0x77])}),_0x2c3897[_0x410385([0x74,0x68,0x65,0x6e])](()=>{_0x108c3d||_0x1901e5(_0x410385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fe25d(){return _0x5d04ff[_0x410385([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x410385([0x76,0x69,0x65,0x77])][_0x410385([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x410385([0x61,0x75,0x74,0x6f]);}function _0xec4bf4(){_0x5d04ff[_0x410385([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x410385([0x76,0x69,0x65,0x77])][_0x410385([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x410385([0x61,0x75,0x74,0x6f]);}}function _0x1746a9(_0x417c54){const _0x4031ef=[new window[(_0x410385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f3f64=>setTimeout(_0x2f3f64,0x29b9f831^_0x54a8e2)),_0x2c3897[_0x410385([0x74,0x68,0x65,0x6e])](()=>new window[(_0x410385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dda40=>{let _0x4e7b32=0x0;_0x5d04ff[_0x410385([0x6d,0x6f,0x64,0x65,0x6c])][_0x410385([0x6f,0x6e])](_0x410385([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20360c,_0x37a02d)=>{_0x37a02d[0x0][_0x410385([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e7b32++,_0x4e7b32==(0x29b0c705^_0x54a8e2)&&(_0x2dda40(),_0x20360c[_0x410385([0x6f,0x66,0x66])]());});}))];return window[_0x410385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x410385([0x72,0x61,0x63,0x65])](_0x4031ef)[_0x410385([0x74,0x68,0x65,0x6e])](()=>_0x417c54);}async function _0x390dd4(){await _0x2c3897,_0x5d04ff[_0x410385([0x6d,0x6f,0x64,0x65,0x6c])][_0x410385([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2efc43,_0x5d04ff[_0x410385([0x6d,0x6f,0x64,0x65,0x6c])][_0x410385([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2efc43,_0x5d04ff[_0x410385([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x410385([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f8afd(){return window[_0x410385([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x106bdc(_0x47cbfe){const _0x178aa4=_0x59aec8();_0x5d04ff[_0x178aa4]=_0x410385([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x47cbfe,_0x47cbfe!=_0x410385([0x56,0x61,0x6c,0x69,0x64])&&_0x390dd4();}function _0x59aec8(){const _0x766e4a=window[_0x410385([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x410385([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x410385([0x6e,0x6f,0x77])]())[_0x410385([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x410385([0x2e]),'');let _0xc6023c=_0x410385([0x74]);for(let _0xf49fa3=0x0;_0xf49fa3<_0x766e4a[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf49fa3+=0x2){let _0x14fe14=window[_0x410385([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x766e4a[_0x410385([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf49fa3,_0xf49fa3+0x2));_0x14fe14>=_0x5711ed[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14fe14-=_0x5711ed[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc6023c+=_0x5711ed[_0x14fe14];}return _0xc6023c;}function _0x121ccf(){const _0x35bf4d=_0xefd886[_0x410385([0x73,0x70,0x6c,0x69,0x74])](_0x410385([0x2e]));if(0x3!=_0x35bf4d[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4bcef7(_0x35bf4d[0x1]);function _0x4bcef7(_0x4a8225){const _0x5ca85f=_0x51bc78(_0x4a8225);return _0x5ca85f&&_0x3bc612()?_0x5ca85f:null;function _0x3bc612(){const _0x131cd3=_0x5ca85f[_0x410385([0x6a,0x74,0x69])],_0xe464a5=window[_0x410385([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x131cd3[_0x410385([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x131cd3[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb00eb6={..._0x5ca85f,[_0x410385([0x6a,0x74,0x69])]:_0x131cd3[_0x410385([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x131cd3[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb00eb6[_0x410385([0x76,0x63])],_0x501ee5(_0xb00eb6)==_0xe464a5;}}}async function _0x1c6836(){let _0x38f9dc=!0x0;try{const _0x3a037f=_0xefd886[_0x410385([0x73,0x70,0x6c,0x69,0x74])](_0x410385([0x2e])),[_0x29d4df,_0x3f1d38,_0x3cdcb2]=_0x3a037f;return _0x34f477(_0x29d4df),await _0x1f3d8d(_0x29d4df,_0x3f1d38,_0x3cdcb2),_0x38f9dc;}catch{return!0x1;}function _0x34f477(_0xe1b68a){const _0x24697e=_0x51bc78(_0xe1b68a);_0x24697e&&_0x24697e[_0x410385([0x61,0x6c,0x67])]==_0x410385([0x45,0x53,0x32,0x35,0x36])||(_0x38f9dc=!0x1);}async function _0x1f3d8d(_0x47330c,_0xe89b6b,_0x54dcad){const _0x57a27a=window[_0x410385([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x410385([0x66,0x72,0x6f,0x6d])](_0x22a01d(_0x54dcad),_0x2a0643=>_0x2a0643[_0x410385([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ecef4=new window[(_0x410385([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x410385([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x47330c+_0x410385([0x2e])+_0xe89b6b),_0x3d2679=window[_0x410385([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x410385([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d2679)return;const _0x372943=await _0x3d2679[_0x410385([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x410385([0x6a,0x77,0x6b]),_0x51d326,{[_0x410385([0x6e,0x61,0x6d,0x65])]:_0x410385([0x45,0x43,0x44,0x53,0x41]),[_0x410385([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x410385([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x410385([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d2679[_0x410385([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x410385([0x6e,0x61,0x6d,0x65])]:_0x410385([0x45,0x43,0x44,0x53,0x41]),[_0x410385([0x68,0x61,0x73,0x68])]:{[_0x410385([0x6e,0x61,0x6d,0x65])]:_0x410385([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x372943,_0x57a27a,_0x4ecef4)||(_0x38f9dc=!0x1);}}function _0x51bc78(_0x517e81){return _0x517e81[_0x410385([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x410385([0x65,0x79]))?JSON[_0x410385([0x70,0x61,0x72,0x73,0x65])](_0x22a01d(_0x517e81)):null;}function _0x22a01d(_0xa655f9){return window[_0x410385([0x61,0x74,0x6f,0x62])](_0xa655f9[_0x410385([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x410385([0x2b]))[_0x410385([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x410385([0x2f])));}function _0x501ee5(_0x4264c0){let _0x3fd514=0x1505;function _0x138b52(_0x2f23db){for(let _0x4cfa49=0x0;_0x4cfa49<_0x2f23db[_0x410385([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cfa49++){const _0x559b17=_0x2f23db[_0x410385([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cfa49);_0x3fd514=(_0x3fd514<<0x5)+_0x3fd514+_0x559b17,_0x3fd514&=_0x3fd514;}}function _0x2b9657(_0x3a6bf3){Array[_0x410385([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a6bf3)?_0x3a6bf3[_0x410385([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b9657):_0x3a6bf3&&typeof _0x3a6bf3==_0x410385([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x410385([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a6bf3)[_0x410385([0x73,0x6f,0x72,0x74])]()[_0x410385([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30d4f9,_0x49896a])=>{_0x138b52(_0x30d4f9),_0x2b9657(_0x49896a);}):_0x138b52(window[_0x410385([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a6bf3));}return _0x2b9657(_0x4264c0),_0x3fd514>>>0x0;}function _0x19abee(_0x27db2f){return _0x27db2f[_0x410385([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x410385([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x410385([0x30]));}function _0x494f15(_0x42801c){return _0x42801c[_0x410385([0x73,0x70,0x6c,0x69,0x74])]('')[_0x410385([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x410385([0x6a,0x6f,0x69,0x6e])]('');}function _0x2efc43(){}function _0x410385(_0x537203){return _0x537203['map'](_0x33e880=>String['fromCharCode'](_0x33e880))['join']('');}_0x106bdc(await _0x20caa4());}(this);}['_createTemplateListView'](_0x5d4acf,_0x11f4cd){const {editor:_0x493639}=this,_0x4d1a76=new y(_0x5d4acf);return _0x4d1a76['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x4d1a76['items']['addMany'](_0x11f4cd['map']((_0x40f69a,_0x5b7c4f)=>{const _0x1c57e0=new b(_0x5d4acf,_0x5b7c4f),_0x43e189=new h(_0x5d4acf,_0x40f69a);return _0x1c57e0['buttonView']=_0x43e189,_0x1c57e0['children']['add'](_0x43e189),_0x1c57e0['buttonView']['on']('execute',_0x70c913=>{_0x493639['execute']('insertTemplate',_0x70c913['source']['templateDefinition']['data']),_0x493639['editing']['view']['focus']();}),_0x1c57e0;})),_0x4d1a76;}}class K extends _0x25f817{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
23
+ import{Command as _0x4ea2f4,Plugin as _0x4d8b35}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x1d0cc7,IconTemplate as _0x214859}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x167c1b,ListItemView as _0x1382f6,ButtonView as _0x5d4ff5,View as _0x23a644,HighlightedTextView as _0x1c3a81,createDropdown as _0x5880d0,SearchTextView as _0x1ef695,MenuBarMenuView as _0x32d120,MenuBarMenuListView as _0x106fc9,MenuBarMenuListItemView as _0x1bee10,MenuBarMenuListItemButtonView as _0x5e9490}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x2f1b07}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x4ea2f4{['execute'](_0x2cf810){const {model:_0x5d35a7}=this['editor'];let _0x2af63e;switch(typeof _0x2cf810){case'string':_0x2af63e=_0x2cf810;break;case'function':_0x2af63e=_0x2cf810();}'string'==typeof _0x2af63e&&_0x5d35a7['change'](()=>{const _0x3017e5=this['editor']['data']['htmlProcessor']['toView'](_0x2af63e),_0x1ba706=this['editor']['data']['toModel'](_0x3017e5);_0x5d35a7['insertContent'](_0x1ba706);});}}class i extends _0x4d8b35{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b8db7}=this;_0x5b8db7['commands']['add']('insertTemplate',new a(_0x5b8db7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x55bdc8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2a6887;for(const _0x48ca95 in _0x55bdc8){const _0x45c337=_0x48ca95,_0x23c031=_0x55bdc8[_0x45c337];if('templateLicenseKeyValid'==_0x23c031||'templateLicenseKeyInvalid'==_0x23c031||'templateLicenseKeyExpired'==_0x23c031||'templateLicenseKeyDomainLimit'==_0x23c031||'templateLicenseKeyNotAllowed'==_0x23c031||'templateLicenseKeyEvaluationLimit'==_0x23c031||'templateLicenseKeyTrialLimit'==_0x23c031||'templateLicenseKeyUsageLimit'==_0x23c031){delete _0x55bdc8[_0x45c337],_0x2a6887=_0x23c031,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x2a6887&&_0x55bdc8['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x2a6887&&_0x55bdc8['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x2a6887&&_0x55bdc8['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x2a6887&&_0x55bdc8['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x2a6887&&_0x55bdc8['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x2a6887&&_0x55bdc8['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x2a6887&&_0x55bdc8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x167c1b{['filter'](_0x3ab605){if(!_0x3ab605)return this['_resetFiltering']();const _0x49de36=new Map(),_0x51d205=this['items']['map'](_0x4dc381=>{const _0x253a7c=_0x4dc381['buttonView']['isMatching'](_0x3ab605);return _0x4dc381['isVisible']=!!_0x253a7c,_0x4dc381['buttonView']['highlightText'](_0x253a7c?_0x3ab605:null),_0x253a7c&&_0x49de36['set'](_0x4dc381,_0x253a7c),_0x4dc381;})['sort'](j)['sort'](function(_0x177881){return function(_0x4ef624,_0x28af14){const _0x2ead60=_0x177881['get'](_0x4ef624),_0x33a7a4=_0x177881['get'](_0x28af14);return _0x2ead60&&!_0x33a7a4?-0x1:_0x33a7a4&&!_0x2ead60?0x1:_0x2ead60||_0x33a7a4?_0x2ead60['title']&&!_0x33a7a4['title']?-0x1:!_0x2ead60['title']&&_0x33a7a4['title']?0x1:0x0:0x0;};}(_0x49de36));return this['items']['clear'](),this['items']['addMany'](_0x51d205),{'resultsCount':_0x49de36['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x2d96b0=this['items']['map'](_0x5b1887=>_0x5b1887)['sort'](j);return _0x2d96b0['forEach'](_0x32c30a=>{_0x32c30a['isVisible']=!0x0,_0x32c30a['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x2d96b0),{'resultsCount':_0x2d96b0['length'],'totalItemsCount':_0x2d96b0['length']};}}function j(_0x58836b,_0x3de8d3){return _0x58836b['originalIndex']-_0x3de8d3['originalIndex'];}class b extends _0x1382f6{['originalIndex'];['buttonView'];constructor(_0x1a95a3,_0x3ea86d){super(_0x1a95a3),this['originalIndex']=_0x3ea86d,this['buttonView']=null;}}class h extends _0x5d4ff5{['templateDefinition'];['textPartView'];constructor(_0x38879c,_0x4144f0){super(_0x38879c),this['templateDefinition']=_0x4144f0,this['textPartView']=null;const {icon:_0x39ed8a=_0x1d0cc7}=_0x4144f0;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x39ed8a}),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'](_0x5f2423){const {title:_0x3b3fe7,description:_0x98ff5d}=this['templateDefinition'],_0x1ff25a=!!_0x3b3fe7['match'](_0x5f2423),_0x41d1cf=!(!_0x98ff5d||!_0x98ff5d['match'](_0x5f2423));return _0x1ff25a||_0x41d1cf?{'title':_0x1ff25a,'description':_0x41d1cf}:null;}['highlightText'](_0x25f8d1){this['textPartView']['highlightText'](_0x25f8d1);}}class L extends _0x23a644{constructor(_0x280263,_0x5884e3,_0x55e7b5){super(_0x280263),this['title']=_0x5884e3['title'],this['description']=_0x5884e3['description'],this['titleView']=new _0x1c3a81(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x55e7b5}});const _0x3b9b4f=[this['titleView']];this['description']&&(this['descriptionView']=new _0x1c3a81(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x3b9b4f['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x3b9b4f});}['highlightText'](_0x20fcaf){this['titleView']['highlightText'](_0x20fcaf),this['description']&&this['descriptionView']['highlightText'](_0x20fcaf);}}function g(_0xa42771,_0x18228e,..._0xc11765){const t=_0xa42771['t'];switch(_0x18228e){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xc11765);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',..._0xc11765);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x18228e;}}class s extends _0x4d8b35{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1158c0}=this,_0x59e1aa=_0x1158c0['config']['get']('template.definitions')||[];_0x1158c0['ui']['componentFactory']['add']('insertTemplate',_0x53ff12=>{const _0xe02f67=_0x5880d0(_0x53ff12),_0x2ac33a=this['_createTemplateListView'](_0x53ff12,_0x59e1aa),_0x5a5e82=new _0x1ef695(_0x53ff12,{'filteredView':_0x2ac33a,'queryView':{'label':g(_0x53ff12,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x17a06d=>g(_0x53ff12,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x17a06d),'secondary':g(_0x53ff12,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x53ff12,'No\x20templates\x20available.')}}}}),_0x5e8454=_0x1158c0['commands']['get']('insertTemplate');return _0x5a5e82['on']('search',(_0x532176,_0x26d22d)=>{_0x26d22d['query']&&_0x26d22d['query']['length']&&_0x1158c0['ui']['ariaLiveAnnouncer']['announce'](g(_0x53ff12,'%0\x20templates\x20found',_0x26d22d['resultsCount']));}),_0xe02f67['bind']('isEnabled')['to'](_0x5e8454),_0xe02f67['panelView']['children']['add'](_0x5a5e82),_0xe02f67['buttonView']['set']({'label':g(_0x53ff12,'Insert\x20template'),'icon':_0x214859,'tooltip':!0x0}),_0xe02f67['on']('change:isOpen',(_0x39f7d8,_0x265975,_0x47c0d8)=>{_0x47c0d8||_0x5a5e82['reset']();}),_0xe02f67;}),_0x1158c0['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x4a6d9a=>{const _0x5dbe26=_0x1158c0['commands']['get']('insertTemplate'),_0x5edc30=new _0x32d120(_0x4a6d9a);_0x5edc30['buttonView']['set']({'label':g(_0x4a6d9a,'Template'),'icon':_0x214859});const _0xe782d5=new _0x106fc9(_0x4a6d9a);if(!_0x59e1aa||!_0x59e1aa['length']){const _0x21335f=new _0x1bee10(_0x4a6d9a,_0x5edc30),_0x481870=new _0x5e9490(_0x4a6d9a);_0x481870['set']({'label':g(_0x4a6d9a,'No\x20templates\x20available.')}),_0x481870['delegate']('execute')['to'](_0x5edc30),_0x481870['on']('execute',()=>{_0x1158c0['editing']['view']['focus']();}),_0x21335f['children']['add'](_0x481870),_0xe782d5['items']['add'](_0x21335f);}for(const _0x55c44c of _0x59e1aa){const _0x14be66=new _0x1bee10(_0x4a6d9a,_0x5edc30),_0x1d7629=new _0x5e9490(_0x4a6d9a);_0x1d7629['set']({'class':'ck-template-button','label':_0x55c44c['title'],'icon':_0x55c44c['icon']||_0x1d0cc7}),_0x1d7629['delegate']('execute')['to'](_0x5edc30),_0x1d7629['on']('execute',()=>{_0x1158c0['execute']('insertTemplate',_0x55c44c['data']),_0x1158c0['editing']['view']['focus']();}),_0x14be66['children']['add'](_0x1d7629),_0xe782d5['items']['add'](_0x14be66);}return _0x5edc30['panelView']['children']['add'](_0xe782d5),_0x5edc30['bind']('isEnabled')['to'](_0x5dbe26,'isEnabled'),_0x5edc30;});}['afterInit'](){!async function(_0x1314f3){const _0x3a75ec=_0x19a30c([0x4f,0x30,0x31,0x4d,0x70,0x71,0x68,0x52,0x78,0x74,0x4a,0x4e,0x38,0x55,0x59,0x51,0x6f,0x33,0x39,0x50,0x42,0x4c,0x4b,0x43,0x65,0x37,0x46,0x34,0x67,0x61,0x45,0x36,0x7a,0x6d,0x48,0x6c,0x32,0x47,0x5a,0x75,0x64,0x41,0x73,0x6a,0x6e,0x79,0x58,0x6b,0x44,0x66,0x72,0x56,0x63,0x62,0x35,0x57,0x76,0x53,0x69,0x77,0x54,0x49]),_0x23fce6=0x25b05162,_0x406987=0x25b7218a^_0x23fce6,_0x152e2f=window[_0x19a30c([0x44,0x61,0x74,0x65])][_0x19a30c([0x6e,0x6f,0x77])](),_0x2479f2=_0x1314f3[_0x19a30c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x111460=new window[(_0x19a30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9a32c6=>{_0x2479f2[_0x19a30c([0x6f,0x6e,0x63,0x65])](_0x19a30c([0x72,0x65,0x61,0x64,0x79]),_0x9a32c6);}),_0x5a979c={[_0x19a30c([0x6b,0x74,0x79])]:_0x19a30c([0x45,0x43]),[_0x19a30c([0x75,0x73,0x65])]:_0x19a30c([0x73,0x69,0x67]),[_0x19a30c([0x63,0x72,0x76])]:_0x19a30c([0x50,0x2d,0x32,0x35,0x36]),[_0x19a30c([0x78])]:_0x19a30c([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]),[_0x19a30c([0x79])]:_0x19a30c([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]),[_0x19a30c([0x61,0x6c,0x67])]:_0x19a30c([0x45,0x53,0x32,0x35,0x36])},_0x47592b=_0x2479f2[_0x19a30c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x19a30c([0x67,0x65,0x74])](_0x19a30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28f37b(){let _0x11484f,_0x252b2f=null,_0x4808ad=null;try{if(_0x47592b==_0x19a30c([0x47,0x50,0x4c]))return _0x19a30c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11484f=_0x133d50(),!_0x11484f)return _0x19a30c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11484f[_0x19a30c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4808ad=_0x4190b6(_0x11484f[_0x19a30c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11484f[_0x19a30c([0x6a,0x74,0x69])])),await _0x5251d6()?_0x267200()?_0x3de06a()?_0x19a30c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c5afb()?(_0x11484f[_0x19a30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19a30c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x252b2f=_0x31b3be(_0x19a30c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11484f[_0x19a30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19a30c([0x74,0x72,0x69,0x61,0x6c])&&(_0x252b2f=_0x31b3be(_0x19a30c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x477922()):_0x19a30c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x19a30c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x19a30c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x19a30c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3de06a(){const _0x2708af=[_0x19a30c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x19a30c([0x74,0x72,0x69,0x61,0x6c])][_0x19a30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11484f[_0x19a30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x152e2f/0x3e8:0xe10*_0x406987;return _0x11484f[_0x19a30c([0x65,0x78,0x70])]<_0x2708af;}function _0x267200(){const _0x596acf=_0x11484f[_0x19a30c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x596acf&&(!!_0x596acf[_0x19a30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a30c([0x2a]))||(!!_0x596acf[_0x19a30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a30c([0x54,0x50,0x4c]))||(!!_0x596acf[_0x19a30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a30c([0x50,0x50]))||!(!_0x596acf[_0x19a30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a30c([0x44,0x52,0x55,0x50]))||!_0x157a5c()))));}function _0x2c5afb(){const _0x4f0d57=_0x11484f[_0x19a30c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f0d57||0x0==_0x4f0d57[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d68e9}=new URL(window[_0x19a30c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4f0d57[_0x19a30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d68e9))return!0x0;const _0x3b7d05=_0x1d68e9[_0x19a30c([0x73,0x70,0x6c,0x69,0x74])](_0x19a30c([0x2e]));return _0x4f0d57[_0x19a30c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f1f17=>_0x3f1f17[_0x19a30c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a30c([0x2a])))[_0x19a30c([0x6d,0x61,0x70])](_0x1bf39c=>_0x1bf39c[_0x19a30c([0x73,0x70,0x6c,0x69,0x74])](_0x19a30c([0x2e])))[_0x19a30c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e3350=>_0x3e3350[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b7d05[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x19a30c([0x6d,0x61,0x70])](_0x37af01=>Array(_0x3b7d05[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37af01[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x19a30c([0x66,0x69,0x6c,0x6c])](_0x37af01[0x0]===_0x19a30c([0x2a])?_0x19a30c([0x2a]):'')[_0x19a30c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37af01))[_0x19a30c([0x73,0x6f,0x6d,0x65])](_0x46a344=>_0x3b7d05[_0x19a30c([0x65,0x76,0x65,0x72,0x79])]((_0xf135d1,_0x2aee5d)=>_0x46a344[_0x2aee5d]===_0xf135d1||_0x46a344[_0x2aee5d]===_0x19a30c([0x2a])));}function _0x477922(){return _0x252b2f&&_0x4808ad?new window[(_0x19a30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x376897,_0x2e3fe3)=>{_0x252b2f[_0x19a30c([0x74,0x68,0x65,0x6e])](_0x376897,_0x2e3fe3),_0x4808ad[_0x19a30c([0x74,0x68,0x65,0x6e])](_0x12909f=>{_0x12909f!=_0x19a30c([0x56,0x61,0x6c,0x69,0x64])&&_0x376897(_0x12909f);},_0x2e3fe3);}):_0x252b2f||_0x4808ad||_0x19a30c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4190b6(_0xba189d,_0xf343c1){return new window[(_0x19a30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a9290=>{if(_0x1006dd())return _0x2a9290(_0x19a30c([0x56,0x61,0x6c,0x69,0x64]));_0x3aa19b(),_0x2479f2[_0x19a30c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x19a30c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27c484=!0x1;const _0x17172d=_0x2f1b07();function _0x45d1d(_0x2a86cf){return!!_0x2a86cf&&(typeof _0x2a86cf===_0x19a30c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a86cf===_0x19a30c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a86cf[_0x19a30c([0x74,0x68,0x65,0x6e])]===_0x19a30c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a86cf[_0x19a30c([0x63,0x61,0x74,0x63,0x68])]===_0x19a30c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59fa38(_0x205783){_0x9166f1(_0x205783)[_0x19a30c([0x74,0x68,0x65,0x6e])](_0x17f540=>{if(!_0x17f540||_0x17f540[_0x19a30c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x19a30c([0x6f,0x6b]))return _0x19a30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ee275(_0x53b28d(_0x17172d+_0xf343c1))!=_0x17f540[_0x19a30c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x19a30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x19a30c([0x56,0x61,0x6c,0x69,0x64]);})[_0x19a30c([0x74,0x68,0x65,0x6e])](_0x470444=>(_0x2258ad(),_0x470444),()=>{const _0x25f34c=_0x359867();return null==_0x25f34c?(_0x2258ad(),_0x19a30c([0x56,0x61,0x6c,0x69,0x64])):_0x19a30c(_0x152e2f-_0x25f34c>(0x1bcd562^_0x23fce6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x19a30c([0x74,0x68,0x65,0x6e])](_0x2a9290)[_0x19a30c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a9290(_0x19a30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59e4b6=0x2586bfe2^_0x23fce6;function _0x2258ad(){const _0x31670a=_0x19a30c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ee275(_0x53b28d(_0xba189d)),_0x1bd21f=_0x909d0d(_0x4ee275(window[_0x19a30c([0x4d,0x61,0x74,0x68])][_0x19a30c([0x63,0x65,0x69,0x6c])](_0x152e2f/_0x59e4b6)));window[_0x19a30c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19a30c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31670a,_0x1bd21f);}function _0x359867(){const _0x5caf86=_0x19a30c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ee275(_0x53b28d(_0xba189d)),_0x13f866=window[_0x19a30c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19a30c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5caf86);return _0x13f866?window[_0x19a30c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x909d0d(_0x13f866),0x10)*_0x59e4b6:null;}function _0x9166f1(_0x4c9a77){return new window[(_0x19a30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14a15a,_0x1c67c3)=>{_0x4c9a77[_0x19a30c([0x74,0x68,0x65,0x6e])](_0x14a15a,_0x1c67c3),window[_0x19a30c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c67c3,0x25b185a2^_0x23fce6);});}}_0x2479f2[_0x19a30c([0x6f,0x6e])](_0x19a30c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x169eb2,_0x1d1385)=>{if(_0x1d1385[0x0]!=_0xba189d)return _0x2a9290(_0x19a30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d1385[0x1]={..._0x1d1385[0x1],[_0x19a30c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17172d};},{[_0x19a30c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19a30c([0x68,0x69,0x67,0x68])}),_0x2479f2[_0x19a30c([0x6f,0x6e])](_0x19a30c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x478fa8=>{_0x45d1d(_0x478fa8[_0x19a30c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27c484=!0x0,_0x59fa38(_0x478fa8[_0x19a30c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x19a30c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19a30c([0x6c,0x6f,0x77])}),_0x111460[_0x19a30c([0x74,0x68,0x65,0x6e])](()=>{_0x27c484||_0x2a9290(_0x19a30c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1006dd(){return _0x2479f2[_0x19a30c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19a30c([0x76,0x69,0x65,0x77])][_0x19a30c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x19a30c([0x61,0x75,0x74,0x6f]);}function _0x3aa19b(){_0x2479f2[_0x19a30c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19a30c([0x76,0x69,0x65,0x77])][_0x19a30c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x19a30c([0x61,0x75,0x74,0x6f]);}}function _0x31b3be(_0x40f524){const _0x1f62fa=[new window[(_0x19a30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42db91=>setTimeout(_0x42db91,0x25b96fae^_0x23fce6)),_0x111460[_0x19a30c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x19a30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f653d=>{let _0xb2dcfb=0x0;_0x2479f2[_0x19a30c([0x6d,0x6f,0x64,0x65,0x6c])][_0x19a30c([0x6f,0x6e])](_0x19a30c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa7383b,_0x87a747)=>{_0x87a747[0x0][_0x19a30c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb2dcfb++,_0xb2dcfb==(0x25b0509a^_0x23fce6)&&(_0x4f653d(),_0xa7383b[_0x19a30c([0x6f,0x66,0x66])]());});}))];return window[_0x19a30c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x19a30c([0x72,0x61,0x63,0x65])](_0x1f62fa)[_0x19a30c([0x74,0x68,0x65,0x6e])](()=>_0x40f524);}async function _0x398c79(){await _0x111460,_0x2479f2[_0x19a30c([0x6d,0x6f,0x64,0x65,0x6c])][_0x19a30c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3387f7,_0x2479f2[_0x19a30c([0x6d,0x6f,0x64,0x65,0x6c])][_0x19a30c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3387f7,_0x2479f2[_0x19a30c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x19a30c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x157a5c(){return window[_0x19a30c([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1b7623(_0x9e079b){const _0x36637a=_0x38ef88();_0x2479f2[_0x36637a]=_0x19a30c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x9e079b,_0x9e079b!=_0x19a30c([0x56,0x61,0x6c,0x69,0x64])&&_0x398c79();}function _0x38ef88(){const _0x2491ae=window[_0x19a30c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x19a30c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x19a30c([0x6e,0x6f,0x77])]())[_0x19a30c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x19a30c([0x2e]),'');let _0x159c31=_0x19a30c([0x4f]);for(let _0x495070=0x0;_0x495070<_0x2491ae[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x495070+=0x2){let _0x58c0ba=window[_0x19a30c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2491ae[_0x19a30c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x495070,_0x495070+0x2));_0x58c0ba>=_0x3a75ec[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58c0ba-=_0x3a75ec[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x159c31+=_0x3a75ec[_0x58c0ba];}return _0x159c31;}function _0x133d50(){const _0x11b9fb=_0x47592b[_0x19a30c([0x73,0x70,0x6c,0x69,0x74])](_0x19a30c([0x2e]));if(0x3!=_0x11b9fb[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x213863(_0x11b9fb[0x1]);function _0x213863(_0x1278d8){const _0x43b147=_0x49de91(_0x1278d8);return _0x43b147&&_0x4a82e3()?_0x43b147:null;function _0x4a82e3(){const _0x1df8c3=_0x43b147[_0x19a30c([0x6a,0x74,0x69])],_0x490e93=window[_0x19a30c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1df8c3[_0x19a30c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1df8c3[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f7833={..._0x43b147,[_0x19a30c([0x6a,0x74,0x69])]:_0x1df8c3[_0x19a30c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1df8c3[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f7833[_0x19a30c([0x76,0x63])],_0x53b28d(_0x1f7833)==_0x490e93;}}}async function _0x5251d6(){let _0x234426=!0x0;try{const _0x1657b8=_0x47592b[_0x19a30c([0x73,0x70,0x6c,0x69,0x74])](_0x19a30c([0x2e])),[_0xf88f42,_0x2b8558,_0x3c682c]=_0x1657b8;return _0x39a5bd(_0xf88f42),await _0x312915(_0xf88f42,_0x2b8558,_0x3c682c),_0x234426;}catch{return!0x1;}function _0x39a5bd(_0x8f8059){const _0x5fb478=_0x49de91(_0x8f8059);_0x5fb478&&_0x5fb478[_0x19a30c([0x61,0x6c,0x67])]==_0x19a30c([0x45,0x53,0x32,0x35,0x36])||(_0x234426=!0x1);}async function _0x312915(_0x116ca9,_0x35618d,_0x1fe998){const _0x3d2b53=window[_0x19a30c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x19a30c([0x66,0x72,0x6f,0x6d])](_0x471733(_0x1fe998),_0xeede93=>_0xeede93[_0x19a30c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x228126=new window[(_0x19a30c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x19a30c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x116ca9+_0x19a30c([0x2e])+_0x35618d),_0x123cf2=window[_0x19a30c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x19a30c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x123cf2)return;const _0x42fa7c=await _0x123cf2[_0x19a30c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x19a30c([0x6a,0x77,0x6b]),_0x5a979c,{[_0x19a30c([0x6e,0x61,0x6d,0x65])]:_0x19a30c([0x45,0x43,0x44,0x53,0x41]),[_0x19a30c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x19a30c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x19a30c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x123cf2[_0x19a30c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x19a30c([0x6e,0x61,0x6d,0x65])]:_0x19a30c([0x45,0x43,0x44,0x53,0x41]),[_0x19a30c([0x68,0x61,0x73,0x68])]:{[_0x19a30c([0x6e,0x61,0x6d,0x65])]:_0x19a30c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x42fa7c,_0x3d2b53,_0x228126)||(_0x234426=!0x1);}}function _0x49de91(_0x1713b3){return _0x1713b3[_0x19a30c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x19a30c([0x65,0x79]))?JSON[_0x19a30c([0x70,0x61,0x72,0x73,0x65])](_0x471733(_0x1713b3)):null;}function _0x471733(_0x3db4c6){return window[_0x19a30c([0x61,0x74,0x6f,0x62])](_0x3db4c6[_0x19a30c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x19a30c([0x2b]))[_0x19a30c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x19a30c([0x2f])));}function _0x53b28d(_0x31eae6){let _0x490946=0x1505;function _0x8becf7(_0xc1c8b2){for(let _0x10b67a=0x0;_0x10b67a<_0xc1c8b2[_0x19a30c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10b67a++){const _0x71229=_0xc1c8b2[_0x19a30c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10b67a);_0x490946=(_0x490946<<0x5)+_0x490946+_0x71229,_0x490946&=_0x490946;}}function _0x51cbfc(_0x5ca6c7){Array[_0x19a30c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ca6c7)?_0x5ca6c7[_0x19a30c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51cbfc):_0x5ca6c7&&typeof _0x5ca6c7==_0x19a30c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x19a30c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ca6c7)[_0x19a30c([0x73,0x6f,0x72,0x74])]()[_0x19a30c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1fa71f,_0x393228])=>{_0x8becf7(_0x1fa71f),_0x51cbfc(_0x393228);}):_0x8becf7(window[_0x19a30c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ca6c7));}return _0x51cbfc(_0x31eae6),_0x490946>>>0x0;}function _0x4ee275(_0x5d5666){return _0x5d5666[_0x19a30c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x19a30c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x19a30c([0x30]));}function _0x909d0d(_0x39fa90){return _0x39fa90[_0x19a30c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x19a30c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x19a30c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3387f7(){}function _0x19a30c(_0x3df4f8){return _0x3df4f8['map'](_0x44300a=>String['fromCharCode'](_0x44300a))['join']('');}_0x1b7623(await _0x28f37b());}(this);}['_createTemplateListView'](_0x63a662,_0x212565){const {editor:_0x36d0d5}=this,_0x21404b=new y(_0x63a662);return _0x21404b['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x21404b['items']['addMany'](_0x212565['map']((_0x9e1ca6,_0x186522)=>{const _0x3cd755=new b(_0x63a662,_0x186522),_0x178de9=new h(_0x63a662,_0x9e1ca6);return _0x3cd755['buttonView']=_0x178de9,_0x3cd755['children']['add'](_0x178de9),_0x3cd755['buttonView']['on']('execute',_0x14aa12=>{_0x36d0d5['execute']('insertTemplate',_0x14aa12['source']['templateDefinition']['data']),_0x36d0d5['editing']['view']['focus']();}),_0x3cd755;})),_0x21404b;}}class K extends _0x4d8b35{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K 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": "46.0.2-alpha.1",
3
+ "version": "46.0.2",
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": "46.0.2-alpha.1",
26
- "@ckeditor/ckeditor5-icons": "46.0.2-alpha.1",
27
- "@ckeditor/ckeditor5-ui": "46.0.2-alpha.1",
28
- "@ckeditor/ckeditor5-utils": "46.0.2-alpha.1",
29
- "ckeditor5": "46.0.2-alpha.1"
25
+ "@ckeditor/ckeditor5-core": "46.0.2",
26
+ "@ckeditor/ckeditor5-icons": "46.0.2",
27
+ "@ckeditor/ckeditor5-ui": "46.0.2",
28
+ "@ckeditor/ckeditor5-utils": "46.0.2",
29
+ "ckeditor5": "46.0.2"
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 _0x3d7163=_0x3e17;(function(_0x4d0678,_0x4f1cce){const _0x54f9ef=_0x3e17,_0x5e6698=_0x4d0678();while(!![]){try{const _0x23eec9=parseInt(_0x54f9ef(0x138))/0x1+parseInt(_0x54f9ef(0x132))/0x2+parseInt(_0x54f9ef(0x12c))/0x3+-parseInt(_0x54f9ef(0x110))/0x4+-parseInt(_0x54f9ef(0x130))/0x5*(-parseInt(_0x54f9ef(0x13d))/0x6)+-parseInt(_0x54f9ef(0x143))/0x7+-parseInt(_0x54f9ef(0x125))/0x8*(parseInt(_0x54f9ef(0x134))/0x9);if(_0x23eec9===_0x4f1cce)break;else _0x5e6698['push'](_0x5e6698['shift']());}catch(_0x21c7a){_0x5e6698['push'](_0x5e6698['shift']());}}}(_0x2487,0x52848));import{Plugin as _0x3ebbf9}from'ckeditor5/src/core.js';import{IconTemplate as _0x2bfcf7,IconTemplateGeneric as _0x4bf777}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x29fd20,MenuBarMenuListItemView as _0x4362e5,MenuBarMenuListView as _0x4b0341,MenuBarMenuView as _0xfdf483,SearchTextView as _0x49731d,createDropdown as _0x16ac8f}from'ckeditor5/src/ui.js';import{uid as _0x7e8fc5}from'ckeditor5/src/utils.js';function _0x2487(){const _0x4fe016=['execute','join','Insert\x20template','bind','Template','delegate','init','ck-template-list','401256buTbRL','%0\x20templates\x20found','addMany','source','announce','pluginName','icon','get','focus','afterInit','editing','componentFactory','length','isOfficialPlugin','commands','panelView','isEnabled','buttonView','insertTemplate','items','ck-template-form','2229928LLGWXt','extendTemplate','TemplateUI','isPremiumPlugin','templateDefinition','No\x20templates\x20available.','menuBar:insertTemplate','1207749OHbJJX','map','query','search','10VgIfAr','resultsCount','334708fRrAHo','ariaLiveAnnouncer','9BUgXhI','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','add','template.definitions','321164lTkjCI','view','data','reset','Search\x20template','97176rlnPwN','set','href','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','_createTemplateListView','listbox','1445122KSzKwr','ck-template-button','children','config','title','fromCharCode','change:isOpen'];_0x2487=function(){return _0x4fe016;};return _0x2487();}import{TemplateListView as _0x1e2a01}from'./ui/templatelistview.js';import{TemplateListItemView as _0x185d91}from'./ui/templatelistitemview.js';function _0x3e17(_0x1a5f71,_0x936ebb){const _0x24872b=_0x2487();return _0x3e17=function(_0x3e1731,_0x55c515){_0x3e1731=_0x3e1731-0x10f;let _0x34a04e=_0x24872b[_0x3e1731];return _0x34a04e;},_0x3e17(_0x1a5f71,_0x936ebb);}import{TemplateListButtonView as _0x5e1253}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x18e3de}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x3ebbf9{static get[_0x3d7163(0x115)](){const _0x333aa3=_0x3d7163;return _0x333aa3(0x127);}static get[_0x3d7163(0x11d)](){return!0x0;}static get[_0x3d7163(0x128)](){return!0x0;}[_0x3d7163(0x150)](){const _0x4c54ba=_0x3d7163,{editor:_0x5c8341}=this,_0x358dab=_0x5c8341[_0x4c54ba(0x146)][_0x4c54ba(0x117)](_0x4c54ba(0x137))||[];_0x5c8341['ui'][_0x4c54ba(0x11b)][_0x4c54ba(0x136)](_0x4c54ba(0x122),_0x2ae857=>{const _0x5b52e6=_0x4c54ba,_0xd108e8=_0x16ac8f(_0x2ae857),_0x4db1a7=this[_0x5b52e6(0x141)](_0x2ae857,_0x358dab),_0x232d70=new _0x49731d(_0x2ae857,{'filteredView':_0x4db1a7,'queryView':{'label':_0x18e3de(_0x2ae857,_0x5b52e6(0x13c))},'class':_0x5b52e6(0x124),'infoView':{'text':{'notFound':{'primary':_0x28bcfb=>_0x18e3de(_0x2ae857,_0x5b52e6(0x140),_0x28bcfb),'secondary':_0x18e3de(_0x2ae857,_0x5b52e6(0x135))},'noSearchableItems':{'primary':_0x18e3de(_0x2ae857,_0x5b52e6(0x12a))}}}}),_0x58f824=_0x5c8341[_0x5b52e6(0x11e)][_0x5b52e6(0x117)](_0x5b52e6(0x122));return _0x232d70['on'](_0x5b52e6(0x12f),(_0x11d917,_0x4a22fb)=>{const _0x3040c5=_0x5b52e6;_0x4a22fb[_0x3040c5(0x12e)]&&_0x4a22fb[_0x3040c5(0x12e)][_0x3040c5(0x11c)]&&_0x5c8341['ui'][_0x3040c5(0x133)][_0x3040c5(0x114)](_0x18e3de(_0x2ae857,_0x3040c5(0x111),_0x4a22fb[_0x3040c5(0x131)]));}),_0xd108e8[_0x5b52e6(0x14d)](_0x5b52e6(0x120))['to'](_0x58f824),_0xd108e8[_0x5b52e6(0x11f)][_0x5b52e6(0x145)][_0x5b52e6(0x136)](_0x232d70),_0xd108e8[_0x5b52e6(0x121)][_0x5b52e6(0x13e)]({'label':_0x18e3de(_0x2ae857,_0x5b52e6(0x14c)),'icon':_0x2bfcf7,'tooltip':!0x0}),_0xd108e8['on'](_0x5b52e6(0x149),(_0x574a40,_0x44fe2a,_0x542277)=>{const _0x127564=_0x5b52e6;_0x542277||_0x232d70[_0x127564(0x13b)]();}),_0xd108e8;}),_0x5c8341['ui'][_0x4c54ba(0x11b)][_0x4c54ba(0x136)](_0x4c54ba(0x12b),_0x12d1a9=>{const _0x17c44a=_0x4c54ba,_0x205d5c=_0x5c8341[_0x17c44a(0x11e)][_0x17c44a(0x117)](_0x17c44a(0x122)),_0x4dd2b8=new _0xfdf483(_0x12d1a9);_0x4dd2b8[_0x17c44a(0x121)][_0x17c44a(0x13e)]({'label':_0x18e3de(_0x12d1a9,_0x17c44a(0x14e)),'icon':_0x2bfcf7});const _0x3f37a1=new _0x4b0341(_0x12d1a9);if(!_0x358dab||!_0x358dab[_0x17c44a(0x11c)]){const _0x8dc7e1=new _0x4362e5(_0x12d1a9,_0x4dd2b8),_0x1c312d=new _0x29fd20(_0x12d1a9);_0x1c312d[_0x17c44a(0x13e)]({'label':_0x18e3de(_0x12d1a9,_0x17c44a(0x12a))}),_0x1c312d[_0x17c44a(0x14f)](_0x17c44a(0x14a))['to'](_0x4dd2b8),_0x1c312d['on'](_0x17c44a(0x14a),()=>{const _0x2d298e=_0x17c44a;_0x5c8341[_0x2d298e(0x11a)][_0x2d298e(0x139)][_0x2d298e(0x118)]();}),_0x8dc7e1[_0x17c44a(0x145)][_0x17c44a(0x136)](_0x1c312d),_0x3f37a1[_0x17c44a(0x123)][_0x17c44a(0x136)](_0x8dc7e1);}for(const _0x504b0b of _0x358dab){const _0x59c51=new _0x4362e5(_0x12d1a9,_0x4dd2b8),_0x39c921=new _0x29fd20(_0x12d1a9);_0x39c921[_0x17c44a(0x13e)]({'class':_0x17c44a(0x144),'label':_0x504b0b[_0x17c44a(0x147)],'icon':_0x504b0b[_0x17c44a(0x116)]||_0x4bf777}),_0x39c921[_0x17c44a(0x14f)](_0x17c44a(0x14a))['to'](_0x4dd2b8),_0x39c921['on'](_0x17c44a(0x14a),()=>{const _0x555960=_0x17c44a;_0x5c8341[_0x555960(0x14a)](_0x555960(0x122),_0x504b0b[_0x555960(0x13a)]),_0x5c8341[_0x555960(0x11a)][_0x555960(0x139)][_0x555960(0x118)]();}),_0x59c51[_0x17c44a(0x145)][_0x17c44a(0x136)](_0x39c921),_0x3f37a1[_0x17c44a(0x123)][_0x17c44a(0x136)](_0x59c51);}return _0x4dd2b8[_0x17c44a(0x11f)][_0x17c44a(0x145)][_0x17c44a(0x136)](_0x3f37a1),_0x4dd2b8[_0x17c44a(0x14d)](_0x17c44a(0x120))['to'](_0x205d5c,_0x17c44a(0x120)),_0x4dd2b8;});}[_0x3d7163(0x119)](){!async function(_0x3c18cf){const _0x5b7f5e=_0x3fb902([0x74,0x48,0x69,0x57,0x73,0x45,0x75,0x42,0x35,0x70,0x4a,0x52,0x37,0x65,0x4c,0x4b,0x43,0x4e,0x34,0x31,0x32,0x51,0x39,0x6b,0x6d,0x77,0x78,0x79,0x63,0x59,0x76,0x6f,0x56,0x4d,0x41,0x7a,0x58,0x30,0x67,0x72,0x5a,0x62,0x49,0x68,0x6c,0x38,0x46,0x54,0x6e,0x6a,0x61,0x4f,0x50,0x53,0x36,0x33,0x44,0x55,0x66,0x64,0x71,0x47]),_0x28a3bc=0x29b0c6fd,_0x10deff=0x29b7b615^_0x28a3bc,_0x4dd94a=window[_0x3fb902([0x44,0x61,0x74,0x65])][_0x3fb902([0x6e,0x6f,0x77])](),_0x4ee726=_0x3c18cf[_0x3fb902([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45c808=new window[(_0x3fb902([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dbcba=>{_0x4ee726[_0x3fb902([0x6f,0x6e,0x63,0x65])](_0x3fb902([0x72,0x65,0x61,0x64,0x79]),_0x3dbcba);}),_0x21f3b={[_0x3fb902([0x6b,0x74,0x79])]:_0x3fb902([0x45,0x43]),[_0x3fb902([0x75,0x73,0x65])]:_0x3fb902([0x73,0x69,0x67]),[_0x3fb902([0x63,0x72,0x76])]:_0x3fb902([0x50,0x2d,0x32,0x35,0x36]),[_0x3fb902([0x78])]:_0x3fb902([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]),[_0x3fb902([0x79])]:_0x3fb902([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]),[_0x3fb902([0x61,0x6c,0x67])]:_0x3fb902([0x45,0x53,0x32,0x35,0x36])},_0x337d4a=_0x4ee726[_0x3fb902([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fb902([0x67,0x65,0x74])](_0x3fb902([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f64bd(){let _0x2fe393,_0x2b1955=null,_0x590529=null;try{if(_0x337d4a==_0x3fb902([0x47,0x50,0x4c]))return _0x3fb902([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2fe393=_0x177244(),!_0x2fe393)return _0x3fb902([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2fe393[_0x3fb902([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x590529=_0x1ad9b2(_0x2fe393[_0x3fb902([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2fe393[_0x3fb902([0x6a,0x74,0x69])])),await _0x28efc9()?_0x3686c4()?_0x17dce3()?_0x3fb902([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4786c4()?(_0x2fe393[_0x3fb902([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fb902([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b1955=_0x22bec3(_0x3fb902([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2fe393[_0x3fb902([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fb902([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b1955=_0x22bec3(_0x3fb902([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x43e101()):_0x3fb902([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fb902([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fb902([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fb902([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x17dce3(){const _0x323aa9=[_0x3fb902([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fb902([0x74,0x72,0x69,0x61,0x6c])][_0x3fb902([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe393[_0x3fb902([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4dd94a/0x3e8:0xe10*_0x10deff;return _0x2fe393[_0x3fb902([0x65,0x78,0x70])]<_0x323aa9;}function _0x3686c4(){const _0xddd272=_0x2fe393[_0x3fb902([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xddd272&&(!!_0xddd272[_0x3fb902([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb902([0x2a]))||(!!_0xddd272[_0x3fb902([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb902([0x54,0x50,0x4c]))||(!!_0xddd272[_0x3fb902([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb902([0x50,0x50]))||!(!_0xddd272[_0x3fb902([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb902([0x44,0x52,0x55,0x50]))||!_0x596225()))));}function _0x4786c4(){const _0x242669=_0x3e17,_0x324204=_0x2fe393[_0x3fb902([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x324204||0x0==_0x324204[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdebacf}=new URL(window[_0x3fb902([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x242669(0x13f)]);if(_0x324204[_0x3fb902([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdebacf))return!0x0;const _0xae4290=_0xdebacf[_0x3fb902([0x73,0x70,0x6c,0x69,0x74])](_0x3fb902([0x2e]));return _0x324204[_0x3fb902([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbfdbd3=>_0xbfdbd3[_0x3fb902([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb902([0x2a])))[_0x3fb902([0x6d,0x61,0x70])](_0x47c17c=>_0x47c17c[_0x3fb902([0x73,0x70,0x6c,0x69,0x74])](_0x3fb902([0x2e])))[_0x3fb902([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d7a25=>_0x1d7a25[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xae4290[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fb902([0x6d,0x61,0x70])](_0x39719f=>Array(_0xae4290[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x39719f[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fb902([0x66,0x69,0x6c,0x6c])](_0x39719f[0x0]===_0x3fb902([0x2a])?_0x3fb902([0x2a]):'')[_0x3fb902([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x39719f))[_0x3fb902([0x73,0x6f,0x6d,0x65])](_0x50e33d=>_0xae4290[_0x3fb902([0x65,0x76,0x65,0x72,0x79])]((_0xdb5e62,_0x42161a)=>_0x50e33d[_0x42161a]===_0xdb5e62||_0x50e33d[_0x42161a]===_0x3fb902([0x2a])));}function _0x43e101(){return _0x2b1955&&_0x590529?new window[(_0x3fb902([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe70d01,_0x304c2b)=>{_0x2b1955[_0x3fb902([0x74,0x68,0x65,0x6e])](_0xe70d01,_0x304c2b),_0x590529[_0x3fb902([0x74,0x68,0x65,0x6e])](_0x26a820=>{_0x26a820!=_0x3fb902([0x56,0x61,0x6c,0x69,0x64])&&_0xe70d01(_0x26a820);},_0x304c2b);}):_0x2b1955||_0x590529||_0x3fb902([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ad9b2(_0x241d6c,_0x2142ae){return new window[(_0x3fb902([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x139189=>{if(_0x595560())return _0x139189(_0x3fb902([0x56,0x61,0x6c,0x69,0x64]));_0x56f802(),_0x4ee726[_0x3fb902([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fb902([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b11a1=!0x1;const _0x4d9b1d=_0x7e8fc5();function _0x271686(_0xf2ae97){return!!_0xf2ae97&&(typeof _0xf2ae97===_0x3fb902([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf2ae97===_0x3fb902([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf2ae97[_0x3fb902([0x74,0x68,0x65,0x6e])]===_0x3fb902([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf2ae97[_0x3fb902([0x63,0x61,0x74,0x63,0x68])]===_0x3fb902([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x197ef8(_0xbcbb72){_0x6e44e6(_0xbcbb72)[_0x3fb902([0x74,0x68,0x65,0x6e])](_0x3ea501=>{if(!_0x3ea501||_0x3ea501[_0x3fb902([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fb902([0x6f,0x6b]))return _0x3fb902([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16deb3(_0x46c3be(_0x4d9b1d+_0x2142ae))!=_0x3ea501[_0x3fb902([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fb902([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fb902([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fb902([0x74,0x68,0x65,0x6e])](_0x5ad495=>(_0x40b9a3(),_0x5ad495),()=>{const _0x51f986=_0x4a405b();return null==_0x51f986?(_0x40b9a3(),_0x3fb902([0x56,0x61,0x6c,0x69,0x64])):_0x3fb902(_0x4dd94a-_0x51f986>(0xdbc42fd^_0x28a3bc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fb902([0x74,0x68,0x65,0x6e])](_0x139189)[_0x3fb902([0x63,0x61,0x74,0x63,0x68])](()=>{_0x139189(_0x3fb902([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x238064=0x2986287d^_0x28a3bc;function _0x40b9a3(){const _0xd7a494=_0x3fb902([0x6c,0x6c,0x63,0x74,0x2d])+_0x16deb3(_0x46c3be(_0x241d6c)),_0x556679=_0x1944b2(_0x16deb3(window[_0x3fb902([0x4d,0x61,0x74,0x68])][_0x3fb902([0x63,0x65,0x69,0x6c])](_0x4dd94a/_0x238064)));window[_0x3fb902([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fb902([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd7a494,_0x556679);}function _0x4a405b(){const _0x361053=_0x3fb902([0x6c,0x6c,0x63,0x74,0x2d])+_0x16deb3(_0x46c3be(_0x241d6c)),_0x3c72fb=window[_0x3fb902([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fb902([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x361053);return _0x3c72fb?window[_0x3fb902([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1944b2(_0x3c72fb),0x10)*_0x238064:null;}function _0x6e44e6(_0x183786){return new window[(_0x3fb902([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26bdd3,_0x4d9eea)=>{_0x183786[_0x3fb902([0x74,0x68,0x65,0x6e])](_0x26bdd3,_0x4d9eea),window[_0x3fb902([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d9eea,0x29b1123d^_0x28a3bc);});}}_0x4ee726[_0x3fb902([0x6f,0x6e])](_0x3fb902([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x315c15,_0x2a6c0b)=>{if(_0x2a6c0b[0x0]!=_0x241d6c)return _0x139189(_0x3fb902([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a6c0b[0x1]={..._0x2a6c0b[0x1],[_0x3fb902([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d9b1d};},{[_0x3fb902([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fb902([0x68,0x69,0x67,0x68])}),_0x4ee726[_0x3fb902([0x6f,0x6e])](_0x3fb902([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x199cd5=>{_0x271686(_0x199cd5[_0x3fb902([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b11a1=!0x0,_0x197ef8(_0x199cd5[_0x3fb902([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fb902([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fb902([0x6c,0x6f,0x77])}),_0x45c808[_0x3fb902([0x74,0x68,0x65,0x6e])](()=>{_0x1b11a1||_0x139189(_0x3fb902([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x595560(){return _0x4ee726[_0x3fb902([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fb902([0x76,0x69,0x65,0x77])][_0x3fb902([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fb902([0x61,0x75,0x74,0x6f]);}function _0x56f802(){_0x4ee726[_0x3fb902([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fb902([0x76,0x69,0x65,0x77])][_0x3fb902([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fb902([0x61,0x75,0x74,0x6f]);}}function _0x22bec3(_0x5c5161){const _0x118f76=[new window[(_0x3fb902([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5af407=>setTimeout(_0x5af407,0x29b9f831^_0x28a3bc)),_0x45c808[_0x3fb902([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fb902([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59f1a0=>{let _0x171238=0x0;_0x4ee726[_0x3fb902([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb902([0x6f,0x6e])](_0x3fb902([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xddfa1a,_0x82413)=>{_0x82413[0x0][_0x3fb902([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x171238++,_0x171238==(0x29b0c705^_0x28a3bc)&&(_0x59f1a0(),_0xddfa1a[_0x3fb902([0x6f,0x66,0x66])]());});}))];return window[_0x3fb902([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fb902([0x72,0x61,0x63,0x65])](_0x118f76)[_0x3fb902([0x74,0x68,0x65,0x6e])](()=>_0x5c5161);}async function _0x4bc913(){await _0x45c808,_0x4ee726[_0x3fb902([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb902([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c869e,_0x4ee726[_0x3fb902([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb902([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c869e,_0x4ee726[_0x3fb902([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fb902([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x596225(){return window[_0x3fb902([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x2924de(_0x2c126b){const _0x528b3c=_0x56b8a9();_0x4ee726[_0x528b3c]=_0x3fb902([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c126b,_0x2c126b!=_0x3fb902([0x56,0x61,0x6c,0x69,0x64])&&_0x4bc913();}function _0x56b8a9(){const _0x1cd807=window[_0x3fb902([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fb902([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fb902([0x6e,0x6f,0x77])]())[_0x3fb902([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fb902([0x2e]),'');let _0x3a1298=_0x3fb902([0x74]);for(let _0x533b8e=0x0;_0x533b8e<_0x1cd807[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x533b8e+=0x2){let _0x2779f0=window[_0x3fb902([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cd807[_0x3fb902([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x533b8e,_0x533b8e+0x2));_0x2779f0>=_0x5b7f5e[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2779f0-=_0x5b7f5e[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a1298+=_0x5b7f5e[_0x2779f0];}return _0x3a1298;}function _0x177244(){const _0x16a4d3=_0x337d4a[_0x3fb902([0x73,0x70,0x6c,0x69,0x74])](_0x3fb902([0x2e]));if(0x3!=_0x16a4d3[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x564245(_0x16a4d3[0x1]);function _0x564245(_0x3bb802){const _0x59b424=_0x90fec4(_0x3bb802);return _0x59b424&&_0x594296()?_0x59b424:null;function _0x594296(){const _0x226947=_0x59b424[_0x3fb902([0x6a,0x74,0x69])],_0x3c6647=window[_0x3fb902([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x226947[_0x3fb902([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x226947[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31f8aa={..._0x59b424,[_0x3fb902([0x6a,0x74,0x69])]:_0x226947[_0x3fb902([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x226947[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31f8aa[_0x3fb902([0x76,0x63])],_0x46c3be(_0x31f8aa)==_0x3c6647;}}}async function _0x28efc9(){let _0x3a022d=!0x0;try{const _0x2a80db=_0x337d4a[_0x3fb902([0x73,0x70,0x6c,0x69,0x74])](_0x3fb902([0x2e])),[_0x35c41a,_0x45a550,_0x362fea]=_0x2a80db;return _0x567e2b(_0x35c41a),await _0x339555(_0x35c41a,_0x45a550,_0x362fea),_0x3a022d;}catch{return!0x1;}function _0x567e2b(_0x1ff602){const _0xf14519=_0x90fec4(_0x1ff602);_0xf14519&&_0xf14519[_0x3fb902([0x61,0x6c,0x67])]==_0x3fb902([0x45,0x53,0x32,0x35,0x36])||(_0x3a022d=!0x1);}async function _0x339555(_0x268d51,_0x4aba99,_0x3c6a13){const _0x2c47e9=window[_0x3fb902([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fb902([0x66,0x72,0x6f,0x6d])](_0x38a5fa(_0x3c6a13),_0x30c7cb=>_0x30c7cb[_0x3fb902([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2adb31=new window[(_0x3fb902([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fb902([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x268d51+_0x3fb902([0x2e])+_0x4aba99),_0x201ccc=window[_0x3fb902([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fb902([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x201ccc)return;const _0x30cdac=await _0x201ccc[_0x3fb902([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fb902([0x6a,0x77,0x6b]),_0x21f3b,{[_0x3fb902([0x6e,0x61,0x6d,0x65])]:_0x3fb902([0x45,0x43,0x44,0x53,0x41]),[_0x3fb902([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fb902([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fb902([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x201ccc[_0x3fb902([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fb902([0x6e,0x61,0x6d,0x65])]:_0x3fb902([0x45,0x43,0x44,0x53,0x41]),[_0x3fb902([0x68,0x61,0x73,0x68])]:{[_0x3fb902([0x6e,0x61,0x6d,0x65])]:_0x3fb902([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30cdac,_0x2c47e9,_0x2adb31)||(_0x3a022d=!0x1);}}function _0x90fec4(_0x1b9b15){return _0x1b9b15[_0x3fb902([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fb902([0x65,0x79]))?JSON[_0x3fb902([0x70,0x61,0x72,0x73,0x65])](_0x38a5fa(_0x1b9b15)):null;}function _0x38a5fa(_0x44e34e){return window[_0x3fb902([0x61,0x74,0x6f,0x62])](_0x44e34e[_0x3fb902([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fb902([0x2b]))[_0x3fb902([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fb902([0x2f])));}function _0x46c3be(_0x5e0813){let _0x49acfb=0x1505;function _0x4662f1(_0x293607){for(let _0x42b282=0x0;_0x42b282<_0x293607[_0x3fb902([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42b282++){const _0x4e76e4=_0x293607[_0x3fb902([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42b282);_0x49acfb=(_0x49acfb<<0x5)+_0x49acfb+_0x4e76e4,_0x49acfb&=_0x49acfb;}}function _0x5dd8c7(_0x4456bc){Array[_0x3fb902([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4456bc)?_0x4456bc[_0x3fb902([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5dd8c7):_0x4456bc&&typeof _0x4456bc==_0x3fb902([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fb902([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4456bc)[_0x3fb902([0x73,0x6f,0x72,0x74])]()[_0x3fb902([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2262b0,_0x1e7ea4])=>{_0x4662f1(_0x2262b0),_0x5dd8c7(_0x1e7ea4);}):_0x4662f1(window[_0x3fb902([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4456bc));}return _0x5dd8c7(_0x5e0813),_0x49acfb>>>0x0;}function _0x16deb3(_0x8279b5){return _0x8279b5[_0x3fb902([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fb902([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fb902([0x30]));}function _0x1944b2(_0x3d2b56){return _0x3d2b56[_0x3fb902([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fb902([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fb902([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c869e(){}function _0x3fb902(_0x1ebbe9){const _0x578146=_0x3e17;return _0x1ebbe9[_0x578146(0x12d)](_0x1406ac=>String[_0x578146(0x148)](_0x1406ac))[_0x578146(0x14b)]('');}_0x2924de(await _0x1f64bd());}(this);}[_0x3d7163(0x141)](_0x30622a,_0x29cf94){const _0x4269f9=_0x3d7163,{editor:_0x19a0b8}=this,_0x1a937e=new _0x1e2a01(_0x30622a);return _0x1a937e[_0x4269f9(0x126)]({'attributes':{'role':_0x4269f9(0x142),'class':[_0x4269f9(0x10f)]}}),_0x1a937e[_0x4269f9(0x123)][_0x4269f9(0x112)](_0x29cf94[_0x4269f9(0x12d)]((_0xa9e042,_0x47a6d4)=>{const _0x4926af=_0x4269f9,_0x3304da=new _0x185d91(_0x30622a,_0x47a6d4),_0x33baa3=new _0x5e1253(_0x30622a,_0xa9e042);return _0x3304da[_0x4926af(0x121)]=_0x33baa3,_0x3304da[_0x4926af(0x145)][_0x4926af(0x136)](_0x33baa3),_0x3304da[_0x4926af(0x121)]['on'](_0x4926af(0x14a),_0x5c93c8=>{const _0x53176f=_0x4926af;_0x19a0b8[_0x53176f(0x14a)](_0x53176f(0x122),_0x5c93c8[_0x53176f(0x113)][_0x53176f(0x129)][_0x53176f(0x13a)]),_0x19a0b8[_0x53176f(0x11a)][_0x53176f(0x139)][_0x53176f(0x118)]();}),_0x3304da;})),_0x1a937e;}}
23
+ const _0x1447a4=_0x4682;function _0x4682(_0x79abf4,_0xb8c45f){const _0x45fa7a=_0x45fa();return _0x4682=function(_0x4682d0,_0x215d4d){_0x4682d0=_0x4682d0-0xca;let _0x3276c4=_0x45fa7a[_0x4682d0];return _0x3276c4;},_0x4682(_0x79abf4,_0xb8c45f);}(function(_0x2599d4,_0x468004){const _0x26da21=_0x4682,_0x5f209a=_0x2599d4();while(!![]){try{const _0x5bacc9=-parseInt(_0x26da21(0xe6))/0x1+parseInt(_0x26da21(0x105))/0x2*(parseInt(_0x26da21(0xea))/0x3)+parseInt(_0x26da21(0xcb))/0x4*(parseInt(_0x26da21(0xd3))/0x5)+parseInt(_0x26da21(0xf7))/0x6+parseInt(_0x26da21(0xda))/0x7+-parseInt(_0x26da21(0xdb))/0x8+parseInt(_0x26da21(0xde))/0x9;if(_0x5bacc9===_0x468004)break;else _0x5f209a['push'](_0x5f209a['shift']());}catch(_0x132d61){_0x5f209a['push'](_0x5f209a['shift']());}}}(_0x45fa,0x1db7b));import{Plugin as _0x3d1356}from'ckeditor5/src/core.js';import{IconTemplate as _0x322d19,IconTemplateGeneric as _0x296f4d}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x2384db,MenuBarMenuListItemView as _0xf6d7ad,MenuBarMenuListView as _0x47ee5d,MenuBarMenuView as _0x503447,SearchTextView as _0x70613b,createDropdown as _0x185061}from'ckeditor5/src/ui.js';import{uid as _0x43e083}from'ckeditor5/src/utils.js';import{TemplateListView as _0x2660c8}from'./ui/templatelistview.js';import{TemplateListItemView as _0x4eef04}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0xe4c591}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x366080}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x3d1356{static get[_0x1447a4(0xf3)](){const _0x1a33db=_0x1447a4;return _0x1a33db(0xf6);}static get[_0x1447a4(0x104)](){return!0x0;}static get[_0x1447a4(0xf5)](){return!0x0;}[_0x1447a4(0xe3)](){const _0xf6f6a4=_0x1447a4,{editor:_0x186549}=this,_0x180f57=_0x186549[_0xf6f6a4(0xcc)][_0xf6f6a4(0xdf)](_0xf6f6a4(0xf1))||[];_0x186549['ui'][_0xf6f6a4(0xe9)][_0xf6f6a4(0x100)](_0xf6f6a4(0xdc),_0x47026f=>{const _0x56c0b6=_0xf6f6a4,_0x4d3182=_0x185061(_0x47026f),_0x5101cc=this[_0x56c0b6(0xd7)](_0x47026f,_0x180f57),_0x44f991=new _0x70613b(_0x47026f,{'filteredView':_0x5101cc,'queryView':{'label':_0x366080(_0x47026f,_0x56c0b6(0xd1))},'class':_0x56c0b6(0xe8),'infoView':{'text':{'notFound':{'primary':_0x34d9f8=>_0x366080(_0x47026f,_0x56c0b6(0xd4),_0x34d9f8),'secondary':_0x366080(_0x47026f,_0x56c0b6(0x101))},'noSearchableItems':{'primary':_0x366080(_0x47026f,_0x56c0b6(0xdd))}}}}),_0x56811c=_0x186549[_0x56c0b6(0xec)][_0x56c0b6(0xdf)](_0x56c0b6(0xdc));return _0x44f991['on'](_0x56c0b6(0xe4),(_0x1e72f3,_0x462be7)=>{const _0x11f722=_0x56c0b6;_0x462be7[_0x11f722(0xfc)]&&_0x462be7[_0x11f722(0xfc)][_0x11f722(0xca)]&&_0x186549['ui'][_0x11f722(0xf8)][_0x11f722(0x109)](_0x366080(_0x47026f,_0x11f722(0xf4),_0x462be7[_0x11f722(0xe5)]));}),_0x4d3182[_0x56c0b6(0xd0)](_0x56c0b6(0xfb))['to'](_0x56811c),_0x4d3182[_0x56c0b6(0xcd)][_0x56c0b6(0xe7)][_0x56c0b6(0x100)](_0x44f991),_0x4d3182[_0x56c0b6(0xce)][_0x56c0b6(0x103)]({'label':_0x366080(_0x47026f,_0x56c0b6(0x108)),'icon':_0x322d19,'tooltip':!0x0}),_0x4d3182['on'](_0x56c0b6(0xfe),(_0x19729a,_0xddc38e,_0x194716)=>{const _0x130d9a=_0x56c0b6;_0x194716||_0x44f991[_0x130d9a(0xed)]();}),_0x4d3182;}),_0x186549['ui'][_0xf6f6a4(0xe9)][_0xf6f6a4(0x100)](_0xf6f6a4(0x106),_0x552f1b=>{const _0x1908ce=_0xf6f6a4,_0x16c4d5=_0x186549[_0x1908ce(0xec)][_0x1908ce(0xdf)](_0x1908ce(0xdc)),_0x4b1e87=new _0x503447(_0x552f1b);_0x4b1e87[_0x1908ce(0xce)][_0x1908ce(0x103)]({'label':_0x366080(_0x552f1b,_0x1908ce(0xff)),'icon':_0x322d19});const _0x2364f6=new _0x47ee5d(_0x552f1b);if(!_0x180f57||!_0x180f57[_0x1908ce(0xca)]){const _0x43442f=new _0xf6d7ad(_0x552f1b,_0x4b1e87),_0xe2011d=new _0x2384db(_0x552f1b);_0xe2011d[_0x1908ce(0x103)]({'label':_0x366080(_0x552f1b,_0x1908ce(0xdd))}),_0xe2011d[_0x1908ce(0xf0)](_0x1908ce(0xd2))['to'](_0x4b1e87),_0xe2011d['on'](_0x1908ce(0xd2),()=>{const _0x14234b=_0x1908ce;_0x186549[_0x14234b(0x102)][_0x14234b(0x107)][_0x14234b(0xe2)]();}),_0x43442f[_0x1908ce(0xe7)][_0x1908ce(0x100)](_0xe2011d),_0x2364f6[_0x1908ce(0xd8)][_0x1908ce(0x100)](_0x43442f);}for(const _0x4617bb of _0x180f57){const _0x56c909=new _0xf6d7ad(_0x552f1b,_0x4b1e87),_0x4433fb=new _0x2384db(_0x552f1b);_0x4433fb[_0x1908ce(0x103)]({'class':_0x1908ce(0xfa),'label':_0x4617bb[_0x1908ce(0xeb)],'icon':_0x4617bb[_0x1908ce(0xd9)]||_0x296f4d}),_0x4433fb[_0x1908ce(0xf0)](_0x1908ce(0xd2))['to'](_0x4b1e87),_0x4433fb['on'](_0x1908ce(0xd2),()=>{const _0x53a249=_0x1908ce;_0x186549[_0x53a249(0xd2)](_0x53a249(0xdc),_0x4617bb[_0x53a249(0xef)]),_0x186549[_0x53a249(0x102)][_0x53a249(0x107)][_0x53a249(0xe2)]();}),_0x56c909[_0x1908ce(0xe7)][_0x1908ce(0x100)](_0x4433fb),_0x2364f6[_0x1908ce(0xd8)][_0x1908ce(0x100)](_0x56c909);}return _0x4b1e87[_0x1908ce(0xcd)][_0x1908ce(0xe7)][_0x1908ce(0x100)](_0x2364f6),_0x4b1e87[_0x1908ce(0xd0)](_0x1908ce(0xfb))['to'](_0x16c4d5,_0x1908ce(0xfb)),_0x4b1e87;});}[_0x1447a4(0xe0)](){!async function(_0x41b124){const _0x5c8783=_0x4c5a4f([0x4f,0x30,0x31,0x4d,0x70,0x71,0x68,0x52,0x78,0x74,0x4a,0x4e,0x38,0x55,0x59,0x51,0x6f,0x33,0x39,0x50,0x42,0x4c,0x4b,0x43,0x65,0x37,0x46,0x34,0x67,0x61,0x45,0x36,0x7a,0x6d,0x48,0x6c,0x32,0x47,0x5a,0x75,0x64,0x41,0x73,0x6a,0x6e,0x79,0x58,0x6b,0x44,0x66,0x72,0x56,0x63,0x62,0x35,0x57,0x76,0x53,0x69,0x77,0x54,0x49]),_0x3f0a13=0x25b05162,_0x3a3219=0x25b7218a^_0x3f0a13,_0xa92d66=window[_0x4c5a4f([0x44,0x61,0x74,0x65])][_0x4c5a4f([0x6e,0x6f,0x77])](),_0x10ebd5=_0x41b124[_0x4c5a4f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ea8b8=new window[(_0x4c5a4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25a981=>{_0x10ebd5[_0x4c5a4f([0x6f,0x6e,0x63,0x65])](_0x4c5a4f([0x72,0x65,0x61,0x64,0x79]),_0x25a981);}),_0x361227={[_0x4c5a4f([0x6b,0x74,0x79])]:_0x4c5a4f([0x45,0x43]),[_0x4c5a4f([0x75,0x73,0x65])]:_0x4c5a4f([0x73,0x69,0x67]),[_0x4c5a4f([0x63,0x72,0x76])]:_0x4c5a4f([0x50,0x2d,0x32,0x35,0x36]),[_0x4c5a4f([0x78])]:_0x4c5a4f([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]),[_0x4c5a4f([0x79])]:_0x4c5a4f([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]),[_0x4c5a4f([0x61,0x6c,0x67])]:_0x4c5a4f([0x45,0x53,0x32,0x35,0x36])},_0x1b9de5=_0x10ebd5[_0x4c5a4f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c5a4f([0x67,0x65,0x74])](_0x4c5a4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x203302(){let _0x241d01,_0x342923=null,_0x59ebcb=null;try{if(_0x1b9de5==_0x4c5a4f([0x47,0x50,0x4c]))return _0x4c5a4f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x241d01=_0x335135(),!_0x241d01)return _0x4c5a4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x241d01[_0x4c5a4f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59ebcb=_0x37a4ed(_0x241d01[_0x4c5a4f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x241d01[_0x4c5a4f([0x6a,0x74,0x69])])),await _0x1c585d()?_0x7db031()?_0x1e6c50()?_0x4c5a4f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd47ef9()?(_0x241d01[_0x4c5a4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5a4f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x342923=_0x34d0ca(_0x4c5a4f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x241d01[_0x4c5a4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5a4f([0x74,0x72,0x69,0x61,0x6c])&&(_0x342923=_0x34d0ca(_0x4c5a4f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22232e()):_0x4c5a4f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5a4f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c5a4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c5a4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e6c50(){const _0x285351=[_0x4c5a4f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c5a4f([0x74,0x72,0x69,0x61,0x6c])][_0x4c5a4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x241d01[_0x4c5a4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa92d66/0x3e8:0xe10*_0x3a3219;return _0x241d01[_0x4c5a4f([0x65,0x78,0x70])]<_0x285351;}function _0x7db031(){const _0x1d4fb3=_0x241d01[_0x4c5a4f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d4fb3&&(!!_0x1d4fb3[_0x4c5a4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5a4f([0x2a]))||(!!_0x1d4fb3[_0x4c5a4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5a4f([0x54,0x50,0x4c]))||(!!_0x1d4fb3[_0x4c5a4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5a4f([0x50,0x50]))||!(!_0x1d4fb3[_0x4c5a4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5a4f([0x44,0x52,0x55,0x50]))||!_0x439ee8()))));}function _0xd47ef9(){const _0x4cd1ce=_0x4682,_0x42d7dd=_0x241d01[_0x4c5a4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42d7dd||0x0==_0x42d7dd[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x59e9d3}=new URL(window[_0x4c5a4f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4cd1ce(0xd5)]);if(_0x42d7dd[_0x4c5a4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e9d3))return!0x0;const _0x22514a=_0x59e9d3[_0x4c5a4f([0x73,0x70,0x6c,0x69,0x74])](_0x4c5a4f([0x2e]));return _0x42d7dd[_0x4c5a4f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a7c9c=>_0x4a7c9c[_0x4c5a4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5a4f([0x2a])))[_0x4c5a4f([0x6d,0x61,0x70])](_0x58e5ce=>_0x58e5ce[_0x4c5a4f([0x73,0x70,0x6c,0x69,0x74])](_0x4c5a4f([0x2e])))[_0x4c5a4f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16eb2e=>_0x16eb2e[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22514a[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c5a4f([0x6d,0x61,0x70])](_0x1cd676=>Array(_0x22514a[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1cd676[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c5a4f([0x66,0x69,0x6c,0x6c])](_0x1cd676[0x0]===_0x4c5a4f([0x2a])?_0x4c5a4f([0x2a]):'')[_0x4c5a4f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1cd676))[_0x4c5a4f([0x73,0x6f,0x6d,0x65])](_0x3960a9=>_0x22514a[_0x4c5a4f([0x65,0x76,0x65,0x72,0x79])]((_0x270e4d,_0x233bd7)=>_0x3960a9[_0x233bd7]===_0x270e4d||_0x3960a9[_0x233bd7]===_0x4c5a4f([0x2a])));}function _0x22232e(){return _0x342923&&_0x59ebcb?new window[(_0x4c5a4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5175b2,_0x22c561)=>{_0x342923[_0x4c5a4f([0x74,0x68,0x65,0x6e])](_0x5175b2,_0x22c561),_0x59ebcb[_0x4c5a4f([0x74,0x68,0x65,0x6e])](_0x3c0e6b=>{_0x3c0e6b!=_0x4c5a4f([0x56,0x61,0x6c,0x69,0x64])&&_0x5175b2(_0x3c0e6b);},_0x22c561);}):_0x342923||_0x59ebcb||_0x4c5a4f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37a4ed(_0x45136b,_0x51b01f){return new window[(_0x4c5a4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e9248=>{if(_0x94a282())return _0x2e9248(_0x4c5a4f([0x56,0x61,0x6c,0x69,0x64]));_0x593f72(),_0x10ebd5[_0x4c5a4f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c5a4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e66ac=!0x1;const _0x4c77e6=_0x43e083();function _0x53eb3c(_0xe6a4f8){return!!_0xe6a4f8&&(typeof _0xe6a4f8===_0x4c5a4f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe6a4f8===_0x4c5a4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe6a4f8[_0x4c5a4f([0x74,0x68,0x65,0x6e])]===_0x4c5a4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe6a4f8[_0x4c5a4f([0x63,0x61,0x74,0x63,0x68])]===_0x4c5a4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f07f8(_0x20dc5d){_0x5eb474(_0x20dc5d)[_0x4c5a4f([0x74,0x68,0x65,0x6e])](_0x120e28=>{if(!_0x120e28||_0x120e28[_0x4c5a4f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c5a4f([0x6f,0x6b]))return _0x4c5a4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d46cc(_0x430f5c(_0x4c77e6+_0x51b01f))!=_0x120e28[_0x4c5a4f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c5a4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5a4f([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5a4f([0x74,0x68,0x65,0x6e])](_0x59c44c=>(_0x33adeb(),_0x59c44c),()=>{const _0x180010=_0x2c212f();return null==_0x180010?(_0x33adeb(),_0x4c5a4f([0x56,0x61,0x6c,0x69,0x64])):_0x4c5a4f(_0xa92d66-_0x180010>(0x1bcd562^_0x3f0a13)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5a4f([0x74,0x68,0x65,0x6e])](_0x2e9248)[_0x4c5a4f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e9248(_0x4c5a4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58fa99=0x2586bfe2^_0x3f0a13;function _0x33adeb(){const _0x4581ff=_0x4c5a4f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d46cc(_0x430f5c(_0x45136b)),_0x4b7ac8=_0x4ae9d4(_0x1d46cc(window[_0x4c5a4f([0x4d,0x61,0x74,0x68])][_0x4c5a4f([0x63,0x65,0x69,0x6c])](_0xa92d66/_0x58fa99)));window[_0x4c5a4f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5a4f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4581ff,_0x4b7ac8);}function _0x2c212f(){const _0x26f240=_0x4c5a4f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d46cc(_0x430f5c(_0x45136b)),_0x550105=window[_0x4c5a4f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5a4f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26f240);return _0x550105?window[_0x4c5a4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ae9d4(_0x550105),0x10)*_0x58fa99:null;}function _0x5eb474(_0x4d669d){return new window[(_0x4c5a4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13d2c8,_0x23e4e7)=>{_0x4d669d[_0x4c5a4f([0x74,0x68,0x65,0x6e])](_0x13d2c8,_0x23e4e7),window[_0x4c5a4f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23e4e7,0x25b185a2^_0x3f0a13);});}}_0x10ebd5[_0x4c5a4f([0x6f,0x6e])](_0x4c5a4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51badc,_0x50a229)=>{if(_0x50a229[0x0]!=_0x45136b)return _0x2e9248(_0x4c5a4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50a229[0x1]={..._0x50a229[0x1],[_0x4c5a4f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c77e6};},{[_0x4c5a4f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5a4f([0x68,0x69,0x67,0x68])}),_0x10ebd5[_0x4c5a4f([0x6f,0x6e])](_0x4c5a4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x297f6f=>{_0x53eb3c(_0x297f6f[_0x4c5a4f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e66ac=!0x0,_0x2f07f8(_0x297f6f[_0x4c5a4f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c5a4f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5a4f([0x6c,0x6f,0x77])}),_0x1ea8b8[_0x4c5a4f([0x74,0x68,0x65,0x6e])](()=>{_0x4e66ac||_0x2e9248(_0x4c5a4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x94a282(){return _0x10ebd5[_0x4c5a4f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5a4f([0x76,0x69,0x65,0x77])][_0x4c5a4f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c5a4f([0x61,0x75,0x74,0x6f]);}function _0x593f72(){_0x10ebd5[_0x4c5a4f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5a4f([0x76,0x69,0x65,0x77])][_0x4c5a4f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c5a4f([0x61,0x75,0x74,0x6f]);}}function _0x34d0ca(_0x1054a3){const _0x4a2ea9=[new window[(_0x4c5a4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d6d00=>setTimeout(_0x5d6d00,0x25b96fae^_0x3f0a13)),_0x1ea8b8[_0x4c5a4f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c5a4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdf612c=>{let _0xd54ae4=0x0;_0x10ebd5[_0x4c5a4f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5a4f([0x6f,0x6e])](_0x4c5a4f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x173a32,_0x171c92)=>{_0x171c92[0x0][_0x4c5a4f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd54ae4++,_0xd54ae4==(0x25b0509a^_0x3f0a13)&&(_0xdf612c(),_0x173a32[_0x4c5a4f([0x6f,0x66,0x66])]());});}))];return window[_0x4c5a4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c5a4f([0x72,0x61,0x63,0x65])](_0x4a2ea9)[_0x4c5a4f([0x74,0x68,0x65,0x6e])](()=>_0x1054a3);}async function _0x127ae9(){await _0x1ea8b8,_0x10ebd5[_0x4c5a4f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5a4f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc94e00,_0x10ebd5[_0x4c5a4f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5a4f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc94e00,_0x10ebd5[_0x4c5a4f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c5a4f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x439ee8(){return window[_0x4c5a4f([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x463c0b(_0x22e34a){const _0x230179=_0x3bf8df();_0x10ebd5[_0x230179]=_0x4c5a4f([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22e34a,_0x22e34a!=_0x4c5a4f([0x56,0x61,0x6c,0x69,0x64])&&_0x127ae9();}function _0x3bf8df(){const _0x2ef9da=window[_0x4c5a4f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c5a4f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c5a4f([0x6e,0x6f,0x77])]())[_0x4c5a4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c5a4f([0x2e]),'');let _0x379b3b=_0x4c5a4f([0x4f]);for(let _0x1b79c9=0x0;_0x1b79c9<_0x2ef9da[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b79c9+=0x2){let _0x716248=window[_0x4c5a4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ef9da[_0x4c5a4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b79c9,_0x1b79c9+0x2));_0x716248>=_0x5c8783[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x716248-=_0x5c8783[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x379b3b+=_0x5c8783[_0x716248];}return _0x379b3b;}function _0x335135(){const _0x10b740=_0x1b9de5[_0x4c5a4f([0x73,0x70,0x6c,0x69,0x74])](_0x4c5a4f([0x2e]));if(0x3!=_0x10b740[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1175fe(_0x10b740[0x1]);function _0x1175fe(_0xb6ad15){const _0xbc4ff1=_0x332070(_0xb6ad15);return _0xbc4ff1&&_0x727919()?_0xbc4ff1:null;function _0x727919(){const _0x563a92=_0xbc4ff1[_0x4c5a4f([0x6a,0x74,0x69])],_0xc04898=window[_0x4c5a4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x563a92[_0x4c5a4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x563a92[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d107a={..._0xbc4ff1,[_0x4c5a4f([0x6a,0x74,0x69])]:_0x563a92[_0x4c5a4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x563a92[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d107a[_0x4c5a4f([0x76,0x63])],_0x430f5c(_0x1d107a)==_0xc04898;}}}async function _0x1c585d(){let _0x1b4a71=!0x0;try{const _0x148e89=_0x1b9de5[_0x4c5a4f([0x73,0x70,0x6c,0x69,0x74])](_0x4c5a4f([0x2e])),[_0x45be95,_0x2489ca,_0x2bf698]=_0x148e89;return _0x200984(_0x45be95),await _0x8a715a(_0x45be95,_0x2489ca,_0x2bf698),_0x1b4a71;}catch{return!0x1;}function _0x200984(_0x52ae05){const _0x3a8b3b=_0x332070(_0x52ae05);_0x3a8b3b&&_0x3a8b3b[_0x4c5a4f([0x61,0x6c,0x67])]==_0x4c5a4f([0x45,0x53,0x32,0x35,0x36])||(_0x1b4a71=!0x1);}async function _0x8a715a(_0x3e3662,_0x20127c,_0x488fd0){const _0x35e8a3=window[_0x4c5a4f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c5a4f([0x66,0x72,0x6f,0x6d])](_0x148869(_0x488fd0),_0x3cdd89=>_0x3cdd89[_0x4c5a4f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b564e=new window[(_0x4c5a4f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c5a4f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e3662+_0x4c5a4f([0x2e])+_0x20127c),_0x251359=window[_0x4c5a4f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c5a4f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x251359)return;const _0x4cc416=await _0x251359[_0x4c5a4f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c5a4f([0x6a,0x77,0x6b]),_0x361227,{[_0x4c5a4f([0x6e,0x61,0x6d,0x65])]:_0x4c5a4f([0x45,0x43,0x44,0x53,0x41]),[_0x4c5a4f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c5a4f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c5a4f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x251359[_0x4c5a4f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c5a4f([0x6e,0x61,0x6d,0x65])]:_0x4c5a4f([0x45,0x43,0x44,0x53,0x41]),[_0x4c5a4f([0x68,0x61,0x73,0x68])]:{[_0x4c5a4f([0x6e,0x61,0x6d,0x65])]:_0x4c5a4f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cc416,_0x35e8a3,_0x1b564e)||(_0x1b4a71=!0x1);}}function _0x332070(_0x28abfd){return _0x28abfd[_0x4c5a4f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c5a4f([0x65,0x79]))?JSON[_0x4c5a4f([0x70,0x61,0x72,0x73,0x65])](_0x148869(_0x28abfd)):null;}function _0x148869(_0x71d73e){return window[_0x4c5a4f([0x61,0x74,0x6f,0x62])](_0x71d73e[_0x4c5a4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c5a4f([0x2b]))[_0x4c5a4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c5a4f([0x2f])));}function _0x430f5c(_0x113638){let _0x4dce99=0x1505;function _0x275a37(_0x3aa6c6){for(let _0x31a5a1=0x0;_0x31a5a1<_0x3aa6c6[_0x4c5a4f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31a5a1++){const _0x806221=_0x3aa6c6[_0x4c5a4f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31a5a1);_0x4dce99=(_0x4dce99<<0x5)+_0x4dce99+_0x806221,_0x4dce99&=_0x4dce99;}}function _0x1c5869(_0x1ba778){Array[_0x4c5a4f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ba778)?_0x1ba778[_0x4c5a4f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c5869):_0x1ba778&&typeof _0x1ba778==_0x4c5a4f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c5a4f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ba778)[_0x4c5a4f([0x73,0x6f,0x72,0x74])]()[_0x4c5a4f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xdbfe48,_0x2ec653])=>{_0x275a37(_0xdbfe48),_0x1c5869(_0x2ec653);}):_0x275a37(window[_0x4c5a4f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ba778));}return _0x1c5869(_0x113638),_0x4dce99>>>0x0;}function _0x1d46cc(_0x595d60){return _0x595d60[_0x4c5a4f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c5a4f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c5a4f([0x30]));}function _0x4ae9d4(_0x572fb3){return _0x572fb3[_0x4c5a4f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c5a4f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c5a4f([0x6a,0x6f,0x69,0x6e])]('');}function _0xc94e00(){}function _0x4c5a4f(_0x426ab5){const _0x1f63ef=_0x4682;return _0x426ab5[_0x1f63ef(0x10b)](_0x2d1a85=>String[_0x1f63ef(0xee)](_0x2d1a85))[_0x1f63ef(0x10a)]('');}_0x463c0b(await _0x203302());}(this);}[_0x1447a4(0xd7)](_0x56ae4f,_0x48b361){const _0x2a5e57=_0x1447a4,{editor:_0x2c82cd}=this,_0x16a2ab=new _0x2660c8(_0x56ae4f);return _0x16a2ab[_0x2a5e57(0xf9)]({'attributes':{'role':_0x2a5e57(0xfd),'class':[_0x2a5e57(0xd6)]}}),_0x16a2ab[_0x2a5e57(0xd8)][_0x2a5e57(0xe1)](_0x48b361[_0x2a5e57(0x10b)]((_0x1edfe0,_0x205b83)=>{const _0x56ab42=_0x2a5e57,_0x33ce2c=new _0x4eef04(_0x56ae4f,_0x205b83),_0x532afc=new _0xe4c591(_0x56ae4f,_0x1edfe0);return _0x33ce2c[_0x56ab42(0xce)]=_0x532afc,_0x33ce2c[_0x56ab42(0xe7)][_0x56ab42(0x100)](_0x532afc),_0x33ce2c[_0x56ab42(0xce)]['on'](_0x56ab42(0xd2),_0x52784a=>{const _0x1c3ce4=_0x56ab42;_0x2c82cd[_0x1c3ce4(0xd2)](_0x1c3ce4(0xdc),_0x52784a[_0x1c3ce4(0xcf)][_0x1c3ce4(0xf2)][_0x1c3ce4(0xef)]),_0x2c82cd[_0x1c3ce4(0x102)][_0x1c3ce4(0x107)][_0x1c3ce4(0xe2)]();}),_0x33ce2c;})),_0x16a2ab;}}function _0x45fa(){const _0x2422ae=['listbox','change:isOpen','Template','add','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','editing','set','isOfficialPlugin','59384ZnuHea','menuBar:insertTemplate','view','Insert\x20template','announce','join','map','length','864628vHxZoJ','config','panelView','buttonView','source','bind','Search\x20template','execute','5ZcMRfl','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','href','ck-template-list','_createTemplateListView','items','icon','306250VjIBeg','1280928qbUbpD','insertTemplate','No\x20templates\x20available.','460386mduzfw','get','afterInit','addMany','focus','init','search','resultsCount','213885QxWaiy','children','ck-template-form','componentFactory','3rLIEgk','title','commands','reset','fromCharCode','data','delegate','template.definitions','templateDefinition','pluginName','%0\x20templates\x20found','isPremiumPlugin','TemplateUI','929826BpHLQY','ariaLiveAnnouncer','extendTemplate','ck-template-button','isEnabled','query'];_0x45fa=function(){return _0x2422ae;};return _0x45fa();}