@ckeditor/ckeditor5-template 46.0.1-alpha.8 → 46.0.1-alpha.9
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-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),c=n.n(s)()(i());c.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const o=c},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(c[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},c=[],o=0;o<t.length;o++){var a=t[o],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=o,e.splice(o,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var c=0;c<s.length;c++){var o=n(s[c]);e[o].references--}for(var a=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=a}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>Q,TemplateCommand:()=>i,TemplateEditing:()=>u,TemplateUI:()=>G});var t=n(782);const e=s;!function(t){const e=s,n=t();for(;;)try{if(411444===parseInt(e(434))/1*(parseInt(e(423))/2)+-parseInt(e(420))/3*(-parseInt(e(428))/4)+-parseInt(e(429))/5+-parseInt(e(437))/6+parseInt(e(430))/7+parseInt(e(424))/8+parseInt(e(432))/9*(-parseInt(e(425))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class i extends t.Command{[e(435)](t){const n=e,{model:r}=this[n(426)];let i;switch(typeof t){case n(427):i=t;break;case n(431):i=t()}n(427)==typeof i&&r[n(433)](()=>{const t=n,e=this[t(426)][t(419)][t(436)][t(421)](i),s=this[t(426)][t(419)][t(422)](e);r[t(438)](s)})}}function s(t,e){const n=c();return(s=function(t,e){return n[t-=419]})(t,e)}function c(){const t=["2283990HaXshL","1592934XlrogA","function","1270116VTstlQ","change","23dyXIbM","execute","htmlProcessor","1617984fuaBVZ","insertContent","data","33dsfQHz","toView","toModel","40078TCizgP","2559104iseohw","20nOAsqe","editor","string","149748URDAGb"];return(c=function(){return t})()}const o=l;function a(){const t=["expired","_showLicenseError","isPremiumPlugin","init","isOfficialPlugin","invalid","17697222iHsnqV","featureNotAllowed","Template","TemplateEditing","templateLicenseKeyInvalid","templateLicenseKeyUsageLimit","1253094pxtxUu","config","pluginName","templateLicenseKeyValid","add","7PWLURT","templateLicenseKeyEvaluationLimit","evaluationLimit","domainLimit","1487847luEHvr","templateLicenseKeyExpired","get","insertTemplate","267205sLDFoG","editor","20nAhxuG","_licenseKeyCheckInterval","commands","1353582YHfNbg","trialLimit","templateLicenseKeyDomainLimit","licenseKey","destroy","templateLicenseKeyTrialLimit","5041912ElpWdA","templateLicenseKeyNotAllowed","usageLimit","912457xtzMWA"];return(a=function(){return t})()}function l(t,e){const n=a();return(l=function(t,e){return n[t-=375]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(512652===-parseInt(e(387))/1+parseInt(e(400))/2+-parseInt(e(409))/3+-parseInt(e(375))/4*(parseInt(e(413))/5)+parseInt(e(378))/6+-parseInt(e(405))/7*(parseInt(e(384))/8)+parseInt(e(394))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[o(381)];[o(376)];static get[o(402)](){return o(397)}static get[o(392)](){return!0}static get[o(390)](){return!0}[o(391)](){const t=o,{editor:e}=this;e[t(377)][t(404)](t(412),new i(e)),this[t(381)]=this[t(414)][t(401)][t(411)](t(381));const n=this[t(414)];this[t(376)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(403)==s||e(398)==s||e(410)==s||e(380)==s||e(385)==s||e(406)==s||e(383)==s||e(399)==s){delete n[i],r=s,clearInterval(this[e(376)]),this[e(376)]=void 0;break}}e(398)==r&&n[e(389)](e(393)),e(410)==r&&n[e(389)](e(388)),e(380)==r&&n[e(389)](e(408)),e(385)==r&&n[e(389)](e(395),e(396)),e(406)==r&&n[e(389)](e(407)),e(383)==r&&n[e(389)](e(379)),e(399)==r&&n[e(389)](e(386))},1e3)}[o(382)](){const t=o;super[t(382)](),this[t(376)]&&clearInterval(this[t(376)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=g();return(h=function(t,e){return n[t-=147]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(520817===parseInt(e(153))/1*(-parseInt(e(157))/2)+parseInt(e(147))/3+parseInt(e(168))/4+parseInt(e(172))/5+parseInt(e(162))/6+-parseInt(e(152))/7+parseInt(e(155))/8*(-parseInt(e(170))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class k extends f.ListView{[m(154)](t){const e=m;if(!t)return this[e(163)]();const n=new Map,r=this[e(156)][e(150)](r=>{const i=e,s=r[i(169)][i(167)](t);return r[i(164)]=!!s,r[i(169)][i(151)](s?t:null),s&&n[i(149)](r,s),r})[e(173)](w)[e(173)]((i=n,function(t,e){const n=h,r=i[n(166)](t),s=i[n(166)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(161)]&&!s[n(161)]?-1:!r[n(161)]&&s[n(161)]?1:0:0}));var i;return this[e(156)][e(158)](),this[e(156)][e(171)](r),{resultsCount:n[e(160)],totalItemsCount:this[e(156)][e(165)]}}[m(163)](){const t=m,e=this[t(156)][t(150)](t=>t)[t(173)](w);return e[t(159)](e=>{const n=t;e[n(164)]=!0,e[n(169)][n(151)](null)}),this[t(156)][t(158)](),this[t(156)][t(171)](e),{resultsCount:e[t(165)],totalItemsCount:e[t(165)]}}}function w(t,e){const n=m;return t[n(148)]-e[n(148)]}function g(){const t=["clear","forEach","size","title","1159752ZHJVCW","_resetFiltering","isVisible","length","get","isMatching","3017736vOUEbv","buttonView","3068514pNnsAf","addMany","2716145GdUjhJ","sort","2749962XkuOnL","originalIndex","set","map","highlightText","3568908XfekkP","242CnzsJF","filter","8NmbviD","items","8562CzuIGU"];return(g=function(){return t})()}function v(t,e){var n=b();return(v=function(t,e){return n[t-=424]})(t,e)}var I=v;function b(){var t=["2355952zQdUqu","500410ShjvwS","3073532vqwSlo","10870146cytIIF","3543AdrNnl","1428760oTGJCu","1266rhDWmw","buttonView","originalIndex","12775inzQlH","1046tFxuHl"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(464287===-parseInt(e(430))/1+-parseInt(e(428))/2*(parseInt(e(433))/3)+parseInt(e(431))/4+parseInt(e(434))/5+parseInt(e(424))/6*(-parseInt(e(427))/7)+-parseInt(e(429))/8+parseInt(e(432))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(426)];[I(425)];constructor(t,e){var n=I;super(t),this[n(426)]=e,this[n(425)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=342]})(t,e)}function T(){const t=["extendTemplate","ck-template-form__description","locale","isMatching","712456yiNhFO","setTemplate","1450755BdOfEJ","textPartView","286775jkgICL","text","3179274LCwyuC","ck-template-form__text-part","set","remove","titleView","destroy","45ugVJnw","span","descriptionView","7VLukkZ","element","31919060CBYFfr","option","div","ck-button__label","templateDefinition","2884242JunOtS","highlightText","3xRYcGI","isColorInherited","ck-template-button","add","iconView","children","description","push","match","labelView","render","1408648GomvJq","title"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(770315===-parseInt(e(377))/1+parseInt(e(356))/2*(-parseInt(e(358))/3)+parseInt(e(375))/4+-parseInt(e(379))/5+parseInt(e(381))/6*(-parseInt(e(349))/7)+-parseInt(e(369))/8*(-parseInt(e(346))/9)+parseInt(e(351))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(355)];[x(378)];constructor(t,e){const n=x;super(t),this[n(355)]=e,this[n(378)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(342)]({withText:!0,class:n(360),role:n(352),icon:r}),this[n(362)][n(359)]=!1}[x(368)](){const t=x;super[t(368)](),this[t(378)]=new V(this[t(373)],this[t(355)],this[t(367)][t(350)].id),this[t(363)][t(343)](this[t(367)]),this[t(363)][t(361)](this[t(378)])}[x(345)](){const t=x;super[t(345)](),this[t(367)][t(345)]()}[x(374)](t){const e=x,{title:n,description:r}=this[e(355)],i=!!n[e(366)](t),s=!(!r||!r[e(366)](t));return i||s?{title:i,description:s}:null}[x(357)](t){const e=x;this[e(378)][e(357)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(370)]=e[r(370)],this[r(364)]=e[r(364)],this[r(344)]=new f.HighlightedTextView,this[r(344)][r(380)]=this[r(370)],this[r(344)][r(371)]({tag:r(347),attributes:{class:[r(354)],id:n}});const i=[this[r(344)]];this[r(364)]&&(this[r(348)]=new f.HighlightedTextView,this[r(348)][r(380)]=this[r(364)],this[r(348)][r(371)]({tag:"p",attributes:{class:[r(372)]}}),i[r(365)](this[r(348)])),this[r(376)]({tag:r(353),attributes:{class:["ck",r(382)]},children:i})}[x(357)](t){const e=x;this[e(344)][e(357)](t),this[e(364)]&&this[e(348)][e(357)](t)}}function C(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var A=n(673),S=n.n(A),O=n(545),M=n.n(O),N=n(262),P=n.n(N),j=n(667),E=n.n(j),K=n(357),z=n.n(K),B=n(175),H={attributes:{"data-cke":!0}};H.setAttributes=E(),H.insert=P().bind(null,"head"),H.domAPI=M(),H.insertStyleElement=z();S()(B.A,H);B.A&&B.A.locals&&B.A.locals;const U=F;function D(){const t=["buttonView","execute","commands","join","TemplateUI","ck-template-button","24736830ClOolA","map","Template","icon","add","insertTemplate","change:isOpen","bind","68084HIrcKk","isPremiumPlugin","editing","children","pluginName","set","extendTemplate","focus","componentFactory","15YAnXcX","Insert template","source","init","%0 templates found","get","490516KlQEYj","No templates available.","21UERvBs","panelView","title","7bYjosF","isEnabled","afterInit","resultsCount","ck-template-form","templateDefinition","view","menuBar:insertTemplate","12936608VtAojS","isOfficialPlugin","Please try a different phrase or check the spelling.","template.definitions","announce",'No templates were found matching "%0".',"data","addMany","ck-template-list","delegate","Search template","_createTemplateListView","length","1625478rDInYa","fromCharCode","ariaLiveAnnouncer","href","items","7982685SVfOdy","reset","query","search","config","1817272mnOvfe","listbox"];return(D=function(){return t})()}function F(t,e){const n=D();return(F=function(t,e){return n[t-=392]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(916574===-parseInt(e(421))/1+parseInt(e(405))/2+-parseInt(e(438))/3*(-parseInt(e(436))/4)+-parseInt(e(430))/5*(parseInt(e(395))/6)+parseInt(e(441))/7*(parseInt(e(449))/8)+parseInt(e(400))/9+-parseInt(e(413))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class G extends t.Plugin{static get[U(425)](){return U(411)}static get[U(450)](){return!0}static get[U(422)](){return!0}[U(433)](){const t=U,{editor:e}=this,n=e[t(404)][t(435)](t(452))||[];e.ui[t(429)][t(417)](t(418),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(393)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:C(r,i(392))},class:i(445),infoView:{text:{notFound:{primary:t=>C(r,i(454),t),secondary:C(r,i(451))},noSearchableItems:{primary:C(r,i(437))}}}}),a=e[i(409)][i(435)](i(418));return o.on(i(403),(t,n)=>{const s=i;n[s(402)]&&n[s(402)][s(394)]&&e.ui[s(397)][s(453)](C(r,s(434),n[s(444)]))}),s[i(420)](i(442)).to(a),s[i(439)][i(424)][i(417)](o),s[i(407)][i(426)]({label:C(r,i(431)),icon:p.IconTemplate,tooltip:!0}),s.on(i(419),(t,e,n)=>{n||o[i(401)]()}),s}),e.ui[t(429)][t(417)](t(448),r=>{const i=t,s=e[i(409)][i(435)](i(418)),c=new f.MenuBarMenuView(r);c[i(407)][i(426)]({label:C(r,i(415)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(394)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(426)]({label:C(r,i(437))}),n[i(458)](i(408)).to(c),n.on(i(408),()=>{const t=i;e[t(423)][t(447)][t(428)]()}),t[i(424)][i(417)](n),o[i(399)][i(417)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(426)]({class:i(412),label:t[i(440)],icon:t[i(416)]||p.IconTemplateGeneric}),s[i(458)](i(408)).to(c),s.on(i(408),()=>{const n=i;e[n(408)](n(418),t[n(455)]),e[n(423)][n(447)][n(428)]()}),n[i(424)][i(417)](s),o[i(399)][i(417)](n)}return c[i(439)][i(424)][i(417)](o),c[i(420)](i(442)).to(s,i(442)),c})}[U(443)](){!async function(t){const e=h([90,114,74,106,75,76,105,118,69,112,71,78,83,87,104,81,49,113,100,84,121,97,109,50,103,85,102,107,66,117,111,120,67,119,86,80,65,68,57,55,115,88,48,51,122,116,99,89,70,72,108,73,82,79,77,54,110,56,101,52,53,98]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},c=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function a(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=F;return t[e(414)](t=>String[e(396)](t))[e(410)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([90]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return c==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));c(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){a(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=c();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function c(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function a(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(a=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{a||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function c(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=c[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=a(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),c=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const a=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},a,i,c)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1754438400;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=F,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(398)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[U(393)](t,e){const n=U,{editor:r}=this,i=new k(t);return i[n(427)]({attributes:{role:n(406),class:[n(457)]}}),i[n(399)][n(456)](e[n(414)]((e,i)=>{const s=n,c=new y(t,i),o=new L(t,e);return c[s(407)]=o,c[s(424)][s(417)](o),c[s(407)].on(s(408),t=>{const e=s;r[e(408)](e(418),t[e(432)][e(446)][e(455)]),r[e(423)][e(447)][e(428)]()}),c})),i}}var q=J;function J(t,e){var n=R();return(J=function(t,e){return n[t-=269]})(t,e)}function R(){var t=["Template","188847aGKAiO","113TGpwfa","413602jqnkYr","isOfficialPlugin","276bUuTEy","requires","130170jGRfNd","484aCgFjT","54DkvVmK","isPremiumPlugin","971883yXQZAq","pluginName","2070416PDVJSC","16145hlxjQO","8cHUzBW"];return(R=function(){return t})()}!function(t){for(var e=J,n=t();;)try{if(130610===-parseInt(e(277))/1*(-parseInt(e(284))/2)+-parseInt(e(276))/3*(-parseInt(e(274))/4)+-parseInt(e(273))/5*(-parseInt(e(280))/6)+parseInt(e(278))/7+parseInt(e(272))/8+parseInt(e(270))/9+-parseInt(e(282))/10*(parseInt(e(283))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);class Q extends t.Plugin{static get[q(281)](){return[u,G]}static get[q(271)](){return q(275)}static get[q(279)](){return!0}static get[q(269)](){return!0}}function X(t,e){var n=Y();return(X=function(t,e){return n[t-=372]})(t,e)}function Y(){var t=["9zVPUoe","34xtKojm","35oJyRBl","30EvuXSz","636670sIKgzO","128776HAOktH","529760nSLcSx","137886FQcwLA","10401lQqoCa","93264IhnmlK","5413144lQkILj"];return(Y=function(){return t})()}!function(t){for(var e=X,n=t();;)try{if(130279===-parseInt(e(374))/1*(-parseInt(e(378))/2)+parseInt(e(375))/3+parseInt(e(372))/4+-parseInt(e(380))/5*(-parseInt(e(373))/6)+-parseInt(e(379))/7*(-parseInt(e(382))/8)+parseInt(e(377))/9*(parseInt(e(381))/10)+-parseInt(e(376))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),c=n.n(s)()(i());c.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const o=c},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(c[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},c=[],o=0;o<t.length;o++){var a=t[o],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=o,e.splice(o,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var c=0;c<s.length;c++){var o=n(s[c]);e[o].references--}for(var a=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=a}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>Q,TemplateCommand:()=>i,TemplateEditing:()=>u,TemplateUI:()=>D});var t=n(782);const e=s;!function(t){const e=s,n=t();for(;;)try{if(411444===parseInt(e(434))/1*(parseInt(e(423))/2)+-parseInt(e(420))/3*(-parseInt(e(428))/4)+-parseInt(e(429))/5+-parseInt(e(437))/6+parseInt(e(430))/7+parseInt(e(424))/8+parseInt(e(432))/9*(-parseInt(e(425))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class i extends t.Command{[e(435)](t){const n=e,{model:r}=this[n(426)];let i;switch(typeof t){case n(427):i=t;break;case n(431):i=t()}n(427)==typeof i&&r[n(433)](()=>{const t=n,e=this[t(426)][t(419)][t(436)][t(421)](i),s=this[t(426)][t(419)][t(422)](e);r[t(438)](s)})}}function s(t,e){const n=c();return(s=function(t,e){return n[t-=419]})(t,e)}function c(){const t=["2283990HaXshL","1592934XlrogA","function","1270116VTstlQ","change","23dyXIbM","execute","htmlProcessor","1617984fuaBVZ","insertContent","data","33dsfQHz","toView","toModel","40078TCizgP","2559104iseohw","20nOAsqe","editor","string","149748URDAGb"];return(c=function(){return t})()}const o=l;function a(){const t=["expired","_showLicenseError","isPremiumPlugin","init","isOfficialPlugin","invalid","17697222iHsnqV","featureNotAllowed","Template","TemplateEditing","templateLicenseKeyInvalid","templateLicenseKeyUsageLimit","1253094pxtxUu","config","pluginName","templateLicenseKeyValid","add","7PWLURT","templateLicenseKeyEvaluationLimit","evaluationLimit","domainLimit","1487847luEHvr","templateLicenseKeyExpired","get","insertTemplate","267205sLDFoG","editor","20nAhxuG","_licenseKeyCheckInterval","commands","1353582YHfNbg","trialLimit","templateLicenseKeyDomainLimit","licenseKey","destroy","templateLicenseKeyTrialLimit","5041912ElpWdA","templateLicenseKeyNotAllowed","usageLimit","912457xtzMWA"];return(a=function(){return t})()}function l(t,e){const n=a();return(l=function(t,e){return n[t-=375]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(512652===-parseInt(e(387))/1+parseInt(e(400))/2+-parseInt(e(409))/3+-parseInt(e(375))/4*(parseInt(e(413))/5)+parseInt(e(378))/6+-parseInt(e(405))/7*(parseInt(e(384))/8)+parseInt(e(394))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[o(381)];[o(376)];static get[o(402)](){return o(397)}static get[o(392)](){return!0}static get[o(390)](){return!0}[o(391)](){const t=o,{editor:e}=this;e[t(377)][t(404)](t(412),new i(e)),this[t(381)]=this[t(414)][t(401)][t(411)](t(381));const n=this[t(414)];this[t(376)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(403)==s||e(398)==s||e(410)==s||e(380)==s||e(385)==s||e(406)==s||e(383)==s||e(399)==s){delete n[i],r=s,clearInterval(this[e(376)]),this[e(376)]=void 0;break}}e(398)==r&&n[e(389)](e(393)),e(410)==r&&n[e(389)](e(388)),e(380)==r&&n[e(389)](e(408)),e(385)==r&&n[e(389)](e(395),e(396)),e(406)==r&&n[e(389)](e(407)),e(383)==r&&n[e(389)](e(379)),e(399)==r&&n[e(389)](e(386))},1e3)}[o(382)](){const t=o;super[t(382)](),this[t(376)]&&clearInterval(this[t(376)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=g();return(h=function(t,e){return n[t-=147]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(520817===parseInt(e(153))/1*(-parseInt(e(157))/2)+parseInt(e(147))/3+parseInt(e(168))/4+parseInt(e(172))/5+parseInt(e(162))/6+-parseInt(e(152))/7+parseInt(e(155))/8*(-parseInt(e(170))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class k extends f.ListView{[m(154)](t){const e=m;if(!t)return this[e(163)]();const n=new Map,r=this[e(156)][e(150)](r=>{const i=e,s=r[i(169)][i(167)](t);return r[i(164)]=!!s,r[i(169)][i(151)](s?t:null),s&&n[i(149)](r,s),r})[e(173)](w)[e(173)]((i=n,function(t,e){const n=h,r=i[n(166)](t),s=i[n(166)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(161)]&&!s[n(161)]?-1:!r[n(161)]&&s[n(161)]?1:0:0}));var i;return this[e(156)][e(158)](),this[e(156)][e(171)](r),{resultsCount:n[e(160)],totalItemsCount:this[e(156)][e(165)]}}[m(163)](){const t=m,e=this[t(156)][t(150)](t=>t)[t(173)](w);return e[t(159)](e=>{const n=t;e[n(164)]=!0,e[n(169)][n(151)](null)}),this[t(156)][t(158)](),this[t(156)][t(171)](e),{resultsCount:e[t(165)],totalItemsCount:e[t(165)]}}}function w(t,e){const n=m;return t[n(148)]-e[n(148)]}function g(){const t=["clear","forEach","size","title","1159752ZHJVCW","_resetFiltering","isVisible","length","get","isMatching","3017736vOUEbv","buttonView","3068514pNnsAf","addMany","2716145GdUjhJ","sort","2749962XkuOnL","originalIndex","set","map","highlightText","3568908XfekkP","242CnzsJF","filter","8NmbviD","items","8562CzuIGU"];return(g=function(){return t})()}function v(t,e){var n=b();return(v=function(t,e){return n[t-=424]})(t,e)}var I=v;function b(){var t=["2355952zQdUqu","500410ShjvwS","3073532vqwSlo","10870146cytIIF","3543AdrNnl","1428760oTGJCu","1266rhDWmw","buttonView","originalIndex","12775inzQlH","1046tFxuHl"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(464287===-parseInt(e(430))/1+-parseInt(e(428))/2*(parseInt(e(433))/3)+parseInt(e(431))/4+parseInt(e(434))/5+parseInt(e(424))/6*(-parseInt(e(427))/7)+-parseInt(e(429))/8+parseInt(e(432))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(426)];[I(425)];constructor(t,e){var n=I;super(t),this[n(426)]=e,this[n(425)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=342]})(t,e)}function T(){const t=["extendTemplate","ck-template-form__description","locale","isMatching","712456yiNhFO","setTemplate","1450755BdOfEJ","textPartView","286775jkgICL","text","3179274LCwyuC","ck-template-form__text-part","set","remove","titleView","destroy","45ugVJnw","span","descriptionView","7VLukkZ","element","31919060CBYFfr","option","div","ck-button__label","templateDefinition","2884242JunOtS","highlightText","3xRYcGI","isColorInherited","ck-template-button","add","iconView","children","description","push","match","labelView","render","1408648GomvJq","title"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(770315===-parseInt(e(377))/1+parseInt(e(356))/2*(-parseInt(e(358))/3)+parseInt(e(375))/4+-parseInt(e(379))/5+parseInt(e(381))/6*(-parseInt(e(349))/7)+-parseInt(e(369))/8*(-parseInt(e(346))/9)+parseInt(e(351))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(355)];[x(378)];constructor(t,e){const n=x;super(t),this[n(355)]=e,this[n(378)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(342)]({withText:!0,class:n(360),role:n(352),icon:r}),this[n(362)][n(359)]=!1}[x(368)](){const t=x;super[t(368)](),this[t(378)]=new V(this[t(373)],this[t(355)],this[t(367)][t(350)].id),this[t(363)][t(343)](this[t(367)]),this[t(363)][t(361)](this[t(378)])}[x(345)](){const t=x;super[t(345)](),this[t(367)][t(345)]()}[x(374)](t){const e=x,{title:n,description:r}=this[e(355)],i=!!n[e(366)](t),s=!(!r||!r[e(366)](t));return i||s?{title:i,description:s}:null}[x(357)](t){const e=x;this[e(378)][e(357)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(370)]=e[r(370)],this[r(364)]=e[r(364)],this[r(344)]=new f.HighlightedTextView,this[r(344)][r(380)]=this[r(370)],this[r(344)][r(371)]({tag:r(347),attributes:{class:[r(354)],id:n}});const i=[this[r(344)]];this[r(364)]&&(this[r(348)]=new f.HighlightedTextView,this[r(348)][r(380)]=this[r(364)],this[r(348)][r(371)]({tag:"p",attributes:{class:[r(372)]}}),i[r(365)](this[r(348)])),this[r(376)]({tag:r(353),attributes:{class:["ck",r(382)]},children:i})}[x(357)](t){const e=x;this[e(344)][e(357)](t),this[e(364)]&&this[e(348)][e(357)](t)}}function C(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var A=n(673),S=n.n(A),M=n(545),N=n.n(M),P=n(262),O=n.n(P),j=n(667),E=n.n(j),K=n(357),z=n.n(K),B=n(175),H={attributes:{"data-cke":!0}};H.setAttributes=E(),H.insert=O().bind(null,"head"),H.domAPI=N(),H.insertStyleElement=z();S()(B.A,H);B.A&&B.A.locals&&B.A.locals;const q=U;function F(){const t=["menuBar:insertTemplate","fromCharCode","commands","editing","18pZVmYi","search","add","config","Template","children","query","6374473PQwqlA","change:isOpen","ck-template-button","templateDefinition","title","join","panelView","bind","buttonView","isEnabled","3722116yFttsc","items","template.definitions","map","isOfficialPlugin","Insert template","TemplateUI","addMany","get","data","length","extendTemplate","No templates available.","insertTemplate","delegate","execute","_createTemplateListView","isPremiumPlugin","160hqnkCV","href","componentFactory","listbox","pluginName","view","22989168FltgJo","icon","50397BTinZa","afterInit","ck-template-form","resultsCount","focus","ck-template-list","init","reset","announce",'No templates were found matching "%0".',"set","ariaLiveAnnouncer","616086HqRRVN","8862MudMKY","4395328CfjxRN","source","Please try a different phrase or check the spelling.","%0 templates found","Search template"];return(F=function(){return t})()}function U(t,e){const n=F();return(U=function(t,e){return n[t-=353]})(t,e)}!function(t){const e=U,n=t();for(;;)try{if(650929===parseInt(e(384))/1*(-parseInt(e(407))/2)+-parseInt(e(396))/3+-parseInt(e(358))/4+parseInt(e(376))/5*(parseInt(e(397))/6)+-parseInt(e(414))/7+parseInt(e(398))/8+parseInt(e(382))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class D extends t.Plugin{static get[q(380)](){return q(364)}static get[q(362)](){return!0}static get[q(375)](){return!0}[q(390)](){const t=q,{editor:e}=this,n=e[t(410)][t(366)](t(360))||[];e.ui[t(378)][t(409)](t(371),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(374)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:C(r,i(402))},class:i(386),infoView:{text:{notFound:{primary:t=>C(r,i(393),t),secondary:C(r,i(400))},noSearchableItems:{primary:C(r,i(370))}}}}),a=e[i(405)][i(366)](i(371));return o.on(i(408),(t,n)=>{const s=i;n[s(413)]&&n[s(413)][s(368)]&&e.ui[s(395)][s(392)](C(r,s(401),n[s(387)]))}),s[i(355)](i(357)).to(a),s[i(354)][i(412)][i(409)](o),s[i(356)][i(394)]({label:C(r,i(363)),icon:p.IconTemplate,tooltip:!0}),s.on(i(415),(t,e,n)=>{n||o[i(391)]()}),s}),e.ui[t(378)][t(409)](t(403),r=>{const i=t,s=e[i(405)][i(366)](i(371)),c=new f.MenuBarMenuView(r);c[i(356)][i(394)]({label:C(r,i(411)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(368)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(394)]({label:C(r,i(370))}),n[i(372)](i(373)).to(c),n.on(i(373),()=>{const t=i;e[t(406)][t(381)][t(388)]()}),t[i(412)][i(409)](n),o[i(359)][i(409)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(394)]({class:i(416),label:t[i(418)],icon:t[i(383)]||p.IconTemplateGeneric}),s[i(372)](i(373)).to(c),s.on(i(373),()=>{const n=i;e[n(373)](n(371),t[n(367)]),e[n(406)][n(381)][n(388)]()}),n[i(412)][i(409)](s),o[i(359)][i(409)](n)}return c[i(354)][i(412)][i(409)](o),c[i(355)](i(357)).to(s,i(357)),c})}[q(385)](){!async function(t){const e=h([73,78,50,108,54,97,120,56,51,76,79,83,122,90,109,57,102,104,69,88,98,70,85,52,55,106,112,75,74,66,81,68,118,86,80,89,100,82,99,72,67,87,48,119,77,103,49,113,101,114,107,110,111,84,117,116,65,71,105,115,121,53]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},c=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function a(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=U;return t[e(361)](t=>String[e(404)](t))[e(353)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([73]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return c==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));c(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){a(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=c();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function c(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function a(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(a=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{a||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function c(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=c[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=a(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),c=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const a=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},a,i,c)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1754524800;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=U,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(377)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[q(374)](t,e){const n=q,{editor:r}=this,i=new k(t);return i[n(369)]({attributes:{role:n(379),class:[n(389)]}}),i[n(359)][n(365)](e[n(361)]((e,i)=>{const s=n,c=new y(t,i),o=new L(t,e);return c[s(356)]=o,c[s(412)][s(409)](o),c[s(356)].on(s(373),t=>{const e=s;r[e(373)](e(371),t[e(399)][e(417)][e(367)]),r[e(406)][e(381)][e(388)]()}),c})),i}}var G=R;function R(t,e){var n=J();return(R=function(t,e){return n[t-=269]})(t,e)}function J(){var t=["Template","188847aGKAiO","113TGpwfa","413602jqnkYr","isOfficialPlugin","276bUuTEy","requires","130170jGRfNd","484aCgFjT","54DkvVmK","isPremiumPlugin","971883yXQZAq","pluginName","2070416PDVJSC","16145hlxjQO","8cHUzBW"];return(J=function(){return t})()}!function(t){for(var e=R,n=t();;)try{if(130610===-parseInt(e(277))/1*(-parseInt(e(284))/2)+-parseInt(e(276))/3*(-parseInt(e(274))/4)+-parseInt(e(273))/5*(-parseInt(e(280))/6)+parseInt(e(278))/7+parseInt(e(272))/8+parseInt(e(270))/9+-parseInt(e(282))/10*(parseInt(e(283))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class Q extends t.Plugin{static get[G(281)](){return[u,D]}static get[G(271)](){return G(275)}static get[G(279)](){return!0}static get[G(269)](){return!0}}function X(t,e){var n=W();return(X=function(t,e){return n[t-=372]})(t,e)}function W(){var t=["9zVPUoe","34xtKojm","35oJyRBl","30EvuXSz","636670sIKgzO","128776HAOktH","529760nSLcSx","137886FQcwLA","10401lQqoCa","93264IhnmlK","5413144lQkILj"];return(W=function(){return t})()}!function(t){for(var e=X,n=t();;)try{if(130279===-parseInt(e(374))/1*(-parseInt(e(378))/2)+parseInt(e(375))/3+parseInt(e(372))/4+-parseInt(e(380))/5*(-parseInt(e(373))/6)+-parseInt(e(379))/7*(-parseInt(e(382))/8)+parseInt(e(377))/9*(parseInt(e(381))/10)+-parseInt(e(376))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(W)})(),(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 _0x264306,Plugin as _0x44dcbc}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x1dd6b4,IconTemplate as _0x4c02fc}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0xc7ecd5,ListItemView as _0x1c8d01,ButtonView as _0x3f8f9c,View as _0x37f1bc,HighlightedTextView as _0x11ebdc,createDropdown as _0x323a35,SearchTextView as _0x304adb,MenuBarMenuView as _0x5591fd,MenuBarMenuListView as _0x2bfdc2,MenuBarMenuListItemView as _0x2e192c,MenuBarMenuListItemButtonView as _0x2e981e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x2389a1}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x264306{['execute'](_0x2dd83b){const {model:_0x46a5c9}=this['editor'];let _0x3a9754;switch(typeof _0x2dd83b){case'string':_0x3a9754=_0x2dd83b;break;case'function':_0x3a9754=_0x2dd83b();}'string'==typeof _0x3a9754&&_0x46a5c9['change'](()=>{const _0xaeaeb8=this['editor']['data']['htmlProcessor']['toView'](_0x3a9754),_0x4c6fa6=this['editor']['data']['toModel'](_0xaeaeb8);_0x46a5c9['insertContent'](_0x4c6fa6);});}}class i extends _0x44dcbc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb01010}=this;_0xb01010['commands']['add']('insertTemplate',new a(_0xb01010)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x9070bd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x562415;for(const _0x2513d4 in _0x9070bd){const _0x5d4992=_0x2513d4,_0x537163=_0x9070bd[_0x5d4992];if('templateLicenseKeyValid'==_0x537163||'templateLicenseKeyInvalid'==_0x537163||'templateLicenseKeyExpired'==_0x537163||'templateLicenseKeyDomainLimit'==_0x537163||'templateLicenseKeyNotAllowed'==_0x537163||'templateLicenseKeyEvaluationLimit'==_0x537163||'templateLicenseKeyTrialLimit'==_0x537163||'templateLicenseKeyUsageLimit'==_0x537163){delete _0x9070bd[_0x5d4992],_0x562415=_0x537163,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x562415&&_0x9070bd['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x562415&&_0x9070bd['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x562415&&_0x9070bd['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x562415&&_0x9070bd['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x562415&&_0x9070bd['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x562415&&_0x9070bd['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x562415&&_0x9070bd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0xc7ecd5{['filter'](_0x25d950){if(!_0x25d950)return this['_resetFiltering']();const _0x1071ed=new Map(),_0x1b8f77=this['items']['map'](_0x10bef0=>{const _0x139905=_0x10bef0['buttonView']['isMatching'](_0x25d950);return _0x10bef0['isVisible']=!!_0x139905,_0x10bef0['buttonView']['highlightText'](_0x139905?_0x25d950:null),_0x139905&&_0x1071ed['set'](_0x10bef0,_0x139905),_0x10bef0;})['sort'](j)['sort'](function(_0xe10c2a){return function(_0x43e903,_0x3d52dc){const _0x52a455=_0xe10c2a['get'](_0x43e903),_0x1846aa=_0xe10c2a['get'](_0x3d52dc);return _0x52a455&&!_0x1846aa?-0x1:_0x1846aa&&!_0x52a455?0x1:_0x52a455||_0x1846aa?_0x52a455['title']&&!_0x1846aa['title']?-0x1:!_0x52a455['title']&&_0x1846aa['title']?0x1:0x0:0x0;};}(_0x1071ed));return this['items']['clear'](),this['items']['addMany'](_0x1b8f77),{'resultsCount':_0x1071ed['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x542526=this['items']['map'](_0x4e76f3=>_0x4e76f3)['sort'](j);return _0x542526['forEach'](_0x4c80ea=>{_0x4c80ea['isVisible']=!0x0,_0x4c80ea['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x542526),{'resultsCount':_0x542526['length'],'totalItemsCount':_0x542526['length']};}}function j(_0x4f5082,_0x5844e7){return _0x4f5082['originalIndex']-_0x5844e7['originalIndex'];}class b extends _0x1c8d01{['originalIndex'];['buttonView'];constructor(_0x30ff15,_0x388c03){super(_0x30ff15),this['originalIndex']=_0x388c03,this['buttonView']=null;}}class h extends _0x3f8f9c{['templateDefinition'];['textPartView'];constructor(_0x5dc00e,_0x5a4a08){super(_0x5dc00e),this['templateDefinition']=_0x5a4a08,this['textPartView']=null;const {icon:_0x29af46=_0x1dd6b4}=_0x5a4a08;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x29af46}),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'](_0x4336f3){const {title:_0x463c08,description:_0x6c50dc}=this['templateDefinition'],_0x13ab53=!!_0x463c08['match'](_0x4336f3),_0x36f9e9=!(!_0x6c50dc||!_0x6c50dc['match'](_0x4336f3));return _0x13ab53||_0x36f9e9?{'title':_0x13ab53,'description':_0x36f9e9}:null;}['highlightText'](_0x3970c8){this['textPartView']['highlightText'](_0x3970c8);}}class L extends _0x37f1bc{constructor(_0x5f5294,_0x333232,_0xe80878){super(_0x5f5294),this['title']=_0x333232['title'],this['description']=_0x333232['description'],this['titleView']=new _0x11ebdc(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0xe80878}});const _0x99b980=[this['titleView']];this['description']&&(this['descriptionView']=new _0x11ebdc(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x99b980['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x99b980});}['highlightText'](_0x2b0fe4){this['titleView']['highlightText'](_0x2b0fe4),this['description']&&this['descriptionView']['highlightText'](_0x2b0fe4);}}function g(_0x92bdb3,_0x13da55,..._0x577c8b){const t=_0x92bdb3['t'];switch(_0x13da55){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x577c8b);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',..._0x577c8b);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x13da55;}}class s extends _0x44dcbc{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1c0472}=this,_0x370cbf=_0x1c0472['config']['get']('template.definitions')||[];_0x1c0472['ui']['componentFactory']['add']('insertTemplate',_0x46da52=>{const _0x28e2a3=_0x323a35(_0x46da52),_0x4b97f9=this['_createTemplateListView'](_0x46da52,_0x370cbf),_0x2bfc69=new _0x304adb(_0x46da52,{'filteredView':_0x4b97f9,'queryView':{'label':g(_0x46da52,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0xf89a88=>g(_0x46da52,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0xf89a88),'secondary':g(_0x46da52,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x46da52,'No\x20templates\x20available.')}}}}),_0x375fd7=_0x1c0472['commands']['get']('insertTemplate');return _0x2bfc69['on']('search',(_0x973db1,_0xd94640)=>{_0xd94640['query']&&_0xd94640['query']['length']&&_0x1c0472['ui']['ariaLiveAnnouncer']['announce'](g(_0x46da52,'%0\x20templates\x20found',_0xd94640['resultsCount']));}),_0x28e2a3['bind']('isEnabled')['to'](_0x375fd7),_0x28e2a3['panelView']['children']['add'](_0x2bfc69),_0x28e2a3['buttonView']['set']({'label':g(_0x46da52,'Insert\x20template'),'icon':_0x4c02fc,'tooltip':!0x0}),_0x28e2a3['on']('change:isOpen',(_0x31baa2,_0x372f81,_0x118c0c)=>{_0x118c0c||_0x2bfc69['reset']();}),_0x28e2a3;}),_0x1c0472['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x428d24=>{const _0xd9c979=_0x1c0472['commands']['get']('insertTemplate'),_0xc08325=new _0x5591fd(_0x428d24);_0xc08325['buttonView']['set']({'label':g(_0x428d24,'Template'),'icon':_0x4c02fc});const _0x73ca18=new _0x2bfdc2(_0x428d24);if(!_0x370cbf||!_0x370cbf['length']){const _0x33694f=new _0x2e192c(_0x428d24,_0xc08325),_0x548af8=new _0x2e981e(_0x428d24);_0x548af8['set']({'label':g(_0x428d24,'No\x20templates\x20available.')}),_0x548af8['delegate']('execute')['to'](_0xc08325),_0x548af8['on']('execute',()=>{_0x1c0472['editing']['view']['focus']();}),_0x33694f['children']['add'](_0x548af8),_0x73ca18['items']['add'](_0x33694f);}for(const _0x1ded86 of _0x370cbf){const _0xf533e8=new _0x2e192c(_0x428d24,_0xc08325),_0x1cd7b2=new _0x2e981e(_0x428d24);_0x1cd7b2['set']({'class':'ck-template-button','label':_0x1ded86['title'],'icon':_0x1ded86['icon']||_0x1dd6b4}),_0x1cd7b2['delegate']('execute')['to'](_0xc08325),_0x1cd7b2['on']('execute',()=>{_0x1c0472['execute']('insertTemplate',_0x1ded86['data']),_0x1c0472['editing']['view']['focus']();}),_0xf533e8['children']['add'](_0x1cd7b2),_0x73ca18['items']['add'](_0xf533e8);}return _0xc08325['panelView']['children']['add'](_0x73ca18),_0xc08325['bind']('isEnabled')['to'](_0xd9c979,'isEnabled'),_0xc08325;});}['afterInit'](){!async function(_0x5d60f6){const _0x24e05e=_0x50476d([0x5a,0x72,0x4a,0x6a,0x4b,0x4c,0x69,0x76,0x45,0x70,0x47,0x4e,0x53,0x57,0x68,0x51,0x31,0x71,0x64,0x54,0x79,0x61,0x6d,0x32,0x67,0x55,0x66,0x6b,0x42,0x75,0x6f,0x78,0x43,0x77,0x56,0x50,0x41,0x44,0x39,0x37,0x73,0x58,0x30,0x33,0x7a,0x74,0x63,0x59,0x46,0x48,0x6c,0x49,0x52,0x4f,0x4d,0x36,0x6e,0x38,0x65,0x34,0x35,0x62]),_0x28fc51=0x6e610a7b,_0x3a7d84=0x6e6665cb^_0x28fc51,_0x1a0a31=window[_0x50476d([0x44,0x61,0x74,0x65])][_0x50476d([0x6e,0x6f,0x77])](),_0x50443f=_0x5d60f6[_0x50476d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b0187=new window[(_0x50476d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x496d6f=>{_0x50443f[_0x50476d([0x6f,0x6e,0x63,0x65])](_0x50476d([0x72,0x65,0x61,0x64,0x79]),_0x496d6f);}),_0x212df2={[_0x50476d([0x6b,0x74,0x79])]:_0x50476d([0x45,0x43]),[_0x50476d([0x75,0x73,0x65])]:_0x50476d([0x73,0x69,0x67]),[_0x50476d([0x63,0x72,0x76])]:_0x50476d([0x50,0x2d,0x32,0x35,0x36]),[_0x50476d([0x78])]:_0x50476d([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]),[_0x50476d([0x79])]:_0x50476d([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]),[_0x50476d([0x61,0x6c,0x67])]:_0x50476d([0x45,0x53,0x32,0x35,0x36])},_0x2f1475=_0x50443f[_0x50476d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50476d([0x67,0x65,0x74])](_0x50476d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x362c8a(){let _0x357567,_0x3410f1=null,_0x572ab1=null;try{if(_0x2f1475==_0x50476d([0x47,0x50,0x4c]))return _0x50476d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x357567=_0x586764(),!_0x357567)return _0x50476d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x357567[_0x50476d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x572ab1=_0x5ba472(_0x357567[_0x50476d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x357567[_0x50476d([0x6a,0x74,0x69])])),await _0x421215()?_0x78c2c1()?_0x8afa13()?_0x50476d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x545f42()?(_0x357567[_0x50476d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50476d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3410f1=_0x417406(_0x50476d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x357567[_0x50476d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50476d([0x74,0x72,0x69,0x61,0x6c])&&(_0x3410f1=_0x417406(_0x50476d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x280f3c()):_0x50476d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50476d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50476d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x50476d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8afa13(){const _0x80c250=[_0x50476d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50476d([0x74,0x72,0x69,0x61,0x6c])][_0x50476d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x357567[_0x50476d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a0a31/0x3e8:0xe10*_0x3a7d84;return _0x357567[_0x50476d([0x65,0x78,0x70])]<_0x80c250;}function _0x78c2c1(){const _0x29f4cd=_0x357567[_0x50476d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29f4cd&&(!!_0x29f4cd[_0x50476d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50476d([0x2a]))||(!!_0x29f4cd[_0x50476d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50476d([0x54,0x50,0x4c]))||(!!_0x29f4cd[_0x50476d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50476d([0x50,0x50]))||!(!_0x29f4cd[_0x50476d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50476d([0x44,0x52,0x55,0x50]))||!_0x410d72()))));}function _0x545f42(){const _0x291088=_0x357567[_0x50476d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x291088||0x0==_0x291088[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b5cc7}=new URL(window[_0x50476d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x291088[_0x50476d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b5cc7))return!0x0;const _0x51971d=_0x3b5cc7[_0x50476d([0x73,0x70,0x6c,0x69,0x74])](_0x50476d([0x2e]));return _0x291088[_0x50476d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24544e=>_0x24544e[_0x50476d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50476d([0x2a])))[_0x50476d([0x6d,0x61,0x70])](_0x251f9f=>_0x251f9f[_0x50476d([0x73,0x70,0x6c,0x69,0x74])](_0x50476d([0x2e])))[_0x50476d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cdabe=>_0x1cdabe[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x51971d[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50476d([0x6d,0x61,0x70])](_0x2e2d76=>Array(_0x51971d[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e2d76[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50476d([0x66,0x69,0x6c,0x6c])](_0x2e2d76[0x0]===_0x50476d([0x2a])?_0x50476d([0x2a]):'')[_0x50476d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e2d76))[_0x50476d([0x73,0x6f,0x6d,0x65])](_0x120ce6=>_0x51971d[_0x50476d([0x65,0x76,0x65,0x72,0x79])]((_0x456d9f,_0x313bbb)=>_0x120ce6[_0x313bbb]===_0x456d9f||_0x120ce6[_0x313bbb]===_0x50476d([0x2a])));}function _0x280f3c(){return _0x3410f1&&_0x572ab1?new window[(_0x50476d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5592ca,_0x3579f5)=>{_0x3410f1[_0x50476d([0x74,0x68,0x65,0x6e])](_0x5592ca,_0x3579f5),_0x572ab1[_0x50476d([0x74,0x68,0x65,0x6e])](_0x8b32f5=>{_0x8b32f5!=_0x50476d([0x56,0x61,0x6c,0x69,0x64])&&_0x5592ca(_0x8b32f5);},_0x3579f5);}):_0x3410f1||_0x572ab1||_0x50476d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ba472(_0x48d472,_0x4c9a84){return new window[(_0x50476d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1640dc=>{if(_0x3ceba5())return _0x1640dc(_0x50476d([0x56,0x61,0x6c,0x69,0x64]));_0x1dfa15(),_0x50443f[_0x50476d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50476d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40fb03=!0x1;const _0x448556=_0x2389a1();function _0x5d0b65(_0x5987a2){return!!_0x5987a2&&(typeof _0x5987a2===_0x50476d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5987a2===_0x50476d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5987a2[_0x50476d([0x74,0x68,0x65,0x6e])]===_0x50476d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5987a2[_0x50476d([0x63,0x61,0x74,0x63,0x68])]===_0x50476d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa66d9(_0x1b4eb4){_0x1be468(_0x1b4eb4)[_0x50476d([0x74,0x68,0x65,0x6e])](_0x332911=>{if(!_0x332911||_0x332911[_0x50476d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50476d([0x6f,0x6b]))return _0x50476d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x304261(_0x110138(_0x448556+_0x4c9a84))!=_0x332911[_0x50476d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50476d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50476d([0x56,0x61,0x6c,0x69,0x64]);})[_0x50476d([0x74,0x68,0x65,0x6e])](_0x1d3774=>(_0x20f1e9(),_0x1d3774),()=>{const _0x446f45=_0x51899b();return null==_0x446f45?(_0x20f1e9(),_0x50476d([0x56,0x61,0x6c,0x69,0x64])):_0x50476d(_0x1a0a31-_0x446f45>(0x4a6d8e7b^_0x28fc51)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50476d([0x74,0x68,0x65,0x6e])](_0x1640dc)[_0x50476d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1640dc(_0x50476d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf64e62=0x6e57e4fb^_0x28fc51;function _0x20f1e9(){const _0x111011=_0x50476d([0x6c,0x6c,0x63,0x74,0x2d])+_0x304261(_0x110138(_0x48d472)),_0x303601=_0x4d5806(_0x304261(window[_0x50476d([0x4d,0x61,0x74,0x68])][_0x50476d([0x63,0x65,0x69,0x6c])](_0x1a0a31/_0xf64e62)));window[_0x50476d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50476d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x111011,_0x303601);}function _0x51899b(){const _0xc72cfa=_0x50476d([0x6c,0x6c,0x63,0x74,0x2d])+_0x304261(_0x110138(_0x48d472)),_0x36acc3=window[_0x50476d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50476d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc72cfa);return _0x36acc3?window[_0x50476d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d5806(_0x36acc3),0x10)*_0xf64e62:null;}function _0x1be468(_0x143813){return new window[(_0x50476d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x273a32,_0x4c3403)=>{_0x143813[_0x50476d([0x74,0x68,0x65,0x6e])](_0x273a32,_0x4c3403),window[_0x50476d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c3403,0x6e60debb^_0x28fc51);});}}_0x50443f[_0x50476d([0x6f,0x6e])](_0x50476d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x385f90,_0x31466e)=>{if(_0x31466e[0x0]!=_0x48d472)return _0x1640dc(_0x50476d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31466e[0x1]={..._0x31466e[0x1],[_0x50476d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x448556};},{[_0x50476d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50476d([0x68,0x69,0x67,0x68])}),_0x50443f[_0x50476d([0x6f,0x6e])](_0x50476d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x529162=>{_0x5d0b65(_0x529162[_0x50476d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40fb03=!0x0,_0xa66d9(_0x529162[_0x50476d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50476d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50476d([0x6c,0x6f,0x77])}),_0x3b0187[_0x50476d([0x74,0x68,0x65,0x6e])](()=>{_0x40fb03||_0x1640dc(_0x50476d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ceba5(){return _0x50443f[_0x50476d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50476d([0x76,0x69,0x65,0x77])][_0x50476d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50476d([0x61,0x75,0x74,0x6f]);}function _0x1dfa15(){_0x50443f[_0x50476d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50476d([0x76,0x69,0x65,0x77])][_0x50476d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50476d([0x61,0x75,0x74,0x6f]);}}function _0x417406(_0x11cd99){const _0xace79c=[new window[(_0x50476d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15f0cb=>setTimeout(_0x15f0cb,0x6e6834b7^_0x28fc51)),_0x3b0187[_0x50476d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50476d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e60c5=>{let _0x42ca8b=0x0;_0x50443f[_0x50476d([0x6d,0x6f,0x64,0x65,0x6c])][_0x50476d([0x6f,0x6e])](_0x50476d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d523f,_0x5f098a)=>{_0x5f098a[0x0][_0x50476d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42ca8b++,_0x42ca8b==(0x6e610b83^_0x28fc51)&&(_0x3e60c5(),_0x4d523f[_0x50476d([0x6f,0x66,0x66])]());});}))];return window[_0x50476d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50476d([0x72,0x61,0x63,0x65])](_0xace79c)[_0x50476d([0x74,0x68,0x65,0x6e])](()=>_0x11cd99);}async function _0x50d12f(){await _0x3b0187,_0x50443f[_0x50476d([0x6d,0x6f,0x64,0x65,0x6c])][_0x50476d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f500c,_0x50443f[_0x50476d([0x6d,0x6f,0x64,0x65,0x6c])][_0x50476d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f500c,_0x50443f[_0x50476d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50476d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x410d72(){return window[_0x50476d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1d305d(_0x2c428e){const _0x203f33=_0x33f472();_0x50443f[_0x203f33]=_0x50476d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c428e,_0x2c428e!=_0x50476d([0x56,0x61,0x6c,0x69,0x64])&&_0x50d12f();}function _0x33f472(){const _0x2ee258=window[_0x50476d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50476d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50476d([0x6e,0x6f,0x77])]())[_0x50476d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50476d([0x2e]),'');let _0x5b520a=_0x50476d([0x5a]);for(let _0x2dba91=0x0;_0x2dba91<_0x2ee258[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2dba91+=0x2){let _0x32d0b4=window[_0x50476d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ee258[_0x50476d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2dba91,_0x2dba91+0x2));_0x32d0b4>=_0x24e05e[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32d0b4-=_0x24e05e[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b520a+=_0x24e05e[_0x32d0b4];}return _0x5b520a;}function _0x586764(){const _0x55193c=_0x2f1475[_0x50476d([0x73,0x70,0x6c,0x69,0x74])](_0x50476d([0x2e]));if(0x3!=_0x55193c[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34f2fd(_0x55193c[0x1]);function _0x34f2fd(_0x20521a){const _0x2c9595=_0x5c2446(_0x20521a);return _0x2c9595&&_0x560d03()?_0x2c9595:null;function _0x560d03(){const _0x488943=_0x2c9595[_0x50476d([0x6a,0x74,0x69])],_0x75afda=window[_0x50476d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x488943[_0x50476d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x488943[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4377cd={..._0x2c9595,[_0x50476d([0x6a,0x74,0x69])]:_0x488943[_0x50476d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x488943[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4377cd[_0x50476d([0x76,0x63])],_0x110138(_0x4377cd)==_0x75afda;}}}async function _0x421215(){let _0x18d722=!0x0;try{const _0x5e4ffd=_0x2f1475[_0x50476d([0x73,0x70,0x6c,0x69,0x74])](_0x50476d([0x2e])),[_0x214823,_0x4d58e8,_0x365646]=_0x5e4ffd;return _0x4b98b5(_0x214823),await _0xe05090(_0x214823,_0x4d58e8,_0x365646),_0x18d722;}catch{return!0x1;}function _0x4b98b5(_0x18dc20){const _0x56cd9b=_0x5c2446(_0x18dc20);_0x56cd9b&&_0x56cd9b[_0x50476d([0x61,0x6c,0x67])]==_0x50476d([0x45,0x53,0x32,0x35,0x36])||(_0x18d722=!0x1);}async function _0xe05090(_0x4c04a6,_0x22d003,_0x521077){const _0x4bd843=window[_0x50476d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50476d([0x66,0x72,0x6f,0x6d])](_0x395ebf(_0x521077),_0x4ad647=>_0x4ad647[_0x50476d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d3284=new window[(_0x50476d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50476d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c04a6+_0x50476d([0x2e])+_0x22d003),_0x1efc01=window[_0x50476d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50476d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1efc01)return;const _0xe6eb7e=await _0x1efc01[_0x50476d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50476d([0x6a,0x77,0x6b]),_0x212df2,{[_0x50476d([0x6e,0x61,0x6d,0x65])]:_0x50476d([0x45,0x43,0x44,0x53,0x41]),[_0x50476d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50476d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50476d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1efc01[_0x50476d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50476d([0x6e,0x61,0x6d,0x65])]:_0x50476d([0x45,0x43,0x44,0x53,0x41]),[_0x50476d([0x68,0x61,0x73,0x68])]:{[_0x50476d([0x6e,0x61,0x6d,0x65])]:_0x50476d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe6eb7e,_0x4bd843,_0x4d3284)||(_0x18d722=!0x1);}}function _0x5c2446(_0x12c39c){return _0x12c39c[_0x50476d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50476d([0x65,0x79]))?JSON[_0x50476d([0x70,0x61,0x72,0x73,0x65])](_0x395ebf(_0x12c39c)):null;}function _0x395ebf(_0x190cfe){return window[_0x50476d([0x61,0x74,0x6f,0x62])](_0x190cfe[_0x50476d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50476d([0x2b]))[_0x50476d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50476d([0x2f])));}function _0x110138(_0x590b8b){let _0x1f8fe6=0x1505;function _0x56d1f4(_0x33b1cc){for(let _0xadd8a1=0x0;_0xadd8a1<_0x33b1cc[_0x50476d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xadd8a1++){const _0x9b28ef=_0x33b1cc[_0x50476d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xadd8a1);_0x1f8fe6=(_0x1f8fe6<<0x5)+_0x1f8fe6+_0x9b28ef,_0x1f8fe6&=_0x1f8fe6;}}function _0x15e487(_0x34593c){Array[_0x50476d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34593c)?_0x34593c[_0x50476d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15e487):_0x34593c&&typeof _0x34593c==_0x50476d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50476d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34593c)[_0x50476d([0x73,0x6f,0x72,0x74])]()[_0x50476d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51f90f,_0x3d89fb])=>{_0x56d1f4(_0x51f90f),_0x15e487(_0x3d89fb);}):_0x56d1f4(window[_0x50476d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34593c));}return _0x15e487(_0x590b8b),_0x1f8fe6>>>0x0;}function _0x304261(_0x1e1258){return _0x1e1258[_0x50476d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50476d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50476d([0x30]));}function _0x4d5806(_0x35f35f){return _0x35f35f[_0x50476d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50476d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50476d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f500c(){}function _0x50476d(_0x15d0dc){return _0x15d0dc['map'](_0x57bda4=>String['fromCharCode'](_0x57bda4))['join']('');}_0x1d305d(await _0x362c8a());}(this);}['_createTemplateListView'](_0x5a1d42,_0x5ed15b){const {editor:_0x290cb4}=this,_0x1fe5c6=new y(_0x5a1d42);return _0x1fe5c6['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x1fe5c6['items']['addMany'](_0x5ed15b['map']((_0x1f895d,_0x26f5d9)=>{const _0x25f738=new b(_0x5a1d42,_0x26f5d9),_0x3bed51=new h(_0x5a1d42,_0x1f895d);return _0x25f738['buttonView']=_0x3bed51,_0x25f738['children']['add'](_0x3bed51),_0x25f738['buttonView']['on']('execute',_0x40c8c6=>{_0x290cb4['execute']('insertTemplate',_0x40c8c6['source']['templateDefinition']['data']),_0x290cb4['editing']['view']['focus']();}),_0x25f738;})),_0x1fe5c6;}}class K extends _0x44dcbc{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x3da747,Plugin as _0xa5ebd1}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x16b302,IconTemplate as _0x2567b7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x560cfd,ListItemView as _0xc30df4,ButtonView as _0x2c1b0c,View as _0x443033,HighlightedTextView as _0x1160f7,createDropdown as _0x9ef94e,SearchTextView as _0x527df1,MenuBarMenuView as _0x218d50,MenuBarMenuListView as _0x541bb3,MenuBarMenuListItemView as _0x5a8c82,MenuBarMenuListItemButtonView as _0xc1f8c1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x1d64da}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x3da747{['execute'](_0x26e8b0){const {model:_0xd15d72}=this['editor'];let _0x465e94;switch(typeof _0x26e8b0){case'string':_0x465e94=_0x26e8b0;break;case'function':_0x465e94=_0x26e8b0();}'string'==typeof _0x465e94&&_0xd15d72['change'](()=>{const _0x49cda2=this['editor']['data']['htmlProcessor']['toView'](_0x465e94),_0x496d72=this['editor']['data']['toModel'](_0x49cda2);_0xd15d72['insertContent'](_0x496d72);});}}class i extends _0xa5ebd1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5107f2}=this;_0x5107f2['commands']['add']('insertTemplate',new a(_0x5107f2)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49d5f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x37c3b8;for(const _0x3e1bda in _0x49d5f1){const _0x23158f=_0x3e1bda,_0x1c490e=_0x49d5f1[_0x23158f];if('templateLicenseKeyValid'==_0x1c490e||'templateLicenseKeyInvalid'==_0x1c490e||'templateLicenseKeyExpired'==_0x1c490e||'templateLicenseKeyDomainLimit'==_0x1c490e||'templateLicenseKeyNotAllowed'==_0x1c490e||'templateLicenseKeyEvaluationLimit'==_0x1c490e||'templateLicenseKeyTrialLimit'==_0x1c490e||'templateLicenseKeyUsageLimit'==_0x1c490e){delete _0x49d5f1[_0x23158f],_0x37c3b8=_0x1c490e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x37c3b8&&_0x49d5f1['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x37c3b8&&_0x49d5f1['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x37c3b8&&_0x49d5f1['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x37c3b8&&_0x49d5f1['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x37c3b8&&_0x49d5f1['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x37c3b8&&_0x49d5f1['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x37c3b8&&_0x49d5f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x560cfd{['filter'](_0x557e83){if(!_0x557e83)return this['_resetFiltering']();const _0x581226=new Map(),_0x4ab320=this['items']['map'](_0x358d61=>{const _0x580e82=_0x358d61['buttonView']['isMatching'](_0x557e83);return _0x358d61['isVisible']=!!_0x580e82,_0x358d61['buttonView']['highlightText'](_0x580e82?_0x557e83:null),_0x580e82&&_0x581226['set'](_0x358d61,_0x580e82),_0x358d61;})['sort'](j)['sort'](function(_0x37f0ac){return function(_0x40d440,_0x49e05e){const _0x3f9c5f=_0x37f0ac['get'](_0x40d440),_0x2f6216=_0x37f0ac['get'](_0x49e05e);return _0x3f9c5f&&!_0x2f6216?-0x1:_0x2f6216&&!_0x3f9c5f?0x1:_0x3f9c5f||_0x2f6216?_0x3f9c5f['title']&&!_0x2f6216['title']?-0x1:!_0x3f9c5f['title']&&_0x2f6216['title']?0x1:0x0:0x0;};}(_0x581226));return this['items']['clear'](),this['items']['addMany'](_0x4ab320),{'resultsCount':_0x581226['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1296f4=this['items']['map'](_0x5c938d=>_0x5c938d)['sort'](j);return _0x1296f4['forEach'](_0x2363b3=>{_0x2363b3['isVisible']=!0x0,_0x2363b3['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1296f4),{'resultsCount':_0x1296f4['length'],'totalItemsCount':_0x1296f4['length']};}}function j(_0x148f96,_0x43cb18){return _0x148f96['originalIndex']-_0x43cb18['originalIndex'];}class b extends _0xc30df4{['originalIndex'];['buttonView'];constructor(_0x24adc4,_0x5a7cdf){super(_0x24adc4),this['originalIndex']=_0x5a7cdf,this['buttonView']=null;}}class h extends _0x2c1b0c{['templateDefinition'];['textPartView'];constructor(_0x1a1e1d,_0x4fb39c){super(_0x1a1e1d),this['templateDefinition']=_0x4fb39c,this['textPartView']=null;const {icon:_0x43d898=_0x16b302}=_0x4fb39c;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x43d898}),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'](_0x3eb46c){const {title:_0x9f4f63,description:_0x3adefc}=this['templateDefinition'],_0x43d25f=!!_0x9f4f63['match'](_0x3eb46c),_0x426b55=!(!_0x3adefc||!_0x3adefc['match'](_0x3eb46c));return _0x43d25f||_0x426b55?{'title':_0x43d25f,'description':_0x426b55}:null;}['highlightText'](_0x5b4e0c){this['textPartView']['highlightText'](_0x5b4e0c);}}class L extends _0x443033{constructor(_0x383c96,_0x4c2425,_0x43ed61){super(_0x383c96),this['title']=_0x4c2425['title'],this['description']=_0x4c2425['description'],this['titleView']=new _0x1160f7(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x43ed61}});const _0x4ae617=[this['titleView']];this['description']&&(this['descriptionView']=new _0x1160f7(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x4ae617['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x4ae617});}['highlightText'](_0x13e047){this['titleView']['highlightText'](_0x13e047),this['description']&&this['descriptionView']['highlightText'](_0x13e047);}}function g(_0x5f4501,_0x47e77d,..._0x303e47){const t=_0x5f4501['t'];switch(_0x47e77d){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x303e47);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',..._0x303e47);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x47e77d;}}class s extends _0xa5ebd1{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3e698e}=this,_0xa25606=_0x3e698e['config']['get']('template.definitions')||[];_0x3e698e['ui']['componentFactory']['add']('insertTemplate',_0x1ed293=>{const _0x47035f=_0x9ef94e(_0x1ed293),_0x16cef3=this['_createTemplateListView'](_0x1ed293,_0xa25606),_0x45d16d=new _0x527df1(_0x1ed293,{'filteredView':_0x16cef3,'queryView':{'label':g(_0x1ed293,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x2df884=>g(_0x1ed293,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x2df884),'secondary':g(_0x1ed293,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x1ed293,'No\x20templates\x20available.')}}}}),_0x34b63a=_0x3e698e['commands']['get']('insertTemplate');return _0x45d16d['on']('search',(_0x124de0,_0x177dee)=>{_0x177dee['query']&&_0x177dee['query']['length']&&_0x3e698e['ui']['ariaLiveAnnouncer']['announce'](g(_0x1ed293,'%0\x20templates\x20found',_0x177dee['resultsCount']));}),_0x47035f['bind']('isEnabled')['to'](_0x34b63a),_0x47035f['panelView']['children']['add'](_0x45d16d),_0x47035f['buttonView']['set']({'label':g(_0x1ed293,'Insert\x20template'),'icon':_0x2567b7,'tooltip':!0x0}),_0x47035f['on']('change:isOpen',(_0x23e358,_0x3b19e7,_0x12ef15)=>{_0x12ef15||_0x45d16d['reset']();}),_0x47035f;}),_0x3e698e['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x153c64=>{const _0x206f5f=_0x3e698e['commands']['get']('insertTemplate'),_0xa5e951=new _0x218d50(_0x153c64);_0xa5e951['buttonView']['set']({'label':g(_0x153c64,'Template'),'icon':_0x2567b7});const _0x2f53eb=new _0x541bb3(_0x153c64);if(!_0xa25606||!_0xa25606['length']){const _0x3a4fad=new _0x5a8c82(_0x153c64,_0xa5e951),_0x2ee75b=new _0xc1f8c1(_0x153c64);_0x2ee75b['set']({'label':g(_0x153c64,'No\x20templates\x20available.')}),_0x2ee75b['delegate']('execute')['to'](_0xa5e951),_0x2ee75b['on']('execute',()=>{_0x3e698e['editing']['view']['focus']();}),_0x3a4fad['children']['add'](_0x2ee75b),_0x2f53eb['items']['add'](_0x3a4fad);}for(const _0x24bb7d of _0xa25606){const _0x20af17=new _0x5a8c82(_0x153c64,_0xa5e951),_0x5c445e=new _0xc1f8c1(_0x153c64);_0x5c445e['set']({'class':'ck-template-button','label':_0x24bb7d['title'],'icon':_0x24bb7d['icon']||_0x16b302}),_0x5c445e['delegate']('execute')['to'](_0xa5e951),_0x5c445e['on']('execute',()=>{_0x3e698e['execute']('insertTemplate',_0x24bb7d['data']),_0x3e698e['editing']['view']['focus']();}),_0x20af17['children']['add'](_0x5c445e),_0x2f53eb['items']['add'](_0x20af17);}return _0xa5e951['panelView']['children']['add'](_0x2f53eb),_0xa5e951['bind']('isEnabled')['to'](_0x206f5f,'isEnabled'),_0xa5e951;});}['afterInit'](){!async function(_0x3b9c1d){const _0x5dfeb7=_0x58a349([0x49,0x4e,0x32,0x6c,0x36,0x61,0x78,0x38,0x33,0x4c,0x4f,0x53,0x7a,0x5a,0x6d,0x39,0x66,0x68,0x45,0x58,0x62,0x46,0x55,0x34,0x37,0x6a,0x70,0x4b,0x4a,0x42,0x51,0x44,0x76,0x56,0x50,0x59,0x64,0x52,0x63,0x48,0x43,0x57,0x30,0x77,0x4d,0x67,0x31,0x71,0x65,0x72,0x6b,0x6e,0x6f,0x54,0x75,0x74,0x41,0x47,0x69,0x73,0x79,0x35]),_0x1082d6=0x27eba494,_0x8c259d=0x27eccb5c^_0x1082d6,_0x2e88f4=window[_0x58a349([0x44,0x61,0x74,0x65])][_0x58a349([0x6e,0x6f,0x77])](),_0x228a89=_0x3b9c1d[_0x58a349([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3cff12=new window[(_0x58a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e6f92=>{_0x228a89[_0x58a349([0x6f,0x6e,0x63,0x65])](_0x58a349([0x72,0x65,0x61,0x64,0x79]),_0x4e6f92);}),_0x282126={[_0x58a349([0x6b,0x74,0x79])]:_0x58a349([0x45,0x43]),[_0x58a349([0x75,0x73,0x65])]:_0x58a349([0x73,0x69,0x67]),[_0x58a349([0x63,0x72,0x76])]:_0x58a349([0x50,0x2d,0x32,0x35,0x36]),[_0x58a349([0x78])]:_0x58a349([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]),[_0x58a349([0x79])]:_0x58a349([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]),[_0x58a349([0x61,0x6c,0x67])]:_0x58a349([0x45,0x53,0x32,0x35,0x36])},_0x5d82bc=_0x228a89[_0x58a349([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x58a349([0x67,0x65,0x74])](_0x58a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x465ab2(){let _0x5df817,_0x7159cb=null,_0xe30f18=null;try{if(_0x5d82bc==_0x58a349([0x47,0x50,0x4c]))return _0x58a349([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5df817=_0x1ba96b(),!_0x5df817)return _0x58a349([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5df817[_0x58a349([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe30f18=_0x4fa50a(_0x5df817[_0x58a349([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5df817[_0x58a349([0x6a,0x74,0x69])])),await _0x2d736d()?_0x8b18fa()?_0x46e8af()?_0x58a349([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19e021()?(_0x5df817[_0x58a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58a349([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7159cb=_0x109c88(_0x58a349([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5df817[_0x58a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58a349([0x74,0x72,0x69,0x61,0x6c])&&(_0x7159cb=_0x109c88(_0x58a349([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2237ec()):_0x58a349([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x58a349([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x58a349([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x58a349([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46e8af(){const _0x1ec0ab=[_0x58a349([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x58a349([0x74,0x72,0x69,0x61,0x6c])][_0x58a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5df817[_0x58a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e88f4/0x3e8:0xe10*_0x8c259d;return _0x5df817[_0x58a349([0x65,0x78,0x70])]<_0x1ec0ab;}function _0x8b18fa(){const _0x30ae5f=_0x5df817[_0x58a349([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30ae5f&&(!!_0x30ae5f[_0x58a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58a349([0x2a]))||(!!_0x30ae5f[_0x58a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58a349([0x54,0x50,0x4c]))||(!!_0x30ae5f[_0x58a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58a349([0x50,0x50]))||!(!_0x30ae5f[_0x58a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58a349([0x44,0x52,0x55,0x50]))||!_0xbd6a1f()))));}function _0x19e021(){const _0x1651c9=_0x5df817[_0x58a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1651c9||0x0==_0x1651c9[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe5832a}=new URL(window[_0x58a349([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1651c9[_0x58a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5832a))return!0x0;const _0x3ff081=_0xe5832a[_0x58a349([0x73,0x70,0x6c,0x69,0x74])](_0x58a349([0x2e]));return _0x1651c9[_0x58a349([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c219b=>_0x5c219b[_0x58a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58a349([0x2a])))[_0x58a349([0x6d,0x61,0x70])](_0x5969a1=>_0x5969a1[_0x58a349([0x73,0x70,0x6c,0x69,0x74])](_0x58a349([0x2e])))[_0x58a349([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4472bf=>_0x4472bf[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3ff081[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58a349([0x6d,0x61,0x70])](_0x2563b6=>Array(_0x3ff081[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2563b6[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58a349([0x66,0x69,0x6c,0x6c])](_0x2563b6[0x0]===_0x58a349([0x2a])?_0x58a349([0x2a]):'')[_0x58a349([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2563b6))[_0x58a349([0x73,0x6f,0x6d,0x65])](_0x346b97=>_0x3ff081[_0x58a349([0x65,0x76,0x65,0x72,0x79])]((_0x313aec,_0x330f61)=>_0x346b97[_0x330f61]===_0x313aec||_0x346b97[_0x330f61]===_0x58a349([0x2a])));}function _0x2237ec(){return _0x7159cb&&_0xe30f18?new window[(_0x58a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5824dd,_0x440a2e)=>{_0x7159cb[_0x58a349([0x74,0x68,0x65,0x6e])](_0x5824dd,_0x440a2e),_0xe30f18[_0x58a349([0x74,0x68,0x65,0x6e])](_0xcd7074=>{_0xcd7074!=_0x58a349([0x56,0x61,0x6c,0x69,0x64])&&_0x5824dd(_0xcd7074);},_0x440a2e);}):_0x7159cb||_0xe30f18||_0x58a349([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4fa50a(_0x4f99b7,_0x5506f0){return new window[(_0x58a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e7ff7=>{if(_0x67375a())return _0x4e7ff7(_0x58a349([0x56,0x61,0x6c,0x69,0x64]));_0x4d4ad2(),_0x228a89[_0x58a349([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x58a349([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5dc3ba=!0x1;const _0x15aec7=_0x1d64da();function _0x4eb63e(_0x127675){return!!_0x127675&&(typeof _0x127675===_0x58a349([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x127675===_0x58a349([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x127675[_0x58a349([0x74,0x68,0x65,0x6e])]===_0x58a349([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x127675[_0x58a349([0x63,0x61,0x74,0x63,0x68])]===_0x58a349([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f3fac(_0x3773c1){_0x5953ec(_0x3773c1)[_0x58a349([0x74,0x68,0x65,0x6e])](_0xbc11ea=>{if(!_0xbc11ea||_0xbc11ea[_0x58a349([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x58a349([0x6f,0x6b]))return _0x58a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51a2dd(_0x56ba5d(_0x15aec7+_0x5506f0))!=_0xbc11ea[_0x58a349([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x58a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x58a349([0x56,0x61,0x6c,0x69,0x64]);})[_0x58a349([0x74,0x68,0x65,0x6e])](_0x38c9b7=>(_0x2ff94a(),_0x38c9b7),()=>{const _0x3363ef=_0x1c211f();return null==_0x3363ef?(_0x2ff94a(),_0x58a349([0x56,0x61,0x6c,0x69,0x64])):_0x58a349(_0x2e88f4-_0x3363ef>(0x3e72094^_0x1082d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x58a349([0x74,0x68,0x65,0x6e])](_0x4e7ff7)[_0x58a349([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e7ff7(_0x58a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1dd97e=0x27dd4a14^_0x1082d6;function _0x2ff94a(){const _0x3f6e9b=_0x58a349([0x6c,0x6c,0x63,0x74,0x2d])+_0x51a2dd(_0x56ba5d(_0x4f99b7)),_0x5e4bdf=_0x286a55(_0x51a2dd(window[_0x58a349([0x4d,0x61,0x74,0x68])][_0x58a349([0x63,0x65,0x69,0x6c])](_0x2e88f4/_0x1dd97e)));window[_0x58a349([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58a349([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f6e9b,_0x5e4bdf);}function _0x1c211f(){const _0x4a1a66=_0x58a349([0x6c,0x6c,0x63,0x74,0x2d])+_0x51a2dd(_0x56ba5d(_0x4f99b7)),_0xb313b=window[_0x58a349([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58a349([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a1a66);return _0xb313b?window[_0x58a349([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x286a55(_0xb313b),0x10)*_0x1dd97e:null;}function _0x5953ec(_0x4b4deb){return new window[(_0x58a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c67f9,_0x12e9fe)=>{_0x4b4deb[_0x58a349([0x74,0x68,0x65,0x6e])](_0x5c67f9,_0x12e9fe),window[_0x58a349([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12e9fe,0x27ea7054^_0x1082d6);});}}_0x228a89[_0x58a349([0x6f,0x6e])](_0x58a349([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ed84f,_0x4cbf0a)=>{if(_0x4cbf0a[0x0]!=_0x4f99b7)return _0x4e7ff7(_0x58a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4cbf0a[0x1]={..._0x4cbf0a[0x1],[_0x58a349([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15aec7};},{[_0x58a349([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58a349([0x68,0x69,0x67,0x68])}),_0x228a89[_0x58a349([0x6f,0x6e])](_0x58a349([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17e9a9=>{_0x4eb63e(_0x17e9a9[_0x58a349([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5dc3ba=!0x0,_0x4f3fac(_0x17e9a9[_0x58a349([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x58a349([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58a349([0x6c,0x6f,0x77])}),_0x3cff12[_0x58a349([0x74,0x68,0x65,0x6e])](()=>{_0x5dc3ba||_0x4e7ff7(_0x58a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x67375a(){return _0x228a89[_0x58a349([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58a349([0x76,0x69,0x65,0x77])][_0x58a349([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x58a349([0x61,0x75,0x74,0x6f]);}function _0x4d4ad2(){_0x228a89[_0x58a349([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58a349([0x76,0x69,0x65,0x77])][_0x58a349([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x58a349([0x61,0x75,0x74,0x6f]);}}function _0x109c88(_0x2660cb){const _0x4acb49=[new window[(_0x58a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x471a74=>setTimeout(_0x471a74,0x27e29a58^_0x1082d6)),_0x3cff12[_0x58a349([0x74,0x68,0x65,0x6e])](()=>new window[(_0x58a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x492f02=>{let _0xd3858e=0x0;_0x228a89[_0x58a349([0x6d,0x6f,0x64,0x65,0x6c])][_0x58a349([0x6f,0x6e])](_0x58a349([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57d183,_0x530e74)=>{_0x530e74[0x0][_0x58a349([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd3858e++,_0xd3858e==(0x27eba56c^_0x1082d6)&&(_0x492f02(),_0x57d183[_0x58a349([0x6f,0x66,0x66])]());});}))];return window[_0x58a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x58a349([0x72,0x61,0x63,0x65])](_0x4acb49)[_0x58a349([0x74,0x68,0x65,0x6e])](()=>_0x2660cb);}async function _0x398f9f(){await _0x3cff12,_0x228a89[_0x58a349([0x6d,0x6f,0x64,0x65,0x6c])][_0x58a349([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2beb39,_0x228a89[_0x58a349([0x6d,0x6f,0x64,0x65,0x6c])][_0x58a349([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2beb39,_0x228a89[_0x58a349([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x58a349([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xbd6a1f(){return window[_0x58a349([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3a79a1(_0x1df8c1){const _0x40e039=_0x547d24();_0x228a89[_0x40e039]=_0x58a349([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1df8c1,_0x1df8c1!=_0x58a349([0x56,0x61,0x6c,0x69,0x64])&&_0x398f9f();}function _0x547d24(){const _0x1cb163=window[_0x58a349([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x58a349([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x58a349([0x6e,0x6f,0x77])]())[_0x58a349([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x58a349([0x2e]),'');let _0x100639=_0x58a349([0x49]);for(let _0x512417=0x0;_0x512417<_0x1cb163[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x512417+=0x2){let _0x5c0376=window[_0x58a349([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cb163[_0x58a349([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x512417,_0x512417+0x2));_0x5c0376>=_0x5dfeb7[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c0376-=_0x5dfeb7[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x100639+=_0x5dfeb7[_0x5c0376];}return _0x100639;}function _0x1ba96b(){const _0x4ad398=_0x5d82bc[_0x58a349([0x73,0x70,0x6c,0x69,0x74])](_0x58a349([0x2e]));if(0x3!=_0x4ad398[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x598cf8(_0x4ad398[0x1]);function _0x598cf8(_0x29ce46){const _0x200b86=_0x2d5b04(_0x29ce46);return _0x200b86&&_0x2cc4bb()?_0x200b86:null;function _0x2cc4bb(){const _0x40b83c=_0x200b86[_0x58a349([0x6a,0x74,0x69])],_0x28610e=window[_0x58a349([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40b83c[_0x58a349([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40b83c[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bd0bc={..._0x200b86,[_0x58a349([0x6a,0x74,0x69])]:_0x40b83c[_0x58a349([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40b83c[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bd0bc[_0x58a349([0x76,0x63])],_0x56ba5d(_0x4bd0bc)==_0x28610e;}}}async function _0x2d736d(){let _0x2d2d41=!0x0;try{const _0x516f9c=_0x5d82bc[_0x58a349([0x73,0x70,0x6c,0x69,0x74])](_0x58a349([0x2e])),[_0x18e9e4,_0x5d238b,_0x38386b]=_0x516f9c;return _0x3f3111(_0x18e9e4),await _0x2639c9(_0x18e9e4,_0x5d238b,_0x38386b),_0x2d2d41;}catch{return!0x1;}function _0x3f3111(_0xf10c73){const _0x12c58b=_0x2d5b04(_0xf10c73);_0x12c58b&&_0x12c58b[_0x58a349([0x61,0x6c,0x67])]==_0x58a349([0x45,0x53,0x32,0x35,0x36])||(_0x2d2d41=!0x1);}async function _0x2639c9(_0x4da939,_0x59ac3f,_0x1a9888){const _0x21f3ab=window[_0x58a349([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x58a349([0x66,0x72,0x6f,0x6d])](_0x13de27(_0x1a9888),_0x46ae49=>_0x46ae49[_0x58a349([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x205ee4=new window[(_0x58a349([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x58a349([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4da939+_0x58a349([0x2e])+_0x59ac3f),_0x1f811a=window[_0x58a349([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x58a349([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f811a)return;const _0x247c78=await _0x1f811a[_0x58a349([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x58a349([0x6a,0x77,0x6b]),_0x282126,{[_0x58a349([0x6e,0x61,0x6d,0x65])]:_0x58a349([0x45,0x43,0x44,0x53,0x41]),[_0x58a349([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x58a349([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x58a349([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f811a[_0x58a349([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x58a349([0x6e,0x61,0x6d,0x65])]:_0x58a349([0x45,0x43,0x44,0x53,0x41]),[_0x58a349([0x68,0x61,0x73,0x68])]:{[_0x58a349([0x6e,0x61,0x6d,0x65])]:_0x58a349([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x247c78,_0x21f3ab,_0x205ee4)||(_0x2d2d41=!0x1);}}function _0x2d5b04(_0x3643e3){return _0x3643e3[_0x58a349([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x58a349([0x65,0x79]))?JSON[_0x58a349([0x70,0x61,0x72,0x73,0x65])](_0x13de27(_0x3643e3)):null;}function _0x13de27(_0x3b98fb){return window[_0x58a349([0x61,0x74,0x6f,0x62])](_0x3b98fb[_0x58a349([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x58a349([0x2b]))[_0x58a349([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x58a349([0x2f])));}function _0x56ba5d(_0x9a8b3c){let _0x377fe6=0x1505;function _0x119908(_0x2abebd){for(let _0xf7f687=0x0;_0xf7f687<_0x2abebd[_0x58a349([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf7f687++){const _0x493668=_0x2abebd[_0x58a349([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf7f687);_0x377fe6=(_0x377fe6<<0x5)+_0x377fe6+_0x493668,_0x377fe6&=_0x377fe6;}}function _0x605921(_0x3870e4){Array[_0x58a349([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3870e4)?_0x3870e4[_0x58a349([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x605921):_0x3870e4&&typeof _0x3870e4==_0x58a349([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x58a349([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3870e4)[_0x58a349([0x73,0x6f,0x72,0x74])]()[_0x58a349([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f289c,_0x3468c4])=>{_0x119908(_0x5f289c),_0x605921(_0x3468c4);}):_0x119908(window[_0x58a349([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3870e4));}return _0x605921(_0x9a8b3c),_0x377fe6>>>0x0;}function _0x51a2dd(_0x5c1f59){return _0x5c1f59[_0x58a349([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x58a349([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x58a349([0x30]));}function _0x286a55(_0x72ed63){return _0x72ed63[_0x58a349([0x73,0x70,0x6c,0x69,0x74])]('')[_0x58a349([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x58a349([0x6a,0x6f,0x69,0x6e])]('');}function _0x2beb39(){}function _0x58a349(_0x181b4b){return _0x181b4b['map'](_0x888237=>String['fromCharCode'](_0x888237))['join']('');}_0x3a79a1(await _0x465ab2());}(this);}['_createTemplateListView'](_0x2f5b43,_0x202549){const {editor:_0x4e2e8b}=this,_0x49c167=new y(_0x2f5b43);return _0x49c167['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x49c167['items']['addMany'](_0x202549['map']((_0x3bddc,_0x32dedb)=>{const _0x3d610e=new b(_0x2f5b43,_0x32dedb),_0xe01569=new h(_0x2f5b43,_0x3bddc);return _0x3d610e['buttonView']=_0xe01569,_0x3d610e['children']['add'](_0xe01569),_0x3d610e['buttonView']['on']('execute',_0x3e468b=>{_0x4e2e8b['execute']('insertTemplate',_0x3e468b['source']['templateDefinition']['data']),_0x4e2e8b['editing']['view']['focus']();}),_0x3d610e;})),_0x49c167;}}class K extends _0xa5ebd1{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.9",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
29
|
-
"ckeditor5": "46.0.1-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.9",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.9",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.9",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.9",
|
|
29
|
+
"ckeditor5": "46.0.1-alpha.9"
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
32
|
"author": "CKSource (http://cksource.com/)",
|
package/src/templateui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x19fac5=_0xa417;(function(_0x178844,_0x545b4e){const _0x5c0a8d=_0xa417,_0x1acbc4=_0x178844();while(!![]){try{const _0x1a50ee=-parseInt(_0x5c0a8d(0x1a5))/0x1+parseInt(_0x5c0a8d(0x195))/0x2+-parseInt(_0x5c0a8d(0x1b6))/0x3*(-parseInt(_0x5c0a8d(0x1b4))/0x4)+-parseInt(_0x5c0a8d(0x1ae))/0x5*(parseInt(_0x5c0a8d(0x18b))/0x6)+parseInt(_0x5c0a8d(0x1b9))/0x7*(parseInt(_0x5c0a8d(0x1c1))/0x8)+parseInt(_0x5c0a8d(0x190))/0x9+-parseInt(_0x5c0a8d(0x19d))/0xa;if(_0x1a50ee===_0x545b4e)break;else _0x1acbc4['push'](_0x1acbc4['shift']());}catch(_0x3d7a9c){_0x1acbc4['push'](_0x1acbc4['shift']());}}}(_0xf8a0,0xdfc5e));import{Plugin as _0x2dea9c}from'ckeditor5/src/core.js';function _0xf8a0(){const _0x39c264=['buttonView','execute','commands','join','TemplateUI','ck-template-button','24736830ClOolA','map','Template','icon','add','insertTemplate','change:isOpen','bind','68084HIrcKk','isPremiumPlugin','editing','children','pluginName','set','extendTemplate','focus','componentFactory','15YAnXcX','Insert\x20template','source','init','%0\x20templates\x20found','get','490516KlQEYj','No\x20templates\x20available.','21UERvBs','panelView','title','7bYjosF','isEnabled','afterInit','resultsCount','ck-template-form','templateDefinition','view','menuBar:insertTemplate','12936608VtAojS','isOfficialPlugin','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','template.definitions','announce','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','data','addMany','ck-template-list','delegate','Search\x20template','_createTemplateListView','length','1625478rDInYa','fromCharCode','ariaLiveAnnouncer','href','items','7982685SVfOdy','reset','query','search','config','1817272mnOvfe','listbox'];_0xf8a0=function(){return _0x39c264;};return _0xf8a0();}import{IconTemplate as _0x579713,IconTemplateGeneric as _0x13d9fd}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x1a0f22,MenuBarMenuListItemView as _0x1bf168,MenuBarMenuListView as _0x524f83,MenuBarMenuView as _0x41cbe7,SearchTextView as _0x8bc866,createDropdown as _0x357353}from'ckeditor5/src/ui.js';import{uid as _0x546350}from'ckeditor5/src/utils.js';import{TemplateListView as _0xc12737}from'./ui/templatelistview.js';import{TemplateListItemView as _0x528edf}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x397c42}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x1bff95}from'./utils/common-translations.js';import'../theme/template.css';function _0xa417(_0x355175,_0x1dacc8){const _0xf8a03a=_0xf8a0();return _0xa417=function(_0xa4171d,_0x30e07c){_0xa4171d=_0xa4171d-0x188;let _0x3e5d09=_0xf8a03a[_0xa4171d];return _0x3e5d09;},_0xa417(_0x355175,_0x1dacc8);}export class TemplateUI extends _0x2dea9c{static get[_0x19fac5(0x1a9)](){const _0xfe9653=_0x19fac5;return _0xfe9653(0x19b);}static get[_0x19fac5(0x1c2)](){return!0x0;}static get[_0x19fac5(0x1a6)](){return!0x0;}[_0x19fac5(0x1b1)](){const _0x1f0266=_0x19fac5,{editor:_0x57d0b4}=this,_0x2c2661=_0x57d0b4[_0x1f0266(0x194)][_0x1f0266(0x1b3)](_0x1f0266(0x1c4))||[];_0x57d0b4['ui'][_0x1f0266(0x1ad)][_0x1f0266(0x1a1)](_0x1f0266(0x1a2),_0x41f488=>{const _0x354445=_0x1f0266,_0x1fee30=_0x357353(_0x41f488),_0xa98182=this[_0x354445(0x189)](_0x41f488,_0x2c2661),_0x1ffee7=new _0x8bc866(_0x41f488,{'filteredView':_0xa98182,'queryView':{'label':_0x1bff95(_0x41f488,_0x354445(0x188))},'class':_0x354445(0x1bd),'infoView':{'text':{'notFound':{'primary':_0xed1e54=>_0x1bff95(_0x41f488,_0x354445(0x1c6),_0xed1e54),'secondary':_0x1bff95(_0x41f488,_0x354445(0x1c3))},'noSearchableItems':{'primary':_0x1bff95(_0x41f488,_0x354445(0x1b5))}}}}),_0x422558=_0x57d0b4[_0x354445(0x199)][_0x354445(0x1b3)](_0x354445(0x1a2));return _0x1ffee7['on'](_0x354445(0x193),(_0x3f3fe7,_0xc22fc)=>{const _0x50b155=_0x354445;_0xc22fc[_0x50b155(0x192)]&&_0xc22fc[_0x50b155(0x192)][_0x50b155(0x18a)]&&_0x57d0b4['ui'][_0x50b155(0x18d)][_0x50b155(0x1c5)](_0x1bff95(_0x41f488,_0x50b155(0x1b2),_0xc22fc[_0x50b155(0x1bc)]));}),_0x1fee30[_0x354445(0x1a4)](_0x354445(0x1ba))['to'](_0x422558),_0x1fee30[_0x354445(0x1b7)][_0x354445(0x1a8)][_0x354445(0x1a1)](_0x1ffee7),_0x1fee30[_0x354445(0x197)][_0x354445(0x1aa)]({'label':_0x1bff95(_0x41f488,_0x354445(0x1af)),'icon':_0x579713,'tooltip':!0x0}),_0x1fee30['on'](_0x354445(0x1a3),(_0x5b6c2c,_0x53eb8b,_0x253d8a)=>{const _0x5ed525=_0x354445;_0x253d8a||_0x1ffee7[_0x5ed525(0x191)]();}),_0x1fee30;}),_0x57d0b4['ui'][_0x1f0266(0x1ad)][_0x1f0266(0x1a1)](_0x1f0266(0x1c0),_0x456cd=>{const _0x2f2275=_0x1f0266,_0x4b80f3=_0x57d0b4[_0x2f2275(0x199)][_0x2f2275(0x1b3)](_0x2f2275(0x1a2)),_0x3205e7=new _0x41cbe7(_0x456cd);_0x3205e7[_0x2f2275(0x197)][_0x2f2275(0x1aa)]({'label':_0x1bff95(_0x456cd,_0x2f2275(0x19f)),'icon':_0x579713});const _0x2a5de7=new _0x524f83(_0x456cd);if(!_0x2c2661||!_0x2c2661[_0x2f2275(0x18a)]){const _0x4ebbd5=new _0x1bf168(_0x456cd,_0x3205e7),_0x40cb40=new _0x1a0f22(_0x456cd);_0x40cb40[_0x2f2275(0x1aa)]({'label':_0x1bff95(_0x456cd,_0x2f2275(0x1b5))}),_0x40cb40[_0x2f2275(0x1ca)](_0x2f2275(0x198))['to'](_0x3205e7),_0x40cb40['on'](_0x2f2275(0x198),()=>{const _0x448d00=_0x2f2275;_0x57d0b4[_0x448d00(0x1a7)][_0x448d00(0x1bf)][_0x448d00(0x1ac)]();}),_0x4ebbd5[_0x2f2275(0x1a8)][_0x2f2275(0x1a1)](_0x40cb40),_0x2a5de7[_0x2f2275(0x18f)][_0x2f2275(0x1a1)](_0x4ebbd5);}for(const _0x5342b4 of _0x2c2661){const _0x3b92b4=new _0x1bf168(_0x456cd,_0x3205e7),_0x5e2cad=new _0x1a0f22(_0x456cd);_0x5e2cad[_0x2f2275(0x1aa)]({'class':_0x2f2275(0x19c),'label':_0x5342b4[_0x2f2275(0x1b8)],'icon':_0x5342b4[_0x2f2275(0x1a0)]||_0x13d9fd}),_0x5e2cad[_0x2f2275(0x1ca)](_0x2f2275(0x198))['to'](_0x3205e7),_0x5e2cad['on'](_0x2f2275(0x198),()=>{const _0x58972f=_0x2f2275;_0x57d0b4[_0x58972f(0x198)](_0x58972f(0x1a2),_0x5342b4[_0x58972f(0x1c7)]),_0x57d0b4[_0x58972f(0x1a7)][_0x58972f(0x1bf)][_0x58972f(0x1ac)]();}),_0x3b92b4[_0x2f2275(0x1a8)][_0x2f2275(0x1a1)](_0x5e2cad),_0x2a5de7[_0x2f2275(0x18f)][_0x2f2275(0x1a1)](_0x3b92b4);}return _0x3205e7[_0x2f2275(0x1b7)][_0x2f2275(0x1a8)][_0x2f2275(0x1a1)](_0x2a5de7),_0x3205e7[_0x2f2275(0x1a4)](_0x2f2275(0x1ba))['to'](_0x4b80f3,_0x2f2275(0x1ba)),_0x3205e7;});}[_0x19fac5(0x1bb)](){!async function(_0x5c17a3){const _0xe62690=_0x15ce3d([0x5a,0x72,0x4a,0x6a,0x4b,0x4c,0x69,0x76,0x45,0x70,0x47,0x4e,0x53,0x57,0x68,0x51,0x31,0x71,0x64,0x54,0x79,0x61,0x6d,0x32,0x67,0x55,0x66,0x6b,0x42,0x75,0x6f,0x78,0x43,0x77,0x56,0x50,0x41,0x44,0x39,0x37,0x73,0x58,0x30,0x33,0x7a,0x74,0x63,0x59,0x46,0x48,0x6c,0x49,0x52,0x4f,0x4d,0x36,0x6e,0x38,0x65,0x34,0x35,0x62]),_0xfeb73b=0x6e610a7b,_0x2ab216=0x6e6665cb^_0xfeb73b,_0x268386=window[_0x15ce3d([0x44,0x61,0x74,0x65])][_0x15ce3d([0x6e,0x6f,0x77])](),_0x13263d=_0x5c17a3[_0x15ce3d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e1d9d=new window[(_0x15ce3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x784da3=>{_0x13263d[_0x15ce3d([0x6f,0x6e,0x63,0x65])](_0x15ce3d([0x72,0x65,0x61,0x64,0x79]),_0x784da3);}),_0x41cacc={[_0x15ce3d([0x6b,0x74,0x79])]:_0x15ce3d([0x45,0x43]),[_0x15ce3d([0x75,0x73,0x65])]:_0x15ce3d([0x73,0x69,0x67]),[_0x15ce3d([0x63,0x72,0x76])]:_0x15ce3d([0x50,0x2d,0x32,0x35,0x36]),[_0x15ce3d([0x78])]:_0x15ce3d([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]),[_0x15ce3d([0x79])]:_0x15ce3d([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]),[_0x15ce3d([0x61,0x6c,0x67])]:_0x15ce3d([0x45,0x53,0x32,0x35,0x36])},_0x5321d0=_0x13263d[_0x15ce3d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15ce3d([0x67,0x65,0x74])](_0x15ce3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x247445(){let _0x2ae9fd,_0x561770=null,_0x245f76=null;try{if(_0x5321d0==_0x15ce3d([0x47,0x50,0x4c]))return _0x15ce3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ae9fd=_0x337fa9(),!_0x2ae9fd)return _0x15ce3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ae9fd[_0x15ce3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x245f76=_0x33714d(_0x2ae9fd[_0x15ce3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ae9fd[_0x15ce3d([0x6a,0x74,0x69])])),await _0x4ba695()?_0x353a1f()?_0x56dba1()?_0x15ce3d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23dc93()?(_0x2ae9fd[_0x15ce3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15ce3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x561770=_0x2626f3(_0x15ce3d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ae9fd[_0x15ce3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15ce3d([0x74,0x72,0x69,0x61,0x6c])&&(_0x561770=_0x2626f3(_0x15ce3d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x423d0b()):_0x15ce3d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15ce3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15ce3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x15ce3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56dba1(){const _0x337f0f=[_0x15ce3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15ce3d([0x74,0x72,0x69,0x61,0x6c])][_0x15ce3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ae9fd[_0x15ce3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x268386/0x3e8:0xe10*_0x2ab216;return _0x2ae9fd[_0x15ce3d([0x65,0x78,0x70])]<_0x337f0f;}function _0x353a1f(){const _0x548794=_0x2ae9fd[_0x15ce3d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x548794&&(!!_0x548794[_0x15ce3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15ce3d([0x2a]))||(!!_0x548794[_0x15ce3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15ce3d([0x54,0x50,0x4c]))||(!!_0x548794[_0x15ce3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15ce3d([0x50,0x50]))||!(!_0x548794[_0x15ce3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15ce3d([0x44,0x52,0x55,0x50]))||!_0x3c3c59()))));}function _0x23dc93(){const _0xab4192=_0xa417,_0x29e658=_0x2ae9fd[_0x15ce3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29e658||0x0==_0x29e658[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x328b04}=new URL(window[_0x15ce3d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xab4192(0x18e)]);if(_0x29e658[_0x15ce3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x328b04))return!0x0;const _0x59f214=_0x328b04[_0x15ce3d([0x73,0x70,0x6c,0x69,0x74])](_0x15ce3d([0x2e]));return _0x29e658[_0x15ce3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x282fc4=>_0x282fc4[_0x15ce3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15ce3d([0x2a])))[_0x15ce3d([0x6d,0x61,0x70])](_0x7e31ac=>_0x7e31ac[_0x15ce3d([0x73,0x70,0x6c,0x69,0x74])](_0x15ce3d([0x2e])))[_0x15ce3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29e52e=>_0x29e52e[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59f214[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x15ce3d([0x6d,0x61,0x70])](_0x410285=>Array(_0x59f214[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x410285[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x15ce3d([0x66,0x69,0x6c,0x6c])](_0x410285[0x0]===_0x15ce3d([0x2a])?_0x15ce3d([0x2a]):'')[_0x15ce3d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x410285))[_0x15ce3d([0x73,0x6f,0x6d,0x65])](_0x248723=>_0x59f214[_0x15ce3d([0x65,0x76,0x65,0x72,0x79])]((_0x2f1581,_0x566b62)=>_0x248723[_0x566b62]===_0x2f1581||_0x248723[_0x566b62]===_0x15ce3d([0x2a])));}function _0x423d0b(){return _0x561770&&_0x245f76?new window[(_0x15ce3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a7274,_0x55a33e)=>{_0x561770[_0x15ce3d([0x74,0x68,0x65,0x6e])](_0x5a7274,_0x55a33e),_0x245f76[_0x15ce3d([0x74,0x68,0x65,0x6e])](_0x486d73=>{_0x486d73!=_0x15ce3d([0x56,0x61,0x6c,0x69,0x64])&&_0x5a7274(_0x486d73);},_0x55a33e);}):_0x561770||_0x245f76||_0x15ce3d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33714d(_0x47bab4,_0x44ece8){return new window[(_0x15ce3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388878=>{if(_0x2566c4())return _0x388878(_0x15ce3d([0x56,0x61,0x6c,0x69,0x64]));_0x35cda3(),_0x13263d[_0x15ce3d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15ce3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33ed25=!0x1;const _0x1434cb=_0x546350();function _0x2af262(_0x18427a){return!!_0x18427a&&(typeof _0x18427a===_0x15ce3d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18427a===_0x15ce3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18427a[_0x15ce3d([0x74,0x68,0x65,0x6e])]===_0x15ce3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18427a[_0x15ce3d([0x63,0x61,0x74,0x63,0x68])]===_0x15ce3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3486c1(_0x4fda42){_0x3f75c8(_0x4fda42)[_0x15ce3d([0x74,0x68,0x65,0x6e])](_0x746eaa=>{if(!_0x746eaa||_0x746eaa[_0x15ce3d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15ce3d([0x6f,0x6b]))return _0x15ce3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x48556a(_0x594cab(_0x1434cb+_0x44ece8))!=_0x746eaa[_0x15ce3d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15ce3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15ce3d([0x56,0x61,0x6c,0x69,0x64]);})[_0x15ce3d([0x74,0x68,0x65,0x6e])](_0x3a223a=>(_0x158dbb(),_0x3a223a),()=>{const _0xe5b4c6=_0x485991();return null==_0xe5b4c6?(_0x158dbb(),_0x15ce3d([0x56,0x61,0x6c,0x69,0x64])):_0x15ce3d(_0x268386-_0xe5b4c6>(0x4a6d8e7b^_0xfeb73b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15ce3d([0x74,0x68,0x65,0x6e])](_0x388878)[_0x15ce3d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x388878(_0x15ce3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e0fe5=0x6e57e4fb^_0xfeb73b;function _0x158dbb(){const _0x4e0833=_0x15ce3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x48556a(_0x594cab(_0x47bab4)),_0x2c0b7d=_0x525748(_0x48556a(window[_0x15ce3d([0x4d,0x61,0x74,0x68])][_0x15ce3d([0x63,0x65,0x69,0x6c])](_0x268386/_0x2e0fe5)));window[_0x15ce3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15ce3d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e0833,_0x2c0b7d);}function _0x485991(){const _0x34e745=_0x15ce3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x48556a(_0x594cab(_0x47bab4)),_0x135334=window[_0x15ce3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15ce3d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34e745);return _0x135334?window[_0x15ce3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x525748(_0x135334),0x10)*_0x2e0fe5:null;}function _0x3f75c8(_0x1a46bc){return new window[(_0x15ce3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x424025,_0x535725)=>{_0x1a46bc[_0x15ce3d([0x74,0x68,0x65,0x6e])](_0x424025,_0x535725),window[_0x15ce3d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x535725,0x6e60debb^_0xfeb73b);});}}_0x13263d[_0x15ce3d([0x6f,0x6e])](_0x15ce3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bf748,_0x368aa6)=>{if(_0x368aa6[0x0]!=_0x47bab4)return _0x388878(_0x15ce3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x368aa6[0x1]={..._0x368aa6[0x1],[_0x15ce3d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1434cb};},{[_0x15ce3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15ce3d([0x68,0x69,0x67,0x68])}),_0x13263d[_0x15ce3d([0x6f,0x6e])](_0x15ce3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x380832=>{_0x2af262(_0x380832[_0x15ce3d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33ed25=!0x0,_0x3486c1(_0x380832[_0x15ce3d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15ce3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15ce3d([0x6c,0x6f,0x77])}),_0x3e1d9d[_0x15ce3d([0x74,0x68,0x65,0x6e])](()=>{_0x33ed25||_0x388878(_0x15ce3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2566c4(){return _0x13263d[_0x15ce3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15ce3d([0x76,0x69,0x65,0x77])][_0x15ce3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15ce3d([0x61,0x75,0x74,0x6f]);}function _0x35cda3(){_0x13263d[_0x15ce3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15ce3d([0x76,0x69,0x65,0x77])][_0x15ce3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15ce3d([0x61,0x75,0x74,0x6f]);}}function _0x2626f3(_0x548df3){const _0x1bf56c=[new window[(_0x15ce3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cc46d=>setTimeout(_0x4cc46d,0x6e6834b7^_0xfeb73b)),_0x3e1d9d[_0x15ce3d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15ce3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x614a2e=>{let _0x1da61f=0x0;_0x13263d[_0x15ce3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x15ce3d([0x6f,0x6e])](_0x15ce3d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x37a6ad,_0x25070a)=>{_0x25070a[0x0][_0x15ce3d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1da61f++,_0x1da61f==(0x6e610b83^_0xfeb73b)&&(_0x614a2e(),_0x37a6ad[_0x15ce3d([0x6f,0x66,0x66])]());});}))];return window[_0x15ce3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15ce3d([0x72,0x61,0x63,0x65])](_0x1bf56c)[_0x15ce3d([0x74,0x68,0x65,0x6e])](()=>_0x548df3);}async function _0x1a32b2(){await _0x3e1d9d,_0x13263d[_0x15ce3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x15ce3d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb0603b,_0x13263d[_0x15ce3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x15ce3d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb0603b,_0x13263d[_0x15ce3d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15ce3d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c3c59(){return window[_0x15ce3d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x9cda5b(_0x3f380b){const _0x29db74=_0x178c95();_0x13263d[_0x29db74]=_0x15ce3d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f380b,_0x3f380b!=_0x15ce3d([0x56,0x61,0x6c,0x69,0x64])&&_0x1a32b2();}function _0x178c95(){const _0x2ab435=window[_0x15ce3d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15ce3d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15ce3d([0x6e,0x6f,0x77])]())[_0x15ce3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15ce3d([0x2e]),'');let _0x5d8d84=_0x15ce3d([0x5a]);for(let _0x408677=0x0;_0x408677<_0x2ab435[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x408677+=0x2){let _0x230035=window[_0x15ce3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ab435[_0x15ce3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x408677,_0x408677+0x2));_0x230035>=_0xe62690[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x230035-=_0xe62690[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d8d84+=_0xe62690[_0x230035];}return _0x5d8d84;}function _0x337fa9(){const _0x28e2c3=_0x5321d0[_0x15ce3d([0x73,0x70,0x6c,0x69,0x74])](_0x15ce3d([0x2e]));if(0x3!=_0x28e2c3[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x484376(_0x28e2c3[0x1]);function _0x484376(_0x2e1415){const _0x484c6c=_0x2df2cf(_0x2e1415);return _0x484c6c&&_0x3a88c3()?_0x484c6c:null;function _0x3a88c3(){const _0x5d7146=_0x484c6c[_0x15ce3d([0x6a,0x74,0x69])],_0x2c0e43=window[_0x15ce3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d7146[_0x15ce3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d7146[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d97b2={..._0x484c6c,[_0x15ce3d([0x6a,0x74,0x69])]:_0x5d7146[_0x15ce3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d7146[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d97b2[_0x15ce3d([0x76,0x63])],_0x594cab(_0x1d97b2)==_0x2c0e43;}}}async function _0x4ba695(){let _0x2e6504=!0x0;try{const _0x4d1aa9=_0x5321d0[_0x15ce3d([0x73,0x70,0x6c,0x69,0x74])](_0x15ce3d([0x2e])),[_0x43b407,_0x565b91,_0x225e43]=_0x4d1aa9;return _0xc36b41(_0x43b407),await _0x59f7a3(_0x43b407,_0x565b91,_0x225e43),_0x2e6504;}catch{return!0x1;}function _0xc36b41(_0x48bdd9){const _0x8ca8cf=_0x2df2cf(_0x48bdd9);_0x8ca8cf&&_0x8ca8cf[_0x15ce3d([0x61,0x6c,0x67])]==_0x15ce3d([0x45,0x53,0x32,0x35,0x36])||(_0x2e6504=!0x1);}async function _0x59f7a3(_0x3e00fe,_0x3416f4,_0x29bc94){const _0x30c63e=window[_0x15ce3d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15ce3d([0x66,0x72,0x6f,0x6d])](_0x144a60(_0x29bc94),_0x18ca30=>_0x18ca30[_0x15ce3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x94b885=new window[(_0x15ce3d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15ce3d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e00fe+_0x15ce3d([0x2e])+_0x3416f4),_0xa6b48b=window[_0x15ce3d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15ce3d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa6b48b)return;const _0x967e2=await _0xa6b48b[_0x15ce3d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15ce3d([0x6a,0x77,0x6b]),_0x41cacc,{[_0x15ce3d([0x6e,0x61,0x6d,0x65])]:_0x15ce3d([0x45,0x43,0x44,0x53,0x41]),[_0x15ce3d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15ce3d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15ce3d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa6b48b[_0x15ce3d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15ce3d([0x6e,0x61,0x6d,0x65])]:_0x15ce3d([0x45,0x43,0x44,0x53,0x41]),[_0x15ce3d([0x68,0x61,0x73,0x68])]:{[_0x15ce3d([0x6e,0x61,0x6d,0x65])]:_0x15ce3d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x967e2,_0x30c63e,_0x94b885)||(_0x2e6504=!0x1);}}function _0x2df2cf(_0x500fec){return _0x500fec[_0x15ce3d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15ce3d([0x65,0x79]))?JSON[_0x15ce3d([0x70,0x61,0x72,0x73,0x65])](_0x144a60(_0x500fec)):null;}function _0x144a60(_0x22bcf4){return window[_0x15ce3d([0x61,0x74,0x6f,0x62])](_0x22bcf4[_0x15ce3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15ce3d([0x2b]))[_0x15ce3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15ce3d([0x2f])));}function _0x594cab(_0x400b00){let _0x546b5e=0x1505;function _0x46e0f2(_0x382b66){for(let _0x378cca=0x0;_0x378cca<_0x382b66[_0x15ce3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x378cca++){const _0x503b4e=_0x382b66[_0x15ce3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x378cca);_0x546b5e=(_0x546b5e<<0x5)+_0x546b5e+_0x503b4e,_0x546b5e&=_0x546b5e;}}function _0x279a13(_0x3e38f3){Array[_0x15ce3d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e38f3)?_0x3e38f3[_0x15ce3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x279a13):_0x3e38f3&&typeof _0x3e38f3==_0x15ce3d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15ce3d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e38f3)[_0x15ce3d([0x73,0x6f,0x72,0x74])]()[_0x15ce3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2fbc14,_0x2d0559])=>{_0x46e0f2(_0x2fbc14),_0x279a13(_0x2d0559);}):_0x46e0f2(window[_0x15ce3d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e38f3));}return _0x279a13(_0x400b00),_0x546b5e>>>0x0;}function _0x48556a(_0x48a4af){return _0x48a4af[_0x15ce3d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15ce3d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15ce3d([0x30]));}function _0x525748(_0x2ca74d){return _0x2ca74d[_0x15ce3d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15ce3d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15ce3d([0x6a,0x6f,0x69,0x6e])]('');}function _0xb0603b(){}function _0x15ce3d(_0x4aa509){const _0x5a74af=_0xa417;return _0x4aa509[_0x5a74af(0x19e)](_0x38bd27=>String[_0x5a74af(0x18c)](_0x38bd27))[_0x5a74af(0x19a)]('');}_0x9cda5b(await _0x247445());}(this);}[_0x19fac5(0x189)](_0x41d45b,_0x137c2d){const _0x3af006=_0x19fac5,{editor:_0x5bb917}=this,_0x5f1cd0=new _0xc12737(_0x41d45b);return _0x5f1cd0[_0x3af006(0x1ab)]({'attributes':{'role':_0x3af006(0x196),'class':[_0x3af006(0x1c9)]}}),_0x5f1cd0[_0x3af006(0x18f)][_0x3af006(0x1c8)](_0x137c2d[_0x3af006(0x19e)]((_0x463964,_0x25464d)=>{const _0xe46b92=_0x3af006,_0x3c7b4=new _0x528edf(_0x41d45b,_0x25464d),_0x161189=new _0x397c42(_0x41d45b,_0x463964);return _0x3c7b4[_0xe46b92(0x197)]=_0x161189,_0x3c7b4[_0xe46b92(0x1a8)][_0xe46b92(0x1a1)](_0x161189),_0x3c7b4[_0xe46b92(0x197)]['on'](_0xe46b92(0x198),_0x1fd344=>{const _0x3a1416=_0xe46b92;_0x5bb917[_0x3a1416(0x198)](_0x3a1416(0x1a2),_0x1fd344[_0x3a1416(0x1b0)][_0x3a1416(0x1be)][_0x3a1416(0x1c7)]),_0x5bb917[_0x3a1416(0x1a7)][_0x3a1416(0x1bf)][_0x3a1416(0x1ac)]();}),_0x3c7b4;})),_0x5f1cd0;}}
|
|
23
|
+
const _0x2e9641=_0x5271;(function(_0x3a05c6,_0x3eb760){const _0x57d2fa=_0x5271,_0x54c909=_0x3a05c6();while(!![]){try{const _0x4bda56=parseInt(_0x57d2fa(0x180))/0x1*(-parseInt(_0x57d2fa(0x197))/0x2)+-parseInt(_0x57d2fa(0x18c))/0x3+-parseInt(_0x57d2fa(0x166))/0x4+parseInt(_0x57d2fa(0x178))/0x5*(parseInt(_0x57d2fa(0x18d))/0x6)+-parseInt(_0x57d2fa(0x19e))/0x7+parseInt(_0x57d2fa(0x18e))/0x8+parseInt(_0x57d2fa(0x17e))/0x9;if(_0x4bda56===_0x3eb760)break;else _0x54c909['push'](_0x54c909['shift']());}catch(_0x2f4117){_0x54c909['push'](_0x54c909['shift']());}}}(_0x5cf4,0x9eeb1));import{Plugin as _0x154215}from'ckeditor5/src/core.js';import{IconTemplate as _0x37048d,IconTemplateGeneric as _0x48ce03}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x402b17,MenuBarMenuListItemView as _0x1b8ec2,MenuBarMenuListView as _0x164557,MenuBarMenuView as _0x5e870b,SearchTextView as _0x15f043,createDropdown as _0x194811}from'ckeditor5/src/ui.js';import{uid as _0x3aadce}from'ckeditor5/src/utils.js';import{TemplateListView as _0x1c3c8f}from'./ui/templatelistview.js';function _0x5cf4(){const _0x189df4=['menuBar:insertTemplate','fromCharCode','commands','editing','18pZVmYi','search','add','config','Template','children','query','6374473PQwqlA','change:isOpen','ck-template-button','templateDefinition','title','join','panelView','bind','buttonView','isEnabled','3722116yFttsc','items','template.definitions','map','isOfficialPlugin','Insert\x20template','TemplateUI','addMany','get','data','length','extendTemplate','No\x20templates\x20available.','insertTemplate','delegate','execute','_createTemplateListView','isPremiumPlugin','160hqnkCV','href','componentFactory','listbox','pluginName','view','22989168FltgJo','icon','50397BTinZa','afterInit','ck-template-form','resultsCount','focus','ck-template-list','init','reset','announce','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','set','ariaLiveAnnouncer','616086HqRRVN','8862MudMKY','4395328CfjxRN','source','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','%0\x20templates\x20found','Search\x20template'];_0x5cf4=function(){return _0x189df4;};return _0x5cf4();}function _0x5271(_0x3720d2,_0x5ef135){const _0x5cf482=_0x5cf4();return _0x5271=function(_0x5271fd,_0x268405){_0x5271fd=_0x5271fd-0x161;let _0x41bac4=_0x5cf482[_0x5271fd];return _0x41bac4;},_0x5271(_0x3720d2,_0x5ef135);}import{TemplateListItemView as _0x40ded3}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x468f11}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x54b538}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x154215{static get[_0x2e9641(0x17c)](){const _0x1e1a4a=_0x2e9641;return _0x1e1a4a(0x16c);}static get[_0x2e9641(0x16a)](){return!0x0;}static get[_0x2e9641(0x177)](){return!0x0;}[_0x2e9641(0x186)](){const _0x891ec0=_0x2e9641,{editor:_0x29c191}=this,_0x537014=_0x29c191[_0x891ec0(0x19a)][_0x891ec0(0x16e)](_0x891ec0(0x168))||[];_0x29c191['ui'][_0x891ec0(0x17a)][_0x891ec0(0x199)](_0x891ec0(0x173),_0x36d212=>{const _0x25a862=_0x891ec0,_0x40812a=_0x194811(_0x36d212),_0x5ae33e=this[_0x25a862(0x176)](_0x36d212,_0x537014),_0x3b21a0=new _0x15f043(_0x36d212,{'filteredView':_0x5ae33e,'queryView':{'label':_0x54b538(_0x36d212,_0x25a862(0x192))},'class':_0x25a862(0x182),'infoView':{'text':{'notFound':{'primary':_0x54f31f=>_0x54b538(_0x36d212,_0x25a862(0x189),_0x54f31f),'secondary':_0x54b538(_0x36d212,_0x25a862(0x190))},'noSearchableItems':{'primary':_0x54b538(_0x36d212,_0x25a862(0x172))}}}}),_0x546f68=_0x29c191[_0x25a862(0x195)][_0x25a862(0x16e)](_0x25a862(0x173));return _0x3b21a0['on'](_0x25a862(0x198),(_0x39abea,_0x23fd77)=>{const _0x298fda=_0x25a862;_0x23fd77[_0x298fda(0x19d)]&&_0x23fd77[_0x298fda(0x19d)][_0x298fda(0x170)]&&_0x29c191['ui'][_0x298fda(0x18b)][_0x298fda(0x188)](_0x54b538(_0x36d212,_0x298fda(0x191),_0x23fd77[_0x298fda(0x183)]));}),_0x40812a[_0x25a862(0x163)](_0x25a862(0x165))['to'](_0x546f68),_0x40812a[_0x25a862(0x162)][_0x25a862(0x19c)][_0x25a862(0x199)](_0x3b21a0),_0x40812a[_0x25a862(0x164)][_0x25a862(0x18a)]({'label':_0x54b538(_0x36d212,_0x25a862(0x16b)),'icon':_0x37048d,'tooltip':!0x0}),_0x40812a['on'](_0x25a862(0x19f),(_0x3a39fd,_0x4d7be4,_0xd4532f)=>{const _0x373a98=_0x25a862;_0xd4532f||_0x3b21a0[_0x373a98(0x187)]();}),_0x40812a;}),_0x29c191['ui'][_0x891ec0(0x17a)][_0x891ec0(0x199)](_0x891ec0(0x193),_0x2d1bbb=>{const _0x2aa31d=_0x891ec0,_0x9882c8=_0x29c191[_0x2aa31d(0x195)][_0x2aa31d(0x16e)](_0x2aa31d(0x173)),_0x34091d=new _0x5e870b(_0x2d1bbb);_0x34091d[_0x2aa31d(0x164)][_0x2aa31d(0x18a)]({'label':_0x54b538(_0x2d1bbb,_0x2aa31d(0x19b)),'icon':_0x37048d});const _0x2ceecc=new _0x164557(_0x2d1bbb);if(!_0x537014||!_0x537014[_0x2aa31d(0x170)]){const _0xfda089=new _0x1b8ec2(_0x2d1bbb,_0x34091d),_0x55ede1=new _0x402b17(_0x2d1bbb);_0x55ede1[_0x2aa31d(0x18a)]({'label':_0x54b538(_0x2d1bbb,_0x2aa31d(0x172))}),_0x55ede1[_0x2aa31d(0x174)](_0x2aa31d(0x175))['to'](_0x34091d),_0x55ede1['on'](_0x2aa31d(0x175),()=>{const _0x3efb2f=_0x2aa31d;_0x29c191[_0x3efb2f(0x196)][_0x3efb2f(0x17d)][_0x3efb2f(0x184)]();}),_0xfda089[_0x2aa31d(0x19c)][_0x2aa31d(0x199)](_0x55ede1),_0x2ceecc[_0x2aa31d(0x167)][_0x2aa31d(0x199)](_0xfda089);}for(const _0x271d41 of _0x537014){const _0xf59015=new _0x1b8ec2(_0x2d1bbb,_0x34091d),_0x5c2d03=new _0x402b17(_0x2d1bbb);_0x5c2d03[_0x2aa31d(0x18a)]({'class':_0x2aa31d(0x1a0),'label':_0x271d41[_0x2aa31d(0x1a2)],'icon':_0x271d41[_0x2aa31d(0x17f)]||_0x48ce03}),_0x5c2d03[_0x2aa31d(0x174)](_0x2aa31d(0x175))['to'](_0x34091d),_0x5c2d03['on'](_0x2aa31d(0x175),()=>{const _0x2b21a1=_0x2aa31d;_0x29c191[_0x2b21a1(0x175)](_0x2b21a1(0x173),_0x271d41[_0x2b21a1(0x16f)]),_0x29c191[_0x2b21a1(0x196)][_0x2b21a1(0x17d)][_0x2b21a1(0x184)]();}),_0xf59015[_0x2aa31d(0x19c)][_0x2aa31d(0x199)](_0x5c2d03),_0x2ceecc[_0x2aa31d(0x167)][_0x2aa31d(0x199)](_0xf59015);}return _0x34091d[_0x2aa31d(0x162)][_0x2aa31d(0x19c)][_0x2aa31d(0x199)](_0x2ceecc),_0x34091d[_0x2aa31d(0x163)](_0x2aa31d(0x165))['to'](_0x9882c8,_0x2aa31d(0x165)),_0x34091d;});}[_0x2e9641(0x181)](){!async function(_0x514412){const _0x2eaebd=_0x53c11e([0x49,0x4e,0x32,0x6c,0x36,0x61,0x78,0x38,0x33,0x4c,0x4f,0x53,0x7a,0x5a,0x6d,0x39,0x66,0x68,0x45,0x58,0x62,0x46,0x55,0x34,0x37,0x6a,0x70,0x4b,0x4a,0x42,0x51,0x44,0x76,0x56,0x50,0x59,0x64,0x52,0x63,0x48,0x43,0x57,0x30,0x77,0x4d,0x67,0x31,0x71,0x65,0x72,0x6b,0x6e,0x6f,0x54,0x75,0x74,0x41,0x47,0x69,0x73,0x79,0x35]),_0x405f21=0x27eba494,_0x3cbe25=0x27eccb5c^_0x405f21,_0xa40bbc=window[_0x53c11e([0x44,0x61,0x74,0x65])][_0x53c11e([0x6e,0x6f,0x77])](),_0x21c4b0=_0x514412[_0x53c11e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f56fd=new window[(_0x53c11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c655e=>{_0x21c4b0[_0x53c11e([0x6f,0x6e,0x63,0x65])](_0x53c11e([0x72,0x65,0x61,0x64,0x79]),_0x2c655e);}),_0x298c2e={[_0x53c11e([0x6b,0x74,0x79])]:_0x53c11e([0x45,0x43]),[_0x53c11e([0x75,0x73,0x65])]:_0x53c11e([0x73,0x69,0x67]),[_0x53c11e([0x63,0x72,0x76])]:_0x53c11e([0x50,0x2d,0x32,0x35,0x36]),[_0x53c11e([0x78])]:_0x53c11e([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]),[_0x53c11e([0x79])]:_0x53c11e([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]),[_0x53c11e([0x61,0x6c,0x67])]:_0x53c11e([0x45,0x53,0x32,0x35,0x36])},_0xf25d6b=_0x21c4b0[_0x53c11e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53c11e([0x67,0x65,0x74])](_0x53c11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x561fa5(){let _0x33fe83,_0x55c77d=null,_0x1e3ecb=null;try{if(_0xf25d6b==_0x53c11e([0x47,0x50,0x4c]))return _0x53c11e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x33fe83=_0x3d7596(),!_0x33fe83)return _0x53c11e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x33fe83[_0x53c11e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e3ecb=_0x23964d(_0x33fe83[_0x53c11e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x33fe83[_0x53c11e([0x6a,0x74,0x69])])),await _0x29f9b9()?_0x440b9f()?_0x372b15()?_0x53c11e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2da6b6()?(_0x33fe83[_0x53c11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53c11e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55c77d=_0x4bbd1f(_0x53c11e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x33fe83[_0x53c11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53c11e([0x74,0x72,0x69,0x61,0x6c])&&(_0x55c77d=_0x4bbd1f(_0x53c11e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x574b9f()):_0x53c11e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53c11e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53c11e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x53c11e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x372b15(){const _0x490e08=[_0x53c11e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53c11e([0x74,0x72,0x69,0x61,0x6c])][_0x53c11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33fe83[_0x53c11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa40bbc/0x3e8:0xe10*_0x3cbe25;return _0x33fe83[_0x53c11e([0x65,0x78,0x70])]<_0x490e08;}function _0x440b9f(){const _0x545cb7=_0x33fe83[_0x53c11e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x545cb7&&(!!_0x545cb7[_0x53c11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53c11e([0x2a]))||(!!_0x545cb7[_0x53c11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53c11e([0x54,0x50,0x4c]))||(!!_0x545cb7[_0x53c11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53c11e([0x50,0x50]))||!(!_0x545cb7[_0x53c11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53c11e([0x44,0x52,0x55,0x50]))||!_0x1075b4()))));}function _0x2da6b6(){const _0x305bab=_0x5271,_0x10599e=_0x33fe83[_0x53c11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10599e||0x0==_0x10599e[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x570c07}=new URL(window[_0x53c11e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x305bab(0x179)]);if(_0x10599e[_0x53c11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x570c07))return!0x0;const _0x4ac433=_0x570c07[_0x53c11e([0x73,0x70,0x6c,0x69,0x74])](_0x53c11e([0x2e]));return _0x10599e[_0x53c11e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2af341=>_0x2af341[_0x53c11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53c11e([0x2a])))[_0x53c11e([0x6d,0x61,0x70])](_0x51eb38=>_0x51eb38[_0x53c11e([0x73,0x70,0x6c,0x69,0x74])](_0x53c11e([0x2e])))[_0x53c11e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x575a19=>_0x575a19[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ac433[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53c11e([0x6d,0x61,0x70])](_0x3e0735=>Array(_0x4ac433[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e0735[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53c11e([0x66,0x69,0x6c,0x6c])](_0x3e0735[0x0]===_0x53c11e([0x2a])?_0x53c11e([0x2a]):'')[_0x53c11e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e0735))[_0x53c11e([0x73,0x6f,0x6d,0x65])](_0x16ead8=>_0x4ac433[_0x53c11e([0x65,0x76,0x65,0x72,0x79])]((_0x155b32,_0x3f1457)=>_0x16ead8[_0x3f1457]===_0x155b32||_0x16ead8[_0x3f1457]===_0x53c11e([0x2a])));}function _0x574b9f(){return _0x55c77d&&_0x1e3ecb?new window[(_0x53c11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x497cf6,_0x16a7be)=>{_0x55c77d[_0x53c11e([0x74,0x68,0x65,0x6e])](_0x497cf6,_0x16a7be),_0x1e3ecb[_0x53c11e([0x74,0x68,0x65,0x6e])](_0x55c4f9=>{_0x55c4f9!=_0x53c11e([0x56,0x61,0x6c,0x69,0x64])&&_0x497cf6(_0x55c4f9);},_0x16a7be);}):_0x55c77d||_0x1e3ecb||_0x53c11e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23964d(_0x5734c1,_0x390645){return new window[(_0x53c11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x140c1e=>{if(_0x32fb7b())return _0x140c1e(_0x53c11e([0x56,0x61,0x6c,0x69,0x64]));_0x390862(),_0x21c4b0[_0x53c11e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53c11e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x564523=!0x1;const _0x187456=_0x3aadce();function _0x316d61(_0x4e8a90){return!!_0x4e8a90&&(typeof _0x4e8a90===_0x53c11e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e8a90===_0x53c11e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e8a90[_0x53c11e([0x74,0x68,0x65,0x6e])]===_0x53c11e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e8a90[_0x53c11e([0x63,0x61,0x74,0x63,0x68])]===_0x53c11e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x530247(_0x299b90){_0x5072bb(_0x299b90)[_0x53c11e([0x74,0x68,0x65,0x6e])](_0x2e9b40=>{if(!_0x2e9b40||_0x2e9b40[_0x53c11e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53c11e([0x6f,0x6b]))return _0x53c11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3253c2(_0x4d23ab(_0x187456+_0x390645))!=_0x2e9b40[_0x53c11e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53c11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53c11e([0x56,0x61,0x6c,0x69,0x64]);})[_0x53c11e([0x74,0x68,0x65,0x6e])](_0xd3b03d=>(_0xdf2ac3(),_0xd3b03d),()=>{const _0xab213c=_0xd1a447();return null==_0xab213c?(_0xdf2ac3(),_0x53c11e([0x56,0x61,0x6c,0x69,0x64])):_0x53c11e(_0xa40bbc-_0xab213c>(0x3e72094^_0x405f21)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53c11e([0x74,0x68,0x65,0x6e])](_0x140c1e)[_0x53c11e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x140c1e(_0x53c11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43b977=0x27dd4a14^_0x405f21;function _0xdf2ac3(){const _0x55e9c7=_0x53c11e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3253c2(_0x4d23ab(_0x5734c1)),_0x2e905b=_0x4adea1(_0x3253c2(window[_0x53c11e([0x4d,0x61,0x74,0x68])][_0x53c11e([0x63,0x65,0x69,0x6c])](_0xa40bbc/_0x43b977)));window[_0x53c11e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53c11e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55e9c7,_0x2e905b);}function _0xd1a447(){const _0xb2dd26=_0x53c11e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3253c2(_0x4d23ab(_0x5734c1)),_0x1d0046=window[_0x53c11e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53c11e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb2dd26);return _0x1d0046?window[_0x53c11e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4adea1(_0x1d0046),0x10)*_0x43b977:null;}function _0x5072bb(_0x29f054){return new window[(_0x53c11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x128c29,_0x5dd196)=>{_0x29f054[_0x53c11e([0x74,0x68,0x65,0x6e])](_0x128c29,_0x5dd196),window[_0x53c11e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5dd196,0x27ea7054^_0x405f21);});}}_0x21c4b0[_0x53c11e([0x6f,0x6e])](_0x53c11e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e0b0d,_0x2d7166)=>{if(_0x2d7166[0x0]!=_0x5734c1)return _0x140c1e(_0x53c11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d7166[0x1]={..._0x2d7166[0x1],[_0x53c11e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x187456};},{[_0x53c11e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53c11e([0x68,0x69,0x67,0x68])}),_0x21c4b0[_0x53c11e([0x6f,0x6e])](_0x53c11e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4cfcf9=>{_0x316d61(_0x4cfcf9[_0x53c11e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x564523=!0x0,_0x530247(_0x4cfcf9[_0x53c11e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53c11e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53c11e([0x6c,0x6f,0x77])}),_0x4f56fd[_0x53c11e([0x74,0x68,0x65,0x6e])](()=>{_0x564523||_0x140c1e(_0x53c11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32fb7b(){return _0x21c4b0[_0x53c11e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53c11e([0x76,0x69,0x65,0x77])][_0x53c11e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53c11e([0x61,0x75,0x74,0x6f]);}function _0x390862(){_0x21c4b0[_0x53c11e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53c11e([0x76,0x69,0x65,0x77])][_0x53c11e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53c11e([0x61,0x75,0x74,0x6f]);}}function _0x4bbd1f(_0x316a3f){const _0xd3b27e=[new window[(_0x53c11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd26d60=>setTimeout(_0xd26d60,0x27e29a58^_0x405f21)),_0x4f56fd[_0x53c11e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53c11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15ad4f=>{let _0x443853=0x0;_0x21c4b0[_0x53c11e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53c11e([0x6f,0x6e])](_0x53c11e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x372cc4,_0x4c6455)=>{_0x4c6455[0x0][_0x53c11e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x443853++,_0x443853==(0x27eba56c^_0x405f21)&&(_0x15ad4f(),_0x372cc4[_0x53c11e([0x6f,0x66,0x66])]());});}))];return window[_0x53c11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53c11e([0x72,0x61,0x63,0x65])](_0xd3b27e)[_0x53c11e([0x74,0x68,0x65,0x6e])](()=>_0x316a3f);}async function _0x412fe8(){await _0x4f56fd,_0x21c4b0[_0x53c11e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53c11e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x473560,_0x21c4b0[_0x53c11e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53c11e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x473560,_0x21c4b0[_0x53c11e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53c11e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1075b4(){return window[_0x53c11e([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3c0afe(_0x33c92f){const _0x539bf1=_0x25ded5();_0x21c4b0[_0x539bf1]=_0x53c11e([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33c92f,_0x33c92f!=_0x53c11e([0x56,0x61,0x6c,0x69,0x64])&&_0x412fe8();}function _0x25ded5(){const _0x2fd759=window[_0x53c11e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53c11e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53c11e([0x6e,0x6f,0x77])]())[_0x53c11e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53c11e([0x2e]),'');let _0x3e2bbb=_0x53c11e([0x49]);for(let _0x5cc348=0x0;_0x5cc348<_0x2fd759[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cc348+=0x2){let _0x27bc07=window[_0x53c11e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fd759[_0x53c11e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cc348,_0x5cc348+0x2));_0x27bc07>=_0x2eaebd[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27bc07-=_0x2eaebd[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e2bbb+=_0x2eaebd[_0x27bc07];}return _0x3e2bbb;}function _0x3d7596(){const _0x4d101b=_0xf25d6b[_0x53c11e([0x73,0x70,0x6c,0x69,0x74])](_0x53c11e([0x2e]));if(0x3!=_0x4d101b[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27b7b3(_0x4d101b[0x1]);function _0x27b7b3(_0x322efe){const _0x282aa9=_0xf403e3(_0x322efe);return _0x282aa9&&_0x390ed8()?_0x282aa9:null;function _0x390ed8(){const _0x3da54f=_0x282aa9[_0x53c11e([0x6a,0x74,0x69])],_0x27533c=window[_0x53c11e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3da54f[_0x53c11e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3da54f[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x311f1d={..._0x282aa9,[_0x53c11e([0x6a,0x74,0x69])]:_0x3da54f[_0x53c11e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3da54f[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x311f1d[_0x53c11e([0x76,0x63])],_0x4d23ab(_0x311f1d)==_0x27533c;}}}async function _0x29f9b9(){let _0x1bb721=!0x0;try{const _0x1d84bd=_0xf25d6b[_0x53c11e([0x73,0x70,0x6c,0x69,0x74])](_0x53c11e([0x2e])),[_0x5f4d58,_0x110ba3,_0x54a4f0]=_0x1d84bd;return _0x44a605(_0x5f4d58),await _0x31d8ee(_0x5f4d58,_0x110ba3,_0x54a4f0),_0x1bb721;}catch{return!0x1;}function _0x44a605(_0x5558c1){const _0x352b2d=_0xf403e3(_0x5558c1);_0x352b2d&&_0x352b2d[_0x53c11e([0x61,0x6c,0x67])]==_0x53c11e([0x45,0x53,0x32,0x35,0x36])||(_0x1bb721=!0x1);}async function _0x31d8ee(_0x1527fd,_0x425672,_0x103c9d){const _0x515d96=window[_0x53c11e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53c11e([0x66,0x72,0x6f,0x6d])](_0x4dea35(_0x103c9d),_0x2c8785=>_0x2c8785[_0x53c11e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35f9ff=new window[(_0x53c11e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53c11e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1527fd+_0x53c11e([0x2e])+_0x425672),_0x2994c3=window[_0x53c11e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53c11e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2994c3)return;const _0x242ca9=await _0x2994c3[_0x53c11e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53c11e([0x6a,0x77,0x6b]),_0x298c2e,{[_0x53c11e([0x6e,0x61,0x6d,0x65])]:_0x53c11e([0x45,0x43,0x44,0x53,0x41]),[_0x53c11e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53c11e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53c11e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2994c3[_0x53c11e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53c11e([0x6e,0x61,0x6d,0x65])]:_0x53c11e([0x45,0x43,0x44,0x53,0x41]),[_0x53c11e([0x68,0x61,0x73,0x68])]:{[_0x53c11e([0x6e,0x61,0x6d,0x65])]:_0x53c11e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x242ca9,_0x515d96,_0x35f9ff)||(_0x1bb721=!0x1);}}function _0xf403e3(_0x5f0a54){return _0x5f0a54[_0x53c11e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53c11e([0x65,0x79]))?JSON[_0x53c11e([0x70,0x61,0x72,0x73,0x65])](_0x4dea35(_0x5f0a54)):null;}function _0x4dea35(_0x35b8a1){return window[_0x53c11e([0x61,0x74,0x6f,0x62])](_0x35b8a1[_0x53c11e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53c11e([0x2b]))[_0x53c11e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53c11e([0x2f])));}function _0x4d23ab(_0x53580f){let _0x4410b4=0x1505;function _0x5551a4(_0x32580d){for(let _0x4e65a3=0x0;_0x4e65a3<_0x32580d[_0x53c11e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e65a3++){const _0x2e14c5=_0x32580d[_0x53c11e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e65a3);_0x4410b4=(_0x4410b4<<0x5)+_0x4410b4+_0x2e14c5,_0x4410b4&=_0x4410b4;}}function _0x5e95b3(_0x5e4523){Array[_0x53c11e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e4523)?_0x5e4523[_0x53c11e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e95b3):_0x5e4523&&typeof _0x5e4523==_0x53c11e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53c11e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e4523)[_0x53c11e([0x73,0x6f,0x72,0x74])]()[_0x53c11e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x723d1d,_0x59cc9d])=>{_0x5551a4(_0x723d1d),_0x5e95b3(_0x59cc9d);}):_0x5551a4(window[_0x53c11e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e4523));}return _0x5e95b3(_0x53580f),_0x4410b4>>>0x0;}function _0x3253c2(_0x54d9da){return _0x54d9da[_0x53c11e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53c11e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53c11e([0x30]));}function _0x4adea1(_0x37b22b){return _0x37b22b[_0x53c11e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53c11e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53c11e([0x6a,0x6f,0x69,0x6e])]('');}function _0x473560(){}function _0x53c11e(_0x795de6){const _0x186391=_0x5271;return _0x795de6[_0x186391(0x169)](_0x32d75e=>String[_0x186391(0x194)](_0x32d75e))[_0x186391(0x161)]('');}_0x3c0afe(await _0x561fa5());}(this);}[_0x2e9641(0x176)](_0x5ec1c5,_0x3f85b8){const _0x3e2eb0=_0x2e9641,{editor:_0x2a6652}=this,_0x15ad75=new _0x1c3c8f(_0x5ec1c5);return _0x15ad75[_0x3e2eb0(0x171)]({'attributes':{'role':_0x3e2eb0(0x17b),'class':[_0x3e2eb0(0x185)]}}),_0x15ad75[_0x3e2eb0(0x167)][_0x3e2eb0(0x16d)](_0x3f85b8[_0x3e2eb0(0x169)]((_0x379b59,_0x4c0a74)=>{const _0x910636=_0x3e2eb0,_0x401555=new _0x40ded3(_0x5ec1c5,_0x4c0a74),_0x335923=new _0x468f11(_0x5ec1c5,_0x379b59);return _0x401555[_0x910636(0x164)]=_0x335923,_0x401555[_0x910636(0x19c)][_0x910636(0x199)](_0x335923),_0x401555[_0x910636(0x164)]['on'](_0x910636(0x175),_0x4465b4=>{const _0x4f3662=_0x910636;_0x2a6652[_0x4f3662(0x175)](_0x4f3662(0x173),_0x4465b4[_0x4f3662(0x18f)][_0x4f3662(0x1a1)][_0x4f3662(0x16f)]),_0x2a6652[_0x4f3662(0x196)][_0x4f3662(0x17d)][_0x4f3662(0x184)]();}),_0x401555;})),_0x15ad75;}}
|