@ckeditor/ckeditor5-template 46.0.1-alpha.0 → 46.0.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/template.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/templateui.js +1 -1
package/build/template.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-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),m={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(m);else{var d=i(m,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:d,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:()=>Z,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>z});var t=n(782);const e=i;function i(t,e){const n=a();return(i=function(t,e){return n[t-=440]})(t,e)}!function(t){const e=i,n=t();for(;;)try{if(968452===-parseInt(e(456))/1+-parseInt(e(449))/2+parseInt(e(451))/3*(-parseInt(e(453))/4)+-parseInt(e(459))/5+-parseInt(e(448))/6*(-parseInt(e(447))/7)+parseInt(e(457))/8*(-parseInt(e(442))/9)+parseInt(e(441))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class s extends t.Command{[e(446)](t){const n=e,{model:r}=this[n(443)];let i;switch(typeof t){case n(440):i=t;break;case n(444):i=t()}n(440)==typeof i&&r[n(458)](()=>{const t=n,e=this[t(443)][t(454)][t(450)][t(445)](i),s=this[t(443)][t(454)][t(452)](e);r[t(455)](s)})}}function a(){const t=["execute","399vTftaF","42258fihmMm","474862hTRIAj","htmlProcessor","2019UaZGaW","toModel","1072MTxIVM","data","insertContent","1917109QMiVWz","5110072dWZOQn","change","3611025ZqMdDo","string","42628690bLlRLL","9JxiVYK","editor","function","toView"];return(a=function(){return t})()}const c=l;function o(){const t=["commands","TemplateEditing","templateLicenseKeyUsageLimit","5125662wwxSdw","10sBbGLh","templateLicenseKeyExpired","featureNotAllowed","5348512ZcEMBa","licenseKey","isPremiumPlugin","domainLimit","527913zareIL","11273UNUnRX","config","60gmvWqA","_showLicenseError","get","trialLimit","usageLimit","editor","pluginName","expired","641234gQEnDu","1775136faOnAs","evaluationLimit","init","insertTemplate","templateLicenseKeyEvaluationLimit","templateLicenseKeyDomainLimit","templateLicenseKeyTrialLimit","1556636aCmTVB","_licenseKeyCheckInterval","10yoNupV","isOfficialPlugin","Template","add","templateLicenseKeyValid","invalid","7xnnsHi","132ZSbmBI","templateLicenseKeyNotAllowed","templateLicenseKeyInvalid","destroy"];return(o=function(){return t})()}function l(t,e){const n=o();return(l=function(t,e){return n[t-=484]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(546702===-parseInt(e(506))/1*(-parseInt(e(490))/2)+-parseInt(e(517))/3+-parseInt(e(524))/4*(parseInt(e(498))/5)+-parseInt(e(497))/6*(-parseInt(e(489))/7)+parseInt(e(501))/8+-parseInt(e(505))/9*(parseInt(e(526))/10)+parseInt(e(516))/11*(-parseInt(e(508))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class u extends t.Plugin{[c(502)];[c(525)];static get[c(514)](){return c(495)}static get[c(484)](){return!0}static get[c(503)](){return!0}[c(519)](){const t=c,{editor:e}=this;e[t(494)][t(486)](t(520),new s(e)),this[t(502)]=this[t(513)][t(507)][t(510)](t(502));const n=this[t(513)];this[t(525)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(487)==s||e(492)==s||e(499)==s||e(522)==s||e(491)==s||e(521)==s||e(523)==s||e(496)==s){delete n[i],r=s,clearInterval(this[e(525)]),this[e(525)]=void 0;break}}e(492)==r&&n[e(509)](e(488)),e(499)==r&&n[e(509)](e(515)),e(522)==r&&n[e(509)](e(504)),e(491)==r&&n[e(509)](e(500),e(485)),e(521)==r&&n[e(509)](e(518)),e(523)==r&&n[e(509)](e(511)),e(496)==r&&n[e(509)](e(512))},1e3)}[c(493)](){const t=c;super[t(493)](),this[t(525)]&&clearInterval(this[t(525)])}}var p=n(355),f=n(311),m=n(584);const d=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=146]})(t,e)}function k(){const t=["isVisible","map","addMany","593278hJhibD","filter","sort","buttonView","items","isMatching","highlightText","title","665685KlfwFM","get","length","7NsqsHA","_resetFiltering","4077985xxoTnP","2360WCjuHK","set","originalIndex","size","1200576vJFNXP","1271724ZGTwbQ","forEach","4WAPzEN","45297itqQOw","clear","2061798aGJMbp"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(459159===-parseInt(e(153))/1+-parseInt(e(173))/2+parseInt(e(169))/3+parseInt(e(166))/4*(-parseInt(e(158))/5)+parseInt(e(164))/6+parseInt(e(156))/7*(parseInt(e(163))/8)+parseInt(e(167))/9*(parseInt(e(159))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[d(146)](t){const e=d;if(!t)return this[e(157)]();const n=new Map,r=this[e(149)][e(171)](r=>{const i=e,s=r[i(148)][i(150)](t);return r[i(170)]=!!s,r[i(148)][i(151)](s?t:null),s&&n[i(160)](r,s),r})[e(147)](g)[e(147)]((i=n,function(t,e){const n=h,r=i[n(154)](t),s=i[n(154)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(152)]&&!s[n(152)]?-1:!r[n(152)]&&s[n(152)]?1:0:0}));var i;return this[e(149)][e(168)](),this[e(149)][e(172)](r),{resultsCount:n[e(162)],totalItemsCount:this[e(149)][e(155)]}}[d(157)](){const t=d,e=this[t(149)][t(171)](t=>t)[t(147)](g);return e[t(165)](e=>{const n=t;e[n(170)]=!0,e[n(148)][n(151)](null)}),this[t(149)][t(168)](),this[t(149)][t(172)](e),{resultsCount:e[t(155)],totalItemsCount:e[t(155)]}}}function g(t,e){const n=d;return t[n(161)]-e[n(161)]}var v=I;function I(t,e){var n=b();return(I=function(t,e){return n[t-=160]})(t,e)}function b(){var t=["140HXLtSl","27Gbhing","1213509yVrKkv","7uCowGs","1159737oIZCSZ","132726EqMiNB","buttonView","4083280gKDkkO","44468rOtmHN","907230VuEKRm","originalIndex","2407vTNuFV","16LsbDzm"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(270392===parseInt(e(166))/1*(parseInt(e(167))/2)+-parseInt(e(172))/3+-parseInt(e(163))/4*(-parseInt(e(168))/5)+parseInt(e(160))/6*(-parseInt(e(171))/7)+parseInt(e(162))/8+-parseInt(e(169))/9*(parseInt(e(164))/10)+parseInt(e(170))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(165)];[v(161)];constructor(t,e){var n=v;super(t),this[n(165)]=e,this[n(161)]=null}}const x=T;function _(){const t=["370ORLSFd","titleView","element","4wmmEes","render","children","1051980ufGZxe","title","add","extendTemplate","push","ck-template-button","div","isColorInherited","match","248247sLnemK","labelView","ck-template-form__description","textPartView","remove","isMatching","322184SMMnRe","descriptionView","set","text","destroy","ck-button__label","locale","setTemplate","122676bSWKpO","1632345fqqZWg","option","1783512fchxaX","ck-template-form__text-part","description","iconView","49AVAwlx","3335845bcKxdO","span","highlightText","templateDefinition"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=123]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(335997===parseInt(e(132))/1*(-parseInt(e(158))/2)+parseInt(e(159))/3+parseInt(e(135))/4+-parseInt(e(125))/5+-parseInt(e(161))/6+parseInt(e(124))/7*(-parseInt(e(150))/8)+parseInt(e(144))/9*(parseInt(e(129))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(128)];[x(147)];constructor(t,e){const n=x;super(t),this[n(128)]=e,this[n(147)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(152)]({withText:!0,class:n(140),role:n(160),icon:r}),this[n(123)][n(142)]=!1}[x(133)](){const t=x;super[t(133)](),this[t(147)]=new V(this[t(156)],this[t(128)],this[t(145)][t(131)].id),this[t(134)][t(148)](this[t(145)]),this[t(134)][t(137)](this[t(147)])}[x(154)](){const t=x;super[t(154)](),this[t(145)][t(154)]()}[x(149)](t){const e=x,{title:n,description:r}=this[e(128)],i=!!n[e(143)](t),s=!(!r||!r[e(143)](t));return i||s?{title:i,description:s}:null}[x(127)](t){const e=x;this[e(147)][e(127)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(136)]=e[r(136)],this[r(163)]=e[r(163)],this[r(130)]=new f.HighlightedTextView,this[r(130)][r(153)]=this[r(136)],this[r(130)][r(138)]({tag:r(126),attributes:{class:[r(155)],id:n}});const i=[this[r(130)]];this[r(163)]&&(this[r(151)]=new f.HighlightedTextView,this[r(151)][r(153)]=this[r(163)],this[r(151)][r(138)]({tag:"p",attributes:{class:[r(146)]}}),i[r(139)](this[r(151)])),this[r(157)]({tag:r(141),attributes:{class:["ck",r(162)]},children:i})}[x(127)](t){const e=x;this[e(130)][e(127)](t),this[e(163)]&&this[e(151)][e(127)](t)}}function M(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var S=n(673),N=n.n(S),A=n(545),C=n.n(A),P=n(262),E=n.n(P),K=n(667),O=n.n(K),B=n(357),j=n.n(B),R=n(175),U={attributes:{"data-cke":!0}};U.setAttributes=O(),U.insert=E().bind(null,"head"),U.domAPI=C(),U.insertStyleElement=j();N()(R.A,U);R.A&&R.A.locals&&R.A.locals;const D=F;function F(t,e){const n=q();return(F=function(t,e){return n[t-=258]})(t,e)}function q(){const t=["isEnabled","1797655sRfUZt","ck-template-form","2427056hweRXx","config","%0 templates found","_createTemplateListView","panelView","4477544oYKZcF","source","ck-template-button","96NiolwV","insertTemplate","Please try a different phrase or check the spelling.","template.definitions","pluginName","focus","5230WumDFb","view","get","157399KdWQUL","listbox","editing","templateDefinition",'No templates were found matching "%0".',"resultsCount","afterInit","add","3613850JoPewS","change:isOpen","children","ariaLiveAnnouncer","init","Search template","Insert template","set","Template","announce","No templates available.","bind","length","href","buttonView","fromCharCode","data","isPremiumPlugin","ck-template-list","items","componentFactory","12yFoxHs","menuBar:insertTemplate","title","query","map","icon","join","execute","9vTDLbc","delegate","TemplateUI","39FtxJDX","search","isOfficialPlugin","addMany","601922ckHLyd","extendTemplate","reset","7rCSikK","commands"];return(q=function(){return t})()}!function(t){const e=F,n=t();for(;;)try{if(579921===-parseInt(e(325))/1+-parseInt(e(278))/2*(-parseInt(e(321))/3)+-parseInt(e(264))/4+-parseInt(e(262))/5*(-parseInt(e(310))/6)+-parseInt(e(259))/7*(-parseInt(e(269))/8)+-parseInt(e(318))/9*(-parseInt(e(289))/10)+-parseInt(e(281))/11*(-parseInt(e(272))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class z extends t.Plugin{static get[D(276)](){return D(320)}static get[D(323)](){return!0}static get[D(306)](){return!0}[D(293)](){const t=D,{editor:e}=this,n=e[t(265)][t(280)](t(275))||[];e.ui[t(309)][t(288)](t(273),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(267)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:M(r,i(294))},class:i(263),infoView:{text:{notFound:{primary:t=>M(r,i(285),t),secondary:M(r,i(274))},noSearchableItems:{primary:M(r,i(299))}}}}),o=e[i(260)][i(280)](i(273));return c.on(i(322),(t,n)=>{const s=i;n[s(313)]&&n[s(313)][s(301)]&&e.ui[s(292)][s(298)](M(r,s(266),n[s(286)]))}),s[i(300)](i(261)).to(o),s[i(268)][i(291)][i(288)](c),s[i(303)][i(296)]({label:M(r,i(295)),icon:p.IconTemplate,tooltip:!0}),s.on(i(290),(t,e,n)=>{n||c[i(258)]()}),s}),e.ui[t(309)][t(288)](t(311),r=>{const i=t,s=e[i(260)][i(280)](i(273)),a=new f.MenuBarMenuView(r);a[i(303)][i(296)]({label:M(r,i(297)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(301)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(296)]({label:M(r,i(299))}),n[i(319)](i(317)).to(a),n.on(i(317),()=>{const t=i;e[t(283)][t(279)][t(277)]()}),t[i(291)][i(288)](n),c[i(308)][i(288)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(296)]({class:i(271),label:t[i(312)],icon:t[i(315)]||p.IconTemplateGeneric}),s[i(319)](i(317)).to(a),s.on(i(317),()=>{const n=i;e[n(317)](n(273),t[n(305)]),e[n(283)][n(279)][n(277)]()}),n[i(291)][i(288)](s),c[i(308)][i(288)](n)}return a[i(268)][i(291)][i(288)](c),a[i(300)](i(261)).to(s,i(261)),a})}[D(287)](){!async function(t){const e=h([111,69,119,70,54,110,75,82,67,72,84,107,116,102,50,104,106,89,85,100,121,77,65,88,55,118,109,115,103,51,87,74,98,112,99,56,122,81,52,120,76,105,80,68,57,117,53,49,66,71,73,97,48,86,101,79,78,90,114,113,83,108]),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 d(){}function h(t){const e=F;return t[e(314)](t=>String[e(304)](t))[e(316)]("")}!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([111]);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])]=d,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,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,d=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])]&&(d=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,m.uid)();function d(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=>{d(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:1753833600;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=F,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(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&&d?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),d[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||d||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(267)](t,e){const n=D,{editor:r}=this,i=new w(t);return i[n(326)]({attributes:{role:n(282),class:[n(307)]}}),i[n(308)][n(324)](e[n(314)]((e,i)=>{const s=n,a=new y(t,i),c=new L(t,e);return a[s(303)]=c,a[s(291)][s(288)](c),a[s(303)].on(s(317),t=>{const e=s;r[e(317)](e(273),t[e(270)][e(284)][e(305)]),r[e(283)][e(279)][e(277)]()}),a})),i}}function H(t,e){var n=G();return(H=function(t,e){return n[t-=443]})(t,e)}var W=H;function G(){var t=["24UGvAUp","isPremiumPlugin","Template","8296519ohqiuX","3827502TufPtp","340LUefJU","isOfficialPlugin","pluginName","375417ceTRss","905768ceRMVn","15663BsrgTt","requires","2721230fJhyUy","411657tPEfnt"];return(G=function(){return t})()}!function(t){for(var e=H,n=t();;)try{if(983271===-parseInt(e(452))/1+-parseInt(e(448))/2+-parseInt(e(449))/3*(-parseInt(e(444))/4)+-parseInt(e(451))/5+parseInt(e(443))/6+parseInt(e(456))/7+parseInt(e(453))/8*(parseInt(e(447))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class Z extends t.Plugin{static get[W(450)](){return[u,z]}static get[W(446)](){return W(455)}static get[W(445)](){return!0}static get[W(454)](){return!0}}function X(t,e){var n=J();return(X=function(t,e){return n[t-=277]})(t,e)}function J(){var t=["984234lxhIUK","2210XBEXyU","6RFMHWQ","7QatmdA","22lxlvmB","224568ioTVWJ","13885WViIgc","2079720HyGCMk","242928SOXdlI","8305qmGEXw","3428667bAemvo"];return(J=function(){return t})()}!function(t){for(var e=X,n=t();;)try{if(236571===parseInt(e(286))/1*(-parseInt(e(284))/2)+-parseInt(e(282))/3*(-parseInt(e(277))/4)+-parseInt(e(287))/5+parseInt(e(280))/6*(parseInt(e(283))/7)+-parseInt(e(285))/8+parseInt(e(279))/9+-parseInt(e(281))/10*(-parseInt(e(278))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(168),i=n.n(r),s=n(433),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),m={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(m);else{var d=i(m,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:d,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:()=>X,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>D});var t=n(782);const e=i;function i(t,e){const n=a();return(i=function(t,e){return n[t-=440]})(t,e)}!function(t){const e=i,n=t();for(;;)try{if(968452===-parseInt(e(456))/1+-parseInt(e(449))/2+parseInt(e(451))/3*(-parseInt(e(453))/4)+-parseInt(e(459))/5+-parseInt(e(448))/6*(-parseInt(e(447))/7)+parseInt(e(457))/8*(-parseInt(e(442))/9)+parseInt(e(441))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class s extends t.Command{[e(446)](t){const n=e,{model:r}=this[n(443)];let i;switch(typeof t){case n(440):i=t;break;case n(444):i=t()}n(440)==typeof i&&r[n(458)](()=>{const t=n,e=this[t(443)][t(454)][t(450)][t(445)](i),s=this[t(443)][t(454)][t(452)](e);r[t(455)](s)})}}function a(){const t=["execute","399vTftaF","42258fihmMm","474862hTRIAj","htmlProcessor","2019UaZGaW","toModel","1072MTxIVM","data","insertContent","1917109QMiVWz","5110072dWZOQn","change","3611025ZqMdDo","string","42628690bLlRLL","9JxiVYK","editor","function","toView"];return(a=function(){return t})()}const c=l;function o(){const t=["commands","TemplateEditing","templateLicenseKeyUsageLimit","5125662wwxSdw","10sBbGLh","templateLicenseKeyExpired","featureNotAllowed","5348512ZcEMBa","licenseKey","isPremiumPlugin","domainLimit","527913zareIL","11273UNUnRX","config","60gmvWqA","_showLicenseError","get","trialLimit","usageLimit","editor","pluginName","expired","641234gQEnDu","1775136faOnAs","evaluationLimit","init","insertTemplate","templateLicenseKeyEvaluationLimit","templateLicenseKeyDomainLimit","templateLicenseKeyTrialLimit","1556636aCmTVB","_licenseKeyCheckInterval","10yoNupV","isOfficialPlugin","Template","add","templateLicenseKeyValid","invalid","7xnnsHi","132ZSbmBI","templateLicenseKeyNotAllowed","templateLicenseKeyInvalid","destroy"];return(o=function(){return t})()}function l(t,e){const n=o();return(l=function(t,e){return n[t-=484]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(546702===-parseInt(e(506))/1*(-parseInt(e(490))/2)+-parseInt(e(517))/3+-parseInt(e(524))/4*(parseInt(e(498))/5)+-parseInt(e(497))/6*(-parseInt(e(489))/7)+parseInt(e(501))/8+-parseInt(e(505))/9*(parseInt(e(526))/10)+parseInt(e(516))/11*(-parseInt(e(508))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class u extends t.Plugin{[c(502)];[c(525)];static get[c(514)](){return c(495)}static get[c(484)](){return!0}static get[c(503)](){return!0}[c(519)](){const t=c,{editor:e}=this;e[t(494)][t(486)](t(520),new s(e)),this[t(502)]=this[t(513)][t(507)][t(510)](t(502));const n=this[t(513)];this[t(525)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(487)==s||e(492)==s||e(499)==s||e(522)==s||e(491)==s||e(521)==s||e(523)==s||e(496)==s){delete n[i],r=s,clearInterval(this[e(525)]),this[e(525)]=void 0;break}}e(492)==r&&n[e(509)](e(488)),e(499)==r&&n[e(509)](e(515)),e(522)==r&&n[e(509)](e(504)),e(491)==r&&n[e(509)](e(500),e(485)),e(521)==r&&n[e(509)](e(518)),e(523)==r&&n[e(509)](e(511)),e(496)==r&&n[e(509)](e(512))},1e3)}[c(493)](){const t=c;super[t(493)](),this[t(525)]&&clearInterval(this[t(525)])}}var p=n(355),f=n(311),m=n(584);const d=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=146]})(t,e)}function k(){const t=["isVisible","map","addMany","593278hJhibD","filter","sort","buttonView","items","isMatching","highlightText","title","665685KlfwFM","get","length","7NsqsHA","_resetFiltering","4077985xxoTnP","2360WCjuHK","set","originalIndex","size","1200576vJFNXP","1271724ZGTwbQ","forEach","4WAPzEN","45297itqQOw","clear","2061798aGJMbp"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(459159===-parseInt(e(153))/1+-parseInt(e(173))/2+parseInt(e(169))/3+parseInt(e(166))/4*(-parseInt(e(158))/5)+parseInt(e(164))/6+parseInt(e(156))/7*(parseInt(e(163))/8)+parseInt(e(167))/9*(parseInt(e(159))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[d(146)](t){const e=d;if(!t)return this[e(157)]();const n=new Map,r=this[e(149)][e(171)](r=>{const i=e,s=r[i(148)][i(150)](t);return r[i(170)]=!!s,r[i(148)][i(151)](s?t:null),s&&n[i(160)](r,s),r})[e(147)](g)[e(147)]((i=n,function(t,e){const n=h,r=i[n(154)](t),s=i[n(154)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(152)]&&!s[n(152)]?-1:!r[n(152)]&&s[n(152)]?1:0:0}));var i;return this[e(149)][e(168)](),this[e(149)][e(172)](r),{resultsCount:n[e(162)],totalItemsCount:this[e(149)][e(155)]}}[d(157)](){const t=d,e=this[t(149)][t(171)](t=>t)[t(147)](g);return e[t(165)](e=>{const n=t;e[n(170)]=!0,e[n(148)][n(151)](null)}),this[t(149)][t(168)](),this[t(149)][t(172)](e),{resultsCount:e[t(155)],totalItemsCount:e[t(155)]}}}function g(t,e){const n=d;return t[n(161)]-e[n(161)]}var v=I;function I(t,e){var n=b();return(I=function(t,e){return n[t-=160]})(t,e)}function b(){var t=["140HXLtSl","27Gbhing","1213509yVrKkv","7uCowGs","1159737oIZCSZ","132726EqMiNB","buttonView","4083280gKDkkO","44468rOtmHN","907230VuEKRm","originalIndex","2407vTNuFV","16LsbDzm"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(270392===parseInt(e(166))/1*(parseInt(e(167))/2)+-parseInt(e(172))/3+-parseInt(e(163))/4*(-parseInt(e(168))/5)+parseInt(e(160))/6*(-parseInt(e(171))/7)+parseInt(e(162))/8+-parseInt(e(169))/9*(parseInt(e(164))/10)+parseInt(e(170))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(165)];[v(161)];constructor(t,e){var n=v;super(t),this[n(165)]=e,this[n(161)]=null}}const x=T;function _(){const t=["370ORLSFd","titleView","element","4wmmEes","render","children","1051980ufGZxe","title","add","extendTemplate","push","ck-template-button","div","isColorInherited","match","248247sLnemK","labelView","ck-template-form__description","textPartView","remove","isMatching","322184SMMnRe","descriptionView","set","text","destroy","ck-button__label","locale","setTemplate","122676bSWKpO","1632345fqqZWg","option","1783512fchxaX","ck-template-form__text-part","description","iconView","49AVAwlx","3335845bcKxdO","span","highlightText","templateDefinition"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=123]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(335997===parseInt(e(132))/1*(-parseInt(e(158))/2)+parseInt(e(159))/3+parseInt(e(135))/4+-parseInt(e(125))/5+-parseInt(e(161))/6+parseInt(e(124))/7*(-parseInt(e(150))/8)+parseInt(e(144))/9*(parseInt(e(129))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(128)];[x(147)];constructor(t,e){const n=x;super(t),this[n(128)]=e,this[n(147)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(152)]({withText:!0,class:n(140),role:n(160),icon:r}),this[n(123)][n(142)]=!1}[x(133)](){const t=x;super[t(133)](),this[t(147)]=new M(this[t(156)],this[t(128)],this[t(145)][t(131)].id),this[t(134)][t(148)](this[t(145)]),this[t(134)][t(137)](this[t(147)])}[x(154)](){const t=x;super[t(154)](),this[t(145)][t(154)]()}[x(149)](t){const e=x,{title:n,description:r}=this[e(128)],i=!!n[e(143)](t),s=!(!r||!r[e(143)](t));return i||s?{title:i,description:s}:null}[x(127)](t){const e=x;this[e(147)][e(127)](t)}}class M extends f.View{constructor(t,e,n){const r=x;super(t),this[r(136)]=e[r(136)],this[r(163)]=e[r(163)],this[r(130)]=new f.HighlightedTextView,this[r(130)][r(153)]=this[r(136)],this[r(130)][r(138)]({tag:r(126),attributes:{class:[r(155)],id:n}});const i=[this[r(130)]];this[r(163)]&&(this[r(151)]=new f.HighlightedTextView,this[r(151)][r(153)]=this[r(163)],this[r(151)][r(138)]({tag:"p",attributes:{class:[r(146)]}}),i[r(139)](this[r(151)])),this[r(157)]({tag:r(141),attributes:{class:["ck",r(162)]},children:i})}[x(127)](t){const e=x;this[e(130)][e(127)](t),this[e(163)]&&this[e(151)][e(127)](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 S=n(673),C=n.n(S),E=n(545),N=n.n(E),A=n(262),P=n.n(A),O=n(667),K=n.n(O),B=n(357),j=n.n(B),q=n(175),R={attributes:{"data-cke":!0}};R.setAttributes=K(),R.insert=P().bind(null,"head"),R.domAPI=N(),R.insertStyleElement=j();C()(q.A,R);q.A&&q.A.locals&&q.A.locals;const U=z;function z(t,e){const n=G();return(z=function(t,e){return n[t-=353]})(t,e)}function G(){const t=["TemplateUI","7227500CRkUct","set","focus","ariaLiveAnnouncer","add","extendTemplate","commands","isOfficialPlugin","Please try a different phrase or check the spelling.","isEnabled","execute","123405nqtEoj","source","1433763STFpxm","init","8lXbGcO","bind","icon","fromCharCode","_createTemplateListView","menuBar:insertTemplate","695388qMLqCu","%0 templates found","767375XJRsBI","pluginName","delegate","440454JbBWhe","ck-template-form","join","Insert template","template.definitions","children","208ayXhqv","5235HxkwcP","ck-template-button","editing","templateDefinition","addMany","afterInit","ck-template-list",'No templates were found matching "%0".',"query","announce","Template","reset","get","18aQJEeC","buttonView","view","Search template","href","config","title","map","items","length","listbox","change:isOpen","panelView","data","No templates available.","search","insertTemplate","componentFactory","resultsCount","isPremiumPlugin"];return(G=function(){return t})()}!function(t){const e=z,n=t();for(;;)try{if(120002===-parseInt(e(399))/1+-parseInt(e(353))/2*(parseInt(e(354))/3)+-parseInt(e(409))/4+-parseInt(e(411))/5+-parseInt(e(367))/6*(-parseInt(e(414))/7)+-parseInt(e(403))/8*(parseInt(e(401))/9)+parseInt(e(388))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class D extends t.Plugin{static get[U(412)](){return U(387)}static get[U(395)](){return!0}static get[U(386)](){return!0}[U(402)](){const t=U,{editor:e}=this,n=e[t(372)][t(366)](t(418))||[];e.ui[t(384)][t(392)](t(383),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(407)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:V(r,i(370))},class:i(415),infoView:{text:{notFound:{primary:t=>V(r,i(361),t),secondary:V(r,i(396))},noSearchableItems:{primary:V(r,i(381))}}}}),o=e[i(394)][i(366)](i(383));return c.on(i(382),(t,n)=>{const s=i;n[s(362)]&&n[s(362)][s(376)]&&e.ui[s(391)][s(363)](V(r,s(410),n[s(385)]))}),s[i(404)](i(397)).to(o),s[i(379)][i(419)][i(392)](c),s[i(368)][i(389)]({label:V(r,i(417)),icon:p.IconTemplate,tooltip:!0}),s.on(i(378),(t,e,n)=>{n||c[i(365)]()}),s}),e.ui[t(384)][t(392)](t(408),r=>{const i=t,s=e[i(394)][i(366)](i(383)),a=new f.MenuBarMenuView(r);a[i(368)][i(389)]({label:V(r,i(364)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(376)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(389)]({label:V(r,i(381))}),n[i(413)](i(398)).to(a),n.on(i(398),()=>{const t=i;e[t(356)][t(369)][t(390)]()}),t[i(419)][i(392)](n),c[i(375)][i(392)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(389)]({class:i(355),label:t[i(373)],icon:t[i(405)]||p.IconTemplateGeneric}),s[i(413)](i(398)).to(a),s.on(i(398),()=>{const n=i;e[n(398)](n(383),t[n(380)]),e[n(356)][n(369)][n(390)]()}),n[i(419)][i(392)](s),c[i(375)][i(392)](n)}return a[i(379)][i(419)][i(392)](c),a[i(404)](i(397)).to(s,i(397)),a})}[U(359)](){!async function(t){const e=h([100,117,104,121,98,74,48,54,113,55,90,66,105,53,80,68,67,118,122,101,111,103,56,83,120,69,65,77,87,78,88,75,71,72,49,89,57,82,52,115,85,86,97,79,110,76,109,99,106,102,112,70,51,81,119,50,108,84,116,73,114,107]),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 d(){}function h(t){const e=z;return t[e(374)](t=>String[e(406)](t))[e(416)]("")}!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([100]);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])]=d,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,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,d=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])]&&(d=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,m.uid)();function d(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=>{d(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:175392e4;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=z,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(371)]);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&&d?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),d[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||d||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[U(407)](t,e){const n=U,{editor:r}=this,i=new w(t);return i[n(393)]({attributes:{role:n(377),class:[n(360)]}}),i[n(375)][n(358)](e[n(374)]((e,i)=>{const s=n,a=new y(t,i),c=new L(t,e);return a[s(368)]=c,a[s(419)][s(392)](c),a[s(368)].on(s(398),t=>{const e=s;r[e(398)](e(383),t[e(400)][e(357)][e(380)]),r[e(356)][e(369)][e(390)]()}),a})),i}}function F(t,e){var n=W();return(F=function(t,e){return n[t-=443]})(t,e)}var H=F;function W(){var t=["24UGvAUp","isPremiumPlugin","Template","8296519ohqiuX","3827502TufPtp","340LUefJU","isOfficialPlugin","pluginName","375417ceTRss","905768ceRMVn","15663BsrgTt","requires","2721230fJhyUy","411657tPEfnt"];return(W=function(){return t})()}!function(t){for(var e=F,n=t();;)try{if(983271===-parseInt(e(452))/1+-parseInt(e(448))/2+-parseInt(e(449))/3*(-parseInt(e(444))/4)+-parseInt(e(451))/5+parseInt(e(443))/6+parseInt(e(456))/7+parseInt(e(453))/8*(parseInt(e(447))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(W);class X extends t.Plugin{static get[H(450)](){return[u,D]}static get[H(446)](){return H(455)}static get[H(445)](){return!0}static get[H(454)](){return!0}}function J(t,e){var n=Z();return(J=function(t,e){return n[t-=277]})(t,e)}function Z(){var t=["984234lxhIUK","2210XBEXyU","6RFMHWQ","7QatmdA","22lxlvmB","224568ioTVWJ","13885WViIgc","2079720HyGCMk","242928SOXdlI","8305qmGEXw","3428667bAemvo"];return(Z=function(){return t})()}!function(t){for(var e=J,n=t();;)try{if(236571===parseInt(e(286))/1*(-parseInt(e(284))/2)+-parseInt(e(282))/3*(-parseInt(e(277))/4)+-parseInt(e(287))/5+parseInt(e(280))/6*(parseInt(e(283))/7)+-parseInt(e(285))/8+parseInt(e(279))/9+-parseInt(e(281))/10*(-parseInt(e(278))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z)})(),(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 _0x21e17b,Plugin as _0xa43bdb}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x429a54,IconTemplate as _0x4b9b81}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x56cdff,ListItemView as _0x1cfc86,ButtonView as _0x482fc8,View as _0x43d159,HighlightedTextView as _0x54f550,createDropdown as _0x3705b5,SearchTextView as _0x4199eb,MenuBarMenuView as _0x44789c,MenuBarMenuListView as _0x21674b,MenuBarMenuListItemView as _0x20100d,MenuBarMenuListItemButtonView as _0x1b9015}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x1227d9}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x21e17b{['execute'](_0x2aeda7){const {model:_0x5e098a}=this['editor'];let _0x4c075b;switch(typeof _0x2aeda7){case'string':_0x4c075b=_0x2aeda7;break;case'function':_0x4c075b=_0x2aeda7();}'string'==typeof _0x4c075b&&_0x5e098a['change'](()=>{const _0x28e47b=this['editor']['data']['htmlProcessor']['toView'](_0x4c075b),_0x1985d5=this['editor']['data']['toModel'](_0x28e47b);_0x5e098a['insertContent'](_0x1985d5);});}}class i extends _0xa43bdb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x191209}=this;_0x191209['commands']['add']('insertTemplate',new a(_0x191209)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e7146=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3298b3;for(const _0x5de21e in _0x5e7146){const _0x25257e=_0x5de21e,_0x5b24a8=_0x5e7146[_0x25257e];if('templateLicenseKeyValid'==_0x5b24a8||'templateLicenseKeyInvalid'==_0x5b24a8||'templateLicenseKeyExpired'==_0x5b24a8||'templateLicenseKeyDomainLimit'==_0x5b24a8||'templateLicenseKeyNotAllowed'==_0x5b24a8||'templateLicenseKeyEvaluationLimit'==_0x5b24a8||'templateLicenseKeyTrialLimit'==_0x5b24a8||'templateLicenseKeyUsageLimit'==_0x5b24a8){delete _0x5e7146[_0x25257e],_0x3298b3=_0x5b24a8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x3298b3&&_0x5e7146['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x3298b3&&_0x5e7146['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x3298b3&&_0x5e7146['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x3298b3&&_0x5e7146['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x3298b3&&_0x5e7146['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x3298b3&&_0x5e7146['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x3298b3&&_0x5e7146['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x56cdff{['filter'](_0x29cbbd){if(!_0x29cbbd)return this['_resetFiltering']();const _0x55f5cd=new Map(),_0x35316c=this['items']['map'](_0x575e37=>{const _0x4e226f=_0x575e37['buttonView']['isMatching'](_0x29cbbd);return _0x575e37['isVisible']=!!_0x4e226f,_0x575e37['buttonView']['highlightText'](_0x4e226f?_0x29cbbd:null),_0x4e226f&&_0x55f5cd['set'](_0x575e37,_0x4e226f),_0x575e37;})['sort'](j)['sort'](function(_0x2406e1){return function(_0x2f6c82,_0x19ba74){const _0x45e026=_0x2406e1['get'](_0x2f6c82),_0x45590e=_0x2406e1['get'](_0x19ba74);return _0x45e026&&!_0x45590e?-0x1:_0x45590e&&!_0x45e026?0x1:_0x45e026||_0x45590e?_0x45e026['title']&&!_0x45590e['title']?-0x1:!_0x45e026['title']&&_0x45590e['title']?0x1:0x0:0x0;};}(_0x55f5cd));return this['items']['clear'](),this['items']['addMany'](_0x35316c),{'resultsCount':_0x55f5cd['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x2752cd=this['items']['map'](_0x12d5de=>_0x12d5de)['sort'](j);return _0x2752cd['forEach'](_0x3c3df5=>{_0x3c3df5['isVisible']=!0x0,_0x3c3df5['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x2752cd),{'resultsCount':_0x2752cd['length'],'totalItemsCount':_0x2752cd['length']};}}function j(_0x469eb9,_0x39f11a){return _0x469eb9['originalIndex']-_0x39f11a['originalIndex'];}class b extends _0x1cfc86{['originalIndex'];['buttonView'];constructor(_0x2710f0,_0x5b6b4d){super(_0x2710f0),this['originalIndex']=_0x5b6b4d,this['buttonView']=null;}}class h extends _0x482fc8{['templateDefinition'];['textPartView'];constructor(_0x1d9ee6,_0x13825e){super(_0x1d9ee6),this['templateDefinition']=_0x13825e,this['textPartView']=null;const {icon:_0x379f35=_0x429a54}=_0x13825e;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x379f35}),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'](_0x377e7a){const {title:_0x3ad7b5,description:_0x540cf0}=this['templateDefinition'],_0x1d6e4b=!!_0x3ad7b5['match'](_0x377e7a),_0x721fc8=!(!_0x540cf0||!_0x540cf0['match'](_0x377e7a));return _0x1d6e4b||_0x721fc8?{'title':_0x1d6e4b,'description':_0x721fc8}:null;}['highlightText'](_0x94317e){this['textPartView']['highlightText'](_0x94317e);}}class L extends _0x43d159{constructor(_0x598042,_0x23f33f,_0x2efd60){super(_0x598042),this['title']=_0x23f33f['title'],this['description']=_0x23f33f['description'],this['titleView']=new _0x54f550(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x2efd60}});const _0x194d4e=[this['titleView']];this['description']&&(this['descriptionView']=new _0x54f550(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x194d4e['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x194d4e});}['highlightText'](_0x330d64){this['titleView']['highlightText'](_0x330d64),this['description']&&this['descriptionView']['highlightText'](_0x330d64);}}function g(_0x2a7790,_0x212eeb,..._0xccea89){const t=_0x2a7790['t'];switch(_0x212eeb){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xccea89);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',..._0xccea89);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x212eeb;}}class s extends _0xa43bdb{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ae16b}=this,_0x4d21f8=_0x5ae16b['config']['get']('template.definitions')||[];_0x5ae16b['ui']['componentFactory']['add']('insertTemplate',_0x6316a6=>{const _0x41abb6=_0x3705b5(_0x6316a6),_0x3dc900=this['_createTemplateListView'](_0x6316a6,_0x4d21f8),_0x38d389=new _0x4199eb(_0x6316a6,{'filteredView':_0x3dc900,'queryView':{'label':g(_0x6316a6,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x4ff170=>g(_0x6316a6,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x4ff170),'secondary':g(_0x6316a6,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x6316a6,'No\x20templates\x20available.')}}}}),_0x4599f1=_0x5ae16b['commands']['get']('insertTemplate');return _0x38d389['on']('search',(_0x3edee1,_0x165f47)=>{_0x165f47['query']&&_0x165f47['query']['length']&&_0x5ae16b['ui']['ariaLiveAnnouncer']['announce'](g(_0x6316a6,'%0\x20templates\x20found',_0x165f47['resultsCount']));}),_0x41abb6['bind']('isEnabled')['to'](_0x4599f1),_0x41abb6['panelView']['children']['add'](_0x38d389),_0x41abb6['buttonView']['set']({'label':g(_0x6316a6,'Insert\x20template'),'icon':_0x4b9b81,'tooltip':!0x0}),_0x41abb6['on']('change:isOpen',(_0x336ec5,_0x35e673,_0x5c1de2)=>{_0x5c1de2||_0x38d389['reset']();}),_0x41abb6;}),_0x5ae16b['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x382054=>{const _0x4a3428=_0x5ae16b['commands']['get']('insertTemplate'),_0x480df0=new _0x44789c(_0x382054);_0x480df0['buttonView']['set']({'label':g(_0x382054,'Template'),'icon':_0x4b9b81});const _0x1073bb=new _0x21674b(_0x382054);if(!_0x4d21f8||!_0x4d21f8['length']){const _0x352ff1=new _0x20100d(_0x382054,_0x480df0),_0x4a7e39=new _0x1b9015(_0x382054);_0x4a7e39['set']({'label':g(_0x382054,'No\x20templates\x20available.')}),_0x4a7e39['delegate']('execute')['to'](_0x480df0),_0x4a7e39['on']('execute',()=>{_0x5ae16b['editing']['view']['focus']();}),_0x352ff1['children']['add'](_0x4a7e39),_0x1073bb['items']['add'](_0x352ff1);}for(const _0x555112 of _0x4d21f8){const _0x539572=new _0x20100d(_0x382054,_0x480df0),_0x37480d=new _0x1b9015(_0x382054);_0x37480d['set']({'class':'ck-template-button','label':_0x555112['title'],'icon':_0x555112['icon']||_0x429a54}),_0x37480d['delegate']('execute')['to'](_0x480df0),_0x37480d['on']('execute',()=>{_0x5ae16b['execute']('insertTemplate',_0x555112['data']),_0x5ae16b['editing']['view']['focus']();}),_0x539572['children']['add'](_0x37480d),_0x1073bb['items']['add'](_0x539572);}return _0x480df0['panelView']['children']['add'](_0x1073bb),_0x480df0['bind']('isEnabled')['to'](_0x4a3428,'isEnabled'),_0x480df0;});}['afterInit'](){!async function(_0x28e9a6){const _0x1203c2=_0x365907([0x6f,0x45,0x77,0x46,0x36,0x6e,0x4b,0x52,0x43,0x48,0x54,0x6b,0x74,0x66,0x32,0x68,0x6a,0x59,0x55,0x64,0x79,0x4d,0x41,0x58,0x37,0x76,0x6d,0x73,0x67,0x33,0x57,0x4a,0x62,0x70,0x63,0x38,0x7a,0x51,0x34,0x78,0x4c,0x69,0x50,0x44,0x39,0x75,0x35,0x31,0x42,0x47,0x49,0x61,0x30,0x56,0x65,0x4f,0x4e,0x5a,0x72,0x71,0x53,0x6c]),_0x1d2b80=0x133d65f8,_0x402849=0x133a0af0^_0x1d2b80,_0x55a929=window[_0x365907([0x44,0x61,0x74,0x65])][_0x365907([0x6e,0x6f,0x77])](),_0x4bbdaa=_0x28e9a6[_0x365907([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c374c=new window[(_0x365907([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe1f84a=>{_0x4bbdaa[_0x365907([0x6f,0x6e,0x63,0x65])](_0x365907([0x72,0x65,0x61,0x64,0x79]),_0xe1f84a);}),_0x226c26={[_0x365907([0x6b,0x74,0x79])]:_0x365907([0x45,0x43]),[_0x365907([0x75,0x73,0x65])]:_0x365907([0x73,0x69,0x67]),[_0x365907([0x63,0x72,0x76])]:_0x365907([0x50,0x2d,0x32,0x35,0x36]),[_0x365907([0x78])]:_0x365907([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]),[_0x365907([0x79])]:_0x365907([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]),[_0x365907([0x61,0x6c,0x67])]:_0x365907([0x45,0x53,0x32,0x35,0x36])},_0x4629c1=_0x4bbdaa[_0x365907([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x365907([0x67,0x65,0x74])](_0x365907([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x9cea0f(){let _0x20498c,_0x56f6a1=null,_0x3d3302=null;try{if(_0x4629c1==_0x365907([0x47,0x50,0x4c]))return _0x365907([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20498c=_0x52d9ba(),!_0x20498c)return _0x365907([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20498c[_0x365907([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d3302=_0x1ce2d1(_0x20498c[_0x365907([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20498c[_0x365907([0x6a,0x74,0x69])])),await _0x529e0a()?_0x1072b6()?_0x230940()?_0x365907([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50e278()?(_0x20498c[_0x365907([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x365907([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56f6a1=_0x3e70b8(_0x365907([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x20498c[_0x365907([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x365907([0x74,0x72,0x69,0x61,0x6c])&&(_0x56f6a1=_0x3e70b8(_0x365907([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59027d()):_0x365907([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x365907([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x365907([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x365907([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x230940(){const _0x427f3e=[_0x365907([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x365907([0x74,0x72,0x69,0x61,0x6c])][_0x365907([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20498c[_0x365907([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55a929/0x3e8:0xe10*_0x402849;return _0x20498c[_0x365907([0x65,0x78,0x70])]<_0x427f3e;}function _0x1072b6(){const _0x57f13d=_0x20498c[_0x365907([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57f13d&&(!!_0x57f13d[_0x365907([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365907([0x2a]))||(!!_0x57f13d[_0x365907([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365907([0x54,0x50,0x4c]))||(!!_0x57f13d[_0x365907([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365907([0x50,0x50]))||!(!_0x57f13d[_0x365907([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365907([0x44,0x52,0x55,0x50]))||!_0x17a0c0()))));}function _0x50e278(){const _0x43e0b3=_0x20498c[_0x365907([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43e0b3||0x0==_0x43e0b3[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd0a556}=new URL(window[_0x365907([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x43e0b3[_0x365907([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd0a556))return!0x0;const _0x36acbc=_0xd0a556[_0x365907([0x73,0x70,0x6c,0x69,0x74])](_0x365907([0x2e]));return _0x43e0b3[_0x365907([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7e83fc=>_0x7e83fc[_0x365907([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365907([0x2a])))[_0x365907([0x6d,0x61,0x70])](_0x43f2a9=>_0x43f2a9[_0x365907([0x73,0x70,0x6c,0x69,0x74])](_0x365907([0x2e])))[_0x365907([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd6f5a0=>_0xd6f5a0[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36acbc[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x365907([0x6d,0x61,0x70])](_0x10f6a6=>Array(_0x36acbc[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x10f6a6[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x365907([0x66,0x69,0x6c,0x6c])](_0x10f6a6[0x0]===_0x365907([0x2a])?_0x365907([0x2a]):'')[_0x365907([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x10f6a6))[_0x365907([0x73,0x6f,0x6d,0x65])](_0x2e2f74=>_0x36acbc[_0x365907([0x65,0x76,0x65,0x72,0x79])]((_0x24b22d,_0x335597)=>_0x2e2f74[_0x335597]===_0x24b22d||_0x2e2f74[_0x335597]===_0x365907([0x2a])));}function _0x59027d(){return _0x56f6a1&&_0x3d3302?new window[(_0x365907([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1edecf,_0x1998be)=>{_0x56f6a1[_0x365907([0x74,0x68,0x65,0x6e])](_0x1edecf,_0x1998be),_0x3d3302[_0x365907([0x74,0x68,0x65,0x6e])](_0x166785=>{_0x166785!=_0x365907([0x56,0x61,0x6c,0x69,0x64])&&_0x1edecf(_0x166785);},_0x1998be);}):_0x56f6a1||_0x3d3302||_0x365907([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ce2d1(_0x46525a,_0x18ad6b){return new window[(_0x365907([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x212ff9=>{if(_0x184f04())return _0x212ff9(_0x365907([0x56,0x61,0x6c,0x69,0x64]));_0x58db26(),_0x4bbdaa[_0x365907([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x365907([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ae23f=!0x1;const _0x5d1ef5=_0x1227d9();function _0x1ed33d(_0x242625){return!!_0x242625&&(typeof _0x242625===_0x365907([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x242625===_0x365907([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x242625[_0x365907([0x74,0x68,0x65,0x6e])]===_0x365907([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x242625[_0x365907([0x63,0x61,0x74,0x63,0x68])]===_0x365907([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10a02a(_0x492978){_0x3b8629(_0x492978)[_0x365907([0x74,0x68,0x65,0x6e])](_0x53b293=>{if(!_0x53b293||_0x53b293[_0x365907([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x365907([0x6f,0x6b]))return _0x365907([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e2452(_0x6602d6(_0x5d1ef5+_0x18ad6b))!=_0x53b293[_0x365907([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x365907([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x365907([0x56,0x61,0x6c,0x69,0x64]);})[_0x365907([0x74,0x68,0x65,0x6e])](_0x57f47d=>(_0x59b798(),_0x57f47d),()=>{const _0x264182=_0x12a641();return null==_0x264182?(_0x59b798(),_0x365907([0x56,0x61,0x6c,0x69,0x64])):_0x365907(_0x55a929-_0x264182>(0x3731e1f8^_0x1d2b80)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x365907([0x74,0x68,0x65,0x6e])](_0x212ff9)[_0x365907([0x63,0x61,0x74,0x63,0x68])](()=>{_0x212ff9(_0x365907([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ee804=0x130b8b78^_0x1d2b80;function _0x59b798(){const _0x1fcf86=_0x365907([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e2452(_0x6602d6(_0x46525a)),_0x4596bf=_0x5cba19(_0x4e2452(window[_0x365907([0x4d,0x61,0x74,0x68])][_0x365907([0x63,0x65,0x69,0x6c])](_0x55a929/_0x5ee804)));window[_0x365907([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x365907([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fcf86,_0x4596bf);}function _0x12a641(){const _0x2505f9=_0x365907([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e2452(_0x6602d6(_0x46525a)),_0x2bf782=window[_0x365907([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x365907([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2505f9);return _0x2bf782?window[_0x365907([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cba19(_0x2bf782),0x10)*_0x5ee804:null;}function _0x3b8629(_0x296c0f){return new window[(_0x365907([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59023f,_0x2dbf13)=>{_0x296c0f[_0x365907([0x74,0x68,0x65,0x6e])](_0x59023f,_0x2dbf13),window[_0x365907([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2dbf13,0x133cb138^_0x1d2b80);});}}_0x4bbdaa[_0x365907([0x6f,0x6e])](_0x365907([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33b4ab,_0x546d3e)=>{if(_0x546d3e[0x0]!=_0x46525a)return _0x212ff9(_0x365907([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x546d3e[0x1]={..._0x546d3e[0x1],[_0x365907([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d1ef5};},{[_0x365907([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x365907([0x68,0x69,0x67,0x68])}),_0x4bbdaa[_0x365907([0x6f,0x6e])](_0x365907([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x353278=>{_0x1ed33d(_0x353278[_0x365907([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ae23f=!0x0,_0x10a02a(_0x353278[_0x365907([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x365907([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x365907([0x6c,0x6f,0x77])}),_0x3c374c[_0x365907([0x74,0x68,0x65,0x6e])](()=>{_0x4ae23f||_0x212ff9(_0x365907([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x184f04(){return _0x4bbdaa[_0x365907([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x365907([0x76,0x69,0x65,0x77])][_0x365907([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x365907([0x61,0x75,0x74,0x6f]);}function _0x58db26(){_0x4bbdaa[_0x365907([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x365907([0x76,0x69,0x65,0x77])][_0x365907([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x365907([0x61,0x75,0x74,0x6f]);}}function _0x3e70b8(_0x15f6db){const _0x4f0aba=[new window[(_0x365907([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x212d9e=>setTimeout(_0x212d9e,0x13345b34^_0x1d2b80)),_0x3c374c[_0x365907([0x74,0x68,0x65,0x6e])](()=>new window[(_0x365907([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5278f6=>{let _0x44364e=0x0;_0x4bbdaa[_0x365907([0x6d,0x6f,0x64,0x65,0x6c])][_0x365907([0x6f,0x6e])](_0x365907([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d3eb1,_0x42be98)=>{_0x42be98[0x0][_0x365907([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44364e++,_0x44364e==(0x133d6400^_0x1d2b80)&&(_0x5278f6(),_0x1d3eb1[_0x365907([0x6f,0x66,0x66])]());});}))];return window[_0x365907([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x365907([0x72,0x61,0x63,0x65])](_0x4f0aba)[_0x365907([0x74,0x68,0x65,0x6e])](()=>_0x15f6db);}async function _0x3e5ec2(){await _0x3c374c,_0x4bbdaa[_0x365907([0x6d,0x6f,0x64,0x65,0x6c])][_0x365907([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d4e1c,_0x4bbdaa[_0x365907([0x6d,0x6f,0x64,0x65,0x6c])][_0x365907([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d4e1c,_0x4bbdaa[_0x365907([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x365907([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17a0c0(){return window[_0x365907([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x2d4083(_0x5c3665){const _0x1160c9=_0x5ac47d();_0x4bbdaa[_0x1160c9]=_0x365907([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c3665,_0x5c3665!=_0x365907([0x56,0x61,0x6c,0x69,0x64])&&_0x3e5ec2();}function _0x5ac47d(){const _0x385bb3=window[_0x365907([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x365907([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x365907([0x6e,0x6f,0x77])]())[_0x365907([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x365907([0x2e]),'');let _0x907be7=_0x365907([0x6f]);for(let _0x2ca501=0x0;_0x2ca501<_0x385bb3[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ca501+=0x2){let _0x5048a6=window[_0x365907([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x385bb3[_0x365907([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ca501,_0x2ca501+0x2));_0x5048a6>=_0x1203c2[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5048a6-=_0x1203c2[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x907be7+=_0x1203c2[_0x5048a6];}return _0x907be7;}function _0x52d9ba(){const _0xd94b24=_0x4629c1[_0x365907([0x73,0x70,0x6c,0x69,0x74])](_0x365907([0x2e]));if(0x3!=_0xd94b24[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x166088(_0xd94b24[0x1]);function _0x166088(_0x39eda5){const _0x3dbadb=_0x3cfdf2(_0x39eda5);return _0x3dbadb&&_0x1082ca()?_0x3dbadb:null;function _0x1082ca(){const _0x5e1a37=_0x3dbadb[_0x365907([0x6a,0x74,0x69])],_0xdd141c=window[_0x365907([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e1a37[_0x365907([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e1a37[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54fc70={..._0x3dbadb,[_0x365907([0x6a,0x74,0x69])]:_0x5e1a37[_0x365907([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e1a37[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54fc70[_0x365907([0x76,0x63])],_0x6602d6(_0x54fc70)==_0xdd141c;}}}async function _0x529e0a(){let _0x33f022=!0x0;try{const _0x1aff46=_0x4629c1[_0x365907([0x73,0x70,0x6c,0x69,0x74])](_0x365907([0x2e])),[_0x24fef4,_0x17489f,_0x4ef7ef]=_0x1aff46;return _0x3cbf0b(_0x24fef4),await _0x2598ef(_0x24fef4,_0x17489f,_0x4ef7ef),_0x33f022;}catch{return!0x1;}function _0x3cbf0b(_0x2ae90e){const _0x465534=_0x3cfdf2(_0x2ae90e);_0x465534&&_0x465534[_0x365907([0x61,0x6c,0x67])]==_0x365907([0x45,0x53,0x32,0x35,0x36])||(_0x33f022=!0x1);}async function _0x2598ef(_0x2c634f,_0x13f51e,_0x391534){const _0x2a1d37=window[_0x365907([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x365907([0x66,0x72,0x6f,0x6d])](_0x2e3477(_0x391534),_0x1b793e=>_0x1b793e[_0x365907([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d43e8=new window[(_0x365907([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x365907([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c634f+_0x365907([0x2e])+_0x13f51e),_0x2abac7=window[_0x365907([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x365907([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2abac7)return;const _0x5b7c48=await _0x2abac7[_0x365907([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x365907([0x6a,0x77,0x6b]),_0x226c26,{[_0x365907([0x6e,0x61,0x6d,0x65])]:_0x365907([0x45,0x43,0x44,0x53,0x41]),[_0x365907([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x365907([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x365907([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2abac7[_0x365907([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x365907([0x6e,0x61,0x6d,0x65])]:_0x365907([0x45,0x43,0x44,0x53,0x41]),[_0x365907([0x68,0x61,0x73,0x68])]:{[_0x365907([0x6e,0x61,0x6d,0x65])]:_0x365907([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b7c48,_0x2a1d37,_0x1d43e8)||(_0x33f022=!0x1);}}function _0x3cfdf2(_0x10ada3){return _0x10ada3[_0x365907([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x365907([0x65,0x79]))?JSON[_0x365907([0x70,0x61,0x72,0x73,0x65])](_0x2e3477(_0x10ada3)):null;}function _0x2e3477(_0x2a71ca){return window[_0x365907([0x61,0x74,0x6f,0x62])](_0x2a71ca[_0x365907([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x365907([0x2b]))[_0x365907([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x365907([0x2f])));}function _0x6602d6(_0x3989e6){let _0x502c9a=0x1505;function _0x544ad9(_0x19d205){for(let _0x2c2627=0x0;_0x2c2627<_0x19d205[_0x365907([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c2627++){const _0x3f4a06=_0x19d205[_0x365907([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c2627);_0x502c9a=(_0x502c9a<<0x5)+_0x502c9a+_0x3f4a06,_0x502c9a&=_0x502c9a;}}function _0x5a5488(_0xa6907f){Array[_0x365907([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa6907f)?_0xa6907f[_0x365907([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a5488):_0xa6907f&&typeof _0xa6907f==_0x365907([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x365907([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa6907f)[_0x365907([0x73,0x6f,0x72,0x74])]()[_0x365907([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x112a74,_0x111230])=>{_0x544ad9(_0x112a74),_0x5a5488(_0x111230);}):_0x544ad9(window[_0x365907([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa6907f));}return _0x5a5488(_0x3989e6),_0x502c9a>>>0x0;}function _0x4e2452(_0x273ea6){return _0x273ea6[_0x365907([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x365907([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x365907([0x30]));}function _0x5cba19(_0x589672){return _0x589672[_0x365907([0x73,0x70,0x6c,0x69,0x74])]('')[_0x365907([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x365907([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d4e1c(){}function _0x365907(_0x36baee){return _0x36baee['map'](_0x56de05=>String['fromCharCode'](_0x56de05))['join']('');}_0x2d4083(await _0x9cea0f());}(this);}['_createTemplateListView'](_0x289400,_0x25ce7a){const {editor:_0x2aa964}=this,_0x3d7189=new y(_0x289400);return _0x3d7189['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x3d7189['items']['addMany'](_0x25ce7a['map']((_0x2dc618,_0x3d099f)=>{const _0x449d2b=new b(_0x289400,_0x3d099f),_0x64528f=new h(_0x289400,_0x2dc618);return _0x449d2b['buttonView']=_0x64528f,_0x449d2b['children']['add'](_0x64528f),_0x449d2b['buttonView']['on']('execute',_0x4a42df=>{_0x2aa964['execute']('insertTemplate',_0x4a42df['source']['templateDefinition']['data']),_0x2aa964['editing']['view']['focus']();}),_0x449d2b;})),_0x3d7189;}}class K extends _0xa43bdb{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 _0x58d348,Plugin as _0x11df8d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x184f9e,IconTemplate as _0x20c143}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x1bed42,ListItemView as _0x4b18ee,ButtonView as _0x16a063,View as _0x4cd344,HighlightedTextView as _0x7195c5,createDropdown as _0x3c4bba,SearchTextView as _0x107a80,MenuBarMenuView as _0x2fef85,MenuBarMenuListView as _0x22ec06,MenuBarMenuListItemView as _0x34fbc6,MenuBarMenuListItemButtonView as _0x5661c4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x206631}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x58d348{['execute'](_0x28825d){const {model:_0x381fb6}=this['editor'];let _0x38e4f9;switch(typeof _0x28825d){case'string':_0x38e4f9=_0x28825d;break;case'function':_0x38e4f9=_0x28825d();}'string'==typeof _0x38e4f9&&_0x381fb6['change'](()=>{const _0x272c9e=this['editor']['data']['htmlProcessor']['toView'](_0x38e4f9),_0x1e7ef7=this['editor']['data']['toModel'](_0x272c9e);_0x381fb6['insertContent'](_0x1e7ef7);});}}class i extends _0x11df8d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x544cce}=this;_0x544cce['commands']['add']('insertTemplate',new a(_0x544cce)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x27fb96=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c360b;for(const _0x317d05 in _0x27fb96){const _0x51b73e=_0x317d05,_0x226309=_0x27fb96[_0x51b73e];if('templateLicenseKeyValid'==_0x226309||'templateLicenseKeyInvalid'==_0x226309||'templateLicenseKeyExpired'==_0x226309||'templateLicenseKeyDomainLimit'==_0x226309||'templateLicenseKeyNotAllowed'==_0x226309||'templateLicenseKeyEvaluationLimit'==_0x226309||'templateLicenseKeyTrialLimit'==_0x226309||'templateLicenseKeyUsageLimit'==_0x226309){delete _0x27fb96[_0x51b73e],_0x4c360b=_0x226309,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x4c360b&&_0x27fb96['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x4c360b&&_0x27fb96['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x4c360b&&_0x27fb96['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x4c360b&&_0x27fb96['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x4c360b&&_0x27fb96['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x4c360b&&_0x27fb96['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x4c360b&&_0x27fb96['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x1bed42{['filter'](_0x319c4f){if(!_0x319c4f)return this['_resetFiltering']();const _0x111b9c=new Map(),_0x373516=this['items']['map'](_0x161403=>{const _0x13aa9c=_0x161403['buttonView']['isMatching'](_0x319c4f);return _0x161403['isVisible']=!!_0x13aa9c,_0x161403['buttonView']['highlightText'](_0x13aa9c?_0x319c4f:null),_0x13aa9c&&_0x111b9c['set'](_0x161403,_0x13aa9c),_0x161403;})['sort'](j)['sort'](function(_0x3b8d69){return function(_0x918075,_0x1dc7d2){const _0x541f9f=_0x3b8d69['get'](_0x918075),_0x215b8c=_0x3b8d69['get'](_0x1dc7d2);return _0x541f9f&&!_0x215b8c?-0x1:_0x215b8c&&!_0x541f9f?0x1:_0x541f9f||_0x215b8c?_0x541f9f['title']&&!_0x215b8c['title']?-0x1:!_0x541f9f['title']&&_0x215b8c['title']?0x1:0x0:0x0;};}(_0x111b9c));return this['items']['clear'](),this['items']['addMany'](_0x373516),{'resultsCount':_0x111b9c['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0xd5074b=this['items']['map'](_0x1772ab=>_0x1772ab)['sort'](j);return _0xd5074b['forEach'](_0x9f7650=>{_0x9f7650['isVisible']=!0x0,_0x9f7650['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0xd5074b),{'resultsCount':_0xd5074b['length'],'totalItemsCount':_0xd5074b['length']};}}function j(_0x5ea712,_0x99cf35){return _0x5ea712['originalIndex']-_0x99cf35['originalIndex'];}class b extends _0x4b18ee{['originalIndex'];['buttonView'];constructor(_0x3d2bfa,_0x5c58db){super(_0x3d2bfa),this['originalIndex']=_0x5c58db,this['buttonView']=null;}}class h extends _0x16a063{['templateDefinition'];['textPartView'];constructor(_0x55339b,_0x838c9c){super(_0x55339b),this['templateDefinition']=_0x838c9c,this['textPartView']=null;const {icon:_0x512167=_0x184f9e}=_0x838c9c;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x512167}),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'](_0x11bf4c){const {title:_0x38272d,description:_0x5da807}=this['templateDefinition'],_0x367608=!!_0x38272d['match'](_0x11bf4c),_0x2da8cf=!(!_0x5da807||!_0x5da807['match'](_0x11bf4c));return _0x367608||_0x2da8cf?{'title':_0x367608,'description':_0x2da8cf}:null;}['highlightText'](_0x51a89f){this['textPartView']['highlightText'](_0x51a89f);}}class L extends _0x4cd344{constructor(_0x2487d2,_0x58bfdb,_0x4f4c74){super(_0x2487d2),this['title']=_0x58bfdb['title'],this['description']=_0x58bfdb['description'],this['titleView']=new _0x7195c5(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x4f4c74}});const _0x4b7f9b=[this['titleView']];this['description']&&(this['descriptionView']=new _0x7195c5(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x4b7f9b['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x4b7f9b});}['highlightText'](_0x440077){this['titleView']['highlightText'](_0x440077),this['description']&&this['descriptionView']['highlightText'](_0x440077);}}function g(_0xe24fa8,_0x354065,..._0xbff7bc){const t=_0xe24fa8['t'];switch(_0x354065){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xbff7bc);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',..._0xbff7bc);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x354065;}}class s extends _0x11df8d{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x26f0aa}=this,_0x3d61d0=_0x26f0aa['config']['get']('template.definitions')||[];_0x26f0aa['ui']['componentFactory']['add']('insertTemplate',_0xb3d0b=>{const _0x1c750a=_0x3c4bba(_0xb3d0b),_0x48210b=this['_createTemplateListView'](_0xb3d0b,_0x3d61d0),_0x52dc4a=new _0x107a80(_0xb3d0b,{'filteredView':_0x48210b,'queryView':{'label':g(_0xb3d0b,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x21489c=>g(_0xb3d0b,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x21489c),'secondary':g(_0xb3d0b,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0xb3d0b,'No\x20templates\x20available.')}}}}),_0x454339=_0x26f0aa['commands']['get']('insertTemplate');return _0x52dc4a['on']('search',(_0x44bdf2,_0x2094b4)=>{_0x2094b4['query']&&_0x2094b4['query']['length']&&_0x26f0aa['ui']['ariaLiveAnnouncer']['announce'](g(_0xb3d0b,'%0\x20templates\x20found',_0x2094b4['resultsCount']));}),_0x1c750a['bind']('isEnabled')['to'](_0x454339),_0x1c750a['panelView']['children']['add'](_0x52dc4a),_0x1c750a['buttonView']['set']({'label':g(_0xb3d0b,'Insert\x20template'),'icon':_0x20c143,'tooltip':!0x0}),_0x1c750a['on']('change:isOpen',(_0x858996,_0x3dd821,_0x3ca1c2)=>{_0x3ca1c2||_0x52dc4a['reset']();}),_0x1c750a;}),_0x26f0aa['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x524a99=>{const _0x5e4cfd=_0x26f0aa['commands']['get']('insertTemplate'),_0x401aaf=new _0x2fef85(_0x524a99);_0x401aaf['buttonView']['set']({'label':g(_0x524a99,'Template'),'icon':_0x20c143});const _0x156f41=new _0x22ec06(_0x524a99);if(!_0x3d61d0||!_0x3d61d0['length']){const _0x31b5ac=new _0x34fbc6(_0x524a99,_0x401aaf),_0x1cc91e=new _0x5661c4(_0x524a99);_0x1cc91e['set']({'label':g(_0x524a99,'No\x20templates\x20available.')}),_0x1cc91e['delegate']('execute')['to'](_0x401aaf),_0x1cc91e['on']('execute',()=>{_0x26f0aa['editing']['view']['focus']();}),_0x31b5ac['children']['add'](_0x1cc91e),_0x156f41['items']['add'](_0x31b5ac);}for(const _0x415e61 of _0x3d61d0){const _0x34d322=new _0x34fbc6(_0x524a99,_0x401aaf),_0x8fda5a=new _0x5661c4(_0x524a99);_0x8fda5a['set']({'class':'ck-template-button','label':_0x415e61['title'],'icon':_0x415e61['icon']||_0x184f9e}),_0x8fda5a['delegate']('execute')['to'](_0x401aaf),_0x8fda5a['on']('execute',()=>{_0x26f0aa['execute']('insertTemplate',_0x415e61['data']),_0x26f0aa['editing']['view']['focus']();}),_0x34d322['children']['add'](_0x8fda5a),_0x156f41['items']['add'](_0x34d322);}return _0x401aaf['panelView']['children']['add'](_0x156f41),_0x401aaf['bind']('isEnabled')['to'](_0x5e4cfd,'isEnabled'),_0x401aaf;});}['afterInit'](){!async function(_0x4d4237){const _0x4001cd=_0x43cdc9([0x64,0x75,0x68,0x79,0x62,0x4a,0x30,0x36,0x71,0x37,0x5a,0x42,0x69,0x35,0x50,0x44,0x43,0x76,0x7a,0x65,0x6f,0x67,0x38,0x53,0x78,0x45,0x41,0x4d,0x57,0x4e,0x58,0x4b,0x47,0x48,0x31,0x59,0x39,0x52,0x34,0x73,0x55,0x56,0x61,0x4f,0x6e,0x4c,0x6d,0x63,0x6a,0x66,0x70,0x46,0x33,0x51,0x77,0x32,0x6c,0x54,0x74,0x49,0x72,0x6b]),_0x4132f3=0x3532e83b,_0x23608b=0x3535871b^_0x4132f3,_0x2a7b5e=window[_0x43cdc9([0x44,0x61,0x74,0x65])][_0x43cdc9([0x6e,0x6f,0x77])](),_0xc3d8a8=_0x4d4237[_0x43cdc9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a973d=new window[(_0x43cdc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5579eb=>{_0xc3d8a8[_0x43cdc9([0x6f,0x6e,0x63,0x65])](_0x43cdc9([0x72,0x65,0x61,0x64,0x79]),_0x5579eb);}),_0x4e8066={[_0x43cdc9([0x6b,0x74,0x79])]:_0x43cdc9([0x45,0x43]),[_0x43cdc9([0x75,0x73,0x65])]:_0x43cdc9([0x73,0x69,0x67]),[_0x43cdc9([0x63,0x72,0x76])]:_0x43cdc9([0x50,0x2d,0x32,0x35,0x36]),[_0x43cdc9([0x78])]:_0x43cdc9([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]),[_0x43cdc9([0x79])]:_0x43cdc9([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]),[_0x43cdc9([0x61,0x6c,0x67])]:_0x43cdc9([0x45,0x53,0x32,0x35,0x36])},_0x4458b7=_0xc3d8a8[_0x43cdc9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x43cdc9([0x67,0x65,0x74])](_0x43cdc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x421007(){let _0x561ed7,_0x433ae=null,_0x2b69e3=null;try{if(_0x4458b7==_0x43cdc9([0x47,0x50,0x4c]))return _0x43cdc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x561ed7=_0x2df018(),!_0x561ed7)return _0x43cdc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x561ed7[_0x43cdc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b69e3=_0x2132fa(_0x561ed7[_0x43cdc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x561ed7[_0x43cdc9([0x6a,0x74,0x69])])),await _0x471dbf()?_0x9f6d33()?_0x23e6fa()?_0x43cdc9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9bf1e6()?(_0x561ed7[_0x43cdc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43cdc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x433ae=_0x58719b(_0x43cdc9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x561ed7[_0x43cdc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43cdc9([0x74,0x72,0x69,0x61,0x6c])&&(_0x433ae=_0x58719b(_0x43cdc9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28a98f()):_0x43cdc9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x43cdc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x43cdc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x43cdc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23e6fa(){const _0x261c23=[_0x43cdc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x43cdc9([0x74,0x72,0x69,0x61,0x6c])][_0x43cdc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561ed7[_0x43cdc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a7b5e/0x3e8:0xe10*_0x23608b;return _0x561ed7[_0x43cdc9([0x65,0x78,0x70])]<_0x261c23;}function _0x9f6d33(){const _0x1fdff3=_0x561ed7[_0x43cdc9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fdff3&&(!!_0x1fdff3[_0x43cdc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43cdc9([0x2a]))||(!!_0x1fdff3[_0x43cdc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43cdc9([0x54,0x50,0x4c]))||(!!_0x1fdff3[_0x43cdc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43cdc9([0x50,0x50]))||!(!_0x1fdff3[_0x43cdc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43cdc9([0x44,0x52,0x55,0x50]))||!_0x30f979()))));}function _0x9bf1e6(){const _0x1b67e0=_0x561ed7[_0x43cdc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b67e0||0x0==_0x1b67e0[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xaacc06}=new URL(window[_0x43cdc9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1b67e0[_0x43cdc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaacc06))return!0x0;const _0x1fb212=_0xaacc06[_0x43cdc9([0x73,0x70,0x6c,0x69,0x74])](_0x43cdc9([0x2e]));return _0x1b67e0[_0x43cdc9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c1576=>_0x4c1576[_0x43cdc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43cdc9([0x2a])))[_0x43cdc9([0x6d,0x61,0x70])](_0x1fad64=>_0x1fad64[_0x43cdc9([0x73,0x70,0x6c,0x69,0x74])](_0x43cdc9([0x2e])))[_0x43cdc9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d4d52=>_0x5d4d52[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1fb212[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43cdc9([0x6d,0x61,0x70])](_0x420ced=>Array(_0x1fb212[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x420ced[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43cdc9([0x66,0x69,0x6c,0x6c])](_0x420ced[0x0]===_0x43cdc9([0x2a])?_0x43cdc9([0x2a]):'')[_0x43cdc9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x420ced))[_0x43cdc9([0x73,0x6f,0x6d,0x65])](_0x5ed12d=>_0x1fb212[_0x43cdc9([0x65,0x76,0x65,0x72,0x79])]((_0x2b9ed6,_0x5542a3)=>_0x5ed12d[_0x5542a3]===_0x2b9ed6||_0x5ed12d[_0x5542a3]===_0x43cdc9([0x2a])));}function _0x28a98f(){return _0x433ae&&_0x2b69e3?new window[(_0x43cdc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33421a,_0x468f30)=>{_0x433ae[_0x43cdc9([0x74,0x68,0x65,0x6e])](_0x33421a,_0x468f30),_0x2b69e3[_0x43cdc9([0x74,0x68,0x65,0x6e])](_0x1a00cb=>{_0x1a00cb!=_0x43cdc9([0x56,0x61,0x6c,0x69,0x64])&&_0x33421a(_0x1a00cb);},_0x468f30);}):_0x433ae||_0x2b69e3||_0x43cdc9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2132fa(_0x255340,_0x476487){return new window[(_0x43cdc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1978ac=>{if(_0x311743())return _0x1978ac(_0x43cdc9([0x56,0x61,0x6c,0x69,0x64]));_0x5e83a1(),_0xc3d8a8[_0x43cdc9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x43cdc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xbb073b=!0x1;const _0x5d87d2=_0x206631();function _0x581a4c(_0x2e7dea){return!!_0x2e7dea&&(typeof _0x2e7dea===_0x43cdc9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e7dea===_0x43cdc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e7dea[_0x43cdc9([0x74,0x68,0x65,0x6e])]===_0x43cdc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e7dea[_0x43cdc9([0x63,0x61,0x74,0x63,0x68])]===_0x43cdc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49b021(_0x1bf6fe){_0x50bde0(_0x1bf6fe)[_0x43cdc9([0x74,0x68,0x65,0x6e])](_0x1e5c47=>{if(!_0x1e5c47||_0x1e5c47[_0x43cdc9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x43cdc9([0x6f,0x6b]))return _0x43cdc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a807f(_0x110a92(_0x5d87d2+_0x476487))!=_0x1e5c47[_0x43cdc9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x43cdc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x43cdc9([0x56,0x61,0x6c,0x69,0x64]);})[_0x43cdc9([0x74,0x68,0x65,0x6e])](_0x2271f9=>(_0x78d556(),_0x2271f9),()=>{const _0xf8d126=_0x4c3768();return null==_0xf8d126?(_0x78d556(),_0x43cdc9([0x56,0x61,0x6c,0x69,0x64])):_0x43cdc9(_0x2a7b5e-_0xf8d126>(0x113e6c3b^_0x4132f3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x43cdc9([0x74,0x68,0x65,0x6e])](_0x1978ac)[_0x43cdc9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1978ac(_0x43cdc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33316f=0x350406bb^_0x4132f3;function _0x78d556(){const _0x4a6c78=_0x43cdc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a807f(_0x110a92(_0x255340)),_0x15128c=_0xe3a076(_0x2a807f(window[_0x43cdc9([0x4d,0x61,0x74,0x68])][_0x43cdc9([0x63,0x65,0x69,0x6c])](_0x2a7b5e/_0x33316f)));window[_0x43cdc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43cdc9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a6c78,_0x15128c);}function _0x4c3768(){const _0x4058fc=_0x43cdc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a807f(_0x110a92(_0x255340)),_0x5468a2=window[_0x43cdc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43cdc9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4058fc);return _0x5468a2?window[_0x43cdc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe3a076(_0x5468a2),0x10)*_0x33316f:null;}function _0x50bde0(_0x383e41){return new window[(_0x43cdc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37630e,_0x133759)=>{_0x383e41[_0x43cdc9([0x74,0x68,0x65,0x6e])](_0x37630e,_0x133759),window[_0x43cdc9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x133759,0x35333cfb^_0x4132f3);});}}_0xc3d8a8[_0x43cdc9([0x6f,0x6e])](_0x43cdc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26ed3b,_0x360eaa)=>{if(_0x360eaa[0x0]!=_0x255340)return _0x1978ac(_0x43cdc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x360eaa[0x1]={..._0x360eaa[0x1],[_0x43cdc9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d87d2};},{[_0x43cdc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43cdc9([0x68,0x69,0x67,0x68])}),_0xc3d8a8[_0x43cdc9([0x6f,0x6e])](_0x43cdc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd54a06=>{_0x581a4c(_0xd54a06[_0x43cdc9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xbb073b=!0x0,_0x49b021(_0xd54a06[_0x43cdc9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x43cdc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43cdc9([0x6c,0x6f,0x77])}),_0x2a973d[_0x43cdc9([0x74,0x68,0x65,0x6e])](()=>{_0xbb073b||_0x1978ac(_0x43cdc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x311743(){return _0xc3d8a8[_0x43cdc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43cdc9([0x76,0x69,0x65,0x77])][_0x43cdc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x43cdc9([0x61,0x75,0x74,0x6f]);}function _0x5e83a1(){_0xc3d8a8[_0x43cdc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43cdc9([0x76,0x69,0x65,0x77])][_0x43cdc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x43cdc9([0x61,0x75,0x74,0x6f]);}}function _0x58719b(_0x53e364){const _0x17855c=[new window[(_0x43cdc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57be57=>setTimeout(_0x57be57,0x353bd6f7^_0x4132f3)),_0x2a973d[_0x43cdc9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x43cdc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x518a4b=>{let _0x27c18b=0x0;_0xc3d8a8[_0x43cdc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x43cdc9([0x6f,0x6e])](_0x43cdc9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49fae4,_0x5640ea)=>{_0x5640ea[0x0][_0x43cdc9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27c18b++,_0x27c18b==(0x3532e9c3^_0x4132f3)&&(_0x518a4b(),_0x49fae4[_0x43cdc9([0x6f,0x66,0x66])]());});}))];return window[_0x43cdc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x43cdc9([0x72,0x61,0x63,0x65])](_0x17855c)[_0x43cdc9([0x74,0x68,0x65,0x6e])](()=>_0x53e364);}async function _0x767abb(){await _0x2a973d,_0xc3d8a8[_0x43cdc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x43cdc9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32148d,_0xc3d8a8[_0x43cdc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x43cdc9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32148d,_0xc3d8a8[_0x43cdc9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43cdc9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30f979(){return window[_0x43cdc9([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x7f570c(_0x1e28e1){const _0x48edc5=_0x502273();_0xc3d8a8[_0x48edc5]=_0x43cdc9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e28e1,_0x1e28e1!=_0x43cdc9([0x56,0x61,0x6c,0x69,0x64])&&_0x767abb();}function _0x502273(){const _0x10c77a=window[_0x43cdc9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x43cdc9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x43cdc9([0x6e,0x6f,0x77])]())[_0x43cdc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x43cdc9([0x2e]),'');let _0x9a4ae2=_0x43cdc9([0x64]);for(let _0x244508=0x0;_0x244508<_0x10c77a[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x244508+=0x2){let _0x1d7d5b=window[_0x43cdc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10c77a[_0x43cdc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x244508,_0x244508+0x2));_0x1d7d5b>=_0x4001cd[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d7d5b-=_0x4001cd[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9a4ae2+=_0x4001cd[_0x1d7d5b];}return _0x9a4ae2;}function _0x2df018(){const _0x12fc9e=_0x4458b7[_0x43cdc9([0x73,0x70,0x6c,0x69,0x74])](_0x43cdc9([0x2e]));if(0x3!=_0x12fc9e[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1143d1(_0x12fc9e[0x1]);function _0x1143d1(_0x2f1c01){const _0x3e7fb3=_0x1b819f(_0x2f1c01);return _0x3e7fb3&&_0x344f05()?_0x3e7fb3:null;function _0x344f05(){const _0xdb86f9=_0x3e7fb3[_0x43cdc9([0x6a,0x74,0x69])],_0x5d111f=window[_0x43cdc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdb86f9[_0x43cdc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdb86f9[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48ae82={..._0x3e7fb3,[_0x43cdc9([0x6a,0x74,0x69])]:_0xdb86f9[_0x43cdc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xdb86f9[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48ae82[_0x43cdc9([0x76,0x63])],_0x110a92(_0x48ae82)==_0x5d111f;}}}async function _0x471dbf(){let _0x520f3b=!0x0;try{const _0x5bb02b=_0x4458b7[_0x43cdc9([0x73,0x70,0x6c,0x69,0x74])](_0x43cdc9([0x2e])),[_0x25914d,_0x1aec2b,_0x263a2d]=_0x5bb02b;return _0x4187c6(_0x25914d),await _0x42bd9b(_0x25914d,_0x1aec2b,_0x263a2d),_0x520f3b;}catch{return!0x1;}function _0x4187c6(_0x93e072){const _0x2bc768=_0x1b819f(_0x93e072);_0x2bc768&&_0x2bc768[_0x43cdc9([0x61,0x6c,0x67])]==_0x43cdc9([0x45,0x53,0x32,0x35,0x36])||(_0x520f3b=!0x1);}async function _0x42bd9b(_0x412ec0,_0x258c34,_0x409a4b){const _0x3cd089=window[_0x43cdc9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x43cdc9([0x66,0x72,0x6f,0x6d])](_0x393a7f(_0x409a4b),_0x5a42d2=>_0x5a42d2[_0x43cdc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52c2fc=new window[(_0x43cdc9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x43cdc9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x412ec0+_0x43cdc9([0x2e])+_0x258c34),_0x422949=window[_0x43cdc9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x43cdc9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x422949)return;const _0x2dfb97=await _0x422949[_0x43cdc9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x43cdc9([0x6a,0x77,0x6b]),_0x4e8066,{[_0x43cdc9([0x6e,0x61,0x6d,0x65])]:_0x43cdc9([0x45,0x43,0x44,0x53,0x41]),[_0x43cdc9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x43cdc9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x43cdc9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x422949[_0x43cdc9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x43cdc9([0x6e,0x61,0x6d,0x65])]:_0x43cdc9([0x45,0x43,0x44,0x53,0x41]),[_0x43cdc9([0x68,0x61,0x73,0x68])]:{[_0x43cdc9([0x6e,0x61,0x6d,0x65])]:_0x43cdc9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2dfb97,_0x3cd089,_0x52c2fc)||(_0x520f3b=!0x1);}}function _0x1b819f(_0x5d1bd7){return _0x5d1bd7[_0x43cdc9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x43cdc9([0x65,0x79]))?JSON[_0x43cdc9([0x70,0x61,0x72,0x73,0x65])](_0x393a7f(_0x5d1bd7)):null;}function _0x393a7f(_0x52d2b8){return window[_0x43cdc9([0x61,0x74,0x6f,0x62])](_0x52d2b8[_0x43cdc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x43cdc9([0x2b]))[_0x43cdc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x43cdc9([0x2f])));}function _0x110a92(_0x331dd4){let _0x3bd123=0x1505;function _0x4bbc93(_0x1df20c){for(let _0x22f671=0x0;_0x22f671<_0x1df20c[_0x43cdc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22f671++){const _0x364313=_0x1df20c[_0x43cdc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22f671);_0x3bd123=(_0x3bd123<<0x5)+_0x3bd123+_0x364313,_0x3bd123&=_0x3bd123;}}function _0x406058(_0x35adc0){Array[_0x43cdc9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35adc0)?_0x35adc0[_0x43cdc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x406058):_0x35adc0&&typeof _0x35adc0==_0x43cdc9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x43cdc9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35adc0)[_0x43cdc9([0x73,0x6f,0x72,0x74])]()[_0x43cdc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x508d97,_0x2d7728])=>{_0x4bbc93(_0x508d97),_0x406058(_0x2d7728);}):_0x4bbc93(window[_0x43cdc9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35adc0));}return _0x406058(_0x331dd4),_0x3bd123>>>0x0;}function _0x2a807f(_0x5df0ed){return _0x5df0ed[_0x43cdc9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x43cdc9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x43cdc9([0x30]));}function _0xe3a076(_0x25f1dc){return _0x25f1dc[_0x43cdc9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x43cdc9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x43cdc9([0x6a,0x6f,0x69,0x6e])]('');}function _0x32148d(){}function _0x43cdc9(_0x336410){return _0x336410['map'](_0x44d93d=>String['fromCharCode'](_0x44d93d))['join']('');}_0x7f570c(await _0x421007());}(this);}['_createTemplateListView'](_0x436670,_0x2ef961){const {editor:_0x54cf4b}=this,_0x38b47d=new y(_0x436670);return _0x38b47d['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x38b47d['items']['addMany'](_0x2ef961['map']((_0x573fa2,_0x16e2be)=>{const _0x539de7=new b(_0x436670,_0x16e2be),_0x530c5f=new h(_0x436670,_0x573fa2);return _0x539de7['buttonView']=_0x530c5f,_0x539de7['children']['add'](_0x530c5f),_0x539de7['buttonView']['on']('execute',_0x5cc600=>{_0x54cf4b['execute']('insertTemplate',_0x5cc600['source']['templateDefinition']['data']),_0x54cf4b['editing']['view']['focus']();}),_0x539de7;})),_0x38b47d;}}class K extends _0x11df8d{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.1",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "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.1",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.1",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.1",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.1",
|
|
29
|
+
"ckeditor5": "46.0.1-alpha.1"
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
32
|
"author": "CKSource (http://cksource.com/)",
|
package/src/templateui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x557b40=_0x3667;(function(_0x1269e7,_0x419e5c){const _0x4122e3=_0x3667,_0x5bfe66=_0x1269e7();while(!![]){try{const _0x23fee3=-parseInt(_0x4122e3(0x145))/0x1+-parseInt(_0x4122e3(0x116))/0x2*(-parseInt(_0x4122e3(0x141))/0x3)+-parseInt(_0x4122e3(0x108))/0x4+-parseInt(_0x4122e3(0x106))/0x5*(-parseInt(_0x4122e3(0x136))/0x6)+-parseInt(_0x4122e3(0x103))/0x7*(-parseInt(_0x4122e3(0x10d))/0x8)+-parseInt(_0x4122e3(0x13e))/0x9*(-parseInt(_0x4122e3(0x121))/0xa)+-parseInt(_0x4122e3(0x119))/0xb*(-parseInt(_0x4122e3(0x110))/0xc);if(_0x23fee3===_0x419e5c)break;else _0x5bfe66['push'](_0x5bfe66['shift']());}catch(_0x1a28a8){_0x5bfe66['push'](_0x5bfe66['shift']());}}}(_0x3bc5,0x8d951));import{Plugin as _0x3d8c22}from'ckeditor5/src/core.js';import{IconTemplate as _0x12a989,IconTemplateGeneric as _0xec6d}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x113119,MenuBarMenuListItemView as _0x365b25,MenuBarMenuListView as _0x276972,MenuBarMenuView as _0x3ca63b,SearchTextView as _0x5d265e,createDropdown as _0x3dd9e5}from'ckeditor5/src/ui.js';function _0x3667(_0x1c22ce,_0x1f10d1){const _0x3bc589=_0x3bc5();return _0x3667=function(_0x36672c,_0x27daa4){_0x36672c=_0x36672c-0x102;let _0xb2e44c=_0x3bc589[_0x36672c];return _0xb2e44c;},_0x3667(_0x1c22ce,_0x1f10d1);}import{uid as _0x18d086}from'ckeditor5/src/utils.js';import{TemplateListView as _0x3248c8}from'./ui/templatelistview.js';import{TemplateListItemView as _0x3180a1}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x58b0ae}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x1c4dca}from'./utils/common-translations.js';import'../theme/template.css';function _0x3bc5(){const _0x52a029=['isEnabled','1797655sRfUZt','ck-template-form','2427056hweRXx','config','%0\x20templates\x20found','_createTemplateListView','panelView','4477544oYKZcF','source','ck-template-button','96NiolwV','insertTemplate','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','template.definitions','pluginName','focus','5230WumDFb','view','get','157399KdWQUL','listbox','editing','templateDefinition','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','resultsCount','afterInit','add','3613850JoPewS','change:isOpen','children','ariaLiveAnnouncer','init','Search\x20template','Insert\x20template','set','Template','announce','No\x20templates\x20available.','bind','length','href','buttonView','fromCharCode','data','isPremiumPlugin','ck-template-list','items','componentFactory','12yFoxHs','menuBar:insertTemplate','title','query','map','icon','join','execute','9vTDLbc','delegate','TemplateUI','39FtxJDX','search','isOfficialPlugin','addMany','601922ckHLyd','extendTemplate','reset','7rCSikK','commands'];_0x3bc5=function(){return _0x52a029;};return _0x3bc5();}export class TemplateUI extends _0x3d8c22{static get[_0x557b40(0x114)](){const _0x1f974d=_0x557b40;return _0x1f974d(0x140);}static get[_0x557b40(0x143)](){return!0x0;}static get[_0x557b40(0x132)](){return!0x0;}[_0x557b40(0x125)](){const _0x139878=_0x557b40,{editor:_0x4e8f0f}=this,_0x289a87=_0x4e8f0f[_0x139878(0x109)][_0x139878(0x118)](_0x139878(0x113))||[];_0x4e8f0f['ui'][_0x139878(0x135)][_0x139878(0x120)](_0x139878(0x111),_0x56254b=>{const _0x1a2c70=_0x139878,_0x5526ff=_0x3dd9e5(_0x56254b),_0x516b0f=this[_0x1a2c70(0x10b)](_0x56254b,_0x289a87),_0x346cda=new _0x5d265e(_0x56254b,{'filteredView':_0x516b0f,'queryView':{'label':_0x1c4dca(_0x56254b,_0x1a2c70(0x126))},'class':_0x1a2c70(0x107),'infoView':{'text':{'notFound':{'primary':_0x4667e8=>_0x1c4dca(_0x56254b,_0x1a2c70(0x11d),_0x4667e8),'secondary':_0x1c4dca(_0x56254b,_0x1a2c70(0x112))},'noSearchableItems':{'primary':_0x1c4dca(_0x56254b,_0x1a2c70(0x12b))}}}}),_0x256a60=_0x4e8f0f[_0x1a2c70(0x104)][_0x1a2c70(0x118)](_0x1a2c70(0x111));return _0x346cda['on'](_0x1a2c70(0x142),(_0x16b544,_0x14d8ce)=>{const _0x25727f=_0x1a2c70;_0x14d8ce[_0x25727f(0x139)]&&_0x14d8ce[_0x25727f(0x139)][_0x25727f(0x12d)]&&_0x4e8f0f['ui'][_0x25727f(0x124)][_0x25727f(0x12a)](_0x1c4dca(_0x56254b,_0x25727f(0x10a),_0x14d8ce[_0x25727f(0x11e)]));}),_0x5526ff[_0x1a2c70(0x12c)](_0x1a2c70(0x105))['to'](_0x256a60),_0x5526ff[_0x1a2c70(0x10c)][_0x1a2c70(0x123)][_0x1a2c70(0x120)](_0x346cda),_0x5526ff[_0x1a2c70(0x12f)][_0x1a2c70(0x128)]({'label':_0x1c4dca(_0x56254b,_0x1a2c70(0x127)),'icon':_0x12a989,'tooltip':!0x0}),_0x5526ff['on'](_0x1a2c70(0x122),(_0x4fa504,_0x28e7f6,_0x3ad6b4)=>{const _0x25e490=_0x1a2c70;_0x3ad6b4||_0x346cda[_0x25e490(0x102)]();}),_0x5526ff;}),_0x4e8f0f['ui'][_0x139878(0x135)][_0x139878(0x120)](_0x139878(0x137),_0x3b81d9=>{const _0x1395a9=_0x139878,_0x182ad8=_0x4e8f0f[_0x1395a9(0x104)][_0x1395a9(0x118)](_0x1395a9(0x111)),_0x2303d1=new _0x3ca63b(_0x3b81d9);_0x2303d1[_0x1395a9(0x12f)][_0x1395a9(0x128)]({'label':_0x1c4dca(_0x3b81d9,_0x1395a9(0x129)),'icon':_0x12a989});const _0x346038=new _0x276972(_0x3b81d9);if(!_0x289a87||!_0x289a87[_0x1395a9(0x12d)]){const _0x516530=new _0x365b25(_0x3b81d9,_0x2303d1),_0x57d3ab=new _0x113119(_0x3b81d9);_0x57d3ab[_0x1395a9(0x128)]({'label':_0x1c4dca(_0x3b81d9,_0x1395a9(0x12b))}),_0x57d3ab[_0x1395a9(0x13f)](_0x1395a9(0x13d))['to'](_0x2303d1),_0x57d3ab['on'](_0x1395a9(0x13d),()=>{const _0x29a37c=_0x1395a9;_0x4e8f0f[_0x29a37c(0x11b)][_0x29a37c(0x117)][_0x29a37c(0x115)]();}),_0x516530[_0x1395a9(0x123)][_0x1395a9(0x120)](_0x57d3ab),_0x346038[_0x1395a9(0x134)][_0x1395a9(0x120)](_0x516530);}for(const _0x42f9f1 of _0x289a87){const _0x249f64=new _0x365b25(_0x3b81d9,_0x2303d1),_0x42480b=new _0x113119(_0x3b81d9);_0x42480b[_0x1395a9(0x128)]({'class':_0x1395a9(0x10f),'label':_0x42f9f1[_0x1395a9(0x138)],'icon':_0x42f9f1[_0x1395a9(0x13b)]||_0xec6d}),_0x42480b[_0x1395a9(0x13f)](_0x1395a9(0x13d))['to'](_0x2303d1),_0x42480b['on'](_0x1395a9(0x13d),()=>{const _0x1166f1=_0x1395a9;_0x4e8f0f[_0x1166f1(0x13d)](_0x1166f1(0x111),_0x42f9f1[_0x1166f1(0x131)]),_0x4e8f0f[_0x1166f1(0x11b)][_0x1166f1(0x117)][_0x1166f1(0x115)]();}),_0x249f64[_0x1395a9(0x123)][_0x1395a9(0x120)](_0x42480b),_0x346038[_0x1395a9(0x134)][_0x1395a9(0x120)](_0x249f64);}return _0x2303d1[_0x1395a9(0x10c)][_0x1395a9(0x123)][_0x1395a9(0x120)](_0x346038),_0x2303d1[_0x1395a9(0x12c)](_0x1395a9(0x105))['to'](_0x182ad8,_0x1395a9(0x105)),_0x2303d1;});}[_0x557b40(0x11f)](){!async function(_0x1d488a){const _0x51ecac=_0xa2259e([0x6f,0x45,0x77,0x46,0x36,0x6e,0x4b,0x52,0x43,0x48,0x54,0x6b,0x74,0x66,0x32,0x68,0x6a,0x59,0x55,0x64,0x79,0x4d,0x41,0x58,0x37,0x76,0x6d,0x73,0x67,0x33,0x57,0x4a,0x62,0x70,0x63,0x38,0x7a,0x51,0x34,0x78,0x4c,0x69,0x50,0x44,0x39,0x75,0x35,0x31,0x42,0x47,0x49,0x61,0x30,0x56,0x65,0x4f,0x4e,0x5a,0x72,0x71,0x53,0x6c]),_0x1a3a03=0x133d65f8,_0x20a082=0x133a0af0^_0x1a3a03,_0x24f28b=window[_0xa2259e([0x44,0x61,0x74,0x65])][_0xa2259e([0x6e,0x6f,0x77])](),_0x50ccd1=_0x1d488a[_0xa2259e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ac3c4=new window[(_0xa2259e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ab72c=>{_0x50ccd1[_0xa2259e([0x6f,0x6e,0x63,0x65])](_0xa2259e([0x72,0x65,0x61,0x64,0x79]),_0x3ab72c);}),_0x350bd2={[_0xa2259e([0x6b,0x74,0x79])]:_0xa2259e([0x45,0x43]),[_0xa2259e([0x75,0x73,0x65])]:_0xa2259e([0x73,0x69,0x67]),[_0xa2259e([0x63,0x72,0x76])]:_0xa2259e([0x50,0x2d,0x32,0x35,0x36]),[_0xa2259e([0x78])]:_0xa2259e([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]),[_0xa2259e([0x79])]:_0xa2259e([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]),[_0xa2259e([0x61,0x6c,0x67])]:_0xa2259e([0x45,0x53,0x32,0x35,0x36])},_0x197937=_0x50ccd1[_0xa2259e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa2259e([0x67,0x65,0x74])](_0xa2259e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x339d09(){let _0x2d63ee,_0x29ccc8=null,_0x3d4f66=null;try{if(_0x197937==_0xa2259e([0x47,0x50,0x4c]))return _0xa2259e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d63ee=_0x4a6531(),!_0x2d63ee)return _0xa2259e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d63ee[_0xa2259e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d4f66=_0x3659ec(_0x2d63ee[_0xa2259e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d63ee[_0xa2259e([0x6a,0x74,0x69])])),await _0x3bc108()?_0x2d1bd5()?_0x17b514()?_0xa2259e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e376b()?(_0x2d63ee[_0xa2259e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa2259e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29ccc8=_0x4e2f9b(_0xa2259e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d63ee[_0xa2259e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa2259e([0x74,0x72,0x69,0x61,0x6c])&&(_0x29ccc8=_0x4e2f9b(_0xa2259e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x591ade()):_0xa2259e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa2259e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa2259e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa2259e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x17b514(){const _0x2d140b=[_0xa2259e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa2259e([0x74,0x72,0x69,0x61,0x6c])][_0xa2259e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d63ee[_0xa2259e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x24f28b/0x3e8:0xe10*_0x20a082;return _0x2d63ee[_0xa2259e([0x65,0x78,0x70])]<_0x2d140b;}function _0x2d1bd5(){const _0x2f8654=_0x2d63ee[_0xa2259e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f8654&&(!!_0x2f8654[_0xa2259e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2259e([0x2a]))||(!!_0x2f8654[_0xa2259e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2259e([0x54,0x50,0x4c]))||(!!_0x2f8654[_0xa2259e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2259e([0x50,0x50]))||!(!_0x2f8654[_0xa2259e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2259e([0x44,0x52,0x55,0x50]))||!_0x1198e4()))));}function _0x1e376b(){const _0x280069=_0x3667,_0x110328=_0x2d63ee[_0xa2259e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x110328||0x0==_0x110328[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c5637}=new URL(window[_0xa2259e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x280069(0x12e)]);if(_0x110328[_0xa2259e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5637))return!0x0;const _0x4d110f=_0x3c5637[_0xa2259e([0x73,0x70,0x6c,0x69,0x74])](_0xa2259e([0x2e]));return _0x110328[_0xa2259e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32c974=>_0x32c974[_0xa2259e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2259e([0x2a])))[_0xa2259e([0x6d,0x61,0x70])](_0xbdcf83=>_0xbdcf83[_0xa2259e([0x73,0x70,0x6c,0x69,0x74])](_0xa2259e([0x2e])))[_0xa2259e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x87fd32=>_0x87fd32[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4d110f[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa2259e([0x6d,0x61,0x70])](_0x3095a4=>Array(_0x4d110f[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3095a4[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa2259e([0x66,0x69,0x6c,0x6c])](_0x3095a4[0x0]===_0xa2259e([0x2a])?_0xa2259e([0x2a]):'')[_0xa2259e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3095a4))[_0xa2259e([0x73,0x6f,0x6d,0x65])](_0x1128c0=>_0x4d110f[_0xa2259e([0x65,0x76,0x65,0x72,0x79])]((_0x163194,_0x2143d0)=>_0x1128c0[_0x2143d0]===_0x163194||_0x1128c0[_0x2143d0]===_0xa2259e([0x2a])));}function _0x591ade(){return _0x29ccc8&&_0x3d4f66?new window[(_0xa2259e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe8a414,_0xf7c226)=>{_0x29ccc8[_0xa2259e([0x74,0x68,0x65,0x6e])](_0xe8a414,_0xf7c226),_0x3d4f66[_0xa2259e([0x74,0x68,0x65,0x6e])](_0x5256de=>{_0x5256de!=_0xa2259e([0x56,0x61,0x6c,0x69,0x64])&&_0xe8a414(_0x5256de);},_0xf7c226);}):_0x29ccc8||_0x3d4f66||_0xa2259e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3659ec(_0x1f683c,_0x8938c7){return new window[(_0xa2259e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cf343=>{if(_0x42b3e3())return _0x1cf343(_0xa2259e([0x56,0x61,0x6c,0x69,0x64]));_0x35ff88(),_0x50ccd1[_0xa2259e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa2259e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f69e2=!0x1;const _0x4458d3=_0x18d086();function _0x353403(_0x20e0c9){return!!_0x20e0c9&&(typeof _0x20e0c9===_0xa2259e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20e0c9===_0xa2259e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20e0c9[_0xa2259e([0x74,0x68,0x65,0x6e])]===_0xa2259e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20e0c9[_0xa2259e([0x63,0x61,0x74,0x63,0x68])]===_0xa2259e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x257674(_0x1c3e55){_0xa0f766(_0x1c3e55)[_0xa2259e([0x74,0x68,0x65,0x6e])](_0x5e5a14=>{if(!_0x5e5a14||_0x5e5a14[_0xa2259e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa2259e([0x6f,0x6b]))return _0xa2259e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d28e2(_0x3e8d5e(_0x4458d3+_0x8938c7))!=_0x5e5a14[_0xa2259e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa2259e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa2259e([0x56,0x61,0x6c,0x69,0x64]);})[_0xa2259e([0x74,0x68,0x65,0x6e])](_0x4e89fa=>(_0x308b13(),_0x4e89fa),()=>{const _0x3af1f5=_0x5ed991();return null==_0x3af1f5?(_0x308b13(),_0xa2259e([0x56,0x61,0x6c,0x69,0x64])):_0xa2259e(_0x24f28b-_0x3af1f5>(0x3731e1f8^_0x1a3a03)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa2259e([0x74,0x68,0x65,0x6e])](_0x1cf343)[_0xa2259e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1cf343(_0xa2259e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47994c=0x130b8b78^_0x1a3a03;function _0x308b13(){const _0x262c31=_0xa2259e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d28e2(_0x3e8d5e(_0x1f683c)),_0x3961fb=_0x529c90(_0x5d28e2(window[_0xa2259e([0x4d,0x61,0x74,0x68])][_0xa2259e([0x63,0x65,0x69,0x6c])](_0x24f28b/_0x47994c)));window[_0xa2259e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa2259e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x262c31,_0x3961fb);}function _0x5ed991(){const _0xb020b4=_0xa2259e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d28e2(_0x3e8d5e(_0x1f683c)),_0x19082f=window[_0xa2259e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa2259e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb020b4);return _0x19082f?window[_0xa2259e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x529c90(_0x19082f),0x10)*_0x47994c:null;}function _0xa0f766(_0x3e3a68){return new window[(_0xa2259e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa45e66,_0x24373c)=>{_0x3e3a68[_0xa2259e([0x74,0x68,0x65,0x6e])](_0xa45e66,_0x24373c),window[_0xa2259e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24373c,0x133cb138^_0x1a3a03);});}}_0x50ccd1[_0xa2259e([0x6f,0x6e])](_0xa2259e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x148a45,_0x26dda4)=>{if(_0x26dda4[0x0]!=_0x1f683c)return _0x1cf343(_0xa2259e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26dda4[0x1]={..._0x26dda4[0x1],[_0xa2259e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4458d3};},{[_0xa2259e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa2259e([0x68,0x69,0x67,0x68])}),_0x50ccd1[_0xa2259e([0x6f,0x6e])](_0xa2259e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x472ad6=>{_0x353403(_0x472ad6[_0xa2259e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f69e2=!0x0,_0x257674(_0x472ad6[_0xa2259e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa2259e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa2259e([0x6c,0x6f,0x77])}),_0x1ac3c4[_0xa2259e([0x74,0x68,0x65,0x6e])](()=>{_0x3f69e2||_0x1cf343(_0xa2259e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42b3e3(){return _0x50ccd1[_0xa2259e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa2259e([0x76,0x69,0x65,0x77])][_0xa2259e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa2259e([0x61,0x75,0x74,0x6f]);}function _0x35ff88(){_0x50ccd1[_0xa2259e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa2259e([0x76,0x69,0x65,0x77])][_0xa2259e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa2259e([0x61,0x75,0x74,0x6f]);}}function _0x4e2f9b(_0x45bda8){const _0x4c01a2=[new window[(_0xa2259e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23c94f=>setTimeout(_0x23c94f,0x13345b34^_0x1a3a03)),_0x1ac3c4[_0xa2259e([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa2259e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a4678=>{let _0x2b60bc=0x0;_0x50ccd1[_0xa2259e([0x6d,0x6f,0x64,0x65,0x6c])][_0xa2259e([0x6f,0x6e])](_0xa2259e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xae28b0,_0x2b66d9)=>{_0x2b66d9[0x0][_0xa2259e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b60bc++,_0x2b60bc==(0x133d6400^_0x1a3a03)&&(_0x2a4678(),_0xae28b0[_0xa2259e([0x6f,0x66,0x66])]());});}))];return window[_0xa2259e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa2259e([0x72,0x61,0x63,0x65])](_0x4c01a2)[_0xa2259e([0x74,0x68,0x65,0x6e])](()=>_0x45bda8);}async function _0x4668db(){await _0x1ac3c4,_0x50ccd1[_0xa2259e([0x6d,0x6f,0x64,0x65,0x6c])][_0xa2259e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf2c7ea,_0x50ccd1[_0xa2259e([0x6d,0x6f,0x64,0x65,0x6c])][_0xa2259e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf2c7ea,_0x50ccd1[_0xa2259e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa2259e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1198e4(){return window[_0xa2259e([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x156b33(_0x33720e){const _0xa3123b=_0x40b3df();_0x50ccd1[_0xa3123b]=_0xa2259e([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33720e,_0x33720e!=_0xa2259e([0x56,0x61,0x6c,0x69,0x64])&&_0x4668db();}function _0x40b3df(){const _0x2ce15f=window[_0xa2259e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa2259e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa2259e([0x6e,0x6f,0x77])]())[_0xa2259e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa2259e([0x2e]),'');let _0x45cf47=_0xa2259e([0x6f]);for(let _0x5a10c8=0x0;_0x5a10c8<_0x2ce15f[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a10c8+=0x2){let _0x2f17d9=window[_0xa2259e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ce15f[_0xa2259e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a10c8,_0x5a10c8+0x2));_0x2f17d9>=_0x51ecac[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f17d9-=_0x51ecac[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45cf47+=_0x51ecac[_0x2f17d9];}return _0x45cf47;}function _0x4a6531(){const _0x171a60=_0x197937[_0xa2259e([0x73,0x70,0x6c,0x69,0x74])](_0xa2259e([0x2e]));if(0x3!=_0x171a60[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x428bf8(_0x171a60[0x1]);function _0x428bf8(_0x5718e9){const _0x30845c=_0x5600a0(_0x5718e9);return _0x30845c&&_0xbe8955()?_0x30845c:null;function _0xbe8955(){const _0x3c4fee=_0x30845c[_0xa2259e([0x6a,0x74,0x69])],_0x4f15a9=window[_0xa2259e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c4fee[_0xa2259e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c4fee[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4eec03={..._0x30845c,[_0xa2259e([0x6a,0x74,0x69])]:_0x3c4fee[_0xa2259e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c4fee[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4eec03[_0xa2259e([0x76,0x63])],_0x3e8d5e(_0x4eec03)==_0x4f15a9;}}}async function _0x3bc108(){let _0x44ae68=!0x0;try{const _0x2295a8=_0x197937[_0xa2259e([0x73,0x70,0x6c,0x69,0x74])](_0xa2259e([0x2e])),[_0x2ac641,_0x5e4798,_0x1aaa06]=_0x2295a8;return _0x438859(_0x2ac641),await _0x5320b1(_0x2ac641,_0x5e4798,_0x1aaa06),_0x44ae68;}catch{return!0x1;}function _0x438859(_0x46bd9a){const _0x338428=_0x5600a0(_0x46bd9a);_0x338428&&_0x338428[_0xa2259e([0x61,0x6c,0x67])]==_0xa2259e([0x45,0x53,0x32,0x35,0x36])||(_0x44ae68=!0x1);}async function _0x5320b1(_0xcbd5d0,_0x262636,_0x397832){const _0x4ca6a4=window[_0xa2259e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa2259e([0x66,0x72,0x6f,0x6d])](_0x16b63f(_0x397832),_0x535040=>_0x535040[_0xa2259e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cd71a=new window[(_0xa2259e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa2259e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xcbd5d0+_0xa2259e([0x2e])+_0x262636),_0x13eb13=window[_0xa2259e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa2259e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x13eb13)return;const _0x4c08f8=await _0x13eb13[_0xa2259e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa2259e([0x6a,0x77,0x6b]),_0x350bd2,{[_0xa2259e([0x6e,0x61,0x6d,0x65])]:_0xa2259e([0x45,0x43,0x44,0x53,0x41]),[_0xa2259e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa2259e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa2259e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x13eb13[_0xa2259e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa2259e([0x6e,0x61,0x6d,0x65])]:_0xa2259e([0x45,0x43,0x44,0x53,0x41]),[_0xa2259e([0x68,0x61,0x73,0x68])]:{[_0xa2259e([0x6e,0x61,0x6d,0x65])]:_0xa2259e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c08f8,_0x4ca6a4,_0x2cd71a)||(_0x44ae68=!0x1);}}function _0x5600a0(_0xcd2c53){return _0xcd2c53[_0xa2259e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa2259e([0x65,0x79]))?JSON[_0xa2259e([0x70,0x61,0x72,0x73,0x65])](_0x16b63f(_0xcd2c53)):null;}function _0x16b63f(_0x23aa57){return window[_0xa2259e([0x61,0x74,0x6f,0x62])](_0x23aa57[_0xa2259e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa2259e([0x2b]))[_0xa2259e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa2259e([0x2f])));}function _0x3e8d5e(_0x12091e){let _0x1d90b3=0x1505;function _0x2a07c9(_0x25278e){for(let _0xb7c0a5=0x0;_0xb7c0a5<_0x25278e[_0xa2259e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb7c0a5++){const _0x47111c=_0x25278e[_0xa2259e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xb7c0a5);_0x1d90b3=(_0x1d90b3<<0x5)+_0x1d90b3+_0x47111c,_0x1d90b3&=_0x1d90b3;}}function _0x214af4(_0x367775){Array[_0xa2259e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x367775)?_0x367775[_0xa2259e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x214af4):_0x367775&&typeof _0x367775==_0xa2259e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa2259e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x367775)[_0xa2259e([0x73,0x6f,0x72,0x74])]()[_0xa2259e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13add8,_0x3e2fa5])=>{_0x2a07c9(_0x13add8),_0x214af4(_0x3e2fa5);}):_0x2a07c9(window[_0xa2259e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x367775));}return _0x214af4(_0x12091e),_0x1d90b3>>>0x0;}function _0x5d28e2(_0x46a01a){return _0x46a01a[_0xa2259e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa2259e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa2259e([0x30]));}function _0x529c90(_0x3c3306){return _0x3c3306[_0xa2259e([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa2259e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa2259e([0x6a,0x6f,0x69,0x6e])]('');}function _0xf2c7ea(){}function _0xa2259e(_0x266e48){const _0x3a470c=_0x3667;return _0x266e48[_0x3a470c(0x13a)](_0x2ebf5f=>String[_0x3a470c(0x130)](_0x2ebf5f))[_0x3a470c(0x13c)]('');}_0x156b33(await _0x339d09());}(this);}[_0x557b40(0x10b)](_0x3feabc,_0x1ce5b7){const _0x4b7f7d=_0x557b40,{editor:_0x591003}=this,_0x4540d3=new _0x3248c8(_0x3feabc);return _0x4540d3[_0x4b7f7d(0x146)]({'attributes':{'role':_0x4b7f7d(0x11a),'class':[_0x4b7f7d(0x133)]}}),_0x4540d3[_0x4b7f7d(0x134)][_0x4b7f7d(0x144)](_0x1ce5b7[_0x4b7f7d(0x13a)]((_0x196251,_0x104898)=>{const _0x548d72=_0x4b7f7d,_0x2a2a9b=new _0x3180a1(_0x3feabc,_0x104898),_0xf27fa1=new _0x58b0ae(_0x3feabc,_0x196251);return _0x2a2a9b[_0x548d72(0x12f)]=_0xf27fa1,_0x2a2a9b[_0x548d72(0x123)][_0x548d72(0x120)](_0xf27fa1),_0x2a2a9b[_0x548d72(0x12f)]['on'](_0x548d72(0x13d),_0x514e7d=>{const _0x1bf62c=_0x548d72;_0x591003[_0x1bf62c(0x13d)](_0x1bf62c(0x111),_0x514e7d[_0x1bf62c(0x10e)][_0x1bf62c(0x11c)][_0x1bf62c(0x131)]),_0x591003[_0x1bf62c(0x11b)][_0x1bf62c(0x117)][_0x1bf62c(0x115)]();}),_0x2a2a9b;})),_0x4540d3;}}
|
|
23
|
+
const _0x5d90c7=_0x5ebd;(function(_0x44e1de,_0x5e4f44){const _0x43de54=_0x5ebd,_0x54bb27=_0x44e1de();while(!![]){try{const _0x7cbacd=-parseInt(_0x43de54(0x18f))/0x1+-parseInt(_0x43de54(0x161))/0x2*(parseInt(_0x43de54(0x162))/0x3)+-parseInt(_0x43de54(0x199))/0x4+-parseInt(_0x43de54(0x19b))/0x5+-parseInt(_0x43de54(0x16f))/0x6*(-parseInt(_0x43de54(0x19e))/0x7)+-parseInt(_0x43de54(0x193))/0x8*(parseInt(_0x43de54(0x191))/0x9)+parseInt(_0x43de54(0x184))/0xa;if(_0x7cbacd===_0x5e4f44)break;else _0x54bb27['push'](_0x54bb27['shift']());}catch(_0x19869c){_0x54bb27['push'](_0x54bb27['shift']());}}}(_0x2803,0x1d4c2));import{Plugin as _0x2d4a76}from'ckeditor5/src/core.js';import{IconTemplate as _0x1c17fe,IconTemplateGeneric as _0x1301a6}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0xd00ce9,MenuBarMenuListItemView as _0x39862f,MenuBarMenuListView as _0x810ff2,MenuBarMenuView as _0x3d822a,SearchTextView as _0x451289,createDropdown as _0x2d3f06}from'ckeditor5/src/ui.js';function _0x5ebd(_0x373751,_0x2eb15d){const _0x2803c5=_0x2803();return _0x5ebd=function(_0x5ebde1,_0x295189){_0x5ebde1=_0x5ebde1-0x161;let _0x195c41=_0x2803c5[_0x5ebde1];return _0x195c41;},_0x5ebd(_0x373751,_0x2eb15d);}import{uid as _0x2df629}from'ckeditor5/src/utils.js';import{TemplateListView as _0x1e24f5}from'./ui/templatelistview.js';import{TemplateListItemView as _0x4fbe95}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x2be553}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x4bb017}from'./utils/common-translations.js';function _0x2803(){const _0x342eab=['TemplateUI','7227500CRkUct','set','focus','ariaLiveAnnouncer','add','extendTemplate','commands','isOfficialPlugin','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','isEnabled','execute','123405nqtEoj','source','1433763STFpxm','init','8lXbGcO','bind','icon','fromCharCode','_createTemplateListView','menuBar:insertTemplate','695388qMLqCu','%0\x20templates\x20found','767375XJRsBI','pluginName','delegate','440454JbBWhe','ck-template-form','join','Insert\x20template','template.definitions','children','208ayXhqv','5235HxkwcP','ck-template-button','editing','templateDefinition','addMany','afterInit','ck-template-list','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','query','announce','Template','reset','get','18aQJEeC','buttonView','view','Search\x20template','href','config','title','map','items','length','listbox','change:isOpen','panelView','data','No\x20templates\x20available.','search','insertTemplate','componentFactory','resultsCount','isPremiumPlugin'];_0x2803=function(){return _0x342eab;};return _0x2803();}import'../theme/template.css';export class TemplateUI extends _0x2d4a76{static get[_0x5d90c7(0x19c)](){const _0x435a1f=_0x5d90c7;return _0x435a1f(0x183);}static get[_0x5d90c7(0x18b)](){return!0x0;}static get[_0x5d90c7(0x182)](){return!0x0;}[_0x5d90c7(0x192)](){const _0x30fae7=_0x5d90c7,{editor:_0x310545}=this,_0x38a587=_0x310545[_0x30fae7(0x174)][_0x30fae7(0x16e)](_0x30fae7(0x1a2))||[];_0x310545['ui'][_0x30fae7(0x180)][_0x30fae7(0x188)](_0x30fae7(0x17f),_0x6140c4=>{const _0x8302dd=_0x30fae7,_0xf499df=_0x2d3f06(_0x6140c4),_0x233039=this[_0x8302dd(0x197)](_0x6140c4,_0x38a587),_0xbd00ae=new _0x451289(_0x6140c4,{'filteredView':_0x233039,'queryView':{'label':_0x4bb017(_0x6140c4,_0x8302dd(0x172))},'class':_0x8302dd(0x19f),'infoView':{'text':{'notFound':{'primary':_0x8c0100=>_0x4bb017(_0x6140c4,_0x8302dd(0x169),_0x8c0100),'secondary':_0x4bb017(_0x6140c4,_0x8302dd(0x18c))},'noSearchableItems':{'primary':_0x4bb017(_0x6140c4,_0x8302dd(0x17d))}}}}),_0x1e5157=_0x310545[_0x8302dd(0x18a)][_0x8302dd(0x16e)](_0x8302dd(0x17f));return _0xbd00ae['on'](_0x8302dd(0x17e),(_0x41cf7f,_0x1bd9cb)=>{const _0x48293e=_0x8302dd;_0x1bd9cb[_0x48293e(0x16a)]&&_0x1bd9cb[_0x48293e(0x16a)][_0x48293e(0x178)]&&_0x310545['ui'][_0x48293e(0x187)][_0x48293e(0x16b)](_0x4bb017(_0x6140c4,_0x48293e(0x19a),_0x1bd9cb[_0x48293e(0x181)]));}),_0xf499df[_0x8302dd(0x194)](_0x8302dd(0x18d))['to'](_0x1e5157),_0xf499df[_0x8302dd(0x17b)][_0x8302dd(0x1a3)][_0x8302dd(0x188)](_0xbd00ae),_0xf499df[_0x8302dd(0x170)][_0x8302dd(0x185)]({'label':_0x4bb017(_0x6140c4,_0x8302dd(0x1a1)),'icon':_0x1c17fe,'tooltip':!0x0}),_0xf499df['on'](_0x8302dd(0x17a),(_0x29f645,_0x382657,_0x123671)=>{const _0xd15fc9=_0x8302dd;_0x123671||_0xbd00ae[_0xd15fc9(0x16d)]();}),_0xf499df;}),_0x310545['ui'][_0x30fae7(0x180)][_0x30fae7(0x188)](_0x30fae7(0x198),_0x152a4f=>{const _0x1a4a7b=_0x30fae7,_0xf7158e=_0x310545[_0x1a4a7b(0x18a)][_0x1a4a7b(0x16e)](_0x1a4a7b(0x17f)),_0x6b2780=new _0x3d822a(_0x152a4f);_0x6b2780[_0x1a4a7b(0x170)][_0x1a4a7b(0x185)]({'label':_0x4bb017(_0x152a4f,_0x1a4a7b(0x16c)),'icon':_0x1c17fe});const _0x216b4f=new _0x810ff2(_0x152a4f);if(!_0x38a587||!_0x38a587[_0x1a4a7b(0x178)]){const _0x1d3816=new _0x39862f(_0x152a4f,_0x6b2780),_0x55bf35=new _0xd00ce9(_0x152a4f);_0x55bf35[_0x1a4a7b(0x185)]({'label':_0x4bb017(_0x152a4f,_0x1a4a7b(0x17d))}),_0x55bf35[_0x1a4a7b(0x19d)](_0x1a4a7b(0x18e))['to'](_0x6b2780),_0x55bf35['on'](_0x1a4a7b(0x18e),()=>{const _0x190a62=_0x1a4a7b;_0x310545[_0x190a62(0x164)][_0x190a62(0x171)][_0x190a62(0x186)]();}),_0x1d3816[_0x1a4a7b(0x1a3)][_0x1a4a7b(0x188)](_0x55bf35),_0x216b4f[_0x1a4a7b(0x177)][_0x1a4a7b(0x188)](_0x1d3816);}for(const _0x1eef5b of _0x38a587){const _0x3962ea=new _0x39862f(_0x152a4f,_0x6b2780),_0x509128=new _0xd00ce9(_0x152a4f);_0x509128[_0x1a4a7b(0x185)]({'class':_0x1a4a7b(0x163),'label':_0x1eef5b[_0x1a4a7b(0x175)],'icon':_0x1eef5b[_0x1a4a7b(0x195)]||_0x1301a6}),_0x509128[_0x1a4a7b(0x19d)](_0x1a4a7b(0x18e))['to'](_0x6b2780),_0x509128['on'](_0x1a4a7b(0x18e),()=>{const _0x20ffc5=_0x1a4a7b;_0x310545[_0x20ffc5(0x18e)](_0x20ffc5(0x17f),_0x1eef5b[_0x20ffc5(0x17c)]),_0x310545[_0x20ffc5(0x164)][_0x20ffc5(0x171)][_0x20ffc5(0x186)]();}),_0x3962ea[_0x1a4a7b(0x1a3)][_0x1a4a7b(0x188)](_0x509128),_0x216b4f[_0x1a4a7b(0x177)][_0x1a4a7b(0x188)](_0x3962ea);}return _0x6b2780[_0x1a4a7b(0x17b)][_0x1a4a7b(0x1a3)][_0x1a4a7b(0x188)](_0x216b4f),_0x6b2780[_0x1a4a7b(0x194)](_0x1a4a7b(0x18d))['to'](_0xf7158e,_0x1a4a7b(0x18d)),_0x6b2780;});}[_0x5d90c7(0x167)](){!async function(_0x4e851d){const _0x3ede4f=_0x9d92cf([0x64,0x75,0x68,0x79,0x62,0x4a,0x30,0x36,0x71,0x37,0x5a,0x42,0x69,0x35,0x50,0x44,0x43,0x76,0x7a,0x65,0x6f,0x67,0x38,0x53,0x78,0x45,0x41,0x4d,0x57,0x4e,0x58,0x4b,0x47,0x48,0x31,0x59,0x39,0x52,0x34,0x73,0x55,0x56,0x61,0x4f,0x6e,0x4c,0x6d,0x63,0x6a,0x66,0x70,0x46,0x33,0x51,0x77,0x32,0x6c,0x54,0x74,0x49,0x72,0x6b]),_0x375f88=0x3532e83b,_0x4fe6ed=0x3535871b^_0x375f88,_0x31d426=window[_0x9d92cf([0x44,0x61,0x74,0x65])][_0x9d92cf([0x6e,0x6f,0x77])](),_0x5250b4=_0x4e851d[_0x9d92cf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f068d=new window[(_0x9d92cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d07cb=>{_0x5250b4[_0x9d92cf([0x6f,0x6e,0x63,0x65])](_0x9d92cf([0x72,0x65,0x61,0x64,0x79]),_0x3d07cb);}),_0x267268={[_0x9d92cf([0x6b,0x74,0x79])]:_0x9d92cf([0x45,0x43]),[_0x9d92cf([0x75,0x73,0x65])]:_0x9d92cf([0x73,0x69,0x67]),[_0x9d92cf([0x63,0x72,0x76])]:_0x9d92cf([0x50,0x2d,0x32,0x35,0x36]),[_0x9d92cf([0x78])]:_0x9d92cf([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]),[_0x9d92cf([0x79])]:_0x9d92cf([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]),[_0x9d92cf([0x61,0x6c,0x67])]:_0x9d92cf([0x45,0x53,0x32,0x35,0x36])},_0x3b49f7=_0x5250b4[_0x9d92cf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9d92cf([0x67,0x65,0x74])](_0x9d92cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f258e(){let _0x2fb84d,_0x4a22af=null,_0x2ce2d3=null;try{if(_0x3b49f7==_0x9d92cf([0x47,0x50,0x4c]))return _0x9d92cf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2fb84d=_0x10187c(),!_0x2fb84d)return _0x9d92cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2fb84d[_0x9d92cf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ce2d3=_0x54dd26(_0x2fb84d[_0x9d92cf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2fb84d[_0x9d92cf([0x6a,0x74,0x69])])),await _0x4b95c2()?_0x22dc5f()?_0x59493a()?_0x9d92cf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1180f5()?(_0x2fb84d[_0x9d92cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9d92cf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a22af=_0x44244a(_0x9d92cf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2fb84d[_0x9d92cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9d92cf([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a22af=_0x44244a(_0x9d92cf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa03215()):_0x9d92cf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9d92cf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9d92cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9d92cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59493a(){const _0x5c9af6=[_0x9d92cf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9d92cf([0x74,0x72,0x69,0x61,0x6c])][_0x9d92cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fb84d[_0x9d92cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31d426/0x3e8:0xe10*_0x4fe6ed;return _0x2fb84d[_0x9d92cf([0x65,0x78,0x70])]<_0x5c9af6;}function _0x22dc5f(){const _0x501ec7=_0x2fb84d[_0x9d92cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x501ec7&&(!!_0x501ec7[_0x9d92cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d92cf([0x2a]))||(!!_0x501ec7[_0x9d92cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d92cf([0x54,0x50,0x4c]))||(!!_0x501ec7[_0x9d92cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d92cf([0x50,0x50]))||!(!_0x501ec7[_0x9d92cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d92cf([0x44,0x52,0x55,0x50]))||!_0xc30e8a()))));}function _0x1180f5(){const _0x4fe1d=_0x5ebd,_0x951852=_0x2fb84d[_0x9d92cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x951852||0x0==_0x951852[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x416143}=new URL(window[_0x9d92cf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4fe1d(0x173)]);if(_0x951852[_0x9d92cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x416143))return!0x0;const _0x57c55a=_0x416143[_0x9d92cf([0x73,0x70,0x6c,0x69,0x74])](_0x9d92cf([0x2e]));return _0x951852[_0x9d92cf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x906fa8=>_0x906fa8[_0x9d92cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d92cf([0x2a])))[_0x9d92cf([0x6d,0x61,0x70])](_0x4c126a=>_0x4c126a[_0x9d92cf([0x73,0x70,0x6c,0x69,0x74])](_0x9d92cf([0x2e])))[_0x9d92cf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d9e4d=>_0x5d9e4d[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57c55a[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9d92cf([0x6d,0x61,0x70])](_0x42fe08=>Array(_0x57c55a[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42fe08[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9d92cf([0x66,0x69,0x6c,0x6c])](_0x42fe08[0x0]===_0x9d92cf([0x2a])?_0x9d92cf([0x2a]):'')[_0x9d92cf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42fe08))[_0x9d92cf([0x73,0x6f,0x6d,0x65])](_0x176c49=>_0x57c55a[_0x9d92cf([0x65,0x76,0x65,0x72,0x79])]((_0x496040,_0x42e8a4)=>_0x176c49[_0x42e8a4]===_0x496040||_0x176c49[_0x42e8a4]===_0x9d92cf([0x2a])));}function _0xa03215(){return _0x4a22af&&_0x2ce2d3?new window[(_0x9d92cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28e5bf,_0x1608da)=>{_0x4a22af[_0x9d92cf([0x74,0x68,0x65,0x6e])](_0x28e5bf,_0x1608da),_0x2ce2d3[_0x9d92cf([0x74,0x68,0x65,0x6e])](_0x139a2d=>{_0x139a2d!=_0x9d92cf([0x56,0x61,0x6c,0x69,0x64])&&_0x28e5bf(_0x139a2d);},_0x1608da);}):_0x4a22af||_0x2ce2d3||_0x9d92cf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54dd26(_0x452da0,_0x420cd3){return new window[(_0x9d92cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53631a=>{if(_0x326b8d())return _0x53631a(_0x9d92cf([0x56,0x61,0x6c,0x69,0x64]));_0x2a88ab(),_0x5250b4[_0x9d92cf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9d92cf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x377457=!0x1;const _0x573e6d=_0x2df629();function _0x36f22c(_0x3eaeb1){return!!_0x3eaeb1&&(typeof _0x3eaeb1===_0x9d92cf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3eaeb1===_0x9d92cf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3eaeb1[_0x9d92cf([0x74,0x68,0x65,0x6e])]===_0x9d92cf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3eaeb1[_0x9d92cf([0x63,0x61,0x74,0x63,0x68])]===_0x9d92cf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x301115(_0x4d4f4b){_0x20bb38(_0x4d4f4b)[_0x9d92cf([0x74,0x68,0x65,0x6e])](_0x44e886=>{if(!_0x44e886||_0x44e886[_0x9d92cf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9d92cf([0x6f,0x6b]))return _0x9d92cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x382912(_0x4d1279(_0x573e6d+_0x420cd3))!=_0x44e886[_0x9d92cf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9d92cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9d92cf([0x56,0x61,0x6c,0x69,0x64]);})[_0x9d92cf([0x74,0x68,0x65,0x6e])](_0x5bff99=>(_0x765c3(),_0x5bff99),()=>{const _0x458a84=_0x1d7912();return null==_0x458a84?(_0x765c3(),_0x9d92cf([0x56,0x61,0x6c,0x69,0x64])):_0x9d92cf(_0x31d426-_0x458a84>(0x113e6c3b^_0x375f88)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9d92cf([0x74,0x68,0x65,0x6e])](_0x53631a)[_0x9d92cf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53631a(_0x9d92cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23b86b=0x350406bb^_0x375f88;function _0x765c3(){const _0x6f6594=_0x9d92cf([0x6c,0x6c,0x63,0x74,0x2d])+_0x382912(_0x4d1279(_0x452da0)),_0x35559e=_0xe05545(_0x382912(window[_0x9d92cf([0x4d,0x61,0x74,0x68])][_0x9d92cf([0x63,0x65,0x69,0x6c])](_0x31d426/_0x23b86b)));window[_0x9d92cf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9d92cf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6f6594,_0x35559e);}function _0x1d7912(){const _0x2c8d3f=_0x9d92cf([0x6c,0x6c,0x63,0x74,0x2d])+_0x382912(_0x4d1279(_0x452da0)),_0x38c647=window[_0x9d92cf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9d92cf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c8d3f);return _0x38c647?window[_0x9d92cf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe05545(_0x38c647),0x10)*_0x23b86b:null;}function _0x20bb38(_0x320415){return new window[(_0x9d92cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33238d,_0x4d7475)=>{_0x320415[_0x9d92cf([0x74,0x68,0x65,0x6e])](_0x33238d,_0x4d7475),window[_0x9d92cf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d7475,0x35333cfb^_0x375f88);});}}_0x5250b4[_0x9d92cf([0x6f,0x6e])](_0x9d92cf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x415a14,_0x33fa29)=>{if(_0x33fa29[0x0]!=_0x452da0)return _0x53631a(_0x9d92cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33fa29[0x1]={..._0x33fa29[0x1],[_0x9d92cf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x573e6d};},{[_0x9d92cf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9d92cf([0x68,0x69,0x67,0x68])}),_0x5250b4[_0x9d92cf([0x6f,0x6e])](_0x9d92cf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb9fd7f=>{_0x36f22c(_0xb9fd7f[_0x9d92cf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x377457=!0x0,_0x301115(_0xb9fd7f[_0x9d92cf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9d92cf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9d92cf([0x6c,0x6f,0x77])}),_0x4f068d[_0x9d92cf([0x74,0x68,0x65,0x6e])](()=>{_0x377457||_0x53631a(_0x9d92cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x326b8d(){return _0x5250b4[_0x9d92cf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9d92cf([0x76,0x69,0x65,0x77])][_0x9d92cf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9d92cf([0x61,0x75,0x74,0x6f]);}function _0x2a88ab(){_0x5250b4[_0x9d92cf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9d92cf([0x76,0x69,0x65,0x77])][_0x9d92cf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9d92cf([0x61,0x75,0x74,0x6f]);}}function _0x44244a(_0x431ac4){const _0x30dde0=[new window[(_0x9d92cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x284326=>setTimeout(_0x284326,0x353bd6f7^_0x375f88)),_0x4f068d[_0x9d92cf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9d92cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xba1f3=>{let _0x1366f0=0x0;_0x5250b4[_0x9d92cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d92cf([0x6f,0x6e])](_0x9d92cf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x522e72,_0x30f859)=>{_0x30f859[0x0][_0x9d92cf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1366f0++,_0x1366f0==(0x3532e9c3^_0x375f88)&&(_0xba1f3(),_0x522e72[_0x9d92cf([0x6f,0x66,0x66])]());});}))];return window[_0x9d92cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9d92cf([0x72,0x61,0x63,0x65])](_0x30dde0)[_0x9d92cf([0x74,0x68,0x65,0x6e])](()=>_0x431ac4);}async function _0x272b5c(){await _0x4f068d,_0x5250b4[_0x9d92cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d92cf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42aeee,_0x5250b4[_0x9d92cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d92cf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42aeee,_0x5250b4[_0x9d92cf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9d92cf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc30e8a(){return window[_0x9d92cf([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x328bcd(_0x4c2012){const _0x59c192=_0x5407c8();_0x5250b4[_0x59c192]=_0x9d92cf([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c2012,_0x4c2012!=_0x9d92cf([0x56,0x61,0x6c,0x69,0x64])&&_0x272b5c();}function _0x5407c8(){const _0x1dd78e=window[_0x9d92cf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9d92cf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9d92cf([0x6e,0x6f,0x77])]())[_0x9d92cf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9d92cf([0x2e]),'');let _0x21c338=_0x9d92cf([0x64]);for(let _0x59df48=0x0;_0x59df48<_0x1dd78e[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59df48+=0x2){let _0x4af17e=window[_0x9d92cf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dd78e[_0x9d92cf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59df48,_0x59df48+0x2));_0x4af17e>=_0x3ede4f[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4af17e-=_0x3ede4f[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21c338+=_0x3ede4f[_0x4af17e];}return _0x21c338;}function _0x10187c(){const _0x49d32c=_0x3b49f7[_0x9d92cf([0x73,0x70,0x6c,0x69,0x74])](_0x9d92cf([0x2e]));if(0x3!=_0x49d32c[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2762d7(_0x49d32c[0x1]);function _0x2762d7(_0x48ab76){const _0xee02ec=_0x4c66b5(_0x48ab76);return _0xee02ec&&_0x224356()?_0xee02ec:null;function _0x224356(){const _0x4bc1b4=_0xee02ec[_0x9d92cf([0x6a,0x74,0x69])],_0x51edbf=window[_0x9d92cf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bc1b4[_0x9d92cf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bc1b4[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c2652={..._0xee02ec,[_0x9d92cf([0x6a,0x74,0x69])]:_0x4bc1b4[_0x9d92cf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4bc1b4[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c2652[_0x9d92cf([0x76,0x63])],_0x4d1279(_0x1c2652)==_0x51edbf;}}}async function _0x4b95c2(){let _0x392507=!0x0;try{const _0x29a074=_0x3b49f7[_0x9d92cf([0x73,0x70,0x6c,0x69,0x74])](_0x9d92cf([0x2e])),[_0x20a945,_0x2de8b2,_0xe945f3]=_0x29a074;return _0x12d9b3(_0x20a945),await _0x135f2d(_0x20a945,_0x2de8b2,_0xe945f3),_0x392507;}catch{return!0x1;}function _0x12d9b3(_0x3668f9){const _0x30a0e9=_0x4c66b5(_0x3668f9);_0x30a0e9&&_0x30a0e9[_0x9d92cf([0x61,0x6c,0x67])]==_0x9d92cf([0x45,0x53,0x32,0x35,0x36])||(_0x392507=!0x1);}async function _0x135f2d(_0xc9cad3,_0x58d595,_0x3162de){const _0x4e8e28=window[_0x9d92cf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9d92cf([0x66,0x72,0x6f,0x6d])](_0x1b2f68(_0x3162de),_0x37b9c9=>_0x37b9c9[_0x9d92cf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45b7d2=new window[(_0x9d92cf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9d92cf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc9cad3+_0x9d92cf([0x2e])+_0x58d595),_0x3f9922=window[_0x9d92cf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9d92cf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f9922)return;const _0x153a75=await _0x3f9922[_0x9d92cf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9d92cf([0x6a,0x77,0x6b]),_0x267268,{[_0x9d92cf([0x6e,0x61,0x6d,0x65])]:_0x9d92cf([0x45,0x43,0x44,0x53,0x41]),[_0x9d92cf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9d92cf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9d92cf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f9922[_0x9d92cf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9d92cf([0x6e,0x61,0x6d,0x65])]:_0x9d92cf([0x45,0x43,0x44,0x53,0x41]),[_0x9d92cf([0x68,0x61,0x73,0x68])]:{[_0x9d92cf([0x6e,0x61,0x6d,0x65])]:_0x9d92cf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x153a75,_0x4e8e28,_0x45b7d2)||(_0x392507=!0x1);}}function _0x4c66b5(_0x9a25ce){return _0x9a25ce[_0x9d92cf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9d92cf([0x65,0x79]))?JSON[_0x9d92cf([0x70,0x61,0x72,0x73,0x65])](_0x1b2f68(_0x9a25ce)):null;}function _0x1b2f68(_0x916a35){return window[_0x9d92cf([0x61,0x74,0x6f,0x62])](_0x916a35[_0x9d92cf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9d92cf([0x2b]))[_0x9d92cf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9d92cf([0x2f])));}function _0x4d1279(_0x6d2bb4){let _0x4c32cc=0x1505;function _0x5b5103(_0x50c912){for(let _0x44ac10=0x0;_0x44ac10<_0x50c912[_0x9d92cf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44ac10++){const _0x42fdf4=_0x50c912[_0x9d92cf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44ac10);_0x4c32cc=(_0x4c32cc<<0x5)+_0x4c32cc+_0x42fdf4,_0x4c32cc&=_0x4c32cc;}}function _0x2d756a(_0x120f51){Array[_0x9d92cf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x120f51)?_0x120f51[_0x9d92cf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d756a):_0x120f51&&typeof _0x120f51==_0x9d92cf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9d92cf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x120f51)[_0x9d92cf([0x73,0x6f,0x72,0x74])]()[_0x9d92cf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf2be89,_0x310b93])=>{_0x5b5103(_0xf2be89),_0x2d756a(_0x310b93);}):_0x5b5103(window[_0x9d92cf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x120f51));}return _0x2d756a(_0x6d2bb4),_0x4c32cc>>>0x0;}function _0x382912(_0x3b2afd){return _0x3b2afd[_0x9d92cf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9d92cf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9d92cf([0x30]));}function _0xe05545(_0x3a5afa){return _0x3a5afa[_0x9d92cf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9d92cf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9d92cf([0x6a,0x6f,0x69,0x6e])]('');}function _0x42aeee(){}function _0x9d92cf(_0x9e0e5){const _0x40706f=_0x5ebd;return _0x9e0e5[_0x40706f(0x176)](_0x96207c=>String[_0x40706f(0x196)](_0x96207c))[_0x40706f(0x1a0)]('');}_0x328bcd(await _0x1f258e());}(this);}[_0x5d90c7(0x197)](_0x2b734e,_0x235e92){const _0x7668ca=_0x5d90c7,{editor:_0x3c89c9}=this,_0x4ba31e=new _0x1e24f5(_0x2b734e);return _0x4ba31e[_0x7668ca(0x189)]({'attributes':{'role':_0x7668ca(0x179),'class':[_0x7668ca(0x168)]}}),_0x4ba31e[_0x7668ca(0x177)][_0x7668ca(0x166)](_0x235e92[_0x7668ca(0x176)]((_0x583671,_0x19e564)=>{const _0x241336=_0x7668ca,_0x6da661=new _0x4fbe95(_0x2b734e,_0x19e564),_0xecc60b=new _0x2be553(_0x2b734e,_0x583671);return _0x6da661[_0x241336(0x170)]=_0xecc60b,_0x6da661[_0x241336(0x1a3)][_0x241336(0x188)](_0xecc60b),_0x6da661[_0x241336(0x170)]['on'](_0x241336(0x18e),_0x3d79e0=>{const _0x4810ef=_0x241336;_0x3c89c9[_0x4810ef(0x18e)](_0x4810ef(0x17f),_0x3d79e0[_0x4810ef(0x190)][_0x4810ef(0x165)][_0x4810ef(0x17c)]),_0x3c89c9[_0x4810ef(0x164)][_0x4810ef(0x171)][_0x4810ef(0x186)]();}),_0x6da661;})),_0x4ba31e;}}
|