@ckeditor/ckeditor5-source-editing-enhanced 45.2.0-alpha.4 → 45.2.0-alpha.5
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 _0x53b2d8,PendingActions as _0x2a71ee,Plugin as _0x4203de}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3717a2,formatHtml as tr,env as _0x20ad7f,uid as _0x9e873c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x2cb70e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2aaacf,ButtonView as _0x43e228,MenuBarMenuListItemButtonView as _0x374fec}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4f5e89,crosshairCursor as _0x1c0017,drawSelection as _0x6dacb6,dropCursor as _0x1e87e1,lineNumbers as _0x6956cf,highlightActiveLine as _0x1f5f56,highlightActiveLineGutter as _0x4d9933,highlightSpecialChars as _0x2d97f8,rectangularSelection as _0x341e9f,keymap as _0x498783}from'@codemirror/view';import{Compartment as _0x1bfa57,Transaction as _0x300ca8}from'@codemirror/state';import{bracketMatching as _0xfdb247,foldGutter as _0x35c348,indentOnInput as _0x25d5b3,syntaxHighlighting as _0xf06ef9,defaultHighlightStyle as _0x4562a4,foldKeymap as _0x2db248}from'@codemirror/language';import{toggleTabFocusMode as _0x3c895c,history as _0x1e49b0,defaultKeymap as _0x5fedf7,historyKeymap as _0x353dd7,indentLess as _0x42fc08,indentMore as _0x4cf5d5,redo as _0x278752,undo as _0x138950}from'@codemirror/commands';import{autocompletion as _0xd85156,closeBrackets as _0x3a0eb6,closeBracketsKeymap as _0x22d7ae,completionKeymap as _0x3678f8}from'@codemirror/autocomplete';import{html as _0x245366}from'@codemirror/lang-html';import{markdown as _0x29770a}from'@codemirror/lang-markdown';import{oneDark as _0x4f890d}from'@codemirror/theme-one-dark';function f(_0x5699f1,_0x112607){const t=_0x5699f1['t'];switch(_0x112607){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x112607;}}function s(_0x138736){const _0x3b5912=_0x138736['editing']['view']['document']['roots'],_0x5ad571=_0x3b5912['length'];if(0x0===_0x5ad571)throw new _0x3717a2('source-editing-enhanced-editor-no-root',_0x138736);if(0x1===_0x5ad571)return _0x3b5912['first']['rootName'];return Array['from'](_0x138736['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x36b8d6){return or(_0x36b8d6['replace'](/^[\n\s]*/g,''))?_0x36b8d6['replace'](/\s+/g,''):_0x36b8d6;}function or(_0x35de65){return _0x35de65['startsWith']('<');}function p(_0x4cca6d){const _0x1dcdc1=[_0x4f5e89['lineWrapping'],_0xd85156(),_0xfdb247(),_0x3a0eb6(),_0x1c0017(),_0x6dacb6(),_0x1e87e1(),_0x6956cf(),_0x35c348(),_0x1f5f56(),_0x4d9933(),_0x2d97f8(),_0x1e49b0(),_0x25d5b3(),_0x341e9f(),_0xf06ef9(_0x4562a4,{'fallback':!0x0})],_0x1a075c=new _0x1bfa57();_0x1dcdc1['push'](_0x1a075c['of'](_0x4f5e89['editable']['of'](!0x0))),'html'===_0x4cca6d['syntaxLanguage']?_0x1dcdc1['push'](_0x245366()):_0x1dcdc1['push'](_0x29770a());const _0x1e19bf=function(_0x8d896b){if(_0x8d896b&&'default'!==_0x8d896b)return'dark'===_0x8d896b?_0x4f890d:_0x8d896b;return null;}(_0x4cca6d['theme']);_0x1e19bf&&_0x1dcdc1['push'](_0x1e19bf),_0x1dcdc1['push'](_0x498783['of']([..._0x22d7ae,..._0x5fedf7,..._0x353dd7,..._0x2db248,..._0x3678f8,{'key':'Tab','run':_0x4cf5d5,'shift':_0x42fc08,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x278752,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x278752,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x138950,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x58702a=new _0x4f5e89({'extensions':_0x1dcdc1,'parent':_0x4cca6d['parent']});return _0x3c895c(_0x58702a),{'focus':()=>{_0x58702a['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x58702a['focus']();},'getData':()=>_0x58702a['state']['doc']['toString'](),'setData':_0x1aef03=>{_0x58702a['dispatch']({'changes':{'from':0x0,'to':_0x58702a['state']['doc']['length'],'insert':_0x1aef03},'annotations':_0x300ca8['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5475a6=>{_0x58702a['dispatch']({'effects':[_0x1a075c['reconfigure'](_0x4f5e89['editable']['of'](!_0x5475a6))]});},'destroy':()=>{_0x58702a['destroy']();},'instance':_0x58702a};}class m extends _0x2aaacf{['_codeEditorApi']=null;['_options'];constructor(_0x478c4e,_0x1b8a8a){super(_0x478c4e),this['_options']=_0x1b8a8a,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0xcc252,_0x30f308,_0x1a4a91)=>{this['setReadOnly'](_0x1a4a91);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xd53ef7){this['_codeEditorApi']['setData'](_0xd53ef7);}['setReadOnly'](_0x1034d8){this['_codeEditorApi']['setReadOnly'](_0x1034d8);}}const b='SourceEditingEnhancedMode';class d extends _0x53b2d8{constructor(_0x1a46d2){super(_0x1a46d2),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2a71ee)['on']('change:hasAny',(_0x343684,_0x28ea4a,_0x3dc571)=>{_0x3dc571?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4e1ff3=this['editor'];for(const _0x3dcadd of _0x4e1ff3['commands']['names']())['replaceSource','editSource']['includes'](_0x3dcadd)||_0x4e1ff3['commands']['get'](_0x3dcadd)['forceDisabled'](b);}['_enableCommands'](){const _0x3af901=this['editor'];for(const _0x1fae04 of _0x3af901['commands']['commands']())_0x1fae04['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3650d4=this['editor'],_0x371303=_0x3650d4['locale'],_0x555ee3=_0x3650d4['plugins']['get']('Dialog'),_0x304729=s(_0x3650d4),_0x4cc9bc=_0x3650d4['data']['get']({'rootName':_0x304729}),_0x1ae6fc=or(_0x5d6b38=_0x4cc9bc)?tr(_0x5d6b38):_0x5d6b38;var _0x5d6b38;const _0x57b3c4=new m(_0x371303,{'syntaxLanguage':_0x3650d4['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3650d4['config']['get']('sourceEditingEnhanced.theme')});let _0xaeccb4=!0x0;const _0x55a770=_0x3a5aa5=>{if(!_0xaeccb4)return;return E(_0x57b3c4['getData']())!==E(_0x1ae6fc)?window['confirm'](f(_0x371303,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3a5aa5['stop']():void 0x0;};_0x555ee3['show']({'id':'sourceEditingEnhanced','title':f(_0x371303,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x57b3c4,'actionButtons':[{'label':f(_0x371303,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x555ee3['hide']();}},{'label':f(_0x371303,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x443e7a=E(_0x57b3c4['getData']())!==E(_0x1ae6fc);(_0x443e7a&&_0x3650d4['execute']('replaceSource',_0x57b3c4['getData']()),_0xaeccb4=!0x1,_0x555ee3['hide'](),_0x443e7a&&'editables'in _0x3650d4['ui']['view'])&&_0x3650d4['ui']['view']['editables'][_0x304729]['element']['focus']();},'onCreate':_0x115f72=>{_0x115f72['set']('isEnabled',!_0x3650d4['isReadOnly']),_0x115f72['bind']('isEnabled')['to'](_0x3650d4,'isReadOnly',this,'isEnabled',(_0x714017,_0x5edcf4)=>!_0x714017&&_0x5edcf4);}}],'onHide':()=>{this['_enableCommands'](),_0x555ee3['off']('hide',_0x55a770),_0x57b3c4['destroy']();},'onShow':()=>{_0x57b3c4['bind']('isReadOnly')['to'](_0x3650d4,'isReadOnly',this,'isEnabled',(_0x4d2f78,_0x324dac)=>_0x4d2f78||!_0x324dac),_0x57b3c4['setData'](_0x1ae6fc),_0x57b3c4['focus'](),_0x555ee3['on']('hide',_0x55a770,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4203de{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2a71ee];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x279ace=this['editor'],_0x24ee31=_0x279ace['locale'],_0x4b8490=new d(_0x279ace);_0x279ace['commands']['add']('editSource',_0x4b8490),_0x279ace['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x40a8ab=this['_createButton'](_0x43e228,_0x4b8490);return _0x40a8ab['set']({'label':f(_0x24ee31,'Source'),'icon':_0x2cb70e,'tooltip':f(_0x24ee31,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x40a8ab;}),_0x279ace['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x19a5fe=this['_createButton'](_0x374fec,_0x4b8490,!0x0);return _0x19a5fe['set']({'label':f(_0x24ee31,'Edit\x20source\x20modal\x20label'),'icon':_0x2cb70e,'role':'menuitemcheckbox'}),_0x19a5fe;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x213f1e){const _0x365914=_0x4c5367([0x64,0x52,0x58,0x62,0x32,0x34,0x38,0x5a,0x73,0x46,0x6f,0x41,0x72,0x4e,0x47,0x37,0x31,0x50,0x51,0x77,0x49,0x6e,0x44,0x63,0x48,0x4a,0x61,0x66,0x35,0x65,0x78,0x4c,0x74,0x55,0x4f,0x79,0x68,0x6a,0x59,0x76,0x54,0x56,0x4d,0x6d,0x36,0x69,0x70,0x4b,0x43,0x39,0x53,0x45,0x75,0x30,0x71,0x33,0x42,0x67,0x57,0x7a,0x6b,0x6c]),_0x17674c=0x4dfbb455,_0x50c665=0x4dfcddd5^_0x17674c,_0x2add89=window[_0x4c5367([0x44,0x61,0x74,0x65])][_0x4c5367([0x6e,0x6f,0x77])](),_0x357c91=_0x213f1e[_0x4c5367([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f7656=new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa73ff3=>{_0x357c91[_0x4c5367([0x6f,0x6e,0x63,0x65])](_0x4c5367([0x72,0x65,0x61,0x64,0x79]),_0xa73ff3);}),_0x74cfd0={[_0x4c5367([0x6b,0x74,0x79])]:_0x4c5367([0x45,0x43]),[_0x4c5367([0x75,0x73,0x65])]:_0x4c5367([0x73,0x69,0x67]),[_0x4c5367([0x63,0x72,0x76])]:_0x4c5367([0x50,0x2d,0x32,0x35,0x36]),[_0x4c5367([0x78])]:_0x4c5367([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4c5367([0x79])]:_0x4c5367([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4c5367([0x61,0x6c,0x67])]:_0x4c5367([0x45,0x53,0x32,0x35,0x36])},_0x40830f=_0x357c91[_0x4c5367([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c5367([0x67,0x65,0x74])](_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58d864(){let _0x2f994b,_0x3e17d2=null,_0x14ec5d=null;try{if(_0x40830f==_0x4c5367([0x47,0x50,0x4c]))return _0x4c5367([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f994b=_0x14111d(),!_0x2f994b)return _0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f994b[_0x4c5367([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14ec5d=_0x4f461a(_0x2f994b[_0x4c5367([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f994b[_0x4c5367([0x6a,0x74,0x69])])),await _0x3df1ec()?_0x9062de()?_0x2c677b()?_0x4c5367([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22919f()?(_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5367([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e17d2=_0x2be155(_0x4c5367([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c5367([0x74,0x72,0x69,0x61,0x6c])&&(_0x3e17d2=_0x2be155(_0x4c5367([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49f64d()):_0x4c5367([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5367([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c5367([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c677b(){const _0x33a4f6=[_0x4c5367([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c5367([0x74,0x72,0x69,0x61,0x6c])][_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2add89/0x3e8:0xe10*_0x50c665;return _0x2f994b[_0x4c5367([0x65,0x78,0x70])]<_0x33a4f6;}function _0x9062de(){const _0x225ea6=_0x2f994b[_0x4c5367([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x225ea6&&(!!_0x225ea6[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x2a]))||!!_0x225ea6[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x53,0x45,0x45])));}function _0x22919f(){const _0x1b5e7f=_0x2f994b[_0x4c5367([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b5e7f||0x0==_0x1b5e7f[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x335670}=new URL(window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1b5e7f[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335670))return!0x0;const _0x33cc5b=_0x335670[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e]));return _0x1b5e7f[_0x4c5367([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1abc92=>_0x1abc92[_0x4c5367([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c5367([0x2a])))[_0x4c5367([0x6d,0x61,0x70])](_0x31fa04=>_0x31fa04[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e])))[_0x4c5367([0x73,0x6f,0x6d,0x65])](_0x5456ca=>_0x33cc5b[_0x4c5367([0x65,0x76,0x65,0x72,0x79])]((_0x446b79,_0x4f7cd2)=>_0x5456ca[_0x4f7cd2]===_0x446b79||_0x5456ca[_0x4f7cd2]===_0x4c5367([0x2a])));}function _0x49f64d(){return _0x3e17d2&&_0x14ec5d?new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e68c,_0x246b8f)=>{_0x3e17d2[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x53e68c,_0x246b8f),_0x14ec5d[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x4c03fa=>{_0x4c03fa!=_0x4c5367([0x56,0x61,0x6c,0x69,0x64])&&_0x53e68c(_0x4c03fa);},_0x246b8f);}):_0x3e17d2||_0x14ec5d||_0x4c5367([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f461a(_0x6a44b8,_0x5d369e){return new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14e3fe=>{if(_0x2eb6f6())return _0x14e3fe(_0x4c5367([0x56,0x61,0x6c,0x69,0x64]));_0x5ee837(),_0x357c91[_0x4c5367([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12619b=!0x1;const _0x32eab2=_0x9e873c();function _0x141942(_0x370c22){return!!_0x370c22&&(typeof _0x370c22===_0x4c5367([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x370c22===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x370c22[_0x4c5367([0x74,0x68,0x65,0x6e])]===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x370c22[_0x4c5367([0x63,0x61,0x74,0x63,0x68])]===_0x4c5367([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b2c58(_0x1f96a8){_0x5b85f8(_0x1f96a8)[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x5ccb4d=>{if(!_0x5ccb4d||_0x5ccb4d[_0x4c5367([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c5367([0x6f,0x6b]))return _0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f7972(_0x330ecc(_0x32eab2+_0x5d369e))!=_0x5ccb4d[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c5367([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x565d7d=>(_0xd221bb(),_0x565d7d),()=>{const _0x46fe10=_0x373802();return null==_0x46fe10?(_0xd221bb(),_0x4c5367([0x56,0x61,0x6c,0x69,0x64])):_0x4c5367(_0x2add89-_0x46fe10>(0x69f73055^_0x17674c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x14e3fe)[_0x4c5367([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x582947=0x4dcd5ad5^_0x17674c;function _0xd221bb(){const _0x5b23ca=_0x4c5367([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7972(_0x330ecc(_0x6a44b8)),_0x2c6ff6=_0x113000(_0x1f7972(window[_0x4c5367([0x4d,0x61,0x74,0x68])][_0x4c5367([0x63,0x65,0x69,0x6c])](_0x2add89/_0x582947)));window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5367([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b23ca,_0x2c6ff6);}function _0x373802(){const _0x481633=_0x4c5367([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7972(_0x330ecc(_0x6a44b8)),_0x456039=window[_0x4c5367([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c5367([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x481633);return _0x456039?window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x113000(_0x456039),0x10)*_0x582947:null;}function _0x5b85f8(_0x2f4c1b){return new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c54ee,_0xf9182c)=>{_0x2f4c1b[_0x4c5367([0x74,0x68,0x65,0x6e])](_0x5c54ee,_0xf9182c),window[_0x4c5367([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf9182c,0x4dfa6095^_0x17674c);});}}_0x357c91[_0x4c5367([0x6f,0x6e])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x10a1b2,_0x235871)=>{if(_0x235871[0x0]!=_0x6a44b8)return _0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x235871[0x1]={..._0x235871[0x1],[_0x4c5367([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32eab2};},{[_0x4c5367([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5367([0x68,0x69,0x67,0x68])}),_0x357c91[_0x4c5367([0x6f,0x6e])](_0x4c5367([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e85fd=>{_0x141942(_0x5e85fd[_0x4c5367([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12619b=!0x0,_0x3b2c58(_0x5e85fd[_0x4c5367([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c5367([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c5367([0x6c,0x6f,0x77])}),_0x3f7656[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>{_0x12619b||_0x14e3fe(_0x4c5367([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2eb6f6(){return _0x357c91[_0x4c5367([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5367([0x76,0x69,0x65,0x77])][_0x4c5367([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c5367([0x61,0x75,0x74,0x6f]);}function _0x5ee837(){_0x357c91[_0x4c5367([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c5367([0x76,0x69,0x65,0x77])][_0x4c5367([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c5367([0x61,0x75,0x74,0x6f]);}}function _0x2be155(_0xc48ffc){const _0x255dfa=[new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfeadba=>setTimeout(_0xfeadba,0x4df28a99^_0x17674c)),_0x3f7656[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcfa37d=>{let _0x296613=0x0;_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x6f,0x6e])](_0x4c5367([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f7da3,_0x1ce38)=>{_0x1ce38[0x0][_0x4c5367([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x296613++,_0x296613==(0x4dfbb5ad^_0x17674c)&&(_0xcfa37d(),_0x4f7da3[_0x4c5367([0x6f,0x66,0x66])]());});}))];return window[_0x4c5367([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c5367([0x72,0x61,0x63,0x65])](_0x255dfa)[_0x4c5367([0x74,0x68,0x65,0x6e])](()=>_0xc48ffc);}async function _0x5258c7(){await _0x3f7656,_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3189a3,_0x357c91[_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c5367([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3189a3,_0x357c91[_0x4c5367([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c5367([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x288c3c(_0x44c1b7){const _0x2cde4e=_0x192701();_0x357c91[_0x2cde4e]=_0x4c5367([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44c1b7,_0x44c1b7!=_0x4c5367([0x56,0x61,0x6c,0x69,0x64])&&_0x5258c7();}function _0x192701(){const _0x5504ce=window[_0x4c5367([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c5367([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c5367([0x6e,0x6f,0x77])]())[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c5367([0x2e]),'');let _0x43b9eb=_0x4c5367([0x64]);for(let _0x4598b8=0x0;_0x4598b8<_0x5504ce[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4598b8+=0x2){let _0x5bdc3f=window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5504ce[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4598b8,_0x4598b8+0x2));_0x5bdc3f>=_0x365914[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bdc3f-=_0x365914[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43b9eb+=_0x365914[_0x5bdc3f];}return _0x43b9eb;}function _0x14111d(){const _0x553fdf=_0x40830f[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e]));if(0x3!=_0x553fdf[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1962d3(_0x553fdf[0x1]);function _0x1962d3(_0x1e4cb8){const _0x392b08=_0xb13e30(_0x1e4cb8);return _0x392b08&&_0x3d9371()?_0x392b08:null;function _0x3d9371(){const _0x2745fb=_0x392b08[_0x4c5367([0x6a,0x74,0x69])],_0x29e68f=window[_0x4c5367([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2745fb[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2745fb[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1dc9fb={..._0x392b08,[_0x4c5367([0x6a,0x74,0x69])]:_0x2745fb[_0x4c5367([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2745fb[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1dc9fb[_0x4c5367([0x76,0x63])],_0x330ecc(_0x1dc9fb)==_0x29e68f;}}}async function _0x3df1ec(){let _0x22f5ce=!0x0;try{const _0x14a323=_0x40830f[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])](_0x4c5367([0x2e])),[_0x47cb55,_0x1c45fb,_0x9c1ca9]=_0x14a323;return _0x4a4175(_0x47cb55),await _0x3762f1(_0x47cb55,_0x1c45fb,_0x9c1ca9),_0x22f5ce;}catch{return!0x1;}function _0x4a4175(_0x57d305){const _0x1d8d43=_0xb13e30(_0x57d305);_0x1d8d43&&_0x1d8d43[_0x4c5367([0x61,0x6c,0x67])]==_0x4c5367([0x45,0x53,0x32,0x35,0x36])||(_0x22f5ce=!0x1);}async function _0x3762f1(_0x255a16,_0x3ef493,_0x4c21be){const _0x2d4bf0=window[_0x4c5367([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c5367([0x66,0x72,0x6f,0x6d])](_0x425bc6(_0x4c21be),_0x12cde5=>_0x12cde5[_0x4c5367([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3eaa6d=new window[(_0x4c5367([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c5367([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x255a16+_0x4c5367([0x2e])+_0x3ef493),_0x899c25=window[_0x4c5367([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c5367([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x899c25)return;const _0x1c23c1=await _0x899c25[_0x4c5367([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c5367([0x6a,0x77,0x6b]),_0x74cfd0,{[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x45,0x43,0x44,0x53,0x41]),[_0x4c5367([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c5367([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x899c25[_0x4c5367([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x45,0x43,0x44,0x53,0x41]),[_0x4c5367([0x68,0x61,0x73,0x68])]:{[_0x4c5367([0x6e,0x61,0x6d,0x65])]:_0x4c5367([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c23c1,_0x2d4bf0,_0x3eaa6d)||(_0x22f5ce=!0x1);}}function _0xb13e30(_0x4853a1){return _0x4853a1[_0x4c5367([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c5367([0x65,0x79]))?JSON[_0x4c5367([0x70,0x61,0x72,0x73,0x65])](_0x425bc6(_0x4853a1)):null;}function _0x425bc6(_0x596e03){return window[_0x4c5367([0x61,0x74,0x6f,0x62])](_0x596e03[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c5367([0x2b]))[_0x4c5367([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c5367([0x2f])));}function _0x330ecc(_0x2cbc1f){let _0x53cc82=0x1505;function _0x4ef252(_0x2df069){for(let _0x1af970=0x0;_0x1af970<_0x2df069[_0x4c5367([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1af970++){const _0x5729f5=_0x2df069[_0x4c5367([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1af970);_0x53cc82=(_0x53cc82<<0x5)+_0x53cc82+_0x5729f5,_0x53cc82&=_0x53cc82;}}function _0x32ff8b(_0x5b7958){Array[_0x4c5367([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b7958)?_0x5b7958[_0x4c5367([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32ff8b):_0x5b7958&&typeof _0x5b7958==_0x4c5367([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c5367([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b7958)[_0x4c5367([0x73,0x6f,0x72,0x74])]()[_0x4c5367([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x428112,_0x28bc24])=>{_0x4ef252(_0x428112),_0x32ff8b(_0x28bc24);}):_0x4ef252(window[_0x4c5367([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b7958));}return _0x32ff8b(_0x2cbc1f),_0x53cc82>>>0x0;}function _0x1f7972(_0x488613){return _0x488613[_0x4c5367([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c5367([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c5367([0x30]));}function _0x113000(_0x380c4b){return _0x380c4b[_0x4c5367([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c5367([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c5367([0x6a,0x6f,0x69,0x6e])]('');}function _0x3189a3(){}function _0x4c5367(_0x51e853){return _0x51e853['map'](_0x12a31a=>String['fromCharCode'](_0x12a31a))['join']('');}_0x288c3c(await _0x58d864());}(this);}['_createButton'](_0x446826,_0xc09d82,_0x381974=!0x1){const _0x1a5d4e=new _0x446826(this['editor']['locale']);return _0x1a5d4e['set']({'withText':_0x381974,'isToggleable':!0x1}),_0x1a5d4e['bind']('isEnabled')['to'](_0xc09d82,'isEnabled'),this['listenTo'](_0x1a5d4e,'execute',()=>_0xc09d82['execute']()),_0x1a5d4e;}['_registerKeybindings'](){const _0x5aa97b=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x5aa97b,'Source\x20Editing\x20Enhanced')});const _0x33591b=_0x20ad7f['isMac']||_0x20ad7f['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x5aa97b,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x5aa97b,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x5aa97b,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x5aa97b,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x5aa97b,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x5aa97b,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x5aa97b,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x33591b?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x5aa97b,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x5aa97b,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x5aa97b,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x5aa97b,'Select\x20line'),'keystroke':_0x33591b?'Ctrl!+L':'Alt+L'},{'label':f(_0x5aa97b,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x33591b?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x5aa97b,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x5aa97b,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x5aa97b,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x5aa97b,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x5aa97b,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x33591b?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x53b2d8{constructor(_0x2a5566){super(_0x2a5566),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x24948d,_0x5495e7){const _0x149ff9=this['editor'],_0x41152c=_0x5495e7?.['rootName']??s(_0x149ff9);_0x149ff9['data']['set']({[_0x41152c]:_0x24948d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x4203de{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x3257bc){super(_0x3257bc),_0x3257bc['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x419ad5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42ea3d;for(const _0x3a6a91 in _0x419ad5){const _0x5f285c=_0x3a6a91,_0x585209=_0x419ad5[_0x5f285c];if('sourceEditingEnhancedLicenseKeyValid'==_0x585209||'sourceEditingEnhancedLicenseKeyInvalid'==_0x585209||'sourceEditingEnhancedLicenseKeyExpired'==_0x585209||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x585209||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x585209||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x585209){delete _0x419ad5[_0x5f285c],_0x42ea3d=_0x585209,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x42ea3d&&_0x419ad5['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x42ea3d&&_0x419ad5['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x42ea3d&&_0x419ad5['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x42ea3d&&_0x419ad5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3c5f64=this['editor'],_0x500292=_0x3c5f64['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x500292&&_0x3c5f64['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x3717a2('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x500292&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1f3e79=>_0x3c5f64['plugins']['has'](_0x1f3e79))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x3c5f64['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x315bc9,PendingActions as _0x260027,Plugin as _0x45a0d9}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1e1cd7,formatHtml as tr,env as _0x240e50,uid as _0x4fec19}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x109c84}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x75f17a,ButtonView as _0x4073bd,MenuBarMenuListItemButtonView as _0x101771}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1a1123,crosshairCursor as _0x1ba1ce,drawSelection as _0x4dda5f,dropCursor as _0x397354,lineNumbers as _0x405193,highlightActiveLine as _0x2b7172,highlightActiveLineGutter as _0x78c82a,highlightSpecialChars as _0x11ef41,rectangularSelection as _0x11806d,keymap as _0x4ee9c7}from'@codemirror/view';import{Compartment as _0x2d2112,Transaction as _0x136389}from'@codemirror/state';import{bracketMatching as _0xd86551,foldGutter as _0x12a3de,indentOnInput as _0x34f3ca,syntaxHighlighting as _0xa930b9,defaultHighlightStyle as _0x23b2ca,foldKeymap as _0x2d77f5}from'@codemirror/language';import{toggleTabFocusMode as _0x18ef86,history as _0xa6759e,defaultKeymap as _0x547707,historyKeymap as _0x2d92bf,indentLess as _0x1c4e49,indentMore as _0x4e7f30,redo as _0x186d8f,undo as _0x48db2b}from'@codemirror/commands';import{autocompletion as _0x4fc293,closeBrackets as _0x3d968b,closeBracketsKeymap as _0x4a98a1,completionKeymap as _0x88dfc}from'@codemirror/autocomplete';import{html as _0x15129d}from'@codemirror/lang-html';import{markdown as _0x161641}from'@codemirror/lang-markdown';import{oneDark as _0x532208}from'@codemirror/theme-one-dark';function f(_0x69303e,_0x1ec819){const t=_0x69303e['t'];switch(_0x1ec819){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 _0x1ec819;}}function s(_0x4b2ba7){const _0x150254=_0x4b2ba7['editing']['view']['document']['roots'],_0x426b3b=_0x150254['length'];if(0x0===_0x426b3b)throw new _0x1e1cd7('source-editing-enhanced-editor-no-root',_0x4b2ba7);if(0x1===_0x426b3b)return _0x150254['first']['rootName'];return Array['from'](_0x4b2ba7['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x295117){return or(_0x295117['replace'](/^[\n\s]*/g,''))?_0x295117['replace'](/\s+/g,''):_0x295117;}function or(_0x38e3d7){return _0x38e3d7['startsWith']('<');}function p(_0x13d69b){const _0x127350=[_0x1a1123['lineWrapping'],_0x4fc293(),_0xd86551(),_0x3d968b(),_0x1ba1ce(),_0x4dda5f(),_0x397354(),_0x405193(),_0x12a3de(),_0x2b7172(),_0x78c82a(),_0x11ef41(),_0xa6759e(),_0x34f3ca(),_0x11806d(),_0xa930b9(_0x23b2ca,{'fallback':!0x0})],_0x1265ef=new _0x2d2112();_0x127350['push'](_0x1265ef['of'](_0x1a1123['editable']['of'](!0x0))),'html'===_0x13d69b['syntaxLanguage']?_0x127350['push'](_0x15129d()):_0x127350['push'](_0x161641());const _0x4daed4=function(_0x43352f){if(_0x43352f&&'default'!==_0x43352f)return'dark'===_0x43352f?_0x532208:_0x43352f;return null;}(_0x13d69b['theme']);_0x4daed4&&_0x127350['push'](_0x4daed4),_0x127350['push'](_0x4ee9c7['of']([..._0x4a98a1,..._0x547707,..._0x2d92bf,..._0x2d77f5,..._0x88dfc,{'key':'Tab','run':_0x4e7f30,'shift':_0x1c4e49,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x186d8f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x186d8f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x48db2b,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x336aba=new _0x1a1123({'extensions':_0x127350,'parent':_0x13d69b['parent']});return _0x18ef86(_0x336aba),{'focus':()=>{_0x336aba['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x336aba['focus']();},'getData':()=>_0x336aba['state']['doc']['toString'](),'setData':_0x2f17fe=>{_0x336aba['dispatch']({'changes':{'from':0x0,'to':_0x336aba['state']['doc']['length'],'insert':_0x2f17fe},'annotations':_0x136389['addToHistory']['of'](!0x1)});},'setReadOnly':_0x8c9073=>{_0x336aba['dispatch']({'effects':[_0x1265ef['reconfigure'](_0x1a1123['editable']['of'](!_0x8c9073))]});},'destroy':()=>{_0x336aba['destroy']();},'instance':_0x336aba};}class m extends _0x75f17a{['_codeEditorApi']=null;['_options'];constructor(_0x353911,_0x277394){super(_0x353911),this['_options']=_0x277394,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',(_0xe3c58,_0x133fc0,_0x19b1d0)=>{this['setReadOnly'](_0x19b1d0);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1e1b7e){this['_codeEditorApi']['setData'](_0x1e1b7e);}['setReadOnly'](_0x579da6){this['_codeEditorApi']['setReadOnly'](_0x579da6);}}const b='SourceEditingEnhancedMode';class d extends _0x315bc9{constructor(_0x76499d){super(_0x76499d),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x260027)['on']('change:hasAny',(_0x3eb73a,_0x19742,_0x1054be)=>{_0x1054be?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x43a974=this['editor'];for(const _0x242bc6 of _0x43a974['commands']['names']())['replaceSource','editSource']['includes'](_0x242bc6)||_0x43a974['commands']['get'](_0x242bc6)['forceDisabled'](b);}['_enableCommands'](){const _0x3ca691=this['editor'];for(const _0x3bff30 of _0x3ca691['commands']['commands']())_0x3bff30['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x68204b=this['editor'],_0x2110c2=_0x68204b['locale'],_0x3d02d8=_0x68204b['plugins']['get']('Dialog'),_0x317c28=s(_0x68204b),_0x28bea0=_0x68204b['data']['get']({'rootName':_0x317c28}),_0x3ca325=or(_0x4530a3=_0x28bea0)?tr(_0x4530a3):_0x4530a3;var _0x4530a3;const _0x538192=new m(_0x2110c2,{'syntaxLanguage':_0x68204b['plugins']['has']('Markdown')?'markdown':'html','theme':_0x68204b['config']['get']('sourceEditingEnhanced.theme')});let _0x395bf6=!0x0;const _0x2f1b4a=_0x586d02=>{if(!_0x395bf6)return;return E(_0x538192['getData']())!==E(_0x3ca325)?window['confirm'](f(_0x2110c2,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x586d02['stop']():void 0x0;};_0x3d02d8['show']({'id':'sourceEditingEnhanced','title':f(_0x2110c2,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x538192,'actionButtons':[{'label':f(_0x2110c2,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x3d02d8['hide']();}},{'label':f(_0x2110c2,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x6f8109=E(_0x538192['getData']())!==E(_0x3ca325);(_0x6f8109&&_0x68204b['execute']('replaceSource',_0x538192['getData']()),_0x395bf6=!0x1,_0x3d02d8['hide'](),_0x6f8109&&'editables'in _0x68204b['ui']['view'])&&_0x68204b['ui']['view']['editables'][_0x317c28]['element']['focus']();},'onCreate':_0x3e07fc=>{_0x3e07fc['set']('isEnabled',!_0x68204b['isReadOnly']),_0x3e07fc['bind']('isEnabled')['to'](_0x68204b,'isReadOnly',this,'isEnabled',(_0x269908,_0x15f1cc)=>!_0x269908&&_0x15f1cc);}}],'onHide':()=>{this['_enableCommands'](),_0x3d02d8['off']('hide',_0x2f1b4a),_0x538192['destroy']();},'onShow':()=>{_0x538192['bind']('isReadOnly')['to'](_0x68204b,'isReadOnly',this,'isEnabled',(_0x22c106,_0x517e15)=>_0x22c106||!_0x517e15),_0x538192['setData'](_0x3ca325),_0x538192['focus'](),_0x3d02d8['on']('hide',_0x2f1b4a,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x45a0d9{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x260027];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25f9f8=this['editor'],_0x5b655c=_0x25f9f8['locale'],_0x67c79=new d(_0x25f9f8);_0x25f9f8['commands']['add']('editSource',_0x67c79),_0x25f9f8['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x239f26=this['_createButton'](_0x4073bd,_0x67c79);return _0x239f26['set']({'label':f(_0x5b655c,'Source'),'icon':_0x109c84,'tooltip':f(_0x5b655c,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x239f26;}),_0x25f9f8['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x896d35=this['_createButton'](_0x101771,_0x67c79,!0x0);return _0x896d35['set']({'label':f(_0x5b655c,'Edit\x20source\x20modal\x20label'),'icon':_0x109c84,'role':'menuitemcheckbox'}),_0x896d35;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x142ce7){const _0x31d932=_0x5a2ed8([0x54,0x6a,0x74,0x33,0x73,0x68,0x48,0x35,0x51,0x4f,0x72,0x44,0x77,0x55,0x79,0x4d,0x49,0x30,0x45,0x59,0x6c,0x46,0x63,0x39,0x38,0x4b,0x76,0x4c,0x32,0x53,0x4e,0x61,0x6d,0x34,0x50,0x71,0x57,0x5a,0x69,0x6e,0x75,0x62,0x70,0x31,0x42,0x43,0x65,0x6f,0x47,0x67,0x7a,0x6b,0x66,0x58,0x56,0x37,0x52,0x64,0x78,0x4a,0x36,0x41]),_0x184d47=0x702ed660,_0x16d193=0x7029bff8^_0x184d47,_0x7dce4f=window[_0x5a2ed8([0x44,0x61,0x74,0x65])][_0x5a2ed8([0x6e,0x6f,0x77])](),_0x44d422=_0x142ce7[_0x5a2ed8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42255b=new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55d4bf=>{_0x44d422[_0x5a2ed8([0x6f,0x6e,0x63,0x65])](_0x5a2ed8([0x72,0x65,0x61,0x64,0x79]),_0x55d4bf);}),_0x31bc53={[_0x5a2ed8([0x6b,0x74,0x79])]:_0x5a2ed8([0x45,0x43]),[_0x5a2ed8([0x75,0x73,0x65])]:_0x5a2ed8([0x73,0x69,0x67]),[_0x5a2ed8([0x63,0x72,0x76])]:_0x5a2ed8([0x50,0x2d,0x32,0x35,0x36]),[_0x5a2ed8([0x78])]:_0x5a2ed8([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]),[_0x5a2ed8([0x79])]:_0x5a2ed8([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]),[_0x5a2ed8([0x61,0x6c,0x67])]:_0x5a2ed8([0x45,0x53,0x32,0x35,0x36])},_0x10cb86=_0x44d422[_0x5a2ed8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a2ed8([0x67,0x65,0x74])](_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54929(){let _0x2260ea,_0x7222c6=null,_0x431d7b=null;try{if(_0x10cb86==_0x5a2ed8([0x47,0x50,0x4c]))return _0x5a2ed8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2260ea=_0x33bcf6(),!_0x2260ea)return _0x5a2ed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2260ea[_0x5a2ed8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x431d7b=_0x3cca9c(_0x2260ea[_0x5a2ed8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2260ea[_0x5a2ed8([0x6a,0x74,0x69])])),await _0x5f2ba7()?_0x4206c5()?_0x23f128()?_0x5a2ed8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dfaa6()?(_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a2ed8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7222c6=_0x3f3bf6(_0x5a2ed8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a2ed8([0x74,0x72,0x69,0x61,0x6c])&&(_0x7222c6=_0x3f3bf6(_0x5a2ed8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c0cc4()):_0x5a2ed8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a2ed8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a2ed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a2ed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23f128(){const _0x574e7a=[_0x5a2ed8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a2ed8([0x74,0x72,0x69,0x61,0x6c])][_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7dce4f/0x3e8:0xe10*_0x16d193;return _0x2260ea[_0x5a2ed8([0x65,0x78,0x70])]<_0x574e7a;}function _0x4206c5(){const _0x2d8f52=_0x2260ea[_0x5a2ed8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d8f52&&(!!_0x2d8f52[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2ed8([0x2a]))||!!_0x2d8f52[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2ed8([0x53,0x45,0x45])));}function _0x5dfaa6(){const _0x3ed20d=_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ed20d||0x0==_0x3ed20d[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9166ab}=new URL(window[_0x5a2ed8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ed20d[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9166ab))return!0x0;const _0x31d558=_0x9166ab[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e]));return _0x3ed20d[_0x5a2ed8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x404e1c=>_0x404e1c[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2ed8([0x2a])))[_0x5a2ed8([0x6d,0x61,0x70])](_0x1e4490=>_0x1e4490[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e])))[_0x5a2ed8([0x73,0x6f,0x6d,0x65])](_0x4497b1=>_0x31d558[_0x5a2ed8([0x65,0x76,0x65,0x72,0x79])]((_0x46ea3c,_0x33775c)=>_0x4497b1[_0x33775c]===_0x46ea3c||_0x4497b1[_0x33775c]===_0x5a2ed8([0x2a])));}function _0x5c0cc4(){return _0x7222c6&&_0x431d7b?new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xad47bb,_0x2497f8)=>{_0x7222c6[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0xad47bb,_0x2497f8),_0x431d7b[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0xec05fc=>{_0xec05fc!=_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64])&&_0xad47bb(_0xec05fc);},_0x2497f8);}):_0x7222c6||_0x431d7b||_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cca9c(_0x5e5fd9,_0x32ed38){return new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x323bc7=>{if(_0x5e2b06())return _0x323bc7(_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64]));_0x432f12(),_0x44d422[_0x5a2ed8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a2ed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56e8b7=!0x1;const _0x192ab2=_0x4fec19();function _0xa32a79(_0x54d3c9){return!!_0x54d3c9&&(typeof _0x54d3c9===_0x5a2ed8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54d3c9===_0x5a2ed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54d3c9[_0x5a2ed8([0x74,0x68,0x65,0x6e])]===_0x5a2ed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54d3c9[_0x5a2ed8([0x63,0x61,0x74,0x63,0x68])]===_0x5a2ed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a3d9c(_0x27979b){_0x35c740(_0x27979b)[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0xe07ab4=>{if(!_0xe07ab4||_0xe07ab4[_0x5a2ed8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a2ed8([0x6f,0x6b]))return _0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43913c(_0x2cd10f(_0x192ab2+_0x32ed38))!=_0xe07ab4[_0x5a2ed8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0x334bc0=>(_0xaa3d2d(),_0x334bc0),()=>{const _0x2d208c=_0x5b2367();return null==_0x2d208c?(_0xaa3d2d(),_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64])):_0x5a2ed8(_0x7dce4f-_0x2d208c>(0x54225260^_0x184d47)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0x323bc7)[_0x5a2ed8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x323bc7(_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ebc9b=0x701838e0^_0x184d47;function _0xaa3d2d(){const _0x1bf7da=_0x5a2ed8([0x6c,0x6c,0x63,0x74,0x2d])+_0x43913c(_0x2cd10f(_0x5e5fd9)),_0x2fd9db=_0x2a73be(_0x43913c(window[_0x5a2ed8([0x4d,0x61,0x74,0x68])][_0x5a2ed8([0x63,0x65,0x69,0x6c])](_0x7dce4f/_0x2ebc9b)));window[_0x5a2ed8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a2ed8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bf7da,_0x2fd9db);}function _0x5b2367(){const _0x259ec5=_0x5a2ed8([0x6c,0x6c,0x63,0x74,0x2d])+_0x43913c(_0x2cd10f(_0x5e5fd9)),_0xabbdb1=window[_0x5a2ed8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a2ed8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x259ec5);return _0xabbdb1?window[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a73be(_0xabbdb1),0x10)*_0x2ebc9b:null;}function _0x35c740(_0x428248){return new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c17d1,_0x54a122)=>{_0x428248[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0x2c17d1,_0x54a122),window[_0x5a2ed8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54a122,0x702f02a0^_0x184d47);});}}_0x44d422[_0x5a2ed8([0x6f,0x6e])](_0x5a2ed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49ac96,_0x285acf)=>{if(_0x285acf[0x0]!=_0x5e5fd9)return _0x323bc7(_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x285acf[0x1]={..._0x285acf[0x1],[_0x5a2ed8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x192ab2};},{[_0x5a2ed8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a2ed8([0x68,0x69,0x67,0x68])}),_0x44d422[_0x5a2ed8([0x6f,0x6e])](_0x5a2ed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f45ca=>{_0xa32a79(_0x1f45ca[_0x5a2ed8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56e8b7=!0x0,_0x4a3d9c(_0x1f45ca[_0x5a2ed8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a2ed8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a2ed8([0x6c,0x6f,0x77])}),_0x42255b[_0x5a2ed8([0x74,0x68,0x65,0x6e])](()=>{_0x56e8b7||_0x323bc7(_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e2b06(){return _0x44d422[_0x5a2ed8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a2ed8([0x76,0x69,0x65,0x77])][_0x5a2ed8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a2ed8([0x61,0x75,0x74,0x6f]);}function _0x432f12(){_0x44d422[_0x5a2ed8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a2ed8([0x76,0x69,0x65,0x77])][_0x5a2ed8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a2ed8([0x61,0x75,0x74,0x6f]);}}function _0x3f3bf6(_0x1c7566){const _0x2724cd=[new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f753e=>setTimeout(_0x2f753e,0x7027e8ac^_0x184d47)),_0x42255b[_0x5a2ed8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc84a58=>{let _0x50bf0b=0x0;_0x44d422[_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a2ed8([0x6f,0x6e])](_0x5a2ed8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x131fa4,_0x2926f5)=>{_0x2926f5[0x0][_0x5a2ed8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50bf0b++,_0x50bf0b==(0x702ed798^_0x184d47)&&(_0xc84a58(),_0x131fa4[_0x5a2ed8([0x6f,0x66,0x66])]());});}))];return window[_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a2ed8([0x72,0x61,0x63,0x65])](_0x2724cd)[_0x5a2ed8([0x74,0x68,0x65,0x6e])](()=>_0x1c7566);}async function _0x3e0f63(){await _0x42255b,_0x44d422[_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a2ed8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e424f,_0x44d422[_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a2ed8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e424f,_0x44d422[_0x5a2ed8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44423b(_0x1625ab){const _0x163a76=_0x42044d();_0x44d422[_0x163a76]=_0x5a2ed8([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])+_0x1625ab,_0x1625ab!=_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64])&&_0x3e0f63();}function _0x42044d(){const _0x1f2131=window[_0x5a2ed8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a2ed8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a2ed8([0x6e,0x6f,0x77])]())[_0x5a2ed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a2ed8([0x2e]),'');let _0x4880ee=_0x5a2ed8([0x54]);for(let _0x2173c9=0x0;_0x2173c9<_0x1f2131[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2173c9+=0x2){let _0x149bfb=window[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f2131[_0x5a2ed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2173c9,_0x2173c9+0x2));_0x149bfb>=_0x31d932[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x149bfb-=_0x31d932[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4880ee+=_0x31d932[_0x149bfb];}return _0x4880ee;}function _0x33bcf6(){const _0x47a4f7=_0x10cb86[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e]));if(0x3!=_0x47a4f7[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d38db(_0x47a4f7[0x1]);function _0x3d38db(_0x53afc5){const _0x28188a=_0x661ddc(_0x53afc5);return _0x28188a&&_0x254550()?_0x28188a:null;function _0x254550(){const _0x4496f7=_0x28188a[_0x5a2ed8([0x6a,0x74,0x69])],_0x4bcaef=window[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4496f7[_0x5a2ed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4496f7[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bc071={..._0x28188a,[_0x5a2ed8([0x6a,0x74,0x69])]:_0x4496f7[_0x5a2ed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4496f7[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bc071[_0x5a2ed8([0x76,0x63])],_0x2cd10f(_0x4bc071)==_0x4bcaef;}}}async function _0x5f2ba7(){let _0x16107f=!0x0;try{const _0x49d239=_0x10cb86[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e])),[_0x7ae401,_0x211565,_0x4cd84f]=_0x49d239;return _0x1716e1(_0x7ae401),await _0x31cac8(_0x7ae401,_0x211565,_0x4cd84f),_0x16107f;}catch{return!0x1;}function _0x1716e1(_0x1b7646){const _0x2a743f=_0x661ddc(_0x1b7646);_0x2a743f&&_0x2a743f[_0x5a2ed8([0x61,0x6c,0x67])]==_0x5a2ed8([0x45,0x53,0x32,0x35,0x36])||(_0x16107f=!0x1);}async function _0x31cac8(_0x8c03b5,_0x451e71,_0x4c97d9){const _0x14509f=window[_0x5a2ed8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a2ed8([0x66,0x72,0x6f,0x6d])](_0x318723(_0x4c97d9),_0x588a07=>_0x588a07[_0x5a2ed8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x497693=new window[(_0x5a2ed8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a2ed8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8c03b5+_0x5a2ed8([0x2e])+_0x451e71),_0x3caad7=window[_0x5a2ed8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a2ed8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3caad7)return;const _0xeef9fa=await _0x3caad7[_0x5a2ed8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a2ed8([0x6a,0x77,0x6b]),_0x31bc53,{[_0x5a2ed8([0x6e,0x61,0x6d,0x65])]:_0x5a2ed8([0x45,0x43,0x44,0x53,0x41]),[_0x5a2ed8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a2ed8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a2ed8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3caad7[_0x5a2ed8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a2ed8([0x6e,0x61,0x6d,0x65])]:_0x5a2ed8([0x45,0x43,0x44,0x53,0x41]),[_0x5a2ed8([0x68,0x61,0x73,0x68])]:{[_0x5a2ed8([0x6e,0x61,0x6d,0x65])]:_0x5a2ed8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xeef9fa,_0x14509f,_0x497693)||(_0x16107f=!0x1);}}function _0x661ddc(_0x391816){return _0x391816[_0x5a2ed8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a2ed8([0x65,0x79]))?JSON[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65])](_0x318723(_0x391816)):null;}function _0x318723(_0x182093){return window[_0x5a2ed8([0x61,0x74,0x6f,0x62])](_0x182093[_0x5a2ed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a2ed8([0x2b]))[_0x5a2ed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a2ed8([0x2f])));}function _0x2cd10f(_0x425702){let _0x2016e4=0x1505;function _0x2f2880(_0x562044){for(let _0x26f42a=0x0;_0x26f42a<_0x562044[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26f42a++){const _0x521d77=_0x562044[_0x5a2ed8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26f42a);_0x2016e4=(_0x2016e4<<0x5)+_0x2016e4+_0x521d77,_0x2016e4&=_0x2016e4;}}function _0x1c38fe(_0x225849){Array[_0x5a2ed8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x225849)?_0x225849[_0x5a2ed8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c38fe):_0x225849&&typeof _0x225849==_0x5a2ed8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a2ed8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x225849)[_0x5a2ed8([0x73,0x6f,0x72,0x74])]()[_0x5a2ed8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a23b9,_0x1b0ca4])=>{_0x2f2880(_0x3a23b9),_0x1c38fe(_0x1b0ca4);}):_0x2f2880(window[_0x5a2ed8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x225849));}return _0x1c38fe(_0x425702),_0x2016e4>>>0x0;}function _0x43913c(_0x4f18e9){return _0x4f18e9[_0x5a2ed8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a2ed8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a2ed8([0x30]));}function _0x2a73be(_0x2ca049){return _0x2ca049[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a2ed8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a2ed8([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e424f(){}function _0x5a2ed8(_0x3b36ff){return _0x3b36ff['map'](_0x3c9b7b=>String['fromCharCode'](_0x3c9b7b))['join']('');}_0x44423b(await _0x54929());}(this);}['_createButton'](_0x40ef2b,_0xd30d57,_0x215fe6=!0x1){const _0x26016d=new _0x40ef2b(this['editor']['locale']);return _0x26016d['set']({'withText':_0x215fe6,'isToggleable':!0x1}),_0x26016d['bind']('isEnabled')['to'](_0xd30d57,'isEnabled'),this['listenTo'](_0x26016d,'execute',()=>_0xd30d57['execute']()),_0x26016d;}['_registerKeybindings'](){const _0x2ff20c=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x2ff20c,'Source\x20Editing\x20Enhanced')});const _0x10f77f=_0x240e50['isMac']||_0x240e50['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x2ff20c,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x2ff20c,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x2ff20c,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x2ff20c,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x2ff20c,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x2ff20c,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x2ff20c,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x10f77f?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x2ff20c,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x2ff20c,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x2ff20c,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x2ff20c,'Select\x20line'),'keystroke':_0x10f77f?'Ctrl!+L':'Alt+L'},{'label':f(_0x2ff20c,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x10f77f?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x2ff20c,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x2ff20c,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x2ff20c,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x2ff20c,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x2ff20c,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x10f77f?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x315bc9{constructor(_0x2c3855){super(_0x2c3855),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3600bd,_0x3aaabc){const _0x1ea21c=this['editor'],_0x4f1624=_0x3aaabc?.['rootName']??s(_0x1ea21c);_0x1ea21c['data']['set']({[_0x4f1624]:_0x3600bd},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x45a0d9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x404e6b){super(_0x404e6b),_0x404e6b['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 _0x1e7de6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4db26d;for(const _0x5c993b in _0x1e7de6){const _0x2b5a8f=_0x5c993b,_0x9ac402=_0x1e7de6[_0x2b5a8f];if('sourceEditingEnhancedLicenseKeyValid'==_0x9ac402||'sourceEditingEnhancedLicenseKeyInvalid'==_0x9ac402||'sourceEditingEnhancedLicenseKeyExpired'==_0x9ac402||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x9ac402||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x9ac402||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x9ac402||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x9ac402||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x9ac402){delete _0x1e7de6[_0x2b5a8f],_0x4db26d=_0x9ac402,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4db26d&&_0x1e7de6['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4db26d&&_0x1e7de6['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4db26d&&_0x1e7de6['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4a780a=this['editor'],_0x3f52d7=_0x4a780a['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3f52d7&&_0x4a780a['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x1e1cd7('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3f52d7&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x241f2e=>_0x4a780a['plugins']['has'](_0x241f2e))&&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.'),_0x4a780a['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "45.2.0-alpha.
|
|
3
|
+
"version": "45.2.0-alpha.5",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "45.2.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "45.2.0-alpha.5",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.5",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.5",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.5",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.5",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.0",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "45.2.0-alpha.
|
|
34
|
+
"ckeditor5": "45.2.0-alpha.5"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xa738(){const _0x5922a2=['Undo\x20(keystroke)','Ctrl+Shift+]','listenTo','Toggle\x20comment','Shift+Alt+ArrowDown','href','Fold\x20code\x20(current\x20level)','pluginName','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowUp','20391PYPlpz','editSource','map','init','9OMWyMz','Fold\x20all','locale','Copy\x20line\x20down','26682gRXcWv','Source','ck-source-editing-enhanced-button','accessibility','Shift+Ctrl+K','Redo\x20(keystroke)','isOfficialPlugin','Delete\x20line','Indent\x20less','fromCharCode','Ctrl+Z','Ctrl+[','Move\x20line\x20up','Ctrl!+Alt+[','Cmd+Alt+]','Ctrl+/','1832PwULfp','isEnabled','Alt+L','Ctrl+M','Alt+ArrowDown','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','_createButton','Select\x20line','Ctrl!+L','requires','join','isMac','Copy\x20line\x20up','editor','4483896bYEBEN','isiOS','Ctrl!+Alt+]','35156250fxuEmV','Move\x20line\x20down','bind','commands','SourceEditingEnhancedUI','Ctrl+Shift+Z','Unfold\x20all','Alt+ArrowUp','Ctrl+]','Alt+Shift+M','Unfold\x20code\x20(current\x20level)','set','sourceEditingEnhanced','execute','isPremiumPlugin','addKeystrokeInfos','4324cMXusw','Source\x20Editing\x20Enhanced','_registerKeybindings','Cmd+Alt+[','add','Ctrl+Y','Indent\x20more','Shift+Alt+A','menuBar:sourceEditingEnhanced','menuitemcheckbox','3356332lpsChk','1460203lcxGSQ','addKeystrokeInfoCategory','componentFactory','1915tHAKaf','Toggle\x20block\x20comment','afterInit','Ctrl+Shift+['];_0xa738=function(){return _0x5922a2;};return _0xa738();}const _0x11a050=_0x46b9;(function(_0x45df93,_0x5caa5d){const _0x43dd77=_0x46b9,_0x156081=_0x45df93();while(!![]){try{const _0x298451=parseInt(_0x43dd77(0x149))/0x1+parseInt(_0x43dd77(0x148))/0x2+parseInt(_0x43dd77(0x180))/0x3+parseInt(_0x43dd77(0x193))/0x4*(parseInt(_0x43dd77(0x14c))/0x5)+parseInt(_0x43dd77(0x162))/0x6+-parseInt(_0x43dd77(0x15a))/0x7*(parseInt(_0x43dd77(0x172))/0x8)+parseInt(_0x43dd77(0x15e))/0x9*(-parseInt(_0x43dd77(0x183))/0xa);if(_0x298451===_0x5caa5d)break;else _0x156081['push'](_0x156081['shift']());}catch(_0x7de073){_0x156081['push'](_0x156081['shift']());}}}(_0xa738,0xd41a1));import{Plugin as _0x13dd7a,PendingActions as _0x4f7d19}from'ckeditor5/src/core.js';import{IconSource as _0x767883}from'ckeditor5/src/icons.js';import{ButtonView as _0x123ecc,MenuBarMenuListItemButtonView as _0x5d49ed}from'ckeditor5/src/ui.js';import _0x3bfb1c from'./ui/editsourcecommand.js';import{getTranslation as _0x349504}from'./utils/common-translations.js';import{env as _0x2ba3da,uid as _0x256bd8}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x46b9(_0x1d08d4,_0x475ed7){const _0xa7380e=_0xa738();return _0x46b9=function(_0x46b99a,_0x492cca){_0x46b99a=_0x46b99a-0x148;let _0x4ec2ec=_0xa7380e[_0x46b99a];return _0x4ec2ec;},_0x46b9(_0x1d08d4,_0x475ed7);}export default class a extends _0x13dd7a{static get[_0x11a050(0x157)](){const _0x34d3c3=_0x11a050;return _0x34d3c3(0x187);}static get[_0x11a050(0x17b)](){return[_0x4f7d19];}static get[_0x11a050(0x168)](){return!0x0;}static get[_0x11a050(0x191)](){return!0x0;}[_0x11a050(0x15d)](){const _0x28b1a3=_0x11a050,_0x198e84=this[_0x28b1a3(0x17f)],_0x1afb77=_0x198e84[_0x28b1a3(0x160)],_0x6dac9b=new _0x3bfb1c(_0x198e84);_0x198e84[_0x28b1a3(0x186)][_0x28b1a3(0x197)](_0x28b1a3(0x15b),_0x6dac9b),_0x198e84['ui'][_0x28b1a3(0x14b)][_0x28b1a3(0x197)](_0x28b1a3(0x18f),()=>{const _0x503a3c=_0x28b1a3,_0x76553f=this[_0x503a3c(0x178)](_0x123ecc,_0x6dac9b);return _0x76553f[_0x503a3c(0x18e)]({'label':_0x349504(_0x1afb77,_0x503a3c(0x163)),'icon':_0x767883,'tooltip':_0x349504(_0x1afb77,_0x503a3c(0x158)),'class':_0x503a3c(0x164)}),_0x76553f;}),_0x198e84['ui'][_0x28b1a3(0x14b)][_0x28b1a3(0x197)](_0x28b1a3(0x19b),()=>{const _0x3a267f=_0x28b1a3,_0x512499=this[_0x3a267f(0x178)](_0x5d49ed,_0x6dac9b,!0x0);return _0x512499[_0x3a267f(0x18e)]({'label':_0x349504(_0x1afb77,_0x3a267f(0x158)),'icon':_0x767883,'role':_0x3a267f(0x19c)}),_0x512499;}),this[_0x28b1a3(0x195)]();}[_0x11a050(0x14e)](){!async function(_0x47608f){const _0xf02d4a=_0x15cc76([0x64,0x52,0x58,0x62,0x32,0x34,0x38,0x5a,0x73,0x46,0x6f,0x41,0x72,0x4e,0x47,0x37,0x31,0x50,0x51,0x77,0x49,0x6e,0x44,0x63,0x48,0x4a,0x61,0x66,0x35,0x65,0x78,0x4c,0x74,0x55,0x4f,0x79,0x68,0x6a,0x59,0x76,0x54,0x56,0x4d,0x6d,0x36,0x69,0x70,0x4b,0x43,0x39,0x53,0x45,0x75,0x30,0x71,0x33,0x42,0x67,0x57,0x7a,0x6b,0x6c]),_0x504e0e=0x4dfbb455,_0x5a40b4=0x4dfcddd5^_0x504e0e,_0x10ff88=window[_0x15cc76([0x44,0x61,0x74,0x65])][_0x15cc76([0x6e,0x6f,0x77])](),_0x1ef0b8=_0x47608f[_0x15cc76([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41d7ad=new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c99b2=>{_0x1ef0b8[_0x15cc76([0x6f,0x6e,0x63,0x65])](_0x15cc76([0x72,0x65,0x61,0x64,0x79]),_0x4c99b2);}),_0x19215b={[_0x15cc76([0x6b,0x74,0x79])]:_0x15cc76([0x45,0x43]),[_0x15cc76([0x75,0x73,0x65])]:_0x15cc76([0x73,0x69,0x67]),[_0x15cc76([0x63,0x72,0x76])]:_0x15cc76([0x50,0x2d,0x32,0x35,0x36]),[_0x15cc76([0x78])]:_0x15cc76([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x15cc76([0x79])]:_0x15cc76([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x15cc76([0x61,0x6c,0x67])]:_0x15cc76([0x45,0x53,0x32,0x35,0x36])},_0x3dd385=_0x1ef0b8[_0x15cc76([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15cc76([0x67,0x65,0x74])](_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59865c(){let _0x1c2985,_0x1bafbb=null,_0x26712a=null;try{if(_0x3dd385==_0x15cc76([0x47,0x50,0x4c]))return _0x15cc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c2985=_0x861552(),!_0x1c2985)return _0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c2985[_0x15cc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26712a=_0x5c5b4e(_0x1c2985[_0x15cc76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c2985[_0x15cc76([0x6a,0x74,0x69])])),await _0x5e3b40()?_0xbc73e4()?_0x5b1ff9()?_0x15cc76([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46555d()?(_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15cc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bafbb=_0x306ab8(_0x15cc76([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15cc76([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bafbb=_0x306ab8(_0x15cc76([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29a7b3()):_0x15cc76([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x15cc76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b1ff9(){const _0x4a074d=[_0x15cc76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15cc76([0x74,0x72,0x69,0x61,0x6c])][_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10ff88/0x3e8:0xe10*_0x5a40b4;return _0x1c2985[_0x15cc76([0x65,0x78,0x70])]<_0x4a074d;}function _0xbc73e4(){const _0x364fda=_0x1c2985[_0x15cc76([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x364fda&&(!!_0x364fda[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x2a]))||!!_0x364fda[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x53,0x45,0x45])));}function _0x46555d(){const _0x52c21c=_0x46b9,_0x5d8366=_0x1c2985[_0x15cc76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d8366||0x0==_0x5d8366[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x394437}=new URL(window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x52c21c(0x155)]);if(_0x5d8366[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x394437))return!0x0;const _0x18d593=_0x394437[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e]));return _0x5d8366[_0x15cc76([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b41da=>_0x3b41da[_0x15cc76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cc76([0x2a])))[_0x15cc76([0x6d,0x61,0x70])](_0x4d2601=>_0x4d2601[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e])))[_0x15cc76([0x73,0x6f,0x6d,0x65])](_0x1ac6ef=>_0x18d593[_0x15cc76([0x65,0x76,0x65,0x72,0x79])]((_0x1e2720,_0x45c127)=>_0x1ac6ef[_0x45c127]===_0x1e2720||_0x1ac6ef[_0x45c127]===_0x15cc76([0x2a])));}function _0x29a7b3(){return _0x1bafbb&&_0x26712a?new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x306e2e,_0xcd3b0a)=>{_0x1bafbb[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x306e2e,_0xcd3b0a),_0x26712a[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x1e0186=>{_0x1e0186!=_0x15cc76([0x56,0x61,0x6c,0x69,0x64])&&_0x306e2e(_0x1e0186);},_0xcd3b0a);}):_0x1bafbb||_0x26712a||_0x15cc76([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c5b4e(_0x4e90c4,_0x1f3743){return new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x397d91=>{if(_0x20b5c0())return _0x397d91(_0x15cc76([0x56,0x61,0x6c,0x69,0x64]));_0xcdbd68(),_0x1ef0b8[_0x15cc76([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b491d=!0x1;const _0x7d3731=_0x256bd8();function _0x53ade3(_0x2807f8){return!!_0x2807f8&&(typeof _0x2807f8===_0x15cc76([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2807f8===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2807f8[_0x15cc76([0x74,0x68,0x65,0x6e])]===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2807f8[_0x15cc76([0x63,0x61,0x74,0x63,0x68])]===_0x15cc76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d4674(_0x22d379){_0x358fd6(_0x22d379)[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x3eb677=>{if(!_0x3eb677||_0x3eb677[_0x15cc76([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15cc76([0x6f,0x6b]))return _0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57844a(_0x54c3f0(_0x7d3731+_0x1f3743))!=_0x3eb677[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15cc76([0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc76([0x74,0x68,0x65,0x6e])](_0xfecec1=>(_0x385aa5(),_0xfecec1),()=>{const _0x135c97=_0x299794();return null==_0x135c97?(_0x385aa5(),_0x15cc76([0x56,0x61,0x6c,0x69,0x64])):_0x15cc76(_0x10ff88-_0x135c97>(0x69f73055^_0x504e0e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x397d91)[_0x15cc76([0x63,0x61,0x74,0x63,0x68])](()=>{_0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39668a=0x4dcd5ad5^_0x504e0e;function _0x385aa5(){const _0x514d92=_0x15cc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x57844a(_0x54c3f0(_0x4e90c4)),_0xfe7020=_0x1e6225(_0x57844a(window[_0x15cc76([0x4d,0x61,0x74,0x68])][_0x15cc76([0x63,0x65,0x69,0x6c])](_0x10ff88/_0x39668a)));window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc76([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x514d92,_0xfe7020);}function _0x299794(){const _0x218e5c=_0x15cc76([0x6c,0x6c,0x63,0x74,0x2d])+_0x57844a(_0x54c3f0(_0x4e90c4)),_0x48834b=window[_0x15cc76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15cc76([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218e5c);return _0x48834b?window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e6225(_0x48834b),0x10)*_0x39668a:null;}function _0x358fd6(_0x25ded7){return new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46879a,_0x2527c6)=>{_0x25ded7[_0x15cc76([0x74,0x68,0x65,0x6e])](_0x46879a,_0x2527c6),window[_0x15cc76([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2527c6,0x4dfa6095^_0x504e0e);});}}_0x1ef0b8[_0x15cc76([0x6f,0x6e])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x306686,_0x445b64)=>{if(_0x445b64[0x0]!=_0x4e90c4)return _0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x445b64[0x1]={..._0x445b64[0x1],[_0x15cc76([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7d3731};},{[_0x15cc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc76([0x68,0x69,0x67,0x68])}),_0x1ef0b8[_0x15cc76([0x6f,0x6e])](_0x15cc76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a45b=>{_0x53ade3(_0x19a45b[_0x15cc76([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b491d=!0x0,_0x1d4674(_0x19a45b[_0x15cc76([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15cc76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15cc76([0x6c,0x6f,0x77])}),_0x41d7ad[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>{_0x4b491d||_0x397d91(_0x15cc76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20b5c0(){return _0x1ef0b8[_0x15cc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc76([0x76,0x69,0x65,0x77])][_0x15cc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15cc76([0x61,0x75,0x74,0x6f]);}function _0xcdbd68(){_0x1ef0b8[_0x15cc76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15cc76([0x76,0x69,0x65,0x77])][_0x15cc76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15cc76([0x61,0x75,0x74,0x6f]);}}function _0x306ab8(_0x19de7b){const _0x4777c8=[new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cbeba=>setTimeout(_0x3cbeba,0x4df28a99^_0x504e0e)),_0x41d7ad[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2563e0=>{let _0x44f916=0x0;_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x6f,0x6e])](_0x15cc76([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x48c527,_0x1b76f9)=>{_0x1b76f9[0x0][_0x15cc76([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44f916++,_0x44f916==(0x4dfbb5ad^_0x504e0e)&&(_0x2563e0(),_0x48c527[_0x15cc76([0x6f,0x66,0x66])]());});}))];return window[_0x15cc76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15cc76([0x72,0x61,0x63,0x65])](_0x4777c8)[_0x15cc76([0x74,0x68,0x65,0x6e])](()=>_0x19de7b);}async function _0x5af5d2(){await _0x41d7ad,_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x395171,_0x1ef0b8[_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c])][_0x15cc76([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x395171,_0x1ef0b8[_0x15cc76([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15cc76([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x302a8f(_0x5dd29e){const _0x2785df=_0x4cadfa();_0x1ef0b8[_0x2785df]=_0x15cc76([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5dd29e,_0x5dd29e!=_0x15cc76([0x56,0x61,0x6c,0x69,0x64])&&_0x5af5d2();}function _0x4cadfa(){const _0x3a8438=window[_0x15cc76([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15cc76([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15cc76([0x6e,0x6f,0x77])]())[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15cc76([0x2e]),'');let _0x3e56f9=_0x15cc76([0x64]);for(let _0x6c9327=0x0;_0x6c9327<_0x3a8438[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6c9327+=0x2){let _0x40aabb=window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a8438[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6c9327,_0x6c9327+0x2));_0x40aabb>=_0xf02d4a[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40aabb-=_0xf02d4a[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e56f9+=_0xf02d4a[_0x40aabb];}return _0x3e56f9;}function _0x861552(){const _0x45544d=_0x3dd385[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e]));if(0x3!=_0x45544d[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5aa6a4(_0x45544d[0x1]);function _0x5aa6a4(_0x35d70a){const _0x8fe613=_0x70aaf7(_0x35d70a);return _0x8fe613&&_0x1968af()?_0x8fe613:null;function _0x1968af(){const _0x5ee48f=_0x8fe613[_0x15cc76([0x6a,0x74,0x69])],_0x372d53=window[_0x15cc76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ee48f[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ee48f[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ef0bc={..._0x8fe613,[_0x15cc76([0x6a,0x74,0x69])]:_0x5ee48f[_0x15cc76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ee48f[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ef0bc[_0x15cc76([0x76,0x63])],_0x54c3f0(_0x2ef0bc)==_0x372d53;}}}async function _0x5e3b40(){let _0x259e69=!0x0;try{const _0x5048f6=_0x3dd385[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])](_0x15cc76([0x2e])),[_0x2aca07,_0x4b953b,_0x4bba2b]=_0x5048f6;return _0x3e5e54(_0x2aca07),await _0x37575e(_0x2aca07,_0x4b953b,_0x4bba2b),_0x259e69;}catch{return!0x1;}function _0x3e5e54(_0x21066d){const _0x1a44f6=_0x70aaf7(_0x21066d);_0x1a44f6&&_0x1a44f6[_0x15cc76([0x61,0x6c,0x67])]==_0x15cc76([0x45,0x53,0x32,0x35,0x36])||(_0x259e69=!0x1);}async function _0x37575e(_0x100a5a,_0x5f1161,_0x3aeac8){const _0x1cccad=window[_0x15cc76([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15cc76([0x66,0x72,0x6f,0x6d])](_0x34c6e1(_0x3aeac8),_0x1a3a86=>_0x1a3a86[_0x15cc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46af7c=new window[(_0x15cc76([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15cc76([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x100a5a+_0x15cc76([0x2e])+_0x5f1161),_0x20f7c9=window[_0x15cc76([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15cc76([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20f7c9)return;const _0x2ab8a6=await _0x20f7c9[_0x15cc76([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15cc76([0x6a,0x77,0x6b]),_0x19215b,{[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x45,0x43,0x44,0x53,0x41]),[_0x15cc76([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15cc76([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20f7c9[_0x15cc76([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x45,0x43,0x44,0x53,0x41]),[_0x15cc76([0x68,0x61,0x73,0x68])]:{[_0x15cc76([0x6e,0x61,0x6d,0x65])]:_0x15cc76([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ab8a6,_0x1cccad,_0x46af7c)||(_0x259e69=!0x1);}}function _0x70aaf7(_0xd29a2){return _0xd29a2[_0x15cc76([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15cc76([0x65,0x79]))?JSON[_0x15cc76([0x70,0x61,0x72,0x73,0x65])](_0x34c6e1(_0xd29a2)):null;}function _0x34c6e1(_0x354bab){return window[_0x15cc76([0x61,0x74,0x6f,0x62])](_0x354bab[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15cc76([0x2b]))[_0x15cc76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15cc76([0x2f])));}function _0x54c3f0(_0x26aa42){let _0x461539=0x1505;function _0x275b99(_0x2c6049){for(let _0xeeebff=0x0;_0xeeebff<_0x2c6049[_0x15cc76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xeeebff++){const _0x16f111=_0x2c6049[_0x15cc76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xeeebff);_0x461539=(_0x461539<<0x5)+_0x461539+_0x16f111,_0x461539&=_0x461539;}}function _0x27176d(_0x444cd8){Array[_0x15cc76([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x444cd8)?_0x444cd8[_0x15cc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27176d):_0x444cd8&&typeof _0x444cd8==_0x15cc76([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15cc76([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x444cd8)[_0x15cc76([0x73,0x6f,0x72,0x74])]()[_0x15cc76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x504e55,_0xe71f61])=>{_0x275b99(_0x504e55),_0x27176d(_0xe71f61);}):_0x275b99(window[_0x15cc76([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x444cd8));}return _0x27176d(_0x26aa42),_0x461539>>>0x0;}function _0x57844a(_0x5f2be6){return _0x5f2be6[_0x15cc76([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15cc76([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15cc76([0x30]));}function _0x1e6225(_0x1eb238){return _0x1eb238[_0x15cc76([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15cc76([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15cc76([0x6a,0x6f,0x69,0x6e])]('');}function _0x395171(){}function _0x15cc76(_0x16c6ae){const _0x569372=_0x46b9;return _0x16c6ae[_0x569372(0x15c)](_0x7455d7=>String[_0x569372(0x16b)](_0x7455d7))[_0x569372(0x17c)]('');}_0x302a8f(await _0x59865c());}(this);}[_0x11a050(0x178)](_0x2e5b53,_0x76131f,_0x35ea5f=!0x1){const _0x27e52a=_0x11a050,_0x50baf6=new _0x2e5b53(this[_0x27e52a(0x17f)][_0x27e52a(0x160)]);return _0x50baf6[_0x27e52a(0x18e)]({'withText':_0x35ea5f,'isToggleable':!0x1}),_0x50baf6[_0x27e52a(0x185)](_0x27e52a(0x173))['to'](_0x76131f,_0x27e52a(0x173)),this[_0x27e52a(0x152)](_0x50baf6,_0x27e52a(0x190),()=>_0x76131f[_0x27e52a(0x190)]()),_0x50baf6;}[_0x11a050(0x195)](){const _0x5f3ec6=_0x11a050,_0x1cc8a8=this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x160)];this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x165)][_0x5f3ec6(0x14a)]({'id':_0x5f3ec6(0x18f),'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x194))});const _0x38801b=_0x2ba3da[_0x5f3ec6(0x17d)]||_0x2ba3da[_0x5f3ec6(0x181)];this[_0x5f3ec6(0x17f)][_0x5f3ec6(0x165)][_0x5f3ec6(0x192)]({'categoryId':_0x5f3ec6(0x18f),'keystrokes':[{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x161)),'keystroke':_0x5f3ec6(0x154)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x17e)),'keystroke':_0x5f3ec6(0x159)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x169)),'keystroke':_0x5f3ec6(0x166)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x16a)),'keystroke':_0x5f3ec6(0x16d)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x199)),'keystroke':_0x5f3ec6(0x18b)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x15f)),'keystroke':_0x5f3ec6(0x16f)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x156)),'keystroke':_0x38801b?_0x5f3ec6(0x196):_0x5f3ec6(0x14f)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x184)),'keystroke':_0x5f3ec6(0x176)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x16e)),'keystroke':_0x5f3ec6(0x18a)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x167)),'keystroke':[[_0x5f3ec6(0x188)],[_0x5f3ec6(0x198)]]},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x179)),'keystroke':_0x38801b?_0x5f3ec6(0x17a):_0x5f3ec6(0x174)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x177)),'keystroke':_0x38801b?_0x5f3ec6(0x18c):_0x5f3ec6(0x175)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x14d)),'keystroke':_0x5f3ec6(0x19a)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x153)),'keystroke':_0x5f3ec6(0x171)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x150)),'keystroke':_0x5f3ec6(0x16c)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x189)),'keystroke':_0x5f3ec6(0x182)},{'label':_0x349504(_0x1cc8a8,_0x5f3ec6(0x18d)),'keystroke':_0x38801b?_0x5f3ec6(0x170):_0x5f3ec6(0x151)}]});}}
|
|
23
|
+
const _0x4cfa6c=_0x3300;(function(_0x210299,_0x2998a5){const _0x3824d3=_0x3300,_0xdad7d0=_0x210299();while(!![]){try{const _0x5efab0=-parseInt(_0x3824d3(0x1c6))/0x1+parseInt(_0x3824d3(0x1cf))/0x2+parseInt(_0x3824d3(0x1f5))/0x3*(-parseInt(_0x3824d3(0x207))/0x4)+-parseInt(_0x3824d3(0x1cd))/0x5*(-parseInt(_0x3824d3(0x1f3))/0x6)+parseInt(_0x3824d3(0x1ff))/0x7+-parseInt(_0x3824d3(0x1e8))/0x8+parseInt(_0x3824d3(0x1d6))/0x9;if(_0x5efab0===_0x2998a5)break;else _0xdad7d0['push'](_0xdad7d0['shift']());}catch(_0x5cc3af){_0xdad7d0['push'](_0xdad7d0['shift']());}}}(_0x34a7,0x51973));import{Plugin as _0x14814e,PendingActions as _0x32b310}from'ckeditor5/src/core.js';import{IconSource as _0x40e1ff}from'ckeditor5/src/icons.js';import{ButtonView as _0x555da1,MenuBarMenuListItemButtonView as _0x1c325b}from'ckeditor5/src/ui.js';import _0xeb6e3e from'./ui/editsourcecommand.js';function _0x3300(_0x4b5f6f,_0x49873b){const _0x34a7bd=_0x34a7();return _0x3300=function(_0x33000a,_0x59febe){_0x33000a=_0x33000a-0x1c6;let _0x9c23e3=_0x34a7bd[_0x33000a];return _0x9c23e3;},_0x3300(_0x4b5f6f,_0x49873b);}function _0x34a7(){const _0x16bb9f=['sourceEditingEnhanced','Ctrl+M','addKeystrokeInfoCategory','componentFactory','isOfficialPlugin','afterInit','330744mJwLki','pluginName','3ApmPOr','Shift+Alt+A','Ctrl!+L','Alt+L','isiOS','Shift+Alt+ArrowUp','Indent\x20more','SourceEditingEnhancedUI','isPremiumPlugin','Edit\x20source\x20modal\x20label','2370949jSfFGw','Alt+ArrowDown','Shift+Alt+ArrowDown','Cmd+Alt+[','Source\x20Editing\x20Enhanced','Ctrl+Shift+[','isMac','listenTo','2133528MllLmk','Redo\x20(keystroke)','href','execute','accessibility','Move\x20line\x20down','bind','Copy\x20line\x20up','editor','Ctrl+/','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+]','Indent\x20less','isEnabled','fromCharCode','requires','Toggle\x20comment','Alt+Shift+M','Select\x20line','597354zqJexs','Move\x20line\x20up','Delete\x20line','_createButton','editSource','ck-source-editing-enhanced-button','Ctrl+[','35FjPsmf','Alt+ArrowUp','340394FSQxOs','Ctrl+Shift+]','Unfold\x20code\x20(current\x20level)','Copy\x20line\x20down','commands','Ctrl!+Alt+[','Source','7353396JYhTgf','join','addKeystrokeInfos','add','locale','_registerKeybindings','Shift+Ctrl+K','menuitemcheckbox','menuBar:sourceEditingEnhanced','Toggle\x20block\x20comment','init','map','Fold\x20all','set','Fold\x20code\x20(current\x20level)','Ctrl+Shift+Z','Undo\x20(keystroke)','Unfold\x20all','1975080KCvgFQ','Ctrl+Z','Ctrl!+Alt+]','Ctrl+Y','Cmd+Alt+]'];_0x34a7=function(){return _0x16bb9f;};return _0x34a7();}import{getTranslation as _0x3a75dd}from'./utils/common-translations.js';import{env as _0x507fc9,uid as _0x43a50c}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x14814e{static get[_0x4cfa6c(0x1f4)](){const _0x2905d7=_0x4cfa6c;return _0x2905d7(0x1fc);}static get[_0x4cfa6c(0x216)](){return[_0x32b310];}static get[_0x4cfa6c(0x1f1)](){return!0x0;}static get[_0x4cfa6c(0x1fd)](){return!0x0;}[_0x4cfa6c(0x1e0)](){const _0x1942a7=_0x4cfa6c,_0x10ce78=this[_0x1942a7(0x20f)],_0x6950=_0x10ce78[_0x1942a7(0x1da)],_0x55b9d0=new _0xeb6e3e(_0x10ce78);_0x10ce78[_0x1942a7(0x1d3)][_0x1942a7(0x1d9)](_0x1942a7(0x1ca),_0x55b9d0),_0x10ce78['ui'][_0x1942a7(0x1f0)][_0x1942a7(0x1d9)](_0x1942a7(0x1ed),()=>{const _0x406fd8=_0x1942a7,_0x2923a6=this[_0x406fd8(0x1c9)](_0x555da1,_0x55b9d0);return _0x2923a6[_0x406fd8(0x1e3)]({'label':_0x3a75dd(_0x6950,_0x406fd8(0x1d5)),'icon':_0x40e1ff,'tooltip':_0x3a75dd(_0x6950,_0x406fd8(0x1fe)),'class':_0x406fd8(0x1cb)}),_0x2923a6;}),_0x10ce78['ui'][_0x1942a7(0x1f0)][_0x1942a7(0x1d9)](_0x1942a7(0x1de),()=>{const _0x1a3ab0=_0x1942a7,_0x57cfbf=this[_0x1a3ab0(0x1c9)](_0x1c325b,_0x55b9d0,!0x0);return _0x57cfbf[_0x1a3ab0(0x1e3)]({'label':_0x3a75dd(_0x6950,_0x1a3ab0(0x1fe)),'icon':_0x40e1ff,'role':_0x1a3ab0(0x1dd)}),_0x57cfbf;}),this[_0x1942a7(0x1db)]();}[_0x4cfa6c(0x1f2)](){!async function(_0x10da05){const _0x6d5e96=_0x2f7362([0x54,0x6a,0x74,0x33,0x73,0x68,0x48,0x35,0x51,0x4f,0x72,0x44,0x77,0x55,0x79,0x4d,0x49,0x30,0x45,0x59,0x6c,0x46,0x63,0x39,0x38,0x4b,0x76,0x4c,0x32,0x53,0x4e,0x61,0x6d,0x34,0x50,0x71,0x57,0x5a,0x69,0x6e,0x75,0x62,0x70,0x31,0x42,0x43,0x65,0x6f,0x47,0x67,0x7a,0x6b,0x66,0x58,0x56,0x37,0x52,0x64,0x78,0x4a,0x36,0x41]),_0x945052=0x702ed660,_0x4ed858=0x7029bff8^_0x945052,_0xb54531=window[_0x2f7362([0x44,0x61,0x74,0x65])][_0x2f7362([0x6e,0x6f,0x77])](),_0x196b93=_0x10da05[_0x2f7362([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x339b9f=new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4add1c=>{_0x196b93[_0x2f7362([0x6f,0x6e,0x63,0x65])](_0x2f7362([0x72,0x65,0x61,0x64,0x79]),_0x4add1c);}),_0x48dfc5={[_0x2f7362([0x6b,0x74,0x79])]:_0x2f7362([0x45,0x43]),[_0x2f7362([0x75,0x73,0x65])]:_0x2f7362([0x73,0x69,0x67]),[_0x2f7362([0x63,0x72,0x76])]:_0x2f7362([0x50,0x2d,0x32,0x35,0x36]),[_0x2f7362([0x78])]:_0x2f7362([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]),[_0x2f7362([0x79])]:_0x2f7362([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]),[_0x2f7362([0x61,0x6c,0x67])]:_0x2f7362([0x45,0x53,0x32,0x35,0x36])},_0xb69fff=_0x196b93[_0x2f7362([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f7362([0x67,0x65,0x74])](_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5632f6(){let _0x53ff64,_0x3312a4=null,_0x78e8a0=null;try{if(_0xb69fff==_0x2f7362([0x47,0x50,0x4c]))return _0x2f7362([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53ff64=_0x5b684c(),!_0x53ff64)return _0x2f7362([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53ff64[_0x2f7362([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x78e8a0=_0x35853a(_0x53ff64[_0x2f7362([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53ff64[_0x2f7362([0x6a,0x74,0x69])])),await _0xe0486b()?_0x56dbd3()?_0x24f5a7()?_0x2f7362([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22d05d()?(_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f7362([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3312a4=_0x414e2c(_0x2f7362([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f7362([0x74,0x72,0x69,0x61,0x6c])&&(_0x3312a4=_0x414e2c(_0x2f7362([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x15494c()):_0x2f7362([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f7362([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f7362([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f7362([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x24f5a7(){const _0x4ebcf8=[_0x2f7362([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f7362([0x74,0x72,0x69,0x61,0x6c])][_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb54531/0x3e8:0xe10*_0x4ed858;return _0x53ff64[_0x2f7362([0x65,0x78,0x70])]<_0x4ebcf8;}function _0x56dbd3(){const _0x3663e6=_0x53ff64[_0x2f7362([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3663e6&&(!!_0x3663e6[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7362([0x2a]))||!!_0x3663e6[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7362([0x53,0x45,0x45])));}function _0x22d05d(){const _0x4aff65=_0x3300,_0x2af34e=_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2af34e||0x0==_0x2af34e[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x547f10}=new URL(window[_0x2f7362([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4aff65(0x209)]);if(_0x2af34e[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547f10))return!0x0;const _0x5c9624=_0x547f10[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e]));return _0x2af34e[_0x2f7362([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5612c2=>_0x5612c2[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7362([0x2a])))[_0x2f7362([0x6d,0x61,0x70])](_0x36b83a=>_0x36b83a[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e])))[_0x2f7362([0x73,0x6f,0x6d,0x65])](_0x5cc0cf=>_0x5c9624[_0x2f7362([0x65,0x76,0x65,0x72,0x79])]((_0x196a07,_0x3a3e80)=>_0x5cc0cf[_0x3a3e80]===_0x196a07||_0x5cc0cf[_0x3a3e80]===_0x2f7362([0x2a])));}function _0x15494c(){return _0x3312a4&&_0x78e8a0?new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3eaa60,_0x2dc538)=>{_0x3312a4[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x3eaa60,_0x2dc538),_0x78e8a0[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x129145=>{_0x129145!=_0x2f7362([0x56,0x61,0x6c,0x69,0x64])&&_0x3eaa60(_0x129145);},_0x2dc538);}):_0x3312a4||_0x78e8a0||_0x2f7362([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35853a(_0x448418,_0x1d65c3){return new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5263a7=>{if(_0x28f0e1())return _0x5263a7(_0x2f7362([0x56,0x61,0x6c,0x69,0x64]));_0xbdc298(),_0x196b93[_0x2f7362([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f7362([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fade6=!0x1;const _0x2c2189=_0x43a50c();function _0x4be2a8(_0x176619){return!!_0x176619&&(typeof _0x176619===_0x2f7362([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x176619===_0x2f7362([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x176619[_0x2f7362([0x74,0x68,0x65,0x6e])]===_0x2f7362([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x176619[_0x2f7362([0x63,0x61,0x74,0x63,0x68])]===_0x2f7362([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5dd968(_0x47f0a0){_0x333a17(_0x47f0a0)[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x1afc73=>{if(!_0x1afc73||_0x1afc73[_0x2f7362([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f7362([0x6f,0x6b]))return _0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e71e2(_0xfe2e04(_0x2c2189+_0x1d65c3))!=_0x1afc73[_0x2f7362([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f7362([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x2ff56d=>(_0x39b79c(),_0x2ff56d),()=>{const _0x2941ad=_0x5a20a3();return null==_0x2941ad?(_0x39b79c(),_0x2f7362([0x56,0x61,0x6c,0x69,0x64])):_0x2f7362(_0xb54531-_0x2941ad>(0x54225260^_0x945052)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x5263a7)[_0x2f7362([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5263a7(_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31bb10=0x701838e0^_0x945052;function _0x39b79c(){const _0x39bf49=_0x2f7362([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e71e2(_0xfe2e04(_0x448418)),_0x34ceed=_0x327189(_0x1e71e2(window[_0x2f7362([0x4d,0x61,0x74,0x68])][_0x2f7362([0x63,0x65,0x69,0x6c])](_0xb54531/_0x31bb10)));window[_0x2f7362([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f7362([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39bf49,_0x34ceed);}function _0x5a20a3(){const _0x83630c=_0x2f7362([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e71e2(_0xfe2e04(_0x448418)),_0x1b1b43=window[_0x2f7362([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f7362([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x83630c);return _0x1b1b43?window[_0x2f7362([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x327189(_0x1b1b43),0x10)*_0x31bb10:null;}function _0x333a17(_0x288e34){return new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44877c,_0x266b9a)=>{_0x288e34[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x44877c,_0x266b9a),window[_0x2f7362([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x266b9a,0x702f02a0^_0x945052);});}}_0x196b93[_0x2f7362([0x6f,0x6e])](_0x2f7362([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb7865f,_0x196ebf)=>{if(_0x196ebf[0x0]!=_0x448418)return _0x5263a7(_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x196ebf[0x1]={..._0x196ebf[0x1],[_0x2f7362([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c2189};},{[_0x2f7362([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f7362([0x68,0x69,0x67,0x68])}),_0x196b93[_0x2f7362([0x6f,0x6e])](_0x2f7362([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x425a78=>{_0x4be2a8(_0x425a78[_0x2f7362([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fade6=!0x0,_0x5dd968(_0x425a78[_0x2f7362([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f7362([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f7362([0x6c,0x6f,0x77])}),_0x339b9f[_0x2f7362([0x74,0x68,0x65,0x6e])](()=>{_0x4fade6||_0x5263a7(_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28f0e1(){return _0x196b93[_0x2f7362([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f7362([0x76,0x69,0x65,0x77])][_0x2f7362([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f7362([0x61,0x75,0x74,0x6f]);}function _0xbdc298(){_0x196b93[_0x2f7362([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f7362([0x76,0x69,0x65,0x77])][_0x2f7362([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f7362([0x61,0x75,0x74,0x6f]);}}function _0x414e2c(_0x30304a){const _0x6fd2f4=[new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a8937=>setTimeout(_0x3a8937,0x7027e8ac^_0x945052)),_0x339b9f[_0x2f7362([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x276990=>{let _0x1b4d41=0x0;_0x196b93[_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f7362([0x6f,0x6e])](_0x2f7362([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x162a4a,_0xa85df5)=>{_0xa85df5[0x0][_0x2f7362([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b4d41++,_0x1b4d41==(0x702ed798^_0x945052)&&(_0x276990(),_0x162a4a[_0x2f7362([0x6f,0x66,0x66])]());});}))];return window[_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f7362([0x72,0x61,0x63,0x65])](_0x6fd2f4)[_0x2f7362([0x74,0x68,0x65,0x6e])](()=>_0x30304a);}async function _0x1b03f6(){await _0x339b9f,_0x196b93[_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f7362([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b83a0,_0x196b93[_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f7362([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b83a0,_0x196b93[_0x2f7362([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56620b(_0x287c5e){const _0x8c347a=_0x4def26();_0x196b93[_0x8c347a]=_0x2f7362([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])+_0x287c5e,_0x287c5e!=_0x2f7362([0x56,0x61,0x6c,0x69,0x64])&&_0x1b03f6();}function _0x4def26(){const _0x149422=window[_0x2f7362([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f7362([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f7362([0x6e,0x6f,0x77])]())[_0x2f7362([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f7362([0x2e]),'');let _0x54ea12=_0x2f7362([0x54]);for(let _0x2a5073=0x0;_0x2a5073<_0x149422[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a5073+=0x2){let _0x1ec57c=window[_0x2f7362([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x149422[_0x2f7362([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a5073,_0x2a5073+0x2));_0x1ec57c>=_0x6d5e96[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ec57c-=_0x6d5e96[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54ea12+=_0x6d5e96[_0x1ec57c];}return _0x54ea12;}function _0x5b684c(){const _0x5d055e=_0xb69fff[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e]));if(0x3!=_0x5d055e[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e4ae9(_0x5d055e[0x1]);function _0x4e4ae9(_0xb62f79){const _0xdb6499=_0x13e37d(_0xb62f79);return _0xdb6499&&_0x35d524()?_0xdb6499:null;function _0x35d524(){const _0x288588=_0xdb6499[_0x2f7362([0x6a,0x74,0x69])],_0x4ad1b3=window[_0x2f7362([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x288588[_0x2f7362([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x288588[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x162257={..._0xdb6499,[_0x2f7362([0x6a,0x74,0x69])]:_0x288588[_0x2f7362([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x288588[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x162257[_0x2f7362([0x76,0x63])],_0xfe2e04(_0x162257)==_0x4ad1b3;}}}async function _0xe0486b(){let _0xd50ffb=!0x0;try{const _0x228bb9=_0xb69fff[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e])),[_0x87de11,_0x707ef8,_0x22241c]=_0x228bb9;return _0xe7f10f(_0x87de11),await _0x23225c(_0x87de11,_0x707ef8,_0x22241c),_0xd50ffb;}catch{return!0x1;}function _0xe7f10f(_0x5c5b26){const _0x1f4950=_0x13e37d(_0x5c5b26);_0x1f4950&&_0x1f4950[_0x2f7362([0x61,0x6c,0x67])]==_0x2f7362([0x45,0x53,0x32,0x35,0x36])||(_0xd50ffb=!0x1);}async function _0x23225c(_0xe9aeec,_0x12edc3,_0x2b5c87){const _0x460cfe=window[_0x2f7362([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f7362([0x66,0x72,0x6f,0x6d])](_0x46cae7(_0x2b5c87),_0x535669=>_0x535669[_0x2f7362([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x266c46=new window[(_0x2f7362([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f7362([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe9aeec+_0x2f7362([0x2e])+_0x12edc3),_0x21d437=window[_0x2f7362([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f7362([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21d437)return;const _0xb44630=await _0x21d437[_0x2f7362([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f7362([0x6a,0x77,0x6b]),_0x48dfc5,{[_0x2f7362([0x6e,0x61,0x6d,0x65])]:_0x2f7362([0x45,0x43,0x44,0x53,0x41]),[_0x2f7362([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f7362([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f7362([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21d437[_0x2f7362([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f7362([0x6e,0x61,0x6d,0x65])]:_0x2f7362([0x45,0x43,0x44,0x53,0x41]),[_0x2f7362([0x68,0x61,0x73,0x68])]:{[_0x2f7362([0x6e,0x61,0x6d,0x65])]:_0x2f7362([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb44630,_0x460cfe,_0x266c46)||(_0xd50ffb=!0x1);}}function _0x13e37d(_0xd2df1b){return _0xd2df1b[_0x2f7362([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f7362([0x65,0x79]))?JSON[_0x2f7362([0x70,0x61,0x72,0x73,0x65])](_0x46cae7(_0xd2df1b)):null;}function _0x46cae7(_0x46f404){return window[_0x2f7362([0x61,0x74,0x6f,0x62])](_0x46f404[_0x2f7362([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f7362([0x2b]))[_0x2f7362([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f7362([0x2f])));}function _0xfe2e04(_0x5618b7){let _0x370a17=0x1505;function _0x5105ed(_0x45c2e4){for(let _0x2caa68=0x0;_0x2caa68<_0x45c2e4[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2caa68++){const _0x3171f2=_0x45c2e4[_0x2f7362([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2caa68);_0x370a17=(_0x370a17<<0x5)+_0x370a17+_0x3171f2,_0x370a17&=_0x370a17;}}function _0x38683d(_0x46ca77){Array[_0x2f7362([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46ca77)?_0x46ca77[_0x2f7362([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38683d):_0x46ca77&&typeof _0x46ca77==_0x2f7362([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f7362([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46ca77)[_0x2f7362([0x73,0x6f,0x72,0x74])]()[_0x2f7362([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe1d4f1,_0x25ea1d])=>{_0x5105ed(_0xe1d4f1),_0x38683d(_0x25ea1d);}):_0x5105ed(window[_0x2f7362([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46ca77));}return _0x38683d(_0x5618b7),_0x370a17>>>0x0;}function _0x1e71e2(_0x38aa1e){return _0x38aa1e[_0x2f7362([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f7362([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f7362([0x30]));}function _0x327189(_0x306010){return _0x306010[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f7362([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f7362([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b83a0(){}function _0x2f7362(_0xee41a9){const _0x910d69=_0x3300;return _0xee41a9[_0x910d69(0x1e1)](_0x2683f5=>String[_0x910d69(0x215)](_0x2683f5))[_0x910d69(0x1d7)]('');}_0x56620b(await _0x5632f6());}(this);}[_0x4cfa6c(0x1c9)](_0x37becf,_0x231589,_0x58c7d2=!0x1){const _0x366f6b=_0x4cfa6c,_0x29b5a8=new _0x37becf(this[_0x366f6b(0x20f)][_0x366f6b(0x1da)]);return _0x29b5a8[_0x366f6b(0x1e3)]({'withText':_0x58c7d2,'isToggleable':!0x1}),_0x29b5a8[_0x366f6b(0x20d)](_0x366f6b(0x214))['to'](_0x231589,_0x366f6b(0x214)),this[_0x366f6b(0x206)](_0x29b5a8,_0x366f6b(0x20a),()=>_0x231589[_0x366f6b(0x20a)]()),_0x29b5a8;}[_0x4cfa6c(0x1db)](){const _0x4e0d69=_0x4cfa6c,_0x53e6aa=this[_0x4e0d69(0x20f)][_0x4e0d69(0x1da)];this[_0x4e0d69(0x20f)][_0x4e0d69(0x20b)][_0x4e0d69(0x1ef)]({'id':_0x4e0d69(0x1ed),'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x203))});const _0x18f014=_0x507fc9[_0x4e0d69(0x205)]||_0x507fc9[_0x4e0d69(0x1f9)];this[_0x4e0d69(0x20f)][_0x4e0d69(0x20b)][_0x4e0d69(0x1d8)]({'categoryId':_0x4e0d69(0x1ed),'keystrokes':[{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1d2)),'keystroke':_0x4e0d69(0x201)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x20e)),'keystroke':_0x4e0d69(0x1fa)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1c8)),'keystroke':_0x4e0d69(0x1dc)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x213)),'keystroke':_0x4e0d69(0x1cc)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1fb)),'keystroke':_0x4e0d69(0x212)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e2)),'keystroke':_0x4e0d69(0x1d4)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e4)),'keystroke':_0x18f014?_0x4e0d69(0x202):_0x4e0d69(0x204)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x20c)),'keystroke':_0x4e0d69(0x200)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1c7)),'keystroke':_0x4e0d69(0x1ce)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x208)),'keystroke':[[_0x4e0d69(0x1e5)],[_0x4e0d69(0x1eb)]]},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x219)),'keystroke':_0x18f014?_0x4e0d69(0x1f7):_0x4e0d69(0x1f8)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x211)),'keystroke':_0x18f014?_0x4e0d69(0x218):_0x4e0d69(0x1ee)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1df)),'keystroke':_0x4e0d69(0x1f6)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x217)),'keystroke':_0x4e0d69(0x210)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e6)),'keystroke':_0x4e0d69(0x1e9)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e7)),'keystroke':_0x4e0d69(0x1ea)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1d1)),'keystroke':_0x18f014?_0x4e0d69(0x1ec):_0x4e0d69(0x1d0)}]});}}
|