@ckeditor/ckeditor5-source-editing-enhanced 46.0.1-alpha.10 → 46.0.1-alpha.11
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 _0x11596f,PendingActions as _0x121673,Plugin as _0x5e34cf}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x299ea4,formatHtml as _0x466f3a,env as _0x3bc321,uid as _0x3108eb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x33f767}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1b5367,ButtonView as _0x40ebc5,MenuBarMenuListItemButtonView as _0x54c3fe}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x470da7,crosshairCursor as _0x6c84b7,drawSelection as _0x4c2636,dropCursor as _0x2ee01c,lineNumbers as _0x843363,highlightActiveLine as _0x4aa738,highlightActiveLineGutter as _0x30c9e7,highlightSpecialChars as _0x4bfc61,rectangularSelection as _0x3c860e,keymap as _0x1d4798}from'@codemirror/view';import{Compartment as _0x24be85,Transaction as _0x3a813f}from'@codemirror/state';import{bracketMatching as _0x12f1de,foldGutter as _0x340afd,indentOnInput as _0x3266e6,syntaxHighlighting as _0x7dfa54,defaultHighlightStyle as _0x339633,foldKeymap as _0x4bf7d7}from'@codemirror/language';import{toggleTabFocusMode as _0x5942b7,history as _0x405ae1,defaultKeymap as _0x1f78f6,historyKeymap as _0x4a225e,indentLess as _0x472435,indentMore as _0x22570e,redo as _0xdb5e8d,undo as _0x49308f}from'@codemirror/commands';import{autocompletion as _0x255e41,closeBrackets as _0x52ca45,closeBracketsKeymap as _0x56e0e0,completionKeymap as _0x539bc7}from'@codemirror/autocomplete';import{html as _0x49634c}from'@codemirror/lang-html';import{markdown as _0x4c46e9}from'@codemirror/lang-markdown';import{oneDark as _0x698fee}from'@codemirror/theme-one-dark';function w(_0x1fc262,_0x339348){const t=_0x1fc262['t'];switch(_0x339348){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 _0x339348;}}function r(_0x4e4ac9){const _0x5db137=_0x4e4ac9['editing']['view']['document']['roots'],_0x23382e=_0x5db137['length'];if(0x0===_0x23382e)throw new _0x299ea4('source-editing-enhanced-editor-no-root',_0x4e4ac9);if(0x1===_0x23382e)return _0x5db137['first']['rootName'];return Array['from'](_0x4e4ac9['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x745d){return tr(_0x745d['replace'](/^[\n\s]*/g,''))?_0x745d['replace'](/\s+/g,''):_0x745d;}function tr(_0x5955c6){return _0x5955c6['startsWith']('<');}function p(_0x1f54a7){const _0x32e42a=[_0x470da7['lineWrapping'],_0x255e41(),_0x12f1de(),_0x52ca45(),_0x6c84b7(),_0x4c2636(),_0x2ee01c(),_0x843363(),_0x340afd(),_0x4aa738(),_0x30c9e7(),_0x4bfc61(),_0x405ae1(),_0x3266e6(),_0x3c860e(),_0x7dfa54(_0x339633,{'fallback':!0x0})],_0x11c5e5=new _0x24be85();_0x32e42a['push'](_0x11c5e5['of'](_0x470da7['editable']['of'](!0x0))),'html'===_0x1f54a7['syntaxLanguage']?_0x32e42a['push'](_0x49634c()):_0x32e42a['push'](_0x4c46e9());const _0x44b982=function(_0x52cdba){if(_0x52cdba&&'default'!==_0x52cdba)return'dark'===_0x52cdba?_0x698fee:_0x52cdba;return null;}(_0x1f54a7['theme']);_0x44b982&&_0x32e42a['push'](_0x44b982),_0x32e42a['push'](_0x1d4798['of']([..._0x56e0e0,..._0x1f78f6,..._0x4a225e,..._0x4bf7d7,..._0x539bc7,{'key':'Tab','run':_0x22570e,'shift':_0x472435,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xdb5e8d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xdb5e8d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x49308f,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x26047e=new _0x470da7({'extensions':_0x32e42a,'parent':_0x1f54a7['parent']});return _0x5942b7(_0x26047e),{'focus':()=>{_0x26047e['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x26047e['focus']();},'getData':()=>_0x26047e['state']['doc']['toString'](),'setData':_0x42dc3a=>{_0x26047e['dispatch']({'changes':{'from':0x0,'to':_0x26047e['state']['doc']['length'],'insert':_0x42dc3a},'annotations':_0x3a813f['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2f7a8e=>{_0x26047e['dispatch']({'effects':[_0x11c5e5['reconfigure'](_0x470da7['editable']['of'](!_0x2f7a8e))]});},'destroy':()=>{_0x26047e['destroy']();},'instance':_0x26047e};}class E extends _0x1b5367{['_codeEditorApi']=null;['_options'];constructor(_0x577da3,_0x2414f2){super(_0x577da3),this['_options']=_0x2414f2,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',(_0xbd6d57,_0x5d3481,_0x3138b)=>{this['setReadOnly'](_0x3138b);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4b26d1){this['_codeEditorApi']['setData'](_0x4b26d1);}['setReadOnly'](_0x1bfaa9){this['_codeEditorApi']['setReadOnly'](_0x1bfaa9);}}const b='SourceEditingEnhancedMode';class d extends _0x11596f{constructor(_0x4a8ab1){super(_0x4a8ab1),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x121673)['on']('change:hasAny',(_0x21b05f,_0x213a88,_0x4fb2b5)=>{_0x4fb2b5?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4d0919=this['editor'];for(const _0xa2000d of _0x4d0919['commands']['names']())['replaceSource','editSource']['includes'](_0xa2000d)||_0x4d0919['commands']['get'](_0xa2000d)['forceDisabled'](b);}['_enableCommands'](){const _0x1455c1=this['editor'];for(const _0x33e679 of _0x1455c1['commands']['commands']())_0x33e679['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x40863c=this['editor'],_0x70bbcc=_0x40863c['locale'],_0x50e740=_0x40863c['plugins']['get']('Dialog'),_0x2e71f8=r(_0x40863c),_0x3dc276=_0x40863c['data']['get']({'rootName':_0x2e71f8}),_0xef3a73=tr(_0x301bae=_0x3dc276)?_0x466f3a(_0x301bae):_0x301bae;var _0x301bae;const _0x3a08ad=new E(_0x70bbcc,{'syntaxLanguage':_0x40863c['plugins']['has']('Markdown')?'markdown':'html','theme':_0x40863c['config']['get']('sourceEditingEnhanced.theme')});let _0x282ae2=!0x0;const _0x40d05c=_0x335007=>{if(!_0x282ae2)return;return g(_0x3a08ad['getData']())!==g(_0xef3a73)?window['confirm'](w(_0x70bbcc,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x335007['stop']():void 0x0;};_0x50e740['show']({'id':'sourceEditingEnhanced','title':w(_0x70bbcc,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3a08ad,'actionButtons':[{'label':w(_0x70bbcc,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x50e740['hide']();}},{'label':w(_0x70bbcc,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x26bfa8=g(_0x3a08ad['getData']())!==g(_0xef3a73);(_0x26bfa8&&_0x40863c['execute']('replaceSource',_0x3a08ad['getData']()),_0x282ae2=!0x1,_0x50e740['hide'](),_0x26bfa8&&'editables'in _0x40863c['ui']['view'])&&_0x40863c['ui']['view']['editables'][_0x2e71f8]['element']['focus']();},'onCreate':_0x5f3659=>{_0x5f3659['set']('isEnabled',!_0x40863c['isReadOnly']),_0x5f3659['bind']('isEnabled')['to'](_0x40863c,'isReadOnly',this,'isEnabled',(_0x4dc94b,_0x1c69fc)=>!_0x4dc94b&&_0x1c69fc);}}],'onHide':()=>{this['_enableCommands'](),_0x50e740['off']('hide',_0x40d05c),_0x3a08ad['destroy']();},'onShow':()=>{_0x3a08ad['bind']('isReadOnly')['to'](_0x40863c,'isReadOnly',this,'isEnabled',(_0x47fa12,_0x477de7)=>_0x47fa12||!_0x477de7),_0x3a08ad['setData'](_0xef3a73),_0x3a08ad['focus'](),_0x50e740['on']('hide',_0x40d05c,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x5e34cf{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x121673];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f74c1=this['editor'],_0x5c7bec=_0x4f74c1['locale'],_0x48ad3a=new d(_0x4f74c1);_0x4f74c1['commands']['add']('editSource',_0x48ad3a),_0x4f74c1['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3d042a=this['_createButton'](_0x40ebc5,_0x48ad3a);return _0x3d042a['set']({'label':w(_0x5c7bec,'Source'),'icon':_0x33f767,'tooltip':w(_0x5c7bec,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3d042a;}),_0x4f74c1['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x1105a9=this['_createButton'](_0x54c3fe,_0x48ad3a,!0x0);return _0x1105a9['set']({'label':w(_0x5c7bec,'Edit\x20source\x20modal\x20label'),'icon':_0x33f767,'role':'menuitemcheckbox'}),_0x1105a9;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x41f4f4){const _0x30caa5=_0x25d92c([0x50,0x30,0x4c,0x55,0x31,0x6d,0x43,0x51,0x69,0x65,0x63,0x35,0x5a,0x75,0x70,0x68,0x78,0x62,0x56,0x6e,0x4b,0x33,0x4a,0x45,0x53,0x57,0x67,0x47,0x58,0x46,0x37,0x39,0x48,0x71,0x34,0x32,0x59,0x66,0x6c,0x49,0x61,0x52,0x6f,0x76,0x64,0x41,0x42,0x4f,0x7a,0x36,0x6b,0x4d,0x44,0x79,0x4e,0x38,0x77,0x54,0x72,0x73,0x6a,0x74]),_0x3a1270=0x7b6d9703,_0x209036=0x7b6af8cb^_0x3a1270,_0x7f2c34=window[_0x25d92c([0x44,0x61,0x74,0x65])][_0x25d92c([0x6e,0x6f,0x77])](),_0x2cbf70=_0x41f4f4[_0x25d92c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41c7e3=new window[(_0x25d92c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xec4a3f=>{_0x2cbf70[_0x25d92c([0x6f,0x6e,0x63,0x65])](_0x25d92c([0x72,0x65,0x61,0x64,0x79]),_0xec4a3f);}),_0x4a158a={[_0x25d92c([0x6b,0x74,0x79])]:_0x25d92c([0x45,0x43]),[_0x25d92c([0x75,0x73,0x65])]:_0x25d92c([0x73,0x69,0x67]),[_0x25d92c([0x63,0x72,0x76])]:_0x25d92c([0x50,0x2d,0x32,0x35,0x36]),[_0x25d92c([0x78])]:_0x25d92c([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]),[_0x25d92c([0x79])]:_0x25d92c([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]),[_0x25d92c([0x61,0x6c,0x67])]:_0x25d92c([0x45,0x53,0x32,0x35,0x36])},_0x1468aa=_0x2cbf70[_0x25d92c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x25d92c([0x67,0x65,0x74])](_0x25d92c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d14bc(){let _0x2c82d4,_0x367256=null,_0x444736=null;try{if(_0x1468aa==_0x25d92c([0x47,0x50,0x4c]))return _0x25d92c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c82d4=_0x482959(),!_0x2c82d4)return _0x25d92c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c82d4[_0x25d92c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x444736=_0x372f44(_0x2c82d4[_0x25d92c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c82d4[_0x25d92c([0x6a,0x74,0x69])])),await _0x274785()?_0x164d00()?_0x143c16()?_0x25d92c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35f89f()?(_0x2c82d4[_0x25d92c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25d92c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x367256=_0x45421e(_0x25d92c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c82d4[_0x25d92c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25d92c([0x74,0x72,0x69,0x61,0x6c])&&(_0x367256=_0x45421e(_0x25d92c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f2d55()):_0x25d92c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x25d92c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x25d92c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x25d92c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x143c16(){const _0x2d79e2=[_0x25d92c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x25d92c([0x74,0x72,0x69,0x61,0x6c])][_0x25d92c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c82d4[_0x25d92c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7f2c34/0x3e8:0xe10*_0x209036;return _0x2c82d4[_0x25d92c([0x65,0x78,0x70])]<_0x2d79e2;}function _0x164d00(){const _0x29e8a0=_0x2c82d4[_0x25d92c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29e8a0&&(!!_0x29e8a0[_0x25d92c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25d92c([0x2a]))||!!_0x29e8a0[_0x25d92c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25d92c([0x53,0x45,0x45])));}function _0x35f89f(){const _0x5054e0=_0x2c82d4[_0x25d92c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5054e0||0x0==_0x5054e0[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2780b7}=new URL(window[_0x25d92c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5054e0[_0x25d92c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2780b7))return!0x0;const _0x44c968=_0x2780b7[_0x25d92c([0x73,0x70,0x6c,0x69,0x74])](_0x25d92c([0x2e]));return _0x5054e0[_0x25d92c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14a770=>_0x14a770[_0x25d92c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25d92c([0x2a])))[_0x25d92c([0x6d,0x61,0x70])](_0x4c8e32=>_0x4c8e32[_0x25d92c([0x73,0x70,0x6c,0x69,0x74])](_0x25d92c([0x2e])))[_0x25d92c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37ded6=>_0x37ded6[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44c968[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25d92c([0x6d,0x61,0x70])](_0xb31456=>Array(_0x44c968[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb31456[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25d92c([0x66,0x69,0x6c,0x6c])](_0xb31456[0x0]===_0x25d92c([0x2a])?_0x25d92c([0x2a]):'')[_0x25d92c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb31456))[_0x25d92c([0x73,0x6f,0x6d,0x65])](_0x2e8cfe=>_0x44c968[_0x25d92c([0x65,0x76,0x65,0x72,0x79])]((_0x169240,_0x3f5816)=>_0x2e8cfe[_0x3f5816]===_0x169240||_0x2e8cfe[_0x3f5816]===_0x25d92c([0x2a])));}function _0x4f2d55(){return _0x367256&&_0x444736?new window[(_0x25d92c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29ce85,_0x21bfe0)=>{_0x367256[_0x25d92c([0x74,0x68,0x65,0x6e])](_0x29ce85,_0x21bfe0),_0x444736[_0x25d92c([0x74,0x68,0x65,0x6e])](_0x90ac93=>{_0x90ac93!=_0x25d92c([0x56,0x61,0x6c,0x69,0x64])&&_0x29ce85(_0x90ac93);},_0x21bfe0);}):_0x367256||_0x444736||_0x25d92c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x372f44(_0x20addd,_0x4be3b2){return new window[(_0x25d92c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d3aad=>{if(_0x7a2b6d())return _0x2d3aad(_0x25d92c([0x56,0x61,0x6c,0x69,0x64]));_0xa61798(),_0x2cbf70[_0x25d92c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x25d92c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2253b9=!0x1;const _0xf4f7b6=_0x3108eb();function _0xb599c2(_0x4a81f2){return!!_0x4a81f2&&(typeof _0x4a81f2===_0x25d92c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a81f2===_0x25d92c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a81f2[_0x25d92c([0x74,0x68,0x65,0x6e])]===_0x25d92c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a81f2[_0x25d92c([0x63,0x61,0x74,0x63,0x68])]===_0x25d92c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x233929(_0x2c9feb){_0x576128(_0x2c9feb)[_0x25d92c([0x74,0x68,0x65,0x6e])](_0x266752=>{if(!_0x266752||_0x266752[_0x25d92c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x25d92c([0x6f,0x6b]))return _0x25d92c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x503f5d(_0x39ad07(_0xf4f7b6+_0x4be3b2))!=_0x266752[_0x25d92c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x25d92c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x25d92c([0x56,0x61,0x6c,0x69,0x64]);})[_0x25d92c([0x74,0x68,0x65,0x6e])](_0x216cc1=>(_0x3af810(),_0x216cc1),()=>{const _0x3bf85b=_0x205807();return null==_0x3bf85b?(_0x3af810(),_0x25d92c([0x56,0x61,0x6c,0x69,0x64])):_0x25d92c(_0x7f2c34-_0x3bf85b>(0x5f611303^_0x3a1270)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x25d92c([0x74,0x68,0x65,0x6e])](_0x2d3aad)[_0x25d92c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d3aad(_0x25d92c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x247723=0x7b5b7983^_0x3a1270;function _0x3af810(){const _0x291bfb=_0x25d92c([0x6c,0x6c,0x63,0x74,0x2d])+_0x503f5d(_0x39ad07(_0x20addd)),_0x548830=_0x167b0c(_0x503f5d(window[_0x25d92c([0x4d,0x61,0x74,0x68])][_0x25d92c([0x63,0x65,0x69,0x6c])](_0x7f2c34/_0x247723)));window[_0x25d92c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25d92c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x291bfb,_0x548830);}function _0x205807(){const _0x2237e7=_0x25d92c([0x6c,0x6c,0x63,0x74,0x2d])+_0x503f5d(_0x39ad07(_0x20addd)),_0xb409b2=window[_0x25d92c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25d92c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2237e7);return _0xb409b2?window[_0x25d92c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x167b0c(_0xb409b2),0x10)*_0x247723:null;}function _0x576128(_0x350898){return new window[(_0x25d92c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe628ca,_0x249974)=>{_0x350898[_0x25d92c([0x74,0x68,0x65,0x6e])](_0xe628ca,_0x249974),window[_0x25d92c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x249974,0x7b6c43c3^_0x3a1270);});}}_0x2cbf70[_0x25d92c([0x6f,0x6e])](_0x25d92c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x159f79,_0xf79b6e)=>{if(_0xf79b6e[0x0]!=_0x20addd)return _0x2d3aad(_0x25d92c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf79b6e[0x1]={..._0xf79b6e[0x1],[_0x25d92c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf4f7b6};},{[_0x25d92c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25d92c([0x68,0x69,0x67,0x68])}),_0x2cbf70[_0x25d92c([0x6f,0x6e])](_0x25d92c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e166c=>{_0xb599c2(_0x5e166c[_0x25d92c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2253b9=!0x0,_0x233929(_0x5e166c[_0x25d92c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x25d92c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25d92c([0x6c,0x6f,0x77])}),_0x41c7e3[_0x25d92c([0x74,0x68,0x65,0x6e])](()=>{_0x2253b9||_0x2d3aad(_0x25d92c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7a2b6d(){return _0x2cbf70[_0x25d92c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25d92c([0x76,0x69,0x65,0x77])][_0x25d92c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x25d92c([0x61,0x75,0x74,0x6f]);}function _0xa61798(){_0x2cbf70[_0x25d92c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25d92c([0x76,0x69,0x65,0x77])][_0x25d92c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x25d92c([0x61,0x75,0x74,0x6f]);}}function _0x45421e(_0x567623){const _0x501c21=[new window[(_0x25d92c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f583a=>setTimeout(_0x2f583a,0x7b64a9cf^_0x3a1270)),_0x41c7e3[_0x25d92c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x25d92c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x425d54=>{let _0x4f4154=0x0;_0x2cbf70[_0x25d92c([0x6d,0x6f,0x64,0x65,0x6c])][_0x25d92c([0x6f,0x6e])](_0x25d92c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e38fc,_0x36eda2)=>{_0x36eda2[0x0][_0x25d92c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f4154++,_0x4f4154==(0x7b6d96fb^_0x3a1270)&&(_0x425d54(),_0x3e38fc[_0x25d92c([0x6f,0x66,0x66])]());});}))];return window[_0x25d92c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x25d92c([0x72,0x61,0x63,0x65])](_0x501c21)[_0x25d92c([0x74,0x68,0x65,0x6e])](()=>_0x567623);}async function _0x35f24f(){await _0x41c7e3,_0x2cbf70[_0x25d92c([0x6d,0x6f,0x64,0x65,0x6c])][_0x25d92c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b207e,_0x2cbf70[_0x25d92c([0x6d,0x6f,0x64,0x65,0x6c])][_0x25d92c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b207e,_0x2cbf70[_0x25d92c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25d92c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa6995e(_0x2a7e53){const _0xfe83df=_0xf2f6e0();_0x2cbf70[_0xfe83df]=_0x25d92c([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])+_0x2a7e53,_0x2a7e53!=_0x25d92c([0x56,0x61,0x6c,0x69,0x64])&&_0x35f24f();}function _0xf2f6e0(){const _0x431ad4=window[_0x25d92c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x25d92c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x25d92c([0x6e,0x6f,0x77])]())[_0x25d92c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x25d92c([0x2e]),'');let _0x5751ff=_0x25d92c([0x50]);for(let _0x5b59f4=0x0;_0x5b59f4<_0x431ad4[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b59f4+=0x2){let _0x1cd7ae=window[_0x25d92c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x431ad4[_0x25d92c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b59f4,_0x5b59f4+0x2));_0x1cd7ae>=_0x30caa5[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1cd7ae-=_0x30caa5[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5751ff+=_0x30caa5[_0x1cd7ae];}return _0x5751ff;}function _0x482959(){const _0x46aad1=_0x1468aa[_0x25d92c([0x73,0x70,0x6c,0x69,0x74])](_0x25d92c([0x2e]));if(0x3!=_0x46aad1[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4770df(_0x46aad1[0x1]);function _0x4770df(_0x30af05){const _0x433478=_0x4c868b(_0x30af05);return _0x433478&&_0x165510()?_0x433478:null;function _0x165510(){const _0x511b0b=_0x433478[_0x25d92c([0x6a,0x74,0x69])],_0x23c740=window[_0x25d92c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x511b0b[_0x25d92c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x511b0b[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2656ac={..._0x433478,[_0x25d92c([0x6a,0x74,0x69])]:_0x511b0b[_0x25d92c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x511b0b[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2656ac[_0x25d92c([0x76,0x63])],_0x39ad07(_0x2656ac)==_0x23c740;}}}async function _0x274785(){let _0x33bc73=!0x0;try{const _0x91852=_0x1468aa[_0x25d92c([0x73,0x70,0x6c,0x69,0x74])](_0x25d92c([0x2e])),[_0x20bc48,_0x5e95a2,_0x313f4f]=_0x91852;return _0x2d2f9b(_0x20bc48),await _0x41c15d(_0x20bc48,_0x5e95a2,_0x313f4f),_0x33bc73;}catch{return!0x1;}function _0x2d2f9b(_0x45a74b){const _0x5c1d32=_0x4c868b(_0x45a74b);_0x5c1d32&&_0x5c1d32[_0x25d92c([0x61,0x6c,0x67])]==_0x25d92c([0x45,0x53,0x32,0x35,0x36])||(_0x33bc73=!0x1);}async function _0x41c15d(_0x4844c6,_0x4a19d3,_0x30cecb){const _0x52839a=window[_0x25d92c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x25d92c([0x66,0x72,0x6f,0x6d])](_0x10874e(_0x30cecb),_0x51d5a2=>_0x51d5a2[_0x25d92c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23068f=new window[(_0x25d92c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x25d92c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4844c6+_0x25d92c([0x2e])+_0x4a19d3),_0x407624=window[_0x25d92c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x25d92c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x407624)return;const _0x375db6=await _0x407624[_0x25d92c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x25d92c([0x6a,0x77,0x6b]),_0x4a158a,{[_0x25d92c([0x6e,0x61,0x6d,0x65])]:_0x25d92c([0x45,0x43,0x44,0x53,0x41]),[_0x25d92c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x25d92c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x25d92c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x407624[_0x25d92c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x25d92c([0x6e,0x61,0x6d,0x65])]:_0x25d92c([0x45,0x43,0x44,0x53,0x41]),[_0x25d92c([0x68,0x61,0x73,0x68])]:{[_0x25d92c([0x6e,0x61,0x6d,0x65])]:_0x25d92c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x375db6,_0x52839a,_0x23068f)||(_0x33bc73=!0x1);}}function _0x4c868b(_0x33aff7){return _0x33aff7[_0x25d92c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x25d92c([0x65,0x79]))?JSON[_0x25d92c([0x70,0x61,0x72,0x73,0x65])](_0x10874e(_0x33aff7)):null;}function _0x10874e(_0x1e64d5){return window[_0x25d92c([0x61,0x74,0x6f,0x62])](_0x1e64d5[_0x25d92c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x25d92c([0x2b]))[_0x25d92c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x25d92c([0x2f])));}function _0x39ad07(_0x7c62d5){let _0x47a314=0x1505;function _0xa77e6e(_0x57b390){for(let _0x271bac=0x0;_0x271bac<_0x57b390[_0x25d92c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x271bac++){const _0x5d6de8=_0x57b390[_0x25d92c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x271bac);_0x47a314=(_0x47a314<<0x5)+_0x47a314+_0x5d6de8,_0x47a314&=_0x47a314;}}function _0x161957(_0x10c6c0){Array[_0x25d92c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10c6c0)?_0x10c6c0[_0x25d92c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x161957):_0x10c6c0&&typeof _0x10c6c0==_0x25d92c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x25d92c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10c6c0)[_0x25d92c([0x73,0x6f,0x72,0x74])]()[_0x25d92c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb70b7c,_0x54f464])=>{_0xa77e6e(_0xb70b7c),_0x161957(_0x54f464);}):_0xa77e6e(window[_0x25d92c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10c6c0));}return _0x161957(_0x7c62d5),_0x47a314>>>0x0;}function _0x503f5d(_0x1cdc24){return _0x1cdc24[_0x25d92c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x25d92c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x25d92c([0x30]));}function _0x167b0c(_0x213e91){return _0x213e91[_0x25d92c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x25d92c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x25d92c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b207e(){}function _0x25d92c(_0x1f65a6){return _0x1f65a6['map'](_0x3979ec=>String['fromCharCode'](_0x3979ec))['join']('');}_0xa6995e(await _0x4d14bc());}(this);}['_createButton'](_0x44562e,_0x3b380b,_0x3241f6=!0x1){const _0x577f04=new _0x44562e(this['editor']['locale']);return _0x577f04['set']({'withText':_0x3241f6,'isToggleable':!0x1}),_0x577f04['bind']('isEnabled')['to'](_0x3b380b,'isEnabled'),this['listenTo'](_0x577f04,'execute',()=>_0x3b380b['execute']()),_0x577f04;}['_registerKeybindings'](){const _0x20b24f=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x20b24f,'Source\x20Editing\x20Enhanced')});const _0x3b7bdc=_0x3bc321['isMac']||_0x3bc321['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x20b24f,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x20b24f,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x20b24f,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x20b24f,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x20b24f,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x20b24f,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x20b24f,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x3b7bdc?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x20b24f,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x20b24f,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x20b24f,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x20b24f,'Select\x20line'),'keystroke':_0x3b7bdc?'Ctrl!+L':'Alt+L'},{'label':w(_0x20b24f,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x3b7bdc?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x20b24f,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x20b24f,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x20b24f,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x20b24f,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x20b24f,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x3b7bdc?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x11596f{constructor(_0xa1e0c8){super(_0xa1e0c8),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xb93ad4,_0x85d3f7){const _0x24443c=this['editor'],_0x3c5879=_0x85d3f7?.['rootName']??r(_0x24443c);_0x24443c['data']['set']({[_0x3c5879]:_0xb93ad4},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x5e34cf{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x5207b0){super(_0x5207b0),_0x5207b0['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 _0xfa224f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4af25d;for(const _0x47daa9 in _0xfa224f){const _0x1254e4=_0x47daa9,_0x338758=_0xfa224f[_0x1254e4];if('sourceEditingEnhancedLicenseKeyValid'==_0x338758||'sourceEditingEnhancedLicenseKeyInvalid'==_0x338758||'sourceEditingEnhancedLicenseKeyExpired'==_0x338758||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x338758||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x338758||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x338758||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x338758||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x338758){delete _0xfa224f[_0x1254e4],_0x4af25d=_0x338758,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4af25d&&_0xfa224f['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4af25d&&_0xfa224f['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4af25d&&_0xfa224f['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4af25d&&_0xfa224f['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4af25d&&_0xfa224f['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4af25d&&_0xfa224f['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4af25d&&_0xfa224f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x28a8cd=this['editor'],_0x316c00=_0x28a8cd['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x316c00&&_0x28a8cd['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x299ea4('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x316c00&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x53dc3d=>_0x28a8cd['plugins']['has'](_0x53dc3d))&&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.'),_0x28a8cd['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 _0x19fbca,PendingActions as _0x420b02,Plugin as _0x2461fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x47f969,formatHtml as _0x28bff2,env as _0x4dfe44,uid as _0x5ee11c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0xce44}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x218c97,ButtonView as _0x4f40fa,MenuBarMenuListItemButtonView as _0x2749f3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x332959,crosshairCursor as _0x445338,drawSelection as _0x4fbb64,dropCursor as _0x3e4321,lineNumbers as _0x101588,highlightActiveLine as _0x52b087,highlightActiveLineGutter as _0x37ec30,highlightSpecialChars as _0x20c6fb,rectangularSelection as _0x4c671f,keymap as _0x3b83c4}from'@codemirror/view';import{Compartment as _0x4131bc,Transaction as _0x1c742a}from'@codemirror/state';import{bracketMatching as _0x1454a7,foldGutter as _0x4c62dc,indentOnInput as _0x11681f,syntaxHighlighting as _0x4404c3,defaultHighlightStyle as _0x4318ba,foldKeymap as _0x1d20f0}from'@codemirror/language';import{toggleTabFocusMode as _0x12631a,history as _0x594a3f,defaultKeymap as _0x3caa80,historyKeymap as _0x50c51f,indentLess as _0x2a52fa,indentMore as _0x9f82a1,redo as _0xe7d251,undo as _0x553e94}from'@codemirror/commands';import{autocompletion as _0x54b98d,closeBrackets as _0x65b4bf,closeBracketsKeymap as _0x1c71bc,completionKeymap as _0xcdad3b}from'@codemirror/autocomplete';import{html as _0x3a7c75}from'@codemirror/lang-html';import{markdown as _0x35fbcb}from'@codemirror/lang-markdown';import{oneDark as _0x4bbbe1}from'@codemirror/theme-one-dark';function w(_0xd4b9e1,_0x308fcb){const t=_0xd4b9e1['t'];switch(_0x308fcb){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 _0x308fcb;}}function r(_0x2ebbd1){const _0x22a88e=_0x2ebbd1['editing']['view']['document']['roots'],_0x56b5af=_0x22a88e['length'];if(0x0===_0x56b5af)throw new _0x47f969('source-editing-enhanced-editor-no-root',_0x2ebbd1);if(0x1===_0x56b5af)return _0x22a88e['first']['rootName'];return Array['from'](_0x2ebbd1['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x2f1ca9){return tr(_0x2f1ca9['replace'](/^[\n\s]*/g,''))?_0x2f1ca9['replace'](/\s+/g,''):_0x2f1ca9;}function tr(_0x142a88){return _0x142a88['startsWith']('<');}function p(_0x3131a5){const _0x4f2022=[_0x332959['lineWrapping'],_0x54b98d(),_0x1454a7(),_0x65b4bf(),_0x445338(),_0x4fbb64(),_0x3e4321(),_0x101588(),_0x4c62dc(),_0x52b087(),_0x37ec30(),_0x20c6fb(),_0x594a3f(),_0x11681f(),_0x4c671f(),_0x4404c3(_0x4318ba,{'fallback':!0x0})],_0x283870=new _0x4131bc();_0x4f2022['push'](_0x283870['of'](_0x332959['editable']['of'](!0x0))),'html'===_0x3131a5['syntaxLanguage']?_0x4f2022['push'](_0x3a7c75()):_0x4f2022['push'](_0x35fbcb());const _0x465b42=function(_0x2e9690){if(_0x2e9690&&'default'!==_0x2e9690)return'dark'===_0x2e9690?_0x4bbbe1:_0x2e9690;return null;}(_0x3131a5['theme']);_0x465b42&&_0x4f2022['push'](_0x465b42),_0x4f2022['push'](_0x3b83c4['of']([..._0x1c71bc,..._0x3caa80,..._0x50c51f,..._0x1d20f0,..._0xcdad3b,{'key':'Tab','run':_0x9f82a1,'shift':_0x2a52fa,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xe7d251,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xe7d251,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x553e94,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x4e883c=new _0x332959({'extensions':_0x4f2022,'parent':_0x3131a5['parent']});return _0x12631a(_0x4e883c),{'focus':()=>{_0x4e883c['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4e883c['focus']();},'getData':()=>_0x4e883c['state']['doc']['toString'](),'setData':_0x2f43ac=>{_0x4e883c['dispatch']({'changes':{'from':0x0,'to':_0x4e883c['state']['doc']['length'],'insert':_0x2f43ac},'annotations':_0x1c742a['addToHistory']['of'](!0x1)});},'setReadOnly':_0x18f87f=>{_0x4e883c['dispatch']({'effects':[_0x283870['reconfigure'](_0x332959['editable']['of'](!_0x18f87f))]});},'destroy':()=>{_0x4e883c['destroy']();},'instance':_0x4e883c};}class E extends _0x218c97{['_codeEditorApi']=null;['_options'];constructor(_0x4d0ba5,_0x1084ab){super(_0x4d0ba5),this['_options']=_0x1084ab,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',(_0x2e7b30,_0x212b5c,_0x481275)=>{this['setReadOnly'](_0x481275);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5755f3){this['_codeEditorApi']['setData'](_0x5755f3);}['setReadOnly'](_0x368baa){this['_codeEditorApi']['setReadOnly'](_0x368baa);}}const b='SourceEditingEnhancedMode';class d extends _0x19fbca{constructor(_0x5a92f2){super(_0x5a92f2),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x420b02)['on']('change:hasAny',(_0x3107fd,_0x225593,_0x3487de)=>{_0x3487de?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x227e1a=this['editor'];for(const _0x57f5df of _0x227e1a['commands']['names']())['replaceSource','editSource']['includes'](_0x57f5df)||_0x227e1a['commands']['get'](_0x57f5df)['forceDisabled'](b);}['_enableCommands'](){const _0x41ba91=this['editor'];for(const _0x2e45ed of _0x41ba91['commands']['commands']())_0x2e45ed['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x83fe76=this['editor'],_0x392916=_0x83fe76['locale'],_0xbcf1ce=_0x83fe76['plugins']['get']('Dialog'),_0x163f2c=r(_0x83fe76),_0x35d982=_0x83fe76['data']['get']({'rootName':_0x163f2c}),_0x5230a7=tr(_0x5b4f95=_0x35d982)?_0x28bff2(_0x5b4f95):_0x5b4f95;var _0x5b4f95;const _0x3f9319=new E(_0x392916,{'syntaxLanguage':_0x83fe76['plugins']['has']('Markdown')?'markdown':'html','theme':_0x83fe76['config']['get']('sourceEditingEnhanced.theme')});let _0x3d0f9b=!0x0;const _0x11a87a=_0x5b6c01=>{if(!_0x3d0f9b)return;return g(_0x3f9319['getData']())!==g(_0x5230a7)?window['confirm'](w(_0x392916,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5b6c01['stop']():void 0x0;};_0xbcf1ce['show']({'id':'sourceEditingEnhanced','title':w(_0x392916,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3f9319,'actionButtons':[{'label':w(_0x392916,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xbcf1ce['hide']();}},{'label':w(_0x392916,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4f060a=g(_0x3f9319['getData']())!==g(_0x5230a7);(_0x4f060a&&_0x83fe76['execute']('replaceSource',_0x3f9319['getData']()),_0x3d0f9b=!0x1,_0xbcf1ce['hide'](),_0x4f060a&&'editables'in _0x83fe76['ui']['view'])&&_0x83fe76['ui']['view']['editables'][_0x163f2c]['element']['focus']();},'onCreate':_0x121c16=>{_0x121c16['set']('isEnabled',!_0x83fe76['isReadOnly']),_0x121c16['bind']('isEnabled')['to'](_0x83fe76,'isReadOnly',this,'isEnabled',(_0x27768b,_0x5451d3)=>!_0x27768b&&_0x5451d3);}}],'onHide':()=>{this['_enableCommands'](),_0xbcf1ce['off']('hide',_0x11a87a),_0x3f9319['destroy']();},'onShow':()=>{_0x3f9319['bind']('isReadOnly')['to'](_0x83fe76,'isReadOnly',this,'isEnabled',(_0x161734,_0x484b24)=>_0x161734||!_0x484b24),_0x3f9319['setData'](_0x5230a7),_0x3f9319['focus'](),_0xbcf1ce['on']('hide',_0x11a87a,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2461fc{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x420b02];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f440e=this['editor'],_0x96d61e=_0x1f440e['locale'],_0x281a54=new d(_0x1f440e);_0x1f440e['commands']['add']('editSource',_0x281a54),_0x1f440e['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x351567=this['_createButton'](_0x4f40fa,_0x281a54);return _0x351567['set']({'label':w(_0x96d61e,'Source'),'icon':_0xce44,'tooltip':w(_0x96d61e,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x351567;}),_0x1f440e['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x488eda=this['_createButton'](_0x2749f3,_0x281a54,!0x0);return _0x488eda['set']({'label':w(_0x96d61e,'Edit\x20source\x20modal\x20label'),'icon':_0xce44,'role':'menuitemcheckbox'}),_0x488eda;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x30a0d8){const _0x412b03=_0x1670c0([0x7a,0x45,0x75,0x46,0x5a,0x6d,0x77,0x36,0x32,0x69,0x6b,0x54,0x59,0x72,0x62,0x6a,0x38,0x49,0x55,0x67,0x30,0x76,0x37,0x4e,0x52,0x47,0x63,0x48,0x4c,0x71,0x31,0x74,0x6c,0x33,0x51,0x44,0x66,0x39,0x4a,0x57,0x4b,0x79,0x73,0x58,0x53,0x68,0x78,0x61,0x4f,0x6e,0x35,0x70,0x65,0x64,0x34,0x43,0x4d,0x42,0x41,0x50,0x56,0x6f]),_0x1a24e9=0x36242aa5,_0x57c6a8=0x36234545^_0x1a24e9,_0x457ac5=window[_0x1670c0([0x44,0x61,0x74,0x65])][_0x1670c0([0x6e,0x6f,0x77])](),_0x2a232e=_0x30a0d8[_0x1670c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49db12=new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x416d02=>{_0x2a232e[_0x1670c0([0x6f,0x6e,0x63,0x65])](_0x1670c0([0x72,0x65,0x61,0x64,0x79]),_0x416d02);}),_0x19c867={[_0x1670c0([0x6b,0x74,0x79])]:_0x1670c0([0x45,0x43]),[_0x1670c0([0x75,0x73,0x65])]:_0x1670c0([0x73,0x69,0x67]),[_0x1670c0([0x63,0x72,0x76])]:_0x1670c0([0x50,0x2d,0x32,0x35,0x36]),[_0x1670c0([0x78])]:_0x1670c0([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]),[_0x1670c0([0x79])]:_0x1670c0([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]),[_0x1670c0([0x61,0x6c,0x67])]:_0x1670c0([0x45,0x53,0x32,0x35,0x36])},_0x19debe=_0x2a232e[_0x1670c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1670c0([0x67,0x65,0x74])](_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f8062(){let _0x5ab0d0,_0x13bc04=null,_0x1345dd=null;try{if(_0x19debe==_0x1670c0([0x47,0x50,0x4c]))return _0x1670c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ab0d0=_0xb9807(),!_0x5ab0d0)return _0x1670c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ab0d0[_0x1670c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1345dd=_0x346cd3(_0x5ab0d0[_0x1670c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ab0d0[_0x1670c0([0x6a,0x74,0x69])])),await _0x3f0671()?_0x2020d1()?_0xe45acb()?_0x1670c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35a8d5()?(_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1670c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13bc04=_0x52fae5(_0x1670c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1670c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x13bc04=_0x52fae5(_0x1670c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x432f38()):_0x1670c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1670c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1670c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1670c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe45acb(){const _0x8c1b4=[_0x1670c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1670c0([0x74,0x72,0x69,0x61,0x6c])][_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x457ac5/0x3e8:0xe10*_0x57c6a8;return _0x5ab0d0[_0x1670c0([0x65,0x78,0x70])]<_0x8c1b4;}function _0x2020d1(){const _0x1ea4be=_0x5ab0d0[_0x1670c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ea4be&&(!!_0x1ea4be[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1670c0([0x2a]))||!!_0x1ea4be[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1670c0([0x53,0x45,0x45])));}function _0x35a8d5(){const _0x1985a1=_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1985a1||0x0==_0x1985a1[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39cd08}=new URL(window[_0x1670c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1985a1[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39cd08))return!0x0;const _0x464574=_0x39cd08[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e]));return _0x1985a1[_0x1670c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x288c2f=>_0x288c2f[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1670c0([0x2a])))[_0x1670c0([0x6d,0x61,0x70])](_0x4b0d81=>_0x4b0d81[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e])))[_0x1670c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44b37c=>_0x44b37c[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x464574[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1670c0([0x6d,0x61,0x70])](_0x2e37dc=>Array(_0x464574[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e37dc[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1670c0([0x66,0x69,0x6c,0x6c])](_0x2e37dc[0x0]===_0x1670c0([0x2a])?_0x1670c0([0x2a]):'')[_0x1670c0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e37dc))[_0x1670c0([0x73,0x6f,0x6d,0x65])](_0x32e014=>_0x464574[_0x1670c0([0x65,0x76,0x65,0x72,0x79])]((_0x4c464b,_0x4f8a8e)=>_0x32e014[_0x4f8a8e]===_0x4c464b||_0x32e014[_0x4f8a8e]===_0x1670c0([0x2a])));}function _0x432f38(){return _0x13bc04&&_0x1345dd?new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x130691,_0x428407)=>{_0x13bc04[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x130691,_0x428407),_0x1345dd[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x207849=>{_0x207849!=_0x1670c0([0x56,0x61,0x6c,0x69,0x64])&&_0x130691(_0x207849);},_0x428407);}):_0x13bc04||_0x1345dd||_0x1670c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x346cd3(_0x2abff8,_0x710b7b){return new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16130c=>{if(_0x3301ee())return _0x16130c(_0x1670c0([0x56,0x61,0x6c,0x69,0x64]));_0x5e9582(),_0x2a232e[_0x1670c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1670c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23224a=!0x1;const _0xa38248=_0x5ee11c();function _0x19776e(_0x15a3a2){return!!_0x15a3a2&&(typeof _0x15a3a2===_0x1670c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15a3a2===_0x1670c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15a3a2[_0x1670c0([0x74,0x68,0x65,0x6e])]===_0x1670c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15a3a2[_0x1670c0([0x63,0x61,0x74,0x63,0x68])]===_0x1670c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc35694(_0x4aba9b){_0x2d05fe(_0x4aba9b)[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x19d2ce=>{if(!_0x19d2ce||_0x19d2ce[_0x1670c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1670c0([0x6f,0x6b]))return _0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2990c1(_0x3b50b6(_0xa38248+_0x710b7b))!=_0x19d2ce[_0x1670c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1670c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x24b284=>(_0x442365(),_0x24b284),()=>{const _0x17e94d=_0x240b09();return null==_0x17e94d?(_0x442365(),_0x1670c0([0x56,0x61,0x6c,0x69,0x64])):_0x1670c0(_0x457ac5-_0x17e94d>(0x1228aea5^_0x1a24e9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x16130c)[_0x1670c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x16130c(_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b62d0=0x3612c425^_0x1a24e9;function _0x442365(){const _0x42c6cf=_0x1670c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2990c1(_0x3b50b6(_0x2abff8)),_0x269b14=_0x156b30(_0x2990c1(window[_0x1670c0([0x4d,0x61,0x74,0x68])][_0x1670c0([0x63,0x65,0x69,0x6c])](_0x457ac5/_0x3b62d0)));window[_0x1670c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1670c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42c6cf,_0x269b14);}function _0x240b09(){const _0x445d59=_0x1670c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2990c1(_0x3b50b6(_0x2abff8)),_0x38c0f7=window[_0x1670c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1670c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x445d59);return _0x38c0f7?window[_0x1670c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x156b30(_0x38c0f7),0x10)*_0x3b62d0:null;}function _0x2d05fe(_0x22bbf9){return new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31ffcb,_0x39b0b3)=>{_0x22bbf9[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x31ffcb,_0x39b0b3),window[_0x1670c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39b0b3,0x3625fe65^_0x1a24e9);});}}_0x2a232e[_0x1670c0([0x6f,0x6e])](_0x1670c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x481623,_0x39e70c)=>{if(_0x39e70c[0x0]!=_0x2abff8)return _0x16130c(_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39e70c[0x1]={..._0x39e70c[0x1],[_0x1670c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa38248};},{[_0x1670c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1670c0([0x68,0x69,0x67,0x68])}),_0x2a232e[_0x1670c0([0x6f,0x6e])](_0x1670c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f1099=>{_0x19776e(_0x1f1099[_0x1670c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23224a=!0x0,_0xc35694(_0x1f1099[_0x1670c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1670c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1670c0([0x6c,0x6f,0x77])}),_0x49db12[_0x1670c0([0x74,0x68,0x65,0x6e])](()=>{_0x23224a||_0x16130c(_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3301ee(){return _0x2a232e[_0x1670c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1670c0([0x76,0x69,0x65,0x77])][_0x1670c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1670c0([0x61,0x75,0x74,0x6f]);}function _0x5e9582(){_0x2a232e[_0x1670c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1670c0([0x76,0x69,0x65,0x77])][_0x1670c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1670c0([0x61,0x75,0x74,0x6f]);}}function _0x52fae5(_0x1a6b44){const _0x235739=[new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x303ead=>setTimeout(_0x303ead,0x362d1469^_0x1a24e9)),_0x49db12[_0x1670c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x69ae8d=>{let _0x2a76be=0x0;_0x2a232e[_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1670c0([0x6f,0x6e])](_0x1670c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13f3fb,_0x15fcc5)=>{_0x15fcc5[0x0][_0x1670c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a76be++,_0x2a76be==(0x36242b5d^_0x1a24e9)&&(_0x69ae8d(),_0x13f3fb[_0x1670c0([0x6f,0x66,0x66])]());});}))];return window[_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1670c0([0x72,0x61,0x63,0x65])](_0x235739)[_0x1670c0([0x74,0x68,0x65,0x6e])](()=>_0x1a6b44);}async function _0x7726ab(){await _0x49db12,_0x2a232e[_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1670c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x133d36,_0x2a232e[_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1670c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x133d36,_0x2a232e[_0x1670c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2830c8(_0x30c97d){const _0x1a0020=_0x430b57();_0x2a232e[_0x1a0020]=_0x1670c0([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])+_0x30c97d,_0x30c97d!=_0x1670c0([0x56,0x61,0x6c,0x69,0x64])&&_0x7726ab();}function _0x430b57(){const _0x44934a=window[_0x1670c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1670c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1670c0([0x6e,0x6f,0x77])]())[_0x1670c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1670c0([0x2e]),'');let _0x2f69b1=_0x1670c0([0x7a]);for(let _0x19ca17=0x0;_0x19ca17<_0x44934a[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19ca17+=0x2){let _0x419545=window[_0x1670c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44934a[_0x1670c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19ca17,_0x19ca17+0x2));_0x419545>=_0x412b03[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x419545-=_0x412b03[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f69b1+=_0x412b03[_0x419545];}return _0x2f69b1;}function _0xb9807(){const _0x2e5d05=_0x19debe[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e]));if(0x3!=_0x2e5d05[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x452637(_0x2e5d05[0x1]);function _0x452637(_0x112f22){const _0x4db2ee=_0x16837f(_0x112f22);return _0x4db2ee&&_0x5d2334()?_0x4db2ee:null;function _0x5d2334(){const _0x1a1bec=_0x4db2ee[_0x1670c0([0x6a,0x74,0x69])],_0x5c8481=window[_0x1670c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1bec[_0x1670c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a1bec[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc94ac0={..._0x4db2ee,[_0x1670c0([0x6a,0x74,0x69])]:_0x1a1bec[_0x1670c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a1bec[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc94ac0[_0x1670c0([0x76,0x63])],_0x3b50b6(_0xc94ac0)==_0x5c8481;}}}async function _0x3f0671(){let _0x44fe24=!0x0;try{const _0x14d24e=_0x19debe[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e])),[_0x45ac11,_0x28265a,_0x5a6e06]=_0x14d24e;return _0xed2620(_0x45ac11),await _0x35a233(_0x45ac11,_0x28265a,_0x5a6e06),_0x44fe24;}catch{return!0x1;}function _0xed2620(_0x2aedbf){const _0x30596f=_0x16837f(_0x2aedbf);_0x30596f&&_0x30596f[_0x1670c0([0x61,0x6c,0x67])]==_0x1670c0([0x45,0x53,0x32,0x35,0x36])||(_0x44fe24=!0x1);}async function _0x35a233(_0x434e85,_0x22da63,_0x5268b5){const _0x4e08f9=window[_0x1670c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1670c0([0x66,0x72,0x6f,0x6d])](_0x37870d(_0x5268b5),_0x4adfdf=>_0x4adfdf[_0x1670c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49f2dc=new window[(_0x1670c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1670c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x434e85+_0x1670c0([0x2e])+_0x22da63),_0x36fbc2=window[_0x1670c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1670c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36fbc2)return;const _0x72fce=await _0x36fbc2[_0x1670c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1670c0([0x6a,0x77,0x6b]),_0x19c867,{[_0x1670c0([0x6e,0x61,0x6d,0x65])]:_0x1670c0([0x45,0x43,0x44,0x53,0x41]),[_0x1670c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1670c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1670c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36fbc2[_0x1670c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1670c0([0x6e,0x61,0x6d,0x65])]:_0x1670c0([0x45,0x43,0x44,0x53,0x41]),[_0x1670c0([0x68,0x61,0x73,0x68])]:{[_0x1670c0([0x6e,0x61,0x6d,0x65])]:_0x1670c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x72fce,_0x4e08f9,_0x49f2dc)||(_0x44fe24=!0x1);}}function _0x16837f(_0x445e32){return _0x445e32[_0x1670c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1670c0([0x65,0x79]))?JSON[_0x1670c0([0x70,0x61,0x72,0x73,0x65])](_0x37870d(_0x445e32)):null;}function _0x37870d(_0x28ee56){return window[_0x1670c0([0x61,0x74,0x6f,0x62])](_0x28ee56[_0x1670c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1670c0([0x2b]))[_0x1670c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1670c0([0x2f])));}function _0x3b50b6(_0x4be98d){let _0x3beb47=0x1505;function _0x594c2e(_0x534143){for(let _0x2316c1=0x0;_0x2316c1<_0x534143[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2316c1++){const _0x2bb99b=_0x534143[_0x1670c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2316c1);_0x3beb47=(_0x3beb47<<0x5)+_0x3beb47+_0x2bb99b,_0x3beb47&=_0x3beb47;}}function _0x36a526(_0x35b9a4){Array[_0x1670c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35b9a4)?_0x35b9a4[_0x1670c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36a526):_0x35b9a4&&typeof _0x35b9a4==_0x1670c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1670c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35b9a4)[_0x1670c0([0x73,0x6f,0x72,0x74])]()[_0x1670c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fde64,_0x162ae3])=>{_0x594c2e(_0x3fde64),_0x36a526(_0x162ae3);}):_0x594c2e(window[_0x1670c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35b9a4));}return _0x36a526(_0x4be98d),_0x3beb47>>>0x0;}function _0x2990c1(_0xf2cee4){return _0xf2cee4[_0x1670c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1670c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1670c0([0x30]));}function _0x156b30(_0x28799e){return _0x28799e[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1670c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1670c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x133d36(){}function _0x1670c0(_0x2041ae){return _0x2041ae['map'](_0x589855=>String['fromCharCode'](_0x589855))['join']('');}_0x2830c8(await _0x4f8062());}(this);}['_createButton'](_0x5df9aa,_0x52f8c0,_0x4e7ae6=!0x1){const _0x3d3562=new _0x5df9aa(this['editor']['locale']);return _0x3d3562['set']({'withText':_0x4e7ae6,'isToggleable':!0x1}),_0x3d3562['bind']('isEnabled')['to'](_0x52f8c0,'isEnabled'),this['listenTo'](_0x3d3562,'execute',()=>_0x52f8c0['execute']()),_0x3d3562;}['_registerKeybindings'](){const _0x37a098=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x37a098,'Source\x20Editing\x20Enhanced')});const _0x468350=_0x4dfe44['isMac']||_0x4dfe44['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x37a098,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x37a098,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x37a098,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x37a098,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x37a098,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x37a098,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x37a098,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x468350?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x37a098,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x37a098,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x37a098,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x37a098,'Select\x20line'),'keystroke':_0x468350?'Ctrl!+L':'Alt+L'},{'label':w(_0x37a098,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x468350?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x37a098,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x37a098,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x37a098,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x37a098,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x37a098,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x468350?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x19fbca{constructor(_0x347902){super(_0x347902),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xe0bc28,_0x58192d){const _0x5e6878=this['editor'],_0x2600bb=_0x58192d?.['rootName']??r(_0x5e6878);_0x5e6878['data']['set']({[_0x2600bb]:_0xe0bc28},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x2461fc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x153543){super(_0x153543),_0x153543['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 _0x1cb794=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2052c2;for(const _0x4d3289 in _0x1cb794){const _0x12bc07=_0x4d3289,_0x1bd9e3=_0x1cb794[_0x12bc07];if('sourceEditingEnhancedLicenseKeyValid'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyInvalid'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyExpired'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1bd9e3){delete _0x1cb794[_0x12bc07],_0x2052c2=_0x1bd9e3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2052c2&&_0x1cb794['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2052c2&&_0x1cb794['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2052c2&&_0x1cb794['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xbc13f6=this['editor'],_0x29d720=_0xbc13f6['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x29d720&&_0xbc13f6['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x47f969('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x29d720&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5bee65=>_0xbc13f6['plugins']['has'](_0x5bee65))&&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.'),_0xbc13f6['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.11",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.11",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.11",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.11",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.11",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.11",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "46.0.1-alpha.
|
|
34
|
+
"ckeditor5": "46.0.1-alpha.11"
|
|
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 _0x2e7b63=_0x472b;(function(_0x3375ff,_0xab7f9c){const _0x254163=_0x472b,_0x2da504=_0x3375ff();while(!![]){try{const _0x347684=-parseInt(_0x254163(0x1be))/0x1+parseInt(_0x254163(0x1db))/0x2+-parseInt(_0x254163(0x1b1))/0x3+-parseInt(_0x254163(0x1ad))/0x4*(-parseInt(_0x254163(0x1d4))/0x5)+parseInt(_0x254163(0x1aa))/0x6+parseInt(_0x254163(0x1d1))/0x7*(parseInt(_0x254163(0x199))/0x8)+-parseInt(_0x254163(0x198))/0x9;if(_0x347684===_0xab7f9c)break;else _0x2da504['push'](_0x2da504['shift']());}catch(_0x2de366){_0x2da504['push'](_0x2da504['shift']());}}}(_0x359e,0x66b2f));import{Plugin as _0x212a7e,PendingActions as _0x311392}from'ckeditor5/src/core.js';import{IconSource as _0x30cf9f}from'ckeditor5/src/icons.js';import{ButtonView as _0x4b4c93,MenuBarMenuListItemButtonView as _0x2e5ebe}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x375127}from'./ui/editsourcecommand.js';function _0x472b(_0x3194c2,_0xce4e40){const _0x359e82=_0x359e();return _0x472b=function(_0x472bb5,_0x4d08b9){_0x472bb5=_0x472bb5-0x194;let _0x3788e3=_0x359e82[_0x472bb5];return _0x3788e3;},_0x472b(_0x3194c2,_0xce4e40);}import{getTranslation as _0x28cf33}from'./utils/common-translations.js';import{env as _0x371638,uid as _0x5b7790}from'ckeditor5/src/utils.js';function _0x359e(){const _0xafcc55=['Ctrl+]','Unfold\x20all','Ctrl+Shift+]','Fold\x20code\x20(current\x20level)','Move\x20line\x20down','Select\x20line','init','Fold\x20all','Ctrl+Shift+[','locale','Move\x20line\x20up','requires','addKeystrokeInfoCategory','Alt+ArrowDown','href','6785235ZpFPag','200BHwswe','Shift+Alt+ArrowDown','Indent\x20less','Ctrl!+Alt+]','Source','Ctrl+Y','Shift+Alt+A','isPremiumPlugin','_registerKeybindings','menuitemcheckbox','Ctrl+[','ck-source-editing-enhanced-button','Cmd+Alt+[','Shift+Ctrl+K','addKeystrokeInfos','afterInit','commands','3567348EksELS','fromCharCode','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','4tnCRPq','set','Edit\x20source\x20modal\x20label','accessibility','829938JhtSkw','add','Copy\x20line\x20up','_createButton','Toggle\x20block\x20comment','Alt+ArrowUp','Ctrl+M','componentFactory','Copy\x20line\x20down','pluginName','Shift+Alt+ArrowUp','listenTo','Ctrl+Shift+Z','293107qvcdtK','Ctrl!+L','map','editSource','execute','isOfficialPlugin','isiOS','Indent\x20more','isEnabled','Redo\x20(keystroke)','editor','Unfold\x20code\x20(current\x20level)','isMac','Cmd+Alt+]','Ctrl+/','SourceEditingEnhancedUI','Source\x20Editing\x20Enhanced','join','Alt+L','33859QspKhi','bind','Ctrl!+Alt+[','1170665KjwXiL','Toggle\x20comment','Delete\x20line','Alt+Shift+M','Undo\x20(keystroke)','sourceEditingEnhanced','Ctrl+Z','1589414VkIcOG','menuBar:sourceEditingEnhanced'];_0x359e=function(){return _0xafcc55;};return _0x359e();}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x212a7e{static get[_0x2e7b63(0x1ba)](){const _0xe74c9b=_0x2e7b63;return _0xe74c9b(0x1cd);}static get[_0x2e7b63(0x194)](){return[_0x311392];}static get[_0x2e7b63(0x1c3)](){return!0x0;}static get[_0x2e7b63(0x1a0)](){return!0x0;}[_0x2e7b63(0x1e3)](){const _0x45d80b=_0x2e7b63,_0x150be4=this[_0x45d80b(0x1c8)],_0x3387c6=_0x150be4[_0x45d80b(0x1e6)],_0x5e53a1=new _0x375127(_0x150be4);_0x150be4[_0x45d80b(0x1a9)][_0x45d80b(0x1b2)](_0x45d80b(0x1c1),_0x5e53a1),_0x150be4['ui'][_0x45d80b(0x1b8)][_0x45d80b(0x1b2)](_0x45d80b(0x1d9),()=>{const _0x497d7b=_0x45d80b,_0x44cb31=this[_0x497d7b(0x1b4)](_0x4b4c93,_0x5e53a1);return _0x44cb31[_0x497d7b(0x1ae)]({'label':_0x28cf33(_0x3387c6,_0x497d7b(0x19d)),'icon':_0x30cf9f,'tooltip':_0x28cf33(_0x3387c6,_0x497d7b(0x1af)),'class':_0x497d7b(0x1a4)}),_0x44cb31;}),_0x150be4['ui'][_0x45d80b(0x1b8)][_0x45d80b(0x1b2)](_0x45d80b(0x1dc),()=>{const _0x56bdcf=_0x45d80b,_0x25cf7e=this[_0x56bdcf(0x1b4)](_0x2e5ebe,_0x5e53a1,!0x0);return _0x25cf7e[_0x56bdcf(0x1ae)]({'label':_0x28cf33(_0x3387c6,_0x56bdcf(0x1af)),'icon':_0x30cf9f,'role':_0x56bdcf(0x1a2)}),_0x25cf7e;}),this[_0x45d80b(0x1a1)]();}[_0x2e7b63(0x1a8)](){!async function(_0x3b24bd){const _0x6145f0=_0x4146dd([0x50,0x30,0x4c,0x55,0x31,0x6d,0x43,0x51,0x69,0x65,0x63,0x35,0x5a,0x75,0x70,0x68,0x78,0x62,0x56,0x6e,0x4b,0x33,0x4a,0x45,0x53,0x57,0x67,0x47,0x58,0x46,0x37,0x39,0x48,0x71,0x34,0x32,0x59,0x66,0x6c,0x49,0x61,0x52,0x6f,0x76,0x64,0x41,0x42,0x4f,0x7a,0x36,0x6b,0x4d,0x44,0x79,0x4e,0x38,0x77,0x54,0x72,0x73,0x6a,0x74]),_0x1ac437=0x7b6d9703,_0x12c67f=0x7b6af8cb^_0x1ac437,_0x1bd453=window[_0x4146dd([0x44,0x61,0x74,0x65])][_0x4146dd([0x6e,0x6f,0x77])](),_0x4bfb7e=_0x3b24bd[_0x4146dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x601ee2=new window[(_0x4146dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18c246=>{_0x4bfb7e[_0x4146dd([0x6f,0x6e,0x63,0x65])](_0x4146dd([0x72,0x65,0x61,0x64,0x79]),_0x18c246);}),_0x1a1605={[_0x4146dd([0x6b,0x74,0x79])]:_0x4146dd([0x45,0x43]),[_0x4146dd([0x75,0x73,0x65])]:_0x4146dd([0x73,0x69,0x67]),[_0x4146dd([0x63,0x72,0x76])]:_0x4146dd([0x50,0x2d,0x32,0x35,0x36]),[_0x4146dd([0x78])]:_0x4146dd([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]),[_0x4146dd([0x79])]:_0x4146dd([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]),[_0x4146dd([0x61,0x6c,0x67])]:_0x4146dd([0x45,0x53,0x32,0x35,0x36])},_0x1afdac=_0x4bfb7e[_0x4146dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4146dd([0x67,0x65,0x74])](_0x4146dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x35c3c6(){let _0x5768af,_0x384e7f=null,_0x18a016=null;try{if(_0x1afdac==_0x4146dd([0x47,0x50,0x4c]))return _0x4146dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5768af=_0x7d6b77(),!_0x5768af)return _0x4146dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5768af[_0x4146dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18a016=_0x20cef0(_0x5768af[_0x4146dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5768af[_0x4146dd([0x6a,0x74,0x69])])),await _0x265ee1()?_0xe4cc69()?_0x56afa5()?_0x4146dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x509850()?(_0x5768af[_0x4146dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4146dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x384e7f=_0x50647(_0x4146dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5768af[_0x4146dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4146dd([0x74,0x72,0x69,0x61,0x6c])&&(_0x384e7f=_0x50647(_0x4146dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbcebd8()):_0x4146dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4146dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4146dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4146dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56afa5(){const _0xb35f5e=[_0x4146dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4146dd([0x74,0x72,0x69,0x61,0x6c])][_0x4146dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5768af[_0x4146dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bd453/0x3e8:0xe10*_0x12c67f;return _0x5768af[_0x4146dd([0x65,0x78,0x70])]<_0xb35f5e;}function _0xe4cc69(){const _0x836e5f=_0x5768af[_0x4146dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x836e5f&&(!!_0x836e5f[_0x4146dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4146dd([0x2a]))||!!_0x836e5f[_0x4146dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4146dd([0x53,0x45,0x45])));}function _0x509850(){const _0x5385b2=_0x472b,_0x3f90b8=_0x5768af[_0x4146dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f90b8||0x0==_0x3f90b8[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xededf1}=new URL(window[_0x4146dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5385b2(0x197)]);if(_0x3f90b8[_0x4146dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xededf1))return!0x0;const _0x43785f=_0xededf1[_0x4146dd([0x73,0x70,0x6c,0x69,0x74])](_0x4146dd([0x2e]));return _0x3f90b8[_0x4146dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50e049=>_0x50e049[_0x4146dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4146dd([0x2a])))[_0x4146dd([0x6d,0x61,0x70])](_0xe0b317=>_0xe0b317[_0x4146dd([0x73,0x70,0x6c,0x69,0x74])](_0x4146dd([0x2e])))[_0x4146dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e76ee=>_0x5e76ee[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x43785f[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4146dd([0x6d,0x61,0x70])](_0x208e86=>Array(_0x43785f[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x208e86[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4146dd([0x66,0x69,0x6c,0x6c])](_0x208e86[0x0]===_0x4146dd([0x2a])?_0x4146dd([0x2a]):'')[_0x4146dd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x208e86))[_0x4146dd([0x73,0x6f,0x6d,0x65])](_0x4bc05f=>_0x43785f[_0x4146dd([0x65,0x76,0x65,0x72,0x79])]((_0x4dca1f,_0x530d6e)=>_0x4bc05f[_0x530d6e]===_0x4dca1f||_0x4bc05f[_0x530d6e]===_0x4146dd([0x2a])));}function _0xbcebd8(){return _0x384e7f&&_0x18a016?new window[(_0x4146dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3435f3,_0x3adb64)=>{_0x384e7f[_0x4146dd([0x74,0x68,0x65,0x6e])](_0x3435f3,_0x3adb64),_0x18a016[_0x4146dd([0x74,0x68,0x65,0x6e])](_0x152f93=>{_0x152f93!=_0x4146dd([0x56,0x61,0x6c,0x69,0x64])&&_0x3435f3(_0x152f93);},_0x3adb64);}):_0x384e7f||_0x18a016||_0x4146dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x20cef0(_0x4843af,_0x3447d1){return new window[(_0x4146dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x102453=>{if(_0x2079e2())return _0x102453(_0x4146dd([0x56,0x61,0x6c,0x69,0x64]));_0x34fa3f(),_0x4bfb7e[_0x4146dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4146dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c4bb9=!0x1;const _0x27ed96=_0x5b7790();function _0x594fc8(_0xbc7951){return!!_0xbc7951&&(typeof _0xbc7951===_0x4146dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xbc7951===_0x4146dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xbc7951[_0x4146dd([0x74,0x68,0x65,0x6e])]===_0x4146dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xbc7951[_0x4146dd([0x63,0x61,0x74,0x63,0x68])]===_0x4146dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c7222(_0x152f0d){_0x58e813(_0x152f0d)[_0x4146dd([0x74,0x68,0x65,0x6e])](_0x471a9c=>{if(!_0x471a9c||_0x471a9c[_0x4146dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4146dd([0x6f,0x6b]))return _0x4146dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3602cb(_0x1aeccd(_0x27ed96+_0x3447d1))!=_0x471a9c[_0x4146dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4146dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4146dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x4146dd([0x74,0x68,0x65,0x6e])](_0x5a8769=>(_0x883df(),_0x5a8769),()=>{const _0x4aab75=_0x17efff();return null==_0x4aab75?(_0x883df(),_0x4146dd([0x56,0x61,0x6c,0x69,0x64])):_0x4146dd(_0x1bd453-_0x4aab75>(0x5f611303^_0x1ac437)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4146dd([0x74,0x68,0x65,0x6e])](_0x102453)[_0x4146dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x102453(_0x4146dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f2473=0x7b5b7983^_0x1ac437;function _0x883df(){const _0x5794eb=_0x4146dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x3602cb(_0x1aeccd(_0x4843af)),_0x25e6ea=_0x342764(_0x3602cb(window[_0x4146dd([0x4d,0x61,0x74,0x68])][_0x4146dd([0x63,0x65,0x69,0x6c])](_0x1bd453/_0x3f2473)));window[_0x4146dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4146dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5794eb,_0x25e6ea);}function _0x17efff(){const _0x430e7f=_0x4146dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x3602cb(_0x1aeccd(_0x4843af)),_0x350034=window[_0x4146dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4146dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x430e7f);return _0x350034?window[_0x4146dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x342764(_0x350034),0x10)*_0x3f2473:null;}function _0x58e813(_0x1501cf){return new window[(_0x4146dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x287d53,_0x37deb0)=>{_0x1501cf[_0x4146dd([0x74,0x68,0x65,0x6e])](_0x287d53,_0x37deb0),window[_0x4146dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x37deb0,0x7b6c43c3^_0x1ac437);});}}_0x4bfb7e[_0x4146dd([0x6f,0x6e])](_0x4146dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e346f,_0x7cc8b4)=>{if(_0x7cc8b4[0x0]!=_0x4843af)return _0x102453(_0x4146dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7cc8b4[0x1]={..._0x7cc8b4[0x1],[_0x4146dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27ed96};},{[_0x4146dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4146dd([0x68,0x69,0x67,0x68])}),_0x4bfb7e[_0x4146dd([0x6f,0x6e])](_0x4146dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x486e67=>{_0x594fc8(_0x486e67[_0x4146dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c4bb9=!0x0,_0x1c7222(_0x486e67[_0x4146dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4146dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4146dd([0x6c,0x6f,0x77])}),_0x601ee2[_0x4146dd([0x74,0x68,0x65,0x6e])](()=>{_0x3c4bb9||_0x102453(_0x4146dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2079e2(){return _0x4bfb7e[_0x4146dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4146dd([0x76,0x69,0x65,0x77])][_0x4146dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4146dd([0x61,0x75,0x74,0x6f]);}function _0x34fa3f(){_0x4bfb7e[_0x4146dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4146dd([0x76,0x69,0x65,0x77])][_0x4146dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4146dd([0x61,0x75,0x74,0x6f]);}}function _0x50647(_0x3d0e29){const _0x5d52de=[new window[(_0x4146dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f21c4=>setTimeout(_0x4f21c4,0x7b64a9cf^_0x1ac437)),_0x601ee2[_0x4146dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4146dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1946b5=>{let _0x573ad9=0x0;_0x4bfb7e[_0x4146dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4146dd([0x6f,0x6e])](_0x4146dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17b54c,_0x4d15b4)=>{_0x4d15b4[0x0][_0x4146dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x573ad9++,_0x573ad9==(0x7b6d96fb^_0x1ac437)&&(_0x1946b5(),_0x17b54c[_0x4146dd([0x6f,0x66,0x66])]());});}))];return window[_0x4146dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4146dd([0x72,0x61,0x63,0x65])](_0x5d52de)[_0x4146dd([0x74,0x68,0x65,0x6e])](()=>_0x3d0e29);}async function _0x368e52(){await _0x601ee2,_0x4bfb7e[_0x4146dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4146dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4be092,_0x4bfb7e[_0x4146dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4146dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4be092,_0x4bfb7e[_0x4146dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4146dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59c038(_0x32a9b6){const _0x2f400f=_0x58c2a4();_0x4bfb7e[_0x2f400f]=_0x4146dd([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])+_0x32a9b6,_0x32a9b6!=_0x4146dd([0x56,0x61,0x6c,0x69,0x64])&&_0x368e52();}function _0x58c2a4(){const _0x1a237b=window[_0x4146dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4146dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4146dd([0x6e,0x6f,0x77])]())[_0x4146dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4146dd([0x2e]),'');let _0x57acd5=_0x4146dd([0x50]);for(let _0x58f9de=0x0;_0x58f9de<_0x1a237b[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58f9de+=0x2){let _0x57d781=window[_0x4146dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a237b[_0x4146dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58f9de,_0x58f9de+0x2));_0x57d781>=_0x6145f0[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57d781-=_0x6145f0[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57acd5+=_0x6145f0[_0x57d781];}return _0x57acd5;}function _0x7d6b77(){const _0x524c1f=_0x1afdac[_0x4146dd([0x73,0x70,0x6c,0x69,0x74])](_0x4146dd([0x2e]));if(0x3!=_0x524c1f[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33751b(_0x524c1f[0x1]);function _0x33751b(_0x4d334b){const _0x46e558=_0x19135a(_0x4d334b);return _0x46e558&&_0x2c6a85()?_0x46e558:null;function _0x2c6a85(){const _0x1bce4d=_0x46e558[_0x4146dd([0x6a,0x74,0x69])],_0x134ef0=window[_0x4146dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bce4d[_0x4146dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bce4d[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c566d={..._0x46e558,[_0x4146dd([0x6a,0x74,0x69])]:_0x1bce4d[_0x4146dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bce4d[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c566d[_0x4146dd([0x76,0x63])],_0x1aeccd(_0x2c566d)==_0x134ef0;}}}async function _0x265ee1(){let _0x410921=!0x0;try{const _0x312ee3=_0x1afdac[_0x4146dd([0x73,0x70,0x6c,0x69,0x74])](_0x4146dd([0x2e])),[_0x1da5ab,_0x1ea4f0,_0x1c8e28]=_0x312ee3;return _0x10586b(_0x1da5ab),await _0x24f90d(_0x1da5ab,_0x1ea4f0,_0x1c8e28),_0x410921;}catch{return!0x1;}function _0x10586b(_0x5e11dc){const _0x5a5520=_0x19135a(_0x5e11dc);_0x5a5520&&_0x5a5520[_0x4146dd([0x61,0x6c,0x67])]==_0x4146dd([0x45,0x53,0x32,0x35,0x36])||(_0x410921=!0x1);}async function _0x24f90d(_0x8c9b,_0x409f26,_0x36c392){const _0x3b9af8=window[_0x4146dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4146dd([0x66,0x72,0x6f,0x6d])](_0x384617(_0x36c392),_0x4e1009=>_0x4e1009[_0x4146dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x287688=new window[(_0x4146dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4146dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8c9b+_0x4146dd([0x2e])+_0x409f26),_0x1d8416=window[_0x4146dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4146dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d8416)return;const _0x1afcdf=await _0x1d8416[_0x4146dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4146dd([0x6a,0x77,0x6b]),_0x1a1605,{[_0x4146dd([0x6e,0x61,0x6d,0x65])]:_0x4146dd([0x45,0x43,0x44,0x53,0x41]),[_0x4146dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4146dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4146dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d8416[_0x4146dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4146dd([0x6e,0x61,0x6d,0x65])]:_0x4146dd([0x45,0x43,0x44,0x53,0x41]),[_0x4146dd([0x68,0x61,0x73,0x68])]:{[_0x4146dd([0x6e,0x61,0x6d,0x65])]:_0x4146dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1afcdf,_0x3b9af8,_0x287688)||(_0x410921=!0x1);}}function _0x19135a(_0xa9918f){return _0xa9918f[_0x4146dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4146dd([0x65,0x79]))?JSON[_0x4146dd([0x70,0x61,0x72,0x73,0x65])](_0x384617(_0xa9918f)):null;}function _0x384617(_0x2d7777){return window[_0x4146dd([0x61,0x74,0x6f,0x62])](_0x2d7777[_0x4146dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4146dd([0x2b]))[_0x4146dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4146dd([0x2f])));}function _0x1aeccd(_0x3f17c0){let _0x1dd35f=0x1505;function _0x1d4f3f(_0x57f0fc){for(let _0x198409=0x0;_0x198409<_0x57f0fc[_0x4146dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x198409++){const _0x113533=_0x57f0fc[_0x4146dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x198409);_0x1dd35f=(_0x1dd35f<<0x5)+_0x1dd35f+_0x113533,_0x1dd35f&=_0x1dd35f;}}function _0x32fa69(_0x5756fb){Array[_0x4146dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5756fb)?_0x5756fb[_0x4146dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32fa69):_0x5756fb&&typeof _0x5756fb==_0x4146dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4146dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5756fb)[_0x4146dd([0x73,0x6f,0x72,0x74])]()[_0x4146dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x253bb2,_0x490c3a])=>{_0x1d4f3f(_0x253bb2),_0x32fa69(_0x490c3a);}):_0x1d4f3f(window[_0x4146dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5756fb));}return _0x32fa69(_0x3f17c0),_0x1dd35f>>>0x0;}function _0x3602cb(_0x594661){return _0x594661[_0x4146dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4146dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4146dd([0x30]));}function _0x342764(_0x2ee962){return _0x2ee962[_0x4146dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4146dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4146dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x4be092(){}function _0x4146dd(_0x41c853){const _0x31db57=_0x472b;return _0x41c853[_0x31db57(0x1c0)](_0x4487b9=>String[_0x31db57(0x1ab)](_0x4487b9))[_0x31db57(0x1cf)]('');}_0x59c038(await _0x35c3c6());}(this);}[_0x2e7b63(0x1b4)](_0x35dfd6,_0x46627f,_0x550cf0=!0x1){const _0x21cc26=_0x2e7b63,_0x4991d3=new _0x35dfd6(this[_0x21cc26(0x1c8)][_0x21cc26(0x1e6)]);return _0x4991d3[_0x21cc26(0x1ae)]({'withText':_0x550cf0,'isToggleable':!0x1}),_0x4991d3[_0x21cc26(0x1d2)](_0x21cc26(0x1c6))['to'](_0x46627f,_0x21cc26(0x1c6)),this[_0x21cc26(0x1bc)](_0x4991d3,_0x21cc26(0x1c2),()=>_0x46627f[_0x21cc26(0x1c2)]()),_0x4991d3;}[_0x2e7b63(0x1a1)](){const _0x3773de=_0x2e7b63,_0x2aaaa9=this[_0x3773de(0x1c8)][_0x3773de(0x1e6)];this[_0x3773de(0x1c8)][_0x3773de(0x1b0)][_0x3773de(0x195)]({'id':_0x3773de(0x1d9),'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1ce))});const _0x54410d=_0x371638[_0x3773de(0x1ca)]||_0x371638[_0x3773de(0x1c4)];this[_0x3773de(0x1c8)][_0x3773de(0x1b0)][_0x3773de(0x1a7)]({'categoryId':_0x3773de(0x1d9),'keystrokes':[{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1b9)),'keystroke':_0x3773de(0x19a)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1b3)),'keystroke':_0x3773de(0x1bb)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1d6)),'keystroke':_0x3773de(0x1a6)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x19b)),'keystroke':_0x3773de(0x1a3)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1c5)),'keystroke':_0x3773de(0x1dd)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1e4)),'keystroke':_0x3773de(0x1d3)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1e0)),'keystroke':_0x54410d?_0x3773de(0x1a5):_0x3773de(0x1e5)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1e1)),'keystroke':_0x3773de(0x196)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1e7)),'keystroke':_0x3773de(0x1b6)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1c7)),'keystroke':[[_0x3773de(0x1bd)],[_0x3773de(0x19e)]]},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1e2)),'keystroke':_0x54410d?_0x3773de(0x1bf):_0x3773de(0x1d0)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1ac)),'keystroke':_0x54410d?_0x3773de(0x1d7):_0x3773de(0x1b7)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1b5)),'keystroke':_0x3773de(0x19f)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1d5)),'keystroke':_0x3773de(0x1cc)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1d8)),'keystroke':_0x3773de(0x1da)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1de)),'keystroke':_0x3773de(0x19c)},{'label':_0x28cf33(_0x2aaaa9,_0x3773de(0x1c9)),'keystroke':_0x54410d?_0x3773de(0x1cb):_0x3773de(0x1df)}]});}}
|
|
23
|
+
const _0x8ab4a=_0x56b5;(function(_0x38710b,_0x3e0e16){const _0x3f3a0e=_0x56b5,_0x51aa80=_0x38710b();while(!![]){try{const _0x20dee5=parseInt(_0x3f3a0e(0x17a))/0x1*(parseInt(_0x3f3a0e(0x183))/0x2)+-parseInt(_0x3f3a0e(0x161))/0x3*(-parseInt(_0x3f3a0e(0x16b))/0x4)+parseInt(_0x3f3a0e(0x17e))/0x5+-parseInt(_0x3f3a0e(0x1a2))/0x6*(parseInt(_0x3f3a0e(0x186))/0x7)+-parseInt(_0x3f3a0e(0x197))/0x8*(parseInt(_0x3f3a0e(0x190))/0x9)+-parseInt(_0x3f3a0e(0x169))/0xa+parseInt(_0x3f3a0e(0x1a6))/0xb;if(_0x20dee5===_0x3e0e16)break;else _0x51aa80['push'](_0x51aa80['shift']());}catch(_0x5272a0){_0x51aa80['push'](_0x51aa80['shift']());}}}(_0x56a8,0xb2b19));import{Plugin as _0x516745,PendingActions as _0x35bbd8}from'ckeditor5/src/core.js';import{IconSource as _0x3253c0}from'ckeditor5/src/icons.js';import{ButtonView as _0x5bea80,MenuBarMenuListItemButtonView as _0x363fd7}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x272d9c}from'./ui/editsourcecommand.js';import{getTranslation as _0x21c088}from'./utils/common-translations.js';import{env as _0x36d060,uid as _0x4f3761}from'ckeditor5/src/utils.js';function _0x56b5(_0x12871b,_0x345a2a){const _0x56a88b=_0x56a8();return _0x56b5=function(_0x56b545,_0x3e550d){_0x56b545=_0x56b545-0x151;let _0x97ec2b=_0x56a88b[_0x56b545];return _0x97ec2b;},_0x56b5(_0x12871b,_0x345a2a);}import'../theme/sourceeditingenhanced.css';function _0x56a8(){const _0x45eaa1=['fromCharCode','commands','requires','_registerKeybindings','Source\x20Editing\x20Enhanced','menuitemcheckbox','1912akXtZe','href','bind','map','Ctrl+Y','Ctrl+Shift+Z','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Alt+ArrowUp','Ctrl!+L','Shift+Alt+A','SourceEditingEnhancedUI','6nodMUU','Copy\x20line\x20down','Toggle\x20block\x20comment','isEnabled','12991572RxQuWH','componentFactory','Ctrl+Shift+]','menuBar:sourceEditingEnhanced','ck-source-editing-enhanced-button','Fold\x20code\x20(current\x20level)','Alt+ArrowUp','Shift+Ctrl+K','Unfold\x20code\x20(current\x20level)','Copy\x20line\x20up','Ctrl+Z','isOfficialPlugin','isMac','Ctrl!+Alt+]','sourceEditingEnhanced','Indent\x20more','Undo\x20(keystroke)','3vSADFa','Source','editor','Ctrl+/','afterInit','set','isiOS','Ctrl+Shift+[','14156610thgibb','add','3321356YsFXpM','Alt+ArrowDown','Select\x20line','accessibility','_createButton','listenTo','Edit\x20source\x20modal\x20label','join','addKeystrokeInfoCategory','Delete\x20line','Toggle\x20comment','execute','locale','Alt+L','Shift+Alt+ArrowDown','11bLvvKN','Ctrl!+Alt+[','Indent\x20less','Redo\x20(keystroke)','5435700kJSssA','Ctrl+]','Move\x20line\x20down','Cmd+Alt+[','Cmd+Alt+]','227122gpXOhC','Ctrl+M','Move\x20line\x20up','6164151wwcAMi','editSource','Alt+Shift+M','Unfold\x20all','Ctrl+[','init','pluginName','Fold\x20all','isPremiumPlugin','addKeystrokeInfos','49689ViDDpQ'];_0x56a8=function(){return _0x45eaa1;};return _0x56a8();}export class SourceEditingEnhancedUI extends _0x516745{static get[_0x8ab4a(0x18c)](){const _0x5d0637=_0x8ab4a;return _0x5d0637(0x1a1);}static get[_0x8ab4a(0x193)](){return[_0x35bbd8];}static get[_0x8ab4a(0x15b)](){return!0x0;}static get[_0x8ab4a(0x18e)](){return!0x0;}[_0x8ab4a(0x18b)](){const _0x9e9626=_0x8ab4a,_0x23440f=this[_0x9e9626(0x163)],_0xbe494b=_0x23440f[_0x9e9626(0x177)],_0x594f72=new _0x272d9c(_0x23440f);_0x23440f[_0x9e9626(0x192)][_0x9e9626(0x16a)](_0x9e9626(0x187),_0x594f72),_0x23440f['ui'][_0x9e9626(0x151)][_0x9e9626(0x16a)](_0x9e9626(0x15e),()=>{const _0x18d96a=_0x9e9626,_0x386dec=this[_0x18d96a(0x16f)](_0x5bea80,_0x594f72);return _0x386dec[_0x18d96a(0x166)]({'label':_0x21c088(_0xbe494b,_0x18d96a(0x162)),'icon':_0x3253c0,'tooltip':_0x21c088(_0xbe494b,_0x18d96a(0x171)),'class':_0x18d96a(0x154)}),_0x386dec;}),_0x23440f['ui'][_0x9e9626(0x151)][_0x9e9626(0x16a)](_0x9e9626(0x153),()=>{const _0x4bb739=_0x9e9626,_0x2f4ea7=this[_0x4bb739(0x16f)](_0x363fd7,_0x594f72,!0x0);return _0x2f4ea7[_0x4bb739(0x166)]({'label':_0x21c088(_0xbe494b,_0x4bb739(0x171)),'icon':_0x3253c0,'role':_0x4bb739(0x196)}),_0x2f4ea7;}),this[_0x9e9626(0x194)]();}[_0x8ab4a(0x165)](){!async function(_0x410b55){const _0x45e221=_0x51133d([0x7a,0x45,0x75,0x46,0x5a,0x6d,0x77,0x36,0x32,0x69,0x6b,0x54,0x59,0x72,0x62,0x6a,0x38,0x49,0x55,0x67,0x30,0x76,0x37,0x4e,0x52,0x47,0x63,0x48,0x4c,0x71,0x31,0x74,0x6c,0x33,0x51,0x44,0x66,0x39,0x4a,0x57,0x4b,0x79,0x73,0x58,0x53,0x68,0x78,0x61,0x4f,0x6e,0x35,0x70,0x65,0x64,0x34,0x43,0x4d,0x42,0x41,0x50,0x56,0x6f]),_0x1d1408=0x36242aa5,_0x2b9792=0x36234545^_0x1d1408,_0xf020da=window[_0x51133d([0x44,0x61,0x74,0x65])][_0x51133d([0x6e,0x6f,0x77])](),_0x4107f2=_0x410b55[_0x51133d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x271dd3=new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15847e=>{_0x4107f2[_0x51133d([0x6f,0x6e,0x63,0x65])](_0x51133d([0x72,0x65,0x61,0x64,0x79]),_0x15847e);}),_0x4fae1f={[_0x51133d([0x6b,0x74,0x79])]:_0x51133d([0x45,0x43]),[_0x51133d([0x75,0x73,0x65])]:_0x51133d([0x73,0x69,0x67]),[_0x51133d([0x63,0x72,0x76])]:_0x51133d([0x50,0x2d,0x32,0x35,0x36]),[_0x51133d([0x78])]:_0x51133d([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]),[_0x51133d([0x79])]:_0x51133d([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]),[_0x51133d([0x61,0x6c,0x67])]:_0x51133d([0x45,0x53,0x32,0x35,0x36])},_0x40b3cd=_0x4107f2[_0x51133d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51133d([0x67,0x65,0x74])](_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x427993(){let _0xc4c955,_0x5ec2b9=null,_0x12b167=null;try{if(_0x40b3cd==_0x51133d([0x47,0x50,0x4c]))return _0x51133d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc4c955=_0x35d518(),!_0xc4c955)return _0x51133d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc4c955[_0x51133d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12b167=_0x518f0c(_0xc4c955[_0x51133d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc4c955[_0x51133d([0x6a,0x74,0x69])])),await _0x9f9b48()?_0x2d62bd()?_0x53215e()?_0x51133d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x165ff7()?(_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51133d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ec2b9=_0x21c574(_0x51133d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51133d([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ec2b9=_0x21c574(_0x51133d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ccae1()):_0x51133d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51133d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51133d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51133d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53215e(){const _0x2da198=[_0x51133d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51133d([0x74,0x72,0x69,0x61,0x6c])][_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf020da/0x3e8:0xe10*_0x2b9792;return _0xc4c955[_0x51133d([0x65,0x78,0x70])]<_0x2da198;}function _0x2d62bd(){const _0x595693=_0xc4c955[_0x51133d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x595693&&(!!_0x595693[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51133d([0x2a]))||!!_0x595693[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51133d([0x53,0x45,0x45])));}function _0x165ff7(){const _0x5f51fe=_0x56b5,_0x186806=_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x186806||0x0==_0x186806[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ea580}=new URL(window[_0x51133d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f51fe(0x198)]);if(_0x186806[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ea580))return!0x0;const _0xd1bcca=_0x1ea580[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e]));return _0x186806[_0x51133d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59717f=>_0x59717f[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51133d([0x2a])))[_0x51133d([0x6d,0x61,0x70])](_0x4ec7d3=>_0x4ec7d3[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e])))[_0x51133d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37c33a=>_0x37c33a[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd1bcca[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51133d([0x6d,0x61,0x70])](_0x2f8be9=>Array(_0xd1bcca[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f8be9[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51133d([0x66,0x69,0x6c,0x6c])](_0x2f8be9[0x0]===_0x51133d([0x2a])?_0x51133d([0x2a]):'')[_0x51133d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f8be9))[_0x51133d([0x73,0x6f,0x6d,0x65])](_0x5d471b=>_0xd1bcca[_0x51133d([0x65,0x76,0x65,0x72,0x79])]((_0x23f9a2,_0x4fe311)=>_0x5d471b[_0x4fe311]===_0x23f9a2||_0x5d471b[_0x4fe311]===_0x51133d([0x2a])));}function _0x3ccae1(){return _0x5ec2b9&&_0x12b167?new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cf91e,_0x573027)=>{_0x5ec2b9[_0x51133d([0x74,0x68,0x65,0x6e])](_0x4cf91e,_0x573027),_0x12b167[_0x51133d([0x74,0x68,0x65,0x6e])](_0xaf8b49=>{_0xaf8b49!=_0x51133d([0x56,0x61,0x6c,0x69,0x64])&&_0x4cf91e(_0xaf8b49);},_0x573027);}):_0x5ec2b9||_0x12b167||_0x51133d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x518f0c(_0x2713d2,_0x65d7b4){return new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29c7b8=>{if(_0x16bdb3())return _0x29c7b8(_0x51133d([0x56,0x61,0x6c,0x69,0x64]));_0x581c00(),_0x4107f2[_0x51133d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51133d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e9b3c=!0x1;const _0x21969c=_0x4f3761();function _0xd34d1e(_0xcb6f32){return!!_0xcb6f32&&(typeof _0xcb6f32===_0x51133d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcb6f32===_0x51133d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcb6f32[_0x51133d([0x74,0x68,0x65,0x6e])]===_0x51133d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcb6f32[_0x51133d([0x63,0x61,0x74,0x63,0x68])]===_0x51133d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57ea21(_0x634e95){_0x1b06ef(_0x634e95)[_0x51133d([0x74,0x68,0x65,0x6e])](_0x185c28=>{if(!_0x185c28||_0x185c28[_0x51133d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51133d([0x6f,0x6b]))return _0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4120dc(_0x1bd0b8(_0x21969c+_0x65d7b4))!=_0x185c28[_0x51133d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51133d([0x56,0x61,0x6c,0x69,0x64]);})[_0x51133d([0x74,0x68,0x65,0x6e])](_0x443442=>(_0x4b1c6c(),_0x443442),()=>{const _0x31e7c2=_0x5648eb();return null==_0x31e7c2?(_0x4b1c6c(),_0x51133d([0x56,0x61,0x6c,0x69,0x64])):_0x51133d(_0xf020da-_0x31e7c2>(0x1228aea5^_0x1d1408)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51133d([0x74,0x68,0x65,0x6e])](_0x29c7b8)[_0x51133d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29c7b8(_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x122a05=0x3612c425^_0x1d1408;function _0x4b1c6c(){const _0x1ad4bb=_0x51133d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4120dc(_0x1bd0b8(_0x2713d2)),_0x41c976=_0x2d850c(_0x4120dc(window[_0x51133d([0x4d,0x61,0x74,0x68])][_0x51133d([0x63,0x65,0x69,0x6c])](_0xf020da/_0x122a05)));window[_0x51133d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51133d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ad4bb,_0x41c976);}function _0x5648eb(){const _0x1e0d3e=_0x51133d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4120dc(_0x1bd0b8(_0x2713d2)),_0x1dc9ff=window[_0x51133d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51133d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e0d3e);return _0x1dc9ff?window[_0x51133d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d850c(_0x1dc9ff),0x10)*_0x122a05:null;}function _0x1b06ef(_0x3382ec){return new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48e2c6,_0x36e3bd)=>{_0x3382ec[_0x51133d([0x74,0x68,0x65,0x6e])](_0x48e2c6,_0x36e3bd),window[_0x51133d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36e3bd,0x3625fe65^_0x1d1408);});}}_0x4107f2[_0x51133d([0x6f,0x6e])](_0x51133d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x572bad,_0x244ed1)=>{if(_0x244ed1[0x0]!=_0x2713d2)return _0x29c7b8(_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x244ed1[0x1]={..._0x244ed1[0x1],[_0x51133d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21969c};},{[_0x51133d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51133d([0x68,0x69,0x67,0x68])}),_0x4107f2[_0x51133d([0x6f,0x6e])](_0x51133d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x300559=>{_0xd34d1e(_0x300559[_0x51133d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e9b3c=!0x0,_0x57ea21(_0x300559[_0x51133d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51133d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51133d([0x6c,0x6f,0x77])}),_0x271dd3[_0x51133d([0x74,0x68,0x65,0x6e])](()=>{_0x5e9b3c||_0x29c7b8(_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16bdb3(){return _0x4107f2[_0x51133d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51133d([0x76,0x69,0x65,0x77])][_0x51133d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51133d([0x61,0x75,0x74,0x6f]);}function _0x581c00(){_0x4107f2[_0x51133d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51133d([0x76,0x69,0x65,0x77])][_0x51133d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51133d([0x61,0x75,0x74,0x6f]);}}function _0x21c574(_0x56c83d){const _0x2c7615=[new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be52e=>setTimeout(_0x1be52e,0x362d1469^_0x1d1408)),_0x271dd3[_0x51133d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57c6a5=>{let _0x5b877d=0x0;_0x4107f2[_0x51133d([0x6d,0x6f,0x64,0x65,0x6c])][_0x51133d([0x6f,0x6e])](_0x51133d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x309b11,_0x413c1f)=>{_0x413c1f[0x0][_0x51133d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b877d++,_0x5b877d==(0x36242b5d^_0x1d1408)&&(_0x57c6a5(),_0x309b11[_0x51133d([0x6f,0x66,0x66])]());});}))];return window[_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51133d([0x72,0x61,0x63,0x65])](_0x2c7615)[_0x51133d([0x74,0x68,0x65,0x6e])](()=>_0x56c83d);}async function _0x3a8505(){await _0x271dd3,_0x4107f2[_0x51133d([0x6d,0x6f,0x64,0x65,0x6c])][_0x51133d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1316cc,_0x4107f2[_0x51133d([0x6d,0x6f,0x64,0x65,0x6c])][_0x51133d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1316cc,_0x4107f2[_0x51133d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51133d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b0d4b(_0x24cc6f){const _0x2eb469=_0x25b646();_0x4107f2[_0x2eb469]=_0x51133d([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])+_0x24cc6f,_0x24cc6f!=_0x51133d([0x56,0x61,0x6c,0x69,0x64])&&_0x3a8505();}function _0x25b646(){const _0x2f9e29=window[_0x51133d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51133d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51133d([0x6e,0x6f,0x77])]())[_0x51133d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51133d([0x2e]),'');let _0x1aab43=_0x51133d([0x7a]);for(let _0x2b42bc=0x0;_0x2b42bc<_0x2f9e29[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b42bc+=0x2){let _0x5620d8=window[_0x51133d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f9e29[_0x51133d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b42bc,_0x2b42bc+0x2));_0x5620d8>=_0x45e221[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5620d8-=_0x45e221[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1aab43+=_0x45e221[_0x5620d8];}return _0x1aab43;}function _0x35d518(){const _0x5bcd0b=_0x40b3cd[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e]));if(0x3!=_0x5bcd0b[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57ef5f(_0x5bcd0b[0x1]);function _0x57ef5f(_0x511d7b){const _0xe16111=_0x158737(_0x511d7b);return _0xe16111&&_0x1fc6f4()?_0xe16111:null;function _0x1fc6f4(){const _0x5641b7=_0xe16111[_0x51133d([0x6a,0x74,0x69])],_0x4572d5=window[_0x51133d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5641b7[_0x51133d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5641b7[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50280e={..._0xe16111,[_0x51133d([0x6a,0x74,0x69])]:_0x5641b7[_0x51133d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5641b7[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50280e[_0x51133d([0x76,0x63])],_0x1bd0b8(_0x50280e)==_0x4572d5;}}}async function _0x9f9b48(){let _0x4b9cf3=!0x0;try{const _0x25af19=_0x40b3cd[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e])),[_0x30824f,_0x1302c9,_0x15f040]=_0x25af19;return _0x1a971a(_0x30824f),await _0x87cd9d(_0x30824f,_0x1302c9,_0x15f040),_0x4b9cf3;}catch{return!0x1;}function _0x1a971a(_0x23291f){const _0x23d771=_0x158737(_0x23291f);_0x23d771&&_0x23d771[_0x51133d([0x61,0x6c,0x67])]==_0x51133d([0x45,0x53,0x32,0x35,0x36])||(_0x4b9cf3=!0x1);}async function _0x87cd9d(_0x341420,_0x3a929a,_0x1155f7){const _0x2de5d0=window[_0x51133d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51133d([0x66,0x72,0x6f,0x6d])](_0x15d055(_0x1155f7),_0x450076=>_0x450076[_0x51133d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xcd2bcc=new window[(_0x51133d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51133d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x341420+_0x51133d([0x2e])+_0x3a929a),_0x264a4=window[_0x51133d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51133d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x264a4)return;const _0x4884ec=await _0x264a4[_0x51133d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51133d([0x6a,0x77,0x6b]),_0x4fae1f,{[_0x51133d([0x6e,0x61,0x6d,0x65])]:_0x51133d([0x45,0x43,0x44,0x53,0x41]),[_0x51133d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51133d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51133d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x264a4[_0x51133d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51133d([0x6e,0x61,0x6d,0x65])]:_0x51133d([0x45,0x43,0x44,0x53,0x41]),[_0x51133d([0x68,0x61,0x73,0x68])]:{[_0x51133d([0x6e,0x61,0x6d,0x65])]:_0x51133d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4884ec,_0x2de5d0,_0xcd2bcc)||(_0x4b9cf3=!0x1);}}function _0x158737(_0x562486){return _0x562486[_0x51133d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51133d([0x65,0x79]))?JSON[_0x51133d([0x70,0x61,0x72,0x73,0x65])](_0x15d055(_0x562486)):null;}function _0x15d055(_0x5e3126){return window[_0x51133d([0x61,0x74,0x6f,0x62])](_0x5e3126[_0x51133d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51133d([0x2b]))[_0x51133d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51133d([0x2f])));}function _0x1bd0b8(_0x48d495){let _0xbd1656=0x1505;function _0x5b2ddd(_0x6ebcbe){for(let _0x343389=0x0;_0x343389<_0x6ebcbe[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x343389++){const _0x2cfa8e=_0x6ebcbe[_0x51133d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x343389);_0xbd1656=(_0xbd1656<<0x5)+_0xbd1656+_0x2cfa8e,_0xbd1656&=_0xbd1656;}}function _0x2dc796(_0x5940c4){Array[_0x51133d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5940c4)?_0x5940c4[_0x51133d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dc796):_0x5940c4&&typeof _0x5940c4==_0x51133d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51133d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5940c4)[_0x51133d([0x73,0x6f,0x72,0x74])]()[_0x51133d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x519600,_0x5a44b5])=>{_0x5b2ddd(_0x519600),_0x2dc796(_0x5a44b5);}):_0x5b2ddd(window[_0x51133d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5940c4));}return _0x2dc796(_0x48d495),_0xbd1656>>>0x0;}function _0x4120dc(_0x5e9c9f){return _0x5e9c9f[_0x51133d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51133d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51133d([0x30]));}function _0x2d850c(_0x19e9cb){return _0x19e9cb[_0x51133d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51133d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51133d([0x6a,0x6f,0x69,0x6e])]('');}function _0x1316cc(){}function _0x51133d(_0x1fc95b){const _0x322db1=_0x56b5;return _0x1fc95b[_0x322db1(0x19a)](_0x568c21=>String[_0x322db1(0x191)](_0x568c21))[_0x322db1(0x172)]('');}_0x4b0d4b(await _0x427993());}(this);}[_0x8ab4a(0x16f)](_0x400681,_0x6cb63b,_0x34b4a3=!0x1){const _0x13a832=_0x8ab4a,_0x474c6b=new _0x400681(this[_0x13a832(0x163)][_0x13a832(0x177)]);return _0x474c6b[_0x13a832(0x166)]({'withText':_0x34b4a3,'isToggleable':!0x1}),_0x474c6b[_0x13a832(0x199)](_0x13a832(0x1a5))['to'](_0x6cb63b,_0x13a832(0x1a5)),this[_0x13a832(0x170)](_0x474c6b,_0x13a832(0x176),()=>_0x6cb63b[_0x13a832(0x176)]()),_0x474c6b;}[_0x8ab4a(0x194)](){const _0x4cdd84=_0x8ab4a,_0x2e2868=this[_0x4cdd84(0x163)][_0x4cdd84(0x177)];this[_0x4cdd84(0x163)][_0x4cdd84(0x16e)][_0x4cdd84(0x173)]({'id':_0x4cdd84(0x15e),'label':_0x21c088(_0x2e2868,_0x4cdd84(0x195))});const _0x3b5877=_0x36d060[_0x4cdd84(0x15c)]||_0x36d060[_0x4cdd84(0x167)];this[_0x4cdd84(0x163)][_0x4cdd84(0x16e)][_0x4cdd84(0x18f)]({'categoryId':_0x4cdd84(0x15e),'keystrokes':[{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x1a3)),'keystroke':_0x4cdd84(0x179)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x159)),'keystroke':_0x4cdd84(0x19e)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x174)),'keystroke':_0x4cdd84(0x157)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x17c)),'keystroke':_0x4cdd84(0x18a)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x15f)),'keystroke':_0x4cdd84(0x17f)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x18d)),'keystroke':_0x4cdd84(0x17b)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x155)),'keystroke':_0x3b5877?_0x4cdd84(0x181):_0x4cdd84(0x168)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x180)),'keystroke':_0x4cdd84(0x16c)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x185)),'keystroke':_0x4cdd84(0x156)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x17d)),'keystroke':[[_0x4cdd84(0x19c)],[_0x4cdd84(0x19b)]]},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x16d)),'keystroke':_0x3b5877?_0x4cdd84(0x19f):_0x4cdd84(0x178)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x19d)),'keystroke':_0x3b5877?_0x4cdd84(0x188):_0x4cdd84(0x184)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x1a4)),'keystroke':_0x4cdd84(0x1a0)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x175)),'keystroke':_0x4cdd84(0x164)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x160)),'keystroke':_0x4cdd84(0x15a)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x189)),'keystroke':_0x4cdd84(0x15d)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x158)),'keystroke':_0x3b5877?_0x4cdd84(0x182):_0x4cdd84(0x152)}]});}}
|