@ckeditor/ckeditor5-source-editing-enhanced 46.0.0-alpha.0 → 46.0.0-alpha.1
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 _0x347f0d,PendingActions as _0x54d110,Plugin as _0x2fd7b6}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x31bb82,formatHtml as _0x555645,env as _0x1f1c10,uid as _0x340339}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0xdc230}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x479df5,ButtonView as _0xbe7815,MenuBarMenuListItemButtonView as _0x2c0de0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x8c7ab7,crosshairCursor as _0x5148e2,drawSelection as _0x47135c,dropCursor as _0xe36bbd,lineNumbers as _0x36cc69,highlightActiveLine as _0x428538,highlightActiveLineGutter as _0x35a6b9,highlightSpecialChars as _0x1e1390,rectangularSelection as _0x4c5a1a,keymap as _0x120621}from'@codemirror/view';import{Compartment as _0x5298ef,Transaction as _0x27d01d}from'@codemirror/state';import{bracketMatching as _0x466d52,foldGutter as _0x37b7e0,indentOnInput as _0x538b46,syntaxHighlighting as _0x2248d7,defaultHighlightStyle as _0x574598,foldKeymap as _0x2d91d5}from'@codemirror/language';import{toggleTabFocusMode as _0x2504be,history as _0x126144,defaultKeymap as _0x1bd4ee,historyKeymap as _0x1029d2,indentLess as _0x521b7b,indentMore as _0x397d02,redo as _0x5b8092,undo as _0x70a5b0}from'@codemirror/commands';import{autocompletion as _0xe48281,closeBrackets as _0x112195,closeBracketsKeymap as _0x5dd194,completionKeymap as _0x1448b6}from'@codemirror/autocomplete';import{html as _0x9245a2}from'@codemirror/lang-html';import{markdown as _0x5eb292}from'@codemirror/lang-markdown';import{oneDark as _0x155068}from'@codemirror/theme-one-dark';function w(_0x363260,_0x5358a0){const t=_0x363260['t'];switch(_0x5358a0){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 _0x5358a0;}}function r(_0xeb25e2){const _0x3b3b27=_0xeb25e2['editing']['view']['document']['roots'],_0xba7cc1=_0x3b3b27['length'];if(0x0===_0xba7cc1)throw new _0x31bb82('source-editing-enhanced-editor-no-root',_0xeb25e2);if(0x1===_0xba7cc1)return _0x3b3b27['first']['rootName'];return Array['from'](_0xeb25e2['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x35ae55){return tr(_0x35ae55['replace'](/^[\n\s]*/g,''))?_0x35ae55['replace'](/\s+/g,''):_0x35ae55;}function tr(_0x1ef4ec){return _0x1ef4ec['startsWith']('<');}function p(_0x200527){const _0x2bb40a=[_0x8c7ab7['lineWrapping'],_0xe48281(),_0x466d52(),_0x112195(),_0x5148e2(),_0x47135c(),_0xe36bbd(),_0x36cc69(),_0x37b7e0(),_0x428538(),_0x35a6b9(),_0x1e1390(),_0x126144(),_0x538b46(),_0x4c5a1a(),_0x2248d7(_0x574598,{'fallback':!0x0})],_0x3e3eea=new _0x5298ef();_0x2bb40a['push'](_0x3e3eea['of'](_0x8c7ab7['editable']['of'](!0x0))),'html'===_0x200527['syntaxLanguage']?_0x2bb40a['push'](_0x9245a2()):_0x2bb40a['push'](_0x5eb292());const _0xe2f99d=function(_0x48b35a){if(_0x48b35a&&'default'!==_0x48b35a)return'dark'===_0x48b35a?_0x155068:_0x48b35a;return null;}(_0x200527['theme']);_0xe2f99d&&_0x2bb40a['push'](_0xe2f99d),_0x2bb40a['push'](_0x120621['of']([..._0x5dd194,..._0x1bd4ee,..._0x1029d2,..._0x2d91d5,..._0x1448b6,{'key':'Tab','run':_0x397d02,'shift':_0x521b7b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x5b8092,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x5b8092,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x70a5b0,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0xc771d6=new _0x8c7ab7({'extensions':_0x2bb40a,'parent':_0x200527['parent']});return _0x2504be(_0xc771d6),{'focus':()=>{_0xc771d6['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xc771d6['focus']();},'getData':()=>_0xc771d6['state']['doc']['toString'](),'setData':_0x2a33b6=>{_0xc771d6['dispatch']({'changes':{'from':0x0,'to':_0xc771d6['state']['doc']['length'],'insert':_0x2a33b6},'annotations':_0x27d01d['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2cc4b7=>{_0xc771d6['dispatch']({'effects':[_0x3e3eea['reconfigure'](_0x8c7ab7['editable']['of'](!_0x2cc4b7))]});},'destroy':()=>{_0xc771d6['destroy']();},'instance':_0xc771d6};}class E extends _0x479df5{['_codeEditorApi']=null;['_options'];constructor(_0x20a30d,_0x5c1ed7){super(_0x20a30d),this['_options']=_0x5c1ed7,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',(_0x5b17ff,_0x3d5396,_0x11c2f6)=>{this['setReadOnly'](_0x11c2f6);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5e8fc8){this['_codeEditorApi']['setData'](_0x5e8fc8);}['setReadOnly'](_0x292f2d){this['_codeEditorApi']['setReadOnly'](_0x292f2d);}}const b='SourceEditingEnhancedMode';class d extends _0x347f0d{constructor(_0x59aaa6){super(_0x59aaa6),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x54d110)['on']('change:hasAny',(_0x40d61a,_0x50f7f4,_0x1a5f71)=>{_0x1a5f71?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0xa18c37=this['editor'];for(const _0x3849a0 of _0xa18c37['commands']['names']())['replaceSource','editSource']['includes'](_0x3849a0)||_0xa18c37['commands']['get'](_0x3849a0)['forceDisabled'](b);}['_enableCommands'](){const _0x4100e7=this['editor'];for(const _0x148972 of _0x4100e7['commands']['commands']())_0x148972['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0xb58439=this['editor'],_0x242f65=_0xb58439['locale'],_0x474050=_0xb58439['plugins']['get']('Dialog'),_0xef3b11=r(_0xb58439),_0x15a588=_0xb58439['data']['get']({'rootName':_0xef3b11}),_0x3601d2=tr(_0x7a13b5=_0x15a588)?_0x555645(_0x7a13b5):_0x7a13b5;var _0x7a13b5;const _0x538d7b=new E(_0x242f65,{'syntaxLanguage':_0xb58439['plugins']['has']('Markdown')?'markdown':'html','theme':_0xb58439['config']['get']('sourceEditingEnhanced.theme')});let _0xef59b9=!0x0;const _0x2c3622=_0x15b9e0=>{if(!_0xef59b9)return;return g(_0x538d7b['getData']())!==g(_0x3601d2)?window['confirm'](w(_0x242f65,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x15b9e0['stop']():void 0x0;};_0x474050['show']({'id':'sourceEditingEnhanced','title':w(_0x242f65,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x538d7b,'actionButtons':[{'label':w(_0x242f65,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x474050['hide']();}},{'label':w(_0x242f65,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4089b9=g(_0x538d7b['getData']())!==g(_0x3601d2);(_0x4089b9&&_0xb58439['execute']('replaceSource',_0x538d7b['getData']()),_0xef59b9=!0x1,_0x474050['hide'](),_0x4089b9&&'editables'in _0xb58439['ui']['view'])&&_0xb58439['ui']['view']['editables'][_0xef3b11]['element']['focus']();},'onCreate':_0x215e5a=>{_0x215e5a['set']('isEnabled',!_0xb58439['isReadOnly']),_0x215e5a['bind']('isEnabled')['to'](_0xb58439,'isReadOnly',this,'isEnabled',(_0x539dc6,_0x31f70a)=>!_0x539dc6&&_0x31f70a);}}],'onHide':()=>{this['_enableCommands'](),_0x474050['off']('hide',_0x2c3622),_0x538d7b['destroy']();},'onShow':()=>{_0x538d7b['bind']('isReadOnly')['to'](_0xb58439,'isReadOnly',this,'isEnabled',(_0x158fa9,_0x50690d)=>_0x158fa9||!_0x50690d),_0x538d7b['setData'](_0x3601d2),_0x538d7b['focus'](),_0x474050['on']('hide',_0x2c3622,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2fd7b6{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x54d110];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f7551=this['editor'],_0x5515de=_0x4f7551['locale'],_0x29a8af=new d(_0x4f7551);_0x4f7551['commands']['add']('editSource',_0x29a8af),_0x4f7551['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x13a4b2=this['_createButton'](_0xbe7815,_0x29a8af);return _0x13a4b2['set']({'label':w(_0x5515de,'Source'),'icon':_0xdc230,'tooltip':w(_0x5515de,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x13a4b2;}),_0x4f7551['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2400c8=this['_createButton'](_0x2c0de0,_0x29a8af,!0x0);return _0x2400c8['set']({'label':w(_0x5515de,'Edit\x20source\x20modal\x20label'),'icon':_0xdc230,'role':'menuitemcheckbox'}),_0x2400c8;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x21cffd){const _0x504a9f=_0x4f51dd([0x62,0x39,0x4f,0x54,0x59,0x6f,0x53,0x50,0x43,0x4a,0x6e,0x79,0x46,0x37,0x78,0x4b,0x72,0x74,0x76,0x67,0x31,0x75,0x69,0x56,0x42,0x33,0x51,0x6b,0x5a,0x73,0x77,0x52,0x7a,0x57,0x34,0x4e,0x65,0x30,0x71,0x66,0x6d,0x4c,0x58,0x68,0x45,0x63,0x35,0x61,0x47,0x64,0x32,0x36,0x6c,0x4d,0x38,0x44,0x48,0x55,0x70,0x41,0x49,0x6a]),_0x4980ec=0x3091bb2d,_0x56bf6e=0x3096d77d^_0x4980ec,_0x2c772f=window[_0x4f51dd([0x44,0x61,0x74,0x65])][_0x4f51dd([0x6e,0x6f,0x77])](),_0x43898a=_0x21cffd[_0x4f51dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32bca6=new window[(_0x4f51dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x167610=>{_0x43898a[_0x4f51dd([0x6f,0x6e,0x63,0x65])](_0x4f51dd([0x72,0x65,0x61,0x64,0x79]),_0x167610);}),_0x558b86={[_0x4f51dd([0x6b,0x74,0x79])]:_0x4f51dd([0x45,0x43]),[_0x4f51dd([0x75,0x73,0x65])]:_0x4f51dd([0x73,0x69,0x67]),[_0x4f51dd([0x63,0x72,0x76])]:_0x4f51dd([0x50,0x2d,0x32,0x35,0x36]),[_0x4f51dd([0x78])]:_0x4f51dd([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]),[_0x4f51dd([0x79])]:_0x4f51dd([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]),[_0x4f51dd([0x61,0x6c,0x67])]:_0x4f51dd([0x45,0x53,0x32,0x35,0x36])},_0x177f8a=_0x43898a[_0x4f51dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f51dd([0x67,0x65,0x74])](_0x4f51dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46f30a(){let _0x31f090,_0x5ce608=null,_0x57b7ad=null;try{if(_0x177f8a==_0x4f51dd([0x47,0x50,0x4c]))return _0x4f51dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31f090=_0x1aa58b(),!_0x31f090)return _0x4f51dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31f090[_0x4f51dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57b7ad=_0x5af4b4(_0x31f090[_0x4f51dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31f090[_0x4f51dd([0x6a,0x74,0x69])])),await _0x3c1912()?_0x5da40d()?_0x55818b()?_0x4f51dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5fc777()?(_0x31f090[_0x4f51dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f51dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ce608=_0x2a5f21(_0x4f51dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31f090[_0x4f51dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f51dd([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ce608=_0x2a5f21(_0x4f51dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10b928()):_0x4f51dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f51dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f51dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f51dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55818b(){const _0x100bbd=[_0x4f51dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f51dd([0x74,0x72,0x69,0x61,0x6c])][_0x4f51dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31f090[_0x4f51dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c772f/0x3e8:0xe10*_0x56bf6e;return _0x31f090[_0x4f51dd([0x65,0x78,0x70])]<_0x100bbd;}function _0x5da40d(){const _0x50a263=_0x31f090[_0x4f51dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50a263&&(!!_0x50a263[_0x4f51dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f51dd([0x2a]))||!!_0x50a263[_0x4f51dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f51dd([0x53,0x45,0x45])));}function _0x5fc777(){const _0xfe05a3=_0x31f090[_0x4f51dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xfe05a3||0x0==_0xfe05a3[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e9e9e}=new URL(window[_0x4f51dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xfe05a3[_0x4f51dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e9e9e))return!0x0;const _0x49f026=_0x1e9e9e[_0x4f51dd([0x73,0x70,0x6c,0x69,0x74])](_0x4f51dd([0x2e]));return _0xfe05a3[_0x4f51dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5abbdc=>_0x5abbdc[_0x4f51dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f51dd([0x2a])))[_0x4f51dd([0x6d,0x61,0x70])](_0x493149=>_0x493149[_0x4f51dd([0x73,0x70,0x6c,0x69,0x74])](_0x4f51dd([0x2e])))[_0x4f51dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x552d64=>_0x552d64[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x49f026[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f51dd([0x6d,0x61,0x70])](_0x25addf=>Array(_0x49f026[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25addf[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f51dd([0x66,0x69,0x6c,0x6c])](_0x25addf[0x0]===_0x4f51dd([0x2a])?_0x4f51dd([0x2a]):'')[_0x4f51dd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25addf))[_0x4f51dd([0x73,0x6f,0x6d,0x65])](_0x480aef=>_0x49f026[_0x4f51dd([0x65,0x76,0x65,0x72,0x79])]((_0x174e73,_0x5a7437)=>_0x480aef[_0x5a7437]===_0x174e73||_0x480aef[_0x5a7437]===_0x4f51dd([0x2a])));}function _0x10b928(){return _0x5ce608&&_0x57b7ad?new window[(_0x4f51dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e7fa4,_0x2e9e78)=>{_0x5ce608[_0x4f51dd([0x74,0x68,0x65,0x6e])](_0x3e7fa4,_0x2e9e78),_0x57b7ad[_0x4f51dd([0x74,0x68,0x65,0x6e])](_0x35e5f9=>{_0x35e5f9!=_0x4f51dd([0x56,0x61,0x6c,0x69,0x64])&&_0x3e7fa4(_0x35e5f9);},_0x2e9e78);}):_0x5ce608||_0x57b7ad||_0x4f51dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5af4b4(_0x2d2e11,_0x3f0837){return new window[(_0x4f51dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ae54a=>{if(_0x5ad296())return _0x2ae54a(_0x4f51dd([0x56,0x61,0x6c,0x69,0x64]));_0x2ee4f5(),_0x43898a[_0x4f51dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f51dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa4da85=!0x1;const _0x40a85b=_0x340339();function _0x416f5a(_0x447150){return!!_0x447150&&(typeof _0x447150===_0x4f51dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x447150===_0x4f51dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x447150[_0x4f51dd([0x74,0x68,0x65,0x6e])]===_0x4f51dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x447150[_0x4f51dd([0x63,0x61,0x74,0x63,0x68])]===_0x4f51dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1b5f3f(_0x427f7f){_0x1bce5b(_0x427f7f)[_0x4f51dd([0x74,0x68,0x65,0x6e])](_0x5b5ec8=>{if(!_0x5b5ec8||_0x5b5ec8[_0x4f51dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f51dd([0x6f,0x6b]))return _0x4f51dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38a459(_0x20dbfe(_0x40a85b+_0x3f0837))!=_0x5b5ec8[_0x4f51dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f51dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f51dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f51dd([0x74,0x68,0x65,0x6e])](_0x50ed56=>(_0x437c76(),_0x50ed56),()=>{const _0x56acb2=_0x154634();return null==_0x56acb2?(_0x437c76(),_0x4f51dd([0x56,0x61,0x6c,0x69,0x64])):_0x4f51dd(_0x2c772f-_0x56acb2>(0x149d3f2d^_0x4980ec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f51dd([0x74,0x68,0x65,0x6e])](_0x2ae54a)[_0x4f51dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2ae54a(_0x4f51dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xed5e21=0x30a755ad^_0x4980ec;function _0x437c76(){const _0x56d7fd=_0x4f51dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a459(_0x20dbfe(_0x2d2e11)),_0x57e810=_0x56643c(_0x38a459(window[_0x4f51dd([0x4d,0x61,0x74,0x68])][_0x4f51dd([0x63,0x65,0x69,0x6c])](_0x2c772f/_0xed5e21)));window[_0x4f51dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f51dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56d7fd,_0x57e810);}function _0x154634(){const _0x1ad50e=_0x4f51dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a459(_0x20dbfe(_0x2d2e11)),_0x238b8c=window[_0x4f51dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f51dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ad50e);return _0x238b8c?window[_0x4f51dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56643c(_0x238b8c),0x10)*_0xed5e21:null;}function _0x1bce5b(_0x113ede){return new window[(_0x4f51dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x357f32,_0x371de0)=>{_0x113ede[_0x4f51dd([0x74,0x68,0x65,0x6e])](_0x357f32,_0x371de0),window[_0x4f51dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x371de0,0x30906fed^_0x4980ec);});}}_0x43898a[_0x4f51dd([0x6f,0x6e])](_0x4f51dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5952b7,_0x4e084b)=>{if(_0x4e084b[0x0]!=_0x2d2e11)return _0x2ae54a(_0x4f51dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e084b[0x1]={..._0x4e084b[0x1],[_0x4f51dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40a85b};},{[_0x4f51dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f51dd([0x68,0x69,0x67,0x68])}),_0x43898a[_0x4f51dd([0x6f,0x6e])](_0x4f51dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd820d3=>{_0x416f5a(_0xd820d3[_0x4f51dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa4da85=!0x0,_0x1b5f3f(_0xd820d3[_0x4f51dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f51dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f51dd([0x6c,0x6f,0x77])}),_0x32bca6[_0x4f51dd([0x74,0x68,0x65,0x6e])](()=>{_0xa4da85||_0x2ae54a(_0x4f51dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ad296(){return _0x43898a[_0x4f51dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f51dd([0x76,0x69,0x65,0x77])][_0x4f51dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f51dd([0x61,0x75,0x74,0x6f]);}function _0x2ee4f5(){_0x43898a[_0x4f51dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f51dd([0x76,0x69,0x65,0x77])][_0x4f51dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f51dd([0x61,0x75,0x74,0x6f]);}}function _0x2a5f21(_0x4b17ae){const _0x190a14=[new window[(_0x4f51dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x284e7f=>setTimeout(_0x284e7f,0x309885e1^_0x4980ec)),_0x32bca6[_0x4f51dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f51dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x738529=>{let _0x6b8460=0x0;_0x43898a[_0x4f51dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f51dd([0x6f,0x6e])](_0x4f51dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d880e,_0x2072b4)=>{_0x2072b4[0x0][_0x4f51dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6b8460++,_0x6b8460==(0x3091bad5^_0x4980ec)&&(_0x738529(),_0x3d880e[_0x4f51dd([0x6f,0x66,0x66])]());});}))];return window[_0x4f51dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f51dd([0x72,0x61,0x63,0x65])](_0x190a14)[_0x4f51dd([0x74,0x68,0x65,0x6e])](()=>_0x4b17ae);}async function _0x455f57(){await _0x32bca6,_0x43898a[_0x4f51dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f51dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e622a,_0x43898a[_0x4f51dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f51dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e622a,_0x43898a[_0x4f51dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f51dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f02df(_0x4d0570){const _0x16d9c3=_0x58b2e5();_0x43898a[_0x16d9c3]=_0x4f51dd([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])+_0x4d0570,_0x4d0570!=_0x4f51dd([0x56,0x61,0x6c,0x69,0x64])&&_0x455f57();}function _0x58b2e5(){const _0x32ea0e=window[_0x4f51dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f51dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f51dd([0x6e,0x6f,0x77])]())[_0x4f51dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f51dd([0x2e]),'');let _0x3f28c3=_0x4f51dd([0x62]);for(let _0x3d2bfa=0x0;_0x3d2bfa<_0x32ea0e[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d2bfa+=0x2){let _0x4f610d=window[_0x4f51dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32ea0e[_0x4f51dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d2bfa,_0x3d2bfa+0x2));_0x4f610d>=_0x504a9f[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f610d-=_0x504a9f[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f28c3+=_0x504a9f[_0x4f610d];}return _0x3f28c3;}function _0x1aa58b(){const _0x3086b6=_0x177f8a[_0x4f51dd([0x73,0x70,0x6c,0x69,0x74])](_0x4f51dd([0x2e]));if(0x3!=_0x3086b6[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3b6234(_0x3086b6[0x1]);function _0x3b6234(_0x5ebef1){const _0x5d51f2=_0x28d4f9(_0x5ebef1);return _0x5d51f2&&_0x5af988()?_0x5d51f2:null;function _0x5af988(){const _0xf97182=_0x5d51f2[_0x4f51dd([0x6a,0x74,0x69])],_0x41137b=window[_0x4f51dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf97182[_0x4f51dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf97182[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25e760={..._0x5d51f2,[_0x4f51dd([0x6a,0x74,0x69])]:_0xf97182[_0x4f51dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf97182[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25e760[_0x4f51dd([0x76,0x63])],_0x20dbfe(_0x25e760)==_0x41137b;}}}async function _0x3c1912(){let _0xfed4a9=!0x0;try{const _0x6cee95=_0x177f8a[_0x4f51dd([0x73,0x70,0x6c,0x69,0x74])](_0x4f51dd([0x2e])),[_0x5b97bb,_0x2a2e6e,_0x1e8b77]=_0x6cee95;return _0x3364e0(_0x5b97bb),await _0x3a189f(_0x5b97bb,_0x2a2e6e,_0x1e8b77),_0xfed4a9;}catch{return!0x1;}function _0x3364e0(_0x357a6a){const _0x1a86b4=_0x28d4f9(_0x357a6a);_0x1a86b4&&_0x1a86b4[_0x4f51dd([0x61,0x6c,0x67])]==_0x4f51dd([0x45,0x53,0x32,0x35,0x36])||(_0xfed4a9=!0x1);}async function _0x3a189f(_0x2cf8d8,_0xa36cd9,_0x2316bb){const _0xf79bc1=window[_0x4f51dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f51dd([0x66,0x72,0x6f,0x6d])](_0x12dfa5(_0x2316bb),_0x21a42c=>_0x21a42c[_0x4f51dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x509c5e=new window[(_0x4f51dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f51dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2cf8d8+_0x4f51dd([0x2e])+_0xa36cd9),_0x2bdbab=window[_0x4f51dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f51dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2bdbab)return;const _0x56ec71=await _0x2bdbab[_0x4f51dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f51dd([0x6a,0x77,0x6b]),_0x558b86,{[_0x4f51dd([0x6e,0x61,0x6d,0x65])]:_0x4f51dd([0x45,0x43,0x44,0x53,0x41]),[_0x4f51dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f51dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f51dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2bdbab[_0x4f51dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f51dd([0x6e,0x61,0x6d,0x65])]:_0x4f51dd([0x45,0x43,0x44,0x53,0x41]),[_0x4f51dd([0x68,0x61,0x73,0x68])]:{[_0x4f51dd([0x6e,0x61,0x6d,0x65])]:_0x4f51dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56ec71,_0xf79bc1,_0x509c5e)||(_0xfed4a9=!0x1);}}function _0x28d4f9(_0x47b13b){return _0x47b13b[_0x4f51dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f51dd([0x65,0x79]))?JSON[_0x4f51dd([0x70,0x61,0x72,0x73,0x65])](_0x12dfa5(_0x47b13b)):null;}function _0x12dfa5(_0xb55afb){return window[_0x4f51dd([0x61,0x74,0x6f,0x62])](_0xb55afb[_0x4f51dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f51dd([0x2b]))[_0x4f51dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f51dd([0x2f])));}function _0x20dbfe(_0x4e70ca){let _0x16e813=0x1505;function _0x1b4c31(_0x241f89){for(let _0x18bf08=0x0;_0x18bf08<_0x241f89[_0x4f51dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18bf08++){const _0x567400=_0x241f89[_0x4f51dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x18bf08);_0x16e813=(_0x16e813<<0x5)+_0x16e813+_0x567400,_0x16e813&=_0x16e813;}}function _0x333699(_0x51d902){Array[_0x4f51dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x51d902)?_0x51d902[_0x4f51dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x333699):_0x51d902&&typeof _0x51d902==_0x4f51dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f51dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x51d902)[_0x4f51dd([0x73,0x6f,0x72,0x74])]()[_0x4f51dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf5fcbc,_0x3b05a2])=>{_0x1b4c31(_0xf5fcbc),_0x333699(_0x3b05a2);}):_0x1b4c31(window[_0x4f51dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x51d902));}return _0x333699(_0x4e70ca),_0x16e813>>>0x0;}function _0x38a459(_0x490b8f){return _0x490b8f[_0x4f51dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f51dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f51dd([0x30]));}function _0x56643c(_0x22b25f){return _0x22b25f[_0x4f51dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f51dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f51dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e622a(){}function _0x4f51dd(_0x53b1f9){return _0x53b1f9['map'](_0x17bb94=>String['fromCharCode'](_0x17bb94))['join']('');}_0x2f02df(await _0x46f30a());}(this);}['_createButton'](_0x51d8d2,_0x4bb9ac,_0x383d99=!0x1){const _0x217844=new _0x51d8d2(this['editor']['locale']);return _0x217844['set']({'withText':_0x383d99,'isToggleable':!0x1}),_0x217844['bind']('isEnabled')['to'](_0x4bb9ac,'isEnabled'),this['listenTo'](_0x217844,'execute',()=>_0x4bb9ac['execute']()),_0x217844;}['_registerKeybindings'](){const _0x2281a8=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x2281a8,'Source\x20Editing\x20Enhanced')});const _0x691ff1=_0x1f1c10['isMac']||_0x1f1c10['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x2281a8,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x2281a8,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x2281a8,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x2281a8,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x2281a8,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x2281a8,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x2281a8,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x691ff1?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x2281a8,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x2281a8,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x2281a8,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x2281a8,'Select\x20line'),'keystroke':_0x691ff1?'Ctrl!+L':'Alt+L'},{'label':w(_0x2281a8,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x691ff1?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x2281a8,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x2281a8,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x2281a8,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x2281a8,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x2281a8,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x691ff1?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x347f0d{constructor(_0xd62557){super(_0xd62557),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x10163b,_0x326d26){const _0x2a22bb=this['editor'],_0x122e5b=_0x326d26?.['rootName']??r(_0x2a22bb);_0x2a22bb['data']['set']({[_0x122e5b]:_0x10163b},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x2fd7b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x4c0490){super(_0x4c0490),_0x4c0490['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 _0x87e98f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2da16d;for(const _0x5e72bc in _0x87e98f){const _0x25f57f=_0x5e72bc,_0x2afe40=_0x87e98f[_0x25f57f];if('sourceEditingEnhancedLicenseKeyValid'==_0x2afe40||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2afe40||'sourceEditingEnhancedLicenseKeyExpired'==_0x2afe40||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2afe40||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2afe40||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2afe40||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2afe40||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2afe40){delete _0x87e98f[_0x25f57f],_0x2da16d=_0x2afe40,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2da16d&&_0x87e98f['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2da16d&&_0x87e98f['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2da16d&&_0x87e98f['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2da16d&&_0x87e98f['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2da16d&&_0x87e98f['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2da16d&&_0x87e98f['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2da16d&&_0x87e98f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x379b12=this['editor'],_0x4fd774=_0x379b12['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4fd774&&_0x379b12['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x31bb82('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4fd774&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x255354=>_0x379b12['plugins']['has'](_0x255354))&&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.'),_0x379b12['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 _0x4271a0,PendingActions as _0x36df47,Plugin as _0x1e6e9a}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x481c72,formatHtml as _0x408852,env as _0xbecb63,uid as _0x194f85}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x418c22}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x158ae3,ButtonView as _0x4a9cd3,MenuBarMenuListItemButtonView as _0x30c804}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1586e4,crosshairCursor as _0x5e70cc,drawSelection as _0x16b31a,dropCursor as _0x2838ef,lineNumbers as _0x3c02b1,highlightActiveLine as _0x1dad4f,highlightActiveLineGutter as _0x4f95af,highlightSpecialChars as _0x599cb7,rectangularSelection as _0x39130d,keymap as _0x390773}from'@codemirror/view';import{Compartment as _0x2a6566,Transaction as _0x32a3b8}from'@codemirror/state';import{bracketMatching as _0x39c162,foldGutter as _0xa4192,indentOnInput as _0x53bee6,syntaxHighlighting as _0xf39da5,defaultHighlightStyle as _0x579f76,foldKeymap as _0x57b9ea}from'@codemirror/language';import{toggleTabFocusMode as _0x116aa6,history as _0x9770a4,defaultKeymap as _0xc71790,historyKeymap as _0x1e02d3,indentLess as _0x297067,indentMore as _0x3a2171,redo as _0x3471cc,undo as _0x23afd5}from'@codemirror/commands';import{autocompletion as _0x5484b4,closeBrackets as _0x489d17,closeBracketsKeymap as _0x5d9e7d,completionKeymap as _0xf3640}from'@codemirror/autocomplete';import{html as _0x4952d6}from'@codemirror/lang-html';import{markdown as _0x51cac0}from'@codemirror/lang-markdown';import{oneDark as _0x48ddfd}from'@codemirror/theme-one-dark';function w(_0x4faafc,_0x233c86){const t=_0x4faafc['t'];switch(_0x233c86){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 _0x233c86;}}function r(_0x7489d5){const _0x11877b=_0x7489d5['editing']['view']['document']['roots'],_0x317b7b=_0x11877b['length'];if(0x0===_0x317b7b)throw new _0x481c72('source-editing-enhanced-editor-no-root',_0x7489d5);if(0x1===_0x317b7b)return _0x11877b['first']['rootName'];return Array['from'](_0x7489d5['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x24658d){return tr(_0x24658d['replace'](/^[\n\s]*/g,''))?_0x24658d['replace'](/\s+/g,''):_0x24658d;}function tr(_0x5cf9d4){return _0x5cf9d4['startsWith']('<');}function p(_0x46044b){const _0x33f994=[_0x1586e4['lineWrapping'],_0x5484b4(),_0x39c162(),_0x489d17(),_0x5e70cc(),_0x16b31a(),_0x2838ef(),_0x3c02b1(),_0xa4192(),_0x1dad4f(),_0x4f95af(),_0x599cb7(),_0x9770a4(),_0x53bee6(),_0x39130d(),_0xf39da5(_0x579f76,{'fallback':!0x0})],_0x40b9cc=new _0x2a6566();_0x33f994['push'](_0x40b9cc['of'](_0x1586e4['editable']['of'](!0x0))),'html'===_0x46044b['syntaxLanguage']?_0x33f994['push'](_0x4952d6()):_0x33f994['push'](_0x51cac0());const _0x1cf56f=function(_0x3ae3e8){if(_0x3ae3e8&&'default'!==_0x3ae3e8)return'dark'===_0x3ae3e8?_0x48ddfd:_0x3ae3e8;return null;}(_0x46044b['theme']);_0x1cf56f&&_0x33f994['push'](_0x1cf56f),_0x33f994['push'](_0x390773['of']([..._0x5d9e7d,..._0xc71790,..._0x1e02d3,..._0x57b9ea,..._0xf3640,{'key':'Tab','run':_0x3a2171,'shift':_0x297067,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3471cc,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3471cc,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x23afd5,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x1fdfc9=new _0x1586e4({'extensions':_0x33f994,'parent':_0x46044b['parent']});return _0x116aa6(_0x1fdfc9),{'focus':()=>{_0x1fdfc9['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x1fdfc9['focus']();},'getData':()=>_0x1fdfc9['state']['doc']['toString'](),'setData':_0x801a7c=>{_0x1fdfc9['dispatch']({'changes':{'from':0x0,'to':_0x1fdfc9['state']['doc']['length'],'insert':_0x801a7c},'annotations':_0x32a3b8['addToHistory']['of'](!0x1)});},'setReadOnly':_0x195810=>{_0x1fdfc9['dispatch']({'effects':[_0x40b9cc['reconfigure'](_0x1586e4['editable']['of'](!_0x195810))]});},'destroy':()=>{_0x1fdfc9['destroy']();},'instance':_0x1fdfc9};}class E extends _0x158ae3{['_codeEditorApi']=null;['_options'];constructor(_0x17de73,_0x55c03f){super(_0x17de73),this['_options']=_0x55c03f,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',(_0x55d122,_0x442c78,_0x414fc3)=>{this['setReadOnly'](_0x414fc3);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xd5c6aa){this['_codeEditorApi']['setData'](_0xd5c6aa);}['setReadOnly'](_0xf0a665){this['_codeEditorApi']['setReadOnly'](_0xf0a665);}}const b='SourceEditingEnhancedMode';class d extends _0x4271a0{constructor(_0x26656e){super(_0x26656e),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x36df47)['on']('change:hasAny',(_0x437a13,_0x2c08a5,_0x458014)=>{_0x458014?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0xda477a=this['editor'];for(const _0x3b0323 of _0xda477a['commands']['names']())['replaceSource','editSource']['includes'](_0x3b0323)||_0xda477a['commands']['get'](_0x3b0323)['forceDisabled'](b);}['_enableCommands'](){const _0xc8fbc3=this['editor'];for(const _0x24733e of _0xc8fbc3['commands']['commands']())_0x24733e['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4f103e=this['editor'],_0x4ad845=_0x4f103e['locale'],_0x17202a=_0x4f103e['plugins']['get']('Dialog'),_0x4a8478=r(_0x4f103e),_0x613c42=_0x4f103e['data']['get']({'rootName':_0x4a8478}),_0x526a26=tr(_0x175c7b=_0x613c42)?_0x408852(_0x175c7b):_0x175c7b;var _0x175c7b;const _0x5b4e10=new E(_0x4ad845,{'syntaxLanguage':_0x4f103e['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4f103e['config']['get']('sourceEditingEnhanced.theme')});let _0x28cbea=!0x0;const _0x5db6b1=_0x3984c6=>{if(!_0x28cbea)return;return g(_0x5b4e10['getData']())!==g(_0x526a26)?window['confirm'](w(_0x4ad845,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3984c6['stop']():void 0x0;};_0x17202a['show']({'id':'sourceEditingEnhanced','title':w(_0x4ad845,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x5b4e10,'actionButtons':[{'label':w(_0x4ad845,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x17202a['hide']();}},{'label':w(_0x4ad845,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x5c3a31=g(_0x5b4e10['getData']())!==g(_0x526a26);(_0x5c3a31&&_0x4f103e['execute']('replaceSource',_0x5b4e10['getData']()),_0x28cbea=!0x1,_0x17202a['hide'](),_0x5c3a31&&'editables'in _0x4f103e['ui']['view'])&&_0x4f103e['ui']['view']['editables'][_0x4a8478]['element']['focus']();},'onCreate':_0x1e1226=>{_0x1e1226['set']('isEnabled',!_0x4f103e['isReadOnly']),_0x1e1226['bind']('isEnabled')['to'](_0x4f103e,'isReadOnly',this,'isEnabled',(_0x10d75b,_0x54fa71)=>!_0x10d75b&&_0x54fa71);}}],'onHide':()=>{this['_enableCommands'](),_0x17202a['off']('hide',_0x5db6b1),_0x5b4e10['destroy']();},'onShow':()=>{_0x5b4e10['bind']('isReadOnly')['to'](_0x4f103e,'isReadOnly',this,'isEnabled',(_0x3e991c,_0x274aac)=>_0x3e991c||!_0x274aac),_0x5b4e10['setData'](_0x526a26),_0x5b4e10['focus'](),_0x17202a['on']('hide',_0x5db6b1,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x1e6e9a{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x36df47];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3278be=this['editor'],_0x43e233=_0x3278be['locale'],_0x28bc5b=new d(_0x3278be);_0x3278be['commands']['add']('editSource',_0x28bc5b),_0x3278be['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x34271e=this['_createButton'](_0x4a9cd3,_0x28bc5b);return _0x34271e['set']({'label':w(_0x43e233,'Source'),'icon':_0x418c22,'tooltip':w(_0x43e233,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x34271e;}),_0x3278be['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3ec77c=this['_createButton'](_0x30c804,_0x28bc5b,!0x0);return _0x3ec77c['set']({'label':w(_0x43e233,'Edit\x20source\x20modal\x20label'),'icon':_0x418c22,'role':'menuitemcheckbox'}),_0x3ec77c;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xf6be1c){const _0x4e2bb2=_0x271150([0x50,0x6c,0x59,0x48,0x79,0x4a,0x37,0x69,0x51,0x70,0x49,0x61,0x6e,0x47,0x6d,0x67,0x35,0x4d,0x63,0x4f,0x44,0x71,0x6f,0x66,0x77,0x65,0x6a,0x39,0x34,0x64,0x45,0x7a,0x33,0x74,0x62,0x55,0x4e,0x46,0x56,0x31,0x53,0x32,0x54,0x42,0x78,0x5a,0x36,0x6b,0x4b,0x58,0x76,0x72,0x43,0x38,0x73,0x30,0x41,0x57,0x75,0x68,0x4c,0x52]),_0x594fb1=0x4b563e37,_0x7a7eb2=0x4b51525f^_0x594fb1,_0x3d8a55=window[_0x271150([0x44,0x61,0x74,0x65])][_0x271150([0x6e,0x6f,0x77])](),_0x4fb6d9=_0xf6be1c[_0x271150([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a0ba0=new window[(_0x271150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd7c0b1=>{_0x4fb6d9[_0x271150([0x6f,0x6e,0x63,0x65])](_0x271150([0x72,0x65,0x61,0x64,0x79]),_0xd7c0b1);}),_0x5c8fb2={[_0x271150([0x6b,0x74,0x79])]:_0x271150([0x45,0x43]),[_0x271150([0x75,0x73,0x65])]:_0x271150([0x73,0x69,0x67]),[_0x271150([0x63,0x72,0x76])]:_0x271150([0x50,0x2d,0x32,0x35,0x36]),[_0x271150([0x78])]:_0x271150([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]),[_0x271150([0x79])]:_0x271150([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]),[_0x271150([0x61,0x6c,0x67])]:_0x271150([0x45,0x53,0x32,0x35,0x36])},_0x58b4a9=_0x4fb6d9[_0x271150([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x271150([0x67,0x65,0x74])](_0x271150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d4f9a(){let _0x56cfbc,_0x424d15=null,_0x76f82b=null;try{if(_0x58b4a9==_0x271150([0x47,0x50,0x4c]))return _0x271150([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56cfbc=_0x6ba56f(),!_0x56cfbc)return _0x271150([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56cfbc[_0x271150([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x76f82b=_0x196e3d(_0x56cfbc[_0x271150([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56cfbc[_0x271150([0x6a,0x74,0x69])])),await _0xe9617c()?_0x8db13a()?_0x468dbc()?_0x271150([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x555c9d()?(_0x56cfbc[_0x271150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x271150([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x424d15=_0x48aa3e(_0x271150([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56cfbc[_0x271150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x271150([0x74,0x72,0x69,0x61,0x6c])&&(_0x424d15=_0x48aa3e(_0x271150([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26fbb9()):_0x271150([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x271150([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x271150([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x271150([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x468dbc(){const _0x316119=[_0x271150([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x271150([0x74,0x72,0x69,0x61,0x6c])][_0x271150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56cfbc[_0x271150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d8a55/0x3e8:0xe10*_0x7a7eb2;return _0x56cfbc[_0x271150([0x65,0x78,0x70])]<_0x316119;}function _0x8db13a(){const _0xef3f2c=_0x56cfbc[_0x271150([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xef3f2c&&(!!_0xef3f2c[_0x271150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x271150([0x2a]))||!!_0xef3f2c[_0x271150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x271150([0x53,0x45,0x45])));}function _0x555c9d(){const _0x2b4ceb=_0x56cfbc[_0x271150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b4ceb||0x0==_0x2b4ceb[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2504e0}=new URL(window[_0x271150([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b4ceb[_0x271150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2504e0))return!0x0;const _0x5a1fa2=_0x2504e0[_0x271150([0x73,0x70,0x6c,0x69,0x74])](_0x271150([0x2e]));return _0x2b4ceb[_0x271150([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42ec9e=>_0x42ec9e[_0x271150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x271150([0x2a])))[_0x271150([0x6d,0x61,0x70])](_0x461175=>_0x461175[_0x271150([0x73,0x70,0x6c,0x69,0x74])](_0x271150([0x2e])))[_0x271150([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ade56=>_0x2ade56[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a1fa2[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x271150([0x6d,0x61,0x70])](_0x1aa987=>Array(_0x5a1fa2[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1aa987[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x271150([0x66,0x69,0x6c,0x6c])](_0x1aa987[0x0]===_0x271150([0x2a])?_0x271150([0x2a]):'')[_0x271150([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1aa987))[_0x271150([0x73,0x6f,0x6d,0x65])](_0x4e3597=>_0x5a1fa2[_0x271150([0x65,0x76,0x65,0x72,0x79])]((_0x35b222,_0x4a38d0)=>_0x4e3597[_0x4a38d0]===_0x35b222||_0x4e3597[_0x4a38d0]===_0x271150([0x2a])));}function _0x26fbb9(){return _0x424d15&&_0x76f82b?new window[(_0x271150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d37ed,_0x51eefa)=>{_0x424d15[_0x271150([0x74,0x68,0x65,0x6e])](_0x1d37ed,_0x51eefa),_0x76f82b[_0x271150([0x74,0x68,0x65,0x6e])](_0xe8e54d=>{_0xe8e54d!=_0x271150([0x56,0x61,0x6c,0x69,0x64])&&_0x1d37ed(_0xe8e54d);},_0x51eefa);}):_0x424d15||_0x76f82b||_0x271150([0x56,0x61,0x6c,0x69,0x64]);}}function _0x196e3d(_0x30df8b,_0x5a5b9d){return new window[(_0x271150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x119201=>{if(_0x2f2cdb())return _0x119201(_0x271150([0x56,0x61,0x6c,0x69,0x64]));_0x453650(),_0x4fb6d9[_0x271150([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x271150([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c1693=!0x1;const _0x142697=_0x194f85();function _0x54421c(_0x402a7d){return!!_0x402a7d&&(typeof _0x402a7d===_0x271150([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x402a7d===_0x271150([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x402a7d[_0x271150([0x74,0x68,0x65,0x6e])]===_0x271150([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x402a7d[_0x271150([0x63,0x61,0x74,0x63,0x68])]===_0x271150([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1969bb(_0x547bff){_0x481850(_0x547bff)[_0x271150([0x74,0x68,0x65,0x6e])](_0x479b07=>{if(!_0x479b07||_0x479b07[_0x271150([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x271150([0x6f,0x6b]))return _0x271150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3096b9(_0x477c2c(_0x142697+_0x5a5b9d))!=_0x479b07[_0x271150([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x271150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x271150([0x56,0x61,0x6c,0x69,0x64]);})[_0x271150([0x74,0x68,0x65,0x6e])](_0x7656c5=>(_0x47e0ba(),_0x7656c5),()=>{const _0x382477=_0x219f6f();return null==_0x382477?(_0x47e0ba(),_0x271150([0x56,0x61,0x6c,0x69,0x64])):_0x271150(_0x3d8a55-_0x382477>(0x6f5aba37^_0x594fb1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x271150([0x74,0x68,0x65,0x6e])](_0x119201)[_0x271150([0x63,0x61,0x74,0x63,0x68])](()=>{_0x119201(_0x271150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49d443=0x4b60d0b7^_0x594fb1;function _0x47e0ba(){const _0x33715e=_0x271150([0x6c,0x6c,0x63,0x74,0x2d])+_0x3096b9(_0x477c2c(_0x30df8b)),_0x2d9286=_0x139f03(_0x3096b9(window[_0x271150([0x4d,0x61,0x74,0x68])][_0x271150([0x63,0x65,0x69,0x6c])](_0x3d8a55/_0x49d443)));window[_0x271150([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x271150([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33715e,_0x2d9286);}function _0x219f6f(){const _0xc92e4d=_0x271150([0x6c,0x6c,0x63,0x74,0x2d])+_0x3096b9(_0x477c2c(_0x30df8b)),_0x4b55a5=window[_0x271150([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x271150([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc92e4d);return _0x4b55a5?window[_0x271150([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x139f03(_0x4b55a5),0x10)*_0x49d443:null;}function _0x481850(_0x19b78f){return new window[(_0x271150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x424d4c,_0x1f43a3)=>{_0x19b78f[_0x271150([0x74,0x68,0x65,0x6e])](_0x424d4c,_0x1f43a3),window[_0x271150([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f43a3,0x4b57eaf7^_0x594fb1);});}}_0x4fb6d9[_0x271150([0x6f,0x6e])](_0x271150([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e7ff5,_0x410f08)=>{if(_0x410f08[0x0]!=_0x30df8b)return _0x119201(_0x271150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x410f08[0x1]={..._0x410f08[0x1],[_0x271150([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x142697};},{[_0x271150([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x271150([0x68,0x69,0x67,0x68])}),_0x4fb6d9[_0x271150([0x6f,0x6e])](_0x271150([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4dc2e8=>{_0x54421c(_0x4dc2e8[_0x271150([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c1693=!0x0,_0x1969bb(_0x4dc2e8[_0x271150([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x271150([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x271150([0x6c,0x6f,0x77])}),_0x1a0ba0[_0x271150([0x74,0x68,0x65,0x6e])](()=>{_0x3c1693||_0x119201(_0x271150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f2cdb(){return _0x4fb6d9[_0x271150([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x271150([0x76,0x69,0x65,0x77])][_0x271150([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x271150([0x61,0x75,0x74,0x6f]);}function _0x453650(){_0x4fb6d9[_0x271150([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x271150([0x76,0x69,0x65,0x77])][_0x271150([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x271150([0x61,0x75,0x74,0x6f]);}}function _0x48aa3e(_0xd50d8d){const _0x1c349c=[new window[(_0x271150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34fd80=>setTimeout(_0x34fd80,0x4b5f00fb^_0x594fb1)),_0x1a0ba0[_0x271150([0x74,0x68,0x65,0x6e])](()=>new window[(_0x271150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f9842=>{let _0x2c1f41=0x0;_0x4fb6d9[_0x271150([0x6d,0x6f,0x64,0x65,0x6c])][_0x271150([0x6f,0x6e])](_0x271150([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49777b,_0x2140d0)=>{_0x2140d0[0x0][_0x271150([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c1f41++,_0x2c1f41==(0x4b563fcf^_0x594fb1)&&(_0x2f9842(),_0x49777b[_0x271150([0x6f,0x66,0x66])]());});}))];return window[_0x271150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x271150([0x72,0x61,0x63,0x65])](_0x1c349c)[_0x271150([0x74,0x68,0x65,0x6e])](()=>_0xd50d8d);}async function _0x179414(){await _0x1a0ba0,_0x4fb6d9[_0x271150([0x6d,0x6f,0x64,0x65,0x6c])][_0x271150([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a3e9c,_0x4fb6d9[_0x271150([0x6d,0x6f,0x64,0x65,0x6c])][_0x271150([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a3e9c,_0x4fb6d9[_0x271150([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x271150([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f8149(_0x158812){const _0x57603f=_0x4da81a();_0x4fb6d9[_0x57603f]=_0x271150([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])+_0x158812,_0x158812!=_0x271150([0x56,0x61,0x6c,0x69,0x64])&&_0x179414();}function _0x4da81a(){const _0x260918=window[_0x271150([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x271150([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x271150([0x6e,0x6f,0x77])]())[_0x271150([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x271150([0x2e]),'');let _0x260458=_0x271150([0x50]);for(let _0x5cdabb=0x0;_0x5cdabb<_0x260918[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cdabb+=0x2){let _0x38b8db=window[_0x271150([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x260918[_0x271150([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cdabb,_0x5cdabb+0x2));_0x38b8db>=_0x4e2bb2[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38b8db-=_0x4e2bb2[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x260458+=_0x4e2bb2[_0x38b8db];}return _0x260458;}function _0x6ba56f(){const _0x2273ca=_0x58b4a9[_0x271150([0x73,0x70,0x6c,0x69,0x74])](_0x271150([0x2e]));if(0x3!=_0x2273ca[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3dca2e(_0x2273ca[0x1]);function _0x3dca2e(_0x4d924e){const _0xec9778=_0x282bdf(_0x4d924e);return _0xec9778&&_0x1aeccb()?_0xec9778:null;function _0x1aeccb(){const _0x2adc2b=_0xec9778[_0x271150([0x6a,0x74,0x69])],_0x190255=window[_0x271150([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2adc2b[_0x271150([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2adc2b[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3aba7f={..._0xec9778,[_0x271150([0x6a,0x74,0x69])]:_0x2adc2b[_0x271150([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2adc2b[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3aba7f[_0x271150([0x76,0x63])],_0x477c2c(_0x3aba7f)==_0x190255;}}}async function _0xe9617c(){let _0x504336=!0x0;try{const _0x54dac0=_0x58b4a9[_0x271150([0x73,0x70,0x6c,0x69,0x74])](_0x271150([0x2e])),[_0x198e0a,_0x21d4f3,_0x25890d]=_0x54dac0;return _0x24e0b0(_0x198e0a),await _0x3ee282(_0x198e0a,_0x21d4f3,_0x25890d),_0x504336;}catch{return!0x1;}function _0x24e0b0(_0x445cdb){const _0x41441c=_0x282bdf(_0x445cdb);_0x41441c&&_0x41441c[_0x271150([0x61,0x6c,0x67])]==_0x271150([0x45,0x53,0x32,0x35,0x36])||(_0x504336=!0x1);}async function _0x3ee282(_0x313415,_0x4886ea,_0x2a2060){const _0x26621c=window[_0x271150([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x271150([0x66,0x72,0x6f,0x6d])](_0x1e1a86(_0x2a2060),_0xd24799=>_0xd24799[_0x271150([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17d38a=new window[(_0x271150([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x271150([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x313415+_0x271150([0x2e])+_0x4886ea),_0x589fe7=window[_0x271150([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x271150([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x589fe7)return;const _0x279a1e=await _0x589fe7[_0x271150([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x271150([0x6a,0x77,0x6b]),_0x5c8fb2,{[_0x271150([0x6e,0x61,0x6d,0x65])]:_0x271150([0x45,0x43,0x44,0x53,0x41]),[_0x271150([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x271150([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x271150([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x589fe7[_0x271150([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x271150([0x6e,0x61,0x6d,0x65])]:_0x271150([0x45,0x43,0x44,0x53,0x41]),[_0x271150([0x68,0x61,0x73,0x68])]:{[_0x271150([0x6e,0x61,0x6d,0x65])]:_0x271150([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x279a1e,_0x26621c,_0x17d38a)||(_0x504336=!0x1);}}function _0x282bdf(_0xef52a7){return _0xef52a7[_0x271150([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x271150([0x65,0x79]))?JSON[_0x271150([0x70,0x61,0x72,0x73,0x65])](_0x1e1a86(_0xef52a7)):null;}function _0x1e1a86(_0x330667){return window[_0x271150([0x61,0x74,0x6f,0x62])](_0x330667[_0x271150([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x271150([0x2b]))[_0x271150([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x271150([0x2f])));}function _0x477c2c(_0x18890c){let _0x267e76=0x1505;function _0x4c74e3(_0x13d326){for(let _0x193ff9=0x0;_0x193ff9<_0x13d326[_0x271150([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x193ff9++){const _0x31e4ec=_0x13d326[_0x271150([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x193ff9);_0x267e76=(_0x267e76<<0x5)+_0x267e76+_0x31e4ec,_0x267e76&=_0x267e76;}}function _0x3a3f35(_0xc7c7dc){Array[_0x271150([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc7c7dc)?_0xc7c7dc[_0x271150([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a3f35):_0xc7c7dc&&typeof _0xc7c7dc==_0x271150([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x271150([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc7c7dc)[_0x271150([0x73,0x6f,0x72,0x74])]()[_0x271150([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5acd40,_0x186453])=>{_0x4c74e3(_0x5acd40),_0x3a3f35(_0x186453);}):_0x4c74e3(window[_0x271150([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc7c7dc));}return _0x3a3f35(_0x18890c),_0x267e76>>>0x0;}function _0x3096b9(_0x10774f){return _0x10774f[_0x271150([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x271150([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x271150([0x30]));}function _0x139f03(_0x189074){return _0x189074[_0x271150([0x73,0x70,0x6c,0x69,0x74])]('')[_0x271150([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x271150([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a3e9c(){}function _0x271150(_0x23c98c){return _0x23c98c['map'](_0x249b6a=>String['fromCharCode'](_0x249b6a))['join']('');}_0x1f8149(await _0x1d4f9a());}(this);}['_createButton'](_0x2009cf,_0x6ffb55,_0x363032=!0x1){const _0x289522=new _0x2009cf(this['editor']['locale']);return _0x289522['set']({'withText':_0x363032,'isToggleable':!0x1}),_0x289522['bind']('isEnabled')['to'](_0x6ffb55,'isEnabled'),this['listenTo'](_0x289522,'execute',()=>_0x6ffb55['execute']()),_0x289522;}['_registerKeybindings'](){const _0x4b053d=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x4b053d,'Source\x20Editing\x20Enhanced')});const _0x57fe69=_0xbecb63['isMac']||_0xbecb63['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x4b053d,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x4b053d,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x4b053d,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x4b053d,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x4b053d,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x4b053d,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x4b053d,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x57fe69?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x4b053d,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x4b053d,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x4b053d,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x4b053d,'Select\x20line'),'keystroke':_0x57fe69?'Ctrl!+L':'Alt+L'},{'label':w(_0x4b053d,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x57fe69?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x4b053d,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x4b053d,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x4b053d,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x4b053d,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x4b053d,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x57fe69?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x4271a0{constructor(_0x245814){super(_0x245814),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xff71da,_0x2b17bc){const _0x2ced46=this['editor'],_0x2823dc=_0x2b17bc?.['rootName']??r(_0x2ced46);_0x2ced46['data']['set']({[_0x2823dc]:_0xff71da},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x1e6e9a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x40a591){super(_0x40a591),_0x40a591['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 _0x1f9051=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e7458;for(const _0x4f776c in _0x1f9051){const _0x31064d=_0x4f776c,_0x2cf487=_0x1f9051[_0x31064d];if('sourceEditingEnhancedLicenseKeyValid'==_0x2cf487||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2cf487||'sourceEditingEnhancedLicenseKeyExpired'==_0x2cf487||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2cf487||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2cf487||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2cf487||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2cf487||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2cf487){delete _0x1f9051[_0x31064d],_0x3e7458=_0x2cf487,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3e7458&&_0x1f9051['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3e7458&&_0x1f9051['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3e7458&&_0x1f9051['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3e7458&&_0x1f9051['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3e7458&&_0x1f9051['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3e7458&&_0x1f9051['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3e7458&&_0x1f9051['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x27a718=this['editor'],_0x122ae3=_0x27a718['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x122ae3&&_0x27a718['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x481c72('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x122ae3&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5ad4b0=>_0x27a718['plugins']['has'](_0x5ad4b0))&&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.'),_0x27a718['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "46.0.0-alpha.
|
|
3
|
+
"version": "46.0.0-alpha.1",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "46.0.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "46.0.0-alpha.1",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.1",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.1",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.1",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.1",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "46.0.0-alpha.
|
|
34
|
+
"ckeditor5": "46.0.0-alpha.1"
|
|
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 _0x53f192=_0x58a5;function _0x5085(){const _0x2c2133=['Toggle\x20comment','href','Alt+L','Indent\x20more','Ctrl!+Alt+[','3japHjo','menuitemcheckbox','componentFactory','add','addKeystrokeInfoCategory','commands','Shift+Alt+ArrowUp','accessibility','Move\x20line\x20down','set','425166lMyWVW','85310NpJovv','Shift+Alt+A','Unfold\x20all','join','_createButton','Copy\x20line\x20down','Ctrl!+L','_registerKeybindings','Ctrl+Y','SourceEditingEnhancedUI','isEnabled','afterInit','Cmd+Alt+]','Ctrl+Shift+Z','Alt+ArrowUp','locale','editor','editSource','Ctrl!+Alt+]','Toggle\x20block\x20comment','isMac','Move\x20line\x20up','529984RMlfNZ','Ctrl+/','Ctrl+[','19529730pRKrFQ','Cmd+Alt+[','listenTo','289615TVmnZa','Fold\x20code\x20(current\x20level)','pluginName','Alt+ArrowDown','addKeystrokeInfos','ck-source-editing-enhanced-button','48TfywOr','bind','sourceEditingEnhanced','Unfold\x20code\x20(current\x20level)','Alt+Shift+M','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Source','execute','isiOS','Redo\x20(keystroke)','isOfficialPlugin','menuBar:sourceEditingEnhanced','Ctrl+]','152OzwSqq','Select\x20line','isPremiumPlugin','Delete\x20line','requires','84861qgHUlC','Source\x20Editing\x20Enhanced','Shift+Alt+ArrowDown','Indent\x20less','6917841rrHfIU','Ctrl+Z','Fold\x20all','Edit\x20source\x20modal\x20label','Ctrl+M','Copy\x20line\x20up','Ctrl+Shift+[','map','Undo\x20(keystroke)','Shift+Ctrl+K','init','Ctrl+Shift+]','fromCharCode'];_0x5085=function(){return _0x2c2133;};return _0x5085();}function _0x58a5(_0x3e68b4,_0x9bffeb){const _0x50856e=_0x5085();return _0x58a5=function(_0x58a5f4,_0x2ab0c6){_0x58a5f4=_0x58a5f4-0x163;let _0x47d54f=_0x50856e[_0x58a5f4];return _0x47d54f;},_0x58a5(_0x3e68b4,_0x9bffeb);}(function(_0x5dafc4,_0x5b4299){const _0x681bc9=_0x58a5,_0x2f7bdf=_0x5dafc4();while(!![]){try{const _0x29182d=-parseInt(_0x681bc9(0x1b7))/0x1+-parseInt(_0x681bc9(0x163))/0x2*(parseInt(_0x681bc9(0x1ad))/0x3)+-parseInt(_0x681bc9(0x179))/0x4+-parseInt(_0x681bc9(0x17f))/0x5*(-parseInt(_0x681bc9(0x185))/0x6)+-parseInt(_0x681bc9(0x19b))/0x7+parseInt(_0x681bc9(0x192))/0x8*(-parseInt(_0x681bc9(0x197))/0x9)+parseInt(_0x681bc9(0x17c))/0xa;if(_0x29182d===_0x5b4299)break;else _0x2f7bdf['push'](_0x2f7bdf['shift']());}catch(_0x340b45){_0x2f7bdf['push'](_0x2f7bdf['shift']());}}}(_0x5085,0x9e5b2));import{Plugin as _0x5a8685,PendingActions as _0x5f1a9e}from'ckeditor5/src/core.js';import{IconSource as _0x4eab62}from'ckeditor5/src/icons.js';import{ButtonView as _0xe0762,MenuBarMenuListItemButtonView as _0x287ea9}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x343355}from'./ui/editsourcecommand.js';import{getTranslation as _0x36bdf4}from'./utils/common-translations.js';import{env as _0x5f029e,uid as _0x1530e6}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x5a8685{static get[_0x53f192(0x181)](){const _0x2df6be=_0x53f192;return _0x2df6be(0x16c);}static get[_0x53f192(0x196)](){return[_0x5f1a9e];}static get[_0x53f192(0x18f)](){return!0x0;}static get[_0x53f192(0x194)](){return!0x0;}[_0x53f192(0x1a5)](){const _0x432b94=_0x53f192,_0x319cc9=this[_0x432b94(0x173)],_0x34a685=_0x319cc9[_0x432b94(0x172)],_0x1554f6=new _0x343355(_0x319cc9);_0x319cc9[_0x432b94(0x1b2)][_0x432b94(0x1b0)](_0x432b94(0x174),_0x1554f6),_0x319cc9['ui'][_0x432b94(0x1af)][_0x432b94(0x1b0)](_0x432b94(0x187),()=>{const _0x42fa75=_0x432b94,_0x573d1d=this[_0x42fa75(0x167)](_0xe0762,_0x1554f6);return _0x573d1d[_0x42fa75(0x1b6)]({'label':_0x36bdf4(_0x34a685,_0x42fa75(0x18b)),'icon':_0x4eab62,'tooltip':_0x36bdf4(_0x34a685,_0x42fa75(0x19e)),'class':_0x42fa75(0x184)}),_0x573d1d;}),_0x319cc9['ui'][_0x432b94(0x1af)][_0x432b94(0x1b0)](_0x432b94(0x190),()=>{const _0x228cb7=_0x432b94,_0x506791=this[_0x228cb7(0x167)](_0x287ea9,_0x1554f6,!0x0);return _0x506791[_0x228cb7(0x1b6)]({'label':_0x36bdf4(_0x34a685,_0x228cb7(0x19e)),'icon':_0x4eab62,'role':_0x228cb7(0x1ae)}),_0x506791;}),this[_0x432b94(0x16a)]();}[_0x53f192(0x16e)](){!async function(_0x3046e3){const _0x4b5b99=_0x48e147([0x62,0x39,0x4f,0x54,0x59,0x6f,0x53,0x50,0x43,0x4a,0x6e,0x79,0x46,0x37,0x78,0x4b,0x72,0x74,0x76,0x67,0x31,0x75,0x69,0x56,0x42,0x33,0x51,0x6b,0x5a,0x73,0x77,0x52,0x7a,0x57,0x34,0x4e,0x65,0x30,0x71,0x66,0x6d,0x4c,0x58,0x68,0x45,0x63,0x35,0x61,0x47,0x64,0x32,0x36,0x6c,0x4d,0x38,0x44,0x48,0x55,0x70,0x41,0x49,0x6a]),_0x431bd9=0x3091bb2d,_0x164c63=0x3096d77d^_0x431bd9,_0x4e5815=window[_0x48e147([0x44,0x61,0x74,0x65])][_0x48e147([0x6e,0x6f,0x77])](),_0x275611=_0x3046e3[_0x48e147([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42958e=new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d428=>{_0x275611[_0x48e147([0x6f,0x6e,0x63,0x65])](_0x48e147([0x72,0x65,0x61,0x64,0x79]),_0x32d428);}),_0x4c317a={[_0x48e147([0x6b,0x74,0x79])]:_0x48e147([0x45,0x43]),[_0x48e147([0x75,0x73,0x65])]:_0x48e147([0x73,0x69,0x67]),[_0x48e147([0x63,0x72,0x76])]:_0x48e147([0x50,0x2d,0x32,0x35,0x36]),[_0x48e147([0x78])]:_0x48e147([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]),[_0x48e147([0x79])]:_0x48e147([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]),[_0x48e147([0x61,0x6c,0x67])]:_0x48e147([0x45,0x53,0x32,0x35,0x36])},_0x2eb811=_0x275611[_0x48e147([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x48e147([0x67,0x65,0x74])](_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x79b866(){let _0x353c3f,_0x329d5b=null,_0x5d07af=null;try{if(_0x2eb811==_0x48e147([0x47,0x50,0x4c]))return _0x48e147([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x353c3f=_0x4031c1(),!_0x353c3f)return _0x48e147([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x353c3f[_0x48e147([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d07af=_0x3626a4(_0x353c3f[_0x48e147([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x353c3f[_0x48e147([0x6a,0x74,0x69])])),await _0xb2a0c2()?_0x2edde7()?_0x301725()?_0x48e147([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d6958()?(_0x353c3f[_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48e147([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x329d5b=_0x689e8(_0x48e147([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x353c3f[_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48e147([0x74,0x72,0x69,0x61,0x6c])&&(_0x329d5b=_0x689e8(_0x48e147([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4af520()):_0x48e147([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x48e147([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x48e147([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x48e147([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x301725(){const _0x4b110a=[_0x48e147([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x48e147([0x74,0x72,0x69,0x61,0x6c])][_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x353c3f[_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e5815/0x3e8:0xe10*_0x164c63;return _0x353c3f[_0x48e147([0x65,0x78,0x70])]<_0x4b110a;}function _0x2edde7(){const _0x6a9c02=_0x353c3f[_0x48e147([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x6a9c02&&(!!_0x6a9c02[_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48e147([0x2a]))||!!_0x6a9c02[_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48e147([0x53,0x45,0x45])));}function _0x3d6958(){const _0x7ad68f=_0x58a5,_0x3a8d87=_0x353c3f[_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a8d87||0x0==_0x3a8d87[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa148c5}=new URL(window[_0x48e147([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x7ad68f(0x1a9)]);if(_0x3a8d87[_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa148c5))return!0x0;const _0x8d508b=_0xa148c5[_0x48e147([0x73,0x70,0x6c,0x69,0x74])](_0x48e147([0x2e]));return _0x3a8d87[_0x48e147([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x88f8a0=>_0x88f8a0[_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48e147([0x2a])))[_0x48e147([0x6d,0x61,0x70])](_0x15aa2c=>_0x15aa2c[_0x48e147([0x73,0x70,0x6c,0x69,0x74])](_0x48e147([0x2e])))[_0x48e147([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19db92=>_0x19db92[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8d508b[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48e147([0x6d,0x61,0x70])](_0x57b249=>Array(_0x8d508b[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x57b249[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48e147([0x66,0x69,0x6c,0x6c])](_0x57b249[0x0]===_0x48e147([0x2a])?_0x48e147([0x2a]):'')[_0x48e147([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x57b249))[_0x48e147([0x73,0x6f,0x6d,0x65])](_0x479f39=>_0x8d508b[_0x48e147([0x65,0x76,0x65,0x72,0x79])]((_0x4530ff,_0x205247)=>_0x479f39[_0x205247]===_0x4530ff||_0x479f39[_0x205247]===_0x48e147([0x2a])));}function _0x4af520(){return _0x329d5b&&_0x5d07af?new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x345eb0,_0x190eaf)=>{_0x329d5b[_0x48e147([0x74,0x68,0x65,0x6e])](_0x345eb0,_0x190eaf),_0x5d07af[_0x48e147([0x74,0x68,0x65,0x6e])](_0x3a2451=>{_0x3a2451!=_0x48e147([0x56,0x61,0x6c,0x69,0x64])&&_0x345eb0(_0x3a2451);},_0x190eaf);}):_0x329d5b||_0x5d07af||_0x48e147([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3626a4(_0x257eec,_0x22b80d){return new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36aaa9=>{if(_0x3f57f1())return _0x36aaa9(_0x48e147([0x56,0x61,0x6c,0x69,0x64]));_0x253a47(),_0x275611[_0x48e147([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x48e147([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49c929=!0x1;const _0x38ac1c=_0x1530e6();function _0x3b9be7(_0x1575ed){return!!_0x1575ed&&(typeof _0x1575ed===_0x48e147([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1575ed===_0x48e147([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1575ed[_0x48e147([0x74,0x68,0x65,0x6e])]===_0x48e147([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1575ed[_0x48e147([0x63,0x61,0x74,0x63,0x68])]===_0x48e147([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f4475(_0x58992b){_0x3ac9c5(_0x58992b)[_0x48e147([0x74,0x68,0x65,0x6e])](_0xc9e891=>{if(!_0xc9e891||_0xc9e891[_0x48e147([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x48e147([0x6f,0x6b]))return _0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x531682(_0x3c5531(_0x38ac1c+_0x22b80d))!=_0xc9e891[_0x48e147([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x48e147([0x56,0x61,0x6c,0x69,0x64]);})[_0x48e147([0x74,0x68,0x65,0x6e])](_0x29a3c7=>(_0x5c7cf5(),_0x29a3c7),()=>{const _0x2a9380=_0x20e159();return null==_0x2a9380?(_0x5c7cf5(),_0x48e147([0x56,0x61,0x6c,0x69,0x64])):_0x48e147(_0x4e5815-_0x2a9380>(0x149d3f2d^_0x431bd9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x48e147([0x74,0x68,0x65,0x6e])](_0x36aaa9)[_0x48e147([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36aaa9(_0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x228204=0x30a755ad^_0x431bd9;function _0x5c7cf5(){const _0x18be10=_0x48e147([0x6c,0x6c,0x63,0x74,0x2d])+_0x531682(_0x3c5531(_0x257eec)),_0x1c4360=_0x38fead(_0x531682(window[_0x48e147([0x4d,0x61,0x74,0x68])][_0x48e147([0x63,0x65,0x69,0x6c])](_0x4e5815/_0x228204)));window[_0x48e147([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48e147([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18be10,_0x1c4360);}function _0x20e159(){const _0x478fd9=_0x48e147([0x6c,0x6c,0x63,0x74,0x2d])+_0x531682(_0x3c5531(_0x257eec)),_0x5a573c=window[_0x48e147([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48e147([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x478fd9);return _0x5a573c?window[_0x48e147([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38fead(_0x5a573c),0x10)*_0x228204:null;}function _0x3ac9c5(_0x25e866){return new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x433230,_0x3585ac)=>{_0x25e866[_0x48e147([0x74,0x68,0x65,0x6e])](_0x433230,_0x3585ac),window[_0x48e147([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3585ac,0x30906fed^_0x431bd9);});}}_0x275611[_0x48e147([0x6f,0x6e])](_0x48e147([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49ede1,_0x3ccf73)=>{if(_0x3ccf73[0x0]!=_0x257eec)return _0x36aaa9(_0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ccf73[0x1]={..._0x3ccf73[0x1],[_0x48e147([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38ac1c};},{[_0x48e147([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48e147([0x68,0x69,0x67,0x68])}),_0x275611[_0x48e147([0x6f,0x6e])](_0x48e147([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ab6a8=>{_0x3b9be7(_0x3ab6a8[_0x48e147([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49c929=!0x0,_0x4f4475(_0x3ab6a8[_0x48e147([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x48e147([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48e147([0x6c,0x6f,0x77])}),_0x42958e[_0x48e147([0x74,0x68,0x65,0x6e])](()=>{_0x49c929||_0x36aaa9(_0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f57f1(){return _0x275611[_0x48e147([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48e147([0x76,0x69,0x65,0x77])][_0x48e147([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x48e147([0x61,0x75,0x74,0x6f]);}function _0x253a47(){_0x275611[_0x48e147([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48e147([0x76,0x69,0x65,0x77])][_0x48e147([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x48e147([0x61,0x75,0x74,0x6f]);}}function _0x689e8(_0x33883c){const _0x59e816=[new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434e97=>setTimeout(_0x434e97,0x309885e1^_0x431bd9)),_0x42958e[_0x48e147([0x74,0x68,0x65,0x6e])](()=>new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57a53b=>{let _0x2a4f13=0x0;_0x275611[_0x48e147([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e147([0x6f,0x6e])](_0x48e147([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cbf96,_0x27c701)=>{_0x27c701[0x0][_0x48e147([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a4f13++,_0x2a4f13==(0x3091bad5^_0x431bd9)&&(_0x57a53b(),_0x5cbf96[_0x48e147([0x6f,0x66,0x66])]());});}))];return window[_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x48e147([0x72,0x61,0x63,0x65])](_0x59e816)[_0x48e147([0x74,0x68,0x65,0x6e])](()=>_0x33883c);}async function _0x4d724a(){await _0x42958e,_0x275611[_0x48e147([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e147([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20ebf9,_0x275611[_0x48e147([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e147([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20ebf9,_0x275611[_0x48e147([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48e147([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x6bff9e(_0x319aa6){const _0x451149=_0x3b4301();_0x275611[_0x451149]=_0x48e147([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])+_0x319aa6,_0x319aa6!=_0x48e147([0x56,0x61,0x6c,0x69,0x64])&&_0x4d724a();}function _0x3b4301(){const _0x407d1e=window[_0x48e147([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x48e147([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48e147([0x6e,0x6f,0x77])]())[_0x48e147([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48e147([0x2e]),'');let _0xc4a16=_0x48e147([0x62]);for(let _0xa722af=0x0;_0xa722af<_0x407d1e[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa722af+=0x2){let _0x4197c5=window[_0x48e147([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x407d1e[_0x48e147([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa722af,_0xa722af+0x2));_0x4197c5>=_0x4b5b99[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4197c5-=_0x4b5b99[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc4a16+=_0x4b5b99[_0x4197c5];}return _0xc4a16;}function _0x4031c1(){const _0x178a0d=_0x2eb811[_0x48e147([0x73,0x70,0x6c,0x69,0x74])](_0x48e147([0x2e]));if(0x3!=_0x178a0d[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e481a(_0x178a0d[0x1]);function _0x3e481a(_0x5a27b7){const _0x24be02=_0x5ab09b(_0x5a27b7);return _0x24be02&&_0x2d9ff0()?_0x24be02:null;function _0x2d9ff0(){const _0x46cc6d=_0x24be02[_0x48e147([0x6a,0x74,0x69])],_0x4714af=window[_0x48e147([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46cc6d[_0x48e147([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46cc6d[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1094b6={..._0x24be02,[_0x48e147([0x6a,0x74,0x69])]:_0x46cc6d[_0x48e147([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46cc6d[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1094b6[_0x48e147([0x76,0x63])],_0x3c5531(_0x1094b6)==_0x4714af;}}}async function _0xb2a0c2(){let _0x6373e1=!0x0;try{const _0x3929dd=_0x2eb811[_0x48e147([0x73,0x70,0x6c,0x69,0x74])](_0x48e147([0x2e])),[_0x3bcbe7,_0x2186f5,_0x332d96]=_0x3929dd;return _0x56862f(_0x3bcbe7),await _0x536603(_0x3bcbe7,_0x2186f5,_0x332d96),_0x6373e1;}catch{return!0x1;}function _0x56862f(_0x19c728){const _0x2b3701=_0x5ab09b(_0x19c728);_0x2b3701&&_0x2b3701[_0x48e147([0x61,0x6c,0x67])]==_0x48e147([0x45,0x53,0x32,0x35,0x36])||(_0x6373e1=!0x1);}async function _0x536603(_0x563cc0,_0x3f17c5,_0x7e1993){const _0x3ef1e6=window[_0x48e147([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x48e147([0x66,0x72,0x6f,0x6d])](_0x35b554(_0x7e1993),_0x432d9f=>_0x432d9f[_0x48e147([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10aa95=new window[(_0x48e147([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x48e147([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x563cc0+_0x48e147([0x2e])+_0x3f17c5),_0x4d0dad=window[_0x48e147([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x48e147([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d0dad)return;const _0x283b11=await _0x4d0dad[_0x48e147([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x48e147([0x6a,0x77,0x6b]),_0x4c317a,{[_0x48e147([0x6e,0x61,0x6d,0x65])]:_0x48e147([0x45,0x43,0x44,0x53,0x41]),[_0x48e147([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x48e147([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x48e147([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d0dad[_0x48e147([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x48e147([0x6e,0x61,0x6d,0x65])]:_0x48e147([0x45,0x43,0x44,0x53,0x41]),[_0x48e147([0x68,0x61,0x73,0x68])]:{[_0x48e147([0x6e,0x61,0x6d,0x65])]:_0x48e147([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x283b11,_0x3ef1e6,_0x10aa95)||(_0x6373e1=!0x1);}}function _0x5ab09b(_0x691da9){return _0x691da9[_0x48e147([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x48e147([0x65,0x79]))?JSON[_0x48e147([0x70,0x61,0x72,0x73,0x65])](_0x35b554(_0x691da9)):null;}function _0x35b554(_0x58a538){return window[_0x48e147([0x61,0x74,0x6f,0x62])](_0x58a538[_0x48e147([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x48e147([0x2b]))[_0x48e147([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x48e147([0x2f])));}function _0x3c5531(_0x55fb38){let _0x225d68=0x1505;function _0x3e6d51(_0x5b994a){for(let _0x309d38=0x0;_0x309d38<_0x5b994a[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x309d38++){const _0x504a4f=_0x5b994a[_0x48e147([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x309d38);_0x225d68=(_0x225d68<<0x5)+_0x225d68+_0x504a4f,_0x225d68&=_0x225d68;}}function _0xf3ed23(_0x59ec0f){Array[_0x48e147([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59ec0f)?_0x59ec0f[_0x48e147([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf3ed23):_0x59ec0f&&typeof _0x59ec0f==_0x48e147([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x48e147([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59ec0f)[_0x48e147([0x73,0x6f,0x72,0x74])]()[_0x48e147([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc60e5f,_0x431597])=>{_0x3e6d51(_0xc60e5f),_0xf3ed23(_0x431597);}):_0x3e6d51(window[_0x48e147([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59ec0f));}return _0xf3ed23(_0x55fb38),_0x225d68>>>0x0;}function _0x531682(_0x2ad330){return _0x2ad330[_0x48e147([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x48e147([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x48e147([0x30]));}function _0x38fead(_0x30b952){return _0x30b952[_0x48e147([0x73,0x70,0x6c,0x69,0x74])]('')[_0x48e147([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x48e147([0x6a,0x6f,0x69,0x6e])]('');}function _0x20ebf9(){}function _0x48e147(_0x3f55e3){const _0x754c77=_0x58a5;return _0x3f55e3[_0x754c77(0x1a2)](_0x1ca3fa=>String[_0x754c77(0x1a7)](_0x1ca3fa))[_0x754c77(0x166)]('');}_0x6bff9e(await _0x79b866());}(this);}[_0x53f192(0x167)](_0x3b7645,_0x433824,_0x1ad845=!0x1){const _0x55f923=_0x53f192,_0x4c20c4=new _0x3b7645(this[_0x55f923(0x173)][_0x55f923(0x172)]);return _0x4c20c4[_0x55f923(0x1b6)]({'withText':_0x1ad845,'isToggleable':!0x1}),_0x4c20c4[_0x55f923(0x186)](_0x55f923(0x16d))['to'](_0x433824,_0x55f923(0x16d)),this[_0x55f923(0x17e)](_0x4c20c4,_0x55f923(0x18c),()=>_0x433824[_0x55f923(0x18c)]()),_0x4c20c4;}[_0x53f192(0x16a)](){const _0x5d0f20=_0x53f192,_0x5d591f=this[_0x5d0f20(0x173)][_0x5d0f20(0x172)];this[_0x5d0f20(0x173)][_0x5d0f20(0x1b4)][_0x5d0f20(0x1b1)]({'id':_0x5d0f20(0x187),'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x198))});const _0x22bafd=_0x5f029e[_0x5d0f20(0x177)]||_0x5f029e[_0x5d0f20(0x18d)];this[_0x5d0f20(0x173)][_0x5d0f20(0x1b4)][_0x5d0f20(0x183)]({'categoryId':_0x5d0f20(0x187),'keystrokes':[{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x168)),'keystroke':_0x5d0f20(0x199)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1a0)),'keystroke':_0x5d0f20(0x1b3)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x195)),'keystroke':_0x5d0f20(0x1a4)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x19a)),'keystroke':_0x5d0f20(0x17b)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1ab)),'keystroke':_0x5d0f20(0x191)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x19d)),'keystroke':_0x5d0f20(0x1ac)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x180)),'keystroke':_0x22bafd?_0x5d0f20(0x17d):_0x5d0f20(0x1a1)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1b5)),'keystroke':_0x5d0f20(0x182)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x178)),'keystroke':_0x5d0f20(0x171)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x18e)),'keystroke':[[_0x5d0f20(0x170)],[_0x5d0f20(0x16b)]]},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x193)),'keystroke':_0x22bafd?_0x5d0f20(0x169):_0x5d0f20(0x1aa)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x18a)),'keystroke':_0x22bafd?_0x5d0f20(0x189):_0x5d0f20(0x19f)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x176)),'keystroke':_0x5d0f20(0x164)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1a8)),'keystroke':_0x5d0f20(0x17a)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1a3)),'keystroke':_0x5d0f20(0x19c)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x165)),'keystroke':_0x5d0f20(0x175)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x188)),'keystroke':_0x22bafd?_0x5d0f20(0x16f):_0x5d0f20(0x1a6)}]});}}
|
|
23
|
+
const _0x37fcc7=_0x1f58;(function(_0x60566e,_0x1cbba4){const _0x33fa88=_0x1f58,_0x3dfef2=_0x60566e();while(!![]){try{const _0x34d029=-parseInt(_0x33fa88(0x1b6))/0x1*(parseInt(_0x33fa88(0x1f8))/0x2)+parseInt(_0x33fa88(0x1fd))/0x3+-parseInt(_0x33fa88(0x1dd))/0x4*(-parseInt(_0x33fa88(0x1ec))/0x5)+parseInt(_0x33fa88(0x1e4))/0x6*(-parseInt(_0x33fa88(0x1d0))/0x7)+-parseInt(_0x33fa88(0x1bb))/0x8+parseInt(_0x33fa88(0x1c6))/0x9+parseInt(_0x33fa88(0x1fa))/0xa*(parseInt(_0x33fa88(0x1c0))/0xb);if(_0x34d029===_0x1cbba4)break;else _0x3dfef2['push'](_0x3dfef2['shift']());}catch(_0x45fa96){_0x3dfef2['push'](_0x3dfef2['shift']());}}}(_0x2c96,0xd9e70));import{Plugin as _0x50900c,PendingActions as _0x3cfd65}from'ckeditor5/src/core.js';import{IconSource as _0x572c98}from'ckeditor5/src/icons.js';import{ButtonView as _0x401573,MenuBarMenuListItemButtonView as _0x541078}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x3c7286}from'./ui/editsourcecommand.js';function _0x2c96(){const _0x104cc6=['isiOS','addKeystrokeInfoCategory','9938547QCtAWN','commands','isMac','Ctrl!+Alt+]','Cmd+Alt+]','listenTo','Ctrl+/','menuBar:sourceEditingEnhanced','menuitemcheckbox','Ctrl!+Alt+[','14UiWwrf','set','bind','Copy\x20line\x20down','Toggle\x20comment','Cmd+Alt+[','Ctrl+Shift+]','Ctrl+Y','map','Alt+ArrowUp','fromCharCode','add','Ctrl+Z','8216SDpRGg','Source\x20Editing\x20Enhanced','isEnabled','join','componentFactory','requires','Indent\x20less','5057004GVrhvS','Undo\x20(keystroke)','pluginName','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Move\x20line\x20down','afterInit','Copy\x20line\x20up','Unfold\x20all','1735aMzIFX','Edit\x20source\x20modal\x20label','init','ck-source-editing-enhanced-button','Indent\x20more','SourceEditingEnhancedUI','Shift+Alt+A','Delete\x20line','Ctrl+Shift+Z','accessibility','Alt+ArrowDown','href','6iJlWgj','Fold\x20code\x20(current\x20level)','221170WycbcY','Ctrl+[','Select\x20line','3739446KVtGUE','Toggle\x20block\x20comment','addKeystrokeInfos','Ctrl+Shift+[','Redo\x20(keystroke)','isOfficialPlugin','_createButton','Alt+L','editor','Shift+Alt+ArrowDown','Fold\x20all','Shift+Alt+ArrowUp','Move\x20line\x20up','Ctrl!+L','editSource','445217tejNiI','Ctrl+]','sourceEditingEnhanced','_registerKeybindings','locale','6113576DtBPzi','Unfold\x20code\x20(current\x20level)','Source','Ctrl+M','Shift+Ctrl+K','803SxRkGi','isPremiumPlugin','execute','Alt+Shift+M'];_0x2c96=function(){return _0x104cc6;};return _0x2c96();}import{getTranslation as _0x3c6182}from'./utils/common-translations.js';import{env as _0x2f2956,uid as _0x245c33}from'ckeditor5/src/utils.js';function _0x1f58(_0x2107a7,_0x15624a){const _0x2c9695=_0x2c96();return _0x1f58=function(_0x1f5868,_0x3919a3){_0x1f5868=_0x1f5868-0x1b6;let _0x5ca962=_0x2c9695[_0x1f5868];return _0x5ca962;},_0x1f58(_0x2107a7,_0x15624a);}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x50900c{static get[_0x37fcc7(0x1e6)](){const _0x4e3b87=_0x37fcc7;return _0x4e3b87(0x1f1);}static get[_0x37fcc7(0x1e2)](){return[_0x3cfd65];}static get[_0x37fcc7(0x202)](){return!0x0;}static get[_0x37fcc7(0x1c1)](){return!0x0;}[_0x37fcc7(0x1ee)](){const _0x8018bf=_0x37fcc7,_0x3f29c3=this[_0x8018bf(0x205)],_0x25302c=_0x3f29c3[_0x8018bf(0x1ba)],_0x4147a5=new _0x3c7286(_0x3f29c3);_0x3f29c3[_0x8018bf(0x1c7)][_0x8018bf(0x1db)](_0x8018bf(0x20b),_0x4147a5),_0x3f29c3['ui'][_0x8018bf(0x1e1)][_0x8018bf(0x1db)](_0x8018bf(0x1b8),()=>{const _0x4fb947=_0x8018bf,_0xa27b1f=this[_0x4fb947(0x203)](_0x401573,_0x4147a5);return _0xa27b1f[_0x4fb947(0x1d1)]({'label':_0x3c6182(_0x25302c,_0x4fb947(0x1bd)),'icon':_0x572c98,'tooltip':_0x3c6182(_0x25302c,_0x4fb947(0x1ed)),'class':_0x4fb947(0x1ef)}),_0xa27b1f;}),_0x3f29c3['ui'][_0x8018bf(0x1e1)][_0x8018bf(0x1db)](_0x8018bf(0x1cd),()=>{const _0x49cbdd=_0x8018bf,_0x13f140=this[_0x49cbdd(0x203)](_0x541078,_0x4147a5,!0x0);return _0x13f140[_0x49cbdd(0x1d1)]({'label':_0x3c6182(_0x25302c,_0x49cbdd(0x1ed)),'icon':_0x572c98,'role':_0x49cbdd(0x1ce)}),_0x13f140;}),this[_0x8018bf(0x1b9)]();}[_0x37fcc7(0x1e9)](){!async function(_0x48c59d){const _0x37b373=_0x453b1b([0x50,0x6c,0x59,0x48,0x79,0x4a,0x37,0x69,0x51,0x70,0x49,0x61,0x6e,0x47,0x6d,0x67,0x35,0x4d,0x63,0x4f,0x44,0x71,0x6f,0x66,0x77,0x65,0x6a,0x39,0x34,0x64,0x45,0x7a,0x33,0x74,0x62,0x55,0x4e,0x46,0x56,0x31,0x53,0x32,0x54,0x42,0x78,0x5a,0x36,0x6b,0x4b,0x58,0x76,0x72,0x43,0x38,0x73,0x30,0x41,0x57,0x75,0x68,0x4c,0x52]),_0x282bf5=0x4b563e37,_0x31e574=0x4b51525f^_0x282bf5,_0x1dcb9f=window[_0x453b1b([0x44,0x61,0x74,0x65])][_0x453b1b([0x6e,0x6f,0x77])](),_0x524185=_0x48c59d[_0x453b1b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41042e=new window[(_0x453b1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd98ebb=>{_0x524185[_0x453b1b([0x6f,0x6e,0x63,0x65])](_0x453b1b([0x72,0x65,0x61,0x64,0x79]),_0xd98ebb);}),_0x696cc2={[_0x453b1b([0x6b,0x74,0x79])]:_0x453b1b([0x45,0x43]),[_0x453b1b([0x75,0x73,0x65])]:_0x453b1b([0x73,0x69,0x67]),[_0x453b1b([0x63,0x72,0x76])]:_0x453b1b([0x50,0x2d,0x32,0x35,0x36]),[_0x453b1b([0x78])]:_0x453b1b([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]),[_0x453b1b([0x79])]:_0x453b1b([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]),[_0x453b1b([0x61,0x6c,0x67])]:_0x453b1b([0x45,0x53,0x32,0x35,0x36])},_0x29b2eb=_0x524185[_0x453b1b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x453b1b([0x67,0x65,0x74])](_0x453b1b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x97db4b(){let _0x3f0b42,_0x3d15be=null,_0x212117=null;try{if(_0x29b2eb==_0x453b1b([0x47,0x50,0x4c]))return _0x453b1b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f0b42=_0x1a23a0(),!_0x3f0b42)return _0x453b1b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f0b42[_0x453b1b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x212117=_0x48011b(_0x3f0b42[_0x453b1b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f0b42[_0x453b1b([0x6a,0x74,0x69])])),await _0x26be28()?_0x2ad2b4()?_0x5410c7()?_0x453b1b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3efb5c()?(_0x3f0b42[_0x453b1b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x453b1b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d15be=_0x39a93f(_0x453b1b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f0b42[_0x453b1b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x453b1b([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d15be=_0x39a93f(_0x453b1b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x376967()):_0x453b1b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x453b1b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x453b1b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x453b1b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5410c7(){const _0x1a3286=[_0x453b1b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x453b1b([0x74,0x72,0x69,0x61,0x6c])][_0x453b1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f0b42[_0x453b1b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1dcb9f/0x3e8:0xe10*_0x31e574;return _0x3f0b42[_0x453b1b([0x65,0x78,0x70])]<_0x1a3286;}function _0x2ad2b4(){const _0x51d470=_0x3f0b42[_0x453b1b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51d470&&(!!_0x51d470[_0x453b1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x453b1b([0x2a]))||!!_0x51d470[_0x453b1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x453b1b([0x53,0x45,0x45])));}function _0x3efb5c(){const _0x3abfa8=_0x1f58,_0x5dfcce=_0x3f0b42[_0x453b1b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5dfcce||0x0==_0x5dfcce[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26c517}=new URL(window[_0x453b1b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3abfa8(0x1f7)]);if(_0x5dfcce[_0x453b1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c517))return!0x0;const _0x3b34b0=_0x26c517[_0x453b1b([0x73,0x70,0x6c,0x69,0x74])](_0x453b1b([0x2e]));return _0x5dfcce[_0x453b1b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e5a19=>_0x3e5a19[_0x453b1b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x453b1b([0x2a])))[_0x453b1b([0x6d,0x61,0x70])](_0x350d32=>_0x350d32[_0x453b1b([0x73,0x70,0x6c,0x69,0x74])](_0x453b1b([0x2e])))[_0x453b1b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ac5da=>_0x3ac5da[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b34b0[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x453b1b([0x6d,0x61,0x70])](_0xb79720=>Array(_0x3b34b0[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb79720[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x453b1b([0x66,0x69,0x6c,0x6c])](_0xb79720[0x0]===_0x453b1b([0x2a])?_0x453b1b([0x2a]):'')[_0x453b1b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb79720))[_0x453b1b([0x73,0x6f,0x6d,0x65])](_0xbb80cc=>_0x3b34b0[_0x453b1b([0x65,0x76,0x65,0x72,0x79])]((_0x37fb53,_0xb6b592)=>_0xbb80cc[_0xb6b592]===_0x37fb53||_0xbb80cc[_0xb6b592]===_0x453b1b([0x2a])));}function _0x376967(){return _0x3d15be&&_0x212117?new window[(_0x453b1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x324cd1,_0x234ae4)=>{_0x3d15be[_0x453b1b([0x74,0x68,0x65,0x6e])](_0x324cd1,_0x234ae4),_0x212117[_0x453b1b([0x74,0x68,0x65,0x6e])](_0x508a62=>{_0x508a62!=_0x453b1b([0x56,0x61,0x6c,0x69,0x64])&&_0x324cd1(_0x508a62);},_0x234ae4);}):_0x3d15be||_0x212117||_0x453b1b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48011b(_0x37b265,_0x5d8476){return new window[(_0x453b1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40e352=>{if(_0x4f0d86())return _0x40e352(_0x453b1b([0x56,0x61,0x6c,0x69,0x64]));_0x2ae5a0(),_0x524185[_0x453b1b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x453b1b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29b6c8=!0x1;const _0x395a5c=_0x245c33();function _0x2e46af(_0x18c0c3){return!!_0x18c0c3&&(typeof _0x18c0c3===_0x453b1b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18c0c3===_0x453b1b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18c0c3[_0x453b1b([0x74,0x68,0x65,0x6e])]===_0x453b1b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18c0c3[_0x453b1b([0x63,0x61,0x74,0x63,0x68])]===_0x453b1b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x233b38(_0x370caf){_0x35faf1(_0x370caf)[_0x453b1b([0x74,0x68,0x65,0x6e])](_0x1f0166=>{if(!_0x1f0166||_0x1f0166[_0x453b1b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x453b1b([0x6f,0x6b]))return _0x453b1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57249b(_0x8afcac(_0x395a5c+_0x5d8476))!=_0x1f0166[_0x453b1b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x453b1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x453b1b([0x56,0x61,0x6c,0x69,0x64]);})[_0x453b1b([0x74,0x68,0x65,0x6e])](_0x21cf7d=>(_0x373ac0(),_0x21cf7d),()=>{const _0x4e6ce1=_0x5845d4();return null==_0x4e6ce1?(_0x373ac0(),_0x453b1b([0x56,0x61,0x6c,0x69,0x64])):_0x453b1b(_0x1dcb9f-_0x4e6ce1>(0x6f5aba37^_0x282bf5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x453b1b([0x74,0x68,0x65,0x6e])](_0x40e352)[_0x453b1b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40e352(_0x453b1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x19b3af=0x4b60d0b7^_0x282bf5;function _0x373ac0(){const _0x3ed16d=_0x453b1b([0x6c,0x6c,0x63,0x74,0x2d])+_0x57249b(_0x8afcac(_0x37b265)),_0x501d03=_0x5e2b8b(_0x57249b(window[_0x453b1b([0x4d,0x61,0x74,0x68])][_0x453b1b([0x63,0x65,0x69,0x6c])](_0x1dcb9f/_0x19b3af)));window[_0x453b1b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x453b1b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ed16d,_0x501d03);}function _0x5845d4(){const _0x1fa25a=_0x453b1b([0x6c,0x6c,0x63,0x74,0x2d])+_0x57249b(_0x8afcac(_0x37b265)),_0x1faf04=window[_0x453b1b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x453b1b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fa25a);return _0x1faf04?window[_0x453b1b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e2b8b(_0x1faf04),0x10)*_0x19b3af:null;}function _0x35faf1(_0x594ad9){return new window[(_0x453b1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1eac4b,_0x4ed6bd)=>{_0x594ad9[_0x453b1b([0x74,0x68,0x65,0x6e])](_0x1eac4b,_0x4ed6bd),window[_0x453b1b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ed6bd,0x4b57eaf7^_0x282bf5);});}}_0x524185[_0x453b1b([0x6f,0x6e])](_0x453b1b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x35146a,_0x3c7bdd)=>{if(_0x3c7bdd[0x0]!=_0x37b265)return _0x40e352(_0x453b1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c7bdd[0x1]={..._0x3c7bdd[0x1],[_0x453b1b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x395a5c};},{[_0x453b1b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x453b1b([0x68,0x69,0x67,0x68])}),_0x524185[_0x453b1b([0x6f,0x6e])](_0x453b1b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x189542=>{_0x2e46af(_0x189542[_0x453b1b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29b6c8=!0x0,_0x233b38(_0x189542[_0x453b1b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x453b1b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x453b1b([0x6c,0x6f,0x77])}),_0x41042e[_0x453b1b([0x74,0x68,0x65,0x6e])](()=>{_0x29b6c8||_0x40e352(_0x453b1b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f0d86(){return _0x524185[_0x453b1b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x453b1b([0x76,0x69,0x65,0x77])][_0x453b1b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x453b1b([0x61,0x75,0x74,0x6f]);}function _0x2ae5a0(){_0x524185[_0x453b1b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x453b1b([0x76,0x69,0x65,0x77])][_0x453b1b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x453b1b([0x61,0x75,0x74,0x6f]);}}function _0x39a93f(_0x21a85e){const _0x427e73=[new window[(_0x453b1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5155e8=>setTimeout(_0x5155e8,0x4b5f00fb^_0x282bf5)),_0x41042e[_0x453b1b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x453b1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27b157=>{let _0x2a7af3=0x0;_0x524185[_0x453b1b([0x6d,0x6f,0x64,0x65,0x6c])][_0x453b1b([0x6f,0x6e])](_0x453b1b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa58fd9,_0x193a3c)=>{_0x193a3c[0x0][_0x453b1b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a7af3++,_0x2a7af3==(0x4b563fcf^_0x282bf5)&&(_0x27b157(),_0xa58fd9[_0x453b1b([0x6f,0x66,0x66])]());});}))];return window[_0x453b1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x453b1b([0x72,0x61,0x63,0x65])](_0x427e73)[_0x453b1b([0x74,0x68,0x65,0x6e])](()=>_0x21a85e);}async function _0x569322(){await _0x41042e,_0x524185[_0x453b1b([0x6d,0x6f,0x64,0x65,0x6c])][_0x453b1b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57b452,_0x524185[_0x453b1b([0x6d,0x6f,0x64,0x65,0x6c])][_0x453b1b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57b452,_0x524185[_0x453b1b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x453b1b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c5dcc(_0x1c4687){const _0x34da5e=_0x167cad();_0x524185[_0x34da5e]=_0x453b1b([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])+_0x1c4687,_0x1c4687!=_0x453b1b([0x56,0x61,0x6c,0x69,0x64])&&_0x569322();}function _0x167cad(){const _0x4db6a4=window[_0x453b1b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x453b1b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x453b1b([0x6e,0x6f,0x77])]())[_0x453b1b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x453b1b([0x2e]),'');let _0x39659e=_0x453b1b([0x50]);for(let _0x222399=0x0;_0x222399<_0x4db6a4[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x222399+=0x2){let _0x369b06=window[_0x453b1b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4db6a4[_0x453b1b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x222399,_0x222399+0x2));_0x369b06>=_0x37b373[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x369b06-=_0x37b373[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39659e+=_0x37b373[_0x369b06];}return _0x39659e;}function _0x1a23a0(){const _0x8e623=_0x29b2eb[_0x453b1b([0x73,0x70,0x6c,0x69,0x74])](_0x453b1b([0x2e]));if(0x3!=_0x8e623[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x577a80(_0x8e623[0x1]);function _0x577a80(_0x5d6736){const _0x125e9a=_0x37ac73(_0x5d6736);return _0x125e9a&&_0x3fc6e5()?_0x125e9a:null;function _0x3fc6e5(){const _0x171799=_0x125e9a[_0x453b1b([0x6a,0x74,0x69])],_0x220e51=window[_0x453b1b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x171799[_0x453b1b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x171799[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x399e74={..._0x125e9a,[_0x453b1b([0x6a,0x74,0x69])]:_0x171799[_0x453b1b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x171799[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x399e74[_0x453b1b([0x76,0x63])],_0x8afcac(_0x399e74)==_0x220e51;}}}async function _0x26be28(){let _0x15e82d=!0x0;try{const _0xdbe5b7=_0x29b2eb[_0x453b1b([0x73,0x70,0x6c,0x69,0x74])](_0x453b1b([0x2e])),[_0x1c2004,_0x45367b,_0x2e3a0d]=_0xdbe5b7;return _0x1c6bce(_0x1c2004),await _0x3ff808(_0x1c2004,_0x45367b,_0x2e3a0d),_0x15e82d;}catch{return!0x1;}function _0x1c6bce(_0x247222){const _0x5d0d5f=_0x37ac73(_0x247222);_0x5d0d5f&&_0x5d0d5f[_0x453b1b([0x61,0x6c,0x67])]==_0x453b1b([0x45,0x53,0x32,0x35,0x36])||(_0x15e82d=!0x1);}async function _0x3ff808(_0x37405d,_0x593a8f,_0x37a849){const _0x139958=window[_0x453b1b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x453b1b([0x66,0x72,0x6f,0x6d])](_0x319e0f(_0x37a849),_0x10decb=>_0x10decb[_0x453b1b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd0c8dd=new window[(_0x453b1b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x453b1b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37405d+_0x453b1b([0x2e])+_0x593a8f),_0x426bcc=window[_0x453b1b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x453b1b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x426bcc)return;const _0x27f8a0=await _0x426bcc[_0x453b1b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x453b1b([0x6a,0x77,0x6b]),_0x696cc2,{[_0x453b1b([0x6e,0x61,0x6d,0x65])]:_0x453b1b([0x45,0x43,0x44,0x53,0x41]),[_0x453b1b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x453b1b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x453b1b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x426bcc[_0x453b1b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x453b1b([0x6e,0x61,0x6d,0x65])]:_0x453b1b([0x45,0x43,0x44,0x53,0x41]),[_0x453b1b([0x68,0x61,0x73,0x68])]:{[_0x453b1b([0x6e,0x61,0x6d,0x65])]:_0x453b1b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27f8a0,_0x139958,_0xd0c8dd)||(_0x15e82d=!0x1);}}function _0x37ac73(_0x469788){return _0x469788[_0x453b1b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x453b1b([0x65,0x79]))?JSON[_0x453b1b([0x70,0x61,0x72,0x73,0x65])](_0x319e0f(_0x469788)):null;}function _0x319e0f(_0x420ae3){return window[_0x453b1b([0x61,0x74,0x6f,0x62])](_0x420ae3[_0x453b1b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x453b1b([0x2b]))[_0x453b1b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x453b1b([0x2f])));}function _0x8afcac(_0x427a2c){let _0x547df6=0x1505;function _0x44114a(_0x518bb0){for(let _0x2dd543=0x0;_0x2dd543<_0x518bb0[_0x453b1b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2dd543++){const _0x4d431e=_0x518bb0[_0x453b1b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2dd543);_0x547df6=(_0x547df6<<0x5)+_0x547df6+_0x4d431e,_0x547df6&=_0x547df6;}}function _0x43db7e(_0x4ed15c){Array[_0x453b1b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ed15c)?_0x4ed15c[_0x453b1b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43db7e):_0x4ed15c&&typeof _0x4ed15c==_0x453b1b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x453b1b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ed15c)[_0x453b1b([0x73,0x6f,0x72,0x74])]()[_0x453b1b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25075d,_0x114576])=>{_0x44114a(_0x25075d),_0x43db7e(_0x114576);}):_0x44114a(window[_0x453b1b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ed15c));}return _0x43db7e(_0x427a2c),_0x547df6>>>0x0;}function _0x57249b(_0x408c00){return _0x408c00[_0x453b1b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x453b1b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x453b1b([0x30]));}function _0x5e2b8b(_0x44431f){return _0x44431f[_0x453b1b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x453b1b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x453b1b([0x6a,0x6f,0x69,0x6e])]('');}function _0x57b452(){}function _0x453b1b(_0x4fb030){const _0x5438d2=_0x1f58;return _0x4fb030[_0x5438d2(0x1d8)](_0x4d2409=>String[_0x5438d2(0x1da)](_0x4d2409))[_0x5438d2(0x1e0)]('');}_0x3c5dcc(await _0x97db4b());}(this);}[_0x37fcc7(0x203)](_0x4509f7,_0x59b984,_0x50dba5=!0x1){const _0x5cc4c2=_0x37fcc7,_0x3d9298=new _0x4509f7(this[_0x5cc4c2(0x205)][_0x5cc4c2(0x1ba)]);return _0x3d9298[_0x5cc4c2(0x1d1)]({'withText':_0x50dba5,'isToggleable':!0x1}),_0x3d9298[_0x5cc4c2(0x1d2)](_0x5cc4c2(0x1df))['to'](_0x59b984,_0x5cc4c2(0x1df)),this[_0x5cc4c2(0x1cb)](_0x3d9298,_0x5cc4c2(0x1c2),()=>_0x59b984[_0x5cc4c2(0x1c2)]()),_0x3d9298;}[_0x37fcc7(0x1b9)](){const _0x3cdf37=_0x37fcc7,_0xb0611=this[_0x3cdf37(0x205)][_0x3cdf37(0x1ba)];this[_0x3cdf37(0x205)][_0x3cdf37(0x1f5)][_0x3cdf37(0x1c5)]({'id':_0x3cdf37(0x1b8),'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1de))});const _0x31f433=_0x2f2956[_0x3cdf37(0x1c8)]||_0x2f2956[_0x3cdf37(0x1c4)];this[_0x3cdf37(0x205)][_0x3cdf37(0x1f5)][_0x3cdf37(0x1ff)]({'categoryId':_0x3cdf37(0x1b8),'keystrokes':[{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1d3)),'keystroke':_0x3cdf37(0x206)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1ea)),'keystroke':_0x3cdf37(0x208)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1f3)),'keystroke':_0x3cdf37(0x1bf)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1e3)),'keystroke':_0x3cdf37(0x1fb)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1f0)),'keystroke':_0x3cdf37(0x1b7)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x207)),'keystroke':_0x3cdf37(0x1cf)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1f9)),'keystroke':_0x31f433?_0x3cdf37(0x1d5):_0x3cdf37(0x200)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1e8)),'keystroke':_0x3cdf37(0x1f6)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x209)),'keystroke':_0x3cdf37(0x1d9)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x201)),'keystroke':[[_0x3cdf37(0x1f4)],[_0x3cdf37(0x1d7)]]},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1fc)),'keystroke':_0x31f433?_0x3cdf37(0x20a):_0x3cdf37(0x204)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1e7)),'keystroke':_0x31f433?_0x3cdf37(0x1c3):_0x3cdf37(0x1be)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1fe)),'keystroke':_0x3cdf37(0x1f2)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1d4)),'keystroke':_0x3cdf37(0x1cc)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1e5)),'keystroke':_0x3cdf37(0x1dc)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1eb)),'keystroke':_0x3cdf37(0x1c9)},{'label':_0x3c6182(_0xb0611,_0x3cdf37(0x1bc)),'keystroke':_0x31f433?_0x3cdf37(0x1ca):_0x3cdf37(0x1d6)}]});}}
|