@ckeditor/ckeditor5-source-editing-enhanced 46.0.0-alpha.5 → 46.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x3d86b5,PendingActions as _0x28b186,Plugin as _0x3471c7}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xba64d,formatHtml as _0x44d646,env as _0x5bebcd,uid as _0x50f6d0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x331084}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x391618,ButtonView as _0x163c53,MenuBarMenuListItemButtonView as _0x7b0707}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0xf18779,crosshairCursor as _0x59b8d9,drawSelection as _0x2d166a,dropCursor as _0x5b35f8,lineNumbers as _0x2b2a28,highlightActiveLine as _0x2fd0a1,highlightActiveLineGutter as _0x34a707,highlightSpecialChars as _0xf78868,rectangularSelection as _0xf1f594,keymap as _0x3a2c58}from'@codemirror/view';import{Compartment as _0x291752,Transaction as _0xe5f31e}from'@codemirror/state';import{bracketMatching as _0x40dbc8,foldGutter as _0x27fb89,indentOnInput as _0x46f709,syntaxHighlighting as _0x48b6d9,defaultHighlightStyle as _0x24b9fe,foldKeymap as _0x2a66e4}from'@codemirror/language';import{toggleTabFocusMode as _0x2dae99,history as _0x181a32,defaultKeymap as _0x5e2b5e,historyKeymap as _0x3f5f07,indentLess as _0x541a5f,indentMore as _0x4ad6c2,redo as _0x3da36d,undo as _0x33f8c2}from'@codemirror/commands';import{autocompletion as _0x36c9de,closeBrackets as _0x2815a6,closeBracketsKeymap as _0x585981,completionKeymap as _0x255877}from'@codemirror/autocomplete';import{html as _0x38a236}from'@codemirror/lang-html';import{markdown as _0x58bf00}from'@codemirror/lang-markdown';import{oneDark as _0x3c3e8b}from'@codemirror/theme-one-dark';function w(_0x308839,_0xc556f9){const t=_0x308839['t'];switch(_0xc556f9){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 _0xc556f9;}}function r(_0x9d2cfd){const _0x36fbcf=_0x9d2cfd['editing']['view']['document']['roots'],_0x16ed99=_0x36fbcf['length'];if(0x0===_0x16ed99)throw new _0xba64d('source-editing-enhanced-editor-no-root',_0x9d2cfd);if(0x1===_0x16ed99)return _0x36fbcf['first']['rootName'];return Array['from'](_0x9d2cfd['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x5c2184){return tr(_0x5c2184['replace'](/^[\n\s]*/g,''))?_0x5c2184['replace'](/\s+/g,''):_0x5c2184;}function tr(_0x3ef7ad){return _0x3ef7ad['startsWith']('<');}function p(_0x1be5a){const _0x380edf=[_0xf18779['lineWrapping'],_0x36c9de(),_0x40dbc8(),_0x2815a6(),_0x59b8d9(),_0x2d166a(),_0x5b35f8(),_0x2b2a28(),_0x27fb89(),_0x2fd0a1(),_0x34a707(),_0xf78868(),_0x181a32(),_0x46f709(),_0xf1f594(),_0x48b6d9(_0x24b9fe,{'fallback':!0x0})],_0xb8dcf1=new _0x291752();_0x380edf['push'](_0xb8dcf1['of'](_0xf18779['editable']['of'](!0x0))),'html'===_0x1be5a['syntaxLanguage']?_0x380edf['push'](_0x38a236()):_0x380edf['push'](_0x58bf00());const _0x944966=function(_0xeaf9f6){if(_0xeaf9f6&&'default'!==_0xeaf9f6)return'dark'===_0xeaf9f6?_0x3c3e8b:_0xeaf9f6;return null;}(_0x1be5a['theme']);_0x944966&&_0x380edf['push'](_0x944966),_0x380edf['push'](_0x3a2c58['of']([..._0x585981,..._0x5e2b5e,..._0x3f5f07,..._0x2a66e4,..._0x255877,{'key':'Tab','run':_0x4ad6c2,'shift':_0x541a5f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3da36d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3da36d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x33f8c2,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x18e35a=new _0xf18779({'extensions':_0x380edf,'parent':_0x1be5a['parent']});return _0x2dae99(_0x18e35a),{'focus':()=>{_0x18e35a['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x18e35a['focus']();},'getData':()=>_0x18e35a['state']['doc']['toString'](),'setData':_0x11471d=>{_0x18e35a['dispatch']({'changes':{'from':0x0,'to':_0x18e35a['state']['doc']['length'],'insert':_0x11471d},'annotations':_0xe5f31e['addToHistory']['of'](!0x1)});},'setReadOnly':_0x41b4f8=>{_0x18e35a['dispatch']({'effects':[_0xb8dcf1['reconfigure'](_0xf18779['editable']['of'](!_0x41b4f8))]});},'destroy':()=>{_0x18e35a['destroy']();},'instance':_0x18e35a};}class E extends _0x391618{['_codeEditorApi']=null;['_options'];constructor(_0x15ae40,_0x8557ee){super(_0x15ae40),this['_options']=_0x8557ee,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',(_0xdfbb72,_0x2656b0,_0x26e926)=>{this['setReadOnly'](_0x26e926);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x24b168){this['_codeEditorApi']['setData'](_0x24b168);}['setReadOnly'](_0x59d2e4){this['_codeEditorApi']['setReadOnly'](_0x59d2e4);}}const b='SourceEditingEnhancedMode';class d extends _0x3d86b5{constructor(_0xace9f9){super(_0xace9f9),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x28b186)['on']('change:hasAny',(_0x1be3c1,_0x4421a6,_0xd4c18f)=>{_0xd4c18f?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4ed983=this['editor'];for(const _0x3a9f6c of _0x4ed983['commands']['names']())['replaceSource','editSource']['includes'](_0x3a9f6c)||_0x4ed983['commands']['get'](_0x3a9f6c)['forceDisabled'](b);}['_enableCommands'](){const _0xb86c53=this['editor'];for(const _0x29dffb of _0xb86c53['commands']['commands']())_0x29dffb['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x9240de=this['editor'],_0x559b80=_0x9240de['locale'],_0x4bcb95=_0x9240de['plugins']['get']('Dialog'),_0x221152=r(_0x9240de),_0x223837=_0x9240de['data']['get']({'rootName':_0x221152}),_0x5b26ed=tr(_0x6eadf0=_0x223837)?_0x44d646(_0x6eadf0):_0x6eadf0;var _0x6eadf0;const _0x231abf=new E(_0x559b80,{'syntaxLanguage':_0x9240de['plugins']['has']('Markdown')?'markdown':'html','theme':_0x9240de['config']['get']('sourceEditingEnhanced.theme')});let _0x4cfda1=!0x0;const _0x14532a=_0x2d02ca=>{if(!_0x4cfda1)return;return g(_0x231abf['getData']())!==g(_0x5b26ed)?window['confirm'](w(_0x559b80,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2d02ca['stop']():void 0x0;};_0x4bcb95['show']({'id':'sourceEditingEnhanced','title':w(_0x559b80,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x231abf,'actionButtons':[{'label':w(_0x559b80,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x4bcb95['hide']();}},{'label':w(_0x559b80,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x5bead1=g(_0x231abf['getData']())!==g(_0x5b26ed);(_0x5bead1&&_0x9240de['execute']('replaceSource',_0x231abf['getData']()),_0x4cfda1=!0x1,_0x4bcb95['hide'](),_0x5bead1&&'editables'in _0x9240de['ui']['view'])&&_0x9240de['ui']['view']['editables'][_0x221152]['element']['focus']();},'onCreate':_0x293655=>{_0x293655['set']('isEnabled',!_0x9240de['isReadOnly']),_0x293655['bind']('isEnabled')['to'](_0x9240de,'isReadOnly',this,'isEnabled',(_0x2f9ddc,_0x384991)=>!_0x2f9ddc&&_0x384991);}}],'onHide':()=>{this['_enableCommands'](),_0x4bcb95['off']('hide',_0x14532a),_0x231abf['destroy']();},'onShow':()=>{_0x231abf['bind']('isReadOnly')['to'](_0x9240de,'isReadOnly',this,'isEnabled',(_0xf8cb7a,_0x471e53)=>_0xf8cb7a||!_0x471e53),_0x231abf['setData'](_0x5b26ed),_0x231abf['focus'](),_0x4bcb95['on']('hide',_0x14532a,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x3471c7{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x28b186];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x21c7d0=this['editor'],_0x45cb90=_0x21c7d0['locale'],_0x2fcee2=new d(_0x21c7d0);_0x21c7d0['commands']['add']('editSource',_0x2fcee2),_0x21c7d0['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x197a61=this['_createButton'](_0x163c53,_0x2fcee2);return _0x197a61['set']({'label':w(_0x45cb90,'Source'),'icon':_0x331084,'tooltip':w(_0x45cb90,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x197a61;}),_0x21c7d0['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x451257=this['_createButton'](_0x7b0707,_0x2fcee2,!0x0);return _0x451257['set']({'label':w(_0x45cb90,'Edit\x20source\x20modal\x20label'),'icon':_0x331084,'role':'menuitemcheckbox'}),_0x451257;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xd44951){const _0x1cf75d=_0x4d28e0([0x63,0x41,0x72,0x5a,0x53,0x73,0x47,0x44,0x55,0x50,0x78,0x74,0x59,0x31,0x6d,0x36,0x6f,0x32,0x70,0x6e,0x58,0x48,0x35,0x69,0x6c,0x75,0x4a,0x46,0x45,0x49,0x51,0x68,0x30,0x38,0x62,0x79,0x57,0x4e,0x4b,0x43,0x61,0x76,0x71,0x65,0x64,0x37,0x56,0x7a,0x39,0x4f,0x4d,0x42,0x54,0x34,0x66,0x4c,0x77,0x52,0x67,0x6b,0x33,0x6a]),_0x58b27e=0x9dd3f90,_0x5e26d3=0x9da5358^_0x58b27e,_0x255118=window[_0x4d28e0([0x44,0x61,0x74,0x65])][_0x4d28e0([0x6e,0x6f,0x77])](),_0x4531c1=_0xd44951[_0x4d28e0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x418bc5=new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b66c6=>{_0x4531c1[_0x4d28e0([0x6f,0x6e,0x63,0x65])](_0x4d28e0([0x72,0x65,0x61,0x64,0x79]),_0x2b66c6);}),_0x551594={[_0x4d28e0([0x6b,0x74,0x79])]:_0x4d28e0([0x45,0x43]),[_0x4d28e0([0x75,0x73,0x65])]:_0x4d28e0([0x73,0x69,0x67]),[_0x4d28e0([0x63,0x72,0x76])]:_0x4d28e0([0x50,0x2d,0x32,0x35,0x36]),[_0x4d28e0([0x78])]:_0x4d28e0([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]),[_0x4d28e0([0x79])]:_0x4d28e0([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]),[_0x4d28e0([0x61,0x6c,0x67])]:_0x4d28e0([0x45,0x53,0x32,0x35,0x36])},_0x587c1c=_0x4531c1[_0x4d28e0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4d28e0([0x67,0x65,0x74])](_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f0168(){let _0x2f877a,_0x1ca6de=null,_0x580af7=null;try{if(_0x587c1c==_0x4d28e0([0x47,0x50,0x4c]))return _0x4d28e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f877a=_0x5db4ca(),!_0x2f877a)return _0x4d28e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f877a[_0x4d28e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x580af7=_0x25f62e(_0x2f877a[_0x4d28e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f877a[_0x4d28e0([0x6a,0x74,0x69])])),await _0x5a2c03()?_0x151100()?_0x1f6892()?_0x4d28e0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ac1ee()?(_0x2f877a[_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d28e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ca6de=_0x5b2fbb(_0x4d28e0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f877a[_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d28e0([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ca6de=_0x5b2fbb(_0x4d28e0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30a541()):_0x4d28e0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4d28e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4d28e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4d28e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f6892(){const _0x5bc636=[_0x4d28e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4d28e0([0x74,0x72,0x69,0x61,0x6c])][_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f877a[_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x255118/0x3e8:0xe10*_0x5e26d3;return _0x2f877a[_0x4d28e0([0x65,0x78,0x70])]<_0x5bc636;}function _0x151100(){const _0x12c502=_0x2f877a[_0x4d28e0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12c502&&(!!_0x12c502[_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d28e0([0x2a]))||!!_0x12c502[_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d28e0([0x53,0x45,0x45])));}function _0x1ac1ee(){const _0x11af4a=_0x2f877a[_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11af4a||0x0==_0x11af4a[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x401800}=new URL(window[_0x4d28e0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x11af4a[_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401800))return!0x0;const _0x4fa68a=_0x401800[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])](_0x4d28e0([0x2e]));return _0x11af4a[_0x4d28e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56495c=>_0x56495c[_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d28e0([0x2a])))[_0x4d28e0([0x6d,0x61,0x70])](_0x3d57be=>_0x3d57be[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])](_0x4d28e0([0x2e])))[_0x4d28e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ef21d=>_0x3ef21d[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4fa68a[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d28e0([0x6d,0x61,0x70])](_0x490790=>Array(_0x4fa68a[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x490790[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d28e0([0x66,0x69,0x6c,0x6c])](_0x490790[0x0]===_0x4d28e0([0x2a])?_0x4d28e0([0x2a]):'')[_0x4d28e0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x490790))[_0x4d28e0([0x73,0x6f,0x6d,0x65])](_0x49c9b5=>_0x4fa68a[_0x4d28e0([0x65,0x76,0x65,0x72,0x79])]((_0x24d8c4,_0x447089)=>_0x49c9b5[_0x447089]===_0x24d8c4||_0x49c9b5[_0x447089]===_0x4d28e0([0x2a])));}function _0x30a541(){return _0x1ca6de&&_0x580af7?new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e93d,_0x343221)=>{_0x1ca6de[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x53e93d,_0x343221),_0x580af7[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x563d2b=>{_0x563d2b!=_0x4d28e0([0x56,0x61,0x6c,0x69,0x64])&&_0x53e93d(_0x563d2b);},_0x343221);}):_0x1ca6de||_0x580af7||_0x4d28e0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25f62e(_0x4362d7,_0x9b6ee0){return new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58bd6e=>{if(_0xb56ed0())return _0x58bd6e(_0x4d28e0([0x56,0x61,0x6c,0x69,0x64]));_0x4caedb(),_0x4531c1[_0x4d28e0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4d28e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a669b=!0x1;const _0x2c5422=_0x50f6d0();function _0xc31442(_0x5766d0){return!!_0x5766d0&&(typeof _0x5766d0===_0x4d28e0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5766d0===_0x4d28e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5766d0[_0x4d28e0([0x74,0x68,0x65,0x6e])]===_0x4d28e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5766d0[_0x4d28e0([0x63,0x61,0x74,0x63,0x68])]===_0x4d28e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x298239(_0x4b5426){_0x3db51e(_0x4b5426)[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x139943=>{if(!_0x139943||_0x139943[_0x4d28e0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4d28e0([0x6f,0x6b]))return _0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ab447(_0x206ce0(_0x2c5422+_0x9b6ee0))!=_0x139943[_0x4d28e0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4d28e0([0x56,0x61,0x6c,0x69,0x64]);})[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x3b5816=>(_0xd6df2b(),_0x3b5816),()=>{const _0xd64692=_0x2cc63c();return null==_0xd64692?(_0xd6df2b(),_0x4d28e0([0x56,0x61,0x6c,0x69,0x64])):_0x4d28e0(_0x255118-_0xd64692>(0x2dd1bb90^_0x58b27e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x58bd6e)[_0x4d28e0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58bd6e(_0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2de03c=0x9ebd110^_0x58b27e;function _0xd6df2b(){const _0x413611=_0x4d28e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab447(_0x206ce0(_0x4362d7)),_0x48fab5=_0x1ff898(_0x5ab447(window[_0x4d28e0([0x4d,0x61,0x74,0x68])][_0x4d28e0([0x63,0x65,0x69,0x6c])](_0x255118/_0x2de03c)));window[_0x4d28e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d28e0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x413611,_0x48fab5);}function _0x2cc63c(){const _0x490438=_0x4d28e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab447(_0x206ce0(_0x4362d7)),_0x45f9d9=window[_0x4d28e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d28e0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x490438);return _0x45f9d9?window[_0x4d28e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ff898(_0x45f9d9),0x10)*_0x2de03c:null;}function _0x3db51e(_0x54c987){return new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1488e4,_0x2839ad)=>{_0x54c987[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x1488e4,_0x2839ad),window[_0x4d28e0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2839ad,0x9dceb50^_0x58b27e);});}}_0x4531c1[_0x4d28e0([0x6f,0x6e])](_0x4d28e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b3539,_0x202330)=>{if(_0x202330[0x0]!=_0x4362d7)return _0x58bd6e(_0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x202330[0x1]={..._0x202330[0x1],[_0x4d28e0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c5422};},{[_0x4d28e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d28e0([0x68,0x69,0x67,0x68])}),_0x4531c1[_0x4d28e0([0x6f,0x6e])](_0x4d28e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d500b=>{_0xc31442(_0x4d500b[_0x4d28e0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a669b=!0x0,_0x298239(_0x4d500b[_0x4d28e0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4d28e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d28e0([0x6c,0x6f,0x77])}),_0x418bc5[_0x4d28e0([0x74,0x68,0x65,0x6e])](()=>{_0x1a669b||_0x58bd6e(_0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb56ed0(){return _0x4531c1[_0x4d28e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d28e0([0x76,0x69,0x65,0x77])][_0x4d28e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4d28e0([0x61,0x75,0x74,0x6f]);}function _0x4caedb(){_0x4531c1[_0x4d28e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d28e0([0x76,0x69,0x65,0x77])][_0x4d28e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d28e0([0x61,0x75,0x74,0x6f]);}}function _0x5b2fbb(_0x2f542b){const _0x2173b6=[new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x97d9fa=>setTimeout(_0x97d9fa,0x9d4015c^_0x58b27e)),_0x418bc5[_0x4d28e0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38da99=>{let _0x2f9889=0x0;_0x4531c1[_0x4d28e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d28e0([0x6f,0x6e])](_0x4d28e0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e0ea8,_0xf14af0)=>{_0xf14af0[0x0][_0x4d28e0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f9889++,_0x2f9889==(0x9dd3e68^_0x58b27e)&&(_0x38da99(),_0x1e0ea8[_0x4d28e0([0x6f,0x66,0x66])]());});}))];return window[_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d28e0([0x72,0x61,0x63,0x65])](_0x2173b6)[_0x4d28e0([0x74,0x68,0x65,0x6e])](()=>_0x2f542b);}async function _0x4bc700(){await _0x418bc5,_0x4531c1[_0x4d28e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d28e0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd3058d,_0x4531c1[_0x4d28e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d28e0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd3058d,_0x4531c1[_0x4d28e0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4d28e0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38e6d7(_0x21177f){const _0x2bab03=_0x5f0760();_0x4531c1[_0x2bab03]=_0x4d28e0([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])+_0x21177f,_0x21177f!=_0x4d28e0([0x56,0x61,0x6c,0x69,0x64])&&_0x4bc700();}function _0x5f0760(){const _0x4a0702=window[_0x4d28e0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4d28e0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4d28e0([0x6e,0x6f,0x77])]())[_0x4d28e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4d28e0([0x2e]),'');let _0x14dbb7=_0x4d28e0([0x63]);for(let _0x459ffc=0x0;_0x459ffc<_0x4a0702[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x459ffc+=0x2){let _0x37e049=window[_0x4d28e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a0702[_0x4d28e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x459ffc,_0x459ffc+0x2));_0x37e049>=_0x1cf75d[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37e049-=_0x1cf75d[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14dbb7+=_0x1cf75d[_0x37e049];}return _0x14dbb7;}function _0x5db4ca(){const _0x290b42=_0x587c1c[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])](_0x4d28e0([0x2e]));if(0x3!=_0x290b42[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x282e84(_0x290b42[0x1]);function _0x282e84(_0x127490){const _0xc629ee=_0x539216(_0x127490);return _0xc629ee&&_0x5b4b51()?_0xc629ee:null;function _0x5b4b51(){const _0x19b505=_0xc629ee[_0x4d28e0([0x6a,0x74,0x69])],_0x113878=window[_0x4d28e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19b505[_0x4d28e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19b505[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2333ab={..._0xc629ee,[_0x4d28e0([0x6a,0x74,0x69])]:_0x19b505[_0x4d28e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19b505[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2333ab[_0x4d28e0([0x76,0x63])],_0x206ce0(_0x2333ab)==_0x113878;}}}async function _0x5a2c03(){let _0x20a28a=!0x0;try{const _0x2b22f9=_0x587c1c[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])](_0x4d28e0([0x2e])),[_0x19bbe4,_0x2029bf,_0x58dc8f]=_0x2b22f9;return _0x5db421(_0x19bbe4),await _0x5d140e(_0x19bbe4,_0x2029bf,_0x58dc8f),_0x20a28a;}catch{return!0x1;}function _0x5db421(_0x16cb37){const _0x1103df=_0x539216(_0x16cb37);_0x1103df&&_0x1103df[_0x4d28e0([0x61,0x6c,0x67])]==_0x4d28e0([0x45,0x53,0x32,0x35,0x36])||(_0x20a28a=!0x1);}async function _0x5d140e(_0x3ce557,_0x5bf8bc,_0x201282){const _0x14052a=window[_0x4d28e0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4d28e0([0x66,0x72,0x6f,0x6d])](_0x2cb22d(_0x201282),_0x4fb708=>_0x4fb708[_0x4d28e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d265e=new window[(_0x4d28e0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4d28e0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ce557+_0x4d28e0([0x2e])+_0x5bf8bc),_0x404c1f=window[_0x4d28e0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4d28e0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x404c1f)return;const _0x3d28c5=await _0x404c1f[_0x4d28e0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4d28e0([0x6a,0x77,0x6b]),_0x551594,{[_0x4d28e0([0x6e,0x61,0x6d,0x65])]:_0x4d28e0([0x45,0x43,0x44,0x53,0x41]),[_0x4d28e0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4d28e0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4d28e0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x404c1f[_0x4d28e0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4d28e0([0x6e,0x61,0x6d,0x65])]:_0x4d28e0([0x45,0x43,0x44,0x53,0x41]),[_0x4d28e0([0x68,0x61,0x73,0x68])]:{[_0x4d28e0([0x6e,0x61,0x6d,0x65])]:_0x4d28e0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d28c5,_0x14052a,_0x1d265e)||(_0x20a28a=!0x1);}}function _0x539216(_0x59208d){return _0x59208d[_0x4d28e0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4d28e0([0x65,0x79]))?JSON[_0x4d28e0([0x70,0x61,0x72,0x73,0x65])](_0x2cb22d(_0x59208d)):null;}function _0x2cb22d(_0x2fcf41){return window[_0x4d28e0([0x61,0x74,0x6f,0x62])](_0x2fcf41[_0x4d28e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4d28e0([0x2b]))[_0x4d28e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4d28e0([0x2f])));}function _0x206ce0(_0xcbcf09){let _0x473ef2=0x1505;function _0x5e4a0b(_0xb05037){for(let _0x45c1d5=0x0;_0x45c1d5<_0xb05037[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45c1d5++){const _0x4a560c=_0xb05037[_0x4d28e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45c1d5);_0x473ef2=(_0x473ef2<<0x5)+_0x473ef2+_0x4a560c,_0x473ef2&=_0x473ef2;}}function _0x4cd8a4(_0x4be958){Array[_0x4d28e0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4be958)?_0x4be958[_0x4d28e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4cd8a4):_0x4be958&&typeof _0x4be958==_0x4d28e0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4d28e0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4be958)[_0x4d28e0([0x73,0x6f,0x72,0x74])]()[_0x4d28e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14854d,_0x1b7999])=>{_0x5e4a0b(_0x14854d),_0x4cd8a4(_0x1b7999);}):_0x5e4a0b(window[_0x4d28e0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4be958));}return _0x4cd8a4(_0xcbcf09),_0x473ef2>>>0x0;}function _0x5ab447(_0x2d0195){return _0x2d0195[_0x4d28e0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4d28e0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4d28e0([0x30]));}function _0x1ff898(_0x361c08){return _0x361c08[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4d28e0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4d28e0([0x6a,0x6f,0x69,0x6e])]('');}function _0xd3058d(){}function _0x4d28e0(_0xa604a2){return _0xa604a2['map'](_0x36555f=>String['fromCharCode'](_0x36555f))['join']('');}_0x38e6d7(await _0x5f0168());}(this);}['_createButton'](_0x33b4e6,_0x1d6507,_0x28ae41=!0x1){const _0x51917b=new _0x33b4e6(this['editor']['locale']);return _0x51917b['set']({'withText':_0x28ae41,'isToggleable':!0x1}),_0x51917b['bind']('isEnabled')['to'](_0x1d6507,'isEnabled'),this['listenTo'](_0x51917b,'execute',()=>_0x1d6507['execute']()),_0x51917b;}['_registerKeybindings'](){const _0xc9facc=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0xc9facc,'Source\x20Editing\x20Enhanced')});const _0x44fa86=_0x5bebcd['isMac']||_0x5bebcd['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0xc9facc,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0xc9facc,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0xc9facc,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0xc9facc,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0xc9facc,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0xc9facc,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0xc9facc,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x44fa86?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0xc9facc,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0xc9facc,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0xc9facc,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0xc9facc,'Select\x20line'),'keystroke':_0x44fa86?'Ctrl!+L':'Alt+L'},{'label':w(_0xc9facc,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x44fa86?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0xc9facc,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0xc9facc,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0xc9facc,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0xc9facc,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0xc9facc,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x44fa86?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x3d86b5{constructor(_0xd535e7){super(_0xd535e7),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x248db8,_0x31a9bd){const _0xe672b5=this['editor'],_0x1d0803=_0x31a9bd?.['rootName']??r(_0xe672b5);_0xe672b5['data']['set']({[_0x1d0803]:_0x248db8},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x3471c7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x46ef77){super(_0x46ef77),_0x46ef77['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 _0x356050=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x434e54;for(const _0x3a05f6 in _0x356050){const _0x1ad870=_0x3a05f6,_0x5568c2=_0x356050[_0x1ad870];if('sourceEditingEnhancedLicenseKeyValid'==_0x5568c2||'sourceEditingEnhancedLicenseKeyInvalid'==_0x5568c2||'sourceEditingEnhancedLicenseKeyExpired'==_0x5568c2||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5568c2||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5568c2||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5568c2||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x5568c2||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5568c2){delete _0x356050[_0x1ad870],_0x434e54=_0x5568c2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x434e54&&_0x356050['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x434e54&&_0x356050['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x434e54&&_0x356050['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x434e54&&_0x356050['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x434e54&&_0x356050['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x434e54&&_0x356050['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x434e54&&_0x356050['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x58c98f=this['editor'],_0xc6a1c6=_0x58c98f['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0xc6a1c6&&_0x58c98f['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xba64d('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0xc6a1c6&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x18ae58=>_0x58c98f['plugins']['has'](_0x18ae58))&&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.'),_0x58c98f['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 _0x578158,PendingActions as _0x34ae50,Plugin as _0x2b18f6}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x56e046,formatHtml as _0x52f332,env as _0x3f6b92,uid as _0x1226ef}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x5ba34b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4fb9aa,ButtonView as _0xd2477d,MenuBarMenuListItemButtonView as _0x1ccf2d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x55989d,crosshairCursor as _0x7cfd6b,drawSelection as _0x5704f1,dropCursor as _0x6e2b43,lineNumbers as _0xdd9350,highlightActiveLine as _0x513b46,highlightActiveLineGutter as _0x213026,highlightSpecialChars as _0x239664,rectangularSelection as _0x317794,keymap as _0x246dee}from'@codemirror/view';import{Compartment as _0x1d404c,Transaction as _0x1f82fa}from'@codemirror/state';import{bracketMatching as _0x22640d,foldGutter as _0x6453d7,indentOnInput as _0x2baa96,syntaxHighlighting as _0x4c6be1,defaultHighlightStyle as _0x421760,foldKeymap as _0x3aa606}from'@codemirror/language';import{toggleTabFocusMode as _0x2abb97,history as _0x4b6f20,defaultKeymap as _0x145ce1,historyKeymap as _0x21703b,indentLess as _0x103843,indentMore as _0x1bf82b,redo as _0x16ace8,undo as _0x5cac01}from'@codemirror/commands';import{autocompletion as _0xee4d1b,closeBrackets as _0x3064ba,closeBracketsKeymap as _0x3a7e29,completionKeymap as _0x111620}from'@codemirror/autocomplete';import{html as _0x58c139}from'@codemirror/lang-html';import{markdown as _0x289753}from'@codemirror/lang-markdown';import{oneDark as _0xf2b3ba}from'@codemirror/theme-one-dark';function w(_0x3372cf,_0x1e0876){const t=_0x3372cf['t'];switch(_0x1e0876){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 _0x1e0876;}}function r(_0x1d8bb0){const _0xfe8553=_0x1d8bb0['editing']['view']['document']['roots'],_0x25f015=_0xfe8553['length'];if(0x0===_0x25f015)throw new _0x56e046('source-editing-enhanced-editor-no-root',_0x1d8bb0);if(0x1===_0x25f015)return _0xfe8553['first']['rootName'];return Array['from'](_0x1d8bb0['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x14a441){return tr(_0x14a441['replace'](/^[\n\s]*/g,''))?_0x14a441['replace'](/\s+/g,''):_0x14a441;}function tr(_0x12d4a4){return _0x12d4a4['startsWith']('<');}function p(_0x3d728e){const _0x3396d8=[_0x55989d['lineWrapping'],_0xee4d1b(),_0x22640d(),_0x3064ba(),_0x7cfd6b(),_0x5704f1(),_0x6e2b43(),_0xdd9350(),_0x6453d7(),_0x513b46(),_0x213026(),_0x239664(),_0x4b6f20(),_0x2baa96(),_0x317794(),_0x4c6be1(_0x421760,{'fallback':!0x0})],_0x54fbe3=new _0x1d404c();_0x3396d8['push'](_0x54fbe3['of'](_0x55989d['editable']['of'](!0x0))),'html'===_0x3d728e['syntaxLanguage']?_0x3396d8['push'](_0x58c139()):_0x3396d8['push'](_0x289753());const _0x553f7e=function(_0x2586f3){if(_0x2586f3&&'default'!==_0x2586f3)return'dark'===_0x2586f3?_0xf2b3ba:_0x2586f3;return null;}(_0x3d728e['theme']);_0x553f7e&&_0x3396d8['push'](_0x553f7e),_0x3396d8['push'](_0x246dee['of']([..._0x3a7e29,..._0x145ce1,..._0x21703b,..._0x3aa606,..._0x111620,{'key':'Tab','run':_0x1bf82b,'shift':_0x103843,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x16ace8,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x16ace8,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x5cac01,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x59991b=new _0x55989d({'extensions':_0x3396d8,'parent':_0x3d728e['parent']});return _0x2abb97(_0x59991b),{'focus':()=>{_0x59991b['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x59991b['focus']();},'getData':()=>_0x59991b['state']['doc']['toString'](),'setData':_0x197c39=>{_0x59991b['dispatch']({'changes':{'from':0x0,'to':_0x59991b['state']['doc']['length'],'insert':_0x197c39},'annotations':_0x1f82fa['addToHistory']['of'](!0x1)});},'setReadOnly':_0x512337=>{_0x59991b['dispatch']({'effects':[_0x54fbe3['reconfigure'](_0x55989d['editable']['of'](!_0x512337))]});},'destroy':()=>{_0x59991b['destroy']();},'instance':_0x59991b};}class E extends _0x4fb9aa{['_codeEditorApi']=null;['_options'];constructor(_0x1dc3af,_0x46e87a){super(_0x1dc3af),this['_options']=_0x46e87a,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',(_0x2468f4,_0x1bf543,_0x3b64a5)=>{this['setReadOnly'](_0x3b64a5);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x34408b){this['_codeEditorApi']['setData'](_0x34408b);}['setReadOnly'](_0x2d3cd8){this['_codeEditorApi']['setReadOnly'](_0x2d3cd8);}}const b='SourceEditingEnhancedMode';class d extends _0x578158{constructor(_0x3fd68e){super(_0x3fd68e),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x34ae50)['on']('change:hasAny',(_0x47ced3,_0x458a79,_0x4aa8a8)=>{_0x4aa8a8?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x56ae5b=this['editor'];for(const _0x32ed17 of _0x56ae5b['commands']['names']())['replaceSource','editSource']['includes'](_0x32ed17)||_0x56ae5b['commands']['get'](_0x32ed17)['forceDisabled'](b);}['_enableCommands'](){const _0x126ce6=this['editor'];for(const _0x30a326 of _0x126ce6['commands']['commands']())_0x30a326['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3491ac=this['editor'],_0x50d6aa=_0x3491ac['locale'],_0x5b6009=_0x3491ac['plugins']['get']('Dialog'),_0x308619=r(_0x3491ac),_0x53ad1f=_0x3491ac['data']['get']({'rootName':_0x308619}),_0x3184c3=tr(_0x1037e3=_0x53ad1f)?_0x52f332(_0x1037e3):_0x1037e3;var _0x1037e3;const _0x41d35e=new E(_0x50d6aa,{'syntaxLanguage':_0x3491ac['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3491ac['config']['get']('sourceEditingEnhanced.theme')});let _0x363c54=!0x0;const _0x25d334=_0x17e805=>{if(!_0x363c54)return;return g(_0x41d35e['getData']())!==g(_0x3184c3)?window['confirm'](w(_0x50d6aa,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x17e805['stop']():void 0x0;};_0x5b6009['show']({'id':'sourceEditingEnhanced','title':w(_0x50d6aa,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x41d35e,'actionButtons':[{'label':w(_0x50d6aa,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5b6009['hide']();}},{'label':w(_0x50d6aa,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x287880=g(_0x41d35e['getData']())!==g(_0x3184c3);(_0x287880&&_0x3491ac['execute']('replaceSource',_0x41d35e['getData']()),_0x363c54=!0x1,_0x5b6009['hide'](),_0x287880&&'editables'in _0x3491ac['ui']['view'])&&_0x3491ac['ui']['view']['editables'][_0x308619]['element']['focus']();},'onCreate':_0x330c79=>{_0x330c79['set']('isEnabled',!_0x3491ac['isReadOnly']),_0x330c79['bind']('isEnabled')['to'](_0x3491ac,'isReadOnly',this,'isEnabled',(_0x484f2a,_0x5834ce)=>!_0x484f2a&&_0x5834ce);}}],'onHide':()=>{this['_enableCommands'](),_0x5b6009['off']('hide',_0x25d334),_0x41d35e['destroy']();},'onShow':()=>{_0x41d35e['bind']('isReadOnly')['to'](_0x3491ac,'isReadOnly',this,'isEnabled',(_0x194e03,_0x122381)=>_0x194e03||!_0x122381),_0x41d35e['setData'](_0x3184c3),_0x41d35e['focus'](),_0x5b6009['on']('hide',_0x25d334,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2b18f6{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x34ae50];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x34755b=this['editor'],_0x58b308=_0x34755b['locale'],_0x4cf8fe=new d(_0x34755b);_0x34755b['commands']['add']('editSource',_0x4cf8fe),_0x34755b['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x46abf2=this['_createButton'](_0xd2477d,_0x4cf8fe);return _0x46abf2['set']({'label':w(_0x58b308,'Source'),'icon':_0x5ba34b,'tooltip':w(_0x58b308,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x46abf2;}),_0x34755b['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x9c93c4=this['_createButton'](_0x1ccf2d,_0x4cf8fe,!0x0);return _0x9c93c4['set']({'label':w(_0x58b308,'Edit\x20source\x20modal\x20label'),'icon':_0x5ba34b,'role':'menuitemcheckbox'}),_0x9c93c4;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x497091){const _0x15293a=_0x582589([0x43,0x6f,0x75,0x6a,0x55,0x59,0x58,0x41,0x56,0x78,0x6d,0x36,0x63,0x73,0x32,0x46,0x31,0x76,0x62,0x53,0x77,0x67,0x52,0x33,0x50,0x4e,0x72,0x64,0x68,0x4f,0x48,0x6b,0x7a,0x79,0x38,0x44,0x6c,0x74,0x57,0x45,0x4b,0x4c,0x47,0x39,0x70,0x66,0x49,0x35,0x65,0x54,0x6e,0x4a,0x34,0x30,0x4d,0x69,0x51,0x37,0x5a,0x42,0x61,0x71]),_0x12a7ee=0x2ce62efb,_0x51f312=0x2ce1421b^_0x12a7ee,_0x50f5a6=window[_0x582589([0x44,0x61,0x74,0x65])][_0x582589([0x6e,0x6f,0x77])](),_0x2eff96=_0x497091[_0x582589([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ed2d8=new window[(_0x582589([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27d417=>{_0x2eff96[_0x582589([0x6f,0x6e,0x63,0x65])](_0x582589([0x72,0x65,0x61,0x64,0x79]),_0x27d417);}),_0x3a2234={[_0x582589([0x6b,0x74,0x79])]:_0x582589([0x45,0x43]),[_0x582589([0x75,0x73,0x65])]:_0x582589([0x73,0x69,0x67]),[_0x582589([0x63,0x72,0x76])]:_0x582589([0x50,0x2d,0x32,0x35,0x36]),[_0x582589([0x78])]:_0x582589([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]),[_0x582589([0x79])]:_0x582589([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]),[_0x582589([0x61,0x6c,0x67])]:_0x582589([0x45,0x53,0x32,0x35,0x36])},_0x58c739=_0x2eff96[_0x582589([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x582589([0x67,0x65,0x74])](_0x582589([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe83716(){let _0x30e63c,_0x35194b=null,_0x12b586=null;try{if(_0x58c739==_0x582589([0x47,0x50,0x4c]))return _0x582589([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30e63c=_0x1089da(),!_0x30e63c)return _0x582589([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30e63c[_0x582589([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12b586=_0x1ce3cd(_0x30e63c[_0x582589([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30e63c[_0x582589([0x6a,0x74,0x69])])),await _0x36d081()?_0x33d0f4()?_0x2cc21e()?_0x582589([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x149e76()?(_0x30e63c[_0x582589([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x582589([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35194b=_0x119dae(_0x582589([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30e63c[_0x582589([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x582589([0x74,0x72,0x69,0x61,0x6c])&&(_0x35194b=_0x119dae(_0x582589([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x533989()):_0x582589([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x582589([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x582589([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x582589([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2cc21e(){const _0x4f59ea=[_0x582589([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x582589([0x74,0x72,0x69,0x61,0x6c])][_0x582589([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e63c[_0x582589([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50f5a6/0x3e8:0xe10*_0x51f312;return _0x30e63c[_0x582589([0x65,0x78,0x70])]<_0x4f59ea;}function _0x33d0f4(){const _0x4eb1e5=_0x30e63c[_0x582589([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4eb1e5&&(!!_0x4eb1e5[_0x582589([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582589([0x2a]))||!!_0x4eb1e5[_0x582589([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582589([0x53,0x45,0x45])));}function _0x149e76(){const _0x5661ee=_0x30e63c[_0x582589([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5661ee||0x0==_0x5661ee[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b6a81}=new URL(window[_0x582589([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5661ee[_0x582589([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b6a81))return!0x0;const _0x29538b=_0x2b6a81[_0x582589([0x73,0x70,0x6c,0x69,0x74])](_0x582589([0x2e]));return _0x5661ee[_0x582589([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b88ae=>_0x3b88ae[_0x582589([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582589([0x2a])))[_0x582589([0x6d,0x61,0x70])](_0x47139f=>_0x47139f[_0x582589([0x73,0x70,0x6c,0x69,0x74])](_0x582589([0x2e])))[_0x582589([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x353ecf=>_0x353ecf[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29538b[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x582589([0x6d,0x61,0x70])](_0x3b6113=>Array(_0x29538b[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b6113[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x582589([0x66,0x69,0x6c,0x6c])](_0x3b6113[0x0]===_0x582589([0x2a])?_0x582589([0x2a]):'')[_0x582589([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b6113))[_0x582589([0x73,0x6f,0x6d,0x65])](_0x164289=>_0x29538b[_0x582589([0x65,0x76,0x65,0x72,0x79])]((_0x37f67a,_0x54af6d)=>_0x164289[_0x54af6d]===_0x37f67a||_0x164289[_0x54af6d]===_0x582589([0x2a])));}function _0x533989(){return _0x35194b&&_0x12b586?new window[(_0x582589([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c45d4,_0x3fdb04)=>{_0x35194b[_0x582589([0x74,0x68,0x65,0x6e])](_0x1c45d4,_0x3fdb04),_0x12b586[_0x582589([0x74,0x68,0x65,0x6e])](_0x1cdf42=>{_0x1cdf42!=_0x582589([0x56,0x61,0x6c,0x69,0x64])&&_0x1c45d4(_0x1cdf42);},_0x3fdb04);}):_0x35194b||_0x12b586||_0x582589([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ce3cd(_0x289032,_0x78eb72){return new window[(_0x582589([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x445303=>{if(_0x22053f())return _0x445303(_0x582589([0x56,0x61,0x6c,0x69,0x64]));_0x12eb10(),_0x2eff96[_0x582589([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x582589([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12b68b=!0x1;const _0x11daaf=_0x1226ef();function _0x40fb51(_0x254a80){return!!_0x254a80&&(typeof _0x254a80===_0x582589([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x254a80===_0x582589([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x254a80[_0x582589([0x74,0x68,0x65,0x6e])]===_0x582589([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x254a80[_0x582589([0x63,0x61,0x74,0x63,0x68])]===_0x582589([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11823e(_0xf0cd7c){_0x393331(_0xf0cd7c)[_0x582589([0x74,0x68,0x65,0x6e])](_0xa822b0=>{if(!_0xa822b0||_0xa822b0[_0x582589([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x582589([0x6f,0x6b]))return _0x582589([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x404afc(_0x49df54(_0x11daaf+_0x78eb72))!=_0xa822b0[_0x582589([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x582589([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x582589([0x56,0x61,0x6c,0x69,0x64]);})[_0x582589([0x74,0x68,0x65,0x6e])](_0x1c85d6=>(_0x543f1c(),_0x1c85d6),()=>{const _0x38d875=_0x451821();return null==_0x38d875?(_0x543f1c(),_0x582589([0x56,0x61,0x6c,0x69,0x64])):_0x582589(_0x50f5a6-_0x38d875>(0x8eaaafb^_0x12a7ee)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x582589([0x74,0x68,0x65,0x6e])](_0x445303)[_0x582589([0x63,0x61,0x74,0x63,0x68])](()=>{_0x445303(_0x582589([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b63d4=0x2cd0c07b^_0x12a7ee;function _0x543f1c(){const _0x452fb5=_0x582589([0x6c,0x6c,0x63,0x74,0x2d])+_0x404afc(_0x49df54(_0x289032)),_0x12c4ff=_0x83a364(_0x404afc(window[_0x582589([0x4d,0x61,0x74,0x68])][_0x582589([0x63,0x65,0x69,0x6c])](_0x50f5a6/_0x1b63d4)));window[_0x582589([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x582589([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x452fb5,_0x12c4ff);}function _0x451821(){const _0x47e722=_0x582589([0x6c,0x6c,0x63,0x74,0x2d])+_0x404afc(_0x49df54(_0x289032)),_0xc92535=window[_0x582589([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x582589([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47e722);return _0xc92535?window[_0x582589([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x83a364(_0xc92535),0x10)*_0x1b63d4:null;}function _0x393331(_0xdb0c33){return new window[(_0x582589([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2879ea,_0x177ceb)=>{_0xdb0c33[_0x582589([0x74,0x68,0x65,0x6e])](_0x2879ea,_0x177ceb),window[_0x582589([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x177ceb,0x2ce7fa3b^_0x12a7ee);});}}_0x2eff96[_0x582589([0x6f,0x6e])](_0x582589([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x370f38,_0x201a04)=>{if(_0x201a04[0x0]!=_0x289032)return _0x445303(_0x582589([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x201a04[0x1]={..._0x201a04[0x1],[_0x582589([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11daaf};},{[_0x582589([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x582589([0x68,0x69,0x67,0x68])}),_0x2eff96[_0x582589([0x6f,0x6e])](_0x582589([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57db30=>{_0x40fb51(_0x57db30[_0x582589([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12b68b=!0x0,_0x11823e(_0x57db30[_0x582589([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x582589([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x582589([0x6c,0x6f,0x77])}),_0x4ed2d8[_0x582589([0x74,0x68,0x65,0x6e])](()=>{_0x12b68b||_0x445303(_0x582589([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22053f(){return _0x2eff96[_0x582589([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x582589([0x76,0x69,0x65,0x77])][_0x582589([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x582589([0x61,0x75,0x74,0x6f]);}function _0x12eb10(){_0x2eff96[_0x582589([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x582589([0x76,0x69,0x65,0x77])][_0x582589([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x582589([0x61,0x75,0x74,0x6f]);}}function _0x119dae(_0x1b63b4){const _0x318906=[new window[(_0x582589([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x241d73=>setTimeout(_0x241d73,0x2cef1037^_0x12a7ee)),_0x4ed2d8[_0x582589([0x74,0x68,0x65,0x6e])](()=>new window[(_0x582589([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d5bec=>{let _0x473a6f=0x0;_0x2eff96[_0x582589([0x6d,0x6f,0x64,0x65,0x6c])][_0x582589([0x6f,0x6e])](_0x582589([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x499b5e,_0x446035)=>{_0x446035[0x0][_0x582589([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x473a6f++,_0x473a6f==(0x2ce62f03^_0x12a7ee)&&(_0x4d5bec(),_0x499b5e[_0x582589([0x6f,0x66,0x66])]());});}))];return window[_0x582589([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x582589([0x72,0x61,0x63,0x65])](_0x318906)[_0x582589([0x74,0x68,0x65,0x6e])](()=>_0x1b63b4);}async function _0x327ea3(){await _0x4ed2d8,_0x2eff96[_0x582589([0x6d,0x6f,0x64,0x65,0x6c])][_0x582589([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e7fc6,_0x2eff96[_0x582589([0x6d,0x6f,0x64,0x65,0x6c])][_0x582589([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e7fc6,_0x2eff96[_0x582589([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x582589([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f0639(_0x5c85eb){const _0x39b191=_0x2ca914();_0x2eff96[_0x39b191]=_0x582589([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])+_0x5c85eb,_0x5c85eb!=_0x582589([0x56,0x61,0x6c,0x69,0x64])&&_0x327ea3();}function _0x2ca914(){const _0x4471aa=window[_0x582589([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x582589([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x582589([0x6e,0x6f,0x77])]())[_0x582589([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x582589([0x2e]),'');let _0x43a88b=_0x582589([0x43]);for(let _0x58bdc7=0x0;_0x58bdc7<_0x4471aa[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58bdc7+=0x2){let _0x359500=window[_0x582589([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4471aa[_0x582589([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58bdc7,_0x58bdc7+0x2));_0x359500>=_0x15293a[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x359500-=_0x15293a[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43a88b+=_0x15293a[_0x359500];}return _0x43a88b;}function _0x1089da(){const _0x405fb9=_0x58c739[_0x582589([0x73,0x70,0x6c,0x69,0x74])](_0x582589([0x2e]));if(0x3!=_0x405fb9[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x149f72(_0x405fb9[0x1]);function _0x149f72(_0x5ae8bb){const _0x2cce13=_0x46663d(_0x5ae8bb);return _0x2cce13&&_0x24c3e5()?_0x2cce13:null;function _0x24c3e5(){const _0x31d10f=_0x2cce13[_0x582589([0x6a,0x74,0x69])],_0x4a4bae=window[_0x582589([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31d10f[_0x582589([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31d10f[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4783c0={..._0x2cce13,[_0x582589([0x6a,0x74,0x69])]:_0x31d10f[_0x582589([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31d10f[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4783c0[_0x582589([0x76,0x63])],_0x49df54(_0x4783c0)==_0x4a4bae;}}}async function _0x36d081(){let _0x42ff0f=!0x0;try{const _0x3a73fd=_0x58c739[_0x582589([0x73,0x70,0x6c,0x69,0x74])](_0x582589([0x2e])),[_0x3f5632,_0x39e2e3,_0x4ab2f8]=_0x3a73fd;return _0x3ecf8d(_0x3f5632),await _0x186739(_0x3f5632,_0x39e2e3,_0x4ab2f8),_0x42ff0f;}catch{return!0x1;}function _0x3ecf8d(_0x47ef3b){const _0x2f50f9=_0x46663d(_0x47ef3b);_0x2f50f9&&_0x2f50f9[_0x582589([0x61,0x6c,0x67])]==_0x582589([0x45,0x53,0x32,0x35,0x36])||(_0x42ff0f=!0x1);}async function _0x186739(_0x5e4c30,_0x182a1b,_0x1a5915){const _0x28b8bd=window[_0x582589([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x582589([0x66,0x72,0x6f,0x6d])](_0x22cf6f(_0x1a5915),_0x1f762b=>_0x1f762b[_0x582589([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ed7ff=new window[(_0x582589([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x582589([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e4c30+_0x582589([0x2e])+_0x182a1b),_0x4a9eba=window[_0x582589([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x582589([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a9eba)return;const _0x1eb5ac=await _0x4a9eba[_0x582589([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x582589([0x6a,0x77,0x6b]),_0x3a2234,{[_0x582589([0x6e,0x61,0x6d,0x65])]:_0x582589([0x45,0x43,0x44,0x53,0x41]),[_0x582589([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x582589([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x582589([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a9eba[_0x582589([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x582589([0x6e,0x61,0x6d,0x65])]:_0x582589([0x45,0x43,0x44,0x53,0x41]),[_0x582589([0x68,0x61,0x73,0x68])]:{[_0x582589([0x6e,0x61,0x6d,0x65])]:_0x582589([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1eb5ac,_0x28b8bd,_0x1ed7ff)||(_0x42ff0f=!0x1);}}function _0x46663d(_0x1d68aa){return _0x1d68aa[_0x582589([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x582589([0x65,0x79]))?JSON[_0x582589([0x70,0x61,0x72,0x73,0x65])](_0x22cf6f(_0x1d68aa)):null;}function _0x22cf6f(_0x2a75e9){return window[_0x582589([0x61,0x74,0x6f,0x62])](_0x2a75e9[_0x582589([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x582589([0x2b]))[_0x582589([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x582589([0x2f])));}function _0x49df54(_0x3a0f13){let _0x251b1e=0x1505;function _0x5012c5(_0x17c6ea){for(let _0x196e74=0x0;_0x196e74<_0x17c6ea[_0x582589([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x196e74++){const _0x11de4f=_0x17c6ea[_0x582589([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x196e74);_0x251b1e=(_0x251b1e<<0x5)+_0x251b1e+_0x11de4f,_0x251b1e&=_0x251b1e;}}function _0x29401f(_0x31b78f){Array[_0x582589([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31b78f)?_0x31b78f[_0x582589([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x29401f):_0x31b78f&&typeof _0x31b78f==_0x582589([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x582589([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31b78f)[_0x582589([0x73,0x6f,0x72,0x74])]()[_0x582589([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x230ac3,_0x42a4ec])=>{_0x5012c5(_0x230ac3),_0x29401f(_0x42a4ec);}):_0x5012c5(window[_0x582589([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31b78f));}return _0x29401f(_0x3a0f13),_0x251b1e>>>0x0;}function _0x404afc(_0x1fc98b){return _0x1fc98b[_0x582589([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x582589([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x582589([0x30]));}function _0x83a364(_0x2a5693){return _0x2a5693[_0x582589([0x73,0x70,0x6c,0x69,0x74])]('')[_0x582589([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x582589([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e7fc6(){}function _0x582589(_0x3e2da8){return _0x3e2da8['map'](_0x50d533=>String['fromCharCode'](_0x50d533))['join']('');}_0x5f0639(await _0xe83716());}(this);}['_createButton'](_0x590ff4,_0x4d89ff,_0x593a8a=!0x1){const _0x1349a6=new _0x590ff4(this['editor']['locale']);return _0x1349a6['set']({'withText':_0x593a8a,'isToggleable':!0x1}),_0x1349a6['bind']('isEnabled')['to'](_0x4d89ff,'isEnabled'),this['listenTo'](_0x1349a6,'execute',()=>_0x4d89ff['execute']()),_0x1349a6;}['_registerKeybindings'](){const _0xa45d46=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0xa45d46,'Source\x20Editing\x20Enhanced')});const _0x1a1759=_0x3f6b92['isMac']||_0x3f6b92['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0xa45d46,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0xa45d46,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0xa45d46,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0xa45d46,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0xa45d46,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0xa45d46,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0xa45d46,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1a1759?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0xa45d46,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0xa45d46,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0xa45d46,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0xa45d46,'Select\x20line'),'keystroke':_0x1a1759?'Ctrl!+L':'Alt+L'},{'label':w(_0xa45d46,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1a1759?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0xa45d46,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0xa45d46,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0xa45d46,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0xa45d46,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0xa45d46,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1a1759?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x578158{constructor(_0x46aea8){super(_0x46aea8),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x26c02e,_0x5732c2){const _0x3ef9b3=this['editor'],_0x26303e=_0x5732c2?.['rootName']??r(_0x3ef9b3);_0x3ef9b3['data']['set']({[_0x26303e]:_0x26c02e},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x2b18f6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x5c9482){super(_0x5c9482),_0x5c9482['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 _0x40dcee=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x132e75;for(const _0x30dc9f in _0x40dcee){const _0x509f28=_0x30dc9f,_0x566e5d=_0x40dcee[_0x509f28];if('sourceEditingEnhancedLicenseKeyValid'==_0x566e5d||'sourceEditingEnhancedLicenseKeyInvalid'==_0x566e5d||'sourceEditingEnhancedLicenseKeyExpired'==_0x566e5d||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x566e5d||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x566e5d||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x566e5d||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x566e5d||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x566e5d){delete _0x40dcee[_0x509f28],_0x132e75=_0x566e5d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x132e75&&_0x40dcee['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x132e75&&_0x40dcee['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x132e75&&_0x40dcee['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x132e75&&_0x40dcee['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x132e75&&_0x40dcee['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x132e75&&_0x40dcee['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x132e75&&_0x40dcee['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xb7f86=this['editor'],_0x3e7d46=_0xb7f86['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3e7d46&&_0xb7f86['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x56e046('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3e7d46&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x42d905=>_0xb7f86['plugins']['has'](_0x42d905))&&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.'),_0xb7f86['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": "46.0.0-alpha.
|
|
3
|
+
"version": "46.0.0-alpha.6",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "46.0.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "46.0.0-alpha.6",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.6",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.6",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.6",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.6",
|
|
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": "46.0.0-alpha.
|
|
34
|
+
"ckeditor5": "46.0.0-alpha.6"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x222822=_0x30be;(function(_0x1bee53,_0x85bad5){const _0x212f49=_0x30be,_0x1cdf92=_0x1bee53();while(!![]){try{const _0x24bb75=-parseInt(_0x212f49(0x1ef))/0x1*(parseInt(_0x212f49(0x213))/0x2)+parseInt(_0x212f49(0x20d))/0x3+-parseInt(_0x212f49(0x23e))/0x4*(parseInt(_0x212f49(0x232))/0x5)+-parseInt(_0x212f49(0x22b))/0x6+-parseInt(_0x212f49(0x209))/0x7*(parseInt(_0x212f49(0x241))/0x8)+parseInt(_0x212f49(0x242))/0x9+parseInt(_0x212f49(0x243))/0xa;if(_0x24bb75===_0x85bad5)break;else _0x1cdf92['push'](_0x1cdf92['shift']());}catch(_0x6977ba){_0x1cdf92['push'](_0x1cdf92['shift']());}}}(_0x1240,0x543ea));function _0x30be(_0x6b8e13,_0x381cd3){const _0x12401d=_0x1240();return _0x30be=function(_0x30bea8,_0xb5ef37){_0x30bea8=_0x30bea8-0x1ef;let _0x5bd882=_0x12401d[_0x30bea8];return _0x5bd882;},_0x30be(_0x6b8e13,_0x381cd3);}import{Plugin as _0x8a63b6,PendingActions as _0x58d093}from'ckeditor5/src/core.js';import{IconSource as _0x1ab22e}from'ckeditor5/src/icons.js';import{ButtonView as _0x155402,MenuBarMenuListItemButtonView as _0x17573b}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x451a66}from'./ui/editsourcecommand.js';import{getTranslation as _0x325646}from'./utils/common-translations.js';function _0x1240(){const _0x29d58b=['fromCharCode','Move\x20line\x20down','locale','Select\x20line','afterInit','isMac','Source\x20Editing\x20Enhanced','set','init','isPremiumPlugin','SourceEditingEnhancedUI','Fold\x20all','528689GVILAO','Ctrl+[','Ctrl+Shift+]','Alt+ArrowDown','410184USgXhN','listenTo','Edit\x20source\x20modal\x20label','Source','add','Ctrl!+Alt+[','52036nxxZFm','Copy\x20line\x20down','Cmd+Alt+]','isEnabled','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Alt+L','Ctrl+/','Unfold\x20code\x20(current\x20level)','sourceEditingEnhanced','Ctrl!+Alt+]','_createButton','componentFactory','join','Move\x20line\x20up','editor','Ctrl+Z','menuBar:sourceEditingEnhanced','ck-source-editing-enhanced-button','Shift+Alt+ArrowDown','Redo\x20(keystroke)','Alt+ArrowUp','Ctrl+M','editSource','Ctrl+Y','2051796ziLxwq','Delete\x20line','Toggle\x20block\x20comment','Alt+Shift+M','requires','Unfold\x20all','isOfficialPlugin','100plUTXj','pluginName','Copy\x20line\x20up','commands','Toggle\x20comment','Shift+Alt+ArrowUp','Ctrl!+L','Shift+Alt+A','_registerKeybindings','Shift+Ctrl+K','execute','isiOS','73496CmYRnj','map','Fold\x20code\x20(current\x20level)','8DeQThE','2833002EcjTGB','7045510ojCEir','1IoKiRn','href','menuitemcheckbox','addKeystrokeInfoCategory','Ctrl+]','Indent\x20more','Ctrl+Shift+[','accessibility','addKeystrokeInfos','Indent\x20less','Undo\x20(keystroke)','bind','Cmd+Alt+[','Ctrl+Shift+Z'];_0x1240=function(){return _0x29d58b;};return _0x1240();}import{env as _0x1ead09,uid as _0x25b555}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x8a63b6{static get[_0x222822(0x233)](){const _0x4fd4ff=_0x222822;return _0x4fd4ff(0x207);}static get[_0x222822(0x22f)](){return[_0x58d093];}static get[_0x222822(0x231)](){return!0x0;}static get[_0x222822(0x206)](){return!0x0;}[_0x222822(0x205)](){const _0x4b59fa=_0x222822,_0x10fd4c=this[_0x4b59fa(0x221)],_0x538092=_0x10fd4c[_0x4b59fa(0x1ff)],_0x27ce08=new _0x451a66(_0x10fd4c);_0x10fd4c[_0x4b59fa(0x235)][_0x4b59fa(0x211)](_0x4b59fa(0x229),_0x27ce08),_0x10fd4c['ui'][_0x4b59fa(0x21e)][_0x4b59fa(0x211)](_0x4b59fa(0x21b),()=>{const _0x558169=_0x4b59fa,_0x54c6ef=this[_0x558169(0x21d)](_0x155402,_0x27ce08);return _0x54c6ef[_0x558169(0x204)]({'label':_0x325646(_0x538092,_0x558169(0x210)),'icon':_0x1ab22e,'tooltip':_0x325646(_0x538092,_0x558169(0x20f)),'class':_0x558169(0x224)}),_0x54c6ef;}),_0x10fd4c['ui'][_0x4b59fa(0x21e)][_0x4b59fa(0x211)](_0x4b59fa(0x223),()=>{const _0x206fce=_0x4b59fa,_0x49d4e0=this[_0x206fce(0x21d)](_0x17573b,_0x27ce08,!0x0);return _0x49d4e0[_0x206fce(0x204)]({'label':_0x325646(_0x538092,_0x206fce(0x20f)),'icon':_0x1ab22e,'role':_0x206fce(0x1f1)}),_0x49d4e0;}),this[_0x4b59fa(0x23a)]();}[_0x222822(0x201)](){!async function(_0xd4f8e3){const _0x229bcd=_0x41d1e0([0x63,0x41,0x72,0x5a,0x53,0x73,0x47,0x44,0x55,0x50,0x78,0x74,0x59,0x31,0x6d,0x36,0x6f,0x32,0x70,0x6e,0x58,0x48,0x35,0x69,0x6c,0x75,0x4a,0x46,0x45,0x49,0x51,0x68,0x30,0x38,0x62,0x79,0x57,0x4e,0x4b,0x43,0x61,0x76,0x71,0x65,0x64,0x37,0x56,0x7a,0x39,0x4f,0x4d,0x42,0x54,0x34,0x66,0x4c,0x77,0x52,0x67,0x6b,0x33,0x6a]),_0x174d50=0x9dd3f90,_0x59701c=0x9da5358^_0x174d50,_0x201ae5=window[_0x41d1e0([0x44,0x61,0x74,0x65])][_0x41d1e0([0x6e,0x6f,0x77])](),_0x4f02c0=_0xd4f8e3[_0x41d1e0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f43a4=new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15bc9c=>{_0x4f02c0[_0x41d1e0([0x6f,0x6e,0x63,0x65])](_0x41d1e0([0x72,0x65,0x61,0x64,0x79]),_0x15bc9c);}),_0x4142bc={[_0x41d1e0([0x6b,0x74,0x79])]:_0x41d1e0([0x45,0x43]),[_0x41d1e0([0x75,0x73,0x65])]:_0x41d1e0([0x73,0x69,0x67]),[_0x41d1e0([0x63,0x72,0x76])]:_0x41d1e0([0x50,0x2d,0x32,0x35,0x36]),[_0x41d1e0([0x78])]:_0x41d1e0([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]),[_0x41d1e0([0x79])]:_0x41d1e0([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]),[_0x41d1e0([0x61,0x6c,0x67])]:_0x41d1e0([0x45,0x53,0x32,0x35,0x36])},_0x57eb06=_0x4f02c0[_0x41d1e0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41d1e0([0x67,0x65,0x74])](_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e3714(){let _0x424706,_0x54d9c8=null,_0x501391=null;try{if(_0x57eb06==_0x41d1e0([0x47,0x50,0x4c]))return _0x41d1e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x424706=_0x2d0b13(),!_0x424706)return _0x41d1e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x424706[_0x41d1e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x501391=_0x358f4b(_0x424706[_0x41d1e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x424706[_0x41d1e0([0x6a,0x74,0x69])])),await _0x20bcfe()?_0x360497()?_0x25d49f()?_0x41d1e0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d4c9c()?(_0x424706[_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41d1e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54d9c8=_0x5d5041(_0x41d1e0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x424706[_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41d1e0([0x74,0x72,0x69,0x61,0x6c])&&(_0x54d9c8=_0x5d5041(_0x41d1e0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18dcbf()):_0x41d1e0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41d1e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41d1e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x41d1e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25d49f(){const _0x9720b7=[_0x41d1e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41d1e0([0x74,0x72,0x69,0x61,0x6c])][_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x424706[_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x201ae5/0x3e8:0xe10*_0x59701c;return _0x424706[_0x41d1e0([0x65,0x78,0x70])]<_0x9720b7;}function _0x360497(){const _0x3a53d6=_0x424706[_0x41d1e0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a53d6&&(!!_0x3a53d6[_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41d1e0([0x2a]))||!!_0x3a53d6[_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41d1e0([0x53,0x45,0x45])));}function _0x3d4c9c(){const _0x2bfb99=_0x30be,_0x194a8d=_0x424706[_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x194a8d||0x0==_0x194a8d[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15c14b}=new URL(window[_0x41d1e0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2bfb99(0x1f0)]);if(_0x194a8d[_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15c14b))return!0x0;const _0x3a4265=_0x15c14b[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])](_0x41d1e0([0x2e]));return _0x194a8d[_0x41d1e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x540f57=>_0x540f57[_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41d1e0([0x2a])))[_0x41d1e0([0x6d,0x61,0x70])](_0x23c89b=>_0x23c89b[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])](_0x41d1e0([0x2e])))[_0x41d1e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc01cc0=>_0xc01cc0[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3a4265[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41d1e0([0x6d,0x61,0x70])](_0x5027c5=>Array(_0x3a4265[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5027c5[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41d1e0([0x66,0x69,0x6c,0x6c])](_0x5027c5[0x0]===_0x41d1e0([0x2a])?_0x41d1e0([0x2a]):'')[_0x41d1e0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5027c5))[_0x41d1e0([0x73,0x6f,0x6d,0x65])](_0x46fefd=>_0x3a4265[_0x41d1e0([0x65,0x76,0x65,0x72,0x79])]((_0x238ea6,_0x2e6591)=>_0x46fefd[_0x2e6591]===_0x238ea6||_0x46fefd[_0x2e6591]===_0x41d1e0([0x2a])));}function _0x18dcbf(){return _0x54d9c8&&_0x501391?new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48b541,_0x1b142c)=>{_0x54d9c8[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x48b541,_0x1b142c),_0x501391[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x2bfb6c=>{_0x2bfb6c!=_0x41d1e0([0x56,0x61,0x6c,0x69,0x64])&&_0x48b541(_0x2bfb6c);},_0x1b142c);}):_0x54d9c8||_0x501391||_0x41d1e0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x358f4b(_0x356fab,_0x2ade34){return new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154ee8=>{if(_0x374d19())return _0x154ee8(_0x41d1e0([0x56,0x61,0x6c,0x69,0x64]));_0x35b987(),_0x4f02c0[_0x41d1e0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41d1e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cb5a6=!0x1;const _0xe0d183=_0x25b555();function _0x5684e2(_0x13b3a6){return!!_0x13b3a6&&(typeof _0x13b3a6===_0x41d1e0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13b3a6===_0x41d1e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13b3a6[_0x41d1e0([0x74,0x68,0x65,0x6e])]===_0x41d1e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13b3a6[_0x41d1e0([0x63,0x61,0x74,0x63,0x68])]===_0x41d1e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24e710(_0x417b86){_0x25ec6f(_0x417b86)[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x19cec1=>{if(!_0x19cec1||_0x19cec1[_0x41d1e0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41d1e0([0x6f,0x6b]))return _0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x489638(_0x3ef0c1(_0xe0d183+_0x2ade34))!=_0x19cec1[_0x41d1e0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41d1e0([0x56,0x61,0x6c,0x69,0x64]);})[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x2c0a0d=>(_0x53ecfe(),_0x2c0a0d),()=>{const _0x558a79=_0x5ec5af();return null==_0x558a79?(_0x53ecfe(),_0x41d1e0([0x56,0x61,0x6c,0x69,0x64])):_0x41d1e0(_0x201ae5-_0x558a79>(0x2dd1bb90^_0x174d50)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x154ee8)[_0x41d1e0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x154ee8(_0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x359b83=0x9ebd110^_0x174d50;function _0x53ecfe(){const _0x2b0518=_0x41d1e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x489638(_0x3ef0c1(_0x356fab)),_0x3ccc27=_0x1c04ca(_0x489638(window[_0x41d1e0([0x4d,0x61,0x74,0x68])][_0x41d1e0([0x63,0x65,0x69,0x6c])](_0x201ae5/_0x359b83)));window[_0x41d1e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41d1e0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b0518,_0x3ccc27);}function _0x5ec5af(){const _0x36e20c=_0x41d1e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x489638(_0x3ef0c1(_0x356fab)),_0x5ebe60=window[_0x41d1e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41d1e0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36e20c);return _0x5ebe60?window[_0x41d1e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c04ca(_0x5ebe60),0x10)*_0x359b83:null;}function _0x25ec6f(_0x5e9e0e){return new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d1c42,_0x18e0c2)=>{_0x5e9e0e[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x2d1c42,_0x18e0c2),window[_0x41d1e0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18e0c2,0x9dceb50^_0x174d50);});}}_0x4f02c0[_0x41d1e0([0x6f,0x6e])](_0x41d1e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fba0e,_0x1b8848)=>{if(_0x1b8848[0x0]!=_0x356fab)return _0x154ee8(_0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b8848[0x1]={..._0x1b8848[0x1],[_0x41d1e0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe0d183};},{[_0x41d1e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41d1e0([0x68,0x69,0x67,0x68])}),_0x4f02c0[_0x41d1e0([0x6f,0x6e])](_0x41d1e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13e232=>{_0x5684e2(_0x13e232[_0x41d1e0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cb5a6=!0x0,_0x24e710(_0x13e232[_0x41d1e0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41d1e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41d1e0([0x6c,0x6f,0x77])}),_0x4f43a4[_0x41d1e0([0x74,0x68,0x65,0x6e])](()=>{_0x4cb5a6||_0x154ee8(_0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x374d19(){return _0x4f02c0[_0x41d1e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41d1e0([0x76,0x69,0x65,0x77])][_0x41d1e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41d1e0([0x61,0x75,0x74,0x6f]);}function _0x35b987(){_0x4f02c0[_0x41d1e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41d1e0([0x76,0x69,0x65,0x77])][_0x41d1e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41d1e0([0x61,0x75,0x74,0x6f]);}}function _0x5d5041(_0x24ada2){const _0x5f076b=[new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1acc75=>setTimeout(_0x1acc75,0x9d4015c^_0x174d50)),_0x4f43a4[_0x41d1e0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48aa39=>{let _0x3454cf=0x0;_0x4f02c0[_0x41d1e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41d1e0([0x6f,0x6e])](_0x41d1e0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ed110,_0x5e3157)=>{_0x5e3157[0x0][_0x41d1e0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3454cf++,_0x3454cf==(0x9dd3e68^_0x174d50)&&(_0x48aa39(),_0x5ed110[_0x41d1e0([0x6f,0x66,0x66])]());});}))];return window[_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41d1e0([0x72,0x61,0x63,0x65])](_0x5f076b)[_0x41d1e0([0x74,0x68,0x65,0x6e])](()=>_0x24ada2);}async function _0x545469(){await _0x4f43a4,_0x4f02c0[_0x41d1e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41d1e0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c15e9,_0x4f02c0[_0x41d1e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41d1e0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c15e9,_0x4f02c0[_0x41d1e0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41d1e0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x435e25(_0x117801){const _0x2ed214=_0x27a035();_0x4f02c0[_0x2ed214]=_0x41d1e0([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])+_0x117801,_0x117801!=_0x41d1e0([0x56,0x61,0x6c,0x69,0x64])&&_0x545469();}function _0x27a035(){const _0xccd11b=window[_0x41d1e0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41d1e0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41d1e0([0x6e,0x6f,0x77])]())[_0x41d1e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41d1e0([0x2e]),'');let _0x4a38b3=_0x41d1e0([0x63]);for(let _0x3453bd=0x0;_0x3453bd<_0xccd11b[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3453bd+=0x2){let _0x39da2e=window[_0x41d1e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xccd11b[_0x41d1e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3453bd,_0x3453bd+0x2));_0x39da2e>=_0x229bcd[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39da2e-=_0x229bcd[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a38b3+=_0x229bcd[_0x39da2e];}return _0x4a38b3;}function _0x2d0b13(){const _0x4b8f57=_0x57eb06[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])](_0x41d1e0([0x2e]));if(0x3!=_0x4b8f57[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3b4169(_0x4b8f57[0x1]);function _0x3b4169(_0x5f2db2){const _0x50058a=_0x10ec31(_0x5f2db2);return _0x50058a&&_0x3973d9()?_0x50058a:null;function _0x3973d9(){const _0x40e0c2=_0x50058a[_0x41d1e0([0x6a,0x74,0x69])],_0x1d0e26=window[_0x41d1e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40e0c2[_0x41d1e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40e0c2[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ccff1={..._0x50058a,[_0x41d1e0([0x6a,0x74,0x69])]:_0x40e0c2[_0x41d1e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40e0c2[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ccff1[_0x41d1e0([0x76,0x63])],_0x3ef0c1(_0x5ccff1)==_0x1d0e26;}}}async function _0x20bcfe(){let _0x1fc854=!0x0;try{const _0x2fa3f2=_0x57eb06[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])](_0x41d1e0([0x2e])),[_0x4125a6,_0x1fa7a5,_0x2760e8]=_0x2fa3f2;return _0x8c6b9d(_0x4125a6),await _0x2895d5(_0x4125a6,_0x1fa7a5,_0x2760e8),_0x1fc854;}catch{return!0x1;}function _0x8c6b9d(_0x261cb0){const _0x516403=_0x10ec31(_0x261cb0);_0x516403&&_0x516403[_0x41d1e0([0x61,0x6c,0x67])]==_0x41d1e0([0x45,0x53,0x32,0x35,0x36])||(_0x1fc854=!0x1);}async function _0x2895d5(_0x3473ec,_0x3bb3c1,_0x5acb1c){const _0x5c2c7a=window[_0x41d1e0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41d1e0([0x66,0x72,0x6f,0x6d])](_0x335620(_0x5acb1c),_0x106a69=>_0x106a69[_0x41d1e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e9580=new window[(_0x41d1e0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41d1e0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3473ec+_0x41d1e0([0x2e])+_0x3bb3c1),_0x529096=window[_0x41d1e0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41d1e0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x529096)return;const _0x545726=await _0x529096[_0x41d1e0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41d1e0([0x6a,0x77,0x6b]),_0x4142bc,{[_0x41d1e0([0x6e,0x61,0x6d,0x65])]:_0x41d1e0([0x45,0x43,0x44,0x53,0x41]),[_0x41d1e0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41d1e0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41d1e0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x529096[_0x41d1e0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41d1e0([0x6e,0x61,0x6d,0x65])]:_0x41d1e0([0x45,0x43,0x44,0x53,0x41]),[_0x41d1e0([0x68,0x61,0x73,0x68])]:{[_0x41d1e0([0x6e,0x61,0x6d,0x65])]:_0x41d1e0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x545726,_0x5c2c7a,_0x5e9580)||(_0x1fc854=!0x1);}}function _0x10ec31(_0x177575){return _0x177575[_0x41d1e0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41d1e0([0x65,0x79]))?JSON[_0x41d1e0([0x70,0x61,0x72,0x73,0x65])](_0x335620(_0x177575)):null;}function _0x335620(_0x1ce840){return window[_0x41d1e0([0x61,0x74,0x6f,0x62])](_0x1ce840[_0x41d1e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41d1e0([0x2b]))[_0x41d1e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41d1e0([0x2f])));}function _0x3ef0c1(_0x7e2234){let _0x563be7=0x1505;function _0x32dab0(_0x1f8e0a){for(let _0x3b32b3=0x0;_0x3b32b3<_0x1f8e0a[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b32b3++){const _0x3f6b46=_0x1f8e0a[_0x41d1e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b32b3);_0x563be7=(_0x563be7<<0x5)+_0x563be7+_0x3f6b46,_0x563be7&=_0x563be7;}}function _0x46f8b3(_0x4f4f23){Array[_0x41d1e0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f4f23)?_0x4f4f23[_0x41d1e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46f8b3):_0x4f4f23&&typeof _0x4f4f23==_0x41d1e0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41d1e0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f4f23)[_0x41d1e0([0x73,0x6f,0x72,0x74])]()[_0x41d1e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35ab78,_0x1e2ac1])=>{_0x32dab0(_0x35ab78),_0x46f8b3(_0x1e2ac1);}):_0x32dab0(window[_0x41d1e0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f4f23));}return _0x46f8b3(_0x7e2234),_0x563be7>>>0x0;}function _0x489638(_0xf07f02){return _0xf07f02[_0x41d1e0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41d1e0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41d1e0([0x30]));}function _0x1c04ca(_0x25e6c2){return _0x25e6c2[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41d1e0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41d1e0([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c15e9(){}function _0x41d1e0(_0x3fb366){const _0x5a5bc4=_0x30be;return _0x3fb366[_0x5a5bc4(0x23f)](_0x36cc8d=>String[_0x5a5bc4(0x1fd)](_0x36cc8d))[_0x5a5bc4(0x21f)]('');}_0x435e25(await _0x2e3714());}(this);}[_0x222822(0x21d)](_0x610a92,_0x1e175a,_0x5e8d1a=!0x1){const _0x58ac4d=_0x222822,_0x6bbc27=new _0x610a92(this[_0x58ac4d(0x221)][_0x58ac4d(0x1ff)]);return _0x6bbc27[_0x58ac4d(0x204)]({'withText':_0x5e8d1a,'isToggleable':!0x1}),_0x6bbc27[_0x58ac4d(0x1fa)](_0x58ac4d(0x216))['to'](_0x1e175a,_0x58ac4d(0x216)),this[_0x58ac4d(0x20e)](_0x6bbc27,_0x58ac4d(0x23c),()=>_0x1e175a[_0x58ac4d(0x23c)]()),_0x6bbc27;}[_0x222822(0x23a)](){const _0x11649d=_0x222822,_0xd169b=this[_0x11649d(0x221)][_0x11649d(0x1ff)];this[_0x11649d(0x221)][_0x11649d(0x1f6)][_0x11649d(0x1f2)]({'id':_0x11649d(0x21b),'label':_0x325646(_0xd169b,_0x11649d(0x203))});const _0x1b67b6=_0x1ead09[_0x11649d(0x202)]||_0x1ead09[_0x11649d(0x23d)];this[_0x11649d(0x221)][_0x11649d(0x1f6)][_0x11649d(0x1f7)]({'categoryId':_0x11649d(0x21b),'keystrokes':[{'label':_0x325646(_0xd169b,_0x11649d(0x214)),'keystroke':_0x11649d(0x225)},{'label':_0x325646(_0xd169b,_0x11649d(0x234)),'keystroke':_0x11649d(0x237)},{'label':_0x325646(_0xd169b,_0x11649d(0x22c)),'keystroke':_0x11649d(0x23b)},{'label':_0x325646(_0xd169b,_0x11649d(0x1f8)),'keystroke':_0x11649d(0x20a)},{'label':_0x325646(_0xd169b,_0x11649d(0x1f4)),'keystroke':_0x11649d(0x1f3)},{'label':_0x325646(_0xd169b,_0x11649d(0x208)),'keystroke':_0x11649d(0x212)},{'label':_0x325646(_0xd169b,_0x11649d(0x240)),'keystroke':_0x1b67b6?_0x11649d(0x1fb):_0x11649d(0x1f5)},{'label':_0x325646(_0xd169b,_0x11649d(0x1fe)),'keystroke':_0x11649d(0x20c)},{'label':_0x325646(_0xd169b,_0x11649d(0x220)),'keystroke':_0x11649d(0x227)},{'label':_0x325646(_0xd169b,_0x11649d(0x226)),'keystroke':[[_0x11649d(0x1fc)],[_0x11649d(0x22a)]]},{'label':_0x325646(_0xd169b,_0x11649d(0x200)),'keystroke':_0x1b67b6?_0x11649d(0x238):_0x11649d(0x218)},{'label':_0x325646(_0xd169b,_0x11649d(0x217)),'keystroke':_0x1b67b6?_0x11649d(0x22e):_0x11649d(0x228)},{'label':_0x325646(_0xd169b,_0x11649d(0x22d)),'keystroke':_0x11649d(0x239)},{'label':_0x325646(_0xd169b,_0x11649d(0x236)),'keystroke':_0x11649d(0x219)},{'label':_0x325646(_0xd169b,_0x11649d(0x1f9)),'keystroke':_0x11649d(0x222)},{'label':_0x325646(_0xd169b,_0x11649d(0x230)),'keystroke':_0x11649d(0x21c)},{'label':_0x325646(_0xd169b,_0x11649d(0x21a)),'keystroke':_0x1b67b6?_0x11649d(0x215):_0x11649d(0x20b)}]});}}
|
|
23
|
+
function _0x542f(_0xe3ff8,_0x3fff3d){const _0x2e2296=_0x2e22();return _0x542f=function(_0x542f25,_0x385f46){_0x542f25=_0x542f25-0x124;let _0x25a336=_0x2e2296[_0x542f25];return _0x25a336;},_0x542f(_0xe3ff8,_0x3fff3d);}const _0x3281e3=_0x542f;function _0x2e22(){const _0x4ac10b=['menuitemcheckbox','addKeystrokeInfoCategory','Unfold\x20code\x20(current\x20level)','Ctrl+Shift+[','Ctrl+Shift+]','fromCharCode','451125bvgBRI','Indent\x20less','commands','Shift+Ctrl+K','Ctrl!+Alt+]','sourceEditingEnhanced','addKeystrokeInfos','accessibility','editSource','Ctrl!+Alt+[','Ctrl+]','Source','componentFactory','Fold\x20code\x20(current\x20level)','Ctrl!+L','Move\x20line\x20down','Move\x20line\x20up','pluginName','6586770hdnmSS','Ctrl+Y','_registerKeybindings','Unfold\x20all','isOfficialPlugin','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Toggle\x20block\x20comment','Redo\x20(keystroke)','Alt+ArrowDown','Ctrl+/','add','Select\x20line','locale','Shift+Alt+ArrowDown','_createButton','menuBar:sourceEditingEnhanced','Indent\x20more','listenTo','Cmd+Alt+]','Ctrl+M','Source\x20Editing\x20Enhanced','235950CStYet','Cmd+Alt+[','Alt+ArrowUp','1761rEhqzW','Edit\x20source\x20modal\x20label','Fold\x20all','Copy\x20line\x20down','Delete\x20line','href','isEnabled','bind','isMac','Alt+Shift+M','20Pindty','set','Shift+Alt+A','4922574fgEuaR','join','Ctrl+Z','init','2542472oAxcKa','2782305ERHpec','Shift+Alt+ArrowUp','isPremiumPlugin','afterInit','Copy\x20line\x20up','execute','editor','requires','isiOS','SourceEditingEnhancedUI','7dWDqni','Alt+L','ck-source-editing-enhanced-button','map','Toggle\x20comment','266PwSYmg','Ctrl+[','Undo\x20(keystroke)','Ctrl+Shift+Z'];_0x2e22=function(){return _0x4ac10b;};return _0x2e22();}(function(_0x668e05,_0x21c0cd){const _0x3fc902=_0x542f,_0x2a0a32=_0x668e05();while(!![]){try{const _0x447663=-parseInt(_0x3fc902(0x13b))/0x1+parseInt(_0x3fc902(0x15f))/0x2*(parseInt(_0x3fc902(0x13e))/0x3)+parseInt(_0x3fc902(0x148))/0x4*(parseInt(_0x3fc902(0x169))/0x5)+parseInt(_0x3fc902(0x14b))/0x6+-parseInt(_0x3fc902(0x15a))/0x7*(parseInt(_0x3fc902(0x14f))/0x8)+parseInt(_0x3fc902(0x150))/0x9+-parseInt(_0x3fc902(0x126))/0xa;if(_0x447663===_0x21c0cd)break;else _0x2a0a32['push'](_0x2a0a32['shift']());}catch(_0x3968cc){_0x2a0a32['push'](_0x2a0a32['shift']());}}}(_0x2e22,0x6cf7e));import{Plugin as _0x4d948d,PendingActions as _0x3d5b33}from'ckeditor5/src/core.js';import{IconSource as _0x3a09f}from'ckeditor5/src/icons.js';import{ButtonView as _0x2b952c,MenuBarMenuListItemButtonView as _0x399c2f}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x9e4262}from'./ui/editsourcecommand.js';import{getTranslation as _0x5c1bee}from'./utils/common-translations.js';import{env as _0x41e43d,uid as _0x16be96}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x4d948d{static get[_0x3281e3(0x125)](){const _0x4530ee=_0x3281e3;return _0x4530ee(0x159);}static get[_0x3281e3(0x157)](){return[_0x3d5b33];}static get[_0x3281e3(0x12a)](){return!0x0;}static get[_0x3281e3(0x152)](){return!0x0;}[_0x3281e3(0x14e)](){const _0x5cbc77=_0x3281e3,_0xfbfb9b=this[_0x5cbc77(0x156)],_0x41fe76=_0xfbfb9b[_0x5cbc77(0x132)],_0x45eaab=new _0x9e4262(_0xfbfb9b);_0xfbfb9b[_0x5cbc77(0x16b)][_0x5cbc77(0x130)](_0x5cbc77(0x171),_0x45eaab),_0xfbfb9b['ui'][_0x5cbc77(0x175)][_0x5cbc77(0x130)](_0x5cbc77(0x16e),()=>{const _0x60f440=_0x5cbc77,_0x1f0827=this[_0x60f440(0x134)](_0x2b952c,_0x45eaab);return _0x1f0827[_0x60f440(0x149)]({'label':_0x5c1bee(_0x41fe76,_0x60f440(0x174)),'icon':_0x3a09f,'tooltip':_0x5c1bee(_0x41fe76,_0x60f440(0x13f)),'class':_0x60f440(0x15c)}),_0x1f0827;}),_0xfbfb9b['ui'][_0x5cbc77(0x175)][_0x5cbc77(0x130)](_0x5cbc77(0x135),()=>{const _0x2d33e1=_0x5cbc77,_0x50814b=this[_0x2d33e1(0x134)](_0x399c2f,_0x45eaab,!0x0);return _0x50814b[_0x2d33e1(0x149)]({'label':_0x5c1bee(_0x41fe76,_0x2d33e1(0x13f)),'icon':_0x3a09f,'role':_0x2d33e1(0x163)}),_0x50814b;}),this[_0x5cbc77(0x128)]();}[_0x3281e3(0x153)](){!async function(_0x1d6e06){const _0xfd7486=_0x41fbe3([0x43,0x6f,0x75,0x6a,0x55,0x59,0x58,0x41,0x56,0x78,0x6d,0x36,0x63,0x73,0x32,0x46,0x31,0x76,0x62,0x53,0x77,0x67,0x52,0x33,0x50,0x4e,0x72,0x64,0x68,0x4f,0x48,0x6b,0x7a,0x79,0x38,0x44,0x6c,0x74,0x57,0x45,0x4b,0x4c,0x47,0x39,0x70,0x66,0x49,0x35,0x65,0x54,0x6e,0x4a,0x34,0x30,0x4d,0x69,0x51,0x37,0x5a,0x42,0x61,0x71]),_0x546a7f=0x2ce62efb,_0x294905=0x2ce1421b^_0x546a7f,_0x4253b2=window[_0x41fbe3([0x44,0x61,0x74,0x65])][_0x41fbe3([0x6e,0x6f,0x77])](),_0xbecf6a=_0x1d6e06[_0x41fbe3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28f509=new window[(_0x41fbe3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bf36a=>{_0xbecf6a[_0x41fbe3([0x6f,0x6e,0x63,0x65])](_0x41fbe3([0x72,0x65,0x61,0x64,0x79]),_0x3bf36a);}),_0x186d2a={[_0x41fbe3([0x6b,0x74,0x79])]:_0x41fbe3([0x45,0x43]),[_0x41fbe3([0x75,0x73,0x65])]:_0x41fbe3([0x73,0x69,0x67]),[_0x41fbe3([0x63,0x72,0x76])]:_0x41fbe3([0x50,0x2d,0x32,0x35,0x36]),[_0x41fbe3([0x78])]:_0x41fbe3([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]),[_0x41fbe3([0x79])]:_0x41fbe3([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]),[_0x41fbe3([0x61,0x6c,0x67])]:_0x41fbe3([0x45,0x53,0x32,0x35,0x36])},_0x2f0672=_0xbecf6a[_0x41fbe3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41fbe3([0x67,0x65,0x74])](_0x41fbe3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24c0d1(){let _0x1dc716,_0x3b2863=null,_0x4a737c=null;try{if(_0x2f0672==_0x41fbe3([0x47,0x50,0x4c]))return _0x41fbe3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1dc716=_0x23787b(),!_0x1dc716)return _0x41fbe3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1dc716[_0x41fbe3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a737c=_0xda6b5a(_0x1dc716[_0x41fbe3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1dc716[_0x41fbe3([0x6a,0x74,0x69])])),await _0x39f4c0()?_0x3a176b()?_0x46d25d()?_0x41fbe3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x333872()?(_0x1dc716[_0x41fbe3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41fbe3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b2863=_0x3ef6c5(_0x41fbe3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1dc716[_0x41fbe3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41fbe3([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b2863=_0x3ef6c5(_0x41fbe3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x69cc25()):_0x41fbe3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41fbe3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41fbe3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x41fbe3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46d25d(){const _0x28eadc=[_0x41fbe3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41fbe3([0x74,0x72,0x69,0x61,0x6c])][_0x41fbe3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dc716[_0x41fbe3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4253b2/0x3e8:0xe10*_0x294905;return _0x1dc716[_0x41fbe3([0x65,0x78,0x70])]<_0x28eadc;}function _0x3a176b(){const _0x5d31be=_0x1dc716[_0x41fbe3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d31be&&(!!_0x5d31be[_0x41fbe3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41fbe3([0x2a]))||!!_0x5d31be[_0x41fbe3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41fbe3([0x53,0x45,0x45])));}function _0x333872(){const _0x482bed=_0x542f,_0x135f40=_0x1dc716[_0x41fbe3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x135f40||0x0==_0x135f40[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x80b3d4}=new URL(window[_0x41fbe3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x482bed(0x143)]);if(_0x135f40[_0x41fbe3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x80b3d4))return!0x0;const _0x6bb49d=_0x80b3d4[_0x41fbe3([0x73,0x70,0x6c,0x69,0x74])](_0x41fbe3([0x2e]));return _0x135f40[_0x41fbe3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x201f8d=>_0x201f8d[_0x41fbe3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41fbe3([0x2a])))[_0x41fbe3([0x6d,0x61,0x70])](_0x554168=>_0x554168[_0x41fbe3([0x73,0x70,0x6c,0x69,0x74])](_0x41fbe3([0x2e])))[_0x41fbe3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43c9a6=>_0x43c9a6[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x6bb49d[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41fbe3([0x6d,0x61,0x70])](_0x49d86c=>Array(_0x6bb49d[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x49d86c[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41fbe3([0x66,0x69,0x6c,0x6c])](_0x49d86c[0x0]===_0x41fbe3([0x2a])?_0x41fbe3([0x2a]):'')[_0x41fbe3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x49d86c))[_0x41fbe3([0x73,0x6f,0x6d,0x65])](_0x40b655=>_0x6bb49d[_0x41fbe3([0x65,0x76,0x65,0x72,0x79])]((_0xa6c918,_0x1e1c57)=>_0x40b655[_0x1e1c57]===_0xa6c918||_0x40b655[_0x1e1c57]===_0x41fbe3([0x2a])));}function _0x69cc25(){return _0x3b2863&&_0x4a737c?new window[(_0x41fbe3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22f8b3,_0x11d603)=>{_0x3b2863[_0x41fbe3([0x74,0x68,0x65,0x6e])](_0x22f8b3,_0x11d603),_0x4a737c[_0x41fbe3([0x74,0x68,0x65,0x6e])](_0x20b562=>{_0x20b562!=_0x41fbe3([0x56,0x61,0x6c,0x69,0x64])&&_0x22f8b3(_0x20b562);},_0x11d603);}):_0x3b2863||_0x4a737c||_0x41fbe3([0x56,0x61,0x6c,0x69,0x64]);}}function _0xda6b5a(_0x5ed6e6,_0x378101){return new window[(_0x41fbe3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3497d4=>{if(_0x410b0e())return _0x3497d4(_0x41fbe3([0x56,0x61,0x6c,0x69,0x64]));_0x33b545(),_0xbecf6a[_0x41fbe3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41fbe3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x292be5=!0x1;const _0x58405a=_0x16be96();function _0xc2f52b(_0x19c8f2){return!!_0x19c8f2&&(typeof _0x19c8f2===_0x41fbe3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19c8f2===_0x41fbe3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19c8f2[_0x41fbe3([0x74,0x68,0x65,0x6e])]===_0x41fbe3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19c8f2[_0x41fbe3([0x63,0x61,0x74,0x63,0x68])]===_0x41fbe3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xadca73(_0x24d127){_0x52cb02(_0x24d127)[_0x41fbe3([0x74,0x68,0x65,0x6e])](_0x5019d1=>{if(!_0x5019d1||_0x5019d1[_0x41fbe3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41fbe3([0x6f,0x6b]))return _0x41fbe3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb7d457(_0x4038fa(_0x58405a+_0x378101))!=_0x5019d1[_0x41fbe3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41fbe3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41fbe3([0x56,0x61,0x6c,0x69,0x64]);})[_0x41fbe3([0x74,0x68,0x65,0x6e])](_0x281844=>(_0x5f3514(),_0x281844),()=>{const _0x61c4e1=_0x4eb9ba();return null==_0x61c4e1?(_0x5f3514(),_0x41fbe3([0x56,0x61,0x6c,0x69,0x64])):_0x41fbe3(_0x4253b2-_0x61c4e1>(0x8eaaafb^_0x546a7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41fbe3([0x74,0x68,0x65,0x6e])](_0x3497d4)[_0x41fbe3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3497d4(_0x41fbe3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b75f4=0x2cd0c07b^_0x546a7f;function _0x5f3514(){const _0x1b1207=_0x41fbe3([0x6c,0x6c,0x63,0x74,0x2d])+_0xb7d457(_0x4038fa(_0x5ed6e6)),_0x380dab=_0x5995d8(_0xb7d457(window[_0x41fbe3([0x4d,0x61,0x74,0x68])][_0x41fbe3([0x63,0x65,0x69,0x6c])](_0x4253b2/_0x3b75f4)));window[_0x41fbe3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41fbe3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b1207,_0x380dab);}function _0x4eb9ba(){const _0x51879a=_0x41fbe3([0x6c,0x6c,0x63,0x74,0x2d])+_0xb7d457(_0x4038fa(_0x5ed6e6)),_0x3ef792=window[_0x41fbe3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41fbe3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51879a);return _0x3ef792?window[_0x41fbe3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5995d8(_0x3ef792),0x10)*_0x3b75f4:null;}function _0x52cb02(_0x291ecd){return new window[(_0x41fbe3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d3fa0,_0x9712fc)=>{_0x291ecd[_0x41fbe3([0x74,0x68,0x65,0x6e])](_0x1d3fa0,_0x9712fc),window[_0x41fbe3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9712fc,0x2ce7fa3b^_0x546a7f);});}}_0xbecf6a[_0x41fbe3([0x6f,0x6e])](_0x41fbe3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b1b35,_0x4635f3)=>{if(_0x4635f3[0x0]!=_0x5ed6e6)return _0x3497d4(_0x41fbe3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4635f3[0x1]={..._0x4635f3[0x1],[_0x41fbe3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58405a};},{[_0x41fbe3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41fbe3([0x68,0x69,0x67,0x68])}),_0xbecf6a[_0x41fbe3([0x6f,0x6e])](_0x41fbe3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2abc16=>{_0xc2f52b(_0x2abc16[_0x41fbe3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x292be5=!0x0,_0xadca73(_0x2abc16[_0x41fbe3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41fbe3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41fbe3([0x6c,0x6f,0x77])}),_0x28f509[_0x41fbe3([0x74,0x68,0x65,0x6e])](()=>{_0x292be5||_0x3497d4(_0x41fbe3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x410b0e(){return _0xbecf6a[_0x41fbe3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41fbe3([0x76,0x69,0x65,0x77])][_0x41fbe3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41fbe3([0x61,0x75,0x74,0x6f]);}function _0x33b545(){_0xbecf6a[_0x41fbe3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41fbe3([0x76,0x69,0x65,0x77])][_0x41fbe3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41fbe3([0x61,0x75,0x74,0x6f]);}}function _0x3ef6c5(_0x6769d9){const _0x160f92=[new window[(_0x41fbe3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58f660=>setTimeout(_0x58f660,0x2cef1037^_0x546a7f)),_0x28f509[_0x41fbe3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41fbe3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40ef7f=>{let _0x1029c8=0x0;_0xbecf6a[_0x41fbe3([0x6d,0x6f,0x64,0x65,0x6c])][_0x41fbe3([0x6f,0x6e])](_0x41fbe3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b1233,_0x27be23)=>{_0x27be23[0x0][_0x41fbe3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1029c8++,_0x1029c8==(0x2ce62f03^_0x546a7f)&&(_0x40ef7f(),_0x2b1233[_0x41fbe3([0x6f,0x66,0x66])]());});}))];return window[_0x41fbe3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41fbe3([0x72,0x61,0x63,0x65])](_0x160f92)[_0x41fbe3([0x74,0x68,0x65,0x6e])](()=>_0x6769d9);}async function _0x18e38c(){await _0x28f509,_0xbecf6a[_0x41fbe3([0x6d,0x6f,0x64,0x65,0x6c])][_0x41fbe3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d44ff,_0xbecf6a[_0x41fbe3([0x6d,0x6f,0x64,0x65,0x6c])][_0x41fbe3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d44ff,_0xbecf6a[_0x41fbe3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41fbe3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e7ade(_0x3aa49b){const _0x1e1e19=_0xea7a40();_0xbecf6a[_0x1e1e19]=_0x41fbe3([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])+_0x3aa49b,_0x3aa49b!=_0x41fbe3([0x56,0x61,0x6c,0x69,0x64])&&_0x18e38c();}function _0xea7a40(){const _0x554e9f=window[_0x41fbe3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41fbe3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41fbe3([0x6e,0x6f,0x77])]())[_0x41fbe3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41fbe3([0x2e]),'');let _0x1f745f=_0x41fbe3([0x43]);for(let _0x40ec64=0x0;_0x40ec64<_0x554e9f[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40ec64+=0x2){let _0x509d20=window[_0x41fbe3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x554e9f[_0x41fbe3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40ec64,_0x40ec64+0x2));_0x509d20>=_0xfd7486[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x509d20-=_0xfd7486[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f745f+=_0xfd7486[_0x509d20];}return _0x1f745f;}function _0x23787b(){const _0x4f5db0=_0x2f0672[_0x41fbe3([0x73,0x70,0x6c,0x69,0x74])](_0x41fbe3([0x2e]));if(0x3!=_0x4f5db0[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ac24c(_0x4f5db0[0x1]);function _0x2ac24c(_0xfdc935){const _0x34013e=_0x124009(_0xfdc935);return _0x34013e&&_0x2816da()?_0x34013e:null;function _0x2816da(){const _0xf893c4=_0x34013e[_0x41fbe3([0x6a,0x74,0x69])],_0x198bf9=window[_0x41fbe3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf893c4[_0x41fbe3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf893c4[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53b986={..._0x34013e,[_0x41fbe3([0x6a,0x74,0x69])]:_0xf893c4[_0x41fbe3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf893c4[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53b986[_0x41fbe3([0x76,0x63])],_0x4038fa(_0x53b986)==_0x198bf9;}}}async function _0x39f4c0(){let _0x127bfd=!0x0;try{const _0x85d022=_0x2f0672[_0x41fbe3([0x73,0x70,0x6c,0x69,0x74])](_0x41fbe3([0x2e])),[_0x328098,_0x3ac1e5,_0x51ce9d]=_0x85d022;return _0x35e985(_0x328098),await _0x2c0ea7(_0x328098,_0x3ac1e5,_0x51ce9d),_0x127bfd;}catch{return!0x1;}function _0x35e985(_0x57a5a8){const _0x57e5fd=_0x124009(_0x57a5a8);_0x57e5fd&&_0x57e5fd[_0x41fbe3([0x61,0x6c,0x67])]==_0x41fbe3([0x45,0x53,0x32,0x35,0x36])||(_0x127bfd=!0x1);}async function _0x2c0ea7(_0x3cff3e,_0x14aa03,_0x138ce7){const _0x43b6d0=window[_0x41fbe3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41fbe3([0x66,0x72,0x6f,0x6d])](_0x48d9f2(_0x138ce7),_0x32739c=>_0x32739c[_0x41fbe3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x291975=new window[(_0x41fbe3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41fbe3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cff3e+_0x41fbe3([0x2e])+_0x14aa03),_0x3c04d5=window[_0x41fbe3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41fbe3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c04d5)return;const _0x4e638d=await _0x3c04d5[_0x41fbe3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41fbe3([0x6a,0x77,0x6b]),_0x186d2a,{[_0x41fbe3([0x6e,0x61,0x6d,0x65])]:_0x41fbe3([0x45,0x43,0x44,0x53,0x41]),[_0x41fbe3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41fbe3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41fbe3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c04d5[_0x41fbe3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41fbe3([0x6e,0x61,0x6d,0x65])]:_0x41fbe3([0x45,0x43,0x44,0x53,0x41]),[_0x41fbe3([0x68,0x61,0x73,0x68])]:{[_0x41fbe3([0x6e,0x61,0x6d,0x65])]:_0x41fbe3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e638d,_0x43b6d0,_0x291975)||(_0x127bfd=!0x1);}}function _0x124009(_0x4ee9c3){return _0x4ee9c3[_0x41fbe3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41fbe3([0x65,0x79]))?JSON[_0x41fbe3([0x70,0x61,0x72,0x73,0x65])](_0x48d9f2(_0x4ee9c3)):null;}function _0x48d9f2(_0x556edf){return window[_0x41fbe3([0x61,0x74,0x6f,0x62])](_0x556edf[_0x41fbe3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41fbe3([0x2b]))[_0x41fbe3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41fbe3([0x2f])));}function _0x4038fa(_0x1c871e){let _0x3e6d94=0x1505;function _0x5851bb(_0x34abce){for(let _0x1b65db=0x0;_0x1b65db<_0x34abce[_0x41fbe3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b65db++){const _0x1a5b54=_0x34abce[_0x41fbe3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b65db);_0x3e6d94=(_0x3e6d94<<0x5)+_0x3e6d94+_0x1a5b54,_0x3e6d94&=_0x3e6d94;}}function _0x5726ff(_0x1cbb06){Array[_0x41fbe3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cbb06)?_0x1cbb06[_0x41fbe3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5726ff):_0x1cbb06&&typeof _0x1cbb06==_0x41fbe3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41fbe3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cbb06)[_0x41fbe3([0x73,0x6f,0x72,0x74])]()[_0x41fbe3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1daaa9,_0x1cd2ec])=>{_0x5851bb(_0x1daaa9),_0x5726ff(_0x1cd2ec);}):_0x5851bb(window[_0x41fbe3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cbb06));}return _0x5726ff(_0x1c871e),_0x3e6d94>>>0x0;}function _0xb7d457(_0x2f5754){return _0x2f5754[_0x41fbe3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41fbe3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41fbe3([0x30]));}function _0x5995d8(_0x37ddde){return _0x37ddde[_0x41fbe3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41fbe3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41fbe3([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d44ff(){}function _0x41fbe3(_0x5bf7c0){const _0x4d82fe=_0x542f;return _0x5bf7c0[_0x4d82fe(0x15d)](_0x57f441=>String[_0x4d82fe(0x168)](_0x57f441))[_0x4d82fe(0x14c)]('');}_0x3e7ade(await _0x24c0d1());}(this);}[_0x3281e3(0x134)](_0x1ac6c3,_0x300393,_0xabd4e1=!0x1){const _0x3206a1=_0x3281e3,_0x2eeb51=new _0x1ac6c3(this[_0x3206a1(0x156)][_0x3206a1(0x132)]);return _0x2eeb51[_0x3206a1(0x149)]({'withText':_0xabd4e1,'isToggleable':!0x1}),_0x2eeb51[_0x3206a1(0x145)](_0x3206a1(0x144))['to'](_0x300393,_0x3206a1(0x144)),this[_0x3206a1(0x137)](_0x2eeb51,_0x3206a1(0x155),()=>_0x300393[_0x3206a1(0x155)]()),_0x2eeb51;}[_0x3281e3(0x128)](){const _0x157ba3=_0x3281e3,_0x43bf41=this[_0x157ba3(0x156)][_0x157ba3(0x132)];this[_0x157ba3(0x156)][_0x157ba3(0x170)][_0x157ba3(0x164)]({'id':_0x157ba3(0x16e),'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x13a))});const _0x4b5b19=_0x41e43d[_0x157ba3(0x146)]||_0x41e43d[_0x157ba3(0x158)];this[_0x157ba3(0x156)][_0x157ba3(0x170)][_0x157ba3(0x16f)]({'categoryId':_0x157ba3(0x16e),'keystrokes':[{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x141)),'keystroke':_0x157ba3(0x133)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x154)),'keystroke':_0x157ba3(0x151)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x142)),'keystroke':_0x157ba3(0x16c)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x16a)),'keystroke':_0x157ba3(0x160)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x136)),'keystroke':_0x157ba3(0x173)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x140)),'keystroke':_0x157ba3(0x172)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x176)),'keystroke':_0x4b5b19?_0x157ba3(0x13c):_0x157ba3(0x166)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x178)),'keystroke':_0x157ba3(0x12e)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x124)),'keystroke':_0x157ba3(0x13d)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x12d)),'keystroke':[[_0x157ba3(0x162)],[_0x157ba3(0x127)]]},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x131)),'keystroke':_0x4b5b19?_0x157ba3(0x177):_0x157ba3(0x15b)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x12b)),'keystroke':_0x4b5b19?_0x157ba3(0x147):_0x157ba3(0x139)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x12c)),'keystroke':_0x157ba3(0x14a)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x15e)),'keystroke':_0x157ba3(0x12f)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x161)),'keystroke':_0x157ba3(0x14d)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x129)),'keystroke':_0x157ba3(0x16d)},{'label':_0x5c1bee(_0x43bf41,_0x157ba3(0x165)),'keystroke':_0x4b5b19?_0x157ba3(0x138):_0x157ba3(0x167)}]});}}
|