@ckeditor/ckeditor5-template 45.1.0-alpha.3 → 45.1.0-alpha.5

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),o=n.n(s)()(i());o.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=o},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 o={};if(r)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(o[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&o[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 o=void 0!==i.layer;o&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,o&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(c,a[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={},o=[],c=0;c<t.length;c++){var a=t[c],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[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})}o.push(p)}return o}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 o=0;o<s.length;o++){var c=n(s[o]);e[c].references--}for(var a=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=a}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>J,TemplateCommand:()=>o,TemplateEditing:()=>u,TemplateUI:()=>F});var t=n(782);function e(t,n){const r=s();return(e=function(t,e){return r[t-=454]})(t,n)}const i=e;function s(){const t=["data","toModel","6836627yXNZyc","272166sUwaoz","string","214592YUdmoe","1268700QWQkBv","execute","5794448VxDZdS","155032uHKxrp","3244822YKaiJw","57UKeVgc","195zKYvoy","editor","htmlProcessor","9GJgfXX","function","change","insertContent","toView"];return(s=function(){return t})()}!function(t){const n=e,r=t();for(;;)try{if(929811===parseInt(n(455))/1+parseInt(n(460))/2+parseInt(n(461))/3*(parseInt(n(459))/4)+-parseInt(n(462))/5*(parseInt(n(473))/6)+parseInt(n(472))/7+-parseInt(n(458))/8+parseInt(n(465))/9*(-parseInt(n(456))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class o extends t.Command{[i(457)](t){const e=i,{model:n}=this[e(463)];let r;switch(typeof t){case e(454):r=t;break;case e(466):r=t()}e(454)==typeof r&&n[e(467)]((()=>{const t=e,i=this[t(463)][t(470)][t(464)][t(469)](r),s=this[t(463)][t(470)][t(471)](i);n[t(468)](s)}))}}function c(t,e){const n=a();return(c=function(t,e){return n[t-=458]})(t,e)}function a(){const t=["commands","editor","destroy","pluginName","evaluationLimit","templateLicenseKeyValid","3498447OhtfVq","templateLicenseKeyDomainLimit","licenseKey","4exDkEu","TemplateEditing","domainLimit","_showLicenseError","21LfZlOi","templateLicenseKeyEvaluationLimit","usageLimit","544124FNJESs","2856360bPjZMJ","templateLicenseKeyInvalid","5845120fWjaIS","get","expired","templateLicenseKeyTrialLimit","templateLicenseKeyExpired","trialLimit","4464taores","670tQuDYU","_licenseKeyCheckInterval","1362804UOlCWG","init","templateLicenseKeyNotAllowed","insertTemplate","invalid","featureNotAllowed","config","templateLicenseKeyUsageLimit","isOfficialPlugin","add","420972VFTAdS","isPremiumPlugin","Template"];return(a=function(){return t})()}const l=c;!function(t){const e=c,n=t();for(;;)try{if(623261===parseInt(e(462))/1*(parseInt(e(491))/2)+-parseInt(e(459))/3+parseInt(e(469))/4+parseInt(e(472))/5+-parseInt(e(481))/6*(parseInt(e(466))/7)+parseInt(e(470))/8+parseInt(e(478))/9*(-parseInt(e(479))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[l(461)];[l(480)];static get[l(497)](){return l(463)}static get[l(489)](){return!0}static get[l(492)](){return!0}[l(482)](){const t=l,{editor:e}=this;e[t(494)][t(490)](t(484),new o(e)),this[t(461)]=this[t(495)][t(487)][t(473)](t(461));const n=this[t(495)];this[t(480)]=setInterval((()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(458)==s||e(471)==s||e(476)==s||e(460)==s||e(483)==s||e(467)==s||e(475)==s||e(488)==s){delete n[i],r=s,clearInterval(this[e(480)]),this[e(480)]=void 0;break}}e(471)==r&&n[e(465)](e(485)),e(476)==r&&n[e(465)](e(474)),e(460)==r&&n[e(465)](e(464)),e(483)==r&&n[e(465)](e(486),e(493)),e(467)==r&&n[e(465)](e(498)),e(475)==r&&n[e(465)](e(477)),e(488)==r&&n[e(465)](e(468))}),1e3)}[l(496)](){const t=l;super[t(496)](),this[t(480)]&&clearInterval(this[t(480)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=w();return(h=function(t,e){return n[t-=112]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(158457===parseInt(e(120))/1+-parseInt(e(127))/2+-parseInt(e(119))/3*(-parseInt(e(131))/4)+parseInt(e(121))/5+parseInt(e(118))/6*(-parseInt(e(112))/7)+-parseInt(e(122))/8+-parseInt(e(116))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class k extends f.ListView{[m(135)](t){const e=m;if(!t)return this[e(117)]();const n=new Map,r=this[e(113)][e(129)]((r=>{const i=e,s=r[i(123)][i(114)](t);return r[i(132)]=!!s,r[i(123)][i(133)](s?t:null),s&&n[i(115)](r,s),r}))[e(138)](g)[e(138)]((i=n,function(t,e){const n=h,r=i[n(137)](t),s=i[n(137)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(130)]&&!s[n(130)]?-1:!r[n(130)]&&s[n(130)]?1:0:0}));var i;return this[e(113)][e(125)](),this[e(113)][e(128)](r),{resultsCount:n[e(136)],totalItemsCount:this[e(113)][e(124)]}}[m(117)](){const t=m,e=this[t(113)][t(129)]((t=>t))[t(138)](g);return e[t(126)]((e=>{const n=t;e[n(132)]=!0,e[n(123)][n(133)](null)})),this[t(113)][t(125)](),this[t(113)][t(128)](e),{resultsCount:e[t(124)],totalItemsCount:e[t(124)]}}}function w(){const t=["filter","size","get","sort","7wxEBZD","items","isMatching","set","696447rZWwEo","_resetFiltering","784158ezAtEu","24441YDHDfM","165904oRioMz","1161775HHoQca","1677608YIptje","buttonView","length","clear","forEach","214340sEHnEi","addMany","map","title","140KZvSwP","isVisible","highlightText","originalIndex"];return(w=function(){return t})()}function g(t,e){const n=m;return t[n(134)]-e[n(134)]}var v=I;function I(t,e){var n=b();return(I=function(t,e){return n[t-=439]})(t,e)}function b(){var t=["6219468oDBMtN","639nkuiRl","44WYsvOL","6pwWwVu","444859FkPKIw","15TyibwR","602322pnRxtu","buttonView","68620xVwjnx","5886468DalLmY","48968olyIMA","119958noxkdY","originalIndex","707UpsArh"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(963978===parseInt(e(451))/1*(-parseInt(e(450))/2)+-parseInt(e(439))/3+parseInt(e(442))/4+parseInt(e(452))/5*(parseInt(e(444))/6)+-parseInt(e(446))/7*(parseInt(e(443))/8)+parseInt(e(448))/9*(-parseInt(e(441))/10)+-parseInt(e(449))/11*(-parseInt(e(447))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(445)];[v(440)];constructor(t,e){var n=v;super(t),this[n(445)]=e,this[n(440)]=null}}function x(t,e){const n=L();return(x=function(t,e){return n[t-=269]})(t,e)}const _=x;!function(t){const e=x,n=t();for(;;)try{if(140925===parseInt(e(300))/1+-parseInt(e(274))/2*(-parseInt(e(299))/3)+-parseInt(e(292))/4+parseInt(e(298))/5+-parseInt(e(296))/6+parseInt(e(281))/7+parseInt(e(305))/8*(-parseInt(e(290))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class T extends f.ButtonView{[_(294)];[_(271)];constructor(t,e){const n=_;super(t),this[n(294)]=e,this[n(271)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(307)]({withText:!0,class:n(291),role:n(283),icon:r}),this[n(293)][n(297)]=!1}[_(284)](){const t=_;super[t(284)](),this[t(271)]=new V(this[t(276)],this[t(294)],this[t(273)][t(288)].id),this[t(306)][t(286)](this[t(273)]),this[t(306)][t(278)](this[t(271)])}[_(289)](){const t=_;super[t(289)](),this[t(273)][t(289)]()}[_(303)](t){const e=_,{title:n,description:r}=this[e(294)],i=!!n[e(285)](t),s=!(!r||!r[e(285)](t));return i||s?{title:i,description:s}:null}[_(282)](t){const e=_;this[e(271)][e(282)](t)}}function L(){const t=["ck-template-form__text-part","locale","ck-template-form__description","add","div","setTemplate","1104194sihKNQ","highlightText","option","render","match","remove","span","element","destroy","92097guXKHl","ck-template-button","171488okGOYU","iconView","templateDefinition","extendTemplate","69912JolSoM","isColorInherited","166950qmRgAp","6024IrsSyR","164222MGhoBk","push","ck-button__label","isMatching","titleView","136mjkwIl","children","set","text","descriptionView","description","textPartView","title","labelView","14divMlN"];return(L=function(){return t})()}class V extends f.View{constructor(t,e,n){const r=_;super(t),this[r(272)]=e[r(272)],this[r(270)]=e[r(270)],this[r(304)]=new f.HighlightedTextView,this[r(304)][r(308)]=this[r(272)],this[r(304)][r(295)]({tag:r(287),attributes:{class:[r(302)],id:n}});const i=[this[r(304)]];this[r(270)]&&(this[r(269)]=new f.HighlightedTextView,this[r(269)][r(308)]=this[r(270)],this[r(269)][r(295)]({tag:"p",attributes:{class:[r(277)]}}),i[r(301)](this[r(269)])),this[r(280)]({tag:r(279),attributes:{class:["ck",r(275)]},children:i})}[_(282)](t){const e=_;this[e(304)][e(282)](t),this[e(270)]&&this[e(269)][e(282)](t)}}function M(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var S=n(673),P=n.n(S),N=n(545),O=n.n(N),E=n(262),K=n.n(E),A=n(667),C=n.n(A),j=n(357),B=n.n(j),U=n(175),Y={attributes:{"data-cke":!0}};Y.setAttributes=C(),Y.insert=K().bind(null,"head"),Y.domAPI=O(),Y.insertStyleElement=B();P()(U.A,Y);U.A&&U.A.locals&&U.A.locals;const z=D;function D(t,e){const n=R();return(D=function(t,e){return n[t-=294]})(t,e)}function R(){const t=["Please try a different phrase or check the spelling.","ck-template-button","templateDefinition","ck-template-list","2267925tzKYrV","href","%0 templates found","28YsSfod","afterInit","add","search","view","length","init","ck-template-form","get","template.definitions","ariaLiveAnnouncer","extendTemplate","12938936uOgeyf","83646jvLcgr","source","listbox","config","reset","resultsCount","isOfficialPlugin","6959865oCLqim","change:isOpen","execute","addMany","_createTemplateListView","announce","commands","bind","insertTemplate","1512114ygvlSp","Template","title","items","TemplateUI","map","1680PAiOYs","data","35iBuNjV","icon","Search template","query","set","isEnabled","pluginName","4097016aZFpLr","focus","buttonView","Insert template","72830SVpnNU","delegate","join","isPremiumPlugin","3vMOmvI","No templates available.","panelView","fromCharCode","menuBar:insertTemplate","children","editing",'No templates were found matching "%0".',"componentFactory"];return(R=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(992910===parseInt(e(310))/1*(-parseInt(e(321))/2)+parseInt(e(325))/3*(parseInt(e(317))/4)+-parseInt(e(338))/5+parseInt(e(302))/6*(parseInt(e(341))/7)+parseInt(e(353))/8+-parseInt(e(354))/9*(parseInt(e(308))/10)+parseInt(e(361))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);class F extends t.Plugin{static get[z(316)](){return z(306)}static get[z(360)](){return!0}static get[z(324)](){return!0}[z(347)](){const t=z,{editor:e}=this,n=e[t(357)][t(349)](t(350))||[];e.ui[t(333)][t(343)](t(301),(r=>{const i=t,s=(0,f.createDropdown)(r),o=this[i(297)](r,n),c=new f.SearchTextView(r,{filteredView:o,queryView:{label:M(r,i(312))},class:i(348),infoView:{text:{notFound:{primary:t=>M(r,i(332),t),secondary:M(r,i(334))},noSearchableItems:{primary:M(r,i(326))}}}}),a=e[i(299)][i(349)](i(301));return c.on(i(344),((t,n)=>{const s=i;n[s(313)]&&n[s(313)][s(346)]&&e.ui[s(351)][s(298)](M(r,s(340),n[s(359)]))})),s[i(300)](i(315)).to(a),s[i(327)][i(330)][i(343)](c),s[i(319)][i(314)]({label:M(r,i(320)),icon:p.IconTemplate,tooltip:!0}),s.on(i(294),((t,e,n)=>{n||c[i(358)]()})),s})),e.ui[t(333)][t(343)](t(329),(r=>{const i=t,s=e[i(299)][i(349)](i(301)),o=new f.MenuBarMenuView(r);o[i(319)][i(314)]({label:M(r,i(303)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(346)]){const t=new f.MenuBarMenuListItemView(r,o),n=new f.MenuBarMenuListItemButtonView(r);n[i(314)]({label:M(r,i(326))}),n[i(322)](i(295)).to(o),n.on(i(295),(()=>{const t=i;e[t(331)][t(345)][t(318)]()})),t[i(330)][i(343)](n),c[i(305)][i(343)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,o),s=new f.MenuBarMenuListItemButtonView(r);s[i(314)]({class:i(335),label:t[i(304)],icon:t[i(311)]||p.IconTemplateGeneric}),s[i(322)](i(295)).to(o),s.on(i(295),(()=>{const n=i;e[n(295)](n(301),t[n(309)]),e[n(331)][n(345)][n(318)]()})),n[i(330)][i(343)](s),c[i(305)][i(343)](n)}return o[i(327)][i(330)][i(343)](c),o[i(300)](i(315)).to(s,i(315)),o}))}[z(342)](){!async function(t){const e=h([75,119,72,53,122,80,114,116,69,85,90,79,108,101,103,109,68,78,49,102,104,84,52,88,65,71,77,66,106,57,121,83,67,97,76,73,81,70,113,105,86,48,118,117,82,89,51,120,112,87,110,107,56,98,100,55,111,74,54,115,50,99]),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])},o=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 a(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=D;return t[e(307)]((t=>String[e(328)](t)))[e(323)]("")}!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([75]);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 o==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[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=a(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]));o(),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 a=!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){a(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=o();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 o(){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 a(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])])&&(a=!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])]((()=>{a||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 o(){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=o[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch(t){return!1}function e(e){const n=a(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))),o=(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 a=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])}},a,i,o)||(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:1746835200;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=D,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(339)]);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([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(t){return h([73,110,118,97,108,105,100])}}())}(this)}[z(297)](t,e){const n=z,{editor:r}=this,i=new k(t);return i[n(352)]({attributes:{role:n(356),class:[n(337)]}}),i[n(305)][n(296)](e[n(307)](((e,i)=>{const s=n,o=new y(t,i),c=new T(t,e);return o[s(319)]=c,o[s(330)][s(343)](c),o[s(319)].on(s(295),(t=>{const e=s;r[e(295)](e(301),t[e(355)][e(336)][e(309)]),r[e(331)][e(345)][e(318)]()})),o}))),i}}function q(t,e){var n=Z();return(q=function(t,e){return n[t-=297]})(t,e)}var H=q;function Z(){var t=["isPremiumPlugin","990471oxQiFb","12910auYkVI","6mUqdFk","591792tUoUZz","pluginName","Template","isOfficialPlugin","645822QiRfJO","768971Ribgyb","473944glwMlh","46655IyrFKr","44RjLrxs","2727kdlmPm","requires"];return(Z=function(){return t})()}!function(t){for(var e=q,n=t();;)try{if(388680===parseInt(e(303))/1+-parseInt(e(305))/2+-parseInt(e(311))/3+parseInt(e(307))/4*(parseInt(e(306))/5)+parseInt(e(298))/6*(-parseInt(e(304))/7)+-parseInt(e(299))/8+-parseInt(e(308))/9*(-parseInt(e(297))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class J extends t.Plugin{static get[H(309)](){return[u,F]}static get[H(300)](){return H(301)}static get[H(302)](){return!0}static get[H(310)](){return!0}}function G(t,e){var n=Q();return(G=function(t,e){return n[t-=310]})(t,e)}function Q(){var t=["143322wzXlbq","556705vxvIGt","1967770syxsyU","65tIrtYR","1322824KPvXJB","1552840JePOZA","498522ugUqYD","68qLhgcU","25358166pYWbov"];return(Q=function(){return t})()}!function(t){for(var e=G,n=t();;)try{if(589813===parseInt(e(316))/1+-parseInt(e(311))/2+parseInt(e(315))/3*(-parseInt(e(313))/4)+parseInt(e(318))/5*(-parseInt(e(312))/6)+-parseInt(e(317))/7+parseInt(e(310))/8+parseInt(e(314))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
5
+ */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(168),i=n.n(r),s=n(433),o=n.n(s)()(i());o.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=o},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 o={};if(r)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(o[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&o[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 o=void 0!==i.layer;o&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,o&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(c,a[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={},o=[],c=0;c<t.length;c++){var a=t[c],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[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})}o.push(p)}return o}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 o=0;o<s.length;o++){var c=n(s[o]);e[c].references--}for(var a=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=a}}},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:()=>Z,TemplateCommand:()=>o,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);function e(t,n){const r=s();return(e=function(t,e){return r[t-=454]})(t,n)}const i=e;function s(){const t=["data","toModel","6836627yXNZyc","272166sUwaoz","string","214592YUdmoe","1268700QWQkBv","execute","5794448VxDZdS","155032uHKxrp","3244822YKaiJw","57UKeVgc","195zKYvoy","editor","htmlProcessor","9GJgfXX","function","change","insertContent","toView"];return(s=function(){return t})()}!function(t){const n=e,r=t();for(;;)try{if(929811===parseInt(n(455))/1+parseInt(n(460))/2+parseInt(n(461))/3*(parseInt(n(459))/4)+-parseInt(n(462))/5*(parseInt(n(473))/6)+parseInt(n(472))/7+-parseInt(n(458))/8+parseInt(n(465))/9*(-parseInt(n(456))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class o extends t.Command{[i(457)](t){const e=i,{model:n}=this[e(463)];let r;switch(typeof t){case e(454):r=t;break;case e(466):r=t()}e(454)==typeof r&&n[e(467)]((()=>{const t=e,i=this[t(463)][t(470)][t(464)][t(469)](r),s=this[t(463)][t(470)][t(471)](i);n[t(468)](s)}))}}function c(t,e){const n=a();return(c=function(t,e){return n[t-=458]})(t,e)}function a(){const t=["commands","editor","destroy","pluginName","evaluationLimit","templateLicenseKeyValid","3498447OhtfVq","templateLicenseKeyDomainLimit","licenseKey","4exDkEu","TemplateEditing","domainLimit","_showLicenseError","21LfZlOi","templateLicenseKeyEvaluationLimit","usageLimit","544124FNJESs","2856360bPjZMJ","templateLicenseKeyInvalid","5845120fWjaIS","get","expired","templateLicenseKeyTrialLimit","templateLicenseKeyExpired","trialLimit","4464taores","670tQuDYU","_licenseKeyCheckInterval","1362804UOlCWG","init","templateLicenseKeyNotAllowed","insertTemplate","invalid","featureNotAllowed","config","templateLicenseKeyUsageLimit","isOfficialPlugin","add","420972VFTAdS","isPremiumPlugin","Template"];return(a=function(){return t})()}const l=c;!function(t){const e=c,n=t();for(;;)try{if(623261===parseInt(e(462))/1*(parseInt(e(491))/2)+-parseInt(e(459))/3+parseInt(e(469))/4+parseInt(e(472))/5+-parseInt(e(481))/6*(parseInt(e(466))/7)+parseInt(e(470))/8+parseInt(e(478))/9*(-parseInt(e(479))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[l(461)];[l(480)];static get[l(497)](){return l(463)}static get[l(489)](){return!0}static get[l(492)](){return!0}[l(482)](){const t=l,{editor:e}=this;e[t(494)][t(490)](t(484),new o(e)),this[t(461)]=this[t(495)][t(487)][t(473)](t(461));const n=this[t(495)];this[t(480)]=setInterval((()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(458)==s||e(471)==s||e(476)==s||e(460)==s||e(483)==s||e(467)==s||e(475)==s||e(488)==s){delete n[i],r=s,clearInterval(this[e(480)]),this[e(480)]=void 0;break}}e(471)==r&&n[e(465)](e(485)),e(476)==r&&n[e(465)](e(474)),e(460)==r&&n[e(465)](e(464)),e(483)==r&&n[e(465)](e(486),e(493)),e(467)==r&&n[e(465)](e(498)),e(475)==r&&n[e(465)](e(477)),e(488)==r&&n[e(465)](e(468))}),1e3)}[l(496)](){const t=l;super[t(496)](),this[t(480)]&&clearInterval(this[t(480)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=w();return(h=function(t,e){return n[t-=112]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(158457===parseInt(e(120))/1+-parseInt(e(127))/2+-parseInt(e(119))/3*(-parseInt(e(131))/4)+parseInt(e(121))/5+parseInt(e(118))/6*(-parseInt(e(112))/7)+-parseInt(e(122))/8+-parseInt(e(116))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class k extends f.ListView{[m(135)](t){const e=m;if(!t)return this[e(117)]();const n=new Map,r=this[e(113)][e(129)]((r=>{const i=e,s=r[i(123)][i(114)](t);return r[i(132)]=!!s,r[i(123)][i(133)](s?t:null),s&&n[i(115)](r,s),r}))[e(138)](g)[e(138)]((i=n,function(t,e){const n=h,r=i[n(137)](t),s=i[n(137)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(130)]&&!s[n(130)]?-1:!r[n(130)]&&s[n(130)]?1:0:0}));var i;return this[e(113)][e(125)](),this[e(113)][e(128)](r),{resultsCount:n[e(136)],totalItemsCount:this[e(113)][e(124)]}}[m(117)](){const t=m,e=this[t(113)][t(129)]((t=>t))[t(138)](g);return e[t(126)]((e=>{const n=t;e[n(132)]=!0,e[n(123)][n(133)](null)})),this[t(113)][t(125)](),this[t(113)][t(128)](e),{resultsCount:e[t(124)],totalItemsCount:e[t(124)]}}}function w(){const t=["filter","size","get","sort","7wxEBZD","items","isMatching","set","696447rZWwEo","_resetFiltering","784158ezAtEu","24441YDHDfM","165904oRioMz","1161775HHoQca","1677608YIptje","buttonView","length","clear","forEach","214340sEHnEi","addMany","map","title","140KZvSwP","isVisible","highlightText","originalIndex"];return(w=function(){return t})()}function g(t,e){const n=m;return t[n(134)]-e[n(134)]}var v=I;function I(t,e){var n=b();return(I=function(t,e){return n[t-=439]})(t,e)}function b(){var t=["6219468oDBMtN","639nkuiRl","44WYsvOL","6pwWwVu","444859FkPKIw","15TyibwR","602322pnRxtu","buttonView","68620xVwjnx","5886468DalLmY","48968olyIMA","119958noxkdY","originalIndex","707UpsArh"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(963978===parseInt(e(451))/1*(-parseInt(e(450))/2)+-parseInt(e(439))/3+parseInt(e(442))/4+parseInt(e(452))/5*(parseInt(e(444))/6)+-parseInt(e(446))/7*(parseInt(e(443))/8)+parseInt(e(448))/9*(-parseInt(e(441))/10)+-parseInt(e(449))/11*(-parseInt(e(447))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(445)];[v(440)];constructor(t,e){var n=v;super(t),this[n(445)]=e,this[n(440)]=null}}function x(t,e){const n=V();return(x=function(t,e){return n[t-=269]})(t,e)}const _=x;!function(t){const e=x,n=t();for(;;)try{if(140925===parseInt(e(300))/1+-parseInt(e(274))/2*(-parseInt(e(299))/3)+-parseInt(e(292))/4+parseInt(e(298))/5+-parseInt(e(296))/6+parseInt(e(281))/7+parseInt(e(305))/8*(-parseInt(e(290))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class T extends f.ButtonView{[_(294)];[_(271)];constructor(t,e){const n=_;super(t),this[n(294)]=e,this[n(271)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(307)]({withText:!0,class:n(291),role:n(283),icon:r}),this[n(293)][n(297)]=!1}[_(284)](){const t=_;super[t(284)](),this[t(271)]=new L(this[t(276)],this[t(294)],this[t(273)][t(288)].id),this[t(306)][t(286)](this[t(273)]),this[t(306)][t(278)](this[t(271)])}[_(289)](){const t=_;super[t(289)](),this[t(273)][t(289)]()}[_(303)](t){const e=_,{title:n,description:r}=this[e(294)],i=!!n[e(285)](t),s=!(!r||!r[e(285)](t));return i||s?{title:i,description:s}:null}[_(282)](t){const e=_;this[e(271)][e(282)](t)}}function V(){const t=["ck-template-form__text-part","locale","ck-template-form__description","add","div","setTemplate","1104194sihKNQ","highlightText","option","render","match","remove","span","element","destroy","92097guXKHl","ck-template-button","171488okGOYU","iconView","templateDefinition","extendTemplate","69912JolSoM","isColorInherited","166950qmRgAp","6024IrsSyR","164222MGhoBk","push","ck-button__label","isMatching","titleView","136mjkwIl","children","set","text","descriptionView","description","textPartView","title","labelView","14divMlN"];return(V=function(){return t})()}class L extends f.View{constructor(t,e,n){const r=_;super(t),this[r(272)]=e[r(272)],this[r(270)]=e[r(270)],this[r(304)]=new f.HighlightedTextView,this[r(304)][r(308)]=this[r(272)],this[r(304)][r(295)]({tag:r(287),attributes:{class:[r(302)],id:n}});const i=[this[r(304)]];this[r(270)]&&(this[r(269)]=new f.HighlightedTextView,this[r(269)][r(308)]=this[r(270)],this[r(269)][r(295)]({tag:"p",attributes:{class:[r(277)]}}),i[r(301)](this[r(269)])),this[r(280)]({tag:r(279),attributes:{class:["ck",r(275)]},children:i})}[_(282)](t){const e=_;this[e(304)][e(282)](t),this[e(270)]&&this[e(269)][e(282)](t)}}function M(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var S=n(673),P=n.n(S),E=n(545),N=n.n(E),A=n(262),K=n.n(A),O=n(667),C=n.n(O),j=n(357),B=n.n(j),D=n(175),R={attributes:{"data-cke":!0}};R.setAttributes=C(),R.insert=K().bind(null,"head"),R.domAPI=N(),R.insertStyleElement=B();P()(D.A,R);D.A&&D.A.locals&&D.A.locals;const U=Y;function z(){const t=["title","template.definitions","addMany","No templates available.","1958090Dsauwp","icon","Please try a different phrase or check the spelling.","2EdRVvk","view","href","panelView","2565857kYmlnz","listbox","ariaLiveAnnouncer","bind","2639328AOIkLB","TemplateUI","delegate","focus","announce","ck-template-list","3663bHsgla","isPremiumPlugin","fromCharCode","isOfficialPlugin","5jZbJhR","resultsCount","data","11PsGHHn","init","ck-template-form","commands","insertTemplate","execute","%0 templates found","editing","get","config","items","add","buttonView","set","pluginName","search","8137toJqvT","componentFactory","821248XTJIQy","_createTemplateListView","reset","Insert template","children","4856qceiVF","map","1187313fqkicy","join","isEnabled","afterInit","length","templateDefinition","Template","query","ck-template-button",'No templates were found matching "%0".',"extendTemplate","menuBar:insertTemplate","source","change:isOpen","Search template"];return(z=function(){return t})()}function Y(t,e){const n=z();return(Y=function(t,e){return n[t-=112]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(245639===parseInt(e(167))/1+parseInt(e(130))/2*(parseInt(e(176))/3)+parseInt(e(169))/4+-parseInt(e(148))/5*(parseInt(e(138))/6)+-parseInt(e(134))/7+-parseInt(e(174))/8*(-parseInt(e(144))/9)+parseInt(e(127))/10*(parseInt(e(151))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);class q extends t.Plugin{static get[U(165)](){return U(139)}static get[U(147)](){return!0}static get[U(145)](){return!0}[U(152)](){const t=U,{editor:e}=this,n=e[t(160)][t(159)](t(124))||[];e.ui[t(168)][t(162)](t(155),(r=>{const i=t,s=(0,f.createDropdown)(r),o=this[i(170)](r,n),c=new f.SearchTextView(r,{filteredView:o,queryView:{label:M(r,i(122))},class:i(153),infoView:{text:{notFound:{primary:t=>M(r,i(117),t),secondary:M(r,i(129))},noSearchableItems:{primary:M(r,i(126))}}}}),a=e[i(154)][i(159)](i(155));return c.on(i(166),((t,n)=>{const s=i;n[s(115)]&&n[s(115)][s(112)]&&e.ui[s(136)][s(142)](M(r,s(157),n[s(149)]))})),s[i(137)](i(178)).to(a),s[i(133)][i(173)][i(162)](c),s[i(163)][i(164)]({label:M(r,i(172)),icon:p.IconTemplate,tooltip:!0}),s.on(i(121),((t,e,n)=>{n||c[i(171)]()})),s})),e.ui[t(168)][t(162)](t(119),(r=>{const i=t,s=e[i(154)][i(159)](i(155)),o=new f.MenuBarMenuView(r);o[i(163)][i(164)]({label:M(r,i(114)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(112)]){const t=new f.MenuBarMenuListItemView(r,o),n=new f.MenuBarMenuListItemButtonView(r);n[i(164)]({label:M(r,i(126))}),n[i(140)](i(156)).to(o),n.on(i(156),(()=>{const t=i;e[t(158)][t(131)][t(141)]()})),t[i(173)][i(162)](n),c[i(161)][i(162)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,o),s=new f.MenuBarMenuListItemButtonView(r);s[i(164)]({class:i(116),label:t[i(123)],icon:t[i(128)]||p.IconTemplateGeneric}),s[i(140)](i(156)).to(o),s.on(i(156),(()=>{const n=i;e[n(156)](n(155),t[n(150)]),e[n(158)][n(131)][n(141)]()})),n[i(173)][i(162)](s),c[i(161)][i(162)](n)}return o[i(133)][i(173)][i(162)](c),o[i(137)](i(178)).to(s,i(178)),o}))}[U(179)](){!async function(t){const e=h([81,88,84,107,101,67,48,116,85,113,55,56,110,82,121,99,114,97,119,73,102,72,90,71,79,87,106,117,65,120,122,52,76,51,83,68,104,103,70,75,57,115,89,108,78,86,66,105,49,98,80,54,74,111,69,109,118,100,53,112,77,50]),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])},o=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 a(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=Y;return t[e(175)]((t=>String[e(146)](t)))[e(177)]("")}!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([81]);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 o==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[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=a(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]));o(),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 a=!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){a(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=o();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 o(){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 a(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])])&&(a=!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])]((()=>{a||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 o(){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=o[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch(t){return!1}function e(e){const n=a(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))),o=(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 a=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])}},a,i,o)||(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:1747008e3;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=Y,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(132)]);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([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(t){return h([73,110,118,97,108,105,100])}}())}(this)}[U(170)](t,e){const n=U,{editor:r}=this,i=new k(t);return i[n(118)]({attributes:{role:n(135),class:[n(143)]}}),i[n(161)][n(125)](e[n(175)](((e,i)=>{const s=n,o=new y(t,i),c=new T(t,e);return o[s(163)]=c,o[s(173)][s(162)](c),o[s(163)].on(s(156),(t=>{const e=s;r[e(156)](e(155),t[e(120)][e(113)][e(150)]),r[e(158)][e(131)][e(141)]()})),o}))),i}}function H(t,e){var n=J();return(H=function(t,e){return n[t-=297]})(t,e)}var F=H;function J(){var t=["isPremiumPlugin","990471oxQiFb","12910auYkVI","6mUqdFk","591792tUoUZz","pluginName","Template","isOfficialPlugin","645822QiRfJO","768971Ribgyb","473944glwMlh","46655IyrFKr","44RjLrxs","2727kdlmPm","requires"];return(J=function(){return t})()}!function(t){for(var e=H,n=t();;)try{if(388680===parseInt(e(303))/1+-parseInt(e(305))/2+-parseInt(e(311))/3+parseInt(e(307))/4*(parseInt(e(306))/5)+parseInt(e(298))/6*(-parseInt(e(304))/7)+-parseInt(e(299))/8+-parseInt(e(308))/9*(-parseInt(e(297))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class Z extends t.Plugin{static get[F(309)](){return[u,q]}static get[F(300)](){return F(301)}static get[F(302)](){return!0}static get[F(310)](){return!0}}function G(t,e){var n=Q();return(G=function(t,e){return n[t-=310]})(t,e)}function Q(){var t=["143322wzXlbq","556705vxvIGt","1967770syxsyU","65tIrtYR","1322824KPvXJB","1552840JePOZA","498522ugUqYD","68qLhgcU","25358166pYWbov"];return(Q=function(){return t})()}!function(t){for(var e=G,n=t();;)try{if(589813===parseInt(e(316))/1+-parseInt(e(311))/2+parseInt(e(315))/3*(-parseInt(e(313))/4)+parseInt(e(318))/5*(-parseInt(e(312))/6)+-parseInt(e(317))/7+parseInt(e(310))/8+parseInt(e(314))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q)})(),(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 _0x2a59e8,Plugin as _0x1b9e8f}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x4abf8f,IconTemplate as _0xe39e9c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x3297f6,ListItemView as _0x237ae9,ButtonView as _0x5b2ecb,View as _0x4afa00,HighlightedTextView as _0x4865a5,createDropdown as _0x1924bc,SearchTextView as _0x280930,MenuBarMenuView as _0xf0c4e8,MenuBarMenuListView as _0x651f6c,MenuBarMenuListItemView as _0x272dfc,MenuBarMenuListItemButtonView as _0x3b3422}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x5938f7}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x2a59e8{['execute'](_0x2fc797){const {model:_0x23d24b}=this['editor'];let _0x5aa285;switch(typeof _0x2fc797){case'string':_0x5aa285=_0x2fc797;break;case'function':_0x5aa285=_0x2fc797();}'string'==typeof _0x5aa285&&_0x23d24b['change'](()=>{const _0x32a9f3=this['editor']['data']['htmlProcessor']['toView'](_0x5aa285),_0xb522c4=this['editor']['data']['toModel'](_0x32a9f3);_0x23d24b['insertContent'](_0xb522c4);});}}class i extends _0x1b9e8f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1f4cdc}=this;_0x1f4cdc['commands']['add']('insertTemplate',new o(_0x1f4cdc)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x353736=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6641de;for(const _0x3b77cf in _0x353736){const _0x31c265=_0x3b77cf,_0x415303=_0x353736[_0x31c265];if('templateLicenseKeyValid'==_0x415303||'templateLicenseKeyInvalid'==_0x415303||'templateLicenseKeyExpired'==_0x415303||'templateLicenseKeyDomainLimit'==_0x415303||'templateLicenseKeyNotAllowed'==_0x415303||'templateLicenseKeyEvaluationLimit'==_0x415303||'templateLicenseKeyTrialLimit'==_0x415303||'templateLicenseKeyUsageLimit'==_0x415303){delete _0x353736[_0x31c265],_0x6641de=_0x415303,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x6641de&&_0x353736['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x6641de&&_0x353736['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x6641de&&_0x353736['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x6641de&&_0x353736['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x6641de&&_0x353736['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x6641de&&_0x353736['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x6641de&&_0x353736['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class b extends _0x3297f6{['filter'](_0x65ef6e){if(!_0x65ef6e)return this['_resetFiltering']();const _0x16010c=new Map(),_0x4c9185=this['items']['map'](_0x260b5d=>{const _0x555dee=_0x260b5d['buttonView']['isMatching'](_0x65ef6e);return _0x260b5d['isVisible']=!!_0x555dee,_0x260b5d['buttonView']['highlightText'](_0x555dee?_0x65ef6e:null),_0x555dee&&_0x16010c['set'](_0x260b5d,_0x555dee),_0x260b5d;})['sort'](I)['sort'](function(_0x3c41aa){return function(_0x4d06d0,_0x145a7c){const _0x4b4c00=_0x3c41aa['get'](_0x4d06d0),_0x3401e1=_0x3c41aa['get'](_0x145a7c);return _0x4b4c00&&!_0x3401e1?-0x1:_0x3401e1&&!_0x4b4c00?0x1:_0x4b4c00||_0x3401e1?_0x4b4c00['title']&&!_0x3401e1['title']?-0x1:!_0x4b4c00['title']&&_0x3401e1['title']?0x1:0x0:0x0;};}(_0x16010c));return this['items']['clear'](),this['items']['addMany'](_0x4c9185),{'resultsCount':_0x16010c['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x4559bc=this['items']['map'](_0x427003=>_0x427003)['sort'](I);return _0x4559bc['forEach'](_0x2a209b=>{_0x2a209b['isVisible']=!0x0,_0x2a209b['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x4559bc),{'resultsCount':_0x4559bc['length'],'totalItemsCount':_0x4559bc['length']};}}function I(_0x118f8f,_0x629507){return _0x118f8f['originalIndex']-_0x629507['originalIndex'];}class h extends _0x237ae9{['originalIndex'];['buttonView'];constructor(_0x42d2ed,_0x19169b){super(_0x42d2ed),this['originalIndex']=_0x19169b,this['buttonView']=null;}}class g extends _0x5b2ecb{['templateDefinition'];['textPartView'];constructor(_0x42d8b2,_0x159cc6){super(_0x42d8b2),this['templateDefinition']=_0x159cc6,this['textPartView']=null;const {icon:_0x1e4178=_0x4abf8f}=_0x159cc6;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x1e4178}),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'](_0x2ef2d0){const {title:_0x4ee27a,description:_0x6581a3}=this['templateDefinition'],_0x5ba70a=!!_0x4ee27a['match'](_0x2ef2d0),_0x182e65=!(!_0x6581a3||!_0x6581a3['match'](_0x2ef2d0));return _0x5ba70a||_0x182e65?{'title':_0x5ba70a,'description':_0x182e65}:null;}['highlightText'](_0x38b6d0){this['textPartView']['highlightText'](_0x38b6d0);}}class L extends _0x4afa00{constructor(_0x1285c8,_0x49465b,_0x378b87){super(_0x1285c8),this['title']=_0x49465b['title'],this['description']=_0x49465b['description'],this['titleView']=new _0x4865a5(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x378b87}});const _0x4d5ab2=[this['titleView']];this['description']&&(this['descriptionView']=new _0x4865a5(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x4d5ab2['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x4d5ab2});}['highlightText'](_0x583883){this['titleView']['highlightText'](_0x583883),this['description']&&this['descriptionView']['highlightText'](_0x583883);}}function T(_0x11a262,_0x27a597,..._0x578c07){const t=_0x11a262['t'];switch(_0x27a597){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x578c07);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',..._0x578c07);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x27a597;}}class s extends _0x1b9e8f{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x42505b}=this,_0x3f8914=_0x42505b['config']['get']('template.definitions')||[];_0x42505b['ui']['componentFactory']['add']('insertTemplate',_0x431728=>{const _0x187f51=_0x1924bc(_0x431728),_0x441b58=this['_createTemplateListView'](_0x431728,_0x3f8914),_0x4c47ba=new _0x280930(_0x431728,{'filteredView':_0x441b58,'queryView':{'label':T(_0x431728,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x5dd50a=>T(_0x431728,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x5dd50a),'secondary':T(_0x431728,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':T(_0x431728,'No\x20templates\x20available.')}}}}),_0x49842c=_0x42505b['commands']['get']('insertTemplate');return _0x4c47ba['on']('search',(_0x10a6ae,_0x10c175)=>{_0x10c175['query']&&_0x10c175['query']['length']&&_0x42505b['ui']['ariaLiveAnnouncer']['announce'](T(_0x431728,'%0\x20templates\x20found',_0x10c175['resultsCount']));}),_0x187f51['bind']('isEnabled')['to'](_0x49842c),_0x187f51['panelView']['children']['add'](_0x4c47ba),_0x187f51['buttonView']['set']({'label':T(_0x431728,'Insert\x20template'),'icon':_0xe39e9c,'tooltip':!0x0}),_0x187f51['on']('change:isOpen',(_0x5eb55d,_0xc66520,_0x1b742c)=>{_0x1b742c||_0x4c47ba['reset']();}),_0x187f51;}),_0x42505b['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x424cd1=>{const _0x13efdf=_0x42505b['commands']['get']('insertTemplate'),_0x56c2cd=new _0xf0c4e8(_0x424cd1);_0x56c2cd['buttonView']['set']({'label':T(_0x424cd1,'Template'),'icon':_0xe39e9c});const _0x37344d=new _0x651f6c(_0x424cd1);if(!_0x3f8914||!_0x3f8914['length']){const _0x4ed25a=new _0x272dfc(_0x424cd1,_0x56c2cd),_0x53e1f0=new _0x3b3422(_0x424cd1);_0x53e1f0['set']({'label':T(_0x424cd1,'No\x20templates\x20available.')}),_0x53e1f0['delegate']('execute')['to'](_0x56c2cd),_0x53e1f0['on']('execute',()=>{_0x42505b['editing']['view']['focus']();}),_0x4ed25a['children']['add'](_0x53e1f0),_0x37344d['items']['add'](_0x4ed25a);}for(const _0x5b96ab of _0x3f8914){const _0x58f3a1=new _0x272dfc(_0x424cd1,_0x56c2cd),_0x2e2298=new _0x3b3422(_0x424cd1);_0x2e2298['set']({'class':'ck-template-button','label':_0x5b96ab['title'],'icon':_0x5b96ab['icon']||_0x4abf8f}),_0x2e2298['delegate']('execute')['to'](_0x56c2cd),_0x2e2298['on']('execute',()=>{_0x42505b['execute']('insertTemplate',_0x5b96ab['data']),_0x42505b['editing']['view']['focus']();}),_0x58f3a1['children']['add'](_0x2e2298),_0x37344d['items']['add'](_0x58f3a1);}return _0x56c2cd['panelView']['children']['add'](_0x37344d),_0x56c2cd['bind']('isEnabled')['to'](_0x13efdf,'isEnabled'),_0x56c2cd;});}['afterInit'](){!async function(_0x458572){const _0x4371be=_0x3bac4d([0x4b,0x77,0x48,0x35,0x7a,0x50,0x72,0x74,0x45,0x55,0x5a,0x4f,0x6c,0x65,0x67,0x6d,0x44,0x4e,0x31,0x66,0x68,0x54,0x34,0x58,0x41,0x47,0x4d,0x42,0x6a,0x39,0x79,0x53,0x43,0x61,0x4c,0x49,0x51,0x46,0x71,0x69,0x56,0x30,0x76,0x75,0x52,0x59,0x33,0x78,0x70,0x57,0x6e,0x6b,0x38,0x62,0x64,0x37,0x6f,0x4a,0x36,0x73,0x32,0x63]),_0x16597f=0x26cb0be4,_0x3e9aea=0x26cc6c94^_0x16597f,_0x5df1d2=window[_0x3bac4d([0x44,0x61,0x74,0x65])][_0x3bac4d([0x6e,0x6f,0x77])](),_0x3258cf=_0x458572[_0x3bac4d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d3041=new window[(_0x3bac4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x892b76=>{_0x3258cf[_0x3bac4d([0x6f,0x6e,0x63,0x65])](_0x3bac4d([0x72,0x65,0x61,0x64,0x79]),_0x892b76);}),_0x20c08e={[_0x3bac4d([0x6b,0x74,0x79])]:_0x3bac4d([0x45,0x43]),[_0x3bac4d([0x75,0x73,0x65])]:_0x3bac4d([0x73,0x69,0x67]),[_0x3bac4d([0x63,0x72,0x76])]:_0x3bac4d([0x50,0x2d,0x32,0x35,0x36]),[_0x3bac4d([0x78])]:_0x3bac4d([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]),[_0x3bac4d([0x79])]:_0x3bac4d([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]),[_0x3bac4d([0x61,0x6c,0x67])]:_0x3bac4d([0x45,0x53,0x32,0x35,0x36])},_0xe34a8f=_0x3258cf[_0x3bac4d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bac4d([0x67,0x65,0x74])](_0x3bac4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a6a99(){let _0x5b5d02,_0x74920b=null,_0x47f1f3=null;try{if(_0xe34a8f==_0x3bac4d([0x47,0x50,0x4c]))return _0x3bac4d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b5d02=_0x4589ae(),!_0x5b5d02)return _0x3bac4d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b5d02[_0x3bac4d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47f1f3=_0x4515f9(_0x5b5d02[_0x3bac4d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b5d02[_0x3bac4d([0x6a,0x74,0x69])])),await _0x44ae95()?_0xc54453()?_0x13269f()?_0x3bac4d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xaf0b23()?(_0x5b5d02[_0x3bac4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bac4d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x74920b=_0xd89587(_0x3bac4d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b5d02[_0x3bac4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bac4d([0x74,0x72,0x69,0x61,0x6c])&&(_0x74920b=_0xd89587(_0x3bac4d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5857cb()):_0x3bac4d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bac4d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bac4d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x490b75){return _0x3bac4d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13269f(){const _0x567f73=[_0x3bac4d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bac4d([0x74,0x72,0x69,0x61,0x6c])][_0x3bac4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b5d02[_0x3bac4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5df1d2/0x3e8:0xe10*_0x3e9aea;return _0x5b5d02[_0x3bac4d([0x65,0x78,0x70])]<_0x567f73;}function _0xc54453(){const _0x3de5a1=_0x5b5d02[_0x3bac4d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3de5a1&&(!!_0x3de5a1[_0x3bac4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bac4d([0x2a]))||(!!_0x3de5a1[_0x3bac4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bac4d([0x54,0x50,0x4c]))||(!!_0x3de5a1[_0x3bac4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bac4d([0x50,0x50]))||!(!_0x3de5a1[_0x3bac4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bac4d([0x44,0x52,0x55,0x50]))||!_0x270289()))));}function _0xaf0b23(){const _0x50ae44=_0x5b5d02[_0x3bac4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50ae44||0x0==_0x50ae44[_0x3bac4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39ff98}=new URL(window[_0x3bac4d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50ae44[_0x3bac4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39ff98))return!0x0;const _0x463072=_0x39ff98[_0x3bac4d([0x73,0x70,0x6c,0x69,0x74])](_0x3bac4d([0x2e]));return _0x50ae44[_0x3bac4d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49f389=>_0x49f389[_0x3bac4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bac4d([0x2a])))[_0x3bac4d([0x6d,0x61,0x70])](_0x14f95b=>_0x14f95b[_0x3bac4d([0x73,0x70,0x6c,0x69,0x74])](_0x3bac4d([0x2e])))[_0x3bac4d([0x73,0x6f,0x6d,0x65])](_0xaae713=>_0x463072[_0x3bac4d([0x65,0x76,0x65,0x72,0x79])]((_0x3da5bf,_0x364a5a)=>_0xaae713[_0x364a5a]===_0x3da5bf||_0xaae713[_0x364a5a]===_0x3bac4d([0x2a])));}function _0x5857cb(){return _0x74920b&&_0x47f1f3?new window[(_0x3bac4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bd722,_0x4d7bcb)=>{_0x74920b[_0x3bac4d([0x74,0x68,0x65,0x6e])](_0x3bd722,_0x4d7bcb),_0x47f1f3[_0x3bac4d([0x74,0x68,0x65,0x6e])](_0x4f4f5b=>{_0x4f4f5b!=_0x3bac4d([0x56,0x61,0x6c,0x69,0x64])&&_0x3bd722(_0x4f4f5b);},_0x4d7bcb);}):_0x74920b||_0x47f1f3||_0x3bac4d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4515f9(_0x24cfb3,_0x5a2958){return new window[(_0x3bac4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10202e=>{if(_0x29e0f5())return _0x10202e(_0x3bac4d([0x56,0x61,0x6c,0x69,0x64]));_0x5304f4(),_0x3258cf[_0x3bac4d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bac4d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26b985=!0x1;const _0x1fc510=_0x5938f7();function _0x49c19c(_0x377952){return!!_0x377952&&(typeof _0x377952===_0x3bac4d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x377952===_0x3bac4d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x377952[_0x3bac4d([0x74,0x68,0x65,0x6e])]===_0x3bac4d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x377952[_0x3bac4d([0x63,0x61,0x74,0x63,0x68])]===_0x3bac4d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x67f64e(_0x93cb31){_0x2778fd(_0x93cb31)[_0x3bac4d([0x74,0x68,0x65,0x6e])](_0x97c1b8=>{if(!_0x97c1b8||_0x97c1b8[_0x3bac4d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bac4d([0x6f,0x6b]))return _0x3bac4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x564e5c(_0x1aeb5c(_0x1fc510+_0x5a2958))!=_0x97c1b8[_0x3bac4d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bac4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bac4d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bac4d([0x74,0x68,0x65,0x6e])](_0x261d81=>(_0x47da1a(),_0x261d81),()=>{const _0x21780e=_0x905b1f();return null==_0x21780e?(_0x47da1a(),_0x3bac4d([0x56,0x61,0x6c,0x69,0x64])):_0x3bac4d(_0x5df1d2-_0x21780e>(0x2c78fe4^_0x16597f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bac4d([0x74,0x68,0x65,0x6e])](_0x10202e)[_0x3bac4d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10202e(_0x3bac4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x151c70=0x26fde564^_0x16597f;function _0x47da1a(){const _0x50faa8=_0x3bac4d([0x6c,0x6c,0x63,0x74,0x2d])+_0x564e5c(_0x1aeb5c(_0x24cfb3)),_0x56f615=_0x13e88d(_0x564e5c(window[_0x3bac4d([0x4d,0x61,0x74,0x68])][_0x3bac4d([0x63,0x65,0x69,0x6c])](_0x5df1d2/_0x151c70)));window[_0x3bac4d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bac4d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50faa8,_0x56f615);}function _0x905b1f(){const _0x20f6ce=_0x3bac4d([0x6c,0x6c,0x63,0x74,0x2d])+_0x564e5c(_0x1aeb5c(_0x24cfb3)),_0x5e5cea=window[_0x3bac4d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bac4d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20f6ce);return _0x5e5cea?window[_0x3bac4d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13e88d(_0x5e5cea),0x10)*_0x151c70:null;}function _0x2778fd(_0x69cb7f){return new window[(_0x3bac4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4da350,_0x5e9bb8)=>{_0x69cb7f[_0x3bac4d([0x74,0x68,0x65,0x6e])](_0x4da350,_0x5e9bb8),window[_0x3bac4d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e9bb8,0x26cadf24^_0x16597f);});}}_0x3258cf[_0x3bac4d([0x6f,0x6e])](_0x3bac4d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x298924,_0x3ae3a7)=>{if(_0x3ae3a7[0x0]!=_0x24cfb3)return _0x10202e(_0x3bac4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ae3a7[0x1]={..._0x3ae3a7[0x1],[_0x3bac4d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1fc510};},{[_0x3bac4d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bac4d([0x68,0x69,0x67,0x68])}),_0x3258cf[_0x3bac4d([0x6f,0x6e])](_0x3bac4d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fa783=>{_0x49c19c(_0x4fa783[_0x3bac4d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26b985=!0x0,_0x67f64e(_0x4fa783[_0x3bac4d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bac4d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bac4d([0x6c,0x6f,0x77])}),_0x1d3041[_0x3bac4d([0x74,0x68,0x65,0x6e])](()=>{_0x26b985||_0x10202e(_0x3bac4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29e0f5(){return _0x3258cf[_0x3bac4d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bac4d([0x76,0x69,0x65,0x77])][_0x3bac4d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bac4d([0x61,0x75,0x74,0x6f]);}function _0x5304f4(){_0x3258cf[_0x3bac4d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bac4d([0x76,0x69,0x65,0x77])][_0x3bac4d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bac4d([0x61,0x75,0x74,0x6f]);}}function _0xd89587(_0x5d0298){const _0x3720e5=[new window[(_0x3bac4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1502c4=>setTimeout(_0x1502c4,0x26c23528^_0x16597f)),_0x1d3041[_0x3bac4d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bac4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53598d=>{let _0x5c672e=0x0;_0x3258cf[_0x3bac4d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bac4d([0x6f,0x6e])](_0x3bac4d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2591eb,_0xed00cb)=>{_0xed00cb[0x0][_0x3bac4d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c672e++,_0x5c672e==(0x26cb0a1c^_0x16597f)&&(_0x53598d(),_0x2591eb[_0x3bac4d([0x6f,0x66,0x66])]());});}))];return window[_0x3bac4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bac4d([0x72,0x61,0x63,0x65])](_0x3720e5)[_0x3bac4d([0x74,0x68,0x65,0x6e])](()=>_0x5d0298);}async function _0x3a3b43(){await _0x1d3041,_0x3258cf[_0x3bac4d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bac4d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a639b,_0x3258cf[_0x3bac4d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bac4d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a639b,_0x3258cf[_0x3bac4d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bac4d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x270289(){return window[_0x3bac4d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x391b0d(_0x3d8597){const _0x4674c5=_0x40951c();_0x3258cf[_0x4674c5]=_0x3bac4d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d8597,_0x3d8597!=_0x3bac4d([0x56,0x61,0x6c,0x69,0x64])&&_0x3a3b43();}function _0x40951c(){const _0x30fea3=window[_0x3bac4d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bac4d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bac4d([0x6e,0x6f,0x77])]())[_0x3bac4d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bac4d([0x2e]),'');let _0x3466ba=_0x3bac4d([0x4b]);for(let _0x41ede6=0x0;_0x41ede6<_0x30fea3[_0x3bac4d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41ede6+=0x2){let _0x4cd80e=window[_0x3bac4d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30fea3[_0x3bac4d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41ede6,_0x41ede6+0x2));_0x4cd80e>=_0x4371be[_0x3bac4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cd80e-=_0x4371be[_0x3bac4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3466ba+=_0x4371be[_0x4cd80e];}return _0x3466ba;}function _0x4589ae(){const _0x4e8900=_0xe34a8f[_0x3bac4d([0x73,0x70,0x6c,0x69,0x74])](_0x3bac4d([0x2e]));if(0x3!=_0x4e8900[_0x3bac4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x94606e(_0x4e8900[0x1]);function _0x94606e(_0x2c7882){const _0x276474=_0x294426(_0x2c7882);return _0x276474&&_0x17a16a()?_0x276474:null;function _0x17a16a(){const _0x38ad08=_0x276474[_0x3bac4d([0x6a,0x74,0x69])],_0x4d8f2c=window[_0x3bac4d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38ad08[_0x3bac4d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38ad08[_0x3bac4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f2817={..._0x276474,[_0x3bac4d([0x6a,0x74,0x69])]:_0x38ad08[_0x3bac4d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38ad08[_0x3bac4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f2817[_0x3bac4d([0x76,0x63])],_0x1aeb5c(_0x3f2817)==_0x4d8f2c;}}}async function _0x44ae95(){let _0x4af0f5=!0x0;try{const _0x9757d7=_0xe34a8f[_0x3bac4d([0x73,0x70,0x6c,0x69,0x74])](_0x3bac4d([0x2e])),[_0xe1cf9,_0x1d2255,_0x402cd6]=_0x9757d7;return _0x4e9d1a(_0xe1cf9),await _0x174bbc(_0xe1cf9,_0x1d2255,_0x402cd6),_0x4af0f5;}catch(_0x59b6f1){return!0x1;}function _0x4e9d1a(_0x5d7330){const _0x22b4bd=_0x294426(_0x5d7330);_0x22b4bd&&_0x22b4bd[_0x3bac4d([0x61,0x6c,0x67])]==_0x3bac4d([0x45,0x53,0x32,0x35,0x36])||(_0x4af0f5=!0x1);}async function _0x174bbc(_0x49e797,_0x2f8157,_0x1a4cdf){const _0xfefad6=window[_0x3bac4d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bac4d([0x66,0x72,0x6f,0x6d])](_0x42c2f8(_0x1a4cdf),_0x3fb822=>_0x3fb822[_0x3bac4d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x378f35=new window[(_0x3bac4d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bac4d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49e797+_0x3bac4d([0x2e])+_0x2f8157),_0x4c692a=window[_0x3bac4d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bac4d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c692a)return;const _0x20514a=await _0x4c692a[_0x3bac4d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bac4d([0x6a,0x77,0x6b]),_0x20c08e,{[_0x3bac4d([0x6e,0x61,0x6d,0x65])]:_0x3bac4d([0x45,0x43,0x44,0x53,0x41]),[_0x3bac4d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bac4d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bac4d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c692a[_0x3bac4d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bac4d([0x6e,0x61,0x6d,0x65])]:_0x3bac4d([0x45,0x43,0x44,0x53,0x41]),[_0x3bac4d([0x68,0x61,0x73,0x68])]:{[_0x3bac4d([0x6e,0x61,0x6d,0x65])]:_0x3bac4d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20514a,_0xfefad6,_0x378f35)||(_0x4af0f5=!0x1);}}function _0x294426(_0x140668){return _0x140668[_0x3bac4d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bac4d([0x65,0x79]))?JSON[_0x3bac4d([0x70,0x61,0x72,0x73,0x65])](_0x42c2f8(_0x140668)):null;}function _0x42c2f8(_0x45be3d){return window[_0x3bac4d([0x61,0x74,0x6f,0x62])](_0x45be3d[_0x3bac4d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bac4d([0x2b]))[_0x3bac4d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bac4d([0x2f])));}function _0x1aeb5c(_0x3f3465){let _0x22c643=0x1505;function _0xc08463(_0x345f3b){for(let _0x3302e6=0x0;_0x3302e6<_0x345f3b[_0x3bac4d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3302e6++){const _0x64c37=_0x345f3b[_0x3bac4d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3302e6);_0x22c643=(_0x22c643<<0x5)+_0x22c643+_0x64c37,_0x22c643&=_0x22c643;}}function _0x1d73dd(_0x4c823d){Array[_0x3bac4d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c823d)?_0x4c823d[_0x3bac4d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d73dd):_0x4c823d&&typeof _0x4c823d==_0x3bac4d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bac4d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c823d)[_0x3bac4d([0x73,0x6f,0x72,0x74])]()[_0x3bac4d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10f5c8,_0x615d0f])=>{_0xc08463(_0x10f5c8),_0x1d73dd(_0x615d0f);}):_0xc08463(window[_0x3bac4d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c823d));}return _0x1d73dd(_0x3f3465),_0x22c643>>>0x0;}function _0x564e5c(_0x23bff4){return _0x23bff4[_0x3bac4d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bac4d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bac4d([0x30]));}function _0x13e88d(_0x51f513){return _0x51f513[_0x3bac4d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bac4d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bac4d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a639b(){}function _0x3bac4d(_0xecd21d){return _0xecd21d['map'](_0x259846=>String['fromCharCode'](_0x259846))['join']('');}_0x391b0d(await _0x5a6a99());}(this);}['_createTemplateListView'](_0x45de27,_0xdd4e3f){const {editor:_0x153c08}=this,_0x13ba61=new b(_0x45de27);return _0x13ba61['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x13ba61['items']['addMany'](_0xdd4e3f['map']((_0x403eb9,_0x2fccb2)=>{const _0x12006d=new h(_0x45de27,_0x2fccb2),_0x23f21b=new g(_0x45de27,_0x403eb9);return _0x12006d['buttonView']=_0x23f21b,_0x12006d['children']['add'](_0x23f21b),_0x12006d['buttonView']['on']('execute',_0x59a2e1=>{_0x153c08['execute']('insertTemplate',_0x59a2e1['source']['templateDefinition']['data']),_0x153c08['editing']['view']['focus']();}),_0x12006d;})),_0x13ba61;}}class m extends _0x1b9e8f{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{m as Template,o as TemplateCommand,i as TemplateEditing,s as TemplateUI};
23
+ import{Command as _0x31ef8f,Plugin as _0x2b2df5}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x3c56d4,IconTemplate as _0x1f03a1}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x52b5ce,ListItemView as _0x2e69db,ButtonView as _0x1bd7a7,View as _0x2b25b8,HighlightedTextView as _0x38e020,createDropdown as _0x510f07,SearchTextView as _0x41c4c2,MenuBarMenuView as _0x25b393,MenuBarMenuListView as _0x1ae34c,MenuBarMenuListItemView as _0x65e615,MenuBarMenuListItemButtonView as _0x1f3cde}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x582afc}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x31ef8f{['execute'](_0x369b59){const {model:_0xc85658}=this['editor'];let _0x3240a3;switch(typeof _0x369b59){case'string':_0x3240a3=_0x369b59;break;case'function':_0x3240a3=_0x369b59();}'string'==typeof _0x3240a3&&_0xc85658['change'](()=>{const _0x45e5aa=this['editor']['data']['htmlProcessor']['toView'](_0x3240a3),_0x4d0504=this['editor']['data']['toModel'](_0x45e5aa);_0xc85658['insertContent'](_0x4d0504);});}}class i extends _0x2b2df5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3d8c59}=this;_0x3d8c59['commands']['add']('insertTemplate',new o(_0x3d8c59)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3d85fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c2e15;for(const _0x26d63c in _0x3d85fb){const _0x46bfb3=_0x26d63c,_0x2e7a1c=_0x3d85fb[_0x46bfb3];if('templateLicenseKeyValid'==_0x2e7a1c||'templateLicenseKeyInvalid'==_0x2e7a1c||'templateLicenseKeyExpired'==_0x2e7a1c||'templateLicenseKeyDomainLimit'==_0x2e7a1c||'templateLicenseKeyNotAllowed'==_0x2e7a1c||'templateLicenseKeyEvaluationLimit'==_0x2e7a1c||'templateLicenseKeyTrialLimit'==_0x2e7a1c||'templateLicenseKeyUsageLimit'==_0x2e7a1c){delete _0x3d85fb[_0x46bfb3],_0x3c2e15=_0x2e7a1c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x3c2e15&&_0x3d85fb['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x3c2e15&&_0x3d85fb['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x3c2e15&&_0x3d85fb['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x3c2e15&&_0x3d85fb['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x3c2e15&&_0x3d85fb['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x3c2e15&&_0x3d85fb['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x3c2e15&&_0x3d85fb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class b extends _0x52b5ce{['filter'](_0x20ac41){if(!_0x20ac41)return this['_resetFiltering']();const _0x117742=new Map(),_0x80aea7=this['items']['map'](_0x22e85c=>{const _0xae994c=_0x22e85c['buttonView']['isMatching'](_0x20ac41);return _0x22e85c['isVisible']=!!_0xae994c,_0x22e85c['buttonView']['highlightText'](_0xae994c?_0x20ac41:null),_0xae994c&&_0x117742['set'](_0x22e85c,_0xae994c),_0x22e85c;})['sort'](I)['sort'](function(_0x2dffe2){return function(_0x2d492f,_0x260306){const _0x2a98f3=_0x2dffe2['get'](_0x2d492f),_0x4efd41=_0x2dffe2['get'](_0x260306);return _0x2a98f3&&!_0x4efd41?-0x1:_0x4efd41&&!_0x2a98f3?0x1:_0x2a98f3||_0x4efd41?_0x2a98f3['title']&&!_0x4efd41['title']?-0x1:!_0x2a98f3['title']&&_0x4efd41['title']?0x1:0x0:0x0;};}(_0x117742));return this['items']['clear'](),this['items']['addMany'](_0x80aea7),{'resultsCount':_0x117742['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x571494=this['items']['map'](_0x53b519=>_0x53b519)['sort'](I);return _0x571494['forEach'](_0x2182ba=>{_0x2182ba['isVisible']=!0x0,_0x2182ba['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x571494),{'resultsCount':_0x571494['length'],'totalItemsCount':_0x571494['length']};}}function I(_0x21538f,_0x5b1fa5){return _0x21538f['originalIndex']-_0x5b1fa5['originalIndex'];}class h extends _0x2e69db{['originalIndex'];['buttonView'];constructor(_0x353da9,_0xb23acd){super(_0x353da9),this['originalIndex']=_0xb23acd,this['buttonView']=null;}}class g extends _0x1bd7a7{['templateDefinition'];['textPartView'];constructor(_0x54e0af,_0x2ee072){super(_0x54e0af),this['templateDefinition']=_0x2ee072,this['textPartView']=null;const {icon:_0x31510e=_0x3c56d4}=_0x2ee072;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x31510e}),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'](_0x25af18){const {title:_0xb7a9d8,description:_0xdbe1ca}=this['templateDefinition'],_0xf291ca=!!_0xb7a9d8['match'](_0x25af18),_0x1c65b9=!(!_0xdbe1ca||!_0xdbe1ca['match'](_0x25af18));return _0xf291ca||_0x1c65b9?{'title':_0xf291ca,'description':_0x1c65b9}:null;}['highlightText'](_0x462a4f){this['textPartView']['highlightText'](_0x462a4f);}}class L extends _0x2b25b8{constructor(_0x44d61d,_0x154cf3,_0x1f9851){super(_0x44d61d),this['title']=_0x154cf3['title'],this['description']=_0x154cf3['description'],this['titleView']=new _0x38e020(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x1f9851}});const _0x37df20=[this['titleView']];this['description']&&(this['descriptionView']=new _0x38e020(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x37df20['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x37df20});}['highlightText'](_0x4a1bdc){this['titleView']['highlightText'](_0x4a1bdc),this['description']&&this['descriptionView']['highlightText'](_0x4a1bdc);}}function T(_0x256f6a,_0x31b592,..._0x2fd4c5){const t=_0x256f6a['t'];switch(_0x31b592){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x2fd4c5);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',..._0x2fd4c5);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x31b592;}}class s extends _0x2b2df5{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x597b97}=this,_0x5dcb98=_0x597b97['config']['get']('template.definitions')||[];_0x597b97['ui']['componentFactory']['add']('insertTemplate',_0xf20225=>{const _0x1e28a9=_0x510f07(_0xf20225),_0x2e7fb1=this['_createTemplateListView'](_0xf20225,_0x5dcb98),_0x19a8b4=new _0x41c4c2(_0xf20225,{'filteredView':_0x2e7fb1,'queryView':{'label':T(_0xf20225,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x4b0958=>T(_0xf20225,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x4b0958),'secondary':T(_0xf20225,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':T(_0xf20225,'No\x20templates\x20available.')}}}}),_0x5f5b6d=_0x597b97['commands']['get']('insertTemplate');return _0x19a8b4['on']('search',(_0x22faef,_0xc6b1fe)=>{_0xc6b1fe['query']&&_0xc6b1fe['query']['length']&&_0x597b97['ui']['ariaLiveAnnouncer']['announce'](T(_0xf20225,'%0\x20templates\x20found',_0xc6b1fe['resultsCount']));}),_0x1e28a9['bind']('isEnabled')['to'](_0x5f5b6d),_0x1e28a9['panelView']['children']['add'](_0x19a8b4),_0x1e28a9['buttonView']['set']({'label':T(_0xf20225,'Insert\x20template'),'icon':_0x1f03a1,'tooltip':!0x0}),_0x1e28a9['on']('change:isOpen',(_0x319613,_0x200492,_0x5a0168)=>{_0x5a0168||_0x19a8b4['reset']();}),_0x1e28a9;}),_0x597b97['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x5eb7e4=>{const _0x28c229=_0x597b97['commands']['get']('insertTemplate'),_0x33432a=new _0x25b393(_0x5eb7e4);_0x33432a['buttonView']['set']({'label':T(_0x5eb7e4,'Template'),'icon':_0x1f03a1});const _0x227c00=new _0x1ae34c(_0x5eb7e4);if(!_0x5dcb98||!_0x5dcb98['length']){const _0x1c99ed=new _0x65e615(_0x5eb7e4,_0x33432a),_0x57c74e=new _0x1f3cde(_0x5eb7e4);_0x57c74e['set']({'label':T(_0x5eb7e4,'No\x20templates\x20available.')}),_0x57c74e['delegate']('execute')['to'](_0x33432a),_0x57c74e['on']('execute',()=>{_0x597b97['editing']['view']['focus']();}),_0x1c99ed['children']['add'](_0x57c74e),_0x227c00['items']['add'](_0x1c99ed);}for(const _0x1e2624 of _0x5dcb98){const _0x1e57bf=new _0x65e615(_0x5eb7e4,_0x33432a),_0x58cc28=new _0x1f3cde(_0x5eb7e4);_0x58cc28['set']({'class':'ck-template-button','label':_0x1e2624['title'],'icon':_0x1e2624['icon']||_0x3c56d4}),_0x58cc28['delegate']('execute')['to'](_0x33432a),_0x58cc28['on']('execute',()=>{_0x597b97['execute']('insertTemplate',_0x1e2624['data']),_0x597b97['editing']['view']['focus']();}),_0x1e57bf['children']['add'](_0x58cc28),_0x227c00['items']['add'](_0x1e57bf);}return _0x33432a['panelView']['children']['add'](_0x227c00),_0x33432a['bind']('isEnabled')['to'](_0x28c229,'isEnabled'),_0x33432a;});}['afterInit'](){!async function(_0x28a29e){const _0x1c6522=_0x3b1c18([0x51,0x58,0x54,0x6b,0x65,0x43,0x30,0x74,0x55,0x71,0x37,0x38,0x6e,0x52,0x79,0x63,0x72,0x61,0x77,0x49,0x66,0x48,0x5a,0x47,0x4f,0x57,0x6a,0x75,0x41,0x78,0x7a,0x34,0x4c,0x33,0x53,0x44,0x68,0x67,0x46,0x4b,0x39,0x73,0x59,0x6c,0x4e,0x56,0x42,0x69,0x31,0x62,0x50,0x36,0x4a,0x6f,0x45,0x6d,0x76,0x64,0x35,0x70,0x4d,0x32]),_0x4bfca0=0x437b7b6e,_0x5b774b=0x437c1cce^_0x4bfca0,_0x50a81e=window[_0x3b1c18([0x44,0x61,0x74,0x65])][_0x3b1c18([0x6e,0x6f,0x77])](),_0x3bd7e3=_0x28a29e[_0x3b1c18([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36a2e3=new window[(_0x3b1c18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x175ddc=>{_0x3bd7e3[_0x3b1c18([0x6f,0x6e,0x63,0x65])](_0x3b1c18([0x72,0x65,0x61,0x64,0x79]),_0x175ddc);}),_0x527065={[_0x3b1c18([0x6b,0x74,0x79])]:_0x3b1c18([0x45,0x43]),[_0x3b1c18([0x75,0x73,0x65])]:_0x3b1c18([0x73,0x69,0x67]),[_0x3b1c18([0x63,0x72,0x76])]:_0x3b1c18([0x50,0x2d,0x32,0x35,0x36]),[_0x3b1c18([0x78])]:_0x3b1c18([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]),[_0x3b1c18([0x79])]:_0x3b1c18([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]),[_0x3b1c18([0x61,0x6c,0x67])]:_0x3b1c18([0x45,0x53,0x32,0x35,0x36])},_0x3ccaaf=_0x3bd7e3[_0x3b1c18([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b1c18([0x67,0x65,0x74])](_0x3b1c18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x56487d(){let _0x532cbf,_0x576145=null,_0x9f8f05=null;try{if(_0x3ccaaf==_0x3b1c18([0x47,0x50,0x4c]))return _0x3b1c18([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x532cbf=_0x5c5a90(),!_0x532cbf)return _0x3b1c18([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x532cbf[_0x3b1c18([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9f8f05=_0x416258(_0x532cbf[_0x3b1c18([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x532cbf[_0x3b1c18([0x6a,0x74,0x69])])),await _0x3bdcb4()?_0xf1edb4()?_0x31ade2()?_0x3b1c18([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbc807b()?(_0x532cbf[_0x3b1c18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b1c18([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x576145=_0x5d26d0(_0x3b1c18([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x532cbf[_0x3b1c18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b1c18([0x74,0x72,0x69,0x61,0x6c])&&(_0x576145=_0x5d26d0(_0x3b1c18([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x355c7f()):_0x3b1c18([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b1c18([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b1c18([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1c6989){return _0x3b1c18([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31ade2(){const _0xde972d=[_0x3b1c18([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b1c18([0x74,0x72,0x69,0x61,0x6c])][_0x3b1c18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x532cbf[_0x3b1c18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50a81e/0x3e8:0xe10*_0x5b774b;return _0x532cbf[_0x3b1c18([0x65,0x78,0x70])]<_0xde972d;}function _0xf1edb4(){const _0x5d4604=_0x532cbf[_0x3b1c18([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d4604&&(!!_0x5d4604[_0x3b1c18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b1c18([0x2a]))||(!!_0x5d4604[_0x3b1c18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b1c18([0x54,0x50,0x4c]))||(!!_0x5d4604[_0x3b1c18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b1c18([0x50,0x50]))||!(!_0x5d4604[_0x3b1c18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b1c18([0x44,0x52,0x55,0x50]))||!_0x17d675()))));}function _0xbc807b(){const _0x3c8046=_0x532cbf[_0x3b1c18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c8046||0x0==_0x3c8046[_0x3b1c18([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cd52e}=new URL(window[_0x3b1c18([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c8046[_0x3b1c18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cd52e))return!0x0;const _0x2542fb=_0x1cd52e[_0x3b1c18([0x73,0x70,0x6c,0x69,0x74])](_0x3b1c18([0x2e]));return _0x3c8046[_0x3b1c18([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x649f=>_0x649f[_0x3b1c18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b1c18([0x2a])))[_0x3b1c18([0x6d,0x61,0x70])](_0x4c3cbd=>_0x4c3cbd[_0x3b1c18([0x73,0x70,0x6c,0x69,0x74])](_0x3b1c18([0x2e])))[_0x3b1c18([0x73,0x6f,0x6d,0x65])](_0x3ef064=>_0x2542fb[_0x3b1c18([0x65,0x76,0x65,0x72,0x79])]((_0x3a6a16,_0x2da40b)=>_0x3ef064[_0x2da40b]===_0x3a6a16||_0x3ef064[_0x2da40b]===_0x3b1c18([0x2a])));}function _0x355c7f(){return _0x576145&&_0x9f8f05?new window[(_0x3b1c18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37fec0,_0x189d49)=>{_0x576145[_0x3b1c18([0x74,0x68,0x65,0x6e])](_0x37fec0,_0x189d49),_0x9f8f05[_0x3b1c18([0x74,0x68,0x65,0x6e])](_0x20f884=>{_0x20f884!=_0x3b1c18([0x56,0x61,0x6c,0x69,0x64])&&_0x37fec0(_0x20f884);},_0x189d49);}):_0x576145||_0x9f8f05||_0x3b1c18([0x56,0x61,0x6c,0x69,0x64]);}}function _0x416258(_0x2b0d52,_0xc6b132){return new window[(_0x3b1c18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x399c88=>{if(_0x4130f0())return _0x399c88(_0x3b1c18([0x56,0x61,0x6c,0x69,0x64]));_0x2a5989(),_0x3bd7e3[_0x3b1c18([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b1c18([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13b9cd=!0x1;const _0x2c2212=_0x582afc();function _0x29fb6d(_0x1c34a1){return!!_0x1c34a1&&(typeof _0x1c34a1===_0x3b1c18([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c34a1===_0x3b1c18([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c34a1[_0x3b1c18([0x74,0x68,0x65,0x6e])]===_0x3b1c18([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c34a1[_0x3b1c18([0x63,0x61,0x74,0x63,0x68])]===_0x3b1c18([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bc3e8(_0x3d0d50){_0x4f5472(_0x3d0d50)[_0x3b1c18([0x74,0x68,0x65,0x6e])](_0x8c2323=>{if(!_0x8c2323||_0x8c2323[_0x3b1c18([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b1c18([0x6f,0x6b]))return _0x3b1c18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5597f3(_0x18ecde(_0x2c2212+_0xc6b132))!=_0x8c2323[_0x3b1c18([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b1c18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b1c18([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b1c18([0x74,0x68,0x65,0x6e])](_0x5c5172=>(_0x6a52dd(),_0x5c5172),()=>{const _0x166847=_0x4e22c2();return null==_0x166847?(_0x6a52dd(),_0x3b1c18([0x56,0x61,0x6c,0x69,0x64])):_0x3b1c18(_0x50a81e-_0x166847>(0x6777ff6e^_0x4bfca0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b1c18([0x74,0x68,0x65,0x6e])](_0x399c88)[_0x3b1c18([0x63,0x61,0x74,0x63,0x68])](()=>{_0x399c88(_0x3b1c18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xaff23c=0x434d95ee^_0x4bfca0;function _0x6a52dd(){const _0x4a38f6=_0x3b1c18([0x6c,0x6c,0x63,0x74,0x2d])+_0x5597f3(_0x18ecde(_0x2b0d52)),_0x5805d0=_0x1e7e5b(_0x5597f3(window[_0x3b1c18([0x4d,0x61,0x74,0x68])][_0x3b1c18([0x63,0x65,0x69,0x6c])](_0x50a81e/_0xaff23c)));window[_0x3b1c18([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b1c18([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a38f6,_0x5805d0);}function _0x4e22c2(){const _0x515ef0=_0x3b1c18([0x6c,0x6c,0x63,0x74,0x2d])+_0x5597f3(_0x18ecde(_0x2b0d52)),_0x515d1e=window[_0x3b1c18([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b1c18([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x515ef0);return _0x515d1e?window[_0x3b1c18([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7e5b(_0x515d1e),0x10)*_0xaff23c:null;}function _0x4f5472(_0x434bc1){return new window[(_0x3b1c18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x188b28,_0x1b2296)=>{_0x434bc1[_0x3b1c18([0x74,0x68,0x65,0x6e])](_0x188b28,_0x1b2296),window[_0x3b1c18([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b2296,0x437aafae^_0x4bfca0);});}}_0x3bd7e3[_0x3b1c18([0x6f,0x6e])](_0x3b1c18([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x11a826,_0x5c017b)=>{if(_0x5c017b[0x0]!=_0x2b0d52)return _0x399c88(_0x3b1c18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c017b[0x1]={..._0x5c017b[0x1],[_0x3b1c18([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c2212};},{[_0x3b1c18([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b1c18([0x68,0x69,0x67,0x68])}),_0x3bd7e3[_0x3b1c18([0x6f,0x6e])](_0x3b1c18([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x45de48=>{_0x29fb6d(_0x45de48[_0x3b1c18([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13b9cd=!0x0,_0x1bc3e8(_0x45de48[_0x3b1c18([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b1c18([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b1c18([0x6c,0x6f,0x77])}),_0x36a2e3[_0x3b1c18([0x74,0x68,0x65,0x6e])](()=>{_0x13b9cd||_0x399c88(_0x3b1c18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4130f0(){return _0x3bd7e3[_0x3b1c18([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b1c18([0x76,0x69,0x65,0x77])][_0x3b1c18([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b1c18([0x61,0x75,0x74,0x6f]);}function _0x2a5989(){_0x3bd7e3[_0x3b1c18([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b1c18([0x76,0x69,0x65,0x77])][_0x3b1c18([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b1c18([0x61,0x75,0x74,0x6f]);}}function _0x5d26d0(_0x1b185f){const _0x31bde8=[new window[(_0x3b1c18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9abe=>setTimeout(_0x4b9abe,0x437245a2^_0x4bfca0)),_0x36a2e3[_0x3b1c18([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b1c18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x185ca1=>{let _0x3f8606=0x0;_0x3bd7e3[_0x3b1c18([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b1c18([0x6f,0x6e])](_0x3b1c18([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x258c82,_0x1e0252)=>{_0x1e0252[0x0][_0x3b1c18([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f8606++,_0x3f8606==(0x437b7a96^_0x4bfca0)&&(_0x185ca1(),_0x258c82[_0x3b1c18([0x6f,0x66,0x66])]());});}))];return window[_0x3b1c18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b1c18([0x72,0x61,0x63,0x65])](_0x31bde8)[_0x3b1c18([0x74,0x68,0x65,0x6e])](()=>_0x1b185f);}async function _0x5f3f2c(){await _0x36a2e3,_0x3bd7e3[_0x3b1c18([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b1c18([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc54c2f,_0x3bd7e3[_0x3b1c18([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b1c18([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc54c2f,_0x3bd7e3[_0x3b1c18([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b1c18([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17d675(){return window[_0x3b1c18([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x2cdd37(_0x416d76){const _0x3db04c=_0x2d1f77();_0x3bd7e3[_0x3db04c]=_0x3b1c18([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x416d76,_0x416d76!=_0x3b1c18([0x56,0x61,0x6c,0x69,0x64])&&_0x5f3f2c();}function _0x2d1f77(){const _0xdc74dd=window[_0x3b1c18([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b1c18([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b1c18([0x6e,0x6f,0x77])]())[_0x3b1c18([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b1c18([0x2e]),'');let _0x32b596=_0x3b1c18([0x51]);for(let _0x1f7571=0x0;_0x1f7571<_0xdc74dd[_0x3b1c18([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f7571+=0x2){let _0x24f313=window[_0x3b1c18([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdc74dd[_0x3b1c18([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f7571,_0x1f7571+0x2));_0x24f313>=_0x1c6522[_0x3b1c18([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24f313-=_0x1c6522[_0x3b1c18([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32b596+=_0x1c6522[_0x24f313];}return _0x32b596;}function _0x5c5a90(){const _0x9b12fa=_0x3ccaaf[_0x3b1c18([0x73,0x70,0x6c,0x69,0x74])](_0x3b1c18([0x2e]));if(0x3!=_0x9b12fa[_0x3b1c18([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x210737(_0x9b12fa[0x1]);function _0x210737(_0x2db4c9){const _0x5acb64=_0x1a4662(_0x2db4c9);return _0x5acb64&&_0x711d3d()?_0x5acb64:null;function _0x711d3d(){const _0x1a79d0=_0x5acb64[_0x3b1c18([0x6a,0x74,0x69])],_0x2e5849=window[_0x3b1c18([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a79d0[_0x3b1c18([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a79d0[_0x3b1c18([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x417d50={..._0x5acb64,[_0x3b1c18([0x6a,0x74,0x69])]:_0x1a79d0[_0x3b1c18([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a79d0[_0x3b1c18([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x417d50[_0x3b1c18([0x76,0x63])],_0x18ecde(_0x417d50)==_0x2e5849;}}}async function _0x3bdcb4(){let _0x517324=!0x0;try{const _0x2fd7cf=_0x3ccaaf[_0x3b1c18([0x73,0x70,0x6c,0x69,0x74])](_0x3b1c18([0x2e])),[_0x25e0d8,_0x21d2cd,_0x26db51]=_0x2fd7cf;return _0x106157(_0x25e0d8),await _0x3c603f(_0x25e0d8,_0x21d2cd,_0x26db51),_0x517324;}catch(_0x5d891c){return!0x1;}function _0x106157(_0x8fd4ea){const _0x47964e=_0x1a4662(_0x8fd4ea);_0x47964e&&_0x47964e[_0x3b1c18([0x61,0x6c,0x67])]==_0x3b1c18([0x45,0x53,0x32,0x35,0x36])||(_0x517324=!0x1);}async function _0x3c603f(_0x3ed83e,_0x1164a2,_0x192499){const _0x597dfe=window[_0x3b1c18([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b1c18([0x66,0x72,0x6f,0x6d])](_0x4ee2f6(_0x192499),_0x38de18=>_0x38de18[_0x3b1c18([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25e017=new window[(_0x3b1c18([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b1c18([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ed83e+_0x3b1c18([0x2e])+_0x1164a2),_0x4427da=window[_0x3b1c18([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b1c18([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4427da)return;const _0x55b900=await _0x4427da[_0x3b1c18([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b1c18([0x6a,0x77,0x6b]),_0x527065,{[_0x3b1c18([0x6e,0x61,0x6d,0x65])]:_0x3b1c18([0x45,0x43,0x44,0x53,0x41]),[_0x3b1c18([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b1c18([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b1c18([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4427da[_0x3b1c18([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b1c18([0x6e,0x61,0x6d,0x65])]:_0x3b1c18([0x45,0x43,0x44,0x53,0x41]),[_0x3b1c18([0x68,0x61,0x73,0x68])]:{[_0x3b1c18([0x6e,0x61,0x6d,0x65])]:_0x3b1c18([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55b900,_0x597dfe,_0x25e017)||(_0x517324=!0x1);}}function _0x1a4662(_0x36ad78){return _0x36ad78[_0x3b1c18([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b1c18([0x65,0x79]))?JSON[_0x3b1c18([0x70,0x61,0x72,0x73,0x65])](_0x4ee2f6(_0x36ad78)):null;}function _0x4ee2f6(_0x305573){return window[_0x3b1c18([0x61,0x74,0x6f,0x62])](_0x305573[_0x3b1c18([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b1c18([0x2b]))[_0x3b1c18([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b1c18([0x2f])));}function _0x18ecde(_0xe262c8){let _0x341f25=0x1505;function _0x20ac57(_0x4e8f68){for(let _0x13edea=0x0;_0x13edea<_0x4e8f68[_0x3b1c18([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13edea++){const _0x2de775=_0x4e8f68[_0x3b1c18([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13edea);_0x341f25=(_0x341f25<<0x5)+_0x341f25+_0x2de775,_0x341f25&=_0x341f25;}}function _0x32eb6a(_0x4ba38e){Array[_0x3b1c18([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ba38e)?_0x4ba38e[_0x3b1c18([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32eb6a):_0x4ba38e&&typeof _0x4ba38e==_0x3b1c18([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b1c18([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ba38e)[_0x3b1c18([0x73,0x6f,0x72,0x74])]()[_0x3b1c18([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4196fb,_0x286065])=>{_0x20ac57(_0x4196fb),_0x32eb6a(_0x286065);}):_0x20ac57(window[_0x3b1c18([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ba38e));}return _0x32eb6a(_0xe262c8),_0x341f25>>>0x0;}function _0x5597f3(_0x484182){return _0x484182[_0x3b1c18([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b1c18([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b1c18([0x30]));}function _0x1e7e5b(_0x39fcff){return _0x39fcff[_0x3b1c18([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b1c18([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b1c18([0x6a,0x6f,0x69,0x6e])]('');}function _0xc54c2f(){}function _0x3b1c18(_0x3964fd){return _0x3964fd['map'](_0xb75af7=>String['fromCharCode'](_0xb75af7))['join']('');}_0x2cdd37(await _0x56487d());}(this);}['_createTemplateListView'](_0x35cea7,_0x1be053){const {editor:_0x525865}=this,_0x5c1cc1=new b(_0x35cea7);return _0x5c1cc1['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5c1cc1['items']['addMany'](_0x1be053['map']((_0x5d25f5,_0x376faf)=>{const _0x3d4589=new h(_0x35cea7,_0x376faf),_0x3c496b=new g(_0x35cea7,_0x5d25f5);return _0x3d4589['buttonView']=_0x3c496b,_0x3d4589['children']['add'](_0x3c496b),_0x3d4589['buttonView']['on']('execute',_0x12719f=>{_0x525865['execute']('insertTemplate',_0x12719f['source']['templateDefinition']['data']),_0x525865['editing']['view']['focus']();}),_0x3d4589;})),_0x5c1cc1;}}class m extends _0x2b2df5{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{m as Template,o 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": "45.1.0-alpha.3",
3
+ "version": "45.1.0-alpha.5",
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": "45.1.0-alpha.3",
26
- "@ckeditor/ckeditor5-icons": "45.1.0-alpha.3",
27
- "@ckeditor/ckeditor5-ui": "45.1.0-alpha.3",
28
- "@ckeditor/ckeditor5-utils": "45.1.0-alpha.3",
29
- "ckeditor5": "45.1.0-alpha.3"
25
+ "@ckeditor/ckeditor5-core": "45.1.0-alpha.5",
26
+ "@ckeditor/ckeditor5-icons": "45.1.0-alpha.5",
27
+ "@ckeditor/ckeditor5-ui": "45.1.0-alpha.5",
28
+ "@ckeditor/ckeditor5-utils": "45.1.0-alpha.5",
29
+ "ckeditor5": "45.1.0-alpha.5"
30
30
  },
31
31
  "license": "SEE LICENSE IN LICENSE.md",
32
32
  "author": "CKSource (http://cksource.com/)",
package/src/templateui.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x283dd6=_0x5a56;(function(_0x41eeb7,_0x430002){const _0x4087b7=_0x5a56,_0x5ce64d=_0x41eeb7();while(!![]){try{const _0x22c521=parseInt(_0x4087b7(0x136))/0x1*(-parseInt(_0x4087b7(0x141))/0x2)+parseInt(_0x4087b7(0x145))/0x3*(parseInt(_0x4087b7(0x13d))/0x4)+-parseInt(_0x4087b7(0x152))/0x5+parseInt(_0x4087b7(0x12e))/0x6*(parseInt(_0x4087b7(0x155))/0x7)+parseInt(_0x4087b7(0x161))/0x8+-parseInt(_0x4087b7(0x162))/0x9*(parseInt(_0x4087b7(0x134))/0xa)+parseInt(_0x4087b7(0x169))/0xb;if(_0x22c521===_0x430002)break;else _0x5ce64d['push'](_0x5ce64d['shift']());}catch(_0x408c67){_0x5ce64d['push'](_0x5ce64d['shift']());}}}(_0x315d,0xf268e));import{Plugin as _0x569324}from'ckeditor5/src/core.js';function _0x5a56(_0x714a63,_0x37346e){const _0x315d14=_0x315d();return _0x5a56=function(_0x5a567e,_0x53eaa6){_0x5a567e=_0x5a567e-0x126;let _0x596a45=_0x315d14[_0x5a567e];return _0x596a45;},_0x5a56(_0x714a63,_0x37346e);}import{IconTemplate as _0x2367e3,IconTemplateGeneric as _0x23f0ef}from'ckeditor5/src/icons.js';function _0x315d(){const _0x21966e=['Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','ck-template-button','templateDefinition','ck-template-list','2267925tzKYrV','href','%0\x20templates\x20found','28YsSfod','afterInit','add','search','view','length','init','ck-template-form','get','template.definitions','ariaLiveAnnouncer','extendTemplate','12938936uOgeyf','83646jvLcgr','source','listbox','config','reset','resultsCount','isOfficialPlugin','6959865oCLqim','change:isOpen','execute','addMany','_createTemplateListView','announce','commands','bind','insertTemplate','1512114ygvlSp','Template','title','items','TemplateUI','map','1680PAiOYs','data','35iBuNjV','icon','Search\x20template','query','set','isEnabled','pluginName','4097016aZFpLr','focus','buttonView','Insert\x20template','72830SVpnNU','delegate','join','isPremiumPlugin','3vMOmvI','No\x20templates\x20available.','panelView','fromCharCode','menuBar:insertTemplate','children','editing','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','componentFactory'];_0x315d=function(){return _0x21966e;};return _0x315d();}import{MenuBarMenuListItemButtonView as _0x5df99b,MenuBarMenuListItemView as _0x48694b,MenuBarMenuListView as _0x5cde77,MenuBarMenuView as _0xca8be6,SearchTextView as _0x1f66c5,createDropdown as _0x67059c}from'ckeditor5/src/ui.js';import{uid as _0x332b47}from'ckeditor5/src/utils.js';import _0x5f515d from'./ui/templatelistview.js';import _0x5bb1f4 from'./ui/templatelistitemview.js';import _0x404a from'./ui/templatelistbuttonview.js';import{getTranslation as _0x1edced}from'./utils/common-translations.js';import'../theme/template.css';export default class s extends _0x569324{static get[_0x283dd6(0x13c)](){const _0x467132=_0x283dd6;return _0x467132(0x132);}static get[_0x283dd6(0x168)](){return!0x0;}static get[_0x283dd6(0x144)](){return!0x0;}[_0x283dd6(0x15b)](){const _0x8952ca=_0x283dd6,{editor:_0x1e9a9d}=this,_0x45e450=_0x1e9a9d[_0x8952ca(0x165)][_0x8952ca(0x15d)](_0x8952ca(0x15e))||[];_0x1e9a9d['ui'][_0x8952ca(0x14d)][_0x8952ca(0x157)](_0x8952ca(0x12d),_0x7ca8c8=>{const _0x8f8385=_0x8952ca,_0x4cb083=_0x67059c(_0x7ca8c8),_0x43db39=this[_0x8f8385(0x129)](_0x7ca8c8,_0x45e450),_0x3c3012=new _0x1f66c5(_0x7ca8c8,{'filteredView':_0x43db39,'queryView':{'label':_0x1edced(_0x7ca8c8,_0x8f8385(0x138))},'class':_0x8f8385(0x15c),'infoView':{'text':{'notFound':{'primary':_0x30297b=>_0x1edced(_0x7ca8c8,_0x8f8385(0x14c),_0x30297b),'secondary':_0x1edced(_0x7ca8c8,_0x8f8385(0x14e))},'noSearchableItems':{'primary':_0x1edced(_0x7ca8c8,_0x8f8385(0x146))}}}}),_0x470d7c=_0x1e9a9d[_0x8f8385(0x12b)][_0x8f8385(0x15d)](_0x8f8385(0x12d));return _0x3c3012['on'](_0x8f8385(0x158),(_0x550e11,_0x231c4c)=>{const _0x507768=_0x8f8385;_0x231c4c[_0x507768(0x139)]&&_0x231c4c[_0x507768(0x139)][_0x507768(0x15a)]&&_0x1e9a9d['ui'][_0x507768(0x15f)][_0x507768(0x12a)](_0x1edced(_0x7ca8c8,_0x507768(0x154),_0x231c4c[_0x507768(0x167)]));}),_0x4cb083[_0x8f8385(0x12c)](_0x8f8385(0x13b))['to'](_0x470d7c),_0x4cb083[_0x8f8385(0x147)][_0x8f8385(0x14a)][_0x8f8385(0x157)](_0x3c3012),_0x4cb083[_0x8f8385(0x13f)][_0x8f8385(0x13a)]({'label':_0x1edced(_0x7ca8c8,_0x8f8385(0x140)),'icon':_0x2367e3,'tooltip':!0x0}),_0x4cb083['on'](_0x8f8385(0x126),(_0x3aae13,_0x3c81c8,_0x449c00)=>{const _0x560dcb=_0x8f8385;_0x449c00||_0x3c3012[_0x560dcb(0x166)]();}),_0x4cb083;}),_0x1e9a9d['ui'][_0x8952ca(0x14d)][_0x8952ca(0x157)](_0x8952ca(0x149),_0x3d64ab=>{const _0x36cb59=_0x8952ca,_0x238f1c=_0x1e9a9d[_0x36cb59(0x12b)][_0x36cb59(0x15d)](_0x36cb59(0x12d)),_0x5d9f06=new _0xca8be6(_0x3d64ab);_0x5d9f06[_0x36cb59(0x13f)][_0x36cb59(0x13a)]({'label':_0x1edced(_0x3d64ab,_0x36cb59(0x12f)),'icon':_0x2367e3});const _0x1e5f97=new _0x5cde77(_0x3d64ab);if(!_0x45e450||!_0x45e450[_0x36cb59(0x15a)]){const _0x5cb642=new _0x48694b(_0x3d64ab,_0x5d9f06),_0x3bb8dd=new _0x5df99b(_0x3d64ab);_0x3bb8dd[_0x36cb59(0x13a)]({'label':_0x1edced(_0x3d64ab,_0x36cb59(0x146))}),_0x3bb8dd[_0x36cb59(0x142)](_0x36cb59(0x127))['to'](_0x5d9f06),_0x3bb8dd['on'](_0x36cb59(0x127),()=>{const _0x1c3e22=_0x36cb59;_0x1e9a9d[_0x1c3e22(0x14b)][_0x1c3e22(0x159)][_0x1c3e22(0x13e)]();}),_0x5cb642[_0x36cb59(0x14a)][_0x36cb59(0x157)](_0x3bb8dd),_0x1e5f97[_0x36cb59(0x131)][_0x36cb59(0x157)](_0x5cb642);}for(const _0xcd4d2c of _0x45e450){const _0x407075=new _0x48694b(_0x3d64ab,_0x5d9f06),_0x1ddcbd=new _0x5df99b(_0x3d64ab);_0x1ddcbd[_0x36cb59(0x13a)]({'class':_0x36cb59(0x14f),'label':_0xcd4d2c[_0x36cb59(0x130)],'icon':_0xcd4d2c[_0x36cb59(0x137)]||_0x23f0ef}),_0x1ddcbd[_0x36cb59(0x142)](_0x36cb59(0x127))['to'](_0x5d9f06),_0x1ddcbd['on'](_0x36cb59(0x127),()=>{const _0x2675a4=_0x36cb59;_0x1e9a9d[_0x2675a4(0x127)](_0x2675a4(0x12d),_0xcd4d2c[_0x2675a4(0x135)]),_0x1e9a9d[_0x2675a4(0x14b)][_0x2675a4(0x159)][_0x2675a4(0x13e)]();}),_0x407075[_0x36cb59(0x14a)][_0x36cb59(0x157)](_0x1ddcbd),_0x1e5f97[_0x36cb59(0x131)][_0x36cb59(0x157)](_0x407075);}return _0x5d9f06[_0x36cb59(0x147)][_0x36cb59(0x14a)][_0x36cb59(0x157)](_0x1e5f97),_0x5d9f06[_0x36cb59(0x12c)](_0x36cb59(0x13b))['to'](_0x238f1c,_0x36cb59(0x13b)),_0x5d9f06;});}[_0x283dd6(0x156)](){!async function(_0x2cb225){const _0x36a3d6=_0x53f071([0x4b,0x77,0x48,0x35,0x7a,0x50,0x72,0x74,0x45,0x55,0x5a,0x4f,0x6c,0x65,0x67,0x6d,0x44,0x4e,0x31,0x66,0x68,0x54,0x34,0x58,0x41,0x47,0x4d,0x42,0x6a,0x39,0x79,0x53,0x43,0x61,0x4c,0x49,0x51,0x46,0x71,0x69,0x56,0x30,0x76,0x75,0x52,0x59,0x33,0x78,0x70,0x57,0x6e,0x6b,0x38,0x62,0x64,0x37,0x6f,0x4a,0x36,0x73,0x32,0x63]),_0x318aca=0x26cb0be4,_0x37b4eb=0x26cc6c94^_0x318aca,_0x5c0ba2=window[_0x53f071([0x44,0x61,0x74,0x65])][_0x53f071([0x6e,0x6f,0x77])](),_0x252234=_0x2cb225[_0x53f071([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x53102d=new window[(_0x53f071([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e4d66=>{_0x252234[_0x53f071([0x6f,0x6e,0x63,0x65])](_0x53f071([0x72,0x65,0x61,0x64,0x79]),_0x3e4d66);}),_0x5da3f4={[_0x53f071([0x6b,0x74,0x79])]:_0x53f071([0x45,0x43]),[_0x53f071([0x75,0x73,0x65])]:_0x53f071([0x73,0x69,0x67]),[_0x53f071([0x63,0x72,0x76])]:_0x53f071([0x50,0x2d,0x32,0x35,0x36]),[_0x53f071([0x78])]:_0x53f071([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]),[_0x53f071([0x79])]:_0x53f071([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]),[_0x53f071([0x61,0x6c,0x67])]:_0x53f071([0x45,0x53,0x32,0x35,0x36])},_0x4c0b61=_0x252234[_0x53f071([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53f071([0x67,0x65,0x74])](_0x53f071([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e3a10(){let _0x2d5bfb,_0x237aa3=null,_0x38a833=null;try{if(_0x4c0b61==_0x53f071([0x47,0x50,0x4c]))return _0x53f071([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d5bfb=_0xfefab9(),!_0x2d5bfb)return _0x53f071([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d5bfb[_0x53f071([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38a833=_0xe9a48b(_0x2d5bfb[_0x53f071([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d5bfb[_0x53f071([0x6a,0x74,0x69])])),await _0x444b5d()?_0x48cef3()?_0x1b1f10()?_0x53f071([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x319a26()?(_0x2d5bfb[_0x53f071([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53f071([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x237aa3=_0x1a29ad(_0x53f071([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d5bfb[_0x53f071([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53f071([0x74,0x72,0x69,0x61,0x6c])&&(_0x237aa3=_0x1a29ad(_0x53f071([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ac7eb()):_0x53f071([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53f071([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53f071([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x32d7c2){return _0x53f071([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b1f10(){const _0x2b7db9=[_0x53f071([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53f071([0x74,0x72,0x69,0x61,0x6c])][_0x53f071([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d5bfb[_0x53f071([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c0ba2/0x3e8:0xe10*_0x37b4eb;return _0x2d5bfb[_0x53f071([0x65,0x78,0x70])]<_0x2b7db9;}function _0x48cef3(){const _0x77d0c6=_0x2d5bfb[_0x53f071([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x77d0c6&&(!!_0x77d0c6[_0x53f071([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f071([0x2a]))||(!!_0x77d0c6[_0x53f071([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f071([0x54,0x50,0x4c]))||(!!_0x77d0c6[_0x53f071([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f071([0x50,0x50]))||!(!_0x77d0c6[_0x53f071([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f071([0x44,0x52,0x55,0x50]))||!_0x3eb9b9()))));}function _0x319a26(){const _0x42abd3=_0x5a56,_0x31b7e7=_0x2d5bfb[_0x53f071([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31b7e7||0x0==_0x31b7e7[_0x53f071([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x570478}=new URL(window[_0x53f071([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x42abd3(0x153)]);if(_0x31b7e7[_0x53f071([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x570478))return!0x0;const _0x54c833=_0x570478[_0x53f071([0x73,0x70,0x6c,0x69,0x74])](_0x53f071([0x2e]));return _0x31b7e7[_0x53f071([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cc6d7=>_0x4cc6d7[_0x53f071([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f071([0x2a])))[_0x53f071([0x6d,0x61,0x70])](_0x48bb12=>_0x48bb12[_0x53f071([0x73,0x70,0x6c,0x69,0x74])](_0x53f071([0x2e])))[_0x53f071([0x73,0x6f,0x6d,0x65])](_0x41597b=>_0x54c833[_0x53f071([0x65,0x76,0x65,0x72,0x79])]((_0x3e4e83,_0x40cab7)=>_0x41597b[_0x40cab7]===_0x3e4e83||_0x41597b[_0x40cab7]===_0x53f071([0x2a])));}function _0x1ac7eb(){return _0x237aa3&&_0x38a833?new window[(_0x53f071([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38aab9,_0x2846c7)=>{_0x237aa3[_0x53f071([0x74,0x68,0x65,0x6e])](_0x38aab9,_0x2846c7),_0x38a833[_0x53f071([0x74,0x68,0x65,0x6e])](_0x98bef7=>{_0x98bef7!=_0x53f071([0x56,0x61,0x6c,0x69,0x64])&&_0x38aab9(_0x98bef7);},_0x2846c7);}):_0x237aa3||_0x38a833||_0x53f071([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe9a48b(_0x556052,_0x442312){return new window[(_0x53f071([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xceec2a=>{if(_0x4a6728())return _0xceec2a(_0x53f071([0x56,0x61,0x6c,0x69,0x64]));_0x5de91b(),_0x252234[_0x53f071([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53f071([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15e422=!0x1;const _0x3ed4a2=_0x332b47();function _0x59da1c(_0x4f8181){return!!_0x4f8181&&(typeof _0x4f8181===_0x53f071([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f8181===_0x53f071([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f8181[_0x53f071([0x74,0x68,0x65,0x6e])]===_0x53f071([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f8181[_0x53f071([0x63,0x61,0x74,0x63,0x68])]===_0x53f071([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ab8bd(_0x4416ae){_0x42cdef(_0x4416ae)[_0x53f071([0x74,0x68,0x65,0x6e])](_0x160e14=>{if(!_0x160e14||_0x160e14[_0x53f071([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53f071([0x6f,0x6b]))return _0x53f071([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x317100(_0x429edb(_0x3ed4a2+_0x442312))!=_0x160e14[_0x53f071([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53f071([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53f071([0x56,0x61,0x6c,0x69,0x64]);})[_0x53f071([0x74,0x68,0x65,0x6e])](_0x380c7f=>(_0x11b5cf(),_0x380c7f),()=>{const _0x5d136b=_0x50888();return null==_0x5d136b?(_0x11b5cf(),_0x53f071([0x56,0x61,0x6c,0x69,0x64])):_0x53f071(_0x5c0ba2-_0x5d136b>(0x2c78fe4^_0x318aca)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53f071([0x74,0x68,0x65,0x6e])](_0xceec2a)[_0x53f071([0x63,0x61,0x74,0x63,0x68])](()=>{_0xceec2a(_0x53f071([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2879d7=0x26fde564^_0x318aca;function _0x11b5cf(){const _0x591b5b=_0x53f071([0x6c,0x6c,0x63,0x74,0x2d])+_0x317100(_0x429edb(_0x556052)),_0x2c7c93=_0x11b160(_0x317100(window[_0x53f071([0x4d,0x61,0x74,0x68])][_0x53f071([0x63,0x65,0x69,0x6c])](_0x5c0ba2/_0x2879d7)));window[_0x53f071([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53f071([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x591b5b,_0x2c7c93);}function _0x50888(){const _0x2183f6=_0x53f071([0x6c,0x6c,0x63,0x74,0x2d])+_0x317100(_0x429edb(_0x556052)),_0x28314f=window[_0x53f071([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53f071([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2183f6);return _0x28314f?window[_0x53f071([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11b160(_0x28314f),0x10)*_0x2879d7:null;}function _0x42cdef(_0x2af463){return new window[(_0x53f071([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b0193,_0x375e94)=>{_0x2af463[_0x53f071([0x74,0x68,0x65,0x6e])](_0x1b0193,_0x375e94),window[_0x53f071([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x375e94,0x26cadf24^_0x318aca);});}}_0x252234[_0x53f071([0x6f,0x6e])](_0x53f071([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2848ab,_0x232b68)=>{if(_0x232b68[0x0]!=_0x556052)return _0xceec2a(_0x53f071([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x232b68[0x1]={..._0x232b68[0x1],[_0x53f071([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ed4a2};},{[_0x53f071([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53f071([0x68,0x69,0x67,0x68])}),_0x252234[_0x53f071([0x6f,0x6e])](_0x53f071([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3c515b=>{_0x59da1c(_0x3c515b[_0x53f071([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15e422=!0x0,_0x4ab8bd(_0x3c515b[_0x53f071([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53f071([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53f071([0x6c,0x6f,0x77])}),_0x53102d[_0x53f071([0x74,0x68,0x65,0x6e])](()=>{_0x15e422||_0xceec2a(_0x53f071([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a6728(){return _0x252234[_0x53f071([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53f071([0x76,0x69,0x65,0x77])][_0x53f071([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53f071([0x61,0x75,0x74,0x6f]);}function _0x5de91b(){_0x252234[_0x53f071([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53f071([0x76,0x69,0x65,0x77])][_0x53f071([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53f071([0x61,0x75,0x74,0x6f]);}}function _0x1a29ad(_0x41f81d){const _0x10eb03=[new window[(_0x53f071([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49a668=>setTimeout(_0x49a668,0x26c23528^_0x318aca)),_0x53102d[_0x53f071([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53f071([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b4afc=>{let _0x41bf89=0x0;_0x252234[_0x53f071([0x6d,0x6f,0x64,0x65,0x6c])][_0x53f071([0x6f,0x6e])](_0x53f071([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b149c,_0x8ecad7)=>{_0x8ecad7[0x0][_0x53f071([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41bf89++,_0x41bf89==(0x26cb0a1c^_0x318aca)&&(_0x4b4afc(),_0x2b149c[_0x53f071([0x6f,0x66,0x66])]());});}))];return window[_0x53f071([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53f071([0x72,0x61,0x63,0x65])](_0x10eb03)[_0x53f071([0x74,0x68,0x65,0x6e])](()=>_0x41f81d);}async function _0x171bb0(){await _0x53102d,_0x252234[_0x53f071([0x6d,0x6f,0x64,0x65,0x6c])][_0x53f071([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5206cc,_0x252234[_0x53f071([0x6d,0x6f,0x64,0x65,0x6c])][_0x53f071([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5206cc,_0x252234[_0x53f071([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53f071([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3eb9b9(){return window[_0x53f071([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x2e3715(_0x56141a){const _0xd9f135=_0x9127c9();_0x252234[_0xd9f135]=_0x53f071([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x56141a,_0x56141a!=_0x53f071([0x56,0x61,0x6c,0x69,0x64])&&_0x171bb0();}function _0x9127c9(){const _0xc91d25=window[_0x53f071([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53f071([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53f071([0x6e,0x6f,0x77])]())[_0x53f071([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53f071([0x2e]),'');let _0x25cc4c=_0x53f071([0x4b]);for(let _0x262885=0x0;_0x262885<_0xc91d25[_0x53f071([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x262885+=0x2){let _0x33dd48=window[_0x53f071([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc91d25[_0x53f071([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x262885,_0x262885+0x2));_0x33dd48>=_0x36a3d6[_0x53f071([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33dd48-=_0x36a3d6[_0x53f071([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25cc4c+=_0x36a3d6[_0x33dd48];}return _0x25cc4c;}function _0xfefab9(){const _0x5b20f2=_0x4c0b61[_0x53f071([0x73,0x70,0x6c,0x69,0x74])](_0x53f071([0x2e]));if(0x3!=_0x5b20f2[_0x53f071([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19e253(_0x5b20f2[0x1]);function _0x19e253(_0x4c72b7){const _0xd71b85=_0x4f6130(_0x4c72b7);return _0xd71b85&&_0x3f2744()?_0xd71b85:null;function _0x3f2744(){const _0x13244e=_0xd71b85[_0x53f071([0x6a,0x74,0x69])],_0x28398d=window[_0x53f071([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13244e[_0x53f071([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13244e[_0x53f071([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20adbb={..._0xd71b85,[_0x53f071([0x6a,0x74,0x69])]:_0x13244e[_0x53f071([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13244e[_0x53f071([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20adbb[_0x53f071([0x76,0x63])],_0x429edb(_0x20adbb)==_0x28398d;}}}async function _0x444b5d(){let _0x208183=!0x0;try{const _0x4babfc=_0x4c0b61[_0x53f071([0x73,0x70,0x6c,0x69,0x74])](_0x53f071([0x2e])),[_0x4c0f17,_0x355d45,_0x14337a]=_0x4babfc;return _0x45cd0c(_0x4c0f17),await _0x361408(_0x4c0f17,_0x355d45,_0x14337a),_0x208183;}catch(_0x2dfa5c){return!0x1;}function _0x45cd0c(_0x374d05){const _0x3fbd25=_0x4f6130(_0x374d05);_0x3fbd25&&_0x3fbd25[_0x53f071([0x61,0x6c,0x67])]==_0x53f071([0x45,0x53,0x32,0x35,0x36])||(_0x208183=!0x1);}async function _0x361408(_0x21b3c1,_0x4db708,_0x1365e1){const _0x1e9eb6=window[_0x53f071([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53f071([0x66,0x72,0x6f,0x6d])](_0x4876c9(_0x1365e1),_0x4ab05e=>_0x4ab05e[_0x53f071([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41272c=new window[(_0x53f071([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53f071([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x21b3c1+_0x53f071([0x2e])+_0x4db708),_0x232169=window[_0x53f071([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53f071([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x232169)return;const _0x4c5277=await _0x232169[_0x53f071([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53f071([0x6a,0x77,0x6b]),_0x5da3f4,{[_0x53f071([0x6e,0x61,0x6d,0x65])]:_0x53f071([0x45,0x43,0x44,0x53,0x41]),[_0x53f071([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53f071([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53f071([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x232169[_0x53f071([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53f071([0x6e,0x61,0x6d,0x65])]:_0x53f071([0x45,0x43,0x44,0x53,0x41]),[_0x53f071([0x68,0x61,0x73,0x68])]:{[_0x53f071([0x6e,0x61,0x6d,0x65])]:_0x53f071([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c5277,_0x1e9eb6,_0x41272c)||(_0x208183=!0x1);}}function _0x4f6130(_0x3af9db){return _0x3af9db[_0x53f071([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53f071([0x65,0x79]))?JSON[_0x53f071([0x70,0x61,0x72,0x73,0x65])](_0x4876c9(_0x3af9db)):null;}function _0x4876c9(_0x2c3b33){return window[_0x53f071([0x61,0x74,0x6f,0x62])](_0x2c3b33[_0x53f071([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53f071([0x2b]))[_0x53f071([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53f071([0x2f])));}function _0x429edb(_0x1b904e){let _0x398907=0x1505;function _0x53e1b2(_0x1ceb36){for(let _0x270c48=0x0;_0x270c48<_0x1ceb36[_0x53f071([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x270c48++){const _0x1eb866=_0x1ceb36[_0x53f071([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x270c48);_0x398907=(_0x398907<<0x5)+_0x398907+_0x1eb866,_0x398907&=_0x398907;}}function _0x556cbc(_0x3c26a0){Array[_0x53f071([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c26a0)?_0x3c26a0[_0x53f071([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x556cbc):_0x3c26a0&&typeof _0x3c26a0==_0x53f071([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53f071([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c26a0)[_0x53f071([0x73,0x6f,0x72,0x74])]()[_0x53f071([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e5ca3,_0x1efa67])=>{_0x53e1b2(_0x4e5ca3),_0x556cbc(_0x1efa67);}):_0x53e1b2(window[_0x53f071([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c26a0));}return _0x556cbc(_0x1b904e),_0x398907>>>0x0;}function _0x317100(_0x276e0f){return _0x276e0f[_0x53f071([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53f071([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53f071([0x30]));}function _0x11b160(_0x25d109){return _0x25d109[_0x53f071([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53f071([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53f071([0x6a,0x6f,0x69,0x6e])]('');}function _0x5206cc(){}function _0x53f071(_0xef0a96){const _0x4bdae3=_0x5a56;return _0xef0a96[_0x4bdae3(0x133)](_0x5799e9=>String[_0x4bdae3(0x148)](_0x5799e9))[_0x4bdae3(0x143)]('');}_0x2e3715(await _0x3e3a10());}(this);}[_0x283dd6(0x129)](_0x444841,_0x283efe){const _0x2e1566=_0x283dd6,{editor:_0x1d7ab1}=this,_0x35ed87=new _0x5f515d(_0x444841);return _0x35ed87[_0x2e1566(0x160)]({'attributes':{'role':_0x2e1566(0x164),'class':[_0x2e1566(0x151)]}}),_0x35ed87[_0x2e1566(0x131)][_0x2e1566(0x128)](_0x283efe[_0x2e1566(0x133)]((_0x5b0545,_0x478d28)=>{const _0x4e7836=_0x2e1566,_0x3f36d5=new _0x5bb1f4(_0x444841,_0x478d28),_0x97b95=new _0x404a(_0x444841,_0x5b0545);return _0x3f36d5[_0x4e7836(0x13f)]=_0x97b95,_0x3f36d5[_0x4e7836(0x14a)][_0x4e7836(0x157)](_0x97b95),_0x3f36d5[_0x4e7836(0x13f)]['on'](_0x4e7836(0x127),_0x8cc6bf=>{const _0x110cb5=_0x4e7836;_0x1d7ab1[_0x110cb5(0x127)](_0x110cb5(0x12d),_0x8cc6bf[_0x110cb5(0x163)][_0x110cb5(0x150)][_0x110cb5(0x135)]),_0x1d7ab1[_0x110cb5(0x14b)][_0x110cb5(0x159)][_0x110cb5(0x13e)]();}),_0x3f36d5;})),_0x35ed87;}}
23
+ const _0x3a146f=_0x37e9;function _0x2c82(){const _0x5010dc=['title','template.definitions','addMany','No\x20templates\x20available.','1958090Dsauwp','icon','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','2EdRVvk','view','href','panelView','2565857kYmlnz','listbox','ariaLiveAnnouncer','bind','2639328AOIkLB','TemplateUI','delegate','focus','announce','ck-template-list','3663bHsgla','isPremiumPlugin','fromCharCode','isOfficialPlugin','5jZbJhR','resultsCount','data','11PsGHHn','init','ck-template-form','commands','insertTemplate','execute','%0\x20templates\x20found','editing','get','config','items','add','buttonView','set','pluginName','search','8137toJqvT','componentFactory','821248XTJIQy','_createTemplateListView','reset','Insert\x20template','children','4856qceiVF','map','1187313fqkicy','join','isEnabled','afterInit','length','templateDefinition','Template','query','ck-template-button','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','extendTemplate','menuBar:insertTemplate','source','change:isOpen','Search\x20template'];_0x2c82=function(){return _0x5010dc;};return _0x2c82();}(function(_0x1f02b9,_0x9e3008){const _0x5c4432=_0x37e9,_0x4fd985=_0x1f02b9();while(!![]){try{const _0x8e9a85=parseInt(_0x5c4432(0xa7))/0x1+parseInt(_0x5c4432(0x82))/0x2*(parseInt(_0x5c4432(0xb0))/0x3)+parseInt(_0x5c4432(0xa9))/0x4+-parseInt(_0x5c4432(0x94))/0x5*(parseInt(_0x5c4432(0x8a))/0x6)+-parseInt(_0x5c4432(0x86))/0x7+-parseInt(_0x5c4432(0xae))/0x8*(-parseInt(_0x5c4432(0x90))/0x9)+parseInt(_0x5c4432(0x7f))/0xa*(parseInt(_0x5c4432(0x97))/0xb);if(_0x8e9a85===_0x9e3008)break;else _0x4fd985['push'](_0x4fd985['shift']());}catch(_0xf81f5f){_0x4fd985['push'](_0x4fd985['shift']());}}}(_0x2c82,0x3bf87));import{Plugin as _0xaac25b}from'ckeditor5/src/core.js';import{IconTemplate as _0x1454d8,IconTemplateGeneric as _0xb32dae}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x27e55d,MenuBarMenuListItemView as _0x35af10,MenuBarMenuListView as _0x509eee,MenuBarMenuView as _0x5bf126,SearchTextView as _0xc17947,createDropdown as _0x65f4f1}from'ckeditor5/src/ui.js';function _0x37e9(_0x21ff86,_0x590789){const _0x2c82b3=_0x2c82();return _0x37e9=function(_0x37e916,_0x25d82d){_0x37e916=_0x37e916-0x70;let _0x358dce=_0x2c82b3[_0x37e916];return _0x358dce;},_0x37e9(_0x21ff86,_0x590789);}import{uid as _0x3e703a}from'ckeditor5/src/utils.js';import _0x3cc8df from'./ui/templatelistview.js';import _0x49a89f from'./ui/templatelistitemview.js';import _0x4e87bf from'./ui/templatelistbuttonview.js';import{getTranslation as _0x402d74}from'./utils/common-translations.js';import'../theme/template.css';export default class s extends _0xaac25b{static get[_0x3a146f(0xa5)](){const _0x4a51f0=_0x3a146f;return _0x4a51f0(0x8b);}static get[_0x3a146f(0x93)](){return!0x0;}static get[_0x3a146f(0x91)](){return!0x0;}[_0x3a146f(0x98)](){const _0xf99056=_0x3a146f,{editor:_0xbd880f}=this,_0x281420=_0xbd880f[_0xf99056(0xa0)][_0xf99056(0x9f)](_0xf99056(0x7c))||[];_0xbd880f['ui'][_0xf99056(0xa8)][_0xf99056(0xa2)](_0xf99056(0x9b),_0x259bdc=>{const _0x4b337e=_0xf99056,_0x34a5a0=_0x65f4f1(_0x259bdc),_0x58300c=this[_0x4b337e(0xaa)](_0x259bdc,_0x281420),_0x36e9ac=new _0xc17947(_0x259bdc,{'filteredView':_0x58300c,'queryView':{'label':_0x402d74(_0x259bdc,_0x4b337e(0x7a))},'class':_0x4b337e(0x99),'infoView':{'text':{'notFound':{'primary':_0x5e4de4=>_0x402d74(_0x259bdc,_0x4b337e(0x75),_0x5e4de4),'secondary':_0x402d74(_0x259bdc,_0x4b337e(0x81))},'noSearchableItems':{'primary':_0x402d74(_0x259bdc,_0x4b337e(0x7e))}}}}),_0x28e5ed=_0xbd880f[_0x4b337e(0x9a)][_0x4b337e(0x9f)](_0x4b337e(0x9b));return _0x36e9ac['on'](_0x4b337e(0xa6),(_0x3fed56,_0x52f44f)=>{const _0x45cccd=_0x4b337e;_0x52f44f[_0x45cccd(0x73)]&&_0x52f44f[_0x45cccd(0x73)][_0x45cccd(0x70)]&&_0xbd880f['ui'][_0x45cccd(0x88)][_0x45cccd(0x8e)](_0x402d74(_0x259bdc,_0x45cccd(0x9d),_0x52f44f[_0x45cccd(0x95)]));}),_0x34a5a0[_0x4b337e(0x89)](_0x4b337e(0xb2))['to'](_0x28e5ed),_0x34a5a0[_0x4b337e(0x85)][_0x4b337e(0xad)][_0x4b337e(0xa2)](_0x36e9ac),_0x34a5a0[_0x4b337e(0xa3)][_0x4b337e(0xa4)]({'label':_0x402d74(_0x259bdc,_0x4b337e(0xac)),'icon':_0x1454d8,'tooltip':!0x0}),_0x34a5a0['on'](_0x4b337e(0x79),(_0xf3d79,_0x16eedd,_0x48411c)=>{const _0x5c73ec=_0x4b337e;_0x48411c||_0x36e9ac[_0x5c73ec(0xab)]();}),_0x34a5a0;}),_0xbd880f['ui'][_0xf99056(0xa8)][_0xf99056(0xa2)](_0xf99056(0x77),_0x3c6028=>{const _0x55f800=_0xf99056,_0x18d328=_0xbd880f[_0x55f800(0x9a)][_0x55f800(0x9f)](_0x55f800(0x9b)),_0x3a9bf8=new _0x5bf126(_0x3c6028);_0x3a9bf8[_0x55f800(0xa3)][_0x55f800(0xa4)]({'label':_0x402d74(_0x3c6028,_0x55f800(0x72)),'icon':_0x1454d8});const _0x11d03d=new _0x509eee(_0x3c6028);if(!_0x281420||!_0x281420[_0x55f800(0x70)]){const _0x2dce42=new _0x35af10(_0x3c6028,_0x3a9bf8),_0xa883d7=new _0x27e55d(_0x3c6028);_0xa883d7[_0x55f800(0xa4)]({'label':_0x402d74(_0x3c6028,_0x55f800(0x7e))}),_0xa883d7[_0x55f800(0x8c)](_0x55f800(0x9c))['to'](_0x3a9bf8),_0xa883d7['on'](_0x55f800(0x9c),()=>{const _0x2ec1a5=_0x55f800;_0xbd880f[_0x2ec1a5(0x9e)][_0x2ec1a5(0x83)][_0x2ec1a5(0x8d)]();}),_0x2dce42[_0x55f800(0xad)][_0x55f800(0xa2)](_0xa883d7),_0x11d03d[_0x55f800(0xa1)][_0x55f800(0xa2)](_0x2dce42);}for(const _0x43cf66 of _0x281420){const _0x53900d=new _0x35af10(_0x3c6028,_0x3a9bf8),_0x162792=new _0x27e55d(_0x3c6028);_0x162792[_0x55f800(0xa4)]({'class':_0x55f800(0x74),'label':_0x43cf66[_0x55f800(0x7b)],'icon':_0x43cf66[_0x55f800(0x80)]||_0xb32dae}),_0x162792[_0x55f800(0x8c)](_0x55f800(0x9c))['to'](_0x3a9bf8),_0x162792['on'](_0x55f800(0x9c),()=>{const _0x283084=_0x55f800;_0xbd880f[_0x283084(0x9c)](_0x283084(0x9b),_0x43cf66[_0x283084(0x96)]),_0xbd880f[_0x283084(0x9e)][_0x283084(0x83)][_0x283084(0x8d)]();}),_0x53900d[_0x55f800(0xad)][_0x55f800(0xa2)](_0x162792),_0x11d03d[_0x55f800(0xa1)][_0x55f800(0xa2)](_0x53900d);}return _0x3a9bf8[_0x55f800(0x85)][_0x55f800(0xad)][_0x55f800(0xa2)](_0x11d03d),_0x3a9bf8[_0x55f800(0x89)](_0x55f800(0xb2))['to'](_0x18d328,_0x55f800(0xb2)),_0x3a9bf8;});}[_0x3a146f(0xb3)](){!async function(_0x1f8778){const _0x25ef0c=_0x908c79([0x51,0x58,0x54,0x6b,0x65,0x43,0x30,0x74,0x55,0x71,0x37,0x38,0x6e,0x52,0x79,0x63,0x72,0x61,0x77,0x49,0x66,0x48,0x5a,0x47,0x4f,0x57,0x6a,0x75,0x41,0x78,0x7a,0x34,0x4c,0x33,0x53,0x44,0x68,0x67,0x46,0x4b,0x39,0x73,0x59,0x6c,0x4e,0x56,0x42,0x69,0x31,0x62,0x50,0x36,0x4a,0x6f,0x45,0x6d,0x76,0x64,0x35,0x70,0x4d,0x32]),_0x22f5c7=0x437b7b6e,_0xa20e1d=0x437c1cce^_0x22f5c7,_0x2de5ce=window[_0x908c79([0x44,0x61,0x74,0x65])][_0x908c79([0x6e,0x6f,0x77])](),_0x4ff364=_0x1f8778[_0x908c79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2aa3db=new window[(_0x908c79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x284f1a=>{_0x4ff364[_0x908c79([0x6f,0x6e,0x63,0x65])](_0x908c79([0x72,0x65,0x61,0x64,0x79]),_0x284f1a);}),_0x1178a4={[_0x908c79([0x6b,0x74,0x79])]:_0x908c79([0x45,0x43]),[_0x908c79([0x75,0x73,0x65])]:_0x908c79([0x73,0x69,0x67]),[_0x908c79([0x63,0x72,0x76])]:_0x908c79([0x50,0x2d,0x32,0x35,0x36]),[_0x908c79([0x78])]:_0x908c79([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]),[_0x908c79([0x79])]:_0x908c79([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]),[_0x908c79([0x61,0x6c,0x67])]:_0x908c79([0x45,0x53,0x32,0x35,0x36])},_0x4dbf2c=_0x4ff364[_0x908c79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x908c79([0x67,0x65,0x74])](_0x908c79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f9a70(){let _0x3a417d,_0x57fc81=null,_0x2de2f0=null;try{if(_0x4dbf2c==_0x908c79([0x47,0x50,0x4c]))return _0x908c79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a417d=_0x39778d(),!_0x3a417d)return _0x908c79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a417d[_0x908c79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2de2f0=_0x2a07ee(_0x3a417d[_0x908c79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a417d[_0x908c79([0x6a,0x74,0x69])])),await _0x545a06()?_0x4a205c()?_0x484a29()?_0x908c79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3579ef()?(_0x3a417d[_0x908c79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x908c79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57fc81=_0x6298dc(_0x908c79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a417d[_0x908c79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x908c79([0x74,0x72,0x69,0x61,0x6c])&&(_0x57fc81=_0x6298dc(_0x908c79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3877db()):_0x908c79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x908c79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x908c79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3c0103){return _0x908c79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x484a29(){const _0x322799=[_0x908c79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x908c79([0x74,0x72,0x69,0x61,0x6c])][_0x908c79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a417d[_0x908c79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2de5ce/0x3e8:0xe10*_0xa20e1d;return _0x3a417d[_0x908c79([0x65,0x78,0x70])]<_0x322799;}function _0x4a205c(){const _0x1dea59=_0x3a417d[_0x908c79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1dea59&&(!!_0x1dea59[_0x908c79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x908c79([0x2a]))||(!!_0x1dea59[_0x908c79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x908c79([0x54,0x50,0x4c]))||(!!_0x1dea59[_0x908c79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x908c79([0x50,0x50]))||!(!_0x1dea59[_0x908c79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x908c79([0x44,0x52,0x55,0x50]))||!_0x293773()))));}function _0x3579ef(){const _0x32e424=_0x37e9,_0x664e0c=_0x3a417d[_0x908c79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x664e0c||0x0==_0x664e0c[_0x908c79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30c761}=new URL(window[_0x908c79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x32e424(0x84)]);if(_0x664e0c[_0x908c79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30c761))return!0x0;const _0xbc86ec=_0x30c761[_0x908c79([0x73,0x70,0x6c,0x69,0x74])](_0x908c79([0x2e]));return _0x664e0c[_0x908c79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x232033=>_0x232033[_0x908c79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x908c79([0x2a])))[_0x908c79([0x6d,0x61,0x70])](_0x28b36b=>_0x28b36b[_0x908c79([0x73,0x70,0x6c,0x69,0x74])](_0x908c79([0x2e])))[_0x908c79([0x73,0x6f,0x6d,0x65])](_0x3736bb=>_0xbc86ec[_0x908c79([0x65,0x76,0x65,0x72,0x79])]((_0x4649f6,_0x4cca34)=>_0x3736bb[_0x4cca34]===_0x4649f6||_0x3736bb[_0x4cca34]===_0x908c79([0x2a])));}function _0x3877db(){return _0x57fc81&&_0x2de2f0?new window[(_0x908c79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15deeb,_0x3d5148)=>{_0x57fc81[_0x908c79([0x74,0x68,0x65,0x6e])](_0x15deeb,_0x3d5148),_0x2de2f0[_0x908c79([0x74,0x68,0x65,0x6e])](_0x778d44=>{_0x778d44!=_0x908c79([0x56,0x61,0x6c,0x69,0x64])&&_0x15deeb(_0x778d44);},_0x3d5148);}):_0x57fc81||_0x2de2f0||_0x908c79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a07ee(_0x299b9f,_0x59b284){return new window[(_0x908c79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b42b5=>{if(_0x39d6be())return _0x3b42b5(_0x908c79([0x56,0x61,0x6c,0x69,0x64]));_0x470a95(),_0x4ff364[_0x908c79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x908c79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e8895=!0x1;const _0x541ccc=_0x3e703a();function _0x218add(_0x1e3333){return!!_0x1e3333&&(typeof _0x1e3333===_0x908c79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e3333===_0x908c79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e3333[_0x908c79([0x74,0x68,0x65,0x6e])]===_0x908c79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e3333[_0x908c79([0x63,0x61,0x74,0x63,0x68])]===_0x908c79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2059c5(_0x55d333){_0x5a0436(_0x55d333)[_0x908c79([0x74,0x68,0x65,0x6e])](_0x26f295=>{if(!_0x26f295||_0x26f295[_0x908c79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x908c79([0x6f,0x6b]))return _0x908c79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x374a4f(_0x114cfe(_0x541ccc+_0x59b284))!=_0x26f295[_0x908c79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x908c79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x908c79([0x56,0x61,0x6c,0x69,0x64]);})[_0x908c79([0x74,0x68,0x65,0x6e])](_0xc0e1ad=>(_0x434dbd(),_0xc0e1ad),()=>{const _0x1c6f78=_0x2dc2dd();return null==_0x1c6f78?(_0x434dbd(),_0x908c79([0x56,0x61,0x6c,0x69,0x64])):_0x908c79(_0x2de5ce-_0x1c6f78>(0x6777ff6e^_0x22f5c7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x908c79([0x74,0x68,0x65,0x6e])](_0x3b42b5)[_0x908c79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b42b5(_0x908c79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31298d=0x434d95ee^_0x22f5c7;function _0x434dbd(){const _0x119f30=_0x908c79([0x6c,0x6c,0x63,0x74,0x2d])+_0x374a4f(_0x114cfe(_0x299b9f)),_0x207ec3=_0x1c551b(_0x374a4f(window[_0x908c79([0x4d,0x61,0x74,0x68])][_0x908c79([0x63,0x65,0x69,0x6c])](_0x2de5ce/_0x31298d)));window[_0x908c79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x908c79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x119f30,_0x207ec3);}function _0x2dc2dd(){const _0x4e579f=_0x908c79([0x6c,0x6c,0x63,0x74,0x2d])+_0x374a4f(_0x114cfe(_0x299b9f)),_0x412382=window[_0x908c79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x908c79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e579f);return _0x412382?window[_0x908c79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c551b(_0x412382),0x10)*_0x31298d:null;}function _0x5a0436(_0x595ab0){return new window[(_0x908c79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1da405,_0x1d3848)=>{_0x595ab0[_0x908c79([0x74,0x68,0x65,0x6e])](_0x1da405,_0x1d3848),window[_0x908c79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d3848,0x437aafae^_0x22f5c7);});}}_0x4ff364[_0x908c79([0x6f,0x6e])](_0x908c79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21a8f0,_0x127972)=>{if(_0x127972[0x0]!=_0x299b9f)return _0x3b42b5(_0x908c79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x127972[0x1]={..._0x127972[0x1],[_0x908c79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x541ccc};},{[_0x908c79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x908c79([0x68,0x69,0x67,0x68])}),_0x4ff364[_0x908c79([0x6f,0x6e])](_0x908c79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e27b6=>{_0x218add(_0x3e27b6[_0x908c79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e8895=!0x0,_0x2059c5(_0x3e27b6[_0x908c79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x908c79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x908c79([0x6c,0x6f,0x77])}),_0x2aa3db[_0x908c79([0x74,0x68,0x65,0x6e])](()=>{_0x4e8895||_0x3b42b5(_0x908c79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39d6be(){return _0x4ff364[_0x908c79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x908c79([0x76,0x69,0x65,0x77])][_0x908c79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x908c79([0x61,0x75,0x74,0x6f]);}function _0x470a95(){_0x4ff364[_0x908c79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x908c79([0x76,0x69,0x65,0x77])][_0x908c79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x908c79([0x61,0x75,0x74,0x6f]);}}function _0x6298dc(_0x421f9c){const _0x2798e4=[new window[(_0x908c79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x405429=>setTimeout(_0x405429,0x437245a2^_0x22f5c7)),_0x2aa3db[_0x908c79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x908c79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a08b8=>{let _0x57832d=0x0;_0x4ff364[_0x908c79([0x6d,0x6f,0x64,0x65,0x6c])][_0x908c79([0x6f,0x6e])](_0x908c79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x78b1a9,_0x3c0349)=>{_0x3c0349[0x0][_0x908c79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x57832d++,_0x57832d==(0x437b7a96^_0x22f5c7)&&(_0x5a08b8(),_0x78b1a9[_0x908c79([0x6f,0x66,0x66])]());});}))];return window[_0x908c79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x908c79([0x72,0x61,0x63,0x65])](_0x2798e4)[_0x908c79([0x74,0x68,0x65,0x6e])](()=>_0x421f9c);}async function _0x270635(){await _0x2aa3db,_0x4ff364[_0x908c79([0x6d,0x6f,0x64,0x65,0x6c])][_0x908c79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x105a8d,_0x4ff364[_0x908c79([0x6d,0x6f,0x64,0x65,0x6c])][_0x908c79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x105a8d,_0x4ff364[_0x908c79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x908c79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x293773(){return window[_0x908c79([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3a9e36(_0x44bcf3){const _0x157da1=_0x5708d3();_0x4ff364[_0x157da1]=_0x908c79([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44bcf3,_0x44bcf3!=_0x908c79([0x56,0x61,0x6c,0x69,0x64])&&_0x270635();}function _0x5708d3(){const _0x4fdcdc=window[_0x908c79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x908c79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x908c79([0x6e,0x6f,0x77])]())[_0x908c79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x908c79([0x2e]),'');let _0x88aef=_0x908c79([0x51]);for(let _0x29d4f3=0x0;_0x29d4f3<_0x4fdcdc[_0x908c79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29d4f3+=0x2){let _0x103e0b=window[_0x908c79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fdcdc[_0x908c79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29d4f3,_0x29d4f3+0x2));_0x103e0b>=_0x25ef0c[_0x908c79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x103e0b-=_0x25ef0c[_0x908c79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x88aef+=_0x25ef0c[_0x103e0b];}return _0x88aef;}function _0x39778d(){const _0x400053=_0x4dbf2c[_0x908c79([0x73,0x70,0x6c,0x69,0x74])](_0x908c79([0x2e]));if(0x3!=_0x400053[_0x908c79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x474da4(_0x400053[0x1]);function _0x474da4(_0x56bb46){const _0xe947f1=_0xe35836(_0x56bb46);return _0xe947f1&&_0x29264f()?_0xe947f1:null;function _0x29264f(){const _0x3774ec=_0xe947f1[_0x908c79([0x6a,0x74,0x69])],_0xc9bc6e=window[_0x908c79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3774ec[_0x908c79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3774ec[_0x908c79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f6a6f={..._0xe947f1,[_0x908c79([0x6a,0x74,0x69])]:_0x3774ec[_0x908c79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3774ec[_0x908c79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f6a6f[_0x908c79([0x76,0x63])],_0x114cfe(_0x1f6a6f)==_0xc9bc6e;}}}async function _0x545a06(){let _0x59f150=!0x0;try{const _0x2f9921=_0x4dbf2c[_0x908c79([0x73,0x70,0x6c,0x69,0x74])](_0x908c79([0x2e])),[_0x535a2a,_0x48a5b6,_0x2604c1]=_0x2f9921;return _0xfaf40b(_0x535a2a),await _0x76ef08(_0x535a2a,_0x48a5b6,_0x2604c1),_0x59f150;}catch(_0x1e766e){return!0x1;}function _0xfaf40b(_0x24bcb8){const _0x5717c6=_0xe35836(_0x24bcb8);_0x5717c6&&_0x5717c6[_0x908c79([0x61,0x6c,0x67])]==_0x908c79([0x45,0x53,0x32,0x35,0x36])||(_0x59f150=!0x1);}async function _0x76ef08(_0x40d2fa,_0x503ca2,_0x3beeaf){const _0x5d4beb=window[_0x908c79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x908c79([0x66,0x72,0x6f,0x6d])](_0x863553(_0x3beeaf),_0x2716ea=>_0x2716ea[_0x908c79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c7265=new window[(_0x908c79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x908c79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40d2fa+_0x908c79([0x2e])+_0x503ca2),_0x20fd62=window[_0x908c79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x908c79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20fd62)return;const _0x311631=await _0x20fd62[_0x908c79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x908c79([0x6a,0x77,0x6b]),_0x1178a4,{[_0x908c79([0x6e,0x61,0x6d,0x65])]:_0x908c79([0x45,0x43,0x44,0x53,0x41]),[_0x908c79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x908c79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x908c79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20fd62[_0x908c79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x908c79([0x6e,0x61,0x6d,0x65])]:_0x908c79([0x45,0x43,0x44,0x53,0x41]),[_0x908c79([0x68,0x61,0x73,0x68])]:{[_0x908c79([0x6e,0x61,0x6d,0x65])]:_0x908c79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x311631,_0x5d4beb,_0x5c7265)||(_0x59f150=!0x1);}}function _0xe35836(_0x489cd2){return _0x489cd2[_0x908c79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x908c79([0x65,0x79]))?JSON[_0x908c79([0x70,0x61,0x72,0x73,0x65])](_0x863553(_0x489cd2)):null;}function _0x863553(_0xb2ddf2){return window[_0x908c79([0x61,0x74,0x6f,0x62])](_0xb2ddf2[_0x908c79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x908c79([0x2b]))[_0x908c79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x908c79([0x2f])));}function _0x114cfe(_0x134912){let _0x39466f=0x1505;function _0x100f69(_0x5827de){for(let _0x105f7b=0x0;_0x105f7b<_0x5827de[_0x908c79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x105f7b++){const _0x4266e5=_0x5827de[_0x908c79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x105f7b);_0x39466f=(_0x39466f<<0x5)+_0x39466f+_0x4266e5,_0x39466f&=_0x39466f;}}function _0x231dcc(_0x1b9f94){Array[_0x908c79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b9f94)?_0x1b9f94[_0x908c79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x231dcc):_0x1b9f94&&typeof _0x1b9f94==_0x908c79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x908c79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b9f94)[_0x908c79([0x73,0x6f,0x72,0x74])]()[_0x908c79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3dd3eb,_0x588c3f])=>{_0x100f69(_0x3dd3eb),_0x231dcc(_0x588c3f);}):_0x100f69(window[_0x908c79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b9f94));}return _0x231dcc(_0x134912),_0x39466f>>>0x0;}function _0x374a4f(_0x43378a){return _0x43378a[_0x908c79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x908c79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x908c79([0x30]));}function _0x1c551b(_0x3c22b1){return _0x3c22b1[_0x908c79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x908c79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x908c79([0x6a,0x6f,0x69,0x6e])]('');}function _0x105a8d(){}function _0x908c79(_0x37958a){const _0xc854d0=_0x37e9;return _0x37958a[_0xc854d0(0xaf)](_0x270422=>String[_0xc854d0(0x92)](_0x270422))[_0xc854d0(0xb1)]('');}_0x3a9e36(await _0x4f9a70());}(this);}[_0x3a146f(0xaa)](_0x54537f,_0x533d49){const _0x27ed84=_0x3a146f,{editor:_0x146b9f}=this,_0xab8ce4=new _0x3cc8df(_0x54537f);return _0xab8ce4[_0x27ed84(0x76)]({'attributes':{'role':_0x27ed84(0x87),'class':[_0x27ed84(0x8f)]}}),_0xab8ce4[_0x27ed84(0xa1)][_0x27ed84(0x7d)](_0x533d49[_0x27ed84(0xaf)]((_0x3892a6,_0x3e0623)=>{const _0x5caecb=_0x27ed84,_0x248924=new _0x49a89f(_0x54537f,_0x3e0623),_0x19e583=new _0x4e87bf(_0x54537f,_0x3892a6);return _0x248924[_0x5caecb(0xa3)]=_0x19e583,_0x248924[_0x5caecb(0xad)][_0x5caecb(0xa2)](_0x19e583),_0x248924[_0x5caecb(0xa3)]['on'](_0x5caecb(0x9c),_0x12738e=>{const _0x15ac18=_0x5caecb;_0x146b9f[_0x15ac18(0x9c)](_0x15ac18(0x9b),_0x12738e[_0x15ac18(0x78)][_0x15ac18(0x71)][_0x15ac18(0x96)]),_0x146b9f[_0x15ac18(0x9e)][_0x15ac18(0x83)][_0x15ac18(0x8d)]();}),_0x248924;})),_0xab8ce4;}}