@ckeditor/ckeditor5-source-editing-enhanced 45.2.0-alpha.3 → 45.2.0-alpha.4

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 _0xef2bfd,PendingActions as _0x530dcf,Plugin as _0xcecc55}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x36cdb0,formatHtml as tr,env as _0x22e743,uid as _0x427dd1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x530319}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4da53a,ButtonView as _0x4766f2,MenuBarMenuListItemButtonView as _0x280393}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x125608,crosshairCursor as _0x1ec08a,drawSelection as _0x45f64c,dropCursor as _0x48ad01,lineNumbers as _0x1e268d,highlightActiveLine as _0x5af830,highlightActiveLineGutter as _0x5206a4,highlightSpecialChars as _0x2939f1,rectangularSelection as _0x3944be,keymap as _0x381c1a}from'@codemirror/view';import{Compartment as _0x5236b9,Transaction as _0x25da10}from'@codemirror/state';import{bracketMatching as _0x586500,foldGutter as _0x41e383,indentOnInput as _0x2b3d43,syntaxHighlighting as _0x2d6472,defaultHighlightStyle as _0x5896d6,foldKeymap as _0x5edfb9}from'@codemirror/language';import{toggleTabFocusMode as _0x9f8c9,history as _0x527c60,defaultKeymap as _0x30c2c7,historyKeymap as _0x26532c,indentLess as _0x1cdc64,indentMore as _0x3cd703,redo as _0x282546,undo as _0x2001c3}from'@codemirror/commands';import{autocompletion as _0x161b0d,closeBrackets as _0x3b2402,closeBracketsKeymap as _0x28fa87,completionKeymap as _0x3846e6}from'@codemirror/autocomplete';import{html as _0x531751}from'@codemirror/lang-html';import{markdown as _0x505758}from'@codemirror/lang-markdown';import{oneDark as _0x1ab52a}from'@codemirror/theme-one-dark';function f(_0x4b96ab,_0x52ebd0){const t=_0x4b96ab['t'];switch(_0x52ebd0){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 _0x52ebd0;}}function s(_0x2d4539){const _0x58ecf5=_0x2d4539['editing']['view']['document']['roots'],_0x47c55f=_0x58ecf5['length'];if(0x0===_0x47c55f)throw new _0x36cdb0('source-editing-enhanced-editor-no-root',_0x2d4539);if(0x1===_0x47c55f)return _0x58ecf5['first']['rootName'];return Array['from'](_0x2d4539['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x4b177a){return or(_0x4b177a['replace'](/^[\n\s]*/g,''))?_0x4b177a['replace'](/\s+/g,''):_0x4b177a;}function or(_0x582380){return _0x582380['startsWith']('<');}function p(_0x43472b){const _0x58bec4=[_0x125608['lineWrapping'],_0x161b0d(),_0x586500(),_0x3b2402(),_0x1ec08a(),_0x45f64c(),_0x48ad01(),_0x1e268d(),_0x41e383(),_0x5af830(),_0x5206a4(),_0x2939f1(),_0x527c60(),_0x2b3d43(),_0x3944be(),_0x2d6472(_0x5896d6,{'fallback':!0x0})],_0xae63c3=new _0x5236b9();_0x58bec4['push'](_0xae63c3['of'](_0x125608['editable']['of'](!0x0))),'html'===_0x43472b['syntaxLanguage']?_0x58bec4['push'](_0x531751()):_0x58bec4['push'](_0x505758());const _0x37e70c=function(_0x2bb821){if(_0x2bb821&&'default'!==_0x2bb821)return'dark'===_0x2bb821?_0x1ab52a:_0x2bb821;return null;}(_0x43472b['theme']);_0x37e70c&&_0x58bec4['push'](_0x37e70c),_0x58bec4['push'](_0x381c1a['of']([..._0x28fa87,..._0x30c2c7,..._0x26532c,..._0x5edfb9,..._0x3846e6,{'key':'Tab','run':_0x3cd703,'shift':_0x1cdc64,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x282546,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x282546,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x2001c3,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x6a8f68=new _0x125608({'extensions':_0x58bec4,'parent':_0x43472b['parent']});return _0x9f8c9(_0x6a8f68),{'focus':()=>{_0x6a8f68['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x6a8f68['focus']();},'getData':()=>_0x6a8f68['state']['doc']['toString'](),'setData':_0x3cd074=>{_0x6a8f68['dispatch']({'changes':{'from':0x0,'to':_0x6a8f68['state']['doc']['length'],'insert':_0x3cd074},'annotations':_0x25da10['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3f4950=>{_0x6a8f68['dispatch']({'effects':[_0xae63c3['reconfigure'](_0x125608['editable']['of'](!_0x3f4950))]});},'destroy':()=>{_0x6a8f68['destroy']();},'instance':_0x6a8f68};}class m extends _0x4da53a{['_codeEditorApi']=null;['_options'];constructor(_0xb7f911,_0x3f180c){super(_0xb7f911),this['_options']=_0x3f180c,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',(_0x5d3f4f,_0x812c1f,_0xd6b4e5)=>{this['setReadOnly'](_0xd6b4e5);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x3da323){this['_codeEditorApi']['setData'](_0x3da323);}['setReadOnly'](_0x462ac5){this['_codeEditorApi']['setReadOnly'](_0x462ac5);}}const b='SourceEditingEnhancedMode';class d extends _0xef2bfd{constructor(_0x5544cb){super(_0x5544cb),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x530dcf)['on']('change:hasAny',(_0x33c173,_0x2f615e,_0x412be1)=>{_0x412be1?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x336ecd=this['editor'];for(const _0x544feb of _0x336ecd['commands']['names']())['replaceSource','editSource']['includes'](_0x544feb)||_0x336ecd['commands']['get'](_0x544feb)['forceDisabled'](b);}['_enableCommands'](){const _0x55a0ea=this['editor'];for(const _0x561603 of _0x55a0ea['commands']['commands']())_0x561603['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x28b1d0=this['editor'],_0x5abd1c=_0x28b1d0['locale'],_0x4aa6ce=_0x28b1d0['plugins']['get']('Dialog'),_0x556cda=s(_0x28b1d0),_0x2b035a=_0x28b1d0['data']['get']({'rootName':_0x556cda}),_0xdf442f=or(_0x197625=_0x2b035a)?tr(_0x197625):_0x197625;var _0x197625;const _0x3dc667=new m(_0x5abd1c,{'syntaxLanguage':_0x28b1d0['plugins']['has']('Markdown')?'markdown':'html','theme':_0x28b1d0['config']['get']('sourceEditingEnhanced.theme')});let _0x524eb9=!0x0;const _0x49ae5d=_0x98b00c=>{if(!_0x524eb9)return;return E(_0x3dc667['getData']())!==E(_0xdf442f)?window['confirm'](f(_0x5abd1c,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x98b00c['stop']():void 0x0;};_0x4aa6ce['show']({'id':'sourceEditingEnhanced','title':f(_0x5abd1c,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3dc667,'actionButtons':[{'label':f(_0x5abd1c,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x4aa6ce['hide']();}},{'label':f(_0x5abd1c,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4101b8=E(_0x3dc667['getData']())!==E(_0xdf442f);(_0x4101b8&&_0x28b1d0['execute']('replaceSource',_0x3dc667['getData']()),_0x524eb9=!0x1,_0x4aa6ce['hide'](),_0x4101b8&&'editables'in _0x28b1d0['ui']['view'])&&_0x28b1d0['ui']['view']['editables'][_0x556cda]['element']['focus']();},'onCreate':_0xbaa8cf=>{_0xbaa8cf['set']('isEnabled',!_0x28b1d0['isReadOnly']),_0xbaa8cf['bind']('isEnabled')['to'](_0x28b1d0,'isReadOnly',this,'isEnabled',(_0x406cb5,_0x28b620)=>!_0x406cb5&&_0x28b620);}}],'onHide':()=>{this['_enableCommands'](),_0x4aa6ce['off']('hide',_0x49ae5d),_0x3dc667['destroy']();},'onShow':()=>{_0x3dc667['bind']('isReadOnly')['to'](_0x28b1d0,'isReadOnly',this,'isEnabled',(_0x134404,_0x5eb1ea)=>_0x134404||!_0x5eb1ea),_0x3dc667['setData'](_0xdf442f),_0x3dc667['focus'](),_0x4aa6ce['on']('hide',_0x49ae5d,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0xcecc55{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x530dcf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5de1ff=this['editor'],_0x2ad49b=_0x5de1ff['locale'],_0x5c3fc4=new d(_0x5de1ff);_0x5de1ff['commands']['add']('editSource',_0x5c3fc4),_0x5de1ff['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x2f143c=this['_createButton'](_0x4766f2,_0x5c3fc4);return _0x2f143c['set']({'label':f(_0x2ad49b,'Source'),'icon':_0x530319,'tooltip':f(_0x2ad49b,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x2f143c;}),_0x5de1ff['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x234fb8=this['_createButton'](_0x280393,_0x5c3fc4,!0x0);return _0x234fb8['set']({'label':f(_0x2ad49b,'Edit\x20source\x20modal\x20label'),'icon':_0x530319,'role':'menuitemcheckbox'}),_0x234fb8;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x37382f){const _0xa7f51e=_0x16b342([0x4d,0x37,0x70,0x69,0x4b,0x6b,0x44,0x49,0x72,0x4c,0x76,0x74,0x59,0x57,0x64,0x34,0x6e,0x4e,0x56,0x68,0x67,0x78,0x45,0x35,0x65,0x7a,0x50,0x66,0x6a,0x58,0x36,0x39,0x75,0x77,0x5a,0x73,0x4f,0x53,0x52,0x51,0x79,0x62,0x63,0x47,0x38,0x30,0x6d,0x71,0x55,0x32,0x43,0x48,0x46,0x41,0x4a,0x6c,0x33,0x54,0x42,0x31,0x6f,0x61]),_0x275d48=0x5b599e70,_0x4ff907=0x5b5ef718^_0x275d48,_0x350ab8=window[_0x16b342([0x44,0x61,0x74,0x65])][_0x16b342([0x6e,0x6f,0x77])](),_0x45136a=_0x37382f[_0x16b342([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x18ac3f=new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xafc3ad=>{_0x45136a[_0x16b342([0x6f,0x6e,0x63,0x65])](_0x16b342([0x72,0x65,0x61,0x64,0x79]),_0xafc3ad);}),_0xd03823={[_0x16b342([0x6b,0x74,0x79])]:_0x16b342([0x45,0x43]),[_0x16b342([0x75,0x73,0x65])]:_0x16b342([0x73,0x69,0x67]),[_0x16b342([0x63,0x72,0x76])]:_0x16b342([0x50,0x2d,0x32,0x35,0x36]),[_0x16b342([0x78])]:_0x16b342([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]),[_0x16b342([0x79])]:_0x16b342([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]),[_0x16b342([0x61,0x6c,0x67])]:_0x16b342([0x45,0x53,0x32,0x35,0x36])},_0x4ded9e=_0x45136a[_0x16b342([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16b342([0x67,0x65,0x74])](_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x375ff7(){let _0x3b2d23,_0xd460f6=null,_0x3dd81a=null;try{if(_0x4ded9e==_0x16b342([0x47,0x50,0x4c]))return _0x16b342([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b2d23=_0x2eb3af(),!_0x3b2d23)return _0x16b342([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b2d23[_0x16b342([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3dd81a=_0x167bdb(_0x3b2d23[_0x16b342([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b2d23[_0x16b342([0x6a,0x74,0x69])])),await _0x370fdc()?_0x15dcba()?_0x1ab373()?_0x16b342([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x459527()?(_0x3b2d23[_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16b342([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd460f6=_0x5e77fd(_0x16b342([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b2d23[_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16b342([0x74,0x72,0x69,0x61,0x6c])&&(_0xd460f6=_0x5e77fd(_0x16b342([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37d0fb()):_0x16b342([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16b342([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16b342([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16b342([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ab373(){const _0x15fe6b=[_0x16b342([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16b342([0x74,0x72,0x69,0x61,0x6c])][_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b2d23[_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x350ab8/0x3e8:0xe10*_0x4ff907;return _0x3b2d23[_0x16b342([0x65,0x78,0x70])]<_0x15fe6b;}function _0x15dcba(){const _0x2c31fc=_0x3b2d23[_0x16b342([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c31fc&&(!!_0x2c31fc[_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b342([0x2a]))||!!_0x2c31fc[_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b342([0x53,0x45,0x45])));}function _0x459527(){const _0x4fdff1=_0x3b2d23[_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fdff1||0x0==_0x4fdff1[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x108b83}=new URL(window[_0x16b342([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4fdff1[_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x108b83))return!0x0;const _0x3463a9=_0x108b83[_0x16b342([0x73,0x70,0x6c,0x69,0x74])](_0x16b342([0x2e]));return _0x4fdff1[_0x16b342([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a8451=>_0x4a8451[_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b342([0x2a])))[_0x16b342([0x6d,0x61,0x70])](_0x45d029=>_0x45d029[_0x16b342([0x73,0x70,0x6c,0x69,0x74])](_0x16b342([0x2e])))[_0x16b342([0x73,0x6f,0x6d,0x65])](_0x1872c3=>_0x3463a9[_0x16b342([0x65,0x76,0x65,0x72,0x79])]((_0x532d2f,_0x1d4cf8)=>_0x1872c3[_0x1d4cf8]===_0x532d2f||_0x1872c3[_0x1d4cf8]===_0x16b342([0x2a])));}function _0x37d0fb(){return _0xd460f6&&_0x3dd81a?new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6f7a52,_0x2f6c87)=>{_0xd460f6[_0x16b342([0x74,0x68,0x65,0x6e])](_0x6f7a52,_0x2f6c87),_0x3dd81a[_0x16b342([0x74,0x68,0x65,0x6e])](_0xa427ea=>{_0xa427ea!=_0x16b342([0x56,0x61,0x6c,0x69,0x64])&&_0x6f7a52(_0xa427ea);},_0x2f6c87);}):_0xd460f6||_0x3dd81a||_0x16b342([0x56,0x61,0x6c,0x69,0x64]);}}function _0x167bdb(_0x5eecf3,_0x3af4af){return new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5604f3=>{if(_0x774977())return _0x5604f3(_0x16b342([0x56,0x61,0x6c,0x69,0x64]));_0xa08e63(),_0x45136a[_0x16b342([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16b342([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29f9a0=!0x1;const _0x4cfecf=_0x427dd1();function _0x4cab8a(_0x221751){return!!_0x221751&&(typeof _0x221751===_0x16b342([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x221751===_0x16b342([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x221751[_0x16b342([0x74,0x68,0x65,0x6e])]===_0x16b342([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x221751[_0x16b342([0x63,0x61,0x74,0x63,0x68])]===_0x16b342([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1eafe3(_0x30fdc1){_0x47801b(_0x30fdc1)[_0x16b342([0x74,0x68,0x65,0x6e])](_0x1cc594=>{if(!_0x1cc594||_0x1cc594[_0x16b342([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16b342([0x6f,0x6b]))return _0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x322728(_0x3e66d9(_0x4cfecf+_0x3af4af))!=_0x1cc594[_0x16b342([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16b342([0x56,0x61,0x6c,0x69,0x64]);})[_0x16b342([0x74,0x68,0x65,0x6e])](_0x127094=>(_0x4982f6(),_0x127094),()=>{const _0x5389db=_0x1e621f();return null==_0x5389db?(_0x4982f6(),_0x16b342([0x56,0x61,0x6c,0x69,0x64])):_0x16b342(_0x350ab8-_0x5389db>(0x7f551a70^_0x275d48)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16b342([0x74,0x68,0x65,0x6e])](_0x5604f3)[_0x16b342([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5604f3(_0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x40ac99=0x5b6f70f0^_0x275d48;function _0x4982f6(){const _0x49ce6d=_0x16b342([0x6c,0x6c,0x63,0x74,0x2d])+_0x322728(_0x3e66d9(_0x5eecf3)),_0x278ad0=_0x1af7f2(_0x322728(window[_0x16b342([0x4d,0x61,0x74,0x68])][_0x16b342([0x63,0x65,0x69,0x6c])](_0x350ab8/_0x40ac99)));window[_0x16b342([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16b342([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49ce6d,_0x278ad0);}function _0x1e621f(){const _0x1f600e=_0x16b342([0x6c,0x6c,0x63,0x74,0x2d])+_0x322728(_0x3e66d9(_0x5eecf3)),_0x7da187=window[_0x16b342([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16b342([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f600e);return _0x7da187?window[_0x16b342([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af7f2(_0x7da187),0x10)*_0x40ac99:null;}function _0x47801b(_0x2792c7){return new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfe0c7b,_0x5d45fd)=>{_0x2792c7[_0x16b342([0x74,0x68,0x65,0x6e])](_0xfe0c7b,_0x5d45fd),window[_0x16b342([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d45fd,0x5b584ab0^_0x275d48);});}}_0x45136a[_0x16b342([0x6f,0x6e])](_0x16b342([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6449a,_0x24acb1)=>{if(_0x24acb1[0x0]!=_0x5eecf3)return _0x5604f3(_0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24acb1[0x1]={..._0x24acb1[0x1],[_0x16b342([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cfecf};},{[_0x16b342([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16b342([0x68,0x69,0x67,0x68])}),_0x45136a[_0x16b342([0x6f,0x6e])](_0x16b342([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3515ec=>{_0x4cab8a(_0x3515ec[_0x16b342([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29f9a0=!0x0,_0x1eafe3(_0x3515ec[_0x16b342([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16b342([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16b342([0x6c,0x6f,0x77])}),_0x18ac3f[_0x16b342([0x74,0x68,0x65,0x6e])](()=>{_0x29f9a0||_0x5604f3(_0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x774977(){return _0x45136a[_0x16b342([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16b342([0x76,0x69,0x65,0x77])][_0x16b342([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16b342([0x61,0x75,0x74,0x6f]);}function _0xa08e63(){_0x45136a[_0x16b342([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16b342([0x76,0x69,0x65,0x77])][_0x16b342([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16b342([0x61,0x75,0x74,0x6f]);}}function _0x5e77fd(_0x2a6317){const _0x2f6411=[new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x492202=>setTimeout(_0x492202,0x5b50a0bc^_0x275d48)),_0x18ac3f[_0x16b342([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x224c93=>{let _0x3ca256=0x0;_0x45136a[_0x16b342([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b342([0x6f,0x6e])](_0x16b342([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c62dd,_0x3638d1)=>{_0x3638d1[0x0][_0x16b342([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ca256++,_0x3ca256==(0x5b599f88^_0x275d48)&&(_0x224c93(),_0x1c62dd[_0x16b342([0x6f,0x66,0x66])]());});}))];return window[_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16b342([0x72,0x61,0x63,0x65])](_0x2f6411)[_0x16b342([0x74,0x68,0x65,0x6e])](()=>_0x2a6317);}async function _0x49d04b(){await _0x18ac3f,_0x45136a[_0x16b342([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b342([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x475984,_0x45136a[_0x16b342([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b342([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x475984,_0x45136a[_0x16b342([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16b342([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x361b73(_0x37e9c0){const _0x230cf1=_0x409198();_0x45136a[_0x230cf1]=_0x16b342([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])+_0x37e9c0,_0x37e9c0!=_0x16b342([0x56,0x61,0x6c,0x69,0x64])&&_0x49d04b();}function _0x409198(){const _0xd86ef2=window[_0x16b342([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16b342([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16b342([0x6e,0x6f,0x77])]())[_0x16b342([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16b342([0x2e]),'');let _0x3211bd=_0x16b342([0x4d]);for(let _0x1699cf=0x0;_0x1699cf<_0xd86ef2[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1699cf+=0x2){let _0x16ae1e=window[_0x16b342([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd86ef2[_0x16b342([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1699cf,_0x1699cf+0x2));_0x16ae1e>=_0xa7f51e[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16ae1e-=_0xa7f51e[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3211bd+=_0xa7f51e[_0x16ae1e];}return _0x3211bd;}function _0x2eb3af(){const _0x157790=_0x4ded9e[_0x16b342([0x73,0x70,0x6c,0x69,0x74])](_0x16b342([0x2e]));if(0x3!=_0x157790[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d2979(_0x157790[0x1]);function _0x1d2979(_0x4064d9){const _0xed1682=_0x458b5c(_0x4064d9);return _0xed1682&&_0x25014e()?_0xed1682:null;function _0x25014e(){const _0x6fc7df=_0xed1682[_0x16b342([0x6a,0x74,0x69])],_0x1a802c=window[_0x16b342([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6fc7df[_0x16b342([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6fc7df[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x185959={..._0xed1682,[_0x16b342([0x6a,0x74,0x69])]:_0x6fc7df[_0x16b342([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6fc7df[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x185959[_0x16b342([0x76,0x63])],_0x3e66d9(_0x185959)==_0x1a802c;}}}async function _0x370fdc(){let _0x1fef63=!0x0;try{const _0x25f580=_0x4ded9e[_0x16b342([0x73,0x70,0x6c,0x69,0x74])](_0x16b342([0x2e])),[_0x473f9d,_0x458db2,_0x1b7832]=_0x25f580;return _0x348276(_0x473f9d),await _0x1c8949(_0x473f9d,_0x458db2,_0x1b7832),_0x1fef63;}catch{return!0x1;}function _0x348276(_0x1d881b){const _0x1f3cfd=_0x458b5c(_0x1d881b);_0x1f3cfd&&_0x1f3cfd[_0x16b342([0x61,0x6c,0x67])]==_0x16b342([0x45,0x53,0x32,0x35,0x36])||(_0x1fef63=!0x1);}async function _0x1c8949(_0x3094fe,_0x186409,_0x5f5c70){const _0x1ab592=window[_0x16b342([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16b342([0x66,0x72,0x6f,0x6d])](_0x21a181(_0x5f5c70),_0x314b37=>_0x314b37[_0x16b342([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23fa67=new window[(_0x16b342([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16b342([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3094fe+_0x16b342([0x2e])+_0x186409),_0x24b849=window[_0x16b342([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16b342([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24b849)return;const _0x41caa2=await _0x24b849[_0x16b342([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16b342([0x6a,0x77,0x6b]),_0xd03823,{[_0x16b342([0x6e,0x61,0x6d,0x65])]:_0x16b342([0x45,0x43,0x44,0x53,0x41]),[_0x16b342([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16b342([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16b342([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24b849[_0x16b342([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16b342([0x6e,0x61,0x6d,0x65])]:_0x16b342([0x45,0x43,0x44,0x53,0x41]),[_0x16b342([0x68,0x61,0x73,0x68])]:{[_0x16b342([0x6e,0x61,0x6d,0x65])]:_0x16b342([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41caa2,_0x1ab592,_0x23fa67)||(_0x1fef63=!0x1);}}function _0x458b5c(_0x4d9d2f){return _0x4d9d2f[_0x16b342([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16b342([0x65,0x79]))?JSON[_0x16b342([0x70,0x61,0x72,0x73,0x65])](_0x21a181(_0x4d9d2f)):null;}function _0x21a181(_0x1458d7){return window[_0x16b342([0x61,0x74,0x6f,0x62])](_0x1458d7[_0x16b342([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16b342([0x2b]))[_0x16b342([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16b342([0x2f])));}function _0x3e66d9(_0x4583e7){let _0x872dca=0x1505;function _0xfb6bb(_0x512653){for(let _0x602d51=0x0;_0x602d51<_0x512653[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x602d51++){const _0x1c6740=_0x512653[_0x16b342([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x602d51);_0x872dca=(_0x872dca<<0x5)+_0x872dca+_0x1c6740,_0x872dca&=_0x872dca;}}function _0x4163be(_0x2dd288){Array[_0x16b342([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2dd288)?_0x2dd288[_0x16b342([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4163be):_0x2dd288&&typeof _0x2dd288==_0x16b342([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16b342([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2dd288)[_0x16b342([0x73,0x6f,0x72,0x74])]()[_0x16b342([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x462395,_0x360df7])=>{_0xfb6bb(_0x462395),_0x4163be(_0x360df7);}):_0xfb6bb(window[_0x16b342([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2dd288));}return _0x4163be(_0x4583e7),_0x872dca>>>0x0;}function _0x322728(_0x315d4d){return _0x315d4d[_0x16b342([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16b342([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16b342([0x30]));}function _0x1af7f2(_0xe493b3){return _0xe493b3[_0x16b342([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16b342([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16b342([0x6a,0x6f,0x69,0x6e])]('');}function _0x475984(){}function _0x16b342(_0x1cccca){return _0x1cccca['map'](_0x3c06bb=>String['fromCharCode'](_0x3c06bb))['join']('');}_0x361b73(await _0x375ff7());}(this);}['_createButton'](_0x4c26fe,_0x19cc1e,_0x18ecd9=!0x1){const _0x850a6=new _0x4c26fe(this['editor']['locale']);return _0x850a6['set']({'withText':_0x18ecd9,'isToggleable':!0x1}),_0x850a6['bind']('isEnabled')['to'](_0x19cc1e,'isEnabled'),this['listenTo'](_0x850a6,'execute',()=>_0x19cc1e['execute']()),_0x850a6;}['_registerKeybindings'](){const _0x331d89=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x331d89,'Source\x20Editing\x20Enhanced')});const _0x158b07=_0x22e743['isMac']||_0x22e743['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x331d89,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x331d89,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x331d89,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x331d89,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x331d89,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x331d89,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x331d89,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x158b07?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x331d89,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x331d89,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x331d89,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x331d89,'Select\x20line'),'keystroke':_0x158b07?'Ctrl!+L':'Alt+L'},{'label':f(_0x331d89,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x158b07?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x331d89,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x331d89,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x331d89,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x331d89,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x331d89,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x158b07?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0xef2bfd{constructor(_0x2e5def){super(_0x2e5def),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xdfa0c7,_0x7ccddd){const _0x2956ad=this['editor'],_0x187361=_0x7ccddd?.['rootName']??s(_0x2956ad);_0x2956ad['data']['set']({[_0x187361]:_0xdfa0c7},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0xcecc55{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x2c2d12){super(_0x2c2d12),_0x2c2d12['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e7300=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x139b70;for(const _0x66703c in _0x1e7300){const _0xe11d9b=_0x66703c,_0x2633d0=_0x1e7300[_0xe11d9b];if('sourceEditingEnhancedLicenseKeyValid'==_0x2633d0||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2633d0||'sourceEditingEnhancedLicenseKeyExpired'==_0x2633d0||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2633d0||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2633d0||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2633d0||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2633d0||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2633d0){delete _0x1e7300[_0xe11d9b],_0x139b70=_0x2633d0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x139b70&&_0x1e7300['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x139b70&&_0x1e7300['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x139b70&&_0x1e7300['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x139b70&&_0x1e7300['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x139b70&&_0x1e7300['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x139b70&&_0x1e7300['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x139b70&&_0x1e7300['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x2aed80=this['editor'],_0x37f109=_0x2aed80['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x37f109&&_0x2aed80['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x36cdb0('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x37f109&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x16008b=>_0x2aed80['plugins']['has'](_0x16008b))&&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.'),_0x2aed80['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,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
23
+ import{Command as _0x53b2d8,PendingActions as _0x2a71ee,Plugin as _0x4203de}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3717a2,formatHtml as tr,env as _0x20ad7f,uid as _0x9e873c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x2cb70e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2aaacf,ButtonView as _0x43e228,MenuBarMenuListItemButtonView as _0x374fec}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4f5e89,crosshairCursor as _0x1c0017,drawSelection as _0x6dacb6,dropCursor as _0x1e87e1,lineNumbers as _0x6956cf,highlightActiveLine as _0x1f5f56,highlightActiveLineGutter as _0x4d9933,highlightSpecialChars as _0x2d97f8,rectangularSelection as _0x341e9f,keymap as _0x498783}from'@codemirror/view';import{Compartment as _0x1bfa57,Transaction as _0x300ca8}from'@codemirror/state';import{bracketMatching as _0xfdb247,foldGutter as _0x35c348,indentOnInput as _0x25d5b3,syntaxHighlighting as _0xf06ef9,defaultHighlightStyle as _0x4562a4,foldKeymap as _0x2db248}from'@codemirror/language';import{toggleTabFocusMode as _0x3c895c,history as _0x1e49b0,defaultKeymap as _0x5fedf7,historyKeymap as _0x353dd7,indentLess as _0x42fc08,indentMore as _0x4cf5d5,redo as _0x278752,undo as _0x138950}from'@codemirror/commands';import{autocompletion as _0xd85156,closeBrackets as _0x3a0eb6,closeBracketsKeymap as _0x22d7ae,completionKeymap as _0x3678f8}from'@codemirror/autocomplete';import{html as _0x245366}from'@codemirror/lang-html';import{markdown as _0x29770a}from'@codemirror/lang-markdown';import{oneDark as _0x4f890d}from'@codemirror/theme-one-dark';function f(_0x5699f1,_0x112607){const t=_0x5699f1['t'];switch(_0x112607){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 _0x112607;}}function s(_0x138736){const _0x3b5912=_0x138736['editing']['view']['document']['roots'],_0x5ad571=_0x3b5912['length'];if(0x0===_0x5ad571)throw new _0x3717a2('source-editing-enhanced-editor-no-root',_0x138736);if(0x1===_0x5ad571)return _0x3b5912['first']['rootName'];return Array['from'](_0x138736['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x36b8d6){return or(_0x36b8d6['replace'](/^[\n\s]*/g,''))?_0x36b8d6['replace'](/\s+/g,''):_0x36b8d6;}function or(_0x35de65){return _0x35de65['startsWith']('<');}function p(_0x4cca6d){const _0x1dcdc1=[_0x4f5e89['lineWrapping'],_0xd85156(),_0xfdb247(),_0x3a0eb6(),_0x1c0017(),_0x6dacb6(),_0x1e87e1(),_0x6956cf(),_0x35c348(),_0x1f5f56(),_0x4d9933(),_0x2d97f8(),_0x1e49b0(),_0x25d5b3(),_0x341e9f(),_0xf06ef9(_0x4562a4,{'fallback':!0x0})],_0x1a075c=new _0x1bfa57();_0x1dcdc1['push'](_0x1a075c['of'](_0x4f5e89['editable']['of'](!0x0))),'html'===_0x4cca6d['syntaxLanguage']?_0x1dcdc1['push'](_0x245366()):_0x1dcdc1['push'](_0x29770a());const _0x1e19bf=function(_0x8d896b){if(_0x8d896b&&'default'!==_0x8d896b)return'dark'===_0x8d896b?_0x4f890d:_0x8d896b;return null;}(_0x4cca6d['theme']);_0x1e19bf&&_0x1dcdc1['push'](_0x1e19bf),_0x1dcdc1['push'](_0x498783['of']([..._0x22d7ae,..._0x5fedf7,..._0x353dd7,..._0x2db248,..._0x3678f8,{'key':'Tab','run':_0x4cf5d5,'shift':_0x42fc08,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x278752,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x278752,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x138950,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x58702a=new _0x4f5e89({'extensions':_0x1dcdc1,'parent':_0x4cca6d['parent']});return _0x3c895c(_0x58702a),{'focus':()=>{_0x58702a['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x58702a['focus']();},'getData':()=>_0x58702a['state']['doc']['toString'](),'setData':_0x1aef03=>{_0x58702a['dispatch']({'changes':{'from':0x0,'to':_0x58702a['state']['doc']['length'],'insert':_0x1aef03},'annotations':_0x300ca8['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5475a6=>{_0x58702a['dispatch']({'effects':[_0x1a075c['reconfigure'](_0x4f5e89['editable']['of'](!_0x5475a6))]});},'destroy':()=>{_0x58702a['destroy']();},'instance':_0x58702a};}class m extends _0x2aaacf{['_codeEditorApi']=null;['_options'];constructor(_0x478c4e,_0x1b8a8a){super(_0x478c4e),this['_options']=_0x1b8a8a,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',(_0xcc252,_0x30f308,_0x1a4a91)=>{this['setReadOnly'](_0x1a4a91);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xd53ef7){this['_codeEditorApi']['setData'](_0xd53ef7);}['setReadOnly'](_0x1034d8){this['_codeEditorApi']['setReadOnly'](_0x1034d8);}}const b='SourceEditingEnhancedMode';class d extends _0x53b2d8{constructor(_0x1a46d2){super(_0x1a46d2),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2a71ee)['on']('change:hasAny',(_0x343684,_0x28ea4a,_0x3dc571)=>{_0x3dc571?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4e1ff3=this['editor'];for(const _0x3dcadd of _0x4e1ff3['commands']['names']())['replaceSource','editSource']['includes'](_0x3dcadd)||_0x4e1ff3['commands']['get'](_0x3dcadd)['forceDisabled'](b);}['_enableCommands'](){const _0x3af901=this['editor'];for(const _0x1fae04 of _0x3af901['commands']['commands']())_0x1fae04['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3650d4=this['editor'],_0x371303=_0x3650d4['locale'],_0x555ee3=_0x3650d4['plugins']['get']('Dialog'),_0x304729=s(_0x3650d4),_0x4cc9bc=_0x3650d4['data']['get']({'rootName':_0x304729}),_0x1ae6fc=or(_0x5d6b38=_0x4cc9bc)?tr(_0x5d6b38):_0x5d6b38;var _0x5d6b38;const _0x57b3c4=new m(_0x371303,{'syntaxLanguage':_0x3650d4['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3650d4['config']['get']('sourceEditingEnhanced.theme')});let _0xaeccb4=!0x0;const _0x55a770=_0x3a5aa5=>{if(!_0xaeccb4)return;return E(_0x57b3c4['getData']())!==E(_0x1ae6fc)?window['confirm'](f(_0x371303,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3a5aa5['stop']():void 0x0;};_0x555ee3['show']({'id':'sourceEditingEnhanced','title':f(_0x371303,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x57b3c4,'actionButtons':[{'label':f(_0x371303,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x555ee3['hide']();}},{'label':f(_0x371303,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x443e7a=E(_0x57b3c4['getData']())!==E(_0x1ae6fc);(_0x443e7a&&_0x3650d4['execute']('replaceSource',_0x57b3c4['getData']()),_0xaeccb4=!0x1,_0x555ee3['hide'](),_0x443e7a&&'editables'in _0x3650d4['ui']['view'])&&_0x3650d4['ui']['view']['editables'][_0x304729]['element']['focus']();},'onCreate':_0x115f72=>{_0x115f72['set']('isEnabled',!_0x3650d4['isReadOnly']),_0x115f72['bind']('isEnabled')['to'](_0x3650d4,'isReadOnly',this,'isEnabled',(_0x714017,_0x5edcf4)=>!_0x714017&&_0x5edcf4);}}],'onHide':()=>{this['_enableCommands'](),_0x555ee3['off']('hide',_0x55a770),_0x57b3c4['destroy']();},'onShow':()=>{_0x57b3c4['bind']('isReadOnly')['to'](_0x3650d4,'isReadOnly',this,'isEnabled',(_0x4d2f78,_0x324dac)=>_0x4d2f78||!_0x324dac),_0x57b3c4['setData'](_0x1ae6fc),_0x57b3c4['focus'](),_0x555ee3['on']('hide',_0x55a770,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4203de{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2a71ee];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x279ace=this['editor'],_0x24ee31=_0x279ace['locale'],_0x4b8490=new d(_0x279ace);_0x279ace['commands']['add']('editSource',_0x4b8490),_0x279ace['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x40a8ab=this['_createButton'](_0x43e228,_0x4b8490);return _0x40a8ab['set']({'label':f(_0x24ee31,'Source'),'icon':_0x2cb70e,'tooltip':f(_0x24ee31,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x40a8ab;}),_0x279ace['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x19a5fe=this['_createButton'](_0x374fec,_0x4b8490,!0x0);return _0x19a5fe['set']({'label':f(_0x24ee31,'Edit\x20source\x20modal\x20label'),'icon':_0x2cb70e,'role':'menuitemcheckbox'}),_0x19a5fe;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x213f1e){const _0x365914=_0x4c5367([0x64,0x52,0x58,0x62,0x32,0x34,0x38,0x5a,0x73,0x46,0x6f,0x41,0x72,0x4e,0x47,0x37,0x31,0x50,0x51,0x77,0x49,0x6e,0x44,0x63,0x48,0x4a,0x61,0x66,0x35,0x65,0x78,0x4c,0x74,0x55,0x4f,0x79,0x68,0x6a,0x59,0x76,0x54,0x56,0x4d,0x6d,0x36,0x69,0x70,0x4b,0x43,0x39,0x53,0x45,0x75,0x30,0x71,0x33,0x42,0x67,0x57,0x7a,0x6b,0x6c]),_0x17674c=0x4dfbb455,_0x50c665=0x4dfcddd5^_0x17674c,_0x2add89=window[_0x4c5367([0x44,0x61,0x74,0x65])][_0x4c5367([0x6e,0x6f,0x77])](),_0x357c91=_0x213f1e[_0x4c5367([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f7656=new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa73ff3=>{_0x357c91[_0x4c5367([0x6f,0x6e,0x63,0x65])](_0x4c5367([0x72,0x65,0x61,0x64,0x79]),_0xa73ff3);}),_0x74cfd0={[_0x4c5367([0x6b,0x74,0x79])]:_0x4c5367([0x45,0x43]),[_0x4c5367([0x75,0x73,0x65])]:_0x4c5367([0x73,0x69,0x67]),[_0x4c5367([0x63,0x72,0x76])]:_0x4c5367([0x50,0x2d,0x32,0x35,0x36]),[_0x4c5367([0x78])]:_0x4c5367([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]),[_0x4c5367([0x79])]:_0x4c5367([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]),[_0x4c5367([0x61,0x6c,0x67])]:_0x4c5367([0x45,0x53,0x32,0x35,0x36])},_0x40830f=_0x357c91[_0x4c5367([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c5367([0x67,0x65,0x74])](_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58d864(){let _0x2f994b,_0x3e17d2=null,_0x14ec5d=null;try{if(_0x40830f==_0x4c5367([0x47,0x50,0x4c]))return _0x4c5367([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f994b=_0x14111d(),!_0x2f994b)return _0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f994b[_0x4c5367([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14ec5d=_0x4f461a(_0x2f994b[_0x4c5367([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f994b[_0x4c5367([0x6a,0x74,0x69])])),await _0x3df1ec()?_0x9062de()?_0x2c677b()?_0x4c5367([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22919f()?(_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5367([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e17d2=_0x2be155(_0x4c5367([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5367([0x74,0x72,0x69,0x61,0x6c])&&(_0x3e17d2=_0x2be155(_0x4c5367([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49f64d()):_0x4c5367([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5367([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c677b(){const _0x33a4f6=[_0x4c5367([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c5367([0x74,0x72,0x69,0x61,0x6c])][_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2add89/0x3e8:0xe10*_0x50c665;return _0x2f994b[_0x4c5367([0x65,0x78,0x70])]<_0x33a4f6;}function _0x9062de(){const _0x225ea6=_0x2f994b[_0x4c5367([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x225ea6&&(!!_0x225ea6[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x2a]))||!!_0x225ea6[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x53,0x45,0x45])));}function _0x22919f(){const _0x1b5e7f=_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b5e7f||0x0==_0x1b5e7f[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x335670}=new URL(window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1b5e7f[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335670))return!0x0;const _0x33cc5b=_0x335670[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e]));return _0x1b5e7f[_0x4c5367([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1abc92=>_0x1abc92[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x2a])))[_0x4c5367([0x6d,0x61,0x70])](_0x31fa04=>_0x31fa04[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e])))[_0x4c5367([0x73,0x6f,0x6d,0x65])](_0x5456ca=>_0x33cc5b[_0x4c5367([0x65,0x76,0x65,0x72,0x79])]((_0x446b79,_0x4f7cd2)=>_0x5456ca[_0x4f7cd2]===_0x446b79||_0x5456ca[_0x4f7cd2]===_0x4c5367([0x2a])));}function _0x49f64d(){return _0x3e17d2&&_0x14ec5d?new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e68c,_0x246b8f)=>{_0x3e17d2[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x53e68c,_0x246b8f),_0x14ec5d[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x4c03fa=>{_0x4c03fa!=_0x4c5367([0x56,0x61,0x6c,0x69,0x64])&&_0x53e68c(_0x4c03fa);},_0x246b8f);}):_0x3e17d2||_0x14ec5d||_0x4c5367([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f461a(_0x6a44b8,_0x5d369e){return new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14e3fe=>{if(_0x2eb6f6())return _0x14e3fe(_0x4c5367([0x56,0x61,0x6c,0x69,0x64]));_0x5ee837(),_0x357c91[_0x4c5367([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12619b=!0x1;const _0x32eab2=_0x9e873c();function _0x141942(_0x370c22){return!!_0x370c22&&(typeof _0x370c22===_0x4c5367([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x370c22===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x370c22[_0x4c5367([0x74,0x68,0x65,0x6e])]===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x370c22[_0x4c5367([0x63,0x61,0x74,0x63,0x68])]===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b2c58(_0x1f96a8){_0x5b85f8(_0x1f96a8)[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x5ccb4d=>{if(!_0x5ccb4d||_0x5ccb4d[_0x4c5367([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c5367([0x6f,0x6b]))return _0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f7972(_0x330ecc(_0x32eab2+_0x5d369e))!=_0x5ccb4d[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5367([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x565d7d=>(_0xd221bb(),_0x565d7d),()=>{const _0x46fe10=_0x373802();return null==_0x46fe10?(_0xd221bb(),_0x4c5367([0x56,0x61,0x6c,0x69,0x64])):_0x4c5367(_0x2add89-_0x46fe10>(0x69f73055^_0x17674c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x14e3fe)[_0x4c5367([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x582947=0x4dcd5ad5^_0x17674c;function _0xd221bb(){const _0x5b23ca=_0x4c5367([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7972(_0x330ecc(_0x6a44b8)),_0x2c6ff6=_0x113000(_0x1f7972(window[_0x4c5367([0x4d,0x61,0x74,0x68])][_0x4c5367([0x63,0x65,0x69,0x6c])](_0x2add89/_0x582947)));window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5367([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b23ca,_0x2c6ff6);}function _0x373802(){const _0x481633=_0x4c5367([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7972(_0x330ecc(_0x6a44b8)),_0x456039=window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5367([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x481633);return _0x456039?window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x113000(_0x456039),0x10)*_0x582947:null;}function _0x5b85f8(_0x2f4c1b){return new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c54ee,_0xf9182c)=>{_0x2f4c1b[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x5c54ee,_0xf9182c),window[_0x4c5367([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf9182c,0x4dfa6095^_0x17674c);});}}_0x357c91[_0x4c5367([0x6f,0x6e])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x10a1b2,_0x235871)=>{if(_0x235871[0x0]!=_0x6a44b8)return _0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x235871[0x1]={..._0x235871[0x1],[_0x4c5367([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32eab2};},{[_0x4c5367([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5367([0x68,0x69,0x67,0x68])}),_0x357c91[_0x4c5367([0x6f,0x6e])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e85fd=>{_0x141942(_0x5e85fd[_0x4c5367([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12619b=!0x0,_0x3b2c58(_0x5e85fd[_0x4c5367([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c5367([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5367([0x6c,0x6f,0x77])}),_0x3f7656[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>{_0x12619b||_0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2eb6f6(){return _0x357c91[_0x4c5367([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5367([0x76,0x69,0x65,0x77])][_0x4c5367([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c5367([0x61,0x75,0x74,0x6f]);}function _0x5ee837(){_0x357c91[_0x4c5367([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5367([0x76,0x69,0x65,0x77])][_0x4c5367([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c5367([0x61,0x75,0x74,0x6f]);}}function _0x2be155(_0xc48ffc){const _0x255dfa=[new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfeadba=>setTimeout(_0xfeadba,0x4df28a99^_0x17674c)),_0x3f7656[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcfa37d=>{let _0x296613=0x0;_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x6f,0x6e])](_0x4c5367([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f7da3,_0x1ce38)=>{_0x1ce38[0x0][_0x4c5367([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x296613++,_0x296613==(0x4dfbb5ad^_0x17674c)&&(_0xcfa37d(),_0x4f7da3[_0x4c5367([0x6f,0x66,0x66])]());});}))];return window[_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c5367([0x72,0x61,0x63,0x65])](_0x255dfa)[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>_0xc48ffc);}async function _0x5258c7(){await _0x3f7656,_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3189a3,_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3189a3,_0x357c91[_0x4c5367([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x288c3c(_0x44c1b7){const _0x2cde4e=_0x192701();_0x357c91[_0x2cde4e]=_0x4c5367([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])+_0x44c1b7,_0x44c1b7!=_0x4c5367([0x56,0x61,0x6c,0x69,0x64])&&_0x5258c7();}function _0x192701(){const _0x5504ce=window[_0x4c5367([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c5367([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c5367([0x6e,0x6f,0x77])]())[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c5367([0x2e]),'');let _0x43b9eb=_0x4c5367([0x64]);for(let _0x4598b8=0x0;_0x4598b8<_0x5504ce[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4598b8+=0x2){let _0x5bdc3f=window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5504ce[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4598b8,_0x4598b8+0x2));_0x5bdc3f>=_0x365914[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bdc3f-=_0x365914[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43b9eb+=_0x365914[_0x5bdc3f];}return _0x43b9eb;}function _0x14111d(){const _0x553fdf=_0x40830f[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e]));if(0x3!=_0x553fdf[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1962d3(_0x553fdf[0x1]);function _0x1962d3(_0x1e4cb8){const _0x392b08=_0xb13e30(_0x1e4cb8);return _0x392b08&&_0x3d9371()?_0x392b08:null;function _0x3d9371(){const _0x2745fb=_0x392b08[_0x4c5367([0x6a,0x74,0x69])],_0x29e68f=window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2745fb[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2745fb[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1dc9fb={..._0x392b08,[_0x4c5367([0x6a,0x74,0x69])]:_0x2745fb[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2745fb[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1dc9fb[_0x4c5367([0x76,0x63])],_0x330ecc(_0x1dc9fb)==_0x29e68f;}}}async function _0x3df1ec(){let _0x22f5ce=!0x0;try{const _0x14a323=_0x40830f[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e])),[_0x47cb55,_0x1c45fb,_0x9c1ca9]=_0x14a323;return _0x4a4175(_0x47cb55),await _0x3762f1(_0x47cb55,_0x1c45fb,_0x9c1ca9),_0x22f5ce;}catch{return!0x1;}function _0x4a4175(_0x57d305){const _0x1d8d43=_0xb13e30(_0x57d305);_0x1d8d43&&_0x1d8d43[_0x4c5367([0x61,0x6c,0x67])]==_0x4c5367([0x45,0x53,0x32,0x35,0x36])||(_0x22f5ce=!0x1);}async function _0x3762f1(_0x255a16,_0x3ef493,_0x4c21be){const _0x2d4bf0=window[_0x4c5367([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c5367([0x66,0x72,0x6f,0x6d])](_0x425bc6(_0x4c21be),_0x12cde5=>_0x12cde5[_0x4c5367([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3eaa6d=new window[(_0x4c5367([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c5367([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x255a16+_0x4c5367([0x2e])+_0x3ef493),_0x899c25=window[_0x4c5367([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c5367([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x899c25)return;const _0x1c23c1=await _0x899c25[_0x4c5367([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c5367([0x6a,0x77,0x6b]),_0x74cfd0,{[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x45,0x43,0x44,0x53,0x41]),[_0x4c5367([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c5367([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x899c25[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x45,0x43,0x44,0x53,0x41]),[_0x4c5367([0x68,0x61,0x73,0x68])]:{[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c23c1,_0x2d4bf0,_0x3eaa6d)||(_0x22f5ce=!0x1);}}function _0xb13e30(_0x4853a1){return _0x4853a1[_0x4c5367([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c5367([0x65,0x79]))?JSON[_0x4c5367([0x70,0x61,0x72,0x73,0x65])](_0x425bc6(_0x4853a1)):null;}function _0x425bc6(_0x596e03){return window[_0x4c5367([0x61,0x74,0x6f,0x62])](_0x596e03[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c5367([0x2b]))[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c5367([0x2f])));}function _0x330ecc(_0x2cbc1f){let _0x53cc82=0x1505;function _0x4ef252(_0x2df069){for(let _0x1af970=0x0;_0x1af970<_0x2df069[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1af970++){const _0x5729f5=_0x2df069[_0x4c5367([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1af970);_0x53cc82=(_0x53cc82<<0x5)+_0x53cc82+_0x5729f5,_0x53cc82&=_0x53cc82;}}function _0x32ff8b(_0x5b7958){Array[_0x4c5367([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b7958)?_0x5b7958[_0x4c5367([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32ff8b):_0x5b7958&&typeof _0x5b7958==_0x4c5367([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c5367([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b7958)[_0x4c5367([0x73,0x6f,0x72,0x74])]()[_0x4c5367([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x428112,_0x28bc24])=>{_0x4ef252(_0x428112),_0x32ff8b(_0x28bc24);}):_0x4ef252(window[_0x4c5367([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b7958));}return _0x32ff8b(_0x2cbc1f),_0x53cc82>>>0x0;}function _0x1f7972(_0x488613){return _0x488613[_0x4c5367([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c5367([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c5367([0x30]));}function _0x113000(_0x380c4b){return _0x380c4b[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c5367([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c5367([0x6a,0x6f,0x69,0x6e])]('');}function _0x3189a3(){}function _0x4c5367(_0x51e853){return _0x51e853['map'](_0x12a31a=>String['fromCharCode'](_0x12a31a))['join']('');}_0x288c3c(await _0x58d864());}(this);}['_createButton'](_0x446826,_0xc09d82,_0x381974=!0x1){const _0x1a5d4e=new _0x446826(this['editor']['locale']);return _0x1a5d4e['set']({'withText':_0x381974,'isToggleable':!0x1}),_0x1a5d4e['bind']('isEnabled')['to'](_0xc09d82,'isEnabled'),this['listenTo'](_0x1a5d4e,'execute',()=>_0xc09d82['execute']()),_0x1a5d4e;}['_registerKeybindings'](){const _0x5aa97b=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x5aa97b,'Source\x20Editing\x20Enhanced')});const _0x33591b=_0x20ad7f['isMac']||_0x20ad7f['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x5aa97b,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x5aa97b,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x5aa97b,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x5aa97b,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x5aa97b,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x5aa97b,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x5aa97b,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x33591b?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x5aa97b,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x5aa97b,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x5aa97b,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x5aa97b,'Select\x20line'),'keystroke':_0x33591b?'Ctrl!+L':'Alt+L'},{'label':f(_0x5aa97b,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x33591b?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x5aa97b,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x5aa97b,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x5aa97b,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x5aa97b,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x5aa97b,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x33591b?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x53b2d8{constructor(_0x2a5566){super(_0x2a5566),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x24948d,_0x5495e7){const _0x149ff9=this['editor'],_0x41152c=_0x5495e7?.['rootName']??s(_0x149ff9);_0x149ff9['data']['set']({[_0x41152c]:_0x24948d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x4203de{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x3257bc){super(_0x3257bc),_0x3257bc['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x419ad5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42ea3d;for(const _0x3a6a91 in _0x419ad5){const _0x5f285c=_0x3a6a91,_0x585209=_0x419ad5[_0x5f285c];if('sourceEditingEnhancedLicenseKeyValid'==_0x585209||'sourceEditingEnhancedLicenseKeyInvalid'==_0x585209||'sourceEditingEnhancedLicenseKeyExpired'==_0x585209||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x585209||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x585209){delete _0x419ad5[_0x5f285c],_0x42ea3d=_0x585209,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x42ea3d&&_0x419ad5['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x42ea3d&&_0x419ad5['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x42ea3d&&_0x419ad5['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3c5f64=this['editor'],_0x500292=_0x3c5f64['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x500292&&_0x3c5f64['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x3717a2('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x500292&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1f3e79=>_0x3c5f64['plugins']['has'](_0x1f3e79))&&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.'),_0x3c5f64['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,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "45.2.0-alpha.3",
3
+ "version": "45.2.0-alpha.4",
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": "45.2.0-alpha.3",
22
- "@ckeditor/ckeditor5-icons": "45.2.0-alpha.3",
23
- "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.3",
24
- "@ckeditor/ckeditor5-ui": "45.2.0-alpha.3",
25
- "@ckeditor/ckeditor5-utils": "45.2.0-alpha.3",
21
+ "@ckeditor/ckeditor5-core": "45.2.0-alpha.4",
22
+ "@ckeditor/ckeditor5-icons": "45.2.0-alpha.4",
23
+ "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.4",
24
+ "@ckeditor/ckeditor5-ui": "45.2.0-alpha.4",
25
+ "@ckeditor/ckeditor5-utils": "45.2.0-alpha.4",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.0",
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": "45.2.0-alpha.3"
34
+ "ckeditor5": "45.2.0-alpha.4"
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 _0x4a8ebb=_0x5b8f;(function(_0x24d99b,_0x183132){const _0x32c44e=_0x5b8f,_0xbffe66=_0x24d99b();while(!![]){try{const _0xfc8476=-parseInt(_0x32c44e(0x116))/0x1+-parseInt(_0x32c44e(0x108))/0x2+parseInt(_0x32c44e(0x104))/0x3+-parseInt(_0x32c44e(0x131))/0x4+parseInt(_0x32c44e(0x10a))/0x5+-parseInt(_0x32c44e(0x137))/0x6+parseInt(_0x32c44e(0x13b))/0x7;if(_0xfc8476===_0x183132)break;else _0xbffe66['push'](_0xbffe66['shift']());}catch(_0x347a10){_0xbffe66['push'](_0xbffe66['shift']());}}}(_0xce80,0xb2a67));import{Plugin as _0x3f7823,PendingActions as _0x39a792}from'ckeditor5/src/core.js';import{IconSource as _0x3c8cfd}from'ckeditor5/src/icons.js';function _0xce80(){const _0x241247=['Copy\x20line\x20down','Ctrl+M','Shift+Alt+ArrowUp','isEnabled','Indent\x20less','commands','locale','componentFactory','listenTo','Shift+Ctrl+K','1008884cqeZsB','SourceEditingEnhancedUI','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','set','Ctrl+Y','bind','Shift+Alt+ArrowDown','afterInit','Ctrl+]','Unfold\x20all','Redo\x20(keystroke)','Delete\x20line','editSource','Ctrl!+L','_registerKeybindings','isOfficialPlugin','Toggle\x20block\x20comment','Ctrl+Shift+[','Ctrl!+Alt+]','menuBar:sourceEditingEnhanced','Cmd+Alt+[','addKeystrokeInfos','map','addKeystrokeInfoCategory','Indent\x20more','pluginName','Copy\x20line\x20up','272592vKcAHY','editor','isiOS','Ctrl+Z','init','Cmd+Alt+]','2405592UIZFOE','href','Alt+Shift+M','Alt+L','10093734BvilkU','Ctrl+[','Select\x20line','Fold\x20all','menuitemcheckbox','Move\x20line\x20down','Ctrl+Shift+Z','isMac','fromCharCode','Alt+ArrowUp','add','_createButton','Move\x20line\x20up','execute','ck-source-editing-enhanced-button','isPremiumPlugin','Ctrl!+Alt+[','Toggle\x20comment','Edit\x20source\x20modal\x20label','Ctrl+/','join','Shift+Alt+A','Source\x20Editing\x20Enhanced','Undo\x20(keystroke)','requires','Unfold\x20code\x20(current\x20level)','sourceEditingEnhanced','1324941DgHQSM','Source','accessibility','Ctrl+Shift+]','726406dDGdDu','Fold\x20code\x20(current\x20level)','3446545zqbrec','Alt+ArrowDown'];_0xce80=function(){return _0x241247;};return _0xce80();}import{ButtonView as _0x568bcc,MenuBarMenuListItemButtonView as _0x183149}from'ckeditor5/src/ui.js';function _0x5b8f(_0x57de76,_0x214b9b){const _0xce808a=_0xce80();return _0x5b8f=function(_0x5b8f4c,_0x4542fa){_0x5b8f4c=_0x5b8f4c-0xf7;let _0x2689c4=_0xce808a[_0x5b8f4c];return _0x2689c4;},_0x5b8f(_0x57de76,_0x214b9b);}import _0x18b1b7 from'./ui/editsourcecommand.js';import{getTranslation as _0x1a9011}from'./utils/common-translations.js';import{env as _0x46550d,uid as _0x284e5b}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x3f7823{static get[_0x4a8ebb(0x12f)](){const _0x55399b=_0x4a8ebb;return _0x55399b(0x117);}static get[_0x4a8ebb(0x101)](){return[_0x39a792];}static get[_0x4a8ebb(0x125)](){return!0x0;}static get[_0x4a8ebb(0xf8)](){return!0x0;}[_0x4a8ebb(0x135)](){const _0x1089ec=_0x4a8ebb,_0xb9f05=this[_0x1089ec(0x132)],_0x4ddaeb=_0xb9f05[_0x1089ec(0x112)],_0x4140ce=new _0x18b1b7(_0xb9f05);_0xb9f05[_0x1089ec(0x111)][_0x1089ec(0x145)](_0x1089ec(0x122),_0x4140ce),_0xb9f05['ui'][_0x1089ec(0x113)][_0x1089ec(0x145)](_0x1089ec(0x103),()=>{const _0x112a8c=_0x1089ec,_0xcf0fbd=this[_0x112a8c(0x146)](_0x568bcc,_0x4140ce);return _0xcf0fbd[_0x112a8c(0x119)]({'label':_0x1a9011(_0x4ddaeb,_0x112a8c(0x105)),'icon':_0x3c8cfd,'tooltip':_0x1a9011(_0x4ddaeb,_0x112a8c(0xfb)),'class':_0x112a8c(0xf7)}),_0xcf0fbd;}),_0xb9f05['ui'][_0x1089ec(0x113)][_0x1089ec(0x145)](_0x1089ec(0x129),()=>{const _0x437ad3=_0x1089ec,_0x263354=this[_0x437ad3(0x146)](_0x183149,_0x4140ce,!0x0);return _0x263354[_0x437ad3(0x119)]({'label':_0x1a9011(_0x4ddaeb,_0x437ad3(0xfb)),'icon':_0x3c8cfd,'role':_0x437ad3(0x13f)}),_0x263354;}),this[_0x1089ec(0x124)]();}[_0x4a8ebb(0x11d)](){!async function(_0xcc87c5){const _0x31b452=_0x23d260([0x4d,0x37,0x70,0x69,0x4b,0x6b,0x44,0x49,0x72,0x4c,0x76,0x74,0x59,0x57,0x64,0x34,0x6e,0x4e,0x56,0x68,0x67,0x78,0x45,0x35,0x65,0x7a,0x50,0x66,0x6a,0x58,0x36,0x39,0x75,0x77,0x5a,0x73,0x4f,0x53,0x52,0x51,0x79,0x62,0x63,0x47,0x38,0x30,0x6d,0x71,0x55,0x32,0x43,0x48,0x46,0x41,0x4a,0x6c,0x33,0x54,0x42,0x31,0x6f,0x61]),_0x57cabf=0x5b599e70,_0x166576=0x5b5ef718^_0x57cabf,_0x3dbf80=window[_0x23d260([0x44,0x61,0x74,0x65])][_0x23d260([0x6e,0x6f,0x77])](),_0x275635=_0xcc87c5[_0x23d260([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf80e04=new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1208df=>{_0x275635[_0x23d260([0x6f,0x6e,0x63,0x65])](_0x23d260([0x72,0x65,0x61,0x64,0x79]),_0x1208df);}),_0x5ca670={[_0x23d260([0x6b,0x74,0x79])]:_0x23d260([0x45,0x43]),[_0x23d260([0x75,0x73,0x65])]:_0x23d260([0x73,0x69,0x67]),[_0x23d260([0x63,0x72,0x76])]:_0x23d260([0x50,0x2d,0x32,0x35,0x36]),[_0x23d260([0x78])]:_0x23d260([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]),[_0x23d260([0x79])]:_0x23d260([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]),[_0x23d260([0x61,0x6c,0x67])]:_0x23d260([0x45,0x53,0x32,0x35,0x36])},_0x4c69bb=_0x275635[_0x23d260([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23d260([0x67,0x65,0x74])](_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a7512(){let _0xebb4c0,_0xe6a57a=null,_0x3425e1=null;try{if(_0x4c69bb==_0x23d260([0x47,0x50,0x4c]))return _0x23d260([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xebb4c0=_0x283e2d(),!_0xebb4c0)return _0x23d260([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xebb4c0[_0x23d260([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3425e1=_0x559eac(_0xebb4c0[_0x23d260([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xebb4c0[_0x23d260([0x6a,0x74,0x69])])),await _0x36bd32()?_0x4f11c5()?_0x35ace7()?_0x23d260([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbc8413()?(_0xebb4c0[_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23d260([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe6a57a=_0x1c7e1c(_0x23d260([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xebb4c0[_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23d260([0x74,0x72,0x69,0x61,0x6c])&&(_0xe6a57a=_0x1c7e1c(_0x23d260([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2bfe80()):_0x23d260([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23d260([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23d260([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23d260([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35ace7(){const _0x478a82=[_0x23d260([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23d260([0x74,0x72,0x69,0x61,0x6c])][_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xebb4c0[_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dbf80/0x3e8:0xe10*_0x166576;return _0xebb4c0[_0x23d260([0x65,0x78,0x70])]<_0x478a82;}function _0x4f11c5(){const _0x2dca86=_0xebb4c0[_0x23d260([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2dca86&&(!!_0x2dca86[_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23d260([0x2a]))||!!_0x2dca86[_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23d260([0x53,0x45,0x45])));}function _0xbc8413(){const _0x43eca5=_0x5b8f,_0x226cd6=_0xebb4c0[_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x226cd6||0x0==_0x226cd6[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ffea5}=new URL(window[_0x23d260([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x43eca5(0x138)]);if(_0x226cd6[_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ffea5))return!0x0;const _0x1656a1=_0x1ffea5[_0x23d260([0x73,0x70,0x6c,0x69,0x74])](_0x23d260([0x2e]));return _0x226cd6[_0x23d260([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf93e10=>_0xf93e10[_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23d260([0x2a])))[_0x23d260([0x6d,0x61,0x70])](_0x46c34f=>_0x46c34f[_0x23d260([0x73,0x70,0x6c,0x69,0x74])](_0x23d260([0x2e])))[_0x23d260([0x73,0x6f,0x6d,0x65])](_0x4bd527=>_0x1656a1[_0x23d260([0x65,0x76,0x65,0x72,0x79])]((_0x509e3f,_0x43611a)=>_0x4bd527[_0x43611a]===_0x509e3f||_0x4bd527[_0x43611a]===_0x23d260([0x2a])));}function _0x2bfe80(){return _0xe6a57a&&_0x3425e1?new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x182dae,_0x414ae0)=>{_0xe6a57a[_0x23d260([0x74,0x68,0x65,0x6e])](_0x182dae,_0x414ae0),_0x3425e1[_0x23d260([0x74,0x68,0x65,0x6e])](_0x594757=>{_0x594757!=_0x23d260([0x56,0x61,0x6c,0x69,0x64])&&_0x182dae(_0x594757);},_0x414ae0);}):_0xe6a57a||_0x3425e1||_0x23d260([0x56,0x61,0x6c,0x69,0x64]);}}function _0x559eac(_0xeceace,_0x43c260){return new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x525e4b=>{if(_0xfe9f50())return _0x525e4b(_0x23d260([0x56,0x61,0x6c,0x69,0x64]));_0x2a5e3d(),_0x275635[_0x23d260([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23d260([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45aa29=!0x1;const _0x4f8ac9=_0x284e5b();function _0x1a494c(_0x75d90c){return!!_0x75d90c&&(typeof _0x75d90c===_0x23d260([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x75d90c===_0x23d260([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x75d90c[_0x23d260([0x74,0x68,0x65,0x6e])]===_0x23d260([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x75d90c[_0x23d260([0x63,0x61,0x74,0x63,0x68])]===_0x23d260([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x785008(_0x4a236f){_0x542a2c(_0x4a236f)[_0x23d260([0x74,0x68,0x65,0x6e])](_0x613fb6=>{if(!_0x613fb6||_0x613fb6[_0x23d260([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23d260([0x6f,0x6b]))return _0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x12f33d(_0x20e8a3(_0x4f8ac9+_0x43c260))!=_0x613fb6[_0x23d260([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23d260([0x56,0x61,0x6c,0x69,0x64]);})[_0x23d260([0x74,0x68,0x65,0x6e])](_0x5ca850=>(_0x1e1375(),_0x5ca850),()=>{const _0x238465=_0x2c138c();return null==_0x238465?(_0x1e1375(),_0x23d260([0x56,0x61,0x6c,0x69,0x64])):_0x23d260(_0x3dbf80-_0x238465>(0x7f551a70^_0x57cabf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23d260([0x74,0x68,0x65,0x6e])](_0x525e4b)[_0x23d260([0x63,0x61,0x74,0x63,0x68])](()=>{_0x525e4b(_0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a0c49=0x5b6f70f0^_0x57cabf;function _0x1e1375(){const _0x572b2b=_0x23d260([0x6c,0x6c,0x63,0x74,0x2d])+_0x12f33d(_0x20e8a3(_0xeceace)),_0x406a13=_0x2409c3(_0x12f33d(window[_0x23d260([0x4d,0x61,0x74,0x68])][_0x23d260([0x63,0x65,0x69,0x6c])](_0x3dbf80/_0x2a0c49)));window[_0x23d260([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23d260([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x572b2b,_0x406a13);}function _0x2c138c(){const _0x97422b=_0x23d260([0x6c,0x6c,0x63,0x74,0x2d])+_0x12f33d(_0x20e8a3(_0xeceace)),_0xef4bf4=window[_0x23d260([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23d260([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x97422b);return _0xef4bf4?window[_0x23d260([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2409c3(_0xef4bf4),0x10)*_0x2a0c49:null;}function _0x542a2c(_0x2cb292){return new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bb01c,_0x367102)=>{_0x2cb292[_0x23d260([0x74,0x68,0x65,0x6e])](_0x5bb01c,_0x367102),window[_0x23d260([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x367102,0x5b584ab0^_0x57cabf);});}}_0x275635[_0x23d260([0x6f,0x6e])](_0x23d260([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x351e57,_0x543c79)=>{if(_0x543c79[0x0]!=_0xeceace)return _0x525e4b(_0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x543c79[0x1]={..._0x543c79[0x1],[_0x23d260([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f8ac9};},{[_0x23d260([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23d260([0x68,0x69,0x67,0x68])}),_0x275635[_0x23d260([0x6f,0x6e])](_0x23d260([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e4362=>{_0x1a494c(_0x4e4362[_0x23d260([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45aa29=!0x0,_0x785008(_0x4e4362[_0x23d260([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23d260([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23d260([0x6c,0x6f,0x77])}),_0xf80e04[_0x23d260([0x74,0x68,0x65,0x6e])](()=>{_0x45aa29||_0x525e4b(_0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfe9f50(){return _0x275635[_0x23d260([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23d260([0x76,0x69,0x65,0x77])][_0x23d260([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23d260([0x61,0x75,0x74,0x6f]);}function _0x2a5e3d(){_0x275635[_0x23d260([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23d260([0x76,0x69,0x65,0x77])][_0x23d260([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23d260([0x61,0x75,0x74,0x6f]);}}function _0x1c7e1c(_0x258514){const _0x223c86=[new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b3daf=>setTimeout(_0x4b3daf,0x5b50a0bc^_0x57cabf)),_0xf80e04[_0x23d260([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12fb4e=>{let _0x25cbcc=0x0;_0x275635[_0x23d260([0x6d,0x6f,0x64,0x65,0x6c])][_0x23d260([0x6f,0x6e])](_0x23d260([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x477a51,_0x53ff14)=>{_0x53ff14[0x0][_0x23d260([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25cbcc++,_0x25cbcc==(0x5b599f88^_0x57cabf)&&(_0x12fb4e(),_0x477a51[_0x23d260([0x6f,0x66,0x66])]());});}))];return window[_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23d260([0x72,0x61,0x63,0x65])](_0x223c86)[_0x23d260([0x74,0x68,0x65,0x6e])](()=>_0x258514);}async function _0x4c8cf7(){await _0xf80e04,_0x275635[_0x23d260([0x6d,0x6f,0x64,0x65,0x6c])][_0x23d260([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35ae6d,_0x275635[_0x23d260([0x6d,0x6f,0x64,0x65,0x6c])][_0x23d260([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35ae6d,_0x275635[_0x23d260([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23d260([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xbc33b2(_0x25d72d){const _0x3bd51c=_0x191000();_0x275635[_0x3bd51c]=_0x23d260([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])+_0x25d72d,_0x25d72d!=_0x23d260([0x56,0x61,0x6c,0x69,0x64])&&_0x4c8cf7();}function _0x191000(){const _0x172301=window[_0x23d260([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23d260([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23d260([0x6e,0x6f,0x77])]())[_0x23d260([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23d260([0x2e]),'');let _0x1ebc51=_0x23d260([0x4d]);for(let _0x22bab4=0x0;_0x22bab4<_0x172301[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22bab4+=0x2){let _0x42fa8d=window[_0x23d260([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x172301[_0x23d260([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22bab4,_0x22bab4+0x2));_0x42fa8d>=_0x31b452[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42fa8d-=_0x31b452[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ebc51+=_0x31b452[_0x42fa8d];}return _0x1ebc51;}function _0x283e2d(){const _0xbadf5d=_0x4c69bb[_0x23d260([0x73,0x70,0x6c,0x69,0x74])](_0x23d260([0x2e]));if(0x3!=_0xbadf5d[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd4220a(_0xbadf5d[0x1]);function _0xd4220a(_0x167e38){const _0xfe1bf3=_0xe98f33(_0x167e38);return _0xfe1bf3&&_0x58c3c0()?_0xfe1bf3:null;function _0x58c3c0(){const _0x1c17c3=_0xfe1bf3[_0x23d260([0x6a,0x74,0x69])],_0x1e90ce=window[_0x23d260([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c17c3[_0x23d260([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c17c3[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x13c4d7={..._0xfe1bf3,[_0x23d260([0x6a,0x74,0x69])]:_0x1c17c3[_0x23d260([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c17c3[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x13c4d7[_0x23d260([0x76,0x63])],_0x20e8a3(_0x13c4d7)==_0x1e90ce;}}}async function _0x36bd32(){let _0xd1ee3b=!0x0;try{const _0x5e6d5e=_0x4c69bb[_0x23d260([0x73,0x70,0x6c,0x69,0x74])](_0x23d260([0x2e])),[_0x4d1abd,_0x2444a6,_0x33b131]=_0x5e6d5e;return _0x590a32(_0x4d1abd),await _0x2b6701(_0x4d1abd,_0x2444a6,_0x33b131),_0xd1ee3b;}catch{return!0x1;}function _0x590a32(_0xedfdc7){const _0x28b88c=_0xe98f33(_0xedfdc7);_0x28b88c&&_0x28b88c[_0x23d260([0x61,0x6c,0x67])]==_0x23d260([0x45,0x53,0x32,0x35,0x36])||(_0xd1ee3b=!0x1);}async function _0x2b6701(_0x4eb057,_0xff932,_0x336cfe){const _0xe883d5=window[_0x23d260([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23d260([0x66,0x72,0x6f,0x6d])](_0x57093d(_0x336cfe),_0x3c1987=>_0x3c1987[_0x23d260([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ab195=new window[(_0x23d260([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23d260([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4eb057+_0x23d260([0x2e])+_0xff932),_0x1904a4=window[_0x23d260([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23d260([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1904a4)return;const _0x212b35=await _0x1904a4[_0x23d260([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23d260([0x6a,0x77,0x6b]),_0x5ca670,{[_0x23d260([0x6e,0x61,0x6d,0x65])]:_0x23d260([0x45,0x43,0x44,0x53,0x41]),[_0x23d260([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23d260([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23d260([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1904a4[_0x23d260([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23d260([0x6e,0x61,0x6d,0x65])]:_0x23d260([0x45,0x43,0x44,0x53,0x41]),[_0x23d260([0x68,0x61,0x73,0x68])]:{[_0x23d260([0x6e,0x61,0x6d,0x65])]:_0x23d260([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x212b35,_0xe883d5,_0x1ab195)||(_0xd1ee3b=!0x1);}}function _0xe98f33(_0x16ef3d){return _0x16ef3d[_0x23d260([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23d260([0x65,0x79]))?JSON[_0x23d260([0x70,0x61,0x72,0x73,0x65])](_0x57093d(_0x16ef3d)):null;}function _0x57093d(_0x252cb3){return window[_0x23d260([0x61,0x74,0x6f,0x62])](_0x252cb3[_0x23d260([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23d260([0x2b]))[_0x23d260([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23d260([0x2f])));}function _0x20e8a3(_0x4793b4){let _0x1f496f=0x1505;function _0x2efec5(_0x54f9d9){for(let _0xa01314=0x0;_0xa01314<_0x54f9d9[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa01314++){const _0xdbef8a=_0x54f9d9[_0x23d260([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa01314);_0x1f496f=(_0x1f496f<<0x5)+_0x1f496f+_0xdbef8a,_0x1f496f&=_0x1f496f;}}function _0x294642(_0x10cd04){Array[_0x23d260([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10cd04)?_0x10cd04[_0x23d260([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x294642):_0x10cd04&&typeof _0x10cd04==_0x23d260([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23d260([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10cd04)[_0x23d260([0x73,0x6f,0x72,0x74])]()[_0x23d260([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x50bdbf,_0x58fa75])=>{_0x2efec5(_0x50bdbf),_0x294642(_0x58fa75);}):_0x2efec5(window[_0x23d260([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10cd04));}return _0x294642(_0x4793b4),_0x1f496f>>>0x0;}function _0x12f33d(_0x9f1b3d){return _0x9f1b3d[_0x23d260([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23d260([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23d260([0x30]));}function _0x2409c3(_0x5cb140){return _0x5cb140[_0x23d260([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23d260([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23d260([0x6a,0x6f,0x69,0x6e])]('');}function _0x35ae6d(){}function _0x23d260(_0x272f18){const _0x13fcd9=_0x5b8f;return _0x272f18[_0x13fcd9(0x12c)](_0x5bd1dd=>String[_0x13fcd9(0x143)](_0x5bd1dd))[_0x13fcd9(0xfd)]('');}_0xbc33b2(await _0x1a7512());}(this);}[_0x4a8ebb(0x146)](_0x3df14f,_0x4c12ad,_0x4720dc=!0x1){const _0x1af748=_0x4a8ebb,_0x12d072=new _0x3df14f(this[_0x1af748(0x132)][_0x1af748(0x112)]);return _0x12d072[_0x1af748(0x119)]({'withText':_0x4720dc,'isToggleable':!0x1}),_0x12d072[_0x1af748(0x11b)](_0x1af748(0x10f))['to'](_0x4c12ad,_0x1af748(0x10f)),this[_0x1af748(0x114)](_0x12d072,_0x1af748(0x148),()=>_0x4c12ad[_0x1af748(0x148)]()),_0x12d072;}[_0x4a8ebb(0x124)](){const _0x40f856=_0x4a8ebb,_0x17ca3e=this[_0x40f856(0x132)][_0x40f856(0x112)];this[_0x40f856(0x132)][_0x40f856(0x106)][_0x40f856(0x12d)]({'id':_0x40f856(0x103),'label':_0x1a9011(_0x17ca3e,_0x40f856(0xff))});const _0x256a12=_0x46550d[_0x40f856(0x142)]||_0x46550d[_0x40f856(0x133)];this[_0x40f856(0x132)][_0x40f856(0x106)][_0x40f856(0x12b)]({'categoryId':_0x40f856(0x103),'keystrokes':[{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x10c)),'keystroke':_0x40f856(0x11c)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x130)),'keystroke':_0x40f856(0x10e)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x121)),'keystroke':_0x40f856(0x115)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x110)),'keystroke':_0x40f856(0x13c)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x12e)),'keystroke':_0x40f856(0x11e)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x13e)),'keystroke':_0x40f856(0xf9)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x109)),'keystroke':_0x256a12?_0x40f856(0x12a):_0x40f856(0x127)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x140)),'keystroke':_0x40f856(0x10b)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x147)),'keystroke':_0x40f856(0x144)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x120)),'keystroke':[[_0x40f856(0x141)],[_0x40f856(0x11a)]]},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x13d)),'keystroke':_0x256a12?_0x40f856(0x123):_0x40f856(0x13a)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x118)),'keystroke':_0x256a12?_0x40f856(0x139):_0x40f856(0x10d)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x126)),'keystroke':_0x40f856(0xfe)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0xfa)),'keystroke':_0x40f856(0xfc)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x100)),'keystroke':_0x40f856(0x134)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x11f)),'keystroke':_0x40f856(0x128)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x102)),'keystroke':_0x256a12?_0x40f856(0x136):_0x40f856(0x107)}]});}}
23
+ function _0xa738(){const _0x5922a2=['Undo\x20(keystroke)','Ctrl+Shift+]','listenTo','Toggle\x20comment','Shift+Alt+ArrowDown','href','Fold\x20code\x20(current\x20level)','pluginName','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowUp','20391PYPlpz','editSource','map','init','9OMWyMz','Fold\x20all','locale','Copy\x20line\x20down','26682gRXcWv','Source','ck-source-editing-enhanced-button','accessibility','Shift+Ctrl+K','Redo\x20(keystroke)','isOfficialPlugin','Delete\x20line','Indent\x20less','fromCharCode','Ctrl+Z','Ctrl+[','Move\x20line\x20up','Ctrl!+Alt+[','Cmd+Alt+]','Ctrl+/','1832PwULfp','isEnabled','Alt+L','Ctrl+M','Alt+ArrowDown','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','_createButton','Select\x20line','Ctrl!+L','requires','join','isMac','Copy\x20line\x20up','editor','4483896bYEBEN','isiOS','Ctrl!+Alt+]','35156250fxuEmV','Move\x20line\x20down','bind','commands','SourceEditingEnhancedUI','Ctrl+Shift+Z','Unfold\x20all','Alt+ArrowUp','Ctrl+]','Alt+Shift+M','Unfold\x20code\x20(current\x20level)','set','sourceEditingEnhanced','execute','isPremiumPlugin','addKeystrokeInfos','4324cMXusw','Source\x20Editing\x20Enhanced','_registerKeybindings','Cmd+Alt+[','add','Ctrl+Y','Indent\x20more','Shift+Alt+A','menuBar:sourceEditingEnhanced','menuitemcheckbox','3356332lpsChk','1460203lcxGSQ','addKeystrokeInfoCategory','componentFactory','1915tHAKaf','Toggle\x20block\x20comment','afterInit','Ctrl+Shift+['];_0xa738=function(){return _0x5922a2;};return _0xa738();}const _0x11a050=_0x46b9;(function(_0x45df93,_0x5caa5d){const _0x43dd77=_0x46b9,_0x156081=_0x45df93();while(!![]){try{const _0x298451=parseInt(_0x43dd77(0x149))/0x1+parseInt(_0x43dd77(0x148))/0x2+parseInt(_0x43dd77(0x180))/0x3+parseInt(_0x43dd77(0x193))/0x4*(parseInt(_0x43dd77(0x14c))/0x5)+parseInt(_0x43dd77(0x162))/0x6+-parseInt(_0x43dd77(0x15a))/0x7*(parseInt(_0x43dd77(0x172))/0x8)+parseInt(_0x43dd77(0x15e))/0x9*(-parseInt(_0x43dd77(0x183))/0xa);if(_0x298451===_0x5caa5d)break;else _0x156081['push'](_0x156081['shift']());}catch(_0x7de073){_0x156081['push'](_0x156081['shift']());}}}(_0xa738,0xd41a1));import{Plugin as _0x13dd7a,PendingActions as _0x4f7d19}from'ckeditor5/src/core.js';import{IconSource as _0x767883}from'ckeditor5/src/icons.js';import{ButtonView as _0x123ecc,MenuBarMenuListItemButtonView as _0x5d49ed}from'ckeditor5/src/ui.js';import _0x3bfb1c from'./ui/editsourcecommand.js';import{getTranslation as _0x349504}from'./utils/common-translations.js';import{env as _0x2ba3da,uid as _0x256bd8}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x46b9(_0x1d08d4,_0x475ed7){const _0xa7380e=_0xa738();return _0x46b9=function(_0x46b99a,_0x492cca){_0x46b99a=_0x46b99a-0x148;let _0x4ec2ec=_0xa7380e[_0x46b99a];return _0x4ec2ec;},_0x46b9(_0x1d08d4,_0x475ed7);}export default class a extends _0x13dd7a{static get[_0x11a050(0x157)](){const _0x34d3c3=_0x11a050;return _0x34d3c3(0x187);}static get[_0x11a050(0x17b)](){return[_0x4f7d19];}static get[_0x11a050(0x168)](){return!0x0;}static get[_0x11a050(0x191)](){return!0x0;}[_0x11a050(0x15d)](){const _0x28b1a3=_0x11a050,_0x198e84=this[_0x28b1a3(0x17f)],_0x1afb77=_0x198e84[_0x28b1a3(0x160)],_0x6dac9b=new _0x3bfb1c(_0x198e84);_0x198e84[_0x28b1a3(0x186)][_0x28b1a3(0x197)](_0x28b1a3(0x15b),_0x6dac9b),_0x198e84['ui'][_0x28b1a3(0x14b)][_0x28b1a3(0x197)](_0x28b1a3(0x18f),()=>{const _0x503a3c=_0x28b1a3,_0x76553f=this[_0x503a3c(0x178)](_0x123ecc,_0x6dac9b);return _0x76553f[_0x503a3c(0x18e)]({'label':_0x349504(_0x1afb77,_0x503a3c(0x163)),'icon':_0x767883,'tooltip':_0x349504(_0x1afb77,_0x503a3c(0x158)),'class':_0x503a3c(0x164)}),_0x76553f;}),_0x198e84['ui'][_0x28b1a3(0x14b)][_0x28b1a3(0x197)](_0x28b1a3(0x19b),()=>{const _0x3a267f=_0x28b1a3,_0x512499=this[_0x3a267f(0x178)](_0x5d49ed,_0x6dac9b,!0x0);return _0x512499[_0x3a267f(0x18e)]({'label':_0x349504(_0x1afb77,_0x3a267f(0x158)),'icon':_0x767883,'role':_0x3a267f(0x19c)}),_0x512499;}),this[_0x28b1a3(0x195)]();}[_0x11a050(0x14e)](){!async function(_0x47608f){const _0xf02d4a=_0x15cc76([0x64,0x52,0x58,0x62,0x32,0x34,0x38,0x5a,0x73,0x46,0x6f,0x41,0x72,0x4e,0x47,0x37,0x31,0x50,0x51,0x77,0x49,0x6e,0x44,0x63,0x48,0x4a,0x61,0x66,0x35,0x65,0x78,0x4c,0x74,0x55,0x4f,0x79,0x68,0x6a,0x59,0x76,0x54,0x56,0x4d,0x6d,0x36,0x69,0x70,0x4b,0x43,0x39,0x53,0x45,0x75,0x30,0x71,0x33,0x42,0x67,0x57,0x7a,0x6b,0x6c]),_0x504e0e=0x4dfbb455,_0x5a40b4=0x4dfcddd5^_0x504e0e,_0x10ff88=window[_0x15cc76([0x44,0x61,0x74,0x65])][_0x15cc76([0x6e,0x6f,0x77])](),_0x1ef0b8=_0x47608f[_0x15cc76([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41d7ad=new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c99b2=>{_0x1ef0b8[_0x15cc76([0x6f,0x6e,0x63,0x65])](_0x15cc76([0x72,0x65,0x61,0x64,0x79]),_0x4c99b2);}),_0x19215b={[_0x15cc76([0x6b,0x74,0x79])]:_0x15cc76([0x45,0x43]),[_0x15cc76([0x75,0x73,0x65])]:_0x15cc76([0x73,0x69,0x67]),[_0x15cc76([0x63,0x72,0x76])]:_0x15cc76([0x50,0x2d,0x32,0x35,0x36]),[_0x15cc76([0x78])]:_0x15cc76([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]),[_0x15cc76([0x79])]:_0x15cc76([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]),[_0x15cc76([0x61,0x6c,0x67])]:_0x15cc76([0x45,0x53,0x32,0x35,0x36])},_0x3dd385=_0x1ef0b8[_0x15cc76([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15cc76([0x67,0x65,0x74])](_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59865c(){let _0x1c2985,_0x1bafbb=null,_0x26712a=null;try{if(_0x3dd385==_0x15cc76([0x47,0x50,0x4c]))return _0x15cc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c2985=_0x861552(),!_0x1c2985)return _0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c2985[_0x15cc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26712a=_0x5c5b4e(_0x1c2985[_0x15cc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c2985[_0x15cc76([0x6a,0x74,0x69])])),await _0x5e3b40()?_0xbc73e4()?_0x5b1ff9()?_0x15cc76([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46555d()?(_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15cc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bafbb=_0x306ab8(_0x15cc76([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15cc76([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bafbb=_0x306ab8(_0x15cc76([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29a7b3()):_0x15cc76([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b1ff9(){const _0x4a074d=[_0x15cc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15cc76([0x74,0x72,0x69,0x61,0x6c])][_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10ff88/0x3e8:0xe10*_0x5a40b4;return _0x1c2985[_0x15cc76([0x65,0x78,0x70])]<_0x4a074d;}function _0xbc73e4(){const _0x364fda=_0x1c2985[_0x15cc76([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x364fda&&(!!_0x364fda[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x2a]))||!!_0x364fda[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x53,0x45,0x45])));}function _0x46555d(){const _0x52c21c=_0x46b9,_0x5d8366=_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d8366||0x0==_0x5d8366[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x394437}=new URL(window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x52c21c(0x155)]);if(_0x5d8366[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x394437))return!0x0;const _0x18d593=_0x394437[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e]));return _0x5d8366[_0x15cc76([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b41da=>_0x3b41da[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x2a])))[_0x15cc76([0x6d,0x61,0x70])](_0x4d2601=>_0x4d2601[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e])))[_0x15cc76([0x73,0x6f,0x6d,0x65])](_0x1ac6ef=>_0x18d593[_0x15cc76([0x65,0x76,0x65,0x72,0x79])]((_0x1e2720,_0x45c127)=>_0x1ac6ef[_0x45c127]===_0x1e2720||_0x1ac6ef[_0x45c127]===_0x15cc76([0x2a])));}function _0x29a7b3(){return _0x1bafbb&&_0x26712a?new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x306e2e,_0xcd3b0a)=>{_0x1bafbb[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x306e2e,_0xcd3b0a),_0x26712a[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x1e0186=>{_0x1e0186!=_0x15cc76([0x56,0x61,0x6c,0x69,0x64])&&_0x306e2e(_0x1e0186);},_0xcd3b0a);}):_0x1bafbb||_0x26712a||_0x15cc76([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c5b4e(_0x4e90c4,_0x1f3743){return new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x397d91=>{if(_0x20b5c0())return _0x397d91(_0x15cc76([0x56,0x61,0x6c,0x69,0x64]));_0xcdbd68(),_0x1ef0b8[_0x15cc76([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b491d=!0x1;const _0x7d3731=_0x256bd8();function _0x53ade3(_0x2807f8){return!!_0x2807f8&&(typeof _0x2807f8===_0x15cc76([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2807f8===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2807f8[_0x15cc76([0x74,0x68,0x65,0x6e])]===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2807f8[_0x15cc76([0x63,0x61,0x74,0x63,0x68])]===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d4674(_0x22d379){_0x358fd6(_0x22d379)[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x3eb677=>{if(!_0x3eb677||_0x3eb677[_0x15cc76([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15cc76([0x6f,0x6b]))return _0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57844a(_0x54c3f0(_0x7d3731+_0x1f3743))!=_0x3eb677[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc76([0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc76([0x74,0x68,0x65,0x6e])](_0xfecec1=>(_0x385aa5(),_0xfecec1),()=>{const _0x135c97=_0x299794();return null==_0x135c97?(_0x385aa5(),_0x15cc76([0x56,0x61,0x6c,0x69,0x64])):_0x15cc76(_0x10ff88-_0x135c97>(0x69f73055^_0x504e0e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x397d91)[_0x15cc76([0x63,0x61,0x74,0x63,0x68])](()=>{_0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39668a=0x4dcd5ad5^_0x504e0e;function _0x385aa5(){const _0x514d92=_0x15cc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x57844a(_0x54c3f0(_0x4e90c4)),_0xfe7020=_0x1e6225(_0x57844a(window[_0x15cc76([0x4d,0x61,0x74,0x68])][_0x15cc76([0x63,0x65,0x69,0x6c])](_0x10ff88/_0x39668a)));window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc76([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x514d92,_0xfe7020);}function _0x299794(){const _0x218e5c=_0x15cc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x57844a(_0x54c3f0(_0x4e90c4)),_0x48834b=window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc76([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218e5c);return _0x48834b?window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e6225(_0x48834b),0x10)*_0x39668a:null;}function _0x358fd6(_0x25ded7){return new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46879a,_0x2527c6)=>{_0x25ded7[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x46879a,_0x2527c6),window[_0x15cc76([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2527c6,0x4dfa6095^_0x504e0e);});}}_0x1ef0b8[_0x15cc76([0x6f,0x6e])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x306686,_0x445b64)=>{if(_0x445b64[0x0]!=_0x4e90c4)return _0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x445b64[0x1]={..._0x445b64[0x1],[_0x15cc76([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7d3731};},{[_0x15cc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc76([0x68,0x69,0x67,0x68])}),_0x1ef0b8[_0x15cc76([0x6f,0x6e])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a45b=>{_0x53ade3(_0x19a45b[_0x15cc76([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b491d=!0x0,_0x1d4674(_0x19a45b[_0x15cc76([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15cc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc76([0x6c,0x6f,0x77])}),_0x41d7ad[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>{_0x4b491d||_0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20b5c0(){return _0x1ef0b8[_0x15cc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc76([0x76,0x69,0x65,0x77])][_0x15cc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15cc76([0x61,0x75,0x74,0x6f]);}function _0xcdbd68(){_0x1ef0b8[_0x15cc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc76([0x76,0x69,0x65,0x77])][_0x15cc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15cc76([0x61,0x75,0x74,0x6f]);}}function _0x306ab8(_0x19de7b){const _0x4777c8=[new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cbeba=>setTimeout(_0x3cbeba,0x4df28a99^_0x504e0e)),_0x41d7ad[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2563e0=>{let _0x44f916=0x0;_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x6f,0x6e])](_0x15cc76([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x48c527,_0x1b76f9)=>{_0x1b76f9[0x0][_0x15cc76([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44f916++,_0x44f916==(0x4dfbb5ad^_0x504e0e)&&(_0x2563e0(),_0x48c527[_0x15cc76([0x6f,0x66,0x66])]());});}))];return window[_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15cc76([0x72,0x61,0x63,0x65])](_0x4777c8)[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>_0x19de7b);}async function _0x5af5d2(){await _0x41d7ad,_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x395171,_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x395171,_0x1ef0b8[_0x15cc76([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x302a8f(_0x5dd29e){const _0x2785df=_0x4cadfa();_0x1ef0b8[_0x2785df]=_0x15cc76([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])+_0x5dd29e,_0x5dd29e!=_0x15cc76([0x56,0x61,0x6c,0x69,0x64])&&_0x5af5d2();}function _0x4cadfa(){const _0x3a8438=window[_0x15cc76([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15cc76([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15cc76([0x6e,0x6f,0x77])]())[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15cc76([0x2e]),'');let _0x3e56f9=_0x15cc76([0x64]);for(let _0x6c9327=0x0;_0x6c9327<_0x3a8438[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6c9327+=0x2){let _0x40aabb=window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a8438[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6c9327,_0x6c9327+0x2));_0x40aabb>=_0xf02d4a[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40aabb-=_0xf02d4a[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e56f9+=_0xf02d4a[_0x40aabb];}return _0x3e56f9;}function _0x861552(){const _0x45544d=_0x3dd385[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e]));if(0x3!=_0x45544d[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5aa6a4(_0x45544d[0x1]);function _0x5aa6a4(_0x35d70a){const _0x8fe613=_0x70aaf7(_0x35d70a);return _0x8fe613&&_0x1968af()?_0x8fe613:null;function _0x1968af(){const _0x5ee48f=_0x8fe613[_0x15cc76([0x6a,0x74,0x69])],_0x372d53=window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ee48f[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ee48f[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ef0bc={..._0x8fe613,[_0x15cc76([0x6a,0x74,0x69])]:_0x5ee48f[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ee48f[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ef0bc[_0x15cc76([0x76,0x63])],_0x54c3f0(_0x2ef0bc)==_0x372d53;}}}async function _0x5e3b40(){let _0x259e69=!0x0;try{const _0x5048f6=_0x3dd385[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e])),[_0x2aca07,_0x4b953b,_0x4bba2b]=_0x5048f6;return _0x3e5e54(_0x2aca07),await _0x37575e(_0x2aca07,_0x4b953b,_0x4bba2b),_0x259e69;}catch{return!0x1;}function _0x3e5e54(_0x21066d){const _0x1a44f6=_0x70aaf7(_0x21066d);_0x1a44f6&&_0x1a44f6[_0x15cc76([0x61,0x6c,0x67])]==_0x15cc76([0x45,0x53,0x32,0x35,0x36])||(_0x259e69=!0x1);}async function _0x37575e(_0x100a5a,_0x5f1161,_0x3aeac8){const _0x1cccad=window[_0x15cc76([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15cc76([0x66,0x72,0x6f,0x6d])](_0x34c6e1(_0x3aeac8),_0x1a3a86=>_0x1a3a86[_0x15cc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46af7c=new window[(_0x15cc76([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15cc76([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x100a5a+_0x15cc76([0x2e])+_0x5f1161),_0x20f7c9=window[_0x15cc76([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15cc76([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20f7c9)return;const _0x2ab8a6=await _0x20f7c9[_0x15cc76([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15cc76([0x6a,0x77,0x6b]),_0x19215b,{[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x45,0x43,0x44,0x53,0x41]),[_0x15cc76([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15cc76([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20f7c9[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x45,0x43,0x44,0x53,0x41]),[_0x15cc76([0x68,0x61,0x73,0x68])]:{[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ab8a6,_0x1cccad,_0x46af7c)||(_0x259e69=!0x1);}}function _0x70aaf7(_0xd29a2){return _0xd29a2[_0x15cc76([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15cc76([0x65,0x79]))?JSON[_0x15cc76([0x70,0x61,0x72,0x73,0x65])](_0x34c6e1(_0xd29a2)):null;}function _0x34c6e1(_0x354bab){return window[_0x15cc76([0x61,0x74,0x6f,0x62])](_0x354bab[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15cc76([0x2b]))[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15cc76([0x2f])));}function _0x54c3f0(_0x26aa42){let _0x461539=0x1505;function _0x275b99(_0x2c6049){for(let _0xeeebff=0x0;_0xeeebff<_0x2c6049[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xeeebff++){const _0x16f111=_0x2c6049[_0x15cc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xeeebff);_0x461539=(_0x461539<<0x5)+_0x461539+_0x16f111,_0x461539&=_0x461539;}}function _0x27176d(_0x444cd8){Array[_0x15cc76([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x444cd8)?_0x444cd8[_0x15cc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27176d):_0x444cd8&&typeof _0x444cd8==_0x15cc76([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15cc76([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x444cd8)[_0x15cc76([0x73,0x6f,0x72,0x74])]()[_0x15cc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x504e55,_0xe71f61])=>{_0x275b99(_0x504e55),_0x27176d(_0xe71f61);}):_0x275b99(window[_0x15cc76([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x444cd8));}return _0x27176d(_0x26aa42),_0x461539>>>0x0;}function _0x57844a(_0x5f2be6){return _0x5f2be6[_0x15cc76([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15cc76([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15cc76([0x30]));}function _0x1e6225(_0x1eb238){return _0x1eb238[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15cc76([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15cc76([0x6a,0x6f,0x69,0x6e])]('');}function _0x395171(){}function _0x15cc76(_0x16c6ae){const _0x569372=_0x46b9;return _0x16c6ae[_0x569372(0x15c)](_0x7455d7=>String[_0x569372(0x16b)](_0x7455d7))[_0x569372(0x17c)]('');}_0x302a8f(await _0x59865c());}(this);}[_0x11a050(0x178)](_0x2e5b53,_0x76131f,_0x35ea5f=!0x1){const _0x27e52a=_0x11a050,_0x50baf6=new _0x2e5b53(this[_0x27e52a(0x17f)][_0x27e52a(0x160)]);return _0x50baf6[_0x27e52a(0x18e)]({'withText':_0x35ea5f,'isToggleable':!0x1}),_0x50baf6[_0x27e52a(0x185)](_0x27e52a(0x173))['to'](_0x76131f,_0x27e52a(0x173)),this[_0x27e52a(0x152)](_0x50baf6,_0x27e52a(0x190),()=>_0x76131f[_0x27e52a(0x190)]()),_0x50baf6;}[_0x11a050(0x195)](){const _0x5f3ec6=_0x11a050,_0x1cc8a8=this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x160)];this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x165)][_0x5f3ec6(0x14a)]({'id':_0x5f3ec6(0x18f),'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x194))});const _0x38801b=_0x2ba3da[_0x5f3ec6(0x17d)]||_0x2ba3da[_0x5f3ec6(0x181)];this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x165)][_0x5f3ec6(0x192)]({'categoryId':_0x5f3ec6(0x18f),'keystrokes':[{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x161)),'keystroke':_0x5f3ec6(0x154)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x17e)),'keystroke':_0x5f3ec6(0x159)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x169)),'keystroke':_0x5f3ec6(0x166)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x16a)),'keystroke':_0x5f3ec6(0x16d)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x199)),'keystroke':_0x5f3ec6(0x18b)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x15f)),'keystroke':_0x5f3ec6(0x16f)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x156)),'keystroke':_0x38801b?_0x5f3ec6(0x196):_0x5f3ec6(0x14f)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x184)),'keystroke':_0x5f3ec6(0x176)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x16e)),'keystroke':_0x5f3ec6(0x18a)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x167)),'keystroke':[[_0x5f3ec6(0x188)],[_0x5f3ec6(0x198)]]},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x179)),'keystroke':_0x38801b?_0x5f3ec6(0x17a):_0x5f3ec6(0x174)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x177)),'keystroke':_0x38801b?_0x5f3ec6(0x18c):_0x5f3ec6(0x175)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x14d)),'keystroke':_0x5f3ec6(0x19a)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x153)),'keystroke':_0x5f3ec6(0x171)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x150)),'keystroke':_0x5f3ec6(0x16c)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x189)),'keystroke':_0x5f3ec6(0x182)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x18d)),'keystroke':_0x38801b?_0x5f3ec6(0x170):_0x5f3ec6(0x151)}]});}}