@ckeditor/ckeditor5-template 45.2.1-alpha.2 → 45.2.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/template.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/templateui.js +1 -1
package/build/template.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),c=n.n(s)()(i());c.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const o=c},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var 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}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var 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)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},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}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>X,TemplateCommand:()=>c,TemplateEditing:()=>u,TemplateUI:()=>F});var t=n(782);function e(){const t=["data","insertContent","4799600TzayHt","3929322eJQqgN","htmlProcessor","6822360wKgSkf","2913414LTuydF","2kTATpa","execute","toView","1659353iQcYlM","editor","6seaHLh","string","change","7327545WTQFxF","function","toModel","6720975KYEaGb"];return(e=function(){return t})()}const i=s;function s(t,n){const r=e();return(s=function(t,e){return r[t-=151]})(t,n)}!function(t){const e=s,n=t();for(;;)try{if(966119===parseInt(e(160))/1+-parseInt(e(157))/2*(-parseInt(e(153))/3)+-parseInt(e(155))/4+-parseInt(e(165))/5*(-parseInt(e(162))/6)+-parseInt(e(156))/7+-parseInt(e(152))/8+-parseInt(e(168))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class c extends t.Command{[i(158)](t){const e=i,{model:n}=this[e(161)];let r;switch(typeof t){case e(163):r=t;break;case e(166):r=t()}e(163)==typeof r&&n[e(164)]((()=>{const t=e,i=this[t(161)][t(169)][t(154)][t(159)](r),s=this[t(161)][t(169)][t(167)](i);n[t(151)](s)}))}}const o=a;function a(t,e){const n=l();return(a=function(t,e){return n[t-=184]})(t,e)}function l(){const t=["commands","usageLimit","isOfficialPlugin","domainLimit","templateLicenseKeyInvalid","87607APlOpg","1429358dVoXSX","config","init","2446479yonToX","insertTemplate","templateLicenseKeyUsageLimit","evaluationLimit","add","invalid","TemplateEditing","templateLicenseKeyNotAllowed","templateLicenseKeyValid","expired","featureNotAllowed","editor","licenseKey","4rCeIHo","Template","templateLicenseKeyDomainLimit","1143897YKCFGf","templateLicenseKeyEvaluationLimit","get","8MsmSxn","875820JHoppc","destroy","2770788UUwvQA","isPremiumPlugin","_licenseKeyCheckInterval","templateLicenseKeyTrialLimit","_showLicenseError","pluginName","templateLicenseKeyExpired","trialLimit","1353892qGXoJy"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(361285===parseInt(e(198))/1+-parseInt(e(192))/2+parseInt(e(218))/3*(parseInt(e(215))/4)+parseInt(e(222))/5+parseInt(e(184))/6+parseInt(e(199))/7+-parseInt(e(221))/8*(parseInt(e(202))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(214)];[o(186)];static get[o(189)](){return o(208)}static get[o(195)](){return!0}static get[o(185)](){return!0}[o(201)](){const t=o,{editor:e}=this;e[t(193)][t(206)](t(203),new c(e)),this[t(214)]=this[t(213)][t(200)][t(220)](t(214));const n=this[t(213)];this[t(186)]=setInterval((()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(210)==s||e(197)==s||e(190)==s||e(217)==s||e(209)==s||e(219)==s||e(187)==s||e(204)==s){delete n[i],r=s,clearInterval(this[e(186)]),this[e(186)]=void 0;break}}e(197)==r&&n[e(188)](e(207)),e(190)==r&&n[e(188)](e(211)),e(217)==r&&n[e(188)](e(196)),e(209)==r&&n[e(188)](e(212),e(216)),e(219)==r&&n[e(188)](e(205)),e(187)==r&&n[e(188)](e(191)),e(204)==r&&n[e(188)](e(194))}),1e3)}[o(223)](){const t=o;super[t(223)](),this[t(186)]&&clearInterval(this[t(186)])}}var p=n(355),f=n(311),d=n(584);const m=k;function h(){const t=["1711479TZYCtx","isMatching","clear","72dfAQji","10239620mttbdD","filter","addMany","set","map","741915lrDusE","_resetFiltering","forEach","183882AiijZu","originalIndex","get","buttonView","66IRYprI","4878747AmtQVW","sort","title","isVisible","15277DhpPxJ","8onIPuc","items","length","4597140buThzx","highlightText","size"];return(h=function(){return t})()}function k(t,e){const n=h();return(k=function(t,e){return n[t-=234]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(552804===-parseInt(e(236))/1*(-parseInt(e(259))/2)+parseInt(e(255))/3*(-parseInt(e(246))/4)+parseInt(e(252))/5+parseInt(e(240))/6+-parseInt(e(243))/7*(parseInt(e(237))/8)+-parseInt(e(260))/9+parseInt(e(247))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class w extends f.ListView{[m(248)](t){const e=m;if(!t)return this[e(253)]();const n=new Map,r=this[e(238)][e(251)]((r=>{const i=e,s=r[i(258)][i(244)](t);return r[i(235)]=!!s,r[i(258)][i(241)](s?t:null),s&&n[i(250)](r,s),r}))[e(261)](g)[e(261)]((i=n,function(t,e){const n=k,r=i[n(257)](t),s=i[n(257)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(234)]&&!s[n(234)]?-1:!r[n(234)]&&s[n(234)]?1:0:0}));var i;return this[e(238)][e(245)](),this[e(238)][e(249)](r),{resultsCount:n[e(242)],totalItemsCount:this[e(238)][e(239)]}}[m(253)](){const t=m,e=this[t(238)][t(251)]((t=>t))[t(261)](g);return e[t(254)]((e=>{const n=t;e[n(235)]=!0,e[n(258)][n(241)](null)})),this[t(238)][t(245)](),this[t(238)][t(249)](e),{resultsCount:e[t(239)],totalItemsCount:e[t(239)]}}}function g(t,e){const n=m;return t[n(256)]-e[n(256)]}var v=I;function I(t,e){var n=b();return(I=function(t,e){return n[t-=125]})(t,e)}function b(){var t=["24005NIOsuP","681689zvyegG","3499424xxieYM","buttonView","159066sSRcqQ","738YmYPbP","2059430YIiPRX","originalIndex","207nOYaiw","14zcPkXi","274960MYcDnk","492168eojcEI"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(724643===parseInt(e(131))/1+parseInt(e(136))/2+parseInt(e(134))/3+-parseInt(e(129))/4+-parseInt(e(130))/5*(-parseInt(e(135))/6)+-parseInt(e(127))/7*(parseInt(e(132))/8)+parseInt(e(126))/9*(-parseInt(e(128))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(125)];[v(133)];constructor(t,e){var n=v;super(t),this[n(125)]=e,this[n(133)]=null}}function x(t,e){const n=T();return(x=function(t,e){return n[t-=250]})(t,e)}const _=x;function T(){const t=["ck-button__label","option","20CpKzbd","locale","children","remove","setTemplate","textPartView","1558XJKJfO","match","templateDefinition","description","isColorInherited","titleView","span","add","2931885pBNrKD","24FhLksA","3721685idjhfo","text","ck-template-button","12018886ubDvWf","div","title","labelView","highlightText","3uavBUs","destroy","render","7473978Egtzdk","set","descriptionView","687eUVEAu","push","isMatching","ck-template-form__description","718193ytMBby","element","4319332qLVDHI","iconView","extendTemplate","ck-template-form__text-part"];return(T=function(){return t})()}!function(t){const e=x,n=t();for(;;)try{if(702482===-parseInt(e(281))/1*(parseInt(e(257))/2)+-parseInt(e(275))/3*(parseInt(e(287))/4)+parseInt(e(267))/5+-parseInt(e(278))/6+parseInt(e(285))/7*(parseInt(e(266))/8)+parseInt(e(265))/9+-parseInt(e(251))/10*(-parseInt(e(270))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[_(259)];[_(256)];constructor(t,e){const n=_;super(t),this[n(259)]=e,this[n(256)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(279)]({withText:!0,class:n(269),role:n(250),icon:r}),this[n(288)][n(261)]=!1}[_(277)](){const t=_;super[t(277)](),this[t(256)]=new M(this[t(252)],this[t(259)],this[t(273)][t(286)].id),this[t(253)][t(254)](this[t(273)]),this[t(253)][t(264)](this[t(256)])}[_(276)](){const t=_;super[t(276)](),this[t(273)][t(276)]()}[_(283)](t){const e=_,{title:n,description:r}=this[e(259)],i=!!n[e(258)](t),s=!(!r||!r[e(258)](t));return i||s?{title:i,description:s}:null}[_(274)](t){const e=_;this[e(256)][e(274)](t)}}class M extends f.View{constructor(t,e,n){const r=_;super(t),this[r(272)]=e[r(272)],this[r(260)]=e[r(260)],this[r(262)]=new f.HighlightedTextView,this[r(262)][r(268)]=this[r(272)],this[r(262)][r(289)]({tag:r(263),attributes:{class:[r(291)],id:n}});const i=[this[r(262)]];this[r(260)]&&(this[r(280)]=new f.HighlightedTextView,this[r(280)][r(268)]=this[r(260)],this[r(280)][r(289)]({tag:"p",attributes:{class:[r(284)]}}),i[r(282)](this[r(280)])),this[r(255)]({tag:r(271),attributes:{class:["ck",r(290)]},children:i})}[_(274)](t){const e=_;this[e(262)][e(274)](t),this[e(260)]&&this[e(280)][e(274)](t)}}function V(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var S=n(673),C=n.n(S),P=n(545),E=n.n(P),N=n(262),A=n.n(N),K=n(667),O=n.n(K),j=n(357),z=n.n(j),B=n(175),D={attributes:{"data-cke":!0}};D.setAttributes=O(),D.insert=A().bind(null,"head"),D.domAPI=E(),D.insertStyleElement=z();C()(B.A,D);B.A&&B.A.locals&&B.A.locals;const Y=R;function R(t,e){const n=H();return(R=function(t,e){return n[t-=394]})(t,e)}function H(){const t=["afterInit","items","query","editing","223842dxoKcI","910048FiVWkS","891864Swyewp","insertTemplate","reset","fromCharCode","panelView","No templates available.","Template","24942wCRIuq","isOfficialPlugin","ck-template-button","extendTemplate","componentFactory",'No templates were found matching "%0".',"join","listbox","87681BppSMb","length","931GkSbLe","source","add","title","href","934754dgxRQN","data","get","ariaLiveAnnouncer","Please try a different phrase or check the spelling.","announce","icon","TemplateUI","execute","templateDefinition","Insert template","view","change:isOpen","menuBar:insertTemplate","1274770sErrmM","config","%0 templates found","map","isEnabled","init","4ChfuCm","isPremiumPlugin","_createTemplateListView","set","template.definitions","addMany","commands","search","focus","delegate","ck-template-list","buttonView","ck-template-form","resultsCount","Search template","children","pluginName","bind"];return(H=function(){return t})()}!function(t){const e=R,n=t();for(;;)try{if(300241===-parseInt(e(403))/1+-parseInt(e(427))/2+-parseInt(e(420))/3+-parseInt(e(447))/4*(-parseInt(e(441))/5)+-parseInt(e(412))/6*(-parseInt(e(422))/7)+parseInt(e(404))/8+parseInt(e(405))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class F extends t.Plugin{static get[Y(397)](){return Y(434)}static get[Y(413)](){return!0}static get[Y(448)](){return!0}[Y(446)](){const t=Y,{editor:e}=this,n=e[t(442)][t(429)](t(451))||[];e.ui[t(416)][t(424)](t(406),(r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(449)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:V(r,i(395))},class:i(459),infoView:{text:{notFound:{primary:t=>V(r,i(417),t),secondary:V(r,i(431))},noSearchableItems:{primary:V(r,i(410))}}}}),a=e[i(453)][i(429)](i(406));return o.on(i(454),((t,n)=>{const s=i;n[s(401)]&&n[s(401)][s(421)]&&e.ui[s(430)][s(432)](V(r,s(443),n[s(394)]))})),s[i(398)](i(445)).to(a),s[i(409)][i(396)][i(424)](o),s[i(458)][i(450)]({label:V(r,i(437)),icon:p.IconTemplate,tooltip:!0}),s.on(i(439),((t,e,n)=>{n||o[i(407)]()})),s})),e.ui[t(416)][t(424)](t(440),(r=>{const i=t,s=e[i(453)][i(429)](i(406)),c=new f.MenuBarMenuView(r);c[i(458)][i(450)]({label:V(r,i(411)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(421)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(450)]({label:V(r,i(410))}),n[i(456)](i(435)).to(c),n.on(i(435),(()=>{const t=i;e[t(402)][t(438)][t(455)]()})),t[i(396)][i(424)](n),o[i(400)][i(424)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(450)]({class:i(414),label:t[i(425)],icon:t[i(433)]||p.IconTemplateGeneric}),s[i(456)](i(435)).to(c),s.on(i(435),(()=>{const n=i;e[n(435)](n(406),t[n(428)]),e[n(402)][n(438)][n(455)]()})),n[i(396)][i(424)](s),o[i(400)][i(424)](n)}return c[i(409)][i(396)][i(424)](o),c[i(398)](i(445)).to(s,i(445)),c}))}[Y(399)](){!async function(t){const e=h([70,71,89,56,114,109,80,50,108,111,48,107,77,110,75,78,82,55,98,51,81,102,85,117,84,115,104,83,113,119,79,76,90,122,105,88,67,72,97,112,86,116,69,54,103,101,66,53,87,74,73,99,65,121,49,118,120,68,100,106,57,52]),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=R;return t[e(444)]((t=>String[e(408)](t)))[e(418)]("")}!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([70]);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])]))}()?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:1749945600;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=R,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(426)]);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)}[Y(449)](t,e){const n=Y,{editor:r}=this,i=new w(t);return i[n(415)]({attributes:{role:n(419),class:[n(457)]}}),i[n(400)][n(452)](e[n(444)](((e,i)=>{const s=n,c=new y(t,i),o=new L(t,e);return c[s(458)]=o,c[s(396)][s(424)](o),c[s(458)].on(s(435),(t=>{const e=s;r[e(435)](e(406),t[e(423)][e(436)][e(428)]),r[e(402)][e(438)][e(455)]()})),c}))),i}}var Q=G;function U(){var t=["isOfficialPlugin","3398607IexvIk","3162TJvMXv","pluginName","8740MzHDRd","176554GRCiLQ","408cMmlnH","requires","2WBExOX","409594wZQQbH","Template","5335YktYNo","3490904VznGjP","282bVXspk","32345MHcDhU","isPremiumPlugin"];return(U=function(){return t})()}function G(t,e){var n=U();return(G=function(t,e){return n[t-=432]})(t,e)}!function(t){for(var e=G,n=t();;)try{if(241255===-parseInt(e(435))/1*(-parseInt(e(434))/2)+parseInt(e(444))/3*(-parseInt(e(432))/4)+-parseInt(e(440))/5*(-parseInt(e(439))/6)+parseInt(e(447))/7+-parseInt(e(438))/8+-parseInt(e(443))/9+-parseInt(e(446))/10*(-parseInt(e(437))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class X extends t.Plugin{static get[Q(433)](){return[u,F]}static get[Q(445)](){return Q(436)}static get[Q(442)](){return!0}static get[Q(441)](){return!0}}function q(t,e){var n=J();return(q=function(t,e){return n[t-=270]})(t,e)}function J(){var t=["9815KDNpab","1680339MZmFiE","6679962KybbWC","2008486wYpSok","4128663cSGzWs","36IzEmUs","708hUTnkV","58675LdRSbo","2849736iRrsYh"];return(J=function(){return t})()}!function(t){for(var e=q,n=t();;)try{if(745996===-parseInt(e(277))/1+-parseInt(e(273))/2+parseInt(e(271))/3+-parseInt(e(276))/4*(-parseInt(e(270))/5)+-parseInt(e(272))/6+parseInt(e(274))/7+parseInt(e(278))/8*(parseInt(e(275))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),c=n.n(s)()(i());c.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const o=c},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var 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}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var 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)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},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}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>q,TemplateCommand:()=>c,TemplateEditing:()=>u,TemplateUI:()=>Q});var t=n(782);function e(){const t=["data","insertContent","4799600TzayHt","3929322eJQqgN","htmlProcessor","6822360wKgSkf","2913414LTuydF","2kTATpa","execute","toView","1659353iQcYlM","editor","6seaHLh","string","change","7327545WTQFxF","function","toModel","6720975KYEaGb"];return(e=function(){return t})()}const i=s;function s(t,n){const r=e();return(s=function(t,e){return r[t-=151]})(t,n)}!function(t){const e=s,n=t();for(;;)try{if(966119===parseInt(e(160))/1+-parseInt(e(157))/2*(-parseInt(e(153))/3)+-parseInt(e(155))/4+-parseInt(e(165))/5*(-parseInt(e(162))/6)+-parseInt(e(156))/7+-parseInt(e(152))/8+-parseInt(e(168))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class c extends t.Command{[i(158)](t){const e=i,{model:n}=this[e(161)];let r;switch(typeof t){case e(163):r=t;break;case e(166):r=t()}e(163)==typeof r&&n[e(164)]((()=>{const t=e,i=this[t(161)][t(169)][t(154)][t(159)](r),s=this[t(161)][t(169)][t(167)](i);n[t(151)](s)}))}}const o=a;function a(t,e){const n=l();return(a=function(t,e){return n[t-=184]})(t,e)}function l(){const t=["commands","usageLimit","isOfficialPlugin","domainLimit","templateLicenseKeyInvalid","87607APlOpg","1429358dVoXSX","config","init","2446479yonToX","insertTemplate","templateLicenseKeyUsageLimit","evaluationLimit","add","invalid","TemplateEditing","templateLicenseKeyNotAllowed","templateLicenseKeyValid","expired","featureNotAllowed","editor","licenseKey","4rCeIHo","Template","templateLicenseKeyDomainLimit","1143897YKCFGf","templateLicenseKeyEvaluationLimit","get","8MsmSxn","875820JHoppc","destroy","2770788UUwvQA","isPremiumPlugin","_licenseKeyCheckInterval","templateLicenseKeyTrialLimit","_showLicenseError","pluginName","templateLicenseKeyExpired","trialLimit","1353892qGXoJy"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(361285===parseInt(e(198))/1+-parseInt(e(192))/2+parseInt(e(218))/3*(parseInt(e(215))/4)+parseInt(e(222))/5+parseInt(e(184))/6+parseInt(e(199))/7+-parseInt(e(221))/8*(parseInt(e(202))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(214)];[o(186)];static get[o(189)](){return o(208)}static get[o(195)](){return!0}static get[o(185)](){return!0}[o(201)](){const t=o,{editor:e}=this;e[t(193)][t(206)](t(203),new c(e)),this[t(214)]=this[t(213)][t(200)][t(220)](t(214));const n=this[t(213)];this[t(186)]=setInterval((()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(210)==s||e(197)==s||e(190)==s||e(217)==s||e(209)==s||e(219)==s||e(187)==s||e(204)==s){delete n[i],r=s,clearInterval(this[e(186)]),this[e(186)]=void 0;break}}e(197)==r&&n[e(188)](e(207)),e(190)==r&&n[e(188)](e(211)),e(217)==r&&n[e(188)](e(196)),e(209)==r&&n[e(188)](e(212),e(216)),e(219)==r&&n[e(188)](e(205)),e(187)==r&&n[e(188)](e(191)),e(204)==r&&n[e(188)](e(194))}),1e3)}[o(223)](){const t=o;super[t(223)](),this[t(186)]&&clearInterval(this[t(186)])}}var p=n(355),f=n(311),d=n(584);const m=k;function h(){const t=["1711479TZYCtx","isMatching","clear","72dfAQji","10239620mttbdD","filter","addMany","set","map","741915lrDusE","_resetFiltering","forEach","183882AiijZu","originalIndex","get","buttonView","66IRYprI","4878747AmtQVW","sort","title","isVisible","15277DhpPxJ","8onIPuc","items","length","4597140buThzx","highlightText","size"];return(h=function(){return t})()}function k(t,e){const n=h();return(k=function(t,e){return n[t-=234]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(552804===-parseInt(e(236))/1*(-parseInt(e(259))/2)+parseInt(e(255))/3*(-parseInt(e(246))/4)+parseInt(e(252))/5+parseInt(e(240))/6+-parseInt(e(243))/7*(parseInt(e(237))/8)+-parseInt(e(260))/9+parseInt(e(247))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class w extends f.ListView{[m(248)](t){const e=m;if(!t)return this[e(253)]();const n=new Map,r=this[e(238)][e(251)]((r=>{const i=e,s=r[i(258)][i(244)](t);return r[i(235)]=!!s,r[i(258)][i(241)](s?t:null),s&&n[i(250)](r,s),r}))[e(261)](g)[e(261)]((i=n,function(t,e){const n=k,r=i[n(257)](t),s=i[n(257)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(234)]&&!s[n(234)]?-1:!r[n(234)]&&s[n(234)]?1:0:0}));var i;return this[e(238)][e(245)](),this[e(238)][e(249)](r),{resultsCount:n[e(242)],totalItemsCount:this[e(238)][e(239)]}}[m(253)](){const t=m,e=this[t(238)][t(251)]((t=>t))[t(261)](g);return e[t(254)]((e=>{const n=t;e[n(235)]=!0,e[n(258)][n(241)](null)})),this[t(238)][t(245)](),this[t(238)][t(249)](e),{resultsCount:e[t(239)],totalItemsCount:e[t(239)]}}}function g(t,e){const n=m;return t[n(256)]-e[n(256)]}var v=I;function I(t,e){var n=b();return(I=function(t,e){return n[t-=125]})(t,e)}function b(){var t=["24005NIOsuP","681689zvyegG","3499424xxieYM","buttonView","159066sSRcqQ","738YmYPbP","2059430YIiPRX","originalIndex","207nOYaiw","14zcPkXi","274960MYcDnk","492168eojcEI"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(724643===parseInt(e(131))/1+parseInt(e(136))/2+parseInt(e(134))/3+-parseInt(e(129))/4+-parseInt(e(130))/5*(-parseInt(e(135))/6)+-parseInt(e(127))/7*(parseInt(e(132))/8)+parseInt(e(126))/9*(-parseInt(e(128))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(125)];[v(133)];constructor(t,e){var n=v;super(t),this[n(125)]=e,this[n(133)]=null}}function x(t,e){const n=T();return(x=function(t,e){return n[t-=250]})(t,e)}const _=x;function T(){const t=["ck-button__label","option","20CpKzbd","locale","children","remove","setTemplate","textPartView","1558XJKJfO","match","templateDefinition","description","isColorInherited","titleView","span","add","2931885pBNrKD","24FhLksA","3721685idjhfo","text","ck-template-button","12018886ubDvWf","div","title","labelView","highlightText","3uavBUs","destroy","render","7473978Egtzdk","set","descriptionView","687eUVEAu","push","isMatching","ck-template-form__description","718193ytMBby","element","4319332qLVDHI","iconView","extendTemplate","ck-template-form__text-part"];return(T=function(){return t})()}!function(t){const e=x,n=t();for(;;)try{if(702482===-parseInt(e(281))/1*(parseInt(e(257))/2)+-parseInt(e(275))/3*(parseInt(e(287))/4)+parseInt(e(267))/5+-parseInt(e(278))/6+parseInt(e(285))/7*(parseInt(e(266))/8)+parseInt(e(265))/9+-parseInt(e(251))/10*(-parseInt(e(270))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[_(259)];[_(256)];constructor(t,e){const n=_;super(t),this[n(259)]=e,this[n(256)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(279)]({withText:!0,class:n(269),role:n(250),icon:r}),this[n(288)][n(261)]=!1}[_(277)](){const t=_;super[t(277)](),this[t(256)]=new V(this[t(252)],this[t(259)],this[t(273)][t(286)].id),this[t(253)][t(254)](this[t(273)]),this[t(253)][t(264)](this[t(256)])}[_(276)](){const t=_;super[t(276)](),this[t(273)][t(276)]()}[_(283)](t){const e=_,{title:n,description:r}=this[e(259)],i=!!n[e(258)](t),s=!(!r||!r[e(258)](t));return i||s?{title:i,description:s}:null}[_(274)](t){const e=_;this[e(256)][e(274)](t)}}class V extends f.View{constructor(t,e,n){const r=_;super(t),this[r(272)]=e[r(272)],this[r(260)]=e[r(260)],this[r(262)]=new f.HighlightedTextView,this[r(262)][r(268)]=this[r(272)],this[r(262)][r(289)]({tag:r(263),attributes:{class:[r(291)],id:n}});const i=[this[r(262)]];this[r(260)]&&(this[r(280)]=new f.HighlightedTextView,this[r(280)][r(268)]=this[r(260)],this[r(280)][r(289)]({tag:"p",attributes:{class:[r(284)]}}),i[r(282)](this[r(280)])),this[r(255)]({tag:r(271),attributes:{class:["ck",r(290)]},children:i})}[_(274)](t){const e=_;this[e(262)][e(274)](t),this[e(260)]&&this[e(280)][e(274)](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 P=n(673),S=n.n(P),N=n(545),C=n.n(N),E=n(262),A=n.n(E),K=n(667),O=n.n(K),j=n(357),z=n.n(j),D=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=O(),B.insert=A().bind(null,"head"),B.domAPI=C(),B.insertStyleElement=z();S()(D.A,B);D.A&&D.A.locals&&D.A.locals;const H=U;function Y(){const t=["pluginName","resultsCount","menuBar:insertTemplate","435183XvQNfY","addMany","Please try a different phrase or check the spelling.","config","isEnabled","31755KqUNat","Insert template","map","4156085JHSvHe","%0 templates found","fromCharCode","children","1554584UnXNbL","componentFactory","Template","isPremiumPlugin","set","ariaLiveAnnouncer",'No templates were found matching "%0".',"insertTemplate","bind","items","query","title","panelView","templateDefinition","source","delegate","get","No templates available.","template.definitions","length","execute","view","icon","extendTemplate","join","143682UDETcq","commands","editing","add","search","buttonView","announce","_createTemplateListView","data","ck-template-button","reset","TemplateUI","listbox","focus","ck-template-form","ck-template-list","change:isOpen","1665146ErVmrQ","isOfficialPlugin","href","299214VUefuJ","init","4BPrAwH","Search template","afterInit"];return(Y=function(){return t})()}function U(t,e){const n=Y();return(U=function(t,e){return n[t-=493]})(t,e)}!function(t){const e=U,n=t();for(;;)try{if(749386===parseInt(e(544))/1+parseInt(e(531))/2+parseInt(e(539))/3+-parseInt(e(533))/4*(-parseInt(e(547))/5)+parseInt(e(511))/6+-parseInt(e(528))/7+-parseInt(e(551))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class Q extends t.Plugin{static get[H(536)](){return H(522)}static get[H(529)](){return!0}static get[H(554)](){return!0}[H(532)](){const t=H,{editor:e}=this,n=e[t(542)][t(502)](t(504))||[];e.ui[t(552)][t(514)](t(493),(r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(518)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:M(r,i(534))},class:i(525),infoView:{text:{notFound:{primary:t=>M(r,i(557),t),secondary:M(r,i(541))},noSearchableItems:{primary:M(r,i(503))}}}}),a=e[i(512)][i(502)](i(493));return o.on(i(515),((t,n)=>{const s=i;n[s(496)]&&n[s(496)][s(505)]&&e.ui[s(556)][s(517)](M(r,s(548),n[s(537)]))})),s[i(494)](i(543)).to(a),s[i(498)][i(550)][i(514)](o),s[i(516)][i(555)]({label:M(r,i(545)),icon:p.IconTemplate,tooltip:!0}),s.on(i(527),((t,e,n)=>{n||o[i(521)]()})),s})),e.ui[t(552)][t(514)](t(538),(r=>{const i=t,s=e[i(512)][i(502)](i(493)),c=new f.MenuBarMenuView(r);c[i(516)][i(555)]({label:M(r,i(553)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(505)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(555)]({label:M(r,i(503))}),n[i(501)](i(506)).to(c),n.on(i(506),(()=>{const t=i;e[t(513)][t(507)][t(524)]()})),t[i(550)][i(514)](n),o[i(495)][i(514)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(555)]({class:i(520),label:t[i(497)],icon:t[i(508)]||p.IconTemplateGeneric}),s[i(501)](i(506)).to(c),s.on(i(506),(()=>{const n=i;e[n(506)](n(493),t[n(519)]),e[n(513)][n(507)][n(524)]()})),n[i(550)][i(514)](s),o[i(495)][i(514)](n)}return c[i(498)][i(550)][i(514)](o),c[i(494)](i(543)).to(s,i(543)),c}))}[H(535)](){!async function(t){const e=h([90,118,98,57,55,51,73,74,80,105,72,82,67,52,88,81,70,121,104,120,56,116,78,101,106,110,48,114,87,54,103,97,76,77,89,99,108,86,66,102,112,113,53,115,100,83,85,79,109,49,50,68,69,119,107,71,111,65,122,117,84,75]),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(546)]((t=>String[e(549)](t)))[e(510)]("")}!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([90]);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])]))}()?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:1750032e3;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(530)]);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)}[H(518)](t,e){const n=H,{editor:r}=this,i=new w(t);return i[n(509)]({attributes:{role:n(523),class:[n(526)]}}),i[n(495)][n(540)](e[n(546)](((e,i)=>{const s=n,c=new y(t,i),o=new L(t,e);return c[s(516)]=o,c[s(550)][s(514)](o),c[s(516)].on(s(506),(t=>{const e=s;r[e(506)](e(493),t[e(500)][e(499)][e(519)]),r[e(513)][e(507)][e(524)]()})),c}))),i}}var R=F;function X(){var t=["isOfficialPlugin","3398607IexvIk","3162TJvMXv","pluginName","8740MzHDRd","176554GRCiLQ","408cMmlnH","requires","2WBExOX","409594wZQQbH","Template","5335YktYNo","3490904VznGjP","282bVXspk","32345MHcDhU","isPremiumPlugin"];return(X=function(){return t})()}function F(t,e){var n=X();return(F=function(t,e){return n[t-=432]})(t,e)}!function(t){for(var e=F,n=t();;)try{if(241255===-parseInt(e(435))/1*(-parseInt(e(434))/2)+parseInt(e(444))/3*(-parseInt(e(432))/4)+-parseInt(e(440))/5*(-parseInt(e(439))/6)+parseInt(e(447))/7+-parseInt(e(438))/8+-parseInt(e(443))/9+-parseInt(e(446))/10*(-parseInt(e(437))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);class q extends t.Plugin{static get[R(433)](){return[u,Q]}static get[R(445)](){return R(436)}static get[R(442)](){return!0}static get[R(441)](){return!0}}function J(t,e){var n=G();return(J=function(t,e){return n[t-=270]})(t,e)}function G(){var t=["9815KDNpab","1680339MZmFiE","6679962KybbWC","2008486wYpSok","4128663cSGzWs","36IzEmUs","708hUTnkV","58675LdRSbo","2849736iRrsYh"];return(G=function(){return t})()}!function(t){for(var e=J,n=t();;)try{if(745996===-parseInt(e(277))/1+-parseInt(e(273))/2+parseInt(e(271))/3+-parseInt(e(276))/4*(-parseInt(e(270))/5)+-parseInt(e(272))/6+parseInt(e(274))/7+parseInt(e(278))/8*(parseInt(e(275))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G)})(),(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 _0x43e3a3,Plugin as _0x3213ca}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x3ed03b,IconTemplate as _0x2dfcb9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x1dd167,ListItemView as _0x15f6e0,ButtonView as _0x2ec73e,View as _0x16a062,HighlightedTextView as _0x262440,createDropdown as _0x46d174,SearchTextView as _0x507e86,MenuBarMenuView as _0x1c4b5b,MenuBarMenuListView as _0x582941,MenuBarMenuListItemView as _0x20f04b,MenuBarMenuListItemButtonView as _0x575f57}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x3ad962}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x43e3a3{['execute'](_0x25d578){const {model:_0x130e57}=this['editor'];let _0x57835e;switch(typeof _0x25d578){case'string':_0x57835e=_0x25d578;break;case'function':_0x57835e=_0x25d578();}'string'==typeof _0x57835e&&_0x130e57['change'](()=>{const _0x25d834=this['editor']['data']['htmlProcessor']['toView'](_0x57835e),_0x23e705=this['editor']['data']['toModel'](_0x25d834);_0x130e57['insertContent'](_0x23e705);});}}class i extends _0x3213ca{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x191f1c}=this;_0x191f1c['commands']['add']('insertTemplate',new o(_0x191f1c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xaf59de=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ab52b;for(const _0x25cc0a in _0xaf59de){const _0x3987dc=_0x25cc0a,_0x1d8f6b=_0xaf59de[_0x3987dc];if('templateLicenseKeyValid'==_0x1d8f6b||'templateLicenseKeyInvalid'==_0x1d8f6b||'templateLicenseKeyExpired'==_0x1d8f6b||'templateLicenseKeyDomainLimit'==_0x1d8f6b||'templateLicenseKeyNotAllowed'==_0x1d8f6b||'templateLicenseKeyEvaluationLimit'==_0x1d8f6b||'templateLicenseKeyTrialLimit'==_0x1d8f6b||'templateLicenseKeyUsageLimit'==_0x1d8f6b){delete _0xaf59de[_0x3987dc],_0x5ab52b=_0x1d8f6b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x5ab52b&&_0xaf59de['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x5ab52b&&_0xaf59de['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x5ab52b&&_0xaf59de['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x5ab52b&&_0xaf59de['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x5ab52b&&_0xaf59de['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x5ab52b&&_0xaf59de['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x5ab52b&&_0xaf59de['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class b extends _0x1dd167{['filter'](_0x5c39e1){if(!_0x5c39e1)return this['_resetFiltering']();const _0x1ea043=new Map(),_0x4647b5=this['items']['map'](_0x207dce=>{const _0x55b844=_0x207dce['buttonView']['isMatching'](_0x5c39e1);return _0x207dce['isVisible']=!!_0x55b844,_0x207dce['buttonView']['highlightText'](_0x55b844?_0x5c39e1:null),_0x55b844&&_0x1ea043['set'](_0x207dce,_0x55b844),_0x207dce;})['sort'](I)['sort'](function(_0x13eaeb){return function(_0x1a1a9a,_0x493754){const _0x586b4f=_0x13eaeb['get'](_0x1a1a9a),_0x1de947=_0x13eaeb['get'](_0x493754);return _0x586b4f&&!_0x1de947?-0x1:_0x1de947&&!_0x586b4f?0x1:_0x586b4f||_0x1de947?_0x586b4f['title']&&!_0x1de947['title']?-0x1:!_0x586b4f['title']&&_0x1de947['title']?0x1:0x0:0x0;};}(_0x1ea043));return this['items']['clear'](),this['items']['addMany'](_0x4647b5),{'resultsCount':_0x1ea043['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x2df038=this['items']['map'](_0x4a29db=>_0x4a29db)['sort'](I);return _0x2df038['forEach'](_0x3e4069=>{_0x3e4069['isVisible']=!0x0,_0x3e4069['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x2df038),{'resultsCount':_0x2df038['length'],'totalItemsCount':_0x2df038['length']};}}function I(_0x445471,_0x482971){return _0x445471['originalIndex']-_0x482971['originalIndex'];}class h extends _0x15f6e0{['originalIndex'];['buttonView'];constructor(_0x54ae06,_0x1ba1b5){super(_0x54ae06),this['originalIndex']=_0x1ba1b5,this['buttonView']=null;}}class g extends _0x2ec73e{['templateDefinition'];['textPartView'];constructor(_0x417ba4,_0x44c110){super(_0x417ba4),this['templateDefinition']=_0x44c110,this['textPartView']=null;const {icon:_0x5a2886=_0x3ed03b}=_0x44c110;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x5a2886}),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'](_0x3d3742){const {title:_0x2403d3,description:_0x3e4f54}=this['templateDefinition'],_0x433bd8=!!_0x2403d3['match'](_0x3d3742),_0x522864=!(!_0x3e4f54||!_0x3e4f54['match'](_0x3d3742));return _0x433bd8||_0x522864?{'title':_0x433bd8,'description':_0x522864}:null;}['highlightText'](_0x1ce6ac){this['textPartView']['highlightText'](_0x1ce6ac);}}class L extends _0x16a062{constructor(_0x4c8561,_0x379142,_0x334ea6){super(_0x4c8561),this['title']=_0x379142['title'],this['description']=_0x379142['description'],this['titleView']=new _0x262440(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x334ea6}});const _0x58a4e6=[this['titleView']];this['description']&&(this['descriptionView']=new _0x262440(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x58a4e6['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x58a4e6});}['highlightText'](_0x4a7804){this['titleView']['highlightText'](_0x4a7804),this['description']&&this['descriptionView']['highlightText'](_0x4a7804);}}function T(_0x2c1c54,_0x3d9761,..._0x55e1cd){const t=_0x2c1c54['t'];switch(_0x3d9761){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x55e1cd);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',..._0x55e1cd);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3d9761;}}class s extends _0x3213ca{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2d501b}=this,_0x582724=_0x2d501b['config']['get']('template.definitions')||[];_0x2d501b['ui']['componentFactory']['add']('insertTemplate',_0x2dce5e=>{const _0x59f04f=_0x46d174(_0x2dce5e),_0x315933=this['_createTemplateListView'](_0x2dce5e,_0x582724),_0x2e815b=new _0x507e86(_0x2dce5e,{'filteredView':_0x315933,'queryView':{'label':T(_0x2dce5e,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x3012ec=>T(_0x2dce5e,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x3012ec),'secondary':T(_0x2dce5e,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':T(_0x2dce5e,'No\x20templates\x20available.')}}}}),_0x39ef58=_0x2d501b['commands']['get']('insertTemplate');return _0x2e815b['on']('search',(_0x10633b,_0x3660a4)=>{_0x3660a4['query']&&_0x3660a4['query']['length']&&_0x2d501b['ui']['ariaLiveAnnouncer']['announce'](T(_0x2dce5e,'%0\x20templates\x20found',_0x3660a4['resultsCount']));}),_0x59f04f['bind']('isEnabled')['to'](_0x39ef58),_0x59f04f['panelView']['children']['add'](_0x2e815b),_0x59f04f['buttonView']['set']({'label':T(_0x2dce5e,'Insert\x20template'),'icon':_0x2dfcb9,'tooltip':!0x0}),_0x59f04f['on']('change:isOpen',(_0xcc7cc,_0x2de90b,_0x3fd69f)=>{_0x3fd69f||_0x2e815b['reset']();}),_0x59f04f;}),_0x2d501b['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x2817ff=>{const _0x12ef28=_0x2d501b['commands']['get']('insertTemplate'),_0x5ae02b=new _0x1c4b5b(_0x2817ff);_0x5ae02b['buttonView']['set']({'label':T(_0x2817ff,'Template'),'icon':_0x2dfcb9});const _0x1f203d=new _0x582941(_0x2817ff);if(!_0x582724||!_0x582724['length']){const _0x5ebe22=new _0x20f04b(_0x2817ff,_0x5ae02b),_0x5b2cac=new _0x575f57(_0x2817ff);_0x5b2cac['set']({'label':T(_0x2817ff,'No\x20templates\x20available.')}),_0x5b2cac['delegate']('execute')['to'](_0x5ae02b),_0x5b2cac['on']('execute',()=>{_0x2d501b['editing']['view']['focus']();}),_0x5ebe22['children']['add'](_0x5b2cac),_0x1f203d['items']['add'](_0x5ebe22);}for(const _0x31061c of _0x582724){const _0x34df31=new _0x20f04b(_0x2817ff,_0x5ae02b),_0xa43ba8=new _0x575f57(_0x2817ff);_0xa43ba8['set']({'class':'ck-template-button','label':_0x31061c['title'],'icon':_0x31061c['icon']||_0x3ed03b}),_0xa43ba8['delegate']('execute')['to'](_0x5ae02b),_0xa43ba8['on']('execute',()=>{_0x2d501b['execute']('insertTemplate',_0x31061c['data']),_0x2d501b['editing']['view']['focus']();}),_0x34df31['children']['add'](_0xa43ba8),_0x1f203d['items']['add'](_0x34df31);}return _0x5ae02b['panelView']['children']['add'](_0x1f203d),_0x5ae02b['bind']('isEnabled')['to'](_0x12ef28,'isEnabled'),_0x5ae02b;});}['afterInit'](){!async function(_0x20cbe5){const _0x5f5b01=_0x3607cd([0x46,0x47,0x59,0x38,0x72,0x6d,0x50,0x32,0x6c,0x6f,0x30,0x6b,0x4d,0x6e,0x4b,0x4e,0x52,0x37,0x62,0x33,0x51,0x66,0x55,0x75,0x54,0x73,0x68,0x53,0x71,0x77,0x4f,0x4c,0x5a,0x7a,0x69,0x58,0x43,0x48,0x61,0x70,0x56,0x74,0x45,0x36,0x67,0x65,0x42,0x35,0x57,0x4a,0x49,0x63,0x41,0x79,0x31,0x76,0x78,0x44,0x64,0x6a,0x39,0x34]),_0x301f41=0x75470019,_0x4a744b=0x75406ac9^_0x301f41,_0x12dfc9=window[_0x3607cd([0x44,0x61,0x74,0x65])][_0x3607cd([0x6e,0x6f,0x77])](),_0x16e366=_0x20cbe5[_0x3607cd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21d6cb=new window[(_0x3607cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x564700=>{_0x16e366[_0x3607cd([0x6f,0x6e,0x63,0x65])](_0x3607cd([0x72,0x65,0x61,0x64,0x79]),_0x564700);}),_0x4bfe98={[_0x3607cd([0x6b,0x74,0x79])]:_0x3607cd([0x45,0x43]),[_0x3607cd([0x75,0x73,0x65])]:_0x3607cd([0x73,0x69,0x67]),[_0x3607cd([0x63,0x72,0x76])]:_0x3607cd([0x50,0x2d,0x32,0x35,0x36]),[_0x3607cd([0x78])]:_0x3607cd([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]),[_0x3607cd([0x79])]:_0x3607cd([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]),[_0x3607cd([0x61,0x6c,0x67])]:_0x3607cd([0x45,0x53,0x32,0x35,0x36])},_0x2c55f6=_0x16e366[_0x3607cd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3607cd([0x67,0x65,0x74])](_0x3607cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x44ec4c(){let _0x45c0a5,_0x5a8fd8=null,_0x483c58=null;try{if(_0x2c55f6==_0x3607cd([0x47,0x50,0x4c]))return _0x3607cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45c0a5=_0x30902e(),!_0x45c0a5)return _0x3607cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45c0a5[_0x3607cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x483c58=_0x294a56(_0x45c0a5[_0x3607cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45c0a5[_0x3607cd([0x6a,0x74,0x69])])),await _0x446183()?_0x30713d()?_0x3773a3()?_0x3607cd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22e443()?(_0x45c0a5[_0x3607cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3607cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a8fd8=_0x10d11b(_0x3607cd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45c0a5[_0x3607cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3607cd([0x74,0x72,0x69,0x61,0x6c])&&(_0x5a8fd8=_0x10d11b(_0x3607cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbbe05e()):_0x3607cd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3607cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3607cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3607cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3773a3(){const _0x45e5ab=[_0x3607cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3607cd([0x74,0x72,0x69,0x61,0x6c])][_0x3607cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c0a5[_0x3607cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12dfc9/0x3e8:0xe10*_0x4a744b;return _0x45c0a5[_0x3607cd([0x65,0x78,0x70])]<_0x45e5ab;}function _0x30713d(){const _0x41431f=_0x45c0a5[_0x3607cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41431f&&(!!_0x41431f[_0x3607cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3607cd([0x2a]))||(!!_0x41431f[_0x3607cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3607cd([0x54,0x50,0x4c]))||(!!_0x41431f[_0x3607cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3607cd([0x50,0x50]))||!(!_0x41431f[_0x3607cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3607cd([0x44,0x52,0x55,0x50]))||!_0x10e75c()))));}function _0x22e443(){const _0x5dc5bf=_0x45c0a5[_0x3607cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5dc5bf||0x0==_0x5dc5bf[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40e38d}=new URL(window[_0x3607cd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5dc5bf[_0x3607cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e38d))return!0x0;const _0x4816bb=_0x40e38d[_0x3607cd([0x73,0x70,0x6c,0x69,0x74])](_0x3607cd([0x2e]));return _0x5dc5bf[_0x3607cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb879d0=>_0xb879d0[_0x3607cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3607cd([0x2a])))[_0x3607cd([0x6d,0x61,0x70])](_0xb77b9d=>_0xb77b9d[_0x3607cd([0x73,0x70,0x6c,0x69,0x74])](_0x3607cd([0x2e])))[_0x3607cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x313f90=>_0x313f90[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4816bb[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3607cd([0x6d,0x61,0x70])](_0x5806b4=>Array(_0x4816bb[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5806b4[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3607cd([0x66,0x69,0x6c,0x6c])](_0x5806b4[0x0]===_0x3607cd([0x2a])?_0x3607cd([0x2a]):'')[_0x3607cd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5806b4))[_0x3607cd([0x73,0x6f,0x6d,0x65])](_0x4a6553=>_0x4816bb[_0x3607cd([0x65,0x76,0x65,0x72,0x79])]((_0x52c49d,_0xbe93c3)=>_0x4a6553[_0xbe93c3]===_0x52c49d||_0x4a6553[_0xbe93c3]===_0x3607cd([0x2a])));}function _0xbbe05e(){return _0x5a8fd8&&_0x483c58?new window[(_0x3607cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35555f,_0x32ce93)=>{_0x5a8fd8[_0x3607cd([0x74,0x68,0x65,0x6e])](_0x35555f,_0x32ce93),_0x483c58[_0x3607cd([0x74,0x68,0x65,0x6e])](_0x402e0e=>{_0x402e0e!=_0x3607cd([0x56,0x61,0x6c,0x69,0x64])&&_0x35555f(_0x402e0e);},_0x32ce93);}):_0x5a8fd8||_0x483c58||_0x3607cd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x294a56(_0x5ee9ee,_0x550104){return new window[(_0x3607cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x268196=>{if(_0x1aa0c6())return _0x268196(_0x3607cd([0x56,0x61,0x6c,0x69,0x64]));_0x34ffec(),_0x16e366[_0x3607cd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3607cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x38adb8=!0x1;const _0x170605=_0x3ad962();function _0x57c2b7(_0x549f89){return!!_0x549f89&&(typeof _0x549f89===_0x3607cd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x549f89===_0x3607cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x549f89[_0x3607cd([0x74,0x68,0x65,0x6e])]===_0x3607cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x549f89[_0x3607cd([0x63,0x61,0x74,0x63,0x68])]===_0x3607cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a95ba(_0x206208){_0x429922(_0x206208)[_0x3607cd([0x74,0x68,0x65,0x6e])](_0x18a67b=>{if(!_0x18a67b||_0x18a67b[_0x3607cd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3607cd([0x6f,0x6b]))return _0x3607cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x296804(_0x11cb67(_0x170605+_0x550104))!=_0x18a67b[_0x3607cd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3607cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3607cd([0x56,0x61,0x6c,0x69,0x64]);})[_0x3607cd([0x74,0x68,0x65,0x6e])](_0x233823=>(_0x86da87(),_0x233823),()=>{const _0x43efd8=_0x91cfe();return null==_0x43efd8?(_0x86da87(),_0x3607cd([0x56,0x61,0x6c,0x69,0x64])):_0x3607cd(_0x12dfc9-_0x43efd8>(0x514b8419^_0x301f41)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3607cd([0x74,0x68,0x65,0x6e])](_0x268196)[_0x3607cd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x268196(_0x3607cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x88a055=0x7571ee99^_0x301f41;function _0x86da87(){const _0x55b540=_0x3607cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x296804(_0x11cb67(_0x5ee9ee)),_0x684557=_0x2a465a(_0x296804(window[_0x3607cd([0x4d,0x61,0x74,0x68])][_0x3607cd([0x63,0x65,0x69,0x6c])](_0x12dfc9/_0x88a055)));window[_0x3607cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3607cd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55b540,_0x684557);}function _0x91cfe(){const _0x2495f6=_0x3607cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x296804(_0x11cb67(_0x5ee9ee)),_0xd82151=window[_0x3607cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3607cd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2495f6);return _0xd82151?window[_0x3607cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a465a(_0xd82151),0x10)*_0x88a055:null;}function _0x429922(_0x55da34){return new window[(_0x3607cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3406cd,_0x18d5fa)=>{_0x55da34[_0x3607cd([0x74,0x68,0x65,0x6e])](_0x3406cd,_0x18d5fa),window[_0x3607cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18d5fa,0x7546d4d9^_0x301f41);});}}_0x16e366[_0x3607cd([0x6f,0x6e])](_0x3607cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d021b,_0x17a339)=>{if(_0x17a339[0x0]!=_0x5ee9ee)return _0x268196(_0x3607cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17a339[0x1]={..._0x17a339[0x1],[_0x3607cd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x170605};},{[_0x3607cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3607cd([0x68,0x69,0x67,0x68])}),_0x16e366[_0x3607cd([0x6f,0x6e])](_0x3607cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d869b=>{_0x57c2b7(_0x3d869b[_0x3607cd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x38adb8=!0x0,_0x5a95ba(_0x3d869b[_0x3607cd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3607cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3607cd([0x6c,0x6f,0x77])}),_0x21d6cb[_0x3607cd([0x74,0x68,0x65,0x6e])](()=>{_0x38adb8||_0x268196(_0x3607cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1aa0c6(){return _0x16e366[_0x3607cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3607cd([0x76,0x69,0x65,0x77])][_0x3607cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3607cd([0x61,0x75,0x74,0x6f]);}function _0x34ffec(){_0x16e366[_0x3607cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3607cd([0x76,0x69,0x65,0x77])][_0x3607cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3607cd([0x61,0x75,0x74,0x6f]);}}function _0x10d11b(_0x2dd94a){const _0x193132=[new window[(_0x3607cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8cd2b0=>setTimeout(_0x8cd2b0,0x754e3ed5^_0x301f41)),_0x21d6cb[_0x3607cd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3607cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e1972=>{let _0x1acf77=0x0;_0x16e366[_0x3607cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x3607cd([0x6f,0x6e])](_0x3607cd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x48567e,_0x54bfb8)=>{_0x54bfb8[0x0][_0x3607cd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1acf77++,_0x1acf77==(0x754701e1^_0x301f41)&&(_0x4e1972(),_0x48567e[_0x3607cd([0x6f,0x66,0x66])]());});}))];return window[_0x3607cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3607cd([0x72,0x61,0x63,0x65])](_0x193132)[_0x3607cd([0x74,0x68,0x65,0x6e])](()=>_0x2dd94a);}async function _0x252b63(){await _0x21d6cb,_0x16e366[_0x3607cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x3607cd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x160b45,_0x16e366[_0x3607cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x3607cd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x160b45,_0x16e366[_0x3607cd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3607cd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10e75c(){return window[_0x3607cd([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1ed604(_0x341904){const _0x364e6a=_0x243961();_0x16e366[_0x364e6a]=_0x3607cd([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x341904,_0x341904!=_0x3607cd([0x56,0x61,0x6c,0x69,0x64])&&_0x252b63();}function _0x243961(){const _0x196f8b=window[_0x3607cd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3607cd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3607cd([0x6e,0x6f,0x77])]())[_0x3607cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3607cd([0x2e]),'');let _0x31fbf1=_0x3607cd([0x46]);for(let _0x5cb416=0x0;_0x5cb416<_0x196f8b[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cb416+=0x2){let _0x4aa0a4=window[_0x3607cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x196f8b[_0x3607cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cb416,_0x5cb416+0x2));_0x4aa0a4>=_0x5f5b01[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4aa0a4-=_0x5f5b01[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31fbf1+=_0x5f5b01[_0x4aa0a4];}return _0x31fbf1;}function _0x30902e(){const _0x49341e=_0x2c55f6[_0x3607cd([0x73,0x70,0x6c,0x69,0x74])](_0x3607cd([0x2e]));if(0x3!=_0x49341e[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22bb0c(_0x49341e[0x1]);function _0x22bb0c(_0x5e16de){const _0x179906=_0x41b8ab(_0x5e16de);return _0x179906&&_0x428dc4()?_0x179906:null;function _0x428dc4(){const _0x279386=_0x179906[_0x3607cd([0x6a,0x74,0x69])],_0x24e187=window[_0x3607cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x279386[_0x3607cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x279386[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e4d5f={..._0x179906,[_0x3607cd([0x6a,0x74,0x69])]:_0x279386[_0x3607cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x279386[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e4d5f[_0x3607cd([0x76,0x63])],_0x11cb67(_0x4e4d5f)==_0x24e187;}}}async function _0x446183(){let _0x11a27f=!0x0;try{const _0x438db1=_0x2c55f6[_0x3607cd([0x73,0x70,0x6c,0x69,0x74])](_0x3607cd([0x2e])),[_0x5401d2,_0x42a3dd,_0x51237d]=_0x438db1;return _0x15b830(_0x5401d2),await _0x1a83c7(_0x5401d2,_0x42a3dd,_0x51237d),_0x11a27f;}catch{return!0x1;}function _0x15b830(_0x6fe17c){const _0x4231d6=_0x41b8ab(_0x6fe17c);_0x4231d6&&_0x4231d6[_0x3607cd([0x61,0x6c,0x67])]==_0x3607cd([0x45,0x53,0x32,0x35,0x36])||(_0x11a27f=!0x1);}async function _0x1a83c7(_0x28894b,_0x3a05c5,_0x362aef){const _0x50edef=window[_0x3607cd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3607cd([0x66,0x72,0x6f,0x6d])](_0x577842(_0x362aef),_0xbaf7c=>_0xbaf7c[_0x3607cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x235888=new window[(_0x3607cd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3607cd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28894b+_0x3607cd([0x2e])+_0x3a05c5),_0x26020b=window[_0x3607cd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3607cd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26020b)return;const _0x596668=await _0x26020b[_0x3607cd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3607cd([0x6a,0x77,0x6b]),_0x4bfe98,{[_0x3607cd([0x6e,0x61,0x6d,0x65])]:_0x3607cd([0x45,0x43,0x44,0x53,0x41]),[_0x3607cd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3607cd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3607cd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26020b[_0x3607cd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3607cd([0x6e,0x61,0x6d,0x65])]:_0x3607cd([0x45,0x43,0x44,0x53,0x41]),[_0x3607cd([0x68,0x61,0x73,0x68])]:{[_0x3607cd([0x6e,0x61,0x6d,0x65])]:_0x3607cd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x596668,_0x50edef,_0x235888)||(_0x11a27f=!0x1);}}function _0x41b8ab(_0x326dbb){return _0x326dbb[_0x3607cd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3607cd([0x65,0x79]))?JSON[_0x3607cd([0x70,0x61,0x72,0x73,0x65])](_0x577842(_0x326dbb)):null;}function _0x577842(_0x20eb89){return window[_0x3607cd([0x61,0x74,0x6f,0x62])](_0x20eb89[_0x3607cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3607cd([0x2b]))[_0x3607cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3607cd([0x2f])));}function _0x11cb67(_0x5d5290){let _0x100475=0x1505;function _0x4cf280(_0x2e5087){for(let _0x150404=0x0;_0x150404<_0x2e5087[_0x3607cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x150404++){const _0x1cbc87=_0x2e5087[_0x3607cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x150404);_0x100475=(_0x100475<<0x5)+_0x100475+_0x1cbc87,_0x100475&=_0x100475;}}function _0x683ded(_0x38e30f){Array[_0x3607cd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38e30f)?_0x38e30f[_0x3607cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x683ded):_0x38e30f&&typeof _0x38e30f==_0x3607cd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3607cd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38e30f)[_0x3607cd([0x73,0x6f,0x72,0x74])]()[_0x3607cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x66f8e0,_0x55faf9])=>{_0x4cf280(_0x66f8e0),_0x683ded(_0x55faf9);}):_0x4cf280(window[_0x3607cd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38e30f));}return _0x683ded(_0x5d5290),_0x100475>>>0x0;}function _0x296804(_0x4bab9e){return _0x4bab9e[_0x3607cd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3607cd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3607cd([0x30]));}function _0x2a465a(_0x256b50){return _0x256b50[_0x3607cd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3607cd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3607cd([0x6a,0x6f,0x69,0x6e])]('');}function _0x160b45(){}function _0x3607cd(_0x2549e5){return _0x2549e5['map'](_0xfffd0c=>String['fromCharCode'](_0xfffd0c))['join']('');}_0x1ed604(await _0x44ec4c());}(this);}['_createTemplateListView'](_0x3b0335,_0x362c64){const {editor:_0x79f999}=this,_0x198999=new b(_0x3b0335);return _0x198999['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x198999['items']['addMany'](_0x362c64['map']((_0x40f7fd,_0x5efb25)=>{const _0x54e5dc=new h(_0x3b0335,_0x5efb25),_0xd1397=new g(_0x3b0335,_0x40f7fd);return _0x54e5dc['buttonView']=_0xd1397,_0x54e5dc['children']['add'](_0xd1397),_0x54e5dc['buttonView']['on']('execute',_0x15fbb9=>{_0x79f999['execute']('insertTemplate',_0x15fbb9['source']['templateDefinition']['data']),_0x79f999['editing']['view']['focus']();}),_0x54e5dc;})),_0x198999;}}class m extends _0x3213ca{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{m as Template,o as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x2c249d,Plugin as _0x2614ad}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x1f3306,IconTemplate as _0x16e542}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x247180,ListItemView as _0x5213d0,ButtonView as _0x48e248,View as _0x508680,HighlightedTextView as _0x51c8a9,createDropdown as _0x31ba96,SearchTextView as _0x565c02,MenuBarMenuView as _0x3da19d,MenuBarMenuListView as _0x60d90e,MenuBarMenuListItemView as _0x1c3d54,MenuBarMenuListItemButtonView as _0x17d6af}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x2e1e6b}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x2c249d{['execute'](_0x11649c){const {model:_0x17585d}=this['editor'];let _0x2d7fc0;switch(typeof _0x11649c){case'string':_0x2d7fc0=_0x11649c;break;case'function':_0x2d7fc0=_0x11649c();}'string'==typeof _0x2d7fc0&&_0x17585d['change'](()=>{const _0x46d985=this['editor']['data']['htmlProcessor']['toView'](_0x2d7fc0),_0x423a67=this['editor']['data']['toModel'](_0x46d985);_0x17585d['insertContent'](_0x423a67);});}}class i extends _0x2614ad{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x45dea8}=this;_0x45dea8['commands']['add']('insertTemplate',new o(_0x45dea8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a617f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a3f3b;for(const _0x19cb10 in _0x4a617f){const _0x3a6ff3=_0x19cb10,_0x183c64=_0x4a617f[_0x3a6ff3];if('templateLicenseKeyValid'==_0x183c64||'templateLicenseKeyInvalid'==_0x183c64||'templateLicenseKeyExpired'==_0x183c64||'templateLicenseKeyDomainLimit'==_0x183c64||'templateLicenseKeyNotAllowed'==_0x183c64||'templateLicenseKeyEvaluationLimit'==_0x183c64||'templateLicenseKeyTrialLimit'==_0x183c64||'templateLicenseKeyUsageLimit'==_0x183c64){delete _0x4a617f[_0x3a6ff3],_0x4a3f3b=_0x183c64,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x4a3f3b&&_0x4a617f['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x4a3f3b&&_0x4a617f['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x4a3f3b&&_0x4a617f['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x4a3f3b&&_0x4a617f['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x4a3f3b&&_0x4a617f['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x4a3f3b&&_0x4a617f['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x4a3f3b&&_0x4a617f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class b extends _0x247180{['filter'](_0x5ab01a){if(!_0x5ab01a)return this['_resetFiltering']();const _0x25282b=new Map(),_0x4464e5=this['items']['map'](_0xd0a0bf=>{const _0x6b238b=_0xd0a0bf['buttonView']['isMatching'](_0x5ab01a);return _0xd0a0bf['isVisible']=!!_0x6b238b,_0xd0a0bf['buttonView']['highlightText'](_0x6b238b?_0x5ab01a:null),_0x6b238b&&_0x25282b['set'](_0xd0a0bf,_0x6b238b),_0xd0a0bf;})['sort'](I)['sort'](function(_0x18dc96){return function(_0x15ca88,_0x211366){const _0x28da27=_0x18dc96['get'](_0x15ca88),_0x5924c5=_0x18dc96['get'](_0x211366);return _0x28da27&&!_0x5924c5?-0x1:_0x5924c5&&!_0x28da27?0x1:_0x28da27||_0x5924c5?_0x28da27['title']&&!_0x5924c5['title']?-0x1:!_0x28da27['title']&&_0x5924c5['title']?0x1:0x0:0x0;};}(_0x25282b));return this['items']['clear'](),this['items']['addMany'](_0x4464e5),{'resultsCount':_0x25282b['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1ff76f=this['items']['map'](_0x2a8dce=>_0x2a8dce)['sort'](I);return _0x1ff76f['forEach'](_0x5c2701=>{_0x5c2701['isVisible']=!0x0,_0x5c2701['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1ff76f),{'resultsCount':_0x1ff76f['length'],'totalItemsCount':_0x1ff76f['length']};}}function I(_0x815bb6,_0x4d3115){return _0x815bb6['originalIndex']-_0x4d3115['originalIndex'];}class h extends _0x5213d0{['originalIndex'];['buttonView'];constructor(_0x508902,_0x522ba6){super(_0x508902),this['originalIndex']=_0x522ba6,this['buttonView']=null;}}class g extends _0x48e248{['templateDefinition'];['textPartView'];constructor(_0x2048ca,_0x4438aa){super(_0x2048ca),this['templateDefinition']=_0x4438aa,this['textPartView']=null;const {icon:_0x1ea927=_0x1f3306}=_0x4438aa;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x1ea927}),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'](_0x1da428){const {title:_0x12854d,description:_0x3a51d6}=this['templateDefinition'],_0x5918d7=!!_0x12854d['match'](_0x1da428),_0x4dd8fb=!(!_0x3a51d6||!_0x3a51d6['match'](_0x1da428));return _0x5918d7||_0x4dd8fb?{'title':_0x5918d7,'description':_0x4dd8fb}:null;}['highlightText'](_0x6eaaa7){this['textPartView']['highlightText'](_0x6eaaa7);}}class L extends _0x508680{constructor(_0x28d72a,_0x72289b,_0x261c8b){super(_0x28d72a),this['title']=_0x72289b['title'],this['description']=_0x72289b['description'],this['titleView']=new _0x51c8a9(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x261c8b}});const _0x417294=[this['titleView']];this['description']&&(this['descriptionView']=new _0x51c8a9(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x417294['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x417294});}['highlightText'](_0x1e8d00){this['titleView']['highlightText'](_0x1e8d00),this['description']&&this['descriptionView']['highlightText'](_0x1e8d00);}}function T(_0x467675,_0x37f304,..._0x411740){const t=_0x467675['t'];switch(_0x37f304){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x411740);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',..._0x411740);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x37f304;}}class s extends _0x2614ad{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x508b27}=this,_0x5ea26c=_0x508b27['config']['get']('template.definitions')||[];_0x508b27['ui']['componentFactory']['add']('insertTemplate',_0x3d2b82=>{const _0x4d46f5=_0x31ba96(_0x3d2b82),_0x5995cd=this['_createTemplateListView'](_0x3d2b82,_0x5ea26c),_0x559dc3=new _0x565c02(_0x3d2b82,{'filteredView':_0x5995cd,'queryView':{'label':T(_0x3d2b82,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x592e99=>T(_0x3d2b82,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x592e99),'secondary':T(_0x3d2b82,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':T(_0x3d2b82,'No\x20templates\x20available.')}}}}),_0x5171c2=_0x508b27['commands']['get']('insertTemplate');return _0x559dc3['on']('search',(_0x3fadf4,_0x11aaf0)=>{_0x11aaf0['query']&&_0x11aaf0['query']['length']&&_0x508b27['ui']['ariaLiveAnnouncer']['announce'](T(_0x3d2b82,'%0\x20templates\x20found',_0x11aaf0['resultsCount']));}),_0x4d46f5['bind']('isEnabled')['to'](_0x5171c2),_0x4d46f5['panelView']['children']['add'](_0x559dc3),_0x4d46f5['buttonView']['set']({'label':T(_0x3d2b82,'Insert\x20template'),'icon':_0x16e542,'tooltip':!0x0}),_0x4d46f5['on']('change:isOpen',(_0x1e30db,_0x2a9b00,_0x565a76)=>{_0x565a76||_0x559dc3['reset']();}),_0x4d46f5;}),_0x508b27['ui']['componentFactory']['add']('menuBar:insertTemplate',_0xd0cf98=>{const _0x402286=_0x508b27['commands']['get']('insertTemplate'),_0xbf6b71=new _0x3da19d(_0xd0cf98);_0xbf6b71['buttonView']['set']({'label':T(_0xd0cf98,'Template'),'icon':_0x16e542});const _0x2dbcf5=new _0x60d90e(_0xd0cf98);if(!_0x5ea26c||!_0x5ea26c['length']){const _0x64f812=new _0x1c3d54(_0xd0cf98,_0xbf6b71),_0x4fcb58=new _0x17d6af(_0xd0cf98);_0x4fcb58['set']({'label':T(_0xd0cf98,'No\x20templates\x20available.')}),_0x4fcb58['delegate']('execute')['to'](_0xbf6b71),_0x4fcb58['on']('execute',()=>{_0x508b27['editing']['view']['focus']();}),_0x64f812['children']['add'](_0x4fcb58),_0x2dbcf5['items']['add'](_0x64f812);}for(const _0xed0ded of _0x5ea26c){const _0x1e337e=new _0x1c3d54(_0xd0cf98,_0xbf6b71),_0x13bd66=new _0x17d6af(_0xd0cf98);_0x13bd66['set']({'class':'ck-template-button','label':_0xed0ded['title'],'icon':_0xed0ded['icon']||_0x1f3306}),_0x13bd66['delegate']('execute')['to'](_0xbf6b71),_0x13bd66['on']('execute',()=>{_0x508b27['execute']('insertTemplate',_0xed0ded['data']),_0x508b27['editing']['view']['focus']();}),_0x1e337e['children']['add'](_0x13bd66),_0x2dbcf5['items']['add'](_0x1e337e);}return _0xbf6b71['panelView']['children']['add'](_0x2dbcf5),_0xbf6b71['bind']('isEnabled')['to'](_0x402286,'isEnabled'),_0xbf6b71;});}['afterInit'](){!async function(_0x3518cb){const _0x233e2d=_0x5311ac([0x5a,0x76,0x62,0x39,0x37,0x33,0x49,0x4a,0x50,0x69,0x48,0x52,0x43,0x34,0x58,0x51,0x46,0x79,0x68,0x78,0x38,0x74,0x4e,0x65,0x6a,0x6e,0x30,0x72,0x57,0x36,0x67,0x61,0x4c,0x4d,0x59,0x63,0x6c,0x56,0x42,0x66,0x70,0x71,0x35,0x73,0x64,0x53,0x55,0x4f,0x6d,0x31,0x32,0x44,0x45,0x77,0x6b,0x47,0x6f,0x41,0x7a,0x75,0x54,0x4b]),_0x1ee1dd=0x15b07211,_0x2cbe78=0x15b718f9^_0x1ee1dd,_0x496e99=window[_0x5311ac([0x44,0x61,0x74,0x65])][_0x5311ac([0x6e,0x6f,0x77])](),_0x2cbac1=_0x3518cb[_0x5311ac([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x400cb2=new window[(_0x5311ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d058=>{_0x2cbac1[_0x5311ac([0x6f,0x6e,0x63,0x65])](_0x5311ac([0x72,0x65,0x61,0x64,0x79]),_0x32d058);}),_0x4efe75={[_0x5311ac([0x6b,0x74,0x79])]:_0x5311ac([0x45,0x43]),[_0x5311ac([0x75,0x73,0x65])]:_0x5311ac([0x73,0x69,0x67]),[_0x5311ac([0x63,0x72,0x76])]:_0x5311ac([0x50,0x2d,0x32,0x35,0x36]),[_0x5311ac([0x78])]:_0x5311ac([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]),[_0x5311ac([0x79])]:_0x5311ac([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]),[_0x5311ac([0x61,0x6c,0x67])]:_0x5311ac([0x45,0x53,0x32,0x35,0x36])},_0x4c7410=_0x2cbac1[_0x5311ac([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5311ac([0x67,0x65,0x74])](_0x5311ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5059d3(){let _0x39f001,_0xaa0fa1=null,_0x250be1=null;try{if(_0x4c7410==_0x5311ac([0x47,0x50,0x4c]))return _0x5311ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x39f001=_0x2cfe4a(),!_0x39f001)return _0x5311ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x39f001[_0x5311ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x250be1=_0x458436(_0x39f001[_0x5311ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x39f001[_0x5311ac([0x6a,0x74,0x69])])),await _0x1a43b2()?_0x1883ba()?_0x41e981()?_0x5311ac([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6b96c1()?(_0x39f001[_0x5311ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5311ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xaa0fa1=_0x477372(_0x5311ac([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x39f001[_0x5311ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5311ac([0x74,0x72,0x69,0x61,0x6c])&&(_0xaa0fa1=_0x477372(_0x5311ac([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4da955()):_0x5311ac([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5311ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5311ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5311ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x41e981(){const _0x2843ac=[_0x5311ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5311ac([0x74,0x72,0x69,0x61,0x6c])][_0x5311ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39f001[_0x5311ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x496e99/0x3e8:0xe10*_0x2cbe78;return _0x39f001[_0x5311ac([0x65,0x78,0x70])]<_0x2843ac;}function _0x1883ba(){const _0x3cf2c6=_0x39f001[_0x5311ac([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3cf2c6&&(!!_0x3cf2c6[_0x5311ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5311ac([0x2a]))||(!!_0x3cf2c6[_0x5311ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5311ac([0x54,0x50,0x4c]))||(!!_0x3cf2c6[_0x5311ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5311ac([0x50,0x50]))||!(!_0x3cf2c6[_0x5311ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5311ac([0x44,0x52,0x55,0x50]))||!_0x3216b8()))));}function _0x6b96c1(){const _0x48d592=_0x39f001[_0x5311ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48d592||0x0==_0x48d592[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2446d9}=new URL(window[_0x5311ac([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48d592[_0x5311ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2446d9))return!0x0;const _0x3106eb=_0x2446d9[_0x5311ac([0x73,0x70,0x6c,0x69,0x74])](_0x5311ac([0x2e]));return _0x48d592[_0x5311ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x550645=>_0x550645[_0x5311ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5311ac([0x2a])))[_0x5311ac([0x6d,0x61,0x70])](_0x54ffb1=>_0x54ffb1[_0x5311ac([0x73,0x70,0x6c,0x69,0x74])](_0x5311ac([0x2e])))[_0x5311ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x188b81=>_0x188b81[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3106eb[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5311ac([0x6d,0x61,0x70])](_0x498034=>Array(_0x3106eb[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x498034[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5311ac([0x66,0x69,0x6c,0x6c])](_0x498034[0x0]===_0x5311ac([0x2a])?_0x5311ac([0x2a]):'')[_0x5311ac([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x498034))[_0x5311ac([0x73,0x6f,0x6d,0x65])](_0x1980c7=>_0x3106eb[_0x5311ac([0x65,0x76,0x65,0x72,0x79])]((_0x3e5ffd,_0x42cd03)=>_0x1980c7[_0x42cd03]===_0x3e5ffd||_0x1980c7[_0x42cd03]===_0x5311ac([0x2a])));}function _0x4da955(){return _0xaa0fa1&&_0x250be1?new window[(_0x5311ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x523ab1,_0x59b3c8)=>{_0xaa0fa1[_0x5311ac([0x74,0x68,0x65,0x6e])](_0x523ab1,_0x59b3c8),_0x250be1[_0x5311ac([0x74,0x68,0x65,0x6e])](_0x575c12=>{_0x575c12!=_0x5311ac([0x56,0x61,0x6c,0x69,0x64])&&_0x523ab1(_0x575c12);},_0x59b3c8);}):_0xaa0fa1||_0x250be1||_0x5311ac([0x56,0x61,0x6c,0x69,0x64]);}}function _0x458436(_0x2f2ada,_0x85d47a){return new window[(_0x5311ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1468f6=>{if(_0xea1030())return _0x1468f6(_0x5311ac([0x56,0x61,0x6c,0x69,0x64]));_0x5e472e(),_0x2cbac1[_0x5311ac([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5311ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x552220=!0x1;const _0x1611b5=_0x2e1e6b();function _0x444ab9(_0xd3fe98){return!!_0xd3fe98&&(typeof _0xd3fe98===_0x5311ac([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd3fe98===_0x5311ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd3fe98[_0x5311ac([0x74,0x68,0x65,0x6e])]===_0x5311ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd3fe98[_0x5311ac([0x63,0x61,0x74,0x63,0x68])]===_0x5311ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56a588(_0x722c0a){_0x33b457(_0x722c0a)[_0x5311ac([0x74,0x68,0x65,0x6e])](_0x15fb03=>{if(!_0x15fb03||_0x15fb03[_0x5311ac([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5311ac([0x6f,0x6b]))return _0x5311ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x481707(_0x35e72e(_0x1611b5+_0x85d47a))!=_0x15fb03[_0x5311ac([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5311ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5311ac([0x56,0x61,0x6c,0x69,0x64]);})[_0x5311ac([0x74,0x68,0x65,0x6e])](_0x47964c=>(_0x39d9e3(),_0x47964c),()=>{const _0x359c52=_0x1c07f0();return null==_0x359c52?(_0x39d9e3(),_0x5311ac([0x56,0x61,0x6c,0x69,0x64])):_0x5311ac(_0x496e99-_0x359c52>(0x31bcf611^_0x1ee1dd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5311ac([0x74,0x68,0x65,0x6e])](_0x1468f6)[_0x5311ac([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1468f6(_0x5311ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f4c3b=0x15869c91^_0x1ee1dd;function _0x39d9e3(){const _0x37231a=_0x5311ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x481707(_0x35e72e(_0x2f2ada)),_0x4db73c=_0x5afa9c(_0x481707(window[_0x5311ac([0x4d,0x61,0x74,0x68])][_0x5311ac([0x63,0x65,0x69,0x6c])](_0x496e99/_0x2f4c3b)));window[_0x5311ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5311ac([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37231a,_0x4db73c);}function _0x1c07f0(){const _0x3035b9=_0x5311ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x481707(_0x35e72e(_0x2f2ada)),_0x56af9a=window[_0x5311ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5311ac([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3035b9);return _0x56af9a?window[_0x5311ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5afa9c(_0x56af9a),0x10)*_0x2f4c3b:null;}function _0x33b457(_0x38cdc1){return new window[(_0x5311ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3153ba,_0x2607e6)=>{_0x38cdc1[_0x5311ac([0x74,0x68,0x65,0x6e])](_0x3153ba,_0x2607e6),window[_0x5311ac([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2607e6,0x15b1a6d1^_0x1ee1dd);});}}_0x2cbac1[_0x5311ac([0x6f,0x6e])](_0x5311ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f1651,_0x33ff84)=>{if(_0x33ff84[0x0]!=_0x2f2ada)return _0x1468f6(_0x5311ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33ff84[0x1]={..._0x33ff84[0x1],[_0x5311ac([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1611b5};},{[_0x5311ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5311ac([0x68,0x69,0x67,0x68])}),_0x2cbac1[_0x5311ac([0x6f,0x6e])](_0x5311ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x223f1b=>{_0x444ab9(_0x223f1b[_0x5311ac([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x552220=!0x0,_0x56a588(_0x223f1b[_0x5311ac([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5311ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5311ac([0x6c,0x6f,0x77])}),_0x400cb2[_0x5311ac([0x74,0x68,0x65,0x6e])](()=>{_0x552220||_0x1468f6(_0x5311ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xea1030(){return _0x2cbac1[_0x5311ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5311ac([0x76,0x69,0x65,0x77])][_0x5311ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5311ac([0x61,0x75,0x74,0x6f]);}function _0x5e472e(){_0x2cbac1[_0x5311ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5311ac([0x76,0x69,0x65,0x77])][_0x5311ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5311ac([0x61,0x75,0x74,0x6f]);}}function _0x477372(_0x320341){const _0x1b122a=[new window[(_0x5311ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37f49b=>setTimeout(_0x37f49b,0x15b94cdd^_0x1ee1dd)),_0x400cb2[_0x5311ac([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5311ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fd729=>{let _0x291130=0x0;_0x2cbac1[_0x5311ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5311ac([0x6f,0x6e])](_0x5311ac([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f2b86,_0x4bce4d)=>{_0x4bce4d[0x0][_0x5311ac([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x291130++,_0x291130==(0x15b073e9^_0x1ee1dd)&&(_0x1fd729(),_0x2f2b86[_0x5311ac([0x6f,0x66,0x66])]());});}))];return window[_0x5311ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5311ac([0x72,0x61,0x63,0x65])](_0x1b122a)[_0x5311ac([0x74,0x68,0x65,0x6e])](()=>_0x320341);}async function _0x24052b(){await _0x400cb2,_0x2cbac1[_0x5311ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5311ac([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14f3bb,_0x2cbac1[_0x5311ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5311ac([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14f3bb,_0x2cbac1[_0x5311ac([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5311ac([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3216b8(){return window[_0x5311ac([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5ab400(_0x2d6418){const _0x404c11=_0x17bbb5();_0x2cbac1[_0x404c11]=_0x5311ac([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d6418,_0x2d6418!=_0x5311ac([0x56,0x61,0x6c,0x69,0x64])&&_0x24052b();}function _0x17bbb5(){const _0xf721b=window[_0x5311ac([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5311ac([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5311ac([0x6e,0x6f,0x77])]())[_0x5311ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5311ac([0x2e]),'');let _0x3d9c94=_0x5311ac([0x5a]);for(let _0x526183=0x0;_0x526183<_0xf721b[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x526183+=0x2){let _0x32f368=window[_0x5311ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf721b[_0x5311ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x526183,_0x526183+0x2));_0x32f368>=_0x233e2d[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32f368-=_0x233e2d[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d9c94+=_0x233e2d[_0x32f368];}return _0x3d9c94;}function _0x2cfe4a(){const _0xb51ec7=_0x4c7410[_0x5311ac([0x73,0x70,0x6c,0x69,0x74])](_0x5311ac([0x2e]));if(0x3!=_0xb51ec7[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b6b3a(_0xb51ec7[0x1]);function _0x2b6b3a(_0x3ea230){const _0x5cea27=_0x53c50e(_0x3ea230);return _0x5cea27&&_0x1c5251()?_0x5cea27:null;function _0x1c5251(){const _0x4ea2e8=_0x5cea27[_0x5311ac([0x6a,0x74,0x69])],_0x477132=window[_0x5311ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ea2e8[_0x5311ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ea2e8[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x407e12={..._0x5cea27,[_0x5311ac([0x6a,0x74,0x69])]:_0x4ea2e8[_0x5311ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ea2e8[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x407e12[_0x5311ac([0x76,0x63])],_0x35e72e(_0x407e12)==_0x477132;}}}async function _0x1a43b2(){let _0x1530bf=!0x0;try{const _0x246a86=_0x4c7410[_0x5311ac([0x73,0x70,0x6c,0x69,0x74])](_0x5311ac([0x2e])),[_0x53d344,_0x2808e9,_0x310054]=_0x246a86;return _0x24a7b0(_0x53d344),await _0x3067a1(_0x53d344,_0x2808e9,_0x310054),_0x1530bf;}catch{return!0x1;}function _0x24a7b0(_0x2d9c43){const _0x56a33a=_0x53c50e(_0x2d9c43);_0x56a33a&&_0x56a33a[_0x5311ac([0x61,0x6c,0x67])]==_0x5311ac([0x45,0x53,0x32,0x35,0x36])||(_0x1530bf=!0x1);}async function _0x3067a1(_0x788c55,_0x5b7512,_0x3d546d){const _0x37bfdb=window[_0x5311ac([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5311ac([0x66,0x72,0x6f,0x6d])](_0x8e0849(_0x3d546d),_0xa67417=>_0xa67417[_0x5311ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a2df5=new window[(_0x5311ac([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5311ac([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x788c55+_0x5311ac([0x2e])+_0x5b7512),_0x550639=window[_0x5311ac([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5311ac([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x550639)return;const _0x1283c0=await _0x550639[_0x5311ac([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5311ac([0x6a,0x77,0x6b]),_0x4efe75,{[_0x5311ac([0x6e,0x61,0x6d,0x65])]:_0x5311ac([0x45,0x43,0x44,0x53,0x41]),[_0x5311ac([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5311ac([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5311ac([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x550639[_0x5311ac([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5311ac([0x6e,0x61,0x6d,0x65])]:_0x5311ac([0x45,0x43,0x44,0x53,0x41]),[_0x5311ac([0x68,0x61,0x73,0x68])]:{[_0x5311ac([0x6e,0x61,0x6d,0x65])]:_0x5311ac([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1283c0,_0x37bfdb,_0x3a2df5)||(_0x1530bf=!0x1);}}function _0x53c50e(_0x532866){return _0x532866[_0x5311ac([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5311ac([0x65,0x79]))?JSON[_0x5311ac([0x70,0x61,0x72,0x73,0x65])](_0x8e0849(_0x532866)):null;}function _0x8e0849(_0x5ede71){return window[_0x5311ac([0x61,0x74,0x6f,0x62])](_0x5ede71[_0x5311ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5311ac([0x2b]))[_0x5311ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5311ac([0x2f])));}function _0x35e72e(_0x4158b2){let _0x113519=0x1505;function _0xa82714(_0x2ce27e){for(let _0x51aea5=0x0;_0x51aea5<_0x2ce27e[_0x5311ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51aea5++){const _0x4f7194=_0x2ce27e[_0x5311ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51aea5);_0x113519=(_0x113519<<0x5)+_0x113519+_0x4f7194,_0x113519&=_0x113519;}}function _0x5c7c37(_0x50d1ac){Array[_0x5311ac([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50d1ac)?_0x50d1ac[_0x5311ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c7c37):_0x50d1ac&&typeof _0x50d1ac==_0x5311ac([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5311ac([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50d1ac)[_0x5311ac([0x73,0x6f,0x72,0x74])]()[_0x5311ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1da2ea,_0x3c2c42])=>{_0xa82714(_0x1da2ea),_0x5c7c37(_0x3c2c42);}):_0xa82714(window[_0x5311ac([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50d1ac));}return _0x5c7c37(_0x4158b2),_0x113519>>>0x0;}function _0x481707(_0x4f8e27){return _0x4f8e27[_0x5311ac([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5311ac([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5311ac([0x30]));}function _0x5afa9c(_0x1e8809){return _0x1e8809[_0x5311ac([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5311ac([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5311ac([0x6a,0x6f,0x69,0x6e])]('');}function _0x14f3bb(){}function _0x5311ac(_0x57e52){return _0x57e52['map'](_0x5d8e03=>String['fromCharCode'](_0x5d8e03))['join']('');}_0x5ab400(await _0x5059d3());}(this);}['_createTemplateListView'](_0x52051c,_0x73b64b){const {editor:_0x582b08}=this,_0x58e5bb=new b(_0x52051c);return _0x58e5bb['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x58e5bb['items']['addMany'](_0x73b64b['map']((_0x248635,_0x17f5dd)=>{const _0x190be9=new h(_0x52051c,_0x17f5dd),_0x377a98=new g(_0x52051c,_0x248635);return _0x190be9['buttonView']=_0x377a98,_0x190be9['children']['add'](_0x377a98),_0x190be9['buttonView']['on']('execute',_0x19535d=>{_0x582b08['execute']('insertTemplate',_0x19535d['source']['templateDefinition']['data']),_0x582b08['editing']['view']['focus']();}),_0x190be9;})),_0x58e5bb;}}class m extends _0x2614ad{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{m as Template,o 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": "45.2.1-alpha.
|
|
3
|
+
"version": "45.2.1-alpha.3",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "45.2.1-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.
|
|
29
|
-
"ckeditor5": "45.2.1-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.3",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.3",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.3",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.3",
|
|
29
|
+
"ckeditor5": "45.2.1-alpha.3"
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
32
|
"author": "CKSource (http://cksource.com/)",
|
package/src/templateui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2aed73=_0x38e5;(function(_0x5a2d64,_0x4814f8){const _0x148564=_0x38e5,_0x1c8146=_0x5a2d64();while(!![]){try{const _0x4176eb=-parseInt(_0x148564(0x193))/0x1+-parseInt(_0x148564(0x1ab))/0x2+-parseInt(_0x148564(0x1a4))/0x3+-parseInt(_0x148564(0x1bf))/0x4*(-parseInt(_0x148564(0x1b9))/0x5)+-parseInt(_0x148564(0x19c))/0x6*(-parseInt(_0x148564(0x1a6))/0x7)+parseInt(_0x148564(0x194))/0x8+parseInt(_0x148564(0x195))/0x9;if(_0x4176eb===_0x4814f8)break;else _0x1c8146['push'](_0x1c8146['shift']());}catch(_0x2cadf1){_0x1c8146['push'](_0x1c8146['shift']());}}}(_0x9d27,0x494d1));import{Plugin as _0x2f5d5a}from'ckeditor5/src/core.js';function _0x38e5(_0x172d24,_0x56ea2c){const _0x9d2721=_0x9d27();return _0x38e5=function(_0x38e5cd,_0x19c6a7){_0x38e5cd=_0x38e5cd-0x18a;let _0x394034=_0x9d2721[_0x38e5cd];return _0x394034;},_0x38e5(_0x172d24,_0x56ea2c);}import{IconTemplate as _0x21a5b6,IconTemplateGeneric as _0x8d14c2}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x1e871d,MenuBarMenuListItemView as _0x4e93d3,MenuBarMenuListView as _0x5ce739,MenuBarMenuView as _0x9e79ef,SearchTextView as _0x366456,createDropdown as _0x107569}from'ckeditor5/src/ui.js';import{uid as _0x53e2b8}from'ckeditor5/src/utils.js';import _0x4c70c6 from'./ui/templatelistview.js';import _0x15a0fe from'./ui/templatelistitemview.js';import _0x27fe24 from'./ui/templatelistbuttonview.js';function _0x9d27(){const _0x12929c=['afterInit','items','query','editing','223842dxoKcI','910048FiVWkS','891864Swyewp','insertTemplate','reset','fromCharCode','panelView','No\x20templates\x20available.','Template','24942wCRIuq','isOfficialPlugin','ck-template-button','extendTemplate','componentFactory','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','join','listbox','87681BppSMb','length','931GkSbLe','source','add','title','href','934754dgxRQN','data','get','ariaLiveAnnouncer','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','announce','icon','TemplateUI','execute','templateDefinition','Insert\x20template','view','change:isOpen','menuBar:insertTemplate','1274770sErrmM','config','%0\x20templates\x20found','map','isEnabled','init','4ChfuCm','isPremiumPlugin','_createTemplateListView','set','template.definitions','addMany','commands','search','focus','delegate','ck-template-list','buttonView','ck-template-form','resultsCount','Search\x20template','children','pluginName','bind'];_0x9d27=function(){return _0x12929c;};return _0x9d27();}import{getTranslation as _0x1b1dcd}from'./utils/common-translations.js';import'../theme/template.css';export default class s extends _0x2f5d5a{static get[_0x2aed73(0x18d)](){const _0x5e5177=_0x2aed73;return _0x5e5177(0x1b2);}static get[_0x2aed73(0x19d)](){return!0x0;}static get[_0x2aed73(0x1c0)](){return!0x0;}[_0x2aed73(0x1be)](){const _0xc48472=_0x2aed73,{editor:_0x139c85}=this,_0x460242=_0x139c85[_0xc48472(0x1ba)][_0xc48472(0x1ad)](_0xc48472(0x1c3))||[];_0x139c85['ui'][_0xc48472(0x1a0)][_0xc48472(0x1a8)](_0xc48472(0x196),_0x144ddb=>{const _0x15b6fd=_0xc48472,_0x2de5b8=_0x107569(_0x144ddb),_0x450d7a=this[_0x15b6fd(0x1c1)](_0x144ddb,_0x460242),_0x2cda8a=new _0x366456(_0x144ddb,{'filteredView':_0x450d7a,'queryView':{'label':_0x1b1dcd(_0x144ddb,_0x15b6fd(0x18b))},'class':_0x15b6fd(0x1cb),'infoView':{'text':{'notFound':{'primary':_0x365e55=>_0x1b1dcd(_0x144ddb,_0x15b6fd(0x1a1),_0x365e55),'secondary':_0x1b1dcd(_0x144ddb,_0x15b6fd(0x1af))},'noSearchableItems':{'primary':_0x1b1dcd(_0x144ddb,_0x15b6fd(0x19a))}}}}),_0xf28b03=_0x139c85[_0x15b6fd(0x1c5)][_0x15b6fd(0x1ad)](_0x15b6fd(0x196));return _0x2cda8a['on'](_0x15b6fd(0x1c6),(_0x4c2438,_0x1bfde9)=>{const _0x732301=_0x15b6fd;_0x1bfde9[_0x732301(0x191)]&&_0x1bfde9[_0x732301(0x191)][_0x732301(0x1a5)]&&_0x139c85['ui'][_0x732301(0x1ae)][_0x732301(0x1b0)](_0x1b1dcd(_0x144ddb,_0x732301(0x1bb),_0x1bfde9[_0x732301(0x18a)]));}),_0x2de5b8[_0x15b6fd(0x18e)](_0x15b6fd(0x1bd))['to'](_0xf28b03),_0x2de5b8[_0x15b6fd(0x199)][_0x15b6fd(0x18c)][_0x15b6fd(0x1a8)](_0x2cda8a),_0x2de5b8[_0x15b6fd(0x1ca)][_0x15b6fd(0x1c2)]({'label':_0x1b1dcd(_0x144ddb,_0x15b6fd(0x1b5)),'icon':_0x21a5b6,'tooltip':!0x0}),_0x2de5b8['on'](_0x15b6fd(0x1b7),(_0x590905,_0x3fe09a,_0x3d9b3b)=>{const _0x3c8842=_0x15b6fd;_0x3d9b3b||_0x2cda8a[_0x3c8842(0x197)]();}),_0x2de5b8;}),_0x139c85['ui'][_0xc48472(0x1a0)][_0xc48472(0x1a8)](_0xc48472(0x1b8),_0x25afc0=>{const _0x35a177=_0xc48472,_0x2b67a7=_0x139c85[_0x35a177(0x1c5)][_0x35a177(0x1ad)](_0x35a177(0x196)),_0x23e5b0=new _0x9e79ef(_0x25afc0);_0x23e5b0[_0x35a177(0x1ca)][_0x35a177(0x1c2)]({'label':_0x1b1dcd(_0x25afc0,_0x35a177(0x19b)),'icon':_0x21a5b6});const _0x519895=new _0x5ce739(_0x25afc0);if(!_0x460242||!_0x460242[_0x35a177(0x1a5)]){const _0x58eb8c=new _0x4e93d3(_0x25afc0,_0x23e5b0),_0x2e28b9=new _0x1e871d(_0x25afc0);_0x2e28b9[_0x35a177(0x1c2)]({'label':_0x1b1dcd(_0x25afc0,_0x35a177(0x19a))}),_0x2e28b9[_0x35a177(0x1c8)](_0x35a177(0x1b3))['to'](_0x23e5b0),_0x2e28b9['on'](_0x35a177(0x1b3),()=>{const _0xfb1890=_0x35a177;_0x139c85[_0xfb1890(0x192)][_0xfb1890(0x1b6)][_0xfb1890(0x1c7)]();}),_0x58eb8c[_0x35a177(0x18c)][_0x35a177(0x1a8)](_0x2e28b9),_0x519895[_0x35a177(0x190)][_0x35a177(0x1a8)](_0x58eb8c);}for(const _0x585d1f of _0x460242){const _0x32cdf4=new _0x4e93d3(_0x25afc0,_0x23e5b0),_0x426fd3=new _0x1e871d(_0x25afc0);_0x426fd3[_0x35a177(0x1c2)]({'class':_0x35a177(0x19e),'label':_0x585d1f[_0x35a177(0x1a9)],'icon':_0x585d1f[_0x35a177(0x1b1)]||_0x8d14c2}),_0x426fd3[_0x35a177(0x1c8)](_0x35a177(0x1b3))['to'](_0x23e5b0),_0x426fd3['on'](_0x35a177(0x1b3),()=>{const _0x598137=_0x35a177;_0x139c85[_0x598137(0x1b3)](_0x598137(0x196),_0x585d1f[_0x598137(0x1ac)]),_0x139c85[_0x598137(0x192)][_0x598137(0x1b6)][_0x598137(0x1c7)]();}),_0x32cdf4[_0x35a177(0x18c)][_0x35a177(0x1a8)](_0x426fd3),_0x519895[_0x35a177(0x190)][_0x35a177(0x1a8)](_0x32cdf4);}return _0x23e5b0[_0x35a177(0x199)][_0x35a177(0x18c)][_0x35a177(0x1a8)](_0x519895),_0x23e5b0[_0x35a177(0x18e)](_0x35a177(0x1bd))['to'](_0x2b67a7,_0x35a177(0x1bd)),_0x23e5b0;});}[_0x2aed73(0x18f)](){!async function(_0x1f8c1f){const _0x46c268=_0x448667([0x46,0x47,0x59,0x38,0x72,0x6d,0x50,0x32,0x6c,0x6f,0x30,0x6b,0x4d,0x6e,0x4b,0x4e,0x52,0x37,0x62,0x33,0x51,0x66,0x55,0x75,0x54,0x73,0x68,0x53,0x71,0x77,0x4f,0x4c,0x5a,0x7a,0x69,0x58,0x43,0x48,0x61,0x70,0x56,0x74,0x45,0x36,0x67,0x65,0x42,0x35,0x57,0x4a,0x49,0x63,0x41,0x79,0x31,0x76,0x78,0x44,0x64,0x6a,0x39,0x34]),_0xcff0c=0x75470019,_0x5c302e=0x75406ac9^_0xcff0c,_0x5c595f=window[_0x448667([0x44,0x61,0x74,0x65])][_0x448667([0x6e,0x6f,0x77])](),_0x151589=_0x1f8c1f[_0x448667([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f5eb3=new window[(_0x448667([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x326f07=>{_0x151589[_0x448667([0x6f,0x6e,0x63,0x65])](_0x448667([0x72,0x65,0x61,0x64,0x79]),_0x326f07);}),_0x36296f={[_0x448667([0x6b,0x74,0x79])]:_0x448667([0x45,0x43]),[_0x448667([0x75,0x73,0x65])]:_0x448667([0x73,0x69,0x67]),[_0x448667([0x63,0x72,0x76])]:_0x448667([0x50,0x2d,0x32,0x35,0x36]),[_0x448667([0x78])]:_0x448667([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]),[_0x448667([0x79])]:_0x448667([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]),[_0x448667([0x61,0x6c,0x67])]:_0x448667([0x45,0x53,0x32,0x35,0x36])},_0x530de3=_0x151589[_0x448667([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x448667([0x67,0x65,0x74])](_0x448667([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c0df7(){let _0x4d8aaf,_0x1f6698=null,_0x58b9c5=null;try{if(_0x530de3==_0x448667([0x47,0x50,0x4c]))return _0x448667([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d8aaf=_0x3d026f(),!_0x4d8aaf)return _0x448667([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d8aaf[_0x448667([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58b9c5=_0x5bbee0(_0x4d8aaf[_0x448667([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d8aaf[_0x448667([0x6a,0x74,0x69])])),await _0x2e628b()?_0x5780e7()?_0x267dbc()?_0x448667([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5569af()?(_0x4d8aaf[_0x448667([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x448667([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f6698=_0x50c913(_0x448667([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4d8aaf[_0x448667([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x448667([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f6698=_0x50c913(_0x448667([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38b75c()):_0x448667([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x448667([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x448667([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x448667([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x267dbc(){const _0x3ee04b=[_0x448667([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x448667([0x74,0x72,0x69,0x61,0x6c])][_0x448667([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d8aaf[_0x448667([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c595f/0x3e8:0xe10*_0x5c302e;return _0x4d8aaf[_0x448667([0x65,0x78,0x70])]<_0x3ee04b;}function _0x5780e7(){const _0x5563f3=_0x4d8aaf[_0x448667([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5563f3&&(!!_0x5563f3[_0x448667([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x448667([0x2a]))||(!!_0x5563f3[_0x448667([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x448667([0x54,0x50,0x4c]))||(!!_0x5563f3[_0x448667([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x448667([0x50,0x50]))||!(!_0x5563f3[_0x448667([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x448667([0x44,0x52,0x55,0x50]))||!_0x3b746f()))));}function _0x5569af(){const _0x46a795=_0x38e5,_0x4fbed2=_0x4d8aaf[_0x448667([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fbed2||0x0==_0x4fbed2[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d70a2}=new URL(window[_0x448667([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x46a795(0x1aa)]);if(_0x4fbed2[_0x448667([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d70a2))return!0x0;const _0x26440b=_0x5d70a2[_0x448667([0x73,0x70,0x6c,0x69,0x74])](_0x448667([0x2e]));return _0x4fbed2[_0x448667([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32d27e=>_0x32d27e[_0x448667([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x448667([0x2a])))[_0x448667([0x6d,0x61,0x70])](_0x337885=>_0x337885[_0x448667([0x73,0x70,0x6c,0x69,0x74])](_0x448667([0x2e])))[_0x448667([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9aee07=>_0x9aee07[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26440b[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x448667([0x6d,0x61,0x70])](_0x3ef523=>Array(_0x26440b[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ef523[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x448667([0x66,0x69,0x6c,0x6c])](_0x3ef523[0x0]===_0x448667([0x2a])?_0x448667([0x2a]):'')[_0x448667([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ef523))[_0x448667([0x73,0x6f,0x6d,0x65])](_0x5a6091=>_0x26440b[_0x448667([0x65,0x76,0x65,0x72,0x79])]((_0x3305de,_0x4f683e)=>_0x5a6091[_0x4f683e]===_0x3305de||_0x5a6091[_0x4f683e]===_0x448667([0x2a])));}function _0x38b75c(){return _0x1f6698&&_0x58b9c5?new window[(_0x448667([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50936d,_0x292f32)=>{_0x1f6698[_0x448667([0x74,0x68,0x65,0x6e])](_0x50936d,_0x292f32),_0x58b9c5[_0x448667([0x74,0x68,0x65,0x6e])](_0xb5e7b9=>{_0xb5e7b9!=_0x448667([0x56,0x61,0x6c,0x69,0x64])&&_0x50936d(_0xb5e7b9);},_0x292f32);}):_0x1f6698||_0x58b9c5||_0x448667([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bbee0(_0x54318d,_0x18afb7){return new window[(_0x448667([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1afc1a=>{if(_0x470c61())return _0x1afc1a(_0x448667([0x56,0x61,0x6c,0x69,0x64]));_0x3f3ee0(),_0x151589[_0x448667([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x448667([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x315011=!0x1;const _0x11cf4e=_0x53e2b8();function _0x78ef16(_0x5e43e1){return!!_0x5e43e1&&(typeof _0x5e43e1===_0x448667([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e43e1===_0x448667([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e43e1[_0x448667([0x74,0x68,0x65,0x6e])]===_0x448667([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e43e1[_0x448667([0x63,0x61,0x74,0x63,0x68])]===_0x448667([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13a1e5(_0x25a83a){_0x4ce98c(_0x25a83a)[_0x448667([0x74,0x68,0x65,0x6e])](_0x378b70=>{if(!_0x378b70||_0x378b70[_0x448667([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x448667([0x6f,0x6b]))return _0x448667([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x569fba(_0x1dd887(_0x11cf4e+_0x18afb7))!=_0x378b70[_0x448667([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x448667([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x448667([0x56,0x61,0x6c,0x69,0x64]);})[_0x448667([0x74,0x68,0x65,0x6e])](_0x18da54=>(_0x4b8c37(),_0x18da54),()=>{const _0x57cc27=_0x4fac91();return null==_0x57cc27?(_0x4b8c37(),_0x448667([0x56,0x61,0x6c,0x69,0x64])):_0x448667(_0x5c595f-_0x57cc27>(0x514b8419^_0xcff0c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x448667([0x74,0x68,0x65,0x6e])](_0x1afc1a)[_0x448667([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1afc1a(_0x448667([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ba8ed=0x7571ee99^_0xcff0c;function _0x4b8c37(){const _0x3f4eb2=_0x448667([0x6c,0x6c,0x63,0x74,0x2d])+_0x569fba(_0x1dd887(_0x54318d)),_0x4dccb8=_0x293151(_0x569fba(window[_0x448667([0x4d,0x61,0x74,0x68])][_0x448667([0x63,0x65,0x69,0x6c])](_0x5c595f/_0x3ba8ed)));window[_0x448667([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x448667([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f4eb2,_0x4dccb8);}function _0x4fac91(){const _0x4bd078=_0x448667([0x6c,0x6c,0x63,0x74,0x2d])+_0x569fba(_0x1dd887(_0x54318d)),_0x17f77d=window[_0x448667([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x448667([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bd078);return _0x17f77d?window[_0x448667([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x293151(_0x17f77d),0x10)*_0x3ba8ed:null;}function _0x4ce98c(_0x5e598f){return new window[(_0x448667([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5aa8c6,_0x2654d1)=>{_0x5e598f[_0x448667([0x74,0x68,0x65,0x6e])](_0x5aa8c6,_0x2654d1),window[_0x448667([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2654d1,0x7546d4d9^_0xcff0c);});}}_0x151589[_0x448667([0x6f,0x6e])](_0x448667([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c104f,_0x2b7c67)=>{if(_0x2b7c67[0x0]!=_0x54318d)return _0x1afc1a(_0x448667([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b7c67[0x1]={..._0x2b7c67[0x1],[_0x448667([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11cf4e};},{[_0x448667([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x448667([0x68,0x69,0x67,0x68])}),_0x151589[_0x448667([0x6f,0x6e])](_0x448667([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e5f4e=>{_0x78ef16(_0x1e5f4e[_0x448667([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x315011=!0x0,_0x13a1e5(_0x1e5f4e[_0x448667([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x448667([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x448667([0x6c,0x6f,0x77])}),_0x1f5eb3[_0x448667([0x74,0x68,0x65,0x6e])](()=>{_0x315011||_0x1afc1a(_0x448667([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x470c61(){return _0x151589[_0x448667([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x448667([0x76,0x69,0x65,0x77])][_0x448667([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x448667([0x61,0x75,0x74,0x6f]);}function _0x3f3ee0(){_0x151589[_0x448667([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x448667([0x76,0x69,0x65,0x77])][_0x448667([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x448667([0x61,0x75,0x74,0x6f]);}}function _0x50c913(_0x1337c0){const _0x1dbcf3=[new window[(_0x448667([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eedc2=>setTimeout(_0x2eedc2,0x754e3ed5^_0xcff0c)),_0x1f5eb3[_0x448667([0x74,0x68,0x65,0x6e])](()=>new window[(_0x448667([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2df6ed=>{let _0x10e2ed=0x0;_0x151589[_0x448667([0x6d,0x6f,0x64,0x65,0x6c])][_0x448667([0x6f,0x6e])](_0x448667([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x389cf4,_0x533fb3)=>{_0x533fb3[0x0][_0x448667([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10e2ed++,_0x10e2ed==(0x754701e1^_0xcff0c)&&(_0x2df6ed(),_0x389cf4[_0x448667([0x6f,0x66,0x66])]());});}))];return window[_0x448667([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x448667([0x72,0x61,0x63,0x65])](_0x1dbcf3)[_0x448667([0x74,0x68,0x65,0x6e])](()=>_0x1337c0);}async function _0x5d40d3(){await _0x1f5eb3,_0x151589[_0x448667([0x6d,0x6f,0x64,0x65,0x6c])][_0x448667([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb68c79,_0x151589[_0x448667([0x6d,0x6f,0x64,0x65,0x6c])][_0x448667([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb68c79,_0x151589[_0x448667([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x448667([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b746f(){return window[_0x448667([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x148139(_0x5c23bc){const _0x4bd8dc=_0x592139();_0x151589[_0x4bd8dc]=_0x448667([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c23bc,_0x5c23bc!=_0x448667([0x56,0x61,0x6c,0x69,0x64])&&_0x5d40d3();}function _0x592139(){const _0x279773=window[_0x448667([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x448667([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x448667([0x6e,0x6f,0x77])]())[_0x448667([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x448667([0x2e]),'');let _0x6d8e6e=_0x448667([0x46]);for(let _0x4a4e4f=0x0;_0x4a4e4f<_0x279773[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a4e4f+=0x2){let _0x59063a=window[_0x448667([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x279773[_0x448667([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a4e4f,_0x4a4e4f+0x2));_0x59063a>=_0x46c268[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59063a-=_0x46c268[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6d8e6e+=_0x46c268[_0x59063a];}return _0x6d8e6e;}function _0x3d026f(){const _0x462f11=_0x530de3[_0x448667([0x73,0x70,0x6c,0x69,0x74])](_0x448667([0x2e]));if(0x3!=_0x462f11[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xafe5d0(_0x462f11[0x1]);function _0xafe5d0(_0x1a56ca){const _0x58f15b=_0x17b84b(_0x1a56ca);return _0x58f15b&&_0x321e48()?_0x58f15b:null;function _0x321e48(){const _0x16866e=_0x58f15b[_0x448667([0x6a,0x74,0x69])],_0x493537=window[_0x448667([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16866e[_0x448667([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16866e[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ff193={..._0x58f15b,[_0x448667([0x6a,0x74,0x69])]:_0x16866e[_0x448667([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16866e[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ff193[_0x448667([0x76,0x63])],_0x1dd887(_0x1ff193)==_0x493537;}}}async function _0x2e628b(){let _0x2b3f6a=!0x0;try{const _0x45b2db=_0x530de3[_0x448667([0x73,0x70,0x6c,0x69,0x74])](_0x448667([0x2e])),[_0x203826,_0x3f58d9,_0xd7b066]=_0x45b2db;return _0x4974c9(_0x203826),await _0x2e7cb7(_0x203826,_0x3f58d9,_0xd7b066),_0x2b3f6a;}catch{return!0x1;}function _0x4974c9(_0x35c90a){const _0x20eda5=_0x17b84b(_0x35c90a);_0x20eda5&&_0x20eda5[_0x448667([0x61,0x6c,0x67])]==_0x448667([0x45,0x53,0x32,0x35,0x36])||(_0x2b3f6a=!0x1);}async function _0x2e7cb7(_0x168bc3,_0x5cd8f4,_0x418c5c){const _0x1f2e4d=window[_0x448667([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x448667([0x66,0x72,0x6f,0x6d])](_0x3efe55(_0x418c5c),_0xeffae=>_0xeffae[_0x448667([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10c0b2=new window[(_0x448667([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x448667([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x168bc3+_0x448667([0x2e])+_0x5cd8f4),_0x5903e5=window[_0x448667([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x448667([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5903e5)return;const _0x5d903b=await _0x5903e5[_0x448667([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x448667([0x6a,0x77,0x6b]),_0x36296f,{[_0x448667([0x6e,0x61,0x6d,0x65])]:_0x448667([0x45,0x43,0x44,0x53,0x41]),[_0x448667([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x448667([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x448667([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5903e5[_0x448667([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x448667([0x6e,0x61,0x6d,0x65])]:_0x448667([0x45,0x43,0x44,0x53,0x41]),[_0x448667([0x68,0x61,0x73,0x68])]:{[_0x448667([0x6e,0x61,0x6d,0x65])]:_0x448667([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d903b,_0x1f2e4d,_0x10c0b2)||(_0x2b3f6a=!0x1);}}function _0x17b84b(_0x5042bb){return _0x5042bb[_0x448667([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x448667([0x65,0x79]))?JSON[_0x448667([0x70,0x61,0x72,0x73,0x65])](_0x3efe55(_0x5042bb)):null;}function _0x3efe55(_0x14714e){return window[_0x448667([0x61,0x74,0x6f,0x62])](_0x14714e[_0x448667([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x448667([0x2b]))[_0x448667([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x448667([0x2f])));}function _0x1dd887(_0x84f445){let _0x5e83c1=0x1505;function _0x518130(_0x31d288){for(let _0xe68c24=0x0;_0xe68c24<_0x31d288[_0x448667([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe68c24++){const _0x4b7cdb=_0x31d288[_0x448667([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe68c24);_0x5e83c1=(_0x5e83c1<<0x5)+_0x5e83c1+_0x4b7cdb,_0x5e83c1&=_0x5e83c1;}}function _0x4638ea(_0x1031b7){Array[_0x448667([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1031b7)?_0x1031b7[_0x448667([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4638ea):_0x1031b7&&typeof _0x1031b7==_0x448667([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x448667([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1031b7)[_0x448667([0x73,0x6f,0x72,0x74])]()[_0x448667([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x320c80,_0x3ecbed])=>{_0x518130(_0x320c80),_0x4638ea(_0x3ecbed);}):_0x518130(window[_0x448667([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1031b7));}return _0x4638ea(_0x84f445),_0x5e83c1>>>0x0;}function _0x569fba(_0x503b91){return _0x503b91[_0x448667([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x448667([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x448667([0x30]));}function _0x293151(_0x26ea16){return _0x26ea16[_0x448667([0x73,0x70,0x6c,0x69,0x74])]('')[_0x448667([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x448667([0x6a,0x6f,0x69,0x6e])]('');}function _0xb68c79(){}function _0x448667(_0x488ec2){const _0x565fb9=_0x38e5;return _0x488ec2[_0x565fb9(0x1bc)](_0x5a54e3=>String[_0x565fb9(0x198)](_0x5a54e3))[_0x565fb9(0x1a2)]('');}_0x148139(await _0x2c0df7());}(this);}[_0x2aed73(0x1c1)](_0x103e61,_0x50dcfe){const _0x292e98=_0x2aed73,{editor:_0x42f526}=this,_0x8404a5=new _0x4c70c6(_0x103e61);return _0x8404a5[_0x292e98(0x19f)]({'attributes':{'role':_0x292e98(0x1a3),'class':[_0x292e98(0x1c9)]}}),_0x8404a5[_0x292e98(0x190)][_0x292e98(0x1c4)](_0x50dcfe[_0x292e98(0x1bc)]((_0x37e1fb,_0x198cdd)=>{const _0x4ec3fd=_0x292e98,_0x2d39ab=new _0x15a0fe(_0x103e61,_0x198cdd),_0xb128ec=new _0x27fe24(_0x103e61,_0x37e1fb);return _0x2d39ab[_0x4ec3fd(0x1ca)]=_0xb128ec,_0x2d39ab[_0x4ec3fd(0x18c)][_0x4ec3fd(0x1a8)](_0xb128ec),_0x2d39ab[_0x4ec3fd(0x1ca)]['on'](_0x4ec3fd(0x1b3),_0x476c23=>{const _0x372455=_0x4ec3fd;_0x42f526[_0x372455(0x1b3)](_0x372455(0x196),_0x476c23[_0x372455(0x1a7)][_0x372455(0x1b4)][_0x372455(0x1ac)]),_0x42f526[_0x372455(0x192)][_0x372455(0x1b6)][_0x372455(0x1c7)]();}),_0x2d39ab;})),_0x8404a5;}}
|
|
23
|
+
const _0x171fa7=_0x5f3e;(function(_0x20bc62,_0x2ed942){const _0x1dfb76=_0x5f3e,_0x5df4dd=_0x20bc62();while(!![]){try{const _0x2fb51a=parseInt(_0x1dfb76(0x220))/0x1+parseInt(_0x1dfb76(0x213))/0x2+parseInt(_0x1dfb76(0x21b))/0x3+-parseInt(_0x1dfb76(0x215))/0x4*(-parseInt(_0x1dfb76(0x223))/0x5)+parseInt(_0x1dfb76(0x1ff))/0x6+-parseInt(_0x1dfb76(0x210))/0x7+-parseInt(_0x1dfb76(0x227))/0x8;if(_0x2fb51a===_0x2ed942)break;else _0x5df4dd['push'](_0x5df4dd['shift']());}catch(_0x14c0b7){_0x5df4dd['push'](_0x5df4dd['shift']());}}}(_0x2b4b,0xb6f4a));import{Plugin as _0x8de1ca}from'ckeditor5/src/core.js';import{IconTemplate as _0x1dfe4a,IconTemplateGeneric as _0x18ca9e}from'ckeditor5/src/icons.js';function _0x2b4b(){const _0x5efa01=['pluginName','resultsCount','menuBar:insertTemplate','435183XvQNfY','addMany','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','config','isEnabled','31755KqUNat','Insert\x20template','map','4156085JHSvHe','%0\x20templates\x20found','fromCharCode','children','1554584UnXNbL','componentFactory','Template','isPremiumPlugin','set','ariaLiveAnnouncer','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','insertTemplate','bind','items','query','title','panelView','templateDefinition','source','delegate','get','No\x20templates\x20available.','template.definitions','length','execute','view','icon','extendTemplate','join','143682UDETcq','commands','editing','add','search','buttonView','announce','_createTemplateListView','data','ck-template-button','reset','TemplateUI','listbox','focus','ck-template-form','ck-template-list','change:isOpen','1665146ErVmrQ','isOfficialPlugin','href','299214VUefuJ','init','4BPrAwH','Search\x20template','afterInit'];_0x2b4b=function(){return _0x5efa01;};return _0x2b4b();}import{MenuBarMenuListItemButtonView as _0x12049e,MenuBarMenuListItemView as _0x54943d,MenuBarMenuListView as _0x1c5362,MenuBarMenuView as _0x10e3da,SearchTextView as _0x588ceb,createDropdown as _0x4482a3}from'ckeditor5/src/ui.js';import{uid as _0x49b90d}from'ckeditor5/src/utils.js';import _0x52bb0f from'./ui/templatelistview.js';function _0x5f3e(_0x57b8c3,_0x2292a7){const _0x2b4b51=_0x2b4b();return _0x5f3e=function(_0x5f3e37,_0x246bd7){_0x5f3e37=_0x5f3e37-0x1ed;let _0x5a0b59=_0x2b4b51[_0x5f3e37];return _0x5a0b59;},_0x5f3e(_0x57b8c3,_0x2292a7);}import _0x1244f4 from'./ui/templatelistitemview.js';import _0xa136d6 from'./ui/templatelistbuttonview.js';import{getTranslation as _0x5c9c92}from'./utils/common-translations.js';import'../theme/template.css';export default class s extends _0x8de1ca{static get[_0x171fa7(0x218)](){const _0x57baab=_0x171fa7;return _0x57baab(0x20a);}static get[_0x171fa7(0x211)](){return!0x0;}static get[_0x171fa7(0x22a)](){return!0x0;}[_0x171fa7(0x214)](){const _0x1c3cfa=_0x171fa7,{editor:_0x1f7787}=this,_0x83fdca=_0x1f7787[_0x1c3cfa(0x21e)][_0x1c3cfa(0x1f6)](_0x1c3cfa(0x1f8))||[];_0x1f7787['ui'][_0x1c3cfa(0x228)][_0x1c3cfa(0x202)](_0x1c3cfa(0x1ed),_0x135630=>{const _0x104691=_0x1c3cfa,_0x4b7267=_0x4482a3(_0x135630),_0x3f4209=this[_0x104691(0x206)](_0x135630,_0x83fdca),_0x4b8c7b=new _0x588ceb(_0x135630,{'filteredView':_0x3f4209,'queryView':{'label':_0x5c9c92(_0x135630,_0x104691(0x216))},'class':_0x104691(0x20d),'infoView':{'text':{'notFound':{'primary':_0x233082=>_0x5c9c92(_0x135630,_0x104691(0x22d),_0x233082),'secondary':_0x5c9c92(_0x135630,_0x104691(0x21d))},'noSearchableItems':{'primary':_0x5c9c92(_0x135630,_0x104691(0x1f7))}}}}),_0x2c6d1e=_0x1f7787[_0x104691(0x200)][_0x104691(0x1f6)](_0x104691(0x1ed));return _0x4b8c7b['on'](_0x104691(0x203),(_0x5e8914,_0x4028f7)=>{const _0x3eece8=_0x104691;_0x4028f7[_0x3eece8(0x1f0)]&&_0x4028f7[_0x3eece8(0x1f0)][_0x3eece8(0x1f9)]&&_0x1f7787['ui'][_0x3eece8(0x22c)][_0x3eece8(0x205)](_0x5c9c92(_0x135630,_0x3eece8(0x224),_0x4028f7[_0x3eece8(0x219)]));}),_0x4b7267[_0x104691(0x1ee)](_0x104691(0x21f))['to'](_0x2c6d1e),_0x4b7267[_0x104691(0x1f2)][_0x104691(0x226)][_0x104691(0x202)](_0x4b8c7b),_0x4b7267[_0x104691(0x204)][_0x104691(0x22b)]({'label':_0x5c9c92(_0x135630,_0x104691(0x221)),'icon':_0x1dfe4a,'tooltip':!0x0}),_0x4b7267['on'](_0x104691(0x20f),(_0x3f4e4c,_0x2c54bd,_0x3cd238)=>{const _0x1b37ec=_0x104691;_0x3cd238||_0x4b8c7b[_0x1b37ec(0x209)]();}),_0x4b7267;}),_0x1f7787['ui'][_0x1c3cfa(0x228)][_0x1c3cfa(0x202)](_0x1c3cfa(0x21a),_0x39e544=>{const _0x55d0d5=_0x1c3cfa,_0x3444cd=_0x1f7787[_0x55d0d5(0x200)][_0x55d0d5(0x1f6)](_0x55d0d5(0x1ed)),_0x2fcba0=new _0x10e3da(_0x39e544);_0x2fcba0[_0x55d0d5(0x204)][_0x55d0d5(0x22b)]({'label':_0x5c9c92(_0x39e544,_0x55d0d5(0x229)),'icon':_0x1dfe4a});const _0x4c1dc2=new _0x1c5362(_0x39e544);if(!_0x83fdca||!_0x83fdca[_0x55d0d5(0x1f9)]){const _0xaa2ee=new _0x54943d(_0x39e544,_0x2fcba0),_0x1d7cc0=new _0x12049e(_0x39e544);_0x1d7cc0[_0x55d0d5(0x22b)]({'label':_0x5c9c92(_0x39e544,_0x55d0d5(0x1f7))}),_0x1d7cc0[_0x55d0d5(0x1f5)](_0x55d0d5(0x1fa))['to'](_0x2fcba0),_0x1d7cc0['on'](_0x55d0d5(0x1fa),()=>{const _0x32ad2b=_0x55d0d5;_0x1f7787[_0x32ad2b(0x201)][_0x32ad2b(0x1fb)][_0x32ad2b(0x20c)]();}),_0xaa2ee[_0x55d0d5(0x226)][_0x55d0d5(0x202)](_0x1d7cc0),_0x4c1dc2[_0x55d0d5(0x1ef)][_0x55d0d5(0x202)](_0xaa2ee);}for(const _0x124d0a of _0x83fdca){const _0x4caef4=new _0x54943d(_0x39e544,_0x2fcba0),_0x1a45a3=new _0x12049e(_0x39e544);_0x1a45a3[_0x55d0d5(0x22b)]({'class':_0x55d0d5(0x208),'label':_0x124d0a[_0x55d0d5(0x1f1)],'icon':_0x124d0a[_0x55d0d5(0x1fc)]||_0x18ca9e}),_0x1a45a3[_0x55d0d5(0x1f5)](_0x55d0d5(0x1fa))['to'](_0x2fcba0),_0x1a45a3['on'](_0x55d0d5(0x1fa),()=>{const _0x2e84a7=_0x55d0d5;_0x1f7787[_0x2e84a7(0x1fa)](_0x2e84a7(0x1ed),_0x124d0a[_0x2e84a7(0x207)]),_0x1f7787[_0x2e84a7(0x201)][_0x2e84a7(0x1fb)][_0x2e84a7(0x20c)]();}),_0x4caef4[_0x55d0d5(0x226)][_0x55d0d5(0x202)](_0x1a45a3),_0x4c1dc2[_0x55d0d5(0x1ef)][_0x55d0d5(0x202)](_0x4caef4);}return _0x2fcba0[_0x55d0d5(0x1f2)][_0x55d0d5(0x226)][_0x55d0d5(0x202)](_0x4c1dc2),_0x2fcba0[_0x55d0d5(0x1ee)](_0x55d0d5(0x21f))['to'](_0x3444cd,_0x55d0d5(0x21f)),_0x2fcba0;});}[_0x171fa7(0x217)](){!async function(_0x1a2dc8){const _0x23721a=_0x27c848([0x5a,0x76,0x62,0x39,0x37,0x33,0x49,0x4a,0x50,0x69,0x48,0x52,0x43,0x34,0x58,0x51,0x46,0x79,0x68,0x78,0x38,0x74,0x4e,0x65,0x6a,0x6e,0x30,0x72,0x57,0x36,0x67,0x61,0x4c,0x4d,0x59,0x63,0x6c,0x56,0x42,0x66,0x70,0x71,0x35,0x73,0x64,0x53,0x55,0x4f,0x6d,0x31,0x32,0x44,0x45,0x77,0x6b,0x47,0x6f,0x41,0x7a,0x75,0x54,0x4b]),_0x44ea2a=0x15b07211,_0x34d28e=0x15b718f9^_0x44ea2a,_0x141473=window[_0x27c848([0x44,0x61,0x74,0x65])][_0x27c848([0x6e,0x6f,0x77])](),_0x5ca640=_0x1a2dc8[_0x27c848([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a3127=new window[(_0x27c848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x277c34=>{_0x5ca640[_0x27c848([0x6f,0x6e,0x63,0x65])](_0x27c848([0x72,0x65,0x61,0x64,0x79]),_0x277c34);}),_0x3645c0={[_0x27c848([0x6b,0x74,0x79])]:_0x27c848([0x45,0x43]),[_0x27c848([0x75,0x73,0x65])]:_0x27c848([0x73,0x69,0x67]),[_0x27c848([0x63,0x72,0x76])]:_0x27c848([0x50,0x2d,0x32,0x35,0x36]),[_0x27c848([0x78])]:_0x27c848([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]),[_0x27c848([0x79])]:_0x27c848([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]),[_0x27c848([0x61,0x6c,0x67])]:_0x27c848([0x45,0x53,0x32,0x35,0x36])},_0x14a57e=_0x5ca640[_0x27c848([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27c848([0x67,0x65,0x74])](_0x27c848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1750f8(){let _0x28b2d6,_0x248fe5=null,_0x4fb3cb=null;try{if(_0x14a57e==_0x27c848([0x47,0x50,0x4c]))return _0x27c848([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28b2d6=_0xf433d3(),!_0x28b2d6)return _0x27c848([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28b2d6[_0x27c848([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fb3cb=_0x8d7f1(_0x28b2d6[_0x27c848([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28b2d6[_0x27c848([0x6a,0x74,0x69])])),await _0x243f74()?_0x50ddcb()?_0x51945b()?_0x27c848([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x393887()?(_0x28b2d6[_0x27c848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27c848([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x248fe5=_0x2c007f(_0x27c848([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x28b2d6[_0x27c848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27c848([0x74,0x72,0x69,0x61,0x6c])&&(_0x248fe5=_0x2c007f(_0x27c848([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c1477()):_0x27c848([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27c848([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27c848([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27c848([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51945b(){const _0x43478b=[_0x27c848([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27c848([0x74,0x72,0x69,0x61,0x6c])][_0x27c848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28b2d6[_0x27c848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x141473/0x3e8:0xe10*_0x34d28e;return _0x28b2d6[_0x27c848([0x65,0x78,0x70])]<_0x43478b;}function _0x50ddcb(){const _0x333adc=_0x28b2d6[_0x27c848([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x333adc&&(!!_0x333adc[_0x27c848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c848([0x2a]))||(!!_0x333adc[_0x27c848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c848([0x54,0x50,0x4c]))||(!!_0x333adc[_0x27c848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c848([0x50,0x50]))||!(!_0x333adc[_0x27c848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c848([0x44,0x52,0x55,0x50]))||!_0x165eaa()))));}function _0x393887(){const _0x1e2d7e=_0x5f3e,_0x27fc43=_0x28b2d6[_0x27c848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x27fc43||0x0==_0x27fc43[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xccb9e0}=new URL(window[_0x27c848([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1e2d7e(0x212)]);if(_0x27fc43[_0x27c848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xccb9e0))return!0x0;const _0x2afe88=_0xccb9e0[_0x27c848([0x73,0x70,0x6c,0x69,0x74])](_0x27c848([0x2e]));return _0x27fc43[_0x27c848([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d1d20=>_0x4d1d20[_0x27c848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c848([0x2a])))[_0x27c848([0x6d,0x61,0x70])](_0x219199=>_0x219199[_0x27c848([0x73,0x70,0x6c,0x69,0x74])](_0x27c848([0x2e])))[_0x27c848([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e588a=>_0x5e588a[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2afe88[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27c848([0x6d,0x61,0x70])](_0x1f331a=>Array(_0x2afe88[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f331a[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27c848([0x66,0x69,0x6c,0x6c])](_0x1f331a[0x0]===_0x27c848([0x2a])?_0x27c848([0x2a]):'')[_0x27c848([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f331a))[_0x27c848([0x73,0x6f,0x6d,0x65])](_0xd8d60a=>_0x2afe88[_0x27c848([0x65,0x76,0x65,0x72,0x79])]((_0x1d1efc,_0x33c5db)=>_0xd8d60a[_0x33c5db]===_0x1d1efc||_0xd8d60a[_0x33c5db]===_0x27c848([0x2a])));}function _0x4c1477(){return _0x248fe5&&_0x4fb3cb?new window[(_0x27c848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18a2fd,_0x5be0e7)=>{_0x248fe5[_0x27c848([0x74,0x68,0x65,0x6e])](_0x18a2fd,_0x5be0e7),_0x4fb3cb[_0x27c848([0x74,0x68,0x65,0x6e])](_0x8a5297=>{_0x8a5297!=_0x27c848([0x56,0x61,0x6c,0x69,0x64])&&_0x18a2fd(_0x8a5297);},_0x5be0e7);}):_0x248fe5||_0x4fb3cb||_0x27c848([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8d7f1(_0xe37212,_0x18d6cd){return new window[(_0x27c848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x92a407=>{if(_0x2b9ce9())return _0x92a407(_0x27c848([0x56,0x61,0x6c,0x69,0x64]));_0x168364(),_0x5ca640[_0x27c848([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27c848([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52ee9f=!0x1;const _0x218c19=_0x49b90d();function _0x504a06(_0x5228d8){return!!_0x5228d8&&(typeof _0x5228d8===_0x27c848([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5228d8===_0x27c848([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5228d8[_0x27c848([0x74,0x68,0x65,0x6e])]===_0x27c848([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5228d8[_0x27c848([0x63,0x61,0x74,0x63,0x68])]===_0x27c848([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a81c7(_0x76fc02){_0x1cffbd(_0x76fc02)[_0x27c848([0x74,0x68,0x65,0x6e])](_0x34d358=>{if(!_0x34d358||_0x34d358[_0x27c848([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27c848([0x6f,0x6b]))return _0x27c848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4fe8c6(_0x2b6111(_0x218c19+_0x18d6cd))!=_0x34d358[_0x27c848([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27c848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27c848([0x56,0x61,0x6c,0x69,0x64]);})[_0x27c848([0x74,0x68,0x65,0x6e])](_0x24768f=>(_0x1b8034(),_0x24768f),()=>{const _0x40a962=_0x58842a();return null==_0x40a962?(_0x1b8034(),_0x27c848([0x56,0x61,0x6c,0x69,0x64])):_0x27c848(_0x141473-_0x40a962>(0x31bcf611^_0x44ea2a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27c848([0x74,0x68,0x65,0x6e])](_0x92a407)[_0x27c848([0x63,0x61,0x74,0x63,0x68])](()=>{_0x92a407(_0x27c848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x116159=0x15869c91^_0x44ea2a;function _0x1b8034(){const _0x5da63b=_0x27c848([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fe8c6(_0x2b6111(_0xe37212)),_0x49d82b=_0xc1e58b(_0x4fe8c6(window[_0x27c848([0x4d,0x61,0x74,0x68])][_0x27c848([0x63,0x65,0x69,0x6c])](_0x141473/_0x116159)));window[_0x27c848([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27c848([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5da63b,_0x49d82b);}function _0x58842a(){const _0x87fa97=_0x27c848([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fe8c6(_0x2b6111(_0xe37212)),_0x35f42d=window[_0x27c848([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27c848([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x87fa97);return _0x35f42d?window[_0x27c848([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc1e58b(_0x35f42d),0x10)*_0x116159:null;}function _0x1cffbd(_0x208f68){return new window[(_0x27c848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x159a8a,_0x5c1f7b)=>{_0x208f68[_0x27c848([0x74,0x68,0x65,0x6e])](_0x159a8a,_0x5c1f7b),window[_0x27c848([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c1f7b,0x15b1a6d1^_0x44ea2a);});}}_0x5ca640[_0x27c848([0x6f,0x6e])](_0x27c848([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x385f6f,_0x5560f8)=>{if(_0x5560f8[0x0]!=_0xe37212)return _0x92a407(_0x27c848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5560f8[0x1]={..._0x5560f8[0x1],[_0x27c848([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x218c19};},{[_0x27c848([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27c848([0x68,0x69,0x67,0x68])}),_0x5ca640[_0x27c848([0x6f,0x6e])](_0x27c848([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58e13a=>{_0x504a06(_0x58e13a[_0x27c848([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52ee9f=!0x0,_0x4a81c7(_0x58e13a[_0x27c848([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27c848([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27c848([0x6c,0x6f,0x77])}),_0x4a3127[_0x27c848([0x74,0x68,0x65,0x6e])](()=>{_0x52ee9f||_0x92a407(_0x27c848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b9ce9(){return _0x5ca640[_0x27c848([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27c848([0x76,0x69,0x65,0x77])][_0x27c848([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27c848([0x61,0x75,0x74,0x6f]);}function _0x168364(){_0x5ca640[_0x27c848([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27c848([0x76,0x69,0x65,0x77])][_0x27c848([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27c848([0x61,0x75,0x74,0x6f]);}}function _0x2c007f(_0x5dddd9){const _0x4831bb=[new window[(_0x27c848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x367386=>setTimeout(_0x367386,0x15b94cdd^_0x44ea2a)),_0x4a3127[_0x27c848([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27c848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5af221=>{let _0x1a03b6=0x0;_0x5ca640[_0x27c848([0x6d,0x6f,0x64,0x65,0x6c])][_0x27c848([0x6f,0x6e])](_0x27c848([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb8e03a,_0x372acb)=>{_0x372acb[0x0][_0x27c848([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a03b6++,_0x1a03b6==(0x15b073e9^_0x44ea2a)&&(_0x5af221(),_0xb8e03a[_0x27c848([0x6f,0x66,0x66])]());});}))];return window[_0x27c848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27c848([0x72,0x61,0x63,0x65])](_0x4831bb)[_0x27c848([0x74,0x68,0x65,0x6e])](()=>_0x5dddd9);}async function _0x27e5e9(){await _0x4a3127,_0x5ca640[_0x27c848([0x6d,0x6f,0x64,0x65,0x6c])][_0x27c848([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7e4adc,_0x5ca640[_0x27c848([0x6d,0x6f,0x64,0x65,0x6c])][_0x27c848([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7e4adc,_0x5ca640[_0x27c848([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27c848([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x165eaa(){return window[_0x27c848([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5b8ebe(_0x41ece6){const _0x250c33=_0x528e8d();_0x5ca640[_0x250c33]=_0x27c848([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x41ece6,_0x41ece6!=_0x27c848([0x56,0x61,0x6c,0x69,0x64])&&_0x27e5e9();}function _0x528e8d(){const _0x4dc85b=window[_0x27c848([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27c848([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27c848([0x6e,0x6f,0x77])]())[_0x27c848([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27c848([0x2e]),'');let _0x518a9d=_0x27c848([0x5a]);for(let _0x579137=0x0;_0x579137<_0x4dc85b[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x579137+=0x2){let _0x3beff8=window[_0x27c848([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dc85b[_0x27c848([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x579137,_0x579137+0x2));_0x3beff8>=_0x23721a[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3beff8-=_0x23721a[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x518a9d+=_0x23721a[_0x3beff8];}return _0x518a9d;}function _0xf433d3(){const _0x4bdf9c=_0x14a57e[_0x27c848([0x73,0x70,0x6c,0x69,0x74])](_0x27c848([0x2e]));if(0x3!=_0x4bdf9c[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x122e32(_0x4bdf9c[0x1]);function _0x122e32(_0x54f66d){const _0x2088cc=_0x4e480c(_0x54f66d);return _0x2088cc&&_0x25d088()?_0x2088cc:null;function _0x25d088(){const _0x314279=_0x2088cc[_0x27c848([0x6a,0x74,0x69])],_0x3cd587=window[_0x27c848([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x314279[_0x27c848([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x314279[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x492d1d={..._0x2088cc,[_0x27c848([0x6a,0x74,0x69])]:_0x314279[_0x27c848([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x314279[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x492d1d[_0x27c848([0x76,0x63])],_0x2b6111(_0x492d1d)==_0x3cd587;}}}async function _0x243f74(){let _0x3ea68d=!0x0;try{const _0x27f05=_0x14a57e[_0x27c848([0x73,0x70,0x6c,0x69,0x74])](_0x27c848([0x2e])),[_0x983e1a,_0x1604fa,_0x5791fd]=_0x27f05;return _0x13be58(_0x983e1a),await _0x543384(_0x983e1a,_0x1604fa,_0x5791fd),_0x3ea68d;}catch{return!0x1;}function _0x13be58(_0x408ede){const _0x258536=_0x4e480c(_0x408ede);_0x258536&&_0x258536[_0x27c848([0x61,0x6c,0x67])]==_0x27c848([0x45,0x53,0x32,0x35,0x36])||(_0x3ea68d=!0x1);}async function _0x543384(_0x41607c,_0x5b3753,_0x5be2db){const _0x511f42=window[_0x27c848([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27c848([0x66,0x72,0x6f,0x6d])](_0x3ff6ac(_0x5be2db),_0x269e72=>_0x269e72[_0x27c848([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x595f1d=new window[(_0x27c848([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27c848([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41607c+_0x27c848([0x2e])+_0x5b3753),_0x3a70a4=window[_0x27c848([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27c848([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a70a4)return;const _0x4b9ce7=await _0x3a70a4[_0x27c848([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27c848([0x6a,0x77,0x6b]),_0x3645c0,{[_0x27c848([0x6e,0x61,0x6d,0x65])]:_0x27c848([0x45,0x43,0x44,0x53,0x41]),[_0x27c848([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27c848([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27c848([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a70a4[_0x27c848([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27c848([0x6e,0x61,0x6d,0x65])]:_0x27c848([0x45,0x43,0x44,0x53,0x41]),[_0x27c848([0x68,0x61,0x73,0x68])]:{[_0x27c848([0x6e,0x61,0x6d,0x65])]:_0x27c848([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b9ce7,_0x511f42,_0x595f1d)||(_0x3ea68d=!0x1);}}function _0x4e480c(_0x3281d9){return _0x3281d9[_0x27c848([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27c848([0x65,0x79]))?JSON[_0x27c848([0x70,0x61,0x72,0x73,0x65])](_0x3ff6ac(_0x3281d9)):null;}function _0x3ff6ac(_0x4002aa){return window[_0x27c848([0x61,0x74,0x6f,0x62])](_0x4002aa[_0x27c848([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27c848([0x2b]))[_0x27c848([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27c848([0x2f])));}function _0x2b6111(_0x54584c){let _0xca4daa=0x1505;function _0x226db2(_0xe12725){for(let _0x5f1df9=0x0;_0x5f1df9<_0xe12725[_0x27c848([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f1df9++){const _0x234a3c=_0xe12725[_0x27c848([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f1df9);_0xca4daa=(_0xca4daa<<0x5)+_0xca4daa+_0x234a3c,_0xca4daa&=_0xca4daa;}}function _0x3d594b(_0x3ed145){Array[_0x27c848([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ed145)?_0x3ed145[_0x27c848([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d594b):_0x3ed145&&typeof _0x3ed145==_0x27c848([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27c848([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ed145)[_0x27c848([0x73,0x6f,0x72,0x74])]()[_0x27c848([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x488abb,_0x3962ba])=>{_0x226db2(_0x488abb),_0x3d594b(_0x3962ba);}):_0x226db2(window[_0x27c848([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ed145));}return _0x3d594b(_0x54584c),_0xca4daa>>>0x0;}function _0x4fe8c6(_0x2e3f22){return _0x2e3f22[_0x27c848([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27c848([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27c848([0x30]));}function _0xc1e58b(_0x2a13ed){return _0x2a13ed[_0x27c848([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27c848([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27c848([0x6a,0x6f,0x69,0x6e])]('');}function _0x7e4adc(){}function _0x27c848(_0x1258f5){const _0x41ebb9=_0x5f3e;return _0x1258f5[_0x41ebb9(0x222)](_0xbcbefd=>String[_0x41ebb9(0x225)](_0xbcbefd))[_0x41ebb9(0x1fe)]('');}_0x5b8ebe(await _0x1750f8());}(this);}[_0x171fa7(0x206)](_0x2523bd,_0x4ffd8a){const _0x2c6b64=_0x171fa7,{editor:_0x4a41b2}=this,_0x3bc0b4=new _0x52bb0f(_0x2523bd);return _0x3bc0b4[_0x2c6b64(0x1fd)]({'attributes':{'role':_0x2c6b64(0x20b),'class':[_0x2c6b64(0x20e)]}}),_0x3bc0b4[_0x2c6b64(0x1ef)][_0x2c6b64(0x21c)](_0x4ffd8a[_0x2c6b64(0x222)]((_0x3dc405,_0x1f70d6)=>{const _0x79e8dd=_0x2c6b64,_0x8b9db4=new _0x1244f4(_0x2523bd,_0x1f70d6),_0x5206d6=new _0xa136d6(_0x2523bd,_0x3dc405);return _0x8b9db4[_0x79e8dd(0x204)]=_0x5206d6,_0x8b9db4[_0x79e8dd(0x226)][_0x79e8dd(0x202)](_0x5206d6),_0x8b9db4[_0x79e8dd(0x204)]['on'](_0x79e8dd(0x1fa),_0x4b964e=>{const _0x2eee7b=_0x79e8dd;_0x4a41b2[_0x2eee7b(0x1fa)](_0x2eee7b(0x1ed),_0x4b964e[_0x2eee7b(0x1f4)][_0x2eee7b(0x1f3)][_0x2eee7b(0x207)]),_0x4a41b2[_0x2eee7b(0x201)][_0x2eee7b(0x1fb)][_0x2eee7b(0x20c)]();}),_0x8b9db4;})),_0x3bc0b4;}}
|