@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250619.0 → 0.0.0-nightly-20250620.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x43b6af,PendingActions as _0x45330b,Plugin as _0x5c16b2}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2bac3b,formatHtml as _0x2ef572,env as _0x3ddb56,uid as _0x2ee0ea}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x138086}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4dc13d,ButtonView as _0x1cc7ed,MenuBarMenuListItemButtonView as _0x53051f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x390d59,crosshairCursor as _0x37e78b,drawSelection as _0x29bb82,dropCursor as _0x59db7d,lineNumbers as _0x4aea5d,highlightActiveLine as _0x3ed834,highlightActiveLineGutter as _0x4c86ff,highlightSpecialChars as _0x188c74,rectangularSelection as _0x3f5d3c,keymap as _0x4aadbf}from'@codemirror/view';import{Compartment as _0xa01eff,Transaction as _0x2b7ad6}from'@codemirror/state';import{bracketMatching as _0x32540a,foldGutter as _0x1b6183,indentOnInput as _0x1102fa,syntaxHighlighting as _0x3d6a42,defaultHighlightStyle as _0x5e9f42,foldKeymap as _0x42f7c6}from'@codemirror/language';import{toggleTabFocusMode as _0x44bc28,history as _0x559fb9,defaultKeymap as _0x401cd4,historyKeymap as _0x5d4e16,indentLess as _0x5bc4f0,indentMore as _0x1268dc,redo as _0xe08840,undo as _0x57e658}from'@codemirror/commands';import{autocompletion as _0x29237b,closeBrackets as _0x324b3b,closeBracketsKeymap as _0x14e491,completionKeymap as _0x5bd9ff}from'@codemirror/autocomplete';import{html as _0x21a577}from'@codemirror/lang-html';import{markdown as _0x2df8b1}from'@codemirror/lang-markdown';import{oneDark as _0x16f13a}from'@codemirror/theme-one-dark';function w(_0x36be9e,_0xd6dbaf){const t=_0x36be9e['t'];switch(_0xd6dbaf){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 _0xd6dbaf;}}function r(_0x4852c6){const _0x23ae40=_0x4852c6['editing']['view']['document']['roots'],_0x6ff165=_0x23ae40['length'];if(0x0===_0x6ff165)throw new _0x2bac3b('source-editing-enhanced-editor-no-root',_0x4852c6);if(0x1===_0x6ff165)return _0x23ae40['first']['rootName'];return Array['from'](_0x4852c6['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x2ad518){return tr(_0x2ad518['replace'](/^[\n\s]*/g,''))?_0x2ad518['replace'](/\s+/g,''):_0x2ad518;}function tr(_0x546db6){return _0x546db6['startsWith']('<');}function p(_0x5390ef){const _0xe8fce6=[_0x390d59['lineWrapping'],_0x29237b(),_0x32540a(),_0x324b3b(),_0x37e78b(),_0x29bb82(),_0x59db7d(),_0x4aea5d(),_0x1b6183(),_0x3ed834(),_0x4c86ff(),_0x188c74(),_0x559fb9(),_0x1102fa(),_0x3f5d3c(),_0x3d6a42(_0x5e9f42,{'fallback':!0x0})],_0x454e4f=new _0xa01eff();_0xe8fce6['push'](_0x454e4f['of'](_0x390d59['editable']['of'](!0x0))),'html'===_0x5390ef['syntaxLanguage']?_0xe8fce6['push'](_0x21a577()):_0xe8fce6['push'](_0x2df8b1());const _0x2667ec=function(_0x5dc6c9){if(_0x5dc6c9&&'default'!==_0x5dc6c9)return'dark'===_0x5dc6c9?_0x16f13a:_0x5dc6c9;return null;}(_0x5390ef['theme']);_0x2667ec&&_0xe8fce6['push'](_0x2667ec),_0xe8fce6['push'](_0x4aadbf['of']([..._0x14e491,..._0x401cd4,..._0x5d4e16,..._0x42f7c6,..._0x5bd9ff,{'key':'Tab','run':_0x1268dc,'shift':_0x5bc4f0,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xe08840,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xe08840,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x57e658,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x56adea=new _0x390d59({'extensions':_0xe8fce6,'parent':_0x5390ef['parent']});return _0x44bc28(_0x56adea),{'focus':()=>{_0x56adea['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x56adea['focus']();},'getData':()=>_0x56adea['state']['doc']['toString'](),'setData':_0x393169=>{_0x56adea['dispatch']({'changes':{'from':0x0,'to':_0x56adea['state']['doc']['length'],'insert':_0x393169},'annotations':_0x2b7ad6['addToHistory']['of'](!0x1)});},'setReadOnly':_0x49b720=>{_0x56adea['dispatch']({'effects':[_0x454e4f['reconfigure'](_0x390d59['editable']['of'](!_0x49b720))]});},'destroy':()=>{_0x56adea['destroy']();},'instance':_0x56adea};}class E extends _0x4dc13d{['_codeEditorApi']=null;['_options'];constructor(_0x9b0a5c,_0x2248e7){super(_0x9b0a5c),this['_options']=_0x2248e7,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',(_0x1e126b,_0x22e4b9,_0x446f10)=>{this['setReadOnly'](_0x446f10);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x323767){this['_codeEditorApi']['setData'](_0x323767);}['setReadOnly'](_0x55b730){this['_codeEditorApi']['setReadOnly'](_0x55b730);}}const b='SourceEditingEnhancedMode';class d extends _0x43b6af{constructor(_0x3fb0e0){super(_0x3fb0e0),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x45330b)['on']('change:hasAny',(_0x691412,_0x2f4cc1,_0x1aa2e1)=>{_0x1aa2e1?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x545169=this['editor'];for(const _0x4a4fbc of _0x545169['commands']['names']())['replaceSource','editSource']['includes'](_0x4a4fbc)||_0x545169['commands']['get'](_0x4a4fbc)['forceDisabled'](b);}['_enableCommands'](){const _0x5e322d=this['editor'];for(const _0x5adc96 of _0x5e322d['commands']['commands']())_0x5adc96['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4ce592=this['editor'],_0x3c4e93=_0x4ce592['locale'],_0x25221e=_0x4ce592['plugins']['get']('Dialog'),_0x359788=r(_0x4ce592),_0x592fb7=_0x4ce592['data']['get']({'rootName':_0x359788}),_0x17bb59=tr(_0x45892c=_0x592fb7)?_0x2ef572(_0x45892c):_0x45892c;var _0x45892c;const _0x23a812=new E(_0x3c4e93,{'syntaxLanguage':_0x4ce592['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4ce592['config']['get']('sourceEditingEnhanced.theme')});let _0x51a80f=!0x0;const _0x3a42e2=_0x48560d=>{if(!_0x51a80f)return;return g(_0x23a812['getData']())!==g(_0x17bb59)?window['confirm'](w(_0x3c4e93,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x48560d['stop']():void 0x0;};_0x25221e['show']({'id':'sourceEditingEnhanced','title':w(_0x3c4e93,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x23a812,'actionButtons':[{'label':w(_0x3c4e93,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x25221e['hide']();}},{'label':w(_0x3c4e93,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x2c7aad=g(_0x23a812['getData']())!==g(_0x17bb59);(_0x2c7aad&&_0x4ce592['execute']('replaceSource',_0x23a812['getData']()),_0x51a80f=!0x1,_0x25221e['hide'](),_0x2c7aad&&'editables'in _0x4ce592['ui']['view'])&&_0x4ce592['ui']['view']['editables'][_0x359788]['element']['focus']();},'onCreate':_0x22ad9a=>{_0x22ad9a['set']('isEnabled',!_0x4ce592['isReadOnly']),_0x22ad9a['bind']('isEnabled')['to'](_0x4ce592,'isReadOnly',this,'isEnabled',(_0x28bdac,_0x28c8a1)=>!_0x28bdac&&_0x28c8a1);}}],'onHide':()=>{this['_enableCommands'](),_0x25221e['off']('hide',_0x3a42e2),_0x23a812['destroy']();},'onShow':()=>{_0x23a812['bind']('isReadOnly')['to'](_0x4ce592,'isReadOnly',this,'isEnabled',(_0x47b5ef,_0x45f5ab)=>_0x47b5ef||!_0x45f5ab),_0x23a812['setData'](_0x17bb59),_0x23a812['focus'](),_0x25221e['on']('hide',_0x3a42e2,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x5c16b2{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x45330b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x58a4a2=this['editor'],_0x53fa39=_0x58a4a2['locale'],_0x1764ae=new d(_0x58a4a2);_0x58a4a2['commands']['add']('editSource',_0x1764ae),_0x58a4a2['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x1b2752=this['_createButton'](_0x1cc7ed,_0x1764ae);return _0x1b2752['set']({'label':w(_0x53fa39,'Source'),'icon':_0x138086,'tooltip':w(_0x53fa39,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x1b2752;}),_0x58a4a2['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x15f50b=this['_createButton'](_0x53051f,_0x1764ae,!0x0);return _0x15f50b['set']({'label':w(_0x53fa39,'Edit\x20source\x20modal\x20label'),'icon':_0x138086,'role':'menuitemcheckbox'}),_0x15f50b;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x44b478){const _0x3bcd88=_0x557975([0x5a,0x64,0x44,0x78,0x65,0x72,0x73,0x4a,0x6f,0x49,0x68,0x35,0x6d,0x67,0x38,0x33,0x6c,0x52,0x53,0x51,0x71,0x42,0x48,0x4c,0x66,0x32,0x39,0x47,0x45,0x4b,0x58,0x6b,0x57,0x6e,0x4e,0x69,0x31,0x76,0x61,0x77,0x36,0x37,0x62,0x4f,0x79,0x54,0x30,0x46,0x75,0x63,0x59,0x55,0x74,0x43,0x6a,0x70,0x34,0x7a,0x56,0x50,0x4d,0x41]),_0x2fa2df=0x9f9a990,_0x50ffad=0x9fec2a0^_0x2fa2df,_0x1e882a=window[_0x557975([0x44,0x61,0x74,0x65])][_0x557975([0x6e,0x6f,0x77])](),_0x49f071=_0x44b478[_0x557975([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x595515=new window[(_0x557975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35171d=>{_0x49f071[_0x557975([0x6f,0x6e,0x63,0x65])](_0x557975([0x72,0x65,0x61,0x64,0x79]),_0x35171d);}),_0x6cd792={[_0x557975([0x6b,0x74,0x79])]:_0x557975([0x45,0x43]),[_0x557975([0x75,0x73,0x65])]:_0x557975([0x73,0x69,0x67]),[_0x557975([0x63,0x72,0x76])]:_0x557975([0x50,0x2d,0x32,0x35,0x36]),[_0x557975([0x78])]:_0x557975([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]),[_0x557975([0x79])]:_0x557975([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]),[_0x557975([0x61,0x6c,0x67])]:_0x557975([0x45,0x53,0x32,0x35,0x36])},_0x5a7062=_0x49f071[_0x557975([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x557975([0x67,0x65,0x74])](_0x557975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x37b9aa(){let _0x23a0a4,_0x17f4ba=null,_0x1fcc71=null;try{if(_0x5a7062==_0x557975([0x47,0x50,0x4c]))return _0x557975([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23a0a4=_0x2abf0e(),!_0x23a0a4)return _0x557975([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23a0a4[_0x557975([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1fcc71=_0x15ad79(_0x23a0a4[_0x557975([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23a0a4[_0x557975([0x6a,0x74,0x69])])),await _0x49181e()?_0x3f51eb()?_0x7d8ea0()?_0x557975([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x439119()?(_0x23a0a4[_0x557975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x557975([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17f4ba=_0x25145d(_0x557975([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23a0a4[_0x557975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x557975([0x74,0x72,0x69,0x61,0x6c])&&(_0x17f4ba=_0x25145d(_0x557975([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e99a9()):_0x557975([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x557975([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x557975([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x557975([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7d8ea0(){const _0x36fc5d=[_0x557975([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x557975([0x74,0x72,0x69,0x61,0x6c])][_0x557975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23a0a4[_0x557975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e882a/0x3e8:0xe10*_0x50ffad;return _0x23a0a4[_0x557975([0x65,0x78,0x70])]<_0x36fc5d;}function _0x3f51eb(){const _0x59013d=_0x23a0a4[_0x557975([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59013d&&(!!_0x59013d[_0x557975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557975([0x2a]))||!!_0x59013d[_0x557975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557975([0x53,0x45,0x45])));}function _0x439119(){const _0x48e08a=_0x23a0a4[_0x557975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48e08a||0x0==_0x48e08a[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb3b13b}=new URL(window[_0x557975([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48e08a[_0x557975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb3b13b))return!0x0;const _0x3aad0d=_0xb3b13b[_0x557975([0x73,0x70,0x6c,0x69,0x74])](_0x557975([0x2e]));return _0x48e08a[_0x557975([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x262cf8=>_0x262cf8[_0x557975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557975([0x2a])))[_0x557975([0x6d,0x61,0x70])](_0x5ccf99=>_0x5ccf99[_0x557975([0x73,0x70,0x6c,0x69,0x74])](_0x557975([0x2e])))[_0x557975([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44a00c=>_0x44a00c[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3aad0d[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x557975([0x6d,0x61,0x70])](_0x5def6e=>Array(_0x3aad0d[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5def6e[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x557975([0x66,0x69,0x6c,0x6c])](_0x5def6e[0x0]===_0x557975([0x2a])?_0x557975([0x2a]):'')[_0x557975([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5def6e))[_0x557975([0x73,0x6f,0x6d,0x65])](_0x3925ec=>_0x3aad0d[_0x557975([0x65,0x76,0x65,0x72,0x79])]((_0x49f4c0,_0x57c8af)=>_0x3925ec[_0x57c8af]===_0x49f4c0||_0x3925ec[_0x57c8af]===_0x557975([0x2a])));}function _0x5e99a9(){return _0x17f4ba&&_0x1fcc71?new window[(_0x557975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46ba26,_0x5037fd)=>{_0x17f4ba[_0x557975([0x74,0x68,0x65,0x6e])](_0x46ba26,_0x5037fd),_0x1fcc71[_0x557975([0x74,0x68,0x65,0x6e])](_0x98a9f3=>{_0x98a9f3!=_0x557975([0x56,0x61,0x6c,0x69,0x64])&&_0x46ba26(_0x98a9f3);},_0x5037fd);}):_0x17f4ba||_0x1fcc71||_0x557975([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15ad79(_0x4e6df6,_0x4a7eb7){return new window[(_0x557975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x361793=>{if(_0x147ac7())return _0x361793(_0x557975([0x56,0x61,0x6c,0x69,0x64]));_0x3190ed(),_0x49f071[_0x557975([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x557975([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x128db9=!0x1;const _0x3e837c=_0x2ee0ea();function _0x69ea65(_0x1b7ca1){return!!_0x1b7ca1&&(typeof _0x1b7ca1===_0x557975([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b7ca1===_0x557975([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b7ca1[_0x557975([0x74,0x68,0x65,0x6e])]===_0x557975([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b7ca1[_0x557975([0x63,0x61,0x74,0x63,0x68])]===_0x557975([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5105a6(_0x20cee4){_0x2e0922(_0x20cee4)[_0x557975([0x74,0x68,0x65,0x6e])](_0x551b31=>{if(!_0x551b31||_0x551b31[_0x557975([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x557975([0x6f,0x6b]))return _0x557975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34688c(_0x3f2472(_0x3e837c+_0x4a7eb7))!=_0x551b31[_0x557975([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x557975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x557975([0x56,0x61,0x6c,0x69,0x64]);})[_0x557975([0x74,0x68,0x65,0x6e])](_0x2fcef1=>(_0x267e4f(),_0x2fcef1),()=>{const _0x2fb099=_0xfabfaa();return null==_0x2fb099?(_0x267e4f(),_0x557975([0x56,0x61,0x6c,0x69,0x64])):_0x557975(_0x1e882a-_0x2fb099>(0x2df52d90^_0x2fa2df)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x557975([0x74,0x68,0x65,0x6e])](_0x361793)[_0x557975([0x63,0x61,0x74,0x63,0x68])](()=>{_0x361793(_0x557975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38b3fa=0x9cf4710^_0x2fa2df;function _0x267e4f(){const _0x29d535=_0x557975([0x6c,0x6c,0x63,0x74,0x2d])+_0x34688c(_0x3f2472(_0x4e6df6)),_0x35f54f=_0x1e4a28(_0x34688c(window[_0x557975([0x4d,0x61,0x74,0x68])][_0x557975([0x63,0x65,0x69,0x6c])](_0x1e882a/_0x38b3fa)));window[_0x557975([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x557975([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29d535,_0x35f54f);}function _0xfabfaa(){const _0x17827b=_0x557975([0x6c,0x6c,0x63,0x74,0x2d])+_0x34688c(_0x3f2472(_0x4e6df6)),_0x5a53c6=window[_0x557975([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x557975([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17827b);return _0x5a53c6?window[_0x557975([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e4a28(_0x5a53c6),0x10)*_0x38b3fa:null;}function _0x2e0922(_0x1c6260){return new window[(_0x557975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3708d9,_0x2dc96e)=>{_0x1c6260[_0x557975([0x74,0x68,0x65,0x6e])](_0x3708d9,_0x2dc96e),window[_0x557975([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2dc96e,0x9f87d50^_0x2fa2df);});}}_0x49f071[_0x557975([0x6f,0x6e])](_0x557975([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23f3fb,_0xfc5c19)=>{if(_0xfc5c19[0x0]!=_0x4e6df6)return _0x361793(_0x557975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xfc5c19[0x1]={..._0xfc5c19[0x1],[_0x557975([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e837c};},{[_0x557975([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x557975([0x68,0x69,0x67,0x68])}),_0x49f071[_0x557975([0x6f,0x6e])](_0x557975([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ef81b=>{_0x69ea65(_0x4ef81b[_0x557975([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x128db9=!0x0,_0x5105a6(_0x4ef81b[_0x557975([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x557975([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x557975([0x6c,0x6f,0x77])}),_0x595515[_0x557975([0x74,0x68,0x65,0x6e])](()=>{_0x128db9||_0x361793(_0x557975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x147ac7(){return _0x49f071[_0x557975([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x557975([0x76,0x69,0x65,0x77])][_0x557975([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x557975([0x61,0x75,0x74,0x6f]);}function _0x3190ed(){_0x49f071[_0x557975([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x557975([0x76,0x69,0x65,0x77])][_0x557975([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x557975([0x61,0x75,0x74,0x6f]);}}function _0x25145d(_0x2b57e3){const _0x52de29=[new window[(_0x557975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a8504=>setTimeout(_0x2a8504,0x9f0975c^_0x2fa2df)),_0x595515[_0x557975([0x74,0x68,0x65,0x6e])](()=>new window[(_0x557975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a2c86=>{let _0x3ea572=0x0;_0x49f071[_0x557975([0x6d,0x6f,0x64,0x65,0x6c])][_0x557975([0x6f,0x6e])](_0x557975([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b4694,_0x58f066)=>{_0x58f066[0x0][_0x557975([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ea572++,_0x3ea572==(0x9f9a868^_0x2fa2df)&&(_0x3a2c86(),_0x1b4694[_0x557975([0x6f,0x66,0x66])]());});}))];return window[_0x557975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x557975([0x72,0x61,0x63,0x65])](_0x52de29)[_0x557975([0x74,0x68,0x65,0x6e])](()=>_0x2b57e3);}async function _0xd51a86(){await _0x595515,_0x49f071[_0x557975([0x6d,0x6f,0x64,0x65,0x6c])][_0x557975([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e39cd,_0x49f071[_0x557975([0x6d,0x6f,0x64,0x65,0x6c])][_0x557975([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e39cd,_0x49f071[_0x557975([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x557975([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5cfd53(_0x3591f7){const _0x2ab335=_0x1c86a9();_0x49f071[_0x2ab335]=_0x557975([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])+_0x3591f7,_0x3591f7!=_0x557975([0x56,0x61,0x6c,0x69,0x64])&&_0xd51a86();}function _0x1c86a9(){const _0x3bb6df=window[_0x557975([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x557975([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x557975([0x6e,0x6f,0x77])]())[_0x557975([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x557975([0x2e]),'');let _0x3c1663=_0x557975([0x5a]);for(let _0x248494=0x0;_0x248494<_0x3bb6df[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x248494+=0x2){let _0x11dc24=window[_0x557975([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bb6df[_0x557975([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x248494,_0x248494+0x2));_0x11dc24>=_0x3bcd88[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11dc24-=_0x3bcd88[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c1663+=_0x3bcd88[_0x11dc24];}return _0x3c1663;}function _0x2abf0e(){const _0x51a3ef=_0x5a7062[_0x557975([0x73,0x70,0x6c,0x69,0x74])](_0x557975([0x2e]));if(0x3!=_0x51a3ef[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a852b(_0x51a3ef[0x1]);function _0x4a852b(_0x219381){const _0xe239be=_0x1cc6c3(_0x219381);return _0xe239be&&_0x543b3d()?_0xe239be:null;function _0x543b3d(){const _0x1e8b1c=_0xe239be[_0x557975([0x6a,0x74,0x69])],_0x5ceb1b=window[_0x557975([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e8b1c[_0x557975([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e8b1c[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cab59={..._0xe239be,[_0x557975([0x6a,0x74,0x69])]:_0x1e8b1c[_0x557975([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e8b1c[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cab59[_0x557975([0x76,0x63])],_0x3f2472(_0x1cab59)==_0x5ceb1b;}}}async function _0x49181e(){let _0x576f83=!0x0;try{const _0x30bc38=_0x5a7062[_0x557975([0x73,0x70,0x6c,0x69,0x74])](_0x557975([0x2e])),[_0x52e359,_0x558826,_0x184576]=_0x30bc38;return _0xac4108(_0x52e359),await _0x22fe96(_0x52e359,_0x558826,_0x184576),_0x576f83;}catch{return!0x1;}function _0xac4108(_0x34995f){const _0x545aa6=_0x1cc6c3(_0x34995f);_0x545aa6&&_0x545aa6[_0x557975([0x61,0x6c,0x67])]==_0x557975([0x45,0x53,0x32,0x35,0x36])||(_0x576f83=!0x1);}async function _0x22fe96(_0x13c223,_0xe5a91b,_0x3fa6c9){const _0x320300=window[_0x557975([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x557975([0x66,0x72,0x6f,0x6d])](_0x26c665(_0x3fa6c9),_0x33c905=>_0x33c905[_0x557975([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27d5b4=new window[(_0x557975([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x557975([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13c223+_0x557975([0x2e])+_0xe5a91b),_0x5c5351=window[_0x557975([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x557975([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c5351)return;const _0x2caaae=await _0x5c5351[_0x557975([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x557975([0x6a,0x77,0x6b]),_0x6cd792,{[_0x557975([0x6e,0x61,0x6d,0x65])]:_0x557975([0x45,0x43,0x44,0x53,0x41]),[_0x557975([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x557975([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x557975([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c5351[_0x557975([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x557975([0x6e,0x61,0x6d,0x65])]:_0x557975([0x45,0x43,0x44,0x53,0x41]),[_0x557975([0x68,0x61,0x73,0x68])]:{[_0x557975([0x6e,0x61,0x6d,0x65])]:_0x557975([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2caaae,_0x320300,_0x27d5b4)||(_0x576f83=!0x1);}}function _0x1cc6c3(_0x142943){return _0x142943[_0x557975([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x557975([0x65,0x79]))?JSON[_0x557975([0x70,0x61,0x72,0x73,0x65])](_0x26c665(_0x142943)):null;}function _0x26c665(_0x59975a){return window[_0x557975([0x61,0x74,0x6f,0x62])](_0x59975a[_0x557975([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x557975([0x2b]))[_0x557975([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x557975([0x2f])));}function _0x3f2472(_0x4e79d6){let _0xcb4e14=0x1505;function _0x584a0b(_0x479b7b){for(let _0x439d74=0x0;_0x439d74<_0x479b7b[_0x557975([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x439d74++){const _0x5649d5=_0x479b7b[_0x557975([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x439d74);_0xcb4e14=(_0xcb4e14<<0x5)+_0xcb4e14+_0x5649d5,_0xcb4e14&=_0xcb4e14;}}function _0x19097c(_0x800bd3){Array[_0x557975([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x800bd3)?_0x800bd3[_0x557975([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19097c):_0x800bd3&&typeof _0x800bd3==_0x557975([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x557975([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x800bd3)[_0x557975([0x73,0x6f,0x72,0x74])]()[_0x557975([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41f274,_0x26eb7b])=>{_0x584a0b(_0x41f274),_0x19097c(_0x26eb7b);}):_0x584a0b(window[_0x557975([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x800bd3));}return _0x19097c(_0x4e79d6),_0xcb4e14>>>0x0;}function _0x34688c(_0x469af9){return _0x469af9[_0x557975([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x557975([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x557975([0x30]));}function _0x1e4a28(_0x9b5615){return _0x9b5615[_0x557975([0x73,0x70,0x6c,0x69,0x74])]('')[_0x557975([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x557975([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e39cd(){}function _0x557975(_0x2dc9fc){return _0x2dc9fc['map'](_0x19ad03=>String['fromCharCode'](_0x19ad03))['join']('');}_0x5cfd53(await _0x37b9aa());}(this);}['_createButton'](_0x482f51,_0x3b715c,_0x5ea08f=!0x1){const _0x83828=new _0x482f51(this['editor']['locale']);return _0x83828['set']({'withText':_0x5ea08f,'isToggleable':!0x1}),_0x83828['bind']('isEnabled')['to'](_0x3b715c,'isEnabled'),this['listenTo'](_0x83828,'execute',()=>_0x3b715c['execute']()),_0x83828;}['_registerKeybindings'](){const _0x390d41=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x390d41,'Source\x20Editing\x20Enhanced')});const _0x36244c=_0x3ddb56['isMac']||_0x3ddb56['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x390d41,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x390d41,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x390d41,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x390d41,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x390d41,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x390d41,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x390d41,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x36244c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x390d41,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x390d41,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x390d41,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x390d41,'Select\x20line'),'keystroke':_0x36244c?'Ctrl!+L':'Alt+L'},{'label':w(_0x390d41,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x36244c?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x390d41,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x390d41,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x390d41,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x390d41,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x390d41,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x36244c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x43b6af{constructor(_0x25316d){super(_0x25316d),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x9c2a6d,_0x42617a){const _0x51db84=this['editor'],_0x1d0ae1=_0x42617a?.['rootName']??r(_0x51db84);_0x51db84['data']['set']({[_0x1d0ae1]:_0x9c2a6d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x5c16b2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x100c4f){super(_0x100c4f),_0x100c4f['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 _0x481115=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbb10b0;for(const _0x46811f in _0x481115){const _0x1f099a=_0x46811f,_0x123033=_0x481115[_0x1f099a];if('sourceEditingEnhancedLicenseKeyValid'==_0x123033||'sourceEditingEnhancedLicenseKeyInvalid'==_0x123033||'sourceEditingEnhancedLicenseKeyExpired'==_0x123033||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x123033||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x123033||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x123033||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x123033||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x123033){delete _0x481115[_0x1f099a],_0xbb10b0=_0x123033,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0xbb10b0&&_0x481115['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0xbb10b0&&_0x481115['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xbb10b0&&_0x481115['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xbb10b0&&_0x481115['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xbb10b0&&_0x481115['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0xbb10b0&&_0x481115['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xbb10b0&&_0x481115['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x26f831=this['editor'],_0x460dc7=_0x26f831['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x460dc7&&_0x26f831['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x2bac3b('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x460dc7&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x181b2e=>_0x26f831['plugins']['has'](_0x181b2e))&&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.'),_0x26f831['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 _0x45d4df,PendingActions as _0x36276b,Plugin as _0x2dfe0c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x28ae92,formatHtml as _0x21154e,env as _0x24b760,uid as _0x164640}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x23947f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x3636bb,ButtonView as _0x512ef6,MenuBarMenuListItemButtonView as _0x29a987}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x385234,crosshairCursor as _0x17d24f,drawSelection as _0x275ed9,dropCursor as _0x4a6e29,lineNumbers as _0x23bf59,highlightActiveLine as _0x4c60be,highlightActiveLineGutter as _0xa0f4ca,highlightSpecialChars as _0x54167f,rectangularSelection as _0x4c0f94,keymap as _0x4fa2a1}from'@codemirror/view';import{Compartment as _0x2733f7,Transaction as _0x6eca2}from'@codemirror/state';import{bracketMatching as _0x26937f,foldGutter as _0xfe9cb4,indentOnInput as _0x380d18,syntaxHighlighting as _0x124cbc,defaultHighlightStyle as _0x4b98fc,foldKeymap as _0x3b499a}from'@codemirror/language';import{toggleTabFocusMode as _0x2c23e0,history as _0xdbab9,defaultKeymap as _0x3c1fc0,historyKeymap as _0xca12ce,indentLess as _0x18f84b,indentMore as _0x3d088b,redo as _0x2ed5e9,undo as _0x4a72e4}from'@codemirror/commands';import{autocompletion as _0x3c7ca1,closeBrackets as _0x11316d,closeBracketsKeymap as _0x26523f,completionKeymap as _0x30c920}from'@codemirror/autocomplete';import{html as _0x1aec3f}from'@codemirror/lang-html';import{markdown as _0x5b08ea}from'@codemirror/lang-markdown';import{oneDark as _0x26b755}from'@codemirror/theme-one-dark';function w(_0xe279e1,_0x2cce0b){const t=_0xe279e1['t'];switch(_0x2cce0b){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 _0x2cce0b;}}function r(_0x13cbe8){const _0x127717=_0x13cbe8['editing']['view']['document']['roots'],_0x5234db=_0x127717['length'];if(0x0===_0x5234db)throw new _0x28ae92('source-editing-enhanced-editor-no-root',_0x13cbe8);if(0x1===_0x5234db)return _0x127717['first']['rootName'];return Array['from'](_0x13cbe8['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x5aac11){return tr(_0x5aac11['replace'](/^[\n\s]*/g,''))?_0x5aac11['replace'](/\s+/g,''):_0x5aac11;}function tr(_0xdd283c){return _0xdd283c['startsWith']('<');}function p(_0x11ce14){const _0x31578e=[_0x385234['lineWrapping'],_0x3c7ca1(),_0x26937f(),_0x11316d(),_0x17d24f(),_0x275ed9(),_0x4a6e29(),_0x23bf59(),_0xfe9cb4(),_0x4c60be(),_0xa0f4ca(),_0x54167f(),_0xdbab9(),_0x380d18(),_0x4c0f94(),_0x124cbc(_0x4b98fc,{'fallback':!0x0})],_0x6d319=new _0x2733f7();_0x31578e['push'](_0x6d319['of'](_0x385234['editable']['of'](!0x0))),'html'===_0x11ce14['syntaxLanguage']?_0x31578e['push'](_0x1aec3f()):_0x31578e['push'](_0x5b08ea());const _0x1e1f05=function(_0x1a78b9){if(_0x1a78b9&&'default'!==_0x1a78b9)return'dark'===_0x1a78b9?_0x26b755:_0x1a78b9;return null;}(_0x11ce14['theme']);_0x1e1f05&&_0x31578e['push'](_0x1e1f05),_0x31578e['push'](_0x4fa2a1['of']([..._0x26523f,..._0x3c1fc0,..._0xca12ce,..._0x3b499a,..._0x30c920,{'key':'Tab','run':_0x3d088b,'shift':_0x18f84b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2ed5e9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2ed5e9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4a72e4,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x1b4f2c=new _0x385234({'extensions':_0x31578e,'parent':_0x11ce14['parent']});return _0x2c23e0(_0x1b4f2c),{'focus':()=>{_0x1b4f2c['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x1b4f2c['focus']();},'getData':()=>_0x1b4f2c['state']['doc']['toString'](),'setData':_0x1876d1=>{_0x1b4f2c['dispatch']({'changes':{'from':0x0,'to':_0x1b4f2c['state']['doc']['length'],'insert':_0x1876d1},'annotations':_0x6eca2['addToHistory']['of'](!0x1)});},'setReadOnly':_0x592eae=>{_0x1b4f2c['dispatch']({'effects':[_0x6d319['reconfigure'](_0x385234['editable']['of'](!_0x592eae))]});},'destroy':()=>{_0x1b4f2c['destroy']();},'instance':_0x1b4f2c};}class E extends _0x3636bb{['_codeEditorApi']=null;['_options'];constructor(_0x54a7f2,_0x22b3c8){super(_0x54a7f2),this['_options']=_0x22b3c8,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',(_0x1213c7,_0x12428b,_0x10b07f)=>{this['setReadOnly'](_0x10b07f);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5cb0d3){this['_codeEditorApi']['setData'](_0x5cb0d3);}['setReadOnly'](_0x2910d1){this['_codeEditorApi']['setReadOnly'](_0x2910d1);}}const b='SourceEditingEnhancedMode';class d extends _0x45d4df{constructor(_0x490a1d){super(_0x490a1d),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x36276b)['on']('change:hasAny',(_0x2f6e13,_0xcf747d,_0x332dde)=>{_0x332dde?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x15f36d=this['editor'];for(const _0x56825d of _0x15f36d['commands']['names']())['replaceSource','editSource']['includes'](_0x56825d)||_0x15f36d['commands']['get'](_0x56825d)['forceDisabled'](b);}['_enableCommands'](){const _0x3ce02a=this['editor'];for(const _0x176202 of _0x3ce02a['commands']['commands']())_0x176202['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x5fecd8=this['editor'],_0x328bd8=_0x5fecd8['locale'],_0x48f274=_0x5fecd8['plugins']['get']('Dialog'),_0x43e265=r(_0x5fecd8),_0x36af64=_0x5fecd8['data']['get']({'rootName':_0x43e265}),_0x5c7bb6=tr(_0x4aa401=_0x36af64)?_0x21154e(_0x4aa401):_0x4aa401;var _0x4aa401;const _0xfcfbf2=new E(_0x328bd8,{'syntaxLanguage':_0x5fecd8['plugins']['has']('Markdown')?'markdown':'html','theme':_0x5fecd8['config']['get']('sourceEditingEnhanced.theme')});let _0x390394=!0x0;const _0xd149f0=_0x4bd540=>{if(!_0x390394)return;return g(_0xfcfbf2['getData']())!==g(_0x5c7bb6)?window['confirm'](w(_0x328bd8,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x4bd540['stop']():void 0x0;};_0x48f274['show']({'id':'sourceEditingEnhanced','title':w(_0x328bd8,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xfcfbf2,'actionButtons':[{'label':w(_0x328bd8,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x48f274['hide']();}},{'label':w(_0x328bd8,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4aa16a=g(_0xfcfbf2['getData']())!==g(_0x5c7bb6);(_0x4aa16a&&_0x5fecd8['execute']('replaceSource',_0xfcfbf2['getData']()),_0x390394=!0x1,_0x48f274['hide'](),_0x4aa16a&&'editables'in _0x5fecd8['ui']['view'])&&_0x5fecd8['ui']['view']['editables'][_0x43e265]['element']['focus']();},'onCreate':_0x3a9a9b=>{_0x3a9a9b['set']('isEnabled',!_0x5fecd8['isReadOnly']),_0x3a9a9b['bind']('isEnabled')['to'](_0x5fecd8,'isReadOnly',this,'isEnabled',(_0x424824,_0x4f377b)=>!_0x424824&&_0x4f377b);}}],'onHide':()=>{this['_enableCommands'](),_0x48f274['off']('hide',_0xd149f0),_0xfcfbf2['destroy']();},'onShow':()=>{_0xfcfbf2['bind']('isReadOnly')['to'](_0x5fecd8,'isReadOnly',this,'isEnabled',(_0x5f295f,_0xc32ea0)=>_0x5f295f||!_0xc32ea0),_0xfcfbf2['setData'](_0x5c7bb6),_0xfcfbf2['focus'](),_0x48f274['on']('hide',_0xd149f0,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2dfe0c{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x36276b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xf48392=this['editor'],_0x16ad5c=_0xf48392['locale'],_0x17af0d=new d(_0xf48392);_0xf48392['commands']['add']('editSource',_0x17af0d),_0xf48392['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x52b98c=this['_createButton'](_0x512ef6,_0x17af0d);return _0x52b98c['set']({'label':w(_0x16ad5c,'Source'),'icon':_0x23947f,'tooltip':w(_0x16ad5c,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x52b98c;}),_0xf48392['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3560a7=this['_createButton'](_0x29a987,_0x17af0d,!0x0);return _0x3560a7['set']({'label':w(_0x16ad5c,'Edit\x20source\x20modal\x20label'),'icon':_0x23947f,'role':'menuitemcheckbox'}),_0x3560a7;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x43a931){const _0xffc10c=_0x3f511c([0x4c,0x53,0x4e,0x77,0x43,0x35,0x48,0x32,0x6b,0x50,0x5a,0x72,0x73,0x4b,0x74,0x4f,0x6f,0x68,0x67,0x47,0x33,0x30,0x70,0x31,0x56,0x58,0x49,0x54,0x78,0x65,0x61,0x55,0x45,0x6c,0x4d,0x59,0x4a,0x71,0x75,0x63,0x6d,0x42,0x46,0x66,0x38,0x64,0x62,0x6a,0x57,0x7a,0x44,0x41,0x69,0x76,0x79,0x51,0x52,0x36,0x34,0x37,0x39,0x6e]),_0x3fa4d5=0x4dfb50ef,_0xfddfa5=0x4dfc3ba7^_0x3fa4d5,_0x2436bd=window[_0x3f511c([0x44,0x61,0x74,0x65])][_0x3f511c([0x6e,0x6f,0x77])](),_0x4267b6=_0x43a931[_0x3f511c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32968d=new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa90d0f=>{_0x4267b6[_0x3f511c([0x6f,0x6e,0x63,0x65])](_0x3f511c([0x72,0x65,0x61,0x64,0x79]),_0xa90d0f);}),_0x950aab={[_0x3f511c([0x6b,0x74,0x79])]:_0x3f511c([0x45,0x43]),[_0x3f511c([0x75,0x73,0x65])]:_0x3f511c([0x73,0x69,0x67]),[_0x3f511c([0x63,0x72,0x76])]:_0x3f511c([0x50,0x2d,0x32,0x35,0x36]),[_0x3f511c([0x78])]:_0x3f511c([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]),[_0x3f511c([0x79])]:_0x3f511c([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]),[_0x3f511c([0x61,0x6c,0x67])]:_0x3f511c([0x45,0x53,0x32,0x35,0x36])},_0x58ed7c=_0x4267b6[_0x3f511c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f511c([0x67,0x65,0x74])](_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1cca06(){let _0x4e56b6,_0x25a446=null,_0x39609b=null;try{if(_0x58ed7c==_0x3f511c([0x47,0x50,0x4c]))return _0x3f511c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e56b6=_0x2d5acd(),!_0x4e56b6)return _0x3f511c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e56b6[_0x3f511c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39609b=_0x33345d(_0x4e56b6[_0x3f511c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e56b6[_0x3f511c([0x6a,0x74,0x69])])),await _0x550579()?_0x3adce9()?_0x2dbf6f()?_0x3f511c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b0e90()?(_0x4e56b6[_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f511c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x25a446=_0x2f2960(_0x3f511c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4e56b6[_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f511c([0x74,0x72,0x69,0x61,0x6c])&&(_0x25a446=_0x2f2960(_0x3f511c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fc8cd()):_0x3f511c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f511c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f511c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3f511c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2dbf6f(){const _0x4c05c5=[_0x3f511c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f511c([0x74,0x72,0x69,0x61,0x6c])][_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e56b6[_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2436bd/0x3e8:0xe10*_0xfddfa5;return _0x4e56b6[_0x3f511c([0x65,0x78,0x70])]<_0x4c05c5;}function _0x3adce9(){const _0xee9982=_0x4e56b6[_0x3f511c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xee9982&&(!!_0xee9982[_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f511c([0x2a]))||!!_0xee9982[_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f511c([0x53,0x45,0x45])));}function _0x5b0e90(){const _0x21c4a7=_0x4e56b6[_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21c4a7||0x0==_0x21c4a7[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e85a8}=new URL(window[_0x3f511c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x21c4a7[_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e85a8))return!0x0;const _0x5723da=_0x3e85a8[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])](_0x3f511c([0x2e]));return _0x21c4a7[_0x3f511c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b161d=>_0x3b161d[_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f511c([0x2a])))[_0x3f511c([0x6d,0x61,0x70])](_0x563eee=>_0x563eee[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])](_0x3f511c([0x2e])))[_0x3f511c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc743a7=>_0xc743a7[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5723da[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f511c([0x6d,0x61,0x70])](_0x2bd49f=>Array(_0x5723da[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2bd49f[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f511c([0x66,0x69,0x6c,0x6c])](_0x2bd49f[0x0]===_0x3f511c([0x2a])?_0x3f511c([0x2a]):'')[_0x3f511c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2bd49f))[_0x3f511c([0x73,0x6f,0x6d,0x65])](_0x4b693e=>_0x5723da[_0x3f511c([0x65,0x76,0x65,0x72,0x79])]((_0x218890,_0x4370d1)=>_0x4b693e[_0x4370d1]===_0x218890||_0x4b693e[_0x4370d1]===_0x3f511c([0x2a])));}function _0x3fc8cd(){return _0x25a446&&_0x39609b?new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x573bc1,_0x51a4ca)=>{_0x25a446[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x573bc1,_0x51a4ca),_0x39609b[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x445cc6=>{_0x445cc6!=_0x3f511c([0x56,0x61,0x6c,0x69,0x64])&&_0x573bc1(_0x445cc6);},_0x51a4ca);}):_0x25a446||_0x39609b||_0x3f511c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33345d(_0x19e2b1,_0x5bf3c6){return new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x148dfe=>{if(_0x435226())return _0x148dfe(_0x3f511c([0x56,0x61,0x6c,0x69,0x64]));_0x3ffb99(),_0x4267b6[_0x3f511c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f511c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe2c4c3=!0x1;const _0x37350a=_0x164640();function _0x191a11(_0x570ca9){return!!_0x570ca9&&(typeof _0x570ca9===_0x3f511c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x570ca9===_0x3f511c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x570ca9[_0x3f511c([0x74,0x68,0x65,0x6e])]===_0x3f511c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x570ca9[_0x3f511c([0x63,0x61,0x74,0x63,0x68])]===_0x3f511c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xd2f897(_0x186a00){_0x5c7f8f(_0x186a00)[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x937ab1=>{if(!_0x937ab1||_0x937ab1[_0x3f511c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f511c([0x6f,0x6b]))return _0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4aeca0(_0x45f0c4(_0x37350a+_0x5bf3c6))!=_0x937ab1[_0x3f511c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f511c([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x59a742=>(_0x3349b1(),_0x59a742),()=>{const _0x5a8cf0=_0x3b0a1b();return null==_0x5a8cf0?(_0x3349b1(),_0x3f511c([0x56,0x61,0x6c,0x69,0x64])):_0x3f511c(_0x2436bd-_0x5a8cf0>(0x69f7d4ef^_0x3fa4d5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x148dfe)[_0x3f511c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x148dfe(_0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18c257=0x4dcdbe6f^_0x3fa4d5;function _0x3349b1(){const _0x1ab953=_0x3f511c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4aeca0(_0x45f0c4(_0x19e2b1)),_0x2ebf3d=_0xacdb91(_0x4aeca0(window[_0x3f511c([0x4d,0x61,0x74,0x68])][_0x3f511c([0x63,0x65,0x69,0x6c])](_0x2436bd/_0x18c257)));window[_0x3f511c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f511c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ab953,_0x2ebf3d);}function _0x3b0a1b(){const _0x4784c5=_0x3f511c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4aeca0(_0x45f0c4(_0x19e2b1)),_0x263773=window[_0x3f511c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f511c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4784c5);return _0x263773?window[_0x3f511c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xacdb91(_0x263773),0x10)*_0x18c257:null;}function _0x5c7f8f(_0x5a6538){return new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d8675,_0x3892e2)=>{_0x5a6538[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x5d8675,_0x3892e2),window[_0x3f511c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3892e2,0x4dfa842f^_0x3fa4d5);});}}_0x4267b6[_0x3f511c([0x6f,0x6e])](_0x3f511c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b3a9c,_0x340d46)=>{if(_0x340d46[0x0]!=_0x19e2b1)return _0x148dfe(_0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x340d46[0x1]={..._0x340d46[0x1],[_0x3f511c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37350a};},{[_0x3f511c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f511c([0x68,0x69,0x67,0x68])}),_0x4267b6[_0x3f511c([0x6f,0x6e])](_0x3f511c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3790b8=>{_0x191a11(_0x3790b8[_0x3f511c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe2c4c3=!0x0,_0xd2f897(_0x3790b8[_0x3f511c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f511c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f511c([0x6c,0x6f,0x77])}),_0x32968d[_0x3f511c([0x74,0x68,0x65,0x6e])](()=>{_0xe2c4c3||_0x148dfe(_0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x435226(){return _0x4267b6[_0x3f511c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f511c([0x76,0x69,0x65,0x77])][_0x3f511c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f511c([0x61,0x75,0x74,0x6f]);}function _0x3ffb99(){_0x4267b6[_0x3f511c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f511c([0x76,0x69,0x65,0x77])][_0x3f511c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f511c([0x61,0x75,0x74,0x6f]);}}function _0x2f2960(_0x547f3b){const _0x2d51ab=[new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x257342=>setTimeout(_0x257342,0x4df26e23^_0x3fa4d5)),_0x32968d[_0x3f511c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eaf5a=>{let _0x4b8166=0x0;_0x4267b6[_0x3f511c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f511c([0x6f,0x6e])](_0x3f511c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ee4b6,_0x2a7c21)=>{_0x2a7c21[0x0][_0x3f511c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8166++,_0x4b8166==(0x4dfb5117^_0x3fa4d5)&&(_0x1eaf5a(),_0x4ee4b6[_0x3f511c([0x6f,0x66,0x66])]());});}))];return window[_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f511c([0x72,0x61,0x63,0x65])](_0x2d51ab)[_0x3f511c([0x74,0x68,0x65,0x6e])](()=>_0x547f3b);}async function _0x4621b6(){await _0x32968d,_0x4267b6[_0x3f511c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f511c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34066a,_0x4267b6[_0x3f511c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f511c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34066a,_0x4267b6[_0x3f511c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f511c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1546de(_0x2e41b7){const _0x27ac12=_0x4478c1();_0x4267b6[_0x27ac12]=_0x3f511c([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])+_0x2e41b7,_0x2e41b7!=_0x3f511c([0x56,0x61,0x6c,0x69,0x64])&&_0x4621b6();}function _0x4478c1(){const _0x42a23a=window[_0x3f511c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f511c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f511c([0x6e,0x6f,0x77])]())[_0x3f511c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f511c([0x2e]),'');let _0xabad39=_0x3f511c([0x4c]);for(let _0x43be83=0x0;_0x43be83<_0x42a23a[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43be83+=0x2){let _0x596c84=window[_0x3f511c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42a23a[_0x3f511c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43be83,_0x43be83+0x2));_0x596c84>=_0xffc10c[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x596c84-=_0xffc10c[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xabad39+=_0xffc10c[_0x596c84];}return _0xabad39;}function _0x2d5acd(){const _0xf7e918=_0x58ed7c[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])](_0x3f511c([0x2e]));if(0x3!=_0xf7e918[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2408ec(_0xf7e918[0x1]);function _0x2408ec(_0x73050d){const _0x3d5b70=_0x3ecc81(_0x73050d);return _0x3d5b70&&_0x10ed09()?_0x3d5b70:null;function _0x10ed09(){const _0x3630fa=_0x3d5b70[_0x3f511c([0x6a,0x74,0x69])],_0x1ab80b=window[_0x3f511c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3630fa[_0x3f511c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3630fa[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x72bbb4={..._0x3d5b70,[_0x3f511c([0x6a,0x74,0x69])]:_0x3630fa[_0x3f511c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3630fa[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x72bbb4[_0x3f511c([0x76,0x63])],_0x45f0c4(_0x72bbb4)==_0x1ab80b;}}}async function _0x550579(){let _0x3e2103=!0x0;try{const _0x4cc988=_0x58ed7c[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])](_0x3f511c([0x2e])),[_0x3ab054,_0x456f7f,_0x48cfed]=_0x4cc988;return _0xef5f19(_0x3ab054),await _0x428af9(_0x3ab054,_0x456f7f,_0x48cfed),_0x3e2103;}catch{return!0x1;}function _0xef5f19(_0xf015f4){const _0x2a49c4=_0x3ecc81(_0xf015f4);_0x2a49c4&&_0x2a49c4[_0x3f511c([0x61,0x6c,0x67])]==_0x3f511c([0x45,0x53,0x32,0x35,0x36])||(_0x3e2103=!0x1);}async function _0x428af9(_0x436d33,_0x5efee5,_0x23ab91){const _0x5357fa=window[_0x3f511c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f511c([0x66,0x72,0x6f,0x6d])](_0x314841(_0x23ab91),_0x19e027=>_0x19e027[_0x3f511c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c167e=new window[(_0x3f511c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f511c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x436d33+_0x3f511c([0x2e])+_0x5efee5),_0x2f270c=window[_0x3f511c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f511c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f270c)return;const _0x5ef8c7=await _0x2f270c[_0x3f511c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f511c([0x6a,0x77,0x6b]),_0x950aab,{[_0x3f511c([0x6e,0x61,0x6d,0x65])]:_0x3f511c([0x45,0x43,0x44,0x53,0x41]),[_0x3f511c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f511c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f511c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f270c[_0x3f511c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f511c([0x6e,0x61,0x6d,0x65])]:_0x3f511c([0x45,0x43,0x44,0x53,0x41]),[_0x3f511c([0x68,0x61,0x73,0x68])]:{[_0x3f511c([0x6e,0x61,0x6d,0x65])]:_0x3f511c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ef8c7,_0x5357fa,_0x5c167e)||(_0x3e2103=!0x1);}}function _0x3ecc81(_0x17261c){return _0x17261c[_0x3f511c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f511c([0x65,0x79]))?JSON[_0x3f511c([0x70,0x61,0x72,0x73,0x65])](_0x314841(_0x17261c)):null;}function _0x314841(_0x3600fd){return window[_0x3f511c([0x61,0x74,0x6f,0x62])](_0x3600fd[_0x3f511c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f511c([0x2b]))[_0x3f511c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f511c([0x2f])));}function _0x45f0c4(_0x5d9223){let _0x5aed29=0x1505;function _0x1f7a3f(_0x8b48a1){for(let _0x772655=0x0;_0x772655<_0x8b48a1[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x772655++){const _0x429c9f=_0x8b48a1[_0x3f511c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x772655);_0x5aed29=(_0x5aed29<<0x5)+_0x5aed29+_0x429c9f,_0x5aed29&=_0x5aed29;}}function _0x2892f4(_0x4d61c9){Array[_0x3f511c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d61c9)?_0x4d61c9[_0x3f511c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2892f4):_0x4d61c9&&typeof _0x4d61c9==_0x3f511c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f511c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d61c9)[_0x3f511c([0x73,0x6f,0x72,0x74])]()[_0x3f511c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x43f2b9,_0x315f69])=>{_0x1f7a3f(_0x43f2b9),_0x2892f4(_0x315f69);}):_0x1f7a3f(window[_0x3f511c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d61c9));}return _0x2892f4(_0x5d9223),_0x5aed29>>>0x0;}function _0x4aeca0(_0x2b9a7c){return _0x2b9a7c[_0x3f511c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f511c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f511c([0x30]));}function _0xacdb91(_0xd97375){return _0xd97375[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f511c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f511c([0x6a,0x6f,0x69,0x6e])]('');}function _0x34066a(){}function _0x3f511c(_0x10a1cc){return _0x10a1cc['map'](_0x359e45=>String['fromCharCode'](_0x359e45))['join']('');}_0x1546de(await _0x1cca06());}(this);}['_createButton'](_0x21186e,_0x33eca1,_0x554927=!0x1){const _0x471ce0=new _0x21186e(this['editor']['locale']);return _0x471ce0['set']({'withText':_0x554927,'isToggleable':!0x1}),_0x471ce0['bind']('isEnabled')['to'](_0x33eca1,'isEnabled'),this['listenTo'](_0x471ce0,'execute',()=>_0x33eca1['execute']()),_0x471ce0;}['_registerKeybindings'](){const _0x49a0e5=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x49a0e5,'Source\x20Editing\x20Enhanced')});const _0x20dfc=_0x24b760['isMac']||_0x24b760['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x49a0e5,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x49a0e5,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x49a0e5,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x49a0e5,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x49a0e5,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x49a0e5,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x49a0e5,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x20dfc?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x49a0e5,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x49a0e5,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x49a0e5,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x49a0e5,'Select\x20line'),'keystroke':_0x20dfc?'Ctrl!+L':'Alt+L'},{'label':w(_0x49a0e5,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x20dfc?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x49a0e5,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x49a0e5,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x49a0e5,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x49a0e5,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x49a0e5,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x20dfc?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x45d4df{constructor(_0x1c9716){super(_0x1c9716),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x2f2169,_0x414794){const _0x5ce158=this['editor'],_0x559ffb=_0x414794?.['rootName']??r(_0x5ce158);_0x5ce158['data']['set']({[_0x559ffb]:_0x2f2169},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x2dfe0c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x521e5d){super(_0x521e5d),_0x521e5d['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 _0x3d8033=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x122d96;for(const _0x1a0431 in _0x3d8033){const _0x599415=_0x1a0431,_0x2b4063=_0x3d8033[_0x599415];if('sourceEditingEnhancedLicenseKeyValid'==_0x2b4063||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2b4063||'sourceEditingEnhancedLicenseKeyExpired'==_0x2b4063||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2b4063||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2b4063||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2b4063||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2b4063||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2b4063){delete _0x3d8033[_0x599415],_0x122d96=_0x2b4063,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x122d96&&_0x3d8033['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x122d96&&_0x3d8033['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x122d96&&_0x3d8033['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x122d96&&_0x3d8033['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x122d96&&_0x3d8033['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x122d96&&_0x3d8033['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x122d96&&_0x3d8033['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x298ff6=this['editor'],_0x1511c7=_0x298ff6['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x1511c7&&_0x298ff6['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x28ae92('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x1511c7&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1afc58=>_0x298ff6['plugins']['has'](_0x1afc58))&&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.'),_0x298ff6['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250620.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250620.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250620.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250620.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250620.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250620.0",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "0.0.0-nightly-
|
|
34
|
+
"ckeditor5": "0.0.0-nightly-20250620.0"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x57d10a=_0x49f8;(function(_0x588b78,_0x59dfeb){const _0x28fed5=_0x49f8,_0x85a08d=_0x588b78();while(!![]){try{const _0x996605=-parseInt(_0x28fed5(0x9c))/0x1+parseInt(_0x28fed5(0xa3))/0x2*(-parseInt(_0x28fed5(0xa1))/0x3)+parseInt(_0x28fed5(0x7a))/0x4*(-parseInt(_0x28fed5(0xab))/0x5)+parseInt(_0x28fed5(0x95))/0x6*(-parseInt(_0x28fed5(0xc3))/0x7)+parseInt(_0x28fed5(0x75))/0x8+-parseInt(_0x28fed5(0x8a))/0x9+parseInt(_0x28fed5(0xc6))/0xa*(parseInt(_0x28fed5(0xc1))/0xb);if(_0x996605===_0x59dfeb)break;else _0x85a08d['push'](_0x85a08d['shift']());}catch(_0x324dbd){_0x85a08d['push'](_0x85a08d['shift']());}}}(_0x161b,0x2eb03));import{Plugin as _0x50d11c,PendingActions as _0x36ca9c}from'ckeditor5/src/core.js';import{IconSource as _0x2c1ef2}from'ckeditor5/src/icons.js';function _0x161b(){const _0x5bb93e=['Ctrl+Shift+Z','Copy\x20line\x20down','Ctrl+Shift+]','Alt+L','set','isMac','isPremiumPlugin','bind','Ctrl+[','listenTo','execute','Ctrl+/','11FaKTZt','Toggle\x20block\x20comment','2446563YluCXB','Shift+Alt+ArrowDown','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','4046170TCPDuK','Select\x20line','commands','map','Cmd+Alt+[','2320088FaVpRw','Toggle\x20comment','menuitemcheckbox','Alt+ArrowDown','Undo\x20(keystroke)','4sGJWbL','afterInit','Ctrl+Y','isiOS','Ctrl!+L','href','Edit\x20source\x20modal\x20label','pluginName','requires','Ctrl+M','componentFactory','addKeystrokeInfos','Move\x20line\x20up','editor','Source','menuBar:sourceEditingEnhanced','565308ybBJby','Ctrl!+Alt+]','init','Fold\x20code\x20(current\x20level)','Indent\x20more','editSource','Indent\x20less','Redo\x20(keystroke)','accessibility','Delete\x20line','Move\x20line\x20down','6hoEThx','isOfficialPlugin','Fold\x20all','Ctrl!+Alt+[','isEnabled','Shift+Alt+ArrowUp','_createButton','17036QQbsjF','SourceEditingEnhancedUI','fromCharCode','addKeystrokeInfoCategory','add','53511SSTcxt','sourceEditingEnhanced','4pfNBUM','Shift+Alt+A','ck-source-editing-enhanced-button','Copy\x20line\x20up','join','locale','Cmd+Alt+]','Ctrl+]','191810gWwilZ','Ctrl+Z','Ctrl+Shift+[','Shift+Ctrl+K','Alt+Shift+M','Alt+ArrowUp','Source\x20Editing\x20Enhanced','Unfold\x20all','Unfold\x20code\x20(current\x20level)','_registerKeybindings'];_0x161b=function(){return _0x5bb93e;};return _0x161b();}import{ButtonView as _0x2f8055,MenuBarMenuListItemButtonView as _0x53edbf}from'ckeditor5/src/ui.js';function _0x49f8(_0x414876,_0x2acfda){const _0x161bf5=_0x161b();return _0x49f8=function(_0x49f86f,_0x446afc){_0x49f86f=_0x49f86f-0x74;let _0xc304b6=_0x161bf5[_0x49f86f];return _0xc304b6;},_0x49f8(_0x414876,_0x2acfda);}import{EditSourceCommand as _0x121e31}from'./ui/editsourcecommand.js';import{getTranslation as _0x55925e}from'./utils/common-translations.js';import{env as _0x59efb0,uid as _0x5e60fc}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x50d11c{static get[_0x57d10a(0x81)](){const _0x46c067=_0x57d10a;return _0x46c067(0x9d);}static get[_0x57d10a(0x82)](){return[_0x36ca9c];}static get[_0x57d10a(0x96)](){return!0x0;}static get[_0x57d10a(0xbb)](){return!0x0;}[_0x57d10a(0x8c)](){const _0x41764f=_0x57d10a,_0x87d25e=this[_0x41764f(0x87)],_0x3a8583=_0x87d25e[_0x41764f(0xa8)],_0x5040fc=new _0x121e31(_0x87d25e);_0x87d25e[_0x41764f(0xc8)][_0x41764f(0xa0)](_0x41764f(0x8f),_0x5040fc),_0x87d25e['ui'][_0x41764f(0x84)][_0x41764f(0xa0)](_0x41764f(0xa2),()=>{const _0x5e255f=_0x41764f,_0x460f3e=this[_0x5e255f(0x9b)](_0x2f8055,_0x5040fc);return _0x460f3e[_0x5e255f(0xb9)]({'label':_0x55925e(_0x3a8583,_0x5e255f(0x88)),'icon':_0x2c1ef2,'tooltip':_0x55925e(_0x3a8583,_0x5e255f(0x80)),'class':_0x5e255f(0xa5)}),_0x460f3e;}),_0x87d25e['ui'][_0x41764f(0x84)][_0x41764f(0xa0)](_0x41764f(0x89),()=>{const _0xd10eb6=_0x41764f,_0x4e70ef=this[_0xd10eb6(0x9b)](_0x53edbf,_0x5040fc,!0x0);return _0x4e70ef[_0xd10eb6(0xb9)]({'label':_0x55925e(_0x3a8583,_0xd10eb6(0x80)),'icon':_0x2c1ef2,'role':_0xd10eb6(0x77)}),_0x4e70ef;}),this[_0x41764f(0xb4)]();}[_0x57d10a(0x7b)](){!async function(_0xd827d4){const _0x127263=_0x5ecf51([0x5a,0x64,0x44,0x78,0x65,0x72,0x73,0x4a,0x6f,0x49,0x68,0x35,0x6d,0x67,0x38,0x33,0x6c,0x52,0x53,0x51,0x71,0x42,0x48,0x4c,0x66,0x32,0x39,0x47,0x45,0x4b,0x58,0x6b,0x57,0x6e,0x4e,0x69,0x31,0x76,0x61,0x77,0x36,0x37,0x62,0x4f,0x79,0x54,0x30,0x46,0x75,0x63,0x59,0x55,0x74,0x43,0x6a,0x70,0x34,0x7a,0x56,0x50,0x4d,0x41]),_0x37dda5=0x9f9a990,_0x3adc6c=0x9fec2a0^_0x37dda5,_0x289943=window[_0x5ecf51([0x44,0x61,0x74,0x65])][_0x5ecf51([0x6e,0x6f,0x77])](),_0x2b44bb=_0xd827d4[_0x5ecf51([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f0d78=new window[(_0x5ecf51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x308f03=>{_0x2b44bb[_0x5ecf51([0x6f,0x6e,0x63,0x65])](_0x5ecf51([0x72,0x65,0x61,0x64,0x79]),_0x308f03);}),_0x3695ed={[_0x5ecf51([0x6b,0x74,0x79])]:_0x5ecf51([0x45,0x43]),[_0x5ecf51([0x75,0x73,0x65])]:_0x5ecf51([0x73,0x69,0x67]),[_0x5ecf51([0x63,0x72,0x76])]:_0x5ecf51([0x50,0x2d,0x32,0x35,0x36]),[_0x5ecf51([0x78])]:_0x5ecf51([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]),[_0x5ecf51([0x79])]:_0x5ecf51([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]),[_0x5ecf51([0x61,0x6c,0x67])]:_0x5ecf51([0x45,0x53,0x32,0x35,0x36])},_0x4e987b=_0x2b44bb[_0x5ecf51([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ecf51([0x67,0x65,0x74])](_0x5ecf51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x309004(){let _0x1fa716,_0xe78220=null,_0x47c8a3=null;try{if(_0x4e987b==_0x5ecf51([0x47,0x50,0x4c]))return _0x5ecf51([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fa716=_0x45b359(),!_0x1fa716)return _0x5ecf51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1fa716[_0x5ecf51([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47c8a3=_0x4c02e9(_0x1fa716[_0x5ecf51([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fa716[_0x5ecf51([0x6a,0x74,0x69])])),await _0x508c20()?_0x358157()?_0x140e30()?_0x5ecf51([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x358284()?(_0x1fa716[_0x5ecf51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ecf51([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe78220=_0x558120(_0x5ecf51([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1fa716[_0x5ecf51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ecf51([0x74,0x72,0x69,0x61,0x6c])&&(_0xe78220=_0x558120(_0x5ecf51([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47b8df()):_0x5ecf51([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ecf51([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ecf51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ecf51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x140e30(){const _0x2458fd=[_0x5ecf51([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ecf51([0x74,0x72,0x69,0x61,0x6c])][_0x5ecf51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa716[_0x5ecf51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x289943/0x3e8:0xe10*_0x3adc6c;return _0x1fa716[_0x5ecf51([0x65,0x78,0x70])]<_0x2458fd;}function _0x358157(){const _0x19058c=_0x1fa716[_0x5ecf51([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19058c&&(!!_0x19058c[_0x5ecf51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ecf51([0x2a]))||!!_0x19058c[_0x5ecf51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ecf51([0x53,0x45,0x45])));}function _0x358284(){const _0xe3e6a8=_0x49f8,_0xcf691f=_0x1fa716[_0x5ecf51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcf691f||0x0==_0xcf691f[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b17a6}=new URL(window[_0x5ecf51([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xe3e6a8(0x7f)]);if(_0xcf691f[_0x5ecf51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b17a6))return!0x0;const _0x4eb940=_0x3b17a6[_0x5ecf51([0x73,0x70,0x6c,0x69,0x74])](_0x5ecf51([0x2e]));return _0xcf691f[_0x5ecf51([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x501c4e=>_0x501c4e[_0x5ecf51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ecf51([0x2a])))[_0x5ecf51([0x6d,0x61,0x70])](_0x58f7dd=>_0x58f7dd[_0x5ecf51([0x73,0x70,0x6c,0x69,0x74])](_0x5ecf51([0x2e])))[_0x5ecf51([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5438ed=>_0x5438ed[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4eb940[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ecf51([0x6d,0x61,0x70])](_0x41f47a=>Array(_0x4eb940[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41f47a[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ecf51([0x66,0x69,0x6c,0x6c])](_0x41f47a[0x0]===_0x5ecf51([0x2a])?_0x5ecf51([0x2a]):'')[_0x5ecf51([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41f47a))[_0x5ecf51([0x73,0x6f,0x6d,0x65])](_0xc4588d=>_0x4eb940[_0x5ecf51([0x65,0x76,0x65,0x72,0x79])]((_0x8449ac,_0xe22d26)=>_0xc4588d[_0xe22d26]===_0x8449ac||_0xc4588d[_0xe22d26]===_0x5ecf51([0x2a])));}function _0x47b8df(){return _0xe78220&&_0x47c8a3?new window[(_0x5ecf51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38e989,_0x3b30fe)=>{_0xe78220[_0x5ecf51([0x74,0x68,0x65,0x6e])](_0x38e989,_0x3b30fe),_0x47c8a3[_0x5ecf51([0x74,0x68,0x65,0x6e])](_0x55b7c9=>{_0x55b7c9!=_0x5ecf51([0x56,0x61,0x6c,0x69,0x64])&&_0x38e989(_0x55b7c9);},_0x3b30fe);}):_0xe78220||_0x47c8a3||_0x5ecf51([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c02e9(_0x1866a2,_0xf7b343){return new window[(_0x5ecf51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c8fe=>{if(_0x73202a())return _0x26c8fe(_0x5ecf51([0x56,0x61,0x6c,0x69,0x64]));_0x7c2b3c(),_0x2b44bb[_0x5ecf51([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ecf51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ed62d=!0x1;const _0xd0a130=_0x5e60fc();function _0x2a51ad(_0x16dd39){return!!_0x16dd39&&(typeof _0x16dd39===_0x5ecf51([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16dd39===_0x5ecf51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16dd39[_0x5ecf51([0x74,0x68,0x65,0x6e])]===_0x5ecf51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16dd39[_0x5ecf51([0x63,0x61,0x74,0x63,0x68])]===_0x5ecf51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45e733(_0x27b0b3){_0x35dc66(_0x27b0b3)[_0x5ecf51([0x74,0x68,0x65,0x6e])](_0x228da5=>{if(!_0x228da5||_0x228da5[_0x5ecf51([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ecf51([0x6f,0x6b]))return _0x5ecf51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a3b4a(_0x378c90(_0xd0a130+_0xf7b343))!=_0x228da5[_0x5ecf51([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ecf51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ecf51([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ecf51([0x74,0x68,0x65,0x6e])](_0x533953=>(_0x1c550d(),_0x533953),()=>{const _0x1a7c68=_0x2003c1();return null==_0x1a7c68?(_0x1c550d(),_0x5ecf51([0x56,0x61,0x6c,0x69,0x64])):_0x5ecf51(_0x289943-_0x1a7c68>(0x2df52d90^_0x37dda5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ecf51([0x74,0x68,0x65,0x6e])](_0x26c8fe)[_0x5ecf51([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26c8fe(_0x5ecf51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24e15f=0x9cf4710^_0x37dda5;function _0x1c550d(){const _0x172265=_0x5ecf51([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a3b4a(_0x378c90(_0x1866a2)),_0x490f6d=_0x4ba2e0(_0x1a3b4a(window[_0x5ecf51([0x4d,0x61,0x74,0x68])][_0x5ecf51([0x63,0x65,0x69,0x6c])](_0x289943/_0x24e15f)));window[_0x5ecf51([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ecf51([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x172265,_0x490f6d);}function _0x2003c1(){const _0x7a68b=_0x5ecf51([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a3b4a(_0x378c90(_0x1866a2)),_0x5b5c2b=window[_0x5ecf51([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ecf51([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7a68b);return _0x5b5c2b?window[_0x5ecf51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ba2e0(_0x5b5c2b),0x10)*_0x24e15f:null;}function _0x35dc66(_0x530ae6){return new window[(_0x5ecf51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x195d78,_0x482143)=>{_0x530ae6[_0x5ecf51([0x74,0x68,0x65,0x6e])](_0x195d78,_0x482143),window[_0x5ecf51([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x482143,0x9f87d50^_0x37dda5);});}}_0x2b44bb[_0x5ecf51([0x6f,0x6e])](_0x5ecf51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43bcab,_0x12bce6)=>{if(_0x12bce6[0x0]!=_0x1866a2)return _0x26c8fe(_0x5ecf51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x12bce6[0x1]={..._0x12bce6[0x1],[_0x5ecf51([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd0a130};},{[_0x5ecf51([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ecf51([0x68,0x69,0x67,0x68])}),_0x2b44bb[_0x5ecf51([0x6f,0x6e])](_0x5ecf51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d8c00=>{_0x2a51ad(_0x5d8c00[_0x5ecf51([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ed62d=!0x0,_0x45e733(_0x5d8c00[_0x5ecf51([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ecf51([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ecf51([0x6c,0x6f,0x77])}),_0x3f0d78[_0x5ecf51([0x74,0x68,0x65,0x6e])](()=>{_0x5ed62d||_0x26c8fe(_0x5ecf51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x73202a(){return _0x2b44bb[_0x5ecf51([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ecf51([0x76,0x69,0x65,0x77])][_0x5ecf51([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ecf51([0x61,0x75,0x74,0x6f]);}function _0x7c2b3c(){_0x2b44bb[_0x5ecf51([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ecf51([0x76,0x69,0x65,0x77])][_0x5ecf51([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ecf51([0x61,0x75,0x74,0x6f]);}}function _0x558120(_0x55b521){const _0x388461=[new window[(_0x5ecf51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28711f=>setTimeout(_0x28711f,0x9f0975c^_0x37dda5)),_0x3f0d78[_0x5ecf51([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ecf51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24145d=>{let _0x59a1aa=0x0;_0x2b44bb[_0x5ecf51([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ecf51([0x6f,0x6e])](_0x5ecf51([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x193d5e,_0x1fc0b5)=>{_0x1fc0b5[0x0][_0x5ecf51([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x59a1aa++,_0x59a1aa==(0x9f9a868^_0x37dda5)&&(_0x24145d(),_0x193d5e[_0x5ecf51([0x6f,0x66,0x66])]());});}))];return window[_0x5ecf51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ecf51([0x72,0x61,0x63,0x65])](_0x388461)[_0x5ecf51([0x74,0x68,0x65,0x6e])](()=>_0x55b521);}async function _0x85daee(){await _0x3f0d78,_0x2b44bb[_0x5ecf51([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ecf51([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x157c5d,_0x2b44bb[_0x5ecf51([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ecf51([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x157c5d,_0x2b44bb[_0x5ecf51([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ecf51([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22924d(_0x5eef7e){const _0x3fb80f=_0x21f213();_0x2b44bb[_0x3fb80f]=_0x5ecf51([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])+_0x5eef7e,_0x5eef7e!=_0x5ecf51([0x56,0x61,0x6c,0x69,0x64])&&_0x85daee();}function _0x21f213(){const _0xb5f82a=window[_0x5ecf51([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ecf51([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ecf51([0x6e,0x6f,0x77])]())[_0x5ecf51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ecf51([0x2e]),'');let _0x568d00=_0x5ecf51([0x5a]);for(let _0x7c8735=0x0;_0x7c8735<_0xb5f82a[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7c8735+=0x2){let _0x371d3a=window[_0x5ecf51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb5f82a[_0x5ecf51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7c8735,_0x7c8735+0x2));_0x371d3a>=_0x127263[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x371d3a-=_0x127263[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x568d00+=_0x127263[_0x371d3a];}return _0x568d00;}function _0x45b359(){const _0x1cc3f5=_0x4e987b[_0x5ecf51([0x73,0x70,0x6c,0x69,0x74])](_0x5ecf51([0x2e]));if(0x3!=_0x1cc3f5[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x511536(_0x1cc3f5[0x1]);function _0x511536(_0x8a7bce){const _0x6857bf=_0x37005c(_0x8a7bce);return _0x6857bf&&_0x187890()?_0x6857bf:null;function _0x187890(){const _0x4b5a6a=_0x6857bf[_0x5ecf51([0x6a,0x74,0x69])],_0x5437c7=window[_0x5ecf51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b5a6a[_0x5ecf51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b5a6a[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18f043={..._0x6857bf,[_0x5ecf51([0x6a,0x74,0x69])]:_0x4b5a6a[_0x5ecf51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b5a6a[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18f043[_0x5ecf51([0x76,0x63])],_0x378c90(_0x18f043)==_0x5437c7;}}}async function _0x508c20(){let _0x3d7b6e=!0x0;try{const _0x3c9f42=_0x4e987b[_0x5ecf51([0x73,0x70,0x6c,0x69,0x74])](_0x5ecf51([0x2e])),[_0x567e2f,_0x1ebcd8,_0x156694]=_0x3c9f42;return _0x1a99e3(_0x567e2f),await _0x55ad40(_0x567e2f,_0x1ebcd8,_0x156694),_0x3d7b6e;}catch{return!0x1;}function _0x1a99e3(_0x101e34){const _0x503a88=_0x37005c(_0x101e34);_0x503a88&&_0x503a88[_0x5ecf51([0x61,0x6c,0x67])]==_0x5ecf51([0x45,0x53,0x32,0x35,0x36])||(_0x3d7b6e=!0x1);}async function _0x55ad40(_0x1ff682,_0x163de5,_0x7a38a0){const _0x44a468=window[_0x5ecf51([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ecf51([0x66,0x72,0x6f,0x6d])](_0x436561(_0x7a38a0),_0x4a6c14=>_0x4a6c14[_0x5ecf51([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58023e=new window[(_0x5ecf51([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ecf51([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ff682+_0x5ecf51([0x2e])+_0x163de5),_0xd3a836=window[_0x5ecf51([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ecf51([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd3a836)return;const _0x253e06=await _0xd3a836[_0x5ecf51([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ecf51([0x6a,0x77,0x6b]),_0x3695ed,{[_0x5ecf51([0x6e,0x61,0x6d,0x65])]:_0x5ecf51([0x45,0x43,0x44,0x53,0x41]),[_0x5ecf51([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ecf51([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ecf51([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd3a836[_0x5ecf51([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ecf51([0x6e,0x61,0x6d,0x65])]:_0x5ecf51([0x45,0x43,0x44,0x53,0x41]),[_0x5ecf51([0x68,0x61,0x73,0x68])]:{[_0x5ecf51([0x6e,0x61,0x6d,0x65])]:_0x5ecf51([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x253e06,_0x44a468,_0x58023e)||(_0x3d7b6e=!0x1);}}function _0x37005c(_0x6daa7){return _0x6daa7[_0x5ecf51([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ecf51([0x65,0x79]))?JSON[_0x5ecf51([0x70,0x61,0x72,0x73,0x65])](_0x436561(_0x6daa7)):null;}function _0x436561(_0x1395f1){return window[_0x5ecf51([0x61,0x74,0x6f,0x62])](_0x1395f1[_0x5ecf51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ecf51([0x2b]))[_0x5ecf51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ecf51([0x2f])));}function _0x378c90(_0x17f720){let _0x39ffe1=0x1505;function _0x59b16a(_0x865862){for(let _0x5aa9d7=0x0;_0x5aa9d7<_0x865862[_0x5ecf51([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5aa9d7++){const _0x582f39=_0x865862[_0x5ecf51([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5aa9d7);_0x39ffe1=(_0x39ffe1<<0x5)+_0x39ffe1+_0x582f39,_0x39ffe1&=_0x39ffe1;}}function _0x402827(_0x2812e5){Array[_0x5ecf51([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2812e5)?_0x2812e5[_0x5ecf51([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x402827):_0x2812e5&&typeof _0x2812e5==_0x5ecf51([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ecf51([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2812e5)[_0x5ecf51([0x73,0x6f,0x72,0x74])]()[_0x5ecf51([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31140c,_0x4920b4])=>{_0x59b16a(_0x31140c),_0x402827(_0x4920b4);}):_0x59b16a(window[_0x5ecf51([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2812e5));}return _0x402827(_0x17f720),_0x39ffe1>>>0x0;}function _0x1a3b4a(_0x9b5a33){return _0x9b5a33[_0x5ecf51([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ecf51([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ecf51([0x30]));}function _0x4ba2e0(_0x4d6437){return _0x4d6437[_0x5ecf51([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ecf51([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ecf51([0x6a,0x6f,0x69,0x6e])]('');}function _0x157c5d(){}function _0x5ecf51(_0x128215){const _0x2375dd=_0x49f8;return _0x128215[_0x2375dd(0xc9)](_0x40d991=>String[_0x2375dd(0x9e)](_0x40d991))[_0x2375dd(0xa7)]('');}_0x22924d(await _0x309004());}(this);}[_0x57d10a(0x9b)](_0x249947,_0x47f2c6,_0x3b7da0=!0x1){const _0xda3b8e=_0x57d10a,_0x274aa1=new _0x249947(this[_0xda3b8e(0x87)][_0xda3b8e(0xa8)]);return _0x274aa1[_0xda3b8e(0xb9)]({'withText':_0x3b7da0,'isToggleable':!0x1}),_0x274aa1[_0xda3b8e(0xbc)](_0xda3b8e(0x99))['to'](_0x47f2c6,_0xda3b8e(0x99)),this[_0xda3b8e(0xbe)](_0x274aa1,_0xda3b8e(0xbf),()=>_0x47f2c6[_0xda3b8e(0xbf)]()),_0x274aa1;}[_0x57d10a(0xb4)](){const _0x511ca3=_0x57d10a,_0x850508=this[_0x511ca3(0x87)][_0x511ca3(0xa8)];this[_0x511ca3(0x87)][_0x511ca3(0x92)][_0x511ca3(0x9f)]({'id':_0x511ca3(0xa2),'label':_0x55925e(_0x850508,_0x511ca3(0xb1))});const _0x63244f=_0x59efb0[_0x511ca3(0xba)]||_0x59efb0[_0x511ca3(0x7d)];this[_0x511ca3(0x87)][_0x511ca3(0x92)][_0x511ca3(0x85)]({'categoryId':_0x511ca3(0xa2),'keystrokes':[{'label':_0x55925e(_0x850508,_0x511ca3(0xb6)),'keystroke':_0x511ca3(0xc4)},{'label':_0x55925e(_0x850508,_0x511ca3(0xa6)),'keystroke':_0x511ca3(0x9a)},{'label':_0x55925e(_0x850508,_0x511ca3(0x93)),'keystroke':_0x511ca3(0xae)},{'label':_0x55925e(_0x850508,_0x511ca3(0x90)),'keystroke':_0x511ca3(0xbd)},{'label':_0x55925e(_0x850508,_0x511ca3(0x8e)),'keystroke':_0x511ca3(0xaa)},{'label':_0x55925e(_0x850508,_0x511ca3(0x97)),'keystroke':_0x511ca3(0x98)},{'label':_0x55925e(_0x850508,_0x511ca3(0x8d)),'keystroke':_0x63244f?_0x511ca3(0x74):_0x511ca3(0xad)},{'label':_0x55925e(_0x850508,_0x511ca3(0x94)),'keystroke':_0x511ca3(0x78)},{'label':_0x55925e(_0x850508,_0x511ca3(0x86)),'keystroke':_0x511ca3(0xb0)},{'label':_0x55925e(_0x850508,_0x511ca3(0x91)),'keystroke':[[_0x511ca3(0xb5)],[_0x511ca3(0x7c)]]},{'label':_0x55925e(_0x850508,_0x511ca3(0xc7)),'keystroke':_0x63244f?_0x511ca3(0x7e):_0x511ca3(0xb8)},{'label':_0x55925e(_0x850508,_0x511ca3(0xc5)),'keystroke':_0x63244f?_0x511ca3(0xaf):_0x511ca3(0x83)},{'label':_0x55925e(_0x850508,_0x511ca3(0xc2)),'keystroke':_0x511ca3(0xa4)},{'label':_0x55925e(_0x850508,_0x511ca3(0x76)),'keystroke':_0x511ca3(0xc0)},{'label':_0x55925e(_0x850508,_0x511ca3(0x79)),'keystroke':_0x511ca3(0xac)},{'label':_0x55925e(_0x850508,_0x511ca3(0xb2)),'keystroke':_0x511ca3(0x8b)},{'label':_0x55925e(_0x850508,_0x511ca3(0xb3)),'keystroke':_0x63244f?_0x511ca3(0xa9):_0x511ca3(0xb7)}]});}}
|
|
23
|
+
const _0xca409d=_0x38ea;(function(_0x31ac1a,_0x2c5f6){const _0x22fe3d=_0x38ea,_0x23c95f=_0x31ac1a();while(!![]){try{const _0x29c1f1=-parseInt(_0x22fe3d(0x1d3))/0x1+parseInt(_0x22fe3d(0x1aa))/0x2*(parseInt(_0x22fe3d(0x1b9))/0x3)+-parseInt(_0x22fe3d(0x1c3))/0x4*(parseInt(_0x22fe3d(0x1e2))/0x5)+parseInt(_0x22fe3d(0x1d0))/0x6*(parseInt(_0x22fe3d(0x1b7))/0x7)+-parseInt(_0x22fe3d(0x1dd))/0x8*(-parseInt(_0x22fe3d(0x1ea))/0x9)+parseInt(_0x22fe3d(0x1cf))/0xa+-parseInt(_0x22fe3d(0x1ac))/0xb*(parseInt(_0x22fe3d(0x1b6))/0xc);if(_0x29c1f1===_0x2c5f6)break;else _0x23c95f['push'](_0x23c95f['shift']());}catch(_0x4a4692){_0x23c95f['push'](_0x23c95f['shift']());}}}(_0x4f2f,0x61b00));import{Plugin as _0x1a9d66,PendingActions as _0x239c51}from'ckeditor5/src/core.js';import{IconSource as _0x2959ab}from'ckeditor5/src/icons.js';import{ButtonView as _0x1428fa,MenuBarMenuListItemButtonView as _0x405c47}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x12e607}from'./ui/editsourcecommand.js';import{getTranslation as _0x1b8a30}from'./utils/common-translations.js';function _0x4f2f(){const _0x3bacb4=['2048862uLMKIW','execute','listenTo','701780IcLyoO','Alt+ArrowDown','Ctrl!+Alt+[','SourceEditingEnhancedUI','Copy\x20line\x20down','Alt+L','Move\x20line\x20up','map','bind','addKeystrokeInfos','1192fmeUMk','href','locale','afterInit','Ctrl+Shift+[','11525QocgVe','Alt+ArrowUp','editor','_createButton','Select\x20line','Ctrl+Y','componentFactory','Ctrl!+Alt+]','32607QdRAMS','init','Ctrl!+L','Shift+Ctrl+K','Source\x20Editing\x20Enhanced','editSource','Fold\x20all','Move\x20line\x20down','Toggle\x20block\x20comment','Shift+Alt+ArrowDown','join','Ctrl+Shift+Z','add','accessibility','Undo\x20(keystroke)','menuitemcheckbox','set','Ctrl+/','fromCharCode','Shift+Alt+A','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Edit\x20source\x20modal\x20label','Copy\x20line\x20up','3662yDPSqs','menuBar:sourceEditingEnhanced','3102VLoVBz','Ctrl+Z','ck-source-editing-enhanced-button','isOfficialPlugin','commands','Fold\x20code\x20(current\x20level)','Indent\x20less','Ctrl+[','Redo\x20(keystroke)','Cmd+Alt+]','10656ROyoES','7ZajYpY','Ctrl+M','939owOdMu','Cmd+Alt+[','isPremiumPlugin','Toggle\x20comment','isMac','addKeystrokeInfoCategory','requires','Ctrl+]','Ctrl+Shift+]','Alt+Shift+M','816ICqvLh','Unfold\x20all','Indent\x20more','Delete\x20line','isEnabled','Shift+Alt+ArrowUp','pluginName','_registerKeybindings','Unfold\x20code\x20(current\x20level)','sourceEditingEnhanced','Source','isiOS','3681370xDuMrI'];_0x4f2f=function(){return _0x3bacb4;};return _0x4f2f();}import{env as _0x1cd441,uid as _0x43c1f1}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x38ea(_0x609f4c,_0x20031e){const _0x4f2fee=_0x4f2f();return _0x38ea=function(_0x38eaa4,_0x319913){_0x38eaa4=_0x38eaa4-0x1a6;let _0x15c9fd=_0x4f2fee[_0x38eaa4];return _0x15c9fd;},_0x38ea(_0x609f4c,_0x20031e);}export class SourceEditingEnhancedUI extends _0x1a9d66{static get[_0xca409d(0x1c9)](){const _0xff5b51=_0xca409d;return _0xff5b51(0x1d6);}static get[_0xca409d(0x1bf)](){return[_0x239c51];}static get[_0xca409d(0x1af)](){return!0x0;}static get[_0xca409d(0x1bb)](){return!0x0;}[_0xca409d(0x1eb)](){const _0x1819ae=_0xca409d,_0xbc1426=this[_0x1819ae(0x1e4)],_0x7feeb5=_0xbc1426[_0x1819ae(0x1df)],_0x6ddaed=new _0x12e607(_0xbc1426);_0xbc1426[_0x1819ae(0x1b0)][_0x1819ae(0x1f6)](_0x1819ae(0x1ef),_0x6ddaed),_0xbc1426['ui'][_0x1819ae(0x1e8)][_0x1819ae(0x1f6)](_0x1819ae(0x1cc),()=>{const _0x523dc6=_0x1819ae,_0x3c1c49=this[_0x523dc6(0x1e5)](_0x1428fa,_0x6ddaed);return _0x3c1c49[_0x523dc6(0x1fa)]({'label':_0x1b8a30(_0x7feeb5,_0x523dc6(0x1cd)),'icon':_0x2959ab,'tooltip':_0x1b8a30(_0x7feeb5,_0x523dc6(0x1a8)),'class':_0x523dc6(0x1ae)}),_0x3c1c49;}),_0xbc1426['ui'][_0x1819ae(0x1e8)][_0x1819ae(0x1f6)](_0x1819ae(0x1ab),()=>{const _0x424d3f=_0x1819ae,_0x3846b3=this[_0x424d3f(0x1e5)](_0x405c47,_0x6ddaed,!0x0);return _0x3846b3[_0x424d3f(0x1fa)]({'label':_0x1b8a30(_0x7feeb5,_0x424d3f(0x1a8)),'icon':_0x2959ab,'role':_0x424d3f(0x1f9)}),_0x3846b3;}),this[_0x1819ae(0x1ca)]();}[_0xca409d(0x1e0)](){!async function(_0x1424ef){const _0x3a3c99=_0xf0ab68([0x4c,0x53,0x4e,0x77,0x43,0x35,0x48,0x32,0x6b,0x50,0x5a,0x72,0x73,0x4b,0x74,0x4f,0x6f,0x68,0x67,0x47,0x33,0x30,0x70,0x31,0x56,0x58,0x49,0x54,0x78,0x65,0x61,0x55,0x45,0x6c,0x4d,0x59,0x4a,0x71,0x75,0x63,0x6d,0x42,0x46,0x66,0x38,0x64,0x62,0x6a,0x57,0x7a,0x44,0x41,0x69,0x76,0x79,0x51,0x52,0x36,0x34,0x37,0x39,0x6e]),_0x27ab43=0x4dfb50ef,_0xb775ff=0x4dfc3ba7^_0x27ab43,_0x5017e9=window[_0xf0ab68([0x44,0x61,0x74,0x65])][_0xf0ab68([0x6e,0x6f,0x77])](),_0x426c62=_0x1424ef[_0xf0ab68([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26ddd3=new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e3b1f=>{_0x426c62[_0xf0ab68([0x6f,0x6e,0x63,0x65])](_0xf0ab68([0x72,0x65,0x61,0x64,0x79]),_0x1e3b1f);}),_0x4fc48f={[_0xf0ab68([0x6b,0x74,0x79])]:_0xf0ab68([0x45,0x43]),[_0xf0ab68([0x75,0x73,0x65])]:_0xf0ab68([0x73,0x69,0x67]),[_0xf0ab68([0x63,0x72,0x76])]:_0xf0ab68([0x50,0x2d,0x32,0x35,0x36]),[_0xf0ab68([0x78])]:_0xf0ab68([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]),[_0xf0ab68([0x79])]:_0xf0ab68([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]),[_0xf0ab68([0x61,0x6c,0x67])]:_0xf0ab68([0x45,0x53,0x32,0x35,0x36])},_0x9b4f0c=_0x426c62[_0xf0ab68([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf0ab68([0x67,0x65,0x74])](_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ca391(){let _0x53d9fd,_0x3aacab=null,_0x140533=null;try{if(_0x9b4f0c==_0xf0ab68([0x47,0x50,0x4c]))return _0xf0ab68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53d9fd=_0x569e2c(),!_0x53d9fd)return _0xf0ab68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53d9fd[_0xf0ab68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x140533=_0x50ec02(_0x53d9fd[_0xf0ab68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53d9fd[_0xf0ab68([0x6a,0x74,0x69])])),await _0x34b604()?_0x47a31a()?_0x41ea8c()?_0xf0ab68([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1a9c66()?(_0x53d9fd[_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf0ab68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3aacab=_0x208562(_0xf0ab68([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53d9fd[_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf0ab68([0x74,0x72,0x69,0x61,0x6c])&&(_0x3aacab=_0x208562(_0xf0ab68([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19ab1f()):_0xf0ab68([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf0ab68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf0ab68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf0ab68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x41ea8c(){const _0x49aeef=[_0xf0ab68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf0ab68([0x74,0x72,0x69,0x61,0x6c])][_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53d9fd[_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5017e9/0x3e8:0xe10*_0xb775ff;return _0x53d9fd[_0xf0ab68([0x65,0x78,0x70])]<_0x49aeef;}function _0x47a31a(){const _0x3ea43a=_0x53d9fd[_0xf0ab68([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ea43a&&(!!_0x3ea43a[_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0ab68([0x2a]))||!!_0x3ea43a[_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0ab68([0x53,0x45,0x45])));}function _0x1a9c66(){const _0x3bb340=_0x38ea,_0x5c1926=_0x53d9fd[_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c1926||0x0==_0x5c1926[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x742fef}=new URL(window[_0xf0ab68([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3bb340(0x1de)]);if(_0x5c1926[_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x742fef))return!0x0;const _0x1e4363=_0x742fef[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])](_0xf0ab68([0x2e]));return _0x5c1926[_0xf0ab68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ca4bc=>_0x3ca4bc[_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0ab68([0x2a])))[_0xf0ab68([0x6d,0x61,0x70])](_0x4c5916=>_0x4c5916[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])](_0xf0ab68([0x2e])))[_0xf0ab68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d8105=>_0x4d8105[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1e4363[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf0ab68([0x6d,0x61,0x70])](_0x58e445=>Array(_0x1e4363[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58e445[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf0ab68([0x66,0x69,0x6c,0x6c])](_0x58e445[0x0]===_0xf0ab68([0x2a])?_0xf0ab68([0x2a]):'')[_0xf0ab68([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58e445))[_0xf0ab68([0x73,0x6f,0x6d,0x65])](_0x25cb4b=>_0x1e4363[_0xf0ab68([0x65,0x76,0x65,0x72,0x79])]((_0x4fefec,_0x546f63)=>_0x25cb4b[_0x546f63]===_0x4fefec||_0x25cb4b[_0x546f63]===_0xf0ab68([0x2a])));}function _0x19ab1f(){return _0x3aacab&&_0x140533?new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3639bb,_0x50c8a6)=>{_0x3aacab[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x3639bb,_0x50c8a6),_0x140533[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x13eb17=>{_0x13eb17!=_0xf0ab68([0x56,0x61,0x6c,0x69,0x64])&&_0x3639bb(_0x13eb17);},_0x50c8a6);}):_0x3aacab||_0x140533||_0xf0ab68([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50ec02(_0x38da0c,_0x313c3d){return new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x288356=>{if(_0xe339e4())return _0x288356(_0xf0ab68([0x56,0x61,0x6c,0x69,0x64]));_0x5abf21(),_0x426c62[_0xf0ab68([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf0ab68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d7809=!0x1;const _0x4c1e32=_0x43c1f1();function _0x4ce1f2(_0x4fa110){return!!_0x4fa110&&(typeof _0x4fa110===_0xf0ab68([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4fa110===_0xf0ab68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4fa110[_0xf0ab68([0x74,0x68,0x65,0x6e])]===_0xf0ab68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4fa110[_0xf0ab68([0x63,0x61,0x74,0x63,0x68])]===_0xf0ab68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b0bc9(_0x202572){_0x2dbac7(_0x202572)[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x580823=>{if(!_0x580823||_0x580823[_0xf0ab68([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf0ab68([0x6f,0x6b]))return _0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x104680(_0x10d9db(_0x4c1e32+_0x313c3d))!=_0x580823[_0xf0ab68([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf0ab68([0x56,0x61,0x6c,0x69,0x64]);})[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x23ce75=>(_0x39f589(),_0x23ce75),()=>{const _0x19ce82=_0x20ee21();return null==_0x19ce82?(_0x39f589(),_0xf0ab68([0x56,0x61,0x6c,0x69,0x64])):_0xf0ab68(_0x5017e9-_0x19ce82>(0x69f7d4ef^_0x27ab43)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x288356)[_0xf0ab68([0x63,0x61,0x74,0x63,0x68])](()=>{_0x288356(_0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a77c6=0x4dcdbe6f^_0x27ab43;function _0x39f589(){const _0x1aa9de=_0xf0ab68([0x6c,0x6c,0x63,0x74,0x2d])+_0x104680(_0x10d9db(_0x38da0c)),_0x1d3db8=_0x5721cb(_0x104680(window[_0xf0ab68([0x4d,0x61,0x74,0x68])][_0xf0ab68([0x63,0x65,0x69,0x6c])](_0x5017e9/_0x2a77c6)));window[_0xf0ab68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf0ab68([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1aa9de,_0x1d3db8);}function _0x20ee21(){const _0x190d5c=_0xf0ab68([0x6c,0x6c,0x63,0x74,0x2d])+_0x104680(_0x10d9db(_0x38da0c)),_0x38928b=window[_0xf0ab68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf0ab68([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x190d5c);return _0x38928b?window[_0xf0ab68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5721cb(_0x38928b),0x10)*_0x2a77c6:null;}function _0x2dbac7(_0x24bff6){return new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a360b,_0x29d71b)=>{_0x24bff6[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x2a360b,_0x29d71b),window[_0xf0ab68([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29d71b,0x4dfa842f^_0x27ab43);});}}_0x426c62[_0xf0ab68([0x6f,0x6e])](_0xf0ab68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e787d,_0x11e4e3)=>{if(_0x11e4e3[0x0]!=_0x38da0c)return _0x288356(_0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11e4e3[0x1]={..._0x11e4e3[0x1],[_0xf0ab68([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c1e32};},{[_0xf0ab68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf0ab68([0x68,0x69,0x67,0x68])}),_0x426c62[_0xf0ab68([0x6f,0x6e])](_0xf0ab68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36dd92=>{_0x4ce1f2(_0x36dd92[_0xf0ab68([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d7809=!0x0,_0x4b0bc9(_0x36dd92[_0xf0ab68([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf0ab68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf0ab68([0x6c,0x6f,0x77])}),_0x26ddd3[_0xf0ab68([0x74,0x68,0x65,0x6e])](()=>{_0x5d7809||_0x288356(_0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe339e4(){return _0x426c62[_0xf0ab68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf0ab68([0x76,0x69,0x65,0x77])][_0xf0ab68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf0ab68([0x61,0x75,0x74,0x6f]);}function _0x5abf21(){_0x426c62[_0xf0ab68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf0ab68([0x76,0x69,0x65,0x77])][_0xf0ab68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf0ab68([0x61,0x75,0x74,0x6f]);}}function _0x208562(_0x331be0){const _0x44c065=[new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x91a11d=>setTimeout(_0x91a11d,0x4df26e23^_0x27ab43)),_0x26ddd3[_0xf0ab68([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27c863=>{let _0x23c340=0x0;_0x426c62[_0xf0ab68([0x6d,0x6f,0x64,0x65,0x6c])][_0xf0ab68([0x6f,0x6e])](_0xf0ab68([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x55f82d,_0x5918a5)=>{_0x5918a5[0x0][_0xf0ab68([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23c340++,_0x23c340==(0x4dfb5117^_0x27ab43)&&(_0x27c863(),_0x55f82d[_0xf0ab68([0x6f,0x66,0x66])]());});}))];return window[_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf0ab68([0x72,0x61,0x63,0x65])](_0x44c065)[_0xf0ab68([0x74,0x68,0x65,0x6e])](()=>_0x331be0);}async function _0x530ff3(){await _0x26ddd3,_0x426c62[_0xf0ab68([0x6d,0x6f,0x64,0x65,0x6c])][_0xf0ab68([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ec11a,_0x426c62[_0xf0ab68([0x6d,0x6f,0x64,0x65,0x6c])][_0xf0ab68([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ec11a,_0x426c62[_0xf0ab68([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf0ab68([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x85e411(_0x48ddcf){const _0x4f01d6=_0x3106e9();_0x426c62[_0x4f01d6]=_0xf0ab68([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])+_0x48ddcf,_0x48ddcf!=_0xf0ab68([0x56,0x61,0x6c,0x69,0x64])&&_0x530ff3();}function _0x3106e9(){const _0x13cff1=window[_0xf0ab68([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf0ab68([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf0ab68([0x6e,0x6f,0x77])]())[_0xf0ab68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf0ab68([0x2e]),'');let _0x4a10f6=_0xf0ab68([0x4c]);for(let _0x4a329c=0x0;_0x4a329c<_0x13cff1[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a329c+=0x2){let _0x5e8959=window[_0xf0ab68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13cff1[_0xf0ab68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a329c,_0x4a329c+0x2));_0x5e8959>=_0x3a3c99[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e8959-=_0x3a3c99[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a10f6+=_0x3a3c99[_0x5e8959];}return _0x4a10f6;}function _0x569e2c(){const _0x24dbf0=_0x9b4f0c[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])](_0xf0ab68([0x2e]));if(0x3!=_0x24dbf0[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x45e2d7(_0x24dbf0[0x1]);function _0x45e2d7(_0x502bae){const _0x59b8fd=_0x3b3c93(_0x502bae);return _0x59b8fd&&_0x2b0e5e()?_0x59b8fd:null;function _0x2b0e5e(){const _0x16de5c=_0x59b8fd[_0xf0ab68([0x6a,0x74,0x69])],_0x22fbbe=window[_0xf0ab68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16de5c[_0xf0ab68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16de5c[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2be026={..._0x59b8fd,[_0xf0ab68([0x6a,0x74,0x69])]:_0x16de5c[_0xf0ab68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16de5c[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2be026[_0xf0ab68([0x76,0x63])],_0x10d9db(_0x2be026)==_0x22fbbe;}}}async function _0x34b604(){let _0x47d632=!0x0;try{const _0x26206e=_0x9b4f0c[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])](_0xf0ab68([0x2e])),[_0x37b09f,_0x40a466,_0x1314a0]=_0x26206e;return _0x377e25(_0x37b09f),await _0x475783(_0x37b09f,_0x40a466,_0x1314a0),_0x47d632;}catch{return!0x1;}function _0x377e25(_0x3f7cc5){const _0xe451cf=_0x3b3c93(_0x3f7cc5);_0xe451cf&&_0xe451cf[_0xf0ab68([0x61,0x6c,0x67])]==_0xf0ab68([0x45,0x53,0x32,0x35,0x36])||(_0x47d632=!0x1);}async function _0x475783(_0x1a1776,_0x3e8629,_0x4726cc){const _0x4f8a6f=window[_0xf0ab68([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf0ab68([0x66,0x72,0x6f,0x6d])](_0x2235be(_0x4726cc),_0x23586=>_0x23586[_0xf0ab68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x389ca4=new window[(_0xf0ab68([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf0ab68([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a1776+_0xf0ab68([0x2e])+_0x3e8629),_0x3d13fb=window[_0xf0ab68([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf0ab68([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d13fb)return;const _0x2d7d2e=await _0x3d13fb[_0xf0ab68([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf0ab68([0x6a,0x77,0x6b]),_0x4fc48f,{[_0xf0ab68([0x6e,0x61,0x6d,0x65])]:_0xf0ab68([0x45,0x43,0x44,0x53,0x41]),[_0xf0ab68([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf0ab68([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf0ab68([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d13fb[_0xf0ab68([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf0ab68([0x6e,0x61,0x6d,0x65])]:_0xf0ab68([0x45,0x43,0x44,0x53,0x41]),[_0xf0ab68([0x68,0x61,0x73,0x68])]:{[_0xf0ab68([0x6e,0x61,0x6d,0x65])]:_0xf0ab68([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d7d2e,_0x4f8a6f,_0x389ca4)||(_0x47d632=!0x1);}}function _0x3b3c93(_0x133a88){return _0x133a88[_0xf0ab68([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf0ab68([0x65,0x79]))?JSON[_0xf0ab68([0x70,0x61,0x72,0x73,0x65])](_0x2235be(_0x133a88)):null;}function _0x2235be(_0x380084){return window[_0xf0ab68([0x61,0x74,0x6f,0x62])](_0x380084[_0xf0ab68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf0ab68([0x2b]))[_0xf0ab68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf0ab68([0x2f])));}function _0x10d9db(_0x5ddf77){let _0x139dcc=0x1505;function _0x445830(_0x417d44){for(let _0x4601f1=0x0;_0x4601f1<_0x417d44[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4601f1++){const _0x582992=_0x417d44[_0xf0ab68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4601f1);_0x139dcc=(_0x139dcc<<0x5)+_0x139dcc+_0x582992,_0x139dcc&=_0x139dcc;}}function _0x21cb28(_0x29df56){Array[_0xf0ab68([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29df56)?_0x29df56[_0xf0ab68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21cb28):_0x29df56&&typeof _0x29df56==_0xf0ab68([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf0ab68([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29df56)[_0xf0ab68([0x73,0x6f,0x72,0x74])]()[_0xf0ab68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e7088,_0x5467a5])=>{_0x445830(_0x1e7088),_0x21cb28(_0x5467a5);}):_0x445830(window[_0xf0ab68([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29df56));}return _0x21cb28(_0x5ddf77),_0x139dcc>>>0x0;}function _0x104680(_0x3ccd01){return _0x3ccd01[_0xf0ab68([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf0ab68([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf0ab68([0x30]));}function _0x5721cb(_0x3f8b4f){return _0x3f8b4f[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf0ab68([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf0ab68([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ec11a(){}function _0xf0ab68(_0x3929e6){const _0x228f82=_0x38ea;return _0x3929e6[_0x228f82(0x1da)](_0xf18e22=>String[_0x228f82(0x1fc)](_0xf18e22))[_0x228f82(0x1f4)]('');}_0x85e411(await _0x5ca391());}(this);}[_0xca409d(0x1e5)](_0x375398,_0x388a21,_0x4991b5=!0x1){const _0x5e1298=_0xca409d,_0x1dc739=new _0x375398(this[_0x5e1298(0x1e4)][_0x5e1298(0x1df)]);return _0x1dc739[_0x5e1298(0x1fa)]({'withText':_0x4991b5,'isToggleable':!0x1}),_0x1dc739[_0x5e1298(0x1db)](_0x5e1298(0x1c7))['to'](_0x388a21,_0x5e1298(0x1c7)),this[_0x5e1298(0x1d2)](_0x1dc739,_0x5e1298(0x1d1),()=>_0x388a21[_0x5e1298(0x1d1)]()),_0x1dc739;}[_0xca409d(0x1ca)](){const _0x4e1bb1=_0xca409d,_0x25b3e1=this[_0x4e1bb1(0x1e4)][_0x4e1bb1(0x1df)];this[_0x4e1bb1(0x1e4)][_0x4e1bb1(0x1f7)][_0x4e1bb1(0x1be)]({'id':_0x4e1bb1(0x1cc),'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1ee))});const _0x2b4ec8=_0x1cd441[_0x4e1bb1(0x1bd)]||_0x1cd441[_0x4e1bb1(0x1ce)];this[_0x4e1bb1(0x1e4)][_0x4e1bb1(0x1f7)][_0x4e1bb1(0x1dc)]({'categoryId':_0x4e1bb1(0x1cc),'keystrokes':[{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1d7)),'keystroke':_0x4e1bb1(0x1f3)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1a9)),'keystroke':_0x4e1bb1(0x1c8)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1c6)),'keystroke':_0x4e1bb1(0x1ed)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1b2)),'keystroke':_0x4e1bb1(0x1b3)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1c5)),'keystroke':_0x4e1bb1(0x1c0)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1f0)),'keystroke':_0x4e1bb1(0x1d5)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1b1)),'keystroke':_0x2b4ec8?_0x4e1bb1(0x1ba):_0x4e1bb1(0x1e1)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1f1)),'keystroke':_0x4e1bb1(0x1d4)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1d9)),'keystroke':_0x4e1bb1(0x1e3)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1b4)),'keystroke':[[_0x4e1bb1(0x1f5)],[_0x4e1bb1(0x1e7)]]},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1e6)),'keystroke':_0x2b4ec8?_0x4e1bb1(0x1ec):_0x4e1bb1(0x1d8)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1a7)),'keystroke':_0x2b4ec8?_0x4e1bb1(0x1c2):_0x4e1bb1(0x1b8)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1f2)),'keystroke':_0x4e1bb1(0x1a6)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1bc)),'keystroke':_0x4e1bb1(0x1fb)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1f8)),'keystroke':_0x4e1bb1(0x1ad)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1c4)),'keystroke':_0x4e1bb1(0x1e9)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1cb)),'keystroke':_0x2b4ec8?_0x4e1bb1(0x1b5):_0x4e1bb1(0x1c1)}]});}}
|