@ckeditor/ckeditor5-source-editing-enhanced 46.0.0-alpha.4 → 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 _0x4bddeb,PendingActions as _0x2ec6a8,Plugin as _0x12a733}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x214cde,formatHtml as _0x4fdad2,env as _0x1d120a,uid as _0x2b9c36}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1beae8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x40ace9,ButtonView as _0x4ca10c,MenuBarMenuListItemButtonView as _0x254931}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0xffff9e,crosshairCursor as _0x5998bf,drawSelection as _0x2bc6e1,dropCursor as _0x1e8b4d,lineNumbers as _0x12791f,highlightActiveLine as _0x23438c,highlightActiveLineGutter as _0x241c9d,highlightSpecialChars as _0x369c28,rectangularSelection as _0x427140,keymap as _0xb81248}from'@codemirror/view';import{Compartment as _0x248cba,Transaction as _0xbf3b8e}from'@codemirror/state';import{bracketMatching as _0x1134d6,foldGutter as _0x583468,indentOnInput as _0x243957,syntaxHighlighting as _0x55606f,defaultHighlightStyle as _0x89ff6a,foldKeymap as _0x3ef0c2}from'@codemirror/language';import{toggleTabFocusMode as _0x5c6332,history as _0x38ea99,defaultKeymap as _0x4aec23,historyKeymap as _0x17746a,indentLess as _0x50acb3,indentMore as _0x4ee4af,redo as _0x4717fe,undo as _0x4f9dc3}from'@codemirror/commands';import{autocompletion as _0x51107f,closeBrackets as _0x11c308,closeBracketsKeymap as _0x4ee708,completionKeymap as _0x36bb9d}from'@codemirror/autocomplete';import{html as _0x51d925}from'@codemirror/lang-html';import{markdown as _0x4093e2}from'@codemirror/lang-markdown';import{oneDark as _0x50535e}from'@codemirror/theme-one-dark';function w(_0x2bd124,_0xe7f309){const t=_0x2bd124['t'];switch(_0xe7f309){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 _0xe7f309;}}function r(_0x397cea){const _0x3bc29c=_0x397cea['editing']['view']['document']['roots'],_0x47ac57=_0x3bc29c['length'];if(0x0===_0x47ac57)throw new _0x214cde('source-editing-enhanced-editor-no-root',_0x397cea);if(0x1===_0x47ac57)return _0x3bc29c['first']['rootName'];return Array['from'](_0x397cea['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x31cccf){return tr(_0x31cccf['replace'](/^[\n\s]*/g,''))?_0x31cccf['replace'](/\s+/g,''):_0x31cccf;}function tr(_0x29a4ec){return _0x29a4ec['startsWith']('<');}function p(_0x356c78){const _0x1c0a20=[_0xffff9e['lineWrapping'],_0x51107f(),_0x1134d6(),_0x11c308(),_0x5998bf(),_0x2bc6e1(),_0x1e8b4d(),_0x12791f(),_0x583468(),_0x23438c(),_0x241c9d(),_0x369c28(),_0x38ea99(),_0x243957(),_0x427140(),_0x55606f(_0x89ff6a,{'fallback':!0x0})],_0x23c186=new _0x248cba();_0x1c0a20['push'](_0x23c186['of'](_0xffff9e['editable']['of'](!0x0))),'html'===_0x356c78['syntaxLanguage']?_0x1c0a20['push'](_0x51d925()):_0x1c0a20['push'](_0x4093e2());const _0x460b88=function(_0x28e103){if(_0x28e103&&'default'!==_0x28e103)return'dark'===_0x28e103?_0x50535e:_0x28e103;return null;}(_0x356c78['theme']);_0x460b88&&_0x1c0a20['push'](_0x460b88),_0x1c0a20['push'](_0xb81248['of']([..._0x4ee708,..._0x4aec23,..._0x17746a,..._0x3ef0c2,..._0x36bb9d,{'key':'Tab','run':_0x4ee4af,'shift':_0x50acb3,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x4717fe,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x4717fe,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4f9dc3,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x39d929=new _0xffff9e({'extensions':_0x1c0a20,'parent':_0x356c78['parent']});return _0x5c6332(_0x39d929),{'focus':()=>{_0x39d929['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x39d929['focus']();},'getData':()=>_0x39d929['state']['doc']['toString'](),'setData':_0x25cb69=>{_0x39d929['dispatch']({'changes':{'from':0x0,'to':_0x39d929['state']['doc']['length'],'insert':_0x25cb69},'annotations':_0xbf3b8e['addToHistory']['of'](!0x1)});},'setReadOnly':_0x47a7b5=>{_0x39d929['dispatch']({'effects':[_0x23c186['reconfigure'](_0xffff9e['editable']['of'](!_0x47a7b5))]});},'destroy':()=>{_0x39d929['destroy']();},'instance':_0x39d929};}class E extends _0x40ace9{['_codeEditorApi']=null;['_options'];constructor(_0x48857c,_0x1ac90c){super(_0x48857c),this['_options']=_0x1ac90c,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',(_0x22bcee,_0x507ef6,_0x2a4ce3)=>{this['setReadOnly'](_0x2a4ce3);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xdd51c1){this['_codeEditorApi']['setData'](_0xdd51c1);}['setReadOnly'](_0x2d141e){this['_codeEditorApi']['setReadOnly'](_0x2d141e);}}const b='SourceEditingEnhancedMode';class d extends _0x4bddeb{constructor(_0xb5ace1){super(_0xb5ace1),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2ec6a8)['on']('change:hasAny',(_0x24e875,_0x730cef,_0xf83406)=>{_0xf83406?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x323917=this['editor'];for(const _0x5771a1 of _0x323917['commands']['names']())['replaceSource','editSource']['includes'](_0x5771a1)||_0x323917['commands']['get'](_0x5771a1)['forceDisabled'](b);}['_enableCommands'](){const _0x57f66d=this['editor'];for(const _0xd989ca of _0x57f66d['commands']['commands']())_0xd989ca['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x43fdb1=this['editor'],_0x3c98d7=_0x43fdb1['locale'],_0x131ccb=_0x43fdb1['plugins']['get']('Dialog'),_0x3d057a=r(_0x43fdb1),_0x520871=_0x43fdb1['data']['get']({'rootName':_0x3d057a}),_0x1bd33a=tr(_0x1e462a=_0x520871)?_0x4fdad2(_0x1e462a):_0x1e462a;var _0x1e462a;const _0x452867=new E(_0x3c98d7,{'syntaxLanguage':_0x43fdb1['plugins']['has']('Markdown')?'markdown':'html','theme':_0x43fdb1['config']['get']('sourceEditingEnhanced.theme')});let _0xc0829a=!0x0;const _0x1e81fe=_0x36ba49=>{if(!_0xc0829a)return;return g(_0x452867['getData']())!==g(_0x1bd33a)?window['confirm'](w(_0x3c98d7,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x36ba49['stop']():void 0x0;};_0x131ccb['show']({'id':'sourceEditingEnhanced','title':w(_0x3c98d7,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x452867,'actionButtons':[{'label':w(_0x3c98d7,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x131ccb['hide']();}},{'label':w(_0x3c98d7,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x57736a=g(_0x452867['getData']())!==g(_0x1bd33a);(_0x57736a&&_0x43fdb1['execute']('replaceSource',_0x452867['getData']()),_0xc0829a=!0x1,_0x131ccb['hide'](),_0x57736a&&'editables'in _0x43fdb1['ui']['view'])&&_0x43fdb1['ui']['view']['editables'][_0x3d057a]['element']['focus']();},'onCreate':_0x47fdcf=>{_0x47fdcf['set']('isEnabled',!_0x43fdb1['isReadOnly']),_0x47fdcf['bind']('isEnabled')['to'](_0x43fdb1,'isReadOnly',this,'isEnabled',(_0x25d87a,_0xffd0e9)=>!_0x25d87a&&_0xffd0e9);}}],'onHide':()=>{this['_enableCommands'](),_0x131ccb['off']('hide',_0x1e81fe),_0x452867['destroy']();},'onShow':()=>{_0x452867['bind']('isReadOnly')['to'](_0x43fdb1,'isReadOnly',this,'isEnabled',(_0x169a0a,_0x3e2135)=>_0x169a0a||!_0x3e2135),_0x452867['setData'](_0x1bd33a),_0x452867['focus'](),_0x131ccb['on']('hide',_0x1e81fe,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x12a733{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2ec6a8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5dc9bf=this['editor'],_0x4f48a3=_0x5dc9bf['locale'],_0x173452=new d(_0x5dc9bf);_0x5dc9bf['commands']['add']('editSource',_0x173452),_0x5dc9bf['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4f95e6=this['_createButton'](_0x4ca10c,_0x173452);return _0x4f95e6['set']({'label':w(_0x4f48a3,'Source'),'icon':_0x1beae8,'tooltip':w(_0x4f48a3,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4f95e6;}),_0x5dc9bf['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3fe013=this['_createButton'](_0x254931,_0x173452,!0x0);return _0x3fe013['set']({'label':w(_0x4f48a3,'Edit\x20source\x20modal\x20label'),'icon':_0x1beae8,'role':'menuitemcheckbox'}),_0x3fe013;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x21c9f5){const _0x5c3a4d=_0x2f1af2([0x67,0x76,0x63,0x38,0x66,0x48,0x4f,0x55,0x39,0x35,0x49,0x4b,0x45,0x61,0x50,0x37,0x47,0x78,0x44,0x77,0x54,0x79,0x7a,0x64,0x6d,0x6b,0x74,0x59,0x30,0x51,0x53,0x65,0x56,0x31,0x6f,0x33,0x43,0x72,0x46,0x68,0x57,0x5a,0x75,0x58,0x6e,0x32,0x52,0x41,0x71,0x4e,0x69,0x42,0x62,0x4a,0x4d,0x36,0x70,0x34,0x6a,0x6c,0x4c,0x73]),_0x324ff0=0x1161b7a4,_0x51e096=0x1166db14^_0x324ff0,_0x3f5750=window[_0x2f1af2([0x44,0x61,0x74,0x65])][_0x2f1af2([0x6e,0x6f,0x77])](),_0x1e04e4=_0x21c9f5[_0x2f1af2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x104b0e=new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b05a7=>{_0x1e04e4[_0x2f1af2([0x6f,0x6e,0x63,0x65])](_0x2f1af2([0x72,0x65,0x61,0x64,0x79]),_0x1b05a7);}),_0x4c1b0c={[_0x2f1af2([0x6b,0x74,0x79])]:_0x2f1af2([0x45,0x43]),[_0x2f1af2([0x75,0x73,0x65])]:_0x2f1af2([0x73,0x69,0x67]),[_0x2f1af2([0x63,0x72,0x76])]:_0x2f1af2([0x50,0x2d,0x32,0x35,0x36]),[_0x2f1af2([0x78])]:_0x2f1af2([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]),[_0x2f1af2([0x79])]:_0x2f1af2([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]),[_0x2f1af2([0x61,0x6c,0x67])]:_0x2f1af2([0x45,0x53,0x32,0x35,0x36])},_0x3e2cf3=_0x1e04e4[_0x2f1af2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f1af2([0x67,0x65,0x74])](_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d808f(){let _0x1c94b8,_0x27b68f=null,_0x13cde1=null;try{if(_0x3e2cf3==_0x2f1af2([0x47,0x50,0x4c]))return _0x2f1af2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c94b8=_0xc7932b(),!_0x1c94b8)return _0x2f1af2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c94b8[_0x2f1af2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13cde1=_0x330043(_0x1c94b8[_0x2f1af2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c94b8[_0x2f1af2([0x6a,0x74,0x69])])),await _0x4d679b()?_0x279648()?_0x4ada60()?_0x2f1af2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1250f8()?(_0x1c94b8[_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f1af2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27b68f=_0x1003e4(_0x2f1af2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c94b8[_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f1af2([0x74,0x72,0x69,0x61,0x6c])&&(_0x27b68f=_0x1003e4(_0x2f1af2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3db62b()):_0x2f1af2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f1af2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f1af2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f1af2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ada60(){const _0x1b8aed=[_0x2f1af2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f1af2([0x74,0x72,0x69,0x61,0x6c])][_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c94b8[_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f5750/0x3e8:0xe10*_0x51e096;return _0x1c94b8[_0x2f1af2([0x65,0x78,0x70])]<_0x1b8aed;}function _0x279648(){const _0x235ce9=_0x1c94b8[_0x2f1af2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x235ce9&&(!!_0x235ce9[_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1af2([0x2a]))||!!_0x235ce9[_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1af2([0x53,0x45,0x45])));}function _0x1250f8(){const _0x3e0644=_0x1c94b8[_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e0644||0x0==_0x3e0644[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x960de2}=new URL(window[_0x2f1af2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e0644[_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x960de2))return!0x0;const _0x2e7e91=_0x960de2[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])](_0x2f1af2([0x2e]));return _0x3e0644[_0x2f1af2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d92e4=>_0x5d92e4[_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1af2([0x2a])))[_0x2f1af2([0x6d,0x61,0x70])](_0x118649=>_0x118649[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])](_0x2f1af2([0x2e])))[_0x2f1af2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45c469=>_0x45c469[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e7e91[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f1af2([0x6d,0x61,0x70])](_0x3b129d=>Array(_0x2e7e91[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b129d[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f1af2([0x66,0x69,0x6c,0x6c])](_0x3b129d[0x0]===_0x2f1af2([0x2a])?_0x2f1af2([0x2a]):'')[_0x2f1af2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b129d))[_0x2f1af2([0x73,0x6f,0x6d,0x65])](_0xca88c=>_0x2e7e91[_0x2f1af2([0x65,0x76,0x65,0x72,0x79])]((_0xadb02a,_0x3f2c76)=>_0xca88c[_0x3f2c76]===_0xadb02a||_0xca88c[_0x3f2c76]===_0x2f1af2([0x2a])));}function _0x3db62b(){return _0x27b68f&&_0x13cde1?new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22dc03,_0xb2e980)=>{_0x27b68f[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x22dc03,_0xb2e980),_0x13cde1[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x5a3db9=>{_0x5a3db9!=_0x2f1af2([0x56,0x61,0x6c,0x69,0x64])&&_0x22dc03(_0x5a3db9);},_0xb2e980);}):_0x27b68f||_0x13cde1||_0x2f1af2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x330043(_0x1255f3,_0xce9d58){return new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x83c4a5=>{if(_0x52d1ac())return _0x83c4a5(_0x2f1af2([0x56,0x61,0x6c,0x69,0x64]));_0x2a9385(),_0x1e04e4[_0x2f1af2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f1af2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3452f5=!0x1;const _0x1495b2=_0x2b9c36();function _0x402a09(_0x300b7d){return!!_0x300b7d&&(typeof _0x300b7d===_0x2f1af2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x300b7d===_0x2f1af2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x300b7d[_0x2f1af2([0x74,0x68,0x65,0x6e])]===_0x2f1af2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x300b7d[_0x2f1af2([0x63,0x61,0x74,0x63,0x68])]===_0x2f1af2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a8b63(_0x1aab52){_0x4b6337(_0x1aab52)[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x1dc51b=>{if(!_0x1dc51b||_0x1dc51b[_0x2f1af2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f1af2([0x6f,0x6b]))return _0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7af414(_0x1ff26d(_0x1495b2+_0xce9d58))!=_0x1dc51b[_0x2f1af2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f1af2([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x20ea95=>(_0x21b2c4(),_0x20ea95),()=>{const _0x29021f=_0x3e1a80();return null==_0x29021f?(_0x21b2c4(),_0x2f1af2([0x56,0x61,0x6c,0x69,0x64])):_0x2f1af2(_0x3f5750-_0x29021f>(0x356d33a4^_0x324ff0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x83c4a5)[_0x2f1af2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x83c4a5(_0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48cdfc=0x11575924^_0x324ff0;function _0x21b2c4(){const _0x5e2727=_0x2f1af2([0x6c,0x6c,0x63,0x74,0x2d])+_0x7af414(_0x1ff26d(_0x1255f3)),_0x2424d6=_0xf4b1ee(_0x7af414(window[_0x2f1af2([0x4d,0x61,0x74,0x68])][_0x2f1af2([0x63,0x65,0x69,0x6c])](_0x3f5750/_0x48cdfc)));window[_0x2f1af2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f1af2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e2727,_0x2424d6);}function _0x3e1a80(){const _0x3ee926=_0x2f1af2([0x6c,0x6c,0x63,0x74,0x2d])+_0x7af414(_0x1ff26d(_0x1255f3)),_0x3ff87b=window[_0x2f1af2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f1af2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ee926);return _0x3ff87b?window[_0x2f1af2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf4b1ee(_0x3ff87b),0x10)*_0x48cdfc:null;}function _0x4b6337(_0x5e46f2){return new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47ec70,_0x4a497f)=>{_0x5e46f2[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x47ec70,_0x4a497f),window[_0x2f1af2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a497f,0x11606364^_0x324ff0);});}}_0x1e04e4[_0x2f1af2([0x6f,0x6e])](_0x2f1af2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50101a,_0x239244)=>{if(_0x239244[0x0]!=_0x1255f3)return _0x83c4a5(_0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x239244[0x1]={..._0x239244[0x1],[_0x2f1af2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1495b2};},{[_0x2f1af2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f1af2([0x68,0x69,0x67,0x68])}),_0x1e04e4[_0x2f1af2([0x6f,0x6e])](_0x2f1af2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5fa430=>{_0x402a09(_0x5fa430[_0x2f1af2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3452f5=!0x0,_0x1a8b63(_0x5fa430[_0x2f1af2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f1af2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f1af2([0x6c,0x6f,0x77])}),_0x104b0e[_0x2f1af2([0x74,0x68,0x65,0x6e])](()=>{_0x3452f5||_0x83c4a5(_0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52d1ac(){return _0x1e04e4[_0x2f1af2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f1af2([0x76,0x69,0x65,0x77])][_0x2f1af2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f1af2([0x61,0x75,0x74,0x6f]);}function _0x2a9385(){_0x1e04e4[_0x2f1af2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f1af2([0x76,0x69,0x65,0x77])][_0x2f1af2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f1af2([0x61,0x75,0x74,0x6f]);}}function _0x1003e4(_0x5d4320){const _0x42722f=[new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b5e0=>setTimeout(_0x50b5e0,0x11688968^_0x324ff0)),_0x104b0e[_0x2f1af2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x90dd3a=>{let _0x192fd5=0x0;_0x1e04e4[_0x2f1af2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1af2([0x6f,0x6e])](_0x2f1af2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x567a0f,_0x2cada2)=>{_0x2cada2[0x0][_0x2f1af2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x192fd5++,_0x192fd5==(0x1161b65c^_0x324ff0)&&(_0x90dd3a(),_0x567a0f[_0x2f1af2([0x6f,0x66,0x66])]());});}))];return window[_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f1af2([0x72,0x61,0x63,0x65])](_0x42722f)[_0x2f1af2([0x74,0x68,0x65,0x6e])](()=>_0x5d4320);}async function _0x55b713(){await _0x104b0e,_0x1e04e4[_0x2f1af2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1af2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26d8b1,_0x1e04e4[_0x2f1af2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1af2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26d8b1,_0x1e04e4[_0x2f1af2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f1af2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14011e(_0x5f4292){const _0x5c5ff8=_0x33a19f();_0x1e04e4[_0x5c5ff8]=_0x2f1af2([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])+_0x5f4292,_0x5f4292!=_0x2f1af2([0x56,0x61,0x6c,0x69,0x64])&&_0x55b713();}function _0x33a19f(){const _0x2f2ad3=window[_0x2f1af2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f1af2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f1af2([0x6e,0x6f,0x77])]())[_0x2f1af2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f1af2([0x2e]),'');let _0x51d727=_0x2f1af2([0x67]);for(let _0x5b404e=0x0;_0x5b404e<_0x2f2ad3[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b404e+=0x2){let _0x3dd03e=window[_0x2f1af2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f2ad3[_0x2f1af2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b404e,_0x5b404e+0x2));_0x3dd03e>=_0x5c3a4d[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3dd03e-=_0x5c3a4d[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51d727+=_0x5c3a4d[_0x3dd03e];}return _0x51d727;}function _0xc7932b(){const _0x3e79d2=_0x3e2cf3[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])](_0x2f1af2([0x2e]));if(0x3!=_0x3e79d2[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d6653(_0x3e79d2[0x1]);function _0x4d6653(_0x30c005){const _0x46af6a=_0xa2a579(_0x30c005);return _0x46af6a&&_0x19fb12()?_0x46af6a:null;function _0x19fb12(){const _0x48bed6=_0x46af6a[_0x2f1af2([0x6a,0x74,0x69])],_0x4ee32b=window[_0x2f1af2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48bed6[_0x2f1af2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48bed6[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9d19a6={..._0x46af6a,[_0x2f1af2([0x6a,0x74,0x69])]:_0x48bed6[_0x2f1af2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48bed6[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9d19a6[_0x2f1af2([0x76,0x63])],_0x1ff26d(_0x9d19a6)==_0x4ee32b;}}}async function _0x4d679b(){let _0x2d88a1=!0x0;try{const _0x4db62c=_0x3e2cf3[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])](_0x2f1af2([0x2e])),[_0x4d42fb,_0x540dc8,_0x35a9c5]=_0x4db62c;return _0x20804c(_0x4d42fb),await _0x28241c(_0x4d42fb,_0x540dc8,_0x35a9c5),_0x2d88a1;}catch{return!0x1;}function _0x20804c(_0x1d536a){const _0x980a86=_0xa2a579(_0x1d536a);_0x980a86&&_0x980a86[_0x2f1af2([0x61,0x6c,0x67])]==_0x2f1af2([0x45,0x53,0x32,0x35,0x36])||(_0x2d88a1=!0x1);}async function _0x28241c(_0x58ec93,_0x4a5eb7,_0x262982){const _0x2faa96=window[_0x2f1af2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f1af2([0x66,0x72,0x6f,0x6d])](_0x37a703(_0x262982),_0x1a0c59=>_0x1a0c59[_0x2f1af2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe129bb=new window[(_0x2f1af2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f1af2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58ec93+_0x2f1af2([0x2e])+_0x4a5eb7),_0xba578c=window[_0x2f1af2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f1af2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xba578c)return;const _0x1801b6=await _0xba578c[_0x2f1af2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f1af2([0x6a,0x77,0x6b]),_0x4c1b0c,{[_0x2f1af2([0x6e,0x61,0x6d,0x65])]:_0x2f1af2([0x45,0x43,0x44,0x53,0x41]),[_0x2f1af2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f1af2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f1af2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xba578c[_0x2f1af2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f1af2([0x6e,0x61,0x6d,0x65])]:_0x2f1af2([0x45,0x43,0x44,0x53,0x41]),[_0x2f1af2([0x68,0x61,0x73,0x68])]:{[_0x2f1af2([0x6e,0x61,0x6d,0x65])]:_0x2f1af2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1801b6,_0x2faa96,_0xe129bb)||(_0x2d88a1=!0x1);}}function _0xa2a579(_0x33aef0){return _0x33aef0[_0x2f1af2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f1af2([0x65,0x79]))?JSON[_0x2f1af2([0x70,0x61,0x72,0x73,0x65])](_0x37a703(_0x33aef0)):null;}function _0x37a703(_0x108421){return window[_0x2f1af2([0x61,0x74,0x6f,0x62])](_0x108421[_0x2f1af2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f1af2([0x2b]))[_0x2f1af2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f1af2([0x2f])));}function _0x1ff26d(_0x4a9aae){let _0x3bb431=0x1505;function _0x4e160d(_0x59a230){for(let _0x3fd916=0x0;_0x3fd916<_0x59a230[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fd916++){const _0x585d68=_0x59a230[_0x2f1af2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fd916);_0x3bb431=(_0x3bb431<<0x5)+_0x3bb431+_0x585d68,_0x3bb431&=_0x3bb431;}}function _0x5202e9(_0x495db8){Array[_0x2f1af2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x495db8)?_0x495db8[_0x2f1af2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5202e9):_0x495db8&&typeof _0x495db8==_0x2f1af2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f1af2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x495db8)[_0x2f1af2([0x73,0x6f,0x72,0x74])]()[_0x2f1af2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4507ac,_0x1d7e11])=>{_0x4e160d(_0x4507ac),_0x5202e9(_0x1d7e11);}):_0x4e160d(window[_0x2f1af2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x495db8));}return _0x5202e9(_0x4a9aae),_0x3bb431>>>0x0;}function _0x7af414(_0x34612e){return _0x34612e[_0x2f1af2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f1af2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f1af2([0x30]));}function _0xf4b1ee(_0x3aeb19){return _0x3aeb19[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f1af2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f1af2([0x6a,0x6f,0x69,0x6e])]('');}function _0x26d8b1(){}function _0x2f1af2(_0x4ba35b){return _0x4ba35b['map'](_0x1c37c2=>String['fromCharCode'](_0x1c37c2))['join']('');}_0x14011e(await _0x4d808f());}(this);}['_createButton'](_0x1a023f,_0x446ac4,_0x4be041=!0x1){const _0xb722fd=new _0x1a023f(this['editor']['locale']);return _0xb722fd['set']({'withText':_0x4be041,'isToggleable':!0x1}),_0xb722fd['bind']('isEnabled')['to'](_0x446ac4,'isEnabled'),this['listenTo'](_0xb722fd,'execute',()=>_0x446ac4['execute']()),_0xb722fd;}['_registerKeybindings'](){const _0x2daa83=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x2daa83,'Source\x20Editing\x20Enhanced')});const _0x326fb1=_0x1d120a['isMac']||_0x1d120a['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x2daa83,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x2daa83,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x2daa83,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x2daa83,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x2daa83,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x2daa83,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x2daa83,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x326fb1?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x2daa83,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x2daa83,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x2daa83,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x2daa83,'Select\x20line'),'keystroke':_0x326fb1?'Ctrl!+L':'Alt+L'},{'label':w(_0x2daa83,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x326fb1?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x2daa83,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x2daa83,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x2daa83,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x2daa83,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x2daa83,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x326fb1?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x4bddeb{constructor(_0x4404f6){super(_0x4404f6),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x9fb414,_0xbffe99){const _0x4f1dc3=this['editor'],_0x5055e2=_0xbffe99?.['rootName']??r(_0x4f1dc3);_0x4f1dc3['data']['set']({[_0x5055e2]:_0x9fb414},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x12a733{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x564093){super(_0x564093),_0x564093['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 _0x3cd8a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x296203;for(const _0x311699 in _0x3cd8a9){const _0x5d9e20=_0x311699,_0x21b7a4=_0x3cd8a9[_0x5d9e20];if('sourceEditingEnhancedLicenseKeyValid'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyInvalid'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyExpired'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x21b7a4){delete _0x3cd8a9[_0x5d9e20],_0x296203=_0x21b7a4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x296203&&_0x3cd8a9['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x296203&&_0x3cd8a9['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x296203&&_0x3cd8a9['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x296203&&_0x3cd8a9['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x296203&&_0x3cd8a9['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x296203&&_0x3cd8a9['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x296203&&_0x3cd8a9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3ab60=this['editor'],_0xd0e517=_0x3ab60['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0xd0e517&&_0x3ab60['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x214cde('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0xd0e517&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x53b3d=>_0x3ab60['plugins']['has'](_0x53b3d))&&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.'),_0x3ab60['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 _0x82a3a0=_0x3070;(function(_0x495f6a,_0x51c87e){const _0x5aa7f1=_0x3070,_0x2ae292=_0x495f6a();while(!![]){try{const _0x476f04=-parseInt(_0x5aa7f1(0x1e6))/0x1*(parseInt(_0x5aa7f1(0x1cb))/0x2)+parseInt(_0x5aa7f1(0x1d9))/0x3+-parseInt(_0x5aa7f1(0x1d3))/0x4+-parseInt(_0x5aa7f1(0x1bf))/0x5+parseInt(_0x5aa7f1(0x1d1))/0x6+-parseInt(_0x5aa7f1(0x1a0))/0x7*(parseInt(_0x5aa7f1(0x1b7))/0x8)+-parseInt(_0x5aa7f1(0x1e9))/0x9*(-parseInt(_0x5aa7f1(0x1cd))/0xa);if(_0x476f04===_0x51c87e)break;else _0x2ae292['push'](_0x2ae292['shift']());}catch(_0x1d10e7){_0x2ae292['push'](_0x2ae292['shift']());}}}(_0x2e2b,0x8c1b6));import{Plugin as _0xf845a2,PendingActions as _0x47d5f0}from'ckeditor5/src/core.js';import{IconSource as _0x16dc70}from'ckeditor5/src/icons.js';import{ButtonView as _0x452bc7,MenuBarMenuListItemButtonView as _0x1624fb}from'ckeditor5/src/ui.js';function _0x2e2b(){const _0x5d0ddd=['Unfold\x20all','Source','sourceEditingEnhanced','requires','Ctrl+[','href','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+M','Undo\x20(keystroke)','2NHROcV','fromCharCode','240GmgxBH','Indent\x20less','addKeystrokeInfos','join','461142FTvRZw','_createButton','2424640rRVgif','Cmd+Alt+]','Fold\x20all','add','execute','Ctrl+Shift+[','3195513uuDRly','Alt+ArrowDown','map','editor','locale','Ctrl+Shift+]','commands','Indent\x20more','SourceEditingEnhancedUI','set','Alt+Shift+M','isPremiumPlugin','isEnabled','1132753VwAFJD','Shift+Alt+ArrowDown','afterInit','1073691QQAVmY','Toggle\x20comment','componentFactory','Ctrl+Shift+Z','isMac','accessibility','menuitemcheckbox','_registerKeybindings','init','Source\x20Editing\x20Enhanced','Cmd+Alt+[','Ctrl!+Alt+[','908502QqEbkf','Shift+Alt+ArrowUp','Ctrl+/','Shift+Ctrl+K','Select\x20line','Ctrl+]','Alt+ArrowUp','Copy\x20line\x20down','listenTo','Move\x20line\x20down','Redo\x20(keystroke)','bind','Delete\x20line','Ctrl!+Alt+]','Toggle\x20block\x20comment','pluginName','Move\x20line\x20up','Edit\x20source\x20modal\x20label','Alt+L','Shift+Alt+A','ck-source-editing-enhanced-button','Copy\x20line\x20up','Ctrl+Z','48wZEZkF','Fold\x20code\x20(current\x20level)','editSource','menuBar:sourceEditingEnhanced','isiOS','isOfficialPlugin','addKeystrokeInfoCategory','Ctrl!+L','4568485rQeUqM','Ctrl+Y','Unfold\x20code\x20(current\x20level)'];_0x2e2b=function(){return _0x5d0ddd;};return _0x2e2b();}import{EditSourceCommand as _0xcb5b22}from'./ui/editsourcecommand.js';import{getTranslation as _0xd9d419}from'./utils/common-translations.js';function _0x3070(_0x20eee8,_0x399d73){const _0x2e2b8b=_0x2e2b();return _0x3070=function(_0x30702e,_0x493404){_0x30702e=_0x30702e-0x19e;let _0x5b5013=_0x2e2b8b[_0x30702e];return _0x5b5013;},_0x3070(_0x20eee8,_0x399d73);}import{env as _0x3c589c,uid as _0x31b8e3}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0xf845a2{static get[_0x82a3a0(0x1af)](){const _0xeaf67a=_0x82a3a0;return _0xeaf67a(0x1e1);}static get[_0x82a3a0(0x1c5)](){return[_0x47d5f0];}static get[_0x82a3a0(0x1bc)](){return!0x0;}static get[_0x82a3a0(0x1e4)](){return!0x0;}[_0x82a3a0(0x1f1)](){const _0x100028=_0x82a3a0,_0x381422=this[_0x100028(0x1dc)],_0x269e22=_0x381422[_0x100028(0x1dd)],_0x4b915b=new _0xcb5b22(_0x381422);_0x381422[_0x100028(0x1df)][_0x100028(0x1d6)](_0x100028(0x1b9),_0x4b915b),_0x381422['ui'][_0x100028(0x1eb)][_0x100028(0x1d6)](_0x100028(0x1c4),()=>{const _0x65df43=_0x100028,_0x575e71=this[_0x65df43(0x1d2)](_0x452bc7,_0x4b915b);return _0x575e71[_0x65df43(0x1e2)]({'label':_0xd9d419(_0x269e22,_0x65df43(0x1c3)),'icon':_0x16dc70,'tooltip':_0xd9d419(_0x269e22,_0x65df43(0x1b1)),'class':_0x65df43(0x1b4)}),_0x575e71;}),_0x381422['ui'][_0x100028(0x1eb)][_0x100028(0x1d6)](_0x100028(0x1ba),()=>{const _0x537ddc=_0x100028,_0x32f978=this[_0x537ddc(0x1d2)](_0x1624fb,_0x4b915b,!0x0);return _0x32f978[_0x537ddc(0x1e2)]({'label':_0xd9d419(_0x269e22,_0x537ddc(0x1b1)),'icon':_0x16dc70,'role':_0x537ddc(0x1ef)}),_0x32f978;}),this[_0x100028(0x1f0)]();}[_0x82a3a0(0x1e8)](){!async function(_0x5c2c67){const _0x7b6cd9=_0x494256([0x67,0x76,0x63,0x38,0x66,0x48,0x4f,0x55,0x39,0x35,0x49,0x4b,0x45,0x61,0x50,0x37,0x47,0x78,0x44,0x77,0x54,0x79,0x7a,0x64,0x6d,0x6b,0x74,0x59,0x30,0x51,0x53,0x65,0x56,0x31,0x6f,0x33,0x43,0x72,0x46,0x68,0x57,0x5a,0x75,0x58,0x6e,0x32,0x52,0x41,0x71,0x4e,0x69,0x42,0x62,0x4a,0x4d,0x36,0x70,0x34,0x6a,0x6c,0x4c,0x73]),_0x594690=0x1161b7a4,_0x1d396b=0x1166db14^_0x594690,_0x39f79b=window[_0x494256([0x44,0x61,0x74,0x65])][_0x494256([0x6e,0x6f,0x77])](),_0x5c7166=_0x5c2c67[_0x494256([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x393933=new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x920474=>{_0x5c7166[_0x494256([0x6f,0x6e,0x63,0x65])](_0x494256([0x72,0x65,0x61,0x64,0x79]),_0x920474);}),_0x47246c={[_0x494256([0x6b,0x74,0x79])]:_0x494256([0x45,0x43]),[_0x494256([0x75,0x73,0x65])]:_0x494256([0x73,0x69,0x67]),[_0x494256([0x63,0x72,0x76])]:_0x494256([0x50,0x2d,0x32,0x35,0x36]),[_0x494256([0x78])]:_0x494256([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]),[_0x494256([0x79])]:_0x494256([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]),[_0x494256([0x61,0x6c,0x67])]:_0x494256([0x45,0x53,0x32,0x35,0x36])},_0x50370e=_0x5c7166[_0x494256([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x494256([0x67,0x65,0x74])](_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d1714(){let _0x1e7e7e,_0x279e72=null,_0x59ff2a=null;try{if(_0x50370e==_0x494256([0x47,0x50,0x4c]))return _0x494256([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e7e7e=_0x4c0d3d(),!_0x1e7e7e)return _0x494256([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e7e7e[_0x494256([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59ff2a=_0x3527e5(_0x1e7e7e[_0x494256([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e7e7e[_0x494256([0x6a,0x74,0x69])])),await _0x5708d3()?_0x10a1db()?_0x4ff570()?_0x494256([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b4d70()?(_0x1e7e7e[_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494256([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x279e72=_0x5cd69e(_0x494256([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1e7e7e[_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494256([0x74,0x72,0x69,0x61,0x6c])&&(_0x279e72=_0x5cd69e(_0x494256([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19af18()):_0x494256([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x494256([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x494256([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x494256([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ff570(){const _0x1afb50=[_0x494256([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x494256([0x74,0x72,0x69,0x61,0x6c])][_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e7e7e[_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39f79b/0x3e8:0xe10*_0x1d396b;return _0x1e7e7e[_0x494256([0x65,0x78,0x70])]<_0x1afb50;}function _0x10a1db(){const _0x490f15=_0x1e7e7e[_0x494256([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x490f15&&(!!_0x490f15[_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494256([0x2a]))||!!_0x490f15[_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494256([0x53,0x45,0x45])));}function _0x1b4d70(){const _0x4af2c5=_0x3070,_0x5ed60c=_0x1e7e7e[_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ed60c||0x0==_0x5ed60c[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36cdc5}=new URL(window[_0x494256([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4af2c5(0x1c7)]);if(_0x5ed60c[_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36cdc5))return!0x0;const _0x51710e=_0x36cdc5[_0x494256([0x73,0x70,0x6c,0x69,0x74])](_0x494256([0x2e]));return _0x5ed60c[_0x494256([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39d595=>_0x39d595[_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494256([0x2a])))[_0x494256([0x6d,0x61,0x70])](_0x32c86=>_0x32c86[_0x494256([0x73,0x70,0x6c,0x69,0x74])](_0x494256([0x2e])))[_0x494256([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2130e2=>_0x2130e2[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x51710e[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494256([0x6d,0x61,0x70])](_0x54f936=>Array(_0x51710e[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x54f936[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494256([0x66,0x69,0x6c,0x6c])](_0x54f936[0x0]===_0x494256([0x2a])?_0x494256([0x2a]):'')[_0x494256([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x54f936))[_0x494256([0x73,0x6f,0x6d,0x65])](_0x4019aa=>_0x51710e[_0x494256([0x65,0x76,0x65,0x72,0x79])]((_0xd8c1f2,_0x7904a7)=>_0x4019aa[_0x7904a7]===_0xd8c1f2||_0x4019aa[_0x7904a7]===_0x494256([0x2a])));}function _0x19af18(){return _0x279e72&&_0x59ff2a?new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c28af,_0x22dbfe)=>{_0x279e72[_0x494256([0x74,0x68,0x65,0x6e])](_0x1c28af,_0x22dbfe),_0x59ff2a[_0x494256([0x74,0x68,0x65,0x6e])](_0x4b3e09=>{_0x4b3e09!=_0x494256([0x56,0x61,0x6c,0x69,0x64])&&_0x1c28af(_0x4b3e09);},_0x22dbfe);}):_0x279e72||_0x59ff2a||_0x494256([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3527e5(_0x2cef86,_0x4589d2){return new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a42cf=>{if(_0x4caf05())return _0x5a42cf(_0x494256([0x56,0x61,0x6c,0x69,0x64]));_0x3f921f(),_0x5c7166[_0x494256([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x494256([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36a1f0=!0x1;const _0x50a6c6=_0x31b8e3();function _0x977934(_0x18cf36){return!!_0x18cf36&&(typeof _0x18cf36===_0x494256([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18cf36===_0x494256([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18cf36[_0x494256([0x74,0x68,0x65,0x6e])]===_0x494256([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18cf36[_0x494256([0x63,0x61,0x74,0x63,0x68])]===_0x494256([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3447d6(_0x381fc8){_0x966d08(_0x381fc8)[_0x494256([0x74,0x68,0x65,0x6e])](_0x336b29=>{if(!_0x336b29||_0x336b29[_0x494256([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x494256([0x6f,0x6b]))return _0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fa9cb(_0x412e45(_0x50a6c6+_0x4589d2))!=_0x336b29[_0x494256([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x494256([0x56,0x61,0x6c,0x69,0x64]);})[_0x494256([0x74,0x68,0x65,0x6e])](_0x36b76a=>(_0xa7be17(),_0x36b76a),()=>{const _0x58f565=_0x3de1e4();return null==_0x58f565?(_0xa7be17(),_0x494256([0x56,0x61,0x6c,0x69,0x64])):_0x494256(_0x39f79b-_0x58f565>(0x356d33a4^_0x594690)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x494256([0x74,0x68,0x65,0x6e])](_0x5a42cf)[_0x494256([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a42cf(_0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c2a76=0x11575924^_0x594690;function _0xa7be17(){const _0x27f73e=_0x494256([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fa9cb(_0x412e45(_0x2cef86)),_0x3453fa=_0x632eb0(_0x2fa9cb(window[_0x494256([0x4d,0x61,0x74,0x68])][_0x494256([0x63,0x65,0x69,0x6c])](_0x39f79b/_0x5c2a76)));window[_0x494256([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494256([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27f73e,_0x3453fa);}function _0x3de1e4(){const _0x1aea68=_0x494256([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fa9cb(_0x412e45(_0x2cef86)),_0x47aa78=window[_0x494256([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494256([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1aea68);return _0x47aa78?window[_0x494256([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x632eb0(_0x47aa78),0x10)*_0x5c2a76:null;}function _0x966d08(_0x2f8673){return new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13be94,_0x59b354)=>{_0x2f8673[_0x494256([0x74,0x68,0x65,0x6e])](_0x13be94,_0x59b354),window[_0x494256([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59b354,0x11606364^_0x594690);});}}_0x5c7166[_0x494256([0x6f,0x6e])](_0x494256([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e7b48,_0xe3a440)=>{if(_0xe3a440[0x0]!=_0x2cef86)return _0x5a42cf(_0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe3a440[0x1]={..._0xe3a440[0x1],[_0x494256([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50a6c6};},{[_0x494256([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494256([0x68,0x69,0x67,0x68])}),_0x5c7166[_0x494256([0x6f,0x6e])](_0x494256([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c5f76=>{_0x977934(_0x5c5f76[_0x494256([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36a1f0=!0x0,_0x3447d6(_0x5c5f76[_0x494256([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x494256([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494256([0x6c,0x6f,0x77])}),_0x393933[_0x494256([0x74,0x68,0x65,0x6e])](()=>{_0x36a1f0||_0x5a42cf(_0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4caf05(){return _0x5c7166[_0x494256([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494256([0x76,0x69,0x65,0x77])][_0x494256([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x494256([0x61,0x75,0x74,0x6f]);}function _0x3f921f(){_0x5c7166[_0x494256([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494256([0x76,0x69,0x65,0x77])][_0x494256([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x494256([0x61,0x75,0x74,0x6f]);}}function _0x5cd69e(_0x36bc3b){const _0x2ef880=[new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bdbf0=>setTimeout(_0x2bdbf0,0x11688968^_0x594690)),_0x393933[_0x494256([0x74,0x68,0x65,0x6e])](()=>new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2690bb=>{let _0x26edc6=0x0;_0x5c7166[_0x494256([0x6d,0x6f,0x64,0x65,0x6c])][_0x494256([0x6f,0x6e])](_0x494256([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x380af8,_0x5d7b23)=>{_0x5d7b23[0x0][_0x494256([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26edc6++,_0x26edc6==(0x1161b65c^_0x594690)&&(_0x2690bb(),_0x380af8[_0x494256([0x6f,0x66,0x66])]());});}))];return window[_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x494256([0x72,0x61,0x63,0x65])](_0x2ef880)[_0x494256([0x74,0x68,0x65,0x6e])](()=>_0x36bc3b);}async function _0x1125cb(){await _0x393933,_0x5c7166[_0x494256([0x6d,0x6f,0x64,0x65,0x6c])][_0x494256([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ce56d,_0x5c7166[_0x494256([0x6d,0x6f,0x64,0x65,0x6c])][_0x494256([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ce56d,_0x5c7166[_0x494256([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x494256([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b8432(_0xed16a9){const _0x3cb8c8=_0x7070fd();_0x5c7166[_0x3cb8c8]=_0x494256([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])+_0xed16a9,_0xed16a9!=_0x494256([0x56,0x61,0x6c,0x69,0x64])&&_0x1125cb();}function _0x7070fd(){const _0x481654=window[_0x494256([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x494256([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x494256([0x6e,0x6f,0x77])]())[_0x494256([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x494256([0x2e]),'');let _0x531050=_0x494256([0x67]);for(let _0xb2464f=0x0;_0xb2464f<_0x481654[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb2464f+=0x2){let _0x576aec=window[_0x494256([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x481654[_0x494256([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb2464f,_0xb2464f+0x2));_0x576aec>=_0x7b6cd9[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x576aec-=_0x7b6cd9[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x531050+=_0x7b6cd9[_0x576aec];}return _0x531050;}function _0x4c0d3d(){const _0x20bd53=_0x50370e[_0x494256([0x73,0x70,0x6c,0x69,0x74])](_0x494256([0x2e]));if(0x3!=_0x20bd53[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56f01a(_0x20bd53[0x1]);function _0x56f01a(_0x40fd4a){const _0x1fc279=_0xc7625b(_0x40fd4a);return _0x1fc279&&_0x4ec0e4()?_0x1fc279:null;function _0x4ec0e4(){const _0x154490=_0x1fc279[_0x494256([0x6a,0x74,0x69])],_0x4d8ebd=window[_0x494256([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x154490[_0x494256([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x154490[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x61c378={..._0x1fc279,[_0x494256([0x6a,0x74,0x69])]:_0x154490[_0x494256([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x154490[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x61c378[_0x494256([0x76,0x63])],_0x412e45(_0x61c378)==_0x4d8ebd;}}}async function _0x5708d3(){let _0xe89c9d=!0x0;try{const _0x2dc2c3=_0x50370e[_0x494256([0x73,0x70,0x6c,0x69,0x74])](_0x494256([0x2e])),[_0x26f0cd,_0x12ede0,_0x333c5e]=_0x2dc2c3;return _0x44035b(_0x26f0cd),await _0x141dd0(_0x26f0cd,_0x12ede0,_0x333c5e),_0xe89c9d;}catch{return!0x1;}function _0x44035b(_0xc6d8c8){const _0x70fb18=_0xc7625b(_0xc6d8c8);_0x70fb18&&_0x70fb18[_0x494256([0x61,0x6c,0x67])]==_0x494256([0x45,0x53,0x32,0x35,0x36])||(_0xe89c9d=!0x1);}async function _0x141dd0(_0x1d4499,_0x5d9b41,_0x3b3b42){const _0x1fba56=window[_0x494256([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x494256([0x66,0x72,0x6f,0x6d])](_0x22b466(_0x3b3b42),_0x5650e8=>_0x5650e8[_0x494256([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40fe7a=new window[(_0x494256([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x494256([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d4499+_0x494256([0x2e])+_0x5d9b41),_0x303cff=window[_0x494256([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x494256([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x303cff)return;const _0x5b6f61=await _0x303cff[_0x494256([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x494256([0x6a,0x77,0x6b]),_0x47246c,{[_0x494256([0x6e,0x61,0x6d,0x65])]:_0x494256([0x45,0x43,0x44,0x53,0x41]),[_0x494256([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x494256([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x494256([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x303cff[_0x494256([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x494256([0x6e,0x61,0x6d,0x65])]:_0x494256([0x45,0x43,0x44,0x53,0x41]),[_0x494256([0x68,0x61,0x73,0x68])]:{[_0x494256([0x6e,0x61,0x6d,0x65])]:_0x494256([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b6f61,_0x1fba56,_0x40fe7a)||(_0xe89c9d=!0x1);}}function _0xc7625b(_0x885858){return _0x885858[_0x494256([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x494256([0x65,0x79]))?JSON[_0x494256([0x70,0x61,0x72,0x73,0x65])](_0x22b466(_0x885858)):null;}function _0x22b466(_0x15c50b){return window[_0x494256([0x61,0x74,0x6f,0x62])](_0x15c50b[_0x494256([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x494256([0x2b]))[_0x494256([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x494256([0x2f])));}function _0x412e45(_0xa60d47){let _0x153a5e=0x1505;function _0x474644(_0x72d923){for(let _0x366249=0x0;_0x366249<_0x72d923[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x366249++){const _0x2311e8=_0x72d923[_0x494256([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x366249);_0x153a5e=(_0x153a5e<<0x5)+_0x153a5e+_0x2311e8,_0x153a5e&=_0x153a5e;}}function _0x52042e(_0x3777f){Array[_0x494256([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3777f)?_0x3777f[_0x494256([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52042e):_0x3777f&&typeof _0x3777f==_0x494256([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x494256([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3777f)[_0x494256([0x73,0x6f,0x72,0x74])]()[_0x494256([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xabee28,_0x534e94])=>{_0x474644(_0xabee28),_0x52042e(_0x534e94);}):_0x474644(window[_0x494256([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3777f));}return _0x52042e(_0xa60d47),_0x153a5e>>>0x0;}function _0x2fa9cb(_0x265c0f){return _0x265c0f[_0x494256([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x494256([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x494256([0x30]));}function _0x632eb0(_0x558067){return _0x558067[_0x494256([0x73,0x70,0x6c,0x69,0x74])]('')[_0x494256([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x494256([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ce56d(){}function _0x494256(_0x4f8b3a){const _0x1a40a1=_0x3070;return _0x4f8b3a[_0x1a40a1(0x1db)](_0x5e904a=>String[_0x1a40a1(0x1cc)](_0x5e904a))[_0x1a40a1(0x1d0)]('');}_0x1b8432(await _0x3d1714());}(this);}[_0x82a3a0(0x1d2)](_0x24e9fb,_0x187787,_0x21cd1b=!0x1){const _0x1e515f=_0x82a3a0,_0x1e9d8e=new _0x24e9fb(this[_0x1e515f(0x1dc)][_0x1e515f(0x1dd)]);return _0x1e9d8e[_0x1e515f(0x1e2)]({'withText':_0x21cd1b,'isToggleable':!0x1}),_0x1e9d8e[_0x1e515f(0x1ab)](_0x1e515f(0x1e5))['to'](_0x187787,_0x1e515f(0x1e5)),this[_0x1e515f(0x1a8)](_0x1e9d8e,_0x1e515f(0x1d7),()=>_0x187787[_0x1e515f(0x1d7)]()),_0x1e9d8e;}[_0x82a3a0(0x1f0)](){const _0x3fa346=_0x82a3a0,_0x408757=this[_0x3fa346(0x1dc)][_0x3fa346(0x1dd)];this[_0x3fa346(0x1dc)][_0x3fa346(0x1ee)][_0x3fa346(0x1bd)]({'id':_0x3fa346(0x1c4),'label':_0xd9d419(_0x408757,_0x3fa346(0x1f2))});const _0x441bc1=_0x3c589c[_0x3fa346(0x1ed)]||_0x3c589c[_0x3fa346(0x1bb)];this[_0x3fa346(0x1dc)][_0x3fa346(0x1ee)][_0x3fa346(0x1cf)]({'categoryId':_0x3fa346(0x1c4),'keystrokes':[{'label':_0xd9d419(_0x408757,_0x3fa346(0x1a7)),'keystroke':_0x3fa346(0x1e7)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1b5)),'keystroke':_0x3fa346(0x1a1)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ac)),'keystroke':_0x3fa346(0x1a3)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ce)),'keystroke':_0x3fa346(0x1c6)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1e0)),'keystroke':_0x3fa346(0x1a5)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1d5)),'keystroke':_0x3fa346(0x19f)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1b8)),'keystroke':_0x441bc1?_0x3fa346(0x19e):_0x3fa346(0x1d8)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1a9)),'keystroke':_0x3fa346(0x1da)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1b0)),'keystroke':_0x3fa346(0x1a6)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1aa)),'keystroke':[[_0x3fa346(0x1ec)],[_0x3fa346(0x1c0)]]},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1a4)),'keystroke':_0x441bc1?_0x3fa346(0x1be):_0x3fa346(0x1b2)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1c8)),'keystroke':_0x441bc1?_0x3fa346(0x1e3):_0x3fa346(0x1c9)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ae)),'keystroke':_0x3fa346(0x1b3)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ea)),'keystroke':_0x3fa346(0x1a2)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ca)),'keystroke':_0x3fa346(0x1b6)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1c2)),'keystroke':_0x3fa346(0x1ad)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1c1)),'keystroke':_0x441bc1?_0x3fa346(0x1d4):_0x3fa346(0x1de)}]});}}
|
|
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)}]});}}
|