@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20251011.0 → 0.0.0-nightly-20251013.0

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 _0x52cade,PendingActions as _0x42b176,Plugin as _0x132003}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xc12d87,formatHtml as _0x273ce2,env as _0x2fff6f,uid as _0x106b49}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x5224df}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x15f425,ButtonView as _0x250e28,MenuBarMenuListItemButtonView as _0x3e9751}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3c6ac7,crosshairCursor as _0xf7b3d1,drawSelection as _0x27bee8,dropCursor as _0x3431e5,lineNumbers as _0x3363eb,highlightActiveLine as _0x3e55ca,highlightActiveLineGutter as _0x13dfdf,highlightSpecialChars as _0x4596de,rectangularSelection as _0x41ce9e,keymap as _0x38c0b4}from'@codemirror/view';import{Compartment as _0x130f0e,Transaction as _0x18a0e1}from'@codemirror/state';import{bracketMatching as _0x5ebf87,foldGutter as _0x590b77,indentOnInput as _0x54aba4,syntaxHighlighting as _0x2faa1f,defaultHighlightStyle as _0x2a5847,foldKeymap as _0x21f62a}from'@codemirror/language';import{toggleTabFocusMode as _0xfa3798,history as _0x494ae9,defaultKeymap as _0xde0aa6,historyKeymap as _0x570206,indentLess as _0x1f2ecd,indentMore as _0x4d6914,redo as _0xd32371,undo as _0x23d219}from'@codemirror/commands';import{autocompletion as _0x4c0376,closeBrackets as _0x768468,closeBracketsKeymap as _0xc8d6cf,completionKeymap as _0x28268c}from'@codemirror/autocomplete';import{html as _0x18103e}from'@codemirror/lang-html';import{markdown as _0x561d1d}from'@codemirror/lang-markdown';import{oneDark as _0x1018b9}from'@codemirror/theme-one-dark';function w(_0x1f5576,_0x33d140){const t=_0x1f5576['t'];switch(_0x33d140){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 _0x33d140;}}function r(_0x578863){const _0x591e3d=_0x578863['editing']['view']['document']['roots'],_0x22e31d=_0x591e3d['length'];if(0x0===_0x22e31d)throw new _0xc12d87('source-editing-enhanced-editor-no-root',_0x578863);if(0x1===_0x22e31d)return _0x591e3d['first']['rootName'];return Array['from'](_0x578863['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0xd9ce9b){return tr(_0xd9ce9b['replace'](/^[\n\s]*/g,''))?_0xd9ce9b['replace'](/\s+/g,''):_0xd9ce9b;}function tr(_0x4584ca){return _0x4584ca['startsWith']('<');}function p(_0x420da2){const _0x181551=[_0x3c6ac7['lineWrapping'],_0x4c0376(),_0x5ebf87(),_0x768468(),_0xf7b3d1(),_0x27bee8(),_0x3431e5(),_0x3363eb(),_0x590b77(),_0x3e55ca(),_0x13dfdf(),_0x4596de(),_0x494ae9(),_0x54aba4(),_0x41ce9e(),_0x2faa1f(_0x2a5847,{'fallback':!0x0})],_0x3ba8e0=new _0x130f0e();_0x181551['push'](_0x3ba8e0['of'](_0x3c6ac7['editable']['of'](!0x0))),'html'===_0x420da2['syntaxLanguage']?_0x181551['push'](_0x18103e()):_0x181551['push'](_0x561d1d());const _0x150bd4=function(_0x57cc2c){if(_0x57cc2c&&'default'!==_0x57cc2c)return'dark'===_0x57cc2c?_0x1018b9:_0x57cc2c;return null;}(_0x420da2['theme']);_0x150bd4&&_0x181551['push'](_0x150bd4),_0x181551['push'](_0x38c0b4['of']([..._0xc8d6cf,..._0xde0aa6,..._0x570206,..._0x21f62a,..._0x28268c,{'key':'Tab','run':_0x4d6914,'shift':_0x1f2ecd,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xd32371,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xd32371,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x23d219,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x4c45df=new _0x3c6ac7({'extensions':_0x181551,'parent':_0x420da2['parent']});return _0xfa3798(_0x4c45df),{'focus':()=>{_0x4c45df['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4c45df['focus']();},'getData':()=>_0x4c45df['state']['doc']['toString'](),'setData':_0x4d6d83=>{_0x4c45df['dispatch']({'changes':{'from':0x0,'to':_0x4c45df['state']['doc']['length'],'insert':_0x4d6d83},'annotations':_0x18a0e1['addToHistory']['of'](!0x1)});},'setReadOnly':_0x25d50f=>{_0x4c45df['dispatch']({'effects':[_0x3ba8e0['reconfigure'](_0x3c6ac7['editable']['of'](!_0x25d50f))]});},'destroy':()=>{_0x4c45df['destroy']();},'instance':_0x4c45df};}class E extends _0x15f425{['_codeEditorApi']=null;['_options'];constructor(_0x295437,_0x6f177e){super(_0x295437),this['_options']=_0x6f177e,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',(_0xdad7df,_0x4986e0,_0x4cf411)=>{this['setReadOnly'](_0x4cf411);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x117640){this['_codeEditorApi']['setData'](_0x117640);}['setReadOnly'](_0x4484ed){this['_codeEditorApi']['setReadOnly'](_0x4484ed);}}const b='SourceEditingEnhancedMode';class d extends _0x52cade{constructor(_0x12eced){super(_0x12eced),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x42b176)['on']('change:hasAny',(_0x1b4ea6,_0x395354,_0x5da75b)=>{_0x5da75b?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x2df63d=this['editor'];for(const _0x127e35 of _0x2df63d['commands']['names']())['replaceSource','editSource']['includes'](_0x127e35)||_0x2df63d['commands']['get'](_0x127e35)['forceDisabled'](b);}['_enableCommands'](){const _0x1bd5b0=this['editor'];for(const _0x2d5f65 of _0x1bd5b0['commands']['commands']())_0x2d5f65['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1be566=this['editor'],_0x183206=_0x1be566['locale'],_0xc862ba=_0x1be566['plugins']['get']('Dialog'),_0xc60d47=r(_0x1be566),_0x570e74=_0x1be566['data']['get']({'rootName':_0xc60d47}),_0x2ee821=tr(_0x10af4f=_0x570e74)?_0x273ce2(_0x10af4f):_0x10af4f;var _0x10af4f;const _0x4f32e3=new E(_0x183206,{'syntaxLanguage':_0x1be566['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1be566['config']['get']('sourceEditingEnhanced.theme')});let _0x496576=!0x0;const _0x28e1d8=_0x2b8bf2=>{if(!_0x496576)return;return g(_0x4f32e3['getData']())!==g(_0x2ee821)?window['confirm'](w(_0x183206,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2b8bf2['stop']():void 0x0;};_0xc862ba['show']({'id':'sourceEditingEnhanced','title':w(_0x183206,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4f32e3,'actionButtons':[{'label':w(_0x183206,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xc862ba['hide']();}},{'label':w(_0x183206,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x31f8d7=g(_0x4f32e3['getData']())!==g(_0x2ee821);(_0x31f8d7&&_0x1be566['execute']('replaceSource',_0x4f32e3['getData']()),_0x496576=!0x1,_0xc862ba['hide'](),_0x31f8d7&&'editables'in _0x1be566['ui']['view'])&&_0x1be566['ui']['view']['editables'][_0xc60d47]['element']['focus']();},'onCreate':_0xc859c6=>{_0xc859c6['set']('isEnabled',!_0x1be566['isReadOnly']),_0xc859c6['bind']('isEnabled')['to'](_0x1be566,'isReadOnly',this,'isEnabled',(_0x2c131c,_0x45a763)=>!_0x2c131c&&_0x45a763);}}],'onHide':()=>{this['_enableCommands'](),_0xc862ba['off']('hide',_0x28e1d8),_0x4f32e3['destroy']();},'onShow':()=>{_0x4f32e3['bind']('isReadOnly')['to'](_0x1be566,'isReadOnly',this,'isEnabled',(_0x3cfae9,_0x108bbe)=>_0x3cfae9||!_0x108bbe),_0x4f32e3['setData'](_0x2ee821),_0x4f32e3['focus'](),_0xc862ba['on']('hide',_0x28e1d8,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x132003{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x42b176];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xcb1328=this['editor'],_0x516069=_0xcb1328['locale'],_0x376a72=new d(_0xcb1328);_0xcb1328['commands']['add']('editSource',_0x376a72),_0xcb1328['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x273ceb=this['_createButton'](_0x250e28,_0x376a72);return _0x273ceb['set']({'label':w(_0x516069,'Source'),'icon':_0x5224df,'tooltip':w(_0x516069,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x273ceb;}),_0xcb1328['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x23189a=this['_createButton'](_0x3e9751,_0x376a72,!0x0);return _0x23189a['set']({'label':w(_0x516069,'Edit\x20source\x20modal\x20label'),'icon':_0x5224df,'role':'menuitemcheckbox'}),_0x23189a;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x5bcdff){const _0x358636=_0x4f4819([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x30edfe=0x305505ed,_0x322a7b=0x3052700d^_0x30edfe,_0x500431=window[_0x4f4819([0x44,0x61,0x74,0x65])][_0x4f4819([0x6e,0x6f,0x77])](),_0x2efe20=_0x5bcdff[_0x4f4819([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21495c=new window[(_0x4f4819([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbddc01=>{_0x2efe20[_0x4f4819([0x6f,0x6e,0x63,0x65])](_0x4f4819([0x72,0x65,0x61,0x64,0x79]),_0xbddc01);}),_0x4fa487={[_0x4f4819([0x6b,0x74,0x79])]:_0x4f4819([0x45,0x43]),[_0x4f4819([0x75,0x73,0x65])]:_0x4f4819([0x73,0x69,0x67]),[_0x4f4819([0x63,0x72,0x76])]:_0x4f4819([0x50,0x2d,0x32,0x35,0x36]),[_0x4f4819([0x78])]:_0x4f4819([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]),[_0x4f4819([0x79])]:_0x4f4819([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]),[_0x4f4819([0x61,0x6c,0x67])]:_0x4f4819([0x45,0x53,0x32,0x35,0x36])},_0x342fc2=_0x2efe20[_0x4f4819([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f4819([0x67,0x65,0x74])](_0x4f4819([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x247da7(){let _0x4ae003,_0x5ab2dc=null,_0x265d6c=null;try{if(_0x342fc2==_0x4f4819([0x47,0x50,0x4c]))return _0x4f4819([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ae003=_0x1161bc(),!_0x4ae003)return _0x4f4819([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ae003[_0x4f4819([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x265d6c=_0x224b2b(_0x4ae003[_0x4f4819([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ae003[_0x4f4819([0x6a,0x74,0x69])])),await _0x456e59()?_0x244f31()?_0x2309e2()?_0x4f4819([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x335a7f()?(_0x4ae003[_0x4f4819([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f4819([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ab2dc=_0x5c31c1(_0x4f4819([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4ae003[_0x4f4819([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f4819([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ab2dc=_0x5c31c1(_0x4f4819([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3c7988()):_0x4f4819([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f4819([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f4819([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f4819([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2309e2(){const _0x37db42=[_0x4f4819([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f4819([0x74,0x72,0x69,0x61,0x6c])][_0x4f4819([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ae003[_0x4f4819([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x500431/0x3e8:0xe10*_0x322a7b;return _0x4ae003[_0x4f4819([0x65,0x78,0x70])]<_0x37db42;}function _0x244f31(){const _0x5ee990=_0x4ae003[_0x4f4819([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ee990&&(!!_0x5ee990[_0x4f4819([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4819([0x2a]))||!!_0x5ee990[_0x4f4819([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4819([0x53,0x45,0x45])));}function _0x335a7f(){const _0x126c5a=_0x4ae003[_0x4f4819([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x126c5a||0x0==_0x126c5a[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x142a8f}=new URL(window[_0x4f4819([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x126c5a[_0x4f4819([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x142a8f))return!0x0;const _0x5d4c3e=_0x142a8f[_0x4f4819([0x73,0x70,0x6c,0x69,0x74])](_0x4f4819([0x2e]));return _0x126c5a[_0x4f4819([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5491a0=>_0x5491a0[_0x4f4819([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4819([0x2a])))[_0x4f4819([0x6d,0x61,0x70])](_0x919b47=>_0x919b47[_0x4f4819([0x73,0x70,0x6c,0x69,0x74])](_0x4f4819([0x2e])))[_0x4f4819([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d4e7f=>_0x4d4e7f[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5d4c3e[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f4819([0x6d,0x61,0x70])](_0x3b4406=>Array(_0x5d4c3e[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b4406[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f4819([0x66,0x69,0x6c,0x6c])](_0x3b4406[0x0]===_0x4f4819([0x2a])?_0x4f4819([0x2a]):'')[_0x4f4819([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b4406))[_0x4f4819([0x73,0x6f,0x6d,0x65])](_0x262d5f=>_0x5d4c3e[_0x4f4819([0x65,0x76,0x65,0x72,0x79])]((_0x4fe487,_0x4b1c0c)=>_0x262d5f[_0x4b1c0c]===_0x4fe487||_0x262d5f[_0x4b1c0c]===_0x4f4819([0x2a])));}function _0x3c7988(){return _0x5ab2dc&&_0x265d6c?new window[(_0x4f4819([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x364a4e,_0xe31c4)=>{_0x5ab2dc[_0x4f4819([0x74,0x68,0x65,0x6e])](_0x364a4e,_0xe31c4),_0x265d6c[_0x4f4819([0x74,0x68,0x65,0x6e])](_0x371a6f=>{_0x371a6f!=_0x4f4819([0x56,0x61,0x6c,0x69,0x64])&&_0x364a4e(_0x371a6f);},_0xe31c4);}):_0x5ab2dc||_0x265d6c||_0x4f4819([0x56,0x61,0x6c,0x69,0x64]);}}function _0x224b2b(_0x50751a,_0x54fda8){return new window[(_0x4f4819([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c79d4=>{if(_0x5e046c())return _0x5c79d4(_0x4f4819([0x56,0x61,0x6c,0x69,0x64]));_0x4a0055(),_0x2efe20[_0x4f4819([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f4819([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x34195d=!0x1;const _0x421869=_0x106b49();function _0x222b97(_0x311594){return!!_0x311594&&(typeof _0x311594===_0x4f4819([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x311594===_0x4f4819([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x311594[_0x4f4819([0x74,0x68,0x65,0x6e])]===_0x4f4819([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x311594[_0x4f4819([0x63,0x61,0x74,0x63,0x68])]===_0x4f4819([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27e60d(_0x5f2c34){_0x51af11(_0x5f2c34)[_0x4f4819([0x74,0x68,0x65,0x6e])](_0x471060=>{if(!_0x471060||_0x471060[_0x4f4819([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f4819([0x6f,0x6b]))return _0x4f4819([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x493d86(_0x5860a4(_0x421869+_0x54fda8))!=_0x471060[_0x4f4819([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f4819([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f4819([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f4819([0x74,0x68,0x65,0x6e])](_0x5a63ff=>(_0x4bdc2c(),_0x5a63ff),()=>{const _0x4ed374=_0x431f5a();return null==_0x4ed374?(_0x4bdc2c(),_0x4f4819([0x56,0x61,0x6c,0x69,0x64])):_0x4f4819(_0x500431-_0x4ed374>(0x145981ed^_0x30edfe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f4819([0x74,0x68,0x65,0x6e])](_0x5c79d4)[_0x4f4819([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c79d4(_0x4f4819([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f8c03=0x3063eb6d^_0x30edfe;function _0x4bdc2c(){const _0x17c00a=_0x4f4819([0x6c,0x6c,0x63,0x74,0x2d])+_0x493d86(_0x5860a4(_0x50751a)),_0x4e78a5=_0x39779f(_0x493d86(window[_0x4f4819([0x4d,0x61,0x74,0x68])][_0x4f4819([0x63,0x65,0x69,0x6c])](_0x500431/_0x1f8c03)));window[_0x4f4819([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f4819([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17c00a,_0x4e78a5);}function _0x431f5a(){const _0x5a28ab=_0x4f4819([0x6c,0x6c,0x63,0x74,0x2d])+_0x493d86(_0x5860a4(_0x50751a)),_0x4f6df7=window[_0x4f4819([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f4819([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a28ab);return _0x4f6df7?window[_0x4f4819([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39779f(_0x4f6df7),0x10)*_0x1f8c03:null;}function _0x51af11(_0x57e6d1){return new window[(_0x4f4819([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x123024,_0x5c641f)=>{_0x57e6d1[_0x4f4819([0x74,0x68,0x65,0x6e])](_0x123024,_0x5c641f),window[_0x4f4819([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c641f,0x3054d12d^_0x30edfe);});}}_0x2efe20[_0x4f4819([0x6f,0x6e])](_0x4f4819([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c5bf9,_0xa20cbc)=>{if(_0xa20cbc[0x0]!=_0x50751a)return _0x5c79d4(_0x4f4819([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa20cbc[0x1]={..._0xa20cbc[0x1],[_0x4f4819([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x421869};},{[_0x4f4819([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f4819([0x68,0x69,0x67,0x68])}),_0x2efe20[_0x4f4819([0x6f,0x6e])](_0x4f4819([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xef6420=>{_0x222b97(_0xef6420[_0x4f4819([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x34195d=!0x0,_0x27e60d(_0xef6420[_0x4f4819([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f4819([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f4819([0x6c,0x6f,0x77])}),_0x21495c[_0x4f4819([0x74,0x68,0x65,0x6e])](()=>{_0x34195d||_0x5c79d4(_0x4f4819([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e046c(){return _0x2efe20[_0x4f4819([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f4819([0x76,0x69,0x65,0x77])][_0x4f4819([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f4819([0x61,0x75,0x74,0x6f]);}function _0x4a0055(){_0x2efe20[_0x4f4819([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f4819([0x76,0x69,0x65,0x77])][_0x4f4819([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f4819([0x61,0x75,0x74,0x6f]);}}function _0x5c31c1(_0x179bdd){const _0x4c4081=[new window[(_0x4f4819([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a0420=>setTimeout(_0x2a0420,0x305c3b21^_0x30edfe)),_0x21495c[_0x4f4819([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f4819([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d940d=>{let _0x1712a0=0x0;_0x2efe20[_0x4f4819([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f4819([0x6f,0x6e])](_0x4f4819([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa38e25,_0x2e5373)=>{_0x2e5373[0x0][_0x4f4819([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1712a0++,_0x1712a0==(0x30550415^_0x30edfe)&&(_0x4d940d(),_0xa38e25[_0x4f4819([0x6f,0x66,0x66])]());});}))];return window[_0x4f4819([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f4819([0x72,0x61,0x63,0x65])](_0x4c4081)[_0x4f4819([0x74,0x68,0x65,0x6e])](()=>_0x179bdd);}async function _0x1d34e4(){await _0x21495c,_0x2efe20[_0x4f4819([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f4819([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa38b76,_0x2efe20[_0x4f4819([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f4819([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa38b76,_0x2efe20[_0x4f4819([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f4819([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11fea7(_0x2b5479){const _0x2f4ad6=_0x51368c();_0x2efe20[_0x2f4ad6]=_0x4f4819([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])+_0x2b5479,_0x2b5479!=_0x4f4819([0x56,0x61,0x6c,0x69,0x64])&&_0x1d34e4();}function _0x51368c(){const _0x512fec=window[_0x4f4819([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f4819([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f4819([0x6e,0x6f,0x77])]())[_0x4f4819([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f4819([0x2e]),'');let _0x2928b0=_0x4f4819([0x75]);for(let _0x8dec6a=0x0;_0x8dec6a<_0x512fec[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8dec6a+=0x2){let _0x3eaf8e=window[_0x4f4819([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x512fec[_0x4f4819([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8dec6a,_0x8dec6a+0x2));_0x3eaf8e>=_0x358636[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3eaf8e-=_0x358636[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2928b0+=_0x358636[_0x3eaf8e];}return _0x2928b0;}function _0x1161bc(){const _0x147229=_0x342fc2[_0x4f4819([0x73,0x70,0x6c,0x69,0x74])](_0x4f4819([0x2e]));if(0x3!=_0x147229[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x215bc2(_0x147229[0x1]);function _0x215bc2(_0x4e8067){const _0x1b91ec=_0x173957(_0x4e8067);return _0x1b91ec&&_0xd2990c()?_0x1b91ec:null;function _0xd2990c(){const _0x5bc16a=_0x1b91ec[_0x4f4819([0x6a,0x74,0x69])],_0x4681d1=window[_0x4f4819([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bc16a[_0x4f4819([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bc16a[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37a5f6={..._0x1b91ec,[_0x4f4819([0x6a,0x74,0x69])]:_0x5bc16a[_0x4f4819([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5bc16a[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37a5f6[_0x4f4819([0x76,0x63])],_0x5860a4(_0x37a5f6)==_0x4681d1;}}}async function _0x456e59(){let _0x11b433=!0x0;try{const _0x5e1a86=_0x342fc2[_0x4f4819([0x73,0x70,0x6c,0x69,0x74])](_0x4f4819([0x2e])),[_0x1a7a10,_0x290780,_0x3ed7fa]=_0x5e1a86;return _0x58a063(_0x1a7a10),await _0x133eaa(_0x1a7a10,_0x290780,_0x3ed7fa),_0x11b433;}catch{return!0x1;}function _0x58a063(_0x20050e){const _0x131182=_0x173957(_0x20050e);_0x131182&&_0x131182[_0x4f4819([0x61,0x6c,0x67])]==_0x4f4819([0x45,0x53,0x32,0x35,0x36])||(_0x11b433=!0x1);}async function _0x133eaa(_0x174e62,_0x1c93bb,_0x5838d0){const _0x4b9de8=window[_0x4f4819([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f4819([0x66,0x72,0x6f,0x6d])](_0x5d0505(_0x5838d0),_0x21d4eb=>_0x21d4eb[_0x4f4819([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x271f66=new window[(_0x4f4819([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f4819([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x174e62+_0x4f4819([0x2e])+_0x1c93bb),_0x47d299=window[_0x4f4819([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f4819([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47d299)return;const _0x4f9412=await _0x47d299[_0x4f4819([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f4819([0x6a,0x77,0x6b]),_0x4fa487,{[_0x4f4819([0x6e,0x61,0x6d,0x65])]:_0x4f4819([0x45,0x43,0x44,0x53,0x41]),[_0x4f4819([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f4819([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f4819([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47d299[_0x4f4819([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f4819([0x6e,0x61,0x6d,0x65])]:_0x4f4819([0x45,0x43,0x44,0x53,0x41]),[_0x4f4819([0x68,0x61,0x73,0x68])]:{[_0x4f4819([0x6e,0x61,0x6d,0x65])]:_0x4f4819([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f9412,_0x4b9de8,_0x271f66)||(_0x11b433=!0x1);}}function _0x173957(_0x2ba6b6){return _0x2ba6b6[_0x4f4819([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f4819([0x65,0x79]))?JSON[_0x4f4819([0x70,0x61,0x72,0x73,0x65])](_0x5d0505(_0x2ba6b6)):null;}function _0x5d0505(_0x16e779){return window[_0x4f4819([0x61,0x74,0x6f,0x62])](_0x16e779[_0x4f4819([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f4819([0x2b]))[_0x4f4819([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f4819([0x2f])));}function _0x5860a4(_0x25fc5f){let _0x33a025=0x1505;function _0x5d7b61(_0x55c932){for(let _0xca0958=0x0;_0xca0958<_0x55c932[_0x4f4819([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xca0958++){const _0x2f5500=_0x55c932[_0x4f4819([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xca0958);_0x33a025=(_0x33a025<<0x5)+_0x33a025+_0x2f5500,_0x33a025&=_0x33a025;}}function _0x691f8e(_0x54cfc4){Array[_0x4f4819([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x54cfc4)?_0x54cfc4[_0x4f4819([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x691f8e):_0x54cfc4&&typeof _0x54cfc4==_0x4f4819([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f4819([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x54cfc4)[_0x4f4819([0x73,0x6f,0x72,0x74])]()[_0x4f4819([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ff87f,_0x59614d])=>{_0x5d7b61(_0x2ff87f),_0x691f8e(_0x59614d);}):_0x5d7b61(window[_0x4f4819([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x54cfc4));}return _0x691f8e(_0x25fc5f),_0x33a025>>>0x0;}function _0x493d86(_0x5b8f7a){return _0x5b8f7a[_0x4f4819([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f4819([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f4819([0x30]));}function _0x39779f(_0x5142a6){return _0x5142a6[_0x4f4819([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f4819([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f4819([0x6a,0x6f,0x69,0x6e])]('');}function _0xa38b76(){}function _0x4f4819(_0x1ba4e9){return _0x1ba4e9['map'](_0x4ab0fe=>String['fromCharCode'](_0x4ab0fe))['join']('');}_0x11fea7(await _0x247da7());}(this);}['_createButton'](_0x3bedbe,_0x4f3fa0,_0x5558f4=!0x1){const _0x2c9676=new _0x3bedbe(this['editor']['locale']);return _0x2c9676['set']({'withText':_0x5558f4,'isToggleable':!0x1}),_0x2c9676['bind']('isEnabled')['to'](_0x4f3fa0,'isEnabled'),this['listenTo'](_0x2c9676,'execute',()=>_0x4f3fa0['execute']()),_0x2c9676;}['_registerKeybindings'](){const _0x3e6439=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x3e6439,'Source\x20Editing\x20Enhanced')});const _0x476660=_0x2fff6f['isMac']||_0x2fff6f['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x3e6439,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x3e6439,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x3e6439,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x3e6439,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x3e6439,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x3e6439,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x3e6439,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x476660?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x3e6439,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x3e6439,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x3e6439,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x3e6439,'Select\x20line'),'keystroke':_0x476660?'Ctrl!+L':'Alt+L'},{'label':w(_0x3e6439,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x476660?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x3e6439,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x3e6439,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x3e6439,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x3e6439,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x3e6439,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x476660?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x52cade{constructor(_0x3c5b24){super(_0x3c5b24),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x4b96e9,_0x172936){const _0x44ee28=this['editor'],_0x412023=_0x172936?.['rootName']??r(_0x44ee28);_0x44ee28['data']['set']({[_0x412023]:_0x4b96e9},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x132003{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x147503){super(_0x147503),_0x147503['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 _0x59587d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x280c0f;for(const _0x35c3c4 in _0x59587d){const _0x182352=_0x35c3c4,_0x30ea92=_0x59587d[_0x182352];if('sourceEditingEnhancedLicenseKeyValid'==_0x30ea92||'sourceEditingEnhancedLicenseKeyInvalid'==_0x30ea92||'sourceEditingEnhancedLicenseKeyExpired'==_0x30ea92||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x30ea92||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x30ea92||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x30ea92||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x30ea92||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x30ea92){delete _0x59587d[_0x182352],_0x280c0f=_0x30ea92,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x280c0f&&_0x59587d['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x280c0f&&_0x59587d['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x280c0f&&_0x59587d['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x280c0f&&_0x59587d['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x280c0f&&_0x59587d['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x280c0f&&_0x59587d['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x280c0f&&_0x59587d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xd8bbf8=this['editor'],_0x495fbd=_0xd8bbf8['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x495fbd&&_0xd8bbf8['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xc12d87('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x495fbd&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0xf54777=>_0xd8bbf8['plugins']['has'](_0xf54777))&&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.'),_0xd8bbf8['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 _0x1a2727,PendingActions as _0x35fae1,Plugin as _0x23f913}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x65c391,formatHtml as _0x4945a0,env as _0x7ed405,uid as _0x4a99c2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1c1b61}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2ad422,ButtonView as _0x44fda8,MenuBarMenuListItemButtonView as _0x347e13}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x5ee3f9,crosshairCursor as _0x3707d6,drawSelection as _0x1a1623,dropCursor as _0x23372f,lineNumbers as _0x658f42,highlightActiveLine as _0x1ef50b,highlightActiveLineGutter as _0x5ef673,highlightSpecialChars as _0x19f4e5,rectangularSelection as _0x2b8472,keymap as _0x5eb83d}from'@codemirror/view';import{Compartment as _0x1d7ad7,Transaction as _0x1667f3}from'@codemirror/state';import{bracketMatching as _0x2846eb,foldGutter as _0x16800c,indentOnInput as _0x1a09ab,syntaxHighlighting as _0x3b6317,defaultHighlightStyle as _0x1cd483,foldKeymap as _0xec2ce3}from'@codemirror/language';import{toggleTabFocusMode as _0x122986,history as _0x2358f2,defaultKeymap as _0x121eec,historyKeymap as _0x2a3ae4,indentLess as _0x211c03,indentMore as _0x44f183,redo as _0x5a6afd,undo as _0x18ea3b}from'@codemirror/commands';import{autocompletion as _0x308e94,closeBrackets as _0x450417,closeBracketsKeymap as _0x408aa1,completionKeymap as _0x2157cc}from'@codemirror/autocomplete';import{html as _0x50504c}from'@codemirror/lang-html';import{markdown as _0x16623f}from'@codemirror/lang-markdown';import{oneDark as _0x3770c8}from'@codemirror/theme-one-dark';function w(_0x20e886,_0x49c3ed){const t=_0x20e886['t'];switch(_0x49c3ed){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 _0x49c3ed;}}function r(_0x214c51){const _0x41ae99=_0x214c51['editing']['view']['document']['roots'],_0x4f940f=_0x41ae99['length'];if(0x0===_0x4f940f)throw new _0x65c391('source-editing-enhanced-editor-no-root',_0x214c51);if(0x1===_0x4f940f)return _0x41ae99['first']['rootName'];return Array['from'](_0x214c51['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x40f2f4){return tr(_0x40f2f4['replace'](/^[\n\s]*/g,''))?_0x40f2f4['replace'](/\s+/g,''):_0x40f2f4;}function tr(_0x4e1a08){return _0x4e1a08['startsWith']('<');}function p(_0x3438e8){const _0x2186c6=[_0x5ee3f9['lineWrapping'],_0x308e94(),_0x2846eb(),_0x450417(),_0x3707d6(),_0x1a1623(),_0x23372f(),_0x658f42(),_0x16800c(),_0x1ef50b(),_0x5ef673(),_0x19f4e5(),_0x2358f2(),_0x1a09ab(),_0x2b8472(),_0x3b6317(_0x1cd483,{'fallback':!0x0})],_0x3c8f4a=new _0x1d7ad7();_0x2186c6['push'](_0x3c8f4a['of'](_0x5ee3f9['editable']['of'](!0x0))),'html'===_0x3438e8['syntaxLanguage']?_0x2186c6['push'](_0x50504c()):_0x2186c6['push'](_0x16623f());const _0x42622b=function(_0x551d47){if(_0x551d47&&'default'!==_0x551d47)return'dark'===_0x551d47?_0x3770c8:_0x551d47;return null;}(_0x3438e8['theme']);_0x42622b&&_0x2186c6['push'](_0x42622b),_0x2186c6['push'](_0x5eb83d['of']([..._0x408aa1,..._0x121eec,..._0x2a3ae4,..._0xec2ce3,..._0x2157cc,{'key':'Tab','run':_0x44f183,'shift':_0x211c03,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x5a6afd,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x5a6afd,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x18ea3b,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x1f72a6=new _0x5ee3f9({'extensions':_0x2186c6,'parent':_0x3438e8['parent']});return _0x122986(_0x1f72a6),{'focus':()=>{_0x1f72a6['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x1f72a6['focus']();},'getData':()=>_0x1f72a6['state']['doc']['toString'](),'setData':_0x45a78c=>{_0x1f72a6['dispatch']({'changes':{'from':0x0,'to':_0x1f72a6['state']['doc']['length'],'insert':_0x45a78c},'annotations':_0x1667f3['addToHistory']['of'](!0x1)});},'setReadOnly':_0x510a85=>{_0x1f72a6['dispatch']({'effects':[_0x3c8f4a['reconfigure'](_0x5ee3f9['editable']['of'](!_0x510a85))]});},'destroy':()=>{_0x1f72a6['destroy']();},'instance':_0x1f72a6};}class E extends _0x2ad422{['_codeEditorApi']=null;['_options'];constructor(_0x224d1b,_0x1b50a4){super(_0x224d1b),this['_options']=_0x1b50a4,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',(_0x53d653,_0x48cde9,_0x4c168d)=>{this['setReadOnly'](_0x4c168d);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x158b08){this['_codeEditorApi']['setData'](_0x158b08);}['setReadOnly'](_0x58d5f1){this['_codeEditorApi']['setReadOnly'](_0x58d5f1);}}const b='SourceEditingEnhancedMode';class d extends _0x1a2727{constructor(_0xe41e8){super(_0xe41e8),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x35fae1)['on']('change:hasAny',(_0x472a39,_0xf1de50,_0x59666d)=>{_0x59666d?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x1e6124=this['editor'];for(const _0x36ca1b of _0x1e6124['commands']['names']())['replaceSource','editSource']['includes'](_0x36ca1b)||_0x1e6124['commands']['get'](_0x36ca1b)['forceDisabled'](b);}['_enableCommands'](){const _0x581b3d=this['editor'];for(const _0x3296cd of _0x581b3d['commands']['commands']())_0x3296cd['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x18bd30=this['editor'],_0x720689=_0x18bd30['locale'],_0xc45fba=_0x18bd30['plugins']['get']('Dialog'),_0x48a73c=r(_0x18bd30),_0x4656bc=_0x18bd30['data']['get']({'rootName':_0x48a73c}),_0x56080a=tr(_0x5a04a5=_0x4656bc)?_0x4945a0(_0x5a04a5):_0x5a04a5;var _0x5a04a5;const _0xfb2dc2=new E(_0x720689,{'syntaxLanguage':_0x18bd30['plugins']['has']('Markdown')?'markdown':'html','theme':_0x18bd30['config']['get']('sourceEditingEnhanced.theme')});let _0x4923c5=!0x0;const _0x4fa1b9=_0x570ecc=>{if(!_0x4923c5)return;return g(_0xfb2dc2['getData']())!==g(_0x56080a)?window['confirm'](w(_0x720689,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x570ecc['stop']():void 0x0;};_0xc45fba['show']({'id':'sourceEditingEnhanced','title':w(_0x720689,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xfb2dc2,'actionButtons':[{'label':w(_0x720689,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xc45fba['hide']();}},{'label':w(_0x720689,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x16c154=g(_0xfb2dc2['getData']())!==g(_0x56080a);(_0x16c154&&_0x18bd30['execute']('replaceSource',_0xfb2dc2['getData']()),_0x4923c5=!0x1,_0xc45fba['hide'](),_0x16c154&&'editables'in _0x18bd30['ui']['view'])&&_0x18bd30['ui']['view']['editables'][_0x48a73c]['element']['focus']();},'onCreate':_0x568288=>{_0x568288['set']('isEnabled',!_0x18bd30['isReadOnly']),_0x568288['bind']('isEnabled')['to'](_0x18bd30,'isReadOnly',this,'isEnabled',(_0x1a373f,_0x5f0fc9)=>!_0x1a373f&&_0x5f0fc9);}}],'onHide':()=>{this['_enableCommands'](),_0xc45fba['off']('hide',_0x4fa1b9),_0xfb2dc2['destroy']();},'onShow':()=>{_0xfb2dc2['bind']('isReadOnly')['to'](_0x18bd30,'isReadOnly',this,'isEnabled',(_0x10a305,_0x3e2667)=>_0x10a305||!_0x3e2667),_0xfb2dc2['setData'](_0x56080a),_0xfb2dc2['focus'](),_0xc45fba['on']('hide',_0x4fa1b9,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x23f913{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x35fae1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x36cb74=this['editor'],_0x16ec4d=_0x36cb74['locale'],_0x543692=new d(_0x36cb74);_0x36cb74['commands']['add']('editSource',_0x543692),_0x36cb74['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x11aa1e=this['_createButton'](_0x44fda8,_0x543692);return _0x11aa1e['set']({'label':w(_0x16ec4d,'Source'),'icon':_0x1c1b61,'tooltip':w(_0x16ec4d,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x11aa1e;}),_0x36cb74['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x31b850=this['_createButton'](_0x347e13,_0x543692,!0x0);return _0x31b850['set']({'label':w(_0x16ec4d,'Edit\x20source\x20modal\x20label'),'icon':_0x1c1b61,'role':'menuitemcheckbox'}),_0x31b850;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x32a2b9){const _0xd1db03=_0x412a81([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x126e39=0x305505ed,_0x51f60d=0x305273fd^_0x126e39,_0xca15c0=window[_0x412a81([0x44,0x61,0x74,0x65])][_0x412a81([0x6e,0x6f,0x77])](),_0x29121c=_0x32a2b9[_0x412a81([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x548834=new window[(_0x412a81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1005c4=>{_0x29121c[_0x412a81([0x6f,0x6e,0x63,0x65])](_0x412a81([0x72,0x65,0x61,0x64,0x79]),_0x1005c4);}),_0x105b64={[_0x412a81([0x6b,0x74,0x79])]:_0x412a81([0x45,0x43]),[_0x412a81([0x75,0x73,0x65])]:_0x412a81([0x73,0x69,0x67]),[_0x412a81([0x63,0x72,0x76])]:_0x412a81([0x50,0x2d,0x32,0x35,0x36]),[_0x412a81([0x78])]:_0x412a81([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]),[_0x412a81([0x79])]:_0x412a81([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]),[_0x412a81([0x61,0x6c,0x67])]:_0x412a81([0x45,0x53,0x32,0x35,0x36])},_0x5c7013=_0x29121c[_0x412a81([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x412a81([0x67,0x65,0x74])](_0x412a81([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f5fea(){let _0x1e928b,_0x989439=null,_0x171d5c=null;try{if(_0x5c7013==_0x412a81([0x47,0x50,0x4c]))return _0x412a81([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e928b=_0x6130e3(),!_0x1e928b)return _0x412a81([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e928b[_0x412a81([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x171d5c=_0x20512e(_0x1e928b[_0x412a81([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e928b[_0x412a81([0x6a,0x74,0x69])])),await _0x2399b8()?_0x2b8199()?_0x43d28f()?_0x412a81([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5fdf()?(_0x1e928b[_0x412a81([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x412a81([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x989439=_0x122a83(_0x412a81([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1e928b[_0x412a81([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x412a81([0x74,0x72,0x69,0x61,0x6c])&&(_0x989439=_0x122a83(_0x412a81([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3236f3()):_0x412a81([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x412a81([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x412a81([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x412a81([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43d28f(){const _0x34de94=[_0x412a81([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x412a81([0x74,0x72,0x69,0x61,0x6c])][_0x412a81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e928b[_0x412a81([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xca15c0/0x3e8:0xe10*_0x51f60d;return _0x1e928b[_0x412a81([0x65,0x78,0x70])]<_0x34de94;}function _0x2b8199(){const _0x4a40e0=_0x1e928b[_0x412a81([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a40e0&&(!!_0x4a40e0[_0x412a81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412a81([0x2a]))||!!_0x4a40e0[_0x412a81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412a81([0x53,0x45,0x45])));}function _0x5fdf(){const _0x375bb9=_0x1e928b[_0x412a81([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x375bb9||0x0==_0x375bb9[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18212a}=new URL(window[_0x412a81([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x375bb9[_0x412a81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18212a))return!0x0;const _0x4ea39a=_0x18212a[_0x412a81([0x73,0x70,0x6c,0x69,0x74])](_0x412a81([0x2e]));return _0x375bb9[_0x412a81([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x199220=>_0x199220[_0x412a81([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412a81([0x2a])))[_0x412a81([0x6d,0x61,0x70])](_0x41b946=>_0x41b946[_0x412a81([0x73,0x70,0x6c,0x69,0x74])](_0x412a81([0x2e])))[_0x412a81([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52fcb7=>_0x52fcb7[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ea39a[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x412a81([0x6d,0x61,0x70])](_0x34b3d2=>Array(_0x4ea39a[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34b3d2[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x412a81([0x66,0x69,0x6c,0x6c])](_0x34b3d2[0x0]===_0x412a81([0x2a])?_0x412a81([0x2a]):'')[_0x412a81([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34b3d2))[_0x412a81([0x73,0x6f,0x6d,0x65])](_0x3132e4=>_0x4ea39a[_0x412a81([0x65,0x76,0x65,0x72,0x79])]((_0x281fe5,_0x441742)=>_0x3132e4[_0x441742]===_0x281fe5||_0x3132e4[_0x441742]===_0x412a81([0x2a])));}function _0x3236f3(){return _0x989439&&_0x171d5c?new window[(_0x412a81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x269c18,_0x58bd17)=>{_0x989439[_0x412a81([0x74,0x68,0x65,0x6e])](_0x269c18,_0x58bd17),_0x171d5c[_0x412a81([0x74,0x68,0x65,0x6e])](_0xe32b3e=>{_0xe32b3e!=_0x412a81([0x56,0x61,0x6c,0x69,0x64])&&_0x269c18(_0xe32b3e);},_0x58bd17);}):_0x989439||_0x171d5c||_0x412a81([0x56,0x61,0x6c,0x69,0x64]);}}function _0x20512e(_0x42da75,_0x19e73f){return new window[(_0x412a81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36481c=>{if(_0x35983b())return _0x36481c(_0x412a81([0x56,0x61,0x6c,0x69,0x64]));_0x7d0c72(),_0x29121c[_0x412a81([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x412a81([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c6068=!0x1;const _0x500799=_0x4a99c2();function _0x49fd10(_0x49de7c){return!!_0x49de7c&&(typeof _0x49de7c===_0x412a81([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49de7c===_0x412a81([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49de7c[_0x412a81([0x74,0x68,0x65,0x6e])]===_0x412a81([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49de7c[_0x412a81([0x63,0x61,0x74,0x63,0x68])]===_0x412a81([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1acd2f(_0x41ad23){_0x32ff4e(_0x41ad23)[_0x412a81([0x74,0x68,0x65,0x6e])](_0x14fd57=>{if(!_0x14fd57||_0x14fd57[_0x412a81([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x412a81([0x6f,0x6b]))return _0x412a81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17f82d(_0xe1002(_0x500799+_0x19e73f))!=_0x14fd57[_0x412a81([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x412a81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x412a81([0x56,0x61,0x6c,0x69,0x64]);})[_0x412a81([0x74,0x68,0x65,0x6e])](_0x9bd8d3=>(_0x150814(),_0x9bd8d3),()=>{const _0x52fbf1=_0x34e294();return null==_0x52fbf1?(_0x150814(),_0x412a81([0x56,0x61,0x6c,0x69,0x64])):_0x412a81(_0xca15c0-_0x52fbf1>(0x145981ed^_0x126e39)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x412a81([0x74,0x68,0x65,0x6e])](_0x36481c)[_0x412a81([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36481c(_0x412a81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2562af=0x3063eb6d^_0x126e39;function _0x150814(){const _0x15b8cd=_0x412a81([0x6c,0x6c,0x63,0x74,0x2d])+_0x17f82d(_0xe1002(_0x42da75)),_0x5aa035=_0x2bef1d(_0x17f82d(window[_0x412a81([0x4d,0x61,0x74,0x68])][_0x412a81([0x63,0x65,0x69,0x6c])](_0xca15c0/_0x2562af)));window[_0x412a81([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x412a81([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15b8cd,_0x5aa035);}function _0x34e294(){const _0x3d478e=_0x412a81([0x6c,0x6c,0x63,0x74,0x2d])+_0x17f82d(_0xe1002(_0x42da75)),_0x26ac58=window[_0x412a81([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x412a81([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d478e);return _0x26ac58?window[_0x412a81([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bef1d(_0x26ac58),0x10)*_0x2562af:null;}function _0x32ff4e(_0xe16b3){return new window[(_0x412a81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ef648,_0x195034)=>{_0xe16b3[_0x412a81([0x74,0x68,0x65,0x6e])](_0x3ef648,_0x195034),window[_0x412a81([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x195034,0x3054d12d^_0x126e39);});}}_0x29121c[_0x412a81([0x6f,0x6e])](_0x412a81([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xba732b,_0x4231c5)=>{if(_0x4231c5[0x0]!=_0x42da75)return _0x36481c(_0x412a81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4231c5[0x1]={..._0x4231c5[0x1],[_0x412a81([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x500799};},{[_0x412a81([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x412a81([0x68,0x69,0x67,0x68])}),_0x29121c[_0x412a81([0x6f,0x6e])](_0x412a81([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b08dd=>{_0x49fd10(_0x4b08dd[_0x412a81([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c6068=!0x0,_0x1acd2f(_0x4b08dd[_0x412a81([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x412a81([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x412a81([0x6c,0x6f,0x77])}),_0x548834[_0x412a81([0x74,0x68,0x65,0x6e])](()=>{_0x4c6068||_0x36481c(_0x412a81([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x35983b(){return _0x29121c[_0x412a81([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x412a81([0x76,0x69,0x65,0x77])][_0x412a81([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x412a81([0x61,0x75,0x74,0x6f]);}function _0x7d0c72(){_0x29121c[_0x412a81([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x412a81([0x76,0x69,0x65,0x77])][_0x412a81([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x412a81([0x61,0x75,0x74,0x6f]);}}function _0x122a83(_0x1ca582){const _0x2e467f=[new window[(_0x412a81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9d2b82=>setTimeout(_0x9d2b82,0x305c3b21^_0x126e39)),_0x548834[_0x412a81([0x74,0x68,0x65,0x6e])](()=>new window[(_0x412a81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x324304=>{let _0x21e373=0x0;_0x29121c[_0x412a81([0x6d,0x6f,0x64,0x65,0x6c])][_0x412a81([0x6f,0x6e])](_0x412a81([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xdb5a4d,_0x398c47)=>{_0x398c47[0x0][_0x412a81([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21e373++,_0x21e373==(0x30550415^_0x126e39)&&(_0x324304(),_0xdb5a4d[_0x412a81([0x6f,0x66,0x66])]());});}))];return window[_0x412a81([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x412a81([0x72,0x61,0x63,0x65])](_0x2e467f)[_0x412a81([0x74,0x68,0x65,0x6e])](()=>_0x1ca582);}async function _0x53c15d(){await _0x548834,_0x29121c[_0x412a81([0x6d,0x6f,0x64,0x65,0x6c])][_0x412a81([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x963442,_0x29121c[_0x412a81([0x6d,0x6f,0x64,0x65,0x6c])][_0x412a81([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x963442,_0x29121c[_0x412a81([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x412a81([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd98a63(_0x2219a3){const _0x2f4241=_0x4a5829();_0x29121c[_0x2f4241]=_0x412a81([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])+_0x2219a3,_0x2219a3!=_0x412a81([0x56,0x61,0x6c,0x69,0x64])&&_0x53c15d();}function _0x4a5829(){const _0x5da372=window[_0x412a81([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x412a81([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x412a81([0x6e,0x6f,0x77])]())[_0x412a81([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x412a81([0x2e]),'');let _0x3fa077=_0x412a81([0x75]);for(let _0x2bd68a=0x0;_0x2bd68a<_0x5da372[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bd68a+=0x2){let _0x272b4=window[_0x412a81([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5da372[_0x412a81([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bd68a,_0x2bd68a+0x2));_0x272b4>=_0xd1db03[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x272b4-=_0xd1db03[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fa077+=_0xd1db03[_0x272b4];}return _0x3fa077;}function _0x6130e3(){const _0x3248c0=_0x5c7013[_0x412a81([0x73,0x70,0x6c,0x69,0x74])](_0x412a81([0x2e]));if(0x3!=_0x3248c0[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46d290(_0x3248c0[0x1]);function _0x46d290(_0x4bdd0f){const _0x109073=_0x1a6802(_0x4bdd0f);return _0x109073&&_0x1663cd()?_0x109073:null;function _0x1663cd(){const _0x4eff0=_0x109073[_0x412a81([0x6a,0x74,0x69])],_0x58dc80=window[_0x412a81([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4eff0[_0x412a81([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4eff0[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17bbca={..._0x109073,[_0x412a81([0x6a,0x74,0x69])]:_0x4eff0[_0x412a81([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4eff0[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17bbca[_0x412a81([0x76,0x63])],_0xe1002(_0x17bbca)==_0x58dc80;}}}async function _0x2399b8(){let _0x38b72d=!0x0;try{const _0x435a88=_0x5c7013[_0x412a81([0x73,0x70,0x6c,0x69,0x74])](_0x412a81([0x2e])),[_0x429ec9,_0x1fbfb0,_0x17dcb1]=_0x435a88;return _0x1e0225(_0x429ec9),await _0x1ffac0(_0x429ec9,_0x1fbfb0,_0x17dcb1),_0x38b72d;}catch{return!0x1;}function _0x1e0225(_0x4a7eda){const _0x37c2da=_0x1a6802(_0x4a7eda);_0x37c2da&&_0x37c2da[_0x412a81([0x61,0x6c,0x67])]==_0x412a81([0x45,0x53,0x32,0x35,0x36])||(_0x38b72d=!0x1);}async function _0x1ffac0(_0x5ef1cc,_0x33c62e,_0x45ec84){const _0x581460=window[_0x412a81([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x412a81([0x66,0x72,0x6f,0x6d])](_0x26dcb5(_0x45ec84),_0x371376=>_0x371376[_0x412a81([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x591cb6=new window[(_0x412a81([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x412a81([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ef1cc+_0x412a81([0x2e])+_0x33c62e),_0x56eaf1=window[_0x412a81([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x412a81([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56eaf1)return;const _0x5f5126=await _0x56eaf1[_0x412a81([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x412a81([0x6a,0x77,0x6b]),_0x105b64,{[_0x412a81([0x6e,0x61,0x6d,0x65])]:_0x412a81([0x45,0x43,0x44,0x53,0x41]),[_0x412a81([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x412a81([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x412a81([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56eaf1[_0x412a81([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x412a81([0x6e,0x61,0x6d,0x65])]:_0x412a81([0x45,0x43,0x44,0x53,0x41]),[_0x412a81([0x68,0x61,0x73,0x68])]:{[_0x412a81([0x6e,0x61,0x6d,0x65])]:_0x412a81([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f5126,_0x581460,_0x591cb6)||(_0x38b72d=!0x1);}}function _0x1a6802(_0x1fb668){return _0x1fb668[_0x412a81([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x412a81([0x65,0x79]))?JSON[_0x412a81([0x70,0x61,0x72,0x73,0x65])](_0x26dcb5(_0x1fb668)):null;}function _0x26dcb5(_0x5aa04c){return window[_0x412a81([0x61,0x74,0x6f,0x62])](_0x5aa04c[_0x412a81([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x412a81([0x2b]))[_0x412a81([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x412a81([0x2f])));}function _0xe1002(_0x5e870a){let _0x29b07a=0x1505;function _0x5733a1(_0x2fdd22){for(let _0x1965bf=0x0;_0x1965bf<_0x2fdd22[_0x412a81([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1965bf++){const _0x443a4e=_0x2fdd22[_0x412a81([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1965bf);_0x29b07a=(_0x29b07a<<0x5)+_0x29b07a+_0x443a4e,_0x29b07a&=_0x29b07a;}}function _0x14acb(_0x281a06){Array[_0x412a81([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x281a06)?_0x281a06[_0x412a81([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14acb):_0x281a06&&typeof _0x281a06==_0x412a81([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x412a81([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x281a06)[_0x412a81([0x73,0x6f,0x72,0x74])]()[_0x412a81([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b4c03,_0x313fd0])=>{_0x5733a1(_0x2b4c03),_0x14acb(_0x313fd0);}):_0x5733a1(window[_0x412a81([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x281a06));}return _0x14acb(_0x5e870a),_0x29b07a>>>0x0;}function _0x17f82d(_0x1412ea){return _0x1412ea[_0x412a81([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x412a81([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x412a81([0x30]));}function _0x2bef1d(_0x351d1a){return _0x351d1a[_0x412a81([0x73,0x70,0x6c,0x69,0x74])]('')[_0x412a81([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x412a81([0x6a,0x6f,0x69,0x6e])]('');}function _0x963442(){}function _0x412a81(_0x2d6da8){return _0x2d6da8['map'](_0x147648=>String['fromCharCode'](_0x147648))['join']('');}_0xd98a63(await _0x3f5fea());}(this);}['_createButton'](_0xf1c120,_0x179789,_0x48998e=!0x1){const _0x937e03=new _0xf1c120(this['editor']['locale']);return _0x937e03['set']({'withText':_0x48998e,'isToggleable':!0x1}),_0x937e03['bind']('isEnabled')['to'](_0x179789,'isEnabled'),this['listenTo'](_0x937e03,'execute',()=>_0x179789['execute']()),_0x937e03;}['_registerKeybindings'](){const _0x8e6535=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x8e6535,'Source\x20Editing\x20Enhanced')});const _0x3282d9=_0x7ed405['isMac']||_0x7ed405['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x8e6535,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x8e6535,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x8e6535,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x8e6535,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x8e6535,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x8e6535,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x8e6535,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x3282d9?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x8e6535,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x8e6535,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x8e6535,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x8e6535,'Select\x20line'),'keystroke':_0x3282d9?'Ctrl!+L':'Alt+L'},{'label':w(_0x8e6535,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x3282d9?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x8e6535,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x8e6535,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x8e6535,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x8e6535,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x8e6535,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x3282d9?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x1a2727{constructor(_0x56b78a){super(_0x56b78a),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x205705,_0x37912c){const _0x4d48e8=this['editor'],_0xa1f830=_0x37912c?.['rootName']??r(_0x4d48e8);_0x4d48e8['data']['set']({[_0xa1f830]:_0x205705},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x23f913{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0xc8dd8){super(_0xc8dd8),_0xc8dd8['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 _0x3ec940=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4e2114;for(const _0x343544 in _0x3ec940){const _0x192761=_0x343544,_0x30fd43=_0x3ec940[_0x192761];if('sourceEditingEnhancedLicenseKeyValid'==_0x30fd43||'sourceEditingEnhancedLicenseKeyInvalid'==_0x30fd43||'sourceEditingEnhancedLicenseKeyExpired'==_0x30fd43||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x30fd43||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x30fd43||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x30fd43||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x30fd43||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x30fd43){delete _0x3ec940[_0x192761],_0x4e2114=_0x30fd43,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4e2114&&_0x3ec940['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4e2114&&_0x3ec940['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4e2114&&_0x3ec940['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4e2114&&_0x3ec940['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4e2114&&_0x3ec940['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4e2114&&_0x3ec940['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4e2114&&_0x3ec940['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x515895=this['editor'],_0x257c7f=_0x515895['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x257c7f&&_0x515895['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x65c391('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x257c7f&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3bbe54=>_0x515895['plugins']['has'](_0x3bbe54))&&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.'),_0x515895['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": "0.0.0-nightly-20251011.0",
3
+ "version": "0.0.0-nightly-20251013.0",
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": "0.0.0-nightly-20251011.0",
22
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251011.0",
23
- "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20251011.0",
24
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251011.0",
25
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251011.0",
21
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20251013.0",
22
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251013.0",
23
+ "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20251013.0",
24
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251013.0",
25
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251013.0",
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": "0.0.0-nightly-20251011.0"
34
+ "ckeditor5": "0.0.0-nightly-20251013.0"
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 _0x194145=_0x3653;(function(_0x119774,_0x28f716){const _0x7e5aaa=_0x3653,_0x210689=_0x119774();while(!![]){try{const _0x1a3d5e=-parseInt(_0x7e5aaa(0xe9))/0x1*(parseInt(_0x7e5aaa(0xe8))/0x2)+parseInt(_0x7e5aaa(0x113))/0x3*(-parseInt(_0x7e5aaa(0x102))/0x4)+parseInt(_0x7e5aaa(0x104))/0x5*(-parseInt(_0x7e5aaa(0x107))/0x6)+parseInt(_0x7e5aaa(0xc7))/0x7*(-parseInt(_0x7e5aaa(0x110))/0x8)+-parseInt(_0x7e5aaa(0x106))/0x9+parseInt(_0x7e5aaa(0xc1))/0xa+parseInt(_0x7e5aaa(0xea))/0xb;if(_0x1a3d5e===_0x28f716)break;else _0x210689['push'](_0x210689['shift']());}catch(_0x33fb25){_0x210689['push'](_0x210689['shift']());}}}(_0x44af,0xd520e));function _0x3653(_0x5bcb1c,_0x2fd695){const _0x44afc9=_0x44af();return _0x3653=function(_0x3653af,_0x2f1274){_0x3653af=_0x3653af-0xc0;let _0x1c8429=_0x44afc9[_0x3653af];return _0x1c8429;},_0x3653(_0x5bcb1c,_0x2fd695);}import{Plugin as _0x38e361,PendingActions as _0x4539ff}from'ckeditor5/src/core.js';import{IconSource as _0x1f74e5}from'ckeditor5/src/icons.js';import{ButtonView as _0x484e61,MenuBarMenuListItemButtonView as _0x3b6361}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x29a3e2}from'./ui/editsourcecommand.js';import{getTranslation as _0xdf0a7f}from'./utils/common-translations.js';import{env as _0x323bfe,uid as _0x53cd3b}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x38e361{static get[_0x194145(0xe1)](){const _0x3a2a44=_0x194145;return _0x3a2a44(0xf4);}static get[_0x194145(0xd8)](){return[_0x4539ff];}static get[_0x194145(0xfa)](){return!0x0;}static get[_0x194145(0x112)](){return!0x0;}[_0x194145(0xd5)](){const _0x255e9d=_0x194145,_0x12881b=this[_0x255e9d(0xf9)],_0x18c860=_0x12881b[_0x255e9d(0x105)],_0x25e340=new _0x29a3e2(_0x12881b);_0x12881b[_0x255e9d(0x108)][_0x255e9d(0x10f)](_0x255e9d(0xef),_0x25e340),_0x12881b['ui'][_0x255e9d(0xc0)][_0x255e9d(0x10f)](_0x255e9d(0xce),()=>{const _0x3cdd5f=_0x255e9d,_0xc0ce1b=this[_0x3cdd5f(0xd0)](_0x484e61,_0x25e340);return _0xc0ce1b[_0x3cdd5f(0x101)]({'label':_0xdf0a7f(_0x18c860,_0x3cdd5f(0xd7)),'icon':_0x1f74e5,'tooltip':_0xdf0a7f(_0x18c860,_0x3cdd5f(0xcc)),'class':_0x3cdd5f(0x109)}),_0xc0ce1b;}),_0x12881b['ui'][_0x255e9d(0xc0)][_0x255e9d(0x10f)](_0x255e9d(0xe6),()=>{const _0x208ed6=_0x255e9d,_0x5d58c8=this[_0x208ed6(0xd0)](_0x3b6361,_0x25e340,!0x0);return _0x5d58c8[_0x208ed6(0x101)]({'label':_0xdf0a7f(_0x18c860,_0x208ed6(0xcc)),'icon':_0x1f74e5,'role':_0x208ed6(0xcd)}),_0x5d58c8;}),this[_0x255e9d(0xc3)]();}[_0x194145(0xf3)](){!async function(_0x10a9f7){const _0x18c754=_0x5cf815([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x1a63d7=0x305505ed,_0x999401=0x3052700d^_0x1a63d7,_0x5e46e0=window[_0x5cf815([0x44,0x61,0x74,0x65])][_0x5cf815([0x6e,0x6f,0x77])](),_0x562e1e=_0x10a9f7[_0x5cf815([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b0311=new window[(_0x5cf815([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cd7fd=>{_0x562e1e[_0x5cf815([0x6f,0x6e,0x63,0x65])](_0x5cf815([0x72,0x65,0x61,0x64,0x79]),_0x1cd7fd);}),_0x4f3859={[_0x5cf815([0x6b,0x74,0x79])]:_0x5cf815([0x45,0x43]),[_0x5cf815([0x75,0x73,0x65])]:_0x5cf815([0x73,0x69,0x67]),[_0x5cf815([0x63,0x72,0x76])]:_0x5cf815([0x50,0x2d,0x32,0x35,0x36]),[_0x5cf815([0x78])]:_0x5cf815([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]),[_0x5cf815([0x79])]:_0x5cf815([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]),[_0x5cf815([0x61,0x6c,0x67])]:_0x5cf815([0x45,0x53,0x32,0x35,0x36])},_0x115de6=_0x562e1e[_0x5cf815([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5cf815([0x67,0x65,0x74])](_0x5cf815([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d54aa(){let _0x2a4249,_0x6534bb=null,_0x2e4e44=null;try{if(_0x115de6==_0x5cf815([0x47,0x50,0x4c]))return _0x5cf815([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a4249=_0x4ede21(),!_0x2a4249)return _0x5cf815([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a4249[_0x5cf815([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e4e44=_0x584ec6(_0x2a4249[_0x5cf815([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a4249[_0x5cf815([0x6a,0x74,0x69])])),await _0x36a1b9()?_0x1780c4()?_0x4f6f14()?_0x5cf815([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50a859()?(_0x2a4249[_0x5cf815([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5cf815([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6534bb=_0x55d0a5(_0x5cf815([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a4249[_0x5cf815([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5cf815([0x74,0x72,0x69,0x61,0x6c])&&(_0x6534bb=_0x55d0a5(_0x5cf815([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36b49b()):_0x5cf815([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5cf815([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5cf815([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5cf815([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f6f14(){const _0x21b3fd=[_0x5cf815([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5cf815([0x74,0x72,0x69,0x61,0x6c])][_0x5cf815([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4249[_0x5cf815([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e46e0/0x3e8:0xe10*_0x999401;return _0x2a4249[_0x5cf815([0x65,0x78,0x70])]<_0x21b3fd;}function _0x1780c4(){const _0x3a3486=_0x2a4249[_0x5cf815([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a3486&&(!!_0x3a3486[_0x5cf815([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cf815([0x2a]))||!!_0x3a3486[_0x5cf815([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cf815([0x53,0x45,0x45])));}function _0x50a859(){const _0x202e93=_0x3653,_0x25231d=_0x2a4249[_0x5cf815([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25231d||0x0==_0x25231d[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x292de8}=new URL(window[_0x5cf815([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x202e93(0xf6)]);if(_0x25231d[_0x5cf815([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292de8))return!0x0;const _0x23109c=_0x292de8[_0x5cf815([0x73,0x70,0x6c,0x69,0x74])](_0x5cf815([0x2e]));return _0x25231d[_0x5cf815([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x75bb51=>_0x75bb51[_0x5cf815([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cf815([0x2a])))[_0x5cf815([0x6d,0x61,0x70])](_0x1d96f4=>_0x1d96f4[_0x5cf815([0x73,0x70,0x6c,0x69,0x74])](_0x5cf815([0x2e])))[_0x5cf815([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18032e=>_0x18032e[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x23109c[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5cf815([0x6d,0x61,0x70])](_0x2b92bd=>Array(_0x23109c[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b92bd[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5cf815([0x66,0x69,0x6c,0x6c])](_0x2b92bd[0x0]===_0x5cf815([0x2a])?_0x5cf815([0x2a]):'')[_0x5cf815([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b92bd))[_0x5cf815([0x73,0x6f,0x6d,0x65])](_0x54f0dc=>_0x23109c[_0x5cf815([0x65,0x76,0x65,0x72,0x79])]((_0x3af79b,_0x4ba8f)=>_0x54f0dc[_0x4ba8f]===_0x3af79b||_0x54f0dc[_0x4ba8f]===_0x5cf815([0x2a])));}function _0x36b49b(){return _0x6534bb&&_0x2e4e44?new window[(_0x5cf815([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41d62b,_0x5c3989)=>{_0x6534bb[_0x5cf815([0x74,0x68,0x65,0x6e])](_0x41d62b,_0x5c3989),_0x2e4e44[_0x5cf815([0x74,0x68,0x65,0x6e])](_0x1abc15=>{_0x1abc15!=_0x5cf815([0x56,0x61,0x6c,0x69,0x64])&&_0x41d62b(_0x1abc15);},_0x5c3989);}):_0x6534bb||_0x2e4e44||_0x5cf815([0x56,0x61,0x6c,0x69,0x64]);}}function _0x584ec6(_0x463975,_0x1c1c8e){return new window[(_0x5cf815([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13e1bd=>{if(_0x4e21f4())return _0x13e1bd(_0x5cf815([0x56,0x61,0x6c,0x69,0x64]));_0x40eb93(),_0x562e1e[_0x5cf815([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5cf815([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x97d687=!0x1;const _0x11bce2=_0x53cd3b();function _0x43cfe6(_0x4409c5){return!!_0x4409c5&&(typeof _0x4409c5===_0x5cf815([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4409c5===_0x5cf815([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4409c5[_0x5cf815([0x74,0x68,0x65,0x6e])]===_0x5cf815([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4409c5[_0x5cf815([0x63,0x61,0x74,0x63,0x68])]===_0x5cf815([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30f5d0(_0x3f13b3){_0x32110e(_0x3f13b3)[_0x5cf815([0x74,0x68,0x65,0x6e])](_0x42dac6=>{if(!_0x42dac6||_0x42dac6[_0x5cf815([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5cf815([0x6f,0x6b]))return _0x5cf815([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a70fd(_0x88973(_0x11bce2+_0x1c1c8e))!=_0x42dac6[_0x5cf815([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5cf815([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5cf815([0x56,0x61,0x6c,0x69,0x64]);})[_0x5cf815([0x74,0x68,0x65,0x6e])](_0x4701e4=>(_0x5aca51(),_0x4701e4),()=>{const _0x3d1d03=_0x4db926();return null==_0x3d1d03?(_0x5aca51(),_0x5cf815([0x56,0x61,0x6c,0x69,0x64])):_0x5cf815(_0x5e46e0-_0x3d1d03>(0x145981ed^_0x1a63d7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5cf815([0x74,0x68,0x65,0x6e])](_0x13e1bd)[_0x5cf815([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13e1bd(_0x5cf815([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24ee12=0x3063eb6d^_0x1a63d7;function _0x5aca51(){const _0x281f36=_0x5cf815([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a70fd(_0x88973(_0x463975)),_0x291ffc=_0x57049f(_0x1a70fd(window[_0x5cf815([0x4d,0x61,0x74,0x68])][_0x5cf815([0x63,0x65,0x69,0x6c])](_0x5e46e0/_0x24ee12)));window[_0x5cf815([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5cf815([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x281f36,_0x291ffc);}function _0x4db926(){const _0x30f676=_0x5cf815([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a70fd(_0x88973(_0x463975)),_0x5708d1=window[_0x5cf815([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5cf815([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30f676);return _0x5708d1?window[_0x5cf815([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57049f(_0x5708d1),0x10)*_0x24ee12:null;}function _0x32110e(_0x426829){return new window[(_0x5cf815([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21135b,_0x58e2e4)=>{_0x426829[_0x5cf815([0x74,0x68,0x65,0x6e])](_0x21135b,_0x58e2e4),window[_0x5cf815([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58e2e4,0x3054d12d^_0x1a63d7);});}}_0x562e1e[_0x5cf815([0x6f,0x6e])](_0x5cf815([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47c6f8,_0x4a4cc2)=>{if(_0x4a4cc2[0x0]!=_0x463975)return _0x13e1bd(_0x5cf815([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a4cc2[0x1]={..._0x4a4cc2[0x1],[_0x5cf815([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11bce2};},{[_0x5cf815([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5cf815([0x68,0x69,0x67,0x68])}),_0x562e1e[_0x5cf815([0x6f,0x6e])](_0x5cf815([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x207284=>{_0x43cfe6(_0x207284[_0x5cf815([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x97d687=!0x0,_0x30f5d0(_0x207284[_0x5cf815([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5cf815([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5cf815([0x6c,0x6f,0x77])}),_0x1b0311[_0x5cf815([0x74,0x68,0x65,0x6e])](()=>{_0x97d687||_0x13e1bd(_0x5cf815([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e21f4(){return _0x562e1e[_0x5cf815([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5cf815([0x76,0x69,0x65,0x77])][_0x5cf815([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5cf815([0x61,0x75,0x74,0x6f]);}function _0x40eb93(){_0x562e1e[_0x5cf815([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5cf815([0x76,0x69,0x65,0x77])][_0x5cf815([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5cf815([0x61,0x75,0x74,0x6f]);}}function _0x55d0a5(_0x5eba28){const _0x112e2c=[new window[(_0x5cf815([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd68fa9=>setTimeout(_0xd68fa9,0x305c3b21^_0x1a63d7)),_0x1b0311[_0x5cf815([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5cf815([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d6ec4=>{let _0x4a1be2=0x0;_0x562e1e[_0x5cf815([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cf815([0x6f,0x6e])](_0x5cf815([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5dbe9a,_0x1b7a18)=>{_0x1b7a18[0x0][_0x5cf815([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a1be2++,_0x4a1be2==(0x30550415^_0x1a63d7)&&(_0x3d6ec4(),_0x5dbe9a[_0x5cf815([0x6f,0x66,0x66])]());});}))];return window[_0x5cf815([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5cf815([0x72,0x61,0x63,0x65])](_0x112e2c)[_0x5cf815([0x74,0x68,0x65,0x6e])](()=>_0x5eba28);}async function _0x193d7c(){await _0x1b0311,_0x562e1e[_0x5cf815([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cf815([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15e875,_0x562e1e[_0x5cf815([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cf815([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15e875,_0x562e1e[_0x5cf815([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5cf815([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55183c(_0xfcfd90){const _0x479e2f=_0x21d2f1();_0x562e1e[_0x479e2f]=_0x5cf815([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])+_0xfcfd90,_0xfcfd90!=_0x5cf815([0x56,0x61,0x6c,0x69,0x64])&&_0x193d7c();}function _0x21d2f1(){const _0x260587=window[_0x5cf815([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5cf815([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5cf815([0x6e,0x6f,0x77])]())[_0x5cf815([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5cf815([0x2e]),'');let _0x4e047f=_0x5cf815([0x75]);for(let _0x378560=0x0;_0x378560<_0x260587[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x378560+=0x2){let _0x5f5598=window[_0x5cf815([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x260587[_0x5cf815([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x378560,_0x378560+0x2));_0x5f5598>=_0x18c754[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5f5598-=_0x18c754[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e047f+=_0x18c754[_0x5f5598];}return _0x4e047f;}function _0x4ede21(){const _0x3f031b=_0x115de6[_0x5cf815([0x73,0x70,0x6c,0x69,0x74])](_0x5cf815([0x2e]));if(0x3!=_0x3f031b[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x483af4(_0x3f031b[0x1]);function _0x483af4(_0xbb136d){const _0x5b3372=_0x40eb34(_0xbb136d);return _0x5b3372&&_0x25aa4f()?_0x5b3372:null;function _0x25aa4f(){const _0x5e2696=_0x5b3372[_0x5cf815([0x6a,0x74,0x69])],_0x184132=window[_0x5cf815([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e2696[_0x5cf815([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e2696[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46b1dc={..._0x5b3372,[_0x5cf815([0x6a,0x74,0x69])]:_0x5e2696[_0x5cf815([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e2696[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46b1dc[_0x5cf815([0x76,0x63])],_0x88973(_0x46b1dc)==_0x184132;}}}async function _0x36a1b9(){let _0x4cd720=!0x0;try{const _0x3e9f26=_0x115de6[_0x5cf815([0x73,0x70,0x6c,0x69,0x74])](_0x5cf815([0x2e])),[_0x25d779,_0x89a2d6,_0x522a09]=_0x3e9f26;return _0x5e1371(_0x25d779),await _0x116aa5(_0x25d779,_0x89a2d6,_0x522a09),_0x4cd720;}catch{return!0x1;}function _0x5e1371(_0xd6b0e1){const _0xc8fd6=_0x40eb34(_0xd6b0e1);_0xc8fd6&&_0xc8fd6[_0x5cf815([0x61,0x6c,0x67])]==_0x5cf815([0x45,0x53,0x32,0x35,0x36])||(_0x4cd720=!0x1);}async function _0x116aa5(_0x5a0ec2,_0x59a82b,_0x555b08){const _0x4e60ff=window[_0x5cf815([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5cf815([0x66,0x72,0x6f,0x6d])](_0x559de0(_0x555b08),_0x182c09=>_0x182c09[_0x5cf815([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5edfb9=new window[(_0x5cf815([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5cf815([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a0ec2+_0x5cf815([0x2e])+_0x59a82b),_0x4d8722=window[_0x5cf815([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5cf815([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d8722)return;const _0xd7e0d7=await _0x4d8722[_0x5cf815([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5cf815([0x6a,0x77,0x6b]),_0x4f3859,{[_0x5cf815([0x6e,0x61,0x6d,0x65])]:_0x5cf815([0x45,0x43,0x44,0x53,0x41]),[_0x5cf815([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5cf815([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5cf815([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d8722[_0x5cf815([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5cf815([0x6e,0x61,0x6d,0x65])]:_0x5cf815([0x45,0x43,0x44,0x53,0x41]),[_0x5cf815([0x68,0x61,0x73,0x68])]:{[_0x5cf815([0x6e,0x61,0x6d,0x65])]:_0x5cf815([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd7e0d7,_0x4e60ff,_0x5edfb9)||(_0x4cd720=!0x1);}}function _0x40eb34(_0x4bb95b){return _0x4bb95b[_0x5cf815([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5cf815([0x65,0x79]))?JSON[_0x5cf815([0x70,0x61,0x72,0x73,0x65])](_0x559de0(_0x4bb95b)):null;}function _0x559de0(_0x37bacb){return window[_0x5cf815([0x61,0x74,0x6f,0x62])](_0x37bacb[_0x5cf815([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5cf815([0x2b]))[_0x5cf815([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5cf815([0x2f])));}function _0x88973(_0x13e221){let _0x572e02=0x1505;function _0x2485fa(_0x92ec9){for(let _0x466670=0x0;_0x466670<_0x92ec9[_0x5cf815([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x466670++){const _0x441bbd=_0x92ec9[_0x5cf815([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x466670);_0x572e02=(_0x572e02<<0x5)+_0x572e02+_0x441bbd,_0x572e02&=_0x572e02;}}function _0x7d36a9(_0x4f9ede){Array[_0x5cf815([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f9ede)?_0x4f9ede[_0x5cf815([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7d36a9):_0x4f9ede&&typeof _0x4f9ede==_0x5cf815([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5cf815([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f9ede)[_0x5cf815([0x73,0x6f,0x72,0x74])]()[_0x5cf815([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c8ec9,_0x471245])=>{_0x2485fa(_0x5c8ec9),_0x7d36a9(_0x471245);}):_0x2485fa(window[_0x5cf815([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f9ede));}return _0x7d36a9(_0x13e221),_0x572e02>>>0x0;}function _0x1a70fd(_0x493d98){return _0x493d98[_0x5cf815([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5cf815([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5cf815([0x30]));}function _0x57049f(_0x48fc4b){return _0x48fc4b[_0x5cf815([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5cf815([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5cf815([0x6a,0x6f,0x69,0x6e])]('');}function _0x15e875(){}function _0x5cf815(_0x3491a9){const _0x48cc1a=_0x3653;return _0x3491a9[_0x48cc1a(0xeb)](_0x40c86c=>String[_0x48cc1a(0xc4)](_0x40c86c))[_0x48cc1a(0xe4)]('');}_0x55183c(await _0x1d54aa());}(this);}[_0x194145(0xd0)](_0x1ed8c0,_0x3c69b7,_0x519d39=!0x1){const _0x5c3c0c=_0x194145,_0x38cf09=new _0x1ed8c0(this[_0x5c3c0c(0xf9)][_0x5c3c0c(0x105)]);return _0x38cf09[_0x5c3c0c(0x101)]({'withText':_0x519d39,'isToggleable':!0x1}),_0x38cf09[_0x5c3c0c(0x10b)](_0x5c3c0c(0xc9))['to'](_0x3c69b7,_0x5c3c0c(0xc9)),this[_0x5c3c0c(0xd9)](_0x38cf09,_0x5c3c0c(0xe2),()=>_0x3c69b7[_0x5c3c0c(0xe2)]()),_0x38cf09;}[_0x194145(0xc3)](){const _0x293597=_0x194145,_0x24402f=this[_0x293597(0xf9)][_0x293597(0x105)];this[_0x293597(0xf9)][_0x293597(0xf2)][_0x293597(0xc5)]({'id':_0x293597(0xce),'label':_0xdf0a7f(_0x24402f,_0x293597(0xff))});const _0x31dff1=_0x323bfe[_0x293597(0xc6)]||_0x323bfe[_0x293597(0xcf)];this[_0x293597(0xf9)][_0x293597(0xf2)][_0x293597(0xf8)]({'categoryId':_0x293597(0xce),'keystrokes':[{'label':_0xdf0a7f(_0x24402f,_0x293597(0xde)),'keystroke':_0x293597(0x111)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0x10a)),'keystroke':_0x293597(0xd1)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0x100)),'keystroke':_0x293597(0x115)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0x10c)),'keystroke':_0x293597(0xdf)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xfd)),'keystroke':_0x293597(0x103)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xf5)),'keystroke':_0x293597(0xd2)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xfc)),'keystroke':_0x31dff1?_0x293597(0x114):_0x293597(0xe0)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xf7)),'keystroke':_0x293597(0xd4)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xca)),'keystroke':_0x293597(0xe3)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xd6)),'keystroke':[[_0x293597(0xda)],[_0x293597(0xe5)]]},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xfb)),'keystroke':_0x31dff1?_0x293597(0xdb):_0x293597(0xdd)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xd3)),'keystroke':_0x31dff1?_0x293597(0xdc):_0x293597(0xee)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xc2)),'keystroke':_0x293597(0xfe)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xe7)),'keystroke':_0x293597(0x10e)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xed)),'keystroke':_0x293597(0xcb)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0xec)),'keystroke':_0x293597(0xc8)},{'label':_0xdf0a7f(_0x24402f,_0x293597(0x10d)),'keystroke':_0x31dff1?_0x293597(0xf0):_0x293597(0xf1)}]});}}function _0x44af(){const _0x4ff44d=['requires','listenTo','Ctrl+Shift+Z','Ctrl!+L','Alt+Shift+M','Alt+L','Copy\x20line\x20down','Ctrl+[','Ctrl+Shift+[','pluginName','execute','Alt+ArrowUp','join','Ctrl+Y','menuBar:sourceEditingEnhanced','Toggle\x20comment','94186YUYMlM','6bDxgUB','60373654ZnzaUB','map','Unfold\x20all','Undo\x20(keystroke)','Ctrl+M','editSource','Cmd+Alt+]','Ctrl+Shift+]','accessibility','afterInit','SourceEditingEnhancedUI','Fold\x20all','href','Move\x20line\x20down','addKeystrokeInfos','editor','isOfficialPlugin','Select\x20line','Fold\x20code\x20(current\x20level)','Indent\x20more','Shift+Alt+A','Source\x20Editing\x20Enhanced','Delete\x20line','set','2164AJgfbI','Ctrl+]','10NRqkLq','locale','12370347rAQmhY','3638244hFFZeL','commands','ck-source-editing-enhanced-button','Copy\x20line\x20up','bind','Indent\x20less','Unfold\x20code\x20(current\x20level)','Ctrl+/','add','3648ErXLgC','Shift+Alt+ArrowDown','isPremiumPlugin','6381mzWmqg','Cmd+Alt+[','Shift+Ctrl+K','componentFactory','9827160fcEGXQ','Toggle\x20block\x20comment','_registerKeybindings','fromCharCode','addKeystrokeInfoCategory','isMac','24220nEwdah','Ctrl!+Alt+]','isEnabled','Move\x20line\x20up','Ctrl+Z','Edit\x20source\x20modal\x20label','menuitemcheckbox','sourceEditingEnhanced','isiOS','_createButton','Shift+Alt+ArrowUp','Ctrl!+Alt+[','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Alt+ArrowDown','init','Redo\x20(keystroke)','Source'];_0x44af=function(){return _0x4ff44d;};return _0x44af();}
23
+ const _0x14a250=_0x5bbb;(function(_0x3fbc15,_0x325aee){const _0x5cd42a=_0x5bbb,_0xb0445a=_0x3fbc15();while(!![]){try{const _0x4d6adf=-parseInt(_0x5cd42a(0x14e))/0x1+-parseInt(_0x5cd42a(0x145))/0x2+-parseInt(_0x5cd42a(0x180))/0x3*(-parseInt(_0x5cd42a(0x14b))/0x4)+parseInt(_0x5cd42a(0x16b))/0x5*(-parseInt(_0x5cd42a(0x186))/0x6)+parseInt(_0x5cd42a(0x151))/0x7+-parseInt(_0x5cd42a(0x158))/0x8*(-parseInt(_0x5cd42a(0x18f))/0x9)+parseInt(_0x5cd42a(0x165))/0xa*(parseInt(_0x5cd42a(0x18b))/0xb);if(_0x4d6adf===_0x325aee)break;else _0xb0445a['push'](_0xb0445a['shift']());}catch(_0x56dfbb){_0xb0445a['push'](_0xb0445a['shift']());}}}(_0x3102,0x68115));import{Plugin as _0x6a60e3,PendingActions as _0x275d23}from'ckeditor5/src/core.js';import{IconSource as _0x45b46e}from'ckeditor5/src/icons.js';import{ButtonView as _0x504232,MenuBarMenuListItemButtonView as _0xbfbb24}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x428019}from'./ui/editsourcecommand.js';function _0x3102(){const _0x415f42=['fromCharCode','Ctrl+M','bind','Alt+Shift+M','1677686Jzdhfj','SourceEditingEnhancedUI','addKeystrokeInfoCategory','Cmd+Alt+]','isMac','Shift+Alt+ArrowDown','244JvuNwf','listenTo','Fold\x20code\x20(current\x20level)','638740ObEwQA','Unfold\x20all','menuitemcheckbox','5160323hdTuPZ','init','isPremiumPlugin','requires','afterInit','set','Source','8LVwGVq','Alt+ArrowDown','Unfold\x20code\x20(current\x20level)','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Alt+ArrowUp','Ctrl+/','isiOS','Toggle\x20block\x20comment','add','menuBar:sourceEditingEnhanced','Ctrl+Shift+[','Redo\x20(keystroke)','Ctrl+Shift+]','5975350ZcRFsG','pluginName','Select\x20line','Alt+L','Toggle\x20comment','Shift+Ctrl+K','41185CfZsXb','Move\x20line\x20down','componentFactory','Copy\x20line\x20down','Shift+Alt+ArrowUp','Cmd+Alt+[','Indent\x20less','isOfficialPlugin','ck-source-editing-enhanced-button','accessibility','Ctrl+Y','editor','execute','Ctrl+Z','addKeystrokeInfos','Undo\x20(keystroke)','Source\x20Editing\x20Enhanced','Copy\x20line\x20up','_registerKeybindings','sourceEditingEnhanced','Indent\x20more','5541gyJUIj','commands','Ctrl+[','isEnabled','map','Fold\x20all','222wxSFzU','Delete\x20line','Shift+Alt+A','join','Ctrl!+L','22SYtesf','_createButton','Ctrl!+Alt+]','Ctrl!+Alt+[','1473183dDjWim','Move\x20line\x20up','Ctrl+]','editSource','href','Ctrl+Shift+Z','locale','Edit\x20source\x20modal\x20label'];_0x3102=function(){return _0x415f42;};return _0x3102();}import{getTranslation as _0x50569e}from'./utils/common-translations.js';function _0x5bbb(_0x1f68e5,_0x211fbc){const _0x3102f2=_0x3102();return _0x5bbb=function(_0x5bbb74,_0x1880bd){_0x5bbb74=_0x5bbb74-0x144;let _0x404b2c=_0x3102f2[_0x5bbb74];return _0x404b2c;},_0x5bbb(_0x1f68e5,_0x211fbc);}import{env as _0xdceb83,uid as _0x3bbcf5}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x6a60e3{static get[_0x14a250(0x166)](){const _0x3af2db=_0x14a250;return _0x3af2db(0x146);}static get[_0x14a250(0x154)](){return[_0x275d23];}static get[_0x14a250(0x172)](){return!0x0;}static get[_0x14a250(0x153)](){return!0x0;}[_0x14a250(0x152)](){const _0x5329c9=_0x14a250,_0x169c2c=this[_0x5329c9(0x176)],_0x3cc245=_0x169c2c[_0x5329c9(0x195)],_0x4e4832=new _0x428019(_0x169c2c);_0x169c2c[_0x5329c9(0x181)][_0x5329c9(0x160)](_0x5329c9(0x192),_0x4e4832),_0x169c2c['ui'][_0x5329c9(0x16d)][_0x5329c9(0x160)](_0x5329c9(0x17e),()=>{const _0x3d5333=_0x5329c9,_0x2366ce=this[_0x3d5333(0x18c)](_0x504232,_0x4e4832);return _0x2366ce[_0x3d5333(0x156)]({'label':_0x50569e(_0x3cc245,_0x3d5333(0x157)),'icon':_0x45b46e,'tooltip':_0x50569e(_0x3cc245,_0x3d5333(0x196)),'class':_0x3d5333(0x173)}),_0x2366ce;}),_0x169c2c['ui'][_0x5329c9(0x16d)][_0x5329c9(0x160)](_0x5329c9(0x161),()=>{const _0x95108d=_0x5329c9,_0x516b28=this[_0x95108d(0x18c)](_0xbfbb24,_0x4e4832,!0x0);return _0x516b28[_0x95108d(0x156)]({'label':_0x50569e(_0x3cc245,_0x95108d(0x196)),'icon':_0x45b46e,'role':_0x95108d(0x150)}),_0x516b28;}),this[_0x5329c9(0x17d)]();}[_0x14a250(0x155)](){!async function(_0x5345c6){const _0x5ee50c=_0x1ebf87([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x5a74b2=0x305505ed,_0x4e9463=0x305273fd^_0x5a74b2,_0x49a965=window[_0x1ebf87([0x44,0x61,0x74,0x65])][_0x1ebf87([0x6e,0x6f,0x77])](),_0x45f5d4=_0x5345c6[_0x1ebf87([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2724ba=new window[(_0x1ebf87([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf346fb=>{_0x45f5d4[_0x1ebf87([0x6f,0x6e,0x63,0x65])](_0x1ebf87([0x72,0x65,0x61,0x64,0x79]),_0xf346fb);}),_0x1873dc={[_0x1ebf87([0x6b,0x74,0x79])]:_0x1ebf87([0x45,0x43]),[_0x1ebf87([0x75,0x73,0x65])]:_0x1ebf87([0x73,0x69,0x67]),[_0x1ebf87([0x63,0x72,0x76])]:_0x1ebf87([0x50,0x2d,0x32,0x35,0x36]),[_0x1ebf87([0x78])]:_0x1ebf87([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]),[_0x1ebf87([0x79])]:_0x1ebf87([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]),[_0x1ebf87([0x61,0x6c,0x67])]:_0x1ebf87([0x45,0x53,0x32,0x35,0x36])},_0x172081=_0x45f5d4[_0x1ebf87([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ebf87([0x67,0x65,0x74])](_0x1ebf87([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x431d36(){let _0x5dae9d,_0x5119bd=null,_0x28145a=null;try{if(_0x172081==_0x1ebf87([0x47,0x50,0x4c]))return _0x1ebf87([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5dae9d=_0x25ba46(),!_0x5dae9d)return _0x1ebf87([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5dae9d[_0x1ebf87([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28145a=_0x5f29a9(_0x5dae9d[_0x1ebf87([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5dae9d[_0x1ebf87([0x6a,0x74,0x69])])),await _0x4a413d()?_0x18116d()?_0x23967d()?_0x1ebf87([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24b78f()?(_0x5dae9d[_0x1ebf87([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebf87([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5119bd=_0x307c8f(_0x1ebf87([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5dae9d[_0x1ebf87([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebf87([0x74,0x72,0x69,0x61,0x6c])&&(_0x5119bd=_0x307c8f(_0x1ebf87([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x345a19()):_0x1ebf87([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ebf87([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ebf87([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ebf87([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23967d(){const _0x579882=[_0x1ebf87([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ebf87([0x74,0x72,0x69,0x61,0x6c])][_0x1ebf87([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dae9d[_0x1ebf87([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x49a965/0x3e8:0xe10*_0x4e9463;return _0x5dae9d[_0x1ebf87([0x65,0x78,0x70])]<_0x579882;}function _0x18116d(){const _0x57070d=_0x5dae9d[_0x1ebf87([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57070d&&(!!_0x57070d[_0x1ebf87([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebf87([0x2a]))||!!_0x57070d[_0x1ebf87([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebf87([0x53,0x45,0x45])));}function _0x24b78f(){const _0x51e002=_0x5bbb,_0x360c29=_0x5dae9d[_0x1ebf87([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x360c29||0x0==_0x360c29[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x525fd9}=new URL(window[_0x1ebf87([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x51e002(0x193)]);if(_0x360c29[_0x1ebf87([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525fd9))return!0x0;const _0x381009=_0x525fd9[_0x1ebf87([0x73,0x70,0x6c,0x69,0x74])](_0x1ebf87([0x2e]));return _0x360c29[_0x1ebf87([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50306e=>_0x50306e[_0x1ebf87([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebf87([0x2a])))[_0x1ebf87([0x6d,0x61,0x70])](_0x295a4e=>_0x295a4e[_0x1ebf87([0x73,0x70,0x6c,0x69,0x74])](_0x1ebf87([0x2e])))[_0x1ebf87([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcdb714=>_0xcdb714[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x381009[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ebf87([0x6d,0x61,0x70])](_0x4bed05=>Array(_0x381009[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4bed05[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ebf87([0x66,0x69,0x6c,0x6c])](_0x4bed05[0x0]===_0x1ebf87([0x2a])?_0x1ebf87([0x2a]):'')[_0x1ebf87([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4bed05))[_0x1ebf87([0x73,0x6f,0x6d,0x65])](_0x4007e6=>_0x381009[_0x1ebf87([0x65,0x76,0x65,0x72,0x79])]((_0x3255ba,_0x4a604a)=>_0x4007e6[_0x4a604a]===_0x3255ba||_0x4007e6[_0x4a604a]===_0x1ebf87([0x2a])));}function _0x345a19(){return _0x5119bd&&_0x28145a?new window[(_0x1ebf87([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aabe3,_0x5afd0d)=>{_0x5119bd[_0x1ebf87([0x74,0x68,0x65,0x6e])](_0x4aabe3,_0x5afd0d),_0x28145a[_0x1ebf87([0x74,0x68,0x65,0x6e])](_0x161ac7=>{_0x161ac7!=_0x1ebf87([0x56,0x61,0x6c,0x69,0x64])&&_0x4aabe3(_0x161ac7);},_0x5afd0d);}):_0x5119bd||_0x28145a||_0x1ebf87([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5f29a9(_0x4e77ce,_0x5d9c76){return new window[(_0x1ebf87([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52e16c=>{if(_0x1a1eb4())return _0x52e16c(_0x1ebf87([0x56,0x61,0x6c,0x69,0x64]));_0x338204(),_0x45f5d4[_0x1ebf87([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ebf87([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c6094=!0x1;const _0x1f3707=_0x3bbcf5();function _0x207f98(_0x107086){return!!_0x107086&&(typeof _0x107086===_0x1ebf87([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x107086===_0x1ebf87([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x107086[_0x1ebf87([0x74,0x68,0x65,0x6e])]===_0x1ebf87([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x107086[_0x1ebf87([0x63,0x61,0x74,0x63,0x68])]===_0x1ebf87([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23db75(_0x1b2d3a){_0x58b46a(_0x1b2d3a)[_0x1ebf87([0x74,0x68,0x65,0x6e])](_0x160810=>{if(!_0x160810||_0x160810[_0x1ebf87([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ebf87([0x6f,0x6b]))return _0x1ebf87([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x44e8c7(_0x392df7(_0x1f3707+_0x5d9c76))!=_0x160810[_0x1ebf87([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ebf87([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ebf87([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ebf87([0x74,0x68,0x65,0x6e])](_0x3a8af7=>(_0x3ca3c4(),_0x3a8af7),()=>{const _0x3892d6=_0x2f0c9a();return null==_0x3892d6?(_0x3ca3c4(),_0x1ebf87([0x56,0x61,0x6c,0x69,0x64])):_0x1ebf87(_0x49a965-_0x3892d6>(0x145981ed^_0x5a74b2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ebf87([0x74,0x68,0x65,0x6e])](_0x52e16c)[_0x1ebf87([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52e16c(_0x1ebf87([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43ba69=0x3063eb6d^_0x5a74b2;function _0x3ca3c4(){const _0x53a5d8=_0x1ebf87([0x6c,0x6c,0x63,0x74,0x2d])+_0x44e8c7(_0x392df7(_0x4e77ce)),_0x116c9b=_0x43d734(_0x44e8c7(window[_0x1ebf87([0x4d,0x61,0x74,0x68])][_0x1ebf87([0x63,0x65,0x69,0x6c])](_0x49a965/_0x43ba69)));window[_0x1ebf87([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ebf87([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53a5d8,_0x116c9b);}function _0x2f0c9a(){const _0x1e7793=_0x1ebf87([0x6c,0x6c,0x63,0x74,0x2d])+_0x44e8c7(_0x392df7(_0x4e77ce)),_0x1d57d5=window[_0x1ebf87([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ebf87([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e7793);return _0x1d57d5?window[_0x1ebf87([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43d734(_0x1d57d5),0x10)*_0x43ba69:null;}function _0x58b46a(_0x377251){return new window[(_0x1ebf87([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb23a91,_0x2859ca)=>{_0x377251[_0x1ebf87([0x74,0x68,0x65,0x6e])](_0xb23a91,_0x2859ca),window[_0x1ebf87([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2859ca,0x3054d12d^_0x5a74b2);});}}_0x45f5d4[_0x1ebf87([0x6f,0x6e])](_0x1ebf87([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x66a2c1,_0x1b09f2)=>{if(_0x1b09f2[0x0]!=_0x4e77ce)return _0x52e16c(_0x1ebf87([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b09f2[0x1]={..._0x1b09f2[0x1],[_0x1ebf87([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f3707};},{[_0x1ebf87([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ebf87([0x68,0x69,0x67,0x68])}),_0x45f5d4[_0x1ebf87([0x6f,0x6e])](_0x1ebf87([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x70f77c=>{_0x207f98(_0x70f77c[_0x1ebf87([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c6094=!0x0,_0x23db75(_0x70f77c[_0x1ebf87([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ebf87([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ebf87([0x6c,0x6f,0x77])}),_0x2724ba[_0x1ebf87([0x74,0x68,0x65,0x6e])](()=>{_0x5c6094||_0x52e16c(_0x1ebf87([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a1eb4(){return _0x45f5d4[_0x1ebf87([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ebf87([0x76,0x69,0x65,0x77])][_0x1ebf87([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ebf87([0x61,0x75,0x74,0x6f]);}function _0x338204(){_0x45f5d4[_0x1ebf87([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ebf87([0x76,0x69,0x65,0x77])][_0x1ebf87([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ebf87([0x61,0x75,0x74,0x6f]);}}function _0x307c8f(_0x54a29a){const _0x5ba1a6=[new window[(_0x1ebf87([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4398d9=>setTimeout(_0x4398d9,0x305c3b21^_0x5a74b2)),_0x2724ba[_0x1ebf87([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ebf87([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33d1d0=>{let _0x2af695=0x0;_0x45f5d4[_0x1ebf87([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebf87([0x6f,0x6e])](_0x1ebf87([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31b141,_0x2c2af7)=>{_0x2c2af7[0x0][_0x1ebf87([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2af695++,_0x2af695==(0x30550415^_0x5a74b2)&&(_0x33d1d0(),_0x31b141[_0x1ebf87([0x6f,0x66,0x66])]());});}))];return window[_0x1ebf87([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ebf87([0x72,0x61,0x63,0x65])](_0x5ba1a6)[_0x1ebf87([0x74,0x68,0x65,0x6e])](()=>_0x54a29a);}async function _0x398f6c(){await _0x2724ba,_0x45f5d4[_0x1ebf87([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebf87([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d0fed,_0x45f5d4[_0x1ebf87([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebf87([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d0fed,_0x45f5d4[_0x1ebf87([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ebf87([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xbaf278(_0x51f8cd){const _0x373975=_0x5d66d5();_0x45f5d4[_0x373975]=_0x1ebf87([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])+_0x51f8cd,_0x51f8cd!=_0x1ebf87([0x56,0x61,0x6c,0x69,0x64])&&_0x398f6c();}function _0x5d66d5(){const _0x10226e=window[_0x1ebf87([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ebf87([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ebf87([0x6e,0x6f,0x77])]())[_0x1ebf87([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ebf87([0x2e]),'');let _0x250633=_0x1ebf87([0x75]);for(let _0x3b7a5e=0x0;_0x3b7a5e<_0x10226e[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b7a5e+=0x2){let _0x242bd0=window[_0x1ebf87([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10226e[_0x1ebf87([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b7a5e,_0x3b7a5e+0x2));_0x242bd0>=_0x5ee50c[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x242bd0-=_0x5ee50c[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x250633+=_0x5ee50c[_0x242bd0];}return _0x250633;}function _0x25ba46(){const _0x314749=_0x172081[_0x1ebf87([0x73,0x70,0x6c,0x69,0x74])](_0x1ebf87([0x2e]));if(0x3!=_0x314749[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x301c99(_0x314749[0x1]);function _0x301c99(_0x3d5f3f){const _0x10ab1c=_0x3fd538(_0x3d5f3f);return _0x10ab1c&&_0xa1dc50()?_0x10ab1c:null;function _0xa1dc50(){const _0x44b98e=_0x10ab1c[_0x1ebf87([0x6a,0x74,0x69])],_0x23fe19=window[_0x1ebf87([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44b98e[_0x1ebf87([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44b98e[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41bf51={..._0x10ab1c,[_0x1ebf87([0x6a,0x74,0x69])]:_0x44b98e[_0x1ebf87([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x44b98e[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41bf51[_0x1ebf87([0x76,0x63])],_0x392df7(_0x41bf51)==_0x23fe19;}}}async function _0x4a413d(){let _0x13aa8c=!0x0;try{const _0x4a5d26=_0x172081[_0x1ebf87([0x73,0x70,0x6c,0x69,0x74])](_0x1ebf87([0x2e])),[_0x494f27,_0x295152,_0x2c9ff8]=_0x4a5d26;return _0x377af7(_0x494f27),await _0x4efd32(_0x494f27,_0x295152,_0x2c9ff8),_0x13aa8c;}catch{return!0x1;}function _0x377af7(_0x263b7d){const _0x564c1a=_0x3fd538(_0x263b7d);_0x564c1a&&_0x564c1a[_0x1ebf87([0x61,0x6c,0x67])]==_0x1ebf87([0x45,0x53,0x32,0x35,0x36])||(_0x13aa8c=!0x1);}async function _0x4efd32(_0x3ed458,_0x577614,_0x568cd9){const _0x33ffec=window[_0x1ebf87([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ebf87([0x66,0x72,0x6f,0x6d])](_0x158603(_0x568cd9),_0x2a5e55=>_0x2a5e55[_0x1ebf87([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x911802=new window[(_0x1ebf87([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ebf87([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ed458+_0x1ebf87([0x2e])+_0x577614),_0x29feae=window[_0x1ebf87([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ebf87([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29feae)return;const _0x389a5e=await _0x29feae[_0x1ebf87([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ebf87([0x6a,0x77,0x6b]),_0x1873dc,{[_0x1ebf87([0x6e,0x61,0x6d,0x65])]:_0x1ebf87([0x45,0x43,0x44,0x53,0x41]),[_0x1ebf87([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ebf87([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ebf87([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29feae[_0x1ebf87([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ebf87([0x6e,0x61,0x6d,0x65])]:_0x1ebf87([0x45,0x43,0x44,0x53,0x41]),[_0x1ebf87([0x68,0x61,0x73,0x68])]:{[_0x1ebf87([0x6e,0x61,0x6d,0x65])]:_0x1ebf87([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x389a5e,_0x33ffec,_0x911802)||(_0x13aa8c=!0x1);}}function _0x3fd538(_0x2f59a0){return _0x2f59a0[_0x1ebf87([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ebf87([0x65,0x79]))?JSON[_0x1ebf87([0x70,0x61,0x72,0x73,0x65])](_0x158603(_0x2f59a0)):null;}function _0x158603(_0x36634e){return window[_0x1ebf87([0x61,0x74,0x6f,0x62])](_0x36634e[_0x1ebf87([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ebf87([0x2b]))[_0x1ebf87([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ebf87([0x2f])));}function _0x392df7(_0x22938c){let _0x506d2d=0x1505;function _0x413b70(_0xc48960){for(let _0x3abb8c=0x0;_0x3abb8c<_0xc48960[_0x1ebf87([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3abb8c++){const _0x5d7577=_0xc48960[_0x1ebf87([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3abb8c);_0x506d2d=(_0x506d2d<<0x5)+_0x506d2d+_0x5d7577,_0x506d2d&=_0x506d2d;}}function _0xa66a04(_0x4e0b89){Array[_0x1ebf87([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e0b89)?_0x4e0b89[_0x1ebf87([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa66a04):_0x4e0b89&&typeof _0x4e0b89==_0x1ebf87([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ebf87([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e0b89)[_0x1ebf87([0x73,0x6f,0x72,0x74])]()[_0x1ebf87([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x251f1d,_0xf0d47b])=>{_0x413b70(_0x251f1d),_0xa66a04(_0xf0d47b);}):_0x413b70(window[_0x1ebf87([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e0b89));}return _0xa66a04(_0x22938c),_0x506d2d>>>0x0;}function _0x44e8c7(_0x1c1792){return _0x1c1792[_0x1ebf87([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ebf87([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ebf87([0x30]));}function _0x43d734(_0x4a5f99){return _0x4a5f99[_0x1ebf87([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ebf87([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ebf87([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d0fed(){}function _0x1ebf87(_0x4c6035){const _0x39e15e=_0x5bbb;return _0x4c6035[_0x39e15e(0x184)](_0x37cb21=>String[_0x39e15e(0x197)](_0x37cb21))[_0x39e15e(0x189)]('');}_0xbaf278(await _0x431d36());}(this);}[_0x14a250(0x18c)](_0x452c02,_0x2a0361,_0x398c74=!0x1){const _0x2e282f=_0x14a250,_0x45ee6c=new _0x452c02(this[_0x2e282f(0x176)][_0x2e282f(0x195)]);return _0x45ee6c[_0x2e282f(0x156)]({'withText':_0x398c74,'isToggleable':!0x1}),_0x45ee6c[_0x2e282f(0x199)](_0x2e282f(0x183))['to'](_0x2a0361,_0x2e282f(0x183)),this[_0x2e282f(0x14c)](_0x45ee6c,_0x2e282f(0x177),()=>_0x2a0361[_0x2e282f(0x177)]()),_0x45ee6c;}[_0x14a250(0x17d)](){const _0x3f2fac=_0x14a250,_0x50c5f0=this[_0x3f2fac(0x176)][_0x3f2fac(0x195)];this[_0x3f2fac(0x176)][_0x3f2fac(0x174)][_0x3f2fac(0x147)]({'id':_0x3f2fac(0x17e),'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x17b))});const _0x48ae6d=_0xdceb83[_0x3f2fac(0x149)]||_0xdceb83[_0x3f2fac(0x15e)];this[_0x3f2fac(0x176)][_0x3f2fac(0x174)][_0x3f2fac(0x179)]({'categoryId':_0x3f2fac(0x17e),'keystrokes':[{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x16e)),'keystroke':_0x3f2fac(0x14a)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x17c)),'keystroke':_0x3f2fac(0x16f)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x187)),'keystroke':_0x3f2fac(0x16a)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x171)),'keystroke':_0x3f2fac(0x182)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x17f)),'keystroke':_0x3f2fac(0x191)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x185)),'keystroke':_0x3f2fac(0x18e)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x14d)),'keystroke':_0x48ae6d?_0x3f2fac(0x170):_0x3f2fac(0x162)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x16c)),'keystroke':_0x3f2fac(0x159)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x190)),'keystroke':_0x3f2fac(0x15c)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x163)),'keystroke':[[_0x3f2fac(0x194)],[_0x3f2fac(0x175)]]},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x167)),'keystroke':_0x48ae6d?_0x3f2fac(0x18a):_0x3f2fac(0x168)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x15b)),'keystroke':_0x48ae6d?_0x3f2fac(0x144):_0x3f2fac(0x198)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x15f)),'keystroke':_0x3f2fac(0x188)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x169)),'keystroke':_0x3f2fac(0x15d)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x17a)),'keystroke':_0x3f2fac(0x178)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x14f)),'keystroke':_0x3f2fac(0x18d)},{'label':_0x50569e(_0x50c5f0,_0x3f2fac(0x15a)),'keystroke':_0x48ae6d?_0x3f2fac(0x148):_0x3f2fac(0x164)}]});}}