@ckeditor/ckeditor5-template 46.0.0-alpha.7 → 46.0.0-alpha.8
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:()=>c});var r=n(168),i=n.n(r),s=n(433),a=n.n(s)()(i());a.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const c=a},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 a={};if(r)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(a[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},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 a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(c,o[e]):t.appendChild(c)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},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={},a=[],c=0;c<t.length;c++){var o=t[c],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}},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:()=>D,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>Q});var t=n(782);const e=s;function i(){const t=["382581TDTROf","2ngtQbp","4559660bZxwsp","toView","change","htmlProcessor","226965tufaFk","7827BNeCwb","4594245uzONbF","data","function","1164NcxqSz","1230460lIwXqI","toModel","editor","200tNCOKj","insertContent","execute","4251318cRTPHp","33zxbxwF","string"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=321]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(614195===-parseInt(e(325))/1*(-parseInt(e(341))/2)+-parseInt(e(326))/3*(parseInt(e(330))/4)+parseInt(e(327))/5+parseInt(e(337))/6+-parseInt(e(331))/7+-parseInt(e(334))/8*(-parseInt(e(340))/9)+-parseInt(e(321))/10*(parseInt(e(338))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class a extends t.Command{[e(336)](t){const n=e,{model:r}=this[n(333)];let i;switch(typeof t){case n(339):i=t;break;case n(329):i=t()}n(339)==typeof i&&r[n(323)](()=>{const t=n,e=this[t(333)][t(328)][t(324)][t(322)](i),s=this[t(333)][t(328)][t(332)](e);r[t(335)](s)})}}const c=l;function o(){const t=["isPremiumPlugin","9AQLycK","Template","templateLicenseKeyNotAllowed","featureNotAllowed","_licenseKeyCheckInterval","editor","templateLicenseKeyEvaluationLimit","pluginName","13090640YSnEKQ","29124nxUFaj","licenseKey","templateLicenseKeyDomainLimit","insertTemplate","templateLicenseKeyInvalid","commands","140525PVaqfj","init","36LWpkNk","expired","trialLimit","templateLicenseKeyUsageLimit","141YvCnEp","evaluationLimit","isOfficialPlugin","domainLimit","invalid","TemplateEditing","940328Iqaatv","destroy","204796iwjLKw","templateLicenseKeyTrialLimit","add","348425aapamv","get","usageLimit","templateLicenseKeyExpired","config","_showLicenseError","3572992zesmQT","templateLicenseKeyValid"];return(o=function(){return t})()}function l(t,e){const n=o();return(l=function(t,e){return n[t-=416]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(243308===-parseInt(e(435))/1+-parseInt(e(433))/2+parseInt(e(427))/3*(-parseInt(e(456))/4)+-parseInt(e(438))/5*(-parseInt(e(423))/6)+-parseInt(e(421))/7+-parseInt(e(444))/8+parseInt(e(447))/9*(parseInt(e(455))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class u extends t.Plugin{[c(416)];[c(451)];static get[c(454)](){return c(432)}static get[c(429)](){return!0}static get[c(446)](){return!0}[c(422)](){const t=c,{editor:e}=this;e[t(420)][t(437)](t(418),new a(e)),this[t(416)]=this[t(452)][t(442)][t(439)](t(416));const n=this[t(452)];this[t(451)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(445)==s||e(419)==s||e(441)==s||e(417)==s||e(449)==s||e(453)==s||e(436)==s||e(426)==s){delete n[i],r=s,clearInterval(this[e(451)]),this[e(451)]=void 0;break}}e(419)==r&&n[e(443)](e(431)),e(441)==r&&n[e(443)](e(424)),e(417)==r&&n[e(443)](e(430)),e(449)==r&&n[e(443)](e(450),e(448)),e(453)==r&&n[e(443)](e(428)),e(436)==r&&n[e(443)](e(425)),e(426)==r&&n[e(443)](e(440))},1e3)}[c(434)](){const t=c;super[t(434)](),this[t(451)]&&clearInterval(this[t(451)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=w();return(h=function(t,e){return n[t-=413]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(447673===-parseInt(e(416))/1*(-parseInt(e(415))/2)+parseInt(e(421))/3*(-parseInt(e(414))/4)+-parseInt(e(433))/5+-parseInt(e(417))/6*(parseInt(e(432))/7)+-parseInt(e(413))/8+-parseInt(e(431))/9+parseInt(e(437))/10*(parseInt(e(438))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class k extends f.ListView{[m(420)](t){const e=m;if(!t)return this[e(422)]();const n=new Map,r=this[e(426)][e(428)](r=>{const i=e,s=r[i(439)][i(427)](t);return r[i(441)]=!!s,r[i(439)][i(423)](s?t:null),s&&n[i(418)](r,s),r})[e(419)](g)[e(419)]((i=n,function(t,e){const n=h,r=i[n(429)](t),s=i[n(429)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(435)]&&!s[n(435)]?-1:!r[n(435)]&&s[n(435)]?1:0:0}));var i;return this[e(426)][e(434)](),this[e(426)][e(440)](r),{resultsCount:n[e(430)],totalItemsCount:this[e(426)][e(436)]}}[m(422)](){const t=m,e=this[t(426)][t(428)](t=>t)[t(419)](g);return e[t(424)](e=>{const n=t;e[n(441)]=!0,e[n(439)][n(423)](null)}),this[t(426)][t(434)](),this[t(426)][t(440)](e),{resultsCount:e[t(436)],totalItemsCount:e[t(436)]}}}function w(){const t=["buttonView","addMany","isVisible","1886568yIpfws","105812NiQjPh","409522lIatpE","4eJpNWG","6654dSBcaY","set","sort","filter","99fHSFsP","_resetFiltering","highlightText","forEach","originalIndex","items","isMatching","map","get","size","1179801waMJHu","4865YcqAMz","2256590OzjBpM","clear","title","length","10JlmeER","22996171rtsQBd"];return(w=function(){return t})()}function g(t,e){const n=m;return t[n(425)]-e[n(425)]}function I(t,e){var n=y();return(I=function(t,e){return n[t-=280]})(t,e)}var v=I;!function(t){for(var e=I,n=t();;)try{if(782339===parseInt(e(281))/1+parseInt(e(280))/2+parseInt(e(289))/3+-parseInt(e(283))/4+-parseInt(e(290))/5+-parseInt(e(285))/6*(parseInt(e(286))/7)+-parseInt(e(282))/8*(-parseInt(e(284))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class b extends f.ListItemView{[v(287)];[v(288)];constructor(t,e){var n=v;super(t),this[n(287)]=e,this[n(288)]=null}}function y(){var t=["buttonView","984780GyKMgc","3609795RmfjdJ","963534YayBbA","930677KXGkAe","8bIDbwc","5803972ksQMnv","17566605mmyTUc","2211774HAQyEI","14sFUpjc","originalIndex"];return(y=function(){return t})()}function x(t,e){const n=_();return(x=function(t,e){return n[t-=284]})(t,e)}function _(){const t=["remove","iconView","option","description","add","ck-template-form__text-part","setTemplate","ck-template-button","children","match","div","18fOkpDq","span","1241658noOtGH","ck-template-form__description","locale","titleView","ck-button__label","labelView","text","isColorInherited","1459610KqpgdK","descriptionView","render","extendTemplate","highlightText","isMatching","138810qopGwC","45XCfHdy","templateDefinition","561KQoRLP","62584NsUEtO","set","textPartView","1629123sRsntJ","title","element","push","destroy","96230XHLufd","2055968URNtrc","1abjzCS"];return(_=function(){return t})()}const T=x;!function(t){const e=x,n=t();for(;;)try{if(335958===-parseInt(e(313))/1*(parseInt(e(285))/2)+parseInt(e(306))/3+parseInt(e(312))/4+parseInt(e(293))/5+-parseInt(e(325))/6*(-parseInt(e(299))/7)+parseInt(e(303))/8*(parseInt(e(300))/9)+parseInt(e(311))/10*(-parseInt(e(302))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[T(301)];[T(305)];constructor(t,e){const n=T;super(t),this[n(301)]=e,this[n(305)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(304)]({withText:!0,class:n(321),role:n(316),icon:r}),this[n(315)][n(292)]=!1}[T(295)](){const t=T;super[t(295)](),this[t(305)]=new M(this[t(287)],this[t(301)],this[t(290)][t(308)].id),this[t(322)][t(314)](this[t(290)]),this[t(322)][t(318)](this[t(305)])}[T(310)](){const t=T;super[t(310)](),this[t(290)][t(310)]()}[T(298)](t){const e=T,{title:n,description:r}=this[e(301)],i=!!n[e(323)](t),s=!(!r||!r[e(323)](t));return i||s?{title:i,description:s}:null}[T(297)](t){const e=T;this[e(305)][e(297)](t)}}class M extends f.View{constructor(t,e,n){const r=T;super(t),this[r(307)]=e[r(307)],this[r(317)]=e[r(317)],this[r(288)]=new f.HighlightedTextView,this[r(288)][r(291)]=this[r(307)],this[r(288)][r(296)]({tag:r(284),attributes:{class:[r(289)],id:n}});const i=[this[r(288)]];this[r(317)]&&(this[r(294)]=new f.HighlightedTextView,this[r(294)][r(291)]=this[r(317)],this[r(294)][r(296)]({tag:"p",attributes:{class:[r(286)]}}),i[r(309)](this[r(294)])),this[r(320)]({tag:r(324),attributes:{class:["ck",r(319)]},children:i})}[T(297)](t){const e=T;this[e(288)][e(297)](t),this[e(317)]&&this[e(294)][e(297)](t)}}function N(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),C=n(545),V=n.n(C),j=n(262),K=n.n(j),O=n(667),E=n.n(O),A=n(357),z=n.n(A),B=n(175),H={attributes:{"data-cke":!0}};H.setAttributes=E(),H.insert=K().bind(null,"head"),H.domAPI=V(),H.insertStyleElement=z();S()(B.A,H);B.A&&B.A.locals&&B.A.locals;const J=F;function q(){const t=["listbox","join","source","change:isOpen","8kAlcDm","view","length","data","map","children","icon","isPremiumPlugin","pluginName","href","extendTemplate","commands","insertTemplate","%0 templates found","config","template.definitions","3UpQZEI","search","componentFactory","TemplateUI","delegate","ariaLiveAnnouncer","afterInit","editing","title","2074606IolkGt","Search template","ck-template-form","fromCharCode","announce","set","get","ck-template-list","608400edPtSB","Template","menuBar:insertTemplate","isEnabled","reset","init","1260738gRbdbP","add","10923346syMOiT","panelView","items","resultsCount","bind","buttonView","632580JWIpSi","isOfficialPlugin","_createTemplateListView","ck-template-button","3143898eahrye","Please try a different phrase or check the spelling.","2903695JYxjLK","templateDefinition","query","addMany","focus","No templates available.","execute",'No templates were found matching "%0".',"Insert template"];return(q=function(){return t})()}function F(t,e){const n=q();return(F=function(t,e){return n[t-=237]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(884864===parseInt(e(277))/1+-parseInt(e(263))/2*(-parseInt(e(254))/3)+parseInt(e(285))/4+parseInt(e(291))/5+-parseInt(e(289))/6+parseInt(e(279))/7*(-parseInt(e(238))/8)+-parseInt(e(271))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class Q extends t.Plugin{static get[J(246)](){return J(257)}static get[J(286)](){return!0}static get[J(245)](){return!0}[J(276)](){const t=J,{editor:e}=this,n=e[t(252)][t(269)](t(253))||[];e.ui[t(256)][t(278)](t(250),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(287)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:N(r,i(264))},class:i(265),infoView:{text:{notFound:{primary:t=>N(r,i(298),t),secondary:N(r,i(290))},noSearchableItems:{primary:N(r,i(296))}}}}),o=e[i(249)][i(269)](i(250));return c.on(i(255),(t,n)=>{const s=i;n[s(293)]&&n[s(293)][s(240)]&&e.ui[s(259)][s(267)](N(r,s(251),n[s(282)]))}),s[i(283)](i(274)).to(o),s[i(280)][i(243)][i(278)](c),s[i(284)][i(268)]({label:N(r,i(299)),icon:p.IconTemplate,tooltip:!0}),s.on(i(237),(t,e,n)=>{n||c[i(275)]()}),s}),e.ui[t(256)][t(278)](t(273),r=>{const i=t,s=e[i(249)][i(269)](i(250)),a=new f.MenuBarMenuView(r);a[i(284)][i(268)]({label:N(r,i(272)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(240)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(268)]({label:N(r,i(296))}),n[i(258)](i(297)).to(a),n.on(i(297),()=>{const t=i;e[t(261)][t(239)][t(295)]()}),t[i(243)][i(278)](n),c[i(281)][i(278)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(268)]({class:i(288),label:t[i(262)],icon:t[i(244)]||p.IconTemplateGeneric}),s[i(258)](i(297)).to(a),s.on(i(297),()=>{const n=i;e[n(297)](n(250),t[n(241)]),e[n(261)][n(239)][n(295)]()}),n[i(243)][i(278)](s),c[i(281)][i(278)](n)}return a[i(280)][i(243)][i(278)](c),a[i(283)](i(274)).to(s,i(274)),a})}[J(260)](){!async function(t){const e=h([80,82,51,87,118,101,120,67,119,112,70,74,97,115,54,50,100,86,113,79,116,81,85,106,49,78,53,66,71,107,98,55,73,108,57,121,52,122,103,88,109,56,114,99,111,68,102,76,110,84,89,117,83,75,105,90,104,65,69,72,77,48]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function o(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=F;return t[e(242)](t=>String[e(266)](t))[e(301)]("")}!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([80]);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 a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=o(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(c=>{if(s())return c(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){o(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();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])](c)[h([99,97,116,99,104])](()=>{c(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 a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function o(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(o=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{o||c(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 a(){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=a[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=o(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(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),c=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!c)return;const o=await c[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 c[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},o,i,a)||(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:1751932800;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=F,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(247)]);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=c(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=c(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)}[J(287)](t,e){const n=J,{editor:r}=this,i=new k(t);return i[n(248)]({attributes:{role:n(300),class:[n(270)]}}),i[n(281)][n(294)](e[n(242)]((e,i)=>{const s=n,a=new b(t,i),c=new L(t,e);return a[s(284)]=c,a[s(243)][s(278)](c),a[s(284)].on(s(297),t=>{const e=s;r[e(297)](e(250),t[e(302)][e(292)][e(241)]),r[e(261)][e(239)][e(295)]()}),a})),i}}var R=U;function U(t,e){var n=G();return(U=function(t,e){return n[t-=302]})(t,e)}!function(t){for(var e=U,n=t();;)try{if(840659===parseInt(e(313))/1*(-parseInt(e(317))/2)+-parseInt(e(303))/3+-parseInt(e(306))/4+-parseInt(e(310))/5*(-parseInt(e(315))/6)+parseInt(e(316))/7+parseInt(e(312))/8*(-parseInt(e(309))/9)+-parseInt(e(302))/10*(-parseInt(e(304))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class D extends t.Plugin{static get[R(311)](){return[u,Q]}static get[R(308)](){return R(307)}static get[R(305)](){return!0}static get[R(314)](){return!0}}function G(){var t=["460UqzgSs","3876507IXHjtK","854293leyuil","isOfficialPlugin","6050920JJlhhg","Template","pluginName","222615wdrCwF","415ZVHYik","requires","280uzTZHk","1QsijIP","isPremiumPlugin","86262mtXGDn","1537585vdQJhf","948322tKIMJz"];return(G=function(){return t})()}function X(){var t=["9hOZvrw","3400014CsJMbE","4KkXPfQ","4396696yJJUhH","32rFsWvh","571569HNwbOl","218736qpGjOe","177035lIFBuH","3329676JuIUGv","5704330HrQAMN"];return(X=function(){return t})()}function Y(t,e){var n=X();return(Y=function(t,e){return n[t-=444]})(t,e)}!function(t){for(var e=Y,n=t();;)try{if(333719===-parseInt(e(453))/1+-parseInt(e(449))/2*(-parseInt(e(452))/3)+-parseInt(e(451))/4*(-parseInt(e(444))/5)+-parseInt(e(448))/6+parseInt(e(445))/7+parseInt(e(450))/8+-parseInt(e(447))/9*(parseInt(e(446))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(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:()=>c});var r=n(168),i=n.n(r),s=n(433),a=n.n(s)()(i());a.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const c=a},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 a={};if(r)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(a[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},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 a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(c,o[e]):t.appendChild(c)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},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={},a=[],c=0;c<t.length;c++){var o=t[c],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}},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:()=>U,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);const e=s;function i(){const t=["382581TDTROf","2ngtQbp","4559660bZxwsp","toView","change","htmlProcessor","226965tufaFk","7827BNeCwb","4594245uzONbF","data","function","1164NcxqSz","1230460lIwXqI","toModel","editor","200tNCOKj","insertContent","execute","4251318cRTPHp","33zxbxwF","string"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=321]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(614195===-parseInt(e(325))/1*(-parseInt(e(341))/2)+-parseInt(e(326))/3*(parseInt(e(330))/4)+parseInt(e(327))/5+parseInt(e(337))/6+-parseInt(e(331))/7+-parseInt(e(334))/8*(-parseInt(e(340))/9)+-parseInt(e(321))/10*(parseInt(e(338))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class a extends t.Command{[e(336)](t){const n=e,{model:r}=this[n(333)];let i;switch(typeof t){case n(339):i=t;break;case n(329):i=t()}n(339)==typeof i&&r[n(323)](()=>{const t=n,e=this[t(333)][t(328)][t(324)][t(322)](i),s=this[t(333)][t(328)][t(332)](e);r[t(335)](s)})}}const c=l;function o(){const t=["isPremiumPlugin","9AQLycK","Template","templateLicenseKeyNotAllowed","featureNotAllowed","_licenseKeyCheckInterval","editor","templateLicenseKeyEvaluationLimit","pluginName","13090640YSnEKQ","29124nxUFaj","licenseKey","templateLicenseKeyDomainLimit","insertTemplate","templateLicenseKeyInvalid","commands","140525PVaqfj","init","36LWpkNk","expired","trialLimit","templateLicenseKeyUsageLimit","141YvCnEp","evaluationLimit","isOfficialPlugin","domainLimit","invalid","TemplateEditing","940328Iqaatv","destroy","204796iwjLKw","templateLicenseKeyTrialLimit","add","348425aapamv","get","usageLimit","templateLicenseKeyExpired","config","_showLicenseError","3572992zesmQT","templateLicenseKeyValid"];return(o=function(){return t})()}function l(t,e){const n=o();return(l=function(t,e){return n[t-=416]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(243308===-parseInt(e(435))/1+-parseInt(e(433))/2+parseInt(e(427))/3*(-parseInt(e(456))/4)+-parseInt(e(438))/5*(-parseInt(e(423))/6)+-parseInt(e(421))/7+-parseInt(e(444))/8+parseInt(e(447))/9*(parseInt(e(455))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(o);class u extends t.Plugin{[c(416)];[c(451)];static get[c(454)](){return c(432)}static get[c(429)](){return!0}static get[c(446)](){return!0}[c(422)](){const t=c,{editor:e}=this;e[t(420)][t(437)](t(418),new a(e)),this[t(416)]=this[t(452)][t(442)][t(439)](t(416));const n=this[t(452)];this[t(451)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(445)==s||e(419)==s||e(441)==s||e(417)==s||e(449)==s||e(453)==s||e(436)==s||e(426)==s){delete n[i],r=s,clearInterval(this[e(451)]),this[e(451)]=void 0;break}}e(419)==r&&n[e(443)](e(431)),e(441)==r&&n[e(443)](e(424)),e(417)==r&&n[e(443)](e(430)),e(449)==r&&n[e(443)](e(450),e(448)),e(453)==r&&n[e(443)](e(428)),e(436)==r&&n[e(443)](e(425)),e(426)==r&&n[e(443)](e(440))},1e3)}[c(434)](){const t=c;super[t(434)](),this[t(451)]&&clearInterval(this[t(451)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=w();return(h=function(t,e){return n[t-=413]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(447673===-parseInt(e(416))/1*(-parseInt(e(415))/2)+parseInt(e(421))/3*(-parseInt(e(414))/4)+-parseInt(e(433))/5+-parseInt(e(417))/6*(parseInt(e(432))/7)+-parseInt(e(413))/8+-parseInt(e(431))/9+parseInt(e(437))/10*(parseInt(e(438))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class k extends f.ListView{[m(420)](t){const e=m;if(!t)return this[e(422)]();const n=new Map,r=this[e(426)][e(428)](r=>{const i=e,s=r[i(439)][i(427)](t);return r[i(441)]=!!s,r[i(439)][i(423)](s?t:null),s&&n[i(418)](r,s),r})[e(419)](g)[e(419)]((i=n,function(t,e){const n=h,r=i[n(429)](t),s=i[n(429)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(435)]&&!s[n(435)]?-1:!r[n(435)]&&s[n(435)]?1:0:0}));var i;return this[e(426)][e(434)](),this[e(426)][e(440)](r),{resultsCount:n[e(430)],totalItemsCount:this[e(426)][e(436)]}}[m(422)](){const t=m,e=this[t(426)][t(428)](t=>t)[t(419)](g);return e[t(424)](e=>{const n=t;e[n(441)]=!0,e[n(439)][n(423)](null)}),this[t(426)][t(434)](),this[t(426)][t(440)](e),{resultsCount:e[t(436)],totalItemsCount:e[t(436)]}}}function w(){const t=["buttonView","addMany","isVisible","1886568yIpfws","105812NiQjPh","409522lIatpE","4eJpNWG","6654dSBcaY","set","sort","filter","99fHSFsP","_resetFiltering","highlightText","forEach","originalIndex","items","isMatching","map","get","size","1179801waMJHu","4865YcqAMz","2256590OzjBpM","clear","title","length","10JlmeER","22996171rtsQBd"];return(w=function(){return t})()}function g(t,e){const n=m;return t[n(425)]-e[n(425)]}function I(t,e){var n=y();return(I=function(t,e){return n[t-=280]})(t,e)}var v=I;!function(t){for(var e=I,n=t();;)try{if(782339===parseInt(e(281))/1+parseInt(e(280))/2+parseInt(e(289))/3+-parseInt(e(283))/4+-parseInt(e(290))/5+-parseInt(e(285))/6*(parseInt(e(286))/7)+-parseInt(e(282))/8*(-parseInt(e(284))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class b extends f.ListItemView{[v(287)];[v(288)];constructor(t,e){var n=v;super(t),this[n(287)]=e,this[n(288)]=null}}function y(){var t=["buttonView","984780GyKMgc","3609795RmfjdJ","963534YayBbA","930677KXGkAe","8bIDbwc","5803972ksQMnv","17566605mmyTUc","2211774HAQyEI","14sFUpjc","originalIndex"];return(y=function(){return t})()}function x(t,e){const n=_();return(x=function(t,e){return n[t-=284]})(t,e)}function _(){const t=["remove","iconView","option","description","add","ck-template-form__text-part","setTemplate","ck-template-button","children","match","div","18fOkpDq","span","1241658noOtGH","ck-template-form__description","locale","titleView","ck-button__label","labelView","text","isColorInherited","1459610KqpgdK","descriptionView","render","extendTemplate","highlightText","isMatching","138810qopGwC","45XCfHdy","templateDefinition","561KQoRLP","62584NsUEtO","set","textPartView","1629123sRsntJ","title","element","push","destroy","96230XHLufd","2055968URNtrc","1abjzCS"];return(_=function(){return t})()}const T=x;!function(t){const e=x,n=t();for(;;)try{if(335958===-parseInt(e(313))/1*(parseInt(e(285))/2)+parseInt(e(306))/3+parseInt(e(312))/4+parseInt(e(293))/5+-parseInt(e(325))/6*(-parseInt(e(299))/7)+parseInt(e(303))/8*(parseInt(e(300))/9)+parseInt(e(311))/10*(-parseInt(e(302))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[T(301)];[T(305)];constructor(t,e){const n=T;super(t),this[n(301)]=e,this[n(305)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(304)]({withText:!0,class:n(321),role:n(316),icon:r}),this[n(315)][n(292)]=!1}[T(295)](){const t=T;super[t(295)](),this[t(305)]=new M(this[t(287)],this[t(301)],this[t(290)][t(308)].id),this[t(322)][t(314)](this[t(290)]),this[t(322)][t(318)](this[t(305)])}[T(310)](){const t=T;super[t(310)](),this[t(290)][t(310)]()}[T(298)](t){const e=T,{title:n,description:r}=this[e(301)],i=!!n[e(323)](t),s=!(!r||!r[e(323)](t));return i||s?{title:i,description:s}:null}[T(297)](t){const e=T;this[e(305)][e(297)](t)}}class M extends f.View{constructor(t,e,n){const r=T;super(t),this[r(307)]=e[r(307)],this[r(317)]=e[r(317)],this[r(288)]=new f.HighlightedTextView,this[r(288)][r(291)]=this[r(307)],this[r(288)][r(296)]({tag:r(284),attributes:{class:[r(289)],id:n}});const i=[this[r(288)]];this[r(317)]&&(this[r(294)]=new f.HighlightedTextView,this[r(294)][r(291)]=this[r(317)],this[r(294)][r(296)]({tag:"p",attributes:{class:[r(286)]}}),i[r(309)](this[r(294)])),this[r(320)]({tag:r(324),attributes:{class:["ck",r(319)]},children:i})}[T(297)](t){const e=T;this[e(288)][e(297)](t),this[e(317)]&&this[e(294)][e(297)](t)}}function N(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),V=n.n(S),C=n(545),P=n.n(C),j=n(262),A=n.n(j),E=n(667),K=n.n(E),O=n(357),z=n.n(O),H=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=K(),B.insert=A().bind(null,"head"),B.domAPI=P(),B.insertStyleElement=z();V()(H.A,B);H.A&&H.A.locals&&H.A.locals;const F=R;function J(){const t=["init","componentFactory","3663aShhEs","4476kxgozM","change:isOpen","extendTemplate","addMany","template.definitions","Template","templateDefinition","TemplateUI","editing","announce","commands","fromCharCode",'No templates were found matching "%0".',"bind","isPremiumPlugin","74685aTAkzT","120275sfIFMF","children","reset","50817dzuUGr","length","ck-template-form","%0 templates found","_createTemplateListView","source","81384DniNpd","7757172ZuTtWJ","insertTemplate","href","add","title","execute","config","isEnabled","56iadalG","delegate","Insert template","ck-template-button","ariaLiveAnnouncer","icon","Please try a different phrase or check the spelling.","101057HllStR","afterInit","buttonView","query","get","14Jegfro","set","ck-template-list","join","listbox","Search template","view","map","resultsCount","menuBar:insertTemplate","pluginName","panelView","search","focus","12RskzFz","350HRVArf","items","No templates available.","10330GZunzn","data","isOfficialPlugin"];return(J=function(){return t})()}function R(t,e){const n=J();return(R=function(t,e){return n[t-=470]})(t,e)}!function(t){const e=R,n=t();for(;;)try{if(450051===parseInt(e(535))/1*(-parseInt(e(470))/2)+-parseInt(e(509))/3*(-parseInt(e(528))/4)+-parseInt(e(510))/5*(-parseInt(e(484))/6)+parseInt(e(485))/7*(parseInt(e(519))/8)+-parseInt(e(520))/9+parseInt(e(488))/10*(-parseInt(e(493))/11)+-parseInt(e(494))/12*(-parseInt(e(513))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class q extends t.Plugin{static get[F(480)](){return F(501)}static get[F(490)](){return!0}static get[F(508)](){return!0}[F(491)](){const t=F,{editor:e}=this,n=e[t(526)][t(539)](t(498))||[];e.ui[t(492)][t(523)](t(521),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(517)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:N(r,i(475))},class:i(515),infoView:{text:{notFound:{primary:t=>N(r,i(506),t),secondary:N(r,i(534))},noSearchableItems:{primary:N(r,i(487))}}}}),o=e[i(504)][i(539)](i(521));return c.on(i(482),(t,n)=>{const s=i;n[s(538)]&&n[s(538)][s(514)]&&e.ui[s(532)][s(503)](N(r,s(516),n[s(478)]))}),s[i(507)](i(527)).to(o),s[i(481)][i(511)][i(523)](c),s[i(537)][i(471)]({label:N(r,i(530)),icon:p.IconTemplate,tooltip:!0}),s.on(i(495),(t,e,n)=>{n||c[i(512)]()}),s}),e.ui[t(492)][t(523)](t(479),r=>{const i=t,s=e[i(504)][i(539)](i(521)),a=new f.MenuBarMenuView(r);a[i(537)][i(471)]({label:N(r,i(499)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(514)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(471)]({label:N(r,i(487))}),n[i(529)](i(525)).to(a),n.on(i(525),()=>{const t=i;e[t(502)][t(476)][t(483)]()}),t[i(511)][i(523)](n),c[i(486)][i(523)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(471)]({class:i(531),label:t[i(524)],icon:t[i(533)]||p.IconTemplateGeneric}),s[i(529)](i(525)).to(a),s.on(i(525),()=>{const n=i;e[n(525)](n(521),t[n(489)]),e[n(502)][n(476)][n(483)]()}),n[i(511)][i(523)](s),c[i(486)][i(523)](n)}return a[i(481)][i(511)][i(523)](c),a[i(507)](i(527)).to(s,i(527)),a})}[F(536)](){!async function(t){const e=h([51,49,121,120,86,119,112,69,85,99,56,116,102,104,117,101,78,57,50,54,74,48,114,66,73,98,107,55,82,97,77,71,90,109,111,100,68,72,89,110,105,65,115,80,122,53,84,88,52,79,75,83,67,103,118,106,87,76,81,108,113,70]),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])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function o(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=R;return t[e(477)](t=>String[e(505)](t))[e(473)]("")}!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([121]);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 a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=o(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(c=>{if(s())return c(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){o(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();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])](c)[h([99,97,116,99,104])](()=>{c(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 a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function o(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(o=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{o||c(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 a(){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=a[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=o(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(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),c=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!c)return;const o=await c[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 c[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},o,i,a)||(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:1752019200;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(522)]);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=c(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=c(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)}[F(517)](t,e){const n=F,{editor:r}=this,i=new k(t);return i[n(496)]({attributes:{role:n(474),class:[n(472)]}}),i[n(486)][n(497)](e[n(477)]((e,i)=>{const s=n,a=new b(t,i),c=new L(t,e);return a[s(537)]=c,a[s(511)][s(523)](c),a[s(537)].on(s(525),t=>{const e=s;r[e(525)](e(521),t[e(518)][e(500)][e(489)]),r[e(502)][e(476)][e(483)]()}),a})),i}}var G=Q;function Q(t,e){var n=D();return(Q=function(t,e){return n[t-=302]})(t,e)}!function(t){for(var e=Q,n=t();;)try{if(840659===parseInt(e(313))/1*(-parseInt(e(317))/2)+-parseInt(e(303))/3+-parseInt(e(306))/4+-parseInt(e(310))/5*(-parseInt(e(315))/6)+parseInt(e(316))/7+parseInt(e(312))/8*(-parseInt(e(309))/9)+-parseInt(e(302))/10*(-parseInt(e(304))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class U extends t.Plugin{static get[G(311)](){return[u,q]}static get[G(308)](){return G(307)}static get[G(305)](){return!0}static get[G(314)](){return!0}}function D(){var t=["460UqzgSs","3876507IXHjtK","854293leyuil","isOfficialPlugin","6050920JJlhhg","Template","pluginName","222615wdrCwF","415ZVHYik","requires","280uzTZHk","1QsijIP","isPremiumPlugin","86262mtXGDn","1537585vdQJhf","948322tKIMJz"];return(D=function(){return t})()}function X(){var t=["9hOZvrw","3400014CsJMbE","4KkXPfQ","4396696yJJUhH","32rFsWvh","571569HNwbOl","218736qpGjOe","177035lIFBuH","3329676JuIUGv","5704330HrQAMN"];return(X=function(){return t})()}function Y(t,e){var n=X();return(Y=function(t,e){return n[t-=444]})(t,e)}!function(t){for(var e=Y,n=t();;)try{if(333719===-parseInt(e(453))/1+-parseInt(e(449))/2*(-parseInt(e(452))/3)+-parseInt(e(451))/4*(-parseInt(e(444))/5)+-parseInt(e(448))/6+parseInt(e(445))/7+parseInt(e(450))/8+-parseInt(e(447))/9*(parseInt(e(446))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x4831be,Plugin as _0x2ac94f}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x29cb1c,IconTemplate as _0x11e9eb}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x4badb5,ListItemView as _0x2ef544,ButtonView as _0x149557,View as _0x15a2b1,HighlightedTextView as _0xe0507b,createDropdown as _0x4e276a,SearchTextView as _0xcfca55,MenuBarMenuView as _0x3b22c1,MenuBarMenuListView as _0x40a7cc,MenuBarMenuListItemView as _0x4b817d,MenuBarMenuListItemButtonView as _0x435358}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x3e186f}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x4831be{['execute'](_0x48a724){const {model:_0x535807}=this['editor'];let _0x18f25d;switch(typeof _0x48a724){case'string':_0x18f25d=_0x48a724;break;case'function':_0x18f25d=_0x48a724();}'string'==typeof _0x18f25d&&_0x535807['change'](()=>{const _0x1bc852=this['editor']['data']['htmlProcessor']['toView'](_0x18f25d),_0x41f134=this['editor']['data']['toModel'](_0x1bc852);_0x535807['insertContent'](_0x41f134);});}}class i extends _0x2ac94f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x67f82e}=this;_0x67f82e['commands']['add']('insertTemplate',new a(_0x67f82e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x452c29=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ae341;for(const _0x3d698d in _0x452c29){const _0x285234=_0x3d698d,_0x11decb=_0x452c29[_0x285234];if('templateLicenseKeyValid'==_0x11decb||'templateLicenseKeyInvalid'==_0x11decb||'templateLicenseKeyExpired'==_0x11decb||'templateLicenseKeyDomainLimit'==_0x11decb||'templateLicenseKeyNotAllowed'==_0x11decb||'templateLicenseKeyEvaluationLimit'==_0x11decb||'templateLicenseKeyTrialLimit'==_0x11decb||'templateLicenseKeyUsageLimit'==_0x11decb){delete _0x452c29[_0x285234],_0x5ae341=_0x11decb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x5ae341&&_0x452c29['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x5ae341&&_0x452c29['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x5ae341&&_0x452c29['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x5ae341&&_0x452c29['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x5ae341&&_0x452c29['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x5ae341&&_0x452c29['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x5ae341&&_0x452c29['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x4badb5{['filter'](_0x36d4c1){if(!_0x36d4c1)return this['_resetFiltering']();const _0x252c9c=new Map(),_0x3c64ca=this['items']['map'](_0x523c85=>{const _0x4cd81b=_0x523c85['buttonView']['isMatching'](_0x36d4c1);return _0x523c85['isVisible']=!!_0x4cd81b,_0x523c85['buttonView']['highlightText'](_0x4cd81b?_0x36d4c1:null),_0x4cd81b&&_0x252c9c['set'](_0x523c85,_0x4cd81b),_0x523c85;})['sort'](j)['sort'](function(_0x57fcf6){return function(_0x32628a,_0x1c1500){const _0x1620f2=_0x57fcf6['get'](_0x32628a),_0xb3fd2=_0x57fcf6['get'](_0x1c1500);return _0x1620f2&&!_0xb3fd2?-0x1:_0xb3fd2&&!_0x1620f2?0x1:_0x1620f2||_0xb3fd2?_0x1620f2['title']&&!_0xb3fd2['title']?-0x1:!_0x1620f2['title']&&_0xb3fd2['title']?0x1:0x0:0x0;};}(_0x252c9c));return this['items']['clear'](),this['items']['addMany'](_0x3c64ca),{'resultsCount':_0x252c9c['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x35470e=this['items']['map'](_0x4bb022=>_0x4bb022)['sort'](j);return _0x35470e['forEach'](_0x2517f5=>{_0x2517f5['isVisible']=!0x0,_0x2517f5['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x35470e),{'resultsCount':_0x35470e['length'],'totalItemsCount':_0x35470e['length']};}}function j(_0x2571d6,_0x349c3e){return _0x2571d6['originalIndex']-_0x349c3e['originalIndex'];}class b extends _0x2ef544{['originalIndex'];['buttonView'];constructor(_0x5f58fa,_0xb054c8){super(_0x5f58fa),this['originalIndex']=_0xb054c8,this['buttonView']=null;}}class h extends _0x149557{['templateDefinition'];['textPartView'];constructor(_0x1a55b5,_0x4f1ade){super(_0x1a55b5),this['templateDefinition']=_0x4f1ade,this['textPartView']=null;const {icon:_0x1872eb=_0x29cb1c}=_0x4f1ade;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x1872eb}),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'](_0x5c8f0b){const {title:_0x168ca1,description:_0x1ebed6}=this['templateDefinition'],_0x47131c=!!_0x168ca1['match'](_0x5c8f0b),_0xb8899c=!(!_0x1ebed6||!_0x1ebed6['match'](_0x5c8f0b));return _0x47131c||_0xb8899c?{'title':_0x47131c,'description':_0xb8899c}:null;}['highlightText'](_0x143b8a){this['textPartView']['highlightText'](_0x143b8a);}}class L extends _0x15a2b1{constructor(_0x35b46f,_0x5dd3b6,_0x3e02c5){super(_0x35b46f),this['title']=_0x5dd3b6['title'],this['description']=_0x5dd3b6['description'],this['titleView']=new _0xe0507b(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3e02c5}});const _0x5687a7=[this['titleView']];this['description']&&(this['descriptionView']=new _0xe0507b(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x5687a7['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x5687a7});}['highlightText'](_0x5037eb){this['titleView']['highlightText'](_0x5037eb),this['description']&&this['descriptionView']['highlightText'](_0x5037eb);}}function g(_0xece9f4,_0x19b72e,..._0xb1e779){const t=_0xece9f4['t'];switch(_0x19b72e){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xb1e779);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',..._0xb1e779);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x19b72e;}}class s extends _0x2ac94f{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c7dd3}=this,_0xda8da1=_0x4c7dd3['config']['get']('template.definitions')||[];_0x4c7dd3['ui']['componentFactory']['add']('insertTemplate',_0x5bf973=>{const _0x1b4305=_0x4e276a(_0x5bf973),_0x36811f=this['_createTemplateListView'](_0x5bf973,_0xda8da1),_0x16f10f=new _0xcfca55(_0x5bf973,{'filteredView':_0x36811f,'queryView':{'label':g(_0x5bf973,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x200ba0=>g(_0x5bf973,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x200ba0),'secondary':g(_0x5bf973,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x5bf973,'No\x20templates\x20available.')}}}}),_0x101241=_0x4c7dd3['commands']['get']('insertTemplate');return _0x16f10f['on']('search',(_0x5010e4,_0x5c214b)=>{_0x5c214b['query']&&_0x5c214b['query']['length']&&_0x4c7dd3['ui']['ariaLiveAnnouncer']['announce'](g(_0x5bf973,'%0\x20templates\x20found',_0x5c214b['resultsCount']));}),_0x1b4305['bind']('isEnabled')['to'](_0x101241),_0x1b4305['panelView']['children']['add'](_0x16f10f),_0x1b4305['buttonView']['set']({'label':g(_0x5bf973,'Insert\x20template'),'icon':_0x11e9eb,'tooltip':!0x0}),_0x1b4305['on']('change:isOpen',(_0x624204,_0x5b9c61,_0x1e44d4)=>{_0x1e44d4||_0x16f10f['reset']();}),_0x1b4305;}),_0x4c7dd3['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x1f789b=>{const _0x562f9c=_0x4c7dd3['commands']['get']('insertTemplate'),_0x2df7df=new _0x3b22c1(_0x1f789b);_0x2df7df['buttonView']['set']({'label':g(_0x1f789b,'Template'),'icon':_0x11e9eb});const _0x411e56=new _0x40a7cc(_0x1f789b);if(!_0xda8da1||!_0xda8da1['length']){const _0x198c19=new _0x4b817d(_0x1f789b,_0x2df7df),_0x498706=new _0x435358(_0x1f789b);_0x498706['set']({'label':g(_0x1f789b,'No\x20templates\x20available.')}),_0x498706['delegate']('execute')['to'](_0x2df7df),_0x498706['on']('execute',()=>{_0x4c7dd3['editing']['view']['focus']();}),_0x198c19['children']['add'](_0x498706),_0x411e56['items']['add'](_0x198c19);}for(const _0x18e7f7 of _0xda8da1){const _0x10bae1=new _0x4b817d(_0x1f789b,_0x2df7df),_0x117183=new _0x435358(_0x1f789b);_0x117183['set']({'class':'ck-template-button','label':_0x18e7f7['title'],'icon':_0x18e7f7['icon']||_0x29cb1c}),_0x117183['delegate']('execute')['to'](_0x2df7df),_0x117183['on']('execute',()=>{_0x4c7dd3['execute']('insertTemplate',_0x18e7f7['data']),_0x4c7dd3['editing']['view']['focus']();}),_0x10bae1['children']['add'](_0x117183),_0x411e56['items']['add'](_0x10bae1);}return _0x2df7df['panelView']['children']['add'](_0x411e56),_0x2df7df['bind']('isEnabled')['to'](_0x562f9c,'isEnabled'),_0x2df7df;});}['afterInit'](){!async function(_0x524a64){const _0x358a04=_0x22a522([0x50,0x52,0x33,0x57,0x76,0x65,0x78,0x43,0x77,0x70,0x46,0x4a,0x61,0x73,0x36,0x32,0x64,0x56,0x71,0x4f,0x74,0x51,0x55,0x6a,0x31,0x4e,0x35,0x42,0x47,0x6b,0x62,0x37,0x49,0x6c,0x39,0x79,0x34,0x7a,0x67,0x58,0x6d,0x38,0x72,0x63,0x6f,0x44,0x66,0x4c,0x6e,0x54,0x59,0x75,0x53,0x4b,0x69,0x5a,0x68,0x41,0x45,0x48,0x4d,0x30]),_0x2d1e7f=0x51ed788c,_0x259bd8=0x51ea1474^_0x2d1e7f,_0x19b872=window[_0x22a522([0x44,0x61,0x74,0x65])][_0x22a522([0x6e,0x6f,0x77])](),_0x41430b=_0x524a64[_0x22a522([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf285e6=new window[(_0x22a522([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58bb05=>{_0x41430b[_0x22a522([0x6f,0x6e,0x63,0x65])](_0x22a522([0x72,0x65,0x61,0x64,0x79]),_0x58bb05);}),_0x3e5bb0={[_0x22a522([0x6b,0x74,0x79])]:_0x22a522([0x45,0x43]),[_0x22a522([0x75,0x73,0x65])]:_0x22a522([0x73,0x69,0x67]),[_0x22a522([0x63,0x72,0x76])]:_0x22a522([0x50,0x2d,0x32,0x35,0x36]),[_0x22a522([0x78])]:_0x22a522([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]),[_0x22a522([0x79])]:_0x22a522([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]),[_0x22a522([0x61,0x6c,0x67])]:_0x22a522([0x45,0x53,0x32,0x35,0x36])},_0xc4ddd3=_0x41430b[_0x22a522([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22a522([0x67,0x65,0x74])](_0x22a522([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x591482(){let _0x3dc387,_0x4c8af9=null,_0x305630=null;try{if(_0xc4ddd3==_0x22a522([0x47,0x50,0x4c]))return _0x22a522([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3dc387=_0x497537(),!_0x3dc387)return _0x22a522([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3dc387[_0x22a522([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x305630=_0x46e320(_0x3dc387[_0x22a522([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3dc387[_0x22a522([0x6a,0x74,0x69])])),await _0x58b9b8()?_0xaa3b58()?_0x3c1d65()?_0x22a522([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22c124()?(_0x3dc387[_0x22a522([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22a522([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c8af9=_0x30f1da(_0x22a522([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3dc387[_0x22a522([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22a522([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c8af9=_0x30f1da(_0x22a522([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x43907d()):_0x22a522([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22a522([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22a522([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x22a522([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c1d65(){const _0x245eb6=[_0x22a522([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22a522([0x74,0x72,0x69,0x61,0x6c])][_0x22a522([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dc387[_0x22a522([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19b872/0x3e8:0xe10*_0x259bd8;return _0x3dc387[_0x22a522([0x65,0x78,0x70])]<_0x245eb6;}function _0xaa3b58(){const _0x2c6219=_0x3dc387[_0x22a522([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c6219&&(!!_0x2c6219[_0x22a522([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22a522([0x2a]))||(!!_0x2c6219[_0x22a522([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22a522([0x54,0x50,0x4c]))||(!!_0x2c6219[_0x22a522([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22a522([0x50,0x50]))||!(!_0x2c6219[_0x22a522([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22a522([0x44,0x52,0x55,0x50]))||!_0x1647e8()))));}function _0x22c124(){const _0x10f65e=_0x3dc387[_0x22a522([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10f65e||0x0==_0x10f65e[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x24bf3c}=new URL(window[_0x22a522([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x10f65e[_0x22a522([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24bf3c))return!0x0;const _0x3fd1e3=_0x24bf3c[_0x22a522([0x73,0x70,0x6c,0x69,0x74])](_0x22a522([0x2e]));return _0x10f65e[_0x22a522([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x590578=>_0x590578[_0x22a522([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22a522([0x2a])))[_0x22a522([0x6d,0x61,0x70])](_0x28aef1=>_0x28aef1[_0x22a522([0x73,0x70,0x6c,0x69,0x74])](_0x22a522([0x2e])))[_0x22a522([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x151099=>_0x151099[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3fd1e3[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22a522([0x6d,0x61,0x70])](_0x29b304=>Array(_0x3fd1e3[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29b304[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22a522([0x66,0x69,0x6c,0x6c])](_0x29b304[0x0]===_0x22a522([0x2a])?_0x22a522([0x2a]):'')[_0x22a522([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29b304))[_0x22a522([0x73,0x6f,0x6d,0x65])](_0x51407c=>_0x3fd1e3[_0x22a522([0x65,0x76,0x65,0x72,0x79])]((_0x299a61,_0x438d4e)=>_0x51407c[_0x438d4e]===_0x299a61||_0x51407c[_0x438d4e]===_0x22a522([0x2a])));}function _0x43907d(){return _0x4c8af9&&_0x305630?new window[(_0x22a522([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x348ac6,_0x57f54c)=>{_0x4c8af9[_0x22a522([0x74,0x68,0x65,0x6e])](_0x348ac6,_0x57f54c),_0x305630[_0x22a522([0x74,0x68,0x65,0x6e])](_0x390f01=>{_0x390f01!=_0x22a522([0x56,0x61,0x6c,0x69,0x64])&&_0x348ac6(_0x390f01);},_0x57f54c);}):_0x4c8af9||_0x305630||_0x22a522([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46e320(_0x95fe81,_0x308860){return new window[(_0x22a522([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x392827=>{if(_0x366e6c())return _0x392827(_0x22a522([0x56,0x61,0x6c,0x69,0x64]));_0x27ec0d(),_0x41430b[_0x22a522([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22a522([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x470085=!0x1;const _0x325d99=_0x3e186f();function _0x2e2fc2(_0x46f28d){return!!_0x46f28d&&(typeof _0x46f28d===_0x22a522([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46f28d===_0x22a522([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46f28d[_0x22a522([0x74,0x68,0x65,0x6e])]===_0x22a522([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46f28d[_0x22a522([0x63,0x61,0x74,0x63,0x68])]===_0x22a522([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x562fd4(_0x1f63f8){_0x2ab3bc(_0x1f63f8)[_0x22a522([0x74,0x68,0x65,0x6e])](_0x5cc408=>{if(!_0x5cc408||_0x5cc408[_0x22a522([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22a522([0x6f,0x6b]))return _0x22a522([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18a957(_0x10287e(_0x325d99+_0x308860))!=_0x5cc408[_0x22a522([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22a522([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22a522([0x56,0x61,0x6c,0x69,0x64]);})[_0x22a522([0x74,0x68,0x65,0x6e])](_0x1c722e=>(_0x287884(),_0x1c722e),()=>{const _0x198b69=_0x77ea00();return null==_0x198b69?(_0x287884(),_0x22a522([0x56,0x61,0x6c,0x69,0x64])):_0x22a522(_0x19b872-_0x198b69>(0x75e1fc8c^_0x2d1e7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22a522([0x74,0x68,0x65,0x6e])](_0x392827)[_0x22a522([0x63,0x61,0x74,0x63,0x68])](()=>{_0x392827(_0x22a522([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32dc33=0x51db960c^_0x2d1e7f;function _0x287884(){const _0x33f2f7=_0x22a522([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a957(_0x10287e(_0x95fe81)),_0x1aa474=_0x3bfd7b(_0x18a957(window[_0x22a522([0x4d,0x61,0x74,0x68])][_0x22a522([0x63,0x65,0x69,0x6c])](_0x19b872/_0x32dc33)));window[_0x22a522([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22a522([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33f2f7,_0x1aa474);}function _0x77ea00(){const _0x5902d7=_0x22a522([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a957(_0x10287e(_0x95fe81)),_0x3b6d05=window[_0x22a522([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22a522([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5902d7);return _0x3b6d05?window[_0x22a522([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bfd7b(_0x3b6d05),0x10)*_0x32dc33:null;}function _0x2ab3bc(_0x204fed){return new window[(_0x22a522([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x116ef6,_0x2d8d09)=>{_0x204fed[_0x22a522([0x74,0x68,0x65,0x6e])](_0x116ef6,_0x2d8d09),window[_0x22a522([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d8d09,0x51ecac4c^_0x2d1e7f);});}}_0x41430b[_0x22a522([0x6f,0x6e])](_0x22a522([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x167206,_0x118c25)=>{if(_0x118c25[0x0]!=_0x95fe81)return _0x392827(_0x22a522([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x118c25[0x1]={..._0x118c25[0x1],[_0x22a522([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x325d99};},{[_0x22a522([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22a522([0x68,0x69,0x67,0x68])}),_0x41430b[_0x22a522([0x6f,0x6e])](_0x22a522([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51b56f=>{_0x2e2fc2(_0x51b56f[_0x22a522([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x470085=!0x0,_0x562fd4(_0x51b56f[_0x22a522([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22a522([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22a522([0x6c,0x6f,0x77])}),_0xf285e6[_0x22a522([0x74,0x68,0x65,0x6e])](()=>{_0x470085||_0x392827(_0x22a522([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x366e6c(){return _0x41430b[_0x22a522([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22a522([0x76,0x69,0x65,0x77])][_0x22a522([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22a522([0x61,0x75,0x74,0x6f]);}function _0x27ec0d(){_0x41430b[_0x22a522([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22a522([0x76,0x69,0x65,0x77])][_0x22a522([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22a522([0x61,0x75,0x74,0x6f]);}}function _0x30f1da(_0x347665){const _0x117823=[new window[(_0x22a522([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f9aa4=>setTimeout(_0x1f9aa4,0x51e44640^_0x2d1e7f)),_0xf285e6[_0x22a522([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22a522([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x233bb3=>{let _0x1dde32=0x0;_0x41430b[_0x22a522([0x6d,0x6f,0x64,0x65,0x6c])][_0x22a522([0x6f,0x6e])](_0x22a522([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ccd5c,_0x504989)=>{_0x504989[0x0][_0x22a522([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1dde32++,_0x1dde32==(0x51ed7974^_0x2d1e7f)&&(_0x233bb3(),_0x5ccd5c[_0x22a522([0x6f,0x66,0x66])]());});}))];return window[_0x22a522([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22a522([0x72,0x61,0x63,0x65])](_0x117823)[_0x22a522([0x74,0x68,0x65,0x6e])](()=>_0x347665);}async function _0x1ce3ea(){await _0xf285e6,_0x41430b[_0x22a522([0x6d,0x6f,0x64,0x65,0x6c])][_0x22a522([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50f73f,_0x41430b[_0x22a522([0x6d,0x6f,0x64,0x65,0x6c])][_0x22a522([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50f73f,_0x41430b[_0x22a522([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22a522([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1647e8(){return window[_0x22a522([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x48f389(_0x37039a){const _0x51b468=_0x2c6afc();_0x41430b[_0x51b468]=_0x22a522([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37039a,_0x37039a!=_0x22a522([0x56,0x61,0x6c,0x69,0x64])&&_0x1ce3ea();}function _0x2c6afc(){const _0x2a1bbb=window[_0x22a522([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22a522([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22a522([0x6e,0x6f,0x77])]())[_0x22a522([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22a522([0x2e]),'');let _0x3230de=_0x22a522([0x50]);for(let _0x2b6765=0x0;_0x2b6765<_0x2a1bbb[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b6765+=0x2){let _0x102aab=window[_0x22a522([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a1bbb[_0x22a522([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b6765,_0x2b6765+0x2));_0x102aab>=_0x358a04[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x102aab-=_0x358a04[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3230de+=_0x358a04[_0x102aab];}return _0x3230de;}function _0x497537(){const _0x213ce3=_0xc4ddd3[_0x22a522([0x73,0x70,0x6c,0x69,0x74])](_0x22a522([0x2e]));if(0x3!=_0x213ce3[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1cefed(_0x213ce3[0x1]);function _0x1cefed(_0xb4023f){const _0x160840=_0x2b67a2(_0xb4023f);return _0x160840&&_0x520ce6()?_0x160840:null;function _0x520ce6(){const _0x4b6303=_0x160840[_0x22a522([0x6a,0x74,0x69])],_0x270c03=window[_0x22a522([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b6303[_0x22a522([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b6303[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x417975={..._0x160840,[_0x22a522([0x6a,0x74,0x69])]:_0x4b6303[_0x22a522([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b6303[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x417975[_0x22a522([0x76,0x63])],_0x10287e(_0x417975)==_0x270c03;}}}async function _0x58b9b8(){let _0x54d05c=!0x0;try{const _0x3915a2=_0xc4ddd3[_0x22a522([0x73,0x70,0x6c,0x69,0x74])](_0x22a522([0x2e])),[_0x4ff6ee,_0x15ff4e,_0x257fda]=_0x3915a2;return _0x175bf3(_0x4ff6ee),await _0x246b08(_0x4ff6ee,_0x15ff4e,_0x257fda),_0x54d05c;}catch{return!0x1;}function _0x175bf3(_0x18fed9){const _0x3bf13a=_0x2b67a2(_0x18fed9);_0x3bf13a&&_0x3bf13a[_0x22a522([0x61,0x6c,0x67])]==_0x22a522([0x45,0x53,0x32,0x35,0x36])||(_0x54d05c=!0x1);}async function _0x246b08(_0x12d11f,_0xcd704e,_0xf8232c){const _0x1ab8c9=window[_0x22a522([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22a522([0x66,0x72,0x6f,0x6d])](_0x41e266(_0xf8232c),_0x4e9fbe=>_0x4e9fbe[_0x22a522([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x83339a=new window[(_0x22a522([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22a522([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12d11f+_0x22a522([0x2e])+_0xcd704e),_0x248827=window[_0x22a522([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22a522([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x248827)return;const _0x956bf7=await _0x248827[_0x22a522([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22a522([0x6a,0x77,0x6b]),_0x3e5bb0,{[_0x22a522([0x6e,0x61,0x6d,0x65])]:_0x22a522([0x45,0x43,0x44,0x53,0x41]),[_0x22a522([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22a522([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22a522([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x248827[_0x22a522([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22a522([0x6e,0x61,0x6d,0x65])]:_0x22a522([0x45,0x43,0x44,0x53,0x41]),[_0x22a522([0x68,0x61,0x73,0x68])]:{[_0x22a522([0x6e,0x61,0x6d,0x65])]:_0x22a522([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x956bf7,_0x1ab8c9,_0x83339a)||(_0x54d05c=!0x1);}}function _0x2b67a2(_0x95ab50){return _0x95ab50[_0x22a522([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22a522([0x65,0x79]))?JSON[_0x22a522([0x70,0x61,0x72,0x73,0x65])](_0x41e266(_0x95ab50)):null;}function _0x41e266(_0x27d24d){return window[_0x22a522([0x61,0x74,0x6f,0x62])](_0x27d24d[_0x22a522([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22a522([0x2b]))[_0x22a522([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22a522([0x2f])));}function _0x10287e(_0x48c56c){let _0x634273=0x1505;function _0x4e301e(_0x70cbb9){for(let _0x14304d=0x0;_0x14304d<_0x70cbb9[_0x22a522([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14304d++){const _0x285f28=_0x70cbb9[_0x22a522([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14304d);_0x634273=(_0x634273<<0x5)+_0x634273+_0x285f28,_0x634273&=_0x634273;}}function _0x349728(_0x84b0fb){Array[_0x22a522([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x84b0fb)?_0x84b0fb[_0x22a522([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x349728):_0x84b0fb&&typeof _0x84b0fb==_0x22a522([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22a522([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x84b0fb)[_0x22a522([0x73,0x6f,0x72,0x74])]()[_0x22a522([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37c9ba,_0x50c2c1])=>{_0x4e301e(_0x37c9ba),_0x349728(_0x50c2c1);}):_0x4e301e(window[_0x22a522([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x84b0fb));}return _0x349728(_0x48c56c),_0x634273>>>0x0;}function _0x18a957(_0x5100b6){return _0x5100b6[_0x22a522([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22a522([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22a522([0x30]));}function _0x3bfd7b(_0xfe37e9){return _0xfe37e9[_0x22a522([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22a522([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22a522([0x6a,0x6f,0x69,0x6e])]('');}function _0x50f73f(){}function _0x22a522(_0x201a1c){return _0x201a1c['map'](_0x749ef=>String['fromCharCode'](_0x749ef))['join']('');}_0x48f389(await _0x591482());}(this);}['_createTemplateListView'](_0x710113,_0x57273f){const {editor:_0x271bb2}=this,_0x5b61de=new y(_0x710113);return _0x5b61de['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5b61de['items']['addMany'](_0x57273f['map']((_0x372f6f,_0x5351aa)=>{const _0x455e0c=new b(_0x710113,_0x5351aa),_0x4c3256=new h(_0x710113,_0x372f6f);return _0x455e0c['buttonView']=_0x4c3256,_0x455e0c['children']['add'](_0x4c3256),_0x455e0c['buttonView']['on']('execute',_0x577ebf=>{_0x271bb2['execute']('insertTemplate',_0x577ebf['source']['templateDefinition']['data']),_0x271bb2['editing']['view']['focus']();}),_0x455e0c;})),_0x5b61de;}}class K extends _0x2ac94f{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x4ce8b8,Plugin as _0x269071}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x124947,IconTemplate as _0xcaefbb}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x5e2fa1,ListItemView as _0xb640a8,ButtonView as _0x2baa97,View as _0x117c7f,HighlightedTextView as _0x533977,createDropdown as _0x5e064a,SearchTextView as _0x4b3928,MenuBarMenuView as _0x5cc57d,MenuBarMenuListView as _0x423c70,MenuBarMenuListItemView as _0x4dd5e3,MenuBarMenuListItemButtonView as _0x4ea652}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x27dda1}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x4ce8b8{['execute'](_0x1f4ece){const {model:_0x4a67e2}=this['editor'];let _0x34751e;switch(typeof _0x1f4ece){case'string':_0x34751e=_0x1f4ece;break;case'function':_0x34751e=_0x1f4ece();}'string'==typeof _0x34751e&&_0x4a67e2['change'](()=>{const _0x39b09d=this['editor']['data']['htmlProcessor']['toView'](_0x34751e),_0x41b5b1=this['editor']['data']['toModel'](_0x39b09d);_0x4a67e2['insertContent'](_0x41b5b1);});}}class i extends _0x269071{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x55777f}=this;_0x55777f['commands']['add']('insertTemplate',new a(_0x55777f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4789f5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x90ae48;for(const _0x50200c in _0x4789f5){const _0x46c7f7=_0x50200c,_0x5be170=_0x4789f5[_0x46c7f7];if('templateLicenseKeyValid'==_0x5be170||'templateLicenseKeyInvalid'==_0x5be170||'templateLicenseKeyExpired'==_0x5be170||'templateLicenseKeyDomainLimit'==_0x5be170||'templateLicenseKeyNotAllowed'==_0x5be170||'templateLicenseKeyEvaluationLimit'==_0x5be170||'templateLicenseKeyTrialLimit'==_0x5be170||'templateLicenseKeyUsageLimit'==_0x5be170){delete _0x4789f5[_0x46c7f7],_0x90ae48=_0x5be170,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x90ae48&&_0x4789f5['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x90ae48&&_0x4789f5['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x90ae48&&_0x4789f5['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x90ae48&&_0x4789f5['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x90ae48&&_0x4789f5['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x90ae48&&_0x4789f5['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x90ae48&&_0x4789f5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x5e2fa1{['filter'](_0x239a29){if(!_0x239a29)return this['_resetFiltering']();const _0x442501=new Map(),_0x275dce=this['items']['map'](_0x19fed7=>{const _0x51fe22=_0x19fed7['buttonView']['isMatching'](_0x239a29);return _0x19fed7['isVisible']=!!_0x51fe22,_0x19fed7['buttonView']['highlightText'](_0x51fe22?_0x239a29:null),_0x51fe22&&_0x442501['set'](_0x19fed7,_0x51fe22),_0x19fed7;})['sort'](j)['sort'](function(_0xb9f040){return function(_0xfd639c,_0x3f5881){const _0x5931a0=_0xb9f040['get'](_0xfd639c),_0x470f0f=_0xb9f040['get'](_0x3f5881);return _0x5931a0&&!_0x470f0f?-0x1:_0x470f0f&&!_0x5931a0?0x1:_0x5931a0||_0x470f0f?_0x5931a0['title']&&!_0x470f0f['title']?-0x1:!_0x5931a0['title']&&_0x470f0f['title']?0x1:0x0:0x0;};}(_0x442501));return this['items']['clear'](),this['items']['addMany'](_0x275dce),{'resultsCount':_0x442501['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x438e12=this['items']['map'](_0x1cd733=>_0x1cd733)['sort'](j);return _0x438e12['forEach'](_0x2f5c29=>{_0x2f5c29['isVisible']=!0x0,_0x2f5c29['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x438e12),{'resultsCount':_0x438e12['length'],'totalItemsCount':_0x438e12['length']};}}function j(_0x57f391,_0x41b354){return _0x57f391['originalIndex']-_0x41b354['originalIndex'];}class b extends _0xb640a8{['originalIndex'];['buttonView'];constructor(_0x2c0825,_0x35f1f5){super(_0x2c0825),this['originalIndex']=_0x35f1f5,this['buttonView']=null;}}class h extends _0x2baa97{['templateDefinition'];['textPartView'];constructor(_0x3c44d0,_0x1bf769){super(_0x3c44d0),this['templateDefinition']=_0x1bf769,this['textPartView']=null;const {icon:_0x55cd5d=_0x124947}=_0x1bf769;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x55cd5d}),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'](_0x141835){const {title:_0x112a4c,description:_0x536969}=this['templateDefinition'],_0x236f22=!!_0x112a4c['match'](_0x141835),_0xc25806=!(!_0x536969||!_0x536969['match'](_0x141835));return _0x236f22||_0xc25806?{'title':_0x236f22,'description':_0xc25806}:null;}['highlightText'](_0x5a048a){this['textPartView']['highlightText'](_0x5a048a);}}class L extends _0x117c7f{constructor(_0x1cd1a2,_0x272a8d,_0x3762f2){super(_0x1cd1a2),this['title']=_0x272a8d['title'],this['description']=_0x272a8d['description'],this['titleView']=new _0x533977(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3762f2}});const _0x4012a8=[this['titleView']];this['description']&&(this['descriptionView']=new _0x533977(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x4012a8['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x4012a8});}['highlightText'](_0x21b838){this['titleView']['highlightText'](_0x21b838),this['description']&&this['descriptionView']['highlightText'](_0x21b838);}}function g(_0x5c6ed5,_0x3f3f86,..._0x4d3718){const t=_0x5c6ed5['t'];switch(_0x3f3f86){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x4d3718);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',..._0x4d3718);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3f3f86;}}class s extends _0x269071{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x527d54}=this,_0x549305=_0x527d54['config']['get']('template.definitions')||[];_0x527d54['ui']['componentFactory']['add']('insertTemplate',_0x4a381c=>{const _0x3d951f=_0x5e064a(_0x4a381c),_0x4995bd=this['_createTemplateListView'](_0x4a381c,_0x549305),_0x37b4e9=new _0x4b3928(_0x4a381c,{'filteredView':_0x4995bd,'queryView':{'label':g(_0x4a381c,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0xb9dccb=>g(_0x4a381c,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0xb9dccb),'secondary':g(_0x4a381c,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x4a381c,'No\x20templates\x20available.')}}}}),_0x5f21ac=_0x527d54['commands']['get']('insertTemplate');return _0x37b4e9['on']('search',(_0x1486dd,_0x4fda77)=>{_0x4fda77['query']&&_0x4fda77['query']['length']&&_0x527d54['ui']['ariaLiveAnnouncer']['announce'](g(_0x4a381c,'%0\x20templates\x20found',_0x4fda77['resultsCount']));}),_0x3d951f['bind']('isEnabled')['to'](_0x5f21ac),_0x3d951f['panelView']['children']['add'](_0x37b4e9),_0x3d951f['buttonView']['set']({'label':g(_0x4a381c,'Insert\x20template'),'icon':_0xcaefbb,'tooltip':!0x0}),_0x3d951f['on']('change:isOpen',(_0x14c8e7,_0x51c746,_0x40e727)=>{_0x40e727||_0x37b4e9['reset']();}),_0x3d951f;}),_0x527d54['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x56f742=>{const _0x1656d2=_0x527d54['commands']['get']('insertTemplate'),_0x30b16a=new _0x5cc57d(_0x56f742);_0x30b16a['buttonView']['set']({'label':g(_0x56f742,'Template'),'icon':_0xcaefbb});const _0x50fb15=new _0x423c70(_0x56f742);if(!_0x549305||!_0x549305['length']){const _0x28afda=new _0x4dd5e3(_0x56f742,_0x30b16a),_0x345ca2=new _0x4ea652(_0x56f742);_0x345ca2['set']({'label':g(_0x56f742,'No\x20templates\x20available.')}),_0x345ca2['delegate']('execute')['to'](_0x30b16a),_0x345ca2['on']('execute',()=>{_0x527d54['editing']['view']['focus']();}),_0x28afda['children']['add'](_0x345ca2),_0x50fb15['items']['add'](_0x28afda);}for(const _0x11b806 of _0x549305){const _0x16edec=new _0x4dd5e3(_0x56f742,_0x30b16a),_0x1d0135=new _0x4ea652(_0x56f742);_0x1d0135['set']({'class':'ck-template-button','label':_0x11b806['title'],'icon':_0x11b806['icon']||_0x124947}),_0x1d0135['delegate']('execute')['to'](_0x30b16a),_0x1d0135['on']('execute',()=>{_0x527d54['execute']('insertTemplate',_0x11b806['data']),_0x527d54['editing']['view']['focus']();}),_0x16edec['children']['add'](_0x1d0135),_0x50fb15['items']['add'](_0x16edec);}return _0x30b16a['panelView']['children']['add'](_0x50fb15),_0x30b16a['bind']('isEnabled')['to'](_0x1656d2,'isEnabled'),_0x30b16a;});}['afterInit'](){!async function(_0x463697){const _0x590344=_0x66e00d([0x33,0x31,0x79,0x78,0x56,0x77,0x70,0x45,0x55,0x63,0x38,0x74,0x66,0x68,0x75,0x65,0x4e,0x39,0x32,0x36,0x4a,0x30,0x72,0x42,0x49,0x62,0x6b,0x37,0x52,0x61,0x4d,0x47,0x5a,0x6d,0x6f,0x64,0x44,0x48,0x59,0x6e,0x69,0x41,0x73,0x50,0x7a,0x35,0x54,0x58,0x34,0x4f,0x4b,0x53,0x43,0x67,0x76,0x6a,0x57,0x4c,0x51,0x6c,0x71,0x46]),_0x595e0f=0x342cb827,_0x3b462e=0x342bd537^_0x595e0f,_0x206a2c=window[_0x66e00d([0x44,0x61,0x74,0x65])][_0x66e00d([0x6e,0x6f,0x77])](),_0x2d3ba1=_0x463697[_0x66e00d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4cd72f=new window[(_0x66e00d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ceea5=>{_0x2d3ba1[_0x66e00d([0x6f,0x6e,0x63,0x65])](_0x66e00d([0x72,0x65,0x61,0x64,0x79]),_0x3ceea5);}),_0x1fa2ee={[_0x66e00d([0x6b,0x74,0x79])]:_0x66e00d([0x45,0x43]),[_0x66e00d([0x75,0x73,0x65])]:_0x66e00d([0x73,0x69,0x67]),[_0x66e00d([0x63,0x72,0x76])]:_0x66e00d([0x50,0x2d,0x32,0x35,0x36]),[_0x66e00d([0x78])]:_0x66e00d([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]),[_0x66e00d([0x79])]:_0x66e00d([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]),[_0x66e00d([0x61,0x6c,0x67])]:_0x66e00d([0x45,0x53,0x32,0x35,0x36])},_0x49ef17=_0x2d3ba1[_0x66e00d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x66e00d([0x67,0x65,0x74])](_0x66e00d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29f3c9(){let _0x1ce053,_0x33e1da=null,_0x25b874=null;try{if(_0x49ef17==_0x66e00d([0x47,0x50,0x4c]))return _0x66e00d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ce053=_0x395607(),!_0x1ce053)return _0x66e00d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ce053[_0x66e00d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25b874=_0x2cc0b3(_0x1ce053[_0x66e00d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ce053[_0x66e00d([0x6a,0x74,0x69])])),await _0x28f9b2()?_0x55ef81()?_0x22ff2a()?_0x66e00d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3cda19()?(_0x1ce053[_0x66e00d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x66e00d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33e1da=_0x2e920e(_0x66e00d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1ce053[_0x66e00d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x66e00d([0x74,0x72,0x69,0x61,0x6c])&&(_0x33e1da=_0x2e920e(_0x66e00d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4135d0()):_0x66e00d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x66e00d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x66e00d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x66e00d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22ff2a(){const _0x342901=[_0x66e00d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x66e00d([0x74,0x72,0x69,0x61,0x6c])][_0x66e00d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ce053[_0x66e00d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x206a2c/0x3e8:0xe10*_0x3b462e;return _0x1ce053[_0x66e00d([0x65,0x78,0x70])]<_0x342901;}function _0x55ef81(){const _0x2f9a74=_0x1ce053[_0x66e00d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f9a74&&(!!_0x2f9a74[_0x66e00d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x66e00d([0x2a]))||(!!_0x2f9a74[_0x66e00d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x66e00d([0x54,0x50,0x4c]))||(!!_0x2f9a74[_0x66e00d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x66e00d([0x50,0x50]))||!(!_0x2f9a74[_0x66e00d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x66e00d([0x44,0x52,0x55,0x50]))||!_0x2d6b35()))));}function _0x3cda19(){const _0x4b9379=_0x1ce053[_0x66e00d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b9379||0x0==_0x4b9379[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x480a99}=new URL(window[_0x66e00d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4b9379[_0x66e00d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x480a99))return!0x0;const _0x468738=_0x480a99[_0x66e00d([0x73,0x70,0x6c,0x69,0x74])](_0x66e00d([0x2e]));return _0x4b9379[_0x66e00d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f87e1=>_0x2f87e1[_0x66e00d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x66e00d([0x2a])))[_0x66e00d([0x6d,0x61,0x70])](_0x176dde=>_0x176dde[_0x66e00d([0x73,0x70,0x6c,0x69,0x74])](_0x66e00d([0x2e])))[_0x66e00d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b102f=>_0x2b102f[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x468738[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x66e00d([0x6d,0x61,0x70])](_0x28e102=>Array(_0x468738[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x28e102[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x66e00d([0x66,0x69,0x6c,0x6c])](_0x28e102[0x0]===_0x66e00d([0x2a])?_0x66e00d([0x2a]):'')[_0x66e00d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x28e102))[_0x66e00d([0x73,0x6f,0x6d,0x65])](_0x4a2da9=>_0x468738[_0x66e00d([0x65,0x76,0x65,0x72,0x79])]((_0x33294e,_0x3830c4)=>_0x4a2da9[_0x3830c4]===_0x33294e||_0x4a2da9[_0x3830c4]===_0x66e00d([0x2a])));}function _0x4135d0(){return _0x33e1da&&_0x25b874?new window[(_0x66e00d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bfef5,_0x9d5f4b)=>{_0x33e1da[_0x66e00d([0x74,0x68,0x65,0x6e])](_0x5bfef5,_0x9d5f4b),_0x25b874[_0x66e00d([0x74,0x68,0x65,0x6e])](_0x44cb37=>{_0x44cb37!=_0x66e00d([0x56,0x61,0x6c,0x69,0x64])&&_0x5bfef5(_0x44cb37);},_0x9d5f4b);}):_0x33e1da||_0x25b874||_0x66e00d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2cc0b3(_0x3cf4e6,_0x4b1982){return new window[(_0x66e00d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170e49=>{if(_0x4e1e6d())return _0x170e49(_0x66e00d([0x56,0x61,0x6c,0x69,0x64]));_0x2de1f4(),_0x2d3ba1[_0x66e00d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x66e00d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x767122=!0x1;const _0x1698a3=_0x27dda1();function _0x36ef16(_0x284b8d){return!!_0x284b8d&&(typeof _0x284b8d===_0x66e00d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x284b8d===_0x66e00d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x284b8d[_0x66e00d([0x74,0x68,0x65,0x6e])]===_0x66e00d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x284b8d[_0x66e00d([0x63,0x61,0x74,0x63,0x68])]===_0x66e00d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x300d4c(_0x2529bf){_0x214344(_0x2529bf)[_0x66e00d([0x74,0x68,0x65,0x6e])](_0xc3942=>{if(!_0xc3942||_0xc3942[_0x66e00d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x66e00d([0x6f,0x6b]))return _0x66e00d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd3c650(_0x3d9c12(_0x1698a3+_0x4b1982))!=_0xc3942[_0x66e00d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x66e00d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x66e00d([0x56,0x61,0x6c,0x69,0x64]);})[_0x66e00d([0x74,0x68,0x65,0x6e])](_0x306c7c=>(_0x3e64c2(),_0x306c7c),()=>{const _0x378d78=_0x13f37a();return null==_0x378d78?(_0x3e64c2(),_0x66e00d([0x56,0x61,0x6c,0x69,0x64])):_0x66e00d(_0x206a2c-_0x378d78>(0x10203c27^_0x595e0f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x66e00d([0x74,0x68,0x65,0x6e])](_0x170e49)[_0x66e00d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x170e49(_0x66e00d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x286c33=0x341a56a7^_0x595e0f;function _0x3e64c2(){const _0x47a2e5=_0x66e00d([0x6c,0x6c,0x63,0x74,0x2d])+_0xd3c650(_0x3d9c12(_0x3cf4e6)),_0x19bb62=_0x360f70(_0xd3c650(window[_0x66e00d([0x4d,0x61,0x74,0x68])][_0x66e00d([0x63,0x65,0x69,0x6c])](_0x206a2c/_0x286c33)));window[_0x66e00d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x66e00d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47a2e5,_0x19bb62);}function _0x13f37a(){const _0x2a1d94=_0x66e00d([0x6c,0x6c,0x63,0x74,0x2d])+_0xd3c650(_0x3d9c12(_0x3cf4e6)),_0x1ea820=window[_0x66e00d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x66e00d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a1d94);return _0x1ea820?window[_0x66e00d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x360f70(_0x1ea820),0x10)*_0x286c33:null;}function _0x214344(_0x2cb3e7){return new window[(_0x66e00d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d2ef0,_0x49c1b1)=>{_0x2cb3e7[_0x66e00d([0x74,0x68,0x65,0x6e])](_0x1d2ef0,_0x49c1b1),window[_0x66e00d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49c1b1,0x342d6ce7^_0x595e0f);});}}_0x2d3ba1[_0x66e00d([0x6f,0x6e])](_0x66e00d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39dd1e,_0x50e9ff)=>{if(_0x50e9ff[0x0]!=_0x3cf4e6)return _0x170e49(_0x66e00d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50e9ff[0x1]={..._0x50e9ff[0x1],[_0x66e00d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1698a3};},{[_0x66e00d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x66e00d([0x68,0x69,0x67,0x68])}),_0x2d3ba1[_0x66e00d([0x6f,0x6e])](_0x66e00d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x972ea2=>{_0x36ef16(_0x972ea2[_0x66e00d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x767122=!0x0,_0x300d4c(_0x972ea2[_0x66e00d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x66e00d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x66e00d([0x6c,0x6f,0x77])}),_0x4cd72f[_0x66e00d([0x74,0x68,0x65,0x6e])](()=>{_0x767122||_0x170e49(_0x66e00d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e1e6d(){return _0x2d3ba1[_0x66e00d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x66e00d([0x76,0x69,0x65,0x77])][_0x66e00d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x66e00d([0x61,0x75,0x74,0x6f]);}function _0x2de1f4(){_0x2d3ba1[_0x66e00d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x66e00d([0x76,0x69,0x65,0x77])][_0x66e00d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x66e00d([0x61,0x75,0x74,0x6f]);}}function _0x2e920e(_0x26b4df){const _0x5037ca=[new window[(_0x66e00d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x172843=>setTimeout(_0x172843,0x342586eb^_0x595e0f)),_0x4cd72f[_0x66e00d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x66e00d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x80785c=>{let _0x2f4e58=0x0;_0x2d3ba1[_0x66e00d([0x6d,0x6f,0x64,0x65,0x6c])][_0x66e00d([0x6f,0x6e])](_0x66e00d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bff04,_0x43ad41)=>{_0x43ad41[0x0][_0x66e00d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f4e58++,_0x2f4e58==(0x342cb9df^_0x595e0f)&&(_0x80785c(),_0x2bff04[_0x66e00d([0x6f,0x66,0x66])]());});}))];return window[_0x66e00d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x66e00d([0x72,0x61,0x63,0x65])](_0x5037ca)[_0x66e00d([0x74,0x68,0x65,0x6e])](()=>_0x26b4df);}async function _0x513fa6(){await _0x4cd72f,_0x2d3ba1[_0x66e00d([0x6d,0x6f,0x64,0x65,0x6c])][_0x66e00d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x69fec2,_0x2d3ba1[_0x66e00d([0x6d,0x6f,0x64,0x65,0x6c])][_0x66e00d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x69fec2,_0x2d3ba1[_0x66e00d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x66e00d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d6b35(){return window[_0x66e00d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x124c41(_0x2563a6){const _0x29b3be=_0x457ca5();_0x2d3ba1[_0x29b3be]=_0x66e00d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2563a6,_0x2563a6!=_0x66e00d([0x56,0x61,0x6c,0x69,0x64])&&_0x513fa6();}function _0x457ca5(){const _0x28053b=window[_0x66e00d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x66e00d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x66e00d([0x6e,0x6f,0x77])]())[_0x66e00d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x66e00d([0x2e]),'');let _0x9be5e=_0x66e00d([0x79]);for(let _0x197483=0x0;_0x197483<_0x28053b[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x197483+=0x2){let _0x1ff3ef=window[_0x66e00d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28053b[_0x66e00d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x197483,_0x197483+0x2));_0x1ff3ef>=_0x590344[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ff3ef-=_0x590344[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9be5e+=_0x590344[_0x1ff3ef];}return _0x9be5e;}function _0x395607(){const _0x4c9ac3=_0x49ef17[_0x66e00d([0x73,0x70,0x6c,0x69,0x74])](_0x66e00d([0x2e]));if(0x3!=_0x4c9ac3[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x107777(_0x4c9ac3[0x1]);function _0x107777(_0x567cd5){const _0x359215=_0x172acb(_0x567cd5);return _0x359215&&_0x289967()?_0x359215:null;function _0x289967(){const _0x57ba62=_0x359215[_0x66e00d([0x6a,0x74,0x69])],_0x4dc66b=window[_0x66e00d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57ba62[_0x66e00d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57ba62[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x8ed1c4={..._0x359215,[_0x66e00d([0x6a,0x74,0x69])]:_0x57ba62[_0x66e00d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x57ba62[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x8ed1c4[_0x66e00d([0x76,0x63])],_0x3d9c12(_0x8ed1c4)==_0x4dc66b;}}}async function _0x28f9b2(){let _0x498dd5=!0x0;try{const _0x510c49=_0x49ef17[_0x66e00d([0x73,0x70,0x6c,0x69,0x74])](_0x66e00d([0x2e])),[_0x47d720,_0x4240da,_0x2af231]=_0x510c49;return _0x22b23d(_0x47d720),await _0x10cb54(_0x47d720,_0x4240da,_0x2af231),_0x498dd5;}catch{return!0x1;}function _0x22b23d(_0x31395f){const _0x40bad1=_0x172acb(_0x31395f);_0x40bad1&&_0x40bad1[_0x66e00d([0x61,0x6c,0x67])]==_0x66e00d([0x45,0x53,0x32,0x35,0x36])||(_0x498dd5=!0x1);}async function _0x10cb54(_0x5adf2f,_0x35aa9f,_0x2a0551){const _0x4694ca=window[_0x66e00d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x66e00d([0x66,0x72,0x6f,0x6d])](_0x31f8dc(_0x2a0551),_0x16ffb0=>_0x16ffb0[_0x66e00d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4bc9ee=new window[(_0x66e00d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x66e00d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5adf2f+_0x66e00d([0x2e])+_0x35aa9f),_0x58bdc9=window[_0x66e00d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x66e00d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58bdc9)return;const _0x61c077=await _0x58bdc9[_0x66e00d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x66e00d([0x6a,0x77,0x6b]),_0x1fa2ee,{[_0x66e00d([0x6e,0x61,0x6d,0x65])]:_0x66e00d([0x45,0x43,0x44,0x53,0x41]),[_0x66e00d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x66e00d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x66e00d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58bdc9[_0x66e00d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x66e00d([0x6e,0x61,0x6d,0x65])]:_0x66e00d([0x45,0x43,0x44,0x53,0x41]),[_0x66e00d([0x68,0x61,0x73,0x68])]:{[_0x66e00d([0x6e,0x61,0x6d,0x65])]:_0x66e00d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x61c077,_0x4694ca,_0x4bc9ee)||(_0x498dd5=!0x1);}}function _0x172acb(_0xbd854){return _0xbd854[_0x66e00d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x66e00d([0x65,0x79]))?JSON[_0x66e00d([0x70,0x61,0x72,0x73,0x65])](_0x31f8dc(_0xbd854)):null;}function _0x31f8dc(_0x5d1d1c){return window[_0x66e00d([0x61,0x74,0x6f,0x62])](_0x5d1d1c[_0x66e00d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x66e00d([0x2b]))[_0x66e00d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x66e00d([0x2f])));}function _0x3d9c12(_0x146c73){let _0x1454ac=0x1505;function _0x22b1ee(_0x1ed8b8){for(let _0x4fa1fe=0x0;_0x4fa1fe<_0x1ed8b8[_0x66e00d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fa1fe++){const _0x14ee1a=_0x1ed8b8[_0x66e00d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4fa1fe);_0x1454ac=(_0x1454ac<<0x5)+_0x1454ac+_0x14ee1a,_0x1454ac&=_0x1454ac;}}function _0x92cde6(_0x584e74){Array[_0x66e00d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x584e74)?_0x584e74[_0x66e00d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x92cde6):_0x584e74&&typeof _0x584e74==_0x66e00d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x66e00d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x584e74)[_0x66e00d([0x73,0x6f,0x72,0x74])]()[_0x66e00d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d0227,_0x1aba35])=>{_0x22b1ee(_0x3d0227),_0x92cde6(_0x1aba35);}):_0x22b1ee(window[_0x66e00d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x584e74));}return _0x92cde6(_0x146c73),_0x1454ac>>>0x0;}function _0xd3c650(_0xbb1a09){return _0xbb1a09[_0x66e00d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x66e00d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x66e00d([0x30]));}function _0x360f70(_0x313837){return _0x313837[_0x66e00d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x66e00d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x66e00d([0x6a,0x6f,0x69,0x6e])]('');}function _0x69fec2(){}function _0x66e00d(_0x4a3120){return _0x4a3120['map'](_0xba4e=>String['fromCharCode'](_0xba4e))['join']('');}_0x124c41(await _0x29f3c9());}(this);}['_createTemplateListView'](_0xa8b0ba,_0x3b4210){const {editor:_0x197e97}=this,_0x45e216=new y(_0xa8b0ba);return _0x45e216['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x45e216['items']['addMany'](_0x3b4210['map']((_0x3e7845,_0xdc74b6)=>{const _0x1e2c82=new b(_0xa8b0ba,_0xdc74b6),_0x31af2a=new h(_0xa8b0ba,_0x3e7845);return _0x1e2c82['buttonView']=_0x31af2a,_0x1e2c82['children']['add'](_0x31af2a),_0x1e2c82['buttonView']['on']('execute',_0xba7c3=>{_0x197e97['execute']('insertTemplate',_0xba7c3['source']['templateDefinition']['data']),_0x197e97['editing']['view']['focus']();}),_0x1e2c82;})),_0x45e216;}}class K extends _0x269071{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "46.0.0-alpha.
|
|
3
|
+
"version": "46.0.0-alpha.8",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "46.0.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.
|
|
29
|
-
"ckeditor5": "46.0.0-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "46.0.0-alpha.8",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.8",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.8",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.8",
|
|
29
|
+
"ckeditor5": "46.0.0-alpha.8"
|
|
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 _0x4a0e01=_0x8ce9;(function(_0x409754,_0x1b9d7d){const _0xcc1a99=_0x8ce9,_0x1b2e96=_0x409754();while(!![]){try{const _0x962b36=parseInt(_0xcc1a99(0x115))/0x1+-parseInt(_0xcc1a99(0x107))/0x2*(-parseInt(_0xcc1a99(0xfe))/0x3)+parseInt(_0xcc1a99(0x11d))/0x4+parseInt(_0xcc1a99(0x123))/0x5+-parseInt(_0xcc1a99(0x121))/0x6+parseInt(_0xcc1a99(0x117))/0x7*(-parseInt(_0xcc1a99(0xee))/0x8)+-parseInt(_0xcc1a99(0x10f))/0x9;if(_0x962b36===_0x1b9d7d)break;else _0x1b2e96['push'](_0x1b2e96['shift']());}catch(_0x20dec8){_0x1b2e96['push'](_0x1b2e96['shift']());}}}(_0x3bbe,0xd8080));import{Plugin as _0x3948e3}from'ckeditor5/src/core.js';import{IconTemplate as _0x353555,IconTemplateGeneric as _0x3f4d39}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0xe337fb,MenuBarMenuListItemView as _0x3df3d8,MenuBarMenuListView as _0x280a48,MenuBarMenuView as _0xd685a,SearchTextView as _0xec6ea1,createDropdown as _0x266352}from'ckeditor5/src/ui.js';function _0x3bbe(){const _0x809b88=['listbox','join','source','change:isOpen','8kAlcDm','view','length','data','map','children','icon','isPremiumPlugin','pluginName','href','extendTemplate','commands','insertTemplate','%0\x20templates\x20found','config','template.definitions','3UpQZEI','search','componentFactory','TemplateUI','delegate','ariaLiveAnnouncer','afterInit','editing','title','2074606IolkGt','Search\x20template','ck-template-form','fromCharCode','announce','set','get','ck-template-list','608400edPtSB','Template','menuBar:insertTemplate','isEnabled','reset','init','1260738gRbdbP','add','10923346syMOiT','panelView','items','resultsCount','bind','buttonView','632580JWIpSi','isOfficialPlugin','_createTemplateListView','ck-template-button','3143898eahrye','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','2903695JYxjLK','templateDefinition','query','addMany','focus','No\x20templates\x20available.','execute','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','Insert\x20template'];_0x3bbe=function(){return _0x809b88;};return _0x3bbe();}import{uid as _0x1f1d7a}from'ckeditor5/src/utils.js';import{TemplateListView as _0xe56d51}from'./ui/templatelistview.js';import{TemplateListItemView as _0x18bea2}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x3e5964}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x455872}from'./utils/common-translations.js';import'../theme/template.css';function _0x8ce9(_0x5b0ebb,_0x33bb8d){const _0x3bbe7d=_0x3bbe();return _0x8ce9=function(_0x8ce9c3,_0x45c645){_0x8ce9c3=_0x8ce9c3-0xed;let _0x4ac542=_0x3bbe7d[_0x8ce9c3];return _0x4ac542;},_0x8ce9(_0x5b0ebb,_0x33bb8d);}export class TemplateUI extends _0x3948e3{static get[_0x4a0e01(0xf6)](){const _0x34c5c5=_0x4a0e01;return _0x34c5c5(0x101);}static get[_0x4a0e01(0x11e)](){return!0x0;}static get[_0x4a0e01(0xf5)](){return!0x0;}[_0x4a0e01(0x114)](){const _0x2652f3=_0x4a0e01,{editor:_0x49b6fc}=this,_0x932720=_0x49b6fc[_0x2652f3(0xfc)][_0x2652f3(0x10d)](_0x2652f3(0xfd))||[];_0x49b6fc['ui'][_0x2652f3(0x100)][_0x2652f3(0x116)](_0x2652f3(0xfa),_0x36a9a3=>{const _0x3c7a3e=_0x2652f3,_0x5d55d6=_0x266352(_0x36a9a3),_0x1f5d06=this[_0x3c7a3e(0x11f)](_0x36a9a3,_0x932720),_0x4d2357=new _0xec6ea1(_0x36a9a3,{'filteredView':_0x1f5d06,'queryView':{'label':_0x455872(_0x36a9a3,_0x3c7a3e(0x108))},'class':_0x3c7a3e(0x109),'infoView':{'text':{'notFound':{'primary':_0x3da0f9=>_0x455872(_0x36a9a3,_0x3c7a3e(0x12a),_0x3da0f9),'secondary':_0x455872(_0x36a9a3,_0x3c7a3e(0x122))},'noSearchableItems':{'primary':_0x455872(_0x36a9a3,_0x3c7a3e(0x128))}}}}),_0x1099a5=_0x49b6fc[_0x3c7a3e(0xf9)][_0x3c7a3e(0x10d)](_0x3c7a3e(0xfa));return _0x4d2357['on'](_0x3c7a3e(0xff),(_0x36d932,_0x311134)=>{const _0x366284=_0x3c7a3e;_0x311134[_0x366284(0x125)]&&_0x311134[_0x366284(0x125)][_0x366284(0xf0)]&&_0x49b6fc['ui'][_0x366284(0x103)][_0x366284(0x10b)](_0x455872(_0x36a9a3,_0x366284(0xfb),_0x311134[_0x366284(0x11a)]));}),_0x5d55d6[_0x3c7a3e(0x11b)](_0x3c7a3e(0x112))['to'](_0x1099a5),_0x5d55d6[_0x3c7a3e(0x118)][_0x3c7a3e(0xf3)][_0x3c7a3e(0x116)](_0x4d2357),_0x5d55d6[_0x3c7a3e(0x11c)][_0x3c7a3e(0x10c)]({'label':_0x455872(_0x36a9a3,_0x3c7a3e(0x12b)),'icon':_0x353555,'tooltip':!0x0}),_0x5d55d6['on'](_0x3c7a3e(0xed),(_0x435dda,_0x516106,_0x377583)=>{const _0x2c70cf=_0x3c7a3e;_0x377583||_0x4d2357[_0x2c70cf(0x113)]();}),_0x5d55d6;}),_0x49b6fc['ui'][_0x2652f3(0x100)][_0x2652f3(0x116)](_0x2652f3(0x111),_0x2813bd=>{const _0x1058b2=_0x2652f3,_0x656be6=_0x49b6fc[_0x1058b2(0xf9)][_0x1058b2(0x10d)](_0x1058b2(0xfa)),_0x2f2e6f=new _0xd685a(_0x2813bd);_0x2f2e6f[_0x1058b2(0x11c)][_0x1058b2(0x10c)]({'label':_0x455872(_0x2813bd,_0x1058b2(0x110)),'icon':_0x353555});const _0xb5fa5d=new _0x280a48(_0x2813bd);if(!_0x932720||!_0x932720[_0x1058b2(0xf0)]){const _0x1aa822=new _0x3df3d8(_0x2813bd,_0x2f2e6f),_0x4c9e0e=new _0xe337fb(_0x2813bd);_0x4c9e0e[_0x1058b2(0x10c)]({'label':_0x455872(_0x2813bd,_0x1058b2(0x128))}),_0x4c9e0e[_0x1058b2(0x102)](_0x1058b2(0x129))['to'](_0x2f2e6f),_0x4c9e0e['on'](_0x1058b2(0x129),()=>{const _0x539a02=_0x1058b2;_0x49b6fc[_0x539a02(0x105)][_0x539a02(0xef)][_0x539a02(0x127)]();}),_0x1aa822[_0x1058b2(0xf3)][_0x1058b2(0x116)](_0x4c9e0e),_0xb5fa5d[_0x1058b2(0x119)][_0x1058b2(0x116)](_0x1aa822);}for(const _0x1dadfa of _0x932720){const _0x4a79b1=new _0x3df3d8(_0x2813bd,_0x2f2e6f),_0x1a859c=new _0xe337fb(_0x2813bd);_0x1a859c[_0x1058b2(0x10c)]({'class':_0x1058b2(0x120),'label':_0x1dadfa[_0x1058b2(0x106)],'icon':_0x1dadfa[_0x1058b2(0xf4)]||_0x3f4d39}),_0x1a859c[_0x1058b2(0x102)](_0x1058b2(0x129))['to'](_0x2f2e6f),_0x1a859c['on'](_0x1058b2(0x129),()=>{const _0x2eaddb=_0x1058b2;_0x49b6fc[_0x2eaddb(0x129)](_0x2eaddb(0xfa),_0x1dadfa[_0x2eaddb(0xf1)]),_0x49b6fc[_0x2eaddb(0x105)][_0x2eaddb(0xef)][_0x2eaddb(0x127)]();}),_0x4a79b1[_0x1058b2(0xf3)][_0x1058b2(0x116)](_0x1a859c),_0xb5fa5d[_0x1058b2(0x119)][_0x1058b2(0x116)](_0x4a79b1);}return _0x2f2e6f[_0x1058b2(0x118)][_0x1058b2(0xf3)][_0x1058b2(0x116)](_0xb5fa5d),_0x2f2e6f[_0x1058b2(0x11b)](_0x1058b2(0x112))['to'](_0x656be6,_0x1058b2(0x112)),_0x2f2e6f;});}[_0x4a0e01(0x104)](){!async function(_0x3f721a){const _0x12de91=_0x3a9877([0x50,0x52,0x33,0x57,0x76,0x65,0x78,0x43,0x77,0x70,0x46,0x4a,0x61,0x73,0x36,0x32,0x64,0x56,0x71,0x4f,0x74,0x51,0x55,0x6a,0x31,0x4e,0x35,0x42,0x47,0x6b,0x62,0x37,0x49,0x6c,0x39,0x79,0x34,0x7a,0x67,0x58,0x6d,0x38,0x72,0x63,0x6f,0x44,0x66,0x4c,0x6e,0x54,0x59,0x75,0x53,0x4b,0x69,0x5a,0x68,0x41,0x45,0x48,0x4d,0x30]),_0x15bb60=0x51ed788c,_0x38e6e9=0x51ea1474^_0x15bb60,_0x532f6b=window[_0x3a9877([0x44,0x61,0x74,0x65])][_0x3a9877([0x6e,0x6f,0x77])](),_0x42987a=_0x3f721a[_0x3a9877([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ec630=new window[(_0x3a9877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4aa3c5=>{_0x42987a[_0x3a9877([0x6f,0x6e,0x63,0x65])](_0x3a9877([0x72,0x65,0x61,0x64,0x79]),_0x4aa3c5);}),_0x412f52={[_0x3a9877([0x6b,0x74,0x79])]:_0x3a9877([0x45,0x43]),[_0x3a9877([0x75,0x73,0x65])]:_0x3a9877([0x73,0x69,0x67]),[_0x3a9877([0x63,0x72,0x76])]:_0x3a9877([0x50,0x2d,0x32,0x35,0x36]),[_0x3a9877([0x78])]:_0x3a9877([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]),[_0x3a9877([0x79])]:_0x3a9877([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]),[_0x3a9877([0x61,0x6c,0x67])]:_0x3a9877([0x45,0x53,0x32,0x35,0x36])},_0xa0e2c4=_0x42987a[_0x3a9877([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a9877([0x67,0x65,0x74])](_0x3a9877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x26619a(){let _0x1312ea,_0x2a733d=null,_0x578c31=null;try{if(_0xa0e2c4==_0x3a9877([0x47,0x50,0x4c]))return _0x3a9877([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1312ea=_0x3515c4(),!_0x1312ea)return _0x3a9877([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1312ea[_0x3a9877([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x578c31=_0x2eca79(_0x1312ea[_0x3a9877([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1312ea[_0x3a9877([0x6a,0x74,0x69])])),await _0x25f72b()?_0x55570e()?_0x4881bf()?_0x3a9877([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26846a()?(_0x1312ea[_0x3a9877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a9877([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a733d=_0x35906d(_0x3a9877([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1312ea[_0x3a9877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a9877([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a733d=_0x35906d(_0x3a9877([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b66d0()):_0x3a9877([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a9877([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a9877([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a9877([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4881bf(){const _0x3f2bd0=[_0x3a9877([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a9877([0x74,0x72,0x69,0x61,0x6c])][_0x3a9877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1312ea[_0x3a9877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x532f6b/0x3e8:0xe10*_0x38e6e9;return _0x1312ea[_0x3a9877([0x65,0x78,0x70])]<_0x3f2bd0;}function _0x55570e(){const _0x4bf235=_0x1312ea[_0x3a9877([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4bf235&&(!!_0x4bf235[_0x3a9877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a9877([0x2a]))||(!!_0x4bf235[_0x3a9877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a9877([0x54,0x50,0x4c]))||(!!_0x4bf235[_0x3a9877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a9877([0x50,0x50]))||!(!_0x4bf235[_0x3a9877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a9877([0x44,0x52,0x55,0x50]))||!_0x195bce()))));}function _0x26846a(){const _0x1bf1bd=_0x8ce9,_0x5081d8=_0x1312ea[_0x3a9877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5081d8||0x0==_0x5081d8[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29e2a6}=new URL(window[_0x3a9877([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1bf1bd(0xf7)]);if(_0x5081d8[_0x3a9877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e2a6))return!0x0;const _0x9ccb1f=_0x29e2a6[_0x3a9877([0x73,0x70,0x6c,0x69,0x74])](_0x3a9877([0x2e]));return _0x5081d8[_0x3a9877([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x96c01f=>_0x96c01f[_0x3a9877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a9877([0x2a])))[_0x3a9877([0x6d,0x61,0x70])](_0x436276=>_0x436276[_0x3a9877([0x73,0x70,0x6c,0x69,0x74])](_0x3a9877([0x2e])))[_0x3a9877([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x368dc6=>_0x368dc6[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x9ccb1f[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a9877([0x6d,0x61,0x70])](_0x4cd199=>Array(_0x9ccb1f[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4cd199[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a9877([0x66,0x69,0x6c,0x6c])](_0x4cd199[0x0]===_0x3a9877([0x2a])?_0x3a9877([0x2a]):'')[_0x3a9877([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4cd199))[_0x3a9877([0x73,0x6f,0x6d,0x65])](_0x522e34=>_0x9ccb1f[_0x3a9877([0x65,0x76,0x65,0x72,0x79])]((_0x1cb1e4,_0xbcc28e)=>_0x522e34[_0xbcc28e]===_0x1cb1e4||_0x522e34[_0xbcc28e]===_0x3a9877([0x2a])));}function _0x4b66d0(){return _0x2a733d&&_0x578c31?new window[(_0x3a9877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x420896,_0x5cb90b)=>{_0x2a733d[_0x3a9877([0x74,0x68,0x65,0x6e])](_0x420896,_0x5cb90b),_0x578c31[_0x3a9877([0x74,0x68,0x65,0x6e])](_0x2ea601=>{_0x2ea601!=_0x3a9877([0x56,0x61,0x6c,0x69,0x64])&&_0x420896(_0x2ea601);},_0x5cb90b);}):_0x2a733d||_0x578c31||_0x3a9877([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2eca79(_0x49bca4,_0x15a68){return new window[(_0x3a9877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2cb3=>{if(_0x538797())return _0x4f2cb3(_0x3a9877([0x56,0x61,0x6c,0x69,0x64]));_0x584702(),_0x42987a[_0x3a9877([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a9877([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x499fb1=!0x1;const _0x289fc8=_0x1f1d7a();function _0x1021e0(_0x49f2a3){return!!_0x49f2a3&&(typeof _0x49f2a3===_0x3a9877([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49f2a3===_0x3a9877([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49f2a3[_0x3a9877([0x74,0x68,0x65,0x6e])]===_0x3a9877([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49f2a3[_0x3a9877([0x63,0x61,0x74,0x63,0x68])]===_0x3a9877([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3bda3d(_0x4cc4a2){_0x4cdf8c(_0x4cc4a2)[_0x3a9877([0x74,0x68,0x65,0x6e])](_0x4ba980=>{if(!_0x4ba980||_0x4ba980[_0x3a9877([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a9877([0x6f,0x6b]))return _0x3a9877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49fdd(_0x30d0f3(_0x289fc8+_0x15a68))!=_0x4ba980[_0x3a9877([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a9877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a9877([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a9877([0x74,0x68,0x65,0x6e])](_0x2d6dc2=>(_0xa0070f(),_0x2d6dc2),()=>{const _0x57b9fb=_0x37ccea();return null==_0x57b9fb?(_0xa0070f(),_0x3a9877([0x56,0x61,0x6c,0x69,0x64])):_0x3a9877(_0x532f6b-_0x57b9fb>(0x75e1fc8c^_0x15bb60)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a9877([0x74,0x68,0x65,0x6e])](_0x4f2cb3)[_0x3a9877([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f2cb3(_0x3a9877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf7833b=0x51db960c^_0x15bb60;function _0xa0070f(){const _0x3ad87e=_0x3a9877([0x6c,0x6c,0x63,0x74,0x2d])+_0x49fdd(_0x30d0f3(_0x49bca4)),_0x5206a4=_0x3cc135(_0x49fdd(window[_0x3a9877([0x4d,0x61,0x74,0x68])][_0x3a9877([0x63,0x65,0x69,0x6c])](_0x532f6b/_0xf7833b)));window[_0x3a9877([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a9877([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ad87e,_0x5206a4);}function _0x37ccea(){const _0x539e9c=_0x3a9877([0x6c,0x6c,0x63,0x74,0x2d])+_0x49fdd(_0x30d0f3(_0x49bca4)),_0x53ad05=window[_0x3a9877([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a9877([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x539e9c);return _0x53ad05?window[_0x3a9877([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cc135(_0x53ad05),0x10)*_0xf7833b:null;}function _0x4cdf8c(_0x381234){return new window[(_0x3a9877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d8431,_0x19f407)=>{_0x381234[_0x3a9877([0x74,0x68,0x65,0x6e])](_0x5d8431,_0x19f407),window[_0x3a9877([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19f407,0x51ecac4c^_0x15bb60);});}}_0x42987a[_0x3a9877([0x6f,0x6e])](_0x3a9877([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e1995,_0x34f2f4)=>{if(_0x34f2f4[0x0]!=_0x49bca4)return _0x4f2cb3(_0x3a9877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34f2f4[0x1]={..._0x34f2f4[0x1],[_0x3a9877([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x289fc8};},{[_0x3a9877([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a9877([0x68,0x69,0x67,0x68])}),_0x42987a[_0x3a9877([0x6f,0x6e])](_0x3a9877([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b6529=>{_0x1021e0(_0x1b6529[_0x3a9877([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x499fb1=!0x0,_0x3bda3d(_0x1b6529[_0x3a9877([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a9877([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a9877([0x6c,0x6f,0x77])}),_0x1ec630[_0x3a9877([0x74,0x68,0x65,0x6e])](()=>{_0x499fb1||_0x4f2cb3(_0x3a9877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x538797(){return _0x42987a[_0x3a9877([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a9877([0x76,0x69,0x65,0x77])][_0x3a9877([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a9877([0x61,0x75,0x74,0x6f]);}function _0x584702(){_0x42987a[_0x3a9877([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a9877([0x76,0x69,0x65,0x77])][_0x3a9877([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a9877([0x61,0x75,0x74,0x6f]);}}function _0x35906d(_0x41ca65){const _0x50dc41=[new window[(_0x3a9877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b09ca=>setTimeout(_0x1b09ca,0x51e44640^_0x15bb60)),_0x1ec630[_0x3a9877([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a9877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a1e4f=>{let _0x371079=0x0;_0x42987a[_0x3a9877([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a9877([0x6f,0x6e])](_0x3a9877([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b5459,_0xa28b0b)=>{_0xa28b0b[0x0][_0x3a9877([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x371079++,_0x371079==(0x51ed7974^_0x15bb60)&&(_0x3a1e4f(),_0x4b5459[_0x3a9877([0x6f,0x66,0x66])]());});}))];return window[_0x3a9877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a9877([0x72,0x61,0x63,0x65])](_0x50dc41)[_0x3a9877([0x74,0x68,0x65,0x6e])](()=>_0x41ca65);}async function _0x2390a8(){await _0x1ec630,_0x42987a[_0x3a9877([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a9877([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x451c1b,_0x42987a[_0x3a9877([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a9877([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x451c1b,_0x42987a[_0x3a9877([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a9877([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x195bce(){return window[_0x3a9877([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x9b12f1(_0x15271a){const _0x5edb51=_0x190d81();_0x42987a[_0x5edb51]=_0x3a9877([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15271a,_0x15271a!=_0x3a9877([0x56,0x61,0x6c,0x69,0x64])&&_0x2390a8();}function _0x190d81(){const _0x3c0049=window[_0x3a9877([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a9877([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a9877([0x6e,0x6f,0x77])]())[_0x3a9877([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a9877([0x2e]),'');let _0x4b0be9=_0x3a9877([0x50]);for(let _0x46a433=0x0;_0x46a433<_0x3c0049[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46a433+=0x2){let _0x1f615c=window[_0x3a9877([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0049[_0x3a9877([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46a433,_0x46a433+0x2));_0x1f615c>=_0x12de91[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f615c-=_0x12de91[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b0be9+=_0x12de91[_0x1f615c];}return _0x4b0be9;}function _0x3515c4(){const _0x3edf1a=_0xa0e2c4[_0x3a9877([0x73,0x70,0x6c,0x69,0x74])](_0x3a9877([0x2e]));if(0x3!=_0x3edf1a[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f1ff2(_0x3edf1a[0x1]);function _0x5f1ff2(_0x3bad43){const _0x2a0723=_0x5cea54(_0x3bad43);return _0x2a0723&&_0x4fbdf7()?_0x2a0723:null;function _0x4fbdf7(){const _0xacec98=_0x2a0723[_0x3a9877([0x6a,0x74,0x69])],_0x1050c2=window[_0x3a9877([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xacec98[_0x3a9877([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xacec98[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c7515={..._0x2a0723,[_0x3a9877([0x6a,0x74,0x69])]:_0xacec98[_0x3a9877([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xacec98[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c7515[_0x3a9877([0x76,0x63])],_0x30d0f3(_0x1c7515)==_0x1050c2;}}}async function _0x25f72b(){let _0x2e5f43=!0x0;try{const _0x290eab=_0xa0e2c4[_0x3a9877([0x73,0x70,0x6c,0x69,0x74])](_0x3a9877([0x2e])),[_0x364bb6,_0x9eb2d5,_0x521024]=_0x290eab;return _0x482fd6(_0x364bb6),await _0x3f3dc2(_0x364bb6,_0x9eb2d5,_0x521024),_0x2e5f43;}catch{return!0x1;}function _0x482fd6(_0x54ba52){const _0x54f667=_0x5cea54(_0x54ba52);_0x54f667&&_0x54f667[_0x3a9877([0x61,0x6c,0x67])]==_0x3a9877([0x45,0x53,0x32,0x35,0x36])||(_0x2e5f43=!0x1);}async function _0x3f3dc2(_0x34dd69,_0x347bb4,_0x1746f9){const _0x6e5633=window[_0x3a9877([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a9877([0x66,0x72,0x6f,0x6d])](_0x2e1b2b(_0x1746f9),_0x1850e9=>_0x1850e9[_0x3a9877([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7ca431=new window[(_0x3a9877([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a9877([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x34dd69+_0x3a9877([0x2e])+_0x347bb4),_0x1b56de=window[_0x3a9877([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a9877([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b56de)return;const _0x43179c=await _0x1b56de[_0x3a9877([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a9877([0x6a,0x77,0x6b]),_0x412f52,{[_0x3a9877([0x6e,0x61,0x6d,0x65])]:_0x3a9877([0x45,0x43,0x44,0x53,0x41]),[_0x3a9877([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a9877([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a9877([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b56de[_0x3a9877([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a9877([0x6e,0x61,0x6d,0x65])]:_0x3a9877([0x45,0x43,0x44,0x53,0x41]),[_0x3a9877([0x68,0x61,0x73,0x68])]:{[_0x3a9877([0x6e,0x61,0x6d,0x65])]:_0x3a9877([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43179c,_0x6e5633,_0x7ca431)||(_0x2e5f43=!0x1);}}function _0x5cea54(_0x50f3ff){return _0x50f3ff[_0x3a9877([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a9877([0x65,0x79]))?JSON[_0x3a9877([0x70,0x61,0x72,0x73,0x65])](_0x2e1b2b(_0x50f3ff)):null;}function _0x2e1b2b(_0x7ef382){return window[_0x3a9877([0x61,0x74,0x6f,0x62])](_0x7ef382[_0x3a9877([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a9877([0x2b]))[_0x3a9877([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a9877([0x2f])));}function _0x30d0f3(_0x19e451){let _0x542db5=0x1505;function _0x41c1cf(_0x7dcb6f){for(let _0x27de99=0x0;_0x27de99<_0x7dcb6f[_0x3a9877([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27de99++){const _0x52a43d=_0x7dcb6f[_0x3a9877([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27de99);_0x542db5=(_0x542db5<<0x5)+_0x542db5+_0x52a43d,_0x542db5&=_0x542db5;}}function _0x3ceb84(_0x279da6){Array[_0x3a9877([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x279da6)?_0x279da6[_0x3a9877([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ceb84):_0x279da6&&typeof _0x279da6==_0x3a9877([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a9877([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x279da6)[_0x3a9877([0x73,0x6f,0x72,0x74])]()[_0x3a9877([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x529547,_0x452fd4])=>{_0x41c1cf(_0x529547),_0x3ceb84(_0x452fd4);}):_0x41c1cf(window[_0x3a9877([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x279da6));}return _0x3ceb84(_0x19e451),_0x542db5>>>0x0;}function _0x49fdd(_0x571669){return _0x571669[_0x3a9877([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a9877([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a9877([0x30]));}function _0x3cc135(_0x5c29ce){return _0x5c29ce[_0x3a9877([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a9877([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a9877([0x6a,0x6f,0x69,0x6e])]('');}function _0x451c1b(){}function _0x3a9877(_0x347d42){const _0x14679a=_0x8ce9;return _0x347d42[_0x14679a(0xf2)](_0x1ed162=>String[_0x14679a(0x10a)](_0x1ed162))[_0x14679a(0x12d)]('');}_0x9b12f1(await _0x26619a());}(this);}[_0x4a0e01(0x11f)](_0x57ab5d,_0x33522b){const _0x592ea6=_0x4a0e01,{editor:_0x1d442b}=this,_0x4da85b=new _0xe56d51(_0x57ab5d);return _0x4da85b[_0x592ea6(0xf8)]({'attributes':{'role':_0x592ea6(0x12c),'class':[_0x592ea6(0x10e)]}}),_0x4da85b[_0x592ea6(0x119)][_0x592ea6(0x126)](_0x33522b[_0x592ea6(0xf2)]((_0x553354,_0x4ded63)=>{const _0xbe37af=_0x592ea6,_0x2919d7=new _0x18bea2(_0x57ab5d,_0x4ded63),_0x31191c=new _0x3e5964(_0x57ab5d,_0x553354);return _0x2919d7[_0xbe37af(0x11c)]=_0x31191c,_0x2919d7[_0xbe37af(0xf3)][_0xbe37af(0x116)](_0x31191c),_0x2919d7[_0xbe37af(0x11c)]['on'](_0xbe37af(0x129),_0x2540d6=>{const _0x163eeb=_0xbe37af;_0x1d442b[_0x163eeb(0x129)](_0x163eeb(0xfa),_0x2540d6[_0x163eeb(0x12e)][_0x163eeb(0x124)][_0x163eeb(0xf1)]),_0x1d442b[_0x163eeb(0x105)][_0x163eeb(0xef)][_0x163eeb(0x127)]();}),_0x2919d7;})),_0x4da85b;}}
|
|
23
|
+
const _0x6fbe9=_0x5eb1;(function(_0x2b6b22,_0xa4491b){const _0x148ee8=_0x5eb1,_0x4c99c4=_0x2b6b22();while(!![]){try{const _0x32d861=parseInt(_0x148ee8(0x217))/0x1*(-parseInt(_0x148ee8(0x1d6))/0x2)+-parseInt(_0x148ee8(0x1fd))/0x3*(-parseInt(_0x148ee8(0x210))/0x4)+-parseInt(_0x148ee8(0x1fe))/0x5*(-parseInt(_0x148ee8(0x1e4))/0x6)+parseInt(_0x148ee8(0x1e5))/0x7*(parseInt(_0x148ee8(0x207))/0x8)+-parseInt(_0x148ee8(0x208))/0x9+parseInt(_0x148ee8(0x1e8))/0xa*(-parseInt(_0x148ee8(0x1ed))/0xb)+-parseInt(_0x148ee8(0x1ee))/0xc*(-parseInt(_0x148ee8(0x201))/0xd);if(_0x32d861===_0xa4491b)break;else _0x4c99c4['push'](_0x4c99c4['shift']());}catch(_0x13ea7c){_0x4c99c4['push'](_0x4c99c4['shift']());}}}(_0x476a,0x6de03));import{Plugin as _0x145d77}from'ckeditor5/src/core.js';import{IconTemplate as _0x92a672,IconTemplateGeneric as _0x19e3dc}from'ckeditor5/src/icons.js';function _0x476a(){const _0x19c575=['init','componentFactory','3663aShhEs','4476kxgozM','change:isOpen','extendTemplate','addMany','template.definitions','Template','templateDefinition','TemplateUI','editing','announce','commands','fromCharCode','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','bind','isPremiumPlugin','74685aTAkzT','120275sfIFMF','children','reset','50817dzuUGr','length','ck-template-form','%0\x20templates\x20found','_createTemplateListView','source','81384DniNpd','7757172ZuTtWJ','insertTemplate','href','add','title','execute','config','isEnabled','56iadalG','delegate','Insert\x20template','ck-template-button','ariaLiveAnnouncer','icon','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','101057HllStR','afterInit','buttonView','query','get','14Jegfro','set','ck-template-list','join','listbox','Search\x20template','view','map','resultsCount','menuBar:insertTemplate','pluginName','panelView','search','focus','12RskzFz','350HRVArf','items','No\x20templates\x20available.','10330GZunzn','data','isOfficialPlugin'];_0x476a=function(){return _0x19c575;};return _0x476a();}import{MenuBarMenuListItemButtonView as _0x5708bd,MenuBarMenuListItemView as _0x24c08e,MenuBarMenuListView as _0x310476,MenuBarMenuView as _0x3ca2e6,SearchTextView as _0x49cc1c,createDropdown as _0x2488b6}from'ckeditor5/src/ui.js';function _0x5eb1(_0x2e93d2,_0x1a37b6){const _0x476ab6=_0x476a();return _0x5eb1=function(_0x5eb116,_0x4e96f9){_0x5eb116=_0x5eb116-0x1d6;let _0x5d94cf=_0x476ab6[_0x5eb116];return _0x5d94cf;},_0x5eb1(_0x2e93d2,_0x1a37b6);}import{uid as _0x1f2cc9}from'ckeditor5/src/utils.js';import{TemplateListView as _0x2bfe64}from'./ui/templatelistview.js';import{TemplateListItemView as _0x29b318}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x214c53}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x609e26}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x145d77{static get[_0x6fbe9(0x1e0)](){const _0x248b9b=_0x6fbe9;return _0x248b9b(0x1f5);}static get[_0x6fbe9(0x1ea)](){return!0x0;}static get[_0x6fbe9(0x1fc)](){return!0x0;}[_0x6fbe9(0x1eb)](){const _0x26d7f5=_0x6fbe9,{editor:_0x1f9f97}=this,_0x4661db=_0x1f9f97[_0x26d7f5(0x20e)][_0x26d7f5(0x21b)](_0x26d7f5(0x1f2))||[];_0x1f9f97['ui'][_0x26d7f5(0x1ec)][_0x26d7f5(0x20b)](_0x26d7f5(0x209),_0x2b5a4e=>{const _0x2af129=_0x26d7f5,_0x3055c8=_0x2488b6(_0x2b5a4e),_0x1d61e4=this[_0x2af129(0x205)](_0x2b5a4e,_0x4661db),_0x4426e5=new _0x49cc1c(_0x2b5a4e,{'filteredView':_0x1d61e4,'queryView':{'label':_0x609e26(_0x2b5a4e,_0x2af129(0x1db))},'class':_0x2af129(0x203),'infoView':{'text':{'notFound':{'primary':_0x40cb40=>_0x609e26(_0x2b5a4e,_0x2af129(0x1fa),_0x40cb40),'secondary':_0x609e26(_0x2b5a4e,_0x2af129(0x216))},'noSearchableItems':{'primary':_0x609e26(_0x2b5a4e,_0x2af129(0x1e7))}}}}),_0x559e54=_0x1f9f97[_0x2af129(0x1f8)][_0x2af129(0x21b)](_0x2af129(0x209));return _0x4426e5['on'](_0x2af129(0x1e2),(_0x122b82,_0x3c4b16)=>{const _0x1d74cf=_0x2af129;_0x3c4b16[_0x1d74cf(0x21a)]&&_0x3c4b16[_0x1d74cf(0x21a)][_0x1d74cf(0x202)]&&_0x1f9f97['ui'][_0x1d74cf(0x214)][_0x1d74cf(0x1f7)](_0x609e26(_0x2b5a4e,_0x1d74cf(0x204),_0x3c4b16[_0x1d74cf(0x1de)]));}),_0x3055c8[_0x2af129(0x1fb)](_0x2af129(0x20f))['to'](_0x559e54),_0x3055c8[_0x2af129(0x1e1)][_0x2af129(0x1ff)][_0x2af129(0x20b)](_0x4426e5),_0x3055c8[_0x2af129(0x219)][_0x2af129(0x1d7)]({'label':_0x609e26(_0x2b5a4e,_0x2af129(0x212)),'icon':_0x92a672,'tooltip':!0x0}),_0x3055c8['on'](_0x2af129(0x1ef),(_0x251ad4,_0x2d5c83,_0xa7c6e5)=>{const _0x4c8a74=_0x2af129;_0xa7c6e5||_0x4426e5[_0x4c8a74(0x200)]();}),_0x3055c8;}),_0x1f9f97['ui'][_0x26d7f5(0x1ec)][_0x26d7f5(0x20b)](_0x26d7f5(0x1df),_0x4c8d4e=>{const _0x30e0d9=_0x26d7f5,_0x12cd49=_0x1f9f97[_0x30e0d9(0x1f8)][_0x30e0d9(0x21b)](_0x30e0d9(0x209)),_0x3e9b47=new _0x3ca2e6(_0x4c8d4e);_0x3e9b47[_0x30e0d9(0x219)][_0x30e0d9(0x1d7)]({'label':_0x609e26(_0x4c8d4e,_0x30e0d9(0x1f3)),'icon':_0x92a672});const _0x5d6ae7=new _0x310476(_0x4c8d4e);if(!_0x4661db||!_0x4661db[_0x30e0d9(0x202)]){const _0x52b696=new _0x24c08e(_0x4c8d4e,_0x3e9b47),_0x569587=new _0x5708bd(_0x4c8d4e);_0x569587[_0x30e0d9(0x1d7)]({'label':_0x609e26(_0x4c8d4e,_0x30e0d9(0x1e7))}),_0x569587[_0x30e0d9(0x211)](_0x30e0d9(0x20d))['to'](_0x3e9b47),_0x569587['on'](_0x30e0d9(0x20d),()=>{const _0x1709da=_0x30e0d9;_0x1f9f97[_0x1709da(0x1f6)][_0x1709da(0x1dc)][_0x1709da(0x1e3)]();}),_0x52b696[_0x30e0d9(0x1ff)][_0x30e0d9(0x20b)](_0x569587),_0x5d6ae7[_0x30e0d9(0x1e6)][_0x30e0d9(0x20b)](_0x52b696);}for(const _0x1cacfe of _0x4661db){const _0x5651f8=new _0x24c08e(_0x4c8d4e,_0x3e9b47),_0x24feb7=new _0x5708bd(_0x4c8d4e);_0x24feb7[_0x30e0d9(0x1d7)]({'class':_0x30e0d9(0x213),'label':_0x1cacfe[_0x30e0d9(0x20c)],'icon':_0x1cacfe[_0x30e0d9(0x215)]||_0x19e3dc}),_0x24feb7[_0x30e0d9(0x211)](_0x30e0d9(0x20d))['to'](_0x3e9b47),_0x24feb7['on'](_0x30e0d9(0x20d),()=>{const _0x3b5497=_0x30e0d9;_0x1f9f97[_0x3b5497(0x20d)](_0x3b5497(0x209),_0x1cacfe[_0x3b5497(0x1e9)]),_0x1f9f97[_0x3b5497(0x1f6)][_0x3b5497(0x1dc)][_0x3b5497(0x1e3)]();}),_0x5651f8[_0x30e0d9(0x1ff)][_0x30e0d9(0x20b)](_0x24feb7),_0x5d6ae7[_0x30e0d9(0x1e6)][_0x30e0d9(0x20b)](_0x5651f8);}return _0x3e9b47[_0x30e0d9(0x1e1)][_0x30e0d9(0x1ff)][_0x30e0d9(0x20b)](_0x5d6ae7),_0x3e9b47[_0x30e0d9(0x1fb)](_0x30e0d9(0x20f))['to'](_0x12cd49,_0x30e0d9(0x20f)),_0x3e9b47;});}[_0x6fbe9(0x218)](){!async function(_0x13124a){const _0x41e970=_0x183068([0x33,0x31,0x79,0x78,0x56,0x77,0x70,0x45,0x55,0x63,0x38,0x74,0x66,0x68,0x75,0x65,0x4e,0x39,0x32,0x36,0x4a,0x30,0x72,0x42,0x49,0x62,0x6b,0x37,0x52,0x61,0x4d,0x47,0x5a,0x6d,0x6f,0x64,0x44,0x48,0x59,0x6e,0x69,0x41,0x73,0x50,0x7a,0x35,0x54,0x58,0x34,0x4f,0x4b,0x53,0x43,0x67,0x76,0x6a,0x57,0x4c,0x51,0x6c,0x71,0x46]),_0x270291=0x342cb827,_0x598a01=0x342bd537^_0x270291,_0xd76966=window[_0x183068([0x44,0x61,0x74,0x65])][_0x183068([0x6e,0x6f,0x77])](),_0x42723c=_0x13124a[_0x183068([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x225048=new window[(_0x183068([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b13dc=>{_0x42723c[_0x183068([0x6f,0x6e,0x63,0x65])](_0x183068([0x72,0x65,0x61,0x64,0x79]),_0x4b13dc);}),_0x15d252={[_0x183068([0x6b,0x74,0x79])]:_0x183068([0x45,0x43]),[_0x183068([0x75,0x73,0x65])]:_0x183068([0x73,0x69,0x67]),[_0x183068([0x63,0x72,0x76])]:_0x183068([0x50,0x2d,0x32,0x35,0x36]),[_0x183068([0x78])]:_0x183068([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]),[_0x183068([0x79])]:_0x183068([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]),[_0x183068([0x61,0x6c,0x67])]:_0x183068([0x45,0x53,0x32,0x35,0x36])},_0x5b4641=_0x42723c[_0x183068([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x183068([0x67,0x65,0x74])](_0x183068([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d526a(){let _0x5e217f,_0x52ead7=null,_0x4430fe=null;try{if(_0x5b4641==_0x183068([0x47,0x50,0x4c]))return _0x183068([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e217f=_0x4f243d(),!_0x5e217f)return _0x183068([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e217f[_0x183068([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4430fe=_0x55635e(_0x5e217f[_0x183068([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e217f[_0x183068([0x6a,0x74,0x69])])),await _0x580f21()?_0x2b27d0()?_0x259943()?_0x183068([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b78e2()?(_0x5e217f[_0x183068([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x183068([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x52ead7=_0x24f5b5(_0x183068([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e217f[_0x183068([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x183068([0x74,0x72,0x69,0x61,0x6c])&&(_0x52ead7=_0x24f5b5(_0x183068([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3246dc()):_0x183068([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x183068([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x183068([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x183068([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x259943(){const _0x9016cc=[_0x183068([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x183068([0x74,0x72,0x69,0x61,0x6c])][_0x183068([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e217f[_0x183068([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd76966/0x3e8:0xe10*_0x598a01;return _0x5e217f[_0x183068([0x65,0x78,0x70])]<_0x9016cc;}function _0x2b27d0(){const _0x3ddb12=_0x5e217f[_0x183068([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ddb12&&(!!_0x3ddb12[_0x183068([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x183068([0x2a]))||(!!_0x3ddb12[_0x183068([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x183068([0x54,0x50,0x4c]))||(!!_0x3ddb12[_0x183068([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x183068([0x50,0x50]))||!(!_0x3ddb12[_0x183068([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x183068([0x44,0x52,0x55,0x50]))||!_0x5e1d6d()))));}function _0x3b78e2(){const _0xa9b8a5=_0x5eb1,_0x4ae680=_0x5e217f[_0x183068([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ae680||0x0==_0x4ae680[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x482247}=new URL(window[_0x183068([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa9b8a5(0x20a)]);if(_0x4ae680[_0x183068([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x482247))return!0x0;const _0x18b841=_0x482247[_0x183068([0x73,0x70,0x6c,0x69,0x74])](_0x183068([0x2e]));return _0x4ae680[_0x183068([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38850a=>_0x38850a[_0x183068([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x183068([0x2a])))[_0x183068([0x6d,0x61,0x70])](_0x1c30bf=>_0x1c30bf[_0x183068([0x73,0x70,0x6c,0x69,0x74])](_0x183068([0x2e])))[_0x183068([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22f5a4=>_0x22f5a4[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18b841[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x183068([0x6d,0x61,0x70])](_0x3a4306=>Array(_0x18b841[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a4306[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x183068([0x66,0x69,0x6c,0x6c])](_0x3a4306[0x0]===_0x183068([0x2a])?_0x183068([0x2a]):'')[_0x183068([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a4306))[_0x183068([0x73,0x6f,0x6d,0x65])](_0x47f504=>_0x18b841[_0x183068([0x65,0x76,0x65,0x72,0x79])]((_0x1a3945,_0x55368d)=>_0x47f504[_0x55368d]===_0x1a3945||_0x47f504[_0x55368d]===_0x183068([0x2a])));}function _0x3246dc(){return _0x52ead7&&_0x4430fe?new window[(_0x183068([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a5be5,_0x206e35)=>{_0x52ead7[_0x183068([0x74,0x68,0x65,0x6e])](_0x3a5be5,_0x206e35),_0x4430fe[_0x183068([0x74,0x68,0x65,0x6e])](_0x554f4a=>{_0x554f4a!=_0x183068([0x56,0x61,0x6c,0x69,0x64])&&_0x3a5be5(_0x554f4a);},_0x206e35);}):_0x52ead7||_0x4430fe||_0x183068([0x56,0x61,0x6c,0x69,0x64]);}}function _0x55635e(_0x45fcb6,_0x56dd95){return new window[(_0x183068([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ec9bb=>{if(_0x223d76())return _0x3ec9bb(_0x183068([0x56,0x61,0x6c,0x69,0x64]));_0x3ade9b(),_0x42723c[_0x183068([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x183068([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2dbd68=!0x1;const _0x678062=_0x1f2cc9();function _0x244fd7(_0x2cbd31){return!!_0x2cbd31&&(typeof _0x2cbd31===_0x183068([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2cbd31===_0x183068([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2cbd31[_0x183068([0x74,0x68,0x65,0x6e])]===_0x183068([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2cbd31[_0x183068([0x63,0x61,0x74,0x63,0x68])]===_0x183068([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47e602(_0x4e361c){_0x2a52ac(_0x4e361c)[_0x183068([0x74,0x68,0x65,0x6e])](_0x24f49f=>{if(!_0x24f49f||_0x24f49f[_0x183068([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x183068([0x6f,0x6b]))return _0x183068([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2aed91(_0x5d2ff3(_0x678062+_0x56dd95))!=_0x24f49f[_0x183068([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x183068([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x183068([0x56,0x61,0x6c,0x69,0x64]);})[_0x183068([0x74,0x68,0x65,0x6e])](_0x38855b=>(_0x5bf9aa(),_0x38855b),()=>{const _0x46f891=_0x3125c8();return null==_0x46f891?(_0x5bf9aa(),_0x183068([0x56,0x61,0x6c,0x69,0x64])):_0x183068(_0xd76966-_0x46f891>(0x10203c27^_0x270291)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x183068([0x74,0x68,0x65,0x6e])](_0x3ec9bb)[_0x183068([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ec9bb(_0x183068([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd018b9=0x341a56a7^_0x270291;function _0x5bf9aa(){const _0x3b5391=_0x183068([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aed91(_0x5d2ff3(_0x45fcb6)),_0xb94e59=_0x4473d7(_0x2aed91(window[_0x183068([0x4d,0x61,0x74,0x68])][_0x183068([0x63,0x65,0x69,0x6c])](_0xd76966/_0xd018b9)));window[_0x183068([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x183068([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b5391,_0xb94e59);}function _0x3125c8(){const _0x1877a1=_0x183068([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aed91(_0x5d2ff3(_0x45fcb6)),_0x3838f8=window[_0x183068([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x183068([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1877a1);return _0x3838f8?window[_0x183068([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4473d7(_0x3838f8),0x10)*_0xd018b9:null;}function _0x2a52ac(_0xe0c35){return new window[(_0x183068([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11f9d7,_0x6656e8)=>{_0xe0c35[_0x183068([0x74,0x68,0x65,0x6e])](_0x11f9d7,_0x6656e8),window[_0x183068([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6656e8,0x342d6ce7^_0x270291);});}}_0x42723c[_0x183068([0x6f,0x6e])](_0x183068([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f26e0,_0x54b618)=>{if(_0x54b618[0x0]!=_0x45fcb6)return _0x3ec9bb(_0x183068([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x54b618[0x1]={..._0x54b618[0x1],[_0x183068([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x678062};},{[_0x183068([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x183068([0x68,0x69,0x67,0x68])}),_0x42723c[_0x183068([0x6f,0x6e])](_0x183068([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1fe100=>{_0x244fd7(_0x1fe100[_0x183068([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2dbd68=!0x0,_0x47e602(_0x1fe100[_0x183068([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x183068([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x183068([0x6c,0x6f,0x77])}),_0x225048[_0x183068([0x74,0x68,0x65,0x6e])](()=>{_0x2dbd68||_0x3ec9bb(_0x183068([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x223d76(){return _0x42723c[_0x183068([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x183068([0x76,0x69,0x65,0x77])][_0x183068([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x183068([0x61,0x75,0x74,0x6f]);}function _0x3ade9b(){_0x42723c[_0x183068([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x183068([0x76,0x69,0x65,0x77])][_0x183068([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x183068([0x61,0x75,0x74,0x6f]);}}function _0x24f5b5(_0x42b5bf){const _0x9bd80f=[new window[(_0x183068([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35634a=>setTimeout(_0x35634a,0x342586eb^_0x270291)),_0x225048[_0x183068([0x74,0x68,0x65,0x6e])](()=>new window[(_0x183068([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46888d=>{let _0x852626=0x0;_0x42723c[_0x183068([0x6d,0x6f,0x64,0x65,0x6c])][_0x183068([0x6f,0x6e])](_0x183068([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34ad3f,_0x29bc86)=>{_0x29bc86[0x0][_0x183068([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x852626++,_0x852626==(0x342cb9df^_0x270291)&&(_0x46888d(),_0x34ad3f[_0x183068([0x6f,0x66,0x66])]());});}))];return window[_0x183068([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x183068([0x72,0x61,0x63,0x65])](_0x9bd80f)[_0x183068([0x74,0x68,0x65,0x6e])](()=>_0x42b5bf);}async function _0x17ffae(){await _0x225048,_0x42723c[_0x183068([0x6d,0x6f,0x64,0x65,0x6c])][_0x183068([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23b1f5,_0x42723c[_0x183068([0x6d,0x6f,0x64,0x65,0x6c])][_0x183068([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23b1f5,_0x42723c[_0x183068([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x183068([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e1d6d(){return window[_0x183068([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3234fc(_0x80d86e){const _0x532a9e=_0x3e0c7c();_0x42723c[_0x532a9e]=_0x183068([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x80d86e,_0x80d86e!=_0x183068([0x56,0x61,0x6c,0x69,0x64])&&_0x17ffae();}function _0x3e0c7c(){const _0x1cbed9=window[_0x183068([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x183068([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x183068([0x6e,0x6f,0x77])]())[_0x183068([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x183068([0x2e]),'');let _0x143107=_0x183068([0x79]);for(let _0x613d24=0x0;_0x613d24<_0x1cbed9[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x613d24+=0x2){let _0xe7fd86=window[_0x183068([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cbed9[_0x183068([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x613d24,_0x613d24+0x2));_0xe7fd86>=_0x41e970[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe7fd86-=_0x41e970[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x143107+=_0x41e970[_0xe7fd86];}return _0x143107;}function _0x4f243d(){const _0x16c91f=_0x5b4641[_0x183068([0x73,0x70,0x6c,0x69,0x74])](_0x183068([0x2e]));if(0x3!=_0x16c91f[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53af5a(_0x16c91f[0x1]);function _0x53af5a(_0x57bbaf){const _0x3fbd4a=_0x37ae4e(_0x57bbaf);return _0x3fbd4a&&_0x128945()?_0x3fbd4a:null;function _0x128945(){const _0xf08c36=_0x3fbd4a[_0x183068([0x6a,0x74,0x69])],_0x2fda05=window[_0x183068([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf08c36[_0x183068([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf08c36[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52c91f={..._0x3fbd4a,[_0x183068([0x6a,0x74,0x69])]:_0xf08c36[_0x183068([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf08c36[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52c91f[_0x183068([0x76,0x63])],_0x5d2ff3(_0x52c91f)==_0x2fda05;}}}async function _0x580f21(){let _0x150945=!0x0;try{const _0x1620a3=_0x5b4641[_0x183068([0x73,0x70,0x6c,0x69,0x74])](_0x183068([0x2e])),[_0x5e808d,_0x5c668b,_0x3e8b57]=_0x1620a3;return _0x245c11(_0x5e808d),await _0x102547(_0x5e808d,_0x5c668b,_0x3e8b57),_0x150945;}catch{return!0x1;}function _0x245c11(_0x2fdf08){const _0x379305=_0x37ae4e(_0x2fdf08);_0x379305&&_0x379305[_0x183068([0x61,0x6c,0x67])]==_0x183068([0x45,0x53,0x32,0x35,0x36])||(_0x150945=!0x1);}async function _0x102547(_0x101167,_0x55bb05,_0x45c84c){const _0x54c947=window[_0x183068([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x183068([0x66,0x72,0x6f,0x6d])](_0x576547(_0x45c84c),_0xfd279d=>_0xfd279d[_0x183068([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d8512=new window[(_0x183068([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x183068([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x101167+_0x183068([0x2e])+_0x55bb05),_0x133dc7=window[_0x183068([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x183068([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x133dc7)return;const _0x3ca0c6=await _0x133dc7[_0x183068([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x183068([0x6a,0x77,0x6b]),_0x15d252,{[_0x183068([0x6e,0x61,0x6d,0x65])]:_0x183068([0x45,0x43,0x44,0x53,0x41]),[_0x183068([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x183068([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x183068([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x133dc7[_0x183068([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x183068([0x6e,0x61,0x6d,0x65])]:_0x183068([0x45,0x43,0x44,0x53,0x41]),[_0x183068([0x68,0x61,0x73,0x68])]:{[_0x183068([0x6e,0x61,0x6d,0x65])]:_0x183068([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ca0c6,_0x54c947,_0x3d8512)||(_0x150945=!0x1);}}function _0x37ae4e(_0x1de1c3){return _0x1de1c3[_0x183068([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x183068([0x65,0x79]))?JSON[_0x183068([0x70,0x61,0x72,0x73,0x65])](_0x576547(_0x1de1c3)):null;}function _0x576547(_0x1a3c28){return window[_0x183068([0x61,0x74,0x6f,0x62])](_0x1a3c28[_0x183068([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x183068([0x2b]))[_0x183068([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x183068([0x2f])));}function _0x5d2ff3(_0xd4c2f7){let _0x371372=0x1505;function _0x2de9f5(_0xa6cc72){for(let _0x4e0e3a=0x0;_0x4e0e3a<_0xa6cc72[_0x183068([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e0e3a++){const _0x158521=_0xa6cc72[_0x183068([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e0e3a);_0x371372=(_0x371372<<0x5)+_0x371372+_0x158521,_0x371372&=_0x371372;}}function _0x35f7a5(_0x2a4f52){Array[_0x183068([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a4f52)?_0x2a4f52[_0x183068([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35f7a5):_0x2a4f52&&typeof _0x2a4f52==_0x183068([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x183068([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a4f52)[_0x183068([0x73,0x6f,0x72,0x74])]()[_0x183068([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b4de1,_0x42c063])=>{_0x2de9f5(_0x4b4de1),_0x35f7a5(_0x42c063);}):_0x2de9f5(window[_0x183068([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a4f52));}return _0x35f7a5(_0xd4c2f7),_0x371372>>>0x0;}function _0x2aed91(_0x957f19){return _0x957f19[_0x183068([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x183068([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x183068([0x30]));}function _0x4473d7(_0x3ec67f){return _0x3ec67f[_0x183068([0x73,0x70,0x6c,0x69,0x74])]('')[_0x183068([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x183068([0x6a,0x6f,0x69,0x6e])]('');}function _0x23b1f5(){}function _0x183068(_0x2f8f7b){const _0x336d5c=_0x5eb1;return _0x2f8f7b[_0x336d5c(0x1dd)](_0x5666e2=>String[_0x336d5c(0x1f9)](_0x5666e2))[_0x336d5c(0x1d9)]('');}_0x3234fc(await _0x2d526a());}(this);}[_0x6fbe9(0x205)](_0x1e42ed,_0x2888ad){const _0x15ea22=_0x6fbe9,{editor:_0x471a69}=this,_0x52a630=new _0x2bfe64(_0x1e42ed);return _0x52a630[_0x15ea22(0x1f0)]({'attributes':{'role':_0x15ea22(0x1da),'class':[_0x15ea22(0x1d8)]}}),_0x52a630[_0x15ea22(0x1e6)][_0x15ea22(0x1f1)](_0x2888ad[_0x15ea22(0x1dd)]((_0x39ed81,_0x2123b7)=>{const _0x3171dc=_0x15ea22,_0x19818d=new _0x29b318(_0x1e42ed,_0x2123b7),_0x187fd9=new _0x214c53(_0x1e42ed,_0x39ed81);return _0x19818d[_0x3171dc(0x219)]=_0x187fd9,_0x19818d[_0x3171dc(0x1ff)][_0x3171dc(0x20b)](_0x187fd9),_0x19818d[_0x3171dc(0x219)]['on'](_0x3171dc(0x20d),_0x1fdaab=>{const _0x440ecc=_0x3171dc;_0x471a69[_0x440ecc(0x20d)](_0x440ecc(0x209),_0x1fdaab[_0x440ecc(0x206)][_0x440ecc(0x1f4)][_0x440ecc(0x1e9)]),_0x471a69[_0x440ecc(0x1f6)][_0x440ecc(0x1dc)][_0x440ecc(0x1e3)]();}),_0x19818d;})),_0x52a630;}}
|