@ckeditor/ckeditor5-template 47.7.1-alpha.0 → 47.7.1
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/templateui.js +1 -1
package/build/template.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={337(t,e,n){"use strict";n.d(e,{A:()=>c});var r=n(366),i=n.n(r),s=n(271),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},271(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}},366(t){"use strict";t.exports=function(t){return t[1]}},789(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}}},298(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)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},437(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)}}}},782(t,e,n){t.exports=n(237)("./src/core.js")},355(t,e,n){t.exports=n(237)("./src/icons.js")},311(t,e,n){t.exports=n(237)("./src/ui.js")},584(t,e,n){t.exports=n(237)("./src/utils.js")},237(t){"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>W,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);const e=i;function i(t,e){const n=o();return(i=function(t,e){return n[t-=186]})(t,e)}!function(t){const e=i,n=t();for(;;)try{if(678164===parseInt(e(188))/1+-parseInt(e(201))/2+-parseInt(e(202))/3+-parseInt(e(191))/4+-parseInt(e(194))/5+parseInt(e(189))/6*(parseInt(e(200))/7)+-parseInt(e(192))/8*(-parseInt(e(199))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class s extends t.Command{[e(203)](t){const n=e,{model:r}=this[n(195)];let i;switch(typeof t){case n(186):i=t;break;case n(204):i=t()}n(186)==typeof i&&r[n(197)](()=>{const t=n,e=this[t(195)][t(190)][t(196)][t(187)](i),s=this[t(195)][t(190)][t(193)](e);r[t(198)](s)})}}function o(){const t=["196122FpOHaF","data","5366988iNcogC","2840TKOUqb","toModel","5542750GNXyHd","editor","htmlProcessor","change","insertContent","111852qIbzes","77BgCNFR","1898084KrqEwg","2327814XTUkoi","execute","function","string","toView","81944gJgbdb"];return(o=function(){return t})()}function c(t,e){const n=l();return(c=function(t,e){return n[t-=297]})(t,e)}const a=c;function l(){const t=["8376sgrtjD","Template","commands","isOfficialPlugin","templateLicenseKeyInvalid","expired","usageLimit","editor","249Fnbjgm","887068oWpMcn","isPremiumPlugin","destroy","evaluationLimit","pluginName","templateLicenseKeyEvaluationLimit","templateLicenseKeyExpired","_licenseKeyCheckInterval","templateLicenseKeyDomainLimit","TemplateEditing","insertTemplate","get","featureNotAllowed","13389616gyFRSx","add","3079700fErDFA","templateLicenseKeyNotAllowed","invalid","79722IUPpis","licenseKey","domainLimit","templateLicenseKeyUsageLimit","config","init","569577pFzQRH","_showLicenseError","6077001YmYzyJ","templateLicenseKeyValid"];return(l=function(){return t})()}!function(t){const e=c,n=t();for(;;)try{if(476177===parseInt(e(308))/1+-parseInt(e(321))/2+parseInt(e(320))/3*(parseInt(e(312))/4)+-parseInt(e(299))/5+-parseInt(e(302))/6+-parseInt(e(310))/7+parseInt(e(297))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[a(303)];[a(328)];static get[a(325)](){return a(330)}static get[a(315)](){return!0}static get[a(322)](){return!0}[a(307)](){const t=a,{editor:e}=this;e[t(314)][t(298)](t(331),new s(e)),this[t(303)]=this[t(319)][t(306)][t(332)](t(303));const n=this[t(319)];this[t(328)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(311)==s||e(316)==s||e(327)==s||e(329)==s||e(300)==s||e(326)==s||e(305)==s){delete n[i],r=s,clearInterval(this[e(328)]),this[e(328)]=void 0;break}}e(316)==r&&n[e(309)](e(301)),e(327)==r&&n[e(309)](e(317)),e(329)==r&&n[e(309)](e(304)),e(300)==r&&n[e(309)](e(333),e(313)),e(326)==r&&n[e(309)](e(324)),e(305)==r&&n[e(309)](e(318))},1e3)}[a(323)](){const t=a;super[t(323)](),this[t(328)]&&clearInterval(this[t(328)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["forEach","buttonView","length","set","map","9HorPQf","sort","items","isVisible","_resetFiltering","6EugFyX","420665iJhQbM","filter","isMatching","title","102450ZwNWfz","originalIndex","3065587LoHeqH","41494LyOUBC","1795378oMLwJi","72LUbfOo","size","highlightText","897824MBeAzq","addMany","5mgHURd","99CPxchH","24MoTyOC","clear","get","44844RBMbtX"];return(m=function(){return t})()}function h(t,e){const n=m();return(h=function(t,e){return n[t-=393]})(t,e)}const k=h;!function(t){const e=h,n=t();for(;;)try{if(222902===parseInt(e(422))/1*(-parseInt(e(415))/2)+parseInt(e(396))/3*(parseInt(e(417))/4)+-parseInt(e(408))/5+-parseInt(e(407))/6*(-parseInt(e(414))/7)+-parseInt(e(420))/8*(parseInt(e(402))/9)+-parseInt(e(412))/10*(-parseInt(e(423))/11)+-parseInt(e(393))/12*(parseInt(e(416))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class w extends f.ListView{[k(409)](t){const e=k;if(!t)return this[e(406)]();const n=new Map,r=this[e(404)][e(401)](r=>{const i=e,s=r[i(398)][i(410)](t);return r[i(405)]=!!s,r[i(398)][i(419)](s?t:null),s&&n[i(400)](r,s),r})[e(403)](g)[e(403)]((i=n,function(t,e){const n=h,r=i[n(395)](t),s=i[n(395)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(411)]&&!s[n(411)]?-1:!r[n(411)]&&s[n(411)]?1:0:0}));var i;return this[e(404)][e(394)](),this[e(404)][e(421)](r),{resultsCount:n[e(418)],totalItemsCount:this[e(404)][e(399)]}}[k(406)](){const t=k,e=this[t(404)][t(401)](t=>t)[t(403)](g);return e[t(397)](e=>{const n=t;e[n(405)]=!0,e[n(398)][n(419)](null)}),this[t(404)][t(394)](),this[t(404)][t(421)](e),{resultsCount:e[t(399)],totalItemsCount:e[t(399)]}}}function g(t,e){const n=k;return t[n(413)]-e[n(413)]}function I(t,e){var n=b();return(I=function(t,e){return n[t-=263]})(t,e)}var v=I;function b(){var t=["90TdJdIj","435378RPqEnK","buttonView","71816AYfNiW","17016jwLqAx","919170OjRDss","5739ofzUvg","1818005fpYglX","560AsTuRd","originalIndex","2865756XoEfaT"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(377334===parseInt(e(273))/1+-parseInt(e(272))/2*(parseInt(e(267))/3)+-parseInt(e(264))/4+-parseInt(e(268))/5+parseInt(e(271))/6+-parseInt(e(269))/7*(parseInt(e(265))/8)+parseInt(e(266))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(270)];[v(263)];constructor(t,e){var n=v;super(t),this[n(270)]=e,this[n(263)]=null}}function x(){const t=["1593uGxIas","children","1190871PjMfcw","5709liIRsA","description","locale","match","remove","templateDefinition","option","isMatching","highlightText","div","ck-template-form__description","isColorInherited","ck-template-button","extendTemplate","setTemplate","title","push","2362040WsxNsa","span","ck-template-form__text-part","text","add","element","58614gkHrHs","set","6456VDyOnp","labelView","textPartView","titleView","descriptionView","4msZXVA","56FpIoLu","420231VHOaew","render","46120iADxgh","ck-button__label","276670iGoQYp","iconView","destroy"];return(x=function(){return t})()}const _=T;function T(t,e){const n=x();return(T=function(t,e){return n[t-=278]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(556346===parseInt(e(299))/1*(-parseInt(e(297))/2)+-parseInt(e(308))/3+-parseInt(e(284))/4+parseInt(e(303))/5+parseInt(e(290))/6*(parseInt(e(298))/7)+-parseInt(e(292))/8*(parseInt(e(306))/9)+-parseInt(e(301))/10*(-parseInt(e(309))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(x);class V extends f.ButtonView{[_(314)];[_(294)];constructor(t,e){const n=_;super(t),this[n(314)]=e,this[n(294)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(291)]({withText:!0,class:n(279),role:n(315),icon:r}),this[n(304)][n(278)]=!1}[_(300)](){const t=_;super[t(300)](),this[t(294)]=new L(this[t(311)],this[t(314)],this[t(293)][t(289)].id),this[t(307)][t(313)](this[t(293)]),this[t(307)][t(288)](this[t(294)])}[_(305)](){const t=_;super[t(305)](),this[t(293)][t(305)]()}[_(316)](t){const e=_,{title:n,description:r}=this[e(314)],i=!!n[e(312)](t),s=!(!r||!r[e(312)](t));return i||s?{title:i,description:s}:null}[_(317)](t){const e=_;this[e(294)][e(317)](t)}}class L extends f.View{constructor(t,e,n){const r=_;super(t),this[r(282)]=e[r(282)],this[r(310)]=e[r(310)],this[r(295)]=new f.HighlightedTextView,this[r(295)][r(287)]=this[r(282)],this[r(295)][r(280)]({tag:r(285),attributes:{class:[r(302)],id:n}});const i=[this[r(295)]];this[r(310)]&&(this[r(296)]=new f.HighlightedTextView,this[r(296)][r(287)]=this[r(310)],this[r(296)][r(280)]({tag:"p",attributes:{class:[r(319)]}}),i[r(283)](this[r(296)])),this[r(281)]({tag:r(318),attributes:{class:["ck",r(286)]},children:i})}[_(317)](t){const e=_;this[e(295)][e(317)](t),this[e(310)]&&this[e(296)][e(317)](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 C=n(789),A=n.n(C),P=n(437),N=n.n(P),O=n(298),S=n.n(O),E=n(207),j=n.n(E),R=n(825),B=n.n(R),F=n(337),H={attributes:{"data-cke":!0}};H.setAttributes=j(),H.insert=S().bind(null,"head"),H.domAPI=N(),H.insertStyleElement=B();A()(F.A,H);F.A&&F.A.locals&&F.A.locals;function K(){const t=["join","22550frOOoj","template.definitions","ck-template-button","ck-template-form","execute","bind","TemplateUI","%0 templates found","href","get","Template","templateDefinition","data","2990555CAUhbx","7127432CKVLei","add","length","items","_createTemplateListView","query","children","panelView","3whbflA","isOfficialPlugin","5240JnEpuP","commands","map","addMany","config","isPremiumPlugin",'No templates were found matching "%0".',"insertTemplate","Search template","change:isOpen","listbox","1577882SoqIiQ","afterInit","view","componentFactory","9SgqRZe","init","icon","8070HRBVrp","ck-template-list","extendTemplate","delegate","title","No templates available.","buttonView","reset","Please try a different phrase or check the spelling.","set","91cTkcWi","source","ariaLiveAnnouncer","editing","fromCharCode","460220qiMAkn","Insert template","isEnabled","menuBar:insertTemplate","search","pluginName","announce","resultsCount","focus","3707108EhlzXW"];return(K=function(){return t})()}const U=D;function D(t,e){const n=K();return(D=function(t,e){return n[t-=483]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(476483===-parseInt(e(541))/1+-parseInt(e(519))/2+parseInt(e(506))/3*(parseInt(e(550))/4)+parseInt(e(497))/5+parseInt(e(526))/6*(parseInt(e(536))/7)+parseInt(e(498))/8*(-parseInt(e(523))/9)+-parseInt(e(508))/10*(-parseInt(e(484))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class q extends t.Plugin{static get[U(546)](){return U(490)}static get[U(507)](){return!0}static get[U(513)](){return!0}[U(524)](){const t=U,{editor:e}=this,n=e[t(512)][t(493)](t(485))||[];e.ui[t(522)][t(499)](t(515),r=>{const i=t,s=(0,f.createDropdown)(r),o=this[i(502)](r,n),c=new f.SearchTextView(r,{filteredView:o,queryView:{label:M(r,i(516))},class:i(487),infoView:{text:{notFound:{primary:t=>M(r,i(514),t),secondary:M(r,i(534))},noSearchableItems:{primary:M(r,i(531))}}}}),a=e[i(509)][i(493)](i(515));return c.on(i(545),(t,n)=>{const s=i;n[s(503)]&&n[s(503)][s(500)]&&e.ui[s(538)][s(547)](M(r,s(491),n[s(548)]))}),s[i(489)](i(543)).to(a),s[i(505)][i(504)][i(499)](c),s[i(532)][i(535)]({label:M(r,i(542)),icon:p.IconTemplate,tooltip:!0}),s.on(i(517),(t,e,n)=>{n||c[i(533)]()}),s}),e.ui[t(522)][t(499)](t(544),r=>{const i=t,s=e[i(509)][i(493)](i(515)),o=new f.MenuBarMenuView(r);o[i(532)][i(535)]({label:M(r,i(494)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(500)]){const t=new f.MenuBarMenuListItemView(r,o),n=new f.MenuBarMenuListItemButtonView(r);n[i(535)]({label:M(r,i(531))}),n[i(529)](i(488)).to(o),n.on(i(488),()=>{const t=i;e[t(539)][t(521)][t(549)]()}),t[i(504)][i(499)](n),c[i(501)][i(499)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,o),s=new f.MenuBarMenuListItemButtonView(r);s[i(535)]({class:i(486),label:t[i(530)],icon:t[i(525)]||p.IconTemplateGeneric}),s[i(529)](i(488)).to(o),s.on(i(488),()=>{const n=i;e[n(488)](n(515),t[n(496)]),e[n(539)][n(521)][n(549)]()}),n[i(504)][i(499)](s),c[i(501)][i(499)](n)}return o[i(505)][i(504)][i(499)](c),o[i(489)](i(543)).to(s,i(543)),o})}[U(520)](){!async function(t){const e=m([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],i=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},o=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](a(t)):null}function a(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function p(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(t){const e=D;return t[e(510)](t=>String[e(540)](t))[e(483)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([103]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=m([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await i,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return o==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));o(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const f=(0,d.uid)();function h(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function k(r){a(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(f+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=o();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+u(l(t)),r=p(u(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function o(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:f}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[m([114,101,116,117,114,110])])&&(a=!0,k(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),i[m([116,104,101,110])](()=>{a||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function o(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=o[m([115,112,108,105,116])](m([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=c(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](a(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),c=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!c)return;const l=await c[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await c[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,i,o)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([84,80,76]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([68,82,85,80]))&&window[m([68,114,117,112,97,108])]||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1776643200;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=D,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(492)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const i=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&f?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),f[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[U(502)](t,e){const n=U,{editor:r}=this,i=new w(t);return i[n(528)]({attributes:{role:n(518),class:[n(527)]}}),i[n(501)][n(511)](e[n(510)]((e,i)=>{const s=n,o=new y(t,i),c=new V(t,e);return o[s(532)]=c,o[s(504)][s(499)](c),o[s(532)].on(s(488),t=>{const e=s;r[e(488)](e(515),t[e(537)][e(495)][e(496)]),r[e(539)][e(521)][e(549)]()}),o})),i}}var z=J;function J(t,e){var n=X();return(J=function(t,e){return n[t-=130]})(t,e)}!function(t){for(var e=J,n=t();;)try{if(896597===parseInt(e(137))/1*(-parseInt(e(132))/2)+-parseInt(e(143))/3*(parseInt(e(141))/4)+parseInt(e(130))/5+-parseInt(e(144))/6+-parseInt(e(134))/7+-parseInt(e(136))/8*(-parseInt(e(131))/9)+parseInt(e(135))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);class W extends t.Plugin{static get[z(140)](){return[u,q]}static get[z(138)](){return z(133)}static get[z(142)](){return!0}static get[z(139)](){return!0}}function X(){var t=["isOfficialPlugin","247638JTExYi","4124208FkTIfm","239450fjrVNs","9947781DJukSQ","302riUNDx","Template","8206016IHlXbg","34230470heBSTF","8jCejUq","3853VDkVLT","pluginName","isPremiumPlugin","requires","60heSUur"];return(X=function(){return t})()}function Y(){var t=["11001lHmUBe","639778jYPciT","1958765eViYnC","572mcLDxM","1542480GAFRMR","647052PJTOGh","6qiTJtR","104590wOUoet","488ofWEmc","603xuZRFD","91pUFOWW","115880CPbrlA"];return(Y=function(){return t})()}function G(t,e){var n=Y();return(G=function(t,e){return n[t-=156]})(t,e)}!function(t){for(var e=G,n=t();;)try{if(882491===parseInt(e(163))/1+-parseInt(e(158))/2*(parseInt(e(162))/3)+-parseInt(e(166))/4+-parseInt(e(164))/5*(parseInt(e(156))/6)+-parseInt(e(160))/7*(parseInt(e(161))/8)+-parseInt(e(159))/9*(parseInt(e(157))/10)+-parseInt(e(165))/11*(-parseInt(e(167))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={337(t,e,n){"use strict";n.d(e,{A:()=>c});var r=n(366),i=n.n(r),s=n(271),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},271(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}},366(t){"use strict";t.exports=function(t){return t[1]}},789(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}}},298(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)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},437(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)}}}},782(t,e,n){t.exports=n(237)("./src/core.js")},355(t,e,n){t.exports=n(237)("./src/icons.js")},311(t,e,n){t.exports=n(237)("./src/ui.js")},584(t,e,n){t.exports=n(237)("./src/utils.js")},237(t){"use strict";t.exports=CKEditor5.dll}},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:()=>X,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>K});var t=n(782);const e=i;function i(t,e){const n=o();return(i=function(t,e){return n[t-=186]})(t,e)}!function(t){const e=i,n=t();for(;;)try{if(678164===parseInt(e(188))/1+-parseInt(e(201))/2+-parseInt(e(202))/3+-parseInt(e(191))/4+-parseInt(e(194))/5+parseInt(e(189))/6*(parseInt(e(200))/7)+-parseInt(e(192))/8*(-parseInt(e(199))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class s extends t.Command{[e(203)](t){const n=e,{model:r}=this[n(195)];let i;switch(typeof t){case n(186):i=t;break;case n(204):i=t()}n(186)==typeof i&&r[n(197)](()=>{const t=n,e=this[t(195)][t(190)][t(196)][t(187)](i),s=this[t(195)][t(190)][t(193)](e);r[t(198)](s)})}}function o(){const t=["196122FpOHaF","data","5366988iNcogC","2840TKOUqb","toModel","5542750GNXyHd","editor","htmlProcessor","change","insertContent","111852qIbzes","77BgCNFR","1898084KrqEwg","2327814XTUkoi","execute","function","string","toView","81944gJgbdb"];return(o=function(){return t})()}function c(t,e){const n=l();return(c=function(t,e){return n[t-=297]})(t,e)}const a=c;function l(){const t=["8376sgrtjD","Template","commands","isOfficialPlugin","templateLicenseKeyInvalid","expired","usageLimit","editor","249Fnbjgm","887068oWpMcn","isPremiumPlugin","destroy","evaluationLimit","pluginName","templateLicenseKeyEvaluationLimit","templateLicenseKeyExpired","_licenseKeyCheckInterval","templateLicenseKeyDomainLimit","TemplateEditing","insertTemplate","get","featureNotAllowed","13389616gyFRSx","add","3079700fErDFA","templateLicenseKeyNotAllowed","invalid","79722IUPpis","licenseKey","domainLimit","templateLicenseKeyUsageLimit","config","init","569577pFzQRH","_showLicenseError","6077001YmYzyJ","templateLicenseKeyValid"];return(l=function(){return t})()}!function(t){const e=c,n=t();for(;;)try{if(476177===parseInt(e(308))/1+-parseInt(e(321))/2+parseInt(e(320))/3*(parseInt(e(312))/4)+-parseInt(e(299))/5+-parseInt(e(302))/6+-parseInt(e(310))/7+parseInt(e(297))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[a(303)];[a(328)];static get[a(325)](){return a(330)}static get[a(315)](){return!0}static get[a(322)](){return!0}[a(307)](){const t=a,{editor:e}=this;e[t(314)][t(298)](t(331),new s(e)),this[t(303)]=this[t(319)][t(306)][t(332)](t(303));const n=this[t(319)];this[t(328)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(311)==s||e(316)==s||e(327)==s||e(329)==s||e(300)==s||e(326)==s||e(305)==s){delete n[i],r=s,clearInterval(this[e(328)]),this[e(328)]=void 0;break}}e(316)==r&&n[e(309)](e(301)),e(327)==r&&n[e(309)](e(317)),e(329)==r&&n[e(309)](e(304)),e(300)==r&&n[e(309)](e(333),e(313)),e(326)==r&&n[e(309)](e(324)),e(305)==r&&n[e(309)](e(318))},1e3)}[a(323)](){const t=a;super[t(323)](),this[t(328)]&&clearInterval(this[t(328)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["forEach","buttonView","length","set","map","9HorPQf","sort","items","isVisible","_resetFiltering","6EugFyX","420665iJhQbM","filter","isMatching","title","102450ZwNWfz","originalIndex","3065587LoHeqH","41494LyOUBC","1795378oMLwJi","72LUbfOo","size","highlightText","897824MBeAzq","addMany","5mgHURd","99CPxchH","24MoTyOC","clear","get","44844RBMbtX"];return(m=function(){return t})()}function h(t,e){const n=m();return(h=function(t,e){return n[t-=393]})(t,e)}const k=h;!function(t){const e=h,n=t();for(;;)try{if(222902===parseInt(e(422))/1*(-parseInt(e(415))/2)+parseInt(e(396))/3*(parseInt(e(417))/4)+-parseInt(e(408))/5+-parseInt(e(407))/6*(-parseInt(e(414))/7)+-parseInt(e(420))/8*(parseInt(e(402))/9)+-parseInt(e(412))/10*(-parseInt(e(423))/11)+-parseInt(e(393))/12*(parseInt(e(416))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class w extends f.ListView{[k(409)](t){const e=k;if(!t)return this[e(406)]();const n=new Map,r=this[e(404)][e(401)](r=>{const i=e,s=r[i(398)][i(410)](t);return r[i(405)]=!!s,r[i(398)][i(419)](s?t:null),s&&n[i(400)](r,s),r})[e(403)](g)[e(403)]((i=n,function(t,e){const n=h,r=i[n(395)](t),s=i[n(395)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(411)]&&!s[n(411)]?-1:!r[n(411)]&&s[n(411)]?1:0:0}));var i;return this[e(404)][e(394)](),this[e(404)][e(421)](r),{resultsCount:n[e(418)],totalItemsCount:this[e(404)][e(399)]}}[k(406)](){const t=k,e=this[t(404)][t(401)](t=>t)[t(403)](g);return e[t(397)](e=>{const n=t;e[n(405)]=!0,e[n(398)][n(419)](null)}),this[t(404)][t(394)](),this[t(404)][t(421)](e),{resultsCount:e[t(399)],totalItemsCount:e[t(399)]}}}function g(t,e){const n=k;return t[n(413)]-e[n(413)]}function I(t,e){var n=b();return(I=function(t,e){return n[t-=263]})(t,e)}var v=I;function b(){var t=["90TdJdIj","435378RPqEnK","buttonView","71816AYfNiW","17016jwLqAx","919170OjRDss","5739ofzUvg","1818005fpYglX","560AsTuRd","originalIndex","2865756XoEfaT"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(377334===parseInt(e(273))/1+-parseInt(e(272))/2*(parseInt(e(267))/3)+-parseInt(e(264))/4+-parseInt(e(268))/5+parseInt(e(271))/6+-parseInt(e(269))/7*(parseInt(e(265))/8)+parseInt(e(266))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(270)];[v(263)];constructor(t,e){var n=v;super(t),this[n(270)]=e,this[n(263)]=null}}function x(){const t=["1593uGxIas","children","1190871PjMfcw","5709liIRsA","description","locale","match","remove","templateDefinition","option","isMatching","highlightText","div","ck-template-form__description","isColorInherited","ck-template-button","extendTemplate","setTemplate","title","push","2362040WsxNsa","span","ck-template-form__text-part","text","add","element","58614gkHrHs","set","6456VDyOnp","labelView","textPartView","titleView","descriptionView","4msZXVA","56FpIoLu","420231VHOaew","render","46120iADxgh","ck-button__label","276670iGoQYp","iconView","destroy"];return(x=function(){return t})()}const _=T;function T(t,e){const n=x();return(T=function(t,e){return n[t-=278]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(556346===parseInt(e(299))/1*(-parseInt(e(297))/2)+-parseInt(e(308))/3+-parseInt(e(284))/4+parseInt(e(303))/5+parseInt(e(290))/6*(parseInt(e(298))/7)+-parseInt(e(292))/8*(parseInt(e(306))/9)+-parseInt(e(301))/10*(-parseInt(e(309))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(x);class L extends f.ButtonView{[_(314)];[_(294)];constructor(t,e){const n=_;super(t),this[n(314)]=e,this[n(294)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(291)]({withText:!0,class:n(279),role:n(315),icon:r}),this[n(304)][n(278)]=!1}[_(300)](){const t=_;super[t(300)](),this[t(294)]=new V(this[t(311)],this[t(314)],this[t(293)][t(289)].id),this[t(307)][t(313)](this[t(293)]),this[t(307)][t(288)](this[t(294)])}[_(305)](){const t=_;super[t(305)](),this[t(293)][t(305)]()}[_(316)](t){const e=_,{title:n,description:r}=this[e(314)],i=!!n[e(312)](t),s=!(!r||!r[e(312)](t));return i||s?{title:i,description:s}:null}[_(317)](t){const e=_;this[e(294)][e(317)](t)}}class V extends f.View{constructor(t,e,n){const r=_;super(t),this[r(282)]=e[r(282)],this[r(310)]=e[r(310)],this[r(295)]=new f.HighlightedTextView,this[r(295)][r(287)]=this[r(282)],this[r(295)][r(280)]({tag:r(285),attributes:{class:[r(302)],id:n}});const i=[this[r(295)]];this[r(310)]&&(this[r(296)]=new f.HighlightedTextView,this[r(296)][r(287)]=this[r(310)],this[r(296)][r(280)]({tag:"p",attributes:{class:[r(319)]}}),i[r(283)](this[r(296)])),this[r(281)]({tag:r(318),attributes:{class:["ck",r(286)]},children:i})}[_(317)](t){const e=_;this[e(295)][e(317)](t),this[e(310)]&&this[e(296)][e(317)](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 C=n(789),P=n.n(C),A=n(437),N=n.n(A),O=n(298),S=n.n(O),E=n(207),j=n.n(E),H=n(825),F=n.n(H),z=n(337),R={attributes:{"data-cke":!0}};R.setAttributes=j(),R.insert=S().bind(null,"head"),R.domAPI=N(),R.insertStyleElement=F();P()(z.A,R);z.A&&z.A.locals&&z.A.locals;const U=B;function B(t,e){const n=D();return(B=function(t,e){return n[t-=296]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(669612===parseInt(e(332))/1*(-parseInt(e(336))/2)+parseInt(e(308))/3*(-parseInt(e(340))/4)+-parseInt(e(348))/5*(parseInt(e(300))/6)+-parseInt(e(299))/7+parseInt(e(323))/8*(parseInt(e(355))/9)+parseInt(e(341))/10+parseInt(e(296))/11*(parseInt(e(312))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class K extends t.Plugin{static get[U(317)](){return U(356)}static get[U(298)](){return!0}static get[U(318)](){return!0}[U(350)](){const t=U,{editor:e}=this,n=e[t(324)][t(301)](t(347))||[];e.ui[t(352)][t(346)](t(345),r=>{const i=t,s=(0,f.createDropdown)(r),o=this[i(304)](r,n),c=new f.SearchTextView(r,{filteredView:o,queryView:{label:M(r,i(349))},class:i(322),infoView:{text:{notFound:{primary:t=>M(r,i(343),t),secondary:M(r,i(309))},noSearchableItems:{primary:M(r,i(326))}}}}),a=e[i(302)][i(301)](i(345));return c.on(i(316),(t,n)=>{const s=i;n[s(333)]&&n[s(333)][s(334)]&&e.ui[s(320)][s(313)](M(r,s(297),n[s(327)]))}),s[i(359)](i(314)).to(a),s[i(331)][i(319)][i(346)](c),s[i(305)][i(330)]({label:M(r,i(363)),icon:p.IconTemplate,tooltip:!0}),s.on(i(342),(t,e,n)=>{n||c[i(337)]()}),s}),e.ui[t(352)][t(346)](t(353),r=>{const i=t,s=e[i(302)][i(301)](i(345)),o=new f.MenuBarMenuView(r);o[i(305)][i(330)]({label:M(r,i(344)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(334)]){const t=new f.MenuBarMenuListItemView(r,o),n=new f.MenuBarMenuListItemButtonView(r);n[i(330)]({label:M(r,i(326))}),n[i(315)](i(328)).to(o),n.on(i(328),()=>{const t=i;e[t(361)][t(335)][t(321)]()}),t[i(319)][i(346)](n),c[i(354)][i(346)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,o),s=new f.MenuBarMenuListItemButtonView(r);s[i(330)]({class:i(357),label:t[i(329)],icon:t[i(325)]||p.IconTemplateGeneric}),s[i(315)](i(328)).to(o),s.on(i(328),()=>{const n=i;e[n(328)](n(345),t[n(358)]),e[n(361)][n(335)][n(321)]()}),n[i(319)][i(346)](s),c[i(354)][i(346)](n)}return o[i(331)][i(319)][i(346)](c),o[i(359)](i(314)).to(s,i(314)),o})}[U(310)](){!async function(t){const e=m([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],i=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},o=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](a(t)):null}function a(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function p(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(t){const e=B;return t[e(339)](t=>String[e(360)](t))[e(306)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([103]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=m([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await i,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return o==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));o(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const f=(0,d.uid)();function h(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function k(r){a(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(f+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=o();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+u(l(t)),r=p(u(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function o(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:f}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[m([114,101,116,117,114,110])])&&(a=!0,k(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),i[m([116,104,101,110])](()=>{a||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function o(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=o[m([115,112,108,105,116])](m([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=c(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](a(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),c=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!c)return;const l=await c[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await c[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,i,o)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([84,80,76]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([68,82,85,80]))&&window[m([68,114,117,112,97,108])]||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1776902400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=B,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(311)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const i=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&f?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),f[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[U(304)](t,e){const n=U,{editor:r}=this,i=new w(t);return i[n(362)]({attributes:{role:n(303),class:[n(307)]}}),i[n(354)][n(351)](e[n(339)]((e,i)=>{const s=n,o=new y(t,i),c=new L(t,e);return o[s(305)]=c,o[s(319)][s(346)](c),o[s(305)].on(s(328),t=>{const e=s;r[e(328)](e(345),t[e(338)][e(364)][e(358)]),r[e(361)][e(335)][e(321)]()}),o})),i}}function D(){const t=["isEnabled","delegate","search","pluginName","isPremiumPlugin","children","ariaLiveAnnouncer","focus","ck-template-form","32kQzOHi","config","icon","No templates available.","resultsCount","execute","title","set","panelView","65662JlPxnW","query","length","view","40LZbRAJ","reset","source","map","4KOTUxq","11936100EClwtc","change:isOpen",'No templates were found matching "%0".',"Template","insertTemplate","add","template.definitions","5XGyyzc","Search template","init","addMany","componentFactory","menuBar:insertTemplate","items","504792ipMLio","TemplateUI","ck-template-button","data","bind","fromCharCode","editing","extendTemplate","Insert template","templateDefinition","25498HYLrhl","%0 templates found","isOfficialPlugin","2079224JzFeqH","6886722eHUVJz","get","commands","listbox","_createTemplateListView","buttonView","join","ck-template-list","3351819xpTSEs","Please try a different phrase or check the spelling.","afterInit","href","16188mhyxmC","announce"];return(D=function(){return t})()}var q=J;function J(t,e){var n=Y();return(J=function(t,e){return n[t-=130]})(t,e)}!function(t){for(var e=J,n=t();;)try{if(896597===parseInt(e(137))/1*(-parseInt(e(132))/2)+-parseInt(e(143))/3*(parseInt(e(141))/4)+parseInt(e(130))/5+-parseInt(e(144))/6+-parseInt(e(134))/7+-parseInt(e(136))/8*(-parseInt(e(131))/9)+parseInt(e(135))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class X extends t.Plugin{static get[q(140)](){return[u,K]}static get[q(138)](){return q(133)}static get[q(142)](){return!0}static get[q(139)](){return!0}}function Y(){var t=["isOfficialPlugin","247638JTExYi","4124208FkTIfm","239450fjrVNs","9947781DJukSQ","302riUNDx","Template","8206016IHlXbg","34230470heBSTF","8jCejUq","3853VDkVLT","pluginName","isPremiumPlugin","requires","60heSUur"];return(Y=function(){return t})()}function G(){var t=["11001lHmUBe","639778jYPciT","1958765eViYnC","572mcLDxM","1542480GAFRMR","647052PJTOGh","6qiTJtR","104590wOUoet","488ofWEmc","603xuZRFD","91pUFOWW","115880CPbrlA"];return(G=function(){return t})()}function W(t,e){var n=G();return(W=function(t,e){return n[t-=156]})(t,e)}!function(t){for(var e=W,n=t();;)try{if(882491===parseInt(e(163))/1+-parseInt(e(158))/2*(parseInt(e(162))/3)+-parseInt(e(166))/4+-parseInt(e(164))/5*(parseInt(e(156))/6)+-parseInt(e(160))/7*(parseInt(e(161))/8)+-parseInt(e(159))/9*(parseInt(e(157))/10)+-parseInt(e(165))/11*(-parseInt(e(167))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G)})(),(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 _0x51f40a,Plugin as _0x3301b6}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x2b4639,IconTemplate as _0x41c38d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x1a0a91,ListItemView as _0xe0ee0,ButtonView as _0x42dd3e,View as _0x2ece73,HighlightedTextView as _0x4602eb,createDropdown as _0x14e5ca,SearchTextView as _0x2e4190,MenuBarMenuView as _0x30afe1,MenuBarMenuListView as _0x4d2a9b,MenuBarMenuListItemView as _0x63153e,MenuBarMenuListItemButtonView as _0x52a3a1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x4fca56}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x51f40a{['execute'](_0x9e9211){const {model:_0x51867f}=this['editor'];let _0x260427;switch(typeof _0x9e9211){case'string':_0x260427=_0x9e9211;break;case'function':_0x260427=_0x9e9211();}'string'==typeof _0x260427&&_0x51867f['change'](()=>{const _0x21a6ec=this['editor']['data']['htmlProcessor']['toView'](_0x260427),_0x2aa25d=this['editor']['data']['toModel'](_0x21a6ec);_0x51867f['insertContent'](_0x2aa25d);});}}class i extends _0x3301b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2d83b5}=this;_0x2d83b5['commands']['add']('insertTemplate',new a(_0x2d83b5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e2e98=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1b1a6d;for(const _0xa430c5 in _0x1e2e98){const _0x11c75a=_0xa430c5,_0x4de6d9=_0x1e2e98[_0x11c75a];if('templateLicenseKeyValid'==_0x4de6d9||'templateLicenseKeyInvalid'==_0x4de6d9||'templateLicenseKeyExpired'==_0x4de6d9||'templateLicenseKeyDomainLimit'==_0x4de6d9||'templateLicenseKeyNotAllowed'==_0x4de6d9||'templateLicenseKeyEvaluationLimit'==_0x4de6d9||'templateLicenseKeyUsageLimit'==_0x4de6d9){delete _0x1e2e98[_0x11c75a],_0x1b1a6d=_0x4de6d9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x1b1a6d&&_0x1e2e98['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x1b1a6d&&_0x1e2e98['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x1b1a6d&&_0x1e2e98['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x1b1a6d&&_0x1e2e98['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x1b1a6d&&_0x1e2e98['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x1b1a6d&&_0x1e2e98['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x1a0a91{['filter'](_0x31ef34){if(!_0x31ef34)return this['_resetFiltering']();const _0xeac675=new Map(),_0xce50e=this['items']['map'](_0x1bb86d=>{const _0x4eb4ac=_0x1bb86d['buttonView']['isMatching'](_0x31ef34);return _0x1bb86d['isVisible']=!!_0x4eb4ac,_0x1bb86d['buttonView']['highlightText'](_0x4eb4ac?_0x31ef34:null),_0x4eb4ac&&_0xeac675['set'](_0x1bb86d,_0x4eb4ac),_0x1bb86d;})['sort'](j)['sort'](function(_0x34adc8){return function(_0x195af1,_0x4add97){const _0x43d4fd=_0x34adc8['get'](_0x195af1),_0x35ef9b=_0x34adc8['get'](_0x4add97);return _0x43d4fd&&!_0x35ef9b?-0x1:_0x35ef9b&&!_0x43d4fd?0x1:_0x43d4fd||_0x35ef9b?_0x43d4fd['title']&&!_0x35ef9b['title']?-0x1:!_0x43d4fd['title']&&_0x35ef9b['title']?0x1:0x0:0x0;};}(_0xeac675));return this['items']['clear'](),this['items']['addMany'](_0xce50e),{'resultsCount':_0xeac675['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x52cef6=this['items']['map'](_0x54cedf=>_0x54cedf)['sort'](j);return _0x52cef6['forEach'](_0x355321=>{_0x355321['isVisible']=!0x0,_0x355321['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x52cef6),{'resultsCount':_0x52cef6['length'],'totalItemsCount':_0x52cef6['length']};}}function j(_0x2678aa,_0x29e9da){return _0x2678aa['originalIndex']-_0x29e9da['originalIndex'];}class b extends _0xe0ee0{['originalIndex'];['buttonView'];constructor(_0xfb0d4a,_0x218d56){super(_0xfb0d4a),this['originalIndex']=_0x218d56,this['buttonView']=null;}}class h extends _0x42dd3e{['templateDefinition'];['textPartView'];constructor(_0x40dc1e,_0x16979f){super(_0x40dc1e),this['templateDefinition']=_0x16979f,this['textPartView']=null;const {icon:_0x14f7ae=_0x2b4639}=_0x16979f;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x14f7ae}),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'](_0x5c7ae2){const {title:_0x4d73aa,description:_0x1c854f}=this['templateDefinition'],_0x2fc1c9=!!_0x4d73aa['match'](_0x5c7ae2),_0x23262e=!(!_0x1c854f||!_0x1c854f['match'](_0x5c7ae2));return _0x2fc1c9||_0x23262e?{'title':_0x2fc1c9,'description':_0x23262e}:null;}['highlightText'](_0x1fb08){this['textPartView']['highlightText'](_0x1fb08);}}class L extends _0x2ece73{constructor(_0x31ceb0,_0x55af75,_0x2c0c6a){super(_0x31ceb0),this['title']=_0x55af75['title'],this['description']=_0x55af75['description'],this['titleView']=new _0x4602eb(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x2c0c6a}});const _0x16456f=[this['titleView']];this['description']&&(this['descriptionView']=new _0x4602eb(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x16456f['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x16456f});}['highlightText'](_0x1d10f4){this['titleView']['highlightText'](_0x1d10f4),this['description']&&this['descriptionView']['highlightText'](_0x1d10f4);}}function g(_0x16f081,_0xe62213,..._0x26c6ff){const t=_0x16f081['t'];switch(_0xe62213){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x26c6ff);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',..._0x26c6ff);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0xe62213;}}class s extends _0x3301b6{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1bd85a}=this,_0x36bd0a=_0x1bd85a['config']['get']('template.definitions')||[];_0x1bd85a['ui']['componentFactory']['add']('insertTemplate',_0x4c1f53=>{const _0x784d4d=_0x14e5ca(_0x4c1f53),_0x4a1726=this['_createTemplateListView'](_0x4c1f53,_0x36bd0a),_0x971ae8=new _0x2e4190(_0x4c1f53,{'filteredView':_0x4a1726,'queryView':{'label':g(_0x4c1f53,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x1df63c=>g(_0x4c1f53,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x1df63c),'secondary':g(_0x4c1f53,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x4c1f53,'No\x20templates\x20available.')}}}}),_0x5ce13b=_0x1bd85a['commands']['get']('insertTemplate');return _0x971ae8['on']('search',(_0x17579f,_0xc63395)=>{_0xc63395['query']&&_0xc63395['query']['length']&&_0x1bd85a['ui']['ariaLiveAnnouncer']['announce'](g(_0x4c1f53,'%0\x20templates\x20found',_0xc63395['resultsCount']));}),_0x784d4d['bind']('isEnabled')['to'](_0x5ce13b),_0x784d4d['panelView']['children']['add'](_0x971ae8),_0x784d4d['buttonView']['set']({'label':g(_0x4c1f53,'Insert\x20template'),'icon':_0x41c38d,'tooltip':!0x0}),_0x784d4d['on']('change:isOpen',(_0x1ec9b7,_0x6d19fc,_0x3e3130)=>{_0x3e3130||_0x971ae8['reset']();}),_0x784d4d;}),_0x1bd85a['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x334a08=>{const _0x4737a6=_0x1bd85a['commands']['get']('insertTemplate'),_0x4719c4=new _0x30afe1(_0x334a08);_0x4719c4['buttonView']['set']({'label':g(_0x334a08,'Template'),'icon':_0x41c38d});const _0x48a19f=new _0x4d2a9b(_0x334a08);if(!_0x36bd0a||!_0x36bd0a['length']){const _0x2f2ccd=new _0x63153e(_0x334a08,_0x4719c4),_0x2320d6=new _0x52a3a1(_0x334a08);_0x2320d6['set']({'label':g(_0x334a08,'No\x20templates\x20available.')}),_0x2320d6['delegate']('execute')['to'](_0x4719c4),_0x2320d6['on']('execute',()=>{_0x1bd85a['editing']['view']['focus']();}),_0x2f2ccd['children']['add'](_0x2320d6),_0x48a19f['items']['add'](_0x2f2ccd);}for(const _0xf76e0 of _0x36bd0a){const _0x3d65e0=new _0x63153e(_0x334a08,_0x4719c4),_0x45aad6=new _0x52a3a1(_0x334a08);_0x45aad6['set']({'class':'ck-template-button','label':_0xf76e0['title'],'icon':_0xf76e0['icon']||_0x2b4639}),_0x45aad6['delegate']('execute')['to'](_0x4719c4),_0x45aad6['on']('execute',()=>{_0x1bd85a['execute']('insertTemplate',_0xf76e0['data']),_0x1bd85a['editing']['view']['focus']();}),_0x3d65e0['children']['add'](_0x45aad6),_0x48a19f['items']['add'](_0x3d65e0);}return _0x4719c4['panelView']['children']['add'](_0x48a19f),_0x4719c4['bind']('isEnabled')['to'](_0x4737a6,'isEnabled'),_0x4719c4;});}['afterInit'](){!async function(_0xf3de02){const _0x1a8b4d=_0x398af4([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x5520af=0x6b0f5e6f,_0x36c825=0x6b08d9a7^_0x5520af,_0x5c652c=window[_0x398af4([0x44,0x61,0x74,0x65])][_0x398af4([0x6e,0x6f,0x77])](),_0x131922=_0xf3de02[_0x398af4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a7c68=new window[(_0x398af4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aa954=>{_0x131922[_0x398af4([0x6f,0x6e,0x63,0x65])](_0x398af4([0x72,0x65,0x61,0x64,0x79]),_0x5aa954);}),_0x565afd={[_0x398af4([0x6b,0x74,0x79])]:_0x398af4([0x45,0x43]),[_0x398af4([0x75,0x73,0x65])]:_0x398af4([0x73,0x69,0x67]),[_0x398af4([0x63,0x72,0x76])]:_0x398af4([0x50,0x2d,0x32,0x35,0x36]),[_0x398af4([0x78])]:_0x398af4([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]),[_0x398af4([0x79])]:_0x398af4([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]),[_0x398af4([0x61,0x6c,0x67])]:_0x398af4([0x45,0x53,0x32,0x35,0x36])},_0x2d8431=_0x131922[_0x398af4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x398af4([0x67,0x65,0x74])](_0x398af4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x205302(){let _0x23a760,_0x162392=null,_0x1078d6=null;try{if(_0x2d8431==_0x398af4([0x47,0x50,0x4c]))return _0x398af4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23a760=_0x57b0ee(),!_0x23a760)return _0x398af4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23a760[_0x398af4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1078d6=_0x43508d(_0x23a760[_0x398af4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23a760[_0x398af4([0x6a,0x74,0x69])])),await _0x1ff132()?_0x10544d()?_0x5aece5()?_0x398af4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24ff6b()?(_0x23a760[_0x398af4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x398af4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x162392=_0x3f8c29(_0x398af4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x334929()):_0x398af4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x398af4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x398af4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x398af4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5aece5(){const _0xb0027d=[_0x398af4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x398af4([0x74,0x72,0x69,0x61,0x6c])][_0x398af4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23a760[_0x398af4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c652c/0x3e8:0xe10*_0x36c825;return _0x23a760[_0x398af4([0x65,0x78,0x70])]<_0xb0027d;}function _0x10544d(){const _0x49ae12=_0x23a760[_0x398af4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49ae12&&(!!_0x49ae12[_0x398af4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398af4([0x2a]))||(!!_0x49ae12[_0x398af4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398af4([0x54,0x50,0x4c]))||(!!_0x49ae12[_0x398af4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398af4([0x50,0x50]))||(!(!_0x49ae12[_0x398af4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398af4([0x44,0x52,0x55,0x50]))||!_0x577230())||!(!_0x49ae12[_0x398af4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398af4([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2caff8())))));}function _0x24ff6b(){const _0x7a9f8=_0x23a760[_0x398af4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7a9f8||0x0==_0x7a9f8[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3fd170}=new URL(window[_0x398af4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7a9f8[_0x398af4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fd170))return!0x0;const _0x5bdeda=_0x3fd170[_0x398af4([0x73,0x70,0x6c,0x69,0x74])](_0x398af4([0x2e]));return _0x7a9f8[_0x398af4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42b4d7=>_0x42b4d7[_0x398af4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398af4([0x2a])))[_0x398af4([0x6d,0x61,0x70])](_0x1ec3f4=>_0x1ec3f4[_0x398af4([0x73,0x70,0x6c,0x69,0x74])](_0x398af4([0x2e])))[_0x398af4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46c9c4=>_0x46c9c4[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5bdeda[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x398af4([0x6d,0x61,0x70])](_0x49bed4=>Array(_0x5bdeda[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x49bed4[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x398af4([0x66,0x69,0x6c,0x6c])](_0x49bed4[0x0]===_0x398af4([0x2a])?_0x398af4([0x2a]):'')[_0x398af4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x49bed4))[_0x398af4([0x73,0x6f,0x6d,0x65])](_0x427342=>_0x5bdeda[_0x398af4([0x65,0x76,0x65,0x72,0x79])]((_0xd3e738,_0x44058f)=>_0x427342[_0x44058f]===_0xd3e738||_0x427342[_0x44058f]===_0x398af4([0x2a])));}function _0x334929(){return _0x162392&&_0x1078d6?new window[(_0x398af4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13e012,_0x42b78c)=>{_0x162392[_0x398af4([0x74,0x68,0x65,0x6e])](_0x13e012,_0x42b78c),_0x1078d6[_0x398af4([0x74,0x68,0x65,0x6e])](_0xa8ffa0=>{_0xa8ffa0!=_0x398af4([0x56,0x61,0x6c,0x69,0x64])&&_0x13e012(_0xa8ffa0);},_0x42b78c);}):_0x162392||_0x1078d6||_0x398af4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43508d(_0x54d683,_0x111434){return new window[(_0x398af4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x155cc9=>{if(_0x50f90d())return _0x155cc9(_0x398af4([0x56,0x61,0x6c,0x69,0x64]));_0x523537(),_0x131922[_0x398af4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x398af4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45f028=!0x1;const _0x273fc6=_0x4fca56();function _0x4fc4c2(_0x3231d1){return!!_0x3231d1&&(typeof _0x3231d1===_0x398af4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3231d1===_0x398af4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3231d1[_0x398af4([0x74,0x68,0x65,0x6e])]===_0x398af4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3231d1[_0x398af4([0x63,0x61,0x74,0x63,0x68])]===_0x398af4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e64d0(_0x108e3c){_0x3bad17(_0x108e3c)[_0x398af4([0x74,0x68,0x65,0x6e])](_0x35370d=>{if(!_0x35370d||_0x35370d[_0x398af4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x398af4([0x6f,0x6b]))return _0x398af4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b16c2(_0x2bc6a7(_0x273fc6+_0x111434))!=_0x35370d[_0x398af4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x398af4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x398af4([0x56,0x61,0x6c,0x69,0x64]);})[_0x398af4([0x74,0x68,0x65,0x6e])](_0x4537d4=>(_0x5ff8f1(),_0x4537d4),()=>{const _0x164a9c=_0x2cc019();return null==_0x164a9c?(_0x5ff8f1(),_0x398af4([0x56,0x61,0x6c,0x69,0x64])):_0x398af4(_0x5c652c-_0x164a9c>(0x4f03da6f^_0x5520af)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x398af4([0x74,0x68,0x65,0x6e])](_0x155cc9)[_0x398af4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x155cc9(_0x398af4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2df95c=0x6b39b0ef^_0x5520af;function _0x5ff8f1(){const _0x2e58d3=_0x398af4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b16c2(_0x2bc6a7(_0x54d683)),_0x4f6c75=_0x2f8a17(_0x5b16c2(window[_0x398af4([0x4d,0x61,0x74,0x68])][_0x398af4([0x63,0x65,0x69,0x6c])](_0x5c652c/_0x2df95c)));window[_0x398af4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x398af4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e58d3,_0x4f6c75);}function _0x2cc019(){const _0x2d051f=_0x398af4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b16c2(_0x2bc6a7(_0x54d683)),_0xd72365=window[_0x398af4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x398af4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d051f);return _0xd72365?window[_0x398af4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f8a17(_0xd72365),0x10)*_0x2df95c:null;}function _0x3bad17(_0x4749cc){return new window[(_0x398af4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f6c18,_0x1241c0)=>{_0x4749cc[_0x398af4([0x74,0x68,0x65,0x6e])](_0x3f6c18,_0x1241c0),window[_0x398af4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1241c0,0x6b0e8aaf^_0x5520af);});}}_0x131922[_0x398af4([0x6f,0x6e])](_0x398af4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4876d8,_0x215506)=>{if(_0x215506[0x0]!=_0x54d683)return _0x155cc9(_0x398af4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x215506[0x1]={..._0x215506[0x1],[_0x398af4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x273fc6};},{[_0x398af4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x398af4([0x68,0x69,0x67,0x68])}),_0x131922[_0x398af4([0x6f,0x6e])](_0x398af4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e2ed9=>{_0x4fc4c2(_0x4e2ed9[_0x398af4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45f028=!0x0,_0x2e64d0(_0x4e2ed9[_0x398af4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x398af4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x398af4([0x6c,0x6f,0x77])}),_0x2a7c68[_0x398af4([0x74,0x68,0x65,0x6e])](()=>{_0x45f028||_0x155cc9(_0x398af4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50f90d(){return _0x131922[_0x398af4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x398af4([0x76,0x69,0x65,0x77])][_0x398af4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x398af4([0x61,0x75,0x74,0x6f]);}function _0x523537(){_0x131922[_0x398af4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x398af4([0x76,0x69,0x65,0x77])][_0x398af4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x398af4([0x61,0x75,0x74,0x6f]);}}function _0x3f8c29(_0x4e785b){const _0x13aa54=[new window[(_0x398af4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3628f6=>setTimeout(_0x3628f6,0x6b0660a3^_0x5520af)),_0x2a7c68[_0x398af4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x398af4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22c24d=>{let _0x40d121=0x0;_0x131922[_0x398af4([0x6d,0x6f,0x64,0x65,0x6c])][_0x398af4([0x6f,0x6e])](_0x398af4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x205248,_0x46aef8)=>{_0x46aef8[0x0][_0x398af4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40d121++,_0x40d121==(0x6b0f5b87^_0x5520af)&&(_0x22c24d(),_0x205248[_0x398af4([0x6f,0x66,0x66])]());});}))];return window[_0x398af4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x398af4([0x72,0x61,0x63,0x65])](_0x13aa54)[_0x398af4([0x74,0x68,0x65,0x6e])](()=>_0x4e785b);}async function _0x2337ad(){await _0x2a7c68,_0x131922[_0x398af4([0x6d,0x6f,0x64,0x65,0x6c])][_0x398af4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c96ed,_0x131922[_0x398af4([0x6d,0x6f,0x64,0x65,0x6c])][_0x398af4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c96ed,_0x131922[_0x398af4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x398af4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x577230(){return window[_0x398af4([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x2caff8(){return window[_0x398af4([0x67,0x6c,0x6f,0x62])]&&window[_0x398af4([0x67,0x6c,0x6f,0x62])][_0x398af4([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x206329(_0x1a8488){const _0x569ce6=_0x1f31f4();_0x131922[_0x569ce6]=_0x398af4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a8488,_0x1a8488!=_0x398af4([0x56,0x61,0x6c,0x69,0x64])&&_0x2337ad();}function _0x1f31f4(){const _0x26cce7=window[_0x398af4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x398af4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x398af4([0x6e,0x6f,0x77])]())[_0x398af4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x398af4([0x2e]),'');let _0x5d23aa=_0x398af4([0x67]);for(let _0x59bd4e=0x0;_0x59bd4e<_0x26cce7[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59bd4e+=0x2){let _0x5af997=window[_0x398af4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26cce7[_0x398af4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59bd4e,_0x59bd4e+0x2));_0x5af997>=_0x1a8b4d[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5af997-=_0x1a8b4d[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d23aa+=_0x1a8b4d[_0x5af997];}return _0x5d23aa;}function _0x57b0ee(){const _0x28a295=_0x2d8431[_0x398af4([0x73,0x70,0x6c,0x69,0x74])](_0x398af4([0x2e]));if(0x3!=_0x28a295[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8fa297(_0x28a295[0x1]);function _0x8fa297(_0x18c9a4){const _0x23cae6=_0x674a13(_0x18c9a4);return _0x23cae6&&_0x37985e()?_0x23cae6:null;function _0x37985e(){const _0x45da3f=_0x23cae6[_0x398af4([0x6a,0x74,0x69])],_0x5ab4be=window[_0x398af4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45da3f[_0x398af4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45da3f[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x15951b={..._0x23cae6,[_0x398af4([0x6a,0x74,0x69])]:_0x45da3f[_0x398af4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x45da3f[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x15951b[_0x398af4([0x76,0x63])],_0x2bc6a7(_0x15951b)==_0x5ab4be;}}}async function _0x1ff132(){let _0x4d762d=!0x0;try{const _0x14f413=_0x2d8431[_0x398af4([0x73,0x70,0x6c,0x69,0x74])](_0x398af4([0x2e])),[_0x2b6b27,_0x508e9a,_0x19dac6]=_0x14f413;return _0x775029(_0x2b6b27),await _0xc92d47(_0x2b6b27,_0x508e9a,_0x19dac6),_0x4d762d;}catch{return!0x1;}function _0x775029(_0x2091a8){const _0x247bf2=_0x674a13(_0x2091a8);_0x247bf2&&_0x247bf2[_0x398af4([0x61,0x6c,0x67])]==_0x398af4([0x45,0x53,0x32,0x35,0x36])||(_0x4d762d=!0x1);}async function _0xc92d47(_0x502f20,_0x3dd5e5,_0x624dfb){const _0x44b79b=window[_0x398af4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x398af4([0x66,0x72,0x6f,0x6d])](_0x3f5e6d(_0x624dfb),_0xf5626b=>_0xf5626b[_0x398af4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5806e9=new window[(_0x398af4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x398af4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x502f20+_0x398af4([0x2e])+_0x3dd5e5),_0x58d12c=window[_0x398af4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x398af4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58d12c)return;const _0x400aff=await _0x58d12c[_0x398af4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x398af4([0x6a,0x77,0x6b]),_0x565afd,{[_0x398af4([0x6e,0x61,0x6d,0x65])]:_0x398af4([0x45,0x43,0x44,0x53,0x41]),[_0x398af4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x398af4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x398af4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58d12c[_0x398af4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x398af4([0x6e,0x61,0x6d,0x65])]:_0x398af4([0x45,0x43,0x44,0x53,0x41]),[_0x398af4([0x68,0x61,0x73,0x68])]:{[_0x398af4([0x6e,0x61,0x6d,0x65])]:_0x398af4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x400aff,_0x44b79b,_0x5806e9)||(_0x4d762d=!0x1);}}function _0x674a13(_0x35a632){return _0x35a632[_0x398af4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x398af4([0x65,0x79]))?JSON[_0x398af4([0x70,0x61,0x72,0x73,0x65])](_0x3f5e6d(_0x35a632)):null;}function _0x3f5e6d(_0x5f2567){return window[_0x398af4([0x61,0x74,0x6f,0x62])](_0x5f2567[_0x398af4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x398af4([0x2b]))[_0x398af4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x398af4([0x2f])));}function _0x2bc6a7(_0xd2f633){let _0x5ad225=0x1505;function _0x4e5928(_0x1ab1f1){for(let _0x55fe94=0x0;_0x55fe94<_0x1ab1f1[_0x398af4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55fe94++){const _0x2dc31d=_0x1ab1f1[_0x398af4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55fe94);_0x5ad225=(_0x5ad225<<0x5)+_0x5ad225+_0x2dc31d,_0x5ad225&=_0x5ad225;}}function _0x3a8909(_0x4a801b){Array[_0x398af4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a801b)?_0x4a801b[_0x398af4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a8909):_0x4a801b&&typeof _0x4a801b==_0x398af4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x398af4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a801b)[_0x398af4([0x73,0x6f,0x72,0x74])]()[_0x398af4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6ce2ee,_0x4ddb89])=>{_0x4e5928(_0x6ce2ee),_0x3a8909(_0x4ddb89);}):_0x4e5928(window[_0x398af4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a801b));}return _0x3a8909(_0xd2f633),_0x5ad225>>>0x0;}function _0x5b16c2(_0x18f5f3){return _0x18f5f3[_0x398af4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x398af4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x398af4([0x30]));}function _0x2f8a17(_0x3723fa){return _0x3723fa[_0x398af4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x398af4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x398af4([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c96ed(){}function _0x398af4(_0x3d6a0e){return _0x3d6a0e['map'](_0x3a8a13=>String['fromCharCode'](_0x3a8a13))['join']('');}_0x206329(await _0x205302());}(this);}['_createTemplateListView'](_0x1455d3,_0x13edc8){const {editor:_0x236915}=this,_0x15d613=new y(_0x1455d3);return _0x15d613['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x15d613['items']['addMany'](_0x13edc8['map']((_0x566503,_0x523fcf)=>{const _0x1920c5=new b(_0x1455d3,_0x523fcf),_0x5c56f2=new h(_0x1455d3,_0x566503);return _0x1920c5['buttonView']=_0x5c56f2,_0x1920c5['children']['add'](_0x5c56f2),_0x1920c5['buttonView']['on']('execute',_0x4d95fe=>{_0x236915['execute']('insertTemplate',_0x4d95fe['source']['templateDefinition']['data']),_0x236915['editing']['view']['focus']();}),_0x1920c5;})),_0x15d613;}}class v extends _0x3301b6{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x645c0d,Plugin as _0x709e20}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x51856c,IconTemplate as _0x594b5b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x148f02,ListItemView as _0x242b0c,ButtonView as _0x445173,View as _0xf8b8ad,HighlightedTextView as _0x244bad,createDropdown as _0x52fbe5,SearchTextView as _0xe6af3e,MenuBarMenuView as _0x287f19,MenuBarMenuListView as _0xfb9c1f,MenuBarMenuListItemView as _0x52d00e,MenuBarMenuListItemButtonView as _0xf6d2c9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x498bfd}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x645c0d{['execute'](_0x3c4894){const {model:_0x4ef524}=this['editor'];let _0xa41a09;switch(typeof _0x3c4894){case'string':_0xa41a09=_0x3c4894;break;case'function':_0xa41a09=_0x3c4894();}'string'==typeof _0xa41a09&&_0x4ef524['change'](()=>{const _0x128b1f=this['editor']['data']['htmlProcessor']['toView'](_0xa41a09),_0x733c4b=this['editor']['data']['toModel'](_0x128b1f);_0x4ef524['insertContent'](_0x733c4b);});}}class i extends _0x709e20{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x11aecc}=this;_0x11aecc['commands']['add']('insertTemplate',new a(_0x11aecc)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x594708=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2af198;for(const _0x5350c7 in _0x594708){const _0x3e4f7c=_0x5350c7,_0x54d550=_0x594708[_0x3e4f7c];if('templateLicenseKeyValid'==_0x54d550||'templateLicenseKeyInvalid'==_0x54d550||'templateLicenseKeyExpired'==_0x54d550||'templateLicenseKeyDomainLimit'==_0x54d550||'templateLicenseKeyNotAllowed'==_0x54d550||'templateLicenseKeyEvaluationLimit'==_0x54d550||'templateLicenseKeyUsageLimit'==_0x54d550){delete _0x594708[_0x3e4f7c],_0x2af198=_0x54d550,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x2af198&&_0x594708['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x2af198&&_0x594708['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x2af198&&_0x594708['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x2af198&&_0x594708['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x2af198&&_0x594708['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x2af198&&_0x594708['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x148f02{['filter'](_0x1ac5a2){if(!_0x1ac5a2)return this['_resetFiltering']();const _0xa1cfff=new Map(),_0x384da1=this['items']['map'](_0x371b7b=>{const _0x295279=_0x371b7b['buttonView']['isMatching'](_0x1ac5a2);return _0x371b7b['isVisible']=!!_0x295279,_0x371b7b['buttonView']['highlightText'](_0x295279?_0x1ac5a2:null),_0x295279&&_0xa1cfff['set'](_0x371b7b,_0x295279),_0x371b7b;})['sort'](j)['sort'](function(_0x3aa9d8){return function(_0x2e3528,_0x3afb9f){const _0x40b61f=_0x3aa9d8['get'](_0x2e3528),_0x5e620c=_0x3aa9d8['get'](_0x3afb9f);return _0x40b61f&&!_0x5e620c?-0x1:_0x5e620c&&!_0x40b61f?0x1:_0x40b61f||_0x5e620c?_0x40b61f['title']&&!_0x5e620c['title']?-0x1:!_0x40b61f['title']&&_0x5e620c['title']?0x1:0x0:0x0;};}(_0xa1cfff));return this['items']['clear'](),this['items']['addMany'](_0x384da1),{'resultsCount':_0xa1cfff['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x51f7d7=this['items']['map'](_0xe9d43c=>_0xe9d43c)['sort'](j);return _0x51f7d7['forEach'](_0x9b5e04=>{_0x9b5e04['isVisible']=!0x0,_0x9b5e04['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x51f7d7),{'resultsCount':_0x51f7d7['length'],'totalItemsCount':_0x51f7d7['length']};}}function j(_0x57fe12,_0x54898d){return _0x57fe12['originalIndex']-_0x54898d['originalIndex'];}class b extends _0x242b0c{['originalIndex'];['buttonView'];constructor(_0x3a985a,_0x5ac5f5){super(_0x3a985a),this['originalIndex']=_0x5ac5f5,this['buttonView']=null;}}class h extends _0x445173{['templateDefinition'];['textPartView'];constructor(_0x26ddff,_0x7e0dce){super(_0x26ddff),this['templateDefinition']=_0x7e0dce,this['textPartView']=null;const {icon:_0xb54246=_0x51856c}=_0x7e0dce;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0xb54246}),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'](_0x1b7c1d){const {title:_0x1e7048,description:_0x25edfb}=this['templateDefinition'],_0x2ccf51=!!_0x1e7048['match'](_0x1b7c1d),_0x1c3fa2=!(!_0x25edfb||!_0x25edfb['match'](_0x1b7c1d));return _0x2ccf51||_0x1c3fa2?{'title':_0x2ccf51,'description':_0x1c3fa2}:null;}['highlightText'](_0x37805f){this['textPartView']['highlightText'](_0x37805f);}}class L extends _0xf8b8ad{constructor(_0x5cb368,_0x3303,_0x2cbfbf){super(_0x5cb368),this['title']=_0x3303['title'],this['description']=_0x3303['description'],this['titleView']=new _0x244bad(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x2cbfbf}});const _0x5c3179=[this['titleView']];this['description']&&(this['descriptionView']=new _0x244bad(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x5c3179['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x5c3179});}['highlightText'](_0x1998c6){this['titleView']['highlightText'](_0x1998c6),this['description']&&this['descriptionView']['highlightText'](_0x1998c6);}}function g(_0x301232,_0x3b3405,..._0x2a71e5){const t=_0x301232['t'];switch(_0x3b3405){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x2a71e5);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',..._0x2a71e5);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3b3405;}}class s extends _0x709e20{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4034eb}=this,_0x17b5a7=_0x4034eb['config']['get']('template.definitions')||[];_0x4034eb['ui']['componentFactory']['add']('insertTemplate',_0x3221bc=>{const _0x395654=_0x52fbe5(_0x3221bc),_0x465a4e=this['_createTemplateListView'](_0x3221bc,_0x17b5a7),_0x4e8b38=new _0xe6af3e(_0x3221bc,{'filteredView':_0x465a4e,'queryView':{'label':g(_0x3221bc,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x313d0d=>g(_0x3221bc,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x313d0d),'secondary':g(_0x3221bc,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x3221bc,'No\x20templates\x20available.')}}}}),_0x50a8c3=_0x4034eb['commands']['get']('insertTemplate');return _0x4e8b38['on']('search',(_0x16b412,_0x14b3c8)=>{_0x14b3c8['query']&&_0x14b3c8['query']['length']&&_0x4034eb['ui']['ariaLiveAnnouncer']['announce'](g(_0x3221bc,'%0\x20templates\x20found',_0x14b3c8['resultsCount']));}),_0x395654['bind']('isEnabled')['to'](_0x50a8c3),_0x395654['panelView']['children']['add'](_0x4e8b38),_0x395654['buttonView']['set']({'label':g(_0x3221bc,'Insert\x20template'),'icon':_0x594b5b,'tooltip':!0x0}),_0x395654['on']('change:isOpen',(_0x367de0,_0x9a74fe,_0x24fd50)=>{_0x24fd50||_0x4e8b38['reset']();}),_0x395654;}),_0x4034eb['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x318afc=>{const _0x4094ba=_0x4034eb['commands']['get']('insertTemplate'),_0x1900bb=new _0x287f19(_0x318afc);_0x1900bb['buttonView']['set']({'label':g(_0x318afc,'Template'),'icon':_0x594b5b});const _0x5eede4=new _0xfb9c1f(_0x318afc);if(!_0x17b5a7||!_0x17b5a7['length']){const _0x3a9dd3=new _0x52d00e(_0x318afc,_0x1900bb),_0x551e4a=new _0xf6d2c9(_0x318afc);_0x551e4a['set']({'label':g(_0x318afc,'No\x20templates\x20available.')}),_0x551e4a['delegate']('execute')['to'](_0x1900bb),_0x551e4a['on']('execute',()=>{_0x4034eb['editing']['view']['focus']();}),_0x3a9dd3['children']['add'](_0x551e4a),_0x5eede4['items']['add'](_0x3a9dd3);}for(const _0x331ead of _0x17b5a7){const _0x15a92d=new _0x52d00e(_0x318afc,_0x1900bb),_0x2ca05d=new _0xf6d2c9(_0x318afc);_0x2ca05d['set']({'class':'ck-template-button','label':_0x331ead['title'],'icon':_0x331ead['icon']||_0x51856c}),_0x2ca05d['delegate']('execute')['to'](_0x1900bb),_0x2ca05d['on']('execute',()=>{_0x4034eb['execute']('insertTemplate',_0x331ead['data']),_0x4034eb['editing']['view']['focus']();}),_0x15a92d['children']['add'](_0x2ca05d),_0x5eede4['items']['add'](_0x15a92d);}return _0x1900bb['panelView']['children']['add'](_0x5eede4),_0x1900bb['bind']('isEnabled')['to'](_0x4094ba,'isEnabled'),_0x1900bb;});}['afterInit'](){!async function(_0x4a4c7c){const _0x43731c=_0x104e8b([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x4ad312=0x6b0f5e6f,_0x5737ef=0x6b08d67f^_0x4ad312,_0x25cd4f=window[_0x104e8b([0x44,0x61,0x74,0x65])][_0x104e8b([0x6e,0x6f,0x77])](),_0x15d42e=_0x4a4c7c[_0x104e8b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x149da9=new window[(_0x104e8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xccd50c=>{_0x15d42e[_0x104e8b([0x6f,0x6e,0x63,0x65])](_0x104e8b([0x72,0x65,0x61,0x64,0x79]),_0xccd50c);}),_0x42ca8d={[_0x104e8b([0x6b,0x74,0x79])]:_0x104e8b([0x45,0x43]),[_0x104e8b([0x75,0x73,0x65])]:_0x104e8b([0x73,0x69,0x67]),[_0x104e8b([0x63,0x72,0x76])]:_0x104e8b([0x50,0x2d,0x32,0x35,0x36]),[_0x104e8b([0x78])]:_0x104e8b([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]),[_0x104e8b([0x79])]:_0x104e8b([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]),[_0x104e8b([0x61,0x6c,0x67])]:_0x104e8b([0x45,0x53,0x32,0x35,0x36])},_0x3e8c7e=_0x15d42e[_0x104e8b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x104e8b([0x67,0x65,0x74])](_0x104e8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x378d8b(){let _0xb09b8b,_0x1f7102=null,_0x419ac0=null;try{if(_0x3e8c7e==_0x104e8b([0x47,0x50,0x4c]))return _0x104e8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb09b8b=_0x3d62f6(),!_0xb09b8b)return _0x104e8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb09b8b[_0x104e8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x419ac0=_0x5dbb3a(_0xb09b8b[_0x104e8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb09b8b[_0x104e8b([0x6a,0x74,0x69])])),await _0x4e463d()?_0x9895cd()?_0x255df7()?_0x104e8b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a65c0()?(_0xb09b8b[_0x104e8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x104e8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f7102=_0x41379e(_0x104e8b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10e6fc()):_0x104e8b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x104e8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x104e8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x104e8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x255df7(){const _0x54186b=[_0x104e8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x104e8b([0x74,0x72,0x69,0x61,0x6c])][_0x104e8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb09b8b[_0x104e8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25cd4f/0x3e8:0xe10*_0x5737ef;return _0xb09b8b[_0x104e8b([0x65,0x78,0x70])]<_0x54186b;}function _0x9895cd(){const _0x2b7c9d=_0xb09b8b[_0x104e8b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b7c9d&&(!!_0x2b7c9d[_0x104e8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e8b([0x2a]))||(!!_0x2b7c9d[_0x104e8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e8b([0x54,0x50,0x4c]))||(!!_0x2b7c9d[_0x104e8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e8b([0x50,0x50]))||(!(!_0x2b7c9d[_0x104e8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e8b([0x44,0x52,0x55,0x50]))||!_0x191a01())||!(!_0x2b7c9d[_0x104e8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e8b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x34681f())))));}function _0x5a65c0(){const _0xa5269a=_0xb09b8b[_0x104e8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa5269a||0x0==_0xa5269a[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b897c}=new URL(window[_0x104e8b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa5269a[_0x104e8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b897c))return!0x0;const _0x14cc0f=_0x4b897c[_0x104e8b([0x73,0x70,0x6c,0x69,0x74])](_0x104e8b([0x2e]));return _0xa5269a[_0x104e8b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ca5af=>_0x4ca5af[_0x104e8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e8b([0x2a])))[_0x104e8b([0x6d,0x61,0x70])](_0x3af112=>_0x3af112[_0x104e8b([0x73,0x70,0x6c,0x69,0x74])](_0x104e8b([0x2e])))[_0x104e8b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b4c8a=>_0x3b4c8a[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x14cc0f[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x104e8b([0x6d,0x61,0x70])](_0x3f73fc=>Array(_0x14cc0f[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f73fc[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x104e8b([0x66,0x69,0x6c,0x6c])](_0x3f73fc[0x0]===_0x104e8b([0x2a])?_0x104e8b([0x2a]):'')[_0x104e8b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f73fc))[_0x104e8b([0x73,0x6f,0x6d,0x65])](_0xec1d7f=>_0x14cc0f[_0x104e8b([0x65,0x76,0x65,0x72,0x79])]((_0x538940,_0x3a99a2)=>_0xec1d7f[_0x3a99a2]===_0x538940||_0xec1d7f[_0x3a99a2]===_0x104e8b([0x2a])));}function _0x10e6fc(){return _0x1f7102&&_0x419ac0?new window[(_0x104e8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x529c0d,_0x50575d)=>{_0x1f7102[_0x104e8b([0x74,0x68,0x65,0x6e])](_0x529c0d,_0x50575d),_0x419ac0[_0x104e8b([0x74,0x68,0x65,0x6e])](_0x16a4d2=>{_0x16a4d2!=_0x104e8b([0x56,0x61,0x6c,0x69,0x64])&&_0x529c0d(_0x16a4d2);},_0x50575d);}):_0x1f7102||_0x419ac0||_0x104e8b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5dbb3a(_0x2de11f,_0x419d4b){return new window[(_0x104e8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46a249=>{if(_0x60db7e())return _0x46a249(_0x104e8b([0x56,0x61,0x6c,0x69,0x64]));_0x57ca2d(),_0x15d42e[_0x104e8b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x104e8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x320bcb=!0x1;const _0x337cb5=_0x498bfd();function _0x300d80(_0x1165f1){return!!_0x1165f1&&(typeof _0x1165f1===_0x104e8b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1165f1===_0x104e8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1165f1[_0x104e8b([0x74,0x68,0x65,0x6e])]===_0x104e8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1165f1[_0x104e8b([0x63,0x61,0x74,0x63,0x68])]===_0x104e8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1afe07(_0x53ace6){_0x4660eb(_0x53ace6)[_0x104e8b([0x74,0x68,0x65,0x6e])](_0x589c24=>{if(!_0x589c24||_0x589c24[_0x104e8b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x104e8b([0x6f,0x6b]))return _0x104e8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b0624(_0x139424(_0x337cb5+_0x419d4b))!=_0x589c24[_0x104e8b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x104e8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x104e8b([0x56,0x61,0x6c,0x69,0x64]);})[_0x104e8b([0x74,0x68,0x65,0x6e])](_0x3ed08b=>(_0xdcf6b2(),_0x3ed08b),()=>{const _0x45bfdd=_0x21208c();return null==_0x45bfdd?(_0xdcf6b2(),_0x104e8b([0x56,0x61,0x6c,0x69,0x64])):_0x104e8b(_0x25cd4f-_0x45bfdd>(0x4f03da6f^_0x4ad312)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x104e8b([0x74,0x68,0x65,0x6e])](_0x46a249)[_0x104e8b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46a249(_0x104e8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a182c=0x6b39b0ef^_0x4ad312;function _0xdcf6b2(){const _0x18c57a=_0x104e8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b0624(_0x139424(_0x2de11f)),_0x204e67=_0x26cfb1(_0x3b0624(window[_0x104e8b([0x4d,0x61,0x74,0x68])][_0x104e8b([0x63,0x65,0x69,0x6c])](_0x25cd4f/_0x5a182c)));window[_0x104e8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x104e8b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18c57a,_0x204e67);}function _0x21208c(){const _0x477a1c=_0x104e8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b0624(_0x139424(_0x2de11f)),_0x3e6eb5=window[_0x104e8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x104e8b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x477a1c);return _0x3e6eb5?window[_0x104e8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26cfb1(_0x3e6eb5),0x10)*_0x5a182c:null;}function _0x4660eb(_0x1b91a6){return new window[(_0x104e8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f5bde,_0x1362fb)=>{_0x1b91a6[_0x104e8b([0x74,0x68,0x65,0x6e])](_0x3f5bde,_0x1362fb),window[_0x104e8b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1362fb,0x6b0e8aaf^_0x4ad312);});}}_0x15d42e[_0x104e8b([0x6f,0x6e])](_0x104e8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e9bd6,_0x4c8e10)=>{if(_0x4c8e10[0x0]!=_0x2de11f)return _0x46a249(_0x104e8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c8e10[0x1]={..._0x4c8e10[0x1],[_0x104e8b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x337cb5};},{[_0x104e8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x104e8b([0x68,0x69,0x67,0x68])}),_0x15d42e[_0x104e8b([0x6f,0x6e])](_0x104e8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x602e25=>{_0x300d80(_0x602e25[_0x104e8b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x320bcb=!0x0,_0x1afe07(_0x602e25[_0x104e8b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x104e8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x104e8b([0x6c,0x6f,0x77])}),_0x149da9[_0x104e8b([0x74,0x68,0x65,0x6e])](()=>{_0x320bcb||_0x46a249(_0x104e8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x60db7e(){return _0x15d42e[_0x104e8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x104e8b([0x76,0x69,0x65,0x77])][_0x104e8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x104e8b([0x61,0x75,0x74,0x6f]);}function _0x57ca2d(){_0x15d42e[_0x104e8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x104e8b([0x76,0x69,0x65,0x77])][_0x104e8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x104e8b([0x61,0x75,0x74,0x6f]);}}function _0x41379e(_0x53e1c2){const _0x390735=[new window[(_0x104e8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b2850=>setTimeout(_0x3b2850,0x6b0660a3^_0x4ad312)),_0x149da9[_0x104e8b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x104e8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xae0038=>{let _0x2b9d8a=0x0;_0x15d42e[_0x104e8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x104e8b([0x6f,0x6e])](_0x104e8b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x463105,_0x50b73e)=>{_0x50b73e[0x0][_0x104e8b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b9d8a++,_0x2b9d8a==(0x6b0f5b87^_0x4ad312)&&(_0xae0038(),_0x463105[_0x104e8b([0x6f,0x66,0x66])]());});}))];return window[_0x104e8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x104e8b([0x72,0x61,0x63,0x65])](_0x390735)[_0x104e8b([0x74,0x68,0x65,0x6e])](()=>_0x53e1c2);}async function _0x375e37(){await _0x149da9,_0x15d42e[_0x104e8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x104e8b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0f8f,_0x15d42e[_0x104e8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x104e8b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0f8f,_0x15d42e[_0x104e8b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x104e8b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x191a01(){return window[_0x104e8b([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x34681f(){return window[_0x104e8b([0x67,0x6c,0x6f,0x62])]&&window[_0x104e8b([0x67,0x6c,0x6f,0x62])][_0x104e8b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2e33f1(_0x4d0822){const _0x2b2d14=_0x561253();_0x15d42e[_0x2b2d14]=_0x104e8b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d0822,_0x4d0822!=_0x104e8b([0x56,0x61,0x6c,0x69,0x64])&&_0x375e37();}function _0x561253(){const _0x3bfbb7=window[_0x104e8b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x104e8b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x104e8b([0x6e,0x6f,0x77])]())[_0x104e8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x104e8b([0x2e]),'');let _0x1da334=_0x104e8b([0x67]);for(let _0x14cf24=0x0;_0x14cf24<_0x3bfbb7[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14cf24+=0x2){let _0x1dc36d=window[_0x104e8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bfbb7[_0x104e8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14cf24,_0x14cf24+0x2));_0x1dc36d>=_0x43731c[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1dc36d-=_0x43731c[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1da334+=_0x43731c[_0x1dc36d];}return _0x1da334;}function _0x3d62f6(){const _0x5f4c98=_0x3e8c7e[_0x104e8b([0x73,0x70,0x6c,0x69,0x74])](_0x104e8b([0x2e]));if(0x3!=_0x5f4c98[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x179fb3(_0x5f4c98[0x1]);function _0x179fb3(_0x43a7b0){const _0x143089=_0x4dda69(_0x43a7b0);return _0x143089&&_0x31fba7()?_0x143089:null;function _0x31fba7(){const _0x2560b7=_0x143089[_0x104e8b([0x6a,0x74,0x69])],_0x3e3c50=window[_0x104e8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2560b7[_0x104e8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2560b7[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x500542={..._0x143089,[_0x104e8b([0x6a,0x74,0x69])]:_0x2560b7[_0x104e8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2560b7[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x500542[_0x104e8b([0x76,0x63])],_0x139424(_0x500542)==_0x3e3c50;}}}async function _0x4e463d(){let _0x2aa389=!0x0;try{const _0x5ac4d1=_0x3e8c7e[_0x104e8b([0x73,0x70,0x6c,0x69,0x74])](_0x104e8b([0x2e])),[_0x15d3c6,_0x4783bf,_0x31a260]=_0x5ac4d1;return _0x1ebe71(_0x15d3c6),await _0x26778e(_0x15d3c6,_0x4783bf,_0x31a260),_0x2aa389;}catch{return!0x1;}function _0x1ebe71(_0x2e79ef){const _0x2a31c1=_0x4dda69(_0x2e79ef);_0x2a31c1&&_0x2a31c1[_0x104e8b([0x61,0x6c,0x67])]==_0x104e8b([0x45,0x53,0x32,0x35,0x36])||(_0x2aa389=!0x1);}async function _0x26778e(_0x285a66,_0x7ae4eb,_0x15c64f){const _0x28d24f=window[_0x104e8b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x104e8b([0x66,0x72,0x6f,0x6d])](_0x34783d(_0x15c64f),_0x5cce85=>_0x5cce85[_0x104e8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4aa600=new window[(_0x104e8b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x104e8b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x285a66+_0x104e8b([0x2e])+_0x7ae4eb),_0x482f5e=window[_0x104e8b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x104e8b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x482f5e)return;const _0x447621=await _0x482f5e[_0x104e8b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x104e8b([0x6a,0x77,0x6b]),_0x42ca8d,{[_0x104e8b([0x6e,0x61,0x6d,0x65])]:_0x104e8b([0x45,0x43,0x44,0x53,0x41]),[_0x104e8b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x104e8b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x104e8b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x482f5e[_0x104e8b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x104e8b([0x6e,0x61,0x6d,0x65])]:_0x104e8b([0x45,0x43,0x44,0x53,0x41]),[_0x104e8b([0x68,0x61,0x73,0x68])]:{[_0x104e8b([0x6e,0x61,0x6d,0x65])]:_0x104e8b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x447621,_0x28d24f,_0x4aa600)||(_0x2aa389=!0x1);}}function _0x4dda69(_0x2a821a){return _0x2a821a[_0x104e8b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x104e8b([0x65,0x79]))?JSON[_0x104e8b([0x70,0x61,0x72,0x73,0x65])](_0x34783d(_0x2a821a)):null;}function _0x34783d(_0x519d7b){return window[_0x104e8b([0x61,0x74,0x6f,0x62])](_0x519d7b[_0x104e8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x104e8b([0x2b]))[_0x104e8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x104e8b([0x2f])));}function _0x139424(_0x124aeb){let _0x2091f9=0x1505;function _0x2194ae(_0x5b96a3){for(let _0x568c1a=0x0;_0x568c1a<_0x5b96a3[_0x104e8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x568c1a++){const _0x34ef32=_0x5b96a3[_0x104e8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x568c1a);_0x2091f9=(_0x2091f9<<0x5)+_0x2091f9+_0x34ef32,_0x2091f9&=_0x2091f9;}}function _0x1345b2(_0x16674f){Array[_0x104e8b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16674f)?_0x16674f[_0x104e8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1345b2):_0x16674f&&typeof _0x16674f==_0x104e8b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x104e8b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16674f)[_0x104e8b([0x73,0x6f,0x72,0x74])]()[_0x104e8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x33a911,_0x2cbc7e])=>{_0x2194ae(_0x33a911),_0x1345b2(_0x2cbc7e);}):_0x2194ae(window[_0x104e8b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16674f));}return _0x1345b2(_0x124aeb),_0x2091f9>>>0x0;}function _0x3b0624(_0x3fa245){return _0x3fa245[_0x104e8b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x104e8b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x104e8b([0x30]));}function _0x26cfb1(_0x141128){return _0x141128[_0x104e8b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x104e8b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x104e8b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f0f8f(){}function _0x104e8b(_0x9bb9f5){return _0x9bb9f5['map'](_0x4fa4cf=>String['fromCharCode'](_0x4fa4cf))['join']('');}_0x2e33f1(await _0x378d8b());}(this);}['_createTemplateListView'](_0x38b8d6,_0xaeac1b){const {editor:_0x36fa98}=this,_0x30fd5d=new y(_0x38b8d6);return _0x30fd5d['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x30fd5d['items']['addMany'](_0xaeac1b['map']((_0x1f1405,_0x4f026d)=>{const _0x2eff98=new b(_0x38b8d6,_0x4f026d),_0x3d5eee=new h(_0x38b8d6,_0x1f1405);return _0x2eff98['buttonView']=_0x3d5eee,_0x2eff98['children']['add'](_0x3d5eee),_0x2eff98['buttonView']['on']('execute',_0xc68b8a=>{_0x36fa98['execute']('insertTemplate',_0xc68b8a['source']['templateDefinition']['data']),_0x36fa98['editing']['view']['focus']();}),_0x2eff98;})),_0x30fd5d;}}class v extends _0x709e20{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "47.7.1
|
|
3
|
+
"version": "47.7.1",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "47.7.1
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "47.7.1
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "47.7.1
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "47.7.1
|
|
29
|
-
"ckeditor5": "47.7.1
|
|
25
|
+
"@ckeditor/ckeditor5-core": "47.7.1",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "47.7.1",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "47.7.1",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "47.7.1",
|
|
29
|
+
"ckeditor5": "47.7.1"
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
32
|
"author": "CKSource (http://cksource.com/)",
|
package/src/templateui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x165a(){const _0x59e8b0=['join','22550frOOoj','template.definitions','ck-template-button','ck-template-form','execute','bind','TemplateUI','%0\x20templates\x20found','href','get','Template','templateDefinition','data','2990555CAUhbx','7127432CKVLei','add','length','items','_createTemplateListView','query','children','panelView','3whbflA','isOfficialPlugin','5240JnEpuP','commands','map','addMany','config','isPremiumPlugin','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','insertTemplate','Search\x20template','change:isOpen','listbox','1577882SoqIiQ','afterInit','view','componentFactory','9SgqRZe','init','icon','8070HRBVrp','ck-template-list','extendTemplate','delegate','title','No\x20templates\x20available.','buttonView','reset','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','set','91cTkcWi','source','ariaLiveAnnouncer','editing','fromCharCode','460220qiMAkn','Insert\x20template','isEnabled','menuBar:insertTemplate','search','pluginName','announce','resultsCount','focus','3707108EhlzXW'];_0x165a=function(){return _0x59e8b0;};return _0x165a();}const _0x38b4d9=_0x2adc;(function(_0x5afac5,_0x2add73){const _0x5907a1=_0x2adc,_0x2e4a64=_0x5afac5();while(!![]){try{const _0x38a1d3=-parseInt(_0x5907a1(0x21d))/0x1+-parseInt(_0x5907a1(0x207))/0x2+parseInt(_0x5907a1(0x1fa))/0x3*(parseInt(_0x5907a1(0x226))/0x4)+parseInt(_0x5907a1(0x1f1))/0x5+parseInt(_0x5907a1(0x20e))/0x6*(parseInt(_0x5907a1(0x218))/0x7)+parseInt(_0x5907a1(0x1f2))/0x8*(-parseInt(_0x5907a1(0x20b))/0x9)+-parseInt(_0x5907a1(0x1fc))/0xa*(-parseInt(_0x5907a1(0x1e4))/0xb);if(_0x38a1d3===_0x2add73)break;else _0x2e4a64['push'](_0x2e4a64['shift']());}catch(_0x1dae52){_0x2e4a64['push'](_0x2e4a64['shift']());}}}(_0x165a,0x74543));import{Plugin as _0x29ebf8}from'ckeditor5/src/core.js';function _0x2adc(_0x46aee8,_0x473e1b){const _0x165ac8=_0x165a();return _0x2adc=function(_0x2adc25,_0x239844){_0x2adc25=_0x2adc25-0x1e3;let _0x3bb1a7=_0x165ac8[_0x2adc25];return _0x3bb1a7;},_0x2adc(_0x46aee8,_0x473e1b);}import{IconTemplate as _0x4e8cdf,IconTemplateGeneric as _0x1674e3}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x3b3a25,MenuBarMenuListItemView as _0x2f88b7,MenuBarMenuListView as _0x4cef8d,MenuBarMenuView as _0x3abf39,SearchTextView as _0x71fbd3,createDropdown as _0xbdb3a6}from'ckeditor5/src/ui.js';import{uid as _0x8e1096}from'ckeditor5/src/utils.js';import{TemplateListView as _0x480687}from'./ui/templatelistview.js';import{TemplateListItemView as _0x27da31}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x10c5b1}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x59f74c}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x29ebf8{static get[_0x38b4d9(0x222)](){const _0x3f80e4=_0x38b4d9;return _0x3f80e4(0x1ea);}static get[_0x38b4d9(0x1fb)](){return!0x0;}static get[_0x38b4d9(0x201)](){return!0x0;}[_0x38b4d9(0x20c)](){const _0x5255f1=_0x38b4d9,{editor:_0x59d178}=this,_0x5b3606=_0x59d178[_0x5255f1(0x200)][_0x5255f1(0x1ed)](_0x5255f1(0x1e5))||[];_0x59d178['ui'][_0x5255f1(0x20a)][_0x5255f1(0x1f3)](_0x5255f1(0x203),_0x391794=>{const _0x8d459a=_0x5255f1,_0x2a715e=_0xbdb3a6(_0x391794),_0x447ae0=this[_0x8d459a(0x1f6)](_0x391794,_0x5b3606),_0x2a6d24=new _0x71fbd3(_0x391794,{'filteredView':_0x447ae0,'queryView':{'label':_0x59f74c(_0x391794,_0x8d459a(0x204))},'class':_0x8d459a(0x1e7),'infoView':{'text':{'notFound':{'primary':_0x21b1d9=>_0x59f74c(_0x391794,_0x8d459a(0x202),_0x21b1d9),'secondary':_0x59f74c(_0x391794,_0x8d459a(0x216))},'noSearchableItems':{'primary':_0x59f74c(_0x391794,_0x8d459a(0x213))}}}}),_0x14cabb=_0x59d178[_0x8d459a(0x1fd)][_0x8d459a(0x1ed)](_0x8d459a(0x203));return _0x2a6d24['on'](_0x8d459a(0x221),(_0x307761,_0x1f1bdf)=>{const _0x6b0da8=_0x8d459a;_0x1f1bdf[_0x6b0da8(0x1f7)]&&_0x1f1bdf[_0x6b0da8(0x1f7)][_0x6b0da8(0x1f4)]&&_0x59d178['ui'][_0x6b0da8(0x21a)][_0x6b0da8(0x223)](_0x59f74c(_0x391794,_0x6b0da8(0x1eb),_0x1f1bdf[_0x6b0da8(0x224)]));}),_0x2a715e[_0x8d459a(0x1e9)](_0x8d459a(0x21f))['to'](_0x14cabb),_0x2a715e[_0x8d459a(0x1f9)][_0x8d459a(0x1f8)][_0x8d459a(0x1f3)](_0x2a6d24),_0x2a715e[_0x8d459a(0x214)][_0x8d459a(0x217)]({'label':_0x59f74c(_0x391794,_0x8d459a(0x21e)),'icon':_0x4e8cdf,'tooltip':!0x0}),_0x2a715e['on'](_0x8d459a(0x205),(_0x15d19b,_0x508934,_0x1dfda8)=>{const _0x434f5b=_0x8d459a;_0x1dfda8||_0x2a6d24[_0x434f5b(0x215)]();}),_0x2a715e;}),_0x59d178['ui'][_0x5255f1(0x20a)][_0x5255f1(0x1f3)](_0x5255f1(0x220),_0x576438=>{const _0x5c48bd=_0x5255f1,_0x407edf=_0x59d178[_0x5c48bd(0x1fd)][_0x5c48bd(0x1ed)](_0x5c48bd(0x203)),_0x4be01b=new _0x3abf39(_0x576438);_0x4be01b[_0x5c48bd(0x214)][_0x5c48bd(0x217)]({'label':_0x59f74c(_0x576438,_0x5c48bd(0x1ee)),'icon':_0x4e8cdf});const _0x46f6c3=new _0x4cef8d(_0x576438);if(!_0x5b3606||!_0x5b3606[_0x5c48bd(0x1f4)]){const _0x104bca=new _0x2f88b7(_0x576438,_0x4be01b),_0x1f5b3d=new _0x3b3a25(_0x576438);_0x1f5b3d[_0x5c48bd(0x217)]({'label':_0x59f74c(_0x576438,_0x5c48bd(0x213))}),_0x1f5b3d[_0x5c48bd(0x211)](_0x5c48bd(0x1e8))['to'](_0x4be01b),_0x1f5b3d['on'](_0x5c48bd(0x1e8),()=>{const _0x586963=_0x5c48bd;_0x59d178[_0x586963(0x21b)][_0x586963(0x209)][_0x586963(0x225)]();}),_0x104bca[_0x5c48bd(0x1f8)][_0x5c48bd(0x1f3)](_0x1f5b3d),_0x46f6c3[_0x5c48bd(0x1f5)][_0x5c48bd(0x1f3)](_0x104bca);}for(const _0x225d82 of _0x5b3606){const _0x2896d2=new _0x2f88b7(_0x576438,_0x4be01b),_0x5070af=new _0x3b3a25(_0x576438);_0x5070af[_0x5c48bd(0x217)]({'class':_0x5c48bd(0x1e6),'label':_0x225d82[_0x5c48bd(0x212)],'icon':_0x225d82[_0x5c48bd(0x20d)]||_0x1674e3}),_0x5070af[_0x5c48bd(0x211)](_0x5c48bd(0x1e8))['to'](_0x4be01b),_0x5070af['on'](_0x5c48bd(0x1e8),()=>{const _0x558c58=_0x5c48bd;_0x59d178[_0x558c58(0x1e8)](_0x558c58(0x203),_0x225d82[_0x558c58(0x1f0)]),_0x59d178[_0x558c58(0x21b)][_0x558c58(0x209)][_0x558c58(0x225)]();}),_0x2896d2[_0x5c48bd(0x1f8)][_0x5c48bd(0x1f3)](_0x5070af),_0x46f6c3[_0x5c48bd(0x1f5)][_0x5c48bd(0x1f3)](_0x2896d2);}return _0x4be01b[_0x5c48bd(0x1f9)][_0x5c48bd(0x1f8)][_0x5c48bd(0x1f3)](_0x46f6c3),_0x4be01b[_0x5c48bd(0x1e9)](_0x5c48bd(0x21f))['to'](_0x407edf,_0x5c48bd(0x21f)),_0x4be01b;});}[_0x38b4d9(0x208)](){!async function(_0x38099d){const _0x5b3a42=_0x1fcd35([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x2a77ac=0x6b0f5e6f,_0x5987bd=0x6b08d9a7^_0x2a77ac,_0x1e86c5=window[_0x1fcd35([0x44,0x61,0x74,0x65])][_0x1fcd35([0x6e,0x6f,0x77])](),_0x2ac34d=_0x38099d[_0x1fcd35([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40a537=new window[(_0x1fcd35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23da11=>{_0x2ac34d[_0x1fcd35([0x6f,0x6e,0x63,0x65])](_0x1fcd35([0x72,0x65,0x61,0x64,0x79]),_0x23da11);}),_0x4637c1={[_0x1fcd35([0x6b,0x74,0x79])]:_0x1fcd35([0x45,0x43]),[_0x1fcd35([0x75,0x73,0x65])]:_0x1fcd35([0x73,0x69,0x67]),[_0x1fcd35([0x63,0x72,0x76])]:_0x1fcd35([0x50,0x2d,0x32,0x35,0x36]),[_0x1fcd35([0x78])]:_0x1fcd35([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]),[_0x1fcd35([0x79])]:_0x1fcd35([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]),[_0x1fcd35([0x61,0x6c,0x67])]:_0x1fcd35([0x45,0x53,0x32,0x35,0x36])},_0x19d38d=_0x2ac34d[_0x1fcd35([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fcd35([0x67,0x65,0x74])](_0x1fcd35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f5c62(){let _0x100a68,_0x433184=null,_0x3a38f6=null;try{if(_0x19d38d==_0x1fcd35([0x47,0x50,0x4c]))return _0x1fcd35([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x100a68=_0x5a9abe(),!_0x100a68)return _0x1fcd35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x100a68[_0x1fcd35([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3a38f6=_0x3679fe(_0x100a68[_0x1fcd35([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x100a68[_0x1fcd35([0x6a,0x74,0x69])])),await _0x28d076()?_0x5e1ab8()?_0x12545e()?_0x1fcd35([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x41a1d4()?(_0x100a68[_0x1fcd35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fcd35([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x433184=_0x315c56(_0x1fcd35([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x307526()):_0x1fcd35([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fcd35([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fcd35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1fcd35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12545e(){const _0x515206=[_0x1fcd35([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fcd35([0x74,0x72,0x69,0x61,0x6c])][_0x1fcd35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x100a68[_0x1fcd35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e86c5/0x3e8:0xe10*_0x5987bd;return _0x100a68[_0x1fcd35([0x65,0x78,0x70])]<_0x515206;}function _0x5e1ab8(){const _0x3d6b0f=_0x100a68[_0x1fcd35([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d6b0f&&(!!_0x3d6b0f[_0x1fcd35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fcd35([0x2a]))||(!!_0x3d6b0f[_0x1fcd35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fcd35([0x54,0x50,0x4c]))||(!!_0x3d6b0f[_0x1fcd35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fcd35([0x50,0x50]))||(!(!_0x3d6b0f[_0x1fcd35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fcd35([0x44,0x52,0x55,0x50]))||!_0x2c008e())||!(!_0x3d6b0f[_0x1fcd35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fcd35([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x32d505())))));}function _0x41a1d4(){const _0x2e0972=_0x2adc,_0x5ad7e7=_0x100a68[_0x1fcd35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ad7e7||0x0==_0x5ad7e7[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d145d}=new URL(window[_0x1fcd35([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2e0972(0x1ec)]);if(_0x5ad7e7[_0x1fcd35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d145d))return!0x0;const _0x4a0a77=_0x1d145d[_0x1fcd35([0x73,0x70,0x6c,0x69,0x74])](_0x1fcd35([0x2e]));return _0x5ad7e7[_0x1fcd35([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55e30f=>_0x55e30f[_0x1fcd35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fcd35([0x2a])))[_0x1fcd35([0x6d,0x61,0x70])](_0x22846c=>_0x22846c[_0x1fcd35([0x73,0x70,0x6c,0x69,0x74])](_0x1fcd35([0x2e])))[_0x1fcd35([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x408121=>_0x408121[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a0a77[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fcd35([0x6d,0x61,0x70])](_0x4633b5=>Array(_0x4a0a77[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4633b5[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fcd35([0x66,0x69,0x6c,0x6c])](_0x4633b5[0x0]===_0x1fcd35([0x2a])?_0x1fcd35([0x2a]):'')[_0x1fcd35([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4633b5))[_0x1fcd35([0x73,0x6f,0x6d,0x65])](_0x5e59ee=>_0x4a0a77[_0x1fcd35([0x65,0x76,0x65,0x72,0x79])]((_0x45e3f4,_0x1877e5)=>_0x5e59ee[_0x1877e5]===_0x45e3f4||_0x5e59ee[_0x1877e5]===_0x1fcd35([0x2a])));}function _0x307526(){return _0x433184&&_0x3a38f6?new window[(_0x1fcd35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5dba4f,_0x1c5854)=>{_0x433184[_0x1fcd35([0x74,0x68,0x65,0x6e])](_0x5dba4f,_0x1c5854),_0x3a38f6[_0x1fcd35([0x74,0x68,0x65,0x6e])](_0xbd29e4=>{_0xbd29e4!=_0x1fcd35([0x56,0x61,0x6c,0x69,0x64])&&_0x5dba4f(_0xbd29e4);},_0x1c5854);}):_0x433184||_0x3a38f6||_0x1fcd35([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3679fe(_0x9628b5,_0x2ee424){return new window[(_0x1fcd35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14bb71=>{if(_0x3b41c9())return _0x14bb71(_0x1fcd35([0x56,0x61,0x6c,0x69,0x64]));_0x6f0bbf(),_0x2ac34d[_0x1fcd35([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fcd35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d5b04=!0x1;const _0x2cdb46=_0x8e1096();function _0x19f036(_0x2d7c89){return!!_0x2d7c89&&(typeof _0x2d7c89===_0x1fcd35([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d7c89===_0x1fcd35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d7c89[_0x1fcd35([0x74,0x68,0x65,0x6e])]===_0x1fcd35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d7c89[_0x1fcd35([0x63,0x61,0x74,0x63,0x68])]===_0x1fcd35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3634c3(_0x21a6bc){_0x461366(_0x21a6bc)[_0x1fcd35([0x74,0x68,0x65,0x6e])](_0x4ce4b0=>{if(!_0x4ce4b0||_0x4ce4b0[_0x1fcd35([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fcd35([0x6f,0x6b]))return _0x1fcd35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x965581(_0x261054(_0x2cdb46+_0x2ee424))!=_0x4ce4b0[_0x1fcd35([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fcd35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fcd35([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fcd35([0x74,0x68,0x65,0x6e])](_0x783269=>(_0x901b46(),_0x783269),()=>{const _0x5e40d3=_0x132499();return null==_0x5e40d3?(_0x901b46(),_0x1fcd35([0x56,0x61,0x6c,0x69,0x64])):_0x1fcd35(_0x1e86c5-_0x5e40d3>(0x4f03da6f^_0x2a77ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fcd35([0x74,0x68,0x65,0x6e])](_0x14bb71)[_0x1fcd35([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14bb71(_0x1fcd35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b32d2=0x6b39b0ef^_0x2a77ac;function _0x901b46(){const _0x41c522=_0x1fcd35([0x6c,0x6c,0x63,0x74,0x2d])+_0x965581(_0x261054(_0x9628b5)),_0x2e5ab2=_0x51a8a7(_0x965581(window[_0x1fcd35([0x4d,0x61,0x74,0x68])][_0x1fcd35([0x63,0x65,0x69,0x6c])](_0x1e86c5/_0x3b32d2)));window[_0x1fcd35([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fcd35([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41c522,_0x2e5ab2);}function _0x132499(){const _0x2848db=_0x1fcd35([0x6c,0x6c,0x63,0x74,0x2d])+_0x965581(_0x261054(_0x9628b5)),_0x4edfe9=window[_0x1fcd35([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fcd35([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2848db);return _0x4edfe9?window[_0x1fcd35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51a8a7(_0x4edfe9),0x10)*_0x3b32d2:null;}function _0x461366(_0x3fba6a){return new window[(_0x1fcd35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd3881e,_0x2561ba)=>{_0x3fba6a[_0x1fcd35([0x74,0x68,0x65,0x6e])](_0xd3881e,_0x2561ba),window[_0x1fcd35([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2561ba,0x6b0e8aaf^_0x2a77ac);});}}_0x2ac34d[_0x1fcd35([0x6f,0x6e])](_0x1fcd35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15320b,_0x1fc9b2)=>{if(_0x1fc9b2[0x0]!=_0x9628b5)return _0x14bb71(_0x1fcd35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fc9b2[0x1]={..._0x1fc9b2[0x1],[_0x1fcd35([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cdb46};},{[_0x1fcd35([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fcd35([0x68,0x69,0x67,0x68])}),_0x2ac34d[_0x1fcd35([0x6f,0x6e])](_0x1fcd35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3276a5=>{_0x19f036(_0x3276a5[_0x1fcd35([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d5b04=!0x0,_0x3634c3(_0x3276a5[_0x1fcd35([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fcd35([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fcd35([0x6c,0x6f,0x77])}),_0x40a537[_0x1fcd35([0x74,0x68,0x65,0x6e])](()=>{_0x4d5b04||_0x14bb71(_0x1fcd35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b41c9(){return _0x2ac34d[_0x1fcd35([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fcd35([0x76,0x69,0x65,0x77])][_0x1fcd35([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fcd35([0x61,0x75,0x74,0x6f]);}function _0x6f0bbf(){_0x2ac34d[_0x1fcd35([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fcd35([0x76,0x69,0x65,0x77])][_0x1fcd35([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fcd35([0x61,0x75,0x74,0x6f]);}}function _0x315c56(_0x60158e){const _0x177b77=[new window[(_0x1fcd35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x156f0f=>setTimeout(_0x156f0f,0x6b0660a3^_0x2a77ac)),_0x40a537[_0x1fcd35([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fcd35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x397ca5=>{let _0x50d9f2=0x0;_0x2ac34d[_0x1fcd35([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fcd35([0x6f,0x6e])](_0x1fcd35([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c1757,_0x399118)=>{_0x399118[0x0][_0x1fcd35([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50d9f2++,_0x50d9f2==(0x6b0f5b87^_0x2a77ac)&&(_0x397ca5(),_0x2c1757[_0x1fcd35([0x6f,0x66,0x66])]());});}))];return window[_0x1fcd35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fcd35([0x72,0x61,0x63,0x65])](_0x177b77)[_0x1fcd35([0x74,0x68,0x65,0x6e])](()=>_0x60158e);}async function _0x1a2e9d(){await _0x40a537,_0x2ac34d[_0x1fcd35([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fcd35([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5315fb,_0x2ac34d[_0x1fcd35([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fcd35([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5315fb,_0x2ac34d[_0x1fcd35([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fcd35([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c008e(){return window[_0x1fcd35([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x32d505(){return window[_0x1fcd35([0x67,0x6c,0x6f,0x62])]&&window[_0x1fcd35([0x67,0x6c,0x6f,0x62])][_0x1fcd35([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4721c4(_0x256435){const _0x5df342=_0x38f97c();_0x2ac34d[_0x5df342]=_0x1fcd35([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x256435,_0x256435!=_0x1fcd35([0x56,0x61,0x6c,0x69,0x64])&&_0x1a2e9d();}function _0x38f97c(){const _0x4cf443=window[_0x1fcd35([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fcd35([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fcd35([0x6e,0x6f,0x77])]())[_0x1fcd35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fcd35([0x2e]),'');let _0x243f2c=_0x1fcd35([0x67]);for(let _0x68b608=0x0;_0x68b608<_0x4cf443[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x68b608+=0x2){let _0x8b7b39=window[_0x1fcd35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cf443[_0x1fcd35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x68b608,_0x68b608+0x2));_0x8b7b39>=_0x5b3a42[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8b7b39-=_0x5b3a42[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x243f2c+=_0x5b3a42[_0x8b7b39];}return _0x243f2c;}function _0x5a9abe(){const _0x272f2b=_0x19d38d[_0x1fcd35([0x73,0x70,0x6c,0x69,0x74])](_0x1fcd35([0x2e]));if(0x3!=_0x272f2b[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x166c80(_0x272f2b[0x1]);function _0x166c80(_0x4d4cb5){const _0x3b7d44=_0xf9f80f(_0x4d4cb5);return _0x3b7d44&&_0x50b8ea()?_0x3b7d44:null;function _0x50b8ea(){const _0x305e1f=_0x3b7d44[_0x1fcd35([0x6a,0x74,0x69])],_0x95bdbd=window[_0x1fcd35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x305e1f[_0x1fcd35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x305e1f[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3aa0fb={..._0x3b7d44,[_0x1fcd35([0x6a,0x74,0x69])]:_0x305e1f[_0x1fcd35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x305e1f[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3aa0fb[_0x1fcd35([0x76,0x63])],_0x261054(_0x3aa0fb)==_0x95bdbd;}}}async function _0x28d076(){let _0x222626=!0x0;try{const _0x2dec3b=_0x19d38d[_0x1fcd35([0x73,0x70,0x6c,0x69,0x74])](_0x1fcd35([0x2e])),[_0x5be04,_0x45c1c1,_0x3e3159]=_0x2dec3b;return _0x12999c(_0x5be04),await _0xa68d2b(_0x5be04,_0x45c1c1,_0x3e3159),_0x222626;}catch{return!0x1;}function _0x12999c(_0x5bec84){const _0x20a94a=_0xf9f80f(_0x5bec84);_0x20a94a&&_0x20a94a[_0x1fcd35([0x61,0x6c,0x67])]==_0x1fcd35([0x45,0x53,0x32,0x35,0x36])||(_0x222626=!0x1);}async function _0xa68d2b(_0x17e51b,_0x5f1d0e,_0x303700){const _0x3bb67e=window[_0x1fcd35([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fcd35([0x66,0x72,0x6f,0x6d])](_0x4d7744(_0x303700),_0x413526=>_0x413526[_0x1fcd35([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x324bac=new window[(_0x1fcd35([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fcd35([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17e51b+_0x1fcd35([0x2e])+_0x5f1d0e),_0x4b5f4a=window[_0x1fcd35([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fcd35([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b5f4a)return;const _0x2bf17c=await _0x4b5f4a[_0x1fcd35([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fcd35([0x6a,0x77,0x6b]),_0x4637c1,{[_0x1fcd35([0x6e,0x61,0x6d,0x65])]:_0x1fcd35([0x45,0x43,0x44,0x53,0x41]),[_0x1fcd35([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fcd35([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fcd35([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b5f4a[_0x1fcd35([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fcd35([0x6e,0x61,0x6d,0x65])]:_0x1fcd35([0x45,0x43,0x44,0x53,0x41]),[_0x1fcd35([0x68,0x61,0x73,0x68])]:{[_0x1fcd35([0x6e,0x61,0x6d,0x65])]:_0x1fcd35([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2bf17c,_0x3bb67e,_0x324bac)||(_0x222626=!0x1);}}function _0xf9f80f(_0x3b0c40){return _0x3b0c40[_0x1fcd35([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fcd35([0x65,0x79]))?JSON[_0x1fcd35([0x70,0x61,0x72,0x73,0x65])](_0x4d7744(_0x3b0c40)):null;}function _0x4d7744(_0x2592ca){return window[_0x1fcd35([0x61,0x74,0x6f,0x62])](_0x2592ca[_0x1fcd35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fcd35([0x2b]))[_0x1fcd35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fcd35([0x2f])));}function _0x261054(_0x5c9c68){let _0x2313df=0x1505;function _0x594e53(_0x4419b0){for(let _0x45098a=0x0;_0x45098a<_0x4419b0[_0x1fcd35([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45098a++){const _0x56c44f=_0x4419b0[_0x1fcd35([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45098a);_0x2313df=(_0x2313df<<0x5)+_0x2313df+_0x56c44f,_0x2313df&=_0x2313df;}}function _0x2dd9b9(_0x1a30b8){Array[_0x1fcd35([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a30b8)?_0x1a30b8[_0x1fcd35([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dd9b9):_0x1a30b8&&typeof _0x1a30b8==_0x1fcd35([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fcd35([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a30b8)[_0x1fcd35([0x73,0x6f,0x72,0x74])]()[_0x1fcd35([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e565c,_0x1eebe5])=>{_0x594e53(_0x3e565c),_0x2dd9b9(_0x1eebe5);}):_0x594e53(window[_0x1fcd35([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a30b8));}return _0x2dd9b9(_0x5c9c68),_0x2313df>>>0x0;}function _0x965581(_0x75c8f7){return _0x75c8f7[_0x1fcd35([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fcd35([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fcd35([0x30]));}function _0x51a8a7(_0x19ecbd){return _0x19ecbd[_0x1fcd35([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fcd35([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fcd35([0x6a,0x6f,0x69,0x6e])]('');}function _0x5315fb(){}function _0x1fcd35(_0x16d7dd){const _0x1fe01f=_0x2adc;return _0x16d7dd[_0x1fe01f(0x1fe)](_0x5aa4e5=>String[_0x1fe01f(0x21c)](_0x5aa4e5))[_0x1fe01f(0x1e3)]('');}_0x4721c4(await _0x4f5c62());}(this);}[_0x38b4d9(0x1f6)](_0x5c1045,_0xeb412){const _0x532c26=_0x38b4d9,{editor:_0x402922}=this,_0x3f118c=new _0x480687(_0x5c1045);return _0x3f118c[_0x532c26(0x210)]({'attributes':{'role':_0x532c26(0x206),'class':[_0x532c26(0x20f)]}}),_0x3f118c[_0x532c26(0x1f5)][_0x532c26(0x1ff)](_0xeb412[_0x532c26(0x1fe)]((_0x4f500a,_0x3d882e)=>{const _0x1d1f78=_0x532c26,_0x3367d4=new _0x27da31(_0x5c1045,_0x3d882e),_0x27f154=new _0x10c5b1(_0x5c1045,_0x4f500a);return _0x3367d4[_0x1d1f78(0x214)]=_0x27f154,_0x3367d4[_0x1d1f78(0x1f8)][_0x1d1f78(0x1f3)](_0x27f154),_0x3367d4[_0x1d1f78(0x214)]['on'](_0x1d1f78(0x1e8),_0x2890b7=>{const _0x58ce3c=_0x1d1f78;_0x402922[_0x58ce3c(0x1e8)](_0x58ce3c(0x203),_0x2890b7[_0x58ce3c(0x219)][_0x58ce3c(0x1ef)][_0x58ce3c(0x1f0)]),_0x402922[_0x58ce3c(0x21b)][_0x58ce3c(0x209)][_0x58ce3c(0x225)]();}),_0x3367d4;})),_0x3f118c;}}
|
|
23
|
+
const _0x16423c=_0x90aa;(function(_0xc98ca6,_0x585866){const _0xc75d90=_0x90aa,_0x3b012f=_0xc98ca6();while(!![]){try{const _0x510681=parseInt(_0xc75d90(0x14c))/0x1*(-parseInt(_0xc75d90(0x150))/0x2)+parseInt(_0xc75d90(0x134))/0x3*(-parseInt(_0xc75d90(0x154))/0x4)+-parseInt(_0xc75d90(0x15c))/0x5*(parseInt(_0xc75d90(0x12c))/0x6)+-parseInt(_0xc75d90(0x12b))/0x7+parseInt(_0xc75d90(0x143))/0x8*(parseInt(_0xc75d90(0x163))/0x9)+parseInt(_0xc75d90(0x155))/0xa+parseInt(_0xc75d90(0x128))/0xb*(parseInt(_0xc75d90(0x138))/0xc);if(_0x510681===_0x585866)break;else _0x3b012f['push'](_0x3b012f['shift']());}catch(_0x3cca5e){_0x3b012f['push'](_0x3b012f['shift']());}}}(_0x1790,0xa37ac));import{Plugin as _0x4b9f74}from'ckeditor5/src/core.js';import{IconTemplate as _0x3e4e77,IconTemplateGeneric as _0x19f400}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x12b34d,MenuBarMenuListItemView as _0x3c7728,MenuBarMenuListView as _0x1341fe,MenuBarMenuView as _0xce4c7a,SearchTextView as _0x1caa5c,createDropdown as _0x316490}from'ckeditor5/src/ui.js';import{uid as _0x12460c}from'ckeditor5/src/utils.js';import{TemplateListView as _0x417f42}from'./ui/templatelistview.js';import{TemplateListItemView as _0x39fd1c}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x58a404}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x561162}from'./utils/common-translations.js';function _0x90aa(_0x46887a,_0x4a651d){const _0x1790ab=_0x1790();return _0x90aa=function(_0x90aa5f,_0xf78875){_0x90aa5f=_0x90aa5f-0x128;let _0x3dd276=_0x1790ab[_0x90aa5f];return _0x3dd276;},_0x90aa(_0x46887a,_0x4a651d);}import'../theme/template.css';export class TemplateUI extends _0x4b9f74{static get[_0x16423c(0x13d)](){const _0x5dce87=_0x16423c;return _0x5dce87(0x164);}static get[_0x16423c(0x12a)](){return!0x0;}static get[_0x16423c(0x13e)](){return!0x0;}[_0x16423c(0x15e)](){const _0x4417c9=_0x16423c,{editor:_0x217928}=this,_0x1c7a97=_0x217928[_0x4417c9(0x144)][_0x4417c9(0x12d)](_0x4417c9(0x15b))||[];_0x217928['ui'][_0x4417c9(0x160)][_0x4417c9(0x15a)](_0x4417c9(0x159),_0x1c57d1=>{const _0x3ec5cf=_0x4417c9,_0x19b166=_0x316490(_0x1c57d1),_0x3d7e11=this[_0x3ec5cf(0x130)](_0x1c57d1,_0x1c7a97),_0x35e912=new _0x1caa5c(_0x1c57d1,{'filteredView':_0x3d7e11,'queryView':{'label':_0x561162(_0x1c57d1,_0x3ec5cf(0x15d))},'class':_0x3ec5cf(0x142),'infoView':{'text':{'notFound':{'primary':_0x7d6739=>_0x561162(_0x1c57d1,_0x3ec5cf(0x157),_0x7d6739),'secondary':_0x561162(_0x1c57d1,_0x3ec5cf(0x135))},'noSearchableItems':{'primary':_0x561162(_0x1c57d1,_0x3ec5cf(0x146))}}}}),_0x5a2ea1=_0x217928[_0x3ec5cf(0x12e)][_0x3ec5cf(0x12d)](_0x3ec5cf(0x159));return _0x35e912['on'](_0x3ec5cf(0x13c),(_0x19e4f8,_0xcb9e87)=>{const _0x3bb4f4=_0x3ec5cf;_0xcb9e87[_0x3bb4f4(0x14d)]&&_0xcb9e87[_0x3bb4f4(0x14d)][_0x3bb4f4(0x14e)]&&_0x217928['ui'][_0x3bb4f4(0x140)][_0x3bb4f4(0x139)](_0x561162(_0x1c57d1,_0x3bb4f4(0x129),_0xcb9e87[_0x3bb4f4(0x147)]));}),_0x19b166[_0x3ec5cf(0x167)](_0x3ec5cf(0x13a))['to'](_0x5a2ea1),_0x19b166[_0x3ec5cf(0x14b)][_0x3ec5cf(0x13f)][_0x3ec5cf(0x15a)](_0x35e912),_0x19b166[_0x3ec5cf(0x131)][_0x3ec5cf(0x14a)]({'label':_0x561162(_0x1c57d1,_0x3ec5cf(0x16b)),'icon':_0x3e4e77,'tooltip':!0x0}),_0x19b166['on'](_0x3ec5cf(0x156),(_0x2f1e22,_0x379fc2,_0x1292d4)=>{const _0x482f9a=_0x3ec5cf;_0x1292d4||_0x35e912[_0x482f9a(0x151)]();}),_0x19b166;}),_0x217928['ui'][_0x4417c9(0x160)][_0x4417c9(0x15a)](_0x4417c9(0x161),_0x25a116=>{const _0x4aadc5=_0x4417c9,_0x1a9094=_0x217928[_0x4aadc5(0x12e)][_0x4aadc5(0x12d)](_0x4aadc5(0x159)),_0x55bce2=new _0xce4c7a(_0x25a116);_0x55bce2[_0x4aadc5(0x131)][_0x4aadc5(0x14a)]({'label':_0x561162(_0x25a116,_0x4aadc5(0x158)),'icon':_0x3e4e77});const _0x58dd62=new _0x1341fe(_0x25a116);if(!_0x1c7a97||!_0x1c7a97[_0x4aadc5(0x14e)]){const _0x1cfd00=new _0x3c7728(_0x25a116,_0x55bce2),_0x3e37fa=new _0x12b34d(_0x25a116);_0x3e37fa[_0x4aadc5(0x14a)]({'label':_0x561162(_0x25a116,_0x4aadc5(0x146))}),_0x3e37fa[_0x4aadc5(0x13b)](_0x4aadc5(0x148))['to'](_0x55bce2),_0x3e37fa['on'](_0x4aadc5(0x148),()=>{const _0x1d59b5=_0x4aadc5;_0x217928[_0x1d59b5(0x169)][_0x1d59b5(0x14f)][_0x1d59b5(0x141)]();}),_0x1cfd00[_0x4aadc5(0x13f)][_0x4aadc5(0x15a)](_0x3e37fa),_0x58dd62[_0x4aadc5(0x162)][_0x4aadc5(0x15a)](_0x1cfd00);}for(const _0x430692 of _0x1c7a97){const _0x477c11=new _0x3c7728(_0x25a116,_0x55bce2),_0x14c4dc=new _0x12b34d(_0x25a116);_0x14c4dc[_0x4aadc5(0x14a)]({'class':_0x4aadc5(0x165),'label':_0x430692[_0x4aadc5(0x149)],'icon':_0x430692[_0x4aadc5(0x145)]||_0x19f400}),_0x14c4dc[_0x4aadc5(0x13b)](_0x4aadc5(0x148))['to'](_0x55bce2),_0x14c4dc['on'](_0x4aadc5(0x148),()=>{const _0x2fe230=_0x4aadc5;_0x217928[_0x2fe230(0x148)](_0x2fe230(0x159),_0x430692[_0x2fe230(0x166)]),_0x217928[_0x2fe230(0x169)][_0x2fe230(0x14f)][_0x2fe230(0x141)]();}),_0x477c11[_0x4aadc5(0x13f)][_0x4aadc5(0x15a)](_0x14c4dc),_0x58dd62[_0x4aadc5(0x162)][_0x4aadc5(0x15a)](_0x477c11);}return _0x55bce2[_0x4aadc5(0x14b)][_0x4aadc5(0x13f)][_0x4aadc5(0x15a)](_0x58dd62),_0x55bce2[_0x4aadc5(0x167)](_0x4aadc5(0x13a))['to'](_0x1a9094,_0x4aadc5(0x13a)),_0x55bce2;});}[_0x16423c(0x136)](){!async function(_0x4e995a){const _0x29a6b1=_0x4c4ab0([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x39b1a7=0x6b0f5e6f,_0x145e83=0x6b08d67f^_0x39b1a7,_0x5abf18=window[_0x4c4ab0([0x44,0x61,0x74,0x65])][_0x4c4ab0([0x6e,0x6f,0x77])](),_0x36df3c=_0x4e995a[_0x4c4ab0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5cdc7d=new window[(_0x4c4ab0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b0213=>{_0x36df3c[_0x4c4ab0([0x6f,0x6e,0x63,0x65])](_0x4c4ab0([0x72,0x65,0x61,0x64,0x79]),_0x1b0213);}),_0x2ec960={[_0x4c4ab0([0x6b,0x74,0x79])]:_0x4c4ab0([0x45,0x43]),[_0x4c4ab0([0x75,0x73,0x65])]:_0x4c4ab0([0x73,0x69,0x67]),[_0x4c4ab0([0x63,0x72,0x76])]:_0x4c4ab0([0x50,0x2d,0x32,0x35,0x36]),[_0x4c4ab0([0x78])]:_0x4c4ab0([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]),[_0x4c4ab0([0x79])]:_0x4c4ab0([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]),[_0x4c4ab0([0x61,0x6c,0x67])]:_0x4c4ab0([0x45,0x53,0x32,0x35,0x36])},_0x410482=_0x36df3c[_0x4c4ab0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c4ab0([0x67,0x65,0x74])](_0x4c4ab0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3863d3(){let _0x89a7d9,_0x398217=null,_0x2609f0=null;try{if(_0x410482==_0x4c4ab0([0x47,0x50,0x4c]))return _0x4c4ab0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x89a7d9=_0x440415(),!_0x89a7d9)return _0x4c4ab0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x89a7d9[_0x4c4ab0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2609f0=_0x2ce00a(_0x89a7d9[_0x4c4ab0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x89a7d9[_0x4c4ab0([0x6a,0x74,0x69])])),await _0x2fa35f()?_0x1d3e51()?_0x11cfc2()?_0x4c4ab0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1db7e8()?(_0x89a7d9[_0x4c4ab0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c4ab0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x398217=_0x18c535(_0x4c4ab0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a32fb()):_0x4c4ab0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c4ab0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c4ab0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c4ab0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11cfc2(){const _0x5b957a=[_0x4c4ab0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c4ab0([0x74,0x72,0x69,0x61,0x6c])][_0x4c4ab0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x89a7d9[_0x4c4ab0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5abf18/0x3e8:0xe10*_0x145e83;return _0x89a7d9[_0x4c4ab0([0x65,0x78,0x70])]<_0x5b957a;}function _0x1d3e51(){const _0xc60b2d=_0x89a7d9[_0x4c4ab0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xc60b2d&&(!!_0xc60b2d[_0x4c4ab0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c4ab0([0x2a]))||(!!_0xc60b2d[_0x4c4ab0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c4ab0([0x54,0x50,0x4c]))||(!!_0xc60b2d[_0x4c4ab0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c4ab0([0x50,0x50]))||(!(!_0xc60b2d[_0x4c4ab0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c4ab0([0x44,0x52,0x55,0x50]))||!_0x39beb2())||!(!_0xc60b2d[_0x4c4ab0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c4ab0([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x56eab7())))));}function _0x1db7e8(){const _0x1e4e99=_0x90aa,_0x3a3030=_0x89a7d9[_0x4c4ab0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a3030||0x0==_0x3a3030[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22a9eb}=new URL(window[_0x4c4ab0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1e4e99(0x137)]);if(_0x3a3030[_0x4c4ab0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22a9eb))return!0x0;const _0x294e33=_0x22a9eb[_0x4c4ab0([0x73,0x70,0x6c,0x69,0x74])](_0x4c4ab0([0x2e]));return _0x3a3030[_0x4c4ab0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30cfb4=>_0x30cfb4[_0x4c4ab0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c4ab0([0x2a])))[_0x4c4ab0([0x6d,0x61,0x70])](_0x3b1436=>_0x3b1436[_0x4c4ab0([0x73,0x70,0x6c,0x69,0x74])](_0x4c4ab0([0x2e])))[_0x4c4ab0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e17a4=>_0x1e17a4[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x294e33[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c4ab0([0x6d,0x61,0x70])](_0x40f78c=>Array(_0x294e33[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x40f78c[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c4ab0([0x66,0x69,0x6c,0x6c])](_0x40f78c[0x0]===_0x4c4ab0([0x2a])?_0x4c4ab0([0x2a]):'')[_0x4c4ab0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x40f78c))[_0x4c4ab0([0x73,0x6f,0x6d,0x65])](_0x4e0141=>_0x294e33[_0x4c4ab0([0x65,0x76,0x65,0x72,0x79])]((_0x2f3483,_0x12af88)=>_0x4e0141[_0x12af88]===_0x2f3483||_0x4e0141[_0x12af88]===_0x4c4ab0([0x2a])));}function _0x5a32fb(){return _0x398217&&_0x2609f0?new window[(_0x4c4ab0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe02695,_0x5a7034)=>{_0x398217[_0x4c4ab0([0x74,0x68,0x65,0x6e])](_0xe02695,_0x5a7034),_0x2609f0[_0x4c4ab0([0x74,0x68,0x65,0x6e])](_0xcafc22=>{_0xcafc22!=_0x4c4ab0([0x56,0x61,0x6c,0x69,0x64])&&_0xe02695(_0xcafc22);},_0x5a7034);}):_0x398217||_0x2609f0||_0x4c4ab0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ce00a(_0x56c7cc,_0x3141f1){return new window[(_0x4c4ab0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x223f46=>{if(_0x3aac20())return _0x223f46(_0x4c4ab0([0x56,0x61,0x6c,0x69,0x64]));_0x345398(),_0x36df3c[_0x4c4ab0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c4ab0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x189d4f=!0x1;const _0xa8b581=_0x12460c();function _0x515c1e(_0x4bb432){return!!_0x4bb432&&(typeof _0x4bb432===_0x4c4ab0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4bb432===_0x4c4ab0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4bb432[_0x4c4ab0([0x74,0x68,0x65,0x6e])]===_0x4c4ab0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4bb432[_0x4c4ab0([0x63,0x61,0x74,0x63,0x68])]===_0x4c4ab0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5bc8b1(_0x39736d){_0x59a5ae(_0x39736d)[_0x4c4ab0([0x74,0x68,0x65,0x6e])](_0x91657c=>{if(!_0x91657c||_0x91657c[_0x4c4ab0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c4ab0([0x6f,0x6b]))return _0x4c4ab0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41e738(_0x2cbfa7(_0xa8b581+_0x3141f1))!=_0x91657c[_0x4c4ab0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c4ab0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c4ab0([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c4ab0([0x74,0x68,0x65,0x6e])](_0x4ff006=>(_0x4a71d0(),_0x4ff006),()=>{const _0x442fc2=_0xf2ddd6();return null==_0x442fc2?(_0x4a71d0(),_0x4c4ab0([0x56,0x61,0x6c,0x69,0x64])):_0x4c4ab0(_0x5abf18-_0x442fc2>(0x4f03da6f^_0x39b1a7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c4ab0([0x74,0x68,0x65,0x6e])](_0x223f46)[_0x4c4ab0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x223f46(_0x4c4ab0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x21e965=0x6b39b0ef^_0x39b1a7;function _0x4a71d0(){const _0x36335a=_0x4c4ab0([0x6c,0x6c,0x63,0x74,0x2d])+_0x41e738(_0x2cbfa7(_0x56c7cc)),_0x3a167e=_0x3f95dd(_0x41e738(window[_0x4c4ab0([0x4d,0x61,0x74,0x68])][_0x4c4ab0([0x63,0x65,0x69,0x6c])](_0x5abf18/_0x21e965)));window[_0x4c4ab0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c4ab0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36335a,_0x3a167e);}function _0xf2ddd6(){const _0x55c562=_0x4c4ab0([0x6c,0x6c,0x63,0x74,0x2d])+_0x41e738(_0x2cbfa7(_0x56c7cc)),_0x344f6a=window[_0x4c4ab0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c4ab0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55c562);return _0x344f6a?window[_0x4c4ab0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f95dd(_0x344f6a),0x10)*_0x21e965:null;}function _0x59a5ae(_0x4b4f49){return new window[(_0x4c4ab0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33ef20,_0x490c84)=>{_0x4b4f49[_0x4c4ab0([0x74,0x68,0x65,0x6e])](_0x33ef20,_0x490c84),window[_0x4c4ab0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x490c84,0x6b0e8aaf^_0x39b1a7);});}}_0x36df3c[_0x4c4ab0([0x6f,0x6e])](_0x4c4ab0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b89a4,_0x5e1064)=>{if(_0x5e1064[0x0]!=_0x56c7cc)return _0x223f46(_0x4c4ab0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e1064[0x1]={..._0x5e1064[0x1],[_0x4c4ab0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa8b581};},{[_0x4c4ab0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c4ab0([0x68,0x69,0x67,0x68])}),_0x36df3c[_0x4c4ab0([0x6f,0x6e])](_0x4c4ab0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34bde2=>{_0x515c1e(_0x34bde2[_0x4c4ab0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x189d4f=!0x0,_0x5bc8b1(_0x34bde2[_0x4c4ab0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c4ab0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c4ab0([0x6c,0x6f,0x77])}),_0x5cdc7d[_0x4c4ab0([0x74,0x68,0x65,0x6e])](()=>{_0x189d4f||_0x223f46(_0x4c4ab0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3aac20(){return _0x36df3c[_0x4c4ab0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c4ab0([0x76,0x69,0x65,0x77])][_0x4c4ab0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c4ab0([0x61,0x75,0x74,0x6f]);}function _0x345398(){_0x36df3c[_0x4c4ab0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c4ab0([0x76,0x69,0x65,0x77])][_0x4c4ab0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c4ab0([0x61,0x75,0x74,0x6f]);}}function _0x18c535(_0x4a8387){const _0x297ecc=[new window[(_0x4c4ab0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fe534=>setTimeout(_0x3fe534,0x6b0660a3^_0x39b1a7)),_0x5cdc7d[_0x4c4ab0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c4ab0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d1043=>{let _0xb88268=0x0;_0x36df3c[_0x4c4ab0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c4ab0([0x6f,0x6e])](_0x4c4ab0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x66c5c4,_0x33653b)=>{_0x33653b[0x0][_0x4c4ab0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb88268++,_0xb88268==(0x6b0f5b87^_0x39b1a7)&&(_0x3d1043(),_0x66c5c4[_0x4c4ab0([0x6f,0x66,0x66])]());});}))];return window[_0x4c4ab0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c4ab0([0x72,0x61,0x63,0x65])](_0x297ecc)[_0x4c4ab0([0x74,0x68,0x65,0x6e])](()=>_0x4a8387);}async function _0x39008f(){await _0x5cdc7d,_0x36df3c[_0x4c4ab0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c4ab0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fbbaa,_0x36df3c[_0x4c4ab0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c4ab0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fbbaa,_0x36df3c[_0x4c4ab0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c4ab0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39beb2(){return window[_0x4c4ab0([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x56eab7(){return window[_0x4c4ab0([0x67,0x6c,0x6f,0x62])]&&window[_0x4c4ab0([0x67,0x6c,0x6f,0x62])][_0x4c4ab0([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x314712(_0x2c6938){const _0x4e7841=_0x37f775();_0x36df3c[_0x4e7841]=_0x4c4ab0([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c6938,_0x2c6938!=_0x4c4ab0([0x56,0x61,0x6c,0x69,0x64])&&_0x39008f();}function _0x37f775(){const _0x947dcf=window[_0x4c4ab0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c4ab0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c4ab0([0x6e,0x6f,0x77])]())[_0x4c4ab0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c4ab0([0x2e]),'');let _0x6b470b=_0x4c4ab0([0x67]);for(let _0x1fb3be=0x0;_0x1fb3be<_0x947dcf[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fb3be+=0x2){let _0x50bf34=window[_0x4c4ab0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x947dcf[_0x4c4ab0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fb3be,_0x1fb3be+0x2));_0x50bf34>=_0x29a6b1[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50bf34-=_0x29a6b1[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6b470b+=_0x29a6b1[_0x50bf34];}return _0x6b470b;}function _0x440415(){const _0x1028d0=_0x410482[_0x4c4ab0([0x73,0x70,0x6c,0x69,0x74])](_0x4c4ab0([0x2e]));if(0x3!=_0x1028d0[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x962663(_0x1028d0[0x1]);function _0x962663(_0x5aebb3){const _0x1c6b08=_0x5dd154(_0x5aebb3);return _0x1c6b08&&_0x5a7c34()?_0x1c6b08:null;function _0x5a7c34(){const _0x1110cb=_0x1c6b08[_0x4c4ab0([0x6a,0x74,0x69])],_0x531dcb=window[_0x4c4ab0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1110cb[_0x4c4ab0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1110cb[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e0beb={..._0x1c6b08,[_0x4c4ab0([0x6a,0x74,0x69])]:_0x1110cb[_0x4c4ab0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1110cb[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e0beb[_0x4c4ab0([0x76,0x63])],_0x2cbfa7(_0x1e0beb)==_0x531dcb;}}}async function _0x2fa35f(){let _0x4fb7e9=!0x0;try{const _0x2909a0=_0x410482[_0x4c4ab0([0x73,0x70,0x6c,0x69,0x74])](_0x4c4ab0([0x2e])),[_0x4707d7,_0x460e3b,_0x5ed461]=_0x2909a0;return _0x552a6b(_0x4707d7),await _0x34ef9c(_0x4707d7,_0x460e3b,_0x5ed461),_0x4fb7e9;}catch{return!0x1;}function _0x552a6b(_0x64b663){const _0x544898=_0x5dd154(_0x64b663);_0x544898&&_0x544898[_0x4c4ab0([0x61,0x6c,0x67])]==_0x4c4ab0([0x45,0x53,0x32,0x35,0x36])||(_0x4fb7e9=!0x1);}async function _0x34ef9c(_0x4fc1f3,_0x2290c7,_0x28eed5){const _0xe9a6c5=window[_0x4c4ab0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c4ab0([0x66,0x72,0x6f,0x6d])](_0x21b04f(_0x28eed5),_0x1e6b0f=>_0x1e6b0f[_0x4c4ab0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5980f5=new window[(_0x4c4ab0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c4ab0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4fc1f3+_0x4c4ab0([0x2e])+_0x2290c7),_0xec10b8=window[_0x4c4ab0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c4ab0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xec10b8)return;const _0x181d79=await _0xec10b8[_0x4c4ab0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c4ab0([0x6a,0x77,0x6b]),_0x2ec960,{[_0x4c4ab0([0x6e,0x61,0x6d,0x65])]:_0x4c4ab0([0x45,0x43,0x44,0x53,0x41]),[_0x4c4ab0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c4ab0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c4ab0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xec10b8[_0x4c4ab0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c4ab0([0x6e,0x61,0x6d,0x65])]:_0x4c4ab0([0x45,0x43,0x44,0x53,0x41]),[_0x4c4ab0([0x68,0x61,0x73,0x68])]:{[_0x4c4ab0([0x6e,0x61,0x6d,0x65])]:_0x4c4ab0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x181d79,_0xe9a6c5,_0x5980f5)||(_0x4fb7e9=!0x1);}}function _0x5dd154(_0x4a42fe){return _0x4a42fe[_0x4c4ab0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c4ab0([0x65,0x79]))?JSON[_0x4c4ab0([0x70,0x61,0x72,0x73,0x65])](_0x21b04f(_0x4a42fe)):null;}function _0x21b04f(_0x1b8b2d){return window[_0x4c4ab0([0x61,0x74,0x6f,0x62])](_0x1b8b2d[_0x4c4ab0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c4ab0([0x2b]))[_0x4c4ab0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c4ab0([0x2f])));}function _0x2cbfa7(_0x2cc6c9){let _0x5bbe19=0x1505;function _0x188829(_0x447b75){for(let _0x2e5fac=0x0;_0x2e5fac<_0x447b75[_0x4c4ab0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e5fac++){const _0x510d55=_0x447b75[_0x4c4ab0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e5fac);_0x5bbe19=(_0x5bbe19<<0x5)+_0x5bbe19+_0x510d55,_0x5bbe19&=_0x5bbe19;}}function _0x5f5c88(_0x22b7af){Array[_0x4c4ab0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22b7af)?_0x22b7af[_0x4c4ab0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f5c88):_0x22b7af&&typeof _0x22b7af==_0x4c4ab0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c4ab0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22b7af)[_0x4c4ab0([0x73,0x6f,0x72,0x74])]()[_0x4c4ab0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d0825,_0x49a937])=>{_0x188829(_0x4d0825),_0x5f5c88(_0x49a937);}):_0x188829(window[_0x4c4ab0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22b7af));}return _0x5f5c88(_0x2cc6c9),_0x5bbe19>>>0x0;}function _0x41e738(_0x1fd248){return _0x1fd248[_0x4c4ab0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c4ab0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c4ab0([0x30]));}function _0x3f95dd(_0x5194de){return _0x5194de[_0x4c4ab0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c4ab0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c4ab0([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fbbaa(){}function _0x4c4ab0(_0x1137ec){const _0x40e231=_0x90aa;return _0x1137ec[_0x40e231(0x153)](_0x579520=>String[_0x40e231(0x168)](_0x579520))[_0x40e231(0x132)]('');}_0x314712(await _0x3863d3());}(this);}[_0x16423c(0x130)](_0x3e859a,_0x460353){const _0x32719b=_0x16423c,{editor:_0x295973}=this,_0x13d0c6=new _0x417f42(_0x3e859a);return _0x13d0c6[_0x32719b(0x16a)]({'attributes':{'role':_0x32719b(0x12f),'class':[_0x32719b(0x133)]}}),_0x13d0c6[_0x32719b(0x162)][_0x32719b(0x15f)](_0x460353[_0x32719b(0x153)]((_0x2e9841,_0x4784fd)=>{const _0x31f9c6=_0x32719b,_0x361799=new _0x39fd1c(_0x3e859a,_0x4784fd),_0x262828=new _0x58a404(_0x3e859a,_0x2e9841);return _0x361799[_0x31f9c6(0x131)]=_0x262828,_0x361799[_0x31f9c6(0x13f)][_0x31f9c6(0x15a)](_0x262828),_0x361799[_0x31f9c6(0x131)]['on'](_0x31f9c6(0x148),_0x3d5620=>{const _0x1b0fc8=_0x31f9c6;_0x295973[_0x1b0fc8(0x148)](_0x1b0fc8(0x159),_0x3d5620[_0x1b0fc8(0x152)][_0x1b0fc8(0x16c)][_0x1b0fc8(0x166)]),_0x295973[_0x1b0fc8(0x169)][_0x1b0fc8(0x14f)][_0x1b0fc8(0x141)]();}),_0x361799;})),_0x13d0c6;}}function _0x1790(){const _0x3f7025=['isEnabled','delegate','search','pluginName','isPremiumPlugin','children','ariaLiveAnnouncer','focus','ck-template-form','32kQzOHi','config','icon','No\x20templates\x20available.','resultsCount','execute','title','set','panelView','65662JlPxnW','query','length','view','40LZbRAJ','reset','source','map','4KOTUxq','11936100EClwtc','change:isOpen','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','Template','insertTemplate','add','template.definitions','5XGyyzc','Search\x20template','init','addMany','componentFactory','menuBar:insertTemplate','items','504792ipMLio','TemplateUI','ck-template-button','data','bind','fromCharCode','editing','extendTemplate','Insert\x20template','templateDefinition','25498HYLrhl','%0\x20templates\x20found','isOfficialPlugin','2079224JzFeqH','6886722eHUVJz','get','commands','listbox','_createTemplateListView','buttonView','join','ck-template-list','3351819xpTSEs','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','afterInit','href','16188mhyxmC','announce'];_0x1790=function(){return _0x3f7025;};return _0x1790();}
|