@ckeditor/ckeditor5-source-editing-enhanced 46.0.1-alpha.11 → 46.0.1-alpha.12
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 _0x19fbca,PendingActions as _0x420b02,Plugin as _0x2461fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x47f969,formatHtml as _0x28bff2,env as _0x4dfe44,uid as _0x5ee11c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0xce44}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x218c97,ButtonView as _0x4f40fa,MenuBarMenuListItemButtonView as _0x2749f3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x332959,crosshairCursor as _0x445338,drawSelection as _0x4fbb64,dropCursor as _0x3e4321,lineNumbers as _0x101588,highlightActiveLine as _0x52b087,highlightActiveLineGutter as _0x37ec30,highlightSpecialChars as _0x20c6fb,rectangularSelection as _0x4c671f,keymap as _0x3b83c4}from'@codemirror/view';import{Compartment as _0x4131bc,Transaction as _0x1c742a}from'@codemirror/state';import{bracketMatching as _0x1454a7,foldGutter as _0x4c62dc,indentOnInput as _0x11681f,syntaxHighlighting as _0x4404c3,defaultHighlightStyle as _0x4318ba,foldKeymap as _0x1d20f0}from'@codemirror/language';import{toggleTabFocusMode as _0x12631a,history as _0x594a3f,defaultKeymap as _0x3caa80,historyKeymap as _0x50c51f,indentLess as _0x2a52fa,indentMore as _0x9f82a1,redo as _0xe7d251,undo as _0x553e94}from'@codemirror/commands';import{autocompletion as _0x54b98d,closeBrackets as _0x65b4bf,closeBracketsKeymap as _0x1c71bc,completionKeymap as _0xcdad3b}from'@codemirror/autocomplete';import{html as _0x3a7c75}from'@codemirror/lang-html';import{markdown as _0x35fbcb}from'@codemirror/lang-markdown';import{oneDark as _0x4bbbe1}from'@codemirror/theme-one-dark';function w(_0xd4b9e1,_0x308fcb){const t=_0xd4b9e1['t'];switch(_0x308fcb){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x308fcb;}}function r(_0x2ebbd1){const _0x22a88e=_0x2ebbd1['editing']['view']['document']['roots'],_0x56b5af=_0x22a88e['length'];if(0x0===_0x56b5af)throw new _0x47f969('source-editing-enhanced-editor-no-root',_0x2ebbd1);if(0x1===_0x56b5af)return _0x22a88e['first']['rootName'];return Array['from'](_0x2ebbd1['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x2f1ca9){return tr(_0x2f1ca9['replace'](/^[\n\s]*/g,''))?_0x2f1ca9['replace'](/\s+/g,''):_0x2f1ca9;}function tr(_0x142a88){return _0x142a88['startsWith']('<');}function p(_0x3131a5){const _0x4f2022=[_0x332959['lineWrapping'],_0x54b98d(),_0x1454a7(),_0x65b4bf(),_0x445338(),_0x4fbb64(),_0x3e4321(),_0x101588(),_0x4c62dc(),_0x52b087(),_0x37ec30(),_0x20c6fb(),_0x594a3f(),_0x11681f(),_0x4c671f(),_0x4404c3(_0x4318ba,{'fallback':!0x0})],_0x283870=new _0x4131bc();_0x4f2022['push'](_0x283870['of'](_0x332959['editable']['of'](!0x0))),'html'===_0x3131a5['syntaxLanguage']?_0x4f2022['push'](_0x3a7c75()):_0x4f2022['push'](_0x35fbcb());const _0x465b42=function(_0x2e9690){if(_0x2e9690&&'default'!==_0x2e9690)return'dark'===_0x2e9690?_0x4bbbe1:_0x2e9690;return null;}(_0x3131a5['theme']);_0x465b42&&_0x4f2022['push'](_0x465b42),_0x4f2022['push'](_0x3b83c4['of']([..._0x1c71bc,..._0x3caa80,..._0x50c51f,..._0x1d20f0,..._0xcdad3b,{'key':'Tab','run':_0x9f82a1,'shift':_0x2a52fa,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xe7d251,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xe7d251,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x553e94,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x4e883c=new _0x332959({'extensions':_0x4f2022,'parent':_0x3131a5['parent']});return _0x12631a(_0x4e883c),{'focus':()=>{_0x4e883c['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4e883c['focus']();},'getData':()=>_0x4e883c['state']['doc']['toString'](),'setData':_0x2f43ac=>{_0x4e883c['dispatch']({'changes':{'from':0x0,'to':_0x4e883c['state']['doc']['length'],'insert':_0x2f43ac},'annotations':_0x1c742a['addToHistory']['of'](!0x1)});},'setReadOnly':_0x18f87f=>{_0x4e883c['dispatch']({'effects':[_0x283870['reconfigure'](_0x332959['editable']['of'](!_0x18f87f))]});},'destroy':()=>{_0x4e883c['destroy']();},'instance':_0x4e883c};}class E extends _0x218c97{['_codeEditorApi']=null;['_options'];constructor(_0x4d0ba5,_0x1084ab){super(_0x4d0ba5),this['_options']=_0x1084ab,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x2e7b30,_0x212b5c,_0x481275)=>{this['setReadOnly'](_0x481275);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5755f3){this['_codeEditorApi']['setData'](_0x5755f3);}['setReadOnly'](_0x368baa){this['_codeEditorApi']['setReadOnly'](_0x368baa);}}const b='SourceEditingEnhancedMode';class d extends _0x19fbca{constructor(_0x5a92f2){super(_0x5a92f2),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x420b02)['on']('change:hasAny',(_0x3107fd,_0x225593,_0x3487de)=>{_0x3487de?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x227e1a=this['editor'];for(const _0x57f5df of _0x227e1a['commands']['names']())['replaceSource','editSource']['includes'](_0x57f5df)||_0x227e1a['commands']['get'](_0x57f5df)['forceDisabled'](b);}['_enableCommands'](){const _0x41ba91=this['editor'];for(const _0x2e45ed of _0x41ba91['commands']['commands']())_0x2e45ed['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x83fe76=this['editor'],_0x392916=_0x83fe76['locale'],_0xbcf1ce=_0x83fe76['plugins']['get']('Dialog'),_0x163f2c=r(_0x83fe76),_0x35d982=_0x83fe76['data']['get']({'rootName':_0x163f2c}),_0x5230a7=tr(_0x5b4f95=_0x35d982)?_0x28bff2(_0x5b4f95):_0x5b4f95;var _0x5b4f95;const _0x3f9319=new E(_0x392916,{'syntaxLanguage':_0x83fe76['plugins']['has']('Markdown')?'markdown':'html','theme':_0x83fe76['config']['get']('sourceEditingEnhanced.theme')});let _0x3d0f9b=!0x0;const _0x11a87a=_0x5b6c01=>{if(!_0x3d0f9b)return;return g(_0x3f9319['getData']())!==g(_0x5230a7)?window['confirm'](w(_0x392916,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5b6c01['stop']():void 0x0;};_0xbcf1ce['show']({'id':'sourceEditingEnhanced','title':w(_0x392916,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3f9319,'actionButtons':[{'label':w(_0x392916,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xbcf1ce['hide']();}},{'label':w(_0x392916,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4f060a=g(_0x3f9319['getData']())!==g(_0x5230a7);(_0x4f060a&&_0x83fe76['execute']('replaceSource',_0x3f9319['getData']()),_0x3d0f9b=!0x1,_0xbcf1ce['hide'](),_0x4f060a&&'editables'in _0x83fe76['ui']['view'])&&_0x83fe76['ui']['view']['editables'][_0x163f2c]['element']['focus']();},'onCreate':_0x121c16=>{_0x121c16['set']('isEnabled',!_0x83fe76['isReadOnly']),_0x121c16['bind']('isEnabled')['to'](_0x83fe76,'isReadOnly',this,'isEnabled',(_0x27768b,_0x5451d3)=>!_0x27768b&&_0x5451d3);}}],'onHide':()=>{this['_enableCommands'](),_0xbcf1ce['off']('hide',_0x11a87a),_0x3f9319['destroy']();},'onShow':()=>{_0x3f9319['bind']('isReadOnly')['to'](_0x83fe76,'isReadOnly',this,'isEnabled',(_0x161734,_0x484b24)=>_0x161734||!_0x484b24),_0x3f9319['setData'](_0x5230a7),_0x3f9319['focus'](),_0xbcf1ce['on']('hide',_0x11a87a,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2461fc{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x420b02];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f440e=this['editor'],_0x96d61e=_0x1f440e['locale'],_0x281a54=new d(_0x1f440e);_0x1f440e['commands']['add']('editSource',_0x281a54),_0x1f440e['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x351567=this['_createButton'](_0x4f40fa,_0x281a54);return _0x351567['set']({'label':w(_0x96d61e,'Source'),'icon':_0xce44,'tooltip':w(_0x96d61e,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x351567;}),_0x1f440e['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x488eda=this['_createButton'](_0x2749f3,_0x281a54,!0x0);return _0x488eda['set']({'label':w(_0x96d61e,'Edit\x20source\x20modal\x20label'),'icon':_0xce44,'role':'menuitemcheckbox'}),_0x488eda;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x30a0d8){const _0x412b03=_0x1670c0([0x7a,0x45,0x75,0x46,0x5a,0x6d,0x77,0x36,0x32,0x69,0x6b,0x54,0x59,0x72,0x62,0x6a,0x38,0x49,0x55,0x67,0x30,0x76,0x37,0x4e,0x52,0x47,0x63,0x48,0x4c,0x71,0x31,0x74,0x6c,0x33,0x51,0x44,0x66,0x39,0x4a,0x57,0x4b,0x79,0x73,0x58,0x53,0x68,0x78,0x61,0x4f,0x6e,0x35,0x70,0x65,0x64,0x34,0x43,0x4d,0x42,0x41,0x50,0x56,0x6f]),_0x1a24e9=0x36242aa5,_0x57c6a8=0x36234545^_0x1a24e9,_0x457ac5=window[_0x1670c0([0x44,0x61,0x74,0x65])][_0x1670c0([0x6e,0x6f,0x77])](),_0x2a232e=_0x30a0d8[_0x1670c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49db12=new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x416d02=>{_0x2a232e[_0x1670c0([0x6f,0x6e,0x63,0x65])](_0x1670c0([0x72,0x65,0x61,0x64,0x79]),_0x416d02);}),_0x19c867={[_0x1670c0([0x6b,0x74,0x79])]:_0x1670c0([0x45,0x43]),[_0x1670c0([0x75,0x73,0x65])]:_0x1670c0([0x73,0x69,0x67]),[_0x1670c0([0x63,0x72,0x76])]:_0x1670c0([0x50,0x2d,0x32,0x35,0x36]),[_0x1670c0([0x78])]:_0x1670c0([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1670c0([0x79])]:_0x1670c0([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1670c0([0x61,0x6c,0x67])]:_0x1670c0([0x45,0x53,0x32,0x35,0x36])},_0x19debe=_0x2a232e[_0x1670c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1670c0([0x67,0x65,0x74])](_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f8062(){let _0x5ab0d0,_0x13bc04=null,_0x1345dd=null;try{if(_0x19debe==_0x1670c0([0x47,0x50,0x4c]))return _0x1670c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ab0d0=_0xb9807(),!_0x5ab0d0)return _0x1670c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ab0d0[_0x1670c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1345dd=_0x346cd3(_0x5ab0d0[_0x1670c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ab0d0[_0x1670c0([0x6a,0x74,0x69])])),await _0x3f0671()?_0x2020d1()?_0xe45acb()?_0x1670c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35a8d5()?(_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1670c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13bc04=_0x52fae5(_0x1670c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1670c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x13bc04=_0x52fae5(_0x1670c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x432f38()):_0x1670c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1670c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1670c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1670c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe45acb(){const _0x8c1b4=[_0x1670c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1670c0([0x74,0x72,0x69,0x61,0x6c])][_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x457ac5/0x3e8:0xe10*_0x57c6a8;return _0x5ab0d0[_0x1670c0([0x65,0x78,0x70])]<_0x8c1b4;}function _0x2020d1(){const _0x1ea4be=_0x5ab0d0[_0x1670c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ea4be&&(!!_0x1ea4be[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1670c0([0x2a]))||!!_0x1ea4be[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1670c0([0x53,0x45,0x45])));}function _0x35a8d5(){const _0x1985a1=_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1985a1||0x0==_0x1985a1[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39cd08}=new URL(window[_0x1670c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1985a1[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39cd08))return!0x0;const _0x464574=_0x39cd08[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e]));return _0x1985a1[_0x1670c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x288c2f=>_0x288c2f[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1670c0([0x2a])))[_0x1670c0([0x6d,0x61,0x70])](_0x4b0d81=>_0x4b0d81[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e])))[_0x1670c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44b37c=>_0x44b37c[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x464574[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1670c0([0x6d,0x61,0x70])](_0x2e37dc=>Array(_0x464574[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e37dc[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1670c0([0x66,0x69,0x6c,0x6c])](_0x2e37dc[0x0]===_0x1670c0([0x2a])?_0x1670c0([0x2a]):'')[_0x1670c0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e37dc))[_0x1670c0([0x73,0x6f,0x6d,0x65])](_0x32e014=>_0x464574[_0x1670c0([0x65,0x76,0x65,0x72,0x79])]((_0x4c464b,_0x4f8a8e)=>_0x32e014[_0x4f8a8e]===_0x4c464b||_0x32e014[_0x4f8a8e]===_0x1670c0([0x2a])));}function _0x432f38(){return _0x13bc04&&_0x1345dd?new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x130691,_0x428407)=>{_0x13bc04[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x130691,_0x428407),_0x1345dd[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x207849=>{_0x207849!=_0x1670c0([0x56,0x61,0x6c,0x69,0x64])&&_0x130691(_0x207849);},_0x428407);}):_0x13bc04||_0x1345dd||_0x1670c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x346cd3(_0x2abff8,_0x710b7b){return new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16130c=>{if(_0x3301ee())return _0x16130c(_0x1670c0([0x56,0x61,0x6c,0x69,0x64]));_0x5e9582(),_0x2a232e[_0x1670c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1670c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23224a=!0x1;const _0xa38248=_0x5ee11c();function _0x19776e(_0x15a3a2){return!!_0x15a3a2&&(typeof _0x15a3a2===_0x1670c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15a3a2===_0x1670c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15a3a2[_0x1670c0([0x74,0x68,0x65,0x6e])]===_0x1670c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15a3a2[_0x1670c0([0x63,0x61,0x74,0x63,0x68])]===_0x1670c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc35694(_0x4aba9b){_0x2d05fe(_0x4aba9b)[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x19d2ce=>{if(!_0x19d2ce||_0x19d2ce[_0x1670c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1670c0([0x6f,0x6b]))return _0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2990c1(_0x3b50b6(_0xa38248+_0x710b7b))!=_0x19d2ce[_0x1670c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1670c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x24b284=>(_0x442365(),_0x24b284),()=>{const _0x17e94d=_0x240b09();return null==_0x17e94d?(_0x442365(),_0x1670c0([0x56,0x61,0x6c,0x69,0x64])):_0x1670c0(_0x457ac5-_0x17e94d>(0x1228aea5^_0x1a24e9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x16130c)[_0x1670c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x16130c(_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b62d0=0x3612c425^_0x1a24e9;function _0x442365(){const _0x42c6cf=_0x1670c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2990c1(_0x3b50b6(_0x2abff8)),_0x269b14=_0x156b30(_0x2990c1(window[_0x1670c0([0x4d,0x61,0x74,0x68])][_0x1670c0([0x63,0x65,0x69,0x6c])](_0x457ac5/_0x3b62d0)));window[_0x1670c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1670c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42c6cf,_0x269b14);}function _0x240b09(){const _0x445d59=_0x1670c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2990c1(_0x3b50b6(_0x2abff8)),_0x38c0f7=window[_0x1670c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1670c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x445d59);return _0x38c0f7?window[_0x1670c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x156b30(_0x38c0f7),0x10)*_0x3b62d0:null;}function _0x2d05fe(_0x22bbf9){return new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31ffcb,_0x39b0b3)=>{_0x22bbf9[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x31ffcb,_0x39b0b3),window[_0x1670c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39b0b3,0x3625fe65^_0x1a24e9);});}}_0x2a232e[_0x1670c0([0x6f,0x6e])](_0x1670c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x481623,_0x39e70c)=>{if(_0x39e70c[0x0]!=_0x2abff8)return _0x16130c(_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39e70c[0x1]={..._0x39e70c[0x1],[_0x1670c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa38248};},{[_0x1670c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1670c0([0x68,0x69,0x67,0x68])}),_0x2a232e[_0x1670c0([0x6f,0x6e])](_0x1670c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f1099=>{_0x19776e(_0x1f1099[_0x1670c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23224a=!0x0,_0xc35694(_0x1f1099[_0x1670c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1670c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1670c0([0x6c,0x6f,0x77])}),_0x49db12[_0x1670c0([0x74,0x68,0x65,0x6e])](()=>{_0x23224a||_0x16130c(_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3301ee(){return _0x2a232e[_0x1670c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1670c0([0x76,0x69,0x65,0x77])][_0x1670c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1670c0([0x61,0x75,0x74,0x6f]);}function _0x5e9582(){_0x2a232e[_0x1670c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1670c0([0x76,0x69,0x65,0x77])][_0x1670c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1670c0([0x61,0x75,0x74,0x6f]);}}function _0x52fae5(_0x1a6b44){const _0x235739=[new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x303ead=>setTimeout(_0x303ead,0x362d1469^_0x1a24e9)),_0x49db12[_0x1670c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x69ae8d=>{let _0x2a76be=0x0;_0x2a232e[_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1670c0([0x6f,0x6e])](_0x1670c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13f3fb,_0x15fcc5)=>{_0x15fcc5[0x0][_0x1670c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a76be++,_0x2a76be==(0x36242b5d^_0x1a24e9)&&(_0x69ae8d(),_0x13f3fb[_0x1670c0([0x6f,0x66,0x66])]());});}))];return window[_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1670c0([0x72,0x61,0x63,0x65])](_0x235739)[_0x1670c0([0x74,0x68,0x65,0x6e])](()=>_0x1a6b44);}async function _0x7726ab(){await _0x49db12,_0x2a232e[_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1670c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x133d36,_0x2a232e[_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1670c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x133d36,_0x2a232e[_0x1670c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2830c8(_0x30c97d){const _0x1a0020=_0x430b57();_0x2a232e[_0x1a0020]=_0x1670c0([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30c97d,_0x30c97d!=_0x1670c0([0x56,0x61,0x6c,0x69,0x64])&&_0x7726ab();}function _0x430b57(){const _0x44934a=window[_0x1670c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1670c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1670c0([0x6e,0x6f,0x77])]())[_0x1670c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1670c0([0x2e]),'');let _0x2f69b1=_0x1670c0([0x7a]);for(let _0x19ca17=0x0;_0x19ca17<_0x44934a[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19ca17+=0x2){let _0x419545=window[_0x1670c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44934a[_0x1670c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19ca17,_0x19ca17+0x2));_0x419545>=_0x412b03[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x419545-=_0x412b03[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f69b1+=_0x412b03[_0x419545];}return _0x2f69b1;}function _0xb9807(){const _0x2e5d05=_0x19debe[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e]));if(0x3!=_0x2e5d05[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x452637(_0x2e5d05[0x1]);function _0x452637(_0x112f22){const _0x4db2ee=_0x16837f(_0x112f22);return _0x4db2ee&&_0x5d2334()?_0x4db2ee:null;function _0x5d2334(){const _0x1a1bec=_0x4db2ee[_0x1670c0([0x6a,0x74,0x69])],_0x5c8481=window[_0x1670c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1bec[_0x1670c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a1bec[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc94ac0={..._0x4db2ee,[_0x1670c0([0x6a,0x74,0x69])]:_0x1a1bec[_0x1670c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a1bec[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc94ac0[_0x1670c0([0x76,0x63])],_0x3b50b6(_0xc94ac0)==_0x5c8481;}}}async function _0x3f0671(){let _0x44fe24=!0x0;try{const _0x14d24e=_0x19debe[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e])),[_0x45ac11,_0x28265a,_0x5a6e06]=_0x14d24e;return _0xed2620(_0x45ac11),await _0x35a233(_0x45ac11,_0x28265a,_0x5a6e06),_0x44fe24;}catch{return!0x1;}function _0xed2620(_0x2aedbf){const _0x30596f=_0x16837f(_0x2aedbf);_0x30596f&&_0x30596f[_0x1670c0([0x61,0x6c,0x67])]==_0x1670c0([0x45,0x53,0x32,0x35,0x36])||(_0x44fe24=!0x1);}async function _0x35a233(_0x434e85,_0x22da63,_0x5268b5){const _0x4e08f9=window[_0x1670c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1670c0([0x66,0x72,0x6f,0x6d])](_0x37870d(_0x5268b5),_0x4adfdf=>_0x4adfdf[_0x1670c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49f2dc=new window[(_0x1670c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1670c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x434e85+_0x1670c0([0x2e])+_0x22da63),_0x36fbc2=window[_0x1670c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1670c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36fbc2)return;const _0x72fce=await _0x36fbc2[_0x1670c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1670c0([0x6a,0x77,0x6b]),_0x19c867,{[_0x1670c0([0x6e,0x61,0x6d,0x65])]:_0x1670c0([0x45,0x43,0x44,0x53,0x41]),[_0x1670c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1670c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1670c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36fbc2[_0x1670c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1670c0([0x6e,0x61,0x6d,0x65])]:_0x1670c0([0x45,0x43,0x44,0x53,0x41]),[_0x1670c0([0x68,0x61,0x73,0x68])]:{[_0x1670c0([0x6e,0x61,0x6d,0x65])]:_0x1670c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x72fce,_0x4e08f9,_0x49f2dc)||(_0x44fe24=!0x1);}}function _0x16837f(_0x445e32){return _0x445e32[_0x1670c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1670c0([0x65,0x79]))?JSON[_0x1670c0([0x70,0x61,0x72,0x73,0x65])](_0x37870d(_0x445e32)):null;}function _0x37870d(_0x28ee56){return window[_0x1670c0([0x61,0x74,0x6f,0x62])](_0x28ee56[_0x1670c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1670c0([0x2b]))[_0x1670c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1670c0([0x2f])));}function _0x3b50b6(_0x4be98d){let _0x3beb47=0x1505;function _0x594c2e(_0x534143){for(let _0x2316c1=0x0;_0x2316c1<_0x534143[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2316c1++){const _0x2bb99b=_0x534143[_0x1670c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2316c1);_0x3beb47=(_0x3beb47<<0x5)+_0x3beb47+_0x2bb99b,_0x3beb47&=_0x3beb47;}}function _0x36a526(_0x35b9a4){Array[_0x1670c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35b9a4)?_0x35b9a4[_0x1670c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36a526):_0x35b9a4&&typeof _0x35b9a4==_0x1670c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1670c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35b9a4)[_0x1670c0([0x73,0x6f,0x72,0x74])]()[_0x1670c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fde64,_0x162ae3])=>{_0x594c2e(_0x3fde64),_0x36a526(_0x162ae3);}):_0x594c2e(window[_0x1670c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35b9a4));}return _0x36a526(_0x4be98d),_0x3beb47>>>0x0;}function _0x2990c1(_0xf2cee4){return _0xf2cee4[_0x1670c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1670c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1670c0([0x30]));}function _0x156b30(_0x28799e){return _0x28799e[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1670c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1670c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x133d36(){}function _0x1670c0(_0x2041ae){return _0x2041ae['map'](_0x589855=>String['fromCharCode'](_0x589855))['join']('');}_0x2830c8(await _0x4f8062());}(this);}['_createButton'](_0x5df9aa,_0x52f8c0,_0x4e7ae6=!0x1){const _0x3d3562=new _0x5df9aa(this['editor']['locale']);return _0x3d3562['set']({'withText':_0x4e7ae6,'isToggleable':!0x1}),_0x3d3562['bind']('isEnabled')['to'](_0x52f8c0,'isEnabled'),this['listenTo'](_0x3d3562,'execute',()=>_0x52f8c0['execute']()),_0x3d3562;}['_registerKeybindings'](){const _0x37a098=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x37a098,'Source\x20Editing\x20Enhanced')});const _0x468350=_0x4dfe44['isMac']||_0x4dfe44['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x37a098,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x37a098,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x37a098,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x37a098,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x37a098,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x37a098,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x37a098,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x468350?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x37a098,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x37a098,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x37a098,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x37a098,'Select\x20line'),'keystroke':_0x468350?'Ctrl!+L':'Alt+L'},{'label':w(_0x37a098,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x468350?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x37a098,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x37a098,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x37a098,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x37a098,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x37a098,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x468350?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x19fbca{constructor(_0x347902){super(_0x347902),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xe0bc28,_0x58192d){const _0x5e6878=this['editor'],_0x2600bb=_0x58192d?.['rootName']??r(_0x5e6878);_0x5e6878['data']['set']({[_0x2600bb]:_0xe0bc28},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x2461fc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x153543){super(_0x153543),_0x153543['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1cb794=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2052c2;for(const _0x4d3289 in _0x1cb794){const _0x12bc07=_0x4d3289,_0x1bd9e3=_0x1cb794[_0x12bc07];if('sourceEditingEnhancedLicenseKeyValid'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyInvalid'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyExpired'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1bd9e3){delete _0x1cb794[_0x12bc07],_0x2052c2=_0x1bd9e3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2052c2&&_0x1cb794['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2052c2&&_0x1cb794['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2052c2&&_0x1cb794['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xbc13f6=this['editor'],_0x29d720=_0xbc13f6['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x29d720&&_0xbc13f6['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x47f969('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x29d720&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5bee65=>_0xbc13f6['plugins']['has'](_0x5bee65))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0xbc13f6['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x2e7d9a,PendingActions as _0x3293ef,Plugin as _0xae372c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x15bdb0,formatHtml as _0xeaaf92,env as _0x35b84b,uid as _0x34d3f0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x9619d6}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0xaa7977,ButtonView as _0x11184a,MenuBarMenuListItemButtonView as _0x3a3f47}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x266d10,crosshairCursor as _0x3fd6ce,drawSelection as _0x5dfbb3,dropCursor as _0x104755,lineNumbers as _0x433e0d,highlightActiveLine as _0x759adc,highlightActiveLineGutter as _0xa5c7b5,highlightSpecialChars as _0x43b5f9,rectangularSelection as _0x2356df,keymap as _0xa6c59b}from'@codemirror/view';import{Compartment as _0x1869fb,Transaction as _0x2bc42e}from'@codemirror/state';import{bracketMatching as _0x156f9d,foldGutter as _0x486af5,indentOnInput as _0x339246,syntaxHighlighting as _0xc19b69,defaultHighlightStyle as _0xaf9d12,foldKeymap as _0x5cff31}from'@codemirror/language';import{toggleTabFocusMode as _0x5ebeb8,history as _0x9d3dfd,defaultKeymap as _0x193d5b,historyKeymap as _0xea115b,indentLess as _0x57502c,indentMore as _0x228197,redo as _0x3d7237,undo as _0x13b216}from'@codemirror/commands';import{autocompletion as _0x1979ec,closeBrackets as _0x13386e,closeBracketsKeymap as _0x4dec78,completionKeymap as _0x4403e8}from'@codemirror/autocomplete';import{html as _0x49f427}from'@codemirror/lang-html';import{markdown as _0x5d8189}from'@codemirror/lang-markdown';import{oneDark as _0x4910e7}from'@codemirror/theme-one-dark';function w(_0x18f0d5,_0x10c5e1){const t=_0x18f0d5['t'];switch(_0x10c5e1){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 _0x10c5e1;}}function r(_0x3f3c89){const _0x41f7bf=_0x3f3c89['editing']['view']['document']['roots'],_0x42780c=_0x41f7bf['length'];if(0x0===_0x42780c)throw new _0x15bdb0('source-editing-enhanced-editor-no-root',_0x3f3c89);if(0x1===_0x42780c)return _0x41f7bf['first']['rootName'];return Array['from'](_0x3f3c89['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x4d1165){return tr(_0x4d1165['replace'](/^[\n\s]*/g,''))?_0x4d1165['replace'](/\s+/g,''):_0x4d1165;}function tr(_0x4f0a28){return _0x4f0a28['startsWith']('<');}function p(_0x1eb14f){const _0x49e4ec=[_0x266d10['lineWrapping'],_0x1979ec(),_0x156f9d(),_0x13386e(),_0x3fd6ce(),_0x5dfbb3(),_0x104755(),_0x433e0d(),_0x486af5(),_0x759adc(),_0xa5c7b5(),_0x43b5f9(),_0x9d3dfd(),_0x339246(),_0x2356df(),_0xc19b69(_0xaf9d12,{'fallback':!0x0})],_0x26cc63=new _0x1869fb();_0x49e4ec['push'](_0x26cc63['of'](_0x266d10['editable']['of'](!0x0))),'html'===_0x1eb14f['syntaxLanguage']?_0x49e4ec['push'](_0x49f427()):_0x49e4ec['push'](_0x5d8189());const _0x21c92d=function(_0x1d5ff1){if(_0x1d5ff1&&'default'!==_0x1d5ff1)return'dark'===_0x1d5ff1?_0x4910e7:_0x1d5ff1;return null;}(_0x1eb14f['theme']);_0x21c92d&&_0x49e4ec['push'](_0x21c92d),_0x49e4ec['push'](_0xa6c59b['of']([..._0x4dec78,..._0x193d5b,..._0xea115b,..._0x5cff31,..._0x4403e8,{'key':'Tab','run':_0x228197,'shift':_0x57502c,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3d7237,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3d7237,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x13b216,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x36ed83=new _0x266d10({'extensions':_0x49e4ec,'parent':_0x1eb14f['parent']});return _0x5ebeb8(_0x36ed83),{'focus':()=>{_0x36ed83['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x36ed83['focus']();},'getData':()=>_0x36ed83['state']['doc']['toString'](),'setData':_0x1dad92=>{_0x36ed83['dispatch']({'changes':{'from':0x0,'to':_0x36ed83['state']['doc']['length'],'insert':_0x1dad92},'annotations':_0x2bc42e['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1474b0=>{_0x36ed83['dispatch']({'effects':[_0x26cc63['reconfigure'](_0x266d10['editable']['of'](!_0x1474b0))]});},'destroy':()=>{_0x36ed83['destroy']();},'instance':_0x36ed83};}class E extends _0xaa7977{['_codeEditorApi']=null;['_options'];constructor(_0x2979cd,_0x369591){super(_0x2979cd),this['_options']=_0x369591,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',(_0x5556e8,_0x2d085d,_0x506e70)=>{this['setReadOnly'](_0x506e70);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x462a72){this['_codeEditorApi']['setData'](_0x462a72);}['setReadOnly'](_0x483068){this['_codeEditorApi']['setReadOnly'](_0x483068);}}const b='SourceEditingEnhancedMode';class d extends _0x2e7d9a{constructor(_0xc745c5){super(_0xc745c5),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3293ef)['on']('change:hasAny',(_0x417a0d,_0x4d4285,_0x5530fd)=>{_0x5530fd?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x93cc2b=this['editor'];for(const _0x4dbfe2 of _0x93cc2b['commands']['names']())['replaceSource','editSource']['includes'](_0x4dbfe2)||_0x93cc2b['commands']['get'](_0x4dbfe2)['forceDisabled'](b);}['_enableCommands'](){const _0x25a420=this['editor'];for(const _0x9b6991 of _0x25a420['commands']['commands']())_0x9b6991['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x8a5034=this['editor'],_0x4798cc=_0x8a5034['locale'],_0x57d1c6=_0x8a5034['plugins']['get']('Dialog'),_0x1c4b24=r(_0x8a5034),_0x254cad=_0x8a5034['data']['get']({'rootName':_0x1c4b24}),_0x568203=tr(_0x208d46=_0x254cad)?_0xeaaf92(_0x208d46):_0x208d46;var _0x208d46;const _0x272c77=new E(_0x4798cc,{'syntaxLanguage':_0x8a5034['plugins']['has']('Markdown')?'markdown':'html','theme':_0x8a5034['config']['get']('sourceEditingEnhanced.theme')});let _0x3654f3=!0x0;const _0x510520=_0x5e0e0b=>{if(!_0x3654f3)return;return g(_0x272c77['getData']())!==g(_0x568203)?window['confirm'](w(_0x4798cc,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5e0e0b['stop']():void 0x0;};_0x57d1c6['show']({'id':'sourceEditingEnhanced','title':w(_0x4798cc,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x272c77,'actionButtons':[{'label':w(_0x4798cc,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x57d1c6['hide']();}},{'label':w(_0x4798cc,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x33c69a=g(_0x272c77['getData']())!==g(_0x568203);(_0x33c69a&&_0x8a5034['execute']('replaceSource',_0x272c77['getData']()),_0x3654f3=!0x1,_0x57d1c6['hide'](),_0x33c69a&&'editables'in _0x8a5034['ui']['view'])&&_0x8a5034['ui']['view']['editables'][_0x1c4b24]['element']['focus']();},'onCreate':_0x4daab4=>{_0x4daab4['set']('isEnabled',!_0x8a5034['isReadOnly']),_0x4daab4['bind']('isEnabled')['to'](_0x8a5034,'isReadOnly',this,'isEnabled',(_0x3d1cf6,_0x3579f6)=>!_0x3d1cf6&&_0x3579f6);}}],'onHide':()=>{this['_enableCommands'](),_0x57d1c6['off']('hide',_0x510520),_0x272c77['destroy']();},'onShow':()=>{_0x272c77['bind']('isReadOnly')['to'](_0x8a5034,'isReadOnly',this,'isEnabled',(_0x33a1b6,_0x2b4f4a)=>_0x33a1b6||!_0x2b4f4a),_0x272c77['setData'](_0x568203),_0x272c77['focus'](),_0x57d1c6['on']('hide',_0x510520,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0xae372c{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3293ef];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x255f24=this['editor'],_0x26ef75=_0x255f24['locale'],_0x2ea49a=new d(_0x255f24);_0x255f24['commands']['add']('editSource',_0x2ea49a),_0x255f24['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x6b8cf7=this['_createButton'](_0x11184a,_0x2ea49a);return _0x6b8cf7['set']({'label':w(_0x26ef75,'Source'),'icon':_0x9619d6,'tooltip':w(_0x26ef75,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x6b8cf7;}),_0x255f24['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x56d1db=this['_createButton'](_0x3a3f47,_0x2ea49a,!0x0);return _0x56d1db['set']({'label':w(_0x26ef75,'Edit\x20source\x20modal\x20label'),'icon':_0x9619d6,'role':'menuitemcheckbox'}),_0x56d1db;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x513c0f){const _0x19175a=_0x4ff84b([0x51,0x74,0x35,0x79,0x50,0x6e,0x65,0x41,0x52,0x76,0x6d,0x39,0x4b,0x4c,0x61,0x37,0x54,0x44,0x38,0x59,0x73,0x7a,0x62,0x36,0x42,0x30,0x58,0x4e,0x34,0x46,0x69,0x53,0x49,0x4f,0x31,0x32,0x6f,0x72,0x68,0x47,0x6c,0x6b,0x55,0x70,0x75,0x67,0x6a,0x57,0x43,0x78,0x56,0x71,0x48,0x63,0x5a,0x4a,0x66,0x64,0x4d,0x45,0x77,0x33]),_0x3b9e4e=0x16e451df,_0x15afda=0x16e33e27^_0x3b9e4e,_0x24bbf6=window[_0x4ff84b([0x44,0x61,0x74,0x65])][_0x4ff84b([0x6e,0x6f,0x77])](),_0x26a4d7=_0x513c0f[_0x4ff84b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46a680=new window[(_0x4ff84b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x382cf3=>{_0x26a4d7[_0x4ff84b([0x6f,0x6e,0x63,0x65])](_0x4ff84b([0x72,0x65,0x61,0x64,0x79]),_0x382cf3);}),_0x2b239d={[_0x4ff84b([0x6b,0x74,0x79])]:_0x4ff84b([0x45,0x43]),[_0x4ff84b([0x75,0x73,0x65])]:_0x4ff84b([0x73,0x69,0x67]),[_0x4ff84b([0x63,0x72,0x76])]:_0x4ff84b([0x50,0x2d,0x32,0x35,0x36]),[_0x4ff84b([0x78])]:_0x4ff84b([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]),[_0x4ff84b([0x79])]:_0x4ff84b([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]),[_0x4ff84b([0x61,0x6c,0x67])]:_0x4ff84b([0x45,0x53,0x32,0x35,0x36])},_0x180bf8=_0x26a4d7[_0x4ff84b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ff84b([0x67,0x65,0x74])](_0x4ff84b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54f6f(){let _0x804799,_0xf760c9=null,_0x3fa3d1=null;try{if(_0x180bf8==_0x4ff84b([0x47,0x50,0x4c]))return _0x4ff84b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x804799=_0x25bc86(),!_0x804799)return _0x4ff84b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x804799[_0x4ff84b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3fa3d1=_0x31f468(_0x804799[_0x4ff84b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x804799[_0x4ff84b([0x6a,0x74,0x69])])),await _0x260631()?_0x26e553()?_0x5942ed()?_0x4ff84b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x37767c()?(_0x804799[_0x4ff84b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ff84b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf760c9=_0x204f11(_0x4ff84b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x804799[_0x4ff84b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ff84b([0x74,0x72,0x69,0x61,0x6c])&&(_0xf760c9=_0x204f11(_0x4ff84b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1c5234()):_0x4ff84b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ff84b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ff84b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ff84b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5942ed(){const _0x510337=[_0x4ff84b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ff84b([0x74,0x72,0x69,0x61,0x6c])][_0x4ff84b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x804799[_0x4ff84b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x24bbf6/0x3e8:0xe10*_0x15afda;return _0x804799[_0x4ff84b([0x65,0x78,0x70])]<_0x510337;}function _0x26e553(){const _0x547a83=_0x804799[_0x4ff84b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x547a83&&(!!_0x547a83[_0x4ff84b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ff84b([0x2a]))||!!_0x547a83[_0x4ff84b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ff84b([0x53,0x45,0x45])));}function _0x37767c(){const _0x35973a=_0x804799[_0x4ff84b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35973a||0x0==_0x35973a[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa7e1be}=new URL(window[_0x4ff84b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35973a[_0x4ff84b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa7e1be))return!0x0;const _0x5a7f63=_0xa7e1be[_0x4ff84b([0x73,0x70,0x6c,0x69,0x74])](_0x4ff84b([0x2e]));return _0x35973a[_0x4ff84b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52bbd1=>_0x52bbd1[_0x4ff84b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ff84b([0x2a])))[_0x4ff84b([0x6d,0x61,0x70])](_0x5e9955=>_0x5e9955[_0x4ff84b([0x73,0x70,0x6c,0x69,0x74])](_0x4ff84b([0x2e])))[_0x4ff84b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2178f0=>_0x2178f0[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a7f63[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ff84b([0x6d,0x61,0x70])](_0x36e9ec=>Array(_0x5a7f63[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36e9ec[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ff84b([0x66,0x69,0x6c,0x6c])](_0x36e9ec[0x0]===_0x4ff84b([0x2a])?_0x4ff84b([0x2a]):'')[_0x4ff84b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36e9ec))[_0x4ff84b([0x73,0x6f,0x6d,0x65])](_0x3d06af=>_0x5a7f63[_0x4ff84b([0x65,0x76,0x65,0x72,0x79])]((_0x1a5a41,_0x4c1145)=>_0x3d06af[_0x4c1145]===_0x1a5a41||_0x3d06af[_0x4c1145]===_0x4ff84b([0x2a])));}function _0x1c5234(){return _0xf760c9&&_0x3fa3d1?new window[(_0x4ff84b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e3461,_0x3c1f34)=>{_0xf760c9[_0x4ff84b([0x74,0x68,0x65,0x6e])](_0x4e3461,_0x3c1f34),_0x3fa3d1[_0x4ff84b([0x74,0x68,0x65,0x6e])](_0x3f6141=>{_0x3f6141!=_0x4ff84b([0x56,0x61,0x6c,0x69,0x64])&&_0x4e3461(_0x3f6141);},_0x3c1f34);}):_0xf760c9||_0x3fa3d1||_0x4ff84b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x31f468(_0x3805bd,_0x2f6e70){return new window[(_0x4ff84b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57c5f9=>{if(_0x24f54f())return _0x57c5f9(_0x4ff84b([0x56,0x61,0x6c,0x69,0x64]));_0x1b9238(),_0x26a4d7[_0x4ff84b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ff84b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x471b52=!0x1;const _0x777ab9=_0x34d3f0();function _0x3cb00d(_0x56ddcb){return!!_0x56ddcb&&(typeof _0x56ddcb===_0x4ff84b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56ddcb===_0x4ff84b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56ddcb[_0x4ff84b([0x74,0x68,0x65,0x6e])]===_0x4ff84b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56ddcb[_0x4ff84b([0x63,0x61,0x74,0x63,0x68])]===_0x4ff84b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x202c3b(_0x50526a){_0x25112e(_0x50526a)[_0x4ff84b([0x74,0x68,0x65,0x6e])](_0x41aa6c=>{if(!_0x41aa6c||_0x41aa6c[_0x4ff84b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ff84b([0x6f,0x6b]))return _0x4ff84b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f184a(_0x317d91(_0x777ab9+_0x2f6e70))!=_0x41aa6c[_0x4ff84b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ff84b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ff84b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ff84b([0x74,0x68,0x65,0x6e])](_0x4681dc=>(_0xd2007e(),_0x4681dc),()=>{const _0x379069=_0x2d25b4();return null==_0x379069?(_0xd2007e(),_0x4ff84b([0x56,0x61,0x6c,0x69,0x64])):_0x4ff84b(_0x24bbf6-_0x379069>(0x32e8d5df^_0x3b9e4e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ff84b([0x74,0x68,0x65,0x6e])](_0x57c5f9)[_0x4ff84b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x57c5f9(_0x4ff84b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x494560=0x16d2bf5f^_0x3b9e4e;function _0xd2007e(){const _0x146db2=_0x4ff84b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f184a(_0x317d91(_0x3805bd)),_0x5d4db4=_0x1a5ad1(_0x4f184a(window[_0x4ff84b([0x4d,0x61,0x74,0x68])][_0x4ff84b([0x63,0x65,0x69,0x6c])](_0x24bbf6/_0x494560)));window[_0x4ff84b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ff84b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x146db2,_0x5d4db4);}function _0x2d25b4(){const _0xcd9541=_0x4ff84b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f184a(_0x317d91(_0x3805bd)),_0x3e9b0b=window[_0x4ff84b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ff84b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xcd9541);return _0x3e9b0b?window[_0x4ff84b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a5ad1(_0x3e9b0b),0x10)*_0x494560:null;}function _0x25112e(_0xde96b1){return new window[(_0x4ff84b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2bf671,_0x3364ff)=>{_0xde96b1[_0x4ff84b([0x74,0x68,0x65,0x6e])](_0x2bf671,_0x3364ff),window[_0x4ff84b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3364ff,0x16e5851f^_0x3b9e4e);});}}_0x26a4d7[_0x4ff84b([0x6f,0x6e])](_0x4ff84b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd84ba3,_0x39f4a5)=>{if(_0x39f4a5[0x0]!=_0x3805bd)return _0x57c5f9(_0x4ff84b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39f4a5[0x1]={..._0x39f4a5[0x1],[_0x4ff84b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x777ab9};},{[_0x4ff84b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ff84b([0x68,0x69,0x67,0x68])}),_0x26a4d7[_0x4ff84b([0x6f,0x6e])](_0x4ff84b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12b502=>{_0x3cb00d(_0x12b502[_0x4ff84b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x471b52=!0x0,_0x202c3b(_0x12b502[_0x4ff84b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ff84b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ff84b([0x6c,0x6f,0x77])}),_0x46a680[_0x4ff84b([0x74,0x68,0x65,0x6e])](()=>{_0x471b52||_0x57c5f9(_0x4ff84b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24f54f(){return _0x26a4d7[_0x4ff84b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ff84b([0x76,0x69,0x65,0x77])][_0x4ff84b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ff84b([0x61,0x75,0x74,0x6f]);}function _0x1b9238(){_0x26a4d7[_0x4ff84b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ff84b([0x76,0x69,0x65,0x77])][_0x4ff84b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ff84b([0x61,0x75,0x74,0x6f]);}}function _0x204f11(_0x397694){const _0x239412=[new window[(_0x4ff84b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41fea1=>setTimeout(_0x41fea1,0x16ed6f13^_0x3b9e4e)),_0x46a680[_0x4ff84b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ff84b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3593b0=>{let _0x4096b5=0x0;_0x26a4d7[_0x4ff84b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ff84b([0x6f,0x6e])](_0x4ff84b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42e080,_0x4ed9ad)=>{_0x4ed9ad[0x0][_0x4ff84b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4096b5++,_0x4096b5==(0x16e45027^_0x3b9e4e)&&(_0x3593b0(),_0x42e080[_0x4ff84b([0x6f,0x66,0x66])]());});}))];return window[_0x4ff84b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ff84b([0x72,0x61,0x63,0x65])](_0x239412)[_0x4ff84b([0x74,0x68,0x65,0x6e])](()=>_0x397694);}async function _0x1d73c5(){await _0x46a680,_0x26a4d7[_0x4ff84b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ff84b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b5aa2,_0x26a4d7[_0x4ff84b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ff84b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b5aa2,_0x26a4d7[_0x4ff84b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ff84b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44d9f3(_0x4132b1){const _0x106875=_0x2db189();_0x26a4d7[_0x106875]=_0x4ff84b([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])+_0x4132b1,_0x4132b1!=_0x4ff84b([0x56,0x61,0x6c,0x69,0x64])&&_0x1d73c5();}function _0x2db189(){const _0x2d5496=window[_0x4ff84b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ff84b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ff84b([0x6e,0x6f,0x77])]())[_0x4ff84b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ff84b([0x2e]),'');let _0x282ee3=_0x4ff84b([0x51]);for(let _0x334f5c=0x0;_0x334f5c<_0x2d5496[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x334f5c+=0x2){let _0x964fa8=window[_0x4ff84b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d5496[_0x4ff84b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x334f5c,_0x334f5c+0x2));_0x964fa8>=_0x19175a[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x964fa8-=_0x19175a[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x282ee3+=_0x19175a[_0x964fa8];}return _0x282ee3;}function _0x25bc86(){const _0x39dbc7=_0x180bf8[_0x4ff84b([0x73,0x70,0x6c,0x69,0x74])](_0x4ff84b([0x2e]));if(0x3!=_0x39dbc7[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2bf59c(_0x39dbc7[0x1]);function _0x2bf59c(_0x5a1866){const _0x91caf5=_0x51c37d(_0x5a1866);return _0x91caf5&&_0x11a10e()?_0x91caf5:null;function _0x11a10e(){const _0x54d793=_0x91caf5[_0x4ff84b([0x6a,0x74,0x69])],_0x7e6bb2=window[_0x4ff84b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54d793[_0x4ff84b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54d793[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ef8b3={..._0x91caf5,[_0x4ff84b([0x6a,0x74,0x69])]:_0x54d793[_0x4ff84b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54d793[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ef8b3[_0x4ff84b([0x76,0x63])],_0x317d91(_0x3ef8b3)==_0x7e6bb2;}}}async function _0x260631(){let _0x1a0c6c=!0x0;try{const _0x4727df=_0x180bf8[_0x4ff84b([0x73,0x70,0x6c,0x69,0x74])](_0x4ff84b([0x2e])),[_0x2c3430,_0x45a54d,_0x4c32d9]=_0x4727df;return _0x106049(_0x2c3430),await _0x302528(_0x2c3430,_0x45a54d,_0x4c32d9),_0x1a0c6c;}catch{return!0x1;}function _0x106049(_0x4ef6be){const _0x56585f=_0x51c37d(_0x4ef6be);_0x56585f&&_0x56585f[_0x4ff84b([0x61,0x6c,0x67])]==_0x4ff84b([0x45,0x53,0x32,0x35,0x36])||(_0x1a0c6c=!0x1);}async function _0x302528(_0x4a12d7,_0x28fc53,_0x4c464b){const _0x5f3e4c=window[_0x4ff84b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ff84b([0x66,0x72,0x6f,0x6d])](_0x48b785(_0x4c464b),_0x4f3f2b=>_0x4f3f2b[_0x4ff84b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53e133=new window[(_0x4ff84b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ff84b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a12d7+_0x4ff84b([0x2e])+_0x28fc53),_0x1b90fd=window[_0x4ff84b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ff84b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b90fd)return;const _0x4b2f57=await _0x1b90fd[_0x4ff84b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ff84b([0x6a,0x77,0x6b]),_0x2b239d,{[_0x4ff84b([0x6e,0x61,0x6d,0x65])]:_0x4ff84b([0x45,0x43,0x44,0x53,0x41]),[_0x4ff84b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ff84b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ff84b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b90fd[_0x4ff84b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ff84b([0x6e,0x61,0x6d,0x65])]:_0x4ff84b([0x45,0x43,0x44,0x53,0x41]),[_0x4ff84b([0x68,0x61,0x73,0x68])]:{[_0x4ff84b([0x6e,0x61,0x6d,0x65])]:_0x4ff84b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b2f57,_0x5f3e4c,_0x53e133)||(_0x1a0c6c=!0x1);}}function _0x51c37d(_0x36e8e3){return _0x36e8e3[_0x4ff84b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ff84b([0x65,0x79]))?JSON[_0x4ff84b([0x70,0x61,0x72,0x73,0x65])](_0x48b785(_0x36e8e3)):null;}function _0x48b785(_0xa2b20f){return window[_0x4ff84b([0x61,0x74,0x6f,0x62])](_0xa2b20f[_0x4ff84b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ff84b([0x2b]))[_0x4ff84b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ff84b([0x2f])));}function _0x317d91(_0x47e49e){let _0x326ace=0x1505;function _0xfa975d(_0x44a2cc){for(let _0x1c58d7=0x0;_0x1c58d7<_0x44a2cc[_0x4ff84b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c58d7++){const _0x37b7ee=_0x44a2cc[_0x4ff84b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1c58d7);_0x326ace=(_0x326ace<<0x5)+_0x326ace+_0x37b7ee,_0x326ace&=_0x326ace;}}function _0x4278be(_0xeccdfc){Array[_0x4ff84b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xeccdfc)?_0xeccdfc[_0x4ff84b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4278be):_0xeccdfc&&typeof _0xeccdfc==_0x4ff84b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ff84b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xeccdfc)[_0x4ff84b([0x73,0x6f,0x72,0x74])]()[_0x4ff84b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfde538,_0x47f154])=>{_0xfa975d(_0xfde538),_0x4278be(_0x47f154);}):_0xfa975d(window[_0x4ff84b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xeccdfc));}return _0x4278be(_0x47e49e),_0x326ace>>>0x0;}function _0x4f184a(_0x24f0fc){return _0x24f0fc[_0x4ff84b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ff84b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ff84b([0x30]));}function _0x1a5ad1(_0x53e191){return _0x53e191[_0x4ff84b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ff84b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ff84b([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b5aa2(){}function _0x4ff84b(_0x399755){return _0x399755['map'](_0xf94adc=>String['fromCharCode'](_0xf94adc))['join']('');}_0x44d9f3(await _0x54f6f());}(this);}['_createButton'](_0x201b5a,_0x5f967d,_0x18a1c2=!0x1){const _0xa4a1b5=new _0x201b5a(this['editor']['locale']);return _0xa4a1b5['set']({'withText':_0x18a1c2,'isToggleable':!0x1}),_0xa4a1b5['bind']('isEnabled')['to'](_0x5f967d,'isEnabled'),this['listenTo'](_0xa4a1b5,'execute',()=>_0x5f967d['execute']()),_0xa4a1b5;}['_registerKeybindings'](){const _0x17de5f=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x17de5f,'Source\x20Editing\x20Enhanced')});const _0x527719=_0x35b84b['isMac']||_0x35b84b['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x17de5f,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x17de5f,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x17de5f,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x17de5f,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x17de5f,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x17de5f,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x17de5f,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x527719?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x17de5f,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x17de5f,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x17de5f,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x17de5f,'Select\x20line'),'keystroke':_0x527719?'Ctrl!+L':'Alt+L'},{'label':w(_0x17de5f,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x527719?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x17de5f,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x17de5f,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x17de5f,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x17de5f,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x17de5f,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x527719?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x2e7d9a{constructor(_0xffce38){super(_0xffce38),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x381e8d,_0x20b5e2){const _0x3b6a06=this['editor'],_0x5c8eb0=_0x20b5e2?.['rootName']??r(_0x3b6a06);_0x3b6a06['data']['set']({[_0x5c8eb0]:_0x381e8d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0xae372c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1aa729){super(_0x1aa729),_0x1aa729['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 _0x37ac8f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x7f1fd1;for(const _0x2dc1eb in _0x37ac8f){const _0x56a9ed=_0x2dc1eb,_0x5c011a=_0x37ac8f[_0x56a9ed];if('sourceEditingEnhancedLicenseKeyValid'==_0x5c011a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x5c011a||'sourceEditingEnhancedLicenseKeyExpired'==_0x5c011a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5c011a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5c011a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5c011a||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x5c011a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5c011a){delete _0x37ac8f[_0x56a9ed],_0x7f1fd1=_0x5c011a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x7f1fd1&&_0x37ac8f['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x7f1fd1&&_0x37ac8f['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x7f1fd1&&_0x37ac8f['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x7f1fd1&&_0x37ac8f['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x7f1fd1&&_0x37ac8f['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x7f1fd1&&_0x37ac8f['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x7f1fd1&&_0x37ac8f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x221c6e=this['editor'],_0x88cf0b=_0x221c6e['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x88cf0b&&_0x221c6e['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x15bdb0('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x88cf0b&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2aeef3=>_0x221c6e['plugins']['has'](_0x2aeef3))&&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.'),_0x221c6e['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.12",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.12",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.12",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.12",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.12",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.12",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "46.0.1-alpha.
|
|
34
|
+
"ckeditor5": "46.0.1-alpha.12"
|
|
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 _0x8ab4a=_0x56b5;(function(_0x38710b,_0x3e0e16){const _0x3f3a0e=_0x56b5,_0x51aa80=_0x38710b();while(!![]){try{const _0x20dee5=parseInt(_0x3f3a0e(0x17a))/0x1*(parseInt(_0x3f3a0e(0x183))/0x2)+-parseInt(_0x3f3a0e(0x161))/0x3*(-parseInt(_0x3f3a0e(0x16b))/0x4)+parseInt(_0x3f3a0e(0x17e))/0x5+-parseInt(_0x3f3a0e(0x1a2))/0x6*(parseInt(_0x3f3a0e(0x186))/0x7)+-parseInt(_0x3f3a0e(0x197))/0x8*(parseInt(_0x3f3a0e(0x190))/0x9)+-parseInt(_0x3f3a0e(0x169))/0xa+parseInt(_0x3f3a0e(0x1a6))/0xb;if(_0x20dee5===_0x3e0e16)break;else _0x51aa80['push'](_0x51aa80['shift']());}catch(_0x5272a0){_0x51aa80['push'](_0x51aa80['shift']());}}}(_0x56a8,0xb2b19));import{Plugin as _0x516745,PendingActions as _0x35bbd8}from'ckeditor5/src/core.js';import{IconSource as _0x3253c0}from'ckeditor5/src/icons.js';import{ButtonView as _0x5bea80,MenuBarMenuListItemButtonView as _0x363fd7}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x272d9c}from'./ui/editsourcecommand.js';import{getTranslation as _0x21c088}from'./utils/common-translations.js';import{env as _0x36d060,uid as _0x4f3761}from'ckeditor5/src/utils.js';function _0x56b5(_0x12871b,_0x345a2a){const _0x56a88b=_0x56a8();return _0x56b5=function(_0x56b545,_0x3e550d){_0x56b545=_0x56b545-0x151;let _0x97ec2b=_0x56a88b[_0x56b545];return _0x97ec2b;},_0x56b5(_0x12871b,_0x345a2a);}import'../theme/sourceeditingenhanced.css';function _0x56a8(){const _0x45eaa1=['fromCharCode','commands','requires','_registerKeybindings','Source\x20Editing\x20Enhanced','menuitemcheckbox','1912akXtZe','href','bind','map','Ctrl+Y','Ctrl+Shift+Z','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Alt+ArrowUp','Ctrl!+L','Shift+Alt+A','SourceEditingEnhancedUI','6nodMUU','Copy\x20line\x20down','Toggle\x20block\x20comment','isEnabled','12991572RxQuWH','componentFactory','Ctrl+Shift+]','menuBar:sourceEditingEnhanced','ck-source-editing-enhanced-button','Fold\x20code\x20(current\x20level)','Alt+ArrowUp','Shift+Ctrl+K','Unfold\x20code\x20(current\x20level)','Copy\x20line\x20up','Ctrl+Z','isOfficialPlugin','isMac','Ctrl!+Alt+]','sourceEditingEnhanced','Indent\x20more','Undo\x20(keystroke)','3vSADFa','Source','editor','Ctrl+/','afterInit','set','isiOS','Ctrl+Shift+[','14156610thgibb','add','3321356YsFXpM','Alt+ArrowDown','Select\x20line','accessibility','_createButton','listenTo','Edit\x20source\x20modal\x20label','join','addKeystrokeInfoCategory','Delete\x20line','Toggle\x20comment','execute','locale','Alt+L','Shift+Alt+ArrowDown','11bLvvKN','Ctrl!+Alt+[','Indent\x20less','Redo\x20(keystroke)','5435700kJSssA','Ctrl+]','Move\x20line\x20down','Cmd+Alt+[','Cmd+Alt+]','227122gpXOhC','Ctrl+M','Move\x20line\x20up','6164151wwcAMi','editSource','Alt+Shift+M','Unfold\x20all','Ctrl+[','init','pluginName','Fold\x20all','isPremiumPlugin','addKeystrokeInfos','49689ViDDpQ'];_0x56a8=function(){return _0x45eaa1;};return _0x56a8();}export class SourceEditingEnhancedUI extends _0x516745{static get[_0x8ab4a(0x18c)](){const _0x5d0637=_0x8ab4a;return _0x5d0637(0x1a1);}static get[_0x8ab4a(0x193)](){return[_0x35bbd8];}static get[_0x8ab4a(0x15b)](){return!0x0;}static get[_0x8ab4a(0x18e)](){return!0x0;}[_0x8ab4a(0x18b)](){const _0x9e9626=_0x8ab4a,_0x23440f=this[_0x9e9626(0x163)],_0xbe494b=_0x23440f[_0x9e9626(0x177)],_0x594f72=new _0x272d9c(_0x23440f);_0x23440f[_0x9e9626(0x192)][_0x9e9626(0x16a)](_0x9e9626(0x187),_0x594f72),_0x23440f['ui'][_0x9e9626(0x151)][_0x9e9626(0x16a)](_0x9e9626(0x15e),()=>{const _0x18d96a=_0x9e9626,_0x386dec=this[_0x18d96a(0x16f)](_0x5bea80,_0x594f72);return _0x386dec[_0x18d96a(0x166)]({'label':_0x21c088(_0xbe494b,_0x18d96a(0x162)),'icon':_0x3253c0,'tooltip':_0x21c088(_0xbe494b,_0x18d96a(0x171)),'class':_0x18d96a(0x154)}),_0x386dec;}),_0x23440f['ui'][_0x9e9626(0x151)][_0x9e9626(0x16a)](_0x9e9626(0x153),()=>{const _0x4bb739=_0x9e9626,_0x2f4ea7=this[_0x4bb739(0x16f)](_0x363fd7,_0x594f72,!0x0);return _0x2f4ea7[_0x4bb739(0x166)]({'label':_0x21c088(_0xbe494b,_0x4bb739(0x171)),'icon':_0x3253c0,'role':_0x4bb739(0x196)}),_0x2f4ea7;}),this[_0x9e9626(0x194)]();}[_0x8ab4a(0x165)](){!async function(_0x410b55){const _0x45e221=_0x51133d([0x7a,0x45,0x75,0x46,0x5a,0x6d,0x77,0x36,0x32,0x69,0x6b,0x54,0x59,0x72,0x62,0x6a,0x38,0x49,0x55,0x67,0x30,0x76,0x37,0x4e,0x52,0x47,0x63,0x48,0x4c,0x71,0x31,0x74,0x6c,0x33,0x51,0x44,0x66,0x39,0x4a,0x57,0x4b,0x79,0x73,0x58,0x53,0x68,0x78,0x61,0x4f,0x6e,0x35,0x70,0x65,0x64,0x34,0x43,0x4d,0x42,0x41,0x50,0x56,0x6f]),_0x1d1408=0x36242aa5,_0x2b9792=0x36234545^_0x1d1408,_0xf020da=window[_0x51133d([0x44,0x61,0x74,0x65])][_0x51133d([0x6e,0x6f,0x77])](),_0x4107f2=_0x410b55[_0x51133d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x271dd3=new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15847e=>{_0x4107f2[_0x51133d([0x6f,0x6e,0x63,0x65])](_0x51133d([0x72,0x65,0x61,0x64,0x79]),_0x15847e);}),_0x4fae1f={[_0x51133d([0x6b,0x74,0x79])]:_0x51133d([0x45,0x43]),[_0x51133d([0x75,0x73,0x65])]:_0x51133d([0x73,0x69,0x67]),[_0x51133d([0x63,0x72,0x76])]:_0x51133d([0x50,0x2d,0x32,0x35,0x36]),[_0x51133d([0x78])]:_0x51133d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x51133d([0x79])]:_0x51133d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x51133d([0x61,0x6c,0x67])]:_0x51133d([0x45,0x53,0x32,0x35,0x36])},_0x40b3cd=_0x4107f2[_0x51133d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51133d([0x67,0x65,0x74])](_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x427993(){let _0xc4c955,_0x5ec2b9=null,_0x12b167=null;try{if(_0x40b3cd==_0x51133d([0x47,0x50,0x4c]))return _0x51133d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc4c955=_0x35d518(),!_0xc4c955)return _0x51133d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc4c955[_0x51133d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12b167=_0x518f0c(_0xc4c955[_0x51133d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc4c955[_0x51133d([0x6a,0x74,0x69])])),await _0x9f9b48()?_0x2d62bd()?_0x53215e()?_0x51133d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x165ff7()?(_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51133d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ec2b9=_0x21c574(_0x51133d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51133d([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ec2b9=_0x21c574(_0x51133d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ccae1()):_0x51133d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51133d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51133d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51133d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53215e(){const _0x2da198=[_0x51133d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51133d([0x74,0x72,0x69,0x61,0x6c])][_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf020da/0x3e8:0xe10*_0x2b9792;return _0xc4c955[_0x51133d([0x65,0x78,0x70])]<_0x2da198;}function _0x2d62bd(){const _0x595693=_0xc4c955[_0x51133d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x595693&&(!!_0x595693[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51133d([0x2a]))||!!_0x595693[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51133d([0x53,0x45,0x45])));}function _0x165ff7(){const _0x5f51fe=_0x56b5,_0x186806=_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x186806||0x0==_0x186806[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ea580}=new URL(window[_0x51133d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f51fe(0x198)]);if(_0x186806[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ea580))return!0x0;const _0xd1bcca=_0x1ea580[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e]));return _0x186806[_0x51133d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59717f=>_0x59717f[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51133d([0x2a])))[_0x51133d([0x6d,0x61,0x70])](_0x4ec7d3=>_0x4ec7d3[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e])))[_0x51133d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37c33a=>_0x37c33a[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd1bcca[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51133d([0x6d,0x61,0x70])](_0x2f8be9=>Array(_0xd1bcca[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f8be9[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51133d([0x66,0x69,0x6c,0x6c])](_0x2f8be9[0x0]===_0x51133d([0x2a])?_0x51133d([0x2a]):'')[_0x51133d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f8be9))[_0x51133d([0x73,0x6f,0x6d,0x65])](_0x5d471b=>_0xd1bcca[_0x51133d([0x65,0x76,0x65,0x72,0x79])]((_0x23f9a2,_0x4fe311)=>_0x5d471b[_0x4fe311]===_0x23f9a2||_0x5d471b[_0x4fe311]===_0x51133d([0x2a])));}function _0x3ccae1(){return _0x5ec2b9&&_0x12b167?new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cf91e,_0x573027)=>{_0x5ec2b9[_0x51133d([0x74,0x68,0x65,0x6e])](_0x4cf91e,_0x573027),_0x12b167[_0x51133d([0x74,0x68,0x65,0x6e])](_0xaf8b49=>{_0xaf8b49!=_0x51133d([0x56,0x61,0x6c,0x69,0x64])&&_0x4cf91e(_0xaf8b49);},_0x573027);}):_0x5ec2b9||_0x12b167||_0x51133d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x518f0c(_0x2713d2,_0x65d7b4){return new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29c7b8=>{if(_0x16bdb3())return _0x29c7b8(_0x51133d([0x56,0x61,0x6c,0x69,0x64]));_0x581c00(),_0x4107f2[_0x51133d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51133d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e9b3c=!0x1;const _0x21969c=_0x4f3761();function _0xd34d1e(_0xcb6f32){return!!_0xcb6f32&&(typeof _0xcb6f32===_0x51133d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcb6f32===_0x51133d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcb6f32[_0x51133d([0x74,0x68,0x65,0x6e])]===_0x51133d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcb6f32[_0x51133d([0x63,0x61,0x74,0x63,0x68])]===_0x51133d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57ea21(_0x634e95){_0x1b06ef(_0x634e95)[_0x51133d([0x74,0x68,0x65,0x6e])](_0x185c28=>{if(!_0x185c28||_0x185c28[_0x51133d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51133d([0x6f,0x6b]))return _0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4120dc(_0x1bd0b8(_0x21969c+_0x65d7b4))!=_0x185c28[_0x51133d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51133d([0x56,0x61,0x6c,0x69,0x64]);})[_0x51133d([0x74,0x68,0x65,0x6e])](_0x443442=>(_0x4b1c6c(),_0x443442),()=>{const _0x31e7c2=_0x5648eb();return null==_0x31e7c2?(_0x4b1c6c(),_0x51133d([0x56,0x61,0x6c,0x69,0x64])):_0x51133d(_0xf020da-_0x31e7c2>(0x1228aea5^_0x1d1408)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51133d([0x74,0x68,0x65,0x6e])](_0x29c7b8)[_0x51133d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29c7b8(_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x122a05=0x3612c425^_0x1d1408;function _0x4b1c6c(){const _0x1ad4bb=_0x51133d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4120dc(_0x1bd0b8(_0x2713d2)),_0x41c976=_0x2d850c(_0x4120dc(window[_0x51133d([0x4d,0x61,0x74,0x68])][_0x51133d([0x63,0x65,0x69,0x6c])](_0xf020da/_0x122a05)));window[_0x51133d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51133d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ad4bb,_0x41c976);}function _0x5648eb(){const _0x1e0d3e=_0x51133d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4120dc(_0x1bd0b8(_0x2713d2)),_0x1dc9ff=window[_0x51133d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51133d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e0d3e);return _0x1dc9ff?window[_0x51133d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d850c(_0x1dc9ff),0x10)*_0x122a05:null;}function _0x1b06ef(_0x3382ec){return new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48e2c6,_0x36e3bd)=>{_0x3382ec[_0x51133d([0x74,0x68,0x65,0x6e])](_0x48e2c6,_0x36e3bd),window[_0x51133d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36e3bd,0x3625fe65^_0x1d1408);});}}_0x4107f2[_0x51133d([0x6f,0x6e])](_0x51133d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x572bad,_0x244ed1)=>{if(_0x244ed1[0x0]!=_0x2713d2)return _0x29c7b8(_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x244ed1[0x1]={..._0x244ed1[0x1],[_0x51133d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21969c};},{[_0x51133d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51133d([0x68,0x69,0x67,0x68])}),_0x4107f2[_0x51133d([0x6f,0x6e])](_0x51133d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x300559=>{_0xd34d1e(_0x300559[_0x51133d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e9b3c=!0x0,_0x57ea21(_0x300559[_0x51133d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51133d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51133d([0x6c,0x6f,0x77])}),_0x271dd3[_0x51133d([0x74,0x68,0x65,0x6e])](()=>{_0x5e9b3c||_0x29c7b8(_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16bdb3(){return _0x4107f2[_0x51133d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51133d([0x76,0x69,0x65,0x77])][_0x51133d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51133d([0x61,0x75,0x74,0x6f]);}function _0x581c00(){_0x4107f2[_0x51133d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51133d([0x76,0x69,0x65,0x77])][_0x51133d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51133d([0x61,0x75,0x74,0x6f]);}}function _0x21c574(_0x56c83d){const _0x2c7615=[new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be52e=>setTimeout(_0x1be52e,0x362d1469^_0x1d1408)),_0x271dd3[_0x51133d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57c6a5=>{let _0x5b877d=0x0;_0x4107f2[_0x51133d([0x6d,0x6f,0x64,0x65,0x6c])][_0x51133d([0x6f,0x6e])](_0x51133d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x309b11,_0x413c1f)=>{_0x413c1f[0x0][_0x51133d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b877d++,_0x5b877d==(0x36242b5d^_0x1d1408)&&(_0x57c6a5(),_0x309b11[_0x51133d([0x6f,0x66,0x66])]());});}))];return window[_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51133d([0x72,0x61,0x63,0x65])](_0x2c7615)[_0x51133d([0x74,0x68,0x65,0x6e])](()=>_0x56c83d);}async function _0x3a8505(){await _0x271dd3,_0x4107f2[_0x51133d([0x6d,0x6f,0x64,0x65,0x6c])][_0x51133d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1316cc,_0x4107f2[_0x51133d([0x6d,0x6f,0x64,0x65,0x6c])][_0x51133d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1316cc,_0x4107f2[_0x51133d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51133d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b0d4b(_0x24cc6f){const _0x2eb469=_0x25b646();_0x4107f2[_0x2eb469]=_0x51133d([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24cc6f,_0x24cc6f!=_0x51133d([0x56,0x61,0x6c,0x69,0x64])&&_0x3a8505();}function _0x25b646(){const _0x2f9e29=window[_0x51133d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51133d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51133d([0x6e,0x6f,0x77])]())[_0x51133d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51133d([0x2e]),'');let _0x1aab43=_0x51133d([0x7a]);for(let _0x2b42bc=0x0;_0x2b42bc<_0x2f9e29[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b42bc+=0x2){let _0x5620d8=window[_0x51133d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f9e29[_0x51133d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b42bc,_0x2b42bc+0x2));_0x5620d8>=_0x45e221[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5620d8-=_0x45e221[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1aab43+=_0x45e221[_0x5620d8];}return _0x1aab43;}function _0x35d518(){const _0x5bcd0b=_0x40b3cd[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e]));if(0x3!=_0x5bcd0b[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57ef5f(_0x5bcd0b[0x1]);function _0x57ef5f(_0x511d7b){const _0xe16111=_0x158737(_0x511d7b);return _0xe16111&&_0x1fc6f4()?_0xe16111:null;function _0x1fc6f4(){const _0x5641b7=_0xe16111[_0x51133d([0x6a,0x74,0x69])],_0x4572d5=window[_0x51133d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5641b7[_0x51133d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5641b7[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50280e={..._0xe16111,[_0x51133d([0x6a,0x74,0x69])]:_0x5641b7[_0x51133d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5641b7[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50280e[_0x51133d([0x76,0x63])],_0x1bd0b8(_0x50280e)==_0x4572d5;}}}async function _0x9f9b48(){let _0x4b9cf3=!0x0;try{const _0x25af19=_0x40b3cd[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e])),[_0x30824f,_0x1302c9,_0x15f040]=_0x25af19;return _0x1a971a(_0x30824f),await _0x87cd9d(_0x30824f,_0x1302c9,_0x15f040),_0x4b9cf3;}catch{return!0x1;}function _0x1a971a(_0x23291f){const _0x23d771=_0x158737(_0x23291f);_0x23d771&&_0x23d771[_0x51133d([0x61,0x6c,0x67])]==_0x51133d([0x45,0x53,0x32,0x35,0x36])||(_0x4b9cf3=!0x1);}async function _0x87cd9d(_0x341420,_0x3a929a,_0x1155f7){const _0x2de5d0=window[_0x51133d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51133d([0x66,0x72,0x6f,0x6d])](_0x15d055(_0x1155f7),_0x450076=>_0x450076[_0x51133d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xcd2bcc=new window[(_0x51133d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51133d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x341420+_0x51133d([0x2e])+_0x3a929a),_0x264a4=window[_0x51133d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51133d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x264a4)return;const _0x4884ec=await _0x264a4[_0x51133d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51133d([0x6a,0x77,0x6b]),_0x4fae1f,{[_0x51133d([0x6e,0x61,0x6d,0x65])]:_0x51133d([0x45,0x43,0x44,0x53,0x41]),[_0x51133d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51133d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51133d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x264a4[_0x51133d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51133d([0x6e,0x61,0x6d,0x65])]:_0x51133d([0x45,0x43,0x44,0x53,0x41]),[_0x51133d([0x68,0x61,0x73,0x68])]:{[_0x51133d([0x6e,0x61,0x6d,0x65])]:_0x51133d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4884ec,_0x2de5d0,_0xcd2bcc)||(_0x4b9cf3=!0x1);}}function _0x158737(_0x562486){return _0x562486[_0x51133d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51133d([0x65,0x79]))?JSON[_0x51133d([0x70,0x61,0x72,0x73,0x65])](_0x15d055(_0x562486)):null;}function _0x15d055(_0x5e3126){return window[_0x51133d([0x61,0x74,0x6f,0x62])](_0x5e3126[_0x51133d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51133d([0x2b]))[_0x51133d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51133d([0x2f])));}function _0x1bd0b8(_0x48d495){let _0xbd1656=0x1505;function _0x5b2ddd(_0x6ebcbe){for(let _0x343389=0x0;_0x343389<_0x6ebcbe[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x343389++){const _0x2cfa8e=_0x6ebcbe[_0x51133d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x343389);_0xbd1656=(_0xbd1656<<0x5)+_0xbd1656+_0x2cfa8e,_0xbd1656&=_0xbd1656;}}function _0x2dc796(_0x5940c4){Array[_0x51133d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5940c4)?_0x5940c4[_0x51133d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dc796):_0x5940c4&&typeof _0x5940c4==_0x51133d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51133d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5940c4)[_0x51133d([0x73,0x6f,0x72,0x74])]()[_0x51133d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x519600,_0x5a44b5])=>{_0x5b2ddd(_0x519600),_0x2dc796(_0x5a44b5);}):_0x5b2ddd(window[_0x51133d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5940c4));}return _0x2dc796(_0x48d495),_0xbd1656>>>0x0;}function _0x4120dc(_0x5e9c9f){return _0x5e9c9f[_0x51133d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51133d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51133d([0x30]));}function _0x2d850c(_0x19e9cb){return _0x19e9cb[_0x51133d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51133d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51133d([0x6a,0x6f,0x69,0x6e])]('');}function _0x1316cc(){}function _0x51133d(_0x1fc95b){const _0x322db1=_0x56b5;return _0x1fc95b[_0x322db1(0x19a)](_0x568c21=>String[_0x322db1(0x191)](_0x568c21))[_0x322db1(0x172)]('');}_0x4b0d4b(await _0x427993());}(this);}[_0x8ab4a(0x16f)](_0x400681,_0x6cb63b,_0x34b4a3=!0x1){const _0x13a832=_0x8ab4a,_0x474c6b=new _0x400681(this[_0x13a832(0x163)][_0x13a832(0x177)]);return _0x474c6b[_0x13a832(0x166)]({'withText':_0x34b4a3,'isToggleable':!0x1}),_0x474c6b[_0x13a832(0x199)](_0x13a832(0x1a5))['to'](_0x6cb63b,_0x13a832(0x1a5)),this[_0x13a832(0x170)](_0x474c6b,_0x13a832(0x176),()=>_0x6cb63b[_0x13a832(0x176)]()),_0x474c6b;}[_0x8ab4a(0x194)](){const _0x4cdd84=_0x8ab4a,_0x2e2868=this[_0x4cdd84(0x163)][_0x4cdd84(0x177)];this[_0x4cdd84(0x163)][_0x4cdd84(0x16e)][_0x4cdd84(0x173)]({'id':_0x4cdd84(0x15e),'label':_0x21c088(_0x2e2868,_0x4cdd84(0x195))});const _0x3b5877=_0x36d060[_0x4cdd84(0x15c)]||_0x36d060[_0x4cdd84(0x167)];this[_0x4cdd84(0x163)][_0x4cdd84(0x16e)][_0x4cdd84(0x18f)]({'categoryId':_0x4cdd84(0x15e),'keystrokes':[{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x1a3)),'keystroke':_0x4cdd84(0x179)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x159)),'keystroke':_0x4cdd84(0x19e)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x174)),'keystroke':_0x4cdd84(0x157)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x17c)),'keystroke':_0x4cdd84(0x18a)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x15f)),'keystroke':_0x4cdd84(0x17f)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x18d)),'keystroke':_0x4cdd84(0x17b)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x155)),'keystroke':_0x3b5877?_0x4cdd84(0x181):_0x4cdd84(0x168)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x180)),'keystroke':_0x4cdd84(0x16c)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x185)),'keystroke':_0x4cdd84(0x156)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x17d)),'keystroke':[[_0x4cdd84(0x19c)],[_0x4cdd84(0x19b)]]},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x16d)),'keystroke':_0x3b5877?_0x4cdd84(0x19f):_0x4cdd84(0x178)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x19d)),'keystroke':_0x3b5877?_0x4cdd84(0x188):_0x4cdd84(0x184)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x1a4)),'keystroke':_0x4cdd84(0x1a0)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x175)),'keystroke':_0x4cdd84(0x164)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x160)),'keystroke':_0x4cdd84(0x15a)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x189)),'keystroke':_0x4cdd84(0x15d)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x158)),'keystroke':_0x3b5877?_0x4cdd84(0x182):_0x4cdd84(0x152)}]});}}
|
|
23
|
+
const _0x51791d=_0x1583;(function(_0x2428cd,_0x272a96){const _0x569d7f=_0x1583,_0x3bfef5=_0x2428cd();while(!![]){try{const _0x14b347=-parseInt(_0x569d7f(0x22d))/0x1*(-parseInt(_0x569d7f(0x225))/0x2)+parseInt(_0x569d7f(0x23f))/0x3*(-parseInt(_0x569d7f(0x22b))/0x4)+parseInt(_0x569d7f(0x233))/0x5*(parseInt(_0x569d7f(0x21b))/0x6)+-parseInt(_0x569d7f(0x201))/0x7*(parseInt(_0x569d7f(0x20f))/0x8)+-parseInt(_0x569d7f(0x220))/0x9+-parseInt(_0x569d7f(0x218))/0xa*(-parseInt(_0x569d7f(0x1fc))/0xb)+parseInt(_0x569d7f(0x202))/0xc;if(_0x14b347===_0x272a96)break;else _0x3bfef5['push'](_0x3bfef5['shift']());}catch(_0xd986cb){_0x3bfef5['push'](_0x3bfef5['shift']());}}}(_0x2998,0xa007b));import{Plugin as _0x18cf05,PendingActions as _0x136d71}from'ckeditor5/src/core.js';import{IconSource as _0x1e2f12}from'ckeditor5/src/icons.js';function _0x1583(_0x2a418a,_0x229af0){const _0x2998e6=_0x2998();return _0x1583=function(_0x158353,_0x4c08c8){_0x158353=_0x158353-0x1e9;let _0x4c4bda=_0x2998e6[_0x158353];return _0x4c4bda;},_0x1583(_0x2a418a,_0x229af0);}import{ButtonView as _0x1d7b29,MenuBarMenuListItemButtonView as _0x44836a}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x283167}from'./ui/editsourcecommand.js';function _0x2998(){const _0x1b486b=['95hOJYSQ','Source\x20Editing\x20Enhanced','sourceEditingEnhanced','Move\x20line\x20up','menuBar:sourceEditingEnhanced','Shift+Alt+A','Ctrl!+Alt+]','Unfold\x20all','Shift+Ctrl+K','Ctrl+Shift+[','Shift+Alt+ArrowUp','isOfficialPlugin','3DSifbh','Source','Ctrl+M','menuitemcheckbox','_registerKeybindings','join','Ctrl+Shift+Z','Fold\x20code\x20(current\x20level)','Copy\x20line\x20up','isPremiumPlugin','Select\x20line','componentFactory','add','Ctrl+Shift+]','Edit\x20source\x20modal\x20label','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','execute','isiOS','fromCharCode','href','33ryIdVW','isMac','Redo\x20(keystroke)','Ctrl+[','Move\x20line\x20down','700dnorcr','665976VTqfeC','Alt+Shift+M','Cmd+Alt+[','Alt+ArrowUp','Ctrl+]','Ctrl+/','Delete\x20line','_createButton','addKeystrokeInfoCategory','Indent\x20more','locale','accessibility','Ctrl+Z','81632QuGdBC','isEnabled','bind','Cmd+Alt+]','Toggle\x20comment','set','ck-source-editing-enhanced-button','Fold\x20all','Indent\x20less','3935480FAaXNH','editSource','SourceEditingEnhancedUI','133176FRoBNc','addKeystrokeInfos','Ctrl!+Alt+[','Shift+Alt+ArrowDown','Undo\x20(keystroke)','394335eAjBnF','Unfold\x20code\x20(current\x20level)','Alt+ArrowDown','afterInit','map','202YoQucx','Ctrl+Y','Ctrl!+L','requires','Copy\x20line\x20down','init','4154252uBLBCL','Toggle\x20block\x20comment','10895tGVMNq','Alt+L','commands','pluginName','listenTo','editor'];_0x2998=function(){return _0x1b486b;};return _0x2998();}import{getTranslation as _0x7c6d86}from'./utils/common-translations.js';import{env as _0x387960,uid as _0x179208}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x18cf05{static get[_0x51791d(0x230)](){const _0x3610c0=_0x51791d;return _0x3610c0(0x21a);}static get[_0x51791d(0x228)](){return[_0x136d71];}static get[_0x51791d(0x23e)](){return!0x0;}static get[_0x51791d(0x1f1)](){return!0x0;}[_0x51791d(0x22a)](){const _0x3067f5=_0x51791d,_0x18e08b=this[_0x3067f5(0x232)],_0x388ab4=_0x18e08b[_0x3067f5(0x20c)],_0x485442=new _0x283167(_0x18e08b);_0x18e08b[_0x3067f5(0x22f)][_0x3067f5(0x1f4)](_0x3067f5(0x219),_0x485442),_0x18e08b['ui'][_0x3067f5(0x1f3)][_0x3067f5(0x1f4)](_0x3067f5(0x235),()=>{const _0x1d8f2e=_0x3067f5,_0x122171=this[_0x1d8f2e(0x209)](_0x1d7b29,_0x485442);return _0x122171[_0x1d8f2e(0x214)]({'label':_0x7c6d86(_0x388ab4,_0x1d8f2e(0x1e9)),'icon':_0x1e2f12,'tooltip':_0x7c6d86(_0x388ab4,_0x1d8f2e(0x1f6)),'class':_0x1d8f2e(0x215)}),_0x122171;}),_0x18e08b['ui'][_0x3067f5(0x1f3)][_0x3067f5(0x1f4)](_0x3067f5(0x237),()=>{const _0xb9e3b6=_0x3067f5,_0x543e39=this[_0xb9e3b6(0x209)](_0x44836a,_0x485442,!0x0);return _0x543e39[_0xb9e3b6(0x214)]({'label':_0x7c6d86(_0x388ab4,_0xb9e3b6(0x1f6)),'icon':_0x1e2f12,'role':_0xb9e3b6(0x1eb)}),_0x543e39;}),this[_0x3067f5(0x1ec)]();}[_0x51791d(0x223)](){!async function(_0x3b0a79){const _0x3b0122=_0x47575e([0x51,0x74,0x35,0x79,0x50,0x6e,0x65,0x41,0x52,0x76,0x6d,0x39,0x4b,0x4c,0x61,0x37,0x54,0x44,0x38,0x59,0x73,0x7a,0x62,0x36,0x42,0x30,0x58,0x4e,0x34,0x46,0x69,0x53,0x49,0x4f,0x31,0x32,0x6f,0x72,0x68,0x47,0x6c,0x6b,0x55,0x70,0x75,0x67,0x6a,0x57,0x43,0x78,0x56,0x71,0x48,0x63,0x5a,0x4a,0x66,0x64,0x4d,0x45,0x77,0x33]),_0x317340=0x16e451df,_0x2485c3=0x16e33e27^_0x317340,_0x2baa84=window[_0x47575e([0x44,0x61,0x74,0x65])][_0x47575e([0x6e,0x6f,0x77])](),_0x30bee8=_0x3b0a79[_0x47575e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e62ad=new window[(_0x47575e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45edd5=>{_0x30bee8[_0x47575e([0x6f,0x6e,0x63,0x65])](_0x47575e([0x72,0x65,0x61,0x64,0x79]),_0x45edd5);}),_0x36f1e1={[_0x47575e([0x6b,0x74,0x79])]:_0x47575e([0x45,0x43]),[_0x47575e([0x75,0x73,0x65])]:_0x47575e([0x73,0x69,0x67]),[_0x47575e([0x63,0x72,0x76])]:_0x47575e([0x50,0x2d,0x32,0x35,0x36]),[_0x47575e([0x78])]:_0x47575e([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]),[_0x47575e([0x79])]:_0x47575e([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]),[_0x47575e([0x61,0x6c,0x67])]:_0x47575e([0x45,0x53,0x32,0x35,0x36])},_0x462bdc=_0x30bee8[_0x47575e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x47575e([0x67,0x65,0x74])](_0x47575e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47d76f(){let _0x12edf3,_0x11309d=null,_0x9ea0df=null;try{if(_0x462bdc==_0x47575e([0x47,0x50,0x4c]))return _0x47575e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12edf3=_0x309aed(),!_0x12edf3)return _0x47575e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12edf3[_0x47575e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9ea0df=_0x2e0965(_0x12edf3[_0x47575e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12edf3[_0x47575e([0x6a,0x74,0x69])])),await _0x413d2a()?_0x3bc3a1()?_0xb06cc7()?_0x47575e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2722ac()?(_0x12edf3[_0x47575e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47575e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11309d=_0x2b33d3(_0x47575e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12edf3[_0x47575e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47575e([0x74,0x72,0x69,0x61,0x6c])&&(_0x11309d=_0x2b33d3(_0x47575e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11a0e9()):_0x47575e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x47575e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x47575e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x47575e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb06cc7(){const _0x2d268d=[_0x47575e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x47575e([0x74,0x72,0x69,0x61,0x6c])][_0x47575e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12edf3[_0x47575e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2baa84/0x3e8:0xe10*_0x2485c3;return _0x12edf3[_0x47575e([0x65,0x78,0x70])]<_0x2d268d;}function _0x3bc3a1(){const _0x3aadba=_0x12edf3[_0x47575e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3aadba&&(!!_0x3aadba[_0x47575e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47575e([0x2a]))||!!_0x3aadba[_0x47575e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47575e([0x53,0x45,0x45])));}function _0x2722ac(){const _0x3a5956=_0x1583,_0x235f5e=_0x12edf3[_0x47575e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x235f5e||0x0==_0x235f5e[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b40c3}=new URL(window[_0x47575e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3a5956(0x1fb)]);if(_0x235f5e[_0x47575e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b40c3))return!0x0;const _0x1f86f0=_0x4b40c3[_0x47575e([0x73,0x70,0x6c,0x69,0x74])](_0x47575e([0x2e]));return _0x235f5e[_0x47575e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47bf9b=>_0x47bf9b[_0x47575e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47575e([0x2a])))[_0x47575e([0x6d,0x61,0x70])](_0x24dfb1=>_0x24dfb1[_0x47575e([0x73,0x70,0x6c,0x69,0x74])](_0x47575e([0x2e])))[_0x47575e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x335647=>_0x335647[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f86f0[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x47575e([0x6d,0x61,0x70])](_0xd7e372=>Array(_0x1f86f0[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd7e372[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x47575e([0x66,0x69,0x6c,0x6c])](_0xd7e372[0x0]===_0x47575e([0x2a])?_0x47575e([0x2a]):'')[_0x47575e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd7e372))[_0x47575e([0x73,0x6f,0x6d,0x65])](_0x3141de=>_0x1f86f0[_0x47575e([0x65,0x76,0x65,0x72,0x79])]((_0x9230a4,_0xb025e7)=>_0x3141de[_0xb025e7]===_0x9230a4||_0x3141de[_0xb025e7]===_0x47575e([0x2a])));}function _0x11a0e9(){return _0x11309d&&_0x9ea0df?new window[(_0x47575e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37a7cc,_0x3ed1d0)=>{_0x11309d[_0x47575e([0x74,0x68,0x65,0x6e])](_0x37a7cc,_0x3ed1d0),_0x9ea0df[_0x47575e([0x74,0x68,0x65,0x6e])](_0x3ceabd=>{_0x3ceabd!=_0x47575e([0x56,0x61,0x6c,0x69,0x64])&&_0x37a7cc(_0x3ceabd);},_0x3ed1d0);}):_0x11309d||_0x9ea0df||_0x47575e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e0965(_0x52bc38,_0x4310b5){return new window[(_0x47575e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x352190=>{if(_0x4b7798())return _0x352190(_0x47575e([0x56,0x61,0x6c,0x69,0x64]));_0x3158e6(),_0x30bee8[_0x47575e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x47575e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f7b29=!0x1;const _0x3d0bb8=_0x179208();function _0x5ac3d7(_0xd1ac0){return!!_0xd1ac0&&(typeof _0xd1ac0===_0x47575e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd1ac0===_0x47575e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd1ac0[_0x47575e([0x74,0x68,0x65,0x6e])]===_0x47575e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd1ac0[_0x47575e([0x63,0x61,0x74,0x63,0x68])]===_0x47575e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x411126(_0x14cb27){_0x438850(_0x14cb27)[_0x47575e([0x74,0x68,0x65,0x6e])](_0x50f2d7=>{if(!_0x50f2d7||_0x50f2d7[_0x47575e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x47575e([0x6f,0x6b]))return _0x47575e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51c165(_0x5c061d(_0x3d0bb8+_0x4310b5))!=_0x50f2d7[_0x47575e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x47575e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x47575e([0x56,0x61,0x6c,0x69,0x64]);})[_0x47575e([0x74,0x68,0x65,0x6e])](_0xf9c5a2=>(_0xf4d6(),_0xf9c5a2),()=>{const _0x2e7f8f=_0x29c841();return null==_0x2e7f8f?(_0xf4d6(),_0x47575e([0x56,0x61,0x6c,0x69,0x64])):_0x47575e(_0x2baa84-_0x2e7f8f>(0x32e8d5df^_0x317340)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x47575e([0x74,0x68,0x65,0x6e])](_0x352190)[_0x47575e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x352190(_0x47575e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51d351=0x16d2bf5f^_0x317340;function _0xf4d6(){const _0xb5fa1d=_0x47575e([0x6c,0x6c,0x63,0x74,0x2d])+_0x51c165(_0x5c061d(_0x52bc38)),_0x400257=_0x4dad7f(_0x51c165(window[_0x47575e([0x4d,0x61,0x74,0x68])][_0x47575e([0x63,0x65,0x69,0x6c])](_0x2baa84/_0x51d351)));window[_0x47575e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47575e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb5fa1d,_0x400257);}function _0x29c841(){const _0x468070=_0x47575e([0x6c,0x6c,0x63,0x74,0x2d])+_0x51c165(_0x5c061d(_0x52bc38)),_0x33ba18=window[_0x47575e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47575e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x468070);return _0x33ba18?window[_0x47575e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dad7f(_0x33ba18),0x10)*_0x51d351:null;}function _0x438850(_0x46263e){return new window[(_0x47575e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10b20c,_0x16b53c)=>{_0x46263e[_0x47575e([0x74,0x68,0x65,0x6e])](_0x10b20c,_0x16b53c),window[_0x47575e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16b53c,0x16e5851f^_0x317340);});}}_0x30bee8[_0x47575e([0x6f,0x6e])](_0x47575e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x46fb37,_0x1f67d9)=>{if(_0x1f67d9[0x0]!=_0x52bc38)return _0x352190(_0x47575e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f67d9[0x1]={..._0x1f67d9[0x1],[_0x47575e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d0bb8};},{[_0x47575e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47575e([0x68,0x69,0x67,0x68])}),_0x30bee8[_0x47575e([0x6f,0x6e])](_0x47575e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17de9e=>{_0x5ac3d7(_0x17de9e[_0x47575e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f7b29=!0x0,_0x411126(_0x17de9e[_0x47575e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x47575e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47575e([0x6c,0x6f,0x77])}),_0x5e62ad[_0x47575e([0x74,0x68,0x65,0x6e])](()=>{_0x1f7b29||_0x352190(_0x47575e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b7798(){return _0x30bee8[_0x47575e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47575e([0x76,0x69,0x65,0x77])][_0x47575e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x47575e([0x61,0x75,0x74,0x6f]);}function _0x3158e6(){_0x30bee8[_0x47575e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47575e([0x76,0x69,0x65,0x77])][_0x47575e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x47575e([0x61,0x75,0x74,0x6f]);}}function _0x2b33d3(_0x147c09){const _0x38cde6=[new window[(_0x47575e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x234ba1=>setTimeout(_0x234ba1,0x16ed6f13^_0x317340)),_0x5e62ad[_0x47575e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x47575e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a65cf=>{let _0x14c990=0x0;_0x30bee8[_0x47575e([0x6d,0x6f,0x64,0x65,0x6c])][_0x47575e([0x6f,0x6e])](_0x47575e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x149127,_0x551620)=>{_0x551620[0x0][_0x47575e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14c990++,_0x14c990==(0x16e45027^_0x317340)&&(_0x5a65cf(),_0x149127[_0x47575e([0x6f,0x66,0x66])]());});}))];return window[_0x47575e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x47575e([0x72,0x61,0x63,0x65])](_0x38cde6)[_0x47575e([0x74,0x68,0x65,0x6e])](()=>_0x147c09);}async function _0x51d7ad(){await _0x5e62ad,_0x30bee8[_0x47575e([0x6d,0x6f,0x64,0x65,0x6c])][_0x47575e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4def84,_0x30bee8[_0x47575e([0x6d,0x6f,0x64,0x65,0x6c])][_0x47575e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4def84,_0x30bee8[_0x47575e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x47575e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53dc23(_0x1fd27b){const _0x2eb74c=_0x40f8a1();_0x30bee8[_0x2eb74c]=_0x47575e([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])+_0x1fd27b,_0x1fd27b!=_0x47575e([0x56,0x61,0x6c,0x69,0x64])&&_0x51d7ad();}function _0x40f8a1(){const _0x435d4e=window[_0x47575e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x47575e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x47575e([0x6e,0x6f,0x77])]())[_0x47575e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x47575e([0x2e]),'');let _0x5a2ef1=_0x47575e([0x51]);for(let _0x113bfa=0x0;_0x113bfa<_0x435d4e[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x113bfa+=0x2){let _0x1ea71a=window[_0x47575e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x435d4e[_0x47575e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x113bfa,_0x113bfa+0x2));_0x1ea71a>=_0x3b0122[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ea71a-=_0x3b0122[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a2ef1+=_0x3b0122[_0x1ea71a];}return _0x5a2ef1;}function _0x309aed(){const _0x20ff00=_0x462bdc[_0x47575e([0x73,0x70,0x6c,0x69,0x74])](_0x47575e([0x2e]));if(0x3!=_0x20ff00[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18aead(_0x20ff00[0x1]);function _0x18aead(_0x57f6bd){const _0x25633d=_0x292171(_0x57f6bd);return _0x25633d&&_0x59dc57()?_0x25633d:null;function _0x59dc57(){const _0x3922fc=_0x25633d[_0x47575e([0x6a,0x74,0x69])],_0x25e2d3=window[_0x47575e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3922fc[_0x47575e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3922fc[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4410ff={..._0x25633d,[_0x47575e([0x6a,0x74,0x69])]:_0x3922fc[_0x47575e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3922fc[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4410ff[_0x47575e([0x76,0x63])],_0x5c061d(_0x4410ff)==_0x25e2d3;}}}async function _0x413d2a(){let _0x130163=!0x0;try{const _0x1e9f63=_0x462bdc[_0x47575e([0x73,0x70,0x6c,0x69,0x74])](_0x47575e([0x2e])),[_0x473cf4,_0x240b88,_0x5041a1]=_0x1e9f63;return _0x42c448(_0x473cf4),await _0x1a79d9(_0x473cf4,_0x240b88,_0x5041a1),_0x130163;}catch{return!0x1;}function _0x42c448(_0x42c34b){const _0x5cba77=_0x292171(_0x42c34b);_0x5cba77&&_0x5cba77[_0x47575e([0x61,0x6c,0x67])]==_0x47575e([0x45,0x53,0x32,0x35,0x36])||(_0x130163=!0x1);}async function _0x1a79d9(_0x301f7a,_0x3074c3,_0x455ba5){const _0x4f4e12=window[_0x47575e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x47575e([0x66,0x72,0x6f,0x6d])](_0xb6d412(_0x455ba5),_0x1c1631=>_0x1c1631[_0x47575e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x591ab1=new window[(_0x47575e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x47575e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x301f7a+_0x47575e([0x2e])+_0x3074c3),_0x5b8643=window[_0x47575e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x47575e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b8643)return;const _0x18463e=await _0x5b8643[_0x47575e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x47575e([0x6a,0x77,0x6b]),_0x36f1e1,{[_0x47575e([0x6e,0x61,0x6d,0x65])]:_0x47575e([0x45,0x43,0x44,0x53,0x41]),[_0x47575e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x47575e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x47575e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b8643[_0x47575e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x47575e([0x6e,0x61,0x6d,0x65])]:_0x47575e([0x45,0x43,0x44,0x53,0x41]),[_0x47575e([0x68,0x61,0x73,0x68])]:{[_0x47575e([0x6e,0x61,0x6d,0x65])]:_0x47575e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18463e,_0x4f4e12,_0x591ab1)||(_0x130163=!0x1);}}function _0x292171(_0x5c77a7){return _0x5c77a7[_0x47575e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x47575e([0x65,0x79]))?JSON[_0x47575e([0x70,0x61,0x72,0x73,0x65])](_0xb6d412(_0x5c77a7)):null;}function _0xb6d412(_0x2ef456){return window[_0x47575e([0x61,0x74,0x6f,0x62])](_0x2ef456[_0x47575e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x47575e([0x2b]))[_0x47575e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x47575e([0x2f])));}function _0x5c061d(_0x46ef86){let _0x1e9d50=0x1505;function _0x5f2a79(_0xa4fd88){for(let _0x5edd97=0x0;_0x5edd97<_0xa4fd88[_0x47575e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5edd97++){const _0x56dca0=_0xa4fd88[_0x47575e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5edd97);_0x1e9d50=(_0x1e9d50<<0x5)+_0x1e9d50+_0x56dca0,_0x1e9d50&=_0x1e9d50;}}function _0x3d06b5(_0x5cac54){Array[_0x47575e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cac54)?_0x5cac54[_0x47575e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d06b5):_0x5cac54&&typeof _0x5cac54==_0x47575e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x47575e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cac54)[_0x47575e([0x73,0x6f,0x72,0x74])]()[_0x47575e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b8110,_0x310afb])=>{_0x5f2a79(_0x5b8110),_0x3d06b5(_0x310afb);}):_0x5f2a79(window[_0x47575e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cac54));}return _0x3d06b5(_0x46ef86),_0x1e9d50>>>0x0;}function _0x51c165(_0x4432cf){return _0x4432cf[_0x47575e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x47575e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x47575e([0x30]));}function _0x4dad7f(_0x422ac2){return _0x422ac2[_0x47575e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x47575e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x47575e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4def84(){}function _0x47575e(_0x1d9050){const _0x57e27b=_0x1583;return _0x1d9050[_0x57e27b(0x224)](_0x2651df=>String[_0x57e27b(0x1fa)](_0x2651df))[_0x57e27b(0x1ed)]('');}_0x53dc23(await _0x47d76f());}(this);}[_0x51791d(0x209)](_0x57c145,_0x55f411,_0x2cb05d=!0x1){const _0x4634a2=_0x51791d,_0x234265=new _0x57c145(this[_0x4634a2(0x232)][_0x4634a2(0x20c)]);return _0x234265[_0x4634a2(0x214)]({'withText':_0x2cb05d,'isToggleable':!0x1}),_0x234265[_0x4634a2(0x211)](_0x4634a2(0x210))['to'](_0x55f411,_0x4634a2(0x210)),this[_0x4634a2(0x231)](_0x234265,_0x4634a2(0x1f8),()=>_0x55f411[_0x4634a2(0x1f8)]()),_0x234265;}[_0x51791d(0x1ec)](){const _0x20dcbf=_0x51791d,_0x56723d=this[_0x20dcbf(0x232)][_0x20dcbf(0x20c)];this[_0x20dcbf(0x232)][_0x20dcbf(0x20d)][_0x20dcbf(0x20a)]({'id':_0x20dcbf(0x235),'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x234))});const _0x56e4cc=_0x387960[_0x20dcbf(0x1fd)]||_0x387960[_0x20dcbf(0x1f9)];this[_0x20dcbf(0x232)][_0x20dcbf(0x20d)][_0x20dcbf(0x21c)]({'categoryId':_0x20dcbf(0x235),'keystrokes':[{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x229)),'keystroke':_0x20dcbf(0x21e)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x1f0)),'keystroke':_0x20dcbf(0x23d)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x208)),'keystroke':_0x20dcbf(0x23b)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x217)),'keystroke':_0x20dcbf(0x1ff)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x20b)),'keystroke':_0x20dcbf(0x206)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x216)),'keystroke':_0x20dcbf(0x21d)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x1ef)),'keystroke':_0x56e4cc?_0x20dcbf(0x204):_0x20dcbf(0x23c)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x200)),'keystroke':_0x20dcbf(0x222)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x236)),'keystroke':_0x20dcbf(0x205)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x1fe)),'keystroke':[[_0x20dcbf(0x1ee)],[_0x20dcbf(0x226)]]},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x1f2)),'keystroke':_0x56e4cc?_0x20dcbf(0x227):_0x20dcbf(0x22e)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x1f7)),'keystroke':_0x56e4cc?_0x20dcbf(0x203):_0x20dcbf(0x1ea)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x22c)),'keystroke':_0x20dcbf(0x238)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x213)),'keystroke':_0x20dcbf(0x207)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x21f)),'keystroke':_0x20dcbf(0x20e)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x23a)),'keystroke':_0x20dcbf(0x239)},{'label':_0x7c6d86(_0x56723d,_0x20dcbf(0x221)),'keystroke':_0x56e4cc?_0x20dcbf(0x212):_0x20dcbf(0x1f5)}]});}}
|