@ckeditor/ckeditor5-template 46.0.0-alpha.4 → 46.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/template.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/templateui.js +1 -1
package/build/template.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),c=n.n(s)()(i());c.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const o=c},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(c[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},c=[],o=0;o<t.length;o++){var a=t[o],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var c=0;c<s.length;c++){var o=n(s[c]);e[o].references--}for(var a=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=a}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>U,TemplateCommand:()=>c,TemplateEditing:()=>u,TemplateUI:()=>D});var t=n(782);function e(t,n){const r=s();return(e=function(t,e){return r[t-=381]})(t,n)}const i=e;function s(){const t=["6456OToGmz","execute","59341QFFvcW","25ozzGKt","2tyZcha","insertContent","20lAhobr","1648368UIJvJs","18898dSEJYx","data","298470XjLoVL","change","htmlProcessor","463764BtrnGx","3792VwFVxf","648820liJiWB","toView","1463qYcPWp","toModel","function","string","editor"];return(s=function(){return t})()}!function(t){const n=e,r=t();for(;;)try{if(189688===parseInt(n(402))/1*(-parseInt(n(382))/2)+parseInt(n(391))/3+-parseInt(n(393))/4+-parseInt(n(381))/5*(-parseInt(n(388))/6)+-parseInt(n(395))/7*(parseInt(n(400))/8)+parseInt(n(385))/9*(-parseInt(n(384))/10)+-parseInt(n(386))/11*(-parseInt(n(392))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class c extends t.Command{[i(401)](t){const e=i,{model:n}=this[e(399)];let r;switch(typeof t){case e(398):r=t;break;case e(397):r=t()}e(398)==typeof r&&n[e(389)](()=>{const t=e,i=this[t(399)][t(387)][t(390)][t(394)](r),s=this[t(399)][t(387)][t(396)](i);n[t(383)](s)})}}const o=l;function a(){const t=["templateLicenseKeyEvaluationLimit","insertTemplate","templateLicenseKeyValid","usageLimit","get","isOfficialPlugin","templateLicenseKeyInvalid","templateLicenseKeyTrialLimit","init","templateLicenseKeyUsageLimit","templateLicenseKeyDomainLimit","templateLicenseKeyExpired","editor","trialLimit","invalid","expired","domainLimit","commands","templateLicenseKeyNotAllowed","3954955nviJYI","2953062wZkXBY","3602032hoqKVN","TemplateEditing","config","destroy","licenseKey","Template","8BwLFHu","2XXyEYq","2419437cZGtQW","featureNotAllowed","1254328sVCcCn","evaluationLimit","_licenseKeyCheckInterval","38564TLSAVH","isPremiumPlugin","_showLicenseError","21536820RJSetf","add","pluginName"];return(a=function(){return t})()}function l(t,e){const n=a();return(l=function(t,e){return n[t-=356]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(420965===-parseInt(e(370))/1+parseInt(e(364))/2*(-parseInt(e(365))/3)+-parseInt(e(367))/4+-parseInt(e(395))/5+parseInt(e(356))/6+-parseInt(e(357))/7+parseInt(e(363))/8*(parseInt(e(373))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[o(361)];[o(369)];static get[o(375)](){return o(358)}static get[o(381)](){return!0}static get[o(371)](){return!0}[o(384)](){const t=o,{editor:e}=this;e[t(393)][t(374)](t(377),new c(e)),this[t(361)]=this[t(388)][t(359)][t(380)](t(361));const n=this[t(388)];this[t(369)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(378)==s||e(382)==s||e(387)==s||e(386)==s||e(394)==s||e(376)==s||e(383)==s||e(385)==s){delete n[i],r=s,clearInterval(this[e(369)]),this[e(369)]=void 0;break}}e(382)==r&&n[e(372)](e(390)),e(387)==r&&n[e(372)](e(391)),e(386)==r&&n[e(372)](e(392)),e(394)==r&&n[e(372)](e(366),e(362)),e(376)==r&&n[e(372)](e(368)),e(383)==r&&n[e(372)](e(389)),e(385)==r&&n[e(372)](e(379))},1e3)}[o(360)](){const t=o;super[t(360)](),this[t(369)]&&clearInterval(this[t(369)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["map","buttonView","1897371lVbYFh","1021980uXeRwX","_resetFiltering","167081gMgDzj","forEach","clear","originalIndex","2974hHZHzN","704845TottlR","97348jhCYeU","3647984pJLclI","372tTqOzl","items","title","sort","size","highlightText","set","isVisible","addMany","filter","length","get","isMatching"];return(m=function(){return t})()}const h=w;!function(t){const e=w,n=t();for(;;)try{if(220222===parseInt(e(351))/1+-parseInt(e(355))/2*(-parseInt(e(359))/3)+parseInt(e(357))/4+-parseInt(e(356))/5+parseInt(e(349))/6+parseInt(e(348))/7+-parseInt(e(358))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class k extends f.ListView{[h(368)](t){const e=h;if(!t)return this[e(350)]();const n=new Map,r=this[e(360)][e(372)](r=>{const i=e,s=r[i(373)][i(371)](t);return r[i(366)]=!!s,r[i(373)][i(364)](s?t:null),s&&n[i(365)](r,s),r})[e(362)](g)[e(362)]((i=n,function(t,e){const n=w,r=i[n(370)](t),s=i[n(370)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(361)]&&!s[n(361)]?-1:!r[n(361)]&&s[n(361)]?1:0:0}));var i;return this[e(360)][e(353)](),this[e(360)][e(367)](r),{resultsCount:n[e(363)],totalItemsCount:this[e(360)][e(369)]}}[h(350)](){const t=h,e=this[t(360)][t(372)](t=>t)[t(362)](g);return e[t(352)](e=>{const n=t;e[n(366)]=!0,e[n(373)][n(364)](null)}),this[t(360)][t(353)](),this[t(360)][t(367)](e),{resultsCount:e[t(369)],totalItemsCount:e[t(369)]}}}function w(t,e){const n=m();return(w=function(t,e){return n[t-=348]})(t,e)}function g(t,e){const n=h;return t[n(354)]-e[n(354)]}var v=y;function I(){var t=["8428728lATqIL","93546zFMSEG","45078yMQQbs","1641093GhtVwm","buttonView","6QWiHeL","181375ozYuSL","16wshCvI","184jknNRP","707QkiMWh","originalIndex","4023580vHDgmr","188041xFYwdo"];return(I=function(){return t})()}function y(t,e){var n=I();return(y=function(t,e){return n[t-=102]})(t,e)}!function(t){for(var e=y,n=t();;)try{if(432103===parseInt(e(110))/1*(-parseInt(e(103))/2)+-parseInt(e(114))/3+parseInt(e(105))/4*(-parseInt(e(104))/5)+-parseInt(e(113))/6*(-parseInt(e(107))/7)+parseInt(e(106))/8*(-parseInt(e(112))/9)+parseInt(e(109))/10+parseInt(e(111))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class b extends f.ListItemView{[v(108)];[v(102)];constructor(t,e){var n=v;super(t),this[n(108)]=e,this[n(102)]=null}}const x=T;function _(){const t=["2290358ytqpyW","ck-template-form__text-part","span","option","textPartView","698472UsXmuo","div","4UnLYmt","isMatching","setTemplate","set","templateDefinition","titleView","descriptionView","685722cLKQOy","destroy","render","ck-template-form__description","4BDfAaL","locale","143898bADoOc","text","highlightText","extendTemplate","23046jNKyEm","ck-template-button","add","description","iconView","labelView","match","title","push","4000338xPrrMG","1351535jYRPFK","children","remove","isColorInherited","element","ck-button__label"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=488]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(177265===parseInt(e(503))/1*(-parseInt(e(516))/2)+parseInt(e(510))/3+-parseInt(e(514))/4*(-parseInt(e(490))/5)+-parseInt(e(520))/6+parseInt(e(496))/7+parseInt(e(501))/8+-parseInt(e(489))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(507)];[x(500)];constructor(t,e){const n=x;super(t),this[n(507)]=e,this[n(500)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(506)]({withText:!0,class:n(521),role:n(499),icon:r}),this[n(524)][n(493)]=!1}[x(512)](){const t=x;super[t(512)](),this[t(500)]=new V(this[t(515)],this[t(507)],this[t(525)][t(494)].id),this[t(491)][t(492)](this[t(525)]),this[t(491)][t(522)](this[t(500)])}[x(511)](){const t=x;super[t(511)](),this[t(525)][t(511)]()}[x(504)](t){const e=x,{title:n,description:r}=this[e(507)],i=!!n[e(526)](t),s=!(!r||!r[e(526)](t));return i||s?{title:i,description:s}:null}[x(518)](t){const e=x;this[e(500)][e(518)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(527)]=e[r(527)],this[r(523)]=e[r(523)],this[r(508)]=new f.HighlightedTextView,this[r(508)][r(517)]=this[r(527)],this[r(508)][r(519)]({tag:r(498),attributes:{class:[r(495)],id:n}});const i=[this[r(508)]];this[r(523)]&&(this[r(509)]=new f.HighlightedTextView,this[r(509)][r(517)]=this[r(523)],this[r(509)][r(519)]({tag:"p",attributes:{class:[r(513)]}}),i[r(488)](this[r(509)])),this[r(505)]({tag:r(502),attributes:{class:["ck",r(497)]},children:i})}[x(518)](t){const e=x;this[e(508)][e(518)](t),this[e(523)]&&this[e(509)][e(518)](t)}}function M(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var P=n(673),N=n.n(P),S=n(545),E=n.n(S),C=n(262),A=n.n(C),O=n(667),j=n.n(O),K=n(357),z=n.n(K),B=n(175),F={attributes:{"data-cke":!0}};F.setAttributes=j(),F.insert=A().bind(null,"head"),F.domAPI=E(),F.insertStyleElement=z();N()(B.A,F);B.A&&B.A.locals&&B.A.locals;const Y=q;function G(){const t=["Insert template","listbox","133483bfNauz","ck-template-form","39263YiEPFM","Search template","add","title","TemplateUI","2HpKThZ","focus","ck-template-button","componentFactory","templateDefinition","afterInit","announce","152ijKHkE","query","editing","737LROZTy","view","length","insertTemplate","href","init","21370ZdLJOY","config","join","ariaLiveAnnouncer","execute","ck-template-list","bind","items","data","Template","549732KMgXiT","buttonView","search",'No templates were found matching "%0".',"%0 templates found","244vyptvJ","panelView","addMany","template.definitions","change:isOpen","get","isPremiumPlugin","isOfficialPlugin","resultsCount","_createTemplateListView","isEnabled","No templates available.","map","commands","2336193lXrpBW","Please try a different phrase or check the spelling.","reset","icon","delegate","1250Pdhawd","extendTemplate","pluginName","children","fromCharCode","392142GIklNU","menuBar:insertTemplate","source","set"];return(G=function(){return t})()}function q(t,e){const n=G();return(q=function(t,e){return n[t-=401]})(t,e)}!function(t){const e=q,n=t();for(;;)try{if(148100===parseInt(e(420))/1+parseInt(e(427))/2*(parseInt(e(414))/3)+parseInt(e(458))/4*(parseInt(e(409))/5)+parseInt(e(453))/6+parseInt(e(422))/7*(-parseInt(e(434))/8)+-parseInt(e(404))/9+-parseInt(e(443))/10*(-parseInt(e(437))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class D extends t.Plugin{static get[Y(411)](){return Y(426)}static get[Y(465)](){return!0}static get[Y(464)](){return!0}[Y(442)](){const t=Y,{editor:e}=this,n=e[t(444)][t(463)](t(461))||[];e.ui[t(430)][t(424)](t(440),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(467)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:M(r,i(423))},class:i(421),infoView:{text:{notFound:{primary:t=>M(r,i(456),t),secondary:M(r,i(405))},noSearchableItems:{primary:M(r,i(401))}}}}),a=e[i(403)][i(463)](i(440));return o.on(i(455),(t,n)=>{const s=i;n[s(435)]&&n[s(435)][s(439)]&&e.ui[s(446)][s(433)](M(r,s(457),n[s(466)]))}),s[i(449)](i(468)).to(a),s[i(459)][i(412)][i(424)](o),s[i(454)][i(417)]({label:M(r,i(418)),icon:p.IconTemplate,tooltip:!0}),s.on(i(462),(t,e,n)=>{n||o[i(406)]()}),s}),e.ui[t(430)][t(424)](t(415),r=>{const i=t,s=e[i(403)][i(463)](i(440)),c=new f.MenuBarMenuView(r);c[i(454)][i(417)]({label:M(r,i(452)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(439)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(417)]({label:M(r,i(401))}),n[i(408)](i(447)).to(c),n.on(i(447),()=>{const t=i;e[t(436)][t(438)][t(428)]()}),t[i(412)][i(424)](n),o[i(450)][i(424)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(417)]({class:i(429),label:t[i(425)],icon:t[i(407)]||p.IconTemplateGeneric}),s[i(408)](i(447)).to(c),s.on(i(447),()=>{const n=i;e[n(447)](n(440),t[n(451)]),e[n(436)][n(438)][n(428)]()}),n[i(412)][i(424)](s),o[i(450)][i(424)](n)}return c[i(459)][i(412)][i(424)](o),c[i(449)](i(468)).to(s,i(468)),c})}[Y(432)](){!async function(t){const e=h([106,104,50,100,80,117,108,78,79,72,70,102,65,115,84,119,56,112,57,88,74,73,110,81,103,121,116,82,111,90,75,87,54,53,83,118,48,122,52,71,76,66,85,120,86,55,114,97,77,51,113,109,107,98,99,67,101,68,105,89,49,69]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},c=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function a(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=q;return t[e(402)](t=>String[e(413)](t))[e(445)]("")}!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([106]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return c==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));c(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){a(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=c();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function c(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function a(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(a=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{a||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function c(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=c[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=a(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),c=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const a=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},a,i,c)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1751673600;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=q,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(441)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[Y(467)](t,e){const n=Y,{editor:r}=this,i=new k(t);return i[n(410)]({attributes:{role:n(419),class:[n(448)]}}),i[n(450)][n(460)](e[n(402)]((e,i)=>{const s=n,c=new b(t,i),o=new L(t,e);return c[s(454)]=o,c[s(412)][s(424)](o),c[s(454)].on(s(447),t=>{const e=s;r[e(447)](e(440),t[e(416)][e(431)][e(451)]),r[e(436)][e(438)][e(428)]()}),c})),i}}function H(){var t=["11qhOjhV","3581286gOrRAz","10ZGSxJC","Template","60GDENES","1208696KQgiUY","77OLQGsE","requires","154730owOJFc","isPremiumPlugin","2560752orpYDJ","23788677MEchyu","isOfficialPlugin","pluginName","4741095LntxDh","147536FyCnIq"];return(H=function(){return t})()}function J(t,e){var n=H();return(J=function(t,e){return n[t-=235]})(t,e)}var R=J;!function(t){for(var e=J,n=t();;)try{if(954383===-parseInt(e(245))/1*(parseInt(e(237))/2)+-parseInt(e(243))/3+parseInt(e(244))/4*(parseInt(e(249))/5)+-parseInt(e(246))/6+-parseInt(e(235))/7*(-parseInt(e(250))/8)+parseInt(e(239))/9*(-parseInt(e(247))/10)+parseInt(e(240))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class U extends t.Plugin{static get[R(236)](){return[u,D]}static get[R(242)](){return R(248)}static get[R(241)](){return!0}static get[R(238)](){return!0}}function X(t,e){var n=Q();return(X=function(t,e){return n[t-=356]})(t,e)}function Q(){var t=["2LPEija","3438580yFdrmq","990936PGQXfP","4071468HYdAYM","18752877UIGdrv","6466788NsFBUo","5yXXWmN","4627266mAoZAd","1449128wRqfZG"];return(Q=function(){return t})()}!function(t){for(var e=X,n=t();;)try{if(775353===parseInt(e(359))/1*(parseInt(e(360))/2)+-parseInt(e(363))/3+parseInt(e(361))/4*(-parseInt(e(357))/5)+-parseInt(e(356))/6+parseInt(e(358))/7+-parseInt(e(362))/8+parseInt(e(364))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q)})(),(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),o=n.n(s)()(i());o.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=o},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 o={};if(r)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(o[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&o[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 o=void 0!==i.layer;o&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,o&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(c,a[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={},o=[],c=0;c<t.length;c++){var a=t[c],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}o.push(p)}return o}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 o=0;o<s.length;o++){var c=n(s[o]);e[c].references--}for(var a=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=a}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>H,TemplateCommand:()=>o,TemplateEditing:()=>u,TemplateUI:()=>D});var t=n(782);function e(t,n){const r=s();return(e=function(t,e){return r[t-=381]})(t,n)}const i=e;function s(){const t=["6456OToGmz","execute","59341QFFvcW","25ozzGKt","2tyZcha","insertContent","20lAhobr","1648368UIJvJs","18898dSEJYx","data","298470XjLoVL","change","htmlProcessor","463764BtrnGx","3792VwFVxf","648820liJiWB","toView","1463qYcPWp","toModel","function","string","editor"];return(s=function(){return t})()}!function(t){const n=e,r=t();for(;;)try{if(189688===parseInt(n(402))/1*(-parseInt(n(382))/2)+parseInt(n(391))/3+-parseInt(n(393))/4+-parseInt(n(381))/5*(-parseInt(n(388))/6)+-parseInt(n(395))/7*(parseInt(n(400))/8)+parseInt(n(385))/9*(-parseInt(n(384))/10)+-parseInt(n(386))/11*(-parseInt(n(392))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class o extends t.Command{[i(401)](t){const e=i,{model:n}=this[e(399)];let r;switch(typeof t){case e(398):r=t;break;case e(397):r=t()}e(398)==typeof r&&n[e(389)](()=>{const t=e,i=this[t(399)][t(387)][t(390)][t(394)](r),s=this[t(399)][t(387)][t(396)](i);n[t(383)](s)})}}const c=l;function a(){const t=["templateLicenseKeyEvaluationLimit","insertTemplate","templateLicenseKeyValid","usageLimit","get","isOfficialPlugin","templateLicenseKeyInvalid","templateLicenseKeyTrialLimit","init","templateLicenseKeyUsageLimit","templateLicenseKeyDomainLimit","templateLicenseKeyExpired","editor","trialLimit","invalid","expired","domainLimit","commands","templateLicenseKeyNotAllowed","3954955nviJYI","2953062wZkXBY","3602032hoqKVN","TemplateEditing","config","destroy","licenseKey","Template","8BwLFHu","2XXyEYq","2419437cZGtQW","featureNotAllowed","1254328sVCcCn","evaluationLimit","_licenseKeyCheckInterval","38564TLSAVH","isPremiumPlugin","_showLicenseError","21536820RJSetf","add","pluginName"];return(a=function(){return t})()}function l(t,e){const n=a();return(l=function(t,e){return n[t-=356]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(420965===-parseInt(e(370))/1+parseInt(e(364))/2*(-parseInt(e(365))/3)+-parseInt(e(367))/4+-parseInt(e(395))/5+parseInt(e(356))/6+-parseInt(e(357))/7+parseInt(e(363))/8*(parseInt(e(373))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[c(361)];[c(369)];static get[c(375)](){return c(358)}static get[c(381)](){return!0}static get[c(371)](){return!0}[c(384)](){const t=c,{editor:e}=this;e[t(393)][t(374)](t(377),new o(e)),this[t(361)]=this[t(388)][t(359)][t(380)](t(361));const n=this[t(388)];this[t(369)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(378)==s||e(382)==s||e(387)==s||e(386)==s||e(394)==s||e(376)==s||e(383)==s||e(385)==s){delete n[i],r=s,clearInterval(this[e(369)]),this[e(369)]=void 0;break}}e(382)==r&&n[e(372)](e(390)),e(387)==r&&n[e(372)](e(391)),e(386)==r&&n[e(372)](e(392)),e(394)==r&&n[e(372)](e(366),e(362)),e(376)==r&&n[e(372)](e(368)),e(383)==r&&n[e(372)](e(389)),e(385)==r&&n[e(372)](e(379))},1e3)}[c(360)](){const t=c;super[t(360)](),this[t(369)]&&clearInterval(this[t(369)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["map","buttonView","1897371lVbYFh","1021980uXeRwX","_resetFiltering","167081gMgDzj","forEach","clear","originalIndex","2974hHZHzN","704845TottlR","97348jhCYeU","3647984pJLclI","372tTqOzl","items","title","sort","size","highlightText","set","isVisible","addMany","filter","length","get","isMatching"];return(m=function(){return t})()}const h=w;!function(t){const e=w,n=t();for(;;)try{if(220222===parseInt(e(351))/1+-parseInt(e(355))/2*(-parseInt(e(359))/3)+parseInt(e(357))/4+-parseInt(e(356))/5+parseInt(e(349))/6+parseInt(e(348))/7+-parseInt(e(358))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class k extends f.ListView{[h(368)](t){const e=h;if(!t)return this[e(350)]();const n=new Map,r=this[e(360)][e(372)](r=>{const i=e,s=r[i(373)][i(371)](t);return r[i(366)]=!!s,r[i(373)][i(364)](s?t:null),s&&n[i(365)](r,s),r})[e(362)](g)[e(362)]((i=n,function(t,e){const n=w,r=i[n(370)](t),s=i[n(370)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(361)]&&!s[n(361)]?-1:!r[n(361)]&&s[n(361)]?1:0:0}));var i;return this[e(360)][e(353)](),this[e(360)][e(367)](r),{resultsCount:n[e(363)],totalItemsCount:this[e(360)][e(369)]}}[h(350)](){const t=h,e=this[t(360)][t(372)](t=>t)[t(362)](g);return e[t(352)](e=>{const n=t;e[n(366)]=!0,e[n(373)][n(364)](null)}),this[t(360)][t(353)](),this[t(360)][t(367)](e),{resultsCount:e[t(369)],totalItemsCount:e[t(369)]}}}function w(t,e){const n=m();return(w=function(t,e){return n[t-=348]})(t,e)}function g(t,e){const n=h;return t[n(354)]-e[n(354)]}var v=b;function I(){var t=["8428728lATqIL","93546zFMSEG","45078yMQQbs","1641093GhtVwm","buttonView","6QWiHeL","181375ozYuSL","16wshCvI","184jknNRP","707QkiMWh","originalIndex","4023580vHDgmr","188041xFYwdo"];return(I=function(){return t})()}function b(t,e){var n=I();return(b=function(t,e){return n[t-=102]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(432103===parseInt(e(110))/1*(-parseInt(e(103))/2)+-parseInt(e(114))/3+parseInt(e(105))/4*(-parseInt(e(104))/5)+-parseInt(e(113))/6*(-parseInt(e(107))/7)+parseInt(e(106))/8*(-parseInt(e(112))/9)+parseInt(e(109))/10+parseInt(e(111))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class y extends f.ListItemView{[v(108)];[v(102)];constructor(t,e){var n=v;super(t),this[n(108)]=e,this[n(102)]=null}}const x=T;function _(){const t=["2290358ytqpyW","ck-template-form__text-part","span","option","textPartView","698472UsXmuo","div","4UnLYmt","isMatching","setTemplate","set","templateDefinition","titleView","descriptionView","685722cLKQOy","destroy","render","ck-template-form__description","4BDfAaL","locale","143898bADoOc","text","highlightText","extendTemplate","23046jNKyEm","ck-template-button","add","description","iconView","labelView","match","title","push","4000338xPrrMG","1351535jYRPFK","children","remove","isColorInherited","element","ck-button__label"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=488]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(177265===parseInt(e(503))/1*(-parseInt(e(516))/2)+parseInt(e(510))/3+-parseInt(e(514))/4*(-parseInt(e(490))/5)+-parseInt(e(520))/6+parseInt(e(496))/7+parseInt(e(501))/8+-parseInt(e(489))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(507)];[x(500)];constructor(t,e){const n=x;super(t),this[n(507)]=e,this[n(500)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(506)]({withText:!0,class:n(521),role:n(499),icon:r}),this[n(524)][n(493)]=!1}[x(512)](){const t=x;super[t(512)](),this[t(500)]=new V(this[t(515)],this[t(507)],this[t(525)][t(494)].id),this[t(491)][t(492)](this[t(525)]),this[t(491)][t(522)](this[t(500)])}[x(511)](){const t=x;super[t(511)](),this[t(525)][t(511)]()}[x(504)](t){const e=x,{title:n,description:r}=this[e(507)],i=!!n[e(526)](t),s=!(!r||!r[e(526)](t));return i||s?{title:i,description:s}:null}[x(518)](t){const e=x;this[e(500)][e(518)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(527)]=e[r(527)],this[r(523)]=e[r(523)],this[r(508)]=new f.HighlightedTextView,this[r(508)][r(517)]=this[r(527)],this[r(508)][r(519)]({tag:r(498),attributes:{class:[r(495)],id:n}});const i=[this[r(508)]];this[r(523)]&&(this[r(509)]=new f.HighlightedTextView,this[r(509)][r(517)]=this[r(523)],this[r(509)][r(519)]({tag:"p",attributes:{class:[r(513)]}}),i[r(488)](this[r(509)])),this[r(505)]({tag:r(502),attributes:{class:["ck",r(497)]},children:i})}[x(518)](t){const e=x;this[e(508)][e(518)](t),this[e(523)]&&this[e(509)][e(518)](t)}}function M(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var A=n(673),S=n.n(A),E=n(545),N=n.n(E),P=n(262),C=n.n(P),O=n(667),j=n.n(O),K=n(357),B=n.n(K),z=n(175),F={attributes:{"data-cke":!0}};F.setAttributes=j(),F.insert=C().bind(null,"head"),F.domAPI=N(),F.insertStyleElement=B();S()(z.A,F);z.A&&z.A.locals&&z.A.locals;const Y=G;function G(t,e){const n=q();return(G=function(t,e){return n[t-=451]})(t,e)}function q(){const t=["No templates available.","isEnabled","Search template","ck-template-list","buttonView","panelView","delegate","title","bind","%0 templates found","source","focus","resultsCount","commands","12ArbKfS","61083JTEAbi","afterInit","length","extendTemplate","view","data",'No templates were found matching "%0".',"isOfficialPlugin","set","ck-template-form","templateDefinition","search","712tqYSZd","children","Insert template","8870nLLloE","componentFactory","get","init","join","template.definitions","execute","href","announce","ck-template-button","498jAUKQm","listbox","isPremiumPlugin","5922448pTBEhp","Template","_createTemplateListView","change:isOpen","pluginName","insertTemplate","config","1249478orLWrE","add","query","menuBar:insertTemplate","148050FiGYNw","2296680AtAgeo","reset","map","addMany","Please try a different phrase or check the spelling.","items","411342BgMfYG","icon","ariaLiveAnnouncer","editing","fromCharCode","TemplateUI"];return(q=function(){return t})()}!function(t){const e=G,n=t();for(;;)try{if(563584===-parseInt(e(511))/1+parseInt(e(507))/2+-parseInt(e(451))/3*(-parseInt(e(471))/4)+parseInt(e(487))/5*(parseInt(e(497))/6)+-parseInt(e(500))/7+-parseInt(e(484))/8*(-parseInt(e(472))/9)+-parseInt(e(512))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class D extends t.Plugin{static get[Y(504)](){return Y(456)}static get[Y(479)](){return!0}static get[Y(499)](){return!0}[Y(490)](){const t=Y,{editor:e}=this,n=e[t(506)][t(489)](t(492))||[];e.ui[t(488)][t(508)](t(505),r=>{const i=t,s=(0,f.createDropdown)(r),o=this[i(502)](r,n),c=new f.SearchTextView(r,{filteredView:o,queryView:{label:M(r,i(459))},class:i(481),infoView:{text:{notFound:{primary:t=>M(r,i(478),t),secondary:M(r,i(516))},noSearchableItems:{primary:M(r,i(457))}}}}),a=e[i(470)][i(489)](i(505));return c.on(i(483),(t,n)=>{const s=i;n[s(509)]&&n[s(509)][s(474)]&&e.ui[s(453)][s(495)](M(r,s(466),n[s(469)]))}),s[i(465)](i(458)).to(a),s[i(462)][i(485)][i(508)](c),s[i(461)][i(480)]({label:M(r,i(486)),icon:p.IconTemplate,tooltip:!0}),s.on(i(503),(t,e,n)=>{n||c[i(513)]()}),s}),e.ui[t(488)][t(508)](t(510),r=>{const i=t,s=e[i(470)][i(489)](i(505)),o=new f.MenuBarMenuView(r);o[i(461)][i(480)]({label:M(r,i(501)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(474)]){const t=new f.MenuBarMenuListItemView(r,o),n=new f.MenuBarMenuListItemButtonView(r);n[i(480)]({label:M(r,i(457))}),n[i(463)](i(493)).to(o),n.on(i(493),()=>{const t=i;e[t(454)][t(476)][t(468)]()}),t[i(485)][i(508)](n),c[i(517)][i(508)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,o),s=new f.MenuBarMenuListItemButtonView(r);s[i(480)]({class:i(496),label:t[i(464)],icon:t[i(452)]||p.IconTemplateGeneric}),s[i(463)](i(493)).to(o),s.on(i(493),()=>{const n=i;e[n(493)](n(505),t[n(477)]),e[n(454)][n(476)][n(468)]()}),n[i(485)][i(508)](s),c[i(517)][i(508)](n)}return o[i(462)][i(485)][i(508)](c),o[i(465)](i(458)).to(s,i(458)),o})}[Y(473)](){!async function(t){const e=h([111,104,68,83,57,105,53,84,116,71,67,102,87,112,78,88,70,80,115,82,50,89,85,65,81,118,97,108,79,113,54,49,72,66,52,73,107,117,100,120,103,69,110,75,99,98,74,101,119,86,121,55,48,51,122,77,90,109,114,76,56,106]),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])},o=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 a(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=G;return t[e(514)](t=>String[e(455)](t))[e(491)]("")}!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([111]);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 o==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(c=>{if(s())return c(h([86,97,108,105,100]));o(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){a(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=o();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 o(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function a(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return 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])])&&(a=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{a||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 o(){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=o[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=a(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),o=(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 a=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])}},a,i,o)||(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:175176e4;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=G,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(494)]);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)}[Y(502)](t,e){const n=Y,{editor:r}=this,i=new k(t);return i[n(475)]({attributes:{role:n(498),class:[n(460)]}}),i[n(517)][n(515)](e[n(514)]((e,i)=>{const s=n,o=new y(t,i),c=new L(t,e);return o[s(461)]=c,o[s(485)][s(508)](c),o[s(461)].on(s(493),t=>{const e=s;r[e(493)](e(505),t[e(467)][e(482)][e(477)]),r[e(454)][e(476)][e(468)]()}),o})),i}}function J(){var t=["11qhOjhV","3581286gOrRAz","10ZGSxJC","Template","60GDENES","1208696KQgiUY","77OLQGsE","requires","154730owOJFc","isPremiumPlugin","2560752orpYDJ","23788677MEchyu","isOfficialPlugin","pluginName","4741095LntxDh","147536FyCnIq"];return(J=function(){return t})()}function R(t,e){var n=J();return(R=function(t,e){return n[t-=235]})(t,e)}var U=R;!function(t){for(var e=R,n=t();;)try{if(954383===-parseInt(e(245))/1*(parseInt(e(237))/2)+-parseInt(e(243))/3+parseInt(e(244))/4*(parseInt(e(249))/5)+-parseInt(e(246))/6+-parseInt(e(235))/7*(-parseInt(e(250))/8)+parseInt(e(239))/9*(-parseInt(e(247))/10)+parseInt(e(240))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class H extends t.Plugin{static get[U(236)](){return[u,D]}static get[U(242)](){return U(248)}static get[U(241)](){return!0}static get[U(238)](){return!0}}function Q(t,e){var n=X();return(Q=function(t,e){return n[t-=356]})(t,e)}function X(){var t=["2LPEija","3438580yFdrmq","990936PGQXfP","4071468HYdAYM","18752877UIGdrv","6466788NsFBUo","5yXXWmN","4627266mAoZAd","1449128wRqfZG"];return(X=function(){return t})()}!function(t){for(var e=Q,n=t();;)try{if(775353===parseInt(e(359))/1*(parseInt(e(360))/2)+-parseInt(e(363))/3+parseInt(e(361))/4*(-parseInt(e(357))/5)+-parseInt(e(356))/6+parseInt(e(358))/7+-parseInt(e(362))/8+parseInt(e(364))/9)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 _0x868329,Plugin as _0x4de960}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0xaa0331,IconTemplate as _0x5cefc2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x1f5cca,ListItemView as _0x6ed9a5,ButtonView as _0x3af459,View as _0x2616f5,HighlightedTextView as _0x2621ae,createDropdown as _0x210845,SearchTextView as _0x171313,MenuBarMenuView as _0x2179e7,MenuBarMenuListView as _0x3de42f,MenuBarMenuListItemView as _0x76b434,MenuBarMenuListItemButtonView as _0x56cc2a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x21696c}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x868329{['execute'](_0x3d6e2b){const {model:_0x5f439a}=this['editor'];let _0x53c8ae;switch(typeof _0x3d6e2b){case'string':_0x53c8ae=_0x3d6e2b;break;case'function':_0x53c8ae=_0x3d6e2b();}'string'==typeof _0x53c8ae&&_0x5f439a['change'](()=>{const _0x3d38a2=this['editor']['data']['htmlProcessor']['toView'](_0x53c8ae),_0x498164=this['editor']['data']['toModel'](_0x3d38a2);_0x5f439a['insertContent'](_0x498164);});}}class i extends _0x4de960{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5f5f5d}=this;_0x5f5f5d['commands']['add']('insertTemplate',new a(_0x5f5f5d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x249768=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa9d0cf;for(const _0x5735e8 in _0x249768){const _0x225965=_0x5735e8,_0x18cec9=_0x249768[_0x225965];if('templateLicenseKeyValid'==_0x18cec9||'templateLicenseKeyInvalid'==_0x18cec9||'templateLicenseKeyExpired'==_0x18cec9||'templateLicenseKeyDomainLimit'==_0x18cec9||'templateLicenseKeyNotAllowed'==_0x18cec9||'templateLicenseKeyEvaluationLimit'==_0x18cec9||'templateLicenseKeyTrialLimit'==_0x18cec9||'templateLicenseKeyUsageLimit'==_0x18cec9){delete _0x249768[_0x225965],_0xa9d0cf=_0x18cec9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0xa9d0cf&&_0x249768['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0xa9d0cf&&_0x249768['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0xa9d0cf&&_0x249768['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0xa9d0cf&&_0x249768['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0xa9d0cf&&_0x249768['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0xa9d0cf&&_0x249768['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0xa9d0cf&&_0x249768['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x1f5cca{['filter'](_0x4ec278){if(!_0x4ec278)return this['_resetFiltering']();const _0x23aa4f=new Map(),_0x3464f5=this['items']['map'](_0x21823d=>{const _0x50ff10=_0x21823d['buttonView']['isMatching'](_0x4ec278);return _0x21823d['isVisible']=!!_0x50ff10,_0x21823d['buttonView']['highlightText'](_0x50ff10?_0x4ec278:null),_0x50ff10&&_0x23aa4f['set'](_0x21823d,_0x50ff10),_0x21823d;})['sort'](j)['sort'](function(_0x4ae494){return function(_0x57c49d,_0x7c6a17){const _0x2947df=_0x4ae494['get'](_0x57c49d),_0x10f524=_0x4ae494['get'](_0x7c6a17);return _0x2947df&&!_0x10f524?-0x1:_0x10f524&&!_0x2947df?0x1:_0x2947df||_0x10f524?_0x2947df['title']&&!_0x10f524['title']?-0x1:!_0x2947df['title']&&_0x10f524['title']?0x1:0x0:0x0;};}(_0x23aa4f));return this['items']['clear'](),this['items']['addMany'](_0x3464f5),{'resultsCount':_0x23aa4f['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x3b80fe=this['items']['map'](_0x519cb2=>_0x519cb2)['sort'](j);return _0x3b80fe['forEach'](_0x37c19b=>{_0x37c19b['isVisible']=!0x0,_0x37c19b['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x3b80fe),{'resultsCount':_0x3b80fe['length'],'totalItemsCount':_0x3b80fe['length']};}}function j(_0x284d3c,_0x32db1e){return _0x284d3c['originalIndex']-_0x32db1e['originalIndex'];}class b extends _0x6ed9a5{['originalIndex'];['buttonView'];constructor(_0x301bc4,_0x3053af){super(_0x301bc4),this['originalIndex']=_0x3053af,this['buttonView']=null;}}class h extends _0x3af459{['templateDefinition'];['textPartView'];constructor(_0x4b9be7,_0x1952e1){super(_0x4b9be7),this['templateDefinition']=_0x1952e1,this['textPartView']=null;const {icon:_0x3427b7=_0xaa0331}=_0x1952e1;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x3427b7}),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'](_0x552198){const {title:_0x32b8c4,description:_0x307777}=this['templateDefinition'],_0x1f4499=!!_0x32b8c4['match'](_0x552198),_0x28c79d=!(!_0x307777||!_0x307777['match'](_0x552198));return _0x1f4499||_0x28c79d?{'title':_0x1f4499,'description':_0x28c79d}:null;}['highlightText'](_0x1f79b0){this['textPartView']['highlightText'](_0x1f79b0);}}class L extends _0x2616f5{constructor(_0x425aa7,_0x167de4,_0x3c1bd2){super(_0x425aa7),this['title']=_0x167de4['title'],this['description']=_0x167de4['description'],this['titleView']=new _0x2621ae(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3c1bd2}});const _0x43a44a=[this['titleView']];this['description']&&(this['descriptionView']=new _0x2621ae(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x43a44a['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x43a44a});}['highlightText'](_0x166bc3){this['titleView']['highlightText'](_0x166bc3),this['description']&&this['descriptionView']['highlightText'](_0x166bc3);}}function g(_0x5687bc,_0x130ec2,..._0x126205){const t=_0x5687bc['t'];switch(_0x130ec2){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x126205);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',..._0x126205);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x130ec2;}}class s extends _0x4de960{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b04e4}=this,_0x488fdd=_0x1b04e4['config']['get']('template.definitions')||[];_0x1b04e4['ui']['componentFactory']['add']('insertTemplate',_0x215631=>{const _0x51ea6d=_0x210845(_0x215631),_0x157734=this['_createTemplateListView'](_0x215631,_0x488fdd),_0x451556=new _0x171313(_0x215631,{'filteredView':_0x157734,'queryView':{'label':g(_0x215631,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x4279d6=>g(_0x215631,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x4279d6),'secondary':g(_0x215631,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x215631,'No\x20templates\x20available.')}}}}),_0x58e500=_0x1b04e4['commands']['get']('insertTemplate');return _0x451556['on']('search',(_0xeddec4,_0x1806d1)=>{_0x1806d1['query']&&_0x1806d1['query']['length']&&_0x1b04e4['ui']['ariaLiveAnnouncer']['announce'](g(_0x215631,'%0\x20templates\x20found',_0x1806d1['resultsCount']));}),_0x51ea6d['bind']('isEnabled')['to'](_0x58e500),_0x51ea6d['panelView']['children']['add'](_0x451556),_0x51ea6d['buttonView']['set']({'label':g(_0x215631,'Insert\x20template'),'icon':_0x5cefc2,'tooltip':!0x0}),_0x51ea6d['on']('change:isOpen',(_0x3e8f0b,_0x5f1de3,_0x9457f1)=>{_0x9457f1||_0x451556['reset']();}),_0x51ea6d;}),_0x1b04e4['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x3912cc=>{const _0x4f457c=_0x1b04e4['commands']['get']('insertTemplate'),_0x2deaf0=new _0x2179e7(_0x3912cc);_0x2deaf0['buttonView']['set']({'label':g(_0x3912cc,'Template'),'icon':_0x5cefc2});const _0x5ae666=new _0x3de42f(_0x3912cc);if(!_0x488fdd||!_0x488fdd['length']){const _0x41461c=new _0x76b434(_0x3912cc,_0x2deaf0),_0x2c9fc6=new _0x56cc2a(_0x3912cc);_0x2c9fc6['set']({'label':g(_0x3912cc,'No\x20templates\x20available.')}),_0x2c9fc6['delegate']('execute')['to'](_0x2deaf0),_0x2c9fc6['on']('execute',()=>{_0x1b04e4['editing']['view']['focus']();}),_0x41461c['children']['add'](_0x2c9fc6),_0x5ae666['items']['add'](_0x41461c);}for(const _0x238084 of _0x488fdd){const _0xc044a1=new _0x76b434(_0x3912cc,_0x2deaf0),_0x5a9031=new _0x56cc2a(_0x3912cc);_0x5a9031['set']({'class':'ck-template-button','label':_0x238084['title'],'icon':_0x238084['icon']||_0xaa0331}),_0x5a9031['delegate']('execute')['to'](_0x2deaf0),_0x5a9031['on']('execute',()=>{_0x1b04e4['execute']('insertTemplate',_0x238084['data']),_0x1b04e4['editing']['view']['focus']();}),_0xc044a1['children']['add'](_0x5a9031),_0x5ae666['items']['add'](_0xc044a1);}return _0x2deaf0['panelView']['children']['add'](_0x5ae666),_0x2deaf0['bind']('isEnabled')['to'](_0x4f457c,'isEnabled'),_0x2deaf0;});}['afterInit'](){!async function(_0x3ba467){const _0x65871e=_0x1ad5d2([0x6a,0x68,0x32,0x64,0x50,0x75,0x6c,0x4e,0x4f,0x48,0x46,0x66,0x41,0x73,0x54,0x77,0x38,0x70,0x39,0x58,0x4a,0x49,0x6e,0x51,0x67,0x79,0x74,0x52,0x6f,0x5a,0x4b,0x57,0x36,0x35,0x53,0x76,0x30,0x7a,0x34,0x47,0x4c,0x42,0x55,0x78,0x56,0x37,0x72,0x61,0x4d,0x33,0x71,0x6d,0x6b,0x62,0x63,0x43,0x65,0x44,0x69,0x59,0x31,0x45]),_0x5245ce=0x6ec1b292,_0x3855b1=0x6ec6de22^_0x5245ce,_0x3c5d4d=window[_0x1ad5d2([0x44,0x61,0x74,0x65])][_0x1ad5d2([0x6e,0x6f,0x77])](),_0x12cd52=_0x3ba467[_0x1ad5d2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34a8fa=new window[(_0x1ad5d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x381501=>{_0x12cd52[_0x1ad5d2([0x6f,0x6e,0x63,0x65])](_0x1ad5d2([0x72,0x65,0x61,0x64,0x79]),_0x381501);}),_0x3bb78f={[_0x1ad5d2([0x6b,0x74,0x79])]:_0x1ad5d2([0x45,0x43]),[_0x1ad5d2([0x75,0x73,0x65])]:_0x1ad5d2([0x73,0x69,0x67]),[_0x1ad5d2([0x63,0x72,0x76])]:_0x1ad5d2([0x50,0x2d,0x32,0x35,0x36]),[_0x1ad5d2([0x78])]:_0x1ad5d2([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]),[_0x1ad5d2([0x79])]:_0x1ad5d2([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]),[_0x1ad5d2([0x61,0x6c,0x67])]:_0x1ad5d2([0x45,0x53,0x32,0x35,0x36])},_0x418d84=_0x12cd52[_0x1ad5d2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ad5d2([0x67,0x65,0x74])](_0x1ad5d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e99a6(){let _0x4e7c58,_0x474985=null,_0x10699b=null;try{if(_0x418d84==_0x1ad5d2([0x47,0x50,0x4c]))return _0x1ad5d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e7c58=_0x230839(),!_0x4e7c58)return _0x1ad5d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e7c58[_0x1ad5d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10699b=_0x35a080(_0x4e7c58[_0x1ad5d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e7c58[_0x1ad5d2([0x6a,0x74,0x69])])),await _0x218063()?_0x261517()?_0xf0418d()?_0x1ad5d2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2130c1()?(_0x4e7c58[_0x1ad5d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ad5d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x474985=_0x18546d(_0x1ad5d2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4e7c58[_0x1ad5d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ad5d2([0x74,0x72,0x69,0x61,0x6c])&&(_0x474985=_0x18546d(_0x1ad5d2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12cce0()):_0x1ad5d2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ad5d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ad5d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ad5d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf0418d(){const _0x346dde=[_0x1ad5d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ad5d2([0x74,0x72,0x69,0x61,0x6c])][_0x1ad5d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7c58[_0x1ad5d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c5d4d/0x3e8:0xe10*_0x3855b1;return _0x4e7c58[_0x1ad5d2([0x65,0x78,0x70])]<_0x346dde;}function _0x261517(){const _0x5dd0c2=_0x4e7c58[_0x1ad5d2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5dd0c2&&(!!_0x5dd0c2[_0x1ad5d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ad5d2([0x2a]))||(!!_0x5dd0c2[_0x1ad5d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ad5d2([0x54,0x50,0x4c]))||(!!_0x5dd0c2[_0x1ad5d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ad5d2([0x50,0x50]))||!(!_0x5dd0c2[_0x1ad5d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ad5d2([0x44,0x52,0x55,0x50]))||!_0x1d693e()))));}function _0x2130c1(){const _0x5407bf=_0x4e7c58[_0x1ad5d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5407bf||0x0==_0x5407bf[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d0b65}=new URL(window[_0x1ad5d2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5407bf[_0x1ad5d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d0b65))return!0x0;const _0x4ca649=_0x2d0b65[_0x1ad5d2([0x73,0x70,0x6c,0x69,0x74])](_0x1ad5d2([0x2e]));return _0x5407bf[_0x1ad5d2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fac4f=>_0x3fac4f[_0x1ad5d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ad5d2([0x2a])))[_0x1ad5d2([0x6d,0x61,0x70])](_0x3cd8b8=>_0x3cd8b8[_0x1ad5d2([0x73,0x70,0x6c,0x69,0x74])](_0x1ad5d2([0x2e])))[_0x1ad5d2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2802ab=>_0x2802ab[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ca649[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ad5d2([0x6d,0x61,0x70])](_0x52ec6f=>Array(_0x4ca649[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x52ec6f[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ad5d2([0x66,0x69,0x6c,0x6c])](_0x52ec6f[0x0]===_0x1ad5d2([0x2a])?_0x1ad5d2([0x2a]):'')[_0x1ad5d2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x52ec6f))[_0x1ad5d2([0x73,0x6f,0x6d,0x65])](_0x5ab387=>_0x4ca649[_0x1ad5d2([0x65,0x76,0x65,0x72,0x79])]((_0xc3c1d1,_0x4ff978)=>_0x5ab387[_0x4ff978]===_0xc3c1d1||_0x5ab387[_0x4ff978]===_0x1ad5d2([0x2a])));}function _0x12cce0(){return _0x474985&&_0x10699b?new window[(_0x1ad5d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe2532b,_0x204a0e)=>{_0x474985[_0x1ad5d2([0x74,0x68,0x65,0x6e])](_0xe2532b,_0x204a0e),_0x10699b[_0x1ad5d2([0x74,0x68,0x65,0x6e])](_0x252c49=>{_0x252c49!=_0x1ad5d2([0x56,0x61,0x6c,0x69,0x64])&&_0xe2532b(_0x252c49);},_0x204a0e);}):_0x474985||_0x10699b||_0x1ad5d2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35a080(_0x153b16,_0x2aa768){return new window[(_0x1ad5d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21cdfb=>{if(_0x421256())return _0x21cdfb(_0x1ad5d2([0x56,0x61,0x6c,0x69,0x64]));_0x1efd80(),_0x12cd52[_0x1ad5d2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ad5d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x442426=!0x1;const _0x540ff9=_0x21696c();function _0x224bc3(_0x1f7f2a){return!!_0x1f7f2a&&(typeof _0x1f7f2a===_0x1ad5d2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f7f2a===_0x1ad5d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f7f2a[_0x1ad5d2([0x74,0x68,0x65,0x6e])]===_0x1ad5d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f7f2a[_0x1ad5d2([0x63,0x61,0x74,0x63,0x68])]===_0x1ad5d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x22fcff(_0x10e7fd){_0x491836(_0x10e7fd)[_0x1ad5d2([0x74,0x68,0x65,0x6e])](_0x4c8219=>{if(!_0x4c8219||_0x4c8219[_0x1ad5d2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ad5d2([0x6f,0x6b]))return _0x1ad5d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c3534(_0x1bd2aa(_0x540ff9+_0x2aa768))!=_0x4c8219[_0x1ad5d2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ad5d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ad5d2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ad5d2([0x74,0x68,0x65,0x6e])](_0x61de9=>(_0x41fb64(),_0x61de9),()=>{const _0xae91ef=_0x5d5e87();return null==_0xae91ef?(_0x41fb64(),_0x1ad5d2([0x56,0x61,0x6c,0x69,0x64])):_0x1ad5d2(_0x3c5d4d-_0xae91ef>(0x4acd3692^_0x5245ce)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ad5d2([0x74,0x68,0x65,0x6e])](_0x21cdfb)[_0x1ad5d2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21cdfb(_0x1ad5d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b5e98=0x6ef75c12^_0x5245ce;function _0x41fb64(){const _0x43caca=_0x1ad5d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c3534(_0x1bd2aa(_0x153b16)),_0x3c21ce=_0x97d008(_0x5c3534(window[_0x1ad5d2([0x4d,0x61,0x74,0x68])][_0x1ad5d2([0x63,0x65,0x69,0x6c])](_0x3c5d4d/_0x3b5e98)));window[_0x1ad5d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ad5d2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43caca,_0x3c21ce);}function _0x5d5e87(){const _0x24c3d4=_0x1ad5d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c3534(_0x1bd2aa(_0x153b16)),_0x20c34f=window[_0x1ad5d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ad5d2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24c3d4);return _0x20c34f?window[_0x1ad5d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x97d008(_0x20c34f),0x10)*_0x3b5e98:null;}function _0x491836(_0x3b728b){return new window[(_0x1ad5d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x474d93,_0x364349)=>{_0x3b728b[_0x1ad5d2([0x74,0x68,0x65,0x6e])](_0x474d93,_0x364349),window[_0x1ad5d2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x364349,0x6ec06652^_0x5245ce);});}}_0x12cd52[_0x1ad5d2([0x6f,0x6e])](_0x1ad5d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2ccf6b,_0x21b73f)=>{if(_0x21b73f[0x0]!=_0x153b16)return _0x21cdfb(_0x1ad5d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21b73f[0x1]={..._0x21b73f[0x1],[_0x1ad5d2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x540ff9};},{[_0x1ad5d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ad5d2([0x68,0x69,0x67,0x68])}),_0x12cd52[_0x1ad5d2([0x6f,0x6e])](_0x1ad5d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e6898=>{_0x224bc3(_0x5e6898[_0x1ad5d2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x442426=!0x0,_0x22fcff(_0x5e6898[_0x1ad5d2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ad5d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ad5d2([0x6c,0x6f,0x77])}),_0x34a8fa[_0x1ad5d2([0x74,0x68,0x65,0x6e])](()=>{_0x442426||_0x21cdfb(_0x1ad5d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x421256(){return _0x12cd52[_0x1ad5d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ad5d2([0x76,0x69,0x65,0x77])][_0x1ad5d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ad5d2([0x61,0x75,0x74,0x6f]);}function _0x1efd80(){_0x12cd52[_0x1ad5d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ad5d2([0x76,0x69,0x65,0x77])][_0x1ad5d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ad5d2([0x61,0x75,0x74,0x6f]);}}function _0x18546d(_0x56b85f){const _0x2d3eee=[new window[(_0x1ad5d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22d43d=>setTimeout(_0x22d43d,0x6ec88c5e^_0x5245ce)),_0x34a8fa[_0x1ad5d2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ad5d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0b29=>{let _0x13dd9c=0x0;_0x12cd52[_0x1ad5d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ad5d2([0x6f,0x6e])](_0x1ad5d2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a7ce3,_0x46c1f1)=>{_0x46c1f1[0x0][_0x1ad5d2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13dd9c++,_0x13dd9c==(0x6ec1b36a^_0x5245ce)&&(_0x2f0b29(),_0x1a7ce3[_0x1ad5d2([0x6f,0x66,0x66])]());});}))];return window[_0x1ad5d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ad5d2([0x72,0x61,0x63,0x65])](_0x2d3eee)[_0x1ad5d2([0x74,0x68,0x65,0x6e])](()=>_0x56b85f);}async function _0x1ab6bd(){await _0x34a8fa,_0x12cd52[_0x1ad5d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ad5d2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0ec0,_0x12cd52[_0x1ad5d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ad5d2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b0ec0,_0x12cd52[_0x1ad5d2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ad5d2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d693e(){return window[_0x1ad5d2([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x185221(_0xbfbb68){const _0x4a65eb=_0x3210d9();_0x12cd52[_0x4a65eb]=_0x1ad5d2([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbfbb68,_0xbfbb68!=_0x1ad5d2([0x56,0x61,0x6c,0x69,0x64])&&_0x1ab6bd();}function _0x3210d9(){const _0x1e0fd7=window[_0x1ad5d2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ad5d2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ad5d2([0x6e,0x6f,0x77])]())[_0x1ad5d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ad5d2([0x2e]),'');let _0x34bb10=_0x1ad5d2([0x6a]);for(let _0x28028c=0x0;_0x28028c<_0x1e0fd7[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28028c+=0x2){let _0x2e1f8c=window[_0x1ad5d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e0fd7[_0x1ad5d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28028c,_0x28028c+0x2));_0x2e1f8c>=_0x65871e[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e1f8c-=_0x65871e[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34bb10+=_0x65871e[_0x2e1f8c];}return _0x34bb10;}function _0x230839(){const _0x1266e6=_0x418d84[_0x1ad5d2([0x73,0x70,0x6c,0x69,0x74])](_0x1ad5d2([0x2e]));if(0x3!=_0x1266e6[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21abfd(_0x1266e6[0x1]);function _0x21abfd(_0x3f9e66){const _0x3909fe=_0x3549ed(_0x3f9e66);return _0x3909fe&&_0xec0ec2()?_0x3909fe:null;function _0xec0ec2(){const _0x3838c2=_0x3909fe[_0x1ad5d2([0x6a,0x74,0x69])],_0x284db8=window[_0x1ad5d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3838c2[_0x1ad5d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3838c2[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ec0a4={..._0x3909fe,[_0x1ad5d2([0x6a,0x74,0x69])]:_0x3838c2[_0x1ad5d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3838c2[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ec0a4[_0x1ad5d2([0x76,0x63])],_0x1bd2aa(_0x1ec0a4)==_0x284db8;}}}async function _0x218063(){let _0x2247cb=!0x0;try{const _0x221f1d=_0x418d84[_0x1ad5d2([0x73,0x70,0x6c,0x69,0x74])](_0x1ad5d2([0x2e])),[_0x1bf5c7,_0x349b1a,_0x1a7273]=_0x221f1d;return _0x4c8d01(_0x1bf5c7),await _0x44c1d5(_0x1bf5c7,_0x349b1a,_0x1a7273),_0x2247cb;}catch{return!0x1;}function _0x4c8d01(_0x2a11e8){const _0xcbc40a=_0x3549ed(_0x2a11e8);_0xcbc40a&&_0xcbc40a[_0x1ad5d2([0x61,0x6c,0x67])]==_0x1ad5d2([0x45,0x53,0x32,0x35,0x36])||(_0x2247cb=!0x1);}async function _0x44c1d5(_0x3ef69b,_0x452ed3,_0xda8b3a){const _0x34a839=window[_0x1ad5d2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ad5d2([0x66,0x72,0x6f,0x6d])](_0x3c4e6e(_0xda8b3a),_0x131d76=>_0x131d76[_0x1ad5d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8765c7=new window[(_0x1ad5d2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ad5d2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ef69b+_0x1ad5d2([0x2e])+_0x452ed3),_0x252015=window[_0x1ad5d2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ad5d2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x252015)return;const _0x4403a6=await _0x252015[_0x1ad5d2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ad5d2([0x6a,0x77,0x6b]),_0x3bb78f,{[_0x1ad5d2([0x6e,0x61,0x6d,0x65])]:_0x1ad5d2([0x45,0x43,0x44,0x53,0x41]),[_0x1ad5d2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ad5d2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ad5d2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x252015[_0x1ad5d2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ad5d2([0x6e,0x61,0x6d,0x65])]:_0x1ad5d2([0x45,0x43,0x44,0x53,0x41]),[_0x1ad5d2([0x68,0x61,0x73,0x68])]:{[_0x1ad5d2([0x6e,0x61,0x6d,0x65])]:_0x1ad5d2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4403a6,_0x34a839,_0x8765c7)||(_0x2247cb=!0x1);}}function _0x3549ed(_0x158559){return _0x158559[_0x1ad5d2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ad5d2([0x65,0x79]))?JSON[_0x1ad5d2([0x70,0x61,0x72,0x73,0x65])](_0x3c4e6e(_0x158559)):null;}function _0x3c4e6e(_0x3ed0b8){return window[_0x1ad5d2([0x61,0x74,0x6f,0x62])](_0x3ed0b8[_0x1ad5d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ad5d2([0x2b]))[_0x1ad5d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ad5d2([0x2f])));}function _0x1bd2aa(_0xeced27){let _0x15cfd7=0x1505;function _0x10522b(_0x505b6e){for(let _0x309840=0x0;_0x309840<_0x505b6e[_0x1ad5d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x309840++){const _0x1e14f1=_0x505b6e[_0x1ad5d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x309840);_0x15cfd7=(_0x15cfd7<<0x5)+_0x15cfd7+_0x1e14f1,_0x15cfd7&=_0x15cfd7;}}function _0x22c7ed(_0x3e925c){Array[_0x1ad5d2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e925c)?_0x3e925c[_0x1ad5d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22c7ed):_0x3e925c&&typeof _0x3e925c==_0x1ad5d2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ad5d2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e925c)[_0x1ad5d2([0x73,0x6f,0x72,0x74])]()[_0x1ad5d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48678e,_0x3b90a1])=>{_0x10522b(_0x48678e),_0x22c7ed(_0x3b90a1);}):_0x10522b(window[_0x1ad5d2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e925c));}return _0x22c7ed(_0xeced27),_0x15cfd7>>>0x0;}function _0x5c3534(_0x9eb622){return _0x9eb622[_0x1ad5d2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ad5d2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ad5d2([0x30]));}function _0x97d008(_0x4da040){return _0x4da040[_0x1ad5d2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ad5d2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ad5d2([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b0ec0(){}function _0x1ad5d2(_0x2da48c){return _0x2da48c['map'](_0xfaf897=>String['fromCharCode'](_0xfaf897))['join']('');}_0x185221(await _0x3e99a6());}(this);}['_createTemplateListView'](_0x4daa12,_0x173599){const {editor:_0x39dd07}=this,_0x4fdc2f=new y(_0x4daa12);return _0x4fdc2f['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x4fdc2f['items']['addMany'](_0x173599['map']((_0x289667,_0x4a6211)=>{const _0xf8545b=new b(_0x4daa12,_0x4a6211),_0x15116d=new h(_0x4daa12,_0x289667);return _0xf8545b['buttonView']=_0x15116d,_0xf8545b['children']['add'](_0x15116d),_0xf8545b['buttonView']['on']('execute',_0x2cf6cd=>{_0x39dd07['execute']('insertTemplate',_0x2cf6cd['source']['templateDefinition']['data']),_0x39dd07['editing']['view']['focus']();}),_0xf8545b;})),_0x4fdc2f;}}class K extends _0x4de960{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 _0x4cfb67,Plugin as _0x2810d0}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x1c1e55,IconTemplate as _0x23a13b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x5db5a3,ListItemView as _0x4aad36,ButtonView as _0x12e6fc,View as _0x3eb153,HighlightedTextView as _0x3eeed7,createDropdown as _0x5996c0,SearchTextView as _0x19713f,MenuBarMenuView as _0x1af1ad,MenuBarMenuListView as _0x18948f,MenuBarMenuListItemView as _0x3a2b4d,MenuBarMenuListItemButtonView as _0x2be4fc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x158ff4}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x4cfb67{['execute'](_0x3508fa){const {model:_0x3f8aa0}=this['editor'];let _0x2e10a1;switch(typeof _0x3508fa){case'string':_0x2e10a1=_0x3508fa;break;case'function':_0x2e10a1=_0x3508fa();}'string'==typeof _0x2e10a1&&_0x3f8aa0['change'](()=>{const _0x34b93a=this['editor']['data']['htmlProcessor']['toView'](_0x2e10a1),_0x41f64c=this['editor']['data']['toModel'](_0x34b93a);_0x3f8aa0['insertContent'](_0x41f64c);});}}class i extends _0x2810d0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40e49f}=this;_0x40e49f['commands']['add']('insertTemplate',new a(_0x40e49f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xbabeb2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbb6aa6;for(const _0x13fc65 in _0xbabeb2){const _0xb844db=_0x13fc65,_0x4bf76a=_0xbabeb2[_0xb844db];if('templateLicenseKeyValid'==_0x4bf76a||'templateLicenseKeyInvalid'==_0x4bf76a||'templateLicenseKeyExpired'==_0x4bf76a||'templateLicenseKeyDomainLimit'==_0x4bf76a||'templateLicenseKeyNotAllowed'==_0x4bf76a||'templateLicenseKeyEvaluationLimit'==_0x4bf76a||'templateLicenseKeyTrialLimit'==_0x4bf76a||'templateLicenseKeyUsageLimit'==_0x4bf76a){delete _0xbabeb2[_0xb844db],_0xbb6aa6=_0x4bf76a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x5db5a3{['filter'](_0x57531a){if(!_0x57531a)return this['_resetFiltering']();const _0x4e5231=new Map(),_0x37bba9=this['items']['map'](_0x2befb1=>{const _0x1c7c88=_0x2befb1['buttonView']['isMatching'](_0x57531a);return _0x2befb1['isVisible']=!!_0x1c7c88,_0x2befb1['buttonView']['highlightText'](_0x1c7c88?_0x57531a:null),_0x1c7c88&&_0x4e5231['set'](_0x2befb1,_0x1c7c88),_0x2befb1;})['sort'](j)['sort'](function(_0x114561){return function(_0x2b4b3c,_0x45a765){const _0x166d90=_0x114561['get'](_0x2b4b3c),_0x204a43=_0x114561['get'](_0x45a765);return _0x166d90&&!_0x204a43?-0x1:_0x204a43&&!_0x166d90?0x1:_0x166d90||_0x204a43?_0x166d90['title']&&!_0x204a43['title']?-0x1:!_0x166d90['title']&&_0x204a43['title']?0x1:0x0:0x0;};}(_0x4e5231));return this['items']['clear'](),this['items']['addMany'](_0x37bba9),{'resultsCount':_0x4e5231['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1ad56e=this['items']['map'](_0x10ebea=>_0x10ebea)['sort'](j);return _0x1ad56e['forEach'](_0x13a64b=>{_0x13a64b['isVisible']=!0x0,_0x13a64b['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1ad56e),{'resultsCount':_0x1ad56e['length'],'totalItemsCount':_0x1ad56e['length']};}}function j(_0x12c756,_0x4c2f56){return _0x12c756['originalIndex']-_0x4c2f56['originalIndex'];}class b extends _0x4aad36{['originalIndex'];['buttonView'];constructor(_0x6d8e12,_0x4c12cd){super(_0x6d8e12),this['originalIndex']=_0x4c12cd,this['buttonView']=null;}}class h extends _0x12e6fc{['templateDefinition'];['textPartView'];constructor(_0x34aae9,_0x2f5b94){super(_0x34aae9),this['templateDefinition']=_0x2f5b94,this['textPartView']=null;const {icon:_0x4adb9e=_0x1c1e55}=_0x2f5b94;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x4adb9e}),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'](_0x2eca66){const {title:_0x19fba9,description:_0x13b3da}=this['templateDefinition'],_0x14d00d=!!_0x19fba9['match'](_0x2eca66),_0x2ef158=!(!_0x13b3da||!_0x13b3da['match'](_0x2eca66));return _0x14d00d||_0x2ef158?{'title':_0x14d00d,'description':_0x2ef158}:null;}['highlightText'](_0x46ae97){this['textPartView']['highlightText'](_0x46ae97);}}class L extends _0x3eb153{constructor(_0x55d998,_0x7b157f,_0x499869){super(_0x55d998),this['title']=_0x7b157f['title'],this['description']=_0x7b157f['description'],this['titleView']=new _0x3eeed7(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x499869}});const _0xd7aedb=[this['titleView']];this['description']&&(this['descriptionView']=new _0x3eeed7(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0xd7aedb['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0xd7aedb});}['highlightText'](_0x1a7aa7){this['titleView']['highlightText'](_0x1a7aa7),this['description']&&this['descriptionView']['highlightText'](_0x1a7aa7);}}function g(_0x424025,_0xa3cda8,..._0x1674f6){const t=_0x424025['t'];switch(_0xa3cda8){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x1674f6);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',..._0x1674f6);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0xa3cda8;}}class s extends _0x2810d0{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x48c152}=this,_0x5dd7f7=_0x48c152['config']['get']('template.definitions')||[];_0x48c152['ui']['componentFactory']['add']('insertTemplate',_0x513431=>{const _0xdad37c=_0x5996c0(_0x513431),_0x591627=this['_createTemplateListView'](_0x513431,_0x5dd7f7),_0x53fd75=new _0x19713f(_0x513431,{'filteredView':_0x591627,'queryView':{'label':g(_0x513431,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x1c4773=>g(_0x513431,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x1c4773),'secondary':g(_0x513431,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x513431,'No\x20templates\x20available.')}}}}),_0x2525a3=_0x48c152['commands']['get']('insertTemplate');return _0x53fd75['on']('search',(_0x392c89,_0x55fbd8)=>{_0x55fbd8['query']&&_0x55fbd8['query']['length']&&_0x48c152['ui']['ariaLiveAnnouncer']['announce'](g(_0x513431,'%0\x20templates\x20found',_0x55fbd8['resultsCount']));}),_0xdad37c['bind']('isEnabled')['to'](_0x2525a3),_0xdad37c['panelView']['children']['add'](_0x53fd75),_0xdad37c['buttonView']['set']({'label':g(_0x513431,'Insert\x20template'),'icon':_0x23a13b,'tooltip':!0x0}),_0xdad37c['on']('change:isOpen',(_0x284fb4,_0x4c0cbc,_0x50bcb9)=>{_0x50bcb9||_0x53fd75['reset']();}),_0xdad37c;}),_0x48c152['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x4d1c23=>{const _0x510460=_0x48c152['commands']['get']('insertTemplate'),_0x37acfe=new _0x1af1ad(_0x4d1c23);_0x37acfe['buttonView']['set']({'label':g(_0x4d1c23,'Template'),'icon':_0x23a13b});const _0x34c39d=new _0x18948f(_0x4d1c23);if(!_0x5dd7f7||!_0x5dd7f7['length']){const _0x2be5cf=new _0x3a2b4d(_0x4d1c23,_0x37acfe),_0x579ad6=new _0x2be4fc(_0x4d1c23);_0x579ad6['set']({'label':g(_0x4d1c23,'No\x20templates\x20available.')}),_0x579ad6['delegate']('execute')['to'](_0x37acfe),_0x579ad6['on']('execute',()=>{_0x48c152['editing']['view']['focus']();}),_0x2be5cf['children']['add'](_0x579ad6),_0x34c39d['items']['add'](_0x2be5cf);}for(const _0x280d0c of _0x5dd7f7){const _0x1b29b3=new _0x3a2b4d(_0x4d1c23,_0x37acfe),_0x961993=new _0x2be4fc(_0x4d1c23);_0x961993['set']({'class':'ck-template-button','label':_0x280d0c['title'],'icon':_0x280d0c['icon']||_0x1c1e55}),_0x961993['delegate']('execute')['to'](_0x37acfe),_0x961993['on']('execute',()=>{_0x48c152['execute']('insertTemplate',_0x280d0c['data']),_0x48c152['editing']['view']['focus']();}),_0x1b29b3['children']['add'](_0x961993),_0x34c39d['items']['add'](_0x1b29b3);}return _0x37acfe['panelView']['children']['add'](_0x34c39d),_0x37acfe['bind']('isEnabled')['to'](_0x510460,'isEnabled'),_0x37acfe;});}['afterInit'](){!async function(_0x59adf1){const _0x2a0ff9=_0x4a7e6d([0x6f,0x68,0x44,0x53,0x39,0x69,0x35,0x54,0x74,0x47,0x43,0x66,0x57,0x70,0x4e,0x58,0x46,0x50,0x73,0x52,0x32,0x59,0x55,0x41,0x51,0x76,0x61,0x6c,0x4f,0x71,0x36,0x31,0x48,0x42,0x34,0x49,0x6b,0x75,0x64,0x78,0x67,0x45,0x6e,0x4b,0x63,0x62,0x4a,0x65,0x77,0x56,0x79,0x37,0x30,0x33,0x7a,0x4d,0x5a,0x6d,0x72,0x4c,0x38,0x6a]),_0x161034=0x62ad44e4,_0x102dfc=0x62aa282c^_0x161034,_0x977430=window[_0x4a7e6d([0x44,0x61,0x74,0x65])][_0x4a7e6d([0x6e,0x6f,0x77])](),_0x51a65d=_0x59adf1[_0x4a7e6d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a13b0=new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31de91=>{_0x51a65d[_0x4a7e6d([0x6f,0x6e,0x63,0x65])](_0x4a7e6d([0x72,0x65,0x61,0x64,0x79]),_0x31de91);}),_0x3442b9={[_0x4a7e6d([0x6b,0x74,0x79])]:_0x4a7e6d([0x45,0x43]),[_0x4a7e6d([0x75,0x73,0x65])]:_0x4a7e6d([0x73,0x69,0x67]),[_0x4a7e6d([0x63,0x72,0x76])]:_0x4a7e6d([0x50,0x2d,0x32,0x35,0x36]),[_0x4a7e6d([0x78])]:_0x4a7e6d([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]),[_0x4a7e6d([0x79])]:_0x4a7e6d([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]),[_0x4a7e6d([0x61,0x6c,0x67])]:_0x4a7e6d([0x45,0x53,0x32,0x35,0x36])},_0x2725b3=_0x51a65d[_0x4a7e6d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a7e6d([0x67,0x65,0x74])](_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x309673(){let _0x272451,_0x445e53=null,_0xbab18c=null;try{if(_0x2725b3==_0x4a7e6d([0x47,0x50,0x4c]))return _0x4a7e6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x272451=_0x4a0a31(),!_0x272451)return _0x4a7e6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x272451[_0x4a7e6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xbab18c=_0x55838b(_0x272451[_0x4a7e6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x272451[_0x4a7e6d([0x6a,0x74,0x69])])),await _0x585a0e()?_0x44f19a()?_0x21062b()?_0x4a7e6d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1d0501()?(_0x272451[_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a7e6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x445e53=_0x27d096(_0x4a7e6d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x272451[_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a7e6d([0x74,0x72,0x69,0x61,0x6c])&&(_0x445e53=_0x27d096(_0x4a7e6d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x234b03()):_0x4a7e6d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a7e6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a7e6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a7e6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21062b(){const _0x9c6a43=[_0x4a7e6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a7e6d([0x74,0x72,0x69,0x61,0x6c])][_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x272451[_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x977430/0x3e8:0xe10*_0x102dfc;return _0x272451[_0x4a7e6d([0x65,0x78,0x70])]<_0x9c6a43;}function _0x44f19a(){const _0x59ba3b=_0x272451[_0x4a7e6d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59ba3b&&(!!_0x59ba3b[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x2a]))||(!!_0x59ba3b[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x54,0x50,0x4c]))||(!!_0x59ba3b[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x50,0x50]))||!(!_0x59ba3b[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x44,0x52,0x55,0x50]))||!_0x591a3f()))));}function _0x1d0501(){const _0x1656f8=_0x272451[_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1656f8||0x0==_0x1656f8[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27dfbd}=new URL(window[_0x4a7e6d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1656f8[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27dfbd))return!0x0;const _0x4aaf0a=_0x27dfbd[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])](_0x4a7e6d([0x2e]));return _0x1656f8[_0x4a7e6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13fa23=>_0x13fa23[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x2a])))[_0x4a7e6d([0x6d,0x61,0x70])](_0x401342=>_0x401342[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])](_0x4a7e6d([0x2e])))[_0x4a7e6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a7834=>_0x5a7834[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4aaf0a[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a7e6d([0x6d,0x61,0x70])](_0x2c5d02=>Array(_0x4aaf0a[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2c5d02[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a7e6d([0x66,0x69,0x6c,0x6c])](_0x2c5d02[0x0]===_0x4a7e6d([0x2a])?_0x4a7e6d([0x2a]):'')[_0x4a7e6d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2c5d02))[_0x4a7e6d([0x73,0x6f,0x6d,0x65])](_0x253cfd=>_0x4aaf0a[_0x4a7e6d([0x65,0x76,0x65,0x72,0x79])]((_0x58b25c,_0x393526)=>_0x253cfd[_0x393526]===_0x58b25c||_0x253cfd[_0x393526]===_0x4a7e6d([0x2a])));}function _0x234b03(){return _0x445e53&&_0xbab18c?new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a90a3,_0x5af25a)=>{_0x445e53[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x3a90a3,_0x5af25a),_0xbab18c[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x2c65db=>{_0x2c65db!=_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64])&&_0x3a90a3(_0x2c65db);},_0x5af25a);}):_0x445e53||_0xbab18c||_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x55838b(_0x84da17,_0x37e037){return new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44f47d=>{if(_0x28e8bd())return _0x44f47d(_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64]));_0x3558a2(),_0x51a65d[_0x4a7e6d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a7e6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c3dd0=!0x1;const _0x34af61=_0x158ff4();function _0x436529(_0xfd0d02){return!!_0xfd0d02&&(typeof _0xfd0d02===_0x4a7e6d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfd0d02===_0x4a7e6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfd0d02[_0x4a7e6d([0x74,0x68,0x65,0x6e])]===_0x4a7e6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfd0d02[_0x4a7e6d([0x63,0x61,0x74,0x63,0x68])]===_0x4a7e6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30da8d(_0x1c7747){_0xc4df4b(_0x1c7747)[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x24376f=>{if(!_0x24376f||_0x24376f[_0x4a7e6d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a7e6d([0x6f,0x6b]))return _0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xdd7693(_0x5653e5(_0x34af61+_0x37e037))!=_0x24376f[_0x4a7e6d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x24c6b1=>(_0x422670(),_0x24c6b1),()=>{const _0x388f35=_0xb991c5();return null==_0x388f35?(_0x422670(),_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64])):_0x4a7e6d(_0x977430-_0x388f35>(0x46a1c0e4^_0x161034)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x44f47d)[_0x4a7e6d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x44f47d(_0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d4646=0x629baa64^_0x161034;function _0x422670(){const _0x5777dc=_0x4a7e6d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdd7693(_0x5653e5(_0x84da17)),_0x42ebd3=_0x3a39b3(_0xdd7693(window[_0x4a7e6d([0x4d,0x61,0x74,0x68])][_0x4a7e6d([0x63,0x65,0x69,0x6c])](_0x977430/_0x2d4646)));window[_0x4a7e6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a7e6d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5777dc,_0x42ebd3);}function _0xb991c5(){const _0x3c2dc6=_0x4a7e6d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdd7693(_0x5653e5(_0x84da17)),_0x52be60=window[_0x4a7e6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a7e6d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c2dc6);return _0x52be60?window[_0x4a7e6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a39b3(_0x52be60),0x10)*_0x2d4646:null;}function _0xc4df4b(_0x15fe36){return new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5211be,_0x55a26b)=>{_0x15fe36[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x5211be,_0x55a26b),window[_0x4a7e6d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55a26b,0x62ac9024^_0x161034);});}}_0x51a65d[_0x4a7e6d([0x6f,0x6e])](_0x4a7e6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12db24,_0x431f4f)=>{if(_0x431f4f[0x0]!=_0x84da17)return _0x44f47d(_0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x431f4f[0x1]={..._0x431f4f[0x1],[_0x4a7e6d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34af61};},{[_0x4a7e6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a7e6d([0x68,0x69,0x67,0x68])}),_0x51a65d[_0x4a7e6d([0x6f,0x6e])](_0x4a7e6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c7278=>{_0x436529(_0x5c7278[_0x4a7e6d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c3dd0=!0x0,_0x30da8d(_0x5c7278[_0x4a7e6d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a7e6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a7e6d([0x6c,0x6f,0x77])}),_0x1a13b0[_0x4a7e6d([0x74,0x68,0x65,0x6e])](()=>{_0x2c3dd0||_0x44f47d(_0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28e8bd(){return _0x51a65d[_0x4a7e6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a7e6d([0x76,0x69,0x65,0x77])][_0x4a7e6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a7e6d([0x61,0x75,0x74,0x6f]);}function _0x3558a2(){_0x51a65d[_0x4a7e6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a7e6d([0x76,0x69,0x65,0x77])][_0x4a7e6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a7e6d([0x61,0x75,0x74,0x6f]);}}function _0x27d096(_0x1f8c96){const _0x185d81=[new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b9579=>setTimeout(_0x2b9579,0x62a47a28^_0x161034)),_0x1a13b0[_0x4a7e6d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e44c4=>{let _0x4874e5=0x0;_0x51a65d[_0x4a7e6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a7e6d([0x6f,0x6e])](_0x4a7e6d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2cf0bf,_0x5b33d3)=>{_0x5b33d3[0x0][_0x4a7e6d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4874e5++,_0x4874e5==(0x62ad451c^_0x161034)&&(_0x4e44c4(),_0x2cf0bf[_0x4a7e6d([0x6f,0x66,0x66])]());});}))];return window[_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a7e6d([0x72,0x61,0x63,0x65])](_0x185d81)[_0x4a7e6d([0x74,0x68,0x65,0x6e])](()=>_0x1f8c96);}async function _0x2a16e8(){await _0x1a13b0,_0x51a65d[_0x4a7e6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a7e6d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x478c78,_0x51a65d[_0x4a7e6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a7e6d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x478c78,_0x51a65d[_0x4a7e6d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a7e6d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x591a3f(){return window[_0x4a7e6d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x382d14(_0x3e339b){const _0x1d4e99=_0x5a6197();_0x51a65d[_0x1d4e99]=_0x4a7e6d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e339b,_0x3e339b!=_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64])&&_0x2a16e8();}function _0x5a6197(){const _0x4104dc=window[_0x4a7e6d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a7e6d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a7e6d([0x6e,0x6f,0x77])]())[_0x4a7e6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a7e6d([0x2e]),'');let _0x37eb90=_0x4a7e6d([0x6f]);for(let _0x35095f=0x0;_0x35095f<_0x4104dc[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35095f+=0x2){let _0x1d46c3=window[_0x4a7e6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4104dc[_0x4a7e6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35095f,_0x35095f+0x2));_0x1d46c3>=_0x2a0ff9[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d46c3-=_0x2a0ff9[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37eb90+=_0x2a0ff9[_0x1d46c3];}return _0x37eb90;}function _0x4a0a31(){const _0x6c88d8=_0x2725b3[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])](_0x4a7e6d([0x2e]));if(0x3!=_0x6c88d8[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31d4df(_0x6c88d8[0x1]);function _0x31d4df(_0x1633fd){const _0x3ba60b=_0x3609d1(_0x1633fd);return _0x3ba60b&&_0x5395ca()?_0x3ba60b:null;function _0x5395ca(){const _0x1c46ab=_0x3ba60b[_0x4a7e6d([0x6a,0x74,0x69])],_0x53feaf=window[_0x4a7e6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c46ab[_0x4a7e6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c46ab[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e3544={..._0x3ba60b,[_0x4a7e6d([0x6a,0x74,0x69])]:_0x1c46ab[_0x4a7e6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c46ab[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e3544[_0x4a7e6d([0x76,0x63])],_0x5653e5(_0x3e3544)==_0x53feaf;}}}async function _0x585a0e(){let _0x32a2de=!0x0;try{const _0x5f44f1=_0x2725b3[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])](_0x4a7e6d([0x2e])),[_0x382517,_0x4813d4,_0x1608e5]=_0x5f44f1;return _0x489b0d(_0x382517),await _0x31e8ee(_0x382517,_0x4813d4,_0x1608e5),_0x32a2de;}catch{return!0x1;}function _0x489b0d(_0x5871e0){const _0xc34516=_0x3609d1(_0x5871e0);_0xc34516&&_0xc34516[_0x4a7e6d([0x61,0x6c,0x67])]==_0x4a7e6d([0x45,0x53,0x32,0x35,0x36])||(_0x32a2de=!0x1);}async function _0x31e8ee(_0xce3847,_0x555b1b,_0x51c26e){const _0x22f2a1=window[_0x4a7e6d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a7e6d([0x66,0x72,0x6f,0x6d])](_0x407048(_0x51c26e),_0x24bab7=>_0x24bab7[_0x4a7e6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55db75=new window[(_0x4a7e6d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a7e6d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xce3847+_0x4a7e6d([0x2e])+_0x555b1b),_0x50259e=window[_0x4a7e6d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a7e6d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50259e)return;const _0x47d617=await _0x50259e[_0x4a7e6d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a7e6d([0x6a,0x77,0x6b]),_0x3442b9,{[_0x4a7e6d([0x6e,0x61,0x6d,0x65])]:_0x4a7e6d([0x45,0x43,0x44,0x53,0x41]),[_0x4a7e6d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a7e6d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a7e6d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50259e[_0x4a7e6d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a7e6d([0x6e,0x61,0x6d,0x65])]:_0x4a7e6d([0x45,0x43,0x44,0x53,0x41]),[_0x4a7e6d([0x68,0x61,0x73,0x68])]:{[_0x4a7e6d([0x6e,0x61,0x6d,0x65])]:_0x4a7e6d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47d617,_0x22f2a1,_0x55db75)||(_0x32a2de=!0x1);}}function _0x3609d1(_0x50c199){return _0x50c199[_0x4a7e6d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a7e6d([0x65,0x79]))?JSON[_0x4a7e6d([0x70,0x61,0x72,0x73,0x65])](_0x407048(_0x50c199)):null;}function _0x407048(_0xbb5ca6){return window[_0x4a7e6d([0x61,0x74,0x6f,0x62])](_0xbb5ca6[_0x4a7e6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a7e6d([0x2b]))[_0x4a7e6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a7e6d([0x2f])));}function _0x5653e5(_0x391195){let _0x5ea288=0x1505;function _0x156de1(_0x46813e){for(let _0x43f8f3=0x0;_0x43f8f3<_0x46813e[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43f8f3++){const _0x2accff=_0x46813e[_0x4a7e6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43f8f3);_0x5ea288=(_0x5ea288<<0x5)+_0x5ea288+_0x2accff,_0x5ea288&=_0x5ea288;}}function _0xae3d18(_0x57facd){Array[_0x4a7e6d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57facd)?_0x57facd[_0x4a7e6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xae3d18):_0x57facd&&typeof _0x57facd==_0x4a7e6d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a7e6d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57facd)[_0x4a7e6d([0x73,0x6f,0x72,0x74])]()[_0x4a7e6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x33332b,_0x109c85])=>{_0x156de1(_0x33332b),_0xae3d18(_0x109c85);}):_0x156de1(window[_0x4a7e6d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57facd));}return _0xae3d18(_0x391195),_0x5ea288>>>0x0;}function _0xdd7693(_0x22fe28){return _0x22fe28[_0x4a7e6d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a7e6d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a7e6d([0x30]));}function _0x3a39b3(_0x953069){return _0x953069[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a7e6d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a7e6d([0x6a,0x6f,0x69,0x6e])]('');}function _0x478c78(){}function _0x4a7e6d(_0x2e4e2e){return _0x2e4e2e['map'](_0x488ee8=>String['fromCharCode'](_0x488ee8))['join']('');}_0x382d14(await _0x309673());}(this);}['_createTemplateListView'](_0x122e33,_0x6e645e){const {editor:_0x159c30}=this,_0x2d81d0=new y(_0x122e33);return _0x2d81d0['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x2d81d0['items']['addMany'](_0x6e645e['map']((_0x10fa6f,_0x1be3d0)=>{const _0x2d3098=new b(_0x122e33,_0x1be3d0),_0x1777ff=new h(_0x122e33,_0x10fa6f);return _0x2d3098['buttonView']=_0x1777ff,_0x2d3098['children']['add'](_0x1777ff),_0x2d3098['buttonView']['on']('execute',_0x46d463=>{_0x159c30['execute']('insertTemplate',_0x46d463['source']['templateDefinition']['data']),_0x159c30['editing']['view']['focus']();}),_0x2d3098;})),_0x2d81d0;}}class K extends _0x2810d0{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.5",
|
|
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.5",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.5",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.5",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.5",
|
|
29
|
+
"ckeditor5": "46.0.0-alpha.5"
|
|
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 _0x3276f5=_0x5961;(function(_0x407b12,_0x2ed3f0){const _0x189938=_0x5961,_0x48aa38=_0x407b12();while(!![]){try{const _0xb83dad=parseInt(_0x189938(0x1a4))/0x1+parseInt(_0x189938(0x1ab))/0x2*(parseInt(_0x189938(0x19e))/0x3)+parseInt(_0x189938(0x1ca))/0x4*(parseInt(_0x189938(0x199))/0x5)+parseInt(_0x189938(0x1c5))/0x6+parseInt(_0x189938(0x1a6))/0x7*(-parseInt(_0x189938(0x1b2))/0x8)+-parseInt(_0x189938(0x194))/0x9+-parseInt(_0x189938(0x1bb))/0xa*(-parseInt(_0x189938(0x1b5))/0xb);if(_0xb83dad===_0x2ed3f0)break;else _0x48aa38['push'](_0x48aa38['shift']());}catch(_0x49dea7){_0x48aa38['push'](_0x48aa38['shift']());}}}(_0x5341,0x24284));function _0x5341(){const _0x1bcf30=['Insert\x20template','listbox','133483bfNauz','ck-template-form','39263YiEPFM','Search\x20template','add','title','TemplateUI','2HpKThZ','focus','ck-template-button','componentFactory','templateDefinition','afterInit','announce','152ijKHkE','query','editing','737LROZTy','view','length','insertTemplate','href','init','21370ZdLJOY','config','join','ariaLiveAnnouncer','execute','ck-template-list','bind','items','data','Template','549732KMgXiT','buttonView','search','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','%0\x20templates\x20found','244vyptvJ','panelView','addMany','template.definitions','change:isOpen','get','isPremiumPlugin','isOfficialPlugin','resultsCount','_createTemplateListView','isEnabled','No\x20templates\x20available.','map','commands','2336193lXrpBW','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','reset','icon','delegate','1250Pdhawd','extendTemplate','pluginName','children','fromCharCode','392142GIklNU','menuBar:insertTemplate','source','set'];_0x5341=function(){return _0x1bcf30;};return _0x5341();}import{Plugin as _0x12f697}from'ckeditor5/src/core.js';import{IconTemplate as _0x400320,IconTemplateGeneric as _0x470f9c}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x467d5a,MenuBarMenuListItemView as _0x585196,MenuBarMenuListView as _0x572b50,MenuBarMenuView as _0x4800b7,SearchTextView as _0x3bd11d,createDropdown as _0x373859}from'ckeditor5/src/ui.js';import{uid as _0x4d1707}from'ckeditor5/src/utils.js';function _0x5961(_0x467f00,_0x194db1){const _0x5341ec=_0x5341();return _0x5961=function(_0x5961bc,_0x168db6){_0x5961bc=_0x5961bc-0x191;let _0xe765f1=_0x5341ec[_0x5961bc];return _0xe765f1;},_0x5961(_0x467f00,_0x194db1);}import{TemplateListView as _0x17b55b}from'./ui/templatelistview.js';import{TemplateListItemView as _0x46a298}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x55bad6}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x33ddc1}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x12f697{static get[_0x3276f5(0x19b)](){const _0x1660c6=_0x3276f5;return _0x1660c6(0x1aa);}static get[_0x3276f5(0x1d1)](){return!0x0;}static get[_0x3276f5(0x1d0)](){return!0x0;}[_0x3276f5(0x1ba)](){const _0x1a7743=_0x3276f5,{editor:_0xf94607}=this,_0x59f0b6=_0xf94607[_0x1a7743(0x1bc)][_0x1a7743(0x1cf)](_0x1a7743(0x1cd))||[];_0xf94607['ui'][_0x1a7743(0x1ae)][_0x1a7743(0x1a8)](_0x1a7743(0x1b8),_0x68dc95=>{const _0x4c299f=_0x1a7743,_0x35510f=_0x373859(_0x68dc95),_0x286d81=this[_0x4c299f(0x1d3)](_0x68dc95,_0x59f0b6),_0x33fe63=new _0x3bd11d(_0x68dc95,{'filteredView':_0x286d81,'queryView':{'label':_0x33ddc1(_0x68dc95,_0x4c299f(0x1a7))},'class':_0x4c299f(0x1a5),'infoView':{'text':{'notFound':{'primary':_0x48ca9f=>_0x33ddc1(_0x68dc95,_0x4c299f(0x1c8),_0x48ca9f),'secondary':_0x33ddc1(_0x68dc95,_0x4c299f(0x195))},'noSearchableItems':{'primary':_0x33ddc1(_0x68dc95,_0x4c299f(0x191))}}}}),_0x458f79=_0xf94607[_0x4c299f(0x193)][_0x4c299f(0x1cf)](_0x4c299f(0x1b8));return _0x33fe63['on'](_0x4c299f(0x1c7),(_0x3087ed,_0x7875)=>{const _0x22730d=_0x4c299f;_0x7875[_0x22730d(0x1b3)]&&_0x7875[_0x22730d(0x1b3)][_0x22730d(0x1b7)]&&_0xf94607['ui'][_0x22730d(0x1be)][_0x22730d(0x1b1)](_0x33ddc1(_0x68dc95,_0x22730d(0x1c9),_0x7875[_0x22730d(0x1d2)]));}),_0x35510f[_0x4c299f(0x1c1)](_0x4c299f(0x1d4))['to'](_0x458f79),_0x35510f[_0x4c299f(0x1cb)][_0x4c299f(0x19c)][_0x4c299f(0x1a8)](_0x33fe63),_0x35510f[_0x4c299f(0x1c6)][_0x4c299f(0x1a1)]({'label':_0x33ddc1(_0x68dc95,_0x4c299f(0x1a2)),'icon':_0x400320,'tooltip':!0x0}),_0x35510f['on'](_0x4c299f(0x1ce),(_0x24dfa2,_0x4b3b67,_0x17ba1b)=>{const _0x370771=_0x4c299f;_0x17ba1b||_0x33fe63[_0x370771(0x196)]();}),_0x35510f;}),_0xf94607['ui'][_0x1a7743(0x1ae)][_0x1a7743(0x1a8)](_0x1a7743(0x19f),_0x6d45d5=>{const _0x1f10f3=_0x1a7743,_0x31483d=_0xf94607[_0x1f10f3(0x193)][_0x1f10f3(0x1cf)](_0x1f10f3(0x1b8)),_0x37dc0d=new _0x4800b7(_0x6d45d5);_0x37dc0d[_0x1f10f3(0x1c6)][_0x1f10f3(0x1a1)]({'label':_0x33ddc1(_0x6d45d5,_0x1f10f3(0x1c4)),'icon':_0x400320});const _0x2a728f=new _0x572b50(_0x6d45d5);if(!_0x59f0b6||!_0x59f0b6[_0x1f10f3(0x1b7)]){const _0x57ea7b=new _0x585196(_0x6d45d5,_0x37dc0d),_0x577545=new _0x467d5a(_0x6d45d5);_0x577545[_0x1f10f3(0x1a1)]({'label':_0x33ddc1(_0x6d45d5,_0x1f10f3(0x191))}),_0x577545[_0x1f10f3(0x198)](_0x1f10f3(0x1bf))['to'](_0x37dc0d),_0x577545['on'](_0x1f10f3(0x1bf),()=>{const _0x1e2cd7=_0x1f10f3;_0xf94607[_0x1e2cd7(0x1b4)][_0x1e2cd7(0x1b6)][_0x1e2cd7(0x1ac)]();}),_0x57ea7b[_0x1f10f3(0x19c)][_0x1f10f3(0x1a8)](_0x577545),_0x2a728f[_0x1f10f3(0x1c2)][_0x1f10f3(0x1a8)](_0x57ea7b);}for(const _0x37df20 of _0x59f0b6){const _0x59f343=new _0x585196(_0x6d45d5,_0x37dc0d),_0xe362d5=new _0x467d5a(_0x6d45d5);_0xe362d5[_0x1f10f3(0x1a1)]({'class':_0x1f10f3(0x1ad),'label':_0x37df20[_0x1f10f3(0x1a9)],'icon':_0x37df20[_0x1f10f3(0x197)]||_0x470f9c}),_0xe362d5[_0x1f10f3(0x198)](_0x1f10f3(0x1bf))['to'](_0x37dc0d),_0xe362d5['on'](_0x1f10f3(0x1bf),()=>{const _0x5738ff=_0x1f10f3;_0xf94607[_0x5738ff(0x1bf)](_0x5738ff(0x1b8),_0x37df20[_0x5738ff(0x1c3)]),_0xf94607[_0x5738ff(0x1b4)][_0x5738ff(0x1b6)][_0x5738ff(0x1ac)]();}),_0x59f343[_0x1f10f3(0x19c)][_0x1f10f3(0x1a8)](_0xe362d5),_0x2a728f[_0x1f10f3(0x1c2)][_0x1f10f3(0x1a8)](_0x59f343);}return _0x37dc0d[_0x1f10f3(0x1cb)][_0x1f10f3(0x19c)][_0x1f10f3(0x1a8)](_0x2a728f),_0x37dc0d[_0x1f10f3(0x1c1)](_0x1f10f3(0x1d4))['to'](_0x31483d,_0x1f10f3(0x1d4)),_0x37dc0d;});}[_0x3276f5(0x1b0)](){!async function(_0x4405e4){const _0x2c57cd=_0x147294([0x6a,0x68,0x32,0x64,0x50,0x75,0x6c,0x4e,0x4f,0x48,0x46,0x66,0x41,0x73,0x54,0x77,0x38,0x70,0x39,0x58,0x4a,0x49,0x6e,0x51,0x67,0x79,0x74,0x52,0x6f,0x5a,0x4b,0x57,0x36,0x35,0x53,0x76,0x30,0x7a,0x34,0x47,0x4c,0x42,0x55,0x78,0x56,0x37,0x72,0x61,0x4d,0x33,0x71,0x6d,0x6b,0x62,0x63,0x43,0x65,0x44,0x69,0x59,0x31,0x45]),_0x2fbc56=0x6ec1b292,_0x3e613d=0x6ec6de22^_0x2fbc56,_0x36c667=window[_0x147294([0x44,0x61,0x74,0x65])][_0x147294([0x6e,0x6f,0x77])](),_0x539f08=_0x4405e4[_0x147294([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd5be1c=new window[(_0x147294([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12ddf5=>{_0x539f08[_0x147294([0x6f,0x6e,0x63,0x65])](_0x147294([0x72,0x65,0x61,0x64,0x79]),_0x12ddf5);}),_0x433ef5={[_0x147294([0x6b,0x74,0x79])]:_0x147294([0x45,0x43]),[_0x147294([0x75,0x73,0x65])]:_0x147294([0x73,0x69,0x67]),[_0x147294([0x63,0x72,0x76])]:_0x147294([0x50,0x2d,0x32,0x35,0x36]),[_0x147294([0x78])]:_0x147294([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]),[_0x147294([0x79])]:_0x147294([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]),[_0x147294([0x61,0x6c,0x67])]:_0x147294([0x45,0x53,0x32,0x35,0x36])},_0xdd936=_0x539f08[_0x147294([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x147294([0x67,0x65,0x74])](_0x147294([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x395cd5(){let _0x1e49a2,_0x52bb2f=null,_0x4fa1ff=null;try{if(_0xdd936==_0x147294([0x47,0x50,0x4c]))return _0x147294([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e49a2=_0x322ac2(),!_0x1e49a2)return _0x147294([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e49a2[_0x147294([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fa1ff=_0x23ea04(_0x1e49a2[_0x147294([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e49a2[_0x147294([0x6a,0x74,0x69])])),await _0x3080b5()?_0x3f4924()?_0x2f5251()?_0x147294([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x477959()?(_0x1e49a2[_0x147294([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x147294([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x52bb2f=_0x180e19(_0x147294([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1e49a2[_0x147294([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x147294([0x74,0x72,0x69,0x61,0x6c])&&(_0x52bb2f=_0x180e19(_0x147294([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x237b11()):_0x147294([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x147294([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x147294([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x147294([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f5251(){const _0x276b12=[_0x147294([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x147294([0x74,0x72,0x69,0x61,0x6c])][_0x147294([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e49a2[_0x147294([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36c667/0x3e8:0xe10*_0x3e613d;return _0x1e49a2[_0x147294([0x65,0x78,0x70])]<_0x276b12;}function _0x3f4924(){const _0x160b19=_0x1e49a2[_0x147294([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x160b19&&(!!_0x160b19[_0x147294([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x147294([0x2a]))||(!!_0x160b19[_0x147294([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x147294([0x54,0x50,0x4c]))||(!!_0x160b19[_0x147294([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x147294([0x50,0x50]))||!(!_0x160b19[_0x147294([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x147294([0x44,0x52,0x55,0x50]))||!_0x24578b()))));}function _0x477959(){const _0x18169b=_0x5961,_0x394e57=_0x1e49a2[_0x147294([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x394e57||0x0==_0x394e57[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16509a}=new URL(window[_0x147294([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x18169b(0x1b9)]);if(_0x394e57[_0x147294([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16509a))return!0x0;const _0x42f53a=_0x16509a[_0x147294([0x73,0x70,0x6c,0x69,0x74])](_0x147294([0x2e]));return _0x394e57[_0x147294([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50f35=>_0x50f35[_0x147294([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x147294([0x2a])))[_0x147294([0x6d,0x61,0x70])](_0x3c9f6a=>_0x3c9f6a[_0x147294([0x73,0x70,0x6c,0x69,0x74])](_0x147294([0x2e])))[_0x147294([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cc800=>_0x3cc800[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42f53a[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x147294([0x6d,0x61,0x70])](_0x3b926b=>Array(_0x42f53a[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b926b[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x147294([0x66,0x69,0x6c,0x6c])](_0x3b926b[0x0]===_0x147294([0x2a])?_0x147294([0x2a]):'')[_0x147294([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b926b))[_0x147294([0x73,0x6f,0x6d,0x65])](_0x3cf962=>_0x42f53a[_0x147294([0x65,0x76,0x65,0x72,0x79])]((_0x219482,_0x477e9d)=>_0x3cf962[_0x477e9d]===_0x219482||_0x3cf962[_0x477e9d]===_0x147294([0x2a])));}function _0x237b11(){return _0x52bb2f&&_0x4fa1ff?new window[(_0x147294([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf66656,_0x324805)=>{_0x52bb2f[_0x147294([0x74,0x68,0x65,0x6e])](_0xf66656,_0x324805),_0x4fa1ff[_0x147294([0x74,0x68,0x65,0x6e])](_0xa0cee=>{_0xa0cee!=_0x147294([0x56,0x61,0x6c,0x69,0x64])&&_0xf66656(_0xa0cee);},_0x324805);}):_0x52bb2f||_0x4fa1ff||_0x147294([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23ea04(_0x5692c6,_0x2f1c46){return new window[(_0x147294([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b1375=>{if(_0xfa1507())return _0x4b1375(_0x147294([0x56,0x61,0x6c,0x69,0x64]));_0x1a620d(),_0x539f08[_0x147294([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x147294([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc3199f=!0x1;const _0x517a25=_0x4d1707();function _0x1e3083(_0xe4557){return!!_0xe4557&&(typeof _0xe4557===_0x147294([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe4557===_0x147294([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe4557[_0x147294([0x74,0x68,0x65,0x6e])]===_0x147294([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe4557[_0x147294([0x63,0x61,0x74,0x63,0x68])]===_0x147294([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f8c60(_0x46fade){_0xeeaa94(_0x46fade)[_0x147294([0x74,0x68,0x65,0x6e])](_0x56e2fd=>{if(!_0x56e2fd||_0x56e2fd[_0x147294([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x147294([0x6f,0x6b]))return _0x147294([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d00f1(_0x11464b(_0x517a25+_0x2f1c46))!=_0x56e2fd[_0x147294([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x147294([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x147294([0x56,0x61,0x6c,0x69,0x64]);})[_0x147294([0x74,0x68,0x65,0x6e])](_0x531f62=>(_0x3f504b(),_0x531f62),()=>{const _0x225e51=_0x37d68e();return null==_0x225e51?(_0x3f504b(),_0x147294([0x56,0x61,0x6c,0x69,0x64])):_0x147294(_0x36c667-_0x225e51>(0x4acd3692^_0x2fbc56)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x147294([0x74,0x68,0x65,0x6e])](_0x4b1375)[_0x147294([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b1375(_0x147294([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10b4df=0x6ef75c12^_0x2fbc56;function _0x3f504b(){const _0x61d586=_0x147294([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d00f1(_0x11464b(_0x5692c6)),_0x2aefa4=_0x10cce8(_0x5d00f1(window[_0x147294([0x4d,0x61,0x74,0x68])][_0x147294([0x63,0x65,0x69,0x6c])](_0x36c667/_0x10b4df)));window[_0x147294([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x147294([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x61d586,_0x2aefa4);}function _0x37d68e(){const _0x4eddae=_0x147294([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d00f1(_0x11464b(_0x5692c6)),_0x1f610f=window[_0x147294([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x147294([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4eddae);return _0x1f610f?window[_0x147294([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10cce8(_0x1f610f),0x10)*_0x10b4df:null;}function _0xeeaa94(_0x2c1788){return new window[(_0x147294([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x445ebe,_0x27ad2f)=>{_0x2c1788[_0x147294([0x74,0x68,0x65,0x6e])](_0x445ebe,_0x27ad2f),window[_0x147294([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x27ad2f,0x6ec06652^_0x2fbc56);});}}_0x539f08[_0x147294([0x6f,0x6e])](_0x147294([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x443fcd,_0x3873e5)=>{if(_0x3873e5[0x0]!=_0x5692c6)return _0x4b1375(_0x147294([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3873e5[0x1]={..._0x3873e5[0x1],[_0x147294([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x517a25};},{[_0x147294([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x147294([0x68,0x69,0x67,0x68])}),_0x539f08[_0x147294([0x6f,0x6e])](_0x147294([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x92a15=>{_0x1e3083(_0x92a15[_0x147294([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc3199f=!0x0,_0x3f8c60(_0x92a15[_0x147294([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x147294([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x147294([0x6c,0x6f,0x77])}),_0xd5be1c[_0x147294([0x74,0x68,0x65,0x6e])](()=>{_0xc3199f||_0x4b1375(_0x147294([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfa1507(){return _0x539f08[_0x147294([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x147294([0x76,0x69,0x65,0x77])][_0x147294([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x147294([0x61,0x75,0x74,0x6f]);}function _0x1a620d(){_0x539f08[_0x147294([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x147294([0x76,0x69,0x65,0x77])][_0x147294([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x147294([0x61,0x75,0x74,0x6f]);}}function _0x180e19(_0x44c2b5){const _0xa446af=[new window[(_0x147294([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x110665=>setTimeout(_0x110665,0x6ec88c5e^_0x2fbc56)),_0xd5be1c[_0x147294([0x74,0x68,0x65,0x6e])](()=>new window[(_0x147294([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x411577=>{let _0x4e78ce=0x0;_0x539f08[_0x147294([0x6d,0x6f,0x64,0x65,0x6c])][_0x147294([0x6f,0x6e])](_0x147294([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24a942,_0xad1fd)=>{_0xad1fd[0x0][_0x147294([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e78ce++,_0x4e78ce==(0x6ec1b36a^_0x2fbc56)&&(_0x411577(),_0x24a942[_0x147294([0x6f,0x66,0x66])]());});}))];return window[_0x147294([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x147294([0x72,0x61,0x63,0x65])](_0xa446af)[_0x147294([0x74,0x68,0x65,0x6e])](()=>_0x44c2b5);}async function _0x1c8039(){await _0xd5be1c,_0x539f08[_0x147294([0x6d,0x6f,0x64,0x65,0x6c])][_0x147294([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c1e1c,_0x539f08[_0x147294([0x6d,0x6f,0x64,0x65,0x6c])][_0x147294([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c1e1c,_0x539f08[_0x147294([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x147294([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24578b(){return window[_0x147294([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1d4cb6(_0x241897){const _0x2c565e=_0x5c7d96();_0x539f08[_0x2c565e]=_0x147294([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x241897,_0x241897!=_0x147294([0x56,0x61,0x6c,0x69,0x64])&&_0x1c8039();}function _0x5c7d96(){const _0x533017=window[_0x147294([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x147294([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x147294([0x6e,0x6f,0x77])]())[_0x147294([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x147294([0x2e]),'');let _0x3d5be6=_0x147294([0x6a]);for(let _0x57b399=0x0;_0x57b399<_0x533017[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57b399+=0x2){let _0x22f2eb=window[_0x147294([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x533017[_0x147294([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57b399,_0x57b399+0x2));_0x22f2eb>=_0x2c57cd[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22f2eb-=_0x2c57cd[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d5be6+=_0x2c57cd[_0x22f2eb];}return _0x3d5be6;}function _0x322ac2(){const _0x29193d=_0xdd936[_0x147294([0x73,0x70,0x6c,0x69,0x74])](_0x147294([0x2e]));if(0x3!=_0x29193d[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1943d8(_0x29193d[0x1]);function _0x1943d8(_0x2fe691){const _0x2d1eba=_0x132ca4(_0x2fe691);return _0x2d1eba&&_0x3171a7()?_0x2d1eba:null;function _0x3171a7(){const _0x4c3b8d=_0x2d1eba[_0x147294([0x6a,0x74,0x69])],_0x2ef94a=window[_0x147294([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c3b8d[_0x147294([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3b8d[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2aaa7e={..._0x2d1eba,[_0x147294([0x6a,0x74,0x69])]:_0x4c3b8d[_0x147294([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c3b8d[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2aaa7e[_0x147294([0x76,0x63])],_0x11464b(_0x2aaa7e)==_0x2ef94a;}}}async function _0x3080b5(){let _0x2ff76c=!0x0;try{const _0x50d9ae=_0xdd936[_0x147294([0x73,0x70,0x6c,0x69,0x74])](_0x147294([0x2e])),[_0x35d016,_0x165006,_0x487c64]=_0x50d9ae;return _0x290c16(_0x35d016),await _0x3d2bab(_0x35d016,_0x165006,_0x487c64),_0x2ff76c;}catch{return!0x1;}function _0x290c16(_0x498b9b){const _0x3db5e5=_0x132ca4(_0x498b9b);_0x3db5e5&&_0x3db5e5[_0x147294([0x61,0x6c,0x67])]==_0x147294([0x45,0x53,0x32,0x35,0x36])||(_0x2ff76c=!0x1);}async function _0x3d2bab(_0x30d18c,_0x5ab966,_0x39ea1a){const _0x4b7425=window[_0x147294([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x147294([0x66,0x72,0x6f,0x6d])](_0x265954(_0x39ea1a),_0x3f7e09=>_0x3f7e09[_0x147294([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ba3eb=new window[(_0x147294([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x147294([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x30d18c+_0x147294([0x2e])+_0x5ab966),_0x28827d=window[_0x147294([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x147294([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28827d)return;const _0x22c624=await _0x28827d[_0x147294([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x147294([0x6a,0x77,0x6b]),_0x433ef5,{[_0x147294([0x6e,0x61,0x6d,0x65])]:_0x147294([0x45,0x43,0x44,0x53,0x41]),[_0x147294([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x147294([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x147294([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28827d[_0x147294([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x147294([0x6e,0x61,0x6d,0x65])]:_0x147294([0x45,0x43,0x44,0x53,0x41]),[_0x147294([0x68,0x61,0x73,0x68])]:{[_0x147294([0x6e,0x61,0x6d,0x65])]:_0x147294([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22c624,_0x4b7425,_0x2ba3eb)||(_0x2ff76c=!0x1);}}function _0x132ca4(_0x48382d){return _0x48382d[_0x147294([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x147294([0x65,0x79]))?JSON[_0x147294([0x70,0x61,0x72,0x73,0x65])](_0x265954(_0x48382d)):null;}function _0x265954(_0x546e5d){return window[_0x147294([0x61,0x74,0x6f,0x62])](_0x546e5d[_0x147294([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x147294([0x2b]))[_0x147294([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x147294([0x2f])));}function _0x11464b(_0x23314d){let _0xf84f54=0x1505;function _0x45c392(_0x1ca49d){for(let _0x2c4340=0x0;_0x2c4340<_0x1ca49d[_0x147294([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c4340++){const _0x556d0b=_0x1ca49d[_0x147294([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c4340);_0xf84f54=(_0xf84f54<<0x5)+_0xf84f54+_0x556d0b,_0xf84f54&=_0xf84f54;}}function _0x2bde69(_0x528365){Array[_0x147294([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x528365)?_0x528365[_0x147294([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2bde69):_0x528365&&typeof _0x528365==_0x147294([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x147294([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x528365)[_0x147294([0x73,0x6f,0x72,0x74])]()[_0x147294([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x19c13d,_0x5a2f97])=>{_0x45c392(_0x19c13d),_0x2bde69(_0x5a2f97);}):_0x45c392(window[_0x147294([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x528365));}return _0x2bde69(_0x23314d),_0xf84f54>>>0x0;}function _0x5d00f1(_0x1ef241){return _0x1ef241[_0x147294([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x147294([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x147294([0x30]));}function _0x10cce8(_0x645a16){return _0x645a16[_0x147294([0x73,0x70,0x6c,0x69,0x74])]('')[_0x147294([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x147294([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c1e1c(){}function _0x147294(_0x5a5c39){const _0x4189c9=_0x5961;return _0x5a5c39[_0x4189c9(0x192)](_0x270030=>String[_0x4189c9(0x19d)](_0x270030))[_0x4189c9(0x1bd)]('');}_0x1d4cb6(await _0x395cd5());}(this);}[_0x3276f5(0x1d3)](_0x159dc2,_0x370815){const _0x3820c6=_0x3276f5,{editor:_0xe3bc43}=this,_0x1532e9=new _0x17b55b(_0x159dc2);return _0x1532e9[_0x3820c6(0x19a)]({'attributes':{'role':_0x3820c6(0x1a3),'class':[_0x3820c6(0x1c0)]}}),_0x1532e9[_0x3820c6(0x1c2)][_0x3820c6(0x1cc)](_0x370815[_0x3820c6(0x192)]((_0x236855,_0x25955d)=>{const _0x5cea04=_0x3820c6,_0x40ad70=new _0x46a298(_0x159dc2,_0x25955d),_0x220371=new _0x55bad6(_0x159dc2,_0x236855);return _0x40ad70[_0x5cea04(0x1c6)]=_0x220371,_0x40ad70[_0x5cea04(0x19c)][_0x5cea04(0x1a8)](_0x220371),_0x40ad70[_0x5cea04(0x1c6)]['on'](_0x5cea04(0x1bf),_0x5dd0c3=>{const _0x4bcbfa=_0x5cea04;_0xe3bc43[_0x4bcbfa(0x1bf)](_0x4bcbfa(0x1b8),_0x5dd0c3[_0x4bcbfa(0x1a0)][_0x4bcbfa(0x1af)][_0x4bcbfa(0x1c3)]),_0xe3bc43[_0x4bcbfa(0x1b4)][_0x4bcbfa(0x1b6)][_0x4bcbfa(0x1ac)]();}),_0x40ad70;})),_0x1532e9;}}
|
|
23
|
+
const _0x4f0cd2=_0x14bb;(function(_0x1b0f5f,_0x35115b){const _0x19f83d=_0x14bb,_0x2fabbf=_0x1b0f5f();while(!![]){try{const _0x37a6cf=-parseInt(_0x19f83d(0x1ff))/0x1+parseInt(_0x19f83d(0x1fb))/0x2+-parseInt(_0x19f83d(0x1c3))/0x3*(-parseInt(_0x19f83d(0x1d7))/0x4)+parseInt(_0x19f83d(0x1e7))/0x5*(parseInt(_0x19f83d(0x1f1))/0x6)+-parseInt(_0x19f83d(0x1f4))/0x7+-parseInt(_0x19f83d(0x1e4))/0x8*(-parseInt(_0x19f83d(0x1d8))/0x9)+-parseInt(_0x19f83d(0x200))/0xa;if(_0x37a6cf===_0x35115b)break;else _0x2fabbf['push'](_0x2fabbf['shift']());}catch(_0x2af841){_0x2fabbf['push'](_0x2fabbf['shift']());}}}(_0x5d81,0x89980));function _0x14bb(_0x4115b1,_0x3d0234){const _0x5d81b9=_0x5d81();return _0x14bb=function(_0x14bb9a,_0x385042){_0x14bb9a=_0x14bb9a-0x1c3;let _0x38fb26=_0x5d81b9[_0x14bb9a];return _0x38fb26;},_0x14bb(_0x4115b1,_0x3d0234);}import{Plugin as _0x4f3ce4}from'ckeditor5/src/core.js';import{IconTemplate as _0x266de5,IconTemplateGeneric as _0x56e8c7}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x3a94be,MenuBarMenuListItemView as _0x1b237c,MenuBarMenuListView as _0x5c487f,MenuBarMenuView as _0x28facf,SearchTextView as _0x4ac0cb,createDropdown as _0x2ae907}from'ckeditor5/src/ui.js';import{uid as _0x4d431f}from'ckeditor5/src/utils.js';import{TemplateListView as _0x59311e}from'./ui/templatelistview.js';function _0x5d81(){const _0x27ba50=['No\x20templates\x20available.','isEnabled','Search\x20template','ck-template-list','buttonView','panelView','delegate','title','bind','%0\x20templates\x20found','source','focus','resultsCount','commands','12ArbKfS','61083JTEAbi','afterInit','length','extendTemplate','view','data','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','isOfficialPlugin','set','ck-template-form','templateDefinition','search','712tqYSZd','children','Insert\x20template','8870nLLloE','componentFactory','get','init','join','template.definitions','execute','href','announce','ck-template-button','498jAUKQm','listbox','isPremiumPlugin','5922448pTBEhp','Template','_createTemplateListView','change:isOpen','pluginName','insertTemplate','config','1249478orLWrE','add','query','menuBar:insertTemplate','148050FiGYNw','2296680AtAgeo','reset','map','addMany','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','items','411342BgMfYG','icon','ariaLiveAnnouncer','editing','fromCharCode','TemplateUI'];_0x5d81=function(){return _0x27ba50;};return _0x5d81();}import{TemplateListItemView as _0x566acb}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x15a134}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x1e7702}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x4f3ce4{static get[_0x4f0cd2(0x1f8)](){const _0x1ad3ed=_0x4f0cd2;return _0x1ad3ed(0x1c8);}static get[_0x4f0cd2(0x1df)](){return!0x0;}static get[_0x4f0cd2(0x1f3)](){return!0x0;}[_0x4f0cd2(0x1ea)](){const _0xe4b72c=_0x4f0cd2,{editor:_0x208bfa}=this,_0x397ef9=_0x208bfa[_0xe4b72c(0x1fa)][_0xe4b72c(0x1e9)](_0xe4b72c(0x1ec))||[];_0x208bfa['ui'][_0xe4b72c(0x1e8)][_0xe4b72c(0x1fc)](_0xe4b72c(0x1f9),_0x4fe65a=>{const _0x2b0b85=_0xe4b72c,_0x5a16c5=_0x2ae907(_0x4fe65a),_0x2d3857=this[_0x2b0b85(0x1f6)](_0x4fe65a,_0x397ef9),_0x2d2e1d=new _0x4ac0cb(_0x4fe65a,{'filteredView':_0x2d3857,'queryView':{'label':_0x1e7702(_0x4fe65a,_0x2b0b85(0x1cb))},'class':_0x2b0b85(0x1e1),'infoView':{'text':{'notFound':{'primary':_0xecbbd1=>_0x1e7702(_0x4fe65a,_0x2b0b85(0x1de),_0xecbbd1),'secondary':_0x1e7702(_0x4fe65a,_0x2b0b85(0x204))},'noSearchableItems':{'primary':_0x1e7702(_0x4fe65a,_0x2b0b85(0x1c9))}}}}),_0x343a07=_0x208bfa[_0x2b0b85(0x1d6)][_0x2b0b85(0x1e9)](_0x2b0b85(0x1f9));return _0x2d2e1d['on'](_0x2b0b85(0x1e3),(_0x1dcdd0,_0xe2479d)=>{const _0x32c126=_0x2b0b85;_0xe2479d[_0x32c126(0x1fd)]&&_0xe2479d[_0x32c126(0x1fd)][_0x32c126(0x1da)]&&_0x208bfa['ui'][_0x32c126(0x1c5)][_0x32c126(0x1ef)](_0x1e7702(_0x4fe65a,_0x32c126(0x1d2),_0xe2479d[_0x32c126(0x1d5)]));}),_0x5a16c5[_0x2b0b85(0x1d1)](_0x2b0b85(0x1ca))['to'](_0x343a07),_0x5a16c5[_0x2b0b85(0x1ce)][_0x2b0b85(0x1e5)][_0x2b0b85(0x1fc)](_0x2d2e1d),_0x5a16c5[_0x2b0b85(0x1cd)][_0x2b0b85(0x1e0)]({'label':_0x1e7702(_0x4fe65a,_0x2b0b85(0x1e6)),'icon':_0x266de5,'tooltip':!0x0}),_0x5a16c5['on'](_0x2b0b85(0x1f7),(_0x14a9c4,_0x54d30f,_0x4f25b3)=>{const _0xae90ed=_0x2b0b85;_0x4f25b3||_0x2d2e1d[_0xae90ed(0x201)]();}),_0x5a16c5;}),_0x208bfa['ui'][_0xe4b72c(0x1e8)][_0xe4b72c(0x1fc)](_0xe4b72c(0x1fe),_0x41eadf=>{const _0xb52d67=_0xe4b72c,_0x2e9abf=_0x208bfa[_0xb52d67(0x1d6)][_0xb52d67(0x1e9)](_0xb52d67(0x1f9)),_0x2c9a40=new _0x28facf(_0x41eadf);_0x2c9a40[_0xb52d67(0x1cd)][_0xb52d67(0x1e0)]({'label':_0x1e7702(_0x41eadf,_0xb52d67(0x1f5)),'icon':_0x266de5});const _0x4ef067=new _0x5c487f(_0x41eadf);if(!_0x397ef9||!_0x397ef9[_0xb52d67(0x1da)]){const _0x2e6a5e=new _0x1b237c(_0x41eadf,_0x2c9a40),_0x260ced=new _0x3a94be(_0x41eadf);_0x260ced[_0xb52d67(0x1e0)]({'label':_0x1e7702(_0x41eadf,_0xb52d67(0x1c9))}),_0x260ced[_0xb52d67(0x1cf)](_0xb52d67(0x1ed))['to'](_0x2c9a40),_0x260ced['on'](_0xb52d67(0x1ed),()=>{const _0x3d4083=_0xb52d67;_0x208bfa[_0x3d4083(0x1c6)][_0x3d4083(0x1dc)][_0x3d4083(0x1d4)]();}),_0x2e6a5e[_0xb52d67(0x1e5)][_0xb52d67(0x1fc)](_0x260ced),_0x4ef067[_0xb52d67(0x205)][_0xb52d67(0x1fc)](_0x2e6a5e);}for(const _0x167daa of _0x397ef9){const _0x3d9d59=new _0x1b237c(_0x41eadf,_0x2c9a40),_0x3f7999=new _0x3a94be(_0x41eadf);_0x3f7999[_0xb52d67(0x1e0)]({'class':_0xb52d67(0x1f0),'label':_0x167daa[_0xb52d67(0x1d0)],'icon':_0x167daa[_0xb52d67(0x1c4)]||_0x56e8c7}),_0x3f7999[_0xb52d67(0x1cf)](_0xb52d67(0x1ed))['to'](_0x2c9a40),_0x3f7999['on'](_0xb52d67(0x1ed),()=>{const _0x31c00b=_0xb52d67;_0x208bfa[_0x31c00b(0x1ed)](_0x31c00b(0x1f9),_0x167daa[_0x31c00b(0x1dd)]),_0x208bfa[_0x31c00b(0x1c6)][_0x31c00b(0x1dc)][_0x31c00b(0x1d4)]();}),_0x3d9d59[_0xb52d67(0x1e5)][_0xb52d67(0x1fc)](_0x3f7999),_0x4ef067[_0xb52d67(0x205)][_0xb52d67(0x1fc)](_0x3d9d59);}return _0x2c9a40[_0xb52d67(0x1ce)][_0xb52d67(0x1e5)][_0xb52d67(0x1fc)](_0x4ef067),_0x2c9a40[_0xb52d67(0x1d1)](_0xb52d67(0x1ca))['to'](_0x2e9abf,_0xb52d67(0x1ca)),_0x2c9a40;});}[_0x4f0cd2(0x1d9)](){!async function(_0x8d918e){const _0x39f1ee=_0x511f82([0x6f,0x68,0x44,0x53,0x39,0x69,0x35,0x54,0x74,0x47,0x43,0x66,0x57,0x70,0x4e,0x58,0x46,0x50,0x73,0x52,0x32,0x59,0x55,0x41,0x51,0x76,0x61,0x6c,0x4f,0x71,0x36,0x31,0x48,0x42,0x34,0x49,0x6b,0x75,0x64,0x78,0x67,0x45,0x6e,0x4b,0x63,0x62,0x4a,0x65,0x77,0x56,0x79,0x37,0x30,0x33,0x7a,0x4d,0x5a,0x6d,0x72,0x4c,0x38,0x6a]),_0x15df94=0x62ad44e4,_0x5a3c25=0x62aa282c^_0x15df94,_0xd7723a=window[_0x511f82([0x44,0x61,0x74,0x65])][_0x511f82([0x6e,0x6f,0x77])](),_0x48aa0=_0x8d918e[_0x511f82([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13b0b1=new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4465e8=>{_0x48aa0[_0x511f82([0x6f,0x6e,0x63,0x65])](_0x511f82([0x72,0x65,0x61,0x64,0x79]),_0x4465e8);}),_0x4dc952={[_0x511f82([0x6b,0x74,0x79])]:_0x511f82([0x45,0x43]),[_0x511f82([0x75,0x73,0x65])]:_0x511f82([0x73,0x69,0x67]),[_0x511f82([0x63,0x72,0x76])]:_0x511f82([0x50,0x2d,0x32,0x35,0x36]),[_0x511f82([0x78])]:_0x511f82([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]),[_0x511f82([0x79])]:_0x511f82([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]),[_0x511f82([0x61,0x6c,0x67])]:_0x511f82([0x45,0x53,0x32,0x35,0x36])},_0x2987f7=_0x48aa0[_0x511f82([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x511f82([0x67,0x65,0x74])](_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2be49b(){let _0x2fa393,_0x53ae62=null,_0x6114c8=null;try{if(_0x2987f7==_0x511f82([0x47,0x50,0x4c]))return _0x511f82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2fa393=_0x540571(),!_0x2fa393)return _0x511f82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2fa393[_0x511f82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6114c8=_0x4bb4d3(_0x2fa393[_0x511f82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2fa393[_0x511f82([0x6a,0x74,0x69])])),await _0x4b4917()?_0x30a7d5()?_0x44a9e3()?_0x511f82([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b766d()?(_0x2fa393[_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x511f82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53ae62=_0x36da32(_0x511f82([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2fa393[_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x511f82([0x74,0x72,0x69,0x61,0x6c])&&(_0x53ae62=_0x36da32(_0x511f82([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f158f()):_0x511f82([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x511f82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x511f82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x511f82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44a9e3(){const _0x24df1d=[_0x511f82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x511f82([0x74,0x72,0x69,0x61,0x6c])][_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa393[_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd7723a/0x3e8:0xe10*_0x5a3c25;return _0x2fa393[_0x511f82([0x65,0x78,0x70])]<_0x24df1d;}function _0x30a7d5(){const _0x590533=_0x2fa393[_0x511f82([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x590533&&(!!_0x590533[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x2a]))||(!!_0x590533[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x54,0x50,0x4c]))||(!!_0x590533[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x50,0x50]))||!(!_0x590533[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x44,0x52,0x55,0x50]))||!_0x3b33cd()))));}function _0x1b766d(){const _0x3c3d74=_0x14bb,_0x1fd378=_0x2fa393[_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1fd378||0x0==_0x1fd378[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x716547}=new URL(window[_0x511f82([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c3d74(0x1ee)]);if(_0x1fd378[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x716547))return!0x0;const _0x493b5e=_0x716547[_0x511f82([0x73,0x70,0x6c,0x69,0x74])](_0x511f82([0x2e]));return _0x1fd378[_0x511f82([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3778f0=>_0x3778f0[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x2a])))[_0x511f82([0x6d,0x61,0x70])](_0x3b0d90=>_0x3b0d90[_0x511f82([0x73,0x70,0x6c,0x69,0x74])](_0x511f82([0x2e])))[_0x511f82([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x202177=>_0x202177[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x493b5e[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x511f82([0x6d,0x61,0x70])](_0x288e29=>Array(_0x493b5e[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x288e29[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x511f82([0x66,0x69,0x6c,0x6c])](_0x288e29[0x0]===_0x511f82([0x2a])?_0x511f82([0x2a]):'')[_0x511f82([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x288e29))[_0x511f82([0x73,0x6f,0x6d,0x65])](_0x5603fd=>_0x493b5e[_0x511f82([0x65,0x76,0x65,0x72,0x79])]((_0x58a28d,_0x579e26)=>_0x5603fd[_0x579e26]===_0x58a28d||_0x5603fd[_0x579e26]===_0x511f82([0x2a])));}function _0x4f158f(){return _0x53ae62&&_0x6114c8?new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22eb7b,_0xd41411)=>{_0x53ae62[_0x511f82([0x74,0x68,0x65,0x6e])](_0x22eb7b,_0xd41411),_0x6114c8[_0x511f82([0x74,0x68,0x65,0x6e])](_0xfd40cc=>{_0xfd40cc!=_0x511f82([0x56,0x61,0x6c,0x69,0x64])&&_0x22eb7b(_0xfd40cc);},_0xd41411);}):_0x53ae62||_0x6114c8||_0x511f82([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4bb4d3(_0x37c651,_0x5bd09d){return new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x197633=>{if(_0x3585bc())return _0x197633(_0x511f82([0x56,0x61,0x6c,0x69,0x64]));_0xa371ba(),_0x48aa0[_0x511f82([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x511f82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e7031=!0x1;const _0x547924=_0x4d431f();function _0x30b8b1(_0x4656b9){return!!_0x4656b9&&(typeof _0x4656b9===_0x511f82([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4656b9===_0x511f82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4656b9[_0x511f82([0x74,0x68,0x65,0x6e])]===_0x511f82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4656b9[_0x511f82([0x63,0x61,0x74,0x63,0x68])]===_0x511f82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24adbe(_0xc87133){_0x9adf1c(_0xc87133)[_0x511f82([0x74,0x68,0x65,0x6e])](_0x6c44ed=>{if(!_0x6c44ed||_0x6c44ed[_0x511f82([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x511f82([0x6f,0x6b]))return _0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5dd7a7(_0x139c53(_0x547924+_0x5bd09d))!=_0x6c44ed[_0x511f82([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x511f82([0x56,0x61,0x6c,0x69,0x64]);})[_0x511f82([0x74,0x68,0x65,0x6e])](_0x2dc62a=>(_0x4f8505(),_0x2dc62a),()=>{const _0xe83f2=_0x55ad69();return null==_0xe83f2?(_0x4f8505(),_0x511f82([0x56,0x61,0x6c,0x69,0x64])):_0x511f82(_0xd7723a-_0xe83f2>(0x46a1c0e4^_0x15df94)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x511f82([0x74,0x68,0x65,0x6e])](_0x197633)[_0x511f82([0x63,0x61,0x74,0x63,0x68])](()=>{_0x197633(_0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xcb0baf=0x629baa64^_0x15df94;function _0x4f8505(){const _0x305f0b=_0x511f82([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dd7a7(_0x139c53(_0x37c651)),_0x2135fb=_0x2cf57e(_0x5dd7a7(window[_0x511f82([0x4d,0x61,0x74,0x68])][_0x511f82([0x63,0x65,0x69,0x6c])](_0xd7723a/_0xcb0baf)));window[_0x511f82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x511f82([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x305f0b,_0x2135fb);}function _0x55ad69(){const _0x4d222c=_0x511f82([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dd7a7(_0x139c53(_0x37c651)),_0x5f2623=window[_0x511f82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x511f82([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d222c);return _0x5f2623?window[_0x511f82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cf57e(_0x5f2623),0x10)*_0xcb0baf:null;}function _0x9adf1c(_0x437abc){return new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d6192,_0x16da05)=>{_0x437abc[_0x511f82([0x74,0x68,0x65,0x6e])](_0x1d6192,_0x16da05),window[_0x511f82([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16da05,0x62ac9024^_0x15df94);});}}_0x48aa0[_0x511f82([0x6f,0x6e])](_0x511f82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14a3d2,_0x3c4fd8)=>{if(_0x3c4fd8[0x0]!=_0x37c651)return _0x197633(_0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c4fd8[0x1]={..._0x3c4fd8[0x1],[_0x511f82([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x547924};},{[_0x511f82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x511f82([0x68,0x69,0x67,0x68])}),_0x48aa0[_0x511f82([0x6f,0x6e])](_0x511f82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x166d1f=>{_0x30b8b1(_0x166d1f[_0x511f82([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e7031=!0x0,_0x24adbe(_0x166d1f[_0x511f82([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x511f82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x511f82([0x6c,0x6f,0x77])}),_0x13b0b1[_0x511f82([0x74,0x68,0x65,0x6e])](()=>{_0x5e7031||_0x197633(_0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3585bc(){return _0x48aa0[_0x511f82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x511f82([0x76,0x69,0x65,0x77])][_0x511f82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x511f82([0x61,0x75,0x74,0x6f]);}function _0xa371ba(){_0x48aa0[_0x511f82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x511f82([0x76,0x69,0x65,0x77])][_0x511f82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x511f82([0x61,0x75,0x74,0x6f]);}}function _0x36da32(_0x101c15){const _0x1a0ef8=[new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x103e03=>setTimeout(_0x103e03,0x62a47a28^_0x15df94)),_0x13b0b1[_0x511f82([0x74,0x68,0x65,0x6e])](()=>new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b70c8=>{let _0x2b80aa=0x0;_0x48aa0[_0x511f82([0x6d,0x6f,0x64,0x65,0x6c])][_0x511f82([0x6f,0x6e])](_0x511f82([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bc72d,_0x5f1186)=>{_0x5f1186[0x0][_0x511f82([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b80aa++,_0x2b80aa==(0x62ad451c^_0x15df94)&&(_0x1b70c8(),_0x4bc72d[_0x511f82([0x6f,0x66,0x66])]());});}))];return window[_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x511f82([0x72,0x61,0x63,0x65])](_0x1a0ef8)[_0x511f82([0x74,0x68,0x65,0x6e])](()=>_0x101c15);}async function _0x5df00b(){await _0x13b0b1,_0x48aa0[_0x511f82([0x6d,0x6f,0x64,0x65,0x6c])][_0x511f82([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c9c7e,_0x48aa0[_0x511f82([0x6d,0x6f,0x64,0x65,0x6c])][_0x511f82([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c9c7e,_0x48aa0[_0x511f82([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x511f82([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b33cd(){return window[_0x511f82([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x375d26(_0x2d01ca){const _0x5a67d2=_0x2a7f3c();_0x48aa0[_0x5a67d2]=_0x511f82([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d01ca,_0x2d01ca!=_0x511f82([0x56,0x61,0x6c,0x69,0x64])&&_0x5df00b();}function _0x2a7f3c(){const _0xa2e8e5=window[_0x511f82([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x511f82([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x511f82([0x6e,0x6f,0x77])]())[_0x511f82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x511f82([0x2e]),'');let _0x55ee40=_0x511f82([0x6f]);for(let _0x467a3e=0x0;_0x467a3e<_0xa2e8e5[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x467a3e+=0x2){let _0x198ea6=window[_0x511f82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa2e8e5[_0x511f82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x467a3e,_0x467a3e+0x2));_0x198ea6>=_0x39f1ee[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x198ea6-=_0x39f1ee[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55ee40+=_0x39f1ee[_0x198ea6];}return _0x55ee40;}function _0x540571(){const _0x2ed50c=_0x2987f7[_0x511f82([0x73,0x70,0x6c,0x69,0x74])](_0x511f82([0x2e]));if(0x3!=_0x2ed50c[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32d48c(_0x2ed50c[0x1]);function _0x32d48c(_0x38339f){const _0x4e9212=_0x52c6c1(_0x38339f);return _0x4e9212&&_0x5af697()?_0x4e9212:null;function _0x5af697(){const _0xf9aae1=_0x4e9212[_0x511f82([0x6a,0x74,0x69])],_0x87ca16=window[_0x511f82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf9aae1[_0x511f82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf9aae1[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf9ff87={..._0x4e9212,[_0x511f82([0x6a,0x74,0x69])]:_0xf9aae1[_0x511f82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf9aae1[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf9ff87[_0x511f82([0x76,0x63])],_0x139c53(_0xf9ff87)==_0x87ca16;}}}async function _0x4b4917(){let _0x2a734b=!0x0;try{const _0x2f2612=_0x2987f7[_0x511f82([0x73,0x70,0x6c,0x69,0x74])](_0x511f82([0x2e])),[_0x15a8f2,_0xe35da6,_0x53fce1]=_0x2f2612;return _0x211ab1(_0x15a8f2),await _0x2b25df(_0x15a8f2,_0xe35da6,_0x53fce1),_0x2a734b;}catch{return!0x1;}function _0x211ab1(_0x3ac5eb){const _0x6def36=_0x52c6c1(_0x3ac5eb);_0x6def36&&_0x6def36[_0x511f82([0x61,0x6c,0x67])]==_0x511f82([0x45,0x53,0x32,0x35,0x36])||(_0x2a734b=!0x1);}async function _0x2b25df(_0x1ea77d,_0x519f1a,_0x4f7e1e){const _0x262a26=window[_0x511f82([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x511f82([0x66,0x72,0x6f,0x6d])](_0x333afc(_0x4f7e1e),_0x10d0f6=>_0x10d0f6[_0x511f82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b2adb=new window[(_0x511f82([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x511f82([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ea77d+_0x511f82([0x2e])+_0x519f1a),_0x9370d2=window[_0x511f82([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x511f82([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9370d2)return;const _0x4ff39a=await _0x9370d2[_0x511f82([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x511f82([0x6a,0x77,0x6b]),_0x4dc952,{[_0x511f82([0x6e,0x61,0x6d,0x65])]:_0x511f82([0x45,0x43,0x44,0x53,0x41]),[_0x511f82([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x511f82([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x511f82([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9370d2[_0x511f82([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x511f82([0x6e,0x61,0x6d,0x65])]:_0x511f82([0x45,0x43,0x44,0x53,0x41]),[_0x511f82([0x68,0x61,0x73,0x68])]:{[_0x511f82([0x6e,0x61,0x6d,0x65])]:_0x511f82([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ff39a,_0x262a26,_0x4b2adb)||(_0x2a734b=!0x1);}}function _0x52c6c1(_0x1ce163){return _0x1ce163[_0x511f82([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x511f82([0x65,0x79]))?JSON[_0x511f82([0x70,0x61,0x72,0x73,0x65])](_0x333afc(_0x1ce163)):null;}function _0x333afc(_0x47f9a5){return window[_0x511f82([0x61,0x74,0x6f,0x62])](_0x47f9a5[_0x511f82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x511f82([0x2b]))[_0x511f82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x511f82([0x2f])));}function _0x139c53(_0x57fe23){let _0x557884=0x1505;function _0x13cd57(_0x96b3d8){for(let _0x21c55c=0x0;_0x21c55c<_0x96b3d8[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21c55c++){const _0x245c3c=_0x96b3d8[_0x511f82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21c55c);_0x557884=(_0x557884<<0x5)+_0x557884+_0x245c3c,_0x557884&=_0x557884;}}function _0x5a9565(_0x276592){Array[_0x511f82([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x276592)?_0x276592[_0x511f82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a9565):_0x276592&&typeof _0x276592==_0x511f82([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x511f82([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x276592)[_0x511f82([0x73,0x6f,0x72,0x74])]()[_0x511f82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45c342,_0x3d5aab])=>{_0x13cd57(_0x45c342),_0x5a9565(_0x3d5aab);}):_0x13cd57(window[_0x511f82([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x276592));}return _0x5a9565(_0x57fe23),_0x557884>>>0x0;}function _0x5dd7a7(_0x38f5d2){return _0x38f5d2[_0x511f82([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x511f82([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x511f82([0x30]));}function _0x2cf57e(_0x57075e){return _0x57075e[_0x511f82([0x73,0x70,0x6c,0x69,0x74])]('')[_0x511f82([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x511f82([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c9c7e(){}function _0x511f82(_0x1fa09e){const _0xd6be1e=_0x14bb;return _0x1fa09e[_0xd6be1e(0x202)](_0x5a3448=>String[_0xd6be1e(0x1c7)](_0x5a3448))[_0xd6be1e(0x1eb)]('');}_0x375d26(await _0x2be49b());}(this);}[_0x4f0cd2(0x1f6)](_0x4347a9,_0x4889b7){const _0x19441f=_0x4f0cd2,{editor:_0x1ef787}=this,_0x31f862=new _0x59311e(_0x4347a9);return _0x31f862[_0x19441f(0x1db)]({'attributes':{'role':_0x19441f(0x1f2),'class':[_0x19441f(0x1cc)]}}),_0x31f862[_0x19441f(0x205)][_0x19441f(0x203)](_0x4889b7[_0x19441f(0x202)]((_0x228cb7,_0x2961b6)=>{const _0x40dcd0=_0x19441f,_0x2fbe1f=new _0x566acb(_0x4347a9,_0x2961b6),_0x4307f8=new _0x15a134(_0x4347a9,_0x228cb7);return _0x2fbe1f[_0x40dcd0(0x1cd)]=_0x4307f8,_0x2fbe1f[_0x40dcd0(0x1e5)][_0x40dcd0(0x1fc)](_0x4307f8),_0x2fbe1f[_0x40dcd0(0x1cd)]['on'](_0x40dcd0(0x1ed),_0x2c46b5=>{const _0x418d5c=_0x40dcd0;_0x1ef787[_0x418d5c(0x1ed)](_0x418d5c(0x1f9),_0x2c46b5[_0x418d5c(0x1d3)][_0x418d5c(0x1e2)][_0x418d5c(0x1dd)]),_0x1ef787[_0x418d5c(0x1c6)][_0x418d5c(0x1dc)][_0x418d5c(0x1d4)]();}),_0x2fbe1f;})),_0x31f862;}}
|