@ckeditor/ckeditor5-source-editing-enhanced 45.2.0-alpha.2 → 45.2.0-alpha.4
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 _0x2fa58a,PendingActions as _0x5bcf4c,Plugin as _0x4af1f6}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x16f3b9,formatHtml as tr,env as _0x43a4fd,uid as _0x4effee}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x376299}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x714d3d,ButtonView as _0x393c9c,MenuBarMenuListItemButtonView as _0x404379}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x21e211,crosshairCursor as _0x58bb3d,drawSelection as _0x4c6d34,dropCursor as _0x224d00,lineNumbers as _0x1ca61a,highlightActiveLine as _0x159bfd,highlightActiveLineGutter as _0x395b46,highlightSpecialChars as _0x1a3ca3,rectangularSelection as _0x419f93,keymap as _0x46eba}from'@codemirror/view';import{Compartment as _0x152944,Transaction as _0x59a60d}from'@codemirror/state';import{bracketMatching as _0x35d497,foldGutter as _0x43d7c2,indentOnInput as _0x56b2f6,syntaxHighlighting as _0x34d412,defaultHighlightStyle as _0x41b8fa,foldKeymap as _0x3280dd}from'@codemirror/language';import{toggleTabFocusMode as _0x380f1a,history as _0x1bf1bc,defaultKeymap as _0x2c7df8,historyKeymap as _0x5a81a4,indentLess as _0x4fe792,indentMore as _0x3ab0bb,redo as _0x2d7fe9,undo as _0x185aa9}from'@codemirror/commands';import{autocompletion as _0x1915fc,closeBrackets as _0x324c07,closeBracketsKeymap as _0x109d21,completionKeymap as _0x5b3c02}from'@codemirror/autocomplete';import{html as _0x2abc52}from'@codemirror/lang-html';import{markdown as _0x11cf7c}from'@codemirror/lang-markdown';import{oneDark as _0x5c3aad}from'@codemirror/theme-one-dark';function f(_0x1bbd18,_0x305a86){const t=_0x1bbd18['t'];switch(_0x305a86){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 _0x305a86;}}function s(_0xebb906){const _0x328353=_0xebb906['editing']['view']['document']['roots'],_0x49cd32=_0x328353['length'];if(0x0===_0x49cd32)throw new _0x16f3b9('source-editing-enhanced-editor-no-root',_0xebb906);if(0x1===_0x49cd32)return _0x328353['first']['rootName'];return Array['from'](_0xebb906['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x5b2c08){return or(_0x5b2c08['replace'](/^[\n\s]*/g,''))?_0x5b2c08['replace'](/\s+/g,''):_0x5b2c08;}function or(_0xc6634c){return _0xc6634c['startsWith']('<');}function p(_0x5a931d){const _0x2a4397=[_0x21e211['lineWrapping'],_0x1915fc(),_0x35d497(),_0x324c07(),_0x58bb3d(),_0x4c6d34(),_0x224d00(),_0x1ca61a(),_0x43d7c2(),_0x159bfd(),_0x395b46(),_0x1a3ca3(),_0x1bf1bc(),_0x56b2f6(),_0x419f93(),_0x34d412(_0x41b8fa,{'fallback':!0x0})],_0x579abe=new _0x152944();_0x2a4397['push'](_0x579abe['of'](_0x21e211['editable']['of'](!0x0))),'html'===_0x5a931d['syntaxLanguage']?_0x2a4397['push'](_0x2abc52()):_0x2a4397['push'](_0x11cf7c());const _0x258cd5=function(_0x3c2f9e){if(_0x3c2f9e&&'default'!==_0x3c2f9e)return'dark'===_0x3c2f9e?_0x5c3aad:_0x3c2f9e;return null;}(_0x5a931d['theme']);_0x258cd5&&_0x2a4397['push'](_0x258cd5),_0x2a4397['push'](_0x46eba['of']([..._0x109d21,..._0x2c7df8,..._0x5a81a4,..._0x3280dd,..._0x5b3c02,{'key':'Tab','run':_0x3ab0bb,'shift':_0x4fe792,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2d7fe9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2d7fe9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x185aa9,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x287b85=new _0x21e211({'extensions':_0x2a4397,'parent':_0x5a931d['parent']});return _0x380f1a(_0x287b85),{'focus':()=>{_0x287b85['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x287b85['focus']();},'getData':()=>_0x287b85['state']['doc']['toString'](),'setData':_0x2f3534=>{_0x287b85['dispatch']({'changes':{'from':0x0,'to':_0x287b85['state']['doc']['length'],'insert':_0x2f3534},'annotations':_0x59a60d['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2e1b03=>{_0x287b85['dispatch']({'effects':[_0x579abe['reconfigure'](_0x21e211['editable']['of'](!_0x2e1b03))]});},'destroy':()=>{_0x287b85['destroy']();},'instance':_0x287b85};}class m extends _0x714d3d{['_codeEditorApi']=null;['_options'];constructor(_0x382719,_0x21c148){super(_0x382719),this['_options']=_0x21c148,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',(_0x2dd8c8,_0x57a4b9,_0x508c5b)=>{this['setReadOnly'](_0x508c5b);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x32515c){this['_codeEditorApi']['setData'](_0x32515c);}['setReadOnly'](_0x126189){this['_codeEditorApi']['setReadOnly'](_0x126189);}}const b='SourceEditingEnhancedMode';class d extends _0x2fa58a{constructor(_0x529a51){super(_0x529a51),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5bcf4c)['on']('change:hasAny',(_0x2af140,_0x13ef23,_0x212a00)=>{_0x212a00?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x25041a=this['editor'];for(const _0x317871 of _0x25041a['commands']['names']())['replaceSource','editSource']['includes'](_0x317871)||_0x25041a['commands']['get'](_0x317871)['forceDisabled'](b);}['_enableCommands'](){const _0x4cd2cc=this['editor'];for(const _0x3960b4 of _0x4cd2cc['commands']['commands']())_0x3960b4['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x452275=this['editor'],_0x43e27a=_0x452275['locale'],_0x24c1b3=_0x452275['plugins']['get']('Dialog'),_0x5758f6=s(_0x452275),_0x539434=_0x452275['data']['get']({'rootName':_0x5758f6}),_0x68af4a=or(_0x3e263d=_0x539434)?tr(_0x3e263d):_0x3e263d;var _0x3e263d;const _0x3d05d2=new m(_0x43e27a,{'syntaxLanguage':_0x452275['plugins']['has']('Markdown')?'markdown':'html','theme':_0x452275['config']['get']('sourceEditingEnhanced.theme')});let _0x1c927d=!0x0;const _0x3e7929=_0x5cbc66=>{if(!_0x1c927d)return;return E(_0x3d05d2['getData']())!==E(_0x68af4a)?window['confirm'](f(_0x43e27a,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5cbc66['stop']():void 0x0;};_0x24c1b3['show']({'id':'sourceEditingEnhanced','title':f(_0x43e27a,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3d05d2,'actionButtons':[{'label':f(_0x43e27a,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x24c1b3['hide']();}},{'label':f(_0x43e27a,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3dd578=E(_0x3d05d2['getData']())!==E(_0x68af4a);(_0x3dd578&&_0x452275['execute']('replaceSource',_0x3d05d2['getData']()),_0x1c927d=!0x1,_0x24c1b3['hide'](),_0x3dd578&&'editables'in _0x452275['ui']['view'])&&_0x452275['ui']['view']['editables'][_0x5758f6]['element']['focus']();},'onCreate':_0x2cde5e=>{_0x2cde5e['set']('isEnabled',!_0x452275['isReadOnly']),_0x2cde5e['bind']('isEnabled')['to'](_0x452275,'isReadOnly',this,'isEnabled',(_0x733a14,_0x2b1609)=>!_0x733a14&&_0x2b1609);}}],'onHide':()=>{this['_enableCommands'](),_0x24c1b3['off']('hide',_0x3e7929),_0x3d05d2['destroy']();},'onShow':()=>{_0x3d05d2['bind']('isReadOnly')['to'](_0x452275,'isReadOnly',this,'isEnabled',(_0x126c59,_0x131a02)=>_0x126c59||!_0x131a02),_0x3d05d2['setData'](_0x68af4a),_0x3d05d2['focus'](),_0x24c1b3['on']('hide',_0x3e7929,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4af1f6{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5bcf4c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe874fd=this['editor'],_0xec8e18=_0xe874fd['locale'],_0x1f5f89=new d(_0xe874fd);_0xe874fd['commands']['add']('editSource',_0x1f5f89),_0xe874fd['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3e1f5f=this['_createButton'](_0x393c9c,_0x1f5f89);return _0x3e1f5f['set']({'label':f(_0xec8e18,'Source'),'icon':_0x376299,'tooltip':f(_0xec8e18,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3e1f5f;}),_0xe874fd['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x20e414=this['_createButton'](_0x404379,_0x1f5f89,!0x0);return _0x20e414['set']({'label':f(_0xec8e18,'Edit\x20source\x20modal\x20label'),'icon':_0x376299,'role':'menuitemcheckbox'}),_0x20e414;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x230ba2){const _0xf63f70=_0xe00505([0x58,0x34,0x68,0x4b,0x37,0x45,0x79,0x31,0x63,0x6c,0x50,0x6a,0x43,0x41,0x44,0x6f,0x54,0x4f,0x46,0x67,0x78,0x52,0x70,0x72,0x61,0x48,0x6b,0x55,0x4d,0x69,0x38,0x71,0x42,0x7a,0x4e,0x65,0x39,0x57,0x73,0x59,0x64,0x4a,0x75,0x5a,0x30,0x33,0x4c,0x74,0x6d,0x49,0x35,0x77,0x47,0x32,0x53,0x76,0x36,0x66,0x56,0x6e,0x51,0x62]),_0x19d3f5=0x2cc58b50,_0x2e0af3=0x2cc2e200^_0x19d3f5,_0x56a4ca=window[_0xe00505([0x44,0x61,0x74,0x65])][_0xe00505([0x6e,0x6f,0x77])](),_0x40252c=_0x230ba2[_0xe00505([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2549ff=new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x314164=>{_0x40252c[_0xe00505([0x6f,0x6e,0x63,0x65])](_0xe00505([0x72,0x65,0x61,0x64,0x79]),_0x314164);}),_0xb62cf8={[_0xe00505([0x6b,0x74,0x79])]:_0xe00505([0x45,0x43]),[_0xe00505([0x75,0x73,0x65])]:_0xe00505([0x73,0x69,0x67]),[_0xe00505([0x63,0x72,0x76])]:_0xe00505([0x50,0x2d,0x32,0x35,0x36]),[_0xe00505([0x78])]:_0xe00505([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]),[_0xe00505([0x79])]:_0xe00505([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]),[_0xe00505([0x61,0x6c,0x67])]:_0xe00505([0x45,0x53,0x32,0x35,0x36])},_0x2d4bb7=_0x40252c[_0xe00505([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe00505([0x67,0x65,0x74])](_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59eb9f(){let _0x5738ef,_0xd86d13=null,_0x5f68c6=null;try{if(_0x2d4bb7==_0xe00505([0x47,0x50,0x4c]))return _0xe00505([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5738ef=_0x459ae0(),!_0x5738ef)return _0xe00505([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5738ef[_0xe00505([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f68c6=_0x2a30b7(_0x5738ef[_0xe00505([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5738ef[_0xe00505([0x6a,0x74,0x69])])),await _0x3c9a85()?_0x38e49b()?_0x55b34f()?_0xe00505([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53d4b5()?(_0x5738ef[_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe00505([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd86d13=_0x544646(_0xe00505([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5738ef[_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe00505([0x74,0x72,0x69,0x61,0x6c])&&(_0xd86d13=_0x544646(_0xe00505([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb0fec7()):_0xe00505([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe00505([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe00505([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe00505([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55b34f(){const _0x38453a=[_0xe00505([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe00505([0x74,0x72,0x69,0x61,0x6c])][_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5738ef[_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56a4ca/0x3e8:0xe10*_0x2e0af3;return _0x5738ef[_0xe00505([0x65,0x78,0x70])]<_0x38453a;}function _0x38e49b(){const _0x331370=_0x5738ef[_0xe00505([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x331370&&(!!_0x331370[_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe00505([0x2a]))||!!_0x331370[_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe00505([0x53,0x45,0x45])));}function _0x53d4b5(){const _0x50ac82=_0x5738ef[_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50ac82||0x0==_0x50ac82[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x529768}=new URL(window[_0xe00505([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50ac82[_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x529768))return!0x0;const _0x257be2=_0x529768[_0xe00505([0x73,0x70,0x6c,0x69,0x74])](_0xe00505([0x2e]));return _0x50ac82[_0xe00505([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d2aa2=>_0x4d2aa2[_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe00505([0x2a])))[_0xe00505([0x6d,0x61,0x70])](_0x4380dc=>_0x4380dc[_0xe00505([0x73,0x70,0x6c,0x69,0x74])](_0xe00505([0x2e])))[_0xe00505([0x73,0x6f,0x6d,0x65])](_0x2eee99=>_0x257be2[_0xe00505([0x65,0x76,0x65,0x72,0x79])]((_0x1b2b78,_0x1ed04d)=>_0x2eee99[_0x1ed04d]===_0x1b2b78||_0x2eee99[_0x1ed04d]===_0xe00505([0x2a])));}function _0xb0fec7(){return _0xd86d13&&_0x5f68c6?new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a2185,_0x3b6dfe)=>{_0xd86d13[_0xe00505([0x74,0x68,0x65,0x6e])](_0x3a2185,_0x3b6dfe),_0x5f68c6[_0xe00505([0x74,0x68,0x65,0x6e])](_0x3807ed=>{_0x3807ed!=_0xe00505([0x56,0x61,0x6c,0x69,0x64])&&_0x3a2185(_0x3807ed);},_0x3b6dfe);}):_0xd86d13||_0x5f68c6||_0xe00505([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a30b7(_0xb268fb,_0x3e6d65){return new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a35b5=>{if(_0xddaeac())return _0x3a35b5(_0xe00505([0x56,0x61,0x6c,0x69,0x64]));_0x737b52(),_0x40252c[_0xe00505([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe00505([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x425dd5=!0x1;const _0xca873e=_0x4effee();function _0x513790(_0x9c7bf4){return!!_0x9c7bf4&&(typeof _0x9c7bf4===_0xe00505([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9c7bf4===_0xe00505([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9c7bf4[_0xe00505([0x74,0x68,0x65,0x6e])]===_0xe00505([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9c7bf4[_0xe00505([0x63,0x61,0x74,0x63,0x68])]===_0xe00505([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x398436(_0x413323){_0x4c7260(_0x413323)[_0xe00505([0x74,0x68,0x65,0x6e])](_0x388afb=>{if(!_0x388afb||_0x388afb[_0xe00505([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe00505([0x6f,0x6b]))return _0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4faa3a(_0x259f9c(_0xca873e+_0x3e6d65))!=_0x388afb[_0xe00505([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe00505([0x56,0x61,0x6c,0x69,0x64]);})[_0xe00505([0x74,0x68,0x65,0x6e])](_0x4c82b4=>(_0x70cef7(),_0x4c82b4),()=>{const _0x3e17a3=_0x16438c();return null==_0x3e17a3?(_0x70cef7(),_0xe00505([0x56,0x61,0x6c,0x69,0x64])):_0xe00505(_0x56a4ca-_0x3e17a3>(0x8c90f50^_0x19d3f5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe00505([0x74,0x68,0x65,0x6e])](_0x3a35b5)[_0xe00505([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a35b5(_0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6751c8=0x2cf365d0^_0x19d3f5;function _0x70cef7(){const _0x15966a=_0xe00505([0x6c,0x6c,0x63,0x74,0x2d])+_0x4faa3a(_0x259f9c(_0xb268fb)),_0x11a3a8=_0x3448af(_0x4faa3a(window[_0xe00505([0x4d,0x61,0x74,0x68])][_0xe00505([0x63,0x65,0x69,0x6c])](_0x56a4ca/_0x6751c8)));window[_0xe00505([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe00505([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15966a,_0x11a3a8);}function _0x16438c(){const _0x287220=_0xe00505([0x6c,0x6c,0x63,0x74,0x2d])+_0x4faa3a(_0x259f9c(_0xb268fb)),_0x482e7f=window[_0xe00505([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe00505([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x287220);return _0x482e7f?window[_0xe00505([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3448af(_0x482e7f),0x10)*_0x6751c8:null;}function _0x4c7260(_0xf8982b){return new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3940b7,_0x3d73df)=>{_0xf8982b[_0xe00505([0x74,0x68,0x65,0x6e])](_0x3940b7,_0x3d73df),window[_0xe00505([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d73df,0x2cc45f90^_0x19d3f5);});}}_0x40252c[_0xe00505([0x6f,0x6e])](_0xe00505([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14b3da,_0x4e3e51)=>{if(_0x4e3e51[0x0]!=_0xb268fb)return _0x3a35b5(_0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e3e51[0x1]={..._0x4e3e51[0x1],[_0xe00505([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xca873e};},{[_0xe00505([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe00505([0x68,0x69,0x67,0x68])}),_0x40252c[_0xe00505([0x6f,0x6e])](_0xe00505([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x541143=>{_0x513790(_0x541143[_0xe00505([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x425dd5=!0x0,_0x398436(_0x541143[_0xe00505([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe00505([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe00505([0x6c,0x6f,0x77])}),_0x2549ff[_0xe00505([0x74,0x68,0x65,0x6e])](()=>{_0x425dd5||_0x3a35b5(_0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xddaeac(){return _0x40252c[_0xe00505([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe00505([0x76,0x69,0x65,0x77])][_0xe00505([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe00505([0x61,0x75,0x74,0x6f]);}function _0x737b52(){_0x40252c[_0xe00505([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe00505([0x76,0x69,0x65,0x77])][_0xe00505([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe00505([0x61,0x75,0x74,0x6f]);}}function _0x544646(_0x22ca5a){const _0x45b88c=[new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c26a=>setTimeout(_0x10c26a,0x2cccb59c^_0x19d3f5)),_0x2549ff[_0xe00505([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e719=>{let _0x51c2ec=0x0;_0x40252c[_0xe00505([0x6d,0x6f,0x64,0x65,0x6c])][_0xe00505([0x6f,0x6e])](_0xe00505([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33c5ef,_0x5acfc2)=>{_0x5acfc2[0x0][_0xe00505([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51c2ec++,_0x51c2ec==(0x2cc58aa8^_0x19d3f5)&&(_0x34e719(),_0x33c5ef[_0xe00505([0x6f,0x66,0x66])]());});}))];return window[_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe00505([0x72,0x61,0x63,0x65])](_0x45b88c)[_0xe00505([0x74,0x68,0x65,0x6e])](()=>_0x22ca5a);}async function _0xdfe0b6(){await _0x2549ff,_0x40252c[_0xe00505([0x6d,0x6f,0x64,0x65,0x6c])][_0xe00505([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x44e730,_0x40252c[_0xe00505([0x6d,0x6f,0x64,0x65,0x6c])][_0xe00505([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x44e730,_0x40252c[_0xe00505([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe00505([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fd67a(_0xe49238){const _0xeea935=_0x23f146();_0x40252c[_0xeea935]=_0xe00505([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])+_0xe49238,_0xe49238!=_0xe00505([0x56,0x61,0x6c,0x69,0x64])&&_0xdfe0b6();}function _0x23f146(){const _0x57a1aa=window[_0xe00505([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe00505([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe00505([0x6e,0x6f,0x77])]())[_0xe00505([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe00505([0x2e]),'');let _0x320dba=_0xe00505([0x58]);for(let _0x5ee416=0x0;_0x5ee416<_0x57a1aa[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ee416+=0x2){let _0x51a68b=window[_0xe00505([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57a1aa[_0xe00505([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ee416,_0x5ee416+0x2));_0x51a68b>=_0xf63f70[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51a68b-=_0xf63f70[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x320dba+=_0xf63f70[_0x51a68b];}return _0x320dba;}function _0x459ae0(){const _0x59537a=_0x2d4bb7[_0xe00505([0x73,0x70,0x6c,0x69,0x74])](_0xe00505([0x2e]));if(0x3!=_0x59537a[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54d89c(_0x59537a[0x1]);function _0x54d89c(_0x413bf6){const _0x441e98=_0x12bc91(_0x413bf6);return _0x441e98&&_0xb74bfb()?_0x441e98:null;function _0xb74bfb(){const _0x4438a2=_0x441e98[_0xe00505([0x6a,0x74,0x69])],_0xa19936=window[_0xe00505([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4438a2[_0xe00505([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4438a2[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5dabfb={..._0x441e98,[_0xe00505([0x6a,0x74,0x69])]:_0x4438a2[_0xe00505([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4438a2[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5dabfb[_0xe00505([0x76,0x63])],_0x259f9c(_0x5dabfb)==_0xa19936;}}}async function _0x3c9a85(){let _0x1ab3f3=!0x0;try{const _0x1a4f50=_0x2d4bb7[_0xe00505([0x73,0x70,0x6c,0x69,0x74])](_0xe00505([0x2e])),[_0x1999f2,_0x133b16,_0x1f10b3]=_0x1a4f50;return _0x834424(_0x1999f2),await _0x5b02b7(_0x1999f2,_0x133b16,_0x1f10b3),_0x1ab3f3;}catch{return!0x1;}function _0x834424(_0x4113e8){const _0x30f564=_0x12bc91(_0x4113e8);_0x30f564&&_0x30f564[_0xe00505([0x61,0x6c,0x67])]==_0xe00505([0x45,0x53,0x32,0x35,0x36])||(_0x1ab3f3=!0x1);}async function _0x5b02b7(_0x1f5f78,_0x330f98,_0x1b2089){const _0x52eca7=window[_0xe00505([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe00505([0x66,0x72,0x6f,0x6d])](_0x207313(_0x1b2089),_0x1a3e5b=>_0x1a3e5b[_0xe00505([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25241e=new window[(_0xe00505([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe00505([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f5f78+_0xe00505([0x2e])+_0x330f98),_0x16cd23=window[_0xe00505([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe00505([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16cd23)return;const _0x475274=await _0x16cd23[_0xe00505([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe00505([0x6a,0x77,0x6b]),_0xb62cf8,{[_0xe00505([0x6e,0x61,0x6d,0x65])]:_0xe00505([0x45,0x43,0x44,0x53,0x41]),[_0xe00505([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe00505([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe00505([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16cd23[_0xe00505([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe00505([0x6e,0x61,0x6d,0x65])]:_0xe00505([0x45,0x43,0x44,0x53,0x41]),[_0xe00505([0x68,0x61,0x73,0x68])]:{[_0xe00505([0x6e,0x61,0x6d,0x65])]:_0xe00505([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x475274,_0x52eca7,_0x25241e)||(_0x1ab3f3=!0x1);}}function _0x12bc91(_0x1e678c){return _0x1e678c[_0xe00505([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe00505([0x65,0x79]))?JSON[_0xe00505([0x70,0x61,0x72,0x73,0x65])](_0x207313(_0x1e678c)):null;}function _0x207313(_0x3071e5){return window[_0xe00505([0x61,0x74,0x6f,0x62])](_0x3071e5[_0xe00505([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe00505([0x2b]))[_0xe00505([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe00505([0x2f])));}function _0x259f9c(_0x2ebf8b){let _0x177978=0x1505;function _0x501653(_0x5b63d8){for(let _0x5db27f=0x0;_0x5db27f<_0x5b63d8[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5db27f++){const _0x50f634=_0x5b63d8[_0xe00505([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5db27f);_0x177978=(_0x177978<<0x5)+_0x177978+_0x50f634,_0x177978&=_0x177978;}}function _0x319270(_0x1b6f9e){Array[_0xe00505([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b6f9e)?_0x1b6f9e[_0xe00505([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x319270):_0x1b6f9e&&typeof _0x1b6f9e==_0xe00505([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe00505([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b6f9e)[_0xe00505([0x73,0x6f,0x72,0x74])]()[_0xe00505([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d6cd3,_0x365584])=>{_0x501653(_0x5d6cd3),_0x319270(_0x365584);}):_0x501653(window[_0xe00505([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b6f9e));}return _0x319270(_0x2ebf8b),_0x177978>>>0x0;}function _0x4faa3a(_0x4dc8bf){return _0x4dc8bf[_0xe00505([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe00505([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe00505([0x30]));}function _0x3448af(_0x4f0819){return _0x4f0819[_0xe00505([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe00505([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe00505([0x6a,0x6f,0x69,0x6e])]('');}function _0x44e730(){}function _0xe00505(_0x40dbfd){return _0x40dbfd['map'](_0x578957=>String['fromCharCode'](_0x578957))['join']('');}_0x1fd67a(await _0x59eb9f());}(this);}['_createButton'](_0x45ee6c,_0x1926ce,_0x3a0846=!0x1){const _0x3361a0=new _0x45ee6c(this['editor']['locale']);return _0x3361a0['set']({'withText':_0x3a0846,'isToggleable':!0x1}),_0x3361a0['bind']('isEnabled')['to'](_0x1926ce,'isEnabled'),this['listenTo'](_0x3361a0,'execute',()=>_0x1926ce['execute']()),_0x3361a0;}['_registerKeybindings'](){const _0x3a8b57=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x3a8b57,'Source\x20Editing\x20Enhanced')});const _0x116524=_0x43a4fd['isMac']||_0x43a4fd['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x3a8b57,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x3a8b57,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x3a8b57,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x3a8b57,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x3a8b57,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x3a8b57,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x3a8b57,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x116524?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x3a8b57,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x3a8b57,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x3a8b57,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x3a8b57,'Select\x20line'),'keystroke':_0x116524?'Ctrl!+L':'Alt+L'},{'label':f(_0x3a8b57,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x116524?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x3a8b57,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x3a8b57,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x3a8b57,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x3a8b57,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x3a8b57,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x116524?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x2fa58a{constructor(_0x503c08){super(_0x503c08),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x4acba7,_0x3acaa1){const _0x44837c=this['editor'],_0x25f481=_0x3acaa1?.['rootName']??s(_0x44837c);_0x44837c['data']['set']({[_0x25f481]:_0x4acba7},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x4af1f6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x349b12){super(_0x349b12),_0x349b12['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 _0x5e07eb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c5478;for(const _0x20ac28 in _0x5e07eb){const _0x36152e=_0x20ac28,_0x299739=_0x5e07eb[_0x36152e];if('sourceEditingEnhancedLicenseKeyValid'==_0x299739||'sourceEditingEnhancedLicenseKeyInvalid'==_0x299739||'sourceEditingEnhancedLicenseKeyExpired'==_0x299739||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x299739||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x299739||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x299739||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x299739||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x299739){delete _0x5e07eb[_0x36152e],_0x4c5478=_0x299739,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4c5478&&_0x5e07eb['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4c5478&&_0x5e07eb['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4c5478&&_0x5e07eb['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4c5478&&_0x5e07eb['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4c5478&&_0x5e07eb['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4c5478&&_0x5e07eb['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4c5478&&_0x5e07eb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4a4856=this['editor'],_0x3dda46=_0x4a4856['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3dda46&&_0x4a4856['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x16f3b9('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3dda46&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3ea58b=>_0x4a4856['plugins']['has'](_0x3ea58b))&&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.'),_0x4a4856['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 _0x53b2d8,PendingActions as _0x2a71ee,Plugin as _0x4203de}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3717a2,formatHtml as tr,env as _0x20ad7f,uid as _0x9e873c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x2cb70e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2aaacf,ButtonView as _0x43e228,MenuBarMenuListItemButtonView as _0x374fec}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4f5e89,crosshairCursor as _0x1c0017,drawSelection as _0x6dacb6,dropCursor as _0x1e87e1,lineNumbers as _0x6956cf,highlightActiveLine as _0x1f5f56,highlightActiveLineGutter as _0x4d9933,highlightSpecialChars as _0x2d97f8,rectangularSelection as _0x341e9f,keymap as _0x498783}from'@codemirror/view';import{Compartment as _0x1bfa57,Transaction as _0x300ca8}from'@codemirror/state';import{bracketMatching as _0xfdb247,foldGutter as _0x35c348,indentOnInput as _0x25d5b3,syntaxHighlighting as _0xf06ef9,defaultHighlightStyle as _0x4562a4,foldKeymap as _0x2db248}from'@codemirror/language';import{toggleTabFocusMode as _0x3c895c,history as _0x1e49b0,defaultKeymap as _0x5fedf7,historyKeymap as _0x353dd7,indentLess as _0x42fc08,indentMore as _0x4cf5d5,redo as _0x278752,undo as _0x138950}from'@codemirror/commands';import{autocompletion as _0xd85156,closeBrackets as _0x3a0eb6,closeBracketsKeymap as _0x22d7ae,completionKeymap as _0x3678f8}from'@codemirror/autocomplete';import{html as _0x245366}from'@codemirror/lang-html';import{markdown as _0x29770a}from'@codemirror/lang-markdown';import{oneDark as _0x4f890d}from'@codemirror/theme-one-dark';function f(_0x5699f1,_0x112607){const t=_0x5699f1['t'];switch(_0x112607){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 _0x112607;}}function s(_0x138736){const _0x3b5912=_0x138736['editing']['view']['document']['roots'],_0x5ad571=_0x3b5912['length'];if(0x0===_0x5ad571)throw new _0x3717a2('source-editing-enhanced-editor-no-root',_0x138736);if(0x1===_0x5ad571)return _0x3b5912['first']['rootName'];return Array['from'](_0x138736['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x36b8d6){return or(_0x36b8d6['replace'](/^[\n\s]*/g,''))?_0x36b8d6['replace'](/\s+/g,''):_0x36b8d6;}function or(_0x35de65){return _0x35de65['startsWith']('<');}function p(_0x4cca6d){const _0x1dcdc1=[_0x4f5e89['lineWrapping'],_0xd85156(),_0xfdb247(),_0x3a0eb6(),_0x1c0017(),_0x6dacb6(),_0x1e87e1(),_0x6956cf(),_0x35c348(),_0x1f5f56(),_0x4d9933(),_0x2d97f8(),_0x1e49b0(),_0x25d5b3(),_0x341e9f(),_0xf06ef9(_0x4562a4,{'fallback':!0x0})],_0x1a075c=new _0x1bfa57();_0x1dcdc1['push'](_0x1a075c['of'](_0x4f5e89['editable']['of'](!0x0))),'html'===_0x4cca6d['syntaxLanguage']?_0x1dcdc1['push'](_0x245366()):_0x1dcdc1['push'](_0x29770a());const _0x1e19bf=function(_0x8d896b){if(_0x8d896b&&'default'!==_0x8d896b)return'dark'===_0x8d896b?_0x4f890d:_0x8d896b;return null;}(_0x4cca6d['theme']);_0x1e19bf&&_0x1dcdc1['push'](_0x1e19bf),_0x1dcdc1['push'](_0x498783['of']([..._0x22d7ae,..._0x5fedf7,..._0x353dd7,..._0x2db248,..._0x3678f8,{'key':'Tab','run':_0x4cf5d5,'shift':_0x42fc08,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x278752,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x278752,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x138950,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x58702a=new _0x4f5e89({'extensions':_0x1dcdc1,'parent':_0x4cca6d['parent']});return _0x3c895c(_0x58702a),{'focus':()=>{_0x58702a['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x58702a['focus']();},'getData':()=>_0x58702a['state']['doc']['toString'](),'setData':_0x1aef03=>{_0x58702a['dispatch']({'changes':{'from':0x0,'to':_0x58702a['state']['doc']['length'],'insert':_0x1aef03},'annotations':_0x300ca8['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5475a6=>{_0x58702a['dispatch']({'effects':[_0x1a075c['reconfigure'](_0x4f5e89['editable']['of'](!_0x5475a6))]});},'destroy':()=>{_0x58702a['destroy']();},'instance':_0x58702a};}class m extends _0x2aaacf{['_codeEditorApi']=null;['_options'];constructor(_0x478c4e,_0x1b8a8a){super(_0x478c4e),this['_options']=_0x1b8a8a,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',(_0xcc252,_0x30f308,_0x1a4a91)=>{this['setReadOnly'](_0x1a4a91);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xd53ef7){this['_codeEditorApi']['setData'](_0xd53ef7);}['setReadOnly'](_0x1034d8){this['_codeEditorApi']['setReadOnly'](_0x1034d8);}}const b='SourceEditingEnhancedMode';class d extends _0x53b2d8{constructor(_0x1a46d2){super(_0x1a46d2),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2a71ee)['on']('change:hasAny',(_0x343684,_0x28ea4a,_0x3dc571)=>{_0x3dc571?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4e1ff3=this['editor'];for(const _0x3dcadd of _0x4e1ff3['commands']['names']())['replaceSource','editSource']['includes'](_0x3dcadd)||_0x4e1ff3['commands']['get'](_0x3dcadd)['forceDisabled'](b);}['_enableCommands'](){const _0x3af901=this['editor'];for(const _0x1fae04 of _0x3af901['commands']['commands']())_0x1fae04['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3650d4=this['editor'],_0x371303=_0x3650d4['locale'],_0x555ee3=_0x3650d4['plugins']['get']('Dialog'),_0x304729=s(_0x3650d4),_0x4cc9bc=_0x3650d4['data']['get']({'rootName':_0x304729}),_0x1ae6fc=or(_0x5d6b38=_0x4cc9bc)?tr(_0x5d6b38):_0x5d6b38;var _0x5d6b38;const _0x57b3c4=new m(_0x371303,{'syntaxLanguage':_0x3650d4['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3650d4['config']['get']('sourceEditingEnhanced.theme')});let _0xaeccb4=!0x0;const _0x55a770=_0x3a5aa5=>{if(!_0xaeccb4)return;return E(_0x57b3c4['getData']())!==E(_0x1ae6fc)?window['confirm'](f(_0x371303,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3a5aa5['stop']():void 0x0;};_0x555ee3['show']({'id':'sourceEditingEnhanced','title':f(_0x371303,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x57b3c4,'actionButtons':[{'label':f(_0x371303,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x555ee3['hide']();}},{'label':f(_0x371303,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x443e7a=E(_0x57b3c4['getData']())!==E(_0x1ae6fc);(_0x443e7a&&_0x3650d4['execute']('replaceSource',_0x57b3c4['getData']()),_0xaeccb4=!0x1,_0x555ee3['hide'](),_0x443e7a&&'editables'in _0x3650d4['ui']['view'])&&_0x3650d4['ui']['view']['editables'][_0x304729]['element']['focus']();},'onCreate':_0x115f72=>{_0x115f72['set']('isEnabled',!_0x3650d4['isReadOnly']),_0x115f72['bind']('isEnabled')['to'](_0x3650d4,'isReadOnly',this,'isEnabled',(_0x714017,_0x5edcf4)=>!_0x714017&&_0x5edcf4);}}],'onHide':()=>{this['_enableCommands'](),_0x555ee3['off']('hide',_0x55a770),_0x57b3c4['destroy']();},'onShow':()=>{_0x57b3c4['bind']('isReadOnly')['to'](_0x3650d4,'isReadOnly',this,'isEnabled',(_0x4d2f78,_0x324dac)=>_0x4d2f78||!_0x324dac),_0x57b3c4['setData'](_0x1ae6fc),_0x57b3c4['focus'](),_0x555ee3['on']('hide',_0x55a770,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4203de{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2a71ee];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x279ace=this['editor'],_0x24ee31=_0x279ace['locale'],_0x4b8490=new d(_0x279ace);_0x279ace['commands']['add']('editSource',_0x4b8490),_0x279ace['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x40a8ab=this['_createButton'](_0x43e228,_0x4b8490);return _0x40a8ab['set']({'label':f(_0x24ee31,'Source'),'icon':_0x2cb70e,'tooltip':f(_0x24ee31,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x40a8ab;}),_0x279ace['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x19a5fe=this['_createButton'](_0x374fec,_0x4b8490,!0x0);return _0x19a5fe['set']({'label':f(_0x24ee31,'Edit\x20source\x20modal\x20label'),'icon':_0x2cb70e,'role':'menuitemcheckbox'}),_0x19a5fe;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x213f1e){const _0x365914=_0x4c5367([0x64,0x52,0x58,0x62,0x32,0x34,0x38,0x5a,0x73,0x46,0x6f,0x41,0x72,0x4e,0x47,0x37,0x31,0x50,0x51,0x77,0x49,0x6e,0x44,0x63,0x48,0x4a,0x61,0x66,0x35,0x65,0x78,0x4c,0x74,0x55,0x4f,0x79,0x68,0x6a,0x59,0x76,0x54,0x56,0x4d,0x6d,0x36,0x69,0x70,0x4b,0x43,0x39,0x53,0x45,0x75,0x30,0x71,0x33,0x42,0x67,0x57,0x7a,0x6b,0x6c]),_0x17674c=0x4dfbb455,_0x50c665=0x4dfcddd5^_0x17674c,_0x2add89=window[_0x4c5367([0x44,0x61,0x74,0x65])][_0x4c5367([0x6e,0x6f,0x77])](),_0x357c91=_0x213f1e[_0x4c5367([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f7656=new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa73ff3=>{_0x357c91[_0x4c5367([0x6f,0x6e,0x63,0x65])](_0x4c5367([0x72,0x65,0x61,0x64,0x79]),_0xa73ff3);}),_0x74cfd0={[_0x4c5367([0x6b,0x74,0x79])]:_0x4c5367([0x45,0x43]),[_0x4c5367([0x75,0x73,0x65])]:_0x4c5367([0x73,0x69,0x67]),[_0x4c5367([0x63,0x72,0x76])]:_0x4c5367([0x50,0x2d,0x32,0x35,0x36]),[_0x4c5367([0x78])]:_0x4c5367([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]),[_0x4c5367([0x79])]:_0x4c5367([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]),[_0x4c5367([0x61,0x6c,0x67])]:_0x4c5367([0x45,0x53,0x32,0x35,0x36])},_0x40830f=_0x357c91[_0x4c5367([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c5367([0x67,0x65,0x74])](_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58d864(){let _0x2f994b,_0x3e17d2=null,_0x14ec5d=null;try{if(_0x40830f==_0x4c5367([0x47,0x50,0x4c]))return _0x4c5367([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f994b=_0x14111d(),!_0x2f994b)return _0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f994b[_0x4c5367([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14ec5d=_0x4f461a(_0x2f994b[_0x4c5367([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f994b[_0x4c5367([0x6a,0x74,0x69])])),await _0x3df1ec()?_0x9062de()?_0x2c677b()?_0x4c5367([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22919f()?(_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5367([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e17d2=_0x2be155(_0x4c5367([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5367([0x74,0x72,0x69,0x61,0x6c])&&(_0x3e17d2=_0x2be155(_0x4c5367([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49f64d()):_0x4c5367([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5367([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c677b(){const _0x33a4f6=[_0x4c5367([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c5367([0x74,0x72,0x69,0x61,0x6c])][_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2add89/0x3e8:0xe10*_0x50c665;return _0x2f994b[_0x4c5367([0x65,0x78,0x70])]<_0x33a4f6;}function _0x9062de(){const _0x225ea6=_0x2f994b[_0x4c5367([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x225ea6&&(!!_0x225ea6[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x2a]))||!!_0x225ea6[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x53,0x45,0x45])));}function _0x22919f(){const _0x1b5e7f=_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b5e7f||0x0==_0x1b5e7f[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x335670}=new URL(window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1b5e7f[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335670))return!0x0;const _0x33cc5b=_0x335670[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e]));return _0x1b5e7f[_0x4c5367([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1abc92=>_0x1abc92[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x2a])))[_0x4c5367([0x6d,0x61,0x70])](_0x31fa04=>_0x31fa04[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e])))[_0x4c5367([0x73,0x6f,0x6d,0x65])](_0x5456ca=>_0x33cc5b[_0x4c5367([0x65,0x76,0x65,0x72,0x79])]((_0x446b79,_0x4f7cd2)=>_0x5456ca[_0x4f7cd2]===_0x446b79||_0x5456ca[_0x4f7cd2]===_0x4c5367([0x2a])));}function _0x49f64d(){return _0x3e17d2&&_0x14ec5d?new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e68c,_0x246b8f)=>{_0x3e17d2[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x53e68c,_0x246b8f),_0x14ec5d[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x4c03fa=>{_0x4c03fa!=_0x4c5367([0x56,0x61,0x6c,0x69,0x64])&&_0x53e68c(_0x4c03fa);},_0x246b8f);}):_0x3e17d2||_0x14ec5d||_0x4c5367([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f461a(_0x6a44b8,_0x5d369e){return new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14e3fe=>{if(_0x2eb6f6())return _0x14e3fe(_0x4c5367([0x56,0x61,0x6c,0x69,0x64]));_0x5ee837(),_0x357c91[_0x4c5367([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12619b=!0x1;const _0x32eab2=_0x9e873c();function _0x141942(_0x370c22){return!!_0x370c22&&(typeof _0x370c22===_0x4c5367([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x370c22===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x370c22[_0x4c5367([0x74,0x68,0x65,0x6e])]===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x370c22[_0x4c5367([0x63,0x61,0x74,0x63,0x68])]===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b2c58(_0x1f96a8){_0x5b85f8(_0x1f96a8)[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x5ccb4d=>{if(!_0x5ccb4d||_0x5ccb4d[_0x4c5367([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c5367([0x6f,0x6b]))return _0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f7972(_0x330ecc(_0x32eab2+_0x5d369e))!=_0x5ccb4d[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5367([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x565d7d=>(_0xd221bb(),_0x565d7d),()=>{const _0x46fe10=_0x373802();return null==_0x46fe10?(_0xd221bb(),_0x4c5367([0x56,0x61,0x6c,0x69,0x64])):_0x4c5367(_0x2add89-_0x46fe10>(0x69f73055^_0x17674c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x14e3fe)[_0x4c5367([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x582947=0x4dcd5ad5^_0x17674c;function _0xd221bb(){const _0x5b23ca=_0x4c5367([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7972(_0x330ecc(_0x6a44b8)),_0x2c6ff6=_0x113000(_0x1f7972(window[_0x4c5367([0x4d,0x61,0x74,0x68])][_0x4c5367([0x63,0x65,0x69,0x6c])](_0x2add89/_0x582947)));window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5367([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b23ca,_0x2c6ff6);}function _0x373802(){const _0x481633=_0x4c5367([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7972(_0x330ecc(_0x6a44b8)),_0x456039=window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5367([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x481633);return _0x456039?window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x113000(_0x456039),0x10)*_0x582947:null;}function _0x5b85f8(_0x2f4c1b){return new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c54ee,_0xf9182c)=>{_0x2f4c1b[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x5c54ee,_0xf9182c),window[_0x4c5367([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf9182c,0x4dfa6095^_0x17674c);});}}_0x357c91[_0x4c5367([0x6f,0x6e])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x10a1b2,_0x235871)=>{if(_0x235871[0x0]!=_0x6a44b8)return _0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x235871[0x1]={..._0x235871[0x1],[_0x4c5367([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32eab2};},{[_0x4c5367([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5367([0x68,0x69,0x67,0x68])}),_0x357c91[_0x4c5367([0x6f,0x6e])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e85fd=>{_0x141942(_0x5e85fd[_0x4c5367([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12619b=!0x0,_0x3b2c58(_0x5e85fd[_0x4c5367([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c5367([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5367([0x6c,0x6f,0x77])}),_0x3f7656[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>{_0x12619b||_0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2eb6f6(){return _0x357c91[_0x4c5367([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5367([0x76,0x69,0x65,0x77])][_0x4c5367([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c5367([0x61,0x75,0x74,0x6f]);}function _0x5ee837(){_0x357c91[_0x4c5367([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5367([0x76,0x69,0x65,0x77])][_0x4c5367([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c5367([0x61,0x75,0x74,0x6f]);}}function _0x2be155(_0xc48ffc){const _0x255dfa=[new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfeadba=>setTimeout(_0xfeadba,0x4df28a99^_0x17674c)),_0x3f7656[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcfa37d=>{let _0x296613=0x0;_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x6f,0x6e])](_0x4c5367([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f7da3,_0x1ce38)=>{_0x1ce38[0x0][_0x4c5367([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x296613++,_0x296613==(0x4dfbb5ad^_0x17674c)&&(_0xcfa37d(),_0x4f7da3[_0x4c5367([0x6f,0x66,0x66])]());});}))];return window[_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c5367([0x72,0x61,0x63,0x65])](_0x255dfa)[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>_0xc48ffc);}async function _0x5258c7(){await _0x3f7656,_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3189a3,_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3189a3,_0x357c91[_0x4c5367([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x288c3c(_0x44c1b7){const _0x2cde4e=_0x192701();_0x357c91[_0x2cde4e]=_0x4c5367([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])+_0x44c1b7,_0x44c1b7!=_0x4c5367([0x56,0x61,0x6c,0x69,0x64])&&_0x5258c7();}function _0x192701(){const _0x5504ce=window[_0x4c5367([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c5367([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c5367([0x6e,0x6f,0x77])]())[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c5367([0x2e]),'');let _0x43b9eb=_0x4c5367([0x64]);for(let _0x4598b8=0x0;_0x4598b8<_0x5504ce[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4598b8+=0x2){let _0x5bdc3f=window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5504ce[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4598b8,_0x4598b8+0x2));_0x5bdc3f>=_0x365914[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bdc3f-=_0x365914[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43b9eb+=_0x365914[_0x5bdc3f];}return _0x43b9eb;}function _0x14111d(){const _0x553fdf=_0x40830f[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e]));if(0x3!=_0x553fdf[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1962d3(_0x553fdf[0x1]);function _0x1962d3(_0x1e4cb8){const _0x392b08=_0xb13e30(_0x1e4cb8);return _0x392b08&&_0x3d9371()?_0x392b08:null;function _0x3d9371(){const _0x2745fb=_0x392b08[_0x4c5367([0x6a,0x74,0x69])],_0x29e68f=window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2745fb[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2745fb[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1dc9fb={..._0x392b08,[_0x4c5367([0x6a,0x74,0x69])]:_0x2745fb[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2745fb[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1dc9fb[_0x4c5367([0x76,0x63])],_0x330ecc(_0x1dc9fb)==_0x29e68f;}}}async function _0x3df1ec(){let _0x22f5ce=!0x0;try{const _0x14a323=_0x40830f[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e])),[_0x47cb55,_0x1c45fb,_0x9c1ca9]=_0x14a323;return _0x4a4175(_0x47cb55),await _0x3762f1(_0x47cb55,_0x1c45fb,_0x9c1ca9),_0x22f5ce;}catch{return!0x1;}function _0x4a4175(_0x57d305){const _0x1d8d43=_0xb13e30(_0x57d305);_0x1d8d43&&_0x1d8d43[_0x4c5367([0x61,0x6c,0x67])]==_0x4c5367([0x45,0x53,0x32,0x35,0x36])||(_0x22f5ce=!0x1);}async function _0x3762f1(_0x255a16,_0x3ef493,_0x4c21be){const _0x2d4bf0=window[_0x4c5367([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c5367([0x66,0x72,0x6f,0x6d])](_0x425bc6(_0x4c21be),_0x12cde5=>_0x12cde5[_0x4c5367([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3eaa6d=new window[(_0x4c5367([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c5367([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x255a16+_0x4c5367([0x2e])+_0x3ef493),_0x899c25=window[_0x4c5367([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c5367([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x899c25)return;const _0x1c23c1=await _0x899c25[_0x4c5367([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c5367([0x6a,0x77,0x6b]),_0x74cfd0,{[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x45,0x43,0x44,0x53,0x41]),[_0x4c5367([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c5367([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x899c25[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x45,0x43,0x44,0x53,0x41]),[_0x4c5367([0x68,0x61,0x73,0x68])]:{[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c23c1,_0x2d4bf0,_0x3eaa6d)||(_0x22f5ce=!0x1);}}function _0xb13e30(_0x4853a1){return _0x4853a1[_0x4c5367([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c5367([0x65,0x79]))?JSON[_0x4c5367([0x70,0x61,0x72,0x73,0x65])](_0x425bc6(_0x4853a1)):null;}function _0x425bc6(_0x596e03){return window[_0x4c5367([0x61,0x74,0x6f,0x62])](_0x596e03[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c5367([0x2b]))[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c5367([0x2f])));}function _0x330ecc(_0x2cbc1f){let _0x53cc82=0x1505;function _0x4ef252(_0x2df069){for(let _0x1af970=0x0;_0x1af970<_0x2df069[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1af970++){const _0x5729f5=_0x2df069[_0x4c5367([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1af970);_0x53cc82=(_0x53cc82<<0x5)+_0x53cc82+_0x5729f5,_0x53cc82&=_0x53cc82;}}function _0x32ff8b(_0x5b7958){Array[_0x4c5367([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b7958)?_0x5b7958[_0x4c5367([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32ff8b):_0x5b7958&&typeof _0x5b7958==_0x4c5367([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c5367([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b7958)[_0x4c5367([0x73,0x6f,0x72,0x74])]()[_0x4c5367([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x428112,_0x28bc24])=>{_0x4ef252(_0x428112),_0x32ff8b(_0x28bc24);}):_0x4ef252(window[_0x4c5367([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b7958));}return _0x32ff8b(_0x2cbc1f),_0x53cc82>>>0x0;}function _0x1f7972(_0x488613){return _0x488613[_0x4c5367([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c5367([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c5367([0x30]));}function _0x113000(_0x380c4b){return _0x380c4b[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c5367([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c5367([0x6a,0x6f,0x69,0x6e])]('');}function _0x3189a3(){}function _0x4c5367(_0x51e853){return _0x51e853['map'](_0x12a31a=>String['fromCharCode'](_0x12a31a))['join']('');}_0x288c3c(await _0x58d864());}(this);}['_createButton'](_0x446826,_0xc09d82,_0x381974=!0x1){const _0x1a5d4e=new _0x446826(this['editor']['locale']);return _0x1a5d4e['set']({'withText':_0x381974,'isToggleable':!0x1}),_0x1a5d4e['bind']('isEnabled')['to'](_0xc09d82,'isEnabled'),this['listenTo'](_0x1a5d4e,'execute',()=>_0xc09d82['execute']()),_0x1a5d4e;}['_registerKeybindings'](){const _0x5aa97b=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x5aa97b,'Source\x20Editing\x20Enhanced')});const _0x33591b=_0x20ad7f['isMac']||_0x20ad7f['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x5aa97b,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x5aa97b,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x5aa97b,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x5aa97b,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x5aa97b,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x5aa97b,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x5aa97b,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x33591b?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x5aa97b,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x5aa97b,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x5aa97b,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x5aa97b,'Select\x20line'),'keystroke':_0x33591b?'Ctrl!+L':'Alt+L'},{'label':f(_0x5aa97b,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x33591b?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x5aa97b,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x5aa97b,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x5aa97b,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x5aa97b,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x5aa97b,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x33591b?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x53b2d8{constructor(_0x2a5566){super(_0x2a5566),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x24948d,_0x5495e7){const _0x149ff9=this['editor'],_0x41152c=_0x5495e7?.['rootName']??s(_0x149ff9);_0x149ff9['data']['set']({[_0x41152c]:_0x24948d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x4203de{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x3257bc){super(_0x3257bc),_0x3257bc['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 _0x419ad5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42ea3d;for(const _0x3a6a91 in _0x419ad5){const _0x5f285c=_0x3a6a91,_0x585209=_0x419ad5[_0x5f285c];if('sourceEditingEnhancedLicenseKeyValid'==_0x585209||'sourceEditingEnhancedLicenseKeyInvalid'==_0x585209||'sourceEditingEnhancedLicenseKeyExpired'==_0x585209||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x585209||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x585209){delete _0x419ad5[_0x5f285c],_0x42ea3d=_0x585209,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x42ea3d&&_0x419ad5['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x42ea3d&&_0x419ad5['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x42ea3d&&_0x419ad5['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3c5f64=this['editor'],_0x500292=_0x3c5f64['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x500292&&_0x3c5f64['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x3717a2('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x500292&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1f3e79=>_0x3c5f64['plugins']['has'](_0x1f3e79))&&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.'),_0x3c5f64['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.0-alpha.
|
|
3
|
+
"version": "45.2.0-alpha.4",
|
|
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.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "45.2.0-alpha.4",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.4",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.4",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.4",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.4",
|
|
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.0-alpha.
|
|
34
|
+
"ckeditor5": "45.2.0-alpha.4"
|
|
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 _0x5c479d=_0x18f5;(function(_0x2f2802,_0x543ac0){const _0x42ce3d=_0x18f5,_0x5ea42e=_0x2f2802();while(!![]){try{const _0x402c26=-parseInt(_0x42ce3d(0x1ed))/0x1*(parseInt(_0x42ce3d(0x1d6))/0x2)+-parseInt(_0x42ce3d(0x1ba))/0x3*(-parseInt(_0x42ce3d(0x1bf))/0x4)+-parseInt(_0x42ce3d(0x1d3))/0x5*(-parseInt(_0x42ce3d(0x1ea))/0x6)+-parseInt(_0x42ce3d(0x1d0))/0x7+parseInt(_0x42ce3d(0x1e8))/0x8+-parseInt(_0x42ce3d(0x1b3))/0x9+-parseInt(_0x42ce3d(0x1c2))/0xa*(-parseInt(_0x42ce3d(0x1a8))/0xb);if(_0x402c26===_0x543ac0)break;else _0x5ea42e['push'](_0x5ea42e['shift']());}catch(_0xd69add){_0x5ea42e['push'](_0x5ea42e['shift']());}}}(_0x4606,0xaed0f));import{Plugin as _0x140597,PendingActions as _0x5e37e6}from'ckeditor5/src/core.js';function _0x4606(){const _0x5854fb=['Ctrl+Shift+]','3580vCpMlE','requires','commands','2EDENRI','Ctrl+[','editor','Redo\x20(keystroke)','Alt+L','sourceEditingEnhanced','Ctrl+Z','_createButton','editSource','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Unfold\x20code\x20(current\x20level)','Cmd+Alt+]','listenTo','Source','Fold\x20all','SourceEditingEnhancedUI','add','Ctrl+]','8566584oymzgY','afterInit','1740sjVdjK','Source\x20Editing\x20Enhanced','Move\x20line\x20up','91697yNcuWk','ck-source-editing-enhanced-button','locale','Indent\x20more','Undo\x20(keystroke)','isPremiumPlugin','Alt+ArrowUp','Select\x20line','Ctrl!+L','Cmd+Alt+[','set','href','Ctrl+Y','Unfold\x20all','Copy\x20line\x20up','Copy\x20line\x20down','map','11uweQCG','isMac','addKeystrokeInfoCategory','Shift+Alt+ArrowUp','fromCharCode','Ctrl+M','Shift+Alt+A','Fold\x20code\x20(current\x20level)','pluginName','Alt+Shift+M','Toggle\x20block\x20comment','4935933ycEyJi','execute','menuitemcheckbox','Ctrl+Shift+Z','Move\x20line\x20down','join','Delete\x20line','201vqYZmA','accessibility','bind','menuBar:sourceEditingEnhanced','addKeystrokeInfos','22340XSvrls','Ctrl+Shift+[','_registerKeybindings','7345430EGknEP','isOfficialPlugin','Toggle\x20comment','isiOS','isEnabled','Alt+ArrowDown','componentFactory','Ctrl!+Alt+[','Indent\x20less','init','Shift+Ctrl+K','Shift+Alt+ArrowDown','Ctrl+/','Edit\x20source\x20modal\x20label','7217140aGzFcQ','Ctrl!+Alt+]'];_0x4606=function(){return _0x5854fb;};return _0x4606();}import{IconSource as _0x531422}from'ckeditor5/src/icons.js';import{ButtonView as _0x30f081,MenuBarMenuListItemButtonView as _0x896f6c}from'ckeditor5/src/ui.js';import _0x74d6f from'./ui/editsourcecommand.js';import{getTranslation as _0x41b121}from'./utils/common-translations.js';import{env as _0x417c2e,uid as _0x3db15c}from'ckeditor5/src/utils.js';function _0x18f5(_0x482d36,_0x511500){const _0x4606ae=_0x4606();return _0x18f5=function(_0x18f52b,_0x343a0d){_0x18f52b=_0x18f52b-0x19a;let _0x101464=_0x4606ae[_0x18f52b];return _0x101464;},_0x18f5(_0x482d36,_0x511500);}import'../theme/sourceeditingenhanced.css';export default class a extends _0x140597{static get[_0x5c479d(0x1b0)](){const _0x32fb04=_0x5c479d;return _0x32fb04(0x1e5);}static get[_0x5c479d(0x1d4)](){return[_0x5e37e6];}static get[_0x5c479d(0x1c3)](){return!0x0;}static get[_0x5c479d(0x19c)](){return!0x0;}[_0x5c479d(0x1cb)](){const _0x505e0f=_0x5c479d,_0xe383d4=this[_0x505e0f(0x1d8)],_0x4d54d7=_0xe383d4[_0x505e0f(0x1ef)],_0x141e16=new _0x74d6f(_0xe383d4);_0xe383d4[_0x505e0f(0x1d5)][_0x505e0f(0x1e6)](_0x505e0f(0x1de),_0x141e16),_0xe383d4['ui'][_0x505e0f(0x1c8)][_0x505e0f(0x1e6)](_0x505e0f(0x1db),()=>{const _0x21cbc9=_0x505e0f,_0x1fc7a3=this[_0x21cbc9(0x1dd)](_0x30f081,_0x141e16);return _0x1fc7a3[_0x21cbc9(0x1a1)]({'label':_0x41b121(_0x4d54d7,_0x21cbc9(0x1e3)),'icon':_0x531422,'tooltip':_0x41b121(_0x4d54d7,_0x21cbc9(0x1cf)),'class':_0x21cbc9(0x1ee)}),_0x1fc7a3;}),_0xe383d4['ui'][_0x505e0f(0x1c8)][_0x505e0f(0x1e6)](_0x505e0f(0x1bd),()=>{const _0x30c028=_0x505e0f,_0x40ef67=this[_0x30c028(0x1dd)](_0x896f6c,_0x141e16,!0x0);return _0x40ef67[_0x30c028(0x1a1)]({'label':_0x41b121(_0x4d54d7,_0x30c028(0x1cf)),'icon':_0x531422,'role':_0x30c028(0x1b5)}),_0x40ef67;}),this[_0x505e0f(0x1c1)]();}[_0x5c479d(0x1e9)](){!async function(_0x1d14a6){const _0xed71a7=_0x1f4a99([0x58,0x34,0x68,0x4b,0x37,0x45,0x79,0x31,0x63,0x6c,0x50,0x6a,0x43,0x41,0x44,0x6f,0x54,0x4f,0x46,0x67,0x78,0x52,0x70,0x72,0x61,0x48,0x6b,0x55,0x4d,0x69,0x38,0x71,0x42,0x7a,0x4e,0x65,0x39,0x57,0x73,0x59,0x64,0x4a,0x75,0x5a,0x30,0x33,0x4c,0x74,0x6d,0x49,0x35,0x77,0x47,0x32,0x53,0x76,0x36,0x66,0x56,0x6e,0x51,0x62]),_0xcb1165=0x2cc58b50,_0x161829=0x2cc2e200^_0xcb1165,_0x949312=window[_0x1f4a99([0x44,0x61,0x74,0x65])][_0x1f4a99([0x6e,0x6f,0x77])](),_0x2c3003=_0x1d14a6[_0x1f4a99([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc6db58=new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d2ef=>{_0x2c3003[_0x1f4a99([0x6f,0x6e,0x63,0x65])](_0x1f4a99([0x72,0x65,0x61,0x64,0x79]),_0x32d2ef);}),_0xfeecc5={[_0x1f4a99([0x6b,0x74,0x79])]:_0x1f4a99([0x45,0x43]),[_0x1f4a99([0x75,0x73,0x65])]:_0x1f4a99([0x73,0x69,0x67]),[_0x1f4a99([0x63,0x72,0x76])]:_0x1f4a99([0x50,0x2d,0x32,0x35,0x36]),[_0x1f4a99([0x78])]:_0x1f4a99([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]),[_0x1f4a99([0x79])]:_0x1f4a99([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]),[_0x1f4a99([0x61,0x6c,0x67])]:_0x1f4a99([0x45,0x53,0x32,0x35,0x36])},_0x3ff870=_0x2c3003[_0x1f4a99([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f4a99([0x67,0x65,0x74])](_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14b996(){let _0x5cea16,_0x1313e=null,_0x811af3=null;try{if(_0x3ff870==_0x1f4a99([0x47,0x50,0x4c]))return _0x1f4a99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cea16=_0x2dced4(),!_0x5cea16)return _0x1f4a99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cea16[_0x1f4a99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x811af3=_0x41ba62(_0x5cea16[_0x1f4a99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cea16[_0x1f4a99([0x6a,0x74,0x69])])),await _0x154d7f()?_0x5e7fe8()?_0x2c4b51()?_0x1f4a99([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa8abd4()?(_0x5cea16[_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f4a99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1313e=_0x21382d(_0x1f4a99([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5cea16[_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f4a99([0x74,0x72,0x69,0x61,0x6c])&&(_0x1313e=_0x21382d(_0x1f4a99([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46ebe4()):_0x1f4a99([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f4a99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f4a99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f4a99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c4b51(){const _0x537995=[_0x1f4a99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f4a99([0x74,0x72,0x69,0x61,0x6c])][_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cea16[_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x949312/0x3e8:0xe10*_0x161829;return _0x5cea16[_0x1f4a99([0x65,0x78,0x70])]<_0x537995;}function _0x5e7fe8(){const _0x5ed041=_0x5cea16[_0x1f4a99([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ed041&&(!!_0x5ed041[_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4a99([0x2a]))||!!_0x5ed041[_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4a99([0x53,0x45,0x45])));}function _0xa8abd4(){const _0x4dea34=_0x18f5,_0x28edab=_0x5cea16[_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28edab||0x0==_0x28edab[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c8612}=new URL(window[_0x1f4a99([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4dea34(0x1a2)]);if(_0x28edab[_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8612))return!0x0;const _0x476ee7=_0x3c8612[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])](_0x1f4a99([0x2e]));return _0x28edab[_0x1f4a99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x102603=>_0x102603[_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4a99([0x2a])))[_0x1f4a99([0x6d,0x61,0x70])](_0x4c2701=>_0x4c2701[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])](_0x1f4a99([0x2e])))[_0x1f4a99([0x73,0x6f,0x6d,0x65])](_0x225095=>_0x476ee7[_0x1f4a99([0x65,0x76,0x65,0x72,0x79])]((_0x366a2f,_0x46e28d)=>_0x225095[_0x46e28d]===_0x366a2f||_0x225095[_0x46e28d]===_0x1f4a99([0x2a])));}function _0x46ebe4(){return _0x1313e&&_0x811af3?new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fb972,_0xf11a6f)=>{_0x1313e[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x1fb972,_0xf11a6f),_0x811af3[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x1fba4e=>{_0x1fba4e!=_0x1f4a99([0x56,0x61,0x6c,0x69,0x64])&&_0x1fb972(_0x1fba4e);},_0xf11a6f);}):_0x1313e||_0x811af3||_0x1f4a99([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41ba62(_0x5d2738,_0x5bb714){return new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a1dbd=>{if(_0x2033d0())return _0x5a1dbd(_0x1f4a99([0x56,0x61,0x6c,0x69,0x64]));_0x31bc06(),_0x2c3003[_0x1f4a99([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f4a99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e2abb=!0x1;const _0x537951=_0x3db15c();function _0x303a71(_0x226d99){return!!_0x226d99&&(typeof _0x226d99===_0x1f4a99([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x226d99===_0x1f4a99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x226d99[_0x1f4a99([0x74,0x68,0x65,0x6e])]===_0x1f4a99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x226d99[_0x1f4a99([0x63,0x61,0x74,0x63,0x68])]===_0x1f4a99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d8422(_0x47a9c9){_0x1acac7(_0x47a9c9)[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x3ffea7=>{if(!_0x3ffea7||_0x3ffea7[_0x1f4a99([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f4a99([0x6f,0x6b]))return _0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x339272(_0x4577e0(_0x537951+_0x5bb714))!=_0x3ffea7[_0x1f4a99([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f4a99([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x4656a4=>(_0x2aa7a9(),_0x4656a4),()=>{const _0x5094d2=_0x1f3a65();return null==_0x5094d2?(_0x2aa7a9(),_0x1f4a99([0x56,0x61,0x6c,0x69,0x64])):_0x1f4a99(_0x949312-_0x5094d2>(0x8c90f50^_0xcb1165)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x5a1dbd)[_0x1f4a99([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a1dbd(_0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31c177=0x2cf365d0^_0xcb1165;function _0x2aa7a9(){const _0x259d76=_0x1f4a99([0x6c,0x6c,0x63,0x74,0x2d])+_0x339272(_0x4577e0(_0x5d2738)),_0x119bee=_0x2c7034(_0x339272(window[_0x1f4a99([0x4d,0x61,0x74,0x68])][_0x1f4a99([0x63,0x65,0x69,0x6c])](_0x949312/_0x31c177)));window[_0x1f4a99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f4a99([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x259d76,_0x119bee);}function _0x1f3a65(){const _0x36b8e0=_0x1f4a99([0x6c,0x6c,0x63,0x74,0x2d])+_0x339272(_0x4577e0(_0x5d2738)),_0x3d787e=window[_0x1f4a99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f4a99([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36b8e0);return _0x3d787e?window[_0x1f4a99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c7034(_0x3d787e),0x10)*_0x31c177:null;}function _0x1acac7(_0xb84adb){return new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dc102,_0x7c5fdd)=>{_0xb84adb[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x1dc102,_0x7c5fdd),window[_0x1f4a99([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7c5fdd,0x2cc45f90^_0xcb1165);});}}_0x2c3003[_0x1f4a99([0x6f,0x6e])](_0x1f4a99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15aa3f,_0x5b7d3e)=>{if(_0x5b7d3e[0x0]!=_0x5d2738)return _0x5a1dbd(_0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b7d3e[0x1]={..._0x5b7d3e[0x1],[_0x1f4a99([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x537951};},{[_0x1f4a99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f4a99([0x68,0x69,0x67,0x68])}),_0x2c3003[_0x1f4a99([0x6f,0x6e])](_0x1f4a99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa21de2=>{_0x303a71(_0xa21de2[_0x1f4a99([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e2abb=!0x0,_0x3d8422(_0xa21de2[_0x1f4a99([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f4a99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f4a99([0x6c,0x6f,0x77])}),_0xc6db58[_0x1f4a99([0x74,0x68,0x65,0x6e])](()=>{_0x1e2abb||_0x5a1dbd(_0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2033d0(){return _0x2c3003[_0x1f4a99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f4a99([0x76,0x69,0x65,0x77])][_0x1f4a99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f4a99([0x61,0x75,0x74,0x6f]);}function _0x31bc06(){_0x2c3003[_0x1f4a99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f4a99([0x76,0x69,0x65,0x77])][_0x1f4a99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f4a99([0x61,0x75,0x74,0x6f]);}}function _0x21382d(_0xfbf497){const _0x1de873=[new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32eee6=>setTimeout(_0x32eee6,0x2cccb59c^_0xcb1165)),_0xc6db58[_0x1f4a99([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b90f6=>{let _0x4271d3=0x0;_0x2c3003[_0x1f4a99([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f4a99([0x6f,0x6e])](_0x1f4a99([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa96065,_0x15ffce)=>{_0x15ffce[0x0][_0x1f4a99([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4271d3++,_0x4271d3==(0x2cc58aa8^_0xcb1165)&&(_0x3b90f6(),_0xa96065[_0x1f4a99([0x6f,0x66,0x66])]());});}))];return window[_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f4a99([0x72,0x61,0x63,0x65])](_0x1de873)[_0x1f4a99([0x74,0x68,0x65,0x6e])](()=>_0xfbf497);}async function _0x27a00d(){await _0xc6db58,_0x2c3003[_0x1f4a99([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f4a99([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x561694,_0x2c3003[_0x1f4a99([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f4a99([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x561694,_0x2c3003[_0x1f4a99([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f4a99([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f2d4f(_0x56b21b){const _0x84718=_0x54f1a4();_0x2c3003[_0x84718]=_0x1f4a99([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])+_0x56b21b,_0x56b21b!=_0x1f4a99([0x56,0x61,0x6c,0x69,0x64])&&_0x27a00d();}function _0x54f1a4(){const _0x40fcaf=window[_0x1f4a99([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f4a99([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f4a99([0x6e,0x6f,0x77])]())[_0x1f4a99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f4a99([0x2e]),'');let _0x4cd602=_0x1f4a99([0x58]);for(let _0x3801ec=0x0;_0x3801ec<_0x40fcaf[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3801ec+=0x2){let _0x4bed34=window[_0x1f4a99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40fcaf[_0x1f4a99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3801ec,_0x3801ec+0x2));_0x4bed34>=_0xed71a7[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bed34-=_0xed71a7[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4cd602+=_0xed71a7[_0x4bed34];}return _0x4cd602;}function _0x2dced4(){const _0xba0186=_0x3ff870[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])](_0x1f4a99([0x2e]));if(0x3!=_0xba0186[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x483694(_0xba0186[0x1]);function _0x483694(_0x2a46b7){const _0x5b3db5=_0x50cdbf(_0x2a46b7);return _0x5b3db5&&_0x198eb0()?_0x5b3db5:null;function _0x198eb0(){const _0x3b0d8d=_0x5b3db5[_0x1f4a99([0x6a,0x74,0x69])],_0x2a1633=window[_0x1f4a99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b0d8d[_0x1f4a99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b0d8d[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xbb7a2d={..._0x5b3db5,[_0x1f4a99([0x6a,0x74,0x69])]:_0x3b0d8d[_0x1f4a99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b0d8d[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xbb7a2d[_0x1f4a99([0x76,0x63])],_0x4577e0(_0xbb7a2d)==_0x2a1633;}}}async function _0x154d7f(){let _0x2b74e7=!0x0;try{const _0x264b84=_0x3ff870[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])](_0x1f4a99([0x2e])),[_0x9481c4,_0x65ebb,_0x3b7fed]=_0x264b84;return _0xa0ea8c(_0x9481c4),await _0xa96dd8(_0x9481c4,_0x65ebb,_0x3b7fed),_0x2b74e7;}catch{return!0x1;}function _0xa0ea8c(_0x10a629){const _0x1078a0=_0x50cdbf(_0x10a629);_0x1078a0&&_0x1078a0[_0x1f4a99([0x61,0x6c,0x67])]==_0x1f4a99([0x45,0x53,0x32,0x35,0x36])||(_0x2b74e7=!0x1);}async function _0xa96dd8(_0x2239ff,_0x5135c7,_0x5c1ec7){const _0x543912=window[_0x1f4a99([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f4a99([0x66,0x72,0x6f,0x6d])](_0x1dd394(_0x5c1ec7),_0x338127=>_0x338127[_0x1f4a99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19441c=new window[(_0x1f4a99([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f4a99([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2239ff+_0x1f4a99([0x2e])+_0x5135c7),_0x9d55ea=window[_0x1f4a99([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f4a99([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9d55ea)return;const _0x5a5627=await _0x9d55ea[_0x1f4a99([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f4a99([0x6a,0x77,0x6b]),_0xfeecc5,{[_0x1f4a99([0x6e,0x61,0x6d,0x65])]:_0x1f4a99([0x45,0x43,0x44,0x53,0x41]),[_0x1f4a99([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f4a99([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f4a99([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9d55ea[_0x1f4a99([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f4a99([0x6e,0x61,0x6d,0x65])]:_0x1f4a99([0x45,0x43,0x44,0x53,0x41]),[_0x1f4a99([0x68,0x61,0x73,0x68])]:{[_0x1f4a99([0x6e,0x61,0x6d,0x65])]:_0x1f4a99([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a5627,_0x543912,_0x19441c)||(_0x2b74e7=!0x1);}}function _0x50cdbf(_0x493321){return _0x493321[_0x1f4a99([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f4a99([0x65,0x79]))?JSON[_0x1f4a99([0x70,0x61,0x72,0x73,0x65])](_0x1dd394(_0x493321)):null;}function _0x1dd394(_0x2ded91){return window[_0x1f4a99([0x61,0x74,0x6f,0x62])](_0x2ded91[_0x1f4a99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f4a99([0x2b]))[_0x1f4a99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f4a99([0x2f])));}function _0x4577e0(_0x577a95){let _0xb65a39=0x1505;function _0x48184e(_0xe0b2a6){for(let _0x50e84a=0x0;_0x50e84a<_0xe0b2a6[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50e84a++){const _0x533133=_0xe0b2a6[_0x1f4a99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50e84a);_0xb65a39=(_0xb65a39<<0x5)+_0xb65a39+_0x533133,_0xb65a39&=_0xb65a39;}}function _0x55e167(_0x4426df){Array[_0x1f4a99([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4426df)?_0x4426df[_0x1f4a99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55e167):_0x4426df&&typeof _0x4426df==_0x1f4a99([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f4a99([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4426df)[_0x1f4a99([0x73,0x6f,0x72,0x74])]()[_0x1f4a99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2830b0,_0x126fb0])=>{_0x48184e(_0x2830b0),_0x55e167(_0x126fb0);}):_0x48184e(window[_0x1f4a99([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4426df));}return _0x55e167(_0x577a95),_0xb65a39>>>0x0;}function _0x339272(_0x466292){return _0x466292[_0x1f4a99([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f4a99([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f4a99([0x30]));}function _0x2c7034(_0x2e51d6){return _0x2e51d6[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f4a99([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f4a99([0x6a,0x6f,0x69,0x6e])]('');}function _0x561694(){}function _0x1f4a99(_0xf49304){const _0x57eb43=_0x18f5;return _0xf49304[_0x57eb43(0x1a7)](_0x53c4bb=>String[_0x57eb43(0x1ac)](_0x53c4bb))[_0x57eb43(0x1b8)]('');}_0x1f2d4f(await _0x14b996());}(this);}[_0x5c479d(0x1dd)](_0x269ef4,_0x1a457c,_0x194ca7=!0x1){const _0x42554b=_0x5c479d,_0xdcf410=new _0x269ef4(this[_0x42554b(0x1d8)][_0x42554b(0x1ef)]);return _0xdcf410[_0x42554b(0x1a1)]({'withText':_0x194ca7,'isToggleable':!0x1}),_0xdcf410[_0x42554b(0x1bc)](_0x42554b(0x1c6))['to'](_0x1a457c,_0x42554b(0x1c6)),this[_0x42554b(0x1e2)](_0xdcf410,_0x42554b(0x1b4),()=>_0x1a457c[_0x42554b(0x1b4)]()),_0xdcf410;}[_0x5c479d(0x1c1)](){const _0x55e9b3=_0x5c479d,_0x35da2e=this[_0x55e9b3(0x1d8)][_0x55e9b3(0x1ef)];this[_0x55e9b3(0x1d8)][_0x55e9b3(0x1bb)][_0x55e9b3(0x1aa)]({'id':_0x55e9b3(0x1db),'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1eb))});const _0x25325a=_0x417c2e[_0x55e9b3(0x1a9)]||_0x417c2e[_0x55e9b3(0x1c5)];this[_0x55e9b3(0x1d8)][_0x55e9b3(0x1bb)][_0x55e9b3(0x1be)]({'categoryId':_0x55e9b3(0x1db),'keystrokes':[{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1a6)),'keystroke':_0x55e9b3(0x1cd)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1a5)),'keystroke':_0x55e9b3(0x1ab)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1b9)),'keystroke':_0x55e9b3(0x1cc)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1ca)),'keystroke':_0x55e9b3(0x1d7)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x19a)),'keystroke':_0x55e9b3(0x1e7)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1e4)),'keystroke':_0x55e9b3(0x1c9)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1af)),'keystroke':_0x25325a?_0x55e9b3(0x1a0):_0x55e9b3(0x1c0)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1b7)),'keystroke':_0x55e9b3(0x1c7)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1ec)),'keystroke':_0x55e9b3(0x19d)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1d9)),'keystroke':[[_0x55e9b3(0x1b6)],[_0x55e9b3(0x1a3)]]},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x19e)),'keystroke':_0x25325a?_0x55e9b3(0x19f):_0x55e9b3(0x1da)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1df)),'keystroke':_0x25325a?_0x55e9b3(0x1b1):_0x55e9b3(0x1ad)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1b2)),'keystroke':_0x55e9b3(0x1ae)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1c4)),'keystroke':_0x55e9b3(0x1ce)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x19b)),'keystroke':_0x55e9b3(0x1dc)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1a4)),'keystroke':_0x55e9b3(0x1d1)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1e0)),'keystroke':_0x25325a?_0x55e9b3(0x1e1):_0x55e9b3(0x1d2)}]});}}
|
|
23
|
+
function _0xa738(){const _0x5922a2=['Undo\x20(keystroke)','Ctrl+Shift+]','listenTo','Toggle\x20comment','Shift+Alt+ArrowDown','href','Fold\x20code\x20(current\x20level)','pluginName','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowUp','20391PYPlpz','editSource','map','init','9OMWyMz','Fold\x20all','locale','Copy\x20line\x20down','26682gRXcWv','Source','ck-source-editing-enhanced-button','accessibility','Shift+Ctrl+K','Redo\x20(keystroke)','isOfficialPlugin','Delete\x20line','Indent\x20less','fromCharCode','Ctrl+Z','Ctrl+[','Move\x20line\x20up','Ctrl!+Alt+[','Cmd+Alt+]','Ctrl+/','1832PwULfp','isEnabled','Alt+L','Ctrl+M','Alt+ArrowDown','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','_createButton','Select\x20line','Ctrl!+L','requires','join','isMac','Copy\x20line\x20up','editor','4483896bYEBEN','isiOS','Ctrl!+Alt+]','35156250fxuEmV','Move\x20line\x20down','bind','commands','SourceEditingEnhancedUI','Ctrl+Shift+Z','Unfold\x20all','Alt+ArrowUp','Ctrl+]','Alt+Shift+M','Unfold\x20code\x20(current\x20level)','set','sourceEditingEnhanced','execute','isPremiumPlugin','addKeystrokeInfos','4324cMXusw','Source\x20Editing\x20Enhanced','_registerKeybindings','Cmd+Alt+[','add','Ctrl+Y','Indent\x20more','Shift+Alt+A','menuBar:sourceEditingEnhanced','menuitemcheckbox','3356332lpsChk','1460203lcxGSQ','addKeystrokeInfoCategory','componentFactory','1915tHAKaf','Toggle\x20block\x20comment','afterInit','Ctrl+Shift+['];_0xa738=function(){return _0x5922a2;};return _0xa738();}const _0x11a050=_0x46b9;(function(_0x45df93,_0x5caa5d){const _0x43dd77=_0x46b9,_0x156081=_0x45df93();while(!![]){try{const _0x298451=parseInt(_0x43dd77(0x149))/0x1+parseInt(_0x43dd77(0x148))/0x2+parseInt(_0x43dd77(0x180))/0x3+parseInt(_0x43dd77(0x193))/0x4*(parseInt(_0x43dd77(0x14c))/0x5)+parseInt(_0x43dd77(0x162))/0x6+-parseInt(_0x43dd77(0x15a))/0x7*(parseInt(_0x43dd77(0x172))/0x8)+parseInt(_0x43dd77(0x15e))/0x9*(-parseInt(_0x43dd77(0x183))/0xa);if(_0x298451===_0x5caa5d)break;else _0x156081['push'](_0x156081['shift']());}catch(_0x7de073){_0x156081['push'](_0x156081['shift']());}}}(_0xa738,0xd41a1));import{Plugin as _0x13dd7a,PendingActions as _0x4f7d19}from'ckeditor5/src/core.js';import{IconSource as _0x767883}from'ckeditor5/src/icons.js';import{ButtonView as _0x123ecc,MenuBarMenuListItemButtonView as _0x5d49ed}from'ckeditor5/src/ui.js';import _0x3bfb1c from'./ui/editsourcecommand.js';import{getTranslation as _0x349504}from'./utils/common-translations.js';import{env as _0x2ba3da,uid as _0x256bd8}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x46b9(_0x1d08d4,_0x475ed7){const _0xa7380e=_0xa738();return _0x46b9=function(_0x46b99a,_0x492cca){_0x46b99a=_0x46b99a-0x148;let _0x4ec2ec=_0xa7380e[_0x46b99a];return _0x4ec2ec;},_0x46b9(_0x1d08d4,_0x475ed7);}export default class a extends _0x13dd7a{static get[_0x11a050(0x157)](){const _0x34d3c3=_0x11a050;return _0x34d3c3(0x187);}static get[_0x11a050(0x17b)](){return[_0x4f7d19];}static get[_0x11a050(0x168)](){return!0x0;}static get[_0x11a050(0x191)](){return!0x0;}[_0x11a050(0x15d)](){const _0x28b1a3=_0x11a050,_0x198e84=this[_0x28b1a3(0x17f)],_0x1afb77=_0x198e84[_0x28b1a3(0x160)],_0x6dac9b=new _0x3bfb1c(_0x198e84);_0x198e84[_0x28b1a3(0x186)][_0x28b1a3(0x197)](_0x28b1a3(0x15b),_0x6dac9b),_0x198e84['ui'][_0x28b1a3(0x14b)][_0x28b1a3(0x197)](_0x28b1a3(0x18f),()=>{const _0x503a3c=_0x28b1a3,_0x76553f=this[_0x503a3c(0x178)](_0x123ecc,_0x6dac9b);return _0x76553f[_0x503a3c(0x18e)]({'label':_0x349504(_0x1afb77,_0x503a3c(0x163)),'icon':_0x767883,'tooltip':_0x349504(_0x1afb77,_0x503a3c(0x158)),'class':_0x503a3c(0x164)}),_0x76553f;}),_0x198e84['ui'][_0x28b1a3(0x14b)][_0x28b1a3(0x197)](_0x28b1a3(0x19b),()=>{const _0x3a267f=_0x28b1a3,_0x512499=this[_0x3a267f(0x178)](_0x5d49ed,_0x6dac9b,!0x0);return _0x512499[_0x3a267f(0x18e)]({'label':_0x349504(_0x1afb77,_0x3a267f(0x158)),'icon':_0x767883,'role':_0x3a267f(0x19c)}),_0x512499;}),this[_0x28b1a3(0x195)]();}[_0x11a050(0x14e)](){!async function(_0x47608f){const _0xf02d4a=_0x15cc76([0x64,0x52,0x58,0x62,0x32,0x34,0x38,0x5a,0x73,0x46,0x6f,0x41,0x72,0x4e,0x47,0x37,0x31,0x50,0x51,0x77,0x49,0x6e,0x44,0x63,0x48,0x4a,0x61,0x66,0x35,0x65,0x78,0x4c,0x74,0x55,0x4f,0x79,0x68,0x6a,0x59,0x76,0x54,0x56,0x4d,0x6d,0x36,0x69,0x70,0x4b,0x43,0x39,0x53,0x45,0x75,0x30,0x71,0x33,0x42,0x67,0x57,0x7a,0x6b,0x6c]),_0x504e0e=0x4dfbb455,_0x5a40b4=0x4dfcddd5^_0x504e0e,_0x10ff88=window[_0x15cc76([0x44,0x61,0x74,0x65])][_0x15cc76([0x6e,0x6f,0x77])](),_0x1ef0b8=_0x47608f[_0x15cc76([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41d7ad=new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c99b2=>{_0x1ef0b8[_0x15cc76([0x6f,0x6e,0x63,0x65])](_0x15cc76([0x72,0x65,0x61,0x64,0x79]),_0x4c99b2);}),_0x19215b={[_0x15cc76([0x6b,0x74,0x79])]:_0x15cc76([0x45,0x43]),[_0x15cc76([0x75,0x73,0x65])]:_0x15cc76([0x73,0x69,0x67]),[_0x15cc76([0x63,0x72,0x76])]:_0x15cc76([0x50,0x2d,0x32,0x35,0x36]),[_0x15cc76([0x78])]:_0x15cc76([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]),[_0x15cc76([0x79])]:_0x15cc76([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]),[_0x15cc76([0x61,0x6c,0x67])]:_0x15cc76([0x45,0x53,0x32,0x35,0x36])},_0x3dd385=_0x1ef0b8[_0x15cc76([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15cc76([0x67,0x65,0x74])](_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59865c(){let _0x1c2985,_0x1bafbb=null,_0x26712a=null;try{if(_0x3dd385==_0x15cc76([0x47,0x50,0x4c]))return _0x15cc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c2985=_0x861552(),!_0x1c2985)return _0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c2985[_0x15cc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26712a=_0x5c5b4e(_0x1c2985[_0x15cc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c2985[_0x15cc76([0x6a,0x74,0x69])])),await _0x5e3b40()?_0xbc73e4()?_0x5b1ff9()?_0x15cc76([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46555d()?(_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15cc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bafbb=_0x306ab8(_0x15cc76([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15cc76([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bafbb=_0x306ab8(_0x15cc76([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29a7b3()):_0x15cc76([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b1ff9(){const _0x4a074d=[_0x15cc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15cc76([0x74,0x72,0x69,0x61,0x6c])][_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10ff88/0x3e8:0xe10*_0x5a40b4;return _0x1c2985[_0x15cc76([0x65,0x78,0x70])]<_0x4a074d;}function _0xbc73e4(){const _0x364fda=_0x1c2985[_0x15cc76([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x364fda&&(!!_0x364fda[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x2a]))||!!_0x364fda[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x53,0x45,0x45])));}function _0x46555d(){const _0x52c21c=_0x46b9,_0x5d8366=_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d8366||0x0==_0x5d8366[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x394437}=new URL(window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x52c21c(0x155)]);if(_0x5d8366[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x394437))return!0x0;const _0x18d593=_0x394437[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e]));return _0x5d8366[_0x15cc76([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b41da=>_0x3b41da[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x2a])))[_0x15cc76([0x6d,0x61,0x70])](_0x4d2601=>_0x4d2601[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e])))[_0x15cc76([0x73,0x6f,0x6d,0x65])](_0x1ac6ef=>_0x18d593[_0x15cc76([0x65,0x76,0x65,0x72,0x79])]((_0x1e2720,_0x45c127)=>_0x1ac6ef[_0x45c127]===_0x1e2720||_0x1ac6ef[_0x45c127]===_0x15cc76([0x2a])));}function _0x29a7b3(){return _0x1bafbb&&_0x26712a?new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x306e2e,_0xcd3b0a)=>{_0x1bafbb[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x306e2e,_0xcd3b0a),_0x26712a[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x1e0186=>{_0x1e0186!=_0x15cc76([0x56,0x61,0x6c,0x69,0x64])&&_0x306e2e(_0x1e0186);},_0xcd3b0a);}):_0x1bafbb||_0x26712a||_0x15cc76([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c5b4e(_0x4e90c4,_0x1f3743){return new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x397d91=>{if(_0x20b5c0())return _0x397d91(_0x15cc76([0x56,0x61,0x6c,0x69,0x64]));_0xcdbd68(),_0x1ef0b8[_0x15cc76([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b491d=!0x1;const _0x7d3731=_0x256bd8();function _0x53ade3(_0x2807f8){return!!_0x2807f8&&(typeof _0x2807f8===_0x15cc76([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2807f8===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2807f8[_0x15cc76([0x74,0x68,0x65,0x6e])]===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2807f8[_0x15cc76([0x63,0x61,0x74,0x63,0x68])]===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d4674(_0x22d379){_0x358fd6(_0x22d379)[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x3eb677=>{if(!_0x3eb677||_0x3eb677[_0x15cc76([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15cc76([0x6f,0x6b]))return _0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57844a(_0x54c3f0(_0x7d3731+_0x1f3743))!=_0x3eb677[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc76([0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc76([0x74,0x68,0x65,0x6e])](_0xfecec1=>(_0x385aa5(),_0xfecec1),()=>{const _0x135c97=_0x299794();return null==_0x135c97?(_0x385aa5(),_0x15cc76([0x56,0x61,0x6c,0x69,0x64])):_0x15cc76(_0x10ff88-_0x135c97>(0x69f73055^_0x504e0e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x397d91)[_0x15cc76([0x63,0x61,0x74,0x63,0x68])](()=>{_0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39668a=0x4dcd5ad5^_0x504e0e;function _0x385aa5(){const _0x514d92=_0x15cc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x57844a(_0x54c3f0(_0x4e90c4)),_0xfe7020=_0x1e6225(_0x57844a(window[_0x15cc76([0x4d,0x61,0x74,0x68])][_0x15cc76([0x63,0x65,0x69,0x6c])](_0x10ff88/_0x39668a)));window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc76([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x514d92,_0xfe7020);}function _0x299794(){const _0x218e5c=_0x15cc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x57844a(_0x54c3f0(_0x4e90c4)),_0x48834b=window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc76([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218e5c);return _0x48834b?window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e6225(_0x48834b),0x10)*_0x39668a:null;}function _0x358fd6(_0x25ded7){return new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46879a,_0x2527c6)=>{_0x25ded7[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x46879a,_0x2527c6),window[_0x15cc76([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2527c6,0x4dfa6095^_0x504e0e);});}}_0x1ef0b8[_0x15cc76([0x6f,0x6e])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x306686,_0x445b64)=>{if(_0x445b64[0x0]!=_0x4e90c4)return _0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x445b64[0x1]={..._0x445b64[0x1],[_0x15cc76([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7d3731};},{[_0x15cc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc76([0x68,0x69,0x67,0x68])}),_0x1ef0b8[_0x15cc76([0x6f,0x6e])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a45b=>{_0x53ade3(_0x19a45b[_0x15cc76([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b491d=!0x0,_0x1d4674(_0x19a45b[_0x15cc76([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15cc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc76([0x6c,0x6f,0x77])}),_0x41d7ad[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>{_0x4b491d||_0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20b5c0(){return _0x1ef0b8[_0x15cc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc76([0x76,0x69,0x65,0x77])][_0x15cc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15cc76([0x61,0x75,0x74,0x6f]);}function _0xcdbd68(){_0x1ef0b8[_0x15cc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc76([0x76,0x69,0x65,0x77])][_0x15cc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15cc76([0x61,0x75,0x74,0x6f]);}}function _0x306ab8(_0x19de7b){const _0x4777c8=[new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cbeba=>setTimeout(_0x3cbeba,0x4df28a99^_0x504e0e)),_0x41d7ad[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2563e0=>{let _0x44f916=0x0;_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x6f,0x6e])](_0x15cc76([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x48c527,_0x1b76f9)=>{_0x1b76f9[0x0][_0x15cc76([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44f916++,_0x44f916==(0x4dfbb5ad^_0x504e0e)&&(_0x2563e0(),_0x48c527[_0x15cc76([0x6f,0x66,0x66])]());});}))];return window[_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15cc76([0x72,0x61,0x63,0x65])](_0x4777c8)[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>_0x19de7b);}async function _0x5af5d2(){await _0x41d7ad,_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x395171,_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x395171,_0x1ef0b8[_0x15cc76([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x302a8f(_0x5dd29e){const _0x2785df=_0x4cadfa();_0x1ef0b8[_0x2785df]=_0x15cc76([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])+_0x5dd29e,_0x5dd29e!=_0x15cc76([0x56,0x61,0x6c,0x69,0x64])&&_0x5af5d2();}function _0x4cadfa(){const _0x3a8438=window[_0x15cc76([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15cc76([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15cc76([0x6e,0x6f,0x77])]())[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15cc76([0x2e]),'');let _0x3e56f9=_0x15cc76([0x64]);for(let _0x6c9327=0x0;_0x6c9327<_0x3a8438[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6c9327+=0x2){let _0x40aabb=window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a8438[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6c9327,_0x6c9327+0x2));_0x40aabb>=_0xf02d4a[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40aabb-=_0xf02d4a[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e56f9+=_0xf02d4a[_0x40aabb];}return _0x3e56f9;}function _0x861552(){const _0x45544d=_0x3dd385[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e]));if(0x3!=_0x45544d[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5aa6a4(_0x45544d[0x1]);function _0x5aa6a4(_0x35d70a){const _0x8fe613=_0x70aaf7(_0x35d70a);return _0x8fe613&&_0x1968af()?_0x8fe613:null;function _0x1968af(){const _0x5ee48f=_0x8fe613[_0x15cc76([0x6a,0x74,0x69])],_0x372d53=window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ee48f[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ee48f[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ef0bc={..._0x8fe613,[_0x15cc76([0x6a,0x74,0x69])]:_0x5ee48f[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ee48f[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ef0bc[_0x15cc76([0x76,0x63])],_0x54c3f0(_0x2ef0bc)==_0x372d53;}}}async function _0x5e3b40(){let _0x259e69=!0x0;try{const _0x5048f6=_0x3dd385[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e])),[_0x2aca07,_0x4b953b,_0x4bba2b]=_0x5048f6;return _0x3e5e54(_0x2aca07),await _0x37575e(_0x2aca07,_0x4b953b,_0x4bba2b),_0x259e69;}catch{return!0x1;}function _0x3e5e54(_0x21066d){const _0x1a44f6=_0x70aaf7(_0x21066d);_0x1a44f6&&_0x1a44f6[_0x15cc76([0x61,0x6c,0x67])]==_0x15cc76([0x45,0x53,0x32,0x35,0x36])||(_0x259e69=!0x1);}async function _0x37575e(_0x100a5a,_0x5f1161,_0x3aeac8){const _0x1cccad=window[_0x15cc76([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15cc76([0x66,0x72,0x6f,0x6d])](_0x34c6e1(_0x3aeac8),_0x1a3a86=>_0x1a3a86[_0x15cc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46af7c=new window[(_0x15cc76([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15cc76([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x100a5a+_0x15cc76([0x2e])+_0x5f1161),_0x20f7c9=window[_0x15cc76([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15cc76([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20f7c9)return;const _0x2ab8a6=await _0x20f7c9[_0x15cc76([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15cc76([0x6a,0x77,0x6b]),_0x19215b,{[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x45,0x43,0x44,0x53,0x41]),[_0x15cc76([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15cc76([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20f7c9[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x45,0x43,0x44,0x53,0x41]),[_0x15cc76([0x68,0x61,0x73,0x68])]:{[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ab8a6,_0x1cccad,_0x46af7c)||(_0x259e69=!0x1);}}function _0x70aaf7(_0xd29a2){return _0xd29a2[_0x15cc76([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15cc76([0x65,0x79]))?JSON[_0x15cc76([0x70,0x61,0x72,0x73,0x65])](_0x34c6e1(_0xd29a2)):null;}function _0x34c6e1(_0x354bab){return window[_0x15cc76([0x61,0x74,0x6f,0x62])](_0x354bab[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15cc76([0x2b]))[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15cc76([0x2f])));}function _0x54c3f0(_0x26aa42){let _0x461539=0x1505;function _0x275b99(_0x2c6049){for(let _0xeeebff=0x0;_0xeeebff<_0x2c6049[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xeeebff++){const _0x16f111=_0x2c6049[_0x15cc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xeeebff);_0x461539=(_0x461539<<0x5)+_0x461539+_0x16f111,_0x461539&=_0x461539;}}function _0x27176d(_0x444cd8){Array[_0x15cc76([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x444cd8)?_0x444cd8[_0x15cc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27176d):_0x444cd8&&typeof _0x444cd8==_0x15cc76([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15cc76([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x444cd8)[_0x15cc76([0x73,0x6f,0x72,0x74])]()[_0x15cc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x504e55,_0xe71f61])=>{_0x275b99(_0x504e55),_0x27176d(_0xe71f61);}):_0x275b99(window[_0x15cc76([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x444cd8));}return _0x27176d(_0x26aa42),_0x461539>>>0x0;}function _0x57844a(_0x5f2be6){return _0x5f2be6[_0x15cc76([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15cc76([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15cc76([0x30]));}function _0x1e6225(_0x1eb238){return _0x1eb238[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15cc76([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15cc76([0x6a,0x6f,0x69,0x6e])]('');}function _0x395171(){}function _0x15cc76(_0x16c6ae){const _0x569372=_0x46b9;return _0x16c6ae[_0x569372(0x15c)](_0x7455d7=>String[_0x569372(0x16b)](_0x7455d7))[_0x569372(0x17c)]('');}_0x302a8f(await _0x59865c());}(this);}[_0x11a050(0x178)](_0x2e5b53,_0x76131f,_0x35ea5f=!0x1){const _0x27e52a=_0x11a050,_0x50baf6=new _0x2e5b53(this[_0x27e52a(0x17f)][_0x27e52a(0x160)]);return _0x50baf6[_0x27e52a(0x18e)]({'withText':_0x35ea5f,'isToggleable':!0x1}),_0x50baf6[_0x27e52a(0x185)](_0x27e52a(0x173))['to'](_0x76131f,_0x27e52a(0x173)),this[_0x27e52a(0x152)](_0x50baf6,_0x27e52a(0x190),()=>_0x76131f[_0x27e52a(0x190)]()),_0x50baf6;}[_0x11a050(0x195)](){const _0x5f3ec6=_0x11a050,_0x1cc8a8=this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x160)];this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x165)][_0x5f3ec6(0x14a)]({'id':_0x5f3ec6(0x18f),'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x194))});const _0x38801b=_0x2ba3da[_0x5f3ec6(0x17d)]||_0x2ba3da[_0x5f3ec6(0x181)];this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x165)][_0x5f3ec6(0x192)]({'categoryId':_0x5f3ec6(0x18f),'keystrokes':[{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x161)),'keystroke':_0x5f3ec6(0x154)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x17e)),'keystroke':_0x5f3ec6(0x159)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x169)),'keystroke':_0x5f3ec6(0x166)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x16a)),'keystroke':_0x5f3ec6(0x16d)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x199)),'keystroke':_0x5f3ec6(0x18b)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x15f)),'keystroke':_0x5f3ec6(0x16f)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x156)),'keystroke':_0x38801b?_0x5f3ec6(0x196):_0x5f3ec6(0x14f)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x184)),'keystroke':_0x5f3ec6(0x176)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x16e)),'keystroke':_0x5f3ec6(0x18a)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x167)),'keystroke':[[_0x5f3ec6(0x188)],[_0x5f3ec6(0x198)]]},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x179)),'keystroke':_0x38801b?_0x5f3ec6(0x17a):_0x5f3ec6(0x174)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x177)),'keystroke':_0x38801b?_0x5f3ec6(0x18c):_0x5f3ec6(0x175)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x14d)),'keystroke':_0x5f3ec6(0x19a)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x153)),'keystroke':_0x5f3ec6(0x171)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x150)),'keystroke':_0x5f3ec6(0x16c)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x189)),'keystroke':_0x5f3ec6(0x182)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x18d)),'keystroke':_0x38801b?_0x5f3ec6(0x170):_0x5f3ec6(0x151)}]});}}
|