@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250523.0 → 0.0.0-nightly-20250524.0
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 _0x7519bb,PendingActions as _0x3c624a,Plugin as _0x481249}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4f8f5d,formatHtml as tr,env as _0x5801f4,uid as _0x114b35}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x4f5963}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x173ea6,ButtonView as _0x3040f3,MenuBarMenuListItemButtonView as _0x33aae7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x57a49d,crosshairCursor as _0x2ada2c,drawSelection as _0x2d6a51,dropCursor as _0xbd17ba,lineNumbers as _0x593a71,highlightActiveLine as _0x4985c5,highlightActiveLineGutter as _0x152e9e,highlightSpecialChars as _0x2e23a1,rectangularSelection as _0x38bd7a,keymap as _0x545f6c}from'@codemirror/view';import{Compartment as _0x1cd848,Transaction as _0x31a0fe}from'@codemirror/state';import{bracketMatching as _0x5e8ec0,foldGutter as _0x56b98d,indentOnInput as _0x3dc890,syntaxHighlighting as _0x76a010,defaultHighlightStyle as _0x541130,foldKeymap as _0x17d283}from'@codemirror/language';import{toggleTabFocusMode as _0x1a1dc7,history as _0x2f30d1,defaultKeymap as _0x1aab88,historyKeymap as _0x361ab1,indentLess as _0x5b31b4,indentMore as _0x5258b2,redo as _0x18307b,undo as _0x3d76e1}from'@codemirror/commands';import{autocompletion as _0x264eeb,closeBrackets as _0x4990b2,closeBracketsKeymap as _0x130822,completionKeymap as _0x2d2033}from'@codemirror/autocomplete';import{html as _0x51e5f1}from'@codemirror/lang-html';import{markdown as _0x2ce5d4}from'@codemirror/lang-markdown';import{oneDark as _0x517178}from'@codemirror/theme-one-dark';function f(_0x2152e3,_0x5a0ecd){const t=_0x2152e3['t'];switch(_0x5a0ecd){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 _0x5a0ecd;}}function s(_0x4fc781){const _0x1c70c5=_0x4fc781['editing']['view']['document']['roots'],_0x503517=_0x1c70c5['length'];if(0x0===_0x503517)throw new _0x4f8f5d('source-editing-enhanced-editor-no-root',_0x4fc781);if(0x1===_0x503517)return _0x1c70c5['first']['rootName'];return Array['from'](_0x4fc781['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x5e0c31){return or(_0x5e0c31['replace'](/^[\n\s]*/g,''))?_0x5e0c31['replace'](/\s+/g,''):_0x5e0c31;}function or(_0x5011f0){return _0x5011f0['startsWith']('<');}function p(_0x290b8){const _0xe23435=[_0x57a49d['lineWrapping'],_0x264eeb(),_0x5e8ec0(),_0x4990b2(),_0x2ada2c(),_0x2d6a51(),_0xbd17ba(),_0x593a71(),_0x56b98d(),_0x4985c5(),_0x152e9e(),_0x2e23a1(),_0x2f30d1(),_0x3dc890(),_0x38bd7a(),_0x76a010(_0x541130,{'fallback':!0x0})],_0x140d1d=new _0x1cd848();_0xe23435['push'](_0x140d1d['of'](_0x57a49d['editable']['of'](!0x0))),'html'===_0x290b8['syntaxLanguage']?_0xe23435['push'](_0x51e5f1()):_0xe23435['push'](_0x2ce5d4());const _0x54ae8c=function(_0x25f08a){if(_0x25f08a&&'default'!==_0x25f08a)return'dark'===_0x25f08a?_0x517178:_0x25f08a;return null;}(_0x290b8['theme']);_0x54ae8c&&_0xe23435['push'](_0x54ae8c),_0xe23435['push'](_0x545f6c['of']([..._0x130822,..._0x1aab88,..._0x361ab1,..._0x17d283,..._0x2d2033,{'key':'Tab','run':_0x5258b2,'shift':_0x5b31b4,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x18307b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x18307b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x3d76e1,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x45e393=new _0x57a49d({'extensions':_0xe23435,'parent':_0x290b8['parent']});return _0x1a1dc7(_0x45e393),{'focus':()=>{_0x45e393['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x45e393['focus']();},'getData':()=>_0x45e393['state']['doc']['toString'](),'setData':_0x1f78ac=>{_0x45e393['dispatch']({'changes':{'from':0x0,'to':_0x45e393['state']['doc']['length'],'insert':_0x1f78ac},'annotations':_0x31a0fe['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3c698e=>{_0x45e393['dispatch']({'effects':[_0x140d1d['reconfigure'](_0x57a49d['editable']['of'](!_0x3c698e))]});},'destroy':()=>{_0x45e393['destroy']();},'instance':_0x45e393};}class m extends _0x173ea6{['_codeEditorApi']=null;['_options'];constructor(_0x58ab45,_0x3d51ee){super(_0x58ab45),this['_options']=_0x3d51ee,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',(_0x4f52a7,_0x13af3a,_0x4b6823)=>{this['setReadOnly'](_0x4b6823);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x9d053){this['_codeEditorApi']['setData'](_0x9d053);}['setReadOnly'](_0x5dac40){this['_codeEditorApi']['setReadOnly'](_0x5dac40);}}const b='SourceEditingEnhancedMode';class d extends _0x7519bb{constructor(_0x3f8221){super(_0x3f8221),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3c624a)['on']('change:hasAny',(_0x1133c7,_0x4d26cd,_0x55d82c)=>{_0x55d82c?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x33def2=this['editor'];for(const _0x4aee09 of _0x33def2['commands']['names']())['replaceSource','editSource']['includes'](_0x4aee09)||_0x33def2['commands']['get'](_0x4aee09)['forceDisabled'](b);}['_enableCommands'](){const _0x1f17a9=this['editor'];for(const _0x2eb52e of _0x1f17a9['commands']['commands']())_0x2eb52e['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4eea08=this['editor'],_0x17e675=_0x4eea08['locale'],_0x2c4cd3=_0x4eea08['plugins']['get']('Dialog'),_0x27c7a9=s(_0x4eea08),_0x2f25d2=_0x4eea08['data']['get']({'rootName':_0x27c7a9}),_0x3e5b62=or(_0x4f0c09=_0x2f25d2)?tr(_0x4f0c09):_0x4f0c09;var _0x4f0c09;const _0x385e51=new m(_0x17e675,{'syntaxLanguage':_0x4eea08['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4eea08['config']['get']('sourceEditingEnhanced.theme')});let _0x3fe464=!0x0;const _0x9da52b=_0x4b17ca=>{if(!_0x3fe464)return;return E(_0x385e51['getData']())!==E(_0x3e5b62)?window['confirm'](f(_0x17e675,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x4b17ca['stop']():void 0x0;};_0x2c4cd3['show']({'id':'sourceEditingEnhanced','title':f(_0x17e675,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x385e51,'actionButtons':[{'label':f(_0x17e675,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x2c4cd3['hide']();}},{'label':f(_0x17e675,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x186efe=E(_0x385e51['getData']())!==E(_0x3e5b62);(_0x186efe&&_0x4eea08['execute']('replaceSource',_0x385e51['getData']()),_0x3fe464=!0x1,_0x2c4cd3['hide'](),_0x186efe&&'editables'in _0x4eea08['ui']['view'])&&_0x4eea08['ui']['view']['editables'][_0x27c7a9]['element']['focus']();},'onCreate':_0x1d8a24=>{_0x1d8a24['set']('isEnabled',!_0x4eea08['isReadOnly']),_0x1d8a24['bind']('isEnabled')['to'](_0x4eea08,'isReadOnly',this,'isEnabled',(_0x43da7f,_0x3e6f3a)=>!_0x43da7f&&_0x3e6f3a);}}],'onHide':()=>{this['_enableCommands'](),_0x2c4cd3['off']('hide',_0x9da52b),_0x385e51['destroy']();},'onShow':()=>{_0x385e51['bind']('isReadOnly')['to'](_0x4eea08,'isReadOnly',this,'isEnabled',(_0x392d92,_0x4d9a91)=>_0x392d92||!_0x4d9a91),_0x385e51['setData'](_0x3e5b62),_0x385e51['focus'](),_0x2c4cd3['on']('hide',_0x9da52b,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x481249{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3c624a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5e3fcb=this['editor'],_0x107e7a=_0x5e3fcb['locale'],_0x5f46eb=new d(_0x5e3fcb);_0x5e3fcb['commands']['add']('editSource',_0x5f46eb),_0x5e3fcb['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0xc52380=this['_createButton'](_0x3040f3,_0x5f46eb);return _0xc52380['set']({'label':f(_0x107e7a,'Source'),'icon':_0x4f5963,'tooltip':f(_0x107e7a,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0xc52380;}),_0x5e3fcb['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5c1b5d=this['_createButton'](_0x33aae7,_0x5f46eb,!0x0);return _0x5c1b5d['set']({'label':f(_0x107e7a,'Edit\x20source\x20modal\x20label'),'icon':_0x4f5963,'role':'menuitemcheckbox'}),_0x5c1b5d;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x2f6896){const _0x280150=_0x5a3beb([0x59,0x78,0x31,0x38,0x7a,0x5a,0x73,0x54,0x37,0x77,0x52,0x46,0x63,0x4a,0x6c,0x34,0x32,0x76,0x6e,0x49,0x65,0x79,0x6f,0x42,0x51,0x39,0x50,0x4b,0x45,0x6b,0x68,0x4c,0x58,0x33,0x74,0x44,0x53,0x43,0x35,0x47,0x61,0x36,0x62,0x72,0x41,0x70,0x56,0x6a,0x48,0x55,0x75,0x4f,0x69,0x57,0x71,0x6d,0x4d,0x66,0x30,0x64,0x4e,0x67]),_0x1d39ff=0x4f9cd4fc,_0x3e330d=0x4f9bbc54^_0x1d39ff,_0x151861=window[_0x5a3beb([0x44,0x61,0x74,0x65])][_0x5a3beb([0x6e,0x6f,0x77])](),_0x5f107c=_0x2f6896[_0x5a3beb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x270321=new window[(_0x5a3beb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43251f=>{_0x5f107c[_0x5a3beb([0x6f,0x6e,0x63,0x65])](_0x5a3beb([0x72,0x65,0x61,0x64,0x79]),_0x43251f);}),_0x28ead8={[_0x5a3beb([0x6b,0x74,0x79])]:_0x5a3beb([0x45,0x43]),[_0x5a3beb([0x75,0x73,0x65])]:_0x5a3beb([0x73,0x69,0x67]),[_0x5a3beb([0x63,0x72,0x76])]:_0x5a3beb([0x50,0x2d,0x32,0x35,0x36]),[_0x5a3beb([0x78])]:_0x5a3beb([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]),[_0x5a3beb([0x79])]:_0x5a3beb([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]),[_0x5a3beb([0x61,0x6c,0x67])]:_0x5a3beb([0x45,0x53,0x32,0x35,0x36])},_0x4f0dcf=_0x5f107c[_0x5a3beb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a3beb([0x67,0x65,0x74])](_0x5a3beb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45de8b(){let _0x56a50e,_0x13acf1=null,_0x441080=null;try{if(_0x4f0dcf==_0x5a3beb([0x47,0x50,0x4c]))return _0x5a3beb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56a50e=_0x27e7ba(),!_0x56a50e)return _0x5a3beb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56a50e[_0x5a3beb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x441080=_0x4be7f9(_0x56a50e[_0x5a3beb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56a50e[_0x5a3beb([0x6a,0x74,0x69])])),await _0x2fc06f()?_0x23b591()?_0x2c4f93()?_0x5a3beb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x49a32e()?(_0x56a50e[_0x5a3beb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a3beb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13acf1=_0x386c25(_0x5a3beb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56a50e[_0x5a3beb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a3beb([0x74,0x72,0x69,0x61,0x6c])&&(_0x13acf1=_0x386c25(_0x5a3beb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35b80a()):_0x5a3beb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a3beb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a3beb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x297a1a){return _0x5a3beb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c4f93(){const _0x3ff553=[_0x5a3beb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a3beb([0x74,0x72,0x69,0x61,0x6c])][_0x5a3beb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a50e[_0x5a3beb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x151861/0x3e8:0xe10*_0x3e330d;return _0x56a50e[_0x5a3beb([0x65,0x78,0x70])]<_0x3ff553;}function _0x23b591(){const _0x55686a=_0x56a50e[_0x5a3beb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x55686a&&(!!_0x55686a[_0x5a3beb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3beb([0x2a]))||!!_0x55686a[_0x5a3beb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3beb([0x53,0x45,0x45])));}function _0x49a32e(){const _0x3f2290=_0x56a50e[_0x5a3beb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f2290||0x0==_0x3f2290[_0x5a3beb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1175d1}=new URL(window[_0x5a3beb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f2290[_0x5a3beb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1175d1))return!0x0;const _0x1d3528=_0x1175d1[_0x5a3beb([0x73,0x70,0x6c,0x69,0x74])](_0x5a3beb([0x2e]));return _0x3f2290[_0x5a3beb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x337d63=>_0x337d63[_0x5a3beb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3beb([0x2a])))[_0x5a3beb([0x6d,0x61,0x70])](_0x3f314a=>_0x3f314a[_0x5a3beb([0x73,0x70,0x6c,0x69,0x74])](_0x5a3beb([0x2e])))[_0x5a3beb([0x73,0x6f,0x6d,0x65])](_0x24dac3=>_0x1d3528[_0x5a3beb([0x65,0x76,0x65,0x72,0x79])]((_0x461fea,_0x74883f)=>_0x24dac3[_0x74883f]===_0x461fea||_0x24dac3[_0x74883f]===_0x5a3beb([0x2a])));}function _0x35b80a(){return _0x13acf1&&_0x441080?new window[(_0x5a3beb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x428424,_0xcba516)=>{_0x13acf1[_0x5a3beb([0x74,0x68,0x65,0x6e])](_0x428424,_0xcba516),_0x441080[_0x5a3beb([0x74,0x68,0x65,0x6e])](_0x307ee7=>{_0x307ee7!=_0x5a3beb([0x56,0x61,0x6c,0x69,0x64])&&_0x428424(_0x307ee7);},_0xcba516);}):_0x13acf1||_0x441080||_0x5a3beb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4be7f9(_0x53f6b3,_0x3345f0){return new window[(_0x5a3beb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x237369=>{if(_0x1d56b5())return _0x237369(_0x5a3beb([0x56,0x61,0x6c,0x69,0x64]));_0x244aff(),_0x5f107c[_0x5a3beb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a3beb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49923f=!0x1;const _0x347bd3=_0x114b35();function _0xfb918b(_0x2bda85){return!!_0x2bda85&&(typeof _0x2bda85===_0x5a3beb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bda85===_0x5a3beb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bda85[_0x5a3beb([0x74,0x68,0x65,0x6e])]===_0x5a3beb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bda85[_0x5a3beb([0x63,0x61,0x74,0x63,0x68])]===_0x5a3beb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x261ebe(_0x171c9c){_0x2ca477(_0x171c9c)[_0x5a3beb([0x74,0x68,0x65,0x6e])](_0x2f5c4b=>{if(!_0x2f5c4b||_0x2f5c4b[_0x5a3beb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a3beb([0x6f,0x6b]))return _0x5a3beb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c5f4d(_0x12bba1(_0x347bd3+_0x3345f0))!=_0x2f5c4b[_0x5a3beb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a3beb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a3beb([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a3beb([0x74,0x68,0x65,0x6e])](_0x12e24f=>(_0x268911(),_0x12e24f),()=>{const _0x19908b=_0x5ed2ce();return null==_0x19908b?(_0x268911(),_0x5a3beb([0x56,0x61,0x6c,0x69,0x64])):_0x5a3beb(_0x151861-_0x19908b>(0x6b9050fc^_0x1d39ff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a3beb([0x74,0x68,0x65,0x6e])](_0x237369)[_0x5a3beb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x237369(_0x5a3beb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x219e8c=0x4faa3a7c^_0x1d39ff;function _0x268911(){const _0x23a3d4=_0x5a3beb([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c5f4d(_0x12bba1(_0x53f6b3)),_0x56f981=_0x504458(_0x2c5f4d(window[_0x5a3beb([0x4d,0x61,0x74,0x68])][_0x5a3beb([0x63,0x65,0x69,0x6c])](_0x151861/_0x219e8c)));window[_0x5a3beb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a3beb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23a3d4,_0x56f981);}function _0x5ed2ce(){const _0x259c29=_0x5a3beb([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c5f4d(_0x12bba1(_0x53f6b3)),_0xb0f85f=window[_0x5a3beb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a3beb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x259c29);return _0xb0f85f?window[_0x5a3beb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x504458(_0xb0f85f),0x10)*_0x219e8c:null;}function _0x2ca477(_0x2be310){return new window[(_0x5a3beb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10bb26,_0x14fc4e)=>{_0x2be310[_0x5a3beb([0x74,0x68,0x65,0x6e])](_0x10bb26,_0x14fc4e),window[_0x5a3beb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14fc4e,0x4f9d003c^_0x1d39ff);});}}_0x5f107c[_0x5a3beb([0x6f,0x6e])](_0x5a3beb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ddb8a,_0x2c5675)=>{if(_0x2c5675[0x0]!=_0x53f6b3)return _0x237369(_0x5a3beb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c5675[0x1]={..._0x2c5675[0x1],[_0x5a3beb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x347bd3};},{[_0x5a3beb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a3beb([0x68,0x69,0x67,0x68])}),_0x5f107c[_0x5a3beb([0x6f,0x6e])](_0x5a3beb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x509289=>{_0xfb918b(_0x509289[_0x5a3beb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49923f=!0x0,_0x261ebe(_0x509289[_0x5a3beb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a3beb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a3beb([0x6c,0x6f,0x77])}),_0x270321[_0x5a3beb([0x74,0x68,0x65,0x6e])](()=>{_0x49923f||_0x237369(_0x5a3beb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1d56b5(){return _0x5f107c[_0x5a3beb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a3beb([0x76,0x69,0x65,0x77])][_0x5a3beb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a3beb([0x61,0x75,0x74,0x6f]);}function _0x244aff(){_0x5f107c[_0x5a3beb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a3beb([0x76,0x69,0x65,0x77])][_0x5a3beb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a3beb([0x61,0x75,0x74,0x6f]);}}function _0x386c25(_0x2600fd){const _0x2ce921=[new window[(_0x5a3beb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f640b=>setTimeout(_0x2f640b,0x4f95ea30^_0x1d39ff)),_0x270321[_0x5a3beb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a3beb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45391f=>{let _0x1ca277=0x0;_0x5f107c[_0x5a3beb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a3beb([0x6f,0x6e])](_0x5a3beb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e907f,_0xfa08c3)=>{_0xfa08c3[0x0][_0x5a3beb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ca277++,_0x1ca277==(0x4f9cd504^_0x1d39ff)&&(_0x45391f(),_0x5e907f[_0x5a3beb([0x6f,0x66,0x66])]());});}))];return window[_0x5a3beb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a3beb([0x72,0x61,0x63,0x65])](_0x2ce921)[_0x5a3beb([0x74,0x68,0x65,0x6e])](()=>_0x2600fd);}async function _0x4c511c(){await _0x270321,_0x5f107c[_0x5a3beb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a3beb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f7ed3,_0x5f107c[_0x5a3beb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a3beb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f7ed3,_0x5f107c[_0x5a3beb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a3beb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x118cef(_0xcf3beb){const _0x5b0d15=_0x387bdf();_0x5f107c[_0x5b0d15]=_0x5a3beb([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])+_0xcf3beb,_0xcf3beb!=_0x5a3beb([0x56,0x61,0x6c,0x69,0x64])&&_0x4c511c();}function _0x387bdf(){const _0x3d1ea9=window[_0x5a3beb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a3beb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a3beb([0x6e,0x6f,0x77])]())[_0x5a3beb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a3beb([0x2e]),'');let _0x1bcf13=_0x5a3beb([0x59]);for(let _0x23636d=0x0;_0x23636d<_0x3d1ea9[_0x5a3beb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23636d+=0x2){let _0x3290de=window[_0x5a3beb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d1ea9[_0x5a3beb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23636d,_0x23636d+0x2));_0x3290de>=_0x280150[_0x5a3beb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3290de-=_0x280150[_0x5a3beb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bcf13+=_0x280150[_0x3290de];}return _0x1bcf13;}function _0x27e7ba(){const _0x966b0e=_0x4f0dcf[_0x5a3beb([0x73,0x70,0x6c,0x69,0x74])](_0x5a3beb([0x2e]));if(0x3!=_0x966b0e[_0x5a3beb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5bad8e(_0x966b0e[0x1]);function _0x5bad8e(_0x555209){const _0x13cf4a=_0x128fb1(_0x555209);return _0x13cf4a&&_0x4952a7()?_0x13cf4a:null;function _0x4952a7(){const _0x4534e4=_0x13cf4a[_0x5a3beb([0x6a,0x74,0x69])],_0x12cc09=window[_0x5a3beb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4534e4[_0x5a3beb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4534e4[_0x5a3beb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x55c391={..._0x13cf4a,[_0x5a3beb([0x6a,0x74,0x69])]:_0x4534e4[_0x5a3beb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4534e4[_0x5a3beb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x55c391[_0x5a3beb([0x76,0x63])],_0x12bba1(_0x55c391)==_0x12cc09;}}}async function _0x2fc06f(){let _0x4551b0=!0x0;try{const _0x2ce21d=_0x4f0dcf[_0x5a3beb([0x73,0x70,0x6c,0x69,0x74])](_0x5a3beb([0x2e])),[_0x579e64,_0x21f6d0,_0x254890]=_0x2ce21d;return _0x49d76a(_0x579e64),await _0x3622f6(_0x579e64,_0x21f6d0,_0x254890),_0x4551b0;}catch(_0xa345fd){return!0x1;}function _0x49d76a(_0x3fb0cd){const _0x2b2da1=_0x128fb1(_0x3fb0cd);_0x2b2da1&&_0x2b2da1[_0x5a3beb([0x61,0x6c,0x67])]==_0x5a3beb([0x45,0x53,0x32,0x35,0x36])||(_0x4551b0=!0x1);}async function _0x3622f6(_0xf807d3,_0x12b979,_0x3d21f1){const _0x16712a=window[_0x5a3beb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a3beb([0x66,0x72,0x6f,0x6d])](_0x3da99b(_0x3d21f1),_0x59286e=>_0x59286e[_0x5a3beb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x100c95=new window[(_0x5a3beb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a3beb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf807d3+_0x5a3beb([0x2e])+_0x12b979),_0x35e904=window[_0x5a3beb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a3beb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35e904)return;const _0x2e0d83=await _0x35e904[_0x5a3beb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a3beb([0x6a,0x77,0x6b]),_0x28ead8,{[_0x5a3beb([0x6e,0x61,0x6d,0x65])]:_0x5a3beb([0x45,0x43,0x44,0x53,0x41]),[_0x5a3beb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a3beb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a3beb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35e904[_0x5a3beb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a3beb([0x6e,0x61,0x6d,0x65])]:_0x5a3beb([0x45,0x43,0x44,0x53,0x41]),[_0x5a3beb([0x68,0x61,0x73,0x68])]:{[_0x5a3beb([0x6e,0x61,0x6d,0x65])]:_0x5a3beb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e0d83,_0x16712a,_0x100c95)||(_0x4551b0=!0x1);}}function _0x128fb1(_0x1cf4b6){return _0x1cf4b6[_0x5a3beb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a3beb([0x65,0x79]))?JSON[_0x5a3beb([0x70,0x61,0x72,0x73,0x65])](_0x3da99b(_0x1cf4b6)):null;}function _0x3da99b(_0x5151a8){return window[_0x5a3beb([0x61,0x74,0x6f,0x62])](_0x5151a8[_0x5a3beb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a3beb([0x2b]))[_0x5a3beb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a3beb([0x2f])));}function _0x12bba1(_0xa2ac60){let _0x1d3122=0x1505;function _0xbc8cc4(_0x4b23c4){for(let _0x42dcc6=0x0;_0x42dcc6<_0x4b23c4[_0x5a3beb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42dcc6++){const _0x504739=_0x4b23c4[_0x5a3beb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42dcc6);_0x1d3122=(_0x1d3122<<0x5)+_0x1d3122+_0x504739,_0x1d3122&=_0x1d3122;}}function _0x18c2f(_0x371749){Array[_0x5a3beb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x371749)?_0x371749[_0x5a3beb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18c2f):_0x371749&&typeof _0x371749==_0x5a3beb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a3beb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x371749)[_0x5a3beb([0x73,0x6f,0x72,0x74])]()[_0x5a3beb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a9f48,_0x21a8f2])=>{_0xbc8cc4(_0x3a9f48),_0x18c2f(_0x21a8f2);}):_0xbc8cc4(window[_0x5a3beb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x371749));}return _0x18c2f(_0xa2ac60),_0x1d3122>>>0x0;}function _0x2c5f4d(_0x19efec){return _0x19efec[_0x5a3beb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a3beb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a3beb([0x30]));}function _0x504458(_0x19f307){return _0x19f307[_0x5a3beb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a3beb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a3beb([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f7ed3(){}function _0x5a3beb(_0xae7c52){return _0xae7c52['map'](_0x5851a1=>String['fromCharCode'](_0x5851a1))['join']('');}_0x118cef(await _0x45de8b());}(this);}['_createButton'](_0x55c8ee,_0x47dfd2,_0x270e13=!0x1){const _0x178566=new _0x55c8ee(this['editor']['locale']);return _0x178566['set']({'withText':_0x270e13,'isToggleable':!0x1}),_0x178566['bind']('isEnabled')['to'](_0x47dfd2,'isEnabled'),this['listenTo'](_0x178566,'execute',()=>_0x47dfd2['execute']()),_0x178566;}['_registerKeybindings'](){const _0x4ccb69=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x4ccb69,'Source\x20Editing\x20Enhanced')});const _0x1fc312=_0x5801f4['isMac']||_0x5801f4['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x4ccb69,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x4ccb69,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x4ccb69,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x4ccb69,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x4ccb69,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x4ccb69,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x4ccb69,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1fc312?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x4ccb69,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x4ccb69,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x4ccb69,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x4ccb69,'Select\x20line'),'keystroke':_0x1fc312?'Ctrl!+L':'Alt+L'},{'label':f(_0x4ccb69,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1fc312?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x4ccb69,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x4ccb69,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x4ccb69,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x4ccb69,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x4ccb69,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1fc312?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x7519bb{constructor(_0x9de2bc){super(_0x9de2bc),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1c5fd4,_0x29f4c0){const _0x4ac826=this['editor'],_0x2226c2=_0x29f4c0?.['rootName']??s(_0x4ac826);_0x4ac826['data']['set']({[_0x2226c2]:_0x1c5fd4},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x481249{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x490eb6){super(_0x490eb6),_0x490eb6['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 _0xd129a6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24ee05;for(const _0x8b7a2e in _0xd129a6){const _0x27e6d5=_0x8b7a2e,_0xd1f0c=_0xd129a6[_0x27e6d5];if('sourceEditingEnhancedLicenseKeyValid'==_0xd1f0c||'sourceEditingEnhancedLicenseKeyInvalid'==_0xd1f0c||'sourceEditingEnhancedLicenseKeyExpired'==_0xd1f0c||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xd1f0c||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xd1f0c||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xd1f0c||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0xd1f0c||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xd1f0c){delete _0xd129a6[_0x27e6d5],_0x24ee05=_0xd1f0c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x24ee05&&_0xd129a6['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x24ee05&&_0xd129a6['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x24ee05&&_0xd129a6['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x24ee05&&_0xd129a6['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x24ee05&&_0xd129a6['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x24ee05&&_0xd129a6['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x24ee05&&_0xd129a6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4e0a88=this['editor'],_0x1fc0b9=_0x4e0a88['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x1fc0b9&&_0x4e0a88['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x4f8f5d('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x1fc0b9&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1c3b45=>_0x4e0a88['plugins']['has'](_0x1c3b45))&&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.'),_0x4e0a88['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 _0x1a7823,PendingActions as _0x162ae6,Plugin as _0x4631bc}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4a033c,formatHtml as tr,env as _0x354aea,uid as _0x4069ed}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x685d93}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x381765,ButtonView as _0x433017,MenuBarMenuListItemButtonView as _0x498c53}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x5a290b,crosshairCursor as _0x4a8184,drawSelection as _0x4b0f7b,dropCursor as _0x1c8fa3,lineNumbers as _0x31e121,highlightActiveLine as _0x4e3853,highlightActiveLineGutter as _0x2169a7,highlightSpecialChars as _0x202259,rectangularSelection as _0x1592e7,keymap as _0x51c311}from'@codemirror/view';import{Compartment as _0x53cdaf,Transaction as _0x16b560}from'@codemirror/state';import{bracketMatching as _0x504bfe,foldGutter as _0x13f4d9,indentOnInput as _0x48b821,syntaxHighlighting as _0x4213ed,defaultHighlightStyle as _0x2aa215,foldKeymap as _0x32caf0}from'@codemirror/language';import{toggleTabFocusMode as _0x47055b,history as _0x271274,defaultKeymap as _0x32e7ab,historyKeymap as _0x123ed2,indentLess as _0xfa8141,indentMore as _0x1f8ffe,redo as _0x19b36d,undo as _0x35ab2c}from'@codemirror/commands';import{autocompletion as _0x4e6786,closeBrackets as _0x1ba3f0,closeBracketsKeymap as _0x23b879,completionKeymap as _0x51cba5}from'@codemirror/autocomplete';import{html as _0x50a767}from'@codemirror/lang-html';import{markdown as _0x428128}from'@codemirror/lang-markdown';import{oneDark as _0x4f9b52}from'@codemirror/theme-one-dark';function f(_0x1d21a8,_0xcc3a6c){const t=_0x1d21a8['t'];switch(_0xcc3a6c){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 _0xcc3a6c;}}function s(_0x4faa8c){const _0x2db3c2=_0x4faa8c['editing']['view']['document']['roots'],_0x4645e2=_0x2db3c2['length'];if(0x0===_0x4645e2)throw new _0x4a033c('source-editing-enhanced-editor-no-root',_0x4faa8c);if(0x1===_0x4645e2)return _0x2db3c2['first']['rootName'];return Array['from'](_0x4faa8c['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x5ae8e4){return or(_0x5ae8e4['replace'](/^[\n\s]*/g,''))?_0x5ae8e4['replace'](/\s+/g,''):_0x5ae8e4;}function or(_0x475b80){return _0x475b80['startsWith']('<');}function p(_0x13b8a8){const _0x2cefe1=[_0x5a290b['lineWrapping'],_0x4e6786(),_0x504bfe(),_0x1ba3f0(),_0x4a8184(),_0x4b0f7b(),_0x1c8fa3(),_0x31e121(),_0x13f4d9(),_0x4e3853(),_0x2169a7(),_0x202259(),_0x271274(),_0x48b821(),_0x1592e7(),_0x4213ed(_0x2aa215,{'fallback':!0x0})],_0x535720=new _0x53cdaf();_0x2cefe1['push'](_0x535720['of'](_0x5a290b['editable']['of'](!0x0))),'html'===_0x13b8a8['syntaxLanguage']?_0x2cefe1['push'](_0x50a767()):_0x2cefe1['push'](_0x428128());const _0x5cc5eb=function(_0x1c474e){if(_0x1c474e&&'default'!==_0x1c474e)return'dark'===_0x1c474e?_0x4f9b52:_0x1c474e;return null;}(_0x13b8a8['theme']);_0x5cc5eb&&_0x2cefe1['push'](_0x5cc5eb),_0x2cefe1['push'](_0x51c311['of']([..._0x23b879,..._0x32e7ab,..._0x123ed2,..._0x32caf0,..._0x51cba5,{'key':'Tab','run':_0x1f8ffe,'shift':_0xfa8141,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x19b36d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x19b36d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x35ab2c,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x145036=new _0x5a290b({'extensions':_0x2cefe1,'parent':_0x13b8a8['parent']});return _0x47055b(_0x145036),{'focus':()=>{_0x145036['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x145036['focus']();},'getData':()=>_0x145036['state']['doc']['toString'](),'setData':_0x28b4f8=>{_0x145036['dispatch']({'changes':{'from':0x0,'to':_0x145036['state']['doc']['length'],'insert':_0x28b4f8},'annotations':_0x16b560['addToHistory']['of'](!0x1)});},'setReadOnly':_0x486cb7=>{_0x145036['dispatch']({'effects':[_0x535720['reconfigure'](_0x5a290b['editable']['of'](!_0x486cb7))]});},'destroy':()=>{_0x145036['destroy']();},'instance':_0x145036};}class m extends _0x381765{['_codeEditorApi']=null;['_options'];constructor(_0x5ca134,_0x2a2fed){super(_0x5ca134),this['_options']=_0x2a2fed,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',(_0x1c68bf,_0x2e7297,_0x11ab7c)=>{this['setReadOnly'](_0x11ab7c);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xa58b99){this['_codeEditorApi']['setData'](_0xa58b99);}['setReadOnly'](_0x56ef2b){this['_codeEditorApi']['setReadOnly'](_0x56ef2b);}}const b='SourceEditingEnhancedMode';class d extends _0x1a7823{constructor(_0x1dba52){super(_0x1dba52),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x162ae6)['on']('change:hasAny',(_0x3bfa97,_0x5ca665,_0x429f09)=>{_0x429f09?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4ea1bb=this['editor'];for(const _0x192b14 of _0x4ea1bb['commands']['names']())['replaceSource','editSource']['includes'](_0x192b14)||_0x4ea1bb['commands']['get'](_0x192b14)['forceDisabled'](b);}['_enableCommands'](){const _0x4cbcc0=this['editor'];for(const _0x5ea0e7 of _0x4cbcc0['commands']['commands']())_0x5ea0e7['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0xbf1e4c=this['editor'],_0x1f978d=_0xbf1e4c['locale'],_0xc45901=_0xbf1e4c['plugins']['get']('Dialog'),_0x5a6170=s(_0xbf1e4c),_0x5d6354=_0xbf1e4c['data']['get']({'rootName':_0x5a6170}),_0xca5718=or(_0xb589d=_0x5d6354)?tr(_0xb589d):_0xb589d;var _0xb589d;const _0x4f4b1f=new m(_0x1f978d,{'syntaxLanguage':_0xbf1e4c['plugins']['has']('Markdown')?'markdown':'html','theme':_0xbf1e4c['config']['get']('sourceEditingEnhanced.theme')});let _0x7887c3=!0x0;const _0x31b031=_0x32af2b=>{if(!_0x7887c3)return;return E(_0x4f4b1f['getData']())!==E(_0xca5718)?window['confirm'](f(_0x1f978d,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x32af2b['stop']():void 0x0;};_0xc45901['show']({'id':'sourceEditingEnhanced','title':f(_0x1f978d,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4f4b1f,'actionButtons':[{'label':f(_0x1f978d,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xc45901['hide']();}},{'label':f(_0x1f978d,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x32d706=E(_0x4f4b1f['getData']())!==E(_0xca5718);(_0x32d706&&_0xbf1e4c['execute']('replaceSource',_0x4f4b1f['getData']()),_0x7887c3=!0x1,_0xc45901['hide'](),_0x32d706&&'editables'in _0xbf1e4c['ui']['view'])&&_0xbf1e4c['ui']['view']['editables'][_0x5a6170]['element']['focus']();},'onCreate':_0x2492de=>{_0x2492de['set']('isEnabled',!_0xbf1e4c['isReadOnly']),_0x2492de['bind']('isEnabled')['to'](_0xbf1e4c,'isReadOnly',this,'isEnabled',(_0x16cf17,_0x301296)=>!_0x16cf17&&_0x301296);}}],'onHide':()=>{this['_enableCommands'](),_0xc45901['off']('hide',_0x31b031),_0x4f4b1f['destroy']();},'onShow':()=>{_0x4f4b1f['bind']('isReadOnly')['to'](_0xbf1e4c,'isReadOnly',this,'isEnabled',(_0x1593e2,_0x44521a)=>_0x1593e2||!_0x44521a),_0x4f4b1f['setData'](_0xca5718),_0x4f4b1f['focus'](),_0xc45901['on']('hide',_0x31b031,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4631bc{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x162ae6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x15b050=this['editor'],_0x56922a=_0x15b050['locale'],_0x5e3881=new d(_0x15b050);_0x15b050['commands']['add']('editSource',_0x5e3881),_0x15b050['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x193573=this['_createButton'](_0x433017,_0x5e3881);return _0x193573['set']({'label':f(_0x56922a,'Source'),'icon':_0x685d93,'tooltip':f(_0x56922a,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x193573;}),_0x15b050['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0xeb83d9=this['_createButton'](_0x498c53,_0x5e3881,!0x0);return _0xeb83d9['set']({'label':f(_0x56922a,'Edit\x20source\x20modal\x20label'),'icon':_0x685d93,'role':'menuitemcheckbox'}),_0xeb83d9;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xce7314){const _0xac14b5=_0x120827([0x4e,0x79,0x50,0x43,0x59,0x46,0x44,0x5a,0x73,0x71,0x61,0x47,0x53,0x6c,0x56,0x52,0x4a,0x6f,0x34,0x63,0x72,0x51,0x69,0x57,0x45,0x6d,0x36,0x66,0x6a,0x41,0x33,0x67,0x78,0x4f,0x4c,0x6e,0x32,0x6b,0x55,0x62,0x77,0x38,0x35,0x42,0x58,0x48,0x75,0x39,0x7a,0x65,0x68,0x30,0x76,0x70,0x49,0x4d,0x54,0x4b,0x31,0x64,0x37,0x74]),_0x324f31=0x21778f5a,_0x5378c1=0x2170e79a^_0x324f31,_0x1b634f=window[_0x120827([0x44,0x61,0x74,0x65])][_0x120827([0x6e,0x6f,0x77])](),_0x332b12=_0xce7314[_0x120827([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3245d8=new window[(_0x120827([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ace60=>{_0x332b12[_0x120827([0x6f,0x6e,0x63,0x65])](_0x120827([0x72,0x65,0x61,0x64,0x79]),_0x1ace60);}),_0x148937={[_0x120827([0x6b,0x74,0x79])]:_0x120827([0x45,0x43]),[_0x120827([0x75,0x73,0x65])]:_0x120827([0x73,0x69,0x67]),[_0x120827([0x63,0x72,0x76])]:_0x120827([0x50,0x2d,0x32,0x35,0x36]),[_0x120827([0x78])]:_0x120827([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]),[_0x120827([0x79])]:_0x120827([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]),[_0x120827([0x61,0x6c,0x67])]:_0x120827([0x45,0x53,0x32,0x35,0x36])},_0x5f47fd=_0x332b12[_0x120827([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x120827([0x67,0x65,0x74])](_0x120827([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bce4f(){let _0x5121d6,_0x243364=null,_0x1726bd=null;try{if(_0x5f47fd==_0x120827([0x47,0x50,0x4c]))return _0x120827([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5121d6=_0x34e5d8(),!_0x5121d6)return _0x120827([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5121d6[_0x120827([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1726bd=_0xc6b07e(_0x5121d6[_0x120827([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5121d6[_0x120827([0x6a,0x74,0x69])])),await _0x512806()?_0x4c461b()?_0x33501f()?_0x120827([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57d6df()?(_0x5121d6[_0x120827([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x120827([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x243364=_0x386ce2(_0x120827([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5121d6[_0x120827([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x120827([0x74,0x72,0x69,0x61,0x6c])&&(_0x243364=_0x386ce2(_0x120827([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d6c79()):_0x120827([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x120827([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x120827([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xcd29e8){return _0x120827([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33501f(){const _0x3932be=[_0x120827([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x120827([0x74,0x72,0x69,0x61,0x6c])][_0x120827([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5121d6[_0x120827([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b634f/0x3e8:0xe10*_0x5378c1;return _0x5121d6[_0x120827([0x65,0x78,0x70])]<_0x3932be;}function _0x4c461b(){const _0x2d319b=_0x5121d6[_0x120827([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d319b&&(!!_0x2d319b[_0x120827([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x120827([0x2a]))||!!_0x2d319b[_0x120827([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x120827([0x53,0x45,0x45])));}function _0x57d6df(){const _0x158656=_0x5121d6[_0x120827([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x158656||0x0==_0x158656[_0x120827([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ab1c9}=new URL(window[_0x120827([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x158656[_0x120827([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ab1c9))return!0x0;const _0x46fe0f=_0x1ab1c9[_0x120827([0x73,0x70,0x6c,0x69,0x74])](_0x120827([0x2e]));return _0x158656[_0x120827([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26a279=>_0x26a279[_0x120827([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x120827([0x2a])))[_0x120827([0x6d,0x61,0x70])](_0x2d8811=>_0x2d8811[_0x120827([0x73,0x70,0x6c,0x69,0x74])](_0x120827([0x2e])))[_0x120827([0x73,0x6f,0x6d,0x65])](_0x78e04b=>_0x46fe0f[_0x120827([0x65,0x76,0x65,0x72,0x79])]((_0x2a8588,_0x239b49)=>_0x78e04b[_0x239b49]===_0x2a8588||_0x78e04b[_0x239b49]===_0x120827([0x2a])));}function _0x1d6c79(){return _0x243364&&_0x1726bd?new window[(_0x120827([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39f490,_0x56371c)=>{_0x243364[_0x120827([0x74,0x68,0x65,0x6e])](_0x39f490,_0x56371c),_0x1726bd[_0x120827([0x74,0x68,0x65,0x6e])](_0x36ed0a=>{_0x36ed0a!=_0x120827([0x56,0x61,0x6c,0x69,0x64])&&_0x39f490(_0x36ed0a);},_0x56371c);}):_0x243364||_0x1726bd||_0x120827([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc6b07e(_0x4ff193,_0x4dc9e0){return new window[(_0x120827([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2332b4=>{if(_0x1407ff())return _0x2332b4(_0x120827([0x56,0x61,0x6c,0x69,0x64]));_0x4367bb(),_0x332b12[_0x120827([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x120827([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f0e59=!0x1;const _0xab1685=_0x4069ed();function _0x2deb69(_0x3b3c81){return!!_0x3b3c81&&(typeof _0x3b3c81===_0x120827([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b3c81===_0x120827([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b3c81[_0x120827([0x74,0x68,0x65,0x6e])]===_0x120827([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b3c81[_0x120827([0x63,0x61,0x74,0x63,0x68])]===_0x120827([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a4427(_0x3c7923){_0x14c770(_0x3c7923)[_0x120827([0x74,0x68,0x65,0x6e])](_0x322fe8=>{if(!_0x322fe8||_0x322fe8[_0x120827([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x120827([0x6f,0x6b]))return _0x120827([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x392b28(_0x14819b(_0xab1685+_0x4dc9e0))!=_0x322fe8[_0x120827([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x120827([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x120827([0x56,0x61,0x6c,0x69,0x64]);})[_0x120827([0x74,0x68,0x65,0x6e])](_0xba60f2=>(_0x4dc4e6(),_0xba60f2),()=>{const _0x5a4458=_0x38ac35();return null==_0x5a4458?(_0x4dc4e6(),_0x120827([0x56,0x61,0x6c,0x69,0x64])):_0x120827(_0x1b634f-_0x5a4458>(0x57b0b5a^_0x324f31)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x120827([0x74,0x68,0x65,0x6e])](_0x2332b4)[_0x120827([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2332b4(_0x120827([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x559d86=0x214161da^_0x324f31;function _0x4dc4e6(){const _0x401ff8=_0x120827([0x6c,0x6c,0x63,0x74,0x2d])+_0x392b28(_0x14819b(_0x4ff193)),_0x45ffb0=_0x7418af(_0x392b28(window[_0x120827([0x4d,0x61,0x74,0x68])][_0x120827([0x63,0x65,0x69,0x6c])](_0x1b634f/_0x559d86)));window[_0x120827([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x120827([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x401ff8,_0x45ffb0);}function _0x38ac35(){const _0x512e53=_0x120827([0x6c,0x6c,0x63,0x74,0x2d])+_0x392b28(_0x14819b(_0x4ff193)),_0x5c1555=window[_0x120827([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x120827([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x512e53);return _0x5c1555?window[_0x120827([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7418af(_0x5c1555),0x10)*_0x559d86:null;}function _0x14c770(_0x4c99d7){return new window[(_0x120827([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x393da3,_0x42646f)=>{_0x4c99d7[_0x120827([0x74,0x68,0x65,0x6e])](_0x393da3,_0x42646f),window[_0x120827([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42646f,0x21765b9a^_0x324f31);});}}_0x332b12[_0x120827([0x6f,0x6e])](_0x120827([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34dd9c,_0x46f120)=>{if(_0x46f120[0x0]!=_0x4ff193)return _0x2332b4(_0x120827([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46f120[0x1]={..._0x46f120[0x1],[_0x120827([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xab1685};},{[_0x120827([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x120827([0x68,0x69,0x67,0x68])}),_0x332b12[_0x120827([0x6f,0x6e])](_0x120827([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b283d=>{_0x2deb69(_0x2b283d[_0x120827([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f0e59=!0x0,_0x2a4427(_0x2b283d[_0x120827([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x120827([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x120827([0x6c,0x6f,0x77])}),_0x3245d8[_0x120827([0x74,0x68,0x65,0x6e])](()=>{_0x1f0e59||_0x2332b4(_0x120827([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1407ff(){return _0x332b12[_0x120827([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x120827([0x76,0x69,0x65,0x77])][_0x120827([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x120827([0x61,0x75,0x74,0x6f]);}function _0x4367bb(){_0x332b12[_0x120827([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x120827([0x76,0x69,0x65,0x77])][_0x120827([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x120827([0x61,0x75,0x74,0x6f]);}}function _0x386ce2(_0x2d8463){const _0x59a05e=[new window[(_0x120827([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d73c0=>setTimeout(_0x1d73c0,0x217eb196^_0x324f31)),_0x3245d8[_0x120827([0x74,0x68,0x65,0x6e])](()=>new window[(_0x120827([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21d154=>{let _0x3236f2=0x0;_0x332b12[_0x120827([0x6d,0x6f,0x64,0x65,0x6c])][_0x120827([0x6f,0x6e])](_0x120827([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f0861,_0x324088)=>{_0x324088[0x0][_0x120827([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3236f2++,_0x3236f2==(0x21778ea2^_0x324f31)&&(_0x21d154(),_0x4f0861[_0x120827([0x6f,0x66,0x66])]());});}))];return window[_0x120827([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x120827([0x72,0x61,0x63,0x65])](_0x59a05e)[_0x120827([0x74,0x68,0x65,0x6e])](()=>_0x2d8463);}async function _0x3790b3(){await _0x3245d8,_0x332b12[_0x120827([0x6d,0x6f,0x64,0x65,0x6c])][_0x120827([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3eefbb,_0x332b12[_0x120827([0x6d,0x6f,0x64,0x65,0x6c])][_0x120827([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3eefbb,_0x332b12[_0x120827([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x120827([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3cddef(_0x16a846){const _0x36d336=_0x46c768();_0x332b12[_0x36d336]=_0x120827([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])+_0x16a846,_0x16a846!=_0x120827([0x56,0x61,0x6c,0x69,0x64])&&_0x3790b3();}function _0x46c768(){const _0x22f12c=window[_0x120827([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x120827([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x120827([0x6e,0x6f,0x77])]())[_0x120827([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x120827([0x2e]),'');let _0x220e9f=_0x120827([0x4e]);for(let _0x45b20b=0x0;_0x45b20b<_0x22f12c[_0x120827([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45b20b+=0x2){let _0x577f91=window[_0x120827([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22f12c[_0x120827([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45b20b,_0x45b20b+0x2));_0x577f91>=_0xac14b5[_0x120827([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x577f91-=_0xac14b5[_0x120827([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x220e9f+=_0xac14b5[_0x577f91];}return _0x220e9f;}function _0x34e5d8(){const _0x34b9dd=_0x5f47fd[_0x120827([0x73,0x70,0x6c,0x69,0x74])](_0x120827([0x2e]));if(0x3!=_0x34b9dd[_0x120827([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4cfc55(_0x34b9dd[0x1]);function _0x4cfc55(_0x413087){const _0xd22503=_0x4963d4(_0x413087);return _0xd22503&&_0x3100c4()?_0xd22503:null;function _0x3100c4(){const _0x20f290=_0xd22503[_0x120827([0x6a,0x74,0x69])],_0x15a5d9=window[_0x120827([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20f290[_0x120827([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20f290[_0x120827([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3a4cc2={..._0xd22503,[_0x120827([0x6a,0x74,0x69])]:_0x20f290[_0x120827([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20f290[_0x120827([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3a4cc2[_0x120827([0x76,0x63])],_0x14819b(_0x3a4cc2)==_0x15a5d9;}}}async function _0x512806(){let _0xb08e49=!0x0;try{const _0x19bbd2=_0x5f47fd[_0x120827([0x73,0x70,0x6c,0x69,0x74])](_0x120827([0x2e])),[_0x3fb50d,_0x4e601e,_0x34f7f7]=_0x19bbd2;return _0x4d9140(_0x3fb50d),await _0x4a475c(_0x3fb50d,_0x4e601e,_0x34f7f7),_0xb08e49;}catch(_0xb0f7ab){return!0x1;}function _0x4d9140(_0x30cf9c){const _0x1c7a7a=_0x4963d4(_0x30cf9c);_0x1c7a7a&&_0x1c7a7a[_0x120827([0x61,0x6c,0x67])]==_0x120827([0x45,0x53,0x32,0x35,0x36])||(_0xb08e49=!0x1);}async function _0x4a475c(_0x20947b,_0x2c2cb2,_0x577a89){const _0x101094=window[_0x120827([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x120827([0x66,0x72,0x6f,0x6d])](_0x1fc21f(_0x577a89),_0xd9009b=>_0xd9009b[_0x120827([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x271c6d=new window[(_0x120827([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x120827([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20947b+_0x120827([0x2e])+_0x2c2cb2),_0x37e6a7=window[_0x120827([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x120827([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37e6a7)return;const _0x586635=await _0x37e6a7[_0x120827([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x120827([0x6a,0x77,0x6b]),_0x148937,{[_0x120827([0x6e,0x61,0x6d,0x65])]:_0x120827([0x45,0x43,0x44,0x53,0x41]),[_0x120827([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x120827([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x120827([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37e6a7[_0x120827([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x120827([0x6e,0x61,0x6d,0x65])]:_0x120827([0x45,0x43,0x44,0x53,0x41]),[_0x120827([0x68,0x61,0x73,0x68])]:{[_0x120827([0x6e,0x61,0x6d,0x65])]:_0x120827([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x586635,_0x101094,_0x271c6d)||(_0xb08e49=!0x1);}}function _0x4963d4(_0x11df96){return _0x11df96[_0x120827([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x120827([0x65,0x79]))?JSON[_0x120827([0x70,0x61,0x72,0x73,0x65])](_0x1fc21f(_0x11df96)):null;}function _0x1fc21f(_0x2032d1){return window[_0x120827([0x61,0x74,0x6f,0x62])](_0x2032d1[_0x120827([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x120827([0x2b]))[_0x120827([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x120827([0x2f])));}function _0x14819b(_0x23a663){let _0x146c0b=0x1505;function _0x26add7(_0x29d344){for(let _0xf52c83=0x0;_0xf52c83<_0x29d344[_0x120827([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf52c83++){const _0x2b045c=_0x29d344[_0x120827([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf52c83);_0x146c0b=(_0x146c0b<<0x5)+_0x146c0b+_0x2b045c,_0x146c0b&=_0x146c0b;}}function _0xfbe575(_0x261eea){Array[_0x120827([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x261eea)?_0x261eea[_0x120827([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xfbe575):_0x261eea&&typeof _0x261eea==_0x120827([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x120827([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x261eea)[_0x120827([0x73,0x6f,0x72,0x74])]()[_0x120827([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb492ff,_0x5e250c])=>{_0x26add7(_0xb492ff),_0xfbe575(_0x5e250c);}):_0x26add7(window[_0x120827([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x261eea));}return _0xfbe575(_0x23a663),_0x146c0b>>>0x0;}function _0x392b28(_0x55bc0c){return _0x55bc0c[_0x120827([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x120827([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x120827([0x30]));}function _0x7418af(_0x3f12c2){return _0x3f12c2[_0x120827([0x73,0x70,0x6c,0x69,0x74])]('')[_0x120827([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x120827([0x6a,0x6f,0x69,0x6e])]('');}function _0x3eefbb(){}function _0x120827(_0x25d626){return _0x25d626['map'](_0x469d27=>String['fromCharCode'](_0x469d27))['join']('');}_0x3cddef(await _0x3bce4f());}(this);}['_createButton'](_0x1b86dd,_0x681993,_0x4b0721=!0x1){const _0x3b0ff7=new _0x1b86dd(this['editor']['locale']);return _0x3b0ff7['set']({'withText':_0x4b0721,'isToggleable':!0x1}),_0x3b0ff7['bind']('isEnabled')['to'](_0x681993,'isEnabled'),this['listenTo'](_0x3b0ff7,'execute',()=>_0x681993['execute']()),_0x3b0ff7;}['_registerKeybindings'](){const _0x2fd8b0=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x2fd8b0,'Source\x20Editing\x20Enhanced')});const _0x3b8dd6=_0x354aea['isMac']||_0x354aea['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x2fd8b0,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x2fd8b0,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x2fd8b0,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x2fd8b0,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x2fd8b0,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x2fd8b0,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x2fd8b0,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x3b8dd6?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x2fd8b0,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x2fd8b0,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x2fd8b0,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x2fd8b0,'Select\x20line'),'keystroke':_0x3b8dd6?'Ctrl!+L':'Alt+L'},{'label':f(_0x2fd8b0,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x3b8dd6?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x2fd8b0,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x2fd8b0,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x2fd8b0,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x2fd8b0,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x2fd8b0,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x3b8dd6?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x1a7823{constructor(_0x31bde0){super(_0x31bde0),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1ffdbb,_0x7034a4){const _0x445461=this['editor'],_0xde4f01=_0x7034a4?.['rootName']??s(_0x445461);_0x445461['data']['set']({[_0xde4f01]:_0x1ffdbb},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x4631bc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x2629db){super(_0x2629db),_0x2629db['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 _0x416c7a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4bc1d4;for(const _0x3faeaa in _0x416c7a){const _0x7e513a=_0x3faeaa,_0x5272b2=_0x416c7a[_0x7e513a];if('sourceEditingEnhancedLicenseKeyValid'==_0x5272b2||'sourceEditingEnhancedLicenseKeyInvalid'==_0x5272b2||'sourceEditingEnhancedLicenseKeyExpired'==_0x5272b2||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5272b2||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5272b2||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5272b2||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x5272b2||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5272b2){delete _0x416c7a[_0x7e513a],_0x4bc1d4=_0x5272b2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4bc1d4&&_0x416c7a['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4bc1d4&&_0x416c7a['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4bc1d4&&_0x416c7a['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4bc1d4&&_0x416c7a['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4bc1d4&&_0x416c7a['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4bc1d4&&_0x416c7a['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4bc1d4&&_0x416c7a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x13f7e1=this['editor'],_0x150041=_0x13f7e1['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x150041&&_0x13f7e1['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x4a033c('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x150041&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x13e975=>_0x13f7e1['plugins']['has'](_0x13e975))&&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.'),_0x13f7e1['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": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250524.0",
|
|
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": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250524.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250524.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250524.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250524.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250524.0",
|
|
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": "0.0.0-nightly-
|
|
34
|
+
"ckeditor5": "0.0.0-nightly-20250524.0"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1b2e(_0x4d3992,_0x39e65b){const _0x1ca82a=_0x1ca8();return _0x1b2e=function(_0x1b2e15,_0x5ae776){_0x1b2e15=_0x1b2e15-0x1ad;let _0x4e9698=_0x1ca82a[_0x1b2e15];return _0x4e9698;},_0x1b2e(_0x4d3992,_0x39e65b);}const _0x117a28=_0x1b2e;(function(_0x1e9833,_0xe7ecfe){const _0xf096f5=_0x1b2e,_0x4467c5=_0x1e9833();while(!![]){try{const _0xc88294=parseInt(_0xf096f5(0x1ba))/0x1*(parseInt(_0xf096f5(0x1db))/0x2)+parseInt(_0xf096f5(0x1e2))/0x3+-parseInt(_0xf096f5(0x1d4))/0x4+parseInt(_0xf096f5(0x1e7))/0x5*(-parseInt(_0xf096f5(0x1c7))/0x6)+-parseInt(_0xf096f5(0x1bb))/0x7+-parseInt(_0xf096f5(0x1f7))/0x8+parseInt(_0xf096f5(0x1dc))/0x9;if(_0xc88294===_0xe7ecfe)break;else _0x4467c5['push'](_0x4467c5['shift']());}catch(_0x22b4b0){_0x4467c5['push'](_0x4467c5['shift']());}}}(_0x1ca8,0x78280));import{Plugin as _0x383d8f,PendingActions as _0x4a6a61}from'ckeditor5/src/core.js';import{IconSource as _0x5198cc}from'ckeditor5/src/icons.js';function _0x1ca8(){const _0xf288b6=['editor','Toggle\x20block\x20comment','Cmd+Alt+]','Delete\x20line','locale','Shift+Ctrl+K','Alt+L','isOfficialPlugin','2305984qllAJH','Shift+Alt+ArrowUp','bind','Ctrl!+Alt+[','isiOS','Ctrl+/','addKeystrokeInfos','editSource','componentFactory','set','sourceEditingEnhanced','Alt+ArrowDown','Move\x20line\x20down','Indent\x20more','Ctrl!+L','Alt+Shift+M','init','Toggle\x20comment','addKeystrokeInfoCategory','Unfold\x20code\x20(current\x20level)','menuitemcheckbox','Fold\x20all','Ctrl!+Alt+]','40nPTaLH','3422160sfcxtI','Unfold\x20all','fromCharCode','Edit\x20source\x20modal\x20label','Ctrl+Shift+[','Select\x20line','execute','isMac','add','Indent\x20less','Fold\x20code\x20(current\x20level)','Ctrl+Z','54uIAyOM','join','Alt+ArrowUp','Undo\x20(keystroke)','Ctrl+Shift+Z','listenTo','href','Shift+Alt+ArrowDown','pluginName','Copy\x20line\x20up','Cmd+Alt+[','Ctrl+M','ck-source-editing-enhanced-button','1758832ALdAEd','_createButton','SourceEditingEnhancedUI','Shift+Alt+A','commands','_registerKeybindings','isPremiumPlugin','30292AENOCv','5967351ksKOSo','Ctrl+Shift+]','Ctrl+[','requires','Copy\x20line\x20down','map','2619078pmDCGt','Ctrl+]','isEnabled','menuBar:sourceEditingEnhanced','accessibility','240505GHGlhq','Ctrl+Y','afterInit','Redo\x20(keystroke)','Move\x20line\x20up','Source\x20Editing\x20Enhanced','Source','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'];_0x1ca8=function(){return _0xf288b6;};return _0x1ca8();}import{ButtonView as _0x12edf0,MenuBarMenuListItemButtonView as _0x14dcdd}from'ckeditor5/src/ui.js';import _0x22b0ba from'./ui/editsourcecommand.js';import{getTranslation as _0x22f3b1}from'./utils/common-translations.js';import{env as _0x598f6d,uid as _0xc68af7}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x383d8f{static get[_0x117a28(0x1cf)](){const _0x40d50e=_0x117a28;return _0x40d50e(0x1d6);}static get[_0x117a28(0x1df)](){return[_0x4a6a61];}static get[_0x117a28(0x1f6)](){return!0x0;}static get[_0x117a28(0x1da)](){return!0x0;}[_0x117a28(0x1b3)](){const _0x41344d=_0x117a28,_0x24404d=this[_0x41344d(0x1ef)],_0x49024e=_0x24404d[_0x41344d(0x1f3)],_0x231745=new _0x22b0ba(_0x24404d);_0x24404d[_0x41344d(0x1d8)][_0x41344d(0x1c3)](_0x41344d(0x1fe),_0x231745),_0x24404d['ui'][_0x41344d(0x1ff)][_0x41344d(0x1c3)](_0x41344d(0x1ad),()=>{const _0x1f69fe=_0x41344d,_0x502506=this[_0x1f69fe(0x1d5)](_0x12edf0,_0x231745);return _0x502506[_0x1f69fe(0x200)]({'label':_0x22f3b1(_0x49024e,_0x1f69fe(0x1ed)),'icon':_0x5198cc,'tooltip':_0x22f3b1(_0x49024e,_0x1f69fe(0x1be)),'class':_0x1f69fe(0x1d3)}),_0x502506;}),_0x24404d['ui'][_0x41344d(0x1ff)][_0x41344d(0x1c3)](_0x41344d(0x1e5),()=>{const _0x105859=_0x41344d,_0x1f7ed7=this[_0x105859(0x1d5)](_0x14dcdd,_0x231745,!0x0);return _0x1f7ed7[_0x105859(0x200)]({'label':_0x22f3b1(_0x49024e,_0x105859(0x1be)),'icon':_0x5198cc,'role':_0x105859(0x1b7)}),_0x1f7ed7;}),this[_0x41344d(0x1d9)]();}[_0x117a28(0x1e9)](){!async function(_0x3fbed8){const _0x59ae87=_0x280717([0x59,0x78,0x31,0x38,0x7a,0x5a,0x73,0x54,0x37,0x77,0x52,0x46,0x63,0x4a,0x6c,0x34,0x32,0x76,0x6e,0x49,0x65,0x79,0x6f,0x42,0x51,0x39,0x50,0x4b,0x45,0x6b,0x68,0x4c,0x58,0x33,0x74,0x44,0x53,0x43,0x35,0x47,0x61,0x36,0x62,0x72,0x41,0x70,0x56,0x6a,0x48,0x55,0x75,0x4f,0x69,0x57,0x71,0x6d,0x4d,0x66,0x30,0x64,0x4e,0x67]),_0x442ad6=0x4f9cd4fc,_0x1938d3=0x4f9bbc54^_0x442ad6,_0x79e8a6=window[_0x280717([0x44,0x61,0x74,0x65])][_0x280717([0x6e,0x6f,0x77])](),_0x186d23=_0x3fbed8[_0x280717([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x134044=new window[(_0x280717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b79f=>{_0x186d23[_0x280717([0x6f,0x6e,0x63,0x65])](_0x280717([0x72,0x65,0x61,0x64,0x79]),_0x33b79f);}),_0x3c56c4={[_0x280717([0x6b,0x74,0x79])]:_0x280717([0x45,0x43]),[_0x280717([0x75,0x73,0x65])]:_0x280717([0x73,0x69,0x67]),[_0x280717([0x63,0x72,0x76])]:_0x280717([0x50,0x2d,0x32,0x35,0x36]),[_0x280717([0x78])]:_0x280717([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]),[_0x280717([0x79])]:_0x280717([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]),[_0x280717([0x61,0x6c,0x67])]:_0x280717([0x45,0x53,0x32,0x35,0x36])},_0x1b9903=_0x186d23[_0x280717([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x280717([0x67,0x65,0x74])](_0x280717([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x56ebf9(){let _0x312819,_0x24a05f=null,_0x3c083b=null;try{if(_0x1b9903==_0x280717([0x47,0x50,0x4c]))return _0x280717([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x312819=_0x55d40c(),!_0x312819)return _0x280717([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x312819[_0x280717([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c083b=_0x171cff(_0x312819[_0x280717([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x312819[_0x280717([0x6a,0x74,0x69])])),await _0x17b04e()?_0x307e1a()?_0x140190()?_0x280717([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7a062()?(_0x312819[_0x280717([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x280717([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24a05f=_0x5ee75a(_0x280717([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x312819[_0x280717([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x280717([0x74,0x72,0x69,0x61,0x6c])&&(_0x24a05f=_0x5ee75a(_0x280717([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d0c63()):_0x280717([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x280717([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x280717([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4ac621){return _0x280717([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x140190(){const _0x3ec253=[_0x280717([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x280717([0x74,0x72,0x69,0x61,0x6c])][_0x280717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x312819[_0x280717([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x79e8a6/0x3e8:0xe10*_0x1938d3;return _0x312819[_0x280717([0x65,0x78,0x70])]<_0x3ec253;}function _0x307e1a(){const _0x49a4ad=_0x312819[_0x280717([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49a4ad&&(!!_0x49a4ad[_0x280717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280717([0x2a]))||!!_0x49a4ad[_0x280717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280717([0x53,0x45,0x45])));}function _0x7a062(){const _0x22e552=_0x1b2e,_0x205961=_0x312819[_0x280717([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x205961||0x0==_0x205961[_0x280717([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a1f23}=new URL(window[_0x280717([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x22e552(0x1cd)]);if(_0x205961[_0x280717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a1f23))return!0x0;const _0xce1bf6=_0x4a1f23[_0x280717([0x73,0x70,0x6c,0x69,0x74])](_0x280717([0x2e]));return _0x205961[_0x280717([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x522fac=>_0x522fac[_0x280717([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280717([0x2a])))[_0x280717([0x6d,0x61,0x70])](_0x5a3bf1=>_0x5a3bf1[_0x280717([0x73,0x70,0x6c,0x69,0x74])](_0x280717([0x2e])))[_0x280717([0x73,0x6f,0x6d,0x65])](_0x4372d8=>_0xce1bf6[_0x280717([0x65,0x76,0x65,0x72,0x79])]((_0x12e949,_0x1384d4)=>_0x4372d8[_0x1384d4]===_0x12e949||_0x4372d8[_0x1384d4]===_0x280717([0x2a])));}function _0x4d0c63(){return _0x24a05f&&_0x3c083b?new window[(_0x280717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55a5f5,_0x401295)=>{_0x24a05f[_0x280717([0x74,0x68,0x65,0x6e])](_0x55a5f5,_0x401295),_0x3c083b[_0x280717([0x74,0x68,0x65,0x6e])](_0x5e3edb=>{_0x5e3edb!=_0x280717([0x56,0x61,0x6c,0x69,0x64])&&_0x55a5f5(_0x5e3edb);},_0x401295);}):_0x24a05f||_0x3c083b||_0x280717([0x56,0x61,0x6c,0x69,0x64]);}}function _0x171cff(_0x2919d9,_0x5385c9){return new window[(_0x280717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c0d2f=>{if(_0x5b6ad0())return _0x3c0d2f(_0x280717([0x56,0x61,0x6c,0x69,0x64]));_0x1d6d45(),_0x186d23[_0x280717([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x280717([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c3582=!0x1;const _0x976ddb=_0xc68af7();function _0x583a16(_0x16e809){return!!_0x16e809&&(typeof _0x16e809===_0x280717([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16e809===_0x280717([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16e809[_0x280717([0x74,0x68,0x65,0x6e])]===_0x280717([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16e809[_0x280717([0x63,0x61,0x74,0x63,0x68])]===_0x280717([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4841e1(_0x5a6227){_0x5455d0(_0x5a6227)[_0x280717([0x74,0x68,0x65,0x6e])](_0x39ac77=>{if(!_0x39ac77||_0x39ac77[_0x280717([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x280717([0x6f,0x6b]))return _0x280717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x389ff2(_0x11e0a7(_0x976ddb+_0x5385c9))!=_0x39ac77[_0x280717([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x280717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x280717([0x56,0x61,0x6c,0x69,0x64]);})[_0x280717([0x74,0x68,0x65,0x6e])](_0x1c4ba4=>(_0x368c0(),_0x1c4ba4),()=>{const _0x3e999e=_0x352964();return null==_0x3e999e?(_0x368c0(),_0x280717([0x56,0x61,0x6c,0x69,0x64])):_0x280717(_0x79e8a6-_0x3e999e>(0x6b9050fc^_0x442ad6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x280717([0x74,0x68,0x65,0x6e])](_0x3c0d2f)[_0x280717([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c0d2f(_0x280717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x506090=0x4faa3a7c^_0x442ad6;function _0x368c0(){const _0x53d96c=_0x280717([0x6c,0x6c,0x63,0x74,0x2d])+_0x389ff2(_0x11e0a7(_0x2919d9)),_0x2d28fd=_0x446f72(_0x389ff2(window[_0x280717([0x4d,0x61,0x74,0x68])][_0x280717([0x63,0x65,0x69,0x6c])](_0x79e8a6/_0x506090)));window[_0x280717([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x280717([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53d96c,_0x2d28fd);}function _0x352964(){const _0xcf924c=_0x280717([0x6c,0x6c,0x63,0x74,0x2d])+_0x389ff2(_0x11e0a7(_0x2919d9)),_0x8b4d12=window[_0x280717([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x280717([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xcf924c);return _0x8b4d12?window[_0x280717([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x446f72(_0x8b4d12),0x10)*_0x506090:null;}function _0x5455d0(_0x526011){return new window[(_0x280717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x305571,_0x5102e2)=>{_0x526011[_0x280717([0x74,0x68,0x65,0x6e])](_0x305571,_0x5102e2),window[_0x280717([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5102e2,0x4f9d003c^_0x442ad6);});}}_0x186d23[_0x280717([0x6f,0x6e])](_0x280717([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xae91b8,_0x263cd9)=>{if(_0x263cd9[0x0]!=_0x2919d9)return _0x3c0d2f(_0x280717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x263cd9[0x1]={..._0x263cd9[0x1],[_0x280717([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x976ddb};},{[_0x280717([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x280717([0x68,0x69,0x67,0x68])}),_0x186d23[_0x280717([0x6f,0x6e])](_0x280717([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x142dd1=>{_0x583a16(_0x142dd1[_0x280717([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c3582=!0x0,_0x4841e1(_0x142dd1[_0x280717([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x280717([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x280717([0x6c,0x6f,0x77])}),_0x134044[_0x280717([0x74,0x68,0x65,0x6e])](()=>{_0x4c3582||_0x3c0d2f(_0x280717([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b6ad0(){return _0x186d23[_0x280717([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x280717([0x76,0x69,0x65,0x77])][_0x280717([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x280717([0x61,0x75,0x74,0x6f]);}function _0x1d6d45(){_0x186d23[_0x280717([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x280717([0x76,0x69,0x65,0x77])][_0x280717([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x280717([0x61,0x75,0x74,0x6f]);}}function _0x5ee75a(_0x31bb2){const _0x160e94=[new window[(_0x280717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23c1d1=>setTimeout(_0x23c1d1,0x4f95ea30^_0x442ad6)),_0x134044[_0x280717([0x74,0x68,0x65,0x6e])](()=>new window[(_0x280717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x275fa8=>{let _0x26ea44=0x0;_0x186d23[_0x280717([0x6d,0x6f,0x64,0x65,0x6c])][_0x280717([0x6f,0x6e])](_0x280717([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d26e6,_0x33a4d4)=>{_0x33a4d4[0x0][_0x280717([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26ea44++,_0x26ea44==(0x4f9cd504^_0x442ad6)&&(_0x275fa8(),_0x5d26e6[_0x280717([0x6f,0x66,0x66])]());});}))];return window[_0x280717([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x280717([0x72,0x61,0x63,0x65])](_0x160e94)[_0x280717([0x74,0x68,0x65,0x6e])](()=>_0x31bb2);}async function _0x31a730(){await _0x134044,_0x186d23[_0x280717([0x6d,0x6f,0x64,0x65,0x6c])][_0x280717([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45a389,_0x186d23[_0x280717([0x6d,0x6f,0x64,0x65,0x6c])][_0x280717([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45a389,_0x186d23[_0x280717([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x280717([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39727f(_0xc0f6e5){const _0x19be10=_0x2111bf();_0x186d23[_0x19be10]=_0x280717([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])+_0xc0f6e5,_0xc0f6e5!=_0x280717([0x56,0x61,0x6c,0x69,0x64])&&_0x31a730();}function _0x2111bf(){const _0xc31c16=window[_0x280717([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x280717([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x280717([0x6e,0x6f,0x77])]())[_0x280717([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x280717([0x2e]),'');let _0x23b382=_0x280717([0x59]);for(let _0x3f7d43=0x0;_0x3f7d43<_0xc31c16[_0x280717([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f7d43+=0x2){let _0x28b1d3=window[_0x280717([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc31c16[_0x280717([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f7d43,_0x3f7d43+0x2));_0x28b1d3>=_0x59ae87[_0x280717([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x28b1d3-=_0x59ae87[_0x280717([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23b382+=_0x59ae87[_0x28b1d3];}return _0x23b382;}function _0x55d40c(){const _0x3c9144=_0x1b9903[_0x280717([0x73,0x70,0x6c,0x69,0x74])](_0x280717([0x2e]));if(0x3!=_0x3c9144[_0x280717([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c9bd9(_0x3c9144[0x1]);function _0x4c9bd9(_0x599954){const _0x4d87e1=_0x1360a0(_0x599954);return _0x4d87e1&&_0x239598()?_0x4d87e1:null;function _0x239598(){const _0x1b0aba=_0x4d87e1[_0x280717([0x6a,0x74,0x69])],_0x8a8b83=window[_0x280717([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b0aba[_0x280717([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b0aba[_0x280717([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b3928={..._0x4d87e1,[_0x280717([0x6a,0x74,0x69])]:_0x1b0aba[_0x280717([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b0aba[_0x280717([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b3928[_0x280717([0x76,0x63])],_0x11e0a7(_0x2b3928)==_0x8a8b83;}}}async function _0x17b04e(){let _0x4725f1=!0x0;try{const _0x225020=_0x1b9903[_0x280717([0x73,0x70,0x6c,0x69,0x74])](_0x280717([0x2e])),[_0xa282f9,_0x4a39e8,_0x2bdc36]=_0x225020;return _0x4c84b0(_0xa282f9),await _0x470f39(_0xa282f9,_0x4a39e8,_0x2bdc36),_0x4725f1;}catch(_0x29c000){return!0x1;}function _0x4c84b0(_0x112531){const _0x2daa33=_0x1360a0(_0x112531);_0x2daa33&&_0x2daa33[_0x280717([0x61,0x6c,0x67])]==_0x280717([0x45,0x53,0x32,0x35,0x36])||(_0x4725f1=!0x1);}async function _0x470f39(_0x268bd6,_0xc49a0a,_0x309f4d){const _0x1eb954=window[_0x280717([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x280717([0x66,0x72,0x6f,0x6d])](_0x2aaf52(_0x309f4d),_0x349cf5=>_0x349cf5[_0x280717([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3fa40d=new window[(_0x280717([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x280717([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x268bd6+_0x280717([0x2e])+_0xc49a0a),_0x2f008c=window[_0x280717([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x280717([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f008c)return;const _0x666443=await _0x2f008c[_0x280717([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x280717([0x6a,0x77,0x6b]),_0x3c56c4,{[_0x280717([0x6e,0x61,0x6d,0x65])]:_0x280717([0x45,0x43,0x44,0x53,0x41]),[_0x280717([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x280717([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x280717([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f008c[_0x280717([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x280717([0x6e,0x61,0x6d,0x65])]:_0x280717([0x45,0x43,0x44,0x53,0x41]),[_0x280717([0x68,0x61,0x73,0x68])]:{[_0x280717([0x6e,0x61,0x6d,0x65])]:_0x280717([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x666443,_0x1eb954,_0x3fa40d)||(_0x4725f1=!0x1);}}function _0x1360a0(_0x6f354c){return _0x6f354c[_0x280717([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x280717([0x65,0x79]))?JSON[_0x280717([0x70,0x61,0x72,0x73,0x65])](_0x2aaf52(_0x6f354c)):null;}function _0x2aaf52(_0x313244){return window[_0x280717([0x61,0x74,0x6f,0x62])](_0x313244[_0x280717([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x280717([0x2b]))[_0x280717([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x280717([0x2f])));}function _0x11e0a7(_0x206cec){let _0x51be07=0x1505;function _0x4cc0a6(_0x29a354){for(let _0x441e44=0x0;_0x441e44<_0x29a354[_0x280717([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x441e44++){const _0x502ca5=_0x29a354[_0x280717([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x441e44);_0x51be07=(_0x51be07<<0x5)+_0x51be07+_0x502ca5,_0x51be07&=_0x51be07;}}function _0x5e2d8e(_0x44b0f3){Array[_0x280717([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x44b0f3)?_0x44b0f3[_0x280717([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e2d8e):_0x44b0f3&&typeof _0x44b0f3==_0x280717([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x280717([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x44b0f3)[_0x280717([0x73,0x6f,0x72,0x74])]()[_0x280717([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5433f8,_0x188492])=>{_0x4cc0a6(_0x5433f8),_0x5e2d8e(_0x188492);}):_0x4cc0a6(window[_0x280717([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x44b0f3));}return _0x5e2d8e(_0x206cec),_0x51be07>>>0x0;}function _0x389ff2(_0x288291){return _0x288291[_0x280717([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x280717([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x280717([0x30]));}function _0x446f72(_0x4b79bf){return _0x4b79bf[_0x280717([0x73,0x70,0x6c,0x69,0x74])]('')[_0x280717([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x280717([0x6a,0x6f,0x69,0x6e])]('');}function _0x45a389(){}function _0x280717(_0x21af30){const _0x4d225f=_0x1b2e;return _0x21af30[_0x4d225f(0x1e1)](_0x376a60=>String[_0x4d225f(0x1bd)](_0x376a60))[_0x4d225f(0x1c8)]('');}_0x39727f(await _0x56ebf9());}(this);}[_0x117a28(0x1d5)](_0x34a0c3,_0x3db5db,_0x3c889a=!0x1){const _0x4c8599=_0x117a28,_0x420247=new _0x34a0c3(this[_0x4c8599(0x1ef)][_0x4c8599(0x1f3)]);return _0x420247[_0x4c8599(0x200)]({'withText':_0x3c889a,'isToggleable':!0x1}),_0x420247[_0x4c8599(0x1f9)](_0x4c8599(0x1e4))['to'](_0x3db5db,_0x4c8599(0x1e4)),this[_0x4c8599(0x1cc)](_0x420247,_0x4c8599(0x1c1),()=>_0x3db5db[_0x4c8599(0x1c1)]()),_0x420247;}[_0x117a28(0x1d9)](){const _0x1ce2fe=_0x117a28,_0x4053ec=this[_0x1ce2fe(0x1ef)][_0x1ce2fe(0x1f3)];this[_0x1ce2fe(0x1ef)][_0x1ce2fe(0x1e6)][_0x1ce2fe(0x1b5)]({'id':_0x1ce2fe(0x1ad),'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1ec))});const _0x54336c=_0x598f6d[_0x1ce2fe(0x1c2)]||_0x598f6d[_0x1ce2fe(0x1fb)];this[_0x1ce2fe(0x1ef)][_0x1ce2fe(0x1e6)][_0x1ce2fe(0x1fd)]({'categoryId':_0x1ce2fe(0x1ad),'keystrokes':[{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1e0)),'keystroke':_0x1ce2fe(0x1ce)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1d0)),'keystroke':_0x1ce2fe(0x1f8)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1f2)),'keystroke':_0x1ce2fe(0x1f4)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1c4)),'keystroke':_0x1ce2fe(0x1de)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1b0)),'keystroke':_0x1ce2fe(0x1e3)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1b8)),'keystroke':_0x1ce2fe(0x1fa)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1c5)),'keystroke':_0x54336c?_0x1ce2fe(0x1d1):_0x1ce2fe(0x1bf)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1af)),'keystroke':_0x1ce2fe(0x1ae)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1eb)),'keystroke':_0x1ce2fe(0x1c9)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1ea)),'keystroke':[[_0x1ce2fe(0x1cb)],[_0x1ce2fe(0x1e8)]]},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1c0)),'keystroke':_0x54336c?_0x1ce2fe(0x1b1):_0x1ce2fe(0x1f5)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1ee)),'keystroke':_0x54336c?_0x1ce2fe(0x1b2):_0x1ce2fe(0x1d2)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1f0)),'keystroke':_0x1ce2fe(0x1d7)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1b4)),'keystroke':_0x1ce2fe(0x1fc)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1ca)),'keystroke':_0x1ce2fe(0x1c6)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1bc)),'keystroke':_0x1ce2fe(0x1b9)},{'label':_0x22f3b1(_0x4053ec,_0x1ce2fe(0x1b6)),'keystroke':_0x54336c?_0x1ce2fe(0x1f1):_0x1ce2fe(0x1dd)}]});}}
|
|
23
|
+
const _0x5d61e0=_0x498d;function _0x2da1(){const _0x5de155=['608346KTFrto','4348372PVVvlj','Cmd+Alt+]','419825rGMsWJ','_registerKeybindings','Unfold\x20code\x20(current\x20level)','accessibility','commands','Move\x20line\x20down','add','requires','Delete\x20line','5940384bnLaBi','Ctrl!+Alt+[','ck-source-editing-enhanced-button','Fold\x20all','Ctrl+M','Copy\x20line\x20up','Shift+Alt+ArrowUp','isiOS','Ctrl!+Alt+]','Undo\x20(keystroke)','Alt+ArrowUp','Shift+Alt+ArrowDown','isEnabled','Select\x20line','Ctrl+Shift+Z','SourceEditingEnhancedUI','Source','Cmd+Alt+[','pluginName','editSource','Shift+Ctrl+K','Shift+Alt+A','map','Toggle\x20comment','Ctrl+Z','Move\x20line\x20up','_createButton','menuitemcheckbox','isPremiumPlugin','Ctrl+[','bind','Alt+Shift+M','Alt+ArrowDown','Ctrl+Y','Ctrl+]','4824445JYQdug','17431496mEIgyg','execute','isOfficialPlugin','join','Ctrl+/','locale','addKeystrokeInfos','isMac','fromCharCode','Alt+L','Copy\x20line\x20down','listenTo','Indent\x20more','componentFactory','Redo\x20(keystroke)','Fold\x20code\x20(current\x20level)','Edit\x20source\x20modal\x20label','init','Ctrl!+L','Toggle\x20block\x20comment','menuBar:sourceEditingEnhanced','afterInit','editor','1159230uvuDsT','4KDunMX','sourceEditingEnhanced','18KHwggA','set','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+Shift+[','Source\x20Editing\x20Enhanced','Ctrl+Shift+]','Unfold\x20all','Indent\x20less','addKeystrokeInfoCategory','href'];_0x2da1=function(){return _0x5de155;};return _0x2da1();}(function(_0x10bd24,_0x5163e1){const _0x36a052=_0x498d,_0x4ad5ce=_0x10bd24();while(!![]){try{const _0x41c9a8=-parseInt(_0x36a052(0x117))/0x1+parseInt(_0x36a052(0x118))/0x2*(parseInt(_0x36a052(0x124))/0x3)+-parseInt(_0x36a052(0x125))/0x4+-parseInt(_0x36a052(0xff))/0x5+-parseInt(_0x36a052(0xdc))/0x6+parseInt(_0x36a052(0x127))/0x7+-parseInt(_0x36a052(0x100))/0x8*(-parseInt(_0x36a052(0x11a))/0x9);if(_0x41c9a8===_0x5163e1)break;else _0x4ad5ce['push'](_0x4ad5ce['shift']());}catch(_0x45d29d){_0x4ad5ce['push'](_0x4ad5ce['shift']());}}}(_0x2da1,0x97e39));import{Plugin as _0xc96d56,PendingActions as _0x3b8eeb}from'ckeditor5/src/core.js';import{IconSource as _0x5a6310}from'ckeditor5/src/icons.js';import{ButtonView as _0x33b1b6,MenuBarMenuListItemButtonView as _0x10da82}from'ckeditor5/src/ui.js';function _0x498d(_0x599111,_0x2c665f){const _0x2da12a=_0x2da1();return _0x498d=function(_0x498dd9,_0x3362cb){_0x498dd9=_0x498dd9-0xd5;let _0x3d6a4e=_0x2da12a[_0x498dd9];return _0x3d6a4e;},_0x498d(_0x599111,_0x2c665f);}import _0x19ac89 from'./ui/editsourcecommand.js';import{getTranslation as _0x425703}from'./utils/common-translations.js';import{env as _0x2a6f7d,uid as _0x27c658}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0xc96d56{static get[_0x5d61e0(0xee)](){const _0x371a76=_0x5d61e0;return _0x371a76(0xeb);}static get[_0x5d61e0(0xda)](){return[_0x3b8eeb];}static get[_0x5d61e0(0x102)](){return!0x0;}static get[_0x5d61e0(0xf8)](){return!0x0;}[_0x5d61e0(0x111)](){const _0x1ecf29=_0x5d61e0,_0x2d65e5=this[_0x1ecf29(0x116)],_0x2a8171=_0x2d65e5[_0x1ecf29(0x105)],_0x3fb75f=new _0x19ac89(_0x2d65e5);_0x2d65e5[_0x1ecf29(0xd7)][_0x1ecf29(0xd9)](_0x1ecf29(0xef),_0x3fb75f),_0x2d65e5['ui'][_0x1ecf29(0x10d)][_0x1ecf29(0xd9)](_0x1ecf29(0x119),()=>{const _0x13fefe=_0x1ecf29,_0x30137e=this[_0x13fefe(0xf6)](_0x33b1b6,_0x3fb75f);return _0x30137e[_0x13fefe(0x11b)]({'label':_0x425703(_0x2a8171,_0x13fefe(0xec)),'icon':_0x5a6310,'tooltip':_0x425703(_0x2a8171,_0x13fefe(0x110)),'class':_0x13fefe(0xde)}),_0x30137e;}),_0x2d65e5['ui'][_0x1ecf29(0x10d)][_0x1ecf29(0xd9)](_0x1ecf29(0x114),()=>{const _0x30dd62=_0x1ecf29,_0x45db4d=this[_0x30dd62(0xf6)](_0x10da82,_0x3fb75f,!0x0);return _0x45db4d[_0x30dd62(0x11b)]({'label':_0x425703(_0x2a8171,_0x30dd62(0x110)),'icon':_0x5a6310,'role':_0x30dd62(0xf7)}),_0x45db4d;}),this[_0x1ecf29(0x128)]();}[_0x5d61e0(0x115)](){!async function(_0x574ea6){const _0x4e6fe4=_0x1d0fa6([0x4e,0x79,0x50,0x43,0x59,0x46,0x44,0x5a,0x73,0x71,0x61,0x47,0x53,0x6c,0x56,0x52,0x4a,0x6f,0x34,0x63,0x72,0x51,0x69,0x57,0x45,0x6d,0x36,0x66,0x6a,0x41,0x33,0x67,0x78,0x4f,0x4c,0x6e,0x32,0x6b,0x55,0x62,0x77,0x38,0x35,0x42,0x58,0x48,0x75,0x39,0x7a,0x65,0x68,0x30,0x76,0x70,0x49,0x4d,0x54,0x4b,0x31,0x64,0x37,0x74]),_0x935602=0x21778f5a,_0x310963=0x2170e79a^_0x935602,_0x2ed235=window[_0x1d0fa6([0x44,0x61,0x74,0x65])][_0x1d0fa6([0x6e,0x6f,0x77])](),_0x1661b5=_0x574ea6[_0x1d0fa6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5f3d4a=new window[(_0x1d0fa6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47b731=>{_0x1661b5[_0x1d0fa6([0x6f,0x6e,0x63,0x65])](_0x1d0fa6([0x72,0x65,0x61,0x64,0x79]),_0x47b731);}),_0x353e6b={[_0x1d0fa6([0x6b,0x74,0x79])]:_0x1d0fa6([0x45,0x43]),[_0x1d0fa6([0x75,0x73,0x65])]:_0x1d0fa6([0x73,0x69,0x67]),[_0x1d0fa6([0x63,0x72,0x76])]:_0x1d0fa6([0x50,0x2d,0x32,0x35,0x36]),[_0x1d0fa6([0x78])]:_0x1d0fa6([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]),[_0x1d0fa6([0x79])]:_0x1d0fa6([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]),[_0x1d0fa6([0x61,0x6c,0x67])]:_0x1d0fa6([0x45,0x53,0x32,0x35,0x36])},_0x20e164=_0x1661b5[_0x1d0fa6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d0fa6([0x67,0x65,0x74])](_0x1d0fa6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bd6c4(){let _0x55eb44,_0xb77be7=null,_0x1a7d73=null;try{if(_0x20e164==_0x1d0fa6([0x47,0x50,0x4c]))return _0x1d0fa6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55eb44=_0x3fdd9c(),!_0x55eb44)return _0x1d0fa6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55eb44[_0x1d0fa6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a7d73=_0x3a55b0(_0x55eb44[_0x1d0fa6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55eb44[_0x1d0fa6([0x6a,0x74,0x69])])),await _0x43be50()?_0x3b07f6()?_0x1b8897()?_0x1d0fa6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f1035()?(_0x55eb44[_0x1d0fa6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d0fa6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb77be7=_0x1da147(_0x1d0fa6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x55eb44[_0x1d0fa6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d0fa6([0x74,0x72,0x69,0x61,0x6c])&&(_0xb77be7=_0x1da147(_0x1d0fa6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e9df2()):_0x1d0fa6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d0fa6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d0fa6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x57fbcd){return _0x1d0fa6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b8897(){const _0x10d88a=[_0x1d0fa6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d0fa6([0x74,0x72,0x69,0x61,0x6c])][_0x1d0fa6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55eb44[_0x1d0fa6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ed235/0x3e8:0xe10*_0x310963;return _0x55eb44[_0x1d0fa6([0x65,0x78,0x70])]<_0x10d88a;}function _0x3b07f6(){const _0x272c2f=_0x55eb44[_0x1d0fa6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x272c2f&&(!!_0x272c2f[_0x1d0fa6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d0fa6([0x2a]))||!!_0x272c2f[_0x1d0fa6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d0fa6([0x53,0x45,0x45])));}function _0x5f1035(){const _0x1ee009=_0x498d,_0x171f3d=_0x55eb44[_0x1d0fa6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x171f3d||0x0==_0x171f3d[_0x1d0fa6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x555847}=new URL(window[_0x1d0fa6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1ee009(0x123)]);if(_0x171f3d[_0x1d0fa6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x555847))return!0x0;const _0x29c97c=_0x555847[_0x1d0fa6([0x73,0x70,0x6c,0x69,0x74])](_0x1d0fa6([0x2e]));return _0x171f3d[_0x1d0fa6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x317a4f=>_0x317a4f[_0x1d0fa6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d0fa6([0x2a])))[_0x1d0fa6([0x6d,0x61,0x70])](_0x343de1=>_0x343de1[_0x1d0fa6([0x73,0x70,0x6c,0x69,0x74])](_0x1d0fa6([0x2e])))[_0x1d0fa6([0x73,0x6f,0x6d,0x65])](_0x4511f3=>_0x29c97c[_0x1d0fa6([0x65,0x76,0x65,0x72,0x79])]((_0x1295d9,_0x4a35f0)=>_0x4511f3[_0x4a35f0]===_0x1295d9||_0x4511f3[_0x4a35f0]===_0x1d0fa6([0x2a])));}function _0x1e9df2(){return _0xb77be7&&_0x1a7d73?new window[(_0x1d0fa6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d9265,_0x4ad11a)=>{_0xb77be7[_0x1d0fa6([0x74,0x68,0x65,0x6e])](_0x3d9265,_0x4ad11a),_0x1a7d73[_0x1d0fa6([0x74,0x68,0x65,0x6e])](_0x2f706d=>{_0x2f706d!=_0x1d0fa6([0x56,0x61,0x6c,0x69,0x64])&&_0x3d9265(_0x2f706d);},_0x4ad11a);}):_0xb77be7||_0x1a7d73||_0x1d0fa6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a55b0(_0x58acfe,_0xed3c17){return new window[(_0x1d0fa6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e4878=>{if(_0x47149b())return _0x2e4878(_0x1d0fa6([0x56,0x61,0x6c,0x69,0x64]));_0x3651d4(),_0x1661b5[_0x1d0fa6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d0fa6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f7078=!0x1;const _0x13e84a=_0x27c658();function _0x2c8c4b(_0x494282){return!!_0x494282&&(typeof _0x494282===_0x1d0fa6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x494282===_0x1d0fa6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x494282[_0x1d0fa6([0x74,0x68,0x65,0x6e])]===_0x1d0fa6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x494282[_0x1d0fa6([0x63,0x61,0x74,0x63,0x68])]===_0x1d0fa6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x482f69(_0x4e238e){_0x62278c(_0x4e238e)[_0x1d0fa6([0x74,0x68,0x65,0x6e])](_0x28c70b=>{if(!_0x28c70b||_0x28c70b[_0x1d0fa6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d0fa6([0x6f,0x6b]))return _0x1d0fa6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32e4fb(_0x59147d(_0x13e84a+_0xed3c17))!=_0x28c70b[_0x1d0fa6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d0fa6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d0fa6([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d0fa6([0x74,0x68,0x65,0x6e])](_0x2f3263=>(_0x4d2bff(),_0x2f3263),()=>{const _0x87ba55=_0x440be9();return null==_0x87ba55?(_0x4d2bff(),_0x1d0fa6([0x56,0x61,0x6c,0x69,0x64])):_0x1d0fa6(_0x2ed235-_0x87ba55>(0x57b0b5a^_0x935602)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d0fa6([0x74,0x68,0x65,0x6e])](_0x2e4878)[_0x1d0fa6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e4878(_0x1d0fa6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x50f73f=0x214161da^_0x935602;function _0x4d2bff(){const _0x43097e=_0x1d0fa6([0x6c,0x6c,0x63,0x74,0x2d])+_0x32e4fb(_0x59147d(_0x58acfe)),_0x3e1cf6=_0x13a619(_0x32e4fb(window[_0x1d0fa6([0x4d,0x61,0x74,0x68])][_0x1d0fa6([0x63,0x65,0x69,0x6c])](_0x2ed235/_0x50f73f)));window[_0x1d0fa6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d0fa6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43097e,_0x3e1cf6);}function _0x440be9(){const _0x1b07b8=_0x1d0fa6([0x6c,0x6c,0x63,0x74,0x2d])+_0x32e4fb(_0x59147d(_0x58acfe)),_0x560126=window[_0x1d0fa6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d0fa6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b07b8);return _0x560126?window[_0x1d0fa6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a619(_0x560126),0x10)*_0x50f73f:null;}function _0x62278c(_0x11f244){return new window[(_0x1d0fa6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48d29d,_0xa8daad)=>{_0x11f244[_0x1d0fa6([0x74,0x68,0x65,0x6e])](_0x48d29d,_0xa8daad),window[_0x1d0fa6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa8daad,0x21765b9a^_0x935602);});}}_0x1661b5[_0x1d0fa6([0x6f,0x6e])](_0x1d0fa6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34a944,_0x18e3b3)=>{if(_0x18e3b3[0x0]!=_0x58acfe)return _0x2e4878(_0x1d0fa6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18e3b3[0x1]={..._0x18e3b3[0x1],[_0x1d0fa6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13e84a};},{[_0x1d0fa6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d0fa6([0x68,0x69,0x67,0x68])}),_0x1661b5[_0x1d0fa6([0x6f,0x6e])](_0x1d0fa6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a4496=>{_0x2c8c4b(_0x1a4496[_0x1d0fa6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f7078=!0x0,_0x482f69(_0x1a4496[_0x1d0fa6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d0fa6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d0fa6([0x6c,0x6f,0x77])}),_0x5f3d4a[_0x1d0fa6([0x74,0x68,0x65,0x6e])](()=>{_0x4f7078||_0x2e4878(_0x1d0fa6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47149b(){return _0x1661b5[_0x1d0fa6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d0fa6([0x76,0x69,0x65,0x77])][_0x1d0fa6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d0fa6([0x61,0x75,0x74,0x6f]);}function _0x3651d4(){_0x1661b5[_0x1d0fa6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d0fa6([0x76,0x69,0x65,0x77])][_0x1d0fa6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d0fa6([0x61,0x75,0x74,0x6f]);}}function _0x1da147(_0x74b67){const _0x1bc132=[new window[(_0x1d0fa6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d9fc6=>setTimeout(_0x3d9fc6,0x217eb196^_0x935602)),_0x5f3d4a[_0x1d0fa6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d0fa6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20553b=>{let _0x16cd15=0x0;_0x1661b5[_0x1d0fa6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d0fa6([0x6f,0x6e])](_0x1d0fa6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4853f5,_0x1a6179)=>{_0x1a6179[0x0][_0x1d0fa6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16cd15++,_0x16cd15==(0x21778ea2^_0x935602)&&(_0x20553b(),_0x4853f5[_0x1d0fa6([0x6f,0x66,0x66])]());});}))];return window[_0x1d0fa6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d0fa6([0x72,0x61,0x63,0x65])](_0x1bc132)[_0x1d0fa6([0x74,0x68,0x65,0x6e])](()=>_0x74b67);}async function _0x390a4e(){await _0x5f3d4a,_0x1661b5[_0x1d0fa6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d0fa6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2242b5,_0x1661b5[_0x1d0fa6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d0fa6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2242b5,_0x1661b5[_0x1d0fa6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d0fa6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x52bcb3(_0x286c97){const _0x142eb7=_0x17819a();_0x1661b5[_0x142eb7]=_0x1d0fa6([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])+_0x286c97,_0x286c97!=_0x1d0fa6([0x56,0x61,0x6c,0x69,0x64])&&_0x390a4e();}function _0x17819a(){const _0x1f4b7e=window[_0x1d0fa6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d0fa6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d0fa6([0x6e,0x6f,0x77])]())[_0x1d0fa6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d0fa6([0x2e]),'');let _0x566390=_0x1d0fa6([0x4e]);for(let _0x2ee147=0x0;_0x2ee147<_0x1f4b7e[_0x1d0fa6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ee147+=0x2){let _0x22b82a=window[_0x1d0fa6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f4b7e[_0x1d0fa6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ee147,_0x2ee147+0x2));_0x22b82a>=_0x4e6fe4[_0x1d0fa6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22b82a-=_0x4e6fe4[_0x1d0fa6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x566390+=_0x4e6fe4[_0x22b82a];}return _0x566390;}function _0x3fdd9c(){const _0x10ce9b=_0x20e164[_0x1d0fa6([0x73,0x70,0x6c,0x69,0x74])](_0x1d0fa6([0x2e]));if(0x3!=_0x10ce9b[_0x1d0fa6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ae8e1(_0x10ce9b[0x1]);function _0x1ae8e1(_0x3c2cf8){const _0x25368e=_0x156122(_0x3c2cf8);return _0x25368e&&_0x5dbe17()?_0x25368e:null;function _0x5dbe17(){const _0x3d34e7=_0x25368e[_0x1d0fa6([0x6a,0x74,0x69])],_0x5f1fde=window[_0x1d0fa6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d34e7[_0x1d0fa6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d34e7[_0x1d0fa6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52a935={..._0x25368e,[_0x1d0fa6([0x6a,0x74,0x69])]:_0x3d34e7[_0x1d0fa6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d34e7[_0x1d0fa6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52a935[_0x1d0fa6([0x76,0x63])],_0x59147d(_0x52a935)==_0x5f1fde;}}}async function _0x43be50(){let _0x24eff3=!0x0;try{const _0x53b07e=_0x20e164[_0x1d0fa6([0x73,0x70,0x6c,0x69,0x74])](_0x1d0fa6([0x2e])),[_0x6bd190,_0xbfd697,_0x475295]=_0x53b07e;return _0x11058f(_0x6bd190),await _0x258863(_0x6bd190,_0xbfd697,_0x475295),_0x24eff3;}catch(_0x366f65){return!0x1;}function _0x11058f(_0x1edd6c){const _0x5ade01=_0x156122(_0x1edd6c);_0x5ade01&&_0x5ade01[_0x1d0fa6([0x61,0x6c,0x67])]==_0x1d0fa6([0x45,0x53,0x32,0x35,0x36])||(_0x24eff3=!0x1);}async function _0x258863(_0x44b6df,_0x2d7bbe,_0x33b505){const _0x4068cf=window[_0x1d0fa6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d0fa6([0x66,0x72,0x6f,0x6d])](_0xd38c1(_0x33b505),_0x45b3bf=>_0x45b3bf[_0x1d0fa6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x443a20=new window[(_0x1d0fa6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d0fa6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x44b6df+_0x1d0fa6([0x2e])+_0x2d7bbe),_0x130c3c=window[_0x1d0fa6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d0fa6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x130c3c)return;const _0x581eef=await _0x130c3c[_0x1d0fa6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d0fa6([0x6a,0x77,0x6b]),_0x353e6b,{[_0x1d0fa6([0x6e,0x61,0x6d,0x65])]:_0x1d0fa6([0x45,0x43,0x44,0x53,0x41]),[_0x1d0fa6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d0fa6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d0fa6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x130c3c[_0x1d0fa6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d0fa6([0x6e,0x61,0x6d,0x65])]:_0x1d0fa6([0x45,0x43,0x44,0x53,0x41]),[_0x1d0fa6([0x68,0x61,0x73,0x68])]:{[_0x1d0fa6([0x6e,0x61,0x6d,0x65])]:_0x1d0fa6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x581eef,_0x4068cf,_0x443a20)||(_0x24eff3=!0x1);}}function _0x156122(_0x27a5ea){return _0x27a5ea[_0x1d0fa6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d0fa6([0x65,0x79]))?JSON[_0x1d0fa6([0x70,0x61,0x72,0x73,0x65])](_0xd38c1(_0x27a5ea)):null;}function _0xd38c1(_0x28330e){return window[_0x1d0fa6([0x61,0x74,0x6f,0x62])](_0x28330e[_0x1d0fa6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d0fa6([0x2b]))[_0x1d0fa6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d0fa6([0x2f])));}function _0x59147d(_0x31a304){let _0x5e1b0c=0x1505;function _0x4a646f(_0x925efb){for(let _0x453f6f=0x0;_0x453f6f<_0x925efb[_0x1d0fa6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x453f6f++){const _0x14fdf7=_0x925efb[_0x1d0fa6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x453f6f);_0x5e1b0c=(_0x5e1b0c<<0x5)+_0x5e1b0c+_0x14fdf7,_0x5e1b0c&=_0x5e1b0c;}}function _0xf71ed6(_0x54158e){Array[_0x1d0fa6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x54158e)?_0x54158e[_0x1d0fa6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf71ed6):_0x54158e&&typeof _0x54158e==_0x1d0fa6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d0fa6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x54158e)[_0x1d0fa6([0x73,0x6f,0x72,0x74])]()[_0x1d0fa6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c6a16,_0x4ec3bb])=>{_0x4a646f(_0x1c6a16),_0xf71ed6(_0x4ec3bb);}):_0x4a646f(window[_0x1d0fa6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x54158e));}return _0xf71ed6(_0x31a304),_0x5e1b0c>>>0x0;}function _0x32e4fb(_0x1bd664){return _0x1bd664[_0x1d0fa6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d0fa6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d0fa6([0x30]));}function _0x13a619(_0x1025e0){return _0x1025e0[_0x1d0fa6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d0fa6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d0fa6([0x6a,0x6f,0x69,0x6e])]('');}function _0x2242b5(){}function _0x1d0fa6(_0x5f3d92){const _0x3b7b07=_0x498d;return _0x5f3d92[_0x3b7b07(0xf2)](_0x3e4af1=>String[_0x3b7b07(0x108)](_0x3e4af1))[_0x3b7b07(0x103)]('');}_0x52bcb3(await _0x4bd6c4());}(this);}[_0x5d61e0(0xf6)](_0x48138b,_0xb1b30f,_0x47caff=!0x1){const _0x45f374=_0x5d61e0,_0x2cf1be=new _0x48138b(this[_0x45f374(0x116)][_0x45f374(0x105)]);return _0x2cf1be[_0x45f374(0x11b)]({'withText':_0x47caff,'isToggleable':!0x1}),_0x2cf1be[_0x45f374(0xfa)](_0x45f374(0xe8))['to'](_0xb1b30f,_0x45f374(0xe8)),this[_0x45f374(0x10b)](_0x2cf1be,_0x45f374(0x101),()=>_0xb1b30f[_0x45f374(0x101)]()),_0x2cf1be;}[_0x5d61e0(0x128)](){const _0x4c0873=_0x5d61e0,_0x3b0c60=this[_0x4c0873(0x116)][_0x4c0873(0x105)];this[_0x4c0873(0x116)][_0x4c0873(0xd6)][_0x4c0873(0x122)]({'id':_0x4c0873(0x119),'label':_0x425703(_0x3b0c60,_0x4c0873(0x11e))});const _0xdeab8e=_0x2a6f7d[_0x4c0873(0x107)]||_0x2a6f7d[_0x4c0873(0xe3)];this[_0x4c0873(0x116)][_0x4c0873(0xd6)][_0x4c0873(0x106)]({'categoryId':_0x4c0873(0x119),'keystrokes':[{'label':_0x425703(_0x3b0c60,_0x4c0873(0x10a)),'keystroke':_0x4c0873(0xe7)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0xe1)),'keystroke':_0x4c0873(0xe2)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0xdb)),'keystroke':_0x4c0873(0xf0)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0x121)),'keystroke':_0x4c0873(0xf9)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0x10c)),'keystroke':_0x4c0873(0xfe)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0xdf)),'keystroke':_0x4c0873(0xdd)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0x10f)),'keystroke':_0xdeab8e?_0x4c0873(0xed):_0x4c0873(0x11d)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0xd8)),'keystroke':_0x4c0873(0xfc)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0xf5)),'keystroke':_0x4c0873(0xe6)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0x10e)),'keystroke':[[_0x4c0873(0xea)],[_0x4c0873(0xfd)]]},{'label':_0x425703(_0x3b0c60,_0x4c0873(0xe9)),'keystroke':_0xdeab8e?_0x4c0873(0x112):_0x4c0873(0x109)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0x11c)),'keystroke':_0xdeab8e?_0x4c0873(0xfb):_0x4c0873(0xe0)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0x113)),'keystroke':_0x4c0873(0xf1)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0xf3)),'keystroke':_0x4c0873(0x104)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0xe5)),'keystroke':_0x4c0873(0xf4)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0x120)),'keystroke':_0x4c0873(0xe4)},{'label':_0x425703(_0x3b0c60,_0x4c0873(0xd5)),'keystroke':_0xdeab8e?_0x4c0873(0x126):_0x4c0873(0x11f)}]});}}
|