@ckeditor/ckeditor5-template 0.0.0-nightly-20250806.0 → 0.0.0-nightly-20250807.0

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:()=>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:()=>q,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>R});var t=n(782);function e(){const t=["toModel","13998708MYERLI","11771955EfcBZq","htmlProcessor","1382321KaqbHp","236MHaTyp","string","8CPkmOX","18293gAXBYy","5910IjLdBm","editor","insertContent","6pQhzTd","5987058nNJcvj","data","function","change","1116OGqRPG","toView","execute","7890EGtFry","12095GqYmCZ"];return(e=function(){return t})()}const i=s;function s(t,n){const r=e();return(s=function(t,e){return r[t-=413]})(t,n)}!function(t){const e=s,n=t();for(;;)try{if(741159===parseInt(e(428))/1+-parseInt(e(419))/2*(parseInt(e(433))/3)+parseInt(e(429))/4*(parseInt(e(423))/5)+parseInt(e(414))/6*(-parseInt(e(415))/7)+-parseInt(e(431))/8*(parseInt(e(426))/9)+parseInt(e(422))/10*(parseInt(e(432))/11)+parseInt(e(425))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class a extends t.Command{[i(421)](t){const e=i,{model:n}=this[e(434)];let r;switch(typeof t){case e(430):r=t;break;case e(417):r=t()}e(430)==typeof r&&n[e(418)](()=>{const t=e,i=this[t(434)][t(416)][t(427)][t(420)](r),s=this[t(434)][t(416)][t(424)](i);n[t(413)](s)})}}const c=o;function o(t,e){const n=l();return(o=function(t,e){return n[t-=325]})(t,e)}function l(){const t=["8EgGTGd","2892869nEDwNX","trialLimit","1052090xNftTO","config","featureNotAllowed","templateLicenseKeyNotAllowed","init","templateLicenseKeyEvaluationLimit","_licenseKeyCheckInterval","_showLicenseError","templateLicenseKeyDomainLimit","11LXFssr","280432FcVhLC","templateLicenseKeyValid","editor","4pYzHui","templateLicenseKeyInvalid","add","usageLimit","commands","isOfficialPlugin","1873650kAukiS","evaluationLimit","pluginName","6UtbIUB","48984CXFofy","expired","destroy","get","domainLimit","isPremiumPlugin","insertTemplate","TemplateEditing","templateLicenseKeyExpired","templateLicenseKeyUsageLimit","607550MwpExb","invalid","templateLicenseKeyTrialLimit","4725837ZCSLue","Template","licenseKey"];return(l=function(){return t})()}!function(t){const e=o,n=t();for(;;)try{if(619001===parseInt(e(353))/1+-parseInt(e(366))/2+parseInt(e(362))/3*(parseInt(e(356))/4)+-parseInt(e(343))/5+-parseInt(e(365))/6*(-parseInt(e(341))/7)+-parseInt(e(340))/8*(parseInt(e(337))/9)+-parseInt(e(334))/10*(-parseInt(e(352))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[c(339)];[c(349)];static get[c(364)](){return c(331)}static get[c(361)](){return!0}static get[c(329)](){return!0}[c(347)](){const t=c,{editor:e}=this;e[t(360)][t(358)](t(330),new a(e)),this[t(339)]=this[t(355)][t(344)][t(327)](t(339));const n=this[t(355)];this[t(349)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(354)==s||e(357)==s||e(332)==s||e(351)==s||e(346)==s||e(348)==s||e(336)==s||e(333)==s){delete n[i],r=s,clearInterval(this[e(349)]),this[e(349)]=void 0;break}}e(357)==r&&n[e(350)](e(335)),e(332)==r&&n[e(350)](e(325)),e(351)==r&&n[e(350)](e(328)),e(346)==r&&n[e(350)](e(345),e(338)),e(348)==r&&n[e(350)](e(363)),e(336)==r&&n[e(350)](e(342)),e(333)==r&&n[e(350)](e(359))},1e3)}[c(326)](){const t=c;super[t(326)](),this[t(349)]&&clearInterval(this[t(349)])}}var p=n(355),f=n(311),d=n(584);const m=k;function h(){const t=["471745vFJeQb","map","length","69DsIbMY","448548ljhpYv","23724qKtbZR","items","10DdKbgK","16GHJvms","buttonView","isVisible","354xlbThY","size","originalIndex","_resetFiltering","2599992HzXjqe","1639XIMwDB","set","clear","467226VHmCyk","15044yJaTLR","highlightText","get","sort","forEach","title","addMany","filter","17983yUblkZ","isMatching"];return(h=function(){return t})()}function k(t,e){const n=h();return(k=function(t,e){return n[t-=247]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(236851===parseInt(e(252))/1+-parseInt(e(268))/2*(parseInt(e(251))/3)+-parseInt(e(256))/4*(-parseInt(e(248))/5)+parseInt(e(259))/6*(parseInt(e(276))/7)+-parseInt(e(263))/8+parseInt(e(267))/9*(parseInt(e(255))/10)+-parseInt(e(264))/11*(parseInt(e(253))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class w extends f.ListView{[m(275)](t){const e=m;if(!t)return this[e(262)]();const n=new Map,r=this[e(254)][e(249)](r=>{const i=e,s=r[i(257)][i(247)](t);return r[i(258)]=!!s,r[i(257)][i(269)](s?t:null),s&&n[i(265)](r,s),r})[e(271)](g)[e(271)]((i=n,function(t,e){const n=k,r=i[n(270)](t),s=i[n(270)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(273)]&&!s[n(273)]?-1:!r[n(273)]&&s[n(273)]?1:0:0}));var i;return this[e(254)][e(266)](),this[e(254)][e(274)](r),{resultsCount:n[e(260)],totalItemsCount:this[e(254)][e(250)]}}[m(262)](){const t=m,e=this[t(254)][t(249)](t=>t)[t(271)](g);return e[t(272)](e=>{const n=t;e[n(258)]=!0,e[n(257)][n(269)](null)}),this[t(254)][t(266)](),this[t(254)][t(274)](e),{resultsCount:e[t(250)],totalItemsCount:e[t(250)]}}}function g(t,e){const n=m;return t[n(261)]-e[n(261)]}var I=v;function v(t,e){var n=b();return(v=function(t,e){return n[t-=401]})(t,e)}function b(){var t=["8101064wTvNir","125136pXWmNT","212336LgdCtr","3TUzsfh","buttonView","18108vVmaVX","510550kpISpz","1429282RIsRGh","9FLFtIh","16109313XxmwhM","1603DcUDds","130hjgCfr","originalIndex"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(980685===-parseInt(e(401))/1+-parseInt(e(409))/2*(-parseInt(e(410))/3)+parseInt(e(408))/4*(-parseInt(e(405))/5)+parseInt(e(412))/6*(parseInt(e(404))/7)+parseInt(e(407))/8+-parseInt(e(402))/9*(parseInt(e(413))/10)+parseInt(e(403))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(406)];[I(411)];constructor(t,e){var n=I;super(t),this[n(406)]=e,this[n(411)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=280]})(t,e)}function T(){const t=["ck-template-button","set","957470hSoGjC","span","description","descriptionView","70130tRTYfQ","titleView","remove","1228341kkzMsP","1141FxQvYv","div","isColorInherited","6119712fzsvAV","1499990flVVxH","textPartView","43236CNvaGE","element","match","ck-template-form__description","9ZQGcty","destroy","setTemplate","labelView","locale","children","text","isMatching","6758521myklzx","option","highlightText","iconView","render","templateDefinition","add","ck-template-form__text-part","228ZKBNAC","ck-button__label","2eEGkMR","push","48ohayGc","extendTemplate","title"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(619562===-parseInt(e(287))/1+parseInt(e(280))/2*(parseInt(e(294))/3)+-parseInt(e(321))/4*(-parseInt(e(291))/5)+-parseInt(e(301))/6*(parseInt(e(295))/7)+-parseInt(e(298))/8+parseInt(e(305))/9*(-parseInt(e(299))/10)+parseInt(e(313))/11*(parseInt(e(282))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(318)];[x(300)];constructor(t,e){const n=x;super(t),this[n(318)]=e,this[n(300)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(286)]({withText:!0,class:n(285),role:n(314),icon:r}),this[n(316)][n(297)]=!1}[x(317)](){const t=x;super[t(317)](),this[t(300)]=new V(this[t(309)],this[t(318)],this[t(308)][t(302)].id),this[t(310)][t(293)](this[t(308)]),this[t(310)][t(319)](this[t(300)])}[x(306)](){const t=x;super[t(306)](),this[t(308)][t(306)]()}[x(312)](t){const e=x,{title:n,description:r}=this[e(318)],i=!!n[e(303)](t),s=!(!r||!r[e(303)](t));return i||s?{title:i,description:s}:null}[x(315)](t){const e=x;this[e(300)][e(315)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(284)]=e[r(284)],this[r(289)]=e[r(289)],this[r(292)]=new f.HighlightedTextView,this[r(292)][r(311)]=this[r(284)],this[r(292)][r(283)]({tag:r(288),attributes:{class:[r(322)],id:n}});const i=[this[r(292)]];this[r(289)]&&(this[r(290)]=new f.HighlightedTextView,this[r(290)][r(311)]=this[r(289)],this[r(290)][r(283)]({tag:"p",attributes:{class:[r(304)]}}),i[r(281)](this[r(290)])),this[r(307)]({tag:r(296),attributes:{class:["ck",r(320)]},children:i})}[x(315)](t){const e=x;this[e(292)][e(315)](t),this[e(289)]&&this[e(290)][e(315)](t)}}function C(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),N=n.n(M),S=n(545),P=n.n(S),E=n(262),j=n.n(E),O=n(667),A=n.n(O),K=n(357),B=n.n(K),z=n(175),G={attributes:{"data-cke":!0}};G.setAttributes=A(),G.insert=j().bind(null,"head"),G.domAPI=P(),G.insertStyleElement=B();N()(z.A,G);z.A&&z.A.locals&&z.A.locals;function F(t,e){const n=D();return(F=function(t,e){return n[t-=498]})(t,e)}const X=F;function D(){const t=["search","buttonView","template.definitions","join",'No templates were found matching "%0".',"Template","componentFactory","config","47924437akkVUd","add","children","editing","source","panelView","2zcXAIO","query","map","886812yvcNun","5156058ARSyvo","10ajSNji","href","title","pluginName","length","change:isOpen","focus","afterInit","addMany","isPremiumPlugin","menuBar:insertTemplate","fromCharCode","ck-template-form","14775640smVwbG","bind","17203392naKHvs","get","items","Search template","_createTemplateListView","isOfficialPlugin","resultsCount","set","Please try a different phrase or check the spelling.","%0 templates found","templateDefinition","No templates available.","extendTemplate","view","84eaCefr","data","init","delegate","reset","icon","Insert template","isEnabled","ariaLiveAnnouncer","18448MJkIUw","780hmgKxx","commands","announce","TemplateUI","listbox","ck-template-list","ck-template-button","insertTemplate","557769ufUXyT","execute"];return(D=function(){return t})()}!function(t){const e=F,n=t();for(;;)try{if(961627===-parseInt(e(527))/1*(parseInt(e(543))/2)+-parseInt(e(547))/3+parseInt(e(518))/4*(parseInt(e(519))/5)+-parseInt(e(546))/6*(parseInt(e(509))/7)+parseInt(e(561))/8+-parseInt(e(563))/9+-parseInt(e(548))/10*(-parseInt(e(537))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class R extends t.Plugin{static get[X(551)](){return X(522)}static get[X(500)](){return!0}static get[X(557)](){return!0}[X(511)](){const t=X,{editor:e}=this,n=e[t(536)][t(564)](t(531))||[];e.ui[t(535)][t(538)](t(526),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(499)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:C(r,i(498))},class:i(560),infoView:{text:{notFound:{primary:t=>C(r,i(533),t),secondary:C(r,i(503))},noSearchableItems:{primary:C(r,i(506))}}}}),o=e[i(520)][i(564)](i(526));return c.on(i(529),(t,n)=>{const s=i;n[s(544)]&&n[s(544)][s(552)]&&e.ui[s(517)][s(521)](C(r,s(504),n[s(501)]))}),s[i(562)](i(516)).to(o),s[i(542)][i(539)][i(538)](c),s[i(530)][i(502)]({label:C(r,i(515)),icon:p.IconTemplate,tooltip:!0}),s.on(i(553),(t,e,n)=>{n||c[i(513)]()}),s}),e.ui[t(535)][t(538)](t(558),r=>{const i=t,s=e[i(520)][i(564)](i(526)),a=new f.MenuBarMenuView(r);a[i(530)][i(502)]({label:C(r,i(534)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(552)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(502)]({label:C(r,i(506))}),n[i(512)](i(528)).to(a),n.on(i(528),()=>{const t=i;e[t(540)][t(508)][t(554)]()}),t[i(539)][i(538)](n),c[i(565)][i(538)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(502)]({class:i(525),label:t[i(550)],icon:t[i(514)]||p.IconTemplateGeneric}),s[i(512)](i(528)).to(a),s.on(i(528),()=>{const n=i;e[n(528)](n(526),t[n(510)]),e[n(540)][n(508)][n(554)]()}),n[i(539)][i(538)](s),c[i(565)][i(538)](n)}return a[i(542)][i(539)][i(538)](c),a[i(562)](i(516)).to(s,i(516)),a})}[X(555)](){!async function(t){const e=h([79,108,89,72,73,80,107,75,103,56,68,78,71,74,90,50,66,106,104,119,114,85,101,69,88,52,105,83,122,113,98,57,102,76,100,55,77,115,110,65,87,53,86,81,70,118,67,120,116,51,111,97,54,109,121,117,84,99,82,48,112,49]),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=F;return t[e(545)](t=>String[e(559)](t))[e(532)]("")}!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:1754438400;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(549)]);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)}[X(499)](t,e){const n=X,{editor:r}=this,i=new w(t);return i[n(507)]({attributes:{role:n(523),class:[n(524)]}}),i[n(565)][n(556)](e[n(545)]((e,i)=>{const s=n,a=new y(t,i),c=new L(t,e);return a[s(530)]=c,a[s(539)][s(538)](c),a[s(530)].on(s(528),t=>{const e=s;r[e(528)](e(526),t[e(541)][e(505)][e(510)]),r[e(540)][e(508)][e(554)]()}),a})),i}}var U=H;function H(t,e){var n=Y();return(H=function(t,e){return n[t-=307]})(t,e)}function Y(){var t=["isOfficialPlugin","6474727iwuoPq","1172720ObVfQY","Template","isPremiumPlugin","8UhieGY","372OmNMst","6636138toXWBX","28146520pfSvjS","13004depJfv","requires","9YQtJwX","491787qnbwbv","pluginName","205180isWtpC"];return(Y=function(){return t})()}!function(t){for(var e=H,n=t();;)try{if(563051===-parseInt(e(309))/1+parseInt(e(311))/2+-parseInt(e(318))/3*(-parseInt(e(321))/4)+-parseInt(e(314))/5+-parseInt(e(319))/6+-parseInt(e(313))/7*(parseInt(e(317))/8)+parseInt(e(308))/9*(parseInt(e(320))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class q extends t.Plugin{static get[U(307)](){return[u,R]}static get[U(310)](){return U(315)}static get[U(312)](){return!0}static get[U(316)](){return!0}}function J(t,e){var n=Z();return(J=function(t,e){return n[t-=383]})(t,e)}function Z(){var t=["15852kOGyFC","13761fNOOnH","96687KudySu","350rDMcyJ","7gPZVTV","2872802Uthctf","243744LvMeCc","195828jFwFkZ","8asNbLM","1205418xJIyKy","70YyuyJL","10651544jLaugC"];return(Z=function(){return t})()}!function(t){for(var e=J,n=t();;)try{if(740904===-parseInt(e(390))/1+-parseInt(e(388))/2+-parseInt(e(392))/3*(parseInt(e(391))/4)+-parseInt(e(393))/5*(-parseInt(e(389))/6)+-parseInt(e(387))/7*(-parseInt(e(394))/8)+parseInt(e(385))/9*(-parseInt(e(386))/10)+-parseInt(e(384))/11*(-parseInt(e(383))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z)})(),(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:()=>H,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>R});var t=n(782);function e(){const t=["toModel","13998708MYERLI","11771955EfcBZq","htmlProcessor","1382321KaqbHp","236MHaTyp","string","8CPkmOX","18293gAXBYy","5910IjLdBm","editor","insertContent","6pQhzTd","5987058nNJcvj","data","function","change","1116OGqRPG","toView","execute","7890EGtFry","12095GqYmCZ"];return(e=function(){return t})()}const i=s;function s(t,n){const r=e();return(s=function(t,e){return r[t-=413]})(t,n)}!function(t){const e=s,n=t();for(;;)try{if(741159===parseInt(e(428))/1+-parseInt(e(419))/2*(parseInt(e(433))/3)+parseInt(e(429))/4*(parseInt(e(423))/5)+parseInt(e(414))/6*(-parseInt(e(415))/7)+-parseInt(e(431))/8*(parseInt(e(426))/9)+parseInt(e(422))/10*(parseInt(e(432))/11)+parseInt(e(425))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class a extends t.Command{[i(421)](t){const e=i,{model:n}=this[e(434)];let r;switch(typeof t){case e(430):r=t;break;case e(417):r=t()}e(430)==typeof r&&n[e(418)](()=>{const t=e,i=this[t(434)][t(416)][t(427)][t(420)](r),s=this[t(434)][t(416)][t(424)](i);n[t(413)](s)})}}const c=o;function o(t,e){const n=l();return(o=function(t,e){return n[t-=325]})(t,e)}function l(){const t=["8EgGTGd","2892869nEDwNX","trialLimit","1052090xNftTO","config","featureNotAllowed","templateLicenseKeyNotAllowed","init","templateLicenseKeyEvaluationLimit","_licenseKeyCheckInterval","_showLicenseError","templateLicenseKeyDomainLimit","11LXFssr","280432FcVhLC","templateLicenseKeyValid","editor","4pYzHui","templateLicenseKeyInvalid","add","usageLimit","commands","isOfficialPlugin","1873650kAukiS","evaluationLimit","pluginName","6UtbIUB","48984CXFofy","expired","destroy","get","domainLimit","isPremiumPlugin","insertTemplate","TemplateEditing","templateLicenseKeyExpired","templateLicenseKeyUsageLimit","607550MwpExb","invalid","templateLicenseKeyTrialLimit","4725837ZCSLue","Template","licenseKey"];return(l=function(){return t})()}!function(t){const e=o,n=t();for(;;)try{if(619001===parseInt(e(353))/1+-parseInt(e(366))/2+parseInt(e(362))/3*(parseInt(e(356))/4)+-parseInt(e(343))/5+-parseInt(e(365))/6*(-parseInt(e(341))/7)+-parseInt(e(340))/8*(parseInt(e(337))/9)+-parseInt(e(334))/10*(-parseInt(e(352))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[c(339)];[c(349)];static get[c(364)](){return c(331)}static get[c(361)](){return!0}static get[c(329)](){return!0}[c(347)](){const t=c,{editor:e}=this;e[t(360)][t(358)](t(330),new a(e)),this[t(339)]=this[t(355)][t(344)][t(327)](t(339));const n=this[t(355)];this[t(349)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(354)==s||e(357)==s||e(332)==s||e(351)==s||e(346)==s||e(348)==s||e(336)==s||e(333)==s){delete n[i],r=s,clearInterval(this[e(349)]),this[e(349)]=void 0;break}}e(357)==r&&n[e(350)](e(335)),e(332)==r&&n[e(350)](e(325)),e(351)==r&&n[e(350)](e(328)),e(346)==r&&n[e(350)](e(345),e(338)),e(348)==r&&n[e(350)](e(363)),e(336)==r&&n[e(350)](e(342)),e(333)==r&&n[e(350)](e(359))},1e3)}[c(326)](){const t=c;super[t(326)](),this[t(349)]&&clearInterval(this[t(349)])}}var p=n(355),f=n(311),d=n(584);const m=k;function h(){const t=["471745vFJeQb","map","length","69DsIbMY","448548ljhpYv","23724qKtbZR","items","10DdKbgK","16GHJvms","buttonView","isVisible","354xlbThY","size","originalIndex","_resetFiltering","2599992HzXjqe","1639XIMwDB","set","clear","467226VHmCyk","15044yJaTLR","highlightText","get","sort","forEach","title","addMany","filter","17983yUblkZ","isMatching"];return(h=function(){return t})()}function k(t,e){const n=h();return(k=function(t,e){return n[t-=247]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(236851===parseInt(e(252))/1+-parseInt(e(268))/2*(parseInt(e(251))/3)+-parseInt(e(256))/4*(-parseInt(e(248))/5)+parseInt(e(259))/6*(parseInt(e(276))/7)+-parseInt(e(263))/8+parseInt(e(267))/9*(parseInt(e(255))/10)+-parseInt(e(264))/11*(parseInt(e(253))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class w extends f.ListView{[m(275)](t){const e=m;if(!t)return this[e(262)]();const n=new Map,r=this[e(254)][e(249)](r=>{const i=e,s=r[i(257)][i(247)](t);return r[i(258)]=!!s,r[i(257)][i(269)](s?t:null),s&&n[i(265)](r,s),r})[e(271)](g)[e(271)]((i=n,function(t,e){const n=k,r=i[n(270)](t),s=i[n(270)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(273)]&&!s[n(273)]?-1:!r[n(273)]&&s[n(273)]?1:0:0}));var i;return this[e(254)][e(266)](),this[e(254)][e(274)](r),{resultsCount:n[e(260)],totalItemsCount:this[e(254)][e(250)]}}[m(262)](){const t=m,e=this[t(254)][t(249)](t=>t)[t(271)](g);return e[t(272)](e=>{const n=t;e[n(258)]=!0,e[n(257)][n(269)](null)}),this[t(254)][t(266)](),this[t(254)][t(274)](e),{resultsCount:e[t(250)],totalItemsCount:e[t(250)]}}}function g(t,e){const n=m;return t[n(261)]-e[n(261)]}var I=v;function v(t,e){var n=b();return(v=function(t,e){return n[t-=401]})(t,e)}function b(){var t=["8101064wTvNir","125136pXWmNT","212336LgdCtr","3TUzsfh","buttonView","18108vVmaVX","510550kpISpz","1429282RIsRGh","9FLFtIh","16109313XxmwhM","1603DcUDds","130hjgCfr","originalIndex"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(980685===-parseInt(e(401))/1+-parseInt(e(409))/2*(-parseInt(e(410))/3)+parseInt(e(408))/4*(-parseInt(e(405))/5)+parseInt(e(412))/6*(parseInt(e(404))/7)+parseInt(e(407))/8+-parseInt(e(402))/9*(parseInt(e(413))/10)+parseInt(e(403))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(406)];[I(411)];constructor(t,e){var n=I;super(t),this[n(406)]=e,this[n(411)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=280]})(t,e)}function T(){const t=["ck-template-button","set","957470hSoGjC","span","description","descriptionView","70130tRTYfQ","titleView","remove","1228341kkzMsP","1141FxQvYv","div","isColorInherited","6119712fzsvAV","1499990flVVxH","textPartView","43236CNvaGE","element","match","ck-template-form__description","9ZQGcty","destroy","setTemplate","labelView","locale","children","text","isMatching","6758521myklzx","option","highlightText","iconView","render","templateDefinition","add","ck-template-form__text-part","228ZKBNAC","ck-button__label","2eEGkMR","push","48ohayGc","extendTemplate","title"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(619562===-parseInt(e(287))/1+parseInt(e(280))/2*(parseInt(e(294))/3)+-parseInt(e(321))/4*(-parseInt(e(291))/5)+-parseInt(e(301))/6*(parseInt(e(295))/7)+-parseInt(e(298))/8+parseInt(e(305))/9*(-parseInt(e(299))/10)+parseInt(e(313))/11*(parseInt(e(282))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(318)];[x(300)];constructor(t,e){const n=x;super(t),this[n(318)]=e,this[n(300)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(286)]({withText:!0,class:n(285),role:n(314),icon:r}),this[n(316)][n(297)]=!1}[x(317)](){const t=x;super[t(317)](),this[t(300)]=new C(this[t(309)],this[t(318)],this[t(308)][t(302)].id),this[t(310)][t(293)](this[t(308)]),this[t(310)][t(319)](this[t(300)])}[x(306)](){const t=x;super[t(306)](),this[t(308)][t(306)]()}[x(312)](t){const e=x,{title:n,description:r}=this[e(318)],i=!!n[e(303)](t),s=!(!r||!r[e(303)](t));return i||s?{title:i,description:s}:null}[x(315)](t){const e=x;this[e(300)][e(315)](t)}}class C extends f.View{constructor(t,e,n){const r=x;super(t),this[r(284)]=e[r(284)],this[r(289)]=e[r(289)],this[r(292)]=new f.HighlightedTextView,this[r(292)][r(311)]=this[r(284)],this[r(292)][r(283)]({tag:r(288),attributes:{class:[r(322)],id:n}});const i=[this[r(292)]];this[r(289)]&&(this[r(290)]=new f.HighlightedTextView,this[r(290)][r(311)]=this[r(289)],this[r(290)][r(283)]({tag:"p",attributes:{class:[r(304)]}}),i[r(281)](this[r(290)])),this[r(307)]({tag:r(296),attributes:{class:["ck",r(320)]},children:i})}[x(315)](t){const e=x;this[e(292)][e(315)](t),this[e(289)]&&this[e(290)][e(315)](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),N=n.n(M),S=n(545),P=n.n(S),E=n(262),j=n.n(E),O=n(667),A=n.n(O),K=n(357),B=n.n(K),G=n(175),z={attributes:{"data-cke":!0}};z.setAttributes=A(),z.insert=j().bind(null,"head"),z.domAPI=P(),z.insertStyleElement=B();N()(G.A,z);G.A&&G.A.locals&&G.A.locals;const F=q;function q(t,e){const n=D();return(q=function(t,e){return n[t-=377]})(t,e)}function D(){const t=["length","announce","reset","get","icon","isOfficialPlugin","add","911974TIiJAC","query","32732739nqJCiD","children","templateDefinition","afterInit","6168708PYZZGR",'No templates were found matching "%0".',"change:isOpen","TemplateUI","data","ck-template-button","Template","9435208kJsLmt","Please try a different phrase or check the spelling.","title","config","set","Insert template","fromCharCode","174500BdBfVs","_createTemplateListView","pluginName","items","componentFactory","insertTemplate","Search template","template.definitions","ariaLiveAnnouncer","No templates available.","panelView","delegate","commands","focus","resultsCount","search","init","ck-template-list","%0 templates found","42eqxlCR","6EjKqgT","href","editing","listbox","addMany","bind","buttonView","execute","map","source","isEnabled","join","6397745ZaXddP","ck-template-form","view","extendTemplate","649737kLlUWB","isPremiumPlugin","menuBar:insertTemplate"];return(D=function(){return t})()}!function(t){const e=q,n=t();for(;;)try{if(807731===parseInt(e(396))/1+parseInt(e(416))/2*(-parseInt(e(432))/3)+-parseInt(e(382))/4+parseInt(e(428))/5+parseInt(e(415))/6*(-parseInt(e(442))/7)+-parseInt(e(389))/8+parseInt(e(378))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class R extends t.Plugin{static get[F(398)](){return F(385)}static get[F(440)](){return!0}static get[F(433)](){return!0}[F(412)](){const t=F,{editor:e}=this,n=e[t(392)][t(438)](t(403))||[];e.ui[t(400)][t(441)](t(401),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(397)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:V(r,i(402))},class:i(429),infoView:{text:{notFound:{primary:t=>V(r,i(383),t),secondary:V(r,i(390))},noSearchableItems:{primary:V(r,i(405))}}}}),o=e[i(408)][i(438)](i(401));return c.on(i(411),(t,n)=>{const s=i;n[s(377)]&&n[s(377)][s(435)]&&e.ui[s(404)][s(436)](V(r,s(414),n[s(410)]))}),s[i(421)](i(426)).to(o),s[i(406)][i(379)][i(441)](c),s[i(422)][i(393)]({label:V(r,i(394)),icon:p.IconTemplate,tooltip:!0}),s.on(i(384),(t,e,n)=>{n||c[i(437)]()}),s}),e.ui[t(400)][t(441)](t(434),r=>{const i=t,s=e[i(408)][i(438)](i(401)),a=new f.MenuBarMenuView(r);a[i(422)][i(393)]({label:V(r,i(388)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(435)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(393)]({label:V(r,i(405))}),n[i(407)](i(423)).to(a),n.on(i(423),()=>{const t=i;e[t(418)][t(430)][t(409)]()}),t[i(379)][i(441)](n),c[i(399)][i(441)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(393)]({class:i(387),label:t[i(391)],icon:t[i(439)]||p.IconTemplateGeneric}),s[i(407)](i(423)).to(a),s.on(i(423),()=>{const n=i;e[n(423)](n(401),t[n(386)]),e[n(418)][n(430)][n(409)]()}),n[i(379)][i(441)](s),c[i(399)][i(441)](n)}return a[i(406)][i(379)][i(441)](c),a[i(421)](i(426)).to(s,i(426)),a})}[F(381)](){!async function(t){const e=h([105,79,108,98,106,80,49,71,111,88,113,112,115,99,97,109,74,110,66,78,51,107,76,102,116,100,82,67,86,52,75,70,90,48,121,83,101,55,85,119,117,114,72,84,89,77,50,104,103,122,87,73,54,56,65,57,118,120,53,69,68,81]),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=q;return t[e(424)](t=>String[e(395)](t))[e(427)]("")}!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([105]);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:1754524800;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=q,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(417)]);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)}[F(397)](t,e){const n=F,{editor:r}=this,i=new w(t);return i[n(431)]({attributes:{role:n(419),class:[n(413)]}}),i[n(399)][n(420)](e[n(424)]((e,i)=>{const s=n,a=new y(t,i),c=new L(t,e);return a[s(422)]=c,a[s(379)][s(441)](c),a[s(422)].on(s(423),t=>{const e=s;r[e(423)](e(401),t[e(425)][e(380)][e(386)]),r[e(418)][e(430)][e(409)]()}),a})),i}}var X=Y;function Y(t,e){var n=J();return(Y=function(t,e){return n[t-=307]})(t,e)}function J(){var t=["isOfficialPlugin","6474727iwuoPq","1172720ObVfQY","Template","isPremiumPlugin","8UhieGY","372OmNMst","6636138toXWBX","28146520pfSvjS","13004depJfv","requires","9YQtJwX","491787qnbwbv","pluginName","205180isWtpC"];return(J=function(){return t})()}!function(t){for(var e=Y,n=t();;)try{if(563051===-parseInt(e(309))/1+parseInt(e(311))/2+-parseInt(e(318))/3*(-parseInt(e(321))/4)+-parseInt(e(314))/5+-parseInt(e(319))/6+-parseInt(e(313))/7*(parseInt(e(317))/8)+parseInt(e(308))/9*(parseInt(e(320))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class H extends t.Plugin{static get[X(307)](){return[u,R]}static get[X(310)](){return X(315)}static get[X(312)](){return!0}static get[X(316)](){return!0}}function U(t,e){var n=Z();return(U=function(t,e){return n[t-=383]})(t,e)}function Z(){var t=["15852kOGyFC","13761fNOOnH","96687KudySu","350rDMcyJ","7gPZVTV","2872802Uthctf","243744LvMeCc","195828jFwFkZ","8asNbLM","1205418xJIyKy","70YyuyJL","10651544jLaugC"];return(Z=function(){return t})()}!function(t){for(var e=U,n=t();;)try{if(740904===-parseInt(e(390))/1+-parseInt(e(388))/2+-parseInt(e(392))/3*(parseInt(e(391))/4)+-parseInt(e(393))/5*(-parseInt(e(389))/6)+-parseInt(e(387))/7*(-parseInt(e(394))/8)+parseInt(e(385))/9*(-parseInt(e(386))/10)+-parseInt(e(384))/11*(-parseInt(e(383))/12))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 _0x80c7ab,Plugin as _0x334cf7}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x3b3ad2,IconTemplate as _0x2ac400}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x52af9a,ListItemView as _0x56991d,ButtonView as _0x4ef6a7,View as _0x36e3c9,HighlightedTextView as _0x16af3f,createDropdown as _0x21bbd4,SearchTextView as _0x367881,MenuBarMenuView as _0x450c39,MenuBarMenuListView as _0x2ade7e,MenuBarMenuListItemView as _0x48643c,MenuBarMenuListItemButtonView as _0x4dbd9c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x25984e}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x80c7ab{['execute'](_0x2f28ea){const {model:_0x7550ba}=this['editor'];let _0x3c22da;switch(typeof _0x2f28ea){case'string':_0x3c22da=_0x2f28ea;break;case'function':_0x3c22da=_0x2f28ea();}'string'==typeof _0x3c22da&&_0x7550ba['change'](()=>{const _0x2f1368=this['editor']['data']['htmlProcessor']['toView'](_0x3c22da),_0x4964c7=this['editor']['data']['toModel'](_0x2f1368);_0x7550ba['insertContent'](_0x4964c7);});}}class i extends _0x334cf7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x48de8f}=this;_0x48de8f['commands']['add']('insertTemplate',new a(_0x48de8f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x558f0a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a9e91;for(const _0x59eda5 in _0x558f0a){const _0x711a4f=_0x59eda5,_0x21d2ff=_0x558f0a[_0x711a4f];if('templateLicenseKeyValid'==_0x21d2ff||'templateLicenseKeyInvalid'==_0x21d2ff||'templateLicenseKeyExpired'==_0x21d2ff||'templateLicenseKeyDomainLimit'==_0x21d2ff||'templateLicenseKeyNotAllowed'==_0x21d2ff||'templateLicenseKeyEvaluationLimit'==_0x21d2ff||'templateLicenseKeyTrialLimit'==_0x21d2ff||'templateLicenseKeyUsageLimit'==_0x21d2ff){delete _0x558f0a[_0x711a4f],_0x3a9e91=_0x21d2ff,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x3a9e91&&_0x558f0a['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x3a9e91&&_0x558f0a['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x3a9e91&&_0x558f0a['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x3a9e91&&_0x558f0a['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x3a9e91&&_0x558f0a['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x3a9e91&&_0x558f0a['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x3a9e91&&_0x558f0a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x52af9a{['filter'](_0x290562){if(!_0x290562)return this['_resetFiltering']();const _0xd4905d=new Map(),_0x57882f=this['items']['map'](_0x4059d7=>{const _0x56a1f5=_0x4059d7['buttonView']['isMatching'](_0x290562);return _0x4059d7['isVisible']=!!_0x56a1f5,_0x4059d7['buttonView']['highlightText'](_0x56a1f5?_0x290562:null),_0x56a1f5&&_0xd4905d['set'](_0x4059d7,_0x56a1f5),_0x4059d7;})['sort'](j)['sort'](function(_0x1c4bf4){return function(_0x346364,_0x7c45b1){const _0x219ba5=_0x1c4bf4['get'](_0x346364),_0x57ffbd=_0x1c4bf4['get'](_0x7c45b1);return _0x219ba5&&!_0x57ffbd?-0x1:_0x57ffbd&&!_0x219ba5?0x1:_0x219ba5||_0x57ffbd?_0x219ba5['title']&&!_0x57ffbd['title']?-0x1:!_0x219ba5['title']&&_0x57ffbd['title']?0x1:0x0:0x0;};}(_0xd4905d));return this['items']['clear'](),this['items']['addMany'](_0x57882f),{'resultsCount':_0xd4905d['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x518b21=this['items']['map'](_0x4c191c=>_0x4c191c)['sort'](j);return _0x518b21['forEach'](_0x20ff92=>{_0x20ff92['isVisible']=!0x0,_0x20ff92['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x518b21),{'resultsCount':_0x518b21['length'],'totalItemsCount':_0x518b21['length']};}}function j(_0xac93ca,_0x19a213){return _0xac93ca['originalIndex']-_0x19a213['originalIndex'];}class b extends _0x56991d{['originalIndex'];['buttonView'];constructor(_0x177dac,_0xc40d4c){super(_0x177dac),this['originalIndex']=_0xc40d4c,this['buttonView']=null;}}class h extends _0x4ef6a7{['templateDefinition'];['textPartView'];constructor(_0x10826f,_0x357d1f){super(_0x10826f),this['templateDefinition']=_0x357d1f,this['textPartView']=null;const {icon:_0x289ffe=_0x3b3ad2}=_0x357d1f;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x289ffe}),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'](_0x3b6908){const {title:_0x1d62be,description:_0x33575c}=this['templateDefinition'],_0x3d2f4c=!!_0x1d62be['match'](_0x3b6908),_0x211a7d=!(!_0x33575c||!_0x33575c['match'](_0x3b6908));return _0x3d2f4c||_0x211a7d?{'title':_0x3d2f4c,'description':_0x211a7d}:null;}['highlightText'](_0x19b3c8){this['textPartView']['highlightText'](_0x19b3c8);}}class L extends _0x36e3c9{constructor(_0x2fab7f,_0x5a702b,_0x5d2bef){super(_0x2fab7f),this['title']=_0x5a702b['title'],this['description']=_0x5a702b['description'],this['titleView']=new _0x16af3f(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x5d2bef}});const _0x4b27cc=[this['titleView']];this['description']&&(this['descriptionView']=new _0x16af3f(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x4b27cc['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x4b27cc});}['highlightText'](_0x408a58){this['titleView']['highlightText'](_0x408a58),this['description']&&this['descriptionView']['highlightText'](_0x408a58);}}function g(_0x5cb951,_0x3e0639,..._0x5a1745){const t=_0x5cb951['t'];switch(_0x3e0639){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x5a1745);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',..._0x5a1745);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3e0639;}}class s extends _0x334cf7{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x113402}=this,_0x4dad07=_0x113402['config']['get']('template.definitions')||[];_0x113402['ui']['componentFactory']['add']('insertTemplate',_0x2fa21c=>{const _0x219a78=_0x21bbd4(_0x2fa21c),_0x3fd56e=this['_createTemplateListView'](_0x2fa21c,_0x4dad07),_0x240683=new _0x367881(_0x2fa21c,{'filteredView':_0x3fd56e,'queryView':{'label':g(_0x2fa21c,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x123bf8=>g(_0x2fa21c,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x123bf8),'secondary':g(_0x2fa21c,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x2fa21c,'No\x20templates\x20available.')}}}}),_0x3a6a12=_0x113402['commands']['get']('insertTemplate');return _0x240683['on']('search',(_0x159820,_0x45d722)=>{_0x45d722['query']&&_0x45d722['query']['length']&&_0x113402['ui']['ariaLiveAnnouncer']['announce'](g(_0x2fa21c,'%0\x20templates\x20found',_0x45d722['resultsCount']));}),_0x219a78['bind']('isEnabled')['to'](_0x3a6a12),_0x219a78['panelView']['children']['add'](_0x240683),_0x219a78['buttonView']['set']({'label':g(_0x2fa21c,'Insert\x20template'),'icon':_0x2ac400,'tooltip':!0x0}),_0x219a78['on']('change:isOpen',(_0x28791c,_0x23211d,_0x1ebe50)=>{_0x1ebe50||_0x240683['reset']();}),_0x219a78;}),_0x113402['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x3b99bb=>{const _0x4c23da=_0x113402['commands']['get']('insertTemplate'),_0x158818=new _0x450c39(_0x3b99bb);_0x158818['buttonView']['set']({'label':g(_0x3b99bb,'Template'),'icon':_0x2ac400});const _0x2f4f20=new _0x2ade7e(_0x3b99bb);if(!_0x4dad07||!_0x4dad07['length']){const _0x28c71a=new _0x48643c(_0x3b99bb,_0x158818),_0x447b29=new _0x4dbd9c(_0x3b99bb);_0x447b29['set']({'label':g(_0x3b99bb,'No\x20templates\x20available.')}),_0x447b29['delegate']('execute')['to'](_0x158818),_0x447b29['on']('execute',()=>{_0x113402['editing']['view']['focus']();}),_0x28c71a['children']['add'](_0x447b29),_0x2f4f20['items']['add'](_0x28c71a);}for(const _0x2dba0d of _0x4dad07){const _0x4fff97=new _0x48643c(_0x3b99bb,_0x158818),_0x117ea7=new _0x4dbd9c(_0x3b99bb);_0x117ea7['set']({'class':'ck-template-button','label':_0x2dba0d['title'],'icon':_0x2dba0d['icon']||_0x3b3ad2}),_0x117ea7['delegate']('execute')['to'](_0x158818),_0x117ea7['on']('execute',()=>{_0x113402['execute']('insertTemplate',_0x2dba0d['data']),_0x113402['editing']['view']['focus']();}),_0x4fff97['children']['add'](_0x117ea7),_0x2f4f20['items']['add'](_0x4fff97);}return _0x158818['panelView']['children']['add'](_0x2f4f20),_0x158818['bind']('isEnabled')['to'](_0x4c23da,'isEnabled'),_0x158818;});}['afterInit'](){!async function(_0x40504f){const _0x525379=_0x577034([0x4f,0x6c,0x59,0x48,0x49,0x50,0x6b,0x4b,0x67,0x38,0x44,0x4e,0x47,0x4a,0x5a,0x32,0x42,0x6a,0x68,0x77,0x72,0x55,0x65,0x45,0x58,0x34,0x69,0x53,0x7a,0x71,0x62,0x39,0x66,0x4c,0x64,0x37,0x4d,0x73,0x6e,0x41,0x57,0x35,0x56,0x51,0x46,0x76,0x43,0x78,0x74,0x33,0x6f,0x61,0x36,0x6d,0x79,0x75,0x54,0x63,0x52,0x30,0x70,0x31]),_0x57b227=0x22ea2be0,_0x3597f6=0x22ed4450^_0x57b227,_0x13e5d8=window[_0x577034([0x44,0x61,0x74,0x65])][_0x577034([0x6e,0x6f,0x77])](),_0x40c0bd=_0x40504f[_0x577034([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd071d4=new window[(_0x577034([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39cc14=>{_0x40c0bd[_0x577034([0x6f,0x6e,0x63,0x65])](_0x577034([0x72,0x65,0x61,0x64,0x79]),_0x39cc14);}),_0x1b50c7={[_0x577034([0x6b,0x74,0x79])]:_0x577034([0x45,0x43]),[_0x577034([0x75,0x73,0x65])]:_0x577034([0x73,0x69,0x67]),[_0x577034([0x63,0x72,0x76])]:_0x577034([0x50,0x2d,0x32,0x35,0x36]),[_0x577034([0x78])]:_0x577034([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]),[_0x577034([0x79])]:_0x577034([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]),[_0x577034([0x61,0x6c,0x67])]:_0x577034([0x45,0x53,0x32,0x35,0x36])},_0xe4e96d=_0x40c0bd[_0x577034([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x577034([0x67,0x65,0x74])](_0x577034([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24a777(){let _0x446d19,_0x2942c0=null,_0x1e00fe=null;try{if(_0xe4e96d==_0x577034([0x47,0x50,0x4c]))return _0x577034([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x446d19=_0x2fdac8(),!_0x446d19)return _0x577034([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x446d19[_0x577034([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e00fe=_0x3d53fd(_0x446d19[_0x577034([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x446d19[_0x577034([0x6a,0x74,0x69])])),await _0xfb6c55()?_0x3df598()?_0x58e979()?_0x577034([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20f92c()?(_0x446d19[_0x577034([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x577034([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2942c0=_0x46f0d3(_0x577034([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x446d19[_0x577034([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x577034([0x74,0x72,0x69,0x61,0x6c])&&(_0x2942c0=_0x46f0d3(_0x577034([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41cc0c()):_0x577034([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x577034([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x577034([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x577034([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58e979(){const _0x90459b=[_0x577034([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x577034([0x74,0x72,0x69,0x61,0x6c])][_0x577034([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x446d19[_0x577034([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13e5d8/0x3e8:0xe10*_0x3597f6;return _0x446d19[_0x577034([0x65,0x78,0x70])]<_0x90459b;}function _0x3df598(){const _0x29fea1=_0x446d19[_0x577034([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29fea1&&(!!_0x29fea1[_0x577034([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x577034([0x2a]))||(!!_0x29fea1[_0x577034([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x577034([0x54,0x50,0x4c]))||(!!_0x29fea1[_0x577034([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x577034([0x50,0x50]))||!(!_0x29fea1[_0x577034([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x577034([0x44,0x52,0x55,0x50]))||!_0x5ab304()))));}function _0x20f92c(){const _0xb36c13=_0x446d19[_0x577034([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb36c13||0x0==_0xb36c13[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c2fe7}=new URL(window[_0x577034([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb36c13[_0x577034([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c2fe7))return!0x0;const _0x12fcb9=_0x1c2fe7[_0x577034([0x73,0x70,0x6c,0x69,0x74])](_0x577034([0x2e]));return _0xb36c13[_0x577034([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11c40d=>_0x11c40d[_0x577034([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x577034([0x2a])))[_0x577034([0x6d,0x61,0x70])](_0x1e219a=>_0x1e219a[_0x577034([0x73,0x70,0x6c,0x69,0x74])](_0x577034([0x2e])))[_0x577034([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x498ed3=>_0x498ed3[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x12fcb9[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x577034([0x6d,0x61,0x70])](_0x192f96=>Array(_0x12fcb9[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x192f96[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x577034([0x66,0x69,0x6c,0x6c])](_0x192f96[0x0]===_0x577034([0x2a])?_0x577034([0x2a]):'')[_0x577034([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x192f96))[_0x577034([0x73,0x6f,0x6d,0x65])](_0x3daae7=>_0x12fcb9[_0x577034([0x65,0x76,0x65,0x72,0x79])]((_0x2851fa,_0x1d6a3f)=>_0x3daae7[_0x1d6a3f]===_0x2851fa||_0x3daae7[_0x1d6a3f]===_0x577034([0x2a])));}function _0x41cc0c(){return _0x2942c0&&_0x1e00fe?new window[(_0x577034([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c3894,_0x3d833c)=>{_0x2942c0[_0x577034([0x74,0x68,0x65,0x6e])](_0x5c3894,_0x3d833c),_0x1e00fe[_0x577034([0x74,0x68,0x65,0x6e])](_0x307a06=>{_0x307a06!=_0x577034([0x56,0x61,0x6c,0x69,0x64])&&_0x5c3894(_0x307a06);},_0x3d833c);}):_0x2942c0||_0x1e00fe||_0x577034([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d53fd(_0x2312fa,_0x3da153){return new window[(_0x577034([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a8551=>{if(_0xb2b749())return _0x4a8551(_0x577034([0x56,0x61,0x6c,0x69,0x64]));_0x34e53f(),_0x40c0bd[_0x577034([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x577034([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x472377=!0x1;const _0x82b5b3=_0x25984e();function _0x1a39e2(_0x5e783a){return!!_0x5e783a&&(typeof _0x5e783a===_0x577034([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e783a===_0x577034([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e783a[_0x577034([0x74,0x68,0x65,0x6e])]===_0x577034([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e783a[_0x577034([0x63,0x61,0x74,0x63,0x68])]===_0x577034([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fd67d(_0x2d3b23){_0x329d79(_0x2d3b23)[_0x577034([0x74,0x68,0x65,0x6e])](_0x4388fa=>{if(!_0x4388fa||_0x4388fa[_0x577034([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x577034([0x6f,0x6b]))return _0x577034([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e25d3(_0x3e77e8(_0x82b5b3+_0x3da153))!=_0x4388fa[_0x577034([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x577034([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x577034([0x56,0x61,0x6c,0x69,0x64]);})[_0x577034([0x74,0x68,0x65,0x6e])](_0x3321eb=>(_0x7cdf02(),_0x3321eb),()=>{const _0x114c0f=_0x403950();return null==_0x114c0f?(_0x7cdf02(),_0x577034([0x56,0x61,0x6c,0x69,0x64])):_0x577034(_0x13e5d8-_0x114c0f>(0x6e6afe0^_0x57b227)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x577034([0x74,0x68,0x65,0x6e])](_0x4a8551)[_0x577034([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a8551(_0x577034([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45bc6b=0x22dcc560^_0x57b227;function _0x7cdf02(){const _0x286024=_0x577034([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e25d3(_0x3e77e8(_0x2312fa)),_0x1bf1e5=_0x2de9ff(_0x3e25d3(window[_0x577034([0x4d,0x61,0x74,0x68])][_0x577034([0x63,0x65,0x69,0x6c])](_0x13e5d8/_0x45bc6b)));window[_0x577034([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x577034([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x286024,_0x1bf1e5);}function _0x403950(){const _0x20f55d=_0x577034([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e25d3(_0x3e77e8(_0x2312fa)),_0x50fd44=window[_0x577034([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x577034([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20f55d);return _0x50fd44?window[_0x577034([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2de9ff(_0x50fd44),0x10)*_0x45bc6b:null;}function _0x329d79(_0x51b9c6){return new window[(_0x577034([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x153e97,_0x4dd266)=>{_0x51b9c6[_0x577034([0x74,0x68,0x65,0x6e])](_0x153e97,_0x4dd266),window[_0x577034([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4dd266,0x22ebff20^_0x57b227);});}}_0x40c0bd[_0x577034([0x6f,0x6e])](_0x577034([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2be0d0,_0x3bfb26)=>{if(_0x3bfb26[0x0]!=_0x2312fa)return _0x4a8551(_0x577034([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bfb26[0x1]={..._0x3bfb26[0x1],[_0x577034([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x82b5b3};},{[_0x577034([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x577034([0x68,0x69,0x67,0x68])}),_0x40c0bd[_0x577034([0x6f,0x6e])](_0x577034([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x973c4a=>{_0x1a39e2(_0x973c4a[_0x577034([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x472377=!0x0,_0x3fd67d(_0x973c4a[_0x577034([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x577034([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x577034([0x6c,0x6f,0x77])}),_0xd071d4[_0x577034([0x74,0x68,0x65,0x6e])](()=>{_0x472377||_0x4a8551(_0x577034([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb2b749(){return _0x40c0bd[_0x577034([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x577034([0x76,0x69,0x65,0x77])][_0x577034([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x577034([0x61,0x75,0x74,0x6f]);}function _0x34e53f(){_0x40c0bd[_0x577034([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x577034([0x76,0x69,0x65,0x77])][_0x577034([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x577034([0x61,0x75,0x74,0x6f]);}}function _0x46f0d3(_0xf0bc36){const _0x18ac9a=[new window[(_0x577034([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x134e48=>setTimeout(_0x134e48,0x22e3152c^_0x57b227)),_0xd071d4[_0x577034([0x74,0x68,0x65,0x6e])](()=>new window[(_0x577034([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x193e99=>{let _0x506bc8=0x0;_0x40c0bd[_0x577034([0x6d,0x6f,0x64,0x65,0x6c])][_0x577034([0x6f,0x6e])](_0x577034([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20bf19,_0x8215bc)=>{_0x8215bc[0x0][_0x577034([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x506bc8++,_0x506bc8==(0x22ea2a18^_0x57b227)&&(_0x193e99(),_0x20bf19[_0x577034([0x6f,0x66,0x66])]());});}))];return window[_0x577034([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x577034([0x72,0x61,0x63,0x65])](_0x18ac9a)[_0x577034([0x74,0x68,0x65,0x6e])](()=>_0xf0bc36);}async function _0x163ffa(){await _0xd071d4,_0x40c0bd[_0x577034([0x6d,0x6f,0x64,0x65,0x6c])][_0x577034([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x231846,_0x40c0bd[_0x577034([0x6d,0x6f,0x64,0x65,0x6c])][_0x577034([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x231846,_0x40c0bd[_0x577034([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x577034([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ab304(){return window[_0x577034([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5bf04b(_0x3aada1){const _0x530216=_0x52bc7d();_0x40c0bd[_0x530216]=_0x577034([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3aada1,_0x3aada1!=_0x577034([0x56,0x61,0x6c,0x69,0x64])&&_0x163ffa();}function _0x52bc7d(){const _0x2b1c8e=window[_0x577034([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x577034([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x577034([0x6e,0x6f,0x77])]())[_0x577034([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x577034([0x2e]),'');let _0xa5d45e=_0x577034([0x4f]);for(let _0x421708=0x0;_0x421708<_0x2b1c8e[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x421708+=0x2){let _0x49ee24=window[_0x577034([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b1c8e[_0x577034([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x421708,_0x421708+0x2));_0x49ee24>=_0x525379[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x49ee24-=_0x525379[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa5d45e+=_0x525379[_0x49ee24];}return _0xa5d45e;}function _0x2fdac8(){const _0x50e481=_0xe4e96d[_0x577034([0x73,0x70,0x6c,0x69,0x74])](_0x577034([0x2e]));if(0x3!=_0x50e481[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cc0c5(_0x50e481[0x1]);function _0x5cc0c5(_0xf88032){const _0x130ccc=_0xe99709(_0xf88032);return _0x130ccc&&_0x4a39ed()?_0x130ccc:null;function _0x4a39ed(){const _0x2615c1=_0x130ccc[_0x577034([0x6a,0x74,0x69])],_0x1a61b6=window[_0x577034([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2615c1[_0x577034([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2615c1[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x590520={..._0x130ccc,[_0x577034([0x6a,0x74,0x69])]:_0x2615c1[_0x577034([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2615c1[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x590520[_0x577034([0x76,0x63])],_0x3e77e8(_0x590520)==_0x1a61b6;}}}async function _0xfb6c55(){let _0x4925f8=!0x0;try{const _0x52f918=_0xe4e96d[_0x577034([0x73,0x70,0x6c,0x69,0x74])](_0x577034([0x2e])),[_0x15a3c0,_0x19b71d,_0x49a359]=_0x52f918;return _0x482245(_0x15a3c0),await _0x4973f3(_0x15a3c0,_0x19b71d,_0x49a359),_0x4925f8;}catch{return!0x1;}function _0x482245(_0x29c840){const _0x1e7d46=_0xe99709(_0x29c840);_0x1e7d46&&_0x1e7d46[_0x577034([0x61,0x6c,0x67])]==_0x577034([0x45,0x53,0x32,0x35,0x36])||(_0x4925f8=!0x1);}async function _0x4973f3(_0x16bd93,_0x433569,_0x3e14a8){const _0x48d63c=window[_0x577034([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x577034([0x66,0x72,0x6f,0x6d])](_0x4dc77a(_0x3e14a8),_0x3867cb=>_0x3867cb[_0x577034([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4074f6=new window[(_0x577034([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x577034([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16bd93+_0x577034([0x2e])+_0x433569),_0x5449f5=window[_0x577034([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x577034([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5449f5)return;const _0x3a94df=await _0x5449f5[_0x577034([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x577034([0x6a,0x77,0x6b]),_0x1b50c7,{[_0x577034([0x6e,0x61,0x6d,0x65])]:_0x577034([0x45,0x43,0x44,0x53,0x41]),[_0x577034([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x577034([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x577034([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5449f5[_0x577034([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x577034([0x6e,0x61,0x6d,0x65])]:_0x577034([0x45,0x43,0x44,0x53,0x41]),[_0x577034([0x68,0x61,0x73,0x68])]:{[_0x577034([0x6e,0x61,0x6d,0x65])]:_0x577034([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3a94df,_0x48d63c,_0x4074f6)||(_0x4925f8=!0x1);}}function _0xe99709(_0xfec1a){return _0xfec1a[_0x577034([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x577034([0x65,0x79]))?JSON[_0x577034([0x70,0x61,0x72,0x73,0x65])](_0x4dc77a(_0xfec1a)):null;}function _0x4dc77a(_0x20e3a4){return window[_0x577034([0x61,0x74,0x6f,0x62])](_0x20e3a4[_0x577034([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x577034([0x2b]))[_0x577034([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x577034([0x2f])));}function _0x3e77e8(_0x4d40bc){let _0x5053b9=0x1505;function _0x5d67ea(_0x46a0dd){for(let _0x2d1cd4=0x0;_0x2d1cd4<_0x46a0dd[_0x577034([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d1cd4++){const _0x270517=_0x46a0dd[_0x577034([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d1cd4);_0x5053b9=(_0x5053b9<<0x5)+_0x5053b9+_0x270517,_0x5053b9&=_0x5053b9;}}function _0x3099e5(_0x501f37){Array[_0x577034([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x501f37)?_0x501f37[_0x577034([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3099e5):_0x501f37&&typeof _0x501f37==_0x577034([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x577034([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x501f37)[_0x577034([0x73,0x6f,0x72,0x74])]()[_0x577034([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x33bd6b,_0x2803eb])=>{_0x5d67ea(_0x33bd6b),_0x3099e5(_0x2803eb);}):_0x5d67ea(window[_0x577034([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x501f37));}return _0x3099e5(_0x4d40bc),_0x5053b9>>>0x0;}function _0x3e25d3(_0x57b15e){return _0x57b15e[_0x577034([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x577034([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x577034([0x30]));}function _0x2de9ff(_0x2e55a4){return _0x2e55a4[_0x577034([0x73,0x70,0x6c,0x69,0x74])]('')[_0x577034([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x577034([0x6a,0x6f,0x69,0x6e])]('');}function _0x231846(){}function _0x577034(_0x3b2989){return _0x3b2989['map'](_0x1b2dea=>String['fromCharCode'](_0x1b2dea))['join']('');}_0x5bf04b(await _0x24a777());}(this);}['_createTemplateListView'](_0x290a3b,_0x29d5d5){const {editor:_0x2b0e0c}=this,_0x15bdd5=new y(_0x290a3b);return _0x15bdd5['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x15bdd5['items']['addMany'](_0x29d5d5['map']((_0x32ca48,_0x5ea05d)=>{const _0x571556=new b(_0x290a3b,_0x5ea05d),_0xba637=new h(_0x290a3b,_0x32ca48);return _0x571556['buttonView']=_0xba637,_0x571556['children']['add'](_0xba637),_0x571556['buttonView']['on']('execute',_0x44f31b=>{_0x2b0e0c['execute']('insertTemplate',_0x44f31b['source']['templateDefinition']['data']),_0x2b0e0c['editing']['view']['focus']();}),_0x571556;})),_0x15bdd5;}}class K extends _0x334cf7{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 _0x954734,Plugin as _0x119cd5}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x365056,IconTemplate as _0xecc101}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0xbfc58d,ListItemView as _0x3c2ef8,ButtonView as _0x159c70,View as _0x5d7ef0,HighlightedTextView as _0x4e49ca,createDropdown as _0x31e00b,SearchTextView as _0x504bf6,MenuBarMenuView as _0x2135e0,MenuBarMenuListView as _0x1394b6,MenuBarMenuListItemView as _0x12ac1e,MenuBarMenuListItemButtonView as _0x457fa0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x37869a}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x954734{['execute'](_0x5240ff){const {model:_0x277eba}=this['editor'];let _0x35ff6b;switch(typeof _0x5240ff){case'string':_0x35ff6b=_0x5240ff;break;case'function':_0x35ff6b=_0x5240ff();}'string'==typeof _0x35ff6b&&_0x277eba['change'](()=>{const _0xcbf3b5=this['editor']['data']['htmlProcessor']['toView'](_0x35ff6b),_0x51b879=this['editor']['data']['toModel'](_0xcbf3b5);_0x277eba['insertContent'](_0x51b879);});}}class i extends _0x119cd5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x7264a1}=this;_0x7264a1['commands']['add']('insertTemplate',new a(_0x7264a1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x360536=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c13a1;for(const _0x50e33b in _0x360536){const _0x14edd0=_0x50e33b,_0x3d04d8=_0x360536[_0x14edd0];if('templateLicenseKeyValid'==_0x3d04d8||'templateLicenseKeyInvalid'==_0x3d04d8||'templateLicenseKeyExpired'==_0x3d04d8||'templateLicenseKeyDomainLimit'==_0x3d04d8||'templateLicenseKeyNotAllowed'==_0x3d04d8||'templateLicenseKeyEvaluationLimit'==_0x3d04d8||'templateLicenseKeyTrialLimit'==_0x3d04d8||'templateLicenseKeyUsageLimit'==_0x3d04d8){delete _0x360536[_0x14edd0],_0x2c13a1=_0x3d04d8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x2c13a1&&_0x360536['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x2c13a1&&_0x360536['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x2c13a1&&_0x360536['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x2c13a1&&_0x360536['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x2c13a1&&_0x360536['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x2c13a1&&_0x360536['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x2c13a1&&_0x360536['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0xbfc58d{['filter'](_0x4ba32d){if(!_0x4ba32d)return this['_resetFiltering']();const _0x4487f9=new Map(),_0x1fa524=this['items']['map'](_0x10e68d=>{const _0x385017=_0x10e68d['buttonView']['isMatching'](_0x4ba32d);return _0x10e68d['isVisible']=!!_0x385017,_0x10e68d['buttonView']['highlightText'](_0x385017?_0x4ba32d:null),_0x385017&&_0x4487f9['set'](_0x10e68d,_0x385017),_0x10e68d;})['sort'](j)['sort'](function(_0x40c8c9){return function(_0x38b242,_0x12264c){const _0x338402=_0x40c8c9['get'](_0x38b242),_0x5b6201=_0x40c8c9['get'](_0x12264c);return _0x338402&&!_0x5b6201?-0x1:_0x5b6201&&!_0x338402?0x1:_0x338402||_0x5b6201?_0x338402['title']&&!_0x5b6201['title']?-0x1:!_0x338402['title']&&_0x5b6201['title']?0x1:0x0:0x0;};}(_0x4487f9));return this['items']['clear'](),this['items']['addMany'](_0x1fa524),{'resultsCount':_0x4487f9['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1c1ebe=this['items']['map'](_0x111f96=>_0x111f96)['sort'](j);return _0x1c1ebe['forEach'](_0x173438=>{_0x173438['isVisible']=!0x0,_0x173438['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1c1ebe),{'resultsCount':_0x1c1ebe['length'],'totalItemsCount':_0x1c1ebe['length']};}}function j(_0xc79142,_0x48b55d){return _0xc79142['originalIndex']-_0x48b55d['originalIndex'];}class b extends _0x3c2ef8{['originalIndex'];['buttonView'];constructor(_0x361286,_0x3fcbd2){super(_0x361286),this['originalIndex']=_0x3fcbd2,this['buttonView']=null;}}class h extends _0x159c70{['templateDefinition'];['textPartView'];constructor(_0x1ace47,_0x5a65fc){super(_0x1ace47),this['templateDefinition']=_0x5a65fc,this['textPartView']=null;const {icon:_0xcbc6bb=_0x365056}=_0x5a65fc;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0xcbc6bb}),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'](_0x5ccbb2){const {title:_0x85c3e6,description:_0x1dbeb7}=this['templateDefinition'],_0x58b825=!!_0x85c3e6['match'](_0x5ccbb2),_0x3bd4c4=!(!_0x1dbeb7||!_0x1dbeb7['match'](_0x5ccbb2));return _0x58b825||_0x3bd4c4?{'title':_0x58b825,'description':_0x3bd4c4}:null;}['highlightText'](_0x324896){this['textPartView']['highlightText'](_0x324896);}}class L extends _0x5d7ef0{constructor(_0x5eb512,_0x357582,_0x150bf9){super(_0x5eb512),this['title']=_0x357582['title'],this['description']=_0x357582['description'],this['titleView']=new _0x4e49ca(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x150bf9}});const _0xcd0ade=[this['titleView']];this['description']&&(this['descriptionView']=new _0x4e49ca(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0xcd0ade['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0xcd0ade});}['highlightText'](_0x54f433){this['titleView']['highlightText'](_0x54f433),this['description']&&this['descriptionView']['highlightText'](_0x54f433);}}function g(_0x16151d,_0x5ce0f9,..._0x520bc3){const t=_0x16151d['t'];switch(_0x5ce0f9){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x520bc3);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',..._0x520bc3);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x5ce0f9;}}class s extends _0x119cd5{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5aa083}=this,_0x4eda60=_0x5aa083['config']['get']('template.definitions')||[];_0x5aa083['ui']['componentFactory']['add']('insertTemplate',_0x44b563=>{const _0x2a8071=_0x31e00b(_0x44b563),_0x1a1351=this['_createTemplateListView'](_0x44b563,_0x4eda60),_0x325f94=new _0x504bf6(_0x44b563,{'filteredView':_0x1a1351,'queryView':{'label':g(_0x44b563,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x170a61=>g(_0x44b563,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x170a61),'secondary':g(_0x44b563,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x44b563,'No\x20templates\x20available.')}}}}),_0x1e2ebe=_0x5aa083['commands']['get']('insertTemplate');return _0x325f94['on']('search',(_0x4b22a9,_0x4982d7)=>{_0x4982d7['query']&&_0x4982d7['query']['length']&&_0x5aa083['ui']['ariaLiveAnnouncer']['announce'](g(_0x44b563,'%0\x20templates\x20found',_0x4982d7['resultsCount']));}),_0x2a8071['bind']('isEnabled')['to'](_0x1e2ebe),_0x2a8071['panelView']['children']['add'](_0x325f94),_0x2a8071['buttonView']['set']({'label':g(_0x44b563,'Insert\x20template'),'icon':_0xecc101,'tooltip':!0x0}),_0x2a8071['on']('change:isOpen',(_0x448b50,_0x4fda0d,_0x36ade3)=>{_0x36ade3||_0x325f94['reset']();}),_0x2a8071;}),_0x5aa083['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x2a7774=>{const _0x2b1873=_0x5aa083['commands']['get']('insertTemplate'),_0x2b8a50=new _0x2135e0(_0x2a7774);_0x2b8a50['buttonView']['set']({'label':g(_0x2a7774,'Template'),'icon':_0xecc101});const _0x20c82e=new _0x1394b6(_0x2a7774);if(!_0x4eda60||!_0x4eda60['length']){const _0x4b0641=new _0x12ac1e(_0x2a7774,_0x2b8a50),_0x4b8b8f=new _0x457fa0(_0x2a7774);_0x4b8b8f['set']({'label':g(_0x2a7774,'No\x20templates\x20available.')}),_0x4b8b8f['delegate']('execute')['to'](_0x2b8a50),_0x4b8b8f['on']('execute',()=>{_0x5aa083['editing']['view']['focus']();}),_0x4b0641['children']['add'](_0x4b8b8f),_0x20c82e['items']['add'](_0x4b0641);}for(const _0x3520d7 of _0x4eda60){const _0x2cf4e9=new _0x12ac1e(_0x2a7774,_0x2b8a50),_0x23672d=new _0x457fa0(_0x2a7774);_0x23672d['set']({'class':'ck-template-button','label':_0x3520d7['title'],'icon':_0x3520d7['icon']||_0x365056}),_0x23672d['delegate']('execute')['to'](_0x2b8a50),_0x23672d['on']('execute',()=>{_0x5aa083['execute']('insertTemplate',_0x3520d7['data']),_0x5aa083['editing']['view']['focus']();}),_0x2cf4e9['children']['add'](_0x23672d),_0x20c82e['items']['add'](_0x2cf4e9);}return _0x2b8a50['panelView']['children']['add'](_0x20c82e),_0x2b8a50['bind']('isEnabled')['to'](_0x2b1873,'isEnabled'),_0x2b8a50;});}['afterInit'](){!async function(_0x1e933f){const _0x25ebf2=_0x46978c([0x69,0x4f,0x6c,0x62,0x6a,0x50,0x31,0x47,0x6f,0x58,0x71,0x70,0x73,0x63,0x61,0x6d,0x4a,0x6e,0x42,0x4e,0x33,0x6b,0x4c,0x66,0x74,0x64,0x52,0x43,0x56,0x34,0x4b,0x46,0x5a,0x30,0x79,0x53,0x65,0x37,0x55,0x77,0x75,0x72,0x48,0x54,0x59,0x4d,0x32,0x68,0x67,0x7a,0x57,0x49,0x36,0x38,0x41,0x39,0x76,0x78,0x35,0x45,0x44,0x51]),_0x547db2=0x18cd691a,_0x18d17d=0x18ca06d2^_0x547db2,_0xfb2447=window[_0x46978c([0x44,0x61,0x74,0x65])][_0x46978c([0x6e,0x6f,0x77])](),_0x251dfd=_0x1e933f[_0x46978c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e296d=new window[(_0x46978c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55ffa1=>{_0x251dfd[_0x46978c([0x6f,0x6e,0x63,0x65])](_0x46978c([0x72,0x65,0x61,0x64,0x79]),_0x55ffa1);}),_0x5be7e9={[_0x46978c([0x6b,0x74,0x79])]:_0x46978c([0x45,0x43]),[_0x46978c([0x75,0x73,0x65])]:_0x46978c([0x73,0x69,0x67]),[_0x46978c([0x63,0x72,0x76])]:_0x46978c([0x50,0x2d,0x32,0x35,0x36]),[_0x46978c([0x78])]:_0x46978c([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]),[_0x46978c([0x79])]:_0x46978c([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]),[_0x46978c([0x61,0x6c,0x67])]:_0x46978c([0x45,0x53,0x32,0x35,0x36])},_0x227b64=_0x251dfd[_0x46978c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46978c([0x67,0x65,0x74])](_0x46978c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1099f7(){let _0x291511,_0x444631=null,_0x45173b=null;try{if(_0x227b64==_0x46978c([0x47,0x50,0x4c]))return _0x46978c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x291511=_0x7feda7(),!_0x291511)return _0x46978c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x291511[_0x46978c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45173b=_0x47f6f7(_0x291511[_0x46978c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x291511[_0x46978c([0x6a,0x74,0x69])])),await _0x3bee06()?_0xd58c6c()?_0x15b764()?_0x46978c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3aff79()?(_0x291511[_0x46978c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46978c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x444631=_0x293168(_0x46978c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x291511[_0x46978c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46978c([0x74,0x72,0x69,0x61,0x6c])&&(_0x444631=_0x293168(_0x46978c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x51e43a()):_0x46978c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46978c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46978c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46978c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x15b764(){const _0x47f39a=[_0x46978c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46978c([0x74,0x72,0x69,0x61,0x6c])][_0x46978c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x291511[_0x46978c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xfb2447/0x3e8:0xe10*_0x18d17d;return _0x291511[_0x46978c([0x65,0x78,0x70])]<_0x47f39a;}function _0xd58c6c(){const _0x3ae289=_0x291511[_0x46978c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ae289&&(!!_0x3ae289[_0x46978c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46978c([0x2a]))||(!!_0x3ae289[_0x46978c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46978c([0x54,0x50,0x4c]))||(!!_0x3ae289[_0x46978c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46978c([0x50,0x50]))||!(!_0x3ae289[_0x46978c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46978c([0x44,0x52,0x55,0x50]))||!_0x430d5d()))));}function _0x3aff79(){const _0x4c7302=_0x291511[_0x46978c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c7302||0x0==_0x4c7302[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c91c9}=new URL(window[_0x46978c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4c7302[_0x46978c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c91c9))return!0x0;const _0x94922b=_0x3c91c9[_0x46978c([0x73,0x70,0x6c,0x69,0x74])](_0x46978c([0x2e]));return _0x4c7302[_0x46978c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8ef9=>_0x8ef9[_0x46978c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46978c([0x2a])))[_0x46978c([0x6d,0x61,0x70])](_0x27b981=>_0x27b981[_0x46978c([0x73,0x70,0x6c,0x69,0x74])](_0x46978c([0x2e])))[_0x46978c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e4ffa=>_0x4e4ffa[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x94922b[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46978c([0x6d,0x61,0x70])](_0x5d75f4=>Array(_0x94922b[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d75f4[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46978c([0x66,0x69,0x6c,0x6c])](_0x5d75f4[0x0]===_0x46978c([0x2a])?_0x46978c([0x2a]):'')[_0x46978c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d75f4))[_0x46978c([0x73,0x6f,0x6d,0x65])](_0x145d30=>_0x94922b[_0x46978c([0x65,0x76,0x65,0x72,0x79])]((_0x56aca9,_0x58a434)=>_0x145d30[_0x58a434]===_0x56aca9||_0x145d30[_0x58a434]===_0x46978c([0x2a])));}function _0x51e43a(){return _0x444631&&_0x45173b?new window[(_0x46978c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a2815,_0xbee753)=>{_0x444631[_0x46978c([0x74,0x68,0x65,0x6e])](_0x2a2815,_0xbee753),_0x45173b[_0x46978c([0x74,0x68,0x65,0x6e])](_0x30f509=>{_0x30f509!=_0x46978c([0x56,0x61,0x6c,0x69,0x64])&&_0x2a2815(_0x30f509);},_0xbee753);}):_0x444631||_0x45173b||_0x46978c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47f6f7(_0x400406,_0x331be1){return new window[(_0x46978c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56e658=>{if(_0x94ea9e())return _0x56e658(_0x46978c([0x56,0x61,0x6c,0x69,0x64]));_0x109617(),_0x251dfd[_0x46978c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46978c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x229033=!0x1;const _0x22484e=_0x37869a();function _0x1a8cc1(_0x3c4241){return!!_0x3c4241&&(typeof _0x3c4241===_0x46978c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c4241===_0x46978c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c4241[_0x46978c([0x74,0x68,0x65,0x6e])]===_0x46978c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c4241[_0x46978c([0x63,0x61,0x74,0x63,0x68])]===_0x46978c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f03e8(_0x582edd){_0x4de02d(_0x582edd)[_0x46978c([0x74,0x68,0x65,0x6e])](_0x3d5297=>{if(!_0x3d5297||_0x3d5297[_0x46978c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46978c([0x6f,0x6b]))return _0x46978c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x76436b(_0x601730(_0x22484e+_0x331be1))!=_0x3d5297[_0x46978c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46978c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46978c([0x56,0x61,0x6c,0x69,0x64]);})[_0x46978c([0x74,0x68,0x65,0x6e])](_0x3277f9=>(_0x4fb78b(),_0x3277f9),()=>{const _0x569993=_0xe4889();return null==_0x569993?(_0x4fb78b(),_0x46978c([0x56,0x61,0x6c,0x69,0x64])):_0x46978c(_0xfb2447-_0x569993>(0x3cc1ed1a^_0x547db2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46978c([0x74,0x68,0x65,0x6e])](_0x56e658)[_0x46978c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56e658(_0x46978c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe94e4d=0x18fb879a^_0x547db2;function _0x4fb78b(){const _0x37bdd9=_0x46978c([0x6c,0x6c,0x63,0x74,0x2d])+_0x76436b(_0x601730(_0x400406)),_0x477df0=_0x4fc4d9(_0x76436b(window[_0x46978c([0x4d,0x61,0x74,0x68])][_0x46978c([0x63,0x65,0x69,0x6c])](_0xfb2447/_0xe94e4d)));window[_0x46978c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46978c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37bdd9,_0x477df0);}function _0xe4889(){const _0x264b58=_0x46978c([0x6c,0x6c,0x63,0x74,0x2d])+_0x76436b(_0x601730(_0x400406)),_0x1775c2=window[_0x46978c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46978c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x264b58);return _0x1775c2?window[_0x46978c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fc4d9(_0x1775c2),0x10)*_0xe94e4d:null;}function _0x4de02d(_0x4f9eb0){return new window[(_0x46978c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50fb44,_0x2ae27a)=>{_0x4f9eb0[_0x46978c([0x74,0x68,0x65,0x6e])](_0x50fb44,_0x2ae27a),window[_0x46978c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ae27a,0x18ccbdda^_0x547db2);});}}_0x251dfd[_0x46978c([0x6f,0x6e])](_0x46978c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5da990,_0x40222c)=>{if(_0x40222c[0x0]!=_0x400406)return _0x56e658(_0x46978c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40222c[0x1]={..._0x40222c[0x1],[_0x46978c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x22484e};},{[_0x46978c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46978c([0x68,0x69,0x67,0x68])}),_0x251dfd[_0x46978c([0x6f,0x6e])](_0x46978c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x540ee7=>{_0x1a8cc1(_0x540ee7[_0x46978c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x229033=!0x0,_0x5f03e8(_0x540ee7[_0x46978c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46978c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46978c([0x6c,0x6f,0x77])}),_0x1e296d[_0x46978c([0x74,0x68,0x65,0x6e])](()=>{_0x229033||_0x56e658(_0x46978c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x94ea9e(){return _0x251dfd[_0x46978c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46978c([0x76,0x69,0x65,0x77])][_0x46978c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46978c([0x61,0x75,0x74,0x6f]);}function _0x109617(){_0x251dfd[_0x46978c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46978c([0x76,0x69,0x65,0x77])][_0x46978c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46978c([0x61,0x75,0x74,0x6f]);}}function _0x293168(_0x448332){const _0x260d66=[new window[(_0x46978c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe63bd5=>setTimeout(_0xe63bd5,0x18c457d6^_0x547db2)),_0x1e296d[_0x46978c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46978c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x247db3=>{let _0x2e69c1=0x0;_0x251dfd[_0x46978c([0x6d,0x6f,0x64,0x65,0x6c])][_0x46978c([0x6f,0x6e])](_0x46978c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27d110,_0x1f1c10)=>{_0x1f1c10[0x0][_0x46978c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e69c1++,_0x2e69c1==(0x18cd68e2^_0x547db2)&&(_0x247db3(),_0x27d110[_0x46978c([0x6f,0x66,0x66])]());});}))];return window[_0x46978c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46978c([0x72,0x61,0x63,0x65])](_0x260d66)[_0x46978c([0x74,0x68,0x65,0x6e])](()=>_0x448332);}async function _0x30f082(){await _0x1e296d,_0x251dfd[_0x46978c([0x6d,0x6f,0x64,0x65,0x6c])][_0x46978c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24f1ed,_0x251dfd[_0x46978c([0x6d,0x6f,0x64,0x65,0x6c])][_0x46978c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24f1ed,_0x251dfd[_0x46978c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46978c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x430d5d(){return window[_0x46978c([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1594bf(_0x24f37a){const _0x229a8a=_0x213428();_0x251dfd[_0x229a8a]=_0x46978c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24f37a,_0x24f37a!=_0x46978c([0x56,0x61,0x6c,0x69,0x64])&&_0x30f082();}function _0x213428(){const _0x5e231c=window[_0x46978c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46978c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46978c([0x6e,0x6f,0x77])]())[_0x46978c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46978c([0x2e]),'');let _0x497603=_0x46978c([0x69]);for(let _0x25baf0=0x0;_0x25baf0<_0x5e231c[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25baf0+=0x2){let _0x3d812c=window[_0x46978c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e231c[_0x46978c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25baf0,_0x25baf0+0x2));_0x3d812c>=_0x25ebf2[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d812c-=_0x25ebf2[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x497603+=_0x25ebf2[_0x3d812c];}return _0x497603;}function _0x7feda7(){const _0x3e7833=_0x227b64[_0x46978c([0x73,0x70,0x6c,0x69,0x74])](_0x46978c([0x2e]));if(0x3!=_0x3e7833[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e1ccb(_0x3e7833[0x1]);function _0x5e1ccb(_0x24adb5){const _0x181bec=_0x463685(_0x24adb5);return _0x181bec&&_0x2764ba()?_0x181bec:null;function _0x2764ba(){const _0x1d7572=_0x181bec[_0x46978c([0x6a,0x74,0x69])],_0x4217bb=window[_0x46978c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d7572[_0x46978c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d7572[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x521798={..._0x181bec,[_0x46978c([0x6a,0x74,0x69])]:_0x1d7572[_0x46978c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d7572[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x521798[_0x46978c([0x76,0x63])],_0x601730(_0x521798)==_0x4217bb;}}}async function _0x3bee06(){let _0x28e23b=!0x0;try{const _0x34e362=_0x227b64[_0x46978c([0x73,0x70,0x6c,0x69,0x74])](_0x46978c([0x2e])),[_0x57adb5,_0x7d01b7,_0x52ac55]=_0x34e362;return _0x3c4972(_0x57adb5),await _0x53058e(_0x57adb5,_0x7d01b7,_0x52ac55),_0x28e23b;}catch{return!0x1;}function _0x3c4972(_0x46f01d){const _0x147769=_0x463685(_0x46f01d);_0x147769&&_0x147769[_0x46978c([0x61,0x6c,0x67])]==_0x46978c([0x45,0x53,0x32,0x35,0x36])||(_0x28e23b=!0x1);}async function _0x53058e(_0x2a878b,_0x354b77,_0x174f0d){const _0x7b1fdf=window[_0x46978c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46978c([0x66,0x72,0x6f,0x6d])](_0x490713(_0x174f0d),_0x2ea80f=>_0x2ea80f[_0x46978c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f54ed=new window[(_0x46978c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46978c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a878b+_0x46978c([0x2e])+_0x354b77),_0x345cfe=window[_0x46978c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46978c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x345cfe)return;const _0x475d0f=await _0x345cfe[_0x46978c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46978c([0x6a,0x77,0x6b]),_0x5be7e9,{[_0x46978c([0x6e,0x61,0x6d,0x65])]:_0x46978c([0x45,0x43,0x44,0x53,0x41]),[_0x46978c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46978c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46978c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x345cfe[_0x46978c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46978c([0x6e,0x61,0x6d,0x65])]:_0x46978c([0x45,0x43,0x44,0x53,0x41]),[_0x46978c([0x68,0x61,0x73,0x68])]:{[_0x46978c([0x6e,0x61,0x6d,0x65])]:_0x46978c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x475d0f,_0x7b1fdf,_0x4f54ed)||(_0x28e23b=!0x1);}}function _0x463685(_0x5aae76){return _0x5aae76[_0x46978c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46978c([0x65,0x79]))?JSON[_0x46978c([0x70,0x61,0x72,0x73,0x65])](_0x490713(_0x5aae76)):null;}function _0x490713(_0x1227f5){return window[_0x46978c([0x61,0x74,0x6f,0x62])](_0x1227f5[_0x46978c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46978c([0x2b]))[_0x46978c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46978c([0x2f])));}function _0x601730(_0x49436d){let _0x230fd3=0x1505;function _0x3de3f9(_0x66078a){for(let _0x458390=0x0;_0x458390<_0x66078a[_0x46978c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x458390++){const _0x2becf=_0x66078a[_0x46978c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x458390);_0x230fd3=(_0x230fd3<<0x5)+_0x230fd3+_0x2becf,_0x230fd3&=_0x230fd3;}}function _0x3d2373(_0x382582){Array[_0x46978c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x382582)?_0x382582[_0x46978c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d2373):_0x382582&&typeof _0x382582==_0x46978c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46978c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x382582)[_0x46978c([0x73,0x6f,0x72,0x74])]()[_0x46978c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22e253,_0x131e5])=>{_0x3de3f9(_0x22e253),_0x3d2373(_0x131e5);}):_0x3de3f9(window[_0x46978c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x382582));}return _0x3d2373(_0x49436d),_0x230fd3>>>0x0;}function _0x76436b(_0x3bf908){return _0x3bf908[_0x46978c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46978c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46978c([0x30]));}function _0x4fc4d9(_0x1e54d7){return _0x1e54d7[_0x46978c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46978c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46978c([0x6a,0x6f,0x69,0x6e])]('');}function _0x24f1ed(){}function _0x46978c(_0x4e0261){return _0x4e0261['map'](_0x363c27=>String['fromCharCode'](_0x363c27))['join']('');}_0x1594bf(await _0x1099f7());}(this);}['_createTemplateListView'](_0x5c79bb,_0x5ccc78){const {editor:_0x565af9}=this,_0x5f722b=new y(_0x5c79bb);return _0x5f722b['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5f722b['items']['addMany'](_0x5ccc78['map']((_0x4f3198,_0x55ecb4)=>{const _0x2fc553=new b(_0x5c79bb,_0x55ecb4),_0x3a32e4=new h(_0x5c79bb,_0x4f3198);return _0x2fc553['buttonView']=_0x3a32e4,_0x2fc553['children']['add'](_0x3a32e4),_0x2fc553['buttonView']['on']('execute',_0x2ab309=>{_0x565af9['execute']('insertTemplate',_0x2ab309['source']['templateDefinition']['data']),_0x565af9['editing']['view']['focus']();}),_0x2fc553;})),_0x5f722b;}}class K extends _0x119cd5{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": "0.0.0-nightly-20250806.0",
3
+ "version": "0.0.0-nightly-20250807.0",
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": "0.0.0-nightly-20250806.0",
26
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250806.0",
27
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250806.0",
28
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250806.0",
29
- "ckeditor5": "0.0.0-nightly-20250806.0"
25
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250807.0",
26
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250807.0",
27
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250807.0",
28
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250807.0",
29
+ "ckeditor5": "0.0.0-nightly-20250807.0"
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
- function _0x42b5(_0x546bf1,_0x30e95d){const _0xbf2a2e=_0xbf2a();return _0x42b5=function(_0x42b503,_0x218c03){_0x42b503=_0x42b503-0x1f2;let _0x2ce502=_0xbf2a2e[_0x42b503];return _0x2ce502;},_0x42b5(_0x546bf1,_0x30e95d);}const _0x4870a5=_0x42b5;(function(_0x3d653e,_0x379a6f){const _0x2b47fb=_0x42b5,_0x33b4f3=_0x3d653e();while(!![]){try{const _0x5c7b17=-parseInt(_0x2b47fb(0x20f))/0x1*(parseInt(_0x2b47fb(0x21f))/0x2)+-parseInt(_0x2b47fb(0x223))/0x3+parseInt(_0x2b47fb(0x206))/0x4*(parseInt(_0x2b47fb(0x207))/0x5)+-parseInt(_0x2b47fb(0x222))/0x6*(parseInt(_0x2b47fb(0x1fd))/0x7)+parseInt(_0x2b47fb(0x231))/0x8+-parseInt(_0x2b47fb(0x233))/0x9+-parseInt(_0x2b47fb(0x224))/0xa*(-parseInt(_0x2b47fb(0x219))/0xb);if(_0x5c7b17===_0x379a6f)break;else _0x33b4f3['push'](_0x33b4f3['shift']());}catch(_0x53bc52){_0x33b4f3['push'](_0x33b4f3['shift']());}}}(_0xbf2a,0xeac5b));import{Plugin as _0x1b90df}from'ckeditor5/src/core.js';import{IconTemplate as _0x18c951,IconTemplateGeneric as _0x4ff2b8}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x1ad264,MenuBarMenuListItemView as _0xbeef62,MenuBarMenuListView as _0x15287c,MenuBarMenuView as _0x174ae8,SearchTextView as _0x1cc2de,createDropdown as _0x3b9eaf}from'ckeditor5/src/ui.js';import{uid as _0x36b1a1}from'ckeditor5/src/utils.js';import{TemplateListView as _0x2274d7}from'./ui/templatelistview.js';import{TemplateListItemView as _0x265026}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x22eb5c}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x55b466}from'./utils/common-translations.js';import'../theme/template.css';function _0xbf2a(){const _0x225946=['search','buttonView','template.definitions','join','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','Template','componentFactory','config','47924437akkVUd','add','children','editing','source','panelView','2zcXAIO','query','map','886812yvcNun','5156058ARSyvo','10ajSNji','href','title','pluginName','length','change:isOpen','focus','afterInit','addMany','isPremiumPlugin','menuBar:insertTemplate','fromCharCode','ck-template-form','14775640smVwbG','bind','17203392naKHvs','get','items','Search\x20template','_createTemplateListView','isOfficialPlugin','resultsCount','set','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','%0\x20templates\x20found','templateDefinition','No\x20templates\x20available.','extendTemplate','view','84eaCefr','data','init','delegate','reset','icon','Insert\x20template','isEnabled','ariaLiveAnnouncer','18448MJkIUw','780hmgKxx','commands','announce','TemplateUI','listbox','ck-template-list','ck-template-button','insertTemplate','557769ufUXyT','execute'];_0xbf2a=function(){return _0x225946;};return _0xbf2a();}export class TemplateUI extends _0x1b90df{static get[_0x4870a5(0x227)](){const _0x1ec1f5=_0x4870a5;return _0x1ec1f5(0x20a);}static get[_0x4870a5(0x1f4)](){return!0x0;}static get[_0x4870a5(0x22d)](){return!0x0;}[_0x4870a5(0x1ff)](){const _0x56f4c8=_0x4870a5,{editor:_0x13713e}=this,_0x3c0b6f=_0x13713e[_0x56f4c8(0x218)][_0x56f4c8(0x234)](_0x56f4c8(0x213))||[];_0x13713e['ui'][_0x56f4c8(0x217)][_0x56f4c8(0x21a)](_0x56f4c8(0x20e),_0x49345f=>{const _0x230033=_0x56f4c8,_0x2ee468=_0x3b9eaf(_0x49345f),_0x5bc060=this[_0x230033(0x1f3)](_0x49345f,_0x3c0b6f),_0x583b00=new _0x1cc2de(_0x49345f,{'filteredView':_0x5bc060,'queryView':{'label':_0x55b466(_0x49345f,_0x230033(0x1f2))},'class':_0x230033(0x230),'infoView':{'text':{'notFound':{'primary':_0x3edf14=>_0x55b466(_0x49345f,_0x230033(0x215),_0x3edf14),'secondary':_0x55b466(_0x49345f,_0x230033(0x1f7))},'noSearchableItems':{'primary':_0x55b466(_0x49345f,_0x230033(0x1fa))}}}}),_0x1d4f40=_0x13713e[_0x230033(0x208)][_0x230033(0x234)](_0x230033(0x20e));return _0x583b00['on'](_0x230033(0x211),(_0x1b2d06,_0x522311)=>{const _0x44771f=_0x230033;_0x522311[_0x44771f(0x220)]&&_0x522311[_0x44771f(0x220)][_0x44771f(0x228)]&&_0x13713e['ui'][_0x44771f(0x205)][_0x44771f(0x209)](_0x55b466(_0x49345f,_0x44771f(0x1f8),_0x522311[_0x44771f(0x1f5)]));}),_0x2ee468[_0x230033(0x232)](_0x230033(0x204))['to'](_0x1d4f40),_0x2ee468[_0x230033(0x21e)][_0x230033(0x21b)][_0x230033(0x21a)](_0x583b00),_0x2ee468[_0x230033(0x212)][_0x230033(0x1f6)]({'label':_0x55b466(_0x49345f,_0x230033(0x203)),'icon':_0x18c951,'tooltip':!0x0}),_0x2ee468['on'](_0x230033(0x229),(_0x55009,_0x571c44,_0x4a4b01)=>{const _0x53c491=_0x230033;_0x4a4b01||_0x583b00[_0x53c491(0x201)]();}),_0x2ee468;}),_0x13713e['ui'][_0x56f4c8(0x217)][_0x56f4c8(0x21a)](_0x56f4c8(0x22e),_0xdc6b15=>{const _0x1ae453=_0x56f4c8,_0x2ae886=_0x13713e[_0x1ae453(0x208)][_0x1ae453(0x234)](_0x1ae453(0x20e)),_0x5d682d=new _0x174ae8(_0xdc6b15);_0x5d682d[_0x1ae453(0x212)][_0x1ae453(0x1f6)]({'label':_0x55b466(_0xdc6b15,_0x1ae453(0x216)),'icon':_0x18c951});const _0x173062=new _0x15287c(_0xdc6b15);if(!_0x3c0b6f||!_0x3c0b6f[_0x1ae453(0x228)]){const _0x31b1ea=new _0xbeef62(_0xdc6b15,_0x5d682d),_0x495a99=new _0x1ad264(_0xdc6b15);_0x495a99[_0x1ae453(0x1f6)]({'label':_0x55b466(_0xdc6b15,_0x1ae453(0x1fa))}),_0x495a99[_0x1ae453(0x200)](_0x1ae453(0x210))['to'](_0x5d682d),_0x495a99['on'](_0x1ae453(0x210),()=>{const _0x4d4a32=_0x1ae453;_0x13713e[_0x4d4a32(0x21c)][_0x4d4a32(0x1fc)][_0x4d4a32(0x22a)]();}),_0x31b1ea[_0x1ae453(0x21b)][_0x1ae453(0x21a)](_0x495a99),_0x173062[_0x1ae453(0x235)][_0x1ae453(0x21a)](_0x31b1ea);}for(const _0x5112ea of _0x3c0b6f){const _0x5b1f95=new _0xbeef62(_0xdc6b15,_0x5d682d),_0x1e53e0=new _0x1ad264(_0xdc6b15);_0x1e53e0[_0x1ae453(0x1f6)]({'class':_0x1ae453(0x20d),'label':_0x5112ea[_0x1ae453(0x226)],'icon':_0x5112ea[_0x1ae453(0x202)]||_0x4ff2b8}),_0x1e53e0[_0x1ae453(0x200)](_0x1ae453(0x210))['to'](_0x5d682d),_0x1e53e0['on'](_0x1ae453(0x210),()=>{const _0x5affd5=_0x1ae453;_0x13713e[_0x5affd5(0x210)](_0x5affd5(0x20e),_0x5112ea[_0x5affd5(0x1fe)]),_0x13713e[_0x5affd5(0x21c)][_0x5affd5(0x1fc)][_0x5affd5(0x22a)]();}),_0x5b1f95[_0x1ae453(0x21b)][_0x1ae453(0x21a)](_0x1e53e0),_0x173062[_0x1ae453(0x235)][_0x1ae453(0x21a)](_0x5b1f95);}return _0x5d682d[_0x1ae453(0x21e)][_0x1ae453(0x21b)][_0x1ae453(0x21a)](_0x173062),_0x5d682d[_0x1ae453(0x232)](_0x1ae453(0x204))['to'](_0x2ae886,_0x1ae453(0x204)),_0x5d682d;});}[_0x4870a5(0x22b)](){!async function(_0x58cc60){const _0x34b959=_0xfd71e1([0x4f,0x6c,0x59,0x48,0x49,0x50,0x6b,0x4b,0x67,0x38,0x44,0x4e,0x47,0x4a,0x5a,0x32,0x42,0x6a,0x68,0x77,0x72,0x55,0x65,0x45,0x58,0x34,0x69,0x53,0x7a,0x71,0x62,0x39,0x66,0x4c,0x64,0x37,0x4d,0x73,0x6e,0x41,0x57,0x35,0x56,0x51,0x46,0x76,0x43,0x78,0x74,0x33,0x6f,0x61,0x36,0x6d,0x79,0x75,0x54,0x63,0x52,0x30,0x70,0x31]),_0x1093b7=0x22ea2be0,_0x28d966=0x22ed4450^_0x1093b7,_0x1fe2d9=window[_0xfd71e1([0x44,0x61,0x74,0x65])][_0xfd71e1([0x6e,0x6f,0x77])](),_0x10c56d=_0x58cc60[_0xfd71e1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1351f9=new window[(_0xfd71e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55dab6=>{_0x10c56d[_0xfd71e1([0x6f,0x6e,0x63,0x65])](_0xfd71e1([0x72,0x65,0x61,0x64,0x79]),_0x55dab6);}),_0x162277={[_0xfd71e1([0x6b,0x74,0x79])]:_0xfd71e1([0x45,0x43]),[_0xfd71e1([0x75,0x73,0x65])]:_0xfd71e1([0x73,0x69,0x67]),[_0xfd71e1([0x63,0x72,0x76])]:_0xfd71e1([0x50,0x2d,0x32,0x35,0x36]),[_0xfd71e1([0x78])]:_0xfd71e1([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]),[_0xfd71e1([0x79])]:_0xfd71e1([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]),[_0xfd71e1([0x61,0x6c,0x67])]:_0xfd71e1([0x45,0x53,0x32,0x35,0x36])},_0x4ca054=_0x10c56d[_0xfd71e1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfd71e1([0x67,0x65,0x74])](_0xfd71e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24e549(){let _0x57d39e,_0x1a6e0b=null,_0x4b27fc=null;try{if(_0x4ca054==_0xfd71e1([0x47,0x50,0x4c]))return _0xfd71e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57d39e=_0xb456f0(),!_0x57d39e)return _0xfd71e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57d39e[_0xfd71e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b27fc=_0x38669c(_0x57d39e[_0xfd71e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57d39e[_0xfd71e1([0x6a,0x74,0x69])])),await _0x81c7c9()?_0x337fd3()?_0x2f5890()?_0xfd71e1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39ab42()?(_0x57d39e[_0xfd71e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfd71e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a6e0b=_0x232e9d(_0xfd71e1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57d39e[_0xfd71e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfd71e1([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a6e0b=_0x232e9d(_0xfd71e1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37d767()):_0xfd71e1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfd71e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfd71e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xfd71e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f5890(){const _0xdd37dc=[_0xfd71e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfd71e1([0x74,0x72,0x69,0x61,0x6c])][_0xfd71e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57d39e[_0xfd71e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fe2d9/0x3e8:0xe10*_0x28d966;return _0x57d39e[_0xfd71e1([0x65,0x78,0x70])]<_0xdd37dc;}function _0x337fd3(){const _0x1c1aa9=_0x57d39e[_0xfd71e1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c1aa9&&(!!_0x1c1aa9[_0xfd71e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfd71e1([0x2a]))||(!!_0x1c1aa9[_0xfd71e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfd71e1([0x54,0x50,0x4c]))||(!!_0x1c1aa9[_0xfd71e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfd71e1([0x50,0x50]))||!(!_0x1c1aa9[_0xfd71e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfd71e1([0x44,0x52,0x55,0x50]))||!_0x40915e()))));}function _0x39ab42(){const _0x3ac9f1=_0x42b5,_0x3e28a2=_0x57d39e[_0xfd71e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e28a2||0x0==_0x3e28a2[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8f1bd4}=new URL(window[_0xfd71e1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ac9f1(0x225)]);if(_0x3e28a2[_0xfd71e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8f1bd4))return!0x0;const _0x2c3dab=_0x8f1bd4[_0xfd71e1([0x73,0x70,0x6c,0x69,0x74])](_0xfd71e1([0x2e]));return _0x3e28a2[_0xfd71e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x191d3c=>_0x191d3c[_0xfd71e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfd71e1([0x2a])))[_0xfd71e1([0x6d,0x61,0x70])](_0x235ecc=>_0x235ecc[_0xfd71e1([0x73,0x70,0x6c,0x69,0x74])](_0xfd71e1([0x2e])))[_0xfd71e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5eae03=>_0x5eae03[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c3dab[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfd71e1([0x6d,0x61,0x70])](_0x1e37d6=>Array(_0x2c3dab[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e37d6[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfd71e1([0x66,0x69,0x6c,0x6c])](_0x1e37d6[0x0]===_0xfd71e1([0x2a])?_0xfd71e1([0x2a]):'')[_0xfd71e1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e37d6))[_0xfd71e1([0x73,0x6f,0x6d,0x65])](_0x2e0a72=>_0x2c3dab[_0xfd71e1([0x65,0x76,0x65,0x72,0x79])]((_0x3c1f6e,_0x37e2fc)=>_0x2e0a72[_0x37e2fc]===_0x3c1f6e||_0x2e0a72[_0x37e2fc]===_0xfd71e1([0x2a])));}function _0x37d767(){return _0x1a6e0b&&_0x4b27fc?new window[(_0xfd71e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33ccba,_0x33cd21)=>{_0x1a6e0b[_0xfd71e1([0x74,0x68,0x65,0x6e])](_0x33ccba,_0x33cd21),_0x4b27fc[_0xfd71e1([0x74,0x68,0x65,0x6e])](_0x3f6a10=>{_0x3f6a10!=_0xfd71e1([0x56,0x61,0x6c,0x69,0x64])&&_0x33ccba(_0x3f6a10);},_0x33cd21);}):_0x1a6e0b||_0x4b27fc||_0xfd71e1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38669c(_0x2da6d7,_0x37fa1f){return new window[(_0xfd71e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x361860=>{if(_0x4b0839())return _0x361860(_0xfd71e1([0x56,0x61,0x6c,0x69,0x64]));_0x54591f(),_0x10c56d[_0xfd71e1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfd71e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3682d4=!0x1;const _0x2a813d=_0x36b1a1();function _0x508db5(_0x3819db){return!!_0x3819db&&(typeof _0x3819db===_0xfd71e1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3819db===_0xfd71e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3819db[_0xfd71e1([0x74,0x68,0x65,0x6e])]===_0xfd71e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3819db[_0xfd71e1([0x63,0x61,0x74,0x63,0x68])]===_0xfd71e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x249965(_0x493f8f){_0x19635f(_0x493f8f)[_0xfd71e1([0x74,0x68,0x65,0x6e])](_0x492a1b=>{if(!_0x492a1b||_0x492a1b[_0xfd71e1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfd71e1([0x6f,0x6b]))return _0xfd71e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1851aa(_0x5b21a8(_0x2a813d+_0x37fa1f))!=_0x492a1b[_0xfd71e1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfd71e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfd71e1([0x56,0x61,0x6c,0x69,0x64]);})[_0xfd71e1([0x74,0x68,0x65,0x6e])](_0x42ecb3=>(_0xd45385(),_0x42ecb3),()=>{const _0x2b2691=_0x3a0475();return null==_0x2b2691?(_0xd45385(),_0xfd71e1([0x56,0x61,0x6c,0x69,0x64])):_0xfd71e1(_0x1fe2d9-_0x2b2691>(0x6e6afe0^_0x1093b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfd71e1([0x74,0x68,0x65,0x6e])](_0x361860)[_0xfd71e1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x361860(_0xfd71e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x509895=0x22dcc560^_0x1093b7;function _0xd45385(){const _0x430fce=_0xfd71e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1851aa(_0x5b21a8(_0x2da6d7)),_0x20befc=_0x5e6d65(_0x1851aa(window[_0xfd71e1([0x4d,0x61,0x74,0x68])][_0xfd71e1([0x63,0x65,0x69,0x6c])](_0x1fe2d9/_0x509895)));window[_0xfd71e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfd71e1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x430fce,_0x20befc);}function _0x3a0475(){const _0x4a3ebc=_0xfd71e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1851aa(_0x5b21a8(_0x2da6d7)),_0xb876e2=window[_0xfd71e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfd71e1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a3ebc);return _0xb876e2?window[_0xfd71e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e6d65(_0xb876e2),0x10)*_0x509895:null;}function _0x19635f(_0x12789b){return new window[(_0xfd71e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b121b,_0x31654c)=>{_0x12789b[_0xfd71e1([0x74,0x68,0x65,0x6e])](_0x4b121b,_0x31654c),window[_0xfd71e1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31654c,0x22ebff20^_0x1093b7);});}}_0x10c56d[_0xfd71e1([0x6f,0x6e])](_0xfd71e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x459f64,_0x2fc5de)=>{if(_0x2fc5de[0x0]!=_0x2da6d7)return _0x361860(_0xfd71e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2fc5de[0x1]={..._0x2fc5de[0x1],[_0xfd71e1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a813d};},{[_0xfd71e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfd71e1([0x68,0x69,0x67,0x68])}),_0x10c56d[_0xfd71e1([0x6f,0x6e])](_0xfd71e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c07c2=>{_0x508db5(_0x2c07c2[_0xfd71e1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3682d4=!0x0,_0x249965(_0x2c07c2[_0xfd71e1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfd71e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfd71e1([0x6c,0x6f,0x77])}),_0x1351f9[_0xfd71e1([0x74,0x68,0x65,0x6e])](()=>{_0x3682d4||_0x361860(_0xfd71e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b0839(){return _0x10c56d[_0xfd71e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfd71e1([0x76,0x69,0x65,0x77])][_0xfd71e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfd71e1([0x61,0x75,0x74,0x6f]);}function _0x54591f(){_0x10c56d[_0xfd71e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfd71e1([0x76,0x69,0x65,0x77])][_0xfd71e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfd71e1([0x61,0x75,0x74,0x6f]);}}function _0x232e9d(_0x476337){const _0x377032=[new window[(_0xfd71e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x803d90=>setTimeout(_0x803d90,0x22e3152c^_0x1093b7)),_0x1351f9[_0xfd71e1([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfd71e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e8c71=>{let _0x18058c=0x0;_0x10c56d[_0xfd71e1([0x6d,0x6f,0x64,0x65,0x6c])][_0xfd71e1([0x6f,0x6e])](_0xfd71e1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x299654,_0x1f11a1)=>{_0x1f11a1[0x0][_0xfd71e1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18058c++,_0x18058c==(0x22ea2a18^_0x1093b7)&&(_0x1e8c71(),_0x299654[_0xfd71e1([0x6f,0x66,0x66])]());});}))];return window[_0xfd71e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfd71e1([0x72,0x61,0x63,0x65])](_0x377032)[_0xfd71e1([0x74,0x68,0x65,0x6e])](()=>_0x476337);}async function _0x56054b(){await _0x1351f9,_0x10c56d[_0xfd71e1([0x6d,0x6f,0x64,0x65,0x6c])][_0xfd71e1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x402735,_0x10c56d[_0xfd71e1([0x6d,0x6f,0x64,0x65,0x6c])][_0xfd71e1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x402735,_0x10c56d[_0xfd71e1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfd71e1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40915e(){return window[_0xfd71e1([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1ea4ea(_0x4f1083){const _0x441025=_0x49e1a5();_0x10c56d[_0x441025]=_0xfd71e1([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f1083,_0x4f1083!=_0xfd71e1([0x56,0x61,0x6c,0x69,0x64])&&_0x56054b();}function _0x49e1a5(){const _0x2a5eef=window[_0xfd71e1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfd71e1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfd71e1([0x6e,0x6f,0x77])]())[_0xfd71e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfd71e1([0x2e]),'');let _0x532313=_0xfd71e1([0x4f]);for(let _0x22046a=0x0;_0x22046a<_0x2a5eef[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22046a+=0x2){let _0x500cbe=window[_0xfd71e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a5eef[_0xfd71e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22046a,_0x22046a+0x2));_0x500cbe>=_0x34b959[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x500cbe-=_0x34b959[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x532313+=_0x34b959[_0x500cbe];}return _0x532313;}function _0xb456f0(){const _0x2c25d6=_0x4ca054[_0xfd71e1([0x73,0x70,0x6c,0x69,0x74])](_0xfd71e1([0x2e]));if(0x3!=_0x2c25d6[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x331381(_0x2c25d6[0x1]);function _0x331381(_0x1818d9){const _0x491fe8=_0x3ac70d(_0x1818d9);return _0x491fe8&&_0x5d6333()?_0x491fe8:null;function _0x5d6333(){const _0x406f37=_0x491fe8[_0xfd71e1([0x6a,0x74,0x69])],_0x196e94=window[_0xfd71e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x406f37[_0xfd71e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x406f37[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3a5dfc={..._0x491fe8,[_0xfd71e1([0x6a,0x74,0x69])]:_0x406f37[_0xfd71e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x406f37[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3a5dfc[_0xfd71e1([0x76,0x63])],_0x5b21a8(_0x3a5dfc)==_0x196e94;}}}async function _0x81c7c9(){let _0x44e7e1=!0x0;try{const _0x261be5=_0x4ca054[_0xfd71e1([0x73,0x70,0x6c,0x69,0x74])](_0xfd71e1([0x2e])),[_0x5c8947,_0x4aaf90,_0x5070ad]=_0x261be5;return _0x137ec9(_0x5c8947),await _0x405a2d(_0x5c8947,_0x4aaf90,_0x5070ad),_0x44e7e1;}catch{return!0x1;}function _0x137ec9(_0x4d8ed3){const _0x42e565=_0x3ac70d(_0x4d8ed3);_0x42e565&&_0x42e565[_0xfd71e1([0x61,0x6c,0x67])]==_0xfd71e1([0x45,0x53,0x32,0x35,0x36])||(_0x44e7e1=!0x1);}async function _0x405a2d(_0x1f60fd,_0x46f66b,_0x3f5b4e){const _0x50cbab=window[_0xfd71e1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfd71e1([0x66,0x72,0x6f,0x6d])](_0x571cca(_0x3f5b4e),_0x88dfbf=>_0x88dfbf[_0xfd71e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x478a61=new window[(_0xfd71e1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfd71e1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f60fd+_0xfd71e1([0x2e])+_0x46f66b),_0x2dc631=window[_0xfd71e1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfd71e1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2dc631)return;const _0x106cdd=await _0x2dc631[_0xfd71e1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfd71e1([0x6a,0x77,0x6b]),_0x162277,{[_0xfd71e1([0x6e,0x61,0x6d,0x65])]:_0xfd71e1([0x45,0x43,0x44,0x53,0x41]),[_0xfd71e1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfd71e1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfd71e1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2dc631[_0xfd71e1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfd71e1([0x6e,0x61,0x6d,0x65])]:_0xfd71e1([0x45,0x43,0x44,0x53,0x41]),[_0xfd71e1([0x68,0x61,0x73,0x68])]:{[_0xfd71e1([0x6e,0x61,0x6d,0x65])]:_0xfd71e1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x106cdd,_0x50cbab,_0x478a61)||(_0x44e7e1=!0x1);}}function _0x3ac70d(_0x1b7e07){return _0x1b7e07[_0xfd71e1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfd71e1([0x65,0x79]))?JSON[_0xfd71e1([0x70,0x61,0x72,0x73,0x65])](_0x571cca(_0x1b7e07)):null;}function _0x571cca(_0x49090c){return window[_0xfd71e1([0x61,0x74,0x6f,0x62])](_0x49090c[_0xfd71e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfd71e1([0x2b]))[_0xfd71e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfd71e1([0x2f])));}function _0x5b21a8(_0x439ee1){let _0x3e28b0=0x1505;function _0x2a0706(_0x174cd3){for(let _0x178f61=0x0;_0x178f61<_0x174cd3[_0xfd71e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x178f61++){const _0x59b814=_0x174cd3[_0xfd71e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x178f61);_0x3e28b0=(_0x3e28b0<<0x5)+_0x3e28b0+_0x59b814,_0x3e28b0&=_0x3e28b0;}}function _0x3d41ef(_0x2d8d39){Array[_0xfd71e1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d8d39)?_0x2d8d39[_0xfd71e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d41ef):_0x2d8d39&&typeof _0x2d8d39==_0xfd71e1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfd71e1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d8d39)[_0xfd71e1([0x73,0x6f,0x72,0x74])]()[_0xfd71e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3987df,_0x50d59b])=>{_0x2a0706(_0x3987df),_0x3d41ef(_0x50d59b);}):_0x2a0706(window[_0xfd71e1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d8d39));}return _0x3d41ef(_0x439ee1),_0x3e28b0>>>0x0;}function _0x1851aa(_0xdc6074){return _0xdc6074[_0xfd71e1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfd71e1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfd71e1([0x30]));}function _0x5e6d65(_0x15ad61){return _0x15ad61[_0xfd71e1([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfd71e1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfd71e1([0x6a,0x6f,0x69,0x6e])]('');}function _0x402735(){}function _0xfd71e1(_0x44c594){const _0x4db0c0=_0x42b5;return _0x44c594[_0x4db0c0(0x221)](_0x12b2f6=>String[_0x4db0c0(0x22f)](_0x12b2f6))[_0x4db0c0(0x214)]('');}_0x1ea4ea(await _0x24e549());}(this);}[_0x4870a5(0x1f3)](_0x2c2554,_0x4284f9){const _0x161992=_0x4870a5,{editor:_0x381732}=this,_0x252449=new _0x2274d7(_0x2c2554);return _0x252449[_0x161992(0x1fb)]({'attributes':{'role':_0x161992(0x20b),'class':[_0x161992(0x20c)]}}),_0x252449[_0x161992(0x235)][_0x161992(0x22c)](_0x4284f9[_0x161992(0x221)]((_0xd325b3,_0x5dafbd)=>{const _0x2faddf=_0x161992,_0x2a71f7=new _0x265026(_0x2c2554,_0x5dafbd),_0x296325=new _0x22eb5c(_0x2c2554,_0xd325b3);return _0x2a71f7[_0x2faddf(0x212)]=_0x296325,_0x2a71f7[_0x2faddf(0x21b)][_0x2faddf(0x21a)](_0x296325),_0x2a71f7[_0x2faddf(0x212)]['on'](_0x2faddf(0x210),_0x2d93d3=>{const _0x15aa19=_0x2faddf;_0x381732[_0x15aa19(0x210)](_0x15aa19(0x20e),_0x2d93d3[_0x15aa19(0x21d)][_0x15aa19(0x1f9)][_0x15aa19(0x1fe)]),_0x381732[_0x15aa19(0x21c)][_0x15aa19(0x1fc)][_0x15aa19(0x22a)]();}),_0x2a71f7;})),_0x252449;}}
23
+ const _0x215b2e=_0x20c4;(function(_0x469097,_0x29eaef){const _0x27c5c1=_0x20c4,_0x1d8153=_0x469097();while(!![]){try{const _0x415865=parseInt(_0x27c5c1(0x18c))/0x1+parseInt(_0x27c5c1(0x1a0))/0x2*(-parseInt(_0x27c5c1(0x1b0))/0x3)+-parseInt(_0x27c5c1(0x17e))/0x4+parseInt(_0x27c5c1(0x1ac))/0x5+parseInt(_0x27c5c1(0x19f))/0x6*(-parseInt(_0x27c5c1(0x1ba))/0x7)+-parseInt(_0x27c5c1(0x185))/0x8+parseInt(_0x27c5c1(0x17a))/0x9;if(_0x415865===_0x29eaef)break;else _0x1d8153['push'](_0x1d8153['shift']());}catch(_0x592f22){_0x1d8153['push'](_0x1d8153['shift']());}}}(_0x19ee,0xc5333));import{Plugin as _0x580c63}from'ckeditor5/src/core.js';import{IconTemplate as _0x1ddea9,IconTemplateGeneric as _0x109bb2}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0xf87349,MenuBarMenuListItemView as _0x45c5f9,MenuBarMenuListView as _0x1bd8f9,MenuBarMenuView as _0x2705ff,SearchTextView as _0x1fb355,createDropdown as _0x2ef855}from'ckeditor5/src/ui.js';import{uid as _0x5d29fb}from'ckeditor5/src/utils.js';import{TemplateListView as _0x325230}from'./ui/templatelistview.js';function _0x20c4(_0x423273,_0x36d5cb){const _0x19ee37=_0x19ee();return _0x20c4=function(_0x20c4ce,_0x4bb8ee){_0x20c4ce=_0x20c4ce-0x179;let _0x2a2ece=_0x19ee37[_0x20c4ce];return _0x2a2ece;},_0x20c4(_0x423273,_0x36d5cb);}import{TemplateListItemView as _0x5f107b}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x460437}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x528f6}from'./utils/common-translations.js';import'../theme/template.css';function _0x19ee(){const _0x221cdd=['length','announce','reset','get','icon','isOfficialPlugin','add','911974TIiJAC','query','32732739nqJCiD','children','templateDefinition','afterInit','6168708PYZZGR','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','change:isOpen','TemplateUI','data','ck-template-button','Template','9435208kJsLmt','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','title','config','set','Insert\x20template','fromCharCode','174500BdBfVs','_createTemplateListView','pluginName','items','componentFactory','insertTemplate','Search\x20template','template.definitions','ariaLiveAnnouncer','No\x20templates\x20available.','panelView','delegate','commands','focus','resultsCount','search','init','ck-template-list','%0\x20templates\x20found','42eqxlCR','6EjKqgT','href','editing','listbox','addMany','bind','buttonView','execute','map','source','isEnabled','join','6397745ZaXddP','ck-template-form','view','extendTemplate','649737kLlUWB','isPremiumPlugin','menuBar:insertTemplate'];_0x19ee=function(){return _0x221cdd;};return _0x19ee();}export class TemplateUI extends _0x580c63{static get[_0x215b2e(0x18e)](){const _0x36e16d=_0x215b2e;return _0x36e16d(0x181);}static get[_0x215b2e(0x1b8)](){return!0x0;}static get[_0x215b2e(0x1b1)](){return!0x0;}[_0x215b2e(0x19c)](){const _0x5bb7b4=_0x215b2e,{editor:_0x469cfd}=this,_0x146fbf=_0x469cfd[_0x5bb7b4(0x188)][_0x5bb7b4(0x1b6)](_0x5bb7b4(0x193))||[];_0x469cfd['ui'][_0x5bb7b4(0x190)][_0x5bb7b4(0x1b9)](_0x5bb7b4(0x191),_0x1df099=>{const _0x50aee3=_0x5bb7b4,_0x4fc92a=_0x2ef855(_0x1df099),_0x4c6bc2=this[_0x50aee3(0x18d)](_0x1df099,_0x146fbf),_0x42b31c=new _0x1fb355(_0x1df099,{'filteredView':_0x4c6bc2,'queryView':{'label':_0x528f6(_0x1df099,_0x50aee3(0x192))},'class':_0x50aee3(0x1ad),'infoView':{'text':{'notFound':{'primary':_0x2f6153=>_0x528f6(_0x1df099,_0x50aee3(0x17f),_0x2f6153),'secondary':_0x528f6(_0x1df099,_0x50aee3(0x186))},'noSearchableItems':{'primary':_0x528f6(_0x1df099,_0x50aee3(0x195))}}}}),_0x817c3c=_0x469cfd[_0x50aee3(0x198)][_0x50aee3(0x1b6)](_0x50aee3(0x191));return _0x42b31c['on'](_0x50aee3(0x19b),(_0x24279f,_0x122c70)=>{const _0x163bf5=_0x50aee3;_0x122c70[_0x163bf5(0x179)]&&_0x122c70[_0x163bf5(0x179)][_0x163bf5(0x1b3)]&&_0x469cfd['ui'][_0x163bf5(0x194)][_0x163bf5(0x1b4)](_0x528f6(_0x1df099,_0x163bf5(0x19e),_0x122c70[_0x163bf5(0x19a)]));}),_0x4fc92a[_0x50aee3(0x1a5)](_0x50aee3(0x1aa))['to'](_0x817c3c),_0x4fc92a[_0x50aee3(0x196)][_0x50aee3(0x17b)][_0x50aee3(0x1b9)](_0x42b31c),_0x4fc92a[_0x50aee3(0x1a6)][_0x50aee3(0x189)]({'label':_0x528f6(_0x1df099,_0x50aee3(0x18a)),'icon':_0x1ddea9,'tooltip':!0x0}),_0x4fc92a['on'](_0x50aee3(0x180),(_0x52a72d,_0x1ef7dc,_0x17e11a)=>{const _0x5ebb2e=_0x50aee3;_0x17e11a||_0x42b31c[_0x5ebb2e(0x1b5)]();}),_0x4fc92a;}),_0x469cfd['ui'][_0x5bb7b4(0x190)][_0x5bb7b4(0x1b9)](_0x5bb7b4(0x1b2),_0x3dd7b7=>{const _0x40c3e1=_0x5bb7b4,_0x56060b=_0x469cfd[_0x40c3e1(0x198)][_0x40c3e1(0x1b6)](_0x40c3e1(0x191)),_0x1b509e=new _0x2705ff(_0x3dd7b7);_0x1b509e[_0x40c3e1(0x1a6)][_0x40c3e1(0x189)]({'label':_0x528f6(_0x3dd7b7,_0x40c3e1(0x184)),'icon':_0x1ddea9});const _0x2912cc=new _0x1bd8f9(_0x3dd7b7);if(!_0x146fbf||!_0x146fbf[_0x40c3e1(0x1b3)]){const _0x243b3c=new _0x45c5f9(_0x3dd7b7,_0x1b509e),_0x34bc93=new _0xf87349(_0x3dd7b7);_0x34bc93[_0x40c3e1(0x189)]({'label':_0x528f6(_0x3dd7b7,_0x40c3e1(0x195))}),_0x34bc93[_0x40c3e1(0x197)](_0x40c3e1(0x1a7))['to'](_0x1b509e),_0x34bc93['on'](_0x40c3e1(0x1a7),()=>{const _0x6f4f4=_0x40c3e1;_0x469cfd[_0x6f4f4(0x1a2)][_0x6f4f4(0x1ae)][_0x6f4f4(0x199)]();}),_0x243b3c[_0x40c3e1(0x17b)][_0x40c3e1(0x1b9)](_0x34bc93),_0x2912cc[_0x40c3e1(0x18f)][_0x40c3e1(0x1b9)](_0x243b3c);}for(const _0x29208c of _0x146fbf){const _0x4941c1=new _0x45c5f9(_0x3dd7b7,_0x1b509e),_0x14e025=new _0xf87349(_0x3dd7b7);_0x14e025[_0x40c3e1(0x189)]({'class':_0x40c3e1(0x183),'label':_0x29208c[_0x40c3e1(0x187)],'icon':_0x29208c[_0x40c3e1(0x1b7)]||_0x109bb2}),_0x14e025[_0x40c3e1(0x197)](_0x40c3e1(0x1a7))['to'](_0x1b509e),_0x14e025['on'](_0x40c3e1(0x1a7),()=>{const _0x2d73c2=_0x40c3e1;_0x469cfd[_0x2d73c2(0x1a7)](_0x2d73c2(0x191),_0x29208c[_0x2d73c2(0x182)]),_0x469cfd[_0x2d73c2(0x1a2)][_0x2d73c2(0x1ae)][_0x2d73c2(0x199)]();}),_0x4941c1[_0x40c3e1(0x17b)][_0x40c3e1(0x1b9)](_0x14e025),_0x2912cc[_0x40c3e1(0x18f)][_0x40c3e1(0x1b9)](_0x4941c1);}return _0x1b509e[_0x40c3e1(0x196)][_0x40c3e1(0x17b)][_0x40c3e1(0x1b9)](_0x2912cc),_0x1b509e[_0x40c3e1(0x1a5)](_0x40c3e1(0x1aa))['to'](_0x56060b,_0x40c3e1(0x1aa)),_0x1b509e;});}[_0x215b2e(0x17d)](){!async function(_0x21fbe9){const _0x542b42=_0x24bacf([0x69,0x4f,0x6c,0x62,0x6a,0x50,0x31,0x47,0x6f,0x58,0x71,0x70,0x73,0x63,0x61,0x6d,0x4a,0x6e,0x42,0x4e,0x33,0x6b,0x4c,0x66,0x74,0x64,0x52,0x43,0x56,0x34,0x4b,0x46,0x5a,0x30,0x79,0x53,0x65,0x37,0x55,0x77,0x75,0x72,0x48,0x54,0x59,0x4d,0x32,0x68,0x67,0x7a,0x57,0x49,0x36,0x38,0x41,0x39,0x76,0x78,0x35,0x45,0x44,0x51]),_0x4becc2=0x18cd691a,_0x16987f=0x18ca06d2^_0x4becc2,_0x3f4cff=window[_0x24bacf([0x44,0x61,0x74,0x65])][_0x24bacf([0x6e,0x6f,0x77])](),_0x2fb46e=_0x21fbe9[_0x24bacf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x219f8e=new window[(_0x24bacf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11a14e=>{_0x2fb46e[_0x24bacf([0x6f,0x6e,0x63,0x65])](_0x24bacf([0x72,0x65,0x61,0x64,0x79]),_0x11a14e);}),_0x561f00={[_0x24bacf([0x6b,0x74,0x79])]:_0x24bacf([0x45,0x43]),[_0x24bacf([0x75,0x73,0x65])]:_0x24bacf([0x73,0x69,0x67]),[_0x24bacf([0x63,0x72,0x76])]:_0x24bacf([0x50,0x2d,0x32,0x35,0x36]),[_0x24bacf([0x78])]:_0x24bacf([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]),[_0x24bacf([0x79])]:_0x24bacf([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]),[_0x24bacf([0x61,0x6c,0x67])]:_0x24bacf([0x45,0x53,0x32,0x35,0x36])},_0x49809f=_0x2fb46e[_0x24bacf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24bacf([0x67,0x65,0x74])](_0x24bacf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x491793(){let _0x486a59,_0x3c004d=null,_0x10ba26=null;try{if(_0x49809f==_0x24bacf([0x47,0x50,0x4c]))return _0x24bacf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x486a59=_0x59cb35(),!_0x486a59)return _0x24bacf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x486a59[_0x24bacf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10ba26=_0x160642(_0x486a59[_0x24bacf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x486a59[_0x24bacf([0x6a,0x74,0x69])])),await _0x24521d()?_0x3f4f7c()?_0x19c464()?_0x24bacf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e136e()?(_0x486a59[_0x24bacf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24bacf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c004d=_0x3c0e93(_0x24bacf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x486a59[_0x24bacf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24bacf([0x74,0x72,0x69,0x61,0x6c])&&(_0x3c004d=_0x3c0e93(_0x24bacf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1c3eb6()):_0x24bacf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24bacf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24bacf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24bacf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19c464(){const _0x5272a5=[_0x24bacf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24bacf([0x74,0x72,0x69,0x61,0x6c])][_0x24bacf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x486a59[_0x24bacf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f4cff/0x3e8:0xe10*_0x16987f;return _0x486a59[_0x24bacf([0x65,0x78,0x70])]<_0x5272a5;}function _0x3f4f7c(){const _0x8664c2=_0x486a59[_0x24bacf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x8664c2&&(!!_0x8664c2[_0x24bacf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24bacf([0x2a]))||(!!_0x8664c2[_0x24bacf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24bacf([0x54,0x50,0x4c]))||(!!_0x8664c2[_0x24bacf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24bacf([0x50,0x50]))||!(!_0x8664c2[_0x24bacf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24bacf([0x44,0x52,0x55,0x50]))||!_0x5de0ed()))));}function _0x3e136e(){const _0xdbd98d=_0x20c4,_0x2b5ef3=_0x486a59[_0x24bacf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b5ef3||0x0==_0x2b5ef3[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e3223}=new URL(window[_0x24bacf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xdbd98d(0x1a1)]);if(_0x2b5ef3[_0x24bacf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e3223))return!0x0;const _0x2a82e8=_0x1e3223[_0x24bacf([0x73,0x70,0x6c,0x69,0x74])](_0x24bacf([0x2e]));return _0x2b5ef3[_0x24bacf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51d420=>_0x51d420[_0x24bacf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24bacf([0x2a])))[_0x24bacf([0x6d,0x61,0x70])](_0x208700=>_0x208700[_0x24bacf([0x73,0x70,0x6c,0x69,0x74])](_0x24bacf([0x2e])))[_0x24bacf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x504681=>_0x504681[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2a82e8[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24bacf([0x6d,0x61,0x70])](_0x4ef94f=>Array(_0x2a82e8[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ef94f[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24bacf([0x66,0x69,0x6c,0x6c])](_0x4ef94f[0x0]===_0x24bacf([0x2a])?_0x24bacf([0x2a]):'')[_0x24bacf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ef94f))[_0x24bacf([0x73,0x6f,0x6d,0x65])](_0x4ccb07=>_0x2a82e8[_0x24bacf([0x65,0x76,0x65,0x72,0x79])]((_0x522ec6,_0x252df8)=>_0x4ccb07[_0x252df8]===_0x522ec6||_0x4ccb07[_0x252df8]===_0x24bacf([0x2a])));}function _0x1c3eb6(){return _0x3c004d&&_0x10ba26?new window[(_0x24bacf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7f2162,_0x5b7553)=>{_0x3c004d[_0x24bacf([0x74,0x68,0x65,0x6e])](_0x7f2162,_0x5b7553),_0x10ba26[_0x24bacf([0x74,0x68,0x65,0x6e])](_0x3843bd=>{_0x3843bd!=_0x24bacf([0x56,0x61,0x6c,0x69,0x64])&&_0x7f2162(_0x3843bd);},_0x5b7553);}):_0x3c004d||_0x10ba26||_0x24bacf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x160642(_0x44b6ce,_0x165915){return new window[(_0x24bacf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36798d=>{if(_0x3d8aef())return _0x36798d(_0x24bacf([0x56,0x61,0x6c,0x69,0x64]));_0x1e7878(),_0x2fb46e[_0x24bacf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24bacf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2dc7d5=!0x1;const _0x1ca3a8=_0x5d29fb();function _0x557c1b(_0x1b8559){return!!_0x1b8559&&(typeof _0x1b8559===_0x24bacf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b8559===_0x24bacf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b8559[_0x24bacf([0x74,0x68,0x65,0x6e])]===_0x24bacf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b8559[_0x24bacf([0x63,0x61,0x74,0x63,0x68])]===_0x24bacf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53bc75(_0x1eda0d){_0x68defd(_0x1eda0d)[_0x24bacf([0x74,0x68,0x65,0x6e])](_0x20fe86=>{if(!_0x20fe86||_0x20fe86[_0x24bacf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24bacf([0x6f,0x6b]))return _0x24bacf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1fc57c(_0x3169d4(_0x1ca3a8+_0x165915))!=_0x20fe86[_0x24bacf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24bacf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24bacf([0x56,0x61,0x6c,0x69,0x64]);})[_0x24bacf([0x74,0x68,0x65,0x6e])](_0x4b4640=>(_0xf436f0(),_0x4b4640),()=>{const _0x444c94=_0x1826f6();return null==_0x444c94?(_0xf436f0(),_0x24bacf([0x56,0x61,0x6c,0x69,0x64])):_0x24bacf(_0x3f4cff-_0x444c94>(0x3cc1ed1a^_0x4becc2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24bacf([0x74,0x68,0x65,0x6e])](_0x36798d)[_0x24bacf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36798d(_0x24bacf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x275c6b=0x18fb879a^_0x4becc2;function _0xf436f0(){const _0x191c4c=_0x24bacf([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fc57c(_0x3169d4(_0x44b6ce)),_0x4a30b8=_0x25651a(_0x1fc57c(window[_0x24bacf([0x4d,0x61,0x74,0x68])][_0x24bacf([0x63,0x65,0x69,0x6c])](_0x3f4cff/_0x275c6b)));window[_0x24bacf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24bacf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x191c4c,_0x4a30b8);}function _0x1826f6(){const _0x23df15=_0x24bacf([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fc57c(_0x3169d4(_0x44b6ce)),_0x5a35c7=window[_0x24bacf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24bacf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23df15);return _0x5a35c7?window[_0x24bacf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25651a(_0x5a35c7),0x10)*_0x275c6b:null;}function _0x68defd(_0x2d1c05){return new window[(_0x24bacf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x345d0e,_0x111923)=>{_0x2d1c05[_0x24bacf([0x74,0x68,0x65,0x6e])](_0x345d0e,_0x111923),window[_0x24bacf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x111923,0x18ccbdda^_0x4becc2);});}}_0x2fb46e[_0x24bacf([0x6f,0x6e])](_0x24bacf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a11c7,_0x102b40)=>{if(_0x102b40[0x0]!=_0x44b6ce)return _0x36798d(_0x24bacf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x102b40[0x1]={..._0x102b40[0x1],[_0x24bacf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ca3a8};},{[_0x24bacf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24bacf([0x68,0x69,0x67,0x68])}),_0x2fb46e[_0x24bacf([0x6f,0x6e])](_0x24bacf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x866f77=>{_0x557c1b(_0x866f77[_0x24bacf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2dc7d5=!0x0,_0x53bc75(_0x866f77[_0x24bacf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24bacf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24bacf([0x6c,0x6f,0x77])}),_0x219f8e[_0x24bacf([0x74,0x68,0x65,0x6e])](()=>{_0x2dc7d5||_0x36798d(_0x24bacf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d8aef(){return _0x2fb46e[_0x24bacf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24bacf([0x76,0x69,0x65,0x77])][_0x24bacf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24bacf([0x61,0x75,0x74,0x6f]);}function _0x1e7878(){_0x2fb46e[_0x24bacf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24bacf([0x76,0x69,0x65,0x77])][_0x24bacf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24bacf([0x61,0x75,0x74,0x6f]);}}function _0x3c0e93(_0x466644){const _0x3c1cbe=[new window[(_0x24bacf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x936141=>setTimeout(_0x936141,0x18c457d6^_0x4becc2)),_0x219f8e[_0x24bacf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24bacf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bd794=>{let _0x19c203=0x0;_0x2fb46e[_0x24bacf([0x6d,0x6f,0x64,0x65,0x6c])][_0x24bacf([0x6f,0x6e])](_0x24bacf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22d4bf,_0x1f9e22)=>{_0x1f9e22[0x0][_0x24bacf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19c203++,_0x19c203==(0x18cd68e2^_0x4becc2)&&(_0x3bd794(),_0x22d4bf[_0x24bacf([0x6f,0x66,0x66])]());});}))];return window[_0x24bacf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24bacf([0x72,0x61,0x63,0x65])](_0x3c1cbe)[_0x24bacf([0x74,0x68,0x65,0x6e])](()=>_0x466644);}async function _0x3bdb62(){await _0x219f8e,_0x2fb46e[_0x24bacf([0x6d,0x6f,0x64,0x65,0x6c])][_0x24bacf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7a5f18,_0x2fb46e[_0x24bacf([0x6d,0x6f,0x64,0x65,0x6c])][_0x24bacf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7a5f18,_0x2fb46e[_0x24bacf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24bacf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5de0ed(){return window[_0x24bacf([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x45fe23(_0x4b83ae){const _0x596673=_0x1f28ce();_0x2fb46e[_0x596673]=_0x24bacf([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b83ae,_0x4b83ae!=_0x24bacf([0x56,0x61,0x6c,0x69,0x64])&&_0x3bdb62();}function _0x1f28ce(){const _0x5f2d17=window[_0x24bacf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24bacf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24bacf([0x6e,0x6f,0x77])]())[_0x24bacf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24bacf([0x2e]),'');let _0x476b87=_0x24bacf([0x69]);for(let _0x1242c7=0x0;_0x1242c7<_0x5f2d17[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1242c7+=0x2){let _0x51c685=window[_0x24bacf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f2d17[_0x24bacf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1242c7,_0x1242c7+0x2));_0x51c685>=_0x542b42[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51c685-=_0x542b42[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x476b87+=_0x542b42[_0x51c685];}return _0x476b87;}function _0x59cb35(){const _0x5e4132=_0x49809f[_0x24bacf([0x73,0x70,0x6c,0x69,0x74])](_0x24bacf([0x2e]));if(0x3!=_0x5e4132[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d0a94(_0x5e4132[0x1]);function _0x3d0a94(_0x45373d){const _0x298334=_0x3eaa11(_0x45373d);return _0x298334&&_0x181b4e()?_0x298334:null;function _0x181b4e(){const _0x186741=_0x298334[_0x24bacf([0x6a,0x74,0x69])],_0x133cb7=window[_0x24bacf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x186741[_0x24bacf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x186741[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ecb5e={..._0x298334,[_0x24bacf([0x6a,0x74,0x69])]:_0x186741[_0x24bacf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x186741[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ecb5e[_0x24bacf([0x76,0x63])],_0x3169d4(_0x4ecb5e)==_0x133cb7;}}}async function _0x24521d(){let _0x580bba=!0x0;try{const _0x1b339d=_0x49809f[_0x24bacf([0x73,0x70,0x6c,0x69,0x74])](_0x24bacf([0x2e])),[_0x2c903b,_0x24ec42,_0x1eb388]=_0x1b339d;return _0x2f6bf4(_0x2c903b),await _0x4623ad(_0x2c903b,_0x24ec42,_0x1eb388),_0x580bba;}catch{return!0x1;}function _0x2f6bf4(_0x502e69){const _0x45093a=_0x3eaa11(_0x502e69);_0x45093a&&_0x45093a[_0x24bacf([0x61,0x6c,0x67])]==_0x24bacf([0x45,0x53,0x32,0x35,0x36])||(_0x580bba=!0x1);}async function _0x4623ad(_0x59023f,_0x109ba3,_0x1aed58){const _0x27ee65=window[_0x24bacf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24bacf([0x66,0x72,0x6f,0x6d])](_0x69b8ad(_0x1aed58),_0x5ecbb1=>_0x5ecbb1[_0x24bacf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1da75c=new window[(_0x24bacf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24bacf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59023f+_0x24bacf([0x2e])+_0x109ba3),_0x4606b1=window[_0x24bacf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24bacf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4606b1)return;const _0x81a59c=await _0x4606b1[_0x24bacf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24bacf([0x6a,0x77,0x6b]),_0x561f00,{[_0x24bacf([0x6e,0x61,0x6d,0x65])]:_0x24bacf([0x45,0x43,0x44,0x53,0x41]),[_0x24bacf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24bacf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24bacf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4606b1[_0x24bacf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24bacf([0x6e,0x61,0x6d,0x65])]:_0x24bacf([0x45,0x43,0x44,0x53,0x41]),[_0x24bacf([0x68,0x61,0x73,0x68])]:{[_0x24bacf([0x6e,0x61,0x6d,0x65])]:_0x24bacf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x81a59c,_0x27ee65,_0x1da75c)||(_0x580bba=!0x1);}}function _0x3eaa11(_0x3d62d7){return _0x3d62d7[_0x24bacf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24bacf([0x65,0x79]))?JSON[_0x24bacf([0x70,0x61,0x72,0x73,0x65])](_0x69b8ad(_0x3d62d7)):null;}function _0x69b8ad(_0x1ad9d5){return window[_0x24bacf([0x61,0x74,0x6f,0x62])](_0x1ad9d5[_0x24bacf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24bacf([0x2b]))[_0x24bacf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24bacf([0x2f])));}function _0x3169d4(_0xa98cec){let _0x42a304=0x1505;function _0x243668(_0x2c0f1f){for(let _0x2959cc=0x0;_0x2959cc<_0x2c0f1f[_0x24bacf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2959cc++){const _0x51f6d3=_0x2c0f1f[_0x24bacf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2959cc);_0x42a304=(_0x42a304<<0x5)+_0x42a304+_0x51f6d3,_0x42a304&=_0x42a304;}}function _0x58f900(_0x5f52a9){Array[_0x24bacf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f52a9)?_0x5f52a9[_0x24bacf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58f900):_0x5f52a9&&typeof _0x5f52a9==_0x24bacf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24bacf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f52a9)[_0x24bacf([0x73,0x6f,0x72,0x74])]()[_0x24bacf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b212f,_0x49ef4c])=>{_0x243668(_0x5b212f),_0x58f900(_0x49ef4c);}):_0x243668(window[_0x24bacf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f52a9));}return _0x58f900(_0xa98cec),_0x42a304>>>0x0;}function _0x1fc57c(_0x50eea0){return _0x50eea0[_0x24bacf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24bacf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24bacf([0x30]));}function _0x25651a(_0x3bb529){return _0x3bb529[_0x24bacf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24bacf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24bacf([0x6a,0x6f,0x69,0x6e])]('');}function _0x7a5f18(){}function _0x24bacf(_0x50bfdc){const _0x24df1a=_0x20c4;return _0x50bfdc[_0x24df1a(0x1a8)](_0x4b798d=>String[_0x24df1a(0x18b)](_0x4b798d))[_0x24df1a(0x1ab)]('');}_0x45fe23(await _0x491793());}(this);}[_0x215b2e(0x18d)](_0x4ae510,_0x308f30){const _0x45574d=_0x215b2e,{editor:_0x193748}=this,_0x3f0389=new _0x325230(_0x4ae510);return _0x3f0389[_0x45574d(0x1af)]({'attributes':{'role':_0x45574d(0x1a3),'class':[_0x45574d(0x19d)]}}),_0x3f0389[_0x45574d(0x18f)][_0x45574d(0x1a4)](_0x308f30[_0x45574d(0x1a8)]((_0x910fd1,_0x575da8)=>{const _0x2ae834=_0x45574d,_0x475c8d=new _0x5f107b(_0x4ae510,_0x575da8),_0x25b9be=new _0x460437(_0x4ae510,_0x910fd1);return _0x475c8d[_0x2ae834(0x1a6)]=_0x25b9be,_0x475c8d[_0x2ae834(0x17b)][_0x2ae834(0x1b9)](_0x25b9be),_0x475c8d[_0x2ae834(0x1a6)]['on'](_0x2ae834(0x1a7),_0x50aedc=>{const _0x3ed795=_0x2ae834;_0x193748[_0x3ed795(0x1a7)](_0x3ed795(0x191),_0x50aedc[_0x3ed795(0x1a9)][_0x3ed795(0x17c)][_0x3ed795(0x182)]),_0x193748[_0x3ed795(0x1a2)][_0x3ed795(0x1ae)][_0x3ed795(0x199)]();}),_0x475c8d;})),_0x3f0389;}}