@ckeditor/ckeditor5-template 0.0.0-nightly-20251029.0 → 0.0.0-nightly-20251030.0
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={237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},265:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},374: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}},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},450: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}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},774: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)}}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},899:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(453),i=n.n(r),s=n(374),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}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>G,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>Y});var t=n(782);function e(t,n){const r=c();return(e=function(t,e){return r[t-=155]})(t,n)}const i=e;!function(t){const n=e,r=t();for(;;)try{if(894269===parseInt(n(176))/1*(parseInt(n(172))/2)+-parseInt(n(155))/3*(-parseInt(n(156))/4)+parseInt(n(164))/5*(-parseInt(n(170))/6)+-parseInt(n(157))/7+parseInt(n(175))/8*(parseInt(n(159))/9)+-parseInt(n(174))/10*(parseInt(n(158))/11)+parseInt(n(161))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class s extends t.Command{[i(160)](t){const e=i,{model:n}=this[e(168)];let r;switch(typeof t){case e(166):r=t;break;case e(173):r=t()}e(166)==typeof r&&n[e(165)](()=>{const t=e,i=this[t(168)][t(167)][t(171)][t(162)](r),s=this[t(168)][t(167)][t(163)](i);n[t(169)](s)})}}function c(){const t=["10670844jtwssv","htmlProcessor","566yEDutK","function","11255130DRcCBU","1308880JlHCAK","3785cDULMl","129ZwpJgj","132460PzqGay","10528539LsKcpq","11vSmMBO","27hCNikj","execute","27796836jZrWVi","toView","toModel","5YYCmKq","change","string","data","editor","insertContent"];return(c=function(){return t})()}const o=a;function a(t,e){const n=l();return(a=function(t,e){return n[t-=382]})(t,e)}function l(){const t=["1242KHxjdS","templateLicenseKeyEvaluationLimit","552JcAYyT","destroy","evaluationLimit","_licenseKeyCheckInterval","commands","isPremiumPlugin","invalid","get","editor","templateLicenseKeyTrialLimit","185784ipsYeH","3335801GVSUct","insertTemplate","domainLimit","usageLimit","35900190toKdBH","add","1908938iqzyVU","4048107pHJWOL","_showLicenseError","templateLicenseKeyExpired","Template","templateLicenseKeyNotAllowed","featureNotAllowed","isOfficialPlugin","config","templateLicenseKeyDomainLimit","TemplateEditing","pluginName","templateLicenseKeyValid","55ddJibz","templateLicenseKeyUsageLimit","init","templateLicenseKeyInvalid","expired","licenseKey","558377hmADHE","6dcrqFZ","trialLimit"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(702963===-parseInt(e(382))/1+-parseInt(e(404))/2+-parseInt(e(405))/3+parseInt(e(397))/4*(-parseInt(e(417))/5)+parseInt(e(383))/6*(parseInt(e(398))/7)+-parseInt(e(387))/8*(-parseInt(e(385))/9)+parseInt(e(402))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(422)];[o(390)];static get[o(415)](){return o(414)}static get[o(411)](){return!0}static get[o(392)](){return!0}[o(419)](){const t=o,{editor:e}=this;e[t(391)][t(403)](t(399),new s(e)),this[t(422)]=this[t(395)][t(412)][t(394)](t(422));const n=this[t(395)];this[t(390)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(416)==s||e(420)==s||e(407)==s||e(413)==s||e(409)==s||e(386)==s||e(396)==s||e(418)==s){delete n[i],r=s,clearInterval(this[e(390)]),this[e(390)]=void 0;break}}e(420)==r&&n[e(406)](e(393)),e(407)==r&&n[e(406)](e(421)),e(413)==r&&n[e(406)](e(400)),e(409)==r&&n[e(406)](e(410),e(408)),e(386)==r&&n[e(406)](e(389)),e(396)==r&&n[e(406)](e(384)),e(418)==r&&n[e(406)](e(401))},1e3)}[o(388)](){const t=o;super[t(388)](),this[t(390)]&&clearInterval(this[t(390)])}}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-=319]})(t,e)}function k(){const t=["6szuFQQ","size","1591653ElDcGS","23492854qgsAuh","items","10xehLvU","isMatching","length","title","isVisible","originalIndex","_resetFiltering","4538XplrIy","sort","filter","map","451524wauphu","set","84IzfLOU","clear","3OeNiji","1966390niokGv","forEach","get","6654951tgBLZQ","addMany","buttonView","highlightText","598792KXRoUl"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(397292===-parseInt(e(345))/1*(parseInt(e(339))/2)+-parseInt(e(347))/3*(parseInt(e(343))/4)+-parseInt(e(319))/5+parseInt(e(327))/6*(-parseInt(e(329))/7)+-parseInt(e(326))/8+-parseInt(e(322))/9*(parseInt(e(332))/10)+parseInt(e(330))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(341)](t){const e=m;if(!t)return this[e(338)]();const n=new Map,r=this[e(331)][e(342)](r=>{const i=e,s=r[i(324)][i(333)](t);return r[i(336)]=!!s,r[i(324)][i(325)](s?t:null),s&&n[i(344)](r,s),r})[e(340)](g)[e(340)]((i=n,function(t,e){const n=h,r=i[n(321)](t),s=i[n(321)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(335)]&&!s[n(335)]?-1:!r[n(335)]&&s[n(335)]?1:0:0}));var i;return this[e(331)][e(346)](),this[e(331)][e(323)](r),{resultsCount:n[e(328)],totalItemsCount:this[e(331)][e(334)]}}[m(338)](){const t=m,e=this[t(331)][t(342)](t=>t)[t(340)](g);return e[t(320)](e=>{const n=t;e[n(336)]=!0,e[n(324)][n(325)](null)}),this[t(331)][t(346)](),this[t(331)][t(323)](e),{resultsCount:e[t(334)],totalItemsCount:e[t(334)]}}}function g(t,e){const n=m;return t[n(337)]-e[n(337)]}var v=b;function I(){var t=["1327092cExuiz","495148VqpCxl","buttonView","237525eZCoDE","originalIndex","3JQMRVK","2329089wuzIND","295374fJuTBH","4042234rwNgPQ","8067784agwTZn"];return(I=function(){return t})()}function b(t,e){var n=I();return(b=function(t,e){return n[t-=262]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(495357===parseInt(e(271))/1*(-parseInt(e(267))/2)+-parseInt(e(262))/3+parseInt(e(266))/4+parseInt(e(269))/5+parseInt(e(263))/6+parseInt(e(264))/7+parseInt(e(265))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class y extends f.ListItemView{[v(270)];[v(268)];constructor(t,e){var n=v;super(t),this[n(270)]=e,this[n(268)]=null}}const x=_;function _(t,e){const n=L();return(_=function(t,e){return n[t-=287]})(t,e)}!function(t){const e=_,n=t();for(;;)try{if(703439===parseInt(e(319))/1*(-parseInt(e(295))/2)+parseInt(e(293))/3+-parseInt(e(326))/4+-parseInt(e(324))/5+-parseInt(e(313))/6+parseInt(e(310))/7*(parseInt(e(304))/8)+parseInt(e(290))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class T extends f.ButtonView{[x(311)];[x(302)];constructor(t,e){const n=x;super(t),this[n(311)]=e,this[n(302)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(298)]({withText:!0,class:n(323),role:n(312),icon:r}),this[n(292)][n(315)]=!1}[x(322)](){const t=x;super[t(322)](),this[t(302)]=new M(this[t(307)],this[t(311)],this[t(291)][t(314)].id),this[t(294)][t(301)](this[t(291)]),this[t(294)][t(300)](this[t(302)])}[x(287)](){const t=x;super[t(287)](),this[t(291)][t(287)]()}[x(289)](t){const e=x,{title:n,description:r}=this[e(311)],i=!!n[e(288)](t),s=!(!r||!r[e(288)](t));return i||s?{title:i,description:s}:null}[x(321)](t){const e=x;this[e(302)][e(321)](t)}}function L(){const t=["div","4358112BjBGgW","destroy","match","isMatching","29645217smMgeU","labelView","iconView","909219uiWyMe","children","1441042xVxtHg","setTemplate","push","set","title","add","remove","textPartView","ck-template-form__description","5960JmCscI","descriptionView","extendTemplate","locale","span","description","6265sktYLQ","templateDefinition","option","6825072ULmbtY","element","isColorInherited","ck-template-form__text-part","titleView","text","1gumxAY","ck-button__label","highlightText","render","ck-template-button","3063805pqfouE"];return(L=function(){return t})()}class M extends f.View{constructor(t,e,n){const r=x;super(t),this[r(299)]=e[r(299)],this[r(309)]=e[r(309)],this[r(317)]=new f.HighlightedTextView,this[r(317)][r(318)]=this[r(299)],this[r(317)][r(306)]({tag:r(308),attributes:{class:[r(320)],id:n}});const i=[this[r(317)]];this[r(309)]&&(this[r(305)]=new f.HighlightedTextView,this[r(305)][r(318)]=this[r(309)],this[r(305)][r(306)]({tag:"p",attributes:{class:[r(303)]}}),i[r(297)](this[r(305)])),this[r(296)]({tag:r(325),attributes:{class:["ck",r(316)]},children:i})}[x(321)](t){const e=x;this[e(317)][e(321)](t),this[e(309)]&&this[e(305)][e(321)](t)}}function V(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var C=n(450),E=n.n(C),K=n(774),N=n.n(K),S=n(265),P=n.n(S),A=n(410),O=n.n(A),j=n(238),z=n.n(j),B=n(899),q={attributes:{"data-cke":!0}};q.setAttributes=O(),q.insert=P().bind(null,"head"),q.domAPI=N(),q.insertStyleElement=z();E()(B.A,q);B.A&&B.A.locals&&B.A.locals;const R=H;function D(){const t=["ck-template-form","isPremiumPlugin","set","Template","title","fromCharCode","href","88CHiFTK","editing","get","TemplateUI","map","818151AJmfQY","listbox","join","template.definitions","142761YzdzxE","58316VqCutT","addMany","No templates available.","ck-template-button","view","afterInit","templateDefinition","length","init","8788032OHuARR","delegate","Please try a different phrase or check the spelling.","query","panelView","source","componentFactory","buttonView","bind","ck-template-list","menuBar:insertTemplate","search",'No templates were found matching "%0".',"500479ROkxRa","1073066RNMrnk","isOfficialPlugin","_createTemplateListView","commands","icon","insertTemplate","change:isOpen","focus","extendTemplate","items","execute","reset","Search template","isEnabled","ariaLiveAnnouncer","announce","children","pluginName","data","6934347vIGXEo","config","Insert template","resultsCount","125nWbvxc","%0 templates found","add"];return(D=function(){return t})()}function H(t,e){const n=D();return(H=function(t,e){return n[t-=480]})(t,e)}!function(t){const e=H,n=t();for(;;)try{if(785958===parseInt(e(481))/1+-parseInt(e(509))/2+parseInt(e(485))/3+parseInt(e(486))/4*(parseInt(e(532))/5)+-parseInt(e(495))/6+parseInt(e(508))/7*(parseInt(e(542))/8)+parseInt(e(528))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class Y extends t.Plugin{static get[R(526)](){return R(545)}static get[R(510)](){return!0}static get[R(536)](){return!0}[R(494)](){const t=R,{editor:e}=this,n=e[t(529)][t(544)](t(484))||[];e.ui[t(501)][t(534)](t(514),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(511)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:V(r,i(521))},class:i(535),infoView:{text:{notFound:{primary:t=>V(r,i(507),t),secondary:V(r,i(497))},noSearchableItems:{primary:V(r,i(488))}}}}),a=e[i(512)][i(544)](i(514));return o.on(i(506),(t,n)=>{const s=i;n[s(498)]&&n[s(498)][s(493)]&&e.ui[s(523)][s(524)](V(r,s(533),n[s(531)]))}),s[i(503)](i(522)).to(a),s[i(499)][i(525)][i(534)](o),s[i(502)][i(537)]({label:V(r,i(530)),icon:p.IconTemplate,tooltip:!0}),s.on(i(515),(t,e,n)=>{n||o[i(520)]()}),s}),e.ui[t(501)][t(534)](t(505),r=>{const i=t,s=e[i(512)][i(544)](i(514)),c=new f.MenuBarMenuView(r);c[i(502)][i(537)]({label:V(r,i(538)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(493)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(537)]({label:V(r,i(488))}),n[i(496)](i(519)).to(c),n.on(i(519),()=>{const t=i;e[t(543)][t(490)][t(516)]()}),t[i(525)][i(534)](n),o[i(518)][i(534)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(537)]({class:i(489),label:t[i(539)],icon:t[i(513)]||p.IconTemplateGeneric}),s[i(496)](i(519)).to(c),s.on(i(519),()=>{const n=i;e[n(519)](n(514),t[n(527)]),e[n(543)][n(490)][n(516)]()}),n[i(525)][i(534)](s),o[i(518)][i(534)](n)}return c[i(499)][i(525)][i(534)](o),c[i(503)](i(522)).to(s,i(522)),c})}[R(491)](){!async function(t){const e=h([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[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(480)](t=>String[e(540)](t))[e(483)]("")}!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([103]);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:1761696e3;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(541)]);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)}[R(511)](t,e){const n=R,{editor:r}=this,i=new w(t);return i[n(517)]({attributes:{role:n(482),class:[n(504)]}}),i[n(518)][n(487)](e[n(480)]((e,i)=>{const s=n,c=new y(t,i),o=new T(t,e);return c[s(502)]=o,c[s(525)][s(534)](o),c[s(502)].on(s(519),t=>{const e=s;r[e(519)](e(514),t[e(500)][e(492)][e(527)]),r[e(543)][e(490)][e(516)]()}),c})),i}}var U=Q;function Q(t,e){var n=F();return(Q=function(t,e){return n[t-=273]})(t,e)}function F(){var t=["pluginName","requires","277676fohmQg","11298190bKoKNY","2411pfmmQv","10447262NDRFws","9zXxMkr","12SWRPwq","isOfficialPlugin","795032hHBCib","2063545zEOTMI","5149092wEXCwx","isPremiumPlugin","Template","146pGVzsu"];return(F=function(){return t})()}!function(t){for(var e=Q,n=t();;)try{if(910538===-parseInt(e(287))/1*(parseInt(e(282))/2)+-parseInt(e(275))/3*(-parseInt(e(285))/4)+parseInt(e(278))/5+parseInt(e(279))/6+-parseInt(e(273))/7+-parseInt(e(277))/8+parseInt(e(274))/9*(parseInt(e(286))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class G extends t.Plugin{static get[U(284)](){return[u,Y]}static get[U(283)](){return U(281)}static get[U(276)](){return!0}static get[U(280)](){return!0}}function J(t,e){var n=Z();return(J=function(t,e){return n[t-=235]})(t,e)}function Z(){var t=["294782hYcqCm","35485747MhOYaE","413172BtTRuK","4087602qzCMeQ","1584632KZDMHb","2691jroRqa","29090aPphIU","1305932foVMZQ","8mYKweY","15zwYnsr","5FnZiGK"];return(Z=function(){return t})()}!function(t){for(var e=J,n=t();;)try{if(664897===-parseInt(e(244))/1+-parseInt(e(237))/2*(parseInt(e(235))/3)+parseInt(e(239))/4*(-parseInt(e(236))/5)+parseInt(e(240))/6+parseInt(e(241))/7*(-parseInt(e(245))/8)+parseInt(e(242))/9*(-parseInt(e(243))/10)+parseInt(e(238))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},265:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},374: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}},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},450: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}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},774: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)}}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},899:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(453),i=n.n(r),s=n(374),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}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>G,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>H});var t=n(782);function e(t,n){const r=c();return(e=function(t,e){return r[t-=155]})(t,n)}const i=e;!function(t){const n=e,r=t();for(;;)try{if(894269===parseInt(n(176))/1*(parseInt(n(172))/2)+-parseInt(n(155))/3*(-parseInt(n(156))/4)+parseInt(n(164))/5*(-parseInt(n(170))/6)+-parseInt(n(157))/7+parseInt(n(175))/8*(parseInt(n(159))/9)+-parseInt(n(174))/10*(parseInt(n(158))/11)+parseInt(n(161))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class s extends t.Command{[i(160)](t){const e=i,{model:n}=this[e(168)];let r;switch(typeof t){case e(166):r=t;break;case e(173):r=t()}e(166)==typeof r&&n[e(165)](()=>{const t=e,i=this[t(168)][t(167)][t(171)][t(162)](r),s=this[t(168)][t(167)][t(163)](i);n[t(169)](s)})}}function c(){const t=["10670844jtwssv","htmlProcessor","566yEDutK","function","11255130DRcCBU","1308880JlHCAK","3785cDULMl","129ZwpJgj","132460PzqGay","10528539LsKcpq","11vSmMBO","27hCNikj","execute","27796836jZrWVi","toView","toModel","5YYCmKq","change","string","data","editor","insertContent"];return(c=function(){return t})()}const o=a;function a(t,e){const n=l();return(a=function(t,e){return n[t-=382]})(t,e)}function l(){const t=["1242KHxjdS","templateLicenseKeyEvaluationLimit","552JcAYyT","destroy","evaluationLimit","_licenseKeyCheckInterval","commands","isPremiumPlugin","invalid","get","editor","templateLicenseKeyTrialLimit","185784ipsYeH","3335801GVSUct","insertTemplate","domainLimit","usageLimit","35900190toKdBH","add","1908938iqzyVU","4048107pHJWOL","_showLicenseError","templateLicenseKeyExpired","Template","templateLicenseKeyNotAllowed","featureNotAllowed","isOfficialPlugin","config","templateLicenseKeyDomainLimit","TemplateEditing","pluginName","templateLicenseKeyValid","55ddJibz","templateLicenseKeyUsageLimit","init","templateLicenseKeyInvalid","expired","licenseKey","558377hmADHE","6dcrqFZ","trialLimit"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(702963===-parseInt(e(382))/1+-parseInt(e(404))/2+-parseInt(e(405))/3+parseInt(e(397))/4*(-parseInt(e(417))/5)+parseInt(e(383))/6*(parseInt(e(398))/7)+-parseInt(e(387))/8*(-parseInt(e(385))/9)+parseInt(e(402))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(422)];[o(390)];static get[o(415)](){return o(414)}static get[o(411)](){return!0}static get[o(392)](){return!0}[o(419)](){const t=o,{editor:e}=this;e[t(391)][t(403)](t(399),new s(e)),this[t(422)]=this[t(395)][t(412)][t(394)](t(422));const n=this[t(395)];this[t(390)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(416)==s||e(420)==s||e(407)==s||e(413)==s||e(409)==s||e(386)==s||e(396)==s||e(418)==s){delete n[i],r=s,clearInterval(this[e(390)]),this[e(390)]=void 0;break}}e(420)==r&&n[e(406)](e(393)),e(407)==r&&n[e(406)](e(421)),e(413)==r&&n[e(406)](e(400)),e(409)==r&&n[e(406)](e(410),e(408)),e(386)==r&&n[e(406)](e(389)),e(396)==r&&n[e(406)](e(384)),e(418)==r&&n[e(406)](e(401))},1e3)}[o(388)](){const t=o;super[t(388)](),this[t(390)]&&clearInterval(this[t(390)])}}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-=319]})(t,e)}function k(){const t=["6szuFQQ","size","1591653ElDcGS","23492854qgsAuh","items","10xehLvU","isMatching","length","title","isVisible","originalIndex","_resetFiltering","4538XplrIy","sort","filter","map","451524wauphu","set","84IzfLOU","clear","3OeNiji","1966390niokGv","forEach","get","6654951tgBLZQ","addMany","buttonView","highlightText","598792KXRoUl"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(397292===-parseInt(e(345))/1*(parseInt(e(339))/2)+-parseInt(e(347))/3*(parseInt(e(343))/4)+-parseInt(e(319))/5+parseInt(e(327))/6*(-parseInt(e(329))/7)+-parseInt(e(326))/8+-parseInt(e(322))/9*(parseInt(e(332))/10)+parseInt(e(330))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(341)](t){const e=m;if(!t)return this[e(338)]();const n=new Map,r=this[e(331)][e(342)](r=>{const i=e,s=r[i(324)][i(333)](t);return r[i(336)]=!!s,r[i(324)][i(325)](s?t:null),s&&n[i(344)](r,s),r})[e(340)](g)[e(340)]((i=n,function(t,e){const n=h,r=i[n(321)](t),s=i[n(321)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(335)]&&!s[n(335)]?-1:!r[n(335)]&&s[n(335)]?1:0:0}));var i;return this[e(331)][e(346)](),this[e(331)][e(323)](r),{resultsCount:n[e(328)],totalItemsCount:this[e(331)][e(334)]}}[m(338)](){const t=m,e=this[t(331)][t(342)](t=>t)[t(340)](g);return e[t(320)](e=>{const n=t;e[n(336)]=!0,e[n(324)][n(325)](null)}),this[t(331)][t(346)](),this[t(331)][t(323)](e),{resultsCount:e[t(334)],totalItemsCount:e[t(334)]}}}function g(t,e){const n=m;return t[n(337)]-e[n(337)]}var v=b;function I(){var t=["1327092cExuiz","495148VqpCxl","buttonView","237525eZCoDE","originalIndex","3JQMRVK","2329089wuzIND","295374fJuTBH","4042234rwNgPQ","8067784agwTZn"];return(I=function(){return t})()}function b(t,e){var n=I();return(b=function(t,e){return n[t-=262]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(495357===parseInt(e(271))/1*(-parseInt(e(267))/2)+-parseInt(e(262))/3+parseInt(e(266))/4+parseInt(e(269))/5+parseInt(e(263))/6+parseInt(e(264))/7+parseInt(e(265))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class y extends f.ListItemView{[v(270)];[v(268)];constructor(t,e){var n=v;super(t),this[n(270)]=e,this[n(268)]=null}}const x=_;function _(t,e){const n=L();return(_=function(t,e){return n[t-=287]})(t,e)}!function(t){const e=_,n=t();for(;;)try{if(703439===parseInt(e(319))/1*(-parseInt(e(295))/2)+parseInt(e(293))/3+-parseInt(e(326))/4+-parseInt(e(324))/5+-parseInt(e(313))/6+parseInt(e(310))/7*(parseInt(e(304))/8)+parseInt(e(290))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class T extends f.ButtonView{[x(311)];[x(302)];constructor(t,e){const n=x;super(t),this[n(311)]=e,this[n(302)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(298)]({withText:!0,class:n(323),role:n(312),icon:r}),this[n(292)][n(315)]=!1}[x(322)](){const t=x;super[t(322)](),this[t(302)]=new V(this[t(307)],this[t(311)],this[t(291)][t(314)].id),this[t(294)][t(301)](this[t(291)]),this[t(294)][t(300)](this[t(302)])}[x(287)](){const t=x;super[t(287)](),this[t(291)][t(287)]()}[x(289)](t){const e=x,{title:n,description:r}=this[e(311)],i=!!n[e(288)](t),s=!(!r||!r[e(288)](t));return i||s?{title:i,description:s}:null}[x(321)](t){const e=x;this[e(302)][e(321)](t)}}function L(){const t=["div","4358112BjBGgW","destroy","match","isMatching","29645217smMgeU","labelView","iconView","909219uiWyMe","children","1441042xVxtHg","setTemplate","push","set","title","add","remove","textPartView","ck-template-form__description","5960JmCscI","descriptionView","extendTemplate","locale","span","description","6265sktYLQ","templateDefinition","option","6825072ULmbtY","element","isColorInherited","ck-template-form__text-part","titleView","text","1gumxAY","ck-button__label","highlightText","render","ck-template-button","3063805pqfouE"];return(L=function(){return t})()}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(299)]=e[r(299)],this[r(309)]=e[r(309)],this[r(317)]=new f.HighlightedTextView,this[r(317)][r(318)]=this[r(299)],this[r(317)][r(306)]({tag:r(308),attributes:{class:[r(320)],id:n}});const i=[this[r(317)]];this[r(309)]&&(this[r(305)]=new f.HighlightedTextView,this[r(305)][r(318)]=this[r(309)],this[r(305)][r(306)]({tag:"p",attributes:{class:[r(303)]}}),i[r(297)](this[r(305)])),this[r(296)]({tag:r(325),attributes:{class:["ck",r(316)]},children:i})}[x(321)](t){const e=x;this[e(317)][e(321)](t),this[e(309)]&&this[e(305)][e(321)](t)}}function M(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var C=n(450),K=n.n(C),E=n(774),S=n.n(E),P=n(265),N=n.n(P),j=n(410),A=n.n(j),O=n(238),B=n.n(O),z=n(899),D={attributes:{"data-cke":!0}};D.setAttributes=A(),D.insert=N().bind(null,"head"),D.domAPI=S(),D.insertStyleElement=B();K()(z.A,D);z.A&&z.A.locals&&z.A.locals;const q=U;function U(t,e){const n=Y();return(U=function(t,e){return n[t-=461]})(t,e)}function Y(){const t=["Please try a different phrase or check the spelling.","add","Template","%0 templates found","buttonView","Insert template","menuBar:insertTemplate","href","isPremiumPlugin","source","items","No templates available.","reset","2jDKDwO","announce","insertTemplate","set","length","focus","ariaLiveAnnouncer","listbox","isEnabled","panelView","templateDefinition","children","8EXbTPE",'No templates were found matching "%0".',"1254897uGVAgK","search","change:isOpen","delegate","44913YRDUuh","map","ck-template-list","24tzcXqW","template.definitions","data","query","resultsCount","9278770BtJarJ","246380lYtODg","get","icon","join","bind","view","editing","pluginName","TemplateUI","22014CjTBDn","isOfficialPlugin","953528PQxKDt","Search template","extendTemplate","fromCharCode","ck-template-button","execute","177015upSIcR","init","componentFactory","title","_createTemplateListView","config","commands","afterInit","addMany","ck-template-form"];return(Y=function(){return t})()}!function(t){const e=U,n=t();for(;;)try{if(153522===-parseInt(e(473))/1+parseInt(e(496))/2*(parseInt(e(514))/3)+-parseInt(e(467))/4+parseInt(e(523))/5*(-parseInt(e(517))/6)+-parseInt(e(510))/7+-parseInt(e(508))/8*(-parseInt(e(465))/9)+parseInt(e(522))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class H extends t.Plugin{static get[q(463)](){return q(464)}static get[q(466)](){return!0}static get[q(491)](){return!0}[q(474)](){const t=q,{editor:e}=this,n=e[t(478)][t(524)](t(518))||[];e.ui[t(475)][t(484)](t(498),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(477)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:M(r,i(468))},class:i(482),infoView:{text:{notFound:{primary:t=>M(r,i(509),t),secondary:M(r,i(483))},noSearchableItems:{primary:M(r,i(494))}}}}),a=e[i(479)][i(524)](i(498));return o.on(i(511),(t,n)=>{const s=i;n[s(520)]&&n[s(520)][s(500)]&&e.ui[s(502)][s(497)](M(r,s(486),n[s(521)]))}),s[i(527)](i(504)).to(a),s[i(505)][i(507)][i(484)](o),s[i(487)][i(499)]({label:M(r,i(488)),icon:p.IconTemplate,tooltip:!0}),s.on(i(512),(t,e,n)=>{n||o[i(495)]()}),s}),e.ui[t(475)][t(484)](t(489),r=>{const i=t,s=e[i(479)][i(524)](i(498)),c=new f.MenuBarMenuView(r);c[i(487)][i(499)]({label:M(r,i(485)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(500)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(499)]({label:M(r,i(494))}),n[i(513)](i(472)).to(c),n.on(i(472),()=>{const t=i;e[t(462)][t(461)][t(501)]()}),t[i(507)][i(484)](n),o[i(493)][i(484)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(499)]({class:i(471),label:t[i(476)],icon:t[i(525)]||p.IconTemplateGeneric}),s[i(513)](i(472)).to(c),s.on(i(472),()=>{const n=i;e[n(472)](n(498),t[n(519)]),e[n(462)][n(461)][n(501)]()}),n[i(507)][i(484)](s),o[i(493)][i(484)](n)}return c[i(505)][i(507)][i(484)](o),c[i(527)](i(504)).to(s,i(504)),c})}[q(480)](){!async function(t){const e=h([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[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=U;return t[e(515)](t=>String[e(470)](t))[e(526)]("")}!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([103]);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:1761782400;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=U,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(490)]);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)}[q(477)](t,e){const n=q,{editor:r}=this,i=new w(t);return i[n(469)]({attributes:{role:n(503),class:[n(516)]}}),i[n(493)][n(481)](e[n(515)]((e,i)=>{const s=n,c=new y(t,i),o=new T(t,e);return c[s(487)]=o,c[s(507)][s(484)](o),c[s(487)].on(s(472),t=>{const e=s;r[e(472)](e(498),t[e(492)][e(506)][e(519)]),r[e(462)][e(461)][e(501)]()}),c})),i}}var R=J;function J(t,e){var n=Q();return(J=function(t,e){return n[t-=273]})(t,e)}function Q(){var t=["pluginName","requires","277676fohmQg","11298190bKoKNY","2411pfmmQv","10447262NDRFws","9zXxMkr","12SWRPwq","isOfficialPlugin","795032hHBCib","2063545zEOTMI","5149092wEXCwx","isPremiumPlugin","Template","146pGVzsu"];return(Q=function(){return t})()}!function(t){for(var e=J,n=t();;)try{if(910538===-parseInt(e(287))/1*(parseInt(e(282))/2)+-parseInt(e(275))/3*(-parseInt(e(285))/4)+parseInt(e(278))/5+parseInt(e(279))/6+-parseInt(e(273))/7+-parseInt(e(277))/8+parseInt(e(274))/9*(parseInt(e(286))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class G extends t.Plugin{static get[R(284)](){return[u,H]}static get[R(283)](){return R(281)}static get[R(276)](){return!0}static get[R(280)](){return!0}}function F(t,e){var n=Z();return(F=function(t,e){return n[t-=235]})(t,e)}function Z(){var t=["294782hYcqCm","35485747MhOYaE","413172BtTRuK","4087602qzCMeQ","1584632KZDMHb","2691jroRqa","29090aPphIU","1305932foVMZQ","8mYKweY","15zwYnsr","5FnZiGK"];return(Z=function(){return t})()}!function(t){for(var e=F,n=t();;)try{if(664897===-parseInt(e(244))/1+-parseInt(e(237))/2*(parseInt(e(235))/3)+parseInt(e(239))/4*(-parseInt(e(236))/5)+parseInt(e(240))/6+parseInt(e(241))/7*(-parseInt(e(245))/8)+parseInt(e(242))/9*(-parseInt(e(243))/10)+parseInt(e(238))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x2e7d7c,Plugin as _0x5074a2}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x4bff8a,IconTemplate as _0x1023cd}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0xd01e3a,ListItemView as _0x2b81c8,ButtonView as _0xd06361,View as _0x4d04f5,HighlightedTextView as _0x5a8852,createDropdown as _0x3dfe8b,SearchTextView as _0x53ccc9,MenuBarMenuView as _0x22d6a3,MenuBarMenuListView as _0x2226dc,MenuBarMenuListItemView as _0x2391b1,MenuBarMenuListItemButtonView as _0x2a1d6b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x4c2924}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x2e7d7c{['execute'](_0x172993){const {model:_0x3407bd}=this['editor'];let _0x4c32b4;switch(typeof _0x172993){case'string':_0x4c32b4=_0x172993;break;case'function':_0x4c32b4=_0x172993();}'string'==typeof _0x4c32b4&&_0x3407bd['change'](()=>{const _0x2dd2b7=this['editor']['data']['htmlProcessor']['toView'](_0x4c32b4),_0x47cf55=this['editor']['data']['toModel'](_0x2dd2b7);_0x3407bd['insertContent'](_0x47cf55);});}}class i extends _0x5074a2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x58040e}=this;_0x58040e['commands']['add']('insertTemplate',new a(_0x58040e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe8d1c4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x51147e;for(const _0x5dfe79 in _0xe8d1c4){const _0x4afbe5=_0x5dfe79,_0x323235=_0xe8d1c4[_0x4afbe5];if('templateLicenseKeyValid'==_0x323235||'templateLicenseKeyInvalid'==_0x323235||'templateLicenseKeyExpired'==_0x323235||'templateLicenseKeyDomainLimit'==_0x323235||'templateLicenseKeyNotAllowed'==_0x323235||'templateLicenseKeyEvaluationLimit'==_0x323235||'templateLicenseKeyTrialLimit'==_0x323235||'templateLicenseKeyUsageLimit'==_0x323235){delete _0xe8d1c4[_0x4afbe5],_0x51147e=_0x323235,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x51147e&&_0xe8d1c4['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x51147e&&_0xe8d1c4['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x51147e&&_0xe8d1c4['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x51147e&&_0xe8d1c4['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x51147e&&_0xe8d1c4['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x51147e&&_0xe8d1c4['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x51147e&&_0xe8d1c4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0xd01e3a{['filter'](_0x155691){if(!_0x155691)return this['_resetFiltering']();const _0x3d3fa7=new Map(),_0x14b82d=this['items']['map'](_0x11d260=>{const _0x194a4b=_0x11d260['buttonView']['isMatching'](_0x155691);return _0x11d260['isVisible']=!!_0x194a4b,_0x11d260['buttonView']['highlightText'](_0x194a4b?_0x155691:null),_0x194a4b&&_0x3d3fa7['set'](_0x11d260,_0x194a4b),_0x11d260;})['sort'](j)['sort'](function(_0x130a4f){return function(_0x269892,_0x50c3bf){const _0x583f3a=_0x130a4f['get'](_0x269892),_0x321a15=_0x130a4f['get'](_0x50c3bf);return _0x583f3a&&!_0x321a15?-0x1:_0x321a15&&!_0x583f3a?0x1:_0x583f3a||_0x321a15?_0x583f3a['title']&&!_0x321a15['title']?-0x1:!_0x583f3a['title']&&_0x321a15['title']?0x1:0x0:0x0;};}(_0x3d3fa7));return this['items']['clear'](),this['items']['addMany'](_0x14b82d),{'resultsCount':_0x3d3fa7['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x15329d=this['items']['map'](_0x14f2bd=>_0x14f2bd)['sort'](j);return _0x15329d['forEach'](_0x3981f8=>{_0x3981f8['isVisible']=!0x0,_0x3981f8['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x15329d),{'resultsCount':_0x15329d['length'],'totalItemsCount':_0x15329d['length']};}}function j(_0x49c604,_0x14db83){return _0x49c604['originalIndex']-_0x14db83['originalIndex'];}class b extends _0x2b81c8{['originalIndex'];['buttonView'];constructor(_0x4f71e1,_0x4dcca6){super(_0x4f71e1),this['originalIndex']=_0x4dcca6,this['buttonView']=null;}}class h extends _0xd06361{['templateDefinition'];['textPartView'];constructor(_0x373f29,_0x290a4a){super(_0x373f29),this['templateDefinition']=_0x290a4a,this['textPartView']=null;const {icon:_0x4e9235=_0x4bff8a}=_0x290a4a;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x4e9235}),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'](_0x4835f9){const {title:_0x863293,description:_0x18d1a9}=this['templateDefinition'],_0x39678f=!!_0x863293['match'](_0x4835f9),_0x5bd3ec=!(!_0x18d1a9||!_0x18d1a9['match'](_0x4835f9));return _0x39678f||_0x5bd3ec?{'title':_0x39678f,'description':_0x5bd3ec}:null;}['highlightText'](_0x46e2b1){this['textPartView']['highlightText'](_0x46e2b1);}}class L extends _0x4d04f5{constructor(_0x3d74b8,_0x433e7e,_0x537c4d){super(_0x3d74b8),this['title']=_0x433e7e['title'],this['description']=_0x433e7e['description'],this['titleView']=new _0x5a8852(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x537c4d}});const _0x93e0ab=[this['titleView']];this['description']&&(this['descriptionView']=new _0x5a8852(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x93e0ab['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x93e0ab});}['highlightText'](_0x2e9218){this['titleView']['highlightText'](_0x2e9218),this['description']&&this['descriptionView']['highlightText'](_0x2e9218);}}function g(_0x5d8d52,_0x3d99a1,..._0x12c1de){const t=_0x5d8d52['t'];switch(_0x3d99a1){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x12c1de);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',..._0x12c1de);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3d99a1;}}class s extends _0x5074a2{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ae53d}=this,_0x3380ac=_0x5ae53d['config']['get']('template.definitions')||[];_0x5ae53d['ui']['componentFactory']['add']('insertTemplate',_0x5147a1=>{const _0x413e86=_0x3dfe8b(_0x5147a1),_0xb97fa6=this['_createTemplateListView'](_0x5147a1,_0x3380ac),_0x2b4f06=new _0x53ccc9(_0x5147a1,{'filteredView':_0xb97fa6,'queryView':{'label':g(_0x5147a1,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x205e70=>g(_0x5147a1,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x205e70),'secondary':g(_0x5147a1,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x5147a1,'No\x20templates\x20available.')}}}}),_0x22fb7d=_0x5ae53d['commands']['get']('insertTemplate');return _0x2b4f06['on']('search',(_0x33ef70,_0x25766d)=>{_0x25766d['query']&&_0x25766d['query']['length']&&_0x5ae53d['ui']['ariaLiveAnnouncer']['announce'](g(_0x5147a1,'%0\x20templates\x20found',_0x25766d['resultsCount']));}),_0x413e86['bind']('isEnabled')['to'](_0x22fb7d),_0x413e86['panelView']['children']['add'](_0x2b4f06),_0x413e86['buttonView']['set']({'label':g(_0x5147a1,'Insert\x20template'),'icon':_0x1023cd,'tooltip':!0x0}),_0x413e86['on']('change:isOpen',(_0x217897,_0x2331f3,_0xd8866e)=>{_0xd8866e||_0x2b4f06['reset']();}),_0x413e86;}),_0x5ae53d['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x12934b=>{const _0x19fe84=_0x5ae53d['commands']['get']('insertTemplate'),_0x2e3499=new _0x22d6a3(_0x12934b);_0x2e3499['buttonView']['set']({'label':g(_0x12934b,'Template'),'icon':_0x1023cd});const _0x221ed1=new _0x2226dc(_0x12934b);if(!_0x3380ac||!_0x3380ac['length']){const _0xd30ead=new _0x2391b1(_0x12934b,_0x2e3499),_0x576637=new _0x2a1d6b(_0x12934b);_0x576637['set']({'label':g(_0x12934b,'No\x20templates\x20available.')}),_0x576637['delegate']('execute')['to'](_0x2e3499),_0x576637['on']('execute',()=>{_0x5ae53d['editing']['view']['focus']();}),_0xd30ead['children']['add'](_0x576637),_0x221ed1['items']['add'](_0xd30ead);}for(const _0x1e35d9 of _0x3380ac){const _0x2f2576=new _0x2391b1(_0x12934b,_0x2e3499),_0x1e0d9c=new _0x2a1d6b(_0x12934b);_0x1e0d9c['set']({'class':'ck-template-button','label':_0x1e35d9['title'],'icon':_0x1e35d9['icon']||_0x4bff8a}),_0x1e0d9c['delegate']('execute')['to'](_0x2e3499),_0x1e0d9c['on']('execute',()=>{_0x5ae53d['execute']('insertTemplate',_0x1e35d9['data']),_0x5ae53d['editing']['view']['focus']();}),_0x2f2576['children']['add'](_0x1e0d9c),_0x221ed1['items']['add'](_0x2f2576);}return _0x2e3499['panelView']['children']['add'](_0x221ed1),_0x2e3499['bind']('isEnabled')['to'](_0x19fe84,'isEnabled'),_0x2e3499;});}['afterInit'](){!async function(_0x347748){const _0x45fa64=_0x1ca11e([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x103860=0x6b0f5e6f,_0x2fcf45=0x6b0829ff^_0x103860,_0x1d741c=window[_0x1ca11e([0x44,0x61,0x74,0x65])][_0x1ca11e([0x6e,0x6f,0x77])](),_0x54c4b1=_0x347748[_0x1ca11e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x441666=new window[(_0x1ca11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33f13f=>{_0x54c4b1[_0x1ca11e([0x6f,0x6e,0x63,0x65])](_0x1ca11e([0x72,0x65,0x61,0x64,0x79]),_0x33f13f);}),_0x16d3d3={[_0x1ca11e([0x6b,0x74,0x79])]:_0x1ca11e([0x45,0x43]),[_0x1ca11e([0x75,0x73,0x65])]:_0x1ca11e([0x73,0x69,0x67]),[_0x1ca11e([0x63,0x72,0x76])]:_0x1ca11e([0x50,0x2d,0x32,0x35,0x36]),[_0x1ca11e([0x78])]:_0x1ca11e([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]),[_0x1ca11e([0x79])]:_0x1ca11e([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]),[_0x1ca11e([0x61,0x6c,0x67])]:_0x1ca11e([0x45,0x53,0x32,0x35,0x36])},_0xc07763=_0x54c4b1[_0x1ca11e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ca11e([0x67,0x65,0x74])](_0x1ca11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13f518(){let _0xc3d64a,_0x273006=null,_0x105568=null;try{if(_0xc07763==_0x1ca11e([0x47,0x50,0x4c]))return _0x1ca11e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc3d64a=_0x291f77(),!_0xc3d64a)return _0x1ca11e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc3d64a[_0x1ca11e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x105568=_0x24f36d(_0xc3d64a[_0x1ca11e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc3d64a[_0x1ca11e([0x6a,0x74,0x69])])),await _0x220641()?_0x3885f3()?_0x4a305e()?_0x1ca11e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21f0a0()?(_0xc3d64a[_0x1ca11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ca11e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x273006=_0x43d784(_0x1ca11e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc3d64a[_0x1ca11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ca11e([0x74,0x72,0x69,0x61,0x6c])&&(_0x273006=_0x43d784(_0x1ca11e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5b5b34()):_0x1ca11e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ca11e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ca11e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ca11e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a305e(){const _0x339a88=[_0x1ca11e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ca11e([0x74,0x72,0x69,0x61,0x6c])][_0x1ca11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc3d64a[_0x1ca11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d741c/0x3e8:0xe10*_0x2fcf45;return _0xc3d64a[_0x1ca11e([0x65,0x78,0x70])]<_0x339a88;}function _0x3885f3(){const _0x1084f8=_0xc3d64a[_0x1ca11e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1084f8&&(!!_0x1084f8[_0x1ca11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ca11e([0x2a]))||(!!_0x1084f8[_0x1ca11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ca11e([0x54,0x50,0x4c]))||(!!_0x1084f8[_0x1ca11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ca11e([0x50,0x50]))||(!(!_0x1084f8[_0x1ca11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ca11e([0x44,0x52,0x55,0x50]))||!_0x3db5f8())||!(!_0x1084f8[_0x1ca11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ca11e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x35b6cc())))));}function _0x21f0a0(){const _0x163955=_0xc3d64a[_0x1ca11e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x163955||0x0==_0x163955[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x334e06}=new URL(window[_0x1ca11e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x163955[_0x1ca11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x334e06))return!0x0;const _0x1c745e=_0x334e06[_0x1ca11e([0x73,0x70,0x6c,0x69,0x74])](_0x1ca11e([0x2e]));return _0x163955[_0x1ca11e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x426931=>_0x426931[_0x1ca11e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ca11e([0x2a])))[_0x1ca11e([0x6d,0x61,0x70])](_0x11f230=>_0x11f230[_0x1ca11e([0x73,0x70,0x6c,0x69,0x74])](_0x1ca11e([0x2e])))[_0x1ca11e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54fabb=>_0x54fabb[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c745e[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ca11e([0x6d,0x61,0x70])](_0x45efcf=>Array(_0x1c745e[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x45efcf[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ca11e([0x66,0x69,0x6c,0x6c])](_0x45efcf[0x0]===_0x1ca11e([0x2a])?_0x1ca11e([0x2a]):'')[_0x1ca11e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x45efcf))[_0x1ca11e([0x73,0x6f,0x6d,0x65])](_0x35c287=>_0x1c745e[_0x1ca11e([0x65,0x76,0x65,0x72,0x79])]((_0x34f446,_0x590d63)=>_0x35c287[_0x590d63]===_0x34f446||_0x35c287[_0x590d63]===_0x1ca11e([0x2a])));}function _0x5b5b34(){return _0x273006&&_0x105568?new window[(_0x1ca11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x575866,_0x4520b3)=>{_0x273006[_0x1ca11e([0x74,0x68,0x65,0x6e])](_0x575866,_0x4520b3),_0x105568[_0x1ca11e([0x74,0x68,0x65,0x6e])](_0x159551=>{_0x159551!=_0x1ca11e([0x56,0x61,0x6c,0x69,0x64])&&_0x575866(_0x159551);},_0x4520b3);}):_0x273006||_0x105568||_0x1ca11e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24f36d(_0x3279c4,_0x3812c2){return new window[(_0x1ca11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11b8e3=>{if(_0x421dd6())return _0x11b8e3(_0x1ca11e([0x56,0x61,0x6c,0x69,0x64]));_0x185d82(),_0x54c4b1[_0x1ca11e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ca11e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1356a4=!0x1;const _0x4438e4=_0x4c2924();function _0x288e96(_0x460452){return!!_0x460452&&(typeof _0x460452===_0x1ca11e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x460452===_0x1ca11e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x460452[_0x1ca11e([0x74,0x68,0x65,0x6e])]===_0x1ca11e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x460452[_0x1ca11e([0x63,0x61,0x74,0x63,0x68])]===_0x1ca11e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bdf46(_0x455eac){_0x1fa23d(_0x455eac)[_0x1ca11e([0x74,0x68,0x65,0x6e])](_0x2af5d3=>{if(!_0x2af5d3||_0x2af5d3[_0x1ca11e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ca11e([0x6f,0x6b]))return _0x1ca11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30b756(_0x4dedf6(_0x4438e4+_0x3812c2))!=_0x2af5d3[_0x1ca11e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ca11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ca11e([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ca11e([0x74,0x68,0x65,0x6e])](_0x135684=>(_0x2caefb(),_0x135684),()=>{const _0x9da8ef=_0x3c85c5();return null==_0x9da8ef?(_0x2caefb(),_0x1ca11e([0x56,0x61,0x6c,0x69,0x64])):_0x1ca11e(_0x1d741c-_0x9da8ef>(0x4f03da6f^_0x103860)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ca11e([0x74,0x68,0x65,0x6e])](_0x11b8e3)[_0x1ca11e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11b8e3(_0x1ca11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b2a42=0x6b39b0ef^_0x103860;function _0x2caefb(){const _0x31511a=_0x1ca11e([0x6c,0x6c,0x63,0x74,0x2d])+_0x30b756(_0x4dedf6(_0x3279c4)),_0x3ea580=_0x3aa39b(_0x30b756(window[_0x1ca11e([0x4d,0x61,0x74,0x68])][_0x1ca11e([0x63,0x65,0x69,0x6c])](_0x1d741c/_0x1b2a42)));window[_0x1ca11e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ca11e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31511a,_0x3ea580);}function _0x3c85c5(){const _0x34970b=_0x1ca11e([0x6c,0x6c,0x63,0x74,0x2d])+_0x30b756(_0x4dedf6(_0x3279c4)),_0x181071=window[_0x1ca11e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ca11e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34970b);return _0x181071?window[_0x1ca11e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3aa39b(_0x181071),0x10)*_0x1b2a42:null;}function _0x1fa23d(_0x40a5d1){return new window[(_0x1ca11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e1e1c,_0x490630)=>{_0x40a5d1[_0x1ca11e([0x74,0x68,0x65,0x6e])](_0x2e1e1c,_0x490630),window[_0x1ca11e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x490630,0x6b0e8aaf^_0x103860);});}}_0x54c4b1[_0x1ca11e([0x6f,0x6e])](_0x1ca11e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8dabe2,_0x306b76)=>{if(_0x306b76[0x0]!=_0x3279c4)return _0x11b8e3(_0x1ca11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x306b76[0x1]={..._0x306b76[0x1],[_0x1ca11e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4438e4};},{[_0x1ca11e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ca11e([0x68,0x69,0x67,0x68])}),_0x54c4b1[_0x1ca11e([0x6f,0x6e])](_0x1ca11e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32e27f=>{_0x288e96(_0x32e27f[_0x1ca11e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1356a4=!0x0,_0x4bdf46(_0x32e27f[_0x1ca11e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ca11e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ca11e([0x6c,0x6f,0x77])}),_0x441666[_0x1ca11e([0x74,0x68,0x65,0x6e])](()=>{_0x1356a4||_0x11b8e3(_0x1ca11e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x421dd6(){return _0x54c4b1[_0x1ca11e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ca11e([0x76,0x69,0x65,0x77])][_0x1ca11e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ca11e([0x61,0x75,0x74,0x6f]);}function _0x185d82(){_0x54c4b1[_0x1ca11e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ca11e([0x76,0x69,0x65,0x77])][_0x1ca11e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ca11e([0x61,0x75,0x74,0x6f]);}}function _0x43d784(_0x53653f){const _0x7831fc=[new window[(_0x1ca11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ad6f2=>setTimeout(_0x4ad6f2,0x6b0660a3^_0x103860)),_0x441666[_0x1ca11e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ca11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe5de2b=>{let _0x16f35c=0x0;_0x54c4b1[_0x1ca11e([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ca11e([0x6f,0x6e])](_0x1ca11e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1da281,_0x3953eb)=>{_0x3953eb[0x0][_0x1ca11e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16f35c++,_0x16f35c==(0x6b0f5f97^_0x103860)&&(_0xe5de2b(),_0x1da281[_0x1ca11e([0x6f,0x66,0x66])]());});}))];return window[_0x1ca11e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ca11e([0x72,0x61,0x63,0x65])](_0x7831fc)[_0x1ca11e([0x74,0x68,0x65,0x6e])](()=>_0x53653f);}async function _0x319663(){await _0x441666,_0x54c4b1[_0x1ca11e([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ca11e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4786dc,_0x54c4b1[_0x1ca11e([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ca11e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4786dc,_0x54c4b1[_0x1ca11e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ca11e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3db5f8(){return window[_0x1ca11e([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x35b6cc(){return window[_0x1ca11e([0x67,0x6c,0x6f,0x62])]&&window[_0x1ca11e([0x67,0x6c,0x6f,0x62])][_0x1ca11e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x377c79(_0x4b109d){const _0x2477f4=_0x2f99b2();_0x54c4b1[_0x2477f4]=_0x1ca11e([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b109d,_0x4b109d!=_0x1ca11e([0x56,0x61,0x6c,0x69,0x64])&&_0x319663();}function _0x2f99b2(){const _0x126fa3=window[_0x1ca11e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ca11e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ca11e([0x6e,0x6f,0x77])]())[_0x1ca11e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ca11e([0x2e]),'');let _0x4cc026=_0x1ca11e([0x67]);for(let _0x4100e0=0x0;_0x4100e0<_0x126fa3[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4100e0+=0x2){let _0x5334f0=window[_0x1ca11e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x126fa3[_0x1ca11e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4100e0,_0x4100e0+0x2));_0x5334f0>=_0x45fa64[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5334f0-=_0x45fa64[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4cc026+=_0x45fa64[_0x5334f0];}return _0x4cc026;}function _0x291f77(){const _0x138d09=_0xc07763[_0x1ca11e([0x73,0x70,0x6c,0x69,0x74])](_0x1ca11e([0x2e]));if(0x3!=_0x138d09[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fd293(_0x138d09[0x1]);function _0x4fd293(_0x34d8ce){const _0x3dbfd1=_0x10f828(_0x34d8ce);return _0x3dbfd1&&_0x30bb48()?_0x3dbfd1:null;function _0x30bb48(){const _0x48e295=_0x3dbfd1[_0x1ca11e([0x6a,0x74,0x69])],_0x43ea79=window[_0x1ca11e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48e295[_0x1ca11e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48e295[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1bee44={..._0x3dbfd1,[_0x1ca11e([0x6a,0x74,0x69])]:_0x48e295[_0x1ca11e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48e295[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1bee44[_0x1ca11e([0x76,0x63])],_0x4dedf6(_0x1bee44)==_0x43ea79;}}}async function _0x220641(){let _0x256a57=!0x0;try{const _0x1ec235=_0xc07763[_0x1ca11e([0x73,0x70,0x6c,0x69,0x74])](_0x1ca11e([0x2e])),[_0x4ae2fa,_0x170e2a,_0x4419d4]=_0x1ec235;return _0x21ecbe(_0x4ae2fa),await _0x18df89(_0x4ae2fa,_0x170e2a,_0x4419d4),_0x256a57;}catch{return!0x1;}function _0x21ecbe(_0x4dc8f6){const _0x48eeee=_0x10f828(_0x4dc8f6);_0x48eeee&&_0x48eeee[_0x1ca11e([0x61,0x6c,0x67])]==_0x1ca11e([0x45,0x53,0x32,0x35,0x36])||(_0x256a57=!0x1);}async function _0x18df89(_0xfcd25a,_0x48a7a2,_0x4c4e35){const _0x4814c0=window[_0x1ca11e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ca11e([0x66,0x72,0x6f,0x6d])](_0x253c99(_0x4c4e35),_0x4d8755=>_0x4d8755[_0x1ca11e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a872f=new window[(_0x1ca11e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ca11e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfcd25a+_0x1ca11e([0x2e])+_0x48a7a2),_0x433598=window[_0x1ca11e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ca11e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x433598)return;const _0xb1863e=await _0x433598[_0x1ca11e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ca11e([0x6a,0x77,0x6b]),_0x16d3d3,{[_0x1ca11e([0x6e,0x61,0x6d,0x65])]:_0x1ca11e([0x45,0x43,0x44,0x53,0x41]),[_0x1ca11e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ca11e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ca11e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x433598[_0x1ca11e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ca11e([0x6e,0x61,0x6d,0x65])]:_0x1ca11e([0x45,0x43,0x44,0x53,0x41]),[_0x1ca11e([0x68,0x61,0x73,0x68])]:{[_0x1ca11e([0x6e,0x61,0x6d,0x65])]:_0x1ca11e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb1863e,_0x4814c0,_0x2a872f)||(_0x256a57=!0x1);}}function _0x10f828(_0x569e28){return _0x569e28[_0x1ca11e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ca11e([0x65,0x79]))?JSON[_0x1ca11e([0x70,0x61,0x72,0x73,0x65])](_0x253c99(_0x569e28)):null;}function _0x253c99(_0x5d9443){return window[_0x1ca11e([0x61,0x74,0x6f,0x62])](_0x5d9443[_0x1ca11e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ca11e([0x2b]))[_0x1ca11e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ca11e([0x2f])));}function _0x4dedf6(_0x55bb41){let _0x16b7b5=0x1505;function _0x1bf655(_0x332180){for(let _0x357548=0x0;_0x357548<_0x332180[_0x1ca11e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x357548++){const _0x8dc8d3=_0x332180[_0x1ca11e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x357548);_0x16b7b5=(_0x16b7b5<<0x5)+_0x16b7b5+_0x8dc8d3,_0x16b7b5&=_0x16b7b5;}}function _0x21b9f7(_0x4e677e){Array[_0x1ca11e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e677e)?_0x4e677e[_0x1ca11e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21b9f7):_0x4e677e&&typeof _0x4e677e==_0x1ca11e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ca11e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e677e)[_0x1ca11e([0x73,0x6f,0x72,0x74])]()[_0x1ca11e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d72b6,_0x42f071])=>{_0x1bf655(_0x3d72b6),_0x21b9f7(_0x42f071);}):_0x1bf655(window[_0x1ca11e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e677e));}return _0x21b9f7(_0x55bb41),_0x16b7b5>>>0x0;}function _0x30b756(_0x3d3295){return _0x3d3295[_0x1ca11e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ca11e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ca11e([0x30]));}function _0x3aa39b(_0x38c9b9){return _0x38c9b9[_0x1ca11e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ca11e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ca11e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4786dc(){}function _0x1ca11e(_0xdc33af){return _0xdc33af['map'](_0x5d8a61=>String['fromCharCode'](_0x5d8a61))['join']('');}_0x377c79(await _0x13f518());}(this);}['_createTemplateListView'](_0x17e5bd,_0x5d1d24){const {editor:_0x561df9}=this,_0x594282=new y(_0x17e5bd);return _0x594282['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x594282['items']['addMany'](_0x5d1d24['map']((_0x538a49,_0x222f6e)=>{const _0xe3eeac=new b(_0x17e5bd,_0x222f6e),_0x51d92d=new h(_0x17e5bd,_0x538a49);return _0xe3eeac['buttonView']=_0x51d92d,_0xe3eeac['children']['add'](_0x51d92d),_0xe3eeac['buttonView']['on']('execute',_0x23c636=>{_0x561df9['execute']('insertTemplate',_0x23c636['source']['templateDefinition']['data']),_0x561df9['editing']['view']['focus']();}),_0xe3eeac;})),_0x594282;}}class K extends _0x5074a2{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 _0xcd246b,Plugin as _0x2bd53e}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0xe1c9f2,IconTemplate as _0x266361}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x4ba0c3,ListItemView as _0xaf61dd,ButtonView as _0x167c7f,View as _0x28375a,HighlightedTextView as _0x51be72,createDropdown as _0x5bb709,SearchTextView as _0x5e6e11,MenuBarMenuView as _0x335e6b,MenuBarMenuListView as _0x2e2685,MenuBarMenuListItemView as _0x4cb593,MenuBarMenuListItemButtonView as _0x3e67b8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x12d496}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0xcd246b{['execute'](_0x52ded3){const {model:_0x5c3ac4}=this['editor'];let _0x2c4d4e;switch(typeof _0x52ded3){case'string':_0x2c4d4e=_0x52ded3;break;case'function':_0x2c4d4e=_0x52ded3();}'string'==typeof _0x2c4d4e&&_0x5c3ac4['change'](()=>{const _0x26e8b9=this['editor']['data']['htmlProcessor']['toView'](_0x2c4d4e),_0x230067=this['editor']['data']['toModel'](_0x26e8b9);_0x5c3ac4['insertContent'](_0x230067);});}}class i extends _0x2bd53e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1fe300}=this;_0x1fe300['commands']['add']('insertTemplate',new a(_0x1fe300)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1cb25a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x29084e;for(const _0x2eeef3 in _0x1cb25a){const _0x105b5e=_0x2eeef3,_0x2f4370=_0x1cb25a[_0x105b5e];if('templateLicenseKeyValid'==_0x2f4370||'templateLicenseKeyInvalid'==_0x2f4370||'templateLicenseKeyExpired'==_0x2f4370||'templateLicenseKeyDomainLimit'==_0x2f4370||'templateLicenseKeyNotAllowed'==_0x2f4370||'templateLicenseKeyEvaluationLimit'==_0x2f4370||'templateLicenseKeyTrialLimit'==_0x2f4370||'templateLicenseKeyUsageLimit'==_0x2f4370){delete _0x1cb25a[_0x105b5e],_0x29084e=_0x2f4370,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x29084e&&_0x1cb25a['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x29084e&&_0x1cb25a['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x29084e&&_0x1cb25a['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x29084e&&_0x1cb25a['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x29084e&&_0x1cb25a['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x29084e&&_0x1cb25a['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x29084e&&_0x1cb25a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x4ba0c3{['filter'](_0x2e804a){if(!_0x2e804a)return this['_resetFiltering']();const _0xacd7cd=new Map(),_0x3d9e15=this['items']['map'](_0x50de1b=>{const _0x5398b4=_0x50de1b['buttonView']['isMatching'](_0x2e804a);return _0x50de1b['isVisible']=!!_0x5398b4,_0x50de1b['buttonView']['highlightText'](_0x5398b4?_0x2e804a:null),_0x5398b4&&_0xacd7cd['set'](_0x50de1b,_0x5398b4),_0x50de1b;})['sort'](j)['sort'](function(_0x471f46){return function(_0x3495bc,_0x646595){const _0x1f26b6=_0x471f46['get'](_0x3495bc),_0x478215=_0x471f46['get'](_0x646595);return _0x1f26b6&&!_0x478215?-0x1:_0x478215&&!_0x1f26b6?0x1:_0x1f26b6||_0x478215?_0x1f26b6['title']&&!_0x478215['title']?-0x1:!_0x1f26b6['title']&&_0x478215['title']?0x1:0x0:0x0;};}(_0xacd7cd));return this['items']['clear'](),this['items']['addMany'](_0x3d9e15),{'resultsCount':_0xacd7cd['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1ba00f=this['items']['map'](_0x1f0619=>_0x1f0619)['sort'](j);return _0x1ba00f['forEach'](_0x536201=>{_0x536201['isVisible']=!0x0,_0x536201['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1ba00f),{'resultsCount':_0x1ba00f['length'],'totalItemsCount':_0x1ba00f['length']};}}function j(_0x3965e9,_0x4f5db6){return _0x3965e9['originalIndex']-_0x4f5db6['originalIndex'];}class b extends _0xaf61dd{['originalIndex'];['buttonView'];constructor(_0x1f89f0,_0x20bdb0){super(_0x1f89f0),this['originalIndex']=_0x20bdb0,this['buttonView']=null;}}class h extends _0x167c7f{['templateDefinition'];['textPartView'];constructor(_0x2f0a12,_0x4f589f){super(_0x2f0a12),this['templateDefinition']=_0x4f589f,this['textPartView']=null;const {icon:_0x487e46=_0xe1c9f2}=_0x4f589f;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x487e46}),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'](_0x15c055){const {title:_0x490e0e,description:_0x24d56a}=this['templateDefinition'],_0x44338a=!!_0x490e0e['match'](_0x15c055),_0x245f90=!(!_0x24d56a||!_0x24d56a['match'](_0x15c055));return _0x44338a||_0x245f90?{'title':_0x44338a,'description':_0x245f90}:null;}['highlightText'](_0x3014d5){this['textPartView']['highlightText'](_0x3014d5);}}class L extends _0x28375a{constructor(_0x586cff,_0x50f3a9,_0x1fd1c7){super(_0x586cff),this['title']=_0x50f3a9['title'],this['description']=_0x50f3a9['description'],this['titleView']=new _0x51be72(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x1fd1c7}});const _0x1818b7=[this['titleView']];this['description']&&(this['descriptionView']=new _0x51be72(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x1818b7['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x1818b7});}['highlightText'](_0x118d03){this['titleView']['highlightText'](_0x118d03),this['description']&&this['descriptionView']['highlightText'](_0x118d03);}}function g(_0x1b0637,_0x26f54c,..._0x1e5306){const t=_0x1b0637['t'];switch(_0x26f54c){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x1e5306);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',..._0x1e5306);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x26f54c;}}class s extends _0x2bd53e{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x80e3d7}=this,_0x5e0760=_0x80e3d7['config']['get']('template.definitions')||[];_0x80e3d7['ui']['componentFactory']['add']('insertTemplate',_0x322162=>{const _0x4ac252=_0x5bb709(_0x322162),_0x4d20cb=this['_createTemplateListView'](_0x322162,_0x5e0760),_0x56d46f=new _0x5e6e11(_0x322162,{'filteredView':_0x4d20cb,'queryView':{'label':g(_0x322162,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0xc7017d=>g(_0x322162,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0xc7017d),'secondary':g(_0x322162,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x322162,'No\x20templates\x20available.')}}}}),_0x5ad515=_0x80e3d7['commands']['get']('insertTemplate');return _0x56d46f['on']('search',(_0x269159,_0x332c70)=>{_0x332c70['query']&&_0x332c70['query']['length']&&_0x80e3d7['ui']['ariaLiveAnnouncer']['announce'](g(_0x322162,'%0\x20templates\x20found',_0x332c70['resultsCount']));}),_0x4ac252['bind']('isEnabled')['to'](_0x5ad515),_0x4ac252['panelView']['children']['add'](_0x56d46f),_0x4ac252['buttonView']['set']({'label':g(_0x322162,'Insert\x20template'),'icon':_0x266361,'tooltip':!0x0}),_0x4ac252['on']('change:isOpen',(_0x51800b,_0x2e61dd,_0x1e744f)=>{_0x1e744f||_0x56d46f['reset']();}),_0x4ac252;}),_0x80e3d7['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x416d64=>{const _0x4a9889=_0x80e3d7['commands']['get']('insertTemplate'),_0x2bc9c0=new _0x335e6b(_0x416d64);_0x2bc9c0['buttonView']['set']({'label':g(_0x416d64,'Template'),'icon':_0x266361});const _0x4929a8=new _0x2e2685(_0x416d64);if(!_0x5e0760||!_0x5e0760['length']){const _0x48cb8e=new _0x4cb593(_0x416d64,_0x2bc9c0),_0xaec146=new _0x3e67b8(_0x416d64);_0xaec146['set']({'label':g(_0x416d64,'No\x20templates\x20available.')}),_0xaec146['delegate']('execute')['to'](_0x2bc9c0),_0xaec146['on']('execute',()=>{_0x80e3d7['editing']['view']['focus']();}),_0x48cb8e['children']['add'](_0xaec146),_0x4929a8['items']['add'](_0x48cb8e);}for(const _0x197ce7 of _0x5e0760){const _0x5c0203=new _0x4cb593(_0x416d64,_0x2bc9c0),_0x291176=new _0x3e67b8(_0x416d64);_0x291176['set']({'class':'ck-template-button','label':_0x197ce7['title'],'icon':_0x197ce7['icon']||_0xe1c9f2}),_0x291176['delegate']('execute')['to'](_0x2bc9c0),_0x291176['on']('execute',()=>{_0x80e3d7['execute']('insertTemplate',_0x197ce7['data']),_0x80e3d7['editing']['view']['focus']();}),_0x5c0203['children']['add'](_0x291176),_0x4929a8['items']['add'](_0x5c0203);}return _0x2bc9c0['panelView']['children']['add'](_0x4929a8),_0x2bc9c0['bind']('isEnabled')['to'](_0x4a9889,'isEnabled'),_0x2bc9c0;});}['afterInit'](){!async function(_0x2eeb07){const _0x40b0e0=_0x3fe634([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x3b25b4=0x6b0f5e6f,_0x459d5a=0x6b0829c7^_0x3b25b4,_0x35f4f4=window[_0x3fe634([0x44,0x61,0x74,0x65])][_0x3fe634([0x6e,0x6f,0x77])](),_0x157634=_0x2eeb07[_0x3fe634([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e4144=new window[(_0x3fe634([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b4200=>{_0x157634[_0x3fe634([0x6f,0x6e,0x63,0x65])](_0x3fe634([0x72,0x65,0x61,0x64,0x79]),_0x2b4200);}),_0x3c7b5d={[_0x3fe634([0x6b,0x74,0x79])]:_0x3fe634([0x45,0x43]),[_0x3fe634([0x75,0x73,0x65])]:_0x3fe634([0x73,0x69,0x67]),[_0x3fe634([0x63,0x72,0x76])]:_0x3fe634([0x50,0x2d,0x32,0x35,0x36]),[_0x3fe634([0x78])]:_0x3fe634([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]),[_0x3fe634([0x79])]:_0x3fe634([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]),[_0x3fe634([0x61,0x6c,0x67])]:_0x3fe634([0x45,0x53,0x32,0x35,0x36])},_0x5ceaa1=_0x157634[_0x3fe634([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fe634([0x67,0x65,0x74])](_0x3fe634([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xbecdca(){let _0x56d484,_0x534378=null,_0x48c893=null;try{if(_0x5ceaa1==_0x3fe634([0x47,0x50,0x4c]))return _0x3fe634([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56d484=_0x3fa7bd(),!_0x56d484)return _0x3fe634([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56d484[_0x3fe634([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48c893=_0x21b235(_0x56d484[_0x3fe634([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56d484[_0x3fe634([0x6a,0x74,0x69])])),await _0x2e438d()?_0xfd422b()?_0x5f2695()?_0x3fe634([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3dc1db()?(_0x56d484[_0x3fe634([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe634([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x534378=_0x536ba8(_0x3fe634([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56d484[_0x3fe634([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe634([0x74,0x72,0x69,0x61,0x6c])&&(_0x534378=_0x536ba8(_0x3fe634([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x51bbbd()):_0x3fe634([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe634([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fe634([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fe634([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f2695(){const _0x3908a8=[_0x3fe634([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fe634([0x74,0x72,0x69,0x61,0x6c])][_0x3fe634([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56d484[_0x3fe634([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35f4f4/0x3e8:0xe10*_0x459d5a;return _0x56d484[_0x3fe634([0x65,0x78,0x70])]<_0x3908a8;}function _0xfd422b(){const _0x7d25f0=_0x56d484[_0x3fe634([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x7d25f0&&(!!_0x7d25f0[_0x3fe634([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe634([0x2a]))||(!!_0x7d25f0[_0x3fe634([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe634([0x54,0x50,0x4c]))||(!!_0x7d25f0[_0x3fe634([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe634([0x50,0x50]))||(!(!_0x7d25f0[_0x3fe634([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe634([0x44,0x52,0x55,0x50]))||!_0x4504fd())||!(!_0x7d25f0[_0x3fe634([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe634([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x477865())))));}function _0x3dc1db(){const _0x1db4f4=_0x56d484[_0x3fe634([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1db4f4||0x0==_0x1db4f4[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x318976}=new URL(window[_0x3fe634([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1db4f4[_0x3fe634([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318976))return!0x0;const _0x2e5532=_0x318976[_0x3fe634([0x73,0x70,0x6c,0x69,0x74])](_0x3fe634([0x2e]));return _0x1db4f4[_0x3fe634([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36299e=>_0x36299e[_0x3fe634([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe634([0x2a])))[_0x3fe634([0x6d,0x61,0x70])](_0x3be979=>_0x3be979[_0x3fe634([0x73,0x70,0x6c,0x69,0x74])](_0x3fe634([0x2e])))[_0x3fe634([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xde78d7=>_0xde78d7[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e5532[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fe634([0x6d,0x61,0x70])](_0xc7ef62=>Array(_0x2e5532[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc7ef62[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fe634([0x66,0x69,0x6c,0x6c])](_0xc7ef62[0x0]===_0x3fe634([0x2a])?_0x3fe634([0x2a]):'')[_0x3fe634([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc7ef62))[_0x3fe634([0x73,0x6f,0x6d,0x65])](_0x58ec8b=>_0x2e5532[_0x3fe634([0x65,0x76,0x65,0x72,0x79])]((_0x36d6b0,_0x2c283b)=>_0x58ec8b[_0x2c283b]===_0x36d6b0||_0x58ec8b[_0x2c283b]===_0x3fe634([0x2a])));}function _0x51bbbd(){return _0x534378&&_0x48c893?new window[(_0x3fe634([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cfc98,_0xc58f8)=>{_0x534378[_0x3fe634([0x74,0x68,0x65,0x6e])](_0x1cfc98,_0xc58f8),_0x48c893[_0x3fe634([0x74,0x68,0x65,0x6e])](_0x283755=>{_0x283755!=_0x3fe634([0x56,0x61,0x6c,0x69,0x64])&&_0x1cfc98(_0x283755);},_0xc58f8);}):_0x534378||_0x48c893||_0x3fe634([0x56,0x61,0x6c,0x69,0x64]);}}function _0x21b235(_0x6b5152,_0x5d17b0){return new window[(_0x3fe634([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x168cba=>{if(_0x294091())return _0x168cba(_0x3fe634([0x56,0x61,0x6c,0x69,0x64]));_0x15f6a8(),_0x157634[_0x3fe634([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fe634([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2dad86=!0x1;const _0x25168d=_0x12d496();function _0x86be3c(_0x1b173c){return!!_0x1b173c&&(typeof _0x1b173c===_0x3fe634([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b173c===_0x3fe634([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b173c[_0x3fe634([0x74,0x68,0x65,0x6e])]===_0x3fe634([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b173c[_0x3fe634([0x63,0x61,0x74,0x63,0x68])]===_0x3fe634([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12f445(_0x268913){_0x16a545(_0x268913)[_0x3fe634([0x74,0x68,0x65,0x6e])](_0x1ee6cc=>{if(!_0x1ee6cc||_0x1ee6cc[_0x3fe634([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fe634([0x6f,0x6b]))return _0x3fe634([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f8664(_0x4fd0f0(_0x25168d+_0x5d17b0))!=_0x1ee6cc[_0x3fe634([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fe634([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe634([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe634([0x74,0x68,0x65,0x6e])](_0x4028fd=>(_0x102244(),_0x4028fd),()=>{const _0x13bb84=_0x43ea06();return null==_0x13bb84?(_0x102244(),_0x3fe634([0x56,0x61,0x6c,0x69,0x64])):_0x3fe634(_0x35f4f4-_0x13bb84>(0x4f03da6f^_0x3b25b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe634([0x74,0x68,0x65,0x6e])](_0x168cba)[_0x3fe634([0x63,0x61,0x74,0x63,0x68])](()=>{_0x168cba(_0x3fe634([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x71f601=0x6b39b0ef^_0x3b25b4;function _0x102244(){const _0xe46637=_0x3fe634([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f8664(_0x4fd0f0(_0x6b5152)),_0x9a7beb=_0x240109(_0x2f8664(window[_0x3fe634([0x4d,0x61,0x74,0x68])][_0x3fe634([0x63,0x65,0x69,0x6c])](_0x35f4f4/_0x71f601)));window[_0x3fe634([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe634([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe46637,_0x9a7beb);}function _0x43ea06(){const _0x155582=_0x3fe634([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f8664(_0x4fd0f0(_0x6b5152)),_0x138b1e=window[_0x3fe634([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe634([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x155582);return _0x138b1e?window[_0x3fe634([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x240109(_0x138b1e),0x10)*_0x71f601:null;}function _0x16a545(_0x554c52){return new window[(_0x3fe634([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a7234,_0x6a5c92)=>{_0x554c52[_0x3fe634([0x74,0x68,0x65,0x6e])](_0x1a7234,_0x6a5c92),window[_0x3fe634([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6a5c92,0x6b0e8aaf^_0x3b25b4);});}}_0x157634[_0x3fe634([0x6f,0x6e])](_0x3fe634([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x11e45a,_0xf84ca7)=>{if(_0xf84ca7[0x0]!=_0x6b5152)return _0x168cba(_0x3fe634([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf84ca7[0x1]={..._0xf84ca7[0x1],[_0x3fe634([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25168d};},{[_0x3fe634([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe634([0x68,0x69,0x67,0x68])}),_0x157634[_0x3fe634([0x6f,0x6e])](_0x3fe634([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35ec79=>{_0x86be3c(_0x35ec79[_0x3fe634([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2dad86=!0x0,_0x12f445(_0x35ec79[_0x3fe634([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fe634([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe634([0x6c,0x6f,0x77])}),_0x3e4144[_0x3fe634([0x74,0x68,0x65,0x6e])](()=>{_0x2dad86||_0x168cba(_0x3fe634([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x294091(){return _0x157634[_0x3fe634([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe634([0x76,0x69,0x65,0x77])][_0x3fe634([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fe634([0x61,0x75,0x74,0x6f]);}function _0x15f6a8(){_0x157634[_0x3fe634([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe634([0x76,0x69,0x65,0x77])][_0x3fe634([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fe634([0x61,0x75,0x74,0x6f]);}}function _0x536ba8(_0x1a4bc3){const _0x5dd421=[new window[(_0x3fe634([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40d3d9=>setTimeout(_0x40d3d9,0x6b0660a3^_0x3b25b4)),_0x3e4144[_0x3fe634([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fe634([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4810cc=>{let _0x560ce0=0x0;_0x157634[_0x3fe634([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe634([0x6f,0x6e])](_0x3fe634([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46bf7d,_0x7c9235)=>{_0x7c9235[0x0][_0x3fe634([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x560ce0++,_0x560ce0==(0x6b0f5f97^_0x3b25b4)&&(_0x4810cc(),_0x46bf7d[_0x3fe634([0x6f,0x66,0x66])]());});}))];return window[_0x3fe634([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fe634([0x72,0x61,0x63,0x65])](_0x5dd421)[_0x3fe634([0x74,0x68,0x65,0x6e])](()=>_0x1a4bc3);}async function _0x545ae0(){await _0x3e4144,_0x157634[_0x3fe634([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe634([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x603178,_0x157634[_0x3fe634([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe634([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x603178,_0x157634[_0x3fe634([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fe634([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4504fd(){return window[_0x3fe634([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x477865(){return window[_0x3fe634([0x67,0x6c,0x6f,0x62])]&&window[_0x3fe634([0x67,0x6c,0x6f,0x62])][_0x3fe634([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x29692f(_0x4f147f){const _0x45777b=_0x3000b8();_0x157634[_0x45777b]=_0x3fe634([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f147f,_0x4f147f!=_0x3fe634([0x56,0x61,0x6c,0x69,0x64])&&_0x545ae0();}function _0x3000b8(){const _0x1b5a68=window[_0x3fe634([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fe634([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fe634([0x6e,0x6f,0x77])]())[_0x3fe634([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fe634([0x2e]),'');let _0x3e021a=_0x3fe634([0x67]);for(let _0x2907da=0x0;_0x2907da<_0x1b5a68[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2907da+=0x2){let _0x263dd1=window[_0x3fe634([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b5a68[_0x3fe634([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2907da,_0x2907da+0x2));_0x263dd1>=_0x40b0e0[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x263dd1-=_0x40b0e0[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e021a+=_0x40b0e0[_0x263dd1];}return _0x3e021a;}function _0x3fa7bd(){const _0x4c26fb=_0x5ceaa1[_0x3fe634([0x73,0x70,0x6c,0x69,0x74])](_0x3fe634([0x2e]));if(0x3!=_0x4c26fb[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e047b(_0x4c26fb[0x1]);function _0x2e047b(_0x380367){const _0x6f57f7=_0x53039d(_0x380367);return _0x6f57f7&&_0x2c2684()?_0x6f57f7:null;function _0x2c2684(){const _0x2d4d59=_0x6f57f7[_0x3fe634([0x6a,0x74,0x69])],_0x1656e6=window[_0x3fe634([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d4d59[_0x3fe634([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d4d59[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41b6c1={..._0x6f57f7,[_0x3fe634([0x6a,0x74,0x69])]:_0x2d4d59[_0x3fe634([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d4d59[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41b6c1[_0x3fe634([0x76,0x63])],_0x4fd0f0(_0x41b6c1)==_0x1656e6;}}}async function _0x2e438d(){let _0x2420c1=!0x0;try{const _0xcef744=_0x5ceaa1[_0x3fe634([0x73,0x70,0x6c,0x69,0x74])](_0x3fe634([0x2e])),[_0xa2c26,_0x4298cf,_0x46bb83]=_0xcef744;return _0x5015ff(_0xa2c26),await _0x2046f7(_0xa2c26,_0x4298cf,_0x46bb83),_0x2420c1;}catch{return!0x1;}function _0x5015ff(_0x446c70){const _0x20c79c=_0x53039d(_0x446c70);_0x20c79c&&_0x20c79c[_0x3fe634([0x61,0x6c,0x67])]==_0x3fe634([0x45,0x53,0x32,0x35,0x36])||(_0x2420c1=!0x1);}async function _0x2046f7(_0x43510e,_0x1ba627,_0x4869b3){const _0x566b72=window[_0x3fe634([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fe634([0x66,0x72,0x6f,0x6d])](_0x4002dd(_0x4869b3),_0x2fec94=>_0x2fec94[_0x3fe634([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf76f4c=new window[(_0x3fe634([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fe634([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43510e+_0x3fe634([0x2e])+_0x1ba627),_0x39c5f6=window[_0x3fe634([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fe634([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x39c5f6)return;const _0x40c600=await _0x39c5f6[_0x3fe634([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fe634([0x6a,0x77,0x6b]),_0x3c7b5d,{[_0x3fe634([0x6e,0x61,0x6d,0x65])]:_0x3fe634([0x45,0x43,0x44,0x53,0x41]),[_0x3fe634([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fe634([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fe634([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x39c5f6[_0x3fe634([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fe634([0x6e,0x61,0x6d,0x65])]:_0x3fe634([0x45,0x43,0x44,0x53,0x41]),[_0x3fe634([0x68,0x61,0x73,0x68])]:{[_0x3fe634([0x6e,0x61,0x6d,0x65])]:_0x3fe634([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40c600,_0x566b72,_0xf76f4c)||(_0x2420c1=!0x1);}}function _0x53039d(_0x389c4b){return _0x389c4b[_0x3fe634([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fe634([0x65,0x79]))?JSON[_0x3fe634([0x70,0x61,0x72,0x73,0x65])](_0x4002dd(_0x389c4b)):null;}function _0x4002dd(_0x454bca){return window[_0x3fe634([0x61,0x74,0x6f,0x62])](_0x454bca[_0x3fe634([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fe634([0x2b]))[_0x3fe634([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fe634([0x2f])));}function _0x4fd0f0(_0x392293){let _0x4f8878=0x1505;function _0x4910ff(_0xefd860){for(let _0xa91042=0x0;_0xa91042<_0xefd860[_0x3fe634([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa91042++){const _0x1419a0=_0xefd860[_0x3fe634([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa91042);_0x4f8878=(_0x4f8878<<0x5)+_0x4f8878+_0x1419a0,_0x4f8878&=_0x4f8878;}}function _0x15baf1(_0x1e707c){Array[_0x3fe634([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e707c)?_0x1e707c[_0x3fe634([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15baf1):_0x1e707c&&typeof _0x1e707c==_0x3fe634([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fe634([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e707c)[_0x3fe634([0x73,0x6f,0x72,0x74])]()[_0x3fe634([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5eb383,_0x1453ba])=>{_0x4910ff(_0x5eb383),_0x15baf1(_0x1453ba);}):_0x4910ff(window[_0x3fe634([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e707c));}return _0x15baf1(_0x392293),_0x4f8878>>>0x0;}function _0x2f8664(_0x369dff){return _0x369dff[_0x3fe634([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fe634([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fe634([0x30]));}function _0x240109(_0x52af1b){return _0x52af1b[_0x3fe634([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fe634([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fe634([0x6a,0x6f,0x69,0x6e])]('');}function _0x603178(){}function _0x3fe634(_0x3faf8d){return _0x3faf8d['map'](_0x2a5eee=>String['fromCharCode'](_0x2a5eee))['join']('');}_0x29692f(await _0xbecdca());}(this);}['_createTemplateListView'](_0x4c7d48,_0x48aea3){const {editor:_0x5dc052}=this,_0x205f2a=new y(_0x4c7d48);return _0x205f2a['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x205f2a['items']['addMany'](_0x48aea3['map']((_0x3c1a89,_0x5449f0)=>{const _0x7af6c=new b(_0x4c7d48,_0x5449f0),_0x2ebb7c=new h(_0x4c7d48,_0x3c1a89);return _0x7af6c['buttonView']=_0x2ebb7c,_0x7af6c['children']['add'](_0x2ebb7c),_0x7af6c['buttonView']['on']('execute',_0x4117be=>{_0x5dc052['execute']('insertTemplate',_0x4117be['source']['templateDefinition']['data']),_0x5dc052['editing']['view']['focus']();}),_0x7af6c;})),_0x205f2a;}}class K extends _0x2bd53e{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": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20251030.0",
|
|
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": "0.0.0-nightly-
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
29
|
-
"ckeditor5": "0.0.0-nightly-
|
|
25
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20251030.0",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251030.0",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251030.0",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251030.0",
|
|
29
|
+
"ckeditor5": "0.0.0-nightly-20251030.0"
|
|
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 _0x38a021=_0x3f25;(function(_0x265dc7,_0x1a1290){const _0x45c4e7=_0x3f25,_0x44e816=_0x265dc7();while(!![]){try{const _0x9b4a07=parseInt(_0x45c4e7(0x1e1))/0x1+-parseInt(_0x45c4e7(0x1fd))/0x2+parseInt(_0x45c4e7(0x1e5))/0x3+parseInt(_0x45c4e7(0x1e6))/0x4*(parseInt(_0x45c4e7(0x214))/0x5)+-parseInt(_0x45c4e7(0x1ef))/0x6+parseInt(_0x45c4e7(0x1fc))/0x7*(parseInt(_0x45c4e7(0x21e))/0x8)+parseInt(_0x45c4e7(0x210))/0x9;if(_0x9b4a07===_0x1a1290)break;else _0x44e816['push'](_0x44e816['shift']());}catch(_0xedb68f){_0x44e816['push'](_0x44e816['shift']());}}}(_0x42db,0xbfe26));import{Plugin as _0x20ce7a}from'ckeditor5/src/core.js';function _0x42db(){const _0x55b0b1=['ck-template-form','isPremiumPlugin','set','Template','title','fromCharCode','href','88CHiFTK','editing','get','TemplateUI','map','818151AJmfQY','listbox','join','template.definitions','142761YzdzxE','58316VqCutT','addMany','No\x20templates\x20available.','ck-template-button','view','afterInit','templateDefinition','length','init','8788032OHuARR','delegate','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','query','panelView','source','componentFactory','buttonView','bind','ck-template-list','menuBar:insertTemplate','search','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','500479ROkxRa','1073066RNMrnk','isOfficialPlugin','_createTemplateListView','commands','icon','insertTemplate','change:isOpen','focus','extendTemplate','items','execute','reset','Search\x20template','isEnabled','ariaLiveAnnouncer','announce','children','pluginName','data','6934347vIGXEo','config','Insert\x20template','resultsCount','125nWbvxc','%0\x20templates\x20found','add'];_0x42db=function(){return _0x55b0b1;};return _0x42db();}import{IconTemplate as _0x46faba,IconTemplateGeneric as _0x5ee58c}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x5d56c4,MenuBarMenuListItemView as _0x38caf0,MenuBarMenuListView as _0x229aa0,MenuBarMenuView as _0x40b60c,SearchTextView as _0x1b6b3f,createDropdown as _0x38b500}from'ckeditor5/src/ui.js';import{uid as _0x15ce7b}from'ckeditor5/src/utils.js';import{TemplateListView as _0x499f84}from'./ui/templatelistview.js';import{TemplateListItemView as _0x34e185}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x2138aa}from'./ui/templatelistbuttonview.js';function _0x3f25(_0x5d7d46,_0xca90f8){const _0x42dbb1=_0x42db();return _0x3f25=function(_0x3f256b,_0x466bdf){_0x3f256b=_0x3f256b-0x1e0;let _0x3de906=_0x42dbb1[_0x3f256b];return _0x3de906;},_0x3f25(_0x5d7d46,_0xca90f8);}import{getTranslation as _0x5aab18}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x20ce7a{static get[_0x38a021(0x20e)](){const _0x32d6e4=_0x38a021;return _0x32d6e4(0x221);}static get[_0x38a021(0x1fe)](){return!0x0;}static get[_0x38a021(0x218)](){return!0x0;}[_0x38a021(0x1ee)](){const _0x28f8c8=_0x38a021,{editor:_0xc5494a}=this,_0x59403e=_0xc5494a[_0x28f8c8(0x211)][_0x28f8c8(0x220)](_0x28f8c8(0x1e4))||[];_0xc5494a['ui'][_0x28f8c8(0x1f5)][_0x28f8c8(0x216)](_0x28f8c8(0x202),_0x101e76=>{const _0x55d17d=_0x28f8c8,_0x35c71e=_0x38b500(_0x101e76),_0x1fbefa=this[_0x55d17d(0x1ff)](_0x101e76,_0x59403e),_0x36e69e=new _0x1b6b3f(_0x101e76,{'filteredView':_0x1fbefa,'queryView':{'label':_0x5aab18(_0x101e76,_0x55d17d(0x209))},'class':_0x55d17d(0x217),'infoView':{'text':{'notFound':{'primary':_0x581e50=>_0x5aab18(_0x101e76,_0x55d17d(0x1fb),_0x581e50),'secondary':_0x5aab18(_0x101e76,_0x55d17d(0x1f1))},'noSearchableItems':{'primary':_0x5aab18(_0x101e76,_0x55d17d(0x1e8))}}}}),_0x2baed8=_0xc5494a[_0x55d17d(0x200)][_0x55d17d(0x220)](_0x55d17d(0x202));return _0x36e69e['on'](_0x55d17d(0x1fa),(_0x419f6a,_0x2b1c28)=>{const _0x390043=_0x55d17d;_0x2b1c28[_0x390043(0x1f2)]&&_0x2b1c28[_0x390043(0x1f2)][_0x390043(0x1ed)]&&_0xc5494a['ui'][_0x390043(0x20b)][_0x390043(0x20c)](_0x5aab18(_0x101e76,_0x390043(0x215),_0x2b1c28[_0x390043(0x213)]));}),_0x35c71e[_0x55d17d(0x1f7)](_0x55d17d(0x20a))['to'](_0x2baed8),_0x35c71e[_0x55d17d(0x1f3)][_0x55d17d(0x20d)][_0x55d17d(0x216)](_0x36e69e),_0x35c71e[_0x55d17d(0x1f6)][_0x55d17d(0x219)]({'label':_0x5aab18(_0x101e76,_0x55d17d(0x212)),'icon':_0x46faba,'tooltip':!0x0}),_0x35c71e['on'](_0x55d17d(0x203),(_0x4d76ab,_0x400b35,_0x13e987)=>{const _0x5eabaa=_0x55d17d;_0x13e987||_0x36e69e[_0x5eabaa(0x208)]();}),_0x35c71e;}),_0xc5494a['ui'][_0x28f8c8(0x1f5)][_0x28f8c8(0x216)](_0x28f8c8(0x1f9),_0xabd13c=>{const _0x156cec=_0x28f8c8,_0x5350d4=_0xc5494a[_0x156cec(0x200)][_0x156cec(0x220)](_0x156cec(0x202)),_0x416916=new _0x40b60c(_0xabd13c);_0x416916[_0x156cec(0x1f6)][_0x156cec(0x219)]({'label':_0x5aab18(_0xabd13c,_0x156cec(0x21a)),'icon':_0x46faba});const _0x1931f2=new _0x229aa0(_0xabd13c);if(!_0x59403e||!_0x59403e[_0x156cec(0x1ed)]){const _0x116aad=new _0x38caf0(_0xabd13c,_0x416916),_0x5ee3c4=new _0x5d56c4(_0xabd13c);_0x5ee3c4[_0x156cec(0x219)]({'label':_0x5aab18(_0xabd13c,_0x156cec(0x1e8))}),_0x5ee3c4[_0x156cec(0x1f0)](_0x156cec(0x207))['to'](_0x416916),_0x5ee3c4['on'](_0x156cec(0x207),()=>{const _0x447e39=_0x156cec;_0xc5494a[_0x447e39(0x21f)][_0x447e39(0x1ea)][_0x447e39(0x204)]();}),_0x116aad[_0x156cec(0x20d)][_0x156cec(0x216)](_0x5ee3c4),_0x1931f2[_0x156cec(0x206)][_0x156cec(0x216)](_0x116aad);}for(const _0x2dfdb8 of _0x59403e){const _0xab6aed=new _0x38caf0(_0xabd13c,_0x416916),_0x300911=new _0x5d56c4(_0xabd13c);_0x300911[_0x156cec(0x219)]({'class':_0x156cec(0x1e9),'label':_0x2dfdb8[_0x156cec(0x21b)],'icon':_0x2dfdb8[_0x156cec(0x201)]||_0x5ee58c}),_0x300911[_0x156cec(0x1f0)](_0x156cec(0x207))['to'](_0x416916),_0x300911['on'](_0x156cec(0x207),()=>{const _0x4ca2e3=_0x156cec;_0xc5494a[_0x4ca2e3(0x207)](_0x4ca2e3(0x202),_0x2dfdb8[_0x4ca2e3(0x20f)]),_0xc5494a[_0x4ca2e3(0x21f)][_0x4ca2e3(0x1ea)][_0x4ca2e3(0x204)]();}),_0xab6aed[_0x156cec(0x20d)][_0x156cec(0x216)](_0x300911),_0x1931f2[_0x156cec(0x206)][_0x156cec(0x216)](_0xab6aed);}return _0x416916[_0x156cec(0x1f3)][_0x156cec(0x20d)][_0x156cec(0x216)](_0x1931f2),_0x416916[_0x156cec(0x1f7)](_0x156cec(0x20a))['to'](_0x5350d4,_0x156cec(0x20a)),_0x416916;});}[_0x38a021(0x1eb)](){!async function(_0x3243b3){const _0x4b34ca=_0x58663b([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x4b93d2=0x6b0f5e6f,_0x552ec8=0x6b0829ff^_0x4b93d2,_0x303956=window[_0x58663b([0x44,0x61,0x74,0x65])][_0x58663b([0x6e,0x6f,0x77])](),_0x3dd543=_0x3243b3[_0x58663b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13e63b=new window[(_0x58663b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5604a6=>{_0x3dd543[_0x58663b([0x6f,0x6e,0x63,0x65])](_0x58663b([0x72,0x65,0x61,0x64,0x79]),_0x5604a6);}),_0x11cec0={[_0x58663b([0x6b,0x74,0x79])]:_0x58663b([0x45,0x43]),[_0x58663b([0x75,0x73,0x65])]:_0x58663b([0x73,0x69,0x67]),[_0x58663b([0x63,0x72,0x76])]:_0x58663b([0x50,0x2d,0x32,0x35,0x36]),[_0x58663b([0x78])]:_0x58663b([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]),[_0x58663b([0x79])]:_0x58663b([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]),[_0x58663b([0x61,0x6c,0x67])]:_0x58663b([0x45,0x53,0x32,0x35,0x36])},_0x54675a=_0x3dd543[_0x58663b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x58663b([0x67,0x65,0x74])](_0x58663b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2bb645(){let _0x2acf45,_0x4e5c51=null,_0x264768=null;try{if(_0x54675a==_0x58663b([0x47,0x50,0x4c]))return _0x58663b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2acf45=_0x85ffcf(),!_0x2acf45)return _0x58663b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2acf45[_0x58663b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x264768=_0x45fb27(_0x2acf45[_0x58663b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2acf45[_0x58663b([0x6a,0x74,0x69])])),await _0x4b3cc2()?_0x4b0c3f()?_0x4fe6bc()?_0x58663b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1cee7b()?(_0x2acf45[_0x58663b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58663b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e5c51=_0x4bf7a3(_0x58663b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2acf45[_0x58663b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58663b([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e5c51=_0x4bf7a3(_0x58663b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb6972f()):_0x58663b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x58663b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x58663b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x58663b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4fe6bc(){const _0xf6844=[_0x58663b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x58663b([0x74,0x72,0x69,0x61,0x6c])][_0x58663b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2acf45[_0x58663b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x303956/0x3e8:0xe10*_0x552ec8;return _0x2acf45[_0x58663b([0x65,0x78,0x70])]<_0xf6844;}function _0x4b0c3f(){const _0x40a6b5=_0x2acf45[_0x58663b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40a6b5&&(!!_0x40a6b5[_0x58663b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58663b([0x2a]))||(!!_0x40a6b5[_0x58663b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58663b([0x54,0x50,0x4c]))||(!!_0x40a6b5[_0x58663b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58663b([0x50,0x50]))||(!(!_0x40a6b5[_0x58663b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58663b([0x44,0x52,0x55,0x50]))||!_0x48979e())||!(!_0x40a6b5[_0x58663b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58663b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1e4e28())))));}function _0x1cee7b(){const _0x421beb=_0x3f25,_0x3e40fa=_0x2acf45[_0x58663b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e40fa||0x0==_0x3e40fa[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28dc96}=new URL(window[_0x58663b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x421beb(0x21d)]);if(_0x3e40fa[_0x58663b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28dc96))return!0x0;const _0x167d6f=_0x28dc96[_0x58663b([0x73,0x70,0x6c,0x69,0x74])](_0x58663b([0x2e]));return _0x3e40fa[_0x58663b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d0fcc=>_0x3d0fcc[_0x58663b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58663b([0x2a])))[_0x58663b([0x6d,0x61,0x70])](_0x104020=>_0x104020[_0x58663b([0x73,0x70,0x6c,0x69,0x74])](_0x58663b([0x2e])))[_0x58663b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f2989=>_0x5f2989[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x167d6f[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58663b([0x6d,0x61,0x70])](_0x17af43=>Array(_0x167d6f[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17af43[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58663b([0x66,0x69,0x6c,0x6c])](_0x17af43[0x0]===_0x58663b([0x2a])?_0x58663b([0x2a]):'')[_0x58663b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17af43))[_0x58663b([0x73,0x6f,0x6d,0x65])](_0xecf910=>_0x167d6f[_0x58663b([0x65,0x76,0x65,0x72,0x79])]((_0x30bb10,_0x42d71d)=>_0xecf910[_0x42d71d]===_0x30bb10||_0xecf910[_0x42d71d]===_0x58663b([0x2a])));}function _0xb6972f(){return _0x4e5c51&&_0x264768?new window[(_0x58663b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8130e7,_0x5f2088)=>{_0x4e5c51[_0x58663b([0x74,0x68,0x65,0x6e])](_0x8130e7,_0x5f2088),_0x264768[_0x58663b([0x74,0x68,0x65,0x6e])](_0x2df01b=>{_0x2df01b!=_0x58663b([0x56,0x61,0x6c,0x69,0x64])&&_0x8130e7(_0x2df01b);},_0x5f2088);}):_0x4e5c51||_0x264768||_0x58663b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45fb27(_0xead4d5,_0x59bd72){return new window[(_0x58663b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388171=>{if(_0x45a8ad())return _0x388171(_0x58663b([0x56,0x61,0x6c,0x69,0x64]));_0x505ed(),_0x3dd543[_0x58663b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x58663b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x292506=!0x1;const _0x1ef3a5=_0x15ce7b();function _0x35570b(_0x12e130){return!!_0x12e130&&(typeof _0x12e130===_0x58663b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12e130===_0x58663b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12e130[_0x58663b([0x74,0x68,0x65,0x6e])]===_0x58663b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12e130[_0x58663b([0x63,0x61,0x74,0x63,0x68])]===_0x58663b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x213dcd(_0x2e47d4){_0x3f0319(_0x2e47d4)[_0x58663b([0x74,0x68,0x65,0x6e])](_0x3c1c42=>{if(!_0x3c1c42||_0x3c1c42[_0x58663b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x58663b([0x6f,0x6b]))return _0x58663b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x44733b(_0xf8e527(_0x1ef3a5+_0x59bd72))!=_0x3c1c42[_0x58663b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x58663b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x58663b([0x56,0x61,0x6c,0x69,0x64]);})[_0x58663b([0x74,0x68,0x65,0x6e])](_0x266e5a=>(_0x568c1e(),_0x266e5a),()=>{const _0x418c77=_0x471a88();return null==_0x418c77?(_0x568c1e(),_0x58663b([0x56,0x61,0x6c,0x69,0x64])):_0x58663b(_0x303956-_0x418c77>(0x4f03da6f^_0x4b93d2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x58663b([0x74,0x68,0x65,0x6e])](_0x388171)[_0x58663b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x388171(_0x58663b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bd7df=0x6b39b0ef^_0x4b93d2;function _0x568c1e(){const _0x396160=_0x58663b([0x6c,0x6c,0x63,0x74,0x2d])+_0x44733b(_0xf8e527(_0xead4d5)),_0x1b8bd1=_0x42955d(_0x44733b(window[_0x58663b([0x4d,0x61,0x74,0x68])][_0x58663b([0x63,0x65,0x69,0x6c])](_0x303956/_0x3bd7df)));window[_0x58663b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58663b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x396160,_0x1b8bd1);}function _0x471a88(){const _0x52a132=_0x58663b([0x6c,0x6c,0x63,0x74,0x2d])+_0x44733b(_0xf8e527(_0xead4d5)),_0x1f9215=window[_0x58663b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58663b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52a132);return _0x1f9215?window[_0x58663b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42955d(_0x1f9215),0x10)*_0x3bd7df:null;}function _0x3f0319(_0x3cd9e8){return new window[(_0x58663b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x104915,_0x7bde57)=>{_0x3cd9e8[_0x58663b([0x74,0x68,0x65,0x6e])](_0x104915,_0x7bde57),window[_0x58663b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7bde57,0x6b0e8aaf^_0x4b93d2);});}}_0x3dd543[_0x58663b([0x6f,0x6e])](_0x58663b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x173181,_0x233094)=>{if(_0x233094[0x0]!=_0xead4d5)return _0x388171(_0x58663b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x233094[0x1]={..._0x233094[0x1],[_0x58663b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ef3a5};},{[_0x58663b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58663b([0x68,0x69,0x67,0x68])}),_0x3dd543[_0x58663b([0x6f,0x6e])](_0x58663b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56a784=>{_0x35570b(_0x56a784[_0x58663b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x292506=!0x0,_0x213dcd(_0x56a784[_0x58663b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x58663b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58663b([0x6c,0x6f,0x77])}),_0x13e63b[_0x58663b([0x74,0x68,0x65,0x6e])](()=>{_0x292506||_0x388171(_0x58663b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x45a8ad(){return _0x3dd543[_0x58663b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58663b([0x76,0x69,0x65,0x77])][_0x58663b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x58663b([0x61,0x75,0x74,0x6f]);}function _0x505ed(){_0x3dd543[_0x58663b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58663b([0x76,0x69,0x65,0x77])][_0x58663b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x58663b([0x61,0x75,0x74,0x6f]);}}function _0x4bf7a3(_0x562fa0){const _0x4ffc31=[new window[(_0x58663b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349de5=>setTimeout(_0x349de5,0x6b0660a3^_0x4b93d2)),_0x13e63b[_0x58663b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x58663b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34eb0f=>{let _0x598393=0x0;_0x3dd543[_0x58663b([0x6d,0x6f,0x64,0x65,0x6c])][_0x58663b([0x6f,0x6e])](_0x58663b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x258f20,_0x2f718b)=>{_0x2f718b[0x0][_0x58663b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x598393++,_0x598393==(0x6b0f5f97^_0x4b93d2)&&(_0x34eb0f(),_0x258f20[_0x58663b([0x6f,0x66,0x66])]());});}))];return window[_0x58663b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x58663b([0x72,0x61,0x63,0x65])](_0x4ffc31)[_0x58663b([0x74,0x68,0x65,0x6e])](()=>_0x562fa0);}async function _0x2cdfde(){await _0x13e63b,_0x3dd543[_0x58663b([0x6d,0x6f,0x64,0x65,0x6c])][_0x58663b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x170a34,_0x3dd543[_0x58663b([0x6d,0x6f,0x64,0x65,0x6c])][_0x58663b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x170a34,_0x3dd543[_0x58663b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x58663b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48979e(){return window[_0x58663b([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1e4e28(){return window[_0x58663b([0x67,0x6c,0x6f,0x62])]&&window[_0x58663b([0x67,0x6c,0x6f,0x62])][_0x58663b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2ce0a9(_0xe276c9){const _0x3a8be5=_0x34bc58();_0x3dd543[_0x3a8be5]=_0x58663b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe276c9,_0xe276c9!=_0x58663b([0x56,0x61,0x6c,0x69,0x64])&&_0x2cdfde();}function _0x34bc58(){const _0x59384e=window[_0x58663b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x58663b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x58663b([0x6e,0x6f,0x77])]())[_0x58663b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x58663b([0x2e]),'');let _0x2ab030=_0x58663b([0x67]);for(let _0x3df64a=0x0;_0x3df64a<_0x59384e[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3df64a+=0x2){let _0x2bc892=window[_0x58663b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59384e[_0x58663b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3df64a,_0x3df64a+0x2));_0x2bc892>=_0x4b34ca[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2bc892-=_0x4b34ca[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ab030+=_0x4b34ca[_0x2bc892];}return _0x2ab030;}function _0x85ffcf(){const _0x36d775=_0x54675a[_0x58663b([0x73,0x70,0x6c,0x69,0x74])](_0x58663b([0x2e]));if(0x3!=_0x36d775[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2800ca(_0x36d775[0x1]);function _0x2800ca(_0x552cd){const _0x12ba10=_0xca996e(_0x552cd);return _0x12ba10&&_0x55656b()?_0x12ba10:null;function _0x55656b(){const _0xa6bdb4=_0x12ba10[_0x58663b([0x6a,0x74,0x69])],_0x62eabd=window[_0x58663b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa6bdb4[_0x58663b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa6bdb4[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x540388={..._0x12ba10,[_0x58663b([0x6a,0x74,0x69])]:_0xa6bdb4[_0x58663b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa6bdb4[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x540388[_0x58663b([0x76,0x63])],_0xf8e527(_0x540388)==_0x62eabd;}}}async function _0x4b3cc2(){let _0x475c1d=!0x0;try{const _0x3e3c6d=_0x54675a[_0x58663b([0x73,0x70,0x6c,0x69,0x74])](_0x58663b([0x2e])),[_0x4865d0,_0x567149,_0x50a13f]=_0x3e3c6d;return _0x10e295(_0x4865d0),await _0x3e51c7(_0x4865d0,_0x567149,_0x50a13f),_0x475c1d;}catch{return!0x1;}function _0x10e295(_0x2bd1ad){const _0x5aa518=_0xca996e(_0x2bd1ad);_0x5aa518&&_0x5aa518[_0x58663b([0x61,0x6c,0x67])]==_0x58663b([0x45,0x53,0x32,0x35,0x36])||(_0x475c1d=!0x1);}async function _0x3e51c7(_0x462200,_0xc2890a,_0x220745){const _0x412d54=window[_0x58663b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x58663b([0x66,0x72,0x6f,0x6d])](_0x3d7b76(_0x220745),_0x3172a1=>_0x3172a1[_0x58663b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x536cc2=new window[(_0x58663b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x58663b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x462200+_0x58663b([0x2e])+_0xc2890a),_0x572cad=window[_0x58663b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x58663b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x572cad)return;const _0x2394ff=await _0x572cad[_0x58663b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x58663b([0x6a,0x77,0x6b]),_0x11cec0,{[_0x58663b([0x6e,0x61,0x6d,0x65])]:_0x58663b([0x45,0x43,0x44,0x53,0x41]),[_0x58663b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x58663b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x58663b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x572cad[_0x58663b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x58663b([0x6e,0x61,0x6d,0x65])]:_0x58663b([0x45,0x43,0x44,0x53,0x41]),[_0x58663b([0x68,0x61,0x73,0x68])]:{[_0x58663b([0x6e,0x61,0x6d,0x65])]:_0x58663b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2394ff,_0x412d54,_0x536cc2)||(_0x475c1d=!0x1);}}function _0xca996e(_0x1236ee){return _0x1236ee[_0x58663b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x58663b([0x65,0x79]))?JSON[_0x58663b([0x70,0x61,0x72,0x73,0x65])](_0x3d7b76(_0x1236ee)):null;}function _0x3d7b76(_0x73542e){return window[_0x58663b([0x61,0x74,0x6f,0x62])](_0x73542e[_0x58663b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x58663b([0x2b]))[_0x58663b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x58663b([0x2f])));}function _0xf8e527(_0xbac34a){let _0x3ae49f=0x1505;function _0x392c83(_0x4d6378){for(let _0x261f95=0x0;_0x261f95<_0x4d6378[_0x58663b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x261f95++){const _0x5a2f64=_0x4d6378[_0x58663b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x261f95);_0x3ae49f=(_0x3ae49f<<0x5)+_0x3ae49f+_0x5a2f64,_0x3ae49f&=_0x3ae49f;}}function _0x15a25e(_0x980ae6){Array[_0x58663b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x980ae6)?_0x980ae6[_0x58663b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15a25e):_0x980ae6&&typeof _0x980ae6==_0x58663b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x58663b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x980ae6)[_0x58663b([0x73,0x6f,0x72,0x74])]()[_0x58663b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ca436,_0x12b50f])=>{_0x392c83(_0x5ca436),_0x15a25e(_0x12b50f);}):_0x392c83(window[_0x58663b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x980ae6));}return _0x15a25e(_0xbac34a),_0x3ae49f>>>0x0;}function _0x44733b(_0x3e487b){return _0x3e487b[_0x58663b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x58663b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x58663b([0x30]));}function _0x42955d(_0xdca782){return _0xdca782[_0x58663b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x58663b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x58663b([0x6a,0x6f,0x69,0x6e])]('');}function _0x170a34(){}function _0x58663b(_0x1afa3e){const _0x3bf0c1=_0x3f25;return _0x1afa3e[_0x3bf0c1(0x1e0)](_0x5976cd=>String[_0x3bf0c1(0x21c)](_0x5976cd))[_0x3bf0c1(0x1e3)]('');}_0x2ce0a9(await _0x2bb645());}(this);}[_0x38a021(0x1ff)](_0x4511c0,_0x307872){const _0xac18e2=_0x38a021,{editor:_0x8c7c96}=this,_0x38a307=new _0x499f84(_0x4511c0);return _0x38a307[_0xac18e2(0x205)]({'attributes':{'role':_0xac18e2(0x1e2),'class':[_0xac18e2(0x1f8)]}}),_0x38a307[_0xac18e2(0x206)][_0xac18e2(0x1e7)](_0x307872[_0xac18e2(0x1e0)]((_0x54533f,_0x56b1f9)=>{const _0xbb52f5=_0xac18e2,_0x91c094=new _0x34e185(_0x4511c0,_0x56b1f9),_0x499c01=new _0x2138aa(_0x4511c0,_0x54533f);return _0x91c094[_0xbb52f5(0x1f6)]=_0x499c01,_0x91c094[_0xbb52f5(0x20d)][_0xbb52f5(0x216)](_0x499c01),_0x91c094[_0xbb52f5(0x1f6)]['on'](_0xbb52f5(0x207),_0x4c278d=>{const _0x338a3b=_0xbb52f5;_0x8c7c96[_0x338a3b(0x207)](_0x338a3b(0x202),_0x4c278d[_0x338a3b(0x1f4)][_0x338a3b(0x1ec)][_0x338a3b(0x20f)]),_0x8c7c96[_0x338a3b(0x21f)][_0x338a3b(0x1ea)][_0x338a3b(0x204)]();}),_0x91c094;})),_0x38a307;}}
|
|
23
|
+
const _0x16596b=_0x13a5;(function(_0x17beb4,_0x5d42aa){const _0xe55827=_0x13a5,_0x362884=_0x17beb4();while(!![]){try{const _0x181d77=-parseInt(_0xe55827(0x1d9))/0x1+parseInt(_0xe55827(0x1f0))/0x2*(parseInt(_0xe55827(0x202))/0x3)+-parseInt(_0xe55827(0x1d3))/0x4+parseInt(_0xe55827(0x20b))/0x5*(-parseInt(_0xe55827(0x205))/0x6)+-parseInt(_0xe55827(0x1fe))/0x7+-parseInt(_0xe55827(0x1fc))/0x8*(-parseInt(_0xe55827(0x1d1))/0x9)+parseInt(_0xe55827(0x20a))/0xa;if(_0x181d77===_0x5d42aa)break;else _0x362884['push'](_0x362884['shift']());}catch(_0x112a85){_0x362884['push'](_0x362884['shift']());}}}(_0x3daf,0x257b2));import{Plugin as _0x3533f9}from'ckeditor5/src/core.js';import{IconTemplate as _0x195901,IconTemplateGeneric as _0x15f059}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x2ef857,MenuBarMenuListItemView as _0x3801c2,MenuBarMenuListView as _0x139d56,MenuBarMenuView as _0x1b1cb4,SearchTextView as _0x2d4a21,createDropdown as _0xfd9cf3}from'ckeditor5/src/ui.js';import{uid as _0x5c9dd6}from'ckeditor5/src/utils.js';import{TemplateListView as _0x25d54f}from'./ui/templatelistview.js';import{TemplateListItemView as _0x29bd82}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x1db6bf}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x17c6be}from'./utils/common-translations.js';function _0x13a5(_0x2f8a4e,_0x55f282){const _0x3daf11=_0x3daf();return _0x13a5=function(_0x13a59e,_0x14470b){_0x13a59e=_0x13a59e-0x1cd;let _0xe7091d=_0x3daf11[_0x13a59e];return _0xe7091d;},_0x13a5(_0x2f8a4e,_0x55f282);}import'../theme/template.css';function _0x3daf(){const _0x187759=['Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','add','Template','%0\x20templates\x20found','buttonView','Insert\x20template','menuBar:insertTemplate','href','isPremiumPlugin','source','items','No\x20templates\x20available.','reset','2jDKDwO','announce','insertTemplate','set','length','focus','ariaLiveAnnouncer','listbox','isEnabled','panelView','templateDefinition','children','8EXbTPE','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','1254897uGVAgK','search','change:isOpen','delegate','44913YRDUuh','map','ck-template-list','24tzcXqW','template.definitions','data','query','resultsCount','9278770BtJarJ','246380lYtODg','get','icon','join','bind','view','editing','pluginName','TemplateUI','22014CjTBDn','isOfficialPlugin','953528PQxKDt','Search\x20template','extendTemplate','fromCharCode','ck-template-button','execute','177015upSIcR','init','componentFactory','title','_createTemplateListView','config','commands','afterInit','addMany','ck-template-form'];_0x3daf=function(){return _0x187759;};return _0x3daf();}export class TemplateUI extends _0x3533f9{static get[_0x16596b(0x1cf)](){const _0x3135c3=_0x16596b;return _0x3135c3(0x1d0);}static get[_0x16596b(0x1d2)](){return!0x0;}static get[_0x16596b(0x1eb)](){return!0x0;}[_0x16596b(0x1da)](){const _0x1f6771=_0x16596b,{editor:_0x4736f2}=this,_0x581c1c=_0x4736f2[_0x1f6771(0x1de)][_0x1f6771(0x20c)](_0x1f6771(0x206))||[];_0x4736f2['ui'][_0x1f6771(0x1db)][_0x1f6771(0x1e4)](_0x1f6771(0x1f2),_0x1c8007=>{const _0x2ec4bb=_0x1f6771,_0xee366f=_0xfd9cf3(_0x1c8007),_0x46b37e=this[_0x2ec4bb(0x1dd)](_0x1c8007,_0x581c1c),_0x419253=new _0x2d4a21(_0x1c8007,{'filteredView':_0x46b37e,'queryView':{'label':_0x17c6be(_0x1c8007,_0x2ec4bb(0x1d4))},'class':_0x2ec4bb(0x1e2),'infoView':{'text':{'notFound':{'primary':_0x4b7f6a=>_0x17c6be(_0x1c8007,_0x2ec4bb(0x1fd),_0x4b7f6a),'secondary':_0x17c6be(_0x1c8007,_0x2ec4bb(0x1e3))},'noSearchableItems':{'primary':_0x17c6be(_0x1c8007,_0x2ec4bb(0x1ee))}}}}),_0x33d442=_0x4736f2[_0x2ec4bb(0x1df)][_0x2ec4bb(0x20c)](_0x2ec4bb(0x1f2));return _0x419253['on'](_0x2ec4bb(0x1ff),(_0x5202de,_0x1d7b77)=>{const _0x2da509=_0x2ec4bb;_0x1d7b77[_0x2da509(0x208)]&&_0x1d7b77[_0x2da509(0x208)][_0x2da509(0x1f4)]&&_0x4736f2['ui'][_0x2da509(0x1f6)][_0x2da509(0x1f1)](_0x17c6be(_0x1c8007,_0x2da509(0x1e6),_0x1d7b77[_0x2da509(0x209)]));}),_0xee366f[_0x2ec4bb(0x20f)](_0x2ec4bb(0x1f8))['to'](_0x33d442),_0xee366f[_0x2ec4bb(0x1f9)][_0x2ec4bb(0x1fb)][_0x2ec4bb(0x1e4)](_0x419253),_0xee366f[_0x2ec4bb(0x1e7)][_0x2ec4bb(0x1f3)]({'label':_0x17c6be(_0x1c8007,_0x2ec4bb(0x1e8)),'icon':_0x195901,'tooltip':!0x0}),_0xee366f['on'](_0x2ec4bb(0x200),(_0x5bf118,_0x40bc29,_0x46a444)=>{const _0x36c4ce=_0x2ec4bb;_0x46a444||_0x419253[_0x36c4ce(0x1ef)]();}),_0xee366f;}),_0x4736f2['ui'][_0x1f6771(0x1db)][_0x1f6771(0x1e4)](_0x1f6771(0x1e9),_0x24c39d=>{const _0x3a4ca7=_0x1f6771,_0x68c5f7=_0x4736f2[_0x3a4ca7(0x1df)][_0x3a4ca7(0x20c)](_0x3a4ca7(0x1f2)),_0x4d1765=new _0x1b1cb4(_0x24c39d);_0x4d1765[_0x3a4ca7(0x1e7)][_0x3a4ca7(0x1f3)]({'label':_0x17c6be(_0x24c39d,_0x3a4ca7(0x1e5)),'icon':_0x195901});const _0x57f768=new _0x139d56(_0x24c39d);if(!_0x581c1c||!_0x581c1c[_0x3a4ca7(0x1f4)]){const _0x281135=new _0x3801c2(_0x24c39d,_0x4d1765),_0x363e4c=new _0x2ef857(_0x24c39d);_0x363e4c[_0x3a4ca7(0x1f3)]({'label':_0x17c6be(_0x24c39d,_0x3a4ca7(0x1ee))}),_0x363e4c[_0x3a4ca7(0x201)](_0x3a4ca7(0x1d8))['to'](_0x4d1765),_0x363e4c['on'](_0x3a4ca7(0x1d8),()=>{const _0xfc3ae9=_0x3a4ca7;_0x4736f2[_0xfc3ae9(0x1ce)][_0xfc3ae9(0x1cd)][_0xfc3ae9(0x1f5)]();}),_0x281135[_0x3a4ca7(0x1fb)][_0x3a4ca7(0x1e4)](_0x363e4c),_0x57f768[_0x3a4ca7(0x1ed)][_0x3a4ca7(0x1e4)](_0x281135);}for(const _0x39efbc of _0x581c1c){const _0x363cf3=new _0x3801c2(_0x24c39d,_0x4d1765),_0x2ba9b0=new _0x2ef857(_0x24c39d);_0x2ba9b0[_0x3a4ca7(0x1f3)]({'class':_0x3a4ca7(0x1d7),'label':_0x39efbc[_0x3a4ca7(0x1dc)],'icon':_0x39efbc[_0x3a4ca7(0x20d)]||_0x15f059}),_0x2ba9b0[_0x3a4ca7(0x201)](_0x3a4ca7(0x1d8))['to'](_0x4d1765),_0x2ba9b0['on'](_0x3a4ca7(0x1d8),()=>{const _0x5eebfe=_0x3a4ca7;_0x4736f2[_0x5eebfe(0x1d8)](_0x5eebfe(0x1f2),_0x39efbc[_0x5eebfe(0x207)]),_0x4736f2[_0x5eebfe(0x1ce)][_0x5eebfe(0x1cd)][_0x5eebfe(0x1f5)]();}),_0x363cf3[_0x3a4ca7(0x1fb)][_0x3a4ca7(0x1e4)](_0x2ba9b0),_0x57f768[_0x3a4ca7(0x1ed)][_0x3a4ca7(0x1e4)](_0x363cf3);}return _0x4d1765[_0x3a4ca7(0x1f9)][_0x3a4ca7(0x1fb)][_0x3a4ca7(0x1e4)](_0x57f768),_0x4d1765[_0x3a4ca7(0x20f)](_0x3a4ca7(0x1f8))['to'](_0x68c5f7,_0x3a4ca7(0x1f8)),_0x4d1765;});}[_0x16596b(0x1e0)](){!async function(_0x1c34e2){const _0x43a7dd=_0xbab65c([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x597217=0x6b0f5e6f,_0x3d071d=0x6b0829c7^_0x597217,_0x350d77=window[_0xbab65c([0x44,0x61,0x74,0x65])][_0xbab65c([0x6e,0x6f,0x77])](),_0x599b16=_0x1c34e2[_0xbab65c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x60d227=new window[(_0xbab65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4965fb=>{_0x599b16[_0xbab65c([0x6f,0x6e,0x63,0x65])](_0xbab65c([0x72,0x65,0x61,0x64,0x79]),_0x4965fb);}),_0x115547={[_0xbab65c([0x6b,0x74,0x79])]:_0xbab65c([0x45,0x43]),[_0xbab65c([0x75,0x73,0x65])]:_0xbab65c([0x73,0x69,0x67]),[_0xbab65c([0x63,0x72,0x76])]:_0xbab65c([0x50,0x2d,0x32,0x35,0x36]),[_0xbab65c([0x78])]:_0xbab65c([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]),[_0xbab65c([0x79])]:_0xbab65c([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]),[_0xbab65c([0x61,0x6c,0x67])]:_0xbab65c([0x45,0x53,0x32,0x35,0x36])},_0x2d7e47=_0x599b16[_0xbab65c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbab65c([0x67,0x65,0x74])](_0xbab65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b1c51(){let _0x4bebd3,_0xf8be9=null,_0x31a49d=null;try{if(_0x2d7e47==_0xbab65c([0x47,0x50,0x4c]))return _0xbab65c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4bebd3=_0x107e4d(),!_0x4bebd3)return _0xbab65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4bebd3[_0xbab65c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31a49d=_0x8aaf95(_0x4bebd3[_0xbab65c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4bebd3[_0xbab65c([0x6a,0x74,0x69])])),await _0x4a3f56()?_0x491aff()?_0x58546f()?_0xbab65c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56b027()?(_0x4bebd3[_0xbab65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbab65c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf8be9=_0x38a9cf(_0xbab65c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bebd3[_0xbab65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbab65c([0x74,0x72,0x69,0x61,0x6c])&&(_0xf8be9=_0x38a9cf(_0xbab65c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x70ff97()):_0xbab65c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbab65c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbab65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xbab65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58546f(){const _0x5a47f6=[_0xbab65c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbab65c([0x74,0x72,0x69,0x61,0x6c])][_0xbab65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bebd3[_0xbab65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x350d77/0x3e8:0xe10*_0x3d071d;return _0x4bebd3[_0xbab65c([0x65,0x78,0x70])]<_0x5a47f6;}function _0x491aff(){const _0x25a68b=_0x4bebd3[_0xbab65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25a68b&&(!!_0x25a68b[_0xbab65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbab65c([0x2a]))||(!!_0x25a68b[_0xbab65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbab65c([0x54,0x50,0x4c]))||(!!_0x25a68b[_0xbab65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbab65c([0x50,0x50]))||(!(!_0x25a68b[_0xbab65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbab65c([0x44,0x52,0x55,0x50]))||!_0x47a1cd())||!(!_0x25a68b[_0xbab65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbab65c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5df736())))));}function _0x56b027(){const _0x42b857=_0x13a5,_0x2d9268=_0x4bebd3[_0xbab65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d9268||0x0==_0x2d9268[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2daeff}=new URL(window[_0xbab65c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x42b857(0x1ea)]);if(_0x2d9268[_0xbab65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2daeff))return!0x0;const _0x1bcf40=_0x2daeff[_0xbab65c([0x73,0x70,0x6c,0x69,0x74])](_0xbab65c([0x2e]));return _0x2d9268[_0xbab65c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x386de7=>_0x386de7[_0xbab65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbab65c([0x2a])))[_0xbab65c([0x6d,0x61,0x70])](_0x5f165=>_0x5f165[_0xbab65c([0x73,0x70,0x6c,0x69,0x74])](_0xbab65c([0x2e])))[_0xbab65c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d6226=>_0x4d6226[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1bcf40[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbab65c([0x6d,0x61,0x70])](_0x104a6a=>Array(_0x1bcf40[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x104a6a[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbab65c([0x66,0x69,0x6c,0x6c])](_0x104a6a[0x0]===_0xbab65c([0x2a])?_0xbab65c([0x2a]):'')[_0xbab65c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x104a6a))[_0xbab65c([0x73,0x6f,0x6d,0x65])](_0x620f57=>_0x1bcf40[_0xbab65c([0x65,0x76,0x65,0x72,0x79])]((_0x569e8a,_0x32f9a6)=>_0x620f57[_0x32f9a6]===_0x569e8a||_0x620f57[_0x32f9a6]===_0xbab65c([0x2a])));}function _0x70ff97(){return _0xf8be9&&_0x31a49d?new window[(_0xbab65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4849a9,_0x3fb110)=>{_0xf8be9[_0xbab65c([0x74,0x68,0x65,0x6e])](_0x4849a9,_0x3fb110),_0x31a49d[_0xbab65c([0x74,0x68,0x65,0x6e])](_0x33b2b5=>{_0x33b2b5!=_0xbab65c([0x56,0x61,0x6c,0x69,0x64])&&_0x4849a9(_0x33b2b5);},_0x3fb110);}):_0xf8be9||_0x31a49d||_0xbab65c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8aaf95(_0x2a9f4f,_0x11a05e){return new window[(_0xbab65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55aad0=>{if(_0x50200d())return _0x55aad0(_0xbab65c([0x56,0x61,0x6c,0x69,0x64]));_0x487e4d(),_0x599b16[_0xbab65c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbab65c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1bb989=!0x1;const _0x222e11=_0x5c9dd6();function _0x131e6c(_0x467855){return!!_0x467855&&(typeof _0x467855===_0xbab65c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x467855===_0xbab65c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x467855[_0xbab65c([0x74,0x68,0x65,0x6e])]===_0xbab65c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x467855[_0xbab65c([0x63,0x61,0x74,0x63,0x68])]===_0xbab65c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10ceef(_0x3c7830){_0x43b655(_0x3c7830)[_0xbab65c([0x74,0x68,0x65,0x6e])](_0x2575e6=>{if(!_0x2575e6||_0x2575e6[_0xbab65c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbab65c([0x6f,0x6b]))return _0xbab65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x411887(_0x45af34(_0x222e11+_0x11a05e))!=_0x2575e6[_0xbab65c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbab65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbab65c([0x56,0x61,0x6c,0x69,0x64]);})[_0xbab65c([0x74,0x68,0x65,0x6e])](_0x509767=>(_0x35e190(),_0x509767),()=>{const _0xf869dc=_0x48af05();return null==_0xf869dc?(_0x35e190(),_0xbab65c([0x56,0x61,0x6c,0x69,0x64])):_0xbab65c(_0x350d77-_0xf869dc>(0x4f03da6f^_0x597217)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbab65c([0x74,0x68,0x65,0x6e])](_0x55aad0)[_0xbab65c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55aad0(_0xbab65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12d6b7=0x6b39b0ef^_0x597217;function _0x35e190(){const _0x4fe842=_0xbab65c([0x6c,0x6c,0x63,0x74,0x2d])+_0x411887(_0x45af34(_0x2a9f4f)),_0x17944b=_0x53c31f(_0x411887(window[_0xbab65c([0x4d,0x61,0x74,0x68])][_0xbab65c([0x63,0x65,0x69,0x6c])](_0x350d77/_0x12d6b7)));window[_0xbab65c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbab65c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fe842,_0x17944b);}function _0x48af05(){const _0x551f6c=_0xbab65c([0x6c,0x6c,0x63,0x74,0x2d])+_0x411887(_0x45af34(_0x2a9f4f)),_0x98aa11=window[_0xbab65c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbab65c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x551f6c);return _0x98aa11?window[_0xbab65c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53c31f(_0x98aa11),0x10)*_0x12d6b7:null;}function _0x43b655(_0x155577){return new window[(_0xbab65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4caf0d,_0x5cd4f1)=>{_0x155577[_0xbab65c([0x74,0x68,0x65,0x6e])](_0x4caf0d,_0x5cd4f1),window[_0xbab65c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5cd4f1,0x6b0e8aaf^_0x597217);});}}_0x599b16[_0xbab65c([0x6f,0x6e])](_0xbab65c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a2665,_0x3be18a)=>{if(_0x3be18a[0x0]!=_0x2a9f4f)return _0x55aad0(_0xbab65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3be18a[0x1]={..._0x3be18a[0x1],[_0xbab65c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x222e11};},{[_0xbab65c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbab65c([0x68,0x69,0x67,0x68])}),_0x599b16[_0xbab65c([0x6f,0x6e])](_0xbab65c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f042a=>{_0x131e6c(_0x2f042a[_0xbab65c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1bb989=!0x0,_0x10ceef(_0x2f042a[_0xbab65c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbab65c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbab65c([0x6c,0x6f,0x77])}),_0x60d227[_0xbab65c([0x74,0x68,0x65,0x6e])](()=>{_0x1bb989||_0x55aad0(_0xbab65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50200d(){return _0x599b16[_0xbab65c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbab65c([0x76,0x69,0x65,0x77])][_0xbab65c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbab65c([0x61,0x75,0x74,0x6f]);}function _0x487e4d(){_0x599b16[_0xbab65c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbab65c([0x76,0x69,0x65,0x77])][_0xbab65c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbab65c([0x61,0x75,0x74,0x6f]);}}function _0x38a9cf(_0x61dde4){const _0x59a62e=[new window[(_0xbab65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45b5b1=>setTimeout(_0x45b5b1,0x6b0660a3^_0x597217)),_0x60d227[_0xbab65c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbab65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12065f=>{let _0x417523=0x0;_0x599b16[_0xbab65c([0x6d,0x6f,0x64,0x65,0x6c])][_0xbab65c([0x6f,0x6e])](_0xbab65c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4be91b,_0x7f6cdd)=>{_0x7f6cdd[0x0][_0xbab65c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x417523++,_0x417523==(0x6b0f5f97^_0x597217)&&(_0x12065f(),_0x4be91b[_0xbab65c([0x6f,0x66,0x66])]());});}))];return window[_0xbab65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbab65c([0x72,0x61,0x63,0x65])](_0x59a62e)[_0xbab65c([0x74,0x68,0x65,0x6e])](()=>_0x61dde4);}async function _0xa04ac8(){await _0x60d227,_0x599b16[_0xbab65c([0x6d,0x6f,0x64,0x65,0x6c])][_0xbab65c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ca187,_0x599b16[_0xbab65c([0x6d,0x6f,0x64,0x65,0x6c])][_0xbab65c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ca187,_0x599b16[_0xbab65c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbab65c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x47a1cd(){return window[_0xbab65c([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5df736(){return window[_0xbab65c([0x67,0x6c,0x6f,0x62])]&&window[_0xbab65c([0x67,0x6c,0x6f,0x62])][_0xbab65c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x370f9c(_0x3fb29e){const _0x49c0a6=_0x4bbfb2();_0x599b16[_0x49c0a6]=_0xbab65c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fb29e,_0x3fb29e!=_0xbab65c([0x56,0x61,0x6c,0x69,0x64])&&_0xa04ac8();}function _0x4bbfb2(){const _0x4d079e=window[_0xbab65c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbab65c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbab65c([0x6e,0x6f,0x77])]())[_0xbab65c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbab65c([0x2e]),'');let _0x1f8f96=_0xbab65c([0x67]);for(let _0x4b6e92=0x0;_0x4b6e92<_0x4d079e[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b6e92+=0x2){let _0x5c0a3f=window[_0xbab65c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d079e[_0xbab65c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b6e92,_0x4b6e92+0x2));_0x5c0a3f>=_0x43a7dd[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c0a3f-=_0x43a7dd[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f8f96+=_0x43a7dd[_0x5c0a3f];}return _0x1f8f96;}function _0x107e4d(){const _0x257832=_0x2d7e47[_0xbab65c([0x73,0x70,0x6c,0x69,0x74])](_0xbab65c([0x2e]));if(0x3!=_0x257832[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b8516(_0x257832[0x1]);function _0x5b8516(_0x1bcaae){const _0x2e5c95=_0xb24556(_0x1bcaae);return _0x2e5c95&&_0x3576a2()?_0x2e5c95:null;function _0x3576a2(){const _0xaa8930=_0x2e5c95[_0xbab65c([0x6a,0x74,0x69])],_0x451120=window[_0xbab65c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaa8930[_0xbab65c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaa8930[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19590a={..._0x2e5c95,[_0xbab65c([0x6a,0x74,0x69])]:_0xaa8930[_0xbab65c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xaa8930[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19590a[_0xbab65c([0x76,0x63])],_0x45af34(_0x19590a)==_0x451120;}}}async function _0x4a3f56(){let _0x322e40=!0x0;try{const _0x3b72c2=_0x2d7e47[_0xbab65c([0x73,0x70,0x6c,0x69,0x74])](_0xbab65c([0x2e])),[_0x22d3ff,_0xbaa70d,_0x2ff354]=_0x3b72c2;return _0x5b6b0e(_0x22d3ff),await _0x36c3dd(_0x22d3ff,_0xbaa70d,_0x2ff354),_0x322e40;}catch{return!0x1;}function _0x5b6b0e(_0x214138){const _0x573db6=_0xb24556(_0x214138);_0x573db6&&_0x573db6[_0xbab65c([0x61,0x6c,0x67])]==_0xbab65c([0x45,0x53,0x32,0x35,0x36])||(_0x322e40=!0x1);}async function _0x36c3dd(_0x224067,_0x1d163e,_0x59cb09){const _0x509176=window[_0xbab65c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbab65c([0x66,0x72,0x6f,0x6d])](_0x24ef42(_0x59cb09),_0x8ae9a9=>_0x8ae9a9[_0xbab65c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfe4ada=new window[(_0xbab65c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbab65c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x224067+_0xbab65c([0x2e])+_0x1d163e),_0x14877a=window[_0xbab65c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbab65c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14877a)return;const _0x27f3d2=await _0x14877a[_0xbab65c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbab65c([0x6a,0x77,0x6b]),_0x115547,{[_0xbab65c([0x6e,0x61,0x6d,0x65])]:_0xbab65c([0x45,0x43,0x44,0x53,0x41]),[_0xbab65c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbab65c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbab65c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14877a[_0xbab65c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbab65c([0x6e,0x61,0x6d,0x65])]:_0xbab65c([0x45,0x43,0x44,0x53,0x41]),[_0xbab65c([0x68,0x61,0x73,0x68])]:{[_0xbab65c([0x6e,0x61,0x6d,0x65])]:_0xbab65c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27f3d2,_0x509176,_0xfe4ada)||(_0x322e40=!0x1);}}function _0xb24556(_0x3a5e13){return _0x3a5e13[_0xbab65c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbab65c([0x65,0x79]))?JSON[_0xbab65c([0x70,0x61,0x72,0x73,0x65])](_0x24ef42(_0x3a5e13)):null;}function _0x24ef42(_0x486861){return window[_0xbab65c([0x61,0x74,0x6f,0x62])](_0x486861[_0xbab65c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbab65c([0x2b]))[_0xbab65c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbab65c([0x2f])));}function _0x45af34(_0x33e2da){let _0x58bb72=0x1505;function _0x1e5fd3(_0x3122d5){for(let _0x4a69a1=0x0;_0x4a69a1<_0x3122d5[_0xbab65c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a69a1++){const _0x1bfbc4=_0x3122d5[_0xbab65c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a69a1);_0x58bb72=(_0x58bb72<<0x5)+_0x58bb72+_0x1bfbc4,_0x58bb72&=_0x58bb72;}}function _0x4cbf5b(_0x528d49){Array[_0xbab65c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x528d49)?_0x528d49[_0xbab65c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4cbf5b):_0x528d49&&typeof _0x528d49==_0xbab65c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbab65c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x528d49)[_0xbab65c([0x73,0x6f,0x72,0x74])]()[_0xbab65c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e28cc,_0x2717f6])=>{_0x1e5fd3(_0x5e28cc),_0x4cbf5b(_0x2717f6);}):_0x1e5fd3(window[_0xbab65c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x528d49));}return _0x4cbf5b(_0x33e2da),_0x58bb72>>>0x0;}function _0x411887(_0x10217c){return _0x10217c[_0xbab65c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbab65c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbab65c([0x30]));}function _0x53c31f(_0x18d195){return _0x18d195[_0xbab65c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbab65c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbab65c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ca187(){}function _0xbab65c(_0x27b4e7){const _0xf8624a=_0x13a5;return _0x27b4e7[_0xf8624a(0x203)](_0x3b6d25=>String[_0xf8624a(0x1d6)](_0x3b6d25))[_0xf8624a(0x20e)]('');}_0x370f9c(await _0x5b1c51());}(this);}[_0x16596b(0x1dd)](_0x47f5b2,_0x45d4b1){const _0x3e8823=_0x16596b,{editor:_0x5a7fe8}=this,_0x5adc6a=new _0x25d54f(_0x47f5b2);return _0x5adc6a[_0x3e8823(0x1d5)]({'attributes':{'role':_0x3e8823(0x1f7),'class':[_0x3e8823(0x204)]}}),_0x5adc6a[_0x3e8823(0x1ed)][_0x3e8823(0x1e1)](_0x45d4b1[_0x3e8823(0x203)]((_0x103732,_0x3b87ec)=>{const _0x421478=_0x3e8823,_0x12280a=new _0x29bd82(_0x47f5b2,_0x3b87ec),_0x1c07c9=new _0x1db6bf(_0x47f5b2,_0x103732);return _0x12280a[_0x421478(0x1e7)]=_0x1c07c9,_0x12280a[_0x421478(0x1fb)][_0x421478(0x1e4)](_0x1c07c9),_0x12280a[_0x421478(0x1e7)]['on'](_0x421478(0x1d8),_0x1fc2cb=>{const _0x3df2f4=_0x421478;_0x5a7fe8[_0x3df2f4(0x1d8)](_0x3df2f4(0x1f2),_0x1fc2cb[_0x3df2f4(0x1ec)][_0x3df2f4(0x1fa)][_0x3df2f4(0x207)]),_0x5a7fe8[_0x3df2f4(0x1ce)][_0x3df2f4(0x1cd)][_0x3df2f4(0x1f5)]();}),_0x12280a;})),_0x5adc6a;}}
|