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

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 _0x53b2d8,PendingActions as _0x2a71ee,Plugin as _0x4203de}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3717a2,formatHtml as tr,env as _0x20ad7f,uid as _0x9e873c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x2cb70e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2aaacf,ButtonView as _0x43e228,MenuBarMenuListItemButtonView as _0x374fec}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4f5e89,crosshairCursor as _0x1c0017,drawSelection as _0x6dacb6,dropCursor as _0x1e87e1,lineNumbers as _0x6956cf,highlightActiveLine as _0x1f5f56,highlightActiveLineGutter as _0x4d9933,highlightSpecialChars as _0x2d97f8,rectangularSelection as _0x341e9f,keymap as _0x498783}from'@codemirror/view';import{Compartment as _0x1bfa57,Transaction as _0x300ca8}from'@codemirror/state';import{bracketMatching as _0xfdb247,foldGutter as _0x35c348,indentOnInput as _0x25d5b3,syntaxHighlighting as _0xf06ef9,defaultHighlightStyle as _0x4562a4,foldKeymap as _0x2db248}from'@codemirror/language';import{toggleTabFocusMode as _0x3c895c,history as _0x1e49b0,defaultKeymap as _0x5fedf7,historyKeymap as _0x353dd7,indentLess as _0x42fc08,indentMore as _0x4cf5d5,redo as _0x278752,undo as _0x138950}from'@codemirror/commands';import{autocompletion as _0xd85156,closeBrackets as _0x3a0eb6,closeBracketsKeymap as _0x22d7ae,completionKeymap as _0x3678f8}from'@codemirror/autocomplete';import{html as _0x245366}from'@codemirror/lang-html';import{markdown as _0x29770a}from'@codemirror/lang-markdown';import{oneDark as _0x4f890d}from'@codemirror/theme-one-dark';function f(_0x5699f1,_0x112607){const t=_0x5699f1['t'];switch(_0x112607){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x112607;}}function s(_0x138736){const _0x3b5912=_0x138736['editing']['view']['document']['roots'],_0x5ad571=_0x3b5912['length'];if(0x0===_0x5ad571)throw new _0x3717a2('source-editing-enhanced-editor-no-root',_0x138736);if(0x1===_0x5ad571)return _0x3b5912['first']['rootName'];return Array['from'](_0x138736['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x36b8d6){return or(_0x36b8d6['replace'](/^[\n\s]*/g,''))?_0x36b8d6['replace'](/\s+/g,''):_0x36b8d6;}function or(_0x35de65){return _0x35de65['startsWith']('<');}function p(_0x4cca6d){const _0x1dcdc1=[_0x4f5e89['lineWrapping'],_0xd85156(),_0xfdb247(),_0x3a0eb6(),_0x1c0017(),_0x6dacb6(),_0x1e87e1(),_0x6956cf(),_0x35c348(),_0x1f5f56(),_0x4d9933(),_0x2d97f8(),_0x1e49b0(),_0x25d5b3(),_0x341e9f(),_0xf06ef9(_0x4562a4,{'fallback':!0x0})],_0x1a075c=new _0x1bfa57();_0x1dcdc1['push'](_0x1a075c['of'](_0x4f5e89['editable']['of'](!0x0))),'html'===_0x4cca6d['syntaxLanguage']?_0x1dcdc1['push'](_0x245366()):_0x1dcdc1['push'](_0x29770a());const _0x1e19bf=function(_0x8d896b){if(_0x8d896b&&'default'!==_0x8d896b)return'dark'===_0x8d896b?_0x4f890d:_0x8d896b;return null;}(_0x4cca6d['theme']);_0x1e19bf&&_0x1dcdc1['push'](_0x1e19bf),_0x1dcdc1['push'](_0x498783['of']([..._0x22d7ae,..._0x5fedf7,..._0x353dd7,..._0x2db248,..._0x3678f8,{'key':'Tab','run':_0x4cf5d5,'shift':_0x42fc08,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x278752,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x278752,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x138950,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x58702a=new _0x4f5e89({'extensions':_0x1dcdc1,'parent':_0x4cca6d['parent']});return _0x3c895c(_0x58702a),{'focus':()=>{_0x58702a['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x58702a['focus']();},'getData':()=>_0x58702a['state']['doc']['toString'](),'setData':_0x1aef03=>{_0x58702a['dispatch']({'changes':{'from':0x0,'to':_0x58702a['state']['doc']['length'],'insert':_0x1aef03},'annotations':_0x300ca8['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5475a6=>{_0x58702a['dispatch']({'effects':[_0x1a075c['reconfigure'](_0x4f5e89['editable']['of'](!_0x5475a6))]});},'destroy':()=>{_0x58702a['destroy']();},'instance':_0x58702a};}class m extends _0x2aaacf{['_codeEditorApi']=null;['_options'];constructor(_0x478c4e,_0x1b8a8a){super(_0x478c4e),this['_options']=_0x1b8a8a,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0xcc252,_0x30f308,_0x1a4a91)=>{this['setReadOnly'](_0x1a4a91);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xd53ef7){this['_codeEditorApi']['setData'](_0xd53ef7);}['setReadOnly'](_0x1034d8){this['_codeEditorApi']['setReadOnly'](_0x1034d8);}}const b='SourceEditingEnhancedMode';class d extends _0x53b2d8{constructor(_0x1a46d2){super(_0x1a46d2),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2a71ee)['on']('change:hasAny',(_0x343684,_0x28ea4a,_0x3dc571)=>{_0x3dc571?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4e1ff3=this['editor'];for(const _0x3dcadd of _0x4e1ff3['commands']['names']())['replaceSource','editSource']['includes'](_0x3dcadd)||_0x4e1ff3['commands']['get'](_0x3dcadd)['forceDisabled'](b);}['_enableCommands'](){const _0x3af901=this['editor'];for(const _0x1fae04 of _0x3af901['commands']['commands']())_0x1fae04['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3650d4=this['editor'],_0x371303=_0x3650d4['locale'],_0x555ee3=_0x3650d4['plugins']['get']('Dialog'),_0x304729=s(_0x3650d4),_0x4cc9bc=_0x3650d4['data']['get']({'rootName':_0x304729}),_0x1ae6fc=or(_0x5d6b38=_0x4cc9bc)?tr(_0x5d6b38):_0x5d6b38;var _0x5d6b38;const _0x57b3c4=new m(_0x371303,{'syntaxLanguage':_0x3650d4['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3650d4['config']['get']('sourceEditingEnhanced.theme')});let _0xaeccb4=!0x0;const _0x55a770=_0x3a5aa5=>{if(!_0xaeccb4)return;return E(_0x57b3c4['getData']())!==E(_0x1ae6fc)?window['confirm'](f(_0x371303,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3a5aa5['stop']():void 0x0;};_0x555ee3['show']({'id':'sourceEditingEnhanced','title':f(_0x371303,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x57b3c4,'actionButtons':[{'label':f(_0x371303,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x555ee3['hide']();}},{'label':f(_0x371303,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x443e7a=E(_0x57b3c4['getData']())!==E(_0x1ae6fc);(_0x443e7a&&_0x3650d4['execute']('replaceSource',_0x57b3c4['getData']()),_0xaeccb4=!0x1,_0x555ee3['hide'](),_0x443e7a&&'editables'in _0x3650d4['ui']['view'])&&_0x3650d4['ui']['view']['editables'][_0x304729]['element']['focus']();},'onCreate':_0x115f72=>{_0x115f72['set']('isEnabled',!_0x3650d4['isReadOnly']),_0x115f72['bind']('isEnabled')['to'](_0x3650d4,'isReadOnly',this,'isEnabled',(_0x714017,_0x5edcf4)=>!_0x714017&&_0x5edcf4);}}],'onHide':()=>{this['_enableCommands'](),_0x555ee3['off']('hide',_0x55a770),_0x57b3c4['destroy']();},'onShow':()=>{_0x57b3c4['bind']('isReadOnly')['to'](_0x3650d4,'isReadOnly',this,'isEnabled',(_0x4d2f78,_0x324dac)=>_0x4d2f78||!_0x324dac),_0x57b3c4['setData'](_0x1ae6fc),_0x57b3c4['focus'](),_0x555ee3['on']('hide',_0x55a770,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4203de{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2a71ee];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x279ace=this['editor'],_0x24ee31=_0x279ace['locale'],_0x4b8490=new d(_0x279ace);_0x279ace['commands']['add']('editSource',_0x4b8490),_0x279ace['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x40a8ab=this['_createButton'](_0x43e228,_0x4b8490);return _0x40a8ab['set']({'label':f(_0x24ee31,'Source'),'icon':_0x2cb70e,'tooltip':f(_0x24ee31,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x40a8ab;}),_0x279ace['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x19a5fe=this['_createButton'](_0x374fec,_0x4b8490,!0x0);return _0x19a5fe['set']({'label':f(_0x24ee31,'Edit\x20source\x20modal\x20label'),'icon':_0x2cb70e,'role':'menuitemcheckbox'}),_0x19a5fe;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x213f1e){const _0x365914=_0x4c5367([0x64,0x52,0x58,0x62,0x32,0x34,0x38,0x5a,0x73,0x46,0x6f,0x41,0x72,0x4e,0x47,0x37,0x31,0x50,0x51,0x77,0x49,0x6e,0x44,0x63,0x48,0x4a,0x61,0x66,0x35,0x65,0x78,0x4c,0x74,0x55,0x4f,0x79,0x68,0x6a,0x59,0x76,0x54,0x56,0x4d,0x6d,0x36,0x69,0x70,0x4b,0x43,0x39,0x53,0x45,0x75,0x30,0x71,0x33,0x42,0x67,0x57,0x7a,0x6b,0x6c]),_0x17674c=0x4dfbb455,_0x50c665=0x4dfcddd5^_0x17674c,_0x2add89=window[_0x4c5367([0x44,0x61,0x74,0x65])][_0x4c5367([0x6e,0x6f,0x77])](),_0x357c91=_0x213f1e[_0x4c5367([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f7656=new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa73ff3=>{_0x357c91[_0x4c5367([0x6f,0x6e,0x63,0x65])](_0x4c5367([0x72,0x65,0x61,0x64,0x79]),_0xa73ff3);}),_0x74cfd0={[_0x4c5367([0x6b,0x74,0x79])]:_0x4c5367([0x45,0x43]),[_0x4c5367([0x75,0x73,0x65])]:_0x4c5367([0x73,0x69,0x67]),[_0x4c5367([0x63,0x72,0x76])]:_0x4c5367([0x50,0x2d,0x32,0x35,0x36]),[_0x4c5367([0x78])]:_0x4c5367([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4c5367([0x79])]:_0x4c5367([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4c5367([0x61,0x6c,0x67])]:_0x4c5367([0x45,0x53,0x32,0x35,0x36])},_0x40830f=_0x357c91[_0x4c5367([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c5367([0x67,0x65,0x74])](_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58d864(){let _0x2f994b,_0x3e17d2=null,_0x14ec5d=null;try{if(_0x40830f==_0x4c5367([0x47,0x50,0x4c]))return _0x4c5367([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f994b=_0x14111d(),!_0x2f994b)return _0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f994b[_0x4c5367([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14ec5d=_0x4f461a(_0x2f994b[_0x4c5367([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f994b[_0x4c5367([0x6a,0x74,0x69])])),await _0x3df1ec()?_0x9062de()?_0x2c677b()?_0x4c5367([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22919f()?(_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5367([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e17d2=_0x2be155(_0x4c5367([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5367([0x74,0x72,0x69,0x61,0x6c])&&(_0x3e17d2=_0x2be155(_0x4c5367([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49f64d()):_0x4c5367([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5367([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c677b(){const _0x33a4f6=[_0x4c5367([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c5367([0x74,0x72,0x69,0x61,0x6c])][_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2add89/0x3e8:0xe10*_0x50c665;return _0x2f994b[_0x4c5367([0x65,0x78,0x70])]<_0x33a4f6;}function _0x9062de(){const _0x225ea6=_0x2f994b[_0x4c5367([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x225ea6&&(!!_0x225ea6[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x2a]))||!!_0x225ea6[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x53,0x45,0x45])));}function _0x22919f(){const _0x1b5e7f=_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b5e7f||0x0==_0x1b5e7f[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x335670}=new URL(window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1b5e7f[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335670))return!0x0;const _0x33cc5b=_0x335670[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e]));return _0x1b5e7f[_0x4c5367([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1abc92=>_0x1abc92[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x2a])))[_0x4c5367([0x6d,0x61,0x70])](_0x31fa04=>_0x31fa04[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e])))[_0x4c5367([0x73,0x6f,0x6d,0x65])](_0x5456ca=>_0x33cc5b[_0x4c5367([0x65,0x76,0x65,0x72,0x79])]((_0x446b79,_0x4f7cd2)=>_0x5456ca[_0x4f7cd2]===_0x446b79||_0x5456ca[_0x4f7cd2]===_0x4c5367([0x2a])));}function _0x49f64d(){return _0x3e17d2&&_0x14ec5d?new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e68c,_0x246b8f)=>{_0x3e17d2[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x53e68c,_0x246b8f),_0x14ec5d[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x4c03fa=>{_0x4c03fa!=_0x4c5367([0x56,0x61,0x6c,0x69,0x64])&&_0x53e68c(_0x4c03fa);},_0x246b8f);}):_0x3e17d2||_0x14ec5d||_0x4c5367([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f461a(_0x6a44b8,_0x5d369e){return new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14e3fe=>{if(_0x2eb6f6())return _0x14e3fe(_0x4c5367([0x56,0x61,0x6c,0x69,0x64]));_0x5ee837(),_0x357c91[_0x4c5367([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12619b=!0x1;const _0x32eab2=_0x9e873c();function _0x141942(_0x370c22){return!!_0x370c22&&(typeof _0x370c22===_0x4c5367([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x370c22===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x370c22[_0x4c5367([0x74,0x68,0x65,0x6e])]===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x370c22[_0x4c5367([0x63,0x61,0x74,0x63,0x68])]===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b2c58(_0x1f96a8){_0x5b85f8(_0x1f96a8)[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x5ccb4d=>{if(!_0x5ccb4d||_0x5ccb4d[_0x4c5367([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c5367([0x6f,0x6b]))return _0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f7972(_0x330ecc(_0x32eab2+_0x5d369e))!=_0x5ccb4d[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5367([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x565d7d=>(_0xd221bb(),_0x565d7d),()=>{const _0x46fe10=_0x373802();return null==_0x46fe10?(_0xd221bb(),_0x4c5367([0x56,0x61,0x6c,0x69,0x64])):_0x4c5367(_0x2add89-_0x46fe10>(0x69f73055^_0x17674c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x14e3fe)[_0x4c5367([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x582947=0x4dcd5ad5^_0x17674c;function _0xd221bb(){const _0x5b23ca=_0x4c5367([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7972(_0x330ecc(_0x6a44b8)),_0x2c6ff6=_0x113000(_0x1f7972(window[_0x4c5367([0x4d,0x61,0x74,0x68])][_0x4c5367([0x63,0x65,0x69,0x6c])](_0x2add89/_0x582947)));window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5367([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b23ca,_0x2c6ff6);}function _0x373802(){const _0x481633=_0x4c5367([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7972(_0x330ecc(_0x6a44b8)),_0x456039=window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5367([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x481633);return _0x456039?window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x113000(_0x456039),0x10)*_0x582947:null;}function _0x5b85f8(_0x2f4c1b){return new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c54ee,_0xf9182c)=>{_0x2f4c1b[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x5c54ee,_0xf9182c),window[_0x4c5367([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf9182c,0x4dfa6095^_0x17674c);});}}_0x357c91[_0x4c5367([0x6f,0x6e])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x10a1b2,_0x235871)=>{if(_0x235871[0x0]!=_0x6a44b8)return _0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x235871[0x1]={..._0x235871[0x1],[_0x4c5367([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32eab2};},{[_0x4c5367([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5367([0x68,0x69,0x67,0x68])}),_0x357c91[_0x4c5367([0x6f,0x6e])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e85fd=>{_0x141942(_0x5e85fd[_0x4c5367([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12619b=!0x0,_0x3b2c58(_0x5e85fd[_0x4c5367([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c5367([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5367([0x6c,0x6f,0x77])}),_0x3f7656[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>{_0x12619b||_0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2eb6f6(){return _0x357c91[_0x4c5367([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5367([0x76,0x69,0x65,0x77])][_0x4c5367([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c5367([0x61,0x75,0x74,0x6f]);}function _0x5ee837(){_0x357c91[_0x4c5367([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5367([0x76,0x69,0x65,0x77])][_0x4c5367([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c5367([0x61,0x75,0x74,0x6f]);}}function _0x2be155(_0xc48ffc){const _0x255dfa=[new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfeadba=>setTimeout(_0xfeadba,0x4df28a99^_0x17674c)),_0x3f7656[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcfa37d=>{let _0x296613=0x0;_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x6f,0x6e])](_0x4c5367([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f7da3,_0x1ce38)=>{_0x1ce38[0x0][_0x4c5367([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x296613++,_0x296613==(0x4dfbb5ad^_0x17674c)&&(_0xcfa37d(),_0x4f7da3[_0x4c5367([0x6f,0x66,0x66])]());});}))];return window[_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c5367([0x72,0x61,0x63,0x65])](_0x255dfa)[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>_0xc48ffc);}async function _0x5258c7(){await _0x3f7656,_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3189a3,_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3189a3,_0x357c91[_0x4c5367([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x288c3c(_0x44c1b7){const _0x2cde4e=_0x192701();_0x357c91[_0x2cde4e]=_0x4c5367([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44c1b7,_0x44c1b7!=_0x4c5367([0x56,0x61,0x6c,0x69,0x64])&&_0x5258c7();}function _0x192701(){const _0x5504ce=window[_0x4c5367([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c5367([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c5367([0x6e,0x6f,0x77])]())[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c5367([0x2e]),'');let _0x43b9eb=_0x4c5367([0x64]);for(let _0x4598b8=0x0;_0x4598b8<_0x5504ce[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4598b8+=0x2){let _0x5bdc3f=window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5504ce[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4598b8,_0x4598b8+0x2));_0x5bdc3f>=_0x365914[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bdc3f-=_0x365914[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43b9eb+=_0x365914[_0x5bdc3f];}return _0x43b9eb;}function _0x14111d(){const _0x553fdf=_0x40830f[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e]));if(0x3!=_0x553fdf[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1962d3(_0x553fdf[0x1]);function _0x1962d3(_0x1e4cb8){const _0x392b08=_0xb13e30(_0x1e4cb8);return _0x392b08&&_0x3d9371()?_0x392b08:null;function _0x3d9371(){const _0x2745fb=_0x392b08[_0x4c5367([0x6a,0x74,0x69])],_0x29e68f=window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2745fb[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2745fb[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1dc9fb={..._0x392b08,[_0x4c5367([0x6a,0x74,0x69])]:_0x2745fb[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2745fb[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1dc9fb[_0x4c5367([0x76,0x63])],_0x330ecc(_0x1dc9fb)==_0x29e68f;}}}async function _0x3df1ec(){let _0x22f5ce=!0x0;try{const _0x14a323=_0x40830f[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e])),[_0x47cb55,_0x1c45fb,_0x9c1ca9]=_0x14a323;return _0x4a4175(_0x47cb55),await _0x3762f1(_0x47cb55,_0x1c45fb,_0x9c1ca9),_0x22f5ce;}catch{return!0x1;}function _0x4a4175(_0x57d305){const _0x1d8d43=_0xb13e30(_0x57d305);_0x1d8d43&&_0x1d8d43[_0x4c5367([0x61,0x6c,0x67])]==_0x4c5367([0x45,0x53,0x32,0x35,0x36])||(_0x22f5ce=!0x1);}async function _0x3762f1(_0x255a16,_0x3ef493,_0x4c21be){const _0x2d4bf0=window[_0x4c5367([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c5367([0x66,0x72,0x6f,0x6d])](_0x425bc6(_0x4c21be),_0x12cde5=>_0x12cde5[_0x4c5367([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3eaa6d=new window[(_0x4c5367([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c5367([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x255a16+_0x4c5367([0x2e])+_0x3ef493),_0x899c25=window[_0x4c5367([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c5367([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x899c25)return;const _0x1c23c1=await _0x899c25[_0x4c5367([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c5367([0x6a,0x77,0x6b]),_0x74cfd0,{[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x45,0x43,0x44,0x53,0x41]),[_0x4c5367([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c5367([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x899c25[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x45,0x43,0x44,0x53,0x41]),[_0x4c5367([0x68,0x61,0x73,0x68])]:{[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c23c1,_0x2d4bf0,_0x3eaa6d)||(_0x22f5ce=!0x1);}}function _0xb13e30(_0x4853a1){return _0x4853a1[_0x4c5367([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c5367([0x65,0x79]))?JSON[_0x4c5367([0x70,0x61,0x72,0x73,0x65])](_0x425bc6(_0x4853a1)):null;}function _0x425bc6(_0x596e03){return window[_0x4c5367([0x61,0x74,0x6f,0x62])](_0x596e03[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c5367([0x2b]))[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c5367([0x2f])));}function _0x330ecc(_0x2cbc1f){let _0x53cc82=0x1505;function _0x4ef252(_0x2df069){for(let _0x1af970=0x0;_0x1af970<_0x2df069[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1af970++){const _0x5729f5=_0x2df069[_0x4c5367([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1af970);_0x53cc82=(_0x53cc82<<0x5)+_0x53cc82+_0x5729f5,_0x53cc82&=_0x53cc82;}}function _0x32ff8b(_0x5b7958){Array[_0x4c5367([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b7958)?_0x5b7958[_0x4c5367([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32ff8b):_0x5b7958&&typeof _0x5b7958==_0x4c5367([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c5367([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b7958)[_0x4c5367([0x73,0x6f,0x72,0x74])]()[_0x4c5367([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x428112,_0x28bc24])=>{_0x4ef252(_0x428112),_0x32ff8b(_0x28bc24);}):_0x4ef252(window[_0x4c5367([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b7958));}return _0x32ff8b(_0x2cbc1f),_0x53cc82>>>0x0;}function _0x1f7972(_0x488613){return _0x488613[_0x4c5367([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c5367([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c5367([0x30]));}function _0x113000(_0x380c4b){return _0x380c4b[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c5367([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c5367([0x6a,0x6f,0x69,0x6e])]('');}function _0x3189a3(){}function _0x4c5367(_0x51e853){return _0x51e853['map'](_0x12a31a=>String['fromCharCode'](_0x12a31a))['join']('');}_0x288c3c(await _0x58d864());}(this);}['_createButton'](_0x446826,_0xc09d82,_0x381974=!0x1){const _0x1a5d4e=new _0x446826(this['editor']['locale']);return _0x1a5d4e['set']({'withText':_0x381974,'isToggleable':!0x1}),_0x1a5d4e['bind']('isEnabled')['to'](_0xc09d82,'isEnabled'),this['listenTo'](_0x1a5d4e,'execute',()=>_0xc09d82['execute']()),_0x1a5d4e;}['_registerKeybindings'](){const _0x5aa97b=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x5aa97b,'Source\x20Editing\x20Enhanced')});const _0x33591b=_0x20ad7f['isMac']||_0x20ad7f['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x5aa97b,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x5aa97b,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x5aa97b,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x5aa97b,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x5aa97b,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x5aa97b,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x5aa97b,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x33591b?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x5aa97b,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x5aa97b,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x5aa97b,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x5aa97b,'Select\x20line'),'keystroke':_0x33591b?'Ctrl!+L':'Alt+L'},{'label':f(_0x5aa97b,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x33591b?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x5aa97b,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x5aa97b,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x5aa97b,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x5aa97b,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x5aa97b,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x33591b?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x53b2d8{constructor(_0x2a5566){super(_0x2a5566),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x24948d,_0x5495e7){const _0x149ff9=this['editor'],_0x41152c=_0x5495e7?.['rootName']??s(_0x149ff9);_0x149ff9['data']['set']({[_0x41152c]:_0x24948d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x4203de{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x3257bc){super(_0x3257bc),_0x3257bc['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x419ad5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42ea3d;for(const _0x3a6a91 in _0x419ad5){const _0x5f285c=_0x3a6a91,_0x585209=_0x419ad5[_0x5f285c];if('sourceEditingEnhancedLicenseKeyValid'==_0x585209||'sourceEditingEnhancedLicenseKeyInvalid'==_0x585209||'sourceEditingEnhancedLicenseKeyExpired'==_0x585209||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x585209||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x585209){delete _0x419ad5[_0x5f285c],_0x42ea3d=_0x585209,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x42ea3d&&_0x419ad5['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x42ea3d&&_0x419ad5['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x42ea3d&&_0x419ad5['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3c5f64=this['editor'],_0x500292=_0x3c5f64['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x500292&&_0x3c5f64['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x3717a2('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x500292&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1f3e79=>_0x3c5f64['plugins']['has'](_0x1f3e79))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x3c5f64['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
23
+ import{Command as _0x50901d,PendingActions as _0x33ba1d,Plugin as _0x417f1e}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x5f0d83,formatHtml as tr,env as _0x58ae03,uid as _0x55b457}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x415064}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1ffe8a,ButtonView as _0x2113be,MenuBarMenuListItemButtonView as _0xeab455}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3bde17,crosshairCursor as _0x143f86,drawSelection as _0x265e3a,dropCursor as _0x4a5ec7,lineNumbers as _0x5e3045,highlightActiveLine as _0x309ba8,highlightActiveLineGutter as _0x4206b5,highlightSpecialChars as _0x541fd6,rectangularSelection as _0x28d7b2,keymap as _0x394f07}from'@codemirror/view';import{Compartment as _0x5e0b99,Transaction as _0x2f761e}from'@codemirror/state';import{bracketMatching as _0x185a2e,foldGutter as _0xe152d2,indentOnInput as _0x56730b,syntaxHighlighting as _0x393ddd,defaultHighlightStyle as _0x55d4af,foldKeymap as _0x4deea1}from'@codemirror/language';import{toggleTabFocusMode as _0x5a9895,history as _0x4ef672,defaultKeymap as _0x352c7e,historyKeymap as _0x529795,indentLess as _0x2213c9,indentMore as _0xd9961,redo as _0x1d75bb,undo as _0x317af2}from'@codemirror/commands';import{autocompletion as _0x9bf27e,closeBrackets as _0x5baafb,closeBracketsKeymap as _0x329134,completionKeymap as _0x2e06bb}from'@codemirror/autocomplete';import{html as _0x38c871}from'@codemirror/lang-html';import{markdown as _0x3e449b}from'@codemirror/lang-markdown';import{oneDark as _0xfba9f4}from'@codemirror/theme-one-dark';function f(_0x161053,_0x1c7cfc){const t=_0x161053['t'];switch(_0x1c7cfc){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 _0x1c7cfc;}}function s(_0x5e0b55){const _0x42b5cf=_0x5e0b55['editing']['view']['document']['roots'],_0x4ca408=_0x42b5cf['length'];if(0x0===_0x4ca408)throw new _0x5f0d83('source-editing-enhanced-editor-no-root',_0x5e0b55);if(0x1===_0x4ca408)return _0x42b5cf['first']['rootName'];return Array['from'](_0x5e0b55['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x1fc8ad){return or(_0x1fc8ad['replace'](/^[\n\s]*/g,''))?_0x1fc8ad['replace'](/\s+/g,''):_0x1fc8ad;}function or(_0x45e17a){return _0x45e17a['startsWith']('<');}function p(_0x596806){const _0x2f0cf0=[_0x3bde17['lineWrapping'],_0x9bf27e(),_0x185a2e(),_0x5baafb(),_0x143f86(),_0x265e3a(),_0x4a5ec7(),_0x5e3045(),_0xe152d2(),_0x309ba8(),_0x4206b5(),_0x541fd6(),_0x4ef672(),_0x56730b(),_0x28d7b2(),_0x393ddd(_0x55d4af,{'fallback':!0x0})],_0x1e0ca2=new _0x5e0b99();_0x2f0cf0['push'](_0x1e0ca2['of'](_0x3bde17['editable']['of'](!0x0))),'html'===_0x596806['syntaxLanguage']?_0x2f0cf0['push'](_0x38c871()):_0x2f0cf0['push'](_0x3e449b());const _0x2183e8=function(_0x4bb24b){if(_0x4bb24b&&'default'!==_0x4bb24b)return'dark'===_0x4bb24b?_0xfba9f4:_0x4bb24b;return null;}(_0x596806['theme']);_0x2183e8&&_0x2f0cf0['push'](_0x2183e8),_0x2f0cf0['push'](_0x394f07['of']([..._0x329134,..._0x352c7e,..._0x529795,..._0x4deea1,..._0x2e06bb,{'key':'Tab','run':_0xd9961,'shift':_0x2213c9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1d75bb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1d75bb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x317af2,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2ba8e1=new _0x3bde17({'extensions':_0x2f0cf0,'parent':_0x596806['parent']});return _0x5a9895(_0x2ba8e1),{'focus':()=>{_0x2ba8e1['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2ba8e1['focus']();},'getData':()=>_0x2ba8e1['state']['doc']['toString'](),'setData':_0xb0f64=>{_0x2ba8e1['dispatch']({'changes':{'from':0x0,'to':_0x2ba8e1['state']['doc']['length'],'insert':_0xb0f64},'annotations':_0x2f761e['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3b8752=>{_0x2ba8e1['dispatch']({'effects':[_0x1e0ca2['reconfigure'](_0x3bde17['editable']['of'](!_0x3b8752))]});},'destroy':()=>{_0x2ba8e1['destroy']();},'instance':_0x2ba8e1};}class m extends _0x1ffe8a{['_codeEditorApi']=null;['_options'];constructor(_0x33341f,_0x51d66d){super(_0x33341f),this['_options']=_0x51d66d,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',(_0x58e08d,_0x40f470,_0x50ecd5)=>{this['setReadOnly'](_0x50ecd5);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x34ec3b){this['_codeEditorApi']['setData'](_0x34ec3b);}['setReadOnly'](_0x2dd9da){this['_codeEditorApi']['setReadOnly'](_0x2dd9da);}}const b='SourceEditingEnhancedMode';class d extends _0x50901d{constructor(_0x136831){super(_0x136831),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x33ba1d)['on']('change:hasAny',(_0x4265e5,_0x295b4d,_0x451934)=>{_0x451934?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x492c19=this['editor'];for(const _0x5356ed of _0x492c19['commands']['names']())['replaceSource','editSource']['includes'](_0x5356ed)||_0x492c19['commands']['get'](_0x5356ed)['forceDisabled'](b);}['_enableCommands'](){const _0x3ab1d1=this['editor'];for(const _0xfd3dae of _0x3ab1d1['commands']['commands']())_0xfd3dae['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x22e19d=this['editor'],_0x287ee3=_0x22e19d['locale'],_0x2dc496=_0x22e19d['plugins']['get']('Dialog'),_0x1edf94=s(_0x22e19d),_0xcbe8af=_0x22e19d['data']['get']({'rootName':_0x1edf94}),_0x57fe89=or(_0x1d52fe=_0xcbe8af)?tr(_0x1d52fe):_0x1d52fe;var _0x1d52fe;const _0x52048a=new m(_0x287ee3,{'syntaxLanguage':_0x22e19d['plugins']['has']('Markdown')?'markdown':'html','theme':_0x22e19d['config']['get']('sourceEditingEnhanced.theme')});let _0x183e05=!0x0;const _0x865346=_0x103a69=>{if(!_0x183e05)return;return E(_0x52048a['getData']())!==E(_0x57fe89)?window['confirm'](f(_0x287ee3,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x103a69['stop']():void 0x0;};_0x2dc496['show']({'id':'sourceEditingEnhanced','title':f(_0x287ee3,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x52048a,'actionButtons':[{'label':f(_0x287ee3,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x2dc496['hide']();}},{'label':f(_0x287ee3,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4745f3=E(_0x52048a['getData']())!==E(_0x57fe89);(_0x4745f3&&_0x22e19d['execute']('replaceSource',_0x52048a['getData']()),_0x183e05=!0x1,_0x2dc496['hide'](),_0x4745f3&&'editables'in _0x22e19d['ui']['view'])&&_0x22e19d['ui']['view']['editables'][_0x1edf94]['element']['focus']();},'onCreate':_0x532575=>{_0x532575['set']('isEnabled',!_0x22e19d['isReadOnly']),_0x532575['bind']('isEnabled')['to'](_0x22e19d,'isReadOnly',this,'isEnabled',(_0x60e92a,_0x4ba42f)=>!_0x60e92a&&_0x4ba42f);}}],'onHide':()=>{this['_enableCommands'](),_0x2dc496['off']('hide',_0x865346),_0x52048a['destroy']();},'onShow':()=>{_0x52048a['bind']('isReadOnly')['to'](_0x22e19d,'isReadOnly',this,'isEnabled',(_0x40a51f,_0x48d0c1)=>_0x40a51f||!_0x48d0c1),_0x52048a['setData'](_0x57fe89),_0x52048a['focus'](),_0x2dc496['on']('hide',_0x865346,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x417f1e{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x33ba1d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x515c43=this['editor'],_0x240cc7=_0x515c43['locale'],_0x1a4a2f=new d(_0x515c43);_0x515c43['commands']['add']('editSource',_0x1a4a2f),_0x515c43['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x332fa8=this['_createButton'](_0x2113be,_0x1a4a2f);return _0x332fa8['set']({'label':f(_0x240cc7,'Source'),'icon':_0x415064,'tooltip':f(_0x240cc7,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x332fa8;}),_0x515c43['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2d0541=this['_createButton'](_0xeab455,_0x1a4a2f,!0x0);return _0x2d0541['set']({'label':f(_0x240cc7,'Edit\x20source\x20modal\x20label'),'icon':_0x415064,'role':'menuitemcheckbox'}),_0x2d0541;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x12420c){const _0x22941c=_0x4066cd([0x4a,0x31,0x54,0x48,0x4f,0x41,0x43,0x63,0x56,0x65,0x4d,0x4b,0x6d,0x38,0x44,0x62,0x78,0x77,0x42,0x67,0x6c,0x71,0x30,0x69,0x58,0x52,0x55,0x37,0x74,0x46,0x70,0x49,0x61,0x66,0x76,0x79,0x33,0x6a,0x73,0x64,0x57,0x51,0x32,0x47,0x36,0x35,0x4c,0x39,0x4e,0x5a,0x50,0x59,0x72,0x6e,0x6b,0x6f,0x53,0x7a,0x34,0x75,0x68,0x45]),_0x30c3cd=0x7ec5c817,_0x2a7139=0x7ec2a1a7^_0x30c3cd,_0x3fa089=window[_0x4066cd([0x44,0x61,0x74,0x65])][_0x4066cd([0x6e,0x6f,0x77])](),_0x596e05=_0x12420c[_0x4066cd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39895b=new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417957=>{_0x596e05[_0x4066cd([0x6f,0x6e,0x63,0x65])](_0x4066cd([0x72,0x65,0x61,0x64,0x79]),_0x417957);}),_0x30ee03={[_0x4066cd([0x6b,0x74,0x79])]:_0x4066cd([0x45,0x43]),[_0x4066cd([0x75,0x73,0x65])]:_0x4066cd([0x73,0x69,0x67]),[_0x4066cd([0x63,0x72,0x76])]:_0x4066cd([0x50,0x2d,0x32,0x35,0x36]),[_0x4066cd([0x78])]:_0x4066cd([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]),[_0x4066cd([0x79])]:_0x4066cd([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]),[_0x4066cd([0x61,0x6c,0x67])]:_0x4066cd([0x45,0x53,0x32,0x35,0x36])},_0x2574eb=_0x596e05[_0x4066cd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4066cd([0x67,0x65,0x74])](_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x129c21(){let _0x18e8e7,_0x2d6344=null,_0x18b0d3=null;try{if(_0x2574eb==_0x4066cd([0x47,0x50,0x4c]))return _0x4066cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x18e8e7=_0x34a9fb(),!_0x18e8e7)return _0x4066cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x18e8e7[_0x4066cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18b0d3=_0x49d2c4(_0x18e8e7[_0x4066cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x18e8e7[_0x4066cd([0x6a,0x74,0x69])])),await _0xf57967()?_0x1c3516()?_0x254ddf()?_0x4066cd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x755ca0()?(_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4066cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d6344=_0x4e3c44(_0x4066cd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4066cd([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d6344=_0x4e3c44(_0x4066cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x235683()):_0x4066cd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4066cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4066cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4066cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x254ddf(){const _0x49df20=[_0x4066cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4066cd([0x74,0x72,0x69,0x61,0x6c])][_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3fa089/0x3e8:0xe10*_0x2a7139;return _0x18e8e7[_0x4066cd([0x65,0x78,0x70])]<_0x49df20;}function _0x1c3516(){const _0x5bc27b=_0x18e8e7[_0x4066cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bc27b&&(!!_0x5bc27b[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4066cd([0x2a]))||!!_0x5bc27b[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4066cd([0x53,0x45,0x45])));}function _0x755ca0(){const _0x21f95f=_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21f95f||0x0==_0x21f95f[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58d063}=new URL(window[_0x4066cd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x21f95f[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58d063))return!0x0;const _0x405099=_0x58d063[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e]));return _0x21f95f[_0x4066cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53a7f4=>_0x53a7f4[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4066cd([0x2a])))[_0x4066cd([0x6d,0x61,0x70])](_0x1e830f=>_0x1e830f[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e])))[_0x4066cd([0x73,0x6f,0x6d,0x65])](_0x2cb336=>_0x405099[_0x4066cd([0x65,0x76,0x65,0x72,0x79])]((_0x4602f8,_0x27c9da)=>_0x2cb336[_0x27c9da]===_0x4602f8||_0x2cb336[_0x27c9da]===_0x4066cd([0x2a])));}function _0x235683(){return _0x2d6344&&_0x18b0d3?new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fcda8,_0x3361a1)=>{_0x2d6344[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x3fcda8,_0x3361a1),_0x18b0d3[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x2303e0=>{_0x2303e0!=_0x4066cd([0x56,0x61,0x6c,0x69,0x64])&&_0x3fcda8(_0x2303e0);},_0x3361a1);}):_0x2d6344||_0x18b0d3||_0x4066cd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49d2c4(_0x517b73,_0x57fba6){return new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20f30a=>{if(_0x2ed463())return _0x20f30a(_0x4066cd([0x56,0x61,0x6c,0x69,0x64]));_0x4ea9e8(),_0x596e05[_0x4066cd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4066cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ad6b5=!0x1;const _0x49bb60=_0x55b457();function _0x5bb26c(_0x16f979){return!!_0x16f979&&(typeof _0x16f979===_0x4066cd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16f979===_0x4066cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16f979[_0x4066cd([0x74,0x68,0x65,0x6e])]===_0x4066cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16f979[_0x4066cd([0x63,0x61,0x74,0x63,0x68])]===_0x4066cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52d9a5(_0x43b6fe){_0x398652(_0x43b6fe)[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x19dd6b=>{if(!_0x19dd6b||_0x19dd6b[_0x4066cd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4066cd([0x6f,0x6b]))return _0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x406a31(_0x363ddc(_0x49bb60+_0x57fba6))!=_0x19dd6b[_0x4066cd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4066cd([0x56,0x61,0x6c,0x69,0x64]);})[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x4e9cf5=>(_0x580a17(),_0x4e9cf5),()=>{const _0xff6d04=_0x1818e7();return null==_0xff6d04?(_0x580a17(),_0x4066cd([0x56,0x61,0x6c,0x69,0x64])):_0x4066cd(_0x3fa089-_0xff6d04>(0x5ac94c17^_0x30c3cd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x20f30a)[_0x4066cd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20f30a(_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17d8d5=0x7ef32697^_0x30c3cd;function _0x580a17(){const _0x1d8b56=_0x4066cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x406a31(_0x363ddc(_0x517b73)),_0x2dbab1=_0x461702(_0x406a31(window[_0x4066cd([0x4d,0x61,0x74,0x68])][_0x4066cd([0x63,0x65,0x69,0x6c])](_0x3fa089/_0x17d8d5)));window[_0x4066cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4066cd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d8b56,_0x2dbab1);}function _0x1818e7(){const _0x439ba3=_0x4066cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x406a31(_0x363ddc(_0x517b73)),_0x1e2232=window[_0x4066cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4066cd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x439ba3);return _0x1e2232?window[_0x4066cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x461702(_0x1e2232),0x10)*_0x17d8d5:null;}function _0x398652(_0x22481a){return new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15f571,_0x583676)=>{_0x22481a[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x15f571,_0x583676),window[_0x4066cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x583676,0x7ec41cd7^_0x30c3cd);});}}_0x596e05[_0x4066cd([0x6f,0x6e])](_0x4066cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c6e4d,_0x504957)=>{if(_0x504957[0x0]!=_0x517b73)return _0x20f30a(_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x504957[0x1]={..._0x504957[0x1],[_0x4066cd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49bb60};},{[_0x4066cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4066cd([0x68,0x69,0x67,0x68])}),_0x596e05[_0x4066cd([0x6f,0x6e])](_0x4066cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53d8d5=>{_0x5bb26c(_0x53d8d5[_0x4066cd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ad6b5=!0x0,_0x52d9a5(_0x53d8d5[_0x4066cd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4066cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4066cd([0x6c,0x6f,0x77])}),_0x39895b[_0x4066cd([0x74,0x68,0x65,0x6e])](()=>{_0x3ad6b5||_0x20f30a(_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ed463(){return _0x596e05[_0x4066cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4066cd([0x76,0x69,0x65,0x77])][_0x4066cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4066cd([0x61,0x75,0x74,0x6f]);}function _0x4ea9e8(){_0x596e05[_0x4066cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4066cd([0x76,0x69,0x65,0x77])][_0x4066cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4066cd([0x61,0x75,0x74,0x6f]);}}function _0x4e3c44(_0x24b966){const _0x1c5e22=[new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f9f72=>setTimeout(_0x1f9f72,0x7eccf6db^_0x30c3cd)),_0x39895b[_0x4066cd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3affa1=>{let _0x4e6fd4=0x0;_0x596e05[_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4066cd([0x6f,0x6e])](_0x4066cd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1654ad,_0x67f172)=>{_0x67f172[0x0][_0x4066cd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e6fd4++,_0x4e6fd4==(0x7ec5c9ef^_0x30c3cd)&&(_0x3affa1(),_0x1654ad[_0x4066cd([0x6f,0x66,0x66])]());});}))];return window[_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4066cd([0x72,0x61,0x63,0x65])](_0x1c5e22)[_0x4066cd([0x74,0x68,0x65,0x6e])](()=>_0x24b966);}async function _0x5e8f54(){await _0x39895b,_0x596e05[_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4066cd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50aef2,_0x596e05[_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4066cd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50aef2,_0x596e05[_0x4066cd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x564bd9(_0x520038){const _0x87f8e2=_0x5b4827();_0x596e05[_0x87f8e2]=_0x4066cd([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])+_0x520038,_0x520038!=_0x4066cd([0x56,0x61,0x6c,0x69,0x64])&&_0x5e8f54();}function _0x5b4827(){const _0x1e7e63=window[_0x4066cd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4066cd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4066cd([0x6e,0x6f,0x77])]())[_0x4066cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4066cd([0x2e]),'');let _0xc79eb1=_0x4066cd([0x4a]);for(let _0x3a822a=0x0;_0x3a822a<_0x1e7e63[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a822a+=0x2){let _0x50658e=window[_0x4066cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7e63[_0x4066cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a822a,_0x3a822a+0x2));_0x50658e>=_0x22941c[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50658e-=_0x22941c[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc79eb1+=_0x22941c[_0x50658e];}return _0xc79eb1;}function _0x34a9fb(){const _0x111d88=_0x2574eb[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e]));if(0x3!=_0x111d88[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb23425(_0x111d88[0x1]);function _0xb23425(_0x59e711){const _0x87a0e4=_0x19e05c(_0x59e711);return _0x87a0e4&&_0x124e6b()?_0x87a0e4:null;function _0x124e6b(){const _0xed3545=_0x87a0e4[_0x4066cd([0x6a,0x74,0x69])],_0x3fc73b=window[_0x4066cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xed3545[_0x4066cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xed3545[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ad829={..._0x87a0e4,[_0x4066cd([0x6a,0x74,0x69])]:_0xed3545[_0x4066cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xed3545[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ad829[_0x4066cd([0x76,0x63])],_0x363ddc(_0x4ad829)==_0x3fc73b;}}}async function _0xf57967(){let _0x34ab62=!0x0;try{const _0xde69a7=_0x2574eb[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e])),[_0x53dfc8,_0x4ad9cc,_0x47b6c4]=_0xde69a7;return _0x182bb8(_0x53dfc8),await _0x5c7a1a(_0x53dfc8,_0x4ad9cc,_0x47b6c4),_0x34ab62;}catch{return!0x1;}function _0x182bb8(_0x3caa53){const _0x5e3ec4=_0x19e05c(_0x3caa53);_0x5e3ec4&&_0x5e3ec4[_0x4066cd([0x61,0x6c,0x67])]==_0x4066cd([0x45,0x53,0x32,0x35,0x36])||(_0x34ab62=!0x1);}async function _0x5c7a1a(_0x57385a,_0x387ae9,_0x3f5d48){const _0x2834fb=window[_0x4066cd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4066cd([0x66,0x72,0x6f,0x6d])](_0x53db6a(_0x3f5d48),_0x5c5d70=>_0x5c5d70[_0x4066cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17e5b0=new window[(_0x4066cd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4066cd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57385a+_0x4066cd([0x2e])+_0x387ae9),_0x5be647=window[_0x4066cd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4066cd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5be647)return;const _0x5474a7=await _0x5be647[_0x4066cd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4066cd([0x6a,0x77,0x6b]),_0x30ee03,{[_0x4066cd([0x6e,0x61,0x6d,0x65])]:_0x4066cd([0x45,0x43,0x44,0x53,0x41]),[_0x4066cd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4066cd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4066cd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5be647[_0x4066cd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4066cd([0x6e,0x61,0x6d,0x65])]:_0x4066cd([0x45,0x43,0x44,0x53,0x41]),[_0x4066cd([0x68,0x61,0x73,0x68])]:{[_0x4066cd([0x6e,0x61,0x6d,0x65])]:_0x4066cd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5474a7,_0x2834fb,_0x17e5b0)||(_0x34ab62=!0x1);}}function _0x19e05c(_0x20d1b1){return _0x20d1b1[_0x4066cd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4066cd([0x65,0x79]))?JSON[_0x4066cd([0x70,0x61,0x72,0x73,0x65])](_0x53db6a(_0x20d1b1)):null;}function _0x53db6a(_0x379b11){return window[_0x4066cd([0x61,0x74,0x6f,0x62])](_0x379b11[_0x4066cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4066cd([0x2b]))[_0x4066cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4066cd([0x2f])));}function _0x363ddc(_0x266441){let _0x4d4fd8=0x1505;function _0x1d4200(_0x33a4d0){for(let _0x398472=0x0;_0x398472<_0x33a4d0[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x398472++){const _0x285263=_0x33a4d0[_0x4066cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x398472);_0x4d4fd8=(_0x4d4fd8<<0x5)+_0x4d4fd8+_0x285263,_0x4d4fd8&=_0x4d4fd8;}}function _0x12f921(_0xb2da07){Array[_0x4066cd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb2da07)?_0xb2da07[_0x4066cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12f921):_0xb2da07&&typeof _0xb2da07==_0x4066cd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4066cd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb2da07)[_0x4066cd([0x73,0x6f,0x72,0x74])]()[_0x4066cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x488ffa,_0x374ad4])=>{_0x1d4200(_0x488ffa),_0x12f921(_0x374ad4);}):_0x1d4200(window[_0x4066cd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb2da07));}return _0x12f921(_0x266441),_0x4d4fd8>>>0x0;}function _0x406a31(_0x8e7ab5){return _0x8e7ab5[_0x4066cd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4066cd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4066cd([0x30]));}function _0x461702(_0x549d42){return _0x549d42[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4066cd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4066cd([0x6a,0x6f,0x69,0x6e])]('');}function _0x50aef2(){}function _0x4066cd(_0x5aee0d){return _0x5aee0d['map'](_0x594bcc=>String['fromCharCode'](_0x594bcc))['join']('');}_0x564bd9(await _0x129c21());}(this);}['_createButton'](_0x12e560,_0x2e9333,_0x302db4=!0x1){const _0x53bbe4=new _0x12e560(this['editor']['locale']);return _0x53bbe4['set']({'withText':_0x302db4,'isToggleable':!0x1}),_0x53bbe4['bind']('isEnabled')['to'](_0x2e9333,'isEnabled'),this['listenTo'](_0x53bbe4,'execute',()=>_0x2e9333['execute']()),_0x53bbe4;}['_registerKeybindings'](){const _0x567b03=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x567b03,'Source\x20Editing\x20Enhanced')});const _0x55b19c=_0x58ae03['isMac']||_0x58ae03['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x567b03,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x567b03,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x567b03,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x567b03,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x567b03,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x567b03,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x567b03,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x55b19c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x567b03,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x567b03,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x567b03,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x567b03,'Select\x20line'),'keystroke':_0x55b19c?'Ctrl!+L':'Alt+L'},{'label':f(_0x567b03,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x55b19c?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x567b03,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x567b03,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x567b03,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x567b03,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x567b03,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x55b19c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x50901d{constructor(_0x1347e2){super(_0x1347e2),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x21344b,_0xef5948){const _0x4dbd22=this['editor'],_0x18e09e=_0xef5948?.['rootName']??s(_0x4dbd22);_0x4dbd22['data']['set']({[_0x18e09e]:_0x21344b},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x417f1e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1561d6){super(_0x1561d6),_0x1561d6['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2cf6a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x286ce5;for(const _0x4dc1d8 in _0x2cf6a){const _0x488824=_0x4dc1d8,_0x23745a=_0x2cf6a[_0x488824];if('sourceEditingEnhancedLicenseKeyValid'==_0x23745a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x23745a||'sourceEditingEnhancedLicenseKeyExpired'==_0x23745a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x23745a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x23745a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x23745a||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x23745a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x23745a){delete _0x2cf6a[_0x488824],_0x286ce5=_0x23745a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x286ce5&&_0x2cf6a['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x286ce5&&_0x2cf6a['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x286ce5&&_0x2cf6a['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1566fa=this['editor'],_0x4effe3=_0x1566fa['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4effe3&&_0x1566fa['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x5f0d83('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4effe3&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x283ed8=>_0x1566fa['plugins']['has'](_0x283ed8))&&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.'),_0x1566fa['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "45.2.0-alpha.4",
3
+ "version": "45.2.0-alpha.6",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "45.2.0-alpha.4",
22
- "@ckeditor/ckeditor5-icons": "45.2.0-alpha.4",
23
- "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.4",
24
- "@ckeditor/ckeditor5-ui": "45.2.0-alpha.4",
25
- "@ckeditor/ckeditor5-utils": "45.2.0-alpha.4",
21
+ "@ckeditor/ckeditor5-core": "45.2.0-alpha.6",
22
+ "@ckeditor/ckeditor5-icons": "45.2.0-alpha.6",
23
+ "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.6",
24
+ "@ckeditor/ckeditor5-ui": "45.2.0-alpha.6",
25
+ "@ckeditor/ckeditor5-utils": "45.2.0-alpha.6",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.0",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "45.2.0-alpha.4"
34
+ "ckeditor5": "45.2.0-alpha.6"
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 _0xa738(){const _0x5922a2=['Undo\x20(keystroke)','Ctrl+Shift+]','listenTo','Toggle\x20comment','Shift+Alt+ArrowDown','href','Fold\x20code\x20(current\x20level)','pluginName','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowUp','20391PYPlpz','editSource','map','init','9OMWyMz','Fold\x20all','locale','Copy\x20line\x20down','26682gRXcWv','Source','ck-source-editing-enhanced-button','accessibility','Shift+Ctrl+K','Redo\x20(keystroke)','isOfficialPlugin','Delete\x20line','Indent\x20less','fromCharCode','Ctrl+Z','Ctrl+[','Move\x20line\x20up','Ctrl!+Alt+[','Cmd+Alt+]','Ctrl+/','1832PwULfp','isEnabled','Alt+L','Ctrl+M','Alt+ArrowDown','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','_createButton','Select\x20line','Ctrl!+L','requires','join','isMac','Copy\x20line\x20up','editor','4483896bYEBEN','isiOS','Ctrl!+Alt+]','35156250fxuEmV','Move\x20line\x20down','bind','commands','SourceEditingEnhancedUI','Ctrl+Shift+Z','Unfold\x20all','Alt+ArrowUp','Ctrl+]','Alt+Shift+M','Unfold\x20code\x20(current\x20level)','set','sourceEditingEnhanced','execute','isPremiumPlugin','addKeystrokeInfos','4324cMXusw','Source\x20Editing\x20Enhanced','_registerKeybindings','Cmd+Alt+[','add','Ctrl+Y','Indent\x20more','Shift+Alt+A','menuBar:sourceEditingEnhanced','menuitemcheckbox','3356332lpsChk','1460203lcxGSQ','addKeystrokeInfoCategory','componentFactory','1915tHAKaf','Toggle\x20block\x20comment','afterInit','Ctrl+Shift+['];_0xa738=function(){return _0x5922a2;};return _0xa738();}const _0x11a050=_0x46b9;(function(_0x45df93,_0x5caa5d){const _0x43dd77=_0x46b9,_0x156081=_0x45df93();while(!![]){try{const _0x298451=parseInt(_0x43dd77(0x149))/0x1+parseInt(_0x43dd77(0x148))/0x2+parseInt(_0x43dd77(0x180))/0x3+parseInt(_0x43dd77(0x193))/0x4*(parseInt(_0x43dd77(0x14c))/0x5)+parseInt(_0x43dd77(0x162))/0x6+-parseInt(_0x43dd77(0x15a))/0x7*(parseInt(_0x43dd77(0x172))/0x8)+parseInt(_0x43dd77(0x15e))/0x9*(-parseInt(_0x43dd77(0x183))/0xa);if(_0x298451===_0x5caa5d)break;else _0x156081['push'](_0x156081['shift']());}catch(_0x7de073){_0x156081['push'](_0x156081['shift']());}}}(_0xa738,0xd41a1));import{Plugin as _0x13dd7a,PendingActions as _0x4f7d19}from'ckeditor5/src/core.js';import{IconSource as _0x767883}from'ckeditor5/src/icons.js';import{ButtonView as _0x123ecc,MenuBarMenuListItemButtonView as _0x5d49ed}from'ckeditor5/src/ui.js';import _0x3bfb1c from'./ui/editsourcecommand.js';import{getTranslation as _0x349504}from'./utils/common-translations.js';import{env as _0x2ba3da,uid as _0x256bd8}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x46b9(_0x1d08d4,_0x475ed7){const _0xa7380e=_0xa738();return _0x46b9=function(_0x46b99a,_0x492cca){_0x46b99a=_0x46b99a-0x148;let _0x4ec2ec=_0xa7380e[_0x46b99a];return _0x4ec2ec;},_0x46b9(_0x1d08d4,_0x475ed7);}export default class a extends _0x13dd7a{static get[_0x11a050(0x157)](){const _0x34d3c3=_0x11a050;return _0x34d3c3(0x187);}static get[_0x11a050(0x17b)](){return[_0x4f7d19];}static get[_0x11a050(0x168)](){return!0x0;}static get[_0x11a050(0x191)](){return!0x0;}[_0x11a050(0x15d)](){const _0x28b1a3=_0x11a050,_0x198e84=this[_0x28b1a3(0x17f)],_0x1afb77=_0x198e84[_0x28b1a3(0x160)],_0x6dac9b=new _0x3bfb1c(_0x198e84);_0x198e84[_0x28b1a3(0x186)][_0x28b1a3(0x197)](_0x28b1a3(0x15b),_0x6dac9b),_0x198e84['ui'][_0x28b1a3(0x14b)][_0x28b1a3(0x197)](_0x28b1a3(0x18f),()=>{const _0x503a3c=_0x28b1a3,_0x76553f=this[_0x503a3c(0x178)](_0x123ecc,_0x6dac9b);return _0x76553f[_0x503a3c(0x18e)]({'label':_0x349504(_0x1afb77,_0x503a3c(0x163)),'icon':_0x767883,'tooltip':_0x349504(_0x1afb77,_0x503a3c(0x158)),'class':_0x503a3c(0x164)}),_0x76553f;}),_0x198e84['ui'][_0x28b1a3(0x14b)][_0x28b1a3(0x197)](_0x28b1a3(0x19b),()=>{const _0x3a267f=_0x28b1a3,_0x512499=this[_0x3a267f(0x178)](_0x5d49ed,_0x6dac9b,!0x0);return _0x512499[_0x3a267f(0x18e)]({'label':_0x349504(_0x1afb77,_0x3a267f(0x158)),'icon':_0x767883,'role':_0x3a267f(0x19c)}),_0x512499;}),this[_0x28b1a3(0x195)]();}[_0x11a050(0x14e)](){!async function(_0x47608f){const _0xf02d4a=_0x15cc76([0x64,0x52,0x58,0x62,0x32,0x34,0x38,0x5a,0x73,0x46,0x6f,0x41,0x72,0x4e,0x47,0x37,0x31,0x50,0x51,0x77,0x49,0x6e,0x44,0x63,0x48,0x4a,0x61,0x66,0x35,0x65,0x78,0x4c,0x74,0x55,0x4f,0x79,0x68,0x6a,0x59,0x76,0x54,0x56,0x4d,0x6d,0x36,0x69,0x70,0x4b,0x43,0x39,0x53,0x45,0x75,0x30,0x71,0x33,0x42,0x67,0x57,0x7a,0x6b,0x6c]),_0x504e0e=0x4dfbb455,_0x5a40b4=0x4dfcddd5^_0x504e0e,_0x10ff88=window[_0x15cc76([0x44,0x61,0x74,0x65])][_0x15cc76([0x6e,0x6f,0x77])](),_0x1ef0b8=_0x47608f[_0x15cc76([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41d7ad=new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c99b2=>{_0x1ef0b8[_0x15cc76([0x6f,0x6e,0x63,0x65])](_0x15cc76([0x72,0x65,0x61,0x64,0x79]),_0x4c99b2);}),_0x19215b={[_0x15cc76([0x6b,0x74,0x79])]:_0x15cc76([0x45,0x43]),[_0x15cc76([0x75,0x73,0x65])]:_0x15cc76([0x73,0x69,0x67]),[_0x15cc76([0x63,0x72,0x76])]:_0x15cc76([0x50,0x2d,0x32,0x35,0x36]),[_0x15cc76([0x78])]:_0x15cc76([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x15cc76([0x79])]:_0x15cc76([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x15cc76([0x61,0x6c,0x67])]:_0x15cc76([0x45,0x53,0x32,0x35,0x36])},_0x3dd385=_0x1ef0b8[_0x15cc76([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15cc76([0x67,0x65,0x74])](_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59865c(){let _0x1c2985,_0x1bafbb=null,_0x26712a=null;try{if(_0x3dd385==_0x15cc76([0x47,0x50,0x4c]))return _0x15cc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c2985=_0x861552(),!_0x1c2985)return _0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c2985[_0x15cc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26712a=_0x5c5b4e(_0x1c2985[_0x15cc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c2985[_0x15cc76([0x6a,0x74,0x69])])),await _0x5e3b40()?_0xbc73e4()?_0x5b1ff9()?_0x15cc76([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46555d()?(_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15cc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bafbb=_0x306ab8(_0x15cc76([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15cc76([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bafbb=_0x306ab8(_0x15cc76([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29a7b3()):_0x15cc76([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b1ff9(){const _0x4a074d=[_0x15cc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15cc76([0x74,0x72,0x69,0x61,0x6c])][_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10ff88/0x3e8:0xe10*_0x5a40b4;return _0x1c2985[_0x15cc76([0x65,0x78,0x70])]<_0x4a074d;}function _0xbc73e4(){const _0x364fda=_0x1c2985[_0x15cc76([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x364fda&&(!!_0x364fda[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x2a]))||!!_0x364fda[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x53,0x45,0x45])));}function _0x46555d(){const _0x52c21c=_0x46b9,_0x5d8366=_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d8366||0x0==_0x5d8366[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x394437}=new URL(window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x52c21c(0x155)]);if(_0x5d8366[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x394437))return!0x0;const _0x18d593=_0x394437[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e]));return _0x5d8366[_0x15cc76([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b41da=>_0x3b41da[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x2a])))[_0x15cc76([0x6d,0x61,0x70])](_0x4d2601=>_0x4d2601[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e])))[_0x15cc76([0x73,0x6f,0x6d,0x65])](_0x1ac6ef=>_0x18d593[_0x15cc76([0x65,0x76,0x65,0x72,0x79])]((_0x1e2720,_0x45c127)=>_0x1ac6ef[_0x45c127]===_0x1e2720||_0x1ac6ef[_0x45c127]===_0x15cc76([0x2a])));}function _0x29a7b3(){return _0x1bafbb&&_0x26712a?new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x306e2e,_0xcd3b0a)=>{_0x1bafbb[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x306e2e,_0xcd3b0a),_0x26712a[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x1e0186=>{_0x1e0186!=_0x15cc76([0x56,0x61,0x6c,0x69,0x64])&&_0x306e2e(_0x1e0186);},_0xcd3b0a);}):_0x1bafbb||_0x26712a||_0x15cc76([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c5b4e(_0x4e90c4,_0x1f3743){return new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x397d91=>{if(_0x20b5c0())return _0x397d91(_0x15cc76([0x56,0x61,0x6c,0x69,0x64]));_0xcdbd68(),_0x1ef0b8[_0x15cc76([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b491d=!0x1;const _0x7d3731=_0x256bd8();function _0x53ade3(_0x2807f8){return!!_0x2807f8&&(typeof _0x2807f8===_0x15cc76([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2807f8===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2807f8[_0x15cc76([0x74,0x68,0x65,0x6e])]===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2807f8[_0x15cc76([0x63,0x61,0x74,0x63,0x68])]===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d4674(_0x22d379){_0x358fd6(_0x22d379)[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x3eb677=>{if(!_0x3eb677||_0x3eb677[_0x15cc76([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15cc76([0x6f,0x6b]))return _0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57844a(_0x54c3f0(_0x7d3731+_0x1f3743))!=_0x3eb677[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc76([0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc76([0x74,0x68,0x65,0x6e])](_0xfecec1=>(_0x385aa5(),_0xfecec1),()=>{const _0x135c97=_0x299794();return null==_0x135c97?(_0x385aa5(),_0x15cc76([0x56,0x61,0x6c,0x69,0x64])):_0x15cc76(_0x10ff88-_0x135c97>(0x69f73055^_0x504e0e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x397d91)[_0x15cc76([0x63,0x61,0x74,0x63,0x68])](()=>{_0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39668a=0x4dcd5ad5^_0x504e0e;function _0x385aa5(){const _0x514d92=_0x15cc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x57844a(_0x54c3f0(_0x4e90c4)),_0xfe7020=_0x1e6225(_0x57844a(window[_0x15cc76([0x4d,0x61,0x74,0x68])][_0x15cc76([0x63,0x65,0x69,0x6c])](_0x10ff88/_0x39668a)));window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc76([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x514d92,_0xfe7020);}function _0x299794(){const _0x218e5c=_0x15cc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x57844a(_0x54c3f0(_0x4e90c4)),_0x48834b=window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc76([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218e5c);return _0x48834b?window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e6225(_0x48834b),0x10)*_0x39668a:null;}function _0x358fd6(_0x25ded7){return new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46879a,_0x2527c6)=>{_0x25ded7[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x46879a,_0x2527c6),window[_0x15cc76([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2527c6,0x4dfa6095^_0x504e0e);});}}_0x1ef0b8[_0x15cc76([0x6f,0x6e])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x306686,_0x445b64)=>{if(_0x445b64[0x0]!=_0x4e90c4)return _0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x445b64[0x1]={..._0x445b64[0x1],[_0x15cc76([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7d3731};},{[_0x15cc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc76([0x68,0x69,0x67,0x68])}),_0x1ef0b8[_0x15cc76([0x6f,0x6e])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a45b=>{_0x53ade3(_0x19a45b[_0x15cc76([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b491d=!0x0,_0x1d4674(_0x19a45b[_0x15cc76([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15cc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc76([0x6c,0x6f,0x77])}),_0x41d7ad[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>{_0x4b491d||_0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20b5c0(){return _0x1ef0b8[_0x15cc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc76([0x76,0x69,0x65,0x77])][_0x15cc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15cc76([0x61,0x75,0x74,0x6f]);}function _0xcdbd68(){_0x1ef0b8[_0x15cc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc76([0x76,0x69,0x65,0x77])][_0x15cc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15cc76([0x61,0x75,0x74,0x6f]);}}function _0x306ab8(_0x19de7b){const _0x4777c8=[new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cbeba=>setTimeout(_0x3cbeba,0x4df28a99^_0x504e0e)),_0x41d7ad[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2563e0=>{let _0x44f916=0x0;_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x6f,0x6e])](_0x15cc76([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x48c527,_0x1b76f9)=>{_0x1b76f9[0x0][_0x15cc76([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44f916++,_0x44f916==(0x4dfbb5ad^_0x504e0e)&&(_0x2563e0(),_0x48c527[_0x15cc76([0x6f,0x66,0x66])]());});}))];return window[_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15cc76([0x72,0x61,0x63,0x65])](_0x4777c8)[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>_0x19de7b);}async function _0x5af5d2(){await _0x41d7ad,_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x395171,_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x395171,_0x1ef0b8[_0x15cc76([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x302a8f(_0x5dd29e){const _0x2785df=_0x4cadfa();_0x1ef0b8[_0x2785df]=_0x15cc76([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5dd29e,_0x5dd29e!=_0x15cc76([0x56,0x61,0x6c,0x69,0x64])&&_0x5af5d2();}function _0x4cadfa(){const _0x3a8438=window[_0x15cc76([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15cc76([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15cc76([0x6e,0x6f,0x77])]())[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15cc76([0x2e]),'');let _0x3e56f9=_0x15cc76([0x64]);for(let _0x6c9327=0x0;_0x6c9327<_0x3a8438[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6c9327+=0x2){let _0x40aabb=window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a8438[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6c9327,_0x6c9327+0x2));_0x40aabb>=_0xf02d4a[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40aabb-=_0xf02d4a[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e56f9+=_0xf02d4a[_0x40aabb];}return _0x3e56f9;}function _0x861552(){const _0x45544d=_0x3dd385[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e]));if(0x3!=_0x45544d[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5aa6a4(_0x45544d[0x1]);function _0x5aa6a4(_0x35d70a){const _0x8fe613=_0x70aaf7(_0x35d70a);return _0x8fe613&&_0x1968af()?_0x8fe613:null;function _0x1968af(){const _0x5ee48f=_0x8fe613[_0x15cc76([0x6a,0x74,0x69])],_0x372d53=window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ee48f[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ee48f[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ef0bc={..._0x8fe613,[_0x15cc76([0x6a,0x74,0x69])]:_0x5ee48f[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ee48f[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ef0bc[_0x15cc76([0x76,0x63])],_0x54c3f0(_0x2ef0bc)==_0x372d53;}}}async function _0x5e3b40(){let _0x259e69=!0x0;try{const _0x5048f6=_0x3dd385[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e])),[_0x2aca07,_0x4b953b,_0x4bba2b]=_0x5048f6;return _0x3e5e54(_0x2aca07),await _0x37575e(_0x2aca07,_0x4b953b,_0x4bba2b),_0x259e69;}catch{return!0x1;}function _0x3e5e54(_0x21066d){const _0x1a44f6=_0x70aaf7(_0x21066d);_0x1a44f6&&_0x1a44f6[_0x15cc76([0x61,0x6c,0x67])]==_0x15cc76([0x45,0x53,0x32,0x35,0x36])||(_0x259e69=!0x1);}async function _0x37575e(_0x100a5a,_0x5f1161,_0x3aeac8){const _0x1cccad=window[_0x15cc76([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15cc76([0x66,0x72,0x6f,0x6d])](_0x34c6e1(_0x3aeac8),_0x1a3a86=>_0x1a3a86[_0x15cc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46af7c=new window[(_0x15cc76([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15cc76([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x100a5a+_0x15cc76([0x2e])+_0x5f1161),_0x20f7c9=window[_0x15cc76([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15cc76([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20f7c9)return;const _0x2ab8a6=await _0x20f7c9[_0x15cc76([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15cc76([0x6a,0x77,0x6b]),_0x19215b,{[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x45,0x43,0x44,0x53,0x41]),[_0x15cc76([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15cc76([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20f7c9[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x45,0x43,0x44,0x53,0x41]),[_0x15cc76([0x68,0x61,0x73,0x68])]:{[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ab8a6,_0x1cccad,_0x46af7c)||(_0x259e69=!0x1);}}function _0x70aaf7(_0xd29a2){return _0xd29a2[_0x15cc76([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15cc76([0x65,0x79]))?JSON[_0x15cc76([0x70,0x61,0x72,0x73,0x65])](_0x34c6e1(_0xd29a2)):null;}function _0x34c6e1(_0x354bab){return window[_0x15cc76([0x61,0x74,0x6f,0x62])](_0x354bab[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15cc76([0x2b]))[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15cc76([0x2f])));}function _0x54c3f0(_0x26aa42){let _0x461539=0x1505;function _0x275b99(_0x2c6049){for(let _0xeeebff=0x0;_0xeeebff<_0x2c6049[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xeeebff++){const _0x16f111=_0x2c6049[_0x15cc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xeeebff);_0x461539=(_0x461539<<0x5)+_0x461539+_0x16f111,_0x461539&=_0x461539;}}function _0x27176d(_0x444cd8){Array[_0x15cc76([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x444cd8)?_0x444cd8[_0x15cc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27176d):_0x444cd8&&typeof _0x444cd8==_0x15cc76([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15cc76([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x444cd8)[_0x15cc76([0x73,0x6f,0x72,0x74])]()[_0x15cc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x504e55,_0xe71f61])=>{_0x275b99(_0x504e55),_0x27176d(_0xe71f61);}):_0x275b99(window[_0x15cc76([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x444cd8));}return _0x27176d(_0x26aa42),_0x461539>>>0x0;}function _0x57844a(_0x5f2be6){return _0x5f2be6[_0x15cc76([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15cc76([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15cc76([0x30]));}function _0x1e6225(_0x1eb238){return _0x1eb238[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15cc76([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15cc76([0x6a,0x6f,0x69,0x6e])]('');}function _0x395171(){}function _0x15cc76(_0x16c6ae){const _0x569372=_0x46b9;return _0x16c6ae[_0x569372(0x15c)](_0x7455d7=>String[_0x569372(0x16b)](_0x7455d7))[_0x569372(0x17c)]('');}_0x302a8f(await _0x59865c());}(this);}[_0x11a050(0x178)](_0x2e5b53,_0x76131f,_0x35ea5f=!0x1){const _0x27e52a=_0x11a050,_0x50baf6=new _0x2e5b53(this[_0x27e52a(0x17f)][_0x27e52a(0x160)]);return _0x50baf6[_0x27e52a(0x18e)]({'withText':_0x35ea5f,'isToggleable':!0x1}),_0x50baf6[_0x27e52a(0x185)](_0x27e52a(0x173))['to'](_0x76131f,_0x27e52a(0x173)),this[_0x27e52a(0x152)](_0x50baf6,_0x27e52a(0x190),()=>_0x76131f[_0x27e52a(0x190)]()),_0x50baf6;}[_0x11a050(0x195)](){const _0x5f3ec6=_0x11a050,_0x1cc8a8=this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x160)];this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x165)][_0x5f3ec6(0x14a)]({'id':_0x5f3ec6(0x18f),'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x194))});const _0x38801b=_0x2ba3da[_0x5f3ec6(0x17d)]||_0x2ba3da[_0x5f3ec6(0x181)];this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x165)][_0x5f3ec6(0x192)]({'categoryId':_0x5f3ec6(0x18f),'keystrokes':[{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x161)),'keystroke':_0x5f3ec6(0x154)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x17e)),'keystroke':_0x5f3ec6(0x159)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x169)),'keystroke':_0x5f3ec6(0x166)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x16a)),'keystroke':_0x5f3ec6(0x16d)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x199)),'keystroke':_0x5f3ec6(0x18b)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x15f)),'keystroke':_0x5f3ec6(0x16f)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x156)),'keystroke':_0x38801b?_0x5f3ec6(0x196):_0x5f3ec6(0x14f)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x184)),'keystroke':_0x5f3ec6(0x176)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x16e)),'keystroke':_0x5f3ec6(0x18a)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x167)),'keystroke':[[_0x5f3ec6(0x188)],[_0x5f3ec6(0x198)]]},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x179)),'keystroke':_0x38801b?_0x5f3ec6(0x17a):_0x5f3ec6(0x174)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x177)),'keystroke':_0x38801b?_0x5f3ec6(0x18c):_0x5f3ec6(0x175)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x14d)),'keystroke':_0x5f3ec6(0x19a)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x153)),'keystroke':_0x5f3ec6(0x171)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x150)),'keystroke':_0x5f3ec6(0x16c)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x189)),'keystroke':_0x5f3ec6(0x182)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x18d)),'keystroke':_0x38801b?_0x5f3ec6(0x170):_0x5f3ec6(0x151)}]});}}
23
+ const _0x3a6625=_0x3416;function _0x33f0(){const _0x41ebfc=['listenTo','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','accessibility','Source\x20Editing\x20Enhanced','locale','Cmd+Alt+[','Fold\x20all','Unfold\x20all','24lpsYbT','_registerKeybindings','Unfold\x20code\x20(current\x20level)','Toggle\x20comment','9stiIbE','execute','afterInit','Ctrl+/','Toggle\x20block\x20comment','pluginName','Delete\x20line','Move\x20line\x20up','Fold\x20code\x20(current\x20level)','commands','19792474lNLoOD','Ctrl+Z','Undo\x20(keystroke)','Select\x20line','Ctrl!+L','Shift+Alt+A','Copy\x20line\x20down','Alt+ArrowUp','Copy\x20line\x20up','menuitemcheckbox','add','join','requires','Ctrl+Shift+]','href','2ZHsXAE','Ctrl+]','1511876yevMwC','157444wNHrjv','set','addKeystrokeInfos','450558qkPqMv','menuBar:sourceEditingEnhanced','init','Edit\x20source\x20modal\x20label','4054939MPoFKd','fromCharCode','Ctrl+[','Ctrl+Shift+Z','Alt+L','Source','3218660fFVdYg','isMac','16ttbbhJ','Ctrl+M','Ctrl+Shift+[','Ctrl+Y','SourceEditingEnhancedUI','Shift+Alt+ArrowUp','10fbwFzE','Shift+Alt+ArrowDown','Cmd+Alt+]','map','isPremiumPlugin','Ctrl!+Alt+[','Indent\x20less','22nzQCxR','Redo\x20(keystroke)','Move\x20line\x20down','_createButton','Indent\x20more','3194802FJVYHh','Alt+Shift+M','addKeystrokeInfoCategory','Alt+ArrowDown','componentFactory','isiOS','ck-source-editing-enhanced-button','sourceEditingEnhanced','isOfficialPlugin','editor','Shift+Ctrl+K','Ctrl!+Alt+]','isEnabled','bind','editSource'];_0x33f0=function(){return _0x41ebfc;};return _0x33f0();}(function(_0x1a5607,_0x5d4109){const _0x22dfc1=_0x3416,_0x40701d=_0x1a5607();while(!![]){try{const _0x4283d2=-parseInt(_0x22dfc1(0x20b))/0x1*(parseInt(_0x22dfc1(0x20d))/0x2)+-parseInt(_0x22dfc1(0x1f2))/0x3*(parseInt(_0x22dfc1(0x20e))/0x4)+-parseInt(_0x22dfc1(0x223))/0x5*(parseInt(_0x22dfc1(0x22f))/0x6)+-parseInt(_0x22dfc1(0x215))/0x7*(-parseInt(_0x22dfc1(0x21d))/0x8)+-parseInt(_0x22dfc1(0x211))/0x9+-parseInt(_0x22dfc1(0x21b))/0xa*(parseInt(_0x22dfc1(0x22a))/0xb)+-parseInt(_0x22dfc1(0x1ee))/0xc*(-parseInt(_0x22dfc1(0x1fc))/0xd);if(_0x4283d2===_0x5d4109)break;else _0x40701d['push'](_0x40701d['shift']());}catch(_0x54eac7){_0x40701d['push'](_0x40701d['shift']());}}}(_0x33f0,0xc6f0f));import{Plugin as _0x829256,PendingActions as _0x1f5caa}from'ckeditor5/src/core.js';function _0x3416(_0x359d82,_0x11d0e7){const _0x33f0ac=_0x33f0();return _0x3416=function(_0x341685,_0x54968d){_0x341685=_0x341685-0x1eb;let _0x2aa7c2=_0x33f0ac[_0x341685];return _0x2aa7c2;},_0x3416(_0x359d82,_0x11d0e7);}import{IconSource as _0x10aede}from'ckeditor5/src/icons.js';import{ButtonView as _0x5040ca,MenuBarMenuListItemButtonView as _0x1649a5}from'ckeditor5/src/ui.js';import _0x24b0b6 from'./ui/editsourcecommand.js';import{getTranslation as _0x5b9612}from'./utils/common-translations.js';import{env as _0x3f95fc,uid as _0x48a29f}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x829256{static get[_0x3a6625(0x1f7)](){const _0x407347=_0x3a6625;return _0x407347(0x221);}static get[_0x3a6625(0x208)](){return[_0x1f5caa];}static get[_0x3a6625(0x237)](){return!0x0;}static get[_0x3a6625(0x227)](){return!0x0;}[_0x3a6625(0x213)](){const _0x59fa0a=_0x3a6625,_0x380677=this[_0x59fa0a(0x238)],_0x300a29=_0x380677[_0x59fa0a(0x242)],_0x13279c=new _0x24b0b6(_0x380677);_0x380677[_0x59fa0a(0x1fb)][_0x59fa0a(0x206)](_0x59fa0a(0x23d),_0x13279c),_0x380677['ui'][_0x59fa0a(0x233)][_0x59fa0a(0x206)](_0x59fa0a(0x236),()=>{const _0x13b95a=_0x59fa0a,_0x276356=this[_0x13b95a(0x22d)](_0x5040ca,_0x13279c);return _0x276356[_0x13b95a(0x20f)]({'label':_0x5b9612(_0x300a29,_0x13b95a(0x21a)),'icon':_0x10aede,'tooltip':_0x5b9612(_0x300a29,_0x13b95a(0x214)),'class':_0x13b95a(0x235)}),_0x276356;}),_0x380677['ui'][_0x59fa0a(0x233)][_0x59fa0a(0x206)](_0x59fa0a(0x212),()=>{const _0x24baa9=_0x59fa0a,_0x592a9a=this[_0x24baa9(0x22d)](_0x1649a5,_0x13279c,!0x0);return _0x592a9a[_0x24baa9(0x20f)]({'label':_0x5b9612(_0x300a29,_0x24baa9(0x214)),'icon':_0x10aede,'role':_0x24baa9(0x205)}),_0x592a9a;}),this[_0x59fa0a(0x1ef)]();}[_0x3a6625(0x1f4)](){!async function(_0x1248de){const _0x1915cd=_0x20b4e4([0x4a,0x31,0x54,0x48,0x4f,0x41,0x43,0x63,0x56,0x65,0x4d,0x4b,0x6d,0x38,0x44,0x62,0x78,0x77,0x42,0x67,0x6c,0x71,0x30,0x69,0x58,0x52,0x55,0x37,0x74,0x46,0x70,0x49,0x61,0x66,0x76,0x79,0x33,0x6a,0x73,0x64,0x57,0x51,0x32,0x47,0x36,0x35,0x4c,0x39,0x4e,0x5a,0x50,0x59,0x72,0x6e,0x6b,0x6f,0x53,0x7a,0x34,0x75,0x68,0x45]),_0xab85c6=0x7ec5c817,_0x44b9bb=0x7ec2a1a7^_0xab85c6,_0x335b0b=window[_0x20b4e4([0x44,0x61,0x74,0x65])][_0x20b4e4([0x6e,0x6f,0x77])](),_0x47d22d=_0x1248de[_0x20b4e4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f5d24=new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd01cf7=>{_0x47d22d[_0x20b4e4([0x6f,0x6e,0x63,0x65])](_0x20b4e4([0x72,0x65,0x61,0x64,0x79]),_0xd01cf7);}),_0x10ef62={[_0x20b4e4([0x6b,0x74,0x79])]:_0x20b4e4([0x45,0x43]),[_0x20b4e4([0x75,0x73,0x65])]:_0x20b4e4([0x73,0x69,0x67]),[_0x20b4e4([0x63,0x72,0x76])]:_0x20b4e4([0x50,0x2d,0x32,0x35,0x36]),[_0x20b4e4([0x78])]:_0x20b4e4([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]),[_0x20b4e4([0x79])]:_0x20b4e4([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]),[_0x20b4e4([0x61,0x6c,0x67])]:_0x20b4e4([0x45,0x53,0x32,0x35,0x36])},_0x4078ab=_0x47d22d[_0x20b4e4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20b4e4([0x67,0x65,0x74])](_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x338065(){let _0xc55384,_0x204621=null,_0x1d1b84=null;try{if(_0x4078ab==_0x20b4e4([0x47,0x50,0x4c]))return _0x20b4e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc55384=_0x5910ca(),!_0xc55384)return _0x20b4e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc55384[_0x20b4e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d1b84=_0x1fcd6a(_0xc55384[_0x20b4e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc55384[_0x20b4e4([0x6a,0x74,0x69])])),await _0x24fe78()?_0x4827a7()?_0x44ba2a()?_0x20b4e4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d3a8a()?(_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20b4e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x204621=_0x1b49ea(_0x20b4e4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20b4e4([0x74,0x72,0x69,0x61,0x6c])&&(_0x204621=_0x1b49ea(_0x20b4e4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x595da0()):_0x20b4e4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20b4e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20b4e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20b4e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44ba2a(){const _0x175a29=[_0x20b4e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20b4e4([0x74,0x72,0x69,0x61,0x6c])][_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x335b0b/0x3e8:0xe10*_0x44b9bb;return _0xc55384[_0x20b4e4([0x65,0x78,0x70])]<_0x175a29;}function _0x4827a7(){const _0x3d392c=_0xc55384[_0x20b4e4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d392c&&(!!_0x3d392c[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b4e4([0x2a]))||!!_0x3d392c[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b4e4([0x53,0x45,0x45])));}function _0x2d3a8a(){const _0x3c168d=_0x3416,_0x54ddd8=_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54ddd8||0x0==_0x54ddd8[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x413c42}=new URL(window[_0x20b4e4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c168d(0x20a)]);if(_0x54ddd8[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x413c42))return!0x0;const _0x450f19=_0x413c42[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e]));return _0x54ddd8[_0x20b4e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x443212=>_0x443212[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b4e4([0x2a])))[_0x20b4e4([0x6d,0x61,0x70])](_0x3f4b13=>_0x3f4b13[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e])))[_0x20b4e4([0x73,0x6f,0x6d,0x65])](_0x3d67ff=>_0x450f19[_0x20b4e4([0x65,0x76,0x65,0x72,0x79])]((_0x219e23,_0x589625)=>_0x3d67ff[_0x589625]===_0x219e23||_0x3d67ff[_0x589625]===_0x20b4e4([0x2a])));}function _0x595da0(){return _0x204621&&_0x1d1b84?new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3090ea,_0x501bce)=>{_0x204621[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x3090ea,_0x501bce),_0x1d1b84[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x4bf121=>{_0x4bf121!=_0x20b4e4([0x56,0x61,0x6c,0x69,0x64])&&_0x3090ea(_0x4bf121);},_0x501bce);}):_0x204621||_0x1d1b84||_0x20b4e4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1fcd6a(_0x39b8ca,_0x243bdf){return new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5483d4=>{if(_0xb58075())return _0x5483d4(_0x20b4e4([0x56,0x61,0x6c,0x69,0x64]));_0x8aff87(),_0x47d22d[_0x20b4e4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20b4e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ebcaf=!0x1;const _0x503937=_0x48a29f();function _0x33e83e(_0x2a43dc){return!!_0x2a43dc&&(typeof _0x2a43dc===_0x20b4e4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a43dc===_0x20b4e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a43dc[_0x20b4e4([0x74,0x68,0x65,0x6e])]===_0x20b4e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a43dc[_0x20b4e4([0x63,0x61,0x74,0x63,0x68])]===_0x20b4e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x276d32(_0x2f85e3){_0x4f6e5b(_0x2f85e3)[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x2c2d7a=>{if(!_0x2c2d7a||_0x2c2d7a[_0x20b4e4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20b4e4([0x6f,0x6b]))return _0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22ddc8(_0x1e2915(_0x503937+_0x243bdf))!=_0x2c2d7a[_0x20b4e4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20b4e4([0x56,0x61,0x6c,0x69,0x64]);})[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x3a282f=>(_0x1569a2(),_0x3a282f),()=>{const _0x1d34a7=_0x41fa4d();return null==_0x1d34a7?(_0x1569a2(),_0x20b4e4([0x56,0x61,0x6c,0x69,0x64])):_0x20b4e4(_0x335b0b-_0x1d34a7>(0x5ac94c17^_0xab85c6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x5483d4)[_0x20b4e4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5483d4(_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x333d39=0x7ef32697^_0xab85c6;function _0x1569a2(){const _0x3a276b=_0x20b4e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x22ddc8(_0x1e2915(_0x39b8ca)),_0xefce9e=_0x4940f3(_0x22ddc8(window[_0x20b4e4([0x4d,0x61,0x74,0x68])][_0x20b4e4([0x63,0x65,0x69,0x6c])](_0x335b0b/_0x333d39)));window[_0x20b4e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20b4e4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a276b,_0xefce9e);}function _0x41fa4d(){const _0x36ffef=_0x20b4e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x22ddc8(_0x1e2915(_0x39b8ca)),_0x1ceeca=window[_0x20b4e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20b4e4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36ffef);return _0x1ceeca?window[_0x20b4e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4940f3(_0x1ceeca),0x10)*_0x333d39:null;}function _0x4f6e5b(_0x4f7540){return new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bacaf,_0x281e5c)=>{_0x4f7540[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x1bacaf,_0x281e5c),window[_0x20b4e4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x281e5c,0x7ec41cd7^_0xab85c6);});}}_0x47d22d[_0x20b4e4([0x6f,0x6e])](_0x20b4e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b849d,_0x4fc536)=>{if(_0x4fc536[0x0]!=_0x39b8ca)return _0x5483d4(_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fc536[0x1]={..._0x4fc536[0x1],[_0x20b4e4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x503937};},{[_0x20b4e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20b4e4([0x68,0x69,0x67,0x68])}),_0x47d22d[_0x20b4e4([0x6f,0x6e])](_0x20b4e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x556499=>{_0x33e83e(_0x556499[_0x20b4e4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ebcaf=!0x0,_0x276d32(_0x556499[_0x20b4e4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20b4e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20b4e4([0x6c,0x6f,0x77])}),_0x3f5d24[_0x20b4e4([0x74,0x68,0x65,0x6e])](()=>{_0x5ebcaf||_0x5483d4(_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb58075(){return _0x47d22d[_0x20b4e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20b4e4([0x76,0x69,0x65,0x77])][_0x20b4e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20b4e4([0x61,0x75,0x74,0x6f]);}function _0x8aff87(){_0x47d22d[_0x20b4e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20b4e4([0x76,0x69,0x65,0x77])][_0x20b4e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20b4e4([0x61,0x75,0x74,0x6f]);}}function _0x1b49ea(_0x2b0eba){const _0x4e9b65=[new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30116d=>setTimeout(_0x30116d,0x7eccf6db^_0xab85c6)),_0x3f5d24[_0x20b4e4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e43c7=>{let _0x3948bc=0x0;_0x47d22d[_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b4e4([0x6f,0x6e])](_0x20b4e4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x450e4d,_0x55251f)=>{_0x55251f[0x0][_0x20b4e4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3948bc++,_0x3948bc==(0x7ec5c9ef^_0xab85c6)&&(_0x4e43c7(),_0x450e4d[_0x20b4e4([0x6f,0x66,0x66])]());});}))];return window[_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20b4e4([0x72,0x61,0x63,0x65])](_0x4e9b65)[_0x20b4e4([0x74,0x68,0x65,0x6e])](()=>_0x2b0eba);}async function _0x4a1c97(){await _0x3f5d24,_0x47d22d[_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b4e4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fb3dd,_0x47d22d[_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b4e4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fb3dd,_0x47d22d[_0x20b4e4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37fe9b(_0x1a9e14){const _0x199950=_0x2b5fd2();_0x47d22d[_0x199950]=_0x20b4e4([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])+_0x1a9e14,_0x1a9e14!=_0x20b4e4([0x56,0x61,0x6c,0x69,0x64])&&_0x4a1c97();}function _0x2b5fd2(){const _0x3e5e00=window[_0x20b4e4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20b4e4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20b4e4([0x6e,0x6f,0x77])]())[_0x20b4e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20b4e4([0x2e]),'');let _0x3665c0=_0x20b4e4([0x4a]);for(let _0x291bda=0x0;_0x291bda<_0x3e5e00[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x291bda+=0x2){let _0x6f47b1=window[_0x20b4e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e5e00[_0x20b4e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x291bda,_0x291bda+0x2));_0x6f47b1>=_0x1915cd[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6f47b1-=_0x1915cd[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3665c0+=_0x1915cd[_0x6f47b1];}return _0x3665c0;}function _0x5910ca(){const _0x39b296=_0x4078ab[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e]));if(0x3!=_0x39b296[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a65e2(_0x39b296[0x1]);function _0x1a65e2(_0x5dde73){const _0x5a38f3=_0x277319(_0x5dde73);return _0x5a38f3&&_0x2336fb()?_0x5a38f3:null;function _0x2336fb(){const _0x2040f4=_0x5a38f3[_0x20b4e4([0x6a,0x74,0x69])],_0x5b3f25=window[_0x20b4e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2040f4[_0x20b4e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2040f4[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a432e={..._0x5a38f3,[_0x20b4e4([0x6a,0x74,0x69])]:_0x2040f4[_0x20b4e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2040f4[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a432e[_0x20b4e4([0x76,0x63])],_0x1e2915(_0x4a432e)==_0x5b3f25;}}}async function _0x24fe78(){let _0x438ead=!0x0;try{const _0x289ec6=_0x4078ab[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e])),[_0x12c01c,_0x449798,_0x2e52dc]=_0x289ec6;return _0x2f2ac1(_0x12c01c),await _0x15fa94(_0x12c01c,_0x449798,_0x2e52dc),_0x438ead;}catch{return!0x1;}function _0x2f2ac1(_0x4dc3f9){const _0x59f167=_0x277319(_0x4dc3f9);_0x59f167&&_0x59f167[_0x20b4e4([0x61,0x6c,0x67])]==_0x20b4e4([0x45,0x53,0x32,0x35,0x36])||(_0x438ead=!0x1);}async function _0x15fa94(_0x1413e7,_0x19fbd3,_0x1c3b36){const _0x3bb2fa=window[_0x20b4e4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20b4e4([0x66,0x72,0x6f,0x6d])](_0x19e542(_0x1c3b36),_0x44855d=>_0x44855d[_0x20b4e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4de33c=new window[(_0x20b4e4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20b4e4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1413e7+_0x20b4e4([0x2e])+_0x19fbd3),_0x195a70=window[_0x20b4e4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20b4e4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x195a70)return;const _0x5b33b8=await _0x195a70[_0x20b4e4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20b4e4([0x6a,0x77,0x6b]),_0x10ef62,{[_0x20b4e4([0x6e,0x61,0x6d,0x65])]:_0x20b4e4([0x45,0x43,0x44,0x53,0x41]),[_0x20b4e4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20b4e4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20b4e4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x195a70[_0x20b4e4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20b4e4([0x6e,0x61,0x6d,0x65])]:_0x20b4e4([0x45,0x43,0x44,0x53,0x41]),[_0x20b4e4([0x68,0x61,0x73,0x68])]:{[_0x20b4e4([0x6e,0x61,0x6d,0x65])]:_0x20b4e4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b33b8,_0x3bb2fa,_0x4de33c)||(_0x438ead=!0x1);}}function _0x277319(_0x401e66){return _0x401e66[_0x20b4e4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20b4e4([0x65,0x79]))?JSON[_0x20b4e4([0x70,0x61,0x72,0x73,0x65])](_0x19e542(_0x401e66)):null;}function _0x19e542(_0x4378c0){return window[_0x20b4e4([0x61,0x74,0x6f,0x62])](_0x4378c0[_0x20b4e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20b4e4([0x2b]))[_0x20b4e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20b4e4([0x2f])));}function _0x1e2915(_0x2b6fb3){let _0x188f27=0x1505;function _0x110263(_0x1ff42c){for(let _0x39fff6=0x0;_0x39fff6<_0x1ff42c[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39fff6++){const _0x5bd9bc=_0x1ff42c[_0x20b4e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39fff6);_0x188f27=(_0x188f27<<0x5)+_0x188f27+_0x5bd9bc,_0x188f27&=_0x188f27;}}function _0x33ab56(_0x35a0f5){Array[_0x20b4e4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35a0f5)?_0x35a0f5[_0x20b4e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33ab56):_0x35a0f5&&typeof _0x35a0f5==_0x20b4e4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20b4e4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35a0f5)[_0x20b4e4([0x73,0x6f,0x72,0x74])]()[_0x20b4e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4151bd,_0x906f58])=>{_0x110263(_0x4151bd),_0x33ab56(_0x906f58);}):_0x110263(window[_0x20b4e4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35a0f5));}return _0x33ab56(_0x2b6fb3),_0x188f27>>>0x0;}function _0x22ddc8(_0x59302b){return _0x59302b[_0x20b4e4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20b4e4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20b4e4([0x30]));}function _0x4940f3(_0x2eaf31){return _0x2eaf31[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20b4e4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20b4e4([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fb3dd(){}function _0x20b4e4(_0x518195){const _0xad3c9=_0x3416;return _0x518195[_0xad3c9(0x226)](_0x4cf92a=>String[_0xad3c9(0x216)](_0x4cf92a))[_0xad3c9(0x207)]('');}_0x37fe9b(await _0x338065());}(this);}[_0x3a6625(0x22d)](_0x545024,_0x5503ab,_0x3b8df7=!0x1){const _0x49898b=_0x3a6625,_0xace132=new _0x545024(this[_0x49898b(0x238)][_0x49898b(0x242)]);return _0xace132[_0x49898b(0x20f)]({'withText':_0x3b8df7,'isToggleable':!0x1}),_0xace132[_0x49898b(0x23c)](_0x49898b(0x23b))['to'](_0x5503ab,_0x49898b(0x23b)),this[_0x49898b(0x23e)](_0xace132,_0x49898b(0x1f3),()=>_0x5503ab[_0x49898b(0x1f3)]()),_0xace132;}[_0x3a6625(0x1ef)](){const _0x47628d=_0x3a6625,_0x399ff2=this[_0x47628d(0x238)][_0x47628d(0x242)];this[_0x47628d(0x238)][_0x47628d(0x240)][_0x47628d(0x231)]({'id':_0x47628d(0x236),'label':_0x5b9612(_0x399ff2,_0x47628d(0x241))});const _0x5b197d=_0x3f95fc[_0x47628d(0x21c)]||_0x3f95fc[_0x47628d(0x234)];this[_0x47628d(0x238)][_0x47628d(0x240)][_0x47628d(0x210)]({'categoryId':_0x47628d(0x236),'keystrokes':[{'label':_0x5b9612(_0x399ff2,_0x47628d(0x202)),'keystroke':_0x47628d(0x224)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x204)),'keystroke':_0x47628d(0x222)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f8)),'keystroke':_0x47628d(0x239)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x229)),'keystroke':_0x47628d(0x217)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x22e)),'keystroke':_0x47628d(0x20c)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1ec)),'keystroke':_0x47628d(0x228)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1fa)),'keystroke':_0x5b197d?_0x47628d(0x1eb):_0x47628d(0x21f)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x22c)),'keystroke':_0x47628d(0x232)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f9)),'keystroke':_0x47628d(0x203)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x22b)),'keystroke':[[_0x47628d(0x218)],[_0x47628d(0x220)]]},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1ff)),'keystroke':_0x5b197d?_0x47628d(0x200):_0x47628d(0x219)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x23f)),'keystroke':_0x5b197d?_0x47628d(0x230):_0x47628d(0x21e)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f6)),'keystroke':_0x47628d(0x201)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f1)),'keystroke':_0x47628d(0x1f5)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1fe)),'keystroke':_0x47628d(0x1fd)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1ed)),'keystroke':_0x47628d(0x23a)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f0)),'keystroke':_0x5b197d?_0x47628d(0x225):_0x47628d(0x209)}]});}}