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

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 _0x6dd4f6,PendingActions as _0x5b16ed,Plugin as _0x5126e7}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x512ab8,formatHtml as _0x10538a,env as _0x3e3bc7,uid as _0x45986b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x4298c7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x280849,ButtonView as _0x67635b,MenuBarMenuListItemButtonView as _0x370744}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1aed5c,crosshairCursor as _0x106eab,drawSelection as _0x12e9f7,dropCursor as _0x1cf7e8,lineNumbers as _0x17bc6a,highlightActiveLine as _0x140d5,highlightActiveLineGutter as _0x5bc810,highlightSpecialChars as _0x53ce35,rectangularSelection as _0x2f1fa3,keymap as _0x381f7e}from'@codemirror/view';import{Compartment as _0x58fac4,Transaction as _0x29f323}from'@codemirror/state';import{bracketMatching as _0x150166,foldGutter as _0x30545c,indentOnInput as _0x10c7ca,syntaxHighlighting as _0x1e5b94,defaultHighlightStyle as _0x28863a,foldKeymap as _0x5679e6}from'@codemirror/language';import{toggleTabFocusMode as _0x4f0123,history as _0x71947b,defaultKeymap as _0x108e95,historyKeymap as _0x3905f7,indentLess as _0x19beb0,indentMore as _0x4af021,redo as _0x15af6e,undo as _0x154605}from'@codemirror/commands';import{autocompletion as _0x327b8a,closeBrackets as _0x42f216,closeBracketsKeymap as _0x378ee8,completionKeymap as _0x390cf4}from'@codemirror/autocomplete';import{html as _0x22b3a1}from'@codemirror/lang-html';import{markdown as _0x16fc09}from'@codemirror/lang-markdown';import{oneDark as _0xe84721}from'@codemirror/theme-one-dark';function w(_0x2b0290,_0x1cebb4){const t=_0x2b0290['t'];switch(_0x1cebb4){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 _0x1cebb4;}}function r(_0x41aaf2){const _0x1137db=_0x41aaf2['editing']['view']['document']['roots'],_0x5eb9f3=_0x1137db['length'];if(0x0===_0x5eb9f3)throw new _0x512ab8('source-editing-enhanced-editor-no-root',_0x41aaf2);if(0x1===_0x5eb9f3)return _0x1137db['first']['rootName'];return Array['from'](_0x41aaf2['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x29738b){return X(_0x29738b['replace'](/^[\n\s]*/g,''))?_0x29738b['replace'](/\s+/g,''):_0x29738b;}function X(_0x5d2972){return _0x5d2972['startsWith']('<');}function Y(_0x4af6d7){const _0x5def3a=[_0x1aed5c['lineWrapping'],_0x327b8a(),_0x150166(),_0x42f216(),_0x106eab(),_0x12e9f7(),_0x1cf7e8(),_0x17bc6a(),_0x30545c(),_0x140d5(),_0x5bc810(),_0x53ce35(),_0x71947b(),_0x10c7ca(),_0x2f1fa3(),_0x1e5b94(_0x28863a,{'fallback':!0x0})],_0x35957f=new _0x58fac4();_0x5def3a['push'](_0x35957f['of'](_0x1aed5c['editable']['of'](!0x0))),'html'===_0x4af6d7['syntaxLanguage']?_0x5def3a['push'](_0x22b3a1()):_0x5def3a['push'](_0x16fc09());const _0x34c126=function(_0x48d8df){if(_0x48d8df&&'default'!==_0x48d8df)return'dark'===_0x48d8df?_0xe84721:_0x48d8df;return null;}(_0x4af6d7['theme']);_0x34c126&&_0x5def3a['push'](_0x34c126),_0x5def3a['push'](_0x381f7e['of']([..._0x378ee8,..._0x108e95,..._0x3905f7,..._0x5679e6,..._0x390cf4,{'key':'Tab','run':_0x4af021,'shift':_0x19beb0,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x15af6e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x15af6e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x154605,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x143369=new _0x1aed5c({'extensions':_0x5def3a,'parent':_0x4af6d7['parent']});return _0x4f0123(_0x143369),{'focus':()=>{_0x143369['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x143369['focus']();},'getData':()=>_0x143369['state']['doc']['toString'](),'setData':_0x79eb60=>{_0x143369['dispatch']({'changes':{'from':0x0,'to':_0x143369['state']['doc']['length'],'insert':_0x79eb60},'annotations':_0x29f323['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1eeaba=>{_0x143369['dispatch']({'effects':[_0x35957f['reconfigure'](_0x1aed5c['editable']['of'](!_0x1eeaba))]});},'destroy':()=>{_0x143369['destroy']();},'instance':_0x143369};}class ee extends _0x280849{['_codeEditorApi']=null;['_options'];constructor(_0x200eb0,_0x132192){super(_0x200eb0),this['_options']=_0x132192,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']=Y({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x278b2f,_0x3cc5ec,_0x33084c)=>{this['setReadOnly'](_0x33084c);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4533e8){this['_codeEditorApi']['setData'](_0x4533e8);}['setReadOnly'](_0x41e1ae){this['_codeEditorApi']['setReadOnly'](_0x41e1ae);}}const te='SourceEditingEnhancedMode';class d extends _0x6dd4f6{constructor(_0x157523){super(_0x157523),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5b16ed)['on']('change:hasAny',(_0x534659,_0x1a7889,_0x282328)=>{_0x282328?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x15e9dd=this['editor'];for(const _0x5fe279 of _0x15e9dd['commands']['names']())['replaceSource','editSource']['includes'](_0x5fe279)||_0x15e9dd['commands']['get'](_0x5fe279)['forceDisabled'](te);}['_enableCommands'](){const _0x15bcab=this['editor'];for(const _0x14617c of _0x15bcab['commands']['commands']())_0x14617c['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4cdbe4=this['editor'],_0x4d4a28=_0x4cdbe4['locale'],_0x49b59e=_0x4cdbe4['plugins']['get']('Dialog'),_0x359716=r(_0x4cdbe4),_0x4a7027=_0x4cdbe4['data']['get']({'rootName':_0x359716}),_0x1ea6cc=X(_0x42b4b3=_0x4a7027)?_0x10538a(_0x42b4b3):_0x42b4b3;var _0x42b4b3;const _0x4fb9f3=new ee(_0x4d4a28,{'syntaxLanguage':_0x4cdbe4['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4cdbe4['config']['get']('sourceEditingEnhanced.theme')});let _0x15389e=!0x0;const _0x18576c=_0xe0e725=>{if(!_0x15389e)return;return $(_0x4fb9f3['getData']())!==$(_0x1ea6cc)?window['confirm'](w(_0x4d4a28,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0xe0e725['stop']():void 0x0;};_0x49b59e['show']({'id':'sourceEditingEnhanced','title':w(_0x4d4a28,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4fb9f3,'actionButtons':[{'label':w(_0x4d4a28,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x49b59e['hide']();}},{'label':w(_0x4d4a28,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x342518=$(_0x4fb9f3['getData']())!==$(_0x1ea6cc);(_0x342518&&_0x4cdbe4['execute']('replaceSource',_0x4fb9f3['getData']()),_0x15389e=!0x1,_0x49b59e['hide'](),_0x342518&&'editables'in _0x4cdbe4['ui']['view'])&&_0x4cdbe4['ui']['view']['editables'][_0x359716]['element']['focus']();},'onCreate':_0x17d236=>{_0x17d236['set']('isEnabled',!_0x4cdbe4['isReadOnly']),_0x17d236['bind']('isEnabled')['to'](_0x4cdbe4,'isReadOnly',this,'isEnabled',(_0xaf5c99,_0x38475e)=>!_0xaf5c99&&_0x38475e);}}],'onHide':()=>{this['_enableCommands'](),_0x49b59e['off']('hide',_0x18576c),_0x4fb9f3['destroy']();},'onShow':()=>{_0x4fb9f3['bind']('isReadOnly')['to'](_0x4cdbe4,'isReadOnly',this,'isEnabled',(_0x3ab740,_0x29abf0)=>_0x3ab740||!_0x29abf0),_0x4fb9f3['setData'](_0x1ea6cc),_0x4fb9f3['focus'](),_0x49b59e['on']('hide',_0x18576c,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x5126e7{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5b16ed];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x12b3f8=this['editor'],_0x370287=_0x12b3f8['locale'],_0x27a935=new d(_0x12b3f8);_0x12b3f8['commands']['add']('editSource',_0x27a935),_0x12b3f8['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x33d608=this['_createButton'](_0x67635b,_0x27a935);return _0x33d608['set']({'label':w(_0x370287,'Source'),'icon':_0x4298c7,'tooltip':w(_0x370287,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x33d608;}),_0x12b3f8['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x47188d=this['_createButton'](_0x370744,_0x27a935,!0x0);return _0x47188d['set']({'label':w(_0x370287,'Edit\x20source\x20modal\x20label'),'icon':_0x4298c7,'role':'menuitemcheckbox'}),_0x47188d;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xa37e3e){const _0x2b28d1=_0x12ae00([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x2805e3=0x5dba9314,_0x2194e0=0x5dbded2c^_0x2805e3,_0x55ef06=window[_0x12ae00([0x44,0x61,0x74,0x65])][_0x12ae00([0x6e,0x6f,0x77])](),_0x5b59d5=_0xa37e3e[_0x12ae00([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x107242=new window[(_0x12ae00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50db21=>{_0x5b59d5[_0x12ae00([0x6f,0x6e,0x63,0x65])](_0x12ae00([0x72,0x65,0x61,0x64,0x79]),_0x50db21);}),_0x1b3367={[_0x12ae00([0x6b,0x74,0x79])]:_0x12ae00([0x45,0x43]),[_0x12ae00([0x75,0x73,0x65])]:_0x12ae00([0x73,0x69,0x67]),[_0x12ae00([0x63,0x72,0x76])]:_0x12ae00([0x50,0x2d,0x32,0x35,0x36]),[_0x12ae00([0x78])]:_0x12ae00([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]),[_0x12ae00([0x79])]:_0x12ae00([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]),[_0x12ae00([0x61,0x6c,0x67])]:_0x12ae00([0x45,0x53,0x32,0x35,0x36])},_0xd16f26=_0x5b59d5[_0x12ae00([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12ae00([0x67,0x65,0x74])](_0x12ae00([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f8e9e(){let _0x4acef3,_0x1c6afa=null,_0x5696e6=null;try{if(_0xd16f26==_0x12ae00([0x47,0x50,0x4c]))return _0x12ae00([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4acef3=_0x240f2(),!_0x4acef3)return _0x12ae00([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4acef3[_0x12ae00([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5696e6=_0x3595df(_0x4acef3[_0x12ae00([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4acef3[_0x12ae00([0x6a,0x74,0x69])])),await _0x580422()?_0x100cf9()?_0x585038()?_0x12ae00([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5401c5()?(_0x4acef3[_0x12ae00([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ae00([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c6afa=_0x39fc76(_0x12ae00([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x238385()):_0x12ae00([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12ae00([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12ae00([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12ae00([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x585038(){const _0x4c79e3=[_0x12ae00([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12ae00([0x74,0x72,0x69,0x61,0x6c])][_0x12ae00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4acef3[_0x12ae00([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55ef06/0x3e8:0xe10*_0x2194e0;return _0x4acef3[_0x12ae00([0x65,0x78,0x70])]<_0x4c79e3;}function _0x100cf9(){const _0x105078=_0x4acef3[_0x12ae00([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x105078&&(!!_0x105078[_0x12ae00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ae00([0x2a]))||!!_0x105078[_0x12ae00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ae00([0x53,0x45,0x45])));}function _0x5401c5(){const _0x59f5cb=_0x4acef3[_0x12ae00([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59f5cb||0x0==_0x59f5cb[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x172b6e}=new URL(window[_0x12ae00([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x59f5cb[_0x12ae00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x172b6e))return!0x0;const _0x4654b4=_0x172b6e[_0x12ae00([0x73,0x70,0x6c,0x69,0x74])](_0x12ae00([0x2e]));return _0x59f5cb[_0x12ae00([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12fbd7=>_0x12fbd7[_0x12ae00([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ae00([0x2a])))[_0x12ae00([0x6d,0x61,0x70])](_0x24d9c2=>_0x24d9c2[_0x12ae00([0x73,0x70,0x6c,0x69,0x74])](_0x12ae00([0x2e])))[_0x12ae00([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53f14c=>_0x53f14c[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4654b4[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ae00([0x6d,0x61,0x70])](_0x1c97e5=>Array(_0x4654b4[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c97e5[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ae00([0x66,0x69,0x6c,0x6c])](_0x1c97e5[0x0]===_0x12ae00([0x2a])?_0x12ae00([0x2a]):'')[_0x12ae00([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c97e5))[_0x12ae00([0x73,0x6f,0x6d,0x65])](_0x17a8c3=>_0x4654b4[_0x12ae00([0x65,0x76,0x65,0x72,0x79])]((_0x1e08b9,_0x548a49)=>_0x17a8c3[_0x548a49]===_0x1e08b9||_0x17a8c3[_0x548a49]===_0x12ae00([0x2a])));}function _0x238385(){return _0x1c6afa&&_0x5696e6?new window[(_0x12ae00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5aa6e5,_0x18cee2)=>{_0x1c6afa[_0x12ae00([0x74,0x68,0x65,0x6e])](_0x5aa6e5,_0x18cee2),_0x5696e6[_0x12ae00([0x74,0x68,0x65,0x6e])](_0x4f8a23=>{_0x4f8a23!=_0x12ae00([0x56,0x61,0x6c,0x69,0x64])&&_0x5aa6e5(_0x4f8a23);},_0x18cee2);}):_0x1c6afa||_0x5696e6||_0x12ae00([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3595df(_0x490761,_0x4e8ca5){return new window[(_0x12ae00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31e309=>{if(_0x1c4235())return _0x31e309(_0x12ae00([0x56,0x61,0x6c,0x69,0x64]));_0x400a42(),_0x5b59d5[_0x12ae00([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12ae00([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52ea54=!0x1;const _0x2906ec=_0x45986b();function _0x138b6c(_0x52cc02){return!!_0x52cc02&&(typeof _0x52cc02===_0x12ae00([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x52cc02===_0x12ae00([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x52cc02[_0x12ae00([0x74,0x68,0x65,0x6e])]===_0x12ae00([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x52cc02[_0x12ae00([0x63,0x61,0x74,0x63,0x68])]===_0x12ae00([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17eff2(_0xeba6f7){_0x96173b(_0xeba6f7)[_0x12ae00([0x74,0x68,0x65,0x6e])](_0x44d3aa=>{if(!_0x44d3aa||_0x44d3aa[_0x12ae00([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12ae00([0x6f,0x6b]))return _0x12ae00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5101bf(_0x18ce06(_0x2906ec+_0x4e8ca5))!=_0x44d3aa[_0x12ae00([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12ae00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12ae00([0x56,0x61,0x6c,0x69,0x64]);})[_0x12ae00([0x74,0x68,0x65,0x6e])](_0x5a9539=>(_0x502b53(),_0x5a9539),()=>{const _0x4a3751=_0x13a3d7();return null==_0x4a3751?(_0x502b53(),_0x12ae00([0x56,0x61,0x6c,0x69,0x64])):_0x12ae00(_0x55ef06-_0x4a3751>(0x79b61714^_0x2805e3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12ae00([0x74,0x68,0x65,0x6e])](_0x31e309)[_0x12ae00([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31e309(_0x12ae00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x342889=0x5d8c7d94^_0x2805e3;function _0x502b53(){const _0x1c9a62=_0x12ae00([0x6c,0x6c,0x63,0x74,0x2d])+_0x5101bf(_0x18ce06(_0x490761)),_0x3b0e62=_0x2466bc(_0x5101bf(window[_0x12ae00([0x4d,0x61,0x74,0x68])][_0x12ae00([0x63,0x65,0x69,0x6c])](_0x55ef06/_0x342889)));window[_0x12ae00([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ae00([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c9a62,_0x3b0e62);}function _0x13a3d7(){const _0x510289=_0x12ae00([0x6c,0x6c,0x63,0x74,0x2d])+_0x5101bf(_0x18ce06(_0x490761)),_0x567adb=window[_0x12ae00([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ae00([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x510289);return _0x567adb?window[_0x12ae00([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2466bc(_0x567adb),0x10)*_0x342889:null;}function _0x96173b(_0xd6f678){return new window[(_0x12ae00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bcb6f,_0x24b94f)=>{_0xd6f678[_0x12ae00([0x74,0x68,0x65,0x6e])](_0x1bcb6f,_0x24b94f),window[_0x12ae00([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24b94f,0x5dbb47d4^_0x2805e3);});}}_0x5b59d5[_0x12ae00([0x6f,0x6e])](_0x12ae00([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2649d4,_0x269dd2)=>{if(_0x269dd2[0x0]!=_0x490761)return _0x31e309(_0x12ae00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x269dd2[0x1]={..._0x269dd2[0x1],[_0x12ae00([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2906ec};},{[_0x12ae00([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ae00([0x68,0x69,0x67,0x68])}),_0x5b59d5[_0x12ae00([0x6f,0x6e])](_0x12ae00([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11563c=>{_0x138b6c(_0x11563c[_0x12ae00([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52ea54=!0x0,_0x17eff2(_0x11563c[_0x12ae00([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12ae00([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ae00([0x6c,0x6f,0x77])}),_0x107242[_0x12ae00([0x74,0x68,0x65,0x6e])](()=>{_0x52ea54||_0x31e309(_0x12ae00([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c4235(){return _0x5b59d5[_0x12ae00([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ae00([0x76,0x69,0x65,0x77])][_0x12ae00([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12ae00([0x61,0x75,0x74,0x6f]);}function _0x400a42(){_0x5b59d5[_0x12ae00([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ae00([0x76,0x69,0x65,0x77])][_0x12ae00([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12ae00([0x61,0x75,0x74,0x6f]);}}function _0x39fc76(_0x26c8a2){const _0x2039f0=[new window[(_0x12ae00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24f916=>setTimeout(_0x24f916,0x5db3add8^_0x2805e3)),_0x107242[_0x12ae00([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12ae00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x341c09=>{let _0x16d728=0x0;_0x5b59d5[_0x12ae00([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ae00([0x6f,0x6e])](_0x12ae00([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32d6ef,_0x391362)=>{_0x391362[0x0][_0x12ae00([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16d728++,_0x16d728==(0x5dba96fc^_0x2805e3)&&(_0x341c09(),_0x32d6ef[_0x12ae00([0x6f,0x66,0x66])]());});}))];return window[_0x12ae00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12ae00([0x72,0x61,0x63,0x65])](_0x2039f0)[_0x12ae00([0x74,0x68,0x65,0x6e])](()=>_0x26c8a2);}async function _0x4673d7(){await _0x107242,_0x5b59d5[_0x12ae00([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ae00([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1224d2,_0x5b59d5[_0x12ae00([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ae00([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1224d2,_0x5b59d5[_0x12ae00([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12ae00([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53bd83(_0x2b17c6){const _0x3659d7=_0x588d87();_0x5b59d5[_0x3659d7]=_0x12ae00([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])+_0x2b17c6,_0x2b17c6!=_0x12ae00([0x56,0x61,0x6c,0x69,0x64])&&_0x4673d7();}function _0x588d87(){const _0x5a1aee=window[_0x12ae00([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12ae00([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12ae00([0x6e,0x6f,0x77])]())[_0x12ae00([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12ae00([0x2e]),'');let _0x1cfb60=_0x12ae00([0x4e]);for(let _0x216076=0x0;_0x216076<_0x5a1aee[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x216076+=0x2){let _0x175202=window[_0x12ae00([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a1aee[_0x12ae00([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x216076,_0x216076+0x2));_0x175202>=_0x2b28d1[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x175202-=_0x2b28d1[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1cfb60+=_0x2b28d1[_0x175202];}return _0x1cfb60;}function _0x240f2(){const _0x49338c=_0xd16f26[_0x12ae00([0x73,0x70,0x6c,0x69,0x74])](_0x12ae00([0x2e]));if(0x3!=_0x49338c[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ebecc(_0x49338c[0x1]);function _0x3ebecc(_0x41add7){const _0x3b943f=_0x50c9eb(_0x41add7);return _0x3b943f&&_0x82105e()?_0x3b943f:null;function _0x82105e(){const _0x4b7456=_0x3b943f[_0x12ae00([0x6a,0x74,0x69])],_0x958548=window[_0x12ae00([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b7456[_0x12ae00([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b7456[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x29be74={..._0x3b943f,[_0x12ae00([0x6a,0x74,0x69])]:_0x4b7456[_0x12ae00([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b7456[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x29be74[_0x12ae00([0x76,0x63])],_0x18ce06(_0x29be74)==_0x958548;}}}async function _0x580422(){let _0x324840=!0x0;try{const _0x1691a5=_0xd16f26[_0x12ae00([0x73,0x70,0x6c,0x69,0x74])](_0x12ae00([0x2e])),[_0x5834a6,_0x3bb287,_0x5287c8]=_0x1691a5;return _0xcfe7da(_0x5834a6),await _0xa2a196(_0x5834a6,_0x3bb287,_0x5287c8),_0x324840;}catch{return!0x1;}function _0xcfe7da(_0x5b1c56){const _0x254ccd=_0x50c9eb(_0x5b1c56);_0x254ccd&&_0x254ccd[_0x12ae00([0x61,0x6c,0x67])]==_0x12ae00([0x45,0x53,0x32,0x35,0x36])||(_0x324840=!0x1);}async function _0xa2a196(_0x51ce0c,_0x3a0709,_0x52f17d){const _0x37795e=window[_0x12ae00([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12ae00([0x66,0x72,0x6f,0x6d])](_0x311de9(_0x52f17d),_0x51034f=>_0x51034f[_0x12ae00([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3bac42=new window[(_0x12ae00([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12ae00([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51ce0c+_0x12ae00([0x2e])+_0x3a0709),_0x5b7dec=window[_0x12ae00([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12ae00([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b7dec)return;const _0x1ee88c=await _0x5b7dec[_0x12ae00([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12ae00([0x6a,0x77,0x6b]),_0x1b3367,{[_0x12ae00([0x6e,0x61,0x6d,0x65])]:_0x12ae00([0x45,0x43,0x44,0x53,0x41]),[_0x12ae00([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12ae00([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12ae00([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b7dec[_0x12ae00([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12ae00([0x6e,0x61,0x6d,0x65])]:_0x12ae00([0x45,0x43,0x44,0x53,0x41]),[_0x12ae00([0x68,0x61,0x73,0x68])]:{[_0x12ae00([0x6e,0x61,0x6d,0x65])]:_0x12ae00([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ee88c,_0x37795e,_0x3bac42)||(_0x324840=!0x1);}}function _0x50c9eb(_0x549225){return _0x549225[_0x12ae00([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12ae00([0x65,0x79]))?JSON[_0x12ae00([0x70,0x61,0x72,0x73,0x65])](_0x311de9(_0x549225)):null;}function _0x311de9(_0xd39f29){return window[_0x12ae00([0x61,0x74,0x6f,0x62])](_0xd39f29[_0x12ae00([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12ae00([0x2b]))[_0x12ae00([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12ae00([0x2f])));}function _0x18ce06(_0x2558e3){let _0x1a1847=0x1505;function _0x3e5744(_0x46e775){for(let _0x11db20=0x0;_0x11db20<_0x46e775[_0x12ae00([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11db20++){const _0x3eb33b=_0x46e775[_0x12ae00([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11db20);_0x1a1847=(_0x1a1847<<0x5)+_0x1a1847+_0x3eb33b,_0x1a1847&=_0x1a1847;}}function _0x453566(_0x291b0d){Array[_0x12ae00([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x291b0d)?_0x291b0d[_0x12ae00([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x453566):_0x291b0d&&typeof _0x291b0d==_0x12ae00([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12ae00([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x291b0d)[_0x12ae00([0x73,0x6f,0x72,0x74])]()[_0x12ae00([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xda140e,_0x22aa7c])=>{_0x3e5744(_0xda140e),_0x453566(_0x22aa7c);}):_0x3e5744(window[_0x12ae00([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x291b0d));}return _0x453566(_0x2558e3),_0x1a1847>>>0x0;}function _0x5101bf(_0x5c5975){return _0x5c5975[_0x12ae00([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12ae00([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12ae00([0x30]));}function _0x2466bc(_0x350734){return _0x350734[_0x12ae00([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12ae00([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12ae00([0x6a,0x6f,0x69,0x6e])]('');}function _0x1224d2(){}function _0x12ae00(_0x61d8ef){return _0x61d8ef['map'](_0x45beeb=>String['fromCharCode'](_0x45beeb))['join']('');}_0x53bd83(await _0x1f8e9e());}(this);}['_createButton'](_0x558a72,_0x21b82f,_0x507aa6=!0x1){const _0x35e3e5=new _0x558a72(this['editor']['locale']);return _0x35e3e5['set']({'withText':_0x507aa6,'isToggleable':!0x1}),_0x35e3e5['bind']('isEnabled')['to'](_0x21b82f,'isEnabled'),this['listenTo'](_0x35e3e5,'execute',()=>_0x21b82f['execute']()),_0x35e3e5;}['_registerKeybindings'](){const _0x1eeb97=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x1eeb97,'Source\x20Editing\x20Enhanced')});const _0x37adfd=_0x3e3bc7['isMac']||_0x3e3bc7['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x1eeb97,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x1eeb97,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x1eeb97,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x1eeb97,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x1eeb97,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x1eeb97,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x1eeb97,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x37adfd?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x1eeb97,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x1eeb97,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x1eeb97,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x1eeb97,'Select\x20line'),'keystroke':_0x37adfd?'Ctrl!+L':'Alt+L'},{'label':w(_0x1eeb97,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x37adfd?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x1eeb97,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x1eeb97,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x1eeb97,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x1eeb97,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x1eeb97,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x37adfd?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x6dd4f6{constructor(_0x697e37){super(_0x697e37),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x42fcaf,_0x1604dd){const _0x2fca7c=this['editor'],_0x35cc52=_0x1604dd?.['rootName']??r(_0x2fca7c);_0x2fca7c['data']['set']({[_0x35cc52]:_0x42fcaf},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ne extends _0x5126e7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x229e7e){super(_0x229e7e),_0x229e7e['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xcae9c9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5430d2;for(const _0x997f3f in _0xcae9c9){const _0x3d859f=_0x997f3f,_0x4f356e=_0xcae9c9[_0x3d859f];if('sourceEditingEnhancedLicenseKeyValid'==_0x4f356e||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4f356e||'sourceEditingEnhancedLicenseKeyExpired'==_0x4f356e||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4f356e||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4f356e||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4f356e||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4f356e){delete _0xcae9c9[_0x3d859f],_0x5430d2=_0x4f356e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x5430d2&&_0xcae9c9['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x5430d2&&_0xcae9c9['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5430d2&&_0xcae9c9['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5430d2&&_0xcae9c9['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5430d2&&_0xcae9c9['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5430d2&&_0xcae9c9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1caaaf=this['editor'],_0x31b3ef=_0x1caaaf['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x31b3ef&&_0x1caaaf['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x512ab8('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x31b3ef&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x50bdf1=>_0x1caaaf['plugins']['has'](_0x50bdf1))&&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.'),_0x1caaaf['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ne as SourceEditingEnhanced};
23
+ import{Command as _0x57507b,PendingActions as _0x44edd5,Plugin as _0x48800b}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4412ad,formatHtml as _0x364c23,env as _0x141973,uid as _0x1a639c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x35d5ce}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1654d8,ButtonView as _0x40cfa0,MenuBarMenuListItemButtonView as _0x21b589}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x386f9c,crosshairCursor as _0x431175,drawSelection as _0x3f8a25,dropCursor as _0xe99756,lineNumbers as _0x586539,highlightActiveLine as _0x342d7e,highlightActiveLineGutter as _0x2bd77c,highlightSpecialChars as _0xbf80ad,rectangularSelection as _0x2af508,keymap as _0x368bea}from'@codemirror/view';import{Compartment as _0x2c0c1b,Transaction as _0x325b08}from'@codemirror/state';import{bracketMatching as _0x99623e,foldGutter as _0x32e5a4,indentOnInput as _0x2f69cb,syntaxHighlighting as _0x51edee,defaultHighlightStyle as _0x48f5ce,foldKeymap as _0x728d99}from'@codemirror/language';import{toggleTabFocusMode as _0x4b3817,history as _0x5a12c4,defaultKeymap as _0x3c1190,historyKeymap as _0x5bcdee,indentLess as _0x1eecc8,indentMore as _0x186ec6,redo as _0x21eefc,undo as _0x310e2f}from'@codemirror/commands';import{autocompletion as _0x170416,closeBrackets as _0x188164,closeBracketsKeymap as _0x5432cf,completionKeymap as _0x56baf3}from'@codemirror/autocomplete';import{html as _0x901523}from'@codemirror/lang-html';import{markdown as _0x8e4b81}from'@codemirror/lang-markdown';import{oneDark as _0x288473}from'@codemirror/theme-one-dark';function w(_0x355237,_0x34ec03){const t=_0x355237['t'];switch(_0x34ec03){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 _0x34ec03;}}function r(_0x31252c){const _0x5a97ef=_0x31252c['editing']['view']['document']['roots'],_0x2e5a4f=_0x5a97ef['length'];if(0x0===_0x2e5a4f)throw new _0x4412ad('source-editing-enhanced-editor-no-root',_0x31252c);if(0x1===_0x2e5a4f)return _0x5a97ef['first']['rootName'];return Array['from'](_0x31252c['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x282dfa){return tr(_0x282dfa['replace'](/^[\n\s]*/g,''))?_0x282dfa['replace'](/\s+/g,''):_0x282dfa;}function tr(_0x15ce25){return _0x15ce25['startsWith']('<');}function p(_0x221669){const _0x4a0160=[_0x386f9c['lineWrapping'],_0x170416(),_0x99623e(),_0x188164(),_0x431175(),_0x3f8a25(),_0xe99756(),_0x586539(),_0x32e5a4(),_0x342d7e(),_0x2bd77c(),_0xbf80ad(),_0x5a12c4(),_0x2f69cb(),_0x2af508(),_0x51edee(_0x48f5ce,{'fallback':!0x0})],_0x464692=new _0x2c0c1b();_0x4a0160['push'](_0x464692['of'](_0x386f9c['editable']['of'](!0x0))),'html'===_0x221669['syntaxLanguage']?_0x4a0160['push'](_0x901523()):_0x4a0160['push'](_0x8e4b81());const _0x367585=function(_0x497b00){if(_0x497b00&&'default'!==_0x497b00)return'dark'===_0x497b00?_0x288473:_0x497b00;return null;}(_0x221669['theme']);_0x367585&&_0x4a0160['push'](_0x367585),_0x4a0160['push'](_0x368bea['of']([..._0x5432cf,..._0x3c1190,..._0x5bcdee,..._0x728d99,..._0x56baf3,{'key':'Tab','run':_0x186ec6,'shift':_0x1eecc8,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x21eefc,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x21eefc,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x310e2f,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x27946c=new _0x386f9c({'extensions':_0x4a0160,'parent':_0x221669['parent']});return _0x4b3817(_0x27946c),{'focus':()=>{_0x27946c['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x27946c['focus']();},'getData':()=>_0x27946c['state']['doc']['toString'](),'setData':_0x3143fe=>{_0x27946c['dispatch']({'changes':{'from':0x0,'to':_0x27946c['state']['doc']['length'],'insert':_0x3143fe},'annotations':_0x325b08['addToHistory']['of'](!0x1)});},'setReadOnly':_0x194c35=>{_0x27946c['dispatch']({'effects':[_0x464692['reconfigure'](_0x386f9c['editable']['of'](!_0x194c35))]});},'destroy':()=>{_0x27946c['destroy']();},'instance':_0x27946c};}class E extends _0x1654d8{['_codeEditorApi']=null;['_options'];constructor(_0xecd47d,_0x28d887){super(_0xecd47d),this['_options']=_0x28d887,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',(_0x3053c5,_0x38d8c,_0x29bde8)=>{this['setReadOnly'](_0x29bde8);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x428f6a){this['_codeEditorApi']['setData'](_0x428f6a);}['setReadOnly'](_0x5589b8){this['_codeEditorApi']['setReadOnly'](_0x5589b8);}}const b='SourceEditingEnhancedMode';class d extends _0x57507b{constructor(_0x589b7a){super(_0x589b7a),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x44edd5)['on']('change:hasAny',(_0x44b9d1,_0xcba56e,_0x550ca0)=>{_0x550ca0?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x1defcb=this['editor'];for(const _0x48c243 of _0x1defcb['commands']['names']())['replaceSource','editSource']['includes'](_0x48c243)||_0x1defcb['commands']['get'](_0x48c243)['forceDisabled'](b);}['_enableCommands'](){const _0x1eedf2=this['editor'];for(const _0x40f2da of _0x1eedf2['commands']['commands']())_0x40f2da['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x495915=this['editor'],_0x144d3e=_0x495915['locale'],_0x5af780=_0x495915['plugins']['get']('Dialog'),_0x1536fa=r(_0x495915),_0x223736=_0x495915['data']['get']({'rootName':_0x1536fa}),_0x741a45=tr(_0x1e221a=_0x223736)?_0x364c23(_0x1e221a):_0x1e221a;var _0x1e221a;const _0x57bf53=new E(_0x144d3e,{'syntaxLanguage':_0x495915['plugins']['has']('Markdown')?'markdown':'html','theme':_0x495915['config']['get']('sourceEditingEnhanced.theme')});let _0x334755=!0x0;const _0x1d1afb=_0x24be03=>{if(!_0x334755)return;return g(_0x57bf53['getData']())!==g(_0x741a45)?window['confirm'](w(_0x144d3e,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x24be03['stop']():void 0x0;};_0x5af780['show']({'id':'sourceEditingEnhanced','title':w(_0x144d3e,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x57bf53,'actionButtons':[{'label':w(_0x144d3e,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5af780['hide']();}},{'label':w(_0x144d3e,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x19b3ed=g(_0x57bf53['getData']())!==g(_0x741a45);(_0x19b3ed&&_0x495915['execute']('replaceSource',_0x57bf53['getData']()),_0x334755=!0x1,_0x5af780['hide'](),_0x19b3ed&&'editables'in _0x495915['ui']['view'])&&_0x495915['ui']['view']['editables'][_0x1536fa]['element']['focus']();},'onCreate':_0x102375=>{_0x102375['set']('isEnabled',!_0x495915['isReadOnly']),_0x102375['bind']('isEnabled')['to'](_0x495915,'isReadOnly',this,'isEnabled',(_0x7f8d08,_0x31a7f2)=>!_0x7f8d08&&_0x31a7f2);}}],'onHide':()=>{this['_enableCommands'](),_0x5af780['off']('hide',_0x1d1afb),_0x57bf53['destroy']();},'onShow':()=>{_0x57bf53['bind']('isReadOnly')['to'](_0x495915,'isReadOnly',this,'isEnabled',(_0x49b401,_0x42cdfb)=>_0x49b401||!_0x42cdfb),_0x57bf53['setData'](_0x741a45),_0x57bf53['focus'](),_0x5af780['on']('hide',_0x1d1afb,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x48800b{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x44edd5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x43610f=this['editor'],_0x42fa26=_0x43610f['locale'],_0x40643e=new d(_0x43610f);_0x43610f['commands']['add']('editSource',_0x40643e),_0x43610f['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x16a6b3=this['_createButton'](_0x40cfa0,_0x40643e);return _0x16a6b3['set']({'label':w(_0x42fa26,'Source'),'icon':_0x35d5ce,'tooltip':w(_0x42fa26,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x16a6b3;}),_0x43610f['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x103f39=this['_createButton'](_0x21b589,_0x40643e,!0x0);return _0x103f39['set']({'label':w(_0x42fa26,'Edit\x20source\x20modal\x20label'),'icon':_0x35d5ce,'role':'menuitemcheckbox'}),_0x103f39;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x46b3aa){const _0x1d45f9=_0x7bfffd([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x2fd6ce=0x5dba9314,_0x9fd47b=0x5dbded44^_0x2fd6ce,_0x51ff69=window[_0x7bfffd([0x44,0x61,0x74,0x65])][_0x7bfffd([0x6e,0x6f,0x77])](),_0x3ba406=_0x46b3aa[_0x7bfffd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d81ac=new window[(_0x7bfffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x348bc7=>{_0x3ba406[_0x7bfffd([0x6f,0x6e,0x63,0x65])](_0x7bfffd([0x72,0x65,0x61,0x64,0x79]),_0x348bc7);}),_0x20fd2b={[_0x7bfffd([0x6b,0x74,0x79])]:_0x7bfffd([0x45,0x43]),[_0x7bfffd([0x75,0x73,0x65])]:_0x7bfffd([0x73,0x69,0x67]),[_0x7bfffd([0x63,0x72,0x76])]:_0x7bfffd([0x50,0x2d,0x32,0x35,0x36]),[_0x7bfffd([0x78])]:_0x7bfffd([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]),[_0x7bfffd([0x79])]:_0x7bfffd([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]),[_0x7bfffd([0x61,0x6c,0x67])]:_0x7bfffd([0x45,0x53,0x32,0x35,0x36])},_0x52db9a=_0x3ba406[_0x7bfffd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7bfffd([0x67,0x65,0x74])](_0x7bfffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x458404(){let _0x439229,_0x4d441e=null,_0xe92de1=null;try{if(_0x52db9a==_0x7bfffd([0x47,0x50,0x4c]))return _0x7bfffd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x439229=_0x5ce6e8(),!_0x439229)return _0x7bfffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x439229[_0x7bfffd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe92de1=_0x1ae5ee(_0x439229[_0x7bfffd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x439229[_0x7bfffd([0x6a,0x74,0x69])])),await _0x3c79ea()?_0x497cd2()?_0x162bf5()?_0x7bfffd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20c4cd()?(_0x439229[_0x7bfffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7bfffd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d441e=_0x49f9ed(_0x7bfffd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x449466()):_0x7bfffd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7bfffd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7bfffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7bfffd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x162bf5(){const _0x2c11c1=[_0x7bfffd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7bfffd([0x74,0x72,0x69,0x61,0x6c])][_0x7bfffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x439229[_0x7bfffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51ff69/0x3e8:0xe10*_0x9fd47b;return _0x439229[_0x7bfffd([0x65,0x78,0x70])]<_0x2c11c1;}function _0x497cd2(){const _0xa2d0d0=_0x439229[_0x7bfffd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa2d0d0&&(!!_0xa2d0d0[_0x7bfffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7bfffd([0x2a]))||!!_0xa2d0d0[_0x7bfffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7bfffd([0x53,0x45,0x45])));}function _0x20c4cd(){const _0xf02a9f=_0x439229[_0x7bfffd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf02a9f||0x0==_0xf02a9f[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2af11b}=new URL(window[_0x7bfffd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf02a9f[_0x7bfffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2af11b))return!0x0;const _0x249fb2=_0x2af11b[_0x7bfffd([0x73,0x70,0x6c,0x69,0x74])](_0x7bfffd([0x2e]));return _0xf02a9f[_0x7bfffd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bcdbe=>_0x3bcdbe[_0x7bfffd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7bfffd([0x2a])))[_0x7bfffd([0x6d,0x61,0x70])](_0x160997=>_0x160997[_0x7bfffd([0x73,0x70,0x6c,0x69,0x74])](_0x7bfffd([0x2e])))[_0x7bfffd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f72d8=>_0x3f72d8[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x249fb2[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7bfffd([0x6d,0x61,0x70])](_0x9d9c37=>Array(_0x249fb2[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9d9c37[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7bfffd([0x66,0x69,0x6c,0x6c])](_0x9d9c37[0x0]===_0x7bfffd([0x2a])?_0x7bfffd([0x2a]):'')[_0x7bfffd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9d9c37))[_0x7bfffd([0x73,0x6f,0x6d,0x65])](_0x1a3632=>_0x249fb2[_0x7bfffd([0x65,0x76,0x65,0x72,0x79])]((_0x591535,_0x560505)=>_0x1a3632[_0x560505]===_0x591535||_0x1a3632[_0x560505]===_0x7bfffd([0x2a])));}function _0x449466(){return _0x4d441e&&_0xe92de1?new window[(_0x7bfffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23c1c3,_0x4fe815)=>{_0x4d441e[_0x7bfffd([0x74,0x68,0x65,0x6e])](_0x23c1c3,_0x4fe815),_0xe92de1[_0x7bfffd([0x74,0x68,0x65,0x6e])](_0x42e457=>{_0x42e457!=_0x7bfffd([0x56,0x61,0x6c,0x69,0x64])&&_0x23c1c3(_0x42e457);},_0x4fe815);}):_0x4d441e||_0xe92de1||_0x7bfffd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ae5ee(_0x2dfd63,_0x3dafde){return new window[(_0x7bfffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1aa0f0=>{if(_0x458b53())return _0x1aa0f0(_0x7bfffd([0x56,0x61,0x6c,0x69,0x64]));_0x5a4604(),_0x3ba406[_0x7bfffd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7bfffd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x540d04=!0x1;const _0x4408f2=_0x1a639c();function _0x7ab4c(_0x4977ea){return!!_0x4977ea&&(typeof _0x4977ea===_0x7bfffd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4977ea===_0x7bfffd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4977ea[_0x7bfffd([0x74,0x68,0x65,0x6e])]===_0x7bfffd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4977ea[_0x7bfffd([0x63,0x61,0x74,0x63,0x68])]===_0x7bfffd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1117d7(_0x1da4e5){_0x6dd8ce(_0x1da4e5)[_0x7bfffd([0x74,0x68,0x65,0x6e])](_0x1f8f35=>{if(!_0x1f8f35||_0x1f8f35[_0x7bfffd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7bfffd([0x6f,0x6b]))return _0x7bfffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e6b4f(_0x362e6e(_0x4408f2+_0x3dafde))!=_0x1f8f35[_0x7bfffd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7bfffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7bfffd([0x56,0x61,0x6c,0x69,0x64]);})[_0x7bfffd([0x74,0x68,0x65,0x6e])](_0x47c8d4=>(_0x41e069(),_0x47c8d4),()=>{const _0x4457fe=_0x4b3353();return null==_0x4457fe?(_0x41e069(),_0x7bfffd([0x56,0x61,0x6c,0x69,0x64])):_0x7bfffd(_0x51ff69-_0x4457fe>(0x79b61714^_0x2fd6ce)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7bfffd([0x74,0x68,0x65,0x6e])](_0x1aa0f0)[_0x7bfffd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1aa0f0(_0x7bfffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x526c4f=0x5d8c7d94^_0x2fd6ce;function _0x41e069(){const _0x57a264=_0x7bfffd([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e6b4f(_0x362e6e(_0x2dfd63)),_0x554800=_0x4aed3b(_0x3e6b4f(window[_0x7bfffd([0x4d,0x61,0x74,0x68])][_0x7bfffd([0x63,0x65,0x69,0x6c])](_0x51ff69/_0x526c4f)));window[_0x7bfffd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7bfffd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57a264,_0x554800);}function _0x4b3353(){const _0x5f4db0=_0x7bfffd([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e6b4f(_0x362e6e(_0x2dfd63)),_0x3b1bf1=window[_0x7bfffd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7bfffd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f4db0);return _0x3b1bf1?window[_0x7bfffd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4aed3b(_0x3b1bf1),0x10)*_0x526c4f:null;}function _0x6dd8ce(_0x1ea0d4){return new window[(_0x7bfffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x83636e,_0x990f59)=>{_0x1ea0d4[_0x7bfffd([0x74,0x68,0x65,0x6e])](_0x83636e,_0x990f59),window[_0x7bfffd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x990f59,0x5dbb47d4^_0x2fd6ce);});}}_0x3ba406[_0x7bfffd([0x6f,0x6e])](_0x7bfffd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fb49c,_0x3d5338)=>{if(_0x3d5338[0x0]!=_0x2dfd63)return _0x1aa0f0(_0x7bfffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d5338[0x1]={..._0x3d5338[0x1],[_0x7bfffd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4408f2};},{[_0x7bfffd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7bfffd([0x68,0x69,0x67,0x68])}),_0x3ba406[_0x7bfffd([0x6f,0x6e])](_0x7bfffd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4acd9a=>{_0x7ab4c(_0x4acd9a[_0x7bfffd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x540d04=!0x0,_0x1117d7(_0x4acd9a[_0x7bfffd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7bfffd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7bfffd([0x6c,0x6f,0x77])}),_0x3d81ac[_0x7bfffd([0x74,0x68,0x65,0x6e])](()=>{_0x540d04||_0x1aa0f0(_0x7bfffd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x458b53(){return _0x3ba406[_0x7bfffd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7bfffd([0x76,0x69,0x65,0x77])][_0x7bfffd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7bfffd([0x61,0x75,0x74,0x6f]);}function _0x5a4604(){_0x3ba406[_0x7bfffd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7bfffd([0x76,0x69,0x65,0x77])][_0x7bfffd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7bfffd([0x61,0x75,0x74,0x6f]);}}function _0x49f9ed(_0x5b3060){const _0x1ced37=[new window[(_0x7bfffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24068d=>setTimeout(_0x24068d,0x5db3add8^_0x2fd6ce)),_0x3d81ac[_0x7bfffd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7bfffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x251f24=>{let _0x530b26=0x0;_0x3ba406[_0x7bfffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x7bfffd([0x6f,0x6e])](_0x7bfffd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18bfd8,_0x32e224)=>{_0x32e224[0x0][_0x7bfffd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x530b26++,_0x530b26==(0x5dba96fc^_0x2fd6ce)&&(_0x251f24(),_0x18bfd8[_0x7bfffd([0x6f,0x66,0x66])]());});}))];return window[_0x7bfffd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7bfffd([0x72,0x61,0x63,0x65])](_0x1ced37)[_0x7bfffd([0x74,0x68,0x65,0x6e])](()=>_0x5b3060);}async function _0x1a2cbe(){await _0x3d81ac,_0x3ba406[_0x7bfffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x7bfffd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19684a,_0x3ba406[_0x7bfffd([0x6d,0x6f,0x64,0x65,0x6c])][_0x7bfffd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19684a,_0x3ba406[_0x7bfffd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7bfffd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x47c21b(_0x10938b){const _0x10f86d=_0x5edffe();_0x3ba406[_0x10f86d]=_0x7bfffd([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])+_0x10938b,_0x10938b!=_0x7bfffd([0x56,0x61,0x6c,0x69,0x64])&&_0x1a2cbe();}function _0x5edffe(){const _0xa5f734=window[_0x7bfffd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7bfffd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7bfffd([0x6e,0x6f,0x77])]())[_0x7bfffd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7bfffd([0x2e]),'');let _0x38dc75=_0x7bfffd([0x4e]);for(let _0x4da0b8=0x0;_0x4da0b8<_0xa5f734[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4da0b8+=0x2){let _0x4e8314=window[_0x7bfffd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa5f734[_0x7bfffd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4da0b8,_0x4da0b8+0x2));_0x4e8314>=_0x1d45f9[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e8314-=_0x1d45f9[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38dc75+=_0x1d45f9[_0x4e8314];}return _0x38dc75;}function _0x5ce6e8(){const _0x3606cc=_0x52db9a[_0x7bfffd([0x73,0x70,0x6c,0x69,0x74])](_0x7bfffd([0x2e]));if(0x3!=_0x3606cc[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xde5780(_0x3606cc[0x1]);function _0xde5780(_0x152c6c){const _0x358535=_0x4c23ce(_0x152c6c);return _0x358535&&_0x4f809a()?_0x358535:null;function _0x4f809a(){const _0x2739ad=_0x358535[_0x7bfffd([0x6a,0x74,0x69])],_0x1c1256=window[_0x7bfffd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2739ad[_0x7bfffd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2739ad[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe38462={..._0x358535,[_0x7bfffd([0x6a,0x74,0x69])]:_0x2739ad[_0x7bfffd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2739ad[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe38462[_0x7bfffd([0x76,0x63])],_0x362e6e(_0xe38462)==_0x1c1256;}}}async function _0x3c79ea(){let _0x3b3540=!0x0;try{const _0x3b6f8a=_0x52db9a[_0x7bfffd([0x73,0x70,0x6c,0x69,0x74])](_0x7bfffd([0x2e])),[_0x5e3ba3,_0x389020,_0x3ddf34]=_0x3b6f8a;return _0x4c18c7(_0x5e3ba3),await _0x1b1637(_0x5e3ba3,_0x389020,_0x3ddf34),_0x3b3540;}catch{return!0x1;}function _0x4c18c7(_0x282f4c){const _0x16861f=_0x4c23ce(_0x282f4c);_0x16861f&&_0x16861f[_0x7bfffd([0x61,0x6c,0x67])]==_0x7bfffd([0x45,0x53,0x32,0x35,0x36])||(_0x3b3540=!0x1);}async function _0x1b1637(_0x3ec8a4,_0x13be62,_0x819e99){const _0x41ccac=window[_0x7bfffd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7bfffd([0x66,0x72,0x6f,0x6d])](_0x1ee8ac(_0x819e99),_0x18a0cf=>_0x18a0cf[_0x7bfffd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59f21f=new window[(_0x7bfffd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7bfffd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ec8a4+_0x7bfffd([0x2e])+_0x13be62),_0x1d9d7b=window[_0x7bfffd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7bfffd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d9d7b)return;const _0x213267=await _0x1d9d7b[_0x7bfffd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7bfffd([0x6a,0x77,0x6b]),_0x20fd2b,{[_0x7bfffd([0x6e,0x61,0x6d,0x65])]:_0x7bfffd([0x45,0x43,0x44,0x53,0x41]),[_0x7bfffd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7bfffd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7bfffd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d9d7b[_0x7bfffd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7bfffd([0x6e,0x61,0x6d,0x65])]:_0x7bfffd([0x45,0x43,0x44,0x53,0x41]),[_0x7bfffd([0x68,0x61,0x73,0x68])]:{[_0x7bfffd([0x6e,0x61,0x6d,0x65])]:_0x7bfffd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x213267,_0x41ccac,_0x59f21f)||(_0x3b3540=!0x1);}}function _0x4c23ce(_0x3ccff9){return _0x3ccff9[_0x7bfffd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7bfffd([0x65,0x79]))?JSON[_0x7bfffd([0x70,0x61,0x72,0x73,0x65])](_0x1ee8ac(_0x3ccff9)):null;}function _0x1ee8ac(_0xaa4fe3){return window[_0x7bfffd([0x61,0x74,0x6f,0x62])](_0xaa4fe3[_0x7bfffd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7bfffd([0x2b]))[_0x7bfffd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7bfffd([0x2f])));}function _0x362e6e(_0x386898){let _0x2672dc=0x1505;function _0x22a5ef(_0x409237){for(let _0x30b7e3=0x0;_0x30b7e3<_0x409237[_0x7bfffd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30b7e3++){const _0x48f1ce=_0x409237[_0x7bfffd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30b7e3);_0x2672dc=(_0x2672dc<<0x5)+_0x2672dc+_0x48f1ce,_0x2672dc&=_0x2672dc;}}function _0xe616f6(_0x43317c){Array[_0x7bfffd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43317c)?_0x43317c[_0x7bfffd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe616f6):_0x43317c&&typeof _0x43317c==_0x7bfffd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7bfffd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43317c)[_0x7bfffd([0x73,0x6f,0x72,0x74])]()[_0x7bfffd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d803e,_0x3ec753])=>{_0x22a5ef(_0x5d803e),_0xe616f6(_0x3ec753);}):_0x22a5ef(window[_0x7bfffd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43317c));}return _0xe616f6(_0x386898),_0x2672dc>>>0x0;}function _0x3e6b4f(_0x18112b){return _0x18112b[_0x7bfffd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7bfffd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7bfffd([0x30]));}function _0x4aed3b(_0x258c2e){return _0x258c2e[_0x7bfffd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7bfffd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7bfffd([0x6a,0x6f,0x69,0x6e])]('');}function _0x19684a(){}function _0x7bfffd(_0x518b2e){return _0x518b2e['map'](_0x3f6bca=>String['fromCharCode'](_0x3f6bca))['join']('');}_0x47c21b(await _0x458404());}(this);}['_createButton'](_0x4be751,_0x1f949e,_0x3368d2=!0x1){const _0x983851=new _0x4be751(this['editor']['locale']);return _0x983851['set']({'withText':_0x3368d2,'isToggleable':!0x1}),_0x983851['bind']('isEnabled')['to'](_0x1f949e,'isEnabled'),this['listenTo'](_0x983851,'execute',()=>_0x1f949e['execute']()),_0x983851;}['_registerKeybindings'](){const _0x35f73e=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x35f73e,'Source\x20Editing\x20Enhanced')});const _0x4b410f=_0x141973['isMac']||_0x141973['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x35f73e,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x35f73e,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x35f73e,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x35f73e,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x35f73e,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x35f73e,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x35f73e,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4b410f?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x35f73e,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x35f73e,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x35f73e,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x35f73e,'Select\x20line'),'keystroke':_0x4b410f?'Ctrl!+L':'Alt+L'},{'label':w(_0x35f73e,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4b410f?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x35f73e,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x35f73e,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x35f73e,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x35f73e,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x35f73e,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4b410f?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x57507b{constructor(_0x44c69b){super(_0x44c69b),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1eb809,_0x113f03){const _0x33c781=this['editor'],_0x6e5b08=_0x113f03?.['rootName']??r(_0x33c781);_0x33c781['data']['set']({[_0x6e5b08]:_0x1eb809},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x48800b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x355482){super(_0x355482),_0x355482['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4e90f5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x396347;for(const _0x158482 in _0x4e90f5){const _0x70141a=_0x158482,_0x586fe3=_0x4e90f5[_0x70141a];if('sourceEditingEnhancedLicenseKeyValid'==_0x586fe3||'sourceEditingEnhancedLicenseKeyInvalid'==_0x586fe3||'sourceEditingEnhancedLicenseKeyExpired'==_0x586fe3||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x586fe3||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x586fe3||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x586fe3||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x586fe3){delete _0x4e90f5[_0x70141a],_0x396347=_0x586fe3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x396347&&_0x4e90f5['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x396347&&_0x4e90f5['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x396347&&_0x4e90f5['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x396347&&_0x4e90f5['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x396347&&_0x4e90f5['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x396347&&_0x4e90f5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x37760b=this['editor'],_0x273676=_0x37760b['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x273676&&_0x37760b['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x4412ad('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x273676&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4ae7c7=>_0x37760b['plugins']['has'](_0x4ae7c7))&&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.'),_0x37760b['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "47.4.0-alpha.0",
3
+ "version": "47.4.0-alpha.1",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "47.4.0-alpha.0",
22
- "@ckeditor/ckeditor5-icons": "47.4.0-alpha.0",
23
- "@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.0",
24
- "@ckeditor/ckeditor5-ui": "47.4.0-alpha.0",
25
- "@ckeditor/ckeditor5-utils": "47.4.0-alpha.0",
21
+ "@ckeditor/ckeditor5-core": "47.4.0-alpha.1",
22
+ "@ckeditor/ckeditor5-icons": "47.4.0-alpha.1",
23
+ "@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.1",
24
+ "@ckeditor/ckeditor5-ui": "47.4.0-alpha.1",
25
+ "@ckeditor/ckeditor5-utils": "47.4.0-alpha.1",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.1",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "47.4.0-alpha.0"
34
+ "ckeditor5": "47.4.0-alpha.1"
35
35
  },
36
36
  "license": "SEE LICENSE IN LICENSE.md",
37
37
  "author": "CKSource (http://cksource.com/)",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51fc42=_0x418d;(function(_0x5caf40,_0x11922c){const _0x5c72ac=_0x418d,_0x269321=_0x5caf40();while(!![]){try{const _0x70e048=parseInt(_0x5c72ac(0xde))/0x1*(-parseInt(_0x5c72ac(0xbe))/0x2)+-parseInt(_0x5c72ac(0xbb))/0x3+parseInt(_0x5c72ac(0xd2))/0x4+parseInt(_0x5c72ac(0xe0))/0x5*(parseInt(_0x5c72ac(0xbc))/0x6)+parseInt(_0x5c72ac(0xf6))/0x7+parseInt(_0x5c72ac(0xd1))/0x8*(parseInt(_0x5c72ac(0xba))/0x9)+-parseInt(_0x5c72ac(0xf3))/0xa;if(_0x70e048===_0x11922c)break;else _0x269321['push'](_0x269321['shift']());}catch(_0x1702f7){_0x269321['push'](_0x269321['shift']());}}}(_0x4f06,0xdc57f));function _0x418d(_0x15103b,_0x19a348){const _0x4f06d6=_0x4f06();return _0x418d=function(_0x418db1,_0x2b3c41){_0x418db1=_0x418db1-0xb0;let _0x336bd8=_0x4f06d6[_0x418db1];return _0x336bd8;},_0x418d(_0x15103b,_0x19a348);}import{Plugin as _0x26faf9,PendingActions as _0x1f40ed}from'ckeditor5/src/core.js';import{IconSource as _0x5ceeaa}from'ckeditor5/src/icons.js';import{ButtonView as _0xc16260,MenuBarMenuListItemButtonView as _0x19b8ca}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x193058}from'./ui/editsourcecommand.js';import{getTranslation as _0x3e07c6}from'./utils/common-translations.js';import{env as _0xb2d027,uid as _0x59fc23}from'ckeditor5/src/utils.js';function _0x4f06(){const _0x45d9d9=['Ctrl!+Alt+]','fromCharCode','Alt+Shift+M','pluginName','Shift+Ctrl+K','accessibility','43uqiLks','Ctrl+Shift+]','5OWdUBa','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Delete\x20line','Ctrl+/','Move\x20line\x20up','Copy\x20line\x20up','Cmd+Alt+]','Ctrl+Shift+Z','Ctrl!+Alt+[','Shift+Alt+ArrowUp','componentFactory','Source\x20Editing\x20Enhanced','Unfold\x20code\x20(current\x20level)','Ctrl+Y','isOfficialPlugin','execute','locale','commands','Select\x20line','18882500qkDrnh','ck-source-editing-enhanced-button','Alt+ArrowDown','6202847PFoZOe','Indent\x20more','isiOS','Fold\x20all','isMac','join','Ctrl+M','Unfold\x20all','afterInit','href','Fold\x20code\x20(current\x20level)','Undo\x20(keystroke)','Cmd+Alt+[','map','init','Toggle\x20comment','Shift+Alt+A','Ctrl+Z','Toggle\x20block\x20comment','menuBar:sourceEditingEnhanced','Ctrl+[','requires','listenTo','Alt+ArrowUp','Ctrl+]','36126nfZEgw','1166421wNgCov','8499444mQHSpD','SourceEditingEnhancedUI','39746rjvFXo','editor','Source','bind','add','Alt+L','Indent\x20less','Redo\x20(keystroke)','isEnabled','_createButton','menuitemcheckbox','addKeystrokeInfos','Ctrl+Shift+[','Edit\x20source\x20modal\x20label','Copy\x20line\x20down','isPremiumPlugin','set','addKeystrokeInfoCategory','Move\x20line\x20down','3016rYIxGO','872600wGtdyN','editSource','_registerKeybindings','sourceEditingEnhanced','Shift+Alt+ArrowDown','Ctrl!+L'];_0x4f06=function(){return _0x45d9d9;};return _0x4f06();}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x26faf9{static get[_0x51fc42(0xdb)](){const _0x24c16f=_0x51fc42;return _0x24c16f(0xbd);}static get[_0x51fc42(0xb6)](){return[_0x1f40ed];}static get[_0x51fc42(0xee)](){return!0x0;}static get[_0x51fc42(0xcd)](){return!0x0;}[_0x51fc42(0x104)](){const _0x29a1b7=_0x51fc42,_0x103b43=this[_0x29a1b7(0xbf)],_0x537889=_0x103b43[_0x29a1b7(0xf0)],_0x3f3745=new _0x193058(_0x103b43);_0x103b43[_0x29a1b7(0xf1)][_0x29a1b7(0xc2)](_0x29a1b7(0xd3),_0x3f3745),_0x103b43['ui'][_0x29a1b7(0xea)][_0x29a1b7(0xc2)](_0x29a1b7(0xd5),()=>{const _0x4f731c=_0x29a1b7,_0x3a9484=this[_0x4f731c(0xc7)](_0xc16260,_0x3f3745);return _0x3a9484[_0x4f731c(0xce)]({'label':_0x3e07c6(_0x537889,_0x4f731c(0xc0)),'icon':_0x5ceeaa,'tooltip':_0x3e07c6(_0x537889,_0x4f731c(0xcb)),'class':_0x4f731c(0xf4)}),_0x3a9484;}),_0x103b43['ui'][_0x29a1b7(0xea)][_0x29a1b7(0xc2)](_0x29a1b7(0xb4),()=>{const _0x37134c=_0x29a1b7,_0x1aa47c=this[_0x37134c(0xc7)](_0x19b8ca,_0x3f3745,!0x0);return _0x1aa47c[_0x37134c(0xce)]({'label':_0x3e07c6(_0x537889,_0x37134c(0xcb)),'icon':_0x5ceeaa,'role':_0x37134c(0xc8)}),_0x1aa47c;}),this[_0x29a1b7(0xd4)]();}[_0x51fc42(0xfe)](){!async function(_0x4dbadd){const _0xe16eaa=_0x458f88([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x3b05e4=0x5dba9314,_0x30f860=0x5dbded2c^_0x3b05e4,_0x3eb870=window[_0x458f88([0x44,0x61,0x74,0x65])][_0x458f88([0x6e,0x6f,0x77])](),_0xeca19d=_0x4dbadd[_0x458f88([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22aed1=new window[(_0x458f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36785c=>{_0xeca19d[_0x458f88([0x6f,0x6e,0x63,0x65])](_0x458f88([0x72,0x65,0x61,0x64,0x79]),_0x36785c);}),_0x41f464={[_0x458f88([0x6b,0x74,0x79])]:_0x458f88([0x45,0x43]),[_0x458f88([0x75,0x73,0x65])]:_0x458f88([0x73,0x69,0x67]),[_0x458f88([0x63,0x72,0x76])]:_0x458f88([0x50,0x2d,0x32,0x35,0x36]),[_0x458f88([0x78])]:_0x458f88([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]),[_0x458f88([0x79])]:_0x458f88([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]),[_0x458f88([0x61,0x6c,0x67])]:_0x458f88([0x45,0x53,0x32,0x35,0x36])},_0x1bb6e5=_0xeca19d[_0x458f88([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x458f88([0x67,0x65,0x74])](_0x458f88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x26af44(){let _0x1d6faa,_0x103ae8=null,_0x1fb10c=null;try{if(_0x1bb6e5==_0x458f88([0x47,0x50,0x4c]))return _0x458f88([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d6faa=_0x2fd33e(),!_0x1d6faa)return _0x458f88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d6faa[_0x458f88([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1fb10c=_0x4981db(_0x1d6faa[_0x458f88([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d6faa[_0x458f88([0x6a,0x74,0x69])])),await _0xd682b8()?_0x1c27e6()?_0x5d7e85()?_0x458f88([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10e4b3()?(_0x1d6faa[_0x458f88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x458f88([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x103ae8=_0x2df5bf(_0x458f88([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29384d()):_0x458f88([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x458f88([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x458f88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x458f88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d7e85(){const _0x3853d7=[_0x458f88([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x458f88([0x74,0x72,0x69,0x61,0x6c])][_0x458f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d6faa[_0x458f88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3eb870/0x3e8:0xe10*_0x30f860;return _0x1d6faa[_0x458f88([0x65,0x78,0x70])]<_0x3853d7;}function _0x1c27e6(){const _0x5f3c2c=_0x1d6faa[_0x458f88([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f3c2c&&(!!_0x5f3c2c[_0x458f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x458f88([0x2a]))||!!_0x5f3c2c[_0x458f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x458f88([0x53,0x45,0x45])));}function _0x10e4b3(){const _0x48135c=_0x418d,_0x5273bd=_0x1d6faa[_0x458f88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5273bd||0x0==_0x5273bd[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23a11e}=new URL(window[_0x458f88([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x48135c(0xff)]);if(_0x5273bd[_0x458f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23a11e))return!0x0;const _0x324035=_0x23a11e[_0x458f88([0x73,0x70,0x6c,0x69,0x74])](_0x458f88([0x2e]));return _0x5273bd[_0x458f88([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19bb10=>_0x19bb10[_0x458f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x458f88([0x2a])))[_0x458f88([0x6d,0x61,0x70])](_0x44e6f1=>_0x44e6f1[_0x458f88([0x73,0x70,0x6c,0x69,0x74])](_0x458f88([0x2e])))[_0x458f88([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf51a76=>_0xf51a76[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x324035[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x458f88([0x6d,0x61,0x70])](_0x970d9=>Array(_0x324035[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x970d9[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x458f88([0x66,0x69,0x6c,0x6c])](_0x970d9[0x0]===_0x458f88([0x2a])?_0x458f88([0x2a]):'')[_0x458f88([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x970d9))[_0x458f88([0x73,0x6f,0x6d,0x65])](_0x215b9e=>_0x324035[_0x458f88([0x65,0x76,0x65,0x72,0x79])]((_0x5b1364,_0xb24366)=>_0x215b9e[_0xb24366]===_0x5b1364||_0x215b9e[_0xb24366]===_0x458f88([0x2a])));}function _0x29384d(){return _0x103ae8&&_0x1fb10c?new window[(_0x458f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3af013,_0x47e544)=>{_0x103ae8[_0x458f88([0x74,0x68,0x65,0x6e])](_0x3af013,_0x47e544),_0x1fb10c[_0x458f88([0x74,0x68,0x65,0x6e])](_0x431219=>{_0x431219!=_0x458f88([0x56,0x61,0x6c,0x69,0x64])&&_0x3af013(_0x431219);},_0x47e544);}):_0x103ae8||_0x1fb10c||_0x458f88([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4981db(_0x35911d,_0x5458bd){return new window[(_0x458f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4888d1=>{if(_0x6b356c())return _0x4888d1(_0x458f88([0x56,0x61,0x6c,0x69,0x64]));_0x369350(),_0xeca19d[_0x458f88([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x458f88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ca811=!0x1;const _0x94fa30=_0x59fc23();function _0x2690f7(_0x36f091){return!!_0x36f091&&(typeof _0x36f091===_0x458f88([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36f091===_0x458f88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36f091[_0x458f88([0x74,0x68,0x65,0x6e])]===_0x458f88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36f091[_0x458f88([0x63,0x61,0x74,0x63,0x68])]===_0x458f88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11ed18(_0x547686){_0x541d54(_0x547686)[_0x458f88([0x74,0x68,0x65,0x6e])](_0x1814d9=>{if(!_0x1814d9||_0x1814d9[_0x458f88([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x458f88([0x6f,0x6b]))return _0x458f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x381c28(_0x4c95dc(_0x94fa30+_0x5458bd))!=_0x1814d9[_0x458f88([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x458f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x458f88([0x56,0x61,0x6c,0x69,0x64]);})[_0x458f88([0x74,0x68,0x65,0x6e])](_0x529a97=>(_0x26101a(),_0x529a97),()=>{const _0x48891b=_0x582ca6();return null==_0x48891b?(_0x26101a(),_0x458f88([0x56,0x61,0x6c,0x69,0x64])):_0x458f88(_0x3eb870-_0x48891b>(0x79b61714^_0x3b05e4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x458f88([0x74,0x68,0x65,0x6e])](_0x4888d1)[_0x458f88([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4888d1(_0x458f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x166672=0x5d8c7d94^_0x3b05e4;function _0x26101a(){const _0x3c5b20=_0x458f88([0x6c,0x6c,0x63,0x74,0x2d])+_0x381c28(_0x4c95dc(_0x35911d)),_0x33b85f=_0x2e122f(_0x381c28(window[_0x458f88([0x4d,0x61,0x74,0x68])][_0x458f88([0x63,0x65,0x69,0x6c])](_0x3eb870/_0x166672)));window[_0x458f88([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x458f88([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c5b20,_0x33b85f);}function _0x582ca6(){const _0x6dcf3a=_0x458f88([0x6c,0x6c,0x63,0x74,0x2d])+_0x381c28(_0x4c95dc(_0x35911d)),_0x8cb4a=window[_0x458f88([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x458f88([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6dcf3a);return _0x8cb4a?window[_0x458f88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e122f(_0x8cb4a),0x10)*_0x166672:null;}function _0x541d54(_0x44920a){return new window[(_0x458f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x420d3d,_0x36c396)=>{_0x44920a[_0x458f88([0x74,0x68,0x65,0x6e])](_0x420d3d,_0x36c396),window[_0x458f88([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36c396,0x5dbb47d4^_0x3b05e4);});}}_0xeca19d[_0x458f88([0x6f,0x6e])](_0x458f88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ff9d5,_0xa0fe0b)=>{if(_0xa0fe0b[0x0]!=_0x35911d)return _0x4888d1(_0x458f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa0fe0b[0x1]={..._0xa0fe0b[0x1],[_0x458f88([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x94fa30};},{[_0x458f88([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x458f88([0x68,0x69,0x67,0x68])}),_0xeca19d[_0x458f88([0x6f,0x6e])](_0x458f88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ce031=>{_0x2690f7(_0x1ce031[_0x458f88([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ca811=!0x0,_0x11ed18(_0x1ce031[_0x458f88([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x458f88([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x458f88([0x6c,0x6f,0x77])}),_0x22aed1[_0x458f88([0x74,0x68,0x65,0x6e])](()=>{_0x3ca811||_0x4888d1(_0x458f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6b356c(){return _0xeca19d[_0x458f88([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x458f88([0x76,0x69,0x65,0x77])][_0x458f88([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x458f88([0x61,0x75,0x74,0x6f]);}function _0x369350(){_0xeca19d[_0x458f88([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x458f88([0x76,0x69,0x65,0x77])][_0x458f88([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x458f88([0x61,0x75,0x74,0x6f]);}}function _0x2df5bf(_0x541f76){const _0x3c3cbd=[new window[(_0x458f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4af086=>setTimeout(_0x4af086,0x5db3add8^_0x3b05e4)),_0x22aed1[_0x458f88([0x74,0x68,0x65,0x6e])](()=>new window[(_0x458f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34a76f=>{let _0x3bf7fb=0x0;_0xeca19d[_0x458f88([0x6d,0x6f,0x64,0x65,0x6c])][_0x458f88([0x6f,0x6e])](_0x458f88([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x295c7f,_0x1f1056)=>{_0x1f1056[0x0][_0x458f88([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bf7fb++,_0x3bf7fb==(0x5dba96fc^_0x3b05e4)&&(_0x34a76f(),_0x295c7f[_0x458f88([0x6f,0x66,0x66])]());});}))];return window[_0x458f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x458f88([0x72,0x61,0x63,0x65])](_0x3c3cbd)[_0x458f88([0x74,0x68,0x65,0x6e])](()=>_0x541f76);}async function _0x3e61eb(){await _0x22aed1,_0xeca19d[_0x458f88([0x6d,0x6f,0x64,0x65,0x6c])][_0x458f88([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14e1c7,_0xeca19d[_0x458f88([0x6d,0x6f,0x64,0x65,0x6c])][_0x458f88([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14e1c7,_0xeca19d[_0x458f88([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x458f88([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a495a(_0x381f6d){const _0x1279a4=_0x2fd3bf();_0xeca19d[_0x1279a4]=_0x458f88([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])+_0x381f6d,_0x381f6d!=_0x458f88([0x56,0x61,0x6c,0x69,0x64])&&_0x3e61eb();}function _0x2fd3bf(){const _0x3d070e=window[_0x458f88([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x458f88([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x458f88([0x6e,0x6f,0x77])]())[_0x458f88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x458f88([0x2e]),'');let _0x34f508=_0x458f88([0x4e]);for(let _0x2aa93b=0x0;_0x2aa93b<_0x3d070e[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2aa93b+=0x2){let _0x3f1976=window[_0x458f88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d070e[_0x458f88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2aa93b,_0x2aa93b+0x2));_0x3f1976>=_0xe16eaa[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f1976-=_0xe16eaa[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34f508+=_0xe16eaa[_0x3f1976];}return _0x34f508;}function _0x2fd33e(){const _0x5c0e78=_0x1bb6e5[_0x458f88([0x73,0x70,0x6c,0x69,0x74])](_0x458f88([0x2e]));if(0x3!=_0x5c0e78[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f05f0(_0x5c0e78[0x1]);function _0x2f05f0(_0x82451c){const _0xbea082=_0x2d0d5f(_0x82451c);return _0xbea082&&_0x3e13c3()?_0xbea082:null;function _0x3e13c3(){const _0x4eef8f=_0xbea082[_0x458f88([0x6a,0x74,0x69])],_0x1b69e5=window[_0x458f88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4eef8f[_0x458f88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4eef8f[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d7392={..._0xbea082,[_0x458f88([0x6a,0x74,0x69])]:_0x4eef8f[_0x458f88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4eef8f[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d7392[_0x458f88([0x76,0x63])],_0x4c95dc(_0x1d7392)==_0x1b69e5;}}}async function _0xd682b8(){let _0xb942ff=!0x0;try{const _0x132d5d=_0x1bb6e5[_0x458f88([0x73,0x70,0x6c,0x69,0x74])](_0x458f88([0x2e])),[_0x1ec01b,_0x47a673,_0x1862d5]=_0x132d5d;return _0x5a5aa3(_0x1ec01b),await _0x2b6067(_0x1ec01b,_0x47a673,_0x1862d5),_0xb942ff;}catch{return!0x1;}function _0x5a5aa3(_0x1d3db3){const _0x13d96d=_0x2d0d5f(_0x1d3db3);_0x13d96d&&_0x13d96d[_0x458f88([0x61,0x6c,0x67])]==_0x458f88([0x45,0x53,0x32,0x35,0x36])||(_0xb942ff=!0x1);}async function _0x2b6067(_0x1e8702,_0x46180d,_0x3bd6e1){const _0x44b3bb=window[_0x458f88([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x458f88([0x66,0x72,0x6f,0x6d])](_0x4c98f1(_0x3bd6e1),_0x38b257=>_0x38b257[_0x458f88([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xafc089=new window[(_0x458f88([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x458f88([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e8702+_0x458f88([0x2e])+_0x46180d),_0x171ae6=window[_0x458f88([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x458f88([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x171ae6)return;const _0x331414=await _0x171ae6[_0x458f88([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x458f88([0x6a,0x77,0x6b]),_0x41f464,{[_0x458f88([0x6e,0x61,0x6d,0x65])]:_0x458f88([0x45,0x43,0x44,0x53,0x41]),[_0x458f88([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x458f88([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x458f88([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x171ae6[_0x458f88([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x458f88([0x6e,0x61,0x6d,0x65])]:_0x458f88([0x45,0x43,0x44,0x53,0x41]),[_0x458f88([0x68,0x61,0x73,0x68])]:{[_0x458f88([0x6e,0x61,0x6d,0x65])]:_0x458f88([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x331414,_0x44b3bb,_0xafc089)||(_0xb942ff=!0x1);}}function _0x2d0d5f(_0x24893f){return _0x24893f[_0x458f88([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x458f88([0x65,0x79]))?JSON[_0x458f88([0x70,0x61,0x72,0x73,0x65])](_0x4c98f1(_0x24893f)):null;}function _0x4c98f1(_0x299ac0){return window[_0x458f88([0x61,0x74,0x6f,0x62])](_0x299ac0[_0x458f88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x458f88([0x2b]))[_0x458f88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x458f88([0x2f])));}function _0x4c95dc(_0x12ac81){let _0xa823aa=0x1505;function _0x4ebe87(_0x43c931){for(let _0x5b66d3=0x0;_0x5b66d3<_0x43c931[_0x458f88([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b66d3++){const _0x4623f0=_0x43c931[_0x458f88([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b66d3);_0xa823aa=(_0xa823aa<<0x5)+_0xa823aa+_0x4623f0,_0xa823aa&=_0xa823aa;}}function _0x15137b(_0xc031c9){Array[_0x458f88([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc031c9)?_0xc031c9[_0x458f88([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15137b):_0xc031c9&&typeof _0xc031c9==_0x458f88([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x458f88([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc031c9)[_0x458f88([0x73,0x6f,0x72,0x74])]()[_0x458f88([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6bcab8,_0x36251e])=>{_0x4ebe87(_0x6bcab8),_0x15137b(_0x36251e);}):_0x4ebe87(window[_0x458f88([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc031c9));}return _0x15137b(_0x12ac81),_0xa823aa>>>0x0;}function _0x381c28(_0xcb50ce){return _0xcb50ce[_0x458f88([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x458f88([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x458f88([0x30]));}function _0x2e122f(_0x4279e5){return _0x4279e5[_0x458f88([0x73,0x70,0x6c,0x69,0x74])]('')[_0x458f88([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x458f88([0x6a,0x6f,0x69,0x6e])]('');}function _0x14e1c7(){}function _0x458f88(_0x3c50ed){const _0x687474=_0x418d;return _0x3c50ed[_0x687474(0x103)](_0x16488f=>String[_0x687474(0xd9)](_0x16488f))[_0x687474(0xfb)]('');}_0x3a495a(await _0x26af44());}(this);}[_0x51fc42(0xc7)](_0xcc7af1,_0x2d58c6,_0xae60a=!0x1){const _0x2cd215=_0x51fc42,_0x1899e5=new _0xcc7af1(this[_0x2cd215(0xbf)][_0x2cd215(0xf0)]);return _0x1899e5[_0x2cd215(0xce)]({'withText':_0xae60a,'isToggleable':!0x1}),_0x1899e5[_0x2cd215(0xc1)](_0x2cd215(0xc6))['to'](_0x2d58c6,_0x2cd215(0xc6)),this[_0x2cd215(0xb7)](_0x1899e5,_0x2cd215(0xef),()=>_0x2d58c6[_0x2cd215(0xef)]()),_0x1899e5;}[_0x51fc42(0xd4)](){const _0x473cce=_0x51fc42,_0x3e3cd0=this[_0x473cce(0xbf)][_0x473cce(0xf0)];this[_0x473cce(0xbf)][_0x473cce(0xdd)][_0x473cce(0xcf)]({'id':_0x473cce(0xd5),'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xeb))});const _0x260168=_0xb2d027[_0x473cce(0xfa)]||_0xb2d027[_0x473cce(0xf8)];this[_0x473cce(0xbf)][_0x473cce(0xdd)][_0x473cce(0xc9)]({'categoryId':_0x473cce(0xd5),'keystrokes':[{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xcc)),'keystroke':_0x473cce(0xd6)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xe5)),'keystroke':_0x473cce(0xe9)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xe2)),'keystroke':_0x473cce(0xdc)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xc4)),'keystroke':_0x473cce(0xb5)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xf7)),'keystroke':_0x473cce(0xb9)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xf9)),'keystroke':_0x473cce(0xe8)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0x100)),'keystroke':_0x260168?_0x473cce(0x102):_0x473cce(0xca)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xd0)),'keystroke':_0x473cce(0xf5)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xe4)),'keystroke':_0x473cce(0xb8)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xc5)),'keystroke':[[_0x473cce(0xe7)],[_0x473cce(0xed)]]},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xf2)),'keystroke':_0x260168?_0x473cce(0xd7):_0x473cce(0xc3)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xe1)),'keystroke':_0x260168?_0x473cce(0xda):_0x473cce(0xfc)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xb3)),'keystroke':_0x473cce(0xb1)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xb0)),'keystroke':_0x473cce(0xe3)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0x101)),'keystroke':_0x473cce(0xb2)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xfd)),'keystroke':_0x473cce(0xd8)},{'label':_0x3e07c6(_0x3e3cd0,_0x473cce(0xec)),'keystroke':_0x260168?_0x473cce(0xe6):_0x473cce(0xdf)}]});}}
23
+ const _0x36b667=_0x508d;function _0x508d(_0x3442e5,_0x594c76){const _0x1df139=_0x1df1();return _0x508d=function(_0x508ded,_0x13b70d){_0x508ded=_0x508ded-0x8d;let _0x81ca47=_0x1df139[_0x508ded];return _0x81ca47;},_0x508d(_0x3442e5,_0x594c76);}(function(_0x23e8a6,_0x2ff67c){const _0x55fc26=_0x508d,_0x3fbfb5=_0x23e8a6();while(!![]){try{const _0x46513c=parseInt(_0x55fc26(0xa2))/0x1*(-parseInt(_0x55fc26(0x96))/0x2)+-parseInt(_0x55fc26(0xa3))/0x3+-parseInt(_0x55fc26(0x91))/0x4*(parseInt(_0x55fc26(0xa0))/0x5)+-parseInt(_0x55fc26(0xb0))/0x6*(-parseInt(_0x55fc26(0xbe))/0x7)+parseInt(_0x55fc26(0x99))/0x8+parseInt(_0x55fc26(0xd8))/0x9*(-parseInt(_0x55fc26(0xa5))/0xa)+parseInt(_0x55fc26(0xa4))/0xb;if(_0x46513c===_0x2ff67c)break;else _0x3fbfb5['push'](_0x3fbfb5['shift']());}catch(_0x2eb2fc){_0x3fbfb5['push'](_0x3fbfb5['shift']());}}}(_0x1df1,0xc71ed));import{Plugin as _0x286b5f,PendingActions as _0x43dff0}from'ckeditor5/src/core.js';import{IconSource as _0x2d627a}from'ckeditor5/src/icons.js';import{ButtonView as _0x3a5a0a,MenuBarMenuListItemButtonView as _0x22bc2b}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0xf62a19}from'./ui/editsourcecommand.js';import{getTranslation as _0x57a099}from'./utils/common-translations.js';import{env as _0x89e5dc,uid as _0x10e1dc}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x1df1(){const _0x4db0f3=['add','17IkhauC','2397798blysUj','2862002Wyyzdn','20VtRTnV','editor','Move\x20line\x20up','Cmd+Alt+]','fromCharCode','Alt+L','Source\x20Editing\x20Enhanced','Ctrl+Shift+Z','Ctrl+Shift+[','Copy\x20line\x20up','Source','1471944rvVcGu','Ctrl+Z','map','addKeystrokeInfoCategory','Ctrl!+L','pluginName','editSource','Ctrl!+Alt+]','addKeystrokeInfos','Ctrl!+Alt+[','Ctrl+/','Copy\x20line\x20down','Toggle\x20block\x20comment','isiOS','7evilMX','commands','Ctrl+]','_createButton','Edit\x20source\x20modal\x20label','Ctrl+Y','requires','Unfold\x20all','Shift+Alt+ArrowUp','componentFactory','Redo\x20(keystroke)','Alt+ArrowDown','init','SourceEditingEnhancedUI','isMac','Toggle\x20comment','isPremiumPlugin','Select\x20line','Undo\x20(keystroke)','listenTo','href','Cmd+Alt+[','Delete\x20line','Alt+ArrowUp','_registerKeybindings','execute','571977EAcgeO','ck-source-editing-enhanced-button','Unfold\x20code\x20(current\x20level)','set','accessibility','Ctrl+[','menuitemcheckbox','Move\x20line\x20down','Indent\x20less','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Alt+A','afterInit','Fold\x20code\x20(current\x20level)','join','bind','20444GHhfue','Fold\x20all','menuBar:sourceEditingEnhanced','sourceEditingEnhanced','Alt+Shift+M','35618DsWOnz','Ctrl+Shift+]','isOfficialPlugin','12763496oCjXTF','Shift+Ctrl+K','Indent\x20more','Shift+Alt+ArrowDown','isEnabled','locale','Ctrl+M','55NPkaAi'];_0x1df1=function(){return _0x4db0f3;};return _0x1df1();}export class SourceEditingEnhancedUI extends _0x286b5f{static get[_0x36b667(0xb5)](){const _0x14e934=_0x36b667;return _0x14e934(0xcb);}static get[_0x36b667(0xc4)](){return[_0x43dff0];}static get[_0x36b667(0x98)](){return!0x0;}static get[_0x36b667(0xce)](){return!0x0;}[_0x36b667(0xca)](){const _0x51ad30=_0x36b667,_0x5dd64e=this[_0x51ad30(0xa6)],_0x2d89c8=_0x5dd64e[_0x51ad30(0x9e)],_0x393e21=new _0xf62a19(_0x5dd64e);_0x5dd64e[_0x51ad30(0xbf)][_0x51ad30(0xa1)](_0x51ad30(0xb6),_0x393e21),_0x5dd64e['ui'][_0x51ad30(0xc7)][_0x51ad30(0xa1)](_0x51ad30(0x94),()=>{const _0x3ee9b9=_0x51ad30,_0x116d03=this[_0x3ee9b9(0xc1)](_0x3a5a0a,_0x393e21);return _0x116d03[_0x3ee9b9(0xdb)]({'label':_0x57a099(_0x2d89c8,_0x3ee9b9(0xaf)),'icon':_0x2d627a,'tooltip':_0x57a099(_0x2d89c8,_0x3ee9b9(0xc2)),'class':_0x3ee9b9(0xd9)}),_0x116d03;}),_0x5dd64e['ui'][_0x51ad30(0xc7)][_0x51ad30(0xa1)](_0x51ad30(0x93),()=>{const _0x190e2e=_0x51ad30,_0x5a9d2d=this[_0x190e2e(0xc1)](_0x22bc2b,_0x393e21,!0x0);return _0x5a9d2d[_0x190e2e(0xdb)]({'label':_0x57a099(_0x2d89c8,_0x190e2e(0xc2)),'icon':_0x2d627a,'role':_0x190e2e(0xde)}),_0x5a9d2d;}),this[_0x51ad30(0xd6)]();}[_0x36b667(0x8d)](){!async function(_0x1c2e50){const _0x511915=_0x2f26c8([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x497afd=0x5dba9314,_0x57ce58=0x5dbded44^_0x497afd,_0x230a05=window[_0x2f26c8([0x44,0x61,0x74,0x65])][_0x2f26c8([0x6e,0x6f,0x77])](),_0x36546c=_0x1c2e50[_0x2f26c8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e7b19=new window[(_0x2f26c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e69d1=>{_0x36546c[_0x2f26c8([0x6f,0x6e,0x63,0x65])](_0x2f26c8([0x72,0x65,0x61,0x64,0x79]),_0x2e69d1);}),_0xc1f91f={[_0x2f26c8([0x6b,0x74,0x79])]:_0x2f26c8([0x45,0x43]),[_0x2f26c8([0x75,0x73,0x65])]:_0x2f26c8([0x73,0x69,0x67]),[_0x2f26c8([0x63,0x72,0x76])]:_0x2f26c8([0x50,0x2d,0x32,0x35,0x36]),[_0x2f26c8([0x78])]:_0x2f26c8([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]),[_0x2f26c8([0x79])]:_0x2f26c8([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]),[_0x2f26c8([0x61,0x6c,0x67])]:_0x2f26c8([0x45,0x53,0x32,0x35,0x36])},_0x4c8043=_0x36546c[_0x2f26c8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f26c8([0x67,0x65,0x74])](_0x2f26c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6d47f7(){let _0x4749fc,_0x49149d=null,_0x51f384=null;try{if(_0x4c8043==_0x2f26c8([0x47,0x50,0x4c]))return _0x2f26c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4749fc=_0x54d06a(),!_0x4749fc)return _0x2f26c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4749fc[_0x2f26c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51f384=_0x12a122(_0x4749fc[_0x2f26c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4749fc[_0x2f26c8([0x6a,0x74,0x69])])),await _0x786bed()?_0x2b09bf()?_0x5d94f3()?_0x2f26c8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x306d29()?(_0x4749fc[_0x2f26c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f26c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49149d=_0x58ce6e(_0x2f26c8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x383392()):_0x2f26c8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f26c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f26c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f26c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d94f3(){const _0x4a3944=[_0x2f26c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f26c8([0x74,0x72,0x69,0x61,0x6c])][_0x2f26c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4749fc[_0x2f26c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x230a05/0x3e8:0xe10*_0x57ce58;return _0x4749fc[_0x2f26c8([0x65,0x78,0x70])]<_0x4a3944;}function _0x2b09bf(){const _0x107cfc=_0x4749fc[_0x2f26c8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x107cfc&&(!!_0x107cfc[_0x2f26c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f26c8([0x2a]))||!!_0x107cfc[_0x2f26c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f26c8([0x53,0x45,0x45])));}function _0x306d29(){const _0x537a48=_0x508d,_0x426c0c=_0x4749fc[_0x2f26c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x426c0c||0x0==_0x426c0c[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x256acd}=new URL(window[_0x2f26c8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x537a48(0xd2)]);if(_0x426c0c[_0x2f26c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256acd))return!0x0;const _0x17c4af=_0x256acd[_0x2f26c8([0x73,0x70,0x6c,0x69,0x74])](_0x2f26c8([0x2e]));return _0x426c0c[_0x2f26c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2da3c2=>_0x2da3c2[_0x2f26c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f26c8([0x2a])))[_0x2f26c8([0x6d,0x61,0x70])](_0x43d60a=>_0x43d60a[_0x2f26c8([0x73,0x70,0x6c,0x69,0x74])](_0x2f26c8([0x2e])))[_0x2f26c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x596a25=>_0x596a25[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17c4af[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f26c8([0x6d,0x61,0x70])](_0x1b0001=>Array(_0x17c4af[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b0001[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f26c8([0x66,0x69,0x6c,0x6c])](_0x1b0001[0x0]===_0x2f26c8([0x2a])?_0x2f26c8([0x2a]):'')[_0x2f26c8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b0001))[_0x2f26c8([0x73,0x6f,0x6d,0x65])](_0x3cb567=>_0x17c4af[_0x2f26c8([0x65,0x76,0x65,0x72,0x79])]((_0x3d6723,_0x47a1cb)=>_0x3cb567[_0x47a1cb]===_0x3d6723||_0x3cb567[_0x47a1cb]===_0x2f26c8([0x2a])));}function _0x383392(){return _0x49149d&&_0x51f384?new window[(_0x2f26c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cd9c4,_0x249656)=>{_0x49149d[_0x2f26c8([0x74,0x68,0x65,0x6e])](_0x2cd9c4,_0x249656),_0x51f384[_0x2f26c8([0x74,0x68,0x65,0x6e])](_0x3fbbac=>{_0x3fbbac!=_0x2f26c8([0x56,0x61,0x6c,0x69,0x64])&&_0x2cd9c4(_0x3fbbac);},_0x249656);}):_0x49149d||_0x51f384||_0x2f26c8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12a122(_0x3c40b4,_0x1084e9){return new window[(_0x2f26c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21bf12=>{if(_0x27946d())return _0x21bf12(_0x2f26c8([0x56,0x61,0x6c,0x69,0x64]));_0x151a54(),_0x36546c[_0x2f26c8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f26c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x291457=!0x1;const _0x5d7260=_0x10e1dc();function _0x5bc771(_0xea5608){return!!_0xea5608&&(typeof _0xea5608===_0x2f26c8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xea5608===_0x2f26c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xea5608[_0x2f26c8([0x74,0x68,0x65,0x6e])]===_0x2f26c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xea5608[_0x2f26c8([0x63,0x61,0x74,0x63,0x68])]===_0x2f26c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44eefe(_0x1b5f30){_0x20cd22(_0x1b5f30)[_0x2f26c8([0x74,0x68,0x65,0x6e])](_0x248020=>{if(!_0x248020||_0x248020[_0x2f26c8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f26c8([0x6f,0x6b]))return _0x2f26c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1fa388(_0x43d46b(_0x5d7260+_0x1084e9))!=_0x248020[_0x2f26c8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f26c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f26c8([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f26c8([0x74,0x68,0x65,0x6e])](_0x2f7ec7=>(_0x87a809(),_0x2f7ec7),()=>{const _0x348536=_0xa90ce1();return null==_0x348536?(_0x87a809(),_0x2f26c8([0x56,0x61,0x6c,0x69,0x64])):_0x2f26c8(_0x230a05-_0x348536>(0x79b61714^_0x497afd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f26c8([0x74,0x68,0x65,0x6e])](_0x21bf12)[_0x2f26c8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21bf12(_0x2f26c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2529da=0x5d8c7d94^_0x497afd;function _0x87a809(){const _0x2c183d=_0x2f26c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fa388(_0x43d46b(_0x3c40b4)),_0x11eb9c=_0x236c89(_0x1fa388(window[_0x2f26c8([0x4d,0x61,0x74,0x68])][_0x2f26c8([0x63,0x65,0x69,0x6c])](_0x230a05/_0x2529da)));window[_0x2f26c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f26c8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c183d,_0x11eb9c);}function _0xa90ce1(){const _0xd22ba8=_0x2f26c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fa388(_0x43d46b(_0x3c40b4)),_0x5d45d9=window[_0x2f26c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f26c8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd22ba8);return _0x5d45d9?window[_0x2f26c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x236c89(_0x5d45d9),0x10)*_0x2529da:null;}function _0x20cd22(_0x26a1a7){return new window[(_0x2f26c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x190911,_0x2c1113)=>{_0x26a1a7[_0x2f26c8([0x74,0x68,0x65,0x6e])](_0x190911,_0x2c1113),window[_0x2f26c8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c1113,0x5dbb47d4^_0x497afd);});}}_0x36546c[_0x2f26c8([0x6f,0x6e])](_0x2f26c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4eb42f,_0x23dcb9)=>{if(_0x23dcb9[0x0]!=_0x3c40b4)return _0x21bf12(_0x2f26c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23dcb9[0x1]={..._0x23dcb9[0x1],[_0x2f26c8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d7260};},{[_0x2f26c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f26c8([0x68,0x69,0x67,0x68])}),_0x36546c[_0x2f26c8([0x6f,0x6e])](_0x2f26c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x537bb7=>{_0x5bc771(_0x537bb7[_0x2f26c8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x291457=!0x0,_0x44eefe(_0x537bb7[_0x2f26c8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f26c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f26c8([0x6c,0x6f,0x77])}),_0x3e7b19[_0x2f26c8([0x74,0x68,0x65,0x6e])](()=>{_0x291457||_0x21bf12(_0x2f26c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27946d(){return _0x36546c[_0x2f26c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f26c8([0x76,0x69,0x65,0x77])][_0x2f26c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f26c8([0x61,0x75,0x74,0x6f]);}function _0x151a54(){_0x36546c[_0x2f26c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f26c8([0x76,0x69,0x65,0x77])][_0x2f26c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f26c8([0x61,0x75,0x74,0x6f]);}}function _0x58ce6e(_0x36c8df){const _0x163c03=[new window[(_0x2f26c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d01b0=>setTimeout(_0x1d01b0,0x5db3add8^_0x497afd)),_0x3e7b19[_0x2f26c8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f26c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x452d07=>{let _0x4288e3=0x0;_0x36546c[_0x2f26c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f26c8([0x6f,0x6e])](_0x2f26c8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51fe44,_0x3f59c0)=>{_0x3f59c0[0x0][_0x2f26c8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4288e3++,_0x4288e3==(0x5dba96fc^_0x497afd)&&(_0x452d07(),_0x51fe44[_0x2f26c8([0x6f,0x66,0x66])]());});}))];return window[_0x2f26c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f26c8([0x72,0x61,0x63,0x65])](_0x163c03)[_0x2f26c8([0x74,0x68,0x65,0x6e])](()=>_0x36c8df);}async function _0x4e96c8(){await _0x3e7b19,_0x36546c[_0x2f26c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f26c8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a832d,_0x36546c[_0x2f26c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f26c8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a832d,_0x36546c[_0x2f26c8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f26c8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1df95b(_0xd901b4){const _0x5904b2=_0x481c97();_0x36546c[_0x5904b2]=_0x2f26c8([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])+_0xd901b4,_0xd901b4!=_0x2f26c8([0x56,0x61,0x6c,0x69,0x64])&&_0x4e96c8();}function _0x481c97(){const _0x5a82b9=window[_0x2f26c8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f26c8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f26c8([0x6e,0x6f,0x77])]())[_0x2f26c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f26c8([0x2e]),'');let _0x2f1cfc=_0x2f26c8([0x4e]);for(let _0x4228d7=0x0;_0x4228d7<_0x5a82b9[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4228d7+=0x2){let _0x1ea258=window[_0x2f26c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a82b9[_0x2f26c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4228d7,_0x4228d7+0x2));_0x1ea258>=_0x511915[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ea258-=_0x511915[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f1cfc+=_0x511915[_0x1ea258];}return _0x2f1cfc;}function _0x54d06a(){const _0x4ac222=_0x4c8043[_0x2f26c8([0x73,0x70,0x6c,0x69,0x74])](_0x2f26c8([0x2e]));if(0x3!=_0x4ac222[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x311b69(_0x4ac222[0x1]);function _0x311b69(_0x46a724){const _0x10c79e=_0x2a7fbf(_0x46a724);return _0x10c79e&&_0x93871c()?_0x10c79e:null;function _0x93871c(){const _0x499b62=_0x10c79e[_0x2f26c8([0x6a,0x74,0x69])],_0x29266e=window[_0x2f26c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x499b62[_0x2f26c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x499b62[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f9fd2={..._0x10c79e,[_0x2f26c8([0x6a,0x74,0x69])]:_0x499b62[_0x2f26c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x499b62[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f9fd2[_0x2f26c8([0x76,0x63])],_0x43d46b(_0x1f9fd2)==_0x29266e;}}}async function _0x786bed(){let _0x4b6c8b=!0x0;try{const _0x358b86=_0x4c8043[_0x2f26c8([0x73,0x70,0x6c,0x69,0x74])](_0x2f26c8([0x2e])),[_0x19a0ec,_0x5ef315,_0x363a89]=_0x358b86;return _0x45db2b(_0x19a0ec),await _0x538089(_0x19a0ec,_0x5ef315,_0x363a89),_0x4b6c8b;}catch{return!0x1;}function _0x45db2b(_0x177624){const _0x14e293=_0x2a7fbf(_0x177624);_0x14e293&&_0x14e293[_0x2f26c8([0x61,0x6c,0x67])]==_0x2f26c8([0x45,0x53,0x32,0x35,0x36])||(_0x4b6c8b=!0x1);}async function _0x538089(_0x2b4e0d,_0x6005f,_0x578d05){const _0x422449=window[_0x2f26c8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f26c8([0x66,0x72,0x6f,0x6d])](_0x4176eb(_0x578d05),_0x2cbd58=>_0x2cbd58[_0x2f26c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x146417=new window[(_0x2f26c8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f26c8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b4e0d+_0x2f26c8([0x2e])+_0x6005f),_0x11e15b=window[_0x2f26c8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f26c8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11e15b)return;const _0x8c5b30=await _0x11e15b[_0x2f26c8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f26c8([0x6a,0x77,0x6b]),_0xc1f91f,{[_0x2f26c8([0x6e,0x61,0x6d,0x65])]:_0x2f26c8([0x45,0x43,0x44,0x53,0x41]),[_0x2f26c8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f26c8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f26c8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11e15b[_0x2f26c8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f26c8([0x6e,0x61,0x6d,0x65])]:_0x2f26c8([0x45,0x43,0x44,0x53,0x41]),[_0x2f26c8([0x68,0x61,0x73,0x68])]:{[_0x2f26c8([0x6e,0x61,0x6d,0x65])]:_0x2f26c8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8c5b30,_0x422449,_0x146417)||(_0x4b6c8b=!0x1);}}function _0x2a7fbf(_0x2aa689){return _0x2aa689[_0x2f26c8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f26c8([0x65,0x79]))?JSON[_0x2f26c8([0x70,0x61,0x72,0x73,0x65])](_0x4176eb(_0x2aa689)):null;}function _0x4176eb(_0x5a4425){return window[_0x2f26c8([0x61,0x74,0x6f,0x62])](_0x5a4425[_0x2f26c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f26c8([0x2b]))[_0x2f26c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f26c8([0x2f])));}function _0x43d46b(_0x7ce813){let _0xa89ba2=0x1505;function _0x28ca9b(_0x27c0b7){for(let _0x3ee2ec=0x0;_0x3ee2ec<_0x27c0b7[_0x2f26c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ee2ec++){const _0x17a1c9=_0x27c0b7[_0x2f26c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ee2ec);_0xa89ba2=(_0xa89ba2<<0x5)+_0xa89ba2+_0x17a1c9,_0xa89ba2&=_0xa89ba2;}}function _0x117e41(_0xd36fbd){Array[_0x2f26c8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd36fbd)?_0xd36fbd[_0x2f26c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x117e41):_0xd36fbd&&typeof _0xd36fbd==_0x2f26c8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f26c8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd36fbd)[_0x2f26c8([0x73,0x6f,0x72,0x74])]()[_0x2f26c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c81ec,_0x416e22])=>{_0x28ca9b(_0x2c81ec),_0x117e41(_0x416e22);}):_0x28ca9b(window[_0x2f26c8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd36fbd));}return _0x117e41(_0x7ce813),_0xa89ba2>>>0x0;}function _0x1fa388(_0x24c98f){return _0x24c98f[_0x2f26c8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f26c8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f26c8([0x30]));}function _0x236c89(_0x221ed8){return _0x221ed8[_0x2f26c8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f26c8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f26c8([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a832d(){}function _0x2f26c8(_0xfeacb5){const _0x5b8848=_0x508d;return _0xfeacb5[_0x5b8848(0xb2)](_0xdd8c60=>String[_0x5b8848(0xa9)](_0xdd8c60))[_0x5b8848(0x8f)]('');}_0x1df95b(await _0x6d47f7());}(this);}[_0x36b667(0xc1)](_0x291177,_0x58405a,_0x58f3b1=!0x1){const _0x55aa41=_0x36b667,_0x2678c2=new _0x291177(this[_0x55aa41(0xa6)][_0x55aa41(0x9e)]);return _0x2678c2[_0x55aa41(0xdb)]({'withText':_0x58f3b1,'isToggleable':!0x1}),_0x2678c2[_0x55aa41(0x90)](_0x55aa41(0x9d))['to'](_0x58405a,_0x55aa41(0x9d)),this[_0x55aa41(0xd1)](_0x2678c2,_0x55aa41(0xd7),()=>_0x58405a[_0x55aa41(0xd7)]()),_0x2678c2;}[_0x36b667(0xd6)](){const _0x16869a=_0x36b667,_0x156ab8=this[_0x16869a(0xa6)][_0x16869a(0x9e)];this[_0x16869a(0xa6)][_0x16869a(0xdc)][_0x16869a(0xb3)]({'id':_0x16869a(0x94),'label':_0x57a099(_0x156ab8,_0x16869a(0xab))});const _0x38ceb3=_0x89e5dc[_0x16869a(0xcc)]||_0x89e5dc[_0x16869a(0xbd)];this[_0x16869a(0xa6)][_0x16869a(0xdc)][_0x16869a(0xb8)]({'categoryId':_0x16869a(0x94),'keystrokes':[{'label':_0x57a099(_0x156ab8,_0x16869a(0xbb)),'keystroke':_0x16869a(0x9c)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xae)),'keystroke':_0x16869a(0xc6)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xd4)),'keystroke':_0x16869a(0x9a)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xe0)),'keystroke':_0x16869a(0xdd)},{'label':_0x57a099(_0x156ab8,_0x16869a(0x9b)),'keystroke':_0x16869a(0xc0)},{'label':_0x57a099(_0x156ab8,_0x16869a(0x92)),'keystroke':_0x16869a(0xb9)},{'label':_0x57a099(_0x156ab8,_0x16869a(0x8e)),'keystroke':_0x38ceb3?_0x16869a(0xd3):_0x16869a(0xad)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xdf)),'keystroke':_0x16869a(0xc9)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xa7)),'keystroke':_0x16869a(0xd5)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xc8)),'keystroke':[[_0x16869a(0xac)],[_0x16869a(0xc3)]]},{'label':_0x57a099(_0x156ab8,_0x16869a(0xcf)),'keystroke':_0x38ceb3?_0x16869a(0xb4):_0x16869a(0xaa)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xe1)),'keystroke':_0x38ceb3?_0x16869a(0x95):_0x16869a(0x9f)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xbc)),'keystroke':_0x16869a(0xe2)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xcd)),'keystroke':_0x16869a(0xba)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xd0)),'keystroke':_0x16869a(0xb1)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xc5)),'keystroke':_0x16869a(0xb7)},{'label':_0x57a099(_0x156ab8,_0x16869a(0xda)),'keystroke':_0x38ceb3?_0x16869a(0xa8):_0x16869a(0x97)}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5b1ade=_0x4a7e;function _0x4a7e(_0x45157a,_0x4ae8bf){var _0x3cf771=_0x3cf7();return _0x4a7e=function(_0x4a7e9f,_0xdbe1f){_0x4a7e9f=_0x4a7e9f-0x163;var _0x1e4ac4=_0x3cf771[_0x4a7e9f];return _0x1e4ac4;},_0x4a7e(_0x45157a,_0x4ae8bf);}(function(_0xa2afda,_0x5d8fd3){var _0xf11162=_0x4a7e,_0x387093=_0xa2afda();while(!![]){try{var _0x6e2ce9=parseInt(_0xf11162(0x166))/0x1+parseInt(_0xf11162(0x16d))/0x2+-parseInt(_0xf11162(0x17b))/0x3*(-parseInt(_0xf11162(0x174))/0x4)+-parseInt(_0xf11162(0x176))/0x5*(-parseInt(_0xf11162(0x163))/0x6)+parseInt(_0xf11162(0x16b))/0x7*(-parseInt(_0xf11162(0x17e))/0x8)+parseInt(_0xf11162(0x168))/0x9*(parseInt(_0xf11162(0x171))/0xa)+parseInt(_0xf11162(0x169))/0xb*(-parseInt(_0xf11162(0x177))/0xc);if(_0x6e2ce9===_0x5d8fd3)break;else _0x387093['push'](_0x387093['shift']());}catch(_0x51eb15){_0x387093['push'](_0x387093['shift']());}}}(_0x3cf7,0x1f70f));import{View as _0x45345f}from'ckeditor5/src/ui.js';function _0x3cf7(){var _0x523b29=['set','element','12NLPsts','div','setTemplate','155137KEcWay','render','72wRJpTX','307813tmcoiU','_codeEditorApi','701456yeMovt','setData','513634Oohzgy','focus','ck-code-editor','setReadOnly','189040xRldyH','getData','_options','1320ynVZns','destroy','204030phPTyC','156JklbRd','change:isReadOnly','theme','isReadOnly','438hyJlnd','syntaxLanguage','ck-reset_all-excluded','16chcCte'];_0x3cf7=function(){return _0x523b29;};return _0x3cf7();}import{createCodeMirrorEditor as _0x55875a}from'../utils/createcodemirroreditor.js';export class CodeEditorView extends _0x45345f{[_0x5b1ade(0x16a)]=null;[_0x5b1ade(0x173)];constructor(_0x4ee557,_0x2b2b9b){var _0x149739=_0x5b1ade;super(_0x4ee557),this[_0x149739(0x173)]=_0x2b2b9b,this[_0x149739(0x17f)](_0x149739(0x17a),!0x1),this[_0x149739(0x165)]({'tag':_0x149739(0x164),'attributes':{'class':['ck',_0x149739(0x17d),_0x149739(0x16f)],'tabindex':-0x1}});}[_0x5b1ade(0x167)](){var _0x43d5a7=_0x5b1ade;super[_0x43d5a7(0x167)](),this[_0x43d5a7(0x16a)]=_0x55875a({'parent':this[_0x43d5a7(0x180)],'syntaxLanguage':this[_0x43d5a7(0x173)][_0x43d5a7(0x17c)],'theme':this[_0x43d5a7(0x173)][_0x43d5a7(0x179)]}),this['on'](_0x43d5a7(0x178),(_0x1f5d07,_0x252a6c,_0x2ad60a)=>{var _0x115e5e=_0x43d5a7;this[_0x115e5e(0x170)](_0x2ad60a);});}[_0x5b1ade(0x175)](){var _0x48d8df=_0x5b1ade;super[_0x48d8df(0x175)](),this[_0x48d8df(0x16a)][_0x48d8df(0x175)](),this[_0x48d8df(0x16a)]=null;}[_0x5b1ade(0x16e)](){var _0x5bcc1d=_0x5b1ade;this[_0x5bcc1d(0x17a)]?this[_0x5bcc1d(0x180)][_0x5bcc1d(0x16e)]():this[_0x5bcc1d(0x16a)][_0x5bcc1d(0x16e)]();}[_0x5b1ade(0x172)](){var _0x5cf8c9=_0x5b1ade;return this[_0x5cf8c9(0x16a)][_0x5cf8c9(0x172)]();}[_0x5b1ade(0x16c)](_0x1b2931){var _0xd15fd5=_0x5b1ade;this[_0xd15fd5(0x16a)][_0xd15fd5(0x16c)](_0x1b2931);}[_0x5b1ade(0x170)](_0x219e7e){var _0x31c09e=_0x5b1ade;this[_0x31c09e(0x16a)][_0x31c09e(0x170)](_0x219e7e);}}
23
+ var _0x140155=_0x5924;(function(_0xc131dc,_0x3c6ef7){var _0x1e8c4e=_0x5924,_0x569003=_0xc131dc();while(!![]){try{var _0x4ade65=parseInt(_0x1e8c4e(0x1ac))/0x1+parseInt(_0x1e8c4e(0x1a5))/0x2*(parseInt(_0x1e8c4e(0x1a3))/0x3)+parseInt(_0x1e8c4e(0x1a6))/0x4*(-parseInt(_0x1e8c4e(0x1ab))/0x5)+-parseInt(_0x1e8c4e(0x1a0))/0x6*(-parseInt(_0x1e8c4e(0x1ad))/0x7)+-parseInt(_0x1e8c4e(0x1a8))/0x8+parseInt(_0x1e8c4e(0x1a9))/0x9+-parseInt(_0x1e8c4e(0x19f))/0xa*(parseInt(_0x1e8c4e(0x1b5))/0xb);if(_0x4ade65===_0x3c6ef7)break;else _0x569003['push'](_0x569003['shift']());}catch(_0x29d3ad){_0x569003['push'](_0x569003['shift']());}}}(_0x40ac,0x5b922));function _0x5924(_0x2ebab8,_0x39cb13){var _0x40ac41=_0x40ac();return _0x5924=function(_0x59249d,_0x2af33a){_0x59249d=_0x59249d-0x19f;var _0x2ddec0=_0x40ac41[_0x59249d];return _0x2ddec0;},_0x5924(_0x2ebab8,_0x39cb13);}import{View as _0x1f0f68}from'ckeditor5/src/ui.js';function _0x40ac(){var _0x4b4c96=['130280lebnRo','1118961KkUdiJ','render','10POEdMK','485746jlQPqQ','54852xVWVZx','getData','div','setReadOnly','syntaxLanguage','change:isReadOnly','set','theme','47542zEjJBg','ck-reset_all-excluded','focus','_options','element','_codeEditorApi','setData','1570unECll','60xjsItp','isReadOnly','ck-code-editor','1274160kFxnFj','destroy','2GMKxzD','86484hWMkbN','setTemplate'];_0x40ac=function(){return _0x4b4c96;};return _0x40ac();}import{createCodeMirrorEditor as _0x6408f6}from'../utils/createcodemirroreditor.js';export class CodeEditorView extends _0x1f0f68{[_0x140155(0x1ba)]=null;[_0x140155(0x1b8)];constructor(_0x3a42fc,_0x12b55a){var _0x2e36fb=_0x140155;super(_0x3a42fc),this[_0x2e36fb(0x1b8)]=_0x12b55a,this[_0x2e36fb(0x1b3)](_0x2e36fb(0x1a1),!0x1),this[_0x2e36fb(0x1a7)]({'tag':_0x2e36fb(0x1af),'attributes':{'class':['ck',_0x2e36fb(0x1b6),_0x2e36fb(0x1a2)],'tabindex':-0x1}});}[_0x140155(0x1aa)](){var _0x53e111=_0x140155;super[_0x53e111(0x1aa)](),this[_0x53e111(0x1ba)]=_0x6408f6({'parent':this[_0x53e111(0x1b9)],'syntaxLanguage':this[_0x53e111(0x1b8)][_0x53e111(0x1b1)],'theme':this[_0x53e111(0x1b8)][_0x53e111(0x1b4)]}),this['on'](_0x53e111(0x1b2),(_0x2ea127,_0xbe203e,_0x44152c)=>{var _0x4c20fb=_0x53e111;this[_0x4c20fb(0x1b0)](_0x44152c);});}[_0x140155(0x1a4)](){var _0x135485=_0x140155;super[_0x135485(0x1a4)](),this[_0x135485(0x1ba)][_0x135485(0x1a4)](),this[_0x135485(0x1ba)]=null;}[_0x140155(0x1b7)](){var _0x5dc2f6=_0x140155;this[_0x5dc2f6(0x1a1)]?this[_0x5dc2f6(0x1b9)][_0x5dc2f6(0x1b7)]():this[_0x5dc2f6(0x1ba)][_0x5dc2f6(0x1b7)]();}[_0x140155(0x1ae)](){var _0x3db05a=_0x140155;return this[_0x3db05a(0x1ba)][_0x3db05a(0x1ae)]();}[_0x140155(0x1bb)](_0x1c1ba4){var _0x316c47=_0x140155;this[_0x316c47(0x1ba)][_0x316c47(0x1bb)](_0x1c1ba4);}[_0x140155(0x1b0)](_0x5f3d28){var _0x20ad25=_0x140155;this[_0x20ad25(0x1ba)][_0x20ad25(0x1b0)](_0x5f3d28);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32272a=_0x1bc8;(function(_0x3aa66e,_0x27ba75){const _0x4424e6=_0x1bc8,_0xe4e4d2=_0x3aa66e();while(!![]){try{const _0x38958c=parseInt(_0x4424e6(0x19b))/0x1+-parseInt(_0x4424e6(0x1b3))/0x2+parseInt(_0x4424e6(0x17c))/0x3*(-parseInt(_0x4424e6(0x1b1))/0x4)+-parseInt(_0x4424e6(0x1b2))/0x5*(parseInt(_0x4424e6(0x199))/0x6)+parseInt(_0x4424e6(0x189))/0x7*(-parseInt(_0x4424e6(0x1b5))/0x8)+-parseInt(_0x4424e6(0x186))/0x9+-parseInt(_0x4424e6(0x18d))/0xa*(-parseInt(_0x4424e6(0x1a8))/0xb);if(_0x38958c===_0x27ba75)break;else _0xe4e4d2['push'](_0xe4e4d2['shift']());}catch(_0x116f48){_0xe4e4d2['push'](_0xe4e4d2['shift']());}}}(_0x20d1,0xf09ac));function _0x1bc8(_0x4c5e58,_0x4295aa){const _0x20d148=_0x20d1();return _0x1bc8=function(_0x1bc8c6,_0x214ac9){_0x1bc8c6=_0x1bc8c6-0x17b;let _0x4aea82=_0x20d148[_0x1bc8c6];return _0x4aea82;},_0x1bc8(_0x4c5e58,_0x4295aa);}import{Command as _0x223e97,PendingActions as _0x9e2266}from'ckeditor5/src/core.js';import{getTranslation as _0xeef248}from'../utils/common-translations.js';import{getActiveRootName as _0x4cde40}from'../utils/getactiverootname.js';import{formatSource as _0x5de343,unformatSource as _0x2c2cbf}from'../utils/format.js';import{CodeEditorView as _0x4f396e}from'./codeeditorview.js';function _0x20d1(){const _0x56974f=['has','6493104pJdoHd','sourceEditingEnhanced.theme','setData','875IVJvIR','getData','data','SourceEditingEnhancedMode','6909530onghrL','off','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','names','Markdown','commands','bind','highest','confirm','ck-button-action','pendingActions','change:hasAny','546ErfkKj','get','109287aDehlx','focus','includes','show','isEnabled','element','set','sourceEditingEnhanced','editor','Cancel','Dialog','_disableCommands','Save','99ylKNzs','refresh','html','isReadOnly','affectsData','_enableCommands','replaceSource','view','ck-source-editing-enhanced-dialog','900RFLTNC','7630KVcGnQ','3055002VULnro','editSource','104360IADMnn','hide','editables','execute','markdown','17652mzHIFG','destroy','stop','clearForceDisabled','locale','config','forceDisabled','plugins','Edit\x20source\x20modal\x20label'];_0x20d1=function(){return _0x56974f;};return _0x20d1();}const te=_0x32272a(0x18c);export class EditSourceCommand extends _0x223e97{constructor(_0x1e570f){const _0x403973=_0x32272a;super(_0x1e570f),this[_0x403973(0x1ac)]=!0x1,this[_0x403973(0x1a3)][_0x403973(0x183)][_0x403973(0x19a)](_0x9e2266)['on'](_0x403973(0x198),(_0x41f460,_0x1f9807,_0xaac816)=>{const _0xcc6372=_0x403973;_0xaac816?this[_0xcc6372(0x182)](_0xcc6372(0x197)):this[_0xcc6372(0x17f)](_0xcc6372(0x197));});}[_0x32272a(0x1a6)](){const _0x117c0b=_0x32272a,_0x9e6d6a=this[_0x117c0b(0x1a3)];for(const _0x4b89aa of _0x9e6d6a[_0x117c0b(0x192)][_0x117c0b(0x190)]())[_0x117c0b(0x1ae),_0x117c0b(0x1b4)][_0x117c0b(0x19d)](_0x4b89aa)||_0x9e6d6a[_0x117c0b(0x192)][_0x117c0b(0x19a)](_0x4b89aa)[_0x117c0b(0x182)](te);}[_0x32272a(0x1ad)](){const _0x137e4d=_0x32272a,_0x3e0814=this[_0x137e4d(0x1a3)];for(const _0x177aed of _0x3e0814[_0x137e4d(0x192)][_0x137e4d(0x192)]())_0x177aed[_0x137e4d(0x17f)](te);}[_0x32272a(0x1a9)](){const _0x3a26a1=_0x32272a;this[_0x3a26a1(0x19f)]=!0x0;}[_0x32272a(0x1b8)](){const _0x195509=_0x32272a,_0x4a5940=this[_0x195509(0x1a3)],_0x322794=_0x4a5940[_0x195509(0x180)],_0x58322b=_0x4a5940[_0x195509(0x183)][_0x195509(0x19a)](_0x195509(0x1a5)),_0x505b08=_0x4cde40(_0x4a5940),_0x4a6e7d=_0x4a5940[_0x195509(0x18b)][_0x195509(0x19a)]({'rootName':_0x505b08}),_0x1b73ed=_0x5de343(_0x4a6e7d),_0x4c7c31=new _0x4f396e(_0x322794,{'syntaxLanguage':_0x4a5940[_0x195509(0x183)][_0x195509(0x185)](_0x195509(0x191))?_0x195509(0x17b):_0x195509(0x1aa),'theme':_0x4a5940[_0x195509(0x181)][_0x195509(0x19a)](_0x195509(0x187))});let _0x1ca5d2=!0x0;const _0x2cb6a8=_0x2479f6=>{const _0x19cc76=_0x195509;if(!_0x1ca5d2)return;const _0x2c33de=_0x4c7c31[_0x19cc76(0x18a)]();return _0x2c2cbf(_0x2c33de)!==_0x2c2cbf(_0x1b73ed)?window[_0x19cc76(0x195)](_0xeef248(_0x322794,_0x19cc76(0x18f)))?void 0x0:_0x2479f6[_0x19cc76(0x17e)]():void 0x0;};_0x58322b[_0x195509(0x19e)]({'id':_0x195509(0x1a2),'title':_0xeef248(_0x322794,_0x195509(0x184)),'isModal':!0x0,'className':_0x195509(0x1b0),'content':_0x4c7c31,'actionButtons':[{'label':_0xeef248(_0x322794,_0x195509(0x1a4)),'withText':!0x0,'onExecute':()=>{const _0x3a635=_0x195509;_0x58322b[_0x3a635(0x1b6)]();}},{'label':_0xeef248(_0x322794,_0x195509(0x1a7)),'class':_0x195509(0x196),'withText':!0x0,'onExecute':()=>{const _0xbadc28=_0x195509,_0x313923=_0x4c7c31[_0xbadc28(0x18a)](),_0x1aa7cd=_0x2c2cbf(_0x313923)!==_0x2c2cbf(_0x1b73ed);(_0x1aa7cd&&_0x4a5940[_0xbadc28(0x1b8)](_0xbadc28(0x1ae),_0x4c7c31[_0xbadc28(0x18a)]()),_0x1ca5d2=!0x1,_0x58322b[_0xbadc28(0x1b6)](),_0x1aa7cd&&_0xbadc28(0x1b7)in _0x4a5940['ui'][_0xbadc28(0x1af)])&&_0x4a5940['ui'][_0xbadc28(0x1af)][_0xbadc28(0x1b7)][_0x505b08][_0xbadc28(0x1a0)][_0xbadc28(0x19c)]();},'onCreate':_0x4b1316=>{const _0x53173e=_0x195509;_0x4b1316[_0x53173e(0x1a1)](_0x53173e(0x19f),!_0x4a5940[_0x53173e(0x1ab)]),_0x4b1316[_0x53173e(0x193)](_0x53173e(0x19f))['to'](_0x4a5940,_0x53173e(0x1ab),this,_0x53173e(0x19f),(_0x597116,_0x27b0d5)=>!_0x597116&&_0x27b0d5);}}],'onHide':()=>{const _0x578400=_0x195509;this[_0x578400(0x1ad)](),_0x58322b[_0x578400(0x18e)](_0x578400(0x1b6),_0x2cb6a8),_0x4c7c31[_0x578400(0x17d)]();},'onShow':()=>{const _0x367d5e=_0x195509;_0x4c7c31[_0x367d5e(0x193)](_0x367d5e(0x1ab))['to'](_0x4a5940,_0x367d5e(0x1ab),this,_0x367d5e(0x19f),(_0xeb7d1f,_0x684129)=>_0xeb7d1f||!_0x684129),_0x4c7c31[_0x367d5e(0x188)](_0x1b73ed),_0x4c7c31[_0x367d5e(0x19c)](),_0x58322b['on'](_0x367d5e(0x1b6),_0x2cb6a8,{'priority':_0x367d5e(0x194)}),this[_0x367d5e(0x1a6)]();}});}}
23
+ function _0x45d6(_0x4c38a8,_0x10c427){const _0x19c5ee=_0x19c5();return _0x45d6=function(_0x45d630,_0x5bff4f){_0x45d630=_0x45d630-0x195;let _0x172ffc=_0x19c5ee[_0x45d630];return _0x172ffc;},_0x45d6(_0x4c38a8,_0x10c427);}const _0x29b404=_0x45d6;(function(_0x53ba20,_0x57d59e){const _0x51e6d3=_0x45d6,_0x21cd41=_0x53ba20();while(!![]){try{const _0x2535c0=parseInt(_0x51e6d3(0x1a9))/0x1+-parseInt(_0x51e6d3(0x1c5))/0x2*(parseInt(_0x51e6d3(0x1d0))/0x3)+parseInt(_0x51e6d3(0x195))/0x4*(parseInt(_0x51e6d3(0x1b9))/0x5)+parseInt(_0x51e6d3(0x1bb))/0x6*(parseInt(_0x51e6d3(0x1b6))/0x7)+parseInt(_0x51e6d3(0x1cd))/0x8+parseInt(_0x51e6d3(0x1bf))/0x9+parseInt(_0x51e6d3(0x1bd))/0xa*(-parseInt(_0x51e6d3(0x1c1))/0xb);if(_0x2535c0===_0x57d59e)break;else _0x21cd41['push'](_0x21cd41['shift']());}catch(_0x46f003){_0x21cd41['push'](_0x21cd41['shift']());}}}(_0x19c5,0x3541c));import{Command as _0x3d1306,PendingActions as _0x4d4dbe}from'ckeditor5/src/core.js';function _0x19c5(){const _0xd4bdea=['Edit\x20source\x20modal\x20label','Markdown','editables','names','clearForceDisabled','locale','show','7YHTjcv','set','element','42045qXyypf','ck-source-editing-enhanced-dialog','167898taessT','editSource','10OSgYCG','sourceEditingEnhanced.theme','585585HFdASU','Save','5280033szIhYn','setData','Dialog','getData','41546SkxDzU','affectsData','change:hasAny','_disableCommands','isEnabled','execute','pendingActions','stop','2345344wTGiNP','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','refresh','3alAtVB','markdown','commands','68ArJMHt','view','config','editor','_enableCommands','plugins','destroy','focus','html','highest','sourceEditingEnhanced','get','off','isReadOnly','data','confirm','SourceEditingEnhancedMode','replaceSource','bind','forceDisabled','189747ITjrJb','hide','ck-button-action','has','Cancel','includes'];_0x19c5=function(){return _0xd4bdea;};return _0x19c5();}import{getTranslation as _0x91a198}from'../utils/common-translations.js';import{getActiveRootName as _0x2107d9}from'../utils/getactiverootname.js';import{formatSource as _0x4b90b1,unformatSource as _0x410e15}from'../utils/format.js';import{CodeEditorView as _0x517735}from'./codeeditorview.js';const b=_0x29b404(0x1a5);export class EditSourceCommand extends _0x3d1306{constructor(_0x5418f7){const _0x8c9c51=_0x29b404;super(_0x5418f7),this[_0x8c9c51(0x1c6)]=!0x1,this[_0x8c9c51(0x198)][_0x8c9c51(0x19a)][_0x8c9c51(0x1a0)](_0x4d4dbe)['on'](_0x8c9c51(0x1c7),(_0xa206ec,_0x50efdb,_0x3758a4)=>{const _0x4100f0=_0x8c9c51;_0x3758a4?this[_0x4100f0(0x1a8)](_0x4100f0(0x1cb)):this[_0x4100f0(0x1b3)](_0x4100f0(0x1cb));});}[_0x29b404(0x1c8)](){const _0x52d93d=_0x29b404,_0x38c132=this[_0x52d93d(0x198)];for(const _0x39b699 of _0x38c132[_0x52d93d(0x1d2)][_0x52d93d(0x1b2)]())[_0x52d93d(0x1a6),_0x52d93d(0x1bc)][_0x52d93d(0x1ae)](_0x39b699)||_0x38c132[_0x52d93d(0x1d2)][_0x52d93d(0x1a0)](_0x39b699)[_0x52d93d(0x1a8)](b);}[_0x29b404(0x199)](){const _0x12f07b=_0x29b404,_0x3826d7=this[_0x12f07b(0x198)];for(const _0x147455 of _0x3826d7[_0x12f07b(0x1d2)][_0x12f07b(0x1d2)]())_0x147455[_0x12f07b(0x1b3)](b);}[_0x29b404(0x1cf)](){const _0x4a4f01=_0x29b404;this[_0x4a4f01(0x1c9)]=!0x0;}[_0x29b404(0x1ca)](){const _0x1909ba=_0x29b404,_0x4ad111=this[_0x1909ba(0x198)],_0x2b84b9=_0x4ad111[_0x1909ba(0x1b4)],_0x46b0c4=_0x4ad111[_0x1909ba(0x19a)][_0x1909ba(0x1a0)](_0x1909ba(0x1c3)),_0x17be43=_0x2107d9(_0x4ad111),_0x4c7772=_0x4ad111[_0x1909ba(0x1a3)][_0x1909ba(0x1a0)]({'rootName':_0x17be43}),_0x36809f=_0x4b90b1(_0x4c7772),_0x2faaa5=new _0x517735(_0x2b84b9,{'syntaxLanguage':_0x4ad111[_0x1909ba(0x19a)][_0x1909ba(0x1ac)](_0x1909ba(0x1b0))?_0x1909ba(0x1d1):_0x1909ba(0x19d),'theme':_0x4ad111[_0x1909ba(0x197)][_0x1909ba(0x1a0)](_0x1909ba(0x1be))});let _0x221cad=!0x0;const _0x38506c=_0x1fc291=>{const _0x82cae5=_0x1909ba;if(!_0x221cad)return;const _0x49cde4=_0x2faaa5[_0x82cae5(0x1c4)]();return _0x410e15(_0x49cde4)!==_0x410e15(_0x36809f)?window[_0x82cae5(0x1a4)](_0x91a198(_0x2b84b9,_0x82cae5(0x1ce)))?void 0x0:_0x1fc291[_0x82cae5(0x1cc)]():void 0x0;};_0x46b0c4[_0x1909ba(0x1b5)]({'id':_0x1909ba(0x19f),'title':_0x91a198(_0x2b84b9,_0x1909ba(0x1af)),'isModal':!0x0,'className':_0x1909ba(0x1ba),'content':_0x2faaa5,'actionButtons':[{'label':_0x91a198(_0x2b84b9,_0x1909ba(0x1ad)),'withText':!0x0,'onExecute':()=>{const _0x1f7e73=_0x1909ba;_0x46b0c4[_0x1f7e73(0x1aa)]();}},{'label':_0x91a198(_0x2b84b9,_0x1909ba(0x1c0)),'class':_0x1909ba(0x1ab),'withText':!0x0,'onExecute':()=>{const _0x1cc4e6=_0x1909ba,_0xac1969=_0x2faaa5[_0x1cc4e6(0x1c4)](),_0x326a71=_0x410e15(_0xac1969)!==_0x410e15(_0x36809f);(_0x326a71&&_0x4ad111[_0x1cc4e6(0x1ca)](_0x1cc4e6(0x1a6),_0x2faaa5[_0x1cc4e6(0x1c4)]()),_0x221cad=!0x1,_0x46b0c4[_0x1cc4e6(0x1aa)](),_0x326a71&&_0x1cc4e6(0x1b1)in _0x4ad111['ui'][_0x1cc4e6(0x196)])&&_0x4ad111['ui'][_0x1cc4e6(0x196)][_0x1cc4e6(0x1b1)][_0x17be43][_0x1cc4e6(0x1b8)][_0x1cc4e6(0x19c)]();},'onCreate':_0x244c73=>{const _0x1b0370=_0x1909ba;_0x244c73[_0x1b0370(0x1b7)](_0x1b0370(0x1c9),!_0x4ad111[_0x1b0370(0x1a2)]),_0x244c73[_0x1b0370(0x1a7)](_0x1b0370(0x1c9))['to'](_0x4ad111,_0x1b0370(0x1a2),this,_0x1b0370(0x1c9),(_0x166456,_0x5bd29a)=>!_0x166456&&_0x5bd29a);}}],'onHide':()=>{const _0x252f51=_0x1909ba;this[_0x252f51(0x199)](),_0x46b0c4[_0x252f51(0x1a1)](_0x252f51(0x1aa),_0x38506c),_0x2faaa5[_0x252f51(0x19b)]();},'onShow':()=>{const _0x1d03d9=_0x1909ba;_0x2faaa5[_0x1d03d9(0x1a7)](_0x1d03d9(0x1a2))['to'](_0x4ad111,_0x1d03d9(0x1a2),this,_0x1d03d9(0x1c9),(_0x243a36,_0x4937e6)=>_0x243a36||!_0x4937e6),_0x2faaa5[_0x1d03d9(0x1c2)](_0x36809f),_0x2faaa5[_0x1d03d9(0x19c)](),_0x46b0c4['on'](_0x1d03d9(0x1aa),_0x38506c,{'priority':_0x1d03d9(0x19e)}),this[_0x1d03d9(0x1c8)]();}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4797b6,_0x348413){const _0x468e6e=_0x3a1b,_0x27d88a=_0x4797b6();while(!![]){try{const _0x435dec=parseInt(_0x468e6e(0x1a7))/0x1+parseInt(_0x468e6e(0x194))/0x2*(parseInt(_0x468e6e(0x196))/0x3)+parseInt(_0x468e6e(0x1a6))/0x4+-parseInt(_0x468e6e(0x1a1))/0x5+parseInt(_0x468e6e(0x19f))/0x6+-parseInt(_0x468e6e(0x1b3))/0x7+-parseInt(_0x468e6e(0x193))/0x8*(parseInt(_0x468e6e(0x1ab))/0x9);if(_0x435dec===_0x348413)break;else _0x27d88a['push'](_0x27d88a['shift']());}catch(_0x44724f){_0x27d88a['push'](_0x27d88a['shift']());}}}(_0xe3a6,0xde700));import{lineNumbers as _0x53c88d,highlightActiveLineGutter as _0x535bd1,highlightSpecialChars as _0x43d162,drawSelection as _0x40dcd0,dropCursor as _0x14ff02,rectangularSelection as _0x322b03,crosshairCursor as _0x82ee1c,highlightActiveLine as _0x4d60a4,keymap as _0x31d856,EditorView as _0x63ff6a}from'@codemirror/view';import{Compartment as _0x13cb29,Transaction as _0x5aad0c}from'@codemirror/state';import{foldGutter as _0x1d2d8f,indentOnInput as _0x5b5d46,syntaxHighlighting as _0x5626ec,defaultHighlightStyle as _0x592068,bracketMatching as _0x185c77,foldKeymap as _0x1fc45b}from'@codemirror/language';import{history as _0x23e0c3,defaultKeymap as _0x29bee3,historyKeymap as _0x10e91a,redo as _0x570c37,undo as _0x1ab443,indentMore as _0x2f2abb,indentLess as _0x42fd0d,toggleTabFocusMode as _0x1ba109}from'@codemirror/commands';import{closeBrackets as _0x3efa20,autocompletion as _0x3fcd76,closeBracketsKeymap as _0x3e7777,completionKeymap as _0x487601}from'@codemirror/autocomplete';import{html as _0x39982b}from'@codemirror/lang-html';import{markdown as _0x12f78f}from'@codemirror/lang-markdown';function _0xe3a6(){const _0x12bc6e=['default','dark','length','Cmd-Shift-z','691332hPWpyp','1427701IqFsqp','Cmd-z','toString','dispatch','18vHTHSo','html','focus','Ctrl-z','Ctrl-Shift-z','lineWrapping','theme','syntaxLanguage','4471530NiyKNs','parent','4336792NkOAUx','8dNlQyc','destroy','1073967vTRUIv','doc','state','Tab','reconfigure','addToHistory','Ctrl-y','Cmd-y','push','3168786wShuDa','editable','4632645UgVfYq'];_0xe3a6=function(){return _0x12bc6e;};return _0xe3a6();}import{oneDark as _0x5516d8}from'@codemirror/theme-one-dark';function _0x3a1b(_0x59e6e5,_0x4c5f77){const _0xe3a601=_0xe3a6();return _0x3a1b=function(_0x3a1b20,_0x555278){_0x3a1b20=_0x3a1b20-0x192;let _0x7248b6=_0xe3a601[_0x3a1b20];return _0x7248b6;},_0x3a1b(_0x59e6e5,_0x4c5f77);}export function createCodeMirrorEditor(_0x1ad90c){const _0x1840ca=_0x3a1b,_0x490f40=[_0x63ff6a[_0x1840ca(0x1b0)],_0x3fcd76(),_0x185c77(),_0x3efa20(),_0x82ee1c(),_0x40dcd0(),_0x14ff02(),_0x53c88d(),_0x1d2d8f(),_0x4d60a4(),_0x535bd1(),_0x43d162(),_0x23e0c3(),_0x5b5d46(),_0x322b03(),_0x5626ec(_0x592068,{'fallback':!0x0})],_0x544cd4=new _0x13cb29();_0x490f40[_0x1840ca(0x19e)](_0x544cd4['of'](_0x63ff6a[_0x1840ca(0x1a0)]['of'](!0x0))),_0x1840ca(0x1ac)===_0x1ad90c[_0x1840ca(0x1b2)]?_0x490f40[_0x1840ca(0x19e)](_0x39982b()):_0x490f40[_0x1840ca(0x19e)](_0x12f78f());const _0x279669=function(_0x51d142){const _0x2113b9=_0x1840ca;if(_0x51d142&&_0x2113b9(0x1a2)!==_0x51d142)return _0x2113b9(0x1a3)===_0x51d142?_0x5516d8:_0x51d142;return null;}(_0x1ad90c[_0x1840ca(0x1b1)]);_0x279669&&_0x490f40[_0x1840ca(0x19e)](_0x279669),_0x490f40[_0x1840ca(0x19e)](...getKeybindings());const _0x2621f0=new _0x63ff6a({'extensions':_0x490f40,'parent':_0x1ad90c[_0x1840ca(0x192)]});return _0x1ba109(_0x2621f0),{'focus':()=>{const _0x90d3cd=_0x1840ca;_0x2621f0[_0x90d3cd(0x1aa)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2621f0[_0x90d3cd(0x1ad)]();},'getData':()=>_0x2621f0[_0x1840ca(0x198)][_0x1840ca(0x197)][_0x1840ca(0x1a9)](),'setData':_0x10aabf=>{const _0x38bbb1=_0x1840ca;_0x2621f0[_0x38bbb1(0x1aa)]({'changes':{'from':0x0,'to':_0x2621f0[_0x38bbb1(0x198)][_0x38bbb1(0x197)][_0x38bbb1(0x1a4)],'insert':_0x10aabf},'annotations':_0x5aad0c[_0x38bbb1(0x19b)]['of'](!0x1)});},'setReadOnly':_0x31573e=>{const _0x25f613=_0x1840ca;_0x2621f0[_0x25f613(0x1aa)]({'effects':[_0x544cd4[_0x25f613(0x19a)](_0x63ff6a[_0x25f613(0x1a0)]['of'](!_0x31573e))]});},'destroy':()=>{const _0x260a92=_0x1840ca;_0x2621f0[_0x260a92(0x195)]();},'instance':_0x2621f0};}export function getKeybindings(){const _0x13bfad=_0x3a1b;return[_0x31d856['of']([..._0x3e7777,..._0x29bee3,..._0x10e91a,..._0x1fc45b,..._0x487601,{'key':_0x13bfad(0x199),'run':_0x2f2abb,'shift':_0x42fd0d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x13bfad(0x19c),'mac':_0x13bfad(0x19d),'run':_0x570c37,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x13bfad(0x1af),'mac':_0x13bfad(0x1a5),'run':_0x570c37,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x13bfad(0x1ae),'mac':_0x13bfad(0x1a8),'run':_0x1ab443,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
23
+ function _0x4753(_0x28c04c,_0x1955cd){const _0x77b960=_0x77b9();return _0x4753=function(_0x4753c5,_0x2ee0a5){_0x4753c5=_0x4753c5-0x19e;let _0x1ea2d0=_0x77b960[_0x4753c5];return _0x1ea2d0;},_0x4753(_0x28c04c,_0x1955cd);}(function(_0x12bef7,_0x10334d){const _0x292d3d=_0x4753,_0x5c0bd2=_0x12bef7();while(!![]){try{const _0x41bb79=parseInt(_0x292d3d(0x1b3))/0x1*(-parseInt(_0x292d3d(0x1a1))/0x2)+parseInt(_0x292d3d(0x1b1))/0x3+parseInt(_0x292d3d(0x1a6))/0x4*(-parseInt(_0x292d3d(0x1b5))/0x5)+-parseInt(_0x292d3d(0x1c0))/0x6*(-parseInt(_0x292d3d(0x1b9))/0x7)+-parseInt(_0x292d3d(0x1b7))/0x8+parseInt(_0x292d3d(0x1a0))/0x9+parseInt(_0x292d3d(0x1a8))/0xa;if(_0x41bb79===_0x10334d)break;else _0x5c0bd2['push'](_0x5c0bd2['shift']());}catch(_0x4642ad){_0x5c0bd2['push'](_0x5c0bd2['shift']());}}}(_0x77b9,0x218af));import{lineNumbers as _0x1ed173,highlightActiveLineGutter as _0x5d5d88,highlightSpecialChars as _0x7a082c,drawSelection as _0x373f6a,dropCursor as _0x410f7c,rectangularSelection as _0x12f363,crosshairCursor as _0x4ec5e2,highlightActiveLine as _0x51d158,keymap as _0x15c053,EditorView as _0x2d7294}from'@codemirror/view';import{Compartment as _0xdc470d,Transaction as _0x2e5b58}from'@codemirror/state';import{foldGutter as _0x521d68,indentOnInput as _0x44a917,syntaxHighlighting as _0x94cef9,defaultHighlightStyle as _0x2dc4cd,bracketMatching as _0x5b6e80,foldKeymap as _0x4bfdfc}from'@codemirror/language';import{history as _0x2ee5f2,defaultKeymap as _0x5f1d9b,historyKeymap as _0x2786f0,redo as _0x581751,undo as _0x3ef8ab,indentMore as _0x229793,indentLess as _0x45e86f,toggleTabFocusMode as _0xe76b37}from'@codemirror/commands';import{closeBrackets as _0x2e404a,autocompletion as _0x52109b,closeBracketsKeymap as _0x17d8f9,completionKeymap as _0x4ac364}from'@codemirror/autocomplete';import{html as _0x309afa}from'@codemirror/lang-html';import{markdown as _0x4a8066}from'@codemirror/lang-markdown';import{oneDark as _0x229bc9}from'@codemirror/theme-one-dark';export function createCodeMirrorEditor(_0x373f0b){const _0xbb817a=_0x4753,_0x2b58c5=[_0x2d7294[_0xbb817a(0x19f)],_0x52109b(),_0x5b6e80(),_0x2e404a(),_0x4ec5e2(),_0x373f6a(),_0x410f7c(),_0x1ed173(),_0x521d68(),_0x51d158(),_0x5d5d88(),_0x7a082c(),_0x2ee5f2(),_0x44a917(),_0x12f363(),_0x94cef9(_0x2dc4cd,{'fallback':!0x0})],_0x7eb7c1=new _0xdc470d();_0x2b58c5[_0xbb817a(0x1aa)](_0x7eb7c1['of'](_0x2d7294[_0xbb817a(0x1ac)]['of'](!0x0))),_0xbb817a(0x1bb)===_0x373f0b[_0xbb817a(0x1a3)]?_0x2b58c5[_0xbb817a(0x1aa)](_0x309afa()):_0x2b58c5[_0xbb817a(0x1aa)](_0x4a8066());const _0x5e8617=function(_0x5ecda8){const _0x11938a=_0xbb817a;if(_0x5ecda8&&_0x11938a(0x1a2)!==_0x5ecda8)return _0x11938a(0x1bd)===_0x5ecda8?_0x229bc9:_0x5ecda8;return null;}(_0x373f0b[_0xbb817a(0x1ba)]);_0x5e8617&&_0x2b58c5[_0xbb817a(0x1aa)](_0x5e8617),_0x2b58c5[_0xbb817a(0x1aa)](...getKeybindings());const _0x56335c=new _0x2d7294({'extensions':_0x2b58c5,'parent':_0x373f0b[_0xbb817a(0x1af)]});return _0xe76b37(_0x56335c),{'focus':()=>{const _0x288465=_0xbb817a;_0x56335c[_0x288465(0x1b4)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x56335c[_0x288465(0x1b6)]();},'getData':()=>_0x56335c[_0xbb817a(0x1be)][_0xbb817a(0x1a5)][_0xbb817a(0x1ab)](),'setData':_0x1fc73a=>{const _0x57e7d4=_0xbb817a;_0x56335c[_0x57e7d4(0x1b4)]({'changes':{'from':0x0,'to':_0x56335c[_0x57e7d4(0x1be)][_0x57e7d4(0x1a5)][_0x57e7d4(0x1b0)],'insert':_0x1fc73a},'annotations':_0x2e5b58[_0x57e7d4(0x1bc)]['of'](!0x1)});},'setReadOnly':_0x5a81db=>{const _0x416f3d=_0xbb817a;_0x56335c[_0x416f3d(0x1b4)]({'effects':[_0x7eb7c1[_0x416f3d(0x1bf)](_0x2d7294[_0x416f3d(0x1ac)]['of'](!_0x5a81db))]});},'destroy':()=>{const _0x2995c5=_0xbb817a;_0x56335c[_0x2995c5(0x1a9)]();},'instance':_0x56335c};}function _0x77b9(){const _0x4bbbeb=['Cmd-z','1569940hhwHTI','destroy','push','toString','editable','Ctrl-z','Ctrl-y','parent','length','335805hXYWRs','Tab','101JXFGYC','dispatch','60415guxkmy','focus','1592904SDMxTk','Cmd-Shift-z','14sovdqB','theme','html','addToHistory','dark','state','reconfigure','268608TSdLBr','Ctrl-Shift-z','lineWrapping','2242926lcsjdM','4652uJvSJT','default','syntaxLanguage','Cmd-y','doc','12QPGpUZ'];_0x77b9=function(){return _0x4bbbeb;};return _0x77b9();}export function getKeybindings(){const _0x35f253=_0x4753;return[_0x15c053['of']([..._0x17d8f9,..._0x5f1d9b,..._0x2786f0,..._0x4bfdfc,..._0x4ac364,{'key':_0x35f253(0x1b2),'run':_0x229793,'shift':_0x45e86f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x35f253(0x1ae),'mac':_0x35f253(0x1a4),'run':_0x581751,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x35f253(0x19e),'mac':_0x35f253(0x1b8),'run':_0x581751,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x35f253(0x1ad),'mac':_0x35f253(0x1a7),'run':_0x3ef8ab,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2169a4,_0x3c22dd){var _0x35ae7c=_0x5570,_0x267894=_0x2169a4();while(!![]){try{var _0x44735f=parseInt(_0x35ae7c(0x112))/0x1+parseInt(_0x35ae7c(0x118))/0x2*(-parseInt(_0x35ae7c(0x113))/0x3)+parseInt(_0x35ae7c(0x119))/0x4+-parseInt(_0x35ae7c(0x115))/0x5*(-parseInt(_0x35ae7c(0x11c))/0x6)+parseInt(_0x35ae7c(0x117))/0x7+parseInt(_0x35ae7c(0x110))/0x8*(parseInt(_0x35ae7c(0x111))/0x9)+-parseInt(_0x35ae7c(0x11a))/0xa*(parseInt(_0x35ae7c(0x116))/0xb);if(_0x44735f===_0x3c22dd)break;else _0x267894['push'](_0x267894['shift']());}catch(_0x30aeea){_0x267894['push'](_0x267894['shift']());}}}(_0x3d69,0x4bedf));function _0x3d69(){var _0x565e11=['6nndSEB','startsWith','76645oswsnY','178046nTiTdl','3517080IDbhmY','430210KoGblu','2396040JkLGMv','950awEgqD','replace','204JQEIYc','12440sMUHRw','3546mMcuur','43581WCixSq'];_0x3d69=function(){return _0x565e11;};return _0x3d69();}import{formatHtml as _0x5ad4c3}from'ckeditor5/src/utils.js';function _0x5570(_0x27c4c0,_0xbcb9d8){var _0x3d6986=_0x3d69();return _0x5570=function(_0x5570d1,_0x14e356){_0x5570d1=_0x5570d1-0x110;var _0x1e3ac7=_0x3d6986[_0x5570d1];return _0x1e3ac7;},_0x5570(_0x27c4c0,_0xbcb9d8);}export function formatSource(_0x730096){return X(_0x730096)?_0x5ad4c3(_0x730096):_0x730096;}export function unformatSource(_0x2cb2f0){var _0x216bdb=_0x5570;return X(_0x2cb2f0[_0x216bdb(0x11b)](/^[\n\s]*/g,''))?_0x2cb2f0[_0x216bdb(0x11b)](/\s+/g,''):_0x2cb2f0;}function X(_0x51db26){var _0x396e38=_0x5570;return _0x51db26[_0x396e38(0x114)]('<');}
23
+ (function(_0x13758f,_0x596df1){var _0x21a6c8=_0x1980,_0x18d7cf=_0x13758f();while(!![]){try{var _0x350a7e=-parseInt(_0x21a6c8(0x1d3))/0x1*(-parseInt(_0x21a6c8(0x1d9))/0x2)+-parseInt(_0x21a6c8(0x1d6))/0x3*(-parseInt(_0x21a6c8(0x1ce))/0x4)+-parseInt(_0x21a6c8(0x1d8))/0x5+-parseInt(_0x21a6c8(0x1d0))/0x6*(-parseInt(_0x21a6c8(0x1d4))/0x7)+parseInt(_0x21a6c8(0x1d2))/0x8*(-parseInt(_0x21a6c8(0x1d5))/0x9)+-parseInt(_0x21a6c8(0x1cd))/0xa+-parseInt(_0x21a6c8(0x1d1))/0xb*(parseInt(_0x21a6c8(0x1d7))/0xc);if(_0x350a7e===_0x596df1)break;else _0x18d7cf['push'](_0x18d7cf['shift']());}catch(_0x47a83a){_0x18d7cf['push'](_0x18d7cf['shift']());}}}(_0x584a,0xa3eee));function _0x584a(){var _0x31ee93=['startsWith','9828690QEBIrD','3165364jyNaSm','replace','1014LRpSOR','165uWoYUf','136rdcIzM','151859GgthTH','23303rpqQsg','37116PDyKhn','3ZGCvaG','61548DdPSRk','799980DWSbgv','8FGVAuU'];_0x584a=function(){return _0x31ee93;};return _0x584a();}import{formatHtml as _0x1b4ba0}from'ckeditor5/src/utils.js';export function formatSource(_0x30c1ee){return tr(_0x30c1ee)?_0x1b4ba0(_0x30c1ee):_0x30c1ee;}function _0x1980(_0x42f90b,_0x32f6db){var _0x584a47=_0x584a();return _0x1980=function(_0x1980b5,_0x2de651){_0x1980b5=_0x1980b5-0x1cd;var _0x4f2682=_0x584a47[_0x1980b5];return _0x4f2682;},_0x1980(_0x42f90b,_0x32f6db);}export function unformatSource(_0x1675ad){var _0x37fbca=_0x1980;return tr(_0x1675ad[_0x37fbca(0x1cf)](/^[\n\s]*/g,''))?_0x1675ad[_0x37fbca(0x1cf)](/\s+/g,''):_0x1675ad;}function tr(_0x55007c){var _0x44f331=_0x1980;return _0x55007c[_0x44f331(0x1da)]('<');}