@ckeditor/ckeditor5-source-editing-enhanced 46.0.1-alpha.0 → 46.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x39b684,PendingActions as _0x4f278d,Plugin as _0x4a8fc5}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x442ab4,formatHtml as _0x54787e,env as _0x4c4aab,uid as _0x3dfe43}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1d0cc3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4e5955,ButtonView as _0x4d441c,MenuBarMenuListItemButtonView as _0x171bb7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4c64ad,crosshairCursor as _0x25bbb5,drawSelection as _0x2152c8,dropCursor as _0x55f29b,lineNumbers as _0x8be099,highlightActiveLine as _0x382df5,highlightActiveLineGutter as _0x5f5572,highlightSpecialChars as _0x596fca,rectangularSelection as _0x3113d7,keymap as _0x3a3a1b}from'@codemirror/view';import{Compartment as _0x29e0f4,Transaction as _0x5e6e98}from'@codemirror/state';import{bracketMatching as _0x4ef0a0,foldGutter as _0x3c200a,indentOnInput as _0x37c79f,syntaxHighlighting as _0x5a691c,defaultHighlightStyle as _0x5567ca,foldKeymap as _0x4a0a86}from'@codemirror/language';import{toggleTabFocusMode as _0x453f06,history as _0x218110,defaultKeymap as _0x4bb69c,historyKeymap as _0xc1fd60,indentLess as _0x3298a9,indentMore as _0xb21e41,redo as _0x6a138f,undo as _0x533594}from'@codemirror/commands';import{autocompletion as _0x1bfbc6,closeBrackets as _0x4ecb32,closeBracketsKeymap as _0x3cafb6,completionKeymap as _0x4468a8}from'@codemirror/autocomplete';import{html as _0x272ee5}from'@codemirror/lang-html';import{markdown as _0x578e41}from'@codemirror/lang-markdown';import{oneDark as _0x4c969e}from'@codemirror/theme-one-dark';function w(_0x474e2d,_0x100e44){const t=_0x474e2d['t'];switch(_0x100e44){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 _0x100e44;}}function r(_0x1093ff){const _0x4374c8=_0x1093ff['editing']['view']['document']['roots'],_0x46a333=_0x4374c8['length'];if(0x0===_0x46a333)throw new _0x442ab4('source-editing-enhanced-editor-no-root',_0x1093ff);if(0x1===_0x46a333)return _0x4374c8['first']['rootName'];return Array['from'](_0x1093ff['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x1c4252){return X(_0x1c4252['replace'](/^[\n\s]*/g,''))?_0x1c4252['replace'](/\s+/g,''):_0x1c4252;}function X(_0x5446b2){return _0x5446b2['startsWith']('<');}function Y(_0x26d26e){const _0x17a79e=[_0x4c64ad['lineWrapping'],_0x1bfbc6(),_0x4ef0a0(),_0x4ecb32(),_0x25bbb5(),_0x2152c8(),_0x55f29b(),_0x8be099(),_0x3c200a(),_0x382df5(),_0x5f5572(),_0x596fca(),_0x218110(),_0x37c79f(),_0x3113d7(),_0x5a691c(_0x5567ca,{'fallback':!0x0})],_0x49e690=new _0x29e0f4();_0x17a79e['push'](_0x49e690['of'](_0x4c64ad['editable']['of'](!0x0))),'html'===_0x26d26e['syntaxLanguage']?_0x17a79e['push'](_0x272ee5()):_0x17a79e['push'](_0x578e41());const _0x3d04c3=function(_0x3dbf7c){if(_0x3dbf7c&&'default'!==_0x3dbf7c)return'dark'===_0x3dbf7c?_0x4c969e:_0x3dbf7c;return null;}(_0x26d26e['theme']);_0x3d04c3&&_0x17a79e['push'](_0x3d04c3),_0x17a79e['push'](_0x3a3a1b['of']([..._0x3cafb6,..._0x4bb69c,..._0xc1fd60,..._0x4a0a86,..._0x4468a8,{'key':'Tab','run':_0xb21e41,'shift':_0x3298a9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x6a138f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x6a138f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x533594,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x195200=new _0x4c64ad({'extensions':_0x17a79e,'parent':_0x26d26e['parent']});return _0x453f06(_0x195200),{'focus':()=>{_0x195200['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x195200['focus']();},'getData':()=>_0x195200['state']['doc']['toString'](),'setData':_0x24ef80=>{_0x195200['dispatch']({'changes':{'from':0x0,'to':_0x195200['state']['doc']['length'],'insert':_0x24ef80},'annotations':_0x5e6e98['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2aff39=>{_0x195200['dispatch']({'effects':[_0x49e690['reconfigure'](_0x4c64ad['editable']['of'](!_0x2aff39))]});},'destroy':()=>{_0x195200['destroy']();},'instance':_0x195200};}class ee extends _0x4e5955{['_codeEditorApi']=null;['_options'];constructor(_0x16fa75,_0x393cba){super(_0x16fa75),this['_options']=_0x393cba,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']=Y({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0xcad0a3,_0x5de087,_0x23bb4c)=>{this['setReadOnly'](_0x23bb4c);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1c6e43){this['_codeEditorApi']['setData'](_0x1c6e43);}['setReadOnly'](_0x196333){this['_codeEditorApi']['setReadOnly'](_0x196333);}}const te='SourceEditingEnhancedMode';class d extends _0x39b684{constructor(_0x1c386c){super(_0x1c386c),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x4f278d)['on']('change:hasAny',(_0x1631b8,_0x491e93,_0x475135)=>{_0x475135?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x291d2d=this['editor'];for(const _0x493bb9 of _0x291d2d['commands']['names']())['replaceSource','editSource']['includes'](_0x493bb9)||_0x291d2d['commands']['get'](_0x493bb9)['forceDisabled'](te);}['_enableCommands'](){const _0x808fa0=this['editor'];for(const _0x15f562 of _0x808fa0['commands']['commands']())_0x15f562['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4995df=this['editor'],_0x339160=_0x4995df['locale'],_0x547093=_0x4995df['plugins']['get']('Dialog'),_0x16f821=r(_0x4995df),_0x2820ed=_0x4995df['data']['get']({'rootName':_0x16f821}),_0x496dfc=X(_0x5a73d5=_0x2820ed)?_0x54787e(_0x5a73d5):_0x5a73d5;var _0x5a73d5;const _0x2f16ad=new ee(_0x339160,{'syntaxLanguage':_0x4995df['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4995df['config']['get']('sourceEditingEnhanced.theme')});let _0x42245f=!0x0;const _0x1b8c40=_0x2b50e5=>{if(!_0x42245f)return;return $(_0x2f16ad['getData']())!==$(_0x496dfc)?window['confirm'](w(_0x339160,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2b50e5['stop']():void 0x0;};_0x547093['show']({'id':'sourceEditingEnhanced','title':w(_0x339160,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2f16ad,'actionButtons':[{'label':w(_0x339160,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x547093['hide']();}},{'label':w(_0x339160,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3fc77b=$(_0x2f16ad['getData']())!==$(_0x496dfc);(_0x3fc77b&&_0x4995df['execute']('replaceSource',_0x2f16ad['getData']()),_0x42245f=!0x1,_0x547093['hide'](),_0x3fc77b&&'editables'in _0x4995df['ui']['view'])&&_0x4995df['ui']['view']['editables'][_0x16f821]['element']['focus']();},'onCreate':_0x2cc16b=>{_0x2cc16b['set']('isEnabled',!_0x4995df['isReadOnly']),_0x2cc16b['bind']('isEnabled')['to'](_0x4995df,'isReadOnly',this,'isEnabled',(_0x5ed42b,_0x54e12c)=>!_0x5ed42b&&_0x54e12c);}}],'onHide':()=>{this['_enableCommands'](),_0x547093['off']('hide',_0x1b8c40),_0x2f16ad['destroy']();},'onShow':()=>{_0x2f16ad['bind']('isReadOnly')['to'](_0x4995df,'isReadOnly',this,'isEnabled',(_0x26e8a1,_0x42819e)=>_0x26e8a1||!_0x42819e),_0x2f16ad['setData'](_0x496dfc),_0x2f16ad['focus'](),_0x547093['on']('hide',_0x1b8c40,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4a8fc5{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x4f278d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1792f3=this['editor'],_0x15c870=_0x1792f3['locale'],_0x2d591a=new d(_0x1792f3);_0x1792f3['commands']['add']('editSource',_0x2d591a),_0x1792f3['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x321286=this['_createButton'](_0x4d441c,_0x2d591a);return _0x321286['set']({'label':w(_0x15c870,'Source'),'icon':_0x1d0cc3,'tooltip':w(_0x15c870,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x321286;}),_0x1792f3['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x45e61b=this['_createButton'](_0x171bb7,_0x2d591a,!0x0);return _0x45e61b['set']({'label':w(_0x15c870,'Edit\x20source\x20modal\x20label'),'icon':_0x1d0cc3,'role':'menuitemcheckbox'}),_0x45e61b;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1ad397){const _0x581403=_0x12ea3a([0x49,0x4f,0x58,0x53,0x50,0x69,0x6d,0x79,0x4b,0x6f,0x39,0x38,0x71,0x63,0x33,0x68,0x42,0x59,0x56,0x5a,0x32,0x34,0x45,0x46,0x66,0x76,0x48,0x43,0x31,0x4a,0x78,0x52,0x36,0x72,0x74,0x62,0x6b,0x67,0x73,0x4c,0x41,0x57,0x7a,0x55,0x77,0x37,0x44,0x64,0x6c,0x6a,0x65,0x30,0x75,0x6e,0x51,0x4d,0x70,0x4e,0x35,0x54,0x61,0x47]),_0x951c71=0x2ad6e98f,_0x252cd3=0x2ad18687^_0x951c71,_0x2a94b5=window[_0x12ea3a([0x44,0x61,0x74,0x65])][_0x12ea3a([0x6e,0x6f,0x77])](),_0x5df0e1=_0x1ad397[_0x12ea3a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33728e=new window[(_0x12ea3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a528a=>{_0x5df0e1[_0x12ea3a([0x6f,0x6e,0x63,0x65])](_0x12ea3a([0x72,0x65,0x61,0x64,0x79]),_0x4a528a);}),_0x45274c={[_0x12ea3a([0x6b,0x74,0x79])]:_0x12ea3a([0x45,0x43]),[_0x12ea3a([0x75,0x73,0x65])]:_0x12ea3a([0x73,0x69,0x67]),[_0x12ea3a([0x63,0x72,0x76])]:_0x12ea3a([0x50,0x2d,0x32,0x35,0x36]),[_0x12ea3a([0x78])]:_0x12ea3a([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]),[_0x12ea3a([0x79])]:_0x12ea3a([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]),[_0x12ea3a([0x61,0x6c,0x67])]:_0x12ea3a([0x45,0x53,0x32,0x35,0x36])},_0x5b7d53=_0x5df0e1[_0x12ea3a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12ea3a([0x67,0x65,0x74])](_0x12ea3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x402c0d(){let _0x219bf0,_0x5cb385=null,_0x4610f2=null;try{if(_0x5b7d53==_0x12ea3a([0x47,0x50,0x4c]))return _0x12ea3a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x219bf0=_0x3d2d7e(),!_0x219bf0)return _0x12ea3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x219bf0[_0x12ea3a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4610f2=_0x5e9494(_0x219bf0[_0x12ea3a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x219bf0[_0x12ea3a([0x6a,0x74,0x69])])),await _0x122c74()?_0x594b22()?_0x3e15ae()?_0x12ea3a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a46d2()?(_0x219bf0[_0x12ea3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ea3a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5cb385=_0x14a857(_0x12ea3a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x219bf0[_0x12ea3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ea3a([0x74,0x72,0x69,0x61,0x6c])&&(_0x5cb385=_0x14a857(_0x12ea3a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x287e4f()):_0x12ea3a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12ea3a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12ea3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12ea3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e15ae(){const _0x33b1e7=[_0x12ea3a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12ea3a([0x74,0x72,0x69,0x61,0x6c])][_0x12ea3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219bf0[_0x12ea3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a94b5/0x3e8:0xe10*_0x252cd3;return _0x219bf0[_0x12ea3a([0x65,0x78,0x70])]<_0x33b1e7;}function _0x594b22(){const _0x1cb079=_0x219bf0[_0x12ea3a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1cb079&&(!!_0x1cb079[_0x12ea3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ea3a([0x2a]))||!!_0x1cb079[_0x12ea3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ea3a([0x53,0x45,0x45])));}function _0x3a46d2(){const _0xe52948=_0x219bf0[_0x12ea3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe52948||0x0==_0xe52948[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x437980}=new URL(window[_0x12ea3a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xe52948[_0x12ea3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x437980))return!0x0;const _0xa07e9f=_0x437980[_0x12ea3a([0x73,0x70,0x6c,0x69,0x74])](_0x12ea3a([0x2e]));return _0xe52948[_0x12ea3a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59b042=>_0x59b042[_0x12ea3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ea3a([0x2a])))[_0x12ea3a([0x6d,0x61,0x70])](_0x4d5433=>_0x4d5433[_0x12ea3a([0x73,0x70,0x6c,0x69,0x74])](_0x12ea3a([0x2e])))[_0x12ea3a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58a0d1=>_0x58a0d1[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa07e9f[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ea3a([0x6d,0x61,0x70])](_0x43c5f5=>Array(_0xa07e9f[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43c5f5[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ea3a([0x66,0x69,0x6c,0x6c])](_0x43c5f5[0x0]===_0x12ea3a([0x2a])?_0x12ea3a([0x2a]):'')[_0x12ea3a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43c5f5))[_0x12ea3a([0x73,0x6f,0x6d,0x65])](_0x3286fa=>_0xa07e9f[_0x12ea3a([0x65,0x76,0x65,0x72,0x79])]((_0x446a17,_0xa3aaa5)=>_0x3286fa[_0xa3aaa5]===_0x446a17||_0x3286fa[_0xa3aaa5]===_0x12ea3a([0x2a])));}function _0x287e4f(){return _0x5cb385&&_0x4610f2?new window[(_0x12ea3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51c73a,_0x2db7e3)=>{_0x5cb385[_0x12ea3a([0x74,0x68,0x65,0x6e])](_0x51c73a,_0x2db7e3),_0x4610f2[_0x12ea3a([0x74,0x68,0x65,0x6e])](_0x2af63e=>{_0x2af63e!=_0x12ea3a([0x56,0x61,0x6c,0x69,0x64])&&_0x51c73a(_0x2af63e);},_0x2db7e3);}):_0x5cb385||_0x4610f2||_0x12ea3a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e9494(_0x86ff41,_0x495312){return new window[(_0x12ea3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x226a1a=>{if(_0x946b5e())return _0x226a1a(_0x12ea3a([0x56,0x61,0x6c,0x69,0x64]));_0x57b937(),_0x5df0e1[_0x12ea3a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12ea3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd88997=!0x1;const _0x3b1caa=_0x3dfe43();function _0x194197(_0x3ae6ca){return!!_0x3ae6ca&&(typeof _0x3ae6ca===_0x12ea3a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ae6ca===_0x12ea3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ae6ca[_0x12ea3a([0x74,0x68,0x65,0x6e])]===_0x12ea3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ae6ca[_0x12ea3a([0x63,0x61,0x74,0x63,0x68])]===_0x12ea3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x560a8a(_0x45010b){_0x2deb94(_0x45010b)[_0x12ea3a([0x74,0x68,0x65,0x6e])](_0x4a1e05=>{if(!_0x4a1e05||_0x4a1e05[_0x12ea3a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12ea3a([0x6f,0x6b]))return _0x12ea3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30981d(_0x3947d1(_0x3b1caa+_0x495312))!=_0x4a1e05[_0x12ea3a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12ea3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12ea3a([0x56,0x61,0x6c,0x69,0x64]);})[_0x12ea3a([0x74,0x68,0x65,0x6e])](_0x329875=>(_0x28890f(),_0x329875),()=>{const _0x517c2a=_0x548053();return null==_0x517c2a?(_0x28890f(),_0x12ea3a([0x56,0x61,0x6c,0x69,0x64])):_0x12ea3a(_0x2a94b5-_0x517c2a>(0xeda6d8f^_0x951c71)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12ea3a([0x74,0x68,0x65,0x6e])](_0x226a1a)[_0x12ea3a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x226a1a(_0x12ea3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56810e=0x2ae0070f^_0x951c71;function _0x28890f(){const _0x479a7c=_0x12ea3a([0x6c,0x6c,0x63,0x74,0x2d])+_0x30981d(_0x3947d1(_0x86ff41)),_0x575528=_0x5d3ca0(_0x30981d(window[_0x12ea3a([0x4d,0x61,0x74,0x68])][_0x12ea3a([0x63,0x65,0x69,0x6c])](_0x2a94b5/_0x56810e)));window[_0x12ea3a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ea3a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x479a7c,_0x575528);}function _0x548053(){const _0x5dcc56=_0x12ea3a([0x6c,0x6c,0x63,0x74,0x2d])+_0x30981d(_0x3947d1(_0x86ff41)),_0x3db98d=window[_0x12ea3a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ea3a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dcc56);return _0x3db98d?window[_0x12ea3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d3ca0(_0x3db98d),0x10)*_0x56810e:null;}function _0x2deb94(_0x2f508e){return new window[(_0x12ea3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53ac74,_0x9fe3b4)=>{_0x2f508e[_0x12ea3a([0x74,0x68,0x65,0x6e])](_0x53ac74,_0x9fe3b4),window[_0x12ea3a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9fe3b4,0x2ad73d4f^_0x951c71);});}}_0x5df0e1[_0x12ea3a([0x6f,0x6e])](_0x12ea3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19bae7,_0xe9ff1a)=>{if(_0xe9ff1a[0x0]!=_0x86ff41)return _0x226a1a(_0x12ea3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe9ff1a[0x1]={..._0xe9ff1a[0x1],[_0x12ea3a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b1caa};},{[_0x12ea3a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ea3a([0x68,0x69,0x67,0x68])}),_0x5df0e1[_0x12ea3a([0x6f,0x6e])](_0x12ea3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x580e8d=>{_0x194197(_0x580e8d[_0x12ea3a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd88997=!0x0,_0x560a8a(_0x580e8d[_0x12ea3a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12ea3a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ea3a([0x6c,0x6f,0x77])}),_0x33728e[_0x12ea3a([0x74,0x68,0x65,0x6e])](()=>{_0xd88997||_0x226a1a(_0x12ea3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x946b5e(){return _0x5df0e1[_0x12ea3a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ea3a([0x76,0x69,0x65,0x77])][_0x12ea3a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12ea3a([0x61,0x75,0x74,0x6f]);}function _0x57b937(){_0x5df0e1[_0x12ea3a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ea3a([0x76,0x69,0x65,0x77])][_0x12ea3a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12ea3a([0x61,0x75,0x74,0x6f]);}}function _0x14a857(_0x7c7e90){const _0x27471d=[new window[(_0x12ea3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b769b=>setTimeout(_0x1b769b,0x2adfd743^_0x951c71)),_0x33728e[_0x12ea3a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12ea3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c8185=>{let _0x5797ce=0x0;_0x5df0e1[_0x12ea3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ea3a([0x6f,0x6e])](_0x12ea3a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x761152,_0x19d6aa)=>{_0x19d6aa[0x0][_0x12ea3a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5797ce++,_0x5797ce==(0x2ad6e877^_0x951c71)&&(_0x1c8185(),_0x761152[_0x12ea3a([0x6f,0x66,0x66])]());});}))];return window[_0x12ea3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12ea3a([0x72,0x61,0x63,0x65])](_0x27471d)[_0x12ea3a([0x74,0x68,0x65,0x6e])](()=>_0x7c7e90);}async function _0x1d3f61(){await _0x33728e,_0x5df0e1[_0x12ea3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ea3a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1651de,_0x5df0e1[_0x12ea3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ea3a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1651de,_0x5df0e1[_0x12ea3a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12ea3a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x238188(_0x29db2c){const _0x20057b=_0x10628d();_0x5df0e1[_0x20057b]=_0x12ea3a([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])+_0x29db2c,_0x29db2c!=_0x12ea3a([0x56,0x61,0x6c,0x69,0x64])&&_0x1d3f61();}function _0x10628d(){const _0x17089b=window[_0x12ea3a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12ea3a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12ea3a([0x6e,0x6f,0x77])]())[_0x12ea3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12ea3a([0x2e]),'');let _0x423ef6=_0x12ea3a([0x49]);for(let _0xf103ec=0x0;_0xf103ec<_0x17089b[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf103ec+=0x2){let _0x295115=window[_0x12ea3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17089b[_0x12ea3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf103ec,_0xf103ec+0x2));_0x295115>=_0x581403[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x295115-=_0x581403[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x423ef6+=_0x581403[_0x295115];}return _0x423ef6;}function _0x3d2d7e(){const _0x1aa3f5=_0x5b7d53[_0x12ea3a([0x73,0x70,0x6c,0x69,0x74])](_0x12ea3a([0x2e]));if(0x3!=_0x1aa3f5[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x322c12(_0x1aa3f5[0x1]);function _0x322c12(_0x2d541d){const _0x6ffa8e=_0x2b3b99(_0x2d541d);return _0x6ffa8e&&_0x38721e()?_0x6ffa8e:null;function _0x38721e(){const _0x4b458a=_0x6ffa8e[_0x12ea3a([0x6a,0x74,0x69])],_0x548632=window[_0x12ea3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b458a[_0x12ea3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b458a[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f9e4a={..._0x6ffa8e,[_0x12ea3a([0x6a,0x74,0x69])]:_0x4b458a[_0x12ea3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b458a[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f9e4a[_0x12ea3a([0x76,0x63])],_0x3947d1(_0x2f9e4a)==_0x548632;}}}async function _0x122c74(){let _0x57aba6=!0x0;try{const _0x5d7088=_0x5b7d53[_0x12ea3a([0x73,0x70,0x6c,0x69,0x74])](_0x12ea3a([0x2e])),[_0x3474f6,_0x40d23c,_0x209e85]=_0x5d7088;return _0xd6d5d9(_0x3474f6),await _0x56f3d2(_0x3474f6,_0x40d23c,_0x209e85),_0x57aba6;}catch{return!0x1;}function _0xd6d5d9(_0x415543){const _0x11c915=_0x2b3b99(_0x415543);_0x11c915&&_0x11c915[_0x12ea3a([0x61,0x6c,0x67])]==_0x12ea3a([0x45,0x53,0x32,0x35,0x36])||(_0x57aba6=!0x1);}async function _0x56f3d2(_0x3869ef,_0x5cd9fc,_0x26e27f){const _0x461893=window[_0x12ea3a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12ea3a([0x66,0x72,0x6f,0x6d])](_0x29726e(_0x26e27f),_0x57e05b=>_0x57e05b[_0x12ea3a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49ec96=new window[(_0x12ea3a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12ea3a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3869ef+_0x12ea3a([0x2e])+_0x5cd9fc),_0x2b27d4=window[_0x12ea3a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12ea3a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b27d4)return;const _0x3e3e7c=await _0x2b27d4[_0x12ea3a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12ea3a([0x6a,0x77,0x6b]),_0x45274c,{[_0x12ea3a([0x6e,0x61,0x6d,0x65])]:_0x12ea3a([0x45,0x43,0x44,0x53,0x41]),[_0x12ea3a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12ea3a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12ea3a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b27d4[_0x12ea3a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12ea3a([0x6e,0x61,0x6d,0x65])]:_0x12ea3a([0x45,0x43,0x44,0x53,0x41]),[_0x12ea3a([0x68,0x61,0x73,0x68])]:{[_0x12ea3a([0x6e,0x61,0x6d,0x65])]:_0x12ea3a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e3e7c,_0x461893,_0x49ec96)||(_0x57aba6=!0x1);}}function _0x2b3b99(_0x41c3c4){return _0x41c3c4[_0x12ea3a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12ea3a([0x65,0x79]))?JSON[_0x12ea3a([0x70,0x61,0x72,0x73,0x65])](_0x29726e(_0x41c3c4)):null;}function _0x29726e(_0x4bfbee){return window[_0x12ea3a([0x61,0x74,0x6f,0x62])](_0x4bfbee[_0x12ea3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12ea3a([0x2b]))[_0x12ea3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12ea3a([0x2f])));}function _0x3947d1(_0x463714){let _0xf32849=0x1505;function _0x273913(_0x1cc806){for(let _0x54ce92=0x0;_0x54ce92<_0x1cc806[_0x12ea3a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54ce92++){const _0xacf70d=_0x1cc806[_0x12ea3a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54ce92);_0xf32849=(_0xf32849<<0x5)+_0xf32849+_0xacf70d,_0xf32849&=_0xf32849;}}function _0x2a97f6(_0x56f486){Array[_0x12ea3a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56f486)?_0x56f486[_0x12ea3a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a97f6):_0x56f486&&typeof _0x56f486==_0x12ea3a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12ea3a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56f486)[_0x12ea3a([0x73,0x6f,0x72,0x74])]()[_0x12ea3a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x429433,_0xe2497c])=>{_0x273913(_0x429433),_0x2a97f6(_0xe2497c);}):_0x273913(window[_0x12ea3a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56f486));}return _0x2a97f6(_0x463714),_0xf32849>>>0x0;}function _0x30981d(_0x50fe88){return _0x50fe88[_0x12ea3a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12ea3a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12ea3a([0x30]));}function _0x5d3ca0(_0x5e67ab){return _0x5e67ab[_0x12ea3a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12ea3a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12ea3a([0x6a,0x6f,0x69,0x6e])]('');}function _0x1651de(){}function _0x12ea3a(_0xd5ae51){return _0xd5ae51['map'](_0x848d4a=>String['fromCharCode'](_0x848d4a))['join']('');}_0x238188(await _0x402c0d());}(this);}['_createButton'](_0x592e6f,_0x3d5927,_0x40a225=!0x1){const _0x3ac523=new _0x592e6f(this['editor']['locale']);return _0x3ac523['set']({'withText':_0x40a225,'isToggleable':!0x1}),_0x3ac523['bind']('isEnabled')['to'](_0x3d5927,'isEnabled'),this['listenTo'](_0x3ac523,'execute',()=>_0x3d5927['execute']()),_0x3ac523;}['_registerKeybindings'](){const _0x21e672=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x21e672,'Source\x20Editing\x20Enhanced')});const _0x15a1c4=_0x4c4aab['isMac']||_0x4c4aab['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x21e672,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x21e672,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x21e672,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x21e672,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x21e672,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x21e672,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x21e672,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x15a1c4?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x21e672,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x21e672,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x21e672,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x21e672,'Select\x20line'),'keystroke':_0x15a1c4?'Ctrl!+L':'Alt+L'},{'label':w(_0x21e672,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x15a1c4?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x21e672,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x21e672,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x21e672,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x21e672,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x21e672,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x15a1c4?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x39b684{constructor(_0x516a48){super(_0x516a48),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x17d08d,_0xfca05e){const _0x3c1160=this['editor'],_0x495c2c=_0xfca05e?.['rootName']??r(_0x3c1160);_0x3c1160['data']['set']({[_0x495c2c]:_0x17d08d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ne extends _0x4a8fc5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x262cfa){super(_0x262cfa),_0x262cfa['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 _0x3871f3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1125ff;for(const _0x40b826 in _0x3871f3){const _0x3843b8=_0x40b826,_0x33af35=_0x3871f3[_0x3843b8];if('sourceEditingEnhancedLicenseKeyValid'==_0x33af35||'sourceEditingEnhancedLicenseKeyInvalid'==_0x33af35||'sourceEditingEnhancedLicenseKeyExpired'==_0x33af35||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x33af35||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x33af35||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x33af35||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x33af35||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x33af35){delete _0x3871f3[_0x3843b8],_0x1125ff=_0x33af35,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1125ff&&_0x3871f3['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1125ff&&_0x3871f3['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1125ff&&_0x3871f3['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1125ff&&_0x3871f3['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1125ff&&_0x3871f3['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1125ff&&_0x3871f3['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1125ff&&_0x3871f3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3dc8fa=this['editor'],_0x13ea14=_0x3dc8fa['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x13ea14&&_0x3dc8fa['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x442ab4('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x13ea14&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4a6fe0=>_0x3dc8fa['plugins']['has'](_0x4a6fe0))&&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.'),_0x3dc8fa['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,ne as SourceEditingEnhanced};
23
+ import{Command as _0x492d65,PendingActions as _0x577480,Plugin as _0x3b28c0}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3901d6,formatHtml as _0x48ffe8,env as _0x54a630,uid as _0x1a8271}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x43c4c5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x122e40,ButtonView as _0x51f8e6,MenuBarMenuListItemButtonView as _0x626999}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x600b9c,crosshairCursor as _0x8cd905,drawSelection as _0x1fa014,dropCursor as _0x468cd8,lineNumbers as _0x4b499a,highlightActiveLine as _0x235f15,highlightActiveLineGutter as _0xab297a,highlightSpecialChars as _0x78a463,rectangularSelection as _0xb3ba65,keymap as _0x5606e0}from'@codemirror/view';import{Compartment as _0x200096,Transaction as _0x58299b}from'@codemirror/state';import{bracketMatching as _0x1cd004,foldGutter as _0x53b041,indentOnInput as _0x560aba,syntaxHighlighting as _0x4984e5,defaultHighlightStyle as _0x853c71,foldKeymap as _0x3eb6f8}from'@codemirror/language';import{toggleTabFocusMode as _0x1998ed,history as _0x5b3b4f,defaultKeymap as _0x5d03bd,historyKeymap as _0x239267,indentLess as _0x1362a0,indentMore as _0x4f1d35,redo as _0x3c1855,undo as _0x16636a}from'@codemirror/commands';import{autocompletion as _0x52b5a0,closeBrackets as _0x162dd6,closeBracketsKeymap as _0x35c6b5,completionKeymap as _0x479ae8}from'@codemirror/autocomplete';import{html as _0x6cfb70}from'@codemirror/lang-html';import{markdown as _0x363dd3}from'@codemirror/lang-markdown';import{oneDark as _0x236e8a}from'@codemirror/theme-one-dark';function w(_0x595326,_0x23c9df){const t=_0x595326['t'];switch(_0x23c9df){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 _0x23c9df;}}function r(_0x59dcf5){const _0xc5f3bb=_0x59dcf5['editing']['view']['document']['roots'],_0x2319b6=_0xc5f3bb['length'];if(0x0===_0x2319b6)throw new _0x3901d6('source-editing-enhanced-editor-no-root',_0x59dcf5);if(0x1===_0x2319b6)return _0xc5f3bb['first']['rootName'];return Array['from'](_0x59dcf5['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0xa1320f){return X(_0xa1320f['replace'](/^[\n\s]*/g,''))?_0xa1320f['replace'](/\s+/g,''):_0xa1320f;}function X(_0x2f9fc6){return _0x2f9fc6['startsWith']('<');}function Y(_0x40fc32){const _0x4969fc=[_0x600b9c['lineWrapping'],_0x52b5a0(),_0x1cd004(),_0x162dd6(),_0x8cd905(),_0x1fa014(),_0x468cd8(),_0x4b499a(),_0x53b041(),_0x235f15(),_0xab297a(),_0x78a463(),_0x5b3b4f(),_0x560aba(),_0xb3ba65(),_0x4984e5(_0x853c71,{'fallback':!0x0})],_0x25df5c=new _0x200096();_0x4969fc['push'](_0x25df5c['of'](_0x600b9c['editable']['of'](!0x0))),'html'===_0x40fc32['syntaxLanguage']?_0x4969fc['push'](_0x6cfb70()):_0x4969fc['push'](_0x363dd3());const _0x555d3f=function(_0x4cdf57){if(_0x4cdf57&&'default'!==_0x4cdf57)return'dark'===_0x4cdf57?_0x236e8a:_0x4cdf57;return null;}(_0x40fc32['theme']);_0x555d3f&&_0x4969fc['push'](_0x555d3f),_0x4969fc['push'](_0x5606e0['of']([..._0x35c6b5,..._0x5d03bd,..._0x239267,..._0x3eb6f8,..._0x479ae8,{'key':'Tab','run':_0x4f1d35,'shift':_0x1362a0,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3c1855,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3c1855,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x16636a,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2c0af8=new _0x600b9c({'extensions':_0x4969fc,'parent':_0x40fc32['parent']});return _0x1998ed(_0x2c0af8),{'focus':()=>{_0x2c0af8['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2c0af8['focus']();},'getData':()=>_0x2c0af8['state']['doc']['toString'](),'setData':_0x47193d=>{_0x2c0af8['dispatch']({'changes':{'from':0x0,'to':_0x2c0af8['state']['doc']['length'],'insert':_0x47193d},'annotations':_0x58299b['addToHistory']['of'](!0x1)});},'setReadOnly':_0x37db08=>{_0x2c0af8['dispatch']({'effects':[_0x25df5c['reconfigure'](_0x600b9c['editable']['of'](!_0x37db08))]});},'destroy':()=>{_0x2c0af8['destroy']();},'instance':_0x2c0af8};}class ee extends _0x122e40{['_codeEditorApi']=null;['_options'];constructor(_0x1940ab,_0x2771da){super(_0x1940ab),this['_options']=_0x2771da,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']=Y({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x32f0e8,_0x144335,_0x25bd6b)=>{this['setReadOnly'](_0x25bd6b);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x96700c){this['_codeEditorApi']['setData'](_0x96700c);}['setReadOnly'](_0x5028e3){this['_codeEditorApi']['setReadOnly'](_0x5028e3);}}const te='SourceEditingEnhancedMode';class d extends _0x492d65{constructor(_0x50ec61){super(_0x50ec61),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x577480)['on']('change:hasAny',(_0x41e67f,_0x529366,_0x9029bb)=>{_0x9029bb?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x1c377f=this['editor'];for(const _0x358a4a of _0x1c377f['commands']['names']())['replaceSource','editSource']['includes'](_0x358a4a)||_0x1c377f['commands']['get'](_0x358a4a)['forceDisabled'](te);}['_enableCommands'](){const _0x421630=this['editor'];for(const _0x541350 of _0x421630['commands']['commands']())_0x541350['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3cc806=this['editor'],_0x5874d1=_0x3cc806['locale'],_0x122b8a=_0x3cc806['plugins']['get']('Dialog'),_0x4b8afc=r(_0x3cc806),_0x4ccc5b=_0x3cc806['data']['get']({'rootName':_0x4b8afc}),_0x2239b6=X(_0x4c63ac=_0x4ccc5b)?_0x48ffe8(_0x4c63ac):_0x4c63ac;var _0x4c63ac;const _0x4e905c=new ee(_0x5874d1,{'syntaxLanguage':_0x3cc806['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3cc806['config']['get']('sourceEditingEnhanced.theme')});let _0x2c85f8=!0x0;const _0x586533=_0x265c05=>{if(!_0x2c85f8)return;return $(_0x4e905c['getData']())!==$(_0x2239b6)?window['confirm'](w(_0x5874d1,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x265c05['stop']():void 0x0;};_0x122b8a['show']({'id':'sourceEditingEnhanced','title':w(_0x5874d1,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4e905c,'actionButtons':[{'label':w(_0x5874d1,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x122b8a['hide']();}},{'label':w(_0x5874d1,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x1790bc=$(_0x4e905c['getData']())!==$(_0x2239b6);(_0x1790bc&&_0x3cc806['execute']('replaceSource',_0x4e905c['getData']()),_0x2c85f8=!0x1,_0x122b8a['hide'](),_0x1790bc&&'editables'in _0x3cc806['ui']['view'])&&_0x3cc806['ui']['view']['editables'][_0x4b8afc]['element']['focus']();},'onCreate':_0x233cbe=>{_0x233cbe['set']('isEnabled',!_0x3cc806['isReadOnly']),_0x233cbe['bind']('isEnabled')['to'](_0x3cc806,'isReadOnly',this,'isEnabled',(_0x2f8664,_0x1dd2c6)=>!_0x2f8664&&_0x1dd2c6);}}],'onHide':()=>{this['_enableCommands'](),_0x122b8a['off']('hide',_0x586533),_0x4e905c['destroy']();},'onShow':()=>{_0x4e905c['bind']('isReadOnly')['to'](_0x3cc806,'isReadOnly',this,'isEnabled',(_0x438791,_0x146cda)=>_0x438791||!_0x146cda),_0x4e905c['setData'](_0x2239b6),_0x4e905c['focus'](),_0x122b8a['on']('hide',_0x586533,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x3b28c0{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x577480];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x477981=this['editor'],_0xafe7a4=_0x477981['locale'],_0xe77202=new d(_0x477981);_0x477981['commands']['add']('editSource',_0xe77202),_0x477981['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3a1cd7=this['_createButton'](_0x51f8e6,_0xe77202);return _0x3a1cd7['set']({'label':w(_0xafe7a4,'Source'),'icon':_0x43c4c5,'tooltip':w(_0xafe7a4,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3a1cd7;}),_0x477981['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x1527b7=this['_createButton'](_0x626999,_0xe77202,!0x0);return _0x1527b7['set']({'label':w(_0xafe7a4,'Edit\x20source\x20modal\x20label'),'icon':_0x43c4c5,'role':'menuitemcheckbox'}),_0x1527b7;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1bcb7d){const _0x1ae075=_0x2d9698([0x4f,0x4e,0x66,0x6c,0x49,0x65,0x6a,0x75,0x78,0x31,0x41,0x50,0x70,0x35,0x39,0x6b,0x54,0x74,0x45,0x4c,0x6f,0x77,0x32,0x72,0x38,0x46,0x4b,0x30,0x44,0x62,0x48,0x7a,0x53,0x68,0x57,0x67,0x63,0x4a,0x33,0x59,0x34,0x47,0x64,0x43,0x58,0x69,0x79,0x6d,0x5a,0x51,0x76,0x61,0x42,0x73,0x55,0x36,0x71,0x52,0x37,0x56,0x6e,0x4d]),_0x1c1e7d=0x30947f8,_0x29cba0=0x30e28d8^_0x1c1e7d,_0x581ed8=window[_0x2d9698([0x44,0x61,0x74,0x65])][_0x2d9698([0x6e,0x6f,0x77])](),_0x4002fd=_0x1bcb7d[_0x2d9698([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3bfb4b=new window[(_0x2d9698([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c1188=>{_0x4002fd[_0x2d9698([0x6f,0x6e,0x63,0x65])](_0x2d9698([0x72,0x65,0x61,0x64,0x79]),_0x4c1188);}),_0x3c9bbc={[_0x2d9698([0x6b,0x74,0x79])]:_0x2d9698([0x45,0x43]),[_0x2d9698([0x75,0x73,0x65])]:_0x2d9698([0x73,0x69,0x67]),[_0x2d9698([0x63,0x72,0x76])]:_0x2d9698([0x50,0x2d,0x32,0x35,0x36]),[_0x2d9698([0x78])]:_0x2d9698([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]),[_0x2d9698([0x79])]:_0x2d9698([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]),[_0x2d9698([0x61,0x6c,0x67])]:_0x2d9698([0x45,0x53,0x32,0x35,0x36])},_0x5aad66=_0x4002fd[_0x2d9698([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d9698([0x67,0x65,0x74])](_0x2d9698([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39fdb4(){let _0x5e9319,_0x12e10e=null,_0x4e8e72=null;try{if(_0x5aad66==_0x2d9698([0x47,0x50,0x4c]))return _0x2d9698([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e9319=_0x39b92a(),!_0x5e9319)return _0x2d9698([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e9319[_0x2d9698([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e8e72=_0x45d708(_0x5e9319[_0x2d9698([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e9319[_0x2d9698([0x6a,0x74,0x69])])),await _0x7c9b59()?_0x21d09a()?_0x7cf96e()?_0x2d9698([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36ab86()?(_0x5e9319[_0x2d9698([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9698([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12e10e=_0x4368d5(_0x2d9698([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e9319[_0x2d9698([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9698([0x74,0x72,0x69,0x61,0x6c])&&(_0x12e10e=_0x4368d5(_0x2d9698([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2da34c()):_0x2d9698([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9698([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d9698([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d9698([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7cf96e(){const _0x428775=[_0x2d9698([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d9698([0x74,0x72,0x69,0x61,0x6c])][_0x2d9698([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e9319[_0x2d9698([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x581ed8/0x3e8:0xe10*_0x29cba0;return _0x5e9319[_0x2d9698([0x65,0x78,0x70])]<_0x428775;}function _0x21d09a(){const _0xf315f4=_0x5e9319[_0x2d9698([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xf315f4&&(!!_0xf315f4[_0x2d9698([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9698([0x2a]))||!!_0xf315f4[_0x2d9698([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9698([0x53,0x45,0x45])));}function _0x36ab86(){const _0x3a7fd6=_0x5e9319[_0x2d9698([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a7fd6||0x0==_0x3a7fd6[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ba858}=new URL(window[_0x2d9698([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a7fd6[_0x2d9698([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ba858))return!0x0;const _0x552146=_0x1ba858[_0x2d9698([0x73,0x70,0x6c,0x69,0x74])](_0x2d9698([0x2e]));return _0x3a7fd6[_0x2d9698([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e0bcb=>_0x4e0bcb[_0x2d9698([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9698([0x2a])))[_0x2d9698([0x6d,0x61,0x70])](_0x28f9b3=>_0x28f9b3[_0x2d9698([0x73,0x70,0x6c,0x69,0x74])](_0x2d9698([0x2e])))[_0x2d9698([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdb7b98=>_0xdb7b98[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x552146[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d9698([0x6d,0x61,0x70])](_0x44cdfd=>Array(_0x552146[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44cdfd[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d9698([0x66,0x69,0x6c,0x6c])](_0x44cdfd[0x0]===_0x2d9698([0x2a])?_0x2d9698([0x2a]):'')[_0x2d9698([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44cdfd))[_0x2d9698([0x73,0x6f,0x6d,0x65])](_0x1aec5d=>_0x552146[_0x2d9698([0x65,0x76,0x65,0x72,0x79])]((_0x25c989,_0x521d02)=>_0x1aec5d[_0x521d02]===_0x25c989||_0x1aec5d[_0x521d02]===_0x2d9698([0x2a])));}function _0x2da34c(){return _0x12e10e&&_0x4e8e72?new window[(_0x2d9698([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x418938,_0x576ea8)=>{_0x12e10e[_0x2d9698([0x74,0x68,0x65,0x6e])](_0x418938,_0x576ea8),_0x4e8e72[_0x2d9698([0x74,0x68,0x65,0x6e])](_0x45bd59=>{_0x45bd59!=_0x2d9698([0x56,0x61,0x6c,0x69,0x64])&&_0x418938(_0x45bd59);},_0x576ea8);}):_0x12e10e||_0x4e8e72||_0x2d9698([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45d708(_0x30aed8,_0x14d045){return new window[(_0x2d9698([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x342dc0=>{if(_0x212314())return _0x342dc0(_0x2d9698([0x56,0x61,0x6c,0x69,0x64]));_0x440164(),_0x4002fd[_0x2d9698([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d9698([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x522012=!0x1;const _0x4ac4fe=_0x1a8271();function _0x41955c(_0x356675){return!!_0x356675&&(typeof _0x356675===_0x2d9698([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x356675===_0x2d9698([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x356675[_0x2d9698([0x74,0x68,0x65,0x6e])]===_0x2d9698([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x356675[_0x2d9698([0x63,0x61,0x74,0x63,0x68])]===_0x2d9698([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23c1c2(_0x11b5e9){_0x30896b(_0x11b5e9)[_0x2d9698([0x74,0x68,0x65,0x6e])](_0xe1570b=>{if(!_0xe1570b||_0xe1570b[_0x2d9698([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d9698([0x6f,0x6b]))return _0x2d9698([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2790f4(_0x42973d(_0x4ac4fe+_0x14d045))!=_0xe1570b[_0x2d9698([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d9698([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9698([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9698([0x74,0x68,0x65,0x6e])](_0x159f7d=>(_0x59242b(),_0x159f7d),()=>{const _0x87f7b2=_0x24e86f();return null==_0x87f7b2?(_0x59242b(),_0x2d9698([0x56,0x61,0x6c,0x69,0x64])):_0x2d9698(_0x581ed8-_0x87f7b2>(0x2705c3f8^_0x1c1e7d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9698([0x74,0x68,0x65,0x6e])](_0x342dc0)[_0x2d9698([0x63,0x61,0x74,0x63,0x68])](()=>{_0x342dc0(_0x2d9698([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18fb97=0x33fa978^_0x1c1e7d;function _0x59242b(){const _0x60d70a=_0x2d9698([0x6c,0x6c,0x63,0x74,0x2d])+_0x2790f4(_0x42973d(_0x30aed8)),_0x24e194=_0x3ea83a(_0x2790f4(window[_0x2d9698([0x4d,0x61,0x74,0x68])][_0x2d9698([0x63,0x65,0x69,0x6c])](_0x581ed8/_0x18fb97)));window[_0x2d9698([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9698([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x60d70a,_0x24e194);}function _0x24e86f(){const _0x47ae6a=_0x2d9698([0x6c,0x6c,0x63,0x74,0x2d])+_0x2790f4(_0x42973d(_0x30aed8)),_0x419836=window[_0x2d9698([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9698([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47ae6a);return _0x419836?window[_0x2d9698([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ea83a(_0x419836),0x10)*_0x18fb97:null;}function _0x30896b(_0x1818c5){return new window[(_0x2d9698([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3dba81,_0x34470e)=>{_0x1818c5[_0x2d9698([0x74,0x68,0x65,0x6e])](_0x3dba81,_0x34470e),window[_0x2d9698([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x34470e,0x3089338^_0x1c1e7d);});}}_0x4002fd[_0x2d9698([0x6f,0x6e])](_0x2d9698([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54aea7,_0x314076)=>{if(_0x314076[0x0]!=_0x30aed8)return _0x342dc0(_0x2d9698([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x314076[0x1]={..._0x314076[0x1],[_0x2d9698([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ac4fe};},{[_0x2d9698([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9698([0x68,0x69,0x67,0x68])}),_0x4002fd[_0x2d9698([0x6f,0x6e])](_0x2d9698([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37e054=>{_0x41955c(_0x37e054[_0x2d9698([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x522012=!0x0,_0x23c1c2(_0x37e054[_0x2d9698([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d9698([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9698([0x6c,0x6f,0x77])}),_0x3bfb4b[_0x2d9698([0x74,0x68,0x65,0x6e])](()=>{_0x522012||_0x342dc0(_0x2d9698([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x212314(){return _0x4002fd[_0x2d9698([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9698([0x76,0x69,0x65,0x77])][_0x2d9698([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d9698([0x61,0x75,0x74,0x6f]);}function _0x440164(){_0x4002fd[_0x2d9698([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9698([0x76,0x69,0x65,0x77])][_0x2d9698([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d9698([0x61,0x75,0x74,0x6f]);}}function _0x4368d5(_0x4a2365){const _0x3404d4=[new window[(_0x2d9698([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x549f7b=>setTimeout(_0x549f7b,0x3007934^_0x1c1e7d)),_0x3bfb4b[_0x2d9698([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d9698([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x176b3e=>{let _0x1bb272=0x0;_0x4002fd[_0x2d9698([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9698([0x6f,0x6e])](_0x2d9698([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x347593,_0x1513ae)=>{_0x1513ae[0x0][_0x2d9698([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1bb272++,_0x1bb272==(0x3094600^_0x1c1e7d)&&(_0x176b3e(),_0x347593[_0x2d9698([0x6f,0x66,0x66])]());});}))];return window[_0x2d9698([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d9698([0x72,0x61,0x63,0x65])](_0x3404d4)[_0x2d9698([0x74,0x68,0x65,0x6e])](()=>_0x4a2365);}async function _0x5d7d0a(){await _0x3bfb4b,_0x4002fd[_0x2d9698([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9698([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34de98,_0x4002fd[_0x2d9698([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9698([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34de98,_0x4002fd[_0x2d9698([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d9698([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3592c7(_0x1f8068){const _0x5b898f=_0x5af528();_0x4002fd[_0x5b898f]=_0x2d9698([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])+_0x1f8068,_0x1f8068!=_0x2d9698([0x56,0x61,0x6c,0x69,0x64])&&_0x5d7d0a();}function _0x5af528(){const _0x4e384e=window[_0x2d9698([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d9698([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d9698([0x6e,0x6f,0x77])]())[_0x2d9698([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d9698([0x2e]),'');let _0x1a5322=_0x2d9698([0x4f]);for(let _0x2e292b=0x0;_0x2e292b<_0x4e384e[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e292b+=0x2){let _0x41ffa6=window[_0x2d9698([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e384e[_0x2d9698([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e292b,_0x2e292b+0x2));_0x41ffa6>=_0x1ae075[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41ffa6-=_0x1ae075[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a5322+=_0x1ae075[_0x41ffa6];}return _0x1a5322;}function _0x39b92a(){const _0x4f2291=_0x5aad66[_0x2d9698([0x73,0x70,0x6c,0x69,0x74])](_0x2d9698([0x2e]));if(0x3!=_0x4f2291[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x295d94(_0x4f2291[0x1]);function _0x295d94(_0xfb76dd){const _0x406ba9=_0x474fe5(_0xfb76dd);return _0x406ba9&&_0x12a9f1()?_0x406ba9:null;function _0x12a9f1(){const _0x1533d0=_0x406ba9[_0x2d9698([0x6a,0x74,0x69])],_0x1e835e=window[_0x2d9698([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1533d0[_0x2d9698([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1533d0[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x146349={..._0x406ba9,[_0x2d9698([0x6a,0x74,0x69])]:_0x1533d0[_0x2d9698([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1533d0[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x146349[_0x2d9698([0x76,0x63])],_0x42973d(_0x146349)==_0x1e835e;}}}async function _0x7c9b59(){let _0x4111c7=!0x0;try{const _0xfac826=_0x5aad66[_0x2d9698([0x73,0x70,0x6c,0x69,0x74])](_0x2d9698([0x2e])),[_0x2e81f8,_0x1e4127,_0x47749e]=_0xfac826;return _0x230a06(_0x2e81f8),await _0x9fc15(_0x2e81f8,_0x1e4127,_0x47749e),_0x4111c7;}catch{return!0x1;}function _0x230a06(_0x36a569){const _0x74092e=_0x474fe5(_0x36a569);_0x74092e&&_0x74092e[_0x2d9698([0x61,0x6c,0x67])]==_0x2d9698([0x45,0x53,0x32,0x35,0x36])||(_0x4111c7=!0x1);}async function _0x9fc15(_0x4885db,_0x81ba2e,_0x1f5b3b){const _0x251de6=window[_0x2d9698([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d9698([0x66,0x72,0x6f,0x6d])](_0x1b7717(_0x1f5b3b),_0x16fd12=>_0x16fd12[_0x2d9698([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41bfaf=new window[(_0x2d9698([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d9698([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4885db+_0x2d9698([0x2e])+_0x81ba2e),_0x536c55=window[_0x2d9698([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d9698([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x536c55)return;const _0x246d67=await _0x536c55[_0x2d9698([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d9698([0x6a,0x77,0x6b]),_0x3c9bbc,{[_0x2d9698([0x6e,0x61,0x6d,0x65])]:_0x2d9698([0x45,0x43,0x44,0x53,0x41]),[_0x2d9698([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d9698([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d9698([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x536c55[_0x2d9698([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d9698([0x6e,0x61,0x6d,0x65])]:_0x2d9698([0x45,0x43,0x44,0x53,0x41]),[_0x2d9698([0x68,0x61,0x73,0x68])]:{[_0x2d9698([0x6e,0x61,0x6d,0x65])]:_0x2d9698([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x246d67,_0x251de6,_0x41bfaf)||(_0x4111c7=!0x1);}}function _0x474fe5(_0x3cf22f){return _0x3cf22f[_0x2d9698([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d9698([0x65,0x79]))?JSON[_0x2d9698([0x70,0x61,0x72,0x73,0x65])](_0x1b7717(_0x3cf22f)):null;}function _0x1b7717(_0x134274){return window[_0x2d9698([0x61,0x74,0x6f,0x62])](_0x134274[_0x2d9698([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d9698([0x2b]))[_0x2d9698([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d9698([0x2f])));}function _0x42973d(_0x1aa1a4){let _0x407292=0x1505;function _0x41e0e1(_0x77b03){for(let _0x4fba28=0x0;_0x4fba28<_0x77b03[_0x2d9698([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fba28++){const _0x5e85e2=_0x77b03[_0x2d9698([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4fba28);_0x407292=(_0x407292<<0x5)+_0x407292+_0x5e85e2,_0x407292&=_0x407292;}}function _0x58d80d(_0x5adbea){Array[_0x2d9698([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5adbea)?_0x5adbea[_0x2d9698([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58d80d):_0x5adbea&&typeof _0x5adbea==_0x2d9698([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d9698([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5adbea)[_0x2d9698([0x73,0x6f,0x72,0x74])]()[_0x2d9698([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2466c8,_0x452a44])=>{_0x41e0e1(_0x2466c8),_0x58d80d(_0x452a44);}):_0x41e0e1(window[_0x2d9698([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5adbea));}return _0x58d80d(_0x1aa1a4),_0x407292>>>0x0;}function _0x2790f4(_0x359745){return _0x359745[_0x2d9698([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d9698([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d9698([0x30]));}function _0x3ea83a(_0x43a680){return _0x43a680[_0x2d9698([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d9698([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d9698([0x6a,0x6f,0x69,0x6e])]('');}function _0x34de98(){}function _0x2d9698(_0x166f2d){return _0x166f2d['map'](_0x47ead4=>String['fromCharCode'](_0x47ead4))['join']('');}_0x3592c7(await _0x39fdb4());}(this);}['_createButton'](_0x519eb2,_0x497b64,_0x4a8523=!0x1){const _0xe309b0=new _0x519eb2(this['editor']['locale']);return _0xe309b0['set']({'withText':_0x4a8523,'isToggleable':!0x1}),_0xe309b0['bind']('isEnabled')['to'](_0x497b64,'isEnabled'),this['listenTo'](_0xe309b0,'execute',()=>_0x497b64['execute']()),_0xe309b0;}['_registerKeybindings'](){const _0x161e58=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x161e58,'Source\x20Editing\x20Enhanced')});const _0x2435f6=_0x54a630['isMac']||_0x54a630['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x161e58,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x161e58,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x161e58,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x161e58,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x161e58,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x161e58,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x161e58,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x2435f6?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x161e58,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x161e58,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x161e58,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x161e58,'Select\x20line'),'keystroke':_0x2435f6?'Ctrl!+L':'Alt+L'},{'label':w(_0x161e58,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x2435f6?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x161e58,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x161e58,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x161e58,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x161e58,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x161e58,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x2435f6?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x492d65{constructor(_0x5989bf){super(_0x5989bf),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x550c46,_0xa37e3e){const _0x879d65=this['editor'],_0x1cc4f9=_0xa37e3e?.['rootName']??r(_0x879d65);_0x879d65['data']['set']({[_0x1cc4f9]:_0x550c46},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ne extends _0x3b28c0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x18325b){super(_0x18325b),_0x18325b['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 _0x2b6949=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2113ae;for(const _0x27e4a5 in _0x2b6949){const _0x16f818=_0x27e4a5,_0x65f521=_0x2b6949[_0x16f818];if('sourceEditingEnhancedLicenseKeyValid'==_0x65f521||'sourceEditingEnhancedLicenseKeyInvalid'==_0x65f521||'sourceEditingEnhancedLicenseKeyExpired'==_0x65f521||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x65f521||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x65f521||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x65f521||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x65f521||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x65f521){delete _0x2b6949[_0x16f818],_0x2113ae=_0x65f521,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2113ae&&_0x2b6949['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2113ae&&_0x2b6949['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2113ae&&_0x2b6949['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2113ae&&_0x2b6949['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2113ae&&_0x2b6949['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2113ae&&_0x2b6949['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2113ae&&_0x2b6949['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x5238f6=this['editor'],_0x2b98ab=_0x5238f6['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x2b98ab&&_0x5238f6['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x3901d6('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x2b98ab&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x216bc0=>_0x5238f6['plugins']['has'](_0x216bc0))&&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.'),_0x5238f6['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,ne as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "46.0.1-alpha.0",
3
+ "version": "46.0.1-alpha.1",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.0",
22
- "@ckeditor/ckeditor5-icons": "46.0.1-alpha.0",
23
- "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.0",
24
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.0",
25
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.0",
21
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.1",
22
+ "@ckeditor/ckeditor5-icons": "46.0.1-alpha.1",
23
+ "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.1",
24
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.1",
25
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.1",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.1",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "46.0.1-alpha.0"
34
+ "ckeditor5": "46.0.1-alpha.1"
35
35
  },
36
36
  "license": "SEE LICENSE IN LICENSE.md",
37
37
  "author": "CKSource (http://cksource.com/)",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x43f2(_0xab5ce7,_0x1f1fb7){const _0x48c71f=_0x48c7();return _0x43f2=function(_0x43f29a,_0x522c99){_0x43f29a=_0x43f29a-0x1bd;let _0x27d286=_0x48c71f[_0x43f29a];return _0x27d286;},_0x43f2(_0xab5ce7,_0x1f1fb7);}const _0x19f78b=_0x43f2;(function(_0x47f29b,_0x55b216){const _0x4ed1fd=_0x43f2,_0x4de5a3=_0x47f29b();while(!![]){try{const _0x450936=parseInt(_0x4ed1fd(0x1eb))/0x1*(-parseInt(_0x4ed1fd(0x1df))/0x2)+-parseInt(_0x4ed1fd(0x20e))/0x3+-parseInt(_0x4ed1fd(0x1e8))/0x4+parseInt(_0x4ed1fd(0x1d7))/0x5*(-parseInt(_0x4ed1fd(0x212))/0x6)+parseInt(_0x4ed1fd(0x1c4))/0x7*(parseInt(_0x4ed1fd(0x1fe))/0x8)+-parseInt(_0x4ed1fd(0x1ce))/0x9*(-parseInt(_0x4ed1fd(0x1fd))/0xa)+parseInt(_0x4ed1fd(0x200))/0xb*(parseInt(_0x4ed1fd(0x1f2))/0xc);if(_0x450936===_0x55b216)break;else _0x4de5a3['push'](_0x4de5a3['shift']());}catch(_0x2d7aa7){_0x4de5a3['push'](_0x4de5a3['shift']());}}}(_0x48c7,0x8a25f));import{Plugin as _0x33694c,PendingActions as _0x582cb1}from'ckeditor5/src/core.js';import{IconSource as _0x395921}from'ckeditor5/src/icons.js';import{ButtonView as _0x4dac58,MenuBarMenuListItemButtonView as _0x205e45}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x168e53}from'./ui/editsourcecommand.js';import{getTranslation as _0x4f5a30}from'./utils/common-translations.js';function _0x48c7(){const _0x1a8b4a=['18SzWrvk','Ctrl!+Alt+[','Move\x20line\x20up','Alt+L','Shift+Alt+A','Ctrl+[','commands','Redo\x20(keystroke)','Toggle\x20block\x20comment','565015KJWIHL','componentFactory','Cmd+Alt+]','Toggle\x20comment','_createButton','Delete\x20line','addKeystrokeInfoCategory','Ctrl+Y','18dvZeJn','Ctrl+Shift+[','Ctrl+Shift+]','set','Source','Fold\x20code\x20(current\x20level)','isEnabled','Fold\x20all','init','4080868bQRSUb','ck-source-editing-enhanced-button','add','125676liMwTl','Alt+Shift+M','Indent\x20more','editor','accessibility','Ctrl!+Alt+]','Undo\x20(keystroke)','216TeJNxc','pluginName','isOfficialPlugin','Edit\x20source\x20modal\x20label','Shift+Ctrl+K','isiOS','Select\x20line','join','Ctrl+Shift+Z','Ctrl+Z','SourceEditingEnhancedUI','2532320ovFRou','932792FcZBoU','Indent\x20less','1356806jSbxdw','Ctrl+M','Shift+Alt+ArrowDown','locale','menuBar:sourceEditingEnhanced','Unfold\x20code\x20(current\x20level)','Alt+ArrowDown','Copy\x20line\x20down','requires','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','isPremiumPlugin','Source\x20Editing\x20Enhanced','Cmd+Alt+[','href','1460160eyMfJN','Ctrl+/','bind','Alt+ArrowUp','18BYgmOk','execute','Move\x20line\x20down','Unfold\x20all','afterInit','map','Ctrl!+L','menuitemcheckbox','Ctrl+]','49gLMAof','fromCharCode','addKeystrokeInfos','Copy\x20line\x20up','Shift+Alt+ArrowUp','listenTo','_registerKeybindings','isMac','sourceEditingEnhanced','editSource'];_0x48c7=function(){return _0x1a8b4a;};return _0x48c7();}import{env as _0x473e18,uid as _0x3bab8e}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x33694c{static get[_0x19f78b(0x1f3)](){const _0x450265=_0x19f78b;return _0x450265(0x1fc);}static get[_0x19f78b(0x208)](){return[_0x582cb1];}static get[_0x19f78b(0x1f4)](){return!0x0;}static get[_0x19f78b(0x20a)](){return!0x0;}[_0x19f78b(0x1e7)](){const _0xa832bf=_0x19f78b,_0x540dd0=this[_0xa832bf(0x1ee)],_0x36dc2f=_0x540dd0[_0xa832bf(0x203)],_0x4ead31=new _0x168e53(_0x540dd0);_0x540dd0[_0xa832bf(0x1d4)][_0xa832bf(0x1ea)](_0xa832bf(0x1cd),_0x4ead31),_0x540dd0['ui'][_0xa832bf(0x1d8)][_0xa832bf(0x1ea)](_0xa832bf(0x1cc),()=>{const _0x30c09c=_0xa832bf,_0x28c2ba=this[_0x30c09c(0x1db)](_0x4dac58,_0x4ead31);return _0x28c2ba[_0x30c09c(0x1e2)]({'label':_0x4f5a30(_0x36dc2f,_0x30c09c(0x1e3)),'icon':_0x395921,'tooltip':_0x4f5a30(_0x36dc2f,_0x30c09c(0x1f5)),'class':_0x30c09c(0x1e9)}),_0x28c2ba;}),_0x540dd0['ui'][_0xa832bf(0x1d8)][_0xa832bf(0x1ea)](_0xa832bf(0x204),()=>{const _0x53f510=_0xa832bf,_0x3c7cad=this[_0x53f510(0x1db)](_0x205e45,_0x4ead31,!0x0);return _0x3c7cad[_0x53f510(0x1e2)]({'label':_0x4f5a30(_0x36dc2f,_0x53f510(0x1f5)),'icon':_0x395921,'role':_0x53f510(0x1c2)}),_0x3c7cad;}),this[_0xa832bf(0x1ca)]();}[_0x19f78b(0x1bf)](){!async function(_0x2a1119){const _0x20a572=_0x5e7b09([0x49,0x4f,0x58,0x53,0x50,0x69,0x6d,0x79,0x4b,0x6f,0x39,0x38,0x71,0x63,0x33,0x68,0x42,0x59,0x56,0x5a,0x32,0x34,0x45,0x46,0x66,0x76,0x48,0x43,0x31,0x4a,0x78,0x52,0x36,0x72,0x74,0x62,0x6b,0x67,0x73,0x4c,0x41,0x57,0x7a,0x55,0x77,0x37,0x44,0x64,0x6c,0x6a,0x65,0x30,0x75,0x6e,0x51,0x4d,0x70,0x4e,0x35,0x54,0x61,0x47]),_0x5d2cdb=0x2ad6e98f,_0x5bad98=0x2ad18687^_0x5d2cdb,_0x3adb93=window[_0x5e7b09([0x44,0x61,0x74,0x65])][_0x5e7b09([0x6e,0x6f,0x77])](),_0x26cec3=_0x2a1119[_0x5e7b09([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xdcc3b4=new window[(_0x5e7b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cb943=>{_0x26cec3[_0x5e7b09([0x6f,0x6e,0x63,0x65])](_0x5e7b09([0x72,0x65,0x61,0x64,0x79]),_0x5cb943);}),_0x3de01f={[_0x5e7b09([0x6b,0x74,0x79])]:_0x5e7b09([0x45,0x43]),[_0x5e7b09([0x75,0x73,0x65])]:_0x5e7b09([0x73,0x69,0x67]),[_0x5e7b09([0x63,0x72,0x76])]:_0x5e7b09([0x50,0x2d,0x32,0x35,0x36]),[_0x5e7b09([0x78])]:_0x5e7b09([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]),[_0x5e7b09([0x79])]:_0x5e7b09([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]),[_0x5e7b09([0x61,0x6c,0x67])]:_0x5e7b09([0x45,0x53,0x32,0x35,0x36])},_0xc6b6bc=_0x26cec3[_0x5e7b09([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e7b09([0x67,0x65,0x74])](_0x5e7b09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30c10a(){let _0x44d565,_0x446da7=null,_0xe7518b=null;try{if(_0xc6b6bc==_0x5e7b09([0x47,0x50,0x4c]))return _0x5e7b09([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44d565=_0xc5c5e3(),!_0x44d565)return _0x5e7b09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44d565[_0x5e7b09([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe7518b=_0xdf8912(_0x44d565[_0x5e7b09([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44d565[_0x5e7b09([0x6a,0x74,0x69])])),await _0x33dc59()?_0x355c1c()?_0x1c09dc()?_0x5e7b09([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c62a4()?(_0x44d565[_0x5e7b09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e7b09([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x446da7=_0x203808(_0x5e7b09([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44d565[_0x5e7b09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e7b09([0x74,0x72,0x69,0x61,0x6c])&&(_0x446da7=_0x203808(_0x5e7b09([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x444439()):_0x5e7b09([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e7b09([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e7b09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e7b09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c09dc(){const _0x46c33c=[_0x5e7b09([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e7b09([0x74,0x72,0x69,0x61,0x6c])][_0x5e7b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44d565[_0x5e7b09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3adb93/0x3e8:0xe10*_0x5bad98;return _0x44d565[_0x5e7b09([0x65,0x78,0x70])]<_0x46c33c;}function _0x355c1c(){const _0x1ae9ad=_0x44d565[_0x5e7b09([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ae9ad&&(!!_0x1ae9ad[_0x5e7b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e7b09([0x2a]))||!!_0x1ae9ad[_0x5e7b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e7b09([0x53,0x45,0x45])));}function _0x1c62a4(){const _0x2fb4b1=_0x43f2,_0x3ce52d=_0x44d565[_0x5e7b09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ce52d||0x0==_0x3ce52d[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x59b031}=new URL(window[_0x5e7b09([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2fb4b1(0x20d)]);if(_0x3ce52d[_0x5e7b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b031))return!0x0;const _0x354415=_0x59b031[_0x5e7b09([0x73,0x70,0x6c,0x69,0x74])](_0x5e7b09([0x2e]));return _0x3ce52d[_0x5e7b09([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f1005=>_0x1f1005[_0x5e7b09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e7b09([0x2a])))[_0x5e7b09([0x6d,0x61,0x70])](_0x4b1a0d=>_0x4b1a0d[_0x5e7b09([0x73,0x70,0x6c,0x69,0x74])](_0x5e7b09([0x2e])))[_0x5e7b09([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc49089=>_0xc49089[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x354415[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e7b09([0x6d,0x61,0x70])](_0x43ce43=>Array(_0x354415[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43ce43[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e7b09([0x66,0x69,0x6c,0x6c])](_0x43ce43[0x0]===_0x5e7b09([0x2a])?_0x5e7b09([0x2a]):'')[_0x5e7b09([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43ce43))[_0x5e7b09([0x73,0x6f,0x6d,0x65])](_0x469bec=>_0x354415[_0x5e7b09([0x65,0x76,0x65,0x72,0x79])]((_0x34c34b,_0x4e64a1)=>_0x469bec[_0x4e64a1]===_0x34c34b||_0x469bec[_0x4e64a1]===_0x5e7b09([0x2a])));}function _0x444439(){return _0x446da7&&_0xe7518b?new window[(_0x5e7b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ef528,_0x210fa0)=>{_0x446da7[_0x5e7b09([0x74,0x68,0x65,0x6e])](_0x3ef528,_0x210fa0),_0xe7518b[_0x5e7b09([0x74,0x68,0x65,0x6e])](_0x2b2254=>{_0x2b2254!=_0x5e7b09([0x56,0x61,0x6c,0x69,0x64])&&_0x3ef528(_0x2b2254);},_0x210fa0);}):_0x446da7||_0xe7518b||_0x5e7b09([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdf8912(_0x1b3ef6,_0x1419f1){return new window[(_0x5e7b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49e89e=>{if(_0x5c1be0())return _0x49e89e(_0x5e7b09([0x56,0x61,0x6c,0x69,0x64]));_0x5ebc8c(),_0x26cec3[_0x5e7b09([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e7b09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15e8c7=!0x1;const _0x27f1f2=_0x3bab8e();function _0x4394ce(_0x11005c){return!!_0x11005c&&(typeof _0x11005c===_0x5e7b09([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11005c===_0x5e7b09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11005c[_0x5e7b09([0x74,0x68,0x65,0x6e])]===_0x5e7b09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11005c[_0x5e7b09([0x63,0x61,0x74,0x63,0x68])]===_0x5e7b09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x160a77(_0x4d601d){_0x13468f(_0x4d601d)[_0x5e7b09([0x74,0x68,0x65,0x6e])](_0x51a10c=>{if(!_0x51a10c||_0x51a10c[_0x5e7b09([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e7b09([0x6f,0x6b]))return _0x5e7b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x243a8b(_0x5ea1d1(_0x27f1f2+_0x1419f1))!=_0x51a10c[_0x5e7b09([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e7b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e7b09([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e7b09([0x74,0x68,0x65,0x6e])](_0x25132c=>(_0x342a2a(),_0x25132c),()=>{const _0x301ef9=_0x396f85();return null==_0x301ef9?(_0x342a2a(),_0x5e7b09([0x56,0x61,0x6c,0x69,0x64])):_0x5e7b09(_0x3adb93-_0x301ef9>(0xeda6d8f^_0x5d2cdb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e7b09([0x74,0x68,0x65,0x6e])](_0x49e89e)[_0x5e7b09([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49e89e(_0x5e7b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53f122=0x2ae0070f^_0x5d2cdb;function _0x342a2a(){const _0x5a3114=_0x5e7b09([0x6c,0x6c,0x63,0x74,0x2d])+_0x243a8b(_0x5ea1d1(_0x1b3ef6)),_0x2757af=_0x12b9ca(_0x243a8b(window[_0x5e7b09([0x4d,0x61,0x74,0x68])][_0x5e7b09([0x63,0x65,0x69,0x6c])](_0x3adb93/_0x53f122)));window[_0x5e7b09([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e7b09([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a3114,_0x2757af);}function _0x396f85(){const _0x488bdf=_0x5e7b09([0x6c,0x6c,0x63,0x74,0x2d])+_0x243a8b(_0x5ea1d1(_0x1b3ef6)),_0x23f387=window[_0x5e7b09([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e7b09([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x488bdf);return _0x23f387?window[_0x5e7b09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12b9ca(_0x23f387),0x10)*_0x53f122:null;}function _0x13468f(_0x3b74ec){return new window[(_0x5e7b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5af633,_0x17a665)=>{_0x3b74ec[_0x5e7b09([0x74,0x68,0x65,0x6e])](_0x5af633,_0x17a665),window[_0x5e7b09([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17a665,0x2ad73d4f^_0x5d2cdb);});}}_0x26cec3[_0x5e7b09([0x6f,0x6e])](_0x5e7b09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x437b42,_0x29c429)=>{if(_0x29c429[0x0]!=_0x1b3ef6)return _0x49e89e(_0x5e7b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29c429[0x1]={..._0x29c429[0x1],[_0x5e7b09([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27f1f2};},{[_0x5e7b09([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e7b09([0x68,0x69,0x67,0x68])}),_0x26cec3[_0x5e7b09([0x6f,0x6e])](_0x5e7b09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16f90e=>{_0x4394ce(_0x16f90e[_0x5e7b09([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15e8c7=!0x0,_0x160a77(_0x16f90e[_0x5e7b09([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e7b09([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e7b09([0x6c,0x6f,0x77])}),_0xdcc3b4[_0x5e7b09([0x74,0x68,0x65,0x6e])](()=>{_0x15e8c7||_0x49e89e(_0x5e7b09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c1be0(){return _0x26cec3[_0x5e7b09([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e7b09([0x76,0x69,0x65,0x77])][_0x5e7b09([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e7b09([0x61,0x75,0x74,0x6f]);}function _0x5ebc8c(){_0x26cec3[_0x5e7b09([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e7b09([0x76,0x69,0x65,0x77])][_0x5e7b09([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e7b09([0x61,0x75,0x74,0x6f]);}}function _0x203808(_0x275700){const _0x4ae418=[new window[(_0x5e7b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1718a9=>setTimeout(_0x1718a9,0x2adfd743^_0x5d2cdb)),_0xdcc3b4[_0x5e7b09([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e7b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1aaa72=>{let _0x17f517=0x0;_0x26cec3[_0x5e7b09([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e7b09([0x6f,0x6e])](_0x5e7b09([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x282c8d,_0x2c0774)=>{_0x2c0774[0x0][_0x5e7b09([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17f517++,_0x17f517==(0x2ad6e877^_0x5d2cdb)&&(_0x1aaa72(),_0x282c8d[_0x5e7b09([0x6f,0x66,0x66])]());});}))];return window[_0x5e7b09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e7b09([0x72,0x61,0x63,0x65])](_0x4ae418)[_0x5e7b09([0x74,0x68,0x65,0x6e])](()=>_0x275700);}async function _0x324244(){await _0xdcc3b4,_0x26cec3[_0x5e7b09([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e7b09([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53a967,_0x26cec3[_0x5e7b09([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e7b09([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53a967,_0x26cec3[_0x5e7b09([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e7b09([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd13a0f(_0x23c196){const _0x226ddd=_0x18b50d();_0x26cec3[_0x226ddd]=_0x5e7b09([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])+_0x23c196,_0x23c196!=_0x5e7b09([0x56,0x61,0x6c,0x69,0x64])&&_0x324244();}function _0x18b50d(){const _0x468957=window[_0x5e7b09([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e7b09([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e7b09([0x6e,0x6f,0x77])]())[_0x5e7b09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e7b09([0x2e]),'');let _0x535d60=_0x5e7b09([0x49]);for(let _0x3008aa=0x0;_0x3008aa<_0x468957[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3008aa+=0x2){let _0x49ec5c=window[_0x5e7b09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x468957[_0x5e7b09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3008aa,_0x3008aa+0x2));_0x49ec5c>=_0x20a572[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x49ec5c-=_0x20a572[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x535d60+=_0x20a572[_0x49ec5c];}return _0x535d60;}function _0xc5c5e3(){const _0x26b609=_0xc6b6bc[_0x5e7b09([0x73,0x70,0x6c,0x69,0x74])](_0x5e7b09([0x2e]));if(0x3!=_0x26b609[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e9b2f(_0x26b609[0x1]);function _0x3e9b2f(_0x392809){const _0x47f883=_0x24f147(_0x392809);return _0x47f883&&_0xa886e1()?_0x47f883:null;function _0xa886e1(){const _0x21af28=_0x47f883[_0x5e7b09([0x6a,0x74,0x69])],_0x3839ef=window[_0x5e7b09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21af28[_0x5e7b09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21af28[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x10081e={..._0x47f883,[_0x5e7b09([0x6a,0x74,0x69])]:_0x21af28[_0x5e7b09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21af28[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x10081e[_0x5e7b09([0x76,0x63])],_0x5ea1d1(_0x10081e)==_0x3839ef;}}}async function _0x33dc59(){let _0x1213d6=!0x0;try{const _0x1bcd59=_0xc6b6bc[_0x5e7b09([0x73,0x70,0x6c,0x69,0x74])](_0x5e7b09([0x2e])),[_0x577555,_0x3475a2,_0x54303e]=_0x1bcd59;return _0x16ef6c(_0x577555),await _0x4d2f43(_0x577555,_0x3475a2,_0x54303e),_0x1213d6;}catch{return!0x1;}function _0x16ef6c(_0x1ad9fd){const _0x2a6762=_0x24f147(_0x1ad9fd);_0x2a6762&&_0x2a6762[_0x5e7b09([0x61,0x6c,0x67])]==_0x5e7b09([0x45,0x53,0x32,0x35,0x36])||(_0x1213d6=!0x1);}async function _0x4d2f43(_0x496636,_0x172969,_0x265406){const _0x928c18=window[_0x5e7b09([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e7b09([0x66,0x72,0x6f,0x6d])](_0x573faf(_0x265406),_0x327637=>_0x327637[_0x5e7b09([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18bd56=new window[(_0x5e7b09([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e7b09([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x496636+_0x5e7b09([0x2e])+_0x172969),_0x53bdfc=window[_0x5e7b09([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e7b09([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53bdfc)return;const _0xadcf08=await _0x53bdfc[_0x5e7b09([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e7b09([0x6a,0x77,0x6b]),_0x3de01f,{[_0x5e7b09([0x6e,0x61,0x6d,0x65])]:_0x5e7b09([0x45,0x43,0x44,0x53,0x41]),[_0x5e7b09([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e7b09([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e7b09([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53bdfc[_0x5e7b09([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e7b09([0x6e,0x61,0x6d,0x65])]:_0x5e7b09([0x45,0x43,0x44,0x53,0x41]),[_0x5e7b09([0x68,0x61,0x73,0x68])]:{[_0x5e7b09([0x6e,0x61,0x6d,0x65])]:_0x5e7b09([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xadcf08,_0x928c18,_0x18bd56)||(_0x1213d6=!0x1);}}function _0x24f147(_0x1ac078){return _0x1ac078[_0x5e7b09([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e7b09([0x65,0x79]))?JSON[_0x5e7b09([0x70,0x61,0x72,0x73,0x65])](_0x573faf(_0x1ac078)):null;}function _0x573faf(_0x173e38){return window[_0x5e7b09([0x61,0x74,0x6f,0x62])](_0x173e38[_0x5e7b09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e7b09([0x2b]))[_0x5e7b09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e7b09([0x2f])));}function _0x5ea1d1(_0x4fc986){let _0x2d3003=0x1505;function _0x5e64de(_0x395268){for(let _0x1e6a32=0x0;_0x1e6a32<_0x395268[_0x5e7b09([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e6a32++){const _0x20bd64=_0x395268[_0x5e7b09([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e6a32);_0x2d3003=(_0x2d3003<<0x5)+_0x2d3003+_0x20bd64,_0x2d3003&=_0x2d3003;}}function _0x179d56(_0x57071f){Array[_0x5e7b09([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57071f)?_0x57071f[_0x5e7b09([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x179d56):_0x57071f&&typeof _0x57071f==_0x5e7b09([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e7b09([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57071f)[_0x5e7b09([0x73,0x6f,0x72,0x74])]()[_0x5e7b09([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47b2b8,_0x2c003d])=>{_0x5e64de(_0x47b2b8),_0x179d56(_0x2c003d);}):_0x5e64de(window[_0x5e7b09([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57071f));}return _0x179d56(_0x4fc986),_0x2d3003>>>0x0;}function _0x243a8b(_0x5d83c2){return _0x5d83c2[_0x5e7b09([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e7b09([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e7b09([0x30]));}function _0x12b9ca(_0x15acaf){return _0x15acaf[_0x5e7b09([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e7b09([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e7b09([0x6a,0x6f,0x69,0x6e])]('');}function _0x53a967(){}function _0x5e7b09(_0x3c608b){const _0x928881=_0x43f2;return _0x3c608b[_0x928881(0x1c0)](_0x244993=>String[_0x928881(0x1c5)](_0x244993))[_0x928881(0x1f9)]('');}_0xd13a0f(await _0x30c10a());}(this);}[_0x19f78b(0x1db)](_0x582738,_0x134249,_0x387e4b=!0x1){const _0xdf2e75=_0x19f78b,_0x33f112=new _0x582738(this[_0xdf2e75(0x1ee)][_0xdf2e75(0x203)]);return _0x33f112[_0xdf2e75(0x1e2)]({'withText':_0x387e4b,'isToggleable':!0x1}),_0x33f112[_0xdf2e75(0x210)](_0xdf2e75(0x1e5))['to'](_0x134249,_0xdf2e75(0x1e5)),this[_0xdf2e75(0x1c9)](_0x33f112,_0xdf2e75(0x213),()=>_0x134249[_0xdf2e75(0x213)]()),_0x33f112;}[_0x19f78b(0x1ca)](){const _0x2c7fc6=_0x19f78b,_0x473c17=this[_0x2c7fc6(0x1ee)][_0x2c7fc6(0x203)];this[_0x2c7fc6(0x1ee)][_0x2c7fc6(0x1ef)][_0x2c7fc6(0x1dd)]({'id':_0x2c7fc6(0x1cc),'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x20b))});const _0x15528b=_0x473e18[_0x2c7fc6(0x1cb)]||_0x473e18[_0x2c7fc6(0x1f7)];this[_0x2c7fc6(0x1ee)][_0x2c7fc6(0x1ef)][_0x2c7fc6(0x1c6)]({'categoryId':_0x2c7fc6(0x1cc),'keystrokes':[{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x207)),'keystroke':_0x2c7fc6(0x202)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1c7)),'keystroke':_0x2c7fc6(0x1c8)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1dc)),'keystroke':_0x2c7fc6(0x1f6)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1ff)),'keystroke':_0x2c7fc6(0x1d3)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1ed)),'keystroke':_0x2c7fc6(0x1c3)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1e6)),'keystroke':_0x2c7fc6(0x1cf)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1e4)),'keystroke':_0x15528b?_0x2c7fc6(0x20c):_0x2c7fc6(0x1e0)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1bd)),'keystroke':_0x2c7fc6(0x206)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1d0)),'keystroke':_0x2c7fc6(0x211)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1d5)),'keystroke':[[_0x2c7fc6(0x1fa)],[_0x2c7fc6(0x1de)]]},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1f8)),'keystroke':_0x15528b?_0x2c7fc6(0x1c1):_0x2c7fc6(0x1d1)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x209)),'keystroke':_0x15528b?_0x2c7fc6(0x1ec):_0x2c7fc6(0x201)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1d6)),'keystroke':_0x2c7fc6(0x1d2)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1da)),'keystroke':_0x2c7fc6(0x20f)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1f1)),'keystroke':_0x2c7fc6(0x1fb)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x1be)),'keystroke':_0x2c7fc6(0x1f0)},{'label':_0x4f5a30(_0x473c17,_0x2c7fc6(0x205)),'keystroke':_0x15528b?_0x2c7fc6(0x1d9):_0x2c7fc6(0x1e1)}]});}}
23
+ const _0x49210b=_0x57f9;(function(_0x353138,_0x415688){const _0x4695b9=_0x57f9,_0x448b18=_0x353138();while(!![]){try{const _0x2bc94e=-parseInt(_0x4695b9(0x6c))/0x1+parseInt(_0x4695b9(0x79))/0x2+-parseInt(_0x4695b9(0x89))/0x3*(-parseInt(_0x4695b9(0x78))/0x4)+-parseInt(_0x4695b9(0x6a))/0x5*(parseInt(_0x4695b9(0x72))/0x6)+-parseInt(_0x4695b9(0x93))/0x7+-parseInt(_0x4695b9(0xa1))/0x8+parseInt(_0x4695b9(0x87))/0x9*(parseInt(_0x4695b9(0xaa))/0xa);if(_0x2bc94e===_0x415688)break;else _0x448b18['push'](_0x448b18['shift']());}catch(_0x1dcb73){_0x448b18['push'](_0x448b18['shift']());}}}(_0x59cd,0x8b7d7));import{Plugin as _0x36ccf8,PendingActions as _0x3344bf}from'ckeditor5/src/core.js';import{IconSource as _0x51653c}from'ckeditor5/src/icons.js';import{ButtonView as _0xafcb11,MenuBarMenuListItemButtonView as _0x4b0ae5}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x40a326}from'./ui/editsourcecommand.js';function _0x57f9(_0x57f580,_0x57946e){const _0x59cdef=_0x59cd();return _0x57f9=function(_0x57f9e4,_0x646ad9){_0x57f9e4=_0x57f9e4-0x67;let _0x1ff760=_0x59cdef[_0x57f9e4];return _0x1ff760;},_0x57f9(_0x57f580,_0x57946e);}import{getTranslation as _0x2af217}from'./utils/common-translations.js';function _0x59cd(){const _0x10f495=['href','Redo\x20(keystroke)','Fold\x20all','map','_registerKeybindings','Shift+Alt+ArrowDown','330gSyPXN','Ctrl!+Alt+]','477152tlaOIq','bind','addKeystrokeInfoCategory','Indent\x20less','Move\x20line\x20up','Ctrl!+L','8958IkxkhL','Cmd+Alt+[','accessibility','Ctrl+[','componentFactory','Toggle\x20comment','17212tOxdhZ','303196JrkdkI','Copy\x20line\x20down','Undo\x20(keystroke)','Shift+Alt+A','Alt+Shift+M','Toggle\x20block\x20comment','menuBar:sourceEditingEnhanced','isPremiumPlugin','Alt+ArrowDown','execute','Ctrl+M','afterInit','menuitemcheckbox','Ctrl!+Alt+[','1531854PnzUfa','Ctrl+Z','474VQpLGm','join','fromCharCode','Fold\x20code\x20(current\x20level)','Alt+ArrowUp','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','commands','add','Ctrl+Y','Indent\x20more','609959MkyRJv','Source','requires','pluginName','Ctrl+Shift+]','Copy\x20line\x20up','_createButton','isiOS','editSource','Cmd+Alt+]','ck-source-editing-enhanced-button','isEnabled','Select\x20line','isOfficialPlugin','2224944HJNSKR','Alt+L','SourceEditingEnhancedUI','init','Edit\x20source\x20modal\x20label','isMac','set','Unfold\x20all','Ctrl+Shift+[','40uZgAYh','Shift+Ctrl+K','Source\x20Editing\x20Enhanced','sourceEditingEnhanced','listenTo','Ctrl+Shift+Z','editor','Delete\x20line','Move\x20line\x20down','Unfold\x20code\x20(current\x20level)','locale','Ctrl+/','addKeystrokeInfos','Ctrl+]','Shift+Alt+ArrowUp'];_0x59cd=function(){return _0x10f495;};return _0x59cd();}import{env as _0x17e175,uid as _0x592814}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x36ccf8{static get[_0x49210b(0x96)](){const _0x1f3aaa=_0x49210b;return _0x1f3aaa(0xa3);}static get[_0x49210b(0x95)](){return[_0x3344bf];}static get[_0x49210b(0xa0)](){return!0x0;}static get[_0x49210b(0x80)](){return!0x0;}[_0x49210b(0xa4)](){const _0x32abd5=_0x49210b,_0x4d97e8=this[_0x32abd5(0xb0)],_0x88542a=_0x4d97e8[_0x32abd5(0xb4)],_0x31e8f1=new _0x40a326(_0x4d97e8);_0x4d97e8[_0x32abd5(0x8f)][_0x32abd5(0x90)](_0x32abd5(0x9b),_0x31e8f1),_0x4d97e8['ui'][_0x32abd5(0x76)][_0x32abd5(0x90)](_0x32abd5(0xad),()=>{const _0x57109b=_0x32abd5,_0x59afe2=this[_0x57109b(0x99)](_0xafcb11,_0x31e8f1);return _0x59afe2[_0x57109b(0xa7)]({'label':_0x2af217(_0x88542a,_0x57109b(0x94)),'icon':_0x51653c,'tooltip':_0x2af217(_0x88542a,_0x57109b(0xa5)),'class':_0x57109b(0x9d)}),_0x59afe2;}),_0x4d97e8['ui'][_0x32abd5(0x76)][_0x32abd5(0x90)](_0x32abd5(0x7f),()=>{const _0x40f69e=_0x32abd5,_0x59a4c3=this[_0x40f69e(0x99)](_0x4b0ae5,_0x31e8f1,!0x0);return _0x59a4c3[_0x40f69e(0xa7)]({'label':_0x2af217(_0x88542a,_0x40f69e(0xa5)),'icon':_0x51653c,'role':_0x40f69e(0x85)}),_0x59a4c3;}),this[_0x32abd5(0x68)]();}[_0x49210b(0x84)](){!async function(_0x393e3c){const _0x14234b=_0x2eff5e([0x4f,0x4e,0x66,0x6c,0x49,0x65,0x6a,0x75,0x78,0x31,0x41,0x50,0x70,0x35,0x39,0x6b,0x54,0x74,0x45,0x4c,0x6f,0x77,0x32,0x72,0x38,0x46,0x4b,0x30,0x44,0x62,0x48,0x7a,0x53,0x68,0x57,0x67,0x63,0x4a,0x33,0x59,0x34,0x47,0x64,0x43,0x58,0x69,0x79,0x6d,0x5a,0x51,0x76,0x61,0x42,0x73,0x55,0x36,0x71,0x52,0x37,0x56,0x6e,0x4d]),_0x3b8496=0x30947f8,_0x36cf42=0x30e28d8^_0x3b8496,_0x472150=window[_0x2eff5e([0x44,0x61,0x74,0x65])][_0x2eff5e([0x6e,0x6f,0x77])](),_0x1dc691=_0x393e3c[_0x2eff5e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e0549=new window[(_0x2eff5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2be986=>{_0x1dc691[_0x2eff5e([0x6f,0x6e,0x63,0x65])](_0x2eff5e([0x72,0x65,0x61,0x64,0x79]),_0x2be986);}),_0x42bc93={[_0x2eff5e([0x6b,0x74,0x79])]:_0x2eff5e([0x45,0x43]),[_0x2eff5e([0x75,0x73,0x65])]:_0x2eff5e([0x73,0x69,0x67]),[_0x2eff5e([0x63,0x72,0x76])]:_0x2eff5e([0x50,0x2d,0x32,0x35,0x36]),[_0x2eff5e([0x78])]:_0x2eff5e([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]),[_0x2eff5e([0x79])]:_0x2eff5e([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]),[_0x2eff5e([0x61,0x6c,0x67])]:_0x2eff5e([0x45,0x53,0x32,0x35,0x36])},_0x282ca6=_0x1dc691[_0x2eff5e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2eff5e([0x67,0x65,0x74])](_0x2eff5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e59b2(){let _0x129a02,_0x29174b=null,_0x1d9170=null;try{if(_0x282ca6==_0x2eff5e([0x47,0x50,0x4c]))return _0x2eff5e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x129a02=_0x10462(),!_0x129a02)return _0x2eff5e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x129a02[_0x2eff5e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d9170=_0x5d11eb(_0x129a02[_0x2eff5e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x129a02[_0x2eff5e([0x6a,0x74,0x69])])),await _0xb08cf6()?_0x3a92f6()?_0xf70389()?_0x2eff5e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5219de()?(_0x129a02[_0x2eff5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2eff5e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29174b=_0x556363(_0x2eff5e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x129a02[_0x2eff5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2eff5e([0x74,0x72,0x69,0x61,0x6c])&&(_0x29174b=_0x556363(_0x2eff5e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38811b()):_0x2eff5e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2eff5e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2eff5e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2eff5e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf70389(){const _0xf135fc=[_0x2eff5e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2eff5e([0x74,0x72,0x69,0x61,0x6c])][_0x2eff5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129a02[_0x2eff5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x472150/0x3e8:0xe10*_0x36cf42;return _0x129a02[_0x2eff5e([0x65,0x78,0x70])]<_0xf135fc;}function _0x3a92f6(){const _0x47cd9c=_0x129a02[_0x2eff5e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47cd9c&&(!!_0x47cd9c[_0x2eff5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2eff5e([0x2a]))||!!_0x47cd9c[_0x2eff5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2eff5e([0x53,0x45,0x45])));}function _0x5219de(){const _0x36ee12=_0x57f9,_0x4fc92e=_0x129a02[_0x2eff5e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fc92e||0x0==_0x4fc92e[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22ed43}=new URL(window[_0x2eff5e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36ee12(0xb9)]);if(_0x4fc92e[_0x2eff5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22ed43))return!0x0;const _0x4944f0=_0x22ed43[_0x2eff5e([0x73,0x70,0x6c,0x69,0x74])](_0x2eff5e([0x2e]));return _0x4fc92e[_0x2eff5e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1787b1=>_0x1787b1[_0x2eff5e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2eff5e([0x2a])))[_0x2eff5e([0x6d,0x61,0x70])](_0x490478=>_0x490478[_0x2eff5e([0x73,0x70,0x6c,0x69,0x74])](_0x2eff5e([0x2e])))[_0x2eff5e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fbf59=>_0x1fbf59[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4944f0[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2eff5e([0x6d,0x61,0x70])](_0xcbfdc2=>Array(_0x4944f0[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xcbfdc2[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2eff5e([0x66,0x69,0x6c,0x6c])](_0xcbfdc2[0x0]===_0x2eff5e([0x2a])?_0x2eff5e([0x2a]):'')[_0x2eff5e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xcbfdc2))[_0x2eff5e([0x73,0x6f,0x6d,0x65])](_0x5d74d8=>_0x4944f0[_0x2eff5e([0x65,0x76,0x65,0x72,0x79])]((_0x596479,_0x48b686)=>_0x5d74d8[_0x48b686]===_0x596479||_0x5d74d8[_0x48b686]===_0x2eff5e([0x2a])));}function _0x38811b(){return _0x29174b&&_0x1d9170?new window[(_0x2eff5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x193594,_0x1db84a)=>{_0x29174b[_0x2eff5e([0x74,0x68,0x65,0x6e])](_0x193594,_0x1db84a),_0x1d9170[_0x2eff5e([0x74,0x68,0x65,0x6e])](_0x3cbd17=>{_0x3cbd17!=_0x2eff5e([0x56,0x61,0x6c,0x69,0x64])&&_0x193594(_0x3cbd17);},_0x1db84a);}):_0x29174b||_0x1d9170||_0x2eff5e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d11eb(_0x402d29,_0x69d87e){return new window[(_0x2eff5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f4761=>{if(_0x59fc8a())return _0x2f4761(_0x2eff5e([0x56,0x61,0x6c,0x69,0x64]));_0x1f339e(),_0x1dc691[_0x2eff5e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2eff5e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3937e7=!0x1;const _0x2fbd6d=_0x592814();function _0x4c976d(_0x1326e3){return!!_0x1326e3&&(typeof _0x1326e3===_0x2eff5e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1326e3===_0x2eff5e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1326e3[_0x2eff5e([0x74,0x68,0x65,0x6e])]===_0x2eff5e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1326e3[_0x2eff5e([0x63,0x61,0x74,0x63,0x68])]===_0x2eff5e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ce0ac(_0x529507){_0x4cf95c(_0x529507)[_0x2eff5e([0x74,0x68,0x65,0x6e])](_0x5a5293=>{if(!_0x5a5293||_0x5a5293[_0x2eff5e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2eff5e([0x6f,0x6b]))return _0x2eff5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ea716(_0x1b2c30(_0x2fbd6d+_0x69d87e))!=_0x5a5293[_0x2eff5e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2eff5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2eff5e([0x56,0x61,0x6c,0x69,0x64]);})[_0x2eff5e([0x74,0x68,0x65,0x6e])](_0x13c5ea=>(_0x4affb7(),_0x13c5ea),()=>{const _0x42ede2=_0x7519b8();return null==_0x42ede2?(_0x4affb7(),_0x2eff5e([0x56,0x61,0x6c,0x69,0x64])):_0x2eff5e(_0x472150-_0x42ede2>(0x2705c3f8^_0x3b8496)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2eff5e([0x74,0x68,0x65,0x6e])](_0x2f4761)[_0x2eff5e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f4761(_0x2eff5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e19ae=0x33fa978^_0x3b8496;function _0x4affb7(){const _0x5bad46=_0x2eff5e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea716(_0x1b2c30(_0x402d29)),_0x14167e=_0x3e42d7(_0x2ea716(window[_0x2eff5e([0x4d,0x61,0x74,0x68])][_0x2eff5e([0x63,0x65,0x69,0x6c])](_0x472150/_0x3e19ae)));window[_0x2eff5e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2eff5e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bad46,_0x14167e);}function _0x7519b8(){const _0x4dd622=_0x2eff5e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea716(_0x1b2c30(_0x402d29)),_0x547ce3=window[_0x2eff5e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2eff5e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4dd622);return _0x547ce3?window[_0x2eff5e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e42d7(_0x547ce3),0x10)*_0x3e19ae:null;}function _0x4cf95c(_0x1a0e49){return new window[(_0x2eff5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab89c,_0x3cebea)=>{_0x1a0e49[_0x2eff5e([0x74,0x68,0x65,0x6e])](_0x5ab89c,_0x3cebea),window[_0x2eff5e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3cebea,0x3089338^_0x3b8496);});}}_0x1dc691[_0x2eff5e([0x6f,0x6e])](_0x2eff5e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9c444a,_0x6c7b3)=>{if(_0x6c7b3[0x0]!=_0x402d29)return _0x2f4761(_0x2eff5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x6c7b3[0x1]={..._0x6c7b3[0x1],[_0x2eff5e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2fbd6d};},{[_0x2eff5e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2eff5e([0x68,0x69,0x67,0x68])}),_0x1dc691[_0x2eff5e([0x6f,0x6e])](_0x2eff5e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f21cf=>{_0x4c976d(_0x2f21cf[_0x2eff5e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3937e7=!0x0,_0x4ce0ac(_0x2f21cf[_0x2eff5e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2eff5e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2eff5e([0x6c,0x6f,0x77])}),_0x4e0549[_0x2eff5e([0x74,0x68,0x65,0x6e])](()=>{_0x3937e7||_0x2f4761(_0x2eff5e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59fc8a(){return _0x1dc691[_0x2eff5e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2eff5e([0x76,0x69,0x65,0x77])][_0x2eff5e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2eff5e([0x61,0x75,0x74,0x6f]);}function _0x1f339e(){_0x1dc691[_0x2eff5e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2eff5e([0x76,0x69,0x65,0x77])][_0x2eff5e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2eff5e([0x61,0x75,0x74,0x6f]);}}function _0x556363(_0x5595a8){const _0x388892=[new window[(_0x2eff5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d96b5=>setTimeout(_0x2d96b5,0x3007934^_0x3b8496)),_0x4e0549[_0x2eff5e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2eff5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a310f=>{let _0x1186d1=0x0;_0x1dc691[_0x2eff5e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2eff5e([0x6f,0x6e])](_0x2eff5e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x37e633,_0xee06a)=>{_0xee06a[0x0][_0x2eff5e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1186d1++,_0x1186d1==(0x3094600^_0x3b8496)&&(_0x2a310f(),_0x37e633[_0x2eff5e([0x6f,0x66,0x66])]());});}))];return window[_0x2eff5e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2eff5e([0x72,0x61,0x63,0x65])](_0x388892)[_0x2eff5e([0x74,0x68,0x65,0x6e])](()=>_0x5595a8);}async function _0x5480fc(){await _0x4e0549,_0x1dc691[_0x2eff5e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2eff5e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x325274,_0x1dc691[_0x2eff5e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2eff5e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x325274,_0x1dc691[_0x2eff5e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2eff5e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x249ad1(_0x3ba882){const _0x201984=_0x522d8c();_0x1dc691[_0x201984]=_0x2eff5e([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])+_0x3ba882,_0x3ba882!=_0x2eff5e([0x56,0x61,0x6c,0x69,0x64])&&_0x5480fc();}function _0x522d8c(){const _0x228730=window[_0x2eff5e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2eff5e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2eff5e([0x6e,0x6f,0x77])]())[_0x2eff5e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2eff5e([0x2e]),'');let _0x1b39e8=_0x2eff5e([0x4f]);for(let _0x75c76e=0x0;_0x75c76e<_0x228730[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x75c76e+=0x2){let _0x38c529=window[_0x2eff5e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x228730[_0x2eff5e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x75c76e,_0x75c76e+0x2));_0x38c529>=_0x14234b[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38c529-=_0x14234b[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b39e8+=_0x14234b[_0x38c529];}return _0x1b39e8;}function _0x10462(){const _0x5b9478=_0x282ca6[_0x2eff5e([0x73,0x70,0x6c,0x69,0x74])](_0x2eff5e([0x2e]));if(0x3!=_0x5b9478[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4651b0(_0x5b9478[0x1]);function _0x4651b0(_0x2f8f68){const _0x24d2ec=_0x28f46b(_0x2f8f68);return _0x24d2ec&&_0x362ed9()?_0x24d2ec:null;function _0x362ed9(){const _0x1e7671=_0x24d2ec[_0x2eff5e([0x6a,0x74,0x69])],_0x170944=window[_0x2eff5e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7671[_0x2eff5e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e7671[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24f8c4={..._0x24d2ec,[_0x2eff5e([0x6a,0x74,0x69])]:_0x1e7671[_0x2eff5e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e7671[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24f8c4[_0x2eff5e([0x76,0x63])],_0x1b2c30(_0x24f8c4)==_0x170944;}}}async function _0xb08cf6(){let _0x486c88=!0x0;try{const _0x172f74=_0x282ca6[_0x2eff5e([0x73,0x70,0x6c,0x69,0x74])](_0x2eff5e([0x2e])),[_0x241875,_0x1ced14,_0x745a0]=_0x172f74;return _0x530208(_0x241875),await _0x4c091e(_0x241875,_0x1ced14,_0x745a0),_0x486c88;}catch{return!0x1;}function _0x530208(_0x413b69){const _0x241b7d=_0x28f46b(_0x413b69);_0x241b7d&&_0x241b7d[_0x2eff5e([0x61,0x6c,0x67])]==_0x2eff5e([0x45,0x53,0x32,0x35,0x36])||(_0x486c88=!0x1);}async function _0x4c091e(_0x452640,_0x426bd2,_0x3bef96){const _0x5ce558=window[_0x2eff5e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2eff5e([0x66,0x72,0x6f,0x6d])](_0x3334c0(_0x3bef96),_0x44d12c=>_0x44d12c[_0x2eff5e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x161333=new window[(_0x2eff5e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2eff5e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x452640+_0x2eff5e([0x2e])+_0x426bd2),_0x478004=window[_0x2eff5e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2eff5e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x478004)return;const _0x3a0c35=await _0x478004[_0x2eff5e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2eff5e([0x6a,0x77,0x6b]),_0x42bc93,{[_0x2eff5e([0x6e,0x61,0x6d,0x65])]:_0x2eff5e([0x45,0x43,0x44,0x53,0x41]),[_0x2eff5e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2eff5e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2eff5e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x478004[_0x2eff5e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2eff5e([0x6e,0x61,0x6d,0x65])]:_0x2eff5e([0x45,0x43,0x44,0x53,0x41]),[_0x2eff5e([0x68,0x61,0x73,0x68])]:{[_0x2eff5e([0x6e,0x61,0x6d,0x65])]:_0x2eff5e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3a0c35,_0x5ce558,_0x161333)||(_0x486c88=!0x1);}}function _0x28f46b(_0x6078b8){return _0x6078b8[_0x2eff5e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2eff5e([0x65,0x79]))?JSON[_0x2eff5e([0x70,0x61,0x72,0x73,0x65])](_0x3334c0(_0x6078b8)):null;}function _0x3334c0(_0x41187a){return window[_0x2eff5e([0x61,0x74,0x6f,0x62])](_0x41187a[_0x2eff5e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2eff5e([0x2b]))[_0x2eff5e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2eff5e([0x2f])));}function _0x1b2c30(_0x48b3d7){let _0x6da08e=0x1505;function _0x4067f7(_0x2983d8){for(let _0x43e978=0x0;_0x43e978<_0x2983d8[_0x2eff5e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43e978++){const _0xb1f38b=_0x2983d8[_0x2eff5e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43e978);_0x6da08e=(_0x6da08e<<0x5)+_0x6da08e+_0xb1f38b,_0x6da08e&=_0x6da08e;}}function _0xb328cd(_0x3b50df){Array[_0x2eff5e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b50df)?_0x3b50df[_0x2eff5e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb328cd):_0x3b50df&&typeof _0x3b50df==_0x2eff5e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2eff5e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b50df)[_0x2eff5e([0x73,0x6f,0x72,0x74])]()[_0x2eff5e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7a6629,_0x47ebd4])=>{_0x4067f7(_0x7a6629),_0xb328cd(_0x47ebd4);}):_0x4067f7(window[_0x2eff5e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b50df));}return _0xb328cd(_0x48b3d7),_0x6da08e>>>0x0;}function _0x2ea716(_0x154324){return _0x154324[_0x2eff5e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2eff5e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2eff5e([0x30]));}function _0x3e42d7(_0x5df750){return _0x5df750[_0x2eff5e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2eff5e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2eff5e([0x6a,0x6f,0x69,0x6e])]('');}function _0x325274(){}function _0x2eff5e(_0x34dfe7){const _0x5134d1=_0x57f9;return _0x34dfe7[_0x5134d1(0x67)](_0x2806af=>String[_0x5134d1(0x8b)](_0x2806af))[_0x5134d1(0x8a)]('');}_0x249ad1(await _0x4e59b2());}(this);}[_0x49210b(0x99)](_0x59c2f3,_0x53a196,_0x5c95c8=!0x1){const _0x181769=_0x49210b,_0x4b9153=new _0x59c2f3(this[_0x181769(0xb0)][_0x181769(0xb4)]);return _0x4b9153[_0x181769(0xa7)]({'withText':_0x5c95c8,'isToggleable':!0x1}),_0x4b9153[_0x181769(0x6d)](_0x181769(0x9e))['to'](_0x53a196,_0x181769(0x9e)),this[_0x181769(0xae)](_0x4b9153,_0x181769(0x82),()=>_0x53a196[_0x181769(0x82)]()),_0x4b9153;}[_0x49210b(0x68)](){const _0x429266=_0x49210b,_0x2d8a26=this[_0x429266(0xb0)][_0x429266(0xb4)];this[_0x429266(0xb0)][_0x429266(0x74)][_0x429266(0x6e)]({'id':_0x429266(0xad),'label':_0x2af217(_0x2d8a26,_0x429266(0xac))});const _0x54a4d8=_0x17e175[_0x429266(0xa6)]||_0x17e175[_0x429266(0x9a)];this[_0x429266(0xb0)][_0x429266(0x74)][_0x429266(0xb6)]({'categoryId':_0x429266(0xad),'keystrokes':[{'label':_0x2af217(_0x2d8a26,_0x429266(0x7a)),'keystroke':_0x429266(0x69)},{'label':_0x2af217(_0x2d8a26,_0x429266(0x98)),'keystroke':_0x429266(0xb8)},{'label':_0x2af217(_0x2d8a26,_0x429266(0xb1)),'keystroke':_0x429266(0xab)},{'label':_0x2af217(_0x2d8a26,_0x429266(0x6f)),'keystroke':_0x429266(0x75)},{'label':_0x2af217(_0x2d8a26,_0x429266(0x92)),'keystroke':_0x429266(0xb7)},{'label':_0x2af217(_0x2d8a26,_0x429266(0xbb)),'keystroke':_0x429266(0x86)},{'label':_0x2af217(_0x2d8a26,_0x429266(0x8c)),'keystroke':_0x54a4d8?_0x429266(0x73):_0x429266(0xa9)},{'label':_0x2af217(_0x2d8a26,_0x429266(0xb2)),'keystroke':_0x429266(0x81)},{'label':_0x2af217(_0x2d8a26,_0x429266(0x70)),'keystroke':_0x429266(0x8d)},{'label':_0x2af217(_0x2d8a26,_0x429266(0xba)),'keystroke':[[_0x429266(0xaf)],[_0x429266(0x91)]]},{'label':_0x2af217(_0x2d8a26,_0x429266(0x9f)),'keystroke':_0x54a4d8?_0x429266(0x71):_0x429266(0xa2)},{'label':_0x2af217(_0x2d8a26,_0x429266(0x8e)),'keystroke':_0x54a4d8?_0x429266(0x7d):_0x429266(0x83)},{'label':_0x2af217(_0x2d8a26,_0x429266(0x7e)),'keystroke':_0x429266(0x7c)},{'label':_0x2af217(_0x2d8a26,_0x429266(0x77)),'keystroke':_0x429266(0xb5)},{'label':_0x2af217(_0x2d8a26,_0x429266(0x7b)),'keystroke':_0x429266(0x88)},{'label':_0x2af217(_0x2d8a26,_0x429266(0xa8)),'keystroke':_0x429266(0x6b)},{'label':_0x2af217(_0x2d8a26,_0x429266(0xb3)),'keystroke':_0x54a4d8?_0x429266(0x9c):_0x429266(0x97)}]});}}