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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x538829,PendingActions as _0x5750bf,Plugin as _0x36314d}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x440589,formatHtml as _0x4eea34,env as _0x43f49c,uid as _0x21101f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x46b2c6}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0xf1da97,ButtonView as _0x1635b7,MenuBarMenuListItemButtonView as _0x58bc9f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x24767a,crosshairCursor as _0x1e7a2f,drawSelection as _0x14f308,dropCursor as _0x43b490,lineNumbers as _0x28f191,highlightActiveLine as _0x40f101,highlightActiveLineGutter as _0x29c2fc,highlightSpecialChars as _0x1aa1ea,rectangularSelection as _0x3a7294,keymap as _0x39d9ac}from'@codemirror/view';import{Compartment as _0x50cbad,Transaction as _0x3b628d}from'@codemirror/state';import{bracketMatching as _0x4c53ae,foldGutter as _0xb70540,indentOnInput as _0x59df14,syntaxHighlighting as _0xf4c27b,defaultHighlightStyle as _0x2cf975,foldKeymap as _0x50e29f}from'@codemirror/language';import{toggleTabFocusMode as _0x55a000,history as _0x4d959b,defaultKeymap as _0x460e13,historyKeymap as _0x50b78c,indentLess as _0x5c2db9,indentMore as _0xa208b2,redo as _0x5567ef,undo as _0xa6b0a5}from'@codemirror/commands';import{autocompletion as _0x5c4d07,closeBrackets as _0x54c5ef,closeBracketsKeymap as _0x4239c7,completionKeymap as _0x14d6f9}from'@codemirror/autocomplete';import{html as _0x1d782a}from'@codemirror/lang-html';import{markdown as _0xc66d35}from'@codemirror/lang-markdown';import{oneDark as _0x2cfa73}from'@codemirror/theme-one-dark';function w(_0x2d7cf9,_0x1f5d64){const t=_0x2d7cf9['t'];switch(_0x1f5d64){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 _0x1f5d64;}}function r(_0x9f28dc){const _0x58b16a=_0x9f28dc['editing']['view']['document']['roots'],_0x5e3fe4=_0x58b16a['length'];if(0x0===_0x5e3fe4)throw new _0x440589('source-editing-enhanced-editor-no-root',_0x9f28dc);if(0x1===_0x5e3fe4)return _0x58b16a['first']['rootName'];return Array['from'](_0x9f28dc['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x3f74d5){return X(_0x3f74d5['replace'](/^[\n\s]*/g,''))?_0x3f74d5['replace'](/\s+/g,''):_0x3f74d5;}function X(_0x17fb78){return _0x17fb78['startsWith']('<');}function Y(_0x37fcf3){const _0x4e7d9f=[_0x24767a['lineWrapping'],_0x5c4d07(),_0x4c53ae(),_0x54c5ef(),_0x1e7a2f(),_0x14f308(),_0x43b490(),_0x28f191(),_0xb70540(),_0x40f101(),_0x29c2fc(),_0x1aa1ea(),_0x4d959b(),_0x59df14(),_0x3a7294(),_0xf4c27b(_0x2cf975,{'fallback':!0x0})],_0x556224=new _0x50cbad();_0x4e7d9f['push'](_0x556224['of'](_0x24767a['editable']['of'](!0x0))),'html'===_0x37fcf3['syntaxLanguage']?_0x4e7d9f['push'](_0x1d782a()):_0x4e7d9f['push'](_0xc66d35());const _0xc5b63c=function(_0x329318){if(_0x329318&&'default'!==_0x329318)return'dark'===_0x329318?_0x2cfa73:_0x329318;return null;}(_0x37fcf3['theme']);_0xc5b63c&&_0x4e7d9f['push'](_0xc5b63c),_0x4e7d9f['push'](_0x39d9ac['of']([..._0x4239c7,..._0x460e13,..._0x50b78c,..._0x50e29f,..._0x14d6f9,{'key':'Tab','run':_0xa208b2,'shift':_0x5c2db9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x5567ef,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x5567ef,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0xa6b0a5,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x38b9a1=new _0x24767a({'extensions':_0x4e7d9f,'parent':_0x37fcf3['parent']});return _0x55a000(_0x38b9a1),{'focus':()=>{_0x38b9a1['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x38b9a1['focus']();},'getData':()=>_0x38b9a1['state']['doc']['toString'](),'setData':_0x2f50b9=>{_0x38b9a1['dispatch']({'changes':{'from':0x0,'to':_0x38b9a1['state']['doc']['length'],'insert':_0x2f50b9},'annotations':_0x3b628d['addToHistory']['of'](!0x1)});},'setReadOnly':_0x218278=>{_0x38b9a1['dispatch']({'effects':[_0x556224['reconfigure'](_0x24767a['editable']['of'](!_0x218278))]});},'destroy':()=>{_0x38b9a1['destroy']();},'instance':_0x38b9a1};}class ee extends _0xf1da97{['_codeEditorApi']=null;['_options'];constructor(_0x3070f8,_0x35fba1){super(_0x3070f8),this['_options']=_0x35fba1,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',(_0x135d47,_0x1ed2c0,_0xa1d49f)=>{this['setReadOnly'](_0xa1d49f);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5db22f){this['_codeEditorApi']['setData'](_0x5db22f);}['setReadOnly'](_0x17b46b){this['_codeEditorApi']['setReadOnly'](_0x17b46b);}}const te='SourceEditingEnhancedMode';class d extends _0x538829{constructor(_0x52214c){super(_0x52214c),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5750bf)['on']('change:hasAny',(_0x24afa8,_0x2daa90,_0x547e5e)=>{_0x547e5e?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x447065=this['editor'];for(const _0x1b568c of _0x447065['commands']['names']())['replaceSource','editSource']['includes'](_0x1b568c)||_0x447065['commands']['get'](_0x1b568c)['forceDisabled'](te);}['_enableCommands'](){const _0x1be8f5=this['editor'];for(const _0x5c0b8b of _0x1be8f5['commands']['commands']())_0x5c0b8b['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1e5a32=this['editor'],_0x1745e6=_0x1e5a32['locale'],_0x480bc1=_0x1e5a32['plugins']['get']('Dialog'),_0x1dbd7f=r(_0x1e5a32),_0x3f0fa0=_0x1e5a32['data']['get']({'rootName':_0x1dbd7f}),_0x5254cf=X(_0x152f66=_0x3f0fa0)?_0x4eea34(_0x152f66):_0x152f66;var _0x152f66;const _0x2a3bad=new ee(_0x1745e6,{'syntaxLanguage':_0x1e5a32['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1e5a32['config']['get']('sourceEditingEnhanced.theme')});let _0x4923ae=!0x0;const _0x5ee940=_0x14c897=>{if(!_0x4923ae)return;return $(_0x2a3bad['getData']())!==$(_0x5254cf)?window['confirm'](w(_0x1745e6,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x14c897['stop']():void 0x0;};_0x480bc1['show']({'id':'sourceEditingEnhanced','title':w(_0x1745e6,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2a3bad,'actionButtons':[{'label':w(_0x1745e6,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x480bc1['hide']();}},{'label':w(_0x1745e6,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x2cacf0=$(_0x2a3bad['getData']())!==$(_0x5254cf);(_0x2cacf0&&_0x1e5a32['execute']('replaceSource',_0x2a3bad['getData']()),_0x4923ae=!0x1,_0x480bc1['hide'](),_0x2cacf0&&'editables'in _0x1e5a32['ui']['view'])&&_0x1e5a32['ui']['view']['editables'][_0x1dbd7f]['element']['focus']();},'onCreate':_0x112b6e=>{_0x112b6e['set']('isEnabled',!_0x1e5a32['isReadOnly']),_0x112b6e['bind']('isEnabled')['to'](_0x1e5a32,'isReadOnly',this,'isEnabled',(_0x382f57,_0x2cc6c7)=>!_0x382f57&&_0x2cc6c7);}}],'onHide':()=>{this['_enableCommands'](),_0x480bc1['off']('hide',_0x5ee940),_0x2a3bad['destroy']();},'onShow':()=>{_0x2a3bad['bind']('isReadOnly')['to'](_0x1e5a32,'isReadOnly',this,'isEnabled',(_0x24a742,_0x8f6ec5)=>_0x24a742||!_0x8f6ec5),_0x2a3bad['setData'](_0x5254cf),_0x2a3bad['focus'](),_0x480bc1['on']('hide',_0x5ee940,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x36314d{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5750bf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x251148=this['editor'],_0x1acc02=_0x251148['locale'],_0x3b0c1f=new d(_0x251148);_0x251148['commands']['add']('editSource',_0x3b0c1f),_0x251148['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3b3f35=this['_createButton'](_0x1635b7,_0x3b0c1f);return _0x3b3f35['set']({'label':w(_0x1acc02,'Source'),'icon':_0x46b2c6,'tooltip':w(_0x1acc02,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3b3f35;}),_0x251148['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5ddc71=this['_createButton'](_0x58bc9f,_0x3b0c1f,!0x0);return _0x5ddc71['set']({'label':w(_0x1acc02,'Edit\x20source\x20modal\x20label'),'icon':_0x46b2c6,'role':'menuitemcheckbox'}),_0x5ddc71;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x326d77){const _0x5e5494=_0x218e71([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]),_0x5bf978=0x5dba9314,_0x353582=0x5dbd1934^_0x5bf978,_0x2aeca9=window[_0x218e71([0x44,0x61,0x74,0x65])][_0x218e71([0x6e,0x6f,0x77])](),_0x260ca4=_0x326d77[_0x218e71([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34776f=new window[(_0x218e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17d558=>{_0x260ca4[_0x218e71([0x6f,0x6e,0x63,0x65])](_0x218e71([0x72,0x65,0x61,0x64,0x79]),_0x17d558);}),_0x3e8cc7={[_0x218e71([0x6b,0x74,0x79])]:_0x218e71([0x45,0x43]),[_0x218e71([0x75,0x73,0x65])]:_0x218e71([0x73,0x69,0x67]),[_0x218e71([0x63,0x72,0x76])]:_0x218e71([0x50,0x2d,0x32,0x35,0x36]),[_0x218e71([0x78])]:_0x218e71([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]),[_0x218e71([0x79])]:_0x218e71([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]),[_0x218e71([0x61,0x6c,0x67])]:_0x218e71([0x45,0x53,0x32,0x35,0x36])},_0x166d58=_0x260ca4[_0x218e71([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x218e71([0x67,0x65,0x74])](_0x218e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xaa42c0(){let _0xba816c,_0x5cbc00=null,_0x5dbac4=null;try{if(_0x166d58==_0x218e71([0x47,0x50,0x4c]))return _0x218e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xba816c=_0x59f2ec(),!_0xba816c)return _0x218e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xba816c[_0x218e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5dbac4=_0x421ad2(_0xba816c[_0x218e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xba816c[_0x218e71([0x6a,0x74,0x69])])),await _0x12fd06()?_0xfc6416()?_0x5d8548()?_0x218e71([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f7dfe()?(_0xba816c[_0x218e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x218e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5cbc00=_0x4c0789(_0x218e71([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37a0bf()):_0x218e71([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x218e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x218e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x218e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d8548(){const _0x555749=[_0x218e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x218e71([0x74,0x72,0x69,0x61,0x6c])][_0x218e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba816c[_0x218e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2aeca9/0x3e8:0xe10*_0x353582;return _0xba816c[_0x218e71([0x65,0x78,0x70])]<_0x555749;}function _0xfc6416(){const _0xd78dba=_0xba816c[_0x218e71([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd78dba&&(!!_0xd78dba[_0x218e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x218e71([0x2a]))||!!_0xd78dba[_0x218e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x218e71([0x53,0x45,0x45])));}function _0x2f7dfe(){const _0x908c60=_0xba816c[_0x218e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x908c60||0x0==_0x908c60[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15014c}=new URL(window[_0x218e71([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x908c60[_0x218e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15014c))return!0x0;const _0x2f2dd4=_0x15014c[_0x218e71([0x73,0x70,0x6c,0x69,0x74])](_0x218e71([0x2e]));return _0x908c60[_0x218e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d5f25=>_0x2d5f25[_0x218e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x218e71([0x2a])))[_0x218e71([0x6d,0x61,0x70])](_0x49c86b=>_0x49c86b[_0x218e71([0x73,0x70,0x6c,0x69,0x74])](_0x218e71([0x2e])))[_0x218e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x528e5a=>_0x528e5a[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f2dd4[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x218e71([0x6d,0x61,0x70])](_0x9e3972=>Array(_0x2f2dd4[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9e3972[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x218e71([0x66,0x69,0x6c,0x6c])](_0x9e3972[0x0]===_0x218e71([0x2a])?_0x218e71([0x2a]):'')[_0x218e71([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9e3972))[_0x218e71([0x73,0x6f,0x6d,0x65])](_0x4a7386=>_0x2f2dd4[_0x218e71([0x65,0x76,0x65,0x72,0x79])]((_0x2e78cb,_0x5ee2a5)=>_0x4a7386[_0x5ee2a5]===_0x2e78cb||_0x4a7386[_0x5ee2a5]===_0x218e71([0x2a])));}function _0x37a0bf(){return _0x5cbc00&&_0x5dbac4?new window[(_0x218e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23ae2d,_0x32a984)=>{_0x5cbc00[_0x218e71([0x74,0x68,0x65,0x6e])](_0x23ae2d,_0x32a984),_0x5dbac4[_0x218e71([0x74,0x68,0x65,0x6e])](_0x307119=>{_0x307119!=_0x218e71([0x56,0x61,0x6c,0x69,0x64])&&_0x23ae2d(_0x307119);},_0x32a984);}):_0x5cbc00||_0x5dbac4||_0x218e71([0x56,0x61,0x6c,0x69,0x64]);}}function _0x421ad2(_0x5d63b1,_0x22c08b){return new window[(_0x218e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xda2748=>{if(_0x4a8152())return _0xda2748(_0x218e71([0x56,0x61,0x6c,0x69,0x64]));_0x2b51dc(),_0x260ca4[_0x218e71([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x218e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56de21=!0x1;const _0x13cd0f=_0x21101f();function _0x18270c(_0x4b37a5){return!!_0x4b37a5&&(typeof _0x4b37a5===_0x218e71([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b37a5===_0x218e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b37a5[_0x218e71([0x74,0x68,0x65,0x6e])]===_0x218e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b37a5[_0x218e71([0x63,0x61,0x74,0x63,0x68])]===_0x218e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x123e1d(_0x1432eb){_0x1c9521(_0x1432eb)[_0x218e71([0x74,0x68,0x65,0x6e])](_0x281e68=>{if(!_0x281e68||_0x281e68[_0x218e71([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x218e71([0x6f,0x6b]))return _0x218e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e090d(_0x5f3c3b(_0x13cd0f+_0x22c08b))!=_0x281e68[_0x218e71([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x218e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x218e71([0x56,0x61,0x6c,0x69,0x64]);})[_0x218e71([0x74,0x68,0x65,0x6e])](_0x551735=>(_0x5a90c2(),_0x551735),()=>{const _0x1caae6=_0x171f3f();return null==_0x1caae6?(_0x5a90c2(),_0x218e71([0x56,0x61,0x6c,0x69,0x64])):_0x218e71(_0x2aeca9-_0x1caae6>(0x79b61714^_0x5bf978)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x218e71([0x74,0x68,0x65,0x6e])](_0xda2748)[_0x218e71([0x63,0x61,0x74,0x63,0x68])](()=>{_0xda2748(_0x218e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1cdc1f=0x5d8c7d94^_0x5bf978;function _0x5a90c2(){const _0x5ee8f7=_0x218e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e090d(_0x5f3c3b(_0x5d63b1)),_0xdfca51=_0x2047a7(_0x5e090d(window[_0x218e71([0x4d,0x61,0x74,0x68])][_0x218e71([0x63,0x65,0x69,0x6c])](_0x2aeca9/_0x1cdc1f)));window[_0x218e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x218e71([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ee8f7,_0xdfca51);}function _0x171f3f(){const _0x18b21b=_0x218e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e090d(_0x5f3c3b(_0x5d63b1)),_0x57dbc4=window[_0x218e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x218e71([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18b21b);return _0x57dbc4?window[_0x218e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2047a7(_0x57dbc4),0x10)*_0x1cdc1f:null;}function _0x1c9521(_0x2558b0){return new window[(_0x218e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5121b0,_0x2f841e)=>{_0x2558b0[_0x218e71([0x74,0x68,0x65,0x6e])](_0x5121b0,_0x2f841e),window[_0x218e71([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f841e,0x5dbb47d4^_0x5bf978);});}}_0x260ca4[_0x218e71([0x6f,0x6e])](_0x218e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x426c27,_0x483b51)=>{if(_0x483b51[0x0]!=_0x5d63b1)return _0xda2748(_0x218e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x483b51[0x1]={..._0x483b51[0x1],[_0x218e71([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13cd0f};},{[_0x218e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x218e71([0x68,0x69,0x67,0x68])}),_0x260ca4[_0x218e71([0x6f,0x6e])](_0x218e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x555abb=>{_0x18270c(_0x555abb[_0x218e71([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56de21=!0x0,_0x123e1d(_0x555abb[_0x218e71([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x218e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x218e71([0x6c,0x6f,0x77])}),_0x34776f[_0x218e71([0x74,0x68,0x65,0x6e])](()=>{_0x56de21||_0xda2748(_0x218e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a8152(){return _0x260ca4[_0x218e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x218e71([0x76,0x69,0x65,0x77])][_0x218e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x218e71([0x61,0x75,0x74,0x6f]);}function _0x2b51dc(){_0x260ca4[_0x218e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x218e71([0x76,0x69,0x65,0x77])][_0x218e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x218e71([0x61,0x75,0x74,0x6f]);}}function _0x4c0789(_0x380d4f){const _0x51c597=[new window[(_0x218e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x153800=>setTimeout(_0x153800,0x5db3add8^_0x5bf978)),_0x34776f[_0x218e71([0x74,0x68,0x65,0x6e])](()=>new window[(_0x218e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x241ae=>{let _0x16451e=0x0;_0x260ca4[_0x218e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x218e71([0x6f,0x6e])](_0x218e71([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b2bee,_0x29a56b)=>{_0x29a56b[0x0][_0x218e71([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16451e++,_0x16451e==(0x5dba96fc^_0x5bf978)&&(_0x241ae(),_0x1b2bee[_0x218e71([0x6f,0x66,0x66])]());});}))];return window[_0x218e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x218e71([0x72,0x61,0x63,0x65])](_0x51c597)[_0x218e71([0x74,0x68,0x65,0x6e])](()=>_0x380d4f);}async function _0x34c036(){await _0x34776f,_0x260ca4[_0x218e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x218e71([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23d772,_0x260ca4[_0x218e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x218e71([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23d772,_0x260ca4[_0x218e71([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x218e71([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40b3a3(_0x19ab62){const _0x2dd44f=_0x54aa77();_0x260ca4[_0x2dd44f]=_0x218e71([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])+_0x19ab62,_0x19ab62!=_0x218e71([0x56,0x61,0x6c,0x69,0x64])&&_0x34c036();}function _0x54aa77(){const _0x2d0038=window[_0x218e71([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x218e71([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x218e71([0x6e,0x6f,0x77])]())[_0x218e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x218e71([0x2e]),'');let _0x2e0988=_0x218e71([0x4e]);for(let _0x17f240=0x0;_0x17f240<_0x2d0038[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17f240+=0x2){let _0x24ea67=window[_0x218e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d0038[_0x218e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17f240,_0x17f240+0x2));_0x24ea67>=_0x5e5494[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24ea67-=_0x5e5494[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e0988+=_0x5e5494[_0x24ea67];}return _0x2e0988;}function _0x59f2ec(){const _0x193c5a=_0x166d58[_0x218e71([0x73,0x70,0x6c,0x69,0x74])](_0x218e71([0x2e]));if(0x3!=_0x193c5a[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1adfdd(_0x193c5a[0x1]);function _0x1adfdd(_0x33b87e){const _0x1024f7=_0x145b1b(_0x33b87e);return _0x1024f7&&_0x2505bc()?_0x1024f7:null;function _0x2505bc(){const _0x18d00c=_0x1024f7[_0x218e71([0x6a,0x74,0x69])],_0x2e37ca=window[_0x218e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18d00c[_0x218e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18d00c[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2697de={..._0x1024f7,[_0x218e71([0x6a,0x74,0x69])]:_0x18d00c[_0x218e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18d00c[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2697de[_0x218e71([0x76,0x63])],_0x5f3c3b(_0x2697de)==_0x2e37ca;}}}async function _0x12fd06(){let _0x51efe7=!0x0;try{const _0x5cd31f=_0x166d58[_0x218e71([0x73,0x70,0x6c,0x69,0x74])](_0x218e71([0x2e])),[_0x4d5585,_0x395608,_0xae766e]=_0x5cd31f;return _0x515508(_0x4d5585),await _0x2c1342(_0x4d5585,_0x395608,_0xae766e),_0x51efe7;}catch{return!0x1;}function _0x515508(_0x26d3d6){const _0x50f7e6=_0x145b1b(_0x26d3d6);_0x50f7e6&&_0x50f7e6[_0x218e71([0x61,0x6c,0x67])]==_0x218e71([0x45,0x53,0x32,0x35,0x36])||(_0x51efe7=!0x1);}async function _0x2c1342(_0x523d23,_0x38b2ab,_0x8a75d7){const _0x484ac1=window[_0x218e71([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x218e71([0x66,0x72,0x6f,0x6d])](_0x5b962c(_0x8a75d7),_0x3e2329=>_0x3e2329[_0x218e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a4645=new window[(_0x218e71([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x218e71([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x523d23+_0x218e71([0x2e])+_0x38b2ab),_0x49a680=window[_0x218e71([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x218e71([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49a680)return;const _0x38f0e1=await _0x49a680[_0x218e71([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x218e71([0x6a,0x77,0x6b]),_0x3e8cc7,{[_0x218e71([0x6e,0x61,0x6d,0x65])]:_0x218e71([0x45,0x43,0x44,0x53,0x41]),[_0x218e71([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x218e71([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x218e71([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49a680[_0x218e71([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x218e71([0x6e,0x61,0x6d,0x65])]:_0x218e71([0x45,0x43,0x44,0x53,0x41]),[_0x218e71([0x68,0x61,0x73,0x68])]:{[_0x218e71([0x6e,0x61,0x6d,0x65])]:_0x218e71([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38f0e1,_0x484ac1,_0x3a4645)||(_0x51efe7=!0x1);}}function _0x145b1b(_0x2c04db){return _0x2c04db[_0x218e71([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x218e71([0x65,0x79]))?JSON[_0x218e71([0x70,0x61,0x72,0x73,0x65])](_0x5b962c(_0x2c04db)):null;}function _0x5b962c(_0x1b1f0a){return window[_0x218e71([0x61,0x74,0x6f,0x62])](_0x1b1f0a[_0x218e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x218e71([0x2b]))[_0x218e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x218e71([0x2f])));}function _0x5f3c3b(_0x5d6511){let _0x3bc007=0x1505;function _0x98bc8(_0x4c8163){for(let _0x5a68bb=0x0;_0x5a68bb<_0x4c8163[_0x218e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a68bb++){const _0x30f965=_0x4c8163[_0x218e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a68bb);_0x3bc007=(_0x3bc007<<0x5)+_0x3bc007+_0x30f965,_0x3bc007&=_0x3bc007;}}function _0x17941f(_0x50f7ac){Array[_0x218e71([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50f7ac)?_0x50f7ac[_0x218e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17941f):_0x50f7ac&&typeof _0x50f7ac==_0x218e71([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x218e71([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50f7ac)[_0x218e71([0x73,0x6f,0x72,0x74])]()[_0x218e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5748ae,_0x55b469])=>{_0x98bc8(_0x5748ae),_0x17941f(_0x55b469);}):_0x98bc8(window[_0x218e71([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50f7ac));}return _0x17941f(_0x5d6511),_0x3bc007>>>0x0;}function _0x5e090d(_0x5a284d){return _0x5a284d[_0x218e71([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x218e71([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x218e71([0x30]));}function _0x2047a7(_0x16474c){return _0x16474c[_0x218e71([0x73,0x70,0x6c,0x69,0x74])]('')[_0x218e71([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x218e71([0x6a,0x6f,0x69,0x6e])]('');}function _0x23d772(){}function _0x218e71(_0x57a33e){return _0x57a33e['map'](_0x246378=>String['fromCharCode'](_0x246378))['join']('');}_0x40b3a3(await _0xaa42c0());}(this);}['_createButton'](_0xe3a098,_0x40aafb,_0x1021da=!0x1){const _0x2f8efe=new _0xe3a098(this['editor']['locale']);return _0x2f8efe['set']({'withText':_0x1021da,'isToggleable':!0x1}),_0x2f8efe['bind']('isEnabled')['to'](_0x40aafb,'isEnabled'),this['listenTo'](_0x2f8efe,'execute',()=>_0x40aafb['execute']()),_0x2f8efe;}['_registerKeybindings'](){const _0xbc33b4=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0xbc33b4,'Source\x20Editing\x20Enhanced')});const _0x404ba7=_0x43f49c['isMac']||_0x43f49c['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0xbc33b4,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0xbc33b4,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0xbc33b4,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0xbc33b4,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0xbc33b4,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0xbc33b4,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0xbc33b4,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x404ba7?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0xbc33b4,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0xbc33b4,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0xbc33b4,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0xbc33b4,'Select\x20line'),'keystroke':_0x404ba7?'Ctrl!+L':'Alt+L'},{'label':w(_0xbc33b4,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x404ba7?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0xbc33b4,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0xbc33b4,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0xbc33b4,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0xbc33b4,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0xbc33b4,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x404ba7?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x538829{constructor(_0x3ea810){super(_0x3ea810),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1f0687,_0x1eb878){const _0xc292d1=this['editor'],_0x5662e1=_0x1eb878?.['rootName']??r(_0xc292d1);_0xc292d1['data']['set']({[_0x5662e1]:_0x1f0687},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x36314d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x2d7003){super(_0x2d7003),_0x2d7003['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 _0x39c9a4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ce35b;for(const _0x26a155 in _0x39c9a4){const _0x272bb5=_0x26a155,_0x604201=_0x39c9a4[_0x272bb5];if('sourceEditingEnhancedLicenseKeyValid'==_0x604201||'sourceEditingEnhancedLicenseKeyInvalid'==_0x604201||'sourceEditingEnhancedLicenseKeyExpired'==_0x604201||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x604201||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x604201||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x604201||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x604201){delete _0x39c9a4[_0x272bb5],_0x1ce35b=_0x604201,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1ce35b&&_0x39c9a4['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1ce35b&&_0x39c9a4['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1ce35b&&_0x39c9a4['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1ce35b&&_0x39c9a4['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1ce35b&&_0x39c9a4['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1ce35b&&_0x39c9a4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x52fe4e=this['editor'],_0x466c63=_0x52fe4e['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x466c63&&_0x52fe4e['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x440589('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x466c63&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x431cb0=>_0x52fe4e['plugins']['has'](_0x431cb0))&&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.'),_0x52fe4e['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,SourceEditingEnhanced};
23
+ import{Command as _0xc6bc5a,PendingActions as _0x3b29a2,Plugin as _0x1aa1c3}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2f185f,formatHtml as _0x58174b,env as _0x16dd51,uid as _0x29c2c9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x90c845}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x106638,ButtonView as _0x3b6286,MenuBarMenuListItemButtonView as _0x27f353}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x27c54b,crosshairCursor as _0x23ada2,drawSelection as _0x5bc9ba,dropCursor as _0x4cd3e9,lineNumbers as _0xa94fd4,highlightActiveLine as _0x3b2970,highlightActiveLineGutter as _0x26227a,highlightSpecialChars as _0x502004,rectangularSelection as _0x38f4d0,keymap as _0x540abf}from'@codemirror/view';import{Compartment as _0x4f46a2,Transaction as _0x26d2dd}from'@codemirror/state';import{bracketMatching as _0x26f9ff,foldGutter as _0x41788d,indentOnInput as _0x3621de,syntaxHighlighting as _0x4639ad,defaultHighlightStyle as _0x55b035,foldKeymap as _0x159054}from'@codemirror/language';import{toggleTabFocusMode as _0x51cbd9,history as _0x42aa66,defaultKeymap as _0x2017b6,historyKeymap as _0x4dd941,indentLess as _0x59fd1d,indentMore as _0x587023,redo as _0x4a2cb9,undo as _0x18cd4c}from'@codemirror/commands';import{autocompletion as _0xbe8a5b,closeBrackets as _0x2b959d,closeBracketsKeymap as _0x48c7f3,completionKeymap as _0x12db93}from'@codemirror/autocomplete';import{html as _0x5a7efa}from'@codemirror/lang-html';import{markdown as _0x55dcc8}from'@codemirror/lang-markdown';import{oneDark as _0x456dfc}from'@codemirror/theme-one-dark';function w(_0x3faf65,_0x2fcbb0){const t=_0x3faf65['t'];switch(_0x2fcbb0){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 _0x2fcbb0;}}function r(_0x57427c){const _0x2eaa4e=_0x57427c['editing']['view']['document']['roots'],_0x22ea85=_0x2eaa4e['length'];if(0x0===_0x22ea85)throw new _0x2f185f('source-editing-enhanced-editor-no-root',_0x57427c);if(0x1===_0x22ea85)return _0x2eaa4e['first']['rootName'];return Array['from'](_0x57427c['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x512f57){return X(_0x512f57['replace'](/^[\n\s]*/g,''))?_0x512f57['replace'](/\s+/g,''):_0x512f57;}function X(_0x3bd299){return _0x3bd299['startsWith']('<');}function Y(_0x3ed13d){const _0x26642e=[_0x27c54b['lineWrapping'],_0xbe8a5b(),_0x26f9ff(),_0x2b959d(),_0x23ada2(),_0x5bc9ba(),_0x4cd3e9(),_0xa94fd4(),_0x41788d(),_0x3b2970(),_0x26227a(),_0x502004(),_0x42aa66(),_0x3621de(),_0x38f4d0(),_0x4639ad(_0x55b035,{'fallback':!0x0})],_0x3df333=new _0x4f46a2();_0x26642e['push'](_0x3df333['of'](_0x27c54b['editable']['of'](!0x0))),'html'===_0x3ed13d['syntaxLanguage']?_0x26642e['push'](_0x5a7efa()):_0x26642e['push'](_0x55dcc8());const _0x2cfe1d=function(_0x18c0bd){if(_0x18c0bd&&'default'!==_0x18c0bd)return'dark'===_0x18c0bd?_0x456dfc:_0x18c0bd;return null;}(_0x3ed13d['theme']);_0x2cfe1d&&_0x26642e['push'](_0x2cfe1d),_0x26642e['push'](_0x540abf['of']([..._0x48c7f3,..._0x2017b6,..._0x4dd941,..._0x159054,..._0x12db93,{'key':'Tab','run':_0x587023,'shift':_0x59fd1d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x4a2cb9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x4a2cb9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x18cd4c,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x4257a4=new _0x27c54b({'extensions':_0x26642e,'parent':_0x3ed13d['parent']});return _0x51cbd9(_0x4257a4),{'focus':()=>{_0x4257a4['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4257a4['focus']();},'getData':()=>_0x4257a4['state']['doc']['toString'](),'setData':_0x17e8b5=>{_0x4257a4['dispatch']({'changes':{'from':0x0,'to':_0x4257a4['state']['doc']['length'],'insert':_0x17e8b5},'annotations':_0x26d2dd['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2061ca=>{_0x4257a4['dispatch']({'effects':[_0x3df333['reconfigure'](_0x27c54b['editable']['of'](!_0x2061ca))]});},'destroy':()=>{_0x4257a4['destroy']();},'instance':_0x4257a4};}class ee extends _0x106638{['_codeEditorApi']=null;['_options'];constructor(_0x35ae42,_0x954b20){super(_0x35ae42),this['_options']=_0x954b20,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',(_0x5804b3,_0x451a7b,_0x13d183)=>{this['setReadOnly'](_0x13d183);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2b80d5){this['_codeEditorApi']['setData'](_0x2b80d5);}['setReadOnly'](_0x70b5ab){this['_codeEditorApi']['setReadOnly'](_0x70b5ab);}}const te='SourceEditingEnhancedMode';class d extends _0xc6bc5a{constructor(_0x4bdfe1){super(_0x4bdfe1),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3b29a2)['on']('change:hasAny',(_0x2dcbb1,_0x1b4ac4,_0xc316d)=>{_0xc316d?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x2e445c=this['editor'];for(const _0x4d4feb of _0x2e445c['commands']['names']())['replaceSource','editSource']['includes'](_0x4d4feb)||_0x2e445c['commands']['get'](_0x4d4feb)['forceDisabled'](te);}['_enableCommands'](){const _0x2bdbe0=this['editor'];for(const _0x2c68a4 of _0x2bdbe0['commands']['commands']())_0x2c68a4['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0xd9947=this['editor'],_0x3cd442=_0xd9947['locale'],_0x29894b=_0xd9947['plugins']['get']('Dialog'),_0x26d3c5=r(_0xd9947),_0x5a1acb=_0xd9947['data']['get']({'rootName':_0x26d3c5}),_0x19e007=X(_0x2f0ecb=_0x5a1acb)?_0x58174b(_0x2f0ecb):_0x2f0ecb;var _0x2f0ecb;const _0x170938=new ee(_0x3cd442,{'syntaxLanguage':_0xd9947['plugins']['has']('Markdown')?'markdown':'html','theme':_0xd9947['config']['get']('sourceEditingEnhanced.theme')});let _0x243580=!0x0;const _0x52d84b=_0x2ec2b2=>{if(!_0x243580)return;return $(_0x170938['getData']())!==$(_0x19e007)?window['confirm'](w(_0x3cd442,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2ec2b2['stop']():void 0x0;};_0x29894b['show']({'id':'sourceEditingEnhanced','title':w(_0x3cd442,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x170938,'actionButtons':[{'label':w(_0x3cd442,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x29894b['hide']();}},{'label':w(_0x3cd442,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x106d6e=$(_0x170938['getData']())!==$(_0x19e007);(_0x106d6e&&_0xd9947['execute']('replaceSource',_0x170938['getData']()),_0x243580=!0x1,_0x29894b['hide'](),_0x106d6e&&'editables'in _0xd9947['ui']['view'])&&_0xd9947['ui']['view']['editables'][_0x26d3c5]['element']['focus']();},'onCreate':_0x4c2a6f=>{_0x4c2a6f['set']('isEnabled',!_0xd9947['isReadOnly']),_0x4c2a6f['bind']('isEnabled')['to'](_0xd9947,'isReadOnly',this,'isEnabled',(_0x3a7c10,_0x9512fa)=>!_0x3a7c10&&_0x9512fa);}}],'onHide':()=>{this['_enableCommands'](),_0x29894b['off']('hide',_0x52d84b),_0x170938['destroy']();},'onShow':()=>{_0x170938['bind']('isReadOnly')['to'](_0xd9947,'isReadOnly',this,'isEnabled',(_0x329f16,_0x561be8)=>_0x329f16||!_0x561be8),_0x170938['setData'](_0x19e007),_0x170938['focus'](),_0x29894b['on']('hide',_0x52d84b,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x1aa1c3{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3b29a2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x354e99=this['editor'],_0x4b49e0=_0x354e99['locale'],_0x9926e=new d(_0x354e99);_0x354e99['commands']['add']('editSource',_0x9926e),_0x354e99['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x34ccd9=this['_createButton'](_0x3b6286,_0x9926e);return _0x34ccd9['set']({'label':w(_0x4b49e0,'Source'),'icon':_0x90c845,'tooltip':w(_0x4b49e0,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x34ccd9;}),_0x354e99['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x256b32=this['_createButton'](_0x27f353,_0x9926e,!0x0);return _0x256b32['set']({'label':w(_0x4b49e0,'Edit\x20source\x20modal\x20label'),'icon':_0x90c845,'role':'menuitemcheckbox'}),_0x256b32;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x349b8c){const _0x47cac2=_0x291bcc([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]),_0x4f1aab=0x5dba9314,_0x4268b4=0x5dbd197c^_0x4f1aab,_0x1c5ff6=window[_0x291bcc([0x44,0x61,0x74,0x65])][_0x291bcc([0x6e,0x6f,0x77])](),_0xeec666=_0x349b8c[_0x291bcc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10fb2c=new window[(_0x291bcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x415e29=>{_0xeec666[_0x291bcc([0x6f,0x6e,0x63,0x65])](_0x291bcc([0x72,0x65,0x61,0x64,0x79]),_0x415e29);}),_0x22e9bc={[_0x291bcc([0x6b,0x74,0x79])]:_0x291bcc([0x45,0x43]),[_0x291bcc([0x75,0x73,0x65])]:_0x291bcc([0x73,0x69,0x67]),[_0x291bcc([0x63,0x72,0x76])]:_0x291bcc([0x50,0x2d,0x32,0x35,0x36]),[_0x291bcc([0x78])]:_0x291bcc([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]),[_0x291bcc([0x79])]:_0x291bcc([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]),[_0x291bcc([0x61,0x6c,0x67])]:_0x291bcc([0x45,0x53,0x32,0x35,0x36])},_0x12c698=_0xeec666[_0x291bcc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x291bcc([0x67,0x65,0x74])](_0x291bcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x344d66(){let _0x34d0bd,_0x4eec46=null,_0x127c13=null;try{if(_0x12c698==_0x291bcc([0x47,0x50,0x4c]))return _0x291bcc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34d0bd=_0x27bd61(),!_0x34d0bd)return _0x291bcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34d0bd[_0x291bcc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x127c13=_0x4c6424(_0x34d0bd[_0x291bcc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34d0bd[_0x291bcc([0x6a,0x74,0x69])])),await _0xd92d27()?_0x3e4ad0()?_0xbd4945()?_0x291bcc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1a0119()?(_0x34d0bd[_0x291bcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x291bcc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4eec46=_0x20e86b(_0x291bcc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14fa56()):_0x291bcc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x291bcc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x291bcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x291bcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xbd4945(){const _0x45c801=[_0x291bcc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x291bcc([0x74,0x72,0x69,0x61,0x6c])][_0x291bcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34d0bd[_0x291bcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c5ff6/0x3e8:0xe10*_0x4268b4;return _0x34d0bd[_0x291bcc([0x65,0x78,0x70])]<_0x45c801;}function _0x3e4ad0(){const _0x319190=_0x34d0bd[_0x291bcc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x319190&&(!!_0x319190[_0x291bcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x291bcc([0x2a]))||!!_0x319190[_0x291bcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x291bcc([0x53,0x45,0x45])));}function _0x1a0119(){const _0x36a686=_0x34d0bd[_0x291bcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36a686||0x0==_0x36a686[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x127e8c}=new URL(window[_0x291bcc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x36a686[_0x291bcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x127e8c))return!0x0;const _0x546fdb=_0x127e8c[_0x291bcc([0x73,0x70,0x6c,0x69,0x74])](_0x291bcc([0x2e]));return _0x36a686[_0x291bcc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x151d77=>_0x151d77[_0x291bcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x291bcc([0x2a])))[_0x291bcc([0x6d,0x61,0x70])](_0x11f437=>_0x11f437[_0x291bcc([0x73,0x70,0x6c,0x69,0x74])](_0x291bcc([0x2e])))[_0x291bcc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bff2b=>_0x3bff2b[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x546fdb[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x291bcc([0x6d,0x61,0x70])](_0x36c2be=>Array(_0x546fdb[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36c2be[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x291bcc([0x66,0x69,0x6c,0x6c])](_0x36c2be[0x0]===_0x291bcc([0x2a])?_0x291bcc([0x2a]):'')[_0x291bcc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36c2be))[_0x291bcc([0x73,0x6f,0x6d,0x65])](_0x4696cc=>_0x546fdb[_0x291bcc([0x65,0x76,0x65,0x72,0x79])]((_0x4dcd30,_0x1b481d)=>_0x4696cc[_0x1b481d]===_0x4dcd30||_0x4696cc[_0x1b481d]===_0x291bcc([0x2a])));}function _0x14fa56(){return _0x4eec46&&_0x127c13?new window[(_0x291bcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x349e49,_0xa09ab)=>{_0x4eec46[_0x291bcc([0x74,0x68,0x65,0x6e])](_0x349e49,_0xa09ab),_0x127c13[_0x291bcc([0x74,0x68,0x65,0x6e])](_0x290b9c=>{_0x290b9c!=_0x291bcc([0x56,0x61,0x6c,0x69,0x64])&&_0x349e49(_0x290b9c);},_0xa09ab);}):_0x4eec46||_0x127c13||_0x291bcc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c6424(_0x4e6ce4,_0x355a69){return new window[(_0x291bcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x226bd6=>{if(_0x2a2fab())return _0x226bd6(_0x291bcc([0x56,0x61,0x6c,0x69,0x64]));_0x4787c5(),_0xeec666[_0x291bcc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x291bcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35c4a1=!0x1;const _0x5689cc=_0x29c2c9();function _0x350573(_0x212504){return!!_0x212504&&(typeof _0x212504===_0x291bcc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x212504===_0x291bcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x212504[_0x291bcc([0x74,0x68,0x65,0x6e])]===_0x291bcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x212504[_0x291bcc([0x63,0x61,0x74,0x63,0x68])]===_0x291bcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21791c(_0x144b02){_0x4b9f72(_0x144b02)[_0x291bcc([0x74,0x68,0x65,0x6e])](_0x4eebae=>{if(!_0x4eebae||_0x4eebae[_0x291bcc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x291bcc([0x6f,0x6b]))return _0x291bcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34e4df(_0x3aaa4e(_0x5689cc+_0x355a69))!=_0x4eebae[_0x291bcc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x291bcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x291bcc([0x56,0x61,0x6c,0x69,0x64]);})[_0x291bcc([0x74,0x68,0x65,0x6e])](_0x201a2a=>(_0x597fa0(),_0x201a2a),()=>{const _0x533fcc=_0x544f75();return null==_0x533fcc?(_0x597fa0(),_0x291bcc([0x56,0x61,0x6c,0x69,0x64])):_0x291bcc(_0x1c5ff6-_0x533fcc>(0x79b61714^_0x4f1aab)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x291bcc([0x74,0x68,0x65,0x6e])](_0x226bd6)[_0x291bcc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x226bd6(_0x291bcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa62b26=0x5d8c7d94^_0x4f1aab;function _0x597fa0(){const _0x51a76d=_0x291bcc([0x6c,0x6c,0x63,0x74,0x2d])+_0x34e4df(_0x3aaa4e(_0x4e6ce4)),_0x2d71df=_0x21268b(_0x34e4df(window[_0x291bcc([0x4d,0x61,0x74,0x68])][_0x291bcc([0x63,0x65,0x69,0x6c])](_0x1c5ff6/_0xa62b26)));window[_0x291bcc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x291bcc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51a76d,_0x2d71df);}function _0x544f75(){const _0xf08a79=_0x291bcc([0x6c,0x6c,0x63,0x74,0x2d])+_0x34e4df(_0x3aaa4e(_0x4e6ce4)),_0x4e2046=window[_0x291bcc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x291bcc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf08a79);return _0x4e2046?window[_0x291bcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21268b(_0x4e2046),0x10)*_0xa62b26:null;}function _0x4b9f72(_0x1c7e39){return new window[(_0x291bcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x514276,_0x54dbfe)=>{_0x1c7e39[_0x291bcc([0x74,0x68,0x65,0x6e])](_0x514276,_0x54dbfe),window[_0x291bcc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54dbfe,0x5dbb47d4^_0x4f1aab);});}}_0xeec666[_0x291bcc([0x6f,0x6e])](_0x291bcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2cf487,_0x5e7930)=>{if(_0x5e7930[0x0]!=_0x4e6ce4)return _0x226bd6(_0x291bcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e7930[0x1]={..._0x5e7930[0x1],[_0x291bcc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5689cc};},{[_0x291bcc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x291bcc([0x68,0x69,0x67,0x68])}),_0xeec666[_0x291bcc([0x6f,0x6e])](_0x291bcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ce7d1=>{_0x350573(_0x1ce7d1[_0x291bcc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35c4a1=!0x0,_0x21791c(_0x1ce7d1[_0x291bcc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x291bcc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x291bcc([0x6c,0x6f,0x77])}),_0x10fb2c[_0x291bcc([0x74,0x68,0x65,0x6e])](()=>{_0x35c4a1||_0x226bd6(_0x291bcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a2fab(){return _0xeec666[_0x291bcc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x291bcc([0x76,0x69,0x65,0x77])][_0x291bcc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x291bcc([0x61,0x75,0x74,0x6f]);}function _0x4787c5(){_0xeec666[_0x291bcc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x291bcc([0x76,0x69,0x65,0x77])][_0x291bcc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x291bcc([0x61,0x75,0x74,0x6f]);}}function _0x20e86b(_0x533fd3){const _0xe911e2=[new window[(_0x291bcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3993d0=>setTimeout(_0x3993d0,0x5db3add8^_0x4f1aab)),_0x10fb2c[_0x291bcc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x291bcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x386f04=>{let _0x4cad58=0x0;_0xeec666[_0x291bcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x291bcc([0x6f,0x6e])](_0x291bcc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x273a2a,_0x4fa335)=>{_0x4fa335[0x0][_0x291bcc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4cad58++,_0x4cad58==(0x5dba96fc^_0x4f1aab)&&(_0x386f04(),_0x273a2a[_0x291bcc([0x6f,0x66,0x66])]());});}))];return window[_0x291bcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x291bcc([0x72,0x61,0x63,0x65])](_0xe911e2)[_0x291bcc([0x74,0x68,0x65,0x6e])](()=>_0x533fd3);}async function _0x69d3f0(){await _0x10fb2c,_0xeec666[_0x291bcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x291bcc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10b48c,_0xeec666[_0x291bcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x291bcc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10b48c,_0xeec666[_0x291bcc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x291bcc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17d774(_0x1019a9){const _0x1097c9=_0x49bb3f();_0xeec666[_0x1097c9]=_0x291bcc([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])+_0x1019a9,_0x1019a9!=_0x291bcc([0x56,0x61,0x6c,0x69,0x64])&&_0x69d3f0();}function _0x49bb3f(){const _0x2d855e=window[_0x291bcc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x291bcc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x291bcc([0x6e,0x6f,0x77])]())[_0x291bcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x291bcc([0x2e]),'');let _0x3ede70=_0x291bcc([0x4e]);for(let _0x152c4c=0x0;_0x152c4c<_0x2d855e[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x152c4c+=0x2){let _0x4cb27c=window[_0x291bcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d855e[_0x291bcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x152c4c,_0x152c4c+0x2));_0x4cb27c>=_0x47cac2[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cb27c-=_0x47cac2[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ede70+=_0x47cac2[_0x4cb27c];}return _0x3ede70;}function _0x27bd61(){const _0x481464=_0x12c698[_0x291bcc([0x73,0x70,0x6c,0x69,0x74])](_0x291bcc([0x2e]));if(0x3!=_0x481464[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc688b7(_0x481464[0x1]);function _0xc688b7(_0x5e3cd8){const _0xa7d534=_0x44a606(_0x5e3cd8);return _0xa7d534&&_0x236c0d()?_0xa7d534:null;function _0x236c0d(){const _0x5e676a=_0xa7d534[_0x291bcc([0x6a,0x74,0x69])],_0x304255=window[_0x291bcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e676a[_0x291bcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e676a[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34e36d={..._0xa7d534,[_0x291bcc([0x6a,0x74,0x69])]:_0x5e676a[_0x291bcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e676a[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34e36d[_0x291bcc([0x76,0x63])],_0x3aaa4e(_0x34e36d)==_0x304255;}}}async function _0xd92d27(){let _0x330e83=!0x0;try{const _0x3008ad=_0x12c698[_0x291bcc([0x73,0x70,0x6c,0x69,0x74])](_0x291bcc([0x2e])),[_0x42faf7,_0x6e1c15,_0x415991]=_0x3008ad;return _0x1100a3(_0x42faf7),await _0x18df05(_0x42faf7,_0x6e1c15,_0x415991),_0x330e83;}catch{return!0x1;}function _0x1100a3(_0x39269e){const _0x4e645d=_0x44a606(_0x39269e);_0x4e645d&&_0x4e645d[_0x291bcc([0x61,0x6c,0x67])]==_0x291bcc([0x45,0x53,0x32,0x35,0x36])||(_0x330e83=!0x1);}async function _0x18df05(_0x20956b,_0x409e8a,_0xa89d56){const _0xad784f=window[_0x291bcc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x291bcc([0x66,0x72,0x6f,0x6d])](_0x5c17d0(_0xa89d56),_0x1664c5=>_0x1664c5[_0x291bcc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39718b=new window[(_0x291bcc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x291bcc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20956b+_0x291bcc([0x2e])+_0x409e8a),_0x52cd95=window[_0x291bcc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x291bcc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52cd95)return;const _0x4206dc=await _0x52cd95[_0x291bcc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x291bcc([0x6a,0x77,0x6b]),_0x22e9bc,{[_0x291bcc([0x6e,0x61,0x6d,0x65])]:_0x291bcc([0x45,0x43,0x44,0x53,0x41]),[_0x291bcc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x291bcc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x291bcc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52cd95[_0x291bcc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x291bcc([0x6e,0x61,0x6d,0x65])]:_0x291bcc([0x45,0x43,0x44,0x53,0x41]),[_0x291bcc([0x68,0x61,0x73,0x68])]:{[_0x291bcc([0x6e,0x61,0x6d,0x65])]:_0x291bcc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4206dc,_0xad784f,_0x39718b)||(_0x330e83=!0x1);}}function _0x44a606(_0x324bae){return _0x324bae[_0x291bcc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x291bcc([0x65,0x79]))?JSON[_0x291bcc([0x70,0x61,0x72,0x73,0x65])](_0x5c17d0(_0x324bae)):null;}function _0x5c17d0(_0x50f2d6){return window[_0x291bcc([0x61,0x74,0x6f,0x62])](_0x50f2d6[_0x291bcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x291bcc([0x2b]))[_0x291bcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x291bcc([0x2f])));}function _0x3aaa4e(_0x2578d7){let _0x544cee=0x1505;function _0x25d69c(_0x5edfd2){for(let _0x2886c3=0x0;_0x2886c3<_0x5edfd2[_0x291bcc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2886c3++){const _0x2d1895=_0x5edfd2[_0x291bcc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2886c3);_0x544cee=(_0x544cee<<0x5)+_0x544cee+_0x2d1895,_0x544cee&=_0x544cee;}}function _0x5e46aa(_0x3363f8){Array[_0x291bcc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3363f8)?_0x3363f8[_0x291bcc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e46aa):_0x3363f8&&typeof _0x3363f8==_0x291bcc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x291bcc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3363f8)[_0x291bcc([0x73,0x6f,0x72,0x74])]()[_0x291bcc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x454fe4,_0x280960])=>{_0x25d69c(_0x454fe4),_0x5e46aa(_0x280960);}):_0x25d69c(window[_0x291bcc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3363f8));}return _0x5e46aa(_0x2578d7),_0x544cee>>>0x0;}function _0x34e4df(_0x1ec3b6){return _0x1ec3b6[_0x291bcc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x291bcc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x291bcc([0x30]));}function _0x21268b(_0x3040ef){return _0x3040ef[_0x291bcc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x291bcc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x291bcc([0x6a,0x6f,0x69,0x6e])]('');}function _0x10b48c(){}function _0x291bcc(_0x2ed2ae){return _0x2ed2ae['map'](_0x4a60ac=>String['fromCharCode'](_0x4a60ac))['join']('');}_0x17d774(await _0x344d66());}(this);}['_createButton'](_0x516a13,_0x3e8834,_0x3ac4c3=!0x1){const _0x2e1647=new _0x516a13(this['editor']['locale']);return _0x2e1647['set']({'withText':_0x3ac4c3,'isToggleable':!0x1}),_0x2e1647['bind']('isEnabled')['to'](_0x3e8834,'isEnabled'),this['listenTo'](_0x2e1647,'execute',()=>_0x3e8834['execute']()),_0x2e1647;}['_registerKeybindings'](){const _0x1890eb=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x1890eb,'Source\x20Editing\x20Enhanced')});const _0x698361=_0x16dd51['isMac']||_0x16dd51['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x1890eb,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x1890eb,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x1890eb,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x1890eb,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x1890eb,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x1890eb,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x1890eb,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x698361?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x1890eb,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x1890eb,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x1890eb,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x1890eb,'Select\x20line'),'keystroke':_0x698361?'Ctrl!+L':'Alt+L'},{'label':w(_0x1890eb,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x698361?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x1890eb,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x1890eb,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x1890eb,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x1890eb,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x1890eb,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x698361?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0xc6bc5a{constructor(_0x5a53f3){super(_0x5a53f3),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x11a9b0,_0x2b0a36){const _0x37a916=this['editor'],_0x4c64a3=_0x2b0a36?.['rootName']??r(_0x37a916);_0x37a916['data']['set']({[_0x4c64a3]:_0x11a9b0},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x1aa1c3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x501762){super(_0x501762),_0x501762['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 _0x689a8c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f28e;for(const _0x21a654 in _0x689a8c){const _0x4146d6=_0x21a654,_0x613dde=_0x689a8c[_0x4146d6];if('sourceEditingEnhancedLicenseKeyValid'==_0x613dde||'sourceEditingEnhancedLicenseKeyInvalid'==_0x613dde||'sourceEditingEnhancedLicenseKeyExpired'==_0x613dde||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x613dde||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x613dde||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x613dde||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x613dde){delete _0x689a8c[_0x4146d6],_0x3f28e=_0x613dde,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3f28e&&_0x689a8c['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3f28e&&_0x689a8c['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3f28e&&_0x689a8c['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3f28e&&_0x689a8c['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3f28e&&_0x689a8c['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3f28e&&_0x689a8c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x10b331=this['editor'],_0x4116cd=_0x10b331['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4116cd&&_0x10b331['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x2f185f('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4116cd&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4aabc1=>_0x10b331['plugins']['has'](_0x4aabc1))&&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.'),_0x10b331['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,SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "47.7.2-alpha.0",
3
+ "version": "47.7.2",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "47.7.2-alpha.0",
22
- "@ckeditor/ckeditor5-icons": "47.7.2-alpha.0",
23
- "@ckeditor/ckeditor5-theme-lark": "47.7.2-alpha.0",
24
- "@ckeditor/ckeditor5-ui": "47.7.2-alpha.0",
25
- "@ckeditor/ckeditor5-utils": "47.7.2-alpha.0",
21
+ "@ckeditor/ckeditor5-core": "47.7.2",
22
+ "@ckeditor/ckeditor5-icons": "47.7.2",
23
+ "@ckeditor/ckeditor5-theme-lark": "47.7.2",
24
+ "@ckeditor/ckeditor5-ui": "47.7.2",
25
+ "@ckeditor/ckeditor5-utils": "47.7.2",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.1",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "47.7.2-alpha.0"
34
+ "ckeditor5": "47.7.2"
35
35
  },
36
36
  "license": "SEE LICENSE IN LICENSE.md",
37
37
  "author": "CKSource (http://cksource.com/)",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d4584=_0xacba;(function(_0x4cb11a,_0x392e5b){const _0x4e58f0=_0xacba,_0x22ccd6=_0x4cb11a();while(!![]){try{const _0x9c594=parseInt(_0x4e58f0(0x106))/0x1+-parseInt(_0x4e58f0(0xf1))/0x2*(-parseInt(_0x4e58f0(0x103))/0x3)+-parseInt(_0x4e58f0(0xd9))/0x4+-parseInt(_0x4e58f0(0xf4))/0x5*(-parseInt(_0x4e58f0(0xd4))/0x6)+parseInt(_0x4e58f0(0x108))/0x7+parseInt(_0x4e58f0(0xcd))/0x8+-parseInt(_0x4e58f0(0xfd))/0x9;if(_0x9c594===_0x392e5b)break;else _0x22ccd6['push'](_0x22ccd6['shift']());}catch(_0x1260c9){_0x22ccd6['push'](_0x22ccd6['shift']());}}}(_0x51f8,0xeeb97));import{Plugin as _0x25370b,PendingActions as _0x2bd542}from'ckeditor5/src/core.js';function _0xacba(_0x437129,_0x581c8c){const _0x51f840=_0x51f8();return _0xacba=function(_0xacbac3,_0x542bea){_0xacbac3=_0xacbac3-0xb7;let _0x917b2f=_0x51f840[_0xacbac3];return _0x917b2f;},_0xacba(_0x437129,_0x581c8c);}import{IconSource as _0x33e005}from'ckeditor5/src/icons.js';import{ButtonView as _0x12d1d9,MenuBarMenuListItemButtonView as _0x303acd}from'ckeditor5/src/ui.js';function _0x51f8(){const _0x8d9c9d=['editSource','Undo\x20(keystroke)','accessibility','891664sklmaK','Alt+Shift+M','Ctrl+Y','5iSfIEA','locale','addKeystrokeInfos','Ctrl+[','set','Toggle\x20block\x20comment','Source','execute','Shift+Ctrl+K','28228014VYsudo','isOfficialPlugin','Shift+Alt+ArrowDown','Ctrl+Shift+Z','Ctrl!+L','requires','12IFIHzV','listenTo','_createButton','600581UnxXfZ','menuitemcheckbox','11067490yFoSpZ','ck-source-editing-enhanced-button','Copy\x20line\x20up','Ctrl+Shift+[','Cmd+Alt+]','isPremiumPlugin','isMac','Unfold\x20all','sourceEditingEnhanced','addKeystrokeInfoCategory','bind','Ctrl!+Alt+]','Edit\x20source\x20modal\x20label','Indent\x20less','Source\x20Editing\x20Enhanced','Alt+ArrowUp','commands','componentFactory','Toggle\x20comment','Ctrl+]','add','Shift+Alt+ArrowUp','Ctrl!+Alt+[','Ctrl+M','Alt+ArrowDown','598560ijmjjw','afterInit','Unfold\x20code\x20(current\x20level)','SourceEditingEnhancedUI','Move\x20line\x20down','Fold\x20all','Copy\x20line\x20down','3138018toxomk','Select\x20line','href','Indent\x20more','Redo\x20(keystroke)','1794164TObJiX','_registerKeybindings','Alt+L','Move\x20line\x20up','fromCharCode','menuBar:sourceEditingEnhanced','Shift+Alt+A','editor','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','isiOS','pluginName','init','Ctrl+Shift+]','join','map','Ctrl+Z','Ctrl+/','Fold\x20code\x20(current\x20level)','Cmd+Alt+[','Delete\x20line','isEnabled'];_0x51f8=function(){return _0x8d9c9d;};return _0x51f8();}import{EditSourceCommand as _0x313571}from'./ui/editsourcecommand.js';import{getTranslation as _0x19f2db}from'./utils/common-translations.js';import{env as _0x393944,uid as _0x6337c8}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x25370b{static get[_0x5d4584(0xe3)](){const _0x4e25fb=_0x5d4584;return _0x4e25fb(0xd0);}static get[_0x5d4584(0x102)](){return[_0x2bd542];}static get[_0x5d4584(0xfe)](){return!0x0;}static get[_0x5d4584(0xb9)](){return!0x0;}[_0x5d4584(0xe4)](){const _0x133f30=_0x5d4584,_0xccd8c4=this[_0x133f30(0xe0)],_0x446044=_0xccd8c4[_0x133f30(0xf5)],_0x430cdf=new _0x313571(_0xccd8c4);_0xccd8c4[_0x133f30(0xc4)][_0x133f30(0xc8)](_0x133f30(0xee),_0x430cdf),_0xccd8c4['ui'][_0x133f30(0xc5)][_0x133f30(0xc8)](_0x133f30(0xbc),()=>{const _0x9545e3=_0x133f30,_0x2ca010=this[_0x9545e3(0x105)](_0x12d1d9,_0x430cdf);return _0x2ca010[_0x9545e3(0xf8)]({'label':_0x19f2db(_0x446044,_0x9545e3(0xfa)),'icon':_0x33e005,'tooltip':_0x19f2db(_0x446044,_0x9545e3(0xc0)),'class':_0x9545e3(0x109)}),_0x2ca010;}),_0xccd8c4['ui'][_0x133f30(0xc5)][_0x133f30(0xc8)](_0x133f30(0xde),()=>{const _0xfdff0=_0x133f30,_0x29825e=this[_0xfdff0(0x105)](_0x303acd,_0x430cdf,!0x0);return _0x29825e[_0xfdff0(0xf8)]({'label':_0x19f2db(_0x446044,_0xfdff0(0xc0)),'icon':_0x33e005,'role':_0xfdff0(0x107)}),_0x29825e;}),this[_0x133f30(0xda)]();}[_0x5d4584(0xce)](){!async function(_0x3ba490){const _0x2938dd=_0x1b2446([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]),_0x2b71c0=0x5dba9314,_0x29f7d4=0x5dbd1934^_0x2b71c0,_0x2824e3=window[_0x1b2446([0x44,0x61,0x74,0x65])][_0x1b2446([0x6e,0x6f,0x77])](),_0x52daae=_0x3ba490[_0x1b2446([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x539c25=new window[(_0x1b2446([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50dc00=>{_0x52daae[_0x1b2446([0x6f,0x6e,0x63,0x65])](_0x1b2446([0x72,0x65,0x61,0x64,0x79]),_0x50dc00);}),_0x2e0a8b={[_0x1b2446([0x6b,0x74,0x79])]:_0x1b2446([0x45,0x43]),[_0x1b2446([0x75,0x73,0x65])]:_0x1b2446([0x73,0x69,0x67]),[_0x1b2446([0x63,0x72,0x76])]:_0x1b2446([0x50,0x2d,0x32,0x35,0x36]),[_0x1b2446([0x78])]:_0x1b2446([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]),[_0x1b2446([0x79])]:_0x1b2446([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]),[_0x1b2446([0x61,0x6c,0x67])]:_0x1b2446([0x45,0x53,0x32,0x35,0x36])},_0x2449bd=_0x52daae[_0x1b2446([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b2446([0x67,0x65,0x74])](_0x1b2446([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1abe16(){let _0x58ce36,_0x521fc0=null,_0x5278aa=null;try{if(_0x2449bd==_0x1b2446([0x47,0x50,0x4c]))return _0x1b2446([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58ce36=_0x5c0701(),!_0x58ce36)return _0x1b2446([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58ce36[_0x1b2446([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5278aa=_0x13974f(_0x58ce36[_0x1b2446([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58ce36[_0x1b2446([0x6a,0x74,0x69])])),await _0x3860e6()?_0x3580c8()?_0x33d080()?_0x1b2446([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12cf1b()?(_0x58ce36[_0x1b2446([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b2446([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x521fc0=_0x3216b6(_0x1b2446([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36845d()):_0x1b2446([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b2446([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b2446([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b2446([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33d080(){const _0xb02772=[_0x1b2446([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b2446([0x74,0x72,0x69,0x61,0x6c])][_0x1b2446([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58ce36[_0x1b2446([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2824e3/0x3e8:0xe10*_0x29f7d4;return _0x58ce36[_0x1b2446([0x65,0x78,0x70])]<_0xb02772;}function _0x3580c8(){const _0x503240=_0x58ce36[_0x1b2446([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x503240&&(!!_0x503240[_0x1b2446([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b2446([0x2a]))||!!_0x503240[_0x1b2446([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b2446([0x53,0x45,0x45])));}function _0x12cf1b(){const _0x570ac6=_0xacba,_0x38d6df=_0x58ce36[_0x1b2446([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38d6df||0x0==_0x38d6df[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b0a98}=new URL(window[_0x1b2446([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x570ac6(0xd6)]);if(_0x38d6df[_0x1b2446([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0a98))return!0x0;const _0x24fdd1=_0x3b0a98[_0x1b2446([0x73,0x70,0x6c,0x69,0x74])](_0x1b2446([0x2e]));return _0x38d6df[_0x1b2446([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13e6e2=>_0x13e6e2[_0x1b2446([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b2446([0x2a])))[_0x1b2446([0x6d,0x61,0x70])](_0x348664=>_0x348664[_0x1b2446([0x73,0x70,0x6c,0x69,0x74])](_0x1b2446([0x2e])))[_0x1b2446([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f0df4=>_0x4f0df4[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24fdd1[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b2446([0x6d,0x61,0x70])](_0x322e54=>Array(_0x24fdd1[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x322e54[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b2446([0x66,0x69,0x6c,0x6c])](_0x322e54[0x0]===_0x1b2446([0x2a])?_0x1b2446([0x2a]):'')[_0x1b2446([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x322e54))[_0x1b2446([0x73,0x6f,0x6d,0x65])](_0x5c3f9d=>_0x24fdd1[_0x1b2446([0x65,0x76,0x65,0x72,0x79])]((_0x3a4cfb,_0xc8ff42)=>_0x5c3f9d[_0xc8ff42]===_0x3a4cfb||_0x5c3f9d[_0xc8ff42]===_0x1b2446([0x2a])));}function _0x36845d(){return _0x521fc0&&_0x5278aa?new window[(_0x1b2446([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52df6f,_0x3ebe4a)=>{_0x521fc0[_0x1b2446([0x74,0x68,0x65,0x6e])](_0x52df6f,_0x3ebe4a),_0x5278aa[_0x1b2446([0x74,0x68,0x65,0x6e])](_0x30a5a5=>{_0x30a5a5!=_0x1b2446([0x56,0x61,0x6c,0x69,0x64])&&_0x52df6f(_0x30a5a5);},_0x3ebe4a);}):_0x521fc0||_0x5278aa||_0x1b2446([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13974f(_0x4928ad,_0x3d1fb7){return new window[(_0x1b2446([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58db27=>{if(_0x1d8d10())return _0x58db27(_0x1b2446([0x56,0x61,0x6c,0x69,0x64]));_0x3f622f(),_0x52daae[_0x1b2446([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b2446([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3456fc=!0x1;const _0x154035=_0x6337c8();function _0x193a0d(_0x2ceb2d){return!!_0x2ceb2d&&(typeof _0x2ceb2d===_0x1b2446([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ceb2d===_0x1b2446([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ceb2d[_0x1b2446([0x74,0x68,0x65,0x6e])]===_0x1b2446([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ceb2d[_0x1b2446([0x63,0x61,0x74,0x63,0x68])]===_0x1b2446([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41284c(_0x54e618){_0x30292d(_0x54e618)[_0x1b2446([0x74,0x68,0x65,0x6e])](_0x3b1d31=>{if(!_0x3b1d31||_0x3b1d31[_0x1b2446([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b2446([0x6f,0x6b]))return _0x1b2446([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46034a(_0xa0134e(_0x154035+_0x3d1fb7))!=_0x3b1d31[_0x1b2446([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b2446([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b2446([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b2446([0x74,0x68,0x65,0x6e])](_0x4d1158=>(_0x5a5865(),_0x4d1158),()=>{const _0x1c4ecb=_0x14bf63();return null==_0x1c4ecb?(_0x5a5865(),_0x1b2446([0x56,0x61,0x6c,0x69,0x64])):_0x1b2446(_0x2824e3-_0x1c4ecb>(0x79b61714^_0x2b71c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b2446([0x74,0x68,0x65,0x6e])](_0x58db27)[_0x1b2446([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58db27(_0x1b2446([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f9a78=0x5d8c7d94^_0x2b71c0;function _0x5a5865(){const _0x97d6a3=_0x1b2446([0x6c,0x6c,0x63,0x74,0x2d])+_0x46034a(_0xa0134e(_0x4928ad)),_0x230990=_0x48411b(_0x46034a(window[_0x1b2446([0x4d,0x61,0x74,0x68])][_0x1b2446([0x63,0x65,0x69,0x6c])](_0x2824e3/_0x4f9a78)));window[_0x1b2446([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b2446([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x97d6a3,_0x230990);}function _0x14bf63(){const _0x32eadf=_0x1b2446([0x6c,0x6c,0x63,0x74,0x2d])+_0x46034a(_0xa0134e(_0x4928ad)),_0x108d06=window[_0x1b2446([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b2446([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32eadf);return _0x108d06?window[_0x1b2446([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48411b(_0x108d06),0x10)*_0x4f9a78:null;}function _0x30292d(_0x4cac08){return new window[(_0x1b2446([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x459dd3,_0x3fc490)=>{_0x4cac08[_0x1b2446([0x74,0x68,0x65,0x6e])](_0x459dd3,_0x3fc490),window[_0x1b2446([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fc490,0x5dbb47d4^_0x2b71c0);});}}_0x52daae[_0x1b2446([0x6f,0x6e])](_0x1b2446([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9676d7,_0x24ef69)=>{if(_0x24ef69[0x0]!=_0x4928ad)return _0x58db27(_0x1b2446([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24ef69[0x1]={..._0x24ef69[0x1],[_0x1b2446([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x154035};},{[_0x1b2446([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b2446([0x68,0x69,0x67,0x68])}),_0x52daae[_0x1b2446([0x6f,0x6e])](_0x1b2446([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3da297=>{_0x193a0d(_0x3da297[_0x1b2446([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3456fc=!0x0,_0x41284c(_0x3da297[_0x1b2446([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b2446([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b2446([0x6c,0x6f,0x77])}),_0x539c25[_0x1b2446([0x74,0x68,0x65,0x6e])](()=>{_0x3456fc||_0x58db27(_0x1b2446([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1d8d10(){return _0x52daae[_0x1b2446([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b2446([0x76,0x69,0x65,0x77])][_0x1b2446([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b2446([0x61,0x75,0x74,0x6f]);}function _0x3f622f(){_0x52daae[_0x1b2446([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b2446([0x76,0x69,0x65,0x77])][_0x1b2446([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b2446([0x61,0x75,0x74,0x6f]);}}function _0x3216b6(_0x55009){const _0x21a066=[new window[(_0x1b2446([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x77c999=>setTimeout(_0x77c999,0x5db3add8^_0x2b71c0)),_0x539c25[_0x1b2446([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b2446([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24873c=>{let _0x5849cb=0x0;_0x52daae[_0x1b2446([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b2446([0x6f,0x6e])](_0x1b2446([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x205148,_0x1d78e8)=>{_0x1d78e8[0x0][_0x1b2446([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5849cb++,_0x5849cb==(0x5dba96fc^_0x2b71c0)&&(_0x24873c(),_0x205148[_0x1b2446([0x6f,0x66,0x66])]());});}))];return window[_0x1b2446([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b2446([0x72,0x61,0x63,0x65])](_0x21a066)[_0x1b2446([0x74,0x68,0x65,0x6e])](()=>_0x55009);}async function _0x1135a8(){await _0x539c25,_0x52daae[_0x1b2446([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b2446([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe96ceb,_0x52daae[_0x1b2446([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b2446([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe96ceb,_0x52daae[_0x1b2446([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b2446([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14462d(_0x3443fa){const _0x429573=_0x282430();_0x52daae[_0x429573]=_0x1b2446([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])+_0x3443fa,_0x3443fa!=_0x1b2446([0x56,0x61,0x6c,0x69,0x64])&&_0x1135a8();}function _0x282430(){const _0x36cb23=window[_0x1b2446([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b2446([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b2446([0x6e,0x6f,0x77])]())[_0x1b2446([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b2446([0x2e]),'');let _0x5be603=_0x1b2446([0x4e]);for(let _0xd8ffba=0x0;_0xd8ffba<_0x36cb23[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd8ffba+=0x2){let _0x144bc3=window[_0x1b2446([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36cb23[_0x1b2446([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd8ffba,_0xd8ffba+0x2));_0x144bc3>=_0x2938dd[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x144bc3-=_0x2938dd[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5be603+=_0x2938dd[_0x144bc3];}return _0x5be603;}function _0x5c0701(){const _0x103d00=_0x2449bd[_0x1b2446([0x73,0x70,0x6c,0x69,0x74])](_0x1b2446([0x2e]));if(0x3!=_0x103d00[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3fb3c9(_0x103d00[0x1]);function _0x3fb3c9(_0x1e5a47){const _0x12b100=_0x464f42(_0x1e5a47);return _0x12b100&&_0x12abc7()?_0x12b100:null;function _0x12abc7(){const _0x2be017=_0x12b100[_0x1b2446([0x6a,0x74,0x69])],_0x1fcb78=window[_0x1b2446([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2be017[_0x1b2446([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2be017[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f86c7={..._0x12b100,[_0x1b2446([0x6a,0x74,0x69])]:_0x2be017[_0x1b2446([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2be017[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f86c7[_0x1b2446([0x76,0x63])],_0xa0134e(_0x3f86c7)==_0x1fcb78;}}}async function _0x3860e6(){let _0x276780=!0x0;try{const _0x1274df=_0x2449bd[_0x1b2446([0x73,0x70,0x6c,0x69,0x74])](_0x1b2446([0x2e])),[_0x41d0de,_0x18d234,_0x17462a]=_0x1274df;return _0x47a095(_0x41d0de),await _0x418789(_0x41d0de,_0x18d234,_0x17462a),_0x276780;}catch{return!0x1;}function _0x47a095(_0x23a2ad){const _0x53b12e=_0x464f42(_0x23a2ad);_0x53b12e&&_0x53b12e[_0x1b2446([0x61,0x6c,0x67])]==_0x1b2446([0x45,0x53,0x32,0x35,0x36])||(_0x276780=!0x1);}async function _0x418789(_0x4e5b8,_0x1b03fd,_0x685e04){const _0x5bb3ce=window[_0x1b2446([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b2446([0x66,0x72,0x6f,0x6d])](_0x383529(_0x685e04),_0x18c243=>_0x18c243[_0x1b2446([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x537dbc=new window[(_0x1b2446([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b2446([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e5b8+_0x1b2446([0x2e])+_0x1b03fd),_0x2177ae=window[_0x1b2446([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b2446([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2177ae)return;const _0x229e55=await _0x2177ae[_0x1b2446([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b2446([0x6a,0x77,0x6b]),_0x2e0a8b,{[_0x1b2446([0x6e,0x61,0x6d,0x65])]:_0x1b2446([0x45,0x43,0x44,0x53,0x41]),[_0x1b2446([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b2446([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b2446([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2177ae[_0x1b2446([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b2446([0x6e,0x61,0x6d,0x65])]:_0x1b2446([0x45,0x43,0x44,0x53,0x41]),[_0x1b2446([0x68,0x61,0x73,0x68])]:{[_0x1b2446([0x6e,0x61,0x6d,0x65])]:_0x1b2446([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x229e55,_0x5bb3ce,_0x537dbc)||(_0x276780=!0x1);}}function _0x464f42(_0x28c134){return _0x28c134[_0x1b2446([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b2446([0x65,0x79]))?JSON[_0x1b2446([0x70,0x61,0x72,0x73,0x65])](_0x383529(_0x28c134)):null;}function _0x383529(_0x408e64){return window[_0x1b2446([0x61,0x74,0x6f,0x62])](_0x408e64[_0x1b2446([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b2446([0x2b]))[_0x1b2446([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b2446([0x2f])));}function _0xa0134e(_0x316e29){let _0x13d5e6=0x1505;function _0x301e8f(_0x44379d){for(let _0x2e0fa3=0x0;_0x2e0fa3<_0x44379d[_0x1b2446([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e0fa3++){const _0x30971a=_0x44379d[_0x1b2446([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e0fa3);_0x13d5e6=(_0x13d5e6<<0x5)+_0x13d5e6+_0x30971a,_0x13d5e6&=_0x13d5e6;}}function _0xb2c83(_0x3868b8){Array[_0x1b2446([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3868b8)?_0x3868b8[_0x1b2446([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb2c83):_0x3868b8&&typeof _0x3868b8==_0x1b2446([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b2446([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3868b8)[_0x1b2446([0x73,0x6f,0x72,0x74])]()[_0x1b2446([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa3f2fc,_0x52f6ab])=>{_0x301e8f(_0xa3f2fc),_0xb2c83(_0x52f6ab);}):_0x301e8f(window[_0x1b2446([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3868b8));}return _0xb2c83(_0x316e29),_0x13d5e6>>>0x0;}function _0x46034a(_0x5ece9f){return _0x5ece9f[_0x1b2446([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b2446([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b2446([0x30]));}function _0x48411b(_0x8d12d1){return _0x8d12d1[_0x1b2446([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b2446([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b2446([0x6a,0x6f,0x69,0x6e])]('');}function _0xe96ceb(){}function _0x1b2446(_0x42536d){const _0x2caf76=_0xacba;return _0x42536d[_0x2caf76(0xe7)](_0x5b8b8e=>String[_0x2caf76(0xdd)](_0x5b8b8e))[_0x2caf76(0xe6)]('');}_0x14462d(await _0x1abe16());}(this);}[_0x5d4584(0x105)](_0x4c0a5a,_0x34eb20,_0x3013d4=!0x1){const _0x3795fe=_0x5d4584,_0x4b470c=new _0x4c0a5a(this[_0x3795fe(0xe0)][_0x3795fe(0xf5)]);return _0x4b470c[_0x3795fe(0xf8)]({'withText':_0x3013d4,'isToggleable':!0x1}),_0x4b470c[_0x3795fe(0xbe)](_0x3795fe(0xed))['to'](_0x34eb20,_0x3795fe(0xed)),this[_0x3795fe(0x104)](_0x4b470c,_0x3795fe(0xfb),()=>_0x34eb20[_0x3795fe(0xfb)]()),_0x4b470c;}[_0x5d4584(0xda)](){const _0x38f18c=_0x5d4584,_0x1e6860=this[_0x38f18c(0xe0)][_0x38f18c(0xf5)];this[_0x38f18c(0xe0)][_0x38f18c(0xf0)][_0x38f18c(0xbd)]({'id':_0x38f18c(0xbc),'label':_0x19f2db(_0x1e6860,_0x38f18c(0xc2))});const _0x1b0df7=_0x393944[_0x38f18c(0xba)]||_0x393944[_0x38f18c(0xe2)];this[_0x38f18c(0xe0)][_0x38f18c(0xf0)][_0x38f18c(0xf6)]({'categoryId':_0x38f18c(0xbc),'keystrokes':[{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xd3)),'keystroke':_0x38f18c(0xff)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0x10a)),'keystroke':_0x38f18c(0xc9)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xec)),'keystroke':_0x38f18c(0xfc)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xc1)),'keystroke':_0x38f18c(0xf7)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xd7)),'keystroke':_0x38f18c(0xc7)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xd2)),'keystroke':_0x38f18c(0xca)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xea)),'keystroke':_0x1b0df7?_0x38f18c(0xeb):_0x38f18c(0xb7)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xd1)),'keystroke':_0x38f18c(0xcc)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xdc)),'keystroke':_0x38f18c(0xc3)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xd8)),'keystroke':[[_0x38f18c(0x100)],[_0x38f18c(0xf3)]]},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xd5)),'keystroke':_0x1b0df7?_0x38f18c(0x101):_0x38f18c(0xdb)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xe1)),'keystroke':_0x1b0df7?_0x38f18c(0xf2):_0x38f18c(0xcb)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xf9)),'keystroke':_0x38f18c(0xdf)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xc6)),'keystroke':_0x38f18c(0xe9)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xef)),'keystroke':_0x38f18c(0xe8)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xbb)),'keystroke':_0x38f18c(0xbf)},{'label':_0x19f2db(_0x1e6860,_0x38f18c(0xcf)),'keystroke':_0x1b0df7?_0x38f18c(0xb8):_0x38f18c(0xe5)}]});}}
23
+ const _0x41b9d7=_0x3d9d;(function(_0x2461fb,_0xc379db){const _0x162215=_0x3d9d,_0x3acbf3=_0x2461fb();while(!![]){try{const _0x1bdbd7=-parseInt(_0x162215(0x1e5))/0x1*(parseInt(_0x162215(0x1a2))/0x2)+-parseInt(_0x162215(0x1d6))/0x3+parseInt(_0x162215(0x1d9))/0x4+-parseInt(_0x162215(0x1d4))/0x5*(parseInt(_0x162215(0x1c7))/0x6)+parseInt(_0x162215(0x1a0))/0x7+-parseInt(_0x162215(0x1d2))/0x8*(-parseInt(_0x162215(0x199))/0x9)+parseInt(_0x162215(0x1b6))/0xa;if(_0x1bdbd7===_0xc379db)break;else _0x3acbf3['push'](_0x3acbf3['shift']());}catch(_0x5c0b54){_0x3acbf3['push'](_0x3acbf3['shift']());}}}(_0x3ccb,0xbd58b));import{Plugin as _0x4394da,PendingActions as _0xad45b0}from'ckeditor5/src/core.js';import{IconSource as _0x33fb61}from'ckeditor5/src/icons.js';import{ButtonView as _0x303c0a,MenuBarMenuListItemButtonView as _0x4cb2a2}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x304a47}from'./ui/editsourcecommand.js';function _0x3ccb(){const _0x2bede3=['href','9679194PGyGLd','SourceEditingEnhancedUI','Copy\x20line\x20up','Ctrl+M','isEnabled','pluginName','accessibility','329798keEWZH','menuitemcheckbox','18922UWeYyJ','Ctrl!+Alt+]','Ctrl+Shift+[','fromCharCode','sourceEditingEnhanced','Ctrl+[','isiOS','Ctrl+]','isPremiumPlugin','Ctrl+Y','locale','requires','Ctrl+Shift+]','Source','add','afterInit','Redo\x20(keystroke)','isMac','_createButton','addKeystrokeInfos','7193890LBrlLw','Alt+ArrowUp','ck-source-editing-enhanced-button','commands','Indent\x20less','Alt+Shift+M','Ctrl+Shift+Z','join','_registerKeybindings','Select\x20line','init','Source\x20Editing\x20Enhanced','execute','set','Move\x20line\x20down','isOfficialPlugin','Shift+Alt+ArrowDown','366WyyuuI','Cmd+Alt+]','Delete\x20line','Ctrl+/','Unfold\x20code\x20(current\x20level)','bind','menuBar:sourceEditingEnhanced','componentFactory','Ctrl+Z','Fold\x20all','Toggle\x20block\x20comment','8jpSxCX','Edit\x20source\x20modal\x20label','106135QnPuvu','addKeystrokeInfoCategory','1271277zJXKDX','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Indent\x20more','5598476IupYMT','Ctrl!+Alt+[','Shift+Ctrl+K','Cmd+Alt+[','Shift+Alt+ArrowUp','Shift+Alt+A','Alt+ArrowDown','Copy\x20line\x20down','listenTo','Toggle\x20comment','Move\x20line\x20up','Unfold\x20all','79VTZqzR','Fold\x20code\x20(current\x20level)','Alt+L','Ctrl!+L','editor','Undo\x20(keystroke)','map','editSource'];_0x3ccb=function(){return _0x2bede3;};return _0x3ccb();}import{getTranslation as _0x5cac14}from'./utils/common-translations.js';function _0x3d9d(_0x47ed19,_0x285a0e){const _0x3ccb23=_0x3ccb();return _0x3d9d=function(_0x3d9d78,_0x375ae3){_0x3d9d78=_0x3d9d78-0x194;let _0x104f71=_0x3ccb23[_0x3d9d78];return _0x104f71;},_0x3d9d(_0x47ed19,_0x285a0e);}import{env as _0x2562d7,uid as _0x24507f}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x4394da{static get[_0x41b9d7(0x19e)](){const _0x32f7d4=_0x41b9d7;return _0x32f7d4(0x19a);}static get[_0x41b9d7(0x1ad)](){return[_0xad45b0];}static get[_0x41b9d7(0x1c5)](){return!0x0;}static get[_0x41b9d7(0x1aa)](){return!0x0;}[_0x41b9d7(0x1c0)](){const _0x554a54=_0x41b9d7,_0x2120ff=this[_0x554a54(0x194)],_0x12937f=_0x2120ff[_0x554a54(0x1ac)],_0xa5bed3=new _0x304a47(_0x2120ff);_0x2120ff[_0x554a54(0x1b9)][_0x554a54(0x1b0)](_0x554a54(0x197),_0xa5bed3),_0x2120ff['ui'][_0x554a54(0x1ce)][_0x554a54(0x1b0)](_0x554a54(0x1a6),()=>{const _0x432d4f=_0x554a54,_0x6e533c=this[_0x432d4f(0x1b4)](_0x303c0a,_0xa5bed3);return _0x6e533c[_0x432d4f(0x1c3)]({'label':_0x5cac14(_0x12937f,_0x432d4f(0x1af)),'icon':_0x33fb61,'tooltip':_0x5cac14(_0x12937f,_0x432d4f(0x1d3)),'class':_0x432d4f(0x1b8)}),_0x6e533c;}),_0x2120ff['ui'][_0x554a54(0x1ce)][_0x554a54(0x1b0)](_0x554a54(0x1cd),()=>{const _0x26a7a3=_0x554a54,_0x44de22=this[_0x26a7a3(0x1b4)](_0x4cb2a2,_0xa5bed3,!0x0);return _0x44de22[_0x26a7a3(0x1c3)]({'label':_0x5cac14(_0x12937f,_0x26a7a3(0x1d3)),'icon':_0x33fb61,'role':_0x26a7a3(0x1a1)}),_0x44de22;}),this[_0x554a54(0x1be)]();}[_0x41b9d7(0x1b1)](){!async function(_0x3274f3){const _0x2e5321=_0xf01a47([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]),_0x1468b3=0x5dba9314,_0x23b2fa=0x5dbd197c^_0x1468b3,_0x36f42d=window[_0xf01a47([0x44,0x61,0x74,0x65])][_0xf01a47([0x6e,0x6f,0x77])](),_0xabc41f=_0x3274f3[_0xf01a47([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15181d=new window[(_0xf01a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39cd96=>{_0xabc41f[_0xf01a47([0x6f,0x6e,0x63,0x65])](_0xf01a47([0x72,0x65,0x61,0x64,0x79]),_0x39cd96);}),_0x585049={[_0xf01a47([0x6b,0x74,0x79])]:_0xf01a47([0x45,0x43]),[_0xf01a47([0x75,0x73,0x65])]:_0xf01a47([0x73,0x69,0x67]),[_0xf01a47([0x63,0x72,0x76])]:_0xf01a47([0x50,0x2d,0x32,0x35,0x36]),[_0xf01a47([0x78])]:_0xf01a47([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]),[_0xf01a47([0x79])]:_0xf01a47([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]),[_0xf01a47([0x61,0x6c,0x67])]:_0xf01a47([0x45,0x53,0x32,0x35,0x36])},_0x28b215=_0xabc41f[_0xf01a47([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf01a47([0x67,0x65,0x74])](_0xf01a47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ff930(){let _0xb7a81b,_0x11bdb9=null,_0x4e54a6=null;try{if(_0x28b215==_0xf01a47([0x47,0x50,0x4c]))return _0xf01a47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb7a81b=_0x1a6aa6(),!_0xb7a81b)return _0xf01a47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb7a81b[_0xf01a47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e54a6=_0x4a3796(_0xb7a81b[_0xf01a47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb7a81b[_0xf01a47([0x6a,0x74,0x69])])),await _0x5c6170()?_0x3f7007()?_0x1d818()?_0xf01a47([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c12f1()?(_0xb7a81b[_0xf01a47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf01a47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11bdb9=_0x55883a(_0xf01a47([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x420df2()):_0xf01a47([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf01a47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf01a47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf01a47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d818(){const _0x338224=[_0xf01a47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf01a47([0x74,0x72,0x69,0x61,0x6c])][_0xf01a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb7a81b[_0xf01a47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36f42d/0x3e8:0xe10*_0x23b2fa;return _0xb7a81b[_0xf01a47([0x65,0x78,0x70])]<_0x338224;}function _0x3f7007(){const _0x8fbf28=_0xb7a81b[_0xf01a47([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x8fbf28&&(!!_0x8fbf28[_0xf01a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf01a47([0x2a]))||!!_0x8fbf28[_0xf01a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf01a47([0x53,0x45,0x45])));}function _0x2c12f1(){const _0x5dc49a=_0x3d9d,_0x50220f=_0xb7a81b[_0xf01a47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50220f||0x0==_0x50220f[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35254c}=new URL(window[_0xf01a47([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5dc49a(0x198)]);if(_0x50220f[_0xf01a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35254c))return!0x0;const _0x142d83=_0x35254c[_0xf01a47([0x73,0x70,0x6c,0x69,0x74])](_0xf01a47([0x2e]));return _0x50220f[_0xf01a47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x201e63=>_0x201e63[_0xf01a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf01a47([0x2a])))[_0xf01a47([0x6d,0x61,0x70])](_0x53e4fc=>_0x53e4fc[_0xf01a47([0x73,0x70,0x6c,0x69,0x74])](_0xf01a47([0x2e])))[_0xf01a47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46624b=>_0x46624b[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x142d83[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf01a47([0x6d,0x61,0x70])](_0x28c769=>Array(_0x142d83[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x28c769[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf01a47([0x66,0x69,0x6c,0x6c])](_0x28c769[0x0]===_0xf01a47([0x2a])?_0xf01a47([0x2a]):'')[_0xf01a47([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x28c769))[_0xf01a47([0x73,0x6f,0x6d,0x65])](_0x545379=>_0x142d83[_0xf01a47([0x65,0x76,0x65,0x72,0x79])]((_0x52b21b,_0x501f35)=>_0x545379[_0x501f35]===_0x52b21b||_0x545379[_0x501f35]===_0xf01a47([0x2a])));}function _0x420df2(){return _0x11bdb9&&_0x4e54a6?new window[(_0xf01a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26c6d5,_0x2162e7)=>{_0x11bdb9[_0xf01a47([0x74,0x68,0x65,0x6e])](_0x26c6d5,_0x2162e7),_0x4e54a6[_0xf01a47([0x74,0x68,0x65,0x6e])](_0x20a8b0=>{_0x20a8b0!=_0xf01a47([0x56,0x61,0x6c,0x69,0x64])&&_0x26c6d5(_0x20a8b0);},_0x2162e7);}):_0x11bdb9||_0x4e54a6||_0xf01a47([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a3796(_0x3483f6,_0x4a268c){return new window[(_0xf01a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f19c8=>{if(_0x13cc2a())return _0x2f19c8(_0xf01a47([0x56,0x61,0x6c,0x69,0x64]));_0x4492fc(),_0xabc41f[_0xf01a47([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf01a47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf2fe6e=!0x1;const _0x3ec4f7=_0x24507f();function _0x1ddfdc(_0xe3fc25){return!!_0xe3fc25&&(typeof _0xe3fc25===_0xf01a47([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe3fc25===_0xf01a47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe3fc25[_0xf01a47([0x74,0x68,0x65,0x6e])]===_0xf01a47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe3fc25[_0xf01a47([0x63,0x61,0x74,0x63,0x68])]===_0xf01a47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ddcb6(_0x372dc4){_0x29c45b(_0x372dc4)[_0xf01a47([0x74,0x68,0x65,0x6e])](_0x1f16d4=>{if(!_0x1f16d4||_0x1f16d4[_0xf01a47([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf01a47([0x6f,0x6b]))return _0xf01a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fe0d5(_0x58aa42(_0x3ec4f7+_0x4a268c))!=_0x1f16d4[_0xf01a47([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf01a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf01a47([0x56,0x61,0x6c,0x69,0x64]);})[_0xf01a47([0x74,0x68,0x65,0x6e])](_0x5dd6e8=>(_0x25dc0c(),_0x5dd6e8),()=>{const _0x4e5d43=_0x376290();return null==_0x4e5d43?(_0x25dc0c(),_0xf01a47([0x56,0x61,0x6c,0x69,0x64])):_0xf01a47(_0x36f42d-_0x4e5d43>(0x79b61714^_0x1468b3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf01a47([0x74,0x68,0x65,0x6e])](_0x2f19c8)[_0xf01a47([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f19c8(_0xf01a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x166738=0x5d8c7d94^_0x1468b3;function _0x25dc0c(){const _0x338fef=_0xf01a47([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fe0d5(_0x58aa42(_0x3483f6)),_0x1ec032=_0x238bb7(_0x2fe0d5(window[_0xf01a47([0x4d,0x61,0x74,0x68])][_0xf01a47([0x63,0x65,0x69,0x6c])](_0x36f42d/_0x166738)));window[_0xf01a47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf01a47([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x338fef,_0x1ec032);}function _0x376290(){const _0x205f78=_0xf01a47([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fe0d5(_0x58aa42(_0x3483f6)),_0x681f2c=window[_0xf01a47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf01a47([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x205f78);return _0x681f2c?window[_0xf01a47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x238bb7(_0x681f2c),0x10)*_0x166738:null;}function _0x29c45b(_0x2e85e3){return new window[(_0xf01a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x720fab,_0x223e5c)=>{_0x2e85e3[_0xf01a47([0x74,0x68,0x65,0x6e])](_0x720fab,_0x223e5c),window[_0xf01a47([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x223e5c,0x5dbb47d4^_0x1468b3);});}}_0xabc41f[_0xf01a47([0x6f,0x6e])](_0xf01a47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x442489,_0x5c18e4)=>{if(_0x5c18e4[0x0]!=_0x3483f6)return _0x2f19c8(_0xf01a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c18e4[0x1]={..._0x5c18e4[0x1],[_0xf01a47([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ec4f7};},{[_0xf01a47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf01a47([0x68,0x69,0x67,0x68])}),_0xabc41f[_0xf01a47([0x6f,0x6e])](_0xf01a47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x520568=>{_0x1ddfdc(_0x520568[_0xf01a47([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf2fe6e=!0x0,_0x4ddcb6(_0x520568[_0xf01a47([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf01a47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf01a47([0x6c,0x6f,0x77])}),_0x15181d[_0xf01a47([0x74,0x68,0x65,0x6e])](()=>{_0xf2fe6e||_0x2f19c8(_0xf01a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x13cc2a(){return _0xabc41f[_0xf01a47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf01a47([0x76,0x69,0x65,0x77])][_0xf01a47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf01a47([0x61,0x75,0x74,0x6f]);}function _0x4492fc(){_0xabc41f[_0xf01a47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf01a47([0x76,0x69,0x65,0x77])][_0xf01a47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf01a47([0x61,0x75,0x74,0x6f]);}}function _0x55883a(_0x419256){const _0x50210=[new window[(_0xf01a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23fc03=>setTimeout(_0x23fc03,0x5db3add8^_0x1468b3)),_0x15181d[_0xf01a47([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf01a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dd344=>{let _0x5f0d4a=0x0;_0xabc41f[_0xf01a47([0x6d,0x6f,0x64,0x65,0x6c])][_0xf01a47([0x6f,0x6e])](_0xf01a47([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5161eb,_0x4ef26f)=>{_0x4ef26f[0x0][_0xf01a47([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5f0d4a++,_0x5f0d4a==(0x5dba96fc^_0x1468b3)&&(_0x5dd344(),_0x5161eb[_0xf01a47([0x6f,0x66,0x66])]());});}))];return window[_0xf01a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf01a47([0x72,0x61,0x63,0x65])](_0x50210)[_0xf01a47([0x74,0x68,0x65,0x6e])](()=>_0x419256);}async function _0x10aebc(){await _0x15181d,_0xabc41f[_0xf01a47([0x6d,0x6f,0x64,0x65,0x6c])][_0xf01a47([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4556ba,_0xabc41f[_0xf01a47([0x6d,0x6f,0x64,0x65,0x6c])][_0xf01a47([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4556ba,_0xabc41f[_0xf01a47([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf01a47([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x285734(_0x143ac2){const _0x484f81=_0x2157e0();_0xabc41f[_0x484f81]=_0xf01a47([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])+_0x143ac2,_0x143ac2!=_0xf01a47([0x56,0x61,0x6c,0x69,0x64])&&_0x10aebc();}function _0x2157e0(){const _0x1a21b2=window[_0xf01a47([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf01a47([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf01a47([0x6e,0x6f,0x77])]())[_0xf01a47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf01a47([0x2e]),'');let _0x2c35e2=_0xf01a47([0x4e]);for(let _0x5ab195=0x0;_0x5ab195<_0x1a21b2[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ab195+=0x2){let _0x1da2d5=window[_0xf01a47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a21b2[_0xf01a47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ab195,_0x5ab195+0x2));_0x1da2d5>=_0x2e5321[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1da2d5-=_0x2e5321[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c35e2+=_0x2e5321[_0x1da2d5];}return _0x2c35e2;}function _0x1a6aa6(){const _0x56fe7e=_0x28b215[_0xf01a47([0x73,0x70,0x6c,0x69,0x74])](_0xf01a47([0x2e]));if(0x3!=_0x56fe7e[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b7709(_0x56fe7e[0x1]);function _0x4b7709(_0x4716b8){const _0x280d38=_0x13bea3(_0x4716b8);return _0x280d38&&_0xdb4ff()?_0x280d38:null;function _0xdb4ff(){const _0x216aa5=_0x280d38[_0xf01a47([0x6a,0x74,0x69])],_0x2930c5=window[_0xf01a47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x216aa5[_0xf01a47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x216aa5[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x448030={..._0x280d38,[_0xf01a47([0x6a,0x74,0x69])]:_0x216aa5[_0xf01a47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x216aa5[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x448030[_0xf01a47([0x76,0x63])],_0x58aa42(_0x448030)==_0x2930c5;}}}async function _0x5c6170(){let _0x3418a7=!0x0;try{const _0x37905f=_0x28b215[_0xf01a47([0x73,0x70,0x6c,0x69,0x74])](_0xf01a47([0x2e])),[_0x4e94d9,_0x59dcac,_0x5d8b8c]=_0x37905f;return _0xc6a94(_0x4e94d9),await _0x905601(_0x4e94d9,_0x59dcac,_0x5d8b8c),_0x3418a7;}catch{return!0x1;}function _0xc6a94(_0x4a112d){const _0x3f625c=_0x13bea3(_0x4a112d);_0x3f625c&&_0x3f625c[_0xf01a47([0x61,0x6c,0x67])]==_0xf01a47([0x45,0x53,0x32,0x35,0x36])||(_0x3418a7=!0x1);}async function _0x905601(_0x4fed69,_0x1eabe3,_0x5b2890){const _0x440529=window[_0xf01a47([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf01a47([0x66,0x72,0x6f,0x6d])](_0x1e73a5(_0x5b2890),_0x48b310=>_0x48b310[_0xf01a47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48b44=new window[(_0xf01a47([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf01a47([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4fed69+_0xf01a47([0x2e])+_0x1eabe3),_0x4a2c7b=window[_0xf01a47([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf01a47([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a2c7b)return;const _0x511b4e=await _0x4a2c7b[_0xf01a47([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf01a47([0x6a,0x77,0x6b]),_0x585049,{[_0xf01a47([0x6e,0x61,0x6d,0x65])]:_0xf01a47([0x45,0x43,0x44,0x53,0x41]),[_0xf01a47([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf01a47([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf01a47([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a2c7b[_0xf01a47([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf01a47([0x6e,0x61,0x6d,0x65])]:_0xf01a47([0x45,0x43,0x44,0x53,0x41]),[_0xf01a47([0x68,0x61,0x73,0x68])]:{[_0xf01a47([0x6e,0x61,0x6d,0x65])]:_0xf01a47([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x511b4e,_0x440529,_0x48b44)||(_0x3418a7=!0x1);}}function _0x13bea3(_0x421593){return _0x421593[_0xf01a47([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf01a47([0x65,0x79]))?JSON[_0xf01a47([0x70,0x61,0x72,0x73,0x65])](_0x1e73a5(_0x421593)):null;}function _0x1e73a5(_0x1a879c){return window[_0xf01a47([0x61,0x74,0x6f,0x62])](_0x1a879c[_0xf01a47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf01a47([0x2b]))[_0xf01a47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf01a47([0x2f])));}function _0x58aa42(_0xdaaad8){let _0x1e8bb1=0x1505;function _0x5eb92c(_0x97bd33){for(let _0x26a078=0x0;_0x26a078<_0x97bd33[_0xf01a47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26a078++){const _0x288de3=_0x97bd33[_0xf01a47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26a078);_0x1e8bb1=(_0x1e8bb1<<0x5)+_0x1e8bb1+_0x288de3,_0x1e8bb1&=_0x1e8bb1;}}function _0x16baa7(_0x3b4676){Array[_0xf01a47([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b4676)?_0x3b4676[_0xf01a47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16baa7):_0x3b4676&&typeof _0x3b4676==_0xf01a47([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf01a47([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b4676)[_0xf01a47([0x73,0x6f,0x72,0x74])]()[_0xf01a47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf62e2f,_0x4cd7d6])=>{_0x5eb92c(_0xf62e2f),_0x16baa7(_0x4cd7d6);}):_0x5eb92c(window[_0xf01a47([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b4676));}return _0x16baa7(_0xdaaad8),_0x1e8bb1>>>0x0;}function _0x2fe0d5(_0xaff286){return _0xaff286[_0xf01a47([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf01a47([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf01a47([0x30]));}function _0x238bb7(_0x59c0b3){return _0x59c0b3[_0xf01a47([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf01a47([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf01a47([0x6a,0x6f,0x69,0x6e])]('');}function _0x4556ba(){}function _0xf01a47(_0x42bcbe){const _0x23ce53=_0x3d9d;return _0x42bcbe[_0x23ce53(0x196)](_0x20e495=>String[_0x23ce53(0x1a5)](_0x20e495))[_0x23ce53(0x1bd)]('');}_0x285734(await _0x4ff930());}(this);}[_0x41b9d7(0x1b4)](_0x363fd0,_0xdf1507,_0x131348=!0x1){const _0x3f22b7=_0x41b9d7,_0x525a71=new _0x363fd0(this[_0x3f22b7(0x194)][_0x3f22b7(0x1ac)]);return _0x525a71[_0x3f22b7(0x1c3)]({'withText':_0x131348,'isToggleable':!0x1}),_0x525a71[_0x3f22b7(0x1cc)](_0x3f22b7(0x19d))['to'](_0xdf1507,_0x3f22b7(0x19d)),this[_0x3f22b7(0x1e1)](_0x525a71,_0x3f22b7(0x1c2),()=>_0xdf1507[_0x3f22b7(0x1c2)]()),_0x525a71;}[_0x41b9d7(0x1be)](){const _0x4d1d9f=_0x41b9d7,_0x38d3d2=this[_0x4d1d9f(0x194)][_0x4d1d9f(0x1ac)];this[_0x4d1d9f(0x194)][_0x4d1d9f(0x19f)][_0x4d1d9f(0x1d5)]({'id':_0x4d1d9f(0x1a6),'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1c1))});const _0x3cb78c=_0x2562d7[_0x4d1d9f(0x1b3)]||_0x2562d7[_0x4d1d9f(0x1a8)];this[_0x4d1d9f(0x194)][_0x4d1d9f(0x19f)][_0x4d1d9f(0x1b5)]({'categoryId':_0x4d1d9f(0x1a6),'keystrokes':[{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1e0)),'keystroke':_0x4d1d9f(0x1c6)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x19b)),'keystroke':_0x4d1d9f(0x1dd)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1c9)),'keystroke':_0x4d1d9f(0x1db)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1ba)),'keystroke':_0x4d1d9f(0x1a7)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1d8)),'keystroke':_0x4d1d9f(0x1a9)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1d0)),'keystroke':_0x4d1d9f(0x1da)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1e6)),'keystroke':_0x3cb78c?_0x4d1d9f(0x1dc):_0x4d1d9f(0x1a4)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1c4)),'keystroke':_0x4d1d9f(0x1df)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1e3)),'keystroke':_0x4d1d9f(0x1b7)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1b2)),'keystroke':[[_0x4d1d9f(0x1bc)],[_0x4d1d9f(0x1ab)]]},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1bf)),'keystroke':_0x3cb78c?_0x4d1d9f(0x1e8):_0x4d1d9f(0x1e7)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1d7)),'keystroke':_0x3cb78c?_0x4d1d9f(0x1bb):_0x4d1d9f(0x19c)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1d1)),'keystroke':_0x4d1d9f(0x1de)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1e2)),'keystroke':_0x4d1d9f(0x1ca)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x195)),'keystroke':_0x4d1d9f(0x1cf)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1e4)),'keystroke':_0x4d1d9f(0x1a3)},{'label':_0x5cac14(_0x38d3d2,_0x4d1d9f(0x1cb)),'keystroke':_0x3cb78c?_0x4d1d9f(0x1c8):_0x4d1d9f(0x1ae)}]});}}