@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250531.0 → 0.0.0-nightly-20250601.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x4a0137,PendingActions as _0x1860f4,Plugin as _0x2ae366}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x402043,formatHtml as tr,env as _0x1130f9,uid as _0x38aeb6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x3645dc}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x755643,ButtonView as _0x47887e,MenuBarMenuListItemButtonView as _0xc67cd2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x23195b,crosshairCursor as _0x386043,drawSelection as _0x2c098f,dropCursor as _0x43ddf7,lineNumbers as _0x376f93,highlightActiveLine as _0x40f6ba,highlightActiveLineGutter as _0xc8fea8,highlightSpecialChars as _0x5ac6c8,rectangularSelection as _0x5a2ea4,keymap as _0x2c0555}from'@codemirror/view';import{Compartment as _0x46bf91,Transaction as _0x18caf1}from'@codemirror/state';import{bracketMatching as _0x4961c6,foldGutter as _0x1015f7,indentOnInput as _0xa7dd3b,syntaxHighlighting as _0x324e52,defaultHighlightStyle as _0x52f957,foldKeymap as _0x5ec0dc}from'@codemirror/language';import{toggleTabFocusMode as _0x2c4ff9,history as _0x35d7e0,defaultKeymap as _0xb40e28,historyKeymap as _0x374531,indentLess as _0x40f5f7,indentMore as _0x5dace5,redo as _0x34a8d7,undo as _0x3e3919}from'@codemirror/commands';import{autocompletion as _0xf5848e,closeBrackets as _0x50e549,closeBracketsKeymap as _0x41716a,completionKeymap as _0xc16588}from'@codemirror/autocomplete';import{html as _0x3baba5}from'@codemirror/lang-html';import{markdown as _0x567dd3}from'@codemirror/lang-markdown';import{oneDark as _0x3cefdf}from'@codemirror/theme-one-dark';function f(_0x15821a,_0x469d9c){const t=_0x15821a['t'];switch(_0x469d9c){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 _0x469d9c;}}function s(_0x2080d0){const _0x3926ce=_0x2080d0['editing']['view']['document']['roots'],_0xe064f0=_0x3926ce['length'];if(0x0===_0xe064f0)throw new _0x402043('source-editing-enhanced-editor-no-root',_0x2080d0);if(0x1===_0xe064f0)return _0x3926ce['first']['rootName'];return Array['from'](_0x2080d0['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x2c5830){return or(_0x2c5830['replace'](/^[\n\s]*/g,''))?_0x2c5830['replace'](/\s+/g,''):_0x2c5830;}function or(_0x3658df){return _0x3658df['startsWith']('<');}function p(_0x9f5db5){const _0x2263c8=[_0x23195b['lineWrapping'],_0xf5848e(),_0x4961c6(),_0x50e549(),_0x386043(),_0x2c098f(),_0x43ddf7(),_0x376f93(),_0x1015f7(),_0x40f6ba(),_0xc8fea8(),_0x5ac6c8(),_0x35d7e0(),_0xa7dd3b(),_0x5a2ea4(),_0x324e52(_0x52f957,{'fallback':!0x0})],_0x2ceee7=new _0x46bf91();_0x2263c8['push'](_0x2ceee7['of'](_0x23195b['editable']['of'](!0x0))),'html'===_0x9f5db5['syntaxLanguage']?_0x2263c8['push'](_0x3baba5()):_0x2263c8['push'](_0x567dd3());const _0x308be3=function(_0x5db649){if(_0x5db649&&'default'!==_0x5db649)return'dark'===_0x5db649?_0x3cefdf:_0x5db649;return null;}(_0x9f5db5['theme']);_0x308be3&&_0x2263c8['push'](_0x308be3),_0x2263c8['push'](_0x2c0555['of']([..._0x41716a,..._0xb40e28,..._0x374531,..._0x5ec0dc,..._0xc16588,{'key':'Tab','run':_0x5dace5,'shift':_0x40f5f7,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x34a8d7,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x34a8d7,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x3e3919,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x57ef90=new _0x23195b({'extensions':_0x2263c8,'parent':_0x9f5db5['parent']});return _0x2c4ff9(_0x57ef90),{'focus':()=>{_0x57ef90['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x57ef90['focus']();},'getData':()=>_0x57ef90['state']['doc']['toString'](),'setData':_0x4b3452=>{_0x57ef90['dispatch']({'changes':{'from':0x0,'to':_0x57ef90['state']['doc']['length'],'insert':_0x4b3452},'annotations':_0x18caf1['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1b8a84=>{_0x57ef90['dispatch']({'effects':[_0x2ceee7['reconfigure'](_0x23195b['editable']['of'](!_0x1b8a84))]});},'destroy':()=>{_0x57ef90['destroy']();},'instance':_0x57ef90};}class m extends _0x755643{['_codeEditorApi']=null;['_options'];constructor(_0x4b0fa0,_0x9059){super(_0x4b0fa0),this['_options']=_0x9059,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',(_0x257e45,_0x1de241,_0x5c9ce3)=>{this['setReadOnly'](_0x5c9ce3);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x35aef4){this['_codeEditorApi']['setData'](_0x35aef4);}['setReadOnly'](_0x191dfe){this['_codeEditorApi']['setReadOnly'](_0x191dfe);}}const b='SourceEditingEnhancedMode';class d extends _0x4a0137{constructor(_0x58867e){super(_0x58867e),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x1860f4)['on']('change:hasAny',(_0x1c9b07,_0x221476,_0xae286c)=>{_0xae286c?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x19919e=this['editor'];for(const _0x54af85 of _0x19919e['commands']['names']())['replaceSource','editSource']['includes'](_0x54af85)||_0x19919e['commands']['get'](_0x54af85)['forceDisabled'](b);}['_enableCommands'](){const _0x530a93=this['editor'];for(const _0x26b93c of _0x530a93['commands']['commands']())_0x26b93c['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x2ca678=this['editor'],_0x976af3=_0x2ca678['locale'],_0x339574=_0x2ca678['plugins']['get']('Dialog'),_0x278808=s(_0x2ca678),_0x29646f=_0x2ca678['data']['get']({'rootName':_0x278808}),_0xa9db4=or(_0x242432=_0x29646f)?tr(_0x242432):_0x242432;var _0x242432;const _0x284d74=new m(_0x976af3,{'syntaxLanguage':_0x2ca678['plugins']['has']('Markdown')?'markdown':'html','theme':_0x2ca678['config']['get']('sourceEditingEnhanced.theme')});let _0x166b3c=!0x0;const _0x5d2b08=_0x514496=>{if(!_0x166b3c)return;return E(_0x284d74['getData']())!==E(_0xa9db4)?window['confirm'](f(_0x976af3,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x514496['stop']():void 0x0;};_0x339574['show']({'id':'sourceEditingEnhanced','title':f(_0x976af3,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x284d74,'actionButtons':[{'label':f(_0x976af3,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x339574['hide']();}},{'label':f(_0x976af3,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x545362=E(_0x284d74['getData']())!==E(_0xa9db4);(_0x545362&&_0x2ca678['execute']('replaceSource',_0x284d74['getData']()),_0x166b3c=!0x1,_0x339574['hide'](),_0x545362&&'editables'in _0x2ca678['ui']['view'])&&_0x2ca678['ui']['view']['editables'][_0x278808]['element']['focus']();},'onCreate':_0x3726a9=>{_0x3726a9['set']('isEnabled',!_0x2ca678['isReadOnly']),_0x3726a9['bind']('isEnabled')['to'](_0x2ca678,'isReadOnly',this,'isEnabled',(_0x2f5178,_0x49cafc)=>!_0x2f5178&&_0x49cafc);}}],'onHide':()=>{this['_enableCommands'](),_0x339574['off']('hide',_0x5d2b08),_0x284d74['destroy']();},'onShow':()=>{_0x284d74['bind']('isReadOnly')['to'](_0x2ca678,'isReadOnly',this,'isEnabled',(_0x2974fa,_0x17e719)=>_0x2974fa||!_0x17e719),_0x284d74['setData'](_0xa9db4),_0x284d74['focus'](),_0x339574['on']('hide',_0x5d2b08,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2ae366{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x1860f4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x422fb0=this['editor'],_0x1260ac=_0x422fb0['locale'],_0x357808=new d(_0x422fb0);_0x422fb0['commands']['add']('editSource',_0x357808),_0x422fb0['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x26453f=this['_createButton'](_0x47887e,_0x357808);return _0x26453f['set']({'label':f(_0x1260ac,'Source'),'icon':_0x3645dc,'tooltip':f(_0x1260ac,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x26453f;}),_0x422fb0['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0xa66c1a=this['_createButton'](_0xc67cd2,_0x357808,!0x0);return _0xa66c1a['set']({'label':f(_0x1260ac,'Edit\x20source\x20modal\x20label'),'icon':_0x3645dc,'role':'menuitemcheckbox'}),_0xa66c1a;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x10802d){const _0x24b16a=_0x36c233([0x64,0x67,0x70,0x58,0x38,0x69,0x45,0x4d,0x4c,0x63,0x4e,0x4f,0x72,0x55,0x36,0x6c,0x32,0x59,0x41,0x6e,0x75,0x31,0x37,0x50,0x4b,0x66,0x79,0x62,0x78,0x61,0x76,0x52,0x65,0x68,0x74,0x73,0x53,0x48,0x42,0x54,0x77,0x44,0x39,0x47,0x6b,0x5a,0x7a,0x6f,0x56,0x6d,0x35,0x46,0x57,0x49,0x71,0x30,0x33,0x4a,0x34,0x51,0x6a,0x43]),_0x174c81=0x14173419,_0x20f39d=0x14105d71^_0x174c81,_0x340c0b=window[_0x36c233([0x44,0x61,0x74,0x65])][_0x36c233([0x6e,0x6f,0x77])](),_0x1d7940=_0x10802d[_0x36c233([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x6761af=new window[(_0x36c233([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x230166=>{_0x1d7940[_0x36c233([0x6f,0x6e,0x63,0x65])](_0x36c233([0x72,0x65,0x61,0x64,0x79]),_0x230166);}),_0x2645b7={[_0x36c233([0x6b,0x74,0x79])]:_0x36c233([0x45,0x43]),[_0x36c233([0x75,0x73,0x65])]:_0x36c233([0x73,0x69,0x67]),[_0x36c233([0x63,0x72,0x76])]:_0x36c233([0x50,0x2d,0x32,0x35,0x36]),[_0x36c233([0x78])]:_0x36c233([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]),[_0x36c233([0x79])]:_0x36c233([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]),[_0x36c233([0x61,0x6c,0x67])]:_0x36c233([0x45,0x53,0x32,0x35,0x36])},_0x49514f=_0x1d7940[_0x36c233([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36c233([0x67,0x65,0x74])](_0x36c233([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x319ddb(){let _0x35152a,_0xe381d1=null,_0x23e0e4=null;try{if(_0x49514f==_0x36c233([0x47,0x50,0x4c]))return _0x36c233([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35152a=_0x47d40f(),!_0x35152a)return _0x36c233([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35152a[_0x36c233([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23e0e4=_0x1565ba(_0x35152a[_0x36c233([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35152a[_0x36c233([0x6a,0x74,0x69])])),await _0x1124a4()?_0x50f914()?_0x2d5db9()?_0x36c233([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3483af()?(_0x35152a[_0x36c233([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36c233([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe381d1=_0x81c80a(_0x36c233([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x35152a[_0x36c233([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36c233([0x74,0x72,0x69,0x61,0x6c])&&(_0xe381d1=_0x81c80a(_0x36c233([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d3685()):_0x36c233([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36c233([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36c233([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36c233([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d5db9(){const _0xce9d08=[_0x36c233([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36c233([0x74,0x72,0x69,0x61,0x6c])][_0x36c233([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35152a[_0x36c233([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x340c0b/0x3e8:0xe10*_0x20f39d;return _0x35152a[_0x36c233([0x65,0x78,0x70])]<_0xce9d08;}function _0x50f914(){const _0x3e483b=_0x35152a[_0x36c233([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3e483b&&(!!_0x3e483b[_0x36c233([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c233([0x2a]))||!!_0x3e483b[_0x36c233([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c233([0x53,0x45,0x45])));}function _0x3483af(){const _0xc88d38=_0x35152a[_0x36c233([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc88d38||0x0==_0xc88d38[_0x36c233([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dc7de}=new URL(window[_0x36c233([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xc88d38[_0x36c233([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc7de))return!0x0;const _0x28f9f1=_0x5dc7de[_0x36c233([0x73,0x70,0x6c,0x69,0x74])](_0x36c233([0x2e]));return _0xc88d38[_0x36c233([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f5b05=>_0x2f5b05[_0x36c233([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c233([0x2a])))[_0x36c233([0x6d,0x61,0x70])](_0x150fe2=>_0x150fe2[_0x36c233([0x73,0x70,0x6c,0x69,0x74])](_0x36c233([0x2e])))[_0x36c233([0x73,0x6f,0x6d,0x65])](_0xa27f78=>_0x28f9f1[_0x36c233([0x65,0x76,0x65,0x72,0x79])]((_0xc843d9,_0x22a787)=>_0xa27f78[_0x22a787]===_0xc843d9||_0xa27f78[_0x22a787]===_0x36c233([0x2a])));}function _0x3d3685(){return _0xe381d1&&_0x23e0e4?new window[(_0x36c233([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e2eec,_0x3fe741)=>{_0xe381d1[_0x36c233([0x74,0x68,0x65,0x6e])](_0x3e2eec,_0x3fe741),_0x23e0e4[_0x36c233([0x74,0x68,0x65,0x6e])](_0x4daeaa=>{_0x4daeaa!=_0x36c233([0x56,0x61,0x6c,0x69,0x64])&&_0x3e2eec(_0x4daeaa);},_0x3fe741);}):_0xe381d1||_0x23e0e4||_0x36c233([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1565ba(_0x765c10,_0xae5aaa){return new window[(_0x36c233([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x452bc2=>{if(_0x59f8e2())return _0x452bc2(_0x36c233([0x56,0x61,0x6c,0x69,0x64]));_0x4e7a4a(),_0x1d7940[_0x36c233([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36c233([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c00fb=!0x1;const _0x2d2430=_0x38aeb6();function _0x43245d(_0x50f93f){return!!_0x50f93f&&(typeof _0x50f93f===_0x36c233([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50f93f===_0x36c233([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50f93f[_0x36c233([0x74,0x68,0x65,0x6e])]===_0x36c233([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50f93f[_0x36c233([0x63,0x61,0x74,0x63,0x68])]===_0x36c233([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3dd7f8(_0x50a9f9){_0xc9e3a3(_0x50a9f9)[_0x36c233([0x74,0x68,0x65,0x6e])](_0x34de94=>{if(!_0x34de94||_0x34de94[_0x36c233([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36c233([0x6f,0x6b]))return _0x36c233([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x192bfd(_0x2fd818(_0x2d2430+_0xae5aaa))!=_0x34de94[_0x36c233([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36c233([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36c233([0x56,0x61,0x6c,0x69,0x64]);})[_0x36c233([0x74,0x68,0x65,0x6e])](_0x3832e4=>(_0x1017a5(),_0x3832e4),()=>{const _0x50cc2b=_0x745d1b();return null==_0x50cc2b?(_0x1017a5(),_0x36c233([0x56,0x61,0x6c,0x69,0x64])):_0x36c233(_0x340c0b-_0x50cc2b>(0x301bb019^_0x174c81)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36c233([0x74,0x68,0x65,0x6e])](_0x452bc2)[_0x36c233([0x63,0x61,0x74,0x63,0x68])](()=>{_0x452bc2(_0x36c233([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44880b=0x1421da99^_0x174c81;function _0x1017a5(){const _0x2ecf2f=_0x36c233([0x6c,0x6c,0x63,0x74,0x2d])+_0x192bfd(_0x2fd818(_0x765c10)),_0x33da58=_0x1a70a7(_0x192bfd(window[_0x36c233([0x4d,0x61,0x74,0x68])][_0x36c233([0x63,0x65,0x69,0x6c])](_0x340c0b/_0x44880b)));window[_0x36c233([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36c233([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ecf2f,_0x33da58);}function _0x745d1b(){const _0x129552=_0x36c233([0x6c,0x6c,0x63,0x74,0x2d])+_0x192bfd(_0x2fd818(_0x765c10)),_0x27a6b4=window[_0x36c233([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36c233([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x129552);return _0x27a6b4?window[_0x36c233([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a70a7(_0x27a6b4),0x10)*_0x44880b:null;}function _0xc9e3a3(_0x37b814){return new window[(_0x36c233([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e396b,_0x514820)=>{_0x37b814[_0x36c233([0x74,0x68,0x65,0x6e])](_0x1e396b,_0x514820),window[_0x36c233([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x514820,0x1416e0d9^_0x174c81);});}}_0x1d7940[_0x36c233([0x6f,0x6e])](_0x36c233([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ea726,_0x19fada)=>{if(_0x19fada[0x0]!=_0x765c10)return _0x452bc2(_0x36c233([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x19fada[0x1]={..._0x19fada[0x1],[_0x36c233([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d2430};},{[_0x36c233([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36c233([0x68,0x69,0x67,0x68])}),_0x1d7940[_0x36c233([0x6f,0x6e])](_0x36c233([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9d0754=>{_0x43245d(_0x9d0754[_0x36c233([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c00fb=!0x0,_0x3dd7f8(_0x9d0754[_0x36c233([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36c233([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36c233([0x6c,0x6f,0x77])}),_0x6761af[_0x36c233([0x74,0x68,0x65,0x6e])](()=>{_0x1c00fb||_0x452bc2(_0x36c233([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59f8e2(){return _0x1d7940[_0x36c233([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36c233([0x76,0x69,0x65,0x77])][_0x36c233([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36c233([0x61,0x75,0x74,0x6f]);}function _0x4e7a4a(){_0x1d7940[_0x36c233([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36c233([0x76,0x69,0x65,0x77])][_0x36c233([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36c233([0x61,0x75,0x74,0x6f]);}}function _0x81c80a(_0x4a9cf9){const _0x5069a=[new window[(_0x36c233([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x508300=>setTimeout(_0x508300,0x141e0ad5^_0x174c81)),_0x6761af[_0x36c233([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36c233([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x189035=>{let _0x2555e6=0x0;_0x1d7940[_0x36c233([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c233([0x6f,0x6e])](_0x36c233([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb91fc1,_0x29f8d4)=>{_0x29f8d4[0x0][_0x36c233([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2555e6++,_0x2555e6==(0x141735e1^_0x174c81)&&(_0x189035(),_0xb91fc1[_0x36c233([0x6f,0x66,0x66])]());});}))];return window[_0x36c233([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36c233([0x72,0x61,0x63,0x65])](_0x5069a)[_0x36c233([0x74,0x68,0x65,0x6e])](()=>_0x4a9cf9);}async function _0x4bcf02(){await _0x6761af,_0x1d7940[_0x36c233([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c233([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x317088,_0x1d7940[_0x36c233([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c233([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x317088,_0x1d7940[_0x36c233([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36c233([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5661af(_0x1af3d5){const _0x39c5c0=_0x1417b0();_0x1d7940[_0x39c5c0]=_0x36c233([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])+_0x1af3d5,_0x1af3d5!=_0x36c233([0x56,0x61,0x6c,0x69,0x64])&&_0x4bcf02();}function _0x1417b0(){const _0x55208a=window[_0x36c233([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36c233([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36c233([0x6e,0x6f,0x77])]())[_0x36c233([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36c233([0x2e]),'');let _0x32cba1=_0x36c233([0x64]);for(let _0x2294fb=0x0;_0x2294fb<_0x55208a[_0x36c233([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2294fb+=0x2){let _0x19d0ab=window[_0x36c233([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55208a[_0x36c233([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2294fb,_0x2294fb+0x2));_0x19d0ab>=_0x24b16a[_0x36c233([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19d0ab-=_0x24b16a[_0x36c233([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32cba1+=_0x24b16a[_0x19d0ab];}return _0x32cba1;}function _0x47d40f(){const _0x5c626b=_0x49514f[_0x36c233([0x73,0x70,0x6c,0x69,0x74])](_0x36c233([0x2e]));if(0x3!=_0x5c626b[_0x36c233([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d4984(_0x5c626b[0x1]);function _0x3d4984(_0x38e8f2){const _0x14ab77=_0x333de4(_0x38e8f2);return _0x14ab77&&_0x4b0643()?_0x14ab77:null;function _0x4b0643(){const _0x2fb23e=_0x14ab77[_0x36c233([0x6a,0x74,0x69])],_0x3c7a0c=window[_0x36c233([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fb23e[_0x36c233([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fb23e[_0x36c233([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x485de3={..._0x14ab77,[_0x36c233([0x6a,0x74,0x69])]:_0x2fb23e[_0x36c233([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2fb23e[_0x36c233([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x485de3[_0x36c233([0x76,0x63])],_0x2fd818(_0x485de3)==_0x3c7a0c;}}}async function _0x1124a4(){let _0x12ee93=!0x0;try{const _0x4e68dd=_0x49514f[_0x36c233([0x73,0x70,0x6c,0x69,0x74])](_0x36c233([0x2e])),[_0x4d8a3d,_0x11da0c,_0xebca68]=_0x4e68dd;return _0x53e1cf(_0x4d8a3d),await _0x4d4283(_0x4d8a3d,_0x11da0c,_0xebca68),_0x12ee93;}catch{return!0x1;}function _0x53e1cf(_0x3d8bb6){const _0x3892d6=_0x333de4(_0x3d8bb6);_0x3892d6&&_0x3892d6[_0x36c233([0x61,0x6c,0x67])]==_0x36c233([0x45,0x53,0x32,0x35,0x36])||(_0x12ee93=!0x1);}async function _0x4d4283(_0x20fcf7,_0x1864c6,_0xed4d5c){const _0x5c4604=window[_0x36c233([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36c233([0x66,0x72,0x6f,0x6d])](_0xbde151(_0xed4d5c),_0x135b73=>_0x135b73[_0x36c233([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x114ff1=new window[(_0x36c233([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36c233([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20fcf7+_0x36c233([0x2e])+_0x1864c6),_0x32ee1d=window[_0x36c233([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36c233([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32ee1d)return;const _0x59d289=await _0x32ee1d[_0x36c233([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36c233([0x6a,0x77,0x6b]),_0x2645b7,{[_0x36c233([0x6e,0x61,0x6d,0x65])]:_0x36c233([0x45,0x43,0x44,0x53,0x41]),[_0x36c233([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36c233([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36c233([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32ee1d[_0x36c233([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36c233([0x6e,0x61,0x6d,0x65])]:_0x36c233([0x45,0x43,0x44,0x53,0x41]),[_0x36c233([0x68,0x61,0x73,0x68])]:{[_0x36c233([0x6e,0x61,0x6d,0x65])]:_0x36c233([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59d289,_0x5c4604,_0x114ff1)||(_0x12ee93=!0x1);}}function _0x333de4(_0xf23aa5){return _0xf23aa5[_0x36c233([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36c233([0x65,0x79]))?JSON[_0x36c233([0x70,0x61,0x72,0x73,0x65])](_0xbde151(_0xf23aa5)):null;}function _0xbde151(_0x9575ec){return window[_0x36c233([0x61,0x74,0x6f,0x62])](_0x9575ec[_0x36c233([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36c233([0x2b]))[_0x36c233([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36c233([0x2f])));}function _0x2fd818(_0x5047d5){let _0x2eb5df=0x1505;function _0x339734(_0x58a00c){for(let _0x5dd6e8=0x0;_0x5dd6e8<_0x58a00c[_0x36c233([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5dd6e8++){const _0x1d30bb=_0x58a00c[_0x36c233([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5dd6e8);_0x2eb5df=(_0x2eb5df<<0x5)+_0x2eb5df+_0x1d30bb,_0x2eb5df&=_0x2eb5df;}}function _0x541c28(_0x22a83d){Array[_0x36c233([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22a83d)?_0x22a83d[_0x36c233([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x541c28):_0x22a83d&&typeof _0x22a83d==_0x36c233([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36c233([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22a83d)[_0x36c233([0x73,0x6f,0x72,0x74])]()[_0x36c233([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x393d2e,_0x360a2c])=>{_0x339734(_0x393d2e),_0x541c28(_0x360a2c);}):_0x339734(window[_0x36c233([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22a83d));}return _0x541c28(_0x5047d5),_0x2eb5df>>>0x0;}function _0x192bfd(_0x168aa3){return _0x168aa3[_0x36c233([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36c233([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36c233([0x30]));}function _0x1a70a7(_0x40cc68){return _0x40cc68[_0x36c233([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36c233([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36c233([0x6a,0x6f,0x69,0x6e])]('');}function _0x317088(){}function _0x36c233(_0x44b7a2){return _0x44b7a2['map'](_0x1df529=>String['fromCharCode'](_0x1df529))['join']('');}_0x5661af(await _0x319ddb());}(this);}['_createButton'](_0x2afdf7,_0x1b7a43,_0x1ca9b1=!0x1){const _0x2af5cf=new _0x2afdf7(this['editor']['locale']);return _0x2af5cf['set']({'withText':_0x1ca9b1,'isToggleable':!0x1}),_0x2af5cf['bind']('isEnabled')['to'](_0x1b7a43,'isEnabled'),this['listenTo'](_0x2af5cf,'execute',()=>_0x1b7a43['execute']()),_0x2af5cf;}['_registerKeybindings'](){const _0x585708=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x585708,'Source\x20Editing\x20Enhanced')});const _0x2422af=_0x1130f9['isMac']||_0x1130f9['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x585708,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x585708,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x585708,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x585708,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x585708,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x585708,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x585708,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x2422af?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x585708,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x585708,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x585708,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x585708,'Select\x20line'),'keystroke':_0x2422af?'Ctrl!+L':'Alt+L'},{'label':f(_0x585708,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x2422af?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x585708,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x585708,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x585708,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x585708,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x585708,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x2422af?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x4a0137{constructor(_0x25f4b1){super(_0x25f4b1),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1c7e76,_0x3abb24){const _0x1f1a50=this['editor'],_0x4c1eb5=_0x3abb24?.['rootName']??s(_0x1f1a50);_0x1f1a50['data']['set']({[_0x4c1eb5]:_0x1c7e76},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x2ae366{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x575235){super(_0x575235),_0x575235['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 _0x247587=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc97de3;for(const _0x18683f in _0x247587){const _0x2b4f23=_0x18683f,_0x7fcd4b=_0x247587[_0x2b4f23];if('sourceEditingEnhancedLicenseKeyValid'==_0x7fcd4b||'sourceEditingEnhancedLicenseKeyInvalid'==_0x7fcd4b||'sourceEditingEnhancedLicenseKeyExpired'==_0x7fcd4b||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x7fcd4b||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x7fcd4b||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x7fcd4b||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x7fcd4b||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x7fcd4b){delete _0x247587[_0x2b4f23],_0xc97de3=_0x7fcd4b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0xc97de3&&_0x247587['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0xc97de3&&_0x247587['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xc97de3&&_0x247587['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xc97de3&&_0x247587['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xc97de3&&_0x247587['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0xc97de3&&_0x247587['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xc97de3&&_0x247587['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4abeab=this['editor'],_0x3bed9d=_0x4abeab['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3bed9d&&_0x4abeab['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x402043('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3bed9d&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3ca9e4=>_0x4abeab['plugins']['has'](_0x3ca9e4))&&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.'),_0x4abeab['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 _0x410f6c,PendingActions as _0x59b146,Plugin as _0xcb21ec}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x41d927,formatHtml as tr,env as _0x407929,uid as _0x55c01d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x2a15d1}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x184257,ButtonView as _0x270c1b,MenuBarMenuListItemButtonView as _0x2cc531}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1e42d8,crosshairCursor as _0x4ab3cf,drawSelection as _0x431327,dropCursor as _0x24e038,lineNumbers as _0xc9c265,highlightActiveLine as _0x264ea4,highlightActiveLineGutter as _0x1e90d8,highlightSpecialChars as _0x4c8bb0,rectangularSelection as _0x1a7518,keymap as _0x2b6c11}from'@codemirror/view';import{Compartment as _0x22a414,Transaction as _0x20f768}from'@codemirror/state';import{bracketMatching as _0x2ed3df,foldGutter as _0xdd9504,indentOnInput as _0x5b9fe,syntaxHighlighting as _0x1d29fc,defaultHighlightStyle as _0x314a09,foldKeymap as _0x43a6da}from'@codemirror/language';import{toggleTabFocusMode as _0x427e22,history as _0x43cdbb,defaultKeymap as _0x521276,historyKeymap as _0xc07060,indentLess as _0x56b100,indentMore as _0x59bffc,redo as _0x1cc004,undo as _0x489a47}from'@codemirror/commands';import{autocompletion as _0x2e974c,closeBrackets as _0x286e56,closeBracketsKeymap as _0x31bf09,completionKeymap as _0x377fd3}from'@codemirror/autocomplete';import{html as _0x1d44f3}from'@codemirror/lang-html';import{markdown as _0x1323ac}from'@codemirror/lang-markdown';import{oneDark as _0x3bc2ae}from'@codemirror/theme-one-dark';function f(_0x347454,_0x544ca7){const t=_0x347454['t'];switch(_0x544ca7){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 _0x544ca7;}}function s(_0x1859e7){const _0x39d2e7=_0x1859e7['editing']['view']['document']['roots'],_0x3213d8=_0x39d2e7['length'];if(0x0===_0x3213d8)throw new _0x41d927('source-editing-enhanced-editor-no-root',_0x1859e7);if(0x1===_0x3213d8)return _0x39d2e7['first']['rootName'];return Array['from'](_0x1859e7['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x5f5685){return or(_0x5f5685['replace'](/^[\n\s]*/g,''))?_0x5f5685['replace'](/\s+/g,''):_0x5f5685;}function or(_0x1d6c91){return _0x1d6c91['startsWith']('<');}function p(_0xb568ca){const _0x2d96a7=[_0x1e42d8['lineWrapping'],_0x2e974c(),_0x2ed3df(),_0x286e56(),_0x4ab3cf(),_0x431327(),_0x24e038(),_0xc9c265(),_0xdd9504(),_0x264ea4(),_0x1e90d8(),_0x4c8bb0(),_0x43cdbb(),_0x5b9fe(),_0x1a7518(),_0x1d29fc(_0x314a09,{'fallback':!0x0})],_0x13a5f4=new _0x22a414();_0x2d96a7['push'](_0x13a5f4['of'](_0x1e42d8['editable']['of'](!0x0))),'html'===_0xb568ca['syntaxLanguage']?_0x2d96a7['push'](_0x1d44f3()):_0x2d96a7['push'](_0x1323ac());const _0x161240=function(_0x238fae){if(_0x238fae&&'default'!==_0x238fae)return'dark'===_0x238fae?_0x3bc2ae:_0x238fae;return null;}(_0xb568ca['theme']);_0x161240&&_0x2d96a7['push'](_0x161240),_0x2d96a7['push'](_0x2b6c11['of']([..._0x31bf09,..._0x521276,..._0xc07060,..._0x43a6da,..._0x377fd3,{'key':'Tab','run':_0x59bffc,'shift':_0x56b100,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1cc004,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1cc004,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x489a47,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0xb761ff=new _0x1e42d8({'extensions':_0x2d96a7,'parent':_0xb568ca['parent']});return _0x427e22(_0xb761ff),{'focus':()=>{_0xb761ff['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xb761ff['focus']();},'getData':()=>_0xb761ff['state']['doc']['toString'](),'setData':_0x48d11d=>{_0xb761ff['dispatch']({'changes':{'from':0x0,'to':_0xb761ff['state']['doc']['length'],'insert':_0x48d11d},'annotations':_0x20f768['addToHistory']['of'](!0x1)});},'setReadOnly':_0xc2dff1=>{_0xb761ff['dispatch']({'effects':[_0x13a5f4['reconfigure'](_0x1e42d8['editable']['of'](!_0xc2dff1))]});},'destroy':()=>{_0xb761ff['destroy']();},'instance':_0xb761ff};}class m extends _0x184257{['_codeEditorApi']=null;['_options'];constructor(_0x2c39d0,_0x250101){super(_0x2c39d0),this['_options']=_0x250101,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',(_0x37211e,_0x2e6fb3,_0x9584a7)=>{this['setReadOnly'](_0x9584a7);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x758ca1){this['_codeEditorApi']['setData'](_0x758ca1);}['setReadOnly'](_0x276252){this['_codeEditorApi']['setReadOnly'](_0x276252);}}const b='SourceEditingEnhancedMode';class d extends _0x410f6c{constructor(_0x28d689){super(_0x28d689),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x59b146)['on']('change:hasAny',(_0x2e29e3,_0x10991a,_0x517aa8)=>{_0x517aa8?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x5438a7=this['editor'];for(const _0x4673e0 of _0x5438a7['commands']['names']())['replaceSource','editSource']['includes'](_0x4673e0)||_0x5438a7['commands']['get'](_0x4673e0)['forceDisabled'](b);}['_enableCommands'](){const _0x531964=this['editor'];for(const _0x2c4016 of _0x531964['commands']['commands']())_0x2c4016['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x17f32f=this['editor'],_0x35f821=_0x17f32f['locale'],_0x542bdb=_0x17f32f['plugins']['get']('Dialog'),_0x58be79=s(_0x17f32f),_0x1270cf=_0x17f32f['data']['get']({'rootName':_0x58be79}),_0x476fed=or(_0xe8d3ca=_0x1270cf)?tr(_0xe8d3ca):_0xe8d3ca;var _0xe8d3ca;const _0x2cbd01=new m(_0x35f821,{'syntaxLanguage':_0x17f32f['plugins']['has']('Markdown')?'markdown':'html','theme':_0x17f32f['config']['get']('sourceEditingEnhanced.theme')});let _0x560ddd=!0x0;const _0x5aeab7=_0x29ad60=>{if(!_0x560ddd)return;return E(_0x2cbd01['getData']())!==E(_0x476fed)?window['confirm'](f(_0x35f821,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x29ad60['stop']():void 0x0;};_0x542bdb['show']({'id':'sourceEditingEnhanced','title':f(_0x35f821,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2cbd01,'actionButtons':[{'label':f(_0x35f821,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x542bdb['hide']();}},{'label':f(_0x35f821,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x47a77f=E(_0x2cbd01['getData']())!==E(_0x476fed);(_0x47a77f&&_0x17f32f['execute']('replaceSource',_0x2cbd01['getData']()),_0x560ddd=!0x1,_0x542bdb['hide'](),_0x47a77f&&'editables'in _0x17f32f['ui']['view'])&&_0x17f32f['ui']['view']['editables'][_0x58be79]['element']['focus']();},'onCreate':_0xcf4056=>{_0xcf4056['set']('isEnabled',!_0x17f32f['isReadOnly']),_0xcf4056['bind']('isEnabled')['to'](_0x17f32f,'isReadOnly',this,'isEnabled',(_0x9a338f,_0x4cc826)=>!_0x9a338f&&_0x4cc826);}}],'onHide':()=>{this['_enableCommands'](),_0x542bdb['off']('hide',_0x5aeab7),_0x2cbd01['destroy']();},'onShow':()=>{_0x2cbd01['bind']('isReadOnly')['to'](_0x17f32f,'isReadOnly',this,'isEnabled',(_0x3dc987,_0x5c8691)=>_0x3dc987||!_0x5c8691),_0x2cbd01['setData'](_0x476fed),_0x2cbd01['focus'](),_0x542bdb['on']('hide',_0x5aeab7,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0xcb21ec{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x59b146];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1d29ae=this['editor'],_0x100254=_0x1d29ae['locale'],_0x39a492=new d(_0x1d29ae);_0x1d29ae['commands']['add']('editSource',_0x39a492),_0x1d29ae['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x463abf=this['_createButton'](_0x270c1b,_0x39a492);return _0x463abf['set']({'label':f(_0x100254,'Source'),'icon':_0x2a15d1,'tooltip':f(_0x100254,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x463abf;}),_0x1d29ae['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3911f0=this['_createButton'](_0x2cc531,_0x39a492,!0x0);return _0x3911f0['set']({'label':f(_0x100254,'Edit\x20source\x20modal\x20label'),'icon':_0x2a15d1,'role':'menuitemcheckbox'}),_0x3911f0;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x23528c){const _0x4e113f=_0x1e38e5([0x6e,0x48,0x57,0x37,0x75,0x69,0x67,0x68,0x36,0x33,0x4e,0x44,0x49,0x4f,0x6b,0x34,0x73,0x52,0x79,0x6d,0x59,0x39,0x50,0x45,0x31,0x61,0x64,0x42,0x53,0x4d,0x46,0x72,0x4a,0x47,0x6a,0x51,0x6c,0x62,0x43,0x38,0x4b,0x5a,0x30,0x35,0x55,0x41,0x65,0x6f,0x77,0x78,0x70,0x58,0x7a,0x63,0x32,0x76,0x54,0x4c,0x74,0x56,0x66,0x71]),_0x12fa0d=0x1abc1a11,_0x22f8df=0x1abb7391^_0x12fa0d,_0x3fa33b=window[_0x1e38e5([0x44,0x61,0x74,0x65])][_0x1e38e5([0x6e,0x6f,0x77])](),_0x13a93f=_0x23528c[_0x1e38e5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e6a25=new window[(_0x1e38e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bd70d=>{_0x13a93f[_0x1e38e5([0x6f,0x6e,0x63,0x65])](_0x1e38e5([0x72,0x65,0x61,0x64,0x79]),_0x5bd70d);}),_0x2c9aff={[_0x1e38e5([0x6b,0x74,0x79])]:_0x1e38e5([0x45,0x43]),[_0x1e38e5([0x75,0x73,0x65])]:_0x1e38e5([0x73,0x69,0x67]),[_0x1e38e5([0x63,0x72,0x76])]:_0x1e38e5([0x50,0x2d,0x32,0x35,0x36]),[_0x1e38e5([0x78])]:_0x1e38e5([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]),[_0x1e38e5([0x79])]:_0x1e38e5([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]),[_0x1e38e5([0x61,0x6c,0x67])]:_0x1e38e5([0x45,0x53,0x32,0x35,0x36])},_0xc5bb18=_0x13a93f[_0x1e38e5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e38e5([0x67,0x65,0x74])](_0x1e38e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x26a7ef(){let _0x3f6ffa,_0x2150bd=null,_0x4c1e9d=null;try{if(_0xc5bb18==_0x1e38e5([0x47,0x50,0x4c]))return _0x1e38e5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f6ffa=_0xe3f80d(),!_0x3f6ffa)return _0x1e38e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f6ffa[_0x1e38e5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c1e9d=_0x3fb661(_0x3f6ffa[_0x1e38e5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f6ffa[_0x1e38e5([0x6a,0x74,0x69])])),await _0x2e5821()?_0x21039e()?_0x1eb655()?_0x1e38e5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46c427()?(_0x3f6ffa[_0x1e38e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e38e5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2150bd=_0x46ab2a(_0x1e38e5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f6ffa[_0x1e38e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e38e5([0x74,0x72,0x69,0x61,0x6c])&&(_0x2150bd=_0x46ab2a(_0x1e38e5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10dc22()):_0x1e38e5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e38e5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e38e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e38e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1eb655(){const _0x20ed7c=[_0x1e38e5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e38e5([0x74,0x72,0x69,0x61,0x6c])][_0x1e38e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f6ffa[_0x1e38e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3fa33b/0x3e8:0xe10*_0x22f8df;return _0x3f6ffa[_0x1e38e5([0x65,0x78,0x70])]<_0x20ed7c;}function _0x21039e(){const _0x4391a2=_0x3f6ffa[_0x1e38e5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4391a2&&(!!_0x4391a2[_0x1e38e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e38e5([0x2a]))||!!_0x4391a2[_0x1e38e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e38e5([0x53,0x45,0x45])));}function _0x46c427(){const _0x580ffe=_0x3f6ffa[_0x1e38e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x580ffe||0x0==_0x580ffe[_0x1e38e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x463d0e}=new URL(window[_0x1e38e5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x580ffe[_0x1e38e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x463d0e))return!0x0;const _0x251888=_0x463d0e[_0x1e38e5([0x73,0x70,0x6c,0x69,0x74])](_0x1e38e5([0x2e]));return _0x580ffe[_0x1e38e5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d11cd=>_0x3d11cd[_0x1e38e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e38e5([0x2a])))[_0x1e38e5([0x6d,0x61,0x70])](_0x4a6553=>_0x4a6553[_0x1e38e5([0x73,0x70,0x6c,0x69,0x74])](_0x1e38e5([0x2e])))[_0x1e38e5([0x73,0x6f,0x6d,0x65])](_0x2f8d06=>_0x251888[_0x1e38e5([0x65,0x76,0x65,0x72,0x79])]((_0x1e36f9,_0x3cf08f)=>_0x2f8d06[_0x3cf08f]===_0x1e36f9||_0x2f8d06[_0x3cf08f]===_0x1e38e5([0x2a])));}function _0x10dc22(){return _0x2150bd&&_0x4c1e9d?new window[(_0x1e38e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5eda5d,_0x5bfb44)=>{_0x2150bd[_0x1e38e5([0x74,0x68,0x65,0x6e])](_0x5eda5d,_0x5bfb44),_0x4c1e9d[_0x1e38e5([0x74,0x68,0x65,0x6e])](_0x3582c5=>{_0x3582c5!=_0x1e38e5([0x56,0x61,0x6c,0x69,0x64])&&_0x5eda5d(_0x3582c5);},_0x5bfb44);}):_0x2150bd||_0x4c1e9d||_0x1e38e5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3fb661(_0x57e6c0,_0x4ab32f){return new window[(_0x1e38e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e3651=>{if(_0x8f3487())return _0x5e3651(_0x1e38e5([0x56,0x61,0x6c,0x69,0x64]));_0x7010a3(),_0x13a93f[_0x1e38e5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e38e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bbad3=!0x1;const _0x55b67a=_0x55c01d();function _0x21331d(_0x2e36eb){return!!_0x2e36eb&&(typeof _0x2e36eb===_0x1e38e5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e36eb===_0x1e38e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e36eb[_0x1e38e5([0x74,0x68,0x65,0x6e])]===_0x1e38e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e36eb[_0x1e38e5([0x63,0x61,0x74,0x63,0x68])]===_0x1e38e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x598dfe(_0x3ef3c1){_0xdf4625(_0x3ef3c1)[_0x1e38e5([0x74,0x68,0x65,0x6e])](_0x21bab2=>{if(!_0x21bab2||_0x21bab2[_0x1e38e5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e38e5([0x6f,0x6b]))return _0x1e38e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16cde9(_0x5d0e1e(_0x55b67a+_0x4ab32f))!=_0x21bab2[_0x1e38e5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e38e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e38e5([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e38e5([0x74,0x68,0x65,0x6e])](_0x48f39d=>(_0x54cbaa(),_0x48f39d),()=>{const _0x309e3a=_0x27bf94();return null==_0x309e3a?(_0x54cbaa(),_0x1e38e5([0x56,0x61,0x6c,0x69,0x64])):_0x1e38e5(_0x3fa33b-_0x309e3a>(0x3eb09e11^_0x12fa0d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e38e5([0x74,0x68,0x65,0x6e])](_0x5e3651)[_0x1e38e5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e3651(_0x1e38e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x560111=0x1a8af491^_0x12fa0d;function _0x54cbaa(){const _0x1818c4=_0x1e38e5([0x6c,0x6c,0x63,0x74,0x2d])+_0x16cde9(_0x5d0e1e(_0x57e6c0)),_0x55abaa=_0x4c289a(_0x16cde9(window[_0x1e38e5([0x4d,0x61,0x74,0x68])][_0x1e38e5([0x63,0x65,0x69,0x6c])](_0x3fa33b/_0x560111)));window[_0x1e38e5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e38e5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1818c4,_0x55abaa);}function _0x27bf94(){const _0x260451=_0x1e38e5([0x6c,0x6c,0x63,0x74,0x2d])+_0x16cde9(_0x5d0e1e(_0x57e6c0)),_0x2c4c8d=window[_0x1e38e5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e38e5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x260451);return _0x2c4c8d?window[_0x1e38e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c289a(_0x2c4c8d),0x10)*_0x560111:null;}function _0xdf4625(_0x1e4a26){return new window[(_0x1e38e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdafec6,_0x4ae7fb)=>{_0x1e4a26[_0x1e38e5([0x74,0x68,0x65,0x6e])](_0xdafec6,_0x4ae7fb),window[_0x1e38e5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ae7fb,0x1abdced1^_0x12fa0d);});}}_0x13a93f[_0x1e38e5([0x6f,0x6e])](_0x1e38e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14ea96,_0x59c3fb)=>{if(_0x59c3fb[0x0]!=_0x57e6c0)return _0x5e3651(_0x1e38e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59c3fb[0x1]={..._0x59c3fb[0x1],[_0x1e38e5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x55b67a};},{[_0x1e38e5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e38e5([0x68,0x69,0x67,0x68])}),_0x13a93f[_0x1e38e5([0x6f,0x6e])](_0x1e38e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b25d2=>{_0x21331d(_0x1b25d2[_0x1e38e5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bbad3=!0x0,_0x598dfe(_0x1b25d2[_0x1e38e5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e38e5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e38e5([0x6c,0x6f,0x77])}),_0x3e6a25[_0x1e38e5([0x74,0x68,0x65,0x6e])](()=>{_0x2bbad3||_0x5e3651(_0x1e38e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8f3487(){return _0x13a93f[_0x1e38e5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e38e5([0x76,0x69,0x65,0x77])][_0x1e38e5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e38e5([0x61,0x75,0x74,0x6f]);}function _0x7010a3(){_0x13a93f[_0x1e38e5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e38e5([0x76,0x69,0x65,0x77])][_0x1e38e5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e38e5([0x61,0x75,0x74,0x6f]);}}function _0x46ab2a(_0x2341b8){const _0x895b2d=[new window[(_0x1e38e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39f33f=>setTimeout(_0x39f33f,0x1ab524dd^_0x12fa0d)),_0x3e6a25[_0x1e38e5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e38e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x314b19=>{let _0x394af2=0x0;_0x13a93f[_0x1e38e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e38e5([0x6f,0x6e])](_0x1e38e5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1da912,_0x39852f)=>{_0x39852f[0x0][_0x1e38e5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x394af2++,_0x394af2==(0x1abc1be9^_0x12fa0d)&&(_0x314b19(),_0x1da912[_0x1e38e5([0x6f,0x66,0x66])]());});}))];return window[_0x1e38e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e38e5([0x72,0x61,0x63,0x65])](_0x895b2d)[_0x1e38e5([0x74,0x68,0x65,0x6e])](()=>_0x2341b8);}async function _0x18bac4(){await _0x3e6a25,_0x13a93f[_0x1e38e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e38e5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cf725,_0x13a93f[_0x1e38e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e38e5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cf725,_0x13a93f[_0x1e38e5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e38e5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x473cc8(_0x3f4467){const _0x5b61a1=_0x355f4b();_0x13a93f[_0x5b61a1]=_0x1e38e5([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])+_0x3f4467,_0x3f4467!=_0x1e38e5([0x56,0x61,0x6c,0x69,0x64])&&_0x18bac4();}function _0x355f4b(){const _0x396b32=window[_0x1e38e5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e38e5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e38e5([0x6e,0x6f,0x77])]())[_0x1e38e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e38e5([0x2e]),'');let _0x5643ae=_0x1e38e5([0x6e]);for(let _0x882d54=0x0;_0x882d54<_0x396b32[_0x1e38e5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x882d54+=0x2){let _0x35b166=window[_0x1e38e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x396b32[_0x1e38e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x882d54,_0x882d54+0x2));_0x35b166>=_0x4e113f[_0x1e38e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35b166-=_0x4e113f[_0x1e38e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5643ae+=_0x4e113f[_0x35b166];}return _0x5643ae;}function _0xe3f80d(){const _0x2a0305=_0xc5bb18[_0x1e38e5([0x73,0x70,0x6c,0x69,0x74])](_0x1e38e5([0x2e]));if(0x3!=_0x2a0305[_0x1e38e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x17bff7(_0x2a0305[0x1]);function _0x17bff7(_0xedad4d){const _0x29de9b=_0x473e16(_0xedad4d);return _0x29de9b&&_0x31f258()?_0x29de9b:null;function _0x31f258(){const _0x7ebc4d=_0x29de9b[_0x1e38e5([0x6a,0x74,0x69])],_0x39d92d=window[_0x1e38e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7ebc4d[_0x1e38e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7ebc4d[_0x1e38e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22c191={..._0x29de9b,[_0x1e38e5([0x6a,0x74,0x69])]:_0x7ebc4d[_0x1e38e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7ebc4d[_0x1e38e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22c191[_0x1e38e5([0x76,0x63])],_0x5d0e1e(_0x22c191)==_0x39d92d;}}}async function _0x2e5821(){let _0x5bf469=!0x0;try{const _0x41e978=_0xc5bb18[_0x1e38e5([0x73,0x70,0x6c,0x69,0x74])](_0x1e38e5([0x2e])),[_0x7d94e0,_0x57a691,_0x1fcac6]=_0x41e978;return _0x278e02(_0x7d94e0),await _0x5a2517(_0x7d94e0,_0x57a691,_0x1fcac6),_0x5bf469;}catch{return!0x1;}function _0x278e02(_0x5722a6){const _0x2c9453=_0x473e16(_0x5722a6);_0x2c9453&&_0x2c9453[_0x1e38e5([0x61,0x6c,0x67])]==_0x1e38e5([0x45,0x53,0x32,0x35,0x36])||(_0x5bf469=!0x1);}async function _0x5a2517(_0x43bca5,_0x1d7cd5,_0x51a975){const _0x3f1007=window[_0x1e38e5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e38e5([0x66,0x72,0x6f,0x6d])](_0x49d1f3(_0x51a975),_0x53972d=>_0x53972d[_0x1e38e5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b9766=new window[(_0x1e38e5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e38e5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43bca5+_0x1e38e5([0x2e])+_0x1d7cd5),_0xa438a7=window[_0x1e38e5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e38e5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa438a7)return;const _0x783829=await _0xa438a7[_0x1e38e5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e38e5([0x6a,0x77,0x6b]),_0x2c9aff,{[_0x1e38e5([0x6e,0x61,0x6d,0x65])]:_0x1e38e5([0x45,0x43,0x44,0x53,0x41]),[_0x1e38e5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e38e5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e38e5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa438a7[_0x1e38e5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e38e5([0x6e,0x61,0x6d,0x65])]:_0x1e38e5([0x45,0x43,0x44,0x53,0x41]),[_0x1e38e5([0x68,0x61,0x73,0x68])]:{[_0x1e38e5([0x6e,0x61,0x6d,0x65])]:_0x1e38e5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x783829,_0x3f1007,_0x5b9766)||(_0x5bf469=!0x1);}}function _0x473e16(_0x499dc2){return _0x499dc2[_0x1e38e5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e38e5([0x65,0x79]))?JSON[_0x1e38e5([0x70,0x61,0x72,0x73,0x65])](_0x49d1f3(_0x499dc2)):null;}function _0x49d1f3(_0x233ade){return window[_0x1e38e5([0x61,0x74,0x6f,0x62])](_0x233ade[_0x1e38e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e38e5([0x2b]))[_0x1e38e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e38e5([0x2f])));}function _0x5d0e1e(_0x1f3f22){let _0x88f6b1=0x1505;function _0x2bcab0(_0x7f45a8){for(let _0x45afb3=0x0;_0x45afb3<_0x7f45a8[_0x1e38e5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45afb3++){const _0x544523=_0x7f45a8[_0x1e38e5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45afb3);_0x88f6b1=(_0x88f6b1<<0x5)+_0x88f6b1+_0x544523,_0x88f6b1&=_0x88f6b1;}}function _0x115571(_0x2f49a9){Array[_0x1e38e5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f49a9)?_0x2f49a9[_0x1e38e5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x115571):_0x2f49a9&&typeof _0x2f49a9==_0x1e38e5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e38e5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f49a9)[_0x1e38e5([0x73,0x6f,0x72,0x74])]()[_0x1e38e5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39aca2,_0x25c0c9])=>{_0x2bcab0(_0x39aca2),_0x115571(_0x25c0c9);}):_0x2bcab0(window[_0x1e38e5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f49a9));}return _0x115571(_0x1f3f22),_0x88f6b1>>>0x0;}function _0x16cde9(_0x4c463d){return _0x4c463d[_0x1e38e5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e38e5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e38e5([0x30]));}function _0x4c289a(_0x41c242){return _0x41c242[_0x1e38e5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e38e5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e38e5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cf725(){}function _0x1e38e5(_0x9d06fb){return _0x9d06fb['map'](_0x3dcec3=>String['fromCharCode'](_0x3dcec3))['join']('');}_0x473cc8(await _0x26a7ef());}(this);}['_createButton'](_0x2358c6,_0x148f62,_0x3384b1=!0x1){const _0x58a023=new _0x2358c6(this['editor']['locale']);return _0x58a023['set']({'withText':_0x3384b1,'isToggleable':!0x1}),_0x58a023['bind']('isEnabled')['to'](_0x148f62,'isEnabled'),this['listenTo'](_0x58a023,'execute',()=>_0x148f62['execute']()),_0x58a023;}['_registerKeybindings'](){const _0x5672cf=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x5672cf,'Source\x20Editing\x20Enhanced')});const _0x2c71ee=_0x407929['isMac']||_0x407929['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x5672cf,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x5672cf,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x5672cf,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x5672cf,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x5672cf,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x5672cf,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x5672cf,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x2c71ee?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x5672cf,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x5672cf,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x5672cf,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x5672cf,'Select\x20line'),'keystroke':_0x2c71ee?'Ctrl!+L':'Alt+L'},{'label':f(_0x5672cf,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x2c71ee?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x5672cf,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x5672cf,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x5672cf,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x5672cf,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x5672cf,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x2c71ee?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x410f6c{constructor(_0x5090cb){super(_0x5090cb),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x2c389d,_0x512b14){const _0x327a9b=this['editor'],_0x36f852=_0x512b14?.['rootName']??s(_0x327a9b);_0x327a9b['data']['set']({[_0x36f852]:_0x2c389d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0xcb21ec{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x3751de){super(_0x3751de),_0x3751de['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 _0x36a0ae=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1c8f80;for(const _0x5899ff in _0x36a0ae){const _0x294085=_0x5899ff,_0x3c82a9=_0x36a0ae[_0x294085];if('sourceEditingEnhancedLicenseKeyValid'==_0x3c82a9||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3c82a9||'sourceEditingEnhancedLicenseKeyExpired'==_0x3c82a9||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3c82a9||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3c82a9||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3c82a9||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3c82a9||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3c82a9){delete _0x36a0ae[_0x294085],_0x1c8f80=_0x3c82a9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1c8f80&&_0x36a0ae['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1c8f80&&_0x36a0ae['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1c8f80&&_0x36a0ae['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1c8f80&&_0x36a0ae['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1c8f80&&_0x36a0ae['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1c8f80&&_0x36a0ae['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1c8f80&&_0x36a0ae['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3e1d48=this['editor'],_0x512063=_0x3e1d48['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x512063&&_0x3e1d48['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x41d927('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x512063&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4d7df3=>_0x3e1d48['plugins']['has'](_0x4d7df3))&&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.'),_0x3e1d48['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250601.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250601.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250601.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250601.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250601.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250601.0",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.0",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "0.0.0-nightly-
|
|
34
|
+
"ckeditor5": "0.0.0-nightly-20250601.0"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x328692=_0x36e4;(function(_0x2b43d9,_0x53c075){const _0x5c735c=_0x36e4,_0x207911=_0x2b43d9();while(!![]){try{const _0x11c443=-parseInt(_0x5c735c(0x156))/0x1+-parseInt(_0x5c735c(0x157))/0x2+parseInt(_0x5c735c(0x18e))/0x3*(-parseInt(_0x5c735c(0x169))/0x4)+parseInt(_0x5c735c(0x188))/0x5*(parseInt(_0x5c735c(0x182))/0x6)+parseInt(_0x5c735c(0x178))/0x7*(-parseInt(_0x5c735c(0x17d))/0x8)+-parseInt(_0x5c735c(0x1a6))/0x9+-parseInt(_0x5c735c(0x19f))/0xa*(-parseInt(_0x5c735c(0x168))/0xb);if(_0x11c443===_0x53c075)break;else _0x207911['push'](_0x207911['shift']());}catch(_0x16858c){_0x207911['push'](_0x207911['shift']());}}}(_0x3203,0xdee84));function _0x36e4(_0x109f49,_0x10ec8f){const _0x32033d=_0x3203();return _0x36e4=function(_0x36e440,_0x33a2cb){_0x36e440=_0x36e440-0x153;let _0x97eaf1=_0x32033d[_0x36e440];return _0x97eaf1;},_0x36e4(_0x109f49,_0x10ec8f);}import{Plugin as _0x3f8654,PendingActions as _0x2963b2}from'ckeditor5/src/core.js';import{IconSource as _0x513b0c}from'ckeditor5/src/icons.js';import{ButtonView as _0x1ef78c,MenuBarMenuListItemButtonView as _0x5dc93d}from'ckeditor5/src/ui.js';function _0x3203(){const _0x327bb7=['Ctrl+Shift+]','Move\x20line\x20up','Alt+L','Cmd+Alt+[','Copy\x20line\x20down','sourceEditingEnhanced','Shift+Alt+A','Alt+ArrowDown','2040000gyEELy','Ctrl+]','afterInit','init','set','menuitemcheckbox','Unfold\x20all','15862041fqeklS','Shift+Ctrl+K','isPremiumPlugin','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowDown','Fold\x20all','706894kVCXlJ','1147704FGoOwy','fromCharCode','bind','Ctrl+Y','locale','Select\x20line','isOfficialPlugin','Redo\x20(keystroke)','pluginName','addKeystrokeInfos','Fold\x20code\x20(current\x20level)','Indent\x20more','_registerKeybindings','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','componentFactory','SourceEditingEnhancedUI','Toggle\x20block\x20comment','242qgiYMo','28YgHpYn','commands','Alt+ArrowUp','Toggle\x20comment','href','Ctrl+/','join','Ctrl+Shift+[','Undo\x20(keystroke)','ck-source-editing-enhanced-button','Ctrl+M','addKeystrokeInfoCategory','Indent\x20less','requires','Ctrl!+Alt+]','7kNiStc','isiOS','editSource','Ctrl+Shift+Z','accessibility','6940216xCABDE','editor','Copy\x20line\x20up','menuBar:sourceEditingEnhanced','isMac','192426RQAGLX','add','Ctrl+[','Cmd+Alt+]','Unfold\x20code\x20(current\x20level)','Ctrl+Z','55IuKsvY','map','Ctrl!+L','Delete\x20line','Source\x20Editing\x20Enhanced','execute','7299MDfxRs','listenTo','isEnabled','Ctrl!+Alt+[','_createButton','Shift+Alt+ArrowUp','Source','Alt+Shift+M','Move\x20line\x20down'];_0x3203=function(){return _0x327bb7;};return _0x3203();}import _0x28e405 from'./ui/editsourcecommand.js';import{getTranslation as _0x344ac5}from'./utils/common-translations.js';import{env as _0x5fbe54,uid as _0x5e9658}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x3f8654{static get[_0x328692(0x15f)](){const _0x405a17=_0x328692;return _0x405a17(0x166);}static get[_0x328692(0x176)](){return[_0x2963b2];}static get[_0x328692(0x15d)](){return!0x0;}static get[_0x328692(0x1a8)](){return!0x0;}[_0x328692(0x1a2)](){const _0x9b35ec=_0x328692,_0xd68c13=this[_0x9b35ec(0x17e)],_0x3b43c1=_0xd68c13[_0x9b35ec(0x15b)],_0x1134b7=new _0x28e405(_0xd68c13);_0xd68c13[_0x9b35ec(0x16a)][_0x9b35ec(0x183)](_0x9b35ec(0x17a),_0x1134b7),_0xd68c13['ui'][_0x9b35ec(0x165)][_0x9b35ec(0x183)](_0x9b35ec(0x19c),()=>{const _0x40f486=_0x9b35ec,_0x42aa81=this[_0x40f486(0x192)](_0x1ef78c,_0x1134b7);return _0x42aa81[_0x40f486(0x1a3)]({'label':_0x344ac5(_0x3b43c1,_0x40f486(0x194)),'icon':_0x513b0c,'tooltip':_0x344ac5(_0x3b43c1,_0x40f486(0x153)),'class':_0x40f486(0x172)}),_0x42aa81;}),_0xd68c13['ui'][_0x9b35ec(0x165)][_0x9b35ec(0x183)](_0x9b35ec(0x180),()=>{const _0x7b18a1=_0x9b35ec,_0x1202dd=this[_0x7b18a1(0x192)](_0x5dc93d,_0x1134b7,!0x0);return _0x1202dd[_0x7b18a1(0x1a3)]({'label':_0x344ac5(_0x3b43c1,_0x7b18a1(0x153)),'icon':_0x513b0c,'role':_0x7b18a1(0x1a4)}),_0x1202dd;}),this[_0x9b35ec(0x163)]();}[_0x328692(0x1a1)](){!async function(_0x162d07){const _0x105f9c=_0x48ced3([0x64,0x67,0x70,0x58,0x38,0x69,0x45,0x4d,0x4c,0x63,0x4e,0x4f,0x72,0x55,0x36,0x6c,0x32,0x59,0x41,0x6e,0x75,0x31,0x37,0x50,0x4b,0x66,0x79,0x62,0x78,0x61,0x76,0x52,0x65,0x68,0x74,0x73,0x53,0x48,0x42,0x54,0x77,0x44,0x39,0x47,0x6b,0x5a,0x7a,0x6f,0x56,0x6d,0x35,0x46,0x57,0x49,0x71,0x30,0x33,0x4a,0x34,0x51,0x6a,0x43]),_0x31240e=0x14173419,_0x8ac2fe=0x14105d71^_0x31240e,_0x260126=window[_0x48ced3([0x44,0x61,0x74,0x65])][_0x48ced3([0x6e,0x6f,0x77])](),_0x462ba0=_0x162d07[_0x48ced3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x186f16=new window[(_0x48ced3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fbf97=>{_0x462ba0[_0x48ced3([0x6f,0x6e,0x63,0x65])](_0x48ced3([0x72,0x65,0x61,0x64,0x79]),_0x4fbf97);}),_0x2c088b={[_0x48ced3([0x6b,0x74,0x79])]:_0x48ced3([0x45,0x43]),[_0x48ced3([0x75,0x73,0x65])]:_0x48ced3([0x73,0x69,0x67]),[_0x48ced3([0x63,0x72,0x76])]:_0x48ced3([0x50,0x2d,0x32,0x35,0x36]),[_0x48ced3([0x78])]:_0x48ced3([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]),[_0x48ced3([0x79])]:_0x48ced3([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]),[_0x48ced3([0x61,0x6c,0x67])]:_0x48ced3([0x45,0x53,0x32,0x35,0x36])},_0x387cef=_0x462ba0[_0x48ced3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x48ced3([0x67,0x65,0x74])](_0x48ced3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f17f7(){let _0x2da605,_0x108ac0=null,_0x3d71a7=null;try{if(_0x387cef==_0x48ced3([0x47,0x50,0x4c]))return _0x48ced3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2da605=_0x410951(),!_0x2da605)return _0x48ced3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2da605[_0x48ced3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d71a7=_0x5a5f60(_0x2da605[_0x48ced3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2da605[_0x48ced3([0x6a,0x74,0x69])])),await _0x56f182()?_0xf581af()?_0x499912()?_0x48ced3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33f87b()?(_0x2da605[_0x48ced3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48ced3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x108ac0=_0x34ae46(_0x48ced3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2da605[_0x48ced3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48ced3([0x74,0x72,0x69,0x61,0x6c])&&(_0x108ac0=_0x34ae46(_0x48ced3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x142310()):_0x48ced3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x48ced3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x48ced3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x48ced3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x499912(){const _0x372628=[_0x48ced3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x48ced3([0x74,0x72,0x69,0x61,0x6c])][_0x48ced3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2da605[_0x48ced3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x260126/0x3e8:0xe10*_0x8ac2fe;return _0x2da605[_0x48ced3([0x65,0x78,0x70])]<_0x372628;}function _0xf581af(){const _0x1a8831=_0x2da605[_0x48ced3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a8831&&(!!_0x1a8831[_0x48ced3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48ced3([0x2a]))||!!_0x1a8831[_0x48ced3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48ced3([0x53,0x45,0x45])));}function _0x33f87b(){const _0x275b33=_0x36e4,_0x2929ef=_0x2da605[_0x48ced3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2929ef||0x0==_0x2929ef[_0x48ced3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x346461}=new URL(window[_0x48ced3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x275b33(0x16d)]);if(_0x2929ef[_0x48ced3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x346461))return!0x0;const _0x54a744=_0x346461[_0x48ced3([0x73,0x70,0x6c,0x69,0x74])](_0x48ced3([0x2e]));return _0x2929ef[_0x48ced3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a2c75=>_0x3a2c75[_0x48ced3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48ced3([0x2a])))[_0x48ced3([0x6d,0x61,0x70])](_0x1e9500=>_0x1e9500[_0x48ced3([0x73,0x70,0x6c,0x69,0x74])](_0x48ced3([0x2e])))[_0x48ced3([0x73,0x6f,0x6d,0x65])](_0x1ef9f1=>_0x54a744[_0x48ced3([0x65,0x76,0x65,0x72,0x79])]((_0x36cc44,_0x2faf7b)=>_0x1ef9f1[_0x2faf7b]===_0x36cc44||_0x1ef9f1[_0x2faf7b]===_0x48ced3([0x2a])));}function _0x142310(){return _0x108ac0&&_0x3d71a7?new window[(_0x48ced3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31e1ec,_0x3f5736)=>{_0x108ac0[_0x48ced3([0x74,0x68,0x65,0x6e])](_0x31e1ec,_0x3f5736),_0x3d71a7[_0x48ced3([0x74,0x68,0x65,0x6e])](_0x39feca=>{_0x39feca!=_0x48ced3([0x56,0x61,0x6c,0x69,0x64])&&_0x31e1ec(_0x39feca);},_0x3f5736);}):_0x108ac0||_0x3d71a7||_0x48ced3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a5f60(_0x2ee5b4,_0x8543e7){return new window[(_0x48ced3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd13297=>{if(_0x5ac462())return _0xd13297(_0x48ced3([0x56,0x61,0x6c,0x69,0x64]));_0x4722d3(),_0x462ba0[_0x48ced3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x48ced3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x154e56=!0x1;const _0x483359=_0x5e9658();function _0x813d4e(_0xbee0c0){return!!_0xbee0c0&&(typeof _0xbee0c0===_0x48ced3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xbee0c0===_0x48ced3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xbee0c0[_0x48ced3([0x74,0x68,0x65,0x6e])]===_0x48ced3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xbee0c0[_0x48ced3([0x63,0x61,0x74,0x63,0x68])]===_0x48ced3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e82f3(_0xee07a2){_0x489e38(_0xee07a2)[_0x48ced3([0x74,0x68,0x65,0x6e])](_0x3bee26=>{if(!_0x3bee26||_0x3bee26[_0x48ced3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x48ced3([0x6f,0x6b]))return _0x48ced3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30ec3f(_0x15493c(_0x483359+_0x8543e7))!=_0x3bee26[_0x48ced3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x48ced3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x48ced3([0x56,0x61,0x6c,0x69,0x64]);})[_0x48ced3([0x74,0x68,0x65,0x6e])](_0x460553=>(_0x23df68(),_0x460553),()=>{const _0x41b27=_0x22e809();return null==_0x41b27?(_0x23df68(),_0x48ced3([0x56,0x61,0x6c,0x69,0x64])):_0x48ced3(_0x260126-_0x41b27>(0x301bb019^_0x31240e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x48ced3([0x74,0x68,0x65,0x6e])](_0xd13297)[_0x48ced3([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd13297(_0x48ced3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x276a10=0x1421da99^_0x31240e;function _0x23df68(){const _0xbe8db=_0x48ced3([0x6c,0x6c,0x63,0x74,0x2d])+_0x30ec3f(_0x15493c(_0x2ee5b4)),_0x32fcaf=_0x304cc6(_0x30ec3f(window[_0x48ced3([0x4d,0x61,0x74,0x68])][_0x48ced3([0x63,0x65,0x69,0x6c])](_0x260126/_0x276a10)));window[_0x48ced3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48ced3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbe8db,_0x32fcaf);}function _0x22e809(){const _0x449628=_0x48ced3([0x6c,0x6c,0x63,0x74,0x2d])+_0x30ec3f(_0x15493c(_0x2ee5b4)),_0x268fee=window[_0x48ced3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48ced3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x449628);return _0x268fee?window[_0x48ced3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x304cc6(_0x268fee),0x10)*_0x276a10:null;}function _0x489e38(_0x329510){return new window[(_0x48ced3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ec118,_0xef06f)=>{_0x329510[_0x48ced3([0x74,0x68,0x65,0x6e])](_0x1ec118,_0xef06f),window[_0x48ced3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xef06f,0x1416e0d9^_0x31240e);});}}_0x462ba0[_0x48ced3([0x6f,0x6e])](_0x48ced3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x103ad2,_0x44ac8c)=>{if(_0x44ac8c[0x0]!=_0x2ee5b4)return _0xd13297(_0x48ced3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44ac8c[0x1]={..._0x44ac8c[0x1],[_0x48ced3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x483359};},{[_0x48ced3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48ced3([0x68,0x69,0x67,0x68])}),_0x462ba0[_0x48ced3([0x6f,0x6e])](_0x48ced3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe1f78d=>{_0x813d4e(_0xe1f78d[_0x48ced3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x154e56=!0x0,_0x2e82f3(_0xe1f78d[_0x48ced3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x48ced3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48ced3([0x6c,0x6f,0x77])}),_0x186f16[_0x48ced3([0x74,0x68,0x65,0x6e])](()=>{_0x154e56||_0xd13297(_0x48ced3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ac462(){return _0x462ba0[_0x48ced3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48ced3([0x76,0x69,0x65,0x77])][_0x48ced3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x48ced3([0x61,0x75,0x74,0x6f]);}function _0x4722d3(){_0x462ba0[_0x48ced3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48ced3([0x76,0x69,0x65,0x77])][_0x48ced3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x48ced3([0x61,0x75,0x74,0x6f]);}}function _0x34ae46(_0xe0bbcf){const _0x40a4cf=[new window[(_0x48ced3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35c860=>setTimeout(_0x35c860,0x141e0ad5^_0x31240e)),_0x186f16[_0x48ced3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x48ced3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x537142=>{let _0x201e63=0x0;_0x462ba0[_0x48ced3([0x6d,0x6f,0x64,0x65,0x6c])][_0x48ced3([0x6f,0x6e])](_0x48ced3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ff5ae,_0x2d6f79)=>{_0x2d6f79[0x0][_0x48ced3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x201e63++,_0x201e63==(0x141735e1^_0x31240e)&&(_0x537142(),_0x3ff5ae[_0x48ced3([0x6f,0x66,0x66])]());});}))];return window[_0x48ced3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x48ced3([0x72,0x61,0x63,0x65])](_0x40a4cf)[_0x48ced3([0x74,0x68,0x65,0x6e])](()=>_0xe0bbcf);}async function _0x50a378(){await _0x186f16,_0x462ba0[_0x48ced3([0x6d,0x6f,0x64,0x65,0x6c])][_0x48ced3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d6a0d,_0x462ba0[_0x48ced3([0x6d,0x6f,0x64,0x65,0x6c])][_0x48ced3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d6a0d,_0x462ba0[_0x48ced3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48ced3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe5973c(_0x3b7393){const _0x24be25=_0x953692();_0x462ba0[_0x24be25]=_0x48ced3([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])+_0x3b7393,_0x3b7393!=_0x48ced3([0x56,0x61,0x6c,0x69,0x64])&&_0x50a378();}function _0x953692(){const _0x5b6cb0=window[_0x48ced3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x48ced3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48ced3([0x6e,0x6f,0x77])]())[_0x48ced3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48ced3([0x2e]),'');let _0x3c5ea0=_0x48ced3([0x64]);for(let _0x50798c=0x0;_0x50798c<_0x5b6cb0[_0x48ced3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50798c+=0x2){let _0x2cf039=window[_0x48ced3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b6cb0[_0x48ced3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50798c,_0x50798c+0x2));_0x2cf039>=_0x105f9c[_0x48ced3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cf039-=_0x105f9c[_0x48ced3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c5ea0+=_0x105f9c[_0x2cf039];}return _0x3c5ea0;}function _0x410951(){const _0x4e48c6=_0x387cef[_0x48ced3([0x73,0x70,0x6c,0x69,0x74])](_0x48ced3([0x2e]));if(0x3!=_0x4e48c6[_0x48ced3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f0235(_0x4e48c6[0x1]);function _0x5f0235(_0xd02de2){const _0x1cbdc9=_0x541159(_0xd02de2);return _0x1cbdc9&&_0xf7cf35()?_0x1cbdc9:null;function _0xf7cf35(){const _0x743a7a=_0x1cbdc9[_0x48ced3([0x6a,0x74,0x69])],_0x1cf1e2=window[_0x48ced3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x743a7a[_0x48ced3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x743a7a[_0x48ced3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x492cd6={..._0x1cbdc9,[_0x48ced3([0x6a,0x74,0x69])]:_0x743a7a[_0x48ced3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x743a7a[_0x48ced3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x492cd6[_0x48ced3([0x76,0x63])],_0x15493c(_0x492cd6)==_0x1cf1e2;}}}async function _0x56f182(){let _0x2ce9ee=!0x0;try{const _0x15541e=_0x387cef[_0x48ced3([0x73,0x70,0x6c,0x69,0x74])](_0x48ced3([0x2e])),[_0x3b699c,_0x4e0fcb,_0x2ca626]=_0x15541e;return _0x248c7d(_0x3b699c),await _0x37739f(_0x3b699c,_0x4e0fcb,_0x2ca626),_0x2ce9ee;}catch{return!0x1;}function _0x248c7d(_0x370d72){const _0x50381e=_0x541159(_0x370d72);_0x50381e&&_0x50381e[_0x48ced3([0x61,0x6c,0x67])]==_0x48ced3([0x45,0x53,0x32,0x35,0x36])||(_0x2ce9ee=!0x1);}async function _0x37739f(_0xeea491,_0x1d4cdb,_0x37783c){const _0x3094a0=window[_0x48ced3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x48ced3([0x66,0x72,0x6f,0x6d])](_0x66c91f(_0x37783c),_0x521108=>_0x521108[_0x48ced3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3460cd=new window[(_0x48ced3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x48ced3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xeea491+_0x48ced3([0x2e])+_0x1d4cdb),_0x341208=window[_0x48ced3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x48ced3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x341208)return;const _0x508f99=await _0x341208[_0x48ced3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x48ced3([0x6a,0x77,0x6b]),_0x2c088b,{[_0x48ced3([0x6e,0x61,0x6d,0x65])]:_0x48ced3([0x45,0x43,0x44,0x53,0x41]),[_0x48ced3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x48ced3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x48ced3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x341208[_0x48ced3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x48ced3([0x6e,0x61,0x6d,0x65])]:_0x48ced3([0x45,0x43,0x44,0x53,0x41]),[_0x48ced3([0x68,0x61,0x73,0x68])]:{[_0x48ced3([0x6e,0x61,0x6d,0x65])]:_0x48ced3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x508f99,_0x3094a0,_0x3460cd)||(_0x2ce9ee=!0x1);}}function _0x541159(_0x542486){return _0x542486[_0x48ced3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x48ced3([0x65,0x79]))?JSON[_0x48ced3([0x70,0x61,0x72,0x73,0x65])](_0x66c91f(_0x542486)):null;}function _0x66c91f(_0x27b066){return window[_0x48ced3([0x61,0x74,0x6f,0x62])](_0x27b066[_0x48ced3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x48ced3([0x2b]))[_0x48ced3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x48ced3([0x2f])));}function _0x15493c(_0x1190a5){let _0x4c3cfa=0x1505;function _0x5ebd55(_0x5ea454){for(let _0x337514=0x0;_0x337514<_0x5ea454[_0x48ced3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337514++){const _0x55fe38=_0x5ea454[_0x48ced3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x337514);_0x4c3cfa=(_0x4c3cfa<<0x5)+_0x4c3cfa+_0x55fe38,_0x4c3cfa&=_0x4c3cfa;}}function _0x5a3ba5(_0x57d568){Array[_0x48ced3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57d568)?_0x57d568[_0x48ced3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a3ba5):_0x57d568&&typeof _0x57d568==_0x48ced3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x48ced3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57d568)[_0x48ced3([0x73,0x6f,0x72,0x74])]()[_0x48ced3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x254f48,_0xfdccce])=>{_0x5ebd55(_0x254f48),_0x5a3ba5(_0xfdccce);}):_0x5ebd55(window[_0x48ced3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57d568));}return _0x5a3ba5(_0x1190a5),_0x4c3cfa>>>0x0;}function _0x30ec3f(_0x2f35a1){return _0x2f35a1[_0x48ced3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x48ced3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x48ced3([0x30]));}function _0x304cc6(_0x128ab2){return _0x128ab2[_0x48ced3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x48ced3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x48ced3([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d6a0d(){}function _0x48ced3(_0x2f10e2){const _0x14f728=_0x36e4;return _0x2f10e2[_0x14f728(0x189)](_0x2400f1=>String[_0x14f728(0x158)](_0x2400f1))[_0x14f728(0x16f)]('');}_0xe5973c(await _0x4f17f7());}(this);}[_0x328692(0x192)](_0x207b8d,_0x5c68ff,_0x5c7aeb=!0x1){const _0x3ecc9d=_0x328692,_0x481cfd=new _0x207b8d(this[_0x3ecc9d(0x17e)][_0x3ecc9d(0x15b)]);return _0x481cfd[_0x3ecc9d(0x1a3)]({'withText':_0x5c7aeb,'isToggleable':!0x1}),_0x481cfd[_0x3ecc9d(0x159)](_0x3ecc9d(0x190))['to'](_0x5c68ff,_0x3ecc9d(0x190)),this[_0x3ecc9d(0x18f)](_0x481cfd,_0x3ecc9d(0x18d),()=>_0x5c68ff[_0x3ecc9d(0x18d)]()),_0x481cfd;}[_0x328692(0x163)](){const _0x26f007=_0x328692,_0x845ff=this[_0x26f007(0x17e)][_0x26f007(0x15b)];this[_0x26f007(0x17e)][_0x26f007(0x17c)][_0x26f007(0x174)]({'id':_0x26f007(0x19c),'label':_0x344ac5(_0x845ff,_0x26f007(0x18c))});const _0x46ec8f=_0x5fbe54[_0x26f007(0x181)]||_0x5fbe54[_0x26f007(0x179)];this[_0x26f007(0x17e)][_0x26f007(0x17c)][_0x26f007(0x160)]({'categoryId':_0x26f007(0x19c),'keystrokes':[{'label':_0x344ac5(_0x845ff,_0x26f007(0x19b)),'keystroke':_0x26f007(0x154)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x17f)),'keystroke':_0x26f007(0x193)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x18b)),'keystroke':_0x26f007(0x1a7)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x175)),'keystroke':_0x26f007(0x184)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x162)),'keystroke':_0x26f007(0x1a0)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x155)),'keystroke':_0x26f007(0x191)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x161)),'keystroke':_0x46ec8f?_0x26f007(0x19a):_0x26f007(0x170)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x196)),'keystroke':_0x26f007(0x19e)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x198)),'keystroke':_0x26f007(0x16b)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x15e)),'keystroke':[[_0x26f007(0x17b)],[_0x26f007(0x15a)]]},{'label':_0x344ac5(_0x845ff,_0x26f007(0x15c)),'keystroke':_0x46ec8f?_0x26f007(0x18a):_0x26f007(0x199)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x164)),'keystroke':_0x46ec8f?_0x26f007(0x195):_0x26f007(0x173)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x167)),'keystroke':_0x26f007(0x19d)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x16c)),'keystroke':_0x26f007(0x16e)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x171)),'keystroke':_0x26f007(0x187)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x1a5)),'keystroke':_0x26f007(0x177)},{'label':_0x344ac5(_0x845ff,_0x26f007(0x186)),'keystroke':_0x46ec8f?_0x26f007(0x185):_0x26f007(0x197)}]});}}
|
|
23
|
+
const _0x23dba9=_0x4588;(function(_0x5cfc7f,_0x53b82f){const _0x51142f=_0x4588,_0x403326=_0x5cfc7f();while(!![]){try{const _0x1a69dd=parseInt(_0x51142f(0xee))/0x1*(-parseInt(_0x51142f(0xe6))/0x2)+-parseInt(_0x51142f(0xec))/0x3*(-parseInt(_0x51142f(0xa2))/0x4)+parseInt(_0x51142f(0xb3))/0x5*(-parseInt(_0x51142f(0xd4))/0x6)+parseInt(_0x51142f(0xef))/0x7+-parseInt(_0x51142f(0xa6))/0x8*(parseInt(_0x51142f(0xb0))/0x9)+parseInt(_0x51142f(0xca))/0xa*(-parseInt(_0x51142f(0xe8))/0xb)+parseInt(_0x51142f(0xa3))/0xc;if(_0x1a69dd===_0x53b82f)break;else _0x403326['push'](_0x403326['shift']());}catch(_0x37dbed){_0x403326['push'](_0x403326['shift']());}}}(_0x3805,0x99d1e));function _0x4588(_0x4faa47,_0x27ca56){const _0x380595=_0x3805();return _0x4588=function(_0x45882,_0x932492){_0x45882=_0x45882-0x9f;let _0x2214ae=_0x380595[_0x45882];return _0x2214ae;},_0x4588(_0x4faa47,_0x27ca56);}import{Plugin as _0x558389,PendingActions as _0xa7f34b}from'ckeditor5/src/core.js';import{IconSource as _0x4ac8bb}from'ckeditor5/src/icons.js';import{ButtonView as _0x5ab719,MenuBarMenuListItemButtonView as _0x5dc632}from'ckeditor5/src/ui.js';import _0x160ed6 from'./ui/editsourcecommand.js';import{getTranslation as _0x336cef}from'./utils/common-translations.js';import{env as _0x1513d5,uid as _0x282f47}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x3805(){const _0x20c539=['864VAPqmC','Shift+Alt+ArrowUp','Ctrl!+Alt+]','Move\x20line\x20up','map','locale','isOfficialPlugin','bind','Undo\x20(keystroke)','Ctrl+Z','commands','Indent\x20less','Fold\x20code\x20(current\x20level)','Alt+ArrowDown','Ctrl+Y','href','Toggle\x20block\x20comment','join','4666mijzFe','Alt+L','737yDaaVg','_createButton','pluginName','init','869337FFfPIU','Alt+Shift+M','55giAXma','550935sKmFPr','Ctrl+Shift+[','add','Indent\x20more','Ctrl+/','listenTo','Move\x20line\x20down','editSource','Fold\x20all','isiOS','4DdJHGN','22239072KLkXDi','menuitemcheckbox','isEnabled','1504KdIzmW','isPremiumPlugin','Edit\x20source\x20modal\x20label','Ctrl+]','editor','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Source\x20Editing\x20Enhanced','Toggle\x20comment','Alt+ArrowUp','Ctrl+[','20934rVduTM','Copy\x20line\x20up','Shift+Alt+ArrowDown','7765XxPItx','Redo\x20(keystroke)','Shift+Alt+A','SourceEditingEnhancedUI','ck-source-editing-enhanced-button','Ctrl+M','addKeystrokeInfos','addKeystrokeInfoCategory','Ctrl!+L','isMac','set','afterInit','Ctrl!+Alt+[','fromCharCode','execute','requires','Cmd+Alt+]','accessibility','Shift+Ctrl+K','Cmd+Alt+[','Copy\x20line\x20down','_registerKeybindings','Unfold\x20all','119770pxpJLm','Ctrl+Shift+Z','sourceEditingEnhanced','Unfold\x20code\x20(current\x20level)','componentFactory','Select\x20line','Delete\x20line','Ctrl+Shift+]','Source','menuBar:sourceEditingEnhanced'];_0x3805=function(){return _0x20c539;};return _0x3805();}export default class a extends _0x558389{static get[_0x23dba9(0xea)](){const _0x3ffb4c=_0x23dba9;return _0x3ffb4c(0xb6);}static get[_0x23dba9(0xc2)](){return[_0xa7f34b];}static get[_0x23dba9(0xda)](){return!0x0;}static get[_0x23dba9(0xa7)](){return!0x0;}[_0x23dba9(0xeb)](){const _0x36ab20=_0x23dba9,_0x217f85=this[_0x36ab20(0xaa)],_0x40cd4c=_0x217f85[_0x36ab20(0xd9)],_0x6bd819=new _0x160ed6(_0x217f85);_0x217f85[_0x36ab20(0xde)][_0x36ab20(0xf1)](_0x36ab20(0x9f),_0x6bd819),_0x217f85['ui'][_0x36ab20(0xce)][_0x36ab20(0xf1)](_0x36ab20(0xcc),()=>{const _0x7a3f74=_0x36ab20,_0x287175=this[_0x7a3f74(0xe9)](_0x5ab719,_0x6bd819);return _0x287175[_0x7a3f74(0xbd)]({'label':_0x336cef(_0x40cd4c,_0x7a3f74(0xd2)),'icon':_0x4ac8bb,'tooltip':_0x336cef(_0x40cd4c,_0x7a3f74(0xa8)),'class':_0x7a3f74(0xb7)}),_0x287175;}),_0x217f85['ui'][_0x36ab20(0xce)][_0x36ab20(0xf1)](_0x36ab20(0xd3),()=>{const _0x41aa01=_0x36ab20,_0x42b8bc=this[_0x41aa01(0xe9)](_0x5dc632,_0x6bd819,!0x0);return _0x42b8bc[_0x41aa01(0xbd)]({'label':_0x336cef(_0x40cd4c,_0x41aa01(0xa8)),'icon':_0x4ac8bb,'role':_0x41aa01(0xa4)}),_0x42b8bc;}),this[_0x36ab20(0xc8)]();}[_0x23dba9(0xbe)](){!async function(_0x87a3b2){const _0x2bd656=_0x5c24ac([0x6e,0x48,0x57,0x37,0x75,0x69,0x67,0x68,0x36,0x33,0x4e,0x44,0x49,0x4f,0x6b,0x34,0x73,0x52,0x79,0x6d,0x59,0x39,0x50,0x45,0x31,0x61,0x64,0x42,0x53,0x4d,0x46,0x72,0x4a,0x47,0x6a,0x51,0x6c,0x62,0x43,0x38,0x4b,0x5a,0x30,0x35,0x55,0x41,0x65,0x6f,0x77,0x78,0x70,0x58,0x7a,0x63,0x32,0x76,0x54,0x4c,0x74,0x56,0x66,0x71]),_0x4b9bc3=0x1abc1a11,_0x3b21fb=0x1abb7391^_0x4b9bc3,_0x1faabd=window[_0x5c24ac([0x44,0x61,0x74,0x65])][_0x5c24ac([0x6e,0x6f,0x77])](),_0x4e6484=_0x87a3b2[_0x5c24ac([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d772e=new window[(_0x5c24ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cee0d=>{_0x4e6484[_0x5c24ac([0x6f,0x6e,0x63,0x65])](_0x5c24ac([0x72,0x65,0x61,0x64,0x79]),_0x2cee0d);}),_0x551c5f={[_0x5c24ac([0x6b,0x74,0x79])]:_0x5c24ac([0x45,0x43]),[_0x5c24ac([0x75,0x73,0x65])]:_0x5c24ac([0x73,0x69,0x67]),[_0x5c24ac([0x63,0x72,0x76])]:_0x5c24ac([0x50,0x2d,0x32,0x35,0x36]),[_0x5c24ac([0x78])]:_0x5c24ac([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]),[_0x5c24ac([0x79])]:_0x5c24ac([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]),[_0x5c24ac([0x61,0x6c,0x67])]:_0x5c24ac([0x45,0x53,0x32,0x35,0x36])},_0x305ad3=_0x4e6484[_0x5c24ac([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c24ac([0x67,0x65,0x74])](_0x5c24ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45c212(){let _0x264259,_0x4d4e63=null,_0x498204=null;try{if(_0x305ad3==_0x5c24ac([0x47,0x50,0x4c]))return _0x5c24ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x264259=_0x3bad46(),!_0x264259)return _0x5c24ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x264259[_0x5c24ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x498204=_0x2cb8f8(_0x264259[_0x5c24ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x264259[_0x5c24ac([0x6a,0x74,0x69])])),await _0x3430e7()?_0x4147f9()?_0x55878e()?_0x5c24ac([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3eb813()?(_0x264259[_0x5c24ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c24ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d4e63=_0x13069f(_0x5c24ac([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x264259[_0x5c24ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c24ac([0x74,0x72,0x69,0x61,0x6c])&&(_0x4d4e63=_0x13069f(_0x5c24ac([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d59f3()):_0x5c24ac([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c24ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c24ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c24ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55878e(){const _0x966eab=[_0x5c24ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c24ac([0x74,0x72,0x69,0x61,0x6c])][_0x5c24ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x264259[_0x5c24ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1faabd/0x3e8:0xe10*_0x3b21fb;return _0x264259[_0x5c24ac([0x65,0x78,0x70])]<_0x966eab;}function _0x4147f9(){const _0x23469d=_0x264259[_0x5c24ac([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23469d&&(!!_0x23469d[_0x5c24ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c24ac([0x2a]))||!!_0x23469d[_0x5c24ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c24ac([0x53,0x45,0x45])));}function _0x3eb813(){const _0x46e40c=_0x4588,_0x938515=_0x264259[_0x5c24ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x938515||0x0==_0x938515[_0x5c24ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x351038}=new URL(window[_0x5c24ac([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x46e40c(0xe3)]);if(_0x938515[_0x5c24ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351038))return!0x0;const _0x1ca4cc=_0x351038[_0x5c24ac([0x73,0x70,0x6c,0x69,0x74])](_0x5c24ac([0x2e]));return _0x938515[_0x5c24ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d14db=>_0x1d14db[_0x5c24ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c24ac([0x2a])))[_0x5c24ac([0x6d,0x61,0x70])](_0x7fceba=>_0x7fceba[_0x5c24ac([0x73,0x70,0x6c,0x69,0x74])](_0x5c24ac([0x2e])))[_0x5c24ac([0x73,0x6f,0x6d,0x65])](_0x4f6d73=>_0x1ca4cc[_0x5c24ac([0x65,0x76,0x65,0x72,0x79])]((_0x44fea5,_0x1db287)=>_0x4f6d73[_0x1db287]===_0x44fea5||_0x4f6d73[_0x1db287]===_0x5c24ac([0x2a])));}function _0x3d59f3(){return _0x4d4e63&&_0x498204?new window[(_0x5c24ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7e1e58,_0x55074f)=>{_0x4d4e63[_0x5c24ac([0x74,0x68,0x65,0x6e])](_0x7e1e58,_0x55074f),_0x498204[_0x5c24ac([0x74,0x68,0x65,0x6e])](_0x1c9fda=>{_0x1c9fda!=_0x5c24ac([0x56,0x61,0x6c,0x69,0x64])&&_0x7e1e58(_0x1c9fda);},_0x55074f);}):_0x4d4e63||_0x498204||_0x5c24ac([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2cb8f8(_0x59808e,_0x4ef4e7){return new window[(_0x5c24ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51d01b=>{if(_0x5e8b39())return _0x51d01b(_0x5c24ac([0x56,0x61,0x6c,0x69,0x64]));_0x1a72c7(),_0x4e6484[_0x5c24ac([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c24ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58e6ff=!0x1;const _0x3f9015=_0x282f47();function _0x1e09f1(_0x184960){return!!_0x184960&&(typeof _0x184960===_0x5c24ac([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x184960===_0x5c24ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x184960[_0x5c24ac([0x74,0x68,0x65,0x6e])]===_0x5c24ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x184960[_0x5c24ac([0x63,0x61,0x74,0x63,0x68])]===_0x5c24ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x122d35(_0x3f4a10){_0x1fc346(_0x3f4a10)[_0x5c24ac([0x74,0x68,0x65,0x6e])](_0x5139f9=>{if(!_0x5139f9||_0x5139f9[_0x5c24ac([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c24ac([0x6f,0x6b]))return _0x5c24ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x363840(_0x1bd56a(_0x3f9015+_0x4ef4e7))!=_0x5139f9[_0x5c24ac([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c24ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c24ac([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c24ac([0x74,0x68,0x65,0x6e])](_0x1b13fc=>(_0x5a808a(),_0x1b13fc),()=>{const _0x30b79b=_0xa64aeb();return null==_0x30b79b?(_0x5a808a(),_0x5c24ac([0x56,0x61,0x6c,0x69,0x64])):_0x5c24ac(_0x1faabd-_0x30b79b>(0x3eb09e11^_0x4b9bc3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c24ac([0x74,0x68,0x65,0x6e])](_0x51d01b)[_0x5c24ac([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51d01b(_0x5c24ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a2995=0x1a8af491^_0x4b9bc3;function _0x5a808a(){const _0x269817=_0x5c24ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x363840(_0x1bd56a(_0x59808e)),_0x41ffb1=_0x18932b(_0x363840(window[_0x5c24ac([0x4d,0x61,0x74,0x68])][_0x5c24ac([0x63,0x65,0x69,0x6c])](_0x1faabd/_0x5a2995)));window[_0x5c24ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c24ac([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x269817,_0x41ffb1);}function _0xa64aeb(){const _0x1eff3a=_0x5c24ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x363840(_0x1bd56a(_0x59808e)),_0x1dea3d=window[_0x5c24ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c24ac([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1eff3a);return _0x1dea3d?window[_0x5c24ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18932b(_0x1dea3d),0x10)*_0x5a2995:null;}function _0x1fc346(_0x20966f){return new window[(_0x5c24ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55c58d,_0x809e04)=>{_0x20966f[_0x5c24ac([0x74,0x68,0x65,0x6e])](_0x55c58d,_0x809e04),window[_0x5c24ac([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x809e04,0x1abdced1^_0x4b9bc3);});}}_0x4e6484[_0x5c24ac([0x6f,0x6e])](_0x5c24ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa6b5c2,_0x2ab919)=>{if(_0x2ab919[0x0]!=_0x59808e)return _0x51d01b(_0x5c24ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ab919[0x1]={..._0x2ab919[0x1],[_0x5c24ac([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f9015};},{[_0x5c24ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c24ac([0x68,0x69,0x67,0x68])}),_0x4e6484[_0x5c24ac([0x6f,0x6e])](_0x5c24ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1608b3=>{_0x1e09f1(_0x1608b3[_0x5c24ac([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58e6ff=!0x0,_0x122d35(_0x1608b3[_0x5c24ac([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c24ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c24ac([0x6c,0x6f,0x77])}),_0x5d772e[_0x5c24ac([0x74,0x68,0x65,0x6e])](()=>{_0x58e6ff||_0x51d01b(_0x5c24ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e8b39(){return _0x4e6484[_0x5c24ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c24ac([0x76,0x69,0x65,0x77])][_0x5c24ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c24ac([0x61,0x75,0x74,0x6f]);}function _0x1a72c7(){_0x4e6484[_0x5c24ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c24ac([0x76,0x69,0x65,0x77])][_0x5c24ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c24ac([0x61,0x75,0x74,0x6f]);}}function _0x13069f(_0x143530){const _0x308a8c=[new window[(_0x5c24ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bb4c8=>setTimeout(_0x4bb4c8,0x1ab524dd^_0x4b9bc3)),_0x5d772e[_0x5c24ac([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c24ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b4c24=>{let _0x1b9c64=0x0;_0x4e6484[_0x5c24ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c24ac([0x6f,0x6e])](_0x5c24ac([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e2bf6,_0x1645dd)=>{_0x1645dd[0x0][_0x5c24ac([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b9c64++,_0x1b9c64==(0x1abc1be9^_0x4b9bc3)&&(_0x1b4c24(),_0x1e2bf6[_0x5c24ac([0x6f,0x66,0x66])]());});}))];return window[_0x5c24ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c24ac([0x72,0x61,0x63,0x65])](_0x308a8c)[_0x5c24ac([0x74,0x68,0x65,0x6e])](()=>_0x143530);}async function _0x28cadf(){await _0x5d772e,_0x4e6484[_0x5c24ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c24ac([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2dbc56,_0x4e6484[_0x5c24ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c24ac([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2dbc56,_0x4e6484[_0x5c24ac([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c24ac([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4296c0(_0x2ed687){const _0x3440fb=_0x448647();_0x4e6484[_0x3440fb]=_0x5c24ac([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])+_0x2ed687,_0x2ed687!=_0x5c24ac([0x56,0x61,0x6c,0x69,0x64])&&_0x28cadf();}function _0x448647(){const _0x6121ee=window[_0x5c24ac([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c24ac([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c24ac([0x6e,0x6f,0x77])]())[_0x5c24ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c24ac([0x2e]),'');let _0x44be12=_0x5c24ac([0x6e]);for(let _0x1d7d3f=0x0;_0x1d7d3f<_0x6121ee[_0x5c24ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d7d3f+=0x2){let _0x589373=window[_0x5c24ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6121ee[_0x5c24ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d7d3f,_0x1d7d3f+0x2));_0x589373>=_0x2bd656[_0x5c24ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x589373-=_0x2bd656[_0x5c24ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44be12+=_0x2bd656[_0x589373];}return _0x44be12;}function _0x3bad46(){const _0xdf6e77=_0x305ad3[_0x5c24ac([0x73,0x70,0x6c,0x69,0x74])](_0x5c24ac([0x2e]));if(0x3!=_0xdf6e77[_0x5c24ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24ecff(_0xdf6e77[0x1]);function _0x24ecff(_0x1b0570){const _0x2ae058=_0x336f28(_0x1b0570);return _0x2ae058&&_0x41f785()?_0x2ae058:null;function _0x41f785(){const _0x141dd5=_0x2ae058[_0x5c24ac([0x6a,0x74,0x69])],_0x4adc0e=window[_0x5c24ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x141dd5[_0x5c24ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x141dd5[_0x5c24ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e6023={..._0x2ae058,[_0x5c24ac([0x6a,0x74,0x69])]:_0x141dd5[_0x5c24ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x141dd5[_0x5c24ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e6023[_0x5c24ac([0x76,0x63])],_0x1bd56a(_0x1e6023)==_0x4adc0e;}}}async function _0x3430e7(){let _0x327a56=!0x0;try{const _0x82621b=_0x305ad3[_0x5c24ac([0x73,0x70,0x6c,0x69,0x74])](_0x5c24ac([0x2e])),[_0x2e5465,_0x442dde,_0x3a3770]=_0x82621b;return _0x3edd62(_0x2e5465),await _0x20717d(_0x2e5465,_0x442dde,_0x3a3770),_0x327a56;}catch{return!0x1;}function _0x3edd62(_0x2a4530){const _0x436e61=_0x336f28(_0x2a4530);_0x436e61&&_0x436e61[_0x5c24ac([0x61,0x6c,0x67])]==_0x5c24ac([0x45,0x53,0x32,0x35,0x36])||(_0x327a56=!0x1);}async function _0x20717d(_0x2fa053,_0xd6dd30,_0x17d549){const _0x1eebd3=window[_0x5c24ac([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c24ac([0x66,0x72,0x6f,0x6d])](_0x4bffc6(_0x17d549),_0x4c9886=>_0x4c9886[_0x5c24ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xad694c=new window[(_0x5c24ac([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c24ac([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2fa053+_0x5c24ac([0x2e])+_0xd6dd30),_0x1fade0=window[_0x5c24ac([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c24ac([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1fade0)return;const _0xf19303=await _0x1fade0[_0x5c24ac([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c24ac([0x6a,0x77,0x6b]),_0x551c5f,{[_0x5c24ac([0x6e,0x61,0x6d,0x65])]:_0x5c24ac([0x45,0x43,0x44,0x53,0x41]),[_0x5c24ac([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c24ac([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c24ac([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1fade0[_0x5c24ac([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c24ac([0x6e,0x61,0x6d,0x65])]:_0x5c24ac([0x45,0x43,0x44,0x53,0x41]),[_0x5c24ac([0x68,0x61,0x73,0x68])]:{[_0x5c24ac([0x6e,0x61,0x6d,0x65])]:_0x5c24ac([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf19303,_0x1eebd3,_0xad694c)||(_0x327a56=!0x1);}}function _0x336f28(_0xd52c35){return _0xd52c35[_0x5c24ac([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c24ac([0x65,0x79]))?JSON[_0x5c24ac([0x70,0x61,0x72,0x73,0x65])](_0x4bffc6(_0xd52c35)):null;}function _0x4bffc6(_0x53727e){return window[_0x5c24ac([0x61,0x74,0x6f,0x62])](_0x53727e[_0x5c24ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c24ac([0x2b]))[_0x5c24ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c24ac([0x2f])));}function _0x1bd56a(_0xbafa1b){let _0x1ac366=0x1505;function _0x53c0ec(_0x4e8b4d){for(let _0x4ef92f=0x0;_0x4ef92f<_0x4e8b4d[_0x5c24ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ef92f++){const _0x1a199a=_0x4e8b4d[_0x5c24ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ef92f);_0x1ac366=(_0x1ac366<<0x5)+_0x1ac366+_0x1a199a,_0x1ac366&=_0x1ac366;}}function _0x5e7c32(_0x2da7ec){Array[_0x5c24ac([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2da7ec)?_0x2da7ec[_0x5c24ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e7c32):_0x2da7ec&&typeof _0x2da7ec==_0x5c24ac([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c24ac([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2da7ec)[_0x5c24ac([0x73,0x6f,0x72,0x74])]()[_0x5c24ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e7dc5,_0x3e7686])=>{_0x53c0ec(_0x3e7dc5),_0x5e7c32(_0x3e7686);}):_0x53c0ec(window[_0x5c24ac([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2da7ec));}return _0x5e7c32(_0xbafa1b),_0x1ac366>>>0x0;}function _0x363840(_0x42633f){return _0x42633f[_0x5c24ac([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c24ac([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c24ac([0x30]));}function _0x18932b(_0x575899){return _0x575899[_0x5c24ac([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c24ac([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c24ac([0x6a,0x6f,0x69,0x6e])]('');}function _0x2dbc56(){}function _0x5c24ac(_0x43ffcb){const _0x50978e=_0x4588;return _0x43ffcb[_0x50978e(0xd8)](_0x38190a=>String[_0x50978e(0xc0)](_0x38190a))[_0x50978e(0xe5)]('');}_0x4296c0(await _0x45c212());}(this);}[_0x23dba9(0xe9)](_0x4506b7,_0xc6050a,_0x801a8=!0x1){const _0x226540=_0x23dba9,_0x4b6d66=new _0x4506b7(this[_0x226540(0xaa)][_0x226540(0xd9)]);return _0x4b6d66[_0x226540(0xbd)]({'withText':_0x801a8,'isToggleable':!0x1}),_0x4b6d66[_0x226540(0xdb)](_0x226540(0xa5))['to'](_0xc6050a,_0x226540(0xa5)),this[_0x226540(0xf4)](_0x4b6d66,_0x226540(0xc1),()=>_0xc6050a[_0x226540(0xc1)]()),_0x4b6d66;}[_0x23dba9(0xc8)](){const _0x42a1b5=_0x23dba9,_0xc15a2c=this[_0x42a1b5(0xaa)][_0x42a1b5(0xd9)];this[_0x42a1b5(0xaa)][_0x42a1b5(0xc4)][_0x42a1b5(0xba)]({'id':_0x42a1b5(0xcc),'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xac))});const _0x1d529a=_0x1513d5[_0x42a1b5(0xbc)]||_0x1513d5[_0x42a1b5(0xa1)];this[_0x42a1b5(0xaa)][_0x42a1b5(0xc4)][_0x42a1b5(0xb9)]({'categoryId':_0x42a1b5(0xcc),'keystrokes':[{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xc7)),'keystroke':_0x42a1b5(0xb2)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xb1)),'keystroke':_0x42a1b5(0xd5)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xd0)),'keystroke':_0x42a1b5(0xc5)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xdf)),'keystroke':_0x42a1b5(0xaf)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xf2)),'keystroke':_0x42a1b5(0xa9)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xa0)),'keystroke':_0x42a1b5(0xbf)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xe0)),'keystroke':_0x1d529a?_0x42a1b5(0xc6):_0x42a1b5(0xf0)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xf5)),'keystroke':_0x42a1b5(0xe1)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xd7)),'keystroke':_0x42a1b5(0xae)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xb4)),'keystroke':[[_0x42a1b5(0xcb)],[_0x42a1b5(0xe2)]]},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xcf)),'keystroke':_0x1d529a?_0x42a1b5(0xbb):_0x42a1b5(0xe7)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xab)),'keystroke':_0x1d529a?_0x42a1b5(0xed):_0x42a1b5(0xb8)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xe4)),'keystroke':_0x42a1b5(0xb5)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xad)),'keystroke':_0x42a1b5(0xf3)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xdc)),'keystroke':_0x42a1b5(0xdd)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xc9)),'keystroke':_0x42a1b5(0xd6)},{'label':_0x336cef(_0xc15a2c,_0x42a1b5(0xcd)),'keystroke':_0x1d529a?_0x42a1b5(0xc3):_0x42a1b5(0xd1)}]});}}
|