@ckeditor/ckeditor5-source-editing-enhanced 47.6.2-alpha.0 → 47.6.2

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 _0x55bfe9,PendingActions as _0x5ec72b,Plugin as _0x58a78a}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x379fdc,formatHtml as _0x43acd8,env as _0x51c576,uid as _0x585e63}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x462638}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x97ba2e,ButtonView as _0x5057de,MenuBarMenuListItemButtonView as _0x1af2d4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4ab1ba,crosshairCursor as _0x445e16,drawSelection as _0x3d348d,dropCursor as _0x57fd46,lineNumbers as _0x3313b3,highlightActiveLine as _0x32ddc,highlightActiveLineGutter as _0x9cb184,highlightSpecialChars as _0x3d6d1d,rectangularSelection as _0x18abe4,keymap as _0x2eb546}from'@codemirror/view';import{Compartment as _0x21d968,Transaction as _0xdcbb33}from'@codemirror/state';import{bracketMatching as _0x189f1c,foldGutter as _0x246adc,indentOnInput as _0x434ace,syntaxHighlighting as _0x5dcc4a,defaultHighlightStyle as _0x2a4180,foldKeymap as _0x463efd}from'@codemirror/language';import{toggleTabFocusMode as _0x90fa6e,history as _0x24aa99,defaultKeymap as _0x58bfe2,historyKeymap as _0x27dbc3,indentLess as _0x1acf8f,indentMore as _0x48bc56,redo as _0x422875,undo as _0x353ae3}from'@codemirror/commands';import{autocompletion as _0x1a3eb5,closeBrackets as _0x2513c0,closeBracketsKeymap as _0x228374,completionKeymap as _0x4aa1d1}from'@codemirror/autocomplete';import{html as _0x4bb10f}from'@codemirror/lang-html';import{markdown as _0x5c94ba}from'@codemirror/lang-markdown';import{oneDark as _0x136573}from'@codemirror/theme-one-dark';function w(_0x4d3763,_0x5477f7){const t=_0x4d3763['t'];switch(_0x5477f7){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 _0x5477f7;}}function r(_0x38bef5){const _0x3bf143=_0x38bef5['editing']['view']['document']['roots'],_0x1de0db=_0x3bf143['length'];if(0x0===_0x1de0db)throw new _0x379fdc('source-editing-enhanced-editor-no-root',_0x38bef5);if(0x1===_0x1de0db)return _0x3bf143['first']['rootName'];return Array['from'](_0x38bef5['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x4d59df){return tr(_0x4d59df['replace'](/^[\n\s]*/g,''))?_0x4d59df['replace'](/\s+/g,''):_0x4d59df;}function tr(_0x3ca22d){return _0x3ca22d['startsWith']('<');}function p(_0xf0e7cf){const _0x1b09cc=[_0x4ab1ba['lineWrapping'],_0x1a3eb5(),_0x189f1c(),_0x2513c0(),_0x445e16(),_0x3d348d(),_0x57fd46(),_0x3313b3(),_0x246adc(),_0x32ddc(),_0x9cb184(),_0x3d6d1d(),_0x24aa99(),_0x434ace(),_0x18abe4(),_0x5dcc4a(_0x2a4180,{'fallback':!0x0})],_0x2d5780=new _0x21d968();_0x1b09cc['push'](_0x2d5780['of'](_0x4ab1ba['editable']['of'](!0x0))),'html'===_0xf0e7cf['syntaxLanguage']?_0x1b09cc['push'](_0x4bb10f()):_0x1b09cc['push'](_0x5c94ba());const _0x45ba34=function(_0x1afb99){if(_0x1afb99&&'default'!==_0x1afb99)return'dark'===_0x1afb99?_0x136573:_0x1afb99;return null;}(_0xf0e7cf['theme']);_0x45ba34&&_0x1b09cc['push'](_0x45ba34),_0x1b09cc['push'](_0x2eb546['of']([..._0x228374,..._0x58bfe2,..._0x27dbc3,..._0x463efd,..._0x4aa1d1,{'key':'Tab','run':_0x48bc56,'shift':_0x1acf8f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x422875,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x422875,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x353ae3,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x302cc4=new _0x4ab1ba({'extensions':_0x1b09cc,'parent':_0xf0e7cf['parent']});return _0x90fa6e(_0x302cc4),{'focus':()=>{_0x302cc4['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x302cc4['focus']();},'getData':()=>_0x302cc4['state']['doc']['toString'](),'setData':_0x4e773b=>{_0x302cc4['dispatch']({'changes':{'from':0x0,'to':_0x302cc4['state']['doc']['length'],'insert':_0x4e773b},'annotations':_0xdcbb33['addToHistory']['of'](!0x1)});},'setReadOnly':_0x43fff7=>{_0x302cc4['dispatch']({'effects':[_0x2d5780['reconfigure'](_0x4ab1ba['editable']['of'](!_0x43fff7))]});},'destroy':()=>{_0x302cc4['destroy']();},'instance':_0x302cc4};}class E extends _0x97ba2e{['_codeEditorApi']=null;['_options'];constructor(_0x38ca31,_0x58a3ad){super(_0x38ca31),this['_options']=_0x58a3ad,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',(_0x284ddb,_0x5144e4,_0x2b2de9)=>{this['setReadOnly'](_0x2b2de9);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x3f566d){this['_codeEditorApi']['setData'](_0x3f566d);}['setReadOnly'](_0x1b7498){this['_codeEditorApi']['setReadOnly'](_0x1b7498);}}const b='SourceEditingEnhancedMode';class d extends _0x55bfe9{constructor(_0x4c7f72){super(_0x4c7f72),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5ec72b)['on']('change:hasAny',(_0x177f50,_0x5726d7,_0x49f60c)=>{_0x49f60c?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x61003f=this['editor'];for(const _0x69a38b of _0x61003f['commands']['names']())['replaceSource','editSource']['includes'](_0x69a38b)||_0x61003f['commands']['get'](_0x69a38b)['forceDisabled'](b);}['_enableCommands'](){const _0x5d11b2=this['editor'];for(const _0x32165d of _0x5d11b2['commands']['commands']())_0x32165d['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3ac6a0=this['editor'],_0x3fb6cc=_0x3ac6a0['locale'],_0x1b772b=_0x3ac6a0['plugins']['get']('Dialog'),_0x94fd4f=r(_0x3ac6a0),_0x485395=_0x3ac6a0['data']['get']({'rootName':_0x94fd4f}),_0x3a3d77=tr(_0x33a8a0=_0x485395)?_0x43acd8(_0x33a8a0):_0x33a8a0;var _0x33a8a0;const _0x518515=new E(_0x3fb6cc,{'syntaxLanguage':_0x3ac6a0['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3ac6a0['config']['get']('sourceEditingEnhanced.theme')});let _0x5a05eb=!0x0;const _0x35f858=_0x3def4e=>{if(!_0x5a05eb)return;return g(_0x518515['getData']())!==g(_0x3a3d77)?window['confirm'](w(_0x3fb6cc,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3def4e['stop']():void 0x0;};_0x1b772b['show']({'id':'sourceEditingEnhanced','title':w(_0x3fb6cc,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x518515,'actionButtons':[{'label':w(_0x3fb6cc,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x1b772b['hide']();}},{'label':w(_0x3fb6cc,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x307eb4=g(_0x518515['getData']())!==g(_0x3a3d77);(_0x307eb4&&_0x3ac6a0['execute']('replaceSource',_0x518515['getData']()),_0x5a05eb=!0x1,_0x1b772b['hide'](),_0x307eb4&&'editables'in _0x3ac6a0['ui']['view'])&&_0x3ac6a0['ui']['view']['editables'][_0x94fd4f]['element']['focus']();},'onCreate':_0x42d6b0=>{_0x42d6b0['set']('isEnabled',!_0x3ac6a0['isReadOnly']),_0x42d6b0['bind']('isEnabled')['to'](_0x3ac6a0,'isReadOnly',this,'isEnabled',(_0x56d571,_0x11e97a)=>!_0x56d571&&_0x11e97a);}}],'onHide':()=>{this['_enableCommands'](),_0x1b772b['off']('hide',_0x35f858),_0x518515['destroy']();},'onShow':()=>{_0x518515['bind']('isReadOnly')['to'](_0x3ac6a0,'isReadOnly',this,'isEnabled',(_0x27d80f,_0x3836b2)=>_0x27d80f||!_0x3836b2),_0x518515['setData'](_0x3a3d77),_0x518515['focus'](),_0x1b772b['on']('hide',_0x35f858,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x58a78a{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5ec72b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2cef0d=this['editor'],_0x216075=_0x2cef0d['locale'],_0xfa2b6=new d(_0x2cef0d);_0x2cef0d['commands']['add']('editSource',_0xfa2b6),_0x2cef0d['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0xae09ee=this['_createButton'](_0x5057de,_0xfa2b6);return _0xae09ee['set']({'label':w(_0x216075,'Source'),'icon':_0x462638,'tooltip':w(_0x216075,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0xae09ee;}),_0x2cef0d['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x220a05=this['_createButton'](_0x1af2d4,_0xfa2b6,!0x0);return _0x220a05['set']({'label':w(_0x216075,'Edit\x20source\x20modal\x20label'),'icon':_0x462638,'role':'menuitemcheckbox'}),_0x220a05;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x5f1999){const _0x39283c=_0x3b12a7([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x41be22=0x5dba9314,_0x3fc304=0x5dbd1584^_0x41be22,_0x1837d5=window[_0x3b12a7([0x44,0x61,0x74,0x65])][_0x3b12a7([0x6e,0x6f,0x77])](),_0x2a1f18=_0x5f1999[_0x3b12a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x58a539=new window[(_0x3b12a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x419190=>{_0x2a1f18[_0x3b12a7([0x6f,0x6e,0x63,0x65])](_0x3b12a7([0x72,0x65,0x61,0x64,0x79]),_0x419190);}),_0x16cd4b={[_0x3b12a7([0x6b,0x74,0x79])]:_0x3b12a7([0x45,0x43]),[_0x3b12a7([0x75,0x73,0x65])]:_0x3b12a7([0x73,0x69,0x67]),[_0x3b12a7([0x63,0x72,0x76])]:_0x3b12a7([0x50,0x2d,0x32,0x35,0x36]),[_0x3b12a7([0x78])]:_0x3b12a7([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]),[_0x3b12a7([0x79])]:_0x3b12a7([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]),[_0x3b12a7([0x61,0x6c,0x67])]:_0x3b12a7([0x45,0x53,0x32,0x35,0x36])},_0x356961=_0x2a1f18[_0x3b12a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b12a7([0x67,0x65,0x74])](_0x3b12a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1efafd(){let _0x3e8ab4,_0x3f46c8=null,_0x12ce60=null;try{if(_0x356961==_0x3b12a7([0x47,0x50,0x4c]))return _0x3b12a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e8ab4=_0x2eeff3(),!_0x3e8ab4)return _0x3b12a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e8ab4[_0x3b12a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12ce60=_0x267e1b(_0x3e8ab4[_0x3b12a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e8ab4[_0x3b12a7([0x6a,0x74,0x69])])),await _0x1264b4()?_0x1e4817()?_0xf9772c()?_0x3b12a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2ef337()?(_0x3e8ab4[_0x3b12a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b12a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f46c8=_0x3386cb(_0x3b12a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x330ae0()):_0x3b12a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b12a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b12a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b12a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf9772c(){const _0x2f7cd0=[_0x3b12a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b12a7([0x74,0x72,0x69,0x61,0x6c])][_0x3b12a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8ab4[_0x3b12a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1837d5/0x3e8:0xe10*_0x3fc304;return _0x3e8ab4[_0x3b12a7([0x65,0x78,0x70])]<_0x2f7cd0;}function _0x1e4817(){const _0x342fe3=_0x3e8ab4[_0x3b12a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x342fe3&&(!!_0x342fe3[_0x3b12a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b12a7([0x2a]))||!!_0x342fe3[_0x3b12a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b12a7([0x53,0x45,0x45])));}function _0x2ef337(){const _0x29352e=_0x3e8ab4[_0x3b12a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29352e||0x0==_0x29352e[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3ce05b}=new URL(window[_0x3b12a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x29352e[_0x3b12a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ce05b))return!0x0;const _0xc82975=_0x3ce05b[_0x3b12a7([0x73,0x70,0x6c,0x69,0x74])](_0x3b12a7([0x2e]));return _0x29352e[_0x3b12a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x122ab0=>_0x122ab0[_0x3b12a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b12a7([0x2a])))[_0x3b12a7([0x6d,0x61,0x70])](_0xd9ebfe=>_0xd9ebfe[_0x3b12a7([0x73,0x70,0x6c,0x69,0x74])](_0x3b12a7([0x2e])))[_0x3b12a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52e866=>_0x52e866[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc82975[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b12a7([0x6d,0x61,0x70])](_0x2cd271=>Array(_0xc82975[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2cd271[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b12a7([0x66,0x69,0x6c,0x6c])](_0x2cd271[0x0]===_0x3b12a7([0x2a])?_0x3b12a7([0x2a]):'')[_0x3b12a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2cd271))[_0x3b12a7([0x73,0x6f,0x6d,0x65])](_0xcb86a4=>_0xc82975[_0x3b12a7([0x65,0x76,0x65,0x72,0x79])]((_0x286334,_0x10671b)=>_0xcb86a4[_0x10671b]===_0x286334||_0xcb86a4[_0x10671b]===_0x3b12a7([0x2a])));}function _0x330ae0(){return _0x3f46c8&&_0x12ce60?new window[(_0x3b12a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31e7e4,_0x49f2b7)=>{_0x3f46c8[_0x3b12a7([0x74,0x68,0x65,0x6e])](_0x31e7e4,_0x49f2b7),_0x12ce60[_0x3b12a7([0x74,0x68,0x65,0x6e])](_0x500279=>{_0x500279!=_0x3b12a7([0x56,0x61,0x6c,0x69,0x64])&&_0x31e7e4(_0x500279);},_0x49f2b7);}):_0x3f46c8||_0x12ce60||_0x3b12a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x267e1b(_0x3deee1,_0x1a4ec6){return new window[(_0x3b12a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f1f4f=>{if(_0x6ed06e())return _0x5f1f4f(_0x3b12a7([0x56,0x61,0x6c,0x69,0x64]));_0x385098(),_0x2a1f18[_0x3b12a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b12a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x587d27=!0x1;const _0x5c89b8=_0x585e63();function _0x5a6db3(_0x3185c1){return!!_0x3185c1&&(typeof _0x3185c1===_0x3b12a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3185c1===_0x3b12a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3185c1[_0x3b12a7([0x74,0x68,0x65,0x6e])]===_0x3b12a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3185c1[_0x3b12a7([0x63,0x61,0x74,0x63,0x68])]===_0x3b12a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21090f(_0x4d88b3){_0x47db56(_0x4d88b3)[_0x3b12a7([0x74,0x68,0x65,0x6e])](_0x1ae52b=>{if(!_0x1ae52b||_0x1ae52b[_0x3b12a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b12a7([0x6f,0x6b]))return _0x3b12a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc4ca34(_0x1d78e8(_0x5c89b8+_0x1a4ec6))!=_0x1ae52b[_0x3b12a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b12a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b12a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b12a7([0x74,0x68,0x65,0x6e])](_0x58d283=>(_0x263cdc(),_0x58d283),()=>{const _0x23b8cf=_0x20ae99();return null==_0x23b8cf?(_0x263cdc(),_0x3b12a7([0x56,0x61,0x6c,0x69,0x64])):_0x3b12a7(_0x1837d5-_0x23b8cf>(0x79b61714^_0x41be22)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b12a7([0x74,0x68,0x65,0x6e])](_0x5f1f4f)[_0x3b12a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5f1f4f(_0x3b12a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7c20da=0x5d8c7d94^_0x41be22;function _0x263cdc(){const _0x395d05=_0x3b12a7([0x6c,0x6c,0x63,0x74,0x2d])+_0xc4ca34(_0x1d78e8(_0x3deee1)),_0x55ff00=_0x16c500(_0xc4ca34(window[_0x3b12a7([0x4d,0x61,0x74,0x68])][_0x3b12a7([0x63,0x65,0x69,0x6c])](_0x1837d5/_0x7c20da)));window[_0x3b12a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b12a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x395d05,_0x55ff00);}function _0x20ae99(){const _0x2ebb9d=_0x3b12a7([0x6c,0x6c,0x63,0x74,0x2d])+_0xc4ca34(_0x1d78e8(_0x3deee1)),_0x39cf26=window[_0x3b12a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b12a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ebb9d);return _0x39cf26?window[_0x3b12a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16c500(_0x39cf26),0x10)*_0x7c20da:null;}function _0x47db56(_0x4203de){return new window[(_0x3b12a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14a780,_0x2888b8)=>{_0x4203de[_0x3b12a7([0x74,0x68,0x65,0x6e])](_0x14a780,_0x2888b8),window[_0x3b12a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2888b8,0x5dbb47d4^_0x41be22);});}}_0x2a1f18[_0x3b12a7([0x6f,0x6e])](_0x3b12a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22cf8c,_0x568419)=>{if(_0x568419[0x0]!=_0x3deee1)return _0x5f1f4f(_0x3b12a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x568419[0x1]={..._0x568419[0x1],[_0x3b12a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c89b8};},{[_0x3b12a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b12a7([0x68,0x69,0x67,0x68])}),_0x2a1f18[_0x3b12a7([0x6f,0x6e])](_0x3b12a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ca2f9=>{_0x5a6db3(_0x1ca2f9[_0x3b12a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x587d27=!0x0,_0x21090f(_0x1ca2f9[_0x3b12a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b12a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b12a7([0x6c,0x6f,0x77])}),_0x58a539[_0x3b12a7([0x74,0x68,0x65,0x6e])](()=>{_0x587d27||_0x5f1f4f(_0x3b12a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6ed06e(){return _0x2a1f18[_0x3b12a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b12a7([0x76,0x69,0x65,0x77])][_0x3b12a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b12a7([0x61,0x75,0x74,0x6f]);}function _0x385098(){_0x2a1f18[_0x3b12a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b12a7([0x76,0x69,0x65,0x77])][_0x3b12a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b12a7([0x61,0x75,0x74,0x6f]);}}function _0x3386cb(_0x29b397){const _0xf6cbea=[new window[(_0x3b12a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x289186=>setTimeout(_0x289186,0x5db3add8^_0x41be22)),_0x58a539[_0x3b12a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b12a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x561974=>{let _0x2b5a87=0x0;_0x2a1f18[_0x3b12a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b12a7([0x6f,0x6e])](_0x3b12a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x571041,_0x68cb77)=>{_0x68cb77[0x0][_0x3b12a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b5a87++,_0x2b5a87==(0x5dba96fc^_0x41be22)&&(_0x561974(),_0x571041[_0x3b12a7([0x6f,0x66,0x66])]());});}))];return window[_0x3b12a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b12a7([0x72,0x61,0x63,0x65])](_0xf6cbea)[_0x3b12a7([0x74,0x68,0x65,0x6e])](()=>_0x29b397);}async function _0x4e989e(){await _0x58a539,_0x2a1f18[_0x3b12a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b12a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19f4b2,_0x2a1f18[_0x3b12a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b12a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19f4b2,_0x2a1f18[_0x3b12a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b12a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x406d03(_0x358b7c){const _0x418d44=_0x195e93();_0x2a1f18[_0x418d44]=_0x3b12a7([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])+_0x358b7c,_0x358b7c!=_0x3b12a7([0x56,0x61,0x6c,0x69,0x64])&&_0x4e989e();}function _0x195e93(){const _0x29c691=window[_0x3b12a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b12a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b12a7([0x6e,0x6f,0x77])]())[_0x3b12a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b12a7([0x2e]),'');let _0x38cb5b=_0x3b12a7([0x4e]);for(let _0x4919e6=0x0;_0x4919e6<_0x29c691[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4919e6+=0x2){let _0x51ea99=window[_0x3b12a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29c691[_0x3b12a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4919e6,_0x4919e6+0x2));_0x51ea99>=_0x39283c[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51ea99-=_0x39283c[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38cb5b+=_0x39283c[_0x51ea99];}return _0x38cb5b;}function _0x2eeff3(){const _0xfb9d54=_0x356961[_0x3b12a7([0x73,0x70,0x6c,0x69,0x74])](_0x3b12a7([0x2e]));if(0x3!=_0xfb9d54[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19ab96(_0xfb9d54[0x1]);function _0x19ab96(_0x310e8a){const _0x57b654=_0x2dee7f(_0x310e8a);return _0x57b654&&_0x56f824()?_0x57b654:null;function _0x56f824(){const _0x17c842=_0x57b654[_0x3b12a7([0x6a,0x74,0x69])],_0x5067ae=window[_0x3b12a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17c842[_0x3b12a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17c842[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e97c4={..._0x57b654,[_0x3b12a7([0x6a,0x74,0x69])]:_0x17c842[_0x3b12a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17c842[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e97c4[_0x3b12a7([0x76,0x63])],_0x1d78e8(_0x4e97c4)==_0x5067ae;}}}async function _0x1264b4(){let _0x5939b3=!0x0;try{const _0x140c66=_0x356961[_0x3b12a7([0x73,0x70,0x6c,0x69,0x74])](_0x3b12a7([0x2e])),[_0x965717,_0x53c7f0,_0x2d9d41]=_0x140c66;return _0x249cb7(_0x965717),await _0x2829b4(_0x965717,_0x53c7f0,_0x2d9d41),_0x5939b3;}catch{return!0x1;}function _0x249cb7(_0x1bed5d){const _0x552b0e=_0x2dee7f(_0x1bed5d);_0x552b0e&&_0x552b0e[_0x3b12a7([0x61,0x6c,0x67])]==_0x3b12a7([0x45,0x53,0x32,0x35,0x36])||(_0x5939b3=!0x1);}async function _0x2829b4(_0x13b3e5,_0x41e2e2,_0x50a2ef){const _0x1540eb=window[_0x3b12a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b12a7([0x66,0x72,0x6f,0x6d])](_0x414d72(_0x50a2ef),_0x3aee7a=>_0x3aee7a[_0x3b12a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x229c5c=new window[(_0x3b12a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b12a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13b3e5+_0x3b12a7([0x2e])+_0x41e2e2),_0x4ecda2=window[_0x3b12a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b12a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ecda2)return;const _0x539f3b=await _0x4ecda2[_0x3b12a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b12a7([0x6a,0x77,0x6b]),_0x16cd4b,{[_0x3b12a7([0x6e,0x61,0x6d,0x65])]:_0x3b12a7([0x45,0x43,0x44,0x53,0x41]),[_0x3b12a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b12a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b12a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ecda2[_0x3b12a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b12a7([0x6e,0x61,0x6d,0x65])]:_0x3b12a7([0x45,0x43,0x44,0x53,0x41]),[_0x3b12a7([0x68,0x61,0x73,0x68])]:{[_0x3b12a7([0x6e,0x61,0x6d,0x65])]:_0x3b12a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x539f3b,_0x1540eb,_0x229c5c)||(_0x5939b3=!0x1);}}function _0x2dee7f(_0x3babff){return _0x3babff[_0x3b12a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b12a7([0x65,0x79]))?JSON[_0x3b12a7([0x70,0x61,0x72,0x73,0x65])](_0x414d72(_0x3babff)):null;}function _0x414d72(_0x45357b){return window[_0x3b12a7([0x61,0x74,0x6f,0x62])](_0x45357b[_0x3b12a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b12a7([0x2b]))[_0x3b12a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b12a7([0x2f])));}function _0x1d78e8(_0x1e9bc9){let _0x14916a=0x1505;function _0x333ef5(_0x5998cc){for(let _0x438410=0x0;_0x438410<_0x5998cc[_0x3b12a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x438410++){const _0xd33b18=_0x5998cc[_0x3b12a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x438410);_0x14916a=(_0x14916a<<0x5)+_0x14916a+_0xd33b18,_0x14916a&=_0x14916a;}}function _0x3be591(_0x4d636f){Array[_0x3b12a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d636f)?_0x4d636f[_0x3b12a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3be591):_0x4d636f&&typeof _0x4d636f==_0x3b12a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b12a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d636f)[_0x3b12a7([0x73,0x6f,0x72,0x74])]()[_0x3b12a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x33c2ff,_0x3fc2e5])=>{_0x333ef5(_0x33c2ff),_0x3be591(_0x3fc2e5);}):_0x333ef5(window[_0x3b12a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d636f));}return _0x3be591(_0x1e9bc9),_0x14916a>>>0x0;}function _0xc4ca34(_0x16087a){return _0x16087a[_0x3b12a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b12a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b12a7([0x30]));}function _0x16c500(_0x32b298){return _0x32b298[_0x3b12a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b12a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b12a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x19f4b2(){}function _0x3b12a7(_0x1d630d){return _0x1d630d['map'](_0x5e5c4a=>String['fromCharCode'](_0x5e5c4a))['join']('');}_0x406d03(await _0x1efafd());}(this);}['_createButton'](_0xff73b6,_0x3b2e8e,_0x316237=!0x1){const _0x4084b6=new _0xff73b6(this['editor']['locale']);return _0x4084b6['set']({'withText':_0x316237,'isToggleable':!0x1}),_0x4084b6['bind']('isEnabled')['to'](_0x3b2e8e,'isEnabled'),this['listenTo'](_0x4084b6,'execute',()=>_0x3b2e8e['execute']()),_0x4084b6;}['_registerKeybindings'](){const _0x37c901=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x37c901,'Source\x20Editing\x20Enhanced')});const _0x58ce2f=_0x51c576['isMac']||_0x51c576['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x37c901,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x37c901,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x37c901,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x37c901,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x37c901,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x37c901,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x37c901,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x58ce2f?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x37c901,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x37c901,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x37c901,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x37c901,'Select\x20line'),'keystroke':_0x58ce2f?'Ctrl!+L':'Alt+L'},{'label':w(_0x37c901,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x58ce2f?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x37c901,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x37c901,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x37c901,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x37c901,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x37c901,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x58ce2f?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x55bfe9{constructor(_0x18f411){super(_0x18f411),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x2bcc46,_0x1edd85){const _0x52ba25=this['editor'],_0x3d341a=_0x1edd85?.['rootName']??r(_0x52ba25);_0x52ba25['data']['set']({[_0x3d341a]:_0x2bcc46},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x58a78a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x5ee3e0){super(_0x5ee3e0),_0x5ee3e0['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x20768f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52b71b;for(const _0x2332ff in _0x20768f){const _0x347835=_0x2332ff,_0x34612f=_0x20768f[_0x347835];if('sourceEditingEnhancedLicenseKeyValid'==_0x34612f||'sourceEditingEnhancedLicenseKeyInvalid'==_0x34612f||'sourceEditingEnhancedLicenseKeyExpired'==_0x34612f||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x34612f||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x34612f||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x34612f||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x34612f){delete _0x20768f[_0x347835],_0x52b71b=_0x34612f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x52b71b&&_0x20768f['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x52b71b&&_0x20768f['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x52b71b&&_0x20768f['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x52b71b&&_0x20768f['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x52b71b&&_0x20768f['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x52b71b&&_0x20768f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x24c2ff=this['editor'],_0x15cbef=_0x24c2ff['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x15cbef&&_0x24c2ff['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x379fdc('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x15cbef&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1f811a=>_0x24c2ff['plugins']['has'](_0x1f811a))&&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.'),_0x24c2ff['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
23
+ import{Command as _0x1fbedb,PendingActions as _0x28f7f5,Plugin as _0x21019a}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2ab235,formatHtml as _0x4125a0,env as _0x46cc33,uid as _0x46fe1b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x34bf64}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x169e59,ButtonView as _0xe46486,MenuBarMenuListItemButtonView as _0xd20b3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x2c766a,crosshairCursor as _0x296ed3,drawSelection as _0x3d49c3,dropCursor as _0xa46f6b,lineNumbers as _0x2ff0a7,highlightActiveLine as _0x1486a0,highlightActiveLineGutter as _0x1560ec,highlightSpecialChars as _0x5b7ac2,rectangularSelection as _0x1ceadd,keymap as _0x5025ff}from'@codemirror/view';import{Compartment as _0x43a3db,Transaction as _0xef9233}from'@codemirror/state';import{bracketMatching as _0x12bab0,foldGutter as _0x3cb6b2,indentOnInput as _0x5ea25f,syntaxHighlighting as _0x1406e6,defaultHighlightStyle as _0x5704c2,foldKeymap as _0x571619}from'@codemirror/language';import{toggleTabFocusMode as _0x5360e4,history as _0xb14ca0,defaultKeymap as _0x4634d6,historyKeymap as _0x3ad1f8,indentLess as _0x50de84,indentMore as _0xab979,redo as _0x6023bf,undo as _0xe20233}from'@codemirror/commands';import{autocompletion as _0x2caf9b,closeBrackets as _0x3f8e99,closeBracketsKeymap as _0x2d118c,completionKeymap as _0x59c5e9}from'@codemirror/autocomplete';import{html as _0x57eb57}from'@codemirror/lang-html';import{markdown as _0x3f6538}from'@codemirror/lang-markdown';import{oneDark as _0x153f8e}from'@codemirror/theme-one-dark';function w(_0x357ce6,_0x30ad39){const t=_0x357ce6['t'];switch(_0x30ad39){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 _0x30ad39;}}function r(_0x31160f){const _0x316b8a=_0x31160f['editing']['view']['document']['roots'],_0x1f205f=_0x316b8a['length'];if(0x0===_0x1f205f)throw new _0x2ab235('source-editing-enhanced-editor-no-root',_0x31160f);if(0x1===_0x1f205f)return _0x316b8a['first']['rootName'];return Array['from'](_0x31160f['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x3e38bd){return tr(_0x3e38bd['replace'](/^[\n\s]*/g,''))?_0x3e38bd['replace'](/\s+/g,''):_0x3e38bd;}function tr(_0x36164a){return _0x36164a['startsWith']('<');}function p(_0x982c2a){const _0x4e2e10=[_0x2c766a['lineWrapping'],_0x2caf9b(),_0x12bab0(),_0x3f8e99(),_0x296ed3(),_0x3d49c3(),_0xa46f6b(),_0x2ff0a7(),_0x3cb6b2(),_0x1486a0(),_0x1560ec(),_0x5b7ac2(),_0xb14ca0(),_0x5ea25f(),_0x1ceadd(),_0x1406e6(_0x5704c2,{'fallback':!0x0})],_0x4b2201=new _0x43a3db();_0x4e2e10['push'](_0x4b2201['of'](_0x2c766a['editable']['of'](!0x0))),'html'===_0x982c2a['syntaxLanguage']?_0x4e2e10['push'](_0x57eb57()):_0x4e2e10['push'](_0x3f6538());const _0x966e20=function(_0xb255a0){if(_0xb255a0&&'default'!==_0xb255a0)return'dark'===_0xb255a0?_0x153f8e:_0xb255a0;return null;}(_0x982c2a['theme']);_0x966e20&&_0x4e2e10['push'](_0x966e20),_0x4e2e10['push'](_0x5025ff['of']([..._0x2d118c,..._0x4634d6,..._0x3ad1f8,..._0x571619,..._0x59c5e9,{'key':'Tab','run':_0xab979,'shift':_0x50de84,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x6023bf,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x6023bf,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0xe20233,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2dbadc=new _0x2c766a({'extensions':_0x4e2e10,'parent':_0x982c2a['parent']});return _0x5360e4(_0x2dbadc),{'focus':()=>{_0x2dbadc['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2dbadc['focus']();},'getData':()=>_0x2dbadc['state']['doc']['toString'](),'setData':_0x1aa239=>{_0x2dbadc['dispatch']({'changes':{'from':0x0,'to':_0x2dbadc['state']['doc']['length'],'insert':_0x1aa239},'annotations':_0xef9233['addToHistory']['of'](!0x1)});},'setReadOnly':_0xc949ba=>{_0x2dbadc['dispatch']({'effects':[_0x4b2201['reconfigure'](_0x2c766a['editable']['of'](!_0xc949ba))]});},'destroy':()=>{_0x2dbadc['destroy']();},'instance':_0x2dbadc};}class E extends _0x169e59{['_codeEditorApi']=null;['_options'];constructor(_0x39cc06,_0x5e57cb){super(_0x39cc06),this['_options']=_0x5e57cb,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',(_0x1094ca,_0x289cbd,_0x5739c2)=>{this['setReadOnly'](_0x5739c2);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x354ed2){this['_codeEditorApi']['setData'](_0x354ed2);}['setReadOnly'](_0x5a716d){this['_codeEditorApi']['setReadOnly'](_0x5a716d);}}const b='SourceEditingEnhancedMode';class d extends _0x1fbedb{constructor(_0x5784df){super(_0x5784df),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x28f7f5)['on']('change:hasAny',(_0x5461d3,_0x1ee929,_0x364aa6)=>{_0x364aa6?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0xe0c597=this['editor'];for(const _0x3f19c5 of _0xe0c597['commands']['names']())['replaceSource','editSource']['includes'](_0x3f19c5)||_0xe0c597['commands']['get'](_0x3f19c5)['forceDisabled'](b);}['_enableCommands'](){const _0x4c2248=this['editor'];for(const _0x56f3cd of _0x4c2248['commands']['commands']())_0x56f3cd['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x487d1b=this['editor'],_0x48eff5=_0x487d1b['locale'],_0x51d425=_0x487d1b['plugins']['get']('Dialog'),_0x4c70dc=r(_0x487d1b),_0x9e672f=_0x487d1b['data']['get']({'rootName':_0x4c70dc}),_0x50efec=tr(_0x471378=_0x9e672f)?_0x4125a0(_0x471378):_0x471378;var _0x471378;const _0x49138b=new E(_0x48eff5,{'syntaxLanguage':_0x487d1b['plugins']['has']('Markdown')?'markdown':'html','theme':_0x487d1b['config']['get']('sourceEditingEnhanced.theme')});let _0x5ca17c=!0x0;const _0x3da640=_0x1fadfd=>{if(!_0x5ca17c)return;return g(_0x49138b['getData']())!==g(_0x50efec)?window['confirm'](w(_0x48eff5,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1fadfd['stop']():void 0x0;};_0x51d425['show']({'id':'sourceEditingEnhanced','title':w(_0x48eff5,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x49138b,'actionButtons':[{'label':w(_0x48eff5,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x51d425['hide']();}},{'label':w(_0x48eff5,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x1380bc=g(_0x49138b['getData']())!==g(_0x50efec);(_0x1380bc&&_0x487d1b['execute']('replaceSource',_0x49138b['getData']()),_0x5ca17c=!0x1,_0x51d425['hide'](),_0x1380bc&&'editables'in _0x487d1b['ui']['view'])&&_0x487d1b['ui']['view']['editables'][_0x4c70dc]['element']['focus']();},'onCreate':_0xee5cc=>{_0xee5cc['set']('isEnabled',!_0x487d1b['isReadOnly']),_0xee5cc['bind']('isEnabled')['to'](_0x487d1b,'isReadOnly',this,'isEnabled',(_0x386625,_0x87737c)=>!_0x386625&&_0x87737c);}}],'onHide':()=>{this['_enableCommands'](),_0x51d425['off']('hide',_0x3da640),_0x49138b['destroy']();},'onShow':()=>{_0x49138b['bind']('isReadOnly')['to'](_0x487d1b,'isReadOnly',this,'isEnabled',(_0x206b81,_0x462d97)=>_0x206b81||!_0x462d97),_0x49138b['setData'](_0x50efec),_0x49138b['focus'](),_0x51d425['on']('hide',_0x3da640,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x21019a{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x28f7f5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2b73a0=this['editor'],_0x41a6b3=_0x2b73a0['locale'],_0x144a28=new d(_0x2b73a0);_0x2b73a0['commands']['add']('editSource',_0x144a28),_0x2b73a0['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x16e1eb=this['_createButton'](_0xe46486,_0x144a28);return _0x16e1eb['set']({'label':w(_0x41a6b3,'Source'),'icon':_0x34bf64,'tooltip':w(_0x41a6b3,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x16e1eb;}),_0x2b73a0['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x4398bb=this['_createButton'](_0xd20b3,_0x144a28,!0x0);return _0x4398bb['set']({'label':w(_0x41a6b3,'Edit\x20source\x20modal\x20label'),'icon':_0x34bf64,'role':'menuitemcheckbox'}),_0x4398bb;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xeeb532){const _0x5f36df=_0x539b4d([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x13598d=0x5dba9314,_0x69a994=0x5dbd15bc^_0x13598d,_0x53fae7=window[_0x539b4d([0x44,0x61,0x74,0x65])][_0x539b4d([0x6e,0x6f,0x77])](),_0x11234f=_0xeeb532[_0x539b4d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41578c=new window[(_0x539b4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f233b=>{_0x11234f[_0x539b4d([0x6f,0x6e,0x63,0x65])](_0x539b4d([0x72,0x65,0x61,0x64,0x79]),_0x1f233b);}),_0x5746a2={[_0x539b4d([0x6b,0x74,0x79])]:_0x539b4d([0x45,0x43]),[_0x539b4d([0x75,0x73,0x65])]:_0x539b4d([0x73,0x69,0x67]),[_0x539b4d([0x63,0x72,0x76])]:_0x539b4d([0x50,0x2d,0x32,0x35,0x36]),[_0x539b4d([0x78])]:_0x539b4d([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]),[_0x539b4d([0x79])]:_0x539b4d([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]),[_0x539b4d([0x61,0x6c,0x67])]:_0x539b4d([0x45,0x53,0x32,0x35,0x36])},_0x5d0248=_0x11234f[_0x539b4d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x539b4d([0x67,0x65,0x74])](_0x539b4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7996fc(){let _0xfc1b5c,_0x80a6f7=null,_0x426863=null;try{if(_0x5d0248==_0x539b4d([0x47,0x50,0x4c]))return _0x539b4d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfc1b5c=_0x525676(),!_0xfc1b5c)return _0x539b4d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfc1b5c[_0x539b4d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x426863=_0x41fb32(_0xfc1b5c[_0x539b4d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfc1b5c[_0x539b4d([0x6a,0x74,0x69])])),await _0x1a3d81()?_0x187929()?_0xfff4f8()?_0x539b4d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3621b6()?(_0xfc1b5c[_0x539b4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x539b4d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x80a6f7=_0x4e5a95(_0x539b4d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54b893()):_0x539b4d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x539b4d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x539b4d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x539b4d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xfff4f8(){const _0x151fa2=[_0x539b4d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x539b4d([0x74,0x72,0x69,0x61,0x6c])][_0x539b4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfc1b5c[_0x539b4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53fae7/0x3e8:0xe10*_0x69a994;return _0xfc1b5c[_0x539b4d([0x65,0x78,0x70])]<_0x151fa2;}function _0x187929(){const _0x4cd73f=_0xfc1b5c[_0x539b4d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cd73f&&(!!_0x4cd73f[_0x539b4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x539b4d([0x2a]))||!!_0x4cd73f[_0x539b4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x539b4d([0x53,0x45,0x45])));}function _0x3621b6(){const _0x1cbe56=_0xfc1b5c[_0x539b4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1cbe56||0x0==_0x1cbe56[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5babe4}=new URL(window[_0x539b4d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1cbe56[_0x539b4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5babe4))return!0x0;const _0x59f6d4=_0x5babe4[_0x539b4d([0x73,0x70,0x6c,0x69,0x74])](_0x539b4d([0x2e]));return _0x1cbe56[_0x539b4d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9ace27=>_0x9ace27[_0x539b4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x539b4d([0x2a])))[_0x539b4d([0x6d,0x61,0x70])](_0x23c03f=>_0x23c03f[_0x539b4d([0x73,0x70,0x6c,0x69,0x74])](_0x539b4d([0x2e])))[_0x539b4d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7908a8=>_0x7908a8[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59f6d4[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x539b4d([0x6d,0x61,0x70])](_0x2c8337=>Array(_0x59f6d4[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2c8337[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x539b4d([0x66,0x69,0x6c,0x6c])](_0x2c8337[0x0]===_0x539b4d([0x2a])?_0x539b4d([0x2a]):'')[_0x539b4d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2c8337))[_0x539b4d([0x73,0x6f,0x6d,0x65])](_0x4d7b89=>_0x59f6d4[_0x539b4d([0x65,0x76,0x65,0x72,0x79])]((_0xbea50c,_0x16ae68)=>_0x4d7b89[_0x16ae68]===_0xbea50c||_0x4d7b89[_0x16ae68]===_0x539b4d([0x2a])));}function _0x54b893(){return _0x80a6f7&&_0x426863?new window[(_0x539b4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b7d52,_0x21fd04)=>{_0x80a6f7[_0x539b4d([0x74,0x68,0x65,0x6e])](_0x2b7d52,_0x21fd04),_0x426863[_0x539b4d([0x74,0x68,0x65,0x6e])](_0x51e886=>{_0x51e886!=_0x539b4d([0x56,0x61,0x6c,0x69,0x64])&&_0x2b7d52(_0x51e886);},_0x21fd04);}):_0x80a6f7||_0x426863||_0x539b4d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41fb32(_0x5c67e5,_0x7f26a8){return new window[(_0x539b4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x521416=>{if(_0x1edd6f())return _0x521416(_0x539b4d([0x56,0x61,0x6c,0x69,0x64]));_0x5cc8ec(),_0x11234f[_0x539b4d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x539b4d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4379e8=!0x1;const _0x3f95c2=_0x46fe1b();function _0x488a55(_0x5ef44e){return!!_0x5ef44e&&(typeof _0x5ef44e===_0x539b4d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ef44e===_0x539b4d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ef44e[_0x539b4d([0x74,0x68,0x65,0x6e])]===_0x539b4d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ef44e[_0x539b4d([0x63,0x61,0x74,0x63,0x68])]===_0x539b4d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x911a54(_0x2ae9f0){_0x181e84(_0x2ae9f0)[_0x539b4d([0x74,0x68,0x65,0x6e])](_0x4262e8=>{if(!_0x4262e8||_0x4262e8[_0x539b4d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x539b4d([0x6f,0x6b]))return _0x539b4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bdb81(_0x41ca1a(_0x3f95c2+_0x7f26a8))!=_0x4262e8[_0x539b4d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x539b4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x539b4d([0x56,0x61,0x6c,0x69,0x64]);})[_0x539b4d([0x74,0x68,0x65,0x6e])](_0x3fdd16=>(_0x5a89a0(),_0x3fdd16),()=>{const _0x560e9b=_0x491d77();return null==_0x560e9b?(_0x5a89a0(),_0x539b4d([0x56,0x61,0x6c,0x69,0x64])):_0x539b4d(_0x53fae7-_0x560e9b>(0x79b61714^_0x13598d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x539b4d([0x74,0x68,0x65,0x6e])](_0x521416)[_0x539b4d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x521416(_0x539b4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x255fc5=0x5d8c7d94^_0x13598d;function _0x5a89a0(){const _0x210242=_0x539b4d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bdb81(_0x41ca1a(_0x5c67e5)),_0x431b61=_0xddf409(_0x5bdb81(window[_0x539b4d([0x4d,0x61,0x74,0x68])][_0x539b4d([0x63,0x65,0x69,0x6c])](_0x53fae7/_0x255fc5)));window[_0x539b4d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x539b4d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x210242,_0x431b61);}function _0x491d77(){const _0x461eac=_0x539b4d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bdb81(_0x41ca1a(_0x5c67e5)),_0x4cd24f=window[_0x539b4d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x539b4d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x461eac);return _0x4cd24f?window[_0x539b4d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xddf409(_0x4cd24f),0x10)*_0x255fc5:null;}function _0x181e84(_0x373d99){return new window[(_0x539b4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42cf28,_0x48d3a4)=>{_0x373d99[_0x539b4d([0x74,0x68,0x65,0x6e])](_0x42cf28,_0x48d3a4),window[_0x539b4d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48d3a4,0x5dbb47d4^_0x13598d);});}}_0x11234f[_0x539b4d([0x6f,0x6e])](_0x539b4d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x63e522,_0x3368ca)=>{if(_0x3368ca[0x0]!=_0x5c67e5)return _0x521416(_0x539b4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3368ca[0x1]={..._0x3368ca[0x1],[_0x539b4d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f95c2};},{[_0x539b4d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x539b4d([0x68,0x69,0x67,0x68])}),_0x11234f[_0x539b4d([0x6f,0x6e])](_0x539b4d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x524d01=>{_0x488a55(_0x524d01[_0x539b4d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4379e8=!0x0,_0x911a54(_0x524d01[_0x539b4d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x539b4d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x539b4d([0x6c,0x6f,0x77])}),_0x41578c[_0x539b4d([0x74,0x68,0x65,0x6e])](()=>{_0x4379e8||_0x521416(_0x539b4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1edd6f(){return _0x11234f[_0x539b4d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x539b4d([0x76,0x69,0x65,0x77])][_0x539b4d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x539b4d([0x61,0x75,0x74,0x6f]);}function _0x5cc8ec(){_0x11234f[_0x539b4d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x539b4d([0x76,0x69,0x65,0x77])][_0x539b4d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x539b4d([0x61,0x75,0x74,0x6f]);}}function _0x4e5a95(_0x3cdf7f){const _0x5ba618=[new window[(_0x539b4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11593f=>setTimeout(_0x11593f,0x5db3add8^_0x13598d)),_0x41578c[_0x539b4d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x539b4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cb47b=>{let _0x15e293=0x0;_0x11234f[_0x539b4d([0x6d,0x6f,0x64,0x65,0x6c])][_0x539b4d([0x6f,0x6e])](_0x539b4d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x558adf,_0x1fbe59)=>{_0x1fbe59[0x0][_0x539b4d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15e293++,_0x15e293==(0x5dba96fc^_0x13598d)&&(_0x2cb47b(),_0x558adf[_0x539b4d([0x6f,0x66,0x66])]());});}))];return window[_0x539b4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x539b4d([0x72,0x61,0x63,0x65])](_0x5ba618)[_0x539b4d([0x74,0x68,0x65,0x6e])](()=>_0x3cdf7f);}async function _0x5ba590(){await _0x41578c,_0x11234f[_0x539b4d([0x6d,0x6f,0x64,0x65,0x6c])][_0x539b4d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f6c7a,_0x11234f[_0x539b4d([0x6d,0x6f,0x64,0x65,0x6c])][_0x539b4d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f6c7a,_0x11234f[_0x539b4d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x539b4d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ae5ce(_0x5010e6){const _0x3c1b5=_0x1fc0f5();_0x11234f[_0x3c1b5]=_0x539b4d([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])+_0x5010e6,_0x5010e6!=_0x539b4d([0x56,0x61,0x6c,0x69,0x64])&&_0x5ba590();}function _0x1fc0f5(){const _0x1627fd=window[_0x539b4d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x539b4d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x539b4d([0x6e,0x6f,0x77])]())[_0x539b4d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x539b4d([0x2e]),'');let _0x1ac1c6=_0x539b4d([0x4e]);for(let _0x38233e=0x0;_0x38233e<_0x1627fd[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38233e+=0x2){let _0x3a8fff=window[_0x539b4d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1627fd[_0x539b4d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38233e,_0x38233e+0x2));_0x3a8fff>=_0x5f36df[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a8fff-=_0x5f36df[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ac1c6+=_0x5f36df[_0x3a8fff];}return _0x1ac1c6;}function _0x525676(){const _0x551d65=_0x5d0248[_0x539b4d([0x73,0x70,0x6c,0x69,0x74])](_0x539b4d([0x2e]));if(0x3!=_0x551d65[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57c4cf(_0x551d65[0x1]);function _0x57c4cf(_0xb814f6){const _0x5d6b6b=_0x97005a(_0xb814f6);return _0x5d6b6b&&_0x340bab()?_0x5d6b6b:null;function _0x340bab(){const _0x1ae9d6=_0x5d6b6b[_0x539b4d([0x6a,0x74,0x69])],_0x3d9595=window[_0x539b4d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ae9d6[_0x539b4d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ae9d6[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x496d7f={..._0x5d6b6b,[_0x539b4d([0x6a,0x74,0x69])]:_0x1ae9d6[_0x539b4d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ae9d6[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x496d7f[_0x539b4d([0x76,0x63])],_0x41ca1a(_0x496d7f)==_0x3d9595;}}}async function _0x1a3d81(){let _0x1ef8db=!0x0;try{const _0x4be8fa=_0x5d0248[_0x539b4d([0x73,0x70,0x6c,0x69,0x74])](_0x539b4d([0x2e])),[_0x1e39b5,_0x10e85b,_0x5ad68d]=_0x4be8fa;return _0x31630a(_0x1e39b5),await _0x170dbb(_0x1e39b5,_0x10e85b,_0x5ad68d),_0x1ef8db;}catch{return!0x1;}function _0x31630a(_0x260853){const _0x39b6fd=_0x97005a(_0x260853);_0x39b6fd&&_0x39b6fd[_0x539b4d([0x61,0x6c,0x67])]==_0x539b4d([0x45,0x53,0x32,0x35,0x36])||(_0x1ef8db=!0x1);}async function _0x170dbb(_0x4c24ee,_0xbe4698,_0x1e3eb2){const _0x17e1f3=window[_0x539b4d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x539b4d([0x66,0x72,0x6f,0x6d])](_0x281ec9(_0x1e3eb2),_0x1b4b42=>_0x1b4b42[_0x539b4d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30f3e0=new window[(_0x539b4d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x539b4d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c24ee+_0x539b4d([0x2e])+_0xbe4698),_0x468eae=window[_0x539b4d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x539b4d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x468eae)return;const _0x5b1c13=await _0x468eae[_0x539b4d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x539b4d([0x6a,0x77,0x6b]),_0x5746a2,{[_0x539b4d([0x6e,0x61,0x6d,0x65])]:_0x539b4d([0x45,0x43,0x44,0x53,0x41]),[_0x539b4d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x539b4d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x539b4d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x468eae[_0x539b4d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x539b4d([0x6e,0x61,0x6d,0x65])]:_0x539b4d([0x45,0x43,0x44,0x53,0x41]),[_0x539b4d([0x68,0x61,0x73,0x68])]:{[_0x539b4d([0x6e,0x61,0x6d,0x65])]:_0x539b4d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b1c13,_0x17e1f3,_0x30f3e0)||(_0x1ef8db=!0x1);}}function _0x97005a(_0x339e60){return _0x339e60[_0x539b4d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x539b4d([0x65,0x79]))?JSON[_0x539b4d([0x70,0x61,0x72,0x73,0x65])](_0x281ec9(_0x339e60)):null;}function _0x281ec9(_0x2dd6fd){return window[_0x539b4d([0x61,0x74,0x6f,0x62])](_0x2dd6fd[_0x539b4d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x539b4d([0x2b]))[_0x539b4d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x539b4d([0x2f])));}function _0x41ca1a(_0x42d5c4){let _0x18be56=0x1505;function _0x52ab9c(_0x1494df){for(let _0x249023=0x0;_0x249023<_0x1494df[_0x539b4d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x249023++){const _0x5731f3=_0x1494df[_0x539b4d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x249023);_0x18be56=(_0x18be56<<0x5)+_0x18be56+_0x5731f3,_0x18be56&=_0x18be56;}}function _0x5e755b(_0x5cc606){Array[_0x539b4d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cc606)?_0x5cc606[_0x539b4d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e755b):_0x5cc606&&typeof _0x5cc606==_0x539b4d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x539b4d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cc606)[_0x539b4d([0x73,0x6f,0x72,0x74])]()[_0x539b4d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39a678,_0x27126c])=>{_0x52ab9c(_0x39a678),_0x5e755b(_0x27126c);}):_0x52ab9c(window[_0x539b4d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cc606));}return _0x5e755b(_0x42d5c4),_0x18be56>>>0x0;}function _0x5bdb81(_0x4af9f4){return _0x4af9f4[_0x539b4d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x539b4d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x539b4d([0x30]));}function _0xddf409(_0x434799){return _0x434799[_0x539b4d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x539b4d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x539b4d([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f6c7a(){}function _0x539b4d(_0x5e039f){return _0x5e039f['map'](_0x26a826=>String['fromCharCode'](_0x26a826))['join']('');}_0x5ae5ce(await _0x7996fc());}(this);}['_createButton'](_0x10320b,_0x44af86,_0x1902d3=!0x1){const _0x568995=new _0x10320b(this['editor']['locale']);return _0x568995['set']({'withText':_0x1902d3,'isToggleable':!0x1}),_0x568995['bind']('isEnabled')['to'](_0x44af86,'isEnabled'),this['listenTo'](_0x568995,'execute',()=>_0x44af86['execute']()),_0x568995;}['_registerKeybindings'](){const _0x3db97c=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x3db97c,'Source\x20Editing\x20Enhanced')});const _0x50ba11=_0x46cc33['isMac']||_0x46cc33['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x3db97c,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x3db97c,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x3db97c,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x3db97c,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x3db97c,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x3db97c,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x3db97c,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x50ba11?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x3db97c,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x3db97c,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x3db97c,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x3db97c,'Select\x20line'),'keystroke':_0x50ba11?'Ctrl!+L':'Alt+L'},{'label':w(_0x3db97c,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x50ba11?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x3db97c,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x3db97c,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x3db97c,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x3db97c,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x3db97c,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x50ba11?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x1fbedb{constructor(_0x506c9e){super(_0x506c9e),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x5458d5,_0x5bec7e){const _0x3f3882=this['editor'],_0x4aca97=_0x5bec7e?.['rootName']??r(_0x3f3882);_0x3f3882['data']['set']({[_0x4aca97]:_0x5458d5},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x21019a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x44ca03){super(_0x44ca03),_0x44ca03['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x109528=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x960b01;for(const _0x1934de in _0x109528){const _0x2ec03e=_0x1934de,_0x2bf35a=_0x109528[_0x2ec03e];if('sourceEditingEnhancedLicenseKeyValid'==_0x2bf35a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2bf35a||'sourceEditingEnhancedLicenseKeyExpired'==_0x2bf35a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2bf35a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2bf35a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2bf35a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2bf35a){delete _0x109528[_0x2ec03e],_0x960b01=_0x2bf35a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x960b01&&_0x109528['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x960b01&&_0x109528['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x960b01&&_0x109528['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x960b01&&_0x109528['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x960b01&&_0x109528['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x960b01&&_0x109528['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x5ea102=this['editor'],_0x2009c8=_0x5ea102['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x2009c8&&_0x5ea102['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x2ab235('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x2009c8&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4e5257=>_0x5ea102['plugins']['has'](_0x4e5257))&&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.'),_0x5ea102['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "47.6.2-alpha.0",
3
+ "version": "47.6.2",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "47.6.2-alpha.0",
22
- "@ckeditor/ckeditor5-icons": "47.6.2-alpha.0",
23
- "@ckeditor/ckeditor5-theme-lark": "47.6.2-alpha.0",
24
- "@ckeditor/ckeditor5-ui": "47.6.2-alpha.0",
25
- "@ckeditor/ckeditor5-utils": "47.6.2-alpha.0",
21
+ "@ckeditor/ckeditor5-core": "47.6.2",
22
+ "@ckeditor/ckeditor5-icons": "47.6.2",
23
+ "@ckeditor/ckeditor5-theme-lark": "47.6.2",
24
+ "@ckeditor/ckeditor5-ui": "47.6.2",
25
+ "@ckeditor/ckeditor5-utils": "47.6.2",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.1",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "47.6.2-alpha.0"
34
+ "ckeditor5": "47.6.2"
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
- function _0x356e(){const _0x52eb61=['Undo\x20(keystroke)','addKeystrokeInfoCategory','map','Cmd+Alt+]','locale','Toggle\x20comment','Alt+L','Copy\x20line\x20down','Ctrl!+Alt+]','Ctrl!+Alt+[','editor','pluginName','119QQUHSg','init','set','Unfold\x20all','requires','afterInit','Ctrl+Y','Toggle\x20block\x20comment','execute','_createButton','Ctrl+M','Alt+ArrowUp','Alt+Shift+M','Cmd+Alt+[','_registerKeybindings','isOfficialPlugin','Move\x20line\x20up','379404wrtBpD','editSource','Alt+ArrowDown','Fold\x20all','Ctrl+Shift+Z','Ctrl+Shift+]','Unfold\x20code\x20(current\x20level)','Shift+Ctrl+K','559072igoopN','isEnabled','componentFactory','1249431fzQdWM','Ctrl+Shift+[','199926eZVbNR','1189716DRUSNr','Copy\x20line\x20up','Source\x20Editing\x20Enhanced','ck-source-editing-enhanced-button','Shift+Alt+ArrowDown','Ctrl!+L','Indent\x20less','isPremiumPlugin','Fold\x20code\x20(current\x20level)','Shift+Alt+A','Select\x20line','Delete\x20line','listenTo','Source','sourceEditingEnhanced','Ctrl+/','bind','Ctrl+]','add','Edit\x20source\x20modal\x20label','commands','Indent\x20more','menuBar:sourceEditingEnhanced','isMac','isiOS','menuitemcheckbox','1113720mGopyB','367478WqIbPX','join','accessibility','addKeystrokeInfos','Ctrl+[','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','href','Move\x20line\x20down','fromCharCode','SourceEditingEnhancedUI','Shift+Alt+ArrowUp','Redo\x20(keystroke)','Ctrl+Z'];_0x356e=function(){return _0x52eb61;};return _0x356e();}const _0x423a9d=_0x4608;function _0x4608(_0x500217,_0x260447){const _0x356e05=_0x356e();return _0x4608=function(_0x46082f,_0x566030){_0x46082f=_0x46082f-0x1df;let _0x2de77f=_0x356e05[_0x46082f];return _0x2de77f;},_0x4608(_0x500217,_0x260447);}(function(_0x3f63f6,_0x5bad6f){const _0x1ef0a2=_0x4608,_0x149d99=_0x3f63f6();while(!![]){try{const _0x3bf03b=parseInt(_0x1ef0a2(0x21b))/0x1+-parseInt(_0x1ef0a2(0x1e4))/0x2+-parseInt(_0x1ef0a2(0x219))/0x3+-parseInt(_0x1ef0a2(0x20e))/0x4+-parseInt(_0x1ef0a2(0x1e3))/0x5+-parseInt(_0x1ef0a2(0x21c))/0x6+parseInt(_0x1ef0a2(0x1fd))/0x7*(parseInt(_0x1ef0a2(0x216))/0x8);if(_0x3bf03b===_0x5bad6f)break;else _0x149d99['push'](_0x149d99['shift']());}catch(_0x2e7af5){_0x149d99['push'](_0x149d99['shift']());}}}(_0x356e,0x425f1));import{Plugin as _0x23a957,PendingActions as _0x5d9cdc}from'ckeditor5/src/core.js';import{IconSource as _0x357c34}from'ckeditor5/src/icons.js';import{ButtonView as _0x122edb,MenuBarMenuListItemButtonView as _0x4f60d1}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x545087}from'./ui/editsourcecommand.js';import{getTranslation as _0x206794}from'./utils/common-translations.js';import{env as _0x546d5c,uid as _0x2c4f83}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x23a957{static get[_0x423a9d(0x1fc)](){const _0x593311=_0x423a9d;return _0x593311(0x1ed);}static get[_0x423a9d(0x201)](){return[_0x5d9cdc];}static get[_0x423a9d(0x20c)](){return!0x0;}static get[_0x423a9d(0x223)](){return!0x0;}[_0x423a9d(0x1fe)](){const _0x4751a8=_0x423a9d,_0x22d7c0=this[_0x4751a8(0x1fb)],_0xa7330b=_0x22d7c0[_0x4751a8(0x1f5)],_0x2df9e3=new _0x545087(_0x22d7c0);_0x22d7c0[_0x4751a8(0x230)][_0x4751a8(0x22e)](_0x4751a8(0x20f),_0x2df9e3),_0x22d7c0['ui'][_0x4751a8(0x218)][_0x4751a8(0x22e)](_0x4751a8(0x22a),()=>{const _0x22a2b8=_0x4751a8,_0x1c66eb=this[_0x22a2b8(0x206)](_0x122edb,_0x2df9e3);return _0x1c66eb[_0x22a2b8(0x1ff)]({'label':_0x206794(_0xa7330b,_0x22a2b8(0x229)),'icon':_0x357c34,'tooltip':_0x206794(_0xa7330b,_0x22a2b8(0x22f)),'class':_0x22a2b8(0x21f)}),_0x1c66eb;}),_0x22d7c0['ui'][_0x4751a8(0x218)][_0x4751a8(0x22e)](_0x4751a8(0x1df),()=>{const _0x8dc2b5=_0x4751a8,_0x5cde8d=this[_0x8dc2b5(0x206)](_0x4f60d1,_0x2df9e3,!0x0);return _0x5cde8d[_0x8dc2b5(0x1ff)]({'label':_0x206794(_0xa7330b,_0x8dc2b5(0x22f)),'icon':_0x357c34,'role':_0x8dc2b5(0x1e2)}),_0x5cde8d;}),this[_0x4751a8(0x20b)]();}[_0x423a9d(0x202)](){!async function(_0x4f4e1e){const _0x42112e=_0x15cc89([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x3d766a=0x5dba9314,_0x6b380f=0x5dbd1584^_0x3d766a,_0x48026b=window[_0x15cc89([0x44,0x61,0x74,0x65])][_0x15cc89([0x6e,0x6f,0x77])](),_0xf05b8=_0x4f4e1e[_0x15cc89([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x52860b=new window[(_0x15cc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8ae394=>{_0xf05b8[_0x15cc89([0x6f,0x6e,0x63,0x65])](_0x15cc89([0x72,0x65,0x61,0x64,0x79]),_0x8ae394);}),_0x7f29a7={[_0x15cc89([0x6b,0x74,0x79])]:_0x15cc89([0x45,0x43]),[_0x15cc89([0x75,0x73,0x65])]:_0x15cc89([0x73,0x69,0x67]),[_0x15cc89([0x63,0x72,0x76])]:_0x15cc89([0x50,0x2d,0x32,0x35,0x36]),[_0x15cc89([0x78])]:_0x15cc89([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]),[_0x15cc89([0x79])]:_0x15cc89([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]),[_0x15cc89([0x61,0x6c,0x67])]:_0x15cc89([0x45,0x53,0x32,0x35,0x36])},_0x123fc3=_0xf05b8[_0x15cc89([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15cc89([0x67,0x65,0x74])](_0x15cc89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ded79(){let _0x2cda53,_0x3ea7fa=null,_0x1d9bad=null;try{if(_0x123fc3==_0x15cc89([0x47,0x50,0x4c]))return _0x15cc89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2cda53=_0xb66ef4(),!_0x2cda53)return _0x15cc89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2cda53[_0x15cc89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d9bad=_0x48c682(_0x2cda53[_0x15cc89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2cda53[_0x15cc89([0x6a,0x74,0x69])])),await _0x7332fd()?_0x2a1d56()?_0x755aba()?_0x15cc89([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13c738()?(_0x2cda53[_0x15cc89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15cc89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ea7fa=_0x1ec327(_0x15cc89([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdf9b46()):_0x15cc89([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15cc89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x15cc89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x755aba(){const _0x5e4772=[_0x15cc89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15cc89([0x74,0x72,0x69,0x61,0x6c])][_0x15cc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cda53[_0x15cc89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x48026b/0x3e8:0xe10*_0x6b380f;return _0x2cda53[_0x15cc89([0x65,0x78,0x70])]<_0x5e4772;}function _0x2a1d56(){const _0x27e385=_0x2cda53[_0x15cc89([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x27e385&&(!!_0x27e385[_0x15cc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc89([0x2a]))||!!_0x27e385[_0x15cc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc89([0x53,0x45,0x45])));}function _0x13c738(){const _0x3ee9d5=_0x4608,_0x4e65d5=_0x2cda53[_0x15cc89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e65d5||0x0==_0x4e65d5[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x157f0e}=new URL(window[_0x15cc89([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ee9d5(0x1ea)]);if(_0x4e65d5[_0x15cc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157f0e))return!0x0;const _0x4d2e89=_0x157f0e[_0x15cc89([0x73,0x70,0x6c,0x69,0x74])](_0x15cc89([0x2e]));return _0x4e65d5[_0x15cc89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49f11b=>_0x49f11b[_0x15cc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc89([0x2a])))[_0x15cc89([0x6d,0x61,0x70])](_0x2f50de=>_0x2f50de[_0x15cc89([0x73,0x70,0x6c,0x69,0x74])](_0x15cc89([0x2e])))[_0x15cc89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x284de7=>_0x284de7[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4d2e89[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x15cc89([0x6d,0x61,0x70])](_0x12490a=>Array(_0x4d2e89[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12490a[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x15cc89([0x66,0x69,0x6c,0x6c])](_0x12490a[0x0]===_0x15cc89([0x2a])?_0x15cc89([0x2a]):'')[_0x15cc89([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12490a))[_0x15cc89([0x73,0x6f,0x6d,0x65])](_0x258a69=>_0x4d2e89[_0x15cc89([0x65,0x76,0x65,0x72,0x79])]((_0x9ce061,_0x8f21cc)=>_0x258a69[_0x8f21cc]===_0x9ce061||_0x258a69[_0x8f21cc]===_0x15cc89([0x2a])));}function _0xdf9b46(){return _0x3ea7fa&&_0x1d9bad?new window[(_0x15cc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29571a,_0x36de2d)=>{_0x3ea7fa[_0x15cc89([0x74,0x68,0x65,0x6e])](_0x29571a,_0x36de2d),_0x1d9bad[_0x15cc89([0x74,0x68,0x65,0x6e])](_0x32537f=>{_0x32537f!=_0x15cc89([0x56,0x61,0x6c,0x69,0x64])&&_0x29571a(_0x32537f);},_0x36de2d);}):_0x3ea7fa||_0x1d9bad||_0x15cc89([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48c682(_0x4d6647,_0xea3540){return new window[(_0x15cc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45a44d=>{if(_0x37749a())return _0x45a44d(_0x15cc89([0x56,0x61,0x6c,0x69,0x64]));_0x7dc327(),_0xf05b8[_0x15cc89([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15cc89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x403a7f=!0x1;const _0x2fdcfa=_0x2c4f83();function _0x1b9733(_0x46362c){return!!_0x46362c&&(typeof _0x46362c===_0x15cc89([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46362c===_0x15cc89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46362c[_0x15cc89([0x74,0x68,0x65,0x6e])]===_0x15cc89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46362c[_0x15cc89([0x63,0x61,0x74,0x63,0x68])]===_0x15cc89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x352b0d(_0x46a87e){_0x589649(_0x46a87e)[_0x15cc89([0x74,0x68,0x65,0x6e])](_0x4beb43=>{if(!_0x4beb43||_0x4beb43[_0x15cc89([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15cc89([0x6f,0x6b]))return _0x15cc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a0f70(_0x19e009(_0x2fdcfa+_0xea3540))!=_0x4beb43[_0x15cc89([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15cc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc89([0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc89([0x74,0x68,0x65,0x6e])](_0x878974=>(_0x10490d(),_0x878974),()=>{const _0x5cc39f=_0x5e28cf();return null==_0x5cc39f?(_0x10490d(),_0x15cc89([0x56,0x61,0x6c,0x69,0x64])):_0x15cc89(_0x48026b-_0x5cc39f>(0x79b61714^_0x3d766a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc89([0x74,0x68,0x65,0x6e])](_0x45a44d)[_0x15cc89([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45a44d(_0x15cc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41ad55=0x5d8c7d94^_0x3d766a;function _0x10490d(){const _0x2601f1=_0x15cc89([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a0f70(_0x19e009(_0x4d6647)),_0x54dd16=_0x5ef780(_0x3a0f70(window[_0x15cc89([0x4d,0x61,0x74,0x68])][_0x15cc89([0x63,0x65,0x69,0x6c])](_0x48026b/_0x41ad55)));window[_0x15cc89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc89([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2601f1,_0x54dd16);}function _0x5e28cf(){const _0x46155c=_0x15cc89([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a0f70(_0x19e009(_0x4d6647)),_0x29a631=window[_0x15cc89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc89([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46155c);return _0x29a631?window[_0x15cc89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ef780(_0x29a631),0x10)*_0x41ad55:null;}function _0x589649(_0x33de2d){return new window[(_0x15cc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f14fd,_0x514b82)=>{_0x33de2d[_0x15cc89([0x74,0x68,0x65,0x6e])](_0x5f14fd,_0x514b82),window[_0x15cc89([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x514b82,0x5dbb47d4^_0x3d766a);});}}_0xf05b8[_0x15cc89([0x6f,0x6e])](_0x15cc89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9de71,_0x5dce70)=>{if(_0x5dce70[0x0]!=_0x4d6647)return _0x45a44d(_0x15cc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5dce70[0x1]={..._0x5dce70[0x1],[_0x15cc89([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2fdcfa};},{[_0x15cc89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc89([0x68,0x69,0x67,0x68])}),_0xf05b8[_0x15cc89([0x6f,0x6e])](_0x15cc89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x310999=>{_0x1b9733(_0x310999[_0x15cc89([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x403a7f=!0x0,_0x352b0d(_0x310999[_0x15cc89([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15cc89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc89([0x6c,0x6f,0x77])}),_0x52860b[_0x15cc89([0x74,0x68,0x65,0x6e])](()=>{_0x403a7f||_0x45a44d(_0x15cc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x37749a(){return _0xf05b8[_0x15cc89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc89([0x76,0x69,0x65,0x77])][_0x15cc89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15cc89([0x61,0x75,0x74,0x6f]);}function _0x7dc327(){_0xf05b8[_0x15cc89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc89([0x76,0x69,0x65,0x77])][_0x15cc89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15cc89([0x61,0x75,0x74,0x6f]);}}function _0x1ec327(_0x1a6880){const _0x7d5990=[new window[(_0x15cc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x74bf0a=>setTimeout(_0x74bf0a,0x5db3add8^_0x3d766a)),_0x52860b[_0x15cc89([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15cc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bd554=>{let _0x61f1af=0x0;_0xf05b8[_0x15cc89([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc89([0x6f,0x6e])](_0x15cc89([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e76fd,_0x4d5fba)=>{_0x4d5fba[0x0][_0x15cc89([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x61f1af++,_0x61f1af==(0x5dba96fc^_0x3d766a)&&(_0x4bd554(),_0x4e76fd[_0x15cc89([0x6f,0x66,0x66])]());});}))];return window[_0x15cc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15cc89([0x72,0x61,0x63,0x65])](_0x7d5990)[_0x15cc89([0x74,0x68,0x65,0x6e])](()=>_0x1a6880);}async function _0x13d541(){await _0x52860b,_0xf05b8[_0x15cc89([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc89([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54220e,_0xf05b8[_0x15cc89([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc89([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54220e,_0xf05b8[_0x15cc89([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15cc89([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x172c11(_0x25be2b){const _0x50156e=_0x566a7c();_0xf05b8[_0x50156e]=_0x15cc89([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])+_0x25be2b,_0x25be2b!=_0x15cc89([0x56,0x61,0x6c,0x69,0x64])&&_0x13d541();}function _0x566a7c(){const _0x15d680=window[_0x15cc89([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15cc89([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15cc89([0x6e,0x6f,0x77])]())[_0x15cc89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15cc89([0x2e]),'');let _0x5934d6=_0x15cc89([0x4e]);for(let _0x5db887=0x0;_0x5db887<_0x15d680[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5db887+=0x2){let _0x1a94c7=window[_0x15cc89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15d680[_0x15cc89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5db887,_0x5db887+0x2));_0x1a94c7>=_0x42112e[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a94c7-=_0x42112e[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5934d6+=_0x42112e[_0x1a94c7];}return _0x5934d6;}function _0xb66ef4(){const _0x32b859=_0x123fc3[_0x15cc89([0x73,0x70,0x6c,0x69,0x74])](_0x15cc89([0x2e]));if(0x3!=_0x32b859[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1640dd(_0x32b859[0x1]);function _0x1640dd(_0x1f9e58){const _0x1c72fd=_0x541552(_0x1f9e58);return _0x1c72fd&&_0x1c1c78()?_0x1c72fd:null;function _0x1c1c78(){const _0x2ba45c=_0x1c72fd[_0x15cc89([0x6a,0x74,0x69])],_0x13d50d=window[_0x15cc89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ba45c[_0x15cc89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ba45c[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x234d49={..._0x1c72fd,[_0x15cc89([0x6a,0x74,0x69])]:_0x2ba45c[_0x15cc89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ba45c[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x234d49[_0x15cc89([0x76,0x63])],_0x19e009(_0x234d49)==_0x13d50d;}}}async function _0x7332fd(){let _0x2fc088=!0x0;try{const _0x5d09e2=_0x123fc3[_0x15cc89([0x73,0x70,0x6c,0x69,0x74])](_0x15cc89([0x2e])),[_0x526bdd,_0x5e01f8,_0x4b575f]=_0x5d09e2;return _0x4c5052(_0x526bdd),await _0x310c55(_0x526bdd,_0x5e01f8,_0x4b575f),_0x2fc088;}catch{return!0x1;}function _0x4c5052(_0x5a2f45){const _0xb415d3=_0x541552(_0x5a2f45);_0xb415d3&&_0xb415d3[_0x15cc89([0x61,0x6c,0x67])]==_0x15cc89([0x45,0x53,0x32,0x35,0x36])||(_0x2fc088=!0x1);}async function _0x310c55(_0x519f38,_0x5bd3d7,_0x244e87){const _0xe58ae7=window[_0x15cc89([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15cc89([0x66,0x72,0x6f,0x6d])](_0x4a2f4a(_0x244e87),_0x17194d=>_0x17194d[_0x15cc89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3490b6=new window[(_0x15cc89([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15cc89([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x519f38+_0x15cc89([0x2e])+_0x5bd3d7),_0x4d2626=window[_0x15cc89([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15cc89([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d2626)return;const _0x5e6de4=await _0x4d2626[_0x15cc89([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15cc89([0x6a,0x77,0x6b]),_0x7f29a7,{[_0x15cc89([0x6e,0x61,0x6d,0x65])]:_0x15cc89([0x45,0x43,0x44,0x53,0x41]),[_0x15cc89([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15cc89([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15cc89([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d2626[_0x15cc89([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15cc89([0x6e,0x61,0x6d,0x65])]:_0x15cc89([0x45,0x43,0x44,0x53,0x41]),[_0x15cc89([0x68,0x61,0x73,0x68])]:{[_0x15cc89([0x6e,0x61,0x6d,0x65])]:_0x15cc89([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e6de4,_0xe58ae7,_0x3490b6)||(_0x2fc088=!0x1);}}function _0x541552(_0x57d24a){return _0x57d24a[_0x15cc89([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15cc89([0x65,0x79]))?JSON[_0x15cc89([0x70,0x61,0x72,0x73,0x65])](_0x4a2f4a(_0x57d24a)):null;}function _0x4a2f4a(_0x5770c3){return window[_0x15cc89([0x61,0x74,0x6f,0x62])](_0x5770c3[_0x15cc89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15cc89([0x2b]))[_0x15cc89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15cc89([0x2f])));}function _0x19e009(_0x5ad097){let _0x1a8615=0x1505;function _0x2c36e4(_0x52b884){for(let _0x2a36be=0x0;_0x2a36be<_0x52b884[_0x15cc89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a36be++){const _0x4f39c5=_0x52b884[_0x15cc89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a36be);_0x1a8615=(_0x1a8615<<0x5)+_0x1a8615+_0x4f39c5,_0x1a8615&=_0x1a8615;}}function _0x46a63a(_0x3cf63a){Array[_0x15cc89([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3cf63a)?_0x3cf63a[_0x15cc89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46a63a):_0x3cf63a&&typeof _0x3cf63a==_0x15cc89([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15cc89([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3cf63a)[_0x15cc89([0x73,0x6f,0x72,0x74])]()[_0x15cc89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b8463,_0x264302])=>{_0x2c36e4(_0x2b8463),_0x46a63a(_0x264302);}):_0x2c36e4(window[_0x15cc89([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3cf63a));}return _0x46a63a(_0x5ad097),_0x1a8615>>>0x0;}function _0x3a0f70(_0xb368c4){return _0xb368c4[_0x15cc89([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15cc89([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15cc89([0x30]));}function _0x5ef780(_0x11de9d){return _0x11de9d[_0x15cc89([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15cc89([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15cc89([0x6a,0x6f,0x69,0x6e])]('');}function _0x54220e(){}function _0x15cc89(_0x268c88){const _0x310d47=_0x4608;return _0x268c88[_0x310d47(0x1f3)](_0x422e55=>String[_0x310d47(0x1ec)](_0x422e55))[_0x310d47(0x1e5)]('');}_0x172c11(await _0x2ded79());}(this);}[_0x423a9d(0x206)](_0x2be9f1,_0x4a4816,_0x3f8d24=!0x1){const _0x268c56=_0x423a9d,_0x3041d6=new _0x2be9f1(this[_0x268c56(0x1fb)][_0x268c56(0x1f5)]);return _0x3041d6[_0x268c56(0x1ff)]({'withText':_0x3f8d24,'isToggleable':!0x1}),_0x3041d6[_0x268c56(0x22c)](_0x268c56(0x217))['to'](_0x4a4816,_0x268c56(0x217)),this[_0x268c56(0x228)](_0x3041d6,_0x268c56(0x205),()=>_0x4a4816[_0x268c56(0x205)]()),_0x3041d6;}[_0x423a9d(0x20b)](){const _0x1795f5=_0x423a9d,_0x13752d=this[_0x1795f5(0x1fb)][_0x1795f5(0x1f5)];this[_0x1795f5(0x1fb)][_0x1795f5(0x1e6)][_0x1795f5(0x1f2)]({'id':_0x1795f5(0x22a),'label':_0x206794(_0x13752d,_0x1795f5(0x21e))});const _0x423d96=_0x546d5c[_0x1795f5(0x1e0)]||_0x546d5c[_0x1795f5(0x1e1)];this[_0x1795f5(0x1fb)][_0x1795f5(0x1e6)][_0x1795f5(0x1e7)]({'categoryId':_0x1795f5(0x22a),'keystrokes':[{'label':_0x206794(_0x13752d,_0x1795f5(0x1f8)),'keystroke':_0x1795f5(0x220)},{'label':_0x206794(_0x13752d,_0x1795f5(0x21d)),'keystroke':_0x1795f5(0x1ee)},{'label':_0x206794(_0x13752d,_0x1795f5(0x227)),'keystroke':_0x1795f5(0x215)},{'label':_0x206794(_0x13752d,_0x1795f5(0x222)),'keystroke':_0x1795f5(0x1e8)},{'label':_0x206794(_0x13752d,_0x1795f5(0x231)),'keystroke':_0x1795f5(0x22d)},{'label':_0x206794(_0x13752d,_0x1795f5(0x211)),'keystroke':_0x1795f5(0x1fa)},{'label':_0x206794(_0x13752d,_0x1795f5(0x224)),'keystroke':_0x423d96?_0x1795f5(0x20a):_0x1795f5(0x21a)},{'label':_0x206794(_0x13752d,_0x1795f5(0x1eb)),'keystroke':_0x1795f5(0x210)},{'label':_0x206794(_0x13752d,_0x1795f5(0x20d)),'keystroke':_0x1795f5(0x208)},{'label':_0x206794(_0x13752d,_0x1795f5(0x1ef)),'keystroke':[[_0x1795f5(0x212)],[_0x1795f5(0x203)]]},{'label':_0x206794(_0x13752d,_0x1795f5(0x226)),'keystroke':_0x423d96?_0x1795f5(0x221):_0x1795f5(0x1f7)},{'label':_0x206794(_0x13752d,_0x1795f5(0x1e9)),'keystroke':_0x423d96?_0x1795f5(0x209):_0x1795f5(0x207)},{'label':_0x206794(_0x13752d,_0x1795f5(0x204)),'keystroke':_0x1795f5(0x225)},{'label':_0x206794(_0x13752d,_0x1795f5(0x1f6)),'keystroke':_0x1795f5(0x22b)},{'label':_0x206794(_0x13752d,_0x1795f5(0x1f1)),'keystroke':_0x1795f5(0x1f0)},{'label':_0x206794(_0x13752d,_0x1795f5(0x200)),'keystroke':_0x1795f5(0x1f9)},{'label':_0x206794(_0x13752d,_0x1795f5(0x214)),'keystroke':_0x423d96?_0x1795f5(0x1f4):_0x1795f5(0x213)}]});}}
23
+ const _0x54dc31=_0x1394;(function(_0x531619,_0x452f96){const _0x18d039=_0x1394,_0x528c0f=_0x531619();while(!![]){try{const _0x2d952d=parseInt(_0x18d039(0x1bc))/0x1+-parseInt(_0x18d039(0x1c6))/0x2*(-parseInt(_0x18d039(0x193))/0x3)+parseInt(_0x18d039(0x1a9))/0x4+parseInt(_0x18d039(0x1a5))/0x5*(parseInt(_0x18d039(0x1af))/0x6)+parseInt(_0x18d039(0x1e4))/0x7*(parseInt(_0x18d039(0x1ab))/0x8)+-parseInt(_0x18d039(0x1e5))/0x9*(-parseInt(_0x18d039(0x19e))/0xa)+parseInt(_0x18d039(0x1d1))/0xb*(-parseInt(_0x18d039(0x1a1))/0xc);if(_0x2d952d===_0x452f96)break;else _0x528c0f['push'](_0x528c0f['shift']());}catch(_0x266ae2){_0x528c0f['push'](_0x528c0f['shift']());}}}(_0x5319,0x2754f));import{Plugin as _0x1d7125,PendingActions as _0x3bac53}from'ckeditor5/src/core.js';import{IconSource as _0x2c9ffd}from'ckeditor5/src/icons.js';import{ButtonView as _0x5ed6e7,MenuBarMenuListItemButtonView as _0x2346e2}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0xbccf88}from'./ui/editsourcecommand.js';import{getTranslation as _0x524d03}from'./utils/common-translations.js';import{env as _0x5994b4,uid as _0x30e18f}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x1d7125{static get[_0x54dc31(0x1b1)](){const _0x45f64b=_0x54dc31;return _0x45f64b(0x1a7);}static get[_0x54dc31(0x1b0)](){return[_0x3bac53];}static get[_0x54dc31(0x1dc)](){return!0x0;}static get[_0x54dc31(0x194)](){return!0x0;}[_0x54dc31(0x1a8)](){const _0x571748=_0x54dc31,_0x3acf05=this[_0x571748(0x1de)],_0xd8c88c=_0x3acf05[_0x571748(0x19d)],_0x38e5d7=new _0xbccf88(_0x3acf05);_0x3acf05[_0x571748(0x19c)][_0x571748(0x1c8)](_0x571748(0x1b5),_0x38e5d7),_0x3acf05['ui'][_0x571748(0x1e8)][_0x571748(0x1c8)](_0x571748(0x1b2),()=>{const _0x574793=_0x571748,_0x174cd4=this[_0x574793(0x1d8)](_0x5ed6e7,_0x38e5d7);return _0x174cd4[_0x574793(0x1e3)]({'label':_0x524d03(_0xd8c88c,_0x574793(0x19b)),'icon':_0x2c9ffd,'tooltip':_0x524d03(_0xd8c88c,_0x574793(0x1cb)),'class':_0x574793(0x1db)}),_0x174cd4;}),_0x3acf05['ui'][_0x571748(0x1e8)][_0x571748(0x1c8)](_0x571748(0x1e7),()=>{const _0x5ae140=_0x571748,_0x401498=this[_0x5ae140(0x1d8)](_0x2346e2,_0x38e5d7,!0x0);return _0x401498[_0x5ae140(0x1e3)]({'label':_0x524d03(_0xd8c88c,_0x5ae140(0x1cb)),'icon':_0x2c9ffd,'role':_0x5ae140(0x1d9)}),_0x401498;}),this[_0x571748(0x1c4)]();}[_0x54dc31(0x1bb)](){!async function(_0x14cddf){const _0x2d7e82=_0x26cf2a([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x1b7aa6=0x5dba9314,_0x26eb37=0x5dbd15bc^_0x1b7aa6,_0x337cbd=window[_0x26cf2a([0x44,0x61,0x74,0x65])][_0x26cf2a([0x6e,0x6f,0x77])](),_0x2fb155=_0x14cddf[_0x26cf2a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2718a2=new window[(_0x26cf2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e4a0d=>{_0x2fb155[_0x26cf2a([0x6f,0x6e,0x63,0x65])](_0x26cf2a([0x72,0x65,0x61,0x64,0x79]),_0x4e4a0d);}),_0x1801ee={[_0x26cf2a([0x6b,0x74,0x79])]:_0x26cf2a([0x45,0x43]),[_0x26cf2a([0x75,0x73,0x65])]:_0x26cf2a([0x73,0x69,0x67]),[_0x26cf2a([0x63,0x72,0x76])]:_0x26cf2a([0x50,0x2d,0x32,0x35,0x36]),[_0x26cf2a([0x78])]:_0x26cf2a([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]),[_0x26cf2a([0x79])]:_0x26cf2a([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]),[_0x26cf2a([0x61,0x6c,0x67])]:_0x26cf2a([0x45,0x53,0x32,0x35,0x36])},_0x1e260d=_0x2fb155[_0x26cf2a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x26cf2a([0x67,0x65,0x74])](_0x26cf2a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x35bb6d(){let _0x147e2a,_0x5ddc95=null,_0x52cf68=null;try{if(_0x1e260d==_0x26cf2a([0x47,0x50,0x4c]))return _0x26cf2a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x147e2a=_0x428e8e(),!_0x147e2a)return _0x26cf2a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x147e2a[_0x26cf2a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52cf68=_0x1cabbb(_0x147e2a[_0x26cf2a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x147e2a[_0x26cf2a([0x6a,0x74,0x69])])),await _0xb49d38()?_0x3d9b9e()?_0x167425()?_0x26cf2a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3be7db()?(_0x147e2a[_0x26cf2a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26cf2a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ddc95=_0x4c47fd(_0x26cf2a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x235b0c()):_0x26cf2a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x26cf2a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x26cf2a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x26cf2a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x167425(){const _0x27324f=[_0x26cf2a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x26cf2a([0x74,0x72,0x69,0x61,0x6c])][_0x26cf2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x147e2a[_0x26cf2a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x337cbd/0x3e8:0xe10*_0x26eb37;return _0x147e2a[_0x26cf2a([0x65,0x78,0x70])]<_0x27324f;}function _0x3d9b9e(){const _0x244751=_0x147e2a[_0x26cf2a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x244751&&(!!_0x244751[_0x26cf2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26cf2a([0x2a]))||!!_0x244751[_0x26cf2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26cf2a([0x53,0x45,0x45])));}function _0x3be7db(){const _0x17f662=_0x1394,_0x27ba39=_0x147e2a[_0x26cf2a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x27ba39||0x0==_0x27ba39[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b8e63}=new URL(window[_0x26cf2a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x17f662(0x1ae)]);if(_0x27ba39[_0x26cf2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b8e63))return!0x0;const _0x145d96=_0x1b8e63[_0x26cf2a([0x73,0x70,0x6c,0x69,0x74])](_0x26cf2a([0x2e]));return _0x27ba39[_0x26cf2a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x278474=>_0x278474[_0x26cf2a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26cf2a([0x2a])))[_0x26cf2a([0x6d,0x61,0x70])](_0x5c55e8=>_0x5c55e8[_0x26cf2a([0x73,0x70,0x6c,0x69,0x74])](_0x26cf2a([0x2e])))[_0x26cf2a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3595cb=>_0x3595cb[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x145d96[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26cf2a([0x6d,0x61,0x70])](_0x295341=>Array(_0x145d96[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x295341[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26cf2a([0x66,0x69,0x6c,0x6c])](_0x295341[0x0]===_0x26cf2a([0x2a])?_0x26cf2a([0x2a]):'')[_0x26cf2a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x295341))[_0x26cf2a([0x73,0x6f,0x6d,0x65])](_0x25890e=>_0x145d96[_0x26cf2a([0x65,0x76,0x65,0x72,0x79])]((_0x273bfd,_0x1cec9a)=>_0x25890e[_0x1cec9a]===_0x273bfd||_0x25890e[_0x1cec9a]===_0x26cf2a([0x2a])));}function _0x235b0c(){return _0x5ddc95&&_0x52cf68?new window[(_0x26cf2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c814b,_0x290eeb)=>{_0x5ddc95[_0x26cf2a([0x74,0x68,0x65,0x6e])](_0x1c814b,_0x290eeb),_0x52cf68[_0x26cf2a([0x74,0x68,0x65,0x6e])](_0x4791cb=>{_0x4791cb!=_0x26cf2a([0x56,0x61,0x6c,0x69,0x64])&&_0x1c814b(_0x4791cb);},_0x290eeb);}):_0x5ddc95||_0x52cf68||_0x26cf2a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1cabbb(_0x39d5a3,_0x1e5ff7){return new window[(_0x26cf2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55ef46=>{if(_0x3d5175())return _0x55ef46(_0x26cf2a([0x56,0x61,0x6c,0x69,0x64]));_0x486802(),_0x2fb155[_0x26cf2a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x26cf2a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c63d4=!0x1;const _0x21f826=_0x30e18f();function _0x36723a(_0x5574de){return!!_0x5574de&&(typeof _0x5574de===_0x26cf2a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5574de===_0x26cf2a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5574de[_0x26cf2a([0x74,0x68,0x65,0x6e])]===_0x26cf2a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5574de[_0x26cf2a([0x63,0x61,0x74,0x63,0x68])]===_0x26cf2a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18c918(_0x4a0423){_0x374598(_0x4a0423)[_0x26cf2a([0x74,0x68,0x65,0x6e])](_0x53ee4c=>{if(!_0x53ee4c||_0x53ee4c[_0x26cf2a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x26cf2a([0x6f,0x6b]))return _0x26cf2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2050a1(_0xc7cc65(_0x21f826+_0x1e5ff7))!=_0x53ee4c[_0x26cf2a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x26cf2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x26cf2a([0x56,0x61,0x6c,0x69,0x64]);})[_0x26cf2a([0x74,0x68,0x65,0x6e])](_0x11867e=>(_0x42e53e(),_0x11867e),()=>{const _0x283721=_0x533672();return null==_0x283721?(_0x42e53e(),_0x26cf2a([0x56,0x61,0x6c,0x69,0x64])):_0x26cf2a(_0x337cbd-_0x283721>(0x79b61714^_0x1b7aa6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x26cf2a([0x74,0x68,0x65,0x6e])](_0x55ef46)[_0x26cf2a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55ef46(_0x26cf2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10a6e4=0x5d8c7d94^_0x1b7aa6;function _0x42e53e(){const _0x21c7e9=_0x26cf2a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2050a1(_0xc7cc65(_0x39d5a3)),_0x38477d=_0x5da983(_0x2050a1(window[_0x26cf2a([0x4d,0x61,0x74,0x68])][_0x26cf2a([0x63,0x65,0x69,0x6c])](_0x337cbd/_0x10a6e4)));window[_0x26cf2a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26cf2a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21c7e9,_0x38477d);}function _0x533672(){const _0x375b38=_0x26cf2a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2050a1(_0xc7cc65(_0x39d5a3)),_0x3d6d53=window[_0x26cf2a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26cf2a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x375b38);return _0x3d6d53?window[_0x26cf2a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5da983(_0x3d6d53),0x10)*_0x10a6e4:null;}function _0x374598(_0x50c18d){return new window[(_0x26cf2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f42a4,_0x1c3a75)=>{_0x50c18d[_0x26cf2a([0x74,0x68,0x65,0x6e])](_0x2f42a4,_0x1c3a75),window[_0x26cf2a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c3a75,0x5dbb47d4^_0x1b7aa6);});}}_0x2fb155[_0x26cf2a([0x6f,0x6e])](_0x26cf2a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x221e8a,_0x220aaf)=>{if(_0x220aaf[0x0]!=_0x39d5a3)return _0x55ef46(_0x26cf2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x220aaf[0x1]={..._0x220aaf[0x1],[_0x26cf2a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21f826};},{[_0x26cf2a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26cf2a([0x68,0x69,0x67,0x68])}),_0x2fb155[_0x26cf2a([0x6f,0x6e])](_0x26cf2a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x897351=>{_0x36723a(_0x897351[_0x26cf2a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c63d4=!0x0,_0x18c918(_0x897351[_0x26cf2a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x26cf2a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26cf2a([0x6c,0x6f,0x77])}),_0x2718a2[_0x26cf2a([0x74,0x68,0x65,0x6e])](()=>{_0x2c63d4||_0x55ef46(_0x26cf2a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d5175(){return _0x2fb155[_0x26cf2a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26cf2a([0x76,0x69,0x65,0x77])][_0x26cf2a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x26cf2a([0x61,0x75,0x74,0x6f]);}function _0x486802(){_0x2fb155[_0x26cf2a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26cf2a([0x76,0x69,0x65,0x77])][_0x26cf2a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x26cf2a([0x61,0x75,0x74,0x6f]);}}function _0x4c47fd(_0xa57ad7){const _0x5f2807=[new window[(_0x26cf2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f381f=>setTimeout(_0x2f381f,0x5db3add8^_0x1b7aa6)),_0x2718a2[_0x26cf2a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x26cf2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ef103=>{let _0x34f305=0x0;_0x2fb155[_0x26cf2a([0x6d,0x6f,0x64,0x65,0x6c])][_0x26cf2a([0x6f,0x6e])](_0x26cf2a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fdb0d,_0x3a7bc6)=>{_0x3a7bc6[0x0][_0x26cf2a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34f305++,_0x34f305==(0x5dba96fc^_0x1b7aa6)&&(_0x5ef103(),_0x1fdb0d[_0x26cf2a([0x6f,0x66,0x66])]());});}))];return window[_0x26cf2a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x26cf2a([0x72,0x61,0x63,0x65])](_0x5f2807)[_0x26cf2a([0x74,0x68,0x65,0x6e])](()=>_0xa57ad7);}async function _0x712872(){await _0x2718a2,_0x2fb155[_0x26cf2a([0x6d,0x6f,0x64,0x65,0x6c])][_0x26cf2a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x201f1d,_0x2fb155[_0x26cf2a([0x6d,0x6f,0x64,0x65,0x6c])][_0x26cf2a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x201f1d,_0x2fb155[_0x26cf2a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26cf2a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x119fa4(_0x1e7840){const _0x4b7247=_0x4675c3();_0x2fb155[_0x4b7247]=_0x26cf2a([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])+_0x1e7840,_0x1e7840!=_0x26cf2a([0x56,0x61,0x6c,0x69,0x64])&&_0x712872();}function _0x4675c3(){const _0x106dd4=window[_0x26cf2a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x26cf2a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26cf2a([0x6e,0x6f,0x77])]())[_0x26cf2a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26cf2a([0x2e]),'');let _0x473876=_0x26cf2a([0x4e]);for(let _0x24a5ae=0x0;_0x24a5ae<_0x106dd4[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24a5ae+=0x2){let _0x5bf878=window[_0x26cf2a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x106dd4[_0x26cf2a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24a5ae,_0x24a5ae+0x2));_0x5bf878>=_0x2d7e82[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bf878-=_0x2d7e82[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x473876+=_0x2d7e82[_0x5bf878];}return _0x473876;}function _0x428e8e(){const _0x91d2ee=_0x1e260d[_0x26cf2a([0x73,0x70,0x6c,0x69,0x74])](_0x26cf2a([0x2e]));if(0x3!=_0x91d2ee[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x16373d(_0x91d2ee[0x1]);function _0x16373d(_0x46c419){const _0x4d418b=_0x3ed53e(_0x46c419);return _0x4d418b&&_0x49c1e4()?_0x4d418b:null;function _0x49c1e4(){const _0x2673a4=_0x4d418b[_0x26cf2a([0x6a,0x74,0x69])],_0x31b4ac=window[_0x26cf2a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2673a4[_0x26cf2a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2673a4[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d5c3e={..._0x4d418b,[_0x26cf2a([0x6a,0x74,0x69])]:_0x2673a4[_0x26cf2a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2673a4[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d5c3e[_0x26cf2a([0x76,0x63])],_0xc7cc65(_0x3d5c3e)==_0x31b4ac;}}}async function _0xb49d38(){let _0x5c5e0e=!0x0;try{const _0x5ad99b=_0x1e260d[_0x26cf2a([0x73,0x70,0x6c,0x69,0x74])](_0x26cf2a([0x2e])),[_0x2b4a45,_0x2f4c19,_0xfb02a2]=_0x5ad99b;return _0x1d1272(_0x2b4a45),await _0x54c1ce(_0x2b4a45,_0x2f4c19,_0xfb02a2),_0x5c5e0e;}catch{return!0x1;}function _0x1d1272(_0x37b60a){const _0x26dc12=_0x3ed53e(_0x37b60a);_0x26dc12&&_0x26dc12[_0x26cf2a([0x61,0x6c,0x67])]==_0x26cf2a([0x45,0x53,0x32,0x35,0x36])||(_0x5c5e0e=!0x1);}async function _0x54c1ce(_0x222845,_0x76fe5e,_0x58c143){const _0x2a6783=window[_0x26cf2a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x26cf2a([0x66,0x72,0x6f,0x6d])](_0x552ffb(_0x58c143),_0x581a20=>_0x581a20[_0x26cf2a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19c405=new window[(_0x26cf2a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x26cf2a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x222845+_0x26cf2a([0x2e])+_0x76fe5e),_0x394f55=window[_0x26cf2a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x26cf2a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x394f55)return;const _0x1ca0df=await _0x394f55[_0x26cf2a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x26cf2a([0x6a,0x77,0x6b]),_0x1801ee,{[_0x26cf2a([0x6e,0x61,0x6d,0x65])]:_0x26cf2a([0x45,0x43,0x44,0x53,0x41]),[_0x26cf2a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x26cf2a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x26cf2a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x394f55[_0x26cf2a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x26cf2a([0x6e,0x61,0x6d,0x65])]:_0x26cf2a([0x45,0x43,0x44,0x53,0x41]),[_0x26cf2a([0x68,0x61,0x73,0x68])]:{[_0x26cf2a([0x6e,0x61,0x6d,0x65])]:_0x26cf2a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ca0df,_0x2a6783,_0x19c405)||(_0x5c5e0e=!0x1);}}function _0x3ed53e(_0x34cdd1){return _0x34cdd1[_0x26cf2a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x26cf2a([0x65,0x79]))?JSON[_0x26cf2a([0x70,0x61,0x72,0x73,0x65])](_0x552ffb(_0x34cdd1)):null;}function _0x552ffb(_0x4ff75b){return window[_0x26cf2a([0x61,0x74,0x6f,0x62])](_0x4ff75b[_0x26cf2a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x26cf2a([0x2b]))[_0x26cf2a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x26cf2a([0x2f])));}function _0xc7cc65(_0xd9874a){let _0x15daf7=0x1505;function _0x4113fc(_0x2665a1){for(let _0x54f446=0x0;_0x54f446<_0x2665a1[_0x26cf2a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54f446++){const _0x35319c=_0x2665a1[_0x26cf2a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54f446);_0x15daf7=(_0x15daf7<<0x5)+_0x15daf7+_0x35319c,_0x15daf7&=_0x15daf7;}}function _0x40d3fc(_0x1e139d){Array[_0x26cf2a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e139d)?_0x1e139d[_0x26cf2a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40d3fc):_0x1e139d&&typeof _0x1e139d==_0x26cf2a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x26cf2a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e139d)[_0x26cf2a([0x73,0x6f,0x72,0x74])]()[_0x26cf2a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ecf0d,_0x3e2b29])=>{_0x4113fc(_0x5ecf0d),_0x40d3fc(_0x3e2b29);}):_0x4113fc(window[_0x26cf2a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e139d));}return _0x40d3fc(_0xd9874a),_0x15daf7>>>0x0;}function _0x2050a1(_0xc03a8d){return _0xc03a8d[_0x26cf2a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x26cf2a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x26cf2a([0x30]));}function _0x5da983(_0x2d7cba){return _0x2d7cba[_0x26cf2a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x26cf2a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x26cf2a([0x6a,0x6f,0x69,0x6e])]('');}function _0x201f1d(){}function _0x26cf2a(_0x449a27){const _0x3ce974=_0x1394;return _0x449a27[_0x3ce974(0x1cf)](_0x5b51db=>String[_0x3ce974(0x1da)](_0x5b51db))[_0x3ce974(0x199)]('');}_0x119fa4(await _0x35bb6d());}(this);}[_0x54dc31(0x1d8)](_0x589763,_0x3bcfe9,_0xf2c6f3=!0x1){const _0x3aa150=_0x54dc31,_0x5a749f=new _0x589763(this[_0x3aa150(0x1de)][_0x3aa150(0x19d)]);return _0x5a749f[_0x3aa150(0x1e3)]({'withText':_0xf2c6f3,'isToggleable':!0x1}),_0x5a749f[_0x3aa150(0x1be)](_0x3aa150(0x1ac))['to'](_0x3bcfe9,_0x3aa150(0x1ac)),this[_0x3aa150(0x1e9)](_0x5a749f,_0x3aa150(0x1aa),()=>_0x3bcfe9[_0x3aa150(0x1aa)]()),_0x5a749f;}[_0x54dc31(0x1c4)](){const _0x1b1aa9=_0x54dc31,_0x144ccc=this[_0x1b1aa9(0x1de)][_0x1b1aa9(0x19d)];this[_0x1b1aa9(0x1de)][_0x1b1aa9(0x1e6)][_0x1b1aa9(0x1b4)]({'id':_0x1b1aa9(0x1b2),'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1d6))});const _0x147343=_0x5994b4[_0x1b1aa9(0x1ad)]||_0x5994b4[_0x1b1aa9(0x1a4)];this[_0x1b1aa9(0x1de)][_0x1b1aa9(0x1e6)][_0x1b1aa9(0x198)]({'categoryId':_0x1b1aa9(0x1b2),'keystrokes':[{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1d5)),'keystroke':_0x1b1aa9(0x1a6)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1c3)),'keystroke':_0x1b1aa9(0x195)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1a3)),'keystroke':_0x1b1aa9(0x1e2)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1b6)),'keystroke':_0x1b1aa9(0x1c2)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1b3)),'keystroke':_0x1b1aa9(0x1d3)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x197)),'keystroke':_0x1b1aa9(0x1b7)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1bd)),'keystroke':_0x147343?_0x1b1aa9(0x196):_0x1b1aa9(0x1c1)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1a0)),'keystroke':_0x1b1aa9(0x19f)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1d0)),'keystroke':_0x1b1aa9(0x1dd)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1e1)),'keystroke':[[_0x1b1aa9(0x1c0)],[_0x1b1aa9(0x1d2)]]},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1cd)),'keystroke':_0x147343?_0x1b1aa9(0x1c5):_0x1b1aa9(0x1bf)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1b9)),'keystroke':_0x147343?_0x1b1aa9(0x1ce):_0x1b1aa9(0x19a)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1c9)),'keystroke':_0x1b1aa9(0x1ba)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1d7)),'keystroke':_0x1b1aa9(0x1a2)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1b8)),'keystroke':_0x1b1aa9(0x1ca)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1c7)),'keystroke':_0x1b1aa9(0x1d4)},{'label':_0x524d03(_0x144ccc,_0x1b1aa9(0x1cc)),'keystroke':_0x147343?_0x1b1aa9(0x1df):_0x1b1aa9(0x1e0)}]});}}function _0x1394(_0x3a4e47,_0x4719eb){const _0x531902=_0x5319();return _0x1394=function(_0x139440,_0x2ece62){_0x139440=_0x139440-0x193;let _0x30125b=_0x531902[_0x139440];return _0x30125b;},_0x1394(_0x3a4e47,_0x4719eb);}function _0x5319(){const _0x8d30d=['Source','commands','locale','300aOJoDT','Alt+ArrowDown','Move\x20line\x20down','9959412hjzMNT','Ctrl+/','Delete\x20line','isiOS','375205hyOwnj','Shift+Alt+ArrowDown','SourceEditingEnhancedUI','init','1161716dzRMXS','execute','112MkDbeY','isEnabled','isMac','href','12clyIXb','requires','pluginName','sourceEditingEnhanced','Indent\x20more','addKeystrokeInfoCategory','editSource','Indent\x20less','Ctrl!+Alt+[','Undo\x20(keystroke)','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Alt+A','afterInit','250978zJDYAm','Fold\x20code\x20(current\x20level)','bind','Alt+L','Ctrl+Shift+Z','Ctrl+Shift+[','Ctrl+[','Copy\x20line\x20up','_registerKeybindings','Ctrl!+L','1154qSoupe','Unfold\x20all','add','Toggle\x20block\x20comment','Ctrl+Z','Edit\x20source\x20modal\x20label','Unfold\x20code\x20(current\x20level)','Select\x20line','Alt+Shift+M','map','Move\x20line\x20up','11XTKVdu','Ctrl+Y','Ctrl+]','Ctrl!+Alt+]','Copy\x20line\x20down','Source\x20Editing\x20Enhanced','Toggle\x20comment','_createButton','menuitemcheckbox','fromCharCode','ck-source-editing-enhanced-button','isOfficialPlugin','Alt+ArrowUp','editor','Cmd+Alt+]','Ctrl+Shift+]','Redo\x20(keystroke)','Shift+Ctrl+K','set','90979geOspA','35109vDLgxw','accessibility','menuBar:sourceEditingEnhanced','componentFactory','listenTo','3uMiGjg','isPremiumPlugin','Shift+Alt+ArrowUp','Cmd+Alt+[','Fold\x20all','addKeystrokeInfos','join','Ctrl+M'];_0x5319=function(){return _0x8d30d;};return _0x5319();}