@ckeditor/ckeditor5-template 46.1.1-alpha.1 → 46.1.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/template.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/templateui.js +1 -1
package/build/template.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={6:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},c=[],o=0;o<t.length;o++){var a=t[o],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var c=0;c<s.length;c++){var o=n(s[c]);e[o].references--}for(var a=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=a}}},33:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(933),i=n.n(r),s=n(718),c=n.n(s)()(i());c.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const o=c},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},557: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)}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},602:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(c[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},933:t=>{"use strict";t.exports=function(t){return t[1]}}},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:()=>c,TemplateEditing:()=>u,TemplateUI:()=>J});var t=n(782);const e=s;function i(){const t=["insertContent","execute","toView","20708nTHKPI","change","36CJhhKu","1502920DSTwpb","12ZrmAHH","170530nSxMqo","function","editor","442666JYIZDJ","1461740JyWSMp","string","data","2919000zmRkCK","1888859JRrEIS","toModel","513EzJDLr","htmlProcessor"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=262]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(443669===parseInt(e(281))/1+-parseInt(e(262))/2+-parseInt(e(268))/3*(parseInt(e(273))/4)+parseInt(e(278))/5+-parseInt(e(277))/6*(-parseInt(e(266))/7)+parseInt(e(276))/8*(parseInt(e(275))/9)+parseInt(e(265))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class c extends t.Command{[e(271)](t){const n=e,{model:r}=this[n(280)];let i;switch(typeof t){case n(263):i=t;break;case n(279):i=t()}n(263)==typeof i&&r[n(274)](()=>{const t=n,e=this[t(280)][t(264)][t(269)][t(272)](i),s=this[t(280)][t(264)][t(267)](e);r[t(270)](s)})}}const o=a;function a(t,e){const n=l();return(a=function(t,e){return n[t-=386]})(t,e)}function l(){const t=["commands","Template","insertTemplate","templateLicenseKeyInvalid","2ngveka","templateLicenseKeyValid","templateLicenseKeyNotAllowed","417925TMVqlA","8PvKHFT","init","templateLicenseKeyTrialLimit","8512952yVFoUu","evaluationLimit","featureNotAllowed","templateLicenseKeyExpired","pluginName","4575560TtlYAv","553006dHCRGK","usageLimit","isOfficialPlugin","TemplateEditing","templateLicenseKeyUsageLimit","templateLicenseKeyDomainLimit","domainLimit","templateLicenseKeyEvaluationLimit","get","destroy","_showLicenseError","editor","config","isPremiumPlugin","add","invalid","706899cxMzoY","expired","licenseKey","1667097ujeczG","_licenseKeyCheckInterval","40SldLEN","5730354PlxSar","trialLimit","60jzvMeR"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(651594===-parseInt(e(416))/1*(-parseInt(e(403))/2)+-parseInt(e(390))/3+parseInt(e(398))/4*(-parseInt(e(406))/5)+parseInt(e(396))/6+-parseInt(e(410))/7+-parseInt(e(407))/8*(-parseInt(e(393))/9)+parseInt(e(395))/10*(parseInt(e(415))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(392)];[o(394)];static get[o(414)](){return o(419)}static get[o(418)](){return!0}static get[o(387)](){return!0}[o(408)](){const t=o,{editor:e}=this;e[t(399)][t(388)](t(401),new c(e)),this[t(392)]=this[t(427)][t(386)][t(424)](t(392));const n=this[t(427)];this[t(394)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(404)==s||e(402)==s||e(413)==s||e(421)==s||e(405)==s||e(423)==s||e(409)==s||e(420)==s){delete n[i],r=s,clearInterval(this[e(394)]),this[e(394)]=void 0;break}}e(402)==r&&n[e(426)](e(389)),e(413)==r&&n[e(426)](e(391)),e(421)==r&&n[e(426)](e(422)),e(405)==r&&n[e(426)](e(412),e(400)),e(423)==r&&n[e(426)](e(411)),e(409)==r&&n[e(426)](e(397)),e(420)==r&&n[e(426)](e(417))},1e3)}[o(425)](){const t=o;super[t(425)](),this[t(394)]&&clearInterval(this[t(394)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=486]})(t,e)}function k(){const t=["_resetFiltering","533474zVugqr","7ARyCmL","get","map","sort","buttonView","9WtaDHd","2LgeCui","1199586twVCVz","5858672ceCrsd","isMatching","addMany","size","title","isVisible","1164344dcbjZJ","filter","forEach","length","15568720uxrKeE","originalIndex","715719mbOMOh","44830NUzGNZ","highlightText","set","items","clear"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(447492===parseInt(e(486))/1+parseInt(e(493))/2*(parseInt(e(507))/3)+parseInt(e(501))/4+parseInt(e(508))/5+-parseInt(e(494))/6*(-parseInt(e(487))/7)+-parseInt(e(495))/8*(-parseInt(e(492))/9)+-parseInt(e(505))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(502)](t){const e=m;if(!t)return this[e(513)]();const n=new Map,r=this[e(511)][e(489)](r=>{const i=e,s=r[i(491)][i(496)](t);return r[i(500)]=!!s,r[i(491)][i(509)](s?t:null),s&&n[i(510)](r,s),r})[e(490)](g)[e(490)]((i=n,function(t,e){const n=h,r=i[n(488)](t),s=i[n(488)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(499)]&&!s[n(499)]?-1:!r[n(499)]&&s[n(499)]?1:0:0}));var i;return this[e(511)][e(512)](),this[e(511)][e(497)](r),{resultsCount:n[e(498)],totalItemsCount:this[e(511)][e(504)]}}[m(513)](){const t=m,e=this[t(511)][t(489)](t=>t)[t(490)](g);return e[t(503)](e=>{const n=t;e[n(500)]=!0,e[n(491)][n(509)](null)}),this[t(511)][t(512)](),this[t(511)][t(497)](e),{resultsCount:e[t(504)],totalItemsCount:e[t(504)]}}}function g(t,e){const n=m;return t[n(506)]-e[n(506)]}function v(t,e){var n=y();return(v=function(t,e){return n[t-=252]})(t,e)}var I=v;!function(t){for(var e=v,n=t();;)try{if(266214===-parseInt(e(256))/1*(-parseInt(e(258))/2)+parseInt(e(259))/3+-parseInt(e(252))/4+-parseInt(e(253))/5+parseInt(e(261))/6*(parseInt(e(257))/7)+parseInt(e(262))/8+-parseInt(e(254))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class b extends f.ListItemView{[I(260)];[I(255)];constructor(t,e){var n=I;super(t),this[n(260)]=e,this[n(255)]=null}}function y(){var t=["819FdOgdO","4196HhRUFq","984336rljfTB","originalIndex","11670NiONCI","2507712JLYank","651280gogBzv","1050465VlfogX","2504412wbfmSt","buttonView","23ORzRCR"];return(y=function(){return t})()}const x=T;function _(){const t=["507073ZGkeDT","1211378KmbfLc","locale","textPartView","ck-template-form__description","1407909dGWXNw","1233264PqEOfm","7bpGReX","isColorInherited","text","set","descriptionView","remove","titleView","option","children","ck-template-button","templateDefinition","isMatching","labelView","6HOjtQC","div","span","ck-template-form__text-part","4722894HZyIvC","add","5393584hNmAVG","match","iconView","push","element","destroy","highlightText","render","setTemplate","ck-button__label","title","3590915YZlOsg","description","extendTemplate"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=178]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(395454===-parseInt(e(209))/1+parseInt(e(210))/2+parseInt(e(214))/3+parseInt(e(215))/4+-parseInt(e(206))/5*(-parseInt(e(189))/6)+parseInt(e(216))/7*(-parseInt(e(195))/8)+-parseInt(e(193))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class V extends f.ButtonView{[x(186)];[x(212)];constructor(t,e){const n=x;super(t),this[n(186)]=e,this[n(212)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(179)]({withText:!0,class:n(185),role:n(183),icon:r}),this[n(197)][n(217)]=!1}[x(202)](){const t=x;super[t(202)](),this[t(212)]=new L(this[t(211)],this[t(186)],this[t(188)][t(199)].id),this[t(184)][t(181)](this[t(188)]),this[t(184)][t(194)](this[t(212)])}[x(200)](){const t=x;super[t(200)](),this[t(188)][t(200)]()}[x(187)](t){const e=x,{title:n,description:r}=this[e(186)],i=!!n[e(196)](t),s=!(!r||!r[e(196)](t));return i||s?{title:i,description:s}:null}[x(201)](t){const e=x;this[e(212)][e(201)](t)}}class L extends f.View{constructor(t,e,n){const r=x;super(t),this[r(205)]=e[r(205)],this[r(207)]=e[r(207)],this[r(182)]=new f.HighlightedTextView,this[r(182)][r(178)]=this[r(205)],this[r(182)][r(208)]({tag:r(191),attributes:{class:[r(204)],id:n}});const i=[this[r(182)]];this[r(207)]&&(this[r(180)]=new f.HighlightedTextView,this[r(180)][r(178)]=this[r(207)],this[r(180)][r(208)]({tag:"p",attributes:{class:[r(213)]}}),i[r(198)](this[r(180)])),this[r(203)]({tag:r(190),attributes:{class:["ck",r(192)]},children:i})}[x(201)](t){const e=x;this[e(182)][e(201)](t),this[e(207)]&&this[e(180)][e(201)](t)}}function C(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var M=n(6),S=n.n(M),N=n(602),O=n.n(N),P=n(557),E=n.n(P),j=n(302),A=n.n(j),K=n(290),z=n.n(K),R=n(33),B={attributes:{"data-cke":!0}};B.setAttributes=A(),B.insert=E().bind(null,"head"),B.domAPI=O(),B.insertStyleElement=z();S()(R.A,B);R.A&&R.A.locals&&R.A.locals;const D=F;function H(){const t=["children","Insert template","Please try a different phrase or check the spelling.","isEnabled","isPremiumPlugin","view","_createTemplateListView","insertTemplate","No templates available.","2620387FNSbXJ","announce","resultsCount","menuBar:insertTemplate","Search template",'No templates were found matching "%0".',"href","search","TemplateUI","template.definitions","afterInit","ck-template-form","pluginName","3259670ZgCsOc","join","ariaLiveAnnouncer","add","init","fromCharCode","%0 templates found","items","templateDefinition","set","componentFactory","change:isOpen","panelView","Template","3784175iWWklP","reset","title","listbox","map","query","27KuVFZC","57MuWYpg","3428pwAFjt","editing","isOfficialPlugin","2009560UYokMN","499DtWYYR","execute","get","delegate","extendTemplate","icon","length","bind","config","source","commands","149876XhdIGU","focus","addMany","1974ofnzyy","data","9387qVjTqg","buttonView","ck-template-list","ck-template-button"];return(H=function(){return t})()}function F(t,e){const n=H();return(F=function(t,e){return n[t-=190]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(493564===parseInt(e(201))/1*(parseInt(e(197))/2)+parseInt(e(196))/3*(-parseInt(e(212))/4)+-parseInt(e(257))/5+parseInt(e(215))/6*(parseInt(e(217))/7)+-parseInt(e(200))/8*(-parseInt(e(195))/9)+-parseInt(e(243))/10+parseInt(e(230))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class J extends t.Plugin{static get[D(242)](){return D(238)}static get[D(199)](){return!0}static get[D(225)](){return!0}[D(247)](){const t=D,{editor:e}=this,n=e[t(209)][t(203)](t(239))||[];e.ui[t(253)][t(246)](t(228),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(227)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:C(r,i(234))},class:i(241),infoView:{text:{notFound:{primary:t=>C(r,i(235),t),secondary:C(r,i(223))},noSearchableItems:{primary:C(r,i(229))}}}}),a=e[i(211)][i(203)](i(228));return o.on(i(237),(t,n)=>{const s=i;n[s(194)]&&n[s(194)][s(207)]&&e.ui[s(245)][s(231)](C(r,s(249),n[s(232)]))}),s[i(208)](i(224)).to(a),s[i(255)][i(221)][i(246)](o),s[i(218)][i(252)]({label:C(r,i(222)),icon:p.IconTemplate,tooltip:!0}),s.on(i(254),(t,e,n)=>{n||o[i(190)]()}),s}),e.ui[t(253)][t(246)](t(233),r=>{const i=t,s=e[i(211)][i(203)](i(228)),c=new f.MenuBarMenuView(r);c[i(218)][i(252)]({label:C(r,i(256)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(207)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(252)]({label:C(r,i(229))}),n[i(204)](i(202)).to(c),n.on(i(202),()=>{const t=i;e[t(198)][t(226)][t(213)]()}),t[i(221)][i(246)](n),o[i(250)][i(246)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(252)]({class:i(220),label:t[i(191)],icon:t[i(206)]||p.IconTemplateGeneric}),s[i(204)](i(202)).to(c),s.on(i(202),()=>{const n=i;e[n(202)](n(228),t[n(216)]),e[n(198)][n(226)][n(213)]()}),n[i(221)][i(246)](s),o[i(250)][i(246)](n)}return c[i(255)][i(221)][i(246)](o),c[i(208)](i(224)).to(s,i(224)),c})}[D(240)](){!async function(t){const e=h([78,81,86,88,121,66,70,72,74,122,114,56,87,71,73,52,97,90,110,84,101,111,85,120,54,112,57,106,102,118,51,68,105,116,76,119,117,99,107,89,108,104,100,77,65,50,75,53,83,55,109,98,67,79,80,69,115,49,113,103,82,48]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},c=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function a(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=F;return t[e(193)](t=>String[e(248)](t))[e(244)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([78]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return c==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));c(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){a(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=c();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function c(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function a(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(a=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{a||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function c(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=c[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=a(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),c=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const a=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},a,i,c)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]||e[h([105,110,99,108,117,100,101,115])](h([84,82,73,76,73,85,77]))&&window[h([103,108,111,98])]&&window[h([103,108,111,98])][h([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1757721600;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=F,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(236)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[D(227)](t,e){const n=D,{editor:r}=this,i=new w(t);return i[n(205)]({attributes:{role:n(192),class:[n(219)]}}),i[n(250)][n(214)](e[n(193)]((e,i)=>{const s=n,c=new b(t,i),o=new V(t,e);return c[s(218)]=o,c[s(221)][s(246)](o),c[s(218)].on(s(202),t=>{const e=s;r[e(202)](e(228),t[e(210)][e(251)][e(216)]),r[e(198)][e(226)][e(213)]()}),c})),i}}var Z=G;function G(t,e){var n=U();return(G=function(t,e){return n[t-=177]})(t,e)}function U(){var t=["1998318ROgjOV","170514KPvgwI","510zCscRA","3054416eZeiIE","Template","pluginName","isOfficialPlugin","1623015BlypYa","2EjZifV","5589QaomhH","5958584eigtFI","21XsOEDZ","isPremiumPlugin","145571IpluUG","requires"];return(U=function(){return t})()}!function(t){for(var e=G,n=t();;)try{if(388927===-parseInt(e(187))/1*(-parseInt(e(182))/2)+parseInt(e(189))/3+parseInt(e(177))/4+-parseInt(e(181))/5+-parseInt(e(190))/6*(parseInt(e(185))/7)+-parseInt(e(184))/8+parseInt(e(183))/9*(-parseInt(e(191))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class Y extends t.Plugin{static get[Z(188)](){return[u,J]}static get[Z(179)](){return Z(178)}static get[Z(180)](){return!0}static get[Z(186)](){return!0}}function q(t,e){var n=W();return(q=function(t,e){return n[t-=156]})(t,e)}function W(){var t=["850110jlLsyf","208MEKUvC","3588390kebpsw","6VGJhrS","27832nYLuRX","60374aewJLB","1712340JMVLDU","825120zjmjcp","64MLDZYQ","21921TwWQhV"];return(W=function(){return t})()}!function(t){for(var e=q,n=t();;)try{if(115187===parseInt(e(163))/1*(-parseInt(e(161))/2)+parseInt(e(157))/3*(-parseInt(e(156))/4)+-parseInt(e(158))/5+parseInt(e(165))/6+-parseInt(e(162))/7*(parseInt(e(159))/8)+parseInt(e(164))/9+parseInt(e(160))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(W)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={6:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},c=[],o=0;o<t.length;o++){var a=t[o],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var c=0;c<s.length;c++){var o=n(s[c]);e[o].references--}for(var a=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=a}}},33:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(933),i=n.n(r),s=n(718),c=n.n(s)()(i());c.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const o=c},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},557: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)}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},602:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(c[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},933:t=>{"use strict";t.exports=function(t){return t[1]}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>q,TemplateCommand:()=>c,TemplateEditing:()=>u,TemplateUI:()=>J});var t=n(782);const e=s;function i(){const t=["insertContent","execute","toView","20708nTHKPI","change","36CJhhKu","1502920DSTwpb","12ZrmAHH","170530nSxMqo","function","editor","442666JYIZDJ","1461740JyWSMp","string","data","2919000zmRkCK","1888859JRrEIS","toModel","513EzJDLr","htmlProcessor"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=262]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(443669===parseInt(e(281))/1+-parseInt(e(262))/2+-parseInt(e(268))/3*(parseInt(e(273))/4)+parseInt(e(278))/5+-parseInt(e(277))/6*(-parseInt(e(266))/7)+parseInt(e(276))/8*(parseInt(e(275))/9)+parseInt(e(265))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class c extends t.Command{[e(271)](t){const n=e,{model:r}=this[n(280)];let i;switch(typeof t){case n(263):i=t;break;case n(279):i=t()}n(263)==typeof i&&r[n(274)](()=>{const t=n,e=this[t(280)][t(264)][t(269)][t(272)](i),s=this[t(280)][t(264)][t(267)](e);r[t(270)](s)})}}const o=a;function a(t,e){const n=l();return(a=function(t,e){return n[t-=386]})(t,e)}function l(){const t=["commands","Template","insertTemplate","templateLicenseKeyInvalid","2ngveka","templateLicenseKeyValid","templateLicenseKeyNotAllowed","417925TMVqlA","8PvKHFT","init","templateLicenseKeyTrialLimit","8512952yVFoUu","evaluationLimit","featureNotAllowed","templateLicenseKeyExpired","pluginName","4575560TtlYAv","553006dHCRGK","usageLimit","isOfficialPlugin","TemplateEditing","templateLicenseKeyUsageLimit","templateLicenseKeyDomainLimit","domainLimit","templateLicenseKeyEvaluationLimit","get","destroy","_showLicenseError","editor","config","isPremiumPlugin","add","invalid","706899cxMzoY","expired","licenseKey","1667097ujeczG","_licenseKeyCheckInterval","40SldLEN","5730354PlxSar","trialLimit","60jzvMeR"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(651594===-parseInt(e(416))/1*(-parseInt(e(403))/2)+-parseInt(e(390))/3+parseInt(e(398))/4*(-parseInt(e(406))/5)+parseInt(e(396))/6+-parseInt(e(410))/7+-parseInt(e(407))/8*(-parseInt(e(393))/9)+parseInt(e(395))/10*(parseInt(e(415))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(392)];[o(394)];static get[o(414)](){return o(419)}static get[o(418)](){return!0}static get[o(387)](){return!0}[o(408)](){const t=o,{editor:e}=this;e[t(399)][t(388)](t(401),new c(e)),this[t(392)]=this[t(427)][t(386)][t(424)](t(392));const n=this[t(427)];this[t(394)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(404)==s||e(402)==s||e(413)==s||e(421)==s||e(405)==s||e(423)==s||e(409)==s||e(420)==s){delete n[i],r=s,clearInterval(this[e(394)]),this[e(394)]=void 0;break}}e(402)==r&&n[e(426)](e(389)),e(413)==r&&n[e(426)](e(391)),e(421)==r&&n[e(426)](e(422)),e(405)==r&&n[e(426)](e(412),e(400)),e(423)==r&&n[e(426)](e(411)),e(409)==r&&n[e(426)](e(397)),e(420)==r&&n[e(426)](e(417))},1e3)}[o(425)](){const t=o;super[t(425)](),this[t(394)]&&clearInterval(this[t(394)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=486]})(t,e)}function k(){const t=["_resetFiltering","533474zVugqr","7ARyCmL","get","map","sort","buttonView","9WtaDHd","2LgeCui","1199586twVCVz","5858672ceCrsd","isMatching","addMany","size","title","isVisible","1164344dcbjZJ","filter","forEach","length","15568720uxrKeE","originalIndex","715719mbOMOh","44830NUzGNZ","highlightText","set","items","clear"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(447492===parseInt(e(486))/1+parseInt(e(493))/2*(parseInt(e(507))/3)+parseInt(e(501))/4+parseInt(e(508))/5+-parseInt(e(494))/6*(-parseInt(e(487))/7)+-parseInt(e(495))/8*(-parseInt(e(492))/9)+-parseInt(e(505))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(502)](t){const e=m;if(!t)return this[e(513)]();const n=new Map,r=this[e(511)][e(489)](r=>{const i=e,s=r[i(491)][i(496)](t);return r[i(500)]=!!s,r[i(491)][i(509)](s?t:null),s&&n[i(510)](r,s),r})[e(490)](g)[e(490)]((i=n,function(t,e){const n=h,r=i[n(488)](t),s=i[n(488)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(499)]&&!s[n(499)]?-1:!r[n(499)]&&s[n(499)]?1:0:0}));var i;return this[e(511)][e(512)](),this[e(511)][e(497)](r),{resultsCount:n[e(498)],totalItemsCount:this[e(511)][e(504)]}}[m(513)](){const t=m,e=this[t(511)][t(489)](t=>t)[t(490)](g);return e[t(503)](e=>{const n=t;e[n(500)]=!0,e[n(491)][n(509)](null)}),this[t(511)][t(512)](),this[t(511)][t(497)](e),{resultsCount:e[t(504)],totalItemsCount:e[t(504)]}}}function g(t,e){const n=m;return t[n(506)]-e[n(506)]}function v(t,e){var n=y();return(v=function(t,e){return n[t-=252]})(t,e)}var I=v;!function(t){for(var e=v,n=t();;)try{if(266214===-parseInt(e(256))/1*(-parseInt(e(258))/2)+parseInt(e(259))/3+-parseInt(e(252))/4+-parseInt(e(253))/5+parseInt(e(261))/6*(parseInt(e(257))/7)+parseInt(e(262))/8+-parseInt(e(254))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class b extends f.ListItemView{[I(260)];[I(255)];constructor(t,e){var n=I;super(t),this[n(260)]=e,this[n(255)]=null}}function y(){var t=["819FdOgdO","4196HhRUFq","984336rljfTB","originalIndex","11670NiONCI","2507712JLYank","651280gogBzv","1050465VlfogX","2504412wbfmSt","buttonView","23ORzRCR"];return(y=function(){return t})()}const x=T;function _(){const t=["507073ZGkeDT","1211378KmbfLc","locale","textPartView","ck-template-form__description","1407909dGWXNw","1233264PqEOfm","7bpGReX","isColorInherited","text","set","descriptionView","remove","titleView","option","children","ck-template-button","templateDefinition","isMatching","labelView","6HOjtQC","div","span","ck-template-form__text-part","4722894HZyIvC","add","5393584hNmAVG","match","iconView","push","element","destroy","highlightText","render","setTemplate","ck-button__label","title","3590915YZlOsg","description","extendTemplate"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=178]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(395454===-parseInt(e(209))/1+parseInt(e(210))/2+parseInt(e(214))/3+parseInt(e(215))/4+-parseInt(e(206))/5*(-parseInt(e(189))/6)+parseInt(e(216))/7*(-parseInt(e(195))/8)+-parseInt(e(193))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(186)];[x(212)];constructor(t,e){const n=x;super(t),this[n(186)]=e,this[n(212)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(179)]({withText:!0,class:n(185),role:n(183),icon:r}),this[n(197)][n(217)]=!1}[x(202)](){const t=x;super[t(202)](),this[t(212)]=new V(this[t(211)],this[t(186)],this[t(188)][t(199)].id),this[t(184)][t(181)](this[t(188)]),this[t(184)][t(194)](this[t(212)])}[x(200)](){const t=x;super[t(200)](),this[t(188)][t(200)]()}[x(187)](t){const e=x,{title:n,description:r}=this[e(186)],i=!!n[e(196)](t),s=!(!r||!r[e(196)](t));return i||s?{title:i,description:s}:null}[x(201)](t){const e=x;this[e(212)][e(201)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(205)]=e[r(205)],this[r(207)]=e[r(207)],this[r(182)]=new f.HighlightedTextView,this[r(182)][r(178)]=this[r(205)],this[r(182)][r(208)]({tag:r(191),attributes:{class:[r(204)],id:n}});const i=[this[r(182)]];this[r(207)]&&(this[r(180)]=new f.HighlightedTextView,this[r(180)][r(178)]=this[r(207)],this[r(180)][r(208)]({tag:"p",attributes:{class:[r(213)]}}),i[r(198)](this[r(180)])),this[r(203)]({tag:r(190),attributes:{class:["ck",r(192)]},children:i})}[x(201)](t){const e=x;this[e(182)][e(201)](t),this[e(207)]&&this[e(180)][e(201)](t)}}function C(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var M=n(6),S=n.n(M),O=n(602),N=n.n(O),E=n(557),P=n.n(E),j=n(302),A=n.n(j),K=n(290),z=n.n(K),R=n(33),D={attributes:{"data-cke":!0}};D.setAttributes=A(),D.insert=P().bind(null,"head"),D.domAPI=N(),D.insertStyleElement=z();S()(R.A,D);R.A&&R.A.locals&&R.A.locals;const B=H;function H(t,e){const n=G();return(H=function(t,e){return n[t-=153]})(t,e)}!function(t){const e=H,n=t();for(;;)try{if(529632===-parseInt(e(176))/1+-parseInt(e(183))/2*(-parseInt(e(177))/3)+parseInt(e(182))/4+-parseInt(e(193))/5*(parseInt(e(210))/6)+parseInt(e(186))/7+-parseInt(e(153))/8+parseInt(e(203))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class J extends t.Plugin{static get[B(169)](){return B(178)}static get[B(184)](){return!0}static get[B(173)](){return!0}[B(172)](){const t=B,{editor:e}=this,n=e[t(180)][t(217)](t(165))||[];e.ui[t(167)][t(196)](t(191),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(215)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:C(r,i(161))},class:i(155),infoView:{text:{notFound:{primary:t=>C(r,i(171),t),secondary:C(r,i(175))},noSearchableItems:{primary:C(r,i(190))}}}}),a=e[i(205)][i(217)](i(191));return o.on(i(198),(t,n)=>{const s=i;n[s(194)]&&n[s(194)][s(168)]&&e.ui[s(199)][s(216)](C(r,s(200),n[s(174)]))}),s[i(158)](i(204)).to(a),s[i(187)][i(156)][i(196)](o),s[i(188)][i(192)]({label:C(r,i(206)),icon:p.IconTemplate,tooltip:!0}),s.on(i(201),(t,e,n)=>{n||o[i(214)]()}),s}),e.ui[t(167)][t(196)](t(211),r=>{const i=t,s=e[i(205)][i(217)](i(191)),c=new f.MenuBarMenuView(r);c[i(188)][i(192)]({label:C(r,i(213)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(168)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(192)]({label:C(r,i(190))}),n[i(189)](i(212)).to(c),n.on(i(212),()=>{const t=i;e[t(157)][t(181)][t(195)]()}),t[i(156)][i(196)](n),o[i(218)][i(196)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(192)]({class:i(208),label:t[i(179)],icon:t[i(207)]||p.IconTemplateGeneric}),s[i(189)](i(212)).to(c),s.on(i(212),()=>{const n=i;e[n(212)](n(191),t[n(160)]),e[n(157)][n(181)][n(195)]()}),n[i(156)][i(196)](s),o[i(218)][i(196)](n)}return c[i(187)][i(156)][i(196)](o),c[i(158)](i(204)).to(s,i(204)),c})}[B(170)](){!async function(t){const e=h([78,81,86,88,121,66,70,72,74,122,114,56,87,71,73,52,97,90,110,84,101,111,85,120,54,112,57,106,102,118,51,68,105,116,76,119,117,99,107,89,108,104,100,77,65,50,75,53,83,55,109,98,67,79,80,69,115,49,113,103,82,48]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},c=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function a(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=H;return t[e(163)](t=>String[e(159)](t))[e(202)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([78]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return c==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));c(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){a(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=c();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function c(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function a(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(a=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{a||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function c(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=c[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=a(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),c=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const a=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},a,i,c)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]||e[h([105,110,99,108,117,100,101,115])](h([84,82,73,76,73,85,77]))&&window[h([103,108,111,98])]&&window[h([103,108,111,98])][h([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1757808e3;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=H,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(197)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[B(215)](t,e){const n=B,{editor:r}=this,i=new w(t);return i[n(209)]({attributes:{role:n(166),class:[n(154)]}}),i[n(218)][n(185)](e[n(163)]((e,i)=>{const s=n,c=new b(t,i),o=new L(t,e);return c[s(188)]=o,c[s(156)][s(196)](o),c[s(188)].on(s(212),t=>{const e=s;r[e(212)](e(191),t[e(162)][e(164)][e(160)]),r[e(157)][e(181)][e(195)]()}),c})),i}}function G(){const t=["ck-template-list","ck-template-form","children","editing","bind","fromCharCode","data","Search template","source","map","templateDefinition","template.definitions","listbox","componentFactory","length","pluginName","afterInit",'No templates were found matching "%0".',"init","isPremiumPlugin","resultsCount","Please try a different phrase or check the spelling.","850839sooDdy","3xkfnDY","TemplateUI","title","config","view","2369676RhUZiZ","135826rpjnUW","isOfficialPlugin","addMany","6336967oaLavw","panelView","buttonView","delegate","No templates available.","insertTemplate","set","4382245sRJKoJ","query","focus","add","href","search","ariaLiveAnnouncer","%0 templates found","change:isOpen","join","13002300OMFFbO","isEnabled","commands","Insert template","icon","ck-template-button","extendTemplate","6SsGgqi","menuBar:insertTemplate","execute","Template","reset","_createTemplateListView","announce","get","items","6027144rWGCYT"];return(G=function(){return t})()}var Z=F;function F(t,e){var n=U();return(F=function(t,e){return n[t-=177]})(t,e)}function U(){var t=["1998318ROgjOV","170514KPvgwI","510zCscRA","3054416eZeiIE","Template","pluginName","isOfficialPlugin","1623015BlypYa","2EjZifV","5589QaomhH","5958584eigtFI","21XsOEDZ","isPremiumPlugin","145571IpluUG","requires"];return(U=function(){return t})()}!function(t){for(var e=F,n=t();;)try{if(388927===-parseInt(e(187))/1*(-parseInt(e(182))/2)+parseInt(e(189))/3+parseInt(e(177))/4+-parseInt(e(181))/5+-parseInt(e(190))/6*(parseInt(e(185))/7)+-parseInt(e(184))/8+parseInt(e(183))/9*(-parseInt(e(191))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class q extends t.Plugin{static get[Z(188)](){return[u,J]}static get[Z(179)](){return Z(178)}static get[Z(180)](){return!0}static get[Z(186)](){return!0}}function Y(t,e){var n=W();return(Y=function(t,e){return n[t-=156]})(t,e)}function W(){var t=["850110jlLsyf","208MEKUvC","3588390kebpsw","6VGJhrS","27832nYLuRX","60374aewJLB","1712340JMVLDU","825120zjmjcp","64MLDZYQ","21921TwWQhV"];return(W=function(){return t})()}!function(t){for(var e=Y,n=t();;)try{if(115187===parseInt(e(163))/1*(-parseInt(e(161))/2)+parseInt(e(157))/3*(-parseInt(e(156))/4)+-parseInt(e(158))/5+parseInt(e(165))/6+-parseInt(e(162))/7*(parseInt(e(159))/8)+parseInt(e(164))/9+parseInt(e(160))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(W)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x448b09,Plugin as _0x51383e}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x261a96,IconTemplate as _0x7091c0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x48bee0,ListItemView as _0xb39fca,ButtonView as _0x1a9338,View as _0x5114c0,HighlightedTextView as _0x14903e,createDropdown as _0xd50f02,SearchTextView as _0x25e238,MenuBarMenuView as _0x1f3e87,MenuBarMenuListView as _0x5b0795,MenuBarMenuListItemView as _0x2372cf,MenuBarMenuListItemButtonView as _0x4ec028}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x2dea0e}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x448b09{['execute'](_0x4c076e){const {model:_0x4944f4}=this['editor'];let _0x4a174a;switch(typeof _0x4c076e){case'string':_0x4a174a=_0x4c076e;break;case'function':_0x4a174a=_0x4c076e();}'string'==typeof _0x4a174a&&_0x4944f4['change'](()=>{const _0x1fc23b=this['editor']['data']['htmlProcessor']['toView'](_0x4a174a),_0x31f578=this['editor']['data']['toModel'](_0x1fc23b);_0x4944f4['insertContent'](_0x31f578);});}}class i extends _0x51383e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x42de2b}=this;_0x42de2b['commands']['add']('insertTemplate',new a(_0x42de2b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2cfb10=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23adb8;for(const _0xf46aff in _0x2cfb10){const _0x5bc02e=_0xf46aff,_0x4807f8=_0x2cfb10[_0x5bc02e];if('templateLicenseKeyValid'==_0x4807f8||'templateLicenseKeyInvalid'==_0x4807f8||'templateLicenseKeyExpired'==_0x4807f8||'templateLicenseKeyDomainLimit'==_0x4807f8||'templateLicenseKeyNotAllowed'==_0x4807f8||'templateLicenseKeyEvaluationLimit'==_0x4807f8||'templateLicenseKeyTrialLimit'==_0x4807f8||'templateLicenseKeyUsageLimit'==_0x4807f8){delete _0x2cfb10[_0x5bc02e],_0x23adb8=_0x4807f8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x23adb8&&_0x2cfb10['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x23adb8&&_0x2cfb10['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x23adb8&&_0x2cfb10['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x23adb8&&_0x2cfb10['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x23adb8&&_0x2cfb10['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x23adb8&&_0x2cfb10['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x23adb8&&_0x2cfb10['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x48bee0{['filter'](_0x84ced){if(!_0x84ced)return this['_resetFiltering']();const _0xa15295=new Map(),_0x45dc81=this['items']['map'](_0x438c41=>{const _0x21bb36=_0x438c41['buttonView']['isMatching'](_0x84ced);return _0x438c41['isVisible']=!!_0x21bb36,_0x438c41['buttonView']['highlightText'](_0x21bb36?_0x84ced:null),_0x21bb36&&_0xa15295['set'](_0x438c41,_0x21bb36),_0x438c41;})['sort'](j)['sort'](function(_0x428f07){return function(_0x2669e9,_0x2eca4a){const _0x53b7a2=_0x428f07['get'](_0x2669e9),_0x4f044d=_0x428f07['get'](_0x2eca4a);return _0x53b7a2&&!_0x4f044d?-0x1:_0x4f044d&&!_0x53b7a2?0x1:_0x53b7a2||_0x4f044d?_0x53b7a2['title']&&!_0x4f044d['title']?-0x1:!_0x53b7a2['title']&&_0x4f044d['title']?0x1:0x0:0x0;};}(_0xa15295));return this['items']['clear'](),this['items']['addMany'](_0x45dc81),{'resultsCount':_0xa15295['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1481f8=this['items']['map'](_0x55251d=>_0x55251d)['sort'](j);return _0x1481f8['forEach'](_0x5bcc6b=>{_0x5bcc6b['isVisible']=!0x0,_0x5bcc6b['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1481f8),{'resultsCount':_0x1481f8['length'],'totalItemsCount':_0x1481f8['length']};}}function j(_0x2883e3,_0x53d5ed){return _0x2883e3['originalIndex']-_0x53d5ed['originalIndex'];}class b extends _0xb39fca{['originalIndex'];['buttonView'];constructor(_0x2c0f01,_0x53d679){super(_0x2c0f01),this['originalIndex']=_0x53d679,this['buttonView']=null;}}class h extends _0x1a9338{['templateDefinition'];['textPartView'];constructor(_0x55deed,_0x31c774){super(_0x55deed),this['templateDefinition']=_0x31c774,this['textPartView']=null;const {icon:_0x4d8a16=_0x261a96}=_0x31c774;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x4d8a16}),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'](_0x73098f){const {title:_0x28ba15,description:_0x249a8c}=this['templateDefinition'],_0x36a608=!!_0x28ba15['match'](_0x73098f),_0x229314=!(!_0x249a8c||!_0x249a8c['match'](_0x73098f));return _0x36a608||_0x229314?{'title':_0x36a608,'description':_0x229314}:null;}['highlightText'](_0x53f85d){this['textPartView']['highlightText'](_0x53f85d);}}class L extends _0x5114c0{constructor(_0x22065b,_0x141784,_0x17f58d){super(_0x22065b),this['title']=_0x141784['title'],this['description']=_0x141784['description'],this['titleView']=new _0x14903e(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x17f58d}});const _0x32fa2f=[this['titleView']];this['description']&&(this['descriptionView']=new _0x14903e(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x32fa2f['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x32fa2f});}['highlightText'](_0x55e5de){this['titleView']['highlightText'](_0x55e5de),this['description']&&this['descriptionView']['highlightText'](_0x55e5de);}}function g(_0x348440,_0x57ff66,..._0x3100ba){const t=_0x348440['t'];switch(_0x57ff66){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x3100ba);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',..._0x3100ba);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x57ff66;}}class s extends _0x51383e{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2d25a3}=this,_0x41a769=_0x2d25a3['config']['get']('template.definitions')||[];_0x2d25a3['ui']['componentFactory']['add']('insertTemplate',_0x40b80d=>{const _0x25cb32=_0xd50f02(_0x40b80d),_0x2aed26=this['_createTemplateListView'](_0x40b80d,_0x41a769),_0x12d1c4=new _0x25e238(_0x40b80d,{'filteredView':_0x2aed26,'queryView':{'label':g(_0x40b80d,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x4685a7=>g(_0x40b80d,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x4685a7),'secondary':g(_0x40b80d,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x40b80d,'No\x20templates\x20available.')}}}}),_0x49ff0e=_0x2d25a3['commands']['get']('insertTemplate');return _0x12d1c4['on']('search',(_0x3b29d7,_0x5d8693)=>{_0x5d8693['query']&&_0x5d8693['query']['length']&&_0x2d25a3['ui']['ariaLiveAnnouncer']['announce'](g(_0x40b80d,'%0\x20templates\x20found',_0x5d8693['resultsCount']));}),_0x25cb32['bind']('isEnabled')['to'](_0x49ff0e),_0x25cb32['panelView']['children']['add'](_0x12d1c4),_0x25cb32['buttonView']['set']({'label':g(_0x40b80d,'Insert\x20template'),'icon':_0x7091c0,'tooltip':!0x0}),_0x25cb32['on']('change:isOpen',(_0x3c9431,_0x464533,_0x37121b)=>{_0x37121b||_0x12d1c4['reset']();}),_0x25cb32;}),_0x2d25a3['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x5c7141=>{const _0xb1a350=_0x2d25a3['commands']['get']('insertTemplate'),_0x205603=new _0x1f3e87(_0x5c7141);_0x205603['buttonView']['set']({'label':g(_0x5c7141,'Template'),'icon':_0x7091c0});const _0x39a05f=new _0x5b0795(_0x5c7141);if(!_0x41a769||!_0x41a769['length']){const _0x2ad0ee=new _0x2372cf(_0x5c7141,_0x205603),_0x37017c=new _0x4ec028(_0x5c7141);_0x37017c['set']({'label':g(_0x5c7141,'No\x20templates\x20available.')}),_0x37017c['delegate']('execute')['to'](_0x205603),_0x37017c['on']('execute',()=>{_0x2d25a3['editing']['view']['focus']();}),_0x2ad0ee['children']['add'](_0x37017c),_0x39a05f['items']['add'](_0x2ad0ee);}for(const _0x87cc13 of _0x41a769){const _0x17e345=new _0x2372cf(_0x5c7141,_0x205603),_0x935f08=new _0x4ec028(_0x5c7141);_0x935f08['set']({'class':'ck-template-button','label':_0x87cc13['title'],'icon':_0x87cc13['icon']||_0x261a96}),_0x935f08['delegate']('execute')['to'](_0x205603),_0x935f08['on']('execute',()=>{_0x2d25a3['execute']('insertTemplate',_0x87cc13['data']),_0x2d25a3['editing']['view']['focus']();}),_0x17e345['children']['add'](_0x935f08),_0x39a05f['items']['add'](_0x17e345);}return _0x205603['panelView']['children']['add'](_0x39a05f),_0x205603['bind']('isEnabled')['to'](_0xb1a350,'isEnabled'),_0x205603;});}['afterInit'](){!async function(_0x284d87){const _0x2b7640=_0x5c4b99([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x17472c=0x5dba9314,_0x3900f1=0x5dbde054^_0x17472c,_0x3d9782=window[_0x5c4b99([0x44,0x61,0x74,0x65])][_0x5c4b99([0x6e,0x6f,0x77])](),_0x15e6ce=_0x284d87[_0x5c4b99([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d0eed=new window[(_0x5c4b99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c4d15=>{_0x15e6ce[_0x5c4b99([0x6f,0x6e,0x63,0x65])](_0x5c4b99([0x72,0x65,0x61,0x64,0x79]),_0x4c4d15);}),_0x467381={[_0x5c4b99([0x6b,0x74,0x79])]:_0x5c4b99([0x45,0x43]),[_0x5c4b99([0x75,0x73,0x65])]:_0x5c4b99([0x73,0x69,0x67]),[_0x5c4b99([0x63,0x72,0x76])]:_0x5c4b99([0x50,0x2d,0x32,0x35,0x36]),[_0x5c4b99([0x78])]:_0x5c4b99([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]),[_0x5c4b99([0x79])]:_0x5c4b99([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]),[_0x5c4b99([0x61,0x6c,0x67])]:_0x5c4b99([0x45,0x53,0x32,0x35,0x36])},_0x35d5d6=_0x15e6ce[_0x5c4b99([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c4b99([0x67,0x65,0x74])](_0x5c4b99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5862ad(){let _0x1083e5,_0x17032f=null,_0x81b487=null;try{if(_0x35d5d6==_0x5c4b99([0x47,0x50,0x4c]))return _0x5c4b99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1083e5=_0x2dfe0c(),!_0x1083e5)return _0x5c4b99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1083e5[_0x5c4b99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x81b487=_0x5b4568(_0x1083e5[_0x5c4b99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1083e5[_0x5c4b99([0x6a,0x74,0x69])])),await _0x26b337()?_0x743978()?_0x4847f5()?_0x5c4b99([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b3917()?(_0x1083e5[_0x5c4b99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c4b99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17032f=_0x49fc02(_0x5c4b99([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1083e5[_0x5c4b99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c4b99([0x74,0x72,0x69,0x61,0x6c])&&(_0x17032f=_0x49fc02(_0x5c4b99([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e95be()):_0x5c4b99([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c4b99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c4b99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c4b99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4847f5(){const _0x477403=[_0x5c4b99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c4b99([0x74,0x72,0x69,0x61,0x6c])][_0x5c4b99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1083e5[_0x5c4b99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d9782/0x3e8:0xe10*_0x3900f1;return _0x1083e5[_0x5c4b99([0x65,0x78,0x70])]<_0x477403;}function _0x743978(){const _0x4378c3=_0x1083e5[_0x5c4b99([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4378c3&&(!!_0x4378c3[_0x5c4b99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c4b99([0x2a]))||(!!_0x4378c3[_0x5c4b99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c4b99([0x54,0x50,0x4c]))||(!!_0x4378c3[_0x5c4b99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c4b99([0x50,0x50]))||(!(!_0x4378c3[_0x5c4b99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c4b99([0x44,0x52,0x55,0x50]))||!_0x54c1ec())||!(!_0x4378c3[_0x5c4b99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c4b99([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1de204())))));}function _0x3b3917(){const _0x424779=_0x1083e5[_0x5c4b99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x424779||0x0==_0x424779[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49942a}=new URL(window[_0x5c4b99([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x424779[_0x5c4b99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49942a))return!0x0;const _0x995a0b=_0x49942a[_0x5c4b99([0x73,0x70,0x6c,0x69,0x74])](_0x5c4b99([0x2e]));return _0x424779[_0x5c4b99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x491f1e=>_0x491f1e[_0x5c4b99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c4b99([0x2a])))[_0x5c4b99([0x6d,0x61,0x70])](_0x2ccc59=>_0x2ccc59[_0x5c4b99([0x73,0x70,0x6c,0x69,0x74])](_0x5c4b99([0x2e])))[_0x5c4b99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fd9f2=>_0x1fd9f2[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x995a0b[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c4b99([0x6d,0x61,0x70])](_0x1210dc=>Array(_0x995a0b[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1210dc[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c4b99([0x66,0x69,0x6c,0x6c])](_0x1210dc[0x0]===_0x5c4b99([0x2a])?_0x5c4b99([0x2a]):'')[_0x5c4b99([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1210dc))[_0x5c4b99([0x73,0x6f,0x6d,0x65])](_0x19b54e=>_0x995a0b[_0x5c4b99([0x65,0x76,0x65,0x72,0x79])]((_0x12560d,_0x370067)=>_0x19b54e[_0x370067]===_0x12560d||_0x19b54e[_0x370067]===_0x5c4b99([0x2a])));}function _0x1e95be(){return _0x17032f&&_0x81b487?new window[(_0x5c4b99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c4a0c,_0x517067)=>{_0x17032f[_0x5c4b99([0x74,0x68,0x65,0x6e])](_0x1c4a0c,_0x517067),_0x81b487[_0x5c4b99([0x74,0x68,0x65,0x6e])](_0x206682=>{_0x206682!=_0x5c4b99([0x56,0x61,0x6c,0x69,0x64])&&_0x1c4a0c(_0x206682);},_0x517067);}):_0x17032f||_0x81b487||_0x5c4b99([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b4568(_0x4bd664,_0x53a760){return new window[(_0x5c4b99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4efd5b=>{if(_0x3775fe())return _0x4efd5b(_0x5c4b99([0x56,0x61,0x6c,0x69,0x64]));_0x573b5c(),_0x15e6ce[_0x5c4b99([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c4b99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x14f633=!0x1;const _0x4bba74=_0x2dea0e();function _0x177e02(_0xb3786){return!!_0xb3786&&(typeof _0xb3786===_0x5c4b99([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb3786===_0x5c4b99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb3786[_0x5c4b99([0x74,0x68,0x65,0x6e])]===_0x5c4b99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb3786[_0x5c4b99([0x63,0x61,0x74,0x63,0x68])]===_0x5c4b99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x594f35(_0x35dbc8){_0x2a9b06(_0x35dbc8)[_0x5c4b99([0x74,0x68,0x65,0x6e])](_0x5b5e59=>{if(!_0x5b5e59||_0x5b5e59[_0x5c4b99([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c4b99([0x6f,0x6b]))return _0x5c4b99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23a156(_0x2e9ba6(_0x4bba74+_0x53a760))!=_0x5b5e59[_0x5c4b99([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c4b99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c4b99([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c4b99([0x74,0x68,0x65,0x6e])](_0x19f3a3=>(_0xc696da(),_0x19f3a3),()=>{const _0x432b60=_0x45abd8();return null==_0x432b60?(_0xc696da(),_0x5c4b99([0x56,0x61,0x6c,0x69,0x64])):_0x5c4b99(_0x3d9782-_0x432b60>(0x79b61714^_0x17472c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c4b99([0x74,0x68,0x65,0x6e])](_0x4efd5b)[_0x5c4b99([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4efd5b(_0x5c4b99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x234f5a=0x5d8c7d94^_0x17472c;function _0xc696da(){const _0x168eb5=_0x5c4b99([0x6c,0x6c,0x63,0x74,0x2d])+_0x23a156(_0x2e9ba6(_0x4bd664)),_0x5576ac=_0x1bdb19(_0x23a156(window[_0x5c4b99([0x4d,0x61,0x74,0x68])][_0x5c4b99([0x63,0x65,0x69,0x6c])](_0x3d9782/_0x234f5a)));window[_0x5c4b99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c4b99([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168eb5,_0x5576ac);}function _0x45abd8(){const _0xa4e0e0=_0x5c4b99([0x6c,0x6c,0x63,0x74,0x2d])+_0x23a156(_0x2e9ba6(_0x4bd664)),_0x5b090e=window[_0x5c4b99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c4b99([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa4e0e0);return _0x5b090e?window[_0x5c4b99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bdb19(_0x5b090e),0x10)*_0x234f5a:null;}function _0x2a9b06(_0x42e03d){return new window[(_0x5c4b99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1601fb,_0x297d47)=>{_0x42e03d[_0x5c4b99([0x74,0x68,0x65,0x6e])](_0x1601fb,_0x297d47),window[_0x5c4b99([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x297d47,0x5dbb47d4^_0x17472c);});}}_0x15e6ce[_0x5c4b99([0x6f,0x6e])](_0x5c4b99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x414bfa,_0x33edd2)=>{if(_0x33edd2[0x0]!=_0x4bd664)return _0x4efd5b(_0x5c4b99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33edd2[0x1]={..._0x33edd2[0x1],[_0x5c4b99([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4bba74};},{[_0x5c4b99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c4b99([0x68,0x69,0x67,0x68])}),_0x15e6ce[_0x5c4b99([0x6f,0x6e])](_0x5c4b99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40bef0=>{_0x177e02(_0x40bef0[_0x5c4b99([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x14f633=!0x0,_0x594f35(_0x40bef0[_0x5c4b99([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c4b99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c4b99([0x6c,0x6f,0x77])}),_0x3d0eed[_0x5c4b99([0x74,0x68,0x65,0x6e])](()=>{_0x14f633||_0x4efd5b(_0x5c4b99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3775fe(){return _0x15e6ce[_0x5c4b99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c4b99([0x76,0x69,0x65,0x77])][_0x5c4b99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c4b99([0x61,0x75,0x74,0x6f]);}function _0x573b5c(){_0x15e6ce[_0x5c4b99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c4b99([0x76,0x69,0x65,0x77])][_0x5c4b99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c4b99([0x61,0x75,0x74,0x6f]);}}function _0x49fc02(_0x383140){const _0xaf4523=[new window[(_0x5c4b99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e369e=>setTimeout(_0x4e369e,0x5db3add8^_0x17472c)),_0x3d0eed[_0x5c4b99([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c4b99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37357c=>{let _0x10d7e0=0x0;_0x15e6ce[_0x5c4b99([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c4b99([0x6f,0x6e])](_0x5c4b99([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x190e2,_0x214329)=>{_0x214329[0x0][_0x5c4b99([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10d7e0++,_0x10d7e0==(0x5dba92ec^_0x17472c)&&(_0x37357c(),_0x190e2[_0x5c4b99([0x6f,0x66,0x66])]());});}))];return window[_0x5c4b99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c4b99([0x72,0x61,0x63,0x65])](_0xaf4523)[_0x5c4b99([0x74,0x68,0x65,0x6e])](()=>_0x383140);}async function _0x366b9b(){await _0x3d0eed,_0x15e6ce[_0x5c4b99([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c4b99([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x246205,_0x15e6ce[_0x5c4b99([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c4b99([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x246205,_0x15e6ce[_0x5c4b99([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c4b99([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54c1ec(){return window[_0x5c4b99([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1de204(){return window[_0x5c4b99([0x67,0x6c,0x6f,0x62])]&&window[_0x5c4b99([0x67,0x6c,0x6f,0x62])][_0x5c4b99([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x26ce39(_0x4dab42){const _0xaa6008=_0x30edbe();_0x15e6ce[_0xaa6008]=_0x5c4b99([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4dab42,_0x4dab42!=_0x5c4b99([0x56,0x61,0x6c,0x69,0x64])&&_0x366b9b();}function _0x30edbe(){const _0x366ff8=window[_0x5c4b99([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c4b99([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c4b99([0x6e,0x6f,0x77])]())[_0x5c4b99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c4b99([0x2e]),'');let _0x39b1f4=_0x5c4b99([0x4e]);for(let _0x4da1d1=0x0;_0x4da1d1<_0x366ff8[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4da1d1+=0x2){let _0x18bc56=window[_0x5c4b99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x366ff8[_0x5c4b99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4da1d1,_0x4da1d1+0x2));_0x18bc56>=_0x2b7640[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18bc56-=_0x2b7640[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39b1f4+=_0x2b7640[_0x18bc56];}return _0x39b1f4;}function _0x2dfe0c(){const _0x429caf=_0x35d5d6[_0x5c4b99([0x73,0x70,0x6c,0x69,0x74])](_0x5c4b99([0x2e]));if(0x3!=_0x429caf[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4af106(_0x429caf[0x1]);function _0x4af106(_0x3b6f30){const _0x4195ac=_0xa05582(_0x3b6f30);return _0x4195ac&&_0x201132()?_0x4195ac:null;function _0x201132(){const _0x508ecd=_0x4195ac[_0x5c4b99([0x6a,0x74,0x69])],_0x5d83e7=window[_0x5c4b99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x508ecd[_0x5c4b99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x508ecd[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3448c2={..._0x4195ac,[_0x5c4b99([0x6a,0x74,0x69])]:_0x508ecd[_0x5c4b99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x508ecd[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3448c2[_0x5c4b99([0x76,0x63])],_0x2e9ba6(_0x3448c2)==_0x5d83e7;}}}async function _0x26b337(){let _0x4cb260=!0x0;try{const _0x286480=_0x35d5d6[_0x5c4b99([0x73,0x70,0x6c,0x69,0x74])](_0x5c4b99([0x2e])),[_0x513028,_0x5935c8,_0x2fe8a9]=_0x286480;return _0x459e28(_0x513028),await _0x26f167(_0x513028,_0x5935c8,_0x2fe8a9),_0x4cb260;}catch{return!0x1;}function _0x459e28(_0x101474){const _0x53e009=_0xa05582(_0x101474);_0x53e009&&_0x53e009[_0x5c4b99([0x61,0x6c,0x67])]==_0x5c4b99([0x45,0x53,0x32,0x35,0x36])||(_0x4cb260=!0x1);}async function _0x26f167(_0x4c2b5b,_0x3c6a28,_0x16e32c){const _0x3a539c=window[_0x5c4b99([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c4b99([0x66,0x72,0x6f,0x6d])](_0x2631eb(_0x16e32c),_0x5131c7=>_0x5131c7[_0x5c4b99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dda47=new window[(_0x5c4b99([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c4b99([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c2b5b+_0x5c4b99([0x2e])+_0x3c6a28),_0x4ec941=window[_0x5c4b99([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c4b99([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ec941)return;const _0x11dfc0=await _0x4ec941[_0x5c4b99([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c4b99([0x6a,0x77,0x6b]),_0x467381,{[_0x5c4b99([0x6e,0x61,0x6d,0x65])]:_0x5c4b99([0x45,0x43,0x44,0x53,0x41]),[_0x5c4b99([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c4b99([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c4b99([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ec941[_0x5c4b99([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c4b99([0x6e,0x61,0x6d,0x65])]:_0x5c4b99([0x45,0x43,0x44,0x53,0x41]),[_0x5c4b99([0x68,0x61,0x73,0x68])]:{[_0x5c4b99([0x6e,0x61,0x6d,0x65])]:_0x5c4b99([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11dfc0,_0x3a539c,_0x4dda47)||(_0x4cb260=!0x1);}}function _0xa05582(_0x5eab9a){return _0x5eab9a[_0x5c4b99([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c4b99([0x65,0x79]))?JSON[_0x5c4b99([0x70,0x61,0x72,0x73,0x65])](_0x2631eb(_0x5eab9a)):null;}function _0x2631eb(_0x4344c0){return window[_0x5c4b99([0x61,0x74,0x6f,0x62])](_0x4344c0[_0x5c4b99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c4b99([0x2b]))[_0x5c4b99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c4b99([0x2f])));}function _0x2e9ba6(_0x5c7d11){let _0x1a099b=0x1505;function _0x1460cb(_0x9e93f7){for(let _0x1d4004=0x0;_0x1d4004<_0x9e93f7[_0x5c4b99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d4004++){const _0x1f3636=_0x9e93f7[_0x5c4b99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d4004);_0x1a099b=(_0x1a099b<<0x5)+_0x1a099b+_0x1f3636,_0x1a099b&=_0x1a099b;}}function _0x1ee67f(_0x3dd3f3){Array[_0x5c4b99([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3dd3f3)?_0x3dd3f3[_0x5c4b99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ee67f):_0x3dd3f3&&typeof _0x3dd3f3==_0x5c4b99([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c4b99([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3dd3f3)[_0x5c4b99([0x73,0x6f,0x72,0x74])]()[_0x5c4b99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d6395,_0x4b5a9b])=>{_0x1460cb(_0x1d6395),_0x1ee67f(_0x4b5a9b);}):_0x1460cb(window[_0x5c4b99([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3dd3f3));}return _0x1ee67f(_0x5c7d11),_0x1a099b>>>0x0;}function _0x23a156(_0x36fa46){return _0x36fa46[_0x5c4b99([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c4b99([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c4b99([0x30]));}function _0x1bdb19(_0x52ef25){return _0x52ef25[_0x5c4b99([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c4b99([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c4b99([0x6a,0x6f,0x69,0x6e])]('');}function _0x246205(){}function _0x5c4b99(_0x451c07){return _0x451c07['map'](_0xde2ab7=>String['fromCharCode'](_0xde2ab7))['join']('');}_0x26ce39(await _0x5862ad());}(this);}['_createTemplateListView'](_0x3917e6,_0x5551be){const {editor:_0x31e68c}=this,_0x3b2a81=new y(_0x3917e6);return _0x3b2a81['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x3b2a81['items']['addMany'](_0x5551be['map']((_0x179c31,_0x3bf8f1)=>{const _0x4866ca=new b(_0x3917e6,_0x3bf8f1),_0x1f245f=new h(_0x3917e6,_0x179c31);return _0x4866ca['buttonView']=_0x1f245f,_0x4866ca['children']['add'](_0x1f245f),_0x4866ca['buttonView']['on']('execute',_0x27f7a8=>{_0x31e68c['execute']('insertTemplate',_0x27f7a8['source']['templateDefinition']['data']),_0x31e68c['editing']['view']['focus']();}),_0x4866ca;})),_0x3b2a81;}}class K extends _0x51383e{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x414cce,Plugin as _0x4d8bea}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x251d3d,IconTemplate as _0x2ed1ee}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x36a1bf,ListItemView as _0x375c7c,ButtonView as _0x437426,View as _0x8a2727,HighlightedTextView as _0x3b9cc0,createDropdown as _0x56f115,SearchTextView as _0xf9915a,MenuBarMenuView as _0x2299e1,MenuBarMenuListView as _0x4d2cba,MenuBarMenuListItemView as _0x11c0b6,MenuBarMenuListItemButtonView as _0x7aeb4e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x352d32}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x414cce{['execute'](_0x1662d9){const {model:_0x68f2b8}=this['editor'];let _0x32a666;switch(typeof _0x1662d9){case'string':_0x32a666=_0x1662d9;break;case'function':_0x32a666=_0x1662d9();}'string'==typeof _0x32a666&&_0x68f2b8['change'](()=>{const _0x22db10=this['editor']['data']['htmlProcessor']['toView'](_0x32a666),_0x29628d=this['editor']['data']['toModel'](_0x22db10);_0x68f2b8['insertContent'](_0x29628d);});}}class i extends _0x4d8bea{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1e91b7}=this;_0x1e91b7['commands']['add']('insertTemplate',new a(_0x1e91b7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7669e4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52e86e;for(const _0x582227 in _0x7669e4){const _0x3f6949=_0x582227,_0x3e1b86=_0x7669e4[_0x3f6949];if('templateLicenseKeyValid'==_0x3e1b86||'templateLicenseKeyInvalid'==_0x3e1b86||'templateLicenseKeyExpired'==_0x3e1b86||'templateLicenseKeyDomainLimit'==_0x3e1b86||'templateLicenseKeyNotAllowed'==_0x3e1b86||'templateLicenseKeyEvaluationLimit'==_0x3e1b86||'templateLicenseKeyTrialLimit'==_0x3e1b86||'templateLicenseKeyUsageLimit'==_0x3e1b86){delete _0x7669e4[_0x3f6949],_0x52e86e=_0x3e1b86,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x52e86e&&_0x7669e4['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x52e86e&&_0x7669e4['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x52e86e&&_0x7669e4['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x52e86e&&_0x7669e4['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x52e86e&&_0x7669e4['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x52e86e&&_0x7669e4['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x52e86e&&_0x7669e4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x36a1bf{['filter'](_0x3fbefd){if(!_0x3fbefd)return this['_resetFiltering']();const _0x5143a8=new Map(),_0x1d4edf=this['items']['map'](_0x3b58f2=>{const _0x1d50aa=_0x3b58f2['buttonView']['isMatching'](_0x3fbefd);return _0x3b58f2['isVisible']=!!_0x1d50aa,_0x3b58f2['buttonView']['highlightText'](_0x1d50aa?_0x3fbefd:null),_0x1d50aa&&_0x5143a8['set'](_0x3b58f2,_0x1d50aa),_0x3b58f2;})['sort'](j)['sort'](function(_0x2cd583){return function(_0x62782b,_0x5bae92){const _0x5bbdf3=_0x2cd583['get'](_0x62782b),_0x3b82dd=_0x2cd583['get'](_0x5bae92);return _0x5bbdf3&&!_0x3b82dd?-0x1:_0x3b82dd&&!_0x5bbdf3?0x1:_0x5bbdf3||_0x3b82dd?_0x5bbdf3['title']&&!_0x3b82dd['title']?-0x1:!_0x5bbdf3['title']&&_0x3b82dd['title']?0x1:0x0:0x0;};}(_0x5143a8));return this['items']['clear'](),this['items']['addMany'](_0x1d4edf),{'resultsCount':_0x5143a8['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x121d16=this['items']['map'](_0x5bff40=>_0x5bff40)['sort'](j);return _0x121d16['forEach'](_0x3ffc3b=>{_0x3ffc3b['isVisible']=!0x0,_0x3ffc3b['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x121d16),{'resultsCount':_0x121d16['length'],'totalItemsCount':_0x121d16['length']};}}function j(_0x4e538a,_0x1387ca){return _0x4e538a['originalIndex']-_0x1387ca['originalIndex'];}class b extends _0x375c7c{['originalIndex'];['buttonView'];constructor(_0x4cabd9,_0xbb533a){super(_0x4cabd9),this['originalIndex']=_0xbb533a,this['buttonView']=null;}}class h extends _0x437426{['templateDefinition'];['textPartView'];constructor(_0x17a54b,_0x6ae18e){super(_0x17a54b),this['templateDefinition']=_0x6ae18e,this['textPartView']=null;const {icon:_0x4903a7=_0x251d3d}=_0x6ae18e;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x4903a7}),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'](_0x24b767){const {title:_0x3ca6e0,description:_0x2ff5fa}=this['templateDefinition'],_0x3ea3fc=!!_0x3ca6e0['match'](_0x24b767),_0x11b51c=!(!_0x2ff5fa||!_0x2ff5fa['match'](_0x24b767));return _0x3ea3fc||_0x11b51c?{'title':_0x3ea3fc,'description':_0x11b51c}:null;}['highlightText'](_0x235514){this['textPartView']['highlightText'](_0x235514);}}class L extends _0x8a2727{constructor(_0x57b880,_0x556dc2,_0x605fc4){super(_0x57b880),this['title']=_0x556dc2['title'],this['description']=_0x556dc2['description'],this['titleView']=new _0x3b9cc0(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x605fc4}});const _0x9401f4=[this['titleView']];this['description']&&(this['descriptionView']=new _0x3b9cc0(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x9401f4['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x9401f4});}['highlightText'](_0x3095c1){this['titleView']['highlightText'](_0x3095c1),this['description']&&this['descriptionView']['highlightText'](_0x3095c1);}}function g(_0x3b3e1f,_0x1d75f1,..._0xb740b8){const t=_0x3b3e1f['t'];switch(_0x1d75f1){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xb740b8);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',..._0xb740b8);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x1d75f1;}}class s extends _0x4d8bea{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2ca03d}=this,_0x42ce5a=_0x2ca03d['config']['get']('template.definitions')||[];_0x2ca03d['ui']['componentFactory']['add']('insertTemplate',_0x37c1d6=>{const _0x2cf7e2=_0x56f115(_0x37c1d6),_0x4cf91b=this['_createTemplateListView'](_0x37c1d6,_0x42ce5a),_0x449009=new _0xf9915a(_0x37c1d6,{'filteredView':_0x4cf91b,'queryView':{'label':g(_0x37c1d6,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x363298=>g(_0x37c1d6,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x363298),'secondary':g(_0x37c1d6,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x37c1d6,'No\x20templates\x20available.')}}}}),_0x38a33e=_0x2ca03d['commands']['get']('insertTemplate');return _0x449009['on']('search',(_0x17260b,_0x44ad32)=>{_0x44ad32['query']&&_0x44ad32['query']['length']&&_0x2ca03d['ui']['ariaLiveAnnouncer']['announce'](g(_0x37c1d6,'%0\x20templates\x20found',_0x44ad32['resultsCount']));}),_0x2cf7e2['bind']('isEnabled')['to'](_0x38a33e),_0x2cf7e2['panelView']['children']['add'](_0x449009),_0x2cf7e2['buttonView']['set']({'label':g(_0x37c1d6,'Insert\x20template'),'icon':_0x2ed1ee,'tooltip':!0x0}),_0x2cf7e2['on']('change:isOpen',(_0x53eaad,_0xc7b654,_0x4d3f60)=>{_0x4d3f60||_0x449009['reset']();}),_0x2cf7e2;}),_0x2ca03d['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x5734a0=>{const _0x3a3c19=_0x2ca03d['commands']['get']('insertTemplate'),_0x2cdb52=new _0x2299e1(_0x5734a0);_0x2cdb52['buttonView']['set']({'label':g(_0x5734a0,'Template'),'icon':_0x2ed1ee});const _0x46463b=new _0x4d2cba(_0x5734a0);if(!_0x42ce5a||!_0x42ce5a['length']){const _0x1f10b4=new _0x11c0b6(_0x5734a0,_0x2cdb52),_0x3923ab=new _0x7aeb4e(_0x5734a0);_0x3923ab['set']({'label':g(_0x5734a0,'No\x20templates\x20available.')}),_0x3923ab['delegate']('execute')['to'](_0x2cdb52),_0x3923ab['on']('execute',()=>{_0x2ca03d['editing']['view']['focus']();}),_0x1f10b4['children']['add'](_0x3923ab),_0x46463b['items']['add'](_0x1f10b4);}for(const _0x14eb79 of _0x42ce5a){const _0x4f59d7=new _0x11c0b6(_0x5734a0,_0x2cdb52),_0xc94f58=new _0x7aeb4e(_0x5734a0);_0xc94f58['set']({'class':'ck-template-button','label':_0x14eb79['title'],'icon':_0x14eb79['icon']||_0x251d3d}),_0xc94f58['delegate']('execute')['to'](_0x2cdb52),_0xc94f58['on']('execute',()=>{_0x2ca03d['execute']('insertTemplate',_0x14eb79['data']),_0x2ca03d['editing']['view']['focus']();}),_0x4f59d7['children']['add'](_0xc94f58),_0x46463b['items']['add'](_0x4f59d7);}return _0x2cdb52['panelView']['children']['add'](_0x46463b),_0x2cdb52['bind']('isEnabled')['to'](_0x3a3c19,'isEnabled'),_0x2cdb52;});}['afterInit'](){!async function(_0x27e60a){const _0x10847a=_0x3fc445([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x320b81=0x5dba9314,_0x5aef49=0x5dbde04c^_0x320b81,_0x4b347b=window[_0x3fc445([0x44,0x61,0x74,0x65])][_0x3fc445([0x6e,0x6f,0x77])](),_0x303a64=_0x27e60a[_0x3fc445([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3624ee=new window[(_0x3fc445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd458b7=>{_0x303a64[_0x3fc445([0x6f,0x6e,0x63,0x65])](_0x3fc445([0x72,0x65,0x61,0x64,0x79]),_0xd458b7);}),_0x811d16={[_0x3fc445([0x6b,0x74,0x79])]:_0x3fc445([0x45,0x43]),[_0x3fc445([0x75,0x73,0x65])]:_0x3fc445([0x73,0x69,0x67]),[_0x3fc445([0x63,0x72,0x76])]:_0x3fc445([0x50,0x2d,0x32,0x35,0x36]),[_0x3fc445([0x78])]:_0x3fc445([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]),[_0x3fc445([0x79])]:_0x3fc445([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]),[_0x3fc445([0x61,0x6c,0x67])]:_0x3fc445([0x45,0x53,0x32,0x35,0x36])},_0x4dc731=_0x303a64[_0x3fc445([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fc445([0x67,0x65,0x74])](_0x3fc445([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57dfc1(){let _0x599833,_0x3c8c05=null,_0x5844c4=null;try{if(_0x4dc731==_0x3fc445([0x47,0x50,0x4c]))return _0x3fc445([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x599833=_0x4c55ad(),!_0x599833)return _0x3fc445([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x599833[_0x3fc445([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5844c4=_0xde4549(_0x599833[_0x3fc445([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x599833[_0x3fc445([0x6a,0x74,0x69])])),await _0x47e969()?_0x5bc6f3()?_0x472aee()?_0x3fc445([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35d312()?(_0x599833[_0x3fc445([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc445([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c8c05=_0x3a4974(_0x3fc445([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x599833[_0x3fc445([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc445([0x74,0x72,0x69,0x61,0x6c])&&(_0x3c8c05=_0x3a4974(_0x3fc445([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x353cdc()):_0x3fc445([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc445([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fc445([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fc445([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x472aee(){const _0x53a7ba=[_0x3fc445([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fc445([0x74,0x72,0x69,0x61,0x6c])][_0x3fc445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x599833[_0x3fc445([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b347b/0x3e8:0xe10*_0x5aef49;return _0x599833[_0x3fc445([0x65,0x78,0x70])]<_0x53a7ba;}function _0x5bc6f3(){const _0x1870c0=_0x599833[_0x3fc445([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1870c0&&(!!_0x1870c0[_0x3fc445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc445([0x2a]))||(!!_0x1870c0[_0x3fc445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc445([0x54,0x50,0x4c]))||(!!_0x1870c0[_0x3fc445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc445([0x50,0x50]))||(!(!_0x1870c0[_0x3fc445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc445([0x44,0x52,0x55,0x50]))||!_0x401946())||!(!_0x1870c0[_0x3fc445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc445([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5ee4ae())))));}function _0x35d312(){const _0x4e8c97=_0x599833[_0x3fc445([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e8c97||0x0==_0x4e8c97[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x679af6}=new URL(window[_0x3fc445([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e8c97[_0x3fc445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x679af6))return!0x0;const _0x24a30e=_0x679af6[_0x3fc445([0x73,0x70,0x6c,0x69,0x74])](_0x3fc445([0x2e]));return _0x4e8c97[_0x3fc445([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bf21d=>_0x4bf21d[_0x3fc445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc445([0x2a])))[_0x3fc445([0x6d,0x61,0x70])](_0x4f1197=>_0x4f1197[_0x3fc445([0x73,0x70,0x6c,0x69,0x74])](_0x3fc445([0x2e])))[_0x3fc445([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8f0c95=>_0x8f0c95[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24a30e[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc445([0x6d,0x61,0x70])](_0x144749=>Array(_0x24a30e[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x144749[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc445([0x66,0x69,0x6c,0x6c])](_0x144749[0x0]===_0x3fc445([0x2a])?_0x3fc445([0x2a]):'')[_0x3fc445([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x144749))[_0x3fc445([0x73,0x6f,0x6d,0x65])](_0xfe80ac=>_0x24a30e[_0x3fc445([0x65,0x76,0x65,0x72,0x79])]((_0x3b6e54,_0x194f94)=>_0xfe80ac[_0x194f94]===_0x3b6e54||_0xfe80ac[_0x194f94]===_0x3fc445([0x2a])));}function _0x353cdc(){return _0x3c8c05&&_0x5844c4?new window[(_0x3fc445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12eca7,_0x172bec)=>{_0x3c8c05[_0x3fc445([0x74,0x68,0x65,0x6e])](_0x12eca7,_0x172bec),_0x5844c4[_0x3fc445([0x74,0x68,0x65,0x6e])](_0x15f322=>{_0x15f322!=_0x3fc445([0x56,0x61,0x6c,0x69,0x64])&&_0x12eca7(_0x15f322);},_0x172bec);}):_0x3c8c05||_0x5844c4||_0x3fc445([0x56,0x61,0x6c,0x69,0x64]);}}function _0xde4549(_0x5b208c,_0x56e557){return new window[(_0x3fc445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ff71e=>{if(_0x5e1ac8())return _0x4ff71e(_0x3fc445([0x56,0x61,0x6c,0x69,0x64]));_0x384960(),_0x303a64[_0x3fc445([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fc445([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x322206=!0x1;const _0x4c43f9=_0x352d32();function _0x8296df(_0x25446a){return!!_0x25446a&&(typeof _0x25446a===_0x3fc445([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25446a===_0x3fc445([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25446a[_0x3fc445([0x74,0x68,0x65,0x6e])]===_0x3fc445([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25446a[_0x3fc445([0x63,0x61,0x74,0x63,0x68])]===_0x3fc445([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f2b46(_0x3cfc88){_0x2bc538(_0x3cfc88)[_0x3fc445([0x74,0x68,0x65,0x6e])](_0x245543=>{if(!_0x245543||_0x245543[_0x3fc445([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fc445([0x6f,0x6b]))return _0x3fc445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36a702(_0x54b880(_0x4c43f9+_0x56e557))!=_0x245543[_0x3fc445([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fc445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc445([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc445([0x74,0x68,0x65,0x6e])](_0x2c2b04=>(_0xf6bec1(),_0x2c2b04),()=>{const _0x5d7901=_0x3b7c01();return null==_0x5d7901?(_0xf6bec1(),_0x3fc445([0x56,0x61,0x6c,0x69,0x64])):_0x3fc445(_0x4b347b-_0x5d7901>(0x79b61714^_0x320b81)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc445([0x74,0x68,0x65,0x6e])](_0x4ff71e)[_0x3fc445([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ff71e(_0x3fc445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc256ca=0x5d8c7d94^_0x320b81;function _0xf6bec1(){const _0x194162=_0x3fc445([0x6c,0x6c,0x63,0x74,0x2d])+_0x36a702(_0x54b880(_0x5b208c)),_0xc8b8d7=_0x4f18b1(_0x36a702(window[_0x3fc445([0x4d,0x61,0x74,0x68])][_0x3fc445([0x63,0x65,0x69,0x6c])](_0x4b347b/_0xc256ca)));window[_0x3fc445([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc445([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x194162,_0xc8b8d7);}function _0x3b7c01(){const _0x161838=_0x3fc445([0x6c,0x6c,0x63,0x74,0x2d])+_0x36a702(_0x54b880(_0x5b208c)),_0x194579=window[_0x3fc445([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc445([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x161838);return _0x194579?window[_0x3fc445([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f18b1(_0x194579),0x10)*_0xc256ca:null;}function _0x2bc538(_0x1c99f6){return new window[(_0x3fc445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x751dd8,_0x14e0a4)=>{_0x1c99f6[_0x3fc445([0x74,0x68,0x65,0x6e])](_0x751dd8,_0x14e0a4),window[_0x3fc445([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14e0a4,0x5dbb47d4^_0x320b81);});}}_0x303a64[_0x3fc445([0x6f,0x6e])](_0x3fc445([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d721d,_0x4e631e)=>{if(_0x4e631e[0x0]!=_0x5b208c)return _0x4ff71e(_0x3fc445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e631e[0x1]={..._0x4e631e[0x1],[_0x3fc445([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c43f9};},{[_0x3fc445([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc445([0x68,0x69,0x67,0x68])}),_0x303a64[_0x3fc445([0x6f,0x6e])](_0x3fc445([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc5a9d5=>{_0x8296df(_0xc5a9d5[_0x3fc445([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x322206=!0x0,_0x5f2b46(_0xc5a9d5[_0x3fc445([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fc445([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc445([0x6c,0x6f,0x77])}),_0x3624ee[_0x3fc445([0x74,0x68,0x65,0x6e])](()=>{_0x322206||_0x4ff71e(_0x3fc445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e1ac8(){return _0x303a64[_0x3fc445([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc445([0x76,0x69,0x65,0x77])][_0x3fc445([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fc445([0x61,0x75,0x74,0x6f]);}function _0x384960(){_0x303a64[_0x3fc445([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc445([0x76,0x69,0x65,0x77])][_0x3fc445([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fc445([0x61,0x75,0x74,0x6f]);}}function _0x3a4974(_0x2abf57){const _0x58730b=[new window[(_0x3fc445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57cf5e=>setTimeout(_0x57cf5e,0x5db3add8^_0x320b81)),_0x3624ee[_0x3fc445([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fc445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20be8c=>{let _0x1311ce=0x0;_0x303a64[_0x3fc445([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc445([0x6f,0x6e])](_0x3fc445([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6295dd,_0x4f8225)=>{_0x4f8225[0x0][_0x3fc445([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1311ce++,_0x1311ce==(0x5dba92ec^_0x320b81)&&(_0x20be8c(),_0x6295dd[_0x3fc445([0x6f,0x66,0x66])]());});}))];return window[_0x3fc445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fc445([0x72,0x61,0x63,0x65])](_0x58730b)[_0x3fc445([0x74,0x68,0x65,0x6e])](()=>_0x2abf57);}async function _0x29b82f(){await _0x3624ee,_0x303a64[_0x3fc445([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc445([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x131935,_0x303a64[_0x3fc445([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc445([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x131935,_0x303a64[_0x3fc445([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fc445([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x401946(){return window[_0x3fc445([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5ee4ae(){return window[_0x3fc445([0x67,0x6c,0x6f,0x62])]&&window[_0x3fc445([0x67,0x6c,0x6f,0x62])][_0x3fc445([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4c0ba0(_0x5c3d2a){const _0x33e189=_0xdd1188();_0x303a64[_0x33e189]=_0x3fc445([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c3d2a,_0x5c3d2a!=_0x3fc445([0x56,0x61,0x6c,0x69,0x64])&&_0x29b82f();}function _0xdd1188(){const _0x544147=window[_0x3fc445([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fc445([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fc445([0x6e,0x6f,0x77])]())[_0x3fc445([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fc445([0x2e]),'');let _0x5c8c94=_0x3fc445([0x4e]);for(let _0x8b67e1=0x0;_0x8b67e1<_0x544147[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8b67e1+=0x2){let _0x51798a=window[_0x3fc445([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x544147[_0x3fc445([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8b67e1,_0x8b67e1+0x2));_0x51798a>=_0x10847a[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51798a-=_0x10847a[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c8c94+=_0x10847a[_0x51798a];}return _0x5c8c94;}function _0x4c55ad(){const _0x464267=_0x4dc731[_0x3fc445([0x73,0x70,0x6c,0x69,0x74])](_0x3fc445([0x2e]));if(0x3!=_0x464267[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48c35e(_0x464267[0x1]);function _0x48c35e(_0x81f98e){const _0x8c1c32=_0x3ee4f1(_0x81f98e);return _0x8c1c32&&_0x1c69ba()?_0x8c1c32:null;function _0x1c69ba(){const _0x3283ba=_0x8c1c32[_0x3fc445([0x6a,0x74,0x69])],_0x38d6a0=window[_0x3fc445([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3283ba[_0x3fc445([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3283ba[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x473231={..._0x8c1c32,[_0x3fc445([0x6a,0x74,0x69])]:_0x3283ba[_0x3fc445([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3283ba[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x473231[_0x3fc445([0x76,0x63])],_0x54b880(_0x473231)==_0x38d6a0;}}}async function _0x47e969(){let _0x5603f=!0x0;try{const _0x118045=_0x4dc731[_0x3fc445([0x73,0x70,0x6c,0x69,0x74])](_0x3fc445([0x2e])),[_0x23f248,_0x1c06aa,_0x1c0525]=_0x118045;return _0x2e38b3(_0x23f248),await _0x836142(_0x23f248,_0x1c06aa,_0x1c0525),_0x5603f;}catch{return!0x1;}function _0x2e38b3(_0x31f289){const _0xf27f88=_0x3ee4f1(_0x31f289);_0xf27f88&&_0xf27f88[_0x3fc445([0x61,0x6c,0x67])]==_0x3fc445([0x45,0x53,0x32,0x35,0x36])||(_0x5603f=!0x1);}async function _0x836142(_0x2724b7,_0xa7825a,_0x23293b){const _0x2cb0c1=window[_0x3fc445([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fc445([0x66,0x72,0x6f,0x6d])](_0x3a1a4a(_0x23293b),_0x2fa145=>_0x2fa145[_0x3fc445([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1915cb=new window[(_0x3fc445([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fc445([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2724b7+_0x3fc445([0x2e])+_0xa7825a),_0x1d1dee=window[_0x3fc445([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fc445([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d1dee)return;const _0x5630c9=await _0x1d1dee[_0x3fc445([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fc445([0x6a,0x77,0x6b]),_0x811d16,{[_0x3fc445([0x6e,0x61,0x6d,0x65])]:_0x3fc445([0x45,0x43,0x44,0x53,0x41]),[_0x3fc445([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fc445([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fc445([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d1dee[_0x3fc445([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fc445([0x6e,0x61,0x6d,0x65])]:_0x3fc445([0x45,0x43,0x44,0x53,0x41]),[_0x3fc445([0x68,0x61,0x73,0x68])]:{[_0x3fc445([0x6e,0x61,0x6d,0x65])]:_0x3fc445([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5630c9,_0x2cb0c1,_0x1915cb)||(_0x5603f=!0x1);}}function _0x3ee4f1(_0x53a458){return _0x53a458[_0x3fc445([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fc445([0x65,0x79]))?JSON[_0x3fc445([0x70,0x61,0x72,0x73,0x65])](_0x3a1a4a(_0x53a458)):null;}function _0x3a1a4a(_0x422326){return window[_0x3fc445([0x61,0x74,0x6f,0x62])](_0x422326[_0x3fc445([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fc445([0x2b]))[_0x3fc445([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fc445([0x2f])));}function _0x54b880(_0x2878f7){let _0x105bd0=0x1505;function _0x1a99dd(_0x311f2e){for(let _0xa18753=0x0;_0xa18753<_0x311f2e[_0x3fc445([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa18753++){const _0x3407ef=_0x311f2e[_0x3fc445([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa18753);_0x105bd0=(_0x105bd0<<0x5)+_0x105bd0+_0x3407ef,_0x105bd0&=_0x105bd0;}}function _0x46239d(_0x3d38bc){Array[_0x3fc445([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d38bc)?_0x3d38bc[_0x3fc445([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46239d):_0x3d38bc&&typeof _0x3d38bc==_0x3fc445([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fc445([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d38bc)[_0x3fc445([0x73,0x6f,0x72,0x74])]()[_0x3fc445([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e2a14,_0x5d2b1e])=>{_0x1a99dd(_0x4e2a14),_0x46239d(_0x5d2b1e);}):_0x1a99dd(window[_0x3fc445([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d38bc));}return _0x46239d(_0x2878f7),_0x105bd0>>>0x0;}function _0x36a702(_0x4cb333){return _0x4cb333[_0x3fc445([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fc445([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fc445([0x30]));}function _0x4f18b1(_0x4054b5){return _0x4054b5[_0x3fc445([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fc445([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fc445([0x6a,0x6f,0x69,0x6e])]('');}function _0x131935(){}function _0x3fc445(_0x1915ef){return _0x1915ef['map'](_0x26ea38=>String['fromCharCode'](_0x26ea38))['join']('');}_0x4c0ba0(await _0x57dfc1());}(this);}['_createTemplateListView'](_0x5c982b,_0x527919){const {editor:_0x43e134}=this,_0x1114fb=new y(_0x5c982b);return _0x1114fb['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x1114fb['items']['addMany'](_0x527919['map']((_0xcc97c,_0x3ea136)=>{const _0x5b7445=new b(_0x5c982b,_0x3ea136),_0x9b46d=new h(_0x5c982b,_0xcc97c);return _0x5b7445['buttonView']=_0x9b46d,_0x5b7445['children']['add'](_0x9b46d),_0x5b7445['buttonView']['on']('execute',_0x27ed4c=>{_0x43e134['execute']('insertTemplate',_0x27ed4c['source']['templateDefinition']['data']),_0x43e134['editing']['view']['focus']();}),_0x5b7445;})),_0x1114fb;}}class K extends _0x4d8bea{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "46.1.1-alpha.
|
|
3
|
+
"version": "46.1.1-alpha.2",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "46.1.1-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "46.1.1-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.
|
|
29
|
-
"ckeditor5": "46.1.1-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "46.1.1-alpha.2",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "46.1.1-alpha.2",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.2",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.2",
|
|
29
|
+
"ckeditor5": "46.1.1-alpha.2"
|
|
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 _0x121e55=_0x448b;(function(_0x2835ae,_0x575cd0){const _0x135bb2=_0x448b,_0xae1b1d=_0x2835ae();while(!![]){try{const _0x37eb88=parseInt(_0x135bb2(0xc9))/0x1*(parseInt(_0x135bb2(0xc5))/0x2)+parseInt(_0x135bb2(0xc4))/0x3*(-parseInt(_0x135bb2(0xd4))/0x4)+-parseInt(_0x135bb2(0x101))/0x5+parseInt(_0x135bb2(0xd7))/0x6*(parseInt(_0x135bb2(0xd9))/0x7)+-parseInt(_0x135bb2(0xc8))/0x8*(-parseInt(_0x135bb2(0xc3))/0x9)+-parseInt(_0x135bb2(0xf3))/0xa+parseInt(_0x135bb2(0xe6))/0xb;if(_0x37eb88===_0x575cd0)break;else _0xae1b1d['push'](_0xae1b1d['shift']());}catch(_0x3cf0e2){_0xae1b1d['push'](_0xae1b1d['shift']());}}}(_0x376b,0x787fc));import{Plugin as _0x26d356}from'ckeditor5/src/core.js';import{IconTemplate as _0x38d89b,IconTemplateGeneric as _0x20aaed}from'ckeditor5/src/icons.js';function _0x376b(){const _0x5b27b4=['children','Insert\x20template','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','isEnabled','isPremiumPlugin','view','_createTemplateListView','insertTemplate','No\x20templates\x20available.','2620387FNSbXJ','announce','resultsCount','menuBar:insertTemplate','Search\x20template','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','href','search','TemplateUI','template.definitions','afterInit','ck-template-form','pluginName','3259670ZgCsOc','join','ariaLiveAnnouncer','add','init','fromCharCode','%0\x20templates\x20found','items','templateDefinition','set','componentFactory','change:isOpen','panelView','Template','3784175iWWklP','reset','title','listbox','map','query','27KuVFZC','57MuWYpg','3428pwAFjt','editing','isOfficialPlugin','2009560UYokMN','499DtWYYR','execute','get','delegate','extendTemplate','icon','length','bind','config','source','commands','149876XhdIGU','focus','addMany','1974ofnzyy','data','9387qVjTqg','buttonView','ck-template-list','ck-template-button'];_0x376b=function(){return _0x5b27b4;};return _0x376b();}import{MenuBarMenuListItemButtonView as _0x24493e,MenuBarMenuListItemView as _0x2999de,MenuBarMenuListView as _0xc8c0fc,MenuBarMenuView as _0xbcd6ba,SearchTextView as _0x200d90,createDropdown as _0x1aabce}from'ckeditor5/src/ui.js';import{uid as _0x51e18b}from'ckeditor5/src/utils.js';import{TemplateListView as _0x4be566}from'./ui/templatelistview.js';import{TemplateListItemView as _0x5261e1}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x3daf57}from'./ui/templatelistbuttonview.js';function _0x448b(_0x46ed29,_0x385f04){const _0x376b4f=_0x376b();return _0x448b=function(_0x448b09,_0x40ae15){_0x448b09=_0x448b09-0xbe;let _0x28f137=_0x376b4f[_0x448b09];return _0x28f137;},_0x448b(_0x46ed29,_0x385f04);}import{getTranslation as _0x2875a7}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x26d356{static get[_0x121e55(0xf2)](){const _0x37502f=_0x121e55;return _0x37502f(0xee);}static get[_0x121e55(0xc7)](){return!0x0;}static get[_0x121e55(0xe1)](){return!0x0;}[_0x121e55(0xf7)](){const _0x301546=_0x121e55,{editor:_0x45832b}=this,_0x21bc2d=_0x45832b[_0x301546(0xd1)][_0x301546(0xcb)](_0x301546(0xef))||[];_0x45832b['ui'][_0x301546(0xfd)][_0x301546(0xf6)](_0x301546(0xe4),_0x4aad5a=>{const _0x45c813=_0x301546,_0x3195f1=_0x1aabce(_0x4aad5a),_0x651d3b=this[_0x45c813(0xe3)](_0x4aad5a,_0x21bc2d),_0x4f2afc=new _0x200d90(_0x4aad5a,{'filteredView':_0x651d3b,'queryView':{'label':_0x2875a7(_0x4aad5a,_0x45c813(0xea))},'class':_0x45c813(0xf1),'infoView':{'text':{'notFound':{'primary':_0x24d987=>_0x2875a7(_0x4aad5a,_0x45c813(0xeb),_0x24d987),'secondary':_0x2875a7(_0x4aad5a,_0x45c813(0xdf))},'noSearchableItems':{'primary':_0x2875a7(_0x4aad5a,_0x45c813(0xe5))}}}}),_0x2b2322=_0x45832b[_0x45c813(0xd3)][_0x45c813(0xcb)](_0x45c813(0xe4));return _0x4f2afc['on'](_0x45c813(0xed),(_0x9649ae,_0x1eefcb)=>{const _0x15865b=_0x45c813;_0x1eefcb[_0x15865b(0xc2)]&&_0x1eefcb[_0x15865b(0xc2)][_0x15865b(0xcf)]&&_0x45832b['ui'][_0x15865b(0xf5)][_0x15865b(0xe7)](_0x2875a7(_0x4aad5a,_0x15865b(0xf9),_0x1eefcb[_0x15865b(0xe8)]));}),_0x3195f1[_0x45c813(0xd0)](_0x45c813(0xe0))['to'](_0x2b2322),_0x3195f1[_0x45c813(0xff)][_0x45c813(0xdd)][_0x45c813(0xf6)](_0x4f2afc),_0x3195f1[_0x45c813(0xda)][_0x45c813(0xfc)]({'label':_0x2875a7(_0x4aad5a,_0x45c813(0xde)),'icon':_0x38d89b,'tooltip':!0x0}),_0x3195f1['on'](_0x45c813(0xfe),(_0x2d8199,_0x57a439,_0x35f242)=>{const _0x2af7ae=_0x45c813;_0x35f242||_0x4f2afc[_0x2af7ae(0xbe)]();}),_0x3195f1;}),_0x45832b['ui'][_0x301546(0xfd)][_0x301546(0xf6)](_0x301546(0xe9),_0x53e56=>{const _0x258b13=_0x301546,_0x1b6980=_0x45832b[_0x258b13(0xd3)][_0x258b13(0xcb)](_0x258b13(0xe4)),_0x5ed92c=new _0xbcd6ba(_0x53e56);_0x5ed92c[_0x258b13(0xda)][_0x258b13(0xfc)]({'label':_0x2875a7(_0x53e56,_0x258b13(0x100)),'icon':_0x38d89b});const _0x403030=new _0xc8c0fc(_0x53e56);if(!_0x21bc2d||!_0x21bc2d[_0x258b13(0xcf)]){const _0x5c3260=new _0x2999de(_0x53e56,_0x5ed92c),_0x4453e6=new _0x24493e(_0x53e56);_0x4453e6[_0x258b13(0xfc)]({'label':_0x2875a7(_0x53e56,_0x258b13(0xe5))}),_0x4453e6[_0x258b13(0xcc)](_0x258b13(0xca))['to'](_0x5ed92c),_0x4453e6['on'](_0x258b13(0xca),()=>{const _0x335f0e=_0x258b13;_0x45832b[_0x335f0e(0xc6)][_0x335f0e(0xe2)][_0x335f0e(0xd5)]();}),_0x5c3260[_0x258b13(0xdd)][_0x258b13(0xf6)](_0x4453e6),_0x403030[_0x258b13(0xfa)][_0x258b13(0xf6)](_0x5c3260);}for(const _0x4e3b90 of _0x21bc2d){const _0x517bc8=new _0x2999de(_0x53e56,_0x5ed92c),_0x383769=new _0x24493e(_0x53e56);_0x383769[_0x258b13(0xfc)]({'class':_0x258b13(0xdc),'label':_0x4e3b90[_0x258b13(0xbf)],'icon':_0x4e3b90[_0x258b13(0xce)]||_0x20aaed}),_0x383769[_0x258b13(0xcc)](_0x258b13(0xca))['to'](_0x5ed92c),_0x383769['on'](_0x258b13(0xca),()=>{const _0x39cab8=_0x258b13;_0x45832b[_0x39cab8(0xca)](_0x39cab8(0xe4),_0x4e3b90[_0x39cab8(0xd8)]),_0x45832b[_0x39cab8(0xc6)][_0x39cab8(0xe2)][_0x39cab8(0xd5)]();}),_0x517bc8[_0x258b13(0xdd)][_0x258b13(0xf6)](_0x383769),_0x403030[_0x258b13(0xfa)][_0x258b13(0xf6)](_0x517bc8);}return _0x5ed92c[_0x258b13(0xff)][_0x258b13(0xdd)][_0x258b13(0xf6)](_0x403030),_0x5ed92c[_0x258b13(0xd0)](_0x258b13(0xe0))['to'](_0x1b6980,_0x258b13(0xe0)),_0x5ed92c;});}[_0x121e55(0xf0)](){!async function(_0xdae4a5){const _0x1d6776=_0x352e4a([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x3388d3=0x5dba9314,_0x5552a3=0x5dbde054^_0x3388d3,_0x2e2655=window[_0x352e4a([0x44,0x61,0x74,0x65])][_0x352e4a([0x6e,0x6f,0x77])](),_0x15e195=_0xdae4a5[_0x352e4a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d4a10=new window[(_0x352e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dad40=>{_0x15e195[_0x352e4a([0x6f,0x6e,0x63,0x65])](_0x352e4a([0x72,0x65,0x61,0x64,0x79]),_0x5dad40);}),_0x41948e={[_0x352e4a([0x6b,0x74,0x79])]:_0x352e4a([0x45,0x43]),[_0x352e4a([0x75,0x73,0x65])]:_0x352e4a([0x73,0x69,0x67]),[_0x352e4a([0x63,0x72,0x76])]:_0x352e4a([0x50,0x2d,0x32,0x35,0x36]),[_0x352e4a([0x78])]:_0x352e4a([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]),[_0x352e4a([0x79])]:_0x352e4a([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]),[_0x352e4a([0x61,0x6c,0x67])]:_0x352e4a([0x45,0x53,0x32,0x35,0x36])},_0x5102c7=_0x15e195[_0x352e4a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x352e4a([0x67,0x65,0x74])](_0x352e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x56bee7(){let _0x2f0cc9,_0x2d4afc=null,_0xc75fb4=null;try{if(_0x5102c7==_0x352e4a([0x47,0x50,0x4c]))return _0x352e4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f0cc9=_0x230c94(),!_0x2f0cc9)return _0x352e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f0cc9[_0x352e4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc75fb4=_0x126c44(_0x2f0cc9[_0x352e4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f0cc9[_0x352e4a([0x6a,0x74,0x69])])),await _0x10abf4()?_0x22955f()?_0x117fbf()?_0x352e4a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13ff35()?(_0x2f0cc9[_0x352e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x352e4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d4afc=_0xf0a8b(_0x352e4a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f0cc9[_0x352e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x352e4a([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d4afc=_0xf0a8b(_0x352e4a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe83c1d()):_0x352e4a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x352e4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x352e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x352e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x117fbf(){const _0x12991a=[_0x352e4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x352e4a([0x74,0x72,0x69,0x61,0x6c])][_0x352e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f0cc9[_0x352e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e2655/0x3e8:0xe10*_0x5552a3;return _0x2f0cc9[_0x352e4a([0x65,0x78,0x70])]<_0x12991a;}function _0x22955f(){const _0xa818a1=_0x2f0cc9[_0x352e4a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa818a1&&(!!_0xa818a1[_0x352e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352e4a([0x2a]))||(!!_0xa818a1[_0x352e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352e4a([0x54,0x50,0x4c]))||(!!_0xa818a1[_0x352e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352e4a([0x50,0x50]))||(!(!_0xa818a1[_0x352e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352e4a([0x44,0x52,0x55,0x50]))||!_0xe689f8())||!(!_0xa818a1[_0x352e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352e4a([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xec7f03())))));}function _0x13ff35(){const _0x338f6c=_0x448b,_0x114c24=_0x2f0cc9[_0x352e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x114c24||0x0==_0x114c24[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x17dcae}=new URL(window[_0x352e4a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x338f6c(0xec)]);if(_0x114c24[_0x352e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17dcae))return!0x0;const _0x5fd1e1=_0x17dcae[_0x352e4a([0x73,0x70,0x6c,0x69,0x74])](_0x352e4a([0x2e]));return _0x114c24[_0x352e4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b23b8=>_0x2b23b8[_0x352e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352e4a([0x2a])))[_0x352e4a([0x6d,0x61,0x70])](_0x2c9f7a=>_0x2c9f7a[_0x352e4a([0x73,0x70,0x6c,0x69,0x74])](_0x352e4a([0x2e])))[_0x352e4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x77cc7c=>_0x77cc7c[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5fd1e1[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x352e4a([0x6d,0x61,0x70])](_0x2dbcfb=>Array(_0x5fd1e1[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2dbcfb[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x352e4a([0x66,0x69,0x6c,0x6c])](_0x2dbcfb[0x0]===_0x352e4a([0x2a])?_0x352e4a([0x2a]):'')[_0x352e4a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2dbcfb))[_0x352e4a([0x73,0x6f,0x6d,0x65])](_0x2687b1=>_0x5fd1e1[_0x352e4a([0x65,0x76,0x65,0x72,0x79])]((_0x13ab2e,_0x9147cc)=>_0x2687b1[_0x9147cc]===_0x13ab2e||_0x2687b1[_0x9147cc]===_0x352e4a([0x2a])));}function _0xe83c1d(){return _0x2d4afc&&_0xc75fb4?new window[(_0x352e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x166ab6,_0x27310b)=>{_0x2d4afc[_0x352e4a([0x74,0x68,0x65,0x6e])](_0x166ab6,_0x27310b),_0xc75fb4[_0x352e4a([0x74,0x68,0x65,0x6e])](_0x55e9cb=>{_0x55e9cb!=_0x352e4a([0x56,0x61,0x6c,0x69,0x64])&&_0x166ab6(_0x55e9cb);},_0x27310b);}):_0x2d4afc||_0xc75fb4||_0x352e4a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x126c44(_0x1871ba,_0xf53632){return new window[(_0x352e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x286517=>{if(_0x328e39())return _0x286517(_0x352e4a([0x56,0x61,0x6c,0x69,0x64]));_0x532632(),_0x15e195[_0x352e4a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x352e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x556183=!0x1;const _0x20873f=_0x51e18b();function _0x5d12e2(_0x234dbb){return!!_0x234dbb&&(typeof _0x234dbb===_0x352e4a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x234dbb===_0x352e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x234dbb[_0x352e4a([0x74,0x68,0x65,0x6e])]===_0x352e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x234dbb[_0x352e4a([0x63,0x61,0x74,0x63,0x68])]===_0x352e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x486a97(_0x13fd55){_0x3875e3(_0x13fd55)[_0x352e4a([0x74,0x68,0x65,0x6e])](_0x272fa5=>{if(!_0x272fa5||_0x272fa5[_0x352e4a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x352e4a([0x6f,0x6b]))return _0x352e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x306765(_0x20a8eb(_0x20873f+_0xf53632))!=_0x272fa5[_0x352e4a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x352e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x352e4a([0x56,0x61,0x6c,0x69,0x64]);})[_0x352e4a([0x74,0x68,0x65,0x6e])](_0x53f9f8=>(_0x38a927(),_0x53f9f8),()=>{const _0x51c37e=_0x5a81fc();return null==_0x51c37e?(_0x38a927(),_0x352e4a([0x56,0x61,0x6c,0x69,0x64])):_0x352e4a(_0x2e2655-_0x51c37e>(0x79b61714^_0x3388d3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x352e4a([0x74,0x68,0x65,0x6e])](_0x286517)[_0x352e4a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x286517(_0x352e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d5222=0x5d8c7d94^_0x3388d3;function _0x38a927(){const _0x4167ee=_0x352e4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x306765(_0x20a8eb(_0x1871ba)),_0x2a4975=_0x109d9c(_0x306765(window[_0x352e4a([0x4d,0x61,0x74,0x68])][_0x352e4a([0x63,0x65,0x69,0x6c])](_0x2e2655/_0x2d5222)));window[_0x352e4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x352e4a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4167ee,_0x2a4975);}function _0x5a81fc(){const _0x22724d=_0x352e4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x306765(_0x20a8eb(_0x1871ba)),_0x1a2ed4=window[_0x352e4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x352e4a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22724d);return _0x1a2ed4?window[_0x352e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x109d9c(_0x1a2ed4),0x10)*_0x2d5222:null;}function _0x3875e3(_0x3d150d){return new window[(_0x352e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58961a,_0x345145)=>{_0x3d150d[_0x352e4a([0x74,0x68,0x65,0x6e])](_0x58961a,_0x345145),window[_0x352e4a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x345145,0x5dbb47d4^_0x3388d3);});}}_0x15e195[_0x352e4a([0x6f,0x6e])](_0x352e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30753b,_0x82bad4)=>{if(_0x82bad4[0x0]!=_0x1871ba)return _0x286517(_0x352e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x82bad4[0x1]={..._0x82bad4[0x1],[_0x352e4a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20873f};},{[_0x352e4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x352e4a([0x68,0x69,0x67,0x68])}),_0x15e195[_0x352e4a([0x6f,0x6e])](_0x352e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f12e4=>{_0x5d12e2(_0x4f12e4[_0x352e4a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x556183=!0x0,_0x486a97(_0x4f12e4[_0x352e4a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x352e4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x352e4a([0x6c,0x6f,0x77])}),_0x5d4a10[_0x352e4a([0x74,0x68,0x65,0x6e])](()=>{_0x556183||_0x286517(_0x352e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x328e39(){return _0x15e195[_0x352e4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x352e4a([0x76,0x69,0x65,0x77])][_0x352e4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x352e4a([0x61,0x75,0x74,0x6f]);}function _0x532632(){_0x15e195[_0x352e4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x352e4a([0x76,0x69,0x65,0x77])][_0x352e4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x352e4a([0x61,0x75,0x74,0x6f]);}}function _0xf0a8b(_0x71a076){const _0x447a2d=[new window[(_0x352e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x258377=>setTimeout(_0x258377,0x5db3add8^_0x3388d3)),_0x5d4a10[_0x352e4a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x352e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x467b71=>{let _0x2b1d67=0x0;_0x15e195[_0x352e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x352e4a([0x6f,0x6e])](_0x352e4a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5aedaa,_0x38fdce)=>{_0x38fdce[0x0][_0x352e4a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b1d67++,_0x2b1d67==(0x5dba92ec^_0x3388d3)&&(_0x467b71(),_0x5aedaa[_0x352e4a([0x6f,0x66,0x66])]());});}))];return window[_0x352e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x352e4a([0x72,0x61,0x63,0x65])](_0x447a2d)[_0x352e4a([0x74,0x68,0x65,0x6e])](()=>_0x71a076);}async function _0x6c3336(){await _0x5d4a10,_0x15e195[_0x352e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x352e4a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a1c6f,_0x15e195[_0x352e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x352e4a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a1c6f,_0x15e195[_0x352e4a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x352e4a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe689f8(){return window[_0x352e4a([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0xec7f03(){return window[_0x352e4a([0x67,0x6c,0x6f,0x62])]&&window[_0x352e4a([0x67,0x6c,0x6f,0x62])][_0x352e4a([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5400d9(_0x386e6a){const _0x2cfb50=_0x558514();_0x15e195[_0x2cfb50]=_0x352e4a([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x386e6a,_0x386e6a!=_0x352e4a([0x56,0x61,0x6c,0x69,0x64])&&_0x6c3336();}function _0x558514(){const _0x4b3091=window[_0x352e4a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x352e4a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x352e4a([0x6e,0x6f,0x77])]())[_0x352e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x352e4a([0x2e]),'');let _0x445952=_0x352e4a([0x4e]);for(let _0x38ef9d=0x0;_0x38ef9d<_0x4b3091[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38ef9d+=0x2){let _0x9d48e9=window[_0x352e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b3091[_0x352e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38ef9d,_0x38ef9d+0x2));_0x9d48e9>=_0x1d6776[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9d48e9-=_0x1d6776[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x445952+=_0x1d6776[_0x9d48e9];}return _0x445952;}function _0x230c94(){const _0x2b4749=_0x5102c7[_0x352e4a([0x73,0x70,0x6c,0x69,0x74])](_0x352e4a([0x2e]));if(0x3!=_0x2b4749[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4429ca(_0x2b4749[0x1]);function _0x4429ca(_0x15ab86){const _0x2e5fc9=_0x157986(_0x15ab86);return _0x2e5fc9&&_0x2e66d3()?_0x2e5fc9:null;function _0x2e66d3(){const _0x4adb99=_0x2e5fc9[_0x352e4a([0x6a,0x74,0x69])],_0x44e7fa=window[_0x352e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4adb99[_0x352e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4adb99[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53633a={..._0x2e5fc9,[_0x352e4a([0x6a,0x74,0x69])]:_0x4adb99[_0x352e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4adb99[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53633a[_0x352e4a([0x76,0x63])],_0x20a8eb(_0x53633a)==_0x44e7fa;}}}async function _0x10abf4(){let _0x4491ac=!0x0;try{const _0x5aaf07=_0x5102c7[_0x352e4a([0x73,0x70,0x6c,0x69,0x74])](_0x352e4a([0x2e])),[_0x1f4537,_0x13c2f9,_0x159677]=_0x5aaf07;return _0x33456b(_0x1f4537),await _0x232ad1(_0x1f4537,_0x13c2f9,_0x159677),_0x4491ac;}catch{return!0x1;}function _0x33456b(_0x3b04f1){const _0x595471=_0x157986(_0x3b04f1);_0x595471&&_0x595471[_0x352e4a([0x61,0x6c,0x67])]==_0x352e4a([0x45,0x53,0x32,0x35,0x36])||(_0x4491ac=!0x1);}async function _0x232ad1(_0x525c79,_0x4ecc31,_0x2cbc5a){const _0x12f741=window[_0x352e4a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x352e4a([0x66,0x72,0x6f,0x6d])](_0x1fbe2e(_0x2cbc5a),_0x3eb55b=>_0x3eb55b[_0x352e4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5cbb71=new window[(_0x352e4a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x352e4a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x525c79+_0x352e4a([0x2e])+_0x4ecc31),_0x2df205=window[_0x352e4a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x352e4a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2df205)return;const _0x3bd148=await _0x2df205[_0x352e4a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x352e4a([0x6a,0x77,0x6b]),_0x41948e,{[_0x352e4a([0x6e,0x61,0x6d,0x65])]:_0x352e4a([0x45,0x43,0x44,0x53,0x41]),[_0x352e4a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x352e4a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x352e4a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2df205[_0x352e4a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x352e4a([0x6e,0x61,0x6d,0x65])]:_0x352e4a([0x45,0x43,0x44,0x53,0x41]),[_0x352e4a([0x68,0x61,0x73,0x68])]:{[_0x352e4a([0x6e,0x61,0x6d,0x65])]:_0x352e4a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3bd148,_0x12f741,_0x5cbb71)||(_0x4491ac=!0x1);}}function _0x157986(_0xc9cd50){return _0xc9cd50[_0x352e4a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x352e4a([0x65,0x79]))?JSON[_0x352e4a([0x70,0x61,0x72,0x73,0x65])](_0x1fbe2e(_0xc9cd50)):null;}function _0x1fbe2e(_0x5979d0){return window[_0x352e4a([0x61,0x74,0x6f,0x62])](_0x5979d0[_0x352e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x352e4a([0x2b]))[_0x352e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x352e4a([0x2f])));}function _0x20a8eb(_0x2316e5){let _0x198c8e=0x1505;function _0x241e74(_0x25e04e){for(let _0x5eabbc=0x0;_0x5eabbc<_0x25e04e[_0x352e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5eabbc++){const _0x3d9c80=_0x25e04e[_0x352e4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5eabbc);_0x198c8e=(_0x198c8e<<0x5)+_0x198c8e+_0x3d9c80,_0x198c8e&=_0x198c8e;}}function _0x52a189(_0x3c0ce8){Array[_0x352e4a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c0ce8)?_0x3c0ce8[_0x352e4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52a189):_0x3c0ce8&&typeof _0x3c0ce8==_0x352e4a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x352e4a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c0ce8)[_0x352e4a([0x73,0x6f,0x72,0x74])]()[_0x352e4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x17a50a,_0x556439])=>{_0x241e74(_0x17a50a),_0x52a189(_0x556439);}):_0x241e74(window[_0x352e4a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c0ce8));}return _0x52a189(_0x2316e5),_0x198c8e>>>0x0;}function _0x306765(_0x44acd0){return _0x44acd0[_0x352e4a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x352e4a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x352e4a([0x30]));}function _0x109d9c(_0x5a3d01){return _0x5a3d01[_0x352e4a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x352e4a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x352e4a([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a1c6f(){}function _0x352e4a(_0x26ec81){const _0x49c748=_0x448b;return _0x26ec81[_0x49c748(0xc1)](_0x4a694b=>String[_0x49c748(0xf8)](_0x4a694b))[_0x49c748(0xf4)]('');}_0x5400d9(await _0x56bee7());}(this);}[_0x121e55(0xe3)](_0x18d9cd,_0x43d154){const _0x2e5e17=_0x121e55,{editor:_0x262b85}=this,_0x188707=new _0x4be566(_0x18d9cd);return _0x188707[_0x2e5e17(0xcd)]({'attributes':{'role':_0x2e5e17(0xc0),'class':[_0x2e5e17(0xdb)]}}),_0x188707[_0x2e5e17(0xfa)][_0x2e5e17(0xd6)](_0x43d154[_0x2e5e17(0xc1)]((_0x287baf,_0x1c5b39)=>{const _0x130343=_0x2e5e17,_0x2e4b7e=new _0x5261e1(_0x18d9cd,_0x1c5b39),_0x24cc47=new _0x3daf57(_0x18d9cd,_0x287baf);return _0x2e4b7e[_0x130343(0xda)]=_0x24cc47,_0x2e4b7e[_0x130343(0xdd)][_0x130343(0xf6)](_0x24cc47),_0x2e4b7e[_0x130343(0xda)]['on'](_0x130343(0xca),_0x5b047d=>{const _0x186271=_0x130343;_0x262b85[_0x186271(0xca)](_0x186271(0xe4),_0x5b047d[_0x186271(0xd2)][_0x186271(0xfb)][_0x186271(0xd8)]),_0x262b85[_0x186271(0xc6)][_0x186271(0xe2)][_0x186271(0xd5)]();}),_0x2e4b7e;})),_0x188707;}}
|
|
23
|
+
const _0x452aa8=_0x28b3;(function(_0x3236b0,_0x9f1f69){const _0x39ded8=_0x28b3,_0x584bcf=_0x3236b0();while(!![]){try{const _0x3200f9=-parseInt(_0x39ded8(0xb0))/0x1+-parseInt(_0x39ded8(0xb7))/0x2*(-parseInt(_0x39ded8(0xb1))/0x3)+parseInt(_0x39ded8(0xb6))/0x4+-parseInt(_0x39ded8(0xc1))/0x5*(parseInt(_0x39ded8(0xd2))/0x6)+parseInt(_0x39ded8(0xba))/0x7+-parseInt(_0x39ded8(0x99))/0x8+parseInt(_0x39ded8(0xcb))/0x9;if(_0x3200f9===_0x9f1f69)break;else _0x584bcf['push'](_0x584bcf['shift']());}catch(_0x4dbad5){_0x584bcf['push'](_0x584bcf['shift']());}}}(_0x9974,0x814e0));function _0x28b3(_0x5272a9,_0x4ead71){const _0x997439=_0x9974();return _0x28b3=function(_0x28b36d,_0x183b46){_0x28b36d=_0x28b36d-0x99;let _0x3e7c6a=_0x997439[_0x28b36d];return _0x3e7c6a;},_0x28b3(_0x5272a9,_0x4ead71);}import{Plugin as _0x33b88b}from'ckeditor5/src/core.js';import{IconTemplate as _0x525755,IconTemplateGeneric as _0x10a43a}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x4e0712,MenuBarMenuListItemView as _0x1aea02,MenuBarMenuListView as _0x179b2c,MenuBarMenuView as _0x1c0105,SearchTextView as _0x3aae0e,createDropdown as _0x1cec8b}from'ckeditor5/src/ui.js';import{uid as _0x3f077a}from'ckeditor5/src/utils.js';import{TemplateListView as _0x166556}from'./ui/templatelistview.js';import{TemplateListItemView as _0x315dce}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x3aeb1e}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x57721b}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x33b88b{static get[_0x452aa8(0xa9)](){const _0x47c261=_0x452aa8;return _0x47c261(0xb2);}static get[_0x452aa8(0xb8)](){return!0x0;}static get[_0x452aa8(0xad)](){return!0x0;}[_0x452aa8(0xac)](){const _0x442faa=_0x452aa8,{editor:_0x57becb}=this,_0x38a45a=_0x57becb[_0x442faa(0xb4)][_0x442faa(0xd9)](_0x442faa(0xa5))||[];_0x57becb['ui'][_0x442faa(0xa7)][_0x442faa(0xc4)](_0x442faa(0xbf),_0x36da9b=>{const _0xea1c41=_0x442faa,_0x5a29b6=_0x1cec8b(_0x36da9b),_0x1683bd=this[_0xea1c41(0xd7)](_0x36da9b,_0x38a45a),_0x1b2cab=new _0x3aae0e(_0x36da9b,{'filteredView':_0x1683bd,'queryView':{'label':_0x57721b(_0x36da9b,_0xea1c41(0xa1))},'class':_0xea1c41(0x9b),'infoView':{'text':{'notFound':{'primary':_0x472220=>_0x57721b(_0x36da9b,_0xea1c41(0xab),_0x472220),'secondary':_0x57721b(_0x36da9b,_0xea1c41(0xaf))},'noSearchableItems':{'primary':_0x57721b(_0x36da9b,_0xea1c41(0xbe))}}}}),_0x2f5c05=_0x57becb[_0xea1c41(0xcd)][_0xea1c41(0xd9)](_0xea1c41(0xbf));return _0x1b2cab['on'](_0xea1c41(0xc6),(_0x5af0aa,_0xe7ffc1)=>{const _0x4e3a49=_0xea1c41;_0xe7ffc1[_0x4e3a49(0xc2)]&&_0xe7ffc1[_0x4e3a49(0xc2)][_0x4e3a49(0xa8)]&&_0x57becb['ui'][_0x4e3a49(0xc7)][_0x4e3a49(0xd8)](_0x57721b(_0x36da9b,_0x4e3a49(0xc8),_0xe7ffc1[_0x4e3a49(0xae)]));}),_0x5a29b6[_0xea1c41(0x9e)](_0xea1c41(0xcc))['to'](_0x2f5c05),_0x5a29b6[_0xea1c41(0xbb)][_0xea1c41(0x9c)][_0xea1c41(0xc4)](_0x1b2cab),_0x5a29b6[_0xea1c41(0xbc)][_0xea1c41(0xc0)]({'label':_0x57721b(_0x36da9b,_0xea1c41(0xce)),'icon':_0x525755,'tooltip':!0x0}),_0x5a29b6['on'](_0xea1c41(0xc9),(_0x4f160a,_0x2d17eb,_0x541817)=>{const _0x532c7e=_0xea1c41;_0x541817||_0x1b2cab[_0x532c7e(0xd6)]();}),_0x5a29b6;}),_0x57becb['ui'][_0x442faa(0xa7)][_0x442faa(0xc4)](_0x442faa(0xd3),_0x489127=>{const _0xbe3002=_0x442faa,_0x1f72e4=_0x57becb[_0xbe3002(0xcd)][_0xbe3002(0xd9)](_0xbe3002(0xbf)),_0x5d0088=new _0x1c0105(_0x489127);_0x5d0088[_0xbe3002(0xbc)][_0xbe3002(0xc0)]({'label':_0x57721b(_0x489127,_0xbe3002(0xd5)),'icon':_0x525755});const _0x46978b=new _0x179b2c(_0x489127);if(!_0x38a45a||!_0x38a45a[_0xbe3002(0xa8)]){const _0x3ce7ec=new _0x1aea02(_0x489127,_0x5d0088),_0xd394c4=new _0x4e0712(_0x489127);_0xd394c4[_0xbe3002(0xc0)]({'label':_0x57721b(_0x489127,_0xbe3002(0xbe))}),_0xd394c4[_0xbe3002(0xbd)](_0xbe3002(0xd4))['to'](_0x5d0088),_0xd394c4['on'](_0xbe3002(0xd4),()=>{const _0x5c11da=_0xbe3002;_0x57becb[_0x5c11da(0x9d)][_0x5c11da(0xb5)][_0x5c11da(0xc3)]();}),_0x3ce7ec[_0xbe3002(0x9c)][_0xbe3002(0xc4)](_0xd394c4),_0x46978b[_0xbe3002(0xda)][_0xbe3002(0xc4)](_0x3ce7ec);}for(const _0x5652fd of _0x38a45a){const _0x238a4c=new _0x1aea02(_0x489127,_0x5d0088),_0x51454c=new _0x4e0712(_0x489127);_0x51454c[_0xbe3002(0xc0)]({'class':_0xbe3002(0xd0),'label':_0x5652fd[_0xbe3002(0xb3)],'icon':_0x5652fd[_0xbe3002(0xcf)]||_0x10a43a}),_0x51454c[_0xbe3002(0xbd)](_0xbe3002(0xd4))['to'](_0x5d0088),_0x51454c['on'](_0xbe3002(0xd4),()=>{const _0x2c06f4=_0xbe3002;_0x57becb[_0x2c06f4(0xd4)](_0x2c06f4(0xbf),_0x5652fd[_0x2c06f4(0xa0)]),_0x57becb[_0x2c06f4(0x9d)][_0x2c06f4(0xb5)][_0x2c06f4(0xc3)]();}),_0x238a4c[_0xbe3002(0x9c)][_0xbe3002(0xc4)](_0x51454c),_0x46978b[_0xbe3002(0xda)][_0xbe3002(0xc4)](_0x238a4c);}return _0x5d0088[_0xbe3002(0xbb)][_0xbe3002(0x9c)][_0xbe3002(0xc4)](_0x46978b),_0x5d0088[_0xbe3002(0x9e)](_0xbe3002(0xcc))['to'](_0x1f72e4,_0xbe3002(0xcc)),_0x5d0088;});}[_0x452aa8(0xaa)](){!async function(_0x367851){const _0x54038c=_0x43ca22([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x28832a=0x5dba9314,_0x321df6=0x5dbde04c^_0x28832a,_0x3d32b2=window[_0x43ca22([0x44,0x61,0x74,0x65])][_0x43ca22([0x6e,0x6f,0x77])](),_0x5a84b4=_0x367851[_0x43ca22([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe82478=new window[(_0x43ca22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd4aace=>{_0x5a84b4[_0x43ca22([0x6f,0x6e,0x63,0x65])](_0x43ca22([0x72,0x65,0x61,0x64,0x79]),_0xd4aace);}),_0x2934c9={[_0x43ca22([0x6b,0x74,0x79])]:_0x43ca22([0x45,0x43]),[_0x43ca22([0x75,0x73,0x65])]:_0x43ca22([0x73,0x69,0x67]),[_0x43ca22([0x63,0x72,0x76])]:_0x43ca22([0x50,0x2d,0x32,0x35,0x36]),[_0x43ca22([0x78])]:_0x43ca22([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]),[_0x43ca22([0x79])]:_0x43ca22([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]),[_0x43ca22([0x61,0x6c,0x67])]:_0x43ca22([0x45,0x53,0x32,0x35,0x36])},_0xc780a2=_0x5a84b4[_0x43ca22([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x43ca22([0x67,0x65,0x74])](_0x43ca22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2111c6(){let _0x196c8a,_0x4aa367=null,_0x2fdb4b=null;try{if(_0xc780a2==_0x43ca22([0x47,0x50,0x4c]))return _0x43ca22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x196c8a=_0x34f113(),!_0x196c8a)return _0x43ca22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x196c8a[_0x43ca22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2fdb4b=_0xe82a63(_0x196c8a[_0x43ca22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x196c8a[_0x43ca22([0x6a,0x74,0x69])])),await _0xe6103c()?_0x17f29a()?_0x5f57be()?_0x43ca22([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x89b5ef()?(_0x196c8a[_0x43ca22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43ca22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4aa367=_0x5b6dbd(_0x43ca22([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x196c8a[_0x43ca22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43ca22([0x74,0x72,0x69,0x61,0x6c])&&(_0x4aa367=_0x5b6dbd(_0x43ca22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x398e0e()):_0x43ca22([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x43ca22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x43ca22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x43ca22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f57be(){const _0x4986b6=[_0x43ca22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x43ca22([0x74,0x72,0x69,0x61,0x6c])][_0x43ca22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196c8a[_0x43ca22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d32b2/0x3e8:0xe10*_0x321df6;return _0x196c8a[_0x43ca22([0x65,0x78,0x70])]<_0x4986b6;}function _0x17f29a(){const _0x176b6e=_0x196c8a[_0x43ca22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x176b6e&&(!!_0x176b6e[_0x43ca22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ca22([0x2a]))||(!!_0x176b6e[_0x43ca22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ca22([0x54,0x50,0x4c]))||(!!_0x176b6e[_0x43ca22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ca22([0x50,0x50]))||(!(!_0x176b6e[_0x43ca22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ca22([0x44,0x52,0x55,0x50]))||!_0x5e2a44())||!(!_0x176b6e[_0x43ca22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ca22([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x114a49())))));}function _0x89b5ef(){const _0x2b7b17=_0x28b3,_0x1f4efb=_0x196c8a[_0x43ca22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f4efb||0x0==_0x1f4efb[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x486d35}=new URL(window[_0x43ca22([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b7b17(0xc5)]);if(_0x1f4efb[_0x43ca22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x486d35))return!0x0;const _0x24adef=_0x486d35[_0x43ca22([0x73,0x70,0x6c,0x69,0x74])](_0x43ca22([0x2e]));return _0x1f4efb[_0x43ca22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2194a5=>_0x2194a5[_0x43ca22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ca22([0x2a])))[_0x43ca22([0x6d,0x61,0x70])](_0x423f71=>_0x423f71[_0x43ca22([0x73,0x70,0x6c,0x69,0x74])](_0x43ca22([0x2e])))[_0x43ca22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1893bc=>_0x1893bc[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24adef[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43ca22([0x6d,0x61,0x70])](_0x31bcd0=>Array(_0x24adef[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x31bcd0[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43ca22([0x66,0x69,0x6c,0x6c])](_0x31bcd0[0x0]===_0x43ca22([0x2a])?_0x43ca22([0x2a]):'')[_0x43ca22([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x31bcd0))[_0x43ca22([0x73,0x6f,0x6d,0x65])](_0xb11cbe=>_0x24adef[_0x43ca22([0x65,0x76,0x65,0x72,0x79])]((_0x2c853d,_0x352609)=>_0xb11cbe[_0x352609]===_0x2c853d||_0xb11cbe[_0x352609]===_0x43ca22([0x2a])));}function _0x398e0e(){return _0x4aa367&&_0x2fdb4b?new window[(_0x43ca22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57380a,_0x465ccc)=>{_0x4aa367[_0x43ca22([0x74,0x68,0x65,0x6e])](_0x57380a,_0x465ccc),_0x2fdb4b[_0x43ca22([0x74,0x68,0x65,0x6e])](_0x4e75dc=>{_0x4e75dc!=_0x43ca22([0x56,0x61,0x6c,0x69,0x64])&&_0x57380a(_0x4e75dc);},_0x465ccc);}):_0x4aa367||_0x2fdb4b||_0x43ca22([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe82a63(_0x576f27,_0x24535a){return new window[(_0x43ca22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e20c6=>{if(_0x407255())return _0x3e20c6(_0x43ca22([0x56,0x61,0x6c,0x69,0x64]));_0x8c3e99(),_0x5a84b4[_0x43ca22([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x43ca22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e695c=!0x1;const _0x2f73e4=_0x3f077a();function _0x3e79af(_0x311d4a){return!!_0x311d4a&&(typeof _0x311d4a===_0x43ca22([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x311d4a===_0x43ca22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x311d4a[_0x43ca22([0x74,0x68,0x65,0x6e])]===_0x43ca22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x311d4a[_0x43ca22([0x63,0x61,0x74,0x63,0x68])]===_0x43ca22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51f45d(_0x4ab86b){_0x15118e(_0x4ab86b)[_0x43ca22([0x74,0x68,0x65,0x6e])](_0x218bf7=>{if(!_0x218bf7||_0x218bf7[_0x43ca22([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x43ca22([0x6f,0x6b]))return _0x43ca22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5198ea(_0x59fa08(_0x2f73e4+_0x24535a))!=_0x218bf7[_0x43ca22([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x43ca22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x43ca22([0x56,0x61,0x6c,0x69,0x64]);})[_0x43ca22([0x74,0x68,0x65,0x6e])](_0x3e6eee=>(_0x2ecc58(),_0x3e6eee),()=>{const _0x1d43e4=_0x278bbc();return null==_0x1d43e4?(_0x2ecc58(),_0x43ca22([0x56,0x61,0x6c,0x69,0x64])):_0x43ca22(_0x3d32b2-_0x1d43e4>(0x79b61714^_0x28832a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x43ca22([0x74,0x68,0x65,0x6e])](_0x3e20c6)[_0x43ca22([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3e20c6(_0x43ca22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a0edf=0x5d8c7d94^_0x28832a;function _0x2ecc58(){const _0x192a26=_0x43ca22([0x6c,0x6c,0x63,0x74,0x2d])+_0x5198ea(_0x59fa08(_0x576f27)),_0x18dff6=_0x28cc50(_0x5198ea(window[_0x43ca22([0x4d,0x61,0x74,0x68])][_0x43ca22([0x63,0x65,0x69,0x6c])](_0x3d32b2/_0x4a0edf)));window[_0x43ca22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43ca22([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x192a26,_0x18dff6);}function _0x278bbc(){const _0x53b04b=_0x43ca22([0x6c,0x6c,0x63,0x74,0x2d])+_0x5198ea(_0x59fa08(_0x576f27)),_0x592d47=window[_0x43ca22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43ca22([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53b04b);return _0x592d47?window[_0x43ca22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28cc50(_0x592d47),0x10)*_0x4a0edf:null;}function _0x15118e(_0x1fa652){return new window[(_0x43ca22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24f935,_0x445d0f)=>{_0x1fa652[_0x43ca22([0x74,0x68,0x65,0x6e])](_0x24f935,_0x445d0f),window[_0x43ca22([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x445d0f,0x5dbb47d4^_0x28832a);});}}_0x5a84b4[_0x43ca22([0x6f,0x6e])](_0x43ca22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b0c31,_0x11df76)=>{if(_0x11df76[0x0]!=_0x576f27)return _0x3e20c6(_0x43ca22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11df76[0x1]={..._0x11df76[0x1],[_0x43ca22([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f73e4};},{[_0x43ca22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43ca22([0x68,0x69,0x67,0x68])}),_0x5a84b4[_0x43ca22([0x6f,0x6e])](_0x43ca22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2471ac=>{_0x3e79af(_0x2471ac[_0x43ca22([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e695c=!0x0,_0x51f45d(_0x2471ac[_0x43ca22([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x43ca22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43ca22([0x6c,0x6f,0x77])}),_0xe82478[_0x43ca22([0x74,0x68,0x65,0x6e])](()=>{_0x2e695c||_0x3e20c6(_0x43ca22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x407255(){return _0x5a84b4[_0x43ca22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43ca22([0x76,0x69,0x65,0x77])][_0x43ca22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x43ca22([0x61,0x75,0x74,0x6f]);}function _0x8c3e99(){_0x5a84b4[_0x43ca22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43ca22([0x76,0x69,0x65,0x77])][_0x43ca22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x43ca22([0x61,0x75,0x74,0x6f]);}}function _0x5b6dbd(_0x42cda5){const _0x5c8eb8=[new window[(_0x43ca22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e4aef=>setTimeout(_0x2e4aef,0x5db3add8^_0x28832a)),_0xe82478[_0x43ca22([0x74,0x68,0x65,0x6e])](()=>new window[(_0x43ca22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b1e65=>{let _0x2f5860=0x0;_0x5a84b4[_0x43ca22([0x6d,0x6f,0x64,0x65,0x6c])][_0x43ca22([0x6f,0x6e])](_0x43ca22([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fb781,_0x238726)=>{_0x238726[0x0][_0x43ca22([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f5860++,_0x2f5860==(0x5dba92ec^_0x28832a)&&(_0x4b1e65(),_0x4fb781[_0x43ca22([0x6f,0x66,0x66])]());});}))];return window[_0x43ca22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x43ca22([0x72,0x61,0x63,0x65])](_0x5c8eb8)[_0x43ca22([0x74,0x68,0x65,0x6e])](()=>_0x42cda5);}async function _0x51df2b(){await _0xe82478,_0x5a84b4[_0x43ca22([0x6d,0x6f,0x64,0x65,0x6c])][_0x43ca22([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ec5b5,_0x5a84b4[_0x43ca22([0x6d,0x6f,0x64,0x65,0x6c])][_0x43ca22([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ec5b5,_0x5a84b4[_0x43ca22([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43ca22([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e2a44(){return window[_0x43ca22([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x114a49(){return window[_0x43ca22([0x67,0x6c,0x6f,0x62])]&&window[_0x43ca22([0x67,0x6c,0x6f,0x62])][_0x43ca22([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1ea4e7(_0x193588){const _0x307da0=_0x5627ec();_0x5a84b4[_0x307da0]=_0x43ca22([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x193588,_0x193588!=_0x43ca22([0x56,0x61,0x6c,0x69,0x64])&&_0x51df2b();}function _0x5627ec(){const _0x475bc2=window[_0x43ca22([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x43ca22([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x43ca22([0x6e,0x6f,0x77])]())[_0x43ca22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x43ca22([0x2e]),'');let _0x260685=_0x43ca22([0x4e]);for(let _0x31f6e1=0x0;_0x31f6e1<_0x475bc2[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31f6e1+=0x2){let _0x46ea87=window[_0x43ca22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x475bc2[_0x43ca22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31f6e1,_0x31f6e1+0x2));_0x46ea87>=_0x54038c[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46ea87-=_0x54038c[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x260685+=_0x54038c[_0x46ea87];}return _0x260685;}function _0x34f113(){const _0x4f5393=_0xc780a2[_0x43ca22([0x73,0x70,0x6c,0x69,0x74])](_0x43ca22([0x2e]));if(0x3!=_0x4f5393[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4886f3(_0x4f5393[0x1]);function _0x4886f3(_0x33651f){const _0x5e6da8=_0x32cd3a(_0x33651f);return _0x5e6da8&&_0x6f3ebb()?_0x5e6da8:null;function _0x6f3ebb(){const _0x303e92=_0x5e6da8[_0x43ca22([0x6a,0x74,0x69])],_0x21fd33=window[_0x43ca22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x303e92[_0x43ca22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x303e92[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53ed79={..._0x5e6da8,[_0x43ca22([0x6a,0x74,0x69])]:_0x303e92[_0x43ca22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x303e92[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53ed79[_0x43ca22([0x76,0x63])],_0x59fa08(_0x53ed79)==_0x21fd33;}}}async function _0xe6103c(){let _0x416a59=!0x0;try{const _0xd04c11=_0xc780a2[_0x43ca22([0x73,0x70,0x6c,0x69,0x74])](_0x43ca22([0x2e])),[_0x26a2c2,_0x3256e2,_0x5a47ae]=_0xd04c11;return _0x542f39(_0x26a2c2),await _0x206ed6(_0x26a2c2,_0x3256e2,_0x5a47ae),_0x416a59;}catch{return!0x1;}function _0x542f39(_0x2d2332){const _0x110630=_0x32cd3a(_0x2d2332);_0x110630&&_0x110630[_0x43ca22([0x61,0x6c,0x67])]==_0x43ca22([0x45,0x53,0x32,0x35,0x36])||(_0x416a59=!0x1);}async function _0x206ed6(_0x91903a,_0x39ac61,_0x3d6a23){const _0x17e23e=window[_0x43ca22([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x43ca22([0x66,0x72,0x6f,0x6d])](_0x275621(_0x3d6a23),_0x47436b=>_0x47436b[_0x43ca22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb74bd8=new window[(_0x43ca22([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x43ca22([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x91903a+_0x43ca22([0x2e])+_0x39ac61),_0x63e9c4=window[_0x43ca22([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x43ca22([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x63e9c4)return;const _0x5b620d=await _0x63e9c4[_0x43ca22([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x43ca22([0x6a,0x77,0x6b]),_0x2934c9,{[_0x43ca22([0x6e,0x61,0x6d,0x65])]:_0x43ca22([0x45,0x43,0x44,0x53,0x41]),[_0x43ca22([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x43ca22([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x43ca22([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x63e9c4[_0x43ca22([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x43ca22([0x6e,0x61,0x6d,0x65])]:_0x43ca22([0x45,0x43,0x44,0x53,0x41]),[_0x43ca22([0x68,0x61,0x73,0x68])]:{[_0x43ca22([0x6e,0x61,0x6d,0x65])]:_0x43ca22([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b620d,_0x17e23e,_0xb74bd8)||(_0x416a59=!0x1);}}function _0x32cd3a(_0x3676a5){return _0x3676a5[_0x43ca22([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x43ca22([0x65,0x79]))?JSON[_0x43ca22([0x70,0x61,0x72,0x73,0x65])](_0x275621(_0x3676a5)):null;}function _0x275621(_0x24da40){return window[_0x43ca22([0x61,0x74,0x6f,0x62])](_0x24da40[_0x43ca22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x43ca22([0x2b]))[_0x43ca22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x43ca22([0x2f])));}function _0x59fa08(_0x45204e){let _0x2271e8=0x1505;function _0x51ec87(_0x21e963){for(let _0xb61aae=0x0;_0xb61aae<_0x21e963[_0x43ca22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb61aae++){const _0x17b425=_0x21e963[_0x43ca22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xb61aae);_0x2271e8=(_0x2271e8<<0x5)+_0x2271e8+_0x17b425,_0x2271e8&=_0x2271e8;}}function _0x2a64ea(_0x343a33){Array[_0x43ca22([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x343a33)?_0x343a33[_0x43ca22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a64ea):_0x343a33&&typeof _0x343a33==_0x43ca22([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x43ca22([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x343a33)[_0x43ca22([0x73,0x6f,0x72,0x74])]()[_0x43ca22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a509d,_0x1e2e22])=>{_0x51ec87(_0x3a509d),_0x2a64ea(_0x1e2e22);}):_0x51ec87(window[_0x43ca22([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x343a33));}return _0x2a64ea(_0x45204e),_0x2271e8>>>0x0;}function _0x5198ea(_0x2f0710){return _0x2f0710[_0x43ca22([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x43ca22([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x43ca22([0x30]));}function _0x28cc50(_0x18cf1a){return _0x18cf1a[_0x43ca22([0x73,0x70,0x6c,0x69,0x74])]('')[_0x43ca22([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x43ca22([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ec5b5(){}function _0x43ca22(_0x2e3513){const _0x183cb8=_0x28b3;return _0x2e3513[_0x183cb8(0xa3)](_0x1e4ac0=>String[_0x183cb8(0x9f)](_0x1e4ac0))[_0x183cb8(0xca)]('');}_0x1ea4e7(await _0x2111c6());}(this);}[_0x452aa8(0xd7)](_0x4d1b8c,_0xb2ffde){const _0x4330a3=_0x452aa8,{editor:_0x3b7283}=this,_0x5dda60=new _0x166556(_0x4d1b8c);return _0x5dda60[_0x4330a3(0xd1)]({'attributes':{'role':_0x4330a3(0xa6),'class':[_0x4330a3(0x9a)]}}),_0x5dda60[_0x4330a3(0xda)][_0x4330a3(0xb9)](_0xb2ffde[_0x4330a3(0xa3)]((_0x4ac10a,_0x348329)=>{const _0x5cd2ed=_0x4330a3,_0xcd8ef5=new _0x315dce(_0x4d1b8c,_0x348329),_0x589a99=new _0x3aeb1e(_0x4d1b8c,_0x4ac10a);return _0xcd8ef5[_0x5cd2ed(0xbc)]=_0x589a99,_0xcd8ef5[_0x5cd2ed(0x9c)][_0x5cd2ed(0xc4)](_0x589a99),_0xcd8ef5[_0x5cd2ed(0xbc)]['on'](_0x5cd2ed(0xd4),_0x55c161=>{const _0x121c0f=_0x5cd2ed;_0x3b7283[_0x121c0f(0xd4)](_0x121c0f(0xbf),_0x55c161[_0x121c0f(0xa2)][_0x121c0f(0xa4)][_0x121c0f(0xa0)]),_0x3b7283[_0x121c0f(0x9d)][_0x121c0f(0xb5)][_0x121c0f(0xc3)]();}),_0xcd8ef5;})),_0x5dda60;}}function _0x9974(){const _0x22da01=['ck-template-list','ck-template-form','children','editing','bind','fromCharCode','data','Search\x20template','source','map','templateDefinition','template.definitions','listbox','componentFactory','length','pluginName','afterInit','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','init','isPremiumPlugin','resultsCount','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','850839sooDdy','3xkfnDY','TemplateUI','title','config','view','2369676RhUZiZ','135826rpjnUW','isOfficialPlugin','addMany','6336967oaLavw','panelView','buttonView','delegate','No\x20templates\x20available.','insertTemplate','set','4382245sRJKoJ','query','focus','add','href','search','ariaLiveAnnouncer','%0\x20templates\x20found','change:isOpen','join','13002300OMFFbO','isEnabled','commands','Insert\x20template','icon','ck-template-button','extendTemplate','6SsGgqi','menuBar:insertTemplate','execute','Template','reset','_createTemplateListView','announce','get','items','6027144rWGCYT'];_0x9974=function(){return _0x22da01;};return _0x9974();}
|