@ckeditor/ckeditor5-template 46.0.1-alpha.11 → 46.0.1-alpha.13
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:()=>G,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>R});var t=n(782);function e(t,n){const r=a();return(e=function(t,e){return r[t-=148]})(t,n)}const i=e;!function(t){const n=e,r=t();for(;;)try{if(846253===parseInt(n(162))/1+-parseInt(n(158))/2+parseInt(n(163))/3+parseInt(n(150))/4*(-parseInt(n(148))/5)+-parseInt(n(157))/6+-parseInt(n(159))/7+parseInt(n(166))/8*(parseInt(n(165))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class s extends t.Command{[i(160)](t){const e=i,{model:n}=this[e(154)];let r;switch(typeof t){case e(151):r=t;break;case e(156):r=t()}e(151)==typeof r&&n[e(155)](()=>{const t=e,i=this[t(154)][t(152)][t(164)][t(153)](r),s=this[t(154)][t(152)][t(161)](i);n[t(149)](s)})}}function a(){const t=["data","toView","editor","change","function","6306390VQKEZa","3266390LJFoOz","7857528AxRRsq","execute","toModel","1615580ruvUve","2890908rnUfln","htmlProcessor","1056933WfLOLS","200WmKvGv","4310620wsSPQo","insertContent","4UqaWSP","string"];return(a=function(){return t})()}const c=o;function o(t,e){const n=l();return(o=function(t,e){return n[t-=178]})(t,e)}function l(){const t=["pluginName","98RQdvVP","21604llkBBB","featureNotAllowed","get","359768pqnHPe","12884980IzlOOq","domainLimit","templateLicenseKeyExpired","15vqZIoO","30134yZdEQU","12144CiblGc","usageLimit","templateLicenseKeyUsageLimit","insertTemplate","templateLicenseKeyInvalid","licenseKey","1824QGxbBF","templateLicenseKeyTrialLimit","destroy","templateLicenseKeyEvaluationLimit","Template","editor","init","204KYxLzz","isOfficialPlugin","11393802RNInQi","931482RkxYSM","invalid","133xDOAOd","commands","_showLicenseError","TemplateEditing","trialLimit","add","templateLicenseKeyNotAllowed","expired","isPremiumPlugin","templateLicenseKeyValid","templateLicenseKeyDomainLimit","_licenseKeyCheckInterval","config","evaluationLimit"];return(l=function(){return t})()}!function(t){const e=o,n=t();for(;;)try{if(747256===-parseInt(e(182))/1*(-parseInt(e(216))/2)+parseInt(e(183))/3*(parseInt(e(196))/4)+-parseInt(e(181))/5*(-parseInt(e(199))/6)+-parseInt(e(201))/7*(-parseInt(e(220))/8)+-parseInt(e(198))/9+-parseInt(e(178))/10+parseInt(e(217))/11*(parseInt(e(189))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[c(188)];[c(212)];static get[c(215)](){return c(204)}static get[c(197)](){return!0}static get[c(209)](){return!0}[c(195)](){const t=c,{editor:e}=this;e[t(202)][t(206)](t(186),new s(e)),this[t(188)]=this[t(194)][t(213)][t(219)](t(188));const n=this[t(194)];this[t(212)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(210)==s||e(187)==s||e(180)==s||e(211)==s||e(207)==s||e(192)==s||e(190)==s||e(185)==s){delete n[i],r=s,clearInterval(this[e(212)]),this[e(212)]=void 0;break}}e(187)==r&&n[e(203)](e(200)),e(180)==r&&n[e(203)](e(208)),e(211)==r&&n[e(203)](e(179)),e(207)==r&&n[e(203)](e(218),e(193)),e(192)==r&&n[e(203)](e(214)),e(190)==r&&n[e(203)](e(205)),e(185)==r&&n[e(203)](e(184))},1e3)}[c(191)](){const t=c;super[t(191)](),this[t(212)]&&clearInterval(this[t(212)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=w();return(h=function(t,e){return n[t-=190]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(243651===-parseInt(e(207))/1*(-parseInt(e(197))/2)+parseInt(e(208))/3+parseInt(e(194))/4*(parseInt(e(210))/5)+-parseInt(e(190))/6*(-parseInt(e(212))/7)+parseInt(e(193))/8+-parseInt(e(205))/9*(-parseInt(e(199))/10)+-parseInt(e(217))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class k extends f.ListView{[m(204)](t){const e=m;if(!t)return this[e(218)]();const n=new Map,r=this[e(203)][e(216)](r=>{const i=e,s=r[i(202)][i(206)](t);return r[i(195)]=!!s,r[i(202)][i(209)](s?t:null),s&&n[i(213)](r,s),r})[e(211)](g)[e(211)]((i=n,function(t,e){const n=h,r=i[n(198)](t),s=i[n(198)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(192)]&&!s[n(192)]?-1:!r[n(192)]&&s[n(192)]?1:0:0}));var i;return this[e(203)][e(200)](),this[e(203)][e(196)](r),{resultsCount:n[e(201)],totalItemsCount:this[e(203)][e(191)]}}[m(218)](){const t=m,e=this[t(203)][t(216)](t=>t)[t(211)](g);return e[t(214)](e=>{const n=t;e[n(195)]=!0,e[n(202)][n(209)](null)}),this[t(203)][t(200)](),this[t(203)][t(196)](e),{resultsCount:e[t(191)],totalItemsCount:e[t(191)]}}}function w(){const t=["770748pEWnFQ","length","title","188248JXAqpp","312czspjV","isVisible","addMany","16212LaiDow","get","375070kCsqLF","clear","size","buttonView","items","filter","81zonznA","isMatching","43PSzSFD","329547IVeKId","highlightText","5925eztUUg","sort","21IQcjIv","set","forEach","originalIndex","map","11590194ZuUIfF","_resetFiltering"];return(w=function(){return t})()}function g(t,e){const n=m;return t[n(215)]-e[n(215)]}var I=b;function v(){var t=["2QGXEMl","originalIndex","4hmsUEX","451498rUJsjY","buttonView","31780826tpIBLH","1195857iafOXj","2016iYnHrO","34713CvwFjh","3712266cbBfXG","1804641KobLZr","10dmYnQM","1881525qvEhbP"];return(v=function(){return t})()}function b(t,e){var n=v();return(b=function(t,e){return n[t-=325]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(695986===-parseInt(e(327))/1+-parseInt(e(337))/2*(parseInt(e(334))/3)+-parseInt(e(326))/4*(parseInt(e(336))/5)+parseInt(e(333))/6+-parseInt(e(332))/7*(parseInt(e(331))/8)+-parseInt(e(330))/9*(parseInt(e(335))/10)+parseInt(e(329))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class y extends f.ListItemView{[I(325)];[I(328)];constructor(t,e){var n=I;super(t),this[n(325)]=e,this[n(328)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=176]})(t,e)}function T(){const t=["3742860nFVpcN","descriptionView","setTemplate","element","isMatching","586425hbzDAL","iconView","description","div","3872393UuvFsd","highlightText","8fOCbxI","text","727616fduKrH","set","title","75LMDZFK","ck-template-form__text-part","isColorInherited","destroy","render","locale","titleView","push","ck-template-form__description","16698xzpOff","templateDefinition","1108895RhIqvm","children","match","6UUCLLZ","option","ck-button__label","ck-template-button","textPartView","add","extendTemplate","3201759iMTkGY","remove","labelView","span"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(300361===parseInt(e(206))/1+-parseInt(e(185))/2*(-parseInt(e(176))/3)+-parseInt(e(214))/4+parseInt(e(187))/5*(parseInt(e(190))/6)+parseInt(e(210))/7*(-parseInt(e(212))/8)+-parseInt(e(197))/9+parseInt(e(201))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(186)];[x(194)];constructor(t,e){const n=x;super(t),this[n(186)]=e,this[n(194)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(215)]({withText:!0,class:n(193),role:n(191),icon:r}),this[n(207)][n(178)]=!1}[x(180)](){const t=x;super[t(180)](),this[t(194)]=new M(this[t(181)],this[t(186)],this[t(199)][t(204)].id),this[t(188)][t(198)](this[t(199)]),this[t(188)][t(195)](this[t(194)])}[x(179)](){const t=x;super[t(179)](),this[t(199)][t(179)]()}[x(205)](t){const e=x,{title:n,description:r}=this[e(186)],i=!!n[e(189)](t),s=!(!r||!r[e(189)](t));return i||s?{title:i,description:s}:null}[x(211)](t){const e=x;this[e(194)][e(211)](t)}}class M extends f.View{constructor(t,e,n){const r=x;super(t),this[r(216)]=e[r(216)],this[r(208)]=e[r(208)],this[r(182)]=new f.HighlightedTextView,this[r(182)][r(213)]=this[r(216)],this[r(182)][r(196)]({tag:r(200),attributes:{class:[r(192)],id:n}});const i=[this[r(182)]];this[r(208)]&&(this[r(202)]=new f.HighlightedTextView,this[r(202)][r(213)]=this[r(208)],this[r(202)][r(196)]({tag:"p",attributes:{class:[r(184)]}}),i[r(183)](this[r(202)])),this[r(203)]({tag:r(209),attributes:{class:["ck",r(177)]},children:i})}[x(211)](t){const e=x;this[e(182)][e(211)](t),this[e(208)]&&this[e(202)][e(211)](t)}}function V(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var E=n(673),O=n.n(E),P=n(545),S=n.n(P),C=n(262),N=n.n(C),A=n(667),K=n.n(A),z=n(357),U=n.n(z),j=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=K(),B.insert=N().bind(null,"head"),B.domAPI=S(),B.insertStyleElement=U();O()(j.A,B);j.A&&j.A.locals&&j.A.locals;const D=q;function q(t,e){const n=F();return(q=function(t,e){return n[t-=243]})(t,e)}function F(){const t=["editing","91381eaOjEo","view","ck-template-list","125658tluBaU","ariaLiveAnnouncer","extendTemplate","items","reset",'No templates were found matching "%0".',"templateDefinition","85168UtjgLt","%0 templates found","delegate","init","search","Search template","listbox","buttonView","query","fromCharCode","ck-template-button","Insert template","children","16808VJEqrT","title","6dNusWM","insertTemplate","commands","add","isEnabled","_createTemplateListView","ck-template-form","focus","get","announce","join","isOfficialPlugin","map","5DeNtvg","set","resultsCount","template.definitions","203588gbVATD","372IAlKMo","No templates available.","800IzvRcO","Please try a different phrase or check the spelling.","TemplateUI","change:isOpen","Template","icon","54TInxKY","length","source","bind","pluginName","data","componentFactory","afterInit","config","isPremiumPlugin","30810sEQQBK","panelView","execute","addMany","746706ieICDs","menuBar:insertTemplate","128EHRnwM","href"];return(F=function(){return t})()}!function(t){const e=q,n=t();for(;;)try{if(340140===-parseInt(e(304))/1*(-parseInt(e(259))/2)+-parseInt(e(295))/3*(-parseInt(e(301))/4)+parseInt(e(272))/5*(parseInt(e(299))/6)+-parseInt(e(276))/7+parseInt(e(244))/8*(parseInt(e(285))/9)+parseInt(e(279))/10*(-parseInt(e(257))/11)+parseInt(e(277))/12*(-parseInt(e(307))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class R extends t.Plugin{static get[D(289)](){return D(281)}static get[D(270)](){return!0}static get[D(294)](){return!0}[D(247)](){const t=D,{editor:e}=this,n=e[t(293)][t(267)](t(275))||[];e.ui[t(291)][t(262)](t(260),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(264)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:V(r,i(249))},class:i(265),infoView:{text:{notFound:{primary:t=>V(r,i(312),t),secondary:V(r,i(280))},noSearchableItems:{primary:V(r,i(278))}}}}),o=e[i(261)][i(267)](i(260));return c.on(i(248),(t,n)=>{const s=i;n[s(252)]&&n[s(252)][s(286)]&&e.ui[s(308)][s(268)](V(r,s(245),n[s(274)]))}),s[i(288)](i(263)).to(o),s[i(296)][i(256)][i(262)](c),s[i(251)][i(273)]({label:V(r,i(255)),icon:p.IconTemplate,tooltip:!0}),s.on(i(282),(t,e,n)=>{n||c[i(311)]()}),s}),e.ui[t(291)][t(262)](t(300),r=>{const i=t,s=e[i(261)][i(267)](i(260)),a=new f.MenuBarMenuView(r);a[i(251)][i(273)]({label:V(r,i(283)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(286)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(273)]({label:V(r,i(278))}),n[i(246)](i(297)).to(a),n.on(i(297),()=>{const t=i;e[t(303)][t(305)][t(266)]()}),t[i(256)][i(262)](n),c[i(310)][i(262)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(273)]({class:i(254),label:t[i(258)],icon:t[i(284)]||p.IconTemplateGeneric}),s[i(246)](i(297)).to(a),s.on(i(297),()=>{const n=i;e[n(297)](n(260),t[n(290)]),e[n(303)][n(305)][n(266)]()}),n[i(256)][i(262)](s),c[i(310)][i(262)](n)}return a[i(296)][i(256)][i(262)](c),a[i(288)](i(263)).to(s,i(263)),a})}[D(292)](){!async function(t){const e=h([80,50,57,119,53,78,102,111,87,88,120,81,113,72,76,68,77,82,49,56,122,107,70,75,105,69,85,112,65,71,115,74,67,98,100,99,66,48,52,79,110,106,86,108,101,114,89,109,97,117,51,73,84,104,55,103,90,83,118,54,116,121]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function o(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=q;return t[e(271)](t=>String[e(253)](t))[e(269)]("")}!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([80]);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:1754611200;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=q,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(302)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=c(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=c(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[D(264)](t,e){const n=D,{editor:r}=this,i=new k(t);return i[n(309)]({attributes:{role:n(250),class:[n(306)]}}),i[n(310)][n(298)](e[n(271)]((e,i)=>{const s=n,a=new y(t,i),c=new L(t,e);return a[s(251)]=c,a[s(256)][s(262)](c),a[s(251)].on(s(297),t=>{const e=s;r[e(297)](e(260),t[e(287)][e(243)][e(290)]),r[e(303)][e(305)][e(266)]()}),a})),i}}var H=Z;function Q(){var t=["15uWaFOU","Template","isPremiumPlugin","pluginName","65351xmwaTX","requires","1813124qZHvgR","885488EgskUN","7YUqUMu","286398Imybzx","13245975ddmTzP","9202928dtoHMO","4468812aWNqIB","isOfficialPlugin"];return(Q=function(){return t})()}function Z(t,e){var n=Q();return(Z=function(t,e){return n[t-=107]})(t,e)}!function(t){for(var e=Z,n=t();;)try{if(783134===parseInt(e(114))/1+parseInt(e(117))/2+parseInt(e(108))/3+-parseInt(e(116))/4*(-parseInt(e(110))/5)+-parseInt(e(119))/6*(-parseInt(e(118))/7)+-parseInt(e(107))/8+-parseInt(e(120))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class G extends t.Plugin{static get[H(115)](){return[u,R]}static get[H(113)](){return H(111)}static get[H(109)](){return!0}static get[H(112)](){return!0}}function W(t,e){var n=X();return(W=function(t,e){return n[t-=303]})(t,e)}function X(){var t=["2266736BbnRlW","99UIfrZk","4455044ininxE","219860zWmZJe","244klujsm","42lmSXhD","30906AiPgMG","1SJUcDe","53823ClZGeL","2285366wDRLPE","458915MLKXHg"];return(X=function(){return t})()}!function(t){for(var e=W,n=t();;)try{if(582409===-parseInt(e(304))/1*(parseInt(e(306))/2)+-parseInt(e(303))/3*(-parseInt(e(312))/4)+-parseInt(e(307))/5*(-parseInt(e(313))/6)+parseInt(e(305))/7+parseInt(e(308))/8+parseInt(e(309))/9*(-parseInt(e(311))/10)+parseInt(e(310))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(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:()=>Q,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>Z});var t=n(782);function e(t,n){const r=c();return(e=function(t,e){return r[t-=148]})(t,n)}const i=e;!function(t){const n=e,r=t();for(;;)try{if(846253===parseInt(n(162))/1+-parseInt(n(158))/2+parseInt(n(163))/3+parseInt(n(150))/4*(-parseInt(n(148))/5)+-parseInt(n(157))/6+-parseInt(n(159))/7+parseInt(n(166))/8*(parseInt(n(165))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class s extends t.Command{[i(160)](t){const e=i,{model:n}=this[e(154)];let r;switch(typeof t){case e(151):r=t;break;case e(156):r=t()}e(151)==typeof r&&n[e(155)](()=>{const t=e,i=this[t(154)][t(152)][t(164)][t(153)](r),s=this[t(154)][t(152)][t(161)](i);n[t(149)](s)})}}function c(){const t=["data","toView","editor","change","function","6306390VQKEZa","3266390LJFoOz","7857528AxRRsq","execute","toModel","1615580ruvUve","2890908rnUfln","htmlProcessor","1056933WfLOLS","200WmKvGv","4310620wsSPQo","insertContent","4UqaWSP","string"];return(c=function(){return t})()}const a=o;function o(t,e){const n=l();return(o=function(t,e){return n[t-=178]})(t,e)}function l(){const t=["pluginName","98RQdvVP","21604llkBBB","featureNotAllowed","get","359768pqnHPe","12884980IzlOOq","domainLimit","templateLicenseKeyExpired","15vqZIoO","30134yZdEQU","12144CiblGc","usageLimit","templateLicenseKeyUsageLimit","insertTemplate","templateLicenseKeyInvalid","licenseKey","1824QGxbBF","templateLicenseKeyTrialLimit","destroy","templateLicenseKeyEvaluationLimit","Template","editor","init","204KYxLzz","isOfficialPlugin","11393802RNInQi","931482RkxYSM","invalid","133xDOAOd","commands","_showLicenseError","TemplateEditing","trialLimit","add","templateLicenseKeyNotAllowed","expired","isPremiumPlugin","templateLicenseKeyValid","templateLicenseKeyDomainLimit","_licenseKeyCheckInterval","config","evaluationLimit"];return(l=function(){return t})()}!function(t){const e=o,n=t();for(;;)try{if(747256===-parseInt(e(182))/1*(-parseInt(e(216))/2)+parseInt(e(183))/3*(parseInt(e(196))/4)+-parseInt(e(181))/5*(-parseInt(e(199))/6)+-parseInt(e(201))/7*(-parseInt(e(220))/8)+-parseInt(e(198))/9+-parseInt(e(178))/10+parseInt(e(217))/11*(parseInt(e(189))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[a(188)];[a(212)];static get[a(215)](){return a(204)}static get[a(197)](){return!0}static get[a(209)](){return!0}[a(195)](){const t=a,{editor:e}=this;e[t(202)][t(206)](t(186),new s(e)),this[t(188)]=this[t(194)][t(213)][t(219)](t(188));const n=this[t(194)];this[t(212)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(210)==s||e(187)==s||e(180)==s||e(211)==s||e(207)==s||e(192)==s||e(190)==s||e(185)==s){delete n[i],r=s,clearInterval(this[e(212)]),this[e(212)]=void 0;break}}e(187)==r&&n[e(203)](e(200)),e(180)==r&&n[e(203)](e(208)),e(211)==r&&n[e(203)](e(179)),e(207)==r&&n[e(203)](e(218),e(193)),e(192)==r&&n[e(203)](e(214)),e(190)==r&&n[e(203)](e(205)),e(185)==r&&n[e(203)](e(184))},1e3)}[a(191)](){const t=a;super[t(191)](),this[t(212)]&&clearInterval(this[t(212)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=w();return(h=function(t,e){return n[t-=190]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(243651===-parseInt(e(207))/1*(-parseInt(e(197))/2)+parseInt(e(208))/3+parseInt(e(194))/4*(parseInt(e(210))/5)+-parseInt(e(190))/6*(-parseInt(e(212))/7)+parseInt(e(193))/8+-parseInt(e(205))/9*(-parseInt(e(199))/10)+-parseInt(e(217))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class k extends f.ListView{[m(204)](t){const e=m;if(!t)return this[e(218)]();const n=new Map,r=this[e(203)][e(216)](r=>{const i=e,s=r[i(202)][i(206)](t);return r[i(195)]=!!s,r[i(202)][i(209)](s?t:null),s&&n[i(213)](r,s),r})[e(211)](g)[e(211)]((i=n,function(t,e){const n=h,r=i[n(198)](t),s=i[n(198)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(192)]&&!s[n(192)]?-1:!r[n(192)]&&s[n(192)]?1:0:0}));var i;return this[e(203)][e(200)](),this[e(203)][e(196)](r),{resultsCount:n[e(201)],totalItemsCount:this[e(203)][e(191)]}}[m(218)](){const t=m,e=this[t(203)][t(216)](t=>t)[t(211)](g);return e[t(214)](e=>{const n=t;e[n(195)]=!0,e[n(202)][n(209)](null)}),this[t(203)][t(200)](),this[t(203)][t(196)](e),{resultsCount:e[t(191)],totalItemsCount:e[t(191)]}}}function w(){const t=["770748pEWnFQ","length","title","188248JXAqpp","312czspjV","isVisible","addMany","16212LaiDow","get","375070kCsqLF","clear","size","buttonView","items","filter","81zonznA","isMatching","43PSzSFD","329547IVeKId","highlightText","5925eztUUg","sort","21IQcjIv","set","forEach","originalIndex","map","11590194ZuUIfF","_resetFiltering"];return(w=function(){return t})()}function g(t,e){const n=m;return t[n(215)]-e[n(215)]}var I=b;function v(){var t=["2QGXEMl","originalIndex","4hmsUEX","451498rUJsjY","buttonView","31780826tpIBLH","1195857iafOXj","2016iYnHrO","34713CvwFjh","3712266cbBfXG","1804641KobLZr","10dmYnQM","1881525qvEhbP"];return(v=function(){return t})()}function b(t,e){var n=v();return(b=function(t,e){return n[t-=325]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(695986===-parseInt(e(327))/1+-parseInt(e(337))/2*(parseInt(e(334))/3)+-parseInt(e(326))/4*(parseInt(e(336))/5)+parseInt(e(333))/6+-parseInt(e(332))/7*(parseInt(e(331))/8)+-parseInt(e(330))/9*(parseInt(e(335))/10)+parseInt(e(329))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class y extends f.ListItemView{[I(325)];[I(328)];constructor(t,e){var n=I;super(t),this[n(325)]=e,this[n(328)]=null}}const x=_;function _(t,e){const n=L();return(_=function(t,e){return n[t-=176]})(t,e)}function L(){const t=["3742860nFVpcN","descriptionView","setTemplate","element","isMatching","586425hbzDAL","iconView","description","div","3872393UuvFsd","highlightText","8fOCbxI","text","727616fduKrH","set","title","75LMDZFK","ck-template-form__text-part","isColorInherited","destroy","render","locale","titleView","push","ck-template-form__description","16698xzpOff","templateDefinition","1108895RhIqvm","children","match","6UUCLLZ","option","ck-button__label","ck-template-button","textPartView","add","extendTemplate","3201759iMTkGY","remove","labelView","span"];return(L=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(300361===parseInt(e(206))/1+-parseInt(e(185))/2*(-parseInt(e(176))/3)+-parseInt(e(214))/4+parseInt(e(187))/5*(parseInt(e(190))/6)+parseInt(e(210))/7*(-parseInt(e(212))/8)+-parseInt(e(197))/9+parseInt(e(201))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class T extends f.ButtonView{[x(186)];[x(194)];constructor(t,e){const n=x;super(t),this[n(186)]=e,this[n(194)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(215)]({withText:!0,class:n(193),role:n(191),icon:r}),this[n(207)][n(178)]=!1}[x(180)](){const t=x;super[t(180)](),this[t(194)]=new M(this[t(181)],this[t(186)],this[t(199)][t(204)].id),this[t(188)][t(198)](this[t(199)]),this[t(188)][t(195)](this[t(194)])}[x(179)](){const t=x;super[t(179)](),this[t(199)][t(179)]()}[x(205)](t){const e=x,{title:n,description:r}=this[e(186)],i=!!n[e(189)](t),s=!(!r||!r[e(189)](t));return i||s?{title:i,description:s}:null}[x(211)](t){const e=x;this[e(194)][e(211)](t)}}class M extends f.View{constructor(t,e,n){const r=x;super(t),this[r(216)]=e[r(216)],this[r(208)]=e[r(208)],this[r(182)]=new f.HighlightedTextView,this[r(182)][r(213)]=this[r(216)],this[r(182)][r(196)]({tag:r(200),attributes:{class:[r(192)],id:n}});const i=[this[r(182)]];this[r(208)]&&(this[r(202)]=new f.HighlightedTextView,this[r(202)][r(213)]=this[r(208)],this[r(202)][r(196)]({tag:"p",attributes:{class:[r(184)]}}),i[r(183)](this[r(202)])),this[r(203)]({tag:r(209),attributes:{class:["ck",r(177)]},children:i})}[x(211)](t){const e=x;this[e(182)][e(211)](t),this[e(208)]&&this[e(202)][e(211)](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 V=n(673),S=n.n(V),O=n(545),C=n.n(O),E=n(262),A=n.n(E),N=n(667),z=n.n(N),U=n(357),K=n.n(U),j=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=z(),B.insert=A().bind(null,"head"),B.domAPI=C(),B.insertStyleElement=K();S()(j.A,B);j.A&&j.A.locals&&j.A.locals;function F(){const t=["panelView","query","templateDefinition","Insert template","add","100GCtqax","isEnabled","commands","buttonView","Please try a different phrase or check the spelling.","icon","pluginName","view","1035908rcAudH","ck-template-form","href","ck-template-list","change:isOpen","resultsCount","length","1101499ZILZOh","16XwdUZM","afterInit","get","20xtPPrc","execute","source","menuBar:insertTemplate","fromCharCode","template.definitions","20439cgEYPD","map","230zZDYkF","ck-template-button","init","search","announce","829881tlulbr","ariaLiveAnnouncer","addMany","%0 templates found",'No templates were found matching "%0".',"extendTemplate","editing","join","set","_createTemplateListView","componentFactory","insertTemplate","config","title","listbox","isPremiumPlugin","bind","TemplateUI","2341856vlUgbh","reset","items","focus","Search template","isOfficialPlugin","children","No templates available.","58698ZEnpYb","delegate","Template","17288GBisFL","data"];return(F=function(){return t})()}const q=D;function D(t,e){const n=F();return(D=function(t,e){return n[t-=447]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(196839===parseInt(e(459))/1*(parseInt(e(485))/2)+-parseInt(e(498))/3+parseInt(e(474))/4+parseInt(e(466))/5*(parseInt(e(456))/6)+-parseInt(e(481))/7*(parseInt(e(482))/8)+parseInt(e(491))/9*(-parseInt(e(493))/10)+parseInt(e(448))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class Z extends t.Plugin{static get[q(472)](){return q(447)}static get[q(453)](){return!0}static get[q(513)](){return!0}[q(495)](){const t=q,{editor:e}=this,n=e[t(510)][t(484)](t(490))||[];e.ui[t(508)][t(465)](t(509),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(507)](r,n),a=new f.SearchTextView(r,{filteredView:c,queryView:{label:P(r,i(452))},class:i(475),infoView:{text:{notFound:{primary:t=>P(r,i(502),t),secondary:P(r,i(470))},noSearchableItems:{primary:P(r,i(455))}}}}),o=e[i(468)][i(484)](i(509));return a.on(i(496),(t,n)=>{const s=i;n[s(462)]&&n[s(462)][s(480)]&&e.ui[s(499)][s(497)](P(r,s(501),n[s(479)]))}),s[i(514)](i(467)).to(o),s[i(461)][i(454)][i(465)](a),s[i(469)][i(506)]({label:P(r,i(464)),icon:p.IconTemplate,tooltip:!0}),s.on(i(478),(t,e,n)=>{n||a[i(449)]()}),s}),e.ui[t(508)][t(465)](t(488),r=>{const i=t,s=e[i(468)][i(484)](i(509)),c=new f.MenuBarMenuView(r);c[i(469)][i(506)]({label:P(r,i(458)),icon:p.IconTemplate});const a=new f.MenuBarMenuListView(r);if(!n||!n[i(480)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(506)]({label:P(r,i(455))}),n[i(457)](i(486)).to(c),n.on(i(486),()=>{const t=i;e[t(504)][t(473)][t(451)]()}),t[i(454)][i(465)](n),a[i(450)][i(465)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(506)]({class:i(494),label:t[i(511)],icon:t[i(471)]||p.IconTemplateGeneric}),s[i(457)](i(486)).to(c),s.on(i(486),()=>{const n=i;e[n(486)](n(509),t[n(460)]),e[n(504)][n(473)][n(451)]()}),n[i(454)][i(465)](s),a[i(450)][i(465)](n)}return c[i(461)][i(454)][i(465)](a),c[i(514)](i(467)).to(s,i(467)),c})}[q(483)](){!async function(t){const e=h([55,54,83,110,75,103,82,117,85,111,76,52,81,84,77,56,69,112,68,53,73,90,114,65,49,106,118,51,70,115,78,108,121,79,89,74,50,113,122,101,116,99,66,100,48,97,98,102,57,120,105,104,109,86,107,87,71,80,119,67,72,88]),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(492)](t=>String[e(489)](t))[e(505)]("")}!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([83]);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:1754784e3;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(476)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=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)}[q(507)](t,e){const n=q,{editor:r}=this,i=new k(t);return i[n(503)]({attributes:{role:n(512),class:[n(477)]}}),i[n(450)][n(500)](e[n(492)]((e,i)=>{const s=n,c=new y(t,i),a=new T(t,e);return c[s(469)]=a,c[s(454)][s(465)](a),c[s(469)].on(s(486),t=>{const e=s;r[e(486)](e(509),t[e(487)][e(463)][e(460)]),r[e(504)][e(473)][e(451)]()}),c})),i}}var R=H;function G(){var t=["15uWaFOU","Template","isPremiumPlugin","pluginName","65351xmwaTX","requires","1813124qZHvgR","885488EgskUN","7YUqUMu","286398Imybzx","13245975ddmTzP","9202928dtoHMO","4468812aWNqIB","isOfficialPlugin"];return(G=function(){return t})()}function H(t,e){var n=G();return(H=function(t,e){return n[t-=107]})(t,e)}!function(t){for(var e=H,n=t();;)try{if(783134===parseInt(e(114))/1+parseInt(e(117))/2+parseInt(e(108))/3+-parseInt(e(116))/4*(-parseInt(e(110))/5)+-parseInt(e(119))/6*(-parseInt(e(118))/7)+-parseInt(e(107))/8+-parseInt(e(120))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class Q extends t.Plugin{static get[R(115)](){return[u,Z]}static get[R(113)](){return R(111)}static get[R(109)](){return!0}static get[R(112)](){return!0}}function Y(t,e){var n=X();return(Y=function(t,e){return n[t-=303]})(t,e)}function X(){var t=["2266736BbnRlW","99UIfrZk","4455044ininxE","219860zWmZJe","244klujsm","42lmSXhD","30906AiPgMG","1SJUcDe","53823ClZGeL","2285366wDRLPE","458915MLKXHg"];return(X=function(){return t})()}!function(t){for(var e=Y,n=t();;)try{if(582409===-parseInt(e(304))/1*(parseInt(e(306))/2)+-parseInt(e(303))/3*(-parseInt(e(312))/4)+-parseInt(e(307))/5*(-parseInt(e(313))/6)+parseInt(e(305))/7+parseInt(e(308))/8+parseInt(e(309))/9*(-parseInt(e(311))/10)+parseInt(e(310))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(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 _0x1dee4e,Plugin as _0x3bb3e3}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x47a288,IconTemplate as _0x19d671}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x9c7017,ListItemView as _0xdef0c,ButtonView as _0x325738,View as _0x162200,HighlightedTextView as _0x22fd95,createDropdown as _0x1198f8,SearchTextView as _0x144fc0,MenuBarMenuView as _0x23cbcd,MenuBarMenuListView as _0x392580,MenuBarMenuListItemView as _0x1539d4,MenuBarMenuListItemButtonView as _0x26b568}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x4f81ce}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x1dee4e{['execute'](_0x420a3e){const {model:_0x5c8b5a}=this['editor'];let _0xfd82c4;switch(typeof _0x420a3e){case'string':_0xfd82c4=_0x420a3e;break;case'function':_0xfd82c4=_0x420a3e();}'string'==typeof _0xfd82c4&&_0x5c8b5a['change'](()=>{const _0x36aeea=this['editor']['data']['htmlProcessor']['toView'](_0xfd82c4),_0x3f50b3=this['editor']['data']['toModel'](_0x36aeea);_0x5c8b5a['insertContent'](_0x3f50b3);});}}class i extends _0x3bb3e3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2161d9}=this;_0x2161d9['commands']['add']('insertTemplate',new a(_0x2161d9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x57d486=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x495d7d;for(const _0xfb109c in _0x57d486){const _0x23b5b7=_0xfb109c,_0x3b9444=_0x57d486[_0x23b5b7];if('templateLicenseKeyValid'==_0x3b9444||'templateLicenseKeyInvalid'==_0x3b9444||'templateLicenseKeyExpired'==_0x3b9444||'templateLicenseKeyDomainLimit'==_0x3b9444||'templateLicenseKeyNotAllowed'==_0x3b9444||'templateLicenseKeyEvaluationLimit'==_0x3b9444||'templateLicenseKeyTrialLimit'==_0x3b9444||'templateLicenseKeyUsageLimit'==_0x3b9444){delete _0x57d486[_0x23b5b7],_0x495d7d=_0x3b9444,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x495d7d&&_0x57d486['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x495d7d&&_0x57d486['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x495d7d&&_0x57d486['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x495d7d&&_0x57d486['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x495d7d&&_0x57d486['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x495d7d&&_0x57d486['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x495d7d&&_0x57d486['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x9c7017{['filter'](_0x459bef){if(!_0x459bef)return this['_resetFiltering']();const _0x4fdbb8=new Map(),_0x3d0245=this['items']['map'](_0x487dfa=>{const _0x4bd7b6=_0x487dfa['buttonView']['isMatching'](_0x459bef);return _0x487dfa['isVisible']=!!_0x4bd7b6,_0x487dfa['buttonView']['highlightText'](_0x4bd7b6?_0x459bef:null),_0x4bd7b6&&_0x4fdbb8['set'](_0x487dfa,_0x4bd7b6),_0x487dfa;})['sort'](j)['sort'](function(_0x2a9ad7){return function(_0x2e386d,_0x11977a){const _0x19c9ce=_0x2a9ad7['get'](_0x2e386d),_0x49f2e2=_0x2a9ad7['get'](_0x11977a);return _0x19c9ce&&!_0x49f2e2?-0x1:_0x49f2e2&&!_0x19c9ce?0x1:_0x19c9ce||_0x49f2e2?_0x19c9ce['title']&&!_0x49f2e2['title']?-0x1:!_0x19c9ce['title']&&_0x49f2e2['title']?0x1:0x0:0x0;};}(_0x4fdbb8));return this['items']['clear'](),this['items']['addMany'](_0x3d0245),{'resultsCount':_0x4fdbb8['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x29110d=this['items']['map'](_0x7e994e=>_0x7e994e)['sort'](j);return _0x29110d['forEach'](_0x15e593=>{_0x15e593['isVisible']=!0x0,_0x15e593['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x29110d),{'resultsCount':_0x29110d['length'],'totalItemsCount':_0x29110d['length']};}}function j(_0x13d65e,_0x44e693){return _0x13d65e['originalIndex']-_0x44e693['originalIndex'];}class b extends _0xdef0c{['originalIndex'];['buttonView'];constructor(_0x2c90cb,_0x5042e0){super(_0x2c90cb),this['originalIndex']=_0x5042e0,this['buttonView']=null;}}class h extends _0x325738{['templateDefinition'];['textPartView'];constructor(_0x231404,_0xe3048b){super(_0x231404),this['templateDefinition']=_0xe3048b,this['textPartView']=null;const {icon:_0x589679=_0x47a288}=_0xe3048b;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x589679}),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'](_0x47b8a0){const {title:_0xfaf913,description:_0x96260c}=this['templateDefinition'],_0x102d2d=!!_0xfaf913['match'](_0x47b8a0),_0x2e0144=!(!_0x96260c||!_0x96260c['match'](_0x47b8a0));return _0x102d2d||_0x2e0144?{'title':_0x102d2d,'description':_0x2e0144}:null;}['highlightText'](_0x34f951){this['textPartView']['highlightText'](_0x34f951);}}class L extends _0x162200{constructor(_0x5ee612,_0x31daf5,_0xe1096){super(_0x5ee612),this['title']=_0x31daf5['title'],this['description']=_0x31daf5['description'],this['titleView']=new _0x22fd95(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0xe1096}});const _0x2c92de=[this['titleView']];this['description']&&(this['descriptionView']=new _0x22fd95(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x2c92de['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x2c92de});}['highlightText'](_0x344598){this['titleView']['highlightText'](_0x344598),this['description']&&this['descriptionView']['highlightText'](_0x344598);}}function g(_0x48ef3a,_0x4ccd77,..._0x2e5a2a){const t=_0x48ef3a['t'];switch(_0x4ccd77){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x2e5a2a);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',..._0x2e5a2a);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x4ccd77;}}class s extends _0x3bb3e3{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x220c7a}=this,_0x563b09=_0x220c7a['config']['get']('template.definitions')||[];_0x220c7a['ui']['componentFactory']['add']('insertTemplate',_0x58e880=>{const _0x93eb02=_0x1198f8(_0x58e880),_0x339631=this['_createTemplateListView'](_0x58e880,_0x563b09),_0x167035=new _0x144fc0(_0x58e880,{'filteredView':_0x339631,'queryView':{'label':g(_0x58e880,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x10c198=>g(_0x58e880,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x10c198),'secondary':g(_0x58e880,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x58e880,'No\x20templates\x20available.')}}}}),_0x5778c9=_0x220c7a['commands']['get']('insertTemplate');return _0x167035['on']('search',(_0x24b9a7,_0x5a5593)=>{_0x5a5593['query']&&_0x5a5593['query']['length']&&_0x220c7a['ui']['ariaLiveAnnouncer']['announce'](g(_0x58e880,'%0\x20templates\x20found',_0x5a5593['resultsCount']));}),_0x93eb02['bind']('isEnabled')['to'](_0x5778c9),_0x93eb02['panelView']['children']['add'](_0x167035),_0x93eb02['buttonView']['set']({'label':g(_0x58e880,'Insert\x20template'),'icon':_0x19d671,'tooltip':!0x0}),_0x93eb02['on']('change:isOpen',(_0x4d443e,_0x2a9fdc,_0x3589f5)=>{_0x3589f5||_0x167035['reset']();}),_0x93eb02;}),_0x220c7a['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x367506=>{const _0x50f3fd=_0x220c7a['commands']['get']('insertTemplate'),_0x623292=new _0x23cbcd(_0x367506);_0x623292['buttonView']['set']({'label':g(_0x367506,'Template'),'icon':_0x19d671});const _0x5beabc=new _0x392580(_0x367506);if(!_0x563b09||!_0x563b09['length']){const _0x381606=new _0x1539d4(_0x367506,_0x623292),_0x4dad42=new _0x26b568(_0x367506);_0x4dad42['set']({'label':g(_0x367506,'No\x20templates\x20available.')}),_0x4dad42['delegate']('execute')['to'](_0x623292),_0x4dad42['on']('execute',()=>{_0x220c7a['editing']['view']['focus']();}),_0x381606['children']['add'](_0x4dad42),_0x5beabc['items']['add'](_0x381606);}for(const _0x33da87 of _0x563b09){const _0x25c2fa=new _0x1539d4(_0x367506,_0x623292),_0x4fbfd3=new _0x26b568(_0x367506);_0x4fbfd3['set']({'class':'ck-template-button','label':_0x33da87['title'],'icon':_0x33da87['icon']||_0x47a288}),_0x4fbfd3['delegate']('execute')['to'](_0x623292),_0x4fbfd3['on']('execute',()=>{_0x220c7a['execute']('insertTemplate',_0x33da87['data']),_0x220c7a['editing']['view']['focus']();}),_0x25c2fa['children']['add'](_0x4fbfd3),_0x5beabc['items']['add'](_0x25c2fa);}return _0x623292['panelView']['children']['add'](_0x5beabc),_0x623292['bind']('isEnabled')['to'](_0x50f3fd,'isEnabled'),_0x623292;});}['afterInit'](){!async function(_0x5e2b3a){const _0x2833c0=_0x2fd23c([0x50,0x32,0x39,0x77,0x35,0x4e,0x66,0x6f,0x57,0x58,0x78,0x51,0x71,0x48,0x4c,0x44,0x4d,0x52,0x31,0x38,0x7a,0x6b,0x46,0x4b,0x69,0x45,0x55,0x70,0x41,0x47,0x73,0x4a,0x43,0x62,0x64,0x63,0x42,0x30,0x34,0x4f,0x6e,0x6a,0x56,0x6c,0x65,0x72,0x59,0x6d,0x61,0x75,0x33,0x49,0x54,0x68,0x37,0x67,0x5a,0x53,0x76,0x36,0x74,0x79]),_0x154e68=0x5cb4903f,_0x124d2c=0x5cb3ffdf^_0x154e68,_0x43bc5c=window[_0x2fd23c([0x44,0x61,0x74,0x65])][_0x2fd23c([0x6e,0x6f,0x77])](),_0x501381=_0x5e2b3a[_0x2fd23c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21143c=new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xab5104=>{_0x501381[_0x2fd23c([0x6f,0x6e,0x63,0x65])](_0x2fd23c([0x72,0x65,0x61,0x64,0x79]),_0xab5104);}),_0x1c3818={[_0x2fd23c([0x6b,0x74,0x79])]:_0x2fd23c([0x45,0x43]),[_0x2fd23c([0x75,0x73,0x65])]:_0x2fd23c([0x73,0x69,0x67]),[_0x2fd23c([0x63,0x72,0x76])]:_0x2fd23c([0x50,0x2d,0x32,0x35,0x36]),[_0x2fd23c([0x78])]:_0x2fd23c([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]),[_0x2fd23c([0x79])]:_0x2fd23c([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]),[_0x2fd23c([0x61,0x6c,0x67])]:_0x2fd23c([0x45,0x53,0x32,0x35,0x36])},_0x826a2=_0x501381[_0x2fd23c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fd23c([0x67,0x65,0x74])](_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ad450(){let _0x113b06,_0x4691c5=null,_0x251876=null;try{if(_0x826a2==_0x2fd23c([0x47,0x50,0x4c]))return _0x2fd23c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x113b06=_0x3e6783(),!_0x113b06)return _0x2fd23c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x113b06[_0x2fd23c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x251876=_0x50b603(_0x113b06[_0x2fd23c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x113b06[_0x2fd23c([0x6a,0x74,0x69])])),await _0x9ba995()?_0x1e93eb()?_0x404d21()?_0x2fd23c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f417d()?(_0x113b06[_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fd23c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4691c5=_0x105040(_0x2fd23c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x113b06[_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fd23c([0x74,0x72,0x69,0x61,0x6c])&&(_0x4691c5=_0x105040(_0x2fd23c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe21fff()):_0x2fd23c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fd23c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fd23c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fd23c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x404d21(){const _0x171e3f=[_0x2fd23c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fd23c([0x74,0x72,0x69,0x61,0x6c])][_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113b06[_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43bc5c/0x3e8:0xe10*_0x124d2c;return _0x113b06[_0x2fd23c([0x65,0x78,0x70])]<_0x171e3f;}function _0x1e93eb(){const _0x4529f6=_0x113b06[_0x2fd23c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4529f6&&(!!_0x4529f6[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x2a]))||(!!_0x4529f6[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x54,0x50,0x4c]))||(!!_0x4529f6[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x50,0x50]))||!(!_0x4529f6[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x44,0x52,0x55,0x50]))||!_0x249249()))));}function _0x1f417d(){const _0x5147ed=_0x113b06[_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5147ed||0x0==_0x5147ed[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1dd0bf}=new URL(window[_0x2fd23c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5147ed[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dd0bf))return!0x0;const _0x2da499=_0x1dd0bf[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])](_0x2fd23c([0x2e]));return _0x5147ed[_0x2fd23c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37656d=>_0x37656d[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x2a])))[_0x2fd23c([0x6d,0x61,0x70])](_0x9037ce=>_0x9037ce[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])](_0x2fd23c([0x2e])))[_0x2fd23c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x382890=>_0x382890[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2da499[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fd23c([0x6d,0x61,0x70])](_0x3fe0d4=>Array(_0x2da499[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3fe0d4[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fd23c([0x66,0x69,0x6c,0x6c])](_0x3fe0d4[0x0]===_0x2fd23c([0x2a])?_0x2fd23c([0x2a]):'')[_0x2fd23c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3fe0d4))[_0x2fd23c([0x73,0x6f,0x6d,0x65])](_0x57b637=>_0x2da499[_0x2fd23c([0x65,0x76,0x65,0x72,0x79])]((_0x1cb775,_0x18a202)=>_0x57b637[_0x18a202]===_0x1cb775||_0x57b637[_0x18a202]===_0x2fd23c([0x2a])));}function _0xe21fff(){return _0x4691c5&&_0x251876?new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8613ed,_0x208784)=>{_0x4691c5[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x8613ed,_0x208784),_0x251876[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x705c4a=>{_0x705c4a!=_0x2fd23c([0x56,0x61,0x6c,0x69,0x64])&&_0x8613ed(_0x705c4a);},_0x208784);}):_0x4691c5||_0x251876||_0x2fd23c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50b603(_0x2330f4,_0x506b39){return new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49b6fc=>{if(_0x1e8f28())return _0x49b6fc(_0x2fd23c([0x56,0x61,0x6c,0x69,0x64]));_0x2e745f(),_0x501381[_0x2fd23c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fd23c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b13d4=!0x1;const _0x56c606=_0x4f81ce();function _0x5059c8(_0x164370){return!!_0x164370&&(typeof _0x164370===_0x2fd23c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x164370===_0x2fd23c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x164370[_0x2fd23c([0x74,0x68,0x65,0x6e])]===_0x2fd23c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x164370[_0x2fd23c([0x63,0x61,0x74,0x63,0x68])]===_0x2fd23c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x135e99(_0x403eb1){_0x75397d(_0x403eb1)[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x55ea1e=>{if(!_0x55ea1e||_0x55ea1e[_0x2fd23c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fd23c([0x6f,0x6b]))return _0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x376999(_0x368c74(_0x56c606+_0x506b39))!=_0x55ea1e[_0x2fd23c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fd23c([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x21c418=>(_0x4f0554(),_0x21c418),()=>{const _0x252c0b=_0x1626d8();return null==_0x252c0b?(_0x4f0554(),_0x2fd23c([0x56,0x61,0x6c,0x69,0x64])):_0x2fd23c(_0x43bc5c-_0x252c0b>(0x78b8143f^_0x154e68)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x49b6fc)[_0x2fd23c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49b6fc(_0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10ea05=0x5c827ebf^_0x154e68;function _0x4f0554(){const _0x53b5a2=_0x2fd23c([0x6c,0x6c,0x63,0x74,0x2d])+_0x376999(_0x368c74(_0x2330f4)),_0x2a2cce=_0x597bac(_0x376999(window[_0x2fd23c([0x4d,0x61,0x74,0x68])][_0x2fd23c([0x63,0x65,0x69,0x6c])](_0x43bc5c/_0x10ea05)));window[_0x2fd23c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fd23c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53b5a2,_0x2a2cce);}function _0x1626d8(){const _0x55c0c7=_0x2fd23c([0x6c,0x6c,0x63,0x74,0x2d])+_0x376999(_0x368c74(_0x2330f4)),_0x2be4d1=window[_0x2fd23c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fd23c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55c0c7);return _0x2be4d1?window[_0x2fd23c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x597bac(_0x2be4d1),0x10)*_0x10ea05:null;}function _0x75397d(_0x3a60a1){return new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aadaf,_0x16f132)=>{_0x3a60a1[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x4aadaf,_0x16f132),window[_0x2fd23c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16f132,0x5cb544ff^_0x154e68);});}}_0x501381[_0x2fd23c([0x6f,0x6e])](_0x2fd23c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x386872,_0x48fba4)=>{if(_0x48fba4[0x0]!=_0x2330f4)return _0x49b6fc(_0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48fba4[0x1]={..._0x48fba4[0x1],[_0x2fd23c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56c606};},{[_0x2fd23c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fd23c([0x68,0x69,0x67,0x68])}),_0x501381[_0x2fd23c([0x6f,0x6e])](_0x2fd23c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5aef9e=>{_0x5059c8(_0x5aef9e[_0x2fd23c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b13d4=!0x0,_0x135e99(_0x5aef9e[_0x2fd23c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fd23c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fd23c([0x6c,0x6f,0x77])}),_0x21143c[_0x2fd23c([0x74,0x68,0x65,0x6e])](()=>{_0x5b13d4||_0x49b6fc(_0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e8f28(){return _0x501381[_0x2fd23c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fd23c([0x76,0x69,0x65,0x77])][_0x2fd23c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fd23c([0x61,0x75,0x74,0x6f]);}function _0x2e745f(){_0x501381[_0x2fd23c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fd23c([0x76,0x69,0x65,0x77])][_0x2fd23c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fd23c([0x61,0x75,0x74,0x6f]);}}function _0x105040(_0x1bdb51){const _0x1039da=[new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x572a60=>setTimeout(_0x572a60,0x5cbdaef3^_0x154e68)),_0x21143c[_0x2fd23c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x808e25=>{let _0x53ac2f=0x0;_0x501381[_0x2fd23c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fd23c([0x6f,0x6e])](_0x2fd23c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x498281,_0x1aa605)=>{_0x1aa605[0x0][_0x2fd23c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53ac2f++,_0x53ac2f==(0x5cb491c7^_0x154e68)&&(_0x808e25(),_0x498281[_0x2fd23c([0x6f,0x66,0x66])]());});}))];return window[_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fd23c([0x72,0x61,0x63,0x65])](_0x1039da)[_0x2fd23c([0x74,0x68,0x65,0x6e])](()=>_0x1bdb51);}async function _0x3c0978(){await _0x21143c,_0x501381[_0x2fd23c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fd23c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a92d2,_0x501381[_0x2fd23c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fd23c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a92d2,_0x501381[_0x2fd23c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fd23c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x249249(){return window[_0x2fd23c([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5de9f0(_0xa6b6ff){const _0x116eb2=_0x49b97b();_0x501381[_0x116eb2]=_0x2fd23c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa6b6ff,_0xa6b6ff!=_0x2fd23c([0x56,0x61,0x6c,0x69,0x64])&&_0x3c0978();}function _0x49b97b(){const _0x312da9=window[_0x2fd23c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fd23c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fd23c([0x6e,0x6f,0x77])]())[_0x2fd23c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fd23c([0x2e]),'');let _0x42cd9d=_0x2fd23c([0x50]);for(let _0x1bd9e1=0x0;_0x1bd9e1<_0x312da9[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bd9e1+=0x2){let _0x1a4118=window[_0x2fd23c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x312da9[_0x2fd23c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bd9e1,_0x1bd9e1+0x2));_0x1a4118>=_0x2833c0[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a4118-=_0x2833c0[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42cd9d+=_0x2833c0[_0x1a4118];}return _0x42cd9d;}function _0x3e6783(){const _0x114ff2=_0x826a2[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])](_0x2fd23c([0x2e]));if(0x3!=_0x114ff2[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46256b(_0x114ff2[0x1]);function _0x46256b(_0xca0945){const _0x36a307=_0x19ded8(_0xca0945);return _0x36a307&&_0x4ec135()?_0x36a307:null;function _0x4ec135(){const _0x73f09c=_0x36a307[_0x2fd23c([0x6a,0x74,0x69])],_0x1fb3d6=window[_0x2fd23c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x73f09c[_0x2fd23c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x73f09c[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5472f1={..._0x36a307,[_0x2fd23c([0x6a,0x74,0x69])]:_0x73f09c[_0x2fd23c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x73f09c[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5472f1[_0x2fd23c([0x76,0x63])],_0x368c74(_0x5472f1)==_0x1fb3d6;}}}async function _0x9ba995(){let _0x5dfb11=!0x0;try{const _0x484184=_0x826a2[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])](_0x2fd23c([0x2e])),[_0x579228,_0x1ec381,_0x329fd7]=_0x484184;return _0x1da29c(_0x579228),await _0x3fdcf5(_0x579228,_0x1ec381,_0x329fd7),_0x5dfb11;}catch{return!0x1;}function _0x1da29c(_0x12ea46){const _0x278d7f=_0x19ded8(_0x12ea46);_0x278d7f&&_0x278d7f[_0x2fd23c([0x61,0x6c,0x67])]==_0x2fd23c([0x45,0x53,0x32,0x35,0x36])||(_0x5dfb11=!0x1);}async function _0x3fdcf5(_0x23b568,_0x15c0bb,_0x119dac){const _0x1da067=window[_0x2fd23c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fd23c([0x66,0x72,0x6f,0x6d])](_0x4e6475(_0x119dac),_0x40ab65=>_0x40ab65[_0x2fd23c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ebcd5=new window[(_0x2fd23c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fd23c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23b568+_0x2fd23c([0x2e])+_0x15c0bb),_0x2a5bc5=window[_0x2fd23c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fd23c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a5bc5)return;const _0x4e08b3=await _0x2a5bc5[_0x2fd23c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fd23c([0x6a,0x77,0x6b]),_0x1c3818,{[_0x2fd23c([0x6e,0x61,0x6d,0x65])]:_0x2fd23c([0x45,0x43,0x44,0x53,0x41]),[_0x2fd23c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fd23c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fd23c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a5bc5[_0x2fd23c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fd23c([0x6e,0x61,0x6d,0x65])]:_0x2fd23c([0x45,0x43,0x44,0x53,0x41]),[_0x2fd23c([0x68,0x61,0x73,0x68])]:{[_0x2fd23c([0x6e,0x61,0x6d,0x65])]:_0x2fd23c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e08b3,_0x1da067,_0x4ebcd5)||(_0x5dfb11=!0x1);}}function _0x19ded8(_0x103496){return _0x103496[_0x2fd23c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fd23c([0x65,0x79]))?JSON[_0x2fd23c([0x70,0x61,0x72,0x73,0x65])](_0x4e6475(_0x103496)):null;}function _0x4e6475(_0x2d9817){return window[_0x2fd23c([0x61,0x74,0x6f,0x62])](_0x2d9817[_0x2fd23c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fd23c([0x2b]))[_0x2fd23c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fd23c([0x2f])));}function _0x368c74(_0x560157){let _0x201664=0x1505;function _0x4a686d(_0x28dc4e){for(let _0x475561=0x0;_0x475561<_0x28dc4e[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x475561++){const _0x2e5628=_0x28dc4e[_0x2fd23c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x475561);_0x201664=(_0x201664<<0x5)+_0x201664+_0x2e5628,_0x201664&=_0x201664;}}function _0x2cf0c2(_0x481e49){Array[_0x2fd23c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x481e49)?_0x481e49[_0x2fd23c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2cf0c2):_0x481e49&&typeof _0x481e49==_0x2fd23c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fd23c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x481e49)[_0x2fd23c([0x73,0x6f,0x72,0x74])]()[_0x2fd23c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52ecf0,_0x319b1f])=>{_0x4a686d(_0x52ecf0),_0x2cf0c2(_0x319b1f);}):_0x4a686d(window[_0x2fd23c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x481e49));}return _0x2cf0c2(_0x560157),_0x201664>>>0x0;}function _0x376999(_0x43e892){return _0x43e892[_0x2fd23c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fd23c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fd23c([0x30]));}function _0x597bac(_0x343a88){return _0x343a88[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fd23c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fd23c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a92d2(){}function _0x2fd23c(_0x2f2676){return _0x2f2676['map'](_0x4cf6d6=>String['fromCharCode'](_0x4cf6d6))['join']('');}_0x5de9f0(await _0x2ad450());}(this);}['_createTemplateListView'](_0x5d95b2,_0x573352){const {editor:_0x2a4643}=this,_0x1e5659=new y(_0x5d95b2);return _0x1e5659['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x1e5659['items']['addMany'](_0x573352['map']((_0x22c45a,_0xec15c7)=>{const _0x5366dc=new b(_0x5d95b2,_0xec15c7),_0x34c21b=new h(_0x5d95b2,_0x22c45a);return _0x5366dc['buttonView']=_0x34c21b,_0x5366dc['children']['add'](_0x34c21b),_0x5366dc['buttonView']['on']('execute',_0x778862=>{_0x2a4643['execute']('insertTemplate',_0x778862['source']['templateDefinition']['data']),_0x2a4643['editing']['view']['focus']();}),_0x5366dc;})),_0x1e5659;}}class K extends _0x3bb3e3{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x50ef95,Plugin as _0x5470c5}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x203012,IconTemplate as _0x1f65bc}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x42a8ca,ListItemView as _0x2fec03,ButtonView as _0x1086a0,View as _0x59c94d,HighlightedTextView as _0x325024,createDropdown as _0xd9ad5c,SearchTextView as _0x148a75,MenuBarMenuView as _0x4c43f0,MenuBarMenuListView as _0x2f23a4,MenuBarMenuListItemView as _0x2cb08c,MenuBarMenuListItemButtonView as _0x77906c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x549998}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x50ef95{['execute'](_0x2987ef){const {model:_0x16f7dd}=this['editor'];let _0x5d18c0;switch(typeof _0x2987ef){case'string':_0x5d18c0=_0x2987ef;break;case'function':_0x5d18c0=_0x2987ef();}'string'==typeof _0x5d18c0&&_0x16f7dd['change'](()=>{const _0x162081=this['editor']['data']['htmlProcessor']['toView'](_0x5d18c0),_0x58b13d=this['editor']['data']['toModel'](_0x162081);_0x16f7dd['insertContent'](_0x58b13d);});}}class i extends _0x5470c5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x54ca9e}=this;_0x54ca9e['commands']['add']('insertTemplate',new a(_0x54ca9e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4fc4c4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x476af7;for(const _0x3f83b9 in _0x4fc4c4){const _0x37678f=_0x3f83b9,_0x5a954e=_0x4fc4c4[_0x37678f];if('templateLicenseKeyValid'==_0x5a954e||'templateLicenseKeyInvalid'==_0x5a954e||'templateLicenseKeyExpired'==_0x5a954e||'templateLicenseKeyDomainLimit'==_0x5a954e||'templateLicenseKeyNotAllowed'==_0x5a954e||'templateLicenseKeyEvaluationLimit'==_0x5a954e||'templateLicenseKeyTrialLimit'==_0x5a954e||'templateLicenseKeyUsageLimit'==_0x5a954e){delete _0x4fc4c4[_0x37678f],_0x476af7=_0x5a954e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x476af7&&_0x4fc4c4['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x476af7&&_0x4fc4c4['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x476af7&&_0x4fc4c4['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x476af7&&_0x4fc4c4['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x476af7&&_0x4fc4c4['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x476af7&&_0x4fc4c4['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x476af7&&_0x4fc4c4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x42a8ca{['filter'](_0x1b0726){if(!_0x1b0726)return this['_resetFiltering']();const _0x521eaa=new Map(),_0x56881f=this['items']['map'](_0x1a6ed0=>{const _0x4694a7=_0x1a6ed0['buttonView']['isMatching'](_0x1b0726);return _0x1a6ed0['isVisible']=!!_0x4694a7,_0x1a6ed0['buttonView']['highlightText'](_0x4694a7?_0x1b0726:null),_0x4694a7&&_0x521eaa['set'](_0x1a6ed0,_0x4694a7),_0x1a6ed0;})['sort'](j)['sort'](function(_0x337ac0){return function(_0x57e6e3,_0x1d8d9c){const _0x18914e=_0x337ac0['get'](_0x57e6e3),_0x1ad5c2=_0x337ac0['get'](_0x1d8d9c);return _0x18914e&&!_0x1ad5c2?-0x1:_0x1ad5c2&&!_0x18914e?0x1:_0x18914e||_0x1ad5c2?_0x18914e['title']&&!_0x1ad5c2['title']?-0x1:!_0x18914e['title']&&_0x1ad5c2['title']?0x1:0x0:0x0;};}(_0x521eaa));return this['items']['clear'](),this['items']['addMany'](_0x56881f),{'resultsCount':_0x521eaa['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1602d2=this['items']['map'](_0x503710=>_0x503710)['sort'](j);return _0x1602d2['forEach'](_0x4c241b=>{_0x4c241b['isVisible']=!0x0,_0x4c241b['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1602d2),{'resultsCount':_0x1602d2['length'],'totalItemsCount':_0x1602d2['length']};}}function j(_0x572792,_0x2ce6df){return _0x572792['originalIndex']-_0x2ce6df['originalIndex'];}class b extends _0x2fec03{['originalIndex'];['buttonView'];constructor(_0x562517,_0x19f52d){super(_0x562517),this['originalIndex']=_0x19f52d,this['buttonView']=null;}}class h extends _0x1086a0{['templateDefinition'];['textPartView'];constructor(_0x264f0f,_0x43dd91){super(_0x264f0f),this['templateDefinition']=_0x43dd91,this['textPartView']=null;const {icon:_0x4921d2=_0x203012}=_0x43dd91;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x4921d2}),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'](_0x52eeeb){const {title:_0x6e0be0,description:_0x1fd895}=this['templateDefinition'],_0x240eea=!!_0x6e0be0['match'](_0x52eeeb),_0x30ff9a=!(!_0x1fd895||!_0x1fd895['match'](_0x52eeeb));return _0x240eea||_0x30ff9a?{'title':_0x240eea,'description':_0x30ff9a}:null;}['highlightText'](_0x4ed807){this['textPartView']['highlightText'](_0x4ed807);}}class L extends _0x59c94d{constructor(_0x77a6e4,_0x4efa23,_0x536935){super(_0x77a6e4),this['title']=_0x4efa23['title'],this['description']=_0x4efa23['description'],this['titleView']=new _0x325024(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x536935}});const _0x4c7a93=[this['titleView']];this['description']&&(this['descriptionView']=new _0x325024(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x4c7a93['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x4c7a93});}['highlightText'](_0x5bc76e){this['titleView']['highlightText'](_0x5bc76e),this['description']&&this['descriptionView']['highlightText'](_0x5bc76e);}}function g(_0x43a3fe,_0x18f06e,..._0x318296){const t=_0x43a3fe['t'];switch(_0x18f06e){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x318296);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',..._0x318296);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x18f06e;}}class s extends _0x5470c5{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x9adb23}=this,_0x47a1a7=_0x9adb23['config']['get']('template.definitions')||[];_0x9adb23['ui']['componentFactory']['add']('insertTemplate',_0x498afe=>{const _0x3baf42=_0xd9ad5c(_0x498afe),_0xc46a6a=this['_createTemplateListView'](_0x498afe,_0x47a1a7),_0x5e07da=new _0x148a75(_0x498afe,{'filteredView':_0xc46a6a,'queryView':{'label':g(_0x498afe,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x24bc8e=>g(_0x498afe,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x24bc8e),'secondary':g(_0x498afe,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x498afe,'No\x20templates\x20available.')}}}}),_0x1f1650=_0x9adb23['commands']['get']('insertTemplate');return _0x5e07da['on']('search',(_0x59aa35,_0x4711af)=>{_0x4711af['query']&&_0x4711af['query']['length']&&_0x9adb23['ui']['ariaLiveAnnouncer']['announce'](g(_0x498afe,'%0\x20templates\x20found',_0x4711af['resultsCount']));}),_0x3baf42['bind']('isEnabled')['to'](_0x1f1650),_0x3baf42['panelView']['children']['add'](_0x5e07da),_0x3baf42['buttonView']['set']({'label':g(_0x498afe,'Insert\x20template'),'icon':_0x1f65bc,'tooltip':!0x0}),_0x3baf42['on']('change:isOpen',(_0x210de2,_0x238ef5,_0x4c6d63)=>{_0x4c6d63||_0x5e07da['reset']();}),_0x3baf42;}),_0x9adb23['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x4fbec1=>{const _0x2c2ea2=_0x9adb23['commands']['get']('insertTemplate'),_0x3ab511=new _0x4c43f0(_0x4fbec1);_0x3ab511['buttonView']['set']({'label':g(_0x4fbec1,'Template'),'icon':_0x1f65bc});const _0x5f204a=new _0x2f23a4(_0x4fbec1);if(!_0x47a1a7||!_0x47a1a7['length']){const _0x53b4e9=new _0x2cb08c(_0x4fbec1,_0x3ab511),_0x3e62dc=new _0x77906c(_0x4fbec1);_0x3e62dc['set']({'label':g(_0x4fbec1,'No\x20templates\x20available.')}),_0x3e62dc['delegate']('execute')['to'](_0x3ab511),_0x3e62dc['on']('execute',()=>{_0x9adb23['editing']['view']['focus']();}),_0x53b4e9['children']['add'](_0x3e62dc),_0x5f204a['items']['add'](_0x53b4e9);}for(const _0x20eefc of _0x47a1a7){const _0x32430a=new _0x2cb08c(_0x4fbec1,_0x3ab511),_0x491c95=new _0x77906c(_0x4fbec1);_0x491c95['set']({'class':'ck-template-button','label':_0x20eefc['title'],'icon':_0x20eefc['icon']||_0x203012}),_0x491c95['delegate']('execute')['to'](_0x3ab511),_0x491c95['on']('execute',()=>{_0x9adb23['execute']('insertTemplate',_0x20eefc['data']),_0x9adb23['editing']['view']['focus']();}),_0x32430a['children']['add'](_0x491c95),_0x5f204a['items']['add'](_0x32430a);}return _0x3ab511['panelView']['children']['add'](_0x5f204a),_0x3ab511['bind']('isEnabled')['to'](_0x2c2ea2,'isEnabled'),_0x3ab511;});}['afterInit'](){!async function(_0x5aa427){const _0x3eb7f0=_0x366ad4([0x37,0x36,0x53,0x6e,0x4b,0x67,0x52,0x75,0x55,0x6f,0x4c,0x34,0x51,0x54,0x4d,0x38,0x45,0x70,0x44,0x35,0x49,0x5a,0x72,0x41,0x31,0x6a,0x76,0x33,0x46,0x73,0x4e,0x6c,0x79,0x4f,0x59,0x4a,0x32,0x71,0x7a,0x65,0x74,0x63,0x42,0x64,0x30,0x61,0x62,0x66,0x39,0x78,0x69,0x68,0x6d,0x56,0x6b,0x57,0x47,0x50,0x77,0x43,0x48,0x58]),_0x401ed7=0x673dcec4,_0x8f1f1e=0x673abed4^_0x401ed7,_0x3105aa=window[_0x366ad4([0x44,0x61,0x74,0x65])][_0x366ad4([0x6e,0x6f,0x77])](),_0x40dd58=_0x5aa427[_0x366ad4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44a3f1=new window[(_0x366ad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fa9a5=>{_0x40dd58[_0x366ad4([0x6f,0x6e,0x63,0x65])](_0x366ad4([0x72,0x65,0x61,0x64,0x79]),_0x1fa9a5);}),_0x139791={[_0x366ad4([0x6b,0x74,0x79])]:_0x366ad4([0x45,0x43]),[_0x366ad4([0x75,0x73,0x65])]:_0x366ad4([0x73,0x69,0x67]),[_0x366ad4([0x63,0x72,0x76])]:_0x366ad4([0x50,0x2d,0x32,0x35,0x36]),[_0x366ad4([0x78])]:_0x366ad4([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]),[_0x366ad4([0x79])]:_0x366ad4([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]),[_0x366ad4([0x61,0x6c,0x67])]:_0x366ad4([0x45,0x53,0x32,0x35,0x36])},_0x1b0a3f=_0x40dd58[_0x366ad4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x366ad4([0x67,0x65,0x74])](_0x366ad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a044a(){let _0x241150,_0x342d2b=null,_0x331d01=null;try{if(_0x1b0a3f==_0x366ad4([0x47,0x50,0x4c]))return _0x366ad4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x241150=_0x3ac6f6(),!_0x241150)return _0x366ad4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x241150[_0x366ad4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x331d01=_0x2fce96(_0x241150[_0x366ad4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x241150[_0x366ad4([0x6a,0x74,0x69])])),await _0x22cd00()?_0x43aecb()?_0x128d69()?_0x366ad4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fd19e()?(_0x241150[_0x366ad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x366ad4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x342d2b=_0x400d49(_0x366ad4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x241150[_0x366ad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x366ad4([0x74,0x72,0x69,0x61,0x6c])&&(_0x342d2b=_0x400d49(_0x366ad4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xaaa931()):_0x366ad4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x366ad4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x366ad4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x366ad4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x128d69(){const _0x4fc350=[_0x366ad4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x366ad4([0x74,0x72,0x69,0x61,0x6c])][_0x366ad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x241150[_0x366ad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3105aa/0x3e8:0xe10*_0x8f1f1e;return _0x241150[_0x366ad4([0x65,0x78,0x70])]<_0x4fc350;}function _0x43aecb(){const _0x208f86=_0x241150[_0x366ad4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x208f86&&(!!_0x208f86[_0x366ad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366ad4([0x2a]))||(!!_0x208f86[_0x366ad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366ad4([0x54,0x50,0x4c]))||(!!_0x208f86[_0x366ad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366ad4([0x50,0x50]))||!(!_0x208f86[_0x366ad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366ad4([0x44,0x52,0x55,0x50]))||!_0x4cb348()))));}function _0x2fd19e(){const _0x296f6d=_0x241150[_0x366ad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x296f6d||0x0==_0x296f6d[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e83e1}=new URL(window[_0x366ad4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x296f6d[_0x366ad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e83e1))return!0x0;const _0x494870=_0x5e83e1[_0x366ad4([0x73,0x70,0x6c,0x69,0x74])](_0x366ad4([0x2e]));return _0x296f6d[_0x366ad4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x383665=>_0x383665[_0x366ad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366ad4([0x2a])))[_0x366ad4([0x6d,0x61,0x70])](_0x5e1d63=>_0x5e1d63[_0x366ad4([0x73,0x70,0x6c,0x69,0x74])](_0x366ad4([0x2e])))[_0x366ad4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c4d75=>_0x2c4d75[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x494870[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x366ad4([0x6d,0x61,0x70])](_0x2f2dc5=>Array(_0x494870[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f2dc5[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x366ad4([0x66,0x69,0x6c,0x6c])](_0x2f2dc5[0x0]===_0x366ad4([0x2a])?_0x366ad4([0x2a]):'')[_0x366ad4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f2dc5))[_0x366ad4([0x73,0x6f,0x6d,0x65])](_0x3ffd87=>_0x494870[_0x366ad4([0x65,0x76,0x65,0x72,0x79])]((_0x126799,_0xc0ff64)=>_0x3ffd87[_0xc0ff64]===_0x126799||_0x3ffd87[_0xc0ff64]===_0x366ad4([0x2a])));}function _0xaaa931(){return _0x342d2b&&_0x331d01?new window[(_0x366ad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36b2d8,_0xb736e0)=>{_0x342d2b[_0x366ad4([0x74,0x68,0x65,0x6e])](_0x36b2d8,_0xb736e0),_0x331d01[_0x366ad4([0x74,0x68,0x65,0x6e])](_0x5b9122=>{_0x5b9122!=_0x366ad4([0x56,0x61,0x6c,0x69,0x64])&&_0x36b2d8(_0x5b9122);},_0xb736e0);}):_0x342d2b||_0x331d01||_0x366ad4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2fce96(_0x15ed89,_0x243a21){return new window[(_0x366ad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x152948=>{if(_0x5f3aca())return _0x152948(_0x366ad4([0x56,0x61,0x6c,0x69,0x64]));_0x1273a9(),_0x40dd58[_0x366ad4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x366ad4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1281ac=!0x1;const _0x51cd09=_0x549998();function _0x4e47ef(_0x3b7f3b){return!!_0x3b7f3b&&(typeof _0x3b7f3b===_0x366ad4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b7f3b===_0x366ad4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b7f3b[_0x366ad4([0x74,0x68,0x65,0x6e])]===_0x366ad4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b7f3b[_0x366ad4([0x63,0x61,0x74,0x63,0x68])]===_0x366ad4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x55b3f8(_0x1f94c1){_0x2b1063(_0x1f94c1)[_0x366ad4([0x74,0x68,0x65,0x6e])](_0x44e829=>{if(!_0x44e829||_0x44e829[_0x366ad4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x366ad4([0x6f,0x6b]))return _0x366ad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25bb41(_0x47aefc(_0x51cd09+_0x243a21))!=_0x44e829[_0x366ad4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x366ad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x366ad4([0x56,0x61,0x6c,0x69,0x64]);})[_0x366ad4([0x74,0x68,0x65,0x6e])](_0x1bb4e3=>(_0x4c6869(),_0x1bb4e3),()=>{const _0x4927e9=_0x6ad595();return null==_0x4927e9?(_0x4c6869(),_0x366ad4([0x56,0x61,0x6c,0x69,0x64])):_0x366ad4(_0x3105aa-_0x4927e9>(0x43314ac4^_0x401ed7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x366ad4([0x74,0x68,0x65,0x6e])](_0x152948)[_0x366ad4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x152948(_0x366ad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc81009=0x670b2044^_0x401ed7;function _0x4c6869(){const _0xc889bf=_0x366ad4([0x6c,0x6c,0x63,0x74,0x2d])+_0x25bb41(_0x47aefc(_0x15ed89)),_0x1a378d=_0x277d95(_0x25bb41(window[_0x366ad4([0x4d,0x61,0x74,0x68])][_0x366ad4([0x63,0x65,0x69,0x6c])](_0x3105aa/_0xc81009)));window[_0x366ad4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x366ad4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc889bf,_0x1a378d);}function _0x6ad595(){const _0x100c66=_0x366ad4([0x6c,0x6c,0x63,0x74,0x2d])+_0x25bb41(_0x47aefc(_0x15ed89)),_0x14ec76=window[_0x366ad4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x366ad4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x100c66);return _0x14ec76?window[_0x366ad4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x277d95(_0x14ec76),0x10)*_0xc81009:null;}function _0x2b1063(_0x1b9488){return new window[(_0x366ad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b8ef4,_0x1f6876)=>{_0x1b9488[_0x366ad4([0x74,0x68,0x65,0x6e])](_0x5b8ef4,_0x1f6876),window[_0x366ad4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f6876,0x673c1a04^_0x401ed7);});}}_0x40dd58[_0x366ad4([0x6f,0x6e])](_0x366ad4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b8b9a,_0x2e0dc8)=>{if(_0x2e0dc8[0x0]!=_0x15ed89)return _0x152948(_0x366ad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e0dc8[0x1]={..._0x2e0dc8[0x1],[_0x366ad4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x51cd09};},{[_0x366ad4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x366ad4([0x68,0x69,0x67,0x68])}),_0x40dd58[_0x366ad4([0x6f,0x6e])](_0x366ad4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e1f57=>{_0x4e47ef(_0x3e1f57[_0x366ad4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1281ac=!0x0,_0x55b3f8(_0x3e1f57[_0x366ad4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x366ad4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x366ad4([0x6c,0x6f,0x77])}),_0x44a3f1[_0x366ad4([0x74,0x68,0x65,0x6e])](()=>{_0x1281ac||_0x152948(_0x366ad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f3aca(){return _0x40dd58[_0x366ad4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x366ad4([0x76,0x69,0x65,0x77])][_0x366ad4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x366ad4([0x61,0x75,0x74,0x6f]);}function _0x1273a9(){_0x40dd58[_0x366ad4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x366ad4([0x76,0x69,0x65,0x77])][_0x366ad4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x366ad4([0x61,0x75,0x74,0x6f]);}}function _0x400d49(_0x184b47){const _0x832069=[new window[(_0x366ad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b1839=>setTimeout(_0x1b1839,0x6734f008^_0x401ed7)),_0x44a3f1[_0x366ad4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x366ad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f2d13=>{let _0xb11c3f=0x0;_0x40dd58[_0x366ad4([0x6d,0x6f,0x64,0x65,0x6c])][_0x366ad4([0x6f,0x6e])](_0x366ad4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x76bcef,_0x10f237)=>{_0x10f237[0x0][_0x366ad4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb11c3f++,_0xb11c3f==(0x673dcf3c^_0x401ed7)&&(_0x2f2d13(),_0x76bcef[_0x366ad4([0x6f,0x66,0x66])]());});}))];return window[_0x366ad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x366ad4([0x72,0x61,0x63,0x65])](_0x832069)[_0x366ad4([0x74,0x68,0x65,0x6e])](()=>_0x184b47);}async function _0x46b672(){await _0x44a3f1,_0x40dd58[_0x366ad4([0x6d,0x6f,0x64,0x65,0x6c])][_0x366ad4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x76e15a,_0x40dd58[_0x366ad4([0x6d,0x6f,0x64,0x65,0x6c])][_0x366ad4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x76e15a,_0x40dd58[_0x366ad4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x366ad4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4cb348(){return window[_0x366ad4([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5c5477(_0x3ac6a5){const _0x4c573e=_0x510f44();_0x40dd58[_0x4c573e]=_0x366ad4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ac6a5,_0x3ac6a5!=_0x366ad4([0x56,0x61,0x6c,0x69,0x64])&&_0x46b672();}function _0x510f44(){const _0x59888d=window[_0x366ad4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x366ad4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x366ad4([0x6e,0x6f,0x77])]())[_0x366ad4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x366ad4([0x2e]),'');let _0x47ce0a=_0x366ad4([0x53]);for(let _0x28078b=0x0;_0x28078b<_0x59888d[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28078b+=0x2){let _0x1557f1=window[_0x366ad4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59888d[_0x366ad4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28078b,_0x28078b+0x2));_0x1557f1>=_0x3eb7f0[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1557f1-=_0x3eb7f0[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47ce0a+=_0x3eb7f0[_0x1557f1];}return _0x47ce0a;}function _0x3ac6f6(){const _0x69c210=_0x1b0a3f[_0x366ad4([0x73,0x70,0x6c,0x69,0x74])](_0x366ad4([0x2e]));if(0x3!=_0x69c210[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e190f(_0x69c210[0x1]);function _0x3e190f(_0x377163){const _0x31e2b7=_0x1fcffa(_0x377163);return _0x31e2b7&&_0x3f3925()?_0x31e2b7:null;function _0x3f3925(){const _0x34cff0=_0x31e2b7[_0x366ad4([0x6a,0x74,0x69])],_0x7be27e=window[_0x366ad4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34cff0[_0x366ad4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34cff0[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a8e84={..._0x31e2b7,[_0x366ad4([0x6a,0x74,0x69])]:_0x34cff0[_0x366ad4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34cff0[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a8e84[_0x366ad4([0x76,0x63])],_0x47aefc(_0x4a8e84)==_0x7be27e;}}}async function _0x22cd00(){let _0x18eb6d=!0x0;try{const _0x4f923c=_0x1b0a3f[_0x366ad4([0x73,0x70,0x6c,0x69,0x74])](_0x366ad4([0x2e])),[_0x15f549,_0x337c7c,_0x3844bf]=_0x4f923c;return _0x3dff45(_0x15f549),await _0x4c18c1(_0x15f549,_0x337c7c,_0x3844bf),_0x18eb6d;}catch{return!0x1;}function _0x3dff45(_0x46781b){const _0x54325c=_0x1fcffa(_0x46781b);_0x54325c&&_0x54325c[_0x366ad4([0x61,0x6c,0x67])]==_0x366ad4([0x45,0x53,0x32,0x35,0x36])||(_0x18eb6d=!0x1);}async function _0x4c18c1(_0xaea86b,_0x120406,_0x764ffa){const _0x339e0f=window[_0x366ad4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x366ad4([0x66,0x72,0x6f,0x6d])](_0x4ecb54(_0x764ffa),_0x63122e=>_0x63122e[_0x366ad4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x384d53=new window[(_0x366ad4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x366ad4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xaea86b+_0x366ad4([0x2e])+_0x120406),_0x4e4c06=window[_0x366ad4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x366ad4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e4c06)return;const _0x4ecfa2=await _0x4e4c06[_0x366ad4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x366ad4([0x6a,0x77,0x6b]),_0x139791,{[_0x366ad4([0x6e,0x61,0x6d,0x65])]:_0x366ad4([0x45,0x43,0x44,0x53,0x41]),[_0x366ad4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x366ad4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x366ad4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e4c06[_0x366ad4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x366ad4([0x6e,0x61,0x6d,0x65])]:_0x366ad4([0x45,0x43,0x44,0x53,0x41]),[_0x366ad4([0x68,0x61,0x73,0x68])]:{[_0x366ad4([0x6e,0x61,0x6d,0x65])]:_0x366ad4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ecfa2,_0x339e0f,_0x384d53)||(_0x18eb6d=!0x1);}}function _0x1fcffa(_0x2fc7a5){return _0x2fc7a5[_0x366ad4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x366ad4([0x65,0x79]))?JSON[_0x366ad4([0x70,0x61,0x72,0x73,0x65])](_0x4ecb54(_0x2fc7a5)):null;}function _0x4ecb54(_0x10e5da){return window[_0x366ad4([0x61,0x74,0x6f,0x62])](_0x10e5da[_0x366ad4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x366ad4([0x2b]))[_0x366ad4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x366ad4([0x2f])));}function _0x47aefc(_0x41f3a7){let _0x11b7e4=0x1505;function _0x2fd9c6(_0x3c247e){for(let _0x59f987=0x0;_0x59f987<_0x3c247e[_0x366ad4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59f987++){const _0x233489=_0x3c247e[_0x366ad4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59f987);_0x11b7e4=(_0x11b7e4<<0x5)+_0x11b7e4+_0x233489,_0x11b7e4&=_0x11b7e4;}}function _0x38e5bd(_0x3b8f2c){Array[_0x366ad4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b8f2c)?_0x3b8f2c[_0x366ad4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38e5bd):_0x3b8f2c&&typeof _0x3b8f2c==_0x366ad4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x366ad4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b8f2c)[_0x366ad4([0x73,0x6f,0x72,0x74])]()[_0x366ad4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3eea60,_0x3cdc58])=>{_0x2fd9c6(_0x3eea60),_0x38e5bd(_0x3cdc58);}):_0x2fd9c6(window[_0x366ad4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b8f2c));}return _0x38e5bd(_0x41f3a7),_0x11b7e4>>>0x0;}function _0x25bb41(_0x17be9f){return _0x17be9f[_0x366ad4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x366ad4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x366ad4([0x30]));}function _0x277d95(_0x19f203){return _0x19f203[_0x366ad4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x366ad4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x366ad4([0x6a,0x6f,0x69,0x6e])]('');}function _0x76e15a(){}function _0x366ad4(_0x2ed3ed){return _0x2ed3ed['map'](_0x426280=>String['fromCharCode'](_0x426280))['join']('');}_0x5c5477(await _0x5a044a());}(this);}['_createTemplateListView'](_0xbadc55,_0x193e48){const {editor:_0x365c80}=this,_0xe6d107=new y(_0xbadc55);return _0xe6d107['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0xe6d107['items']['addMany'](_0x193e48['map']((_0xe3e977,_0xfe2f5a)=>{const _0x2033d7=new b(_0xbadc55,_0xfe2f5a),_0x4dd525=new h(_0xbadc55,_0xe3e977);return _0x2033d7['buttonView']=_0x4dd525,_0x2033d7['children']['add'](_0x4dd525),_0x2033d7['buttonView']['on']('execute',_0x25907a=>{_0x365c80['execute']('insertTemplate',_0x25907a['source']['templateDefinition']['data']),_0x365c80['editing']['view']['focus']();}),_0x2033d7;})),_0xe6d107;}}class K extends _0x5470c5{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.13",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
29
|
-
"ckeditor5": "46.0.1-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.13",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.13",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.13",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.13",
|
|
29
|
+
"ckeditor5": "46.0.1-alpha.13"
|
|
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 _0x4ed3c5=_0x19af;function _0x19af(_0x3275b7,_0x212f56){const _0x5195ea=_0x5195();return _0x19af=function(_0x19af8a,_0x1c9d2f){_0x19af8a=_0x19af8a-0xf3;let _0x3abe83=_0x5195ea[_0x19af8a];return _0x3abe83;},_0x19af(_0x3275b7,_0x212f56);}function _0x5195(){const _0x5ddb82=['editing','91381eaOjEo','view','ck-template-list','125658tluBaU','ariaLiveAnnouncer','extendTemplate','items','reset','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','templateDefinition','85168UtjgLt','%0\x20templates\x20found','delegate','init','search','Search\x20template','listbox','buttonView','query','fromCharCode','ck-template-button','Insert\x20template','children','16808VJEqrT','title','6dNusWM','insertTemplate','commands','add','isEnabled','_createTemplateListView','ck-template-form','focus','get','announce','join','isOfficialPlugin','map','5DeNtvg','set','resultsCount','template.definitions','203588gbVATD','372IAlKMo','No\x20templates\x20available.','800IzvRcO','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','TemplateUI','change:isOpen','Template','icon','54TInxKY','length','source','bind','pluginName','data','componentFactory','afterInit','config','isPremiumPlugin','30810sEQQBK','panelView','execute','addMany','746706ieICDs','menuBar:insertTemplate','128EHRnwM','href'];_0x5195=function(){return _0x5ddb82;};return _0x5195();}(function(_0x3d1b2b,_0x432ca5){const _0x5ba1fb=_0x19af,_0x165f41=_0x3d1b2b();while(!![]){try{const _0x1692f1=-parseInt(_0x5ba1fb(0x130))/0x1*(-parseInt(_0x5ba1fb(0x103))/0x2)+-parseInt(_0x5ba1fb(0x127))/0x3*(-parseInt(_0x5ba1fb(0x12d))/0x4)+parseInt(_0x5ba1fb(0x110))/0x5*(parseInt(_0x5ba1fb(0x12b))/0x6)+-parseInt(_0x5ba1fb(0x114))/0x7+parseInt(_0x5ba1fb(0xf4))/0x8*(parseInt(_0x5ba1fb(0x11d))/0x9)+parseInt(_0x5ba1fb(0x117))/0xa*(-parseInt(_0x5ba1fb(0x101))/0xb)+parseInt(_0x5ba1fb(0x115))/0xc*(-parseInt(_0x5ba1fb(0x133))/0xd);if(_0x1692f1===_0x432ca5)break;else _0x165f41['push'](_0x165f41['shift']());}catch(_0x5701b5){_0x165f41['push'](_0x165f41['shift']());}}}(_0x5195,0x530ac));import{Plugin as _0x11924d}from'ckeditor5/src/core.js';import{IconTemplate as _0x4128a9,IconTemplateGeneric as _0x90ba22}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x5fd05d,MenuBarMenuListItemView as _0x331297,MenuBarMenuListView as _0x28406b,MenuBarMenuView as _0x5da639,SearchTextView as _0x9fdb07,createDropdown as _0x1a0847}from'ckeditor5/src/ui.js';import{uid as _0x16a79b}from'ckeditor5/src/utils.js';import{TemplateListView as _0x85de}from'./ui/templatelistview.js';import{TemplateListItemView as _0xaaeb2}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x5c4cfb}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x5a400b}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x11924d{static get[_0x4ed3c5(0x121)](){const _0x533a4f=_0x4ed3c5;return _0x533a4f(0x119);}static get[_0x4ed3c5(0x10e)](){return!0x0;}static get[_0x4ed3c5(0x126)](){return!0x0;}[_0x4ed3c5(0xf7)](){const _0x85ed43=_0x4ed3c5,{editor:_0x5bc490}=this,_0x3e7e21=_0x5bc490[_0x85ed43(0x125)][_0x85ed43(0x10b)](_0x85ed43(0x113))||[];_0x5bc490['ui'][_0x85ed43(0x123)][_0x85ed43(0x106)](_0x85ed43(0x104),_0x25142d=>{const _0x1bcc3a=_0x85ed43,_0x2cba89=_0x1a0847(_0x25142d),_0xaa2351=this[_0x1bcc3a(0x108)](_0x25142d,_0x3e7e21),_0x3c5832=new _0x9fdb07(_0x25142d,{'filteredView':_0xaa2351,'queryView':{'label':_0x5a400b(_0x25142d,_0x1bcc3a(0xf9))},'class':_0x1bcc3a(0x109),'infoView':{'text':{'notFound':{'primary':_0x3628b5=>_0x5a400b(_0x25142d,_0x1bcc3a(0x138),_0x3628b5),'secondary':_0x5a400b(_0x25142d,_0x1bcc3a(0x118))},'noSearchableItems':{'primary':_0x5a400b(_0x25142d,_0x1bcc3a(0x116))}}}}),_0x4cd6da=_0x5bc490[_0x1bcc3a(0x105)][_0x1bcc3a(0x10b)](_0x1bcc3a(0x104));return _0x3c5832['on'](_0x1bcc3a(0xf8),(_0x298b79,_0x3dd7e4)=>{const _0x2dd818=_0x1bcc3a;_0x3dd7e4[_0x2dd818(0xfc)]&&_0x3dd7e4[_0x2dd818(0xfc)][_0x2dd818(0x11e)]&&_0x5bc490['ui'][_0x2dd818(0x134)][_0x2dd818(0x10c)](_0x5a400b(_0x25142d,_0x2dd818(0xf5),_0x3dd7e4[_0x2dd818(0x112)]));}),_0x2cba89[_0x1bcc3a(0x120)](_0x1bcc3a(0x107))['to'](_0x4cd6da),_0x2cba89[_0x1bcc3a(0x128)][_0x1bcc3a(0x100)][_0x1bcc3a(0x106)](_0x3c5832),_0x2cba89[_0x1bcc3a(0xfb)][_0x1bcc3a(0x111)]({'label':_0x5a400b(_0x25142d,_0x1bcc3a(0xff)),'icon':_0x4128a9,'tooltip':!0x0}),_0x2cba89['on'](_0x1bcc3a(0x11a),(_0xbbc8e7,_0x17afee,_0x392976)=>{const _0x375e8c=_0x1bcc3a;_0x392976||_0x3c5832[_0x375e8c(0x137)]();}),_0x2cba89;}),_0x5bc490['ui'][_0x85ed43(0x123)][_0x85ed43(0x106)](_0x85ed43(0x12c),_0x43d303=>{const _0x4d8bfe=_0x85ed43,_0x1fe471=_0x5bc490[_0x4d8bfe(0x105)][_0x4d8bfe(0x10b)](_0x4d8bfe(0x104)),_0x551033=new _0x5da639(_0x43d303);_0x551033[_0x4d8bfe(0xfb)][_0x4d8bfe(0x111)]({'label':_0x5a400b(_0x43d303,_0x4d8bfe(0x11b)),'icon':_0x4128a9});const _0x288928=new _0x28406b(_0x43d303);if(!_0x3e7e21||!_0x3e7e21[_0x4d8bfe(0x11e)]){const _0x451f54=new _0x331297(_0x43d303,_0x551033),_0x1fc0c8=new _0x5fd05d(_0x43d303);_0x1fc0c8[_0x4d8bfe(0x111)]({'label':_0x5a400b(_0x43d303,_0x4d8bfe(0x116))}),_0x1fc0c8[_0x4d8bfe(0xf6)](_0x4d8bfe(0x129))['to'](_0x551033),_0x1fc0c8['on'](_0x4d8bfe(0x129),()=>{const _0x1e4690=_0x4d8bfe;_0x5bc490[_0x1e4690(0x12f)][_0x1e4690(0x131)][_0x1e4690(0x10a)]();}),_0x451f54[_0x4d8bfe(0x100)][_0x4d8bfe(0x106)](_0x1fc0c8),_0x288928[_0x4d8bfe(0x136)][_0x4d8bfe(0x106)](_0x451f54);}for(const _0x4fcdd5 of _0x3e7e21){const _0x4a8ea6=new _0x331297(_0x43d303,_0x551033),_0x390734=new _0x5fd05d(_0x43d303);_0x390734[_0x4d8bfe(0x111)]({'class':_0x4d8bfe(0xfe),'label':_0x4fcdd5[_0x4d8bfe(0x102)],'icon':_0x4fcdd5[_0x4d8bfe(0x11c)]||_0x90ba22}),_0x390734[_0x4d8bfe(0xf6)](_0x4d8bfe(0x129))['to'](_0x551033),_0x390734['on'](_0x4d8bfe(0x129),()=>{const _0x4ca380=_0x4d8bfe;_0x5bc490[_0x4ca380(0x129)](_0x4ca380(0x104),_0x4fcdd5[_0x4ca380(0x122)]),_0x5bc490[_0x4ca380(0x12f)][_0x4ca380(0x131)][_0x4ca380(0x10a)]();}),_0x4a8ea6[_0x4d8bfe(0x100)][_0x4d8bfe(0x106)](_0x390734),_0x288928[_0x4d8bfe(0x136)][_0x4d8bfe(0x106)](_0x4a8ea6);}return _0x551033[_0x4d8bfe(0x128)][_0x4d8bfe(0x100)][_0x4d8bfe(0x106)](_0x288928),_0x551033[_0x4d8bfe(0x120)](_0x4d8bfe(0x107))['to'](_0x1fe471,_0x4d8bfe(0x107)),_0x551033;});}[_0x4ed3c5(0x124)](){!async function(_0x5119e2){const _0x2c97af=_0x235330([0x50,0x32,0x39,0x77,0x35,0x4e,0x66,0x6f,0x57,0x58,0x78,0x51,0x71,0x48,0x4c,0x44,0x4d,0x52,0x31,0x38,0x7a,0x6b,0x46,0x4b,0x69,0x45,0x55,0x70,0x41,0x47,0x73,0x4a,0x43,0x62,0x64,0x63,0x42,0x30,0x34,0x4f,0x6e,0x6a,0x56,0x6c,0x65,0x72,0x59,0x6d,0x61,0x75,0x33,0x49,0x54,0x68,0x37,0x67,0x5a,0x53,0x76,0x36,0x74,0x79]),_0xbf986e=0x5cb4903f,_0x47d766=0x5cb3ffdf^_0xbf986e,_0x5318a1=window[_0x235330([0x44,0x61,0x74,0x65])][_0x235330([0x6e,0x6f,0x77])](),_0x579b23=_0x5119e2[_0x235330([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d6b42=new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bb051=>{_0x579b23[_0x235330([0x6f,0x6e,0x63,0x65])](_0x235330([0x72,0x65,0x61,0x64,0x79]),_0x3bb051);}),_0x2bdeb6={[_0x235330([0x6b,0x74,0x79])]:_0x235330([0x45,0x43]),[_0x235330([0x75,0x73,0x65])]:_0x235330([0x73,0x69,0x67]),[_0x235330([0x63,0x72,0x76])]:_0x235330([0x50,0x2d,0x32,0x35,0x36]),[_0x235330([0x78])]:_0x235330([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]),[_0x235330([0x79])]:_0x235330([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]),[_0x235330([0x61,0x6c,0x67])]:_0x235330([0x45,0x53,0x32,0x35,0x36])},_0x36a6cf=_0x579b23[_0x235330([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x235330([0x67,0x65,0x74])](_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5931d9(){let _0x2bc7c0,_0x5a922d=null,_0x22d58d=null;try{if(_0x36a6cf==_0x235330([0x47,0x50,0x4c]))return _0x235330([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2bc7c0=_0x169915(),!_0x2bc7c0)return _0x235330([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2bc7c0[_0x235330([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22d58d=_0x41c1f3(_0x2bc7c0[_0x235330([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2bc7c0[_0x235330([0x6a,0x74,0x69])])),await _0x1995cb()?_0x34d029()?_0x54d31a()?_0x235330([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc97fa6()?(_0x2bc7c0[_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x235330([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a922d=_0x3a658e(_0x235330([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2bc7c0[_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x235330([0x74,0x72,0x69,0x61,0x6c])&&(_0x5a922d=_0x3a658e(_0x235330([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x942058()):_0x235330([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x235330([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x235330([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x235330([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54d31a(){const _0x268616=[_0x235330([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x235330([0x74,0x72,0x69,0x61,0x6c])][_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bc7c0[_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5318a1/0x3e8:0xe10*_0x47d766;return _0x2bc7c0[_0x235330([0x65,0x78,0x70])]<_0x268616;}function _0x34d029(){const _0x32b690=_0x2bc7c0[_0x235330([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32b690&&(!!_0x32b690[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x2a]))||(!!_0x32b690[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x54,0x50,0x4c]))||(!!_0x32b690[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x50,0x50]))||!(!_0x32b690[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x44,0x52,0x55,0x50]))||!_0xfaaa16()))));}function _0xc97fa6(){const _0x678a94=_0x19af,_0x17a830=_0x2bc7c0[_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17a830||0x0==_0x17a830[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x19d9a1}=new URL(window[_0x235330([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x678a94(0x12e)]);if(_0x17a830[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19d9a1))return!0x0;const _0x592492=_0x19d9a1[_0x235330([0x73,0x70,0x6c,0x69,0x74])](_0x235330([0x2e]));return _0x17a830[_0x235330([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13073f=>_0x13073f[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x2a])))[_0x235330([0x6d,0x61,0x70])](_0x11628f=>_0x11628f[_0x235330([0x73,0x70,0x6c,0x69,0x74])](_0x235330([0x2e])))[_0x235330([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18a05c=>_0x18a05c[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x592492[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x235330([0x6d,0x61,0x70])](_0x3026ab=>Array(_0x592492[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3026ab[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x235330([0x66,0x69,0x6c,0x6c])](_0x3026ab[0x0]===_0x235330([0x2a])?_0x235330([0x2a]):'')[_0x235330([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3026ab))[_0x235330([0x73,0x6f,0x6d,0x65])](_0x409d8d=>_0x592492[_0x235330([0x65,0x76,0x65,0x72,0x79])]((_0x72d055,_0x14d739)=>_0x409d8d[_0x14d739]===_0x72d055||_0x409d8d[_0x14d739]===_0x235330([0x2a])));}function _0x942058(){return _0x5a922d&&_0x22d58d?new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x466c46,_0x57dbbd)=>{_0x5a922d[_0x235330([0x74,0x68,0x65,0x6e])](_0x466c46,_0x57dbbd),_0x22d58d[_0x235330([0x74,0x68,0x65,0x6e])](_0x207a55=>{_0x207a55!=_0x235330([0x56,0x61,0x6c,0x69,0x64])&&_0x466c46(_0x207a55);},_0x57dbbd);}):_0x5a922d||_0x22d58d||_0x235330([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41c1f3(_0x5d4987,_0x542122){return new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38c514=>{if(_0x41d55d())return _0x38c514(_0x235330([0x56,0x61,0x6c,0x69,0x64]));_0x52712f(),_0x579b23[_0x235330([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x235330([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x370bc9=!0x1;const _0x12e71a=_0x16a79b();function _0x4e48c5(_0x4dcea0){return!!_0x4dcea0&&(typeof _0x4dcea0===_0x235330([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4dcea0===_0x235330([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4dcea0[_0x235330([0x74,0x68,0x65,0x6e])]===_0x235330([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4dcea0[_0x235330([0x63,0x61,0x74,0x63,0x68])]===_0x235330([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49a300(_0x6248a5){_0x291136(_0x6248a5)[_0x235330([0x74,0x68,0x65,0x6e])](_0x19b4f0=>{if(!_0x19b4f0||_0x19b4f0[_0x235330([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x235330([0x6f,0x6b]))return _0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2aee61(_0x4f4940(_0x12e71a+_0x542122))!=_0x19b4f0[_0x235330([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x235330([0x56,0x61,0x6c,0x69,0x64]);})[_0x235330([0x74,0x68,0x65,0x6e])](_0x97cf02=>(_0x2aa5e5(),_0x97cf02),()=>{const _0x441c4a=_0x5523e3();return null==_0x441c4a?(_0x2aa5e5(),_0x235330([0x56,0x61,0x6c,0x69,0x64])):_0x235330(_0x5318a1-_0x441c4a>(0x78b8143f^_0xbf986e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x235330([0x74,0x68,0x65,0x6e])](_0x38c514)[_0x235330([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38c514(_0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bc4d3=0x5c827ebf^_0xbf986e;function _0x2aa5e5(){const _0x56604e=_0x235330([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aee61(_0x4f4940(_0x5d4987)),_0x23db80=_0x3cc472(_0x2aee61(window[_0x235330([0x4d,0x61,0x74,0x68])][_0x235330([0x63,0x65,0x69,0x6c])](_0x5318a1/_0x4bc4d3)));window[_0x235330([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x235330([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56604e,_0x23db80);}function _0x5523e3(){const _0x3ceaca=_0x235330([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aee61(_0x4f4940(_0x5d4987)),_0x69723f=window[_0x235330([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x235330([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ceaca);return _0x69723f?window[_0x235330([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cc472(_0x69723f),0x10)*_0x4bc4d3:null;}function _0x291136(_0x1aeed9){return new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e2602,_0x2a524b)=>{_0x1aeed9[_0x235330([0x74,0x68,0x65,0x6e])](_0x2e2602,_0x2a524b),window[_0x235330([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a524b,0x5cb544ff^_0xbf986e);});}}_0x579b23[_0x235330([0x6f,0x6e])](_0x235330([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x89b355,_0x47574f)=>{if(_0x47574f[0x0]!=_0x5d4987)return _0x38c514(_0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47574f[0x1]={..._0x47574f[0x1],[_0x235330([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x12e71a};},{[_0x235330([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x235330([0x68,0x69,0x67,0x68])}),_0x579b23[_0x235330([0x6f,0x6e])](_0x235330([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57bd72=>{_0x4e48c5(_0x57bd72[_0x235330([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x370bc9=!0x0,_0x49a300(_0x57bd72[_0x235330([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x235330([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x235330([0x6c,0x6f,0x77])}),_0x1d6b42[_0x235330([0x74,0x68,0x65,0x6e])](()=>{_0x370bc9||_0x38c514(_0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41d55d(){return _0x579b23[_0x235330([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x235330([0x76,0x69,0x65,0x77])][_0x235330([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x235330([0x61,0x75,0x74,0x6f]);}function _0x52712f(){_0x579b23[_0x235330([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x235330([0x76,0x69,0x65,0x77])][_0x235330([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x235330([0x61,0x75,0x74,0x6f]);}}function _0x3a658e(_0x460f34){const _0x474ef4=[new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9bb9d1=>setTimeout(_0x9bb9d1,0x5cbdaef3^_0xbf986e)),_0x1d6b42[_0x235330([0x74,0x68,0x65,0x6e])](()=>new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26fa37=>{let _0x1632e5=0x0;_0x579b23[_0x235330([0x6d,0x6f,0x64,0x65,0x6c])][_0x235330([0x6f,0x6e])](_0x235330([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e8cf6,_0x4f0818)=>{_0x4f0818[0x0][_0x235330([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1632e5++,_0x1632e5==(0x5cb491c7^_0xbf986e)&&(_0x26fa37(),_0x4e8cf6[_0x235330([0x6f,0x66,0x66])]());});}))];return window[_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x235330([0x72,0x61,0x63,0x65])](_0x474ef4)[_0x235330([0x74,0x68,0x65,0x6e])](()=>_0x460f34);}async function _0x47d9ea(){await _0x1d6b42,_0x579b23[_0x235330([0x6d,0x6f,0x64,0x65,0x6c])][_0x235330([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x864122,_0x579b23[_0x235330([0x6d,0x6f,0x64,0x65,0x6c])][_0x235330([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x864122,_0x579b23[_0x235330([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x235330([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfaaa16(){return window[_0x235330([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x9ecc29(_0x2c0abc){const _0x1a34d1=_0x57d12a();_0x579b23[_0x1a34d1]=_0x235330([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c0abc,_0x2c0abc!=_0x235330([0x56,0x61,0x6c,0x69,0x64])&&_0x47d9ea();}function _0x57d12a(){const _0xc5790b=window[_0x235330([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x235330([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x235330([0x6e,0x6f,0x77])]())[_0x235330([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x235330([0x2e]),'');let _0x100091=_0x235330([0x50]);for(let _0x5c2e69=0x0;_0x5c2e69<_0xc5790b[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c2e69+=0x2){let _0x961ffc=window[_0x235330([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc5790b[_0x235330([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c2e69,_0x5c2e69+0x2));_0x961ffc>=_0x2c97af[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x961ffc-=_0x2c97af[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x100091+=_0x2c97af[_0x961ffc];}return _0x100091;}function _0x169915(){const _0x5f0ab1=_0x36a6cf[_0x235330([0x73,0x70,0x6c,0x69,0x74])](_0x235330([0x2e]));if(0x3!=_0x5f0ab1[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d789f(_0x5f0ab1[0x1]);function _0x3d789f(_0x1fc2eb){const _0x43833f=_0x1bacff(_0x1fc2eb);return _0x43833f&&_0xdb7708()?_0x43833f:null;function _0xdb7708(){const _0x2a4d80=_0x43833f[_0x235330([0x6a,0x74,0x69])],_0x1a2b25=window[_0x235330([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a4d80[_0x235330([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a4d80[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c638b={..._0x43833f,[_0x235330([0x6a,0x74,0x69])]:_0x2a4d80[_0x235330([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a4d80[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c638b[_0x235330([0x76,0x63])],_0x4f4940(_0x4c638b)==_0x1a2b25;}}}async function _0x1995cb(){let _0x5f1dea=!0x0;try{const _0x529b7b=_0x36a6cf[_0x235330([0x73,0x70,0x6c,0x69,0x74])](_0x235330([0x2e])),[_0x1fd47f,_0x81f921,_0x4b22a8]=_0x529b7b;return _0x589864(_0x1fd47f),await _0x31179e(_0x1fd47f,_0x81f921,_0x4b22a8),_0x5f1dea;}catch{return!0x1;}function _0x589864(_0x23f6f8){const _0x59ac3d=_0x1bacff(_0x23f6f8);_0x59ac3d&&_0x59ac3d[_0x235330([0x61,0x6c,0x67])]==_0x235330([0x45,0x53,0x32,0x35,0x36])||(_0x5f1dea=!0x1);}async function _0x31179e(_0x4bd04f,_0x33ea40,_0x71e41f){const _0x4e92d1=window[_0x235330([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x235330([0x66,0x72,0x6f,0x6d])](_0x38b5cf(_0x71e41f),_0x2cb513=>_0x2cb513[_0x235330([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6d6eda=new window[(_0x235330([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x235330([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4bd04f+_0x235330([0x2e])+_0x33ea40),_0x381e39=window[_0x235330([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x235330([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x381e39)return;const _0x214f11=await _0x381e39[_0x235330([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x235330([0x6a,0x77,0x6b]),_0x2bdeb6,{[_0x235330([0x6e,0x61,0x6d,0x65])]:_0x235330([0x45,0x43,0x44,0x53,0x41]),[_0x235330([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x235330([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x235330([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x381e39[_0x235330([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x235330([0x6e,0x61,0x6d,0x65])]:_0x235330([0x45,0x43,0x44,0x53,0x41]),[_0x235330([0x68,0x61,0x73,0x68])]:{[_0x235330([0x6e,0x61,0x6d,0x65])]:_0x235330([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x214f11,_0x4e92d1,_0x6d6eda)||(_0x5f1dea=!0x1);}}function _0x1bacff(_0x207458){return _0x207458[_0x235330([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x235330([0x65,0x79]))?JSON[_0x235330([0x70,0x61,0x72,0x73,0x65])](_0x38b5cf(_0x207458)):null;}function _0x38b5cf(_0x1e5279){return window[_0x235330([0x61,0x74,0x6f,0x62])](_0x1e5279[_0x235330([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x235330([0x2b]))[_0x235330([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x235330([0x2f])));}function _0x4f4940(_0x35f725){let _0x127152=0x1505;function _0x3b24a3(_0x1c9a2e){for(let _0x8e5015=0x0;_0x8e5015<_0x1c9a2e[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8e5015++){const _0x525ae4=_0x1c9a2e[_0x235330([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8e5015);_0x127152=(_0x127152<<0x5)+_0x127152+_0x525ae4,_0x127152&=_0x127152;}}function _0x435322(_0x4f3ef7){Array[_0x235330([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f3ef7)?_0x4f3ef7[_0x235330([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x435322):_0x4f3ef7&&typeof _0x4f3ef7==_0x235330([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x235330([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f3ef7)[_0x235330([0x73,0x6f,0x72,0x74])]()[_0x235330([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x243e8b,_0x47201e])=>{_0x3b24a3(_0x243e8b),_0x435322(_0x47201e);}):_0x3b24a3(window[_0x235330([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f3ef7));}return _0x435322(_0x35f725),_0x127152>>>0x0;}function _0x2aee61(_0x30acd9){return _0x30acd9[_0x235330([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x235330([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x235330([0x30]));}function _0x3cc472(_0x4b5260){return _0x4b5260[_0x235330([0x73,0x70,0x6c,0x69,0x74])]('')[_0x235330([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x235330([0x6a,0x6f,0x69,0x6e])]('');}function _0x864122(){}function _0x235330(_0x439910){const _0x553772=_0x19af;return _0x439910[_0x553772(0x10f)](_0x2a3436=>String[_0x553772(0xfd)](_0x2a3436))[_0x553772(0x10d)]('');}_0x9ecc29(await _0x5931d9());}(this);}[_0x4ed3c5(0x108)](_0x1f12c0,_0x565a9a){const _0x4bfe04=_0x4ed3c5,{editor:_0x5ccb81}=this,_0x397579=new _0x85de(_0x1f12c0);return _0x397579[_0x4bfe04(0x135)]({'attributes':{'role':_0x4bfe04(0xfa),'class':[_0x4bfe04(0x132)]}}),_0x397579[_0x4bfe04(0x136)][_0x4bfe04(0x12a)](_0x565a9a[_0x4bfe04(0x10f)]((_0x33e845,_0x4ab2fb)=>{const _0x2cd2a1=_0x4bfe04,_0x4a62c9=new _0xaaeb2(_0x1f12c0,_0x4ab2fb),_0x9d606a=new _0x5c4cfb(_0x1f12c0,_0x33e845);return _0x4a62c9[_0x2cd2a1(0xfb)]=_0x9d606a,_0x4a62c9[_0x2cd2a1(0x100)][_0x2cd2a1(0x106)](_0x9d606a),_0x4a62c9[_0x2cd2a1(0xfb)]['on'](_0x2cd2a1(0x129),_0xd461d5=>{const _0xfa262b=_0x2cd2a1;_0x5ccb81[_0xfa262b(0x129)](_0xfa262b(0x104),_0xd461d5[_0xfa262b(0x11f)][_0xfa262b(0xf3)][_0xfa262b(0x122)]),_0x5ccb81[_0xfa262b(0x12f)][_0xfa262b(0x131)][_0xfa262b(0x10a)]();}),_0x4a62c9;})),_0x397579;}}
|
|
23
|
+
function _0x3eb1(){const _0x5a7c69=['panelView','query','templateDefinition','Insert\x20template','add','100GCtqax','isEnabled','commands','buttonView','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','icon','pluginName','view','1035908rcAudH','ck-template-form','href','ck-template-list','change:isOpen','resultsCount','length','1101499ZILZOh','16XwdUZM','afterInit','get','20xtPPrc','execute','source','menuBar:insertTemplate','fromCharCode','template.definitions','20439cgEYPD','map','230zZDYkF','ck-template-button','init','search','announce','829881tlulbr','ariaLiveAnnouncer','addMany','%0\x20templates\x20found','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','extendTemplate','editing','join','set','_createTemplateListView','componentFactory','insertTemplate','config','title','listbox','isPremiumPlugin','bind','TemplateUI','2341856vlUgbh','reset','items','focus','Search\x20template','isOfficialPlugin','children','No\x20templates\x20available.','58698ZEnpYb','delegate','Template','17288GBisFL','data'];_0x3eb1=function(){return _0x5a7c69;};return _0x3eb1();}const _0x487a30=_0x494e;(function(_0x2074f5,_0x107f6e){const _0x3df2e1=_0x494e,_0x1b43f9=_0x2074f5();while(!![]){try{const _0x5e86a0=parseInt(_0x3df2e1(0x1cb))/0x1*(parseInt(_0x3df2e1(0x1e5))/0x2)+-parseInt(_0x3df2e1(0x1f2))/0x3+parseInt(_0x3df2e1(0x1da))/0x4+parseInt(_0x3df2e1(0x1d2))/0x5*(parseInt(_0x3df2e1(0x1c8))/0x6)+-parseInt(_0x3df2e1(0x1e1))/0x7*(parseInt(_0x3df2e1(0x1e2))/0x8)+parseInt(_0x3df2e1(0x1eb))/0x9*(-parseInt(_0x3df2e1(0x1ed))/0xa)+parseInt(_0x3df2e1(0x1c0))/0xb;if(_0x5e86a0===_0x107f6e)break;else _0x1b43f9['push'](_0x1b43f9['shift']());}catch(_0x5d12bf){_0x1b43f9['push'](_0x1b43f9['shift']());}}}(_0x3eb1,0x300e7));import{Plugin as _0x1e36a4}from'ckeditor5/src/core.js';import{IconTemplate as _0xa398b9,IconTemplateGeneric as _0xefe4d8}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x7cbe6,MenuBarMenuListItemView as _0x51a2c6,MenuBarMenuListView as _0x4ac1a5,MenuBarMenuView as _0x22cc4e,SearchTextView as _0x356989,createDropdown as _0x8149e9}from'ckeditor5/src/ui.js';import{uid as _0x999e75}from'ckeditor5/src/utils.js';import{TemplateListView as _0x471085}from'./ui/templatelistview.js';import{TemplateListItemView as _0x1ee52d}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x3ec671}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x30ae7f}from'./utils/common-translations.js';import'../theme/template.css';function _0x494e(_0x548141,_0xd747f1){const _0x3eb19f=_0x3eb1();return _0x494e=function(_0x494e9b,_0x16ad13){_0x494e9b=_0x494e9b-0x1bf;let _0xccaf63=_0x3eb19f[_0x494e9b];return _0xccaf63;},_0x494e(_0x548141,_0xd747f1);}export class TemplateUI extends _0x1e36a4{static get[_0x487a30(0x1d8)](){const _0x1727f8=_0x487a30;return _0x1727f8(0x1bf);}static get[_0x487a30(0x1c5)](){return!0x0;}static get[_0x487a30(0x201)](){return!0x0;}[_0x487a30(0x1ef)](){const _0x1b2a74=_0x487a30,{editor:_0x886787}=this,_0x28c1aa=_0x886787[_0x1b2a74(0x1fe)][_0x1b2a74(0x1e4)](_0x1b2a74(0x1ea))||[];_0x886787['ui'][_0x1b2a74(0x1fc)][_0x1b2a74(0x1d1)](_0x1b2a74(0x1fd),_0x357e93=>{const _0x36f4ad=_0x1b2a74,_0x37739=_0x8149e9(_0x357e93),_0x4230c4=this[_0x36f4ad(0x1fb)](_0x357e93,_0x28c1aa),_0xde879e=new _0x356989(_0x357e93,{'filteredView':_0x4230c4,'queryView':{'label':_0x30ae7f(_0x357e93,_0x36f4ad(0x1c4))},'class':_0x36f4ad(0x1db),'infoView':{'text':{'notFound':{'primary':_0x15c722=>_0x30ae7f(_0x357e93,_0x36f4ad(0x1f6),_0x15c722),'secondary':_0x30ae7f(_0x357e93,_0x36f4ad(0x1d6))},'noSearchableItems':{'primary':_0x30ae7f(_0x357e93,_0x36f4ad(0x1c7))}}}}),_0x1f1905=_0x886787[_0x36f4ad(0x1d4)][_0x36f4ad(0x1e4)](_0x36f4ad(0x1fd));return _0xde879e['on'](_0x36f4ad(0x1f0),(_0x5c4882,_0x253064)=>{const _0x4c68f0=_0x36f4ad;_0x253064[_0x4c68f0(0x1ce)]&&_0x253064[_0x4c68f0(0x1ce)][_0x4c68f0(0x1e0)]&&_0x886787['ui'][_0x4c68f0(0x1f3)][_0x4c68f0(0x1f1)](_0x30ae7f(_0x357e93,_0x4c68f0(0x1f5),_0x253064[_0x4c68f0(0x1df)]));}),_0x37739[_0x36f4ad(0x202)](_0x36f4ad(0x1d3))['to'](_0x1f1905),_0x37739[_0x36f4ad(0x1cd)][_0x36f4ad(0x1c6)][_0x36f4ad(0x1d1)](_0xde879e),_0x37739[_0x36f4ad(0x1d5)][_0x36f4ad(0x1fa)]({'label':_0x30ae7f(_0x357e93,_0x36f4ad(0x1d0)),'icon':_0xa398b9,'tooltip':!0x0}),_0x37739['on'](_0x36f4ad(0x1de),(_0x1fbcf3,_0x57f6b9,_0x2753b7)=>{const _0x8495e2=_0x36f4ad;_0x2753b7||_0xde879e[_0x8495e2(0x1c1)]();}),_0x37739;}),_0x886787['ui'][_0x1b2a74(0x1fc)][_0x1b2a74(0x1d1)](_0x1b2a74(0x1e8),_0x3c2352=>{const _0x36fb4a=_0x1b2a74,_0x63ea5a=_0x886787[_0x36fb4a(0x1d4)][_0x36fb4a(0x1e4)](_0x36fb4a(0x1fd)),_0x21aaa2=new _0x22cc4e(_0x3c2352);_0x21aaa2[_0x36fb4a(0x1d5)][_0x36fb4a(0x1fa)]({'label':_0x30ae7f(_0x3c2352,_0x36fb4a(0x1ca)),'icon':_0xa398b9});const _0x1ff06a=new _0x4ac1a5(_0x3c2352);if(!_0x28c1aa||!_0x28c1aa[_0x36fb4a(0x1e0)]){const _0x4218c8=new _0x51a2c6(_0x3c2352,_0x21aaa2),_0xd1aa18=new _0x7cbe6(_0x3c2352);_0xd1aa18[_0x36fb4a(0x1fa)]({'label':_0x30ae7f(_0x3c2352,_0x36fb4a(0x1c7))}),_0xd1aa18[_0x36fb4a(0x1c9)](_0x36fb4a(0x1e6))['to'](_0x21aaa2),_0xd1aa18['on'](_0x36fb4a(0x1e6),()=>{const _0x150b92=_0x36fb4a;_0x886787[_0x150b92(0x1f8)][_0x150b92(0x1d9)][_0x150b92(0x1c3)]();}),_0x4218c8[_0x36fb4a(0x1c6)][_0x36fb4a(0x1d1)](_0xd1aa18),_0x1ff06a[_0x36fb4a(0x1c2)][_0x36fb4a(0x1d1)](_0x4218c8);}for(const _0x2b9641 of _0x28c1aa){const _0x2a4338=new _0x51a2c6(_0x3c2352,_0x21aaa2),_0x30b6e5=new _0x7cbe6(_0x3c2352);_0x30b6e5[_0x36fb4a(0x1fa)]({'class':_0x36fb4a(0x1ee),'label':_0x2b9641[_0x36fb4a(0x1ff)],'icon':_0x2b9641[_0x36fb4a(0x1d7)]||_0xefe4d8}),_0x30b6e5[_0x36fb4a(0x1c9)](_0x36fb4a(0x1e6))['to'](_0x21aaa2),_0x30b6e5['on'](_0x36fb4a(0x1e6),()=>{const _0x2f0aee=_0x36fb4a;_0x886787[_0x2f0aee(0x1e6)](_0x2f0aee(0x1fd),_0x2b9641[_0x2f0aee(0x1cc)]),_0x886787[_0x2f0aee(0x1f8)][_0x2f0aee(0x1d9)][_0x2f0aee(0x1c3)]();}),_0x2a4338[_0x36fb4a(0x1c6)][_0x36fb4a(0x1d1)](_0x30b6e5),_0x1ff06a[_0x36fb4a(0x1c2)][_0x36fb4a(0x1d1)](_0x2a4338);}return _0x21aaa2[_0x36fb4a(0x1cd)][_0x36fb4a(0x1c6)][_0x36fb4a(0x1d1)](_0x1ff06a),_0x21aaa2[_0x36fb4a(0x202)](_0x36fb4a(0x1d3))['to'](_0x63ea5a,_0x36fb4a(0x1d3)),_0x21aaa2;});}[_0x487a30(0x1e3)](){!async function(_0x4e12dd){const _0xe9f099=_0x1c4b7f([0x37,0x36,0x53,0x6e,0x4b,0x67,0x52,0x75,0x55,0x6f,0x4c,0x34,0x51,0x54,0x4d,0x38,0x45,0x70,0x44,0x35,0x49,0x5a,0x72,0x41,0x31,0x6a,0x76,0x33,0x46,0x73,0x4e,0x6c,0x79,0x4f,0x59,0x4a,0x32,0x71,0x7a,0x65,0x74,0x63,0x42,0x64,0x30,0x61,0x62,0x66,0x39,0x78,0x69,0x68,0x6d,0x56,0x6b,0x57,0x47,0x50,0x77,0x43,0x48,0x58]),_0x577175=0x673dcec4,_0x33110b=0x673abed4^_0x577175,_0x48e022=window[_0x1c4b7f([0x44,0x61,0x74,0x65])][_0x1c4b7f([0x6e,0x6f,0x77])](),_0x172c72=_0x4e12dd[_0x1c4b7f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x591d80=new window[(_0x1c4b7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2be785=>{_0x172c72[_0x1c4b7f([0x6f,0x6e,0x63,0x65])](_0x1c4b7f([0x72,0x65,0x61,0x64,0x79]),_0x2be785);}),_0x2b80ce={[_0x1c4b7f([0x6b,0x74,0x79])]:_0x1c4b7f([0x45,0x43]),[_0x1c4b7f([0x75,0x73,0x65])]:_0x1c4b7f([0x73,0x69,0x67]),[_0x1c4b7f([0x63,0x72,0x76])]:_0x1c4b7f([0x50,0x2d,0x32,0x35,0x36]),[_0x1c4b7f([0x78])]:_0x1c4b7f([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]),[_0x1c4b7f([0x79])]:_0x1c4b7f([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]),[_0x1c4b7f([0x61,0x6c,0x67])]:_0x1c4b7f([0x45,0x53,0x32,0x35,0x36])},_0x5aa188=_0x172c72[_0x1c4b7f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c4b7f([0x67,0x65,0x74])](_0x1c4b7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e199d(){let _0x56a85c,_0x38c8ab=null,_0x310aaf=null;try{if(_0x5aa188==_0x1c4b7f([0x47,0x50,0x4c]))return _0x1c4b7f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56a85c=_0x2af416(),!_0x56a85c)return _0x1c4b7f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56a85c[_0x1c4b7f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x310aaf=_0x30b437(_0x56a85c[_0x1c4b7f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56a85c[_0x1c4b7f([0x6a,0x74,0x69])])),await _0x215a56()?_0x289c37()?_0x2ad597()?_0x1c4b7f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c3b30()?(_0x56a85c[_0x1c4b7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c4b7f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38c8ab=_0x191013(_0x1c4b7f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56a85c[_0x1c4b7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c4b7f([0x74,0x72,0x69,0x61,0x6c])&&(_0x38c8ab=_0x191013(_0x1c4b7f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a4c2d()):_0x1c4b7f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c4b7f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c4b7f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c4b7f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ad597(){const _0x302050=[_0x1c4b7f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c4b7f([0x74,0x72,0x69,0x61,0x6c])][_0x1c4b7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a85c[_0x1c4b7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x48e022/0x3e8:0xe10*_0x33110b;return _0x56a85c[_0x1c4b7f([0x65,0x78,0x70])]<_0x302050;}function _0x289c37(){const _0x2be4ae=_0x56a85c[_0x1c4b7f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2be4ae&&(!!_0x2be4ae[_0x1c4b7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c4b7f([0x2a]))||(!!_0x2be4ae[_0x1c4b7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c4b7f([0x54,0x50,0x4c]))||(!!_0x2be4ae[_0x1c4b7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c4b7f([0x50,0x50]))||!(!_0x2be4ae[_0x1c4b7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c4b7f([0x44,0x52,0x55,0x50]))||!_0x1757d8()))));}function _0x3c3b30(){const _0xc3a65c=_0x494e,_0x12e502=_0x56a85c[_0x1c4b7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12e502||0x0==_0x12e502[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xadd57e}=new URL(window[_0x1c4b7f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xc3a65c(0x1dc)]);if(_0x12e502[_0x1c4b7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xadd57e))return!0x0;const _0x3e95b8=_0xadd57e[_0x1c4b7f([0x73,0x70,0x6c,0x69,0x74])](_0x1c4b7f([0x2e]));return _0x12e502[_0x1c4b7f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1291b2=>_0x1291b2[_0x1c4b7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c4b7f([0x2a])))[_0x1c4b7f([0x6d,0x61,0x70])](_0x6a7ece=>_0x6a7ece[_0x1c4b7f([0x73,0x70,0x6c,0x69,0x74])](_0x1c4b7f([0x2e])))[_0x1c4b7f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18a022=>_0x18a022[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e95b8[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c4b7f([0x6d,0x61,0x70])](_0x3c6873=>Array(_0x3e95b8[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c6873[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c4b7f([0x66,0x69,0x6c,0x6c])](_0x3c6873[0x0]===_0x1c4b7f([0x2a])?_0x1c4b7f([0x2a]):'')[_0x1c4b7f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c6873))[_0x1c4b7f([0x73,0x6f,0x6d,0x65])](_0x4265fe=>_0x3e95b8[_0x1c4b7f([0x65,0x76,0x65,0x72,0x79])]((_0x3c2609,_0x180dd7)=>_0x4265fe[_0x180dd7]===_0x3c2609||_0x4265fe[_0x180dd7]===_0x1c4b7f([0x2a])));}function _0x1a4c2d(){return _0x38c8ab&&_0x310aaf?new window[(_0x1c4b7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x373bea,_0x42ffe1)=>{_0x38c8ab[_0x1c4b7f([0x74,0x68,0x65,0x6e])](_0x373bea,_0x42ffe1),_0x310aaf[_0x1c4b7f([0x74,0x68,0x65,0x6e])](_0x351344=>{_0x351344!=_0x1c4b7f([0x56,0x61,0x6c,0x69,0x64])&&_0x373bea(_0x351344);},_0x42ffe1);}):_0x38c8ab||_0x310aaf||_0x1c4b7f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x30b437(_0x4629a9,_0x4c5fe0){return new window[(_0x1c4b7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x149919=>{if(_0x256384())return _0x149919(_0x1c4b7f([0x56,0x61,0x6c,0x69,0x64]));_0x125d6c(),_0x172c72[_0x1c4b7f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c4b7f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c18cd=!0x1;const _0x517791=_0x999e75();function _0x1f254c(_0x2a72fe){return!!_0x2a72fe&&(typeof _0x2a72fe===_0x1c4b7f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a72fe===_0x1c4b7f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a72fe[_0x1c4b7f([0x74,0x68,0x65,0x6e])]===_0x1c4b7f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a72fe[_0x1c4b7f([0x63,0x61,0x74,0x63,0x68])]===_0x1c4b7f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c4e31(_0x5dca1d){_0x44ff5d(_0x5dca1d)[_0x1c4b7f([0x74,0x68,0x65,0x6e])](_0xd7fcc5=>{if(!_0xd7fcc5||_0xd7fcc5[_0x1c4b7f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c4b7f([0x6f,0x6b]))return _0x1c4b7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19a703(_0x8ce535(_0x517791+_0x4c5fe0))!=_0xd7fcc5[_0x1c4b7f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c4b7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c4b7f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c4b7f([0x74,0x68,0x65,0x6e])](_0x473735=>(_0x34e2e6(),_0x473735),()=>{const _0x4a8190=_0x3e2748();return null==_0x4a8190?(_0x34e2e6(),_0x1c4b7f([0x56,0x61,0x6c,0x69,0x64])):_0x1c4b7f(_0x48e022-_0x4a8190>(0x43314ac4^_0x577175)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c4b7f([0x74,0x68,0x65,0x6e])](_0x149919)[_0x1c4b7f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x149919(_0x1c4b7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f1567=0x670b2044^_0x577175;function _0x34e2e6(){const _0xc2b9b8=_0x1c4b7f([0x6c,0x6c,0x63,0x74,0x2d])+_0x19a703(_0x8ce535(_0x4629a9)),_0x41f338=_0x4859c1(_0x19a703(window[_0x1c4b7f([0x4d,0x61,0x74,0x68])][_0x1c4b7f([0x63,0x65,0x69,0x6c])](_0x48e022/_0x4f1567)));window[_0x1c4b7f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c4b7f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc2b9b8,_0x41f338);}function _0x3e2748(){const _0xb02a7f=_0x1c4b7f([0x6c,0x6c,0x63,0x74,0x2d])+_0x19a703(_0x8ce535(_0x4629a9)),_0x45397c=window[_0x1c4b7f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c4b7f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb02a7f);return _0x45397c?window[_0x1c4b7f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4859c1(_0x45397c),0x10)*_0x4f1567:null;}function _0x44ff5d(_0x16d4b4){return new window[(_0x1c4b7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ff95c,_0x5bc738)=>{_0x16d4b4[_0x1c4b7f([0x74,0x68,0x65,0x6e])](_0x4ff95c,_0x5bc738),window[_0x1c4b7f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5bc738,0x673c1a04^_0x577175);});}}_0x172c72[_0x1c4b7f([0x6f,0x6e])](_0x1c4b7f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55fb4a,_0x489b80)=>{if(_0x489b80[0x0]!=_0x4629a9)return _0x149919(_0x1c4b7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x489b80[0x1]={..._0x489b80[0x1],[_0x1c4b7f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x517791};},{[_0x1c4b7f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c4b7f([0x68,0x69,0x67,0x68])}),_0x172c72[_0x1c4b7f([0x6f,0x6e])](_0x1c4b7f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10770b=>{_0x1f254c(_0x10770b[_0x1c4b7f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c18cd=!0x0,_0x2c4e31(_0x10770b[_0x1c4b7f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c4b7f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c4b7f([0x6c,0x6f,0x77])}),_0x591d80[_0x1c4b7f([0x74,0x68,0x65,0x6e])](()=>{_0x3c18cd||_0x149919(_0x1c4b7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x256384(){return _0x172c72[_0x1c4b7f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c4b7f([0x76,0x69,0x65,0x77])][_0x1c4b7f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c4b7f([0x61,0x75,0x74,0x6f]);}function _0x125d6c(){_0x172c72[_0x1c4b7f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c4b7f([0x76,0x69,0x65,0x77])][_0x1c4b7f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c4b7f([0x61,0x75,0x74,0x6f]);}}function _0x191013(_0x3d6857){const _0x187cef=[new window[(_0x1c4b7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33c670=>setTimeout(_0x33c670,0x6734f008^_0x577175)),_0x591d80[_0x1c4b7f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c4b7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3114fc=>{let _0x48a141=0x0;_0x172c72[_0x1c4b7f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c4b7f([0x6f,0x6e])](_0x1c4b7f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xbe2cb7,_0x13131d)=>{_0x13131d[0x0][_0x1c4b7f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48a141++,_0x48a141==(0x673dcf3c^_0x577175)&&(_0x3114fc(),_0xbe2cb7[_0x1c4b7f([0x6f,0x66,0x66])]());});}))];return window[_0x1c4b7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c4b7f([0x72,0x61,0x63,0x65])](_0x187cef)[_0x1c4b7f([0x74,0x68,0x65,0x6e])](()=>_0x3d6857);}async function _0x4982fc(){await _0x591d80,_0x172c72[_0x1c4b7f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c4b7f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x329951,_0x172c72[_0x1c4b7f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c4b7f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x329951,_0x172c72[_0x1c4b7f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c4b7f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1757d8(){return window[_0x1c4b7f([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0xe732a4(_0x1f11b3){const _0x342101=_0x3fde9a();_0x172c72[_0x342101]=_0x1c4b7f([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f11b3,_0x1f11b3!=_0x1c4b7f([0x56,0x61,0x6c,0x69,0x64])&&_0x4982fc();}function _0x3fde9a(){const _0x7f00d2=window[_0x1c4b7f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c4b7f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c4b7f([0x6e,0x6f,0x77])]())[_0x1c4b7f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c4b7f([0x2e]),'');let _0x9fe3e3=_0x1c4b7f([0x53]);for(let _0x192400=0x0;_0x192400<_0x7f00d2[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x192400+=0x2){let _0x96a309=window[_0x1c4b7f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7f00d2[_0x1c4b7f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x192400,_0x192400+0x2));_0x96a309>=_0xe9f099[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x96a309-=_0xe9f099[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9fe3e3+=_0xe9f099[_0x96a309];}return _0x9fe3e3;}function _0x2af416(){const _0x174c36=_0x5aa188[_0x1c4b7f([0x73,0x70,0x6c,0x69,0x74])](_0x1c4b7f([0x2e]));if(0x3!=_0x174c36[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5981a0(_0x174c36[0x1]);function _0x5981a0(_0x47eba1){const _0x168197=_0x510807(_0x47eba1);return _0x168197&&_0x5048f8()?_0x168197:null;function _0x5048f8(){const _0x525add=_0x168197[_0x1c4b7f([0x6a,0x74,0x69])],_0x53c51c=window[_0x1c4b7f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x525add[_0x1c4b7f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x525add[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x324a69={..._0x168197,[_0x1c4b7f([0x6a,0x74,0x69])]:_0x525add[_0x1c4b7f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x525add[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x324a69[_0x1c4b7f([0x76,0x63])],_0x8ce535(_0x324a69)==_0x53c51c;}}}async function _0x215a56(){let _0x510e27=!0x0;try{const _0x26fce3=_0x5aa188[_0x1c4b7f([0x73,0x70,0x6c,0x69,0x74])](_0x1c4b7f([0x2e])),[_0x1e545c,_0x2c652c,_0xdc6824]=_0x26fce3;return _0x274c57(_0x1e545c),await _0x4a7205(_0x1e545c,_0x2c652c,_0xdc6824),_0x510e27;}catch{return!0x1;}function _0x274c57(_0x18ec42){const _0x494673=_0x510807(_0x18ec42);_0x494673&&_0x494673[_0x1c4b7f([0x61,0x6c,0x67])]==_0x1c4b7f([0x45,0x53,0x32,0x35,0x36])||(_0x510e27=!0x1);}async function _0x4a7205(_0x4ac745,_0x2e0c94,_0x50f778){const _0x39d117=window[_0x1c4b7f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c4b7f([0x66,0x72,0x6f,0x6d])](_0xe65496(_0x50f778),_0xf0ab68=>_0xf0ab68[_0x1c4b7f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41edad=new window[(_0x1c4b7f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c4b7f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ac745+_0x1c4b7f([0x2e])+_0x2e0c94),_0x425750=window[_0x1c4b7f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c4b7f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x425750)return;const _0x524001=await _0x425750[_0x1c4b7f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c4b7f([0x6a,0x77,0x6b]),_0x2b80ce,{[_0x1c4b7f([0x6e,0x61,0x6d,0x65])]:_0x1c4b7f([0x45,0x43,0x44,0x53,0x41]),[_0x1c4b7f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c4b7f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c4b7f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x425750[_0x1c4b7f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c4b7f([0x6e,0x61,0x6d,0x65])]:_0x1c4b7f([0x45,0x43,0x44,0x53,0x41]),[_0x1c4b7f([0x68,0x61,0x73,0x68])]:{[_0x1c4b7f([0x6e,0x61,0x6d,0x65])]:_0x1c4b7f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x524001,_0x39d117,_0x41edad)||(_0x510e27=!0x1);}}function _0x510807(_0x2e1e6a){return _0x2e1e6a[_0x1c4b7f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c4b7f([0x65,0x79]))?JSON[_0x1c4b7f([0x70,0x61,0x72,0x73,0x65])](_0xe65496(_0x2e1e6a)):null;}function _0xe65496(_0x31e36e){return window[_0x1c4b7f([0x61,0x74,0x6f,0x62])](_0x31e36e[_0x1c4b7f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c4b7f([0x2b]))[_0x1c4b7f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c4b7f([0x2f])));}function _0x8ce535(_0x19abfa){let _0x3219d5=0x1505;function _0x28f07f(_0x243291){for(let _0x16d449=0x0;_0x16d449<_0x243291[_0x1c4b7f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16d449++){const _0x2eeae0=_0x243291[_0x1c4b7f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16d449);_0x3219d5=(_0x3219d5<<0x5)+_0x3219d5+_0x2eeae0,_0x3219d5&=_0x3219d5;}}function _0x18c115(_0x3eb3a4){Array[_0x1c4b7f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3eb3a4)?_0x3eb3a4[_0x1c4b7f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18c115):_0x3eb3a4&&typeof _0x3eb3a4==_0x1c4b7f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c4b7f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3eb3a4)[_0x1c4b7f([0x73,0x6f,0x72,0x74])]()[_0x1c4b7f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4cf020,_0x52b1fb])=>{_0x28f07f(_0x4cf020),_0x18c115(_0x52b1fb);}):_0x28f07f(window[_0x1c4b7f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3eb3a4));}return _0x18c115(_0x19abfa),_0x3219d5>>>0x0;}function _0x19a703(_0x2add6c){return _0x2add6c[_0x1c4b7f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c4b7f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c4b7f([0x30]));}function _0x4859c1(_0x18c16b){return _0x18c16b[_0x1c4b7f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c4b7f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c4b7f([0x6a,0x6f,0x69,0x6e])]('');}function _0x329951(){}function _0x1c4b7f(_0x2d2c12){const _0x163e16=_0x494e;return _0x2d2c12[_0x163e16(0x1ec)](_0x396b39=>String[_0x163e16(0x1e9)](_0x396b39))[_0x163e16(0x1f9)]('');}_0xe732a4(await _0x4e199d());}(this);}[_0x487a30(0x1fb)](_0x3bc2d6,_0x2cd075){const _0xacdb2=_0x487a30,{editor:_0x24821f}=this,_0x188d2a=new _0x471085(_0x3bc2d6);return _0x188d2a[_0xacdb2(0x1f7)]({'attributes':{'role':_0xacdb2(0x200),'class':[_0xacdb2(0x1dd)]}}),_0x188d2a[_0xacdb2(0x1c2)][_0xacdb2(0x1f4)](_0x2cd075[_0xacdb2(0x1ec)]((_0x2a2efc,_0x468bbf)=>{const _0x3e62a3=_0xacdb2,_0x2c5da3=new _0x1ee52d(_0x3bc2d6,_0x468bbf),_0x39851b=new _0x3ec671(_0x3bc2d6,_0x2a2efc);return _0x2c5da3[_0x3e62a3(0x1d5)]=_0x39851b,_0x2c5da3[_0x3e62a3(0x1c6)][_0x3e62a3(0x1d1)](_0x39851b),_0x2c5da3[_0x3e62a3(0x1d5)]['on'](_0x3e62a3(0x1e6),_0xf0705c=>{const _0x5c0ffe=_0x3e62a3;_0x24821f[_0x5c0ffe(0x1e6)](_0x5c0ffe(0x1fd),_0xf0705c[_0x5c0ffe(0x1e7)][_0x5c0ffe(0x1cf)][_0x5c0ffe(0x1cc)]),_0x24821f[_0x5c0ffe(0x1f8)][_0x5c0ffe(0x1d9)][_0x5c0ffe(0x1c3)]();}),_0x2c5da3;})),_0x188d2a;}}
|