@ckeditor/ckeditor5-template 45.2.0-alpha.5 → 45.2.0-alpha.7
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:()=>c});var r=n(168),i=n.n(r),s=n(433),a=n.n(s)()(i());a.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const c=a},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(a[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(c,o[e]):t.appendChild(c)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],c=0;c<t.length;c++){var o=t[c],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>Y,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>J});var t=n(782);const e=i;function i(t,e){const n=s();return(i=function(t,e){return n[t-=175]})(t,e)}function s(){const t=["toView","htmlProcessor","function","data","toModel","execute","11961008CHdHhd","2XGVPIz","2022680YzcinV","5520402ybGVSf","editor","704002BVUWBJ","2311218WaLgio","change","9iJNamL","7072060iTZhyI","insertContent","string","1670241JKIBNS"];return(s=function(){return t})()}!function(t){const e=i,n=t();for(;;)try{if(811112===parseInt(e(175))/1*(parseInt(e(179))/2)+-parseInt(e(186))/3+-parseInt(e(176))/4+parseInt(e(183))/5+parseInt(e(177))/6+parseInt(e(180))/7+parseInt(e(193))/8*(-parseInt(e(182))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(s);class a extends t.Command{[e(192)](t){const n=e,{model:r}=this[n(178)];let i;switch(typeof t){case n(185):i=t;break;case n(189):i=t()}n(185)==typeof i&&r[n(181)]((()=>{const t=n,e=this[t(178)][t(190)][t(188)][t(187)](i),s=this[t(178)][t(190)][t(191)](e);r[t(184)](s)}))}}const c=l;function o(){const t=["75501jhZTAZ","domainLimit","templateLicenseKeyEvaluationLimit","12756LURHUW","pluginName","templateLicenseKeyValid","templateLicenseKeyDomainLimit","isPremiumPlugin","TemplateEditing","_showLicenseError","22872zUdOOO","isOfficialPlugin","13189668JtMcaB","4990cAYKuP","6AGKIZD","insertTemplate","templateLicenseKeyNotAllowed","250gEBdxd","expired","licenseKey","791583hgHwHP","usageLimit","53JkadRH","136052PKHcPr","editor","destroy","add","templateLicenseKeyUsageLimit","_licenseKeyCheckInterval","evaluationLimit","featureNotAllowed","commands","init","invalid","templateLicenseKeyExpired","trialLimit","Template","templateLicenseKeyTrialLimit","config","11PfunRX","483ZpFZDW","get","1000ggrWmo","templateLicenseKeyInvalid"];return(o=function(){return t})()}function l(t,e){const n=o();return(l=function(t,e){return n[t-=499]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(688910===-parseInt(e(514))/1*(-parseInt(e(505))/2)+parseInt(e(506))/3*(-parseInt(e(515))/4)+parseInt(e(509))/5*(parseInt(e(539))/6)+parseInt(e(532))/7*(parseInt(e(502))/8)+-parseInt(e(536))/9*(parseInt(e(534))/10)+-parseInt(e(531))/11*(-parseInt(e(504))/12)+parseInt(e(512))/13)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class u extends t.Plugin{[c(511)];[c(520)];static get[c(540)](){return c(500)}static get[c(503)](){return!0}static get[c(499)](){return!0}[c(524)](){const t=c,{editor:e}=this;e[t(523)][t(518)](t(507),new a(e)),this[t(511)]=this[t(516)][t(530)][t(533)](t(511));const n=this[t(516)];this[t(520)]=setInterval((()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(541)==s||e(535)==s||e(526)==s||e(542)==s||e(508)==s||e(538)==s||e(529)==s||e(519)==s){delete n[i],r=s,clearInterval(this[e(520)]),this[e(520)]=void 0;break}}e(535)==r&&n[e(501)](e(525)),e(526)==r&&n[e(501)](e(510)),e(542)==r&&n[e(501)](e(537)),e(508)==r&&n[e(501)](e(522),e(528)),e(538)==r&&n[e(501)](e(521)),e(529)==r&&n[e(501)](e(527)),e(519)==r&&n[e(501)](e(513))}),1e3)}[c(517)](){const t=c;super[t(517)](),this[t(520)]&&clearInterval(this[t(520)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=205]})(t,e)}function k(){const t=["sort","map","94876Dbbtcw","2132855woJCKP","483362PLflRE","287zbvDTP","forEach","get","143124nJjrjp","items","originalIndex","30LSviMl","10528tVhKGa","size","highlightText","_resetFiltering","buttonView","65316eWIhmf","isMatching","length","2VAlTEA","filter","addMany","2117590AOGHAf","209wsHodc","3087Oafmev","clear","isVisible","title","set"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(274065===-parseInt(e(226))/1*(-parseInt(e(210))/2)+parseInt(e(217))/3*(parseInt(e(208))/4)+-parseInt(e(209))/5+-parseInt(e(223))/6*(-parseInt(e(211))/7)+-parseInt(e(218))/8*(parseInt(e(231))/9)+parseInt(e(229))/10+parseInt(e(230))/11*(-parseInt(e(214))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(227)](t){const e=m;if(!t)return this[e(221)]();const n=new Map,r=this[e(215)][e(207)]((r=>{const i=e,s=r[i(222)][i(224)](t);return r[i(233)]=!!s,r[i(222)][i(220)](s?t:null),s&&n[i(205)](r,s),r}))[e(206)](g)[e(206)]((i=n,function(t,e){const n=h,r=i[n(213)](t),s=i[n(213)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(234)]&&!s[n(234)]?-1:!r[n(234)]&&s[n(234)]?1:0:0}));var i;return this[e(215)][e(232)](),this[e(215)][e(228)](r),{resultsCount:n[e(219)],totalItemsCount:this[e(215)][e(225)]}}[m(221)](){const t=m,e=this[t(215)][t(207)]((t=>t))[t(206)](g);return e[t(212)]((e=>{const n=t;e[n(233)]=!0,e[n(222)][n(220)](null)})),this[t(215)][t(232)](),this[t(215)][t(228)](e),{resultsCount:e[t(225)],totalItemsCount:e[t(225)]}}}function g(t,e){const n=m;return t[n(216)]-e[n(216)]}function v(t,e){var n=I();return(v=function(t,e){return n[t-=216]})(t,e)}function I(){var t=["20871576DWyviR","1214956PROIwG","3518292AKXKbg","buttonView","3311HJyMZM","originalIndex","60NFkOVB","654yHxycR","1312170ARYSvW","220060JFtfSH","5894184YCuYBh"];return(I=function(){return t})()}var b=v;!function(t){for(var e=v,n=t();;)try{if(798384===parseInt(e(217))/1+parseInt(e(221))/2+parseInt(e(222))/3+-parseInt(e(226))/4*(parseInt(e(218))/5)+parseInt(e(216))/6*(-parseInt(e(224))/7)+parseInt(e(219))/8+-parseInt(e(220))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class y extends f.ListItemView{[b(225)];[b(223)];constructor(t,e){var n=b;super(t),this[n(225)]=e,this[n(223)]=null}}const x=V;!function(t){const e=V,n=t();for(;;)try{if(752907===-parseInt(e(231))/1*(parseInt(e(225))/2)+parseInt(e(244))/3*(parseInt(e(221))/4)+-parseInt(e(204))/5+-parseInt(e(228))/6*(parseInt(e(230))/7)+-parseInt(e(210))/8+parseInt(e(239))/9*(-parseInt(e(223))/10)+parseInt(e(209))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class _ extends f.ButtonView{[x(232)];[x(212)];constructor(t,e){const n=x;super(t),this[n(232)]=e,this[n(212)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(237)]({withText:!0,class:n(238),role:n(227),icon:r}),this[n(240)][n(215)]=!1}[x(208)](){const t=x;super[t(208)](),this[t(212)]=new T(this[t(220)],this[t(232)],this[t(206)][t(224)].id),this[t(222)][t(234)](this[t(206)]),this[t(222)][t(214)](this[t(212)])}[x(242)](){const t=x;super[t(242)](),this[t(206)][t(242)]()}[x(203)](t){const e=x,{title:n,description:r}=this[e(232)],i=!!n[e(243)](t),s=!(!r||!r[e(243)](t));return i||s?{title:i,description:s}:null}[x(235)](t){const e=x;this[e(212)][e(235)](t)}}class T extends f.View{constructor(t,e,n){const r=x;super(t),this[r(216)]=e[r(216)],this[r(207)]=e[r(207)],this[r(219)]=new f.HighlightedTextView,this[r(219)][r(218)]=this[r(216)],this[r(219)][r(211)]({tag:r(217),attributes:{class:[r(233)],id:n}});const i=[this[r(219)]];this[r(207)]&&(this[r(205)]=new f.HighlightedTextView,this[r(205)][r(218)]=this[r(207)],this[r(205)][r(211)]({tag:"p",attributes:{class:[r(236)]}}),i[r(213)](this[r(205)])),this[r(241)]({tag:r(229),attributes:{class:["ck",r(226)]},children:i})}[x(235)](t){const e=x;this[e(219)][e(235)](t),this[e(207)]&&this[e(205)][e(235)](t)}}function V(t,e){const n=L();return(V=function(t,e){return n[t-=203]})(t,e)}function L(){const t=["descriptionView","labelView","description","render","26718758aiWiXg","4789864bTisjm","extendTemplate","textPartView","push","add","isColorInherited","title","span","text","titleView","locale","1604wKcckh","children","13070tVTaFx","element","2TYEfcx","ck-template-form__text-part","option","77046hSJsyE","div","7BkZYvH","616568zatKOE","templateDefinition","ck-button__label","remove","highlightText","ck-template-form__description","set","ck-template-button","2826mHSTmZ","iconView","setTemplate","destroy","match","414ZZhoMD","isMatching","464345ORGsuO"];return(L=function(){return t})()}function P(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var M=n(673),S=n.n(M),K=n(545),C=n.n(K),A=n(262),O=n.n(A),N=n(667),E=n.n(N),j=n(357),B=n.n(j),H=n(175),D={attributes:{"data-cke":!0}};D.setAttributes=E(),D.insert=O().bind(null,"head"),D.domAPI=C(),D.insertStyleElement=B();S()(H.A,D);H.A&&H.A.locals&&H.A.locals;const z=Z;function R(){const t=["454IJnbDZ","_createTemplateListView","insertTemplate","fromCharCode","Please try a different phrase or check the spelling.","TemplateUI","children","templateDefinition","get","change:isOpen","1671782CKbCZh","length","componentFactory","1948BvSpKY","announce","11KzWPDB","isEnabled","href",'No templates were found matching "%0".',"ck-template-list","72FNngWB","No templates available.","305WClmhD","6742CgxCea","12132250TAaMKa","addMany","map","isPremiumPlugin","source","join","reset","Search template","config","icon","delegate","data","listbox","panelView","5163gPOsEL","template.definitions","commands","Insert template","24552888NvXSyK","search","add","1372792fjwkjn","isOfficialPlugin","buttonView","pluginName","Template","ariaLiveAnnouncer","set","extendTemplate","query","ck-template-form","focus","bind","afterInit","editing","%0 templates found","init","title","execute","63636JkeurQ","view","items","resultsCount","ck-template-button","menuBar:insertTemplate"];return(R=function(){return t})()}function Z(t,e){const n=R();return(Z=function(t,e){return n[t-=276]})(t,e)}!function(t){const e=Z,n=t();for(;;)try{if(786060===parseInt(e(335))/1*(-parseInt(e(289))/2)+parseInt(e(304))/3*(parseInt(e(279))/4)+-parseInt(e(288))/5*(parseInt(e(329))/6)+parseInt(e(276))/7+parseInt(e(311))/8*(-parseInt(e(286))/9)+parseInt(e(290))/10+parseInt(e(281))/11*(parseInt(e(308))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);class J extends t.Plugin{static get[z(314)](){return z(340)}static get[z(312)](){return!0}static get[z(293)](){return!0}[z(326)](){const t=z,{editor:e}=this,n=e[t(298)][t(343)](t(305))||[];e.ui[t(278)][t(310)](t(337),(r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(336)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:P(r,i(297))},class:i(320),infoView:{text:{notFound:{primary:t=>P(r,i(284),t),secondary:P(r,i(339))},noSearchableItems:{primary:P(r,i(287))}}}}),o=e[i(306)][i(343)](i(337));return c.on(i(309),((t,n)=>{const s=i;n[s(319)]&&n[s(319)][s(277)]&&e.ui[s(316)][s(280)](P(r,s(325),n[s(332)]))})),s[i(322)](i(282)).to(o),s[i(303)][i(341)][i(310)](c),s[i(313)][i(317)]({label:P(r,i(307)),icon:p.IconTemplate,tooltip:!0}),s.on(i(344),((t,e,n)=>{n||c[i(296)]()})),s})),e.ui[t(278)][t(310)](t(334),(r=>{const i=t,s=e[i(306)][i(343)](i(337)),a=new f.MenuBarMenuView(r);a[i(313)][i(317)]({label:P(r,i(315)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(277)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(317)]({label:P(r,i(287))}),n[i(300)](i(328)).to(a),n.on(i(328),(()=>{const t=i;e[t(324)][t(330)][t(321)]()})),t[i(341)][i(310)](n),c[i(331)][i(310)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(317)]({class:i(333),label:t[i(327)],icon:t[i(299)]||p.IconTemplateGeneric}),s[i(300)](i(328)).to(a),s.on(i(328),(()=>{const n=i;e[n(328)](n(337),t[n(301)]),e[n(324)][n(330)][n(321)]()})),n[i(341)][i(310)](s),c[i(331)][i(310)](n)}return a[i(303)][i(341)][i(310)](c),a[i(322)](i(282)).to(s,i(282)),a}))}[z(323)](){!async function(t){const e=h([107,67,84,83,66,121,117,105,115,90,116,122,57,97,65,113,77,72,100,69,51,68,89,49,73,80,88,78,98,87,79,52,50,76,109,86,71,85,102,75,54,118,110,55,119,70,108,48,106,103,101,120,99,112,81,74,114,111,56,53,104,82]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])((t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)})),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[h([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[h([116,104,101,110])]((()=>new(window[h([80,114,111,109,105,115,101])])((t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())}))}))))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])]((()=>t))}function o(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])]((([e,r])=>{n(e),t(r)})):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=Z;return t[e(292)]((t=>String[e(338)](t)))[e(295)]("")}!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([107]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=o(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])((c=>{if(s())return c(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){o(r)[h([116,104,101,110])]((t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116])))[h([116,104,101,110])]((t=>(s(),t)),(()=>{const t=a();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[h([116,104,101,110])](c)[h([99,97,116,99,104])]((()=>{c(h([85,115,97,103,101,76,105,109,105,116]))}));const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function o(t){return new(window[h([80,114,111,109,105,115,101])])(((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}}),{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{m(t[h([114,101,116,117,114,110])])&&(o=!0,k(t[h([114,101,116,117,114,110])]))}),{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])]((()=>{o||c(h([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function a(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=a[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=o(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),(t=>t[h([99,104,97,114,67,111,100,101,65,116])](0))),a=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),c=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!c)return;const o=await c[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await c[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},o,i,a)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1748822400;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=Z,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(283)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])]((t=>t[h([105,110,99,108,117,100,101,115])](h([42]))))[h([109,97,112])]((t=>t[h([115,112,108,105,116])](h([46]))))[h([115,111,109,101])]((t=>i[h([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===h([42])))))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=c(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=c(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])(((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])]((e=>{e!=h([86,97,108,105,100])&&t(e)}),n)})):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[z(336)](t,e){const n=z,{editor:r}=this,i=new w(t);return i[n(318)]({attributes:{role:n(302),class:[n(285)]}}),i[n(331)][n(291)](e[n(292)](((e,i)=>{const s=n,a=new y(t,i),c=new _(t,e);return a[s(313)]=c,a[s(341)][s(310)](c),a[s(313)].on(s(328),(t=>{const e=s;r[e(328)](e(337),t[e(294)][e(342)][e(301)]),r[e(324)][e(330)][e(321)]()})),a}))),i}}var W=F;function F(t,e){var n=U();return(F=function(t,e){return n[t-=261]})(t,e)}function U(){var t=["2535fdicVN","221695xYkaRp","isOfficialPlugin","2715399kDDdud","requires","102oxHImB","1032922FdrBWa","Template","1006608MVdllU","788VZjZjn","pluginName","isPremiumPlugin","5476765pvHKlq","281142seraAR"];return(U=function(){return t})()}!function(t){for(var e=F,n=t();;)try{if(426621===parseInt(e(267))/1+parseInt(e(274))/2+-parseInt(e(268))/3*(parseInt(e(263))/4)+parseInt(e(269))/5*(parseInt(e(273))/6)+-parseInt(e(266))/7+parseInt(e(262))/8+-parseInt(e(271))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class Y extends t.Plugin{static get[W(272)](){return[u,J]}static get[W(264)](){return W(261)}static get[W(270)](){return!0}static get[W(265)](){return!0}}function G(t,e){var n=q();return(G=function(t,e){return n[t-=230]})(t,e)}function q(){var t=["113456YLymkT","2057391luzFUj","926335hbQmSx","484904rKMEjc","1050712Ajcvxh","288234URTphO","682998aaoXIz","4QDqPmn"];return(q=function(){return t})()}!function(t){for(var e=G,n=t();;)try{if(272366===-parseInt(e(230))/1+-parseInt(e(233))/2+-parseInt(e(235))/3+parseInt(e(237))/4*(parseInt(e(232))/5)+parseInt(e(236))/6+parseInt(e(231))/7+parseInt(e(234))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});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 a=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 a=0;a<this.length;a++){var o=this[a][0];null!=o&&(c[o]=!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 a=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}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=[],a=0;a<t.length;a++){var o=t[a],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=a,e.splice(a,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 a=n(s[c]);e[a].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>W,TemplateCommand:()=>c,TemplateEditing:()=>u,TemplateUI:()=>U});var t=n(782);const e=i;function i(t,e){const n=s();return(i=function(t,e){return n[t-=175]})(t,e)}function s(){const t=["toView","htmlProcessor","function","data","toModel","execute","11961008CHdHhd","2XGVPIz","2022680YzcinV","5520402ybGVSf","editor","704002BVUWBJ","2311218WaLgio","change","9iJNamL","7072060iTZhyI","insertContent","string","1670241JKIBNS"];return(s=function(){return t})()}!function(t){const e=i,n=t();for(;;)try{if(811112===parseInt(e(175))/1*(parseInt(e(179))/2)+-parseInt(e(186))/3+-parseInt(e(176))/4+parseInt(e(183))/5+parseInt(e(177))/6+parseInt(e(180))/7+parseInt(e(193))/8*(-parseInt(e(182))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(s);class c extends t.Command{[e(192)](t){const n=e,{model:r}=this[n(178)];let i;switch(typeof t){case n(185):i=t;break;case n(189):i=t()}n(185)==typeof i&&r[n(181)]((()=>{const t=n,e=this[t(178)][t(190)][t(188)][t(187)](i),s=this[t(178)][t(190)][t(191)](e);r[t(184)](s)}))}}const a=l;function o(){const t=["75501jhZTAZ","domainLimit","templateLicenseKeyEvaluationLimit","12756LURHUW","pluginName","templateLicenseKeyValid","templateLicenseKeyDomainLimit","isPremiumPlugin","TemplateEditing","_showLicenseError","22872zUdOOO","isOfficialPlugin","13189668JtMcaB","4990cAYKuP","6AGKIZD","insertTemplate","templateLicenseKeyNotAllowed","250gEBdxd","expired","licenseKey","791583hgHwHP","usageLimit","53JkadRH","136052PKHcPr","editor","destroy","add","templateLicenseKeyUsageLimit","_licenseKeyCheckInterval","evaluationLimit","featureNotAllowed","commands","init","invalid","templateLicenseKeyExpired","trialLimit","Template","templateLicenseKeyTrialLimit","config","11PfunRX","483ZpFZDW","get","1000ggrWmo","templateLicenseKeyInvalid"];return(o=function(){return t})()}function l(t,e){const n=o();return(l=function(t,e){return n[t-=499]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(688910===-parseInt(e(514))/1*(-parseInt(e(505))/2)+parseInt(e(506))/3*(-parseInt(e(515))/4)+parseInt(e(509))/5*(parseInt(e(539))/6)+parseInt(e(532))/7*(parseInt(e(502))/8)+-parseInt(e(536))/9*(parseInt(e(534))/10)+-parseInt(e(531))/11*(-parseInt(e(504))/12)+parseInt(e(512))/13)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class u extends t.Plugin{[a(511)];[a(520)];static get[a(540)](){return a(500)}static get[a(503)](){return!0}static get[a(499)](){return!0}[a(524)](){const t=a,{editor:e}=this;e[t(523)][t(518)](t(507),new c(e)),this[t(511)]=this[t(516)][t(530)][t(533)](t(511));const n=this[t(516)];this[t(520)]=setInterval((()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(541)==s||e(535)==s||e(526)==s||e(542)==s||e(508)==s||e(538)==s||e(529)==s||e(519)==s){delete n[i],r=s,clearInterval(this[e(520)]),this[e(520)]=void 0;break}}e(535)==r&&n[e(501)](e(525)),e(526)==r&&n[e(501)](e(510)),e(542)==r&&n[e(501)](e(537)),e(508)==r&&n[e(501)](e(522),e(528)),e(538)==r&&n[e(501)](e(521)),e(529)==r&&n[e(501)](e(527)),e(519)==r&&n[e(501)](e(513))}),1e3)}[a(517)](){const t=a;super[t(517)](),this[t(520)]&&clearInterval(this[t(520)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=205]})(t,e)}function k(){const t=["sort","map","94876Dbbtcw","2132855woJCKP","483362PLflRE","287zbvDTP","forEach","get","143124nJjrjp","items","originalIndex","30LSviMl","10528tVhKGa","size","highlightText","_resetFiltering","buttonView","65316eWIhmf","isMatching","length","2VAlTEA","filter","addMany","2117590AOGHAf","209wsHodc","3087Oafmev","clear","isVisible","title","set"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(274065===-parseInt(e(226))/1*(-parseInt(e(210))/2)+parseInt(e(217))/3*(parseInt(e(208))/4)+-parseInt(e(209))/5+-parseInt(e(223))/6*(-parseInt(e(211))/7)+-parseInt(e(218))/8*(parseInt(e(231))/9)+parseInt(e(229))/10+parseInt(e(230))/11*(-parseInt(e(214))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(227)](t){const e=m;if(!t)return this[e(221)]();const n=new Map,r=this[e(215)][e(207)]((r=>{const i=e,s=r[i(222)][i(224)](t);return r[i(233)]=!!s,r[i(222)][i(220)](s?t:null),s&&n[i(205)](r,s),r}))[e(206)](g)[e(206)]((i=n,function(t,e){const n=h,r=i[n(213)](t),s=i[n(213)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(234)]&&!s[n(234)]?-1:!r[n(234)]&&s[n(234)]?1:0:0}));var i;return this[e(215)][e(232)](),this[e(215)][e(228)](r),{resultsCount:n[e(219)],totalItemsCount:this[e(215)][e(225)]}}[m(221)](){const t=m,e=this[t(215)][t(207)]((t=>t))[t(206)](g);return e[t(212)]((e=>{const n=t;e[n(233)]=!0,e[n(222)][n(220)](null)})),this[t(215)][t(232)](),this[t(215)][t(228)](e),{resultsCount:e[t(225)],totalItemsCount:e[t(225)]}}}function g(t,e){const n=m;return t[n(216)]-e[n(216)]}function v(t,e){var n=I();return(v=function(t,e){return n[t-=216]})(t,e)}function I(){var t=["20871576DWyviR","1214956PROIwG","3518292AKXKbg","buttonView","3311HJyMZM","originalIndex","60NFkOVB","654yHxycR","1312170ARYSvW","220060JFtfSH","5894184YCuYBh"];return(I=function(){return t})()}var b=v;!function(t){for(var e=v,n=t();;)try{if(798384===parseInt(e(217))/1+parseInt(e(221))/2+parseInt(e(222))/3+-parseInt(e(226))/4*(parseInt(e(218))/5)+parseInt(e(216))/6*(-parseInt(e(224))/7)+parseInt(e(219))/8+-parseInt(e(220))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class y extends f.ListItemView{[b(225)];[b(223)];constructor(t,e){var n=b;super(t),this[n(225)]=e,this[n(223)]=null}}const x=V;!function(t){const e=V,n=t();for(;;)try{if(752907===-parseInt(e(231))/1*(parseInt(e(225))/2)+parseInt(e(244))/3*(parseInt(e(221))/4)+-parseInt(e(204))/5+-parseInt(e(228))/6*(parseInt(e(230))/7)+-parseInt(e(210))/8+parseInt(e(239))/9*(-parseInt(e(223))/10)+parseInt(e(209))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class _ extends f.ButtonView{[x(232)];[x(212)];constructor(t,e){const n=x;super(t),this[n(232)]=e,this[n(212)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(237)]({withText:!0,class:n(238),role:n(227),icon:r}),this[n(240)][n(215)]=!1}[x(208)](){const t=x;super[t(208)](),this[t(212)]=new T(this[t(220)],this[t(232)],this[t(206)][t(224)].id),this[t(222)][t(234)](this[t(206)]),this[t(222)][t(214)](this[t(212)])}[x(242)](){const t=x;super[t(242)](),this[t(206)][t(242)]()}[x(203)](t){const e=x,{title:n,description:r}=this[e(232)],i=!!n[e(243)](t),s=!(!r||!r[e(243)](t));return i||s?{title:i,description:s}:null}[x(235)](t){const e=x;this[e(212)][e(235)](t)}}class T extends f.View{constructor(t,e,n){const r=x;super(t),this[r(216)]=e[r(216)],this[r(207)]=e[r(207)],this[r(219)]=new f.HighlightedTextView,this[r(219)][r(218)]=this[r(216)],this[r(219)][r(211)]({tag:r(217),attributes:{class:[r(233)],id:n}});const i=[this[r(219)]];this[r(207)]&&(this[r(205)]=new f.HighlightedTextView,this[r(205)][r(218)]=this[r(207)],this[r(205)][r(211)]({tag:"p",attributes:{class:[r(236)]}}),i[r(213)](this[r(205)])),this[r(241)]({tag:r(229),attributes:{class:["ck",r(226)]},children:i})}[x(235)](t){const e=x;this[e(219)][e(235)](t),this[e(207)]&&this[e(205)][e(235)](t)}}function V(t,e){const n=L();return(V=function(t,e){return n[t-=203]})(t,e)}function L(){const t=["descriptionView","labelView","description","render","26718758aiWiXg","4789864bTisjm","extendTemplate","textPartView","push","add","isColorInherited","title","span","text","titleView","locale","1604wKcckh","children","13070tVTaFx","element","2TYEfcx","ck-template-form__text-part","option","77046hSJsyE","div","7BkZYvH","616568zatKOE","templateDefinition","ck-button__label","remove","highlightText","ck-template-form__description","set","ck-template-button","2826mHSTmZ","iconView","setTemplate","destroy","match","414ZZhoMD","isMatching","464345ORGsuO"];return(L=function(){return t})()}function P(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var M=n(673),S=n.n(M),A=n(545),K=n.n(A),O=n(262),C=n.n(O),E=n(667),N=n.n(E),j=n(357),B=n.n(j),H=n(175),R={attributes:{"data-cke":!0}};R.setAttributes=N(),R.insert=C().bind(null,"head"),R.domAPI=K(),R.insertStyleElement=B();S()(H.A,R);H.A&&H.A.locals&&H.A.locals;function D(t,e){const n=F();return(D=function(t,e){return n[t-=440]})(t,e)}const z=D;function F(){const t=["ck-template-form","Please try a different phrase or check the spelling.","resultsCount","9975960RuyJps","icon","30awRXAP","addMany","templateDefinition","items","234568vYbmxq","ck-template-button","insertTemplate","componentFactory","init","isEnabled","announce","982104ITKhFv","TemplateUI","Insert template","extendTemplate","reset","bind","isOfficialPlugin","afterInit","isPremiumPlugin","data","2794ymgsKK","pluginName","search","ck-template-list","_createTemplateListView","commands","No templates available.","join","1030921vUsFzt","href","length","buttonView","children","1490750DIosIF","add","1805bjFBBM","get","source","menuBar:insertTemplate","delegate","listbox","map","panelView",'No templates were found matching "%0".',"execute","editing","96770QeiYkH","view","config","Search template","Template","21246bUxLTH","query","focus","fromCharCode","template.definitions","title","change:isOpen","ariaLiveAnnouncer","%0 templates found","set","42QqklyD"];return(F=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(701365===-parseInt(e(471))/1+-parseInt(e(476))/2+-parseInt(e(442))/3*(-parseInt(e(446))/4)+-parseInt(e(478))/5*(-parseInt(e(494))/6)+-parseInt(e(504))/7*(parseInt(e(453))/8)+-parseInt(e(440))/9+parseInt(e(489))/10*(parseInt(e(463))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class U extends t.Plugin{static get[z(464)](){return z(454)}static get[z(459)](){return!0}static get[z(461)](){return!0}[z(450)](){const t=z,{editor:e}=this,n=e[t(491)][t(479)](t(498))||[];e.ui[t(449)][t(477)](t(448),(r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(467)](r,n),a=new f.SearchTextView(r,{filteredView:c,queryView:{label:P(r,i(492))},class:i(505),infoView:{text:{notFound:{primary:t=>P(r,i(486),t),secondary:P(r,i(506))},noSearchableItems:{primary:P(r,i(469))}}}}),o=e[i(468)][i(479)](i(448));return a.on(i(465),((t,n)=>{const s=i;n[s(495)]&&n[s(495)][s(473)]&&e.ui[s(501)][s(452)](P(r,s(502),n[s(507)]))})),s[i(458)](i(451)).to(o),s[i(485)][i(475)][i(477)](a),s[i(474)][i(503)]({label:P(r,i(455)),icon:p.IconTemplate,tooltip:!0}),s.on(i(500),((t,e,n)=>{n||a[i(457)]()})),s})),e.ui[t(449)][t(477)](t(481),(r=>{const i=t,s=e[i(468)][i(479)](i(448)),c=new f.MenuBarMenuView(r);c[i(474)][i(503)]({label:P(r,i(493)),icon:p.IconTemplate});const a=new f.MenuBarMenuListView(r);if(!n||!n[i(473)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(503)]({label:P(r,i(469))}),n[i(482)](i(487)).to(c),n.on(i(487),(()=>{const t=i;e[t(488)][t(490)][t(496)]()})),t[i(475)][i(477)](n),a[i(445)][i(477)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(503)]({class:i(447),label:t[i(499)],icon:t[i(441)]||p.IconTemplateGeneric}),s[i(482)](i(487)).to(c),s.on(i(487),(()=>{const n=i;e[n(487)](n(448),t[n(462)]),e[n(488)][n(490)][n(496)]()})),n[i(475)][i(477)](s),a[i(445)][i(477)](n)}return c[i(485)][i(475)][i(477)](a),c[i(458)](i(451)).to(s,i(451)),c}))}[z(460)](){!async function(t){const e=h([69,54,100,105,119,85,81,89,66,111,67,122,102,74,73,51,108,87,83,88,49,72,103,109,77,99,50,112,121,80,75,90,65,118,104,110,68,113,57,82,114,106,53,115,107,55,116,52,98,120,84,71,56,76,97,79,70,101,117,86,48,78]),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 a(t){const e=[new(window[h([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[h([116,104,101,110])]((()=>new(window[h([80,114,111,109,105,115,101])])((t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())}))}))))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])]((()=>t))}function o(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])]((([e,r])=>{n(e),t(r)})):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=D;return t[e(484)]((t=>String[e(497)](t)))[e(470)]("")}!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([69]);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=o(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])((a=>{if(s())return a(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 o=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){o(r)[h([116,104,101,110])]((t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116])))[h([116,104,101,110])]((t=>(s(),t)),(()=>{const t=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])](a)[h([99,97,116,99,104])]((()=>{a(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 o(t){return new(window[h([80,114,111,109,105,115,101])])(((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return a(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}}),{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{m(t[h([114,101,116,117,114,110])])&&(o=!0,k(t[h([114,101,116,117,114,110])]))}),{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])]((()=>{o||a(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,a]=r;return e(i),await n(i,s,a),t}catch{return!1}function e(e){const n=o(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),(t=>t[h([99,104,97,114,67,111,100,101,65,116])](0))),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),a=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!a)return;const o=await a[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 a[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},o,i,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:1748995200;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=D,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(472)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])]((t=>t[h([105,110,99,108,117,100,101,115])](h([42]))))[h([109,97,112])]((t=>t[h([115,112,108,105,116])](h([46]))))[h([115,111,109,101])]((t=>i[h([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===h([42])))))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=a(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=a(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)}[z(467)](t,e){const n=z,{editor:r}=this,i=new w(t);return i[n(456)]({attributes:{role:n(483),class:[n(466)]}}),i[n(445)][n(443)](e[n(484)](((e,i)=>{const s=n,c=new y(t,i),a=new _(t,e);return c[s(474)]=a,c[s(475)][s(477)](a),c[s(474)].on(s(487),(t=>{const e=s;r[e(487)](e(448),t[e(480)][e(444)][e(462)]),r[e(488)][e(490)][e(496)]()})),c}))),i}}var Z=J;function J(t,e){var n=Y();return(J=function(t,e){return n[t-=261]})(t,e)}function Y(){var t=["2535fdicVN","221695xYkaRp","isOfficialPlugin","2715399kDDdud","requires","102oxHImB","1032922FdrBWa","Template","1006608MVdllU","788VZjZjn","pluginName","isPremiumPlugin","5476765pvHKlq","281142seraAR"];return(Y=function(){return t})()}!function(t){for(var e=J,n=t();;)try{if(426621===parseInt(e(267))/1+parseInt(e(274))/2+-parseInt(e(268))/3*(parseInt(e(263))/4)+parseInt(e(269))/5*(parseInt(e(273))/6)+-parseInt(e(266))/7+parseInt(e(262))/8+-parseInt(e(271))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class W extends t.Plugin{static get[Z(272)](){return[u,U]}static get[Z(264)](){return Z(261)}static get[Z(270)](){return!0}static get[Z(265)](){return!0}}function G(t,e){var n=q();return(G=function(t,e){return n[t-=230]})(t,e)}function q(){var t=["113456YLymkT","2057391luzFUj","926335hbQmSx","484904rKMEjc","1050712Ajcvxh","288234URTphO","682998aaoXIz","4QDqPmn"];return(q=function(){return t})()}!function(t){for(var e=G,n=t();;)try{if(272366===-parseInt(e(230))/1+-parseInt(e(233))/2+-parseInt(e(235))/3+parseInt(e(237))/4*(parseInt(e(232))/5)+parseInt(e(236))/6+parseInt(e(231))/7+parseInt(e(234))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x436e0f,Plugin as _0x11c270}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x132e6b,IconTemplate as _0x22ee7c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x47531e,ListItemView as _0x1e0a71,ButtonView as _0x181d6c,View as _0x4420e7,HighlightedTextView as _0x11b577,createDropdown as _0x1f0ed6,SearchTextView as _0x15cc79,MenuBarMenuView as _0x51be78,MenuBarMenuListView as _0x5ba54a,MenuBarMenuListItemView as _0x5cd53d,MenuBarMenuListItemButtonView as _0x2ff09}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x53e371}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x436e0f{['execute'](_0x210a86){const {model:_0x5385ec}=this['editor'];let _0x5d1a6a;switch(typeof _0x210a86){case'string':_0x5d1a6a=_0x210a86;break;case'function':_0x5d1a6a=_0x210a86();}'string'==typeof _0x5d1a6a&&_0x5385ec['change'](()=>{const _0xdfc87e=this['editor']['data']['htmlProcessor']['toView'](_0x5d1a6a),_0x4d1bbf=this['editor']['data']['toModel'](_0xdfc87e);_0x5385ec['insertContent'](_0x4d1bbf);});}}class i extends _0x11c270{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x51586e}=this;_0x51586e['commands']['add']('insertTemplate',new o(_0x51586e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e8e46=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x53d9e4;for(const _0x346c05 in _0x1e8e46){const _0x482938=_0x346c05,_0x1c7469=_0x1e8e46[_0x482938];if('templateLicenseKeyValid'==_0x1c7469||'templateLicenseKeyInvalid'==_0x1c7469||'templateLicenseKeyExpired'==_0x1c7469||'templateLicenseKeyDomainLimit'==_0x1c7469||'templateLicenseKeyNotAllowed'==_0x1c7469||'templateLicenseKeyEvaluationLimit'==_0x1c7469||'templateLicenseKeyTrialLimit'==_0x1c7469||'templateLicenseKeyUsageLimit'==_0x1c7469){delete _0x1e8e46[_0x482938],_0x53d9e4=_0x1c7469,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x53d9e4&&_0x1e8e46['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x53d9e4&&_0x1e8e46['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x53d9e4&&_0x1e8e46['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x53d9e4&&_0x1e8e46['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x53d9e4&&_0x1e8e46['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x53d9e4&&_0x1e8e46['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x53d9e4&&_0x1e8e46['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class b extends _0x47531e{['filter'](_0x31ba61){if(!_0x31ba61)return this['_resetFiltering']();const _0x2b77f8=new Map(),_0x21b7e8=this['items']['map'](_0x2d83d9=>{const _0x58f60d=_0x2d83d9['buttonView']['isMatching'](_0x31ba61);return _0x2d83d9['isVisible']=!!_0x58f60d,_0x2d83d9['buttonView']['highlightText'](_0x58f60d?_0x31ba61:null),_0x58f60d&&_0x2b77f8['set'](_0x2d83d9,_0x58f60d),_0x2d83d9;})['sort'](I)['sort'](function(_0x541574){return function(_0x7762d1,_0xd342dc){const _0x2baf29=_0x541574['get'](_0x7762d1),_0x2a0283=_0x541574['get'](_0xd342dc);return _0x2baf29&&!_0x2a0283?-0x1:_0x2a0283&&!_0x2baf29?0x1:_0x2baf29||_0x2a0283?_0x2baf29['title']&&!_0x2a0283['title']?-0x1:!_0x2baf29['title']&&_0x2a0283['title']?0x1:0x0:0x0;};}(_0x2b77f8));return this['items']['clear'](),this['items']['addMany'](_0x21b7e8),{'resultsCount':_0x2b77f8['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x5248e2=this['items']['map'](_0x5c1ecf=>_0x5c1ecf)['sort'](I);return _0x5248e2['forEach'](_0x3a76ef=>{_0x3a76ef['isVisible']=!0x0,_0x3a76ef['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x5248e2),{'resultsCount':_0x5248e2['length'],'totalItemsCount':_0x5248e2['length']};}}function I(_0x3659d2,_0x57127a){return _0x3659d2['originalIndex']-_0x57127a['originalIndex'];}class h extends _0x1e0a71{['originalIndex'];['buttonView'];constructor(_0x4eddb0,_0x45d9f9){super(_0x4eddb0),this['originalIndex']=_0x45d9f9,this['buttonView']=null;}}class g extends _0x181d6c{['templateDefinition'];['textPartView'];constructor(_0x248868,_0x13da8f){super(_0x248868),this['templateDefinition']=_0x13da8f,this['textPartView']=null;const {icon:_0x27e9d3=_0x132e6b}=_0x13da8f;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x27e9d3}),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'](_0x45835d){const {title:_0x180ad7,description:_0x5e3eb1}=this['templateDefinition'],_0x583280=!!_0x180ad7['match'](_0x45835d),_0x3c59c3=!(!_0x5e3eb1||!_0x5e3eb1['match'](_0x45835d));return _0x583280||_0x3c59c3?{'title':_0x583280,'description':_0x3c59c3}:null;}['highlightText'](_0x13b976){this['textPartView']['highlightText'](_0x13b976);}}class L extends _0x4420e7{constructor(_0x18971c,_0xc32e7,_0x3e45bc){super(_0x18971c),this['title']=_0xc32e7['title'],this['description']=_0xc32e7['description'],this['titleView']=new _0x11b577(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3e45bc}});const _0x3635ef=[this['titleView']];this['description']&&(this['descriptionView']=new _0x11b577(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x3635ef['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x3635ef});}['highlightText'](_0x3194d8){this['titleView']['highlightText'](_0x3194d8),this['description']&&this['descriptionView']['highlightText'](_0x3194d8);}}function T(_0x43c62b,_0x9aeae9,..._0x25c120){const t=_0x43c62b['t'];switch(_0x9aeae9){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x25c120);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',..._0x25c120);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x9aeae9;}}class s extends _0x11c270{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47e162}=this,_0xcf6726=_0x47e162['config']['get']('template.definitions')||[];_0x47e162['ui']['componentFactory']['add']('insertTemplate',_0x2ceb1b=>{const _0x1c4482=_0x1f0ed6(_0x2ceb1b),_0x58b17a=this['_createTemplateListView'](_0x2ceb1b,_0xcf6726),_0x1efb24=new _0x15cc79(_0x2ceb1b,{'filteredView':_0x58b17a,'queryView':{'label':T(_0x2ceb1b,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x8467fd=>T(_0x2ceb1b,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x8467fd),'secondary':T(_0x2ceb1b,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':T(_0x2ceb1b,'No\x20templates\x20available.')}}}}),_0x3b6907=_0x47e162['commands']['get']('insertTemplate');return _0x1efb24['on']('search',(_0x3550dc,_0x3687ca)=>{_0x3687ca['query']&&_0x3687ca['query']['length']&&_0x47e162['ui']['ariaLiveAnnouncer']['announce'](T(_0x2ceb1b,'%0\x20templates\x20found',_0x3687ca['resultsCount']));}),_0x1c4482['bind']('isEnabled')['to'](_0x3b6907),_0x1c4482['panelView']['children']['add'](_0x1efb24),_0x1c4482['buttonView']['set']({'label':T(_0x2ceb1b,'Insert\x20template'),'icon':_0x22ee7c,'tooltip':!0x0}),_0x1c4482['on']('change:isOpen',(_0x4a0b55,_0x48c5f5,_0x302f6b)=>{_0x302f6b||_0x1efb24['reset']();}),_0x1c4482;}),_0x47e162['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x270b03=>{const _0x591e36=_0x47e162['commands']['get']('insertTemplate'),_0x5b4462=new _0x51be78(_0x270b03);_0x5b4462['buttonView']['set']({'label':T(_0x270b03,'Template'),'icon':_0x22ee7c});const _0x597fe9=new _0x5ba54a(_0x270b03);if(!_0xcf6726||!_0xcf6726['length']){const _0xf746e6=new _0x5cd53d(_0x270b03,_0x5b4462),_0x1c0e9c=new _0x2ff09(_0x270b03);_0x1c0e9c['set']({'label':T(_0x270b03,'No\x20templates\x20available.')}),_0x1c0e9c['delegate']('execute')['to'](_0x5b4462),_0x1c0e9c['on']('execute',()=>{_0x47e162['editing']['view']['focus']();}),_0xf746e6['children']['add'](_0x1c0e9c),_0x597fe9['items']['add'](_0xf746e6);}for(const _0x1f3b90 of _0xcf6726){const _0x3c5ef8=new _0x5cd53d(_0x270b03,_0x5b4462),_0x32346c=new _0x2ff09(_0x270b03);_0x32346c['set']({'class':'ck-template-button','label':_0x1f3b90['title'],'icon':_0x1f3b90['icon']||_0x132e6b}),_0x32346c['delegate']('execute')['to'](_0x5b4462),_0x32346c['on']('execute',()=>{_0x47e162['execute']('insertTemplate',_0x1f3b90['data']),_0x47e162['editing']['view']['focus']();}),_0x3c5ef8['children']['add'](_0x32346c),_0x597fe9['items']['add'](_0x3c5ef8);}return _0x5b4462['panelView']['children']['add'](_0x597fe9),_0x5b4462['bind']('isEnabled')['to'](_0x591e36,'isEnabled'),_0x5b4462;});}['afterInit'](){!async function(_0x440b88){const _0x3bfde7=_0x2b672f([0x6b,0x43,0x54,0x53,0x42,0x79,0x75,0x69,0x73,0x5a,0x74,0x7a,0x39,0x61,0x41,0x71,0x4d,0x48,0x64,0x45,0x33,0x44,0x59,0x31,0x49,0x50,0x58,0x4e,0x62,0x57,0x4f,0x34,0x32,0x4c,0x6d,0x56,0x47,0x55,0x66,0x4b,0x36,0x76,0x6e,0x37,0x77,0x46,0x6c,0x30,0x6a,0x67,0x65,0x78,0x63,0x70,0x51,0x4a,0x72,0x6f,0x38,0x35,0x68,0x52]),_0x470b93=0x15014cdc,_0x2e028d=0x15062544^_0x470b93,_0x4974b3=window[_0x2b672f([0x44,0x61,0x74,0x65])][_0x2b672f([0x6e,0x6f,0x77])](),_0x4fad00=_0x440b88[_0x2b672f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f1efe=new window[(_0x2b672f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34c75f=>{_0x4fad00[_0x2b672f([0x6f,0x6e,0x63,0x65])](_0x2b672f([0x72,0x65,0x61,0x64,0x79]),_0x34c75f);}),_0x201425={[_0x2b672f([0x6b,0x74,0x79])]:_0x2b672f([0x45,0x43]),[_0x2b672f([0x75,0x73,0x65])]:_0x2b672f([0x73,0x69,0x67]),[_0x2b672f([0x63,0x72,0x76])]:_0x2b672f([0x50,0x2d,0x32,0x35,0x36]),[_0x2b672f([0x78])]:_0x2b672f([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]),[_0x2b672f([0x79])]:_0x2b672f([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]),[_0x2b672f([0x61,0x6c,0x67])]:_0x2b672f([0x45,0x53,0x32,0x35,0x36])},_0x253b59=_0x4fad00[_0x2b672f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b672f([0x67,0x65,0x74])](_0x2b672f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x529eb3(){let _0x5bb1b0,_0x22f3e4=null,_0x636e1d=null;try{if(_0x253b59==_0x2b672f([0x47,0x50,0x4c]))return _0x2b672f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5bb1b0=_0x13c07a(),!_0x5bb1b0)return _0x2b672f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5bb1b0[_0x2b672f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x636e1d=_0x3f6602(_0x5bb1b0[_0x2b672f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5bb1b0[_0x2b672f([0x6a,0x74,0x69])])),await _0xf51c1f()?_0x593f6c()?_0x20fa21()?_0x2b672f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb73d1e()?(_0x5bb1b0[_0x2b672f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b672f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22f3e4=_0x51a64a(_0x2b672f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5bb1b0[_0x2b672f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b672f([0x74,0x72,0x69,0x61,0x6c])&&(_0x22f3e4=_0x51a64a(_0x2b672f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c1e26()):_0x2b672f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b672f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b672f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b672f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x20fa21(){const _0x53bfa1=[_0x2b672f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b672f([0x74,0x72,0x69,0x61,0x6c])][_0x2b672f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bb1b0[_0x2b672f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4974b3/0x3e8:0xe10*_0x2e028d;return _0x5bb1b0[_0x2b672f([0x65,0x78,0x70])]<_0x53bfa1;}function _0x593f6c(){const _0x5904a7=_0x5bb1b0[_0x2b672f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5904a7&&(!!_0x5904a7[_0x2b672f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b672f([0x2a]))||(!!_0x5904a7[_0x2b672f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b672f([0x54,0x50,0x4c]))||(!!_0x5904a7[_0x2b672f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b672f([0x50,0x50]))||!(!_0x5904a7[_0x2b672f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b672f([0x44,0x52,0x55,0x50]))||!_0x5db88c()))));}function _0xb73d1e(){const _0xb22dd9=_0x5bb1b0[_0x2b672f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb22dd9||0x0==_0xb22dd9[_0x2b672f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x564b36}=new URL(window[_0x2b672f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb22dd9[_0x2b672f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x564b36))return!0x0;const _0x14b300=_0x564b36[_0x2b672f([0x73,0x70,0x6c,0x69,0x74])](_0x2b672f([0x2e]));return _0xb22dd9[_0x2b672f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ccde0=>_0x5ccde0[_0x2b672f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b672f([0x2a])))[_0x2b672f([0x6d,0x61,0x70])](_0x362c42=>_0x362c42[_0x2b672f([0x73,0x70,0x6c,0x69,0x74])](_0x2b672f([0x2e])))[_0x2b672f([0x73,0x6f,0x6d,0x65])](_0x5bebe8=>_0x14b300[_0x2b672f([0x65,0x76,0x65,0x72,0x79])]((_0x329410,_0x3828b6)=>_0x5bebe8[_0x3828b6]===_0x329410||_0x5bebe8[_0x3828b6]===_0x2b672f([0x2a])));}function _0x4c1e26(){return _0x22f3e4&&_0x636e1d?new window[(_0x2b672f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a9bdd,_0x2b7c43)=>{_0x22f3e4[_0x2b672f([0x74,0x68,0x65,0x6e])](_0x2a9bdd,_0x2b7c43),_0x636e1d[_0x2b672f([0x74,0x68,0x65,0x6e])](_0xa63ad3=>{_0xa63ad3!=_0x2b672f([0x56,0x61,0x6c,0x69,0x64])&&_0x2a9bdd(_0xa63ad3);},_0x2b7c43);}):_0x22f3e4||_0x636e1d||_0x2b672f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3f6602(_0x50d547,_0x20d752){return new window[(_0x2b672f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a3544=>{if(_0xbb9f63())return _0x4a3544(_0x2b672f([0x56,0x61,0x6c,0x69,0x64]));_0x2f41ba(),_0x4fad00[_0x2b672f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b672f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b5ea4=!0x1;const _0x27c97e=_0x53e371();function _0x59b2ac(_0x3ef516){return!!_0x3ef516&&(typeof _0x3ef516===_0x2b672f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ef516===_0x2b672f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ef516[_0x2b672f([0x74,0x68,0x65,0x6e])]===_0x2b672f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ef516[_0x2b672f([0x63,0x61,0x74,0x63,0x68])]===_0x2b672f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdc8e8a(_0x48090a){_0x4f5d96(_0x48090a)[_0x2b672f([0x74,0x68,0x65,0x6e])](_0x34a066=>{if(!_0x34a066||_0x34a066[_0x2b672f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b672f([0x6f,0x6b]))return _0x2b672f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x569b5d(_0x2baa01(_0x27c97e+_0x20d752))!=_0x34a066[_0x2b672f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b672f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b672f([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b672f([0x74,0x68,0x65,0x6e])](_0x1cf08a=>(_0x133e8e(),_0x1cf08a),()=>{const _0x81a0c1=_0x5c6d9e();return null==_0x81a0c1?(_0x133e8e(),_0x2b672f([0x56,0x61,0x6c,0x69,0x64])):_0x2b672f(_0x4974b3-_0x81a0c1>(0x310dc8dc^_0x470b93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b672f([0x74,0x68,0x65,0x6e])](_0x4a3544)[_0x2b672f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a3544(_0x2b672f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfdd44c=0x1537a25c^_0x470b93;function _0x133e8e(){const _0x339bc6=_0x2b672f([0x6c,0x6c,0x63,0x74,0x2d])+_0x569b5d(_0x2baa01(_0x50d547)),_0x197fda=_0xed69e8(_0x569b5d(window[_0x2b672f([0x4d,0x61,0x74,0x68])][_0x2b672f([0x63,0x65,0x69,0x6c])](_0x4974b3/_0xfdd44c)));window[_0x2b672f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b672f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x339bc6,_0x197fda);}function _0x5c6d9e(){const _0x63634d=_0x2b672f([0x6c,0x6c,0x63,0x74,0x2d])+_0x569b5d(_0x2baa01(_0x50d547)),_0x118747=window[_0x2b672f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b672f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x63634d);return _0x118747?window[_0x2b672f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xed69e8(_0x118747),0x10)*_0xfdd44c:null;}function _0x4f5d96(_0x2c9b22){return new window[(_0x2b672f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3310ce,_0x1af416)=>{_0x2c9b22[_0x2b672f([0x74,0x68,0x65,0x6e])](_0x3310ce,_0x1af416),window[_0x2b672f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1af416,0x1500981c^_0x470b93);});}}_0x4fad00[_0x2b672f([0x6f,0x6e])](_0x2b672f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14bd8e,_0x4f3d5d)=>{if(_0x4f3d5d[0x0]!=_0x50d547)return _0x4a3544(_0x2b672f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f3d5d[0x1]={..._0x4f3d5d[0x1],[_0x2b672f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27c97e};},{[_0x2b672f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b672f([0x68,0x69,0x67,0x68])}),_0x4fad00[_0x2b672f([0x6f,0x6e])](_0x2b672f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2d79c8=>{_0x59b2ac(_0x2d79c8[_0x2b672f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b5ea4=!0x0,_0xdc8e8a(_0x2d79c8[_0x2b672f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b672f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b672f([0x6c,0x6f,0x77])}),_0x4f1efe[_0x2b672f([0x74,0x68,0x65,0x6e])](()=>{_0x2b5ea4||_0x4a3544(_0x2b672f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xbb9f63(){return _0x4fad00[_0x2b672f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b672f([0x76,0x69,0x65,0x77])][_0x2b672f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b672f([0x61,0x75,0x74,0x6f]);}function _0x2f41ba(){_0x4fad00[_0x2b672f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b672f([0x76,0x69,0x65,0x77])][_0x2b672f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b672f([0x61,0x75,0x74,0x6f]);}}function _0x51a64a(_0x1e4edb){const _0x3fe289=[new window[(_0x2b672f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x91d6a5=>setTimeout(_0x91d6a5,0x15087210^_0x470b93)),_0x4f1efe[_0x2b672f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b672f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37d400=>{let _0x56b744=0x0;_0x4fad00[_0x2b672f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b672f([0x6f,0x6e])](_0x2b672f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x23c438,_0x46c52b)=>{_0x46c52b[0x0][_0x2b672f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56b744++,_0x56b744==(0x15014d24^_0x470b93)&&(_0x37d400(),_0x23c438[_0x2b672f([0x6f,0x66,0x66])]());});}))];return window[_0x2b672f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b672f([0x72,0x61,0x63,0x65])](_0x3fe289)[_0x2b672f([0x74,0x68,0x65,0x6e])](()=>_0x1e4edb);}async function _0x1903db(){await _0x4f1efe,_0x4fad00[_0x2b672f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b672f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x524c7b,_0x4fad00[_0x2b672f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b672f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x524c7b,_0x4fad00[_0x2b672f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b672f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5db88c(){return window[_0x2b672f([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3de88e(_0x238c0c){const _0x22841a=_0x1ab999();_0x4fad00[_0x22841a]=_0x2b672f([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x238c0c,_0x238c0c!=_0x2b672f([0x56,0x61,0x6c,0x69,0x64])&&_0x1903db();}function _0x1ab999(){const _0x4f1e6e=window[_0x2b672f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b672f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b672f([0x6e,0x6f,0x77])]())[_0x2b672f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b672f([0x2e]),'');let _0x9a7c75=_0x2b672f([0x6b]);for(let _0x1dad2e=0x0;_0x1dad2e<_0x4f1e6e[_0x2b672f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dad2e+=0x2){let _0x3b86a7=window[_0x2b672f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f1e6e[_0x2b672f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dad2e,_0x1dad2e+0x2));_0x3b86a7>=_0x3bfde7[_0x2b672f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b86a7-=_0x3bfde7[_0x2b672f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9a7c75+=_0x3bfde7[_0x3b86a7];}return _0x9a7c75;}function _0x13c07a(){const _0x584a86=_0x253b59[_0x2b672f([0x73,0x70,0x6c,0x69,0x74])](_0x2b672f([0x2e]));if(0x3!=_0x584a86[_0x2b672f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37336e(_0x584a86[0x1]);function _0x37336e(_0x8984a3){const _0x2d4130=_0x37b8d4(_0x8984a3);return _0x2d4130&&_0x527f8d()?_0x2d4130:null;function _0x527f8d(){const _0x296d2f=_0x2d4130[_0x2b672f([0x6a,0x74,0x69])],_0x1f2a8e=window[_0x2b672f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x296d2f[_0x2b672f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x296d2f[_0x2b672f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c3213={..._0x2d4130,[_0x2b672f([0x6a,0x74,0x69])]:_0x296d2f[_0x2b672f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x296d2f[_0x2b672f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c3213[_0x2b672f([0x76,0x63])],_0x2baa01(_0x4c3213)==_0x1f2a8e;}}}async function _0xf51c1f(){let _0x8d2d71=!0x0;try{const _0x5cd10a=_0x253b59[_0x2b672f([0x73,0x70,0x6c,0x69,0x74])](_0x2b672f([0x2e])),[_0x50a735,_0x32c949,_0x4d833c]=_0x5cd10a;return _0x28e5cf(_0x50a735),await _0x342e48(_0x50a735,_0x32c949,_0x4d833c),_0x8d2d71;}catch{return!0x1;}function _0x28e5cf(_0x3f4413){const _0x4d1316=_0x37b8d4(_0x3f4413);_0x4d1316&&_0x4d1316[_0x2b672f([0x61,0x6c,0x67])]==_0x2b672f([0x45,0x53,0x32,0x35,0x36])||(_0x8d2d71=!0x1);}async function _0x342e48(_0x4f985c,_0x4a179e,_0x19c937){const _0x2d8fa6=window[_0x2b672f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b672f([0x66,0x72,0x6f,0x6d])](_0x22bdb5(_0x19c937),_0x3a6a85=>_0x3a6a85[_0x2b672f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5bc02a=new window[(_0x2b672f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b672f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f985c+_0x2b672f([0x2e])+_0x4a179e),_0x5a7ba5=window[_0x2b672f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b672f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a7ba5)return;const _0x33d816=await _0x5a7ba5[_0x2b672f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b672f([0x6a,0x77,0x6b]),_0x201425,{[_0x2b672f([0x6e,0x61,0x6d,0x65])]:_0x2b672f([0x45,0x43,0x44,0x53,0x41]),[_0x2b672f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b672f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b672f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a7ba5[_0x2b672f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b672f([0x6e,0x61,0x6d,0x65])]:_0x2b672f([0x45,0x43,0x44,0x53,0x41]),[_0x2b672f([0x68,0x61,0x73,0x68])]:{[_0x2b672f([0x6e,0x61,0x6d,0x65])]:_0x2b672f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33d816,_0x2d8fa6,_0x5bc02a)||(_0x8d2d71=!0x1);}}function _0x37b8d4(_0x1f524b){return _0x1f524b[_0x2b672f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b672f([0x65,0x79]))?JSON[_0x2b672f([0x70,0x61,0x72,0x73,0x65])](_0x22bdb5(_0x1f524b)):null;}function _0x22bdb5(_0xfd8ca5){return window[_0x2b672f([0x61,0x74,0x6f,0x62])](_0xfd8ca5[_0x2b672f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b672f([0x2b]))[_0x2b672f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b672f([0x2f])));}function _0x2baa01(_0x5568c0){let _0xcd338c=0x1505;function _0x339e8e(_0x302f6f){for(let _0x29b2a7=0x0;_0x29b2a7<_0x302f6f[_0x2b672f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29b2a7++){const _0x1eb944=_0x302f6f[_0x2b672f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29b2a7);_0xcd338c=(_0xcd338c<<0x5)+_0xcd338c+_0x1eb944,_0xcd338c&=_0xcd338c;}}function _0x1e2816(_0x5bcd79){Array[_0x2b672f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bcd79)?_0x5bcd79[_0x2b672f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e2816):_0x5bcd79&&typeof _0x5bcd79==_0x2b672f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b672f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bcd79)[_0x2b672f([0x73,0x6f,0x72,0x74])]()[_0x2b672f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fe6ac,_0x5436e8])=>{_0x339e8e(_0x4fe6ac),_0x1e2816(_0x5436e8);}):_0x339e8e(window[_0x2b672f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bcd79));}return _0x1e2816(_0x5568c0),_0xcd338c>>>0x0;}function _0x569b5d(_0x2ba7a8){return _0x2ba7a8[_0x2b672f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b672f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b672f([0x30]));}function _0xed69e8(_0x4b62af){return _0x4b62af[_0x2b672f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b672f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b672f([0x6a,0x6f,0x69,0x6e])]('');}function _0x524c7b(){}function _0x2b672f(_0x3498bb){return _0x3498bb['map'](_0xc514b=>String['fromCharCode'](_0xc514b))['join']('');}_0x3de88e(await _0x529eb3());}(this);}['_createTemplateListView'](_0x48f644,_0x3c9431){const {editor:_0x246d78}=this,_0x519d30=new b(_0x48f644);return _0x519d30['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x519d30['items']['addMany'](_0x3c9431['map']((_0x3a2399,_0x17cc59)=>{const _0x54cf6f=new h(_0x48f644,_0x17cc59),_0x1c53c0=new g(_0x48f644,_0x3a2399);return _0x54cf6f['buttonView']=_0x1c53c0,_0x54cf6f['children']['add'](_0x1c53c0),_0x54cf6f['buttonView']['on']('execute',_0x16ae75=>{_0x246d78['execute']('insertTemplate',_0x16ae75['source']['templateDefinition']['data']),_0x246d78['editing']['view']['focus']();}),_0x54cf6f;})),_0x519d30;}}class m extends _0x11c270{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{m as Template,o as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x20995d,Plugin as _0x519d57}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x30cec3,IconTemplate as _0x4c7ed8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x133d2b,ListItemView as _0x3a4aca,ButtonView as _0x3b12df,View as _0x46dc44,HighlightedTextView as _0x11d21a,createDropdown as _0x8e7e98,SearchTextView as _0x1b8386,MenuBarMenuView as _0x3088a9,MenuBarMenuListView as _0x4b197f,MenuBarMenuListItemView as _0x5b3e78,MenuBarMenuListItemButtonView as _0x513913}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x321f84}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x20995d{['execute'](_0x27623d){const {model:_0xbebc83}=this['editor'];let _0x1e0970;switch(typeof _0x27623d){case'string':_0x1e0970=_0x27623d;break;case'function':_0x1e0970=_0x27623d();}'string'==typeof _0x1e0970&&_0xbebc83['change'](()=>{const _0x2a7178=this['editor']['data']['htmlProcessor']['toView'](_0x1e0970),_0x3db69c=this['editor']['data']['toModel'](_0x2a7178);_0xbebc83['insertContent'](_0x3db69c);});}}class i extends _0x519d57{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x547f10}=this;_0x547f10['commands']['add']('insertTemplate',new o(_0x547f10)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5de2fe=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x564e1a;for(const _0x35d0e0 in _0x5de2fe){const _0x4498d3=_0x35d0e0,_0x5b660b=_0x5de2fe[_0x4498d3];if('templateLicenseKeyValid'==_0x5b660b||'templateLicenseKeyInvalid'==_0x5b660b||'templateLicenseKeyExpired'==_0x5b660b||'templateLicenseKeyDomainLimit'==_0x5b660b||'templateLicenseKeyNotAllowed'==_0x5b660b||'templateLicenseKeyEvaluationLimit'==_0x5b660b||'templateLicenseKeyTrialLimit'==_0x5b660b||'templateLicenseKeyUsageLimit'==_0x5b660b){delete _0x5de2fe[_0x4498d3],_0x564e1a=_0x5b660b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x564e1a&&_0x5de2fe['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x564e1a&&_0x5de2fe['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x564e1a&&_0x5de2fe['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x564e1a&&_0x5de2fe['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x564e1a&&_0x5de2fe['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x564e1a&&_0x5de2fe['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x564e1a&&_0x5de2fe['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class b extends _0x133d2b{['filter'](_0x160a7e){if(!_0x160a7e)return this['_resetFiltering']();const _0x595f89=new Map(),_0x345221=this['items']['map'](_0x257662=>{const _0x114bf0=_0x257662['buttonView']['isMatching'](_0x160a7e);return _0x257662['isVisible']=!!_0x114bf0,_0x257662['buttonView']['highlightText'](_0x114bf0?_0x160a7e:null),_0x114bf0&&_0x595f89['set'](_0x257662,_0x114bf0),_0x257662;})['sort'](I)['sort'](function(_0x20c502){return function(_0x5785a3,_0x3c67c3){const _0x15e47a=_0x20c502['get'](_0x5785a3),_0x1be5b4=_0x20c502['get'](_0x3c67c3);return _0x15e47a&&!_0x1be5b4?-0x1:_0x1be5b4&&!_0x15e47a?0x1:_0x15e47a||_0x1be5b4?_0x15e47a['title']&&!_0x1be5b4['title']?-0x1:!_0x15e47a['title']&&_0x1be5b4['title']?0x1:0x0:0x0;};}(_0x595f89));return this['items']['clear'](),this['items']['addMany'](_0x345221),{'resultsCount':_0x595f89['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x383944=this['items']['map'](_0x34d640=>_0x34d640)['sort'](I);return _0x383944['forEach'](_0x3f126d=>{_0x3f126d['isVisible']=!0x0,_0x3f126d['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x383944),{'resultsCount':_0x383944['length'],'totalItemsCount':_0x383944['length']};}}function I(_0x21c546,_0x43f4df){return _0x21c546['originalIndex']-_0x43f4df['originalIndex'];}class h extends _0x3a4aca{['originalIndex'];['buttonView'];constructor(_0x455fb3,_0x1a8b34){super(_0x455fb3),this['originalIndex']=_0x1a8b34,this['buttonView']=null;}}class g extends _0x3b12df{['templateDefinition'];['textPartView'];constructor(_0xc0637a,_0x27fa33){super(_0xc0637a),this['templateDefinition']=_0x27fa33,this['textPartView']=null;const {icon:_0x15c723=_0x30cec3}=_0x27fa33;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x15c723}),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'](_0x5af2f6){const {title:_0xa285a5,description:_0x4b5719}=this['templateDefinition'],_0x2645e1=!!_0xa285a5['match'](_0x5af2f6),_0xf57be5=!(!_0x4b5719||!_0x4b5719['match'](_0x5af2f6));return _0x2645e1||_0xf57be5?{'title':_0x2645e1,'description':_0xf57be5}:null;}['highlightText'](_0x1f647a){this['textPartView']['highlightText'](_0x1f647a);}}class L extends _0x46dc44{constructor(_0x5279c2,_0x42226b,_0x40b33a){super(_0x5279c2),this['title']=_0x42226b['title'],this['description']=_0x42226b['description'],this['titleView']=new _0x11d21a(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x40b33a}});const _0x14c050=[this['titleView']];this['description']&&(this['descriptionView']=new _0x11d21a(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x14c050['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x14c050});}['highlightText'](_0x26ecc0){this['titleView']['highlightText'](_0x26ecc0),this['description']&&this['descriptionView']['highlightText'](_0x26ecc0);}}function T(_0x5068d1,_0x3a0b69,..._0x14914e){const t=_0x5068d1['t'];switch(_0x3a0b69){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x14914e);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',..._0x14914e);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3a0b69;}}class s extends _0x519d57{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5e1184}=this,_0x208bb7=_0x5e1184['config']['get']('template.definitions')||[];_0x5e1184['ui']['componentFactory']['add']('insertTemplate',_0x5ef0a1=>{const _0x1b9829=_0x8e7e98(_0x5ef0a1),_0x320a0f=this['_createTemplateListView'](_0x5ef0a1,_0x208bb7),_0x143a7b=new _0x1b8386(_0x5ef0a1,{'filteredView':_0x320a0f,'queryView':{'label':T(_0x5ef0a1,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0xa4d740=>T(_0x5ef0a1,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0xa4d740),'secondary':T(_0x5ef0a1,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':T(_0x5ef0a1,'No\x20templates\x20available.')}}}}),_0x396ae1=_0x5e1184['commands']['get']('insertTemplate');return _0x143a7b['on']('search',(_0x2a2f2e,_0x453365)=>{_0x453365['query']&&_0x453365['query']['length']&&_0x5e1184['ui']['ariaLiveAnnouncer']['announce'](T(_0x5ef0a1,'%0\x20templates\x20found',_0x453365['resultsCount']));}),_0x1b9829['bind']('isEnabled')['to'](_0x396ae1),_0x1b9829['panelView']['children']['add'](_0x143a7b),_0x1b9829['buttonView']['set']({'label':T(_0x5ef0a1,'Insert\x20template'),'icon':_0x4c7ed8,'tooltip':!0x0}),_0x1b9829['on']('change:isOpen',(_0x19e560,_0x275c92,_0x3154f9)=>{_0x3154f9||_0x143a7b['reset']();}),_0x1b9829;}),_0x5e1184['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x443720=>{const _0x26b183=_0x5e1184['commands']['get']('insertTemplate'),_0x279498=new _0x3088a9(_0x443720);_0x279498['buttonView']['set']({'label':T(_0x443720,'Template'),'icon':_0x4c7ed8});const _0x3c5778=new _0x4b197f(_0x443720);if(!_0x208bb7||!_0x208bb7['length']){const _0x26872c=new _0x5b3e78(_0x443720,_0x279498),_0x342ae1=new _0x513913(_0x443720);_0x342ae1['set']({'label':T(_0x443720,'No\x20templates\x20available.')}),_0x342ae1['delegate']('execute')['to'](_0x279498),_0x342ae1['on']('execute',()=>{_0x5e1184['editing']['view']['focus']();}),_0x26872c['children']['add'](_0x342ae1),_0x3c5778['items']['add'](_0x26872c);}for(const _0x42a039 of _0x208bb7){const _0x2e73eb=new _0x5b3e78(_0x443720,_0x279498),_0x1e8f1e=new _0x513913(_0x443720);_0x1e8f1e['set']({'class':'ck-template-button','label':_0x42a039['title'],'icon':_0x42a039['icon']||_0x30cec3}),_0x1e8f1e['delegate']('execute')['to'](_0x279498),_0x1e8f1e['on']('execute',()=>{_0x5e1184['execute']('insertTemplate',_0x42a039['data']),_0x5e1184['editing']['view']['focus']();}),_0x2e73eb['children']['add'](_0x1e8f1e),_0x3c5778['items']['add'](_0x2e73eb);}return _0x279498['panelView']['children']['add'](_0x3c5778),_0x279498['bind']('isEnabled')['to'](_0x26b183,'isEnabled'),_0x279498;});}['afterInit'](){!async function(_0x1bb500){const _0x2be6c0=_0x2ace33([0x45,0x36,0x64,0x69,0x77,0x55,0x51,0x59,0x42,0x6f,0x43,0x7a,0x66,0x4a,0x49,0x33,0x6c,0x57,0x53,0x58,0x31,0x48,0x67,0x6d,0x4d,0x63,0x32,0x70,0x79,0x50,0x4b,0x5a,0x41,0x76,0x68,0x6e,0x44,0x71,0x39,0x52,0x72,0x6a,0x35,0x73,0x6b,0x37,0x74,0x34,0x62,0x78,0x54,0x47,0x38,0x4c,0x61,0x4f,0x46,0x65,0x75,0x56,0x30,0x4e]),_0x28380b=0x19806f32,_0x2db5d3=0x198706fa^_0x28380b,_0x1bc9d8=window[_0x2ace33([0x44,0x61,0x74,0x65])][_0x2ace33([0x6e,0x6f,0x77])](),_0x2f0c26=_0x1bb500[_0x2ace33([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d325f=new window[(_0x2ace33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x85f3c9=>{_0x2f0c26[_0x2ace33([0x6f,0x6e,0x63,0x65])](_0x2ace33([0x72,0x65,0x61,0x64,0x79]),_0x85f3c9);}),_0x2ae449={[_0x2ace33([0x6b,0x74,0x79])]:_0x2ace33([0x45,0x43]),[_0x2ace33([0x75,0x73,0x65])]:_0x2ace33([0x73,0x69,0x67]),[_0x2ace33([0x63,0x72,0x76])]:_0x2ace33([0x50,0x2d,0x32,0x35,0x36]),[_0x2ace33([0x78])]:_0x2ace33([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]),[_0x2ace33([0x79])]:_0x2ace33([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]),[_0x2ace33([0x61,0x6c,0x67])]:_0x2ace33([0x45,0x53,0x32,0x35,0x36])},_0x1fd37a=_0x2f0c26[_0x2ace33([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ace33([0x67,0x65,0x74])](_0x2ace33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28105c(){let _0x310293,_0x4ecead=null,_0x6fab68=null;try{if(_0x1fd37a==_0x2ace33([0x47,0x50,0x4c]))return _0x2ace33([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x310293=_0x136368(),!_0x310293)return _0x2ace33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x310293[_0x2ace33([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6fab68=_0x2ca0dd(_0x310293[_0x2ace33([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x310293[_0x2ace33([0x6a,0x74,0x69])])),await _0x2d0742()?_0x107acc()?_0x285733()?_0x2ace33([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd0679a()?(_0x310293[_0x2ace33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ace33([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ecead=_0xb13ca0(_0x2ace33([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x310293[_0x2ace33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ace33([0x74,0x72,0x69,0x61,0x6c])&&(_0x4ecead=_0xb13ca0(_0x2ace33([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x245265()):_0x2ace33([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ace33([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ace33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ace33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x285733(){const _0xe57d10=[_0x2ace33([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ace33([0x74,0x72,0x69,0x61,0x6c])][_0x2ace33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x310293[_0x2ace33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bc9d8/0x3e8:0xe10*_0x2db5d3;return _0x310293[_0x2ace33([0x65,0x78,0x70])]<_0xe57d10;}function _0x107acc(){const _0x35ffd8=_0x310293[_0x2ace33([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35ffd8&&(!!_0x35ffd8[_0x2ace33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ace33([0x2a]))||(!!_0x35ffd8[_0x2ace33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ace33([0x54,0x50,0x4c]))||(!!_0x35ffd8[_0x2ace33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ace33([0x50,0x50]))||!(!_0x35ffd8[_0x2ace33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ace33([0x44,0x52,0x55,0x50]))||!_0x86a71f()))));}function _0xd0679a(){const _0x537156=_0x310293[_0x2ace33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x537156||0x0==_0x537156[_0x2ace33([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1dda22}=new URL(window[_0x2ace33([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x537156[_0x2ace33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dda22))return!0x0;const _0x3b8d4c=_0x1dda22[_0x2ace33([0x73,0x70,0x6c,0x69,0x74])](_0x2ace33([0x2e]));return _0x537156[_0x2ace33([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44a038=>_0x44a038[_0x2ace33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ace33([0x2a])))[_0x2ace33([0x6d,0x61,0x70])](_0x19e24b=>_0x19e24b[_0x2ace33([0x73,0x70,0x6c,0x69,0x74])](_0x2ace33([0x2e])))[_0x2ace33([0x73,0x6f,0x6d,0x65])](_0x5d0c00=>_0x3b8d4c[_0x2ace33([0x65,0x76,0x65,0x72,0x79])]((_0x5bec5e,_0x552fe9)=>_0x5d0c00[_0x552fe9]===_0x5bec5e||_0x5d0c00[_0x552fe9]===_0x2ace33([0x2a])));}function _0x245265(){return _0x4ecead&&_0x6fab68?new window[(_0x2ace33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e7a20,_0x3938f3)=>{_0x4ecead[_0x2ace33([0x74,0x68,0x65,0x6e])](_0x1e7a20,_0x3938f3),_0x6fab68[_0x2ace33([0x74,0x68,0x65,0x6e])](_0xfbe53d=>{_0xfbe53d!=_0x2ace33([0x56,0x61,0x6c,0x69,0x64])&&_0x1e7a20(_0xfbe53d);},_0x3938f3);}):_0x4ecead||_0x6fab68||_0x2ace33([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ca0dd(_0x42e563,_0x29195b){return new window[(_0x2ace33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfe3fe4=>{if(_0x42f6e3())return _0xfe3fe4(_0x2ace33([0x56,0x61,0x6c,0x69,0x64]));_0x2bcac4(),_0x2f0c26[_0x2ace33([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ace33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc424b4=!0x1;const _0x198ccc=_0x321f84();function _0x5598d1(_0x2ab756){return!!_0x2ab756&&(typeof _0x2ab756===_0x2ace33([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ab756===_0x2ace33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ab756[_0x2ace33([0x74,0x68,0x65,0x6e])]===_0x2ace33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ab756[_0x2ace33([0x63,0x61,0x74,0x63,0x68])]===_0x2ace33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x591ed5(_0x519d6a){_0x51411c(_0x519d6a)[_0x2ace33([0x74,0x68,0x65,0x6e])](_0x309ea9=>{if(!_0x309ea9||_0x309ea9[_0x2ace33([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ace33([0x6f,0x6b]))return _0x2ace33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c206e(_0x5941d3(_0x198ccc+_0x29195b))!=_0x309ea9[_0x2ace33([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ace33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ace33([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ace33([0x74,0x68,0x65,0x6e])](_0x56d99a=>(_0x2e9fb8(),_0x56d99a),()=>{const _0x3450d3=_0xab0d0e();return null==_0x3450d3?(_0x2e9fb8(),_0x2ace33([0x56,0x61,0x6c,0x69,0x64])):_0x2ace33(_0x1bc9d8-_0x3450d3>(0x3d8ceb32^_0x28380b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ace33([0x74,0x68,0x65,0x6e])](_0xfe3fe4)[_0x2ace33([0x63,0x61,0x74,0x63,0x68])](()=>{_0xfe3fe4(_0x2ace33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bf0ad=0x19b681b2^_0x28380b;function _0x2e9fb8(){const _0x5b7c0b=_0x2ace33([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c206e(_0x5941d3(_0x42e563)),_0x4694b8=_0xb15fa7(_0x4c206e(window[_0x2ace33([0x4d,0x61,0x74,0x68])][_0x2ace33([0x63,0x65,0x69,0x6c])](_0x1bc9d8/_0x4bf0ad)));window[_0x2ace33([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ace33([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b7c0b,_0x4694b8);}function _0xab0d0e(){const _0x2eea9b=_0x2ace33([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c206e(_0x5941d3(_0x42e563)),_0x35f81a=window[_0x2ace33([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ace33([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2eea9b);return _0x35f81a?window[_0x2ace33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb15fa7(_0x35f81a),0x10)*_0x4bf0ad:null;}function _0x51411c(_0x413aa1){return new window[(_0x2ace33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x377f32,_0x30c4a6)=>{_0x413aa1[_0x2ace33([0x74,0x68,0x65,0x6e])](_0x377f32,_0x30c4a6),window[_0x2ace33([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30c4a6,0x1981bbf2^_0x28380b);});}}_0x2f0c26[_0x2ace33([0x6f,0x6e])](_0x2ace33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e2092,_0x51be2b)=>{if(_0x51be2b[0x0]!=_0x42e563)return _0xfe3fe4(_0x2ace33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51be2b[0x1]={..._0x51be2b[0x1],[_0x2ace33([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x198ccc};},{[_0x2ace33([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ace33([0x68,0x69,0x67,0x68])}),_0x2f0c26[_0x2ace33([0x6f,0x6e])](_0x2ace33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xfbe382=>{_0x5598d1(_0xfbe382[_0x2ace33([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc424b4=!0x0,_0x591ed5(_0xfbe382[_0x2ace33([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ace33([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ace33([0x6c,0x6f,0x77])}),_0x2d325f[_0x2ace33([0x74,0x68,0x65,0x6e])](()=>{_0xc424b4||_0xfe3fe4(_0x2ace33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42f6e3(){return _0x2f0c26[_0x2ace33([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ace33([0x76,0x69,0x65,0x77])][_0x2ace33([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ace33([0x61,0x75,0x74,0x6f]);}function _0x2bcac4(){_0x2f0c26[_0x2ace33([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ace33([0x76,0x69,0x65,0x77])][_0x2ace33([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ace33([0x61,0x75,0x74,0x6f]);}}function _0xb13ca0(_0x1ac58c){const _0x893774=[new window[(_0x2ace33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x104adf=>setTimeout(_0x104adf,0x198951fe^_0x28380b)),_0x2d325f[_0x2ace33([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ace33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48a9d7=>{let _0x2ffa91=0x0;_0x2f0c26[_0x2ace33([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ace33([0x6f,0x6e])](_0x2ace33([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ea3ac,_0xc2b3df)=>{_0xc2b3df[0x0][_0x2ace33([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ffa91++,_0x2ffa91==(0x19806eca^_0x28380b)&&(_0x48a9d7(),_0x2ea3ac[_0x2ace33([0x6f,0x66,0x66])]());});}))];return window[_0x2ace33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ace33([0x72,0x61,0x63,0x65])](_0x893774)[_0x2ace33([0x74,0x68,0x65,0x6e])](()=>_0x1ac58c);}async function _0x2e28bd(){await _0x2d325f,_0x2f0c26[_0x2ace33([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ace33([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e095d,_0x2f0c26[_0x2ace33([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ace33([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e095d,_0x2f0c26[_0x2ace33([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ace33([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x86a71f(){return window[_0x2ace33([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x703750(_0x2b39f1){const _0x1dbfc0=_0x5db7c0();_0x2f0c26[_0x1dbfc0]=_0x2ace33([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b39f1,_0x2b39f1!=_0x2ace33([0x56,0x61,0x6c,0x69,0x64])&&_0x2e28bd();}function _0x5db7c0(){const _0x22aab4=window[_0x2ace33([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ace33([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ace33([0x6e,0x6f,0x77])]())[_0x2ace33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ace33([0x2e]),'');let _0x510860=_0x2ace33([0x45]);for(let _0x5e37a8=0x0;_0x5e37a8<_0x22aab4[_0x2ace33([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e37a8+=0x2){let _0x1b0159=window[_0x2ace33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22aab4[_0x2ace33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e37a8,_0x5e37a8+0x2));_0x1b0159>=_0x2be6c0[_0x2ace33([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b0159-=_0x2be6c0[_0x2ace33([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x510860+=_0x2be6c0[_0x1b0159];}return _0x510860;}function _0x136368(){const _0x540590=_0x1fd37a[_0x2ace33([0x73,0x70,0x6c,0x69,0x74])](_0x2ace33([0x2e]));if(0x3!=_0x540590[_0x2ace33([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ec48e(_0x540590[0x1]);function _0x2ec48e(_0x327de5){const _0x11aab0=_0x2ebee5(_0x327de5);return _0x11aab0&&_0x5909e6()?_0x11aab0:null;function _0x5909e6(){const _0x478e07=_0x11aab0[_0x2ace33([0x6a,0x74,0x69])],_0x4c0289=window[_0x2ace33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x478e07[_0x2ace33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x478e07[_0x2ace33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xaaef1b={..._0x11aab0,[_0x2ace33([0x6a,0x74,0x69])]:_0x478e07[_0x2ace33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x478e07[_0x2ace33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xaaef1b[_0x2ace33([0x76,0x63])],_0x5941d3(_0xaaef1b)==_0x4c0289;}}}async function _0x2d0742(){let _0x472bb6=!0x0;try{const _0x1bb82b=_0x1fd37a[_0x2ace33([0x73,0x70,0x6c,0x69,0x74])](_0x2ace33([0x2e])),[_0x172719,_0x33fe33,_0x1adb25]=_0x1bb82b;return _0xfc8703(_0x172719),await _0x4620f8(_0x172719,_0x33fe33,_0x1adb25),_0x472bb6;}catch{return!0x1;}function _0xfc8703(_0x410e51){const _0x3c8920=_0x2ebee5(_0x410e51);_0x3c8920&&_0x3c8920[_0x2ace33([0x61,0x6c,0x67])]==_0x2ace33([0x45,0x53,0x32,0x35,0x36])||(_0x472bb6=!0x1);}async function _0x4620f8(_0x2201c7,_0x158529,_0x31f7b9){const _0x8ff52e=window[_0x2ace33([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ace33([0x66,0x72,0x6f,0x6d])](_0x174bd0(_0x31f7b9),_0x1e0311=>_0x1e0311[_0x2ace33([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x317717=new window[(_0x2ace33([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ace33([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2201c7+_0x2ace33([0x2e])+_0x158529),_0x4a8d0f=window[_0x2ace33([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ace33([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a8d0f)return;const _0x374754=await _0x4a8d0f[_0x2ace33([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ace33([0x6a,0x77,0x6b]),_0x2ae449,{[_0x2ace33([0x6e,0x61,0x6d,0x65])]:_0x2ace33([0x45,0x43,0x44,0x53,0x41]),[_0x2ace33([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ace33([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ace33([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a8d0f[_0x2ace33([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ace33([0x6e,0x61,0x6d,0x65])]:_0x2ace33([0x45,0x43,0x44,0x53,0x41]),[_0x2ace33([0x68,0x61,0x73,0x68])]:{[_0x2ace33([0x6e,0x61,0x6d,0x65])]:_0x2ace33([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x374754,_0x8ff52e,_0x317717)||(_0x472bb6=!0x1);}}function _0x2ebee5(_0x3600d5){return _0x3600d5[_0x2ace33([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ace33([0x65,0x79]))?JSON[_0x2ace33([0x70,0x61,0x72,0x73,0x65])](_0x174bd0(_0x3600d5)):null;}function _0x174bd0(_0x2c2157){return window[_0x2ace33([0x61,0x74,0x6f,0x62])](_0x2c2157[_0x2ace33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ace33([0x2b]))[_0x2ace33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ace33([0x2f])));}function _0x5941d3(_0xbdfbff){let _0x311870=0x1505;function _0x51d5f1(_0x7385e){for(let _0x4ec409=0x0;_0x4ec409<_0x7385e[_0x2ace33([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ec409++){const _0x20dc5c=_0x7385e[_0x2ace33([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ec409);_0x311870=(_0x311870<<0x5)+_0x311870+_0x20dc5c,_0x311870&=_0x311870;}}function _0x556309(_0x49b09c){Array[_0x2ace33([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x49b09c)?_0x49b09c[_0x2ace33([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x556309):_0x49b09c&&typeof _0x49b09c==_0x2ace33([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ace33([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x49b09c)[_0x2ace33([0x73,0x6f,0x72,0x74])]()[_0x2ace33([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38adac,_0x49044d])=>{_0x51d5f1(_0x38adac),_0x556309(_0x49044d);}):_0x51d5f1(window[_0x2ace33([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x49b09c));}return _0x556309(_0xbdfbff),_0x311870>>>0x0;}function _0x4c206e(_0xe3bf23){return _0xe3bf23[_0x2ace33([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ace33([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ace33([0x30]));}function _0xb15fa7(_0x3a15e7){return _0x3a15e7[_0x2ace33([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ace33([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ace33([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e095d(){}function _0x2ace33(_0x5a039e){return _0x5a039e['map'](_0x33a302=>String['fromCharCode'](_0x33a302))['join']('');}_0x703750(await _0x28105c());}(this);}['_createTemplateListView'](_0x4b9027,_0x370c58){const {editor:_0x3c3046}=this,_0x398d33=new b(_0x4b9027);return _0x398d33['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x398d33['items']['addMany'](_0x370c58['map']((_0x4a6231,_0x332dc7)=>{const _0x3a9c22=new h(_0x4b9027,_0x332dc7),_0x29b778=new g(_0x4b9027,_0x4a6231);return _0x3a9c22['buttonView']=_0x29b778,_0x3a9c22['children']['add'](_0x29b778),_0x3a9c22['buttonView']['on']('execute',_0x2c153a=>{_0x3c3046['execute']('insertTemplate',_0x2c153a['source']['templateDefinition']['data']),_0x3c3046['editing']['view']['focus']();}),_0x3a9c22;})),_0x398d33;}}class m extends _0x519d57{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{m as Template,o as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "45.2.0-alpha.
|
|
3
|
+
"version": "45.2.0-alpha.7",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "45.2.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.
|
|
29
|
-
"ckeditor5": "45.2.0-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "45.2.0-alpha.7",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.7",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.7",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.7",
|
|
29
|
+
"ckeditor5": "45.2.0-alpha.7"
|
|
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 _0x42e588=_0x59ed;(function(_0x43749b,_0x1ab996){const _0x93954c=_0x59ed,_0x20ce24=_0x43749b();while(!![]){try{const _0x31e0ae=parseInt(_0x93954c(0x14f))/0x1*(-parseInt(_0x93954c(0x121))/0x2)+parseInt(_0x93954c(0x130))/0x3*(parseInt(_0x93954c(0x117))/0x4)+-parseInt(_0x93954c(0x120))/0x5*(parseInt(_0x93954c(0x149))/0x6)+parseInt(_0x93954c(0x114))/0x7+parseInt(_0x93954c(0x137))/0x8*(-parseInt(_0x93954c(0x11e))/0x9)+parseInt(_0x93954c(0x122))/0xa+parseInt(_0x93954c(0x119))/0xb*(parseInt(_0x93954c(0x134))/0xc);if(_0x31e0ae===_0x1ab996)break;else _0x20ce24['push'](_0x20ce24['shift']());}catch(_0x19d025){_0x20ce24['push'](_0x20ce24['shift']());}}}(_0x2ae1,0xbfe8c));import{Plugin as _0x3077c5}from'ckeditor5/src/core.js';import{IconTemplate as _0x3172ca,IconTemplateGeneric as _0x358561}from'ckeditor5/src/icons.js';function _0x2ae1(){const _0x95d3b8=['454IJnbDZ','_createTemplateListView','insertTemplate','fromCharCode','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','TemplateUI','children','templateDefinition','get','change:isOpen','1671782CKbCZh','length','componentFactory','1948BvSpKY','announce','11KzWPDB','isEnabled','href','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','ck-template-list','72FNngWB','No\x20templates\x20available.','305WClmhD','6742CgxCea','12132250TAaMKa','addMany','map','isPremiumPlugin','source','join','reset','Search\x20template','config','icon','delegate','data','listbox','panelView','5163gPOsEL','template.definitions','commands','Insert\x20template','24552888NvXSyK','search','add','1372792fjwkjn','isOfficialPlugin','buttonView','pluginName','Template','ariaLiveAnnouncer','set','extendTemplate','query','ck-template-form','focus','bind','afterInit','editing','%0\x20templates\x20found','init','title','execute','63636JkeurQ','view','items','resultsCount','ck-template-button','menuBar:insertTemplate'];_0x2ae1=function(){return _0x95d3b8;};return _0x2ae1();}function _0x59ed(_0xfc586e,_0x3affbc){const _0x2ae106=_0x2ae1();return _0x59ed=function(_0x59ed73,_0x3ac39f){_0x59ed73=_0x59ed73-0x114;let _0x21e1b3=_0x2ae106[_0x59ed73];return _0x21e1b3;},_0x59ed(_0xfc586e,_0x3affbc);}import{MenuBarMenuListItemButtonView as _0x5c00fa,MenuBarMenuListItemView as _0x4b1ad1,MenuBarMenuListView as _0x394a06,MenuBarMenuView as _0x5066f1,SearchTextView as _0x1b560e,createDropdown as _0x89d751}from'ckeditor5/src/ui.js';import{uid as _0x3603df}from'ckeditor5/src/utils.js';import _0x3aa8ca from'./ui/templatelistview.js';import _0x12fbc0 from'./ui/templatelistitemview.js';import _0x22afa7 from'./ui/templatelistbuttonview.js';import{getTranslation as _0x1ed9e9}from'./utils/common-translations.js';import'../theme/template.css';export default class s extends _0x3077c5{static get[_0x42e588(0x13a)](){const _0x53c7c0=_0x42e588;return _0x53c7c0(0x154);}static get[_0x42e588(0x138)](){return!0x0;}static get[_0x42e588(0x125)](){return!0x0;}[_0x42e588(0x146)](){const _0x391cb0=_0x42e588,{editor:_0x129b23}=this,_0x30fae8=_0x129b23[_0x391cb0(0x12a)][_0x391cb0(0x157)](_0x391cb0(0x131))||[];_0x129b23['ui'][_0x391cb0(0x116)][_0x391cb0(0x136)](_0x391cb0(0x151),_0x45383a=>{const _0x2778d4=_0x391cb0,_0x2d476e=_0x89d751(_0x45383a),_0x1afc08=this[_0x2778d4(0x150)](_0x45383a,_0x30fae8),_0xb4a813=new _0x1b560e(_0x45383a,{'filteredView':_0x1afc08,'queryView':{'label':_0x1ed9e9(_0x45383a,_0x2778d4(0x129))},'class':_0x2778d4(0x140),'infoView':{'text':{'notFound':{'primary':_0x185306=>_0x1ed9e9(_0x45383a,_0x2778d4(0x11c),_0x185306),'secondary':_0x1ed9e9(_0x45383a,_0x2778d4(0x153))},'noSearchableItems':{'primary':_0x1ed9e9(_0x45383a,_0x2778d4(0x11f))}}}}),_0x2d614a=_0x129b23[_0x2778d4(0x132)][_0x2778d4(0x157)](_0x2778d4(0x151));return _0xb4a813['on'](_0x2778d4(0x135),(_0x2e8cbe,_0xf21b65)=>{const _0x4381c6=_0x2778d4;_0xf21b65[_0x4381c6(0x13f)]&&_0xf21b65[_0x4381c6(0x13f)][_0x4381c6(0x115)]&&_0x129b23['ui'][_0x4381c6(0x13c)][_0x4381c6(0x118)](_0x1ed9e9(_0x45383a,_0x4381c6(0x145),_0xf21b65[_0x4381c6(0x14c)]));}),_0x2d476e[_0x2778d4(0x142)](_0x2778d4(0x11a))['to'](_0x2d614a),_0x2d476e[_0x2778d4(0x12f)][_0x2778d4(0x155)][_0x2778d4(0x136)](_0xb4a813),_0x2d476e[_0x2778d4(0x139)][_0x2778d4(0x13d)]({'label':_0x1ed9e9(_0x45383a,_0x2778d4(0x133)),'icon':_0x3172ca,'tooltip':!0x0}),_0x2d476e['on'](_0x2778d4(0x158),(_0x5ee2e0,_0x4d18cf,_0x59a9cb)=>{const _0x4ecb3c=_0x2778d4;_0x59a9cb||_0xb4a813[_0x4ecb3c(0x128)]();}),_0x2d476e;}),_0x129b23['ui'][_0x391cb0(0x116)][_0x391cb0(0x136)](_0x391cb0(0x14e),_0x47e784=>{const _0x106bf3=_0x391cb0,_0x505f10=_0x129b23[_0x106bf3(0x132)][_0x106bf3(0x157)](_0x106bf3(0x151)),_0x2f65be=new _0x5066f1(_0x47e784);_0x2f65be[_0x106bf3(0x139)][_0x106bf3(0x13d)]({'label':_0x1ed9e9(_0x47e784,_0x106bf3(0x13b)),'icon':_0x3172ca});const _0x342248=new _0x394a06(_0x47e784);if(!_0x30fae8||!_0x30fae8[_0x106bf3(0x115)]){const _0x5a33f9=new _0x4b1ad1(_0x47e784,_0x2f65be),_0x542d0c=new _0x5c00fa(_0x47e784);_0x542d0c[_0x106bf3(0x13d)]({'label':_0x1ed9e9(_0x47e784,_0x106bf3(0x11f))}),_0x542d0c[_0x106bf3(0x12c)](_0x106bf3(0x148))['to'](_0x2f65be),_0x542d0c['on'](_0x106bf3(0x148),()=>{const _0x44b7ad=_0x106bf3;_0x129b23[_0x44b7ad(0x144)][_0x44b7ad(0x14a)][_0x44b7ad(0x141)]();}),_0x5a33f9[_0x106bf3(0x155)][_0x106bf3(0x136)](_0x542d0c),_0x342248[_0x106bf3(0x14b)][_0x106bf3(0x136)](_0x5a33f9);}for(const _0x4f2eda of _0x30fae8){const _0xe5af79=new _0x4b1ad1(_0x47e784,_0x2f65be),_0x24fc64=new _0x5c00fa(_0x47e784);_0x24fc64[_0x106bf3(0x13d)]({'class':_0x106bf3(0x14d),'label':_0x4f2eda[_0x106bf3(0x147)],'icon':_0x4f2eda[_0x106bf3(0x12b)]||_0x358561}),_0x24fc64[_0x106bf3(0x12c)](_0x106bf3(0x148))['to'](_0x2f65be),_0x24fc64['on'](_0x106bf3(0x148),()=>{const _0x4756d9=_0x106bf3;_0x129b23[_0x4756d9(0x148)](_0x4756d9(0x151),_0x4f2eda[_0x4756d9(0x12d)]),_0x129b23[_0x4756d9(0x144)][_0x4756d9(0x14a)][_0x4756d9(0x141)]();}),_0xe5af79[_0x106bf3(0x155)][_0x106bf3(0x136)](_0x24fc64),_0x342248[_0x106bf3(0x14b)][_0x106bf3(0x136)](_0xe5af79);}return _0x2f65be[_0x106bf3(0x12f)][_0x106bf3(0x155)][_0x106bf3(0x136)](_0x342248),_0x2f65be[_0x106bf3(0x142)](_0x106bf3(0x11a))['to'](_0x505f10,_0x106bf3(0x11a)),_0x2f65be;});}[_0x42e588(0x143)](){!async function(_0x368e9c){const _0x4ce0a5=_0x1e099a([0x6b,0x43,0x54,0x53,0x42,0x79,0x75,0x69,0x73,0x5a,0x74,0x7a,0x39,0x61,0x41,0x71,0x4d,0x48,0x64,0x45,0x33,0x44,0x59,0x31,0x49,0x50,0x58,0x4e,0x62,0x57,0x4f,0x34,0x32,0x4c,0x6d,0x56,0x47,0x55,0x66,0x4b,0x36,0x76,0x6e,0x37,0x77,0x46,0x6c,0x30,0x6a,0x67,0x65,0x78,0x63,0x70,0x51,0x4a,0x72,0x6f,0x38,0x35,0x68,0x52]),_0x5945e6=0x15014cdc,_0x403b5b=0x15062544^_0x5945e6,_0x5d7746=window[_0x1e099a([0x44,0x61,0x74,0x65])][_0x1e099a([0x6e,0x6f,0x77])](),_0x53faa2=_0x368e9c[_0x1e099a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x90372a=new window[(_0x1e099a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51444d=>{_0x53faa2[_0x1e099a([0x6f,0x6e,0x63,0x65])](_0x1e099a([0x72,0x65,0x61,0x64,0x79]),_0x51444d);}),_0x3720d9={[_0x1e099a([0x6b,0x74,0x79])]:_0x1e099a([0x45,0x43]),[_0x1e099a([0x75,0x73,0x65])]:_0x1e099a([0x73,0x69,0x67]),[_0x1e099a([0x63,0x72,0x76])]:_0x1e099a([0x50,0x2d,0x32,0x35,0x36]),[_0x1e099a([0x78])]:_0x1e099a([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]),[_0x1e099a([0x79])]:_0x1e099a([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]),[_0x1e099a([0x61,0x6c,0x67])]:_0x1e099a([0x45,0x53,0x32,0x35,0x36])},_0x28744f=_0x53faa2[_0x1e099a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e099a([0x67,0x65,0x74])](_0x1e099a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4055a4(){let _0x68386d,_0x5b4438=null,_0x5889b6=null;try{if(_0x28744f==_0x1e099a([0x47,0x50,0x4c]))return _0x1e099a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x68386d=_0x4d2f3d(),!_0x68386d)return _0x1e099a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x68386d[_0x1e099a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5889b6=_0x362001(_0x68386d[_0x1e099a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x68386d[_0x1e099a([0x6a,0x74,0x69])])),await _0x234f80()?_0xfb7711()?_0x12caf0()?_0x1e099a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ebf1c()?(_0x68386d[_0x1e099a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e099a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b4438=_0x266979(_0x1e099a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x68386d[_0x1e099a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e099a([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b4438=_0x266979(_0x1e099a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x81a154()):_0x1e099a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e099a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e099a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e099a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12caf0(){const _0x1d7810=[_0x1e099a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e099a([0x74,0x72,0x69,0x61,0x6c])][_0x1e099a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x68386d[_0x1e099a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d7746/0x3e8:0xe10*_0x403b5b;return _0x68386d[_0x1e099a([0x65,0x78,0x70])]<_0x1d7810;}function _0xfb7711(){const _0x4b168a=_0x68386d[_0x1e099a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4b168a&&(!!_0x4b168a[_0x1e099a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e099a([0x2a]))||(!!_0x4b168a[_0x1e099a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e099a([0x54,0x50,0x4c]))||(!!_0x4b168a[_0x1e099a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e099a([0x50,0x50]))||!(!_0x4b168a[_0x1e099a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e099a([0x44,0x52,0x55,0x50]))||!_0x5a0756()))));}function _0x1ebf1c(){const _0x1898f8=_0x59ed,_0x347913=_0x68386d[_0x1e099a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x347913||0x0==_0x347913[_0x1e099a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x489731}=new URL(window[_0x1e099a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1898f8(0x11b)]);if(_0x347913[_0x1e099a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x489731))return!0x0;const _0x51132a=_0x489731[_0x1e099a([0x73,0x70,0x6c,0x69,0x74])](_0x1e099a([0x2e]));return _0x347913[_0x1e099a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b9b9b=>_0x3b9b9b[_0x1e099a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e099a([0x2a])))[_0x1e099a([0x6d,0x61,0x70])](_0x3f22af=>_0x3f22af[_0x1e099a([0x73,0x70,0x6c,0x69,0x74])](_0x1e099a([0x2e])))[_0x1e099a([0x73,0x6f,0x6d,0x65])](_0x313f49=>_0x51132a[_0x1e099a([0x65,0x76,0x65,0x72,0x79])]((_0x1f1580,_0x54d534)=>_0x313f49[_0x54d534]===_0x1f1580||_0x313f49[_0x54d534]===_0x1e099a([0x2a])));}function _0x81a154(){return _0x5b4438&&_0x5889b6?new window[(_0x1e099a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x233a37,_0x265126)=>{_0x5b4438[_0x1e099a([0x74,0x68,0x65,0x6e])](_0x233a37,_0x265126),_0x5889b6[_0x1e099a([0x74,0x68,0x65,0x6e])](_0x494f1c=>{_0x494f1c!=_0x1e099a([0x56,0x61,0x6c,0x69,0x64])&&_0x233a37(_0x494f1c);},_0x265126);}):_0x5b4438||_0x5889b6||_0x1e099a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x362001(_0x3a860c,_0x1ce2f9){return new window[(_0x1e099a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x397901=>{if(_0xd76b8())return _0x397901(_0x1e099a([0x56,0x61,0x6c,0x69,0x64]));_0x24169e(),_0x53faa2[_0x1e099a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e099a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x244b8c=!0x1;const _0x58287d=_0x3603df();function _0x2ea7ea(_0x7f2c71){return!!_0x7f2c71&&(typeof _0x7f2c71===_0x1e099a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7f2c71===_0x1e099a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7f2c71[_0x1e099a([0x74,0x68,0x65,0x6e])]===_0x1e099a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7f2c71[_0x1e099a([0x63,0x61,0x74,0x63,0x68])]===_0x1e099a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4674c9(_0x6df775){_0x294407(_0x6df775)[_0x1e099a([0x74,0x68,0x65,0x6e])](_0x5be021=>{if(!_0x5be021||_0x5be021[_0x1e099a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e099a([0x6f,0x6b]))return _0x1e099a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22da87(_0x2dc8c1(_0x58287d+_0x1ce2f9))!=_0x5be021[_0x1e099a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e099a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e099a([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e099a([0x74,0x68,0x65,0x6e])](_0x3a8b2b=>(_0x28225d(),_0x3a8b2b),()=>{const _0x5739c9=_0x397674();return null==_0x5739c9?(_0x28225d(),_0x1e099a([0x56,0x61,0x6c,0x69,0x64])):_0x1e099a(_0x5d7746-_0x5739c9>(0x310dc8dc^_0x5945e6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e099a([0x74,0x68,0x65,0x6e])](_0x397901)[_0x1e099a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x397901(_0x1e099a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x171c54=0x1537a25c^_0x5945e6;function _0x28225d(){const _0x4b903c=_0x1e099a([0x6c,0x6c,0x63,0x74,0x2d])+_0x22da87(_0x2dc8c1(_0x3a860c)),_0x2430ca=_0xda70c6(_0x22da87(window[_0x1e099a([0x4d,0x61,0x74,0x68])][_0x1e099a([0x63,0x65,0x69,0x6c])](_0x5d7746/_0x171c54)));window[_0x1e099a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e099a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b903c,_0x2430ca);}function _0x397674(){const _0x7f7587=_0x1e099a([0x6c,0x6c,0x63,0x74,0x2d])+_0x22da87(_0x2dc8c1(_0x3a860c)),_0x44b1fb=window[_0x1e099a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e099a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7f7587);return _0x44b1fb?window[_0x1e099a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xda70c6(_0x44b1fb),0x10)*_0x171c54:null;}function _0x294407(_0x587b20){return new window[(_0x1e099a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b2f59,_0x39dfd8)=>{_0x587b20[_0x1e099a([0x74,0x68,0x65,0x6e])](_0x5b2f59,_0x39dfd8),window[_0x1e099a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39dfd8,0x1500981c^_0x5945e6);});}}_0x53faa2[_0x1e099a([0x6f,0x6e])](_0x1e099a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18e55c,_0x5d455d)=>{if(_0x5d455d[0x0]!=_0x3a860c)return _0x397901(_0x1e099a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d455d[0x1]={..._0x5d455d[0x1],[_0x1e099a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58287d};},{[_0x1e099a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e099a([0x68,0x69,0x67,0x68])}),_0x53faa2[_0x1e099a([0x6f,0x6e])](_0x1e099a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x322a50=>{_0x2ea7ea(_0x322a50[_0x1e099a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x244b8c=!0x0,_0x4674c9(_0x322a50[_0x1e099a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e099a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e099a([0x6c,0x6f,0x77])}),_0x90372a[_0x1e099a([0x74,0x68,0x65,0x6e])](()=>{_0x244b8c||_0x397901(_0x1e099a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd76b8(){return _0x53faa2[_0x1e099a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e099a([0x76,0x69,0x65,0x77])][_0x1e099a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e099a([0x61,0x75,0x74,0x6f]);}function _0x24169e(){_0x53faa2[_0x1e099a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e099a([0x76,0x69,0x65,0x77])][_0x1e099a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e099a([0x61,0x75,0x74,0x6f]);}}function _0x266979(_0x2b2c37){const _0x4eb121=[new window[(_0x1e099a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42224d=>setTimeout(_0x42224d,0x15087210^_0x5945e6)),_0x90372a[_0x1e099a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e099a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14a577=>{let _0x4f23ec=0x0;_0x53faa2[_0x1e099a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e099a([0x6f,0x6e])](_0x1e099a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46d9eb,_0x8fa169)=>{_0x8fa169[0x0][_0x1e099a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f23ec++,_0x4f23ec==(0x15014d24^_0x5945e6)&&(_0x14a577(),_0x46d9eb[_0x1e099a([0x6f,0x66,0x66])]());});}))];return window[_0x1e099a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e099a([0x72,0x61,0x63,0x65])](_0x4eb121)[_0x1e099a([0x74,0x68,0x65,0x6e])](()=>_0x2b2c37);}async function _0x13a6a1(){await _0x90372a,_0x53faa2[_0x1e099a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e099a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x427276,_0x53faa2[_0x1e099a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e099a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x427276,_0x53faa2[_0x1e099a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e099a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a0756(){return window[_0x1e099a([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3b796c(_0x183e2d){const _0x561d3b=_0x54ddd2();_0x53faa2[_0x561d3b]=_0x1e099a([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x183e2d,_0x183e2d!=_0x1e099a([0x56,0x61,0x6c,0x69,0x64])&&_0x13a6a1();}function _0x54ddd2(){const _0x37beb0=window[_0x1e099a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e099a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e099a([0x6e,0x6f,0x77])]())[_0x1e099a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e099a([0x2e]),'');let _0x3ec4e2=_0x1e099a([0x6b]);for(let _0x345f92=0x0;_0x345f92<_0x37beb0[_0x1e099a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x345f92+=0x2){let _0x2bd6d8=window[_0x1e099a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37beb0[_0x1e099a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x345f92,_0x345f92+0x2));_0x2bd6d8>=_0x4ce0a5[_0x1e099a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2bd6d8-=_0x4ce0a5[_0x1e099a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ec4e2+=_0x4ce0a5[_0x2bd6d8];}return _0x3ec4e2;}function _0x4d2f3d(){const _0x57e58a=_0x28744f[_0x1e099a([0x73,0x70,0x6c,0x69,0x74])](_0x1e099a([0x2e]));if(0x3!=_0x57e58a[_0x1e099a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1476f3(_0x57e58a[0x1]);function _0x1476f3(_0x5a686f){const _0x4c715f=_0x1147c4(_0x5a686f);return _0x4c715f&&_0x2d478c()?_0x4c715f:null;function _0x2d478c(){const _0x470bf5=_0x4c715f[_0x1e099a([0x6a,0x74,0x69])],_0x1cfa3a=window[_0x1e099a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x470bf5[_0x1e099a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x470bf5[_0x1e099a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a6aca={..._0x4c715f,[_0x1e099a([0x6a,0x74,0x69])]:_0x470bf5[_0x1e099a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x470bf5[_0x1e099a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a6aca[_0x1e099a([0x76,0x63])],_0x2dc8c1(_0x4a6aca)==_0x1cfa3a;}}}async function _0x234f80(){let _0xb3d709=!0x0;try{const _0x129816=_0x28744f[_0x1e099a([0x73,0x70,0x6c,0x69,0x74])](_0x1e099a([0x2e])),[_0x34c621,_0xe67458,_0x440458]=_0x129816;return _0x561b3b(_0x34c621),await _0x4e5ba8(_0x34c621,_0xe67458,_0x440458),_0xb3d709;}catch{return!0x1;}function _0x561b3b(_0x3a040b){const _0x5d57ad=_0x1147c4(_0x3a040b);_0x5d57ad&&_0x5d57ad[_0x1e099a([0x61,0x6c,0x67])]==_0x1e099a([0x45,0x53,0x32,0x35,0x36])||(_0xb3d709=!0x1);}async function _0x4e5ba8(_0x48c154,_0x4836cc,_0x585dcf){const _0x25c4a0=window[_0x1e099a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e099a([0x66,0x72,0x6f,0x6d])](_0x1310f9(_0x585dcf),_0x33b9c8=>_0x33b9c8[_0x1e099a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ab907=new window[(_0x1e099a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e099a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48c154+_0x1e099a([0x2e])+_0x4836cc),_0x35d760=window[_0x1e099a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e099a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35d760)return;const _0x46472d=await _0x35d760[_0x1e099a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e099a([0x6a,0x77,0x6b]),_0x3720d9,{[_0x1e099a([0x6e,0x61,0x6d,0x65])]:_0x1e099a([0x45,0x43,0x44,0x53,0x41]),[_0x1e099a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e099a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e099a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35d760[_0x1e099a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e099a([0x6e,0x61,0x6d,0x65])]:_0x1e099a([0x45,0x43,0x44,0x53,0x41]),[_0x1e099a([0x68,0x61,0x73,0x68])]:{[_0x1e099a([0x6e,0x61,0x6d,0x65])]:_0x1e099a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46472d,_0x25c4a0,_0x5ab907)||(_0xb3d709=!0x1);}}function _0x1147c4(_0x3517b1){return _0x3517b1[_0x1e099a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e099a([0x65,0x79]))?JSON[_0x1e099a([0x70,0x61,0x72,0x73,0x65])](_0x1310f9(_0x3517b1)):null;}function _0x1310f9(_0x4a31f3){return window[_0x1e099a([0x61,0x74,0x6f,0x62])](_0x4a31f3[_0x1e099a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e099a([0x2b]))[_0x1e099a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e099a([0x2f])));}function _0x2dc8c1(_0x4a58d8){let _0x50d2bc=0x1505;function _0x4e94ec(_0x188d82){for(let _0x2da817=0x0;_0x2da817<_0x188d82[_0x1e099a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2da817++){const _0x5bb96b=_0x188d82[_0x1e099a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2da817);_0x50d2bc=(_0x50d2bc<<0x5)+_0x50d2bc+_0x5bb96b,_0x50d2bc&=_0x50d2bc;}}function _0x550a79(_0x81dad1){Array[_0x1e099a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x81dad1)?_0x81dad1[_0x1e099a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x550a79):_0x81dad1&&typeof _0x81dad1==_0x1e099a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e099a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x81dad1)[_0x1e099a([0x73,0x6f,0x72,0x74])]()[_0x1e099a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x23a390,_0xb355be])=>{_0x4e94ec(_0x23a390),_0x550a79(_0xb355be);}):_0x4e94ec(window[_0x1e099a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x81dad1));}return _0x550a79(_0x4a58d8),_0x50d2bc>>>0x0;}function _0x22da87(_0x416d91){return _0x416d91[_0x1e099a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e099a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e099a([0x30]));}function _0xda70c6(_0x3d7048){return _0x3d7048[_0x1e099a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e099a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e099a([0x6a,0x6f,0x69,0x6e])]('');}function _0x427276(){}function _0x1e099a(_0x48a726){const _0x3c3b14=_0x59ed;return _0x48a726[_0x3c3b14(0x124)](_0x381593=>String[_0x3c3b14(0x152)](_0x381593))[_0x3c3b14(0x127)]('');}_0x3b796c(await _0x4055a4());}(this);}[_0x42e588(0x150)](_0x3ff4a,_0x64a91e){const _0x4fc960=_0x42e588,{editor:_0x89251}=this,_0x4ae5b5=new _0x3aa8ca(_0x3ff4a);return _0x4ae5b5[_0x4fc960(0x13e)]({'attributes':{'role':_0x4fc960(0x12e),'class':[_0x4fc960(0x11d)]}}),_0x4ae5b5[_0x4fc960(0x14b)][_0x4fc960(0x123)](_0x64a91e[_0x4fc960(0x124)]((_0x38abc9,_0x1bc823)=>{const _0x1e35ed=_0x4fc960,_0x2abca0=new _0x12fbc0(_0x3ff4a,_0x1bc823),_0xf38bac=new _0x22afa7(_0x3ff4a,_0x38abc9);return _0x2abca0[_0x1e35ed(0x139)]=_0xf38bac,_0x2abca0[_0x1e35ed(0x155)][_0x1e35ed(0x136)](_0xf38bac),_0x2abca0[_0x1e35ed(0x139)]['on'](_0x1e35ed(0x148),_0x4c867c=>{const _0x3eeca=_0x1e35ed;_0x89251[_0x3eeca(0x148)](_0x3eeca(0x151),_0x4c867c[_0x3eeca(0x126)][_0x3eeca(0x156)][_0x3eeca(0x12d)]),_0x89251[_0x3eeca(0x144)][_0x3eeca(0x14a)][_0x3eeca(0x141)]();}),_0x2abca0;})),_0x4ae5b5;}}
|
|
23
|
+
function _0x192e(_0xd245ad,_0x126d4b){const _0x1a3119=_0x1a31();return _0x192e=function(_0x192e35,_0x19947a){_0x192e35=_0x192e35-0x1b8;let _0x5ea9ed=_0x1a3119[_0x192e35];return _0x5ea9ed;},_0x192e(_0xd245ad,_0x126d4b);}const _0x3cd250=_0x192e;(function(_0x3292d7,_0x10e2dc){const _0x5afe74=_0x192e,_0x526182=_0x3292d7();while(!![]){try{const _0x5722eb=-parseInt(_0x5afe74(0x1d7))/0x1+-parseInt(_0x5afe74(0x1dc))/0x2+-parseInt(_0x5afe74(0x1ba))/0x3*(-parseInt(_0x5afe74(0x1be))/0x4)+-parseInt(_0x5afe74(0x1de))/0x5*(-parseInt(_0x5afe74(0x1ee))/0x6)+-parseInt(_0x5afe74(0x1f8))/0x7*(parseInt(_0x5afe74(0x1c5))/0x8)+-parseInt(_0x5afe74(0x1b8))/0x9+parseInt(_0x5afe74(0x1e9))/0xa*(parseInt(_0x5afe74(0x1cf))/0xb);if(_0x5722eb===_0x10e2dc)break;else _0x526182['push'](_0x526182['shift']());}catch(_0x5054da){_0x526182['push'](_0x526182['shift']());}}}(_0x1a31,0xab3b5));function _0x1a31(){const _0x233e07=['ck-template-form','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','resultsCount','9975960RuyJps','icon','30awRXAP','addMany','templateDefinition','items','234568vYbmxq','ck-template-button','insertTemplate','componentFactory','init','isEnabled','announce','982104ITKhFv','TemplateUI','Insert\x20template','extendTemplate','reset','bind','isOfficialPlugin','afterInit','isPremiumPlugin','data','2794ymgsKK','pluginName','search','ck-template-list','_createTemplateListView','commands','No\x20templates\x20available.','join','1030921vUsFzt','href','length','buttonView','children','1490750DIosIF','add','1805bjFBBM','get','source','menuBar:insertTemplate','delegate','listbox','map','panelView','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','execute','editing','96770QeiYkH','view','config','Search\x20template','Template','21246bUxLTH','query','focus','fromCharCode','template.definitions','title','change:isOpen','ariaLiveAnnouncer','%0\x20templates\x20found','set','42QqklyD'];_0x1a31=function(){return _0x233e07;};return _0x1a31();}import{Plugin as _0x34aefa}from'ckeditor5/src/core.js';import{IconTemplate as _0x227429,IconTemplateGeneric as _0x2ba370}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x46d9d5,MenuBarMenuListItemView as _0x512ddd,MenuBarMenuListView as _0x4e7879,MenuBarMenuView as _0x55b499,SearchTextView as _0x5ce06b,createDropdown as _0x34be71}from'ckeditor5/src/ui.js';import{uid as _0x2bf86b}from'ckeditor5/src/utils.js';import _0x16cba7 from'./ui/templatelistview.js';import _0x1e56bb from'./ui/templatelistitemview.js';import _0x287753 from'./ui/templatelistbuttonview.js';import{getTranslation as _0x2a43c3}from'./utils/common-translations.js';import'../theme/template.css';export default class s extends _0x34aefa{static get[_0x3cd250(0x1d0)](){const _0x82f530=_0x3cd250;return _0x82f530(0x1c6);}static get[_0x3cd250(0x1cb)](){return!0x0;}static get[_0x3cd250(0x1cd)](){return!0x0;}[_0x3cd250(0x1c2)](){const _0x2f779c=_0x3cd250,{editor:_0x4dd331}=this,_0x146b89=_0x4dd331[_0x2f779c(0x1eb)][_0x2f779c(0x1df)](_0x2f779c(0x1f2))||[];_0x4dd331['ui'][_0x2f779c(0x1c1)][_0x2f779c(0x1dd)](_0x2f779c(0x1c0),_0x2d5108=>{const _0x3ce385=_0x2f779c,_0x381231=_0x34be71(_0x2d5108),_0x314d49=this[_0x3ce385(0x1d3)](_0x2d5108,_0x146b89),_0x4b8870=new _0x5ce06b(_0x2d5108,{'filteredView':_0x314d49,'queryView':{'label':_0x2a43c3(_0x2d5108,_0x3ce385(0x1ec))},'class':_0x3ce385(0x1f9),'infoView':{'text':{'notFound':{'primary':_0xe99b7a=>_0x2a43c3(_0x2d5108,_0x3ce385(0x1e6),_0xe99b7a),'secondary':_0x2a43c3(_0x2d5108,_0x3ce385(0x1fa))},'noSearchableItems':{'primary':_0x2a43c3(_0x2d5108,_0x3ce385(0x1d5))}}}}),_0x4804b6=_0x4dd331[_0x3ce385(0x1d4)][_0x3ce385(0x1df)](_0x3ce385(0x1c0));return _0x4b8870['on'](_0x3ce385(0x1d1),(_0x8a07c5,_0x42e4b8)=>{const _0x594bc4=_0x3ce385;_0x42e4b8[_0x594bc4(0x1ef)]&&_0x42e4b8[_0x594bc4(0x1ef)][_0x594bc4(0x1d9)]&&_0x4dd331['ui'][_0x594bc4(0x1f5)][_0x594bc4(0x1c4)](_0x2a43c3(_0x2d5108,_0x594bc4(0x1f6),_0x42e4b8[_0x594bc4(0x1fb)]));}),_0x381231[_0x3ce385(0x1ca)](_0x3ce385(0x1c3))['to'](_0x4804b6),_0x381231[_0x3ce385(0x1e5)][_0x3ce385(0x1db)][_0x3ce385(0x1dd)](_0x4b8870),_0x381231[_0x3ce385(0x1da)][_0x3ce385(0x1f7)]({'label':_0x2a43c3(_0x2d5108,_0x3ce385(0x1c7)),'icon':_0x227429,'tooltip':!0x0}),_0x381231['on'](_0x3ce385(0x1f4),(_0x2af169,_0x27b6a8,_0x50a30b)=>{const _0x301b79=_0x3ce385;_0x50a30b||_0x4b8870[_0x301b79(0x1c9)]();}),_0x381231;}),_0x4dd331['ui'][_0x2f779c(0x1c1)][_0x2f779c(0x1dd)](_0x2f779c(0x1e1),_0x47980a=>{const _0x25b608=_0x2f779c,_0x2476f9=_0x4dd331[_0x25b608(0x1d4)][_0x25b608(0x1df)](_0x25b608(0x1c0)),_0x116646=new _0x55b499(_0x47980a);_0x116646[_0x25b608(0x1da)][_0x25b608(0x1f7)]({'label':_0x2a43c3(_0x47980a,_0x25b608(0x1ed)),'icon':_0x227429});const _0x1a816e=new _0x4e7879(_0x47980a);if(!_0x146b89||!_0x146b89[_0x25b608(0x1d9)]){const _0xea5380=new _0x512ddd(_0x47980a,_0x116646),_0x63bfef=new _0x46d9d5(_0x47980a);_0x63bfef[_0x25b608(0x1f7)]({'label':_0x2a43c3(_0x47980a,_0x25b608(0x1d5))}),_0x63bfef[_0x25b608(0x1e2)](_0x25b608(0x1e7))['to'](_0x116646),_0x63bfef['on'](_0x25b608(0x1e7),()=>{const _0x425714=_0x25b608;_0x4dd331[_0x425714(0x1e8)][_0x425714(0x1ea)][_0x425714(0x1f0)]();}),_0xea5380[_0x25b608(0x1db)][_0x25b608(0x1dd)](_0x63bfef),_0x1a816e[_0x25b608(0x1bd)][_0x25b608(0x1dd)](_0xea5380);}for(const _0x20a72c of _0x146b89){const _0x22ca45=new _0x512ddd(_0x47980a,_0x116646),_0x2502c6=new _0x46d9d5(_0x47980a);_0x2502c6[_0x25b608(0x1f7)]({'class':_0x25b608(0x1bf),'label':_0x20a72c[_0x25b608(0x1f3)],'icon':_0x20a72c[_0x25b608(0x1b9)]||_0x2ba370}),_0x2502c6[_0x25b608(0x1e2)](_0x25b608(0x1e7))['to'](_0x116646),_0x2502c6['on'](_0x25b608(0x1e7),()=>{const _0x279ac5=_0x25b608;_0x4dd331[_0x279ac5(0x1e7)](_0x279ac5(0x1c0),_0x20a72c[_0x279ac5(0x1ce)]),_0x4dd331[_0x279ac5(0x1e8)][_0x279ac5(0x1ea)][_0x279ac5(0x1f0)]();}),_0x22ca45[_0x25b608(0x1db)][_0x25b608(0x1dd)](_0x2502c6),_0x1a816e[_0x25b608(0x1bd)][_0x25b608(0x1dd)](_0x22ca45);}return _0x116646[_0x25b608(0x1e5)][_0x25b608(0x1db)][_0x25b608(0x1dd)](_0x1a816e),_0x116646[_0x25b608(0x1ca)](_0x25b608(0x1c3))['to'](_0x2476f9,_0x25b608(0x1c3)),_0x116646;});}[_0x3cd250(0x1cc)](){!async function(_0x1da918){const _0x2df040=_0x550c7d([0x45,0x36,0x64,0x69,0x77,0x55,0x51,0x59,0x42,0x6f,0x43,0x7a,0x66,0x4a,0x49,0x33,0x6c,0x57,0x53,0x58,0x31,0x48,0x67,0x6d,0x4d,0x63,0x32,0x70,0x79,0x50,0x4b,0x5a,0x41,0x76,0x68,0x6e,0x44,0x71,0x39,0x52,0x72,0x6a,0x35,0x73,0x6b,0x37,0x74,0x34,0x62,0x78,0x54,0x47,0x38,0x4c,0x61,0x4f,0x46,0x65,0x75,0x56,0x30,0x4e]),_0x2fd868=0x19806f32,_0x42dac9=0x198706fa^_0x2fd868,_0xdb4a3c=window[_0x550c7d([0x44,0x61,0x74,0x65])][_0x550c7d([0x6e,0x6f,0x77])](),_0x47fb66=_0x1da918[_0x550c7d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44f164=new window[(_0x550c7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58ce9e=>{_0x47fb66[_0x550c7d([0x6f,0x6e,0x63,0x65])](_0x550c7d([0x72,0x65,0x61,0x64,0x79]),_0x58ce9e);}),_0x1da7ae={[_0x550c7d([0x6b,0x74,0x79])]:_0x550c7d([0x45,0x43]),[_0x550c7d([0x75,0x73,0x65])]:_0x550c7d([0x73,0x69,0x67]),[_0x550c7d([0x63,0x72,0x76])]:_0x550c7d([0x50,0x2d,0x32,0x35,0x36]),[_0x550c7d([0x78])]:_0x550c7d([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]),[_0x550c7d([0x79])]:_0x550c7d([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]),[_0x550c7d([0x61,0x6c,0x67])]:_0x550c7d([0x45,0x53,0x32,0x35,0x36])},_0x4f9728=_0x47fb66[_0x550c7d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x550c7d([0x67,0x65,0x74])](_0x550c7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa9efa6(){let _0x3870bd,_0x3810f6=null,_0x28ad42=null;try{if(_0x4f9728==_0x550c7d([0x47,0x50,0x4c]))return _0x550c7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3870bd=_0x2511cd(),!_0x3870bd)return _0x550c7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3870bd[_0x550c7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28ad42=_0x27447d(_0x3870bd[_0x550c7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3870bd[_0x550c7d([0x6a,0x74,0x69])])),await _0x47639e()?_0x5e1c97()?_0x131c88()?_0x550c7d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4227af()?(_0x3870bd[_0x550c7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x550c7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3810f6=_0x27b9a2(_0x550c7d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3870bd[_0x550c7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x550c7d([0x74,0x72,0x69,0x61,0x6c])&&(_0x3810f6=_0x27b9a2(_0x550c7d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x134c47()):_0x550c7d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x550c7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x550c7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x550c7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x131c88(){const _0x321689=[_0x550c7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x550c7d([0x74,0x72,0x69,0x61,0x6c])][_0x550c7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3870bd[_0x550c7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdb4a3c/0x3e8:0xe10*_0x42dac9;return _0x3870bd[_0x550c7d([0x65,0x78,0x70])]<_0x321689;}function _0x5e1c97(){const _0x57c4e2=_0x3870bd[_0x550c7d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57c4e2&&(!!_0x57c4e2[_0x550c7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x550c7d([0x2a]))||(!!_0x57c4e2[_0x550c7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x550c7d([0x54,0x50,0x4c]))||(!!_0x57c4e2[_0x550c7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x550c7d([0x50,0x50]))||!(!_0x57c4e2[_0x550c7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x550c7d([0x44,0x52,0x55,0x50]))||!_0x2bca97()))));}function _0x4227af(){const _0x2652c4=_0x192e,_0x554ac5=_0x3870bd[_0x550c7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x554ac5||0x0==_0x554ac5[_0x550c7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3857b5}=new URL(window[_0x550c7d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2652c4(0x1d8)]);if(_0x554ac5[_0x550c7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3857b5))return!0x0;const _0x3ff154=_0x3857b5[_0x550c7d([0x73,0x70,0x6c,0x69,0x74])](_0x550c7d([0x2e]));return _0x554ac5[_0x550c7d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3db336=>_0x3db336[_0x550c7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x550c7d([0x2a])))[_0x550c7d([0x6d,0x61,0x70])](_0x5f2f00=>_0x5f2f00[_0x550c7d([0x73,0x70,0x6c,0x69,0x74])](_0x550c7d([0x2e])))[_0x550c7d([0x73,0x6f,0x6d,0x65])](_0x25a624=>_0x3ff154[_0x550c7d([0x65,0x76,0x65,0x72,0x79])]((_0x2cb8e8,_0x5139cd)=>_0x25a624[_0x5139cd]===_0x2cb8e8||_0x25a624[_0x5139cd]===_0x550c7d([0x2a])));}function _0x134c47(){return _0x3810f6&&_0x28ad42?new window[(_0x550c7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e1c81,_0x26fe0)=>{_0x3810f6[_0x550c7d([0x74,0x68,0x65,0x6e])](_0x1e1c81,_0x26fe0),_0x28ad42[_0x550c7d([0x74,0x68,0x65,0x6e])](_0x3932b8=>{_0x3932b8!=_0x550c7d([0x56,0x61,0x6c,0x69,0x64])&&_0x1e1c81(_0x3932b8);},_0x26fe0);}):_0x3810f6||_0x28ad42||_0x550c7d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x27447d(_0x7bfff,_0x51edcf){return new window[(_0x550c7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16bbd3=>{if(_0x432f9b())return _0x16bbd3(_0x550c7d([0x56,0x61,0x6c,0x69,0x64]));_0x48ca5a(),_0x47fb66[_0x550c7d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x550c7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43eaae=!0x1;const _0x354b27=_0x2bf86b();function _0x26f3d7(_0x9ca586){return!!_0x9ca586&&(typeof _0x9ca586===_0x550c7d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9ca586===_0x550c7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9ca586[_0x550c7d([0x74,0x68,0x65,0x6e])]===_0x550c7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9ca586[_0x550c7d([0x63,0x61,0x74,0x63,0x68])]===_0x550c7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f6c78(_0xa03a75){_0x13c618(_0xa03a75)[_0x550c7d([0x74,0x68,0x65,0x6e])](_0x624ba1=>{if(!_0x624ba1||_0x624ba1[_0x550c7d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x550c7d([0x6f,0x6b]))return _0x550c7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ede8d(_0x1eb360(_0x354b27+_0x51edcf))!=_0x624ba1[_0x550c7d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x550c7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x550c7d([0x56,0x61,0x6c,0x69,0x64]);})[_0x550c7d([0x74,0x68,0x65,0x6e])](_0x2cf818=>(_0x296e94(),_0x2cf818),()=>{const _0x49a05f=_0x3ef91a();return null==_0x49a05f?(_0x296e94(),_0x550c7d([0x56,0x61,0x6c,0x69,0x64])):_0x550c7d(_0xdb4a3c-_0x49a05f>(0x3d8ceb32^_0x2fd868)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x550c7d([0x74,0x68,0x65,0x6e])](_0x16bbd3)[_0x550c7d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x16bbd3(_0x550c7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2207cf=0x19b681b2^_0x2fd868;function _0x296e94(){const _0x100d4a=_0x550c7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ede8d(_0x1eb360(_0x7bfff)),_0x328b56=_0x5b3759(_0x2ede8d(window[_0x550c7d([0x4d,0x61,0x74,0x68])][_0x550c7d([0x63,0x65,0x69,0x6c])](_0xdb4a3c/_0x2207cf)));window[_0x550c7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x550c7d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x100d4a,_0x328b56);}function _0x3ef91a(){const _0x395b01=_0x550c7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ede8d(_0x1eb360(_0x7bfff)),_0x135ea5=window[_0x550c7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x550c7d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x395b01);return _0x135ea5?window[_0x550c7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b3759(_0x135ea5),0x10)*_0x2207cf:null;}function _0x13c618(_0x2ffb1a){return new window[(_0x550c7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8bcffd,_0x5e378d)=>{_0x2ffb1a[_0x550c7d([0x74,0x68,0x65,0x6e])](_0x8bcffd,_0x5e378d),window[_0x550c7d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e378d,0x1981bbf2^_0x2fd868);});}}_0x47fb66[_0x550c7d([0x6f,0x6e])](_0x550c7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcb6d6,_0x46953d)=>{if(_0x46953d[0x0]!=_0x7bfff)return _0x16bbd3(_0x550c7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46953d[0x1]={..._0x46953d[0x1],[_0x550c7d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x354b27};},{[_0x550c7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x550c7d([0x68,0x69,0x67,0x68])}),_0x47fb66[_0x550c7d([0x6f,0x6e])](_0x550c7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ef467=>{_0x26f3d7(_0x1ef467[_0x550c7d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43eaae=!0x0,_0x3f6c78(_0x1ef467[_0x550c7d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x550c7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x550c7d([0x6c,0x6f,0x77])}),_0x44f164[_0x550c7d([0x74,0x68,0x65,0x6e])](()=>{_0x43eaae||_0x16bbd3(_0x550c7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x432f9b(){return _0x47fb66[_0x550c7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x550c7d([0x76,0x69,0x65,0x77])][_0x550c7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x550c7d([0x61,0x75,0x74,0x6f]);}function _0x48ca5a(){_0x47fb66[_0x550c7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x550c7d([0x76,0x69,0x65,0x77])][_0x550c7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x550c7d([0x61,0x75,0x74,0x6f]);}}function _0x27b9a2(_0x30f851){const _0x209210=[new window[(_0x550c7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32edd4=>setTimeout(_0x32edd4,0x198951fe^_0x2fd868)),_0x44f164[_0x550c7d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x550c7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe9d1d=>{let _0x422940=0x0;_0x47fb66[_0x550c7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x550c7d([0x6f,0x6e])](_0x550c7d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f8f72,_0x2924be)=>{_0x2924be[0x0][_0x550c7d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x422940++,_0x422940==(0x19806eca^_0x2fd868)&&(_0xbe9d1d(),_0x1f8f72[_0x550c7d([0x6f,0x66,0x66])]());});}))];return window[_0x550c7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x550c7d([0x72,0x61,0x63,0x65])](_0x209210)[_0x550c7d([0x74,0x68,0x65,0x6e])](()=>_0x30f851);}async function _0x3421e3(){await _0x44f164,_0x47fb66[_0x550c7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x550c7d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ce314,_0x47fb66[_0x550c7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x550c7d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ce314,_0x47fb66[_0x550c7d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x550c7d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bca97(){return window[_0x550c7d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x40b787(_0x1d0178){const _0x5c7fca=_0x4ab9ce();_0x47fb66[_0x5c7fca]=_0x550c7d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d0178,_0x1d0178!=_0x550c7d([0x56,0x61,0x6c,0x69,0x64])&&_0x3421e3();}function _0x4ab9ce(){const _0x21f734=window[_0x550c7d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x550c7d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x550c7d([0x6e,0x6f,0x77])]())[_0x550c7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x550c7d([0x2e]),'');let _0xf247a1=_0x550c7d([0x45]);for(let _0x4839ba=0x0;_0x4839ba<_0x21f734[_0x550c7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4839ba+=0x2){let _0x53d3d7=window[_0x550c7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21f734[_0x550c7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4839ba,_0x4839ba+0x2));_0x53d3d7>=_0x2df040[_0x550c7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53d3d7-=_0x2df040[_0x550c7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf247a1+=_0x2df040[_0x53d3d7];}return _0xf247a1;}function _0x2511cd(){const _0x2524d1=_0x4f9728[_0x550c7d([0x73,0x70,0x6c,0x69,0x74])](_0x550c7d([0x2e]));if(0x3!=_0x2524d1[_0x550c7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57440d(_0x2524d1[0x1]);function _0x57440d(_0x3dd226){const _0x13acb8=_0x1c988d(_0x3dd226);return _0x13acb8&&_0xb40ad6()?_0x13acb8:null;function _0xb40ad6(){const _0x32257d=_0x13acb8[_0x550c7d([0x6a,0x74,0x69])],_0x552f52=window[_0x550c7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32257d[_0x550c7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32257d[_0x550c7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x255230={..._0x13acb8,[_0x550c7d([0x6a,0x74,0x69])]:_0x32257d[_0x550c7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32257d[_0x550c7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x255230[_0x550c7d([0x76,0x63])],_0x1eb360(_0x255230)==_0x552f52;}}}async function _0x47639e(){let _0x17ad8f=!0x0;try{const _0x4a1a90=_0x4f9728[_0x550c7d([0x73,0x70,0x6c,0x69,0x74])](_0x550c7d([0x2e])),[_0x53348e,_0xd1793a,_0x11a061]=_0x4a1a90;return _0x496d71(_0x53348e),await _0x5a857f(_0x53348e,_0xd1793a,_0x11a061),_0x17ad8f;}catch{return!0x1;}function _0x496d71(_0xa524a6){const _0x2183e6=_0x1c988d(_0xa524a6);_0x2183e6&&_0x2183e6[_0x550c7d([0x61,0x6c,0x67])]==_0x550c7d([0x45,0x53,0x32,0x35,0x36])||(_0x17ad8f=!0x1);}async function _0x5a857f(_0x3ae5e7,_0x2e55e7,_0x16f457){const _0x301749=window[_0x550c7d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x550c7d([0x66,0x72,0x6f,0x6d])](_0x5182f1(_0x16f457),_0x4a1a4a=>_0x4a1a4a[_0x550c7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19cab9=new window[(_0x550c7d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x550c7d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ae5e7+_0x550c7d([0x2e])+_0x2e55e7),_0x51e2b3=window[_0x550c7d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x550c7d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51e2b3)return;const _0x52d631=await _0x51e2b3[_0x550c7d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x550c7d([0x6a,0x77,0x6b]),_0x1da7ae,{[_0x550c7d([0x6e,0x61,0x6d,0x65])]:_0x550c7d([0x45,0x43,0x44,0x53,0x41]),[_0x550c7d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x550c7d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x550c7d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51e2b3[_0x550c7d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x550c7d([0x6e,0x61,0x6d,0x65])]:_0x550c7d([0x45,0x43,0x44,0x53,0x41]),[_0x550c7d([0x68,0x61,0x73,0x68])]:{[_0x550c7d([0x6e,0x61,0x6d,0x65])]:_0x550c7d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52d631,_0x301749,_0x19cab9)||(_0x17ad8f=!0x1);}}function _0x1c988d(_0x488c8c){return _0x488c8c[_0x550c7d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x550c7d([0x65,0x79]))?JSON[_0x550c7d([0x70,0x61,0x72,0x73,0x65])](_0x5182f1(_0x488c8c)):null;}function _0x5182f1(_0x366111){return window[_0x550c7d([0x61,0x74,0x6f,0x62])](_0x366111[_0x550c7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x550c7d([0x2b]))[_0x550c7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x550c7d([0x2f])));}function _0x1eb360(_0x2ca792){let _0x38f2a7=0x1505;function _0xd39a60(_0xe7c446){for(let _0x365d24=0x0;_0x365d24<_0xe7c446[_0x550c7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x365d24++){const _0xa0dbef=_0xe7c446[_0x550c7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x365d24);_0x38f2a7=(_0x38f2a7<<0x5)+_0x38f2a7+_0xa0dbef,_0x38f2a7&=_0x38f2a7;}}function _0x65a3cc(_0x3dd2c4){Array[_0x550c7d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3dd2c4)?_0x3dd2c4[_0x550c7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x65a3cc):_0x3dd2c4&&typeof _0x3dd2c4==_0x550c7d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x550c7d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3dd2c4)[_0x550c7d([0x73,0x6f,0x72,0x74])]()[_0x550c7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f2007,_0x235eff])=>{_0xd39a60(_0x2f2007),_0x65a3cc(_0x235eff);}):_0xd39a60(window[_0x550c7d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3dd2c4));}return _0x65a3cc(_0x2ca792),_0x38f2a7>>>0x0;}function _0x2ede8d(_0x5ef410){return _0x5ef410[_0x550c7d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x550c7d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x550c7d([0x30]));}function _0x5b3759(_0x2e63e0){return _0x2e63e0[_0x550c7d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x550c7d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x550c7d([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ce314(){}function _0x550c7d(_0x7edba5){const _0x29fd84=_0x192e;return _0x7edba5[_0x29fd84(0x1e4)](_0x1d23e2=>String[_0x29fd84(0x1f1)](_0x1d23e2))[_0x29fd84(0x1d6)]('');}_0x40b787(await _0xa9efa6());}(this);}[_0x3cd250(0x1d3)](_0x31168b,_0x16d05e){const _0x13249d=_0x3cd250,{editor:_0x4d263c}=this,_0x5a3f6b=new _0x16cba7(_0x31168b);return _0x5a3f6b[_0x13249d(0x1c8)]({'attributes':{'role':_0x13249d(0x1e3),'class':[_0x13249d(0x1d2)]}}),_0x5a3f6b[_0x13249d(0x1bd)][_0x13249d(0x1bb)](_0x16d05e[_0x13249d(0x1e4)]((_0x98edb4,_0x3ef823)=>{const _0x1ae0ce=_0x13249d,_0xe09af2=new _0x1e56bb(_0x31168b,_0x3ef823),_0x31be02=new _0x287753(_0x31168b,_0x98edb4);return _0xe09af2[_0x1ae0ce(0x1da)]=_0x31be02,_0xe09af2[_0x1ae0ce(0x1db)][_0x1ae0ce(0x1dd)](_0x31be02),_0xe09af2[_0x1ae0ce(0x1da)]['on'](_0x1ae0ce(0x1e7),_0x37ab9f=>{const _0x1c73b5=_0x1ae0ce;_0x4d263c[_0x1c73b5(0x1e7)](_0x1c73b5(0x1c0),_0x37ab9f[_0x1c73b5(0x1e0)][_0x1c73b5(0x1bc)][_0x1c73b5(0x1ce)]),_0x4d263c[_0x1c73b5(0x1e8)][_0x1c73b5(0x1ea)][_0x1c73b5(0x1f0)]();}),_0xe09af2;})),_0x5a3f6b;}}
|