@ckeditor/ckeditor5-source-editing-enhanced 47.7.0-alpha.2 → 47.7.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x47251b,PendingActions as _0x34ea7f,Plugin as _0x410d97}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3904b3,formatHtml as _0x244700,env as _0x2a4674,uid as _0x48c268}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x4728ae}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x303abb,ButtonView as _0x56a11b,MenuBarMenuListItemButtonView as _0x86d14b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x2343b5,crosshairCursor as _0x1618bd,drawSelection as _0x46e961,dropCursor as _0xacdc1b,lineNumbers as _0xaf9691,highlightActiveLine as _0x5b5aa7,highlightActiveLineGutter as _0x71268c,highlightSpecialChars as _0x575a32,rectangularSelection as _0x4384de,keymap as _0x26f8d9}from'@codemirror/view';import{Compartment as _0x5dfea1,Transaction as _0x31c27e}from'@codemirror/state';import{bracketMatching as _0x574cb9,foldGutter as _0xa90e98,indentOnInput as _0x385341,syntaxHighlighting as _0x4aee00,defaultHighlightStyle as _0x3a7008,foldKeymap as _0x410cbe}from'@codemirror/language';import{toggleTabFocusMode as _0x3f88e9,history as _0x1eb57a,defaultKeymap as _0x56f65d,historyKeymap as _0x46ec57,indentLess as _0x24ce80,indentMore as _0x184794,redo as _0x2ef74d,undo as _0x15394f}from'@codemirror/commands';import{autocompletion as _0x13270d,closeBrackets as _0x425a81,closeBracketsKeymap as _0x8b021e,completionKeymap as _0x3cbce9}from'@codemirror/autocomplete';import{html as _0x314455}from'@codemirror/lang-html';import{markdown as _0x5d36cc}from'@codemirror/lang-markdown';import{oneDark as _0x35f26a}from'@codemirror/theme-one-dark';function w(_0x31a6fd,_0x1f3eb5){const t=_0x31a6fd['t'];switch(_0x1f3eb5){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x1f3eb5;}}function r(_0x2ce4c0){const _0x2047a3=_0x2ce4c0['editing']['view']['document']['roots'],_0x2210cc=_0x2047a3['length'];if(0x0===_0x2210cc)throw new _0x3904b3('source-editing-enhanced-editor-no-root',_0x2ce4c0);if(0x1===_0x2210cc)return _0x2047a3['first']['rootName'];return Array['from'](_0x2ce4c0['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x1ba36e){return tr(_0x1ba36e['replace'](/^[\n\s]*/g,''))?_0x1ba36e['replace'](/\s+/g,''):_0x1ba36e;}function tr(_0x1a53fe){return _0x1a53fe['startsWith']('<');}function p(_0x28259c){const _0x349f24=[_0x2343b5['lineWrapping'],_0x13270d(),_0x574cb9(),_0x425a81(),_0x1618bd(),_0x46e961(),_0xacdc1b(),_0xaf9691(),_0xa90e98(),_0x5b5aa7(),_0x71268c(),_0x575a32(),_0x1eb57a(),_0x385341(),_0x4384de(),_0x4aee00(_0x3a7008,{'fallback':!0x0})],_0x2c08b9=new _0x5dfea1();_0x349f24['push'](_0x2c08b9['of'](_0x2343b5['editable']['of'](!0x0))),'html'===_0x28259c['syntaxLanguage']?_0x349f24['push'](_0x314455()):_0x349f24['push'](_0x5d36cc());const _0x281db0=function(_0x323f14){if(_0x323f14&&'default'!==_0x323f14)return'dark'===_0x323f14?_0x35f26a:_0x323f14;return null;}(_0x28259c['theme']);_0x281db0&&_0x349f24['push'](_0x281db0),_0x349f24['push'](_0x26f8d9['of']([..._0x8b021e,..._0x56f65d,..._0x46ec57,..._0x410cbe,..._0x3cbce9,{'key':'Tab','run':_0x184794,'shift':_0x24ce80,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2ef74d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2ef74d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x15394f,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x141f78=new _0x2343b5({'extensions':_0x349f24,'parent':_0x28259c['parent']});return _0x3f88e9(_0x141f78),{'focus':()=>{_0x141f78['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x141f78['focus']();},'getData':()=>_0x141f78['state']['doc']['toString'](),'setData':_0x4877c3=>{_0x141f78['dispatch']({'changes':{'from':0x0,'to':_0x141f78['state']['doc']['length'],'insert':_0x4877c3},'annotations':_0x31c27e['addToHistory']['of'](!0x1)});},'setReadOnly':_0x18bd75=>{_0x141f78['dispatch']({'effects':[_0x2c08b9['reconfigure'](_0x2343b5['editable']['of'](!_0x18bd75))]});},'destroy':()=>{_0x141f78['destroy']();},'instance':_0x141f78};}class E extends _0x303abb{['_codeEditorApi']=null;['_options'];constructor(_0x486928,_0x45c971){super(_0x486928),this['_options']=_0x45c971,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x3ffb5a,_0x128696,_0xf18c1a)=>{this['setReadOnly'](_0xf18c1a);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4eaaf0){this['_codeEditorApi']['setData'](_0x4eaaf0);}['setReadOnly'](_0x132159){this['_codeEditorApi']['setReadOnly'](_0x132159);}}const b='SourceEditingEnhancedMode';class d extends _0x47251b{constructor(_0x3e2d97){super(_0x3e2d97),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x34ea7f)['on']('change:hasAny',(_0x117b7f,_0x406adf,_0x4b2550)=>{_0x4b2550?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x56f734=this['editor'];for(const _0x1b6a0b of _0x56f734['commands']['names']())['replaceSource','editSource']['includes'](_0x1b6a0b)||_0x56f734['commands']['get'](_0x1b6a0b)['forceDisabled'](b);}['_enableCommands'](){const _0xd1a8e3=this['editor'];for(const _0xcabc5a of _0xd1a8e3['commands']['commands']())_0xcabc5a['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x32579e=this['editor'],_0x5b63a4=_0x32579e['locale'],_0x10f2d8=_0x32579e['plugins']['get']('Dialog'),_0x840fa3=r(_0x32579e),_0x329567=_0x32579e['data']['get']({'rootName':_0x840fa3}),_0x343e69=tr(_0x5c447c=_0x329567)?_0x244700(_0x5c447c):_0x5c447c;var _0x5c447c;const _0x55270e=new E(_0x5b63a4,{'syntaxLanguage':_0x32579e['plugins']['has']('Markdown')?'markdown':'html','theme':_0x32579e['config']['get']('sourceEditingEnhanced.theme')});let _0x2488c8=!0x0;const _0x4761bb=_0xb30b53=>{if(!_0x2488c8)return;return g(_0x55270e['getData']())!==g(_0x343e69)?window['confirm'](w(_0x5b63a4,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0xb30b53['stop']():void 0x0;};_0x10f2d8['show']({'id':'sourceEditingEnhanced','title':w(_0x5b63a4,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x55270e,'actionButtons':[{'label':w(_0x5b63a4,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x10f2d8['hide']();}},{'label':w(_0x5b63a4,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x513e64=g(_0x55270e['getData']())!==g(_0x343e69);(_0x513e64&&_0x32579e['execute']('replaceSource',_0x55270e['getData']()),_0x2488c8=!0x1,_0x10f2d8['hide'](),_0x513e64&&'editables'in _0x32579e['ui']['view'])&&_0x32579e['ui']['view']['editables'][_0x840fa3]['element']['focus']();},'onCreate':_0x576ded=>{_0x576ded['set']('isEnabled',!_0x32579e['isReadOnly']),_0x576ded['bind']('isEnabled')['to'](_0x32579e,'isReadOnly',this,'isEnabled',(_0x1193f1,_0x3fd8f1)=>!_0x1193f1&&_0x3fd8f1);}}],'onHide':()=>{this['_enableCommands'](),_0x10f2d8['off']('hide',_0x4761bb),_0x55270e['destroy']();},'onShow':()=>{_0x55270e['bind']('isReadOnly')['to'](_0x32579e,'isReadOnly',this,'isEnabled',(_0x5de4be,_0x33b488)=>_0x5de4be||!_0x33b488),_0x55270e['setData'](_0x343e69),_0x55270e['focus'](),_0x10f2d8['on']('hide',_0x4761bb,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x410d97{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x34ea7f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f6fa0=this['editor'],_0x38469a=_0x1f6fa0['locale'],_0x41521e=new d(_0x1f6fa0);_0x1f6fa0['commands']['add']('editSource',_0x41521e),_0x1f6fa0['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x1e4523=this['_createButton'](_0x56a11b,_0x41521e);return _0x1e4523['set']({'label':w(_0x38469a,'Source'),'icon':_0x4728ae,'tooltip':w(_0x38469a,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x1e4523;}),_0x1f6fa0['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2f14f8=this['_createButton'](_0x86d14b,_0x41521e,!0x0);return _0x2f14f8['set']({'label':w(_0x38469a,'Edit\x20source\x20modal\x20label'),'icon':_0x4728ae,'role':'menuitemcheckbox'}),_0x2f14f8;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x2d9654){const _0x17958c=_0x55e898([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x4d700f=0x5dba9314,_0xc56e7b=0x5dbd1434^_0x4d700f,_0x460a7d=window[_0x55e898([0x44,0x61,0x74,0x65])][_0x55e898([0x6e,0x6f,0x77])](),_0xae98f2=_0x2d9654[_0x55e898([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x9e65e3=new window[(_0x55e898([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x432f77=>{_0xae98f2[_0x55e898([0x6f,0x6e,0x63,0x65])](_0x55e898([0x72,0x65,0x61,0x64,0x79]),_0x432f77);}),_0x490b53={[_0x55e898([0x6b,0x74,0x79])]:_0x55e898([0x45,0x43]),[_0x55e898([0x75,0x73,0x65])]:_0x55e898([0x73,0x69,0x67]),[_0x55e898([0x63,0x72,0x76])]:_0x55e898([0x50,0x2d,0x32,0x35,0x36]),[_0x55e898([0x78])]:_0x55e898([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]),[_0x55e898([0x79])]:_0x55e898([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]),[_0x55e898([0x61,0x6c,0x67])]:_0x55e898([0x45,0x53,0x32,0x35,0x36])},_0x4f5464=_0xae98f2[_0x55e898([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55e898([0x67,0x65,0x74])](_0x55e898([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47189d(){let _0x2d5336,_0x1e8958=null,_0x3f6da5=null;try{if(_0x4f5464==_0x55e898([0x47,0x50,0x4c]))return _0x55e898([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d5336=_0xc6d9f0(),!_0x2d5336)return _0x55e898([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d5336[_0x55e898([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f6da5=_0x422865(_0x2d5336[_0x55e898([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d5336[_0x55e898([0x6a,0x74,0x69])])),await _0x13d9d6()?_0x3335e4()?_0x5a051e()?_0x55e898([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x366e1a()?(_0x2d5336[_0x55e898([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55e898([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e8958=_0x458f2c(_0x55e898([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1dbe35()):_0x55e898([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55e898([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55e898([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x55e898([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a051e(){const _0xacc7d1=[_0x55e898([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55e898([0x74,0x72,0x69,0x61,0x6c])][_0x55e898([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d5336[_0x55e898([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x460a7d/0x3e8:0xe10*_0xc56e7b;return _0x2d5336[_0x55e898([0x65,0x78,0x70])]<_0xacc7d1;}function _0x3335e4(){const _0x1f7649=_0x2d5336[_0x55e898([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f7649&&(!!_0x1f7649[_0x55e898([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55e898([0x2a]))||!!_0x1f7649[_0x55e898([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55e898([0x53,0x45,0x45])));}function _0x366e1a(){const _0xf940ac=_0x2d5336[_0x55e898([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf940ac||0x0==_0xf940ac[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1671fa}=new URL(window[_0x55e898([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf940ac[_0x55e898([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1671fa))return!0x0;const _0x1eeabb=_0x1671fa[_0x55e898([0x73,0x70,0x6c,0x69,0x74])](_0x55e898([0x2e]));return _0xf940ac[_0x55e898([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x207d02=>_0x207d02[_0x55e898([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55e898([0x2a])))[_0x55e898([0x6d,0x61,0x70])](_0x463075=>_0x463075[_0x55e898([0x73,0x70,0x6c,0x69,0x74])](_0x55e898([0x2e])))[_0x55e898([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35f6dc=>_0x35f6dc[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1eeabb[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55e898([0x6d,0x61,0x70])](_0x62c18c=>Array(_0x1eeabb[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x62c18c[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55e898([0x66,0x69,0x6c,0x6c])](_0x62c18c[0x0]===_0x55e898([0x2a])?_0x55e898([0x2a]):'')[_0x55e898([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x62c18c))[_0x55e898([0x73,0x6f,0x6d,0x65])](_0x187d47=>_0x1eeabb[_0x55e898([0x65,0x76,0x65,0x72,0x79])]((_0x1b11a2,_0x103e8e)=>_0x187d47[_0x103e8e]===_0x1b11a2||_0x187d47[_0x103e8e]===_0x55e898([0x2a])));}function _0x1dbe35(){return _0x1e8958&&_0x3f6da5?new window[(_0x55e898([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x294629,_0x4dcbe2)=>{_0x1e8958[_0x55e898([0x74,0x68,0x65,0x6e])](_0x294629,_0x4dcbe2),_0x3f6da5[_0x55e898([0x74,0x68,0x65,0x6e])](_0x46f33f=>{_0x46f33f!=_0x55e898([0x56,0x61,0x6c,0x69,0x64])&&_0x294629(_0x46f33f);},_0x4dcbe2);}):_0x1e8958||_0x3f6da5||_0x55e898([0x56,0x61,0x6c,0x69,0x64]);}}function _0x422865(_0x1dd1a6,_0x3de6b6){return new window[(_0x55e898([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bbbd8=>{if(_0x38811d())return _0x1bbbd8(_0x55e898([0x56,0x61,0x6c,0x69,0x64]));_0x1da644(),_0xae98f2[_0x55e898([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55e898([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39187d=!0x1;const _0x15d203=_0x48c268();function _0x46dda6(_0x5d6985){return!!_0x5d6985&&(typeof _0x5d6985===_0x55e898([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d6985===_0x55e898([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d6985[_0x55e898([0x74,0x68,0x65,0x6e])]===_0x55e898([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d6985[_0x55e898([0x63,0x61,0x74,0x63,0x68])]===_0x55e898([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x253111(_0x178294){_0x5389f7(_0x178294)[_0x55e898([0x74,0x68,0x65,0x6e])](_0x3134ab=>{if(!_0x3134ab||_0x3134ab[_0x55e898([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55e898([0x6f,0x6b]))return _0x55e898([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39b7e1(_0x4c82b1(_0x15d203+_0x3de6b6))!=_0x3134ab[_0x55e898([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55e898([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55e898([0x56,0x61,0x6c,0x69,0x64]);})[_0x55e898([0x74,0x68,0x65,0x6e])](_0x1bc1a2=>(_0x164c3e(),_0x1bc1a2),()=>{const _0x53e9cf=_0x1c2a9a();return null==_0x53e9cf?(_0x164c3e(),_0x55e898([0x56,0x61,0x6c,0x69,0x64])):_0x55e898(_0x460a7d-_0x53e9cf>(0x79b61714^_0x4d700f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55e898([0x74,0x68,0x65,0x6e])](_0x1bbbd8)[_0x55e898([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1bbbd8(_0x55e898([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d6e91=0x5d8c7d94^_0x4d700f;function _0x164c3e(){const _0x3404ca=_0x55e898([0x6c,0x6c,0x63,0x74,0x2d])+_0x39b7e1(_0x4c82b1(_0x1dd1a6)),_0x1344fa=_0x3d5416(_0x39b7e1(window[_0x55e898([0x4d,0x61,0x74,0x68])][_0x55e898([0x63,0x65,0x69,0x6c])](_0x460a7d/_0x5d6e91)));window[_0x55e898([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55e898([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3404ca,_0x1344fa);}function _0x1c2a9a(){const _0x45ba7b=_0x55e898([0x6c,0x6c,0x63,0x74,0x2d])+_0x39b7e1(_0x4c82b1(_0x1dd1a6)),_0x40830f=window[_0x55e898([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55e898([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45ba7b);return _0x40830f?window[_0x55e898([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d5416(_0x40830f),0x10)*_0x5d6e91:null;}function _0x5389f7(_0x401e96){return new window[(_0x55e898([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x176629,_0x2fccd2)=>{_0x401e96[_0x55e898([0x74,0x68,0x65,0x6e])](_0x176629,_0x2fccd2),window[_0x55e898([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fccd2,0x5dbb47d4^_0x4d700f);});}}_0xae98f2[_0x55e898([0x6f,0x6e])](_0x55e898([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c8b4d,_0xee8888)=>{if(_0xee8888[0x0]!=_0x1dd1a6)return _0x1bbbd8(_0x55e898([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xee8888[0x1]={..._0xee8888[0x1],[_0x55e898([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15d203};},{[_0x55e898([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55e898([0x68,0x69,0x67,0x68])}),_0xae98f2[_0x55e898([0x6f,0x6e])](_0x55e898([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38a149=>{_0x46dda6(_0x38a149[_0x55e898([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39187d=!0x0,_0x253111(_0x38a149[_0x55e898([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55e898([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55e898([0x6c,0x6f,0x77])}),_0x9e65e3[_0x55e898([0x74,0x68,0x65,0x6e])](()=>{_0x39187d||_0x1bbbd8(_0x55e898([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38811d(){return _0xae98f2[_0x55e898([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55e898([0x76,0x69,0x65,0x77])][_0x55e898([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55e898([0x61,0x75,0x74,0x6f]);}function _0x1da644(){_0xae98f2[_0x55e898([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55e898([0x76,0x69,0x65,0x77])][_0x55e898([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55e898([0x61,0x75,0x74,0x6f]);}}function _0x458f2c(_0x303167){const _0xcd4682=[new window[(_0x55e898([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2022ec=>setTimeout(_0x2022ec,0x5db3add8^_0x4d700f)),_0x9e65e3[_0x55e898([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55e898([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x593bc1=>{let _0x4b4dfc=0x0;_0xae98f2[_0x55e898([0x6d,0x6f,0x64,0x65,0x6c])][_0x55e898([0x6f,0x6e])](_0x55e898([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e8796,_0x41b1fb)=>{_0x41b1fb[0x0][_0x55e898([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b4dfc++,_0x4b4dfc==(0x5dba96fc^_0x4d700f)&&(_0x593bc1(),_0x3e8796[_0x55e898([0x6f,0x66,0x66])]());});}))];return window[_0x55e898([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55e898([0x72,0x61,0x63,0x65])](_0xcd4682)[_0x55e898([0x74,0x68,0x65,0x6e])](()=>_0x303167);}async function _0x29c1c7(){await _0x9e65e3,_0xae98f2[_0x55e898([0x6d,0x6f,0x64,0x65,0x6c])][_0x55e898([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3abe5e,_0xae98f2[_0x55e898([0x6d,0x6f,0x64,0x65,0x6c])][_0x55e898([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3abe5e,_0xae98f2[_0x55e898([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55e898([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5817b0(_0x271be3){const _0x413f96=_0x4b0c5c();_0xae98f2[_0x413f96]=_0x55e898([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x271be3,_0x271be3!=_0x55e898([0x56,0x61,0x6c,0x69,0x64])&&_0x29c1c7();}function _0x4b0c5c(){const _0x2a42c3=window[_0x55e898([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55e898([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55e898([0x6e,0x6f,0x77])]())[_0x55e898([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55e898([0x2e]),'');let _0x5d1214=_0x55e898([0x4e]);for(let _0x3b2886=0x0;_0x3b2886<_0x2a42c3[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b2886+=0x2){let _0x2009f0=window[_0x55e898([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a42c3[_0x55e898([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b2886,_0x3b2886+0x2));_0x2009f0>=_0x17958c[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2009f0-=_0x17958c[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d1214+=_0x17958c[_0x2009f0];}return _0x5d1214;}function _0xc6d9f0(){const _0x2a762b=_0x4f5464[_0x55e898([0x73,0x70,0x6c,0x69,0x74])](_0x55e898([0x2e]));if(0x3!=_0x2a762b[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2a8983(_0x2a762b[0x1]);function _0x2a8983(_0x5fa8a){const _0x8591dc=_0x40963a(_0x5fa8a);return _0x8591dc&&_0x2d2bcc()?_0x8591dc:null;function _0x2d2bcc(){const _0x4210ad=_0x8591dc[_0x55e898([0x6a,0x74,0x69])],_0x42b449=window[_0x55e898([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4210ad[_0x55e898([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4210ad[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x355f3a={..._0x8591dc,[_0x55e898([0x6a,0x74,0x69])]:_0x4210ad[_0x55e898([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4210ad[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x355f3a[_0x55e898([0x76,0x63])],_0x4c82b1(_0x355f3a)==_0x42b449;}}}async function _0x13d9d6(){let _0x52affb=!0x0;try{const _0x4c0f97=_0x4f5464[_0x55e898([0x73,0x70,0x6c,0x69,0x74])](_0x55e898([0x2e])),[_0x102f55,_0x2796ce,_0x37af78]=_0x4c0f97;return _0x6c95b5(_0x102f55),await _0x325d70(_0x102f55,_0x2796ce,_0x37af78),_0x52affb;}catch{return!0x1;}function _0x6c95b5(_0x59a8f8){const _0x30a9ec=_0x40963a(_0x59a8f8);_0x30a9ec&&_0x30a9ec[_0x55e898([0x61,0x6c,0x67])]==_0x55e898([0x45,0x53,0x32,0x35,0x36])||(_0x52affb=!0x1);}async function _0x325d70(_0x153bcf,_0x89082b,_0x4ea749){const _0x1da9b7=window[_0x55e898([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55e898([0x66,0x72,0x6f,0x6d])](_0x2b059c(_0x4ea749),_0xcf9790=>_0xcf9790[_0x55e898([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x154e9d=new window[(_0x55e898([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55e898([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x153bcf+_0x55e898([0x2e])+_0x89082b),_0x2786d7=window[_0x55e898([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55e898([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2786d7)return;const _0x4b6901=await _0x2786d7[_0x55e898([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55e898([0x6a,0x77,0x6b]),_0x490b53,{[_0x55e898([0x6e,0x61,0x6d,0x65])]:_0x55e898([0x45,0x43,0x44,0x53,0x41]),[_0x55e898([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55e898([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55e898([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2786d7[_0x55e898([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55e898([0x6e,0x61,0x6d,0x65])]:_0x55e898([0x45,0x43,0x44,0x53,0x41]),[_0x55e898([0x68,0x61,0x73,0x68])]:{[_0x55e898([0x6e,0x61,0x6d,0x65])]:_0x55e898([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b6901,_0x1da9b7,_0x154e9d)||(_0x52affb=!0x1);}}function _0x40963a(_0x401e1f){return _0x401e1f[_0x55e898([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55e898([0x65,0x79]))?JSON[_0x55e898([0x70,0x61,0x72,0x73,0x65])](_0x2b059c(_0x401e1f)):null;}function _0x2b059c(_0x3c1cad){return window[_0x55e898([0x61,0x74,0x6f,0x62])](_0x3c1cad[_0x55e898([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55e898([0x2b]))[_0x55e898([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55e898([0x2f])));}function _0x4c82b1(_0x496382){let _0xce6b6d=0x1505;function _0x178ca4(_0x45b85f){for(let _0x68543d=0x0;_0x68543d<_0x45b85f[_0x55e898([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x68543d++){const _0x22bbd5=_0x45b85f[_0x55e898([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x68543d);_0xce6b6d=(_0xce6b6d<<0x5)+_0xce6b6d+_0x22bbd5,_0xce6b6d&=_0xce6b6d;}}function _0x358c4e(_0x434d0c){Array[_0x55e898([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x434d0c)?_0x434d0c[_0x55e898([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x358c4e):_0x434d0c&&typeof _0x434d0c==_0x55e898([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55e898([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x434d0c)[_0x55e898([0x73,0x6f,0x72,0x74])]()[_0x55e898([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fe48c,_0x115fed])=>{_0x178ca4(_0x3fe48c),_0x358c4e(_0x115fed);}):_0x178ca4(window[_0x55e898([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x434d0c));}return _0x358c4e(_0x496382),_0xce6b6d>>>0x0;}function _0x39b7e1(_0x3c6e4b){return _0x3c6e4b[_0x55e898([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55e898([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55e898([0x30]));}function _0x3d5416(_0x41b6a8){return _0x41b6a8[_0x55e898([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55e898([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55e898([0x6a,0x6f,0x69,0x6e])]('');}function _0x3abe5e(){}function _0x55e898(_0x5816e6){return _0x5816e6['map'](_0x20eba9=>String['fromCharCode'](_0x20eba9))['join']('');}_0x5817b0(await _0x47189d());}(this);}['_createButton'](_0x419129,_0x514f40,_0x4b7904=!0x1){const _0x1496c7=new _0x419129(this['editor']['locale']);return _0x1496c7['set']({'withText':_0x4b7904,'isToggleable':!0x1}),_0x1496c7['bind']('isEnabled')['to'](_0x514f40,'isEnabled'),this['listenTo'](_0x1496c7,'execute',()=>_0x514f40['execute']()),_0x1496c7;}['_registerKeybindings'](){const _0x3cbd5a=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x3cbd5a,'Source\x20Editing\x20Enhanced')});const _0x512f92=_0x2a4674['isMac']||_0x2a4674['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x3cbd5a,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x3cbd5a,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x3cbd5a,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x3cbd5a,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x3cbd5a,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x3cbd5a,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x3cbd5a,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x512f92?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x3cbd5a,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x3cbd5a,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x3cbd5a,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x3cbd5a,'Select\x20line'),'keystroke':_0x512f92?'Ctrl!+L':'Alt+L'},{'label':w(_0x3cbd5a,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x512f92?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x3cbd5a,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x3cbd5a,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x3cbd5a,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x3cbd5a,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x3cbd5a,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x512f92?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x47251b{constructor(_0x12100f){super(_0x12100f),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1858a4,_0x30ce3e){const _0x1a1e38=this['editor'],_0x4b19f6=_0x30ce3e?.['rootName']??r(_0x1a1e38);_0x1a1e38['data']['set']({[_0x4b19f6]:_0x1858a4},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x410d97{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x47b752){super(_0x47b752),_0x47b752['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e4b15=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x175782;for(const _0x3a901b in _0x1e4b15){const _0x5f3d66=_0x3a901b,_0x3f592f=_0x1e4b15[_0x5f3d66];if('sourceEditingEnhancedLicenseKeyValid'==_0x3f592f||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3f592f||'sourceEditingEnhancedLicenseKeyExpired'==_0x3f592f||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3f592f||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3f592f||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3f592f||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3f592f){delete _0x1e4b15[_0x5f3d66],_0x175782=_0x3f592f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x175782&&_0x1e4b15['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x175782&&_0x1e4b15['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x175782&&_0x1e4b15['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x175782&&_0x1e4b15['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x175782&&_0x1e4b15['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x175782&&_0x1e4b15['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3883e8=this['editor'],_0xc26d0b=_0x3883e8['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0xc26d0b&&_0x3883e8['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x3904b3('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0xc26d0b&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2a48a4=>_0x3883e8['plugins']['has'](_0x2a48a4))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x3883e8['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
23
+ import{Command as _0x5c58e3,PendingActions as _0xc90e49,Plugin as _0x949e98}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x13bc4f,formatHtml as _0x1c2a46,env as _0x7eebf,uid as _0x26ca0d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x2979bf}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x248378,ButtonView as _0x3befd5,MenuBarMenuListItemButtonView as _0x167914}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0xb99385,crosshairCursor as _0x133b4e,drawSelection as _0x2e3752,dropCursor as _0x2183fb,lineNumbers as _0x5e6fc1,highlightActiveLine as _0x19b5d9,highlightActiveLineGutter as _0x436e58,highlightSpecialChars as _0x216ad7,rectangularSelection as _0x31af36,keymap as _0x14e18d}from'@codemirror/view';import{Compartment as _0x47bdc5,Transaction as _0x5c463a}from'@codemirror/state';import{bracketMatching as _0x4c3a7e,foldGutter as _0x12f3e3,indentOnInput as _0x39cddd,syntaxHighlighting as _0x219509,defaultHighlightStyle as _0x18d4d6,foldKeymap as _0x16742b}from'@codemirror/language';import{toggleTabFocusMode as _0x3de834,history as _0x14156f,defaultKeymap as _0x129581,historyKeymap as _0x45a77a,indentLess as _0x56d2b0,indentMore as _0x3f351c,redo as _0x3283ad,undo as _0x13533a}from'@codemirror/commands';import{autocompletion as _0x4bbc47,closeBrackets as _0x4e1fb2,closeBracketsKeymap as _0x7b1bc8,completionKeymap as _0x5315d7}from'@codemirror/autocomplete';import{html as _0x648a48}from'@codemirror/lang-html';import{markdown as _0xac122d}from'@codemirror/lang-markdown';import{oneDark as _0x231752}from'@codemirror/theme-one-dark';function w(_0x2fa113,_0x2cc1b3){const t=_0x2fa113['t'];switch(_0x2cc1b3){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x2cc1b3;}}function r(_0x44cfaf){const _0x1ffa52=_0x44cfaf['editing']['view']['document']['roots'],_0x577b19=_0x1ffa52['length'];if(0x0===_0x577b19)throw new _0x13bc4f('source-editing-enhanced-editor-no-root',_0x44cfaf);if(0x1===_0x577b19)return _0x1ffa52['first']['rootName'];return Array['from'](_0x44cfaf['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x4f74fd){return tr(_0x4f74fd['replace'](/^[\n\s]*/g,''))?_0x4f74fd['replace'](/\s+/g,''):_0x4f74fd;}function tr(_0x3ed44c){return _0x3ed44c['startsWith']('<');}function p(_0x4344bf){const _0xb58895=[_0xb99385['lineWrapping'],_0x4bbc47(),_0x4c3a7e(),_0x4e1fb2(),_0x133b4e(),_0x2e3752(),_0x2183fb(),_0x5e6fc1(),_0x12f3e3(),_0x19b5d9(),_0x436e58(),_0x216ad7(),_0x14156f(),_0x39cddd(),_0x31af36(),_0x219509(_0x18d4d6,{'fallback':!0x0})],_0x55234d=new _0x47bdc5();_0xb58895['push'](_0x55234d['of'](_0xb99385['editable']['of'](!0x0))),'html'===_0x4344bf['syntaxLanguage']?_0xb58895['push'](_0x648a48()):_0xb58895['push'](_0xac122d());const _0x1b77e1=function(_0x37e416){if(_0x37e416&&'default'!==_0x37e416)return'dark'===_0x37e416?_0x231752:_0x37e416;return null;}(_0x4344bf['theme']);_0x1b77e1&&_0xb58895['push'](_0x1b77e1),_0xb58895['push'](_0x14e18d['of']([..._0x7b1bc8,..._0x129581,..._0x45a77a,..._0x16742b,..._0x5315d7,{'key':'Tab','run':_0x3f351c,'shift':_0x56d2b0,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3283ad,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3283ad,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x13533a,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x50b7aa=new _0xb99385({'extensions':_0xb58895,'parent':_0x4344bf['parent']});return _0x3de834(_0x50b7aa),{'focus':()=>{_0x50b7aa['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x50b7aa['focus']();},'getData':()=>_0x50b7aa['state']['doc']['toString'](),'setData':_0x3d02c4=>{_0x50b7aa['dispatch']({'changes':{'from':0x0,'to':_0x50b7aa['state']['doc']['length'],'insert':_0x3d02c4},'annotations':_0x5c463a['addToHistory']['of'](!0x1)});},'setReadOnly':_0x292565=>{_0x50b7aa['dispatch']({'effects':[_0x55234d['reconfigure'](_0xb99385['editable']['of'](!_0x292565))]});},'destroy':()=>{_0x50b7aa['destroy']();},'instance':_0x50b7aa};}class E extends _0x248378{['_codeEditorApi']=null;['_options'];constructor(_0x522ceb,_0x14ca55){super(_0x522ceb),this['_options']=_0x14ca55,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x1ebb04,_0x516b85,_0x3be2c1)=>{this['setReadOnly'](_0x3be2c1);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1aec15){this['_codeEditorApi']['setData'](_0x1aec15);}['setReadOnly'](_0x2125bf){this['_codeEditorApi']['setReadOnly'](_0x2125bf);}}const b='SourceEditingEnhancedMode';class d extends _0x5c58e3{constructor(_0x107123){super(_0x107123),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0xc90e49)['on']('change:hasAny',(_0x4f6e28,_0x2a0517,_0x4dfe8b)=>{_0x4dfe8b?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4fd73b=this['editor'];for(const _0x4fdced of _0x4fd73b['commands']['names']())['replaceSource','editSource']['includes'](_0x4fdced)||_0x4fd73b['commands']['get'](_0x4fdced)['forceDisabled'](b);}['_enableCommands'](){const _0x24282c=this['editor'];for(const _0x4b4f7c of _0x24282c['commands']['commands']())_0x4b4f7c['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x185b39=this['editor'],_0x667ec1=_0x185b39['locale'],_0x3bc6c1=_0x185b39['plugins']['get']('Dialog'),_0x3b3148=r(_0x185b39),_0x11ce08=_0x185b39['data']['get']({'rootName':_0x3b3148}),_0x3c9c73=tr(_0x2be74f=_0x11ce08)?_0x1c2a46(_0x2be74f):_0x2be74f;var _0x2be74f;const _0x2aafe6=new E(_0x667ec1,{'syntaxLanguage':_0x185b39['plugins']['has']('Markdown')?'markdown':'html','theme':_0x185b39['config']['get']('sourceEditingEnhanced.theme')});let _0x46fe9b=!0x0;const _0x3680d4=_0xfbe6bf=>{if(!_0x46fe9b)return;return g(_0x2aafe6['getData']())!==g(_0x3c9c73)?window['confirm'](w(_0x667ec1,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0xfbe6bf['stop']():void 0x0;};_0x3bc6c1['show']({'id':'sourceEditingEnhanced','title':w(_0x667ec1,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2aafe6,'actionButtons':[{'label':w(_0x667ec1,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x3bc6c1['hide']();}},{'label':w(_0x667ec1,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x37e0bc=g(_0x2aafe6['getData']())!==g(_0x3c9c73);(_0x37e0bc&&_0x185b39['execute']('replaceSource',_0x2aafe6['getData']()),_0x46fe9b=!0x1,_0x3bc6c1['hide'](),_0x37e0bc&&'editables'in _0x185b39['ui']['view'])&&_0x185b39['ui']['view']['editables'][_0x3b3148]['element']['focus']();},'onCreate':_0x40b589=>{_0x40b589['set']('isEnabled',!_0x185b39['isReadOnly']),_0x40b589['bind']('isEnabled')['to'](_0x185b39,'isReadOnly',this,'isEnabled',(_0x5a77ad,_0x2f16fd)=>!_0x5a77ad&&_0x2f16fd);}}],'onHide':()=>{this['_enableCommands'](),_0x3bc6c1['off']('hide',_0x3680d4),_0x2aafe6['destroy']();},'onShow':()=>{_0x2aafe6['bind']('isReadOnly')['to'](_0x185b39,'isReadOnly',this,'isEnabled',(_0x114e74,_0x4b3089)=>_0x114e74||!_0x4b3089),_0x2aafe6['setData'](_0x3c9c73),_0x2aafe6['focus'](),_0x3bc6c1['on']('hide',_0x3680d4,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x949e98{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0xc90e49];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x52e28f=this['editor'],_0x4823e5=_0x52e28f['locale'],_0x2ea1cb=new d(_0x52e28f);_0x52e28f['commands']['add']('editSource',_0x2ea1cb),_0x52e28f['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x2eb30e=this['_createButton'](_0x3befd5,_0x2ea1cb);return _0x2eb30e['set']({'label':w(_0x4823e5,'Source'),'icon':_0x2979bf,'tooltip':w(_0x4823e5,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x2eb30e;}),_0x52e28f['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x26cf54=this['_createButton'](_0x167914,_0x2ea1cb,!0x0);return _0x26cf54['set']({'label':w(_0x4823e5,'Edit\x20source\x20modal\x20label'),'icon':_0x2979bf,'role':'menuitemcheckbox'}),_0x26cf54;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x241098){const _0x4a3c1d=_0x1a4209([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x133962=0x5dba9314,_0x2c40e7=0x5dbd142c^_0x133962,_0x4e95a3=window[_0x1a4209([0x44,0x61,0x74,0x65])][_0x1a4209([0x6e,0x6f,0x77])](),_0xa12d3e=_0x241098[_0x1a4209([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b4915=new window[(_0x1a4209([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cb42c=>{_0xa12d3e[_0x1a4209([0x6f,0x6e,0x63,0x65])](_0x1a4209([0x72,0x65,0x61,0x64,0x79]),_0x3cb42c);}),_0x1d9747={[_0x1a4209([0x6b,0x74,0x79])]:_0x1a4209([0x45,0x43]),[_0x1a4209([0x75,0x73,0x65])]:_0x1a4209([0x73,0x69,0x67]),[_0x1a4209([0x63,0x72,0x76])]:_0x1a4209([0x50,0x2d,0x32,0x35,0x36]),[_0x1a4209([0x78])]:_0x1a4209([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]),[_0x1a4209([0x79])]:_0x1a4209([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]),[_0x1a4209([0x61,0x6c,0x67])]:_0x1a4209([0x45,0x53,0x32,0x35,0x36])},_0x38e655=_0xa12d3e[_0x1a4209([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a4209([0x67,0x65,0x74])](_0x1a4209([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42dacc(){let _0x4b4239,_0x8fb0ee=null,_0x28fb97=null;try{if(_0x38e655==_0x1a4209([0x47,0x50,0x4c]))return _0x1a4209([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b4239=_0x8ee6ae(),!_0x4b4239)return _0x1a4209([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b4239[_0x1a4209([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28fb97=_0x3c07ba(_0x4b4239[_0x1a4209([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b4239[_0x1a4209([0x6a,0x74,0x69])])),await _0x4103b8()?_0x49625d()?_0x37a33c()?_0x1a4209([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d5a0f()?(_0x4b4239[_0x1a4209([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a4209([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8fb0ee=_0x5b1222(_0x1a4209([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x502711()):_0x1a4209([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a4209([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a4209([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a4209([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37a33c(){const _0x38563b=[_0x1a4209([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a4209([0x74,0x72,0x69,0x61,0x6c])][_0x1a4209([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b4239[_0x1a4209([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e95a3/0x3e8:0xe10*_0x2c40e7;return _0x4b4239[_0x1a4209([0x65,0x78,0x70])]<_0x38563b;}function _0x49625d(){const _0x31428d=_0x4b4239[_0x1a4209([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x31428d&&(!!_0x31428d[_0x1a4209([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4209([0x2a]))||!!_0x31428d[_0x1a4209([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4209([0x53,0x45,0x45])));}function _0x5d5a0f(){const _0x3f8383=_0x4b4239[_0x1a4209([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f8383||0x0==_0x3f8383[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x486d21}=new URL(window[_0x1a4209([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f8383[_0x1a4209([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x486d21))return!0x0;const _0x3116e5=_0x486d21[_0x1a4209([0x73,0x70,0x6c,0x69,0x74])](_0x1a4209([0x2e]));return _0x3f8383[_0x1a4209([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x119782=>_0x119782[_0x1a4209([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4209([0x2a])))[_0x1a4209([0x6d,0x61,0x70])](_0x5c3e3d=>_0x5c3e3d[_0x1a4209([0x73,0x70,0x6c,0x69,0x74])](_0x1a4209([0x2e])))[_0x1a4209([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x294d22=>_0x294d22[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3116e5[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a4209([0x6d,0x61,0x70])](_0x3a29e1=>Array(_0x3116e5[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a29e1[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a4209([0x66,0x69,0x6c,0x6c])](_0x3a29e1[0x0]===_0x1a4209([0x2a])?_0x1a4209([0x2a]):'')[_0x1a4209([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a29e1))[_0x1a4209([0x73,0x6f,0x6d,0x65])](_0x311b75=>_0x3116e5[_0x1a4209([0x65,0x76,0x65,0x72,0x79])]((_0x369a9f,_0x3cde39)=>_0x311b75[_0x3cde39]===_0x369a9f||_0x311b75[_0x3cde39]===_0x1a4209([0x2a])));}function _0x502711(){return _0x8fb0ee&&_0x28fb97?new window[(_0x1a4209([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ea304,_0x422973)=>{_0x8fb0ee[_0x1a4209([0x74,0x68,0x65,0x6e])](_0x2ea304,_0x422973),_0x28fb97[_0x1a4209([0x74,0x68,0x65,0x6e])](_0x5f4cbb=>{_0x5f4cbb!=_0x1a4209([0x56,0x61,0x6c,0x69,0x64])&&_0x2ea304(_0x5f4cbb);},_0x422973);}):_0x8fb0ee||_0x28fb97||_0x1a4209([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c07ba(_0x223cbf,_0x6b13a3){return new window[(_0x1a4209([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dc5c1=>{if(_0x5d0596())return _0x5dc5c1(_0x1a4209([0x56,0x61,0x6c,0x69,0x64]));_0x485f56(),_0xa12d3e[_0x1a4209([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a4209([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x581b24=!0x1;const _0x3b94c9=_0x26ca0d();function _0x36cf03(_0x579588){return!!_0x579588&&(typeof _0x579588===_0x1a4209([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x579588===_0x1a4209([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x579588[_0x1a4209([0x74,0x68,0x65,0x6e])]===_0x1a4209([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x579588[_0x1a4209([0x63,0x61,0x74,0x63,0x68])]===_0x1a4209([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2163cc(_0x5be6f8){_0xfef618(_0x5be6f8)[_0x1a4209([0x74,0x68,0x65,0x6e])](_0x4740fb=>{if(!_0x4740fb||_0x4740fb[_0x1a4209([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a4209([0x6f,0x6b]))return _0x1a4209([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x68c8b4(_0x2a3d37(_0x3b94c9+_0x6b13a3))!=_0x4740fb[_0x1a4209([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a4209([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a4209([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a4209([0x74,0x68,0x65,0x6e])](_0x595bee=>(_0xaf8231(),_0x595bee),()=>{const _0x3efe13=_0x376c35();return null==_0x3efe13?(_0xaf8231(),_0x1a4209([0x56,0x61,0x6c,0x69,0x64])):_0x1a4209(_0x4e95a3-_0x3efe13>(0x79b61714^_0x133962)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a4209([0x74,0x68,0x65,0x6e])](_0x5dc5c1)[_0x1a4209([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5dc5c1(_0x1a4209([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c5b50=0x5d8c7d94^_0x133962;function _0xaf8231(){const _0x6f511e=_0x1a4209([0x6c,0x6c,0x63,0x74,0x2d])+_0x68c8b4(_0x2a3d37(_0x223cbf)),_0x1c7dd0=_0x1ca150(_0x68c8b4(window[_0x1a4209([0x4d,0x61,0x74,0x68])][_0x1a4209([0x63,0x65,0x69,0x6c])](_0x4e95a3/_0x5c5b50)));window[_0x1a4209([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a4209([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6f511e,_0x1c7dd0);}function _0x376c35(){const _0xee9050=_0x1a4209([0x6c,0x6c,0x63,0x74,0x2d])+_0x68c8b4(_0x2a3d37(_0x223cbf)),_0xeff842=window[_0x1a4209([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a4209([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xee9050);return _0xeff842?window[_0x1a4209([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ca150(_0xeff842),0x10)*_0x5c5b50:null;}function _0xfef618(_0x5eda8e){return new window[(_0x1a4209([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f33b5,_0x1ffbaf)=>{_0x5eda8e[_0x1a4209([0x74,0x68,0x65,0x6e])](_0x4f33b5,_0x1ffbaf),window[_0x1a4209([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ffbaf,0x5dbb47d4^_0x133962);});}}_0xa12d3e[_0x1a4209([0x6f,0x6e])](_0x1a4209([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d6bbc,_0x23c044)=>{if(_0x23c044[0x0]!=_0x223cbf)return _0x5dc5c1(_0x1a4209([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23c044[0x1]={..._0x23c044[0x1],[_0x1a4209([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b94c9};},{[_0x1a4209([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a4209([0x68,0x69,0x67,0x68])}),_0xa12d3e[_0x1a4209([0x6f,0x6e])](_0x1a4209([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51d38f=>{_0x36cf03(_0x51d38f[_0x1a4209([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x581b24=!0x0,_0x2163cc(_0x51d38f[_0x1a4209([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a4209([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a4209([0x6c,0x6f,0x77])}),_0x5b4915[_0x1a4209([0x74,0x68,0x65,0x6e])](()=>{_0x581b24||_0x5dc5c1(_0x1a4209([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d0596(){return _0xa12d3e[_0x1a4209([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a4209([0x76,0x69,0x65,0x77])][_0x1a4209([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a4209([0x61,0x75,0x74,0x6f]);}function _0x485f56(){_0xa12d3e[_0x1a4209([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a4209([0x76,0x69,0x65,0x77])][_0x1a4209([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a4209([0x61,0x75,0x74,0x6f]);}}function _0x5b1222(_0x553b5f){const _0x1aa629=[new window[(_0x1a4209([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36a3b4=>setTimeout(_0x36a3b4,0x5db3add8^_0x133962)),_0x5b4915[_0x1a4209([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a4209([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43f8a8=>{let _0x1c08c2=0x0;_0xa12d3e[_0x1a4209([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a4209([0x6f,0x6e])](_0x1a4209([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21a080,_0x30811f)=>{_0x30811f[0x0][_0x1a4209([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c08c2++,_0x1c08c2==(0x5dba96fc^_0x133962)&&(_0x43f8a8(),_0x21a080[_0x1a4209([0x6f,0x66,0x66])]());});}))];return window[_0x1a4209([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a4209([0x72,0x61,0x63,0x65])](_0x1aa629)[_0x1a4209([0x74,0x68,0x65,0x6e])](()=>_0x553b5f);}async function _0x3067a5(){await _0x5b4915,_0xa12d3e[_0x1a4209([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a4209([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26681e,_0xa12d3e[_0x1a4209([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a4209([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26681e,_0xa12d3e[_0x1a4209([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a4209([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5435b1(_0x393ec1){const _0x4931fe=_0x476400();_0xa12d3e[_0x4931fe]=_0x1a4209([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x393ec1,_0x393ec1!=_0x1a4209([0x56,0x61,0x6c,0x69,0x64])&&_0x3067a5();}function _0x476400(){const _0x1b96c5=window[_0x1a4209([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a4209([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a4209([0x6e,0x6f,0x77])]())[_0x1a4209([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a4209([0x2e]),'');let _0x9c4ac3=_0x1a4209([0x4e]);for(let _0x35ec03=0x0;_0x35ec03<_0x1b96c5[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35ec03+=0x2){let _0x587032=window[_0x1a4209([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b96c5[_0x1a4209([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35ec03,_0x35ec03+0x2));_0x587032>=_0x4a3c1d[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x587032-=_0x4a3c1d[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9c4ac3+=_0x4a3c1d[_0x587032];}return _0x9c4ac3;}function _0x8ee6ae(){const _0xa14441=_0x38e655[_0x1a4209([0x73,0x70,0x6c,0x69,0x74])](_0x1a4209([0x2e]));if(0x3!=_0xa14441[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x264b2e(_0xa14441[0x1]);function _0x264b2e(_0x2ce1db){const _0x14b6cc=_0x1d4ab8(_0x2ce1db);return _0x14b6cc&&_0x50298d()?_0x14b6cc:null;function _0x50298d(){const _0x2c2553=_0x14b6cc[_0x1a4209([0x6a,0x74,0x69])],_0x1fa2d6=window[_0x1a4209([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c2553[_0x1a4209([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c2553[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1dcc4e={..._0x14b6cc,[_0x1a4209([0x6a,0x74,0x69])]:_0x2c2553[_0x1a4209([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c2553[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1dcc4e[_0x1a4209([0x76,0x63])],_0x2a3d37(_0x1dcc4e)==_0x1fa2d6;}}}async function _0x4103b8(){let _0x4dc9cd=!0x0;try{const _0x13eaf0=_0x38e655[_0x1a4209([0x73,0x70,0x6c,0x69,0x74])](_0x1a4209([0x2e])),[_0x3e25be,_0xdbe9e,_0x119d57]=_0x13eaf0;return _0x287b79(_0x3e25be),await _0x1f4261(_0x3e25be,_0xdbe9e,_0x119d57),_0x4dc9cd;}catch{return!0x1;}function _0x287b79(_0x45c1fe){const _0x2acc16=_0x1d4ab8(_0x45c1fe);_0x2acc16&&_0x2acc16[_0x1a4209([0x61,0x6c,0x67])]==_0x1a4209([0x45,0x53,0x32,0x35,0x36])||(_0x4dc9cd=!0x1);}async function _0x1f4261(_0x426da2,_0x2c8e99,_0x50e025){const _0x385599=window[_0x1a4209([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a4209([0x66,0x72,0x6f,0x6d])](_0x4589a1(_0x50e025),_0x290d27=>_0x290d27[_0x1a4209([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47ac9e=new window[(_0x1a4209([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a4209([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x426da2+_0x1a4209([0x2e])+_0x2c8e99),_0x1d6200=window[_0x1a4209([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a4209([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d6200)return;const _0x7c53e0=await _0x1d6200[_0x1a4209([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a4209([0x6a,0x77,0x6b]),_0x1d9747,{[_0x1a4209([0x6e,0x61,0x6d,0x65])]:_0x1a4209([0x45,0x43,0x44,0x53,0x41]),[_0x1a4209([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a4209([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a4209([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d6200[_0x1a4209([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a4209([0x6e,0x61,0x6d,0x65])]:_0x1a4209([0x45,0x43,0x44,0x53,0x41]),[_0x1a4209([0x68,0x61,0x73,0x68])]:{[_0x1a4209([0x6e,0x61,0x6d,0x65])]:_0x1a4209([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x7c53e0,_0x385599,_0x47ac9e)||(_0x4dc9cd=!0x1);}}function _0x1d4ab8(_0x3c1403){return _0x3c1403[_0x1a4209([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a4209([0x65,0x79]))?JSON[_0x1a4209([0x70,0x61,0x72,0x73,0x65])](_0x4589a1(_0x3c1403)):null;}function _0x4589a1(_0x1fc8e7){return window[_0x1a4209([0x61,0x74,0x6f,0x62])](_0x1fc8e7[_0x1a4209([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a4209([0x2b]))[_0x1a4209([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a4209([0x2f])));}function _0x2a3d37(_0x4dbbfc){let _0x2f81c9=0x1505;function _0x5328cf(_0x57e927){for(let _0x18cd4e=0x0;_0x18cd4e<_0x57e927[_0x1a4209([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18cd4e++){const _0x500725=_0x57e927[_0x1a4209([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x18cd4e);_0x2f81c9=(_0x2f81c9<<0x5)+_0x2f81c9+_0x500725,_0x2f81c9&=_0x2f81c9;}}function _0x4dc5a5(_0x272ead){Array[_0x1a4209([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x272ead)?_0x272ead[_0x1a4209([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4dc5a5):_0x272ead&&typeof _0x272ead==_0x1a4209([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a4209([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x272ead)[_0x1a4209([0x73,0x6f,0x72,0x74])]()[_0x1a4209([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x399aec,_0x4aa7e1])=>{_0x5328cf(_0x399aec),_0x4dc5a5(_0x4aa7e1);}):_0x5328cf(window[_0x1a4209([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x272ead));}return _0x4dc5a5(_0x4dbbfc),_0x2f81c9>>>0x0;}function _0x68c8b4(_0x2c5540){return _0x2c5540[_0x1a4209([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a4209([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a4209([0x30]));}function _0x1ca150(_0x5c4f7b){return _0x5c4f7b[_0x1a4209([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a4209([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a4209([0x6a,0x6f,0x69,0x6e])]('');}function _0x26681e(){}function _0x1a4209(_0x154a4a){return _0x154a4a['map'](_0x1b6d39=>String['fromCharCode'](_0x1b6d39))['join']('');}_0x5435b1(await _0x42dacc());}(this);}['_createButton'](_0x16562a,_0x245e33,_0x3a0c0a=!0x1){const _0x1cdce9=new _0x16562a(this['editor']['locale']);return _0x1cdce9['set']({'withText':_0x3a0c0a,'isToggleable':!0x1}),_0x1cdce9['bind']('isEnabled')['to'](_0x245e33,'isEnabled'),this['listenTo'](_0x1cdce9,'execute',()=>_0x245e33['execute']()),_0x1cdce9;}['_registerKeybindings'](){const _0x362f7e=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x362f7e,'Source\x20Editing\x20Enhanced')});const _0xeca677=_0x7eebf['isMac']||_0x7eebf['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x362f7e,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x362f7e,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x362f7e,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x362f7e,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x362f7e,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x362f7e,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x362f7e,'Fold\x20code\x20(current\x20level)'),'keystroke':_0xeca677?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x362f7e,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x362f7e,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x362f7e,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x362f7e,'Select\x20line'),'keystroke':_0xeca677?'Ctrl!+L':'Alt+L'},{'label':w(_0x362f7e,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0xeca677?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x362f7e,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x362f7e,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x362f7e,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x362f7e,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x362f7e,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0xeca677?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x5c58e3{constructor(_0x101cb7){super(_0x101cb7),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x32f083,_0x2eb8be){const _0x31dbe0=this['editor'],_0x190eb1=_0x2eb8be?.['rootName']??r(_0x31dbe0);_0x31dbe0['data']['set']({[_0x190eb1]:_0x32f083},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x949e98{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x181c33){super(_0x181c33),_0x181c33['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x21365c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1b90bc;for(const _0x28c3e7 in _0x21365c){const _0x5af708=_0x28c3e7,_0x553837=_0x21365c[_0x5af708];if('sourceEditingEnhancedLicenseKeyValid'==_0x553837||'sourceEditingEnhancedLicenseKeyInvalid'==_0x553837||'sourceEditingEnhancedLicenseKeyExpired'==_0x553837||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x553837||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x553837||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x553837||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x553837){delete _0x21365c[_0x5af708],_0x1b90bc=_0x553837,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1b90bc&&_0x21365c['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1b90bc&&_0x21365c['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1b90bc&&_0x21365c['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1b90bc&&_0x21365c['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1b90bc&&_0x21365c['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1b90bc&&_0x21365c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x112120=this['editor'],_0x26c0e9=_0x112120['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x26c0e9&&_0x112120['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x13bc4f('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x26c0e9&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4f930d=>_0x112120['plugins']['has'](_0x4f930d))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x112120['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "47.7.0-alpha.2",
3
+ "version": "47.7.0-alpha.3",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "47.7.0-alpha.2",
22
- "@ckeditor/ckeditor5-icons": "47.7.0-alpha.2",
23
- "@ckeditor/ckeditor5-theme-lark": "47.7.0-alpha.2",
24
- "@ckeditor/ckeditor5-ui": "47.7.0-alpha.2",
25
- "@ckeditor/ckeditor5-utils": "47.7.0-alpha.2",
21
+ "@ckeditor/ckeditor5-core": "47.7.0-alpha.3",
22
+ "@ckeditor/ckeditor5-icons": "47.7.0-alpha.3",
23
+ "@ckeditor/ckeditor5-theme-lark": "47.7.0-alpha.3",
24
+ "@ckeditor/ckeditor5-ui": "47.7.0-alpha.3",
25
+ "@ckeditor/ckeditor5-utils": "47.7.0-alpha.3",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.1",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "47.7.0-alpha.2"
34
+ "ckeditor5": "47.7.0-alpha.3"
35
35
  },
36
36
  "license": "SEE LICENSE IN LICENSE.md",
37
37
  "author": "CKSource (http://cksource.com/)",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcda4e8=_0x22e6;function _0x22e6(_0x380792,_0xbdf858){const _0x3e7509=_0x3e75();return _0x22e6=function(_0x22e6f2,_0x28053a){_0x22e6f2=_0x22e6f2-0x1f1;let _0x2b2733=_0x3e7509[_0x22e6f2];return _0x2b2733;},_0x22e6(_0x380792,_0xbdf858);}(function(_0x41253f,_0x4f3a3a){const _0x505df4=_0x22e6,_0x142af9=_0x41253f();while(!![]){try{const _0x214b01=parseInt(_0x505df4(0x218))/0x1*(-parseInt(_0x505df4(0x22a))/0x2)+parseInt(_0x505df4(0x217))/0x3+parseInt(_0x505df4(0x20e))/0x4*(-parseInt(_0x505df4(0x204))/0x5)+-parseInt(_0x505df4(0x22e))/0x6*(-parseInt(_0x505df4(0x223))/0x7)+parseInt(_0x505df4(0x211))/0x8*(parseInt(_0x505df4(0x20f))/0x9)+parseInt(_0x505df4(0x210))/0xa+parseInt(_0x505df4(0x214))/0xb;if(_0x214b01===_0x4f3a3a)break;else _0x142af9['push'](_0x142af9['shift']());}catch(_0x152f90){_0x142af9['push'](_0x142af9['shift']());}}}(_0x3e75,0xdf1e8));import{Plugin as _0xd5dd47,PendingActions as _0x539825}from'ckeditor5/src/core.js';import{IconSource as _0x1e100e}from'ckeditor5/src/icons.js';import{ButtonView as _0x4a2080,MenuBarMenuListItemButtonView as _0x539913}from'ckeditor5/src/ui.js';function _0x3e75(){const _0x5d6072=['init','Move\x20line\x20down','491718gOKSdC','href','Ctrl!+Alt+]','Cmd+Alt+[','accessibility','Fold\x20code\x20(current\x20level)','editor','Ctrl!+Alt+[','add','Shift+Alt+ArrowUp','join','menuBar:sourceEditingEnhanced','Shift+Alt+ArrowDown','listenTo','isPremiumPlugin','Source\x20Editing\x20Enhanced','Ctrl!+L','isOfficialPlugin','Select\x20line','ck-source-editing-enhanced-button','Move\x20line\x20up','menuitemcheckbox','afterInit','pluginName','Toggle\x20comment','execute','set','componentFactory','sourceEditingEnhanced','isEnabled','Delete\x20line','Redo\x20(keystroke)','_createButton','Edit\x20source\x20modal\x20label','fromCharCode','Cmd+Alt+]','locale','Ctrl+M','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','addKeystrokeInfos','addKeystrokeInfoCategory','editSource','Ctrl+/','Alt+L','5IdmGKX','isMac','Ctrl+Y','Shift+Ctrl+K','isiOS','requires','Alt+Shift+M','map','Indent\x20less','Toggle\x20block\x20comment','5951252NDqxKk','225TdfKdD','2507090nANqcf','125624JxCJjh','Ctrl+[','Copy\x20line\x20up','4247243VDoiyE','Ctrl+Shift+]','Unfold\x20all','3774657ciuxLw','705437grNvEk','Indent\x20more','Ctrl+]','SourceEditingEnhancedUI','Shift+Alt+A','Ctrl+Z','Alt+ArrowUp','Alt+ArrowDown','Source','bind','Undo\x20(keystroke)','70dIqKlg','commands','Copy\x20line\x20down','Ctrl+Shift+Z','Fold\x20all','Unfold\x20code\x20(current\x20level)','_registerKeybindings','2PKSpSa','Ctrl+Shift+['];_0x3e75=function(){return _0x5d6072;};return _0x3e75();}import{EditSourceCommand as _0x51d18c}from'./ui/editsourcecommand.js';import{getTranslation as _0x1d38f7}from'./utils/common-translations.js';import{env as _0x4dc462,uid as _0x5488f9}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0xd5dd47{static get[_0xcda4e8(0x245)](){const _0x25b490=_0xcda4e8;return _0x25b490(0x21b);}static get[_0xcda4e8(0x209)](){return[_0x539825];}static get[_0xcda4e8(0x23f)](){return!0x0;}static get[_0xcda4e8(0x23c)](){return!0x0;}[_0xcda4e8(0x22c)](){const _0xda3cd6=_0xcda4e8,_0x1d6b7b=this[_0xda3cd6(0x234)],_0x2dae99=_0x1d6b7b[_0xda3cd6(0x1fc)],_0x191a2e=new _0x51d18c(_0x1d6b7b);_0x1d6b7b[_0xda3cd6(0x224)][_0xda3cd6(0x236)](_0xda3cd6(0x201),_0x191a2e),_0x1d6b7b['ui'][_0xda3cd6(0x1f3)][_0xda3cd6(0x236)](_0xda3cd6(0x1f4),()=>{const _0xf6e58f=_0xda3cd6,_0x2d2857=this[_0xf6e58f(0x1f8)](_0x4a2080,_0x191a2e);return _0x2d2857[_0xf6e58f(0x1f2)]({'label':_0x1d38f7(_0x2dae99,_0xf6e58f(0x220)),'icon':_0x1e100e,'tooltip':_0x1d38f7(_0x2dae99,_0xf6e58f(0x1f9)),'class':_0xf6e58f(0x241)}),_0x2d2857;}),_0x1d6b7b['ui'][_0xda3cd6(0x1f3)][_0xda3cd6(0x236)](_0xda3cd6(0x239),()=>{const _0x571b05=_0xda3cd6,_0x7cbba4=this[_0x571b05(0x1f8)](_0x539913,_0x191a2e,!0x0);return _0x7cbba4[_0x571b05(0x1f2)]({'label':_0x1d38f7(_0x2dae99,_0x571b05(0x1f9)),'icon':_0x1e100e,'role':_0x571b05(0x243)}),_0x7cbba4;}),this[_0xda3cd6(0x229)]();}[_0xcda4e8(0x244)](){!async function(_0xca23a4){const _0x18ce80=_0x39e16a([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x455a1a=0x5dba9314,_0x2152c8=0x5dbd1434^_0x455a1a,_0x24ca65=window[_0x39e16a([0x44,0x61,0x74,0x65])][_0x39e16a([0x6e,0x6f,0x77])](),_0x34d1a7=_0xca23a4[_0x39e16a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56fef1=new window[(_0x39e16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2374fd=>{_0x34d1a7[_0x39e16a([0x6f,0x6e,0x63,0x65])](_0x39e16a([0x72,0x65,0x61,0x64,0x79]),_0x2374fd);}),_0xcde42c={[_0x39e16a([0x6b,0x74,0x79])]:_0x39e16a([0x45,0x43]),[_0x39e16a([0x75,0x73,0x65])]:_0x39e16a([0x73,0x69,0x67]),[_0x39e16a([0x63,0x72,0x76])]:_0x39e16a([0x50,0x2d,0x32,0x35,0x36]),[_0x39e16a([0x78])]:_0x39e16a([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]),[_0x39e16a([0x79])]:_0x39e16a([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]),[_0x39e16a([0x61,0x6c,0x67])]:_0x39e16a([0x45,0x53,0x32,0x35,0x36])},_0x8247f=_0x34d1a7[_0x39e16a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39e16a([0x67,0x65,0x74])](_0x39e16a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1604cb(){let _0x3a1c53,_0x2027ee=null,_0x2d9f20=null;try{if(_0x8247f==_0x39e16a([0x47,0x50,0x4c]))return _0x39e16a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a1c53=_0x30f979(),!_0x3a1c53)return _0x39e16a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a1c53[_0x39e16a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d9f20=_0x3b8d3a(_0x3a1c53[_0x39e16a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a1c53[_0x39e16a([0x6a,0x74,0x69])])),await _0x58d38a()?_0x487c33()?_0xa5227f()?_0x39e16a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d6c4e()?(_0x3a1c53[_0x39e16a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39e16a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2027ee=_0x345388(_0x39e16a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1dfd44()):_0x39e16a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39e16a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39e16a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39e16a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xa5227f(){const _0x47f157=[_0x39e16a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39e16a([0x74,0x72,0x69,0x61,0x6c])][_0x39e16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a1c53[_0x39e16a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x24ca65/0x3e8:0xe10*_0x2152c8;return _0x3a1c53[_0x39e16a([0x65,0x78,0x70])]<_0x47f157;}function _0x487c33(){const _0x4c315c=_0x3a1c53[_0x39e16a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c315c&&(!!_0x4c315c[_0x39e16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e16a([0x2a]))||!!_0x4c315c[_0x39e16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e16a([0x53,0x45,0x45])));}function _0x4d6c4e(){const _0xa3ffb0=_0x22e6,_0x30b356=_0x3a1c53[_0x39e16a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30b356||0x0==_0x30b356[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x504457}=new URL(window[_0x39e16a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa3ffb0(0x22f)]);if(_0x30b356[_0x39e16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x504457))return!0x0;const _0x58d34f=_0x504457[_0x39e16a([0x73,0x70,0x6c,0x69,0x74])](_0x39e16a([0x2e]));return _0x30b356[_0x39e16a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaba7dc=>_0xaba7dc[_0x39e16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e16a([0x2a])))[_0x39e16a([0x6d,0x61,0x70])](_0x973189=>_0x973189[_0x39e16a([0x73,0x70,0x6c,0x69,0x74])](_0x39e16a([0x2e])))[_0x39e16a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16e700=>_0x16e700[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58d34f[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39e16a([0x6d,0x61,0x70])](_0x3030d8=>Array(_0x58d34f[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3030d8[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39e16a([0x66,0x69,0x6c,0x6c])](_0x3030d8[0x0]===_0x39e16a([0x2a])?_0x39e16a([0x2a]):'')[_0x39e16a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3030d8))[_0x39e16a([0x73,0x6f,0x6d,0x65])](_0x2235b4=>_0x58d34f[_0x39e16a([0x65,0x76,0x65,0x72,0x79])]((_0x3ee23e,_0x527a5a)=>_0x2235b4[_0x527a5a]===_0x3ee23e||_0x2235b4[_0x527a5a]===_0x39e16a([0x2a])));}function _0x1dfd44(){return _0x2027ee&&_0x2d9f20?new window[(_0x39e16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1de30b,_0x4cae8d)=>{_0x2027ee[_0x39e16a([0x74,0x68,0x65,0x6e])](_0x1de30b,_0x4cae8d),_0x2d9f20[_0x39e16a([0x74,0x68,0x65,0x6e])](_0x336c7a=>{_0x336c7a!=_0x39e16a([0x56,0x61,0x6c,0x69,0x64])&&_0x1de30b(_0x336c7a);},_0x4cae8d);}):_0x2027ee||_0x2d9f20||_0x39e16a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b8d3a(_0x18a06a,_0x7adc40){return new window[(_0x39e16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bb7c7=>{if(_0x1ccba3())return _0x5bb7c7(_0x39e16a([0x56,0x61,0x6c,0x69,0x64]));_0x1aa562(),_0x34d1a7[_0x39e16a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39e16a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c58e1=!0x1;const _0x5b92a4=_0x5488f9();function _0x2b0997(_0x1aa70c){return!!_0x1aa70c&&(typeof _0x1aa70c===_0x39e16a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1aa70c===_0x39e16a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1aa70c[_0x39e16a([0x74,0x68,0x65,0x6e])]===_0x39e16a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1aa70c[_0x39e16a([0x63,0x61,0x74,0x63,0x68])]===_0x39e16a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1efefb(_0x17009c){_0x302d13(_0x17009c)[_0x39e16a([0x74,0x68,0x65,0x6e])](_0x2d1de5=>{if(!_0x2d1de5||_0x2d1de5[_0x39e16a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39e16a([0x6f,0x6b]))return _0x39e16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52f4d9(_0x33e7fa(_0x5b92a4+_0x7adc40))!=_0x2d1de5[_0x39e16a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39e16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39e16a([0x56,0x61,0x6c,0x69,0x64]);})[_0x39e16a([0x74,0x68,0x65,0x6e])](_0x4aa9ea=>(_0x2608a5(),_0x4aa9ea),()=>{const _0x1360c4=_0x20c6bd();return null==_0x1360c4?(_0x2608a5(),_0x39e16a([0x56,0x61,0x6c,0x69,0x64])):_0x39e16a(_0x24ca65-_0x1360c4>(0x79b61714^_0x455a1a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39e16a([0x74,0x68,0x65,0x6e])](_0x5bb7c7)[_0x39e16a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5bb7c7(_0x39e16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ee739=0x5d8c7d94^_0x455a1a;function _0x2608a5(){const _0x135da2=_0x39e16a([0x6c,0x6c,0x63,0x74,0x2d])+_0x52f4d9(_0x33e7fa(_0x18a06a)),_0x116739=_0x926152(_0x52f4d9(window[_0x39e16a([0x4d,0x61,0x74,0x68])][_0x39e16a([0x63,0x65,0x69,0x6c])](_0x24ca65/_0x2ee739)));window[_0x39e16a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39e16a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x135da2,_0x116739);}function _0x20c6bd(){const _0x3500fa=_0x39e16a([0x6c,0x6c,0x63,0x74,0x2d])+_0x52f4d9(_0x33e7fa(_0x18a06a)),_0x1cc54d=window[_0x39e16a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39e16a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3500fa);return _0x1cc54d?window[_0x39e16a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x926152(_0x1cc54d),0x10)*_0x2ee739:null;}function _0x302d13(_0x2f8ff0){return new window[(_0x39e16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9153c6,_0x34b2d0)=>{_0x2f8ff0[_0x39e16a([0x74,0x68,0x65,0x6e])](_0x9153c6,_0x34b2d0),window[_0x39e16a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x34b2d0,0x5dbb47d4^_0x455a1a);});}}_0x34d1a7[_0x39e16a([0x6f,0x6e])](_0x39e16a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23c07f,_0x4f0614)=>{if(_0x4f0614[0x0]!=_0x18a06a)return _0x5bb7c7(_0x39e16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f0614[0x1]={..._0x4f0614[0x1],[_0x39e16a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b92a4};},{[_0x39e16a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39e16a([0x68,0x69,0x67,0x68])}),_0x34d1a7[_0x39e16a([0x6f,0x6e])](_0x39e16a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x102fbd=>{_0x2b0997(_0x102fbd[_0x39e16a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c58e1=!0x0,_0x1efefb(_0x102fbd[_0x39e16a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39e16a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39e16a([0x6c,0x6f,0x77])}),_0x56fef1[_0x39e16a([0x74,0x68,0x65,0x6e])](()=>{_0x3c58e1||_0x5bb7c7(_0x39e16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ccba3(){return _0x34d1a7[_0x39e16a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39e16a([0x76,0x69,0x65,0x77])][_0x39e16a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39e16a([0x61,0x75,0x74,0x6f]);}function _0x1aa562(){_0x34d1a7[_0x39e16a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39e16a([0x76,0x69,0x65,0x77])][_0x39e16a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39e16a([0x61,0x75,0x74,0x6f]);}}function _0x345388(_0x17e7e9){const _0x31a349=[new window[(_0x39e16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c8e73=>setTimeout(_0x5c8e73,0x5db3add8^_0x455a1a)),_0x56fef1[_0x39e16a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39e16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f972d=>{let _0x14c937=0x0;_0x34d1a7[_0x39e16a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e16a([0x6f,0x6e])](_0x39e16a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e1303,_0x32e4c4)=>{_0x32e4c4[0x0][_0x39e16a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14c937++,_0x14c937==(0x5dba96fc^_0x455a1a)&&(_0x1f972d(),_0x2e1303[_0x39e16a([0x6f,0x66,0x66])]());});}))];return window[_0x39e16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39e16a([0x72,0x61,0x63,0x65])](_0x31a349)[_0x39e16a([0x74,0x68,0x65,0x6e])](()=>_0x17e7e9);}async function _0x26634e(){await _0x56fef1,_0x34d1a7[_0x39e16a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e16a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x195331,_0x34d1a7[_0x39e16a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e16a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x195331,_0x34d1a7[_0x39e16a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39e16a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x456260(_0x52f290){const _0x66bdf2=_0x364f09();_0x34d1a7[_0x66bdf2]=_0x39e16a([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52f290,_0x52f290!=_0x39e16a([0x56,0x61,0x6c,0x69,0x64])&&_0x26634e();}function _0x364f09(){const _0x177441=window[_0x39e16a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39e16a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39e16a([0x6e,0x6f,0x77])]())[_0x39e16a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39e16a([0x2e]),'');let _0x1867ea=_0x39e16a([0x4e]);for(let _0x240f54=0x0;_0x240f54<_0x177441[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x240f54+=0x2){let _0x1701a4=window[_0x39e16a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x177441[_0x39e16a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x240f54,_0x240f54+0x2));_0x1701a4>=_0x18ce80[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1701a4-=_0x18ce80[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1867ea+=_0x18ce80[_0x1701a4];}return _0x1867ea;}function _0x30f979(){const _0x46db16=_0x8247f[_0x39e16a([0x73,0x70,0x6c,0x69,0x74])](_0x39e16a([0x2e]));if(0x3!=_0x46db16[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f1fbd(_0x46db16[0x1]);function _0x2f1fbd(_0x351fa5){const _0x4e1ba6=_0x531b8e(_0x351fa5);return _0x4e1ba6&&_0x240ef2()?_0x4e1ba6:null;function _0x240ef2(){const _0x4fa332=_0x4e1ba6[_0x39e16a([0x6a,0x74,0x69])],_0x1700de=window[_0x39e16a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fa332[_0x39e16a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4fa332[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x197df8={..._0x4e1ba6,[_0x39e16a([0x6a,0x74,0x69])]:_0x4fa332[_0x39e16a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4fa332[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x197df8[_0x39e16a([0x76,0x63])],_0x33e7fa(_0x197df8)==_0x1700de;}}}async function _0x58d38a(){let _0x444a0c=!0x0;try{const _0x21e6be=_0x8247f[_0x39e16a([0x73,0x70,0x6c,0x69,0x74])](_0x39e16a([0x2e])),[_0x2272f3,_0x391322,_0xa79dbf]=_0x21e6be;return _0x5c6ab0(_0x2272f3),await _0x33e204(_0x2272f3,_0x391322,_0xa79dbf),_0x444a0c;}catch{return!0x1;}function _0x5c6ab0(_0x1969b0){const _0x21d111=_0x531b8e(_0x1969b0);_0x21d111&&_0x21d111[_0x39e16a([0x61,0x6c,0x67])]==_0x39e16a([0x45,0x53,0x32,0x35,0x36])||(_0x444a0c=!0x1);}async function _0x33e204(_0x2d146e,_0x3b84a1,_0xde06a6){const _0x1c2874=window[_0x39e16a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39e16a([0x66,0x72,0x6f,0x6d])](_0xe8e883(_0xde06a6),_0x3941e8=>_0x3941e8[_0x39e16a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x354581=new window[(_0x39e16a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39e16a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d146e+_0x39e16a([0x2e])+_0x3b84a1),_0x588646=window[_0x39e16a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39e16a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x588646)return;const _0x46769d=await _0x588646[_0x39e16a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39e16a([0x6a,0x77,0x6b]),_0xcde42c,{[_0x39e16a([0x6e,0x61,0x6d,0x65])]:_0x39e16a([0x45,0x43,0x44,0x53,0x41]),[_0x39e16a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39e16a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39e16a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x588646[_0x39e16a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39e16a([0x6e,0x61,0x6d,0x65])]:_0x39e16a([0x45,0x43,0x44,0x53,0x41]),[_0x39e16a([0x68,0x61,0x73,0x68])]:{[_0x39e16a([0x6e,0x61,0x6d,0x65])]:_0x39e16a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46769d,_0x1c2874,_0x354581)||(_0x444a0c=!0x1);}}function _0x531b8e(_0x1cfa56){return _0x1cfa56[_0x39e16a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39e16a([0x65,0x79]))?JSON[_0x39e16a([0x70,0x61,0x72,0x73,0x65])](_0xe8e883(_0x1cfa56)):null;}function _0xe8e883(_0xb36ad){return window[_0x39e16a([0x61,0x74,0x6f,0x62])](_0xb36ad[_0x39e16a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39e16a([0x2b]))[_0x39e16a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39e16a([0x2f])));}function _0x33e7fa(_0x4e8fd3){let _0x4a4bc5=0x1505;function _0xb3b922(_0x4fa738){for(let _0x5411b7=0x0;_0x5411b7<_0x4fa738[_0x39e16a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5411b7++){const _0x22e512=_0x4fa738[_0x39e16a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5411b7);_0x4a4bc5=(_0x4a4bc5<<0x5)+_0x4a4bc5+_0x22e512,_0x4a4bc5&=_0x4a4bc5;}}function _0x5af74d(_0x1fed73){Array[_0x39e16a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1fed73)?_0x1fed73[_0x39e16a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5af74d):_0x1fed73&&typeof _0x1fed73==_0x39e16a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39e16a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1fed73)[_0x39e16a([0x73,0x6f,0x72,0x74])]()[_0x39e16a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x571141,_0x4fe441])=>{_0xb3b922(_0x571141),_0x5af74d(_0x4fe441);}):_0xb3b922(window[_0x39e16a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1fed73));}return _0x5af74d(_0x4e8fd3),_0x4a4bc5>>>0x0;}function _0x52f4d9(_0xfd7cf6){return _0xfd7cf6[_0x39e16a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39e16a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39e16a([0x30]));}function _0x926152(_0x2464e1){return _0x2464e1[_0x39e16a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39e16a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39e16a([0x6a,0x6f,0x69,0x6e])]('');}function _0x195331(){}function _0x39e16a(_0x57bb40){const _0x531bf1=_0x22e6;return _0x57bb40[_0x531bf1(0x20b)](_0x3d84d3=>String[_0x531bf1(0x1fa)](_0x3d84d3))[_0x531bf1(0x238)]('');}_0x456260(await _0x1604cb());}(this);}[_0xcda4e8(0x1f8)](_0x4d7f4a,_0x59bd73,_0x1bcf36=!0x1){const _0x175823=_0xcda4e8,_0x9216bf=new _0x4d7f4a(this[_0x175823(0x234)][_0x175823(0x1fc)]);return _0x9216bf[_0x175823(0x1f2)]({'withText':_0x1bcf36,'isToggleable':!0x1}),_0x9216bf[_0x175823(0x221)](_0x175823(0x1f5))['to'](_0x59bd73,_0x175823(0x1f5)),this[_0x175823(0x23b)](_0x9216bf,_0x175823(0x1f1),()=>_0x59bd73[_0x175823(0x1f1)]()),_0x9216bf;}[_0xcda4e8(0x229)](){const _0x552e02=_0xcda4e8,_0x1cd856=this[_0x552e02(0x234)][_0x552e02(0x1fc)];this[_0x552e02(0x234)][_0x552e02(0x232)][_0x552e02(0x200)]({'id':_0x552e02(0x1f4),'label':_0x1d38f7(_0x1cd856,_0x552e02(0x23d))});const _0x1cee04=_0x4dc462[_0x552e02(0x205)]||_0x4dc462[_0x552e02(0x208)];this[_0x552e02(0x234)][_0x552e02(0x232)][_0x552e02(0x1ff)]({'categoryId':_0x552e02(0x1f4),'keystrokes':[{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x225)),'keystroke':_0x552e02(0x23a)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x213)),'keystroke':_0x552e02(0x237)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x1f6)),'keystroke':_0x552e02(0x207)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x20c)),'keystroke':_0x552e02(0x212)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x219)),'keystroke':_0x552e02(0x21a)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x227)),'keystroke':_0x552e02(0x235)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x233)),'keystroke':_0x1cee04?_0x552e02(0x231):_0x552e02(0x22b)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x22d)),'keystroke':_0x552e02(0x21f)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x242)),'keystroke':_0x552e02(0x21e)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x1f7)),'keystroke':[[_0x552e02(0x226)],[_0x552e02(0x206)]]},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x240)),'keystroke':_0x1cee04?_0x552e02(0x23e):_0x552e02(0x203)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x1fe)),'keystroke':_0x1cee04?_0x552e02(0x20a):_0x552e02(0x1fd)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x20d)),'keystroke':_0x552e02(0x21c)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x246)),'keystroke':_0x552e02(0x202)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x222)),'keystroke':_0x552e02(0x21d)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x216)),'keystroke':_0x552e02(0x230)},{'label':_0x1d38f7(_0x1cd856,_0x552e02(0x228)),'keystroke':_0x1cee04?_0x552e02(0x1fb):_0x552e02(0x215)}]});}}
23
+ const _0x3394fc=_0x3b9f;(function(_0x2348f8,_0x564ecc){const _0x26afa2=_0x3b9f,_0x1012c9=_0x2348f8();while(!![]){try{const _0x6a2091=-parseInt(_0x26afa2(0x9d))/0x1*(-parseInt(_0x26afa2(0xbb))/0x2)+-parseInt(_0x26afa2(0xa3))/0x3*(parseInt(_0x26afa2(0xbf))/0x4)+-parseInt(_0x26afa2(0xc5))/0x5+-parseInt(_0x26afa2(0xb2))/0x6*(parseInt(_0x26afa2(0xab))/0x7)+-parseInt(_0x26afa2(0x9c))/0x8*(-parseInt(_0x26afa2(0xdb))/0x9)+-parseInt(_0x26afa2(0xe2))/0xa+parseInt(_0x26afa2(0xa5))/0xb;if(_0x6a2091===_0x564ecc)break;else _0x1012c9['push'](_0x1012c9['shift']());}catch(_0x11a88d){_0x1012c9['push'](_0x1012c9['shift']());}}}(_0x5cfa,0x8dcab));import{Plugin as _0x24787c,PendingActions as _0x32818c}from'ckeditor5/src/core.js';function _0x5cfa(){const _0x274ea0=['Select\x20line','_createButton','href','Cmd+Alt+[','Unfold\x20code\x20(current\x20level)','execute','Ctrl+]','Ctrl+Shift+]','Ctrl!+Alt+[','Ctrl+Z','Alt+ArrowDown','afterInit','ck-source-editing-enhanced-button','Redo\x20(keystroke)','isOfficialPlugin','Alt+ArrowUp','_registerKeybindings','873ULgIdb','Toggle\x20block\x20comment','Edit\x20source\x20modal\x20label','isPremiumPlugin','SourceEditingEnhancedUI','add','Ctrl!+Alt+]','9146420lcMzin','pluginName','menuitemcheckbox','isiOS','fromCharCode','Undo\x20(keystroke)','Indent\x20more','Source\x20Editing\x20Enhanced','isEnabled','listenTo','Shift+Ctrl+K','Move\x20line\x20down','Ctrl+Y','set','Move\x20line\x20up','Toggle\x20comment','22408JLNHxI','278377xVYSsB','Indent\x20less','Ctrl+Shift+[','isMac','Ctrl+[','init','197205ZOOwye','accessibility','35777137TrvQEN','Shift+Alt+ArrowUp','Unfold\x20all','Ctrl+Shift+Z','Fold\x20code\x20(current\x20level)','Fold\x20all','4697FjtMub','Ctrl!+L','editor','Alt+L','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','addKeystrokeInfos','editSource','9882VHlNrV','map','join','Copy\x20line\x20up','Delete\x20line','addKeystrokeInfoCategory','commands','menuBar:sourceEditingEnhanced','Alt+Shift+M','4tebMOg','Ctrl+/','sourceEditingEnhanced','componentFactory','60DpNQzs','Shift+Alt+A','Source','Ctrl+M','Shift+Alt+ArrowDown','Copy\x20line\x20down','2471675FdRNlq','bind','Cmd+Alt+]','requires','locale'];_0x5cfa=function(){return _0x274ea0;};return _0x5cfa();}function _0x3b9f(_0xa080d9,_0x13a453){const _0x5cfa94=_0x5cfa();return _0x3b9f=function(_0x3b9f9f,_0x5ece83){_0x3b9f9f=_0x3b9f9f-0x99;let _0x1483c7=_0x5cfa94[_0x3b9f9f];return _0x1483c7;},_0x3b9f(_0xa080d9,_0x13a453);}import{IconSource as _0x4b434e}from'ckeditor5/src/icons.js';import{ButtonView as _0x579067,MenuBarMenuListItemButtonView as _0x414a4e}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x10c697}from'./ui/editsourcecommand.js';import{getTranslation as _0x4a3380}from'./utils/common-translations.js';import{env as _0x1d1558,uid as _0x16fb1e}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x24787c{static get[_0x3394fc(0xe3)](){const _0x44fb6a=_0x3394fc;return _0x44fb6a(0xdf);}static get[_0x3394fc(0xc8)](){return[_0x32818c];}static get[_0x3394fc(0xd8)](){return!0x0;}static get[_0x3394fc(0xde)](){return!0x0;}[_0x3394fc(0xa2)](){const _0x7e4f90=_0x3394fc,_0x3416c0=this[_0x7e4f90(0xad)],_0x1aa877=_0x3416c0[_0x7e4f90(0xc9)],_0x3cde2d=new _0x10c697(_0x3416c0);_0x3416c0[_0x7e4f90(0xb8)][_0x7e4f90(0xe0)](_0x7e4f90(0xb1),_0x3cde2d),_0x3416c0['ui'][_0x7e4f90(0xbe)][_0x7e4f90(0xe0)](_0x7e4f90(0xbd),()=>{const _0x120a3d=_0x7e4f90,_0x2d9a61=this[_0x120a3d(0xcb)](_0x579067,_0x3cde2d);return _0x2d9a61[_0x120a3d(0x99)]({'label':_0x4a3380(_0x1aa877,_0x120a3d(0xc1)),'icon':_0x4b434e,'tooltip':_0x4a3380(_0x1aa877,_0x120a3d(0xdd)),'class':_0x120a3d(0xd6)}),_0x2d9a61;}),_0x3416c0['ui'][_0x7e4f90(0xbe)][_0x7e4f90(0xe0)](_0x7e4f90(0xb9),()=>{const _0x2e81c2=_0x7e4f90,_0x405959=this[_0x2e81c2(0xcb)](_0x414a4e,_0x3cde2d,!0x0);return _0x405959[_0x2e81c2(0x99)]({'label':_0x4a3380(_0x1aa877,_0x2e81c2(0xdd)),'icon':_0x4b434e,'role':_0x2e81c2(0xe4)}),_0x405959;}),this[_0x7e4f90(0xda)]();}[_0x3394fc(0xd5)](){!async function(_0x2c57c2){const _0x1ec5a4=_0x317e50([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x1e0cd9=0x5dba9314,_0x509a9d=0x5dbd142c^_0x1e0cd9,_0x1fa24f=window[_0x317e50([0x44,0x61,0x74,0x65])][_0x317e50([0x6e,0x6f,0x77])](),_0x311129=_0x2c57c2[_0x317e50([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d3e7b=new window[(_0x317e50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x444b49=>{_0x311129[_0x317e50([0x6f,0x6e,0x63,0x65])](_0x317e50([0x72,0x65,0x61,0x64,0x79]),_0x444b49);}),_0x56af6e={[_0x317e50([0x6b,0x74,0x79])]:_0x317e50([0x45,0x43]),[_0x317e50([0x75,0x73,0x65])]:_0x317e50([0x73,0x69,0x67]),[_0x317e50([0x63,0x72,0x76])]:_0x317e50([0x50,0x2d,0x32,0x35,0x36]),[_0x317e50([0x78])]:_0x317e50([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]),[_0x317e50([0x79])]:_0x317e50([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]),[_0x317e50([0x61,0x6c,0x67])]:_0x317e50([0x45,0x53,0x32,0x35,0x36])},_0x1db6ab=_0x311129[_0x317e50([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x317e50([0x67,0x65,0x74])](_0x317e50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c3320(){let _0x5a385f,_0x24f430=null,_0x1f7f07=null;try{if(_0x1db6ab==_0x317e50([0x47,0x50,0x4c]))return _0x317e50([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a385f=_0x232e61(),!_0x5a385f)return _0x317e50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a385f[_0x317e50([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f7f07=_0x34c92b(_0x5a385f[_0x317e50([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a385f[_0x317e50([0x6a,0x74,0x69])])),await _0x42b8f5()?_0x5993c0()?_0x5e70ca()?_0x317e50([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e2fed()?(_0x5a385f[_0x317e50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x317e50([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24f430=_0x2774fc(_0x317e50([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ee6f9()):_0x317e50([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x317e50([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x317e50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x317e50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e70ca(){const _0x47d624=[_0x317e50([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x317e50([0x74,0x72,0x69,0x61,0x6c])][_0x317e50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a385f[_0x317e50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fa24f/0x3e8:0xe10*_0x509a9d;return _0x5a385f[_0x317e50([0x65,0x78,0x70])]<_0x47d624;}function _0x5993c0(){const _0x253107=_0x5a385f[_0x317e50([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x253107&&(!!_0x253107[_0x317e50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x317e50([0x2a]))||!!_0x253107[_0x317e50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x317e50([0x53,0x45,0x45])));}function _0x4e2fed(){const _0x41baeb=_0x3b9f,_0x155556=_0x5a385f[_0x317e50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x155556||0x0==_0x155556[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3912d7}=new URL(window[_0x317e50([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x41baeb(0xcc)]);if(_0x155556[_0x317e50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3912d7))return!0x0;const _0xa42478=_0x3912d7[_0x317e50([0x73,0x70,0x6c,0x69,0x74])](_0x317e50([0x2e]));return _0x155556[_0x317e50([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7dc753=>_0x7dc753[_0x317e50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x317e50([0x2a])))[_0x317e50([0x6d,0x61,0x70])](_0x1bd1bf=>_0x1bd1bf[_0x317e50([0x73,0x70,0x6c,0x69,0x74])](_0x317e50([0x2e])))[_0x317e50([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5007c0=>_0x5007c0[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa42478[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x317e50([0x6d,0x61,0x70])](_0x1c7e4f=>Array(_0xa42478[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c7e4f[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x317e50([0x66,0x69,0x6c,0x6c])](_0x1c7e4f[0x0]===_0x317e50([0x2a])?_0x317e50([0x2a]):'')[_0x317e50([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c7e4f))[_0x317e50([0x73,0x6f,0x6d,0x65])](_0x671c0d=>_0xa42478[_0x317e50([0x65,0x76,0x65,0x72,0x79])]((_0x375579,_0x461a4d)=>_0x671c0d[_0x461a4d]===_0x375579||_0x671c0d[_0x461a4d]===_0x317e50([0x2a])));}function _0x3ee6f9(){return _0x24f430&&_0x1f7f07?new window[(_0x317e50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44a5d2,_0x4fa270)=>{_0x24f430[_0x317e50([0x74,0x68,0x65,0x6e])](_0x44a5d2,_0x4fa270),_0x1f7f07[_0x317e50([0x74,0x68,0x65,0x6e])](_0x3c82ab=>{_0x3c82ab!=_0x317e50([0x56,0x61,0x6c,0x69,0x64])&&_0x44a5d2(_0x3c82ab);},_0x4fa270);}):_0x24f430||_0x1f7f07||_0x317e50([0x56,0x61,0x6c,0x69,0x64]);}}function _0x34c92b(_0x316130,_0x2ab6f4){return new window[(_0x317e50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32bd6c=>{if(_0x2ddf54())return _0x32bd6c(_0x317e50([0x56,0x61,0x6c,0x69,0x64]));_0x4774e6(),_0x311129[_0x317e50([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x317e50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e4323=!0x1;const _0x5cd809=_0x16fb1e();function _0x314780(_0x5df6e5){return!!_0x5df6e5&&(typeof _0x5df6e5===_0x317e50([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5df6e5===_0x317e50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5df6e5[_0x317e50([0x74,0x68,0x65,0x6e])]===_0x317e50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5df6e5[_0x317e50([0x63,0x61,0x74,0x63,0x68])]===_0x317e50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c40fa(_0x5c5017){_0x3ff725(_0x5c5017)[_0x317e50([0x74,0x68,0x65,0x6e])](_0x251d89=>{if(!_0x251d89||_0x251d89[_0x317e50([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x317e50([0x6f,0x6b]))return _0x317e50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e2642(_0x391124(_0x5cd809+_0x2ab6f4))!=_0x251d89[_0x317e50([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x317e50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x317e50([0x56,0x61,0x6c,0x69,0x64]);})[_0x317e50([0x74,0x68,0x65,0x6e])](_0x20f234=>(_0x2f8300(),_0x20f234),()=>{const _0x3596bc=_0x3e5604();return null==_0x3596bc?(_0x2f8300(),_0x317e50([0x56,0x61,0x6c,0x69,0x64])):_0x317e50(_0x1fa24f-_0x3596bc>(0x79b61714^_0x1e0cd9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x317e50([0x74,0x68,0x65,0x6e])](_0x32bd6c)[_0x317e50([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32bd6c(_0x317e50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x429a8b=0x5d8c7d94^_0x1e0cd9;function _0x2f8300(){const _0x41e259=_0x317e50([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e2642(_0x391124(_0x316130)),_0xa2a68f=_0x5696d0(_0x3e2642(window[_0x317e50([0x4d,0x61,0x74,0x68])][_0x317e50([0x63,0x65,0x69,0x6c])](_0x1fa24f/_0x429a8b)));window[_0x317e50([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x317e50([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41e259,_0xa2a68f);}function _0x3e5604(){const _0xdc0485=_0x317e50([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e2642(_0x391124(_0x316130)),_0x5b86f1=window[_0x317e50([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x317e50([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdc0485);return _0x5b86f1?window[_0x317e50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5696d0(_0x5b86f1),0x10)*_0x429a8b:null;}function _0x3ff725(_0x17aec8){return new window[(_0x317e50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x571eb0,_0x2e652b)=>{_0x17aec8[_0x317e50([0x74,0x68,0x65,0x6e])](_0x571eb0,_0x2e652b),window[_0x317e50([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e652b,0x5dbb47d4^_0x1e0cd9);});}}_0x311129[_0x317e50([0x6f,0x6e])](_0x317e50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1eb842,_0x3d1745)=>{if(_0x3d1745[0x0]!=_0x316130)return _0x32bd6c(_0x317e50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d1745[0x1]={..._0x3d1745[0x1],[_0x317e50([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cd809};},{[_0x317e50([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x317e50([0x68,0x69,0x67,0x68])}),_0x311129[_0x317e50([0x6f,0x6e])](_0x317e50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3c2f33=>{_0x314780(_0x3c2f33[_0x317e50([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e4323=!0x0,_0x4c40fa(_0x3c2f33[_0x317e50([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x317e50([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x317e50([0x6c,0x6f,0x77])}),_0x1d3e7b[_0x317e50([0x74,0x68,0x65,0x6e])](()=>{_0x5e4323||_0x32bd6c(_0x317e50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ddf54(){return _0x311129[_0x317e50([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x317e50([0x76,0x69,0x65,0x77])][_0x317e50([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x317e50([0x61,0x75,0x74,0x6f]);}function _0x4774e6(){_0x311129[_0x317e50([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x317e50([0x76,0x69,0x65,0x77])][_0x317e50([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x317e50([0x61,0x75,0x74,0x6f]);}}function _0x2774fc(_0x45509d){const _0x2d8ffe=[new window[(_0x317e50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50a76e=>setTimeout(_0x50a76e,0x5db3add8^_0x1e0cd9)),_0x1d3e7b[_0x317e50([0x74,0x68,0x65,0x6e])](()=>new window[(_0x317e50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4da0f6=>{let _0x3be76f=0x0;_0x311129[_0x317e50([0x6d,0x6f,0x64,0x65,0x6c])][_0x317e50([0x6f,0x6e])](_0x317e50([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58cf0e,_0x134f7c)=>{_0x134f7c[0x0][_0x317e50([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3be76f++,_0x3be76f==(0x5dba96fc^_0x1e0cd9)&&(_0x4da0f6(),_0x58cf0e[_0x317e50([0x6f,0x66,0x66])]());});}))];return window[_0x317e50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x317e50([0x72,0x61,0x63,0x65])](_0x2d8ffe)[_0x317e50([0x74,0x68,0x65,0x6e])](()=>_0x45509d);}async function _0x4847fd(){await _0x1d3e7b,_0x311129[_0x317e50([0x6d,0x6f,0x64,0x65,0x6c])][_0x317e50([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51a175,_0x311129[_0x317e50([0x6d,0x6f,0x64,0x65,0x6c])][_0x317e50([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51a175,_0x311129[_0x317e50([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x317e50([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x353515(_0x34e7af){const _0xf49eea=_0x3f0d4b();_0x311129[_0xf49eea]=_0x317e50([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x34e7af,_0x34e7af!=_0x317e50([0x56,0x61,0x6c,0x69,0x64])&&_0x4847fd();}function _0x3f0d4b(){const _0xff1e8c=window[_0x317e50([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x317e50([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x317e50([0x6e,0x6f,0x77])]())[_0x317e50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x317e50([0x2e]),'');let _0x3673c2=_0x317e50([0x4e]);for(let _0x367866=0x0;_0x367866<_0xff1e8c[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x367866+=0x2){let _0xfd5cc9=window[_0x317e50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xff1e8c[_0x317e50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x367866,_0x367866+0x2));_0xfd5cc9>=_0x1ec5a4[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xfd5cc9-=_0x1ec5a4[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3673c2+=_0x1ec5a4[_0xfd5cc9];}return _0x3673c2;}function _0x232e61(){const _0x104f82=_0x1db6ab[_0x317e50([0x73,0x70,0x6c,0x69,0x74])](_0x317e50([0x2e]));if(0x3!=_0x104f82[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3b0429(_0x104f82[0x1]);function _0x3b0429(_0x5ac309){const _0x1461b0=_0x1a6e83(_0x5ac309);return _0x1461b0&&_0x5728b1()?_0x1461b0:null;function _0x5728b1(){const _0x2c3d74=_0x1461b0[_0x317e50([0x6a,0x74,0x69])],_0x4a5da9=window[_0x317e50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c3d74[_0x317e50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c3d74[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2399c5={..._0x1461b0,[_0x317e50([0x6a,0x74,0x69])]:_0x2c3d74[_0x317e50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c3d74[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2399c5[_0x317e50([0x76,0x63])],_0x391124(_0x2399c5)==_0x4a5da9;}}}async function _0x42b8f5(){let _0x3f3654=!0x0;try{const _0x5954be=_0x1db6ab[_0x317e50([0x73,0x70,0x6c,0x69,0x74])](_0x317e50([0x2e])),[_0x31a47f,_0x4a8674,_0x444bc8]=_0x5954be;return _0x2f8edf(_0x31a47f),await _0x164849(_0x31a47f,_0x4a8674,_0x444bc8),_0x3f3654;}catch{return!0x1;}function _0x2f8edf(_0x131417){const _0x1ef44c=_0x1a6e83(_0x131417);_0x1ef44c&&_0x1ef44c[_0x317e50([0x61,0x6c,0x67])]==_0x317e50([0x45,0x53,0x32,0x35,0x36])||(_0x3f3654=!0x1);}async function _0x164849(_0x4beb84,_0x246c82,_0x2eff28){const _0x408164=window[_0x317e50([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x317e50([0x66,0x72,0x6f,0x6d])](_0x551c2e(_0x2eff28),_0x24c6af=>_0x24c6af[_0x317e50([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf6c4c2=new window[(_0x317e50([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x317e50([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4beb84+_0x317e50([0x2e])+_0x246c82),_0x5af4d0=window[_0x317e50([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x317e50([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5af4d0)return;const _0x54f3a3=await _0x5af4d0[_0x317e50([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x317e50([0x6a,0x77,0x6b]),_0x56af6e,{[_0x317e50([0x6e,0x61,0x6d,0x65])]:_0x317e50([0x45,0x43,0x44,0x53,0x41]),[_0x317e50([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x317e50([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x317e50([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5af4d0[_0x317e50([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x317e50([0x6e,0x61,0x6d,0x65])]:_0x317e50([0x45,0x43,0x44,0x53,0x41]),[_0x317e50([0x68,0x61,0x73,0x68])]:{[_0x317e50([0x6e,0x61,0x6d,0x65])]:_0x317e50([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54f3a3,_0x408164,_0xf6c4c2)||(_0x3f3654=!0x1);}}function _0x1a6e83(_0x120b79){return _0x120b79[_0x317e50([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x317e50([0x65,0x79]))?JSON[_0x317e50([0x70,0x61,0x72,0x73,0x65])](_0x551c2e(_0x120b79)):null;}function _0x551c2e(_0x539ccf){return window[_0x317e50([0x61,0x74,0x6f,0x62])](_0x539ccf[_0x317e50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x317e50([0x2b]))[_0x317e50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x317e50([0x2f])));}function _0x391124(_0x25d785){let _0x4874ec=0x1505;function _0x52813b(_0xd8f25b){for(let _0x372e9a=0x0;_0x372e9a<_0xd8f25b[_0x317e50([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x372e9a++){const _0x4ffeba=_0xd8f25b[_0x317e50([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x372e9a);_0x4874ec=(_0x4874ec<<0x5)+_0x4874ec+_0x4ffeba,_0x4874ec&=_0x4874ec;}}function _0x796d5(_0x1b808d){Array[_0x317e50([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b808d)?_0x1b808d[_0x317e50([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x796d5):_0x1b808d&&typeof _0x1b808d==_0x317e50([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x317e50([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b808d)[_0x317e50([0x73,0x6f,0x72,0x74])]()[_0x317e50([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b0a5b,_0x3f7fde])=>{_0x52813b(_0x4b0a5b),_0x796d5(_0x3f7fde);}):_0x52813b(window[_0x317e50([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b808d));}return _0x796d5(_0x25d785),_0x4874ec>>>0x0;}function _0x3e2642(_0x3ecfdf){return _0x3ecfdf[_0x317e50([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x317e50([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x317e50([0x30]));}function _0x5696d0(_0x22be54){return _0x22be54[_0x317e50([0x73,0x70,0x6c,0x69,0x74])]('')[_0x317e50([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x317e50([0x6a,0x6f,0x69,0x6e])]('');}function _0x51a175(){}function _0x317e50(_0x29af9a){const _0x3e0888=_0x3b9f;return _0x29af9a[_0x3e0888(0xb3)](_0x18bfee=>String[_0x3e0888(0xe6)](_0x18bfee))[_0x3e0888(0xb4)]('');}_0x353515(await _0x4c3320());}(this);}[_0x3394fc(0xcb)](_0x415f54,_0x5425cc,_0x212c29=!0x1){const _0x28d807=_0x3394fc,_0x158bb6=new _0x415f54(this[_0x28d807(0xad)][_0x28d807(0xc9)]);return _0x158bb6[_0x28d807(0x99)]({'withText':_0x212c29,'isToggleable':!0x1}),_0x158bb6[_0x28d807(0xc6)](_0x28d807(0xea))['to'](_0x5425cc,_0x28d807(0xea)),this[_0x28d807(0xeb)](_0x158bb6,_0x28d807(0xcf),()=>_0x5425cc[_0x28d807(0xcf)]()),_0x158bb6;}[_0x3394fc(0xda)](){const _0x50607c=_0x3394fc,_0x56ecce=this[_0x50607c(0xad)][_0x50607c(0xc9)];this[_0x50607c(0xad)][_0x50607c(0xa4)][_0x50607c(0xb7)]({'id':_0x50607c(0xbd),'label':_0x4a3380(_0x56ecce,_0x50607c(0xe9))});const _0x1848fa=_0x1d1558[_0x50607c(0xa0)]||_0x1d1558[_0x50607c(0xe5)];this[_0x50607c(0xad)][_0x50607c(0xa4)][_0x50607c(0xb0)]({'categoryId':_0x50607c(0xbd),'keystrokes':[{'label':_0x4a3380(_0x56ecce,_0x50607c(0xc4)),'keystroke':_0x50607c(0xc3)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xb5)),'keystroke':_0x50607c(0xa6)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xb6)),'keystroke':_0x50607c(0xec)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0x9e)),'keystroke':_0x50607c(0xa1)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xe8)),'keystroke':_0x50607c(0xd0)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xaa)),'keystroke':_0x50607c(0xd2)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xa9)),'keystroke':_0x1848fa?_0x50607c(0xcd):_0x50607c(0x9f)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xed)),'keystroke':_0x50607c(0xd4)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0x9a)),'keystroke':_0x50607c(0xd9)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xd7)),'keystroke':[[_0x50607c(0xa8)],[_0x50607c(0xee)]]},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xca)),'keystroke':_0x1848fa?_0x50607c(0xac):_0x50607c(0xae)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xaf)),'keystroke':_0x1848fa?_0x50607c(0xba):_0x50607c(0xc2)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xdc)),'keystroke':_0x50607c(0xc0)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0x9b)),'keystroke':_0x50607c(0xbc)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xe7)),'keystroke':_0x50607c(0xd3)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xa7)),'keystroke':_0x50607c(0xe1)},{'label':_0x4a3380(_0x56ecce,_0x50607c(0xce)),'keystroke':_0x1848fa?_0x50607c(0xc7):_0x50607c(0xd1)}]});}}