@ckeditor/ckeditor5-source-editing-enhanced 47.3.0-alpha.4 → 47.3.0-alpha.5
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 _0x134f87,PendingActions as _0x44bca2,Plugin as _0x18dc07}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4cc10a,formatHtml as _0x4909c9,env as _0xb08124,uid as _0x2eaccc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x3ef18e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x16a767,ButtonView as _0x5acd34,MenuBarMenuListItemButtonView as _0x57efdf}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x59a1eb,crosshairCursor as _0x33dd2c,drawSelection as _0x40b455,dropCursor as _0x2d6560,lineNumbers as _0x86c44,highlightActiveLine as _0x5871ed,highlightActiveLineGutter as _0x363803,highlightSpecialChars as _0x2f1ae8,rectangularSelection as _0x3f70ef,keymap as _0x5eeff9}from'@codemirror/view';import{Compartment as _0x3674c3,Transaction as _0x9380dc}from'@codemirror/state';import{bracketMatching as _0x47acc9,foldGutter as _0x24165d,indentOnInput as _0x21a0a5,syntaxHighlighting as _0x5bc20a,defaultHighlightStyle as _0x27ee38,foldKeymap as _0x302d3e}from'@codemirror/language';import{toggleTabFocusMode as _0x2af303,history as _0x428ba5,defaultKeymap as _0x1d4068,historyKeymap as _0x4fd058,indentLess as _0x2fb0ae,indentMore as _0x672778,redo as _0x5cfc89,undo as _0x18e48e}from'@codemirror/commands';import{autocompletion as _0x23bfef,closeBrackets as _0x10ca35,closeBracketsKeymap as _0x18f8d8,completionKeymap as _0x5c8220}from'@codemirror/autocomplete';import{html as _0x3530da}from'@codemirror/lang-html';import{markdown as _0x5fb86}from'@codemirror/lang-markdown';import{oneDark as _0x122421}from'@codemirror/theme-one-dark';function w(_0x33ee21,_0x6b3f8a){const t=_0x33ee21['t'];switch(_0x6b3f8a){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 _0x6b3f8a;}}function r(_0x5acaa5){const _0x2922d9=_0x5acaa5['editing']['view']['document']['roots'],_0x3f15f1=_0x2922d9['length'];if(0x0===_0x3f15f1)throw new _0x4cc10a('source-editing-enhanced-editor-no-root',_0x5acaa5);if(0x1===_0x3f15f1)return _0x2922d9['first']['rootName'];return Array['from'](_0x5acaa5['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x5b296d){return tr(_0x5b296d['replace'](/^[\n\s]*/g,''))?_0x5b296d['replace'](/\s+/g,''):_0x5b296d;}function tr(_0x1a7562){return _0x1a7562['startsWith']('<');}function p(_0x58cf97){const _0xe1d7d6=[_0x59a1eb['lineWrapping'],_0x23bfef(),_0x47acc9(),_0x10ca35(),_0x33dd2c(),_0x40b455(),_0x2d6560(),_0x86c44(),_0x24165d(),_0x5871ed(),_0x363803(),_0x2f1ae8(),_0x428ba5(),_0x21a0a5(),_0x3f70ef(),_0x5bc20a(_0x27ee38,{'fallback':!0x0})],_0x3d5410=new _0x3674c3();_0xe1d7d6['push'](_0x3d5410['of'](_0x59a1eb['editable']['of'](!0x0))),'html'===_0x58cf97['syntaxLanguage']?_0xe1d7d6['push'](_0x3530da()):_0xe1d7d6['push'](_0x5fb86());const _0x38be54=function(_0x27f8fc){if(_0x27f8fc&&'default'!==_0x27f8fc)return'dark'===_0x27f8fc?_0x122421:_0x27f8fc;return null;}(_0x58cf97['theme']);_0x38be54&&_0xe1d7d6['push'](_0x38be54),_0xe1d7d6['push'](_0x5eeff9['of']([..._0x18f8d8,..._0x1d4068,..._0x4fd058,..._0x302d3e,..._0x5c8220,{'key':'Tab','run':_0x672778,'shift':_0x2fb0ae,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x5cfc89,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x5cfc89,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x18e48e,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x444030=new _0x59a1eb({'extensions':_0xe1d7d6,'parent':_0x58cf97['parent']});return _0x2af303(_0x444030),{'focus':()=>{_0x444030['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x444030['focus']();},'getData':()=>_0x444030['state']['doc']['toString'](),'setData':_0xfe8431=>{_0x444030['dispatch']({'changes':{'from':0x0,'to':_0x444030['state']['doc']['length'],'insert':_0xfe8431},'annotations':_0x9380dc['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3d20c5=>{_0x444030['dispatch']({'effects':[_0x3d5410['reconfigure'](_0x59a1eb['editable']['of'](!_0x3d20c5))]});},'destroy':()=>{_0x444030['destroy']();},'instance':_0x444030};}class E extends _0x16a767{['_codeEditorApi']=null;['_options'];constructor(_0xacaa0e,_0x1885fb){super(_0xacaa0e),this['_options']=_0x1885fb,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',(_0x2f11e9,_0x28a528,_0xc0a5fb)=>{this['setReadOnly'](_0xc0a5fb);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2aecc1){this['_codeEditorApi']['setData'](_0x2aecc1);}['setReadOnly'](_0x29f264){this['_codeEditorApi']['setReadOnly'](_0x29f264);}}const b='SourceEditingEnhancedMode';class d extends _0x134f87{constructor(_0x3db0b8){super(_0x3db0b8),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x44bca2)['on']('change:hasAny',(_0xcf2b61,_0x1e8a3d,_0x553d33)=>{_0x553d33?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4e955e=this['editor'];for(const _0x527abc of _0x4e955e['commands']['names']())['replaceSource','editSource']['includes'](_0x527abc)||_0x4e955e['commands']['get'](_0x527abc)['forceDisabled'](b);}['_enableCommands'](){const _0x5637c9=this['editor'];for(const _0x229aa8 of _0x5637c9['commands']['commands']())_0x229aa8['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x54a963=this['editor'],_0x30c0bc=_0x54a963['locale'],_0xa325fd=_0x54a963['plugins']['get']('Dialog'),_0x1980af=r(_0x54a963),_0x1973c3=_0x54a963['data']['get']({'rootName':_0x1980af}),_0x429ba9=tr(_0x10c478=_0x1973c3)?_0x4909c9(_0x10c478):_0x10c478;var _0x10c478;const _0xd4ae2c=new E(_0x30c0bc,{'syntaxLanguage':_0x54a963['plugins']['has']('Markdown')?'markdown':'html','theme':_0x54a963['config']['get']('sourceEditingEnhanced.theme')});let _0x2caf41=!0x0;const _0x4c6efc=_0x42af04=>{if(!_0x2caf41)return;return g(_0xd4ae2c['getData']())!==g(_0x429ba9)?window['confirm'](w(_0x30c0bc,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x42af04['stop']():void 0x0;};_0xa325fd['show']({'id':'sourceEditingEnhanced','title':w(_0x30c0bc,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xd4ae2c,'actionButtons':[{'label':w(_0x30c0bc,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xa325fd['hide']();}},{'label':w(_0x30c0bc,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x53ab47=g(_0xd4ae2c['getData']())!==g(_0x429ba9);(_0x53ab47&&_0x54a963['execute']('replaceSource',_0xd4ae2c['getData']()),_0x2caf41=!0x1,_0xa325fd['hide'](),_0x53ab47&&'editables'in _0x54a963['ui']['view'])&&_0x54a963['ui']['view']['editables'][_0x1980af]['element']['focus']();},'onCreate':_0x4e2291=>{_0x4e2291['set']('isEnabled',!_0x54a963['isReadOnly']),_0x4e2291['bind']('isEnabled')['to'](_0x54a963,'isReadOnly',this,'isEnabled',(_0xc5f8a7,_0x338628)=>!_0xc5f8a7&&_0x338628);}}],'onHide':()=>{this['_enableCommands'](),_0xa325fd['off']('hide',_0x4c6efc),_0xd4ae2c['destroy']();},'onShow':()=>{_0xd4ae2c['bind']('isReadOnly')['to'](_0x54a963,'isReadOnly',this,'isEnabled',(_0x2c85d5,_0x128195)=>_0x2c85d5||!_0x128195),_0xd4ae2c['setData'](_0x429ba9),_0xd4ae2c['focus'](),_0xa325fd['on']('hide',_0x4c6efc,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x18dc07{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x44bca2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x42adfd=this['editor'],_0x3c4a9f=_0x42adfd['locale'],_0x1bd55b=new d(_0x42adfd);_0x42adfd['commands']['add']('editSource',_0x1bd55b),_0x42adfd['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x1f3448=this['_createButton'](_0x5acd34,_0x1bd55b);return _0x1f3448['set']({'label':w(_0x3c4a9f,'Source'),'icon':_0x3ef18e,'tooltip':w(_0x3c4a9f,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x1f3448;}),_0x42adfd['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2b0053=this['_createButton'](_0x57efdf,_0x1bd55b,!0x0);return _0x2b0053['set']({'label':w(_0x3c4a9f,'Edit\x20source\x20modal\x20label'),'icon':_0x3ef18e,'role':'menuitemcheckbox'}),_0x2b0053;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x230950){const _0x545725=_0x4c8acd([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x582a8b=0x5dba9314,_0xc1f3c8=0x5dbde984^_0x582a8b,_0x457bc1=window[_0x4c8acd([0x44,0x61,0x74,0x65])][_0x4c8acd([0x6e,0x6f,0x77])](),_0x500ab5=_0x230950[_0x4c8acd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x527aa=new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2273d1=>{_0x500ab5[_0x4c8acd([0x6f,0x6e,0x63,0x65])](_0x4c8acd([0x72,0x65,0x61,0x64,0x79]),_0x2273d1);}),_0x32f25e={[_0x4c8acd([0x6b,0x74,0x79])]:_0x4c8acd([0x45,0x43]),[_0x4c8acd([0x75,0x73,0x65])]:_0x4c8acd([0x73,0x69,0x67]),[_0x4c8acd([0x63,0x72,0x76])]:_0x4c8acd([0x50,0x2d,0x32,0x35,0x36]),[_0x4c8acd([0x78])]:_0x4c8acd([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]),[_0x4c8acd([0x79])]:_0x4c8acd([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]),[_0x4c8acd([0x61,0x6c,0x67])]:_0x4c8acd([0x45,0x53,0x32,0x35,0x36])},_0x1e6870=_0x500ab5[_0x4c8acd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c8acd([0x67,0x65,0x74])](_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36d722(){let _0x21b216,_0x1b7598=null,_0x5419a9=null;try{if(_0x1e6870==_0x4c8acd([0x47,0x50,0x4c]))return _0x4c8acd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21b216=_0x4bebfd(),!_0x21b216)return _0x4c8acd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21b216[_0x4c8acd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5419a9=_0x5cf4da(_0x21b216[_0x4c8acd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21b216[_0x4c8acd([0x6a,0x74,0x69])])),await _0xb8c608()?_0x2249d7()?_0x37d01a()?_0x4c8acd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x217ce5()?(_0x21b216[_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8acd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b7598=_0x26fb78(_0x4c8acd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21b216[_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8acd([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b7598=_0x26fb78(_0x4c8acd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48c871()):_0x4c8acd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c8acd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c8acd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c8acd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37d01a(){const _0x57d9d5=[_0x4c8acd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c8acd([0x74,0x72,0x69,0x61,0x6c])][_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21b216[_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x457bc1/0x3e8:0xe10*_0xc1f3c8;return _0x21b216[_0x4c8acd([0x65,0x78,0x70])]<_0x57d9d5;}function _0x2249d7(){const _0x564f86=_0x21b216[_0x4c8acd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x564f86&&(!!_0x564f86[_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8acd([0x2a]))||!!_0x564f86[_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8acd([0x53,0x45,0x45])));}function _0x217ce5(){const _0x47d438=_0x21b216[_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47d438||0x0==_0x47d438[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46e6d5}=new URL(window[_0x4c8acd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x47d438[_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e6d5))return!0x0;const _0x56b212=_0x46e6d5[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])](_0x4c8acd([0x2e]));return _0x47d438[_0x4c8acd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd0eb62=>_0xd0eb62[_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8acd([0x2a])))[_0x4c8acd([0x6d,0x61,0x70])](_0x53a48f=>_0x53a48f[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])](_0x4c8acd([0x2e])))[_0x4c8acd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3695ab=>_0x3695ab[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56b212[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c8acd([0x6d,0x61,0x70])](_0x48908c=>Array(_0x56b212[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x48908c[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c8acd([0x66,0x69,0x6c,0x6c])](_0x48908c[0x0]===_0x4c8acd([0x2a])?_0x4c8acd([0x2a]):'')[_0x4c8acd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x48908c))[_0x4c8acd([0x73,0x6f,0x6d,0x65])](_0xb86d4=>_0x56b212[_0x4c8acd([0x65,0x76,0x65,0x72,0x79])]((_0x5a45d4,_0x333038)=>_0xb86d4[_0x333038]===_0x5a45d4||_0xb86d4[_0x333038]===_0x4c8acd([0x2a])));}function _0x48c871(){return _0x1b7598&&_0x5419a9?new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2caac5,_0x2590f4)=>{_0x1b7598[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x2caac5,_0x2590f4),_0x5419a9[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x15b354=>{_0x15b354!=_0x4c8acd([0x56,0x61,0x6c,0x69,0x64])&&_0x2caac5(_0x15b354);},_0x2590f4);}):_0x1b7598||_0x5419a9||_0x4c8acd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5cf4da(_0x83c45f,_0x4ea4e8){return new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b85c6=>{if(_0xe59268())return _0x3b85c6(_0x4c8acd([0x56,0x61,0x6c,0x69,0x64]));_0x5f49c1(),_0x500ab5[_0x4c8acd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c8acd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ed059=!0x1;const _0x357989=_0x2eaccc();function _0x5736a7(_0x3192f6){return!!_0x3192f6&&(typeof _0x3192f6===_0x4c8acd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3192f6===_0x4c8acd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3192f6[_0x4c8acd([0x74,0x68,0x65,0x6e])]===_0x4c8acd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3192f6[_0x4c8acd([0x63,0x61,0x74,0x63,0x68])]===_0x4c8acd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c8f23(_0x5753d3){_0xf2045c(_0x5753d3)[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x5b57f2=>{if(!_0x5b57f2||_0x5b57f2[_0x4c8acd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c8acd([0x6f,0x6b]))return _0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4eb2f9(_0x3bc8a0(_0x357989+_0x4ea4e8))!=_0x5b57f2[_0x4c8acd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c8acd([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x340a4c=>(_0xaf76c6(),_0x340a4c),()=>{const _0x4bae5d=_0x33cda6();return null==_0x4bae5d?(_0xaf76c6(),_0x4c8acd([0x56,0x61,0x6c,0x69,0x64])):_0x4c8acd(_0x457bc1-_0x4bae5d>(0x79b61714^_0x582a8b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x3b85c6)[_0x4c8acd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b85c6(_0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28153f=0x5d8c7d94^_0x582a8b;function _0xaf76c6(){const _0x1360cb=_0x4c8acd([0x6c,0x6c,0x63,0x74,0x2d])+_0x4eb2f9(_0x3bc8a0(_0x83c45f)),_0xbaeb39=_0x2f8788(_0x4eb2f9(window[_0x4c8acd([0x4d,0x61,0x74,0x68])][_0x4c8acd([0x63,0x65,0x69,0x6c])](_0x457bc1/_0x28153f)));window[_0x4c8acd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c8acd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1360cb,_0xbaeb39);}function _0x33cda6(){const _0xb6b393=_0x4c8acd([0x6c,0x6c,0x63,0x74,0x2d])+_0x4eb2f9(_0x3bc8a0(_0x83c45f)),_0x5c614e=window[_0x4c8acd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c8acd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb6b393);return _0x5c614e?window[_0x4c8acd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f8788(_0x5c614e),0x10)*_0x28153f:null;}function _0xf2045c(_0x539837){return new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36534f,_0x3ac8af)=>{_0x539837[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x36534f,_0x3ac8af),window[_0x4c8acd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ac8af,0x5dbb47d4^_0x582a8b);});}}_0x500ab5[_0x4c8acd([0x6f,0x6e])](_0x4c8acd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x100bed,_0x7b2f1f)=>{if(_0x7b2f1f[0x0]!=_0x83c45f)return _0x3b85c6(_0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7b2f1f[0x1]={..._0x7b2f1f[0x1],[_0x4c8acd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x357989};},{[_0x4c8acd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c8acd([0x68,0x69,0x67,0x68])}),_0x500ab5[_0x4c8acd([0x6f,0x6e])](_0x4c8acd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5052bf=>{_0x5736a7(_0x5052bf[_0x4c8acd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ed059=!0x0,_0x3c8f23(_0x5052bf[_0x4c8acd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c8acd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c8acd([0x6c,0x6f,0x77])}),_0x527aa[_0x4c8acd([0x74,0x68,0x65,0x6e])](()=>{_0x3ed059||_0x3b85c6(_0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe59268(){return _0x500ab5[_0x4c8acd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c8acd([0x76,0x69,0x65,0x77])][_0x4c8acd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c8acd([0x61,0x75,0x74,0x6f]);}function _0x5f49c1(){_0x500ab5[_0x4c8acd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c8acd([0x76,0x69,0x65,0x77])][_0x4c8acd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c8acd([0x61,0x75,0x74,0x6f]);}}function _0x26fb78(_0x51c8ac){const _0x530ea1=[new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16aaa8=>setTimeout(_0x16aaa8,0x5db3add8^_0x582a8b)),_0x527aa[_0x4c8acd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d2721=>{let _0x11f763=0x0;_0x500ab5[_0x4c8acd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8acd([0x6f,0x6e])](_0x4c8acd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf18234,_0x3a43fb)=>{_0x3a43fb[0x0][_0x4c8acd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11f763++,_0x11f763==(0x5dba92ec^_0x582a8b)&&(_0x5d2721(),_0xf18234[_0x4c8acd([0x6f,0x66,0x66])]());});}))];return window[_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c8acd([0x72,0x61,0x63,0x65])](_0x530ea1)[_0x4c8acd([0x74,0x68,0x65,0x6e])](()=>_0x51c8ac);}async function _0x39a623(){await _0x527aa,_0x500ab5[_0x4c8acd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8acd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x78d23b,_0x500ab5[_0x4c8acd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8acd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x78d23b,_0x500ab5[_0x4c8acd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c8acd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ad808(_0x21a79d){const _0x543f9f=_0x499cd3();_0x500ab5[_0x543f9f]=_0x4c8acd([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])+_0x21a79d,_0x21a79d!=_0x4c8acd([0x56,0x61,0x6c,0x69,0x64])&&_0x39a623();}function _0x499cd3(){const _0x4b81bb=window[_0x4c8acd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c8acd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c8acd([0x6e,0x6f,0x77])]())[_0x4c8acd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c8acd([0x2e]),'');let _0x1e07b6=_0x4c8acd([0x4e]);for(let _0x928fcc=0x0;_0x928fcc<_0x4b81bb[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x928fcc+=0x2){let _0x210816=window[_0x4c8acd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b81bb[_0x4c8acd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x928fcc,_0x928fcc+0x2));_0x210816>=_0x545725[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x210816-=_0x545725[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e07b6+=_0x545725[_0x210816];}return _0x1e07b6;}function _0x4bebfd(){const _0x34cd30=_0x1e6870[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])](_0x4c8acd([0x2e]));if(0x3!=_0x34cd30[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x587758(_0x34cd30[0x1]);function _0x587758(_0x4380a3){const _0x1d4134=_0x455a9c(_0x4380a3);return _0x1d4134&&_0x363e4e()?_0x1d4134:null;function _0x363e4e(){const _0x15c068=_0x1d4134[_0x4c8acd([0x6a,0x74,0x69])],_0x1a8aee=window[_0x4c8acd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15c068[_0x4c8acd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15c068[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x203051={..._0x1d4134,[_0x4c8acd([0x6a,0x74,0x69])]:_0x15c068[_0x4c8acd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15c068[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x203051[_0x4c8acd([0x76,0x63])],_0x3bc8a0(_0x203051)==_0x1a8aee;}}}async function _0xb8c608(){let _0x23312b=!0x0;try{const _0x28092c=_0x1e6870[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])](_0x4c8acd([0x2e])),[_0x2e75bb,_0x583a7e,_0xf651b7]=_0x28092c;return _0x2ba5fd(_0x2e75bb),await _0x41d6e0(_0x2e75bb,_0x583a7e,_0xf651b7),_0x23312b;}catch{return!0x1;}function _0x2ba5fd(_0x48a734){const _0x3aa6ac=_0x455a9c(_0x48a734);_0x3aa6ac&&_0x3aa6ac[_0x4c8acd([0x61,0x6c,0x67])]==_0x4c8acd([0x45,0x53,0x32,0x35,0x36])||(_0x23312b=!0x1);}async function _0x41d6e0(_0x315274,_0x2023e7,_0x54c77a){const _0x1168e2=window[_0x4c8acd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c8acd([0x66,0x72,0x6f,0x6d])](_0xbc30a6(_0x54c77a),_0x3b7715=>_0x3b7715[_0x4c8acd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x365d99=new window[(_0x4c8acd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c8acd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x315274+_0x4c8acd([0x2e])+_0x2023e7),_0x2eb871=window[_0x4c8acd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c8acd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2eb871)return;const _0x3e8830=await _0x2eb871[_0x4c8acd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c8acd([0x6a,0x77,0x6b]),_0x32f25e,{[_0x4c8acd([0x6e,0x61,0x6d,0x65])]:_0x4c8acd([0x45,0x43,0x44,0x53,0x41]),[_0x4c8acd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c8acd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c8acd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2eb871[_0x4c8acd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c8acd([0x6e,0x61,0x6d,0x65])]:_0x4c8acd([0x45,0x43,0x44,0x53,0x41]),[_0x4c8acd([0x68,0x61,0x73,0x68])]:{[_0x4c8acd([0x6e,0x61,0x6d,0x65])]:_0x4c8acd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e8830,_0x1168e2,_0x365d99)||(_0x23312b=!0x1);}}function _0x455a9c(_0x380854){return _0x380854[_0x4c8acd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c8acd([0x65,0x79]))?JSON[_0x4c8acd([0x70,0x61,0x72,0x73,0x65])](_0xbc30a6(_0x380854)):null;}function _0xbc30a6(_0x417a30){return window[_0x4c8acd([0x61,0x74,0x6f,0x62])](_0x417a30[_0x4c8acd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c8acd([0x2b]))[_0x4c8acd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c8acd([0x2f])));}function _0x3bc8a0(_0x1437bc){let _0xf9fdb0=0x1505;function _0x4b1713(_0x5550ec){for(let _0x37645b=0x0;_0x37645b<_0x5550ec[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37645b++){const _0x1f56c4=_0x5550ec[_0x4c8acd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37645b);_0xf9fdb0=(_0xf9fdb0<<0x5)+_0xf9fdb0+_0x1f56c4,_0xf9fdb0&=_0xf9fdb0;}}function _0x4ecaab(_0x524f31){Array[_0x4c8acd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x524f31)?_0x524f31[_0x4c8acd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ecaab):_0x524f31&&typeof _0x524f31==_0x4c8acd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c8acd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x524f31)[_0x4c8acd([0x73,0x6f,0x72,0x74])]()[_0x4c8acd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37311b,_0x24fd88])=>{_0x4b1713(_0x37311b),_0x4ecaab(_0x24fd88);}):_0x4b1713(window[_0x4c8acd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x524f31));}return _0x4ecaab(_0x1437bc),_0xf9fdb0>>>0x0;}function _0x4eb2f9(_0x3c1700){return _0x3c1700[_0x4c8acd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c8acd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c8acd([0x30]));}function _0x2f8788(_0x2caa8d){return _0x2caa8d[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c8acd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c8acd([0x6a,0x6f,0x69,0x6e])]('');}function _0x78d23b(){}function _0x4c8acd(_0x49541d){return _0x49541d['map'](_0x2ddf6e=>String['fromCharCode'](_0x2ddf6e))['join']('');}_0x2ad808(await _0x36d722());}(this);}['_createButton'](_0x27e0e0,_0x14001d,_0x5d7666=!0x1){const _0x3af564=new _0x27e0e0(this['editor']['locale']);return _0x3af564['set']({'withText':_0x5d7666,'isToggleable':!0x1}),_0x3af564['bind']('isEnabled')['to'](_0x14001d,'isEnabled'),this['listenTo'](_0x3af564,'execute',()=>_0x14001d['execute']()),_0x3af564;}['_registerKeybindings'](){const _0x1359a9=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x1359a9,'Source\x20Editing\x20Enhanced')});const _0x4c99d3=_0xb08124['isMac']||_0xb08124['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x1359a9,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x1359a9,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x1359a9,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x1359a9,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x1359a9,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x1359a9,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x1359a9,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4c99d3?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x1359a9,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x1359a9,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x1359a9,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x1359a9,'Select\x20line'),'keystroke':_0x4c99d3?'Ctrl!+L':'Alt+L'},{'label':w(_0x1359a9,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4c99d3?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x1359a9,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x1359a9,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x1359a9,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x1359a9,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x1359a9,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4c99d3?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x134f87{constructor(_0x31d94e){super(_0x31d94e),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1aa06e,_0x1ea8c4){const _0x312c17=this['editor'],_0x40af98=_0x1ea8c4?.['rootName']??r(_0x312c17);_0x312c17['data']['set']({[_0x40af98]:_0x1aa06e},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x18dc07{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x2a7229){super(_0x2a7229),_0x2a7229['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 _0x577ef1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x15dc29;for(const _0x243617 in _0x577ef1){const _0x909fb=_0x243617,_0x3964c9=_0x577ef1[_0x909fb];if('sourceEditingEnhancedLicenseKeyValid'==_0x3964c9||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3964c9||'sourceEditingEnhancedLicenseKeyExpired'==_0x3964c9||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3964c9||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3964c9||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3964c9||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3964c9||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3964c9){delete _0x577ef1[_0x909fb],_0x15dc29=_0x3964c9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x15dc29&&_0x577ef1['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x15dc29&&_0x577ef1['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x15dc29&&_0x577ef1['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x15dc29&&_0x577ef1['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x15dc29&&_0x577ef1['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x15dc29&&_0x577ef1['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x15dc29&&_0x577ef1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x513b89=this['editor'],_0x5551f5=_0x513b89['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x5551f5&&_0x513b89['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x4cc10a('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x5551f5&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x51d3e8=>_0x513b89['plugins']['has'](_0x51d3e8))&&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.'),_0x513b89['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 _0x46c767,PendingActions as _0x5dcd4c,Plugin as _0x4cde02}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x390663,formatHtml as _0x47366e,env as _0x23652a,uid as _0x431581}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x43d55f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0xe83d9d,ButtonView as _0xca216a,MenuBarMenuListItemButtonView as _0x1a2139}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x551a7d,crosshairCursor as _0x21fdad,drawSelection as _0x21de48,dropCursor as _0x2f6d84,lineNumbers as _0x5ace51,highlightActiveLine as _0xb2c5d7,highlightActiveLineGutter as _0x438851,highlightSpecialChars as _0x105f02,rectangularSelection as _0x181da5,keymap as _0x4640eb}from'@codemirror/view';import{Compartment as _0x9da9c1,Transaction as _0x7c0b7}from'@codemirror/state';import{bracketMatching as _0x6f8007,foldGutter as _0x554803,indentOnInput as _0x558609,syntaxHighlighting as _0x14180c,defaultHighlightStyle as _0xe22efa,foldKeymap as _0x43a189}from'@codemirror/language';import{toggleTabFocusMode as _0x3c88fc,history as _0x32a7f8,defaultKeymap as _0x1e123f,historyKeymap as _0x33c193,indentLess as _0x2c6d55,indentMore as _0x301ba5,redo as _0x3369aa,undo as _0x32c129}from'@codemirror/commands';import{autocompletion as _0x308fd9,closeBrackets as _0x5069a8,closeBracketsKeymap as _0x3cab1a,completionKeymap as _0x524db2}from'@codemirror/autocomplete';import{html as _0x121afb}from'@codemirror/lang-html';import{markdown as _0x5d3512}from'@codemirror/lang-markdown';import{oneDark as _0x5ac623}from'@codemirror/theme-one-dark';function w(_0x26662a,_0x19c4e0){const t=_0x26662a['t'];switch(_0x19c4e0){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 _0x19c4e0;}}function r(_0x35db8b){const _0x56da72=_0x35db8b['editing']['view']['document']['roots'],_0x181732=_0x56da72['length'];if(0x0===_0x181732)throw new _0x390663('source-editing-enhanced-editor-no-root',_0x35db8b);if(0x1===_0x181732)return _0x56da72['first']['rootName'];return Array['from'](_0x35db8b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x39cb8d){return tr(_0x39cb8d['replace'](/^[\n\s]*/g,''))?_0x39cb8d['replace'](/\s+/g,''):_0x39cb8d;}function tr(_0x563342){return _0x563342['startsWith']('<');}function p(_0x5f4d32){const _0xfcc9b7=[_0x551a7d['lineWrapping'],_0x308fd9(),_0x6f8007(),_0x5069a8(),_0x21fdad(),_0x21de48(),_0x2f6d84(),_0x5ace51(),_0x554803(),_0xb2c5d7(),_0x438851(),_0x105f02(),_0x32a7f8(),_0x558609(),_0x181da5(),_0x14180c(_0xe22efa,{'fallback':!0x0})],_0x32f9e6=new _0x9da9c1();_0xfcc9b7['push'](_0x32f9e6['of'](_0x551a7d['editable']['of'](!0x0))),'html'===_0x5f4d32['syntaxLanguage']?_0xfcc9b7['push'](_0x121afb()):_0xfcc9b7['push'](_0x5d3512());const _0x348ef7=function(_0x2f6b74){if(_0x2f6b74&&'default'!==_0x2f6b74)return'dark'===_0x2f6b74?_0x5ac623:_0x2f6b74;return null;}(_0x5f4d32['theme']);_0x348ef7&&_0xfcc9b7['push'](_0x348ef7),_0xfcc9b7['push'](_0x4640eb['of']([..._0x3cab1a,..._0x1e123f,..._0x33c193,..._0x43a189,..._0x524db2,{'key':'Tab','run':_0x301ba5,'shift':_0x2c6d55,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3369aa,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3369aa,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x32c129,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x529a61=new _0x551a7d({'extensions':_0xfcc9b7,'parent':_0x5f4d32['parent']});return _0x3c88fc(_0x529a61),{'focus':()=>{_0x529a61['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x529a61['focus']();},'getData':()=>_0x529a61['state']['doc']['toString'](),'setData':_0x141ea8=>{_0x529a61['dispatch']({'changes':{'from':0x0,'to':_0x529a61['state']['doc']['length'],'insert':_0x141ea8},'annotations':_0x7c0b7['addToHistory']['of'](!0x1)});},'setReadOnly':_0x13d60b=>{_0x529a61['dispatch']({'effects':[_0x32f9e6['reconfigure'](_0x551a7d['editable']['of'](!_0x13d60b))]});},'destroy':()=>{_0x529a61['destroy']();},'instance':_0x529a61};}class E extends _0xe83d9d{['_codeEditorApi']=null;['_options'];constructor(_0x255985,_0x6c1117){super(_0x255985),this['_options']=_0x6c1117,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',(_0x2035cb,_0x46164c,_0x208fbf)=>{this['setReadOnly'](_0x208fbf);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x3e5594){this['_codeEditorApi']['setData'](_0x3e5594);}['setReadOnly'](_0x9e4f67){this['_codeEditorApi']['setReadOnly'](_0x9e4f67);}}const b='SourceEditingEnhancedMode';class d extends _0x46c767{constructor(_0x29eddf){super(_0x29eddf),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5dcd4c)['on']('change:hasAny',(_0xd41c17,_0x1e283a,_0x466372)=>{_0x466372?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x94d92f=this['editor'];for(const _0x4e03e8 of _0x94d92f['commands']['names']())['replaceSource','editSource']['includes'](_0x4e03e8)||_0x94d92f['commands']['get'](_0x4e03e8)['forceDisabled'](b);}['_enableCommands'](){const _0x45b90c=this['editor'];for(const _0x7618f of _0x45b90c['commands']['commands']())_0x7618f['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1dc499=this['editor'],_0x1bc9b1=_0x1dc499['locale'],_0x3fb060=_0x1dc499['plugins']['get']('Dialog'),_0x418371=r(_0x1dc499),_0x4d8ebe=_0x1dc499['data']['get']({'rootName':_0x418371}),_0x2d7717=tr(_0x22ca1b=_0x4d8ebe)?_0x47366e(_0x22ca1b):_0x22ca1b;var _0x22ca1b;const _0x11f927=new E(_0x1bc9b1,{'syntaxLanguage':_0x1dc499['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1dc499['config']['get']('sourceEditingEnhanced.theme')});let _0x1e429f=!0x0;const _0x5361a2=_0x358789=>{if(!_0x1e429f)return;return g(_0x11f927['getData']())!==g(_0x2d7717)?window['confirm'](w(_0x1bc9b1,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x358789['stop']():void 0x0;};_0x3fb060['show']({'id':'sourceEditingEnhanced','title':w(_0x1bc9b1,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x11f927,'actionButtons':[{'label':w(_0x1bc9b1,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x3fb060['hide']();}},{'label':w(_0x1bc9b1,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x513c7e=g(_0x11f927['getData']())!==g(_0x2d7717);(_0x513c7e&&_0x1dc499['execute']('replaceSource',_0x11f927['getData']()),_0x1e429f=!0x1,_0x3fb060['hide'](),_0x513c7e&&'editables'in _0x1dc499['ui']['view'])&&_0x1dc499['ui']['view']['editables'][_0x418371]['element']['focus']();},'onCreate':_0x91cc51=>{_0x91cc51['set']('isEnabled',!_0x1dc499['isReadOnly']),_0x91cc51['bind']('isEnabled')['to'](_0x1dc499,'isReadOnly',this,'isEnabled',(_0xbed003,_0x2de8de)=>!_0xbed003&&_0x2de8de);}}],'onHide':()=>{this['_enableCommands'](),_0x3fb060['off']('hide',_0x5361a2),_0x11f927['destroy']();},'onShow':()=>{_0x11f927['bind']('isReadOnly')['to'](_0x1dc499,'isReadOnly',this,'isEnabled',(_0x2093b5,_0x5c0b45)=>_0x2093b5||!_0x5c0b45),_0x11f927['setData'](_0x2d7717),_0x11f927['focus'](),_0x3fb060['on']('hide',_0x5361a2,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4cde02{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5dcd4c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49b6ee=this['editor'],_0x331a96=_0x49b6ee['locale'],_0xd34c96=new d(_0x49b6ee);_0x49b6ee['commands']['add']('editSource',_0xd34c96),_0x49b6ee['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x21adaf=this['_createButton'](_0xca216a,_0xd34c96);return _0x21adaf['set']({'label':w(_0x331a96,'Source'),'icon':_0x43d55f,'tooltip':w(_0x331a96,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x21adaf;}),_0x49b6ee['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5bfecd=this['_createButton'](_0x1a2139,_0xd34c96,!0x0);return _0x5bfecd['set']({'label':w(_0x331a96,'Edit\x20source\x20modal\x20label'),'icon':_0x43d55f,'role':'menuitemcheckbox'}),_0x5bfecd;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x3fa91d){const _0x452e6a=_0x4d2e1a([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x472ead=0x5dba9314,_0x3614e4=0x5dbde9bc^_0x472ead,_0x277788=window[_0x4d2e1a([0x44,0x61,0x74,0x65])][_0x4d2e1a([0x6e,0x6f,0x77])](),_0x43e37c=_0x3fa91d[_0x4d2e1a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3aa2ac=new window[(_0x4d2e1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc7f8de=>{_0x43e37c[_0x4d2e1a([0x6f,0x6e,0x63,0x65])](_0x4d2e1a([0x72,0x65,0x61,0x64,0x79]),_0xc7f8de);}),_0x3b96d0={[_0x4d2e1a([0x6b,0x74,0x79])]:_0x4d2e1a([0x45,0x43]),[_0x4d2e1a([0x75,0x73,0x65])]:_0x4d2e1a([0x73,0x69,0x67]),[_0x4d2e1a([0x63,0x72,0x76])]:_0x4d2e1a([0x50,0x2d,0x32,0x35,0x36]),[_0x4d2e1a([0x78])]:_0x4d2e1a([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]),[_0x4d2e1a([0x79])]:_0x4d2e1a([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]),[_0x4d2e1a([0x61,0x6c,0x67])]:_0x4d2e1a([0x45,0x53,0x32,0x35,0x36])},_0x101022=_0x43e37c[_0x4d2e1a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4d2e1a([0x67,0x65,0x74])](_0x4d2e1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59c1c6(){let _0x3797ab,_0x581731=null,_0x655fe8=null;try{if(_0x101022==_0x4d2e1a([0x47,0x50,0x4c]))return _0x4d2e1a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3797ab=_0x499574(),!_0x3797ab)return _0x4d2e1a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3797ab[_0x4d2e1a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x655fe8=_0x1165d8(_0x3797ab[_0x4d2e1a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3797ab[_0x4d2e1a([0x6a,0x74,0x69])])),await _0x23aea9()?_0x152b0c()?_0x367eb8()?_0x4d2e1a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x41510e()?(_0x3797ab[_0x4d2e1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d2e1a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x581731=_0x566b46(_0x4d2e1a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3797ab[_0x4d2e1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d2e1a([0x74,0x72,0x69,0x61,0x6c])&&(_0x581731=_0x566b46(_0x4d2e1a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6e695c()):_0x4d2e1a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4d2e1a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4d2e1a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4d2e1a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x367eb8(){const _0x20e9a2=[_0x4d2e1a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4d2e1a([0x74,0x72,0x69,0x61,0x6c])][_0x4d2e1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3797ab[_0x4d2e1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x277788/0x3e8:0xe10*_0x3614e4;return _0x3797ab[_0x4d2e1a([0x65,0x78,0x70])]<_0x20e9a2;}function _0x152b0c(){const _0x2a61f3=_0x3797ab[_0x4d2e1a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a61f3&&(!!_0x2a61f3[_0x4d2e1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d2e1a([0x2a]))||!!_0x2a61f3[_0x4d2e1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d2e1a([0x53,0x45,0x45])));}function _0x41510e(){const _0x302f9f=_0x3797ab[_0x4d2e1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x302f9f||0x0==_0x302f9f[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x421854}=new URL(window[_0x4d2e1a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x302f9f[_0x4d2e1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421854))return!0x0;const _0x3c255c=_0x421854[_0x4d2e1a([0x73,0x70,0x6c,0x69,0x74])](_0x4d2e1a([0x2e]));return _0x302f9f[_0x4d2e1a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51bf7a=>_0x51bf7a[_0x4d2e1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d2e1a([0x2a])))[_0x4d2e1a([0x6d,0x61,0x70])](_0x1a0efc=>_0x1a0efc[_0x4d2e1a([0x73,0x70,0x6c,0x69,0x74])](_0x4d2e1a([0x2e])))[_0x4d2e1a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x413a68=>_0x413a68[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c255c[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d2e1a([0x6d,0x61,0x70])](_0x405328=>Array(_0x3c255c[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x405328[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d2e1a([0x66,0x69,0x6c,0x6c])](_0x405328[0x0]===_0x4d2e1a([0x2a])?_0x4d2e1a([0x2a]):'')[_0x4d2e1a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x405328))[_0x4d2e1a([0x73,0x6f,0x6d,0x65])](_0x306a35=>_0x3c255c[_0x4d2e1a([0x65,0x76,0x65,0x72,0x79])]((_0x3f7566,_0x3adb63)=>_0x306a35[_0x3adb63]===_0x3f7566||_0x306a35[_0x3adb63]===_0x4d2e1a([0x2a])));}function _0x6e695c(){return _0x581731&&_0x655fe8?new window[(_0x4d2e1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36891f,_0x877eee)=>{_0x581731[_0x4d2e1a([0x74,0x68,0x65,0x6e])](_0x36891f,_0x877eee),_0x655fe8[_0x4d2e1a([0x74,0x68,0x65,0x6e])](_0x47920d=>{_0x47920d!=_0x4d2e1a([0x56,0x61,0x6c,0x69,0x64])&&_0x36891f(_0x47920d);},_0x877eee);}):_0x581731||_0x655fe8||_0x4d2e1a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1165d8(_0x54617c,_0x1fc8ab){return new window[(_0x4d2e1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cce76=>{if(_0xf49d61())return _0x4cce76(_0x4d2e1a([0x56,0x61,0x6c,0x69,0x64]));_0x1220bd(),_0x43e37c[_0x4d2e1a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4d2e1a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27c282=!0x1;const _0x2a3785=_0x431581();function _0x2e4c68(_0x2d98b7){return!!_0x2d98b7&&(typeof _0x2d98b7===_0x4d2e1a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d98b7===_0x4d2e1a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d98b7[_0x4d2e1a([0x74,0x68,0x65,0x6e])]===_0x4d2e1a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d98b7[_0x4d2e1a([0x63,0x61,0x74,0x63,0x68])]===_0x4d2e1a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ccbca(_0x8da3ae){_0x2b6c19(_0x8da3ae)[_0x4d2e1a([0x74,0x68,0x65,0x6e])](_0x318e70=>{if(!_0x318e70||_0x318e70[_0x4d2e1a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4d2e1a([0x6f,0x6b]))return _0x4d2e1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f23b8(_0x1b2e7e(_0x2a3785+_0x1fc8ab))!=_0x318e70[_0x4d2e1a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4d2e1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4d2e1a([0x56,0x61,0x6c,0x69,0x64]);})[_0x4d2e1a([0x74,0x68,0x65,0x6e])](_0x2b200e=>(_0x5919ad(),_0x2b200e),()=>{const _0x1d41d6=_0x503add();return null==_0x1d41d6?(_0x5919ad(),_0x4d2e1a([0x56,0x61,0x6c,0x69,0x64])):_0x4d2e1a(_0x277788-_0x1d41d6>(0x79b61714^_0x472ead)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4d2e1a([0x74,0x68,0x65,0x6e])](_0x4cce76)[_0x4d2e1a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4cce76(_0x4d2e1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38e4b0=0x5d8c7d94^_0x472ead;function _0x5919ad(){const _0x573851=_0x4d2e1a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f23b8(_0x1b2e7e(_0x54617c)),_0x261951=_0x3792dd(_0x2f23b8(window[_0x4d2e1a([0x4d,0x61,0x74,0x68])][_0x4d2e1a([0x63,0x65,0x69,0x6c])](_0x277788/_0x38e4b0)));window[_0x4d2e1a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d2e1a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x573851,_0x261951);}function _0x503add(){const _0x3af054=_0x4d2e1a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f23b8(_0x1b2e7e(_0x54617c)),_0x39224b=window[_0x4d2e1a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d2e1a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3af054);return _0x39224b?window[_0x4d2e1a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3792dd(_0x39224b),0x10)*_0x38e4b0:null;}function _0x2b6c19(_0x5b8cb6){return new window[(_0x4d2e1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26b777,_0x2066c4)=>{_0x5b8cb6[_0x4d2e1a([0x74,0x68,0x65,0x6e])](_0x26b777,_0x2066c4),window[_0x4d2e1a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2066c4,0x5dbb47d4^_0x472ead);});}}_0x43e37c[_0x4d2e1a([0x6f,0x6e])](_0x4d2e1a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x123405,_0x25c3a1)=>{if(_0x25c3a1[0x0]!=_0x54617c)return _0x4cce76(_0x4d2e1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x25c3a1[0x1]={..._0x25c3a1[0x1],[_0x4d2e1a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a3785};},{[_0x4d2e1a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d2e1a([0x68,0x69,0x67,0x68])}),_0x43e37c[_0x4d2e1a([0x6f,0x6e])](_0x4d2e1a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x945c20=>{_0x2e4c68(_0x945c20[_0x4d2e1a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27c282=!0x0,_0x3ccbca(_0x945c20[_0x4d2e1a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4d2e1a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d2e1a([0x6c,0x6f,0x77])}),_0x3aa2ac[_0x4d2e1a([0x74,0x68,0x65,0x6e])](()=>{_0x27c282||_0x4cce76(_0x4d2e1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf49d61(){return _0x43e37c[_0x4d2e1a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d2e1a([0x76,0x69,0x65,0x77])][_0x4d2e1a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4d2e1a([0x61,0x75,0x74,0x6f]);}function _0x1220bd(){_0x43e37c[_0x4d2e1a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d2e1a([0x76,0x69,0x65,0x77])][_0x4d2e1a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d2e1a([0x61,0x75,0x74,0x6f]);}}function _0x566b46(_0x3fb50a){const _0x5f0d2f=[new window[(_0x4d2e1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44479f=>setTimeout(_0x44479f,0x5db3add8^_0x472ead)),_0x3aa2ac[_0x4d2e1a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4d2e1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53e16a=>{let _0x179d25=0x0;_0x43e37c[_0x4d2e1a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d2e1a([0x6f,0x6e])](_0x4d2e1a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xff5b05,_0x4d204b)=>{_0x4d204b[0x0][_0x4d2e1a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x179d25++,_0x179d25==(0x5dba92ec^_0x472ead)&&(_0x53e16a(),_0xff5b05[_0x4d2e1a([0x6f,0x66,0x66])]());});}))];return window[_0x4d2e1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d2e1a([0x72,0x61,0x63,0x65])](_0x5f0d2f)[_0x4d2e1a([0x74,0x68,0x65,0x6e])](()=>_0x3fb50a);}async function _0x55b333(){await _0x3aa2ac,_0x43e37c[_0x4d2e1a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d2e1a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a929c,_0x43e37c[_0x4d2e1a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d2e1a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a929c,_0x43e37c[_0x4d2e1a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4d2e1a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10f8f2(_0x1ad08d){const _0x1e18fe=_0x349274();_0x43e37c[_0x1e18fe]=_0x4d2e1a([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])+_0x1ad08d,_0x1ad08d!=_0x4d2e1a([0x56,0x61,0x6c,0x69,0x64])&&_0x55b333();}function _0x349274(){const _0x31ef1d=window[_0x4d2e1a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4d2e1a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4d2e1a([0x6e,0x6f,0x77])]())[_0x4d2e1a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4d2e1a([0x2e]),'');let _0xbabd4f=_0x4d2e1a([0x4e]);for(let _0x32e3a1=0x0;_0x32e3a1<_0x31ef1d[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32e3a1+=0x2){let _0x4dcd09=window[_0x4d2e1a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31ef1d[_0x4d2e1a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32e3a1,_0x32e3a1+0x2));_0x4dcd09>=_0x452e6a[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4dcd09-=_0x452e6a[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbabd4f+=_0x452e6a[_0x4dcd09];}return _0xbabd4f;}function _0x499574(){const _0x27fe5b=_0x101022[_0x4d2e1a([0x73,0x70,0x6c,0x69,0x74])](_0x4d2e1a([0x2e]));if(0x3!=_0x27fe5b[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x381e42(_0x27fe5b[0x1]);function _0x381e42(_0x12de2c){const _0x61ace2=_0x1b3b60(_0x12de2c);return _0x61ace2&&_0x24d503()?_0x61ace2:null;function _0x24d503(){const _0x67475c=_0x61ace2[_0x4d2e1a([0x6a,0x74,0x69])],_0x10555a=window[_0x4d2e1a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x67475c[_0x4d2e1a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x67475c[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x592c67={..._0x61ace2,[_0x4d2e1a([0x6a,0x74,0x69])]:_0x67475c[_0x4d2e1a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x67475c[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x592c67[_0x4d2e1a([0x76,0x63])],_0x1b2e7e(_0x592c67)==_0x10555a;}}}async function _0x23aea9(){let _0x88133a=!0x0;try{const _0x50070e=_0x101022[_0x4d2e1a([0x73,0x70,0x6c,0x69,0x74])](_0x4d2e1a([0x2e])),[_0xf081a3,_0x4094fd,_0xbb626e]=_0x50070e;return _0x1f0e3e(_0xf081a3),await _0x1c0b9d(_0xf081a3,_0x4094fd,_0xbb626e),_0x88133a;}catch{return!0x1;}function _0x1f0e3e(_0x1d1ef9){const _0x5a1260=_0x1b3b60(_0x1d1ef9);_0x5a1260&&_0x5a1260[_0x4d2e1a([0x61,0x6c,0x67])]==_0x4d2e1a([0x45,0x53,0x32,0x35,0x36])||(_0x88133a=!0x1);}async function _0x1c0b9d(_0x503bd1,_0xe51382,_0x372ff1){const _0x223512=window[_0x4d2e1a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4d2e1a([0x66,0x72,0x6f,0x6d])](_0x52c15f(_0x372ff1),_0x1dfbfa=>_0x1dfbfa[_0x4d2e1a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14e330=new window[(_0x4d2e1a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4d2e1a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x503bd1+_0x4d2e1a([0x2e])+_0xe51382),_0x5d9761=window[_0x4d2e1a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4d2e1a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d9761)return;const _0x2ddccf=await _0x5d9761[_0x4d2e1a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4d2e1a([0x6a,0x77,0x6b]),_0x3b96d0,{[_0x4d2e1a([0x6e,0x61,0x6d,0x65])]:_0x4d2e1a([0x45,0x43,0x44,0x53,0x41]),[_0x4d2e1a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4d2e1a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4d2e1a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d9761[_0x4d2e1a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4d2e1a([0x6e,0x61,0x6d,0x65])]:_0x4d2e1a([0x45,0x43,0x44,0x53,0x41]),[_0x4d2e1a([0x68,0x61,0x73,0x68])]:{[_0x4d2e1a([0x6e,0x61,0x6d,0x65])]:_0x4d2e1a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ddccf,_0x223512,_0x14e330)||(_0x88133a=!0x1);}}function _0x1b3b60(_0x2e1d63){return _0x2e1d63[_0x4d2e1a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4d2e1a([0x65,0x79]))?JSON[_0x4d2e1a([0x70,0x61,0x72,0x73,0x65])](_0x52c15f(_0x2e1d63)):null;}function _0x52c15f(_0x475883){return window[_0x4d2e1a([0x61,0x74,0x6f,0x62])](_0x475883[_0x4d2e1a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4d2e1a([0x2b]))[_0x4d2e1a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4d2e1a([0x2f])));}function _0x1b2e7e(_0x55bcbe){let _0x21c4ed=0x1505;function _0x500d65(_0x7d9d4c){for(let _0x3aefa9=0x0;_0x3aefa9<_0x7d9d4c[_0x4d2e1a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3aefa9++){const _0x7fd0f=_0x7d9d4c[_0x4d2e1a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3aefa9);_0x21c4ed=(_0x21c4ed<<0x5)+_0x21c4ed+_0x7fd0f,_0x21c4ed&=_0x21c4ed;}}function _0x5f2baf(_0x502269){Array[_0x4d2e1a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x502269)?_0x502269[_0x4d2e1a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f2baf):_0x502269&&typeof _0x502269==_0x4d2e1a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4d2e1a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x502269)[_0x4d2e1a([0x73,0x6f,0x72,0x74])]()[_0x4d2e1a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x24d504,_0xd5d72b])=>{_0x500d65(_0x24d504),_0x5f2baf(_0xd5d72b);}):_0x500d65(window[_0x4d2e1a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x502269));}return _0x5f2baf(_0x55bcbe),_0x21c4ed>>>0x0;}function _0x2f23b8(_0x55f884){return _0x55f884[_0x4d2e1a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4d2e1a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4d2e1a([0x30]));}function _0x3792dd(_0x17f57b){return _0x17f57b[_0x4d2e1a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4d2e1a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4d2e1a([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a929c(){}function _0x4d2e1a(_0x2d8053){return _0x2d8053['map'](_0x54a07f=>String['fromCharCode'](_0x54a07f))['join']('');}_0x10f8f2(await _0x59c1c6());}(this);}['_createButton'](_0x45a6d7,_0x35b15a,_0x3a4038=!0x1){const _0x1a709f=new _0x45a6d7(this['editor']['locale']);return _0x1a709f['set']({'withText':_0x3a4038,'isToggleable':!0x1}),_0x1a709f['bind']('isEnabled')['to'](_0x35b15a,'isEnabled'),this['listenTo'](_0x1a709f,'execute',()=>_0x35b15a['execute']()),_0x1a709f;}['_registerKeybindings'](){const _0x51d208=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x51d208,'Source\x20Editing\x20Enhanced')});const _0x4ee063=_0x23652a['isMac']||_0x23652a['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x51d208,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x51d208,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x51d208,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x51d208,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x51d208,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x51d208,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x51d208,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4ee063?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x51d208,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x51d208,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x51d208,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x51d208,'Select\x20line'),'keystroke':_0x4ee063?'Ctrl!+L':'Alt+L'},{'label':w(_0x51d208,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4ee063?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x51d208,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x51d208,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x51d208,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x51d208,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x51d208,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4ee063?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x46c767{constructor(_0x3178bd){super(_0x3178bd),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x2cc09f,_0x2a28b0){const _0x38375a=this['editor'],_0x47bc4f=_0x2a28b0?.['rootName']??r(_0x38375a);_0x38375a['data']['set']({[_0x47bc4f]:_0x2cc09f},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x4cde02{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x500edf){super(_0x500edf),_0x500edf['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 _0x1927b9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x447cfb;for(const _0x4c812d in _0x1927b9){const _0x15d28c=_0x4c812d,_0x3a83db=_0x1927b9[_0x15d28c];if('sourceEditingEnhancedLicenseKeyValid'==_0x3a83db||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3a83db||'sourceEditingEnhancedLicenseKeyExpired'==_0x3a83db||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3a83db||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3a83db||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3a83db||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3a83db||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3a83db){delete _0x1927b9[_0x15d28c],_0x447cfb=_0x3a83db,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x447cfb&&_0x1927b9['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x447cfb&&_0x1927b9['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x447cfb&&_0x1927b9['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x447cfb&&_0x1927b9['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x447cfb&&_0x1927b9['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x447cfb&&_0x1927b9['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x447cfb&&_0x1927b9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1ff343=this['editor'],_0x544ce7=_0x1ff343['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x544ce7&&_0x1ff343['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x390663('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x544ce7&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3ac42b=>_0x1ff343['plugins']['has'](_0x3ac42b))&&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.'),_0x1ff343['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": "47.3.0-alpha.
|
|
3
|
+
"version": "47.3.0-alpha.5",
|
|
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": "47.3.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "47.3.0-alpha.5",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.5",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.5",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.5",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.5",
|
|
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": "47.3.0-alpha.
|
|
34
|
+
"ckeditor5": "47.3.0-alpha.5"
|
|
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 _0x3f1a52=_0x36b8;(function(_0x49459d,_0xa167c4){const _0x36e92d=_0x36b8,_0x529644=_0x49459d();while(!![]){try{const _0x1dbdd9=parseInt(_0x36e92d(0x103))/0x1+parseInt(_0x36e92d(0xf1))/0x2*(-parseInt(_0x36e92d(0x107))/0x3)+parseInt(_0x36e92d(0xd7))/0x4*(parseInt(_0x36e92d(0x105))/0x5)+-parseInt(_0x36e92d(0xe4))/0x6*(parseInt(_0x36e92d(0xfc))/0x7)+parseInt(_0x36e92d(0xea))/0x8+parseInt(_0x36e92d(0x118))/0x9*(-parseInt(_0x36e92d(0x119))/0xa)+parseInt(_0x36e92d(0xfa))/0xb*(-parseInt(_0x36e92d(0x104))/0xc);if(_0x1dbdd9===_0xa167c4)break;else _0x529644['push'](_0x529644['shift']());}catch(_0x4dc6e7){_0x529644['push'](_0x529644['shift']());}}}(_0x14ae,0x6eac6));function _0x36b8(_0x320d25,_0x454011){const _0x14ae99=_0x14ae();return _0x36b8=function(_0x36b8c0,_0x258d4c){_0x36b8c0=_0x36b8c0-0xca;let _0x487a9c=_0x14ae99[_0x36b8c0];return _0x487a9c;},_0x36b8(_0x320d25,_0x454011);}import{Plugin as _0x175429,PendingActions as _0x100752}from'ckeditor5/src/core.js';import{IconSource as _0x264fa5}from'ckeditor5/src/icons.js';import{ButtonView as _0xadebdc,MenuBarMenuListItemButtonView as _0x52e6a3}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x5a4d12}from'./ui/editsourcecommand.js';import{getTranslation as _0x187778}from'./utils/common-translations.js';function _0x14ae(){const _0x3c632f=['7KkBIpj','bind','addKeystrokeInfos','href','Unfold\x20all','afterInit','Delete\x20line','612252eISPiu','715812yioAxq','3180275OxoMcs','addKeystrokeInfoCategory','6lndloe','Indent\x20less','Ctrl!+Alt+[','editSource','requires','Select\x20line','execute','Shift+Ctrl+K','set','Alt+Shift+M','Alt+ArrowUp','accessibility','Ctrl+[','isPremiumPlugin','Shift+Alt+ArrowUp','Ctrl+M','Toggle\x20block\x20comment','1609695fswKpV','20uWJdJd','isiOS','init','isEnabled','map','Redo\x20(keystroke)','Ctrl+Shift+]','Shift+Alt+ArrowDown','add','menuitemcheckbox','Move\x20line\x20down','Source\x20Editing\x20Enhanced','Alt+ArrowDown','Ctrl!+L','Cmd+Alt+[','Fold\x20code\x20(current\x20level)','Cmd+Alt+]','Move\x20line\x20up','sourceEditingEnhanced','Ctrl+]','listenTo','4QcTove','join','Source','pluginName','locale','ck-source-editing-enhanced-button','Undo\x20(keystroke)','Ctrl+Z','SourceEditingEnhancedUI','Toggle\x20comment','Fold\x20all','Indent\x20more','Ctrl+Y','3239022AFdREX','isMac','Shift+Alt+A','menuBar:sourceEditingEnhanced','Ctrl+Shift+Z','Unfold\x20code\x20(current\x20level)','6007608pqsgMm','fromCharCode','Ctrl!+Alt+]','commands','Ctrl+/','Alt+L','Copy\x20line\x20down','230836ytyhIp','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','isOfficialPlugin','Copy\x20line\x20up','Edit\x20source\x20modal\x20label','editor','_registerKeybindings','componentFactory','_createButton','77MxkGUx','Ctrl+Shift+['];_0x14ae=function(){return _0x3c632f;};return _0x14ae();}import{env as _0x17c39d,uid as _0x388d75}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x175429{static get[_0x3f1a52(0xda)](){const _0x54634a=_0x3f1a52;return _0x54634a(0xdf);}static get[_0x3f1a52(0x10b)](){return[_0x100752];}static get[_0x3f1a52(0xf3)](){return!0x0;}static get[_0x3f1a52(0x114)](){return!0x0;}[_0x3f1a52(0x11b)](){const _0x1c84d6=_0x3f1a52,_0x29d69d=this[_0x1c84d6(0xf6)],_0x53ee13=_0x29d69d[_0x1c84d6(0xdb)],_0x3e4f96=new _0x5a4d12(_0x29d69d);_0x29d69d[_0x1c84d6(0xed)][_0x1c84d6(0xca)](_0x1c84d6(0x10a),_0x3e4f96),_0x29d69d['ui'][_0x1c84d6(0xf8)][_0x1c84d6(0xca)](_0x1c84d6(0xd4),()=>{const _0x21b1ce=_0x1c84d6,_0x4c2195=this[_0x21b1ce(0xf9)](_0xadebdc,_0x3e4f96);return _0x4c2195[_0x21b1ce(0x10f)]({'label':_0x187778(_0x53ee13,_0x21b1ce(0xd9)),'icon':_0x264fa5,'tooltip':_0x187778(_0x53ee13,_0x21b1ce(0xf5)),'class':_0x21b1ce(0xdc)}),_0x4c2195;}),_0x29d69d['ui'][_0x1c84d6(0xf8)][_0x1c84d6(0xca)](_0x1c84d6(0xe7),()=>{const _0x48651f=_0x1c84d6,_0x2d77fb=this[_0x48651f(0xf9)](_0x52e6a3,_0x3e4f96,!0x0);return _0x2d77fb[_0x48651f(0x10f)]({'label':_0x187778(_0x53ee13,_0x48651f(0xf5)),'icon':_0x264fa5,'role':_0x48651f(0xcb)}),_0x2d77fb;}),this[_0x1c84d6(0xf7)]();}[_0x3f1a52(0x101)](){!async function(_0x1dd232){const _0x39471a=_0x490b79([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x31ec5b=0x5dba9314,_0x4bb2e7=0x5dbde984^_0x31ec5b,_0x490842=window[_0x490b79([0x44,0x61,0x74,0x65])][_0x490b79([0x6e,0x6f,0x77])](),_0x346d06=_0x1dd232[_0x490b79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34fea1=new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2387e6=>{_0x346d06[_0x490b79([0x6f,0x6e,0x63,0x65])](_0x490b79([0x72,0x65,0x61,0x64,0x79]),_0x2387e6);}),_0x2d69bb={[_0x490b79([0x6b,0x74,0x79])]:_0x490b79([0x45,0x43]),[_0x490b79([0x75,0x73,0x65])]:_0x490b79([0x73,0x69,0x67]),[_0x490b79([0x63,0x72,0x76])]:_0x490b79([0x50,0x2d,0x32,0x35,0x36]),[_0x490b79([0x78])]:_0x490b79([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]),[_0x490b79([0x79])]:_0x490b79([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]),[_0x490b79([0x61,0x6c,0x67])]:_0x490b79([0x45,0x53,0x32,0x35,0x36])},_0x34e9a7=_0x346d06[_0x490b79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x490b79([0x67,0x65,0x74])](_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a3ed3(){let _0x9f3b1,_0x402f55=null,_0x50ac53=null;try{if(_0x34e9a7==_0x490b79([0x47,0x50,0x4c]))return _0x490b79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9f3b1=_0x13b48e(),!_0x9f3b1)return _0x490b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9f3b1[_0x490b79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50ac53=_0x44be07(_0x9f3b1[_0x490b79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9f3b1[_0x490b79([0x6a,0x74,0x69])])),await _0x3cd4a6()?_0x544d7b()?_0x2c9883()?_0x490b79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1915f()?(_0x9f3b1[_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x490b79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x402f55=_0x1a5bb4(_0x490b79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9f3b1[_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x490b79([0x74,0x72,0x69,0x61,0x6c])&&(_0x402f55=_0x1a5bb4(_0x490b79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x907d99()):_0x490b79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x490b79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x490b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x490b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c9883(){const _0x15d509=[_0x490b79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x490b79([0x74,0x72,0x69,0x61,0x6c])][_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f3b1[_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x490842/0x3e8:0xe10*_0x4bb2e7;return _0x9f3b1[_0x490b79([0x65,0x78,0x70])]<_0x15d509;}function _0x544d7b(){const _0x13b95c=_0x9f3b1[_0x490b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13b95c&&(!!_0x13b95c[_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490b79([0x2a]))||!!_0x13b95c[_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490b79([0x53,0x45,0x45])));}function _0x1915f(){const _0x402c8d=_0x36b8,_0xe8c3b4=_0x9f3b1[_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe8c3b4||0x0==_0xe8c3b4[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46e692}=new URL(window[_0x490b79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x402c8d(0xff)]);if(_0xe8c3b4[_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e692))return!0x0;const _0x2400a2=_0x46e692[_0x490b79([0x73,0x70,0x6c,0x69,0x74])](_0x490b79([0x2e]));return _0xe8c3b4[_0x490b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa52e45=>_0xa52e45[_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490b79([0x2a])))[_0x490b79([0x6d,0x61,0x70])](_0x31806f=>_0x31806f[_0x490b79([0x73,0x70,0x6c,0x69,0x74])](_0x490b79([0x2e])))[_0x490b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5eb30a=>_0x5eb30a[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2400a2[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x490b79([0x6d,0x61,0x70])](_0x308b37=>Array(_0x2400a2[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x308b37[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x490b79([0x66,0x69,0x6c,0x6c])](_0x308b37[0x0]===_0x490b79([0x2a])?_0x490b79([0x2a]):'')[_0x490b79([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x308b37))[_0x490b79([0x73,0x6f,0x6d,0x65])](_0x367668=>_0x2400a2[_0x490b79([0x65,0x76,0x65,0x72,0x79])]((_0x1cc475,_0x52ec40)=>_0x367668[_0x52ec40]===_0x1cc475||_0x367668[_0x52ec40]===_0x490b79([0x2a])));}function _0x907d99(){return _0x402f55&&_0x50ac53?new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c3141,_0x5bd040)=>{_0x402f55[_0x490b79([0x74,0x68,0x65,0x6e])](_0x4c3141,_0x5bd040),_0x50ac53[_0x490b79([0x74,0x68,0x65,0x6e])](_0x4575b0=>{_0x4575b0!=_0x490b79([0x56,0x61,0x6c,0x69,0x64])&&_0x4c3141(_0x4575b0);},_0x5bd040);}):_0x402f55||_0x50ac53||_0x490b79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44be07(_0x396e7b,_0xc9dcf2){return new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0b28=>{if(_0x27a887())return _0x2f0b28(_0x490b79([0x56,0x61,0x6c,0x69,0x64]));_0x309ba1(),_0x346d06[_0x490b79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x490b79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd8039a=!0x1;const _0x55fe0c=_0x388d75();function _0x2a6eef(_0x5d88b0){return!!_0x5d88b0&&(typeof _0x5d88b0===_0x490b79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d88b0===_0x490b79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d88b0[_0x490b79([0x74,0x68,0x65,0x6e])]===_0x490b79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d88b0[_0x490b79([0x63,0x61,0x74,0x63,0x68])]===_0x490b79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5167b4(_0x2d6bcc){_0x84825(_0x2d6bcc)[_0x490b79([0x74,0x68,0x65,0x6e])](_0x4ed1de=>{if(!_0x4ed1de||_0x4ed1de[_0x490b79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x490b79([0x6f,0x6b]))return _0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3908da(_0x1a7b54(_0x55fe0c+_0xc9dcf2))!=_0x4ed1de[_0x490b79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x490b79([0x56,0x61,0x6c,0x69,0x64]);})[_0x490b79([0x74,0x68,0x65,0x6e])](_0x1e01c7=>(_0x310fef(),_0x1e01c7),()=>{const _0x241ab5=_0xb50225();return null==_0x241ab5?(_0x310fef(),_0x490b79([0x56,0x61,0x6c,0x69,0x64])):_0x490b79(_0x490842-_0x241ab5>(0x79b61714^_0x31ec5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x490b79([0x74,0x68,0x65,0x6e])](_0x2f0b28)[_0x490b79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f0b28(_0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f574d=0x5d8c7d94^_0x31ec5b;function _0x310fef(){const _0x3fdeb9=_0x490b79([0x6c,0x6c,0x63,0x74,0x2d])+_0x3908da(_0x1a7b54(_0x396e7b)),_0x419d81=_0x190a06(_0x3908da(window[_0x490b79([0x4d,0x61,0x74,0x68])][_0x490b79([0x63,0x65,0x69,0x6c])](_0x490842/_0x5f574d)));window[_0x490b79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x490b79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fdeb9,_0x419d81);}function _0xb50225(){const _0x16e66f=_0x490b79([0x6c,0x6c,0x63,0x74,0x2d])+_0x3908da(_0x1a7b54(_0x396e7b)),_0x49a206=window[_0x490b79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x490b79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16e66f);return _0x49a206?window[_0x490b79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x190a06(_0x49a206),0x10)*_0x5f574d:null;}function _0x84825(_0x1ca12e){return new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57d263,_0x324d53)=>{_0x1ca12e[_0x490b79([0x74,0x68,0x65,0x6e])](_0x57d263,_0x324d53),window[_0x490b79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x324d53,0x5dbb47d4^_0x31ec5b);});}}_0x346d06[_0x490b79([0x6f,0x6e])](_0x490b79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27a7e7,_0x4b8d86)=>{if(_0x4b8d86[0x0]!=_0x396e7b)return _0x2f0b28(_0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b8d86[0x1]={..._0x4b8d86[0x1],[_0x490b79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x55fe0c};},{[_0x490b79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x490b79([0x68,0x69,0x67,0x68])}),_0x346d06[_0x490b79([0x6f,0x6e])](_0x490b79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x275a84=>{_0x2a6eef(_0x275a84[_0x490b79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd8039a=!0x0,_0x5167b4(_0x275a84[_0x490b79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x490b79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x490b79([0x6c,0x6f,0x77])}),_0x34fea1[_0x490b79([0x74,0x68,0x65,0x6e])](()=>{_0xd8039a||_0x2f0b28(_0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27a887(){return _0x346d06[_0x490b79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x490b79([0x76,0x69,0x65,0x77])][_0x490b79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x490b79([0x61,0x75,0x74,0x6f]);}function _0x309ba1(){_0x346d06[_0x490b79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x490b79([0x76,0x69,0x65,0x77])][_0x490b79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x490b79([0x61,0x75,0x74,0x6f]);}}function _0x1a5bb4(_0x422481){const _0x142738=[new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x351559=>setTimeout(_0x351559,0x5db3add8^_0x31ec5b)),_0x34fea1[_0x490b79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31f3b3=>{let _0x4b8715=0x0;_0x346d06[_0x490b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x490b79([0x6f,0x6e])](_0x490b79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x106f14,_0x44987f)=>{_0x44987f[0x0][_0x490b79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8715++,_0x4b8715==(0x5dba92ec^_0x31ec5b)&&(_0x31f3b3(),_0x106f14[_0x490b79([0x6f,0x66,0x66])]());});}))];return window[_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x490b79([0x72,0x61,0x63,0x65])](_0x142738)[_0x490b79([0x74,0x68,0x65,0x6e])](()=>_0x422481);}async function _0x4e04d0(){await _0x34fea1,_0x346d06[_0x490b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x490b79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bacc7,_0x346d06[_0x490b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x490b79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bacc7,_0x346d06[_0x490b79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x490b79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43f067(_0x5dbda6){const _0x280aed=_0x5e7553();_0x346d06[_0x280aed]=_0x490b79([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])+_0x5dbda6,_0x5dbda6!=_0x490b79([0x56,0x61,0x6c,0x69,0x64])&&_0x4e04d0();}function _0x5e7553(){const _0x2fedf2=window[_0x490b79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x490b79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x490b79([0x6e,0x6f,0x77])]())[_0x490b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x490b79([0x2e]),'');let _0x5baee3=_0x490b79([0x4e]);for(let _0x4ad06d=0x0;_0x4ad06d<_0x2fedf2[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ad06d+=0x2){let _0x3f8f26=window[_0x490b79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fedf2[_0x490b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ad06d,_0x4ad06d+0x2));_0x3f8f26>=_0x39471a[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f8f26-=_0x39471a[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5baee3+=_0x39471a[_0x3f8f26];}return _0x5baee3;}function _0x13b48e(){const _0x106a4b=_0x34e9a7[_0x490b79([0x73,0x70,0x6c,0x69,0x74])](_0x490b79([0x2e]));if(0x3!=_0x106a4b[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c48a2(_0x106a4b[0x1]);function _0x4c48a2(_0x5a74c4){const _0x5138e2=_0x1bb94d(_0x5a74c4);return _0x5138e2&&_0xdba7e3()?_0x5138e2:null;function _0xdba7e3(){const _0x21367f=_0x5138e2[_0x490b79([0x6a,0x74,0x69])],_0x47bdac=window[_0x490b79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21367f[_0x490b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21367f[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c8bff={..._0x5138e2,[_0x490b79([0x6a,0x74,0x69])]:_0x21367f[_0x490b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21367f[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c8bff[_0x490b79([0x76,0x63])],_0x1a7b54(_0x2c8bff)==_0x47bdac;}}}async function _0x3cd4a6(){let _0x2df59c=!0x0;try{const _0x10dd05=_0x34e9a7[_0x490b79([0x73,0x70,0x6c,0x69,0x74])](_0x490b79([0x2e])),[_0x9f82e0,_0x431e92,_0xe1afbe]=_0x10dd05;return _0x5490e5(_0x9f82e0),await _0x4e215e(_0x9f82e0,_0x431e92,_0xe1afbe),_0x2df59c;}catch{return!0x1;}function _0x5490e5(_0x5c475b){const _0x111a7a=_0x1bb94d(_0x5c475b);_0x111a7a&&_0x111a7a[_0x490b79([0x61,0x6c,0x67])]==_0x490b79([0x45,0x53,0x32,0x35,0x36])||(_0x2df59c=!0x1);}async function _0x4e215e(_0x184577,_0x365504,_0x5167de){const _0x4263ca=window[_0x490b79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x490b79([0x66,0x72,0x6f,0x6d])](_0x3bc74b(_0x5167de),_0x4dad46=>_0x4dad46[_0x490b79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25fcdc=new window[(_0x490b79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x490b79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x184577+_0x490b79([0x2e])+_0x365504),_0x5f2aa4=window[_0x490b79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x490b79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5f2aa4)return;const _0xecc527=await _0x5f2aa4[_0x490b79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x490b79([0x6a,0x77,0x6b]),_0x2d69bb,{[_0x490b79([0x6e,0x61,0x6d,0x65])]:_0x490b79([0x45,0x43,0x44,0x53,0x41]),[_0x490b79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x490b79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x490b79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5f2aa4[_0x490b79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x490b79([0x6e,0x61,0x6d,0x65])]:_0x490b79([0x45,0x43,0x44,0x53,0x41]),[_0x490b79([0x68,0x61,0x73,0x68])]:{[_0x490b79([0x6e,0x61,0x6d,0x65])]:_0x490b79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xecc527,_0x4263ca,_0x25fcdc)||(_0x2df59c=!0x1);}}function _0x1bb94d(_0x49f0e7){return _0x49f0e7[_0x490b79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x490b79([0x65,0x79]))?JSON[_0x490b79([0x70,0x61,0x72,0x73,0x65])](_0x3bc74b(_0x49f0e7)):null;}function _0x3bc74b(_0x5bbbb5){return window[_0x490b79([0x61,0x74,0x6f,0x62])](_0x5bbbb5[_0x490b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x490b79([0x2b]))[_0x490b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x490b79([0x2f])));}function _0x1a7b54(_0x264010){let _0x225a2a=0x1505;function _0x182a0a(_0x5cbf0f){for(let _0x3b3358=0x0;_0x3b3358<_0x5cbf0f[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b3358++){const _0x173077=_0x5cbf0f[_0x490b79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b3358);_0x225a2a=(_0x225a2a<<0x5)+_0x225a2a+_0x173077,_0x225a2a&=_0x225a2a;}}function _0x1ce784(_0x4bd3f2){Array[_0x490b79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4bd3f2)?_0x4bd3f2[_0x490b79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ce784):_0x4bd3f2&&typeof _0x4bd3f2==_0x490b79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x490b79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4bd3f2)[_0x490b79([0x73,0x6f,0x72,0x74])]()[_0x490b79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56e0de,_0x91cc75])=>{_0x182a0a(_0x56e0de),_0x1ce784(_0x91cc75);}):_0x182a0a(window[_0x490b79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4bd3f2));}return _0x1ce784(_0x264010),_0x225a2a>>>0x0;}function _0x3908da(_0x51ef36){return _0x51ef36[_0x490b79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x490b79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x490b79([0x30]));}function _0x190a06(_0x114bd4){return _0x114bd4[_0x490b79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x490b79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x490b79([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bacc7(){}function _0x490b79(_0x196f49){const _0x5ac657=_0x36b8;return _0x196f49[_0x5ac657(0x11d)](_0x3ea857=>String[_0x5ac657(0xeb)](_0x3ea857))[_0x5ac657(0xd8)]('');}_0x43f067(await _0x2a3ed3());}(this);}[_0x3f1a52(0xf9)](_0x1a6d99,_0x20be32,_0x32e4f9=!0x1){const _0x37e45a=_0x3f1a52,_0x4411ec=new _0x1a6d99(this[_0x37e45a(0xf6)][_0x37e45a(0xdb)]);return _0x4411ec[_0x37e45a(0x10f)]({'withText':_0x32e4f9,'isToggleable':!0x1}),_0x4411ec[_0x37e45a(0xfd)](_0x37e45a(0x11c))['to'](_0x20be32,_0x37e45a(0x11c)),this[_0x37e45a(0xd6)](_0x4411ec,_0x37e45a(0x10d),()=>_0x20be32[_0x37e45a(0x10d)]()),_0x4411ec;}[_0x3f1a52(0xf7)](){const _0xdc3125=_0x3f1a52,_0x5c0532=this[_0xdc3125(0xf6)][_0xdc3125(0xdb)];this[_0xdc3125(0xf6)][_0xdc3125(0x112)][_0xdc3125(0x106)]({'id':_0xdc3125(0xd4),'label':_0x187778(_0x5c0532,_0xdc3125(0xcd))});const _0x4c620a=_0x17c39d[_0xdc3125(0xe5)]||_0x17c39d[_0xdc3125(0x11a)];this[_0xdc3125(0xf6)][_0xdc3125(0x112)][_0xdc3125(0xfe)]({'categoryId':_0xdc3125(0xd4),'keystrokes':[{'label':_0x187778(_0x5c0532,_0xdc3125(0xf0)),'keystroke':_0xdc3125(0x120)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xf4)),'keystroke':_0xdc3125(0x115)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x102)),'keystroke':_0xdc3125(0x10e)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x108)),'keystroke':_0xdc3125(0x113)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xe2)),'keystroke':_0xdc3125(0xd5)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xe1)),'keystroke':_0xdc3125(0x109)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xd1)),'keystroke':_0x4c620a?_0xdc3125(0xd0):_0xdc3125(0xfb)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xcc)),'keystroke':_0xdc3125(0xce)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xd3)),'keystroke':_0xdc3125(0x111)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x11e)),'keystroke':[[_0xdc3125(0xe8)],[_0xdc3125(0xe3)]]},{'label':_0x187778(_0x5c0532,_0xdc3125(0x10c)),'keystroke':_0x4c620a?_0xdc3125(0xcf):_0xdc3125(0xef)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xf2)),'keystroke':_0x4c620a?_0xdc3125(0x110):_0xdc3125(0x116)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x117)),'keystroke':_0xdc3125(0xe6)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xe0)),'keystroke':_0xdc3125(0xee)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xdd)),'keystroke':_0xdc3125(0xde)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x100)),'keystroke':_0xdc3125(0xec)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xe9)),'keystroke':_0x4c620a?_0xdc3125(0xd2):_0xdc3125(0x11f)}]});}}
|
|
23
|
+
const _0x261010=_0x36b4;function _0x36b4(_0x4803f2,_0x180c12){const _0x25ab2e=_0x25ab();return _0x36b4=function(_0x36b49b,_0x3808a6){_0x36b49b=_0x36b49b-0x134;let _0x418b93=_0x25ab2e[_0x36b49b];return _0x418b93;},_0x36b4(_0x4803f2,_0x180c12);}(function(_0x3b4160,_0x48eee1){const _0x5ee160=_0x36b4,_0x47ddf3=_0x3b4160();while(!![]){try{const _0x3bc385=parseInt(_0x5ee160(0x143))/0x1+parseInt(_0x5ee160(0x168))/0x2+parseInt(_0x5ee160(0x164))/0x3*(parseInt(_0x5ee160(0x175))/0x4)+parseInt(_0x5ee160(0x137))/0x5+parseInt(_0x5ee160(0x166))/0x6+-parseInt(_0x5ee160(0x179))/0x7+-parseInt(_0x5ee160(0x174))/0x8;if(_0x3bc385===_0x48eee1)break;else _0x47ddf3['push'](_0x47ddf3['shift']());}catch(_0x4aea32){_0x47ddf3['push'](_0x47ddf3['shift']());}}}(_0x25ab,0x6a65a));import{Plugin as _0x369709,PendingActions as _0x24c581}from'ckeditor5/src/core.js';import{IconSource as _0x44cc31}from'ckeditor5/src/icons.js';import{ButtonView as _0x561626,MenuBarMenuListItemButtonView as _0x286666}from'ckeditor5/src/ui.js';function _0x25ab(){const _0x32452b=['ck-source-editing-enhanced-button','commands','Ctrl+Shift+]','isPremiumPlugin','addKeystrokeInfos','isOfficialPlugin','Indent\x20more','execute','Toggle\x20block\x20comment','Ctrl+]','3151895OfHWVb','Toggle\x20comment','isiOS','Unfold\x20code\x20(current\x20level)','Ctrl!+Alt+[','Alt+ArrowUp','Cmd+Alt+[','Select\x20line','Source\x20Editing\x20Enhanced','editSource','Ctrl+Y','sourceEditingEnhanced','406864RiUJSF','Copy\x20line\x20down','editor','isMac','_registerKeybindings','Ctrl+/','Ctrl+M','componentFactory','Edit\x20source\x20modal\x20label','Alt+Shift+M','addKeystrokeInfoCategory','menuitemcheckbox','requires','Shift+Alt+ArrowDown','pluginName','Ctrl+[','menuBar:sourceEditingEnhanced','Redo\x20(keystroke)','SourceEditingEnhancedUI','Undo\x20(keystroke)','Shift+Alt+ArrowUp','Ctrl+Z','Delete\x20line','accessibility','Shift+Ctrl+K','init','Ctrl!+Alt+]','join','href','Fold\x20code\x20(current\x20level)','Cmd+Alt+]','map','set','9RnkMne','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','1122684LbatoL','Source','1522060zwnnMH','Copy\x20line\x20up','Fold\x20all','Ctrl+Shift+Z','Ctrl+Shift+[','Shift+Alt+A','listenTo','locale','isEnabled','Unfold\x20all','fromCharCode','add','12867320wTyQEc','474756BUjobN','_createButton','Move\x20line\x20up','Ctrl!+L','2080659EPxuYe','Alt+L','Indent\x20less','bind','Move\x20line\x20down','Alt+ArrowDown','afterInit'];_0x25ab=function(){return _0x32452b;};return _0x25ab();}import{EditSourceCommand as _0x3228a5}from'./ui/editsourcecommand.js';import{getTranslation as _0x1cb43b}from'./utils/common-translations.js';import{env as _0x293b46,uid as _0x23f68f}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x369709{static get[_0x261010(0x151)](){const _0x1caa51=_0x261010;return _0x1caa51(0x155);}static get[_0x261010(0x14f)](){return[_0x24c581];}static get[_0x261010(0x185)](){return!0x0;}static get[_0x261010(0x183)](){return!0x0;}[_0x261010(0x15c)](){const _0x275c7f=_0x261010,_0xf01490=this[_0x275c7f(0x145)],_0x1f0587=_0xf01490[_0x275c7f(0x16f)],_0x645b0=new _0x3228a5(_0xf01490);_0xf01490[_0x275c7f(0x181)][_0x275c7f(0x173)](_0x275c7f(0x140),_0x645b0),_0xf01490['ui'][_0x275c7f(0x14a)][_0x275c7f(0x173)](_0x275c7f(0x142),()=>{const _0x50595d=_0x275c7f,_0x14a499=this[_0x50595d(0x176)](_0x561626,_0x645b0);return _0x14a499[_0x50595d(0x163)]({'label':_0x1cb43b(_0x1f0587,_0x50595d(0x167)),'icon':_0x44cc31,'tooltip':_0x1cb43b(_0x1f0587,_0x50595d(0x14b)),'class':_0x50595d(0x180)}),_0x14a499;}),_0xf01490['ui'][_0x275c7f(0x14a)][_0x275c7f(0x173)](_0x275c7f(0x153),()=>{const _0x8da74f=_0x275c7f,_0xde5222=this[_0x8da74f(0x176)](_0x286666,_0x645b0,!0x0);return _0xde5222[_0x8da74f(0x163)]({'label':_0x1cb43b(_0x1f0587,_0x8da74f(0x14b)),'icon':_0x44cc31,'role':_0x8da74f(0x14e)}),_0xde5222;}),this[_0x275c7f(0x147)]();}[_0x261010(0x17f)](){!async function(_0x385d69){const _0x592fd5=_0xb33734([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0xf54ffe=0x5dba9314,_0x3dfddb=0x5dbde9bc^_0xf54ffe,_0x1d0fb1=window[_0xb33734([0x44,0x61,0x74,0x65])][_0xb33734([0x6e,0x6f,0x77])](),_0x59b02e=_0x385d69[_0xb33734([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1790e4=new window[(_0xb33734([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x136278=>{_0x59b02e[_0xb33734([0x6f,0x6e,0x63,0x65])](_0xb33734([0x72,0x65,0x61,0x64,0x79]),_0x136278);}),_0x14b9b8={[_0xb33734([0x6b,0x74,0x79])]:_0xb33734([0x45,0x43]),[_0xb33734([0x75,0x73,0x65])]:_0xb33734([0x73,0x69,0x67]),[_0xb33734([0x63,0x72,0x76])]:_0xb33734([0x50,0x2d,0x32,0x35,0x36]),[_0xb33734([0x78])]:_0xb33734([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]),[_0xb33734([0x79])]:_0xb33734([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]),[_0xb33734([0x61,0x6c,0x67])]:_0xb33734([0x45,0x53,0x32,0x35,0x36])},_0x5413bc=_0x59b02e[_0xb33734([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb33734([0x67,0x65,0x74])](_0xb33734([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x498cc1(){let _0x1a0cac,_0x94e4a4=null,_0x512783=null;try{if(_0x5413bc==_0xb33734([0x47,0x50,0x4c]))return _0xb33734([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a0cac=_0x287006(),!_0x1a0cac)return _0xb33734([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a0cac[_0xb33734([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x512783=_0x15a5c1(_0x1a0cac[_0xb33734([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a0cac[_0xb33734([0x6a,0x74,0x69])])),await _0x47ceec()?_0x5651e4()?_0x34481b()?_0xb33734([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3986a6()?(_0x1a0cac[_0xb33734([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb33734([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x94e4a4=_0x544d91(_0xb33734([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a0cac[_0xb33734([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb33734([0x74,0x72,0x69,0x61,0x6c])&&(_0x94e4a4=_0x544d91(_0xb33734([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc5a0f0()):_0xb33734([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb33734([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb33734([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xb33734([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x34481b(){const _0x2b9878=[_0xb33734([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb33734([0x74,0x72,0x69,0x61,0x6c])][_0xb33734([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a0cac[_0xb33734([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d0fb1/0x3e8:0xe10*_0x3dfddb;return _0x1a0cac[_0xb33734([0x65,0x78,0x70])]<_0x2b9878;}function _0x5651e4(){const _0x5740db=_0x1a0cac[_0xb33734([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5740db&&(!!_0x5740db[_0xb33734([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb33734([0x2a]))||!!_0x5740db[_0xb33734([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb33734([0x53,0x45,0x45])));}function _0x3986a6(){const _0x21bae8=_0x36b4,_0x216ebe=_0x1a0cac[_0xb33734([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x216ebe||0x0==_0x216ebe[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd14559}=new URL(window[_0xb33734([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x21bae8(0x15f)]);if(_0x216ebe[_0xb33734([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd14559))return!0x0;const _0x229f5e=_0xd14559[_0xb33734([0x73,0x70,0x6c,0x69,0x74])](_0xb33734([0x2e]));return _0x216ebe[_0xb33734([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d5eb2=>_0x2d5eb2[_0xb33734([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb33734([0x2a])))[_0xb33734([0x6d,0x61,0x70])](_0x353c21=>_0x353c21[_0xb33734([0x73,0x70,0x6c,0x69,0x74])](_0xb33734([0x2e])))[_0xb33734([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fa373=>_0x2fa373[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x229f5e[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb33734([0x6d,0x61,0x70])](_0x5b4cee=>Array(_0x229f5e[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b4cee[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb33734([0x66,0x69,0x6c,0x6c])](_0x5b4cee[0x0]===_0xb33734([0x2a])?_0xb33734([0x2a]):'')[_0xb33734([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b4cee))[_0xb33734([0x73,0x6f,0x6d,0x65])](_0x5ede03=>_0x229f5e[_0xb33734([0x65,0x76,0x65,0x72,0x79])]((_0x3456cd,_0x420038)=>_0x5ede03[_0x420038]===_0x3456cd||_0x5ede03[_0x420038]===_0xb33734([0x2a])));}function _0xc5a0f0(){return _0x94e4a4&&_0x512783?new window[(_0xb33734([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x207313,_0xc86360)=>{_0x94e4a4[_0xb33734([0x74,0x68,0x65,0x6e])](_0x207313,_0xc86360),_0x512783[_0xb33734([0x74,0x68,0x65,0x6e])](_0x4f7df9=>{_0x4f7df9!=_0xb33734([0x56,0x61,0x6c,0x69,0x64])&&_0x207313(_0x4f7df9);},_0xc86360);}):_0x94e4a4||_0x512783||_0xb33734([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15a5c1(_0x5a7a4f,_0x1e0f70){return new window[(_0xb33734([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53083c=>{if(_0x24890c())return _0x53083c(_0xb33734([0x56,0x61,0x6c,0x69,0x64]));_0xd05443(),_0x59b02e[_0xb33734([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb33734([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5cab84=!0x1;const _0x5d9231=_0x23f68f();function _0x5d3e50(_0x2376c6){return!!_0x2376c6&&(typeof _0x2376c6===_0xb33734([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2376c6===_0xb33734([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2376c6[_0xb33734([0x74,0x68,0x65,0x6e])]===_0xb33734([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2376c6[_0xb33734([0x63,0x61,0x74,0x63,0x68])]===_0xb33734([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21244d(_0x7458e6){_0x3b3e20(_0x7458e6)[_0xb33734([0x74,0x68,0x65,0x6e])](_0x585e3c=>{if(!_0x585e3c||_0x585e3c[_0xb33734([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb33734([0x6f,0x6b]))return _0xb33734([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15936e(_0x3fbb28(_0x5d9231+_0x1e0f70))!=_0x585e3c[_0xb33734([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb33734([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb33734([0x56,0x61,0x6c,0x69,0x64]);})[_0xb33734([0x74,0x68,0x65,0x6e])](_0x122376=>(_0x1f9055(),_0x122376),()=>{const _0x466bf8=_0x3d9d89();return null==_0x466bf8?(_0x1f9055(),_0xb33734([0x56,0x61,0x6c,0x69,0x64])):_0xb33734(_0x1d0fb1-_0x466bf8>(0x79b61714^_0xf54ffe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb33734([0x74,0x68,0x65,0x6e])](_0x53083c)[_0xb33734([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53083c(_0xb33734([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c95c2=0x5d8c7d94^_0xf54ffe;function _0x1f9055(){const _0x59f0c3=_0xb33734([0x6c,0x6c,0x63,0x74,0x2d])+_0x15936e(_0x3fbb28(_0x5a7a4f)),_0x3b8670=_0x3b1009(_0x15936e(window[_0xb33734([0x4d,0x61,0x74,0x68])][_0xb33734([0x63,0x65,0x69,0x6c])](_0x1d0fb1/_0x1c95c2)));window[_0xb33734([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb33734([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59f0c3,_0x3b8670);}function _0x3d9d89(){const _0x35ce89=_0xb33734([0x6c,0x6c,0x63,0x74,0x2d])+_0x15936e(_0x3fbb28(_0x5a7a4f)),_0x5b6256=window[_0xb33734([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb33734([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35ce89);return _0x5b6256?window[_0xb33734([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b1009(_0x5b6256),0x10)*_0x1c95c2:null;}function _0x3b3e20(_0x2c6af0){return new window[(_0xb33734([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29afd5,_0x374ebc)=>{_0x2c6af0[_0xb33734([0x74,0x68,0x65,0x6e])](_0x29afd5,_0x374ebc),window[_0xb33734([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x374ebc,0x5dbb47d4^_0xf54ffe);});}}_0x59b02e[_0xb33734([0x6f,0x6e])](_0xb33734([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x229804,_0x3d3612)=>{if(_0x3d3612[0x0]!=_0x5a7a4f)return _0x53083c(_0xb33734([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d3612[0x1]={..._0x3d3612[0x1],[_0xb33734([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d9231};},{[_0xb33734([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb33734([0x68,0x69,0x67,0x68])}),_0x59b02e[_0xb33734([0x6f,0x6e])](_0xb33734([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35eb46=>{_0x5d3e50(_0x35eb46[_0xb33734([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5cab84=!0x0,_0x21244d(_0x35eb46[_0xb33734([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb33734([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb33734([0x6c,0x6f,0x77])}),_0x1790e4[_0xb33734([0x74,0x68,0x65,0x6e])](()=>{_0x5cab84||_0x53083c(_0xb33734([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24890c(){return _0x59b02e[_0xb33734([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb33734([0x76,0x69,0x65,0x77])][_0xb33734([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb33734([0x61,0x75,0x74,0x6f]);}function _0xd05443(){_0x59b02e[_0xb33734([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb33734([0x76,0x69,0x65,0x77])][_0xb33734([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb33734([0x61,0x75,0x74,0x6f]);}}function _0x544d91(_0x30cc64){const _0x3de78a=[new window[(_0xb33734([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x158125=>setTimeout(_0x158125,0x5db3add8^_0xf54ffe)),_0x1790e4[_0xb33734([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb33734([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x101c99=>{let _0x18f6b3=0x0;_0x59b02e[_0xb33734([0x6d,0x6f,0x64,0x65,0x6c])][_0xb33734([0x6f,0x6e])](_0xb33734([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26512d,_0x4c6729)=>{_0x4c6729[0x0][_0xb33734([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18f6b3++,_0x18f6b3==(0x5dba92ec^_0xf54ffe)&&(_0x101c99(),_0x26512d[_0xb33734([0x6f,0x66,0x66])]());});}))];return window[_0xb33734([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb33734([0x72,0x61,0x63,0x65])](_0x3de78a)[_0xb33734([0x74,0x68,0x65,0x6e])](()=>_0x30cc64);}async function _0x57e757(){await _0x1790e4,_0x59b02e[_0xb33734([0x6d,0x6f,0x64,0x65,0x6c])][_0xb33734([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa45e55,_0x59b02e[_0xb33734([0x6d,0x6f,0x64,0x65,0x6c])][_0xb33734([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa45e55,_0x59b02e[_0xb33734([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb33734([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12e06f(_0x1eb034){const _0x3256d8=_0x10cf7c();_0x59b02e[_0x3256d8]=_0xb33734([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])+_0x1eb034,_0x1eb034!=_0xb33734([0x56,0x61,0x6c,0x69,0x64])&&_0x57e757();}function _0x10cf7c(){const _0x44be0c=window[_0xb33734([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb33734([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb33734([0x6e,0x6f,0x77])]())[_0xb33734([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb33734([0x2e]),'');let _0x26df20=_0xb33734([0x4e]);for(let _0x481d93=0x0;_0x481d93<_0x44be0c[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x481d93+=0x2){let _0x565685=window[_0xb33734([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44be0c[_0xb33734([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x481d93,_0x481d93+0x2));_0x565685>=_0x592fd5[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x565685-=_0x592fd5[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26df20+=_0x592fd5[_0x565685];}return _0x26df20;}function _0x287006(){const _0x415ff7=_0x5413bc[_0xb33734([0x73,0x70,0x6c,0x69,0x74])](_0xb33734([0x2e]));if(0x3!=_0x415ff7[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3fdd41(_0x415ff7[0x1]);function _0x3fdd41(_0x4c8140){const _0x1e2a1c=_0x537dc(_0x4c8140);return _0x1e2a1c&&_0x3ec02b()?_0x1e2a1c:null;function _0x3ec02b(){const _0x3a597f=_0x1e2a1c[_0xb33734([0x6a,0x74,0x69])],_0x12ada2=window[_0xb33734([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a597f[_0xb33734([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a597f[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ee7a2={..._0x1e2a1c,[_0xb33734([0x6a,0x74,0x69])]:_0x3a597f[_0xb33734([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a597f[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ee7a2[_0xb33734([0x76,0x63])],_0x3fbb28(_0x4ee7a2)==_0x12ada2;}}}async function _0x47ceec(){let _0x2f1563=!0x0;try{const _0x4be6dc=_0x5413bc[_0xb33734([0x73,0x70,0x6c,0x69,0x74])](_0xb33734([0x2e])),[_0x292343,_0x16d6c2,_0x5c5e62]=_0x4be6dc;return _0x160cfd(_0x292343),await _0x48b27a(_0x292343,_0x16d6c2,_0x5c5e62),_0x2f1563;}catch{return!0x1;}function _0x160cfd(_0x4010a6){const _0x3b9754=_0x537dc(_0x4010a6);_0x3b9754&&_0x3b9754[_0xb33734([0x61,0x6c,0x67])]==_0xb33734([0x45,0x53,0x32,0x35,0x36])||(_0x2f1563=!0x1);}async function _0x48b27a(_0x206002,_0x18d534,_0x59a19f){const _0x513ded=window[_0xb33734([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb33734([0x66,0x72,0x6f,0x6d])](_0x3bcd94(_0x59a19f),_0x3858b7=>_0x3858b7[_0xb33734([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30bede=new window[(_0xb33734([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb33734([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x206002+_0xb33734([0x2e])+_0x18d534),_0x1dd7d8=window[_0xb33734([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb33734([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dd7d8)return;const _0x31b484=await _0x1dd7d8[_0xb33734([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb33734([0x6a,0x77,0x6b]),_0x14b9b8,{[_0xb33734([0x6e,0x61,0x6d,0x65])]:_0xb33734([0x45,0x43,0x44,0x53,0x41]),[_0xb33734([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb33734([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb33734([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dd7d8[_0xb33734([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb33734([0x6e,0x61,0x6d,0x65])]:_0xb33734([0x45,0x43,0x44,0x53,0x41]),[_0xb33734([0x68,0x61,0x73,0x68])]:{[_0xb33734([0x6e,0x61,0x6d,0x65])]:_0xb33734([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31b484,_0x513ded,_0x30bede)||(_0x2f1563=!0x1);}}function _0x537dc(_0xf0d11){return _0xf0d11[_0xb33734([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb33734([0x65,0x79]))?JSON[_0xb33734([0x70,0x61,0x72,0x73,0x65])](_0x3bcd94(_0xf0d11)):null;}function _0x3bcd94(_0x3cc561){return window[_0xb33734([0x61,0x74,0x6f,0x62])](_0x3cc561[_0xb33734([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb33734([0x2b]))[_0xb33734([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb33734([0x2f])));}function _0x3fbb28(_0x22ca97){let _0x260cbf=0x1505;function _0xf95289(_0x22612d){for(let _0x182fb9=0x0;_0x182fb9<_0x22612d[_0xb33734([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x182fb9++){const _0x2715b6=_0x22612d[_0xb33734([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x182fb9);_0x260cbf=(_0x260cbf<<0x5)+_0x260cbf+_0x2715b6,_0x260cbf&=_0x260cbf;}}function _0xcd9b6(_0x43771f){Array[_0xb33734([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43771f)?_0x43771f[_0xb33734([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xcd9b6):_0x43771f&&typeof _0x43771f==_0xb33734([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb33734([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43771f)[_0xb33734([0x73,0x6f,0x72,0x74])]()[_0xb33734([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x12bd10,_0x51b3f9])=>{_0xf95289(_0x12bd10),_0xcd9b6(_0x51b3f9);}):_0xf95289(window[_0xb33734([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43771f));}return _0xcd9b6(_0x22ca97),_0x260cbf>>>0x0;}function _0x15936e(_0x166aba){return _0x166aba[_0xb33734([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb33734([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb33734([0x30]));}function _0x3b1009(_0x17fa42){return _0x17fa42[_0xb33734([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb33734([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb33734([0x6a,0x6f,0x69,0x6e])]('');}function _0xa45e55(){}function _0xb33734(_0x261ed8){const _0x363f3c=_0x36b4;return _0x261ed8[_0x363f3c(0x162)](_0x221b29=>String[_0x363f3c(0x172)](_0x221b29))[_0x363f3c(0x15e)]('');}_0x12e06f(await _0x498cc1());}(this);}[_0x261010(0x176)](_0x4226d4,_0xfe592f,_0x737862=!0x1){const _0x4946f0=_0x261010,_0x511cad=new _0x4226d4(this[_0x4946f0(0x145)][_0x4946f0(0x16f)]);return _0x511cad[_0x4946f0(0x163)]({'withText':_0x737862,'isToggleable':!0x1}),_0x511cad[_0x4946f0(0x17c)](_0x4946f0(0x170))['to'](_0xfe592f,_0x4946f0(0x170)),this[_0x4946f0(0x16e)](_0x511cad,_0x4946f0(0x134),()=>_0xfe592f[_0x4946f0(0x134)]()),_0x511cad;}[_0x261010(0x147)](){const _0x49e4f9=_0x261010,_0x2ce6ed=this[_0x49e4f9(0x145)][_0x49e4f9(0x16f)];this[_0x49e4f9(0x145)][_0x49e4f9(0x15a)][_0x49e4f9(0x14d)]({'id':_0x49e4f9(0x142),'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x13f))});const _0x4a8bb6=_0x293b46[_0x49e4f9(0x146)]||_0x293b46[_0x49e4f9(0x139)];this[_0x49e4f9(0x145)][_0x49e4f9(0x15a)][_0x49e4f9(0x184)]({'categoryId':_0x49e4f9(0x142),'keystrokes':[{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x144)),'keystroke':_0x49e4f9(0x150)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x169)),'keystroke':_0x49e4f9(0x157)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x159)),'keystroke':_0x49e4f9(0x15b)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x17b)),'keystroke':_0x49e4f9(0x152)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x186)),'keystroke':_0x49e4f9(0x136)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x16a)),'keystroke':_0x49e4f9(0x13b)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x160)),'keystroke':_0x4a8bb6?_0x49e4f9(0x13d):_0x49e4f9(0x16c)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x17d)),'keystroke':_0x49e4f9(0x17e)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x177)),'keystroke':_0x49e4f9(0x13c)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x154)),'keystroke':[[_0x49e4f9(0x16b)],[_0x49e4f9(0x141)]]},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x13e)),'keystroke':_0x4a8bb6?_0x49e4f9(0x178):_0x49e4f9(0x17a)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x165)),'keystroke':_0x4a8bb6?_0x49e4f9(0x14c):_0x49e4f9(0x149)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x135)),'keystroke':_0x49e4f9(0x16d)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x138)),'keystroke':_0x49e4f9(0x148)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x156)),'keystroke':_0x49e4f9(0x158)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x171)),'keystroke':_0x49e4f9(0x15d)},{'label':_0x1cb43b(_0x2ce6ed,_0x49e4f9(0x13a)),'keystroke':_0x4a8bb6?_0x49e4f9(0x161):_0x49e4f9(0x182)}]});}}
|