@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250621.0 → 0.0.0-nightly-20250622.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x52ae5d,PendingActions as _0x309412,Plugin as _0x307548}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x202b2d,formatHtml as _0x5105d5,env as _0x1c7d32,uid as _0x4e93a7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x218093}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4c5829,ButtonView as _0x5827ab,MenuBarMenuListItemButtonView as _0x4ef702}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x35eac6,crosshairCursor as _0x281e82,drawSelection as _0x1e7090,dropCursor as _0x4d9788,lineNumbers as _0x497570,highlightActiveLine as _0x3b7323,highlightActiveLineGutter as _0x3c418b,highlightSpecialChars as _0x3446ee,rectangularSelection as _0x403096,keymap as _0x5b2851}from'@codemirror/view';import{Compartment as _0x89b70,Transaction as _0x2be0e3}from'@codemirror/state';import{bracketMatching as _0x3d2e6a,foldGutter as _0x481684,indentOnInput as _0x4a1b78,syntaxHighlighting as _0x373cf8,defaultHighlightStyle as _0x40994e,foldKeymap as _0x4ffebd}from'@codemirror/language';import{toggleTabFocusMode as _0x2e38d9,history as _0x57438d,defaultKeymap as _0x2f11d2,historyKeymap as _0x508e51,indentLess as _0x362a71,indentMore as _0x4d9604,redo as _0x42a484,undo as _0x3c06e3}from'@codemirror/commands';import{autocompletion as _0x4af8e1,closeBrackets as _0x513edc,closeBracketsKeymap as _0x2fe586,completionKeymap as _0x1a66dd}from'@codemirror/autocomplete';import{html as _0x533d64}from'@codemirror/lang-html';import{markdown as _0x4ec330}from'@codemirror/lang-markdown';import{oneDark as _0x7248e5}from'@codemirror/theme-one-dark';function w(_0x23ac7c,_0x53c836){const t=_0x23ac7c['t'];switch(_0x53c836){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 _0x53c836;}}function r(_0x5d836a){const _0x30ada1=_0x5d836a['editing']['view']['document']['roots'],_0x32f764=_0x30ada1['length'];if(0x0===_0x32f764)throw new _0x202b2d('source-editing-enhanced-editor-no-root',_0x5d836a);if(0x1===_0x32f764)return _0x30ada1['first']['rootName'];return Array['from'](_0x5d836a['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x3a9e2e){return tr(_0x3a9e2e['replace'](/^[\n\s]*/g,''))?_0x3a9e2e['replace'](/\s+/g,''):_0x3a9e2e;}function tr(_0x4a3298){return _0x4a3298['startsWith']('<');}function p(_0x482a34){const _0x49df7c=[_0x35eac6['lineWrapping'],_0x4af8e1(),_0x3d2e6a(),_0x513edc(),_0x281e82(),_0x1e7090(),_0x4d9788(),_0x497570(),_0x481684(),_0x3b7323(),_0x3c418b(),_0x3446ee(),_0x57438d(),_0x4a1b78(),_0x403096(),_0x373cf8(_0x40994e,{'fallback':!0x0})],_0x1a5747=new _0x89b70();_0x49df7c['push'](_0x1a5747['of'](_0x35eac6['editable']['of'](!0x0))),'html'===_0x482a34['syntaxLanguage']?_0x49df7c['push'](_0x533d64()):_0x49df7c['push'](_0x4ec330());const _0x216871=function(_0x55272b){if(_0x55272b&&'default'!==_0x55272b)return'dark'===_0x55272b?_0x7248e5:_0x55272b;return null;}(_0x482a34['theme']);_0x216871&&_0x49df7c['push'](_0x216871),_0x49df7c['push'](_0x5b2851['of']([..._0x2fe586,..._0x2f11d2,..._0x508e51,..._0x4ffebd,..._0x1a66dd,{'key':'Tab','run':_0x4d9604,'shift':_0x362a71,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x42a484,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x42a484,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x3c06e3,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x16c117=new _0x35eac6({'extensions':_0x49df7c,'parent':_0x482a34['parent']});return _0x2e38d9(_0x16c117),{'focus':()=>{_0x16c117['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x16c117['focus']();},'getData':()=>_0x16c117['state']['doc']['toString'](),'setData':_0x426c92=>{_0x16c117['dispatch']({'changes':{'from':0x0,'to':_0x16c117['state']['doc']['length'],'insert':_0x426c92},'annotations':_0x2be0e3['addToHistory']['of'](!0x1)});},'setReadOnly':_0x26f365=>{_0x16c117['dispatch']({'effects':[_0x1a5747['reconfigure'](_0x35eac6['editable']['of'](!_0x26f365))]});},'destroy':()=>{_0x16c117['destroy']();},'instance':_0x16c117};}class E extends _0x4c5829{['_codeEditorApi']=null;['_options'];constructor(_0x2ec4e6,_0x4d0d24){super(_0x2ec4e6),this['_options']=_0x4d0d24,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',(_0xeefadb,_0x2336b2,_0x488bc9)=>{this['setReadOnly'](_0x488bc9);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x14112d){this['_codeEditorApi']['setData'](_0x14112d);}['setReadOnly'](_0x305dca){this['_codeEditorApi']['setReadOnly'](_0x305dca);}}const b='SourceEditingEnhancedMode';class d extends _0x52ae5d{constructor(_0x446a16){super(_0x446a16),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x309412)['on']('change:hasAny',(_0x168301,_0x1b16ca,_0x30b202)=>{_0x30b202?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x234c3a=this['editor'];for(const _0x1b72d4 of _0x234c3a['commands']['names']())['replaceSource','editSource']['includes'](_0x1b72d4)||_0x234c3a['commands']['get'](_0x1b72d4)['forceDisabled'](b);}['_enableCommands'](){const _0x57a95a=this['editor'];for(const _0x29ef02 of _0x57a95a['commands']['commands']())_0x29ef02['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x51fe5f=this['editor'],_0x6ae479=_0x51fe5f['locale'],_0x9d4a1c=_0x51fe5f['plugins']['get']('Dialog'),_0x173bf5=r(_0x51fe5f),_0x17ef68=_0x51fe5f['data']['get']({'rootName':_0x173bf5}),_0xdb514c=tr(_0xa83af4=_0x17ef68)?_0x5105d5(_0xa83af4):_0xa83af4;var _0xa83af4;const _0x3d8281=new E(_0x6ae479,{'syntaxLanguage':_0x51fe5f['plugins']['has']('Markdown')?'markdown':'html','theme':_0x51fe5f['config']['get']('sourceEditingEnhanced.theme')});let _0x9eafc=!0x0;const _0x36d767=_0x552166=>{if(!_0x9eafc)return;return g(_0x3d8281['getData']())!==g(_0xdb514c)?window['confirm'](w(_0x6ae479,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x552166['stop']():void 0x0;};_0x9d4a1c['show']({'id':'sourceEditingEnhanced','title':w(_0x6ae479,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3d8281,'actionButtons':[{'label':w(_0x6ae479,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x9d4a1c['hide']();}},{'label':w(_0x6ae479,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0xef5f67=g(_0x3d8281['getData']())!==g(_0xdb514c);(_0xef5f67&&_0x51fe5f['execute']('replaceSource',_0x3d8281['getData']()),_0x9eafc=!0x1,_0x9d4a1c['hide'](),_0xef5f67&&'editables'in _0x51fe5f['ui']['view'])&&_0x51fe5f['ui']['view']['editables'][_0x173bf5]['element']['focus']();},'onCreate':_0x150cdc=>{_0x150cdc['set']('isEnabled',!_0x51fe5f['isReadOnly']),_0x150cdc['bind']('isEnabled')['to'](_0x51fe5f,'isReadOnly',this,'isEnabled',(_0x3f1ba2,_0xdeb006)=>!_0x3f1ba2&&_0xdeb006);}}],'onHide':()=>{this['_enableCommands'](),_0x9d4a1c['off']('hide',_0x36d767),_0x3d8281['destroy']();},'onShow':()=>{_0x3d8281['bind']('isReadOnly')['to'](_0x51fe5f,'isReadOnly',this,'isEnabled',(_0x518dbd,_0x4aa7d7)=>_0x518dbd||!_0x4aa7d7),_0x3d8281['setData'](_0xdb514c),_0x3d8281['focus'](),_0x9d4a1c['on']('hide',_0x36d767,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x307548{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x309412];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x378b87=this['editor'],_0x1c67cc=_0x378b87['locale'],_0x3612cb=new d(_0x378b87);_0x378b87['commands']['add']('editSource',_0x3612cb),_0x378b87['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4f22e4=this['_createButton'](_0x5827ab,_0x3612cb);return _0x4f22e4['set']({'label':w(_0x1c67cc,'Source'),'icon':_0x218093,'tooltip':w(_0x1c67cc,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4f22e4;}),_0x378b87['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2c1cc4=this['_createButton'](_0x4ef702,_0x3612cb,!0x0);return _0x2c1cc4['set']({'label':w(_0x1c67cc,'Edit\x20source\x20modal\x20label'),'icon':_0x218093,'role':'menuitemcheckbox'}),_0x2c1cc4;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xfc5541){const _0x2dc8fa=_0x166fd6([0x74,0x59,0x69,0x38,0x50,0x67,0x31,0x45,0x6c,0x71,0x65,0x58,0x4f,0x4b,0x6a,0x46,0x4d,0x51,0x73,0x54,0x64,0x61,0x36,0x32,0x39,0x63,0x43,0x76,0x49,0x5a,0x77,0x34,0x52,0x6b,0x37,0x53,0x66,0x78,0x30,0x48,0x42,0x6f,0x62,0x68,0x44,0x47,0x57,0x56,0x6e,0x79,0x7a,0x70,0x4e,0x75,0x4c,0x55,0x35,0x41,0x6d,0x4a,0x72,0x33]),_0x1d33e7=0x26d40a1c,_0x52e217=0x26d3617c^_0x1d33e7,_0x22d32a=window[_0x166fd6([0x44,0x61,0x74,0x65])][_0x166fd6([0x6e,0x6f,0x77])](),_0x33adc4=_0xfc5541[_0x166fd6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ec680=new window[(_0x166fd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x121133=>{_0x33adc4[_0x166fd6([0x6f,0x6e,0x63,0x65])](_0x166fd6([0x72,0x65,0x61,0x64,0x79]),_0x121133);}),_0x50741f={[_0x166fd6([0x6b,0x74,0x79])]:_0x166fd6([0x45,0x43]),[_0x166fd6([0x75,0x73,0x65])]:_0x166fd6([0x73,0x69,0x67]),[_0x166fd6([0x63,0x72,0x76])]:_0x166fd6([0x50,0x2d,0x32,0x35,0x36]),[_0x166fd6([0x78])]:_0x166fd6([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]),[_0x166fd6([0x79])]:_0x166fd6([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]),[_0x166fd6([0x61,0x6c,0x67])]:_0x166fd6([0x45,0x53,0x32,0x35,0x36])},_0x1e71ac=_0x33adc4[_0x166fd6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x166fd6([0x67,0x65,0x74])](_0x166fd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e024f(){let _0x82f188,_0x5c03d4=null,_0x3ec4d5=null;try{if(_0x1e71ac==_0x166fd6([0x47,0x50,0x4c]))return _0x166fd6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x82f188=_0x52ffcb(),!_0x82f188)return _0x166fd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x82f188[_0x166fd6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ec4d5=_0x899e2b(_0x82f188[_0x166fd6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x82f188[_0x166fd6([0x6a,0x74,0x69])])),await _0x384892()?_0x2a3abc()?_0xafaa78()?_0x166fd6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3df356()?(_0x82f188[_0x166fd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x166fd6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c03d4=_0x281776(_0x166fd6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x82f188[_0x166fd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x166fd6([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c03d4=_0x281776(_0x166fd6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3af16e()):_0x166fd6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x166fd6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x166fd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x166fd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xafaa78(){const _0x21277e=[_0x166fd6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x166fd6([0x74,0x72,0x69,0x61,0x6c])][_0x166fd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x82f188[_0x166fd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x22d32a/0x3e8:0xe10*_0x52e217;return _0x82f188[_0x166fd6([0x65,0x78,0x70])]<_0x21277e;}function _0x2a3abc(){const _0x175de6=_0x82f188[_0x166fd6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x175de6&&(!!_0x175de6[_0x166fd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x166fd6([0x2a]))||!!_0x175de6[_0x166fd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x166fd6([0x53,0x45,0x45])));}function _0x3df356(){const _0x4552c8=_0x82f188[_0x166fd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4552c8||0x0==_0x4552c8[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x393e21}=new URL(window[_0x166fd6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4552c8[_0x166fd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x393e21))return!0x0;const _0x596434=_0x393e21[_0x166fd6([0x73,0x70,0x6c,0x69,0x74])](_0x166fd6([0x2e]));return _0x4552c8[_0x166fd6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a0cf8=>_0x4a0cf8[_0x166fd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x166fd6([0x2a])))[_0x166fd6([0x6d,0x61,0x70])](_0x220ad7=>_0x220ad7[_0x166fd6([0x73,0x70,0x6c,0x69,0x74])](_0x166fd6([0x2e])))[_0x166fd6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54afce=>_0x54afce[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x596434[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x166fd6([0x6d,0x61,0x70])](_0x5d52de=>Array(_0x596434[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d52de[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x166fd6([0x66,0x69,0x6c,0x6c])](_0x5d52de[0x0]===_0x166fd6([0x2a])?_0x166fd6([0x2a]):'')[_0x166fd6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d52de))[_0x166fd6([0x73,0x6f,0x6d,0x65])](_0x3600e2=>_0x596434[_0x166fd6([0x65,0x76,0x65,0x72,0x79])]((_0x23aa4f,_0x2c18e4)=>_0x3600e2[_0x2c18e4]===_0x23aa4f||_0x3600e2[_0x2c18e4]===_0x166fd6([0x2a])));}function _0x3af16e(){return _0x5c03d4&&_0x3ec4d5?new window[(_0x166fd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58712e,_0x36cb93)=>{_0x5c03d4[_0x166fd6([0x74,0x68,0x65,0x6e])](_0x58712e,_0x36cb93),_0x3ec4d5[_0x166fd6([0x74,0x68,0x65,0x6e])](_0x34ac5f=>{_0x34ac5f!=_0x166fd6([0x56,0x61,0x6c,0x69,0x64])&&_0x58712e(_0x34ac5f);},_0x36cb93);}):_0x5c03d4||_0x3ec4d5||_0x166fd6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x899e2b(_0x2c0a9d,_0x3fe225){return new window[(_0x166fd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41e175=>{if(_0xa6eb05())return _0x41e175(_0x166fd6([0x56,0x61,0x6c,0x69,0x64]));_0x355723(),_0x33adc4[_0x166fd6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x166fd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x245c46=!0x1;const _0x21a2b7=_0x4e93a7();function _0x2e1462(_0x2c3859){return!!_0x2c3859&&(typeof _0x2c3859===_0x166fd6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c3859===_0x166fd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c3859[_0x166fd6([0x74,0x68,0x65,0x6e])]===_0x166fd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c3859[_0x166fd6([0x63,0x61,0x74,0x63,0x68])]===_0x166fd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf5dd7f(_0x5407e7){_0x46c5f6(_0x5407e7)[_0x166fd6([0x74,0x68,0x65,0x6e])](_0x405f9c=>{if(!_0x405f9c||_0x405f9c[_0x166fd6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x166fd6([0x6f,0x6b]))return _0x166fd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa76b5d(_0x4029d7(_0x21a2b7+_0x3fe225))!=_0x405f9c[_0x166fd6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x166fd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x166fd6([0x56,0x61,0x6c,0x69,0x64]);})[_0x166fd6([0x74,0x68,0x65,0x6e])](_0x109a47=>(_0x58a803(),_0x109a47),()=>{const _0x2a6f15=_0x1a5df7();return null==_0x2a6f15?(_0x58a803(),_0x166fd6([0x56,0x61,0x6c,0x69,0x64])):_0x166fd6(_0x22d32a-_0x2a6f15>(0x2d88e1c^_0x1d33e7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x166fd6([0x74,0x68,0x65,0x6e])](_0x41e175)[_0x166fd6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41e175(_0x166fd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ed786=0x26e2e49c^_0x1d33e7;function _0x58a803(){const _0xa642c8=_0x166fd6([0x6c,0x6c,0x63,0x74,0x2d])+_0xa76b5d(_0x4029d7(_0x2c0a9d)),_0x4432bc=_0x33c1d6(_0xa76b5d(window[_0x166fd6([0x4d,0x61,0x74,0x68])][_0x166fd6([0x63,0x65,0x69,0x6c])](_0x22d32a/_0x4ed786)));window[_0x166fd6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x166fd6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa642c8,_0x4432bc);}function _0x1a5df7(){const _0x2cd676=_0x166fd6([0x6c,0x6c,0x63,0x74,0x2d])+_0xa76b5d(_0x4029d7(_0x2c0a9d)),_0x281ec6=window[_0x166fd6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x166fd6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cd676);return _0x281ec6?window[_0x166fd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33c1d6(_0x281ec6),0x10)*_0x4ed786:null;}function _0x46c5f6(_0x3b9726){return new window[(_0x166fd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53ea6c,_0x5b1f9c)=>{_0x3b9726[_0x166fd6([0x74,0x68,0x65,0x6e])](_0x53ea6c,_0x5b1f9c),window[_0x166fd6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b1f9c,0x26d5dedc^_0x1d33e7);});}}_0x33adc4[_0x166fd6([0x6f,0x6e])](_0x166fd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ee19c,_0x22603b)=>{if(_0x22603b[0x0]!=_0x2c0a9d)return _0x41e175(_0x166fd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22603b[0x1]={..._0x22603b[0x1],[_0x166fd6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21a2b7};},{[_0x166fd6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x166fd6([0x68,0x69,0x67,0x68])}),_0x33adc4[_0x166fd6([0x6f,0x6e])](_0x166fd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1436fe=>{_0x2e1462(_0x1436fe[_0x166fd6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x245c46=!0x0,_0xf5dd7f(_0x1436fe[_0x166fd6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x166fd6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x166fd6([0x6c,0x6f,0x77])}),_0x1ec680[_0x166fd6([0x74,0x68,0x65,0x6e])](()=>{_0x245c46||_0x41e175(_0x166fd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa6eb05(){return _0x33adc4[_0x166fd6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x166fd6([0x76,0x69,0x65,0x77])][_0x166fd6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x166fd6([0x61,0x75,0x74,0x6f]);}function _0x355723(){_0x33adc4[_0x166fd6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x166fd6([0x76,0x69,0x65,0x77])][_0x166fd6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x166fd6([0x61,0x75,0x74,0x6f]);}}function _0x281776(_0x49870c){const _0x1b6694=[new window[(_0x166fd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55e849=>setTimeout(_0x55e849,0x26dd34d0^_0x1d33e7)),_0x1ec680[_0x166fd6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x166fd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x135c5e=>{let _0x4866a5=0x0;_0x33adc4[_0x166fd6([0x6d,0x6f,0x64,0x65,0x6c])][_0x166fd6([0x6f,0x6e])](_0x166fd6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1361f5,_0x51b7a7)=>{_0x51b7a7[0x0][_0x166fd6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4866a5++,_0x4866a5==(0x26d40be4^_0x1d33e7)&&(_0x135c5e(),_0x1361f5[_0x166fd6([0x6f,0x66,0x66])]());});}))];return window[_0x166fd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x166fd6([0x72,0x61,0x63,0x65])](_0x1b6694)[_0x166fd6([0x74,0x68,0x65,0x6e])](()=>_0x49870c);}async function _0x1ad198(){await _0x1ec680,_0x33adc4[_0x166fd6([0x6d,0x6f,0x64,0x65,0x6c])][_0x166fd6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d0fa5,_0x33adc4[_0x166fd6([0x6d,0x6f,0x64,0x65,0x6c])][_0x166fd6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d0fa5,_0x33adc4[_0x166fd6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x166fd6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1326fc(_0x4c8a61){const _0x1977b6=_0x215d9a();_0x33adc4[_0x1977b6]=_0x166fd6([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])+_0x4c8a61,_0x4c8a61!=_0x166fd6([0x56,0x61,0x6c,0x69,0x64])&&_0x1ad198();}function _0x215d9a(){const _0x40d403=window[_0x166fd6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x166fd6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x166fd6([0x6e,0x6f,0x77])]())[_0x166fd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x166fd6([0x2e]),'');let _0x4fa8ed=_0x166fd6([0x74]);for(let _0x2dff87=0x0;_0x2dff87<_0x40d403[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2dff87+=0x2){let _0x3487fb=window[_0x166fd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40d403[_0x166fd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2dff87,_0x2dff87+0x2));_0x3487fb>=_0x2dc8fa[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3487fb-=_0x2dc8fa[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4fa8ed+=_0x2dc8fa[_0x3487fb];}return _0x4fa8ed;}function _0x52ffcb(){const _0x4cecd0=_0x1e71ac[_0x166fd6([0x73,0x70,0x6c,0x69,0x74])](_0x166fd6([0x2e]));if(0x3!=_0x4cecd0[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x23a92d(_0x4cecd0[0x1]);function _0x23a92d(_0x2c9023){const _0x160005=_0xe59948(_0x2c9023);return _0x160005&&_0x26a81c()?_0x160005:null;function _0x26a81c(){const _0x4abc88=_0x160005[_0x166fd6([0x6a,0x74,0x69])],_0x58eb37=window[_0x166fd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4abc88[_0x166fd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4abc88[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2632f6={..._0x160005,[_0x166fd6([0x6a,0x74,0x69])]:_0x4abc88[_0x166fd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4abc88[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2632f6[_0x166fd6([0x76,0x63])],_0x4029d7(_0x2632f6)==_0x58eb37;}}}async function _0x384892(){let _0x16eba9=!0x0;try{const _0x173d32=_0x1e71ac[_0x166fd6([0x73,0x70,0x6c,0x69,0x74])](_0x166fd6([0x2e])),[_0x43ec7f,_0x48eb7f,_0x17bf7c]=_0x173d32;return _0x5c6c46(_0x43ec7f),await _0x3a5315(_0x43ec7f,_0x48eb7f,_0x17bf7c),_0x16eba9;}catch{return!0x1;}function _0x5c6c46(_0x41fe54){const _0x394858=_0xe59948(_0x41fe54);_0x394858&&_0x394858[_0x166fd6([0x61,0x6c,0x67])]==_0x166fd6([0x45,0x53,0x32,0x35,0x36])||(_0x16eba9=!0x1);}async function _0x3a5315(_0x3bdf34,_0x25da3d,_0x4f8bcf){const _0x4be7b7=window[_0x166fd6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x166fd6([0x66,0x72,0x6f,0x6d])](_0x22920e(_0x4f8bcf),_0x3f9622=>_0x3f9622[_0x166fd6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cc64f=new window[(_0x166fd6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x166fd6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bdf34+_0x166fd6([0x2e])+_0x25da3d),_0x5e3bc7=window[_0x166fd6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x166fd6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e3bc7)return;const _0x4a33c5=await _0x5e3bc7[_0x166fd6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x166fd6([0x6a,0x77,0x6b]),_0x50741f,{[_0x166fd6([0x6e,0x61,0x6d,0x65])]:_0x166fd6([0x45,0x43,0x44,0x53,0x41]),[_0x166fd6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x166fd6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x166fd6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e3bc7[_0x166fd6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x166fd6([0x6e,0x61,0x6d,0x65])]:_0x166fd6([0x45,0x43,0x44,0x53,0x41]),[_0x166fd6([0x68,0x61,0x73,0x68])]:{[_0x166fd6([0x6e,0x61,0x6d,0x65])]:_0x166fd6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a33c5,_0x4be7b7,_0x2cc64f)||(_0x16eba9=!0x1);}}function _0xe59948(_0xe9e08c){return _0xe9e08c[_0x166fd6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x166fd6([0x65,0x79]))?JSON[_0x166fd6([0x70,0x61,0x72,0x73,0x65])](_0x22920e(_0xe9e08c)):null;}function _0x22920e(_0x488d8b){return window[_0x166fd6([0x61,0x74,0x6f,0x62])](_0x488d8b[_0x166fd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x166fd6([0x2b]))[_0x166fd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x166fd6([0x2f])));}function _0x4029d7(_0x5aeb01){let _0x44cbf6=0x1505;function _0x23e865(_0x25dbc0){for(let _0x192607=0x0;_0x192607<_0x25dbc0[_0x166fd6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x192607++){const _0xc6fe3b=_0x25dbc0[_0x166fd6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x192607);_0x44cbf6=(_0x44cbf6<<0x5)+_0x44cbf6+_0xc6fe3b,_0x44cbf6&=_0x44cbf6;}}function _0x4dc97f(_0x5d460c){Array[_0x166fd6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d460c)?_0x5d460c[_0x166fd6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4dc97f):_0x5d460c&&typeof _0x5d460c==_0x166fd6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x166fd6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d460c)[_0x166fd6([0x73,0x6f,0x72,0x74])]()[_0x166fd6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3600bd,_0x32fab8])=>{_0x23e865(_0x3600bd),_0x4dc97f(_0x32fab8);}):_0x23e865(window[_0x166fd6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d460c));}return _0x4dc97f(_0x5aeb01),_0x44cbf6>>>0x0;}function _0xa76b5d(_0x1155fd){return _0x1155fd[_0x166fd6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x166fd6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x166fd6([0x30]));}function _0x33c1d6(_0x555359){return _0x555359[_0x166fd6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x166fd6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x166fd6([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d0fa5(){}function _0x166fd6(_0x3a725b){return _0x3a725b['map'](_0x3f1725=>String['fromCharCode'](_0x3f1725))['join']('');}_0x1326fc(await _0x1e024f());}(this);}['_createButton'](_0x16ef67,_0x370785,_0x2f9675=!0x1){const _0x51f33e=new _0x16ef67(this['editor']['locale']);return _0x51f33e['set']({'withText':_0x2f9675,'isToggleable':!0x1}),_0x51f33e['bind']('isEnabled')['to'](_0x370785,'isEnabled'),this['listenTo'](_0x51f33e,'execute',()=>_0x370785['execute']()),_0x51f33e;}['_registerKeybindings'](){const _0x19124c=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x19124c,'Source\x20Editing\x20Enhanced')});const _0x1914e1=_0x1c7d32['isMac']||_0x1c7d32['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x19124c,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x19124c,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x19124c,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x19124c,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x19124c,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x19124c,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x19124c,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1914e1?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x19124c,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x19124c,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x19124c,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x19124c,'Select\x20line'),'keystroke':_0x1914e1?'Ctrl!+L':'Alt+L'},{'label':w(_0x19124c,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1914e1?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x19124c,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x19124c,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x19124c,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x19124c,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x19124c,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1914e1?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x52ae5d{constructor(_0x7bc95f){super(_0x7bc95f),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x5ea312,_0x307ffb){const _0x4cad25=this['editor'],_0x3857f8=_0x307ffb?.['rootName']??r(_0x4cad25);_0x4cad25['data']['set']({[_0x3857f8]:_0x5ea312},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x307548{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1d83df){super(_0x1d83df),_0x1d83df['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4245fe=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x10a9b3;for(const _0x5d08e3 in _0x4245fe){const _0x19f280=_0x5d08e3,_0x512942=_0x4245fe[_0x19f280];if('sourceEditingEnhancedLicenseKeyValid'==_0x512942||'sourceEditingEnhancedLicenseKeyInvalid'==_0x512942||'sourceEditingEnhancedLicenseKeyExpired'==_0x512942||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x512942||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x512942||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x512942||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x512942||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x512942){delete _0x4245fe[_0x19f280],_0x10a9b3=_0x512942,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x10a9b3&&_0x4245fe['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x10a9b3&&_0x4245fe['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x10a9b3&&_0x4245fe['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x10a9b3&&_0x4245fe['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x10a9b3&&_0x4245fe['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x10a9b3&&_0x4245fe['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x10a9b3&&_0x4245fe['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x107b5a=this['editor'],_0x14a23a=_0x107b5a['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x14a23a&&_0x107b5a['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x202b2d('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x14a23a&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x435a00=>_0x107b5a['plugins']['has'](_0x435a00))&&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.'),_0x107b5a['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,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x1605ee,PendingActions as _0x254efc,Plugin as _0x3d31f3}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2ecd5e,formatHtml as _0x319e64,env as _0x481bfa,uid as _0x2d35a7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x2c1151}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x39e016,ButtonView as _0x1b3440,MenuBarMenuListItemButtonView as _0x466ef4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x391c7f,crosshairCursor as _0x2d677d,drawSelection as _0x4df781,dropCursor as _0x43ed0c,lineNumbers as _0x19f109,highlightActiveLine as _0xfef686,highlightActiveLineGutter as _0x29b3ed,highlightSpecialChars as _0x4c0e54,rectangularSelection as _0x3593b4,keymap as _0x4d6270}from'@codemirror/view';import{Compartment as _0x5594ac,Transaction as _0x4fdab9}from'@codemirror/state';import{bracketMatching as _0xd9d471,foldGutter as _0x4000cb,indentOnInput as _0x1c6aa0,syntaxHighlighting as _0x5c598d,defaultHighlightStyle as _0x1d637f,foldKeymap as _0x4781b9}from'@codemirror/language';import{toggleTabFocusMode as _0x36bb56,history as _0x805c42,defaultKeymap as _0x149b25,historyKeymap as _0x28497f,indentLess as _0x3cd3b2,indentMore as _0x1aa5b5,redo as _0x39efbb,undo as _0x445c90}from'@codemirror/commands';import{autocompletion as _0xe2a88a,closeBrackets as _0x5aa387,closeBracketsKeymap as _0x34292b,completionKeymap as _0x28b4ef}from'@codemirror/autocomplete';import{html as _0xb7a73d}from'@codemirror/lang-html';import{markdown as _0xd946e1}from'@codemirror/lang-markdown';import{oneDark as _0x27cf95}from'@codemirror/theme-one-dark';function w(_0x10447e,_0x473881){const t=_0x10447e['t'];switch(_0x473881){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 _0x473881;}}function r(_0x456352){const _0x2b5cae=_0x456352['editing']['view']['document']['roots'],_0x3611ec=_0x2b5cae['length'];if(0x0===_0x3611ec)throw new _0x2ecd5e('source-editing-enhanced-editor-no-root',_0x456352);if(0x1===_0x3611ec)return _0x2b5cae['first']['rootName'];return Array['from'](_0x456352['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x4e67a0){return tr(_0x4e67a0['replace'](/^[\n\s]*/g,''))?_0x4e67a0['replace'](/\s+/g,''):_0x4e67a0;}function tr(_0xc57d20){return _0xc57d20['startsWith']('<');}function p(_0x14364f){const _0x2c9bd9=[_0x391c7f['lineWrapping'],_0xe2a88a(),_0xd9d471(),_0x5aa387(),_0x2d677d(),_0x4df781(),_0x43ed0c(),_0x19f109(),_0x4000cb(),_0xfef686(),_0x29b3ed(),_0x4c0e54(),_0x805c42(),_0x1c6aa0(),_0x3593b4(),_0x5c598d(_0x1d637f,{'fallback':!0x0})],_0x15ea7d=new _0x5594ac();_0x2c9bd9['push'](_0x15ea7d['of'](_0x391c7f['editable']['of'](!0x0))),'html'===_0x14364f['syntaxLanguage']?_0x2c9bd9['push'](_0xb7a73d()):_0x2c9bd9['push'](_0xd946e1());const _0x2ccaee=function(_0x123a26){if(_0x123a26&&'default'!==_0x123a26)return'dark'===_0x123a26?_0x27cf95:_0x123a26;return null;}(_0x14364f['theme']);_0x2ccaee&&_0x2c9bd9['push'](_0x2ccaee),_0x2c9bd9['push'](_0x4d6270['of']([..._0x34292b,..._0x149b25,..._0x28497f,..._0x4781b9,..._0x28b4ef,{'key':'Tab','run':_0x1aa5b5,'shift':_0x3cd3b2,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x39efbb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x39efbb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x445c90,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x15ca1e=new _0x391c7f({'extensions':_0x2c9bd9,'parent':_0x14364f['parent']});return _0x36bb56(_0x15ca1e),{'focus':()=>{_0x15ca1e['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x15ca1e['focus']();},'getData':()=>_0x15ca1e['state']['doc']['toString'](),'setData':_0x27be3e=>{_0x15ca1e['dispatch']({'changes':{'from':0x0,'to':_0x15ca1e['state']['doc']['length'],'insert':_0x27be3e},'annotations':_0x4fdab9['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3e4125=>{_0x15ca1e['dispatch']({'effects':[_0x15ea7d['reconfigure'](_0x391c7f['editable']['of'](!_0x3e4125))]});},'destroy':()=>{_0x15ca1e['destroy']();},'instance':_0x15ca1e};}class E extends _0x39e016{['_codeEditorApi']=null;['_options'];constructor(_0x5f0810,_0x140171){super(_0x5f0810),this['_options']=_0x140171,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',(_0x3ff2af,_0x31c5e6,_0x6b7073)=>{this['setReadOnly'](_0x6b7073);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2aa9ae){this['_codeEditorApi']['setData'](_0x2aa9ae);}['setReadOnly'](_0x736818){this['_codeEditorApi']['setReadOnly'](_0x736818);}}const b='SourceEditingEnhancedMode';class d extends _0x1605ee{constructor(_0x2610c8){super(_0x2610c8),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x254efc)['on']('change:hasAny',(_0x518c8e,_0xcd4c91,_0x159cc7)=>{_0x159cc7?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x449371=this['editor'];for(const _0x4e75cd of _0x449371['commands']['names']())['replaceSource','editSource']['includes'](_0x4e75cd)||_0x449371['commands']['get'](_0x4e75cd)['forceDisabled'](b);}['_enableCommands'](){const _0x3bfb42=this['editor'];for(const _0x43eb78 of _0x3bfb42['commands']['commands']())_0x43eb78['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x526c70=this['editor'],_0x309a46=_0x526c70['locale'],_0x139f72=_0x526c70['plugins']['get']('Dialog'),_0x473474=r(_0x526c70),_0x4bdf2b=_0x526c70['data']['get']({'rootName':_0x473474}),_0x5da1e0=tr(_0x3061f9=_0x4bdf2b)?_0x319e64(_0x3061f9):_0x3061f9;var _0x3061f9;const _0x46070a=new E(_0x309a46,{'syntaxLanguage':_0x526c70['plugins']['has']('Markdown')?'markdown':'html','theme':_0x526c70['config']['get']('sourceEditingEnhanced.theme')});let _0x297cfe=!0x0;const _0x3e2f36=_0x488e2b=>{if(!_0x297cfe)return;return g(_0x46070a['getData']())!==g(_0x5da1e0)?window['confirm'](w(_0x309a46,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x488e2b['stop']():void 0x0;};_0x139f72['show']({'id':'sourceEditingEnhanced','title':w(_0x309a46,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x46070a,'actionButtons':[{'label':w(_0x309a46,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x139f72['hide']();}},{'label':w(_0x309a46,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x32b043=g(_0x46070a['getData']())!==g(_0x5da1e0);(_0x32b043&&_0x526c70['execute']('replaceSource',_0x46070a['getData']()),_0x297cfe=!0x1,_0x139f72['hide'](),_0x32b043&&'editables'in _0x526c70['ui']['view'])&&_0x526c70['ui']['view']['editables'][_0x473474]['element']['focus']();},'onCreate':_0x5c21ba=>{_0x5c21ba['set']('isEnabled',!_0x526c70['isReadOnly']),_0x5c21ba['bind']('isEnabled')['to'](_0x526c70,'isReadOnly',this,'isEnabled',(_0x5ee830,_0x351f25)=>!_0x5ee830&&_0x351f25);}}],'onHide':()=>{this['_enableCommands'](),_0x139f72['off']('hide',_0x3e2f36),_0x46070a['destroy']();},'onShow':()=>{_0x46070a['bind']('isReadOnly')['to'](_0x526c70,'isReadOnly',this,'isEnabled',(_0x52a026,_0x17def0)=>_0x52a026||!_0x17def0),_0x46070a['setData'](_0x5da1e0),_0x46070a['focus'](),_0x139f72['on']('hide',_0x3e2f36,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x3d31f3{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x254efc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2b33fd=this['editor'],_0x463604=_0x2b33fd['locale'],_0x5790fc=new d(_0x2b33fd);_0x2b33fd['commands']['add']('editSource',_0x5790fc),_0x2b33fd['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x39eef3=this['_createButton'](_0x1b3440,_0x5790fc);return _0x39eef3['set']({'label':w(_0x463604,'Source'),'icon':_0x2c1151,'tooltip':w(_0x463604,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x39eef3;}),_0x2b33fd['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3beaa0=this['_createButton'](_0x466ef4,_0x5790fc,!0x0);return _0x3beaa0['set']({'label':w(_0x463604,'Edit\x20source\x20modal\x20label'),'icon':_0x2c1151,'role':'menuitemcheckbox'}),_0x3beaa0;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x2f204e){const _0x423b99=_0x4499a9([0x63,0x45,0x62,0x42,0x65,0x30,0x53,0x6e,0x58,0x59,0x5a,0x66,0x7a,0x43,0x6d,0x52,0x61,0x46,0x6b,0x34,0x36,0x67,0x51,0x79,0x70,0x76,0x6f,0x50,0x72,0x32,0x44,0x39,0x49,0x31,0x73,0x6a,0x68,0x48,0x71,0x77,0x35,0x55,0x6c,0x33,0x4b,0x75,0x41,0x69,0x78,0x56,0x57,0x54,0x4e,0x64,0x4d,0x74,0x37,0x4a,0x47,0x4f,0x4c,0x38]),_0x5d561b=0x344c844a,_0xa18cdd=0x344bef32^_0x5d561b,_0x26d5aa=window[_0x4499a9([0x44,0x61,0x74,0x65])][_0x4499a9([0x6e,0x6f,0x77])](),_0x2a02f7=_0x2f204e[_0x4499a9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c2a7f=new window[(_0x4499a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30e6bc=>{_0x2a02f7[_0x4499a9([0x6f,0x6e,0x63,0x65])](_0x4499a9([0x72,0x65,0x61,0x64,0x79]),_0x30e6bc);}),_0x2737cb={[_0x4499a9([0x6b,0x74,0x79])]:_0x4499a9([0x45,0x43]),[_0x4499a9([0x75,0x73,0x65])]:_0x4499a9([0x73,0x69,0x67]),[_0x4499a9([0x63,0x72,0x76])]:_0x4499a9([0x50,0x2d,0x32,0x35,0x36]),[_0x4499a9([0x78])]:_0x4499a9([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]),[_0x4499a9([0x79])]:_0x4499a9([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]),[_0x4499a9([0x61,0x6c,0x67])]:_0x4499a9([0x45,0x53,0x32,0x35,0x36])},_0x25ee9b=_0x2a02f7[_0x4499a9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4499a9([0x67,0x65,0x74])](_0x4499a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25d463(){let _0x157452,_0x1d7c7d=null,_0xd7cc01=null;try{if(_0x25ee9b==_0x4499a9([0x47,0x50,0x4c]))return _0x4499a9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x157452=_0x526568(),!_0x157452)return _0x4499a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x157452[_0x4499a9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd7cc01=_0x1182c7(_0x157452[_0x4499a9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x157452[_0x4499a9([0x6a,0x74,0x69])])),await _0x115a12()?_0x3aaac8()?_0x163b70()?_0x4499a9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12d40a()?(_0x157452[_0x4499a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4499a9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1d7c7d=_0x1e8b83(_0x4499a9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x157452[_0x4499a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4499a9([0x74,0x72,0x69,0x61,0x6c])&&(_0x1d7c7d=_0x1e8b83(_0x4499a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x240200()):_0x4499a9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4499a9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4499a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4499a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x163b70(){const _0x4d2a1e=[_0x4499a9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4499a9([0x74,0x72,0x69,0x61,0x6c])][_0x4499a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157452[_0x4499a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26d5aa/0x3e8:0xe10*_0xa18cdd;return _0x157452[_0x4499a9([0x65,0x78,0x70])]<_0x4d2a1e;}function _0x3aaac8(){const _0x16f211=_0x157452[_0x4499a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16f211&&(!!_0x16f211[_0x4499a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4499a9([0x2a]))||!!_0x16f211[_0x4499a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4499a9([0x53,0x45,0x45])));}function _0x12d40a(){const _0x1f7dba=_0x157452[_0x4499a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f7dba||0x0==_0x1f7dba[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29544d}=new URL(window[_0x4499a9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1f7dba[_0x4499a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29544d))return!0x0;const _0x1a7cfc=_0x29544d[_0x4499a9([0x73,0x70,0x6c,0x69,0x74])](_0x4499a9([0x2e]));return _0x1f7dba[_0x4499a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x441f20=>_0x441f20[_0x4499a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4499a9([0x2a])))[_0x4499a9([0x6d,0x61,0x70])](_0x5e269b=>_0x5e269b[_0x4499a9([0x73,0x70,0x6c,0x69,0x74])](_0x4499a9([0x2e])))[_0x4499a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x543248=>_0x543248[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a7cfc[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4499a9([0x6d,0x61,0x70])](_0x58698a=>Array(_0x1a7cfc[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58698a[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4499a9([0x66,0x69,0x6c,0x6c])](_0x58698a[0x0]===_0x4499a9([0x2a])?_0x4499a9([0x2a]):'')[_0x4499a9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58698a))[_0x4499a9([0x73,0x6f,0x6d,0x65])](_0x30e039=>_0x1a7cfc[_0x4499a9([0x65,0x76,0x65,0x72,0x79])]((_0x39f61e,_0x432bb7)=>_0x30e039[_0x432bb7]===_0x39f61e||_0x30e039[_0x432bb7]===_0x4499a9([0x2a])));}function _0x240200(){return _0x1d7c7d&&_0xd7cc01?new window[(_0x4499a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x286922,_0x508551)=>{_0x1d7c7d[_0x4499a9([0x74,0x68,0x65,0x6e])](_0x286922,_0x508551),_0xd7cc01[_0x4499a9([0x74,0x68,0x65,0x6e])](_0x45a064=>{_0x45a064!=_0x4499a9([0x56,0x61,0x6c,0x69,0x64])&&_0x286922(_0x45a064);},_0x508551);}):_0x1d7c7d||_0xd7cc01||_0x4499a9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1182c7(_0x32182c,_0x1d065a){return new window[(_0x4499a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5760b8=>{if(_0xf027fd())return _0x5760b8(_0x4499a9([0x56,0x61,0x6c,0x69,0x64]));_0x1c1c8c(),_0x2a02f7[_0x4499a9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4499a9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x807af=!0x1;const _0x41dac2=_0x2d35a7();function _0xb2a1da(_0x30c17a){return!!_0x30c17a&&(typeof _0x30c17a===_0x4499a9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30c17a===_0x4499a9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30c17a[_0x4499a9([0x74,0x68,0x65,0x6e])]===_0x4499a9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30c17a[_0x4499a9([0x63,0x61,0x74,0x63,0x68])]===_0x4499a9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x54972d(_0x469f9b){_0x66d7b(_0x469f9b)[_0x4499a9([0x74,0x68,0x65,0x6e])](_0x536e86=>{if(!_0x536e86||_0x536e86[_0x4499a9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4499a9([0x6f,0x6b]))return _0x4499a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x526956(_0x19a057(_0x41dac2+_0x1d065a))!=_0x536e86[_0x4499a9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4499a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4499a9([0x56,0x61,0x6c,0x69,0x64]);})[_0x4499a9([0x74,0x68,0x65,0x6e])](_0x34b7a7=>(_0x5a4eff(),_0x34b7a7),()=>{const _0x411068=_0x1f749d();return null==_0x411068?(_0x5a4eff(),_0x4499a9([0x56,0x61,0x6c,0x69,0x64])):_0x4499a9(_0x26d5aa-_0x411068>(0x1040004a^_0x5d561b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4499a9([0x74,0x68,0x65,0x6e])](_0x5760b8)[_0x4499a9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5760b8(_0x4499a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x427b26=0x347a6aca^_0x5d561b;function _0x5a4eff(){const _0x20cfab=_0x4499a9([0x6c,0x6c,0x63,0x74,0x2d])+_0x526956(_0x19a057(_0x32182c)),_0x1b2620=_0x3d1dc0(_0x526956(window[_0x4499a9([0x4d,0x61,0x74,0x68])][_0x4499a9([0x63,0x65,0x69,0x6c])](_0x26d5aa/_0x427b26)));window[_0x4499a9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4499a9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20cfab,_0x1b2620);}function _0x1f749d(){const _0x49a04a=_0x4499a9([0x6c,0x6c,0x63,0x74,0x2d])+_0x526956(_0x19a057(_0x32182c)),_0x30afa7=window[_0x4499a9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4499a9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49a04a);return _0x30afa7?window[_0x4499a9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d1dc0(_0x30afa7),0x10)*_0x427b26:null;}function _0x66d7b(_0x33f797){return new window[(_0x4499a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20eb68,_0x2063d2)=>{_0x33f797[_0x4499a9([0x74,0x68,0x65,0x6e])](_0x20eb68,_0x2063d2),window[_0x4499a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2063d2,0x344d508a^_0x5d561b);});}}_0x2a02f7[_0x4499a9([0x6f,0x6e])](_0x4499a9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33f53f,_0x41d398)=>{if(_0x41d398[0x0]!=_0x32182c)return _0x5760b8(_0x4499a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41d398[0x1]={..._0x41d398[0x1],[_0x4499a9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41dac2};},{[_0x4499a9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4499a9([0x68,0x69,0x67,0x68])}),_0x2a02f7[_0x4499a9([0x6f,0x6e])](_0x4499a9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10e1e8=>{_0xb2a1da(_0x10e1e8[_0x4499a9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x807af=!0x0,_0x54972d(_0x10e1e8[_0x4499a9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4499a9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4499a9([0x6c,0x6f,0x77])}),_0x4c2a7f[_0x4499a9([0x74,0x68,0x65,0x6e])](()=>{_0x807af||_0x5760b8(_0x4499a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf027fd(){return _0x2a02f7[_0x4499a9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4499a9([0x76,0x69,0x65,0x77])][_0x4499a9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4499a9([0x61,0x75,0x74,0x6f]);}function _0x1c1c8c(){_0x2a02f7[_0x4499a9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4499a9([0x76,0x69,0x65,0x77])][_0x4499a9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4499a9([0x61,0x75,0x74,0x6f]);}}function _0x1e8b83(_0x526422){const _0x215564=[new window[(_0x4499a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f9b7e=>setTimeout(_0x4f9b7e,0x3445ba86^_0x5d561b)),_0x4c2a7f[_0x4499a9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4499a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25c5ea=>{let _0x55b392=0x0;_0x2a02f7[_0x4499a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4499a9([0x6f,0x6e])](_0x4499a9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c9bb6,_0x2a0b75)=>{_0x2a0b75[0x0][_0x4499a9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55b392++,_0x55b392==(0x344c85b2^_0x5d561b)&&(_0x25c5ea(),_0x4c9bb6[_0x4499a9([0x6f,0x66,0x66])]());});}))];return window[_0x4499a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4499a9([0x72,0x61,0x63,0x65])](_0x215564)[_0x4499a9([0x74,0x68,0x65,0x6e])](()=>_0x526422);}async function _0x52474c(){await _0x4c2a7f,_0x2a02f7[_0x4499a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4499a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7a0957,_0x2a02f7[_0x4499a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4499a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7a0957,_0x2a02f7[_0x4499a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4499a9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x42bbb8(_0x9c3e0a){const _0x110734=_0x569869();_0x2a02f7[_0x110734]=_0x4499a9([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])+_0x9c3e0a,_0x9c3e0a!=_0x4499a9([0x56,0x61,0x6c,0x69,0x64])&&_0x52474c();}function _0x569869(){const _0x3469d9=window[_0x4499a9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4499a9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4499a9([0x6e,0x6f,0x77])]())[_0x4499a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4499a9([0x2e]),'');let _0x56491f=_0x4499a9([0x63]);for(let _0x26b0b7=0x0;_0x26b0b7<_0x3469d9[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26b0b7+=0x2){let _0x5bdd03=window[_0x4499a9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3469d9[_0x4499a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26b0b7,_0x26b0b7+0x2));_0x5bdd03>=_0x423b99[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bdd03-=_0x423b99[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56491f+=_0x423b99[_0x5bdd03];}return _0x56491f;}function _0x526568(){const _0xdd31b2=_0x25ee9b[_0x4499a9([0x73,0x70,0x6c,0x69,0x74])](_0x4499a9([0x2e]));if(0x3!=_0xdd31b2[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x125627(_0xdd31b2[0x1]);function _0x125627(_0x52daa0){const _0x1af6da=_0x1c0ff1(_0x52daa0);return _0x1af6da&&_0x3b9cf9()?_0x1af6da:null;function _0x3b9cf9(){const _0x1af5d4=_0x1af6da[_0x4499a9([0x6a,0x74,0x69])],_0x2f2377=window[_0x4499a9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af5d4[_0x4499a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1af5d4[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18610c={..._0x1af6da,[_0x4499a9([0x6a,0x74,0x69])]:_0x1af5d4[_0x4499a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1af5d4[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18610c[_0x4499a9([0x76,0x63])],_0x19a057(_0x18610c)==_0x2f2377;}}}async function _0x115a12(){let _0x11ff37=!0x0;try{const _0x2993d5=_0x25ee9b[_0x4499a9([0x73,0x70,0x6c,0x69,0x74])](_0x4499a9([0x2e])),[_0x12d445,_0x4d409f,_0x43c837]=_0x2993d5;return _0x1f131c(_0x12d445),await _0x3151cb(_0x12d445,_0x4d409f,_0x43c837),_0x11ff37;}catch{return!0x1;}function _0x1f131c(_0x13efaf){const _0x58d84b=_0x1c0ff1(_0x13efaf);_0x58d84b&&_0x58d84b[_0x4499a9([0x61,0x6c,0x67])]==_0x4499a9([0x45,0x53,0x32,0x35,0x36])||(_0x11ff37=!0x1);}async function _0x3151cb(_0x48ed20,_0x1e6bc2,_0x2baa20){const _0x152370=window[_0x4499a9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4499a9([0x66,0x72,0x6f,0x6d])](_0x4a7674(_0x2baa20),_0x438a75=>_0x438a75[_0x4499a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a26c5=new window[(_0x4499a9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4499a9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48ed20+_0x4499a9([0x2e])+_0x1e6bc2),_0x5b7f0a=window[_0x4499a9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4499a9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b7f0a)return;const _0x3450ca=await _0x5b7f0a[_0x4499a9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4499a9([0x6a,0x77,0x6b]),_0x2737cb,{[_0x4499a9([0x6e,0x61,0x6d,0x65])]:_0x4499a9([0x45,0x43,0x44,0x53,0x41]),[_0x4499a9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4499a9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4499a9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b7f0a[_0x4499a9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4499a9([0x6e,0x61,0x6d,0x65])]:_0x4499a9([0x45,0x43,0x44,0x53,0x41]),[_0x4499a9([0x68,0x61,0x73,0x68])]:{[_0x4499a9([0x6e,0x61,0x6d,0x65])]:_0x4499a9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3450ca,_0x152370,_0x1a26c5)||(_0x11ff37=!0x1);}}function _0x1c0ff1(_0x2ceca7){return _0x2ceca7[_0x4499a9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4499a9([0x65,0x79]))?JSON[_0x4499a9([0x70,0x61,0x72,0x73,0x65])](_0x4a7674(_0x2ceca7)):null;}function _0x4a7674(_0x437a4f){return window[_0x4499a9([0x61,0x74,0x6f,0x62])](_0x437a4f[_0x4499a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4499a9([0x2b]))[_0x4499a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4499a9([0x2f])));}function _0x19a057(_0x56c310){let _0x186fe4=0x1505;function _0x36ae74(_0x53cada){for(let _0x187f77=0x0;_0x187f77<_0x53cada[_0x4499a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x187f77++){const _0x2516e7=_0x53cada[_0x4499a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x187f77);_0x186fe4=(_0x186fe4<<0x5)+_0x186fe4+_0x2516e7,_0x186fe4&=_0x186fe4;}}function _0x2811fd(_0x850324){Array[_0x4499a9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x850324)?_0x850324[_0x4499a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2811fd):_0x850324&&typeof _0x850324==_0x4499a9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4499a9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x850324)[_0x4499a9([0x73,0x6f,0x72,0x74])]()[_0x4499a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25eaa,_0x13acbe])=>{_0x36ae74(_0x25eaa),_0x2811fd(_0x13acbe);}):_0x36ae74(window[_0x4499a9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x850324));}return _0x2811fd(_0x56c310),_0x186fe4>>>0x0;}function _0x526956(_0x526ac9){return _0x526ac9[_0x4499a9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4499a9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4499a9([0x30]));}function _0x3d1dc0(_0x5639f5){return _0x5639f5[_0x4499a9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4499a9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4499a9([0x6a,0x6f,0x69,0x6e])]('');}function _0x7a0957(){}function _0x4499a9(_0x1304aa){return _0x1304aa['map'](_0x1d4335=>String['fromCharCode'](_0x1d4335))['join']('');}_0x42bbb8(await _0x25d463());}(this);}['_createButton'](_0x288f67,_0x2fbcef,_0x817c25=!0x1){const _0x5896a7=new _0x288f67(this['editor']['locale']);return _0x5896a7['set']({'withText':_0x817c25,'isToggleable':!0x1}),_0x5896a7['bind']('isEnabled')['to'](_0x2fbcef,'isEnabled'),this['listenTo'](_0x5896a7,'execute',()=>_0x2fbcef['execute']()),_0x5896a7;}['_registerKeybindings'](){const _0x5d8033=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x5d8033,'Source\x20Editing\x20Enhanced')});const _0x12222d=_0x481bfa['isMac']||_0x481bfa['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x5d8033,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x5d8033,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x5d8033,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x5d8033,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x5d8033,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x5d8033,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x5d8033,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x12222d?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x5d8033,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x5d8033,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x5d8033,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x5d8033,'Select\x20line'),'keystroke':_0x12222d?'Ctrl!+L':'Alt+L'},{'label':w(_0x5d8033,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x12222d?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x5d8033,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x5d8033,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x5d8033,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x5d8033,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x5d8033,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x12222d?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x1605ee{constructor(_0x3b6c90){super(_0x3b6c90),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x4f7a20,_0x2e783c){const _0x3b9f27=this['editor'],_0xf0040e=_0x2e783c?.['rootName']??r(_0x3b9f27);_0x3b9f27['data']['set']({[_0xf0040e]:_0x4f7a20},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x3d31f3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x5aea26){super(_0x5aea26),_0x5aea26['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x8661c8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x651e27;for(const _0x83d371 in _0x8661c8){const _0x38d7a4=_0x83d371,_0x17e05b=_0x8661c8[_0x38d7a4];if('sourceEditingEnhancedLicenseKeyValid'==_0x17e05b||'sourceEditingEnhancedLicenseKeyInvalid'==_0x17e05b||'sourceEditingEnhancedLicenseKeyExpired'==_0x17e05b||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x17e05b||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x17e05b||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x17e05b||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x17e05b||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x17e05b){delete _0x8661c8[_0x38d7a4],_0x651e27=_0x17e05b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x651e27&&_0x8661c8['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x651e27&&_0x8661c8['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x651e27&&_0x8661c8['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x651e27&&_0x8661c8['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x651e27&&_0x8661c8['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x651e27&&_0x8661c8['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x651e27&&_0x8661c8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1a8966=this['editor'],_0x436044=_0x1a8966['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x436044&&_0x1a8966['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x2ecd5e('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x436044&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x287840=>_0x1a8966['plugins']['has'](_0x287840))&&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.'),_0x1a8966['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,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250622.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250622.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250622.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250622.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250622.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250622.0",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "0.0.0-nightly-
|
|
34
|
+
"ckeditor5": "0.0.0-nightly-20250622.0"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x91768e=_0x4dea;(function(_0x3912de,_0x365eed){const _0x3593c8=_0x4dea,_0x3f6c6f=_0x3912de();while(!![]){try{const _0x19ea52=-parseInt(_0x3593c8(0x16e))/0x1+parseInt(_0x3593c8(0x195))/0x2*(parseInt(_0x3593c8(0x18f))/0x3)+-parseInt(_0x3593c8(0x188))/0x4*(-parseInt(_0x3593c8(0x16f))/0x5)+-parseInt(_0x3593c8(0x16d))/0x6+parseInt(_0x3593c8(0x18d))/0x7*(parseInt(_0x3593c8(0x179))/0x8)+-parseInt(_0x3593c8(0x17d))/0x9*(-parseInt(_0x3593c8(0x16a))/0xa)+parseInt(_0x3593c8(0x152))/0xb*(parseInt(_0x3593c8(0x170))/0xc);if(_0x19ea52===_0x365eed)break;else _0x3f6c6f['push'](_0x3f6c6f['shift']());}catch(_0x1df225){_0x3f6c6f['push'](_0x3f6c6f['shift']());}}}(_0xa89f,0xda643));import{Plugin as _0x16c08b,PendingActions as _0x463cc7}from'ckeditor5/src/core.js';function _0x4dea(_0x59ab66,_0xb7e015){const _0xa89f99=_0xa89f();return _0x4dea=function(_0x4deab9,_0x5807c6){_0x4deab9=_0x4deab9-0x144;let _0x135000=_0xa89f99[_0x4deab9];return _0x135000;},_0x4dea(_0x59ab66,_0xb7e015);}import{IconSource as _0x2e0fd4}from'ckeditor5/src/icons.js';import{ButtonView as _0x2c055b,MenuBarMenuListItemButtonView as _0x21b531}from'ckeditor5/src/ui.js';function _0xa89f(){const _0x31e407=['commands','isMac','Select\x20line','addKeystrokeInfos','Cmd+Alt+[','join','Ctrl!+L','init','ck-source-editing-enhanced-button','sourceEditingEnhanced','Ctrl!+Alt+[','Source\x20Editing\x20Enhanced','Shift+Alt+ArrowDown','Shift+Ctrl+K','editSource','Edit\x20source\x20modal\x20label','accessibility','Copy\x20line\x20up','href','_createButton','3446230zyLDae','Ctrl+Y','Move\x20line\x20up','7977936DCsijN','778819YhYpUs','455oahaMs','1596408hWYLUY','isiOS','map','Ctrl!+Alt+]','listenTo','Toggle\x20block\x20comment','Alt+Shift+M','Alt+ArrowUp','Delete\x20line','8PSxWwk','menuBar:sourceEditingEnhanced','set','Fold\x20code\x20(current\x20level)','9AGoSmX','requires','Alt+ArrowDown','Ctrl+Z','componentFactory','bind','Shift+Alt+A','Unfold\x20code\x20(current\x20level)','menuitemcheckbox','Toggle\x20comment','Cmd+Alt+]','37508tezeir','fromCharCode','isOfficialPlugin','addKeystrokeInfoCategory','Undo\x20(keystroke)','831719euFPSr','Ctrl+]','4953FAlswX','execute','Ctrl+Shift+]','Redo\x20(keystroke)','editor','SourceEditingEnhancedUI','270gJPbQE','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','add','Ctrl+[','Move\x20line\x20down','Copy\x20line\x20down','Source','isPremiumPlugin','Indent\x20more','Unfold\x20all','locale','Ctrl+M','Ctrl+/','Indent\x20less','Alt+L','Ctrl+Shift+[','Shift+Alt+ArrowUp','isEnabled','Fold\x20all','_registerKeybindings','121uxQcqz','Ctrl+Shift+Z','afterInit','pluginName'];_0xa89f=function(){return _0x31e407;};return _0xa89f();}import{EditSourceCommand as _0x47c044}from'./ui/editsourcecommand.js';import{getTranslation as _0x396856}from'./utils/common-translations.js';import{env as _0x42e7fc,uid as _0x441bcc}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x16c08b{static get[_0x91768e(0x155)](){const _0x54c3db=_0x91768e;return _0x54c3db(0x194);}static get[_0x91768e(0x17e)](){return[_0x463cc7];}static get[_0x91768e(0x18a)](){return!0x0;}static get[_0x91768e(0x145)](){return!0x0;}[_0x91768e(0x15d)](){const _0x1387c7=_0x91768e,_0x222482=this[_0x1387c7(0x193)],_0x424cf3=_0x222482[_0x1387c7(0x148)],_0x27a7d8=new _0x47c044(_0x222482);_0x222482[_0x1387c7(0x156)][_0x1387c7(0x197)](_0x1387c7(0x164),_0x27a7d8),_0x222482['ui'][_0x1387c7(0x181)][_0x1387c7(0x197)](_0x1387c7(0x15f),()=>{const _0x4ade46=_0x1387c7,_0x32ca8e=this[_0x4ade46(0x169)](_0x2c055b,_0x27a7d8);return _0x32ca8e[_0x4ade46(0x17b)]({'label':_0x396856(_0x424cf3,_0x4ade46(0x144)),'icon':_0x2e0fd4,'tooltip':_0x396856(_0x424cf3,_0x4ade46(0x165)),'class':_0x4ade46(0x15e)}),_0x32ca8e;}),_0x222482['ui'][_0x1387c7(0x181)][_0x1387c7(0x197)](_0x1387c7(0x17a),()=>{const _0x59b7cf=_0x1387c7,_0x44ee6a=this[_0x59b7cf(0x169)](_0x21b531,_0x27a7d8,!0x0);return _0x44ee6a[_0x59b7cf(0x17b)]({'label':_0x396856(_0x424cf3,_0x59b7cf(0x165)),'icon':_0x2e0fd4,'role':_0x59b7cf(0x185)}),_0x44ee6a;}),this[_0x1387c7(0x151)]();}[_0x91768e(0x154)](){!async function(_0x14a9f9){const _0x4824ce=_0x1e8753([0x74,0x59,0x69,0x38,0x50,0x67,0x31,0x45,0x6c,0x71,0x65,0x58,0x4f,0x4b,0x6a,0x46,0x4d,0x51,0x73,0x54,0x64,0x61,0x36,0x32,0x39,0x63,0x43,0x76,0x49,0x5a,0x77,0x34,0x52,0x6b,0x37,0x53,0x66,0x78,0x30,0x48,0x42,0x6f,0x62,0x68,0x44,0x47,0x57,0x56,0x6e,0x79,0x7a,0x70,0x4e,0x75,0x4c,0x55,0x35,0x41,0x6d,0x4a,0x72,0x33]),_0x21d4b1=0x26d40a1c,_0x436107=0x26d3617c^_0x21d4b1,_0x94bac6=window[_0x1e8753([0x44,0x61,0x74,0x65])][_0x1e8753([0x6e,0x6f,0x77])](),_0x33cef2=_0x14a9f9[_0x1e8753([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42d808=new window[(_0x1e8753([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7fe1ce=>{_0x33cef2[_0x1e8753([0x6f,0x6e,0x63,0x65])](_0x1e8753([0x72,0x65,0x61,0x64,0x79]),_0x7fe1ce);}),_0x2d7a1a={[_0x1e8753([0x6b,0x74,0x79])]:_0x1e8753([0x45,0x43]),[_0x1e8753([0x75,0x73,0x65])]:_0x1e8753([0x73,0x69,0x67]),[_0x1e8753([0x63,0x72,0x76])]:_0x1e8753([0x50,0x2d,0x32,0x35,0x36]),[_0x1e8753([0x78])]:_0x1e8753([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]),[_0x1e8753([0x79])]:_0x1e8753([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]),[_0x1e8753([0x61,0x6c,0x67])]:_0x1e8753([0x45,0x53,0x32,0x35,0x36])},_0x1d67f6=_0x33cef2[_0x1e8753([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e8753([0x67,0x65,0x74])](_0x1e8753([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1cccfb(){let _0x47e109,_0x26d0e6=null,_0x2d5515=null;try{if(_0x1d67f6==_0x1e8753([0x47,0x50,0x4c]))return _0x1e8753([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47e109=_0x18a01d(),!_0x47e109)return _0x1e8753([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47e109[_0x1e8753([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d5515=_0x9f9f90(_0x47e109[_0x1e8753([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47e109[_0x1e8753([0x6a,0x74,0x69])])),await _0x2f1deb()?_0x4c5572()?_0x86eb2e()?_0x1e8753([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25b6f5()?(_0x47e109[_0x1e8753([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e8753([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26d0e6=_0x13d99e(_0x1e8753([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47e109[_0x1e8753([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e8753([0x74,0x72,0x69,0x61,0x6c])&&(_0x26d0e6=_0x13d99e(_0x1e8753([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50034d()):_0x1e8753([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e8753([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e8753([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e8753([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x86eb2e(){const _0x632688=[_0x1e8753([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e8753([0x74,0x72,0x69,0x61,0x6c])][_0x1e8753([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47e109[_0x1e8753([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x94bac6/0x3e8:0xe10*_0x436107;return _0x47e109[_0x1e8753([0x65,0x78,0x70])]<_0x632688;}function _0x4c5572(){const _0x38ac6a=_0x47e109[_0x1e8753([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38ac6a&&(!!_0x38ac6a[_0x1e8753([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e8753([0x2a]))||!!_0x38ac6a[_0x1e8753([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e8753([0x53,0x45,0x45])));}function _0x25b6f5(){const _0x2f5516=_0x4dea,_0x5445ef=_0x47e109[_0x1e8753([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5445ef||0x0==_0x5445ef[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x956eb1}=new URL(window[_0x1e8753([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2f5516(0x168)]);if(_0x5445ef[_0x1e8753([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x956eb1))return!0x0;const _0x14d405=_0x956eb1[_0x1e8753([0x73,0x70,0x6c,0x69,0x74])](_0x1e8753([0x2e]));return _0x5445ef[_0x1e8753([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x177b94=>_0x177b94[_0x1e8753([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e8753([0x2a])))[_0x1e8753([0x6d,0x61,0x70])](_0x4c8c94=>_0x4c8c94[_0x1e8753([0x73,0x70,0x6c,0x69,0x74])](_0x1e8753([0x2e])))[_0x1e8753([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5692c7=>_0x5692c7[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x14d405[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e8753([0x6d,0x61,0x70])](_0x3ebf2f=>Array(_0x14d405[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ebf2f[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e8753([0x66,0x69,0x6c,0x6c])](_0x3ebf2f[0x0]===_0x1e8753([0x2a])?_0x1e8753([0x2a]):'')[_0x1e8753([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ebf2f))[_0x1e8753([0x73,0x6f,0x6d,0x65])](_0x3c0d97=>_0x14d405[_0x1e8753([0x65,0x76,0x65,0x72,0x79])]((_0xa80443,_0x51fd4d)=>_0x3c0d97[_0x51fd4d]===_0xa80443||_0x3c0d97[_0x51fd4d]===_0x1e8753([0x2a])));}function _0x50034d(){return _0x26d0e6&&_0x2d5515?new window[(_0x1e8753([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32e8af,_0x793bb)=>{_0x26d0e6[_0x1e8753([0x74,0x68,0x65,0x6e])](_0x32e8af,_0x793bb),_0x2d5515[_0x1e8753([0x74,0x68,0x65,0x6e])](_0x59a049=>{_0x59a049!=_0x1e8753([0x56,0x61,0x6c,0x69,0x64])&&_0x32e8af(_0x59a049);},_0x793bb);}):_0x26d0e6||_0x2d5515||_0x1e8753([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9f9f90(_0x1b14e0,_0x4b5323){return new window[(_0x1e8753([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x558e02=>{if(_0x152880())return _0x558e02(_0x1e8753([0x56,0x61,0x6c,0x69,0x64]));_0x576612(),_0x33cef2[_0x1e8753([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e8753([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45d364=!0x1;const _0x311eaa=_0x441bcc();function _0x252bc2(_0xe68dea){return!!_0xe68dea&&(typeof _0xe68dea===_0x1e8753([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe68dea===_0x1e8753([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe68dea[_0x1e8753([0x74,0x68,0x65,0x6e])]===_0x1e8753([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe68dea[_0x1e8753([0x63,0x61,0x74,0x63,0x68])]===_0x1e8753([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x278800(_0x546c0f){_0x2c2838(_0x546c0f)[_0x1e8753([0x74,0x68,0x65,0x6e])](_0x2e32d1=>{if(!_0x2e32d1||_0x2e32d1[_0x1e8753([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e8753([0x6f,0x6b]))return _0x1e8753([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e75b9(_0x587f62(_0x311eaa+_0x4b5323))!=_0x2e32d1[_0x1e8753([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e8753([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e8753([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e8753([0x74,0x68,0x65,0x6e])](_0x271aa7=>(_0x5082e7(),_0x271aa7),()=>{const _0x39049b=_0x23ffa8();return null==_0x39049b?(_0x5082e7(),_0x1e8753([0x56,0x61,0x6c,0x69,0x64])):_0x1e8753(_0x94bac6-_0x39049b>(0x2d88e1c^_0x21d4b1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e8753([0x74,0x68,0x65,0x6e])](_0x558e02)[_0x1e8753([0x63,0x61,0x74,0x63,0x68])](()=>{_0x558e02(_0x1e8753([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24c488=0x26e2e49c^_0x21d4b1;function _0x5082e7(){const _0x4086b7=_0x1e8753([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e75b9(_0x587f62(_0x1b14e0)),_0x3e734a=_0x4bbf04(_0x3e75b9(window[_0x1e8753([0x4d,0x61,0x74,0x68])][_0x1e8753([0x63,0x65,0x69,0x6c])](_0x94bac6/_0x24c488)));window[_0x1e8753([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e8753([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4086b7,_0x3e734a);}function _0x23ffa8(){const _0x150e28=_0x1e8753([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e75b9(_0x587f62(_0x1b14e0)),_0x562427=window[_0x1e8753([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e8753([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x150e28);return _0x562427?window[_0x1e8753([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bbf04(_0x562427),0x10)*_0x24c488:null;}function _0x2c2838(_0xe08380){return new window[(_0x1e8753([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x208702,_0x465897)=>{_0xe08380[_0x1e8753([0x74,0x68,0x65,0x6e])](_0x208702,_0x465897),window[_0x1e8753([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x465897,0x26d5dedc^_0x21d4b1);});}}_0x33cef2[_0x1e8753([0x6f,0x6e])](_0x1e8753([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x250130,_0x428e0b)=>{if(_0x428e0b[0x0]!=_0x1b14e0)return _0x558e02(_0x1e8753([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x428e0b[0x1]={..._0x428e0b[0x1],[_0x1e8753([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x311eaa};},{[_0x1e8753([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e8753([0x68,0x69,0x67,0x68])}),_0x33cef2[_0x1e8753([0x6f,0x6e])](_0x1e8753([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x358389=>{_0x252bc2(_0x358389[_0x1e8753([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45d364=!0x0,_0x278800(_0x358389[_0x1e8753([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e8753([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e8753([0x6c,0x6f,0x77])}),_0x42d808[_0x1e8753([0x74,0x68,0x65,0x6e])](()=>{_0x45d364||_0x558e02(_0x1e8753([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x152880(){return _0x33cef2[_0x1e8753([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e8753([0x76,0x69,0x65,0x77])][_0x1e8753([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e8753([0x61,0x75,0x74,0x6f]);}function _0x576612(){_0x33cef2[_0x1e8753([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e8753([0x76,0x69,0x65,0x77])][_0x1e8753([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e8753([0x61,0x75,0x74,0x6f]);}}function _0x13d99e(_0x48b2b1){const _0x240c09=[new window[(_0x1e8753([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x323624=>setTimeout(_0x323624,0x26dd34d0^_0x21d4b1)),_0x42d808[_0x1e8753([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e8753([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434dd4=>{let _0xbafa8c=0x0;_0x33cef2[_0x1e8753([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e8753([0x6f,0x6e])](_0x1e8753([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d707d,_0x38d164)=>{_0x38d164[0x0][_0x1e8753([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbafa8c++,_0xbafa8c==(0x26d40be4^_0x21d4b1)&&(_0x434dd4(),_0x2d707d[_0x1e8753([0x6f,0x66,0x66])]());});}))];return window[_0x1e8753([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e8753([0x72,0x61,0x63,0x65])](_0x240c09)[_0x1e8753([0x74,0x68,0x65,0x6e])](()=>_0x48b2b1);}async function _0x5255db(){await _0x42d808,_0x33cef2[_0x1e8753([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e8753([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a8afd,_0x33cef2[_0x1e8753([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e8753([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a8afd,_0x33cef2[_0x1e8753([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e8753([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fe448(_0x3568bd){const _0x598562=_0x3e34bf();_0x33cef2[_0x598562]=_0x1e8753([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])+_0x3568bd,_0x3568bd!=_0x1e8753([0x56,0x61,0x6c,0x69,0x64])&&_0x5255db();}function _0x3e34bf(){const _0x58ff82=window[_0x1e8753([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e8753([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e8753([0x6e,0x6f,0x77])]())[_0x1e8753([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e8753([0x2e]),'');let _0x1620a8=_0x1e8753([0x74]);for(let _0x5897e5=0x0;_0x5897e5<_0x58ff82[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5897e5+=0x2){let _0x3d1cc6=window[_0x1e8753([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58ff82[_0x1e8753([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5897e5,_0x5897e5+0x2));_0x3d1cc6>=_0x4824ce[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d1cc6-=_0x4824ce[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1620a8+=_0x4824ce[_0x3d1cc6];}return _0x1620a8;}function _0x18a01d(){const _0x2d07c8=_0x1d67f6[_0x1e8753([0x73,0x70,0x6c,0x69,0x74])](_0x1e8753([0x2e]));if(0x3!=_0x2d07c8[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2a98c3(_0x2d07c8[0x1]);function _0x2a98c3(_0x4d70ff){const _0x420cd3=_0x1ac4ce(_0x4d70ff);return _0x420cd3&&_0x5be0b6()?_0x420cd3:null;function _0x5be0b6(){const _0x1f6995=_0x420cd3[_0x1e8753([0x6a,0x74,0x69])],_0x2e3cce=window[_0x1e8753([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f6995[_0x1e8753([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f6995[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x581dbb={..._0x420cd3,[_0x1e8753([0x6a,0x74,0x69])]:_0x1f6995[_0x1e8753([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f6995[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x581dbb[_0x1e8753([0x76,0x63])],_0x587f62(_0x581dbb)==_0x2e3cce;}}}async function _0x2f1deb(){let _0x4b22a4=!0x0;try{const _0x3521ab=_0x1d67f6[_0x1e8753([0x73,0x70,0x6c,0x69,0x74])](_0x1e8753([0x2e])),[_0x1731d6,_0x56a777,_0x2f5423]=_0x3521ab;return _0x7459cd(_0x1731d6),await _0x355fbd(_0x1731d6,_0x56a777,_0x2f5423),_0x4b22a4;}catch{return!0x1;}function _0x7459cd(_0x45afff){const _0x16ef91=_0x1ac4ce(_0x45afff);_0x16ef91&&_0x16ef91[_0x1e8753([0x61,0x6c,0x67])]==_0x1e8753([0x45,0x53,0x32,0x35,0x36])||(_0x4b22a4=!0x1);}async function _0x355fbd(_0x28a94a,_0x24f619,_0x4ee821){const _0x30b725=window[_0x1e8753([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e8753([0x66,0x72,0x6f,0x6d])](_0x37b61c(_0x4ee821),_0x2411e5=>_0x2411e5[_0x1e8753([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x482ac9=new window[(_0x1e8753([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e8753([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28a94a+_0x1e8753([0x2e])+_0x24f619),_0x4417f9=window[_0x1e8753([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e8753([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4417f9)return;const _0x1dd2fb=await _0x4417f9[_0x1e8753([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e8753([0x6a,0x77,0x6b]),_0x2d7a1a,{[_0x1e8753([0x6e,0x61,0x6d,0x65])]:_0x1e8753([0x45,0x43,0x44,0x53,0x41]),[_0x1e8753([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e8753([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e8753([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4417f9[_0x1e8753([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e8753([0x6e,0x61,0x6d,0x65])]:_0x1e8753([0x45,0x43,0x44,0x53,0x41]),[_0x1e8753([0x68,0x61,0x73,0x68])]:{[_0x1e8753([0x6e,0x61,0x6d,0x65])]:_0x1e8753([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dd2fb,_0x30b725,_0x482ac9)||(_0x4b22a4=!0x1);}}function _0x1ac4ce(_0x2f2251){return _0x2f2251[_0x1e8753([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e8753([0x65,0x79]))?JSON[_0x1e8753([0x70,0x61,0x72,0x73,0x65])](_0x37b61c(_0x2f2251)):null;}function _0x37b61c(_0x4f852e){return window[_0x1e8753([0x61,0x74,0x6f,0x62])](_0x4f852e[_0x1e8753([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e8753([0x2b]))[_0x1e8753([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e8753([0x2f])));}function _0x587f62(_0x1ff21c){let _0x241d21=0x1505;function _0x4f0af8(_0x17b81f){for(let _0x77df10=0x0;_0x77df10<_0x17b81f[_0x1e8753([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x77df10++){const _0x2a1474=_0x17b81f[_0x1e8753([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x77df10);_0x241d21=(_0x241d21<<0x5)+_0x241d21+_0x2a1474,_0x241d21&=_0x241d21;}}function _0x83fb55(_0x17ebd3){Array[_0x1e8753([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17ebd3)?_0x17ebd3[_0x1e8753([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x83fb55):_0x17ebd3&&typeof _0x17ebd3==_0x1e8753([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e8753([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17ebd3)[_0x1e8753([0x73,0x6f,0x72,0x74])]()[_0x1e8753([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d4bf3,_0x437732])=>{_0x4f0af8(_0x2d4bf3),_0x83fb55(_0x437732);}):_0x4f0af8(window[_0x1e8753([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17ebd3));}return _0x83fb55(_0x1ff21c),_0x241d21>>>0x0;}function _0x3e75b9(_0x3727d6){return _0x3727d6[_0x1e8753([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e8753([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e8753([0x30]));}function _0x4bbf04(_0x47df78){return _0x47df78[_0x1e8753([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e8753([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e8753([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a8afd(){}function _0x1e8753(_0x2beb13){const _0x379a76=_0x4dea;return _0x2beb13[_0x379a76(0x172)](_0x2a8ce1=>String[_0x379a76(0x189)](_0x2a8ce1))[_0x379a76(0x15b)]('');}_0x1fe448(await _0x1cccfb());}(this);}[_0x91768e(0x169)](_0x373bdc,_0x2e5026,_0x398c48=!0x1){const _0x21338b=_0x91768e,_0x251601=new _0x373bdc(this[_0x21338b(0x193)][_0x21338b(0x148)]);return _0x251601[_0x21338b(0x17b)]({'withText':_0x398c48,'isToggleable':!0x1}),_0x251601[_0x21338b(0x182)](_0x21338b(0x14f))['to'](_0x2e5026,_0x21338b(0x14f)),this[_0x21338b(0x174)](_0x251601,_0x21338b(0x190),()=>_0x2e5026[_0x21338b(0x190)]()),_0x251601;}[_0x91768e(0x151)](){const _0x564dd6=_0x91768e,_0x1f3e0c=this[_0x564dd6(0x193)][_0x564dd6(0x148)];this[_0x564dd6(0x193)][_0x564dd6(0x166)][_0x564dd6(0x18b)]({'id':_0x564dd6(0x15f),'label':_0x396856(_0x1f3e0c,_0x564dd6(0x161))});const _0x46ba2b=_0x42e7fc[_0x564dd6(0x157)]||_0x42e7fc[_0x564dd6(0x171)];this[_0x564dd6(0x193)][_0x564dd6(0x166)][_0x564dd6(0x159)]({'categoryId':_0x564dd6(0x15f),'keystrokes':[{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x19a)),'keystroke':_0x564dd6(0x162)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x167)),'keystroke':_0x564dd6(0x14e)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x178)),'keystroke':_0x564dd6(0x163)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x14b)),'keystroke':_0x564dd6(0x198)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x146)),'keystroke':_0x564dd6(0x18e)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x150)),'keystroke':_0x564dd6(0x160)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x17c)),'keystroke':_0x46ba2b?_0x564dd6(0x15a):_0x564dd6(0x14d)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x199)),'keystroke':_0x564dd6(0x17f)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x16c)),'keystroke':_0x564dd6(0x177)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x192)),'keystroke':[[_0x564dd6(0x153)],[_0x564dd6(0x16b)]]},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x158)),'keystroke':_0x46ba2b?_0x564dd6(0x15c):_0x564dd6(0x14c)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x196)),'keystroke':_0x46ba2b?_0x564dd6(0x176):_0x564dd6(0x149)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x175)),'keystroke':_0x564dd6(0x183)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x186)),'keystroke':_0x564dd6(0x14a)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x18c)),'keystroke':_0x564dd6(0x180)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x147)),'keystroke':_0x564dd6(0x173)},{'label':_0x396856(_0x1f3e0c,_0x564dd6(0x184)),'keystroke':_0x46ba2b?_0x564dd6(0x187):_0x564dd6(0x191)}]});}}
|
|
23
|
+
function _0x4786(){const _0x244611=['Ctrl!+Alt+]','addKeystrokeInfos','Unfold\x20all','Shift+Alt+A','isEnabled','listenTo','Indent\x20less','SourceEditingEnhancedUI','3666gjJBPx','Copy\x20line\x20down','Delete\x20line','Ctrl!+Alt+[','execute','Cmd+Alt+]','componentFactory','2931652guduhH','add','Ctrl+[','editor','map','ck-source-editing-enhanced-button','Unfold\x20code\x20(current\x20level)','fromCharCode','menuitemcheckbox','Move\x20line\x20down','Move\x20line\x20up','Ctrl+M','_registerKeybindings','isiOS','editSource','Ctrl!+L','Alt+L','Select\x20line','Ctrl+Shift+[','Redo\x20(keystroke)','Fold\x20all','4465216eYWyUV','locale','Shift+Ctrl+K','Undo\x20(keystroke)','Ctrl+/','Ctrl+Y','sourceEditingEnhanced','isOfficialPlugin','Alt+ArrowDown','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','set','Shift+Alt+ArrowUp','8YfsuCn','pluginName','Ctrl+Z','7968620HcdhZS','afterInit','menuBar:sourceEditingEnhanced','3996918rcwUMT','isPremiumPlugin','bind','2136ryLLkF','accessibility','Edit\x20source\x20modal\x20label','requires','Toggle\x20comment','Shift+Alt+ArrowDown','Ctrl+]','Fold\x20code\x20(current\x20level)','3915EIrOgm','Source\x20Editing\x20Enhanced','commands','Alt+ArrowUp','Cmd+Alt+[','addKeystrokeInfoCategory','62803wVomnF','Ctrl+Shift+Z','isMac','Source','Toggle\x20block\x20comment','_createButton','href','620isTJWC','Alt+Shift+M','Copy\x20line\x20up','init','join','Ctrl+Shift+]','Indent\x20more'];_0x4786=function(){return _0x244611;};return _0x4786();}const _0x3aca85=_0x5250;(function(_0x1c9031,_0x1625b7){const _0x4de3b2=_0x5250,_0xf55473=_0x1c9031();while(!![]){try{const _0xe61c59=-parseInt(_0x4de3b2(0xe4))/0x1+-parseInt(_0x4de3b2(0xeb))/0x2*(parseInt(_0x4de3b2(0xd6))/0x3)+parseInt(_0x4de3b2(0xac))/0x4+-parseInt(_0x4de3b2(0xde))/0x5*(parseInt(_0x4de3b2(0xa5))/0x6)+parseInt(_0x4de3b2(0xc1))/0x7*(-parseInt(_0x4de3b2(0xcd))/0x8)+parseInt(_0x4de3b2(0xd3))/0x9+parseInt(_0x4de3b2(0xd0))/0xa;if(_0xe61c59===_0x1625b7)break;else _0xf55473['push'](_0xf55473['shift']());}catch(_0x2a69e4){_0xf55473['push'](_0xf55473['shift']());}}}(_0x4786,0x8c265));function _0x5250(_0x32369b,_0x5c554a){const _0x478698=_0x4786();return _0x5250=function(_0x5250f9,_0x39b9b3){_0x5250f9=_0x5250f9-0x9c;let _0x506a95=_0x478698[_0x5250f9];return _0x506a95;},_0x5250(_0x32369b,_0x5c554a);}import{Plugin as _0x17d3b9,PendingActions as _0x5006a2}from'ckeditor5/src/core.js';import{IconSource as _0x349a1b}from'ckeditor5/src/icons.js';import{ButtonView as _0x5bf5d9,MenuBarMenuListItemButtonView as _0x34a161}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x45c3b}from'./ui/editsourcecommand.js';import{getTranslation as _0x5381f9}from'./utils/common-translations.js';import{env as _0x3502d9,uid as _0x194ef8}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x17d3b9{static get[_0x3aca85(0xce)](){const _0x428e11=_0x3aca85;return _0x428e11(0xa4);}static get[_0x3aca85(0xd9)](){return[_0x5006a2];}static get[_0x3aca85(0xc8)](){return!0x0;}static get[_0x3aca85(0xd4)](){return!0x0;}[_0x3aca85(0xee)](){const _0x4601a9=_0x3aca85,_0x4ea2dd=this[_0x4601a9(0xaf)],_0x371f2b=_0x4ea2dd[_0x4601a9(0xc2)],_0x12dde1=new _0x45c3b(_0x4ea2dd);_0x4ea2dd[_0x4601a9(0xe0)][_0x4601a9(0xad)](_0x4601a9(0xba),_0x12dde1),_0x4ea2dd['ui'][_0x4601a9(0xab)][_0x4601a9(0xad)](_0x4601a9(0xc7),()=>{const _0x5738d7=_0x4601a9,_0x1d6c93=this[_0x5738d7(0xe9)](_0x5bf5d9,_0x12dde1);return _0x1d6c93[_0x5738d7(0xcb)]({'label':_0x5381f9(_0x371f2b,_0x5738d7(0xe7)),'icon':_0x349a1b,'tooltip':_0x5381f9(_0x371f2b,_0x5738d7(0xd8)),'class':_0x5738d7(0xb1)}),_0x1d6c93;}),_0x4ea2dd['ui'][_0x4601a9(0xab)][_0x4601a9(0xad)](_0x4601a9(0xd2),()=>{const _0x53a424=_0x4601a9,_0x3f4369=this[_0x53a424(0xe9)](_0x34a161,_0x12dde1,!0x0);return _0x3f4369[_0x53a424(0xcb)]({'label':_0x5381f9(_0x371f2b,_0x53a424(0xd8)),'icon':_0x349a1b,'role':_0x53a424(0xb4)}),_0x3f4369;}),this[_0x4601a9(0xb8)]();}[_0x3aca85(0xd1)](){!async function(_0x31c494){const _0x5dee23=_0x243412([0x63,0x45,0x62,0x42,0x65,0x30,0x53,0x6e,0x58,0x59,0x5a,0x66,0x7a,0x43,0x6d,0x52,0x61,0x46,0x6b,0x34,0x36,0x67,0x51,0x79,0x70,0x76,0x6f,0x50,0x72,0x32,0x44,0x39,0x49,0x31,0x73,0x6a,0x68,0x48,0x71,0x77,0x35,0x55,0x6c,0x33,0x4b,0x75,0x41,0x69,0x78,0x56,0x57,0x54,0x4e,0x64,0x4d,0x74,0x37,0x4a,0x47,0x4f,0x4c,0x38]),_0x393614=0x344c844a,_0x44c8cf=0x344bef32^_0x393614,_0x330150=window[_0x243412([0x44,0x61,0x74,0x65])][_0x243412([0x6e,0x6f,0x77])](),_0x365c53=_0x31c494[_0x243412([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19cd36=new window[(_0x243412([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x399317=>{_0x365c53[_0x243412([0x6f,0x6e,0x63,0x65])](_0x243412([0x72,0x65,0x61,0x64,0x79]),_0x399317);}),_0xf544d1={[_0x243412([0x6b,0x74,0x79])]:_0x243412([0x45,0x43]),[_0x243412([0x75,0x73,0x65])]:_0x243412([0x73,0x69,0x67]),[_0x243412([0x63,0x72,0x76])]:_0x243412([0x50,0x2d,0x32,0x35,0x36]),[_0x243412([0x78])]:_0x243412([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]),[_0x243412([0x79])]:_0x243412([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]),[_0x243412([0x61,0x6c,0x67])]:_0x243412([0x45,0x53,0x32,0x35,0x36])},_0x138e46=_0x365c53[_0x243412([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x243412([0x67,0x65,0x74])](_0x243412([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32310f(){let _0x5f2357,_0x3125e0=null,_0x5f6834=null;try{if(_0x138e46==_0x243412([0x47,0x50,0x4c]))return _0x243412([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f2357=_0x4aff7d(),!_0x5f2357)return _0x243412([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f2357[_0x243412([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f6834=_0x2e1b6d(_0x5f2357[_0x243412([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f2357[_0x243412([0x6a,0x74,0x69])])),await _0x56a90e()?_0x3e4f87()?_0x22c14b()?_0x243412([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a3fdc()?(_0x5f2357[_0x243412([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x243412([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3125e0=_0x4716f0(_0x243412([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5f2357[_0x243412([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x243412([0x74,0x72,0x69,0x61,0x6c])&&(_0x3125e0=_0x4716f0(_0x243412([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fcd84()):_0x243412([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x243412([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x243412([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x243412([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22c14b(){const _0x4c8082=[_0x243412([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x243412([0x74,0x72,0x69,0x61,0x6c])][_0x243412([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f2357[_0x243412([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x330150/0x3e8:0xe10*_0x44c8cf;return _0x5f2357[_0x243412([0x65,0x78,0x70])]<_0x4c8082;}function _0x3e4f87(){const _0x4d02bb=_0x5f2357[_0x243412([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d02bb&&(!!_0x4d02bb[_0x243412([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x243412([0x2a]))||!!_0x4d02bb[_0x243412([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x243412([0x53,0x45,0x45])));}function _0x3a3fdc(){const _0x31b56b=_0x5250,_0x3dd907=_0x5f2357[_0x243412([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3dd907||0x0==_0x3dd907[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x421657}=new URL(window[_0x243412([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x31b56b(0xea)]);if(_0x3dd907[_0x243412([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421657))return!0x0;const _0x268300=_0x421657[_0x243412([0x73,0x70,0x6c,0x69,0x74])](_0x243412([0x2e]));return _0x3dd907[_0x243412([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x624690=>_0x624690[_0x243412([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x243412([0x2a])))[_0x243412([0x6d,0x61,0x70])](_0x581ea6=>_0x581ea6[_0x243412([0x73,0x70,0x6c,0x69,0x74])](_0x243412([0x2e])))[_0x243412([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58315f=>_0x58315f[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x268300[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x243412([0x6d,0x61,0x70])](_0x5815a3=>Array(_0x268300[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5815a3[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x243412([0x66,0x69,0x6c,0x6c])](_0x5815a3[0x0]===_0x243412([0x2a])?_0x243412([0x2a]):'')[_0x243412([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5815a3))[_0x243412([0x73,0x6f,0x6d,0x65])](_0x2ae92b=>_0x268300[_0x243412([0x65,0x76,0x65,0x72,0x79])]((_0x2ec550,_0xeebcf6)=>_0x2ae92b[_0xeebcf6]===_0x2ec550||_0x2ae92b[_0xeebcf6]===_0x243412([0x2a])));}function _0x2fcd84(){return _0x3125e0&&_0x5f6834?new window[(_0x243412([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x477306,_0xe3e509)=>{_0x3125e0[_0x243412([0x74,0x68,0x65,0x6e])](_0x477306,_0xe3e509),_0x5f6834[_0x243412([0x74,0x68,0x65,0x6e])](_0x597153=>{_0x597153!=_0x243412([0x56,0x61,0x6c,0x69,0x64])&&_0x477306(_0x597153);},_0xe3e509);}):_0x3125e0||_0x5f6834||_0x243412([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e1b6d(_0x55320f,_0xdc51f3){return new window[(_0x243412([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e974=>{if(_0x49e159())return _0x36e974(_0x243412([0x56,0x61,0x6c,0x69,0x64]));_0x2149b1(),_0x365c53[_0x243412([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x243412([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x59c4ca=!0x1;const _0x48ca0d=_0x194ef8();function _0x2fd59d(_0x190901){return!!_0x190901&&(typeof _0x190901===_0x243412([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x190901===_0x243412([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x190901[_0x243412([0x74,0x68,0x65,0x6e])]===_0x243412([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x190901[_0x243412([0x63,0x61,0x74,0x63,0x68])]===_0x243412([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a9cd5(_0x3db0d9){_0x59adba(_0x3db0d9)[_0x243412([0x74,0x68,0x65,0x6e])](_0x3d520e=>{if(!_0x3d520e||_0x3d520e[_0x243412([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x243412([0x6f,0x6b]))return _0x243412([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x546b4b(_0x150116(_0x48ca0d+_0xdc51f3))!=_0x3d520e[_0x243412([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x243412([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x243412([0x56,0x61,0x6c,0x69,0x64]);})[_0x243412([0x74,0x68,0x65,0x6e])](_0x5ece66=>(_0xc58c16(),_0x5ece66),()=>{const _0x361fed=_0x102ad6();return null==_0x361fed?(_0xc58c16(),_0x243412([0x56,0x61,0x6c,0x69,0x64])):_0x243412(_0x330150-_0x361fed>(0x1040004a^_0x393614)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x243412([0x74,0x68,0x65,0x6e])](_0x36e974)[_0x243412([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36e974(_0x243412([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1acda1=0x347a6aca^_0x393614;function _0xc58c16(){const _0x5461b2=_0x243412([0x6c,0x6c,0x63,0x74,0x2d])+_0x546b4b(_0x150116(_0x55320f)),_0x1d341b=_0x4e1ec9(_0x546b4b(window[_0x243412([0x4d,0x61,0x74,0x68])][_0x243412([0x63,0x65,0x69,0x6c])](_0x330150/_0x1acda1)));window[_0x243412([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x243412([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5461b2,_0x1d341b);}function _0x102ad6(){const _0x46b35b=_0x243412([0x6c,0x6c,0x63,0x74,0x2d])+_0x546b4b(_0x150116(_0x55320f)),_0x11d251=window[_0x243412([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x243412([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46b35b);return _0x11d251?window[_0x243412([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e1ec9(_0x11d251),0x10)*_0x1acda1:null;}function _0x59adba(_0x2ddd27){return new window[(_0x243412([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x450db8,_0x2e9750)=>{_0x2ddd27[_0x243412([0x74,0x68,0x65,0x6e])](_0x450db8,_0x2e9750),window[_0x243412([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e9750,0x344d508a^_0x393614);});}}_0x365c53[_0x243412([0x6f,0x6e])](_0x243412([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e251d,_0x27fc3f)=>{if(_0x27fc3f[0x0]!=_0x55320f)return _0x36e974(_0x243412([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27fc3f[0x1]={..._0x27fc3f[0x1],[_0x243412([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48ca0d};},{[_0x243412([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x243412([0x68,0x69,0x67,0x68])}),_0x365c53[_0x243412([0x6f,0x6e])](_0x243412([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55366d=>{_0x2fd59d(_0x55366d[_0x243412([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x59c4ca=!0x0,_0x1a9cd5(_0x55366d[_0x243412([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x243412([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x243412([0x6c,0x6f,0x77])}),_0x19cd36[_0x243412([0x74,0x68,0x65,0x6e])](()=>{_0x59c4ca||_0x36e974(_0x243412([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49e159(){return _0x365c53[_0x243412([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x243412([0x76,0x69,0x65,0x77])][_0x243412([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x243412([0x61,0x75,0x74,0x6f]);}function _0x2149b1(){_0x365c53[_0x243412([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x243412([0x76,0x69,0x65,0x77])][_0x243412([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x243412([0x61,0x75,0x74,0x6f]);}}function _0x4716f0(_0x143ec6){const _0x162f91=[new window[(_0x243412([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x186b89=>setTimeout(_0x186b89,0x3445ba86^_0x393614)),_0x19cd36[_0x243412([0x74,0x68,0x65,0x6e])](()=>new window[(_0x243412([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x161ffc=>{let _0x445aa6=0x0;_0x365c53[_0x243412([0x6d,0x6f,0x64,0x65,0x6c])][_0x243412([0x6f,0x6e])](_0x243412([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6130d,_0x1fa3eb)=>{_0x1fa3eb[0x0][_0x243412([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x445aa6++,_0x445aa6==(0x344c85b2^_0x393614)&&(_0x161ffc(),_0x6130d[_0x243412([0x6f,0x66,0x66])]());});}))];return window[_0x243412([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x243412([0x72,0x61,0x63,0x65])](_0x162f91)[_0x243412([0x74,0x68,0x65,0x6e])](()=>_0x143ec6);}async function _0xd887d2(){await _0x19cd36,_0x365c53[_0x243412([0x6d,0x6f,0x64,0x65,0x6c])][_0x243412([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fd09b,_0x365c53[_0x243412([0x6d,0x6f,0x64,0x65,0x6c])][_0x243412([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fd09b,_0x365c53[_0x243412([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x243412([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12e29b(_0x376adb){const _0x2a5cda=_0x477c71();_0x365c53[_0x2a5cda]=_0x243412([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])+_0x376adb,_0x376adb!=_0x243412([0x56,0x61,0x6c,0x69,0x64])&&_0xd887d2();}function _0x477c71(){const _0x4d8ac0=window[_0x243412([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x243412([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x243412([0x6e,0x6f,0x77])]())[_0x243412([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x243412([0x2e]),'');let _0x31524f=_0x243412([0x63]);for(let _0x5a9e42=0x0;_0x5a9e42<_0x4d8ac0[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a9e42+=0x2){let _0x65df80=window[_0x243412([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d8ac0[_0x243412([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a9e42,_0x5a9e42+0x2));_0x65df80>=_0x5dee23[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x65df80-=_0x5dee23[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31524f+=_0x5dee23[_0x65df80];}return _0x31524f;}function _0x4aff7d(){const _0x3f5589=_0x138e46[_0x243412([0x73,0x70,0x6c,0x69,0x74])](_0x243412([0x2e]));if(0x3!=_0x3f5589[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x670c92(_0x3f5589[0x1]);function _0x670c92(_0x10f2eb){const _0x362e6d=_0x2278f2(_0x10f2eb);return _0x362e6d&&_0x187d30()?_0x362e6d:null;function _0x187d30(){const _0x2789e0=_0x362e6d[_0x243412([0x6a,0x74,0x69])],_0x4e2dda=window[_0x243412([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2789e0[_0x243412([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2789e0[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2480e5={..._0x362e6d,[_0x243412([0x6a,0x74,0x69])]:_0x2789e0[_0x243412([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2789e0[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2480e5[_0x243412([0x76,0x63])],_0x150116(_0x2480e5)==_0x4e2dda;}}}async function _0x56a90e(){let _0x4147ba=!0x0;try{const _0x4f3573=_0x138e46[_0x243412([0x73,0x70,0x6c,0x69,0x74])](_0x243412([0x2e])),[_0x4b6fc7,_0x5e1341,_0x4427e0]=_0x4f3573;return _0x2b75a5(_0x4b6fc7),await _0x2ec8ec(_0x4b6fc7,_0x5e1341,_0x4427e0),_0x4147ba;}catch{return!0x1;}function _0x2b75a5(_0x4752a0){const _0x4ecb18=_0x2278f2(_0x4752a0);_0x4ecb18&&_0x4ecb18[_0x243412([0x61,0x6c,0x67])]==_0x243412([0x45,0x53,0x32,0x35,0x36])||(_0x4147ba=!0x1);}async function _0x2ec8ec(_0x2b22db,_0x39e757,_0x4c03cf){const _0x5b68f7=window[_0x243412([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x243412([0x66,0x72,0x6f,0x6d])](_0x5ce656(_0x4c03cf),_0x283865=>_0x283865[_0x243412([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf82625=new window[(_0x243412([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x243412([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b22db+_0x243412([0x2e])+_0x39e757),_0x556886=window[_0x243412([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x243412([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x556886)return;const _0x3d5915=await _0x556886[_0x243412([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x243412([0x6a,0x77,0x6b]),_0xf544d1,{[_0x243412([0x6e,0x61,0x6d,0x65])]:_0x243412([0x45,0x43,0x44,0x53,0x41]),[_0x243412([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x243412([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x243412([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x556886[_0x243412([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x243412([0x6e,0x61,0x6d,0x65])]:_0x243412([0x45,0x43,0x44,0x53,0x41]),[_0x243412([0x68,0x61,0x73,0x68])]:{[_0x243412([0x6e,0x61,0x6d,0x65])]:_0x243412([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d5915,_0x5b68f7,_0xf82625)||(_0x4147ba=!0x1);}}function _0x2278f2(_0x19f468){return _0x19f468[_0x243412([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x243412([0x65,0x79]))?JSON[_0x243412([0x70,0x61,0x72,0x73,0x65])](_0x5ce656(_0x19f468)):null;}function _0x5ce656(_0x36ce32){return window[_0x243412([0x61,0x74,0x6f,0x62])](_0x36ce32[_0x243412([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x243412([0x2b]))[_0x243412([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x243412([0x2f])));}function _0x150116(_0x474b10){let _0x2ac706=0x1505;function _0x455669(_0x46c090){for(let _0x5a1e58=0x0;_0x5a1e58<_0x46c090[_0x243412([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a1e58++){const _0x464e1b=_0x46c090[_0x243412([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a1e58);_0x2ac706=(_0x2ac706<<0x5)+_0x2ac706+_0x464e1b,_0x2ac706&=_0x2ac706;}}function _0x3c3982(_0x2206c2){Array[_0x243412([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2206c2)?_0x2206c2[_0x243412([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c3982):_0x2206c2&&typeof _0x2206c2==_0x243412([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x243412([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2206c2)[_0x243412([0x73,0x6f,0x72,0x74])]()[_0x243412([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15e9df,_0x31e09c])=>{_0x455669(_0x15e9df),_0x3c3982(_0x31e09c);}):_0x455669(window[_0x243412([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2206c2));}return _0x3c3982(_0x474b10),_0x2ac706>>>0x0;}function _0x546b4b(_0x4b42f1){return _0x4b42f1[_0x243412([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x243412([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x243412([0x30]));}function _0x4e1ec9(_0x45872a){return _0x45872a[_0x243412([0x73,0x70,0x6c,0x69,0x74])]('')[_0x243412([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x243412([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fd09b(){}function _0x243412(_0x37b494){const _0x22a726=_0x5250;return _0x37b494[_0x22a726(0xb0)](_0x4b6b3b=>String[_0x22a726(0xb3)](_0x4b6b3b))[_0x22a726(0xef)]('');}_0x12e29b(await _0x32310f());}(this);}[_0x3aca85(0xe9)](_0x1b80b0,_0x557fcf,_0x1b2fe6=!0x1){const _0x486511=_0x3aca85,_0x5230be=new _0x1b80b0(this[_0x486511(0xaf)][_0x486511(0xc2)]);return _0x5230be[_0x486511(0xcb)]({'withText':_0x1b2fe6,'isToggleable':!0x1}),_0x5230be[_0x486511(0xd5)](_0x486511(0xa1))['to'](_0x557fcf,_0x486511(0xa1)),this[_0x486511(0xa2)](_0x5230be,_0x486511(0xa9),()=>_0x557fcf[_0x486511(0xa9)]()),_0x5230be;}[_0x3aca85(0xb8)](){const _0x1795ac=_0x3aca85,_0x403241=this[_0x1795ac(0xaf)][_0x1795ac(0xc2)];this[_0x1795ac(0xaf)][_0x1795ac(0xd7)][_0x1795ac(0xe3)]({'id':_0x1795ac(0xc7),'label':_0x5381f9(_0x403241,_0x1795ac(0xdf))});const _0x448654=_0x3502d9[_0x1795ac(0xe6)]||_0x3502d9[_0x1795ac(0xb9)];this[_0x1795ac(0xaf)][_0x1795ac(0xd7)][_0x1795ac(0x9e)]({'categoryId':_0x1795ac(0xc7),'keystrokes':[{'label':_0x5381f9(_0x403241,_0x1795ac(0xa6)),'keystroke':_0x1795ac(0xdb)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xed)),'keystroke':_0x1795ac(0xcc)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xa7)),'keystroke':_0x1795ac(0xc3)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xa3)),'keystroke':_0x1795ac(0xae)},{'label':_0x5381f9(_0x403241,_0x1795ac(0x9c)),'keystroke':_0x1795ac(0xdc)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xc0)),'keystroke':_0x1795ac(0xa8)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xdd)),'keystroke':_0x448654?_0x1795ac(0xe2):_0x1795ac(0xbe)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xb5)),'keystroke':_0x1795ac(0xc9)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xb6)),'keystroke':_0x1795ac(0xe1)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xbf)),'keystroke':[[_0x1795ac(0xe5)],[_0x1795ac(0xc6)]]},{'label':_0x5381f9(_0x403241,_0x1795ac(0xbd)),'keystroke':_0x448654?_0x1795ac(0xbb):_0x1795ac(0xbc)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xca)),'keystroke':_0x448654?_0x1795ac(0xec):_0x1795ac(0xb7)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xe8)),'keystroke':_0x1795ac(0xa0)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xda)),'keystroke':_0x1795ac(0xc5)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xc4)),'keystroke':_0x1795ac(0xcf)},{'label':_0x5381f9(_0x403241,_0x1795ac(0x9f)),'keystroke':_0x1795ac(0x9d)},{'label':_0x5381f9(_0x403241,_0x1795ac(0xb2)),'keystroke':_0x448654?_0x1795ac(0xaa):_0x1795ac(0xf0)}]});}}
|