@ckeditor/ckeditor5-slash-command 45.1.0-alpha.3 → 45.1.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/slash-command.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +10 -10
- package/src/slashcommandconfig.js +1 -1
package/build/slash-command.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 e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var a=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(o[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);a&&o[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function a(e,t,a,r){var i;if(a)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,o&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,i);else{var s=document.createTextNode(i),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(s,c[t]):e.appendChild(s)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){a(n,t,!1,e)},remove:function(e){a(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},655:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(168),r=n.n(a),i=n(433),o=n.n(i)()(r());o.push([e.id,":root{--ck-slash-command-button-width:250px;--ck-slash-command-description-width:200px}.ck-mentions .ck.ck-button.ck-slash-command-button{display:flex;justify-content:flex-start;padding:calc(var(--ck-line-height-base)*.2*var(--ck-font-size-base));width:var(--ck-slash-command-button-width)}.ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{background-color:var(--ck-color-base-background);border-radius:2px;box-sizing:initial;color:var(--ck-color-base-text);flex-shrink:0;margin-left:0;padding:5px}[dir=ltr] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{margin:0 var(--ck-spacing-small) 0 0}[dir=rtl] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{margin:0 0 0 var(--ck-spacing-small)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{display:flex;flex-direction:column}[dir=ltr] .ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{margin-left:var(--ck-spacing-small)}[dir=rtl] .ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{margin-right:var(--ck-spacing-small)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>span{line-height:1.2em}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-button__label,.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-slash-command-button__description{overflow:hidden;text-overflow:ellipsis;width:var(--ck-slash-command-description-width)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-button__label{font-weight:700}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-slash-command-button__description{font-size:var(--ck-font-size-small);opacity:.75}.ck-mentions .ck.ck-button.ck-slash-command-button.ck-on>.ck-slash-command-button__text-part>span{color:var(--ck-color-list-button-on-text)}",""]);const s=o},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var i={},o=[],s=0;s<e.length;s++){var c=e[s],l=a.base?c[0]+a.base:c[0],d=i[l]||0,u="".concat(l," ").concat(d);i[l]=d+1;var m=n(u),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(p);else{var h=r(p,a);a.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}o.push(u)}return o}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var i=a(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var s=n(i[o]);t[s].references--}for(var c=a(e,r),l=0;l<i.length;l++){var d=n(i[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={id:a,exports:{}};return e[a](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";n.r(a),n.d(a,{SlashCommand:()=>B,SlashCommandConfig:()=>c,SlashCommandEditing:()=>h,SlashCommandUI:()=>S});var e=n(782),t=n(584),r=n(355);const i=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=158]})(e,t)}function s(){const e=["Decrease indent","afterInit","toLowerCase","template","7GXpDmv","title","Horizontal line","AI Assistant","insertTable","insertTemplate","name","description","template.definitions","slashCommand.extraCommands","aiAssistant","Create a heading level 3","Decrease the indentation","Insert an emoji","href","join","length","Insert image","concat","Open file manager","Open the AI Assistant to generate content","heading2","toc","Heading 2","Create a numbered list","execute","1053786EbpHMy","Create a to-do list","Create a code block","fromCharCode","To-do list","Create a heading level 2","Heading 5","137733LPbNgp","Insert table","getAllowedCommands","insertTableOfContents","Emoji","Insert code block","Increase indent","2202WJRoVR","Bulleted list","split","todoList","ckbox","model","get","heading.options","Insert table of contents","style","heading3","224290DOUbmF","heading6","Table of contents","Paragraph","Insert a paragraph","codeBlock","Open file manager to insert an image or a file","isPremiumPlugin","paragraph","horizontalLine","commandName","filter","Increase the indentation","Insert HTML","Insert a horizontal line","_allowedCommands","Insert the Mermaid diagram","Create a table","numberedList","commands","_proxyExecute","isOfficialPlugin","Heading 4","locale","Open file browser to insert an image or a file","function","map","ckfinder","Block quote","SlashCommandConfig","heading4","Create a bulleted list","slashCommand.removeCommands","Insert an HTML snippet","745616ATdrPC","isEnabled","1699552xXPZHT","blockQuote","1389609taInEu","style.definitions","isIconColorInherited","htmlEmbed","Create a block quote","_proxyIsEnabled","enabledStyles","Create a heading level 1","slash-command-execute-missing","heading","Numbered list","bulletedList","showAIAssistant","editor","Heading 1","heading1","aliases","icon","Create a heading level 4","outdent","insertMermaidCommand","indent","filemanager","config","Heading 6","417iSkQar","getDefaultCommands","Create a heading level 6","pluginName","emoji","heading5","Heading 3","sort","Create a heading level 5","push","upload","Insert Mermaid diagram","includes"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(107434===-parseInt(t(196))/1+-parseInt(t(203))/2*(-parseInt(t(277))/3)+-parseInt(t(248))/4+parseInt(t(214))/5+parseInt(t(189))/6*(parseInt(t(163))/7)+parseInt(t(250))/8+-parseInt(t(252))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class c extends e.Plugin{static get[i(280)](){return i(243)}static get[i(235)](){return!0}static get[i(221)](){return!0}constructor(e){const t=i;super(e),this[t(229)]=null}[i(160)](){const e=i,n=this[e(265)][e(275)][e(209)](e(246))||[],a=function(t){const n=e;let a=[n(244),n(282),n(215)];if(t){const e=t[n(240)]((e=>e[n(208)]));a=[n(267),n(184),n(213),n(244),n(282),n(215)][n(225)]((t=>!e[n(158)](t)))}return a}(this[e(265)][e(275)][e(209)](e(210)));let r=this[e(278)]()[e(225)]((t=>!a[e(158)](t.id)))[e(225)]((t=>!n[e(158)](t[e(224)])));const s=this[e(265)][e(275)][e(209)](e(172));s&&s[e(179)]&&(r=r[e(181)](s));const c=this[e(265)][e(275)][e(209)](e(171));c&&c[e(179)]&&(r=r[e(181)](function(t){const n=e;return t[n(240)]((e=>{const t=n,{title:a,icon:r,description:i,data:o}=e,s={id:d(a,t(162)),commandName:t(168),execute:e=>{const n=t;e[n(188)](n(168),o)},description:i,icon:r,title:a};return r&&(s[t(254)]=!1),s}))}(c)));const u=this[e(265)][e(275)][e(209)](e(253));u&&u[e(179)]&&(r=r[e(181)](function(t){const n=e;return t[n(240)]((e=>({id:d(e[n(169)],n(212)),commandName:n(212),execute:t=>{const a=n;t[a(188)](a(212),{styleName:e[a(169)]})},isEnabled:t=>{const a=n,r=t[a(233)][a(209)](a(212));return r[a(249)]&&r[a(258)][a(158)](e[a(169)])},title:e[n(169)]})))}(u)));const m=r[e(225)]((t=>!t[e(224)]||void 0!==this[e(265)][e(233)][e(209)](t[e(224)]))),p=[];for(const t of m)p[e(286)]({id:t.id,commandName:t[e(224)],title:e(239)==typeof t[e(164)]?t[e(164)](this[e(265)]):t[e(164)],description:t[e(170)],icon:t[e(269)],isIconColorInherited:t[e(254)],aliases:t[e(268)],isEnabled:()=>this[e(257)](t),execute:()=>this[e(234)](t)});this[e(229)]=p[e(284)](l),async function(e){const n=g([49,84,66,104,99,85,79,108,73,100,105,120,101,53,48,69,86,98,65,113,80,115,89,56,107,111,74,52,82,122,117,78,116,50,118,55,87,119,71,81,57,103,70,114,76,106,75,110,68,83,97,121,72,102,67,90,77,112,88,109,51,54]),a=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],i=new(window[g([80,114,111,109,105,115,101])])((e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)})),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([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]),[g([121])]:g([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]),[g([97,108,103])]:g([69,83,50,53,54])},c=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function l(e){const t=[new(window[g([80,114,111,109,105,115,101])])((e=>setTimeout(e,605900))),i[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,a)=>{a[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])]((()=>e))}function d(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function m(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const a=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+a,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([t,a])=>{n(t),e(a)})):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function p(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=o;return e[t(240)]((e=>String[t(192)](e)))[t(178)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([84]);for(let a=0;a<e[g([108,101,110,103,116,104])];a+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](a,a+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await i,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,f=null;try{return c==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=c[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=d(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),a={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete a[g([118,99])],m(a)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(o())return c(g([86,97,108,105,100]));s(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const d=(0,t.uid)();function u(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function f(t){s(t)[g([116,104,101,110])]((e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?p(m(d+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((e=>(i(),e)),(()=>{const e=o();return null==e?(i(),g([86,97,108,105,100])):g(a-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const r=36e5;function i(){const t=g([108,108,99,116,45])+p(m(e)),n=h(p(window[g([77,97,116,104])][g([99,101,105,108])](a/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function o(){const t=g([108,108,99,116,45])+p(m(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function s(e){return new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:d}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e=>{u(e[g([114,101,116,117,114,110])])&&(l=!0,f(e[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),i[g([116,104,101,110])]((()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function s(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const a=c[g([115,112,108,105,116])](g([46])),[r,i,o]=a;return t(r),await n(r,i,o),e}catch(e){return!1}function t(t){const n=d(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,a){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(a),(e=>e[g([99,104,97,114,67,111,100,101,65,116])](0))),i=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),o=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!o)return;const c=await o[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await o[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([83,67]))&&!t[g([105,110,99,108,117,100,101,115])](g([80,80])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?a/1e3:1746835200;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=o,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:a}=new URL(window[g([108,111,99,97,116,105,111,110])][t(177)]);if(n[g([105,110,99,108,117,100,101,115])](a))return!0;const r=a[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((e=>e[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((e=>e[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((e=>r[g([101,118,101,114,121])](((t,n)=>e[n]===t||e[n]===g([42])))))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=l(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=l(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])(((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])]((t=>{t!=g([86,97,108,105,100])&&e(t)}),t)})):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(e){return g([73,110,118,97,108,105,100])}}())}(this)}[i(198)](){return this[i(229)]}[i(278)](){const e=i,t=t=>function(e,t){const n=e.t,a=e.t;switch(t){case"AI Assistant":return a("AI Assistant");case"Block quote":return a("Block quote");case"Bulleted list":return a("Bulleted list");case"Insert code block":return a("Insert code block");case"Open file manager":return a("Open file manager");case"Insert image":return a("Insert image");case"Heading 1":return a("Heading 1");case"Heading 2":return a("Heading 2");case"Heading 3":return a("Heading 3");case"Heading 4":return a("Heading 4");case"Heading 5":return a("Heading 5");case"Heading 6":return a("Heading 6");case"Horizontal line":return a("Horizontal line");case"Insert HTML":return a("Insert HTML");case"Increase indent":return a("Increase indent");case"Insert table":return a("Insert table");case"Table of contents":return a("Table of contents");case"Numbered list":return a("Numbered list");case"Decrease indent":return a("Decrease indent");case"Paragraph":return a("Paragraph");case"To-do list":return a("To-do list");case"Create a block quote":return n("Create a block quote");case"Create a bulleted list":return n("Create a bulleted list");case"Create a code block":return n("Create a code block");case"Open file manager to insert an image or a file":return n("Open file manager to insert an image or a file");case"Open file browser to insert an image or a file":return n("Open file browser to insert an image or a file");case"Create a heading level 1":return n("Create a heading level 1");case"Create a heading level 2":return n("Create a heading level 2");case"Create a heading level 3":return n("Create a heading level 3");case"Create a heading level 4":return n("Create a heading level 4");case"Create a heading level 5":return n("Create a heading level 5");case"Create a heading level 6":return n("Create a heading level 6");case"Insert a horizontal line":return n("Insert a horizontal line");case"Insert an HTML snippet":return n("Insert an HTML snippet");case"Increase the indentation":return n("Increase the indentation");case"Insert Mermaid diagram":return n("Insert Mermaid diagram");case"Insert the Mermaid diagram":return n("Insert the Mermaid diagram");case"Create a table":return n("Create a table");case"Insert table of contents":return n("Insert table of contents");case"Create a numbered list":return n("Create a numbered list");case"Decrease the indentation":return n("Decrease the indentation");case"Insert a paragraph":return n("Insert a paragraph");case"Create a to-do list":return n("Create a to-do list");case"Open the AI Assistant to generate content":return n("Open the AI Assistant to generate content");case"Insert an emoji":return n("Insert an emoji");default:return t}}(this[e(265)][e(237)],t);return[{id:e(173),commandName:e(264),icon:r.IconRobotPencil,title:t(e(166)),description:t(e(183)),execute:t=>{const n=e;setTimeout((()=>t[n(188)](n(264))))}},{id:e(251),commandName:e(251),icon:r.IconQuote,title:t(e(242)),description:t(e(256))},{id:e(263),commandName:e(263),icon:r.IconBulletedList,title:t(e(204)),description:t(e(245))},{id:e(219),commandName:e(219),icon:r.IconCodeBlock,title:t(e(201)),description:t(e(191))},{id:e(207),commandName:e(207),icon:r.IconBrowseFiles,title:t(e(182)),description:t(e(220)),aliases:[e(241),e(274),e(287)]},{id:e(241),commandName:e(241),icon:r.IconBrowseFiles,title:t(e(180)),description:t(e(238)),aliases:[e(207),e(274),e(287)]},{id:e(281),commandName:e(281),icon:r.IconEmoji,title:t(e(200)),description:t(e(176)),execute:t=>{const n=e;setTimeout((()=>t[n(188)](n(281))))}},{id:e(267),commandName:e(261),icon:r.IconHeading1,title:t(e(266)),description:t(e(259)),execute:t=>{const n=e;t[n(188)](n(261),{value:n(267)})}},{id:e(184),commandName:e(261),icon:r.IconHeading2,title:t(e(186)),description:t(e(194)),execute:t=>{const n=e;t[n(188)](n(261),{value:n(184)})}},{id:e(213),commandName:e(261),icon:r.IconHeading3,title:t(e(283)),description:t(e(174)),execute:t=>{const n=e;t[n(188)](n(261),{value:n(213)})}},{id:e(244),commandName:e(261),icon:r.IconHeading4,title:t(e(236)),description:t(e(270)),execute:t=>{const n=e;t[n(188)](n(261),{value:n(244)})}},{id:e(282),commandName:e(261),icon:r.IconHeading5,title:t(e(195)),description:t(e(285)),execute:t=>{const n=e;t[n(188)](n(261),{value:n(282)})}},{id:e(215),commandName:e(261),icon:r.IconHeading6,title:t(e(276)),description:t(e(279)),execute:t=>{const n=e;t[n(188)](n(261),{value:n(215)})}},{id:e(223),commandName:e(223),icon:r.IconHorizontalLine,title:t(e(165)),description:t(e(228))},{id:e(255),commandName:e(255),icon:r.IconHtml,title:t(e(227)),description:t(e(247))},{id:e(273),commandName:e(273),icon:r.IconIndent,title:t(e(202)),description:t(e(226))},{id:e(272),commandName:e(272),title:t(e(288)),description:t(e(230))},{id:e(167),commandName:e(167),icon:r.IconTable,title:t(e(197)),description:t(e(231))},{id:e(199),commandName:e(199),icon:r.IconTableOfContents,title:t(e(216)),description:t(e(211)),aliases:[e(185)]},{id:e(232),commandName:e(232),icon:r.IconNumberedList,title:t(e(262)),description:t(e(187))},{id:e(271),commandName:e(271),icon:r.IconOutdent,title:t(e(159)),description:t(e(175))},{id:e(222),commandName:e(222),icon:r.IconParagraph,title:t(e(217)),description:t(e(218))},{id:e(206),commandName:e(206),icon:r.IconTodoList,title:t(e(193)),description:t(e(190))}]}[i(257)](e){const t=i;return e[t(249)]?e[t(249)](this[t(265)]):!e[t(224)]||this[t(265)][t(233)][t(209)](e[t(224)])[t(249)]}[i(234)](e){const n=i;if(e[n(188)])e[n(188)](this[n(265)]);else{if(!e[n(224)])throw new t.CKEditorError(n(260),this[n(265)],{commandDefinition:e});this[n(265)][n(188)](e[n(224)])}}}function l(e,t){const n=i;return e[n(164)]<t[n(164)]?-1:e[n(164)]>t[n(164)]?1:0}function d(e,t){const n=i;return t+"-"+e[n(161)]()[n(205)](" ")[n(178)]("-")}const u=p;function m(){const e=["plugins","title","2NpYfhf","some","8498170xhtofl","isEnabled","toLowerCase","5354140AfthOj","SlashCommandEditing","requires","23671010srPqZy","1257798awbRfY","isPremiumPlugin","1803042PjWmRv","aliases","SlashCommandConfig","getAllowedCommands","3969044hCBoVT","63fwDXWY","getMatchingCommands","push","get","filter","description","editor","includes","3SfpNlE","1449naItjr","isOfficialPlugin","concat","44776yQXXMt","pluginName"];return(m=function(){return e})()}function p(e,t){const n=m();return(p=function(e,t){return n[e-=447]})(e,t)}!function(e){const t=p,n=e();for(;;)try{if(980201===parseInt(t(475))/1*(-parseInt(t(454))/2)+parseInt(t(467))/3*(-parseInt(t(458))/4)+-parseInt(t(477))/5+parseInt(t(452))/6*(parseInt(t(459))/7)+-parseInt(t(471))/8*(-parseInt(t(468))/9)+parseInt(t(448))/10+parseInt(t(451))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class h extends e.Plugin{static get[u(472)](){return u(449)}static get[u(469)](){return!0}static get[u(453)](){return!0}static get[u(450)](){return[c]}[u(460)](e){const t=u,n=e&&e[t(447)]();let a=this[t(465)][t(473)][t(462)](t(456))[t(457)]();if(a=a[t(463)]((e=>e[t(478)]())),n){const e=[],r=[],i=[],o=[];for(const s of a)s.id[t(447)]()[t(466)](n)?e[t(461)](s):s[t(474)][t(447)]()[t(466)](n)?r[t(461)](s):s[t(455)]&&s[t(455)][t(476)]((e=>e[t(447)]()[t(466)](n)))?i[t(461)](s):s[t(464)]&&s[t(464)][t(447)]()[t(466)](n)&&o[t(461)](s);a=e[t(470)](r,i,o)}return a}}var f=n(311);const g=I;function I(e,t){const n=b();return(I=function(e,t){return n[e-=377]})(e,t)}function b(){const e=["2202ITJYgV","705146wnXbrb","12TynGwf","983493qTRgbY","setTemplate","_createTextPartView","render","701591ruhGYt","197555BSGhxN","labelView","48xCLYXk","10cGYgbN","set","17YOfXYJ","7HxcAFa","isColorInherited","372156ocdwMS","description","8yPwFAD","ck-slash-command-button__description","ck-slash-command-button","isIconColorInherited","ck-slash-command-button__text-part","span","title","11613aNqdKH","icon","div","textPartView","children","add","iconView"];return(b=function(){return e})()}!function(e){const t=I,n=e();for(;;)try{if(100119===-parseInt(t(396))/1*(parseInt(t(383))/2)+parseInt(t(408))/3+parseInt(t(385))/4*(-parseInt(t(391))/5)+parseInt(t(399))/6*(parseInt(t(397))/7)+-parseInt(t(401))/8*(parseInt(t(386))/9)+-parseInt(t(394))/10*(-parseInt(t(390))/11)+-parseInt(t(393))/12*(-parseInt(t(384))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(b);class k extends f.ButtonView{constructor(e,t){const n=I;super(e),this[n(379)]=this[n(388)](e,t),void 0!==t[n(404)]&&(this[n(382)][n(398)]=t[n(404)]),this[n(395)]({icon:t[n(377)]||r.IconPlay,withText:!0,label:t[n(407)],class:n(403)})}[g(389)](){const e=g;super[e(389)](),this[e(380)][e(381)](this[e(379)])}[g(388)](e,t){const n=g,a=new f.View(e);return a[n(387)]({tag:n(378),attributes:{class:["ck",n(405)]},children:t[n(400)]?[this[n(392)],{tag:n(406),attributes:{class:["ck",n(402)]},children:[{text:t[n(400)]}]}]:[this[n(392)]]}),a}}var v=n(673),C=n.n(v),w=n(545),y=n.n(w),x=n(262),N=n.n(x),L=n(667),T=n.n(L),H=n(357),A=n.n(H),_=n(655),O={attributes:{"data-cke":!0}};O.setAttributes=T(),O.insert=N().bind(null,"head"),O.domAPI=y(),O.insertStyleElement=A();C()(_.A,O);_.A&&_.A.locals&&_.A.locals;const P=E;function M(){const e=["set","_overrideMentionExecuteListener","6007806KkeMQv","1134880AkhvLL","SlashCommand","SlashCommandUI","range","locale","_showLicenseError","push","pluginName","mention","2161186tYvxws","5PLDqLp","domainLimit","destroy","slashCommand.dropdownLimit","element","slashCommandLicenseKeyUsageLimit","licenseKey","slashCommandLicenseKeyValid","evaluationLimit","3385260kdJmqk","usageLimit","execute","remove","once","slashCommandLicenseKeyInvalid","model","461861MCuclP","_setupMentionConfiguration","ready","3553971EIWOdB","SlashCommandEditing","editor","mention.feeds","_customItemRenderer","trialLimit","isOfficialPlugin","slashCommandLicenseKeyNotAllowed","slashCommandLicenseKeyTrialLimit","bind","isPremiumPlugin","slashCommandLicenseKeyDomainLimit","marker","getMatchingCommands","commands","479108LbNNli","get","_licenseKeyCheckInterval","stop","plugins","render","slashCommandLicenseKeyExpired","high","init","slashCommandLicenseKeyEvaluationLimit","featureNotAllowed","change","expired","invalid","config"];return(M=function(){return e})()}function E(e,t){const n=M();return(E=function(e,t){return n[e-=406]})(e,t)}!function(e){const t=E,n=e();for(;;)try{if(598336===parseInt(t(460))/1+-parseInt(t(443))/2+parseInt(t(463))/3+parseInt(t(416))/4*(-parseInt(t(444))/5)+-parseInt(t(453))/6+parseInt(t(433))/7+-parseInt(t(434))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M);class S extends e.Plugin{[P(450)];[P(418)];static get[P(441)](){return P(436)}static get[P(407)](){return!0}static get[P(411)](){return!0}constructor(e){const t=P;super(e),this[t(461)]()}[P(424)](){const e=P;this[e(465)][e(457)](e(462),this[e(432)][e(410)](this)),this[e(450)]=this[e(465)][e(430)][e(417)](e(450));const t=this[e(465)];this[e(418)]=setInterval((()=>{const n=e;let a;for(const e in t){const r=e,i=t[r];if(n(451)==i||n(458)==i||n(422)==i||n(412)==i||n(408)==i||n(425)==i||n(409)==i||n(449)==i){delete t[r],a=i,clearInterval(this[n(418)]),this[n(418)]=void 0;break}}n(458)==a&&t[n(439)](n(429)),n(422)==a&&t[n(439)](n(428)),n(412)==a&&t[n(439)](n(445)),n(408)==a&&t[n(439)](n(426),n(435)),n(425)==a&&t[n(439)](n(452)),n(409)==a&&t[n(439)](n(406)),n(449)==a&&t[n(439)](n(454))}),1e3)}[P(446)](){const e=P;super[e(446)](),this[e(418)]&&clearInterval(this[e(418)])}[P(461)](){const e=P,t=this[e(465)],n=this[e(465)][e(420)][e(417)](e(464)),a=t[e(430)][e(417)](e(466));a[e(440)]({marker:"/",feed:t=>n[e(414)](t),itemRenderer:this[e(467)][e(410)](this),dropdownLimit:t[e(430)][e(417)](e(447))||1/0}),t[e(430)][e(431)](e(466),a)}[P(432)](){const e=P,t=this[e(465)];t[e(415)][e(417)](e(442)).on(e(455),((n,a)=>{const r=e,i=a[0],o=t[r(459)];"/"===i[r(413)]&&o[r(427)]((e=>{const t=r;e[t(456)](i[t(437)]),i[t(442)][t(455)](),n[t(419)]()}))}),{priority:e(423)})}[P(467)](e){const t=P,n=this[t(465)][t(438)],a=new k(n,e);return a[t(421)](),a[t(448)]}}var j=D;function D(e,t){var n=K();return(D=function(e,t){return n[e-=491]})(e,t)}function K(){var e=["isOfficialPlugin","669094VKaEHc","1053690ZdISmr","Mention","requires","276924XPsNGP","6YwnsCG","1iHyOWu","152TlUXpF","184610AlXHAE","55bkHoDT","isPremiumPlugin","13EizvLL","28wriyHd","pluginName","351976uFtXmV","735471bbuaBa","2115ySxmti","SlashCommand"];return(K=function(){return e})()}!function(e){for(var t=D,n=e();;)try{if(171712===parseInt(t(503))/1*(parseInt(t(497))/2)+parseInt(t(494))/3*(parseInt(t(504))/4)+parseInt(t(498))/5*(-parseInt(t(502))/6)+-parseInt(t(509))/7*(parseInt(t(492))/8)+parseInt(t(493))/9+-parseInt(t(505))/10*(-parseInt(t(506))/11)+parseInt(t(501))/12*(parseInt(t(508))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class B extends e.Plugin{static get[j(500)](){return[j(499),h,S]}static get[j(491)](){return j(495)}static get[j(496)](){return!0}static get[j(507)](){return!0}}function q(e,t){var n=z();return(q=function(e,t){return n[e-=392]})(e,t)}function z(){var e=["1055fjNAAj","230645ImFHGX","413424bdGbax","2367xSmYEL","14488dvXaeD","1519200RUfSsK","7132gMruXZ","2429544lFTdlW","5335813SgTNMp"];return(z=function(){return e})()}!function(e){for(var t=q,n=e();;)try{if(412878===-parseInt(t(396))/1+-parseInt(t(400))/2+parseInt(t(393))/3+parseInt(t(392))/4*(parseInt(t(395))/5)+-parseInt(t(397))/6+parseInt(t(394))/7+-parseInt(t(399))/8*(parseInt(t(398))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(z)})(),(window.CKEditor5=window.CKEditor5||{}).slashCommand=a})();
|
|
5
|
+
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var a=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(o[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);a&&o[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function a(e,t,a,r){var i;if(a)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,o&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,i);else{var s=document.createTextNode(i),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(s,c[t]):e.appendChild(s)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){a(n,t,!1,e)},remove:function(e){a(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},655:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(168),r=n.n(a),i=n(433),o=n.n(i)()(r());o.push([e.id,":root{--ck-slash-command-button-width:250px;--ck-slash-command-description-width:200px}.ck-mentions .ck.ck-button.ck-slash-command-button{display:flex;justify-content:flex-start;padding:calc(var(--ck-line-height-base)*.2*var(--ck-font-size-base));width:var(--ck-slash-command-button-width)}.ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{background-color:var(--ck-color-base-background);border-radius:2px;box-sizing:initial;color:var(--ck-color-base-text);flex-shrink:0;margin-left:0;padding:5px}[dir=ltr] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{margin:0 var(--ck-spacing-small) 0 0}[dir=rtl] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{margin:0 0 0 var(--ck-spacing-small)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{display:flex;flex-direction:column}[dir=ltr] .ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{margin-left:var(--ck-spacing-small)}[dir=rtl] .ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{margin-right:var(--ck-spacing-small)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>span{line-height:1.2em}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-button__label,.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-slash-command-button__description{overflow:hidden;text-overflow:ellipsis;width:var(--ck-slash-command-description-width)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-button__label{font-weight:700}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-slash-command-button__description{font-size:var(--ck-font-size-small);opacity:.75}.ck-mentions .ck.ck-button.ck-slash-command-button.ck-on>.ck-slash-command-button__text-part>span{color:var(--ck-color-list-button-on-text)}",""]);const s=o},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var i={},o=[],s=0;s<e.length;s++){var c=e[s],l=a.base?c[0]+a.base:c[0],d=i[l]||0,u="".concat(l," ").concat(d);i[l]=d+1;var m=n(u),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(p);else{var h=r(p,a);a.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}o.push(u)}return o}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var i=a(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var s=n(i[o]);t[s].references--}for(var c=a(e,r),l=0;l<i.length;l++){var d=n(i[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={id:a,exports:{}};return e[a](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";n.r(a),n.d(a,{SlashCommand:()=>D,SlashCommandConfig:()=>c,SlashCommandEditing:()=>h,SlashCommandUI:()=>E});var e=n(782),t=n(584),r=n(355);const i=s;function o(){const e=["numberedList","Open the AI Assistant to generate content","heading4","272110XMTyao","heading3","concat","template.definitions","aiAssistant","Create a heading level 4","icon","709620ZPoonm","slash-command-execute-missing","map","_allowedCommands","Increase the indentation","afterInit","heading1","bulletedList","isPremiumPlugin","slashCommand.removeCommands","Insert a paragraph","Insert the Mermaid diagram","SlashCommandConfig","111575vGqLqN","heading2","Heading 6","aliases","Insert image","Horizontal line","template","isEnabled","Increase indent","style.definitions","ckbox","Create a heading level 6","sort","515718yNVFkm","function","blockQuote","length","config","getAllowedCommands","slashCommand.extraCommands","editor","push","execute","Heading 2","Emoji","Create a heading level 5","insertTemplate","name","horizontalLine","Block quote","36JjQAFh","Insert Mermaid diagram","isIconColorInherited","todoList","heading","15384ULewaQ","Create a code block","insertTable","indent","insertTableOfContents","Open file browser to insert an image or a file","Insert a horizontal line","filter","split","Heading 1","Open file manager to insert an image or a file","outdent","description","Heading 3","Open file manager","AI Assistant","heading.options","get","Insert table","Create a block quote","10KGYSdw","Bulleted list","showAIAssistant","Heading 5","Create a bulleted list","commands","title","ckfinder","Create a heading level 2","24wdTjol","enabledStyles","emoji","163341ndaVgG","paragraph","24MGmesY","insertMermaidCommand","toLowerCase","href","Insert an HTML snippet","Numbered list","Create a heading level 3","model","style","upload","htmlEmbed","Insert code block","Create a numbered list","pluginName","Insert HTML","To-do list","Paragraph","Create a heading level 1","Decrease indent","filemanager","16413KYUIdF","fromCharCode","join","_proxyIsEnabled","isOfficialPlugin","Decrease the indentation","Insert table of contents","includes","Heading 4","locale","heading5","commandName","toc","codeBlock","Create a to-do list","1254BCjCrA","Insert an emoji","_proxyExecute","Table of contents","Create a table","heading6","getDefaultCommands"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=440]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(144325===parseInt(t(552))/1+parseInt(t(540))/2*(-parseInt(t(440))/3)+parseInt(t(472))/4+parseInt(t(485))/5*(parseInt(t(554))/6)+parseInt(t(498))/7*(-parseInt(t(549))/8)+-parseInt(t(515))/9*(-parseInt(t(465))/10)+-parseInt(t(455))/11*(parseInt(t(520))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class c extends e.Plugin{static get[i(567)](){return i(484)}static get[i(444)](){return!0}static get[i(480)](){return!0}constructor(e){const t=i;super(e),this[t(475)]=null}[i(477)](){const e=i,n=this[e(505)][e(502)][e(537)](e(481))||[],a=function(t){const n=e;let a=[n(464),n(450),n(460)];if(t){const e=t[n(474)]((e=>e[n(561)]));a=[n(478),n(486),n(466),n(464),n(450),n(460)][n(527)]((t=>!e[n(447)](t)))}return a}(this[e(505)][e(502)][e(537)](e(536)));let r=this[e(461)]()[e(527)]((t=>!a[e(447)](t.id)))[e(527)]((t=>!n[e(447)](t[e(451)])));const o=this[e(505)][e(502)][e(537)](e(504));o&&o[e(501)]&&(r=r[e(467)](o));const c=this[e(505)][e(502)][e(537)](e(468));c&&c[e(501)]&&(r=r[e(467)](function(t){const n=e;return t[n(474)]((e=>{const t=n,{title:a,icon:r,description:i,data:o}=e,s={id:d(a,t(491)),commandName:t(511),execute:e=>{const n=t;e[n(507)](n(511),o)},description:i,icon:r,title:a};return r&&(s[t(517)]=!1),s}))}(c)));const u=this[e(505)][e(502)][e(537)](e(494));u&&u[e(501)]&&(r=r[e(467)](function(t){const n=e;return t[n(474)]((e=>({id:d(e[n(512)],n(562)),commandName:n(562),execute:t=>{const a=n;t[a(507)](a(562),{styleName:e[a(512)]})},isEnabled:t=>{const a=n,r=t[a(545)][a(537)](a(562));return r[a(492)]&&r[a(550)][a(447)](e[a(512)])},title:e[n(512)]})))}(u)));const m=r[e(527)]((t=>!t[e(451)]||void 0!==this[e(505)][e(545)][e(537)](t[e(451)]))),p=[];for(const t of m)p[e(506)]({id:t.id,commandName:t[e(451)],title:e(499)==typeof t[e(546)]?t[e(546)](this[e(505)]):t[e(546)],description:t[e(532)],icon:t[e(471)],isIconColorInherited:t[e(517)],aliases:t[e(488)],isEnabled:()=>this[e(443)](t),execute:()=>this[e(457)](t)});this[e(475)]=p[e(497)](l),async function(e){const n=g([100,75,107,101,86,109,104,90,99,56,50,83,103,79,105,114,117,97,89,98,76,122,112,108,68,111,81,85,80,116,82,119,72,49,106,70,88,120,87,52,54,71,48,53,69,113,118,78,110,66,73,84,57,115,65,121,51,55,77,102,74,67]),a=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],i=new(window[g([80,114,111,109,105,115,101])])((e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)})),o={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([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]),[g([121])]:g([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]),[g([97,108,103])]:g([69,83,50,53,54])},c=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function l(e){const t=[new(window[g([80,114,111,109,105,115,101])])((e=>setTimeout(e,605900))),i[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,a)=>{a[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])]((()=>e))}function d(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function m(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const a=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+a,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([t,a])=>{n(t),e(a)})):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function p(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=s;return e[t(474)]((e=>String[t(441)](e)))[t(442)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([100]);for(let a=0;a<e[g([108,101,110,103,116,104])];a+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](a,a+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await i,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,f=null;try{return c==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=c[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=d(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),a={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete a[g([118,99])],m(a)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(o())return c(g([86,97,108,105,100]));s(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const d=(0,t.uid)();function u(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function f(t){s(t)[g([116,104,101,110])]((e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?p(m(d+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((e=>(i(),e)),(()=>{const e=o();return null==e?(i(),g([86,97,108,105,100])):g(a-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const r=36e5;function i(){const t=g([108,108,99,116,45])+p(m(e)),n=h(p(window[g([77,97,116,104])][g([99,101,105,108])](a/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function o(){const t=g([108,108,99,116,45])+p(m(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function s(e){return new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:d}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e=>{u(e[g([114,101,116,117,114,110])])&&(l=!0,f(e[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),i[g([116,104,101,110])]((()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function s(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const a=c[g([115,112,108,105,116])](g([46])),[r,i,o]=a;return t(r),await n(r,i,o),e}catch(e){return!1}function t(t){const n=d(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,a){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(a),(e=>e[g([99,104,97,114,67,111,100,101,65,116])](0))),i=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),s=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!s)return;const c=await s[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),o,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await s[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([83,67]))&&!t[g([105,110,99,108,117,100,101,115])](g([80,80])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?a/1e3:1747008e3;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=s,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:a}=new URL(window[g([108,111,99,97,116,105,111,110])][t(557)]);if(n[g([105,110,99,108,117,100,101,115])](a))return!0;const r=a[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((e=>e[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((e=>e[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((e=>r[g([101,118,101,114,121])](((t,n)=>e[n]===t||e[n]===g([42])))))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=l(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=l(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])(((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])]((t=>{t!=g([86,97,108,105,100])&&e(t)}),t)})):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(e){return g([73,110,118,97,108,105,100])}}())}(this)}[i(503)](){return this[i(475)]}[i(461)](){const e=i,t=t=>function(e,t){const n=e.t,a=e.t;switch(t){case"AI Assistant":return a("AI Assistant");case"Block quote":return a("Block quote");case"Bulleted list":return a("Bulleted list");case"Insert code block":return a("Insert code block");case"Open file manager":return a("Open file manager");case"Insert image":return a("Insert image");case"Heading 1":return a("Heading 1");case"Heading 2":return a("Heading 2");case"Heading 3":return a("Heading 3");case"Heading 4":return a("Heading 4");case"Heading 5":return a("Heading 5");case"Heading 6":return a("Heading 6");case"Horizontal line":return a("Horizontal line");case"Insert HTML":return a("Insert HTML");case"Increase indent":return a("Increase indent");case"Insert table":return a("Insert table");case"Table of contents":return a("Table of contents");case"Numbered list":return a("Numbered list");case"Decrease indent":return a("Decrease indent");case"Paragraph":return a("Paragraph");case"To-do list":return a("To-do list");case"Create a block quote":return n("Create a block quote");case"Create a bulleted list":return n("Create a bulleted list");case"Create a code block":return n("Create a code block");case"Open file manager to insert an image or a file":return n("Open file manager to insert an image or a file");case"Open file browser to insert an image or a file":return n("Open file browser to insert an image or a file");case"Create a heading level 1":return n("Create a heading level 1");case"Create a heading level 2":return n("Create a heading level 2");case"Create a heading level 3":return n("Create a heading level 3");case"Create a heading level 4":return n("Create a heading level 4");case"Create a heading level 5":return n("Create a heading level 5");case"Create a heading level 6":return n("Create a heading level 6");case"Insert a horizontal line":return n("Insert a horizontal line");case"Insert an HTML snippet":return n("Insert an HTML snippet");case"Increase the indentation":return n("Increase the indentation");case"Insert Mermaid diagram":return n("Insert Mermaid diagram");case"Insert the Mermaid diagram":return n("Insert the Mermaid diagram");case"Create a table":return n("Create a table");case"Insert table of contents":return n("Insert table of contents");case"Create a numbered list":return n("Create a numbered list");case"Decrease the indentation":return n("Decrease the indentation");case"Insert a paragraph":return n("Insert a paragraph");case"Create a to-do list":return n("Create a to-do list");case"Open the AI Assistant to generate content":return n("Open the AI Assistant to generate content");case"Insert an emoji":return n("Insert an emoji");default:return t}}(this[e(505)][e(449)],t);return[{id:e(469),commandName:e(542),icon:r.IconRobotPencil,title:t(e(535)),description:t(e(463)),execute:t=>{const n=e;setTimeout((()=>t[n(507)](n(542))))}},{id:e(500),commandName:e(500),icon:r.IconQuote,title:t(e(514)),description:t(e(539))},{id:e(479),commandName:e(479),icon:r.IconBulletedList,title:t(e(541)),description:t(e(544))},{id:e(453),commandName:e(453),icon:r.IconCodeBlock,title:t(e(565)),description:t(e(521))},{id:e(495),commandName:e(495),icon:r.IconBrowseFiles,title:t(e(534)),description:t(e(530)),aliases:[e(547),e(573),e(563)]},{id:e(547),commandName:e(547),icon:r.IconBrowseFiles,title:t(e(489)),description:t(e(525)),aliases:[e(495),e(573),e(563)]},{id:e(551),commandName:e(551),icon:r.IconEmoji,title:t(e(509)),description:t(e(456)),execute:t=>{const n=e;setTimeout((()=>t[n(507)](n(551))))}},{id:e(478),commandName:e(519),icon:r.IconHeading1,title:t(e(529)),description:t(e(571)),execute:t=>{const n=e;t[n(507)](n(519),{value:n(478)})}},{id:e(486),commandName:e(519),icon:r.IconHeading2,title:t(e(508)),description:t(e(548)),execute:t=>{const n=e;t[n(507)](n(519),{value:n(486)})}},{id:e(466),commandName:e(519),icon:r.IconHeading3,title:t(e(533)),description:t(e(560)),execute:t=>{const n=e;t[n(507)](n(519),{value:n(466)})}},{id:e(464),commandName:e(519),icon:r.IconHeading4,title:t(e(448)),description:t(e(470)),execute:t=>{const n=e;t[n(507)](n(519),{value:n(464)})}},{id:e(450),commandName:e(519),icon:r.IconHeading5,title:t(e(543)),description:t(e(510)),execute:t=>{const n=e;t[n(507)](n(519),{value:n(450)})}},{id:e(460),commandName:e(519),icon:r.IconHeading6,title:t(e(487)),description:t(e(496)),execute:t=>{const n=e;t[n(507)](n(519),{value:n(460)})}},{id:e(513),commandName:e(513),icon:r.IconHorizontalLine,title:t(e(490)),description:t(e(526))},{id:e(564),commandName:e(564),icon:r.IconHtml,title:t(e(568)),description:t(e(558))},{id:e(523),commandName:e(523),icon:r.IconIndent,title:t(e(493)),description:t(e(476))},{id:e(555),commandName:e(555),title:t(e(516)),description:t(e(483))},{id:e(522),commandName:e(522),icon:r.IconTable,title:t(e(538)),description:t(e(459))},{id:e(524),commandName:e(524),icon:r.IconTableOfContents,title:t(e(458)),description:t(e(446)),aliases:[e(452)]},{id:e(462),commandName:e(462),icon:r.IconNumberedList,title:t(e(559)),description:t(e(566))},{id:e(531),commandName:e(531),icon:r.IconOutdent,title:t(e(572)),description:t(e(445))},{id:e(553),commandName:e(553),icon:r.IconParagraph,title:t(e(570)),description:t(e(482))},{id:e(518),commandName:e(518),icon:r.IconTodoList,title:t(e(569)),description:t(e(454))}]}[i(443)](e){const t=i;return e[t(492)]?e[t(492)](this[t(505)]):!e[t(451)]||this[t(505)][t(545)][t(537)](e[t(451)])[t(492)]}[i(457)](e){const n=i;if(e[n(507)])e[n(507)](this[n(505)]);else{if(!e[n(451)])throw new t.CKEditorError(n(473),this[n(505)],{commandDefinition:e});this[n(505)][n(507)](e[n(451)])}}}function l(e,t){const n=i;return e[n(546)]<t[n(546)]?-1:e[n(546)]>t[n(546)]?1:0}function d(e,t){const n=i;return t+"-"+e[n(556)]()[n(528)](" ")[n(442)]("-")}const u=p;function m(){const e=["plugins","title","2NpYfhf","some","8498170xhtofl","isEnabled","toLowerCase","5354140AfthOj","SlashCommandEditing","requires","23671010srPqZy","1257798awbRfY","isPremiumPlugin","1803042PjWmRv","aliases","SlashCommandConfig","getAllowedCommands","3969044hCBoVT","63fwDXWY","getMatchingCommands","push","get","filter","description","editor","includes","3SfpNlE","1449naItjr","isOfficialPlugin","concat","44776yQXXMt","pluginName"];return(m=function(){return e})()}function p(e,t){const n=m();return(p=function(e,t){return n[e-=447]})(e,t)}!function(e){const t=p,n=e();for(;;)try{if(980201===parseInt(t(475))/1*(-parseInt(t(454))/2)+parseInt(t(467))/3*(-parseInt(t(458))/4)+-parseInt(t(477))/5+parseInt(t(452))/6*(parseInt(t(459))/7)+-parseInt(t(471))/8*(-parseInt(t(468))/9)+parseInt(t(448))/10+parseInt(t(451))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class h extends e.Plugin{static get[u(472)](){return u(449)}static get[u(469)](){return!0}static get[u(453)](){return!0}static get[u(450)](){return[c]}[u(460)](e){const t=u,n=e&&e[t(447)]();let a=this[t(465)][t(473)][t(462)](t(456))[t(457)]();if(a=a[t(463)]((e=>e[t(478)]())),n){const e=[],r=[],i=[],o=[];for(const s of a)s.id[t(447)]()[t(466)](n)?e[t(461)](s):s[t(474)][t(447)]()[t(466)](n)?r[t(461)](s):s[t(455)]&&s[t(455)][t(476)]((e=>e[t(447)]()[t(466)](n)))?i[t(461)](s):s[t(464)]&&s[t(464)][t(447)]()[t(466)](n)&&o[t(461)](s);a=e[t(470)](r,i,o)}return a}}var f=n(311);const g=I;function I(e,t){const n=b();return(I=function(e,t){return n[e-=377]})(e,t)}function b(){const e=["2202ITJYgV","705146wnXbrb","12TynGwf","983493qTRgbY","setTemplate","_createTextPartView","render","701591ruhGYt","197555BSGhxN","labelView","48xCLYXk","10cGYgbN","set","17YOfXYJ","7HxcAFa","isColorInherited","372156ocdwMS","description","8yPwFAD","ck-slash-command-button__description","ck-slash-command-button","isIconColorInherited","ck-slash-command-button__text-part","span","title","11613aNqdKH","icon","div","textPartView","children","add","iconView"];return(b=function(){return e})()}!function(e){const t=I,n=e();for(;;)try{if(100119===-parseInt(t(396))/1*(parseInt(t(383))/2)+parseInt(t(408))/3+parseInt(t(385))/4*(-parseInt(t(391))/5)+parseInt(t(399))/6*(parseInt(t(397))/7)+-parseInt(t(401))/8*(parseInt(t(386))/9)+-parseInt(t(394))/10*(-parseInt(t(390))/11)+-parseInt(t(393))/12*(-parseInt(t(384))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(b);class k extends f.ButtonView{constructor(e,t){const n=I;super(e),this[n(379)]=this[n(388)](e,t),void 0!==t[n(404)]&&(this[n(382)][n(398)]=t[n(404)]),this[n(395)]({icon:t[n(377)]||r.IconPlay,withText:!0,label:t[n(407)],class:n(403)})}[g(389)](){const e=g;super[e(389)](),this[e(380)][e(381)](this[e(379)])}[g(388)](e,t){const n=g,a=new f.View(e);return a[n(387)]({tag:n(378),attributes:{class:["ck",n(405)]},children:t[n(400)]?[this[n(392)],{tag:n(406),attributes:{class:["ck",n(402)]},children:[{text:t[n(400)]}]}]:[this[n(392)]]}),a}}var v=n(673),w=n.n(v),C=n(545),y=n.n(C),x=n(262),N=n.n(x),L=n(667),T=n.n(L),A=n(357),H=n.n(A),_=n(655),O={attributes:{"data-cke":!0}};O.setAttributes=T(),O.insert=N().bind(null,"head"),O.domAPI=y(),O.insertStyleElement=H();w()(_.A,O);_.A&&_.A.locals&&_.A.locals;const M=S;function P(){const e=["set","_overrideMentionExecuteListener","6007806KkeMQv","1134880AkhvLL","SlashCommand","SlashCommandUI","range","locale","_showLicenseError","push","pluginName","mention","2161186tYvxws","5PLDqLp","domainLimit","destroy","slashCommand.dropdownLimit","element","slashCommandLicenseKeyUsageLimit","licenseKey","slashCommandLicenseKeyValid","evaluationLimit","3385260kdJmqk","usageLimit","execute","remove","once","slashCommandLicenseKeyInvalid","model","461861MCuclP","_setupMentionConfiguration","ready","3553971EIWOdB","SlashCommandEditing","editor","mention.feeds","_customItemRenderer","trialLimit","isOfficialPlugin","slashCommandLicenseKeyNotAllowed","slashCommandLicenseKeyTrialLimit","bind","isPremiumPlugin","slashCommandLicenseKeyDomainLimit","marker","getMatchingCommands","commands","479108LbNNli","get","_licenseKeyCheckInterval","stop","plugins","render","slashCommandLicenseKeyExpired","high","init","slashCommandLicenseKeyEvaluationLimit","featureNotAllowed","change","expired","invalid","config"];return(P=function(){return e})()}function S(e,t){const n=P();return(S=function(e,t){return n[e-=406]})(e,t)}!function(e){const t=S,n=e();for(;;)try{if(598336===parseInt(t(460))/1+-parseInt(t(443))/2+parseInt(t(463))/3+parseInt(t(416))/4*(-parseInt(t(444))/5)+-parseInt(t(453))/6+parseInt(t(433))/7+-parseInt(t(434))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class E extends e.Plugin{[M(450)];[M(418)];static get[M(441)](){return M(436)}static get[M(407)](){return!0}static get[M(411)](){return!0}constructor(e){const t=M;super(e),this[t(461)]()}[M(424)](){const e=M;this[e(465)][e(457)](e(462),this[e(432)][e(410)](this)),this[e(450)]=this[e(465)][e(430)][e(417)](e(450));const t=this[e(465)];this[e(418)]=setInterval((()=>{const n=e;let a;for(const e in t){const r=e,i=t[r];if(n(451)==i||n(458)==i||n(422)==i||n(412)==i||n(408)==i||n(425)==i||n(409)==i||n(449)==i){delete t[r],a=i,clearInterval(this[n(418)]),this[n(418)]=void 0;break}}n(458)==a&&t[n(439)](n(429)),n(422)==a&&t[n(439)](n(428)),n(412)==a&&t[n(439)](n(445)),n(408)==a&&t[n(439)](n(426),n(435)),n(425)==a&&t[n(439)](n(452)),n(409)==a&&t[n(439)](n(406)),n(449)==a&&t[n(439)](n(454))}),1e3)}[M(446)](){const e=M;super[e(446)](),this[e(418)]&&clearInterval(this[e(418)])}[M(461)](){const e=M,t=this[e(465)],n=this[e(465)][e(420)][e(417)](e(464)),a=t[e(430)][e(417)](e(466));a[e(440)]({marker:"/",feed:t=>n[e(414)](t),itemRenderer:this[e(467)][e(410)](this),dropdownLimit:t[e(430)][e(417)](e(447))||1/0}),t[e(430)][e(431)](e(466),a)}[M(432)](){const e=M,t=this[e(465)];t[e(415)][e(417)](e(442)).on(e(455),((n,a)=>{const r=e,i=a[0],o=t[r(459)];"/"===i[r(413)]&&o[r(427)]((e=>{const t=r;e[t(456)](i[t(437)]),i[t(442)][t(455)](),n[t(419)]()}))}),{priority:e(423)})}[M(467)](e){const t=M,n=this[t(465)][t(438)],a=new k(n,e);return a[t(421)](),a[t(448)]}}var j=K;function K(e,t){var n=B();return(K=function(e,t){return n[e-=491]})(e,t)}function B(){var e=["isOfficialPlugin","669094VKaEHc","1053690ZdISmr","Mention","requires","276924XPsNGP","6YwnsCG","1iHyOWu","152TlUXpF","184610AlXHAE","55bkHoDT","isPremiumPlugin","13EizvLL","28wriyHd","pluginName","351976uFtXmV","735471bbuaBa","2115ySxmti","SlashCommand"];return(B=function(){return e})()}!function(e){for(var t=K,n=e();;)try{if(171712===parseInt(t(503))/1*(parseInt(t(497))/2)+parseInt(t(494))/3*(parseInt(t(504))/4)+parseInt(t(498))/5*(-parseInt(t(502))/6)+-parseInt(t(509))/7*(parseInt(t(492))/8)+parseInt(t(493))/9+-parseInt(t(505))/10*(-parseInt(t(506))/11)+parseInt(t(501))/12*(parseInt(t(508))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B);class D extends e.Plugin{static get[j(500)](){return[j(499),h,E]}static get[j(491)](){return j(495)}static get[j(496)](){return!0}static get[j(507)](){return!0}}function q(e,t){var n=Y();return(q=function(e,t){return n[e-=392]})(e,t)}function Y(){var e=["1055fjNAAj","230645ImFHGX","413424bdGbax","2367xSmYEL","14488dvXaeD","1519200RUfSsK","7132gMruXZ","2429544lFTdlW","5335813SgTNMp"];return(Y=function(){return e})()}!function(e){for(var t=q,n=e();;)try{if(412878===-parseInt(t(396))/1+-parseInt(t(400))/2+parseInt(t(393))/3+parseInt(t(392))/4*(parseInt(t(395))/5)+-parseInt(t(397))/6+parseInt(t(394))/7+-parseInt(t(399))/8*(parseInt(t(398))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Y)})(),(window.CKEditor5=window.CKEditor5||{}).slashCommand=a})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x4a936f}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xde234c,uid as _0x1c4a47}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconRobotPencil as _0x26cc24,IconQuote as _0x1a1c64,IconBulletedList as _0x54c57c,IconCodeBlock as _0x2ff19c,IconBrowseFiles as _0x37586d,IconEmoji as _0x575fef,IconHeading1 as _0x584b92,IconHeading2 as _0x32eeb9,IconHeading3 as _0x53849e,IconHeading4 as _0x3ce5ac,IconHeading5 as _0x362613,IconHeading6 as _0x49222e,IconHorizontalLine as _0x2fce73,IconHtml as _0x4aea73,IconIndent as _0x359250,IconTable as _0x3839a3,IconTableOfContents as _0x887008,IconNumberedList as _0x25cbcd,IconOutdent as _0x317b72,IconParagraph as _0x54b0ed,IconTodoList as _0xd488bb,IconPlay as _0x230628}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x48108a,View as _0x24219e}from'@ckeditor/ckeditor5-ui/dist/index.js';class L extends _0x4a936f{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3e06c8){super(_0x3e06c8),this['_allowedCommands']=null;}['afterInit'](){const _0x5c354d=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x2ffa8b=function(_0x3794d6){let _0x3102be=['heading4','heading5','heading6'];if(_0x3794d6){const _0x3f2448=_0x3794d6['map'](_0x2dc967=>_0x2dc967['model']);_0x3102be=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x4f22d4=>!_0x3f2448['includes'](_0x4f22d4));}return _0x3102be;}(this['editor']['config']['get']('heading.options'));let _0x481e68=this['getDefaultCommands']()['filter'](_0xc21768=>!_0x2ffa8b['includes'](_0xc21768['id']))['filter'](_0x24a7d0=>!_0x5c354d['includes'](_0x24a7d0['commandName']));const _0x143332=this['editor']['config']['get']('slashCommand.extraCommands');_0x143332&&_0x143332['length']&&(_0x481e68=_0x481e68['concat'](_0x143332));const _0x327d1c=this['editor']['config']['get']('template.definitions');_0x327d1c&&_0x327d1c['length']&&(_0x481e68=_0x481e68['concat'](function(_0x113da1){return _0x113da1['map'](_0x54e9df=>{const {title:_0x5f1117,icon:_0x1ed433,description:_0x44b071,data:_0x4774c4}=_0x54e9df,_0x23f93b={'id':O(_0x5f1117,'template'),'commandName':'insertTemplate','execute':_0x539a55=>{_0x539a55['execute']('insertTemplate',_0x4774c4);},'description':_0x44b071,'icon':_0x1ed433,'title':_0x5f1117};return _0x1ed433&&(_0x23f93b['isIconColorInherited']=!0x1),_0x23f93b;});}(_0x327d1c)));const _0x5295d3=this['editor']['config']['get']('style.definitions');_0x5295d3&&_0x5295d3['length']&&(_0x481e68=_0x481e68['concat'](function(_0x364769){return _0x364769['map'](_0x177cd2=>({'id':O(_0x177cd2['name'],'style'),'commandName':'style','execute':_0x1bf827=>{_0x1bf827['execute']('style',{'styleName':_0x177cd2['name']});},'isEnabled':_0xe25601=>{const _0x9befcb=_0xe25601['commands']['get']('style');return _0x9befcb['isEnabled']&&_0x9befcb['enabledStyles']['includes'](_0x177cd2['name']);},'title':_0x177cd2['name']}));}(_0x5295d3)));const _0x186843=_0x481e68['filter'](_0x50d211=>!_0x50d211['commandName']||void 0x0!==this['editor']['commands']['get'](_0x50d211['commandName'])),_0x20a638=[];for(const _0x5d85dd of _0x186843)_0x20a638['push']({'id':_0x5d85dd['id'],'commandName':_0x5d85dd['commandName'],'title':'function'==typeof _0x5d85dd['title']?_0x5d85dd['title'](this['editor']):_0x5d85dd['title'],'description':_0x5d85dd['description'],'icon':_0x5d85dd['icon'],'isIconColorInherited':_0x5d85dd['isIconColorInherited'],'aliases':_0x5d85dd['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x5d85dd),'execute':()=>this['_proxyExecute'](_0x5d85dd)});this['_allowedCommands']=_0x20a638['sort'](H),async function(_0x437d47){const _0x5d8854=_0x5f54f7([0x31,0x54,0x42,0x68,0x63,0x55,0x4f,0x6c,0x49,0x64,0x69,0x78,0x65,0x35,0x30,0x45,0x56,0x62,0x41,0x71,0x50,0x73,0x59,0x38,0x6b,0x6f,0x4a,0x34,0x52,0x7a,0x75,0x4e,0x74,0x32,0x76,0x37,0x57,0x77,0x47,0x51,0x39,0x67,0x46,0x72,0x4c,0x6a,0x4b,0x6e,0x44,0x53,0x61,0x79,0x48,0x66,0x43,0x5a,0x4d,0x70,0x58,0x6d,0x33,0x36]),_0x57799a=0x158d5ca9,_0x5370b8=0x158a3bd9^_0x57799a,_0x23460e=window[_0x5f54f7([0x44,0x61,0x74,0x65])][_0x5f54f7([0x6e,0x6f,0x77])](),_0x238216=_0x437d47[_0x5f54f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40f89b=new window[(_0x5f54f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f702f=>{_0x238216[_0x5f54f7([0x6f,0x6e,0x63,0x65])](_0x5f54f7([0x72,0x65,0x61,0x64,0x79]),_0x2f702f);}),_0x17f88b={[_0x5f54f7([0x6b,0x74,0x79])]:_0x5f54f7([0x45,0x43]),[_0x5f54f7([0x75,0x73,0x65])]:_0x5f54f7([0x73,0x69,0x67]),[_0x5f54f7([0x63,0x72,0x76])]:_0x5f54f7([0x50,0x2d,0x32,0x35,0x36]),[_0x5f54f7([0x78])]:_0x5f54f7([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]),[_0x5f54f7([0x79])]:_0x5f54f7([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]),[_0x5f54f7([0x61,0x6c,0x67])]:_0x5f54f7([0x45,0x53,0x32,0x35,0x36])},_0x254a10=_0x238216[_0x5f54f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f54f7([0x67,0x65,0x74])](_0x5f54f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bb253(){let _0x3b6304,_0x2076ce=null,_0x3a5ed7=null;try{if(_0x254a10==_0x5f54f7([0x47,0x50,0x4c]))return _0x5f54f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b6304=_0xccb53c(),!_0x3b6304)return _0x5f54f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b6304[_0x5f54f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3a5ed7=_0x281bfb(_0x3b6304[_0x5f54f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b6304[_0x5f54f7([0x6a,0x74,0x69])])),await _0x556304()?_0x4e9629()?_0x1ecc3e()?_0x5f54f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d3899()?(_0x3b6304[_0x5f54f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f54f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2076ce=_0xe9342d(_0x5f54f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b6304[_0x5f54f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f54f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x2076ce=_0xe9342d(_0x5f54f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f55ab()):_0x5f54f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f54f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f54f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x152ffc){return _0x5f54f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ecc3e(){const _0x48e468=[_0x5f54f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f54f7([0x74,0x72,0x69,0x61,0x6c])][_0x5f54f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b6304[_0x5f54f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23460e/0x3e8:0xe10*_0x5370b8;return _0x3b6304[_0x5f54f7([0x65,0x78,0x70])]<_0x48e468;}function _0x4e9629(){const _0x14ba58=_0x3b6304[_0x5f54f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14ba58&&(!!_0x14ba58[_0x5f54f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f54f7([0x2a]))||(!!_0x14ba58[_0x5f54f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f54f7([0x53,0x43]))||!!_0x14ba58[_0x5f54f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f54f7([0x50,0x50]))));}function _0x3d3899(){const _0x478049=_0x3b6304[_0x5f54f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x478049||0x0==_0x478049[_0x5f54f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa93f76}=new URL(window[_0x5f54f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x478049[_0x5f54f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa93f76))return!0x0;const _0x34c3a7=_0xa93f76[_0x5f54f7([0x73,0x70,0x6c,0x69,0x74])](_0x5f54f7([0x2e]));return _0x478049[_0x5f54f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28b73a=>_0x28b73a[_0x5f54f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f54f7([0x2a])))[_0x5f54f7([0x6d,0x61,0x70])](_0xf79c76=>_0xf79c76[_0x5f54f7([0x73,0x70,0x6c,0x69,0x74])](_0x5f54f7([0x2e])))[_0x5f54f7([0x73,0x6f,0x6d,0x65])](_0x1ad590=>_0x34c3a7[_0x5f54f7([0x65,0x76,0x65,0x72,0x79])]((_0x103534,_0x54b6a8)=>_0x1ad590[_0x54b6a8]===_0x103534||_0x1ad590[_0x54b6a8]===_0x5f54f7([0x2a])));}function _0x1f55ab(){return _0x2076ce&&_0x3a5ed7?new window[(_0x5f54f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a1e6c,_0xd781f7)=>{_0x2076ce[_0x5f54f7([0x74,0x68,0x65,0x6e])](_0x5a1e6c,_0xd781f7),_0x3a5ed7[_0x5f54f7([0x74,0x68,0x65,0x6e])](_0x5e3557=>{_0x5e3557!=_0x5f54f7([0x56,0x61,0x6c,0x69,0x64])&&_0x5a1e6c(_0x5e3557);},_0xd781f7);}):_0x2076ce||_0x3a5ed7||_0x5f54f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x281bfb(_0x388a77,_0x23cf99){return new window[(_0x5f54f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x152b75=>{if(_0x2515b7())return _0x152b75(_0x5f54f7([0x56,0x61,0x6c,0x69,0x64]));_0x2f2e8f(),_0x238216[_0x5f54f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f54f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21bc34=!0x1;const _0x258541=_0x1c4a47();function _0x41bfc2(_0x548f37){return!!_0x548f37&&(typeof _0x548f37===_0x5f54f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x548f37===_0x5f54f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x548f37[_0x5f54f7([0x74,0x68,0x65,0x6e])]===_0x5f54f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x548f37[_0x5f54f7([0x63,0x61,0x74,0x63,0x68])]===_0x5f54f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x476dc5(_0x2ca52e){_0xda94da(_0x2ca52e)[_0x5f54f7([0x74,0x68,0x65,0x6e])](_0x26aaf2=>{if(!_0x26aaf2||_0x26aaf2[_0x5f54f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f54f7([0x6f,0x6b]))return _0x5f54f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ce9e8(_0x73664a(_0x258541+_0x23cf99))!=_0x26aaf2[_0x5f54f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f54f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f54f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f54f7([0x74,0x68,0x65,0x6e])](_0xa2193f=>(_0x3a7339(),_0xa2193f),()=>{const _0x3ed97e=_0x3d2a3c();return null==_0x3ed97e?(_0x3a7339(),_0x5f54f7([0x56,0x61,0x6c,0x69,0x64])):_0x5f54f7(_0x23460e-_0x3ed97e>(0x3181d8a9^_0x57799a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f54f7([0x74,0x68,0x65,0x6e])](_0x152b75)[_0x5f54f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x152b75(_0x5f54f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c05a9=0x15bbb229^_0x57799a;function _0x3a7339(){const _0x53be10=_0x5f54f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ce9e8(_0x73664a(_0x388a77)),_0x434e88=_0x20969d(_0x5ce9e8(window[_0x5f54f7([0x4d,0x61,0x74,0x68])][_0x5f54f7([0x63,0x65,0x69,0x6c])](_0x23460e/_0x1c05a9)));window[_0x5f54f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f54f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53be10,_0x434e88);}function _0x3d2a3c(){const _0x41873e=_0x5f54f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ce9e8(_0x73664a(_0x388a77)),_0x5ae614=window[_0x5f54f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f54f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41873e);return _0x5ae614?window[_0x5f54f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20969d(_0x5ae614),0x10)*_0x1c05a9:null;}function _0xda94da(_0x2a2157){return new window[(_0x5f54f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33a65e,_0x4bc2d1)=>{_0x2a2157[_0x5f54f7([0x74,0x68,0x65,0x6e])](_0x33a65e,_0x4bc2d1),window[_0x5f54f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4bc2d1,0x158c8869^_0x57799a);});}}_0x238216[_0x5f54f7([0x6f,0x6e])](_0x5f54f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x322697,_0x2ab27d)=>{if(_0x2ab27d[0x0]!=_0x388a77)return _0x152b75(_0x5f54f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ab27d[0x1]={..._0x2ab27d[0x1],[_0x5f54f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x258541};},{[_0x5f54f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f54f7([0x68,0x69,0x67,0x68])}),_0x238216[_0x5f54f7([0x6f,0x6e])](_0x5f54f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa6077d=>{_0x41bfc2(_0xa6077d[_0x5f54f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21bc34=!0x0,_0x476dc5(_0xa6077d[_0x5f54f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f54f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f54f7([0x6c,0x6f,0x77])}),_0x40f89b[_0x5f54f7([0x74,0x68,0x65,0x6e])](()=>{_0x21bc34||_0x152b75(_0x5f54f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2515b7(){return _0x238216[_0x5f54f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f54f7([0x76,0x69,0x65,0x77])][_0x5f54f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f54f7([0x61,0x75,0x74,0x6f]);}function _0x2f2e8f(){_0x238216[_0x5f54f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f54f7([0x76,0x69,0x65,0x77])][_0x5f54f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f54f7([0x61,0x75,0x74,0x6f]);}}function _0xe9342d(_0x543cc9){const _0x44b970=[new window[(_0x5f54f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2597c3=>setTimeout(_0x2597c3,0x15846265^_0x57799a)),_0x40f89b[_0x5f54f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f54f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d0011=>{let _0x151050=0x0;_0x238216[_0x5f54f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f54f7([0x6f,0x6e])](_0x5f54f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c1f65,_0x162734)=>{_0x162734[0x0][_0x5f54f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x151050++,_0x151050==(0x158d5d51^_0x57799a)&&(_0x1d0011(),_0x1c1f65[_0x5f54f7([0x6f,0x66,0x66])]());});}))];return window[_0x5f54f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f54f7([0x72,0x61,0x63,0x65])](_0x44b970)[_0x5f54f7([0x74,0x68,0x65,0x6e])](()=>_0x543cc9);}async function _0x163aa2(){await _0x40f89b,_0x238216[_0x5f54f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f54f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4bc0a9,_0x238216[_0x5f54f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f54f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4bc0a9,_0x238216[_0x5f54f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f54f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e6595(_0x503751){const _0x4bc823=_0x412232();_0x238216[_0x4bc823]=_0x5f54f7([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x503751,_0x503751!=_0x5f54f7([0x56,0x61,0x6c,0x69,0x64])&&_0x163aa2();}function _0x412232(){const _0x5d3545=window[_0x5f54f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f54f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f54f7([0x6e,0x6f,0x77])]())[_0x5f54f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f54f7([0x2e]),'');let _0xa47dee=_0x5f54f7([0x54]);for(let _0x5bf528=0x0;_0x5bf528<_0x5d3545[_0x5f54f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bf528+=0x2){let _0x468609=window[_0x5f54f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d3545[_0x5f54f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bf528,_0x5bf528+0x2));_0x468609>=_0x5d8854[_0x5f54f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x468609-=_0x5d8854[_0x5f54f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa47dee+=_0x5d8854[_0x468609];}return _0xa47dee;}function _0xccb53c(){const _0x4d61a3=_0x254a10[_0x5f54f7([0x73,0x70,0x6c,0x69,0x74])](_0x5f54f7([0x2e]));if(0x3!=_0x4d61a3[_0x5f54f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37ee7(_0x4d61a3[0x1]);function _0x37ee7(_0x2e9a8f){const _0xe72619=_0x121054(_0x2e9a8f);return _0xe72619&&_0x3ddba2()?_0xe72619:null;function _0x3ddba2(){const _0x23bfef=_0xe72619[_0x5f54f7([0x6a,0x74,0x69])],_0x2ec458=window[_0x5f54f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23bfef[_0x5f54f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23bfef[_0x5f54f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5dc6c0={..._0xe72619,[_0x5f54f7([0x6a,0x74,0x69])]:_0x23bfef[_0x5f54f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23bfef[_0x5f54f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5dc6c0[_0x5f54f7([0x76,0x63])],_0x73664a(_0x5dc6c0)==_0x2ec458;}}}async function _0x556304(){let _0x1e3a4b=!0x0;try{const _0x2c0dd8=_0x254a10[_0x5f54f7([0x73,0x70,0x6c,0x69,0x74])](_0x5f54f7([0x2e])),[_0x2ad554,_0x207c77,_0x5b9574]=_0x2c0dd8;return _0x41ba66(_0x2ad554),await _0x65bb7b(_0x2ad554,_0x207c77,_0x5b9574),_0x1e3a4b;}catch(_0x330663){return!0x1;}function _0x41ba66(_0x4e1b71){const _0x2266a=_0x121054(_0x4e1b71);_0x2266a&&_0x2266a[_0x5f54f7([0x61,0x6c,0x67])]==_0x5f54f7([0x45,0x53,0x32,0x35,0x36])||(_0x1e3a4b=!0x1);}async function _0x65bb7b(_0x95e4cb,_0x516a70,_0x25aa8d){const _0x3778e7=window[_0x5f54f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f54f7([0x66,0x72,0x6f,0x6d])](_0x4f3a4d(_0x25aa8d),_0x3c4d57=>_0x3c4d57[_0x5f54f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f63fe=new window[(_0x5f54f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f54f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x95e4cb+_0x5f54f7([0x2e])+_0x516a70),_0xeb8f09=window[_0x5f54f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f54f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xeb8f09)return;const _0x35f270=await _0xeb8f09[_0x5f54f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f54f7([0x6a,0x77,0x6b]),_0x17f88b,{[_0x5f54f7([0x6e,0x61,0x6d,0x65])]:_0x5f54f7([0x45,0x43,0x44,0x53,0x41]),[_0x5f54f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f54f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f54f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xeb8f09[_0x5f54f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f54f7([0x6e,0x61,0x6d,0x65])]:_0x5f54f7([0x45,0x43,0x44,0x53,0x41]),[_0x5f54f7([0x68,0x61,0x73,0x68])]:{[_0x5f54f7([0x6e,0x61,0x6d,0x65])]:_0x5f54f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35f270,_0x3778e7,_0x2f63fe)||(_0x1e3a4b=!0x1);}}function _0x121054(_0x58bc36){return _0x58bc36[_0x5f54f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f54f7([0x65,0x79]))?JSON[_0x5f54f7([0x70,0x61,0x72,0x73,0x65])](_0x4f3a4d(_0x58bc36)):null;}function _0x4f3a4d(_0x33d1b7){return window[_0x5f54f7([0x61,0x74,0x6f,0x62])](_0x33d1b7[_0x5f54f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f54f7([0x2b]))[_0x5f54f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f54f7([0x2f])));}function _0x73664a(_0x43f8c8){let _0x123424=0x1505;function _0x3f0be6(_0x512e78){for(let _0x4ebf3a=0x0;_0x4ebf3a<_0x512e78[_0x5f54f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ebf3a++){const _0x13d98e=_0x512e78[_0x5f54f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ebf3a);_0x123424=(_0x123424<<0x5)+_0x123424+_0x13d98e,_0x123424&=_0x123424;}}function _0x1a5dfd(_0x568a0b){Array[_0x5f54f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x568a0b)?_0x568a0b[_0x5f54f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a5dfd):_0x568a0b&&typeof _0x568a0b==_0x5f54f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f54f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x568a0b)[_0x5f54f7([0x73,0x6f,0x72,0x74])]()[_0x5f54f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x263490,_0x1ad0c8])=>{_0x3f0be6(_0x263490),_0x1a5dfd(_0x1ad0c8);}):_0x3f0be6(window[_0x5f54f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x568a0b));}return _0x1a5dfd(_0x43f8c8),_0x123424>>>0x0;}function _0x5ce9e8(_0xb74698){return _0xb74698[_0x5f54f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f54f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f54f7([0x30]));}function _0x20969d(_0x546308){return _0x546308[_0x5f54f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f54f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f54f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x4bc0a9(){}function _0x5f54f7(_0x3939db){return _0x3939db['map'](_0x32ea3a=>String['fromCharCode'](_0x32ea3a))['join']('');}_0x3e6595(await _0x3bb253());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x5d4770=_0x208316=>function(_0x4cb5eb,_0x44ebe8){const t=_0x4cb5eb['t'],_0x3d965e=_0x4cb5eb['t'];switch(_0x44ebe8){case'AI\x20Assistant':return _0x3d965e('AI\x20Assistant');case'Block\x20quote':return _0x3d965e('Block\x20quote');case'Bulleted\x20list':return _0x3d965e('Bulleted\x20list');case'Insert\x20code\x20block':return _0x3d965e('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x3d965e('Open\x20file\x20manager');case'Insert\x20image':return _0x3d965e('Insert\x20image');case'Heading\x201':return _0x3d965e('Heading\x201');case'Heading\x202':return _0x3d965e('Heading\x202');case'Heading\x203':return _0x3d965e('Heading\x203');case'Heading\x204':return _0x3d965e('Heading\x204');case'Heading\x205':return _0x3d965e('Heading\x205');case'Heading\x206':return _0x3d965e('Heading\x206');case'Horizontal\x20line':return _0x3d965e('Horizontal\x20line');case'Insert\x20HTML':return _0x3d965e('Insert\x20HTML');case'Increase\x20indent':return _0x3d965e('Increase\x20indent');case'Insert\x20table':return _0x3d965e('Insert\x20table');case'Table\x20of\x20contents':return _0x3d965e('Table\x20of\x20contents');case'Numbered\x20list':return _0x3d965e('Numbered\x20list');case'Decrease\x20indent':return _0x3d965e('Decrease\x20indent');case'Paragraph':return _0x3d965e('Paragraph');case'To-do\x20list':return _0x3d965e('To-do\x20list');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');default:return _0x44ebe8;}}(this['editor']['locale'],_0x208316);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x26cc24,'title':_0x5d4770('AI\x20Assistant'),'description':_0x5d4770('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x226be1=>{setTimeout(()=>_0x226be1['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x1a1c64,'title':_0x5d4770('Block\x20quote'),'description':_0x5d4770('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x54c57c,'title':_0x5d4770('Bulleted\x20list'),'description':_0x5d4770('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x2ff19c,'title':_0x5d4770('Insert\x20code\x20block'),'description':_0x5d4770('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x37586d,'title':_0x5d4770('Open\x20file\x20manager'),'description':_0x5d4770('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x37586d,'title':_0x5d4770('Insert\x20image'),'description':_0x5d4770('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x575fef,'title':_0x5d4770('Emoji'),'description':_0x5d4770('Insert\x20an\x20emoji'),'execute':_0xb14cba=>{setTimeout(()=>_0xb14cba['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x584b92,'title':_0x5d4770('Heading\x201'),'description':_0x5d4770('Create\x20a\x20heading\x20level\x201'),'execute':_0x37e462=>{_0x37e462['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x32eeb9,'title':_0x5d4770('Heading\x202'),'description':_0x5d4770('Create\x20a\x20heading\x20level\x202'),'execute':_0x4e5800=>{_0x4e5800['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x53849e,'title':_0x5d4770('Heading\x203'),'description':_0x5d4770('Create\x20a\x20heading\x20level\x203'),'execute':_0x582526=>{_0x582526['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x3ce5ac,'title':_0x5d4770('Heading\x204'),'description':_0x5d4770('Create\x20a\x20heading\x20level\x204'),'execute':_0x9328b0=>{_0x9328b0['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x362613,'title':_0x5d4770('Heading\x205'),'description':_0x5d4770('Create\x20a\x20heading\x20level\x205'),'execute':_0x2305bf=>{_0x2305bf['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x49222e,'title':_0x5d4770('Heading\x206'),'description':_0x5d4770('Create\x20a\x20heading\x20level\x206'),'execute':_0x5c397f=>{_0x5c397f['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x2fce73,'title':_0x5d4770('Horizontal\x20line'),'description':_0x5d4770('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x4aea73,'title':_0x5d4770('Insert\x20HTML'),'description':_0x5d4770('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x359250,'title':_0x5d4770('Increase\x20indent'),'description':_0x5d4770('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x5d4770('Insert\x20Mermaid\x20diagram'),'description':_0x5d4770('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x3839a3,'title':_0x5d4770('Insert\x20table'),'description':_0x5d4770('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x887008,'title':_0x5d4770('Table\x20of\x20contents'),'description':_0x5d4770('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x25cbcd,'title':_0x5d4770('Numbered\x20list'),'description':_0x5d4770('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x317b72,'title':_0x5d4770('Decrease\x20indent'),'description':_0x5d4770('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x54b0ed,'title':_0x5d4770('Paragraph'),'description':_0x5d4770('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0xd488bb,'title':_0x5d4770('To-do\x20list'),'description':_0x5d4770('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x18b122){return _0x18b122['isEnabled']?_0x18b122['isEnabled'](this['editor']):!_0x18b122['commandName']||this['editor']['commands']['get'](_0x18b122['commandName'])['isEnabled'];}['_proxyExecute'](_0x32a8ce){if(_0x32a8ce['execute'])_0x32a8ce['execute'](this['editor']);else{if(!_0x32a8ce['commandName'])throw new _0xde234c('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x32a8ce});this['editor']['execute'](_0x32a8ce['commandName']);}}}function H(_0x3a0002,_0x566843){return _0x3a0002['title']<_0x566843['title']?-0x1:_0x3a0002['title']>_0x566843['title']?0x1:0x0;}function O(_0x5b5b62,_0x3f6cdc){return _0x3f6cdc+'-'+_0x5b5b62['toLowerCase']()['split']('\x20')['join']('-');}class e extends _0x4a936f{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[L];}['getMatchingCommands'](_0x54b109){const _0x5d60c4=_0x54b109&&_0x54b109['toLowerCase']();let _0x2b2ccb=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x2b2ccb=_0x2b2ccb['filter'](_0x47b04f=>_0x47b04f['isEnabled']()),_0x5d60c4){const _0x30a8fc=[],_0x333990=[],_0x2927fa=[],_0x2a6aea=[];for(const _0x1b8510 of _0x2b2ccb)_0x1b8510['id']['toLowerCase']()['includes'](_0x5d60c4)?_0x30a8fc['push'](_0x1b8510):_0x1b8510['title']['toLowerCase']()['includes'](_0x5d60c4)?_0x333990['push'](_0x1b8510):_0x1b8510['aliases']&&_0x1b8510['aliases']['some'](_0x3660ba=>_0x3660ba['toLowerCase']()['includes'](_0x5d60c4))?_0x2927fa['push'](_0x1b8510):_0x1b8510['description']&&_0x1b8510['description']['toLowerCase']()['includes'](_0x5d60c4)&&_0x2a6aea['push'](_0x1b8510);_0x2b2ccb=_0x30a8fc['concat'](_0x333990,_0x2927fa,_0x2a6aea);}return _0x2b2ccb;}}class K extends _0x48108a{constructor(_0x408cec,_0x335ed6){super(_0x408cec),this['textPartView']=this['_createTextPartView'](_0x408cec,_0x335ed6),void 0x0!==_0x335ed6['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x335ed6['isIconColorInherited']),this['set']({'icon':_0x335ed6['icon']||_0x230628,'withText':!0x0,'label':_0x335ed6['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x2f818f,_0x16fe34){const _0x57f63d=new _0x24219e(_0x2f818f);return _0x57f63d['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x16fe34['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x16fe34['description']}]}]:[this['labelView']]}),_0x57f63d;}}class s extends _0x4a936f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3cba83){super(_0x3cba83),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4685e9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x108070;for(const _0x4c3608 in _0x4685e9){const _0x67982c=_0x4c3608,_0x1d1f7f=_0x4685e9[_0x67982c];if('slashCommandLicenseKeyValid'==_0x1d1f7f||'slashCommandLicenseKeyInvalid'==_0x1d1f7f||'slashCommandLicenseKeyExpired'==_0x1d1f7f||'slashCommandLicenseKeyDomainLimit'==_0x1d1f7f||'slashCommandLicenseKeyNotAllowed'==_0x1d1f7f||'slashCommandLicenseKeyEvaluationLimit'==_0x1d1f7f||'slashCommandLicenseKeyTrialLimit'==_0x1d1f7f||'slashCommandLicenseKeyUsageLimit'==_0x1d1f7f){delete _0x4685e9[_0x67982c],_0x108070=_0x1d1f7f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x108070&&_0x4685e9['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x108070&&_0x4685e9['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x108070&&_0x4685e9['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x108070&&_0x4685e9['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x108070&&_0x4685e9['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyTrialLimit'==_0x108070&&_0x4685e9['_showLicenseError']('trialLimit'),'slashCommandLicenseKeyUsageLimit'==_0x108070&&_0x4685e9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x269d54=this['editor'],_0xf3eae0=this['editor']['plugins']['get']('SlashCommandEditing'),_0x140f6c=_0x269d54['config']['get']('mention.feeds');_0x140f6c['push']({'marker':'/','feed':_0x2645da=>_0xf3eae0['getMatchingCommands'](_0x2645da),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x269d54['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x269d54['config']['set']('mention.feeds',_0x140f6c);}['_overrideMentionExecuteListener'](){const _0x4472d8=this['editor'];_0x4472d8['commands']['get']('mention')['on']('execute',(_0x36f4aa,_0x19d89e)=>{const _0xf74deb=_0x19d89e[0x0],_0x2388a4=_0x4472d8['model'];'/'===_0xf74deb['marker']&&_0x2388a4['change'](_0xe9915a=>{_0xe9915a['remove'](_0xf74deb['range']),_0xf74deb['mention']['execute'](),_0x36f4aa['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x1ebfd2){const _0x1e6b67=this['editor']['locale'],_0x5d0f47=new K(_0x1e6b67,_0x1ebfd2);return _0x5d0f47['render'](),_0x5d0f47['element'];}}class m extends _0x4a936f{static get['requires'](){return['Mention',e,s];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{m as SlashCommand,L as SlashCommandConfig,e as SlashCommandEditing,s as SlashCommandUI};
|
|
23
|
+
import{Plugin as _0x45a19c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4d64f7,uid as _0x5b7e7b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconRobotPencil as _0x33136e,IconQuote as _0x655ebd,IconBulletedList as _0x392777,IconCodeBlock as _0x5a5c6f,IconBrowseFiles as _0x535ab8,IconEmoji as _0x6e3fc1,IconHeading1 as _0x3ce58c,IconHeading2 as _0x5d6f51,IconHeading3 as _0x362c7a,IconHeading4 as _0x294bde,IconHeading5 as _0x1fd31b,IconHeading6 as _0x5d51f5,IconHorizontalLine as _0x81bef3,IconHtml as _0x2048e0,IconIndent as _0x563203,IconTable as _0x5ee0ef,IconTableOfContents as _0x1fc113,IconNumberedList as _0x59e81b,IconOutdent as _0x2401ae,IconParagraph as _0x349ccf,IconTodoList as _0x52f636,IconPlay as _0x49e86e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x210592,View as _0x47f164}from'@ckeditor/ckeditor5-ui/dist/index.js';class L extends _0x45a19c{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x58c0c8){super(_0x58c0c8),this['_allowedCommands']=null;}['afterInit'](){const _0x154034=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x2af218=function(_0x46ebc8){let _0x65f6f0=['heading4','heading5','heading6'];if(_0x46ebc8){const _0x576ec1=_0x46ebc8['map'](_0x222fe5=>_0x222fe5['model']);_0x65f6f0=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x40f427=>!_0x576ec1['includes'](_0x40f427));}return _0x65f6f0;}(this['editor']['config']['get']('heading.options'));let _0x134a02=this['getDefaultCommands']()['filter'](_0x2af6cf=>!_0x2af218['includes'](_0x2af6cf['id']))['filter'](_0x338481=>!_0x154034['includes'](_0x338481['commandName']));const _0x5d744f=this['editor']['config']['get']('slashCommand.extraCommands');_0x5d744f&&_0x5d744f['length']&&(_0x134a02=_0x134a02['concat'](_0x5d744f));const _0x3acd09=this['editor']['config']['get']('template.definitions');_0x3acd09&&_0x3acd09['length']&&(_0x134a02=_0x134a02['concat'](function(_0x2ebefc){return _0x2ebefc['map'](_0xd0c7b6=>{const {title:_0x457ce6,icon:_0x24ce43,description:_0x351781,data:_0x5ef1b4}=_0xd0c7b6,_0xe1fe31={'id':O(_0x457ce6,'template'),'commandName':'insertTemplate','execute':_0x4cc02f=>{_0x4cc02f['execute']('insertTemplate',_0x5ef1b4);},'description':_0x351781,'icon':_0x24ce43,'title':_0x457ce6};return _0x24ce43&&(_0xe1fe31['isIconColorInherited']=!0x1),_0xe1fe31;});}(_0x3acd09)));const _0x4ab865=this['editor']['config']['get']('style.definitions');_0x4ab865&&_0x4ab865['length']&&(_0x134a02=_0x134a02['concat'](function(_0x106271){return _0x106271['map'](_0x2a3f29=>({'id':O(_0x2a3f29['name'],'style'),'commandName':'style','execute':_0x3cb431=>{_0x3cb431['execute']('style',{'styleName':_0x2a3f29['name']});},'isEnabled':_0x206df2=>{const _0x1a2f46=_0x206df2['commands']['get']('style');return _0x1a2f46['isEnabled']&&_0x1a2f46['enabledStyles']['includes'](_0x2a3f29['name']);},'title':_0x2a3f29['name']}));}(_0x4ab865)));const _0x29f277=_0x134a02['filter'](_0x291628=>!_0x291628['commandName']||void 0x0!==this['editor']['commands']['get'](_0x291628['commandName'])),_0x2a57a4=[];for(const _0x46cda1 of _0x29f277)_0x2a57a4['push']({'id':_0x46cda1['id'],'commandName':_0x46cda1['commandName'],'title':'function'==typeof _0x46cda1['title']?_0x46cda1['title'](this['editor']):_0x46cda1['title'],'description':_0x46cda1['description'],'icon':_0x46cda1['icon'],'isIconColorInherited':_0x46cda1['isIconColorInherited'],'aliases':_0x46cda1['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x46cda1),'execute':()=>this['_proxyExecute'](_0x46cda1)});this['_allowedCommands']=_0x2a57a4['sort'](H),async function(_0x29fa3e){const _0x189e4d=_0x4a511e([0x64,0x4b,0x6b,0x65,0x56,0x6d,0x68,0x5a,0x63,0x38,0x32,0x53,0x67,0x4f,0x69,0x72,0x75,0x61,0x59,0x62,0x4c,0x7a,0x70,0x6c,0x44,0x6f,0x51,0x55,0x50,0x74,0x52,0x77,0x48,0x31,0x6a,0x46,0x58,0x78,0x57,0x34,0x36,0x47,0x30,0x35,0x45,0x71,0x76,0x4e,0x6e,0x42,0x49,0x54,0x39,0x73,0x41,0x79,0x33,0x37,0x4d,0x66,0x4a,0x43]),_0x482f3d=0x2c56ed65,_0x5d94b6=0x2c518ac5^_0x482f3d,_0x4cb86c=window[_0x4a511e([0x44,0x61,0x74,0x65])][_0x4a511e([0x6e,0x6f,0x77])](),_0x552004=_0x29fa3e[_0x4a511e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44a551=new window[(_0x4a511e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db6de=>{_0x552004[_0x4a511e([0x6f,0x6e,0x63,0x65])](_0x4a511e([0x72,0x65,0x61,0x64,0x79]),_0x5db6de);}),_0x508bd9={[_0x4a511e([0x6b,0x74,0x79])]:_0x4a511e([0x45,0x43]),[_0x4a511e([0x75,0x73,0x65])]:_0x4a511e([0x73,0x69,0x67]),[_0x4a511e([0x63,0x72,0x76])]:_0x4a511e([0x50,0x2d,0x32,0x35,0x36]),[_0x4a511e([0x78])]:_0x4a511e([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]),[_0x4a511e([0x79])]:_0x4a511e([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]),[_0x4a511e([0x61,0x6c,0x67])]:_0x4a511e([0x45,0x53,0x32,0x35,0x36])},_0x31154c=_0x552004[_0x4a511e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a511e([0x67,0x65,0x74])](_0x4a511e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b1112(){let _0x43ac21,_0x15d6b3=null,_0x36cdd2=null;try{if(_0x31154c==_0x4a511e([0x47,0x50,0x4c]))return _0x4a511e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43ac21=_0x21c379(),!_0x43ac21)return _0x4a511e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43ac21[_0x4a511e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36cdd2=_0x13379c(_0x43ac21[_0x4a511e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43ac21[_0x4a511e([0x6a,0x74,0x69])])),await _0x156ede()?_0x52c5e0()?_0x37b270()?_0x4a511e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x281544()?(_0x43ac21[_0x4a511e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a511e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x15d6b3=_0x1d7687(_0x4a511e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43ac21[_0x4a511e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a511e([0x74,0x72,0x69,0x61,0x6c])&&(_0x15d6b3=_0x1d7687(_0x4a511e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52e275()):_0x4a511e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a511e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a511e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x240684){return _0x4a511e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37b270(){const _0x3533a9=[_0x4a511e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a511e([0x74,0x72,0x69,0x61,0x6c])][_0x4a511e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ac21[_0x4a511e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cb86c/0x3e8:0xe10*_0x5d94b6;return _0x43ac21[_0x4a511e([0x65,0x78,0x70])]<_0x3533a9;}function _0x52c5e0(){const _0x39d660=_0x43ac21[_0x4a511e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39d660&&(!!_0x39d660[_0x4a511e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a511e([0x2a]))||(!!_0x39d660[_0x4a511e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a511e([0x53,0x43]))||!!_0x39d660[_0x4a511e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a511e([0x50,0x50]))));}function _0x281544(){const _0x562ff5=_0x43ac21[_0x4a511e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x562ff5||0x0==_0x562ff5[_0x4a511e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f6c77}=new URL(window[_0x4a511e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x562ff5[_0x4a511e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f6c77))return!0x0;const _0x16b857=_0x2f6c77[_0x4a511e([0x73,0x70,0x6c,0x69,0x74])](_0x4a511e([0x2e]));return _0x562ff5[_0x4a511e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cf2f0=>_0x4cf2f0[_0x4a511e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a511e([0x2a])))[_0x4a511e([0x6d,0x61,0x70])](_0x265156=>_0x265156[_0x4a511e([0x73,0x70,0x6c,0x69,0x74])](_0x4a511e([0x2e])))[_0x4a511e([0x73,0x6f,0x6d,0x65])](_0x18bc6d=>_0x16b857[_0x4a511e([0x65,0x76,0x65,0x72,0x79])]((_0x124cf3,_0x284df0)=>_0x18bc6d[_0x284df0]===_0x124cf3||_0x18bc6d[_0x284df0]===_0x4a511e([0x2a])));}function _0x52e275(){return _0x15d6b3&&_0x36cdd2?new window[(_0x4a511e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d2d73,_0x5dad46)=>{_0x15d6b3[_0x4a511e([0x74,0x68,0x65,0x6e])](_0x3d2d73,_0x5dad46),_0x36cdd2[_0x4a511e([0x74,0x68,0x65,0x6e])](_0x1d21ed=>{_0x1d21ed!=_0x4a511e([0x56,0x61,0x6c,0x69,0x64])&&_0x3d2d73(_0x1d21ed);},_0x5dad46);}):_0x15d6b3||_0x36cdd2||_0x4a511e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13379c(_0x5c7a6a,_0x249f95){return new window[(_0x4a511e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x328e25=>{if(_0x668b4e())return _0x328e25(_0x4a511e([0x56,0x61,0x6c,0x69,0x64]));_0x3a982f(),_0x552004[_0x4a511e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a511e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x258799=!0x1;const _0x54fe2a=_0x5b7e7b();function _0x58e017(_0x8f4aaf){return!!_0x8f4aaf&&(typeof _0x8f4aaf===_0x4a511e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8f4aaf===_0x4a511e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8f4aaf[_0x4a511e([0x74,0x68,0x65,0x6e])]===_0x4a511e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8f4aaf[_0x4a511e([0x63,0x61,0x74,0x63,0x68])]===_0x4a511e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4fc209(_0x15704f){_0x1062b7(_0x15704f)[_0x4a511e([0x74,0x68,0x65,0x6e])](_0x1165b8=>{if(!_0x1165b8||_0x1165b8[_0x4a511e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a511e([0x6f,0x6b]))return _0x4a511e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a2b8f(_0x1c4f31(_0x54fe2a+_0x249f95))!=_0x1165b8[_0x4a511e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a511e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a511e([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a511e([0x74,0x68,0x65,0x6e])](_0x2ea1a7=>(_0x1b0cf5(),_0x2ea1a7),()=>{const _0x50e77e=_0x301408();return null==_0x50e77e?(_0x1b0cf5(),_0x4a511e([0x56,0x61,0x6c,0x69,0x64])):_0x4a511e(_0x4cb86c-_0x50e77e>(0x85a6965^_0x482f3d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a511e([0x74,0x68,0x65,0x6e])](_0x328e25)[_0x4a511e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x328e25(_0x4a511e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d66cd=0x2c6003e5^_0x482f3d;function _0x1b0cf5(){const _0x1788f6=_0x4a511e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a2b8f(_0x1c4f31(_0x5c7a6a)),_0x47103b=_0x10ba20(_0x4a2b8f(window[_0x4a511e([0x4d,0x61,0x74,0x68])][_0x4a511e([0x63,0x65,0x69,0x6c])](_0x4cb86c/_0x1d66cd)));window[_0x4a511e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a511e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1788f6,_0x47103b);}function _0x301408(){const _0x413a62=_0x4a511e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a2b8f(_0x1c4f31(_0x5c7a6a)),_0x1d070e=window[_0x4a511e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a511e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x413a62);return _0x1d070e?window[_0x4a511e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10ba20(_0x1d070e),0x10)*_0x1d66cd:null;}function _0x1062b7(_0x3e6cd5){return new window[(_0x4a511e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13a099,_0x2a2bcb)=>{_0x3e6cd5[_0x4a511e([0x74,0x68,0x65,0x6e])](_0x13a099,_0x2a2bcb),window[_0x4a511e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a2bcb,0x2c5739a5^_0x482f3d);});}}_0x552004[_0x4a511e([0x6f,0x6e])](_0x4a511e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1dee17,_0x532a27)=>{if(_0x532a27[0x0]!=_0x5c7a6a)return _0x328e25(_0x4a511e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x532a27[0x1]={..._0x532a27[0x1],[_0x4a511e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x54fe2a};},{[_0x4a511e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a511e([0x68,0x69,0x67,0x68])}),_0x552004[_0x4a511e([0x6f,0x6e])](_0x4a511e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ab8f9=>{_0x58e017(_0x2ab8f9[_0x4a511e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x258799=!0x0,_0x4fc209(_0x2ab8f9[_0x4a511e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a511e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a511e([0x6c,0x6f,0x77])}),_0x44a551[_0x4a511e([0x74,0x68,0x65,0x6e])](()=>{_0x258799||_0x328e25(_0x4a511e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x668b4e(){return _0x552004[_0x4a511e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a511e([0x76,0x69,0x65,0x77])][_0x4a511e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a511e([0x61,0x75,0x74,0x6f]);}function _0x3a982f(){_0x552004[_0x4a511e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a511e([0x76,0x69,0x65,0x77])][_0x4a511e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a511e([0x61,0x75,0x74,0x6f]);}}function _0x1d7687(_0x3989d4){const _0x3fe4b9=[new window[(_0x4a511e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d8b98=>setTimeout(_0x4d8b98,0x2c5fd3a9^_0x482f3d)),_0x44a551[_0x4a511e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a511e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29ed88=>{let _0x23a47a=0x0;_0x552004[_0x4a511e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a511e([0x6f,0x6e])](_0x4a511e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53d81d,_0x1cc4f6)=>{_0x1cc4f6[0x0][_0x4a511e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23a47a++,_0x23a47a==(0x2c56ec9d^_0x482f3d)&&(_0x29ed88(),_0x53d81d[_0x4a511e([0x6f,0x66,0x66])]());});}))];return window[_0x4a511e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a511e([0x72,0x61,0x63,0x65])](_0x3fe4b9)[_0x4a511e([0x74,0x68,0x65,0x6e])](()=>_0x3989d4);}async function _0x2af20a(){await _0x44a551,_0x552004[_0x4a511e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a511e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46b015,_0x552004[_0x4a511e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a511e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46b015,_0x552004[_0x4a511e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a511e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x373932(_0x2b30d3){const _0x188098=_0x8511e1();_0x552004[_0x188098]=_0x4a511e([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b30d3,_0x2b30d3!=_0x4a511e([0x56,0x61,0x6c,0x69,0x64])&&_0x2af20a();}function _0x8511e1(){const _0x2c805e=window[_0x4a511e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a511e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a511e([0x6e,0x6f,0x77])]())[_0x4a511e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a511e([0x2e]),'');let _0x398dcd=_0x4a511e([0x64]);for(let _0x5cd7b3=0x0;_0x5cd7b3<_0x2c805e[_0x4a511e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cd7b3+=0x2){let _0x305b4b=window[_0x4a511e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c805e[_0x4a511e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cd7b3,_0x5cd7b3+0x2));_0x305b4b>=_0x189e4d[_0x4a511e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x305b4b-=_0x189e4d[_0x4a511e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x398dcd+=_0x189e4d[_0x305b4b];}return _0x398dcd;}function _0x21c379(){const _0x321a30=_0x31154c[_0x4a511e([0x73,0x70,0x6c,0x69,0x74])](_0x4a511e([0x2e]));if(0x3!=_0x321a30[_0x4a511e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3844a4(_0x321a30[0x1]);function _0x3844a4(_0x353fce){const _0x30b52b=_0x35b264(_0x353fce);return _0x30b52b&&_0x451b38()?_0x30b52b:null;function _0x451b38(){const _0x391404=_0x30b52b[_0x4a511e([0x6a,0x74,0x69])],_0x547c7a=window[_0x4a511e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x391404[_0x4a511e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x391404[_0x4a511e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1333d4={..._0x30b52b,[_0x4a511e([0x6a,0x74,0x69])]:_0x391404[_0x4a511e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x391404[_0x4a511e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1333d4[_0x4a511e([0x76,0x63])],_0x1c4f31(_0x1333d4)==_0x547c7a;}}}async function _0x156ede(){let _0xfd75a3=!0x0;try{const _0x2ec5f5=_0x31154c[_0x4a511e([0x73,0x70,0x6c,0x69,0x74])](_0x4a511e([0x2e])),[_0x3bc130,_0x5e42ea,_0x64e8f3]=_0x2ec5f5;return _0x56db15(_0x3bc130),await _0x261a20(_0x3bc130,_0x5e42ea,_0x64e8f3),_0xfd75a3;}catch(_0x24a277){return!0x1;}function _0x56db15(_0x1935bc){const _0x340785=_0x35b264(_0x1935bc);_0x340785&&_0x340785[_0x4a511e([0x61,0x6c,0x67])]==_0x4a511e([0x45,0x53,0x32,0x35,0x36])||(_0xfd75a3=!0x1);}async function _0x261a20(_0x4271ff,_0x38410d,_0x499e03){const _0x125482=window[_0x4a511e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a511e([0x66,0x72,0x6f,0x6d])](_0x32a009(_0x499e03),_0x2c61c6=>_0x2c61c6[_0x4a511e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a1833=new window[(_0x4a511e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a511e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4271ff+_0x4a511e([0x2e])+_0x38410d),_0xd55124=window[_0x4a511e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a511e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd55124)return;const _0x790d9a=await _0xd55124[_0x4a511e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a511e([0x6a,0x77,0x6b]),_0x508bd9,{[_0x4a511e([0x6e,0x61,0x6d,0x65])]:_0x4a511e([0x45,0x43,0x44,0x53,0x41]),[_0x4a511e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a511e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a511e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd55124[_0x4a511e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a511e([0x6e,0x61,0x6d,0x65])]:_0x4a511e([0x45,0x43,0x44,0x53,0x41]),[_0x4a511e([0x68,0x61,0x73,0x68])]:{[_0x4a511e([0x6e,0x61,0x6d,0x65])]:_0x4a511e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x790d9a,_0x125482,_0x4a1833)||(_0xfd75a3=!0x1);}}function _0x35b264(_0x4a21d3){return _0x4a21d3[_0x4a511e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a511e([0x65,0x79]))?JSON[_0x4a511e([0x70,0x61,0x72,0x73,0x65])](_0x32a009(_0x4a21d3)):null;}function _0x32a009(_0x477ae7){return window[_0x4a511e([0x61,0x74,0x6f,0x62])](_0x477ae7[_0x4a511e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a511e([0x2b]))[_0x4a511e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a511e([0x2f])));}function _0x1c4f31(_0x5f1a34){let _0x69126f=0x1505;function _0xdaf00a(_0x57fb44){for(let _0x106134=0x0;_0x106134<_0x57fb44[_0x4a511e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x106134++){const _0x24d777=_0x57fb44[_0x4a511e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x106134);_0x69126f=(_0x69126f<<0x5)+_0x69126f+_0x24d777,_0x69126f&=_0x69126f;}}function _0x1535dc(_0x41b982){Array[_0x4a511e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41b982)?_0x41b982[_0x4a511e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1535dc):_0x41b982&&typeof _0x41b982==_0x4a511e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a511e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41b982)[_0x4a511e([0x73,0x6f,0x72,0x74])]()[_0x4a511e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x360862,_0x18f841])=>{_0xdaf00a(_0x360862),_0x1535dc(_0x18f841);}):_0xdaf00a(window[_0x4a511e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41b982));}return _0x1535dc(_0x5f1a34),_0x69126f>>>0x0;}function _0x4a2b8f(_0x32a4cc){return _0x32a4cc[_0x4a511e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a511e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a511e([0x30]));}function _0x10ba20(_0x33a446){return _0x33a446[_0x4a511e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a511e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a511e([0x6a,0x6f,0x69,0x6e])]('');}function _0x46b015(){}function _0x4a511e(_0x584f8c){return _0x584f8c['map'](_0x1c7dde=>String['fromCharCode'](_0x1c7dde))['join']('');}_0x373932(await _0x5b1112());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x23d78a=_0x75f067=>function(_0x4513e8,_0x2b8fa4){const t=_0x4513e8['t'],_0x3992a8=_0x4513e8['t'];switch(_0x2b8fa4){case'AI\x20Assistant':return _0x3992a8('AI\x20Assistant');case'Block\x20quote':return _0x3992a8('Block\x20quote');case'Bulleted\x20list':return _0x3992a8('Bulleted\x20list');case'Insert\x20code\x20block':return _0x3992a8('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x3992a8('Open\x20file\x20manager');case'Insert\x20image':return _0x3992a8('Insert\x20image');case'Heading\x201':return _0x3992a8('Heading\x201');case'Heading\x202':return _0x3992a8('Heading\x202');case'Heading\x203':return _0x3992a8('Heading\x203');case'Heading\x204':return _0x3992a8('Heading\x204');case'Heading\x205':return _0x3992a8('Heading\x205');case'Heading\x206':return _0x3992a8('Heading\x206');case'Horizontal\x20line':return _0x3992a8('Horizontal\x20line');case'Insert\x20HTML':return _0x3992a8('Insert\x20HTML');case'Increase\x20indent':return _0x3992a8('Increase\x20indent');case'Insert\x20table':return _0x3992a8('Insert\x20table');case'Table\x20of\x20contents':return _0x3992a8('Table\x20of\x20contents');case'Numbered\x20list':return _0x3992a8('Numbered\x20list');case'Decrease\x20indent':return _0x3992a8('Decrease\x20indent');case'Paragraph':return _0x3992a8('Paragraph');case'To-do\x20list':return _0x3992a8('To-do\x20list');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');default:return _0x2b8fa4;}}(this['editor']['locale'],_0x75f067);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x33136e,'title':_0x23d78a('AI\x20Assistant'),'description':_0x23d78a('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x46170c=>{setTimeout(()=>_0x46170c['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x655ebd,'title':_0x23d78a('Block\x20quote'),'description':_0x23d78a('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x392777,'title':_0x23d78a('Bulleted\x20list'),'description':_0x23d78a('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x5a5c6f,'title':_0x23d78a('Insert\x20code\x20block'),'description':_0x23d78a('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x535ab8,'title':_0x23d78a('Open\x20file\x20manager'),'description':_0x23d78a('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x535ab8,'title':_0x23d78a('Insert\x20image'),'description':_0x23d78a('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x6e3fc1,'title':_0x23d78a('Emoji'),'description':_0x23d78a('Insert\x20an\x20emoji'),'execute':_0x1b9564=>{setTimeout(()=>_0x1b9564['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x3ce58c,'title':_0x23d78a('Heading\x201'),'description':_0x23d78a('Create\x20a\x20heading\x20level\x201'),'execute':_0x45d76c=>{_0x45d76c['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x5d6f51,'title':_0x23d78a('Heading\x202'),'description':_0x23d78a('Create\x20a\x20heading\x20level\x202'),'execute':_0x5d6681=>{_0x5d6681['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x362c7a,'title':_0x23d78a('Heading\x203'),'description':_0x23d78a('Create\x20a\x20heading\x20level\x203'),'execute':_0x247ae9=>{_0x247ae9['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x294bde,'title':_0x23d78a('Heading\x204'),'description':_0x23d78a('Create\x20a\x20heading\x20level\x204'),'execute':_0x2038d8=>{_0x2038d8['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x1fd31b,'title':_0x23d78a('Heading\x205'),'description':_0x23d78a('Create\x20a\x20heading\x20level\x205'),'execute':_0x2f80f5=>{_0x2f80f5['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x5d51f5,'title':_0x23d78a('Heading\x206'),'description':_0x23d78a('Create\x20a\x20heading\x20level\x206'),'execute':_0x4d1dc4=>{_0x4d1dc4['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x81bef3,'title':_0x23d78a('Horizontal\x20line'),'description':_0x23d78a('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x2048e0,'title':_0x23d78a('Insert\x20HTML'),'description':_0x23d78a('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x563203,'title':_0x23d78a('Increase\x20indent'),'description':_0x23d78a('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x23d78a('Insert\x20Mermaid\x20diagram'),'description':_0x23d78a('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x5ee0ef,'title':_0x23d78a('Insert\x20table'),'description':_0x23d78a('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x1fc113,'title':_0x23d78a('Table\x20of\x20contents'),'description':_0x23d78a('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x59e81b,'title':_0x23d78a('Numbered\x20list'),'description':_0x23d78a('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x2401ae,'title':_0x23d78a('Decrease\x20indent'),'description':_0x23d78a('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x349ccf,'title':_0x23d78a('Paragraph'),'description':_0x23d78a('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x52f636,'title':_0x23d78a('To-do\x20list'),'description':_0x23d78a('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x3b5ac7){return _0x3b5ac7['isEnabled']?_0x3b5ac7['isEnabled'](this['editor']):!_0x3b5ac7['commandName']||this['editor']['commands']['get'](_0x3b5ac7['commandName'])['isEnabled'];}['_proxyExecute'](_0x4a440f){if(_0x4a440f['execute'])_0x4a440f['execute'](this['editor']);else{if(!_0x4a440f['commandName'])throw new _0x4d64f7('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x4a440f});this['editor']['execute'](_0x4a440f['commandName']);}}}function H(_0x4e5641,_0x1dc505){return _0x4e5641['title']<_0x1dc505['title']?-0x1:_0x4e5641['title']>_0x1dc505['title']?0x1:0x0;}function O(_0xe4ea74,_0x4a4593){return _0x4a4593+'-'+_0xe4ea74['toLowerCase']()['split']('\x20')['join']('-');}class e extends _0x45a19c{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[L];}['getMatchingCommands'](_0x442d11){const _0xfcb42c=_0x442d11&&_0x442d11['toLowerCase']();let _0x2fee6d=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x2fee6d=_0x2fee6d['filter'](_0x54105e=>_0x54105e['isEnabled']()),_0xfcb42c){const _0x387dec=[],_0x45c858=[],_0x3b9133=[],_0x3739b1=[];for(const _0x37715b of _0x2fee6d)_0x37715b['id']['toLowerCase']()['includes'](_0xfcb42c)?_0x387dec['push'](_0x37715b):_0x37715b['title']['toLowerCase']()['includes'](_0xfcb42c)?_0x45c858['push'](_0x37715b):_0x37715b['aliases']&&_0x37715b['aliases']['some'](_0x50e242=>_0x50e242['toLowerCase']()['includes'](_0xfcb42c))?_0x3b9133['push'](_0x37715b):_0x37715b['description']&&_0x37715b['description']['toLowerCase']()['includes'](_0xfcb42c)&&_0x3739b1['push'](_0x37715b);_0x2fee6d=_0x387dec['concat'](_0x45c858,_0x3b9133,_0x3739b1);}return _0x2fee6d;}}class K extends _0x210592{constructor(_0x361189,_0x18a3fc){super(_0x361189),this['textPartView']=this['_createTextPartView'](_0x361189,_0x18a3fc),void 0x0!==_0x18a3fc['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x18a3fc['isIconColorInherited']),this['set']({'icon':_0x18a3fc['icon']||_0x49e86e,'withText':!0x0,'label':_0x18a3fc['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0xb9e73c,_0x5bacca){const _0xb8c83c=new _0x47f164(_0xb9e73c);return _0xb8c83c['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x5bacca['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x5bacca['description']}]}]:[this['labelView']]}),_0xb8c83c;}}class s extends _0x45a19c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b3832){super(_0x4b3832),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4535c8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5353c0;for(const _0x1cd0e7 in _0x4535c8){const _0x59dc2a=_0x1cd0e7,_0x560de5=_0x4535c8[_0x59dc2a];if('slashCommandLicenseKeyValid'==_0x560de5||'slashCommandLicenseKeyInvalid'==_0x560de5||'slashCommandLicenseKeyExpired'==_0x560de5||'slashCommandLicenseKeyDomainLimit'==_0x560de5||'slashCommandLicenseKeyNotAllowed'==_0x560de5||'slashCommandLicenseKeyEvaluationLimit'==_0x560de5||'slashCommandLicenseKeyTrialLimit'==_0x560de5||'slashCommandLicenseKeyUsageLimit'==_0x560de5){delete _0x4535c8[_0x59dc2a],_0x5353c0=_0x560de5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x5353c0&&_0x4535c8['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x5353c0&&_0x4535c8['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x5353c0&&_0x4535c8['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x5353c0&&_0x4535c8['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x5353c0&&_0x4535c8['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyTrialLimit'==_0x5353c0&&_0x4535c8['_showLicenseError']('trialLimit'),'slashCommandLicenseKeyUsageLimit'==_0x5353c0&&_0x4535c8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x4221ba=this['editor'],_0x363ff2=this['editor']['plugins']['get']('SlashCommandEditing'),_0x16c635=_0x4221ba['config']['get']('mention.feeds');_0x16c635['push']({'marker':'/','feed':_0x1d97c3=>_0x363ff2['getMatchingCommands'](_0x1d97c3),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x4221ba['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x4221ba['config']['set']('mention.feeds',_0x16c635);}['_overrideMentionExecuteListener'](){const _0x113d4a=this['editor'];_0x113d4a['commands']['get']('mention')['on']('execute',(_0x5d0fca,_0x499755)=>{const _0xa15a99=_0x499755[0x0],_0x45baac=_0x113d4a['model'];'/'===_0xa15a99['marker']&&_0x45baac['change'](_0x5211b8=>{_0x5211b8['remove'](_0xa15a99['range']),_0xa15a99['mention']['execute'](),_0x5d0fca['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x446159){const _0x2d23b6=this['editor']['locale'],_0x44104c=new K(_0x2d23b6,_0x446159);return _0x44104c['render'](),_0x44104c['element'];}}class m extends _0x45a19c{static get['requires'](){return['Mention',e,s];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{m as SlashCommand,L as SlashCommandConfig,e as SlashCommandEditing,s as SlashCommandUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-slash-command",
|
|
3
|
-
"version": "45.1.0-alpha.
|
|
3
|
+
"version": "45.1.0-alpha.5",
|
|
4
4
|
"description": "Slash command feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "45.1.0-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-heading": "45.1.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-mention": "45.1.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-style": "45.1.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-template": "45.1.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.
|
|
23
|
-
"ckeditor5": "45.1.0-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.5",
|
|
16
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.5",
|
|
17
|
+
"@ckeditor/ckeditor5-heading": "45.1.0-alpha.5",
|
|
18
|
+
"@ckeditor/ckeditor5-mention": "45.1.0-alpha.5",
|
|
19
|
+
"@ckeditor/ckeditor5-style": "45.1.0-alpha.5",
|
|
20
|
+
"@ckeditor/ckeditor5-template": "45.1.0-alpha.5",
|
|
21
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.5",
|
|
22
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.5",
|
|
23
|
+
"ckeditor5": "45.1.0-alpha.5"
|
|
24
24
|
},
|
|
25
25
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
26
26
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4304f6=_0x2ee5;(function(_0x22d83e,_0x2e7f2e){const _0x3da66a=_0x2ee5,_0xae366e=_0x22d83e();while(!![]){try{const _0x5b4dec=-parseInt(_0x3da66a(0xc4))/0x1+-parseInt(_0x3da66a(0xcb))/0x2*(-parseInt(_0x3da66a(0x115))/0x3)+-parseInt(_0x3da66a(0xf8))/0x4+parseInt(_0x3da66a(0xd6))/0x5+parseInt(_0x3da66a(0xbd))/0x6*(parseInt(_0x3da66a(0xa3))/0x7)+parseInt(_0x3da66a(0xfa))/0x8+-parseInt(_0x3da66a(0xfc))/0x9;if(_0x5b4dec===_0x2e7f2e)break;else _0xae366e['push'](_0xae366e['shift']());}catch(_0x30f5ff){_0xae366e['push'](_0xae366e['shift']());}}}(_0x2134,0x1a3aa));function _0x2ee5(_0xac6d5,_0x54a114){const _0x213431=_0x2134();return _0x2ee5=function(_0x2ee557,_0x33100f){_0x2ee557=_0x2ee557-0x9e;let _0x352c37=_0x213431[_0x2ee557];return _0x352c37;},_0x2ee5(_0xac6d5,_0x54a114);}import{Plugin as _0x27ddf5}from'ckeditor5/src/core.js';function _0x2134(){const _0x4c541a=['Decrease\x20indent','afterInit','toLowerCase','template','7GXpDmv','title','Horizontal\x20line','AI\x20Assistant','insertTable','insertTemplate','name','description','template.definitions','slashCommand.extraCommands','aiAssistant','Create\x20a\x20heading\x20level\x203','Decrease\x20the\x20indentation','Insert\x20an\x20emoji','href','join','length','Insert\x20image','concat','Open\x20file\x20manager','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content','heading2','toc','Heading\x202','Create\x20a\x20numbered\x20list','execute','1053786EbpHMy','Create\x20a\x20to-do\x20list','Create\x20a\x20code\x20block','fromCharCode','To-do\x20list','Create\x20a\x20heading\x20level\x202','Heading\x205','137733LPbNgp','Insert\x20table','getAllowedCommands','insertTableOfContents','Emoji','Insert\x20code\x20block','Increase\x20indent','2202WJRoVR','Bulleted\x20list','split','todoList','ckbox','model','get','heading.options','Insert\x20table\x20of\x20contents','style','heading3','224290DOUbmF','heading6','Table\x20of\x20contents','Paragraph','Insert\x20a\x20paragraph','codeBlock','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file','isPremiumPlugin','paragraph','horizontalLine','commandName','filter','Increase\x20the\x20indentation','Insert\x20HTML','Insert\x20a\x20horizontal\x20line','_allowedCommands','Insert\x20the\x20Mermaid\x20diagram','Create\x20a\x20table','numberedList','commands','_proxyExecute','isOfficialPlugin','Heading\x204','locale','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file','function','map','ckfinder','Block\x20quote','SlashCommandConfig','heading4','Create\x20a\x20bulleted\x20list','slashCommand.removeCommands','Insert\x20an\x20HTML\x20snippet','745616ATdrPC','isEnabled','1699552xXPZHT','blockQuote','1389609taInEu','style.definitions','isIconColorInherited','htmlEmbed','Create\x20a\x20block\x20quote','_proxyIsEnabled','enabledStyles','Create\x20a\x20heading\x20level\x201','slash-command-execute-missing','heading','Numbered\x20list','bulletedList','showAIAssistant','editor','Heading\x201','heading1','aliases','icon','Create\x20a\x20heading\x20level\x204','outdent','insertMermaidCommand','indent','filemanager','config','Heading\x206','417iSkQar','getDefaultCommands','Create\x20a\x20heading\x20level\x206','pluginName','emoji','heading5','Heading\x203','sort','Create\x20a\x20heading\x20level\x205','push','upload','Insert\x20Mermaid\x20diagram','includes'];_0x2134=function(){return _0x4c541a;};return _0x2134();}import{CKEditorError as _0x1b7a7d,uid as _0x1c7fb7}from'ckeditor5/src/utils.js';import{IconBrowseFiles as _0x5261a3,IconBulletedList as _0x18d88b,IconEmoji as _0x440f86,IconCodeBlock as _0x39cb1d,IconHeading1 as _0x528db2,IconHeading2 as _0xc16e5b,IconHeading3 as _0xaf20fa,IconHeading4 as _0x5aa397,IconHeading5 as _0x5c3863,IconHeading6 as _0x575da3,IconHorizontalLine as _0x2af510,IconHtml as _0x4cab22,IconIndent as _0x250053,IconNumberedList as _0x5302db,IconOutdent as _0x1a0aeb,IconParagraph as _0x5dcb51,IconQuote as _0x3bfd4a,IconRobotPencil as _0x223eb3,IconTable as _0x146f43,IconTableOfContents as _0x3d3df2,IconTodoList as _0x4cea98}from'ckeditor5/src/icons.js';import{getTranslation as _0x50c912}from'./utils/common-translations.js';import'./slashcommandeditorconfig.js';export default class L extends _0x27ddf5{static get[_0x4304f6(0x118)](){const _0x185f14=_0x4304f6;return _0x185f14(0xf3);}static get[_0x4304f6(0xeb)](){return!0x0;}static get[_0x4304f6(0xdd)](){return!0x0;}constructor(_0x5a9791){const _0x575682=_0x4304f6;super(_0x5a9791),this[_0x575682(0xe5)]=null;}[_0x4304f6(0xa0)](){const _0x37688b=_0x4304f6,_0xe6b3bd=this[_0x37688b(0x109)][_0x37688b(0x113)][_0x37688b(0xd1)](_0x37688b(0xf6))||[],_0x4e9845=function(_0x2a85db){const _0x5498aa=_0x37688b;let _0x156d3f=[_0x5498aa(0xf4),_0x5498aa(0x11a),_0x5498aa(0xd7)];if(_0x2a85db){const _0xe044b0=_0x2a85db[_0x5498aa(0xf0)](_0x535bf6=>_0x535bf6[_0x5498aa(0xd0)]);_0x156d3f=[_0x5498aa(0x10b),_0x5498aa(0xb8),_0x5498aa(0xd5),_0x5498aa(0xf4),_0x5498aa(0x11a),_0x5498aa(0xd7)][_0x5498aa(0xe1)](_0x377c6c=>!_0xe044b0[_0x5498aa(0x9e)](_0x377c6c));}return _0x156d3f;}(this[_0x37688b(0x109)][_0x37688b(0x113)][_0x37688b(0xd1)](_0x37688b(0xd2)));let _0x43367c=this[_0x37688b(0x116)]()[_0x37688b(0xe1)](_0x378352=>!_0x4e9845[_0x37688b(0x9e)](_0x378352['id']))[_0x37688b(0xe1)](_0x237dbc=>!_0xe6b3bd[_0x37688b(0x9e)](_0x237dbc[_0x37688b(0xe0)]));const _0xaef4a7=this[_0x37688b(0x109)][_0x37688b(0x113)][_0x37688b(0xd1)](_0x37688b(0xac));_0xaef4a7&&_0xaef4a7[_0x37688b(0xb3)]&&(_0x43367c=_0x43367c[_0x37688b(0xb5)](_0xaef4a7));const _0x56b3d8=this[_0x37688b(0x109)][_0x37688b(0x113)][_0x37688b(0xd1)](_0x37688b(0xab));_0x56b3d8&&_0x56b3d8[_0x37688b(0xb3)]&&(_0x43367c=_0x43367c[_0x37688b(0xb5)](function(_0x4779d0){const _0x568cf=_0x37688b;return _0x4779d0[_0x568cf(0xf0)](_0x587cf1=>{const _0x464725=_0x568cf,{title:_0x19bfc6,icon:_0xfc1e8b,description:_0x260d33,data:_0x347350}=_0x587cf1,_0x5bfa41={'id':O(_0x19bfc6,_0x464725(0xa2)),'commandName':_0x464725(0xa8),'execute':_0x7a8416=>{const _0xd42e2b=_0x464725;_0x7a8416[_0xd42e2b(0xbc)](_0xd42e2b(0xa8),_0x347350);},'description':_0x260d33,'icon':_0xfc1e8b,'title':_0x19bfc6};return _0xfc1e8b&&(_0x5bfa41[_0x464725(0xfe)]=!0x1),_0x5bfa41;});}(_0x56b3d8)));const _0x2aeb66=this[_0x37688b(0x109)][_0x37688b(0x113)][_0x37688b(0xd1)](_0x37688b(0xfd));_0x2aeb66&&_0x2aeb66[_0x37688b(0xb3)]&&(_0x43367c=_0x43367c[_0x37688b(0xb5)](function(_0x4188af){const _0x274d6c=_0x37688b;return _0x4188af[_0x274d6c(0xf0)](_0x32e1ee=>({'id':O(_0x32e1ee[_0x274d6c(0xa9)],_0x274d6c(0xd4)),'commandName':_0x274d6c(0xd4),'execute':_0x1862e1=>{const _0x40ffbc=_0x274d6c;_0x1862e1[_0x40ffbc(0xbc)](_0x40ffbc(0xd4),{'styleName':_0x32e1ee[_0x40ffbc(0xa9)]});},'isEnabled':_0x2556db=>{const _0x3fb26b=_0x274d6c,_0x427c33=_0x2556db[_0x3fb26b(0xe9)][_0x3fb26b(0xd1)](_0x3fb26b(0xd4));return _0x427c33[_0x3fb26b(0xf9)]&&_0x427c33[_0x3fb26b(0x102)][_0x3fb26b(0x9e)](_0x32e1ee[_0x3fb26b(0xa9)]);},'title':_0x32e1ee[_0x274d6c(0xa9)]}));}(_0x2aeb66)));const _0x4d9e1e=_0x43367c[_0x37688b(0xe1)](_0x39de2a=>!_0x39de2a[_0x37688b(0xe0)]||void 0x0!==this[_0x37688b(0x109)][_0x37688b(0xe9)][_0x37688b(0xd1)](_0x39de2a[_0x37688b(0xe0)])),_0x241d89=[];for(const _0x38a579 of _0x4d9e1e)_0x241d89[_0x37688b(0x11e)]({'id':_0x38a579['id'],'commandName':_0x38a579[_0x37688b(0xe0)],'title':_0x37688b(0xef)==typeof _0x38a579[_0x37688b(0xa4)]?_0x38a579[_0x37688b(0xa4)](this[_0x37688b(0x109)]):_0x38a579[_0x37688b(0xa4)],'description':_0x38a579[_0x37688b(0xaa)],'icon':_0x38a579[_0x37688b(0x10d)],'isIconColorInherited':_0x38a579[_0x37688b(0xfe)],'aliases':_0x38a579[_0x37688b(0x10c)],'isEnabled':()=>this[_0x37688b(0x101)](_0x38a579),'execute':()=>this[_0x37688b(0xea)](_0x38a579)});this[_0x37688b(0xe5)]=_0x241d89[_0x37688b(0x11c)](H),async function(_0xe86f61){const _0x3c006a=_0x1a3d66([0x31,0x54,0x42,0x68,0x63,0x55,0x4f,0x6c,0x49,0x64,0x69,0x78,0x65,0x35,0x30,0x45,0x56,0x62,0x41,0x71,0x50,0x73,0x59,0x38,0x6b,0x6f,0x4a,0x34,0x52,0x7a,0x75,0x4e,0x74,0x32,0x76,0x37,0x57,0x77,0x47,0x51,0x39,0x67,0x46,0x72,0x4c,0x6a,0x4b,0x6e,0x44,0x53,0x61,0x79,0x48,0x66,0x43,0x5a,0x4d,0x70,0x58,0x6d,0x33,0x36]),_0x1e284e=0x158d5ca9,_0x335c58=0x158a3bd9^_0x1e284e,_0x32f923=window[_0x1a3d66([0x44,0x61,0x74,0x65])][_0x1a3d66([0x6e,0x6f,0x77])](),_0x15860a=_0xe86f61[_0x1a3d66([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x9607e3=new window[(_0x1a3d66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28d521=>{_0x15860a[_0x1a3d66([0x6f,0x6e,0x63,0x65])](_0x1a3d66([0x72,0x65,0x61,0x64,0x79]),_0x28d521);}),_0x1e5811={[_0x1a3d66([0x6b,0x74,0x79])]:_0x1a3d66([0x45,0x43]),[_0x1a3d66([0x75,0x73,0x65])]:_0x1a3d66([0x73,0x69,0x67]),[_0x1a3d66([0x63,0x72,0x76])]:_0x1a3d66([0x50,0x2d,0x32,0x35,0x36]),[_0x1a3d66([0x78])]:_0x1a3d66([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]),[_0x1a3d66([0x79])]:_0x1a3d66([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]),[_0x1a3d66([0x61,0x6c,0x67])]:_0x1a3d66([0x45,0x53,0x32,0x35,0x36])},_0x57339d=_0x15860a[_0x1a3d66([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a3d66([0x67,0x65,0x74])](_0x1a3d66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b3e7e(){let _0x316490,_0x320803=null,_0x3d85d9=null;try{if(_0x57339d==_0x1a3d66([0x47,0x50,0x4c]))return _0x1a3d66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x316490=_0x99031(),!_0x316490)return _0x1a3d66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x316490[_0x1a3d66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d85d9=_0x5443e6(_0x316490[_0x1a3d66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x316490[_0x1a3d66([0x6a,0x74,0x69])])),await _0x556c2f()?_0x2ed04b()?_0x1ca05b()?_0x1a3d66([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d3385()?(_0x316490[_0x1a3d66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a3d66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x320803=_0x44cd23(_0x1a3d66([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x316490[_0x1a3d66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a3d66([0x74,0x72,0x69,0x61,0x6c])&&(_0x320803=_0x44cd23(_0x1a3d66([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x768456()):_0x1a3d66([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a3d66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a3d66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x39c19f){return _0x1a3d66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ca05b(){const _0x460902=[_0x1a3d66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a3d66([0x74,0x72,0x69,0x61,0x6c])][_0x1a3d66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x316490[_0x1a3d66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32f923/0x3e8:0xe10*_0x335c58;return _0x316490[_0x1a3d66([0x65,0x78,0x70])]<_0x460902;}function _0x2ed04b(){const _0x5932ee=_0x316490[_0x1a3d66([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5932ee&&(!!_0x5932ee[_0x1a3d66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a3d66([0x2a]))||(!!_0x5932ee[_0x1a3d66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a3d66([0x53,0x43]))||!!_0x5932ee[_0x1a3d66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a3d66([0x50,0x50]))));}function _0x4d3385(){const _0x117f27=_0x2ee5,_0x457219=_0x316490[_0x1a3d66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x457219||0x0==_0x457219[_0x1a3d66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3719c3}=new URL(window[_0x1a3d66([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x117f27(0xb1)]);if(_0x457219[_0x1a3d66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3719c3))return!0x0;const _0x1fd238=_0x3719c3[_0x1a3d66([0x73,0x70,0x6c,0x69,0x74])](_0x1a3d66([0x2e]));return _0x457219[_0x1a3d66([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41bc65=>_0x41bc65[_0x1a3d66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a3d66([0x2a])))[_0x1a3d66([0x6d,0x61,0x70])](_0x387e34=>_0x387e34[_0x1a3d66([0x73,0x70,0x6c,0x69,0x74])](_0x1a3d66([0x2e])))[_0x1a3d66([0x73,0x6f,0x6d,0x65])](_0x52c9c2=>_0x1fd238[_0x1a3d66([0x65,0x76,0x65,0x72,0x79])]((_0x179385,_0x1a7a89)=>_0x52c9c2[_0x1a7a89]===_0x179385||_0x52c9c2[_0x1a7a89]===_0x1a3d66([0x2a])));}function _0x768456(){return _0x320803&&_0x3d85d9?new window[(_0x1a3d66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x110e66,_0x1fc4c2)=>{_0x320803[_0x1a3d66([0x74,0x68,0x65,0x6e])](_0x110e66,_0x1fc4c2),_0x3d85d9[_0x1a3d66([0x74,0x68,0x65,0x6e])](_0x440748=>{_0x440748!=_0x1a3d66([0x56,0x61,0x6c,0x69,0x64])&&_0x110e66(_0x440748);},_0x1fc4c2);}):_0x320803||_0x3d85d9||_0x1a3d66([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5443e6(_0x30f4a2,_0x4aee51){return new window[(_0x1a3d66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b1a6b=>{if(_0x159c2b())return _0x3b1a6b(_0x1a3d66([0x56,0x61,0x6c,0x69,0x64]));_0x4d8e77(),_0x15860a[_0x1a3d66([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a3d66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44e2cd=!0x1;const _0x495f5a=_0x1c7fb7();function _0x4a927b(_0x18817a){return!!_0x18817a&&(typeof _0x18817a===_0x1a3d66([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18817a===_0x1a3d66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18817a[_0x1a3d66([0x74,0x68,0x65,0x6e])]===_0x1a3d66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18817a[_0x1a3d66([0x63,0x61,0x74,0x63,0x68])]===_0x1a3d66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb21dfe(_0x2894bc){_0x26f226(_0x2894bc)[_0x1a3d66([0x74,0x68,0x65,0x6e])](_0x3573c7=>{if(!_0x3573c7||_0x3573c7[_0x1a3d66([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a3d66([0x6f,0x6b]))return _0x1a3d66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcd5f22(_0x1f6028(_0x495f5a+_0x4aee51))!=_0x3573c7[_0x1a3d66([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a3d66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a3d66([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a3d66([0x74,0x68,0x65,0x6e])](_0x42a1d3=>(_0x576913(),_0x42a1d3),()=>{const _0x250801=_0x2dafcc();return null==_0x250801?(_0x576913(),_0x1a3d66([0x56,0x61,0x6c,0x69,0x64])):_0x1a3d66(_0x32f923-_0x250801>(0x3181d8a9^_0x1e284e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a3d66([0x74,0x68,0x65,0x6e])](_0x3b1a6b)[_0x1a3d66([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b1a6b(_0x1a3d66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c649f=0x15bbb229^_0x1e284e;function _0x576913(){const _0x44bbda=_0x1a3d66([0x6c,0x6c,0x63,0x74,0x2d])+_0xcd5f22(_0x1f6028(_0x30f4a2)),_0x18252e=_0x3c4968(_0xcd5f22(window[_0x1a3d66([0x4d,0x61,0x74,0x68])][_0x1a3d66([0x63,0x65,0x69,0x6c])](_0x32f923/_0x3c649f)));window[_0x1a3d66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a3d66([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44bbda,_0x18252e);}function _0x2dafcc(){const _0x52f106=_0x1a3d66([0x6c,0x6c,0x63,0x74,0x2d])+_0xcd5f22(_0x1f6028(_0x30f4a2)),_0x508aae=window[_0x1a3d66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a3d66([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52f106);return _0x508aae?window[_0x1a3d66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c4968(_0x508aae),0x10)*_0x3c649f:null;}function _0x26f226(_0x2a02d6){return new window[(_0x1a3d66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x111474,_0x42e433)=>{_0x2a02d6[_0x1a3d66([0x74,0x68,0x65,0x6e])](_0x111474,_0x42e433),window[_0x1a3d66([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42e433,0x158c8869^_0x1e284e);});}}_0x15860a[_0x1a3d66([0x6f,0x6e])](_0x1a3d66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2cdd94,_0x18262a)=>{if(_0x18262a[0x0]!=_0x30f4a2)return _0x3b1a6b(_0x1a3d66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18262a[0x1]={..._0x18262a[0x1],[_0x1a3d66([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x495f5a};},{[_0x1a3d66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a3d66([0x68,0x69,0x67,0x68])}),_0x15860a[_0x1a3d66([0x6f,0x6e])](_0x1a3d66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a6e6e=>{_0x4a927b(_0x3a6e6e[_0x1a3d66([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44e2cd=!0x0,_0xb21dfe(_0x3a6e6e[_0x1a3d66([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a3d66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a3d66([0x6c,0x6f,0x77])}),_0x9607e3[_0x1a3d66([0x74,0x68,0x65,0x6e])](()=>{_0x44e2cd||_0x3b1a6b(_0x1a3d66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x159c2b(){return _0x15860a[_0x1a3d66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a3d66([0x76,0x69,0x65,0x77])][_0x1a3d66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a3d66([0x61,0x75,0x74,0x6f]);}function _0x4d8e77(){_0x15860a[_0x1a3d66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a3d66([0x76,0x69,0x65,0x77])][_0x1a3d66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a3d66([0x61,0x75,0x74,0x6f]);}}function _0x44cd23(_0x1813af){const _0x59040b=[new window[(_0x1a3d66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24114b=>setTimeout(_0x24114b,0x15846265^_0x1e284e)),_0x9607e3[_0x1a3d66([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a3d66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12b240=>{let _0x37a8fd=0x0;_0x15860a[_0x1a3d66([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a3d66([0x6f,0x6e])](_0x1a3d66([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f1e60,_0x216729)=>{_0x216729[0x0][_0x1a3d66([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37a8fd++,_0x37a8fd==(0x158d5d51^_0x1e284e)&&(_0x12b240(),_0x4f1e60[_0x1a3d66([0x6f,0x66,0x66])]());});}))];return window[_0x1a3d66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a3d66([0x72,0x61,0x63,0x65])](_0x59040b)[_0x1a3d66([0x74,0x68,0x65,0x6e])](()=>_0x1813af);}async function _0x571232(){await _0x9607e3,_0x15860a[_0x1a3d66([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a3d66([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb31b41,_0x15860a[_0x1a3d66([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a3d66([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb31b41,_0x15860a[_0x1a3d66([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a3d66([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ddcc5(_0x4fadf9){const _0x36789d=_0x5ec115();_0x15860a[_0x36789d]=_0x1a3d66([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4fadf9,_0x4fadf9!=_0x1a3d66([0x56,0x61,0x6c,0x69,0x64])&&_0x571232();}function _0x5ec115(){const _0x155fca=window[_0x1a3d66([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a3d66([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a3d66([0x6e,0x6f,0x77])]())[_0x1a3d66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a3d66([0x2e]),'');let _0x3150ad=_0x1a3d66([0x54]);for(let _0x236625=0x0;_0x236625<_0x155fca[_0x1a3d66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x236625+=0x2){let _0x58729f=window[_0x1a3d66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x155fca[_0x1a3d66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x236625,_0x236625+0x2));_0x58729f>=_0x3c006a[_0x1a3d66([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58729f-=_0x3c006a[_0x1a3d66([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3150ad+=_0x3c006a[_0x58729f];}return _0x3150ad;}function _0x99031(){const _0x511e41=_0x57339d[_0x1a3d66([0x73,0x70,0x6c,0x69,0x74])](_0x1a3d66([0x2e]));if(0x3!=_0x511e41[_0x1a3d66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4139ae(_0x511e41[0x1]);function _0x4139ae(_0x3984c8){const _0x2500e=_0x4f7cbc(_0x3984c8);return _0x2500e&&_0x55b497()?_0x2500e:null;function _0x55b497(){const _0x20dcd2=_0x2500e[_0x1a3d66([0x6a,0x74,0x69])],_0x23d3e8=window[_0x1a3d66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20dcd2[_0x1a3d66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20dcd2[_0x1a3d66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x199636={..._0x2500e,[_0x1a3d66([0x6a,0x74,0x69])]:_0x20dcd2[_0x1a3d66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20dcd2[_0x1a3d66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x199636[_0x1a3d66([0x76,0x63])],_0x1f6028(_0x199636)==_0x23d3e8;}}}async function _0x556c2f(){let _0x39a6e8=!0x0;try{const _0x57ac7d=_0x57339d[_0x1a3d66([0x73,0x70,0x6c,0x69,0x74])](_0x1a3d66([0x2e])),[_0x47f21b,_0x332479,_0x74097d]=_0x57ac7d;return _0x242627(_0x47f21b),await _0x12201f(_0x47f21b,_0x332479,_0x74097d),_0x39a6e8;}catch(_0x58b0cb){return!0x1;}function _0x242627(_0x305435){const _0x198c72=_0x4f7cbc(_0x305435);_0x198c72&&_0x198c72[_0x1a3d66([0x61,0x6c,0x67])]==_0x1a3d66([0x45,0x53,0x32,0x35,0x36])||(_0x39a6e8=!0x1);}async function _0x12201f(_0x48f2cb,_0xece855,_0x447a9c){const _0xb08416=window[_0x1a3d66([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a3d66([0x66,0x72,0x6f,0x6d])](_0x5e7698(_0x447a9c),_0x5110bf=>_0x5110bf[_0x1a3d66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x384a3d=new window[(_0x1a3d66([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a3d66([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48f2cb+_0x1a3d66([0x2e])+_0xece855),_0x4a4084=window[_0x1a3d66([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a3d66([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a4084)return;const _0x4761a8=await _0x4a4084[_0x1a3d66([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a3d66([0x6a,0x77,0x6b]),_0x1e5811,{[_0x1a3d66([0x6e,0x61,0x6d,0x65])]:_0x1a3d66([0x45,0x43,0x44,0x53,0x41]),[_0x1a3d66([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a3d66([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a3d66([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a4084[_0x1a3d66([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a3d66([0x6e,0x61,0x6d,0x65])]:_0x1a3d66([0x45,0x43,0x44,0x53,0x41]),[_0x1a3d66([0x68,0x61,0x73,0x68])]:{[_0x1a3d66([0x6e,0x61,0x6d,0x65])]:_0x1a3d66([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4761a8,_0xb08416,_0x384a3d)||(_0x39a6e8=!0x1);}}function _0x4f7cbc(_0x1c7fdc){return _0x1c7fdc[_0x1a3d66([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a3d66([0x65,0x79]))?JSON[_0x1a3d66([0x70,0x61,0x72,0x73,0x65])](_0x5e7698(_0x1c7fdc)):null;}function _0x5e7698(_0xc8e860){return window[_0x1a3d66([0x61,0x74,0x6f,0x62])](_0xc8e860[_0x1a3d66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a3d66([0x2b]))[_0x1a3d66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a3d66([0x2f])));}function _0x1f6028(_0x47f5c9){let _0x2eeb52=0x1505;function _0xd1bfdf(_0x20696c){for(let _0xe578e5=0x0;_0xe578e5<_0x20696c[_0x1a3d66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe578e5++){const _0x1072a2=_0x20696c[_0x1a3d66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe578e5);_0x2eeb52=(_0x2eeb52<<0x5)+_0x2eeb52+_0x1072a2,_0x2eeb52&=_0x2eeb52;}}function _0x5e6a09(_0x412288){Array[_0x1a3d66([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x412288)?_0x412288[_0x1a3d66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e6a09):_0x412288&&typeof _0x412288==_0x1a3d66([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a3d66([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x412288)[_0x1a3d66([0x73,0x6f,0x72,0x74])]()[_0x1a3d66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b05c2,_0x12c4b6])=>{_0xd1bfdf(_0x4b05c2),_0x5e6a09(_0x12c4b6);}):_0xd1bfdf(window[_0x1a3d66([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x412288));}return _0x5e6a09(_0x47f5c9),_0x2eeb52>>>0x0;}function _0xcd5f22(_0x1e2be0){return _0x1e2be0[_0x1a3d66([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a3d66([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a3d66([0x30]));}function _0x3c4968(_0x575282){return _0x575282[_0x1a3d66([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a3d66([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a3d66([0x6a,0x6f,0x69,0x6e])]('');}function _0xb31b41(){}function _0x1a3d66(_0x33c32a){const _0x45034e=_0x2ee5;return _0x33c32a[_0x45034e(0xf0)](_0x5143a1=>String[_0x45034e(0xc0)](_0x5143a1))[_0x45034e(0xb2)]('');}_0x5ddcc5(await _0x1b3e7e());}(this);}[_0x4304f6(0xc6)](){const _0x480a93=_0x4304f6;return this[_0x480a93(0xe5)];}[_0x4304f6(0x116)](){const _0x2fa862=_0x4304f6,_0x5199a6=_0x59a38f=>_0x50c912(this[_0x2fa862(0x109)][_0x2fa862(0xed)],_0x59a38f);return[{'id':_0x2fa862(0xad),'commandName':_0x2fa862(0x108),'icon':_0x223eb3,'title':_0x5199a6(_0x2fa862(0xa6)),'description':_0x5199a6(_0x2fa862(0xb7)),'execute':_0x281e55=>{const _0x3c9a89=_0x2fa862;setTimeout(()=>_0x281e55[_0x3c9a89(0xbc)](_0x3c9a89(0x108)));}},{'id':_0x2fa862(0xfb),'commandName':_0x2fa862(0xfb),'icon':_0x3bfd4a,'title':_0x5199a6(_0x2fa862(0xf2)),'description':_0x5199a6(_0x2fa862(0x100))},{'id':_0x2fa862(0x107),'commandName':_0x2fa862(0x107),'icon':_0x18d88b,'title':_0x5199a6(_0x2fa862(0xcc)),'description':_0x5199a6(_0x2fa862(0xf5))},{'id':_0x2fa862(0xdb),'commandName':_0x2fa862(0xdb),'icon':_0x39cb1d,'title':_0x5199a6(_0x2fa862(0xc9)),'description':_0x5199a6(_0x2fa862(0xbf))},{'id':_0x2fa862(0xcf),'commandName':_0x2fa862(0xcf),'icon':_0x5261a3,'title':_0x5199a6(_0x2fa862(0xb6)),'description':_0x5199a6(_0x2fa862(0xdc)),'aliases':[_0x2fa862(0xf1),_0x2fa862(0x112),_0x2fa862(0x11f)]},{'id':_0x2fa862(0xf1),'commandName':_0x2fa862(0xf1),'icon':_0x5261a3,'title':_0x5199a6(_0x2fa862(0xb4)),'description':_0x5199a6(_0x2fa862(0xee)),'aliases':[_0x2fa862(0xcf),_0x2fa862(0x112),_0x2fa862(0x11f)]},{'id':_0x2fa862(0x119),'commandName':_0x2fa862(0x119),'icon':_0x440f86,'title':_0x5199a6(_0x2fa862(0xc8)),'description':_0x5199a6(_0x2fa862(0xb0)),'execute':_0x50b41e=>{const _0x546f97=_0x2fa862;setTimeout(()=>_0x50b41e[_0x546f97(0xbc)](_0x546f97(0x119)));}},{'id':_0x2fa862(0x10b),'commandName':_0x2fa862(0x105),'icon':_0x528db2,'title':_0x5199a6(_0x2fa862(0x10a)),'description':_0x5199a6(_0x2fa862(0x103)),'execute':_0x5a9fc5=>{const _0x565837=_0x2fa862;_0x5a9fc5[_0x565837(0xbc)](_0x565837(0x105),{'value':_0x565837(0x10b)});}},{'id':_0x2fa862(0xb8),'commandName':_0x2fa862(0x105),'icon':_0xc16e5b,'title':_0x5199a6(_0x2fa862(0xba)),'description':_0x5199a6(_0x2fa862(0xc2)),'execute':_0x57f658=>{const _0xd5ffb9=_0x2fa862;_0x57f658[_0xd5ffb9(0xbc)](_0xd5ffb9(0x105),{'value':_0xd5ffb9(0xb8)});}},{'id':_0x2fa862(0xd5),'commandName':_0x2fa862(0x105),'icon':_0xaf20fa,'title':_0x5199a6(_0x2fa862(0x11b)),'description':_0x5199a6(_0x2fa862(0xae)),'execute':_0x5c17ed=>{const _0x28f773=_0x2fa862;_0x5c17ed[_0x28f773(0xbc)](_0x28f773(0x105),{'value':_0x28f773(0xd5)});}},{'id':_0x2fa862(0xf4),'commandName':_0x2fa862(0x105),'icon':_0x5aa397,'title':_0x5199a6(_0x2fa862(0xec)),'description':_0x5199a6(_0x2fa862(0x10e)),'execute':_0x23eada=>{const _0x513715=_0x2fa862;_0x23eada[_0x513715(0xbc)](_0x513715(0x105),{'value':_0x513715(0xf4)});}},{'id':_0x2fa862(0x11a),'commandName':_0x2fa862(0x105),'icon':_0x5c3863,'title':_0x5199a6(_0x2fa862(0xc3)),'description':_0x5199a6(_0x2fa862(0x11d)),'execute':_0x335669=>{const _0x5dbcad=_0x2fa862;_0x335669[_0x5dbcad(0xbc)](_0x5dbcad(0x105),{'value':_0x5dbcad(0x11a)});}},{'id':_0x2fa862(0xd7),'commandName':_0x2fa862(0x105),'icon':_0x575da3,'title':_0x5199a6(_0x2fa862(0x114)),'description':_0x5199a6(_0x2fa862(0x117)),'execute':_0x59f5f2=>{const _0x22e0b4=_0x2fa862;_0x59f5f2[_0x22e0b4(0xbc)](_0x22e0b4(0x105),{'value':_0x22e0b4(0xd7)});}},{'id':_0x2fa862(0xdf),'commandName':_0x2fa862(0xdf),'icon':_0x2af510,'title':_0x5199a6(_0x2fa862(0xa5)),'description':_0x5199a6(_0x2fa862(0xe4))},{'id':_0x2fa862(0xff),'commandName':_0x2fa862(0xff),'icon':_0x4cab22,'title':_0x5199a6(_0x2fa862(0xe3)),'description':_0x5199a6(_0x2fa862(0xf7))},{'id':_0x2fa862(0x111),'commandName':_0x2fa862(0x111),'icon':_0x250053,'title':_0x5199a6(_0x2fa862(0xca)),'description':_0x5199a6(_0x2fa862(0xe2))},{'id':_0x2fa862(0x110),'commandName':_0x2fa862(0x110),'title':_0x5199a6(_0x2fa862(0x120)),'description':_0x5199a6(_0x2fa862(0xe6))},{'id':_0x2fa862(0xa7),'commandName':_0x2fa862(0xa7),'icon':_0x146f43,'title':_0x5199a6(_0x2fa862(0xc5)),'description':_0x5199a6(_0x2fa862(0xe7))},{'id':_0x2fa862(0xc7),'commandName':_0x2fa862(0xc7),'icon':_0x3d3df2,'title':_0x5199a6(_0x2fa862(0xd8)),'description':_0x5199a6(_0x2fa862(0xd3)),'aliases':[_0x2fa862(0xb9)]},{'id':_0x2fa862(0xe8),'commandName':_0x2fa862(0xe8),'icon':_0x5302db,'title':_0x5199a6(_0x2fa862(0x106)),'description':_0x5199a6(_0x2fa862(0xbb))},{'id':_0x2fa862(0x10f),'commandName':_0x2fa862(0x10f),'icon':_0x1a0aeb,'title':_0x5199a6(_0x2fa862(0x9f)),'description':_0x5199a6(_0x2fa862(0xaf))},{'id':_0x2fa862(0xde),'commandName':_0x2fa862(0xde),'icon':_0x5dcb51,'title':_0x5199a6(_0x2fa862(0xd9)),'description':_0x5199a6(_0x2fa862(0xda))},{'id':_0x2fa862(0xce),'commandName':_0x2fa862(0xce),'icon':_0x4cea98,'title':_0x5199a6(_0x2fa862(0xc1)),'description':_0x5199a6(_0x2fa862(0xbe))}];}[_0x4304f6(0x101)](_0x109cd9){const _0x2dd613=_0x4304f6;return _0x109cd9[_0x2dd613(0xf9)]?_0x109cd9[_0x2dd613(0xf9)](this[_0x2dd613(0x109)]):!_0x109cd9[_0x2dd613(0xe0)]||this[_0x2dd613(0x109)][_0x2dd613(0xe9)][_0x2dd613(0xd1)](_0x109cd9[_0x2dd613(0xe0)])[_0x2dd613(0xf9)];}[_0x4304f6(0xea)](_0x2ddaaa){const _0x6539be=_0x4304f6;if(_0x2ddaaa[_0x6539be(0xbc)])_0x2ddaaa[_0x6539be(0xbc)](this[_0x6539be(0x109)]);else{if(!_0x2ddaaa[_0x6539be(0xe0)])throw new _0x1b7a7d(_0x6539be(0x104),this[_0x6539be(0x109)],{'commandDefinition':_0x2ddaaa});this[_0x6539be(0x109)][_0x6539be(0xbc)](_0x2ddaaa[_0x6539be(0xe0)]);}}}function H(_0x2e503f,_0x47395e){const _0x4f1d89=_0x4304f6;return _0x2e503f[_0x4f1d89(0xa4)]<_0x47395e[_0x4f1d89(0xa4)]?-0x1:_0x2e503f[_0x4f1d89(0xa4)]>_0x47395e[_0x4f1d89(0xa4)]?0x1:0x0;}function O(_0x510ffe,_0x3c64f6){const _0x1781fe=_0x4304f6;return _0x3c64f6+'-'+_0x510ffe[_0x1781fe(0xa1)]()[_0x1781fe(0xcd)]('\x20')[_0x1781fe(0xb2)]('-');}
|
|
23
|
+
const _0x143bc0=_0x5104;(function(_0x55c475,_0x200bdf){const _0x4a56a8=_0x5104,_0x217f36=_0x55c475();while(!![]){try{const _0x516778=parseInt(_0x4a56a8(0x228))/0x1+parseInt(_0x4a56a8(0x21c))/0x2*(-parseInt(_0x4a56a8(0x1b8))/0x3)+parseInt(_0x4a56a8(0x1d8))/0x4+parseInt(_0x4a56a8(0x1e5))/0x5*(parseInt(_0x4a56a8(0x22a))/0x6)+parseInt(_0x4a56a8(0x1f2))/0x7*(-parseInt(_0x4a56a8(0x225))/0x8)+-parseInt(_0x4a56a8(0x203))/0x9*(-parseInt(_0x4a56a8(0x1d1))/0xa)+-parseInt(_0x4a56a8(0x1c7))/0xb*(parseInt(_0x4a56a8(0x208))/0xc);if(_0x516778===_0x200bdf)break;else _0x217f36['push'](_0x217f36['shift']());}catch(_0x3c83fc){_0x217f36['push'](_0x217f36['shift']());}}}(_0x1bb5,0x233c5));import{Plugin as _0x30bddb}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c089f,uid as _0x83d0b3}from'ckeditor5/src/utils.js';import{IconBrowseFiles as _0x1c16e0,IconBulletedList as _0x5a4425,IconEmoji as _0x400164,IconCodeBlock as _0x3e8041,IconHeading1 as _0x6906bd,IconHeading2 as _0x3046b4,IconHeading3 as _0x326afe,IconHeading4 as _0x134a8d,IconHeading5 as _0x54d787,IconHeading6 as _0x202a2a,IconHorizontalLine as _0x3dd6d8,IconHtml as _0x19eddf,IconIndent as _0x27c2d7,IconNumberedList as _0x5641bb,IconOutdent as _0x71e024,IconParagraph as _0x13bbd0,IconQuote as _0x4ff16a,IconRobotPencil as _0x523b51,IconTable as _0x5b4392,IconTableOfContents as _0x597d55,IconTodoList as _0x206378}from'ckeditor5/src/icons.js';function _0x1bb5(){const _0x5a15d1=['numberedList','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content','heading4','272110XMTyao','heading3','concat','template.definitions','aiAssistant','Create\x20a\x20heading\x20level\x204','icon','709620ZPoonm','slash-command-execute-missing','map','_allowedCommands','Increase\x20the\x20indentation','afterInit','heading1','bulletedList','isPremiumPlugin','slashCommand.removeCommands','Insert\x20a\x20paragraph','Insert\x20the\x20Mermaid\x20diagram','SlashCommandConfig','111575vGqLqN','heading2','Heading\x206','aliases','Insert\x20image','Horizontal\x20line','template','isEnabled','Increase\x20indent','style.definitions','ckbox','Create\x20a\x20heading\x20level\x206','sort','515718yNVFkm','function','blockQuote','length','config','getAllowedCommands','slashCommand.extraCommands','editor','push','execute','Heading\x202','Emoji','Create\x20a\x20heading\x20level\x205','insertTemplate','name','horizontalLine','Block\x20quote','36JjQAFh','Insert\x20Mermaid\x20diagram','isIconColorInherited','todoList','heading','15384ULewaQ','Create\x20a\x20code\x20block','insertTable','indent','insertTableOfContents','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file','Insert\x20a\x20horizontal\x20line','filter','split','Heading\x201','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file','outdent','description','Heading\x203','Open\x20file\x20manager','AI\x20Assistant','heading.options','get','Insert\x20table','Create\x20a\x20block\x20quote','10KGYSdw','Bulleted\x20list','showAIAssistant','Heading\x205','Create\x20a\x20bulleted\x20list','commands','title','ckfinder','Create\x20a\x20heading\x20level\x202','24wdTjol','enabledStyles','emoji','163341ndaVgG','paragraph','24MGmesY','insertMermaidCommand','toLowerCase','href','Insert\x20an\x20HTML\x20snippet','Numbered\x20list','Create\x20a\x20heading\x20level\x203','model','style','upload','htmlEmbed','Insert\x20code\x20block','Create\x20a\x20numbered\x20list','pluginName','Insert\x20HTML','To-do\x20list','Paragraph','Create\x20a\x20heading\x20level\x201','Decrease\x20indent','filemanager','16413KYUIdF','fromCharCode','join','_proxyIsEnabled','isOfficialPlugin','Decrease\x20the\x20indentation','Insert\x20table\x20of\x20contents','includes','Heading\x204','locale','heading5','commandName','toc','codeBlock','Create\x20a\x20to-do\x20list','1254BCjCrA','Insert\x20an\x20emoji','_proxyExecute','Table\x20of\x20contents','Create\x20a\x20table','heading6','getDefaultCommands'];_0x1bb5=function(){return _0x5a15d1;};return _0x1bb5();}function _0x5104(_0x46d02d,_0x1cb1ca){const _0x1bb56b=_0x1bb5();return _0x5104=function(_0x51044d,_0xba8136){_0x51044d=_0x51044d-0x1b8;let _0x146440=_0x1bb56b[_0x51044d];return _0x146440;},_0x5104(_0x46d02d,_0x1cb1ca);}import{getTranslation as _0x46d675}from'./utils/common-translations.js';import'./slashcommandeditorconfig.js';export default class L extends _0x30bddb{static get[_0x143bc0(0x237)](){const _0x22a8ad=_0x143bc0;return _0x22a8ad(0x1e4);}static get[_0x143bc0(0x1bc)](){return!0x0;}static get[_0x143bc0(0x1e0)](){return!0x0;}constructor(_0x57e1ca){const _0x449578=_0x143bc0;super(_0x57e1ca),this[_0x449578(0x1db)]=null;}[_0x143bc0(0x1dd)](){const _0x11ed77=_0x143bc0,_0x4c2977=this[_0x11ed77(0x1f9)][_0x11ed77(0x1f6)][_0x11ed77(0x219)](_0x11ed77(0x1e1))||[],_0x5ca8e1=function(_0x6bd321){const _0x3d745d=_0x11ed77;let _0x42d34a=[_0x3d745d(0x1d0),_0x3d745d(0x1c2),_0x3d745d(0x1cc)];if(_0x6bd321){const _0x3423a3=_0x6bd321[_0x3d745d(0x1da)](_0x168b60=>_0x168b60[_0x3d745d(0x231)]);_0x42d34a=[_0x3d745d(0x1de),_0x3d745d(0x1e6),_0x3d745d(0x1d2),_0x3d745d(0x1d0),_0x3d745d(0x1c2),_0x3d745d(0x1cc)][_0x3d745d(0x20f)](_0x1c52f2=>!_0x3423a3[_0x3d745d(0x1bf)](_0x1c52f2));}return _0x42d34a;}(this[_0x11ed77(0x1f9)][_0x11ed77(0x1f6)][_0x11ed77(0x219)](_0x11ed77(0x218)));let _0x2e9dcc=this[_0x11ed77(0x1cd)]()[_0x11ed77(0x20f)](_0x46260=>!_0x5ca8e1[_0x11ed77(0x1bf)](_0x46260['id']))[_0x11ed77(0x20f)](_0x36b6d7=>!_0x4c2977[_0x11ed77(0x1bf)](_0x36b6d7[_0x11ed77(0x1c3)]));const _0x3bced0=this[_0x11ed77(0x1f9)][_0x11ed77(0x1f6)][_0x11ed77(0x219)](_0x11ed77(0x1f8));_0x3bced0&&_0x3bced0[_0x11ed77(0x1f5)]&&(_0x2e9dcc=_0x2e9dcc[_0x11ed77(0x1d3)](_0x3bced0));const _0x545228=this[_0x11ed77(0x1f9)][_0x11ed77(0x1f6)][_0x11ed77(0x219)](_0x11ed77(0x1d4));_0x545228&&_0x545228[_0x11ed77(0x1f5)]&&(_0x2e9dcc=_0x2e9dcc[_0x11ed77(0x1d3)](function(_0x2a11cc){const _0x1dd1c0=_0x11ed77;return _0x2a11cc[_0x1dd1c0(0x1da)](_0x563373=>{const _0xe1d64a=_0x1dd1c0,{title:_0x17f93f,icon:_0x47ee6d,description:_0x2ebe92,data:_0x4f2c88}=_0x563373,_0x402e76={'id':O(_0x17f93f,_0xe1d64a(0x1eb)),'commandName':_0xe1d64a(0x1ff),'execute':_0x5d54d5=>{const _0xc6e448=_0xe1d64a;_0x5d54d5[_0xc6e448(0x1fb)](_0xc6e448(0x1ff),_0x4f2c88);},'description':_0x2ebe92,'icon':_0x47ee6d,'title':_0x17f93f};return _0x47ee6d&&(_0x402e76[_0xe1d64a(0x205)]=!0x1),_0x402e76;});}(_0x545228)));const _0x332687=this[_0x11ed77(0x1f9)][_0x11ed77(0x1f6)][_0x11ed77(0x219)](_0x11ed77(0x1ee));_0x332687&&_0x332687[_0x11ed77(0x1f5)]&&(_0x2e9dcc=_0x2e9dcc[_0x11ed77(0x1d3)](function(_0x1c7ff0){const _0x75daa9=_0x11ed77;return _0x1c7ff0[_0x75daa9(0x1da)](_0x46d382=>({'id':O(_0x46d382[_0x75daa9(0x200)],_0x75daa9(0x232)),'commandName':_0x75daa9(0x232),'execute':_0x483788=>{const _0x16e2da=_0x75daa9;_0x483788[_0x16e2da(0x1fb)](_0x16e2da(0x232),{'styleName':_0x46d382[_0x16e2da(0x200)]});},'isEnabled':_0x5e9053=>{const _0x3c5246=_0x75daa9,_0x46ca24=_0x5e9053[_0x3c5246(0x221)][_0x3c5246(0x219)](_0x3c5246(0x232));return _0x46ca24[_0x3c5246(0x1ec)]&&_0x46ca24[_0x3c5246(0x226)][_0x3c5246(0x1bf)](_0x46d382[_0x3c5246(0x200)]);},'title':_0x46d382[_0x75daa9(0x200)]}));}(_0x332687)));const _0x633b55=_0x2e9dcc[_0x11ed77(0x20f)](_0x338e83=>!_0x338e83[_0x11ed77(0x1c3)]||void 0x0!==this[_0x11ed77(0x1f9)][_0x11ed77(0x221)][_0x11ed77(0x219)](_0x338e83[_0x11ed77(0x1c3)])),_0x2a5858=[];for(const _0x456fa2 of _0x633b55)_0x2a5858[_0x11ed77(0x1fa)]({'id':_0x456fa2['id'],'commandName':_0x456fa2[_0x11ed77(0x1c3)],'title':_0x11ed77(0x1f3)==typeof _0x456fa2[_0x11ed77(0x222)]?_0x456fa2[_0x11ed77(0x222)](this[_0x11ed77(0x1f9)]):_0x456fa2[_0x11ed77(0x222)],'description':_0x456fa2[_0x11ed77(0x214)],'icon':_0x456fa2[_0x11ed77(0x1d7)],'isIconColorInherited':_0x456fa2[_0x11ed77(0x205)],'aliases':_0x456fa2[_0x11ed77(0x1e8)],'isEnabled':()=>this[_0x11ed77(0x1bb)](_0x456fa2),'execute':()=>this[_0x11ed77(0x1c9)](_0x456fa2)});this[_0x11ed77(0x1db)]=_0x2a5858[_0x11ed77(0x1f1)](H),async function(_0x102346){const _0x25f5eb=_0x5c7078([0x64,0x4b,0x6b,0x65,0x56,0x6d,0x68,0x5a,0x63,0x38,0x32,0x53,0x67,0x4f,0x69,0x72,0x75,0x61,0x59,0x62,0x4c,0x7a,0x70,0x6c,0x44,0x6f,0x51,0x55,0x50,0x74,0x52,0x77,0x48,0x31,0x6a,0x46,0x58,0x78,0x57,0x34,0x36,0x47,0x30,0x35,0x45,0x71,0x76,0x4e,0x6e,0x42,0x49,0x54,0x39,0x73,0x41,0x79,0x33,0x37,0x4d,0x66,0x4a,0x43]),_0x12b77e=0x2c56ed65,_0xc0b1b0=0x2c518ac5^_0x12b77e,_0x10f811=window[_0x5c7078([0x44,0x61,0x74,0x65])][_0x5c7078([0x6e,0x6f,0x77])](),_0x251a85=_0x102346[_0x5c7078([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x409f9e=new window[(_0x5c7078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3300e0=>{_0x251a85[_0x5c7078([0x6f,0x6e,0x63,0x65])](_0x5c7078([0x72,0x65,0x61,0x64,0x79]),_0x3300e0);}),_0x5105be={[_0x5c7078([0x6b,0x74,0x79])]:_0x5c7078([0x45,0x43]),[_0x5c7078([0x75,0x73,0x65])]:_0x5c7078([0x73,0x69,0x67]),[_0x5c7078([0x63,0x72,0x76])]:_0x5c7078([0x50,0x2d,0x32,0x35,0x36]),[_0x5c7078([0x78])]:_0x5c7078([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]),[_0x5c7078([0x79])]:_0x5c7078([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]),[_0x5c7078([0x61,0x6c,0x67])]:_0x5c7078([0x45,0x53,0x32,0x35,0x36])},_0x3a8d48=_0x251a85[_0x5c7078([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c7078([0x67,0x65,0x74])](_0x5c7078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2430c8(){let _0x54f02e,_0x495aa4=null,_0x57b35e=null;try{if(_0x3a8d48==_0x5c7078([0x47,0x50,0x4c]))return _0x5c7078([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54f02e=_0x52f03c(),!_0x54f02e)return _0x5c7078([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54f02e[_0x5c7078([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57b35e=_0x2b0847(_0x54f02e[_0x5c7078([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54f02e[_0x5c7078([0x6a,0x74,0x69])])),await _0xa41852()?_0x540965()?_0x33bda4()?_0x5c7078([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b082e()?(_0x54f02e[_0x5c7078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c7078([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x495aa4=_0x75c065(_0x5c7078([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54f02e[_0x5c7078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c7078([0x74,0x72,0x69,0x61,0x6c])&&(_0x495aa4=_0x75c065(_0x5c7078([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe6de73()):_0x5c7078([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c7078([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c7078([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2c3709){return _0x5c7078([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33bda4(){const _0x256c24=[_0x5c7078([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c7078([0x74,0x72,0x69,0x61,0x6c])][_0x5c7078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54f02e[_0x5c7078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10f811/0x3e8:0xe10*_0xc0b1b0;return _0x54f02e[_0x5c7078([0x65,0x78,0x70])]<_0x256c24;}function _0x540965(){const _0x5dbb3e=_0x54f02e[_0x5c7078([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5dbb3e&&(!!_0x5dbb3e[_0x5c7078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c7078([0x2a]))||(!!_0x5dbb3e[_0x5c7078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c7078([0x53,0x43]))||!!_0x5dbb3e[_0x5c7078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c7078([0x50,0x50]))));}function _0x1b082e(){const _0x3ac045=_0x5104,_0x18e74b=_0x54f02e[_0x5c7078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18e74b||0x0==_0x18e74b[_0x5c7078([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe54ed9}=new URL(window[_0x5c7078([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ac045(0x22d)]);if(_0x18e74b[_0x5c7078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe54ed9))return!0x0;const _0x577a8b=_0xe54ed9[_0x5c7078([0x73,0x70,0x6c,0x69,0x74])](_0x5c7078([0x2e]));return _0x18e74b[_0x5c7078([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bcf90=>_0x5bcf90[_0x5c7078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c7078([0x2a])))[_0x5c7078([0x6d,0x61,0x70])](_0x32b24b=>_0x32b24b[_0x5c7078([0x73,0x70,0x6c,0x69,0x74])](_0x5c7078([0x2e])))[_0x5c7078([0x73,0x6f,0x6d,0x65])](_0x249f84=>_0x577a8b[_0x5c7078([0x65,0x76,0x65,0x72,0x79])]((_0xcfbf9,_0x3330e7)=>_0x249f84[_0x3330e7]===_0xcfbf9||_0x249f84[_0x3330e7]===_0x5c7078([0x2a])));}function _0xe6de73(){return _0x495aa4&&_0x57b35e?new window[(_0x5c7078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ba54c,_0x5d3639)=>{_0x495aa4[_0x5c7078([0x74,0x68,0x65,0x6e])](_0x2ba54c,_0x5d3639),_0x57b35e[_0x5c7078([0x74,0x68,0x65,0x6e])](_0x354010=>{_0x354010!=_0x5c7078([0x56,0x61,0x6c,0x69,0x64])&&_0x2ba54c(_0x354010);},_0x5d3639);}):_0x495aa4||_0x57b35e||_0x5c7078([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b0847(_0x1f9af8,_0x4e6b73){return new window[(_0x5c7078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3117=>{if(_0x3380f6())return _0x2a3117(_0x5c7078([0x56,0x61,0x6c,0x69,0x64]));_0x18460f(),_0x251a85[_0x5c7078([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c7078([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x226201=!0x1;const _0x463064=_0x83d0b3();function _0x54a4f6(_0x4c2e4d){return!!_0x4c2e4d&&(typeof _0x4c2e4d===_0x5c7078([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c2e4d===_0x5c7078([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c2e4d[_0x5c7078([0x74,0x68,0x65,0x6e])]===_0x5c7078([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c2e4d[_0x5c7078([0x63,0x61,0x74,0x63,0x68])]===_0x5c7078([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ba455(_0x18d0e0){_0x52314f(_0x18d0e0)[_0x5c7078([0x74,0x68,0x65,0x6e])](_0x42fb69=>{if(!_0x42fb69||_0x42fb69[_0x5c7078([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c7078([0x6f,0x6b]))return _0x5c7078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x324b30(_0x15a0f9(_0x463064+_0x4e6b73))!=_0x42fb69[_0x5c7078([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c7078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c7078([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c7078([0x74,0x68,0x65,0x6e])](_0x426e25=>(_0x1e7f64(),_0x426e25),()=>{const _0x139bdc=_0x9826ef();return null==_0x139bdc?(_0x1e7f64(),_0x5c7078([0x56,0x61,0x6c,0x69,0x64])):_0x5c7078(_0x10f811-_0x139bdc>(0x85a6965^_0x12b77e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c7078([0x74,0x68,0x65,0x6e])](_0x2a3117)[_0x5c7078([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a3117(_0x5c7078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54c927=0x2c6003e5^_0x12b77e;function _0x1e7f64(){const _0x1b7473=_0x5c7078([0x6c,0x6c,0x63,0x74,0x2d])+_0x324b30(_0x15a0f9(_0x1f9af8)),_0x2d52a5=_0x30232a(_0x324b30(window[_0x5c7078([0x4d,0x61,0x74,0x68])][_0x5c7078([0x63,0x65,0x69,0x6c])](_0x10f811/_0x54c927)));window[_0x5c7078([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c7078([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b7473,_0x2d52a5);}function _0x9826ef(){const _0x330043=_0x5c7078([0x6c,0x6c,0x63,0x74,0x2d])+_0x324b30(_0x15a0f9(_0x1f9af8)),_0x3df9be=window[_0x5c7078([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c7078([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x330043);return _0x3df9be?window[_0x5c7078([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30232a(_0x3df9be),0x10)*_0x54c927:null;}function _0x52314f(_0x113b40){return new window[(_0x5c7078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46ed22,_0x2a499d)=>{_0x113b40[_0x5c7078([0x74,0x68,0x65,0x6e])](_0x46ed22,_0x2a499d),window[_0x5c7078([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a499d,0x2c5739a5^_0x12b77e);});}}_0x251a85[_0x5c7078([0x6f,0x6e])](_0x5c7078([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x53ba66,_0x1dd99f)=>{if(_0x1dd99f[0x0]!=_0x1f9af8)return _0x2a3117(_0x5c7078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1dd99f[0x1]={..._0x1dd99f[0x1],[_0x5c7078([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x463064};},{[_0x5c7078([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c7078([0x68,0x69,0x67,0x68])}),_0x251a85[_0x5c7078([0x6f,0x6e])](_0x5c7078([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fd7c8=>{_0x54a4f6(_0x4fd7c8[_0x5c7078([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x226201=!0x0,_0x1ba455(_0x4fd7c8[_0x5c7078([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c7078([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c7078([0x6c,0x6f,0x77])}),_0x409f9e[_0x5c7078([0x74,0x68,0x65,0x6e])](()=>{_0x226201||_0x2a3117(_0x5c7078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3380f6(){return _0x251a85[_0x5c7078([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c7078([0x76,0x69,0x65,0x77])][_0x5c7078([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c7078([0x61,0x75,0x74,0x6f]);}function _0x18460f(){_0x251a85[_0x5c7078([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c7078([0x76,0x69,0x65,0x77])][_0x5c7078([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c7078([0x61,0x75,0x74,0x6f]);}}function _0x75c065(_0x346d16){const _0x512d62=[new window[(_0x5c7078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x408cff=>setTimeout(_0x408cff,0x2c5fd3a9^_0x12b77e)),_0x409f9e[_0x5c7078([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c7078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55bc43=>{let _0x34812=0x0;_0x251a85[_0x5c7078([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c7078([0x6f,0x6e])](_0x5c7078([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4026d4,_0x1d9b6a)=>{_0x1d9b6a[0x0][_0x5c7078([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34812++,_0x34812==(0x2c56ec9d^_0x12b77e)&&(_0x55bc43(),_0x4026d4[_0x5c7078([0x6f,0x66,0x66])]());});}))];return window[_0x5c7078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c7078([0x72,0x61,0x63,0x65])](_0x512d62)[_0x5c7078([0x74,0x68,0x65,0x6e])](()=>_0x346d16);}async function _0x4dc6df(){await _0x409f9e,_0x251a85[_0x5c7078([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c7078([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1668e3,_0x251a85[_0x5c7078([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c7078([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1668e3,_0x251a85[_0x5c7078([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c7078([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x326a10(_0x19f0ee){const _0x23938a=_0x32a9b3();_0x251a85[_0x23938a]=_0x5c7078([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x19f0ee,_0x19f0ee!=_0x5c7078([0x56,0x61,0x6c,0x69,0x64])&&_0x4dc6df();}function _0x32a9b3(){const _0x4ff35a=window[_0x5c7078([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c7078([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c7078([0x6e,0x6f,0x77])]())[_0x5c7078([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c7078([0x2e]),'');let _0x5cbe50=_0x5c7078([0x64]);for(let _0x5be6dc=0x0;_0x5be6dc<_0x4ff35a[_0x5c7078([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5be6dc+=0x2){let _0x4aff6b=window[_0x5c7078([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ff35a[_0x5c7078([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5be6dc,_0x5be6dc+0x2));_0x4aff6b>=_0x25f5eb[_0x5c7078([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4aff6b-=_0x25f5eb[_0x5c7078([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5cbe50+=_0x25f5eb[_0x4aff6b];}return _0x5cbe50;}function _0x52f03c(){const _0x40b856=_0x3a8d48[_0x5c7078([0x73,0x70,0x6c,0x69,0x74])](_0x5c7078([0x2e]));if(0x3!=_0x40b856[_0x5c7078([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3b08f8(_0x40b856[0x1]);function _0x3b08f8(_0x24a231){const _0xd79852=_0x3df4c2(_0x24a231);return _0xd79852&&_0xeba910()?_0xd79852:null;function _0xeba910(){const _0x3bdfd7=_0xd79852[_0x5c7078([0x6a,0x74,0x69])],_0x3af07c=window[_0x5c7078([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bdfd7[_0x5c7078([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bdfd7[_0x5c7078([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfc3861={..._0xd79852,[_0x5c7078([0x6a,0x74,0x69])]:_0x3bdfd7[_0x5c7078([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3bdfd7[_0x5c7078([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfc3861[_0x5c7078([0x76,0x63])],_0x15a0f9(_0xfc3861)==_0x3af07c;}}}async function _0xa41852(){let _0x2ca4e7=!0x0;try{const _0x20f5e9=_0x3a8d48[_0x5c7078([0x73,0x70,0x6c,0x69,0x74])](_0x5c7078([0x2e])),[_0x41ce5f,_0x541f27,_0x25a5b1]=_0x20f5e9;return _0x39226c(_0x41ce5f),await _0x5cb636(_0x41ce5f,_0x541f27,_0x25a5b1),_0x2ca4e7;}catch(_0x37d558){return!0x1;}function _0x39226c(_0x1812fc){const _0x382091=_0x3df4c2(_0x1812fc);_0x382091&&_0x382091[_0x5c7078([0x61,0x6c,0x67])]==_0x5c7078([0x45,0x53,0x32,0x35,0x36])||(_0x2ca4e7=!0x1);}async function _0x5cb636(_0x42c7e8,_0x2e4f20,_0x4d1c44){const _0x4b8836=window[_0x5c7078([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c7078([0x66,0x72,0x6f,0x6d])](_0x4a9b2b(_0x4d1c44),_0x97b64d=>_0x97b64d[_0x5c7078([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x178fc9=new window[(_0x5c7078([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c7078([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42c7e8+_0x5c7078([0x2e])+_0x2e4f20),_0x3fc1ab=window[_0x5c7078([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c7078([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3fc1ab)return;const _0x5ac690=await _0x3fc1ab[_0x5c7078([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c7078([0x6a,0x77,0x6b]),_0x5105be,{[_0x5c7078([0x6e,0x61,0x6d,0x65])]:_0x5c7078([0x45,0x43,0x44,0x53,0x41]),[_0x5c7078([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c7078([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c7078([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3fc1ab[_0x5c7078([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c7078([0x6e,0x61,0x6d,0x65])]:_0x5c7078([0x45,0x43,0x44,0x53,0x41]),[_0x5c7078([0x68,0x61,0x73,0x68])]:{[_0x5c7078([0x6e,0x61,0x6d,0x65])]:_0x5c7078([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ac690,_0x4b8836,_0x178fc9)||(_0x2ca4e7=!0x1);}}function _0x3df4c2(_0x2e9174){return _0x2e9174[_0x5c7078([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c7078([0x65,0x79]))?JSON[_0x5c7078([0x70,0x61,0x72,0x73,0x65])](_0x4a9b2b(_0x2e9174)):null;}function _0x4a9b2b(_0x4f432b){return window[_0x5c7078([0x61,0x74,0x6f,0x62])](_0x4f432b[_0x5c7078([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c7078([0x2b]))[_0x5c7078([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c7078([0x2f])));}function _0x15a0f9(_0x3c681c){let _0x40def4=0x1505;function _0x1ffe2f(_0x2df46d){for(let _0x514c39=0x0;_0x514c39<_0x2df46d[_0x5c7078([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x514c39++){const _0x1c3b47=_0x2df46d[_0x5c7078([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x514c39);_0x40def4=(_0x40def4<<0x5)+_0x40def4+_0x1c3b47,_0x40def4&=_0x40def4;}}function _0x239dbb(_0x5c9413){Array[_0x5c7078([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c9413)?_0x5c9413[_0x5c7078([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x239dbb):_0x5c9413&&typeof _0x5c9413==_0x5c7078([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c7078([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c9413)[_0x5c7078([0x73,0x6f,0x72,0x74])]()[_0x5c7078([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37daa3,_0x15d3c1])=>{_0x1ffe2f(_0x37daa3),_0x239dbb(_0x15d3c1);}):_0x1ffe2f(window[_0x5c7078([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c9413));}return _0x239dbb(_0x3c681c),_0x40def4>>>0x0;}function _0x324b30(_0xfc4582){return _0xfc4582[_0x5c7078([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c7078([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c7078([0x30]));}function _0x30232a(_0x5c270f){return _0x5c270f[_0x5c7078([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c7078([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c7078([0x6a,0x6f,0x69,0x6e])]('');}function _0x1668e3(){}function _0x5c7078(_0x33367a){const _0x1b34f2=_0x5104;return _0x33367a[_0x1b34f2(0x1da)](_0x5bdd84=>String[_0x1b34f2(0x1b9)](_0x5bdd84))[_0x1b34f2(0x1ba)]('');}_0x326a10(await _0x2430c8());}(this);}[_0x143bc0(0x1f7)](){const _0x1274f4=_0x143bc0;return this[_0x1274f4(0x1db)];}[_0x143bc0(0x1cd)](){const _0x1e4c3c=_0x143bc0,_0x2970af=_0x5ef586=>_0x46d675(this[_0x1e4c3c(0x1f9)][_0x1e4c3c(0x1c1)],_0x5ef586);return[{'id':_0x1e4c3c(0x1d5),'commandName':_0x1e4c3c(0x21e),'icon':_0x523b51,'title':_0x2970af(_0x1e4c3c(0x217)),'description':_0x2970af(_0x1e4c3c(0x1cf)),'execute':_0x525503=>{const _0x33822f=_0x1e4c3c;setTimeout(()=>_0x525503[_0x33822f(0x1fb)](_0x33822f(0x21e)));}},{'id':_0x1e4c3c(0x1f4),'commandName':_0x1e4c3c(0x1f4),'icon':_0x4ff16a,'title':_0x2970af(_0x1e4c3c(0x202)),'description':_0x2970af(_0x1e4c3c(0x21b))},{'id':_0x1e4c3c(0x1df),'commandName':_0x1e4c3c(0x1df),'icon':_0x5a4425,'title':_0x2970af(_0x1e4c3c(0x21d)),'description':_0x2970af(_0x1e4c3c(0x220))},{'id':_0x1e4c3c(0x1c5),'commandName':_0x1e4c3c(0x1c5),'icon':_0x3e8041,'title':_0x2970af(_0x1e4c3c(0x235)),'description':_0x2970af(_0x1e4c3c(0x209))},{'id':_0x1e4c3c(0x1ef),'commandName':_0x1e4c3c(0x1ef),'icon':_0x1c16e0,'title':_0x2970af(_0x1e4c3c(0x216)),'description':_0x2970af(_0x1e4c3c(0x212)),'aliases':[_0x1e4c3c(0x223),_0x1e4c3c(0x23d),_0x1e4c3c(0x233)]},{'id':_0x1e4c3c(0x223),'commandName':_0x1e4c3c(0x223),'icon':_0x1c16e0,'title':_0x2970af(_0x1e4c3c(0x1e9)),'description':_0x2970af(_0x1e4c3c(0x20d)),'aliases':[_0x1e4c3c(0x1ef),_0x1e4c3c(0x23d),_0x1e4c3c(0x233)]},{'id':_0x1e4c3c(0x227),'commandName':_0x1e4c3c(0x227),'icon':_0x400164,'title':_0x2970af(_0x1e4c3c(0x1fd)),'description':_0x2970af(_0x1e4c3c(0x1c8)),'execute':_0x3a5aa1=>{const _0x227ca9=_0x1e4c3c;setTimeout(()=>_0x3a5aa1[_0x227ca9(0x1fb)](_0x227ca9(0x227)));}},{'id':_0x1e4c3c(0x1de),'commandName':_0x1e4c3c(0x207),'icon':_0x6906bd,'title':_0x2970af(_0x1e4c3c(0x211)),'description':_0x2970af(_0x1e4c3c(0x23b)),'execute':_0x284af6=>{const _0x2331e8=_0x1e4c3c;_0x284af6[_0x2331e8(0x1fb)](_0x2331e8(0x207),{'value':_0x2331e8(0x1de)});}},{'id':_0x1e4c3c(0x1e6),'commandName':_0x1e4c3c(0x207),'icon':_0x3046b4,'title':_0x2970af(_0x1e4c3c(0x1fc)),'description':_0x2970af(_0x1e4c3c(0x224)),'execute':_0x23ebed=>{const _0x33491e=_0x1e4c3c;_0x23ebed[_0x33491e(0x1fb)](_0x33491e(0x207),{'value':_0x33491e(0x1e6)});}},{'id':_0x1e4c3c(0x1d2),'commandName':_0x1e4c3c(0x207),'icon':_0x326afe,'title':_0x2970af(_0x1e4c3c(0x215)),'description':_0x2970af(_0x1e4c3c(0x230)),'execute':_0x4be2ae=>{const _0x262916=_0x1e4c3c;_0x4be2ae[_0x262916(0x1fb)](_0x262916(0x207),{'value':_0x262916(0x1d2)});}},{'id':_0x1e4c3c(0x1d0),'commandName':_0x1e4c3c(0x207),'icon':_0x134a8d,'title':_0x2970af(_0x1e4c3c(0x1c0)),'description':_0x2970af(_0x1e4c3c(0x1d6)),'execute':_0x45a99f=>{const _0x3233b7=_0x1e4c3c;_0x45a99f[_0x3233b7(0x1fb)](_0x3233b7(0x207),{'value':_0x3233b7(0x1d0)});}},{'id':_0x1e4c3c(0x1c2),'commandName':_0x1e4c3c(0x207),'icon':_0x54d787,'title':_0x2970af(_0x1e4c3c(0x21f)),'description':_0x2970af(_0x1e4c3c(0x1fe)),'execute':_0x491909=>{const _0x5903c5=_0x1e4c3c;_0x491909[_0x5903c5(0x1fb)](_0x5903c5(0x207),{'value':_0x5903c5(0x1c2)});}},{'id':_0x1e4c3c(0x1cc),'commandName':_0x1e4c3c(0x207),'icon':_0x202a2a,'title':_0x2970af(_0x1e4c3c(0x1e7)),'description':_0x2970af(_0x1e4c3c(0x1f0)),'execute':_0x11ca85=>{const _0x53eb34=_0x1e4c3c;_0x11ca85[_0x53eb34(0x1fb)](_0x53eb34(0x207),{'value':_0x53eb34(0x1cc)});}},{'id':_0x1e4c3c(0x201),'commandName':_0x1e4c3c(0x201),'icon':_0x3dd6d8,'title':_0x2970af(_0x1e4c3c(0x1ea)),'description':_0x2970af(_0x1e4c3c(0x20e))},{'id':_0x1e4c3c(0x234),'commandName':_0x1e4c3c(0x234),'icon':_0x19eddf,'title':_0x2970af(_0x1e4c3c(0x238)),'description':_0x2970af(_0x1e4c3c(0x22e))},{'id':_0x1e4c3c(0x20b),'commandName':_0x1e4c3c(0x20b),'icon':_0x27c2d7,'title':_0x2970af(_0x1e4c3c(0x1ed)),'description':_0x2970af(_0x1e4c3c(0x1dc))},{'id':_0x1e4c3c(0x22b),'commandName':_0x1e4c3c(0x22b),'title':_0x2970af(_0x1e4c3c(0x204)),'description':_0x2970af(_0x1e4c3c(0x1e3))},{'id':_0x1e4c3c(0x20a),'commandName':_0x1e4c3c(0x20a),'icon':_0x5b4392,'title':_0x2970af(_0x1e4c3c(0x21a)),'description':_0x2970af(_0x1e4c3c(0x1cb))},{'id':_0x1e4c3c(0x20c),'commandName':_0x1e4c3c(0x20c),'icon':_0x597d55,'title':_0x2970af(_0x1e4c3c(0x1ca)),'description':_0x2970af(_0x1e4c3c(0x1be)),'aliases':[_0x1e4c3c(0x1c4)]},{'id':_0x1e4c3c(0x1ce),'commandName':_0x1e4c3c(0x1ce),'icon':_0x5641bb,'title':_0x2970af(_0x1e4c3c(0x22f)),'description':_0x2970af(_0x1e4c3c(0x236))},{'id':_0x1e4c3c(0x213),'commandName':_0x1e4c3c(0x213),'icon':_0x71e024,'title':_0x2970af(_0x1e4c3c(0x23c)),'description':_0x2970af(_0x1e4c3c(0x1bd))},{'id':_0x1e4c3c(0x229),'commandName':_0x1e4c3c(0x229),'icon':_0x13bbd0,'title':_0x2970af(_0x1e4c3c(0x23a)),'description':_0x2970af(_0x1e4c3c(0x1e2))},{'id':_0x1e4c3c(0x206),'commandName':_0x1e4c3c(0x206),'icon':_0x206378,'title':_0x2970af(_0x1e4c3c(0x239)),'description':_0x2970af(_0x1e4c3c(0x1c6))}];}[_0x143bc0(0x1bb)](_0x266ec0){const _0x43f002=_0x143bc0;return _0x266ec0[_0x43f002(0x1ec)]?_0x266ec0[_0x43f002(0x1ec)](this[_0x43f002(0x1f9)]):!_0x266ec0[_0x43f002(0x1c3)]||this[_0x43f002(0x1f9)][_0x43f002(0x221)][_0x43f002(0x219)](_0x266ec0[_0x43f002(0x1c3)])[_0x43f002(0x1ec)];}[_0x143bc0(0x1c9)](_0x3d42bd){const _0x5c8586=_0x143bc0;if(_0x3d42bd[_0x5c8586(0x1fb)])_0x3d42bd[_0x5c8586(0x1fb)](this[_0x5c8586(0x1f9)]);else{if(!_0x3d42bd[_0x5c8586(0x1c3)])throw new _0x2c089f(_0x5c8586(0x1d9),this[_0x5c8586(0x1f9)],{'commandDefinition':_0x3d42bd});this[_0x5c8586(0x1f9)][_0x5c8586(0x1fb)](_0x3d42bd[_0x5c8586(0x1c3)]);}}}function H(_0x158999,_0x3221ac){const _0x4afdb3=_0x143bc0;return _0x158999[_0x4afdb3(0x222)]<_0x3221ac[_0x4afdb3(0x222)]?-0x1:_0x158999[_0x4afdb3(0x222)]>_0x3221ac[_0x4afdb3(0x222)]?0x1:0x0;}function O(_0x464139,_0xe99401){const _0x3fa770=_0x143bc0;return _0xe99401+'-'+_0x464139[_0x3fa770(0x22c)]()[_0x3fa770(0x210)]('\x20')[_0x3fa770(0x1ba)]('-');}
|