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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x9b328e,PendingActions as _0x312317,Plugin as _0x9a6f3d}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1bf6e8,formatHtml as _0xa6dc8,env as _0x4623dc,uid as _0x9d8519}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x3ec1c9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x582d84,ButtonView as _0x331b9b,MenuBarMenuListItemButtonView as _0x3431f5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3b8f0b,crosshairCursor as _0x418570,drawSelection as _0x191400,dropCursor as _0x1abac0,lineNumbers as _0x26f136,highlightActiveLine as _0x33d32c,highlightActiveLineGutter as _0x438a65,highlightSpecialChars as _0x23ac0d,rectangularSelection as _0x596ea4,keymap as _0x151cee}from'@codemirror/view';import{Compartment as _0x374ab8,Transaction as _0x29fcee}from'@codemirror/state';import{bracketMatching as _0x59183d,foldGutter as _0x52beaa,indentOnInput as _0x2b318b,syntaxHighlighting as _0xd633fd,defaultHighlightStyle as _0x3c4365,foldKeymap as _0x106f3a}from'@codemirror/language';import{toggleTabFocusMode as _0xfe43e5,history as _0x539bb5,defaultKeymap as _0x380b76,historyKeymap as _0x455bd3,indentLess as _0x5655d5,indentMore as _0x40d523,redo as _0x3957c5,undo as _0x151787}from'@codemirror/commands';import{autocompletion as _0x4daf11,closeBrackets as _0xd87447,closeBracketsKeymap as _0x34cdde,completionKeymap as _0x32df4e}from'@codemirror/autocomplete';import{html as _0x163f4d}from'@codemirror/lang-html';import{markdown as _0x5e6e93}from'@codemirror/lang-markdown';import{oneDark as _0x251173}from'@codemirror/theme-one-dark';function w(_0x572075,_0x3daf16){const t=_0x572075['t'];switch(_0x3daf16){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 _0x3daf16;}}function r(_0xc873c6){const _0x4696c9=_0xc873c6['editing']['view']['document']['roots'],_0x1526e4=_0x4696c9['length'];if(0x0===_0x1526e4)throw new _0x1bf6e8('source-editing-enhanced-editor-no-root',_0xc873c6);if(0x1===_0x1526e4)return _0x4696c9['first']['rootName'];return Array['from'](_0xc873c6['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x34fac0){return tr(_0x34fac0['replace'](/^[\n\s]*/g,''))?_0x34fac0['replace'](/\s+/g,''):_0x34fac0;}function tr(_0x343234){return _0x343234['startsWith']('<');}function p(_0x2e4c52){const _0x3c7561=[_0x3b8f0b['lineWrapping'],_0x4daf11(),_0x59183d(),_0xd87447(),_0x418570(),_0x191400(),_0x1abac0(),_0x26f136(),_0x52beaa(),_0x33d32c(),_0x438a65(),_0x23ac0d(),_0x539bb5(),_0x2b318b(),_0x596ea4(),_0xd633fd(_0x3c4365,{'fallback':!0x0})],_0x5724bc=new _0x374ab8();_0x3c7561['push'](_0x5724bc['of'](_0x3b8f0b['editable']['of'](!0x0))),'html'===_0x2e4c52['syntaxLanguage']?_0x3c7561['push'](_0x163f4d()):_0x3c7561['push'](_0x5e6e93());const _0x2a2f95=function(_0x309863){if(_0x309863&&'default'!==_0x309863)return'dark'===_0x309863?_0x251173:_0x309863;return null;}(_0x2e4c52['theme']);_0x2a2f95&&_0x3c7561['push'](_0x2a2f95),_0x3c7561['push'](_0x151cee['of']([..._0x34cdde,..._0x380b76,..._0x455bd3,..._0x106f3a,..._0x32df4e,{'key':'Tab','run':_0x40d523,'shift':_0x5655d5,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3957c5,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3957c5,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x151787,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x263dbf=new _0x3b8f0b({'extensions':_0x3c7561,'parent':_0x2e4c52['parent']});return _0xfe43e5(_0x263dbf),{'focus':()=>{_0x263dbf['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x263dbf['focus']();},'getData':()=>_0x263dbf['state']['doc']['toString'](),'setData':_0x542683=>{_0x263dbf['dispatch']({'changes':{'from':0x0,'to':_0x263dbf['state']['doc']['length'],'insert':_0x542683},'annotations':_0x29fcee['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5cf879=>{_0x263dbf['dispatch']({'effects':[_0x5724bc['reconfigure'](_0x3b8f0b['editable']['of'](!_0x5cf879))]});},'destroy':()=>{_0x263dbf['destroy']();},'instance':_0x263dbf};}class E extends _0x582d84{['_codeEditorApi']=null;['_options'];constructor(_0x2ec27c,_0xae6903){super(_0x2ec27c),this['_options']=_0xae6903,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x3f7826,_0x65a50d,_0x16a8b4)=>{this['setReadOnly'](_0x16a8b4);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x327c11){this['_codeEditorApi']['setData'](_0x327c11);}['setReadOnly'](_0xb6ef2d){this['_codeEditorApi']['setReadOnly'](_0xb6ef2d);}}const b='SourceEditingEnhancedMode';class d extends _0x9b328e{constructor(_0x4eec01){super(_0x4eec01),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x312317)['on']('change:hasAny',(_0x49fad4,_0x33ac90,_0x3ab06f)=>{_0x3ab06f?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x48c685=this['editor'];for(const _0x475313 of _0x48c685['commands']['names']())['replaceSource','editSource']['includes'](_0x475313)||_0x48c685['commands']['get'](_0x475313)['forceDisabled'](b);}['_enableCommands'](){const _0x513903=this['editor'];for(const _0x3fb848 of _0x513903['commands']['commands']())_0x3fb848['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x5918f5=this['editor'],_0x42317f=_0x5918f5['locale'],_0x29d1d0=_0x5918f5['plugins']['get']('Dialog'),_0x487d6e=r(_0x5918f5),_0x266e3e=_0x5918f5['data']['get']({'rootName':_0x487d6e}),_0xb1151f=tr(_0x53bfce=_0x266e3e)?_0xa6dc8(_0x53bfce):_0x53bfce;var _0x53bfce;const _0x369089=new E(_0x42317f,{'syntaxLanguage':_0x5918f5['plugins']['has']('Markdown')?'markdown':'html','theme':_0x5918f5['config']['get']('sourceEditingEnhanced.theme')});let _0x3dece8=!0x0;const _0x3deb30=_0x4eebd4=>{if(!_0x3dece8)return;return g(_0x369089['getData']())!==g(_0xb1151f)?window['confirm'](w(_0x42317f,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x4eebd4['stop']():void 0x0;};_0x29d1d0['show']({'id':'sourceEditingEnhanced','title':w(_0x42317f,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x369089,'actionButtons':[{'label':w(_0x42317f,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x29d1d0['hide']();}},{'label':w(_0x42317f,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3e1006=g(_0x369089['getData']())!==g(_0xb1151f);(_0x3e1006&&_0x5918f5['execute']('replaceSource',_0x369089['getData']()),_0x3dece8=!0x1,_0x29d1d0['hide'](),_0x3e1006&&'editables'in _0x5918f5['ui']['view'])&&_0x5918f5['ui']['view']['editables'][_0x487d6e]['element']['focus']();},'onCreate':_0x2ceccb=>{_0x2ceccb['set']('isEnabled',!_0x5918f5['isReadOnly']),_0x2ceccb['bind']('isEnabled')['to'](_0x5918f5,'isReadOnly',this,'isEnabled',(_0x557e83,_0x218ca5)=>!_0x557e83&&_0x218ca5);}}],'onHide':()=>{this['_enableCommands'](),_0x29d1d0['off']('hide',_0x3deb30),_0x369089['destroy']();},'onShow':()=>{_0x369089['bind']('isReadOnly')['to'](_0x5918f5,'isReadOnly',this,'isEnabled',(_0x37532d,_0x55a63b)=>_0x37532d||!_0x55a63b),_0x369089['setData'](_0xb1151f),_0x369089['focus'](),_0x29d1d0['on']('hide',_0x3deb30,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x9a6f3d{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x312317];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5cc888=this['editor'],_0x12d91e=_0x5cc888['locale'],_0x49eca7=new d(_0x5cc888);_0x5cc888['commands']['add']('editSource',_0x49eca7),_0x5cc888['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x537710=this['_createButton'](_0x331b9b,_0x49eca7);return _0x537710['set']({'label':w(_0x12d91e,'Source'),'icon':_0x3ec1c9,'tooltip':w(_0x12d91e,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x537710;}),_0x5cc888['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2c0f60=this['_createButton'](_0x3431f5,_0x49eca7,!0x0);return _0x2c0f60['set']({'label':w(_0x12d91e,'Edit\x20source\x20modal\x20label'),'icon':_0x3ec1c9,'role':'menuitemcheckbox'}),_0x2c0f60;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1c52e9){const _0x3201ea=_0x18c77e([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]),_0x5b1303=0x5dba9314,_0x3df8f0=0x5dbded94^_0x5b1303,_0x4c9a06=window[_0x18c77e([0x44,0x61,0x74,0x65])][_0x18c77e([0x6e,0x6f,0x77])](),_0x385e17=_0x1c52e9[_0x18c77e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe565=new window[(_0x18c77e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4441a5=>{_0x385e17[_0x18c77e([0x6f,0x6e,0x63,0x65])](_0x18c77e([0x72,0x65,0x61,0x64,0x79]),_0x4441a5);}),_0x22a1a8={[_0x18c77e([0x6b,0x74,0x79])]:_0x18c77e([0x45,0x43]),[_0x18c77e([0x75,0x73,0x65])]:_0x18c77e([0x73,0x69,0x67]),[_0x18c77e([0x63,0x72,0x76])]:_0x18c77e([0x50,0x2d,0x32,0x35,0x36]),[_0x18c77e([0x78])]:_0x18c77e([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]),[_0x18c77e([0x79])]:_0x18c77e([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]),[_0x18c77e([0x61,0x6c,0x67])]:_0x18c77e([0x45,0x53,0x32,0x35,0x36])},_0x2d3ced=_0x385e17[_0x18c77e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18c77e([0x67,0x65,0x74])](_0x18c77e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11ee13(){let _0x3ca959,_0x3ffc73=null,_0x487194=null;try{if(_0x2d3ced==_0x18c77e([0x47,0x50,0x4c]))return _0x18c77e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ca959=_0x290271(),!_0x3ca959)return _0x18c77e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ca959[_0x18c77e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x487194=_0x5d2ba4(_0x3ca959[_0x18c77e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ca959[_0x18c77e([0x6a,0x74,0x69])])),await _0x1f9fac()?_0x349c5d()?_0x587656()?_0x18c77e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c3a22()?(_0x3ca959[_0x18c77e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18c77e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ffc73=_0x41d306(_0x18c77e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2bae3a()):_0x18c77e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18c77e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18c77e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18c77e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x587656(){const _0x3c9f43=[_0x18c77e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18c77e([0x74,0x72,0x69,0x61,0x6c])][_0x18c77e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ca959[_0x18c77e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4c9a06/0x3e8:0xe10*_0x3df8f0;return _0x3ca959[_0x18c77e([0x65,0x78,0x70])]<_0x3c9f43;}function _0x349c5d(){const _0x285017=_0x3ca959[_0x18c77e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x285017&&(!!_0x285017[_0x18c77e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18c77e([0x2a]))||!!_0x285017[_0x18c77e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18c77e([0x53,0x45,0x45])));}function _0x5c3a22(){const _0x329099=_0x3ca959[_0x18c77e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x329099||0x0==_0x329099[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b4da7}=new URL(window[_0x18c77e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x329099[_0x18c77e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4da7))return!0x0;const _0x3fea2c=_0x1b4da7[_0x18c77e([0x73,0x70,0x6c,0x69,0x74])](_0x18c77e([0x2e]));return _0x329099[_0x18c77e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14fb36=>_0x14fb36[_0x18c77e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18c77e([0x2a])))[_0x18c77e([0x6d,0x61,0x70])](_0x540d90=>_0x540d90[_0x18c77e([0x73,0x70,0x6c,0x69,0x74])](_0x18c77e([0x2e])))[_0x18c77e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1907dc=>_0x1907dc[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3fea2c[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18c77e([0x6d,0x61,0x70])](_0x459742=>Array(_0x3fea2c[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x459742[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18c77e([0x66,0x69,0x6c,0x6c])](_0x459742[0x0]===_0x18c77e([0x2a])?_0x18c77e([0x2a]):'')[_0x18c77e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x459742))[_0x18c77e([0x73,0x6f,0x6d,0x65])](_0x28bed9=>_0x3fea2c[_0x18c77e([0x65,0x76,0x65,0x72,0x79])]((_0x33e3d6,_0x3aa540)=>_0x28bed9[_0x3aa540]===_0x33e3d6||_0x28bed9[_0x3aa540]===_0x18c77e([0x2a])));}function _0x2bae3a(){return _0x3ffc73&&_0x487194?new window[(_0x18c77e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x177ca2,_0x284d5b)=>{_0x3ffc73[_0x18c77e([0x74,0x68,0x65,0x6e])](_0x177ca2,_0x284d5b),_0x487194[_0x18c77e([0x74,0x68,0x65,0x6e])](_0x23e9be=>{_0x23e9be!=_0x18c77e([0x56,0x61,0x6c,0x69,0x64])&&_0x177ca2(_0x23e9be);},_0x284d5b);}):_0x3ffc73||_0x487194||_0x18c77e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d2ba4(_0x452511,_0x3a91d6){return new window[(_0x18c77e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ec63=>{if(_0x51e50f())return _0x19ec63(_0x18c77e([0x56,0x61,0x6c,0x69,0x64]));_0x406ac0(),_0x385e17[_0x18c77e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18c77e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b8301=!0x1;const _0x1de5dc=_0x9d8519();function _0x112764(_0x36953d){return!!_0x36953d&&(typeof _0x36953d===_0x18c77e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36953d===_0x18c77e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36953d[_0x18c77e([0x74,0x68,0x65,0x6e])]===_0x18c77e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36953d[_0x18c77e([0x63,0x61,0x74,0x63,0x68])]===_0x18c77e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5e8c11(_0x51cb4c){_0x27e147(_0x51cb4c)[_0x18c77e([0x74,0x68,0x65,0x6e])](_0x52fc18=>{if(!_0x52fc18||_0x52fc18[_0x18c77e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18c77e([0x6f,0x6b]))return _0x18c77e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51645f(_0x343756(_0x1de5dc+_0x3a91d6))!=_0x52fc18[_0x18c77e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18c77e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18c77e([0x56,0x61,0x6c,0x69,0x64]);})[_0x18c77e([0x74,0x68,0x65,0x6e])](_0x87be9=>(_0x4e5c7e(),_0x87be9),()=>{const _0x4a973b=_0x15c904();return null==_0x4a973b?(_0x4e5c7e(),_0x18c77e([0x56,0x61,0x6c,0x69,0x64])):_0x18c77e(_0x4c9a06-_0x4a973b>(0x79b61714^_0x5b1303)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18c77e([0x74,0x68,0x65,0x6e])](_0x19ec63)[_0x18c77e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19ec63(_0x18c77e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39647f=0x5d8c7d94^_0x5b1303;function _0x4e5c7e(){const _0x128d08=_0x18c77e([0x6c,0x6c,0x63,0x74,0x2d])+_0x51645f(_0x343756(_0x452511)),_0x3c8535=_0x55a23f(_0x51645f(window[_0x18c77e([0x4d,0x61,0x74,0x68])][_0x18c77e([0x63,0x65,0x69,0x6c])](_0x4c9a06/_0x39647f)));window[_0x18c77e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18c77e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x128d08,_0x3c8535);}function _0x15c904(){const _0x1353f6=_0x18c77e([0x6c,0x6c,0x63,0x74,0x2d])+_0x51645f(_0x343756(_0x452511)),_0x158fdc=window[_0x18c77e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18c77e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1353f6);return _0x158fdc?window[_0x18c77e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55a23f(_0x158fdc),0x10)*_0x39647f:null;}function _0x27e147(_0x4cfd0a){return new window[(_0x18c77e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44f3cc,_0x16a9c7)=>{_0x4cfd0a[_0x18c77e([0x74,0x68,0x65,0x6e])](_0x44f3cc,_0x16a9c7),window[_0x18c77e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16a9c7,0x5dbb47d4^_0x5b1303);});}}_0x385e17[_0x18c77e([0x6f,0x6e])](_0x18c77e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27c596,_0xb64ea8)=>{if(_0xb64ea8[0x0]!=_0x452511)return _0x19ec63(_0x18c77e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb64ea8[0x1]={..._0xb64ea8[0x1],[_0x18c77e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1de5dc};},{[_0x18c77e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18c77e([0x68,0x69,0x67,0x68])}),_0x385e17[_0x18c77e([0x6f,0x6e])](_0x18c77e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x378202=>{_0x112764(_0x378202[_0x18c77e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b8301=!0x0,_0x5e8c11(_0x378202[_0x18c77e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18c77e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18c77e([0x6c,0x6f,0x77])}),_0xe565[_0x18c77e([0x74,0x68,0x65,0x6e])](()=>{_0x2b8301||_0x19ec63(_0x18c77e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51e50f(){return _0x385e17[_0x18c77e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18c77e([0x76,0x69,0x65,0x77])][_0x18c77e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18c77e([0x61,0x75,0x74,0x6f]);}function _0x406ac0(){_0x385e17[_0x18c77e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18c77e([0x76,0x69,0x65,0x77])][_0x18c77e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18c77e([0x61,0x75,0x74,0x6f]);}}function _0x41d306(_0x57ba96){const _0x514e4=[new window[(_0x18c77e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aac4e=>setTimeout(_0x2aac4e,0x5db3add8^_0x5b1303)),_0xe565[_0x18c77e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18c77e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x663d79=>{let _0x1f04ea=0x0;_0x385e17[_0x18c77e([0x6d,0x6f,0x64,0x65,0x6c])][_0x18c77e([0x6f,0x6e])](_0x18c77e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22169d,_0x2360d7)=>{_0x2360d7[0x0][_0x18c77e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f04ea++,_0x1f04ea==(0x5dba96fc^_0x5b1303)&&(_0x663d79(),_0x22169d[_0x18c77e([0x6f,0x66,0x66])]());});}))];return window[_0x18c77e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18c77e([0x72,0x61,0x63,0x65])](_0x514e4)[_0x18c77e([0x74,0x68,0x65,0x6e])](()=>_0x57ba96);}async function _0x4e3b00(){await _0xe565,_0x385e17[_0x18c77e([0x6d,0x6f,0x64,0x65,0x6c])][_0x18c77e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x589944,_0x385e17[_0x18c77e([0x6d,0x6f,0x64,0x65,0x6c])][_0x18c77e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x589944,_0x385e17[_0x18c77e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18c77e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28ce9e(_0x59e88b){const _0x567ef4=_0x4c517b();_0x385e17[_0x567ef4]=_0x18c77e([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])+_0x59e88b,_0x59e88b!=_0x18c77e([0x56,0x61,0x6c,0x69,0x64])&&_0x4e3b00();}function _0x4c517b(){const _0x30ac47=window[_0x18c77e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18c77e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18c77e([0x6e,0x6f,0x77])]())[_0x18c77e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18c77e([0x2e]),'');let _0x5f5107=_0x18c77e([0x4e]);for(let _0x5cec4e=0x0;_0x5cec4e<_0x30ac47[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cec4e+=0x2){let _0x375d22=window[_0x18c77e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30ac47[_0x18c77e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cec4e,_0x5cec4e+0x2));_0x375d22>=_0x3201ea[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x375d22-=_0x3201ea[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f5107+=_0x3201ea[_0x375d22];}return _0x5f5107;}function _0x290271(){const _0x3df078=_0x2d3ced[_0x18c77e([0x73,0x70,0x6c,0x69,0x74])](_0x18c77e([0x2e]));if(0x3!=_0x3df078[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x548c3b(_0x3df078[0x1]);function _0x548c3b(_0x33467e){const _0x2e9f77=_0x1141c8(_0x33467e);return _0x2e9f77&&_0x53c009()?_0x2e9f77:null;function _0x53c009(){const _0x1c0d7d=_0x2e9f77[_0x18c77e([0x6a,0x74,0x69])],_0x5ad4a1=window[_0x18c77e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c0d7d[_0x18c77e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c0d7d[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1212df={..._0x2e9f77,[_0x18c77e([0x6a,0x74,0x69])]:_0x1c0d7d[_0x18c77e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c0d7d[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1212df[_0x18c77e([0x76,0x63])],_0x343756(_0x1212df)==_0x5ad4a1;}}}async function _0x1f9fac(){let _0xb5950f=!0x0;try{const _0x582f32=_0x2d3ced[_0x18c77e([0x73,0x70,0x6c,0x69,0x74])](_0x18c77e([0x2e])),[_0x5393f9,_0x2f66dc,_0x477608]=_0x582f32;return _0x2d5e86(_0x5393f9),await _0xcd59e7(_0x5393f9,_0x2f66dc,_0x477608),_0xb5950f;}catch{return!0x1;}function _0x2d5e86(_0x2ece19){const _0x5ad249=_0x1141c8(_0x2ece19);_0x5ad249&&_0x5ad249[_0x18c77e([0x61,0x6c,0x67])]==_0x18c77e([0x45,0x53,0x32,0x35,0x36])||(_0xb5950f=!0x1);}async function _0xcd59e7(_0x58ddec,_0x4fd4e0,_0x45765a){const _0x3bf1b1=window[_0x18c77e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18c77e([0x66,0x72,0x6f,0x6d])](_0x5ce2db(_0x45765a),_0x1b4caa=>_0x1b4caa[_0x18c77e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1197bc=new window[(_0x18c77e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18c77e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58ddec+_0x18c77e([0x2e])+_0x4fd4e0),_0xea723c=window[_0x18c77e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18c77e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xea723c)return;const _0x5d9218=await _0xea723c[_0x18c77e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18c77e([0x6a,0x77,0x6b]),_0x22a1a8,{[_0x18c77e([0x6e,0x61,0x6d,0x65])]:_0x18c77e([0x45,0x43,0x44,0x53,0x41]),[_0x18c77e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18c77e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18c77e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xea723c[_0x18c77e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18c77e([0x6e,0x61,0x6d,0x65])]:_0x18c77e([0x45,0x43,0x44,0x53,0x41]),[_0x18c77e([0x68,0x61,0x73,0x68])]:{[_0x18c77e([0x6e,0x61,0x6d,0x65])]:_0x18c77e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d9218,_0x3bf1b1,_0x1197bc)||(_0xb5950f=!0x1);}}function _0x1141c8(_0x561f32){return _0x561f32[_0x18c77e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18c77e([0x65,0x79]))?JSON[_0x18c77e([0x70,0x61,0x72,0x73,0x65])](_0x5ce2db(_0x561f32)):null;}function _0x5ce2db(_0x490a75){return window[_0x18c77e([0x61,0x74,0x6f,0x62])](_0x490a75[_0x18c77e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18c77e([0x2b]))[_0x18c77e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18c77e([0x2f])));}function _0x343756(_0x5a4762){let _0x1c2f87=0x1505;function _0xd83a70(_0xa56e63){for(let _0x26b677=0x0;_0x26b677<_0xa56e63[_0x18c77e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26b677++){const _0x23632d=_0xa56e63[_0x18c77e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26b677);_0x1c2f87=(_0x1c2f87<<0x5)+_0x1c2f87+_0x23632d,_0x1c2f87&=_0x1c2f87;}}function _0x36730e(_0x5bc1b0){Array[_0x18c77e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bc1b0)?_0x5bc1b0[_0x18c77e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36730e):_0x5bc1b0&&typeof _0x5bc1b0==_0x18c77e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18c77e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bc1b0)[_0x18c77e([0x73,0x6f,0x72,0x74])]()[_0x18c77e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x483d35,_0x37192c])=>{_0xd83a70(_0x483d35),_0x36730e(_0x37192c);}):_0xd83a70(window[_0x18c77e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bc1b0));}return _0x36730e(_0x5a4762),_0x1c2f87>>>0x0;}function _0x51645f(_0x408434){return _0x408434[_0x18c77e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18c77e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18c77e([0x30]));}function _0x55a23f(_0xe0273a){return _0xe0273a[_0x18c77e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18c77e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18c77e([0x6a,0x6f,0x69,0x6e])]('');}function _0x589944(){}function _0x18c77e(_0xd3c0f1){return _0xd3c0f1['map'](_0x551c2d=>String['fromCharCode'](_0x551c2d))['join']('');}_0x28ce9e(await _0x11ee13());}(this);}['_createButton'](_0x214e93,_0x3e39ce,_0x2d55e0=!0x1){const _0x2007d2=new _0x214e93(this['editor']['locale']);return _0x2007d2['set']({'withText':_0x2d55e0,'isToggleable':!0x1}),_0x2007d2['bind']('isEnabled')['to'](_0x3e39ce,'isEnabled'),this['listenTo'](_0x2007d2,'execute',()=>_0x3e39ce['execute']()),_0x2007d2;}['_registerKeybindings'](){const _0x338ecb=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x338ecb,'Source\x20Editing\x20Enhanced')});const _0x5f365b=_0x4623dc['isMac']||_0x4623dc['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x338ecb,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x338ecb,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x338ecb,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x338ecb,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x338ecb,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x338ecb,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x338ecb,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x5f365b?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x338ecb,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x338ecb,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x338ecb,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x338ecb,'Select\x20line'),'keystroke':_0x5f365b?'Ctrl!+L':'Alt+L'},{'label':w(_0x338ecb,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x5f365b?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x338ecb,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x338ecb,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x338ecb,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x338ecb,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x338ecb,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x5f365b?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x9b328e{constructor(_0x5a8740){super(_0x5a8740),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x39e99a,_0x4f87ee){const _0x5ed465=this['editor'],_0x3800eb=_0x4f87ee?.['rootName']??r(_0x5ed465);_0x5ed465['data']['set']({[_0x3800eb]:_0x39e99a},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x9a6f3d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x2259f0){super(_0x2259f0),_0x2259f0['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 _0x251895=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x38586a;for(const _0x44e73a in _0x251895){const _0x1eefd=_0x44e73a,_0x17e3f2=_0x251895[_0x1eefd];if('sourceEditingEnhancedLicenseKeyValid'==_0x17e3f2||'sourceEditingEnhancedLicenseKeyInvalid'==_0x17e3f2||'sourceEditingEnhancedLicenseKeyExpired'==_0x17e3f2||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x17e3f2||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x17e3f2||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x17e3f2||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x17e3f2){delete _0x251895[_0x1eefd],_0x38586a=_0x17e3f2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x38586a&&_0x251895['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x38586a&&_0x251895['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x38586a&&_0x251895['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x38586a&&_0x251895['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x38586a&&_0x251895['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x38586a&&_0x251895['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x407804=this['editor'],_0x230644=_0x407804['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x230644&&_0x407804['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x1bf6e8('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x230644&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2fe32c=>_0x407804['plugins']['has'](_0x2fe32c))&&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.'),_0x407804['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
23
+ import{Command as _0xdccb42,PendingActions as _0x4d26cf,Plugin as _0x1d650f}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x229333,formatHtml as _0x1dc64d,env as _0x2a65b8,uid as _0x3b13a2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1b3db8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2cf391,ButtonView as _0x4f49a2,MenuBarMenuListItemButtonView as _0x45f506}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x298259,crosshairCursor as _0x1d19ab,drawSelection as _0x1c3790,dropCursor as _0x3d9d5a,lineNumbers as _0x38fe76,highlightActiveLine as _0x1a55fc,highlightActiveLineGutter as _0x11aec4,highlightSpecialChars as _0x43094b,rectangularSelection as _0x3185eb,keymap as _0x469b0c}from'@codemirror/view';import{Compartment as _0x505a2c,Transaction as _0x24b5cc}from'@codemirror/state';import{bracketMatching as _0x335229,foldGutter as _0x1b64ab,indentOnInput as _0x3030d8,syntaxHighlighting as _0x152671,defaultHighlightStyle as _0x5c8c61,foldKeymap as _0x15bc53}from'@codemirror/language';import{toggleTabFocusMode as _0x46e8eb,history as _0x4e6a11,defaultKeymap as _0x1a5481,historyKeymap as _0x3d50fb,indentLess as _0xd54f4b,indentMore as _0xb4bedc,redo as _0xe0a494,undo as _0x4b8a7b}from'@codemirror/commands';import{autocompletion as _0x366e4c,closeBrackets as _0x144902,closeBracketsKeymap as _0x5855ed,completionKeymap as _0x2735f8}from'@codemirror/autocomplete';import{html as _0x539368}from'@codemirror/lang-html';import{markdown as _0x8b52e8}from'@codemirror/lang-markdown';import{oneDark as _0x26dfcb}from'@codemirror/theme-one-dark';function w(_0x5dfff1,_0x2c9656){const t=_0x5dfff1['t'];switch(_0x2c9656){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 _0x2c9656;}}function r(_0x29d8d5){const _0x36ce09=_0x29d8d5['editing']['view']['document']['roots'],_0x34be3f=_0x36ce09['length'];if(0x0===_0x34be3f)throw new _0x229333('source-editing-enhanced-editor-no-root',_0x29d8d5);if(0x1===_0x34be3f)return _0x36ce09['first']['rootName'];return Array['from'](_0x29d8d5['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x4baaea){return tr(_0x4baaea['replace'](/^[\n\s]*/g,''))?_0x4baaea['replace'](/\s+/g,''):_0x4baaea;}function tr(_0x142370){return _0x142370['startsWith']('<');}function p(_0x4b7a2f){const _0x5936cf=[_0x298259['lineWrapping'],_0x366e4c(),_0x335229(),_0x144902(),_0x1d19ab(),_0x1c3790(),_0x3d9d5a(),_0x38fe76(),_0x1b64ab(),_0x1a55fc(),_0x11aec4(),_0x43094b(),_0x4e6a11(),_0x3030d8(),_0x3185eb(),_0x152671(_0x5c8c61,{'fallback':!0x0})],_0x514cf9=new _0x505a2c();_0x5936cf['push'](_0x514cf9['of'](_0x298259['editable']['of'](!0x0))),'html'===_0x4b7a2f['syntaxLanguage']?_0x5936cf['push'](_0x539368()):_0x5936cf['push'](_0x8b52e8());const _0x72a425=function(_0x386cc7){if(_0x386cc7&&'default'!==_0x386cc7)return'dark'===_0x386cc7?_0x26dfcb:_0x386cc7;return null;}(_0x4b7a2f['theme']);_0x72a425&&_0x5936cf['push'](_0x72a425),_0x5936cf['push'](_0x469b0c['of']([..._0x5855ed,..._0x1a5481,..._0x3d50fb,..._0x15bc53,..._0x2735f8,{'key':'Tab','run':_0xb4bedc,'shift':_0xd54f4b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xe0a494,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xe0a494,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4b8a7b,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x3a69d8=new _0x298259({'extensions':_0x5936cf,'parent':_0x4b7a2f['parent']});return _0x46e8eb(_0x3a69d8),{'focus':()=>{_0x3a69d8['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x3a69d8['focus']();},'getData':()=>_0x3a69d8['state']['doc']['toString'](),'setData':_0x9b6af0=>{_0x3a69d8['dispatch']({'changes':{'from':0x0,'to':_0x3a69d8['state']['doc']['length'],'insert':_0x9b6af0},'annotations':_0x24b5cc['addToHistory']['of'](!0x1)});},'setReadOnly':_0x416880=>{_0x3a69d8['dispatch']({'effects':[_0x514cf9['reconfigure'](_0x298259['editable']['of'](!_0x416880))]});},'destroy':()=>{_0x3a69d8['destroy']();},'instance':_0x3a69d8};}class E extends _0x2cf391{['_codeEditorApi']=null;['_options'];constructor(_0x564f7c,_0x53fa4e){super(_0x564f7c),this['_options']=_0x53fa4e,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x335ecf,_0x56f968,_0x1dfa08)=>{this['setReadOnly'](_0x1dfa08);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x39fdc7){this['_codeEditorApi']['setData'](_0x39fdc7);}['setReadOnly'](_0x213904){this['_codeEditorApi']['setReadOnly'](_0x213904);}}const b='SourceEditingEnhancedMode';class d extends _0xdccb42{constructor(_0x40bec1){super(_0x40bec1),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x4d26cf)['on']('change:hasAny',(_0x377fdd,_0x5e0ce4,_0x5d8d34)=>{_0x5d8d34?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x58d291=this['editor'];for(const _0x2d3770 of _0x58d291['commands']['names']())['replaceSource','editSource']['includes'](_0x2d3770)||_0x58d291['commands']['get'](_0x2d3770)['forceDisabled'](b);}['_enableCommands'](){const _0x459d31=this['editor'];for(const _0x2b640f of _0x459d31['commands']['commands']())_0x2b640f['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x581fb6=this['editor'],_0x355b28=_0x581fb6['locale'],_0x8719b4=_0x581fb6['plugins']['get']('Dialog'),_0x5e58f3=r(_0x581fb6),_0x202e52=_0x581fb6['data']['get']({'rootName':_0x5e58f3}),_0x1d5b7d=tr(_0x41fda0=_0x202e52)?_0x1dc64d(_0x41fda0):_0x41fda0;var _0x41fda0;const _0xd41572=new E(_0x355b28,{'syntaxLanguage':_0x581fb6['plugins']['has']('Markdown')?'markdown':'html','theme':_0x581fb6['config']['get']('sourceEditingEnhanced.theme')});let _0x3fd669=!0x0;const _0x1d2a91=_0x1137bd=>{if(!_0x3fd669)return;return g(_0xd41572['getData']())!==g(_0x1d5b7d)?window['confirm'](w(_0x355b28,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1137bd['stop']():void 0x0;};_0x8719b4['show']({'id':'sourceEditingEnhanced','title':w(_0x355b28,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xd41572,'actionButtons':[{'label':w(_0x355b28,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x8719b4['hide']();}},{'label':w(_0x355b28,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x2f29ff=g(_0xd41572['getData']())!==g(_0x1d5b7d);(_0x2f29ff&&_0x581fb6['execute']('replaceSource',_0xd41572['getData']()),_0x3fd669=!0x1,_0x8719b4['hide'](),_0x2f29ff&&'editables'in _0x581fb6['ui']['view'])&&_0x581fb6['ui']['view']['editables'][_0x5e58f3]['element']['focus']();},'onCreate':_0x2c8649=>{_0x2c8649['set']('isEnabled',!_0x581fb6['isReadOnly']),_0x2c8649['bind']('isEnabled')['to'](_0x581fb6,'isReadOnly',this,'isEnabled',(_0x2f34cb,_0x2eef8b)=>!_0x2f34cb&&_0x2eef8b);}}],'onHide':()=>{this['_enableCommands'](),_0x8719b4['off']('hide',_0x1d2a91),_0xd41572['destroy']();},'onShow':()=>{_0xd41572['bind']('isReadOnly')['to'](_0x581fb6,'isReadOnly',this,'isEnabled',(_0x3f3bfe,_0x1c095e)=>_0x3f3bfe||!_0x1c095e),_0xd41572['setData'](_0x1d5b7d),_0xd41572['focus'](),_0x8719b4['on']('hide',_0x1d2a91,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x1d650f{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x4d26cf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2fddc9=this['editor'],_0x217234=_0x2fddc9['locale'],_0x741d3d=new d(_0x2fddc9);_0x2fddc9['commands']['add']('editSource',_0x741d3d),_0x2fddc9['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x43155d=this['_createButton'](_0x4f49a2,_0x741d3d);return _0x43155d['set']({'label':w(_0x217234,'Source'),'icon':_0x1b3db8,'tooltip':w(_0x217234,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x43155d;}),_0x2fddc9['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x148822=this['_createButton'](_0x45f506,_0x741d3d,!0x0);return _0x148822['set']({'label':w(_0x217234,'Edit\x20source\x20modal\x20label'),'icon':_0x1b3db8,'role':'menuitemcheckbox'}),_0x148822;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x3d4dcd){const _0x562528=_0x48be49([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]),_0x5a2c7b=0x5dba9314,_0x5baf4e=0x5dbded8c^_0x5a2c7b,_0x369598=window[_0x48be49([0x44,0x61,0x74,0x65])][_0x48be49([0x6e,0x6f,0x77])](),_0x5bfe16=_0x3d4dcd[_0x48be49([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19ff22=new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26a9be=>{_0x5bfe16[_0x48be49([0x6f,0x6e,0x63,0x65])](_0x48be49([0x72,0x65,0x61,0x64,0x79]),_0x26a9be);}),_0xcdf877={[_0x48be49([0x6b,0x74,0x79])]:_0x48be49([0x45,0x43]),[_0x48be49([0x75,0x73,0x65])]:_0x48be49([0x73,0x69,0x67]),[_0x48be49([0x63,0x72,0x76])]:_0x48be49([0x50,0x2d,0x32,0x35,0x36]),[_0x48be49([0x78])]:_0x48be49([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]),[_0x48be49([0x79])]:_0x48be49([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]),[_0x48be49([0x61,0x6c,0x67])]:_0x48be49([0x45,0x53,0x32,0x35,0x36])},_0x385cc9=_0x5bfe16[_0x48be49([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x48be49([0x67,0x65,0x74])](_0x48be49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5db132(){let _0x21498f,_0x34336b=null,_0x1255d7=null;try{if(_0x385cc9==_0x48be49([0x47,0x50,0x4c]))return _0x48be49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21498f=_0x5dc232(),!_0x21498f)return _0x48be49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21498f[_0x48be49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1255d7=_0x4c0fdb(_0x21498f[_0x48be49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21498f[_0x48be49([0x6a,0x74,0x69])])),await _0x6b6e37()?_0xce598f()?_0x1c5760()?_0x48be49([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21d764()?(_0x21498f[_0x48be49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48be49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x34336b=_0x2b01db(_0x48be49([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd9c3cd()):_0x48be49([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x48be49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x48be49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x48be49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c5760(){const _0x4fb78b=[_0x48be49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x48be49([0x74,0x72,0x69,0x61,0x6c])][_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21498f[_0x48be49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x369598/0x3e8:0xe10*_0x5baf4e;return _0x21498f[_0x48be49([0x65,0x78,0x70])]<_0x4fb78b;}function _0xce598f(){const _0x29c9b2=_0x21498f[_0x48be49([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29c9b2&&(!!_0x29c9b2[_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48be49([0x2a]))||!!_0x29c9b2[_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48be49([0x53,0x45,0x45])));}function _0x21d764(){const _0x2bce06=_0x21498f[_0x48be49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2bce06||0x0==_0x2bce06[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x176539}=new URL(window[_0x48be49([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2bce06[_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x176539))return!0x0;const _0x19754f=_0x176539[_0x48be49([0x73,0x70,0x6c,0x69,0x74])](_0x48be49([0x2e]));return _0x2bce06[_0x48be49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x280b80=>_0x280b80[_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48be49([0x2a])))[_0x48be49([0x6d,0x61,0x70])](_0x37dd56=>_0x37dd56[_0x48be49([0x73,0x70,0x6c,0x69,0x74])](_0x48be49([0x2e])))[_0x48be49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x287815=>_0x287815[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19754f[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48be49([0x6d,0x61,0x70])](_0x2a7a2b=>Array(_0x19754f[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a7a2b[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48be49([0x66,0x69,0x6c,0x6c])](_0x2a7a2b[0x0]===_0x48be49([0x2a])?_0x48be49([0x2a]):'')[_0x48be49([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a7a2b))[_0x48be49([0x73,0x6f,0x6d,0x65])](_0x50cd57=>_0x19754f[_0x48be49([0x65,0x76,0x65,0x72,0x79])]((_0x5b610e,_0xde1cc7)=>_0x50cd57[_0xde1cc7]===_0x5b610e||_0x50cd57[_0xde1cc7]===_0x48be49([0x2a])));}function _0xd9c3cd(){return _0x34336b&&_0x1255d7?new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x551fd6,_0x2a8813)=>{_0x34336b[_0x48be49([0x74,0x68,0x65,0x6e])](_0x551fd6,_0x2a8813),_0x1255d7[_0x48be49([0x74,0x68,0x65,0x6e])](_0x37cba9=>{_0x37cba9!=_0x48be49([0x56,0x61,0x6c,0x69,0x64])&&_0x551fd6(_0x37cba9);},_0x2a8813);}):_0x34336b||_0x1255d7||_0x48be49([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c0fdb(_0x11fa72,_0x2b887a){return new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d9397=>{if(_0x1a85f0())return _0x2d9397(_0x48be49([0x56,0x61,0x6c,0x69,0x64]));_0x4aed88(),_0x5bfe16[_0x48be49([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x48be49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x414aa1=!0x1;const _0x42abc3=_0x3b13a2();function _0x176b4d(_0x35dbd8){return!!_0x35dbd8&&(typeof _0x35dbd8===_0x48be49([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35dbd8===_0x48be49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35dbd8[_0x48be49([0x74,0x68,0x65,0x6e])]===_0x48be49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35dbd8[_0x48be49([0x63,0x61,0x74,0x63,0x68])]===_0x48be49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x513f52(_0x4a4747){_0xefa6cd(_0x4a4747)[_0x48be49([0x74,0x68,0x65,0x6e])](_0x3282b9=>{if(!_0x3282b9||_0x3282b9[_0x48be49([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x48be49([0x6f,0x6b]))return _0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a1e0b(_0x8327c1(_0x42abc3+_0x2b887a))!=_0x3282b9[_0x48be49([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x48be49([0x56,0x61,0x6c,0x69,0x64]);})[_0x48be49([0x74,0x68,0x65,0x6e])](_0x337f3a=>(_0x1e8253(),_0x337f3a),()=>{const _0x4d6c2e=_0x906c27();return null==_0x4d6c2e?(_0x1e8253(),_0x48be49([0x56,0x61,0x6c,0x69,0x64])):_0x48be49(_0x369598-_0x4d6c2e>(0x79b61714^_0x5a2c7b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x48be49([0x74,0x68,0x65,0x6e])](_0x2d9397)[_0x48be49([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d9397(_0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x22cab1=0x5d8c7d94^_0x5a2c7b;function _0x1e8253(){const _0x231f3e=_0x48be49([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1e0b(_0x8327c1(_0x11fa72)),_0x2571b6=_0x20519a(_0x4a1e0b(window[_0x48be49([0x4d,0x61,0x74,0x68])][_0x48be49([0x63,0x65,0x69,0x6c])](_0x369598/_0x22cab1)));window[_0x48be49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48be49([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x231f3e,_0x2571b6);}function _0x906c27(){const _0x1f5562=_0x48be49([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1e0b(_0x8327c1(_0x11fa72)),_0x30b5b9=window[_0x48be49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48be49([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f5562);return _0x30b5b9?window[_0x48be49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20519a(_0x30b5b9),0x10)*_0x22cab1:null;}function _0xefa6cd(_0x1944b0){return new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x405f0c,_0x5f0111)=>{_0x1944b0[_0x48be49([0x74,0x68,0x65,0x6e])](_0x405f0c,_0x5f0111),window[_0x48be49([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f0111,0x5dbb47d4^_0x5a2c7b);});}}_0x5bfe16[_0x48be49([0x6f,0x6e])](_0x48be49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ee224,_0x1290f7)=>{if(_0x1290f7[0x0]!=_0x11fa72)return _0x2d9397(_0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1290f7[0x1]={..._0x1290f7[0x1],[_0x48be49([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42abc3};},{[_0x48be49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48be49([0x68,0x69,0x67,0x68])}),_0x5bfe16[_0x48be49([0x6f,0x6e])](_0x48be49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xed77ec=>{_0x176b4d(_0xed77ec[_0x48be49([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x414aa1=!0x0,_0x513f52(_0xed77ec[_0x48be49([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x48be49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48be49([0x6c,0x6f,0x77])}),_0x19ff22[_0x48be49([0x74,0x68,0x65,0x6e])](()=>{_0x414aa1||_0x2d9397(_0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a85f0(){return _0x5bfe16[_0x48be49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48be49([0x76,0x69,0x65,0x77])][_0x48be49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x48be49([0x61,0x75,0x74,0x6f]);}function _0x4aed88(){_0x5bfe16[_0x48be49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48be49([0x76,0x69,0x65,0x77])][_0x48be49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x48be49([0x61,0x75,0x74,0x6f]);}}function _0x2b01db(_0x2a3467){const _0x2d7b6f=[new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4db388=>setTimeout(_0x4db388,0x5db3add8^_0x5a2c7b)),_0x19ff22[_0x48be49([0x74,0x68,0x65,0x6e])](()=>new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16b547=>{let _0x2b37be=0x0;_0x5bfe16[_0x48be49([0x6d,0x6f,0x64,0x65,0x6c])][_0x48be49([0x6f,0x6e])](_0x48be49([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e7150,_0x29dd7f)=>{_0x29dd7f[0x0][_0x48be49([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b37be++,_0x2b37be==(0x5dba96fc^_0x5a2c7b)&&(_0x16b547(),_0x1e7150[_0x48be49([0x6f,0x66,0x66])]());});}))];return window[_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x48be49([0x72,0x61,0x63,0x65])](_0x2d7b6f)[_0x48be49([0x74,0x68,0x65,0x6e])](()=>_0x2a3467);}async function _0xdcb12a(){await _0x19ff22,_0x5bfe16[_0x48be49([0x6d,0x6f,0x64,0x65,0x6c])][_0x48be49([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x494f3b,_0x5bfe16[_0x48be49([0x6d,0x6f,0x64,0x65,0x6c])][_0x48be49([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x494f3b,_0x5bfe16[_0x48be49([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48be49([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b5f18(_0x3fc2fe){const _0x1dfa2e=_0x6892b6();_0x5bfe16[_0x1dfa2e]=_0x48be49([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])+_0x3fc2fe,_0x3fc2fe!=_0x48be49([0x56,0x61,0x6c,0x69,0x64])&&_0xdcb12a();}function _0x6892b6(){const _0x391fb5=window[_0x48be49([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x48be49([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48be49([0x6e,0x6f,0x77])]())[_0x48be49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48be49([0x2e]),'');let _0x482711=_0x48be49([0x4e]);for(let _0x4b1c51=0x0;_0x4b1c51<_0x391fb5[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b1c51+=0x2){let _0x533d16=window[_0x48be49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x391fb5[_0x48be49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b1c51,_0x4b1c51+0x2));_0x533d16>=_0x562528[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x533d16-=_0x562528[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x482711+=_0x562528[_0x533d16];}return _0x482711;}function _0x5dc232(){const _0x248015=_0x385cc9[_0x48be49([0x73,0x70,0x6c,0x69,0x74])](_0x48be49([0x2e]));if(0x3!=_0x248015[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8ad0fe(_0x248015[0x1]);function _0x8ad0fe(_0x2da508){const _0x5df160=_0x4a4a46(_0x2da508);return _0x5df160&&_0x41e854()?_0x5df160:null;function _0x41e854(){const _0x4bc0b0=_0x5df160[_0x48be49([0x6a,0x74,0x69])],_0x32d24e=window[_0x48be49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bc0b0[_0x48be49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bc0b0[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xdb95d={..._0x5df160,[_0x48be49([0x6a,0x74,0x69])]:_0x4bc0b0[_0x48be49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4bc0b0[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xdb95d[_0x48be49([0x76,0x63])],_0x8327c1(_0xdb95d)==_0x32d24e;}}}async function _0x6b6e37(){let _0x24b222=!0x0;try{const _0xdfb05e=_0x385cc9[_0x48be49([0x73,0x70,0x6c,0x69,0x74])](_0x48be49([0x2e])),[_0x5d7f6d,_0x4f958b,_0x55bb89]=_0xdfb05e;return _0xde8ed1(_0x5d7f6d),await _0xa775b8(_0x5d7f6d,_0x4f958b,_0x55bb89),_0x24b222;}catch{return!0x1;}function _0xde8ed1(_0x15d0da){const _0x151589=_0x4a4a46(_0x15d0da);_0x151589&&_0x151589[_0x48be49([0x61,0x6c,0x67])]==_0x48be49([0x45,0x53,0x32,0x35,0x36])||(_0x24b222=!0x1);}async function _0xa775b8(_0x1e1e82,_0x598c5e,_0x12f834){const _0x9f9771=window[_0x48be49([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x48be49([0x66,0x72,0x6f,0x6d])](_0x44994d(_0x12f834),_0x5b1169=>_0x5b1169[_0x48be49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x243a0d=new window[(_0x48be49([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x48be49([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e1e82+_0x48be49([0x2e])+_0x598c5e),_0x52474c=window[_0x48be49([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x48be49([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52474c)return;const _0x28b13=await _0x52474c[_0x48be49([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x48be49([0x6a,0x77,0x6b]),_0xcdf877,{[_0x48be49([0x6e,0x61,0x6d,0x65])]:_0x48be49([0x45,0x43,0x44,0x53,0x41]),[_0x48be49([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x48be49([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x48be49([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52474c[_0x48be49([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x48be49([0x6e,0x61,0x6d,0x65])]:_0x48be49([0x45,0x43,0x44,0x53,0x41]),[_0x48be49([0x68,0x61,0x73,0x68])]:{[_0x48be49([0x6e,0x61,0x6d,0x65])]:_0x48be49([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28b13,_0x9f9771,_0x243a0d)||(_0x24b222=!0x1);}}function _0x4a4a46(_0x3fb8a6){return _0x3fb8a6[_0x48be49([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x48be49([0x65,0x79]))?JSON[_0x48be49([0x70,0x61,0x72,0x73,0x65])](_0x44994d(_0x3fb8a6)):null;}function _0x44994d(_0x4b4ebc){return window[_0x48be49([0x61,0x74,0x6f,0x62])](_0x4b4ebc[_0x48be49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x48be49([0x2b]))[_0x48be49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x48be49([0x2f])));}function _0x8327c1(_0x5ec96f){let _0x3c78af=0x1505;function _0x1ca820(_0x45fd4b){for(let _0x3daad5=0x0;_0x3daad5<_0x45fd4b[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3daad5++){const _0x35ff95=_0x45fd4b[_0x48be49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3daad5);_0x3c78af=(_0x3c78af<<0x5)+_0x3c78af+_0x35ff95,_0x3c78af&=_0x3c78af;}}function _0x3cf8c9(_0x963e12){Array[_0x48be49([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x963e12)?_0x963e12[_0x48be49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3cf8c9):_0x963e12&&typeof _0x963e12==_0x48be49([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x48be49([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x963e12)[_0x48be49([0x73,0x6f,0x72,0x74])]()[_0x48be49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x480bcb,_0x561c77])=>{_0x1ca820(_0x480bcb),_0x3cf8c9(_0x561c77);}):_0x1ca820(window[_0x48be49([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x963e12));}return _0x3cf8c9(_0x5ec96f),_0x3c78af>>>0x0;}function _0x4a1e0b(_0x27fb6d){return _0x27fb6d[_0x48be49([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x48be49([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x48be49([0x30]));}function _0x20519a(_0x46234b){return _0x46234b[_0x48be49([0x73,0x70,0x6c,0x69,0x74])]('')[_0x48be49([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x48be49([0x6a,0x6f,0x69,0x6e])]('');}function _0x494f3b(){}function _0x48be49(_0x4ede89){return _0x4ede89['map'](_0x493514=>String['fromCharCode'](_0x493514))['join']('');}_0x2b5f18(await _0x5db132());}(this);}['_createButton'](_0x2f8c03,_0x31cd87,_0x29e0fa=!0x1){const _0x4eed30=new _0x2f8c03(this['editor']['locale']);return _0x4eed30['set']({'withText':_0x29e0fa,'isToggleable':!0x1}),_0x4eed30['bind']('isEnabled')['to'](_0x31cd87,'isEnabled'),this['listenTo'](_0x4eed30,'execute',()=>_0x31cd87['execute']()),_0x4eed30;}['_registerKeybindings'](){const _0x1493e6=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x1493e6,'Source\x20Editing\x20Enhanced')});const _0x66aee2=_0x2a65b8['isMac']||_0x2a65b8['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x1493e6,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x1493e6,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x1493e6,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x1493e6,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x1493e6,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x1493e6,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x1493e6,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x66aee2?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x1493e6,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x1493e6,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x1493e6,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x1493e6,'Select\x20line'),'keystroke':_0x66aee2?'Ctrl!+L':'Alt+L'},{'label':w(_0x1493e6,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x66aee2?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x1493e6,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x1493e6,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x1493e6,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x1493e6,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x1493e6,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x66aee2?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0xdccb42{constructor(_0x35aaa1){super(_0x35aaa1),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1899a9,_0x51d472){const _0x438286=this['editor'],_0x450aa2=_0x51d472?.['rootName']??r(_0x438286);_0x438286['data']['set']({[_0x450aa2]:_0x1899a9},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x1d650f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x14d45e){super(_0x14d45e),_0x14d45e['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 _0x1c033b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xaee73f;for(const _0x169106 in _0x1c033b){const _0x18b81d=_0x169106,_0x91c0b9=_0x1c033b[_0x18b81d];if('sourceEditingEnhancedLicenseKeyValid'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyInvalid'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyExpired'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x91c0b9){delete _0x1c033b[_0x18b81d],_0xaee73f=_0x91c0b9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0xaee73f&&_0x1c033b['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0xaee73f&&_0x1c033b['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xaee73f&&_0x1c033b['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xaee73f&&_0x1c033b['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xaee73f&&_0x1c033b['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xaee73f&&_0x1c033b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x2afcd6=this['editor'],_0x213922=_0x2afcd6['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x213922&&_0x2afcd6['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x229333('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x213922&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x35d845=>_0x2afcd6['plugins']['has'](_0x35d845))&&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.'),_0x2afcd6['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "47.4.0-alpha.3",
3
+ "version": "47.4.0-alpha.4",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "47.4.0-alpha.3",
22
- "@ckeditor/ckeditor5-icons": "47.4.0-alpha.3",
23
- "@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.3",
24
- "@ckeditor/ckeditor5-ui": "47.4.0-alpha.3",
25
- "@ckeditor/ckeditor5-utils": "47.4.0-alpha.3",
21
+ "@ckeditor/ckeditor5-core": "47.4.0-alpha.4",
22
+ "@ckeditor/ckeditor5-icons": "47.4.0-alpha.4",
23
+ "@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.4",
24
+ "@ckeditor/ckeditor5-ui": "47.4.0-alpha.4",
25
+ "@ckeditor/ckeditor5-utils": "47.4.0-alpha.4",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.1",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "47.4.0-alpha.3"
34
+ "ckeditor5": "47.4.0-alpha.4"
35
35
  },
36
36
  "license": "SEE LICENSE IN LICENSE.md",
37
37
  "author": "CKSource (http://cksource.com/)",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dd78f=_0x2f00;function _0x2f00(_0x11c514,_0x46628a){const _0xe73edc=_0xe73e();return _0x2f00=function(_0x2f004b,_0x46ab39){_0x2f004b=_0x2f004b-0x12d;let _0x50e4dd=_0xe73edc[_0x2f004b];return _0x50e4dd;},_0x2f00(_0x11c514,_0x46628a);}(function(_0x3eaec6,_0x4059a1){const _0x3466bd=_0x2f00,_0x1efd2e=_0x3eaec6();while(!![]){try{const _0x515d3f=-parseInt(_0x3466bd(0x148))/0x1+-parseInt(_0x3466bd(0x16c))/0x2+-parseInt(_0x3466bd(0x157))/0x3+parseInt(_0x3466bd(0x14c))/0x4*(-parseInt(_0x3466bd(0x160))/0x5)+-parseInt(_0x3466bd(0x14e))/0x6+-parseInt(_0x3466bd(0x163))/0x7+parseInt(_0x3466bd(0x144))/0x8;if(_0x515d3f===_0x4059a1)break;else _0x1efd2e['push'](_0x1efd2e['shift']());}catch(_0x35eeb3){_0x1efd2e['push'](_0x1efd2e['shift']());}}}(_0xe73e,0x21573));import{Plugin as _0x466fde,PendingActions as _0x1bebc1}from'ckeditor5/src/core.js';import{IconSource as _0x4fa7b3}from'ckeditor5/src/icons.js';import{ButtonView as _0x117c86,MenuBarMenuListItemButtonView as _0x3fbe31}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x158e6a}from'./ui/editsourcecommand.js';import{getTranslation as _0x366a7b}from'./utils/common-translations.js';function _0xe73e(){const _0x4e9844=['Alt+Shift+M','132162YnzoJy','Source','isEnabled','isMac','20ZbZfPp','Shift+Alt+A','272136eWhMkM','sourceEditingEnhanced','Toggle\x20comment','Alt+ArrowUp','Ctrl+Z','requires','Indent\x20less','map','join','17850wylEhR','init','Ctrl+]','execute','locale','addKeystrokeInfos','Indent\x20more','Shift+Ctrl+K','Fold\x20code\x20(current\x20level)','41490vdkJcc','set','Redo\x20(keystroke)','1109052upLtRK','Move\x20line\x20down','fromCharCode','Source\x20Editing\x20Enhanced','Shift+Alt+ArrowUp','Toggle\x20block\x20comment','Fold\x20all','Ctrl+[','componentFactory','89994WgiBDk','Cmd+Alt+[','menuitemcheckbox','Ctrl+Y','Ctrl+Shift+Z','editSource','Ctrl+/','_registerKeybindings','afterInit','Move\x20line\x20up','Undo\x20(keystroke)','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','addKeystrokeInfoCategory','accessibility','Alt+ArrowDown','Unfold\x20all','listenTo','Shift+Alt+ArrowDown','ck-source-editing-enhanced-button','Cmd+Alt+]','pluginName','href','Ctrl!+L','Select\x20line','Delete\x20line','add','Edit\x20source\x20modal\x20label','Ctrl+M','SourceEditingEnhancedUI','isiOS','Copy\x20line\x20up','isPremiumPlugin','Unfold\x20code\x20(current\x20level)','Copy\x20line\x20down','editor','Ctrl+Shift+]','Alt+L','Ctrl+Shift+[','isOfficialPlugin','commands','menuBar:sourceEditingEnhanced','bind','Ctrl!+Alt+]','4519632BOWylZ','_createButton','Ctrl!+Alt+['];_0xe73e=function(){return _0x4e9844;};return _0xe73e();}import{env as _0x5d0dca,uid as _0x28c47d}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x466fde{static get[_0x3dd78f(0x12d)](){const _0x3f6009=_0x3dd78f;return _0x3f6009(0x135);}static get[_0x3dd78f(0x153)](){return[_0x1bebc1];}static get[_0x3dd78f(0x13f)](){return!0x0;}static get[_0x3dd78f(0x138)](){return!0x0;}[_0x3dd78f(0x158)](){const _0x4f517c=_0x3dd78f,_0x4cef43=this[_0x4f517c(0x13b)],_0x4afe10=_0x4cef43[_0x4f517c(0x15b)],_0x2be663=new _0x158e6a(_0x4cef43);_0x4cef43[_0x4f517c(0x140)][_0x4f517c(0x132)](_0x4f517c(0x171),_0x2be663),_0x4cef43['ui'][_0x4f517c(0x16b)][_0x4f517c(0x132)](_0x4f517c(0x14f),()=>{const _0x3f3711=_0x4f517c,_0x3c2a84=this[_0x3f3711(0x145)](_0x117c86,_0x2be663);return _0x3c2a84[_0x3f3711(0x161)]({'label':_0x366a7b(_0x4afe10,_0x3f3711(0x149)),'icon':_0x4fa7b3,'tooltip':_0x366a7b(_0x4afe10,_0x3f3711(0x133)),'class':_0x3f3711(0x17e)}),_0x3c2a84;}),_0x4cef43['ui'][_0x4f517c(0x16b)][_0x4f517c(0x132)](_0x4f517c(0x141),()=>{const _0x11776f=_0x4f517c,_0x112dd2=this[_0x11776f(0x145)](_0x3fbe31,_0x2be663,!0x0);return _0x112dd2[_0x11776f(0x161)]({'label':_0x366a7b(_0x4afe10,_0x11776f(0x133)),'icon':_0x4fa7b3,'role':_0x11776f(0x16e)}),_0x112dd2;}),this[_0x4f517c(0x173)]();}[_0x3dd78f(0x174)](){!async function(_0x313cb6){const _0x429b1c=_0x588021([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]),_0x1fc14a=0x5dba9314,_0x2a5990=0x5dbded94^_0x1fc14a,_0x921e9d=window[_0x588021([0x44,0x61,0x74,0x65])][_0x588021([0x6e,0x6f,0x77])](),_0x3222f3=_0x313cb6[_0x588021([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xbf7bf1=new window[(_0x588021([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4174de=>{_0x3222f3[_0x588021([0x6f,0x6e,0x63,0x65])](_0x588021([0x72,0x65,0x61,0x64,0x79]),_0x4174de);}),_0x58203a={[_0x588021([0x6b,0x74,0x79])]:_0x588021([0x45,0x43]),[_0x588021([0x75,0x73,0x65])]:_0x588021([0x73,0x69,0x67]),[_0x588021([0x63,0x72,0x76])]:_0x588021([0x50,0x2d,0x32,0x35,0x36]),[_0x588021([0x78])]:_0x588021([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]),[_0x588021([0x79])]:_0x588021([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]),[_0x588021([0x61,0x6c,0x67])]:_0x588021([0x45,0x53,0x32,0x35,0x36])},_0x163a51=_0x3222f3[_0x588021([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x588021([0x67,0x65,0x74])](_0x588021([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24a5e7(){let _0x3d1cb1,_0x4f7384=null,_0x496b9e=null;try{if(_0x163a51==_0x588021([0x47,0x50,0x4c]))return _0x588021([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d1cb1=_0x5850d8(),!_0x3d1cb1)return _0x588021([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d1cb1[_0x588021([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x496b9e=_0x28c09f(_0x3d1cb1[_0x588021([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d1cb1[_0x588021([0x6a,0x74,0x69])])),await _0x3fc342()?_0x3650c3()?_0x4f7326()?_0x588021([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f837f()?(_0x3d1cb1[_0x588021([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x588021([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f7384=_0x11a92f(_0x588021([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4621a0()):_0x588021([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x588021([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x588021([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x588021([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f7326(){const _0x4e024a=[_0x588021([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x588021([0x74,0x72,0x69,0x61,0x6c])][_0x588021([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d1cb1[_0x588021([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x921e9d/0x3e8:0xe10*_0x2a5990;return _0x3d1cb1[_0x588021([0x65,0x78,0x70])]<_0x4e024a;}function _0x3650c3(){const _0x5afd35=_0x3d1cb1[_0x588021([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5afd35&&(!!_0x5afd35[_0x588021([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x588021([0x2a]))||!!_0x5afd35[_0x588021([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x588021([0x53,0x45,0x45])));}function _0x4f837f(){const _0x9f00e=_0x2f00,_0x5563e8=_0x3d1cb1[_0x588021([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5563e8||0x0==_0x5563e8[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d66b2}=new URL(window[_0x588021([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x9f00e(0x12e)]);if(_0x5563e8[_0x588021([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d66b2))return!0x0;const _0x4f954d=_0x1d66b2[_0x588021([0x73,0x70,0x6c,0x69,0x74])](_0x588021([0x2e]));return _0x5563e8[_0x588021([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d4ce5=>_0x4d4ce5[_0x588021([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x588021([0x2a])))[_0x588021([0x6d,0x61,0x70])](_0x1f3641=>_0x1f3641[_0x588021([0x73,0x70,0x6c,0x69,0x74])](_0x588021([0x2e])))[_0x588021([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7cc917=>_0x7cc917[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f954d[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x588021([0x6d,0x61,0x70])](_0x126c2a=>Array(_0x4f954d[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x126c2a[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x588021([0x66,0x69,0x6c,0x6c])](_0x126c2a[0x0]===_0x588021([0x2a])?_0x588021([0x2a]):'')[_0x588021([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x126c2a))[_0x588021([0x73,0x6f,0x6d,0x65])](_0x206b8b=>_0x4f954d[_0x588021([0x65,0x76,0x65,0x72,0x79])]((_0x38c76f,_0x2c18af)=>_0x206b8b[_0x2c18af]===_0x38c76f||_0x206b8b[_0x2c18af]===_0x588021([0x2a])));}function _0x4621a0(){return _0x4f7384&&_0x496b9e?new window[(_0x588021([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3819de,_0x2a1bf6)=>{_0x4f7384[_0x588021([0x74,0x68,0x65,0x6e])](_0x3819de,_0x2a1bf6),_0x496b9e[_0x588021([0x74,0x68,0x65,0x6e])](_0xd83c91=>{_0xd83c91!=_0x588021([0x56,0x61,0x6c,0x69,0x64])&&_0x3819de(_0xd83c91);},_0x2a1bf6);}):_0x4f7384||_0x496b9e||_0x588021([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28c09f(_0x189ca1,_0x2a9262){return new window[(_0x588021([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x398fbe=>{if(_0x5d3d3e())return _0x398fbe(_0x588021([0x56,0x61,0x6c,0x69,0x64]));_0x174f66(),_0x3222f3[_0x588021([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x588021([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6f4d58=!0x1;const _0x2fe39a=_0x28c47d();function _0xa027c3(_0x2838c7){return!!_0x2838c7&&(typeof _0x2838c7===_0x588021([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2838c7===_0x588021([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2838c7[_0x588021([0x74,0x68,0x65,0x6e])]===_0x588021([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2838c7[_0x588021([0x63,0x61,0x74,0x63,0x68])]===_0x588021([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x369503(_0x5e8013){_0x3ff9cf(_0x5e8013)[_0x588021([0x74,0x68,0x65,0x6e])](_0xd04c63=>{if(!_0xd04c63||_0xd04c63[_0x588021([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x588021([0x6f,0x6b]))return _0x588021([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5559c5(_0x5b786c(_0x2fe39a+_0x2a9262))!=_0xd04c63[_0x588021([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x588021([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x588021([0x56,0x61,0x6c,0x69,0x64]);})[_0x588021([0x74,0x68,0x65,0x6e])](_0x5dc0c0=>(_0x43ad7e(),_0x5dc0c0),()=>{const _0x5c98cc=_0x50a247();return null==_0x5c98cc?(_0x43ad7e(),_0x588021([0x56,0x61,0x6c,0x69,0x64])):_0x588021(_0x921e9d-_0x5c98cc>(0x79b61714^_0x1fc14a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x588021([0x74,0x68,0x65,0x6e])](_0x398fbe)[_0x588021([0x63,0x61,0x74,0x63,0x68])](()=>{_0x398fbe(_0x588021([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41704d=0x5d8c7d94^_0x1fc14a;function _0x43ad7e(){const _0x2e9d07=_0x588021([0x6c,0x6c,0x63,0x74,0x2d])+_0x5559c5(_0x5b786c(_0x189ca1)),_0x475d39=_0x4e0cdb(_0x5559c5(window[_0x588021([0x4d,0x61,0x74,0x68])][_0x588021([0x63,0x65,0x69,0x6c])](_0x921e9d/_0x41704d)));window[_0x588021([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x588021([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e9d07,_0x475d39);}function _0x50a247(){const _0x2af6e1=_0x588021([0x6c,0x6c,0x63,0x74,0x2d])+_0x5559c5(_0x5b786c(_0x189ca1)),_0x94ac71=window[_0x588021([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x588021([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2af6e1);return _0x94ac71?window[_0x588021([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e0cdb(_0x94ac71),0x10)*_0x41704d:null;}function _0x3ff9cf(_0x22ddef){return new window[(_0x588021([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4018e8,_0x211d3d)=>{_0x22ddef[_0x588021([0x74,0x68,0x65,0x6e])](_0x4018e8,_0x211d3d),window[_0x588021([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x211d3d,0x5dbb47d4^_0x1fc14a);});}}_0x3222f3[_0x588021([0x6f,0x6e])](_0x588021([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x307e21,_0x55cb4d)=>{if(_0x55cb4d[0x0]!=_0x189ca1)return _0x398fbe(_0x588021([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x55cb4d[0x1]={..._0x55cb4d[0x1],[_0x588021([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2fe39a};},{[_0x588021([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x588021([0x68,0x69,0x67,0x68])}),_0x3222f3[_0x588021([0x6f,0x6e])](_0x588021([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b626d=>{_0xa027c3(_0x2b626d[_0x588021([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6f4d58=!0x0,_0x369503(_0x2b626d[_0x588021([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x588021([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x588021([0x6c,0x6f,0x77])}),_0xbf7bf1[_0x588021([0x74,0x68,0x65,0x6e])](()=>{_0x6f4d58||_0x398fbe(_0x588021([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d3d3e(){return _0x3222f3[_0x588021([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x588021([0x76,0x69,0x65,0x77])][_0x588021([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x588021([0x61,0x75,0x74,0x6f]);}function _0x174f66(){_0x3222f3[_0x588021([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x588021([0x76,0x69,0x65,0x77])][_0x588021([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x588021([0x61,0x75,0x74,0x6f]);}}function _0x11a92f(_0x74d04){const _0x4186cd=[new window[(_0x588021([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54be40=>setTimeout(_0x54be40,0x5db3add8^_0x1fc14a)),_0xbf7bf1[_0x588021([0x74,0x68,0x65,0x6e])](()=>new window[(_0x588021([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc74483=>{let _0x272b8d=0x0;_0x3222f3[_0x588021([0x6d,0x6f,0x64,0x65,0x6c])][_0x588021([0x6f,0x6e])](_0x588021([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2210d9,_0x131dcb)=>{_0x131dcb[0x0][_0x588021([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x272b8d++,_0x272b8d==(0x5dba96fc^_0x1fc14a)&&(_0xc74483(),_0x2210d9[_0x588021([0x6f,0x66,0x66])]());});}))];return window[_0x588021([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x588021([0x72,0x61,0x63,0x65])](_0x4186cd)[_0x588021([0x74,0x68,0x65,0x6e])](()=>_0x74d04);}async function _0x15763f(){await _0xbf7bf1,_0x3222f3[_0x588021([0x6d,0x6f,0x64,0x65,0x6c])][_0x588021([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2066cd,_0x3222f3[_0x588021([0x6d,0x6f,0x64,0x65,0x6c])][_0x588021([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2066cd,_0x3222f3[_0x588021([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x588021([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f92ee(_0x53f701){const _0x1c82bb=_0x20f79e();_0x3222f3[_0x1c82bb]=_0x588021([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])+_0x53f701,_0x53f701!=_0x588021([0x56,0x61,0x6c,0x69,0x64])&&_0x15763f();}function _0x20f79e(){const _0x1f3bbc=window[_0x588021([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x588021([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x588021([0x6e,0x6f,0x77])]())[_0x588021([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x588021([0x2e]),'');let _0x5a4641=_0x588021([0x4e]);for(let _0x14d552=0x0;_0x14d552<_0x1f3bbc[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14d552+=0x2){let _0x5e7b7f=window[_0x588021([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f3bbc[_0x588021([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14d552,_0x14d552+0x2));_0x5e7b7f>=_0x429b1c[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e7b7f-=_0x429b1c[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a4641+=_0x429b1c[_0x5e7b7f];}return _0x5a4641;}function _0x5850d8(){const _0x1f1fd4=_0x163a51[_0x588021([0x73,0x70,0x6c,0x69,0x74])](_0x588021([0x2e]));if(0x3!=_0x1f1fd4[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fdaf1(_0x1f1fd4[0x1]);function _0x4fdaf1(_0x3c6c03){const _0xcd4662=_0x26a26d(_0x3c6c03);return _0xcd4662&&_0x42188d()?_0xcd4662:null;function _0x42188d(){const _0x1710f8=_0xcd4662[_0x588021([0x6a,0x74,0x69])],_0x3cee63=window[_0x588021([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1710f8[_0x588021([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1710f8[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x90b99a={..._0xcd4662,[_0x588021([0x6a,0x74,0x69])]:_0x1710f8[_0x588021([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1710f8[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x90b99a[_0x588021([0x76,0x63])],_0x5b786c(_0x90b99a)==_0x3cee63;}}}async function _0x3fc342(){let _0x27645d=!0x0;try{const _0xd789be=_0x163a51[_0x588021([0x73,0x70,0x6c,0x69,0x74])](_0x588021([0x2e])),[_0x4e08ff,_0x3fd9d1,_0x40bab9]=_0xd789be;return _0xd9c70d(_0x4e08ff),await _0x138664(_0x4e08ff,_0x3fd9d1,_0x40bab9),_0x27645d;}catch{return!0x1;}function _0xd9c70d(_0x36e5a3){const _0x2f8924=_0x26a26d(_0x36e5a3);_0x2f8924&&_0x2f8924[_0x588021([0x61,0x6c,0x67])]==_0x588021([0x45,0x53,0x32,0x35,0x36])||(_0x27645d=!0x1);}async function _0x138664(_0x41129f,_0x37827b,_0x4646bd){const _0x2f33c9=window[_0x588021([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x588021([0x66,0x72,0x6f,0x6d])](_0x20eb54(_0x4646bd),_0x289ff8=>_0x289ff8[_0x588021([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x88d1f0=new window[(_0x588021([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x588021([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41129f+_0x588021([0x2e])+_0x37827b),_0x3ef706=window[_0x588021([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x588021([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ef706)return;const _0x5d10da=await _0x3ef706[_0x588021([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x588021([0x6a,0x77,0x6b]),_0x58203a,{[_0x588021([0x6e,0x61,0x6d,0x65])]:_0x588021([0x45,0x43,0x44,0x53,0x41]),[_0x588021([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x588021([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x588021([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ef706[_0x588021([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x588021([0x6e,0x61,0x6d,0x65])]:_0x588021([0x45,0x43,0x44,0x53,0x41]),[_0x588021([0x68,0x61,0x73,0x68])]:{[_0x588021([0x6e,0x61,0x6d,0x65])]:_0x588021([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d10da,_0x2f33c9,_0x88d1f0)||(_0x27645d=!0x1);}}function _0x26a26d(_0x21bda6){return _0x21bda6[_0x588021([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x588021([0x65,0x79]))?JSON[_0x588021([0x70,0x61,0x72,0x73,0x65])](_0x20eb54(_0x21bda6)):null;}function _0x20eb54(_0x297a29){return window[_0x588021([0x61,0x74,0x6f,0x62])](_0x297a29[_0x588021([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x588021([0x2b]))[_0x588021([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x588021([0x2f])));}function _0x5b786c(_0x4753ed){let _0x409366=0x1505;function _0x43e6c0(_0x586224){for(let _0x478e12=0x0;_0x478e12<_0x586224[_0x588021([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x478e12++){const _0x18d801=_0x586224[_0x588021([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x478e12);_0x409366=(_0x409366<<0x5)+_0x409366+_0x18d801,_0x409366&=_0x409366;}}function _0x5ca5be(_0x5637bb){Array[_0x588021([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5637bb)?_0x5637bb[_0x588021([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ca5be):_0x5637bb&&typeof _0x5637bb==_0x588021([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x588021([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5637bb)[_0x588021([0x73,0x6f,0x72,0x74])]()[_0x588021([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ec989,_0x44d013])=>{_0x43e6c0(_0x3ec989),_0x5ca5be(_0x44d013);}):_0x43e6c0(window[_0x588021([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5637bb));}return _0x5ca5be(_0x4753ed),_0x409366>>>0x0;}function _0x5559c5(_0x620962){return _0x620962[_0x588021([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x588021([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x588021([0x30]));}function _0x4e0cdb(_0x49a8eb){return _0x49a8eb[_0x588021([0x73,0x70,0x6c,0x69,0x74])]('')[_0x588021([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x588021([0x6a,0x6f,0x69,0x6e])]('');}function _0x2066cd(){}function _0x588021(_0x574359){const _0x5eb33e=_0x2f00;return _0x574359[_0x5eb33e(0x155)](_0x799923=>String[_0x5eb33e(0x165)](_0x799923))[_0x5eb33e(0x156)]('');}_0x1f92ee(await _0x24a5e7());}(this);}[_0x3dd78f(0x145)](_0x2f5375,_0x1debaf,_0x14907b=!0x1){const _0xc47cb9=_0x3dd78f,_0x2d815f=new _0x2f5375(this[_0xc47cb9(0x13b)][_0xc47cb9(0x15b)]);return _0x2d815f[_0xc47cb9(0x161)]({'withText':_0x14907b,'isToggleable':!0x1}),_0x2d815f[_0xc47cb9(0x142)](_0xc47cb9(0x14a))['to'](_0x1debaf,_0xc47cb9(0x14a)),this[_0xc47cb9(0x17c)](_0x2d815f,_0xc47cb9(0x15a),()=>_0x1debaf[_0xc47cb9(0x15a)]()),_0x2d815f;}[_0x3dd78f(0x173)](){const _0x142fae=_0x3dd78f,_0x51457b=this[_0x142fae(0x13b)][_0x142fae(0x15b)];this[_0x142fae(0x13b)][_0x142fae(0x179)][_0x142fae(0x178)]({'id':_0x142fae(0x14f),'label':_0x366a7b(_0x51457b,_0x142fae(0x166))});const _0x24f14c=_0x5d0dca[_0x142fae(0x14b)]||_0x5d0dca[_0x142fae(0x136)];this[_0x142fae(0x13b)][_0x142fae(0x179)][_0x142fae(0x15c)]({'categoryId':_0x142fae(0x14f),'keystrokes':[{'label':_0x366a7b(_0x51457b,_0x142fae(0x13a)),'keystroke':_0x142fae(0x17d)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x137)),'keystroke':_0x142fae(0x167)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x131)),'keystroke':_0x142fae(0x15e)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x154)),'keystroke':_0x142fae(0x16a)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x15d)),'keystroke':_0x142fae(0x159)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x169)),'keystroke':_0x142fae(0x146)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x15f)),'keystroke':_0x24f14c?_0x142fae(0x16d):_0x142fae(0x13e)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x164)),'keystroke':_0x142fae(0x17a)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x175)),'keystroke':_0x142fae(0x151)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x162)),'keystroke':[[_0x142fae(0x170)],[_0x142fae(0x16f)]]},{'label':_0x366a7b(_0x51457b,_0x142fae(0x130)),'keystroke':_0x24f14c?_0x142fae(0x12f):_0x142fae(0x13d)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x177)),'keystroke':_0x24f14c?_0x142fae(0x147):_0x142fae(0x134)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x168)),'keystroke':_0x142fae(0x14d)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x150)),'keystroke':_0x142fae(0x172)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x176)),'keystroke':_0x142fae(0x152)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x17b)),'keystroke':_0x142fae(0x143)},{'label':_0x366a7b(_0x51457b,_0x142fae(0x139)),'keystroke':_0x24f14c?_0x142fae(0x17f):_0x142fae(0x13c)}]});}}
23
+ const _0x440163=_0x1605;(function(_0xd07e79,_0x4b9229){const _0x1769f3=_0x1605,_0x143963=_0xd07e79();while(!![]){try{const _0x14b0f1=-parseInt(_0x1769f3(0x1be))/0x1+parseInt(_0x1769f3(0x1c5))/0x2*(parseInt(_0x1769f3(0x206))/0x3)+-parseInt(_0x1769f3(0x1f8))/0x4*(-parseInt(_0x1769f3(0x1cf))/0x5)+-parseInt(_0x1769f3(0x1ee))/0x6*(parseInt(_0x1769f3(0x1d8))/0x7)+-parseInt(_0x1769f3(0x202))/0x8*(-parseInt(_0x1769f3(0x207))/0x9)+-parseInt(_0x1769f3(0x1f5))/0xa*(-parseInt(_0x1769f3(0x1d2))/0xb)+-parseInt(_0x1769f3(0x211))/0xc*(parseInt(_0x1769f3(0x1cc))/0xd);if(_0x14b0f1===_0x4b9229)break;else _0x143963['push'](_0x143963['shift']());}catch(_0x2ad340){_0x143963['push'](_0x143963['shift']());}}}(_0x2bb1,0x3a73f));import{Plugin as _0x41b5cd,PendingActions as _0x46a41b}from'ckeditor5/src/core.js';function _0x2bb1(){const _0x27fda1=['9347ostWLH','isEnabled','Source','1665835sfFUuv','_registerKeybindings','href','121rvvYTY','sourceEditingEnhanced','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Ctrl+K','Alt+Shift+M','Toggle\x20block\x20comment','1019179CzAXNi','SourceEditingEnhancedUI','Indent\x20less','editSource','Alt+ArrowUp','commands','_createButton','bind','execute','isPremiumPlugin','Ctrl!+L','Fold\x20code\x20(current\x20level)','Delete\x20line','listenTo','requires','accessibility','Alt+L','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowDown','addKeystrokeInfos','Indent\x20more','addKeystrokeInfoCategory','6rcYldw','Ctrl+/','Shift+Alt+A','Ctrl+]','Ctrl+Y','init','Unfold\x20code\x20(current\x20level)','290670QFLpdJ','Toggle\x20comment','menuBar:sourceEditingEnhanced','4jWBrxN','afterInit','componentFactory','Ctrl!+Alt+]','Ctrl+M','add','isiOS','Select\x20line','set','ck-source-editing-enhanced-button','24fdKJBa','Cmd+Alt+]','Fold\x20all','join','411Pgkdas','528741txdwjO','Cmd+Alt+[','menuitemcheckbox','Shift+Alt+ArrowUp','Ctrl!+Alt+[','Source\x20Editing\x20Enhanced','isOfficialPlugin','Copy\x20line\x20down','map','Move\x20line\x20up','9936vwPqyF','Ctrl+Shift+]','locale','Ctrl+[','Move\x20line\x20down','124717SNAxyc','isMac','Copy\x20line\x20up','fromCharCode','Alt+ArrowDown','Undo\x20(keystroke)','Redo\x20(keystroke)','4028rOxKWt','editor','Ctrl+Z','pluginName','Ctrl+Shift+[','Unfold\x20all','Ctrl+Shift+Z'];_0x2bb1=function(){return _0x27fda1;};return _0x2bb1();}import{IconSource as _0x413cb7}from'ckeditor5/src/icons.js';function _0x1605(_0x31f8cb,_0x418751){const _0x2bb10a=_0x2bb1();return _0x1605=function(_0x1605cb,_0x31dea0){_0x1605cb=_0x1605cb-0x1bc;let _0x370f88=_0x2bb10a[_0x1605cb];return _0x370f88;},_0x1605(_0x31f8cb,_0x418751);}import{ButtonView as _0xbbc756,MenuBarMenuListItemButtonView as _0x107266}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x5ce590}from'./ui/editsourcecommand.js';import{getTranslation as _0x5e719f}from'./utils/common-translations.js';import{env as _0x1a15fe,uid as _0x143948}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x41b5cd{static get[_0x440163(0x1c8)](){const _0x1733bb=_0x440163;return _0x1733bb(0x1d9);}static get[_0x440163(0x1e6)](){return[_0x46a41b];}static get[_0x440163(0x20d)](){return!0x0;}static get[_0x440163(0x1e1)](){return!0x0;}[_0x440163(0x1f3)](){const _0x567a27=_0x440163,_0x1acdac=this[_0x567a27(0x1c6)],_0x5c9eb1=_0x1acdac[_0x567a27(0x213)],_0x57cc9f=new _0x5ce590(_0x1acdac);_0x1acdac[_0x567a27(0x1dd)][_0x567a27(0x1fd)](_0x567a27(0x1db),_0x57cc9f),_0x1acdac['ui'][_0x567a27(0x1fa)][_0x567a27(0x1fd)](_0x567a27(0x1d3),()=>{const _0xc0efe3=_0x567a27,_0x13899d=this[_0xc0efe3(0x1de)](_0xbbc756,_0x57cc9f);return _0x13899d[_0xc0efe3(0x200)]({'label':_0x5e719f(_0x5c9eb1,_0xc0efe3(0x1ce)),'icon':_0x413cb7,'tooltip':_0x5e719f(_0x5c9eb1,_0xc0efe3(0x1e9)),'class':_0xc0efe3(0x201)}),_0x13899d;}),_0x1acdac['ui'][_0x567a27(0x1fa)][_0x567a27(0x1fd)](_0x567a27(0x1f7),()=>{const _0x3fff23=_0x567a27,_0x15df39=this[_0x3fff23(0x1de)](_0x107266,_0x57cc9f,!0x0);return _0x15df39[_0x3fff23(0x200)]({'label':_0x5e719f(_0x5c9eb1,_0x3fff23(0x1e9)),'icon':_0x413cb7,'role':_0x3fff23(0x209)}),_0x15df39;}),this[_0x567a27(0x1d0)]();}[_0x440163(0x1f9)](){!async function(_0x4047cc){const _0x46e38b=_0x498fb6([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]),_0x31a367=0x5dba9314,_0x48cb7a=0x5dbded8c^_0x31a367,_0x23ab97=window[_0x498fb6([0x44,0x61,0x74,0x65])][_0x498fb6([0x6e,0x6f,0x77])](),_0x269598=_0x4047cc[_0x498fb6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fed02=new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fa8ce=>{_0x269598[_0x498fb6([0x6f,0x6e,0x63,0x65])](_0x498fb6([0x72,0x65,0x61,0x64,0x79]),_0x3fa8ce);}),_0x2bb118={[_0x498fb6([0x6b,0x74,0x79])]:_0x498fb6([0x45,0x43]),[_0x498fb6([0x75,0x73,0x65])]:_0x498fb6([0x73,0x69,0x67]),[_0x498fb6([0x63,0x72,0x76])]:_0x498fb6([0x50,0x2d,0x32,0x35,0x36]),[_0x498fb6([0x78])]:_0x498fb6([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]),[_0x498fb6([0x79])]:_0x498fb6([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]),[_0x498fb6([0x61,0x6c,0x67])]:_0x498fb6([0x45,0x53,0x32,0x35,0x36])},_0x3bbc12=_0x269598[_0x498fb6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x498fb6([0x67,0x65,0x74])](_0x498fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8cd14f(){let _0x4dc8fb,_0x3a3626=null,_0x550b1a=null;try{if(_0x3bbc12==_0x498fb6([0x47,0x50,0x4c]))return _0x498fb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4dc8fb=_0x40cc54(),!_0x4dc8fb)return _0x498fb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4dc8fb[_0x498fb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x550b1a=_0x387051(_0x4dc8fb[_0x498fb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4dc8fb[_0x498fb6([0x6a,0x74,0x69])])),await _0xc5eea6()?_0x3bc62e()?_0x496aaa()?_0x498fb6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22047a()?(_0x4dc8fb[_0x498fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x498fb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a3626=_0x422e3c(_0x498fb6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x371e1d()):_0x498fb6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x498fb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x498fb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x498fb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x496aaa(){const _0x45b91a=[_0x498fb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x498fb6([0x74,0x72,0x69,0x61,0x6c])][_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dc8fb[_0x498fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23ab97/0x3e8:0xe10*_0x48cb7a;return _0x4dc8fb[_0x498fb6([0x65,0x78,0x70])]<_0x45b91a;}function _0x3bc62e(){const _0x567881=_0x4dc8fb[_0x498fb6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x567881&&(!!_0x567881[_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498fb6([0x2a]))||!!_0x567881[_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498fb6([0x53,0x45,0x45])));}function _0x22047a(){const _0x10a45c=_0x1605,_0x522f5a=_0x4dc8fb[_0x498fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x522f5a||0x0==_0x522f5a[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf6e5eb}=new URL(window[_0x498fb6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x10a45c(0x1d1)]);if(_0x522f5a[_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf6e5eb))return!0x0;const _0x4f7014=_0xf6e5eb[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])](_0x498fb6([0x2e]));return _0x522f5a[_0x498fb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x354546=>_0x354546[_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498fb6([0x2a])))[_0x498fb6([0x6d,0x61,0x70])](_0x60ed35=>_0x60ed35[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])](_0x498fb6([0x2e])))[_0x498fb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x317c4a=>_0x317c4a[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f7014[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x498fb6([0x6d,0x61,0x70])](_0x34ee60=>Array(_0x4f7014[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34ee60[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x498fb6([0x66,0x69,0x6c,0x6c])](_0x34ee60[0x0]===_0x498fb6([0x2a])?_0x498fb6([0x2a]):'')[_0x498fb6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34ee60))[_0x498fb6([0x73,0x6f,0x6d,0x65])](_0x55ecd1=>_0x4f7014[_0x498fb6([0x65,0x76,0x65,0x72,0x79])]((_0x589e60,_0x4cd1b7)=>_0x55ecd1[_0x4cd1b7]===_0x589e60||_0x55ecd1[_0x4cd1b7]===_0x498fb6([0x2a])));}function _0x371e1d(){return _0x3a3626&&_0x550b1a?new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x302489,_0x3a4e19)=>{_0x3a3626[_0x498fb6([0x74,0x68,0x65,0x6e])](_0x302489,_0x3a4e19),_0x550b1a[_0x498fb6([0x74,0x68,0x65,0x6e])](_0x4e9e1b=>{_0x4e9e1b!=_0x498fb6([0x56,0x61,0x6c,0x69,0x64])&&_0x302489(_0x4e9e1b);},_0x3a4e19);}):_0x3a3626||_0x550b1a||_0x498fb6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x387051(_0x839930,_0x41da52){return new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d1f53=>{if(_0x3df7bd())return _0x1d1f53(_0x498fb6([0x56,0x61,0x6c,0x69,0x64]));_0x3cb6da(),_0x269598[_0x498fb6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x498fb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d2014=!0x1;const _0x250429=_0x143948();function _0x421ff9(_0x809a4d){return!!_0x809a4d&&(typeof _0x809a4d===_0x498fb6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x809a4d===_0x498fb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x809a4d[_0x498fb6([0x74,0x68,0x65,0x6e])]===_0x498fb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x809a4d[_0x498fb6([0x63,0x61,0x74,0x63,0x68])]===_0x498fb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x62f209(_0x395bc4){_0x210104(_0x395bc4)[_0x498fb6([0x74,0x68,0x65,0x6e])](_0xcdbf31=>{if(!_0xcdbf31||_0xcdbf31[_0x498fb6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x498fb6([0x6f,0x6b]))return _0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11c999(_0x553b77(_0x250429+_0x41da52))!=_0xcdbf31[_0x498fb6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x498fb6([0x56,0x61,0x6c,0x69,0x64]);})[_0x498fb6([0x74,0x68,0x65,0x6e])](_0x1f9272=>(_0x3db061(),_0x1f9272),()=>{const _0x226246=_0x5ed9a1();return null==_0x226246?(_0x3db061(),_0x498fb6([0x56,0x61,0x6c,0x69,0x64])):_0x498fb6(_0x23ab97-_0x226246>(0x79b61714^_0x31a367)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x498fb6([0x74,0x68,0x65,0x6e])](_0x1d1f53)[_0x498fb6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d1f53(_0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfe6f4=0x5d8c7d94^_0x31a367;function _0x3db061(){const _0x1d6e7b=_0x498fb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x11c999(_0x553b77(_0x839930)),_0x48acd9=_0x3f351b(_0x11c999(window[_0x498fb6([0x4d,0x61,0x74,0x68])][_0x498fb6([0x63,0x65,0x69,0x6c])](_0x23ab97/_0xfe6f4)));window[_0x498fb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x498fb6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d6e7b,_0x48acd9);}function _0x5ed9a1(){const _0x5accf3=_0x498fb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x11c999(_0x553b77(_0x839930)),_0x26894e=window[_0x498fb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x498fb6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5accf3);return _0x26894e?window[_0x498fb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f351b(_0x26894e),0x10)*_0xfe6f4:null;}function _0x210104(_0x33588a){return new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb37f15,_0x137002)=>{_0x33588a[_0x498fb6([0x74,0x68,0x65,0x6e])](_0xb37f15,_0x137002),window[_0x498fb6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x137002,0x5dbb47d4^_0x31a367);});}}_0x269598[_0x498fb6([0x6f,0x6e])](_0x498fb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x293524,_0x59ff1f)=>{if(_0x59ff1f[0x0]!=_0x839930)return _0x1d1f53(_0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59ff1f[0x1]={..._0x59ff1f[0x1],[_0x498fb6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x250429};},{[_0x498fb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x498fb6([0x68,0x69,0x67,0x68])}),_0x269598[_0x498fb6([0x6f,0x6e])](_0x498fb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41883b=>{_0x421ff9(_0x41883b[_0x498fb6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d2014=!0x0,_0x62f209(_0x41883b[_0x498fb6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x498fb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x498fb6([0x6c,0x6f,0x77])}),_0x3fed02[_0x498fb6([0x74,0x68,0x65,0x6e])](()=>{_0x4d2014||_0x1d1f53(_0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3df7bd(){return _0x269598[_0x498fb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x498fb6([0x76,0x69,0x65,0x77])][_0x498fb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x498fb6([0x61,0x75,0x74,0x6f]);}function _0x3cb6da(){_0x269598[_0x498fb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x498fb6([0x76,0x69,0x65,0x77])][_0x498fb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x498fb6([0x61,0x75,0x74,0x6f]);}}function _0x422e3c(_0x30d800){const _0x80a8e7=[new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327eb8=>setTimeout(_0x327eb8,0x5db3add8^_0x31a367)),_0x3fed02[_0x498fb6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf2951=>{let _0x5d3cac=0x0;_0x269598[_0x498fb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x498fb6([0x6f,0x6e])](_0x498fb6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x198095,_0x3fc1fb)=>{_0x3fc1fb[0x0][_0x498fb6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d3cac++,_0x5d3cac==(0x5dba96fc^_0x31a367)&&(_0xcf2951(),_0x198095[_0x498fb6([0x6f,0x66,0x66])]());});}))];return window[_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x498fb6([0x72,0x61,0x63,0x65])](_0x80a8e7)[_0x498fb6([0x74,0x68,0x65,0x6e])](()=>_0x30d800);}async function _0x34a4f0(){await _0x3fed02,_0x269598[_0x498fb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x498fb6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2df2db,_0x269598[_0x498fb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x498fb6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2df2db,_0x269598[_0x498fb6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x498fb6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x524c2a(_0x2ef683){const _0x59f686=_0x4200ab();_0x269598[_0x59f686]=_0x498fb6([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])+_0x2ef683,_0x2ef683!=_0x498fb6([0x56,0x61,0x6c,0x69,0x64])&&_0x34a4f0();}function _0x4200ab(){const _0x5c933d=window[_0x498fb6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x498fb6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x498fb6([0x6e,0x6f,0x77])]())[_0x498fb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x498fb6([0x2e]),'');let _0x38fb9e=_0x498fb6([0x4e]);for(let _0x42f3ea=0x0;_0x42f3ea<_0x5c933d[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42f3ea+=0x2){let _0x42d6c3=window[_0x498fb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c933d[_0x498fb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42f3ea,_0x42f3ea+0x2));_0x42d6c3>=_0x46e38b[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42d6c3-=_0x46e38b[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38fb9e+=_0x46e38b[_0x42d6c3];}return _0x38fb9e;}function _0x40cc54(){const _0x1bc92b=_0x3bbc12[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])](_0x498fb6([0x2e]));if(0x3!=_0x1bc92b[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x298653(_0x1bc92b[0x1]);function _0x298653(_0x189cc7){const _0x519029=_0x4c7eb7(_0x189cc7);return _0x519029&&_0x1fed61()?_0x519029:null;function _0x1fed61(){const _0x30ffea=_0x519029[_0x498fb6([0x6a,0x74,0x69])],_0x38646a=window[_0x498fb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30ffea[_0x498fb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30ffea[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5cb8a9={..._0x519029,[_0x498fb6([0x6a,0x74,0x69])]:_0x30ffea[_0x498fb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30ffea[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5cb8a9[_0x498fb6([0x76,0x63])],_0x553b77(_0x5cb8a9)==_0x38646a;}}}async function _0xc5eea6(){let _0x26e2ab=!0x0;try{const _0x231eb9=_0x3bbc12[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])](_0x498fb6([0x2e])),[_0x591480,_0x582492,_0x524088]=_0x231eb9;return _0x3780de(_0x591480),await _0x212f11(_0x591480,_0x582492,_0x524088),_0x26e2ab;}catch{return!0x1;}function _0x3780de(_0x482744){const _0x3fbfb1=_0x4c7eb7(_0x482744);_0x3fbfb1&&_0x3fbfb1[_0x498fb6([0x61,0x6c,0x67])]==_0x498fb6([0x45,0x53,0x32,0x35,0x36])||(_0x26e2ab=!0x1);}async function _0x212f11(_0x667bea,_0x256996,_0x33127d){const _0xac59a3=window[_0x498fb6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x498fb6([0x66,0x72,0x6f,0x6d])](_0x196f00(_0x33127d),_0x1962d2=>_0x1962d2[_0x498fb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23790e=new window[(_0x498fb6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x498fb6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x667bea+_0x498fb6([0x2e])+_0x256996),_0x558379=window[_0x498fb6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x498fb6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x558379)return;const _0x5b888c=await _0x558379[_0x498fb6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x498fb6([0x6a,0x77,0x6b]),_0x2bb118,{[_0x498fb6([0x6e,0x61,0x6d,0x65])]:_0x498fb6([0x45,0x43,0x44,0x53,0x41]),[_0x498fb6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x498fb6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x498fb6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x558379[_0x498fb6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x498fb6([0x6e,0x61,0x6d,0x65])]:_0x498fb6([0x45,0x43,0x44,0x53,0x41]),[_0x498fb6([0x68,0x61,0x73,0x68])]:{[_0x498fb6([0x6e,0x61,0x6d,0x65])]:_0x498fb6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b888c,_0xac59a3,_0x23790e)||(_0x26e2ab=!0x1);}}function _0x4c7eb7(_0x10befb){return _0x10befb[_0x498fb6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x498fb6([0x65,0x79]))?JSON[_0x498fb6([0x70,0x61,0x72,0x73,0x65])](_0x196f00(_0x10befb)):null;}function _0x196f00(_0x1025f6){return window[_0x498fb6([0x61,0x74,0x6f,0x62])](_0x1025f6[_0x498fb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x498fb6([0x2b]))[_0x498fb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x498fb6([0x2f])));}function _0x553b77(_0x49b164){let _0x3c56b7=0x1505;function _0xc031dd(_0x56b8ca){for(let _0x202674=0x0;_0x202674<_0x56b8ca[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x202674++){const _0x8cc499=_0x56b8ca[_0x498fb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x202674);_0x3c56b7=(_0x3c56b7<<0x5)+_0x3c56b7+_0x8cc499,_0x3c56b7&=_0x3c56b7;}}function _0x16a1a9(_0x542e13){Array[_0x498fb6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x542e13)?_0x542e13[_0x498fb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16a1a9):_0x542e13&&typeof _0x542e13==_0x498fb6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x498fb6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x542e13)[_0x498fb6([0x73,0x6f,0x72,0x74])]()[_0x498fb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10e715,_0x3053f0])=>{_0xc031dd(_0x10e715),_0x16a1a9(_0x3053f0);}):_0xc031dd(window[_0x498fb6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x542e13));}return _0x16a1a9(_0x49b164),_0x3c56b7>>>0x0;}function _0x11c999(_0x754a84){return _0x754a84[_0x498fb6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x498fb6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x498fb6([0x30]));}function _0x3f351b(_0x28be34){return _0x28be34[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x498fb6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x498fb6([0x6a,0x6f,0x69,0x6e])]('');}function _0x2df2db(){}function _0x498fb6(_0x1a8f4b){const _0x2b60c8=_0x1605;return _0x1a8f4b[_0x2b60c8(0x20f)](_0x4f5899=>String[_0x2b60c8(0x1c1)](_0x4f5899))[_0x2b60c8(0x205)]('');}_0x524c2a(await _0x8cd14f());}(this);}[_0x440163(0x1de)](_0x283680,_0x3b95ea,_0x5c564f=!0x1){const _0x56c44d=_0x440163,_0x2b0ba5=new _0x283680(this[_0x56c44d(0x1c6)][_0x56c44d(0x213)]);return _0x2b0ba5[_0x56c44d(0x200)]({'withText':_0x5c564f,'isToggleable':!0x1}),_0x2b0ba5[_0x56c44d(0x1df)](_0x56c44d(0x1cd))['to'](_0x3b95ea,_0x56c44d(0x1cd)),this[_0x56c44d(0x1e5)](_0x2b0ba5,_0x56c44d(0x1e0),()=>_0x3b95ea[_0x56c44d(0x1e0)]()),_0x2b0ba5;}[_0x440163(0x1d0)](){const _0x123770=_0x440163,_0x10966e=this[_0x123770(0x1c6)][_0x123770(0x213)];this[_0x123770(0x1c6)][_0x123770(0x1e7)][_0x123770(0x1ed)]({'id':_0x123770(0x1d3),'label':_0x5e719f(_0x10966e,_0x123770(0x20c))});const _0x59961c=_0x1a15fe[_0x123770(0x1bf)]||_0x1a15fe[_0x123770(0x1fe)];this[_0x123770(0x1c6)][_0x123770(0x1e7)][_0x123770(0x1eb)]({'categoryId':_0x123770(0x1d3),'keystrokes':[{'label':_0x5e719f(_0x10966e,_0x123770(0x20e)),'keystroke':_0x123770(0x1ea)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1c0)),'keystroke':_0x123770(0x20a)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1e4)),'keystroke':_0x123770(0x1d5)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1da)),'keystroke':_0x123770(0x1bc)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1ec)),'keystroke':_0x123770(0x1f1)},{'label':_0x5e719f(_0x10966e,_0x123770(0x204)),'keystroke':_0x123770(0x20b)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1e3)),'keystroke':_0x59961c?_0x123770(0x208):_0x123770(0x1c9)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1bd)),'keystroke':_0x123770(0x1c2)},{'label':_0x5e719f(_0x10966e,_0x123770(0x210)),'keystroke':_0x123770(0x1dc)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1c4)),'keystroke':[[_0x123770(0x1cb)],[_0x123770(0x1f2)]]},{'label':_0x5e719f(_0x10966e,_0x123770(0x1ff)),'keystroke':_0x59961c?_0x123770(0x1e2):_0x123770(0x1e8)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1d4)),'keystroke':_0x59961c?_0x123770(0x1d6):_0x123770(0x1fc)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1d7)),'keystroke':_0x123770(0x1f0)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1f6)),'keystroke':_0x123770(0x1ef)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1c3)),'keystroke':_0x123770(0x1c7)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1ca)),'keystroke':_0x123770(0x1fb)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1f4)),'keystroke':_0x59961c?_0x123770(0x203):_0x123770(0x212)}]});}}