@ckeditor/ckeditor5-source-editing-enhanced 46.1.1-alpha.1 → 46.1.1-alpha.3

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 _0xf1ebea,PendingActions as _0x44eb8a,Plugin as _0x56a566}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xec401e,formatHtml as _0x25d744,env as _0x18ecde,uid as _0x2074a3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x4406c0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1e24a3,ButtonView as _0x2336f3,MenuBarMenuListItemButtonView as _0x3dfee6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0xed37a3,crosshairCursor as _0x414afb,drawSelection as _0x5599c9,dropCursor as _0x53e6a9,lineNumbers as _0x279c36,highlightActiveLine as _0x5c13dd,highlightActiveLineGutter as _0x3958bb,highlightSpecialChars as _0x118835,rectangularSelection as _0x14745b,keymap as _0xc9fb9f}from'@codemirror/view';import{Compartment as _0x1a1fff,Transaction as _0x1ac48b}from'@codemirror/state';import{bracketMatching as _0x4f4616,foldGutter as _0x47d431,indentOnInput as _0x2be40d,syntaxHighlighting as _0x1a5eb4,defaultHighlightStyle as _0x3bcde2,foldKeymap as _0x54521f}from'@codemirror/language';import{toggleTabFocusMode as _0x19b2b1,history as _0xa74d8e,defaultKeymap as _0x2c386e,historyKeymap as _0x19fa74,indentLess as _0x1ec906,indentMore as _0x5f0237,redo as _0x5ea7ce,undo as _0x38a1d8}from'@codemirror/commands';import{autocompletion as _0x359140,closeBrackets as _0x1754d4,closeBracketsKeymap as _0x4ace1e,completionKeymap as _0x1a7da0}from'@codemirror/autocomplete';import{html as _0x4a427b}from'@codemirror/lang-html';import{markdown as _0x151b33}from'@codemirror/lang-markdown';import{oneDark as _0x4e7c1e}from'@codemirror/theme-one-dark';function w(_0x33f5dc,_0x51f0d9){const t=_0x33f5dc['t'];switch(_0x51f0d9){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 _0x51f0d9;}}function r(_0xcddd02){const _0x54be22=_0xcddd02['editing']['view']['document']['roots'],_0xbf5e31=_0x54be22['length'];if(0x0===_0xbf5e31)throw new _0xec401e('source-editing-enhanced-editor-no-root',_0xcddd02);if(0x1===_0xbf5e31)return _0x54be22['first']['rootName'];return Array['from'](_0xcddd02['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x58ad29){return tr(_0x58ad29['replace'](/^[\n\s]*/g,''))?_0x58ad29['replace'](/\s+/g,''):_0x58ad29;}function tr(_0x4f77dc){return _0x4f77dc['startsWith']('<');}function p(_0x5d30f0){const _0x257c1b=[_0xed37a3['lineWrapping'],_0x359140(),_0x4f4616(),_0x1754d4(),_0x414afb(),_0x5599c9(),_0x53e6a9(),_0x279c36(),_0x47d431(),_0x5c13dd(),_0x3958bb(),_0x118835(),_0xa74d8e(),_0x2be40d(),_0x14745b(),_0x1a5eb4(_0x3bcde2,{'fallback':!0x0})],_0x11972d=new _0x1a1fff();_0x257c1b['push'](_0x11972d['of'](_0xed37a3['editable']['of'](!0x0))),'html'===_0x5d30f0['syntaxLanguage']?_0x257c1b['push'](_0x4a427b()):_0x257c1b['push'](_0x151b33());const _0x180ec5=function(_0x4fa40f){if(_0x4fa40f&&'default'!==_0x4fa40f)return'dark'===_0x4fa40f?_0x4e7c1e:_0x4fa40f;return null;}(_0x5d30f0['theme']);_0x180ec5&&_0x257c1b['push'](_0x180ec5),_0x257c1b['push'](_0xc9fb9f['of']([..._0x4ace1e,..._0x2c386e,..._0x19fa74,..._0x54521f,..._0x1a7da0,{'key':'Tab','run':_0x5f0237,'shift':_0x1ec906,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x5ea7ce,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x5ea7ce,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x38a1d8,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x890e4b=new _0xed37a3({'extensions':_0x257c1b,'parent':_0x5d30f0['parent']});return _0x19b2b1(_0x890e4b),{'focus':()=>{_0x890e4b['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x890e4b['focus']();},'getData':()=>_0x890e4b['state']['doc']['toString'](),'setData':_0x1df594=>{_0x890e4b['dispatch']({'changes':{'from':0x0,'to':_0x890e4b['state']['doc']['length'],'insert':_0x1df594},'annotations':_0x1ac48b['addToHistory']['of'](!0x1)});},'setReadOnly':_0x48341c=>{_0x890e4b['dispatch']({'effects':[_0x11972d['reconfigure'](_0xed37a3['editable']['of'](!_0x48341c))]});},'destroy':()=>{_0x890e4b['destroy']();},'instance':_0x890e4b};}class E extends _0x1e24a3{['_codeEditorApi']=null;['_options'];constructor(_0x2627e6,_0x431464){super(_0x2627e6),this['_options']=_0x431464,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',(_0x48834e,_0x455f83,_0x4edd74)=>{this['setReadOnly'](_0x4edd74);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x394c83){this['_codeEditorApi']['setData'](_0x394c83);}['setReadOnly'](_0x10a9a3){this['_codeEditorApi']['setReadOnly'](_0x10a9a3);}}const b='SourceEditingEnhancedMode';class d extends _0xf1ebea{constructor(_0x4f0c8f){super(_0x4f0c8f),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x44eb8a)['on']('change:hasAny',(_0x400ce3,_0x3eccb9,_0x13a3cf)=>{_0x13a3cf?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x31f7c6=this['editor'];for(const _0x3825af of _0x31f7c6['commands']['names']())['replaceSource','editSource']['includes'](_0x3825af)||_0x31f7c6['commands']['get'](_0x3825af)['forceDisabled'](b);}['_enableCommands'](){const _0x518217=this['editor'];for(const _0x4913a3 of _0x518217['commands']['commands']())_0x4913a3['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4d3d71=this['editor'],_0x518b2f=_0x4d3d71['locale'],_0x31d7f3=_0x4d3d71['plugins']['get']('Dialog'),_0x45763c=r(_0x4d3d71),_0x4efa07=_0x4d3d71['data']['get']({'rootName':_0x45763c}),_0x5290a8=tr(_0x2f4509=_0x4efa07)?_0x25d744(_0x2f4509):_0x2f4509;var _0x2f4509;const _0x1dbefd=new E(_0x518b2f,{'syntaxLanguage':_0x4d3d71['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4d3d71['config']['get']('sourceEditingEnhanced.theme')});let _0x2a645f=!0x0;const _0x562cd2=_0x3bf7f0=>{if(!_0x2a645f)return;return g(_0x1dbefd['getData']())!==g(_0x5290a8)?window['confirm'](w(_0x518b2f,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3bf7f0['stop']():void 0x0;};_0x31d7f3['show']({'id':'sourceEditingEnhanced','title':w(_0x518b2f,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x1dbefd,'actionButtons':[{'label':w(_0x518b2f,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x31d7f3['hide']();}},{'label':w(_0x518b2f,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x48cac5=g(_0x1dbefd['getData']())!==g(_0x5290a8);(_0x48cac5&&_0x4d3d71['execute']('replaceSource',_0x1dbefd['getData']()),_0x2a645f=!0x1,_0x31d7f3['hide'](),_0x48cac5&&'editables'in _0x4d3d71['ui']['view'])&&_0x4d3d71['ui']['view']['editables'][_0x45763c]['element']['focus']();},'onCreate':_0x2084d8=>{_0x2084d8['set']('isEnabled',!_0x4d3d71['isReadOnly']),_0x2084d8['bind']('isEnabled')['to'](_0x4d3d71,'isReadOnly',this,'isEnabled',(_0x43372a,_0x68000a)=>!_0x43372a&&_0x68000a);}}],'onHide':()=>{this['_enableCommands'](),_0x31d7f3['off']('hide',_0x562cd2),_0x1dbefd['destroy']();},'onShow':()=>{_0x1dbefd['bind']('isReadOnly')['to'](_0x4d3d71,'isReadOnly',this,'isEnabled',(_0xc70db7,_0x3f4b30)=>_0xc70db7||!_0x3f4b30),_0x1dbefd['setData'](_0x5290a8),_0x1dbefd['focus'](),_0x31d7f3['on']('hide',_0x562cd2,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x56a566{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x44eb8a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3d5cf9=this['editor'],_0x331f50=_0x3d5cf9['locale'],_0x56c262=new d(_0x3d5cf9);_0x3d5cf9['commands']['add']('editSource',_0x56c262),_0x3d5cf9['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x1e9364=this['_createButton'](_0x2336f3,_0x56c262);return _0x1e9364['set']({'label':w(_0x331f50,'Source'),'icon':_0x4406c0,'tooltip':w(_0x331f50,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x1e9364;}),_0x3d5cf9['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x4631df=this['_createButton'](_0x3dfee6,_0x56c262,!0x0);return _0x4631df['set']({'label':w(_0x331f50,'Edit\x20source\x20modal\x20label'),'icon':_0x4406c0,'role':'menuitemcheckbox'}),_0x4631df;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x4f5c30){const _0x4056c5=_0x141fa0([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x1d93b7=0x305505ed,_0x17f5aa=0x305276ad^_0x1d93b7,_0x558286=window[_0x141fa0([0x44,0x61,0x74,0x65])][_0x141fa0([0x6e,0x6f,0x77])](),_0x36925c=_0x4f5c30[_0x141fa0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x418c71=new window[(_0x141fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6edbc1=>{_0x36925c[_0x141fa0([0x6f,0x6e,0x63,0x65])](_0x141fa0([0x72,0x65,0x61,0x64,0x79]),_0x6edbc1);}),_0x5990b1={[_0x141fa0([0x6b,0x74,0x79])]:_0x141fa0([0x45,0x43]),[_0x141fa0([0x75,0x73,0x65])]:_0x141fa0([0x73,0x69,0x67]),[_0x141fa0([0x63,0x72,0x76])]:_0x141fa0([0x50,0x2d,0x32,0x35,0x36]),[_0x141fa0([0x78])]:_0x141fa0([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]),[_0x141fa0([0x79])]:_0x141fa0([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]),[_0x141fa0([0x61,0x6c,0x67])]:_0x141fa0([0x45,0x53,0x32,0x35,0x36])},_0x5450d8=_0x36925c[_0x141fa0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x141fa0([0x67,0x65,0x74])](_0x141fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x208abe(){let _0x1ce8e4,_0x152df2=null,_0x28ab43=null;try{if(_0x5450d8==_0x141fa0([0x47,0x50,0x4c]))return _0x141fa0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ce8e4=_0x16186c(),!_0x1ce8e4)return _0x141fa0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ce8e4[_0x141fa0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28ab43=_0x3817a1(_0x1ce8e4[_0x141fa0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ce8e4[_0x141fa0([0x6a,0x74,0x69])])),await _0x48aee1()?_0x226840()?_0x45e89b()?_0x141fa0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x181532()?(_0x1ce8e4[_0x141fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x141fa0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x152df2=_0x21efdc(_0x141fa0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1ce8e4[_0x141fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x141fa0([0x74,0x72,0x69,0x61,0x6c])&&(_0x152df2=_0x21efdc(_0x141fa0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39a0ce()):_0x141fa0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x141fa0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x141fa0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x141fa0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45e89b(){const _0x513930=[_0x141fa0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x141fa0([0x74,0x72,0x69,0x61,0x6c])][_0x141fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ce8e4[_0x141fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x558286/0x3e8:0xe10*_0x17f5aa;return _0x1ce8e4[_0x141fa0([0x65,0x78,0x70])]<_0x513930;}function _0x226840(){const _0x47ab8a=_0x1ce8e4[_0x141fa0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47ab8a&&(!!_0x47ab8a[_0x141fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x141fa0([0x2a]))||!!_0x47ab8a[_0x141fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x141fa0([0x53,0x45,0x45])));}function _0x181532(){const _0x422f0c=_0x1ce8e4[_0x141fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x422f0c||0x0==_0x422f0c[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4df8d9}=new URL(window[_0x141fa0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x422f0c[_0x141fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8d9))return!0x0;const _0x45d1b1=_0x4df8d9[_0x141fa0([0x73,0x70,0x6c,0x69,0x74])](_0x141fa0([0x2e]));return _0x422f0c[_0x141fa0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58f1ec=>_0x58f1ec[_0x141fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x141fa0([0x2a])))[_0x141fa0([0x6d,0x61,0x70])](_0x1b3d68=>_0x1b3d68[_0x141fa0([0x73,0x70,0x6c,0x69,0x74])](_0x141fa0([0x2e])))[_0x141fa0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30bd0c=>_0x30bd0c[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45d1b1[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x141fa0([0x6d,0x61,0x70])](_0x42726d=>Array(_0x45d1b1[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42726d[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x141fa0([0x66,0x69,0x6c,0x6c])](_0x42726d[0x0]===_0x141fa0([0x2a])?_0x141fa0([0x2a]):'')[_0x141fa0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42726d))[_0x141fa0([0x73,0x6f,0x6d,0x65])](_0x1623aa=>_0x45d1b1[_0x141fa0([0x65,0x76,0x65,0x72,0x79])]((_0x4e90df,_0x1ff6d7)=>_0x1623aa[_0x1ff6d7]===_0x4e90df||_0x1623aa[_0x1ff6d7]===_0x141fa0([0x2a])));}function _0x39a0ce(){return _0x152df2&&_0x28ab43?new window[(_0x141fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x107616,_0x15a385)=>{_0x152df2[_0x141fa0([0x74,0x68,0x65,0x6e])](_0x107616,_0x15a385),_0x28ab43[_0x141fa0([0x74,0x68,0x65,0x6e])](_0x739c95=>{_0x739c95!=_0x141fa0([0x56,0x61,0x6c,0x69,0x64])&&_0x107616(_0x739c95);},_0x15a385);}):_0x152df2||_0x28ab43||_0x141fa0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3817a1(_0x169643,_0x5d99e7){return new window[(_0x141fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ca3da=>{if(_0x15c624())return _0x5ca3da(_0x141fa0([0x56,0x61,0x6c,0x69,0x64]));_0x4d8d16(),_0x36925c[_0x141fa0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x141fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d291a=!0x1;const _0x16d6ea=_0x2074a3();function _0x8b0646(_0x3bea7c){return!!_0x3bea7c&&(typeof _0x3bea7c===_0x141fa0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3bea7c===_0x141fa0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3bea7c[_0x141fa0([0x74,0x68,0x65,0x6e])]===_0x141fa0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3bea7c[_0x141fa0([0x63,0x61,0x74,0x63,0x68])]===_0x141fa0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a4432(_0x5b1c74){_0x40858b(_0x5b1c74)[_0x141fa0([0x74,0x68,0x65,0x6e])](_0x70c1a2=>{if(!_0x70c1a2||_0x70c1a2[_0x141fa0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x141fa0([0x6f,0x6b]))return _0x141fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23b824(_0x1dad5c(_0x16d6ea+_0x5d99e7))!=_0x70c1a2[_0x141fa0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x141fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x141fa0([0x56,0x61,0x6c,0x69,0x64]);})[_0x141fa0([0x74,0x68,0x65,0x6e])](_0x5de339=>(_0xdc4326(),_0x5de339),()=>{const _0x39fa6a=_0xfbfda6();return null==_0x39fa6a?(_0xdc4326(),_0x141fa0([0x56,0x61,0x6c,0x69,0x64])):_0x141fa0(_0x558286-_0x39fa6a>(0x145981ed^_0x1d93b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x141fa0([0x74,0x68,0x65,0x6e])](_0x5ca3da)[_0x141fa0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ca3da(_0x141fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x479dea=0x3063eb6d^_0x1d93b7;function _0xdc4326(){const _0x4b16e2=_0x141fa0([0x6c,0x6c,0x63,0x74,0x2d])+_0x23b824(_0x1dad5c(_0x169643)),_0x12c648=_0x26537e(_0x23b824(window[_0x141fa0([0x4d,0x61,0x74,0x68])][_0x141fa0([0x63,0x65,0x69,0x6c])](_0x558286/_0x479dea)));window[_0x141fa0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x141fa0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b16e2,_0x12c648);}function _0xfbfda6(){const _0x45a5f0=_0x141fa0([0x6c,0x6c,0x63,0x74,0x2d])+_0x23b824(_0x1dad5c(_0x169643)),_0x1b2a6d=window[_0x141fa0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x141fa0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45a5f0);return _0x1b2a6d?window[_0x141fa0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26537e(_0x1b2a6d),0x10)*_0x479dea:null;}function _0x40858b(_0x2abd60){return new window[(_0x141fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x198ae0,_0x490410)=>{_0x2abd60[_0x141fa0([0x74,0x68,0x65,0x6e])](_0x198ae0,_0x490410),window[_0x141fa0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x490410,0x3054d12d^_0x1d93b7);});}}_0x36925c[_0x141fa0([0x6f,0x6e])](_0x141fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xadd094,_0x3539a2)=>{if(_0x3539a2[0x0]!=_0x169643)return _0x5ca3da(_0x141fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3539a2[0x1]={..._0x3539a2[0x1],[_0x141fa0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16d6ea};},{[_0x141fa0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x141fa0([0x68,0x69,0x67,0x68])}),_0x36925c[_0x141fa0([0x6f,0x6e])](_0x141fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d9054=>{_0x8b0646(_0x5d9054[_0x141fa0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d291a=!0x0,_0x1a4432(_0x5d9054[_0x141fa0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x141fa0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x141fa0([0x6c,0x6f,0x77])}),_0x418c71[_0x141fa0([0x74,0x68,0x65,0x6e])](()=>{_0x2d291a||_0x5ca3da(_0x141fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15c624(){return _0x36925c[_0x141fa0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x141fa0([0x76,0x69,0x65,0x77])][_0x141fa0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x141fa0([0x61,0x75,0x74,0x6f]);}function _0x4d8d16(){_0x36925c[_0x141fa0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x141fa0([0x76,0x69,0x65,0x77])][_0x141fa0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x141fa0([0x61,0x75,0x74,0x6f]);}}function _0x21efdc(_0x15b1ab){const _0x4b0e26=[new window[(_0x141fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a3252=>setTimeout(_0x5a3252,0x305c3b21^_0x1d93b7)),_0x418c71[_0x141fa0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x141fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x377918=>{let _0x24cf52=0x0;_0x36925c[_0x141fa0([0x6d,0x6f,0x64,0x65,0x6c])][_0x141fa0([0x6f,0x6e])](_0x141fa0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c4c9f,_0x5673d5)=>{_0x5673d5[0x0][_0x141fa0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24cf52++,_0x24cf52==(0x30550415^_0x1d93b7)&&(_0x377918(),_0x1c4c9f[_0x141fa0([0x6f,0x66,0x66])]());});}))];return window[_0x141fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x141fa0([0x72,0x61,0x63,0x65])](_0x4b0e26)[_0x141fa0([0x74,0x68,0x65,0x6e])](()=>_0x15b1ab);}async function _0x2a2d6b(){await _0x418c71,_0x36925c[_0x141fa0([0x6d,0x6f,0x64,0x65,0x6c])][_0x141fa0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d26a6,_0x36925c[_0x141fa0([0x6d,0x6f,0x64,0x65,0x6c])][_0x141fa0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d26a6,_0x36925c[_0x141fa0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x141fa0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2311bd(_0x5cf1da){const _0x2b7ec0=_0x56e9ab();_0x36925c[_0x2b7ec0]=_0x141fa0([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])+_0x5cf1da,_0x5cf1da!=_0x141fa0([0x56,0x61,0x6c,0x69,0x64])&&_0x2a2d6b();}function _0x56e9ab(){const _0xc5469f=window[_0x141fa0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x141fa0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x141fa0([0x6e,0x6f,0x77])]())[_0x141fa0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x141fa0([0x2e]),'');let _0x25da5d=_0x141fa0([0x75]);for(let _0x7da011=0x0;_0x7da011<_0xc5469f[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7da011+=0x2){let _0x14c841=window[_0x141fa0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc5469f[_0x141fa0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7da011,_0x7da011+0x2));_0x14c841>=_0x4056c5[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14c841-=_0x4056c5[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25da5d+=_0x4056c5[_0x14c841];}return _0x25da5d;}function _0x16186c(){const _0x17cd09=_0x5450d8[_0x141fa0([0x73,0x70,0x6c,0x69,0x74])](_0x141fa0([0x2e]));if(0x3!=_0x17cd09[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e4738(_0x17cd09[0x1]);function _0x2e4738(_0x4db263){const _0x4408d0=_0x5413f3(_0x4db263);return _0x4408d0&&_0x5120dc()?_0x4408d0:null;function _0x5120dc(){const _0x253a97=_0x4408d0[_0x141fa0([0x6a,0x74,0x69])],_0x587b9e=window[_0x141fa0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x253a97[_0x141fa0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x253a97[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18b32a={..._0x4408d0,[_0x141fa0([0x6a,0x74,0x69])]:_0x253a97[_0x141fa0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x253a97[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18b32a[_0x141fa0([0x76,0x63])],_0x1dad5c(_0x18b32a)==_0x587b9e;}}}async function _0x48aee1(){let _0x2bd373=!0x0;try{const _0x17f431=_0x5450d8[_0x141fa0([0x73,0x70,0x6c,0x69,0x74])](_0x141fa0([0x2e])),[_0x488ad4,_0x32e303,_0x4daec2]=_0x17f431;return _0x4a4fad(_0x488ad4),await _0x237355(_0x488ad4,_0x32e303,_0x4daec2),_0x2bd373;}catch{return!0x1;}function _0x4a4fad(_0x184914){const _0x2fe784=_0x5413f3(_0x184914);_0x2fe784&&_0x2fe784[_0x141fa0([0x61,0x6c,0x67])]==_0x141fa0([0x45,0x53,0x32,0x35,0x36])||(_0x2bd373=!0x1);}async function _0x237355(_0x2b7003,_0x31b151,_0x6ab6be){const _0x45d7d8=window[_0x141fa0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x141fa0([0x66,0x72,0x6f,0x6d])](_0x4d4812(_0x6ab6be),_0x424816=>_0x424816[_0x141fa0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x266c83=new window[(_0x141fa0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x141fa0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b7003+_0x141fa0([0x2e])+_0x31b151),_0x56fae1=window[_0x141fa0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x141fa0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56fae1)return;const _0x1b10d9=await _0x56fae1[_0x141fa0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x141fa0([0x6a,0x77,0x6b]),_0x5990b1,{[_0x141fa0([0x6e,0x61,0x6d,0x65])]:_0x141fa0([0x45,0x43,0x44,0x53,0x41]),[_0x141fa0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x141fa0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x141fa0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56fae1[_0x141fa0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x141fa0([0x6e,0x61,0x6d,0x65])]:_0x141fa0([0x45,0x43,0x44,0x53,0x41]),[_0x141fa0([0x68,0x61,0x73,0x68])]:{[_0x141fa0([0x6e,0x61,0x6d,0x65])]:_0x141fa0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b10d9,_0x45d7d8,_0x266c83)||(_0x2bd373=!0x1);}}function _0x5413f3(_0x5a8357){return _0x5a8357[_0x141fa0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x141fa0([0x65,0x79]))?JSON[_0x141fa0([0x70,0x61,0x72,0x73,0x65])](_0x4d4812(_0x5a8357)):null;}function _0x4d4812(_0x8dbfab){return window[_0x141fa0([0x61,0x74,0x6f,0x62])](_0x8dbfab[_0x141fa0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x141fa0([0x2b]))[_0x141fa0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x141fa0([0x2f])));}function _0x1dad5c(_0x1861a6){let _0x45bf4d=0x1505;function _0x1f3687(_0xe04556){for(let _0x3ce294=0x0;_0x3ce294<_0xe04556[_0x141fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ce294++){const _0x548279=_0xe04556[_0x141fa0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ce294);_0x45bf4d=(_0x45bf4d<<0x5)+_0x45bf4d+_0x548279,_0x45bf4d&=_0x45bf4d;}}function _0x41a3e0(_0xfae505){Array[_0x141fa0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xfae505)?_0xfae505[_0x141fa0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41a3e0):_0xfae505&&typeof _0xfae505==_0x141fa0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x141fa0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xfae505)[_0x141fa0([0x73,0x6f,0x72,0x74])]()[_0x141fa0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x379a92,_0x4ccb99])=>{_0x1f3687(_0x379a92),_0x41a3e0(_0x4ccb99);}):_0x1f3687(window[_0x141fa0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xfae505));}return _0x41a3e0(_0x1861a6),_0x45bf4d>>>0x0;}function _0x23b824(_0x4676eb){return _0x4676eb[_0x141fa0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x141fa0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x141fa0([0x30]));}function _0x26537e(_0x11666c){return _0x11666c[_0x141fa0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x141fa0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x141fa0([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d26a6(){}function _0x141fa0(_0x332336){return _0x332336['map'](_0x43c80d=>String['fromCharCode'](_0x43c80d))['join']('');}_0x2311bd(await _0x208abe());}(this);}['_createButton'](_0x1ddc9f,_0x77cce4,_0xa1f6bc=!0x1){const _0x49dc32=new _0x1ddc9f(this['editor']['locale']);return _0x49dc32['set']({'withText':_0xa1f6bc,'isToggleable':!0x1}),_0x49dc32['bind']('isEnabled')['to'](_0x77cce4,'isEnabled'),this['listenTo'](_0x49dc32,'execute',()=>_0x77cce4['execute']()),_0x49dc32;}['_registerKeybindings'](){const _0x20dbf3=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x20dbf3,'Source\x20Editing\x20Enhanced')});const _0x4b8677=_0x18ecde['isMac']||_0x18ecde['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x20dbf3,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x20dbf3,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x20dbf3,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x20dbf3,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x20dbf3,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x20dbf3,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x20dbf3,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4b8677?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x20dbf3,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x20dbf3,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x20dbf3,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x20dbf3,'Select\x20line'),'keystroke':_0x4b8677?'Ctrl!+L':'Alt+L'},{'label':w(_0x20dbf3,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4b8677?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x20dbf3,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x20dbf3,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x20dbf3,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x20dbf3,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x20dbf3,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4b8677?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0xf1ebea{constructor(_0x52b930){super(_0x52b930),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x59bf62,_0x337286){const _0x17a166=this['editor'],_0x51bb4f=_0x337286?.['rootName']??r(_0x17a166);_0x17a166['data']['set']({[_0x51bb4f]:_0x59bf62},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x56a566{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x4dde55){super(_0x4dde55),_0x4dde55['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 _0x2b7aae=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x164c38;for(const _0x4f51fd in _0x2b7aae){const _0xe9cdd3=_0x4f51fd,_0x7b6962=_0x2b7aae[_0xe9cdd3];if('sourceEditingEnhancedLicenseKeyValid'==_0x7b6962||'sourceEditingEnhancedLicenseKeyInvalid'==_0x7b6962||'sourceEditingEnhancedLicenseKeyExpired'==_0x7b6962||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x7b6962||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x7b6962||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x7b6962||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x7b6962||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x7b6962){delete _0x2b7aae[_0xe9cdd3],_0x164c38=_0x7b6962,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x164c38&&_0x2b7aae['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x164c38&&_0x2b7aae['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x164c38&&_0x2b7aae['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x164c38&&_0x2b7aae['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x164c38&&_0x2b7aae['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x164c38&&_0x2b7aae['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x164c38&&_0x2b7aae['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x871ae1=this['editor'],_0x897cfc=_0x871ae1['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x897cfc&&_0x871ae1['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xec401e('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x897cfc&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x598307=>_0x871ae1['plugins']['has'](_0x598307))&&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.'),_0x871ae1['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 _0x123040,PendingActions as _0x433b64,Plugin as _0x225de8}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xd248ce,formatHtml as _0x14f15a,env as _0xb94e51,uid as _0x267549}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x5da280}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x354e7f,ButtonView as _0x191251,MenuBarMenuListItemButtonView as _0x524739}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x210c25,crosshairCursor as _0x559785,drawSelection as _0x15c465,dropCursor as _0x24e787,lineNumbers as _0x2ad551,highlightActiveLine as _0x269f9c,highlightActiveLineGutter as _0x1dfb78,highlightSpecialChars as _0x1a0025,rectangularSelection as _0x2a6b0b,keymap as _0x2cf1cb}from'@codemirror/view';import{Compartment as _0x251831,Transaction as _0x179d6d}from'@codemirror/state';import{bracketMatching as _0x17a2c5,foldGutter as _0x2e77e6,indentOnInput as _0x15b272,syntaxHighlighting as _0x100bc9,defaultHighlightStyle as _0x180541,foldKeymap as _0x369045}from'@codemirror/language';import{toggleTabFocusMode as _0x1b8c8e,history as _0x25e8b7,defaultKeymap as _0x520c0e,historyKeymap as _0x44a1de,indentLess as _0x1fcd6a,indentMore as _0x46e30b,redo as _0x1ce983,undo as _0x309cf4}from'@codemirror/commands';import{autocompletion as _0x11e712,closeBrackets as _0x4348cf,closeBracketsKeymap as _0x439070,completionKeymap as _0x24fbc5}from'@codemirror/autocomplete';import{html as _0x48808a}from'@codemirror/lang-html';import{markdown as _0x28b933}from'@codemirror/lang-markdown';import{oneDark as _0x205e24}from'@codemirror/theme-one-dark';function w(_0x547bde,_0x27e731){const t=_0x547bde['t'];switch(_0x27e731){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 _0x27e731;}}function r(_0x172b5f){const _0x252242=_0x172b5f['editing']['view']['document']['roots'],_0x41d039=_0x252242['length'];if(0x0===_0x41d039)throw new _0xd248ce('source-editing-enhanced-editor-no-root',_0x172b5f);if(0x1===_0x41d039)return _0x252242['first']['rootName'];return Array['from'](_0x172b5f['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x65f7d5){return tr(_0x65f7d5['replace'](/^[\n\s]*/g,''))?_0x65f7d5['replace'](/\s+/g,''):_0x65f7d5;}function tr(_0x5ddd89){return _0x5ddd89['startsWith']('<');}function p(_0x404633){const _0x5532ab=[_0x210c25['lineWrapping'],_0x11e712(),_0x17a2c5(),_0x4348cf(),_0x559785(),_0x15c465(),_0x24e787(),_0x2ad551(),_0x2e77e6(),_0x269f9c(),_0x1dfb78(),_0x1a0025(),_0x25e8b7(),_0x15b272(),_0x2a6b0b(),_0x100bc9(_0x180541,{'fallback':!0x0})],_0x534ef0=new _0x251831();_0x5532ab['push'](_0x534ef0['of'](_0x210c25['editable']['of'](!0x0))),'html'===_0x404633['syntaxLanguage']?_0x5532ab['push'](_0x48808a()):_0x5532ab['push'](_0x28b933());const _0x2b05f1=function(_0x397b2f){if(_0x397b2f&&'default'!==_0x397b2f)return'dark'===_0x397b2f?_0x205e24:_0x397b2f;return null;}(_0x404633['theme']);_0x2b05f1&&_0x5532ab['push'](_0x2b05f1),_0x5532ab['push'](_0x2cf1cb['of']([..._0x439070,..._0x520c0e,..._0x44a1de,..._0x369045,..._0x24fbc5,{'key':'Tab','run':_0x46e30b,'shift':_0x1fcd6a,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1ce983,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1ce983,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x309cf4,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x85f594=new _0x210c25({'extensions':_0x5532ab,'parent':_0x404633['parent']});return _0x1b8c8e(_0x85f594),{'focus':()=>{_0x85f594['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x85f594['focus']();},'getData':()=>_0x85f594['state']['doc']['toString'](),'setData':_0x3572b4=>{_0x85f594['dispatch']({'changes':{'from':0x0,'to':_0x85f594['state']['doc']['length'],'insert':_0x3572b4},'annotations':_0x179d6d['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2bd684=>{_0x85f594['dispatch']({'effects':[_0x534ef0['reconfigure'](_0x210c25['editable']['of'](!_0x2bd684))]});},'destroy':()=>{_0x85f594['destroy']();},'instance':_0x85f594};}class E extends _0x354e7f{['_codeEditorApi']=null;['_options'];constructor(_0x513d87,_0x828f44){super(_0x513d87),this['_options']=_0x828f44,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',(_0x5a63e4,_0x30d568,_0x14a3c3)=>{this['setReadOnly'](_0x14a3c3);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4e7f62){this['_codeEditorApi']['setData'](_0x4e7f62);}['setReadOnly'](_0x131089){this['_codeEditorApi']['setReadOnly'](_0x131089);}}const b='SourceEditingEnhancedMode';class d extends _0x123040{constructor(_0x344a4c){super(_0x344a4c),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x433b64)['on']('change:hasAny',(_0x29a6a1,_0x3e83a8,_0x503f1c)=>{_0x503f1c?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x1a2879=this['editor'];for(const _0x4ce47d of _0x1a2879['commands']['names']())['replaceSource','editSource']['includes'](_0x4ce47d)||_0x1a2879['commands']['get'](_0x4ce47d)['forceDisabled'](b);}['_enableCommands'](){const _0x5c00ee=this['editor'];for(const _0x3a2d36 of _0x5c00ee['commands']['commands']())_0x3a2d36['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x562dee=this['editor'],_0x3a9eef=_0x562dee['locale'],_0x25b1e8=_0x562dee['plugins']['get']('Dialog'),_0x16cb03=r(_0x562dee),_0x53368c=_0x562dee['data']['get']({'rootName':_0x16cb03}),_0x3c13d6=tr(_0x7386e4=_0x53368c)?_0x14f15a(_0x7386e4):_0x7386e4;var _0x7386e4;const _0x30d4db=new E(_0x3a9eef,{'syntaxLanguage':_0x562dee['plugins']['has']('Markdown')?'markdown':'html','theme':_0x562dee['config']['get']('sourceEditingEnhanced.theme')});let _0x1ea6a6=!0x0;const _0xa4b77b=_0x323a8e=>{if(!_0x1ea6a6)return;return g(_0x30d4db['getData']())!==g(_0x3c13d6)?window['confirm'](w(_0x3a9eef,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x323a8e['stop']():void 0x0;};_0x25b1e8['show']({'id':'sourceEditingEnhanced','title':w(_0x3a9eef,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x30d4db,'actionButtons':[{'label':w(_0x3a9eef,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x25b1e8['hide']();}},{'label':w(_0x3a9eef,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x587d44=g(_0x30d4db['getData']())!==g(_0x3c13d6);(_0x587d44&&_0x562dee['execute']('replaceSource',_0x30d4db['getData']()),_0x1ea6a6=!0x1,_0x25b1e8['hide'](),_0x587d44&&'editables'in _0x562dee['ui']['view'])&&_0x562dee['ui']['view']['editables'][_0x16cb03]['element']['focus']();},'onCreate':_0x1f0f68=>{_0x1f0f68['set']('isEnabled',!_0x562dee['isReadOnly']),_0x1f0f68['bind']('isEnabled')['to'](_0x562dee,'isReadOnly',this,'isEnabled',(_0x3d4d86,_0x93f0ef)=>!_0x3d4d86&&_0x93f0ef);}}],'onHide':()=>{this['_enableCommands'](),_0x25b1e8['off']('hide',_0xa4b77b),_0x30d4db['destroy']();},'onShow':()=>{_0x30d4db['bind']('isReadOnly')['to'](_0x562dee,'isReadOnly',this,'isEnabled',(_0x5d2b7e,_0x47e4a9)=>_0x5d2b7e||!_0x47e4a9),_0x30d4db['setData'](_0x3c13d6),_0x30d4db['focus'](),_0x25b1e8['on']('hide',_0xa4b77b,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x225de8{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x433b64];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x46b93f=this['editor'],_0x5a0222=_0x46b93f['locale'],_0x1e5397=new d(_0x46b93f);_0x46b93f['commands']['add']('editSource',_0x1e5397),_0x46b93f['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x12dd6c=this['_createButton'](_0x191251,_0x1e5397);return _0x12dd6c['set']({'label':w(_0x5a0222,'Source'),'icon':_0x5da280,'tooltip':w(_0x5a0222,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x12dd6c;}),_0x46b93f['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2d2c85=this['_createButton'](_0x524739,_0x1e5397,!0x0);return _0x2d2c85['set']({'label':w(_0x5a0222,'Edit\x20source\x20modal\x20label'),'icon':_0x5da280,'role':'menuitemcheckbox'}),_0x2d2c85;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xd91129){const _0xd1df90=_0x3fc0df([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x273bc8=0x305505ed,_0x386f49=0x3052769d^_0x273bc8,_0x9a5e0=window[_0x3fc0df([0x44,0x61,0x74,0x65])][_0x3fc0df([0x6e,0x6f,0x77])](),_0x291297=_0xd91129[_0x3fc0df([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x304ab9=new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14047d=>{_0x291297[_0x3fc0df([0x6f,0x6e,0x63,0x65])](_0x3fc0df([0x72,0x65,0x61,0x64,0x79]),_0x14047d);}),_0x2c9c8d={[_0x3fc0df([0x6b,0x74,0x79])]:_0x3fc0df([0x45,0x43]),[_0x3fc0df([0x75,0x73,0x65])]:_0x3fc0df([0x73,0x69,0x67]),[_0x3fc0df([0x63,0x72,0x76])]:_0x3fc0df([0x50,0x2d,0x32,0x35,0x36]),[_0x3fc0df([0x78])]:_0x3fc0df([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]),[_0x3fc0df([0x79])]:_0x3fc0df([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]),[_0x3fc0df([0x61,0x6c,0x67])]:_0x3fc0df([0x45,0x53,0x32,0x35,0x36])},_0x303809=_0x291297[_0x3fc0df([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fc0df([0x67,0x65,0x74])](_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15a7b5(){let _0x3bf51d,_0x206f71=null,_0x484fba=null;try{if(_0x303809==_0x3fc0df([0x47,0x50,0x4c]))return _0x3fc0df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bf51d=_0xe27f82(),!_0x3bf51d)return _0x3fc0df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bf51d[_0x3fc0df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x484fba=_0x5c6178(_0x3bf51d[_0x3fc0df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bf51d[_0x3fc0df([0x6a,0x74,0x69])])),await _0x42c53f()?_0x45fafb()?_0x5c5798()?_0x3fc0df([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x28c2ce()?(_0x3bf51d[_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc0df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x206f71=_0x50c7cf(_0x3fc0df([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3bf51d[_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc0df([0x74,0x72,0x69,0x61,0x6c])&&(_0x206f71=_0x50c7cf(_0x3fc0df([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26ef61()):_0x3fc0df([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc0df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fc0df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fc0df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c5798(){const _0x303007=[_0x3fc0df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fc0df([0x74,0x72,0x69,0x61,0x6c])][_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bf51d[_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9a5e0/0x3e8:0xe10*_0x386f49;return _0x3bf51d[_0x3fc0df([0x65,0x78,0x70])]<_0x303007;}function _0x45fafb(){const _0x43a5bf=_0x3bf51d[_0x3fc0df([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43a5bf&&(!!_0x43a5bf[_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc0df([0x2a]))||!!_0x43a5bf[_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc0df([0x53,0x45,0x45])));}function _0x28c2ce(){const _0x3db65e=_0x3bf51d[_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3db65e||0x0==_0x3db65e[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x170766}=new URL(window[_0x3fc0df([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3db65e[_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x170766))return!0x0;const _0x4dd9c8=_0x170766[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])](_0x3fc0df([0x2e]));return _0x3db65e[_0x3fc0df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a8aa1=>_0x3a8aa1[_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc0df([0x2a])))[_0x3fc0df([0x6d,0x61,0x70])](_0xdb1bca=>_0xdb1bca[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])](_0x3fc0df([0x2e])))[_0x3fc0df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x104de5=>_0x104de5[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4dd9c8[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc0df([0x6d,0x61,0x70])](_0x415399=>Array(_0x4dd9c8[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x415399[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc0df([0x66,0x69,0x6c,0x6c])](_0x415399[0x0]===_0x3fc0df([0x2a])?_0x3fc0df([0x2a]):'')[_0x3fc0df([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x415399))[_0x3fc0df([0x73,0x6f,0x6d,0x65])](_0x4a7b82=>_0x4dd9c8[_0x3fc0df([0x65,0x76,0x65,0x72,0x79])]((_0x20a7a3,_0x1052c0)=>_0x4a7b82[_0x1052c0]===_0x20a7a3||_0x4a7b82[_0x1052c0]===_0x3fc0df([0x2a])));}function _0x26ef61(){return _0x206f71&&_0x484fba?new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5208e5,_0x58f13d)=>{_0x206f71[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x5208e5,_0x58f13d),_0x484fba[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x2eeabd=>{_0x2eeabd!=_0x3fc0df([0x56,0x61,0x6c,0x69,0x64])&&_0x5208e5(_0x2eeabd);},_0x58f13d);}):_0x206f71||_0x484fba||_0x3fc0df([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c6178(_0x350369,_0x425db0){return new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x106718=>{if(_0x43c27a())return _0x106718(_0x3fc0df([0x56,0x61,0x6c,0x69,0x64]));_0x2075cf(),_0x291297[_0x3fc0df([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fc0df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd104c0=!0x1;const _0x460f78=_0x267549();function _0x1d74f0(_0x468082){return!!_0x468082&&(typeof _0x468082===_0x3fc0df([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x468082===_0x3fc0df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x468082[_0x3fc0df([0x74,0x68,0x65,0x6e])]===_0x3fc0df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x468082[_0x3fc0df([0x63,0x61,0x74,0x63,0x68])]===_0x3fc0df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5e18d0(_0x3a91c8){_0xeacd9e(_0x3a91c8)[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x274ac1=>{if(!_0x274ac1||_0x274ac1[_0x3fc0df([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fc0df([0x6f,0x6b]))return _0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e51fe(_0xc04dc8(_0x460f78+_0x425db0))!=_0x274ac1[_0x3fc0df([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc0df([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x59253e=>(_0x15b8ea(),_0x59253e),()=>{const _0x31c769=_0x64bc62();return null==_0x31c769?(_0x15b8ea(),_0x3fc0df([0x56,0x61,0x6c,0x69,0x64])):_0x3fc0df(_0x9a5e0-_0x31c769>(0x145981ed^_0x273bc8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x106718)[_0x3fc0df([0x63,0x61,0x74,0x63,0x68])](()=>{_0x106718(_0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x73e98d=0x3063eb6d^_0x273bc8;function _0x15b8ea(){const _0x5731fd=_0x3fc0df([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e51fe(_0xc04dc8(_0x350369)),_0x5ba48c=_0x2fde0b(_0x3e51fe(window[_0x3fc0df([0x4d,0x61,0x74,0x68])][_0x3fc0df([0x63,0x65,0x69,0x6c])](_0x9a5e0/_0x73e98d)));window[_0x3fc0df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc0df([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5731fd,_0x5ba48c);}function _0x64bc62(){const _0x3484c9=_0x3fc0df([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e51fe(_0xc04dc8(_0x350369)),_0x5689de=window[_0x3fc0df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc0df([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3484c9);return _0x5689de?window[_0x3fc0df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fde0b(_0x5689de),0x10)*_0x73e98d:null;}function _0xeacd9e(_0x17991f){return new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5360f1,_0x132944)=>{_0x17991f[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x5360f1,_0x132944),window[_0x3fc0df([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x132944,0x3054d12d^_0x273bc8);});}}_0x291297[_0x3fc0df([0x6f,0x6e])](_0x3fc0df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29acb1,_0xf1984c)=>{if(_0xf1984c[0x0]!=_0x350369)return _0x106718(_0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf1984c[0x1]={..._0xf1984c[0x1],[_0x3fc0df([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x460f78};},{[_0x3fc0df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc0df([0x68,0x69,0x67,0x68])}),_0x291297[_0x3fc0df([0x6f,0x6e])](_0x3fc0df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1682a2=>{_0x1d74f0(_0x1682a2[_0x3fc0df([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd104c0=!0x0,_0x5e18d0(_0x1682a2[_0x3fc0df([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fc0df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc0df([0x6c,0x6f,0x77])}),_0x304ab9[_0x3fc0df([0x74,0x68,0x65,0x6e])](()=>{_0xd104c0||_0x106718(_0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43c27a(){return _0x291297[_0x3fc0df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc0df([0x76,0x69,0x65,0x77])][_0x3fc0df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fc0df([0x61,0x75,0x74,0x6f]);}function _0x2075cf(){_0x291297[_0x3fc0df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc0df([0x76,0x69,0x65,0x77])][_0x3fc0df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fc0df([0x61,0x75,0x74,0x6f]);}}function _0x50c7cf(_0x307f0a){const _0x21cc66=[new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2472d3=>setTimeout(_0x2472d3,0x305c3b21^_0x273bc8)),_0x304ab9[_0x3fc0df([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11c822=>{let _0x42d0b8=0x0;_0x291297[_0x3fc0df([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc0df([0x6f,0x6e])](_0x3fc0df([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ee281,_0x5b914e)=>{_0x5b914e[0x0][_0x3fc0df([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42d0b8++,_0x42d0b8==(0x30550415^_0x273bc8)&&(_0x11c822(),_0x2ee281[_0x3fc0df([0x6f,0x66,0x66])]());});}))];return window[_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fc0df([0x72,0x61,0x63,0x65])](_0x21cc66)[_0x3fc0df([0x74,0x68,0x65,0x6e])](()=>_0x307f0a);}async function _0x4b3da9(){await _0x304ab9,_0x291297[_0x3fc0df([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc0df([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3cffbc,_0x291297[_0x3fc0df([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc0df([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3cffbc,_0x291297[_0x3fc0df([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fc0df([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22c0ee(_0x3f65a9){const _0x891ac2=_0x4cd878();_0x291297[_0x891ac2]=_0x3fc0df([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])+_0x3f65a9,_0x3f65a9!=_0x3fc0df([0x56,0x61,0x6c,0x69,0x64])&&_0x4b3da9();}function _0x4cd878(){const _0x4c1662=window[_0x3fc0df([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fc0df([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fc0df([0x6e,0x6f,0x77])]())[_0x3fc0df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fc0df([0x2e]),'');let _0x384992=_0x3fc0df([0x75]);for(let _0x41d8d7=0x0;_0x41d8d7<_0x4c1662[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41d8d7+=0x2){let _0x19060f=window[_0x3fc0df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c1662[_0x3fc0df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41d8d7,_0x41d8d7+0x2));_0x19060f>=_0xd1df90[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19060f-=_0xd1df90[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x384992+=_0xd1df90[_0x19060f];}return _0x384992;}function _0xe27f82(){const _0x21603e=_0x303809[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])](_0x3fc0df([0x2e]));if(0x3!=_0x21603e[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33aaed(_0x21603e[0x1]);function _0x33aaed(_0x2d50ed){const _0x59f66b=_0x497e98(_0x2d50ed);return _0x59f66b&&_0x2b4277()?_0x59f66b:null;function _0x2b4277(){const _0x392a5d=_0x59f66b[_0x3fc0df([0x6a,0x74,0x69])],_0x2901f1=window[_0x3fc0df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x392a5d[_0x3fc0df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x392a5d[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1381a5={..._0x59f66b,[_0x3fc0df([0x6a,0x74,0x69])]:_0x392a5d[_0x3fc0df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x392a5d[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1381a5[_0x3fc0df([0x76,0x63])],_0xc04dc8(_0x1381a5)==_0x2901f1;}}}async function _0x42c53f(){let _0x467e41=!0x0;try{const _0x25ca14=_0x303809[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])](_0x3fc0df([0x2e])),[_0xc2d332,_0x5f48a3,_0x1d290b]=_0x25ca14;return _0x4721c1(_0xc2d332),await _0x3b5257(_0xc2d332,_0x5f48a3,_0x1d290b),_0x467e41;}catch{return!0x1;}function _0x4721c1(_0x20f71c){const _0x13caea=_0x497e98(_0x20f71c);_0x13caea&&_0x13caea[_0x3fc0df([0x61,0x6c,0x67])]==_0x3fc0df([0x45,0x53,0x32,0x35,0x36])||(_0x467e41=!0x1);}async function _0x3b5257(_0x42be0f,_0x6389d1,_0x48a54e){const _0x275e69=window[_0x3fc0df([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fc0df([0x66,0x72,0x6f,0x6d])](_0x284021(_0x48a54e),_0x2bb1b3=>_0x2bb1b3[_0x3fc0df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dab23=new window[(_0x3fc0df([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fc0df([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42be0f+_0x3fc0df([0x2e])+_0x6389d1),_0x54234a=window[_0x3fc0df([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fc0df([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54234a)return;const _0xc8d5c=await _0x54234a[_0x3fc0df([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fc0df([0x6a,0x77,0x6b]),_0x2c9c8d,{[_0x3fc0df([0x6e,0x61,0x6d,0x65])]:_0x3fc0df([0x45,0x43,0x44,0x53,0x41]),[_0x3fc0df([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fc0df([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fc0df([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54234a[_0x3fc0df([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fc0df([0x6e,0x61,0x6d,0x65])]:_0x3fc0df([0x45,0x43,0x44,0x53,0x41]),[_0x3fc0df([0x68,0x61,0x73,0x68])]:{[_0x3fc0df([0x6e,0x61,0x6d,0x65])]:_0x3fc0df([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc8d5c,_0x275e69,_0x2dab23)||(_0x467e41=!0x1);}}function _0x497e98(_0x1f8b51){return _0x1f8b51[_0x3fc0df([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fc0df([0x65,0x79]))?JSON[_0x3fc0df([0x70,0x61,0x72,0x73,0x65])](_0x284021(_0x1f8b51)):null;}function _0x284021(_0x35d14e){return window[_0x3fc0df([0x61,0x74,0x6f,0x62])](_0x35d14e[_0x3fc0df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fc0df([0x2b]))[_0x3fc0df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fc0df([0x2f])));}function _0xc04dc8(_0x2045b5){let _0x3ca369=0x1505;function _0x5bd977(_0x469a2d){for(let _0x58b9ff=0x0;_0x58b9ff<_0x469a2d[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58b9ff++){const _0x34d31a=_0x469a2d[_0x3fc0df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58b9ff);_0x3ca369=(_0x3ca369<<0x5)+_0x3ca369+_0x34d31a,_0x3ca369&=_0x3ca369;}}function _0x390395(_0x13f998){Array[_0x3fc0df([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13f998)?_0x13f998[_0x3fc0df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x390395):_0x13f998&&typeof _0x13f998==_0x3fc0df([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fc0df([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13f998)[_0x3fc0df([0x73,0x6f,0x72,0x74])]()[_0x3fc0df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x391670,_0x29024b])=>{_0x5bd977(_0x391670),_0x390395(_0x29024b);}):_0x5bd977(window[_0x3fc0df([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13f998));}return _0x390395(_0x2045b5),_0x3ca369>>>0x0;}function _0x3e51fe(_0x524c8f){return _0x524c8f[_0x3fc0df([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fc0df([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fc0df([0x30]));}function _0x2fde0b(_0x1b5eb1){return _0x1b5eb1[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fc0df([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fc0df([0x6a,0x6f,0x69,0x6e])]('');}function _0x3cffbc(){}function _0x3fc0df(_0x5678a6){return _0x5678a6['map'](_0x56ccab=>String['fromCharCode'](_0x56ccab))['join']('');}_0x22c0ee(await _0x15a7b5());}(this);}['_createButton'](_0x4e783e,_0x2b79ac,_0xe7dc33=!0x1){const _0x22a3f0=new _0x4e783e(this['editor']['locale']);return _0x22a3f0['set']({'withText':_0xe7dc33,'isToggleable':!0x1}),_0x22a3f0['bind']('isEnabled')['to'](_0x2b79ac,'isEnabled'),this['listenTo'](_0x22a3f0,'execute',()=>_0x2b79ac['execute']()),_0x22a3f0;}['_registerKeybindings'](){const _0x4adc35=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x4adc35,'Source\x20Editing\x20Enhanced')});const _0x487ff4=_0xb94e51['isMac']||_0xb94e51['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x4adc35,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x4adc35,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x4adc35,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x4adc35,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x4adc35,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x4adc35,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x4adc35,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x487ff4?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x4adc35,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x4adc35,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x4adc35,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x4adc35,'Select\x20line'),'keystroke':_0x487ff4?'Ctrl!+L':'Alt+L'},{'label':w(_0x4adc35,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x487ff4?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x4adc35,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x4adc35,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x4adc35,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x4adc35,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x4adc35,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x487ff4?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x123040{constructor(_0x278ffe){super(_0x278ffe),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x42002e,_0x5294f4){const _0x3df85=this['editor'],_0x2a5aea=_0x5294f4?.['rootName']??r(_0x3df85);_0x3df85['data']['set']({[_0x2a5aea]:_0x42002e},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x225de8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0xdeef71){super(_0xdeef71),_0xdeef71['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 _0x449155=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x47e411;for(const _0x127c3a in _0x449155){const _0x458ab1=_0x127c3a,_0x18cc49=_0x449155[_0x458ab1];if('sourceEditingEnhancedLicenseKeyValid'==_0x18cc49||'sourceEditingEnhancedLicenseKeyInvalid'==_0x18cc49||'sourceEditingEnhancedLicenseKeyExpired'==_0x18cc49||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x18cc49||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x18cc49||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x18cc49||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x18cc49||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x18cc49){delete _0x449155[_0x458ab1],_0x47e411=_0x18cc49,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x47e411&&_0x449155['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x47e411&&_0x449155['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x47e411&&_0x449155['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x47e411&&_0x449155['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x47e411&&_0x449155['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x47e411&&_0x449155['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x47e411&&_0x449155['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x26337e=this['editor'],_0x2d8721=_0x26337e['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x2d8721&&_0x26337e['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xd248ce('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x2d8721&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1ec4e9=>_0x26337e['plugins']['has'](_0x1ec4e9))&&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.'),_0x26337e['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.1.1-alpha.1",
3
+ "version": "46.1.1-alpha.3",
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.1.1-alpha.1",
22
- "@ckeditor/ckeditor5-icons": "46.1.1-alpha.1",
23
- "@ckeditor/ckeditor5-theme-lark": "46.1.1-alpha.1",
24
- "@ckeditor/ckeditor5-ui": "46.1.1-alpha.1",
25
- "@ckeditor/ckeditor5-utils": "46.1.1-alpha.1",
21
+ "@ckeditor/ckeditor5-core": "46.1.1-alpha.3",
22
+ "@ckeditor/ckeditor5-icons": "46.1.1-alpha.3",
23
+ "@ckeditor/ckeditor5-theme-lark": "46.1.1-alpha.3",
24
+ "@ckeditor/ckeditor5-ui": "46.1.1-alpha.3",
25
+ "@ckeditor/ckeditor5-utils": "46.1.1-alpha.3",
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.1.1-alpha.1"
34
+ "ckeditor5": "46.1.1-alpha.3"
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 _0x376302=_0x566f;function _0x262f(){const _0x5aef72=['Ctrl+Z','Ctrl+Y','Shift+Alt+ArrowUp','editor','_registerKeybindings','Alt+L','4812220LuhjVY','addKeystrokeInfos','Ctrl!+Alt+[','join','Ctrl+M','isOfficialPlugin','listenTo','menuBar:sourceEditingEnhanced','Ctrl+Shift+]','Source','2246uEnTPA','bind','menuitemcheckbox','1064050hsTxoD','Alt+ArrowUp','Source\x20Editing\x20Enhanced','Fold\x20all','pluginName','120GQCrdh','map','308xUoVro','execute','Indent\x20less','Copy\x20line\x20down','Edit\x20source\x20modal\x20label','Undo\x20(keystroke)','517QAZdUe','isiOS','Toggle\x20comment','editSource','12mcDSKn','fromCharCode','Toggle\x20block\x20comment','Unfold\x20all','Ctrl+/','set','Shift+Alt+ArrowDown','Delete\x20line','Copy\x20line\x20up','Shift+Ctrl+K','Move\x20line\x20down','init','Redo\x20(keystroke)','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','locale','componentFactory','Fold\x20code\x20(current\x20level)','SourceEditingEnhancedUI','afterInit','accessibility','addKeystrokeInfoCategory','requires','256239POVXdq','add','_createButton','Move\x20line\x20up','href','Ctrl+Shift+[','Unfold\x20code\x20(current\x20level)','isEnabled','Ctrl!+L','ck-source-editing-enhanced-button','Shift+Alt+A','1381445BUBlNb','Indent\x20more','Ctrl+Shift+Z','Alt+Shift+M','Select\x20line','2450244KALgGg','1822590lHoYBz','sourceEditingEnhanced','Cmd+Alt+[','Alt+ArrowDown','Ctrl+]','Ctrl!+Alt+]','Cmd+Alt+]','isPremiumPlugin','commands','Ctrl+[','isMac'];_0x262f=function(){return _0x5aef72;};return _0x262f();}(function(_0x3ad3f6,_0x39c009){const _0x215890=_0x566f,_0x2ba7a6=_0x3ad3f6();while(!![]){try{const _0x2996ad=parseInt(_0x215890(0xdf))/0x1*(-parseInt(_0x215890(0x125))/0x2)+-parseInt(_0x215890(0x10a))/0x3+-parseInt(_0x215890(0x109))/0x4+-parseInt(_0x215890(0x104))/0x5*(parseInt(_0x215890(0xe3))/0x6)+-parseInt(_0x215890(0x11b))/0x7+-parseInt(_0x215890(0xd7))/0x8*(-parseInt(_0x215890(0xf9))/0x9)+parseInt(_0x215890(0x128))/0xa*(parseInt(_0x215890(0xd9))/0xb);if(_0x2996ad===_0x39c009)break;else _0x2ba7a6['push'](_0x2ba7a6['shift']());}catch(_0x560820){_0x2ba7a6['push'](_0x2ba7a6['shift']());}}}(_0x262f,0x59475));import{Plugin as _0x482434,PendingActions as _0x2d3a0f}from'ckeditor5/src/core.js';import{IconSource as _0x5dc0d6}from'ckeditor5/src/icons.js';import{ButtonView as _0xd52d7d,MenuBarMenuListItemButtonView as _0xdfd14a}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0xdfa3bd}from'./ui/editsourcecommand.js';import{getTranslation as _0x1a6e31}from'./utils/common-translations.js';import{env as _0x8fd0ed,uid as _0x74981d}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x566f(_0x4ead2f,_0x45625b){const _0x262fe0=_0x262f();return _0x566f=function(_0x566f59,_0x48e616){_0x566f59=_0x566f59-0xd4;let _0x17f1ca=_0x262fe0[_0x566f59];return _0x17f1ca;},_0x566f(_0x4ead2f,_0x45625b);}export class SourceEditingEnhancedUI extends _0x482434{static get[_0x376302(0xd6)](){const _0x21df35=_0x376302;return _0x21df35(0xf4);}static get[_0x376302(0xf8)](){return[_0x2d3a0f];}static get[_0x376302(0x120)](){return!0x0;}static get[_0x376302(0x111)](){return!0x0;}[_0x376302(0xee)](){const _0x2b089b=_0x376302,_0x52e481=this[_0x2b089b(0x118)],_0x2969c0=_0x52e481[_0x2b089b(0xf1)],_0x44d831=new _0xdfa3bd(_0x52e481);_0x52e481[_0x2b089b(0x112)][_0x2b089b(0xfa)](_0x2b089b(0xe2),_0x44d831),_0x52e481['ui'][_0x2b089b(0xf2)][_0x2b089b(0xfa)](_0x2b089b(0x10b),()=>{const _0x4286a2=_0x2b089b,_0xa58a10=this[_0x4286a2(0xfb)](_0xd52d7d,_0x44d831);return _0xa58a10[_0x4286a2(0xe8)]({'label':_0x1a6e31(_0x2969c0,_0x4286a2(0x124)),'icon':_0x5dc0d6,'tooltip':_0x1a6e31(_0x2969c0,_0x4286a2(0xdd)),'class':_0x4286a2(0x102)}),_0xa58a10;}),_0x52e481['ui'][_0x2b089b(0xf2)][_0x2b089b(0xfa)](_0x2b089b(0x122),()=>{const _0x7486b6=_0x2b089b,_0x172b1d=this[_0x7486b6(0xfb)](_0xdfd14a,_0x44d831,!0x0);return _0x172b1d[_0x7486b6(0xe8)]({'label':_0x1a6e31(_0x2969c0,_0x7486b6(0xdd)),'icon':_0x5dc0d6,'role':_0x7486b6(0x127)}),_0x172b1d;}),this[_0x2b089b(0x119)]();}[_0x376302(0xf5)](){!async function(_0x400f50){const _0x2b68f0=_0x66dc18([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x37a7f2=0x305505ed,_0x35a7b7=0x305276ad^_0x37a7f2,_0x1a1a9b=window[_0x66dc18([0x44,0x61,0x74,0x65])][_0x66dc18([0x6e,0x6f,0x77])](),_0x31ffa=_0x400f50[_0x66dc18([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27295a=new window[(_0x66dc18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ed0cd=>{_0x31ffa[_0x66dc18([0x6f,0x6e,0x63,0x65])](_0x66dc18([0x72,0x65,0x61,0x64,0x79]),_0x1ed0cd);}),_0x552e8d={[_0x66dc18([0x6b,0x74,0x79])]:_0x66dc18([0x45,0x43]),[_0x66dc18([0x75,0x73,0x65])]:_0x66dc18([0x73,0x69,0x67]),[_0x66dc18([0x63,0x72,0x76])]:_0x66dc18([0x50,0x2d,0x32,0x35,0x36]),[_0x66dc18([0x78])]:_0x66dc18([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]),[_0x66dc18([0x79])]:_0x66dc18([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]),[_0x66dc18([0x61,0x6c,0x67])]:_0x66dc18([0x45,0x53,0x32,0x35,0x36])},_0xf396e3=_0x31ffa[_0x66dc18([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x66dc18([0x67,0x65,0x74])](_0x66dc18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x312eb0(){let _0x35e2d3,_0x596181=null,_0x489207=null;try{if(_0xf396e3==_0x66dc18([0x47,0x50,0x4c]))return _0x66dc18([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35e2d3=_0x4595c8(),!_0x35e2d3)return _0x66dc18([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35e2d3[_0x66dc18([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x489207=_0x2b13cb(_0x35e2d3[_0x66dc18([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35e2d3[_0x66dc18([0x6a,0x74,0x69])])),await _0x3d6b2b()?_0x332db1()?_0x2423d5()?_0x66dc18([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x135a93()?(_0x35e2d3[_0x66dc18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x66dc18([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x596181=_0x3c93bb(_0x66dc18([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x35e2d3[_0x66dc18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x66dc18([0x74,0x72,0x69,0x61,0x6c])&&(_0x596181=_0x3c93bb(_0x66dc18([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x368176()):_0x66dc18([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x66dc18([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x66dc18([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x66dc18([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2423d5(){const _0x36aa67=[_0x66dc18([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x66dc18([0x74,0x72,0x69,0x61,0x6c])][_0x66dc18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35e2d3[_0x66dc18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a1a9b/0x3e8:0xe10*_0x35a7b7;return _0x35e2d3[_0x66dc18([0x65,0x78,0x70])]<_0x36aa67;}function _0x332db1(){const _0xa2b590=_0x35e2d3[_0x66dc18([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa2b590&&(!!_0xa2b590[_0x66dc18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x66dc18([0x2a]))||!!_0xa2b590[_0x66dc18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x66dc18([0x53,0x45,0x45])));}function _0x135a93(){const _0x874491=_0x566f,_0x5f6b19=_0x35e2d3[_0x66dc18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f6b19||0x0==_0x5f6b19[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x978572}=new URL(window[_0x66dc18([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x874491(0xfd)]);if(_0x5f6b19[_0x66dc18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x978572))return!0x0;const _0x1addaf=_0x978572[_0x66dc18([0x73,0x70,0x6c,0x69,0x74])](_0x66dc18([0x2e]));return _0x5f6b19[_0x66dc18([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c60b8=>_0x4c60b8[_0x66dc18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x66dc18([0x2a])))[_0x66dc18([0x6d,0x61,0x70])](_0x177133=>_0x177133[_0x66dc18([0x73,0x70,0x6c,0x69,0x74])](_0x66dc18([0x2e])))[_0x66dc18([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5eaf77=>_0x5eaf77[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1addaf[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x66dc18([0x6d,0x61,0x70])](_0x1d175c=>Array(_0x1addaf[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d175c[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x66dc18([0x66,0x69,0x6c,0x6c])](_0x1d175c[0x0]===_0x66dc18([0x2a])?_0x66dc18([0x2a]):'')[_0x66dc18([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d175c))[_0x66dc18([0x73,0x6f,0x6d,0x65])](_0x2bc8fb=>_0x1addaf[_0x66dc18([0x65,0x76,0x65,0x72,0x79])]((_0x5afccf,_0x27f9c0)=>_0x2bc8fb[_0x27f9c0]===_0x5afccf||_0x2bc8fb[_0x27f9c0]===_0x66dc18([0x2a])));}function _0x368176(){return _0x596181&&_0x489207?new window[(_0x66dc18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x179187,_0x3ce0ae)=>{_0x596181[_0x66dc18([0x74,0x68,0x65,0x6e])](_0x179187,_0x3ce0ae),_0x489207[_0x66dc18([0x74,0x68,0x65,0x6e])](_0x2d1d81=>{_0x2d1d81!=_0x66dc18([0x56,0x61,0x6c,0x69,0x64])&&_0x179187(_0x2d1d81);},_0x3ce0ae);}):_0x596181||_0x489207||_0x66dc18([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b13cb(_0x420518,_0x401ed4){return new window[(_0x66dc18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d72cb=>{if(_0x176b8b())return _0x5d72cb(_0x66dc18([0x56,0x61,0x6c,0x69,0x64]));_0x26ebb9(),_0x31ffa[_0x66dc18([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x66dc18([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x34e109=!0x1;const _0x2484da=_0x74981d();function _0x1c38ed(_0x48d360){return!!_0x48d360&&(typeof _0x48d360===_0x66dc18([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x48d360===_0x66dc18([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x48d360[_0x66dc18([0x74,0x68,0x65,0x6e])]===_0x66dc18([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x48d360[_0x66dc18([0x63,0x61,0x74,0x63,0x68])]===_0x66dc18([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30c4e9(_0x16f323){_0x59b993(_0x16f323)[_0x66dc18([0x74,0x68,0x65,0x6e])](_0x302eba=>{if(!_0x302eba||_0x302eba[_0x66dc18([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x66dc18([0x6f,0x6b]))return _0x66dc18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x28e9c5(_0x7a3dd0(_0x2484da+_0x401ed4))!=_0x302eba[_0x66dc18([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x66dc18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x66dc18([0x56,0x61,0x6c,0x69,0x64]);})[_0x66dc18([0x74,0x68,0x65,0x6e])](_0x1cddcb=>(_0x37ea21(),_0x1cddcb),()=>{const _0x52f39a=_0x2a1889();return null==_0x52f39a?(_0x37ea21(),_0x66dc18([0x56,0x61,0x6c,0x69,0x64])):_0x66dc18(_0x1a1a9b-_0x52f39a>(0x145981ed^_0x37a7f2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x66dc18([0x74,0x68,0x65,0x6e])](_0x5d72cb)[_0x66dc18([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d72cb(_0x66dc18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x52ccd4=0x3063eb6d^_0x37a7f2;function _0x37ea21(){const _0x3a30eb=_0x66dc18([0x6c,0x6c,0x63,0x74,0x2d])+_0x28e9c5(_0x7a3dd0(_0x420518)),_0x3b9636=_0x5ad0f8(_0x28e9c5(window[_0x66dc18([0x4d,0x61,0x74,0x68])][_0x66dc18([0x63,0x65,0x69,0x6c])](_0x1a1a9b/_0x52ccd4)));window[_0x66dc18([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x66dc18([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a30eb,_0x3b9636);}function _0x2a1889(){const _0x4fb445=_0x66dc18([0x6c,0x6c,0x63,0x74,0x2d])+_0x28e9c5(_0x7a3dd0(_0x420518)),_0x2d953b=window[_0x66dc18([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x66dc18([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fb445);return _0x2d953b?window[_0x66dc18([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ad0f8(_0x2d953b),0x10)*_0x52ccd4:null;}function _0x59b993(_0x222b9b){return new window[(_0x66dc18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43a786,_0x5a5450)=>{_0x222b9b[_0x66dc18([0x74,0x68,0x65,0x6e])](_0x43a786,_0x5a5450),window[_0x66dc18([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a5450,0x3054d12d^_0x37a7f2);});}}_0x31ffa[_0x66dc18([0x6f,0x6e])](_0x66dc18([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bff25,_0x335236)=>{if(_0x335236[0x0]!=_0x420518)return _0x5d72cb(_0x66dc18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x335236[0x1]={..._0x335236[0x1],[_0x66dc18([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2484da};},{[_0x66dc18([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x66dc18([0x68,0x69,0x67,0x68])}),_0x31ffa[_0x66dc18([0x6f,0x6e])](_0x66dc18([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51f806=>{_0x1c38ed(_0x51f806[_0x66dc18([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x34e109=!0x0,_0x30c4e9(_0x51f806[_0x66dc18([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x66dc18([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x66dc18([0x6c,0x6f,0x77])}),_0x27295a[_0x66dc18([0x74,0x68,0x65,0x6e])](()=>{_0x34e109||_0x5d72cb(_0x66dc18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x176b8b(){return _0x31ffa[_0x66dc18([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x66dc18([0x76,0x69,0x65,0x77])][_0x66dc18([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x66dc18([0x61,0x75,0x74,0x6f]);}function _0x26ebb9(){_0x31ffa[_0x66dc18([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x66dc18([0x76,0x69,0x65,0x77])][_0x66dc18([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x66dc18([0x61,0x75,0x74,0x6f]);}}function _0x3c93bb(_0x12b1f6){const _0x486efe=[new window[(_0x66dc18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47d314=>setTimeout(_0x47d314,0x305c3b21^_0x37a7f2)),_0x27295a[_0x66dc18([0x74,0x68,0x65,0x6e])](()=>new window[(_0x66dc18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x120ace=>{let _0x4f8944=0x0;_0x31ffa[_0x66dc18([0x6d,0x6f,0x64,0x65,0x6c])][_0x66dc18([0x6f,0x6e])](_0x66dc18([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14f12e,_0x3513c8)=>{_0x3513c8[0x0][_0x66dc18([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f8944++,_0x4f8944==(0x30550415^_0x37a7f2)&&(_0x120ace(),_0x14f12e[_0x66dc18([0x6f,0x66,0x66])]());});}))];return window[_0x66dc18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x66dc18([0x72,0x61,0x63,0x65])](_0x486efe)[_0x66dc18([0x74,0x68,0x65,0x6e])](()=>_0x12b1f6);}async function _0x2313f2(){await _0x27295a,_0x31ffa[_0x66dc18([0x6d,0x6f,0x64,0x65,0x6c])][_0x66dc18([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b3234,_0x31ffa[_0x66dc18([0x6d,0x6f,0x64,0x65,0x6c])][_0x66dc18([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b3234,_0x31ffa[_0x66dc18([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x66dc18([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x464ced(_0x1feb14){const _0x475330=_0x2df3c3();_0x31ffa[_0x475330]=_0x66dc18([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])+_0x1feb14,_0x1feb14!=_0x66dc18([0x56,0x61,0x6c,0x69,0x64])&&_0x2313f2();}function _0x2df3c3(){const _0x492573=window[_0x66dc18([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x66dc18([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x66dc18([0x6e,0x6f,0x77])]())[_0x66dc18([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x66dc18([0x2e]),'');let _0x5a80d5=_0x66dc18([0x75]);for(let _0x47c067=0x0;_0x47c067<_0x492573[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47c067+=0x2){let _0x11d3b9=window[_0x66dc18([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x492573[_0x66dc18([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47c067,_0x47c067+0x2));_0x11d3b9>=_0x2b68f0[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11d3b9-=_0x2b68f0[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a80d5+=_0x2b68f0[_0x11d3b9];}return _0x5a80d5;}function _0x4595c8(){const _0x23bfef=_0xf396e3[_0x66dc18([0x73,0x70,0x6c,0x69,0x74])](_0x66dc18([0x2e]));if(0x3!=_0x23bfef[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56d7be(_0x23bfef[0x1]);function _0x56d7be(_0x12d5b2){const _0x2a1612=_0x2d1680(_0x12d5b2);return _0x2a1612&&_0x3b5c23()?_0x2a1612:null;function _0x3b5c23(){const _0x20079a=_0x2a1612[_0x66dc18([0x6a,0x74,0x69])],_0x3608a3=window[_0x66dc18([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20079a[_0x66dc18([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20079a[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5751da={..._0x2a1612,[_0x66dc18([0x6a,0x74,0x69])]:_0x20079a[_0x66dc18([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20079a[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5751da[_0x66dc18([0x76,0x63])],_0x7a3dd0(_0x5751da)==_0x3608a3;}}}async function _0x3d6b2b(){let _0x492050=!0x0;try{const _0x1b53e7=_0xf396e3[_0x66dc18([0x73,0x70,0x6c,0x69,0x74])](_0x66dc18([0x2e])),[_0x45fa5e,_0x3f7c3f,_0x4732ee]=_0x1b53e7;return _0x178a89(_0x45fa5e),await _0x44001b(_0x45fa5e,_0x3f7c3f,_0x4732ee),_0x492050;}catch{return!0x1;}function _0x178a89(_0x52f2e0){const _0x239aca=_0x2d1680(_0x52f2e0);_0x239aca&&_0x239aca[_0x66dc18([0x61,0x6c,0x67])]==_0x66dc18([0x45,0x53,0x32,0x35,0x36])||(_0x492050=!0x1);}async function _0x44001b(_0x274e86,_0x284731,_0x1d37e1){const _0x291e9a=window[_0x66dc18([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x66dc18([0x66,0x72,0x6f,0x6d])](_0x7488dd(_0x1d37e1),_0x55eceb=>_0x55eceb[_0x66dc18([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5eb953=new window[(_0x66dc18([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x66dc18([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x274e86+_0x66dc18([0x2e])+_0x284731),_0x6bbf52=window[_0x66dc18([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x66dc18([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x6bbf52)return;const _0x3569a0=await _0x6bbf52[_0x66dc18([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x66dc18([0x6a,0x77,0x6b]),_0x552e8d,{[_0x66dc18([0x6e,0x61,0x6d,0x65])]:_0x66dc18([0x45,0x43,0x44,0x53,0x41]),[_0x66dc18([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x66dc18([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x66dc18([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x6bbf52[_0x66dc18([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x66dc18([0x6e,0x61,0x6d,0x65])]:_0x66dc18([0x45,0x43,0x44,0x53,0x41]),[_0x66dc18([0x68,0x61,0x73,0x68])]:{[_0x66dc18([0x6e,0x61,0x6d,0x65])]:_0x66dc18([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3569a0,_0x291e9a,_0x5eb953)||(_0x492050=!0x1);}}function _0x2d1680(_0x996fd0){return _0x996fd0[_0x66dc18([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x66dc18([0x65,0x79]))?JSON[_0x66dc18([0x70,0x61,0x72,0x73,0x65])](_0x7488dd(_0x996fd0)):null;}function _0x7488dd(_0x5832d5){return window[_0x66dc18([0x61,0x74,0x6f,0x62])](_0x5832d5[_0x66dc18([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x66dc18([0x2b]))[_0x66dc18([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x66dc18([0x2f])));}function _0x7a3dd0(_0x54a583){let _0x17c2db=0x1505;function _0x3633d9(_0x4f8197){for(let _0x5e0736=0x0;_0x5e0736<_0x4f8197[_0x66dc18([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e0736++){const _0x1cb8f1=_0x4f8197[_0x66dc18([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e0736);_0x17c2db=(_0x17c2db<<0x5)+_0x17c2db+_0x1cb8f1,_0x17c2db&=_0x17c2db;}}function _0x3a2f9f(_0x40371a){Array[_0x66dc18([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40371a)?_0x40371a[_0x66dc18([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a2f9f):_0x40371a&&typeof _0x40371a==_0x66dc18([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x66dc18([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40371a)[_0x66dc18([0x73,0x6f,0x72,0x74])]()[_0x66dc18([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c086b,_0x2e53e3])=>{_0x3633d9(_0x2c086b),_0x3a2f9f(_0x2e53e3);}):_0x3633d9(window[_0x66dc18([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40371a));}return _0x3a2f9f(_0x54a583),_0x17c2db>>>0x0;}function _0x28e9c5(_0x61d291){return _0x61d291[_0x66dc18([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x66dc18([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x66dc18([0x30]));}function _0x5ad0f8(_0x16aeb8){return _0x16aeb8[_0x66dc18([0x73,0x70,0x6c,0x69,0x74])]('')[_0x66dc18([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x66dc18([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b3234(){}function _0x66dc18(_0x32c6c1){const _0x56eb9d=_0x566f;return _0x32c6c1[_0x56eb9d(0xd8)](_0x56fc36=>String[_0x56eb9d(0xe4)](_0x56fc36))[_0x56eb9d(0x11e)]('');}_0x464ced(await _0x312eb0());}(this);}[_0x376302(0xfb)](_0x3189a6,_0x192b8a,_0x178d96=!0x1){const _0x27a630=_0x376302,_0x566d31=new _0x3189a6(this[_0x27a630(0x118)][_0x27a630(0xf1)]);return _0x566d31[_0x27a630(0xe8)]({'withText':_0x178d96,'isToggleable':!0x1}),_0x566d31[_0x27a630(0x126)](_0x27a630(0x100))['to'](_0x192b8a,_0x27a630(0x100)),this[_0x27a630(0x121)](_0x566d31,_0x27a630(0xda),()=>_0x192b8a[_0x27a630(0xda)]()),_0x566d31;}[_0x376302(0x119)](){const _0x16eb7f=_0x376302,_0x3f1513=this[_0x16eb7f(0x118)][_0x16eb7f(0xf1)];this[_0x16eb7f(0x118)][_0x16eb7f(0xf6)][_0x16eb7f(0xf7)]({'id':_0x16eb7f(0x10b),'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xd4))});const _0x42f116=_0x8fd0ed[_0x16eb7f(0x114)]||_0x8fd0ed[_0x16eb7f(0xe0)];this[_0x16eb7f(0x118)][_0x16eb7f(0xf6)][_0x16eb7f(0x11c)]({'categoryId':_0x16eb7f(0x10b),'keystrokes':[{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xdc)),'keystroke':_0x16eb7f(0xe9)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xeb)),'keystroke':_0x16eb7f(0x117)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xea)),'keystroke':_0x16eb7f(0xec)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xdb)),'keystroke':_0x16eb7f(0x113)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0x105)),'keystroke':_0x16eb7f(0x10e)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xd5)),'keystroke':_0x16eb7f(0x11d)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xf3)),'keystroke':_0x42f116?_0x16eb7f(0x10c):_0x16eb7f(0xfe)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xed)),'keystroke':_0x16eb7f(0x10d)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xfc)),'keystroke':_0x16eb7f(0x129)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xef)),'keystroke':[[_0x16eb7f(0x106)],[_0x16eb7f(0x116)]]},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0x108)),'keystroke':_0x42f116?_0x16eb7f(0x101):_0x16eb7f(0x11a)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xf0)),'keystroke':_0x42f116?_0x16eb7f(0x107):_0x16eb7f(0x11f)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xe5)),'keystroke':_0x16eb7f(0x103)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xe1)),'keystroke':_0x16eb7f(0xe7)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xde)),'keystroke':_0x16eb7f(0x115)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xe6)),'keystroke':_0x16eb7f(0x10f)},{'label':_0x1a6e31(_0x3f1513,_0x16eb7f(0xff)),'keystroke':_0x42f116?_0x16eb7f(0x110):_0x16eb7f(0x123)}]});}}
23
+ const _0x16c6c3=_0x2cbf;(function(_0x2c29e6,_0x3f46d7){const _0x1f8d61=_0x2cbf,_0x487831=_0x2c29e6();while(!![]){try{const _0x28d326=parseInt(_0x1f8d61(0x99))/0x1+-parseInt(_0x1f8d61(0xab))/0x2*(-parseInt(_0x1f8d61(0xb5))/0x3)+-parseInt(_0x1f8d61(0xb3))/0x4*(-parseInt(_0x1f8d61(0x9e))/0x5)+parseInt(_0x1f8d61(0xe3))/0x6*(parseInt(_0x1f8d61(0xc8))/0x7)+-parseInt(_0x1f8d61(0xbb))/0x8*(parseInt(_0x1f8d61(0x9b))/0x9)+parseInt(_0x1f8d61(0xa4))/0xa+-parseInt(_0x1f8d61(0xd8))/0xb;if(_0x28d326===_0x3f46d7)break;else _0x487831['push'](_0x487831['shift']());}catch(_0x3a6683){_0x487831['push'](_0x487831['shift']());}}}(_0x2310,0x9b8c9));import{Plugin as _0x1685e9,PendingActions as _0x26126c}from'ckeditor5/src/core.js';import{IconSource as _0x435d44}from'ckeditor5/src/icons.js';import{ButtonView as _0x447396,MenuBarMenuListItemButtonView as _0x5e0f0f}from'ckeditor5/src/ui.js';function _0x2310(){const _0xaf5e3c=['menuBar:sourceEditingEnhanced','Shift+Ctrl+K','Ctrl!+L','editSource','addKeystrokeInfoCategory','sourceEditingEnhanced','_createButton','locale','add','Indent\x20more','370459bRxmdP','Ctrl+[','1241532hYZWsd','Ctrl!+Alt+[','Copy\x20line\x20down','69835DLcdYO','Move\x20line\x20up','Unfold\x20code\x20(current\x20level)','bind','Copy\x20line\x20up','execute','10607980kwiNXi','href','Ctrl+Z','Cmd+Alt+]','Unfold\x20all','Fold\x20all','Source\x20Editing\x20Enhanced','234626DhlPAi','Ctrl!+Alt+]','Undo\x20(keystroke)','commands','Ctrl+]','ck-source-editing-enhanced-button','Edit\x20source\x20modal\x20label','init','4CMshcn','menuitemcheckbox','21REqNfj','Ctrl+M','isEnabled','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+Y','Alt+L','8evHbzb','Toggle\x20comment','Fold\x20code\x20(current\x20level)','Ctrl+Shift+]','isiOS','isMac','Shift+Alt+ArrowUp','Ctrl+/','join','afterInit','Ctrl+Shift+[','isOfficialPlugin','Alt+Shift+M','77jvOogY','requires','addKeystrokeInfos','SourceEditingEnhancedUI','Shift+Alt+A','Source','Delete\x20line','Indent\x20less','Toggle\x20block\x20comment','componentFactory','set','Select\x20line','Ctrl+Shift+Z','fromCharCode','Cmd+Alt+[','pluginName','27323153ysaHbw','map','editor','Move\x20line\x20down','accessibility','Alt+ArrowDown','Alt+ArrowUp','listenTo','Shift+Alt+ArrowDown','Redo\x20(keystroke)','isPremiumPlugin','541410WvUqNl','_registerKeybindings'];_0x2310=function(){return _0xaf5e3c;};return _0x2310();}import{EditSourceCommand as _0x3fc514}from'./ui/editsourcecommand.js';import{getTranslation as _0x580de3}from'./utils/common-translations.js';import{env as _0x52d878,uid as _0x3a4121}from'ckeditor5/src/utils.js';function _0x2cbf(_0x125d89,_0x267201){const _0x231046=_0x2310();return _0x2cbf=function(_0x2cbfa5,_0x1c8c19){_0x2cbfa5=_0x2cbfa5-0x97;let _0x41c8e0=_0x231046[_0x2cbfa5];return _0x41c8e0;},_0x2cbf(_0x125d89,_0x267201);}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x1685e9{static get[_0x16c6c3(0xd7)](){const _0x84d1ff=_0x16c6c3;return _0x84d1ff(0xcb);}static get[_0x16c6c3(0xc9)](){return[_0x26126c];}static get[_0x16c6c3(0xc6)](){return!0x0;}static get[_0x16c6c3(0xe2)](){return!0x0;}[_0x16c6c3(0xb2)](){const _0x969f61=_0x16c6c3,_0x4cecab=this[_0x969f61(0xda)],_0x2ac258=_0x4cecab[_0x969f61(0xec)],_0xdf775b=new _0x3fc514(_0x4cecab);_0x4cecab[_0x969f61(0xae)][_0x969f61(0x97)](_0x969f61(0xe8),_0xdf775b),_0x4cecab['ui'][_0x969f61(0xd1)][_0x969f61(0x97)](_0x969f61(0xea),()=>{const _0xb900ad=_0x969f61,_0x4e9422=this[_0xb900ad(0xeb)](_0x447396,_0xdf775b);return _0x4e9422[_0xb900ad(0xd2)]({'label':_0x580de3(_0x2ac258,_0xb900ad(0xcd)),'icon':_0x435d44,'tooltip':_0x580de3(_0x2ac258,_0xb900ad(0xb1)),'class':_0xb900ad(0xb0)}),_0x4e9422;}),_0x4cecab['ui'][_0x969f61(0xd1)][_0x969f61(0x97)](_0x969f61(0xe5),()=>{const _0x5f1f3f=_0x969f61,_0xa1a4e7=this[_0x5f1f3f(0xeb)](_0x5e0f0f,_0xdf775b,!0x0);return _0xa1a4e7[_0x5f1f3f(0xd2)]({'label':_0x580de3(_0x2ac258,_0x5f1f3f(0xb1)),'icon':_0x435d44,'role':_0x5f1f3f(0xb4)}),_0xa1a4e7;}),this[_0x969f61(0xe4)]();}[_0x16c6c3(0xc4)](){!async function(_0x1b6c0e){const _0x1a0dce=_0x2cb236([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x124e27=0x305505ed,_0x1b744f=0x3052769d^_0x124e27,_0xa4e93a=window[_0x2cb236([0x44,0x61,0x74,0x65])][_0x2cb236([0x6e,0x6f,0x77])](),_0x578a78=_0x1b6c0e[_0x2cb236([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43ccb0=new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x435c99=>{_0x578a78[_0x2cb236([0x6f,0x6e,0x63,0x65])](_0x2cb236([0x72,0x65,0x61,0x64,0x79]),_0x435c99);}),_0x4d1929={[_0x2cb236([0x6b,0x74,0x79])]:_0x2cb236([0x45,0x43]),[_0x2cb236([0x75,0x73,0x65])]:_0x2cb236([0x73,0x69,0x67]),[_0x2cb236([0x63,0x72,0x76])]:_0x2cb236([0x50,0x2d,0x32,0x35,0x36]),[_0x2cb236([0x78])]:_0x2cb236([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]),[_0x2cb236([0x79])]:_0x2cb236([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]),[_0x2cb236([0x61,0x6c,0x67])]:_0x2cb236([0x45,0x53,0x32,0x35,0x36])},_0x42193f=_0x578a78[_0x2cb236([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cb236([0x67,0x65,0x74])](_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10e3cb(){let _0x5eb2b6,_0x23843b=null,_0x4f9bdd=null;try{if(_0x42193f==_0x2cb236([0x47,0x50,0x4c]))return _0x2cb236([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5eb2b6=_0x8adf93(),!_0x5eb2b6)return _0x2cb236([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5eb2b6[_0x2cb236([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f9bdd=_0x31fc08(_0x5eb2b6[_0x2cb236([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5eb2b6[_0x2cb236([0x6a,0x74,0x69])])),await _0x33f252()?_0x3871ef()?_0x16c932()?_0x2cb236([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6ceba5()?(_0x5eb2b6[_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cb236([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23843b=_0x520a6d(_0x2cb236([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5eb2b6[_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cb236([0x74,0x72,0x69,0x61,0x6c])&&(_0x23843b=_0x520a6d(_0x2cb236([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b45f5()):_0x2cb236([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cb236([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cb236([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cb236([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x16c932(){const _0x39a3b4=[_0x2cb236([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cb236([0x74,0x72,0x69,0x61,0x6c])][_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb2b6[_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa4e93a/0x3e8:0xe10*_0x1b744f;return _0x5eb2b6[_0x2cb236([0x65,0x78,0x70])]<_0x39a3b4;}function _0x3871ef(){const _0x52040c=_0x5eb2b6[_0x2cb236([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52040c&&(!!_0x52040c[_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb236([0x2a]))||!!_0x52040c[_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb236([0x53,0x45,0x45])));}function _0x6ceba5(){const _0x486443=_0x2cbf,_0x5def1d=_0x5eb2b6[_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5def1d||0x0==_0x5def1d[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x395aca}=new URL(window[_0x2cb236([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x486443(0xa5)]);if(_0x5def1d[_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x395aca))return!0x0;const _0x3d07d4=_0x395aca[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])](_0x2cb236([0x2e]));return _0x5def1d[_0x2cb236([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x128bb5=>_0x128bb5[_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb236([0x2a])))[_0x2cb236([0x6d,0x61,0x70])](_0x2659b3=>_0x2659b3[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])](_0x2cb236([0x2e])))[_0x2cb236([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f6e34=>_0x1f6e34[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d07d4[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cb236([0x6d,0x61,0x70])](_0x3a2d43=>Array(_0x3d07d4[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a2d43[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cb236([0x66,0x69,0x6c,0x6c])](_0x3a2d43[0x0]===_0x2cb236([0x2a])?_0x2cb236([0x2a]):'')[_0x2cb236([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a2d43))[_0x2cb236([0x73,0x6f,0x6d,0x65])](_0x312c60=>_0x3d07d4[_0x2cb236([0x65,0x76,0x65,0x72,0x79])]((_0x130f48,_0x5b3504)=>_0x312c60[_0x5b3504]===_0x130f48||_0x312c60[_0x5b3504]===_0x2cb236([0x2a])));}function _0x1b45f5(){return _0x23843b&&_0x4f9bdd?new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46a4fb,_0x35fa01)=>{_0x23843b[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x46a4fb,_0x35fa01),_0x4f9bdd[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x292361=>{_0x292361!=_0x2cb236([0x56,0x61,0x6c,0x69,0x64])&&_0x46a4fb(_0x292361);},_0x35fa01);}):_0x23843b||_0x4f9bdd||_0x2cb236([0x56,0x61,0x6c,0x69,0x64]);}}function _0x31fc08(_0x55f39a,_0x539bc6){return new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d27b3=>{if(_0x53a904())return _0x1d27b3(_0x2cb236([0x56,0x61,0x6c,0x69,0x64]));_0x1a5dce(),_0x578a78[_0x2cb236([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cb236([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45487e=!0x1;const _0x1345d4=_0x3a4121();function _0x3cd01a(_0x2b6140){return!!_0x2b6140&&(typeof _0x2b6140===_0x2cb236([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b6140===_0x2cb236([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b6140[_0x2cb236([0x74,0x68,0x65,0x6e])]===_0x2cb236([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b6140[_0x2cb236([0x63,0x61,0x74,0x63,0x68])]===_0x2cb236([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5537d9(_0x1f1421){_0x408853(_0x1f1421)[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x118bf2=>{if(!_0x118bf2||_0x118bf2[_0x2cb236([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cb236([0x6f,0x6b]))return _0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e28dd(_0x5cb45f(_0x1345d4+_0x539bc6))!=_0x118bf2[_0x2cb236([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cb236([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x241b07=>(_0x57d14f(),_0x241b07),()=>{const _0x463df1=_0x5ba8b7();return null==_0x463df1?(_0x57d14f(),_0x2cb236([0x56,0x61,0x6c,0x69,0x64])):_0x2cb236(_0xa4e93a-_0x463df1>(0x145981ed^_0x124e27)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x1d27b3)[_0x2cb236([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d27b3(_0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2251f4=0x3063eb6d^_0x124e27;function _0x57d14f(){const _0x33d058=_0x2cb236([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e28dd(_0x5cb45f(_0x55f39a)),_0x5efbda=_0x553ed4(_0x1e28dd(window[_0x2cb236([0x4d,0x61,0x74,0x68])][_0x2cb236([0x63,0x65,0x69,0x6c])](_0xa4e93a/_0x2251f4)));window[_0x2cb236([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cb236([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33d058,_0x5efbda);}function _0x5ba8b7(){const _0x2842cb=_0x2cb236([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e28dd(_0x5cb45f(_0x55f39a)),_0x385046=window[_0x2cb236([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cb236([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2842cb);return _0x385046?window[_0x2cb236([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x553ed4(_0x385046),0x10)*_0x2251f4:null;}function _0x408853(_0x767855){return new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x106c59,_0x1a6f33)=>{_0x767855[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x106c59,_0x1a6f33),window[_0x2cb236([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a6f33,0x3054d12d^_0x124e27);});}}_0x578a78[_0x2cb236([0x6f,0x6e])](_0x2cb236([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x558de0,_0x2b29c1)=>{if(_0x2b29c1[0x0]!=_0x55f39a)return _0x1d27b3(_0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b29c1[0x1]={..._0x2b29c1[0x1],[_0x2cb236([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1345d4};},{[_0x2cb236([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cb236([0x68,0x69,0x67,0x68])}),_0x578a78[_0x2cb236([0x6f,0x6e])](_0x2cb236([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a2ef1=>{_0x3cd01a(_0x1a2ef1[_0x2cb236([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45487e=!0x0,_0x5537d9(_0x1a2ef1[_0x2cb236([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cb236([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cb236([0x6c,0x6f,0x77])}),_0x43ccb0[_0x2cb236([0x74,0x68,0x65,0x6e])](()=>{_0x45487e||_0x1d27b3(_0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53a904(){return _0x578a78[_0x2cb236([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cb236([0x76,0x69,0x65,0x77])][_0x2cb236([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cb236([0x61,0x75,0x74,0x6f]);}function _0x1a5dce(){_0x578a78[_0x2cb236([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cb236([0x76,0x69,0x65,0x77])][_0x2cb236([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cb236([0x61,0x75,0x74,0x6f]);}}function _0x520a6d(_0x3b082a){const _0x89a75f=[new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x339791=>setTimeout(_0x339791,0x305c3b21^_0x124e27)),_0x43ccb0[_0x2cb236([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d7492=>{let _0x1961ec=0x0;_0x578a78[_0x2cb236([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cb236([0x6f,0x6e])](_0x2cb236([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28cca7,_0x4022dc)=>{_0x4022dc[0x0][_0x2cb236([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1961ec++,_0x1961ec==(0x30550415^_0x124e27)&&(_0x2d7492(),_0x28cca7[_0x2cb236([0x6f,0x66,0x66])]());});}))];return window[_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cb236([0x72,0x61,0x63,0x65])](_0x89a75f)[_0x2cb236([0x74,0x68,0x65,0x6e])](()=>_0x3b082a);}async function _0x43305c(){await _0x43ccb0,_0x578a78[_0x2cb236([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cb236([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17eee7,_0x578a78[_0x2cb236([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cb236([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17eee7,_0x578a78[_0x2cb236([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cb236([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19732c(_0x3a9eb9){const _0x22881d=_0x42cf7d();_0x578a78[_0x22881d]=_0x2cb236([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])+_0x3a9eb9,_0x3a9eb9!=_0x2cb236([0x56,0x61,0x6c,0x69,0x64])&&_0x43305c();}function _0x42cf7d(){const _0x39335f=window[_0x2cb236([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cb236([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cb236([0x6e,0x6f,0x77])]())[_0x2cb236([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cb236([0x2e]),'');let _0x569d12=_0x2cb236([0x75]);for(let _0x4c3608=0x0;_0x4c3608<_0x39335f[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c3608+=0x2){let _0x30acd4=window[_0x2cb236([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39335f[_0x2cb236([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3608,_0x4c3608+0x2));_0x30acd4>=_0x1a0dce[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30acd4-=_0x1a0dce[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x569d12+=_0x1a0dce[_0x30acd4];}return _0x569d12;}function _0x8adf93(){const _0x125be2=_0x42193f[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])](_0x2cb236([0x2e]));if(0x3!=_0x125be2[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31ec27(_0x125be2[0x1]);function _0x31ec27(_0x492f98){const _0x366038=_0x21a35c(_0x492f98);return _0x366038&&_0x4cd8c6()?_0x366038:null;function _0x4cd8c6(){const _0x109017=_0x366038[_0x2cb236([0x6a,0x74,0x69])],_0x84f2bf=window[_0x2cb236([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x109017[_0x2cb236([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x109017[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a3413={..._0x366038,[_0x2cb236([0x6a,0x74,0x69])]:_0x109017[_0x2cb236([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x109017[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a3413[_0x2cb236([0x76,0x63])],_0x5cb45f(_0x5a3413)==_0x84f2bf;}}}async function _0x33f252(){let _0x494a3b=!0x0;try{const _0x1f155e=_0x42193f[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])](_0x2cb236([0x2e])),[_0x2882df,_0x3b0fe4,_0x1c9ed6]=_0x1f155e;return _0x53d9a0(_0x2882df),await _0x47d732(_0x2882df,_0x3b0fe4,_0x1c9ed6),_0x494a3b;}catch{return!0x1;}function _0x53d9a0(_0x20a1ac){const _0x2c7e89=_0x21a35c(_0x20a1ac);_0x2c7e89&&_0x2c7e89[_0x2cb236([0x61,0x6c,0x67])]==_0x2cb236([0x45,0x53,0x32,0x35,0x36])||(_0x494a3b=!0x1);}async function _0x47d732(_0xe57fde,_0x4c45e8,_0xbf86a6){const _0x513417=window[_0x2cb236([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cb236([0x66,0x72,0x6f,0x6d])](_0x18b52c(_0xbf86a6),_0x1d7d31=>_0x1d7d31[_0x2cb236([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x599f37=new window[(_0x2cb236([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cb236([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe57fde+_0x2cb236([0x2e])+_0x4c45e8),_0x1bb53b=window[_0x2cb236([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cb236([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1bb53b)return;const _0x4bf52d=await _0x1bb53b[_0x2cb236([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cb236([0x6a,0x77,0x6b]),_0x4d1929,{[_0x2cb236([0x6e,0x61,0x6d,0x65])]:_0x2cb236([0x45,0x43,0x44,0x53,0x41]),[_0x2cb236([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cb236([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cb236([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1bb53b[_0x2cb236([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cb236([0x6e,0x61,0x6d,0x65])]:_0x2cb236([0x45,0x43,0x44,0x53,0x41]),[_0x2cb236([0x68,0x61,0x73,0x68])]:{[_0x2cb236([0x6e,0x61,0x6d,0x65])]:_0x2cb236([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4bf52d,_0x513417,_0x599f37)||(_0x494a3b=!0x1);}}function _0x21a35c(_0x3fd51c){return _0x3fd51c[_0x2cb236([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cb236([0x65,0x79]))?JSON[_0x2cb236([0x70,0x61,0x72,0x73,0x65])](_0x18b52c(_0x3fd51c)):null;}function _0x18b52c(_0x5b657a){return window[_0x2cb236([0x61,0x74,0x6f,0x62])](_0x5b657a[_0x2cb236([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cb236([0x2b]))[_0x2cb236([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cb236([0x2f])));}function _0x5cb45f(_0x2a859e){let _0x27a683=0x1505;function _0x1f2f39(_0x189449){for(let _0x2edb6e=0x0;_0x2edb6e<_0x189449[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2edb6e++){const _0x3926cd=_0x189449[_0x2cb236([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2edb6e);_0x27a683=(_0x27a683<<0x5)+_0x27a683+_0x3926cd,_0x27a683&=_0x27a683;}}function _0x3d7403(_0x8c373a){Array[_0x2cb236([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8c373a)?_0x8c373a[_0x2cb236([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d7403):_0x8c373a&&typeof _0x8c373a==_0x2cb236([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cb236([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8c373a)[_0x2cb236([0x73,0x6f,0x72,0x74])]()[_0x2cb236([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ece00,_0x38d146])=>{_0x1f2f39(_0x4ece00),_0x3d7403(_0x38d146);}):_0x1f2f39(window[_0x2cb236([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8c373a));}return _0x3d7403(_0x2a859e),_0x27a683>>>0x0;}function _0x1e28dd(_0x598e42){return _0x598e42[_0x2cb236([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cb236([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cb236([0x30]));}function _0x553ed4(_0x469de0){return _0x469de0[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cb236([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cb236([0x6a,0x6f,0x69,0x6e])]('');}function _0x17eee7(){}function _0x2cb236(_0x59df40){const _0x4c5ea6=_0x2cbf;return _0x59df40[_0x4c5ea6(0xd9)](_0x50b974=>String[_0x4c5ea6(0xd5)](_0x50b974))[_0x4c5ea6(0xc3)]('');}_0x19732c(await _0x10e3cb());}(this);}[_0x16c6c3(0xeb)](_0x29d845,_0x3f5398,_0x4eeb85=!0x1){const _0x5cf757=_0x16c6c3,_0x30f277=new _0x29d845(this[_0x5cf757(0xda)][_0x5cf757(0xec)]);return _0x30f277[_0x5cf757(0xd2)]({'withText':_0x4eeb85,'isToggleable':!0x1}),_0x30f277[_0x5cf757(0xa1)](_0x5cf757(0xb7))['to'](_0x3f5398,_0x5cf757(0xb7)),this[_0x5cf757(0xdf)](_0x30f277,_0x5cf757(0xa3),()=>_0x3f5398[_0x5cf757(0xa3)]()),_0x30f277;}[_0x16c6c3(0xe4)](){const _0x236a72=_0x16c6c3,_0x47d8ab=this[_0x236a72(0xda)][_0x236a72(0xec)];this[_0x236a72(0xda)][_0x236a72(0xdc)][_0x236a72(0xe9)]({'id':_0x236a72(0xea),'label':_0x580de3(_0x47d8ab,_0x236a72(0xaa))});const _0x43ac72=_0x52d878[_0x236a72(0xc0)]||_0x52d878[_0x236a72(0xbf)];this[_0x236a72(0xda)][_0x236a72(0xdc)][_0x236a72(0xca)]({'categoryId':_0x236a72(0xea),'keystrokes':[{'label':_0x580de3(_0x47d8ab,_0x236a72(0x9d)),'keystroke':_0x236a72(0xe0)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xa2)),'keystroke':_0x236a72(0xc1)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xce)),'keystroke':_0x236a72(0xe6)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xcf)),'keystroke':_0x236a72(0x9a)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0x98)),'keystroke':_0x236a72(0xaf)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xa9)),'keystroke':_0x236a72(0x9c)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xbd)),'keystroke':_0x43ac72?_0x236a72(0xd6):_0x236a72(0xc5)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xdb)),'keystroke':_0x236a72(0xdd)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0x9f)),'keystroke':_0x236a72(0xde)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xe1)),'keystroke':[[_0x236a72(0xd4)],[_0x236a72(0xb9)]]},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xd3)),'keystroke':_0x43ac72?_0x236a72(0xe7):_0x236a72(0xba)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xb8)),'keystroke':_0x43ac72?_0x236a72(0xc7):_0x236a72(0xb6)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xd0)),'keystroke':_0x236a72(0xcc)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xbc)),'keystroke':_0x236a72(0xc2)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xad)),'keystroke':_0x236a72(0xa6)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xa8)),'keystroke':_0x236a72(0xac)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xa0)),'keystroke':_0x43ac72?_0x236a72(0xa7):_0x236a72(0xbe)}]});}}