@ckeditor/ckeditor5-source-editing-enhanced 45.2.0-alpha.6 → 45.2.0-alpha.7

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 _0x50901d,PendingActions as _0x33ba1d,Plugin as _0x417f1e}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x5f0d83,formatHtml as tr,env as _0x58ae03,uid as _0x55b457}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x415064}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1ffe8a,ButtonView as _0x2113be,MenuBarMenuListItemButtonView as _0xeab455}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3bde17,crosshairCursor as _0x143f86,drawSelection as _0x265e3a,dropCursor as _0x4a5ec7,lineNumbers as _0x5e3045,highlightActiveLine as _0x309ba8,highlightActiveLineGutter as _0x4206b5,highlightSpecialChars as _0x541fd6,rectangularSelection as _0x28d7b2,keymap as _0x394f07}from'@codemirror/view';import{Compartment as _0x5e0b99,Transaction as _0x2f761e}from'@codemirror/state';import{bracketMatching as _0x185a2e,foldGutter as _0xe152d2,indentOnInput as _0x56730b,syntaxHighlighting as _0x393ddd,defaultHighlightStyle as _0x55d4af,foldKeymap as _0x4deea1}from'@codemirror/language';import{toggleTabFocusMode as _0x5a9895,history as _0x4ef672,defaultKeymap as _0x352c7e,historyKeymap as _0x529795,indentLess as _0x2213c9,indentMore as _0xd9961,redo as _0x1d75bb,undo as _0x317af2}from'@codemirror/commands';import{autocompletion as _0x9bf27e,closeBrackets as _0x5baafb,closeBracketsKeymap as _0x329134,completionKeymap as _0x2e06bb}from'@codemirror/autocomplete';import{html as _0x38c871}from'@codemirror/lang-html';import{markdown as _0x3e449b}from'@codemirror/lang-markdown';import{oneDark as _0xfba9f4}from'@codemirror/theme-one-dark';function f(_0x161053,_0x1c7cfc){const t=_0x161053['t'];switch(_0x1c7cfc){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 _0x1c7cfc;}}function s(_0x5e0b55){const _0x42b5cf=_0x5e0b55['editing']['view']['document']['roots'],_0x4ca408=_0x42b5cf['length'];if(0x0===_0x4ca408)throw new _0x5f0d83('source-editing-enhanced-editor-no-root',_0x5e0b55);if(0x1===_0x4ca408)return _0x42b5cf['first']['rootName'];return Array['from'](_0x5e0b55['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x1fc8ad){return or(_0x1fc8ad['replace'](/^[\n\s]*/g,''))?_0x1fc8ad['replace'](/\s+/g,''):_0x1fc8ad;}function or(_0x45e17a){return _0x45e17a['startsWith']('<');}function p(_0x596806){const _0x2f0cf0=[_0x3bde17['lineWrapping'],_0x9bf27e(),_0x185a2e(),_0x5baafb(),_0x143f86(),_0x265e3a(),_0x4a5ec7(),_0x5e3045(),_0xe152d2(),_0x309ba8(),_0x4206b5(),_0x541fd6(),_0x4ef672(),_0x56730b(),_0x28d7b2(),_0x393ddd(_0x55d4af,{'fallback':!0x0})],_0x1e0ca2=new _0x5e0b99();_0x2f0cf0['push'](_0x1e0ca2['of'](_0x3bde17['editable']['of'](!0x0))),'html'===_0x596806['syntaxLanguage']?_0x2f0cf0['push'](_0x38c871()):_0x2f0cf0['push'](_0x3e449b());const _0x2183e8=function(_0x4bb24b){if(_0x4bb24b&&'default'!==_0x4bb24b)return'dark'===_0x4bb24b?_0xfba9f4:_0x4bb24b;return null;}(_0x596806['theme']);_0x2183e8&&_0x2f0cf0['push'](_0x2183e8),_0x2f0cf0['push'](_0x394f07['of']([..._0x329134,..._0x352c7e,..._0x529795,..._0x4deea1,..._0x2e06bb,{'key':'Tab','run':_0xd9961,'shift':_0x2213c9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1d75bb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1d75bb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x317af2,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2ba8e1=new _0x3bde17({'extensions':_0x2f0cf0,'parent':_0x596806['parent']});return _0x5a9895(_0x2ba8e1),{'focus':()=>{_0x2ba8e1['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2ba8e1['focus']();},'getData':()=>_0x2ba8e1['state']['doc']['toString'](),'setData':_0xb0f64=>{_0x2ba8e1['dispatch']({'changes':{'from':0x0,'to':_0x2ba8e1['state']['doc']['length'],'insert':_0xb0f64},'annotations':_0x2f761e['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3b8752=>{_0x2ba8e1['dispatch']({'effects':[_0x1e0ca2['reconfigure'](_0x3bde17['editable']['of'](!_0x3b8752))]});},'destroy':()=>{_0x2ba8e1['destroy']();},'instance':_0x2ba8e1};}class m extends _0x1ffe8a{['_codeEditorApi']=null;['_options'];constructor(_0x33341f,_0x51d66d){super(_0x33341f),this['_options']=_0x51d66d,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',(_0x58e08d,_0x40f470,_0x50ecd5)=>{this['setReadOnly'](_0x50ecd5);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x34ec3b){this['_codeEditorApi']['setData'](_0x34ec3b);}['setReadOnly'](_0x2dd9da){this['_codeEditorApi']['setReadOnly'](_0x2dd9da);}}const b='SourceEditingEnhancedMode';class d extends _0x50901d{constructor(_0x136831){super(_0x136831),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x33ba1d)['on']('change:hasAny',(_0x4265e5,_0x295b4d,_0x451934)=>{_0x451934?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x492c19=this['editor'];for(const _0x5356ed of _0x492c19['commands']['names']())['replaceSource','editSource']['includes'](_0x5356ed)||_0x492c19['commands']['get'](_0x5356ed)['forceDisabled'](b);}['_enableCommands'](){const _0x3ab1d1=this['editor'];for(const _0xfd3dae of _0x3ab1d1['commands']['commands']())_0xfd3dae['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x22e19d=this['editor'],_0x287ee3=_0x22e19d['locale'],_0x2dc496=_0x22e19d['plugins']['get']('Dialog'),_0x1edf94=s(_0x22e19d),_0xcbe8af=_0x22e19d['data']['get']({'rootName':_0x1edf94}),_0x57fe89=or(_0x1d52fe=_0xcbe8af)?tr(_0x1d52fe):_0x1d52fe;var _0x1d52fe;const _0x52048a=new m(_0x287ee3,{'syntaxLanguage':_0x22e19d['plugins']['has']('Markdown')?'markdown':'html','theme':_0x22e19d['config']['get']('sourceEditingEnhanced.theme')});let _0x183e05=!0x0;const _0x865346=_0x103a69=>{if(!_0x183e05)return;return E(_0x52048a['getData']())!==E(_0x57fe89)?window['confirm'](f(_0x287ee3,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x103a69['stop']():void 0x0;};_0x2dc496['show']({'id':'sourceEditingEnhanced','title':f(_0x287ee3,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x52048a,'actionButtons':[{'label':f(_0x287ee3,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x2dc496['hide']();}},{'label':f(_0x287ee3,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4745f3=E(_0x52048a['getData']())!==E(_0x57fe89);(_0x4745f3&&_0x22e19d['execute']('replaceSource',_0x52048a['getData']()),_0x183e05=!0x1,_0x2dc496['hide'](),_0x4745f3&&'editables'in _0x22e19d['ui']['view'])&&_0x22e19d['ui']['view']['editables'][_0x1edf94]['element']['focus']();},'onCreate':_0x532575=>{_0x532575['set']('isEnabled',!_0x22e19d['isReadOnly']),_0x532575['bind']('isEnabled')['to'](_0x22e19d,'isReadOnly',this,'isEnabled',(_0x60e92a,_0x4ba42f)=>!_0x60e92a&&_0x4ba42f);}}],'onHide':()=>{this['_enableCommands'](),_0x2dc496['off']('hide',_0x865346),_0x52048a['destroy']();},'onShow':()=>{_0x52048a['bind']('isReadOnly')['to'](_0x22e19d,'isReadOnly',this,'isEnabled',(_0x40a51f,_0x48d0c1)=>_0x40a51f||!_0x48d0c1),_0x52048a['setData'](_0x57fe89),_0x52048a['focus'](),_0x2dc496['on']('hide',_0x865346,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x417f1e{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x33ba1d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x515c43=this['editor'],_0x240cc7=_0x515c43['locale'],_0x1a4a2f=new d(_0x515c43);_0x515c43['commands']['add']('editSource',_0x1a4a2f),_0x515c43['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x332fa8=this['_createButton'](_0x2113be,_0x1a4a2f);return _0x332fa8['set']({'label':f(_0x240cc7,'Source'),'icon':_0x415064,'tooltip':f(_0x240cc7,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x332fa8;}),_0x515c43['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2d0541=this['_createButton'](_0xeab455,_0x1a4a2f,!0x0);return _0x2d0541['set']({'label':f(_0x240cc7,'Edit\x20source\x20modal\x20label'),'icon':_0x415064,'role':'menuitemcheckbox'}),_0x2d0541;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x12420c){const _0x22941c=_0x4066cd([0x4a,0x31,0x54,0x48,0x4f,0x41,0x43,0x63,0x56,0x65,0x4d,0x4b,0x6d,0x38,0x44,0x62,0x78,0x77,0x42,0x67,0x6c,0x71,0x30,0x69,0x58,0x52,0x55,0x37,0x74,0x46,0x70,0x49,0x61,0x66,0x76,0x79,0x33,0x6a,0x73,0x64,0x57,0x51,0x32,0x47,0x36,0x35,0x4c,0x39,0x4e,0x5a,0x50,0x59,0x72,0x6e,0x6b,0x6f,0x53,0x7a,0x34,0x75,0x68,0x45]),_0x30c3cd=0x7ec5c817,_0x2a7139=0x7ec2a1a7^_0x30c3cd,_0x3fa089=window[_0x4066cd([0x44,0x61,0x74,0x65])][_0x4066cd([0x6e,0x6f,0x77])](),_0x596e05=_0x12420c[_0x4066cd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39895b=new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417957=>{_0x596e05[_0x4066cd([0x6f,0x6e,0x63,0x65])](_0x4066cd([0x72,0x65,0x61,0x64,0x79]),_0x417957);}),_0x30ee03={[_0x4066cd([0x6b,0x74,0x79])]:_0x4066cd([0x45,0x43]),[_0x4066cd([0x75,0x73,0x65])]:_0x4066cd([0x73,0x69,0x67]),[_0x4066cd([0x63,0x72,0x76])]:_0x4066cd([0x50,0x2d,0x32,0x35,0x36]),[_0x4066cd([0x78])]:_0x4066cd([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]),[_0x4066cd([0x79])]:_0x4066cd([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]),[_0x4066cd([0x61,0x6c,0x67])]:_0x4066cd([0x45,0x53,0x32,0x35,0x36])},_0x2574eb=_0x596e05[_0x4066cd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4066cd([0x67,0x65,0x74])](_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x129c21(){let _0x18e8e7,_0x2d6344=null,_0x18b0d3=null;try{if(_0x2574eb==_0x4066cd([0x47,0x50,0x4c]))return _0x4066cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x18e8e7=_0x34a9fb(),!_0x18e8e7)return _0x4066cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x18e8e7[_0x4066cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18b0d3=_0x49d2c4(_0x18e8e7[_0x4066cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x18e8e7[_0x4066cd([0x6a,0x74,0x69])])),await _0xf57967()?_0x1c3516()?_0x254ddf()?_0x4066cd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x755ca0()?(_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4066cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d6344=_0x4e3c44(_0x4066cd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4066cd([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d6344=_0x4e3c44(_0x4066cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x235683()):_0x4066cd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4066cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4066cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4066cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x254ddf(){const _0x49df20=[_0x4066cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4066cd([0x74,0x72,0x69,0x61,0x6c])][_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3fa089/0x3e8:0xe10*_0x2a7139;return _0x18e8e7[_0x4066cd([0x65,0x78,0x70])]<_0x49df20;}function _0x1c3516(){const _0x5bc27b=_0x18e8e7[_0x4066cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bc27b&&(!!_0x5bc27b[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4066cd([0x2a]))||!!_0x5bc27b[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4066cd([0x53,0x45,0x45])));}function _0x755ca0(){const _0x21f95f=_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21f95f||0x0==_0x21f95f[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58d063}=new URL(window[_0x4066cd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x21f95f[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58d063))return!0x0;const _0x405099=_0x58d063[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e]));return _0x21f95f[_0x4066cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53a7f4=>_0x53a7f4[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4066cd([0x2a])))[_0x4066cd([0x6d,0x61,0x70])](_0x1e830f=>_0x1e830f[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e])))[_0x4066cd([0x73,0x6f,0x6d,0x65])](_0x2cb336=>_0x405099[_0x4066cd([0x65,0x76,0x65,0x72,0x79])]((_0x4602f8,_0x27c9da)=>_0x2cb336[_0x27c9da]===_0x4602f8||_0x2cb336[_0x27c9da]===_0x4066cd([0x2a])));}function _0x235683(){return _0x2d6344&&_0x18b0d3?new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fcda8,_0x3361a1)=>{_0x2d6344[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x3fcda8,_0x3361a1),_0x18b0d3[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x2303e0=>{_0x2303e0!=_0x4066cd([0x56,0x61,0x6c,0x69,0x64])&&_0x3fcda8(_0x2303e0);},_0x3361a1);}):_0x2d6344||_0x18b0d3||_0x4066cd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49d2c4(_0x517b73,_0x57fba6){return new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20f30a=>{if(_0x2ed463())return _0x20f30a(_0x4066cd([0x56,0x61,0x6c,0x69,0x64]));_0x4ea9e8(),_0x596e05[_0x4066cd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4066cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ad6b5=!0x1;const _0x49bb60=_0x55b457();function _0x5bb26c(_0x16f979){return!!_0x16f979&&(typeof _0x16f979===_0x4066cd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16f979===_0x4066cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16f979[_0x4066cd([0x74,0x68,0x65,0x6e])]===_0x4066cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16f979[_0x4066cd([0x63,0x61,0x74,0x63,0x68])]===_0x4066cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52d9a5(_0x43b6fe){_0x398652(_0x43b6fe)[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x19dd6b=>{if(!_0x19dd6b||_0x19dd6b[_0x4066cd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4066cd([0x6f,0x6b]))return _0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x406a31(_0x363ddc(_0x49bb60+_0x57fba6))!=_0x19dd6b[_0x4066cd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4066cd([0x56,0x61,0x6c,0x69,0x64]);})[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x4e9cf5=>(_0x580a17(),_0x4e9cf5),()=>{const _0xff6d04=_0x1818e7();return null==_0xff6d04?(_0x580a17(),_0x4066cd([0x56,0x61,0x6c,0x69,0x64])):_0x4066cd(_0x3fa089-_0xff6d04>(0x5ac94c17^_0x30c3cd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x20f30a)[_0x4066cd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20f30a(_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17d8d5=0x7ef32697^_0x30c3cd;function _0x580a17(){const _0x1d8b56=_0x4066cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x406a31(_0x363ddc(_0x517b73)),_0x2dbab1=_0x461702(_0x406a31(window[_0x4066cd([0x4d,0x61,0x74,0x68])][_0x4066cd([0x63,0x65,0x69,0x6c])](_0x3fa089/_0x17d8d5)));window[_0x4066cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4066cd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d8b56,_0x2dbab1);}function _0x1818e7(){const _0x439ba3=_0x4066cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x406a31(_0x363ddc(_0x517b73)),_0x1e2232=window[_0x4066cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4066cd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x439ba3);return _0x1e2232?window[_0x4066cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x461702(_0x1e2232),0x10)*_0x17d8d5:null;}function _0x398652(_0x22481a){return new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15f571,_0x583676)=>{_0x22481a[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x15f571,_0x583676),window[_0x4066cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x583676,0x7ec41cd7^_0x30c3cd);});}}_0x596e05[_0x4066cd([0x6f,0x6e])](_0x4066cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c6e4d,_0x504957)=>{if(_0x504957[0x0]!=_0x517b73)return _0x20f30a(_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x504957[0x1]={..._0x504957[0x1],[_0x4066cd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49bb60};},{[_0x4066cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4066cd([0x68,0x69,0x67,0x68])}),_0x596e05[_0x4066cd([0x6f,0x6e])](_0x4066cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53d8d5=>{_0x5bb26c(_0x53d8d5[_0x4066cd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ad6b5=!0x0,_0x52d9a5(_0x53d8d5[_0x4066cd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4066cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4066cd([0x6c,0x6f,0x77])}),_0x39895b[_0x4066cd([0x74,0x68,0x65,0x6e])](()=>{_0x3ad6b5||_0x20f30a(_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ed463(){return _0x596e05[_0x4066cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4066cd([0x76,0x69,0x65,0x77])][_0x4066cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4066cd([0x61,0x75,0x74,0x6f]);}function _0x4ea9e8(){_0x596e05[_0x4066cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4066cd([0x76,0x69,0x65,0x77])][_0x4066cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4066cd([0x61,0x75,0x74,0x6f]);}}function _0x4e3c44(_0x24b966){const _0x1c5e22=[new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f9f72=>setTimeout(_0x1f9f72,0x7eccf6db^_0x30c3cd)),_0x39895b[_0x4066cd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3affa1=>{let _0x4e6fd4=0x0;_0x596e05[_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4066cd([0x6f,0x6e])](_0x4066cd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1654ad,_0x67f172)=>{_0x67f172[0x0][_0x4066cd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e6fd4++,_0x4e6fd4==(0x7ec5c9ef^_0x30c3cd)&&(_0x3affa1(),_0x1654ad[_0x4066cd([0x6f,0x66,0x66])]());});}))];return window[_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4066cd([0x72,0x61,0x63,0x65])](_0x1c5e22)[_0x4066cd([0x74,0x68,0x65,0x6e])](()=>_0x24b966);}async function _0x5e8f54(){await _0x39895b,_0x596e05[_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4066cd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50aef2,_0x596e05[_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4066cd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50aef2,_0x596e05[_0x4066cd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x564bd9(_0x520038){const _0x87f8e2=_0x5b4827();_0x596e05[_0x87f8e2]=_0x4066cd([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])+_0x520038,_0x520038!=_0x4066cd([0x56,0x61,0x6c,0x69,0x64])&&_0x5e8f54();}function _0x5b4827(){const _0x1e7e63=window[_0x4066cd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4066cd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4066cd([0x6e,0x6f,0x77])]())[_0x4066cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4066cd([0x2e]),'');let _0xc79eb1=_0x4066cd([0x4a]);for(let _0x3a822a=0x0;_0x3a822a<_0x1e7e63[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a822a+=0x2){let _0x50658e=window[_0x4066cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7e63[_0x4066cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a822a,_0x3a822a+0x2));_0x50658e>=_0x22941c[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50658e-=_0x22941c[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc79eb1+=_0x22941c[_0x50658e];}return _0xc79eb1;}function _0x34a9fb(){const _0x111d88=_0x2574eb[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e]));if(0x3!=_0x111d88[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb23425(_0x111d88[0x1]);function _0xb23425(_0x59e711){const _0x87a0e4=_0x19e05c(_0x59e711);return _0x87a0e4&&_0x124e6b()?_0x87a0e4:null;function _0x124e6b(){const _0xed3545=_0x87a0e4[_0x4066cd([0x6a,0x74,0x69])],_0x3fc73b=window[_0x4066cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xed3545[_0x4066cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xed3545[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ad829={..._0x87a0e4,[_0x4066cd([0x6a,0x74,0x69])]:_0xed3545[_0x4066cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xed3545[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ad829[_0x4066cd([0x76,0x63])],_0x363ddc(_0x4ad829)==_0x3fc73b;}}}async function _0xf57967(){let _0x34ab62=!0x0;try{const _0xde69a7=_0x2574eb[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e])),[_0x53dfc8,_0x4ad9cc,_0x47b6c4]=_0xde69a7;return _0x182bb8(_0x53dfc8),await _0x5c7a1a(_0x53dfc8,_0x4ad9cc,_0x47b6c4),_0x34ab62;}catch{return!0x1;}function _0x182bb8(_0x3caa53){const _0x5e3ec4=_0x19e05c(_0x3caa53);_0x5e3ec4&&_0x5e3ec4[_0x4066cd([0x61,0x6c,0x67])]==_0x4066cd([0x45,0x53,0x32,0x35,0x36])||(_0x34ab62=!0x1);}async function _0x5c7a1a(_0x57385a,_0x387ae9,_0x3f5d48){const _0x2834fb=window[_0x4066cd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4066cd([0x66,0x72,0x6f,0x6d])](_0x53db6a(_0x3f5d48),_0x5c5d70=>_0x5c5d70[_0x4066cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17e5b0=new window[(_0x4066cd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4066cd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57385a+_0x4066cd([0x2e])+_0x387ae9),_0x5be647=window[_0x4066cd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4066cd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5be647)return;const _0x5474a7=await _0x5be647[_0x4066cd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4066cd([0x6a,0x77,0x6b]),_0x30ee03,{[_0x4066cd([0x6e,0x61,0x6d,0x65])]:_0x4066cd([0x45,0x43,0x44,0x53,0x41]),[_0x4066cd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4066cd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4066cd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5be647[_0x4066cd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4066cd([0x6e,0x61,0x6d,0x65])]:_0x4066cd([0x45,0x43,0x44,0x53,0x41]),[_0x4066cd([0x68,0x61,0x73,0x68])]:{[_0x4066cd([0x6e,0x61,0x6d,0x65])]:_0x4066cd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5474a7,_0x2834fb,_0x17e5b0)||(_0x34ab62=!0x1);}}function _0x19e05c(_0x20d1b1){return _0x20d1b1[_0x4066cd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4066cd([0x65,0x79]))?JSON[_0x4066cd([0x70,0x61,0x72,0x73,0x65])](_0x53db6a(_0x20d1b1)):null;}function _0x53db6a(_0x379b11){return window[_0x4066cd([0x61,0x74,0x6f,0x62])](_0x379b11[_0x4066cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4066cd([0x2b]))[_0x4066cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4066cd([0x2f])));}function _0x363ddc(_0x266441){let _0x4d4fd8=0x1505;function _0x1d4200(_0x33a4d0){for(let _0x398472=0x0;_0x398472<_0x33a4d0[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x398472++){const _0x285263=_0x33a4d0[_0x4066cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x398472);_0x4d4fd8=(_0x4d4fd8<<0x5)+_0x4d4fd8+_0x285263,_0x4d4fd8&=_0x4d4fd8;}}function _0x12f921(_0xb2da07){Array[_0x4066cd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb2da07)?_0xb2da07[_0x4066cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12f921):_0xb2da07&&typeof _0xb2da07==_0x4066cd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4066cd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb2da07)[_0x4066cd([0x73,0x6f,0x72,0x74])]()[_0x4066cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x488ffa,_0x374ad4])=>{_0x1d4200(_0x488ffa),_0x12f921(_0x374ad4);}):_0x1d4200(window[_0x4066cd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb2da07));}return _0x12f921(_0x266441),_0x4d4fd8>>>0x0;}function _0x406a31(_0x8e7ab5){return _0x8e7ab5[_0x4066cd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4066cd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4066cd([0x30]));}function _0x461702(_0x549d42){return _0x549d42[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4066cd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4066cd([0x6a,0x6f,0x69,0x6e])]('');}function _0x50aef2(){}function _0x4066cd(_0x5aee0d){return _0x5aee0d['map'](_0x594bcc=>String['fromCharCode'](_0x594bcc))['join']('');}_0x564bd9(await _0x129c21());}(this);}['_createButton'](_0x12e560,_0x2e9333,_0x302db4=!0x1){const _0x53bbe4=new _0x12e560(this['editor']['locale']);return _0x53bbe4['set']({'withText':_0x302db4,'isToggleable':!0x1}),_0x53bbe4['bind']('isEnabled')['to'](_0x2e9333,'isEnabled'),this['listenTo'](_0x53bbe4,'execute',()=>_0x2e9333['execute']()),_0x53bbe4;}['_registerKeybindings'](){const _0x567b03=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x567b03,'Source\x20Editing\x20Enhanced')});const _0x55b19c=_0x58ae03['isMac']||_0x58ae03['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x567b03,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x567b03,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x567b03,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x567b03,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x567b03,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x567b03,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x567b03,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x55b19c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x567b03,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x567b03,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x567b03,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x567b03,'Select\x20line'),'keystroke':_0x55b19c?'Ctrl!+L':'Alt+L'},{'label':f(_0x567b03,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x55b19c?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x567b03,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x567b03,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x567b03,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x567b03,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x567b03,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x55b19c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x50901d{constructor(_0x1347e2){super(_0x1347e2),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x21344b,_0xef5948){const _0x4dbd22=this['editor'],_0x18e09e=_0xef5948?.['rootName']??s(_0x4dbd22);_0x4dbd22['data']['set']({[_0x18e09e]:_0x21344b},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x417f1e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1561d6){super(_0x1561d6),_0x1561d6['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 _0x2cf6a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x286ce5;for(const _0x4dc1d8 in _0x2cf6a){const _0x488824=_0x4dc1d8,_0x23745a=_0x2cf6a[_0x488824];if('sourceEditingEnhancedLicenseKeyValid'==_0x23745a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x23745a||'sourceEditingEnhancedLicenseKeyExpired'==_0x23745a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x23745a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x23745a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x23745a||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x23745a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x23745a){delete _0x2cf6a[_0x488824],_0x286ce5=_0x23745a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x286ce5&&_0x2cf6a['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x286ce5&&_0x2cf6a['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x286ce5&&_0x2cf6a['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1566fa=this['editor'],_0x4effe3=_0x1566fa['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4effe3&&_0x1566fa['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x5f0d83('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4effe3&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x283ed8=>_0x1566fa['plugins']['has'](_0x283ed8))&&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.'),_0x1566fa['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 _0x43d65a,PendingActions as _0x7c44cb,Plugin as _0x4409ac}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x30f620,formatHtml as tr,env as _0x2974c2,uid as _0x59699e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x46475a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x5bbde8,ButtonView as _0x524292,MenuBarMenuListItemButtonView as _0x45ece9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3bdd99,crosshairCursor as _0x3494f4,drawSelection as _0x2d9a5c,dropCursor as _0x15a2dc,lineNumbers as _0x374d95,highlightActiveLine as _0x5d51d4,highlightActiveLineGutter as _0x14bea1,highlightSpecialChars as _0x19f065,rectangularSelection as _0x20c39c,keymap as _0x36860e}from'@codemirror/view';import{Compartment as _0x9031ab,Transaction as _0x177ef0}from'@codemirror/state';import{bracketMatching as _0x4da233,foldGutter as _0x4cd626,indentOnInput as _0x59374c,syntaxHighlighting as _0x106308,defaultHighlightStyle as _0x14e1c3,foldKeymap as _0x2c8c82}from'@codemirror/language';import{toggleTabFocusMode as _0x4ffc70,history as _0x11a354,defaultKeymap as _0xa79e93,historyKeymap as _0x2faedc,indentLess as _0x57cdf1,indentMore as _0x17b08f,redo as _0x46928e,undo as _0x324f73}from'@codemirror/commands';import{autocompletion as _0x163920,closeBrackets as _0x35a2c9,closeBracketsKeymap as _0x4619e1,completionKeymap as _0x24fcc4}from'@codemirror/autocomplete';import{html as _0x5068f3}from'@codemirror/lang-html';import{markdown as _0x4b769f}from'@codemirror/lang-markdown';import{oneDark as _0x4992ff}from'@codemirror/theme-one-dark';function f(_0x13322c,_0x76ec83){const t=_0x13322c['t'];switch(_0x76ec83){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 _0x76ec83;}}function s(_0x46294d){const _0x1cce95=_0x46294d['editing']['view']['document']['roots'],_0x3be8f1=_0x1cce95['length'];if(0x0===_0x3be8f1)throw new _0x30f620('source-editing-enhanced-editor-no-root',_0x46294d);if(0x1===_0x3be8f1)return _0x1cce95['first']['rootName'];return Array['from'](_0x46294d['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x1ed72b){return or(_0x1ed72b['replace'](/^[\n\s]*/g,''))?_0x1ed72b['replace'](/\s+/g,''):_0x1ed72b;}function or(_0x289e79){return _0x289e79['startsWith']('<');}function p(_0x3d0887){const _0x44396b=[_0x3bdd99['lineWrapping'],_0x163920(),_0x4da233(),_0x35a2c9(),_0x3494f4(),_0x2d9a5c(),_0x15a2dc(),_0x374d95(),_0x4cd626(),_0x5d51d4(),_0x14bea1(),_0x19f065(),_0x11a354(),_0x59374c(),_0x20c39c(),_0x106308(_0x14e1c3,{'fallback':!0x0})],_0x486a48=new _0x9031ab();_0x44396b['push'](_0x486a48['of'](_0x3bdd99['editable']['of'](!0x0))),'html'===_0x3d0887['syntaxLanguage']?_0x44396b['push'](_0x5068f3()):_0x44396b['push'](_0x4b769f());const _0x149819=function(_0x1ac591){if(_0x1ac591&&'default'!==_0x1ac591)return'dark'===_0x1ac591?_0x4992ff:_0x1ac591;return null;}(_0x3d0887['theme']);_0x149819&&_0x44396b['push'](_0x149819),_0x44396b['push'](_0x36860e['of']([..._0x4619e1,..._0xa79e93,..._0x2faedc,..._0x2c8c82,..._0x24fcc4,{'key':'Tab','run':_0x17b08f,'shift':_0x57cdf1,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x46928e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x46928e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x324f73,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x33eab4=new _0x3bdd99({'extensions':_0x44396b,'parent':_0x3d0887['parent']});return _0x4ffc70(_0x33eab4),{'focus':()=>{_0x33eab4['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x33eab4['focus']();},'getData':()=>_0x33eab4['state']['doc']['toString'](),'setData':_0x35892=>{_0x33eab4['dispatch']({'changes':{'from':0x0,'to':_0x33eab4['state']['doc']['length'],'insert':_0x35892},'annotations':_0x177ef0['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1f7b96=>{_0x33eab4['dispatch']({'effects':[_0x486a48['reconfigure'](_0x3bdd99['editable']['of'](!_0x1f7b96))]});},'destroy':()=>{_0x33eab4['destroy']();},'instance':_0x33eab4};}class m extends _0x5bbde8{['_codeEditorApi']=null;['_options'];constructor(_0x170a1a,_0x33d5a8){super(_0x170a1a),this['_options']=_0x33d5a8,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',(_0x3f85fe,_0x418f70,_0x2235c3)=>{this['setReadOnly'](_0x2235c3);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x82d5da){this['_codeEditorApi']['setData'](_0x82d5da);}['setReadOnly'](_0x46cf27){this['_codeEditorApi']['setReadOnly'](_0x46cf27);}}const b='SourceEditingEnhancedMode';class d extends _0x43d65a{constructor(_0x4617be){super(_0x4617be),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x7c44cb)['on']('change:hasAny',(_0x2bd4e9,_0x130749,_0x43358e)=>{_0x43358e?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x2626f6=this['editor'];for(const _0x41859b of _0x2626f6['commands']['names']())['replaceSource','editSource']['includes'](_0x41859b)||_0x2626f6['commands']['get'](_0x41859b)['forceDisabled'](b);}['_enableCommands'](){const _0x2cb0be=this['editor'];for(const _0x20549b of _0x2cb0be['commands']['commands']())_0x20549b['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x90e77=this['editor'],_0x2ac07b=_0x90e77['locale'],_0x4b8d95=_0x90e77['plugins']['get']('Dialog'),_0x4e3e66=s(_0x90e77),_0x51a0cb=_0x90e77['data']['get']({'rootName':_0x4e3e66}),_0x201cbf=or(_0x22d018=_0x51a0cb)?tr(_0x22d018):_0x22d018;var _0x22d018;const _0x40ffdc=new m(_0x2ac07b,{'syntaxLanguage':_0x90e77['plugins']['has']('Markdown')?'markdown':'html','theme':_0x90e77['config']['get']('sourceEditingEnhanced.theme')});let _0x4b06f4=!0x0;const _0x53d681=_0x48dda9=>{if(!_0x4b06f4)return;return E(_0x40ffdc['getData']())!==E(_0x201cbf)?window['confirm'](f(_0x2ac07b,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x48dda9['stop']():void 0x0;};_0x4b8d95['show']({'id':'sourceEditingEnhanced','title':f(_0x2ac07b,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x40ffdc,'actionButtons':[{'label':f(_0x2ac07b,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x4b8d95['hide']();}},{'label':f(_0x2ac07b,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x513330=E(_0x40ffdc['getData']())!==E(_0x201cbf);(_0x513330&&_0x90e77['execute']('replaceSource',_0x40ffdc['getData']()),_0x4b06f4=!0x1,_0x4b8d95['hide'](),_0x513330&&'editables'in _0x90e77['ui']['view'])&&_0x90e77['ui']['view']['editables'][_0x4e3e66]['element']['focus']();},'onCreate':_0x2cdef6=>{_0x2cdef6['set']('isEnabled',!_0x90e77['isReadOnly']),_0x2cdef6['bind']('isEnabled')['to'](_0x90e77,'isReadOnly',this,'isEnabled',(_0x1a0b97,_0x5b893b)=>!_0x1a0b97&&_0x5b893b);}}],'onHide':()=>{this['_enableCommands'](),_0x4b8d95['off']('hide',_0x53d681),_0x40ffdc['destroy']();},'onShow':()=>{_0x40ffdc['bind']('isReadOnly')['to'](_0x90e77,'isReadOnly',this,'isEnabled',(_0x2c64a4,_0x20975b)=>_0x2c64a4||!_0x20975b),_0x40ffdc['setData'](_0x201cbf),_0x40ffdc['focus'](),_0x4b8d95['on']('hide',_0x53d681,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4409ac{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x7c44cb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x15ee4e=this['editor'],_0x3ac347=_0x15ee4e['locale'],_0x5c2a46=new d(_0x15ee4e);_0x15ee4e['commands']['add']('editSource',_0x5c2a46),_0x15ee4e['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x46d78c=this['_createButton'](_0x524292,_0x5c2a46);return _0x46d78c['set']({'label':f(_0x3ac347,'Source'),'icon':_0x46475a,'tooltip':f(_0x3ac347,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x46d78c;}),_0x15ee4e['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x11b1a6=this['_createButton'](_0x45ece9,_0x5c2a46,!0x0);return _0x11b1a6['set']({'label':f(_0x3ac347,'Edit\x20source\x20modal\x20label'),'icon':_0x46475a,'role':'menuitemcheckbox'}),_0x11b1a6;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xef628e){const _0x222261=_0x5651ac([0x4b,0x75,0x65,0x4d,0x42,0x31,0x6b,0x63,0x6e,0x32,0x36,0x50,0x5a,0x78,0x45,0x4a,0x38,0x62,0x6a,0x67,0x4e,0x66,0x6f,0x74,0x76,0x79,0x43,0x7a,0x71,0x30,0x4f,0x37,0x34,0x70,0x4c,0x58,0x47,0x52,0x69,0x68,0x6d,0x48,0x73,0x55,0x57,0x39,0x56,0x51,0x61,0x49,0x59,0x33,0x64,0x46,0x6c,0x54,0x44,0x41,0x72,0x53,0x77,0x35]),_0x5e4ba6=0x264f762a,_0x445a68=0x26481fe2^_0x5e4ba6,_0x2d4c49=window[_0x5651ac([0x44,0x61,0x74,0x65])][_0x5651ac([0x6e,0x6f,0x77])](),_0x247caa=_0xef628e[_0x5651ac([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32622f=new window[(_0x5651ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3579ed=>{_0x247caa[_0x5651ac([0x6f,0x6e,0x63,0x65])](_0x5651ac([0x72,0x65,0x61,0x64,0x79]),_0x3579ed);}),_0x2a06de={[_0x5651ac([0x6b,0x74,0x79])]:_0x5651ac([0x45,0x43]),[_0x5651ac([0x75,0x73,0x65])]:_0x5651ac([0x73,0x69,0x67]),[_0x5651ac([0x63,0x72,0x76])]:_0x5651ac([0x50,0x2d,0x32,0x35,0x36]),[_0x5651ac([0x78])]:_0x5651ac([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]),[_0x5651ac([0x79])]:_0x5651ac([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]),[_0x5651ac([0x61,0x6c,0x67])]:_0x5651ac([0x45,0x53,0x32,0x35,0x36])},_0x10ae7c=_0x247caa[_0x5651ac([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5651ac([0x67,0x65,0x74])](_0x5651ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38025c(){let _0x267126,_0x36c572=null,_0x3eeeed=null;try{if(_0x10ae7c==_0x5651ac([0x47,0x50,0x4c]))return _0x5651ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x267126=_0x540560(),!_0x267126)return _0x5651ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x267126[_0x5651ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3eeeed=_0x119913(_0x267126[_0x5651ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x267126[_0x5651ac([0x6a,0x74,0x69])])),await _0x59dd48()?_0x248fdf()?_0x1606e7()?_0x5651ac([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2bd4f9()?(_0x267126[_0x5651ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5651ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36c572=_0x40aedd(_0x5651ac([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x267126[_0x5651ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5651ac([0x74,0x72,0x69,0x61,0x6c])&&(_0x36c572=_0x40aedd(_0x5651ac([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x458eca()):_0x5651ac([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5651ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5651ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5651ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1606e7(){const _0x2b140a=[_0x5651ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5651ac([0x74,0x72,0x69,0x61,0x6c])][_0x5651ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x267126[_0x5651ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d4c49/0x3e8:0xe10*_0x445a68;return _0x267126[_0x5651ac([0x65,0x78,0x70])]<_0x2b140a;}function _0x248fdf(){const _0x3e9b0f=_0x267126[_0x5651ac([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3e9b0f&&(!!_0x3e9b0f[_0x5651ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5651ac([0x2a]))||!!_0x3e9b0f[_0x5651ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5651ac([0x53,0x45,0x45])));}function _0x2bd4f9(){const _0x4dd2cd=_0x267126[_0x5651ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4dd2cd||0x0==_0x4dd2cd[_0x5651ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23980e}=new URL(window[_0x5651ac([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4dd2cd[_0x5651ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23980e))return!0x0;const _0x2faeb4=_0x23980e[_0x5651ac([0x73,0x70,0x6c,0x69,0x74])](_0x5651ac([0x2e]));return _0x4dd2cd[_0x5651ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x188ea6=>_0x188ea6[_0x5651ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5651ac([0x2a])))[_0x5651ac([0x6d,0x61,0x70])](_0x539a77=>_0x539a77[_0x5651ac([0x73,0x70,0x6c,0x69,0x74])](_0x5651ac([0x2e])))[_0x5651ac([0x73,0x6f,0x6d,0x65])](_0x6a9bc9=>_0x2faeb4[_0x5651ac([0x65,0x76,0x65,0x72,0x79])]((_0x3cc26a,_0x4ed5f6)=>_0x6a9bc9[_0x4ed5f6]===_0x3cc26a||_0x6a9bc9[_0x4ed5f6]===_0x5651ac([0x2a])));}function _0x458eca(){return _0x36c572&&_0x3eeeed?new window[(_0x5651ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1baa7f,_0x47b7a3)=>{_0x36c572[_0x5651ac([0x74,0x68,0x65,0x6e])](_0x1baa7f,_0x47b7a3),_0x3eeeed[_0x5651ac([0x74,0x68,0x65,0x6e])](_0x31192f=>{_0x31192f!=_0x5651ac([0x56,0x61,0x6c,0x69,0x64])&&_0x1baa7f(_0x31192f);},_0x47b7a3);}):_0x36c572||_0x3eeeed||_0x5651ac([0x56,0x61,0x6c,0x69,0x64]);}}function _0x119913(_0x4da628,_0x2435ff){return new window[(_0x5651ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eeaea=>{if(_0x33b1a1())return _0x3eeaea(_0x5651ac([0x56,0x61,0x6c,0x69,0x64]));_0x580fff(),_0x247caa[_0x5651ac([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5651ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1627e3=!0x1;const _0x2baf49=_0x59699e();function _0x35b47b(_0x24e84b){return!!_0x24e84b&&(typeof _0x24e84b===_0x5651ac([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24e84b===_0x5651ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24e84b[_0x5651ac([0x74,0x68,0x65,0x6e])]===_0x5651ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24e84b[_0x5651ac([0x63,0x61,0x74,0x63,0x68])]===_0x5651ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ebb40(_0x548a4f){_0xda533d(_0x548a4f)[_0x5651ac([0x74,0x68,0x65,0x6e])](_0x3a0fa4=>{if(!_0x3a0fa4||_0x3a0fa4[_0x5651ac([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5651ac([0x6f,0x6b]))return _0x5651ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ae926(_0xd8f61e(_0x2baf49+_0x2435ff))!=_0x3a0fa4[_0x5651ac([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5651ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5651ac([0x56,0x61,0x6c,0x69,0x64]);})[_0x5651ac([0x74,0x68,0x65,0x6e])](_0x5f1e49=>(_0x21766f(),_0x5f1e49),()=>{const _0x523611=_0x239515();return null==_0x523611?(_0x21766f(),_0x5651ac([0x56,0x61,0x6c,0x69,0x64])):_0x5651ac(_0x2d4c49-_0x523611>(0x243f22a^_0x5e4ba6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5651ac([0x74,0x68,0x65,0x6e])](_0x3eeaea)[_0x5651ac([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3eeaea(_0x5651ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x399209=0x267998aa^_0x5e4ba6;function _0x21766f(){const _0x33ad23=_0x5651ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae926(_0xd8f61e(_0x4da628)),_0x12ecdc=_0x18ab5b(_0x5ae926(window[_0x5651ac([0x4d,0x61,0x74,0x68])][_0x5651ac([0x63,0x65,0x69,0x6c])](_0x2d4c49/_0x399209)));window[_0x5651ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5651ac([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33ad23,_0x12ecdc);}function _0x239515(){const _0x3a1dae=_0x5651ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae926(_0xd8f61e(_0x4da628)),_0x3e7979=window[_0x5651ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5651ac([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a1dae);return _0x3e7979?window[_0x5651ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18ab5b(_0x3e7979),0x10)*_0x399209:null;}function _0xda533d(_0x3958a4){return new window[(_0x5651ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34e33f,_0x1b2945)=>{_0x3958a4[_0x5651ac([0x74,0x68,0x65,0x6e])](_0x34e33f,_0x1b2945),window[_0x5651ac([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b2945,0x264ea2ea^_0x5e4ba6);});}}_0x247caa[_0x5651ac([0x6f,0x6e])](_0x5651ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x476aad,_0x1445f7)=>{if(_0x1445f7[0x0]!=_0x4da628)return _0x3eeaea(_0x5651ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1445f7[0x1]={..._0x1445f7[0x1],[_0x5651ac([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2baf49};},{[_0x5651ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5651ac([0x68,0x69,0x67,0x68])}),_0x247caa[_0x5651ac([0x6f,0x6e])](_0x5651ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12c7fe=>{_0x35b47b(_0x12c7fe[_0x5651ac([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1627e3=!0x0,_0x3ebb40(_0x12c7fe[_0x5651ac([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5651ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5651ac([0x6c,0x6f,0x77])}),_0x32622f[_0x5651ac([0x74,0x68,0x65,0x6e])](()=>{_0x1627e3||_0x3eeaea(_0x5651ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33b1a1(){return _0x247caa[_0x5651ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5651ac([0x76,0x69,0x65,0x77])][_0x5651ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5651ac([0x61,0x75,0x74,0x6f]);}function _0x580fff(){_0x247caa[_0x5651ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5651ac([0x76,0x69,0x65,0x77])][_0x5651ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5651ac([0x61,0x75,0x74,0x6f]);}}function _0x40aedd(_0x1b5508){const _0x4a1ade=[new window[(_0x5651ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eae5a=>setTimeout(_0x1eae5a,0x264648e6^_0x5e4ba6)),_0x32622f[_0x5651ac([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5651ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5de21a=>{let _0x3724ff=0x0;_0x247caa[_0x5651ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5651ac([0x6f,0x6e])](_0x5651ac([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x184aa6,_0x483d64)=>{_0x483d64[0x0][_0x5651ac([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3724ff++,_0x3724ff==(0x264f77d2^_0x5e4ba6)&&(_0x5de21a(),_0x184aa6[_0x5651ac([0x6f,0x66,0x66])]());});}))];return window[_0x5651ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5651ac([0x72,0x61,0x63,0x65])](_0x4a1ade)[_0x5651ac([0x74,0x68,0x65,0x6e])](()=>_0x1b5508);}async function _0x112a69(){await _0x32622f,_0x247caa[_0x5651ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5651ac([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14f5cb,_0x247caa[_0x5651ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5651ac([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14f5cb,_0x247caa[_0x5651ac([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5651ac([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5eece5(_0x19b30e){const _0x19e95a=_0x9fe52f();_0x247caa[_0x19e95a]=_0x5651ac([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])+_0x19b30e,_0x19b30e!=_0x5651ac([0x56,0x61,0x6c,0x69,0x64])&&_0x112a69();}function _0x9fe52f(){const _0x50de0f=window[_0x5651ac([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5651ac([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5651ac([0x6e,0x6f,0x77])]())[_0x5651ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5651ac([0x2e]),'');let _0x3951f1=_0x5651ac([0x4b]);for(let _0x1b3ed3=0x0;_0x1b3ed3<_0x50de0f[_0x5651ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b3ed3+=0x2){let _0x323663=window[_0x5651ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50de0f[_0x5651ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b3ed3,_0x1b3ed3+0x2));_0x323663>=_0x222261[_0x5651ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x323663-=_0x222261[_0x5651ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3951f1+=_0x222261[_0x323663];}return _0x3951f1;}function _0x540560(){const _0x38193f=_0x10ae7c[_0x5651ac([0x73,0x70,0x6c,0x69,0x74])](_0x5651ac([0x2e]));if(0x3!=_0x38193f[_0x5651ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec576(_0x38193f[0x1]);function _0x4ec576(_0x43f5a5){const _0x53cf16=_0x3dafbc(_0x43f5a5);return _0x53cf16&&_0x5c0757()?_0x53cf16:null;function _0x5c0757(){const _0x58e431=_0x53cf16[_0x5651ac([0x6a,0x74,0x69])],_0x44a4e4=window[_0x5651ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58e431[_0x5651ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58e431[_0x5651ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1af548={..._0x53cf16,[_0x5651ac([0x6a,0x74,0x69])]:_0x58e431[_0x5651ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58e431[_0x5651ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1af548[_0x5651ac([0x76,0x63])],_0xd8f61e(_0x1af548)==_0x44a4e4;}}}async function _0x59dd48(){let _0x27668b=!0x0;try{const _0x4fec70=_0x10ae7c[_0x5651ac([0x73,0x70,0x6c,0x69,0x74])](_0x5651ac([0x2e])),[_0x54eb39,_0x300866,_0x3935c7]=_0x4fec70;return _0x1dcaf0(_0x54eb39),await _0x2ebe7b(_0x54eb39,_0x300866,_0x3935c7),_0x27668b;}catch{return!0x1;}function _0x1dcaf0(_0x44a518){const _0x160f13=_0x3dafbc(_0x44a518);_0x160f13&&_0x160f13[_0x5651ac([0x61,0x6c,0x67])]==_0x5651ac([0x45,0x53,0x32,0x35,0x36])||(_0x27668b=!0x1);}async function _0x2ebe7b(_0x40a2f1,_0x4afff9,_0x57b156){const _0x21263b=window[_0x5651ac([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5651ac([0x66,0x72,0x6f,0x6d])](_0x54b7b9(_0x57b156),_0x2950bb=>_0x2950bb[_0x5651ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2789b9=new window[(_0x5651ac([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5651ac([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40a2f1+_0x5651ac([0x2e])+_0x4afff9),_0x5b6f67=window[_0x5651ac([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5651ac([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b6f67)return;const _0x1d005c=await _0x5b6f67[_0x5651ac([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5651ac([0x6a,0x77,0x6b]),_0x2a06de,{[_0x5651ac([0x6e,0x61,0x6d,0x65])]:_0x5651ac([0x45,0x43,0x44,0x53,0x41]),[_0x5651ac([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5651ac([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5651ac([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b6f67[_0x5651ac([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5651ac([0x6e,0x61,0x6d,0x65])]:_0x5651ac([0x45,0x43,0x44,0x53,0x41]),[_0x5651ac([0x68,0x61,0x73,0x68])]:{[_0x5651ac([0x6e,0x61,0x6d,0x65])]:_0x5651ac([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d005c,_0x21263b,_0x2789b9)||(_0x27668b=!0x1);}}function _0x3dafbc(_0x13387c){return _0x13387c[_0x5651ac([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5651ac([0x65,0x79]))?JSON[_0x5651ac([0x70,0x61,0x72,0x73,0x65])](_0x54b7b9(_0x13387c)):null;}function _0x54b7b9(_0x462214){return window[_0x5651ac([0x61,0x74,0x6f,0x62])](_0x462214[_0x5651ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5651ac([0x2b]))[_0x5651ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5651ac([0x2f])));}function _0xd8f61e(_0x7c0cc9){let _0x4261b7=0x1505;function _0x46f532(_0x1f3958){for(let _0x5cd226=0x0;_0x5cd226<_0x1f3958[_0x5651ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cd226++){const _0x1b1c3f=_0x1f3958[_0x5651ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5cd226);_0x4261b7=(_0x4261b7<<0x5)+_0x4261b7+_0x1b1c3f,_0x4261b7&=_0x4261b7;}}function _0x4d62b2(_0x4e2963){Array[_0x5651ac([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e2963)?_0x4e2963[_0x5651ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d62b2):_0x4e2963&&typeof _0x4e2963==_0x5651ac([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5651ac([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e2963)[_0x5651ac([0x73,0x6f,0x72,0x74])]()[_0x5651ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51f5c9,_0x4599cd])=>{_0x46f532(_0x51f5c9),_0x4d62b2(_0x4599cd);}):_0x46f532(window[_0x5651ac([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e2963));}return _0x4d62b2(_0x7c0cc9),_0x4261b7>>>0x0;}function _0x5ae926(_0x5bb9d0){return _0x5bb9d0[_0x5651ac([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5651ac([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5651ac([0x30]));}function _0x18ab5b(_0x1765a7){return _0x1765a7[_0x5651ac([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5651ac([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5651ac([0x6a,0x6f,0x69,0x6e])]('');}function _0x14f5cb(){}function _0x5651ac(_0x4fef86){return _0x4fef86['map'](_0x45b80d=>String['fromCharCode'](_0x45b80d))['join']('');}_0x5eece5(await _0x38025c());}(this);}['_createButton'](_0x25d75d,_0x1fcbf8,_0x2d51f6=!0x1){const _0x96407e=new _0x25d75d(this['editor']['locale']);return _0x96407e['set']({'withText':_0x2d51f6,'isToggleable':!0x1}),_0x96407e['bind']('isEnabled')['to'](_0x1fcbf8,'isEnabled'),this['listenTo'](_0x96407e,'execute',()=>_0x1fcbf8['execute']()),_0x96407e;}['_registerKeybindings'](){const _0x480e1f=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x480e1f,'Source\x20Editing\x20Enhanced')});const _0x2abaa5=_0x2974c2['isMac']||_0x2974c2['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x480e1f,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x480e1f,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x480e1f,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x480e1f,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x480e1f,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x480e1f,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x480e1f,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x2abaa5?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x480e1f,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x480e1f,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x480e1f,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x480e1f,'Select\x20line'),'keystroke':_0x2abaa5?'Ctrl!+L':'Alt+L'},{'label':f(_0x480e1f,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x2abaa5?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x480e1f,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x480e1f,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x480e1f,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x480e1f,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x480e1f,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x2abaa5?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x43d65a{constructor(_0xe5ff9c){super(_0xe5ff9c),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xa5683f,_0x31bf53){const _0x11ec47=this['editor'],_0x17e627=_0x31bf53?.['rootName']??s(_0x11ec47);_0x11ec47['data']['set']({[_0x17e627]:_0xa5683f},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x4409ac{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x10108f){super(_0x10108f),_0x10108f['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 _0x37b987=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x7805a1;for(const _0x2bc083 in _0x37b987){const _0x380807=_0x2bc083,_0x5884c0=_0x37b987[_0x380807];if('sourceEditingEnhancedLicenseKeyValid'==_0x5884c0||'sourceEditingEnhancedLicenseKeyInvalid'==_0x5884c0||'sourceEditingEnhancedLicenseKeyExpired'==_0x5884c0||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5884c0||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5884c0||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5884c0||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x5884c0||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5884c0){delete _0x37b987[_0x380807],_0x7805a1=_0x5884c0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x7805a1&&_0x37b987['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x7805a1&&_0x37b987['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x7805a1&&_0x37b987['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x7805a1&&_0x37b987['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x7805a1&&_0x37b987['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x7805a1&&_0x37b987['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x7805a1&&_0x37b987['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xc49603=this['editor'],_0x4f76ae=_0xc49603['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4f76ae&&_0xc49603['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x30f620('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4f76ae&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4a3890=>_0xc49603['plugins']['has'](_0x4a3890))&&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.'),_0xc49603['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "45.2.0-alpha.6",
3
+ "version": "45.2.0-alpha.7",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "45.2.0-alpha.6",
22
- "@ckeditor/ckeditor5-icons": "45.2.0-alpha.6",
23
- "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.6",
24
- "@ckeditor/ckeditor5-ui": "45.2.0-alpha.6",
25
- "@ckeditor/ckeditor5-utils": "45.2.0-alpha.6",
21
+ "@ckeditor/ckeditor5-core": "45.2.0-alpha.7",
22
+ "@ckeditor/ckeditor5-icons": "45.2.0-alpha.7",
23
+ "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.7",
24
+ "@ckeditor/ckeditor5-ui": "45.2.0-alpha.7",
25
+ "@ckeditor/ckeditor5-utils": "45.2.0-alpha.7",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.0",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "45.2.0-alpha.6"
34
+ "ckeditor5": "45.2.0-alpha.7"
35
35
  },
36
36
  "license": "SEE LICENSE IN LICENSE.md",
37
37
  "author": "CKSource (http://cksource.com/)",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a6625=_0x3416;function _0x33f0(){const _0x41ebfc=['listenTo','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','accessibility','Source\x20Editing\x20Enhanced','locale','Cmd+Alt+[','Fold\x20all','Unfold\x20all','24lpsYbT','_registerKeybindings','Unfold\x20code\x20(current\x20level)','Toggle\x20comment','9stiIbE','execute','afterInit','Ctrl+/','Toggle\x20block\x20comment','pluginName','Delete\x20line','Move\x20line\x20up','Fold\x20code\x20(current\x20level)','commands','19792474lNLoOD','Ctrl+Z','Undo\x20(keystroke)','Select\x20line','Ctrl!+L','Shift+Alt+A','Copy\x20line\x20down','Alt+ArrowUp','Copy\x20line\x20up','menuitemcheckbox','add','join','requires','Ctrl+Shift+]','href','2ZHsXAE','Ctrl+]','1511876yevMwC','157444wNHrjv','set','addKeystrokeInfos','450558qkPqMv','menuBar:sourceEditingEnhanced','init','Edit\x20source\x20modal\x20label','4054939MPoFKd','fromCharCode','Ctrl+[','Ctrl+Shift+Z','Alt+L','Source','3218660fFVdYg','isMac','16ttbbhJ','Ctrl+M','Ctrl+Shift+[','Ctrl+Y','SourceEditingEnhancedUI','Shift+Alt+ArrowUp','10fbwFzE','Shift+Alt+ArrowDown','Cmd+Alt+]','map','isPremiumPlugin','Ctrl!+Alt+[','Indent\x20less','22nzQCxR','Redo\x20(keystroke)','Move\x20line\x20down','_createButton','Indent\x20more','3194802FJVYHh','Alt+Shift+M','addKeystrokeInfoCategory','Alt+ArrowDown','componentFactory','isiOS','ck-source-editing-enhanced-button','sourceEditingEnhanced','isOfficialPlugin','editor','Shift+Ctrl+K','Ctrl!+Alt+]','isEnabled','bind','editSource'];_0x33f0=function(){return _0x41ebfc;};return _0x33f0();}(function(_0x1a5607,_0x5d4109){const _0x22dfc1=_0x3416,_0x40701d=_0x1a5607();while(!![]){try{const _0x4283d2=-parseInt(_0x22dfc1(0x20b))/0x1*(parseInt(_0x22dfc1(0x20d))/0x2)+-parseInt(_0x22dfc1(0x1f2))/0x3*(parseInt(_0x22dfc1(0x20e))/0x4)+-parseInt(_0x22dfc1(0x223))/0x5*(parseInt(_0x22dfc1(0x22f))/0x6)+-parseInt(_0x22dfc1(0x215))/0x7*(-parseInt(_0x22dfc1(0x21d))/0x8)+-parseInt(_0x22dfc1(0x211))/0x9+-parseInt(_0x22dfc1(0x21b))/0xa*(parseInt(_0x22dfc1(0x22a))/0xb)+-parseInt(_0x22dfc1(0x1ee))/0xc*(-parseInt(_0x22dfc1(0x1fc))/0xd);if(_0x4283d2===_0x5d4109)break;else _0x40701d['push'](_0x40701d['shift']());}catch(_0x54eac7){_0x40701d['push'](_0x40701d['shift']());}}}(_0x33f0,0xc6f0f));import{Plugin as _0x829256,PendingActions as _0x1f5caa}from'ckeditor5/src/core.js';function _0x3416(_0x359d82,_0x11d0e7){const _0x33f0ac=_0x33f0();return _0x3416=function(_0x341685,_0x54968d){_0x341685=_0x341685-0x1eb;let _0x2aa7c2=_0x33f0ac[_0x341685];return _0x2aa7c2;},_0x3416(_0x359d82,_0x11d0e7);}import{IconSource as _0x10aede}from'ckeditor5/src/icons.js';import{ButtonView as _0x5040ca,MenuBarMenuListItemButtonView as _0x1649a5}from'ckeditor5/src/ui.js';import _0x24b0b6 from'./ui/editsourcecommand.js';import{getTranslation as _0x5b9612}from'./utils/common-translations.js';import{env as _0x3f95fc,uid as _0x48a29f}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x829256{static get[_0x3a6625(0x1f7)](){const _0x407347=_0x3a6625;return _0x407347(0x221);}static get[_0x3a6625(0x208)](){return[_0x1f5caa];}static get[_0x3a6625(0x237)](){return!0x0;}static get[_0x3a6625(0x227)](){return!0x0;}[_0x3a6625(0x213)](){const _0x59fa0a=_0x3a6625,_0x380677=this[_0x59fa0a(0x238)],_0x300a29=_0x380677[_0x59fa0a(0x242)],_0x13279c=new _0x24b0b6(_0x380677);_0x380677[_0x59fa0a(0x1fb)][_0x59fa0a(0x206)](_0x59fa0a(0x23d),_0x13279c),_0x380677['ui'][_0x59fa0a(0x233)][_0x59fa0a(0x206)](_0x59fa0a(0x236),()=>{const _0x13b95a=_0x59fa0a,_0x276356=this[_0x13b95a(0x22d)](_0x5040ca,_0x13279c);return _0x276356[_0x13b95a(0x20f)]({'label':_0x5b9612(_0x300a29,_0x13b95a(0x21a)),'icon':_0x10aede,'tooltip':_0x5b9612(_0x300a29,_0x13b95a(0x214)),'class':_0x13b95a(0x235)}),_0x276356;}),_0x380677['ui'][_0x59fa0a(0x233)][_0x59fa0a(0x206)](_0x59fa0a(0x212),()=>{const _0x24baa9=_0x59fa0a,_0x592a9a=this[_0x24baa9(0x22d)](_0x1649a5,_0x13279c,!0x0);return _0x592a9a[_0x24baa9(0x20f)]({'label':_0x5b9612(_0x300a29,_0x24baa9(0x214)),'icon':_0x10aede,'role':_0x24baa9(0x205)}),_0x592a9a;}),this[_0x59fa0a(0x1ef)]();}[_0x3a6625(0x1f4)](){!async function(_0x1248de){const _0x1915cd=_0x20b4e4([0x4a,0x31,0x54,0x48,0x4f,0x41,0x43,0x63,0x56,0x65,0x4d,0x4b,0x6d,0x38,0x44,0x62,0x78,0x77,0x42,0x67,0x6c,0x71,0x30,0x69,0x58,0x52,0x55,0x37,0x74,0x46,0x70,0x49,0x61,0x66,0x76,0x79,0x33,0x6a,0x73,0x64,0x57,0x51,0x32,0x47,0x36,0x35,0x4c,0x39,0x4e,0x5a,0x50,0x59,0x72,0x6e,0x6b,0x6f,0x53,0x7a,0x34,0x75,0x68,0x45]),_0xab85c6=0x7ec5c817,_0x44b9bb=0x7ec2a1a7^_0xab85c6,_0x335b0b=window[_0x20b4e4([0x44,0x61,0x74,0x65])][_0x20b4e4([0x6e,0x6f,0x77])](),_0x47d22d=_0x1248de[_0x20b4e4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f5d24=new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd01cf7=>{_0x47d22d[_0x20b4e4([0x6f,0x6e,0x63,0x65])](_0x20b4e4([0x72,0x65,0x61,0x64,0x79]),_0xd01cf7);}),_0x10ef62={[_0x20b4e4([0x6b,0x74,0x79])]:_0x20b4e4([0x45,0x43]),[_0x20b4e4([0x75,0x73,0x65])]:_0x20b4e4([0x73,0x69,0x67]),[_0x20b4e4([0x63,0x72,0x76])]:_0x20b4e4([0x50,0x2d,0x32,0x35,0x36]),[_0x20b4e4([0x78])]:_0x20b4e4([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]),[_0x20b4e4([0x79])]:_0x20b4e4([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]),[_0x20b4e4([0x61,0x6c,0x67])]:_0x20b4e4([0x45,0x53,0x32,0x35,0x36])},_0x4078ab=_0x47d22d[_0x20b4e4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20b4e4([0x67,0x65,0x74])](_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x338065(){let _0xc55384,_0x204621=null,_0x1d1b84=null;try{if(_0x4078ab==_0x20b4e4([0x47,0x50,0x4c]))return _0x20b4e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc55384=_0x5910ca(),!_0xc55384)return _0x20b4e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc55384[_0x20b4e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d1b84=_0x1fcd6a(_0xc55384[_0x20b4e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc55384[_0x20b4e4([0x6a,0x74,0x69])])),await _0x24fe78()?_0x4827a7()?_0x44ba2a()?_0x20b4e4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d3a8a()?(_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20b4e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x204621=_0x1b49ea(_0x20b4e4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20b4e4([0x74,0x72,0x69,0x61,0x6c])&&(_0x204621=_0x1b49ea(_0x20b4e4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x595da0()):_0x20b4e4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20b4e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20b4e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20b4e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44ba2a(){const _0x175a29=[_0x20b4e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20b4e4([0x74,0x72,0x69,0x61,0x6c])][_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x335b0b/0x3e8:0xe10*_0x44b9bb;return _0xc55384[_0x20b4e4([0x65,0x78,0x70])]<_0x175a29;}function _0x4827a7(){const _0x3d392c=_0xc55384[_0x20b4e4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d392c&&(!!_0x3d392c[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b4e4([0x2a]))||!!_0x3d392c[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b4e4([0x53,0x45,0x45])));}function _0x2d3a8a(){const _0x3c168d=_0x3416,_0x54ddd8=_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54ddd8||0x0==_0x54ddd8[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x413c42}=new URL(window[_0x20b4e4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c168d(0x20a)]);if(_0x54ddd8[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x413c42))return!0x0;const _0x450f19=_0x413c42[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e]));return _0x54ddd8[_0x20b4e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x443212=>_0x443212[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b4e4([0x2a])))[_0x20b4e4([0x6d,0x61,0x70])](_0x3f4b13=>_0x3f4b13[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e])))[_0x20b4e4([0x73,0x6f,0x6d,0x65])](_0x3d67ff=>_0x450f19[_0x20b4e4([0x65,0x76,0x65,0x72,0x79])]((_0x219e23,_0x589625)=>_0x3d67ff[_0x589625]===_0x219e23||_0x3d67ff[_0x589625]===_0x20b4e4([0x2a])));}function _0x595da0(){return _0x204621&&_0x1d1b84?new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3090ea,_0x501bce)=>{_0x204621[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x3090ea,_0x501bce),_0x1d1b84[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x4bf121=>{_0x4bf121!=_0x20b4e4([0x56,0x61,0x6c,0x69,0x64])&&_0x3090ea(_0x4bf121);},_0x501bce);}):_0x204621||_0x1d1b84||_0x20b4e4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1fcd6a(_0x39b8ca,_0x243bdf){return new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5483d4=>{if(_0xb58075())return _0x5483d4(_0x20b4e4([0x56,0x61,0x6c,0x69,0x64]));_0x8aff87(),_0x47d22d[_0x20b4e4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20b4e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ebcaf=!0x1;const _0x503937=_0x48a29f();function _0x33e83e(_0x2a43dc){return!!_0x2a43dc&&(typeof _0x2a43dc===_0x20b4e4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a43dc===_0x20b4e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a43dc[_0x20b4e4([0x74,0x68,0x65,0x6e])]===_0x20b4e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a43dc[_0x20b4e4([0x63,0x61,0x74,0x63,0x68])]===_0x20b4e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x276d32(_0x2f85e3){_0x4f6e5b(_0x2f85e3)[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x2c2d7a=>{if(!_0x2c2d7a||_0x2c2d7a[_0x20b4e4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20b4e4([0x6f,0x6b]))return _0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22ddc8(_0x1e2915(_0x503937+_0x243bdf))!=_0x2c2d7a[_0x20b4e4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20b4e4([0x56,0x61,0x6c,0x69,0x64]);})[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x3a282f=>(_0x1569a2(),_0x3a282f),()=>{const _0x1d34a7=_0x41fa4d();return null==_0x1d34a7?(_0x1569a2(),_0x20b4e4([0x56,0x61,0x6c,0x69,0x64])):_0x20b4e4(_0x335b0b-_0x1d34a7>(0x5ac94c17^_0xab85c6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x5483d4)[_0x20b4e4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5483d4(_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x333d39=0x7ef32697^_0xab85c6;function _0x1569a2(){const _0x3a276b=_0x20b4e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x22ddc8(_0x1e2915(_0x39b8ca)),_0xefce9e=_0x4940f3(_0x22ddc8(window[_0x20b4e4([0x4d,0x61,0x74,0x68])][_0x20b4e4([0x63,0x65,0x69,0x6c])](_0x335b0b/_0x333d39)));window[_0x20b4e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20b4e4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a276b,_0xefce9e);}function _0x41fa4d(){const _0x36ffef=_0x20b4e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x22ddc8(_0x1e2915(_0x39b8ca)),_0x1ceeca=window[_0x20b4e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20b4e4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36ffef);return _0x1ceeca?window[_0x20b4e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4940f3(_0x1ceeca),0x10)*_0x333d39:null;}function _0x4f6e5b(_0x4f7540){return new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bacaf,_0x281e5c)=>{_0x4f7540[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x1bacaf,_0x281e5c),window[_0x20b4e4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x281e5c,0x7ec41cd7^_0xab85c6);});}}_0x47d22d[_0x20b4e4([0x6f,0x6e])](_0x20b4e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b849d,_0x4fc536)=>{if(_0x4fc536[0x0]!=_0x39b8ca)return _0x5483d4(_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fc536[0x1]={..._0x4fc536[0x1],[_0x20b4e4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x503937};},{[_0x20b4e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20b4e4([0x68,0x69,0x67,0x68])}),_0x47d22d[_0x20b4e4([0x6f,0x6e])](_0x20b4e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x556499=>{_0x33e83e(_0x556499[_0x20b4e4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ebcaf=!0x0,_0x276d32(_0x556499[_0x20b4e4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20b4e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20b4e4([0x6c,0x6f,0x77])}),_0x3f5d24[_0x20b4e4([0x74,0x68,0x65,0x6e])](()=>{_0x5ebcaf||_0x5483d4(_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb58075(){return _0x47d22d[_0x20b4e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20b4e4([0x76,0x69,0x65,0x77])][_0x20b4e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20b4e4([0x61,0x75,0x74,0x6f]);}function _0x8aff87(){_0x47d22d[_0x20b4e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20b4e4([0x76,0x69,0x65,0x77])][_0x20b4e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20b4e4([0x61,0x75,0x74,0x6f]);}}function _0x1b49ea(_0x2b0eba){const _0x4e9b65=[new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30116d=>setTimeout(_0x30116d,0x7eccf6db^_0xab85c6)),_0x3f5d24[_0x20b4e4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e43c7=>{let _0x3948bc=0x0;_0x47d22d[_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b4e4([0x6f,0x6e])](_0x20b4e4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x450e4d,_0x55251f)=>{_0x55251f[0x0][_0x20b4e4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3948bc++,_0x3948bc==(0x7ec5c9ef^_0xab85c6)&&(_0x4e43c7(),_0x450e4d[_0x20b4e4([0x6f,0x66,0x66])]());});}))];return window[_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20b4e4([0x72,0x61,0x63,0x65])](_0x4e9b65)[_0x20b4e4([0x74,0x68,0x65,0x6e])](()=>_0x2b0eba);}async function _0x4a1c97(){await _0x3f5d24,_0x47d22d[_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b4e4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fb3dd,_0x47d22d[_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b4e4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fb3dd,_0x47d22d[_0x20b4e4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37fe9b(_0x1a9e14){const _0x199950=_0x2b5fd2();_0x47d22d[_0x199950]=_0x20b4e4([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])+_0x1a9e14,_0x1a9e14!=_0x20b4e4([0x56,0x61,0x6c,0x69,0x64])&&_0x4a1c97();}function _0x2b5fd2(){const _0x3e5e00=window[_0x20b4e4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20b4e4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20b4e4([0x6e,0x6f,0x77])]())[_0x20b4e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20b4e4([0x2e]),'');let _0x3665c0=_0x20b4e4([0x4a]);for(let _0x291bda=0x0;_0x291bda<_0x3e5e00[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x291bda+=0x2){let _0x6f47b1=window[_0x20b4e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e5e00[_0x20b4e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x291bda,_0x291bda+0x2));_0x6f47b1>=_0x1915cd[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6f47b1-=_0x1915cd[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3665c0+=_0x1915cd[_0x6f47b1];}return _0x3665c0;}function _0x5910ca(){const _0x39b296=_0x4078ab[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e]));if(0x3!=_0x39b296[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a65e2(_0x39b296[0x1]);function _0x1a65e2(_0x5dde73){const _0x5a38f3=_0x277319(_0x5dde73);return _0x5a38f3&&_0x2336fb()?_0x5a38f3:null;function _0x2336fb(){const _0x2040f4=_0x5a38f3[_0x20b4e4([0x6a,0x74,0x69])],_0x5b3f25=window[_0x20b4e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2040f4[_0x20b4e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2040f4[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a432e={..._0x5a38f3,[_0x20b4e4([0x6a,0x74,0x69])]:_0x2040f4[_0x20b4e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2040f4[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a432e[_0x20b4e4([0x76,0x63])],_0x1e2915(_0x4a432e)==_0x5b3f25;}}}async function _0x24fe78(){let _0x438ead=!0x0;try{const _0x289ec6=_0x4078ab[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e])),[_0x12c01c,_0x449798,_0x2e52dc]=_0x289ec6;return _0x2f2ac1(_0x12c01c),await _0x15fa94(_0x12c01c,_0x449798,_0x2e52dc),_0x438ead;}catch{return!0x1;}function _0x2f2ac1(_0x4dc3f9){const _0x59f167=_0x277319(_0x4dc3f9);_0x59f167&&_0x59f167[_0x20b4e4([0x61,0x6c,0x67])]==_0x20b4e4([0x45,0x53,0x32,0x35,0x36])||(_0x438ead=!0x1);}async function _0x15fa94(_0x1413e7,_0x19fbd3,_0x1c3b36){const _0x3bb2fa=window[_0x20b4e4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20b4e4([0x66,0x72,0x6f,0x6d])](_0x19e542(_0x1c3b36),_0x44855d=>_0x44855d[_0x20b4e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4de33c=new window[(_0x20b4e4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20b4e4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1413e7+_0x20b4e4([0x2e])+_0x19fbd3),_0x195a70=window[_0x20b4e4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20b4e4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x195a70)return;const _0x5b33b8=await _0x195a70[_0x20b4e4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20b4e4([0x6a,0x77,0x6b]),_0x10ef62,{[_0x20b4e4([0x6e,0x61,0x6d,0x65])]:_0x20b4e4([0x45,0x43,0x44,0x53,0x41]),[_0x20b4e4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20b4e4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20b4e4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x195a70[_0x20b4e4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20b4e4([0x6e,0x61,0x6d,0x65])]:_0x20b4e4([0x45,0x43,0x44,0x53,0x41]),[_0x20b4e4([0x68,0x61,0x73,0x68])]:{[_0x20b4e4([0x6e,0x61,0x6d,0x65])]:_0x20b4e4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b33b8,_0x3bb2fa,_0x4de33c)||(_0x438ead=!0x1);}}function _0x277319(_0x401e66){return _0x401e66[_0x20b4e4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20b4e4([0x65,0x79]))?JSON[_0x20b4e4([0x70,0x61,0x72,0x73,0x65])](_0x19e542(_0x401e66)):null;}function _0x19e542(_0x4378c0){return window[_0x20b4e4([0x61,0x74,0x6f,0x62])](_0x4378c0[_0x20b4e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20b4e4([0x2b]))[_0x20b4e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20b4e4([0x2f])));}function _0x1e2915(_0x2b6fb3){let _0x188f27=0x1505;function _0x110263(_0x1ff42c){for(let _0x39fff6=0x0;_0x39fff6<_0x1ff42c[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39fff6++){const _0x5bd9bc=_0x1ff42c[_0x20b4e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39fff6);_0x188f27=(_0x188f27<<0x5)+_0x188f27+_0x5bd9bc,_0x188f27&=_0x188f27;}}function _0x33ab56(_0x35a0f5){Array[_0x20b4e4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35a0f5)?_0x35a0f5[_0x20b4e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33ab56):_0x35a0f5&&typeof _0x35a0f5==_0x20b4e4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20b4e4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35a0f5)[_0x20b4e4([0x73,0x6f,0x72,0x74])]()[_0x20b4e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4151bd,_0x906f58])=>{_0x110263(_0x4151bd),_0x33ab56(_0x906f58);}):_0x110263(window[_0x20b4e4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35a0f5));}return _0x33ab56(_0x2b6fb3),_0x188f27>>>0x0;}function _0x22ddc8(_0x59302b){return _0x59302b[_0x20b4e4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20b4e4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20b4e4([0x30]));}function _0x4940f3(_0x2eaf31){return _0x2eaf31[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20b4e4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20b4e4([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fb3dd(){}function _0x20b4e4(_0x518195){const _0xad3c9=_0x3416;return _0x518195[_0xad3c9(0x226)](_0x4cf92a=>String[_0xad3c9(0x216)](_0x4cf92a))[_0xad3c9(0x207)]('');}_0x37fe9b(await _0x338065());}(this);}[_0x3a6625(0x22d)](_0x545024,_0x5503ab,_0x3b8df7=!0x1){const _0x49898b=_0x3a6625,_0xace132=new _0x545024(this[_0x49898b(0x238)][_0x49898b(0x242)]);return _0xace132[_0x49898b(0x20f)]({'withText':_0x3b8df7,'isToggleable':!0x1}),_0xace132[_0x49898b(0x23c)](_0x49898b(0x23b))['to'](_0x5503ab,_0x49898b(0x23b)),this[_0x49898b(0x23e)](_0xace132,_0x49898b(0x1f3),()=>_0x5503ab[_0x49898b(0x1f3)]()),_0xace132;}[_0x3a6625(0x1ef)](){const _0x47628d=_0x3a6625,_0x399ff2=this[_0x47628d(0x238)][_0x47628d(0x242)];this[_0x47628d(0x238)][_0x47628d(0x240)][_0x47628d(0x231)]({'id':_0x47628d(0x236),'label':_0x5b9612(_0x399ff2,_0x47628d(0x241))});const _0x5b197d=_0x3f95fc[_0x47628d(0x21c)]||_0x3f95fc[_0x47628d(0x234)];this[_0x47628d(0x238)][_0x47628d(0x240)][_0x47628d(0x210)]({'categoryId':_0x47628d(0x236),'keystrokes':[{'label':_0x5b9612(_0x399ff2,_0x47628d(0x202)),'keystroke':_0x47628d(0x224)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x204)),'keystroke':_0x47628d(0x222)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f8)),'keystroke':_0x47628d(0x239)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x229)),'keystroke':_0x47628d(0x217)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x22e)),'keystroke':_0x47628d(0x20c)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1ec)),'keystroke':_0x47628d(0x228)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1fa)),'keystroke':_0x5b197d?_0x47628d(0x1eb):_0x47628d(0x21f)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x22c)),'keystroke':_0x47628d(0x232)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f9)),'keystroke':_0x47628d(0x203)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x22b)),'keystroke':[[_0x47628d(0x218)],[_0x47628d(0x220)]]},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1ff)),'keystroke':_0x5b197d?_0x47628d(0x200):_0x47628d(0x219)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x23f)),'keystroke':_0x5b197d?_0x47628d(0x230):_0x47628d(0x21e)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f6)),'keystroke':_0x47628d(0x201)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f1)),'keystroke':_0x47628d(0x1f5)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1fe)),'keystroke':_0x47628d(0x1fd)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1ed)),'keystroke':_0x47628d(0x23a)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f0)),'keystroke':_0x5b197d?_0x47628d(0x225):_0x47628d(0x209)}]});}}
23
+ const _0x47b418=_0x4b27;(function(_0x15dec2,_0x3330f4){const _0x31dc11=_0x4b27,_0x41eae7=_0x15dec2();while(!![]){try{const _0x2ea028=-parseInt(_0x31dc11(0x19b))/0x1+parseInt(_0x31dc11(0x19f))/0x2+-parseInt(_0x31dc11(0x18b))/0x3*(-parseInt(_0x31dc11(0x1ae))/0x4)+-parseInt(_0x31dc11(0x16b))/0x5*(parseInt(_0x31dc11(0x19a))/0x6)+parseInt(_0x31dc11(0x1b4))/0x7+-parseInt(_0x31dc11(0x197))/0x8+parseInt(_0x31dc11(0x1be))/0x9;if(_0x2ea028===_0x3330f4)break;else _0x41eae7['push'](_0x41eae7['shift']());}catch(_0x5a8f3f){_0x41eae7['push'](_0x41eae7['shift']());}}}(_0x645d,0xa99af));function _0x645d(){const _0x55de99=['Fold\x20code\x20(current\x20level)','componentFactory','Delete\x20line','Redo\x20(keystroke)','Ctrl+Z','Ctrl+M','Select\x20line','6NLMwJr','Unfold\x20code\x20(current\x20level)','Ctrl+Shift+Z','Ctrl+Shift+]','add','Toggle\x20comment','Alt+L','_createButton','isiOS','Toggle\x20block\x20comment','init','listenTo','10293296PjsoMd','isPremiumPlugin','Ctrl+]','67434ZoHDWi','921736WLYuNG','_registerKeybindings','Undo\x20(keystroke)','commands','1457306hMKVIv','Cmd+Alt+]','Copy\x20line\x20up','isEnabled','Ctrl+/','Shift+Alt+ArrowUp','editor','editSource','Alt+ArrowDown','Ctrl!+Alt+]','requires','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Indent\x20less','bind','map','2743852qBZIOF','fromCharCode','Edit\x20source\x20modal\x20label','locale','Copy\x20line\x20down','SourceEditingEnhancedUI','2837324ZEjuor','Ctrl!+Alt+[','Fold\x20all','Shift+Alt+ArrowDown','Unfold\x20all','Alt+ArrowUp','Source','Move\x20line\x20up','menuBar:sourceEditingEnhanced','href','3878163epgJBT','15YYkPzN','join','execute','afterInit','Ctrl+Y','Ctrl+[','addKeystrokeInfoCategory','Cmd+Alt+[','Indent\x20more','accessibility','isMac','pluginName','menuitemcheckbox','Ctrl+Shift+[','Shift+Ctrl+K','Shift+Alt+A','set','sourceEditingEnhanced','Move\x20line\x20down','isOfficialPlugin','Alt+Shift+M','Ctrl!+L','addKeystrokeInfos','Source\x20Editing\x20Enhanced','ck-source-editing-enhanced-button'];_0x645d=function(){return _0x55de99;};return _0x645d();}import{Plugin as _0x581edd,PendingActions as _0x580258}from'ckeditor5/src/core.js';import{IconSource as _0x4577a2}from'ckeditor5/src/icons.js';import{ButtonView as _0x367ce8,MenuBarMenuListItemButtonView as _0x5d6410}from'ckeditor5/src/ui.js';function _0x4b27(_0x1ab30a,_0x783b45){const _0x645dc7=_0x645d();return _0x4b27=function(_0x4b27ea,_0x2ef10c){_0x4b27ea=_0x4b27ea-0x16b;let _0x2dc773=_0x645dc7[_0x4b27ea];return _0x2dc773;},_0x4b27(_0x1ab30a,_0x783b45);}import _0x441441 from'./ui/editsourcecommand.js';import{getTranslation as _0x22a445}from'./utils/common-translations.js';import{env as _0x31d65b,uid as _0x347b2c}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x581edd{static get[_0x47b418(0x176)](){const _0xbccf35=_0x47b418;return _0xbccf35(0x1b3);}static get[_0x47b418(0x1a9)](){return[_0x580258];}static get[_0x47b418(0x17e)](){return!0x0;}static get[_0x47b418(0x198)](){return!0x0;}[_0x47b418(0x195)](){const _0x48cd7b=_0x47b418,_0x2c2dd8=this[_0x48cd7b(0x1a5)],_0x406ace=_0x2c2dd8[_0x48cd7b(0x1b1)],_0x45e5f5=new _0x441441(_0x2c2dd8);_0x2c2dd8[_0x48cd7b(0x19e)][_0x48cd7b(0x18f)](_0x48cd7b(0x1a6),_0x45e5f5),_0x2c2dd8['ui'][_0x48cd7b(0x185)][_0x48cd7b(0x18f)](_0x48cd7b(0x17c),()=>{const _0x541400=_0x48cd7b,_0x577843=this[_0x541400(0x192)](_0x367ce8,_0x45e5f5);return _0x577843[_0x541400(0x17b)]({'label':_0x22a445(_0x406ace,_0x541400(0x1ba)),'icon':_0x4577a2,'tooltip':_0x22a445(_0x406ace,_0x541400(0x1b0)),'class':_0x541400(0x183)}),_0x577843;}),_0x2c2dd8['ui'][_0x48cd7b(0x185)][_0x48cd7b(0x18f)](_0x48cd7b(0x1bc),()=>{const _0x2b5d29=_0x48cd7b,_0x3eb838=this[_0x2b5d29(0x192)](_0x5d6410,_0x45e5f5,!0x0);return _0x3eb838[_0x2b5d29(0x17b)]({'label':_0x22a445(_0x406ace,_0x2b5d29(0x1b0)),'icon':_0x4577a2,'role':_0x2b5d29(0x177)}),_0x3eb838;}),this[_0x48cd7b(0x19c)]();}[_0x47b418(0x16e)](){!async function(_0x28e16b){const _0x2e77ec=_0x7febad([0x4b,0x75,0x65,0x4d,0x42,0x31,0x6b,0x63,0x6e,0x32,0x36,0x50,0x5a,0x78,0x45,0x4a,0x38,0x62,0x6a,0x67,0x4e,0x66,0x6f,0x74,0x76,0x79,0x43,0x7a,0x71,0x30,0x4f,0x37,0x34,0x70,0x4c,0x58,0x47,0x52,0x69,0x68,0x6d,0x48,0x73,0x55,0x57,0x39,0x56,0x51,0x61,0x49,0x59,0x33,0x64,0x46,0x6c,0x54,0x44,0x41,0x72,0x53,0x77,0x35]),_0x3b1782=0x264f762a,_0x1af4d1=0x26481fe2^_0x3b1782,_0x275bd1=window[_0x7febad([0x44,0x61,0x74,0x65])][_0x7febad([0x6e,0x6f,0x77])](),_0x3f2fac=_0x28e16b[_0x7febad([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b24e8=new window[(_0x7febad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9ffac8=>{_0x3f2fac[_0x7febad([0x6f,0x6e,0x63,0x65])](_0x7febad([0x72,0x65,0x61,0x64,0x79]),_0x9ffac8);}),_0x2c19f7={[_0x7febad([0x6b,0x74,0x79])]:_0x7febad([0x45,0x43]),[_0x7febad([0x75,0x73,0x65])]:_0x7febad([0x73,0x69,0x67]),[_0x7febad([0x63,0x72,0x76])]:_0x7febad([0x50,0x2d,0x32,0x35,0x36]),[_0x7febad([0x78])]:_0x7febad([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]),[_0x7febad([0x79])]:_0x7febad([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]),[_0x7febad([0x61,0x6c,0x67])]:_0x7febad([0x45,0x53,0x32,0x35,0x36])},_0x29abf6=_0x3f2fac[_0x7febad([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7febad([0x67,0x65,0x74])](_0x7febad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x509d80(){let _0x3f5e7d,_0x391717=null,_0x18509e=null;try{if(_0x29abf6==_0x7febad([0x47,0x50,0x4c]))return _0x7febad([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f5e7d=_0x15d970(),!_0x3f5e7d)return _0x7febad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f5e7d[_0x7febad([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18509e=_0x5ca790(_0x3f5e7d[_0x7febad([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f5e7d[_0x7febad([0x6a,0x74,0x69])])),await _0xf4c0df()?_0xfef54()?_0x5d9771()?_0x7febad([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21fa85()?(_0x3f5e7d[_0x7febad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7febad([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x391717=_0x49046c(_0x7febad([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f5e7d[_0x7febad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7febad([0x74,0x72,0x69,0x61,0x6c])&&(_0x391717=_0x49046c(_0x7febad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d4150()):_0x7febad([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7febad([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7febad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7febad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d9771(){const _0x3e4334=[_0x7febad([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7febad([0x74,0x72,0x69,0x61,0x6c])][_0x7febad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f5e7d[_0x7febad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x275bd1/0x3e8:0xe10*_0x1af4d1;return _0x3f5e7d[_0x7febad([0x65,0x78,0x70])]<_0x3e4334;}function _0xfef54(){const _0x96403d=_0x3f5e7d[_0x7febad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x96403d&&(!!_0x96403d[_0x7febad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7febad([0x2a]))||!!_0x96403d[_0x7febad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7febad([0x53,0x45,0x45])));}function _0x21fa85(){const _0x5ee893=_0x4b27,_0x2bd5f0=_0x3f5e7d[_0x7febad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2bd5f0||0x0==_0x2bd5f0[_0x7febad([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31e21f}=new URL(window[_0x7febad([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ee893(0x1bd)]);if(_0x2bd5f0[_0x7febad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31e21f))return!0x0;const _0x25721c=_0x31e21f[_0x7febad([0x73,0x70,0x6c,0x69,0x74])](_0x7febad([0x2e]));return _0x2bd5f0[_0x7febad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x588eeb=>_0x588eeb[_0x7febad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7febad([0x2a])))[_0x7febad([0x6d,0x61,0x70])](_0x9a896b=>_0x9a896b[_0x7febad([0x73,0x70,0x6c,0x69,0x74])](_0x7febad([0x2e])))[_0x7febad([0x73,0x6f,0x6d,0x65])](_0x4fd83f=>_0x25721c[_0x7febad([0x65,0x76,0x65,0x72,0x79])]((_0x56b824,_0x3c2425)=>_0x4fd83f[_0x3c2425]===_0x56b824||_0x4fd83f[_0x3c2425]===_0x7febad([0x2a])));}function _0x4d4150(){return _0x391717&&_0x18509e?new window[(_0x7febad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x324c45,_0x57bae8)=>{_0x391717[_0x7febad([0x74,0x68,0x65,0x6e])](_0x324c45,_0x57bae8),_0x18509e[_0x7febad([0x74,0x68,0x65,0x6e])](_0x4de814=>{_0x4de814!=_0x7febad([0x56,0x61,0x6c,0x69,0x64])&&_0x324c45(_0x4de814);},_0x57bae8);}):_0x391717||_0x18509e||_0x7febad([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ca790(_0x26c28c,_0x493abf){return new window[(_0x7febad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cc5ae=>{if(_0x153e6d())return _0x2cc5ae(_0x7febad([0x56,0x61,0x6c,0x69,0x64]));_0x32c259(),_0x3f2fac[_0x7febad([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7febad([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5cd0ce=!0x1;const _0x52c0a9=_0x347b2c();function _0x458db8(_0x40262c){return!!_0x40262c&&(typeof _0x40262c===_0x7febad([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40262c===_0x7febad([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40262c[_0x7febad([0x74,0x68,0x65,0x6e])]===_0x7febad([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40262c[_0x7febad([0x63,0x61,0x74,0x63,0x68])]===_0x7febad([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a7317(_0x530d19){_0x71e67b(_0x530d19)[_0x7febad([0x74,0x68,0x65,0x6e])](_0x12f6c6=>{if(!_0x12f6c6||_0x12f6c6[_0x7febad([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7febad([0x6f,0x6b]))return _0x7febad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x58f15e(_0xa49982(_0x52c0a9+_0x493abf))!=_0x12f6c6[_0x7febad([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7febad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7febad([0x56,0x61,0x6c,0x69,0x64]);})[_0x7febad([0x74,0x68,0x65,0x6e])](_0x39b076=>(_0xf06fb(),_0x39b076),()=>{const _0x403725=_0x34bbc7();return null==_0x403725?(_0xf06fb(),_0x7febad([0x56,0x61,0x6c,0x69,0x64])):_0x7febad(_0x275bd1-_0x403725>(0x243f22a^_0x3b1782)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7febad([0x74,0x68,0x65,0x6e])](_0x2cc5ae)[_0x7febad([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2cc5ae(_0x7febad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17c2dd=0x267998aa^_0x3b1782;function _0xf06fb(){const _0x5879af=_0x7febad([0x6c,0x6c,0x63,0x74,0x2d])+_0x58f15e(_0xa49982(_0x26c28c)),_0x2239e4=_0x66061c(_0x58f15e(window[_0x7febad([0x4d,0x61,0x74,0x68])][_0x7febad([0x63,0x65,0x69,0x6c])](_0x275bd1/_0x17c2dd)));window[_0x7febad([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7febad([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5879af,_0x2239e4);}function _0x34bbc7(){const _0x3950f0=_0x7febad([0x6c,0x6c,0x63,0x74,0x2d])+_0x58f15e(_0xa49982(_0x26c28c)),_0x359746=window[_0x7febad([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7febad([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3950f0);return _0x359746?window[_0x7febad([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x66061c(_0x359746),0x10)*_0x17c2dd:null;}function _0x71e67b(_0x4a4107){return new window[(_0x7febad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x844ca0,_0x13fee4)=>{_0x4a4107[_0x7febad([0x74,0x68,0x65,0x6e])](_0x844ca0,_0x13fee4),window[_0x7febad([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13fee4,0x264ea2ea^_0x3b1782);});}}_0x3f2fac[_0x7febad([0x6f,0x6e])](_0x7febad([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x264c6d,_0x17fe9c)=>{if(_0x17fe9c[0x0]!=_0x26c28c)return _0x2cc5ae(_0x7febad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17fe9c[0x1]={..._0x17fe9c[0x1],[_0x7febad([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52c0a9};},{[_0x7febad([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7febad([0x68,0x69,0x67,0x68])}),_0x3f2fac[_0x7febad([0x6f,0x6e])](_0x7febad([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d4914=>{_0x458db8(_0x4d4914[_0x7febad([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5cd0ce=!0x0,_0x5a7317(_0x4d4914[_0x7febad([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7febad([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7febad([0x6c,0x6f,0x77])}),_0x2b24e8[_0x7febad([0x74,0x68,0x65,0x6e])](()=>{_0x5cd0ce||_0x2cc5ae(_0x7febad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x153e6d(){return _0x3f2fac[_0x7febad([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7febad([0x76,0x69,0x65,0x77])][_0x7febad([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7febad([0x61,0x75,0x74,0x6f]);}function _0x32c259(){_0x3f2fac[_0x7febad([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7febad([0x76,0x69,0x65,0x77])][_0x7febad([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7febad([0x61,0x75,0x74,0x6f]);}}function _0x49046c(_0x3a1c22){const _0x2b18c4=[new window[(_0x7febad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x374d29=>setTimeout(_0x374d29,0x264648e6^_0x3b1782)),_0x2b24e8[_0x7febad([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7febad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b82ef=>{let _0x3dd8a7=0x0;_0x3f2fac[_0x7febad([0x6d,0x6f,0x64,0x65,0x6c])][_0x7febad([0x6f,0x6e])](_0x7febad([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29e0b5,_0x584d6e)=>{_0x584d6e[0x0][_0x7febad([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3dd8a7++,_0x3dd8a7==(0x264f77d2^_0x3b1782)&&(_0x5b82ef(),_0x29e0b5[_0x7febad([0x6f,0x66,0x66])]());});}))];return window[_0x7febad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7febad([0x72,0x61,0x63,0x65])](_0x2b18c4)[_0x7febad([0x74,0x68,0x65,0x6e])](()=>_0x3a1c22);}async function _0x28e65c(){await _0x2b24e8,_0x3f2fac[_0x7febad([0x6d,0x6f,0x64,0x65,0x6c])][_0x7febad([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a1cc1,_0x3f2fac[_0x7febad([0x6d,0x6f,0x64,0x65,0x6c])][_0x7febad([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a1cc1,_0x3f2fac[_0x7febad([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7febad([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe20196(_0xe1680a){const _0x47c8e7=_0x33cef4();_0x3f2fac[_0x47c8e7]=_0x7febad([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])+_0xe1680a,_0xe1680a!=_0x7febad([0x56,0x61,0x6c,0x69,0x64])&&_0x28e65c();}function _0x33cef4(){const _0x504114=window[_0x7febad([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7febad([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7febad([0x6e,0x6f,0x77])]())[_0x7febad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7febad([0x2e]),'');let _0x56be3b=_0x7febad([0x4b]);for(let _0x35e6a1=0x0;_0x35e6a1<_0x504114[_0x7febad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35e6a1+=0x2){let _0x287e10=window[_0x7febad([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x504114[_0x7febad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35e6a1,_0x35e6a1+0x2));_0x287e10>=_0x2e77ec[_0x7febad([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x287e10-=_0x2e77ec[_0x7febad([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56be3b+=_0x2e77ec[_0x287e10];}return _0x56be3b;}function _0x15d970(){const _0x2cd729=_0x29abf6[_0x7febad([0x73,0x70,0x6c,0x69,0x74])](_0x7febad([0x2e]));if(0x3!=_0x2cd729[_0x7febad([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x30dc0d(_0x2cd729[0x1]);function _0x30dc0d(_0xf0d6f9){const _0x40dc77=_0x2a2b62(_0xf0d6f9);return _0x40dc77&&_0x3f2033()?_0x40dc77:null;function _0x3f2033(){const _0x570b4c=_0x40dc77[_0x7febad([0x6a,0x74,0x69])],_0x571347=window[_0x7febad([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x570b4c[_0x7febad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x570b4c[_0x7febad([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x453da9={..._0x40dc77,[_0x7febad([0x6a,0x74,0x69])]:_0x570b4c[_0x7febad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x570b4c[_0x7febad([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x453da9[_0x7febad([0x76,0x63])],_0xa49982(_0x453da9)==_0x571347;}}}async function _0xf4c0df(){let _0x4e3799=!0x0;try{const _0x183b66=_0x29abf6[_0x7febad([0x73,0x70,0x6c,0x69,0x74])](_0x7febad([0x2e])),[_0x164e3e,_0x1537b2,_0x560e9f]=_0x183b66;return _0x4a2564(_0x164e3e),await _0x1a6feb(_0x164e3e,_0x1537b2,_0x560e9f),_0x4e3799;}catch{return!0x1;}function _0x4a2564(_0x876ff1){const _0x2e9dcb=_0x2a2b62(_0x876ff1);_0x2e9dcb&&_0x2e9dcb[_0x7febad([0x61,0x6c,0x67])]==_0x7febad([0x45,0x53,0x32,0x35,0x36])||(_0x4e3799=!0x1);}async function _0x1a6feb(_0x1e6cd1,_0x23dd98,_0x192d48){const _0x538966=window[_0x7febad([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7febad([0x66,0x72,0x6f,0x6d])](_0x5792b6(_0x192d48),_0x16c6a1=>_0x16c6a1[_0x7febad([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x100988=new window[(_0x7febad([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7febad([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e6cd1+_0x7febad([0x2e])+_0x23dd98),_0x3dfdd3=window[_0x7febad([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7febad([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3dfdd3)return;const _0x2287f8=await _0x3dfdd3[_0x7febad([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7febad([0x6a,0x77,0x6b]),_0x2c19f7,{[_0x7febad([0x6e,0x61,0x6d,0x65])]:_0x7febad([0x45,0x43,0x44,0x53,0x41]),[_0x7febad([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7febad([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7febad([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3dfdd3[_0x7febad([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7febad([0x6e,0x61,0x6d,0x65])]:_0x7febad([0x45,0x43,0x44,0x53,0x41]),[_0x7febad([0x68,0x61,0x73,0x68])]:{[_0x7febad([0x6e,0x61,0x6d,0x65])]:_0x7febad([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2287f8,_0x538966,_0x100988)||(_0x4e3799=!0x1);}}function _0x2a2b62(_0x3c9091){return _0x3c9091[_0x7febad([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7febad([0x65,0x79]))?JSON[_0x7febad([0x70,0x61,0x72,0x73,0x65])](_0x5792b6(_0x3c9091)):null;}function _0x5792b6(_0x5454fa){return window[_0x7febad([0x61,0x74,0x6f,0x62])](_0x5454fa[_0x7febad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7febad([0x2b]))[_0x7febad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7febad([0x2f])));}function _0xa49982(_0x5aa58d){let _0x484664=0x1505;function _0x21111d(_0x1ba99c){for(let _0x4dcb95=0x0;_0x4dcb95<_0x1ba99c[_0x7febad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4dcb95++){const _0x21d901=_0x1ba99c[_0x7febad([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4dcb95);_0x484664=(_0x484664<<0x5)+_0x484664+_0x21d901,_0x484664&=_0x484664;}}function _0x3ed6b6(_0x51db57){Array[_0x7febad([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x51db57)?_0x51db57[_0x7febad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ed6b6):_0x51db57&&typeof _0x51db57==_0x7febad([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7febad([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x51db57)[_0x7febad([0x73,0x6f,0x72,0x74])]()[_0x7febad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x43de0a,_0x28b4ed])=>{_0x21111d(_0x43de0a),_0x3ed6b6(_0x28b4ed);}):_0x21111d(window[_0x7febad([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x51db57));}return _0x3ed6b6(_0x5aa58d),_0x484664>>>0x0;}function _0x58f15e(_0x2ebb66){return _0x2ebb66[_0x7febad([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7febad([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7febad([0x30]));}function _0x66061c(_0x233d7e){return _0x233d7e[_0x7febad([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7febad([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7febad([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a1cc1(){}function _0x7febad(_0xce52bf){const _0x542e9f=_0x4b27;return _0xce52bf[_0x542e9f(0x1ad)](_0x29fba2=>String[_0x542e9f(0x1af)](_0x29fba2))[_0x542e9f(0x16c)]('');}_0xe20196(await _0x509d80());}(this);}[_0x47b418(0x192)](_0x5b581c,_0x3964f6,_0x42f28e=!0x1){const _0x584504=_0x47b418,_0x2a473a=new _0x5b581c(this[_0x584504(0x1a5)][_0x584504(0x1b1)]);return _0x2a473a[_0x584504(0x17b)]({'withText':_0x42f28e,'isToggleable':!0x1}),_0x2a473a[_0x584504(0x1ac)](_0x584504(0x1a2))['to'](_0x3964f6,_0x584504(0x1a2)),this[_0x584504(0x196)](_0x2a473a,_0x584504(0x16d),()=>_0x3964f6[_0x584504(0x16d)]()),_0x2a473a;}[_0x47b418(0x19c)](){const _0x5e6813=_0x47b418,_0x35edea=this[_0x5e6813(0x1a5)][_0x5e6813(0x1b1)];this[_0x5e6813(0x1a5)][_0x5e6813(0x174)][_0x5e6813(0x171)]({'id':_0x5e6813(0x17c),'label':_0x22a445(_0x35edea,_0x5e6813(0x182))});const _0x1d652d=_0x31d65b[_0x5e6813(0x175)]||_0x31d65b[_0x5e6813(0x193)];this[_0x5e6813(0x1a5)][_0x5e6813(0x174)][_0x5e6813(0x181)]({'categoryId':_0x5e6813(0x17c),'keystrokes':[{'label':_0x22a445(_0x35edea,_0x5e6813(0x1b2)),'keystroke':_0x5e6813(0x1b7)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x1a1)),'keystroke':_0x5e6813(0x1a4)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x186)),'keystroke':_0x5e6813(0x179)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x1ab)),'keystroke':_0x5e6813(0x170)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x173)),'keystroke':_0x5e6813(0x199)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x1b6)),'keystroke':_0x5e6813(0x1b5)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x184)),'keystroke':_0x1d652d?_0x5e6813(0x172):_0x5e6813(0x178)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x17d)),'keystroke':_0x5e6813(0x1a7)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x1bb)),'keystroke':_0x5e6813(0x1b9)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x187)),'keystroke':[[_0x5e6813(0x18d)],[_0x5e6813(0x16f)]]},{'label':_0x22a445(_0x35edea,_0x5e6813(0x18a)),'keystroke':_0x1d652d?_0x5e6813(0x180):_0x5e6813(0x191)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x1aa)),'keystroke':_0x1d652d?_0x5e6813(0x17f):_0x5e6813(0x189)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x194)),'keystroke':_0x5e6813(0x17a)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x190)),'keystroke':_0x5e6813(0x1a3)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x19d)),'keystroke':_0x5e6813(0x188)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x1b8)),'keystroke':_0x5e6813(0x1a8)},{'label':_0x22a445(_0x35edea,_0x5e6813(0x18c)),'keystroke':_0x1d652d?_0x5e6813(0x1a0):_0x5e6813(0x18e)}]});}}