@ckeditor/ckeditor5-template 47.5.0-alpha.3 → 47.5.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/template.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/templateui.js +1 -1
package/build/template.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={49:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(106),i=n.n(r),s=n(779),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},102: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)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},237:t=>{"use strict";t.exports=CKEditor5.dll},297: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)}}}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779: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}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},929:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],c=0;c<t.length;c++){var o=t[c],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>Y,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);function e(){const t=["insertContent","972znwSRc","563780yeRNUq","htmlProcessor","function","409974oBpaMC","change","data","editor","toView","execute","42128vuSfNn","697440FfeKqV","1236bgAjQD","string","19641LqODMf","toModel","1061780BdKocE","1883JikGPh"];return(e=function(){return t})()}function i(t,n){const r=e();return(i=function(t,e){return r[t-=373]})(t,n)}const s=i;!function(t){const e=i,n=t();for(;;)try{if(179698===-parseInt(e(382))/1+parseInt(e(388))/2+parseInt(e(391))/3+parseInt(e(384))/4+parseInt(e(379))/5+-parseInt(e(380))/6*(parseInt(e(385))/7)+-parseInt(e(378))/8*(parseInt(e(387))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class a extends t.Command{[s(377)](t){const e=s,{model:n}=this[e(375)];let r;switch(typeof t){case e(381):r=t;break;case e(390):r=t()}e(381)==typeof r&&n[e(373)](()=>{const t=e,i=this[t(375)][t(374)][t(389)][t(376)](r),s=this[t(375)][t(374)][t(383)](i);n[t(386)](s)})}}function c(){const t=["get","templateLicenseKeyEvaluationLimit","invalid","isPremiumPlugin","2140248Phzmis","2546355XuLKCf","_licenseKeyCheckInterval","486410DzHRYp","domainLimit","33oyAiUH","destroy","init","evaluationLimit","templateLicenseKeyValid","config","13860tHmRqL","featureNotAllowed","24bsyAqt","1889196SOpxSY","1362sPbFyD","8972019IXVzus","isOfficialPlugin","templateLicenseKeyDomainLimit","expired","commands","licenseKey","templateLicenseKeyNotAllowed","editor","add","_showLicenseError","pluginName","usageLimit","TemplateEditing","Template","18615ZGknbj","templateLicenseKeyUsageLimit","templateLicenseKeyInvalid","4OkwTMj","templateLicenseKeyExpired","insertTemplate"];return(c=function(){return t})()}const o=l;function l(t,e){const n=c();return(l=function(t,e){return n[t-=156]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(847924===parseInt(e(158))/1+parseInt(e(168))/2+parseInt(e(182))/3*(-parseInt(e(161))/4)+-parseInt(e(179))/5*(-parseInt(e(183))/6)+parseInt(e(169))/7*(-parseInt(e(181))/8)+parseInt(e(184))/9+parseInt(e(171))/10*(-parseInt(e(173))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class u extends t.Plugin{[o(189)];[o(170)];static get[o(194)](){return o(156)}static get[o(185)](){return!0}static get[o(167)](){return!0}[o(175)](){const t=o,{editor:e}=this;e[t(188)][t(192)](t(163),new a(e)),this[t(189)]=this[t(191)][t(178)][t(164)](t(189));const n=this[t(191)];this[t(170)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(177)==s||e(160)==s||e(162)==s||e(186)==s||e(190)==s||e(165)==s||e(159)==s){delete n[i],r=s,clearInterval(this[e(170)]),this[e(170)]=void 0;break}}e(160)==r&&n[e(193)](e(166)),e(162)==r&&n[e(193)](e(187)),e(186)==r&&n[e(193)](e(172)),e(190)==r&&n[e(193)](e(180),e(157)),e(165)==r&&n[e(193)](e(176)),e(159)==r&&n[e(193)](e(195))},1e3)}[o(174)](){const t=o;super[t(174)](),this[t(170)]&&clearInterval(this[t(170)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["18cHVOVE","42473HGUUhb","forEach","3983gKFmem","map","2603375HwizLP","buttonView","originalIndex","set","highlightText","1057098wjSFHE","isVisible","48KHaGFm","sort","title","isMatching","items","298017tPgtxX","clear","size","get","_resetFiltering","8934UhAFFx","addMany","20ZREwyr","3039248aiKoxj","length","7628357ZJYrVt","filter"];return(m=function(){return t})()}const h=k;function k(t,e){const n=m();return(k=function(t,e){return n[t-=334]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(469383===parseInt(e(359))/1*(-parseInt(e(358))/2)+parseInt(e(339))/3+-parseInt(e(354))/4+parseInt(e(334))/5+-parseInt(e(351))/6*(parseInt(e(361))/7)+-parseInt(e(341))/8*(-parseInt(e(346))/9)+-parseInt(e(353))/10*(-parseInt(e(356))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class w extends f.ListView{[h(357)](t){const e=h;if(!t)return this[e(350)]();const n=new Map,r=this[e(345)][e(362)](r=>{const i=e,s=r[i(335)][i(344)](t);return r[i(340)]=!!s,r[i(335)][i(338)](s?t:null),s&&n[i(337)](r,s),r})[e(342)](g)[e(342)]((i=n,function(t,e){const n=k,r=i[n(349)](t),s=i[n(349)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(343)]&&!s[n(343)]?-1:!r[n(343)]&&s[n(343)]?1:0:0}));var i;return this[e(345)][e(347)](),this[e(345)][e(352)](r),{resultsCount:n[e(348)],totalItemsCount:this[e(345)][e(355)]}}[h(350)](){const t=h,e=this[t(345)][t(362)](t=>t)[t(342)](g);return e[t(360)](e=>{const n=t;e[n(340)]=!0,e[n(335)][n(338)](null)}),this[t(345)][t(347)](),this[t(345)][t(352)](e),{resultsCount:e[t(355)],totalItemsCount:e[t(355)]}}}function g(t,e){const n=h;return t[n(336)]-e[n(336)]}function I(t,e){var n=b();return(I=function(t,e){return n[t-=186]})(t,e)}var v=I;function b(){var t=["7DkuMLG","2902476IVlidM","48afttBe","3jyrVxw","5956379vlFDcg","1427508AxkWpk","18461091nBxxzD","originalIndex","3883038tMJLOb","1641007jaOJza","buttonView","7124492bzbGex","5hSvltU","10fzpnVP","72teBpsy"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(965470===-parseInt(e(199))/1+-parseInt(e(191))/2*(-parseInt(e(193))/3)+-parseInt(e(186))/4*(-parseInt(e(187))/5)+-parseInt(e(198))/6*(-parseInt(e(190))/7)+-parseInt(e(189))/8*(parseInt(e(195))/9)+-parseInt(e(188))/10*(parseInt(e(196))/11)+-parseInt(e(192))/12*(-parseInt(e(194))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(197)];[v(200)];constructor(t,e){var n=v;super(t),this[n(197)]=e,this[n(200)]=null}}function x(t,e){const n=L();return(x=function(t,e){return n[t-=309]})(t,e)}const _=x;!function(t){const e=x,n=t();for(;;)try{if(248518===parseInt(e(316))/1+-parseInt(e(320))/2+parseInt(e(309))/3*(parseInt(e(345))/4)+parseInt(e(315))/5+-parseInt(e(330))/6*(parseInt(e(341))/7)+-parseInt(e(343))/8*(-parseInt(e(326))/9)+-parseInt(e(314))/10*(parseInt(e(318))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class T extends f.ButtonView{[_(317)];[_(311)];constructor(t,e){const n=_;super(t),this[n(317)]=e,this[n(311)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(337)]({withText:!0,class:n(350),role:n(344),icon:r}),this[n(321)][n(340)]=!1}[_(327)](){const t=_;super[t(327)](),this[t(311)]=new V(this[t(329)],this[t(317)],this[t(349)][t(323)].id),this[t(348)][t(335)](this[t(349)]),this[t(348)][t(336)](this[t(311)])}[_(333)](){const t=_;super[t(333)](),this[t(349)][t(333)]()}[_(328)](t){const e=_,{title:n,description:r}=this[e(317)],i=!!n[e(332)](t),s=!(!r||!r[e(332)](t));return i||s?{title:i,description:s}:null}[_(322)](t){const e=_;this[e(311)][e(322)](t)}}class V extends f.View{constructor(t,e,n){const r=_;super(t),this[r(338)]=e[r(338)],this[r(312)]=e[r(312)],this[r(325)]=new f.HighlightedTextView,this[r(325)][r(310)]=this[r(338)],this[r(325)][r(334)]({tag:r(346),attributes:{class:[r(347)],id:n}});const i=[this[r(325)]];this[r(312)]&&(this[r(331)]=new f.HighlightedTextView,this[r(331)][r(310)]=this[r(312)],this[r(331)][r(334)]({tag:"p",attributes:{class:[r(324)]}}),i[r(313)](this[r(331)])),this[r(339)]({tag:r(319),attributes:{class:["ck",r(342)]},children:i})}[_(322)](t){const e=_;this[e(325)][e(322)](t),this[e(312)]&&this[e(331)][e(322)](t)}}function L(){const t=["31026zPAVJd","iconView","highlightText","element","ck-template-form__description","titleView","18171dqPbXC","render","isMatching","locale","219102kZhyEu","descriptionView","match","destroy","extendTemplate","remove","add","set","title","setTemplate","isColorInherited","21EveghD","ck-template-form__text-part","1656VtCsdD","option","146156EfXLIa","span","ck-button__label","children","labelView","ck-template-button","6pCAmcW","text","textPartView","description","push","3984990tnxTlT","947810SuEENx","490007llPreU","templateDefinition","22IVZHur","div"];return(L=function(){return t})()}function S(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 P=n(929),M=n.n(P),A=n(297),C=n.n(A),E=n(102),N=n.n(E),O=n(123),j=n.n(O),K=n(741),z=n.n(K),B=n(49),D={attributes:{"data-cke":!0}};D.setAttributes=j(),D.insert=N().bind(null,"head"),D.domAPI=C(),D.insertStyleElement=z();M()(B.A,D);B.A&&B.A.locals&&B.A.locals;const F=R;function H(){const t=["query","delegate","length","view","afterInit","3368743raRAmm","Insert template","2360xZYVWY","942478Nifhag","buttonView","editing","addMany","Search template","href","ck-template-form","isOfficialPlugin","templateDefinition","ck-template-list","announce","%0 templates found","insertTemplate","bind","componentFactory","listbox","isEnabled","join","No templates available.","set",'No templates were found matching "%0".',"execute","Please try a different phrase or check the spelling.","3739888OFkgPF","resultsCount","map","focus","pluginName","ariaLiveAnnouncer","isPremiumPlugin","icon","change:isOpen","TemplateUI","Template","ck-template-button","13329VvmgaS","panelView","config","reset","source","_createTemplateListView","menuBar:insertTemplate","items","data","search","extendTemplate","80CKJNxh","init","62760kcTzfA","template.definitions","title","children","2357688SVziwP","fromCharCode","add","429300DxgbBD","get","commands"];return(H=function(){return t})()}function R(t,e){const n=H();return(R=function(t,e){return n[t-=103]})(t,e)}!function(t){const e=R,n=t();for(;;)try{if(477852===-parseInt(e(157))/1+parseInt(e(137))/2*(parseInt(e(139))/3)+parseInt(e(114))/4+parseInt(e(146))/5+-parseInt(e(143))/6+-parseInt(e(154))/7+parseInt(e(156))/8*(parseInt(e(126))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class q extends t.Plugin{static get[F(118)](){return F(123)}static get[F(164)](){return!0}static get[F(120)](){return!0}[F(138)](){const t=F,{editor:e}=this,n=e[t(128)][t(147)](t(140))||[];e.ui[t(105)][t(145)](t(103),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(131)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:S(r,i(161))},class:i(163),infoView:{text:{notFound:{primary:t=>S(r,i(111),t),secondary:S(r,i(113))},noSearchableItems:{primary:S(r,i(109))}}}}),o=e[i(148)][i(147)](i(103));return c.on(i(135),(t,n)=>{const s=i;n[s(149)]&&n[s(149)][s(151)]&&e.ui[s(119)][s(167)](S(r,s(168),n[s(115)]))}),s[i(104)](i(107)).to(o),s[i(127)][i(142)][i(145)](c),s[i(158)][i(110)]({label:S(r,i(155)),icon:p.IconTemplate,tooltip:!0}),s.on(i(122),(t,e,n)=>{n||c[i(129)]()}),s}),e.ui[t(105)][t(145)](t(132),r=>{const i=t,s=e[i(148)][i(147)](i(103)),a=new f.MenuBarMenuView(r);a[i(158)][i(110)]({label:S(r,i(124)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(151)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(110)]({label:S(r,i(109))}),n[i(150)](i(112)).to(a),n.on(i(112),()=>{const t=i;e[t(159)][t(152)][t(117)]()}),t[i(142)][i(145)](n),c[i(133)][i(145)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(110)]({class:i(125),label:t[i(141)],icon:t[i(121)]||p.IconTemplateGeneric}),s[i(150)](i(112)).to(a),s.on(i(112),()=>{const n=i;e[n(112)](n(103),t[n(134)]),e[n(159)][n(152)][n(117)]()}),n[i(142)][i(145)](s),c[i(133)][i(145)](n)}return a[i(127)][i(142)][i(145)](c),a[i(104)](i(107)).to(s,i(107)),a})}[F(153)](){!async function(t){const e=m([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],i=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](o(t)):null}function o(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function p(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(t){const e=R;return t[e(116)](t=>String[e(144)](t))[e(108)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([103]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=m([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await i,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const f=(0,d.uid)();function h(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function k(r){o(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(f+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+u(l(t)),r=p(u(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function a(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function o(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:f}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[m([114,101,116,117,114,110])])&&(o=!0,k(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),i[m([116,104,101,110])](()=>{o||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=a[m([115,112,108,105,116])](m([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=c(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](o(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),c=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!c)return;const l=await c[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await c[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,i,a)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([84,80,76]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([68,82,85,80]))&&window[m([68,114,117,112,97,108])]||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1770422400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=R,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(162)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const i=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&f?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),f[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[F(131)](t,e){const n=F,{editor:r}=this,i=new w(t);return i[n(136)]({attributes:{role:n(106),class:[n(166)]}}),i[n(133)][n(160)](e[n(116)]((e,i)=>{const s=n,a=new y(t,i),c=new T(t,e);return a[s(158)]=c,a[s(142)][s(145)](c),a[s(158)].on(s(112),t=>{const e=s;r[e(112)](e(103),t[e(130)][e(165)][e(134)]),r[e(159)][e(152)][e(117)]()}),a})),i}}var U=Z;function Z(t,e){var n=G();return(Z=function(t,e){return n[t-=344]})(t,e)}function G(){var t=["74395OuyqZn","240eTdzDw","pluginName","584fLIoMS","isOfficialPlugin","176sZkjky","2121036imrORm","673028ENZFal","7281LdhFlQ","requires","9542582BQkWkr","Template","2RAZnYP","10KsAZAT","6668912wilEBH","isPremiumPlugin","14566680Xrcwfu"];return(G=function(){return t})()}!function(t){for(var e=Z,n=t();;)try{if(956390===parseInt(e(350))/1*(-parseInt(e(345))/2)+parseInt(e(346))/3*(parseInt(e(358))/4)+-parseInt(e(355))/5*(-parseInt(e(356))/6)+-parseInt(e(348))/7+parseInt(e(352))/8+parseInt(e(354))/9*(-parseInt(e(351))/10)+-parseInt(e(360))/11*(-parseInt(e(344))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class Y extends t.Plugin{static get[U(347)](){return[u,q]}static get[U(357)](){return U(349)}static get[U(359)](){return!0}static get[U(353)](){return!0}}function J(){var t=["2568906qIUHYY","4848StINtb","7mcyZVR","16gPEcrE","962952BNIRWv","1KyOqnC","1867212keHATJ","8577CnlYwC","377SGUdic","7968408IjWZut","1424185piTFOG","3873628FSxmkY","30tjJwvB"];return(J=function(){return t})()}function W(t,e){var n=J();return(W=function(t,e){return n[t-=346]})(t,e)}!function(t){for(var e=W,n=t();;)try{if(710483===-parseInt(e(352))/1*(parseInt(e(347))/2)+-parseInt(e(353))/3+parseInt(e(350))/4*(parseInt(e(357))/5)+parseInt(e(356))/6*(-parseInt(e(349))/7)+-parseInt(e(348))/8*(parseInt(e(354))/9)+parseInt(e(346))/10*(parseInt(e(358))/11)+-parseInt(e(351))/12*(-parseInt(e(355))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={49:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(106),i=n.n(r),s=n(779),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},102: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)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},237:t=>{"use strict";t.exports=CKEditor5.dll},297: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)}}}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779: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}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},929:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],c=0;c<t.length;c++){var o=t[c],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}}},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:()=>J,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);function e(){const t=["insertContent","972znwSRc","563780yeRNUq","htmlProcessor","function","409974oBpaMC","change","data","editor","toView","execute","42128vuSfNn","697440FfeKqV","1236bgAjQD","string","19641LqODMf","toModel","1061780BdKocE","1883JikGPh"];return(e=function(){return t})()}function i(t,n){const r=e();return(i=function(t,e){return r[t-=373]})(t,n)}const s=i;!function(t){const e=i,n=t();for(;;)try{if(179698===-parseInt(e(382))/1+parseInt(e(388))/2+parseInt(e(391))/3+parseInt(e(384))/4+parseInt(e(379))/5+-parseInt(e(380))/6*(parseInt(e(385))/7)+-parseInt(e(378))/8*(parseInt(e(387))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class a extends t.Command{[s(377)](t){const e=s,{model:n}=this[e(375)];let r;switch(typeof t){case e(381):r=t;break;case e(390):r=t()}e(381)==typeof r&&n[e(373)](()=>{const t=e,i=this[t(375)][t(374)][t(389)][t(376)](r),s=this[t(375)][t(374)][t(383)](i);n[t(386)](s)})}}function c(){const t=["get","templateLicenseKeyEvaluationLimit","invalid","isPremiumPlugin","2140248Phzmis","2546355XuLKCf","_licenseKeyCheckInterval","486410DzHRYp","domainLimit","33oyAiUH","destroy","init","evaluationLimit","templateLicenseKeyValid","config","13860tHmRqL","featureNotAllowed","24bsyAqt","1889196SOpxSY","1362sPbFyD","8972019IXVzus","isOfficialPlugin","templateLicenseKeyDomainLimit","expired","commands","licenseKey","templateLicenseKeyNotAllowed","editor","add","_showLicenseError","pluginName","usageLimit","TemplateEditing","Template","18615ZGknbj","templateLicenseKeyUsageLimit","templateLicenseKeyInvalid","4OkwTMj","templateLicenseKeyExpired","insertTemplate"];return(c=function(){return t})()}const o=l;function l(t,e){const n=c();return(l=function(t,e){return n[t-=156]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(847924===parseInt(e(158))/1+parseInt(e(168))/2+parseInt(e(182))/3*(-parseInt(e(161))/4)+-parseInt(e(179))/5*(-parseInt(e(183))/6)+parseInt(e(169))/7*(-parseInt(e(181))/8)+parseInt(e(184))/9+parseInt(e(171))/10*(-parseInt(e(173))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class u extends t.Plugin{[o(189)];[o(170)];static get[o(194)](){return o(156)}static get[o(185)](){return!0}static get[o(167)](){return!0}[o(175)](){const t=o,{editor:e}=this;e[t(188)][t(192)](t(163),new a(e)),this[t(189)]=this[t(191)][t(178)][t(164)](t(189));const n=this[t(191)];this[t(170)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(177)==s||e(160)==s||e(162)==s||e(186)==s||e(190)==s||e(165)==s||e(159)==s){delete n[i],r=s,clearInterval(this[e(170)]),this[e(170)]=void 0;break}}e(160)==r&&n[e(193)](e(166)),e(162)==r&&n[e(193)](e(187)),e(186)==r&&n[e(193)](e(172)),e(190)==r&&n[e(193)](e(180),e(157)),e(165)==r&&n[e(193)](e(176)),e(159)==r&&n[e(193)](e(195))},1e3)}[o(174)](){const t=o;super[t(174)](),this[t(170)]&&clearInterval(this[t(170)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["18cHVOVE","42473HGUUhb","forEach","3983gKFmem","map","2603375HwizLP","buttonView","originalIndex","set","highlightText","1057098wjSFHE","isVisible","48KHaGFm","sort","title","isMatching","items","298017tPgtxX","clear","size","get","_resetFiltering","8934UhAFFx","addMany","20ZREwyr","3039248aiKoxj","length","7628357ZJYrVt","filter"];return(m=function(){return t})()}const h=k;function k(t,e){const n=m();return(k=function(t,e){return n[t-=334]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(469383===parseInt(e(359))/1*(-parseInt(e(358))/2)+parseInt(e(339))/3+-parseInt(e(354))/4+parseInt(e(334))/5+-parseInt(e(351))/6*(parseInt(e(361))/7)+-parseInt(e(341))/8*(-parseInt(e(346))/9)+-parseInt(e(353))/10*(-parseInt(e(356))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class w extends f.ListView{[h(357)](t){const e=h;if(!t)return this[e(350)]();const n=new Map,r=this[e(345)][e(362)](r=>{const i=e,s=r[i(335)][i(344)](t);return r[i(340)]=!!s,r[i(335)][i(338)](s?t:null),s&&n[i(337)](r,s),r})[e(342)](g)[e(342)]((i=n,function(t,e){const n=k,r=i[n(349)](t),s=i[n(349)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(343)]&&!s[n(343)]?-1:!r[n(343)]&&s[n(343)]?1:0:0}));var i;return this[e(345)][e(347)](),this[e(345)][e(352)](r),{resultsCount:n[e(348)],totalItemsCount:this[e(345)][e(355)]}}[h(350)](){const t=h,e=this[t(345)][t(362)](t=>t)[t(342)](g);return e[t(360)](e=>{const n=t;e[n(340)]=!0,e[n(335)][n(338)](null)}),this[t(345)][t(347)](),this[t(345)][t(352)](e),{resultsCount:e[t(355)],totalItemsCount:e[t(355)]}}}function g(t,e){const n=h;return t[n(336)]-e[n(336)]}function I(t,e){var n=b();return(I=function(t,e){return n[t-=186]})(t,e)}var v=I;function b(){var t=["7DkuMLG","2902476IVlidM","48afttBe","3jyrVxw","5956379vlFDcg","1427508AxkWpk","18461091nBxxzD","originalIndex","3883038tMJLOb","1641007jaOJza","buttonView","7124492bzbGex","5hSvltU","10fzpnVP","72teBpsy"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(965470===-parseInt(e(199))/1+-parseInt(e(191))/2*(-parseInt(e(193))/3)+-parseInt(e(186))/4*(-parseInt(e(187))/5)+-parseInt(e(198))/6*(-parseInt(e(190))/7)+-parseInt(e(189))/8*(parseInt(e(195))/9)+-parseInt(e(188))/10*(parseInt(e(196))/11)+-parseInt(e(192))/12*(-parseInt(e(194))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(197)];[v(200)];constructor(t,e){var n=v;super(t),this[n(197)]=e,this[n(200)]=null}}function x(t,e){const n=L();return(x=function(t,e){return n[t-=309]})(t,e)}const _=x;!function(t){const e=x,n=t();for(;;)try{if(248518===parseInt(e(316))/1+-parseInt(e(320))/2+parseInt(e(309))/3*(parseInt(e(345))/4)+parseInt(e(315))/5+-parseInt(e(330))/6*(parseInt(e(341))/7)+-parseInt(e(343))/8*(-parseInt(e(326))/9)+-parseInt(e(314))/10*(parseInt(e(318))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class T extends f.ButtonView{[_(317)];[_(311)];constructor(t,e){const n=_;super(t),this[n(317)]=e,this[n(311)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(337)]({withText:!0,class:n(350),role:n(344),icon:r}),this[n(321)][n(340)]=!1}[_(327)](){const t=_;super[t(327)](),this[t(311)]=new V(this[t(329)],this[t(317)],this[t(349)][t(323)].id),this[t(348)][t(335)](this[t(349)]),this[t(348)][t(336)](this[t(311)])}[_(333)](){const t=_;super[t(333)](),this[t(349)][t(333)]()}[_(328)](t){const e=_,{title:n,description:r}=this[e(317)],i=!!n[e(332)](t),s=!(!r||!r[e(332)](t));return i||s?{title:i,description:s}:null}[_(322)](t){const e=_;this[e(311)][e(322)](t)}}class V extends f.View{constructor(t,e,n){const r=_;super(t),this[r(338)]=e[r(338)],this[r(312)]=e[r(312)],this[r(325)]=new f.HighlightedTextView,this[r(325)][r(310)]=this[r(338)],this[r(325)][r(334)]({tag:r(346),attributes:{class:[r(347)],id:n}});const i=[this[r(325)]];this[r(312)]&&(this[r(331)]=new f.HighlightedTextView,this[r(331)][r(310)]=this[r(312)],this[r(331)][r(334)]({tag:"p",attributes:{class:[r(324)]}}),i[r(313)](this[r(331)])),this[r(339)]({tag:r(319),attributes:{class:["ck",r(342)]},children:i})}[_(322)](t){const e=_;this[e(325)][e(322)](t),this[e(312)]&&this[e(331)][e(322)](t)}}function L(){const t=["31026zPAVJd","iconView","highlightText","element","ck-template-form__description","titleView","18171dqPbXC","render","isMatching","locale","219102kZhyEu","descriptionView","match","destroy","extendTemplate","remove","add","set","title","setTemplate","isColorInherited","21EveghD","ck-template-form__text-part","1656VtCsdD","option","146156EfXLIa","span","ck-button__label","children","labelView","ck-template-button","6pCAmcW","text","textPartView","description","push","3984990tnxTlT","947810SuEENx","490007llPreU","templateDefinition","22IVZHur","div"];return(L=function(){return t})()}function S(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 P=n(929),E=n.n(P),M=n(297),A=n.n(M),C=n(102),N=n.n(C),O=n(123),j=n.n(O),K=n(741),z=n.n(K),B=n(49),D={attributes:{"data-cke":!0}};D.setAttributes=j(),D.insert=N().bind(null,"head"),D.domAPI=A(),D.insertStyleElement=z();E()(B.A,D);B.A&&B.A.locals&&B.A.locals;const F=R;function H(){const t=["join","ck-template-list","%0 templates found","Please try a different phrase or check the spelling.","7631672AzEntK","5HJdiIK","ck-template-button","data","711006rbmEPM","config","fromCharCode","TemplateUI","addMany","execute","2943628lXRXRt","113760syfKIS","1054jluJoP","title","isPremiumPlugin","menuBar:insertTemplate","view","resultsCount","bind","change:isOpen","icon","isOfficialPlugin","14agSTdt","get","isEnabled","extendTemplate","init","insertTemplate","ariaLiveAnnouncer","children","buttonView","Template","href","templateDefinition",'No templates were found matching "%0".',"editing","delegate","afterInit","Search template","207maZbyq","ck-template-form","reset","items","length","panelView","522KIZiny","12907224LewhzQ","listbox","template.definitions","set","1403475AQItSn","_createTemplateListView","announce","componentFactory","map","pluginName","No templates available.","Insert template","add","focus","commands","query","source","search"];return(H=function(){return t})()}function R(t,e){const n=H();return(R=function(t,e){return n[t-=422]})(t,e)}!function(t){const e=R,n=t();for(;;)try{if(739064===parseInt(e(454))/1*(-parseInt(e(427))/2)+parseInt(e(465))/3+parseInt(e(425))/4*(-parseInt(e(484))/5)+parseInt(e(487))/6*(parseInt(e(437))/7)+-parseInt(e(483))/8+parseInt(e(460))/9*(parseInt(e(426))/10)+parseInt(e(461))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class q extends t.Plugin{static get[F(470)](){return F(422)}static get[F(436)](){return!0}static get[F(429)](){return!0}[F(441)](){const t=F,{editor:e}=this,n=e[t(488)][t(438)](t(463))||[];e.ui[t(468)][t(473)](t(442),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(466)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:S(r,i(453))},class:i(455),infoView:{text:{notFound:{primary:t=>S(r,i(449),t),secondary:S(r,i(482))},noSearchableItems:{primary:S(r,i(471))}}}}),o=e[i(475)][i(438)](i(442));return c.on(i(478),(t,n)=>{const s=i;n[s(476)]&&n[s(476)][s(458)]&&e.ui[s(443)][s(467)](S(r,s(481),n[s(432)]))}),s[i(433)](i(439)).to(o),s[i(459)][i(444)][i(473)](c),s[i(445)][i(464)]({label:S(r,i(472)),icon:p.IconTemplate,tooltip:!0}),s.on(i(434),(t,e,n)=>{n||c[i(456)]()}),s}),e.ui[t(468)][t(473)](t(430),r=>{const i=t,s=e[i(475)][i(438)](i(442)),a=new f.MenuBarMenuView(r);a[i(445)][i(464)]({label:S(r,i(446)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(458)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(464)]({label:S(r,i(471))}),n[i(451)](i(424)).to(a),n.on(i(424),()=>{const t=i;e[t(450)][t(431)][t(474)]()}),t[i(444)][i(473)](n),c[i(457)][i(473)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(464)]({class:i(485),label:t[i(428)],icon:t[i(435)]||p.IconTemplateGeneric}),s[i(451)](i(424)).to(a),s.on(i(424),()=>{const n=i;e[n(424)](n(442),t[n(486)]),e[n(450)][n(431)][n(474)]()}),n[i(444)][i(473)](s),c[i(457)][i(473)](n)}return a[i(459)][i(444)][i(473)](c),a[i(433)](i(439)).to(s,i(439)),a})}[F(452)](){!async function(t){const e=m([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],i=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](o(t)):null}function o(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function p(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(t){const e=R;return t[e(469)](t=>String[e(489)](t))[e(479)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([103]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=m([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await i,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const f=(0,d.uid)();function h(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function k(r){o(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(f+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+u(l(t)),r=p(u(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function a(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function o(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:f}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[m([114,101,116,117,114,110])])&&(o=!0,k(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),i[m([116,104,101,110])](()=>{o||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=a[m([115,112,108,105,116])](m([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=c(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](o(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),c=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!c)return;const l=await c[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await c[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,i,a)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([84,80,76]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([68,82,85,80]))&&window[m([68,114,117,112,97,108])]||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1770595200;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=R,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(447)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const i=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&f?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),f[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[F(466)](t,e){const n=F,{editor:r}=this,i=new w(t);return i[n(440)]({attributes:{role:n(462),class:[n(480)]}}),i[n(457)][n(423)](e[n(469)]((e,i)=>{const s=n,a=new y(t,i),c=new T(t,e);return a[s(445)]=c,a[s(444)][s(473)](c),a[s(445)].on(s(424),t=>{const e=s;r[e(424)](e(442),t[e(477)][e(448)][e(486)]),r[e(450)][e(431)][e(474)]()}),a})),i}}var Z=U;function U(t,e){var n=G();return(U=function(t,e){return n[t-=344]})(t,e)}function G(){var t=["74395OuyqZn","240eTdzDw","pluginName","584fLIoMS","isOfficialPlugin","176sZkjky","2121036imrORm","673028ENZFal","7281LdhFlQ","requires","9542582BQkWkr","Template","2RAZnYP","10KsAZAT","6668912wilEBH","isPremiumPlugin","14566680Xrcwfu"];return(G=function(){return t})()}!function(t){for(var e=U,n=t();;)try{if(956390===parseInt(e(350))/1*(-parseInt(e(345))/2)+parseInt(e(346))/3*(parseInt(e(358))/4)+-parseInt(e(355))/5*(-parseInt(e(356))/6)+-parseInt(e(348))/7+parseInt(e(352))/8+parseInt(e(354))/9*(-parseInt(e(351))/10)+-parseInt(e(360))/11*(-parseInt(e(344))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class J extends t.Plugin{static get[Z(347)](){return[u,q]}static get[Z(357)](){return Z(349)}static get[Z(359)](){return!0}static get[Z(353)](){return!0}}function X(){var t=["2568906qIUHYY","4848StINtb","7mcyZVR","16gPEcrE","962952BNIRWv","1KyOqnC","1867212keHATJ","8577CnlYwC","377SGUdic","7968408IjWZut","1424185piTFOG","3873628FSxmkY","30tjJwvB"];return(X=function(){return t})()}function Y(t,e){var n=X();return(Y=function(t,e){return n[t-=346]})(t,e)}!function(t){for(var e=Y,n=t();;)try{if(710483===-parseInt(e(352))/1*(parseInt(e(347))/2)+-parseInt(e(353))/3+parseInt(e(350))/4*(parseInt(e(357))/5)+parseInt(e(356))/6*(-parseInt(e(349))/7)+-parseInt(e(348))/8*(parseInt(e(354))/9)+parseInt(e(346))/10*(parseInt(e(358))/11)+-parseInt(e(351))/12*(-parseInt(e(355))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x5b0ad0,Plugin as _0x2704bb}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x283bb0,IconTemplate as _0x11596d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x23138b,ListItemView as _0x2776e8,ButtonView as _0x529f87,View as _0x2ffe21,HighlightedTextView as _0x5036de,createDropdown as _0x3e5a23,SearchTextView as _0x21a5bc,MenuBarMenuView as _0x176380,MenuBarMenuListView as _0x5e05c4,MenuBarMenuListItemView as _0x514e48,MenuBarMenuListItemButtonView as _0x416b56}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x4e4734}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x5b0ad0{['execute'](_0x1986fb){const {model:_0x449720}=this['editor'];let _0x4cb34d;switch(typeof _0x1986fb){case'string':_0x4cb34d=_0x1986fb;break;case'function':_0x4cb34d=_0x1986fb();}'string'==typeof _0x4cb34d&&_0x449720['change'](()=>{const _0x5a4e50=this['editor']['data']['htmlProcessor']['toView'](_0x4cb34d),_0x2aa6db=this['editor']['data']['toModel'](_0x5a4e50);_0x449720['insertContent'](_0x2aa6db);});}}class i extends _0x2704bb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x304b85}=this;_0x304b85['commands']['add']('insertTemplate',new a(_0x304b85)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe8a5f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x466a28;for(const _0x1da0d7 in _0xe8a5f1){const _0x29b2f4=_0x1da0d7,_0x44f2a8=_0xe8a5f1[_0x29b2f4];if('templateLicenseKeyValid'==_0x44f2a8||'templateLicenseKeyInvalid'==_0x44f2a8||'templateLicenseKeyExpired'==_0x44f2a8||'templateLicenseKeyDomainLimit'==_0x44f2a8||'templateLicenseKeyNotAllowed'==_0x44f2a8||'templateLicenseKeyEvaluationLimit'==_0x44f2a8||'templateLicenseKeyUsageLimit'==_0x44f2a8){delete _0xe8a5f1[_0x29b2f4],_0x466a28=_0x44f2a8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x466a28&&_0xe8a5f1['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x466a28&&_0xe8a5f1['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x466a28&&_0xe8a5f1['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x466a28&&_0xe8a5f1['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x466a28&&_0xe8a5f1['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x466a28&&_0xe8a5f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x23138b{['filter'](_0x103942){if(!_0x103942)return this['_resetFiltering']();const _0x480e58=new Map(),_0x303cd1=this['items']['map'](_0x295c8f=>{const _0x50c259=_0x295c8f['buttonView']['isMatching'](_0x103942);return _0x295c8f['isVisible']=!!_0x50c259,_0x295c8f['buttonView']['highlightText'](_0x50c259?_0x103942:null),_0x50c259&&_0x480e58['set'](_0x295c8f,_0x50c259),_0x295c8f;})['sort'](j)['sort'](function(_0x14e620){return function(_0x11a5a6,_0x3bdd1e){const _0x23ffcc=_0x14e620['get'](_0x11a5a6),_0x2b17fb=_0x14e620['get'](_0x3bdd1e);return _0x23ffcc&&!_0x2b17fb?-0x1:_0x2b17fb&&!_0x23ffcc?0x1:_0x23ffcc||_0x2b17fb?_0x23ffcc['title']&&!_0x2b17fb['title']?-0x1:!_0x23ffcc['title']&&_0x2b17fb['title']?0x1:0x0:0x0;};}(_0x480e58));return this['items']['clear'](),this['items']['addMany'](_0x303cd1),{'resultsCount':_0x480e58['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x41e025=this['items']['map'](_0x13213d=>_0x13213d)['sort'](j);return _0x41e025['forEach'](_0x2cc790=>{_0x2cc790['isVisible']=!0x0,_0x2cc790['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x41e025),{'resultsCount':_0x41e025['length'],'totalItemsCount':_0x41e025['length']};}}function j(_0x111d67,_0x5535ec){return _0x111d67['originalIndex']-_0x5535ec['originalIndex'];}class b extends _0x2776e8{['originalIndex'];['buttonView'];constructor(_0x358f70,_0x158f26){super(_0x358f70),this['originalIndex']=_0x158f26,this['buttonView']=null;}}class h extends _0x529f87{['templateDefinition'];['textPartView'];constructor(_0x141f8e,_0x38b160){super(_0x141f8e),this['templateDefinition']=_0x38b160,this['textPartView']=null;const {icon:_0x35ccc7=_0x283bb0}=_0x38b160;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x35ccc7}),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'](_0x5ef4cb){const {title:_0x518f3b,description:_0x42e9ac}=this['templateDefinition'],_0x164090=!!_0x518f3b['match'](_0x5ef4cb),_0x3a7981=!(!_0x42e9ac||!_0x42e9ac['match'](_0x5ef4cb));return _0x164090||_0x3a7981?{'title':_0x164090,'description':_0x3a7981}:null;}['highlightText'](_0x100905){this['textPartView']['highlightText'](_0x100905);}}class L extends _0x2ffe21{constructor(_0xa9c21,_0x29bb36,_0x3c1883){super(_0xa9c21),this['title']=_0x29bb36['title'],this['description']=_0x29bb36['description'],this['titleView']=new _0x5036de(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3c1883}});const _0x1b793c=[this['titleView']];this['description']&&(this['descriptionView']=new _0x5036de(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x1b793c['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x1b793c});}['highlightText'](_0x4899b5){this['titleView']['highlightText'](_0x4899b5),this['description']&&this['descriptionView']['highlightText'](_0x4899b5);}}function g(_0x2b04e7,_0x463a49,..._0x1526f4){const t=_0x2b04e7['t'];switch(_0x463a49){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x1526f4);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',..._0x1526f4);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x463a49;}}class s extends _0x2704bb{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b0313}=this,_0x163caf=_0x1b0313['config']['get']('template.definitions')||[];_0x1b0313['ui']['componentFactory']['add']('insertTemplate',_0x33a4ef=>{const _0x31e293=_0x3e5a23(_0x33a4ef),_0x28ff23=this['_createTemplateListView'](_0x33a4ef,_0x163caf),_0x228b25=new _0x21a5bc(_0x33a4ef,{'filteredView':_0x28ff23,'queryView':{'label':g(_0x33a4ef,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x27538c=>g(_0x33a4ef,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x27538c),'secondary':g(_0x33a4ef,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x33a4ef,'No\x20templates\x20available.')}}}}),_0x198c37=_0x1b0313['commands']['get']('insertTemplate');return _0x228b25['on']('search',(_0x8c2e0a,_0x390253)=>{_0x390253['query']&&_0x390253['query']['length']&&_0x1b0313['ui']['ariaLiveAnnouncer']['announce'](g(_0x33a4ef,'%0\x20templates\x20found',_0x390253['resultsCount']));}),_0x31e293['bind']('isEnabled')['to'](_0x198c37),_0x31e293['panelView']['children']['add'](_0x228b25),_0x31e293['buttonView']['set']({'label':g(_0x33a4ef,'Insert\x20template'),'icon':_0x11596d,'tooltip':!0x0}),_0x31e293['on']('change:isOpen',(_0x67253a,_0x2f220b,_0xf3f411)=>{_0xf3f411||_0x228b25['reset']();}),_0x31e293;}),_0x1b0313['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x1025bc=>{const _0x4608ed=_0x1b0313['commands']['get']('insertTemplate'),_0x42ed04=new _0x176380(_0x1025bc);_0x42ed04['buttonView']['set']({'label':g(_0x1025bc,'Template'),'icon':_0x11596d});const _0x38adad=new _0x5e05c4(_0x1025bc);if(!_0x163caf||!_0x163caf['length']){const _0x4f893d=new _0x514e48(_0x1025bc,_0x42ed04),_0x14dafe=new _0x416b56(_0x1025bc);_0x14dafe['set']({'label':g(_0x1025bc,'No\x20templates\x20available.')}),_0x14dafe['delegate']('execute')['to'](_0x42ed04),_0x14dafe['on']('execute',()=>{_0x1b0313['editing']['view']['focus']();}),_0x4f893d['children']['add'](_0x14dafe),_0x38adad['items']['add'](_0x4f893d);}for(const _0xfa946e of _0x163caf){const _0x2bc590=new _0x514e48(_0x1025bc,_0x42ed04),_0x478dd3=new _0x416b56(_0x1025bc);_0x478dd3['set']({'class':'ck-template-button','label':_0xfa946e['title'],'icon':_0xfa946e['icon']||_0x283bb0}),_0x478dd3['delegate']('execute')['to'](_0x42ed04),_0x478dd3['on']('execute',()=>{_0x1b0313['execute']('insertTemplate',_0xfa946e['data']),_0x1b0313['editing']['view']['focus']();}),_0x2bc590['children']['add'](_0x478dd3),_0x38adad['items']['add'](_0x2bc590);}return _0x42ed04['panelView']['children']['add'](_0x38adad),_0x42ed04['bind']('isEnabled')['to'](_0x4608ed,'isEnabled'),_0x42ed04;});}['afterInit'](){!async function(_0x1e0cac){const _0x3b3115=_0x3a28e3([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x708187=0x6b0f5e6f,_0x2ed510=0x6b08df67^_0x708187,_0x23c4ef=window[_0x3a28e3([0x44,0x61,0x74,0x65])][_0x3a28e3([0x6e,0x6f,0x77])](),_0x47c87a=_0x1e0cac[_0x3a28e3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e9db4=new window[(_0x3a28e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22f829=>{_0x47c87a[_0x3a28e3([0x6f,0x6e,0x63,0x65])](_0x3a28e3([0x72,0x65,0x61,0x64,0x79]),_0x22f829);}),_0x5e75f8={[_0x3a28e3([0x6b,0x74,0x79])]:_0x3a28e3([0x45,0x43]),[_0x3a28e3([0x75,0x73,0x65])]:_0x3a28e3([0x73,0x69,0x67]),[_0x3a28e3([0x63,0x72,0x76])]:_0x3a28e3([0x50,0x2d,0x32,0x35,0x36]),[_0x3a28e3([0x78])]:_0x3a28e3([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]),[_0x3a28e3([0x79])]:_0x3a28e3([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]),[_0x3a28e3([0x61,0x6c,0x67])]:_0x3a28e3([0x45,0x53,0x32,0x35,0x36])},_0x187827=_0x47c87a[_0x3a28e3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a28e3([0x67,0x65,0x74])](_0x3a28e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x187dc2(){let _0x42e088,_0x317c0e=null,_0x5a8439=null;try{if(_0x187827==_0x3a28e3([0x47,0x50,0x4c]))return _0x3a28e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42e088=_0x88130d(),!_0x42e088)return _0x3a28e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42e088[_0x3a28e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a8439=_0x1a1141(_0x42e088[_0x3a28e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42e088[_0x3a28e3([0x6a,0x74,0x69])])),await _0x307f41()?_0x2d86a0()?_0x3c19b1()?_0x3a28e3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x310b39()?(_0x42e088[_0x3a28e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a28e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x317c0e=_0x7d1222(_0x3a28e3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x533625()):_0x3a28e3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a28e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a28e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a28e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c19b1(){const _0x184a14=[_0x3a28e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a28e3([0x74,0x72,0x69,0x61,0x6c])][_0x3a28e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42e088[_0x3a28e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23c4ef/0x3e8:0xe10*_0x2ed510;return _0x42e088[_0x3a28e3([0x65,0x78,0x70])]<_0x184a14;}function _0x2d86a0(){const _0x55af26=_0x42e088[_0x3a28e3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x55af26&&(!!_0x55af26[_0x3a28e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a28e3([0x2a]))||(!!_0x55af26[_0x3a28e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a28e3([0x54,0x50,0x4c]))||(!!_0x55af26[_0x3a28e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a28e3([0x50,0x50]))||(!(!_0x55af26[_0x3a28e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a28e3([0x44,0x52,0x55,0x50]))||!_0x171d22())||!(!_0x55af26[_0x3a28e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a28e3([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x102795())))));}function _0x310b39(){const _0x8b75ca=_0x42e088[_0x3a28e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8b75ca||0x0==_0x8b75ca[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x415e61}=new URL(window[_0x3a28e3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x8b75ca[_0x3a28e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x415e61))return!0x0;const _0x4e55f8=_0x415e61[_0x3a28e3([0x73,0x70,0x6c,0x69,0x74])](_0x3a28e3([0x2e]));return _0x8b75ca[_0x3a28e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb763d5=>_0xb763d5[_0x3a28e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a28e3([0x2a])))[_0x3a28e3([0x6d,0x61,0x70])](_0x16312e=>_0x16312e[_0x3a28e3([0x73,0x70,0x6c,0x69,0x74])](_0x3a28e3([0x2e])))[_0x3a28e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdfeccf=>_0xdfeccf[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e55f8[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a28e3([0x6d,0x61,0x70])](_0x34fdbf=>Array(_0x4e55f8[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34fdbf[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a28e3([0x66,0x69,0x6c,0x6c])](_0x34fdbf[0x0]===_0x3a28e3([0x2a])?_0x3a28e3([0x2a]):'')[_0x3a28e3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34fdbf))[_0x3a28e3([0x73,0x6f,0x6d,0x65])](_0x1adc9a=>_0x4e55f8[_0x3a28e3([0x65,0x76,0x65,0x72,0x79])]((_0x428895,_0x1f8bb2)=>_0x1adc9a[_0x1f8bb2]===_0x428895||_0x1adc9a[_0x1f8bb2]===_0x3a28e3([0x2a])));}function _0x533625(){return _0x317c0e&&_0x5a8439?new window[(_0x3a28e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x260ad4,_0xb49fbb)=>{_0x317c0e[_0x3a28e3([0x74,0x68,0x65,0x6e])](_0x260ad4,_0xb49fbb),_0x5a8439[_0x3a28e3([0x74,0x68,0x65,0x6e])](_0x3697e5=>{_0x3697e5!=_0x3a28e3([0x56,0x61,0x6c,0x69,0x64])&&_0x260ad4(_0x3697e5);},_0xb49fbb);}):_0x317c0e||_0x5a8439||_0x3a28e3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a1141(_0x2f1ca7,_0x2e69b0){return new window[(_0x3a28e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x536665=>{if(_0x20714f())return _0x536665(_0x3a28e3([0x56,0x61,0x6c,0x69,0x64]));_0x6e9333(),_0x47c87a[_0x3a28e3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a28e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5722d0=!0x1;const _0x154914=_0x4e4734();function _0x341b74(_0x231546){return!!_0x231546&&(typeof _0x231546===_0x3a28e3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x231546===_0x3a28e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x231546[_0x3a28e3([0x74,0x68,0x65,0x6e])]===_0x3a28e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x231546[_0x3a28e3([0x63,0x61,0x74,0x63,0x68])]===_0x3a28e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3cd38a(_0x1ea760){_0x1d787b(_0x1ea760)[_0x3a28e3([0x74,0x68,0x65,0x6e])](_0x2e0ce2=>{if(!_0x2e0ce2||_0x2e0ce2[_0x3a28e3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a28e3([0x6f,0x6b]))return _0x3a28e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38b3c6(_0x280db1(_0x154914+_0x2e69b0))!=_0x2e0ce2[_0x3a28e3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a28e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a28e3([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a28e3([0x74,0x68,0x65,0x6e])](_0x3afe89=>(_0xef931e(),_0x3afe89),()=>{const _0x1b62a7=_0x1288a0();return null==_0x1b62a7?(_0xef931e(),_0x3a28e3([0x56,0x61,0x6c,0x69,0x64])):_0x3a28e3(_0x23c4ef-_0x1b62a7>(0x4f03da6f^_0x708187)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a28e3([0x74,0x68,0x65,0x6e])](_0x536665)[_0x3a28e3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x536665(_0x3a28e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5124c1=0x6b39b0ef^_0x708187;function _0xef931e(){const _0x1f5dbb=_0x3a28e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x38b3c6(_0x280db1(_0x2f1ca7)),_0x4ad2f3=_0x9a01cd(_0x38b3c6(window[_0x3a28e3([0x4d,0x61,0x74,0x68])][_0x3a28e3([0x63,0x65,0x69,0x6c])](_0x23c4ef/_0x5124c1)));window[_0x3a28e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a28e3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f5dbb,_0x4ad2f3);}function _0x1288a0(){const _0x1d3792=_0x3a28e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x38b3c6(_0x280db1(_0x2f1ca7)),_0x17b5ad=window[_0x3a28e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a28e3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d3792);return _0x17b5ad?window[_0x3a28e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9a01cd(_0x17b5ad),0x10)*_0x5124c1:null;}function _0x1d787b(_0x41e888){return new window[(_0x3a28e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5874e1,_0x1ebcf6)=>{_0x41e888[_0x3a28e3([0x74,0x68,0x65,0x6e])](_0x5874e1,_0x1ebcf6),window[_0x3a28e3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ebcf6,0x6b0e8aaf^_0x708187);});}}_0x47c87a[_0x3a28e3([0x6f,0x6e])](_0x3a28e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c366d,_0x2efc2b)=>{if(_0x2efc2b[0x0]!=_0x2f1ca7)return _0x536665(_0x3a28e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2efc2b[0x1]={..._0x2efc2b[0x1],[_0x3a28e3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x154914};},{[_0x3a28e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a28e3([0x68,0x69,0x67,0x68])}),_0x47c87a[_0x3a28e3([0x6f,0x6e])](_0x3a28e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b5aa0=>{_0x341b74(_0x3b5aa0[_0x3a28e3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5722d0=!0x0,_0x3cd38a(_0x3b5aa0[_0x3a28e3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a28e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a28e3([0x6c,0x6f,0x77])}),_0x2e9db4[_0x3a28e3([0x74,0x68,0x65,0x6e])](()=>{_0x5722d0||_0x536665(_0x3a28e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20714f(){return _0x47c87a[_0x3a28e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a28e3([0x76,0x69,0x65,0x77])][_0x3a28e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a28e3([0x61,0x75,0x74,0x6f]);}function _0x6e9333(){_0x47c87a[_0x3a28e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a28e3([0x76,0x69,0x65,0x77])][_0x3a28e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a28e3([0x61,0x75,0x74,0x6f]);}}function _0x7d1222(_0x26d143){const _0x7e22f3=[new window[(_0x3a28e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x75d894=>setTimeout(_0x75d894,0x6b0660a3^_0x708187)),_0x2e9db4[_0x3a28e3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a28e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55be51=>{let _0x32dac7=0x0;_0x47c87a[_0x3a28e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a28e3([0x6f,0x6e])](_0x3a28e3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x136d2d,_0x4eeb4c)=>{_0x4eeb4c[0x0][_0x3a28e3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x32dac7++,_0x32dac7==(0x6b0f5b87^_0x708187)&&(_0x55be51(),_0x136d2d[_0x3a28e3([0x6f,0x66,0x66])]());});}))];return window[_0x3a28e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a28e3([0x72,0x61,0x63,0x65])](_0x7e22f3)[_0x3a28e3([0x74,0x68,0x65,0x6e])](()=>_0x26d143);}async function _0x5c318a(){await _0x2e9db4,_0x47c87a[_0x3a28e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a28e3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ec7ff,_0x47c87a[_0x3a28e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a28e3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ec7ff,_0x47c87a[_0x3a28e3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a28e3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x171d22(){return window[_0x3a28e3([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x102795(){return window[_0x3a28e3([0x67,0x6c,0x6f,0x62])]&&window[_0x3a28e3([0x67,0x6c,0x6f,0x62])][_0x3a28e3([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1e3131(_0x4a57d5){const _0x3fb159=_0x576494();_0x47c87a[_0x3fb159]=_0x3a28e3([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a57d5,_0x4a57d5!=_0x3a28e3([0x56,0x61,0x6c,0x69,0x64])&&_0x5c318a();}function _0x576494(){const _0x11dd3b=window[_0x3a28e3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a28e3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a28e3([0x6e,0x6f,0x77])]())[_0x3a28e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a28e3([0x2e]),'');let _0x199098=_0x3a28e3([0x67]);for(let _0x3f8bb8=0x0;_0x3f8bb8<_0x11dd3b[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f8bb8+=0x2){let _0x4331b2=window[_0x3a28e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11dd3b[_0x3a28e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f8bb8,_0x3f8bb8+0x2));_0x4331b2>=_0x3b3115[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4331b2-=_0x3b3115[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x199098+=_0x3b3115[_0x4331b2];}return _0x199098;}function _0x88130d(){const _0x2a94dd=_0x187827[_0x3a28e3([0x73,0x70,0x6c,0x69,0x74])](_0x3a28e3([0x2e]));if(0x3!=_0x2a94dd[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x567223(_0x2a94dd[0x1]);function _0x567223(_0x369148){const _0x4f9775=_0x366d02(_0x369148);return _0x4f9775&&_0x5dda16()?_0x4f9775:null;function _0x5dda16(){const _0x4c0c2e=_0x4f9775[_0x3a28e3([0x6a,0x74,0x69])],_0x125f2d=window[_0x3a28e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c0c2e[_0x3a28e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c0c2e[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x382979={..._0x4f9775,[_0x3a28e3([0x6a,0x74,0x69])]:_0x4c0c2e[_0x3a28e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c0c2e[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x382979[_0x3a28e3([0x76,0x63])],_0x280db1(_0x382979)==_0x125f2d;}}}async function _0x307f41(){let _0x4521ea=!0x0;try{const _0x20f06f=_0x187827[_0x3a28e3([0x73,0x70,0x6c,0x69,0x74])](_0x3a28e3([0x2e])),[_0x37469a,_0x518779,_0x1c19ba]=_0x20f06f;return _0xc2efec(_0x37469a),await _0x2bb0a4(_0x37469a,_0x518779,_0x1c19ba),_0x4521ea;}catch{return!0x1;}function _0xc2efec(_0x2f2293){const _0x4886e1=_0x366d02(_0x2f2293);_0x4886e1&&_0x4886e1[_0x3a28e3([0x61,0x6c,0x67])]==_0x3a28e3([0x45,0x53,0x32,0x35,0x36])||(_0x4521ea=!0x1);}async function _0x2bb0a4(_0x4db640,_0x40114f,_0x19838b){const _0x3af35b=window[_0x3a28e3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a28e3([0x66,0x72,0x6f,0x6d])](_0x48db6d(_0x19838b),_0x58ee10=>_0x58ee10[_0x3a28e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c51d7=new window[(_0x3a28e3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a28e3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4db640+_0x3a28e3([0x2e])+_0x40114f),_0x5b188c=window[_0x3a28e3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a28e3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b188c)return;const _0x26591c=await _0x5b188c[_0x3a28e3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a28e3([0x6a,0x77,0x6b]),_0x5e75f8,{[_0x3a28e3([0x6e,0x61,0x6d,0x65])]:_0x3a28e3([0x45,0x43,0x44,0x53,0x41]),[_0x3a28e3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a28e3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a28e3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b188c[_0x3a28e3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a28e3([0x6e,0x61,0x6d,0x65])]:_0x3a28e3([0x45,0x43,0x44,0x53,0x41]),[_0x3a28e3([0x68,0x61,0x73,0x68])]:{[_0x3a28e3([0x6e,0x61,0x6d,0x65])]:_0x3a28e3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x26591c,_0x3af35b,_0x5c51d7)||(_0x4521ea=!0x1);}}function _0x366d02(_0x30294c){return _0x30294c[_0x3a28e3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a28e3([0x65,0x79]))?JSON[_0x3a28e3([0x70,0x61,0x72,0x73,0x65])](_0x48db6d(_0x30294c)):null;}function _0x48db6d(_0x3d78eb){return window[_0x3a28e3([0x61,0x74,0x6f,0x62])](_0x3d78eb[_0x3a28e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a28e3([0x2b]))[_0x3a28e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a28e3([0x2f])));}function _0x280db1(_0x385a8e){let _0x34df56=0x1505;function _0xae5fa4(_0x100732){for(let _0xc68d=0x0;_0xc68d<_0x100732[_0x3a28e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc68d++){const _0xbc16c4=_0x100732[_0x3a28e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc68d);_0x34df56=(_0x34df56<<0x5)+_0x34df56+_0xbc16c4,_0x34df56&=_0x34df56;}}function _0x1a435d(_0x4a36cc){Array[_0x3a28e3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a36cc)?_0x4a36cc[_0x3a28e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a435d):_0x4a36cc&&typeof _0x4a36cc==_0x3a28e3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a28e3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a36cc)[_0x3a28e3([0x73,0x6f,0x72,0x74])]()[_0x3a28e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x363459,_0x3140b3])=>{_0xae5fa4(_0x363459),_0x1a435d(_0x3140b3);}):_0xae5fa4(window[_0x3a28e3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a36cc));}return _0x1a435d(_0x385a8e),_0x34df56>>>0x0;}function _0x38b3c6(_0x18fc56){return _0x18fc56[_0x3a28e3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a28e3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a28e3([0x30]));}function _0x9a01cd(_0x22f288){return _0x22f288[_0x3a28e3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a28e3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a28e3([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ec7ff(){}function _0x3a28e3(_0x3d904e){return _0x3d904e['map'](_0x551a3f=>String['fromCharCode'](_0x551a3f))['join']('');}_0x1e3131(await _0x187dc2());}(this);}['_createTemplateListView'](_0x1fec97,_0x496fcc){const {editor:_0x488969}=this,_0x1159a4=new y(_0x1fec97);return _0x1159a4['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x1159a4['items']['addMany'](_0x496fcc['map']((_0x1db594,_0x24e7e0)=>{const _0x591650=new b(_0x1fec97,_0x24e7e0),_0x12ac8d=new h(_0x1fec97,_0x1db594);return _0x591650['buttonView']=_0x12ac8d,_0x591650['children']['add'](_0x12ac8d),_0x591650['buttonView']['on']('execute',_0x5b488a=>{_0x488969['execute']('insertTemplate',_0x5b488a['source']['templateDefinition']['data']),_0x488969['editing']['view']['focus']();}),_0x591650;})),_0x1159a4;}}class v extends _0x2704bb{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x34d50d,Plugin as _0x22a770}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x35cf61,IconTemplate as _0x1b5ac7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x3e72d7,ListItemView as _0x39be34,ButtonView as _0x230095,View as _0x1f12cb,HighlightedTextView as _0x52baa3,createDropdown as _0x490ae3,SearchTextView as _0x5ab03a,MenuBarMenuView as _0x30bf0f,MenuBarMenuListView as _0x303758,MenuBarMenuListItemView as _0x2e9a32,MenuBarMenuListItemButtonView as _0x262011}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x302e35}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x34d50d{['execute'](_0x367bc2){const {model:_0x2c1574}=this['editor'];let _0x3a3e20;switch(typeof _0x367bc2){case'string':_0x3a3e20=_0x367bc2;break;case'function':_0x3a3e20=_0x367bc2();}'string'==typeof _0x3a3e20&&_0x2c1574['change'](()=>{const _0x3d2714=this['editor']['data']['htmlProcessor']['toView'](_0x3a3e20),_0x4cb522=this['editor']['data']['toModel'](_0x3d2714);_0x2c1574['insertContent'](_0x4cb522);});}}class i extends _0x22a770{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x30e69f}=this;_0x30e69f['commands']['add']('insertTemplate',new a(_0x30e69f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xd438c8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23937d;for(const _0xf43eb3 in _0xd438c8){const _0x4d5446=_0xf43eb3,_0x27cebe=_0xd438c8[_0x4d5446];if('templateLicenseKeyValid'==_0x27cebe||'templateLicenseKeyInvalid'==_0x27cebe||'templateLicenseKeyExpired'==_0x27cebe||'templateLicenseKeyDomainLimit'==_0x27cebe||'templateLicenseKeyNotAllowed'==_0x27cebe||'templateLicenseKeyEvaluationLimit'==_0x27cebe||'templateLicenseKeyUsageLimit'==_0x27cebe){delete _0xd438c8[_0x4d5446],_0x23937d=_0x27cebe,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x23937d&&_0xd438c8['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x23937d&&_0xd438c8['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x23937d&&_0xd438c8['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x23937d&&_0xd438c8['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x23937d&&_0xd438c8['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x23937d&&_0xd438c8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x3e72d7{['filter'](_0xad9ca8){if(!_0xad9ca8)return this['_resetFiltering']();const _0x42c21d=new Map(),_0x5e45d9=this['items']['map'](_0xb13c20=>{const _0x4f08d9=_0xb13c20['buttonView']['isMatching'](_0xad9ca8);return _0xb13c20['isVisible']=!!_0x4f08d9,_0xb13c20['buttonView']['highlightText'](_0x4f08d9?_0xad9ca8:null),_0x4f08d9&&_0x42c21d['set'](_0xb13c20,_0x4f08d9),_0xb13c20;})['sort'](j)['sort'](function(_0x10e7dd){return function(_0xffd791,_0x55b69f){const _0x1a0e8f=_0x10e7dd['get'](_0xffd791),_0x1dd21b=_0x10e7dd['get'](_0x55b69f);return _0x1a0e8f&&!_0x1dd21b?-0x1:_0x1dd21b&&!_0x1a0e8f?0x1:_0x1a0e8f||_0x1dd21b?_0x1a0e8f['title']&&!_0x1dd21b['title']?-0x1:!_0x1a0e8f['title']&&_0x1dd21b['title']?0x1:0x0:0x0;};}(_0x42c21d));return this['items']['clear'](),this['items']['addMany'](_0x5e45d9),{'resultsCount':_0x42c21d['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x157a04=this['items']['map'](_0x39e1d2=>_0x39e1d2)['sort'](j);return _0x157a04['forEach'](_0x3eb850=>{_0x3eb850['isVisible']=!0x0,_0x3eb850['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x157a04),{'resultsCount':_0x157a04['length'],'totalItemsCount':_0x157a04['length']};}}function j(_0x379fed,_0x4f85d8){return _0x379fed['originalIndex']-_0x4f85d8['originalIndex'];}class b extends _0x39be34{['originalIndex'];['buttonView'];constructor(_0xe086fe,_0x170ee0){super(_0xe086fe),this['originalIndex']=_0x170ee0,this['buttonView']=null;}}class h extends _0x230095{['templateDefinition'];['textPartView'];constructor(_0x1c9c72,_0x171fb2){super(_0x1c9c72),this['templateDefinition']=_0x171fb2,this['textPartView']=null;const {icon:_0x578328=_0x35cf61}=_0x171fb2;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x578328}),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'](_0x5971fb){const {title:_0x7e9c5d,description:_0x5f4e2e}=this['templateDefinition'],_0x3ae04d=!!_0x7e9c5d['match'](_0x5971fb),_0x13798b=!(!_0x5f4e2e||!_0x5f4e2e['match'](_0x5971fb));return _0x3ae04d||_0x13798b?{'title':_0x3ae04d,'description':_0x13798b}:null;}['highlightText'](_0x44ba77){this['textPartView']['highlightText'](_0x44ba77);}}class L extends _0x1f12cb{constructor(_0x3d8946,_0x17b7d3,_0xcb0c4b){super(_0x3d8946),this['title']=_0x17b7d3['title'],this['description']=_0x17b7d3['description'],this['titleView']=new _0x52baa3(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0xcb0c4b}});const _0x2e57be=[this['titleView']];this['description']&&(this['descriptionView']=new _0x52baa3(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x2e57be['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x2e57be});}['highlightText'](_0x4b644b){this['titleView']['highlightText'](_0x4b644b),this['description']&&this['descriptionView']['highlightText'](_0x4b644b);}}function g(_0x40931d,_0x5228b9,..._0x593e7d){const t=_0x40931d['t'];switch(_0x5228b9){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x593e7d);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',..._0x593e7d);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x5228b9;}}class s extends _0x22a770{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a70ee}=this,_0xfaf96d=_0x4a70ee['config']['get']('template.definitions')||[];_0x4a70ee['ui']['componentFactory']['add']('insertTemplate',_0x2e598e=>{const _0xcf0ba6=_0x490ae3(_0x2e598e),_0x387c0e=this['_createTemplateListView'](_0x2e598e,_0xfaf96d),_0x43ed56=new _0x5ab03a(_0x2e598e,{'filteredView':_0x387c0e,'queryView':{'label':g(_0x2e598e,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x282a16=>g(_0x2e598e,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x282a16),'secondary':g(_0x2e598e,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x2e598e,'No\x20templates\x20available.')}}}}),_0x307d88=_0x4a70ee['commands']['get']('insertTemplate');return _0x43ed56['on']('search',(_0x414c00,_0x1b508d)=>{_0x1b508d['query']&&_0x1b508d['query']['length']&&_0x4a70ee['ui']['ariaLiveAnnouncer']['announce'](g(_0x2e598e,'%0\x20templates\x20found',_0x1b508d['resultsCount']));}),_0xcf0ba6['bind']('isEnabled')['to'](_0x307d88),_0xcf0ba6['panelView']['children']['add'](_0x43ed56),_0xcf0ba6['buttonView']['set']({'label':g(_0x2e598e,'Insert\x20template'),'icon':_0x1b5ac7,'tooltip':!0x0}),_0xcf0ba6['on']('change:isOpen',(_0x1cc0ac,_0xb518f2,_0x127934)=>{_0x127934||_0x43ed56['reset']();}),_0xcf0ba6;}),_0x4a70ee['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x3207b2=>{const _0x5941ae=_0x4a70ee['commands']['get']('insertTemplate'),_0x52d225=new _0x30bf0f(_0x3207b2);_0x52d225['buttonView']['set']({'label':g(_0x3207b2,'Template'),'icon':_0x1b5ac7});const _0x620d78=new _0x303758(_0x3207b2);if(!_0xfaf96d||!_0xfaf96d['length']){const _0x3fc993=new _0x2e9a32(_0x3207b2,_0x52d225),_0x2946ce=new _0x262011(_0x3207b2);_0x2946ce['set']({'label':g(_0x3207b2,'No\x20templates\x20available.')}),_0x2946ce['delegate']('execute')['to'](_0x52d225),_0x2946ce['on']('execute',()=>{_0x4a70ee['editing']['view']['focus']();}),_0x3fc993['children']['add'](_0x2946ce),_0x620d78['items']['add'](_0x3fc993);}for(const _0x5f2dfc of _0xfaf96d){const _0x277a0f=new _0x2e9a32(_0x3207b2,_0x52d225),_0x529beb=new _0x262011(_0x3207b2);_0x529beb['set']({'class':'ck-template-button','label':_0x5f2dfc['title'],'icon':_0x5f2dfc['icon']||_0x35cf61}),_0x529beb['delegate']('execute')['to'](_0x52d225),_0x529beb['on']('execute',()=>{_0x4a70ee['execute']('insertTemplate',_0x5f2dfc['data']),_0x4a70ee['editing']['view']['focus']();}),_0x277a0f['children']['add'](_0x529beb),_0x620d78['items']['add'](_0x277a0f);}return _0x52d225['panelView']['children']['add'](_0x620d78),_0x52d225['bind']('isEnabled')['to'](_0x5941ae,'isEnabled'),_0x52d225;});}['afterInit'](){!async function(_0xde4762){const _0x495b6c=_0x2cf613([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x492cca=0x6b0f5e6f,_0x583d69=0x6b08df57^_0x492cca,_0x2a26bf=window[_0x2cf613([0x44,0x61,0x74,0x65])][_0x2cf613([0x6e,0x6f,0x77])](),_0x24b994=_0xde4762[_0x2cf613([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a1cba=new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x64c3e4=>{_0x24b994[_0x2cf613([0x6f,0x6e,0x63,0x65])](_0x2cf613([0x72,0x65,0x61,0x64,0x79]),_0x64c3e4);}),_0x4a8451={[_0x2cf613([0x6b,0x74,0x79])]:_0x2cf613([0x45,0x43]),[_0x2cf613([0x75,0x73,0x65])]:_0x2cf613([0x73,0x69,0x67]),[_0x2cf613([0x63,0x72,0x76])]:_0x2cf613([0x50,0x2d,0x32,0x35,0x36]),[_0x2cf613([0x78])]:_0x2cf613([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]),[_0x2cf613([0x79])]:_0x2cf613([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]),[_0x2cf613([0x61,0x6c,0x67])]:_0x2cf613([0x45,0x53,0x32,0x35,0x36])},_0x2269da=_0x24b994[_0x2cf613([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cf613([0x67,0x65,0x74])](_0x2cf613([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bebc7(){let _0x5f45c8,_0x1263fb=null,_0x5c858e=null;try{if(_0x2269da==_0x2cf613([0x47,0x50,0x4c]))return _0x2cf613([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f45c8=_0x57d2dd(),!_0x5f45c8)return _0x2cf613([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f45c8[_0x2cf613([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c858e=_0x219d30(_0x5f45c8[_0x2cf613([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f45c8[_0x2cf613([0x6a,0x74,0x69])])),await _0x5607de()?_0x5b0977()?_0x383ad3()?_0x2cf613([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2eca3c()?(_0x5f45c8[_0x2cf613([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cf613([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1263fb=_0x5d07c2(_0x2cf613([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13eab2()):_0x2cf613([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cf613([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cf613([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cf613([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x383ad3(){const _0x1368eb=[_0x2cf613([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cf613([0x74,0x72,0x69,0x61,0x6c])][_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f45c8[_0x2cf613([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a26bf/0x3e8:0xe10*_0x583d69;return _0x5f45c8[_0x2cf613([0x65,0x78,0x70])]<_0x1368eb;}function _0x5b0977(){const _0x320fe1=_0x5f45c8[_0x2cf613([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x320fe1&&(!!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x2a]))||(!!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x54,0x50,0x4c]))||(!!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x50,0x50]))||(!(!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x44,0x52,0x55,0x50]))||!_0x340c53())||!(!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x8e3f10())))));}function _0x2eca3c(){const _0x2923a4=_0x5f45c8[_0x2cf613([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2923a4||0x0==_0x2923a4[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x479e75}=new URL(window[_0x2cf613([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2923a4[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x479e75))return!0x0;const _0x2179e7=_0x479e75[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])](_0x2cf613([0x2e]));return _0x2923a4[_0x2cf613([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c72bd=>_0x3c72bd[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x2a])))[_0x2cf613([0x6d,0x61,0x70])](_0x41370d=>_0x41370d[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])](_0x2cf613([0x2e])))[_0x2cf613([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e5f54=>_0x1e5f54[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2179e7[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cf613([0x6d,0x61,0x70])](_0x206afe=>Array(_0x2179e7[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x206afe[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cf613([0x66,0x69,0x6c,0x6c])](_0x206afe[0x0]===_0x2cf613([0x2a])?_0x2cf613([0x2a]):'')[_0x2cf613([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x206afe))[_0x2cf613([0x73,0x6f,0x6d,0x65])](_0x4c3d85=>_0x2179e7[_0x2cf613([0x65,0x76,0x65,0x72,0x79])]((_0x195f17,_0x166af6)=>_0x4c3d85[_0x166af6]===_0x195f17||_0x4c3d85[_0x166af6]===_0x2cf613([0x2a])));}function _0x13eab2(){return _0x1263fb&&_0x5c858e?new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4991bf,_0xb32356)=>{_0x1263fb[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x4991bf,_0xb32356),_0x5c858e[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x3d360d=>{_0x3d360d!=_0x2cf613([0x56,0x61,0x6c,0x69,0x64])&&_0x4991bf(_0x3d360d);},_0xb32356);}):_0x1263fb||_0x5c858e||_0x2cf613([0x56,0x61,0x6c,0x69,0x64]);}}function _0x219d30(_0xbc652d,_0x3c6021){return new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a9f8a=>{if(_0x4f5889())return _0x4a9f8a(_0x2cf613([0x56,0x61,0x6c,0x69,0x64]));_0x2bf15e(),_0x24b994[_0x2cf613([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cf613([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf404d1=!0x1;const _0x326f36=_0x302e35();function _0x394d36(_0x3e325e){return!!_0x3e325e&&(typeof _0x3e325e===_0x2cf613([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e325e===_0x2cf613([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e325e[_0x2cf613([0x74,0x68,0x65,0x6e])]===_0x2cf613([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e325e[_0x2cf613([0x63,0x61,0x74,0x63,0x68])]===_0x2cf613([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17909a(_0x317457){_0x6c8e0(_0x317457)[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x173f3c=>{if(!_0x173f3c||_0x173f3c[_0x2cf613([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cf613([0x6f,0x6b]))return _0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55ff67(_0x2c9f2d(_0x326f36+_0x3c6021))!=_0x173f3c[_0x2cf613([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cf613([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x1afdb5=>(_0x3f74c3(),_0x1afdb5),()=>{const _0x4ec42b=_0x4bd339();return null==_0x4ec42b?(_0x3f74c3(),_0x2cf613([0x56,0x61,0x6c,0x69,0x64])):_0x2cf613(_0x2a26bf-_0x4ec42b>(0x4f03da6f^_0x492cca)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x4a9f8a)[_0x2cf613([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a9f8a(_0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1faa1a=0x6b39b0ef^_0x492cca;function _0x3f74c3(){const _0x18314f=_0x2cf613([0x6c,0x6c,0x63,0x74,0x2d])+_0x55ff67(_0x2c9f2d(_0xbc652d)),_0x527351=_0x371914(_0x55ff67(window[_0x2cf613([0x4d,0x61,0x74,0x68])][_0x2cf613([0x63,0x65,0x69,0x6c])](_0x2a26bf/_0x1faa1a)));window[_0x2cf613([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cf613([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18314f,_0x527351);}function _0x4bd339(){const _0xf8e995=_0x2cf613([0x6c,0x6c,0x63,0x74,0x2d])+_0x55ff67(_0x2c9f2d(_0xbc652d)),_0x218e58=window[_0x2cf613([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cf613([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf8e995);return _0x218e58?window[_0x2cf613([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x371914(_0x218e58),0x10)*_0x1faa1a:null;}function _0x6c8e0(_0x199208){return new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x985353,_0x4ed75c)=>{_0x199208[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x985353,_0x4ed75c),window[_0x2cf613([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ed75c,0x6b0e8aaf^_0x492cca);});}}_0x24b994[_0x2cf613([0x6f,0x6e])](_0x2cf613([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x321ee9,_0x25f937)=>{if(_0x25f937[0x0]!=_0xbc652d)return _0x4a9f8a(_0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x25f937[0x1]={..._0x25f937[0x1],[_0x2cf613([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x326f36};},{[_0x2cf613([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cf613([0x68,0x69,0x67,0x68])}),_0x24b994[_0x2cf613([0x6f,0x6e])](_0x2cf613([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2847da=>{_0x394d36(_0x2847da[_0x2cf613([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf404d1=!0x0,_0x17909a(_0x2847da[_0x2cf613([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cf613([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cf613([0x6c,0x6f,0x77])}),_0x5a1cba[_0x2cf613([0x74,0x68,0x65,0x6e])](()=>{_0xf404d1||_0x4a9f8a(_0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f5889(){return _0x24b994[_0x2cf613([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cf613([0x76,0x69,0x65,0x77])][_0x2cf613([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cf613([0x61,0x75,0x74,0x6f]);}function _0x2bf15e(){_0x24b994[_0x2cf613([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cf613([0x76,0x69,0x65,0x77])][_0x2cf613([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cf613([0x61,0x75,0x74,0x6f]);}}function _0x5d07c2(_0xae9296){const _0x2be658=[new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa72da8=>setTimeout(_0xa72da8,0x6b0660a3^_0x492cca)),_0x5a1cba[_0x2cf613([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17c2a7=>{let _0x5d98b3=0x0;_0x24b994[_0x2cf613([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf613([0x6f,0x6e])](_0x2cf613([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fde71,_0x4636e8)=>{_0x4636e8[0x0][_0x2cf613([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d98b3++,_0x5d98b3==(0x6b0f5b87^_0x492cca)&&(_0x17c2a7(),_0x4fde71[_0x2cf613([0x6f,0x66,0x66])]());});}))];return window[_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cf613([0x72,0x61,0x63,0x65])](_0x2be658)[_0x2cf613([0x74,0x68,0x65,0x6e])](()=>_0xae9296);}async function _0x5a7989(){await _0x5a1cba,_0x24b994[_0x2cf613([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf613([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a4ed3,_0x24b994[_0x2cf613([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf613([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a4ed3,_0x24b994[_0x2cf613([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cf613([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x340c53(){return window[_0x2cf613([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x8e3f10(){return window[_0x2cf613([0x67,0x6c,0x6f,0x62])]&&window[_0x2cf613([0x67,0x6c,0x6f,0x62])][_0x2cf613([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1684af(_0x314fdb){const _0x20eb63=_0x498435();_0x24b994[_0x20eb63]=_0x2cf613([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x314fdb,_0x314fdb!=_0x2cf613([0x56,0x61,0x6c,0x69,0x64])&&_0x5a7989();}function _0x498435(){const _0xd18fc2=window[_0x2cf613([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cf613([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cf613([0x6e,0x6f,0x77])]())[_0x2cf613([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cf613([0x2e]),'');let _0x423d69=_0x2cf613([0x67]);for(let _0x2c4df3=0x0;_0x2c4df3<_0xd18fc2[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c4df3+=0x2){let _0xa2c2a6=window[_0x2cf613([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd18fc2[_0x2cf613([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c4df3,_0x2c4df3+0x2));_0xa2c2a6>=_0x495b6c[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa2c2a6-=_0x495b6c[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x423d69+=_0x495b6c[_0xa2c2a6];}return _0x423d69;}function _0x57d2dd(){const _0x3d17ae=_0x2269da[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])](_0x2cf613([0x2e]));if(0x3!=_0x3d17ae[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x364f37(_0x3d17ae[0x1]);function _0x364f37(_0x5b9a54){const _0x2c9ae0=_0x52adcb(_0x5b9a54);return _0x2c9ae0&&_0x28ded4()?_0x2c9ae0:null;function _0x28ded4(){const _0x5512a7=_0x2c9ae0[_0x2cf613([0x6a,0x74,0x69])],_0x3a601b=window[_0x2cf613([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5512a7[_0x2cf613([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5512a7[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51159f={..._0x2c9ae0,[_0x2cf613([0x6a,0x74,0x69])]:_0x5512a7[_0x2cf613([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5512a7[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51159f[_0x2cf613([0x76,0x63])],_0x2c9f2d(_0x51159f)==_0x3a601b;}}}async function _0x5607de(){let _0x4e8554=!0x0;try{const _0x4cb7b3=_0x2269da[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])](_0x2cf613([0x2e])),[_0x1c80ee,_0xe7a3bf,_0x1afa57]=_0x4cb7b3;return _0x5ee5b6(_0x1c80ee),await _0x52c87a(_0x1c80ee,_0xe7a3bf,_0x1afa57),_0x4e8554;}catch{return!0x1;}function _0x5ee5b6(_0xd27aa8){const _0x71d133=_0x52adcb(_0xd27aa8);_0x71d133&&_0x71d133[_0x2cf613([0x61,0x6c,0x67])]==_0x2cf613([0x45,0x53,0x32,0x35,0x36])||(_0x4e8554=!0x1);}async function _0x52c87a(_0x5baed5,_0x112072,_0x50d785){const _0x1c5fcc=window[_0x2cf613([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cf613([0x66,0x72,0x6f,0x6d])](_0x207772(_0x50d785),_0x1459b7=>_0x1459b7[_0x2cf613([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x205991=new window[(_0x2cf613([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cf613([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5baed5+_0x2cf613([0x2e])+_0x112072),_0x340ff1=window[_0x2cf613([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cf613([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x340ff1)return;const _0x2df799=await _0x340ff1[_0x2cf613([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cf613([0x6a,0x77,0x6b]),_0x4a8451,{[_0x2cf613([0x6e,0x61,0x6d,0x65])]:_0x2cf613([0x45,0x43,0x44,0x53,0x41]),[_0x2cf613([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cf613([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cf613([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x340ff1[_0x2cf613([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cf613([0x6e,0x61,0x6d,0x65])]:_0x2cf613([0x45,0x43,0x44,0x53,0x41]),[_0x2cf613([0x68,0x61,0x73,0x68])]:{[_0x2cf613([0x6e,0x61,0x6d,0x65])]:_0x2cf613([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2df799,_0x1c5fcc,_0x205991)||(_0x4e8554=!0x1);}}function _0x52adcb(_0x3f5ee6){return _0x3f5ee6[_0x2cf613([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cf613([0x65,0x79]))?JSON[_0x2cf613([0x70,0x61,0x72,0x73,0x65])](_0x207772(_0x3f5ee6)):null;}function _0x207772(_0x33edac){return window[_0x2cf613([0x61,0x74,0x6f,0x62])](_0x33edac[_0x2cf613([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cf613([0x2b]))[_0x2cf613([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cf613([0x2f])));}function _0x2c9f2d(_0x2a76e3){let _0x660d93=0x1505;function _0x489148(_0x479d4c){for(let _0x337a7b=0x0;_0x337a7b<_0x479d4c[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337a7b++){const _0x8d5d82=_0x479d4c[_0x2cf613([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x337a7b);_0x660d93=(_0x660d93<<0x5)+_0x660d93+_0x8d5d82,_0x660d93&=_0x660d93;}}function _0x131a8a(_0x1dea34){Array[_0x2cf613([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1dea34)?_0x1dea34[_0x2cf613([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x131a8a):_0x1dea34&&typeof _0x1dea34==_0x2cf613([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cf613([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1dea34)[_0x2cf613([0x73,0x6f,0x72,0x74])]()[_0x2cf613([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x231d11,_0x560388])=>{_0x489148(_0x231d11),_0x131a8a(_0x560388);}):_0x489148(window[_0x2cf613([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1dea34));}return _0x131a8a(_0x2a76e3),_0x660d93>>>0x0;}function _0x55ff67(_0x557537){return _0x557537[_0x2cf613([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cf613([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cf613([0x30]));}function _0x371914(_0x47ade8){return _0x47ade8[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cf613([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cf613([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a4ed3(){}function _0x2cf613(_0x52b7d8){return _0x52b7d8['map'](_0x5b0bed=>String['fromCharCode'](_0x5b0bed))['join']('');}_0x1684af(await _0x4bebc7());}(this);}['_createTemplateListView'](_0x18b3e9,_0x3fdea9){const {editor:_0x545396}=this,_0x1ecbd2=new y(_0x18b3e9);return _0x1ecbd2['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x1ecbd2['items']['addMany'](_0x3fdea9['map']((_0x1b8a9d,_0x5e50b6)=>{const _0x1a4dec=new b(_0x18b3e9,_0x5e50b6),_0x55197a=new h(_0x18b3e9,_0x1b8a9d);return _0x1a4dec['buttonView']=_0x55197a,_0x1a4dec['children']['add'](_0x55197a),_0x1a4dec['buttonView']['on']('execute',_0x4fceef=>{_0x545396['execute']('insertTemplate',_0x4fceef['source']['templateDefinition']['data']),_0x545396['editing']['view']['focus']();}),_0x1a4dec;})),_0x1ecbd2;}}class v extends _0x22a770{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "47.5.0-alpha.
|
|
3
|
+
"version": "47.5.0-alpha.5",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "47.5.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.
|
|
29
|
-
"ckeditor5": "47.5.0-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "47.5.0-alpha.5",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.5",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.5",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.5",
|
|
29
|
+
"ckeditor5": "47.5.0-alpha.5"
|
|
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 _0x590606=_0x5960;(function(_0x581e66,_0x4ef5cf){const _0x278bf2=_0x5960,_0x9dded7=_0x581e66();while(!![]){try{const _0x4e9d3f=-parseInt(_0x278bf2(0x9d))/0x1+parseInt(_0x278bf2(0x89))/0x2*(parseInt(_0x278bf2(0x8b))/0x3)+parseInt(_0x278bf2(0x72))/0x4+parseInt(_0x278bf2(0x92))/0x5+-parseInt(_0x278bf2(0x8f))/0x6+-parseInt(_0x278bf2(0x9a))/0x7+parseInt(_0x278bf2(0x9c))/0x8*(parseInt(_0x278bf2(0x7e))/0x9);if(_0x4e9d3f===_0x4ef5cf)break;else _0x9dded7['push'](_0x9dded7['shift']());}catch(_0xf5a0f4){_0x9dded7['push'](_0x9dded7['shift']());}}}(_0x5892,0x74a9c));import{Plugin as _0x2b6e58}from'ckeditor5/src/core.js';import{IconTemplate as _0x143d2e,IconTemplateGeneric as _0x17f2dd}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x22d21d,MenuBarMenuListItemView as _0x2e9ff0,MenuBarMenuListView as _0x594c18,MenuBarMenuView as _0xe7f83f,SearchTextView as _0x4a6d5e,createDropdown as _0x30eee0}from'ckeditor5/src/ui.js';import{uid as _0x7e1f3d}from'ckeditor5/src/utils.js';import{TemplateListView as _0x2bc186}from'./ui/templatelistview.js';import{TemplateListItemView as _0x30f268}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x3c53d8}from'./ui/templatelistbuttonview.js';function _0x5892(){const _0x4c0ce6=['query','delegate','length','view','afterInit','3368743raRAmm','Insert\x20template','2360xZYVWY','942478Nifhag','buttonView','editing','addMany','Search\x20template','href','ck-template-form','isOfficialPlugin','templateDefinition','ck-template-list','announce','%0\x20templates\x20found','insertTemplate','bind','componentFactory','listbox','isEnabled','join','No\x20templates\x20available.','set','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','execute','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','3739888OFkgPF','resultsCount','map','focus','pluginName','ariaLiveAnnouncer','isPremiumPlugin','icon','change:isOpen','TemplateUI','Template','ck-template-button','13329VvmgaS','panelView','config','reset','source','_createTemplateListView','menuBar:insertTemplate','items','data','search','extendTemplate','80CKJNxh','init','62760kcTzfA','template.definitions','title','children','2357688SVziwP','fromCharCode','add','429300DxgbBD','get','commands'];_0x5892=function(){return _0x4c0ce6;};return _0x5892();}function _0x5960(_0x4b2147,_0x45699a){const _0x589244=_0x5892();return _0x5960=function(_0x59604a,_0x13afdb){_0x59604a=_0x59604a-0x67;let _0x473ad2=_0x589244[_0x59604a];return _0x473ad2;},_0x5960(_0x4b2147,_0x45699a);}import{getTranslation as _0x3e4479}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x2b6e58{static get[_0x590606(0x76)](){const _0x4ba9aa=_0x590606;return _0x4ba9aa(0x7b);}static get[_0x590606(0xa4)](){return!0x0;}static get[_0x590606(0x78)](){return!0x0;}[_0x590606(0x8a)](){const _0xfa9682=_0x590606,{editor:_0x1caa9e}=this,_0x3a88bb=_0x1caa9e[_0xfa9682(0x80)][_0xfa9682(0x93)](_0xfa9682(0x8c))||[];_0x1caa9e['ui'][_0xfa9682(0x69)][_0xfa9682(0x91)](_0xfa9682(0x67),_0x347906=>{const _0x1dbfab=_0xfa9682,_0x16071e=_0x30eee0(_0x347906),_0x63ccda=this[_0x1dbfab(0x83)](_0x347906,_0x3a88bb),_0x3edb1f=new _0x4a6d5e(_0x347906,{'filteredView':_0x63ccda,'queryView':{'label':_0x3e4479(_0x347906,_0x1dbfab(0xa1))},'class':_0x1dbfab(0xa3),'infoView':{'text':{'notFound':{'primary':_0x4fc2a6=>_0x3e4479(_0x347906,_0x1dbfab(0x6f),_0x4fc2a6),'secondary':_0x3e4479(_0x347906,_0x1dbfab(0x71))},'noSearchableItems':{'primary':_0x3e4479(_0x347906,_0x1dbfab(0x6d))}}}}),_0x45562a=_0x1caa9e[_0x1dbfab(0x94)][_0x1dbfab(0x93)](_0x1dbfab(0x67));return _0x3edb1f['on'](_0x1dbfab(0x87),(_0x5301e0,_0x36972a)=>{const _0x544fbc=_0x1dbfab;_0x36972a[_0x544fbc(0x95)]&&_0x36972a[_0x544fbc(0x95)][_0x544fbc(0x97)]&&_0x1caa9e['ui'][_0x544fbc(0x77)][_0x544fbc(0xa7)](_0x3e4479(_0x347906,_0x544fbc(0xa8),_0x36972a[_0x544fbc(0x73)]));}),_0x16071e[_0x1dbfab(0x68)](_0x1dbfab(0x6b))['to'](_0x45562a),_0x16071e[_0x1dbfab(0x7f)][_0x1dbfab(0x8e)][_0x1dbfab(0x91)](_0x3edb1f),_0x16071e[_0x1dbfab(0x9e)][_0x1dbfab(0x6e)]({'label':_0x3e4479(_0x347906,_0x1dbfab(0x9b)),'icon':_0x143d2e,'tooltip':!0x0}),_0x16071e['on'](_0x1dbfab(0x7a),(_0x3c8283,_0x4ef29f,_0x2afedd)=>{const _0x200a08=_0x1dbfab;_0x2afedd||_0x3edb1f[_0x200a08(0x81)]();}),_0x16071e;}),_0x1caa9e['ui'][_0xfa9682(0x69)][_0xfa9682(0x91)](_0xfa9682(0x84),_0x185dcc=>{const _0x3f85ac=_0xfa9682,_0x587677=_0x1caa9e[_0x3f85ac(0x94)][_0x3f85ac(0x93)](_0x3f85ac(0x67)),_0x4689cd=new _0xe7f83f(_0x185dcc);_0x4689cd[_0x3f85ac(0x9e)][_0x3f85ac(0x6e)]({'label':_0x3e4479(_0x185dcc,_0x3f85ac(0x7c)),'icon':_0x143d2e});const _0x475da7=new _0x594c18(_0x185dcc);if(!_0x3a88bb||!_0x3a88bb[_0x3f85ac(0x97)]){const _0x3ba582=new _0x2e9ff0(_0x185dcc,_0x4689cd),_0x271f91=new _0x22d21d(_0x185dcc);_0x271f91[_0x3f85ac(0x6e)]({'label':_0x3e4479(_0x185dcc,_0x3f85ac(0x6d))}),_0x271f91[_0x3f85ac(0x96)](_0x3f85ac(0x70))['to'](_0x4689cd),_0x271f91['on'](_0x3f85ac(0x70),()=>{const _0x3a3674=_0x3f85ac;_0x1caa9e[_0x3a3674(0x9f)][_0x3a3674(0x98)][_0x3a3674(0x75)]();}),_0x3ba582[_0x3f85ac(0x8e)][_0x3f85ac(0x91)](_0x271f91),_0x475da7[_0x3f85ac(0x85)][_0x3f85ac(0x91)](_0x3ba582);}for(const _0x50a75b of _0x3a88bb){const _0x40b827=new _0x2e9ff0(_0x185dcc,_0x4689cd),_0x557cf9=new _0x22d21d(_0x185dcc);_0x557cf9[_0x3f85ac(0x6e)]({'class':_0x3f85ac(0x7d),'label':_0x50a75b[_0x3f85ac(0x8d)],'icon':_0x50a75b[_0x3f85ac(0x79)]||_0x17f2dd}),_0x557cf9[_0x3f85ac(0x96)](_0x3f85ac(0x70))['to'](_0x4689cd),_0x557cf9['on'](_0x3f85ac(0x70),()=>{const _0x19eb6d=_0x3f85ac;_0x1caa9e[_0x19eb6d(0x70)](_0x19eb6d(0x67),_0x50a75b[_0x19eb6d(0x86)]),_0x1caa9e[_0x19eb6d(0x9f)][_0x19eb6d(0x98)][_0x19eb6d(0x75)]();}),_0x40b827[_0x3f85ac(0x8e)][_0x3f85ac(0x91)](_0x557cf9),_0x475da7[_0x3f85ac(0x85)][_0x3f85ac(0x91)](_0x40b827);}return _0x4689cd[_0x3f85ac(0x7f)][_0x3f85ac(0x8e)][_0x3f85ac(0x91)](_0x475da7),_0x4689cd[_0x3f85ac(0x68)](_0x3f85ac(0x6b))['to'](_0x587677,_0x3f85ac(0x6b)),_0x4689cd;});}[_0x590606(0x99)](){!async function(_0x27ab79){const _0x422a15=_0x829748([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x28f2c0=0x6b0f5e6f,_0x560c57=0x6b08df67^_0x28f2c0,_0x4ccab7=window[_0x829748([0x44,0x61,0x74,0x65])][_0x829748([0x6e,0x6f,0x77])](),_0x240d60=_0x27ab79[_0x829748([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3eb9ff=new window[(_0x829748([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2de81c=>{_0x240d60[_0x829748([0x6f,0x6e,0x63,0x65])](_0x829748([0x72,0x65,0x61,0x64,0x79]),_0x2de81c);}),_0x48f56b={[_0x829748([0x6b,0x74,0x79])]:_0x829748([0x45,0x43]),[_0x829748([0x75,0x73,0x65])]:_0x829748([0x73,0x69,0x67]),[_0x829748([0x63,0x72,0x76])]:_0x829748([0x50,0x2d,0x32,0x35,0x36]),[_0x829748([0x78])]:_0x829748([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]),[_0x829748([0x79])]:_0x829748([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]),[_0x829748([0x61,0x6c,0x67])]:_0x829748([0x45,0x53,0x32,0x35,0x36])},_0x278792=_0x240d60[_0x829748([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x829748([0x67,0x65,0x74])](_0x829748([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x185340(){let _0x3d5f52,_0x5e8616=null,_0x235e6a=null;try{if(_0x278792==_0x829748([0x47,0x50,0x4c]))return _0x829748([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d5f52=_0x1f5b55(),!_0x3d5f52)return _0x829748([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d5f52[_0x829748([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x235e6a=_0x5d62ea(_0x3d5f52[_0x829748([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d5f52[_0x829748([0x6a,0x74,0x69])])),await _0x36bc97()?_0xaac05d()?_0x5e1421()?_0x829748([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xad1275()?(_0x3d5f52[_0x829748([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x829748([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e8616=_0x29dd5d(_0x829748([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c5d9b()):_0x829748([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x829748([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x829748([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x829748([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e1421(){const _0x10d5aa=[_0x829748([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x829748([0x74,0x72,0x69,0x61,0x6c])][_0x829748([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d5f52[_0x829748([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ccab7/0x3e8:0xe10*_0x560c57;return _0x3d5f52[_0x829748([0x65,0x78,0x70])]<_0x10d5aa;}function _0xaac05d(){const _0x45dac6=_0x3d5f52[_0x829748([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x45dac6&&(!!_0x45dac6[_0x829748([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x829748([0x2a]))||(!!_0x45dac6[_0x829748([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x829748([0x54,0x50,0x4c]))||(!!_0x45dac6[_0x829748([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x829748([0x50,0x50]))||(!(!_0x45dac6[_0x829748([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x829748([0x44,0x52,0x55,0x50]))||!_0x712ada())||!(!_0x45dac6[_0x829748([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x829748([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2579c5())))));}function _0xad1275(){const _0x3da122=_0x5960,_0x5690e5=_0x3d5f52[_0x829748([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5690e5||0x0==_0x5690e5[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3782c5}=new URL(window[_0x829748([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3da122(0xa2)]);if(_0x5690e5[_0x829748([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3782c5))return!0x0;const _0xa9c749=_0x3782c5[_0x829748([0x73,0x70,0x6c,0x69,0x74])](_0x829748([0x2e]));return _0x5690e5[_0x829748([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x289aa9=>_0x289aa9[_0x829748([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x829748([0x2a])))[_0x829748([0x6d,0x61,0x70])](_0x4a09f2=>_0x4a09f2[_0x829748([0x73,0x70,0x6c,0x69,0x74])](_0x829748([0x2e])))[_0x829748([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b6109=>_0x3b6109[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa9c749[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x829748([0x6d,0x61,0x70])](_0x55c366=>Array(_0xa9c749[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55c366[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x829748([0x66,0x69,0x6c,0x6c])](_0x55c366[0x0]===_0x829748([0x2a])?_0x829748([0x2a]):'')[_0x829748([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55c366))[_0x829748([0x73,0x6f,0x6d,0x65])](_0x59a7f0=>_0xa9c749[_0x829748([0x65,0x76,0x65,0x72,0x79])]((_0xf9c07d,_0x2e7ac4)=>_0x59a7f0[_0x2e7ac4]===_0xf9c07d||_0x59a7f0[_0x2e7ac4]===_0x829748([0x2a])));}function _0x2c5d9b(){return _0x5e8616&&_0x235e6a?new window[(_0x829748([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa103fd,_0x455164)=>{_0x5e8616[_0x829748([0x74,0x68,0x65,0x6e])](_0xa103fd,_0x455164),_0x235e6a[_0x829748([0x74,0x68,0x65,0x6e])](_0x56598a=>{_0x56598a!=_0x829748([0x56,0x61,0x6c,0x69,0x64])&&_0xa103fd(_0x56598a);},_0x455164);}):_0x5e8616||_0x235e6a||_0x829748([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d62ea(_0x92a0e8,_0x1367ed){return new window[(_0x829748([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b2e21=>{if(_0x28cd67())return _0x1b2e21(_0x829748([0x56,0x61,0x6c,0x69,0x64]));_0x4e4cf4(),_0x240d60[_0x829748([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x829748([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13ca14=!0x1;const _0x48df5e=_0x7e1f3d();function _0x310779(_0xce5a97){return!!_0xce5a97&&(typeof _0xce5a97===_0x829748([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xce5a97===_0x829748([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xce5a97[_0x829748([0x74,0x68,0x65,0x6e])]===_0x829748([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xce5a97[_0x829748([0x63,0x61,0x74,0x63,0x68])]===_0x829748([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x519b0a(_0x295272){_0x5ed707(_0x295272)[_0x829748([0x74,0x68,0x65,0x6e])](_0x182cf4=>{if(!_0x182cf4||_0x182cf4[_0x829748([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x829748([0x6f,0x6b]))return _0x829748([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d6d71(_0x41b5b0(_0x48df5e+_0x1367ed))!=_0x182cf4[_0x829748([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x829748([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x829748([0x56,0x61,0x6c,0x69,0x64]);})[_0x829748([0x74,0x68,0x65,0x6e])](_0x36c22e=>(_0x3f2661(),_0x36c22e),()=>{const _0x579862=_0x126493();return null==_0x579862?(_0x3f2661(),_0x829748([0x56,0x61,0x6c,0x69,0x64])):_0x829748(_0x4ccab7-_0x579862>(0x4f03da6f^_0x28f2c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x829748([0x74,0x68,0x65,0x6e])](_0x1b2e21)[_0x829748([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b2e21(_0x829748([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x92b08b=0x6b39b0ef^_0x28f2c0;function _0x3f2661(){const _0x2b8439=_0x829748([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6d71(_0x41b5b0(_0x92a0e8)),_0x14d553=_0x1aeae6(_0x1d6d71(window[_0x829748([0x4d,0x61,0x74,0x68])][_0x829748([0x63,0x65,0x69,0x6c])](_0x4ccab7/_0x92b08b)));window[_0x829748([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x829748([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b8439,_0x14d553);}function _0x126493(){const _0x124378=_0x829748([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6d71(_0x41b5b0(_0x92a0e8)),_0xd9eb4a=window[_0x829748([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x829748([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x124378);return _0xd9eb4a?window[_0x829748([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1aeae6(_0xd9eb4a),0x10)*_0x92b08b:null;}function _0x5ed707(_0x274500){return new window[(_0x829748([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f7103,_0xa86f1)=>{_0x274500[_0x829748([0x74,0x68,0x65,0x6e])](_0x3f7103,_0xa86f1),window[_0x829748([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa86f1,0x6b0e8aaf^_0x28f2c0);});}}_0x240d60[_0x829748([0x6f,0x6e])](_0x829748([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a6175,_0x1d2241)=>{if(_0x1d2241[0x0]!=_0x92a0e8)return _0x1b2e21(_0x829748([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d2241[0x1]={..._0x1d2241[0x1],[_0x829748([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48df5e};},{[_0x829748([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x829748([0x68,0x69,0x67,0x68])}),_0x240d60[_0x829748([0x6f,0x6e])](_0x829748([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x343358=>{_0x310779(_0x343358[_0x829748([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13ca14=!0x0,_0x519b0a(_0x343358[_0x829748([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x829748([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x829748([0x6c,0x6f,0x77])}),_0x3eb9ff[_0x829748([0x74,0x68,0x65,0x6e])](()=>{_0x13ca14||_0x1b2e21(_0x829748([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28cd67(){return _0x240d60[_0x829748([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x829748([0x76,0x69,0x65,0x77])][_0x829748([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x829748([0x61,0x75,0x74,0x6f]);}function _0x4e4cf4(){_0x240d60[_0x829748([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x829748([0x76,0x69,0x65,0x77])][_0x829748([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x829748([0x61,0x75,0x74,0x6f]);}}function _0x29dd5d(_0x21aefd){const _0x386e35=[new window[(_0x829748([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3490a4=>setTimeout(_0x3490a4,0x6b0660a3^_0x28f2c0)),_0x3eb9ff[_0x829748([0x74,0x68,0x65,0x6e])](()=>new window[(_0x829748([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12dd29=>{let _0x641ffd=0x0;_0x240d60[_0x829748([0x6d,0x6f,0x64,0x65,0x6c])][_0x829748([0x6f,0x6e])](_0x829748([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32aaa4,_0x1de71d)=>{_0x1de71d[0x0][_0x829748([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x641ffd++,_0x641ffd==(0x6b0f5b87^_0x28f2c0)&&(_0x12dd29(),_0x32aaa4[_0x829748([0x6f,0x66,0x66])]());});}))];return window[_0x829748([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x829748([0x72,0x61,0x63,0x65])](_0x386e35)[_0x829748([0x74,0x68,0x65,0x6e])](()=>_0x21aefd);}async function _0x439aa9(){await _0x3eb9ff,_0x240d60[_0x829748([0x6d,0x6f,0x64,0x65,0x6c])][_0x829748([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x124e8c,_0x240d60[_0x829748([0x6d,0x6f,0x64,0x65,0x6c])][_0x829748([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x124e8c,_0x240d60[_0x829748([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x829748([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x712ada(){return window[_0x829748([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x2579c5(){return window[_0x829748([0x67,0x6c,0x6f,0x62])]&&window[_0x829748([0x67,0x6c,0x6f,0x62])][_0x829748([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x16ee43(_0xba04c4){const _0x9748d9=_0x2f7ad9();_0x240d60[_0x9748d9]=_0x829748([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xba04c4,_0xba04c4!=_0x829748([0x56,0x61,0x6c,0x69,0x64])&&_0x439aa9();}function _0x2f7ad9(){const _0x2189b4=window[_0x829748([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x829748([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x829748([0x6e,0x6f,0x77])]())[_0x829748([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x829748([0x2e]),'');let _0x165096=_0x829748([0x67]);for(let _0x438636=0x0;_0x438636<_0x2189b4[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x438636+=0x2){let _0x3ac06e=window[_0x829748([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2189b4[_0x829748([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x438636,_0x438636+0x2));_0x3ac06e>=_0x422a15[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ac06e-=_0x422a15[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x165096+=_0x422a15[_0x3ac06e];}return _0x165096;}function _0x1f5b55(){const _0x5ef4e9=_0x278792[_0x829748([0x73,0x70,0x6c,0x69,0x74])](_0x829748([0x2e]));if(0x3!=_0x5ef4e9[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1322b1(_0x5ef4e9[0x1]);function _0x1322b1(_0x4d1e3f){const _0x2d990a=_0x47aaa1(_0x4d1e3f);return _0x2d990a&&_0x3a4805()?_0x2d990a:null;function _0x3a4805(){const _0x40ba56=_0x2d990a[_0x829748([0x6a,0x74,0x69])],_0x176bdc=window[_0x829748([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40ba56[_0x829748([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40ba56[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d95fd={..._0x2d990a,[_0x829748([0x6a,0x74,0x69])]:_0x40ba56[_0x829748([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40ba56[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d95fd[_0x829748([0x76,0x63])],_0x41b5b0(_0x3d95fd)==_0x176bdc;}}}async function _0x36bc97(){let _0x49eab9=!0x0;try{const _0x17bdc4=_0x278792[_0x829748([0x73,0x70,0x6c,0x69,0x74])](_0x829748([0x2e])),[_0x38b0f7,_0x24d150,_0x1aeb01]=_0x17bdc4;return _0xed2ae8(_0x38b0f7),await _0xa5995a(_0x38b0f7,_0x24d150,_0x1aeb01),_0x49eab9;}catch{return!0x1;}function _0xed2ae8(_0x3bf8da){const _0x1c847e=_0x47aaa1(_0x3bf8da);_0x1c847e&&_0x1c847e[_0x829748([0x61,0x6c,0x67])]==_0x829748([0x45,0x53,0x32,0x35,0x36])||(_0x49eab9=!0x1);}async function _0xa5995a(_0x2d79a3,_0x1caad6,_0x61fa4f){const _0x114659=window[_0x829748([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x829748([0x66,0x72,0x6f,0x6d])](_0x25e32d(_0x61fa4f),_0x5d134c=>_0x5d134c[_0x829748([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1759cd=new window[(_0x829748([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x829748([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d79a3+_0x829748([0x2e])+_0x1caad6),_0x1089d9=window[_0x829748([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x829748([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1089d9)return;const _0x445c1b=await _0x1089d9[_0x829748([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x829748([0x6a,0x77,0x6b]),_0x48f56b,{[_0x829748([0x6e,0x61,0x6d,0x65])]:_0x829748([0x45,0x43,0x44,0x53,0x41]),[_0x829748([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x829748([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x829748([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1089d9[_0x829748([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x829748([0x6e,0x61,0x6d,0x65])]:_0x829748([0x45,0x43,0x44,0x53,0x41]),[_0x829748([0x68,0x61,0x73,0x68])]:{[_0x829748([0x6e,0x61,0x6d,0x65])]:_0x829748([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x445c1b,_0x114659,_0x1759cd)||(_0x49eab9=!0x1);}}function _0x47aaa1(_0x365c7c){return _0x365c7c[_0x829748([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x829748([0x65,0x79]))?JSON[_0x829748([0x70,0x61,0x72,0x73,0x65])](_0x25e32d(_0x365c7c)):null;}function _0x25e32d(_0x4dde95){return window[_0x829748([0x61,0x74,0x6f,0x62])](_0x4dde95[_0x829748([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x829748([0x2b]))[_0x829748([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x829748([0x2f])));}function _0x41b5b0(_0x593f2a){let _0x3cccd1=0x1505;function _0xfb7436(_0x381895){for(let _0x5a7fe4=0x0;_0x5a7fe4<_0x381895[_0x829748([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a7fe4++){const _0x112183=_0x381895[_0x829748([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a7fe4);_0x3cccd1=(_0x3cccd1<<0x5)+_0x3cccd1+_0x112183,_0x3cccd1&=_0x3cccd1;}}function _0x34f7b7(_0x536197){Array[_0x829748([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x536197)?_0x536197[_0x829748([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34f7b7):_0x536197&&typeof _0x536197==_0x829748([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x829748([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x536197)[_0x829748([0x73,0x6f,0x72,0x74])]()[_0x829748([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ccd24,_0x4bf37e])=>{_0xfb7436(_0x1ccd24),_0x34f7b7(_0x4bf37e);}):_0xfb7436(window[_0x829748([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x536197));}return _0x34f7b7(_0x593f2a),_0x3cccd1>>>0x0;}function _0x1d6d71(_0x33321f){return _0x33321f[_0x829748([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x829748([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x829748([0x30]));}function _0x1aeae6(_0x10328d){return _0x10328d[_0x829748([0x73,0x70,0x6c,0x69,0x74])]('')[_0x829748([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x829748([0x6a,0x6f,0x69,0x6e])]('');}function _0x124e8c(){}function _0x829748(_0x382166){const _0x46ce62=_0x5960;return _0x382166[_0x46ce62(0x74)](_0x248952=>String[_0x46ce62(0x90)](_0x248952))[_0x46ce62(0x6c)]('');}_0x16ee43(await _0x185340());}(this);}[_0x590606(0x83)](_0x4c687e,_0x19fc1d){const _0x56882c=_0x590606,{editor:_0x240a33}=this,_0x4dcbde=new _0x2bc186(_0x4c687e);return _0x4dcbde[_0x56882c(0x88)]({'attributes':{'role':_0x56882c(0x6a),'class':[_0x56882c(0xa6)]}}),_0x4dcbde[_0x56882c(0x85)][_0x56882c(0xa0)](_0x19fc1d[_0x56882c(0x74)]((_0x3fd18c,_0x58ed2e)=>{const _0x43f33d=_0x56882c,_0x461ffb=new _0x30f268(_0x4c687e,_0x58ed2e),_0x2117f8=new _0x3c53d8(_0x4c687e,_0x3fd18c);return _0x461ffb[_0x43f33d(0x9e)]=_0x2117f8,_0x461ffb[_0x43f33d(0x8e)][_0x43f33d(0x91)](_0x2117f8),_0x461ffb[_0x43f33d(0x9e)]['on'](_0x43f33d(0x70),_0x2432f3=>{const _0x351fe4=_0x43f33d;_0x240a33[_0x351fe4(0x70)](_0x351fe4(0x67),_0x2432f3[_0x351fe4(0x82)][_0x351fe4(0xa5)][_0x351fe4(0x86)]),_0x240a33[_0x351fe4(0x9f)][_0x351fe4(0x98)][_0x351fe4(0x75)]();}),_0x461ffb;})),_0x4dcbde;}}
|
|
23
|
+
const _0x4bab75=_0x4972;function _0x53ee(){const _0x4826e1=['join','ck-template-list','%0\x20templates\x20found','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','7631672AzEntK','5HJdiIK','ck-template-button','data','711006rbmEPM','config','fromCharCode','TemplateUI','addMany','execute','2943628lXRXRt','113760syfKIS','1054jluJoP','title','isPremiumPlugin','menuBar:insertTemplate','view','resultsCount','bind','change:isOpen','icon','isOfficialPlugin','14agSTdt','get','isEnabled','extendTemplate','init','insertTemplate','ariaLiveAnnouncer','children','buttonView','Template','href','templateDefinition','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','editing','delegate','afterInit','Search\x20template','207maZbyq','ck-template-form','reset','items','length','panelView','522KIZiny','12907224LewhzQ','listbox','template.definitions','set','1403475AQItSn','_createTemplateListView','announce','componentFactory','map','pluginName','No\x20templates\x20available.','Insert\x20template','add','focus','commands','query','source','search'];_0x53ee=function(){return _0x4826e1;};return _0x53ee();}function _0x4972(_0xee3bf0,_0x2b5b34){const _0x53ee1b=_0x53ee();return _0x4972=function(_0x4972ea,_0x23d379){_0x4972ea=_0x4972ea-0x1a6;let _0xf0fcef=_0x53ee1b[_0x4972ea];return _0xf0fcef;},_0x4972(_0xee3bf0,_0x2b5b34);}(function(_0x32984c,_0x5696f8){const _0x398eeb=_0x4972,_0x491d4b=_0x32984c();while(!![]){try{const _0x3eba32=parseInt(_0x398eeb(0x1c6))/0x1*(-parseInt(_0x398eeb(0x1ab))/0x2)+parseInt(_0x398eeb(0x1d1))/0x3+parseInt(_0x398eeb(0x1a9))/0x4*(-parseInt(_0x398eeb(0x1e4))/0x5)+parseInt(_0x398eeb(0x1e7))/0x6*(parseInt(_0x398eeb(0x1b5))/0x7)+-parseInt(_0x398eeb(0x1e3))/0x8+parseInt(_0x398eeb(0x1cc))/0x9*(parseInt(_0x398eeb(0x1aa))/0xa)+parseInt(_0x398eeb(0x1cd))/0xb;if(_0x3eba32===_0x5696f8)break;else _0x491d4b['push'](_0x491d4b['shift']());}catch(_0x47135e){_0x491d4b['push'](_0x491d4b['shift']());}}}(_0x53ee,0xb46f8));import{Plugin as _0x422cfd}from'ckeditor5/src/core.js';import{IconTemplate as _0xc0b240,IconTemplateGeneric as _0x5553d3}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x3fc081,MenuBarMenuListItemView as _0x56c788,MenuBarMenuListView as _0xe4b45e,MenuBarMenuView as _0x2149fe,SearchTextView as _0x5a3f7a,createDropdown as _0x2b261e}from'ckeditor5/src/ui.js';import{uid as _0x1985c1}from'ckeditor5/src/utils.js';import{TemplateListView as _0x4bfb5c}from'./ui/templatelistview.js';import{TemplateListItemView as _0x37c57e}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x335cba}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x1bd704}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x422cfd{static get[_0x4bab75(0x1d6)](){const _0xa74303=_0x4bab75;return _0xa74303(0x1a6);}static get[_0x4bab75(0x1b4)](){return!0x0;}static get[_0x4bab75(0x1ad)](){return!0x0;}[_0x4bab75(0x1b9)](){const _0x234c1a=_0x4bab75,{editor:_0x4b73c9}=this,_0x2d544f=_0x4b73c9[_0x234c1a(0x1e8)][_0x234c1a(0x1b6)](_0x234c1a(0x1cf))||[];_0x4b73c9['ui'][_0x234c1a(0x1d4)][_0x234c1a(0x1d9)](_0x234c1a(0x1ba),_0x58338c=>{const _0x238a5b=_0x234c1a,_0x76eb90=_0x2b261e(_0x58338c),_0x39c267=this[_0x238a5b(0x1d2)](_0x58338c,_0x2d544f),_0x2253e1=new _0x5a3f7a(_0x58338c,{'filteredView':_0x39c267,'queryView':{'label':_0x1bd704(_0x58338c,_0x238a5b(0x1c5))},'class':_0x238a5b(0x1c7),'infoView':{'text':{'notFound':{'primary':_0x3b9baa=>_0x1bd704(_0x58338c,_0x238a5b(0x1c1),_0x3b9baa),'secondary':_0x1bd704(_0x58338c,_0x238a5b(0x1e2))},'noSearchableItems':{'primary':_0x1bd704(_0x58338c,_0x238a5b(0x1d7))}}}}),_0x3f69e7=_0x4b73c9[_0x238a5b(0x1db)][_0x238a5b(0x1b6)](_0x238a5b(0x1ba));return _0x2253e1['on'](_0x238a5b(0x1de),(_0x5862d8,_0x53ac18)=>{const _0x4ebcc9=_0x238a5b;_0x53ac18[_0x4ebcc9(0x1dc)]&&_0x53ac18[_0x4ebcc9(0x1dc)][_0x4ebcc9(0x1ca)]&&_0x4b73c9['ui'][_0x4ebcc9(0x1bb)][_0x4ebcc9(0x1d3)](_0x1bd704(_0x58338c,_0x4ebcc9(0x1e1),_0x53ac18[_0x4ebcc9(0x1b0)]));}),_0x76eb90[_0x238a5b(0x1b1)](_0x238a5b(0x1b7))['to'](_0x3f69e7),_0x76eb90[_0x238a5b(0x1cb)][_0x238a5b(0x1bc)][_0x238a5b(0x1d9)](_0x2253e1),_0x76eb90[_0x238a5b(0x1bd)][_0x238a5b(0x1d0)]({'label':_0x1bd704(_0x58338c,_0x238a5b(0x1d8)),'icon':_0xc0b240,'tooltip':!0x0}),_0x76eb90['on'](_0x238a5b(0x1b2),(_0x4ff697,_0x20190e,_0x51ee16)=>{const _0x482b12=_0x238a5b;_0x51ee16||_0x2253e1[_0x482b12(0x1c8)]();}),_0x76eb90;}),_0x4b73c9['ui'][_0x234c1a(0x1d4)][_0x234c1a(0x1d9)](_0x234c1a(0x1ae),_0xfaec37=>{const _0x5db071=_0x234c1a,_0x405f94=_0x4b73c9[_0x5db071(0x1db)][_0x5db071(0x1b6)](_0x5db071(0x1ba)),_0x568c92=new _0x2149fe(_0xfaec37);_0x568c92[_0x5db071(0x1bd)][_0x5db071(0x1d0)]({'label':_0x1bd704(_0xfaec37,_0x5db071(0x1be)),'icon':_0xc0b240});const _0x9e5194=new _0xe4b45e(_0xfaec37);if(!_0x2d544f||!_0x2d544f[_0x5db071(0x1ca)]){const _0x47809b=new _0x56c788(_0xfaec37,_0x568c92),_0x4903fa=new _0x3fc081(_0xfaec37);_0x4903fa[_0x5db071(0x1d0)]({'label':_0x1bd704(_0xfaec37,_0x5db071(0x1d7))}),_0x4903fa[_0x5db071(0x1c3)](_0x5db071(0x1a8))['to'](_0x568c92),_0x4903fa['on'](_0x5db071(0x1a8),()=>{const _0x23e2cc=_0x5db071;_0x4b73c9[_0x23e2cc(0x1c2)][_0x23e2cc(0x1af)][_0x23e2cc(0x1da)]();}),_0x47809b[_0x5db071(0x1bc)][_0x5db071(0x1d9)](_0x4903fa),_0x9e5194[_0x5db071(0x1c9)][_0x5db071(0x1d9)](_0x47809b);}for(const _0x5bc55e of _0x2d544f){const _0x2cd56d=new _0x56c788(_0xfaec37,_0x568c92),_0x12be93=new _0x3fc081(_0xfaec37);_0x12be93[_0x5db071(0x1d0)]({'class':_0x5db071(0x1e5),'label':_0x5bc55e[_0x5db071(0x1ac)],'icon':_0x5bc55e[_0x5db071(0x1b3)]||_0x5553d3}),_0x12be93[_0x5db071(0x1c3)](_0x5db071(0x1a8))['to'](_0x568c92),_0x12be93['on'](_0x5db071(0x1a8),()=>{const _0xd1fbef=_0x5db071;_0x4b73c9[_0xd1fbef(0x1a8)](_0xd1fbef(0x1ba),_0x5bc55e[_0xd1fbef(0x1e6)]),_0x4b73c9[_0xd1fbef(0x1c2)][_0xd1fbef(0x1af)][_0xd1fbef(0x1da)]();}),_0x2cd56d[_0x5db071(0x1bc)][_0x5db071(0x1d9)](_0x12be93),_0x9e5194[_0x5db071(0x1c9)][_0x5db071(0x1d9)](_0x2cd56d);}return _0x568c92[_0x5db071(0x1cb)][_0x5db071(0x1bc)][_0x5db071(0x1d9)](_0x9e5194),_0x568c92[_0x5db071(0x1b1)](_0x5db071(0x1b7))['to'](_0x405f94,_0x5db071(0x1b7)),_0x568c92;});}[_0x4bab75(0x1c4)](){!async function(_0x2e63c2){const _0x69bdd6=_0x50537e([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x20af69=0x6b0f5e6f,_0x49b75f=0x6b08df57^_0x20af69,_0x2346cb=window[_0x50537e([0x44,0x61,0x74,0x65])][_0x50537e([0x6e,0x6f,0x77])](),_0x378e9c=_0x2e63c2[_0x50537e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27cd5e=new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14b7fe=>{_0x378e9c[_0x50537e([0x6f,0x6e,0x63,0x65])](_0x50537e([0x72,0x65,0x61,0x64,0x79]),_0x14b7fe);}),_0x3ff34a={[_0x50537e([0x6b,0x74,0x79])]:_0x50537e([0x45,0x43]),[_0x50537e([0x75,0x73,0x65])]:_0x50537e([0x73,0x69,0x67]),[_0x50537e([0x63,0x72,0x76])]:_0x50537e([0x50,0x2d,0x32,0x35,0x36]),[_0x50537e([0x78])]:_0x50537e([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]),[_0x50537e([0x79])]:_0x50537e([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]),[_0x50537e([0x61,0x6c,0x67])]:_0x50537e([0x45,0x53,0x32,0x35,0x36])},_0x4625df=_0x378e9c[_0x50537e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50537e([0x67,0x65,0x74])](_0x50537e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c69c0(){let _0x4ec45e,_0x39883=null,_0x68a7bc=null;try{if(_0x4625df==_0x50537e([0x47,0x50,0x4c]))return _0x50537e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ec45e=_0xf6c8ba(),!_0x4ec45e)return _0x50537e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ec45e[_0x50537e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x68a7bc=_0x3daa61(_0x4ec45e[_0x50537e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ec45e[_0x50537e([0x6a,0x74,0x69])])),await _0x294f15()?_0x3f3161()?_0x5e5644()?_0x50537e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d0777()?(_0x4ec45e[_0x50537e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50537e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39883=_0x13d2fe(_0x50537e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52ccad()):_0x50537e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50537e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50537e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x50537e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e5644(){const _0x4f7607=[_0x50537e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50537e([0x74,0x72,0x69,0x61,0x6c])][_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ec45e[_0x50537e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2346cb/0x3e8:0xe10*_0x49b75f;return _0x4ec45e[_0x50537e([0x65,0x78,0x70])]<_0x4f7607;}function _0x3f3161(){const _0x4cde20=_0x4ec45e[_0x50537e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cde20&&(!!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x2a]))||(!!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x54,0x50,0x4c]))||(!!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x50,0x50]))||(!(!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x44,0x52,0x55,0x50]))||!_0x7c0afb())||!(!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5792f0())))));}function _0x3d0777(){const _0x1a569b=_0x4972,_0xeea33d=_0x4ec45e[_0x50537e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xeea33d||0x0==_0xeea33d[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57d062}=new URL(window[_0x50537e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1a569b(0x1bf)]);if(_0xeea33d[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57d062))return!0x0;const _0x317399=_0x57d062[_0x50537e([0x73,0x70,0x6c,0x69,0x74])](_0x50537e([0x2e]));return _0xeea33d[_0x50537e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d6299=>_0x2d6299[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x2a])))[_0x50537e([0x6d,0x61,0x70])](_0x865278=>_0x865278[_0x50537e([0x73,0x70,0x6c,0x69,0x74])](_0x50537e([0x2e])))[_0x50537e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ba8bd=>_0x2ba8bd[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x317399[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50537e([0x6d,0x61,0x70])](_0x3b0173=>Array(_0x317399[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b0173[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50537e([0x66,0x69,0x6c,0x6c])](_0x3b0173[0x0]===_0x50537e([0x2a])?_0x50537e([0x2a]):'')[_0x50537e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b0173))[_0x50537e([0x73,0x6f,0x6d,0x65])](_0x3d632b=>_0x317399[_0x50537e([0x65,0x76,0x65,0x72,0x79])]((_0x12e0e6,_0x465d7f)=>_0x3d632b[_0x465d7f]===_0x12e0e6||_0x3d632b[_0x465d7f]===_0x50537e([0x2a])));}function _0x52ccad(){return _0x39883&&_0x68a7bc?new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a8f54,_0x5885d6)=>{_0x39883[_0x50537e([0x74,0x68,0x65,0x6e])](_0x5a8f54,_0x5885d6),_0x68a7bc[_0x50537e([0x74,0x68,0x65,0x6e])](_0x3ffd11=>{_0x3ffd11!=_0x50537e([0x56,0x61,0x6c,0x69,0x64])&&_0x5a8f54(_0x3ffd11);},_0x5885d6);}):_0x39883||_0x68a7bc||_0x50537e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3daa61(_0x543bc6,_0x1eb449){return new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eabe1=>{if(_0x1eedd0())return _0x4eabe1(_0x50537e([0x56,0x61,0x6c,0x69,0x64]));_0x6c3e11(),_0x378e9c[_0x50537e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50537e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1640d2=!0x1;const _0x4e5ced=_0x1985c1();function _0xb43018(_0xb78e20){return!!_0xb78e20&&(typeof _0xb78e20===_0x50537e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb78e20===_0x50537e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb78e20[_0x50537e([0x74,0x68,0x65,0x6e])]===_0x50537e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb78e20[_0x50537e([0x63,0x61,0x74,0x63,0x68])]===_0x50537e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52bf9b(_0x41ee53){_0x5e5fe6(_0x41ee53)[_0x50537e([0x74,0x68,0x65,0x6e])](_0x30e446=>{if(!_0x30e446||_0x30e446[_0x50537e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50537e([0x6f,0x6b]))return _0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f9a34(_0x25fe1b(_0x4e5ced+_0x1eb449))!=_0x30e446[_0x50537e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50537e([0x56,0x61,0x6c,0x69,0x64]);})[_0x50537e([0x74,0x68,0x65,0x6e])](_0x4b1187=>(_0xde4a(),_0x4b1187),()=>{const _0x219d55=_0x54305e();return null==_0x219d55?(_0xde4a(),_0x50537e([0x56,0x61,0x6c,0x69,0x64])):_0x50537e(_0x2346cb-_0x219d55>(0x4f03da6f^_0x20af69)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50537e([0x74,0x68,0x65,0x6e])](_0x4eabe1)[_0x50537e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4eabe1(_0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2028e=0x6b39b0ef^_0x20af69;function _0xde4a(){const _0x5b61c8=_0x50537e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f9a34(_0x25fe1b(_0x543bc6)),_0x477ea3=_0x5e248a(_0x3f9a34(window[_0x50537e([0x4d,0x61,0x74,0x68])][_0x50537e([0x63,0x65,0x69,0x6c])](_0x2346cb/_0x2028e)));window[_0x50537e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50537e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b61c8,_0x477ea3);}function _0x54305e(){const _0x23b71f=_0x50537e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f9a34(_0x25fe1b(_0x543bc6)),_0x3ac328=window[_0x50537e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50537e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23b71f);return _0x3ac328?window[_0x50537e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e248a(_0x3ac328),0x10)*_0x2028e:null;}function _0x5e5fe6(_0x3cc53d){return new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x189285,_0x514f31)=>{_0x3cc53d[_0x50537e([0x74,0x68,0x65,0x6e])](_0x189285,_0x514f31),window[_0x50537e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x514f31,0x6b0e8aaf^_0x20af69);});}}_0x378e9c[_0x50537e([0x6f,0x6e])](_0x50537e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2814e9,_0x33d9ac)=>{if(_0x33d9ac[0x0]!=_0x543bc6)return _0x4eabe1(_0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33d9ac[0x1]={..._0x33d9ac[0x1],[_0x50537e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e5ced};},{[_0x50537e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50537e([0x68,0x69,0x67,0x68])}),_0x378e9c[_0x50537e([0x6f,0x6e])](_0x50537e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21c63c=>{_0xb43018(_0x21c63c[_0x50537e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1640d2=!0x0,_0x52bf9b(_0x21c63c[_0x50537e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50537e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50537e([0x6c,0x6f,0x77])}),_0x27cd5e[_0x50537e([0x74,0x68,0x65,0x6e])](()=>{_0x1640d2||_0x4eabe1(_0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1eedd0(){return _0x378e9c[_0x50537e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50537e([0x76,0x69,0x65,0x77])][_0x50537e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50537e([0x61,0x75,0x74,0x6f]);}function _0x6c3e11(){_0x378e9c[_0x50537e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50537e([0x76,0x69,0x65,0x77])][_0x50537e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50537e([0x61,0x75,0x74,0x6f]);}}function _0x13d2fe(_0x15527d){const _0x57afd9=[new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2e47=>setTimeout(_0x4d2e47,0x6b0660a3^_0x20af69)),_0x27cd5e[_0x50537e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x172f06=>{let _0x57bf80=0x0;_0x378e9c[_0x50537e([0x6d,0x6f,0x64,0x65,0x6c])][_0x50537e([0x6f,0x6e])](_0x50537e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x93e34c,_0x4b99d5)=>{_0x4b99d5[0x0][_0x50537e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x57bf80++,_0x57bf80==(0x6b0f5b87^_0x20af69)&&(_0x172f06(),_0x93e34c[_0x50537e([0x6f,0x66,0x66])]());});}))];return window[_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50537e([0x72,0x61,0x63,0x65])](_0x57afd9)[_0x50537e([0x74,0x68,0x65,0x6e])](()=>_0x15527d);}async function _0x3d424a(){await _0x27cd5e,_0x378e9c[_0x50537e([0x6d,0x6f,0x64,0x65,0x6c])][_0x50537e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x186c5b,_0x378e9c[_0x50537e([0x6d,0x6f,0x64,0x65,0x6c])][_0x50537e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x186c5b,_0x378e9c[_0x50537e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50537e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7c0afb(){return window[_0x50537e([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5792f0(){return window[_0x50537e([0x67,0x6c,0x6f,0x62])]&&window[_0x50537e([0x67,0x6c,0x6f,0x62])][_0x50537e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x45918a(_0x5b18c7){const _0x509ad7=_0x300af6();_0x378e9c[_0x509ad7]=_0x50537e([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b18c7,_0x5b18c7!=_0x50537e([0x56,0x61,0x6c,0x69,0x64])&&_0x3d424a();}function _0x300af6(){const _0x2fc4a5=window[_0x50537e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50537e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50537e([0x6e,0x6f,0x77])]())[_0x50537e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50537e([0x2e]),'');let _0x42c296=_0x50537e([0x67]);for(let _0x581ed1=0x0;_0x581ed1<_0x2fc4a5[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x581ed1+=0x2){let _0x5ce00a=window[_0x50537e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc4a5[_0x50537e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x581ed1,_0x581ed1+0x2));_0x5ce00a>=_0x69bdd6[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ce00a-=_0x69bdd6[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42c296+=_0x69bdd6[_0x5ce00a];}return _0x42c296;}function _0xf6c8ba(){const _0x169576=_0x4625df[_0x50537e([0x73,0x70,0x6c,0x69,0x74])](_0x50537e([0x2e]));if(0x3!=_0x169576[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5559df(_0x169576[0x1]);function _0x5559df(_0x13734d){const _0x5b5fa9=_0x1328b4(_0x13734d);return _0x5b5fa9&&_0x3cb3fe()?_0x5b5fa9:null;function _0x3cb3fe(){const _0x4df940=_0x5b5fa9[_0x50537e([0x6a,0x74,0x69])],_0x4f66d5=window[_0x50537e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4df940[_0x50537e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4df940[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x242952={..._0x5b5fa9,[_0x50537e([0x6a,0x74,0x69])]:_0x4df940[_0x50537e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4df940[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x242952[_0x50537e([0x76,0x63])],_0x25fe1b(_0x242952)==_0x4f66d5;}}}async function _0x294f15(){let _0xa2dcb9=!0x0;try{const _0x1bdd22=_0x4625df[_0x50537e([0x73,0x70,0x6c,0x69,0x74])](_0x50537e([0x2e])),[_0x19d2db,_0x307000,_0x5a4db5]=_0x1bdd22;return _0x34b569(_0x19d2db),await _0x332876(_0x19d2db,_0x307000,_0x5a4db5),_0xa2dcb9;}catch{return!0x1;}function _0x34b569(_0x5d55f1){const _0x716602=_0x1328b4(_0x5d55f1);_0x716602&&_0x716602[_0x50537e([0x61,0x6c,0x67])]==_0x50537e([0x45,0x53,0x32,0x35,0x36])||(_0xa2dcb9=!0x1);}async function _0x332876(_0x4f9ede,_0x35c172,_0x5c81b1){const _0x3bddb5=window[_0x50537e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50537e([0x66,0x72,0x6f,0x6d])](_0x2c9ed7(_0x5c81b1),_0xd76c73=>_0xd76c73[_0x50537e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1cb085=new window[(_0x50537e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50537e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f9ede+_0x50537e([0x2e])+_0x35c172),_0x1f03df=window[_0x50537e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50537e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f03df)return;const _0x38d51d=await _0x1f03df[_0x50537e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50537e([0x6a,0x77,0x6b]),_0x3ff34a,{[_0x50537e([0x6e,0x61,0x6d,0x65])]:_0x50537e([0x45,0x43,0x44,0x53,0x41]),[_0x50537e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50537e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50537e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f03df[_0x50537e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50537e([0x6e,0x61,0x6d,0x65])]:_0x50537e([0x45,0x43,0x44,0x53,0x41]),[_0x50537e([0x68,0x61,0x73,0x68])]:{[_0x50537e([0x6e,0x61,0x6d,0x65])]:_0x50537e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38d51d,_0x3bddb5,_0x1cb085)||(_0xa2dcb9=!0x1);}}function _0x1328b4(_0x3fef1b){return _0x3fef1b[_0x50537e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50537e([0x65,0x79]))?JSON[_0x50537e([0x70,0x61,0x72,0x73,0x65])](_0x2c9ed7(_0x3fef1b)):null;}function _0x2c9ed7(_0x7679fb){return window[_0x50537e([0x61,0x74,0x6f,0x62])](_0x7679fb[_0x50537e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50537e([0x2b]))[_0x50537e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50537e([0x2f])));}function _0x25fe1b(_0x14c6ef){let _0x44fde3=0x1505;function _0x240125(_0x2aa056){for(let _0x253446=0x0;_0x253446<_0x2aa056[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x253446++){const _0x43d944=_0x2aa056[_0x50537e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x253446);_0x44fde3=(_0x44fde3<<0x5)+_0x44fde3+_0x43d944,_0x44fde3&=_0x44fde3;}}function _0x21c417(_0x53096c){Array[_0x50537e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53096c)?_0x53096c[_0x50537e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21c417):_0x53096c&&typeof _0x53096c==_0x50537e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50537e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53096c)[_0x50537e([0x73,0x6f,0x72,0x74])]()[_0x50537e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d43bf,_0x297b1d])=>{_0x240125(_0x4d43bf),_0x21c417(_0x297b1d);}):_0x240125(window[_0x50537e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53096c));}return _0x21c417(_0x14c6ef),_0x44fde3>>>0x0;}function _0x3f9a34(_0x5854c){return _0x5854c[_0x50537e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50537e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50537e([0x30]));}function _0x5e248a(_0x59578f){return _0x59578f[_0x50537e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50537e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50537e([0x6a,0x6f,0x69,0x6e])]('');}function _0x186c5b(){}function _0x50537e(_0x32601d){const _0x5aed7e=_0x4972;return _0x32601d[_0x5aed7e(0x1d5)](_0x437601=>String[_0x5aed7e(0x1e9)](_0x437601))[_0x5aed7e(0x1df)]('');}_0x45918a(await _0x1c69c0());}(this);}[_0x4bab75(0x1d2)](_0xe30044,_0x5035f8){const _0x305adf=_0x4bab75,{editor:_0x1306bc}=this,_0x54fdce=new _0x4bfb5c(_0xe30044);return _0x54fdce[_0x305adf(0x1b8)]({'attributes':{'role':_0x305adf(0x1ce),'class':[_0x305adf(0x1e0)]}}),_0x54fdce[_0x305adf(0x1c9)][_0x305adf(0x1a7)](_0x5035f8[_0x305adf(0x1d5)]((_0x165e47,_0xa99dc8)=>{const _0x6caf0d=_0x305adf,_0x32d7aa=new _0x37c57e(_0xe30044,_0xa99dc8),_0x15cff3=new _0x335cba(_0xe30044,_0x165e47);return _0x32d7aa[_0x6caf0d(0x1bd)]=_0x15cff3,_0x32d7aa[_0x6caf0d(0x1bc)][_0x6caf0d(0x1d9)](_0x15cff3),_0x32d7aa[_0x6caf0d(0x1bd)]['on'](_0x6caf0d(0x1a8),_0x517036=>{const _0x2f4cf1=_0x6caf0d;_0x1306bc[_0x2f4cf1(0x1a8)](_0x2f4cf1(0x1ba),_0x517036[_0x2f4cf1(0x1dd)][_0x2f4cf1(0x1c0)][_0x2f4cf1(0x1e6)]),_0x1306bc[_0x2f4cf1(0x1c2)][_0x2f4cf1(0x1af)][_0x2f4cf1(0x1da)]();}),_0x32d7aa;})),_0x54fdce;}}
|