@ckeditor/ckeditor5-template 46.1.1-alpha.2 → 46.1.1-alpha.3
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:()=>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})();
|
|
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=[],a=0;a<t.length;a++){var o=t[a],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=a,e.splice(a,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var c=0;c<s.length;c++){var a=n(s[c]);e[a].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}},33:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});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 a=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 a=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},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 a=0;a<this.length;a++){var o=this[a][0];null!=o&&(c[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},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:()=>U});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 a=o;function o(t,e){const n=l();return(o=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=o,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{[a(392)];[a(394)];static get[a(414)](){return a(419)}static get[a(418)](){return!0}static get[a(387)](){return!0}[a(408)](){const t=a,{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)}[a(425)](){const t=a;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),E=n.n(N),O=n(557),P=n.n(O),j=n(302),A=n.n(j),K=n(290),z=n.n(K),B=n(33),R={attributes:{"data-cke":!0}};R.setAttributes=A(),R.insert=P().bind(null,"head"),R.domAPI=E(),R.insertStyleElement=z();S()(B.A,R);B.A&&B.A.locals&&B.A.locals;const D=H;function H(t,e){const n=G();return(H=function(t,e){return n[t-=358]})(t,e)}function G(){const t=["18085cbEaxB","156365wsHnyv","Please try a different phrase or check the spelling.","3240370VCwoBV","announce","commands","isOfficialPlugin","menuBar:insertTemplate","20531ltdZzy","add","templateDefinition","icon","items","isPremiumPlugin","fromCharCode","source","componentFactory","listbox","href","panelView","title","insertTemplate","map","change:isOpen","%0 templates found","editing","init","children","bind","Insert template","data","No templates available.","Template","buttonView","get","8vWXGBL","606amUbce","join","ck-template-button","focus","query","310KbQYGD","4137129BUulHX","execute","addMany","Search template","delegate","isEnabled","34nIpYzV","resultsCount","set","view","ck-template-form","TemplateUI","pluginName","search",'No templates were found matching "%0".',"ck-template-list","_createTemplateListView","extendTemplate","config","afterInit","length","24726108aUuyPx","reset","ariaLiveAnnouncer","656rQxsIc","5163RsCNgG","template.definitions"];return(G=function(){return t})()}!function(t){const e=H,n=t();for(;;)try{if(265153===parseInt(e(422))/1*(-parseInt(e(393))/2)+-parseInt(e(412))/3*(-parseInt(e(411))/4)+parseInt(e(414))/5*(-parseInt(e(381))/6)+-parseInt(e(417))/7*(parseInt(e(380))/8)+-parseInt(e(387))/9+-parseInt(e(386))/10*(parseInt(e(415))/11)+parseInt(e(408))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class U extends t.Plugin{static get[D(399)](){return D(398)}static get[D(420)](){return!0}static get[D(358)](){return!0}[D(371)](){const t=D,{editor:e}=this,n=e[t(405)][t(379)](t(413))||[];e.ui[t(361)][t(423)](t(366),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(403)](r,n),a=new f.SearchTextView(r,{filteredView:c,queryView:{label:C(r,i(390))},class:i(397),infoView:{text:{notFound:{primary:t=>C(r,i(401),t),secondary:C(r,i(416))},noSearchableItems:{primary:C(r,i(376))}}}}),o=e[i(419)][i(379)](i(366));return a.on(i(400),(t,n)=>{const s=i;n[s(385)]&&n[s(385)][s(407)]&&e.ui[s(410)][s(418)](C(r,s(369),n[s(394)]))}),s[i(373)](i(392)).to(o),s[i(364)][i(372)][i(423)](a),s[i(378)][i(395)]({label:C(r,i(374)),icon:p.IconTemplate,tooltip:!0}),s.on(i(368),(t,e,n)=>{n||a[i(409)]()}),s}),e.ui[t(361)][t(423)](t(421),r=>{const i=t,s=e[i(419)][i(379)](i(366)),c=new f.MenuBarMenuView(r);c[i(378)][i(395)]({label:C(r,i(377)),icon:p.IconTemplate});const a=new f.MenuBarMenuListView(r);if(!n||!n[i(407)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(395)]({label:C(r,i(376))}),n[i(391)](i(388)).to(c),n.on(i(388),()=>{const t=i;e[t(370)][t(396)][t(384)]()}),t[i(372)][i(423)](n),a[i(426)][i(423)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(395)]({class:i(383),label:t[i(365)],icon:t[i(425)]||p.IconTemplateGeneric}),s[i(391)](i(388)).to(c),s.on(i(388),()=>{const n=i;e[n(388)](n(366),t[n(375)]),e[n(370)][n(396)][n(384)]()}),n[i(372)][i(423)](s),a[i(426)][i(423)](n)}return c[i(364)][i(372)][i(423)](a),c[i(373)](i(392)).to(s,i(392)),c})}[D(406)](){!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 a(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function o(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=H;return t[e(367)](t=>String[e(359)](t))[e(382)]("")}!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=o(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(a=>{if(s())return a(h([86,97,108,105,100]));c(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){o(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=c();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](a)[h([99,97,116,99,104])](()=>{a(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function c(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function o(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return a(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(o=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{o||a(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function c(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=c[h([115,112,108,105,116])](h([46])),[i,s,a]=r;return e(i),await n(i,s,a),t}catch{return!1}function e(e){const n=o(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),c=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),a=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!a)return;const o=await a[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await a[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},o,i,c)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]||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:1757894400;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(363)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=a(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=a(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[D(403)](t,e){const n=D,{editor:r}=this,i=new w(t);return i[n(404)]({attributes:{role:n(362),class:[n(402)]}}),i[n(426)][n(389)](e[n(367)]((e,i)=>{const s=n,c=new b(t,i),a=new V(t,e);return c[s(378)]=a,c[s(372)][s(423)](a),c[s(378)].on(s(388),t=>{const e=s;r[e(388)](e(366),t[e(360)][e(424)][e(375)]),r[e(370)][e(396)][e(384)]()}),c})),i}}var J=Z;function Z(t,e){var n=F();return(Z=function(t,e){return n[t-=177]})(t,e)}function F(){var t=["1998318ROgjOV","170514KPvgwI","510zCscRA","3054416eZeiIE","Template","pluginName","isOfficialPlugin","1623015BlypYa","2EjZifV","5589QaomhH","5958584eigtFI","21XsOEDZ","isPremiumPlugin","145571IpluUG","requires"];return(F=function(){return t})()}!function(t){for(var e=Z,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())}}(F);class Y extends t.Plugin{static get[J(188)](){return[u,U]}static get[J(179)](){return J(178)}static get[J(180)](){return!0}static get[J(186)](){return!0}}function q(t,e){var n=X();return(q=function(t,e){return n[t-=156]})(t,e)}function X(){var t=["850110jlLsyf","208MEKUvC","3588390kebpsw","6VGJhrS","27832nYLuRX","60374aewJLB","1712340JMVLDU","825120zjmjcp","64MLDZYQ","21921TwWQhV"];return(X=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())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _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};
|
|
23
|
+
import{Command as _0x3fb3f0,Plugin as _0x4a3fe1}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x4fe5f2,IconTemplate as _0x1be768}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x17eedc,ListItemView as _0x4d3217,ButtonView as _0x10ff70,View as _0x8cba0b,HighlightedTextView as _0x1bba5c,createDropdown as _0x2348af,SearchTextView as _0x34a9ab,MenuBarMenuView as _0x1db003,MenuBarMenuListView as _0x58a33c,MenuBarMenuListItemView as _0x49311b,MenuBarMenuListItemButtonView as _0x1ff52a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x2ba3a8}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x3fb3f0{['execute'](_0x5eda0a){const {model:_0x17afe4}=this['editor'];let _0x402d81;switch(typeof _0x5eda0a){case'string':_0x402d81=_0x5eda0a;break;case'function':_0x402d81=_0x5eda0a();}'string'==typeof _0x402d81&&_0x17afe4['change'](()=>{const _0x185b8b=this['editor']['data']['htmlProcessor']['toView'](_0x402d81),_0x1fad21=this['editor']['data']['toModel'](_0x185b8b);_0x17afe4['insertContent'](_0x1fad21);});}}class i extends _0x4a3fe1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3837d4}=this;_0x3837d4['commands']['add']('insertTemplate',new a(_0x3837d4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d738a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x16c6eb;for(const _0x340915 in _0x4d738a){const _0x81d7ac=_0x340915,_0xbc40d6=_0x4d738a[_0x81d7ac];if('templateLicenseKeyValid'==_0xbc40d6||'templateLicenseKeyInvalid'==_0xbc40d6||'templateLicenseKeyExpired'==_0xbc40d6||'templateLicenseKeyDomainLimit'==_0xbc40d6||'templateLicenseKeyNotAllowed'==_0xbc40d6||'templateLicenseKeyEvaluationLimit'==_0xbc40d6||'templateLicenseKeyTrialLimit'==_0xbc40d6||'templateLicenseKeyUsageLimit'==_0xbc40d6){delete _0x4d738a[_0x81d7ac],_0x16c6eb=_0xbc40d6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x16c6eb&&_0x4d738a['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x16c6eb&&_0x4d738a['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x16c6eb&&_0x4d738a['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x16c6eb&&_0x4d738a['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x16c6eb&&_0x4d738a['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x16c6eb&&_0x4d738a['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x16c6eb&&_0x4d738a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x17eedc{['filter'](_0x15aa68){if(!_0x15aa68)return this['_resetFiltering']();const _0x1f3d5d=new Map(),_0x1c3ab4=this['items']['map'](_0xa81a30=>{const _0x4468d2=_0xa81a30['buttonView']['isMatching'](_0x15aa68);return _0xa81a30['isVisible']=!!_0x4468d2,_0xa81a30['buttonView']['highlightText'](_0x4468d2?_0x15aa68:null),_0x4468d2&&_0x1f3d5d['set'](_0xa81a30,_0x4468d2),_0xa81a30;})['sort'](j)['sort'](function(_0x4521e6){return function(_0x44e8df,_0x407e41){const _0x77631d=_0x4521e6['get'](_0x44e8df),_0x3bcc88=_0x4521e6['get'](_0x407e41);return _0x77631d&&!_0x3bcc88?-0x1:_0x3bcc88&&!_0x77631d?0x1:_0x77631d||_0x3bcc88?_0x77631d['title']&&!_0x3bcc88['title']?-0x1:!_0x77631d['title']&&_0x3bcc88['title']?0x1:0x0:0x0;};}(_0x1f3d5d));return this['items']['clear'](),this['items']['addMany'](_0x1c3ab4),{'resultsCount':_0x1f3d5d['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x20846b=this['items']['map'](_0x44c123=>_0x44c123)['sort'](j);return _0x20846b['forEach'](_0x1d83de=>{_0x1d83de['isVisible']=!0x0,_0x1d83de['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x20846b),{'resultsCount':_0x20846b['length'],'totalItemsCount':_0x20846b['length']};}}function j(_0x21af83,_0x26f884){return _0x21af83['originalIndex']-_0x26f884['originalIndex'];}class b extends _0x4d3217{['originalIndex'];['buttonView'];constructor(_0x37616e,_0x29b62b){super(_0x37616e),this['originalIndex']=_0x29b62b,this['buttonView']=null;}}class h extends _0x10ff70{['templateDefinition'];['textPartView'];constructor(_0x181971,_0x465d24){super(_0x181971),this['templateDefinition']=_0x465d24,this['textPartView']=null;const {icon:_0x374be5=_0x4fe5f2}=_0x465d24;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x374be5}),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'](_0x266e69){const {title:_0x40e9ba,description:_0xeeefd1}=this['templateDefinition'],_0x1e8cbd=!!_0x40e9ba['match'](_0x266e69),_0x393e1e=!(!_0xeeefd1||!_0xeeefd1['match'](_0x266e69));return _0x1e8cbd||_0x393e1e?{'title':_0x1e8cbd,'description':_0x393e1e}:null;}['highlightText'](_0x338c8e){this['textPartView']['highlightText'](_0x338c8e);}}class L extends _0x8cba0b{constructor(_0x161bbb,_0x2e1879,_0x4712ec){super(_0x161bbb),this['title']=_0x2e1879['title'],this['description']=_0x2e1879['description'],this['titleView']=new _0x1bba5c(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x4712ec}});const _0x3871b0=[this['titleView']];this['description']&&(this['descriptionView']=new _0x1bba5c(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x3871b0['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x3871b0});}['highlightText'](_0x4f746f){this['titleView']['highlightText'](_0x4f746f),this['description']&&this['descriptionView']['highlightText'](_0x4f746f);}}function g(_0x4bf0e3,_0x2a6516,..._0x203594){const t=_0x4bf0e3['t'];switch(_0x2a6516){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x203594);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',..._0x203594);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x2a6516;}}class s extends _0x4a3fe1{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x474341}=this,_0x2d9a4c=_0x474341['config']['get']('template.definitions')||[];_0x474341['ui']['componentFactory']['add']('insertTemplate',_0x2de3ac=>{const _0xfb32f7=_0x2348af(_0x2de3ac),_0x56ee0e=this['_createTemplateListView'](_0x2de3ac,_0x2d9a4c),_0x50b795=new _0x34a9ab(_0x2de3ac,{'filteredView':_0x56ee0e,'queryView':{'label':g(_0x2de3ac,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0xd736cd=>g(_0x2de3ac,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0xd736cd),'secondary':g(_0x2de3ac,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x2de3ac,'No\x20templates\x20available.')}}}}),_0x12a034=_0x474341['commands']['get']('insertTemplate');return _0x50b795['on']('search',(_0x2ecb17,_0x132253)=>{_0x132253['query']&&_0x132253['query']['length']&&_0x474341['ui']['ariaLiveAnnouncer']['announce'](g(_0x2de3ac,'%0\x20templates\x20found',_0x132253['resultsCount']));}),_0xfb32f7['bind']('isEnabled')['to'](_0x12a034),_0xfb32f7['panelView']['children']['add'](_0x50b795),_0xfb32f7['buttonView']['set']({'label':g(_0x2de3ac,'Insert\x20template'),'icon':_0x1be768,'tooltip':!0x0}),_0xfb32f7['on']('change:isOpen',(_0x2e5695,_0xd6a1dd,_0x21ecc6)=>{_0x21ecc6||_0x50b795['reset']();}),_0xfb32f7;}),_0x474341['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x1a0e40=>{const _0x5592ab=_0x474341['commands']['get']('insertTemplate'),_0x4f1d98=new _0x1db003(_0x1a0e40);_0x4f1d98['buttonView']['set']({'label':g(_0x1a0e40,'Template'),'icon':_0x1be768});const _0x1f615e=new _0x58a33c(_0x1a0e40);if(!_0x2d9a4c||!_0x2d9a4c['length']){const _0x545ba3=new _0x49311b(_0x1a0e40,_0x4f1d98),_0x53a96e=new _0x1ff52a(_0x1a0e40);_0x53a96e['set']({'label':g(_0x1a0e40,'No\x20templates\x20available.')}),_0x53a96e['delegate']('execute')['to'](_0x4f1d98),_0x53a96e['on']('execute',()=>{_0x474341['editing']['view']['focus']();}),_0x545ba3['children']['add'](_0x53a96e),_0x1f615e['items']['add'](_0x545ba3);}for(const _0x29e913 of _0x2d9a4c){const _0x4512eb=new _0x49311b(_0x1a0e40,_0x4f1d98),_0x56b47e=new _0x1ff52a(_0x1a0e40);_0x56b47e['set']({'class':'ck-template-button','label':_0x29e913['title'],'icon':_0x29e913['icon']||_0x4fe5f2}),_0x56b47e['delegate']('execute')['to'](_0x4f1d98),_0x56b47e['on']('execute',()=>{_0x474341['execute']('insertTemplate',_0x29e913['data']),_0x474341['editing']['view']['focus']();}),_0x4512eb['children']['add'](_0x56b47e),_0x1f615e['items']['add'](_0x4512eb);}return _0x4f1d98['panelView']['children']['add'](_0x1f615e),_0x4f1d98['bind']('isEnabled')['to'](_0x5592ab,'isEnabled'),_0x4f1d98;});}['afterInit'](){!async function(_0x1c356e){const _0x127752=_0xa6529b([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]),_0x218b7b=0x5dba9314,_0x5821f4=0x5dbde064^_0x218b7b,_0x6d2b95=window[_0xa6529b([0x44,0x61,0x74,0x65])][_0xa6529b([0x6e,0x6f,0x77])](),_0x165386=_0x1c356e[_0xa6529b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32e3db=new window[(_0xa6529b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b11a8=>{_0x165386[_0xa6529b([0x6f,0x6e,0x63,0x65])](_0xa6529b([0x72,0x65,0x61,0x64,0x79]),_0x2b11a8);}),_0x107c6e={[_0xa6529b([0x6b,0x74,0x79])]:_0xa6529b([0x45,0x43]),[_0xa6529b([0x75,0x73,0x65])]:_0xa6529b([0x73,0x69,0x67]),[_0xa6529b([0x63,0x72,0x76])]:_0xa6529b([0x50,0x2d,0x32,0x35,0x36]),[_0xa6529b([0x78])]:_0xa6529b([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]),[_0xa6529b([0x79])]:_0xa6529b([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]),[_0xa6529b([0x61,0x6c,0x67])]:_0xa6529b([0x45,0x53,0x32,0x35,0x36])},_0x1f5f75=_0x165386[_0xa6529b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa6529b([0x67,0x65,0x74])](_0xa6529b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bcae1(){let _0x7f234,_0x4d1d0d=null,_0x46552a=null;try{if(_0x1f5f75==_0xa6529b([0x47,0x50,0x4c]))return _0xa6529b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7f234=_0x18f1d1(),!_0x7f234)return _0xa6529b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7f234[_0xa6529b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46552a=_0x13b526(_0x7f234[_0xa6529b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7f234[_0xa6529b([0x6a,0x74,0x69])])),await _0xd83b92()?_0x529c4a()?_0x941c9f()?_0xa6529b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29d775()?(_0x7f234[_0xa6529b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa6529b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d1d0d=_0x119383(_0xa6529b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7f234[_0xa6529b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa6529b([0x74,0x72,0x69,0x61,0x6c])&&(_0x4d1d0d=_0x119383(_0xa6529b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd81de7()):_0xa6529b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa6529b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa6529b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa6529b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x941c9f(){const _0x58ac03=[_0xa6529b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa6529b([0x74,0x72,0x69,0x61,0x6c])][_0xa6529b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7f234[_0xa6529b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6d2b95/0x3e8:0xe10*_0x5821f4;return _0x7f234[_0xa6529b([0x65,0x78,0x70])]<_0x58ac03;}function _0x529c4a(){const _0x2b2d9c=_0x7f234[_0xa6529b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b2d9c&&(!!_0x2b2d9c[_0xa6529b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6529b([0x2a]))||(!!_0x2b2d9c[_0xa6529b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6529b([0x54,0x50,0x4c]))||(!!_0x2b2d9c[_0xa6529b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6529b([0x50,0x50]))||(!(!_0x2b2d9c[_0xa6529b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6529b([0x44,0x52,0x55,0x50]))||!_0x3e7bca())||!(!_0x2b2d9c[_0xa6529b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6529b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x59a4f3())))));}function _0x29d775(){const _0x4bdda3=_0x7f234[_0xa6529b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bdda3||0x0==_0x4bdda3[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d177e}=new URL(window[_0xa6529b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bdda3[_0xa6529b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d177e))return!0x0;const _0x519868=_0x2d177e[_0xa6529b([0x73,0x70,0x6c,0x69,0x74])](_0xa6529b([0x2e]));return _0x4bdda3[_0xa6529b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11f982=>_0x11f982[_0xa6529b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6529b([0x2a])))[_0xa6529b([0x6d,0x61,0x70])](_0x46f852=>_0x46f852[_0xa6529b([0x73,0x70,0x6c,0x69,0x74])](_0xa6529b([0x2e])))[_0xa6529b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b72e4=>_0x4b72e4[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x519868[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa6529b([0x6d,0x61,0x70])](_0x2ca768=>Array(_0x519868[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ca768[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa6529b([0x66,0x69,0x6c,0x6c])](_0x2ca768[0x0]===_0xa6529b([0x2a])?_0xa6529b([0x2a]):'')[_0xa6529b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ca768))[_0xa6529b([0x73,0x6f,0x6d,0x65])](_0x1a971b=>_0x519868[_0xa6529b([0x65,0x76,0x65,0x72,0x79])]((_0x48c648,_0x4be3d4)=>_0x1a971b[_0x4be3d4]===_0x48c648||_0x1a971b[_0x4be3d4]===_0xa6529b([0x2a])));}function _0xd81de7(){return _0x4d1d0d&&_0x46552a?new window[(_0xa6529b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x497059,_0x1ad835)=>{_0x4d1d0d[_0xa6529b([0x74,0x68,0x65,0x6e])](_0x497059,_0x1ad835),_0x46552a[_0xa6529b([0x74,0x68,0x65,0x6e])](_0x5bae00=>{_0x5bae00!=_0xa6529b([0x56,0x61,0x6c,0x69,0x64])&&_0x497059(_0x5bae00);},_0x1ad835);}):_0x4d1d0d||_0x46552a||_0xa6529b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13b526(_0x268487,_0x1402da){return new window[(_0xa6529b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f8560=>{if(_0x28e114())return _0x4f8560(_0xa6529b([0x56,0x61,0x6c,0x69,0x64]));_0x46279a(),_0x165386[_0xa6529b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa6529b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ee31d=!0x1;const _0x19bb52=_0x2ba3a8();function _0x2d0ecc(_0x23b603){return!!_0x23b603&&(typeof _0x23b603===_0xa6529b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23b603===_0xa6529b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23b603[_0xa6529b([0x74,0x68,0x65,0x6e])]===_0xa6529b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23b603[_0xa6529b([0x63,0x61,0x74,0x63,0x68])]===_0xa6529b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2167f4(_0x2b6faa){_0x574b9b(_0x2b6faa)[_0xa6529b([0x74,0x68,0x65,0x6e])](_0x3240ff=>{if(!_0x3240ff||_0x3240ff[_0xa6529b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa6529b([0x6f,0x6b]))return _0xa6529b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x511f63(_0x34c946(_0x19bb52+_0x1402da))!=_0x3240ff[_0xa6529b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa6529b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa6529b([0x56,0x61,0x6c,0x69,0x64]);})[_0xa6529b([0x74,0x68,0x65,0x6e])](_0x4e5082=>(_0x40d167(),_0x4e5082),()=>{const _0x200636=_0x5410b8();return null==_0x200636?(_0x40d167(),_0xa6529b([0x56,0x61,0x6c,0x69,0x64])):_0xa6529b(_0x6d2b95-_0x200636>(0x79b61714^_0x218b7b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa6529b([0x74,0x68,0x65,0x6e])](_0x4f8560)[_0xa6529b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f8560(_0xa6529b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x470e6e=0x5d8c7d94^_0x218b7b;function _0x40d167(){const _0x2164ea=_0xa6529b([0x6c,0x6c,0x63,0x74,0x2d])+_0x511f63(_0x34c946(_0x268487)),_0x5ce746=_0x867135(_0x511f63(window[_0xa6529b([0x4d,0x61,0x74,0x68])][_0xa6529b([0x63,0x65,0x69,0x6c])](_0x6d2b95/_0x470e6e)));window[_0xa6529b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa6529b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2164ea,_0x5ce746);}function _0x5410b8(){const _0x5bea68=_0xa6529b([0x6c,0x6c,0x63,0x74,0x2d])+_0x511f63(_0x34c946(_0x268487)),_0x11317b=window[_0xa6529b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa6529b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bea68);return _0x11317b?window[_0xa6529b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x867135(_0x11317b),0x10)*_0x470e6e:null;}function _0x574b9b(_0x2884c7){return new window[(_0xa6529b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33b9f7,_0x7a8899)=>{_0x2884c7[_0xa6529b([0x74,0x68,0x65,0x6e])](_0x33b9f7,_0x7a8899),window[_0xa6529b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7a8899,0x5dbb47d4^_0x218b7b);});}}_0x165386[_0xa6529b([0x6f,0x6e])](_0xa6529b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29589e,_0x541826)=>{if(_0x541826[0x0]!=_0x268487)return _0x4f8560(_0xa6529b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x541826[0x1]={..._0x541826[0x1],[_0xa6529b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19bb52};},{[_0xa6529b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa6529b([0x68,0x69,0x67,0x68])}),_0x165386[_0xa6529b([0x6f,0x6e])](_0xa6529b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x284b13=>{_0x2d0ecc(_0x284b13[_0xa6529b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ee31d=!0x0,_0x2167f4(_0x284b13[_0xa6529b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa6529b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa6529b([0x6c,0x6f,0x77])}),_0x32e3db[_0xa6529b([0x74,0x68,0x65,0x6e])](()=>{_0x1ee31d||_0x4f8560(_0xa6529b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28e114(){return _0x165386[_0xa6529b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa6529b([0x76,0x69,0x65,0x77])][_0xa6529b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa6529b([0x61,0x75,0x74,0x6f]);}function _0x46279a(){_0x165386[_0xa6529b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa6529b([0x76,0x69,0x65,0x77])][_0xa6529b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa6529b([0x61,0x75,0x74,0x6f]);}}function _0x119383(_0x4804d6){const _0x38b5fe=[new window[(_0xa6529b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x466c3=>setTimeout(_0x466c3,0x5db3add8^_0x218b7b)),_0x32e3db[_0xa6529b([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa6529b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x161b57=>{let _0x3e3d47=0x0;_0x165386[_0xa6529b([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6529b([0x6f,0x6e])](_0xa6529b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40dfee,_0x49d312)=>{_0x49d312[0x0][_0xa6529b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e3d47++,_0x3e3d47==(0x5dba92ec^_0x218b7b)&&(_0x161b57(),_0x40dfee[_0xa6529b([0x6f,0x66,0x66])]());});}))];return window[_0xa6529b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa6529b([0x72,0x61,0x63,0x65])](_0x38b5fe)[_0xa6529b([0x74,0x68,0x65,0x6e])](()=>_0x4804d6);}async function _0x154c60(){await _0x32e3db,_0x165386[_0xa6529b([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6529b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x37846f,_0x165386[_0xa6529b([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6529b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x37846f,_0x165386[_0xa6529b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa6529b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e7bca(){return window[_0xa6529b([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x59a4f3(){return window[_0xa6529b([0x67,0x6c,0x6f,0x62])]&&window[_0xa6529b([0x67,0x6c,0x6f,0x62])][_0xa6529b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3449d0(_0x1c3b7c){const _0x1d998a=_0x4098ee();_0x165386[_0x1d998a]=_0xa6529b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c3b7c,_0x1c3b7c!=_0xa6529b([0x56,0x61,0x6c,0x69,0x64])&&_0x154c60();}function _0x4098ee(){const _0x13bf12=window[_0xa6529b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa6529b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa6529b([0x6e,0x6f,0x77])]())[_0xa6529b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa6529b([0x2e]),'');let _0x17dc21=_0xa6529b([0x4e]);for(let _0x13cf6e=0x0;_0x13cf6e<_0x13bf12[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13cf6e+=0x2){let _0x278b94=window[_0xa6529b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13bf12[_0xa6529b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13cf6e,_0x13cf6e+0x2));_0x278b94>=_0x127752[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x278b94-=_0x127752[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17dc21+=_0x127752[_0x278b94];}return _0x17dc21;}function _0x18f1d1(){const _0xb06d47=_0x1f5f75[_0xa6529b([0x73,0x70,0x6c,0x69,0x74])](_0xa6529b([0x2e]));if(0x3!=_0xb06d47[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a7f50(_0xb06d47[0x1]);function _0x3a7f50(_0x1fec34){const _0x59205d=_0x53146e(_0x1fec34);return _0x59205d&&_0x14291a()?_0x59205d:null;function _0x14291a(){const _0x18b223=_0x59205d[_0xa6529b([0x6a,0x74,0x69])],_0xc19eea=window[_0xa6529b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18b223[_0xa6529b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18b223[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3189e3={..._0x59205d,[_0xa6529b([0x6a,0x74,0x69])]:_0x18b223[_0xa6529b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18b223[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3189e3[_0xa6529b([0x76,0x63])],_0x34c946(_0x3189e3)==_0xc19eea;}}}async function _0xd83b92(){let _0x3f51d6=!0x0;try{const _0x252208=_0x1f5f75[_0xa6529b([0x73,0x70,0x6c,0x69,0x74])](_0xa6529b([0x2e])),[_0x5a29af,_0x4148dc,_0x3cd168]=_0x252208;return _0x1e7eff(_0x5a29af),await _0x283815(_0x5a29af,_0x4148dc,_0x3cd168),_0x3f51d6;}catch{return!0x1;}function _0x1e7eff(_0xc4ca75){const _0x5f01a5=_0x53146e(_0xc4ca75);_0x5f01a5&&_0x5f01a5[_0xa6529b([0x61,0x6c,0x67])]==_0xa6529b([0x45,0x53,0x32,0x35,0x36])||(_0x3f51d6=!0x1);}async function _0x283815(_0x20c214,_0x3545fd,_0x5f3c9c){const _0x33afc0=window[_0xa6529b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa6529b([0x66,0x72,0x6f,0x6d])](_0x252059(_0x5f3c9c),_0x2940a6=>_0x2940a6[_0xa6529b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3ae6fa=new window[(_0xa6529b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa6529b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20c214+_0xa6529b([0x2e])+_0x3545fd),_0x409033=window[_0xa6529b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa6529b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x409033)return;const _0xec4127=await _0x409033[_0xa6529b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa6529b([0x6a,0x77,0x6b]),_0x107c6e,{[_0xa6529b([0x6e,0x61,0x6d,0x65])]:_0xa6529b([0x45,0x43,0x44,0x53,0x41]),[_0xa6529b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa6529b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa6529b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x409033[_0xa6529b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa6529b([0x6e,0x61,0x6d,0x65])]:_0xa6529b([0x45,0x43,0x44,0x53,0x41]),[_0xa6529b([0x68,0x61,0x73,0x68])]:{[_0xa6529b([0x6e,0x61,0x6d,0x65])]:_0xa6529b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xec4127,_0x33afc0,_0x3ae6fa)||(_0x3f51d6=!0x1);}}function _0x53146e(_0x209225){return _0x209225[_0xa6529b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa6529b([0x65,0x79]))?JSON[_0xa6529b([0x70,0x61,0x72,0x73,0x65])](_0x252059(_0x209225)):null;}function _0x252059(_0x21aa26){return window[_0xa6529b([0x61,0x74,0x6f,0x62])](_0x21aa26[_0xa6529b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa6529b([0x2b]))[_0xa6529b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa6529b([0x2f])));}function _0x34c946(_0xde9df1){let _0x5c6f51=0x1505;function _0x5beced(_0x537b3e){for(let _0x4941ef=0x0;_0x4941ef<_0x537b3e[_0xa6529b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4941ef++){const _0x458d1d=_0x537b3e[_0xa6529b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4941ef);_0x5c6f51=(_0x5c6f51<<0x5)+_0x5c6f51+_0x458d1d,_0x5c6f51&=_0x5c6f51;}}function _0x2cc858(_0x4f901e){Array[_0xa6529b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f901e)?_0x4f901e[_0xa6529b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2cc858):_0x4f901e&&typeof _0x4f901e==_0xa6529b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa6529b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f901e)[_0xa6529b([0x73,0x6f,0x72,0x74])]()[_0xa6529b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x956fb1,_0x3d051f])=>{_0x5beced(_0x956fb1),_0x2cc858(_0x3d051f);}):_0x5beced(window[_0xa6529b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f901e));}return _0x2cc858(_0xde9df1),_0x5c6f51>>>0x0;}function _0x511f63(_0x2c43f5){return _0x2c43f5[_0xa6529b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa6529b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa6529b([0x30]));}function _0x867135(_0x3bf608){return _0x3bf608[_0xa6529b([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa6529b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa6529b([0x6a,0x6f,0x69,0x6e])]('');}function _0x37846f(){}function _0xa6529b(_0x2a5e02){return _0x2a5e02['map'](_0x3a5639=>String['fromCharCode'](_0x3a5639))['join']('');}_0x3449d0(await _0x4bcae1());}(this);}['_createTemplateListView'](_0x471ac6,_0x5a2e68){const {editor:_0x152575}=this,_0x4296fa=new y(_0x471ac6);return _0x4296fa['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x4296fa['items']['addMany'](_0x5a2e68['map']((_0x53dc5c,_0x1010b5)=>{const _0x36d13c=new b(_0x471ac6,_0x1010b5),_0x5753de=new h(_0x471ac6,_0x53dc5c);return _0x36d13c['buttonView']=_0x5753de,_0x36d13c['children']['add'](_0x5753de),_0x36d13c['buttonView']['on']('execute',_0xfec9f=>{_0x152575['execute']('insertTemplate',_0xfec9f['source']['templateDefinition']['data']),_0x152575['editing']['view']['focus']();}),_0x36d13c;})),_0x4296fa;}}class K extends _0x4a3fe1{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.3",
|
|
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.3",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "46.1.1-alpha.3",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.3",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.3",
|
|
29
|
+
"ckeditor5": "46.1.1-alpha.3"
|
|
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 _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();}
|
|
23
|
+
const _0x4046f0=_0x13c1;(function(_0x21a097,_0x14e320){const _0x47244b=_0x13c1,_0x8e470f=_0x21a097();while(!![]){try{const _0x2cc91b=parseInt(_0x47244b(0x1a6))/0x1*(-parseInt(_0x47244b(0x189))/0x2)+-parseInt(_0x47244b(0x19c))/0x3*(-parseInt(_0x47244b(0x19b))/0x4)+parseInt(_0x47244b(0x19e))/0x5*(-parseInt(_0x47244b(0x17d))/0x6)+-parseInt(_0x47244b(0x1a1))/0x7*(parseInt(_0x47244b(0x17c))/0x8)+-parseInt(_0x47244b(0x183))/0x9+-parseInt(_0x47244b(0x182))/0xa*(parseInt(_0x47244b(0x19f))/0xb)+parseInt(_0x47244b(0x198))/0xc;if(_0x2cc91b===_0x14e320)break;else _0x8e470f['push'](_0x8e470f['shift']());}catch(_0x5710ee){_0x8e470f['push'](_0x8e470f['shift']());}}}(_0x4bde,0x40bc1));import{Plugin as _0x367446}from'ckeditor5/src/core.js';function _0x13c1(_0x3bac66,_0x56da2a){const _0x4bde1d=_0x4bde();return _0x13c1=function(_0x13c165,_0x37001f){_0x13c165=_0x13c165-0x166;let _0x349543=_0x4bde1d[_0x13c165];return _0x349543;},_0x13c1(_0x3bac66,_0x56da2a);}import{IconTemplate as _0x27acbc,IconTemplateGeneric as _0x51fd19}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x10bb12,MenuBarMenuListItemView as _0x5256e7,MenuBarMenuListView as _0x32c78d,MenuBarMenuView as _0x18412a,SearchTextView as _0x5e4b4a,createDropdown as _0x41cb68}from'ckeditor5/src/ui.js';import{uid as _0x4d353c}from'ckeditor5/src/utils.js';function _0x4bde(){const _0x4d6f8b=['18085cbEaxB','156365wsHnyv','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','3240370VCwoBV','announce','commands','isOfficialPlugin','menuBar:insertTemplate','20531ltdZzy','add','templateDefinition','icon','items','isPremiumPlugin','fromCharCode','source','componentFactory','listbox','href','panelView','title','insertTemplate','map','change:isOpen','%0\x20templates\x20found','editing','init','children','bind','Insert\x20template','data','No\x20templates\x20available.','Template','buttonView','get','8vWXGBL','606amUbce','join','ck-template-button','focus','query','310KbQYGD','4137129BUulHX','execute','addMany','Search\x20template','delegate','isEnabled','34nIpYzV','resultsCount','set','view','ck-template-form','TemplateUI','pluginName','search','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','ck-template-list','_createTemplateListView','extendTemplate','config','afterInit','length','24726108aUuyPx','reset','ariaLiveAnnouncer','656rQxsIc','5163RsCNgG','template.definitions'];_0x4bde=function(){return _0x4d6f8b;};return _0x4bde();}import{TemplateListView as _0x515af4}from'./ui/templatelistview.js';import{TemplateListItemView as _0x378388}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0xf1d36d}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x279e8}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x367446{static get[_0x4046f0(0x18f)](){const _0x508275=_0x4046f0;return _0x508275(0x18e);}static get[_0x4046f0(0x1a4)](){return!0x0;}static get[_0x4046f0(0x166)](){return!0x0;}[_0x4046f0(0x173)](){const _0x469926=_0x4046f0,{editor:_0x4a2d2a}=this,_0x4cd225=_0x4a2d2a[_0x469926(0x195)][_0x469926(0x17b)](_0x469926(0x19d))||[];_0x4a2d2a['ui'][_0x469926(0x169)][_0x469926(0x1a7)](_0x469926(0x16e),_0x318b2b=>{const _0x1dc5d1=_0x469926,_0x1de4af=_0x41cb68(_0x318b2b),_0x21323f=this[_0x1dc5d1(0x193)](_0x318b2b,_0x4cd225),_0x2402a0=new _0x5e4b4a(_0x318b2b,{'filteredView':_0x21323f,'queryView':{'label':_0x279e8(_0x318b2b,_0x1dc5d1(0x186))},'class':_0x1dc5d1(0x18d),'infoView':{'text':{'notFound':{'primary':_0xa5eae4=>_0x279e8(_0x318b2b,_0x1dc5d1(0x191),_0xa5eae4),'secondary':_0x279e8(_0x318b2b,_0x1dc5d1(0x1a0))},'noSearchableItems':{'primary':_0x279e8(_0x318b2b,_0x1dc5d1(0x178))}}}}),_0x4a19dc=_0x4a2d2a[_0x1dc5d1(0x1a3)][_0x1dc5d1(0x17b)](_0x1dc5d1(0x16e));return _0x2402a0['on'](_0x1dc5d1(0x190),(_0x29d259,_0x45c8fd)=>{const _0x2d177d=_0x1dc5d1;_0x45c8fd[_0x2d177d(0x181)]&&_0x45c8fd[_0x2d177d(0x181)][_0x2d177d(0x197)]&&_0x4a2d2a['ui'][_0x2d177d(0x19a)][_0x2d177d(0x1a2)](_0x279e8(_0x318b2b,_0x2d177d(0x171),_0x45c8fd[_0x2d177d(0x18a)]));}),_0x1de4af[_0x1dc5d1(0x175)](_0x1dc5d1(0x188))['to'](_0x4a19dc),_0x1de4af[_0x1dc5d1(0x16c)][_0x1dc5d1(0x174)][_0x1dc5d1(0x1a7)](_0x2402a0),_0x1de4af[_0x1dc5d1(0x17a)][_0x1dc5d1(0x18b)]({'label':_0x279e8(_0x318b2b,_0x1dc5d1(0x176)),'icon':_0x27acbc,'tooltip':!0x0}),_0x1de4af['on'](_0x1dc5d1(0x170),(_0x4c15e7,_0x8e375f,_0x294aa2)=>{const _0x32cdbd=_0x1dc5d1;_0x294aa2||_0x2402a0[_0x32cdbd(0x199)]();}),_0x1de4af;}),_0x4a2d2a['ui'][_0x469926(0x169)][_0x469926(0x1a7)](_0x469926(0x1a5),_0x33f75c=>{const _0x3cdf1b=_0x469926,_0x9e2d10=_0x4a2d2a[_0x3cdf1b(0x1a3)][_0x3cdf1b(0x17b)](_0x3cdf1b(0x16e)),_0x3c6bb2=new _0x18412a(_0x33f75c);_0x3c6bb2[_0x3cdf1b(0x17a)][_0x3cdf1b(0x18b)]({'label':_0x279e8(_0x33f75c,_0x3cdf1b(0x179)),'icon':_0x27acbc});const _0x5a3228=new _0x32c78d(_0x33f75c);if(!_0x4cd225||!_0x4cd225[_0x3cdf1b(0x197)]){const _0x5bbfbb=new _0x5256e7(_0x33f75c,_0x3c6bb2),_0x29cfc3=new _0x10bb12(_0x33f75c);_0x29cfc3[_0x3cdf1b(0x18b)]({'label':_0x279e8(_0x33f75c,_0x3cdf1b(0x178))}),_0x29cfc3[_0x3cdf1b(0x187)](_0x3cdf1b(0x184))['to'](_0x3c6bb2),_0x29cfc3['on'](_0x3cdf1b(0x184),()=>{const _0x156315=_0x3cdf1b;_0x4a2d2a[_0x156315(0x172)][_0x156315(0x18c)][_0x156315(0x180)]();}),_0x5bbfbb[_0x3cdf1b(0x174)][_0x3cdf1b(0x1a7)](_0x29cfc3),_0x5a3228[_0x3cdf1b(0x1aa)][_0x3cdf1b(0x1a7)](_0x5bbfbb);}for(const _0x584d02 of _0x4cd225){const _0x1b3c34=new _0x5256e7(_0x33f75c,_0x3c6bb2),_0x8aee25=new _0x10bb12(_0x33f75c);_0x8aee25[_0x3cdf1b(0x18b)]({'class':_0x3cdf1b(0x17f),'label':_0x584d02[_0x3cdf1b(0x16d)],'icon':_0x584d02[_0x3cdf1b(0x1a9)]||_0x51fd19}),_0x8aee25[_0x3cdf1b(0x187)](_0x3cdf1b(0x184))['to'](_0x3c6bb2),_0x8aee25['on'](_0x3cdf1b(0x184),()=>{const _0x1950ad=_0x3cdf1b;_0x4a2d2a[_0x1950ad(0x184)](_0x1950ad(0x16e),_0x584d02[_0x1950ad(0x177)]),_0x4a2d2a[_0x1950ad(0x172)][_0x1950ad(0x18c)][_0x1950ad(0x180)]();}),_0x1b3c34[_0x3cdf1b(0x174)][_0x3cdf1b(0x1a7)](_0x8aee25),_0x5a3228[_0x3cdf1b(0x1aa)][_0x3cdf1b(0x1a7)](_0x1b3c34);}return _0x3c6bb2[_0x3cdf1b(0x16c)][_0x3cdf1b(0x174)][_0x3cdf1b(0x1a7)](_0x5a3228),_0x3c6bb2[_0x3cdf1b(0x175)](_0x3cdf1b(0x188))['to'](_0x9e2d10,_0x3cdf1b(0x188)),_0x3c6bb2;});}[_0x4046f0(0x196)](){!async function(_0x44d768){const _0x29459d=_0xdf6051([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]),_0x4d2ad8=0x5dba9314,_0x5afd4d=0x5dbde064^_0x4d2ad8,_0x2f95e8=window[_0xdf6051([0x44,0x61,0x74,0x65])][_0xdf6051([0x6e,0x6f,0x77])](),_0x31c227=_0x44d768[_0xdf6051([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5da40e=new window[(_0xdf6051([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x591214=>{_0x31c227[_0xdf6051([0x6f,0x6e,0x63,0x65])](_0xdf6051([0x72,0x65,0x61,0x64,0x79]),_0x591214);}),_0x29f21c={[_0xdf6051([0x6b,0x74,0x79])]:_0xdf6051([0x45,0x43]),[_0xdf6051([0x75,0x73,0x65])]:_0xdf6051([0x73,0x69,0x67]),[_0xdf6051([0x63,0x72,0x76])]:_0xdf6051([0x50,0x2d,0x32,0x35,0x36]),[_0xdf6051([0x78])]:_0xdf6051([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]),[_0xdf6051([0x79])]:_0xdf6051([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]),[_0xdf6051([0x61,0x6c,0x67])]:_0xdf6051([0x45,0x53,0x32,0x35,0x36])},_0x34c4fe=_0x31c227[_0xdf6051([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xdf6051([0x67,0x65,0x74])](_0xdf6051([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x290ad8(){let _0x2ba23c,_0x349575=null,_0x2b2a15=null;try{if(_0x34c4fe==_0xdf6051([0x47,0x50,0x4c]))return _0xdf6051([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ba23c=_0x2742b2(),!_0x2ba23c)return _0xdf6051([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ba23c[_0xdf6051([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b2a15=_0x522e16(_0x2ba23c[_0xdf6051([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ba23c[_0xdf6051([0x6a,0x74,0x69])])),await _0x2b2c0a()?_0x1e967d()?_0x45c57c()?_0xdf6051([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x171f94()?(_0x2ba23c[_0xdf6051([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdf6051([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x349575=_0x4c6523(_0xdf6051([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ba23c[_0xdf6051([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdf6051([0x74,0x72,0x69,0x61,0x6c])&&(_0x349575=_0x4c6523(_0xdf6051([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x116ce1()):_0xdf6051([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xdf6051([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xdf6051([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xdf6051([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45c57c(){const _0x3136a3=[_0xdf6051([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xdf6051([0x74,0x72,0x69,0x61,0x6c])][_0xdf6051([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba23c[_0xdf6051([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f95e8/0x3e8:0xe10*_0x5afd4d;return _0x2ba23c[_0xdf6051([0x65,0x78,0x70])]<_0x3136a3;}function _0x1e967d(){const _0x5c061a=_0x2ba23c[_0xdf6051([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c061a&&(!!_0x5c061a[_0xdf6051([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf6051([0x2a]))||(!!_0x5c061a[_0xdf6051([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf6051([0x54,0x50,0x4c]))||(!!_0x5c061a[_0xdf6051([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf6051([0x50,0x50]))||(!(!_0x5c061a[_0xdf6051([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf6051([0x44,0x52,0x55,0x50]))||!_0x4f46bc())||!(!_0x5c061a[_0xdf6051([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf6051([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4774c6())))));}function _0x171f94(){const _0x112ed6=_0x13c1,_0x389658=_0x2ba23c[_0xdf6051([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x389658||0x0==_0x389658[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cf822}=new URL(window[_0xdf6051([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x112ed6(0x16b)]);if(_0x389658[_0xdf6051([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cf822))return!0x0;const _0x583883=_0x1cf822[_0xdf6051([0x73,0x70,0x6c,0x69,0x74])](_0xdf6051([0x2e]));return _0x389658[_0xdf6051([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41dc9f=>_0x41dc9f[_0xdf6051([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf6051([0x2a])))[_0xdf6051([0x6d,0x61,0x70])](_0x3dff8a=>_0x3dff8a[_0xdf6051([0x73,0x70,0x6c,0x69,0x74])](_0xdf6051([0x2e])))[_0xdf6051([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e51ae=>_0x2e51ae[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x583883[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdf6051([0x6d,0x61,0x70])](_0x234572=>Array(_0x583883[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x234572[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdf6051([0x66,0x69,0x6c,0x6c])](_0x234572[0x0]===_0xdf6051([0x2a])?_0xdf6051([0x2a]):'')[_0xdf6051([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x234572))[_0xdf6051([0x73,0x6f,0x6d,0x65])](_0x230d17=>_0x583883[_0xdf6051([0x65,0x76,0x65,0x72,0x79])]((_0x4b2762,_0x9ad2c1)=>_0x230d17[_0x9ad2c1]===_0x4b2762||_0x230d17[_0x9ad2c1]===_0xdf6051([0x2a])));}function _0x116ce1(){return _0x349575&&_0x2b2a15?new window[(_0xdf6051([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32389c,_0x4bf475)=>{_0x349575[_0xdf6051([0x74,0x68,0x65,0x6e])](_0x32389c,_0x4bf475),_0x2b2a15[_0xdf6051([0x74,0x68,0x65,0x6e])](_0x292d3b=>{_0x292d3b!=_0xdf6051([0x56,0x61,0x6c,0x69,0x64])&&_0x32389c(_0x292d3b);},_0x4bf475);}):_0x349575||_0x2b2a15||_0xdf6051([0x56,0x61,0x6c,0x69,0x64]);}}function _0x522e16(_0x1c3e46,_0x497d12){return new window[(_0xdf6051([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cad61=>{if(_0x5ee80e())return _0x1cad61(_0xdf6051([0x56,0x61,0x6c,0x69,0x64]));_0x43b6e1(),_0x31c227[_0xdf6051([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xdf6051([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5df7db=!0x1;const _0x201b28=_0x4d353c();function _0x161406(_0x4d4abe){return!!_0x4d4abe&&(typeof _0x4d4abe===_0xdf6051([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d4abe===_0xdf6051([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d4abe[_0xdf6051([0x74,0x68,0x65,0x6e])]===_0xdf6051([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d4abe[_0xdf6051([0x63,0x61,0x74,0x63,0x68])]===_0xdf6051([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47929a(_0x4c95f5){_0x34eb5c(_0x4c95f5)[_0xdf6051([0x74,0x68,0x65,0x6e])](_0x7acaf=>{if(!_0x7acaf||_0x7acaf[_0xdf6051([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xdf6051([0x6f,0x6b]))return _0xdf6051([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x176343(_0x951d04(_0x201b28+_0x497d12))!=_0x7acaf[_0xdf6051([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xdf6051([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xdf6051([0x56,0x61,0x6c,0x69,0x64]);})[_0xdf6051([0x74,0x68,0x65,0x6e])](_0x242ffb=>(_0x150f11(),_0x242ffb),()=>{const _0x3d77db=_0x3e7531();return null==_0x3d77db?(_0x150f11(),_0xdf6051([0x56,0x61,0x6c,0x69,0x64])):_0xdf6051(_0x2f95e8-_0x3d77db>(0x79b61714^_0x4d2ad8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xdf6051([0x74,0x68,0x65,0x6e])](_0x1cad61)[_0xdf6051([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1cad61(_0xdf6051([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e2afc=0x5d8c7d94^_0x4d2ad8;function _0x150f11(){const _0x480387=_0xdf6051([0x6c,0x6c,0x63,0x74,0x2d])+_0x176343(_0x951d04(_0x1c3e46)),_0x4150be=_0xfde097(_0x176343(window[_0xdf6051([0x4d,0x61,0x74,0x68])][_0xdf6051([0x63,0x65,0x69,0x6c])](_0x2f95e8/_0x4e2afc)));window[_0xdf6051([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdf6051([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x480387,_0x4150be);}function _0x3e7531(){const _0x4e59cf=_0xdf6051([0x6c,0x6c,0x63,0x74,0x2d])+_0x176343(_0x951d04(_0x1c3e46)),_0x3017d7=window[_0xdf6051([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdf6051([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e59cf);return _0x3017d7?window[_0xdf6051([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfde097(_0x3017d7),0x10)*_0x4e2afc:null;}function _0x34eb5c(_0x4d85a5){return new window[(_0xdf6051([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50095a,_0xace780)=>{_0x4d85a5[_0xdf6051([0x74,0x68,0x65,0x6e])](_0x50095a,_0xace780),window[_0xdf6051([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xace780,0x5dbb47d4^_0x4d2ad8);});}}_0x31c227[_0xdf6051([0x6f,0x6e])](_0xdf6051([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x365b5e,_0x5b35e7)=>{if(_0x5b35e7[0x0]!=_0x1c3e46)return _0x1cad61(_0xdf6051([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b35e7[0x1]={..._0x5b35e7[0x1],[_0xdf6051([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x201b28};},{[_0xdf6051([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdf6051([0x68,0x69,0x67,0x68])}),_0x31c227[_0xdf6051([0x6f,0x6e])](_0xdf6051([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x20dd96=>{_0x161406(_0x20dd96[_0xdf6051([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5df7db=!0x0,_0x47929a(_0x20dd96[_0xdf6051([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xdf6051([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdf6051([0x6c,0x6f,0x77])}),_0x5da40e[_0xdf6051([0x74,0x68,0x65,0x6e])](()=>{_0x5df7db||_0x1cad61(_0xdf6051([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ee80e(){return _0x31c227[_0xdf6051([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdf6051([0x76,0x69,0x65,0x77])][_0xdf6051([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xdf6051([0x61,0x75,0x74,0x6f]);}function _0x43b6e1(){_0x31c227[_0xdf6051([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdf6051([0x76,0x69,0x65,0x77])][_0xdf6051([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xdf6051([0x61,0x75,0x74,0x6f]);}}function _0x4c6523(_0x1ded66){const _0x8ab258=[new window[(_0xdf6051([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4377a1=>setTimeout(_0x4377a1,0x5db3add8^_0x4d2ad8)),_0x5da40e[_0xdf6051([0x74,0x68,0x65,0x6e])](()=>new window[(_0xdf6051([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b7b83=>{let _0x2891a9=0x0;_0x31c227[_0xdf6051([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf6051([0x6f,0x6e])](_0xdf6051([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c42f3,_0x2b8de1)=>{_0x2b8de1[0x0][_0xdf6051([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2891a9++,_0x2891a9==(0x5dba92ec^_0x4d2ad8)&&(_0x3b7b83(),_0x2c42f3[_0xdf6051([0x6f,0x66,0x66])]());});}))];return window[_0xdf6051([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xdf6051([0x72,0x61,0x63,0x65])](_0x8ab258)[_0xdf6051([0x74,0x68,0x65,0x6e])](()=>_0x1ded66);}async function _0x31ab3e(){await _0x5da40e,_0x31c227[_0xdf6051([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf6051([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6347e1,_0x31c227[_0xdf6051([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf6051([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6347e1,_0x31c227[_0xdf6051([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xdf6051([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f46bc(){return window[_0xdf6051([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x4774c6(){return window[_0xdf6051([0x67,0x6c,0x6f,0x62])]&&window[_0xdf6051([0x67,0x6c,0x6f,0x62])][_0xdf6051([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xc25b85(_0x2db858){const _0x5841a3=_0x37cc2a();_0x31c227[_0x5841a3]=_0xdf6051([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2db858,_0x2db858!=_0xdf6051([0x56,0x61,0x6c,0x69,0x64])&&_0x31ab3e();}function _0x37cc2a(){const _0x3c8939=window[_0xdf6051([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xdf6051([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xdf6051([0x6e,0x6f,0x77])]())[_0xdf6051([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xdf6051([0x2e]),'');let _0x21ef42=_0xdf6051([0x4e]);for(let _0x1e5072=0x0;_0x1e5072<_0x3c8939[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e5072+=0x2){let _0x2d3a59=window[_0xdf6051([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c8939[_0xdf6051([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e5072,_0x1e5072+0x2));_0x2d3a59>=_0x29459d[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d3a59-=_0x29459d[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21ef42+=_0x29459d[_0x2d3a59];}return _0x21ef42;}function _0x2742b2(){const _0x2e6ec7=_0x34c4fe[_0xdf6051([0x73,0x70,0x6c,0x69,0x74])](_0xdf6051([0x2e]));if(0x3!=_0x2e6ec7[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f09f7(_0x2e6ec7[0x1]);function _0x4f09f7(_0x28657c){const _0x5cd2e6=_0x4efac5(_0x28657c);return _0x5cd2e6&&_0x4cd62b()?_0x5cd2e6:null;function _0x4cd62b(){const _0x499d46=_0x5cd2e6[_0xdf6051([0x6a,0x74,0x69])],_0x22bfdc=window[_0xdf6051([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x499d46[_0xdf6051([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x499d46[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7aefa4={..._0x5cd2e6,[_0xdf6051([0x6a,0x74,0x69])]:_0x499d46[_0xdf6051([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x499d46[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7aefa4[_0xdf6051([0x76,0x63])],_0x951d04(_0x7aefa4)==_0x22bfdc;}}}async function _0x2b2c0a(){let _0x449c96=!0x0;try{const _0x5ad03c=_0x34c4fe[_0xdf6051([0x73,0x70,0x6c,0x69,0x74])](_0xdf6051([0x2e])),[_0x35eae5,_0x1b02dd,_0x43b10f]=_0x5ad03c;return _0x16f4ce(_0x35eae5),await _0x154c54(_0x35eae5,_0x1b02dd,_0x43b10f),_0x449c96;}catch{return!0x1;}function _0x16f4ce(_0x582aee){const _0x3fbce3=_0x4efac5(_0x582aee);_0x3fbce3&&_0x3fbce3[_0xdf6051([0x61,0x6c,0x67])]==_0xdf6051([0x45,0x53,0x32,0x35,0x36])||(_0x449c96=!0x1);}async function _0x154c54(_0x37d83c,_0xc6ca95,_0x47cb92){const _0x2207c6=window[_0xdf6051([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xdf6051([0x66,0x72,0x6f,0x6d])](_0x4a2471(_0x47cb92),_0x3f4064=>_0x3f4064[_0xdf6051([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3207cd=new window[(_0xdf6051([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xdf6051([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37d83c+_0xdf6051([0x2e])+_0xc6ca95),_0x527707=window[_0xdf6051([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xdf6051([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x527707)return;const _0x25731d=await _0x527707[_0xdf6051([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xdf6051([0x6a,0x77,0x6b]),_0x29f21c,{[_0xdf6051([0x6e,0x61,0x6d,0x65])]:_0xdf6051([0x45,0x43,0x44,0x53,0x41]),[_0xdf6051([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xdf6051([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xdf6051([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x527707[_0xdf6051([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xdf6051([0x6e,0x61,0x6d,0x65])]:_0xdf6051([0x45,0x43,0x44,0x53,0x41]),[_0xdf6051([0x68,0x61,0x73,0x68])]:{[_0xdf6051([0x6e,0x61,0x6d,0x65])]:_0xdf6051([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25731d,_0x2207c6,_0x3207cd)||(_0x449c96=!0x1);}}function _0x4efac5(_0x57136e){return _0x57136e[_0xdf6051([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xdf6051([0x65,0x79]))?JSON[_0xdf6051([0x70,0x61,0x72,0x73,0x65])](_0x4a2471(_0x57136e)):null;}function _0x4a2471(_0x4f0a3e){return window[_0xdf6051([0x61,0x74,0x6f,0x62])](_0x4f0a3e[_0xdf6051([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xdf6051([0x2b]))[_0xdf6051([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xdf6051([0x2f])));}function _0x951d04(_0x1ff5bc){let _0x319f9c=0x1505;function _0xa3505e(_0x167834){for(let _0x380943=0x0;_0x380943<_0x167834[_0xdf6051([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x380943++){const _0x2b0bcd=_0x167834[_0xdf6051([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x380943);_0x319f9c=(_0x319f9c<<0x5)+_0x319f9c+_0x2b0bcd,_0x319f9c&=_0x319f9c;}}function _0x5e21cc(_0x85557a){Array[_0xdf6051([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x85557a)?_0x85557a[_0xdf6051([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e21cc):_0x85557a&&typeof _0x85557a==_0xdf6051([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xdf6051([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x85557a)[_0xdf6051([0x73,0x6f,0x72,0x74])]()[_0xdf6051([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ee544,_0x1f9b66])=>{_0xa3505e(_0x3ee544),_0x5e21cc(_0x1f9b66);}):_0xa3505e(window[_0xdf6051([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x85557a));}return _0x5e21cc(_0x1ff5bc),_0x319f9c>>>0x0;}function _0x176343(_0x2ea6b1){return _0x2ea6b1[_0xdf6051([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xdf6051([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xdf6051([0x30]));}function _0xfde097(_0x160fba){return _0x160fba[_0xdf6051([0x73,0x70,0x6c,0x69,0x74])]('')[_0xdf6051([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xdf6051([0x6a,0x6f,0x69,0x6e])]('');}function _0x6347e1(){}function _0xdf6051(_0x2eaffb){const _0x49cc8e=_0x13c1;return _0x2eaffb[_0x49cc8e(0x16f)](_0x55a52f=>String[_0x49cc8e(0x167)](_0x55a52f))[_0x49cc8e(0x17e)]('');}_0xc25b85(await _0x290ad8());}(this);}[_0x4046f0(0x193)](_0x121792,_0x14ad3d){const _0x9dcc8b=_0x4046f0,{editor:_0x3fcbaa}=this,_0x513125=new _0x515af4(_0x121792);return _0x513125[_0x9dcc8b(0x194)]({'attributes':{'role':_0x9dcc8b(0x16a),'class':[_0x9dcc8b(0x192)]}}),_0x513125[_0x9dcc8b(0x1aa)][_0x9dcc8b(0x185)](_0x14ad3d[_0x9dcc8b(0x16f)]((_0x56fbbc,_0x4e7d7a)=>{const _0x431aac=_0x9dcc8b,_0x1db5d1=new _0x378388(_0x121792,_0x4e7d7a),_0x521bf4=new _0xf1d36d(_0x121792,_0x56fbbc);return _0x1db5d1[_0x431aac(0x17a)]=_0x521bf4,_0x1db5d1[_0x431aac(0x174)][_0x431aac(0x1a7)](_0x521bf4),_0x1db5d1[_0x431aac(0x17a)]['on'](_0x431aac(0x184),_0x1f2443=>{const _0x358e7e=_0x431aac;_0x3fcbaa[_0x358e7e(0x184)](_0x358e7e(0x16e),_0x1f2443[_0x358e7e(0x168)][_0x358e7e(0x1a8)][_0x358e7e(0x177)]),_0x3fcbaa[_0x358e7e(0x172)][_0x358e7e(0x18c)][_0x358e7e(0x180)]();}),_0x1db5d1;})),_0x513125;}}
|