@ckeditor/ckeditor5-source-editing-enhanced 45.2.1-alpha.7 → 45.2.1-alpha.9
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 _0x4af732,PendingActions as _0x56f46d,Plugin as _0x2b1c5d}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x40a69d,formatHtml as tr,env as _0xe50ece,uid as _0xb59513}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x18bc0b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4e4ad3,ButtonView as _0x42b37a,MenuBarMenuListItemButtonView as _0x5469f1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1104c5,crosshairCursor as _0x1a194b,drawSelection as _0x47c09d,dropCursor as _0x4ef236,lineNumbers as _0x2a8e7e,highlightActiveLine as _0x54956d,highlightActiveLineGutter as _0x5b50cf,highlightSpecialChars as _0x3f5937,rectangularSelection as _0x1c8160,keymap as _0x1c6f86}from'@codemirror/view';import{Compartment as _0x1a5bf9,Transaction as _0x4e6fb9}from'@codemirror/state';import{bracketMatching as _0x170014,foldGutter as _0x25f81c,indentOnInput as _0x773f85,syntaxHighlighting as _0x59507b,defaultHighlightStyle as _0x563d7f,foldKeymap as _0x504051}from'@codemirror/language';import{toggleTabFocusMode as _0x53da08,history as _0x207e32,defaultKeymap as _0x6dba28,historyKeymap as _0x27b7b7,indentLess as _0x7a2298,indentMore as _0x2bcde7,redo as _0x4bc58e,undo as _0x386fe5}from'@codemirror/commands';import{autocompletion as _0x2b6393,closeBrackets as _0x3251c8,closeBracketsKeymap as _0x77ab24,completionKeymap as _0x2f6b57}from'@codemirror/autocomplete';import{html as _0x562eb9}from'@codemirror/lang-html';import{markdown as _0x1acea8}from'@codemirror/lang-markdown';import{oneDark as _0x187de5}from'@codemirror/theme-one-dark';function f(_0x59426b,_0x117760){const t=_0x59426b['t'];switch(_0x117760){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 _0x117760;}}function s(_0x4c86e1){const _0x4579ee=_0x4c86e1['editing']['view']['document']['roots'],_0x5947f8=_0x4579ee['length'];if(0x0===_0x5947f8)throw new _0x40a69d('source-editing-enhanced-editor-no-root',_0x4c86e1);if(0x1===_0x5947f8)return _0x4579ee['first']['rootName'];return Array['from'](_0x4c86e1['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x15e890){return or(_0x15e890['replace'](/^[\n\s]*/g,''))?_0x15e890['replace'](/\s+/g,''):_0x15e890;}function or(_0x41ca45){return _0x41ca45['startsWith']('<');}function p(_0x1e29d8){const _0x4bf592=[_0x1104c5['lineWrapping'],_0x2b6393(),_0x170014(),_0x3251c8(),_0x1a194b(),_0x47c09d(),_0x4ef236(),_0x2a8e7e(),_0x25f81c(),_0x54956d(),_0x5b50cf(),_0x3f5937(),_0x207e32(),_0x773f85(),_0x1c8160(),_0x59507b(_0x563d7f,{'fallback':!0x0})],_0x237f89=new _0x1a5bf9();_0x4bf592['push'](_0x237f89['of'](_0x1104c5['editable']['of'](!0x0))),'html'===_0x1e29d8['syntaxLanguage']?_0x4bf592['push'](_0x562eb9()):_0x4bf592['push'](_0x1acea8());const _0x316ddb=function(_0x4d2911){if(_0x4d2911&&'default'!==_0x4d2911)return'dark'===_0x4d2911?_0x187de5:_0x4d2911;return null;}(_0x1e29d8['theme']);_0x316ddb&&_0x4bf592['push'](_0x316ddb),_0x4bf592['push'](_0x1c6f86['of']([..._0x77ab24,..._0x6dba28,..._0x27b7b7,..._0x504051,..._0x2f6b57,{'key':'Tab','run':_0x2bcde7,'shift':_0x7a2298,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x4bc58e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x4bc58e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x386fe5,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0xfa472e=new _0x1104c5({'extensions':_0x4bf592,'parent':_0x1e29d8['parent']});return _0x53da08(_0xfa472e),{'focus':()=>{_0xfa472e['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xfa472e['focus']();},'getData':()=>_0xfa472e['state']['doc']['toString'](),'setData':_0x15ecef=>{_0xfa472e['dispatch']({'changes':{'from':0x0,'to':_0xfa472e['state']['doc']['length'],'insert':_0x15ecef},'annotations':_0x4e6fb9['addToHistory']['of'](!0x1)});},'setReadOnly':_0xc17a14=>{_0xfa472e['dispatch']({'effects':[_0x237f89['reconfigure'](_0x1104c5['editable']['of'](!_0xc17a14))]});},'destroy':()=>{_0xfa472e['destroy']();},'instance':_0xfa472e};}class m extends _0x4e4ad3{['_codeEditorApi']=null;['_options'];constructor(_0x550644,_0x12ba28){super(_0x550644),this['_options']=_0x12ba28,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x1957e8,_0xf5c8ec,_0xd1741)=>{this['setReadOnly'](_0xd1741);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2b258f){this['_codeEditorApi']['setData'](_0x2b258f);}['setReadOnly'](_0x18d778){this['_codeEditorApi']['setReadOnly'](_0x18d778);}}const b='SourceEditingEnhancedMode';class d extends _0x4af732{constructor(_0x486742){super(_0x486742),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x56f46d)['on']('change:hasAny',(_0x5b4662,_0x1ff409,_0x436924)=>{_0x436924?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x3771cb=this['editor'];for(const _0x4d4623 of _0x3771cb['commands']['names']())['replaceSource','editSource']['includes'](_0x4d4623)||_0x3771cb['commands']['get'](_0x4d4623)['forceDisabled'](b);}['_enableCommands'](){const _0x4c37f6=this['editor'];for(const _0x196b62 of _0x4c37f6['commands']['commands']())_0x196b62['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x30cc35=this['editor'],_0x43a951=_0x30cc35['locale'],_0x346f87=_0x30cc35['plugins']['get']('Dialog'),_0x305f19=s(_0x30cc35),_0xf2b0d7=_0x30cc35['data']['get']({'rootName':_0x305f19}),_0x11adb5=or(_0x4728ad=_0xf2b0d7)?tr(_0x4728ad):_0x4728ad;var _0x4728ad;const _0x33437f=new m(_0x43a951,{'syntaxLanguage':_0x30cc35['plugins']['has']('Markdown')?'markdown':'html','theme':_0x30cc35['config']['get']('sourceEditingEnhanced.theme')});let _0x42f39c=!0x0;const _0x2a191b=_0x422884=>{if(!_0x42f39c)return;return E(_0x33437f['getData']())!==E(_0x11adb5)?window['confirm'](f(_0x43a951,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x422884['stop']():void 0x0;};_0x346f87['show']({'id':'sourceEditingEnhanced','title':f(_0x43a951,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x33437f,'actionButtons':[{'label':f(_0x43a951,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x346f87['hide']();}},{'label':f(_0x43a951,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x5e69c6=E(_0x33437f['getData']())!==E(_0x11adb5);(_0x5e69c6&&_0x30cc35['execute']('replaceSource',_0x33437f['getData']()),_0x42f39c=!0x1,_0x346f87['hide'](),_0x5e69c6&&'editables'in _0x30cc35['ui']['view'])&&_0x30cc35['ui']['view']['editables'][_0x305f19]['element']['focus']();},'onCreate':_0x292f84=>{_0x292f84['set']('isEnabled',!_0x30cc35['isReadOnly']),_0x292f84['bind']('isEnabled')['to'](_0x30cc35,'isReadOnly',this,'isEnabled',(_0x2fd60c,_0x1fd8a0)=>!_0x2fd60c&&_0x1fd8a0);}}],'onHide':()=>{this['_enableCommands'](),_0x346f87['off']('hide',_0x2a191b),_0x33437f['destroy']();},'onShow':()=>{_0x33437f['bind']('isReadOnly')['to'](_0x30cc35,'isReadOnly',this,'isEnabled',(_0x424a56,_0x3f55e8)=>_0x424a56||!_0x3f55e8),_0x33437f['setData'](_0x11adb5),_0x33437f['focus'](),_0x346f87['on']('hide',_0x2a191b,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2b1c5d{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x56f46d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x39b8cb=this['editor'],_0x32adac=_0x39b8cb['locale'],_0x1a5443=new d(_0x39b8cb);_0x39b8cb['commands']['add']('editSource',_0x1a5443),_0x39b8cb['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x42e1ba=this['_createButton'](_0x42b37a,_0x1a5443);return _0x42e1ba['set']({'label':f(_0x32adac,'Source'),'icon':_0x18bc0b,'tooltip':f(_0x32adac,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x42e1ba;}),_0x39b8cb['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x235b6f=this['_createButton'](_0x5469f1,_0x1a5443,!0x0);return _0x235b6f['set']({'label':f(_0x32adac,'Edit\x20source\x20modal\x20label'),'icon':_0x18bc0b,'role':'menuitemcheckbox'}),_0x235b6f;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x567e1c){const _0x500988=_0x9d4add([0x41,0x6a,0x71,0x69,0x35,0x64,0x78,0x61,0x33,0x73,0x75,0x46,0x7a,0x72,0x58,0x36,0x6b,0x6c,0x52,0x59,0x37,0x77,0x66,0x74,0x4d,0x39,0x4c,0x50,0x31,0x67,0x6f,0x49,0x4e,0x57,0x4b,0x43,0x56,0x34,0x54,0x45,0x38,0x32,0x4f,0x68,0x65,0x42,0x4a,0x79,0x62,0x70,0x5a,0x51,0x63,0x6e,0x47,0x48,0x55,0x6d,0x53,0x30,0x44,0x76]),_0x270eb6=0x598a70c7,_0x3340af=0x598d1ba7^_0x270eb6,_0x4320ef=window[_0x9d4add([0x44,0x61,0x74,0x65])][_0x9d4add([0x6e,0x6f,0x77])](),_0x39b339=_0x567e1c[_0x9d4add([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x116ac5=new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d3a23=>{_0x39b339[_0x9d4add([0x6f,0x6e,0x63,0x65])](_0x9d4add([0x72,0x65,0x61,0x64,0x79]),_0x4d3a23);}),_0x45c22a={[_0x9d4add([0x6b,0x74,0x79])]:_0x9d4add([0x45,0x43]),[_0x9d4add([0x75,0x73,0x65])]:_0x9d4add([0x73,0x69,0x67]),[_0x9d4add([0x63,0x72,0x76])]:_0x9d4add([0x50,0x2d,0x32,0x35,0x36]),[_0x9d4add([0x78])]:_0x9d4add([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]),[_0x9d4add([0x79])]:_0x9d4add([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]),[_0x9d4add([0x61,0x6c,0x67])]:_0x9d4add([0x45,0x53,0x32,0x35,0x36])},_0x38f14c=_0x39b339[_0x9d4add([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9d4add([0x67,0x65,0x74])](_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x321ffa(){let _0x2347d8,_0x28ceca=null,_0x39d390=null;try{if(_0x38f14c==_0x9d4add([0x47,0x50,0x4c]))return _0x9d4add([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2347d8=_0x5f30b1(),!_0x2347d8)return _0x9d4add([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2347d8[_0x9d4add([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39d390=_0x45d971(_0x2347d8[_0x9d4add([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2347d8[_0x9d4add([0x6a,0x74,0x69])])),await _0x5d8139()?_0x45eacb()?_0x43322e()?_0x9d4add([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1066bf()?(_0x2347d8[_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9d4add([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28ceca=_0x11a5a5(_0x9d4add([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2347d8[_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9d4add([0x74,0x72,0x69,0x61,0x6c])&&(_0x28ceca=_0x11a5a5(_0x9d4add([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2937d5()):_0x9d4add([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9d4add([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9d4add([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9d4add([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43322e(){const _0x353dbf=[_0x9d4add([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9d4add([0x74,0x72,0x69,0x61,0x6c])][_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2347d8[_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4320ef/0x3e8:0xe10*_0x3340af;return _0x2347d8[_0x9d4add([0x65,0x78,0x70])]<_0x353dbf;}function _0x45eacb(){const _0x4aaac5=_0x2347d8[_0x9d4add([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4aaac5&&(!!_0x4aaac5[_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d4add([0x2a]))||!!_0x4aaac5[_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d4add([0x53,0x45,0x45])));}function _0x1066bf(){const _0x5b1462=_0x2347d8[_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b1462||0x0==_0x5b1462[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c1f10}=new URL(window[_0x9d4add([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b1462[_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c1f10))return!0x0;const _0x19958c=_0x1c1f10[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])](_0x9d4add([0x2e]));return _0x5b1462[_0x9d4add([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a522c=>_0x5a522c[_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d4add([0x2a])))[_0x9d4add([0x6d,0x61,0x70])](_0x3ac6f0=>_0x3ac6f0[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])](_0x9d4add([0x2e])))[_0x9d4add([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b65ec=>_0x3b65ec[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19958c[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9d4add([0x6d,0x61,0x70])](_0x3231d9=>Array(_0x19958c[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3231d9[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9d4add([0x66,0x69,0x6c,0x6c])](_0x3231d9[0x0]===_0x9d4add([0x2a])?_0x9d4add([0x2a]):'')[_0x9d4add([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3231d9))[_0x9d4add([0x73,0x6f,0x6d,0x65])](_0x10cfcb=>_0x19958c[_0x9d4add([0x65,0x76,0x65,0x72,0x79])]((_0x1207d1,_0x495f3d)=>_0x10cfcb[_0x495f3d]===_0x1207d1||_0x10cfcb[_0x495f3d]===_0x9d4add([0x2a])));}function _0x2937d5(){return _0x28ceca&&_0x39d390?new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x114441,_0x53eb1d)=>{_0x28ceca[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x114441,_0x53eb1d),_0x39d390[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x18eddb=>{_0x18eddb!=_0x9d4add([0x56,0x61,0x6c,0x69,0x64])&&_0x114441(_0x18eddb);},_0x53eb1d);}):_0x28ceca||_0x39d390||_0x9d4add([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45d971(_0x52a814,_0xd011ba){return new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3453cc=>{if(_0x4c05ef())return _0x3453cc(_0x9d4add([0x56,0x61,0x6c,0x69,0x64]));_0x592fb9(),_0x39b339[_0x9d4add([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9d4add([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ce9d8=!0x1;const _0x38a981=_0xb59513();function _0x276343(_0x5ed3f6){return!!_0x5ed3f6&&(typeof _0x5ed3f6===_0x9d4add([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ed3f6===_0x9d4add([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ed3f6[_0x9d4add([0x74,0x68,0x65,0x6e])]===_0x9d4add([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ed3f6[_0x9d4add([0x63,0x61,0x74,0x63,0x68])]===_0x9d4add([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x55ff32(_0x417482){_0x1d7e9a(_0x417482)[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x61226c=>{if(!_0x61226c||_0x61226c[_0x9d4add([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9d4add([0x6f,0x6b]))return _0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x181aef(_0x623df8(_0x38a981+_0xd011ba))!=_0x61226c[_0x9d4add([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9d4add([0x56,0x61,0x6c,0x69,0x64]);})[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x43e91c=>(_0x449ccb(),_0x43e91c),()=>{const _0x46baad=_0x26d932();return null==_0x46baad?(_0x449ccb(),_0x9d4add([0x56,0x61,0x6c,0x69,0x64])):_0x9d4add(_0x4320ef-_0x46baad>(0x7d86f4c7^_0x270eb6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x3453cc)[_0x9d4add([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3453cc(_0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41fc1d=0x59bc9e47^_0x270eb6;function _0x449ccb(){const _0x201d34=_0x9d4add([0x6c,0x6c,0x63,0x74,0x2d])+_0x181aef(_0x623df8(_0x52a814)),_0x45d887=_0x43b1a1(_0x181aef(window[_0x9d4add([0x4d,0x61,0x74,0x68])][_0x9d4add([0x63,0x65,0x69,0x6c])](_0x4320ef/_0x41fc1d)));window[_0x9d4add([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9d4add([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x201d34,_0x45d887);}function _0x26d932(){const _0x15be76=_0x9d4add([0x6c,0x6c,0x63,0x74,0x2d])+_0x181aef(_0x623df8(_0x52a814)),_0x26fca7=window[_0x9d4add([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9d4add([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15be76);return _0x26fca7?window[_0x9d4add([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43b1a1(_0x26fca7),0x10)*_0x41fc1d:null;}function _0x1d7e9a(_0x6390ec){return new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19d12d,_0x3092ea)=>{_0x6390ec[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x19d12d,_0x3092ea),window[_0x9d4add([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3092ea,0x598ba407^_0x270eb6);});}}_0x39b339[_0x9d4add([0x6f,0x6e])](_0x9d4add([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57d2ec,_0x1b534c)=>{if(_0x1b534c[0x0]!=_0x52a814)return _0x3453cc(_0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b534c[0x1]={..._0x1b534c[0x1],[_0x9d4add([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38a981};},{[_0x9d4add([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9d4add([0x68,0x69,0x67,0x68])}),_0x39b339[_0x9d4add([0x6f,0x6e])](_0x9d4add([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26b9bf=>{_0x276343(_0x26b9bf[_0x9d4add([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ce9d8=!0x0,_0x55ff32(_0x26b9bf[_0x9d4add([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9d4add([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9d4add([0x6c,0x6f,0x77])}),_0x116ac5[_0x9d4add([0x74,0x68,0x65,0x6e])](()=>{_0x1ce9d8||_0x3453cc(_0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c05ef(){return _0x39b339[_0x9d4add([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9d4add([0x76,0x69,0x65,0x77])][_0x9d4add([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9d4add([0x61,0x75,0x74,0x6f]);}function _0x592fb9(){_0x39b339[_0x9d4add([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9d4add([0x76,0x69,0x65,0x77])][_0x9d4add([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9d4add([0x61,0x75,0x74,0x6f]);}}function _0x11a5a5(_0x17500d){const _0x185fc3=[new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bade5=>setTimeout(_0x5bade5,0x59834e0b^_0x270eb6)),_0x116ac5[_0x9d4add([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd2be98=>{let _0x26dd6f=0x0;_0x39b339[_0x9d4add([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d4add([0x6f,0x6e])](_0x9d4add([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c33fe,_0xb4c9d6)=>{_0xb4c9d6[0x0][_0x9d4add([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26dd6f++,_0x26dd6f==(0x598a713f^_0x270eb6)&&(_0xd2be98(),_0x3c33fe[_0x9d4add([0x6f,0x66,0x66])]());});}))];return window[_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9d4add([0x72,0x61,0x63,0x65])](_0x185fc3)[_0x9d4add([0x74,0x68,0x65,0x6e])](()=>_0x17500d);}async function _0x1ae411(){await _0x116ac5,_0x39b339[_0x9d4add([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d4add([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x316334,_0x39b339[_0x9d4add([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d4add([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x316334,_0x39b339[_0x9d4add([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9d4add([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55eeac(_0x215793){const _0x1e537e=_0x384674();_0x39b339[_0x1e537e]=_0x9d4add([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])+_0x215793,_0x215793!=_0x9d4add([0x56,0x61,0x6c,0x69,0x64])&&_0x1ae411();}function _0x384674(){const _0x215c35=window[_0x9d4add([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9d4add([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9d4add([0x6e,0x6f,0x77])]())[_0x9d4add([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9d4add([0x2e]),'');let _0x4260c0=_0x9d4add([0x41]);for(let _0x40a6e1=0x0;_0x40a6e1<_0x215c35[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40a6e1+=0x2){let _0x173569=window[_0x9d4add([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x215c35[_0x9d4add([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40a6e1,_0x40a6e1+0x2));_0x173569>=_0x500988[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x173569-=_0x500988[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4260c0+=_0x500988[_0x173569];}return _0x4260c0;}function _0x5f30b1(){const _0x4ab551=_0x38f14c[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])](_0x9d4add([0x2e]));if(0x3!=_0x4ab551[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52317a(_0x4ab551[0x1]);function _0x52317a(_0x1c577c){const _0x56e08b=_0x22b1fa(_0x1c577c);return _0x56e08b&&_0x29a9a5()?_0x56e08b:null;function _0x29a9a5(){const _0x3d47bc=_0x56e08b[_0x9d4add([0x6a,0x74,0x69])],_0x522f17=window[_0x9d4add([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d47bc[_0x9d4add([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d47bc[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32461a={..._0x56e08b,[_0x9d4add([0x6a,0x74,0x69])]:_0x3d47bc[_0x9d4add([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d47bc[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32461a[_0x9d4add([0x76,0x63])],_0x623df8(_0x32461a)==_0x522f17;}}}async function _0x5d8139(){let _0x1801d7=!0x0;try{const _0x3b358c=_0x38f14c[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])](_0x9d4add([0x2e])),[_0xd628f8,_0x49fabf,_0x391245]=_0x3b358c;return _0xf7f2bb(_0xd628f8),await _0xcd26eb(_0xd628f8,_0x49fabf,_0x391245),_0x1801d7;}catch{return!0x1;}function _0xf7f2bb(_0x1a3f12){const _0x3c8f65=_0x22b1fa(_0x1a3f12);_0x3c8f65&&_0x3c8f65[_0x9d4add([0x61,0x6c,0x67])]==_0x9d4add([0x45,0x53,0x32,0x35,0x36])||(_0x1801d7=!0x1);}async function _0xcd26eb(_0x4dd7dc,_0xfe8535,_0x5c461e){const _0x620c2d=window[_0x9d4add([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9d4add([0x66,0x72,0x6f,0x6d])](_0x472730(_0x5c461e),_0x40b54b=>_0x40b54b[_0x9d4add([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x119c6a=new window[(_0x9d4add([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9d4add([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4dd7dc+_0x9d4add([0x2e])+_0xfe8535),_0x459255=window[_0x9d4add([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9d4add([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x459255)return;const _0x2233e0=await _0x459255[_0x9d4add([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9d4add([0x6a,0x77,0x6b]),_0x45c22a,{[_0x9d4add([0x6e,0x61,0x6d,0x65])]:_0x9d4add([0x45,0x43,0x44,0x53,0x41]),[_0x9d4add([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9d4add([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9d4add([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x459255[_0x9d4add([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9d4add([0x6e,0x61,0x6d,0x65])]:_0x9d4add([0x45,0x43,0x44,0x53,0x41]),[_0x9d4add([0x68,0x61,0x73,0x68])]:{[_0x9d4add([0x6e,0x61,0x6d,0x65])]:_0x9d4add([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2233e0,_0x620c2d,_0x119c6a)||(_0x1801d7=!0x1);}}function _0x22b1fa(_0x10fb37){return _0x10fb37[_0x9d4add([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9d4add([0x65,0x79]))?JSON[_0x9d4add([0x70,0x61,0x72,0x73,0x65])](_0x472730(_0x10fb37)):null;}function _0x472730(_0x4e7e30){return window[_0x9d4add([0x61,0x74,0x6f,0x62])](_0x4e7e30[_0x9d4add([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9d4add([0x2b]))[_0x9d4add([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9d4add([0x2f])));}function _0x623df8(_0x4bc123){let _0x3484db=0x1505;function _0x2e039a(_0x1a1711){for(let _0x40ba6a=0x0;_0x40ba6a<_0x1a1711[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40ba6a++){const _0x517503=_0x1a1711[_0x9d4add([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40ba6a);_0x3484db=(_0x3484db<<0x5)+_0x3484db+_0x517503,_0x3484db&=_0x3484db;}}function _0x19b981(_0x593589){Array[_0x9d4add([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x593589)?_0x593589[_0x9d4add([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19b981):_0x593589&&typeof _0x593589==_0x9d4add([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9d4add([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x593589)[_0x9d4add([0x73,0x6f,0x72,0x74])]()[_0x9d4add([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e13ac,_0x6ac92c])=>{_0x2e039a(_0x5e13ac),_0x19b981(_0x6ac92c);}):_0x2e039a(window[_0x9d4add([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x593589));}return _0x19b981(_0x4bc123),_0x3484db>>>0x0;}function _0x181aef(_0x19d9b5){return _0x19d9b5[_0x9d4add([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9d4add([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9d4add([0x30]));}function _0x43b1a1(_0x23f4c9){return _0x23f4c9[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9d4add([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9d4add([0x6a,0x6f,0x69,0x6e])]('');}function _0x316334(){}function _0x9d4add(_0x46aacf){return _0x46aacf['map'](_0x2574bc=>String['fromCharCode'](_0x2574bc))['join']('');}_0x55eeac(await _0x321ffa());}(this);}['_createButton'](_0x5bd7f0,_0x5e1ce1,_0x7880c4=!0x1){const _0x7cfc0e=new _0x5bd7f0(this['editor']['locale']);return _0x7cfc0e['set']({'withText':_0x7880c4,'isToggleable':!0x1}),_0x7cfc0e['bind']('isEnabled')['to'](_0x5e1ce1,'isEnabled'),this['listenTo'](_0x7cfc0e,'execute',()=>_0x5e1ce1['execute']()),_0x7cfc0e;}['_registerKeybindings'](){const _0xcf430f=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0xcf430f,'Source\x20Editing\x20Enhanced')});const _0x53826c=_0xe50ece['isMac']||_0xe50ece['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0xcf430f,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0xcf430f,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0xcf430f,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0xcf430f,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0xcf430f,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0xcf430f,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0xcf430f,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x53826c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0xcf430f,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0xcf430f,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0xcf430f,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0xcf430f,'Select\x20line'),'keystroke':_0x53826c?'Ctrl!+L':'Alt+L'},{'label':f(_0xcf430f,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x53826c?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0xcf430f,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0xcf430f,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0xcf430f,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0xcf430f,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0xcf430f,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x53826c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x4af732{constructor(_0x597cad){super(_0x597cad),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3bef50,_0x5ad394){const _0x900451=this['editor'],_0x3b7a4a=_0x5ad394?.['rootName']??s(_0x900451);_0x900451['data']['set']({[_0x3b7a4a]:_0x3bef50},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x2b1c5d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1ee318){super(_0x1ee318),_0x1ee318['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x540663=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3db807;for(const _0x42d4b0 in _0x540663){const _0x4e14b1=_0x42d4b0,_0x4d0397=_0x540663[_0x4e14b1];if('sourceEditingEnhancedLicenseKeyValid'==_0x4d0397||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4d0397||'sourceEditingEnhancedLicenseKeyExpired'==_0x4d0397||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4d0397||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4d0397||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4d0397||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4d0397||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4d0397){delete _0x540663[_0x4e14b1],_0x3db807=_0x4d0397,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3db807&&_0x540663['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3db807&&_0x540663['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3db807&&_0x540663['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3db807&&_0x540663['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3db807&&_0x540663['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3db807&&_0x540663['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3db807&&_0x540663['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x5ae81d=this['editor'],_0x219521=_0x5ae81d['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x219521&&_0x5ae81d['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x40a69d('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x219521&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5b572f=>_0x5ae81d['plugins']['has'](_0x5b572f))&&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.'),_0x5ae81d['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,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x4c5b2b,PendingActions as _0x2b9da3,Plugin as _0x10c9dd}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x365014,formatHtml as tr,env as _0x1db6d8,uid as _0x4ae961}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x3579af}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0xad5650,ButtonView as _0x3dcded,MenuBarMenuListItemButtonView as _0xe8c53e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3bdd14,crosshairCursor as _0x34bea1,drawSelection as _0x2f32ef,dropCursor as _0x22096a,lineNumbers as _0x842ad8,highlightActiveLine as _0x1f454c,highlightActiveLineGutter as _0x418f33,highlightSpecialChars as _0x5af369,rectangularSelection as _0x14d296,keymap as _0x1a330c}from'@codemirror/view';import{Compartment as _0x1e0dce,Transaction as _0x3bac2f}from'@codemirror/state';import{bracketMatching as _0x3e69d8,foldGutter as _0x1988d1,indentOnInput as _0x3115ba,syntaxHighlighting as _0x1a94dc,defaultHighlightStyle as _0x4510f1,foldKeymap as _0x356c4c}from'@codemirror/language';import{toggleTabFocusMode as _0x48bbe4,history as _0x4cfda4,defaultKeymap as _0x2fe30e,historyKeymap as _0x22020f,indentLess as _0x2e2a16,indentMore as _0x56759f,redo as _0x34fa34,undo as _0x4104f1}from'@codemirror/commands';import{autocompletion as _0x3d6126,closeBrackets as _0x4421af,closeBracketsKeymap as _0x20300d,completionKeymap as _0x4e9db6}from'@codemirror/autocomplete';import{html as _0x28752c}from'@codemirror/lang-html';import{markdown as _0x540096}from'@codemirror/lang-markdown';import{oneDark as _0xb88115}from'@codemirror/theme-one-dark';function f(_0x2444e6,_0x19679a){const t=_0x2444e6['t'];switch(_0x19679a){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 _0x19679a;}}function s(_0xaf7dd1){const _0x4369a8=_0xaf7dd1['editing']['view']['document']['roots'],_0x5a982e=_0x4369a8['length'];if(0x0===_0x5a982e)throw new _0x365014('source-editing-enhanced-editor-no-root',_0xaf7dd1);if(0x1===_0x5a982e)return _0x4369a8['first']['rootName'];return Array['from'](_0xaf7dd1['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x4b1057){return or(_0x4b1057['replace'](/^[\n\s]*/g,''))?_0x4b1057['replace'](/\s+/g,''):_0x4b1057;}function or(_0x31603a){return _0x31603a['startsWith']('<');}function p(_0x380a2c){const _0x32936e=[_0x3bdd14['lineWrapping'],_0x3d6126(),_0x3e69d8(),_0x4421af(),_0x34bea1(),_0x2f32ef(),_0x22096a(),_0x842ad8(),_0x1988d1(),_0x1f454c(),_0x418f33(),_0x5af369(),_0x4cfda4(),_0x3115ba(),_0x14d296(),_0x1a94dc(_0x4510f1,{'fallback':!0x0})],_0x36de5b=new _0x1e0dce();_0x32936e['push'](_0x36de5b['of'](_0x3bdd14['editable']['of'](!0x0))),'html'===_0x380a2c['syntaxLanguage']?_0x32936e['push'](_0x28752c()):_0x32936e['push'](_0x540096());const _0x262934=function(_0x10a847){if(_0x10a847&&'default'!==_0x10a847)return'dark'===_0x10a847?_0xb88115:_0x10a847;return null;}(_0x380a2c['theme']);_0x262934&&_0x32936e['push'](_0x262934),_0x32936e['push'](_0x1a330c['of']([..._0x20300d,..._0x2fe30e,..._0x22020f,..._0x356c4c,..._0x4e9db6,{'key':'Tab','run':_0x56759f,'shift':_0x2e2a16,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x34fa34,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x34fa34,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4104f1,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x3e6b56=new _0x3bdd14({'extensions':_0x32936e,'parent':_0x380a2c['parent']});return _0x48bbe4(_0x3e6b56),{'focus':()=>{_0x3e6b56['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x3e6b56['focus']();},'getData':()=>_0x3e6b56['state']['doc']['toString'](),'setData':_0x8d7522=>{_0x3e6b56['dispatch']({'changes':{'from':0x0,'to':_0x3e6b56['state']['doc']['length'],'insert':_0x8d7522},'annotations':_0x3bac2f['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3d2fd4=>{_0x3e6b56['dispatch']({'effects':[_0x36de5b['reconfigure'](_0x3bdd14['editable']['of'](!_0x3d2fd4))]});},'destroy':()=>{_0x3e6b56['destroy']();},'instance':_0x3e6b56};}class m extends _0xad5650{['_codeEditorApi']=null;['_options'];constructor(_0x20cd70,_0x42a0ad){super(_0x20cd70),this['_options']=_0x42a0ad,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x4fb029,_0xd3361b,_0x5e178e)=>{this['setReadOnly'](_0x5e178e);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x3858f4){this['_codeEditorApi']['setData'](_0x3858f4);}['setReadOnly'](_0x209541){this['_codeEditorApi']['setReadOnly'](_0x209541);}}const b='SourceEditingEnhancedMode';class d extends _0x4c5b2b{constructor(_0x1ba68e){super(_0x1ba68e),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2b9da3)['on']('change:hasAny',(_0x4af672,_0x4fd24f,_0x34bf6b)=>{_0x34bf6b?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x29c0f8=this['editor'];for(const _0x13b512 of _0x29c0f8['commands']['names']())['replaceSource','editSource']['includes'](_0x13b512)||_0x29c0f8['commands']['get'](_0x13b512)['forceDisabled'](b);}['_enableCommands'](){const _0x3945d0=this['editor'];for(const _0x446e1d of _0x3945d0['commands']['commands']())_0x446e1d['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x2106c6=this['editor'],_0x5bf781=_0x2106c6['locale'],_0x516afb=_0x2106c6['plugins']['get']('Dialog'),_0x3e1938=s(_0x2106c6),_0x33a7cf=_0x2106c6['data']['get']({'rootName':_0x3e1938}),_0x198440=or(_0x5e0c74=_0x33a7cf)?tr(_0x5e0c74):_0x5e0c74;var _0x5e0c74;const _0x2236e8=new m(_0x5bf781,{'syntaxLanguage':_0x2106c6['plugins']['has']('Markdown')?'markdown':'html','theme':_0x2106c6['config']['get']('sourceEditingEnhanced.theme')});let _0x3a7a17=!0x0;const _0x18c611=_0x5d3a75=>{if(!_0x3a7a17)return;return E(_0x2236e8['getData']())!==E(_0x198440)?window['confirm'](f(_0x5bf781,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5d3a75['stop']():void 0x0;};_0x516afb['show']({'id':'sourceEditingEnhanced','title':f(_0x5bf781,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2236e8,'actionButtons':[{'label':f(_0x5bf781,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x516afb['hide']();}},{'label':f(_0x5bf781,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x455897=E(_0x2236e8['getData']())!==E(_0x198440);(_0x455897&&_0x2106c6['execute']('replaceSource',_0x2236e8['getData']()),_0x3a7a17=!0x1,_0x516afb['hide'](),_0x455897&&'editables'in _0x2106c6['ui']['view'])&&_0x2106c6['ui']['view']['editables'][_0x3e1938]['element']['focus']();},'onCreate':_0x45addf=>{_0x45addf['set']('isEnabled',!_0x2106c6['isReadOnly']),_0x45addf['bind']('isEnabled')['to'](_0x2106c6,'isReadOnly',this,'isEnabled',(_0x5c2f9f,_0x466c4c)=>!_0x5c2f9f&&_0x466c4c);}}],'onHide':()=>{this['_enableCommands'](),_0x516afb['off']('hide',_0x18c611),_0x2236e8['destroy']();},'onShow':()=>{_0x2236e8['bind']('isReadOnly')['to'](_0x2106c6,'isReadOnly',this,'isEnabled',(_0x415860,_0x4e34de)=>_0x415860||!_0x4e34de),_0x2236e8['setData'](_0x198440),_0x2236e8['focus'](),_0x516afb['on']('hide',_0x18c611,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x10c9dd{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2b9da3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2d79cf=this['editor'],_0x3a88d2=_0x2d79cf['locale'],_0x25666e=new d(_0x2d79cf);_0x2d79cf['commands']['add']('editSource',_0x25666e),_0x2d79cf['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3f4daa=this['_createButton'](_0x3dcded,_0x25666e);return _0x3f4daa['set']({'label':f(_0x3a88d2,'Source'),'icon':_0x3579af,'tooltip':f(_0x3a88d2,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3f4daa;}),_0x2d79cf['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x580ede=this['_createButton'](_0xe8c53e,_0x25666e,!0x0);return _0x580ede['set']({'label':f(_0x3a88d2,'Edit\x20source\x20modal\x20label'),'icon':_0x3579af,'role':'menuitemcheckbox'}),_0x580ede;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x4fe6d8){const _0x4f3814=_0x33f013([0x52,0x56,0x55,0x37,0x66,0x4c,0x30,0x76,0x47,0x61,0x69,0x70,0x79,0x36,0x4a,0x42,0x65,0x67,0x78,0x59,0x31,0x51,0x4e,0x6e,0x43,0x6b,0x72,0x58,0x4f,0x74,0x35,0x73,0x48,0x71,0x75,0x7a,0x68,0x32,0x5a,0x49,0x4d,0x44,0x46,0x50,0x6f,0x39,0x54,0x6a,0x63,0x77,0x6c,0x33,0x57,0x6d,0x53,0x34,0x62,0x41,0x4b,0x38,0x45,0x64]),_0x1ce44c=0x245b6257,_0x50714d=0x245c09c7^_0x1ce44c,_0x18cb17=window[_0x33f013([0x44,0x61,0x74,0x65])][_0x33f013([0x6e,0x6f,0x77])](),_0xe7041c=_0x4fe6d8[_0x33f013([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x367a0e=new window[(_0x33f013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f3b2f=>{_0xe7041c[_0x33f013([0x6f,0x6e,0x63,0x65])](_0x33f013([0x72,0x65,0x61,0x64,0x79]),_0x2f3b2f);}),_0xb77d2e={[_0x33f013([0x6b,0x74,0x79])]:_0x33f013([0x45,0x43]),[_0x33f013([0x75,0x73,0x65])]:_0x33f013([0x73,0x69,0x67]),[_0x33f013([0x63,0x72,0x76])]:_0x33f013([0x50,0x2d,0x32,0x35,0x36]),[_0x33f013([0x78])]:_0x33f013([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]),[_0x33f013([0x79])]:_0x33f013([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]),[_0x33f013([0x61,0x6c,0x67])]:_0x33f013([0x45,0x53,0x32,0x35,0x36])},_0x155293=_0xe7041c[_0x33f013([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x33f013([0x67,0x65,0x74])](_0x33f013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x456e75(){let _0x3f3028,_0x421fde=null,_0x45d313=null;try{if(_0x155293==_0x33f013([0x47,0x50,0x4c]))return _0x33f013([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f3028=_0x2f4b5c(),!_0x3f3028)return _0x33f013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f3028[_0x33f013([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45d313=_0x17df87(_0x3f3028[_0x33f013([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f3028[_0x33f013([0x6a,0x74,0x69])])),await _0x5507ad()?_0x5f1723()?_0x161eb8()?_0x33f013([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x59ab55()?(_0x3f3028[_0x33f013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33f013([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x421fde=_0x1e08ff(_0x33f013([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f3028[_0x33f013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33f013([0x74,0x72,0x69,0x61,0x6c])&&(_0x421fde=_0x1e08ff(_0x33f013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1448c0()):_0x33f013([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x33f013([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x33f013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x33f013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x161eb8(){const _0x48f50b=[_0x33f013([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x33f013([0x74,0x72,0x69,0x61,0x6c])][_0x33f013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f3028[_0x33f013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18cb17/0x3e8:0xe10*_0x50714d;return _0x3f3028[_0x33f013([0x65,0x78,0x70])]<_0x48f50b;}function _0x5f1723(){const _0x484474=_0x3f3028[_0x33f013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x484474&&(!!_0x484474[_0x33f013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33f013([0x2a]))||!!_0x484474[_0x33f013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33f013([0x53,0x45,0x45])));}function _0x59ab55(){const _0x1a6b06=_0x3f3028[_0x33f013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a6b06||0x0==_0x1a6b06[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21ad0b}=new URL(window[_0x33f013([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a6b06[_0x33f013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21ad0b))return!0x0;const _0x212e1f=_0x21ad0b[_0x33f013([0x73,0x70,0x6c,0x69,0x74])](_0x33f013([0x2e]));return _0x1a6b06[_0x33f013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x70165e=>_0x70165e[_0x33f013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33f013([0x2a])))[_0x33f013([0x6d,0x61,0x70])](_0x5cd8a5=>_0x5cd8a5[_0x33f013([0x73,0x70,0x6c,0x69,0x74])](_0x33f013([0x2e])))[_0x33f013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb0aadc=>_0xb0aadc[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x212e1f[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33f013([0x6d,0x61,0x70])](_0x512060=>Array(_0x212e1f[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x512060[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33f013([0x66,0x69,0x6c,0x6c])](_0x512060[0x0]===_0x33f013([0x2a])?_0x33f013([0x2a]):'')[_0x33f013([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x512060))[_0x33f013([0x73,0x6f,0x6d,0x65])](_0xb15696=>_0x212e1f[_0x33f013([0x65,0x76,0x65,0x72,0x79])]((_0x1262c0,_0x576876)=>_0xb15696[_0x576876]===_0x1262c0||_0xb15696[_0x576876]===_0x33f013([0x2a])));}function _0x1448c0(){return _0x421fde&&_0x45d313?new window[(_0x33f013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50a069,_0x34d44f)=>{_0x421fde[_0x33f013([0x74,0x68,0x65,0x6e])](_0x50a069,_0x34d44f),_0x45d313[_0x33f013([0x74,0x68,0x65,0x6e])](_0x32d681=>{_0x32d681!=_0x33f013([0x56,0x61,0x6c,0x69,0x64])&&_0x50a069(_0x32d681);},_0x34d44f);}):_0x421fde||_0x45d313||_0x33f013([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17df87(_0x15b32a,_0x362396){return new window[(_0x33f013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x469dfd=>{if(_0x364687())return _0x469dfd(_0x33f013([0x56,0x61,0x6c,0x69,0x64]));_0x43fdb7(),_0xe7041c[_0x33f013([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x33f013([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8d3fc9=!0x1;const _0x2b3290=_0x4ae961();function _0x46ba4e(_0x436e49){return!!_0x436e49&&(typeof _0x436e49===_0x33f013([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x436e49===_0x33f013([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x436e49[_0x33f013([0x74,0x68,0x65,0x6e])]===_0x33f013([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x436e49[_0x33f013([0x63,0x61,0x74,0x63,0x68])]===_0x33f013([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7c4223(_0x956e2d){_0x15fd01(_0x956e2d)[_0x33f013([0x74,0x68,0x65,0x6e])](_0xe8605d=>{if(!_0xe8605d||_0xe8605d[_0x33f013([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x33f013([0x6f,0x6b]))return _0x33f013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51df73(_0x3f5f70(_0x2b3290+_0x362396))!=_0xe8605d[_0x33f013([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x33f013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x33f013([0x56,0x61,0x6c,0x69,0x64]);})[_0x33f013([0x74,0x68,0x65,0x6e])](_0x19812e=>(_0x3452e7(),_0x19812e),()=>{const _0x679b1a=_0xe51b28();return null==_0x679b1a?(_0x3452e7(),_0x33f013([0x56,0x61,0x6c,0x69,0x64])):_0x33f013(_0x18cb17-_0x679b1a>(0x57e657^_0x1ce44c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x33f013([0x74,0x68,0x65,0x6e])](_0x469dfd)[_0x33f013([0x63,0x61,0x74,0x63,0x68])](()=>{_0x469dfd(_0x33f013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ee743=0x246d8cd7^_0x1ce44c;function _0x3452e7(){const _0x36deef=_0x33f013([0x6c,0x6c,0x63,0x74,0x2d])+_0x51df73(_0x3f5f70(_0x15b32a)),_0x227379=_0x2df44c(_0x51df73(window[_0x33f013([0x4d,0x61,0x74,0x68])][_0x33f013([0x63,0x65,0x69,0x6c])](_0x18cb17/_0x2ee743)));window[_0x33f013([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33f013([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36deef,_0x227379);}function _0xe51b28(){const _0x3e3c2b=_0x33f013([0x6c,0x6c,0x63,0x74,0x2d])+_0x51df73(_0x3f5f70(_0x15b32a)),_0x3737a9=window[_0x33f013([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33f013([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e3c2b);return _0x3737a9?window[_0x33f013([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2df44c(_0x3737a9),0x10)*_0x2ee743:null;}function _0x15fd01(_0x32f4f7){return new window[(_0x33f013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36816f,_0x3f478b)=>{_0x32f4f7[_0x33f013([0x74,0x68,0x65,0x6e])](_0x36816f,_0x3f478b),window[_0x33f013([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f478b,0x245ab697^_0x1ce44c);});}}_0xe7041c[_0x33f013([0x6f,0x6e])](_0x33f013([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f7944,_0x4235aa)=>{if(_0x4235aa[0x0]!=_0x15b32a)return _0x469dfd(_0x33f013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4235aa[0x1]={..._0x4235aa[0x1],[_0x33f013([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b3290};},{[_0x33f013([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33f013([0x68,0x69,0x67,0x68])}),_0xe7041c[_0x33f013([0x6f,0x6e])](_0x33f013([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x163945=>{_0x46ba4e(_0x163945[_0x33f013([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8d3fc9=!0x0,_0x7c4223(_0x163945[_0x33f013([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x33f013([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33f013([0x6c,0x6f,0x77])}),_0x367a0e[_0x33f013([0x74,0x68,0x65,0x6e])](()=>{_0x8d3fc9||_0x469dfd(_0x33f013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x364687(){return _0xe7041c[_0x33f013([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33f013([0x76,0x69,0x65,0x77])][_0x33f013([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x33f013([0x61,0x75,0x74,0x6f]);}function _0x43fdb7(){_0xe7041c[_0x33f013([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33f013([0x76,0x69,0x65,0x77])][_0x33f013([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x33f013([0x61,0x75,0x74,0x6f]);}}function _0x1e08ff(_0x4032b6){const _0x83502a=[new window[(_0x33f013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54df25=>setTimeout(_0x54df25,0x24525c9b^_0x1ce44c)),_0x367a0e[_0x33f013([0x74,0x68,0x65,0x6e])](()=>new window[(_0x33f013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc2f117=>{let _0x492444=0x0;_0xe7041c[_0x33f013([0x6d,0x6f,0x64,0x65,0x6c])][_0x33f013([0x6f,0x6e])](_0x33f013([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x151827,_0x2c1a77)=>{_0x2c1a77[0x0][_0x33f013([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x492444++,_0x492444==(0x245b63af^_0x1ce44c)&&(_0xc2f117(),_0x151827[_0x33f013([0x6f,0x66,0x66])]());});}))];return window[_0x33f013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x33f013([0x72,0x61,0x63,0x65])](_0x83502a)[_0x33f013([0x74,0x68,0x65,0x6e])](()=>_0x4032b6);}async function _0x3d0098(){await _0x367a0e,_0xe7041c[_0x33f013([0x6d,0x6f,0x64,0x65,0x6c])][_0x33f013([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x468ebb,_0xe7041c[_0x33f013([0x6d,0x6f,0x64,0x65,0x6c])][_0x33f013([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x468ebb,_0xe7041c[_0x33f013([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x33f013([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5292fd(_0x312c51){const _0x5bc661=_0x5a5552();_0xe7041c[_0x5bc661]=_0x33f013([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])+_0x312c51,_0x312c51!=_0x33f013([0x56,0x61,0x6c,0x69,0x64])&&_0x3d0098();}function _0x5a5552(){const _0x2fd3b5=window[_0x33f013([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x33f013([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x33f013([0x6e,0x6f,0x77])]())[_0x33f013([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x33f013([0x2e]),'');let _0x522ff8=_0x33f013([0x52]);for(let _0x2b40aa=0x0;_0x2b40aa<_0x2fd3b5[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b40aa+=0x2){let _0x43ea13=window[_0x33f013([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fd3b5[_0x33f013([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b40aa,_0x2b40aa+0x2));_0x43ea13>=_0x4f3814[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43ea13-=_0x4f3814[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x522ff8+=_0x4f3814[_0x43ea13];}return _0x522ff8;}function _0x2f4b5c(){const _0xb8f452=_0x155293[_0x33f013([0x73,0x70,0x6c,0x69,0x74])](_0x33f013([0x2e]));if(0x3!=_0xb8f452[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32fe0b(_0xb8f452[0x1]);function _0x32fe0b(_0x1e1a1c){const _0x5d6288=_0x278181(_0x1e1a1c);return _0x5d6288&&_0x43b401()?_0x5d6288:null;function _0x43b401(){const _0x47431c=_0x5d6288[_0x33f013([0x6a,0x74,0x69])],_0x25d077=window[_0x33f013([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47431c[_0x33f013([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47431c[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc6fd45={..._0x5d6288,[_0x33f013([0x6a,0x74,0x69])]:_0x47431c[_0x33f013([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47431c[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc6fd45[_0x33f013([0x76,0x63])],_0x3f5f70(_0xc6fd45)==_0x25d077;}}}async function _0x5507ad(){let _0x2eb691=!0x0;try{const _0x607a2c=_0x155293[_0x33f013([0x73,0x70,0x6c,0x69,0x74])](_0x33f013([0x2e])),[_0xf2522a,_0x38dece,_0x465c68]=_0x607a2c;return _0x415f9a(_0xf2522a),await _0x6a0cdf(_0xf2522a,_0x38dece,_0x465c68),_0x2eb691;}catch{return!0x1;}function _0x415f9a(_0x33f87f){const _0x5b77b5=_0x278181(_0x33f87f);_0x5b77b5&&_0x5b77b5[_0x33f013([0x61,0x6c,0x67])]==_0x33f013([0x45,0x53,0x32,0x35,0x36])||(_0x2eb691=!0x1);}async function _0x6a0cdf(_0x30b015,_0x25e736,_0x3257cd){const _0x4d0d45=window[_0x33f013([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x33f013([0x66,0x72,0x6f,0x6d])](_0x2bbef3(_0x3257cd),_0x323751=>_0x323751[_0x33f013([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ae804=new window[(_0x33f013([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x33f013([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x30b015+_0x33f013([0x2e])+_0x25e736),_0x4e21ae=window[_0x33f013([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x33f013([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e21ae)return;const _0x2eb6e9=await _0x4e21ae[_0x33f013([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x33f013([0x6a,0x77,0x6b]),_0xb77d2e,{[_0x33f013([0x6e,0x61,0x6d,0x65])]:_0x33f013([0x45,0x43,0x44,0x53,0x41]),[_0x33f013([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x33f013([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x33f013([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e21ae[_0x33f013([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x33f013([0x6e,0x61,0x6d,0x65])]:_0x33f013([0x45,0x43,0x44,0x53,0x41]),[_0x33f013([0x68,0x61,0x73,0x68])]:{[_0x33f013([0x6e,0x61,0x6d,0x65])]:_0x33f013([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2eb6e9,_0x4d0d45,_0x5ae804)||(_0x2eb691=!0x1);}}function _0x278181(_0x1559a0){return _0x1559a0[_0x33f013([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x33f013([0x65,0x79]))?JSON[_0x33f013([0x70,0x61,0x72,0x73,0x65])](_0x2bbef3(_0x1559a0)):null;}function _0x2bbef3(_0x36ce9b){return window[_0x33f013([0x61,0x74,0x6f,0x62])](_0x36ce9b[_0x33f013([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x33f013([0x2b]))[_0x33f013([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x33f013([0x2f])));}function _0x3f5f70(_0x1cbed3){let _0x5b54ea=0x1505;function _0x278f8a(_0x4e63d0){for(let _0x493258=0x0;_0x493258<_0x4e63d0[_0x33f013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x493258++){const _0x27187c=_0x4e63d0[_0x33f013([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x493258);_0x5b54ea=(_0x5b54ea<<0x5)+_0x5b54ea+_0x27187c,_0x5b54ea&=_0x5b54ea;}}function _0x524e93(_0x1ffe7d){Array[_0x33f013([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ffe7d)?_0x1ffe7d[_0x33f013([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x524e93):_0x1ffe7d&&typeof _0x1ffe7d==_0x33f013([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x33f013([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ffe7d)[_0x33f013([0x73,0x6f,0x72,0x74])]()[_0x33f013([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1072cc,_0x56b27a])=>{_0x278f8a(_0x1072cc),_0x524e93(_0x56b27a);}):_0x278f8a(window[_0x33f013([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ffe7d));}return _0x524e93(_0x1cbed3),_0x5b54ea>>>0x0;}function _0x51df73(_0x2aeb75){return _0x2aeb75[_0x33f013([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x33f013([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x33f013([0x30]));}function _0x2df44c(_0x574ecc){return _0x574ecc[_0x33f013([0x73,0x70,0x6c,0x69,0x74])]('')[_0x33f013([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x33f013([0x6a,0x6f,0x69,0x6e])]('');}function _0x468ebb(){}function _0x33f013(_0xb8cce2){return _0xb8cce2['map'](_0x5abc2d=>String['fromCharCode'](_0x5abc2d))['join']('');}_0x5292fd(await _0x456e75());}(this);}['_createButton'](_0x33ea68,_0x4ad42d,_0xa3325d=!0x1){const _0x4fd467=new _0x33ea68(this['editor']['locale']);return _0x4fd467['set']({'withText':_0xa3325d,'isToggleable':!0x1}),_0x4fd467['bind']('isEnabled')['to'](_0x4ad42d,'isEnabled'),this['listenTo'](_0x4fd467,'execute',()=>_0x4ad42d['execute']()),_0x4fd467;}['_registerKeybindings'](){const _0x5816ff=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x5816ff,'Source\x20Editing\x20Enhanced')});const _0x1e0f0a=_0x1db6d8['isMac']||_0x1db6d8['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x5816ff,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x5816ff,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x5816ff,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x5816ff,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x5816ff,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x5816ff,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x5816ff,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1e0f0a?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x5816ff,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x5816ff,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x5816ff,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x5816ff,'Select\x20line'),'keystroke':_0x1e0f0a?'Ctrl!+L':'Alt+L'},{'label':f(_0x5816ff,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1e0f0a?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x5816ff,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x5816ff,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x5816ff,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x5816ff,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x5816ff,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1e0f0a?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x4c5b2b{constructor(_0x1cde7e){super(_0x1cde7e),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xd602f9,_0x4315b2){const _0x820f4b=this['editor'],_0x1e87a2=_0x4315b2?.['rootName']??s(_0x820f4b);_0x820f4b['data']['set']({[_0x1e87a2]:_0xd602f9},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x10c9dd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x4678ae){super(_0x4678ae),_0x4678ae['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x835782=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x719196;for(const _0x4050fe in _0x835782){const _0x65084f=_0x4050fe,_0x5279ac=_0x835782[_0x65084f];if('sourceEditingEnhancedLicenseKeyValid'==_0x5279ac||'sourceEditingEnhancedLicenseKeyInvalid'==_0x5279ac||'sourceEditingEnhancedLicenseKeyExpired'==_0x5279ac||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5279ac||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5279ac||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5279ac||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x5279ac||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5279ac){delete _0x835782[_0x65084f],_0x719196=_0x5279ac,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x719196&&_0x835782['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x719196&&_0x835782['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x719196&&_0x835782['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x719196&&_0x835782['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x719196&&_0x835782['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x719196&&_0x835782['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x719196&&_0x835782['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x25d8f7=this['editor'],_0x377edd=_0x25d8f7['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x377edd&&_0x25d8f7['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x365014('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x377edd&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1becf4=>_0x25d8f7['plugins']['has'](_0x1becf4))&&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.'),_0x25d8f7['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,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "45.2.1-alpha.
|
|
3
|
+
"version": "45.2.1-alpha.9",
|
|
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": "45.2.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.9",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.9",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.9",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.9",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.9",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.0",
|
|
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": "45.2.1-alpha.
|
|
34
|
+
"ckeditor5": "45.2.1-alpha.9"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3fadca=_0x4d1a;(function(_0xf084bb,_0x83b009){const _0x15bfe5=_0x4d1a,_0x48ea18=_0xf084bb();while(!![]){try{const _0x23de12=parseInt(_0x15bfe5(0x1c2))/0x1*(-parseInt(_0x15bfe5(0x1cd))/0x2)+parseInt(_0x15bfe5(0x195))/0x3+parseInt(_0x15bfe5(0x1cf))/0x4+parseInt(_0x15bfe5(0x17e))/0x5*(-parseInt(_0x15bfe5(0x1b5))/0x6)+parseInt(_0x15bfe5(0x186))/0x7*(-parseInt(_0x15bfe5(0x1c7))/0x8)+-parseInt(_0x15bfe5(0x1ae))/0x9+parseInt(_0x15bfe5(0x188))/0xa*(parseInt(_0x15bfe5(0x1c0))/0xb);if(_0x23de12===_0x83b009)break;else _0x48ea18['push'](_0x48ea18['shift']());}catch(_0x4f5b63){_0x48ea18['push'](_0x48ea18['shift']());}}}(_0x2a23,0xa769d));import{Plugin as _0x108aa6,PendingActions as _0x48a8de}from'ckeditor5/src/core.js';function _0x2a23(){const _0x38d40d=['Unfold\x20all','Undo\x20(keystroke)','Source\x20Editing\x20Enhanced','Ctrl+M','isMac','pluginName','Shift+Alt+ArrowUp','bind','join','Alt+L','Source','fromCharCode','Ctrl+Z','editSource','Ctrl!+L','isOfficialPlugin','execute','Ctrl+]','href','SourceEditingEnhancedUI','Alt+ArrowDown','accessibility','map','7645959nqYPDk','Shift+Alt+ArrowDown','isPremiumPlugin','Ctrl+Shift+]','isiOS','Select\x20line','Move\x20line\x20up','6XzgDHF','Redo\x20(keystroke)','addKeystrokeInfos','Ctrl+/','Ctrl!+Alt+[','add','Cmd+Alt+]','Ctrl+Shift+[','Fold\x20code\x20(current\x20level)','locale','Move\x20line\x20down','17294453UVHOuS','componentFactory','337emSXbG','Unfold\x20code\x20(current\x20level)','Copy\x20line\x20up','set','Shift+Ctrl+K','5068688yKjmvL','isEnabled','sourceEditingEnhanced','Ctrl!+Alt+]','Ctrl+Shift+Z','commands','116lipVDB','Alt+ArrowUp','3163668aNDsYU','afterInit','init','Shift+Alt+A','Fold\x20all','5024245OdQYlW','menuBar:sourceEditingEnhanced','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Edit\x20source\x20modal\x20label','Toggle\x20comment','Toggle\x20block\x20comment','requires','Copy\x20line\x20down','7mSooMj','Alt+Shift+M','10tINJpE','editor','listenTo','_createButton','ck-source-editing-enhanced-button','Indent\x20more','Cmd+Alt+[','Ctrl+Y','Delete\x20line','addKeystrokeInfoCategory','menuitemcheckbox','Indent\x20less','Ctrl+[','2490351zJlenO','_registerKeybindings'];_0x2a23=function(){return _0x38d40d;};return _0x2a23();}function _0x4d1a(_0x5a2746,_0xa84628){const _0x2a232f=_0x2a23();return _0x4d1a=function(_0x4d1a61,_0x728a7b){_0x4d1a61=_0x4d1a61-0x17d;let _0x41ba80=_0x2a232f[_0x4d1a61];return _0x41ba80;},_0x4d1a(_0x5a2746,_0xa84628);}import{IconSource as _0x1eec6f}from'ckeditor5/src/icons.js';import{ButtonView as _0x370702,MenuBarMenuListItemButtonView as _0xb3fdca}from'ckeditor5/src/ui.js';import _0x4e2415 from'./ui/editsourcecommand.js';import{getTranslation as _0x55dcce}from'./utils/common-translations.js';import{env as _0x4f3288,uid as _0xe0e280}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x108aa6{static get[_0x3fadca(0x19c)](){const _0x47d033=_0x3fadca;return _0x47d033(0x1aa);}static get[_0x3fadca(0x184)](){return[_0x48a8de];}static get[_0x3fadca(0x1a6)](){return!0x0;}static get[_0x3fadca(0x1b0)](){return!0x0;}[_0x3fadca(0x1d1)](){const _0x287ac1=_0x3fadca,_0x475069=this[_0x287ac1(0x189)],_0x34b4ba=_0x475069[_0x287ac1(0x1be)],_0x129f1f=new _0x4e2415(_0x475069);_0x475069[_0x287ac1(0x1cc)][_0x287ac1(0x1ba)](_0x287ac1(0x1a4),_0x129f1f),_0x475069['ui'][_0x287ac1(0x1c1)][_0x287ac1(0x1ba)](_0x287ac1(0x1c9),()=>{const _0x5efa50=_0x287ac1,_0x483290=this[_0x5efa50(0x18b)](_0x370702,_0x129f1f);return _0x483290[_0x5efa50(0x1c5)]({'label':_0x55dcce(_0x34b4ba,_0x5efa50(0x1a1)),'icon':_0x1eec6f,'tooltip':_0x55dcce(_0x34b4ba,_0x5efa50(0x181)),'class':_0x5efa50(0x18c)}),_0x483290;}),_0x475069['ui'][_0x287ac1(0x1c1)][_0x287ac1(0x1ba)](_0x287ac1(0x17f),()=>{const _0x1bd83e=_0x287ac1,_0x45b369=this[_0x1bd83e(0x18b)](_0xb3fdca,_0x129f1f,!0x0);return _0x45b369[_0x1bd83e(0x1c5)]({'label':_0x55dcce(_0x34b4ba,_0x1bd83e(0x181)),'icon':_0x1eec6f,'role':_0x1bd83e(0x192)}),_0x45b369;}),this[_0x287ac1(0x196)]();}[_0x3fadca(0x1d0)](){!async function(_0x360efb){const _0x487cc6=_0x57b3fd([0x41,0x6a,0x71,0x69,0x35,0x64,0x78,0x61,0x33,0x73,0x75,0x46,0x7a,0x72,0x58,0x36,0x6b,0x6c,0x52,0x59,0x37,0x77,0x66,0x74,0x4d,0x39,0x4c,0x50,0x31,0x67,0x6f,0x49,0x4e,0x57,0x4b,0x43,0x56,0x34,0x54,0x45,0x38,0x32,0x4f,0x68,0x65,0x42,0x4a,0x79,0x62,0x70,0x5a,0x51,0x63,0x6e,0x47,0x48,0x55,0x6d,0x53,0x30,0x44,0x76]),_0x14c6a6=0x598a70c7,_0x4b33ec=0x598d1ba7^_0x14c6a6,_0x1b2386=window[_0x57b3fd([0x44,0x61,0x74,0x65])][_0x57b3fd([0x6e,0x6f,0x77])](),_0x48a079=_0x360efb[_0x57b3fd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x498363=new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x152356=>{_0x48a079[_0x57b3fd([0x6f,0x6e,0x63,0x65])](_0x57b3fd([0x72,0x65,0x61,0x64,0x79]),_0x152356);}),_0x2ff04b={[_0x57b3fd([0x6b,0x74,0x79])]:_0x57b3fd([0x45,0x43]),[_0x57b3fd([0x75,0x73,0x65])]:_0x57b3fd([0x73,0x69,0x67]),[_0x57b3fd([0x63,0x72,0x76])]:_0x57b3fd([0x50,0x2d,0x32,0x35,0x36]),[_0x57b3fd([0x78])]:_0x57b3fd([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]),[_0x57b3fd([0x79])]:_0x57b3fd([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]),[_0x57b3fd([0x61,0x6c,0x67])]:_0x57b3fd([0x45,0x53,0x32,0x35,0x36])},_0xa7658f=_0x48a079[_0x57b3fd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57b3fd([0x67,0x65,0x74])](_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21ecbf(){let _0x23d9ad,_0x2d6f13=null,_0x5b2277=null;try{if(_0xa7658f==_0x57b3fd([0x47,0x50,0x4c]))return _0x57b3fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23d9ad=_0x67bd5a(),!_0x23d9ad)return _0x57b3fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23d9ad[_0x57b3fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b2277=_0x41e8e7(_0x23d9ad[_0x57b3fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23d9ad[_0x57b3fd([0x6a,0x74,0x69])])),await _0x3abdc0()?_0x1fc1e8()?_0x12b0c0()?_0x57b3fd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9c9299()?(_0x23d9ad[_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57b3fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d6f13=_0x113dbf(_0x57b3fd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23d9ad[_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57b3fd([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d6f13=_0x113dbf(_0x57b3fd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x266163()):_0x57b3fd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57b3fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57b3fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x57b3fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12b0c0(){const _0x244785=[_0x57b3fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57b3fd([0x74,0x72,0x69,0x61,0x6c])][_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23d9ad[_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b2386/0x3e8:0xe10*_0x4b33ec;return _0x23d9ad[_0x57b3fd([0x65,0x78,0x70])]<_0x244785;}function _0x1fc1e8(){const _0x3cbb88=_0x23d9ad[_0x57b3fd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3cbb88&&(!!_0x3cbb88[_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b3fd([0x2a]))||!!_0x3cbb88[_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b3fd([0x53,0x45,0x45])));}function _0x9c9299(){const _0x4dca90=_0x4d1a,_0x17dfad=_0x23d9ad[_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17dfad||0x0==_0x17dfad[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfdb01e}=new URL(window[_0x57b3fd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4dca90(0x1a9)]);if(_0x17dfad[_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfdb01e))return!0x0;const _0x2bc3c8=_0xfdb01e[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])](_0x57b3fd([0x2e]));return _0x17dfad[_0x57b3fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1be755=>_0x1be755[_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b3fd([0x2a])))[_0x57b3fd([0x6d,0x61,0x70])](_0x641ff1=>_0x641ff1[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])](_0x57b3fd([0x2e])))[_0x57b3fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3db418=>_0x3db418[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2bc3c8[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57b3fd([0x6d,0x61,0x70])](_0x59599a=>Array(_0x2bc3c8[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x59599a[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57b3fd([0x66,0x69,0x6c,0x6c])](_0x59599a[0x0]===_0x57b3fd([0x2a])?_0x57b3fd([0x2a]):'')[_0x57b3fd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x59599a))[_0x57b3fd([0x73,0x6f,0x6d,0x65])](_0x11468a=>_0x2bc3c8[_0x57b3fd([0x65,0x76,0x65,0x72,0x79])]((_0x550ca1,_0x17619d)=>_0x11468a[_0x17619d]===_0x550ca1||_0x11468a[_0x17619d]===_0x57b3fd([0x2a])));}function _0x266163(){return _0x2d6f13&&_0x5b2277?new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59225b,_0x2881e2)=>{_0x2d6f13[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x59225b,_0x2881e2),_0x5b2277[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x468e27=>{_0x468e27!=_0x57b3fd([0x56,0x61,0x6c,0x69,0x64])&&_0x59225b(_0x468e27);},_0x2881e2);}):_0x2d6f13||_0x5b2277||_0x57b3fd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41e8e7(_0x48389b,_0x18d3d9){return new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21ed2d=>{if(_0x4479bf())return _0x21ed2d(_0x57b3fd([0x56,0x61,0x6c,0x69,0x64]));_0xee27c7(),_0x48a079[_0x57b3fd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57b3fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c000e=!0x1;const _0x16170f=_0xe0e280();function _0x3b81b2(_0x56ac8a){return!!_0x56ac8a&&(typeof _0x56ac8a===_0x57b3fd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56ac8a===_0x57b3fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56ac8a[_0x57b3fd([0x74,0x68,0x65,0x6e])]===_0x57b3fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56ac8a[_0x57b3fd([0x63,0x61,0x74,0x63,0x68])]===_0x57b3fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x507b08(_0x5b3763){_0x6dc322(_0x5b3763)[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x224e8a=>{if(!_0x224e8a||_0x224e8a[_0x57b3fd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57b3fd([0x6f,0x6b]))return _0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x314bd6(_0x267ed(_0x16170f+_0x18d3d9))!=_0x224e8a[_0x57b3fd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57b3fd([0x56,0x61,0x6c,0x69,0x64]);})[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x252076=>(_0x4548c3(),_0x252076),()=>{const _0x470135=_0x27f723();return null==_0x470135?(_0x4548c3(),_0x57b3fd([0x56,0x61,0x6c,0x69,0x64])):_0x57b3fd(_0x1b2386-_0x470135>(0x7d86f4c7^_0x14c6a6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x21ed2d)[_0x57b3fd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21ed2d(_0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31fe2a=0x59bc9e47^_0x14c6a6;function _0x4548c3(){const _0x5a9708=_0x57b3fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x314bd6(_0x267ed(_0x48389b)),_0x5dff52=_0x1789f1(_0x314bd6(window[_0x57b3fd([0x4d,0x61,0x74,0x68])][_0x57b3fd([0x63,0x65,0x69,0x6c])](_0x1b2386/_0x31fe2a)));window[_0x57b3fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57b3fd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a9708,_0x5dff52);}function _0x27f723(){const _0x212321=_0x57b3fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x314bd6(_0x267ed(_0x48389b)),_0x37d39d=window[_0x57b3fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57b3fd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x212321);return _0x37d39d?window[_0x57b3fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1789f1(_0x37d39d),0x10)*_0x31fe2a:null;}function _0x6dc322(_0x312601){return new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c989c,_0x98f81f)=>{_0x312601[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x5c989c,_0x98f81f),window[_0x57b3fd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x98f81f,0x598ba407^_0x14c6a6);});}}_0x48a079[_0x57b3fd([0x6f,0x6e])](_0x57b3fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28dfaf,_0x272622)=>{if(_0x272622[0x0]!=_0x48389b)return _0x21ed2d(_0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x272622[0x1]={..._0x272622[0x1],[_0x57b3fd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16170f};},{[_0x57b3fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57b3fd([0x68,0x69,0x67,0x68])}),_0x48a079[_0x57b3fd([0x6f,0x6e])](_0x57b3fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x198710=>{_0x3b81b2(_0x198710[_0x57b3fd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c000e=!0x0,_0x507b08(_0x198710[_0x57b3fd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57b3fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57b3fd([0x6c,0x6f,0x77])}),_0x498363[_0x57b3fd([0x74,0x68,0x65,0x6e])](()=>{_0x4c000e||_0x21ed2d(_0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4479bf(){return _0x48a079[_0x57b3fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57b3fd([0x76,0x69,0x65,0x77])][_0x57b3fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57b3fd([0x61,0x75,0x74,0x6f]);}function _0xee27c7(){_0x48a079[_0x57b3fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57b3fd([0x76,0x69,0x65,0x77])][_0x57b3fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57b3fd([0x61,0x75,0x74,0x6f]);}}function _0x113dbf(_0x30517d){const _0x555e68=[new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1db917=>setTimeout(_0x1db917,0x59834e0b^_0x14c6a6)),_0x498363[_0x57b3fd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ffc0a=>{let _0x4c67b6=0x0;_0x48a079[_0x57b3fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x57b3fd([0x6f,0x6e])](_0x57b3fd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b6a41,_0x5ae583)=>{_0x5ae583[0x0][_0x57b3fd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c67b6++,_0x4c67b6==(0x598a713f^_0x14c6a6)&&(_0x3ffc0a(),_0x2b6a41[_0x57b3fd([0x6f,0x66,0x66])]());});}))];return window[_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57b3fd([0x72,0x61,0x63,0x65])](_0x555e68)[_0x57b3fd([0x74,0x68,0x65,0x6e])](()=>_0x30517d);}async function _0x4cd773(){await _0x498363,_0x48a079[_0x57b3fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x57b3fd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fc301,_0x48a079[_0x57b3fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x57b3fd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fc301,_0x48a079[_0x57b3fd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57b3fd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37d865(_0x34de8d){const _0x779fec=_0x3119fa();_0x48a079[_0x779fec]=_0x57b3fd([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])+_0x34de8d,_0x34de8d!=_0x57b3fd([0x56,0x61,0x6c,0x69,0x64])&&_0x4cd773();}function _0x3119fa(){const _0x426cfe=window[_0x57b3fd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57b3fd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57b3fd([0x6e,0x6f,0x77])]())[_0x57b3fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57b3fd([0x2e]),'');let _0x424d2f=_0x57b3fd([0x41]);for(let _0x4c6fba=0x0;_0x4c6fba<_0x426cfe[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c6fba+=0x2){let _0x332076=window[_0x57b3fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x426cfe[_0x57b3fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c6fba,_0x4c6fba+0x2));_0x332076>=_0x487cc6[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x332076-=_0x487cc6[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x424d2f+=_0x487cc6[_0x332076];}return _0x424d2f;}function _0x67bd5a(){const _0x446bb9=_0xa7658f[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])](_0x57b3fd([0x2e]));if(0x3!=_0x446bb9[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc24156(_0x446bb9[0x1]);function _0xc24156(_0x5b4e0e){const _0x3a86c2=_0x5b1701(_0x5b4e0e);return _0x3a86c2&&_0x26a0fc()?_0x3a86c2:null;function _0x26a0fc(){const _0x430df=_0x3a86c2[_0x57b3fd([0x6a,0x74,0x69])],_0x490c1d=window[_0x57b3fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x430df[_0x57b3fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x430df[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e6d10={..._0x3a86c2,[_0x57b3fd([0x6a,0x74,0x69])]:_0x430df[_0x57b3fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x430df[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e6d10[_0x57b3fd([0x76,0x63])],_0x267ed(_0x3e6d10)==_0x490c1d;}}}async function _0x3abdc0(){let _0x41ee95=!0x0;try{const _0x5ce885=_0xa7658f[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])](_0x57b3fd([0x2e])),[_0x3fdbc3,_0x392c54,_0x516133]=_0x5ce885;return _0x5c535e(_0x3fdbc3),await _0xf2c5a3(_0x3fdbc3,_0x392c54,_0x516133),_0x41ee95;}catch{return!0x1;}function _0x5c535e(_0x1ff8fa){const _0x419cc7=_0x5b1701(_0x1ff8fa);_0x419cc7&&_0x419cc7[_0x57b3fd([0x61,0x6c,0x67])]==_0x57b3fd([0x45,0x53,0x32,0x35,0x36])||(_0x41ee95=!0x1);}async function _0xf2c5a3(_0xb8ba55,_0x45141a,_0xe9286){const _0x32fcf1=window[_0x57b3fd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57b3fd([0x66,0x72,0x6f,0x6d])](_0x229e56(_0xe9286),_0x38ee2f=>_0x38ee2f[_0x57b3fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1011c3=new window[(_0x57b3fd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57b3fd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb8ba55+_0x57b3fd([0x2e])+_0x45141a),_0x28e703=window[_0x57b3fd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57b3fd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28e703)return;const _0x3e7d93=await _0x28e703[_0x57b3fd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57b3fd([0x6a,0x77,0x6b]),_0x2ff04b,{[_0x57b3fd([0x6e,0x61,0x6d,0x65])]:_0x57b3fd([0x45,0x43,0x44,0x53,0x41]),[_0x57b3fd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57b3fd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57b3fd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28e703[_0x57b3fd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57b3fd([0x6e,0x61,0x6d,0x65])]:_0x57b3fd([0x45,0x43,0x44,0x53,0x41]),[_0x57b3fd([0x68,0x61,0x73,0x68])]:{[_0x57b3fd([0x6e,0x61,0x6d,0x65])]:_0x57b3fd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e7d93,_0x32fcf1,_0x1011c3)||(_0x41ee95=!0x1);}}function _0x5b1701(_0x476eb8){return _0x476eb8[_0x57b3fd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57b3fd([0x65,0x79]))?JSON[_0x57b3fd([0x70,0x61,0x72,0x73,0x65])](_0x229e56(_0x476eb8)):null;}function _0x229e56(_0x1137e3){return window[_0x57b3fd([0x61,0x74,0x6f,0x62])](_0x1137e3[_0x57b3fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57b3fd([0x2b]))[_0x57b3fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57b3fd([0x2f])));}function _0x267ed(_0x5a4336){let _0x49d2aa=0x1505;function _0x1eb43b(_0x236524){for(let _0x20bede=0x0;_0x20bede<_0x236524[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20bede++){const _0x251ba2=_0x236524[_0x57b3fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20bede);_0x49d2aa=(_0x49d2aa<<0x5)+_0x49d2aa+_0x251ba2,_0x49d2aa&=_0x49d2aa;}}function _0x23a57d(_0x80ae33){Array[_0x57b3fd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x80ae33)?_0x80ae33[_0x57b3fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x23a57d):_0x80ae33&&typeof _0x80ae33==_0x57b3fd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57b3fd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x80ae33)[_0x57b3fd([0x73,0x6f,0x72,0x74])]()[_0x57b3fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4391ee,_0x3a9bb0])=>{_0x1eb43b(_0x4391ee),_0x23a57d(_0x3a9bb0);}):_0x1eb43b(window[_0x57b3fd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x80ae33));}return _0x23a57d(_0x5a4336),_0x49d2aa>>>0x0;}function _0x314bd6(_0x54f905){return _0x54f905[_0x57b3fd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57b3fd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57b3fd([0x30]));}function _0x1789f1(_0x1255a8){return _0x1255a8[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57b3fd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57b3fd([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fc301(){}function _0x57b3fd(_0x4b5854){const _0x83ab5f=_0x4d1a;return _0x4b5854[_0x83ab5f(0x1ad)](_0xe94fd6=>String[_0x83ab5f(0x1a2)](_0xe94fd6))[_0x83ab5f(0x19f)]('');}_0x37d865(await _0x21ecbf());}(this);}[_0x3fadca(0x18b)](_0x384531,_0x78c8d2,_0x335417=!0x1){const _0x357949=_0x3fadca,_0x205c13=new _0x384531(this[_0x357949(0x189)][_0x357949(0x1be)]);return _0x205c13[_0x357949(0x1c5)]({'withText':_0x335417,'isToggleable':!0x1}),_0x205c13[_0x357949(0x19e)](_0x357949(0x1c8))['to'](_0x78c8d2,_0x357949(0x1c8)),this[_0x357949(0x18a)](_0x205c13,_0x357949(0x1a7),()=>_0x78c8d2[_0x357949(0x1a7)]()),_0x205c13;}[_0x3fadca(0x196)](){const _0x2b1503=_0x3fadca,_0x2960fa=this[_0x2b1503(0x189)][_0x2b1503(0x1be)];this[_0x2b1503(0x189)][_0x2b1503(0x1ac)][_0x2b1503(0x191)]({'id':_0x2b1503(0x1c9),'label':_0x55dcce(_0x2960fa,_0x2b1503(0x199))});const _0x2ab2b3=_0x4f3288[_0x2b1503(0x19b)]||_0x4f3288[_0x2b1503(0x1b2)];this[_0x2b1503(0x189)][_0x2b1503(0x1ac)][_0x2b1503(0x1b7)]({'categoryId':_0x2b1503(0x1c9),'keystrokes':[{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x185)),'keystroke':_0x2b1503(0x1af)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1c4)),'keystroke':_0x2b1503(0x19d)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x190)),'keystroke':_0x2b1503(0x1c6)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x193)),'keystroke':_0x2b1503(0x194)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x18d)),'keystroke':_0x2b1503(0x1a8)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x17d)),'keystroke':_0x2b1503(0x1b9)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1bd)),'keystroke':_0x2ab2b3?_0x2b1503(0x18e):_0x2b1503(0x1bc)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1bf)),'keystroke':_0x2b1503(0x1ab)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1b4)),'keystroke':_0x2b1503(0x1ce)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1b6)),'keystroke':[[_0x2b1503(0x1cb)],[_0x2b1503(0x18f)]]},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1b3)),'keystroke':_0x2ab2b3?_0x2b1503(0x1a5):_0x2b1503(0x1a0)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x180)),'keystroke':_0x2ab2b3?_0x2b1503(0x187):_0x2b1503(0x19a)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x183)),'keystroke':_0x2b1503(0x1d2)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x182)),'keystroke':_0x2b1503(0x1b8)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x198)),'keystroke':_0x2b1503(0x1a3)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x197)),'keystroke':_0x2b1503(0x1ca)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1c3)),'keystroke':_0x2ab2b3?_0x2b1503(0x1bb):_0x2b1503(0x1b1)}]});}}
|
|
23
|
+
function _0x45bb(){const _0x70eceb=['4523106QKxgnF','Unfold\x20all','Move\x20line\x20down','Undo\x20(keystroke)','isPremiumPlugin','bind','join','init','Ctrl+[','51uUfMUT','locale','Shift+Ctrl+K','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','80226vmAEkS','Copy\x20line\x20down','SourceEditingEnhancedUI','839734xPowob','Ctrl!+L','Ctrl+Shift+[','Copy\x20line\x20up','pluginName','fromCharCode','editor','href','Move\x20line\x20up','Indent\x20more','sourceEditingEnhanced','577533TuvITk','isOfficialPlugin','ck-source-editing-enhanced-button','Fold\x20all','componentFactory','Fold\x20code\x20(current\x20level)','Redo\x20(keystroke)','set','addKeystrokeInfoCategory','Ctrl!+Alt+[','Edit\x20source\x20modal\x20label','Indent\x20less','Source','5683315UaUMBI','_registerKeybindings','menuitemcheckbox','Toggle\x20block\x20comment','Source\x20Editing\x20Enhanced','menuBar:sourceEditingEnhanced','requires','72IIDJtg','Toggle\x20comment','add','Alt+Shift+M','Ctrl+M','Ctrl+/','Alt+L','editSource','accessibility','Unfold\x20code\x20(current\x20level)','execute','Ctrl+Z','Cmd+Alt+[','isMac','Ctrl+Y','commands','map','Shift+Alt+ArrowDown','listenTo','Select\x20line','Ctrl+Shift+Z','21135852JCSapk','Alt+ArrowDown','isiOS','isEnabled','Ctrl+]','afterInit','addKeystrokeInfos','Cmd+Alt+]','Ctrl!+Alt+]','4755872bjtLun','Ctrl+Shift+]','_createButton','Alt+ArrowUp','Shift+Alt+ArrowUp','Shift+Alt+A','Delete\x20line'];_0x45bb=function(){return _0x70eceb;};return _0x45bb();}function _0x3550(_0x488a33,_0x36c7e2){const _0x45bb3c=_0x45bb();return _0x3550=function(_0x355063,_0x1c9eeb){_0x355063=_0x355063-0xe2;let _0x30a849=_0x45bb3c[_0x355063];return _0x30a849;},_0x3550(_0x488a33,_0x36c7e2);}const _0x50a730=_0x3550;(function(_0x1cc549,_0x3decc1){const _0x2ea591=_0x3550,_0x2d260d=_0x1cc549();while(!![]){try{const _0x52293c=-parseInt(_0x2ea591(0x114))/0x1+-parseInt(_0x2ea591(0x106))/0x2*(parseInt(_0x2ea591(0x102))/0x3)+-parseInt(_0x2ea591(0xf2))/0x4+-parseInt(_0x2ea591(0x121))/0x5+parseInt(_0x2ea591(0xf9))/0x6+-parseInt(_0x2ea591(0x109))/0x7*(-parseInt(_0x2ea591(0x128))/0x8)+parseInt(_0x2ea591(0xe9))/0x9;if(_0x52293c===_0x3decc1)break;else _0x2d260d['push'](_0x2d260d['shift']());}catch(_0x273998){_0x2d260d['push'](_0x2d260d['shift']());}}}(_0x45bb,0x91b74));import{Plugin as _0x4405c7,PendingActions as _0x1973c5}from'ckeditor5/src/core.js';import{IconSource as _0x3c0d02}from'ckeditor5/src/icons.js';import{ButtonView as _0x3adca8,MenuBarMenuListItemButtonView as _0x3ed085}from'ckeditor5/src/ui.js';import _0x25d948 from'./ui/editsourcecommand.js';import{getTranslation as _0x208921}from'./utils/common-translations.js';import{env as _0x2e687d,uid as _0x1678ad}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x4405c7{static get[_0x50a730(0x10d)](){const _0x183250=_0x50a730;return _0x183250(0x108);}static get[_0x50a730(0x127)](){return[_0x1973c5];}static get[_0x50a730(0x115)](){return!0x0;}static get[_0x50a730(0xfd)](){return!0x0;}[_0x50a730(0x100)](){const _0xdaad59=_0x50a730,_0xf9cb00=this[_0xdaad59(0x10f)],_0xa4d512=_0xf9cb00[_0xdaad59(0x103)],_0x2c5f99=new _0x25d948(_0xf9cb00);_0xf9cb00[_0xdaad59(0xe3)][_0xdaad59(0x12a)](_0xdaad59(0x12f),_0x2c5f99),_0xf9cb00['ui'][_0xdaad59(0x118)][_0xdaad59(0x12a)](_0xdaad59(0x113),()=>{const _0x31c5dd=_0xdaad59,_0x5b6ba2=this[_0x31c5dd(0xf4)](_0x3adca8,_0x2c5f99);return _0x5b6ba2[_0x31c5dd(0x11b)]({'label':_0x208921(_0xa4d512,_0x31c5dd(0x120)),'icon':_0x3c0d02,'tooltip':_0x208921(_0xa4d512,_0x31c5dd(0x11e)),'class':_0x31c5dd(0x116)}),_0x5b6ba2;}),_0xf9cb00['ui'][_0xdaad59(0x118)][_0xdaad59(0x12a)](_0xdaad59(0x126),()=>{const _0x13b764=_0xdaad59,_0x599b8b=this[_0x13b764(0xf4)](_0x3ed085,_0x2c5f99,!0x0);return _0x599b8b[_0x13b764(0x11b)]({'label':_0x208921(_0xa4d512,_0x13b764(0x11e)),'icon':_0x3c0d02,'role':_0x13b764(0x123)}),_0x599b8b;}),this[_0xdaad59(0x122)]();}[_0x50a730(0xee)](){!async function(_0x314b29){const _0x3f5e16=_0x28c33a([0x52,0x56,0x55,0x37,0x66,0x4c,0x30,0x76,0x47,0x61,0x69,0x70,0x79,0x36,0x4a,0x42,0x65,0x67,0x78,0x59,0x31,0x51,0x4e,0x6e,0x43,0x6b,0x72,0x58,0x4f,0x74,0x35,0x73,0x48,0x71,0x75,0x7a,0x68,0x32,0x5a,0x49,0x4d,0x44,0x46,0x50,0x6f,0x39,0x54,0x6a,0x63,0x77,0x6c,0x33,0x57,0x6d,0x53,0x34,0x62,0x41,0x4b,0x38,0x45,0x64]),_0x3d0a52=0x245b6257,_0x40ee93=0x245c09c7^_0x3d0a52,_0x53189c=window[_0x28c33a([0x44,0x61,0x74,0x65])][_0x28c33a([0x6e,0x6f,0x77])](),_0x49e1d6=_0x314b29[_0x28c33a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39ec08=new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bbd94=>{_0x49e1d6[_0x28c33a([0x6f,0x6e,0x63,0x65])](_0x28c33a([0x72,0x65,0x61,0x64,0x79]),_0x3bbd94);}),_0x4b4259={[_0x28c33a([0x6b,0x74,0x79])]:_0x28c33a([0x45,0x43]),[_0x28c33a([0x75,0x73,0x65])]:_0x28c33a([0x73,0x69,0x67]),[_0x28c33a([0x63,0x72,0x76])]:_0x28c33a([0x50,0x2d,0x32,0x35,0x36]),[_0x28c33a([0x78])]:_0x28c33a([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]),[_0x28c33a([0x79])]:_0x28c33a([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]),[_0x28c33a([0x61,0x6c,0x67])]:_0x28c33a([0x45,0x53,0x32,0x35,0x36])},_0x4e2c16=_0x49e1d6[_0x28c33a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28c33a([0x67,0x65,0x74])](_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3049fc(){let _0xbf5ad1,_0x28efb1=null,_0x24c2fc=null;try{if(_0x4e2c16==_0x28c33a([0x47,0x50,0x4c]))return _0x28c33a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbf5ad1=_0x4461c8(),!_0xbf5ad1)return _0x28c33a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbf5ad1[_0x28c33a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24c2fc=_0x3a6304(_0xbf5ad1[_0x28c33a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbf5ad1[_0x28c33a([0x6a,0x74,0x69])])),await _0x10099a()?_0x566e66()?_0x153212()?_0x28c33a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1933c6()?(_0xbf5ad1[_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28c33a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28efb1=_0x550b1e(_0x28c33a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xbf5ad1[_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28c33a([0x74,0x72,0x69,0x61,0x6c])&&(_0x28efb1=_0x550b1e(_0x28c33a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50f355()):_0x28c33a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28c33a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28c33a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28c33a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x153212(){const _0x2db360=[_0x28c33a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28c33a([0x74,0x72,0x69,0x61,0x6c])][_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf5ad1[_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53189c/0x3e8:0xe10*_0x40ee93;return _0xbf5ad1[_0x28c33a([0x65,0x78,0x70])]<_0x2db360;}function _0x566e66(){const _0x48cf98=_0xbf5ad1[_0x28c33a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x48cf98&&(!!_0x48cf98[_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c33a([0x2a]))||!!_0x48cf98[_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c33a([0x53,0x45,0x45])));}function _0x1933c6(){const _0x17663f=_0x3550,_0x1dfa24=_0xbf5ad1[_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1dfa24||0x0==_0x1dfa24[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x586d37}=new URL(window[_0x28c33a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x17663f(0x110)]);if(_0x1dfa24[_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x586d37))return!0x0;const _0x1f4a15=_0x586d37[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])](_0x28c33a([0x2e]));return _0x1dfa24[_0x28c33a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1535d4=>_0x1535d4[_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c33a([0x2a])))[_0x28c33a([0x6d,0x61,0x70])](_0xd1c8e5=>_0xd1c8e5[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])](_0x28c33a([0x2e])))[_0x28c33a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4352e7=>_0x4352e7[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f4a15[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28c33a([0x6d,0x61,0x70])](_0x46386f=>Array(_0x1f4a15[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46386f[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28c33a([0x66,0x69,0x6c,0x6c])](_0x46386f[0x0]===_0x28c33a([0x2a])?_0x28c33a([0x2a]):'')[_0x28c33a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46386f))[_0x28c33a([0x73,0x6f,0x6d,0x65])](_0x401fc8=>_0x1f4a15[_0x28c33a([0x65,0x76,0x65,0x72,0x79])]((_0x5b9666,_0x3b30ec)=>_0x401fc8[_0x3b30ec]===_0x5b9666||_0x401fc8[_0x3b30ec]===_0x28c33a([0x2a])));}function _0x50f355(){return _0x28efb1&&_0x24c2fc?new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41be4f,_0x37324c)=>{_0x28efb1[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x41be4f,_0x37324c),_0x24c2fc[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x19686d=>{_0x19686d!=_0x28c33a([0x56,0x61,0x6c,0x69,0x64])&&_0x41be4f(_0x19686d);},_0x37324c);}):_0x28efb1||_0x24c2fc||_0x28c33a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a6304(_0x57430e,_0x71f35f){return new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x491c16=>{if(_0x59ed6b())return _0x491c16(_0x28c33a([0x56,0x61,0x6c,0x69,0x64]));_0x17d10d(),_0x49e1d6[_0x28c33a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28c33a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x532c65=!0x1;const _0x508ef9=_0x1678ad();function _0x28ebd(_0x17cde2){return!!_0x17cde2&&(typeof _0x17cde2===_0x28c33a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17cde2===_0x28c33a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17cde2[_0x28c33a([0x74,0x68,0x65,0x6e])]===_0x28c33a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17cde2[_0x28c33a([0x63,0x61,0x74,0x63,0x68])]===_0x28c33a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b0521(_0x38741e){_0xfbe946(_0x38741e)[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x4f9818=>{if(!_0x4f9818||_0x4f9818[_0x28c33a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28c33a([0x6f,0x6b]))return _0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16a00d(_0x3e6979(_0x508ef9+_0x71f35f))!=_0x4f9818[_0x28c33a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28c33a([0x56,0x61,0x6c,0x69,0x64]);})[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x208ee0=>(_0xe1c082(),_0x208ee0),()=>{const _0x2e1b8e=_0x45b50f();return null==_0x2e1b8e?(_0xe1c082(),_0x28c33a([0x56,0x61,0x6c,0x69,0x64])):_0x28c33a(_0x53189c-_0x2e1b8e>(0x57e657^_0x3d0a52)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x491c16)[_0x28c33a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x491c16(_0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x372cb1=0x246d8cd7^_0x3d0a52;function _0xe1c082(){const _0x5a56f9=_0x28c33a([0x6c,0x6c,0x63,0x74,0x2d])+_0x16a00d(_0x3e6979(_0x57430e)),_0x2591ff=_0x3033af(_0x16a00d(window[_0x28c33a([0x4d,0x61,0x74,0x68])][_0x28c33a([0x63,0x65,0x69,0x6c])](_0x53189c/_0x372cb1)));window[_0x28c33a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28c33a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a56f9,_0x2591ff);}function _0x45b50f(){const _0x171ea8=_0x28c33a([0x6c,0x6c,0x63,0x74,0x2d])+_0x16a00d(_0x3e6979(_0x57430e)),_0x2d7959=window[_0x28c33a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28c33a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x171ea8);return _0x2d7959?window[_0x28c33a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3033af(_0x2d7959),0x10)*_0x372cb1:null;}function _0xfbe946(_0x2649b4){return new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32eaa1,_0x54fba8)=>{_0x2649b4[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x32eaa1,_0x54fba8),window[_0x28c33a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54fba8,0x245ab697^_0x3d0a52);});}}_0x49e1d6[_0x28c33a([0x6f,0x6e])](_0x28c33a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3564e6,_0x1b0afc)=>{if(_0x1b0afc[0x0]!=_0x57430e)return _0x491c16(_0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b0afc[0x1]={..._0x1b0afc[0x1],[_0x28c33a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x508ef9};},{[_0x28c33a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28c33a([0x68,0x69,0x67,0x68])}),_0x49e1d6[_0x28c33a([0x6f,0x6e])](_0x28c33a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x230c9f=>{_0x28ebd(_0x230c9f[_0x28c33a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x532c65=!0x0,_0x4b0521(_0x230c9f[_0x28c33a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28c33a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28c33a([0x6c,0x6f,0x77])}),_0x39ec08[_0x28c33a([0x74,0x68,0x65,0x6e])](()=>{_0x532c65||_0x491c16(_0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59ed6b(){return _0x49e1d6[_0x28c33a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28c33a([0x76,0x69,0x65,0x77])][_0x28c33a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28c33a([0x61,0x75,0x74,0x6f]);}function _0x17d10d(){_0x49e1d6[_0x28c33a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28c33a([0x76,0x69,0x65,0x77])][_0x28c33a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28c33a([0x61,0x75,0x74,0x6f]);}}function _0x550b1e(_0x4a09fa){const _0x42f794=[new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x720c94=>setTimeout(_0x720c94,0x24525c9b^_0x3d0a52)),_0x39ec08[_0x28c33a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11abe5=>{let _0xa4eeb8=0x0;_0x49e1d6[_0x28c33a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28c33a([0x6f,0x6e])](_0x28c33a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x571f75,_0x31bc82)=>{_0x31bc82[0x0][_0x28c33a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa4eeb8++,_0xa4eeb8==(0x245b63af^_0x3d0a52)&&(_0x11abe5(),_0x571f75[_0x28c33a([0x6f,0x66,0x66])]());});}))];return window[_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28c33a([0x72,0x61,0x63,0x65])](_0x42f794)[_0x28c33a([0x74,0x68,0x65,0x6e])](()=>_0x4a09fa);}async function _0x4995ff(){await _0x39ec08,_0x49e1d6[_0x28c33a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28c33a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4aedca,_0x49e1d6[_0x28c33a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28c33a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4aedca,_0x49e1d6[_0x28c33a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28c33a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53f0ef(_0x139a37){const _0xcdc11b=_0x333ac0();_0x49e1d6[_0xcdc11b]=_0x28c33a([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])+_0x139a37,_0x139a37!=_0x28c33a([0x56,0x61,0x6c,0x69,0x64])&&_0x4995ff();}function _0x333ac0(){const _0x4a7e8c=window[_0x28c33a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28c33a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28c33a([0x6e,0x6f,0x77])]())[_0x28c33a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28c33a([0x2e]),'');let _0x3e8673=_0x28c33a([0x52]);for(let _0x275e1a=0x0;_0x275e1a<_0x4a7e8c[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x275e1a+=0x2){let _0x11af4a=window[_0x28c33a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a7e8c[_0x28c33a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x275e1a,_0x275e1a+0x2));_0x11af4a>=_0x3f5e16[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11af4a-=_0x3f5e16[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e8673+=_0x3f5e16[_0x11af4a];}return _0x3e8673;}function _0x4461c8(){const _0x2bd5dd=_0x4e2c16[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])](_0x28c33a([0x2e]));if(0x3!=_0x2bd5dd[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28935c(_0x2bd5dd[0x1]);function _0x28935c(_0x1f100b){const _0x2ba36e=_0xed2858(_0x1f100b);return _0x2ba36e&&_0x4f683a()?_0x2ba36e:null;function _0x4f683a(){const _0x250bf6=_0x2ba36e[_0x28c33a([0x6a,0x74,0x69])],_0x28ef2a=window[_0x28c33a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x250bf6[_0x28c33a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x250bf6[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ce30d={..._0x2ba36e,[_0x28c33a([0x6a,0x74,0x69])]:_0x250bf6[_0x28c33a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x250bf6[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ce30d[_0x28c33a([0x76,0x63])],_0x3e6979(_0x3ce30d)==_0x28ef2a;}}}async function _0x10099a(){let _0x1224fd=!0x0;try{const _0x802c29=_0x4e2c16[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])](_0x28c33a([0x2e])),[_0x1a5c12,_0x2b78ec,_0x4185e8]=_0x802c29;return _0x16d1ad(_0x1a5c12),await _0x1e2142(_0x1a5c12,_0x2b78ec,_0x4185e8),_0x1224fd;}catch{return!0x1;}function _0x16d1ad(_0x5087c4){const _0x121381=_0xed2858(_0x5087c4);_0x121381&&_0x121381[_0x28c33a([0x61,0x6c,0x67])]==_0x28c33a([0x45,0x53,0x32,0x35,0x36])||(_0x1224fd=!0x1);}async function _0x1e2142(_0x3fcd5e,_0x5aea1f,_0x42fb39){const _0x299361=window[_0x28c33a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28c33a([0x66,0x72,0x6f,0x6d])](_0x208575(_0x42fb39),_0x418b1a=>_0x418b1a[_0x28c33a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc6701e=new window[(_0x28c33a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28c33a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3fcd5e+_0x28c33a([0x2e])+_0x5aea1f),_0xaf493c=window[_0x28c33a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28c33a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xaf493c)return;const _0x5c2922=await _0xaf493c[_0x28c33a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28c33a([0x6a,0x77,0x6b]),_0x4b4259,{[_0x28c33a([0x6e,0x61,0x6d,0x65])]:_0x28c33a([0x45,0x43,0x44,0x53,0x41]),[_0x28c33a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28c33a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28c33a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xaf493c[_0x28c33a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28c33a([0x6e,0x61,0x6d,0x65])]:_0x28c33a([0x45,0x43,0x44,0x53,0x41]),[_0x28c33a([0x68,0x61,0x73,0x68])]:{[_0x28c33a([0x6e,0x61,0x6d,0x65])]:_0x28c33a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c2922,_0x299361,_0xc6701e)||(_0x1224fd=!0x1);}}function _0xed2858(_0x4f33cc){return _0x4f33cc[_0x28c33a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28c33a([0x65,0x79]))?JSON[_0x28c33a([0x70,0x61,0x72,0x73,0x65])](_0x208575(_0x4f33cc)):null;}function _0x208575(_0x35133d){return window[_0x28c33a([0x61,0x74,0x6f,0x62])](_0x35133d[_0x28c33a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28c33a([0x2b]))[_0x28c33a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28c33a([0x2f])));}function _0x3e6979(_0x5a4e21){let _0xc399b5=0x1505;function _0x5c67f7(_0x4be21a){for(let _0x2e4969=0x0;_0x2e4969<_0x4be21a[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e4969++){const _0x5e7824=_0x4be21a[_0x28c33a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e4969);_0xc399b5=(_0xc399b5<<0x5)+_0xc399b5+_0x5e7824,_0xc399b5&=_0xc399b5;}}function _0x48968a(_0x2d0bf6){Array[_0x28c33a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d0bf6)?_0x2d0bf6[_0x28c33a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48968a):_0x2d0bf6&&typeof _0x2d0bf6==_0x28c33a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28c33a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d0bf6)[_0x28c33a([0x73,0x6f,0x72,0x74])]()[_0x28c33a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56482c,_0xb93cc0])=>{_0x5c67f7(_0x56482c),_0x48968a(_0xb93cc0);}):_0x5c67f7(window[_0x28c33a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d0bf6));}return _0x48968a(_0x5a4e21),_0xc399b5>>>0x0;}function _0x16a00d(_0xf79062){return _0xf79062[_0x28c33a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28c33a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28c33a([0x30]));}function _0x3033af(_0x2af5e8){return _0x2af5e8[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28c33a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28c33a([0x6a,0x6f,0x69,0x6e])]('');}function _0x4aedca(){}function _0x28c33a(_0x30bef2){const _0x9fdc83=_0x3550;return _0x30bef2[_0x9fdc83(0xe4)](_0x5826e2=>String[_0x9fdc83(0x10e)](_0x5826e2))[_0x9fdc83(0xff)]('');}_0x53f0ef(await _0x3049fc());}(this);}[_0x50a730(0xf4)](_0x1bd41c,_0x2594cf,_0x397e09=!0x1){const _0x7ef688=_0x50a730,_0x2eb53e=new _0x1bd41c(this[_0x7ef688(0x10f)][_0x7ef688(0x103)]);return _0x2eb53e[_0x7ef688(0x11b)]({'withText':_0x397e09,'isToggleable':!0x1}),_0x2eb53e[_0x7ef688(0xfe)](_0x7ef688(0xec))['to'](_0x2594cf,_0x7ef688(0xec)),this[_0x7ef688(0xe6)](_0x2eb53e,_0x7ef688(0x132),()=>_0x2594cf[_0x7ef688(0x132)]()),_0x2eb53e;}[_0x50a730(0x122)](){const _0x2f2493=_0x50a730,_0x379f15=this[_0x2f2493(0x10f)][_0x2f2493(0x103)];this[_0x2f2493(0x10f)][_0x2f2493(0x130)][_0x2f2493(0x11c)]({'id':_0x2f2493(0x113),'label':_0x208921(_0x379f15,_0x2f2493(0x125))});const _0x1f975b=_0x2e687d[_0x2f2493(0x135)]||_0x2e687d[_0x2f2493(0xeb)];this[_0x2f2493(0x10f)][_0x2f2493(0x130)][_0x2f2493(0xef)]({'categoryId':_0x2f2493(0x113),'keystrokes':[{'label':_0x208921(_0x379f15,_0x2f2493(0x107)),'keystroke':_0x2f2493(0xe5)},{'label':_0x208921(_0x379f15,_0x2f2493(0x10c)),'keystroke':_0x2f2493(0xf6)},{'label':_0x208921(_0x379f15,_0x2f2493(0xf8)),'keystroke':_0x2f2493(0x104)},{'label':_0x208921(_0x379f15,_0x2f2493(0x11f)),'keystroke':_0x2f2493(0x101)},{'label':_0x208921(_0x379f15,_0x2f2493(0x112)),'keystroke':_0x2f2493(0xed)},{'label':_0x208921(_0x379f15,_0x2f2493(0x117)),'keystroke':_0x2f2493(0x11d)},{'label':_0x208921(_0x379f15,_0x2f2493(0x119)),'keystroke':_0x1f975b?_0x2f2493(0x134):_0x2f2493(0x10b)},{'label':_0x208921(_0x379f15,_0x2f2493(0xfb)),'keystroke':_0x2f2493(0xea)},{'label':_0x208921(_0x379f15,_0x2f2493(0x111)),'keystroke':_0x2f2493(0xf5)},{'label':_0x208921(_0x379f15,_0x2f2493(0x11a)),'keystroke':[[_0x2f2493(0xe8)],[_0x2f2493(0xe2)]]},{'label':_0x208921(_0x379f15,_0x2f2493(0xe7)),'keystroke':_0x1f975b?_0x2f2493(0x10a):_0x2f2493(0x12e)},{'label':_0x208921(_0x379f15,_0x2f2493(0x105)),'keystroke':_0x1f975b?_0x2f2493(0x12b):_0x2f2493(0x12c)},{'label':_0x208921(_0x379f15,_0x2f2493(0x124)),'keystroke':_0x2f2493(0xf7)},{'label':_0x208921(_0x379f15,_0x2f2493(0x129)),'keystroke':_0x2f2493(0x12d)},{'label':_0x208921(_0x379f15,_0x2f2493(0xfc)),'keystroke':_0x2f2493(0x133)},{'label':_0x208921(_0x379f15,_0x2f2493(0xfa)),'keystroke':_0x2f2493(0xf1)},{'label':_0x208921(_0x379f15,_0x2f2493(0x131)),'keystroke':_0x1f975b?_0x2f2493(0xf0):_0x2f2493(0xf3)}]});}}
|