@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250211.0 → 0.0.0-nightly-next-20250212.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/build/source-editing-enhanced.js +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -6
- package/src/index.js +1 -1
- package/src/replacesourcecommand.js +1 -1
- package/src/sourceeditingenhanced.js +1 -1
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
- package/src/utils/getactiverootname.js +1 -1
package/ckeditor5-metadata.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x1fccdd,PendingActions as _0x472537,Plugin as _0x5b0676,icons as _0x432a86}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x360843,env as _0x67d5b8,uid as _0x4be6ea}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x3469c5,ButtonView as _0x415e18,MenuBarMenuListItemButtonView as _0x500492}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3284dd,crosshairCursor as _0x5f21f5,drawSelection as _0x25c4e7,dropCursor as _0x3db33b,lineNumbers as _0x41e6cd,highlightActiveLine as _0x31c798,highlightActiveLineGutter as _0x13ac43,highlightSpecialChars as _0x4391b7,rectangularSelection as _0x37eb3c,keymap as _0x3caa37}from'@codemirror/view';import{Compartment as _0x13ed97,Transaction as _0x5f44c7}from'@codemirror/state';import{bracketMatching as _0x48f603,foldGutter as _0x3348f7,indentOnInput as _0x1d43ca,syntaxHighlighting as _0x209f80,defaultHighlightStyle as _0x316502,foldKeymap as _0x4d5188}from'@codemirror/language';import{history as _0x208b02,defaultKeymap as _0x642a4e,historyKeymap as _0x11a532,redo as _0x3f3e2f}from'@codemirror/commands';import{autocompletion as _0x45fe47,closeBrackets as _0x454d02,closeBracketsKeymap as _0x5cbdf4,completionKeymap as _0x5209f3}from'@codemirror/autocomplete';import{html as _0x4d3a7d}from'@codemirror/lang-html';import{markdown as _0x22a798}from'@codemirror/lang-markdown';function f(_0x32eaed,_0xe7ab12){const t=_0x32eaed['t'];switch(_0xe7ab12){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 _0xe7ab12;}}function o(_0x83cc48){const _0x3e3db6=_0x83cc48['editing']['view']['document']['roots'],_0x429430=_0x3e3db6['length'];if(0x0===_0x429430)throw new _0x360843('source-editing-enhanced-editor-no-root',_0x83cc48);if(0x1===_0x429430)return _0x3e3db6['first']['rootName'];return Array['from'](_0x83cc48['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x2e4c41){return $(_0x2e4c41)?function(_0x8925a8){const _0x410855=[{'name':'address','isVoid':!0x1},{'name':'article','isVoid':!0x1},{'name':'aside','isVoid':!0x1},{'name':'blockquote','isVoid':!0x1},{'name':'details','isVoid':!0x1},{'name':'dialog','isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':'div','isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':'fieldset','isVoid':!0x1},{'name':'figcaption','isVoid':!0x1},{'name':'figure','isVoid':!0x1},{'name':'footer','isVoid':!0x1},{'name':'form','isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':'header','isVoid':!0x1},{'name':'hgroup','isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':'main','isVoid':!0x1},{'name':'nav','isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':'section','isVoid':!0x1},{'name':'table','isVoid':!0x1},{'name':'tbody','isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':'thead','isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x1b6d52=_0x410855['map'](_0x3ab049=>_0x3ab049['name'])['join']('|'),_0x1774fe=_0x8925a8['replace'](new RegExp('</?('+_0x1b6d52+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x500c04=0x0,_0x3a2f1d=!0x1;return _0x1774fe['filter'](_0x3e0c54=>_0x3e0c54['length'])['map'](_0x3f7567=>(_0x3a2f1d=function(_0x58c603,_0x187186){return new RegExp('<pre(\x20.*?)?>')['test'](_0x58c603)?'first':new RegExp('</pre>')['test'](_0x58c603)?'last':('first'===_0x187186||'middle'===_0x187186)&&'middle';}(_0x3f7567,_0x3a2f1d),function(_0xd59d30,_0x2608bf){return _0x2608bf['some'](_0x112f7d=>!_0x112f7d['isVoid']&&!!new RegExp('<'+_0x112f7d['name']+'(\x20.*?)?>')['test'](_0xd59d30));}(_0x3f7567,_0x410855)?X(_0x3f7567,_0x500c04++):function(_0x2ef737,_0x5360cc){return _0x5360cc['some'](_0x4386c4=>new RegExp('</'+_0x4386c4['name']+'>')['test'](_0x2ef737));}(_0x3f7567,_0x410855)?X(_0x3f7567,--_0x500c04):'middle'===_0x3a2f1d||'last'===_0x3a2f1d?_0x3f7567:X(_0x3f7567,_0x500c04)))['join']('\x0a');}(_0x2e4c41):_0x2e4c41;}function E(_0x576a6f){return $(_0x576a6f['replace'](/^[\n\s]*/g,''))?_0x576a6f['replace'](/\s+/g,''):_0x576a6f;}function $(_0x520bfa){return _0x520bfa['startsWith']('<');}function X(_0x253007,_0xa15e26,_0x512f39='\x20\x20\x20\x20'){return''+_0x512f39['repeat'](Math['max'](0x0,_0xa15e26))+_0x253007;}function p(_0x2dabce){const _0x3e4195=[_0x3284dd['lineWrapping'],_0x45fe47(),_0x48f603(),_0x454d02(),_0x5f21f5(),_0x25c4e7(),_0x3db33b(),_0x41e6cd(),_0x3348f7(),_0x31c798(),_0x13ac43(),_0x4391b7(),_0x208b02(),_0x1d43ca(),_0x37eb3c(),_0x209f80(_0x316502,{'fallback':!0x0})],_0x429816=new _0x13ed97();_0x3e4195['push'](_0x429816['of'](_0x3284dd['editable']['of'](!0x0))),'html'===_0x2dabce['syntaxLanguage']?_0x3e4195['push'](_0x4d3a7d()):_0x3e4195['push'](_0x22a798()),_0x2dabce['theme']&&_0x3e4195['push'](_0x2dabce['theme']),_0x3e4195['push'](_0x3caa37['of']([..._0x5cbdf4,..._0x642a4e,..._0x11a532,..._0x4d5188,..._0x5209f3,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x3f3e2f,'preventDefault':!0x0}]));const _0x551264=new _0x3284dd({'extensions':_0x3e4195,'parent':_0x2dabce['parent']});return{'focus':()=>{_0x551264['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x551264['focus']();},'getData':()=>_0x551264['state']['doc']['toString'](),'setData':_0x3c519c=>{_0x551264['dispatch']({'changes':{'from':0x0,'to':_0x551264['state']['doc']['length'],'insert':_0x3c519c},'annotations':_0x5f44c7['addToHistory']['of'](!0x1)});},'setReadOnly':_0x52c9ad=>{_0x551264['dispatch']({'effects':[_0x429816['reconfigure'](_0x3284dd['editable']['of'](!_0x52c9ad))]});},'destroy':()=>{_0x551264['destroy']();}};}class m extends _0x3469c5{constructor(_0x4c991d,_0x1c083e){super(_0x4c991d),this['_codeEditorApi']=null,this['_options']=_0x1c083e,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',(_0x520648,_0x30c1f7,_0x5c7da6)=>{this['setReadOnly'](_0x5c7da6);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xb34edc){this['_codeEditorApi']['setData'](_0xb34edc);}['setReadOnly'](_0x3d3290){this['_codeEditorApi']['setReadOnly'](_0x3d3290);}}class d extends _0x1fccdd{constructor(_0xabeab7){super(_0xabeab7),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x472537)['on']('change:hasAny',(_0xb27a6,_0x551648,_0x379a15)=>{_0x379a15?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3f204c=this['editor'],_0x507da1=_0x3f204c['locale'],_0xc0717b=_0x3f204c['plugins']['get']('Dialog'),_0x19a882=o(_0x3f204c),_0x449005=g(_0x3f204c['data']['get']({'rootName':_0x19a882})),_0x21de38=new m(_0x507da1,{'syntaxLanguage':_0x3f204c['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3f204c['config']['get']('sourceEditingEnhanced.theme')});let _0xe52c02=!0x0;const _0x40f58c=_0x28e3a2=>{if(!_0xe52c02)return;return E(_0x21de38['getData']())!==E(_0x449005)?window['confirm'](f(_0x507da1,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x28e3a2['stop']():void 0x0;};_0xc0717b['show']({'id':'sourceEditingEnhanced','title':f(_0x507da1,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x21de38,'actionButtons':[{'label':f(_0x507da1,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xc0717b['hide']();}},{'label':f(_0x507da1,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x18d5af=E(_0x21de38['getData']())!==E(_0x449005);(_0x18d5af&&_0x3f204c['execute']('replaceSource',_0x21de38['getData']()),_0xe52c02=!0x1,_0xc0717b['hide'](),_0x18d5af&&'editables'in _0x3f204c['ui']['view'])&&_0x3f204c['ui']['view']['editables'][_0x19a882]['element']['focus']();},'onCreate':_0xfad4ac=>{_0xfad4ac['set']('isEnabled',!_0x3f204c['isReadOnly']),_0xfad4ac['bind']('isEnabled')['to'](_0x3f204c,'isReadOnly',this,'isEnabled',(_0x18bf20,_0x2a4dc6)=>!_0x18bf20&&_0x2a4dc6);}}],'onHide':()=>{_0xc0717b['off']('hide',_0x40f58c),_0x21de38['destroy']();},'onShow':()=>{_0x21de38['bind']('isReadOnly')['to'](_0x3f204c,'isReadOnly',this,'isEnabled',(_0x4e294c,_0x447993)=>_0x4e294c||!_0x447993),_0x21de38['setData'](_0x449005),_0x21de38['focus'](),_0xc0717b['on']('hide',_0x40f58c,{'priority':'highest'});}});}}class n extends _0x5b0676{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x472537];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x17170b=this['editor'],_0x2c731c=_0x17170b['locale'],_0x585869=new d(_0x17170b);_0x17170b['commands']['add']('editSource',_0x585869),_0x17170b['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x218814=this['_createButton'](_0x415e18,_0x585869);return _0x218814['set']({'label':f(_0x2c731c,'Source'),'icon':_0x432a86['source'],'tooltip':f(_0x2c731c,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x218814;}),_0x17170b['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0xe58922=this['_createButton'](_0x500492,_0x585869,!0x0);return _0xe58922['set']({'label':f(_0x2c731c,'Edit\x20source\x20modal\x20label'),'icon':_0x432a86['source'],'role':'menuitemcheckbox'}),_0xe58922;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xade74a){const _0x4654b8=_0x611439([0x4b,0x30,0x71,0x35,0x6a,0x64,0x55,0x38,0x6b,0x6e,0x51,0x61,0x6f,0x69,0x72,0x46,0x74,0x79,0x4c,0x62,0x4f,0x57,0x70,0x58,0x75,0x45,0x7a,0x76,0x50,0x31,0x59,0x43,0x73,0x77,0x48,0x49,0x47,0x34,0x78,0x66,0x36,0x4a,0x37,0x4d,0x39,0x42,0x41,0x4e,0x33,0x54,0x6d,0x65,0x67,0x68,0x44,0x32,0x53,0x52,0x56,0x63,0x5a,0x6c]),_0x104bea=0x951c4cf,_0x1dab63=0x9569bff^_0x104bea,_0x5cfb86=window[_0x611439([0x44,0x61,0x74,0x65])][_0x611439([0x6e,0x6f,0x77])](),_0x2fb655=_0xade74a[_0x611439([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x52c3b8=new window[(_0x611439([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28459a=>{_0x2fb655[_0x611439([0x6f,0x6e,0x63,0x65])](_0x611439([0x72,0x65,0x61,0x64,0x79]),_0x28459a);}),_0x48f89e={[_0x611439([0x6b,0x74,0x79])]:_0x611439([0x45,0x43]),[_0x611439([0x75,0x73,0x65])]:_0x611439([0x73,0x69,0x67]),[_0x611439([0x63,0x72,0x76])]:_0x611439([0x50,0x2d,0x32,0x35,0x36]),[_0x611439([0x78])]:_0x611439([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]),[_0x611439([0x79])]:_0x611439([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]),[_0x611439([0x61,0x6c,0x67])]:_0x611439([0x45,0x53,0x32,0x35,0x36])},_0x2a4669=_0x2fb655[_0x611439([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x611439([0x67,0x65,0x74])](_0x611439([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39e2c0(){let _0x52ff58,_0x3a3d35=null,_0x5d3fcf=null;try{if(_0x2a4669==_0x611439([0x47,0x50,0x4c]))return _0x611439([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52ff58=_0x3795e0(),!_0x52ff58)return _0x611439([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52ff58[_0x611439([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d3fcf=_0x43bbb7(_0x52ff58[_0x611439([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52ff58[_0x611439([0x6a,0x74,0x69])])),await _0xe4e297()?_0x578734()?_0x3c5b48()?_0x611439([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x586881()?(_0x52ff58[_0x611439([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x611439([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a3d35=_0x1451bb(_0x611439([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52ff58[_0x611439([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x611439([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a3d35=_0x1451bb(_0x611439([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x27e1c1()):_0x611439([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x611439([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x611439([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x45866e){return _0x611439([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c5b48(){const _0x1e1820=[_0x611439([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x611439([0x74,0x72,0x69,0x61,0x6c])][_0x611439([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52ff58[_0x611439([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5cfb86/0x3e8:0xe10*_0x1dab63;return _0x52ff58[_0x611439([0x65,0x78,0x70])]<_0x1e1820;}function _0x578734(){const _0x1a5405=_0x52ff58[_0x611439([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a5405&&(!!_0x1a5405[_0x611439([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x611439([0x2a]))||!!_0x1a5405[_0x611439([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x611439([0x53,0x45,0x45])));}function _0x586881(){const _0x3e659a=_0x52ff58[_0x611439([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e659a||0x0==_0x3e659a[_0x611439([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf470c3}=new URL(window[_0x611439([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e659a[_0x611439([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf470c3))return!0x0;const _0x587ecf=_0xf470c3[_0x611439([0x73,0x70,0x6c,0x69,0x74])](_0x611439([0x2e]));return _0x3e659a[_0x611439([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x427d72=>_0x427d72[_0x611439([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x611439([0x2a])))[_0x611439([0x6d,0x61,0x70])](_0xdb617d=>_0xdb617d[_0x611439([0x73,0x70,0x6c,0x69,0x74])](_0x611439([0x2e])))[_0x611439([0x73,0x6f,0x6d,0x65])](_0x59744d=>_0x587ecf[_0x611439([0x65,0x76,0x65,0x72,0x79])]((_0x502f53,_0x1bb8dc)=>_0x59744d[_0x1bb8dc]===_0x502f53||_0x59744d[_0x1bb8dc]===_0x611439([0x2a])));}function _0x27e1c1(){return _0x3a3d35&&_0x5d3fcf?new window[(_0x611439([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9bf057,_0x38ca99)=>{_0x3a3d35[_0x611439([0x74,0x68,0x65,0x6e])](_0x9bf057,_0x38ca99),_0x5d3fcf[_0x611439([0x74,0x68,0x65,0x6e])](_0x4f9141=>{_0x4f9141!=_0x611439([0x56,0x61,0x6c,0x69,0x64])&&_0x9bf057(_0x4f9141);},_0x38ca99);}):_0x3a3d35||_0x5d3fcf||_0x611439([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43bbb7(_0x5a4fc1,_0x3193a2){return new window[(_0x611439([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18f97f=>{if(_0x2112e9())return _0x18f97f(_0x611439([0x56,0x61,0x6c,0x69,0x64]));_0x25836a(),_0x2fb655[_0x611439([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x611439([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e58fb=!0x1;const _0x3fd140=_0x4be6ea();function _0x23b9ae(_0x470373){return!!_0x470373&&(typeof _0x470373===_0x611439([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x470373===_0x611439([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x470373[_0x611439([0x74,0x68,0x65,0x6e])]===_0x611439([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x470373[_0x611439([0x63,0x61,0x74,0x63,0x68])]===_0x611439([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf26b38(_0x233220){_0x146cd9(_0x233220)[_0x611439([0x74,0x68,0x65,0x6e])](_0x2fac0d=>{if(!_0x2fac0d||_0x2fac0d[_0x611439([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x611439([0x6f,0x6b]))return _0x611439([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a5a3f(_0x1ccdf1(_0x3fd140+_0x3193a2))!=_0x2fac0d[_0x611439([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x611439([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x611439([0x56,0x61,0x6c,0x69,0x64]);})[_0x611439([0x74,0x68,0x65,0x6e])](_0x3b1e29=>(_0x302d45(),_0x3b1e29),()=>{const _0x5ab47c=_0x46b8b2();return null==_0x5ab47c?(_0x302d45(),_0x611439([0x56,0x61,0x6c,0x69,0x64])):_0x611439(_0x5cfb86-_0x5ab47c>(0x2d5d40cf^_0x104bea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x611439([0x74,0x68,0x65,0x6e])](_0x18f97f)[_0x611439([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18f97f(_0x611439([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x380a9d=0x9672a4f^_0x104bea;function _0x302d45(){const _0x41188f=_0x611439([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a5a3f(_0x1ccdf1(_0x5a4fc1)),_0x1566fc=_0x4e5fb0(_0x2a5a3f(window[_0x611439([0x4d,0x61,0x74,0x68])][_0x611439([0x63,0x65,0x69,0x6c])](_0x5cfb86/_0x380a9d)));window[_0x611439([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x611439([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41188f,_0x1566fc);}function _0x46b8b2(){const _0x285ab2=_0x611439([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a5a3f(_0x1ccdf1(_0x5a4fc1)),_0x1caba3=window[_0x611439([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x611439([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x285ab2);return _0x1caba3?window[_0x611439([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e5fb0(_0x1caba3),0x10)*_0x380a9d:null;}function _0x146cd9(_0x6f6f17){return new window[(_0x611439([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2126bb,_0x5286e0)=>{_0x6f6f17[_0x611439([0x74,0x68,0x65,0x6e])](_0x2126bb,_0x5286e0),window[_0x611439([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5286e0,0x950100f^_0x104bea);});}}_0x2fb655[_0x611439([0x6f,0x6e])](_0x611439([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b7e9c,_0x2750f8)=>{if(_0x2750f8[0x0]!=_0x5a4fc1)return _0x18f97f(_0x611439([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2750f8[0x1]={..._0x2750f8[0x1],[_0x611439([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3fd140};},{[_0x611439([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x611439([0x68,0x69,0x67,0x68])}),_0x2fb655[_0x611439([0x6f,0x6e])](_0x611439([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e9e0e=>{_0x23b9ae(_0x4e9e0e[_0x611439([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e58fb=!0x0,_0xf26b38(_0x4e9e0e[_0x611439([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x611439([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x611439([0x6c,0x6f,0x77])}),_0x52c3b8[_0x611439([0x74,0x68,0x65,0x6e])](()=>{_0x4e58fb||_0x18f97f(_0x611439([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2112e9(){return _0x2fb655[_0x611439([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x611439([0x76,0x69,0x65,0x77])][_0x611439([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x611439([0x61,0x75,0x74,0x6f]);}function _0x25836a(){_0x2fb655[_0x611439([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x611439([0x76,0x69,0x65,0x77])][_0x611439([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x611439([0x61,0x75,0x74,0x6f]);}}function _0x1451bb(_0x277a0c){const _0x5b6705=[new window[(_0x611439([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc5f428=>setTimeout(_0xc5f428,0x958fa03^_0x104bea)),_0x52c3b8[_0x611439([0x74,0x68,0x65,0x6e])](()=>new window[(_0x611439([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24e9e7=>{let _0x3e21bc=0x0;_0x2fb655[_0x611439([0x6d,0x6f,0x64,0x65,0x6c])][_0x611439([0x6f,0x6e])](_0x611439([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x148df6,_0x40a7ab)=>{_0x40a7ab[0x0][_0x611439([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e21bc++,_0x3e21bc==(0x951c537^_0x104bea)&&(_0x24e9e7(),_0x148df6[_0x611439([0x6f,0x66,0x66])]());});}))];return window[_0x611439([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x611439([0x72,0x61,0x63,0x65])](_0x5b6705)[_0x611439([0x74,0x68,0x65,0x6e])](()=>_0x277a0c);}async function _0x48876e(){await _0x52c3b8,_0x2fb655[_0x611439([0x6d,0x6f,0x64,0x65,0x6c])][_0x611439([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d5cc5,_0x2fb655[_0x611439([0x6d,0x6f,0x64,0x65,0x6c])][_0x611439([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d5cc5,_0x2fb655[_0x611439([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x611439([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53e05a(_0x5b58e4){const _0x533cd0=_0x489b65();_0x2fb655[_0x533cd0]=_0x611439([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])+_0x5b58e4,_0x5b58e4!=_0x611439([0x56,0x61,0x6c,0x69,0x64])&&_0x48876e();}function _0x489b65(){const _0xeffb9a=window[_0x611439([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x611439([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x611439([0x6e,0x6f,0x77])]())[_0x611439([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x611439([0x2e]),'');let _0x4b35ec=_0x611439([0x4b]);for(let _0x5b7f76=0x0;_0x5b7f76<_0xeffb9a[_0x611439([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b7f76+=0x2){let _0x151b70=window[_0x611439([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xeffb9a[_0x611439([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b7f76,_0x5b7f76+0x2));_0x151b70>=_0x4654b8[_0x611439([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x151b70-=_0x4654b8[_0x611439([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b35ec+=_0x4654b8[_0x151b70];}return _0x4b35ec;}function _0x3795e0(){const _0x5f39bc=_0x2a4669[_0x611439([0x73,0x70,0x6c,0x69,0x74])](_0x611439([0x2e]));if(0x3!=_0x5f39bc[_0x611439([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52e4b8(_0x5f39bc[0x1]);function _0x52e4b8(_0x1730de){const _0x338a43=_0x57228d(_0x1730de);return _0x338a43&&_0x2f6001()?_0x338a43:null;function _0x2f6001(){const _0x2301df=_0x338a43[_0x611439([0x6a,0x74,0x69])],_0x5c0ca6=window[_0x611439([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2301df[_0x611439([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2301df[_0x611439([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b04af={..._0x338a43,[_0x611439([0x6a,0x74,0x69])]:_0x2301df[_0x611439([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2301df[_0x611439([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b04af[_0x611439([0x76,0x63])],_0x1ccdf1(_0x3b04af)==_0x5c0ca6;}}}async function _0xe4e297(){let _0x31bc33=!0x0;try{const _0x310568=_0x2a4669[_0x611439([0x73,0x70,0x6c,0x69,0x74])](_0x611439([0x2e])),[_0x426f8f,_0x3d8292,_0x372765]=_0x310568;return _0x4cc25e(_0x426f8f),await _0x13706c(_0x426f8f,_0x3d8292,_0x372765),_0x31bc33;}catch(_0x1779ed){return!0x1;}function _0x4cc25e(_0xac7aa7){const _0x5d49da=_0x57228d(_0xac7aa7);_0x5d49da&&_0x5d49da[_0x611439([0x61,0x6c,0x67])]==_0x611439([0x45,0x53,0x32,0x35,0x36])||(_0x31bc33=!0x1);}async function _0x13706c(_0x17b19a,_0x3079b6,_0x598c02){const _0x4c5d39=window[_0x611439([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x611439([0x66,0x72,0x6f,0x6d])](_0x4be77f(_0x598c02),_0x4af26f=>_0x4af26f[_0x611439([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39b6c6=new window[(_0x611439([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x611439([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17b19a+_0x611439([0x2e])+_0x3079b6),_0x4854d8=window[_0x611439([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x611439([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4854d8)return;const _0x1b020a=await _0x4854d8[_0x611439([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x611439([0x6a,0x77,0x6b]),_0x48f89e,{[_0x611439([0x6e,0x61,0x6d,0x65])]:_0x611439([0x45,0x43,0x44,0x53,0x41]),[_0x611439([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x611439([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x611439([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4854d8[_0x611439([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x611439([0x6e,0x61,0x6d,0x65])]:_0x611439([0x45,0x43,0x44,0x53,0x41]),[_0x611439([0x68,0x61,0x73,0x68])]:{[_0x611439([0x6e,0x61,0x6d,0x65])]:_0x611439([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b020a,_0x4c5d39,_0x39b6c6)||(_0x31bc33=!0x1);}}function _0x57228d(_0x542c94){return _0x542c94[_0x611439([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x611439([0x65,0x79]))?JSON[_0x611439([0x70,0x61,0x72,0x73,0x65])](_0x4be77f(_0x542c94)):null;}function _0x4be77f(_0x222a9e){return window[_0x611439([0x61,0x74,0x6f,0x62])](_0x222a9e[_0x611439([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x611439([0x2b]))[_0x611439([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x611439([0x2f])));}function _0x1ccdf1(_0x3fa65c){let _0x5bd639=0x1505;function _0x516194(_0x19faaa){for(let _0x4bf076=0x0;_0x4bf076<_0x19faaa[_0x611439([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bf076++){const _0xc6fa43=_0x19faaa[_0x611439([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bf076);_0x5bd639=(_0x5bd639<<0x5)+_0x5bd639+_0xc6fa43,_0x5bd639&=_0x5bd639;}}function _0x493b2d(_0xb28b4c){Array[_0x611439([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb28b4c)?_0xb28b4c[_0x611439([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x493b2d):_0xb28b4c&&typeof _0xb28b4c==_0x611439([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x611439([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb28b4c)[_0x611439([0x73,0x6f,0x72,0x74])]()[_0x611439([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x159028,_0x5873af])=>{_0x516194(_0x159028),_0x493b2d(_0x5873af);}):_0x516194(window[_0x611439([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb28b4c));}return _0x493b2d(_0x3fa65c),_0x5bd639>>>0x0;}function _0x2a5a3f(_0x2d777a){return _0x2d777a[_0x611439([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x611439([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x611439([0x30]));}function _0x4e5fb0(_0x24b96a){return _0x24b96a[_0x611439([0x73,0x70,0x6c,0x69,0x74])]('')[_0x611439([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x611439([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d5cc5(){}function _0x611439(_0x1a4cb3){return _0x1a4cb3['map'](_0xe7ba13=>String['fromCharCode'](_0xe7ba13))['join']('');}_0x53e05a(await _0x39e2c0());}(this);}['_createButton'](_0x9b89be,_0x15788d,_0x35a9ed=!0x1){const _0x264af8=new _0x9b89be(this['editor']['locale']);return _0x264af8['set']({'withText':_0x35a9ed,'isToggleable':!0x1}),_0x264af8['bind']('isEnabled')['to'](_0x15788d,'isEnabled'),this['listenTo'](_0x264af8,'execute',()=>_0x15788d['execute']()),_0x264af8;}['_registerKeybindings'](){const _0x21836a=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x21836a,'Source\x20Editing\x20Enhanced')});const _0x5c48da=_0x67d5b8['isMac']||_0x67d5b8['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x21836a,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x21836a,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x21836a,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x21836a,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x21836a,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x21836a,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x21836a,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x5c48da?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x21836a,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x21836a,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x21836a,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x21836a,'Select\x20line'),'keystroke':_0x5c48da?'Ctrl!+L':'Alt+L'},{'label':f(_0x21836a,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x5c48da?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x21836a,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x21836a,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x21836a,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x21836a,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x21836a,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x5c48da?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x1fccdd{constructor(_0x39afd8){super(_0x39afd8),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x33e620,_0x1aead6){var _0x336deb;const _0x2786a7=this['editor'],_0x4cfe5b=null!==(_0x336deb=null==_0x1aead6?void 0x0:_0x1aead6['rootName'])&&void 0x0!==_0x336deb?_0x336deb:o(_0x2786a7);_0x2786a7['data']['set']({[_0x4cfe5b]:_0x33e620},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x5b0676{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0x2e2117){super(_0x2e2117),_0x2e2117['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new s(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2b65f3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x20da72;for(const _0x15d810 in _0x2b65f3){const _0x202b92=_0x15d810,_0x3a0766=_0x2b65f3[_0x202b92];if('sourceEditingEnhancedLicenseKeyValid'==_0x3a0766||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3a0766||'sourceEditingEnhancedLicenseKeyExpired'==_0x3a0766||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3a0766||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3a0766||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3a0766||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3a0766||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3a0766){delete _0x2b65f3[_0x202b92],_0x20da72=_0x3a0766,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x20da72&&_0x2b65f3['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x20da72&&_0x2b65f3['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x20da72&&_0x2b65f3['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x20da72&&_0x2b65f3['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x20da72&&_0x2b65f3['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x20da72&&_0x2b65f3['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x20da72&&_0x2b65f3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x5e6ba7=this['editor'],_0x2b8704=_0x5e6ba7['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x2b8704&&_0x5e6ba7['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x360843('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x2b8704&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2aaa73=>_0x5e6ba7['plugins']['has'](_0x2aaa73))&&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.'),_0x5e6ba7['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,s as ReplaceSourceCommand,a as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x3beb61,PendingActions as _0x34d8be,Plugin as _0x2cf1b2}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x50d273,env as _0x5aeb8d,uid as _0x24a648}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x343650}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x397866,ButtonView as _0x509649,MenuBarMenuListItemButtonView as _0x18731b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x25f5dd,crosshairCursor as _0x35e7e4,drawSelection as _0x4589b2,dropCursor as _0x15b0e0,lineNumbers as _0x2310e7,highlightActiveLine as _0x1eec14,highlightActiveLineGutter as _0x127046,highlightSpecialChars as _0x2bbdfe,rectangularSelection as _0xadd5d,keymap as _0x95d689}from'@codemirror/view';import{Compartment as _0xdeef00,Transaction as _0x3a85e5}from'@codemirror/state';import{bracketMatching as _0x2b5070,foldGutter as _0x1a1bd9,indentOnInput as _0x1b065e,syntaxHighlighting as _0x7c294f,defaultHighlightStyle as _0x323e9f,foldKeymap as _0x1f8c72}from'@codemirror/language';import{history as _0x40a84a,defaultKeymap as _0x53c071,historyKeymap as _0x540821,redo as _0x1cb674}from'@codemirror/commands';import{autocompletion as _0x395c53,closeBrackets as _0x24cdb0,closeBracketsKeymap as _0x373e1b,completionKeymap as _0x1e3a4b}from'@codemirror/autocomplete';import{html as _0x3e504b}from'@codemirror/lang-html';import{markdown as _0x4b26cf}from'@codemirror/lang-markdown';function f(_0xcc3763,_0x563e2a){const t=_0xcc3763['t'];switch(_0x563e2a){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 _0x563e2a;}}function s(_0x77592){const _0x205e88=_0x77592['editing']['view']['document']['roots'],_0x29cf3=_0x205e88['length'];if(0x0===_0x29cf3)throw new _0x50d273('source-editing-enhanced-editor-no-root',_0x77592);if(0x1===_0x29cf3)return _0x205e88['first']['rootName'];return Array['from'](_0x77592['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x4a1942){return $(_0x4a1942)?function(_0x450fd1){const _0x188652=[{'name':'address','isVoid':!0x1},{'name':'article','isVoid':!0x1},{'name':'aside','isVoid':!0x1},{'name':'blockquote','isVoid':!0x1},{'name':'details','isVoid':!0x1},{'name':'dialog','isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':'div','isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':'fieldset','isVoid':!0x1},{'name':'figcaption','isVoid':!0x1},{'name':'figure','isVoid':!0x1},{'name':'footer','isVoid':!0x1},{'name':'form','isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':'header','isVoid':!0x1},{'name':'hgroup','isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':'main','isVoid':!0x1},{'name':'nav','isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':'section','isVoid':!0x1},{'name':'table','isVoid':!0x1},{'name':'tbody','isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':'thead','isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x1ce55f=_0x188652['map'](_0x4b1d9f=>_0x4b1d9f['name'])['join']('|'),_0x1015cf=_0x450fd1['replace'](new RegExp('</?('+_0x1ce55f+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x475ed3=0x0,_0x5011c6=!0x1;return _0x1015cf['filter'](_0x5d35b8=>_0x5d35b8['length'])['map'](_0x180e50=>(_0x5011c6=function(_0x5ce4b5,_0xa6e38e){return new RegExp('<pre(\x20.*?)?>')['test'](_0x5ce4b5)?'first':new RegExp('</pre>')['test'](_0x5ce4b5)?'last':('first'===_0xa6e38e||'middle'===_0xa6e38e)&&'middle';}(_0x180e50,_0x5011c6),function(_0x79ff82,_0x310840){return _0x310840['some'](_0x25c795=>!_0x25c795['isVoid']&&!!new RegExp('<'+_0x25c795['name']+'(\x20.*?)?>')['test'](_0x79ff82));}(_0x180e50,_0x188652)?X(_0x180e50,_0x475ed3++):function(_0x38d962,_0x3c1e7b){return _0x3c1e7b['some'](_0x206148=>new RegExp('</'+_0x206148['name']+'>')['test'](_0x38d962));}(_0x180e50,_0x188652)?X(_0x180e50,--_0x475ed3):'middle'===_0x5011c6||'last'===_0x5011c6?_0x180e50:X(_0x180e50,_0x475ed3)))['join']('\x0a');}(_0x4a1942):_0x4a1942;}function E(_0x26b0de){return $(_0x26b0de['replace'](/^[\n\s]*/g,''))?_0x26b0de['replace'](/\s+/g,''):_0x26b0de;}function $(_0x42a4f6){return _0x42a4f6['startsWith']('<');}function X(_0x2ebf75,_0x188557,_0x39ad18='\x20\x20\x20\x20'){return''+_0x39ad18['repeat'](Math['max'](0x0,_0x188557))+_0x2ebf75;}function p(_0x529b5c){const _0x160f8a=[_0x25f5dd['lineWrapping'],_0x395c53(),_0x2b5070(),_0x24cdb0(),_0x35e7e4(),_0x4589b2(),_0x15b0e0(),_0x2310e7(),_0x1a1bd9(),_0x1eec14(),_0x127046(),_0x2bbdfe(),_0x40a84a(),_0x1b065e(),_0xadd5d(),_0x7c294f(_0x323e9f,{'fallback':!0x0})],_0x46ddd0=new _0xdeef00();_0x160f8a['push'](_0x46ddd0['of'](_0x25f5dd['editable']['of'](!0x0))),'html'===_0x529b5c['syntaxLanguage']?_0x160f8a['push'](_0x3e504b()):_0x160f8a['push'](_0x4b26cf()),_0x529b5c['theme']&&_0x160f8a['push'](_0x529b5c['theme']),_0x160f8a['push'](_0x95d689['of']([..._0x373e1b,..._0x53c071,..._0x540821,..._0x1f8c72,..._0x1e3a4b,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x1cb674,'preventDefault':!0x0}]));const _0xddbe0=new _0x25f5dd({'extensions':_0x160f8a,'parent':_0x529b5c['parent']});return{'focus':()=>{_0xddbe0['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xddbe0['focus']();},'getData':()=>_0xddbe0['state']['doc']['toString'](),'setData':_0x3d7277=>{_0xddbe0['dispatch']({'changes':{'from':0x0,'to':_0xddbe0['state']['doc']['length'],'insert':_0x3d7277},'annotations':_0x3a85e5['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3749e0=>{_0xddbe0['dispatch']({'effects':[_0x46ddd0['reconfigure'](_0x25f5dd['editable']['of'](!_0x3749e0))]});},'destroy':()=>{_0xddbe0['destroy']();}};}class m extends _0x397866{['_codeEditorApi']=null;['_options'];constructor(_0x56e69a,_0x3e9926){super(_0x56e69a),this['_options']=_0x3e9926,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',(_0x27aa7c,_0x360a3f,_0x3e5328)=>{this['setReadOnly'](_0x3e5328);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x409987){this['_codeEditorApi']['setData'](_0x409987);}['setReadOnly'](_0x45dbee){this['_codeEditorApi']['setReadOnly'](_0x45dbee);}}class d extends _0x3beb61{constructor(_0x5e5d78){super(_0x5e5d78),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x34d8be)['on']('change:hasAny',(_0x1fe9c9,_0x426f08,_0x57f150)=>{_0x57f150?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1e0b8b=this['editor'],_0x422633=_0x1e0b8b['locale'],_0x161d0b=_0x1e0b8b['plugins']['get']('Dialog'),_0x2a5111=s(_0x1e0b8b),_0x35937b=g(_0x1e0b8b['data']['get']({'rootName':_0x2a5111})),_0x3bd6e8=new m(_0x422633,{'syntaxLanguage':_0x1e0b8b['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1e0b8b['config']['get']('sourceEditingEnhanced.theme')});let _0x82bd8=!0x0;const _0x5ee30a=_0x2e19b5=>{if(!_0x82bd8)return;return E(_0x3bd6e8['getData']())!==E(_0x35937b)?window['confirm'](f(_0x422633,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2e19b5['stop']():void 0x0;};_0x161d0b['show']({'id':'sourceEditingEnhanced','title':f(_0x422633,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3bd6e8,'actionButtons':[{'label':f(_0x422633,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x161d0b['hide']();}},{'label':f(_0x422633,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x53893b=E(_0x3bd6e8['getData']())!==E(_0x35937b);(_0x53893b&&_0x1e0b8b['execute']('replaceSource',_0x3bd6e8['getData']()),_0x82bd8=!0x1,_0x161d0b['hide'](),_0x53893b&&'editables'in _0x1e0b8b['ui']['view'])&&_0x1e0b8b['ui']['view']['editables'][_0x2a5111]['element']['focus']();},'onCreate':_0x399e97=>{_0x399e97['set']('isEnabled',!_0x1e0b8b['isReadOnly']),_0x399e97['bind']('isEnabled')['to'](_0x1e0b8b,'isReadOnly',this,'isEnabled',(_0x92eb83,_0x5b9ae1)=>!_0x92eb83&&_0x5b9ae1);}}],'onHide':()=>{_0x161d0b['off']('hide',_0x5ee30a),_0x3bd6e8['destroy']();},'onShow':()=>{_0x3bd6e8['bind']('isReadOnly')['to'](_0x1e0b8b,'isReadOnly',this,'isEnabled',(_0x4ef486,_0x18a531)=>_0x4ef486||!_0x18a531),_0x3bd6e8['setData'](_0x35937b),_0x3bd6e8['focus'](),_0x161d0b['on']('hide',_0x5ee30a,{'priority':'highest'});}});}}class a extends _0x2cf1b2{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x34d8be];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x20d5fe=this['editor'],_0x4db0cf=_0x20d5fe['locale'],_0x463c66=new d(_0x20d5fe);_0x20d5fe['commands']['add']('editSource',_0x463c66),_0x20d5fe['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4c7dc9=this['_createButton'](_0x509649,_0x463c66);return _0x4c7dc9['set']({'label':f(_0x4db0cf,'Source'),'icon':_0x343650,'tooltip':f(_0x4db0cf,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4c7dc9;}),_0x20d5fe['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2cfcd2=this['_createButton'](_0x18731b,_0x463c66,!0x0);return _0x2cfcd2['set']({'label':f(_0x4db0cf,'Edit\x20source\x20modal\x20label'),'icon':_0x343650,'role':'menuitemcheckbox'}),_0x2cfcd2;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x56d604){const _0x41077d=_0x2d9a5f([0x71,0x74,0x55,0x4b,0x56,0x62,0x4c,0x52,0x73,0x41,0x66,0x35,0x53,0x64,0x44,0x78,0x79,0x4f,0x31,0x6f,0x38,0x48,0x34,0x69,0x4a,0x6c,0x49,0x57,0x70,0x6a,0x6d,0x65,0x6b,0x37,0x7a,0x36,0x32,0x51,0x72,0x4e,0x42,0x58,0x76,0x30,0x5a,0x61,0x45,0x67,0x43,0x54,0x6e,0x68,0x75,0x63,0x50,0x46,0x33,0x59,0x39,0x77,0x4d,0x47]),_0x267b38=0x60303e06,_0x5b1e10=0x6037614e^_0x267b38,_0x25e718=window[_0x2d9a5f([0x44,0x61,0x74,0x65])][_0x2d9a5f([0x6e,0x6f,0x77])](),_0x22bdd1=_0x56d604[_0x2d9a5f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39a01c=new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c03c=>{_0x22bdd1[_0x2d9a5f([0x6f,0x6e,0x63,0x65])](_0x2d9a5f([0x72,0x65,0x61,0x64,0x79]),_0x39c03c);}),_0x269997={[_0x2d9a5f([0x6b,0x74,0x79])]:_0x2d9a5f([0x45,0x43]),[_0x2d9a5f([0x75,0x73,0x65])]:_0x2d9a5f([0x73,0x69,0x67]),[_0x2d9a5f([0x63,0x72,0x76])]:_0x2d9a5f([0x50,0x2d,0x32,0x35,0x36]),[_0x2d9a5f([0x78])]:_0x2d9a5f([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]),[_0x2d9a5f([0x79])]:_0x2d9a5f([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]),[_0x2d9a5f([0x61,0x6c,0x67])]:_0x2d9a5f([0x45,0x53,0x32,0x35,0x36])},_0x3dfd3d=_0x22bdd1[_0x2d9a5f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d9a5f([0x67,0x65,0x74])](_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47ed69(){let _0x3fccb8,_0x53225f=null,_0x23568d=null;try{if(_0x3dfd3d==_0x2d9a5f([0x47,0x50,0x4c]))return _0x2d9a5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fccb8=_0x19905f(),!_0x3fccb8)return _0x2d9a5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fccb8[_0x2d9a5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23568d=_0x4265fb(_0x3fccb8[_0x2d9a5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fccb8[_0x2d9a5f([0x6a,0x74,0x69])])),await _0x5a0e13()?_0xdc7149()?_0x155a59()?_0x2d9a5f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30b1ea()?(_0x3fccb8[_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9a5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53225f=_0xefc07e(_0x2d9a5f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fccb8[_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9a5f([0x74,0x72,0x69,0x61,0x6c])&&(_0x53225f=_0xefc07e(_0x2d9a5f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f1977()):_0x2d9a5f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9a5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d9a5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x594dbc){return _0x2d9a5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x155a59(){const _0x2031fc=[_0x2d9a5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d9a5f([0x74,0x72,0x69,0x61,0x6c])][_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fccb8[_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25e718/0x3e8:0xe10*_0x5b1e10;return _0x3fccb8[_0x2d9a5f([0x65,0x78,0x70])]<_0x2031fc;}function _0xdc7149(){const _0x3ceb92=_0x3fccb8[_0x2d9a5f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ceb92&&(!!_0x3ceb92[_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9a5f([0x2a]))||!!_0x3ceb92[_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9a5f([0x53,0x45,0x45])));}function _0x30b1ea(){const _0xfd52f8=_0x3fccb8[_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xfd52f8||0x0==_0xfd52f8[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18653d}=new URL(window[_0x2d9a5f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xfd52f8[_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18653d))return!0x0;const _0x1a199b=_0x18653d[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])](_0x2d9a5f([0x2e]));return _0xfd52f8[_0x2d9a5f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x113dcd=>_0x113dcd[_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9a5f([0x2a])))[_0x2d9a5f([0x6d,0x61,0x70])](_0x471473=>_0x471473[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])](_0x2d9a5f([0x2e])))[_0x2d9a5f([0x73,0x6f,0x6d,0x65])](_0x5098d7=>_0x1a199b[_0x2d9a5f([0x65,0x76,0x65,0x72,0x79])]((_0x7b878c,_0x430df5)=>_0x5098d7[_0x430df5]===_0x7b878c||_0x5098d7[_0x430df5]===_0x2d9a5f([0x2a])));}function _0x5f1977(){return _0x53225f&&_0x23568d?new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a624f,_0x4dc90b)=>{_0x53225f[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x4a624f,_0x4dc90b),_0x23568d[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x14e767=>{_0x14e767!=_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64])&&_0x4a624f(_0x14e767);},_0x4dc90b);}):_0x53225f||_0x23568d||_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4265fb(_0x571cae,_0x402932){return new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x420dad=>{if(_0x23e416())return _0x420dad(_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64]));_0x548ad4(),_0x22bdd1[_0x2d9a5f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d9a5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4872d1=!0x1;const _0x37202e=_0x24a648();function _0x2c195e(_0x315fd1){return!!_0x315fd1&&(typeof _0x315fd1===_0x2d9a5f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x315fd1===_0x2d9a5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x315fd1[_0x2d9a5f([0x74,0x68,0x65,0x6e])]===_0x2d9a5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x315fd1[_0x2d9a5f([0x63,0x61,0x74,0x63,0x68])]===_0x2d9a5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11e386(_0x444629){_0x2da957(_0x444629)[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x42552f=>{if(!_0x42552f||_0x42552f[_0x2d9a5f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d9a5f([0x6f,0x6b]))return _0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x82f7e2(_0x205595(_0x37202e+_0x402932))!=_0x42552f[_0x2d9a5f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x3ef778=>(_0xdef364(),_0x3ef778),()=>{const _0x15ee27=_0x21a694();return null==_0x15ee27?(_0xdef364(),_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64])):_0x2d9a5f(_0x25e718-_0x15ee27>(0x443cba06^_0x267b38)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x420dad)[_0x2d9a5f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x420dad(_0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57f2a6=0x6006d086^_0x267b38;function _0xdef364(){const _0x413a52=_0x2d9a5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x82f7e2(_0x205595(_0x571cae)),_0x38ebd5=_0x2df614(_0x82f7e2(window[_0x2d9a5f([0x4d,0x61,0x74,0x68])][_0x2d9a5f([0x63,0x65,0x69,0x6c])](_0x25e718/_0x57f2a6)));window[_0x2d9a5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9a5f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x413a52,_0x38ebd5);}function _0x21a694(){const _0x5e3908=_0x2d9a5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x82f7e2(_0x205595(_0x571cae)),_0x1a5645=window[_0x2d9a5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9a5f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e3908);return _0x1a5645?window[_0x2d9a5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2df614(_0x1a5645),0x10)*_0x57f2a6:null;}function _0x2da957(_0x5517fb){return new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53f88a,_0x396da0)=>{_0x5517fb[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x53f88a,_0x396da0),window[_0x2d9a5f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x396da0,0x6031eac6^_0x267b38);});}}_0x22bdd1[_0x2d9a5f([0x6f,0x6e])](_0x2d9a5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d7469,_0xb47f9c)=>{if(_0xb47f9c[0x0]!=_0x571cae)return _0x420dad(_0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb47f9c[0x1]={..._0xb47f9c[0x1],[_0x2d9a5f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37202e};},{[_0x2d9a5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9a5f([0x68,0x69,0x67,0x68])}),_0x22bdd1[_0x2d9a5f([0x6f,0x6e])](_0x2d9a5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c19d3=>{_0x2c195e(_0x1c19d3[_0x2d9a5f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4872d1=!0x0,_0x11e386(_0x1c19d3[_0x2d9a5f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d9a5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9a5f([0x6c,0x6f,0x77])}),_0x39a01c[_0x2d9a5f([0x74,0x68,0x65,0x6e])](()=>{_0x4872d1||_0x420dad(_0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23e416(){return _0x22bdd1[_0x2d9a5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9a5f([0x76,0x69,0x65,0x77])][_0x2d9a5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d9a5f([0x61,0x75,0x74,0x6f]);}function _0x548ad4(){_0x22bdd1[_0x2d9a5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9a5f([0x76,0x69,0x65,0x77])][_0x2d9a5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d9a5f([0x61,0x75,0x74,0x6f]);}}function _0xefc07e(_0x2cc8a4){const _0x2856b8=[new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2e20=>setTimeout(_0x4d2e20,0x603900ca^_0x267b38)),_0x39a01c[_0x2d9a5f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc78564=>{let _0x1e82af=0x0;_0x22bdd1[_0x2d9a5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9a5f([0x6f,0x6e])](_0x2d9a5f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47b9dd,_0x3f39ca)=>{_0x3f39ca[0x0][_0x2d9a5f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1e82af++,_0x1e82af==(0x60303ffe^_0x267b38)&&(_0xc78564(),_0x47b9dd[_0x2d9a5f([0x6f,0x66,0x66])]());});}))];return window[_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d9a5f([0x72,0x61,0x63,0x65])](_0x2856b8)[_0x2d9a5f([0x74,0x68,0x65,0x6e])](()=>_0x2cc8a4);}async function _0x3b7f52(){await _0x39a01c,_0x22bdd1[_0x2d9a5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9a5f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bd84e,_0x22bdd1[_0x2d9a5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9a5f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bd84e,_0x22bdd1[_0x2d9a5f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d9a5f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf90ed(_0x24e38c){const _0x2aa43f=_0x532542();_0x22bdd1[_0x2aa43f]=_0x2d9a5f([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])+_0x24e38c,_0x24e38c!=_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64])&&_0x3b7f52();}function _0x532542(){const _0x41aa34=window[_0x2d9a5f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d9a5f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d9a5f([0x6e,0x6f,0x77])]())[_0x2d9a5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d9a5f([0x2e]),'');let _0x17aa3a=_0x2d9a5f([0x71]);for(let _0x3a9f55=0x0;_0x3a9f55<_0x41aa34[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a9f55+=0x2){let _0x43d808=window[_0x2d9a5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41aa34[_0x2d9a5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a9f55,_0x3a9f55+0x2));_0x43d808>=_0x41077d[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43d808-=_0x41077d[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17aa3a+=_0x41077d[_0x43d808];}return _0x17aa3a;}function _0x19905f(){const _0x1f9aae=_0x3dfd3d[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])](_0x2d9a5f([0x2e]));if(0x3!=_0x1f9aae[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x137dd8(_0x1f9aae[0x1]);function _0x137dd8(_0x45e0b7){const _0x444a4f=_0xe8c7d2(_0x45e0b7);return _0x444a4f&&_0x32a33f()?_0x444a4f:null;function _0x32a33f(){const _0x1e640f=_0x444a4f[_0x2d9a5f([0x6a,0x74,0x69])],_0x6b39f4=window[_0x2d9a5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e640f[_0x2d9a5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e640f[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d3393={..._0x444a4f,[_0x2d9a5f([0x6a,0x74,0x69])]:_0x1e640f[_0x2d9a5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e640f[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d3393[_0x2d9a5f([0x76,0x63])],_0x205595(_0x4d3393)==_0x6b39f4;}}}async function _0x5a0e13(){let _0x2206b5=!0x0;try{const _0x14a1fd=_0x3dfd3d[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])](_0x2d9a5f([0x2e])),[_0x3264b6,_0xb0b792,_0x5a3bb7]=_0x14a1fd;return _0x5ed319(_0x3264b6),await _0x4d92a0(_0x3264b6,_0xb0b792,_0x5a3bb7),_0x2206b5;}catch(_0x432839){return!0x1;}function _0x5ed319(_0x34123d){const _0x2828ac=_0xe8c7d2(_0x34123d);_0x2828ac&&_0x2828ac[_0x2d9a5f([0x61,0x6c,0x67])]==_0x2d9a5f([0x45,0x53,0x32,0x35,0x36])||(_0x2206b5=!0x1);}async function _0x4d92a0(_0x5db42b,_0x39cb95,_0x45e838){const _0x1b8594=window[_0x2d9a5f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d9a5f([0x66,0x72,0x6f,0x6d])](_0x4608ef(_0x45e838),_0x4fa628=>_0x4fa628[_0x2d9a5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18a619=new window[(_0x2d9a5f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d9a5f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5db42b+_0x2d9a5f([0x2e])+_0x39cb95),_0x427914=window[_0x2d9a5f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d9a5f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x427914)return;const _0x34642a=await _0x427914[_0x2d9a5f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d9a5f([0x6a,0x77,0x6b]),_0x269997,{[_0x2d9a5f([0x6e,0x61,0x6d,0x65])]:_0x2d9a5f([0x45,0x43,0x44,0x53,0x41]),[_0x2d9a5f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d9a5f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d9a5f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x427914[_0x2d9a5f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d9a5f([0x6e,0x61,0x6d,0x65])]:_0x2d9a5f([0x45,0x43,0x44,0x53,0x41]),[_0x2d9a5f([0x68,0x61,0x73,0x68])]:{[_0x2d9a5f([0x6e,0x61,0x6d,0x65])]:_0x2d9a5f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34642a,_0x1b8594,_0x18a619)||(_0x2206b5=!0x1);}}function _0xe8c7d2(_0x6fab3d){return _0x6fab3d[_0x2d9a5f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d9a5f([0x65,0x79]))?JSON[_0x2d9a5f([0x70,0x61,0x72,0x73,0x65])](_0x4608ef(_0x6fab3d)):null;}function _0x4608ef(_0x50a1a8){return window[_0x2d9a5f([0x61,0x74,0x6f,0x62])](_0x50a1a8[_0x2d9a5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d9a5f([0x2b]))[_0x2d9a5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d9a5f([0x2f])));}function _0x205595(_0x5bd3fd){let _0x137477=0x1505;function _0x1b63d7(_0x21597d){for(let _0x4418fb=0x0;_0x4418fb<_0x21597d[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4418fb++){const _0x1e9de8=_0x21597d[_0x2d9a5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4418fb);_0x137477=(_0x137477<<0x5)+_0x137477+_0x1e9de8,_0x137477&=_0x137477;}}function _0x508689(_0x2466d7){Array[_0x2d9a5f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2466d7)?_0x2466d7[_0x2d9a5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x508689):_0x2466d7&&typeof _0x2466d7==_0x2d9a5f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d9a5f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2466d7)[_0x2d9a5f([0x73,0x6f,0x72,0x74])]()[_0x2d9a5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a5649,_0x10f413])=>{_0x1b63d7(_0x3a5649),_0x508689(_0x10f413);}):_0x1b63d7(window[_0x2d9a5f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2466d7));}return _0x508689(_0x5bd3fd),_0x137477>>>0x0;}function _0x82f7e2(_0x1601ae){return _0x1601ae[_0x2d9a5f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d9a5f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d9a5f([0x30]));}function _0x2df614(_0x48b50e){return _0x48b50e[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d9a5f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d9a5f([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bd84e(){}function _0x2d9a5f(_0x294865){return _0x294865['map'](_0x1e7dbf=>String['fromCharCode'](_0x1e7dbf))['join']('');}_0xf90ed(await _0x47ed69());}(this);}['_createButton'](_0xe338a5,_0x194969,_0xd515d5=!0x1){const _0x5d14ab=new _0xe338a5(this['editor']['locale']);return _0x5d14ab['set']({'withText':_0xd515d5,'isToggleable':!0x1}),_0x5d14ab['bind']('isEnabled')['to'](_0x194969,'isEnabled'),this['listenTo'](_0x5d14ab,'execute',()=>_0x194969['execute']()),_0x5d14ab;}['_registerKeybindings'](){const _0x4076c6=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x4076c6,'Source\x20Editing\x20Enhanced')});const _0x4c9d38=_0x5aeb8d['isMac']||_0x5aeb8d['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x4076c6,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x4076c6,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x4076c6,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x4076c6,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x4076c6,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x4076c6,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x4076c6,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4c9d38?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x4076c6,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x4076c6,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x4076c6,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x4076c6,'Select\x20line'),'keystroke':_0x4c9d38?'Ctrl!+L':'Alt+L'},{'label':f(_0x4076c6,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4c9d38?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x4076c6,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x4076c6,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x4076c6,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x4076c6,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x4076c6,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4c9d38?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x3beb61{constructor(_0x3ef25f){super(_0x3ef25f),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x580edd,_0x47c836){const _0x52fe59=this['editor'],_0x3dbbb7=_0x47c836?.['rootName']??s(_0x52fe59);_0x52fe59['data']['set']({[_0x3dbbb7]:_0x580edd},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x2cf1b2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x5a6eee){super(_0x5a6eee),_0x5a6eee['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb948b5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26af49;for(const _0x43b5bc in _0xb948b5){const _0x27a66e=_0x43b5bc,_0x4ef531=_0xb948b5[_0x27a66e];if('sourceEditingEnhancedLicenseKeyValid'==_0x4ef531||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4ef531||'sourceEditingEnhancedLicenseKeyExpired'==_0x4ef531||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4ef531||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4ef531||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4ef531||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4ef531||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4ef531){delete _0xb948b5[_0x27a66e],_0x26af49=_0x4ef531,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x26af49&&_0xb948b5['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x26af49&&_0xb948b5['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x26af49&&_0xb948b5['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x26af49&&_0xb948b5['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x26af49&&_0xb948b5['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x26af49&&_0xb948b5['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x26af49&&_0xb948b5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x5a2f4f=this['editor'],_0x52414a=_0x5a2f4f['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x52414a&&_0x5a2f4f['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x50d273('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x52414a&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2694b9=>_0x5a2f4f['plugins']['has'](_0x2694b9))&&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.'),_0x5a2f4f['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-next-20250212.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,10 +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-
|
|
23
|
-
"@ckeditor/ckeditor5-
|
|
24
|
-
"@ckeditor/ckeditor5-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20250212.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20250212.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-next-20250212.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20250212.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20250212.0",
|
|
25
26
|
"@codemirror/autocomplete": "6.18.4",
|
|
26
27
|
"@codemirror/commands": "6.8.0",
|
|
27
28
|
"@codemirror/lang-html": "6.4.9",
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"@codemirror/language": "6.10.8",
|
|
30
31
|
"@codemirror/state": "6.5.2",
|
|
31
32
|
"@codemirror/view": "6.36.2",
|
|
32
|
-
"ckeditor5": "0.0.0-nightly-
|
|
33
|
+
"ckeditor5": "0.0.0-nightly-next-20250212.0"
|
|
33
34
|
},
|
|
34
35
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
35
36
|
"author": "CKSource (http://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3c173b,_0x3d630e){var _0x5ccfec=_0x2093,_0x19a3a0=_0x3c173b();while(!![]){try{var _0x14f909=parseInt(_0x5ccfec(0x1ad))/0x1*(-parseInt(_0x5ccfec(0x1b3))/0x2)+-parseInt(_0x5ccfec(0x1ab))/0x3+parseInt(_0x5ccfec(0x1ac))/0x4*(parseInt(_0x5ccfec(0x1b2))/0x5)+parseInt(_0x5ccfec(0x1aa))/0x6+parseInt(_0x5ccfec(0x1af))/0x7*(parseInt(_0x5ccfec(0x1b0))/0x8)+parseInt(_0x5ccfec(0x1b1))/0x9+-parseInt(_0x5ccfec(0x1ae))/0xa*(parseInt(_0x5ccfec(0x1b4))/0xb);if(_0x14f909===_0x3d630e)break;else _0x19a3a0['push'](_0x19a3a0['shift']());}catch(_0x3cbd26){_0x19a3a0['push'](_0x19a3a0['shift']());}}}(_0x3a08,0x9e88e));function _0x2093(_0x5a21c1,_0x2c9e8a){var _0x3a084c=_0x3a08();return _0x2093=function(_0x209300,_0x107a88){_0x209300=_0x209300-0x1aa;var _0x346a0a=_0x3a084c[_0x209300];return _0x346a0a;},_0x2093(_0x5a21c1,_0x2c9e8a);}export{default as SourceEditingEnhanced}from'./sourceeditingenhanced.js';export{default as ReplaceSourceCommand}from'./replacesourcecommand.js';function _0x3a08(){var _0x193d6b=['14hXqwHi','2641336HUBPyb','7521426rxHnNj','5SaRpZb','3862vcrRcb','275oNRORa','3640596OjFPwt','278154rynTrt','118796BcsAgF','652ffdRqZ','52570FvQpXQ'];_0x3a08=function(){return _0x193d6b;};return _0x3a08();}export{default as EditSourceCommand}from'./ui/editsourcecommand.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4980bf=_0x48e8;(function(_0x517c98,_0x167419){const _0x276c55=_0x48e8,_0x1c6dec=_0x517c98();while(!![]){try{const _0x4cc37a=parseInt(_0x276c55(0xa2))/0x1+parseInt(_0x276c55(0xa0))/0x2+-parseInt(_0x276c55(0xa6))/0x3+parseInt(_0x276c55(0xa9))/0x4+-parseInt(_0x276c55(0xa4))/0x5+-parseInt(_0x276c55(0xa5))/0x6+-parseInt(_0x276c55(0xac))/0x7;if(_0x4cc37a===_0x167419)break;else _0x1c6dec['push'](_0x1c6dec['shift']());}catch(_0x278691){_0x1c6dec['push'](_0x1c6dec['shift']());}}}(_0x3d52,0xee99f));import{Command as _0x183eab}from'ckeditor5/src/core.js';function _0x48e8(_0x20164f,_0x1261ae){const _0x3d52be=_0x3d52();return _0x48e8=function(_0x48e898,_0x31f4e8){_0x48e898=_0x48e898-0xa0;let _0xf86904=_0x3d52be[_0x48e898];return _0xf86904;},_0x48e8(_0x20164f,_0x1261ae);}import{getActiveRootName as _0x32e3ea}from'./utils/getactiverootname.js';function _0x3d52(){const _0x2e1fec=['2308040zUODKc','data','1303503llpRMB','refresh','4549410pUsMih','1783854MbdoTY','1290483qqxGFZ','rootName','isReadOnly','1539244YuXZML','editor','isEnabled','1593697ZeDXDE','set','execute'];_0x3d52=function(){return _0x2e1fec;};return _0x3d52();}export default class e extends _0x183eab{constructor(_0x4e22d2){const _0x3b65bc=_0x48e8;super(_0x4e22d2),this[_0x3b65bc(0xa3)]();}[_0x4980bf(0xa3)](){const _0x9c4fde=_0x4980bf;this[_0x9c4fde(0xab)]=!this[_0x9c4fde(0xaa)][_0x9c4fde(0xa8)];}[_0x4980bf(0xae)](_0x507a91,_0x4fbbe4){const _0x4b0ba3=_0x4980bf,_0x28dabd=this[_0x4b0ba3(0xaa)],_0x17b5a2=_0x4fbbe4?.[_0x4b0ba3(0xa7)]??_0x32e3ea(_0x28dabd);_0x28dabd[_0x4b0ba3(0xa1)][_0x4b0ba3(0xad)]({[_0x17b5a2]:_0x507a91},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x312329=_0x2de2;(function(_0x5e5e44,_0x4785e6){const _0x19b3f4=_0x2de2,_0x3cf0f1=_0x5e5e44();while(!![]){try{const _0x1d7a35=parseInt(_0x19b3f4(0x21c))/0x1*(parseInt(_0x19b3f4(0x1f2))/0x2)+parseInt(_0x19b3f4(0x218))/0x3+-parseInt(_0x19b3f4(0x211))/0x4+-parseInt(_0x19b3f4(0x1fa))/0x5*(-parseInt(_0x19b3f4(0x225))/0x6)+parseInt(_0x19b3f4(0x1f4))/0x7*(-parseInt(_0x19b3f4(0x229))/0x8)+-parseInt(_0x19b3f4(0x227))/0x9+parseInt(_0x19b3f4(0x224))/0xa*(parseInt(_0x19b3f4(0x219))/0xb);if(_0x1d7a35===_0x4785e6)break;else _0x3cf0f1['push'](_0x3cf0f1['shift']());}catch(_0x178a2e){_0x3cf0f1['push'](_0x3cf0f1['shift']());}}}(_0x1cfa,0xc3cd5));import{Plugin as _0x46034c}from'ckeditor5/src/core.js';function _0x1cfa(){const _0x564c61=['sourceEditingEnhancedLicenseKeyNotAllowed','sourceEditingEnhancedLicenseKeyInvalid','expired','RevisionHistory','warn','has','invalid','destroy','RealTimeCollaborativeEditing','add','RestrictedEditingModeEditing','sourceEditingEnhanced.allowCollaborationFeatures','source-editing-enhanced-incompatible-with-real-time-collaboration','commands','sourceEditingEnhancedLicenseKeyDomainLimit','pluginName','usageLimit','4685072Paujwn','CommentsEditing','config','TrackChangesEditing','_showLicenseError','sourceEditingEnhancedLicenseKeyUsageLimit','replaceSource','3679293XRmhga','55CUfWHx','some','sourceEditingEnhancedLicenseKeyTrialLimit','1GyTWeK','sourceEditingEnhancedLicenseKeyValid','licenseKey','sourceEditingEnhancedLicenseKeyExpired','domainLimit','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.','requires','featureNotAllowed','1694470vSQFqo','5063070cdiQHi','sourceEditingEnhancedLicenseKeyEvaluationLimit','13451292aXoVaG','plugins','872vNpTHJ','init','1670770SCYpBE','isPremiumPlugin','18305YGvHpF','get','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.','define','editor','isOfficialPlugin','5zCJYtK','_checkCompatibility','_licenseKeyCheckInterval','evaluationLimit','trialLimit','SourceEditingEnhanced'];_0x1cfa=function(){return _0x564c61;};return _0x1cfa();}import{CKEditorError as _0xcbdce9}from'ckeditor5/src/utils.js';import _0x58b3e5 from'./sourceeditingenhancedui.js';import _0x120094 from'./replacesourcecommand.js';function _0x2de2(_0x1acfa6,_0x1a3c97){const _0x1cfa19=_0x1cfa();return _0x2de2=function(_0x2de242,_0x34abb1){_0x2de242=_0x2de242-0x1f1;let _0x5c46cf=_0x1cfa19[_0x2de242];return _0x5c46cf;},_0x2de2(_0x1acfa6,_0x1a3c97);}import'../theme/sourceeditingenhanced.css';export default class c extends _0x46034c{[_0x312329(0x21e)];[_0x312329(0x1fc)];static get[_0x312329(0x20f)](){const _0x3d5f9a=_0x312329;return _0x3d5f9a(0x1ff);}static get[_0x312329(0x1f9)](){return!0x0;}static get[_0x312329(0x1f3)](){return!0x0;}static get[_0x312329(0x222)](){return[_0x58b3e5];}constructor(_0x521dc2){const _0x197873=_0x312329;super(_0x521dc2),_0x521dc2[_0x197873(0x213)][_0x197873(0x1f7)](_0x197873(0x20b),!0x1);}[_0x312329(0x1f1)](){const _0x5a4c0b=_0x312329;this[_0x5a4c0b(0x1fb)](),this[_0x5a4c0b(0x1f8)][_0x5a4c0b(0x20d)][_0x5a4c0b(0x209)](_0x5a4c0b(0x217),new _0x120094(this[_0x5a4c0b(0x1f8)])),this[_0x5a4c0b(0x21e)]=this[_0x5a4c0b(0x1f8)][_0x5a4c0b(0x213)][_0x5a4c0b(0x1f5)](_0x5a4c0b(0x21e));const _0x49dc0a=this[_0x5a4c0b(0x1f8)];this[_0x5a4c0b(0x1fc)]=setInterval(()=>{const _0x37cf86=_0x5a4c0b;let _0x4b81b9;for(const _0x3c4c54 in _0x49dc0a){const _0x3ffecb=_0x3c4c54,_0x5bab14=_0x49dc0a[_0x3ffecb];if(_0x37cf86(0x21d)==_0x5bab14||_0x37cf86(0x201)==_0x5bab14||_0x37cf86(0x21f)==_0x5bab14||_0x37cf86(0x20e)==_0x5bab14||_0x37cf86(0x200)==_0x5bab14||_0x37cf86(0x226)==_0x5bab14||_0x37cf86(0x21b)==_0x5bab14||_0x37cf86(0x216)==_0x5bab14){delete _0x49dc0a[_0x3ffecb],_0x4b81b9=_0x5bab14,clearInterval(this[_0x37cf86(0x1fc)]),this[_0x37cf86(0x1fc)]=void 0x0;break;}}_0x37cf86(0x201)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x206)),_0x37cf86(0x21f)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x202)),_0x37cf86(0x20e)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x220)),_0x37cf86(0x200)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x223),_0x37cf86(0x1ff)),_0x37cf86(0x226)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x1fd)),_0x37cf86(0x21b)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x1fe)),_0x37cf86(0x216)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x210));},0x3e8);}[_0x312329(0x207)](){const _0x56e9ba=_0x312329;this[_0x56e9ba(0x1fc)]&&clearInterval(this[_0x56e9ba(0x1fc)]);}[_0x312329(0x1fb)](){const _0x2f3a90=_0x312329,_0x10e6d5=this[_0x2f3a90(0x1f8)],_0x405961=_0x10e6d5[_0x2f3a90(0x213)][_0x2f3a90(0x1f5)](_0x2f3a90(0x20b));if(!_0x405961&&_0x10e6d5[_0x2f3a90(0x228)][_0x2f3a90(0x205)](_0x2f3a90(0x208)))throw new _0xcbdce9(_0x2f3a90(0x20c),null);!_0x405961&&[_0x2f3a90(0x212),_0x2f3a90(0x214),_0x2f3a90(0x203)][_0x2f3a90(0x21a)](_0x1c7ab7=>_0x10e6d5[_0x2f3a90(0x228)][_0x2f3a90(0x205)](_0x1c7ab7))&&console[_0x2f3a90(0x204)](_0x2f3a90(0x221)),_0x10e6d5[_0x2f3a90(0x228)][_0x2f3a90(0x205)](_0x2f3a90(0x20a))&&console[_0x2f3a90(0x204)](_0x2f3a90(0x1f6));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1d41(_0x23818f,_0x40c6aa){const _0x2c7cd4=_0x2c7c();return _0x1d41=function(_0x1d41c2,_0x3ef427){_0x1d41c2=_0x1d41c2-0x16b;let _0x3be10b=_0x2c7cd4[_0x1d41c2];return _0x3be10b;},_0x1d41(_0x23818f,_0x40c6aa);}const _0x1e6e9c=_0x1d41;(function(_0x3e0a60,_0x375aef){const _0x2eaa5e=_0x1d41,_0x119f44=_0x3e0a60();while(!![]){try{const _0x50b874=-parseInt(_0x2eaa5e(0x19d))/0x1+-parseInt(_0x2eaa5e(0x1b4))/0x2+parseInt(_0x2eaa5e(0x173))/0x3+-parseInt(_0x2eaa5e(0x1a3))/0x4*(-parseInt(_0x2eaa5e(0x1bd))/0x5)+-parseInt(_0x2eaa5e(0x17b))/0x6*(parseInt(_0x2eaa5e(0x1a9))/0x7)+parseInt(_0x2eaa5e(0x1a1))/0x8+parseInt(_0x2eaa5e(0x188))/0x9*(parseInt(_0x2eaa5e(0x174))/0xa);if(_0x50b874===_0x375aef)break;else _0x119f44['push'](_0x119f44['shift']());}catch(_0x4229d3){_0x119f44['push'](_0x119f44['shift']());}}}(_0x2c7c,0xdef3e));import{Plugin as _0x2a8edd,PendingActions as _0x4f0abc,icons as _0x56c9f5}from'ckeditor5/src/core.js';import{ButtonView as _0x345856,MenuBarMenuListItemButtonView as _0x918c26}from'ckeditor5/src/ui.js';import _0x2ef86b from'./ui/editsourcecommand.js';import{getTranslation as _0x3ac487}from'./utils/common-translations.js';import{env as _0x58481a,uid as _0x6c57d4}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class n extends _0x2a8edd{static get[_0x1e6e9c(0x1bf)](){const _0x1fa98e=_0x1e6e9c;return _0x1fa98e(0x198);}static get[_0x1e6e9c(0x185)](){return[_0x4f0abc];}static get[_0x1e6e9c(0x199)](){return!0x0;}static get[_0x1e6e9c(0x19a)](){return!0x0;}[_0x1e6e9c(0x183)](){const _0x453cf2=_0x1e6e9c,_0x307941=this[_0x453cf2(0x178)],_0x1e5724=_0x307941[_0x453cf2(0x194)],_0x294083=new _0x2ef86b(_0x307941);_0x307941[_0x453cf2(0x16d)][_0x453cf2(0x1a6)](_0x453cf2(0x16b),_0x294083),_0x307941['ui'][_0x453cf2(0x1b9)][_0x453cf2(0x1a6)](_0x453cf2(0x186),()=>{const _0x8e62ca=_0x453cf2,_0x2adce7=this[_0x8e62ca(0x16c)](_0x345856,_0x294083);return _0x2adce7[_0x8e62ca(0x1ad)]({'label':_0x3ac487(_0x1e5724,_0x8e62ca(0x182)),'icon':_0x56c9f5[_0x8e62ca(0x19e)],'tooltip':_0x3ac487(_0x1e5724,_0x8e62ca(0x18d)),'class':_0x8e62ca(0x175)}),_0x2adce7;}),_0x307941['ui'][_0x453cf2(0x1b9)][_0x453cf2(0x1a6)](_0x453cf2(0x177),()=>{const _0x2f4768=_0x453cf2,_0xfa6d26=this[_0x2f4768(0x16c)](_0x918c26,_0x294083,!0x0);return _0xfa6d26[_0x2f4768(0x1ad)]({'label':_0x3ac487(_0x1e5724,_0x2f4768(0x18d)),'icon':_0x56c9f5[_0x2f4768(0x19e)],'role':_0x2f4768(0x172)}),_0xfa6d26;}),this[_0x453cf2(0x18e)]();}[_0x1e6e9c(0x1bc)](){!async function(_0x23e116){const _0x441296=_0x1fe7fc([0x4b,0x30,0x71,0x35,0x6a,0x64,0x55,0x38,0x6b,0x6e,0x51,0x61,0x6f,0x69,0x72,0x46,0x74,0x79,0x4c,0x62,0x4f,0x57,0x70,0x58,0x75,0x45,0x7a,0x76,0x50,0x31,0x59,0x43,0x73,0x77,0x48,0x49,0x47,0x34,0x78,0x66,0x36,0x4a,0x37,0x4d,0x39,0x42,0x41,0x4e,0x33,0x54,0x6d,0x65,0x67,0x68,0x44,0x32,0x53,0x52,0x56,0x63,0x5a,0x6c]),_0x3aaa14=0x951c4cf,_0x510f18=0x9569bff^_0x3aaa14,_0xd1f8d1=window[_0x1fe7fc([0x44,0x61,0x74,0x65])][_0x1fe7fc([0x6e,0x6f,0x77])](),_0x545717=_0x23e116[_0x1fe7fc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1fe636=new window[(_0x1fe7fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x159b19=>{_0x545717[_0x1fe7fc([0x6f,0x6e,0x63,0x65])](_0x1fe7fc([0x72,0x65,0x61,0x64,0x79]),_0x159b19);}),_0x37e683={[_0x1fe7fc([0x6b,0x74,0x79])]:_0x1fe7fc([0x45,0x43]),[_0x1fe7fc([0x75,0x73,0x65])]:_0x1fe7fc([0x73,0x69,0x67]),[_0x1fe7fc([0x63,0x72,0x76])]:_0x1fe7fc([0x50,0x2d,0x32,0x35,0x36]),[_0x1fe7fc([0x78])]:_0x1fe7fc([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]),[_0x1fe7fc([0x79])]:_0x1fe7fc([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]),[_0x1fe7fc([0x61,0x6c,0x67])]:_0x1fe7fc([0x45,0x53,0x32,0x35,0x36])},_0x816c84=_0x545717[_0x1fe7fc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fe7fc([0x67,0x65,0x74])](_0x1fe7fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd0b8b4(){let _0x32e01f,_0x2036da=null,_0x2fa64f=null;try{if(_0x816c84==_0x1fe7fc([0x47,0x50,0x4c]))return _0x1fe7fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x32e01f=_0x572d4c(),!_0x32e01f)return _0x1fe7fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x32e01f[_0x1fe7fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2fa64f=_0x246996(_0x32e01f[_0x1fe7fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x32e01f[_0x1fe7fc([0x6a,0x74,0x69])])),await _0x4b70c6()?_0x58d7fa()?_0x55105a()?_0x1fe7fc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x254dbe()?(_0x32e01f[_0x1fe7fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fe7fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2036da=_0x1d0567(_0x1fe7fc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x32e01f[_0x1fe7fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fe7fc([0x74,0x72,0x69,0x61,0x6c])&&(_0x2036da=_0x1d0567(_0x1fe7fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4638f7()):_0x1fe7fc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fe7fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fe7fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3db406){return _0x1fe7fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55105a(){const _0x4b85cf=[_0x1fe7fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fe7fc([0x74,0x72,0x69,0x61,0x6c])][_0x1fe7fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32e01f[_0x1fe7fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd1f8d1/0x3e8:0xe10*_0x510f18;return _0x32e01f[_0x1fe7fc([0x65,0x78,0x70])]<_0x4b85cf;}function _0x58d7fa(){const _0x14dddc=_0x32e01f[_0x1fe7fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14dddc&&(!!_0x14dddc[_0x1fe7fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe7fc([0x2a]))||!!_0x14dddc[_0x1fe7fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe7fc([0x53,0x45,0x45])));}function _0x254dbe(){const _0x9ce6a5=_0x1d41,_0x3d541f=_0x32e01f[_0x1fe7fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3d541f||0x0==_0x3d541f[_0x1fe7fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x134a9b}=new URL(window[_0x1fe7fc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x9ce6a5(0x1af)]);if(_0x3d541f[_0x1fe7fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134a9b))return!0x0;const _0xae1208=_0x134a9b[_0x1fe7fc([0x73,0x70,0x6c,0x69,0x74])](_0x1fe7fc([0x2e]));return _0x3d541f[_0x1fe7fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11536a=>_0x11536a[_0x1fe7fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe7fc([0x2a])))[_0x1fe7fc([0x6d,0x61,0x70])](_0x16ceb5=>_0x16ceb5[_0x1fe7fc([0x73,0x70,0x6c,0x69,0x74])](_0x1fe7fc([0x2e])))[_0x1fe7fc([0x73,0x6f,0x6d,0x65])](_0x58f204=>_0xae1208[_0x1fe7fc([0x65,0x76,0x65,0x72,0x79])]((_0x14dc6d,_0x19abee)=>_0x58f204[_0x19abee]===_0x14dc6d||_0x58f204[_0x19abee]===_0x1fe7fc([0x2a])));}function _0x4638f7(){return _0x2036da&&_0x2fa64f?new window[(_0x1fe7fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c9e3a,_0x48efca)=>{_0x2036da[_0x1fe7fc([0x74,0x68,0x65,0x6e])](_0x4c9e3a,_0x48efca),_0x2fa64f[_0x1fe7fc([0x74,0x68,0x65,0x6e])](_0x4f159a=>{_0x4f159a!=_0x1fe7fc([0x56,0x61,0x6c,0x69,0x64])&&_0x4c9e3a(_0x4f159a);},_0x48efca);}):_0x2036da||_0x2fa64f||_0x1fe7fc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x246996(_0x1cb319,_0x407139){return new window[(_0x1fe7fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f4968=>{if(_0x2c312e())return _0x5f4968(_0x1fe7fc([0x56,0x61,0x6c,0x69,0x64]));_0x115815(),_0x545717[_0x1fe7fc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fe7fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9a678e=!0x1;const _0x335347=_0x6c57d4();function _0x311f96(_0x1d0341){return!!_0x1d0341&&(typeof _0x1d0341===_0x1fe7fc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d0341===_0x1fe7fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d0341[_0x1fe7fc([0x74,0x68,0x65,0x6e])]===_0x1fe7fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d0341[_0x1fe7fc([0x63,0x61,0x74,0x63,0x68])]===_0x1fe7fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11d560(_0x12ace3){_0x46e064(_0x12ace3)[_0x1fe7fc([0x74,0x68,0x65,0x6e])](_0x4431d3=>{if(!_0x4431d3||_0x4431d3[_0x1fe7fc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fe7fc([0x6f,0x6b]))return _0x1fe7fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19b4c1(_0x32ff80(_0x335347+_0x407139))!=_0x4431d3[_0x1fe7fc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fe7fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fe7fc([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fe7fc([0x74,0x68,0x65,0x6e])](_0x3852f4=>(_0x3246b7(),_0x3852f4),()=>{const _0x9037ca=_0x1cf5d8();return null==_0x9037ca?(_0x3246b7(),_0x1fe7fc([0x56,0x61,0x6c,0x69,0x64])):_0x1fe7fc(_0xd1f8d1-_0x9037ca>(0x2d5d40cf^_0x3aaa14)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fe7fc([0x74,0x68,0x65,0x6e])](_0x5f4968)[_0x1fe7fc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5f4968(_0x1fe7fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49f1cd=0x9672a4f^_0x3aaa14;function _0x3246b7(){const _0x3c5088=_0x1fe7fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x19b4c1(_0x32ff80(_0x1cb319)),_0x538118=_0x39dae8(_0x19b4c1(window[_0x1fe7fc([0x4d,0x61,0x74,0x68])][_0x1fe7fc([0x63,0x65,0x69,0x6c])](_0xd1f8d1/_0x49f1cd)));window[_0x1fe7fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fe7fc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c5088,_0x538118);}function _0x1cf5d8(){const _0x4684dc=_0x1fe7fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x19b4c1(_0x32ff80(_0x1cb319)),_0x35c145=window[_0x1fe7fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fe7fc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4684dc);return _0x35c145?window[_0x1fe7fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39dae8(_0x35c145),0x10)*_0x49f1cd:null;}function _0x46e064(_0x313998){return new window[(_0x1fe7fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x93791,_0x2183e7)=>{_0x313998[_0x1fe7fc([0x74,0x68,0x65,0x6e])](_0x93791,_0x2183e7),window[_0x1fe7fc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2183e7,0x950100f^_0x3aaa14);});}}_0x545717[_0x1fe7fc([0x6f,0x6e])](_0x1fe7fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32d209,_0x44635b)=>{if(_0x44635b[0x0]!=_0x1cb319)return _0x5f4968(_0x1fe7fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44635b[0x1]={..._0x44635b[0x1],[_0x1fe7fc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x335347};},{[_0x1fe7fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fe7fc([0x68,0x69,0x67,0x68])}),_0x545717[_0x1fe7fc([0x6f,0x6e])](_0x1fe7fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48ec2b=>{_0x311f96(_0x48ec2b[_0x1fe7fc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9a678e=!0x0,_0x11d560(_0x48ec2b[_0x1fe7fc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fe7fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fe7fc([0x6c,0x6f,0x77])}),_0x1fe636[_0x1fe7fc([0x74,0x68,0x65,0x6e])](()=>{_0x9a678e||_0x5f4968(_0x1fe7fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c312e(){return _0x545717[_0x1fe7fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fe7fc([0x76,0x69,0x65,0x77])][_0x1fe7fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fe7fc([0x61,0x75,0x74,0x6f]);}function _0x115815(){_0x545717[_0x1fe7fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fe7fc([0x76,0x69,0x65,0x77])][_0x1fe7fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fe7fc([0x61,0x75,0x74,0x6f]);}}function _0x1d0567(_0x17d234){const _0x427b50=[new window[(_0x1fe7fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x83599b=>setTimeout(_0x83599b,0x958fa03^_0x3aaa14)),_0x1fe636[_0x1fe7fc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fe7fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4818f2=>{let _0x869076=0x0;_0x545717[_0x1fe7fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fe7fc([0x6f,0x6e])](_0x1fe7fc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x558f39,_0x417cda)=>{_0x417cda[0x0][_0x1fe7fc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x869076++,_0x869076==(0x951c537^_0x3aaa14)&&(_0x4818f2(),_0x558f39[_0x1fe7fc([0x6f,0x66,0x66])]());});}))];return window[_0x1fe7fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fe7fc([0x72,0x61,0x63,0x65])](_0x427b50)[_0x1fe7fc([0x74,0x68,0x65,0x6e])](()=>_0x17d234);}async function _0x4169ee(){await _0x1fe636,_0x545717[_0x1fe7fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fe7fc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20b456,_0x545717[_0x1fe7fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fe7fc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20b456,_0x545717[_0x1fe7fc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fe7fc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb02a8b(_0xcca632){const _0x507e1e=_0x46428f();_0x545717[_0x507e1e]=_0x1fe7fc([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])+_0xcca632,_0xcca632!=_0x1fe7fc([0x56,0x61,0x6c,0x69,0x64])&&_0x4169ee();}function _0x46428f(){const _0x7551e5=window[_0x1fe7fc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fe7fc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fe7fc([0x6e,0x6f,0x77])]())[_0x1fe7fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fe7fc([0x2e]),'');let _0x588992=_0x1fe7fc([0x4b]);for(let _0x38adee=0x0;_0x38adee<_0x7551e5[_0x1fe7fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38adee+=0x2){let _0x10c472=window[_0x1fe7fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7551e5[_0x1fe7fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38adee,_0x38adee+0x2));_0x10c472>=_0x441296[_0x1fe7fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10c472-=_0x441296[_0x1fe7fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x588992+=_0x441296[_0x10c472];}return _0x588992;}function _0x572d4c(){const _0x48c14f=_0x816c84[_0x1fe7fc([0x73,0x70,0x6c,0x69,0x74])](_0x1fe7fc([0x2e]));if(0x3!=_0x48c14f[_0x1fe7fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2a2c8b(_0x48c14f[0x1]);function _0x2a2c8b(_0x3f1ee7){const _0x421a94=_0xb0fab5(_0x3f1ee7);return _0x421a94&&_0x253f52()?_0x421a94:null;function _0x253f52(){const _0x493bcb=_0x421a94[_0x1fe7fc([0x6a,0x74,0x69])],_0x86d58a=window[_0x1fe7fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x493bcb[_0x1fe7fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x493bcb[_0x1fe7fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x56a726={..._0x421a94,[_0x1fe7fc([0x6a,0x74,0x69])]:_0x493bcb[_0x1fe7fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x493bcb[_0x1fe7fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x56a726[_0x1fe7fc([0x76,0x63])],_0x32ff80(_0x56a726)==_0x86d58a;}}}async function _0x4b70c6(){let _0x35efd4=!0x0;try{const _0x5585a4=_0x816c84[_0x1fe7fc([0x73,0x70,0x6c,0x69,0x74])](_0x1fe7fc([0x2e])),[_0x2611da,_0x1d0ef8,_0x9b112d]=_0x5585a4;return _0x240373(_0x2611da),await _0x14f86c(_0x2611da,_0x1d0ef8,_0x9b112d),_0x35efd4;}catch(_0x23851d){return!0x1;}function _0x240373(_0x3f1bc1){const _0x8c7eb1=_0xb0fab5(_0x3f1bc1);_0x8c7eb1&&_0x8c7eb1[_0x1fe7fc([0x61,0x6c,0x67])]==_0x1fe7fc([0x45,0x53,0x32,0x35,0x36])||(_0x35efd4=!0x1);}async function _0x14f86c(_0x2f0f61,_0x5b72f8,_0x3c01c9){const _0x50bdfc=window[_0x1fe7fc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fe7fc([0x66,0x72,0x6f,0x6d])](_0x225804(_0x3c01c9),_0x5d789c=>_0x5d789c[_0x1fe7fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4fb552=new window[(_0x1fe7fc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fe7fc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f0f61+_0x1fe7fc([0x2e])+_0x5b72f8),_0x2831d5=window[_0x1fe7fc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fe7fc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2831d5)return;const _0x452ce9=await _0x2831d5[_0x1fe7fc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fe7fc([0x6a,0x77,0x6b]),_0x37e683,{[_0x1fe7fc([0x6e,0x61,0x6d,0x65])]:_0x1fe7fc([0x45,0x43,0x44,0x53,0x41]),[_0x1fe7fc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fe7fc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fe7fc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2831d5[_0x1fe7fc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fe7fc([0x6e,0x61,0x6d,0x65])]:_0x1fe7fc([0x45,0x43,0x44,0x53,0x41]),[_0x1fe7fc([0x68,0x61,0x73,0x68])]:{[_0x1fe7fc([0x6e,0x61,0x6d,0x65])]:_0x1fe7fc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x452ce9,_0x50bdfc,_0x4fb552)||(_0x35efd4=!0x1);}}function _0xb0fab5(_0x398995){return _0x398995[_0x1fe7fc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fe7fc([0x65,0x79]))?JSON[_0x1fe7fc([0x70,0x61,0x72,0x73,0x65])](_0x225804(_0x398995)):null;}function _0x225804(_0x4675b4){return window[_0x1fe7fc([0x61,0x74,0x6f,0x62])](_0x4675b4[_0x1fe7fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fe7fc([0x2b]))[_0x1fe7fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fe7fc([0x2f])));}function _0x32ff80(_0x32fdd6){let _0x3b49b2=0x1505;function _0x2811a8(_0x4caca2){for(let _0x2405a5=0x0;_0x2405a5<_0x4caca2[_0x1fe7fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2405a5++){const _0x44cdc1=_0x4caca2[_0x1fe7fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2405a5);_0x3b49b2=(_0x3b49b2<<0x5)+_0x3b49b2+_0x44cdc1,_0x3b49b2&=_0x3b49b2;}}function _0x601059(_0x2e16e4){Array[_0x1fe7fc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e16e4)?_0x2e16e4[_0x1fe7fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x601059):_0x2e16e4&&typeof _0x2e16e4==_0x1fe7fc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fe7fc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e16e4)[_0x1fe7fc([0x73,0x6f,0x72,0x74])]()[_0x1fe7fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3bef62,_0x10a47a])=>{_0x2811a8(_0x3bef62),_0x601059(_0x10a47a);}):_0x2811a8(window[_0x1fe7fc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e16e4));}return _0x601059(_0x32fdd6),_0x3b49b2>>>0x0;}function _0x19b4c1(_0x36b632){return _0x36b632[_0x1fe7fc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fe7fc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fe7fc([0x30]));}function _0x39dae8(_0x4916d4){return _0x4916d4[_0x1fe7fc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fe7fc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fe7fc([0x6a,0x6f,0x69,0x6e])]('');}function _0x20b456(){}function _0x1fe7fc(_0x319bed){const _0x3cb304=_0x1d41;return _0x319bed[_0x3cb304(0x18a)](_0x5addd8=>String[_0x3cb304(0x1c0)](_0x5addd8))[_0x3cb304(0x18c)]('');}_0xb02a8b(await _0xd0b8b4());}(this);}[_0x1e6e9c(0x16c)](_0x106729,_0x899dfb,_0x3261c3=!0x1){const _0xf9a2fd=_0x1e6e9c,_0x314802=new _0x106729(this[_0xf9a2fd(0x178)][_0xf9a2fd(0x194)]);return _0x314802[_0xf9a2fd(0x1ad)]({'withText':_0x3261c3,'isToggleable':!0x1}),_0x314802[_0xf9a2fd(0x17a)](_0xf9a2fd(0x16f))['to'](_0x899dfb,_0xf9a2fd(0x16f)),this[_0xf9a2fd(0x1b1)](_0x314802,_0xf9a2fd(0x1ab),()=>_0x899dfb[_0xf9a2fd(0x1ab)]()),_0x314802;}[_0x1e6e9c(0x18e)](){const _0x22cd05=_0x1e6e9c,_0x4c28ad=this[_0x22cd05(0x178)][_0x22cd05(0x194)];this[_0x22cd05(0x178)][_0x22cd05(0x19c)][_0x22cd05(0x1b3)]({'id':_0x22cd05(0x186),'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x1ba))});const _0x3a037a=_0x58481a[_0x22cd05(0x18b)]||_0x58481a[_0x22cd05(0x176)];this[_0x22cd05(0x178)][_0x22cd05(0x19c)][_0x22cd05(0x1b2)]({'categoryId':_0x22cd05(0x186),'keystrokes':[{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x1b8)),'keystroke':_0x22cd05(0x17d)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x1a4)),'keystroke':_0x22cd05(0x16e)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x180)),'keystroke':_0x22cd05(0x19f)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x17f)),'keystroke':_0x22cd05(0x1b7)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x1b5)),'keystroke':_0x22cd05(0x195)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x1a5)),'keystroke':_0x22cd05(0x171)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x1a0)),'keystroke':_0x3a037a?_0x22cd05(0x1aa):_0x22cd05(0x189)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x193)),'keystroke':_0x22cd05(0x1a7)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x197)),'keystroke':_0x22cd05(0x1a2)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x184)),'keystroke':[[_0x22cd05(0x17c)],[_0x22cd05(0x192)]]},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x179)),'keystroke':_0x3a037a?_0x22cd05(0x19b):_0x22cd05(0x17e)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x1ac)),'keystroke':_0x3a037a?_0x22cd05(0x1ae):_0x22cd05(0x190)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x187)),'keystroke':_0x22cd05(0x18f)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x181)),'keystroke':_0x22cd05(0x1b0)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x1a8)),'keystroke':_0x22cd05(0x170)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x1bb)),'keystroke':_0x22cd05(0x191)},{'label':_0x3ac487(_0x4c28ad,_0x22cd05(0x196)),'keystroke':_0x3a037a?_0x22cd05(0x1be):_0x22cd05(0x1b6)}]});}}function _0x2c7c(){const _0x413810=['Move\x20line\x20up','SourceEditingEnhancedUI','isOfficialPlugin','isPremiumPlugin','Ctrl!+L','accessibility','1104934MYgKsq','source','Shift+Ctrl+K','Fold\x20code\x20(current\x20level)','1220656LoPjBw','Alt+ArrowUp','1428500YWNErq','Copy\x20line\x20up','Fold\x20all','add','Alt+ArrowDown','Undo\x20(keystroke)','7qjTVkt','Cmd+Alt+[','execute','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','set','Alt+Shift+M','href','Ctrl+/','listenTo','addKeystrokeInfos','addKeystrokeInfoCategory','1971524MPkLok','Indent\x20more','Ctrl+Shift+]','Ctrl+[','Copy\x20line\x20down','componentFactory','Source\x20Editing\x20Enhanced','Unfold\x20all','afterInit','5Oiinav','Cmd+Alt+]','pluginName','fromCharCode','editSource','_createButton','commands','Shift+Alt+ArrowUp','isEnabled','Ctrl+Z','Ctrl!+Alt+[','menuitemcheckbox','3748947nGGnOB','10jKQswL','ck-source-editing-enhanced-button','isiOS','menuBar:sourceEditingEnhanced','editor','Select\x20line','bind','6810558HkbXeN','Ctrl+Shift+Z','Shift+Alt+ArrowDown','Alt+L','Indent\x20less','Delete\x20line','Toggle\x20comment','Source','init','Redo\x20(keystroke)','requires','sourceEditingEnhanced','Toggle\x20block\x20comment','21416823wJUJEP','Ctrl+Shift+[','map','isMac','join','Edit\x20source\x20modal\x20label','_registerKeybindings','Shift+Alt+A','Ctrl+M','Ctrl!+Alt+]','Ctrl+Y','Move\x20line\x20down','locale','Ctrl+]','Unfold\x20code\x20(current\x20level)'];_0x2c7c=function(){return _0x413810;};return _0x2c7c();}
|
|
23
|
+
function _0x3d77(_0x1760ad,_0x2af126){const _0x35865e=_0x3586();return _0x3d77=function(_0x3d777e,_0x50ea12){_0x3d777e=_0x3d777e-0x102;let _0x286271=_0x35865e[_0x3d777e];return _0x286271;},_0x3d77(_0x1760ad,_0x2af126);}const _0x380fbf=_0x3d77;function _0x3586(){const _0x96f766=['Cmd+Alt+]','Shift+Ctrl+K','Select\x20line','addKeystrokeInfos','_createButton','Redo\x20(keystroke)','23093DXpHTY','map','Copy\x20line\x20down','Ctrl+Shift+[','menuBar:sourceEditingEnhanced','componentFactory','_registerKeybindings','isMac','init','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Edit\x20source\x20modal\x20label','isPremiumPlugin','bind','Fold\x20code\x20(current\x20level)','Shift+Alt+ArrowDown','Fold\x20all','sourceEditingEnhanced','Source','editSource','Cmd+Alt+[','Shift+Alt+ArrowUp','877713xmPvBX','Source\x20Editing\x20Enhanced','isiOS','Ctrl+Z','Alt+ArrowDown','2273202ylTGse','2113588rQjVjw','requires','set','3189JHGtty','locale','Indent\x20more','Toggle\x20comment','Unfold\x20all','Alt+L','Ctrl+Shift+Z','Toggle\x20block\x20comment','Ctrl!+L','join','10RabkVA','Move\x20line\x20down','fromCharCode','commands','Indent\x20less','editor','11283304hqfjfl','pluginName','218UyRgRL','isOfficialPlugin','6209525sFpzTI','Ctrl+Shift+]','menuitemcheckbox','addKeystrokeInfoCategory','Ctrl+/','href','listenTo','Ctrl+Y','Copy\x20line\x20up','Ctrl+M','Move\x20line\x20up','SourceEditingEnhancedUI','Alt+ArrowUp','1308vzkhOt','Ctrl!+Alt+[','isEnabled','Ctrl+]','accessibility','Undo\x20(keystroke)','afterInit','Alt+Shift+M','add','ck-source-editing-enhanced-button','Unfold\x20code\x20(current\x20level)','Ctrl!+Alt+]','execute','Ctrl+[','Delete\x20line','Shift+Alt+A'];_0x3586=function(){return _0x96f766;};return _0x3586();}(function(_0x373eba,_0x322e47){const _0x31c35e=_0x3d77,_0x2762b8=_0x373eba();while(!![]){try{const _0x17180b=parseInt(_0x31c35e(0x142))/0x1+-parseInt(_0x31c35e(0x108))/0x2*(parseInt(_0x31c35e(0x14b))/0x3)+-parseInt(_0x31c35e(0x148))/0x4+-parseInt(_0x31c35e(0x10a))/0x5+-parseInt(_0x31c35e(0x117))/0x6*(-parseInt(_0x31c35e(0x12d))/0x7)+parseInt(_0x31c35e(0x106))/0x8+parseInt(_0x31c35e(0x147))/0x9*(-parseInt(_0x31c35e(0x155))/0xa);if(_0x17180b===_0x322e47)break;else _0x2762b8['push'](_0x2762b8['shift']());}catch(_0x2c7263){_0x2762b8['push'](_0x2762b8['shift']());}}}(_0x3586,0xd40d1));import{Plugin as _0x5db268,PendingActions as _0x4d5dd3}from'ckeditor5/src/core.js';import{IconSource as _0x2c13ca}from'ckeditor5/src/icons.js';import{ButtonView as _0x92717,MenuBarMenuListItemButtonView as _0x16f86c}from'ckeditor5/src/ui.js';import _0x5da845 from'./ui/editsourcecommand.js';import{getTranslation as _0x2fe2b0}from'./utils/common-translations.js';import{env as _0x3f0edd,uid as _0xc1301e}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x5db268{static get[_0x380fbf(0x107)](){const _0x24ca21=_0x380fbf;return _0x24ca21(0x115);}static get[_0x380fbf(0x149)](){return[_0x4d5dd3];}static get[_0x380fbf(0x109)](){return!0x0;}static get[_0x380fbf(0x138)](){return!0x0;}[_0x380fbf(0x135)](){const _0x2da534=_0x380fbf,_0x52fae2=this[_0x2da534(0x105)],_0x30123f=_0x52fae2[_0x2da534(0x14c)],_0x59a1be=new _0x5da845(_0x52fae2);_0x52fae2[_0x2da534(0x103)][_0x2da534(0x11f)](_0x2da534(0x13f),_0x59a1be),_0x52fae2['ui'][_0x2da534(0x132)][_0x2da534(0x11f)](_0x2da534(0x13d),()=>{const _0x28c5bb=_0x2da534,_0x5a5daa=this[_0x28c5bb(0x12b)](_0x92717,_0x59a1be);return _0x5a5daa[_0x28c5bb(0x14a)]({'label':_0x2fe2b0(_0x30123f,_0x28c5bb(0x13e)),'icon':_0x2c13ca,'tooltip':_0x2fe2b0(_0x30123f,_0x28c5bb(0x137)),'class':_0x28c5bb(0x120)}),_0x5a5daa;}),_0x52fae2['ui'][_0x2da534(0x132)][_0x2da534(0x11f)](_0x2da534(0x131),()=>{const _0x3c0342=_0x2da534,_0xd2e3e1=this[_0x3c0342(0x12b)](_0x16f86c,_0x59a1be,!0x0);return _0xd2e3e1[_0x3c0342(0x14a)]({'label':_0x2fe2b0(_0x30123f,_0x3c0342(0x137)),'icon':_0x2c13ca,'role':_0x3c0342(0x10c)}),_0xd2e3e1;}),this[_0x2da534(0x133)]();}[_0x380fbf(0x11d)](){!async function(_0x41d29b){const _0x4c0b7e=_0x2a79b0([0x71,0x74,0x55,0x4b,0x56,0x62,0x4c,0x52,0x73,0x41,0x66,0x35,0x53,0x64,0x44,0x78,0x79,0x4f,0x31,0x6f,0x38,0x48,0x34,0x69,0x4a,0x6c,0x49,0x57,0x70,0x6a,0x6d,0x65,0x6b,0x37,0x7a,0x36,0x32,0x51,0x72,0x4e,0x42,0x58,0x76,0x30,0x5a,0x61,0x45,0x67,0x43,0x54,0x6e,0x68,0x75,0x63,0x50,0x46,0x33,0x59,0x39,0x77,0x4d,0x47]),_0x1c4874=0x60303e06,_0x18c08e=0x6037614e^_0x1c4874,_0x469d61=window[_0x2a79b0([0x44,0x61,0x74,0x65])][_0x2a79b0([0x6e,0x6f,0x77])](),_0x22bf7f=_0x41d29b[_0x2a79b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c7f3a=new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b9efb=>{_0x22bf7f[_0x2a79b0([0x6f,0x6e,0x63,0x65])](_0x2a79b0([0x72,0x65,0x61,0x64,0x79]),_0x2b9efb);}),_0x1ace46={[_0x2a79b0([0x6b,0x74,0x79])]:_0x2a79b0([0x45,0x43]),[_0x2a79b0([0x75,0x73,0x65])]:_0x2a79b0([0x73,0x69,0x67]),[_0x2a79b0([0x63,0x72,0x76])]:_0x2a79b0([0x50,0x2d,0x32,0x35,0x36]),[_0x2a79b0([0x78])]:_0x2a79b0([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]),[_0x2a79b0([0x79])]:_0x2a79b0([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]),[_0x2a79b0([0x61,0x6c,0x67])]:_0x2a79b0([0x45,0x53,0x32,0x35,0x36])},_0x2228c0=_0x22bf7f[_0x2a79b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a79b0([0x67,0x65,0x74])](_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12f46c(){let _0xf68b78,_0x3cc577=null,_0x322345=null;try{if(_0x2228c0==_0x2a79b0([0x47,0x50,0x4c]))return _0x2a79b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf68b78=_0x171e47(),!_0xf68b78)return _0x2a79b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf68b78[_0x2a79b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x322345=_0x4a1adc(_0xf68b78[_0x2a79b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf68b78[_0x2a79b0([0x6a,0x74,0x69])])),await _0x1e4dc6()?_0x14ad22()?_0x4acf24()?_0x2a79b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f816d()?(_0xf68b78[_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a79b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cc577=_0x35f020(_0x2a79b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf68b78[_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a79b0([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cc577=_0x35f020(_0x2a79b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa776b3()):_0x2a79b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a79b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a79b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x496438){return _0x2a79b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4acf24(){const _0x198018=[_0x2a79b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a79b0([0x74,0x72,0x69,0x61,0x6c])][_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf68b78[_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x469d61/0x3e8:0xe10*_0x18c08e;return _0xf68b78[_0x2a79b0([0x65,0x78,0x70])]<_0x198018;}function _0x14ad22(){const _0x37e432=_0xf68b78[_0x2a79b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x37e432&&(!!_0x37e432[_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a79b0([0x2a]))||!!_0x37e432[_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a79b0([0x53,0x45,0x45])));}function _0x2f816d(){const _0x164d7d=_0x3d77,_0x47ddd9=_0xf68b78[_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47ddd9||0x0==_0x47ddd9[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x495eed}=new URL(window[_0x2a79b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x164d7d(0x10f)]);if(_0x47ddd9[_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x495eed))return!0x0;const _0x580e6f=_0x495eed[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])](_0x2a79b0([0x2e]));return _0x47ddd9[_0x2a79b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e849a=>_0x1e849a[_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a79b0([0x2a])))[_0x2a79b0([0x6d,0x61,0x70])](_0x12abc5=>_0x12abc5[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])](_0x2a79b0([0x2e])))[_0x2a79b0([0x73,0x6f,0x6d,0x65])](_0x5e3b8b=>_0x580e6f[_0x2a79b0([0x65,0x76,0x65,0x72,0x79])]((_0x5c5a47,_0x2b0b09)=>_0x5e3b8b[_0x2b0b09]===_0x5c5a47||_0x5e3b8b[_0x2b0b09]===_0x2a79b0([0x2a])));}function _0xa776b3(){return _0x3cc577&&_0x322345?new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1585b0,_0x6537e5)=>{_0x3cc577[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x1585b0,_0x6537e5),_0x322345[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x24f569=>{_0x24f569!=_0x2a79b0([0x56,0x61,0x6c,0x69,0x64])&&_0x1585b0(_0x24f569);},_0x6537e5);}):_0x3cc577||_0x322345||_0x2a79b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a1adc(_0x32a71b,_0x29f40e){return new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b8b7e=>{if(_0x2419a7())return _0x3b8b7e(_0x2a79b0([0x56,0x61,0x6c,0x69,0x64]));_0x407d94(),_0x22bf7f[_0x2a79b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a79b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5f0a00=!0x1;const _0x10d1ff=_0xc1301e();function _0x999c2e(_0x996dd8){return!!_0x996dd8&&(typeof _0x996dd8===_0x2a79b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x996dd8===_0x2a79b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x996dd8[_0x2a79b0([0x74,0x68,0x65,0x6e])]===_0x2a79b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x996dd8[_0x2a79b0([0x63,0x61,0x74,0x63,0x68])]===_0x2a79b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53f394(_0x56490a){_0x1ebab0(_0x56490a)[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x1f5dd3=>{if(!_0x1f5dd3||_0x1f5dd3[_0x2a79b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a79b0([0x6f,0x6b]))return _0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f24a9(_0x2c93f0(_0x10d1ff+_0x29f40e))!=_0x1f5dd3[_0x2a79b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a79b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0xb711a2=>(_0x3bda0a(),_0xb711a2),()=>{const _0x2b6fe5=_0x388813();return null==_0x2b6fe5?(_0x3bda0a(),_0x2a79b0([0x56,0x61,0x6c,0x69,0x64])):_0x2a79b0(_0x469d61-_0x2b6fe5>(0x443cba06^_0x1c4874)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x3b8b7e)[_0x2a79b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b8b7e(_0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x42d00b=0x6006d086^_0x1c4874;function _0x3bda0a(){const _0x2f9532=_0x2a79b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f24a9(_0x2c93f0(_0x32a71b)),_0x2027e5=_0x58eb18(_0x2f24a9(window[_0x2a79b0([0x4d,0x61,0x74,0x68])][_0x2a79b0([0x63,0x65,0x69,0x6c])](_0x469d61/_0x42d00b)));window[_0x2a79b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a79b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f9532,_0x2027e5);}function _0x388813(){const _0x3f76b0=_0x2a79b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f24a9(_0x2c93f0(_0x32a71b)),_0x3b3eaf=window[_0x2a79b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a79b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f76b0);return _0x3b3eaf?window[_0x2a79b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58eb18(_0x3b3eaf),0x10)*_0x42d00b:null;}function _0x1ebab0(_0x594260){return new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a2400,_0x4df931)=>{_0x594260[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x1a2400,_0x4df931),window[_0x2a79b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4df931,0x6031eac6^_0x1c4874);});}}_0x22bf7f[_0x2a79b0([0x6f,0x6e])](_0x2a79b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x576d13,_0x1fb33c)=>{if(_0x1fb33c[0x0]!=_0x32a71b)return _0x3b8b7e(_0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fb33c[0x1]={..._0x1fb33c[0x1],[_0x2a79b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10d1ff};},{[_0x2a79b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a79b0([0x68,0x69,0x67,0x68])}),_0x22bf7f[_0x2a79b0([0x6f,0x6e])](_0x2a79b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x396a0c=>{_0x999c2e(_0x396a0c[_0x2a79b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5f0a00=!0x0,_0x53f394(_0x396a0c[_0x2a79b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a79b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a79b0([0x6c,0x6f,0x77])}),_0x5c7f3a[_0x2a79b0([0x74,0x68,0x65,0x6e])](()=>{_0x5f0a00||_0x3b8b7e(_0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2419a7(){return _0x22bf7f[_0x2a79b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a79b0([0x76,0x69,0x65,0x77])][_0x2a79b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a79b0([0x61,0x75,0x74,0x6f]);}function _0x407d94(){_0x22bf7f[_0x2a79b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a79b0([0x76,0x69,0x65,0x77])][_0x2a79b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a79b0([0x61,0x75,0x74,0x6f]);}}function _0x35f020(_0x4c0cae){const _0x483dbd=[new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9595cf=>setTimeout(_0x9595cf,0x603900ca^_0x1c4874)),_0x5c7f3a[_0x2a79b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1378ce=>{let _0x209596=0x0;_0x22bf7f[_0x2a79b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a79b0([0x6f,0x6e])](_0x2a79b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27163a,_0x2e31f3)=>{_0x2e31f3[0x0][_0x2a79b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x209596++,_0x209596==(0x60303ffe^_0x1c4874)&&(_0x1378ce(),_0x27163a[_0x2a79b0([0x6f,0x66,0x66])]());});}))];return window[_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a79b0([0x72,0x61,0x63,0x65])](_0x483dbd)[_0x2a79b0([0x74,0x68,0x65,0x6e])](()=>_0x4c0cae);}async function _0xbcac04(){await _0x5c7f3a,_0x22bf7f[_0x2a79b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a79b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3930f9,_0x22bf7f[_0x2a79b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a79b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3930f9,_0x22bf7f[_0x2a79b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a79b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40e974(_0x2bea05){const _0x3ed735=_0x30056c();_0x22bf7f[_0x3ed735]=_0x2a79b0([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])+_0x2bea05,_0x2bea05!=_0x2a79b0([0x56,0x61,0x6c,0x69,0x64])&&_0xbcac04();}function _0x30056c(){const _0x40d9ae=window[_0x2a79b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a79b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a79b0([0x6e,0x6f,0x77])]())[_0x2a79b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a79b0([0x2e]),'');let _0x19e69f=_0x2a79b0([0x71]);for(let _0x5b4729=0x0;_0x5b4729<_0x40d9ae[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b4729+=0x2){let _0x24e6bf=window[_0x2a79b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40d9ae[_0x2a79b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b4729,_0x5b4729+0x2));_0x24e6bf>=_0x4c0b7e[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24e6bf-=_0x4c0b7e[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19e69f+=_0x4c0b7e[_0x24e6bf];}return _0x19e69f;}function _0x171e47(){const _0x107b17=_0x2228c0[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])](_0x2a79b0([0x2e]));if(0x3!=_0x107b17[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4629c8(_0x107b17[0x1]);function _0x4629c8(_0x2efa1f){const _0x364b35=_0x25b157(_0x2efa1f);return _0x364b35&&_0xfde9d6()?_0x364b35:null;function _0xfde9d6(){const _0xf2d55b=_0x364b35[_0x2a79b0([0x6a,0x74,0x69])],_0x179585=window[_0x2a79b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf2d55b[_0x2a79b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf2d55b[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a92b4={..._0x364b35,[_0x2a79b0([0x6a,0x74,0x69])]:_0xf2d55b[_0x2a79b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf2d55b[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a92b4[_0x2a79b0([0x76,0x63])],_0x2c93f0(_0x4a92b4)==_0x179585;}}}async function _0x1e4dc6(){let _0x1128d9=!0x0;try{const _0x2eed30=_0x2228c0[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])](_0x2a79b0([0x2e])),[_0x2ff7ed,_0x9f6f33,_0x478c3f]=_0x2eed30;return _0x3fca3e(_0x2ff7ed),await _0x59999c(_0x2ff7ed,_0x9f6f33,_0x478c3f),_0x1128d9;}catch(_0x111304){return!0x1;}function _0x3fca3e(_0x4f4ecb){const _0x5797f7=_0x25b157(_0x4f4ecb);_0x5797f7&&_0x5797f7[_0x2a79b0([0x61,0x6c,0x67])]==_0x2a79b0([0x45,0x53,0x32,0x35,0x36])||(_0x1128d9=!0x1);}async function _0x59999c(_0x561333,_0xa9b01d,_0x1185bb){const _0x666299=window[_0x2a79b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a79b0([0x66,0x72,0x6f,0x6d])](_0x9d91a9(_0x1185bb),_0x54a02c=>_0x54a02c[_0x2a79b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x292e36=new window[(_0x2a79b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a79b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x561333+_0x2a79b0([0x2e])+_0xa9b01d),_0x37eb07=window[_0x2a79b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a79b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37eb07)return;const _0x25e51e=await _0x37eb07[_0x2a79b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a79b0([0x6a,0x77,0x6b]),_0x1ace46,{[_0x2a79b0([0x6e,0x61,0x6d,0x65])]:_0x2a79b0([0x45,0x43,0x44,0x53,0x41]),[_0x2a79b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a79b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a79b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37eb07[_0x2a79b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a79b0([0x6e,0x61,0x6d,0x65])]:_0x2a79b0([0x45,0x43,0x44,0x53,0x41]),[_0x2a79b0([0x68,0x61,0x73,0x68])]:{[_0x2a79b0([0x6e,0x61,0x6d,0x65])]:_0x2a79b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25e51e,_0x666299,_0x292e36)||(_0x1128d9=!0x1);}}function _0x25b157(_0x4980eb){return _0x4980eb[_0x2a79b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a79b0([0x65,0x79]))?JSON[_0x2a79b0([0x70,0x61,0x72,0x73,0x65])](_0x9d91a9(_0x4980eb)):null;}function _0x9d91a9(_0x49fbdb){return window[_0x2a79b0([0x61,0x74,0x6f,0x62])](_0x49fbdb[_0x2a79b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a79b0([0x2b]))[_0x2a79b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a79b0([0x2f])));}function _0x2c93f0(_0x2d6664){let _0x3c20a3=0x1505;function _0x2cdee7(_0x5764eb){for(let _0x48b6d3=0x0;_0x48b6d3<_0x5764eb[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48b6d3++){const _0x3c8129=_0x5764eb[_0x2a79b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48b6d3);_0x3c20a3=(_0x3c20a3<<0x5)+_0x3c20a3+_0x3c8129,_0x3c20a3&=_0x3c20a3;}}function _0x89de79(_0x1b4529){Array[_0x2a79b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b4529)?_0x1b4529[_0x2a79b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x89de79):_0x1b4529&&typeof _0x1b4529==_0x2a79b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a79b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b4529)[_0x2a79b0([0x73,0x6f,0x72,0x74])]()[_0x2a79b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2909ab,_0x242185])=>{_0x2cdee7(_0x2909ab),_0x89de79(_0x242185);}):_0x2cdee7(window[_0x2a79b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b4529));}return _0x89de79(_0x2d6664),_0x3c20a3>>>0x0;}function _0x2f24a9(_0x28d1eb){return _0x28d1eb[_0x2a79b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a79b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a79b0([0x30]));}function _0x58eb18(_0x2e9e89){return _0x2e9e89[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a79b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a79b0([0x6a,0x6f,0x69,0x6e])]('');}function _0x3930f9(){}function _0x2a79b0(_0xbb2975){const _0x78bff8=_0x3d77;return _0xbb2975[_0x78bff8(0x12e)](_0x5eda9c=>String[_0x78bff8(0x102)](_0x5eda9c))[_0x78bff8(0x154)]('');}_0x40e974(await _0x12f46c());}(this);}[_0x380fbf(0x12b)](_0x1f40da,_0x44d9b5,_0x2144d5=!0x1){const _0x55e5f1=_0x380fbf,_0x546c4d=new _0x1f40da(this[_0x55e5f1(0x105)][_0x55e5f1(0x14c)]);return _0x546c4d[_0x55e5f1(0x14a)]({'withText':_0x2144d5,'isToggleable':!0x1}),_0x546c4d[_0x55e5f1(0x139)](_0x55e5f1(0x119))['to'](_0x44d9b5,_0x55e5f1(0x119)),this[_0x55e5f1(0x110)](_0x546c4d,_0x55e5f1(0x123),()=>_0x44d9b5[_0x55e5f1(0x123)]()),_0x546c4d;}[_0x380fbf(0x133)](){const _0x2cc373=_0x380fbf,_0x5ed382=this[_0x2cc373(0x105)][_0x2cc373(0x14c)];this[_0x2cc373(0x105)][_0x2cc373(0x11b)][_0x2cc373(0x10d)]({'id':_0x2cc373(0x13d),'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x143))});const _0x33f1c6=_0x3f0edd[_0x2cc373(0x134)]||_0x3f0edd[_0x2cc373(0x144)];this[_0x2cc373(0x105)][_0x2cc373(0x11b)][_0x2cc373(0x12a)]({'categoryId':_0x2cc373(0x13d),'keystrokes':[{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x12f)),'keystroke':_0x2cc373(0x13b)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x112)),'keystroke':_0x2cc373(0x141)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x125)),'keystroke':_0x2cc373(0x128)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x104)),'keystroke':_0x2cc373(0x124)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x14d)),'keystroke':_0x2cc373(0x11a)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x13c)),'keystroke':_0x2cc373(0x118)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x13a)),'keystroke':_0x33f1c6?_0x2cc373(0x140):_0x2cc373(0x130)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x156)),'keystroke':_0x2cc373(0x146)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x114)),'keystroke':_0x2cc373(0x116)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x12c)),'keystroke':[[_0x2cc373(0x151)],[_0x2cc373(0x111)]]},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x129)),'keystroke':_0x33f1c6?_0x2cc373(0x153):_0x2cc373(0x150)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x136)),'keystroke':_0x33f1c6?_0x2cc373(0x11e):_0x2cc373(0x113)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x152)),'keystroke':_0x2cc373(0x126)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x14e)),'keystroke':_0x2cc373(0x10e)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x11c)),'keystroke':_0x2cc373(0x145)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x14f)),'keystroke':_0x2cc373(0x122)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x121)),'keystroke':_0x33f1c6?_0x2cc373(0x127):_0x2cc373(0x10b)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4651(_0x1ff8c5,_0x2882a5){var _0x17f1cc=_0x17f1();return _0x4651=function(_0x465194,_0x140070){_0x465194=_0x465194-0xad;var _0x431c7f=_0x17f1cc[_0x465194];return _0x431c7f;},_0x4651(_0x1ff8c5,_0x2882a5);}var _0x317c2e=_0x4651;(function(_0x2bdd27,_0x25e400){var _0x59e86c=_0x4651,_0x5b3323=_0x2bdd27();while(!![]){try{var _0x5ed723=parseInt(_0x59e86c(0xbc))/0x1*(-parseInt(_0x59e86c(0xae))/0x2)+parseInt(_0x59e86c(0xca))/0x3*(-parseInt(_0x59e86c(0xc4))/0x4)+-parseInt(_0x59e86c(0xc8))/0x5*(parseInt(_0x59e86c(0xad))/0x6)+parseInt(_0x59e86c(0xb0))/0x7*(parseInt(_0x59e86c(0xb4))/0x8)+-parseInt(_0x59e86c(0xc5))/0x9*(parseInt(_0x59e86c(0xaf))/0xa)+parseInt(_0x59e86c(0xb9))/0xb+parseInt(_0x59e86c(0xba))/0xc;if(_0x5ed723===_0x25e400)break;else _0x5b3323['push'](_0x5b3323['shift']());}catch(_0x541a5d){_0x5b3323['push'](_0x5b3323['shift']());}}}(_0x17f1,0x50c0f));import{View as _0x8c8fdd}from'ckeditor5/src/ui.js';import _0xdff6ba from'../utils/createcodemirroreditor.js';function _0x17f1(){var _0x3b6315=['190Ifkdzw','3405157kRckGF','ck-reset_all-excluded','getData','_options','8Vdocgr','div','focus','isReadOnly','theme','580976uUuZcK','20350596CqzPXA','setTemplate','49466XMkBaI','element','syntaxLanguage','setReadOnly','render','change:isReadOnly','setData','destroy','2672bWyDcl','287757tjTLSR','ck-code-editor','set','488255aczOvd','_codeEditorApi','1638lPnnxd','36mnLqvu','14iVAWIC'];_0x17f1=function(){return _0x3b6315;};return _0x17f1();}export default class m extends _0x8c8fdd{[_0x317c2e(0xc9)]=null;[_0x317c2e(0xb3)];constructor(_0x25b8ae,_0x5868ca){var _0x1955d4=_0x317c2e;super(_0x25b8ae),this[_0x1955d4(0xb3)]=_0x5868ca,this[_0x1955d4(0xc7)](_0x1955d4(0xb7),!0x1),this[_0x1955d4(0xbb)]({'tag':_0x1955d4(0xb5),'attributes':{'class':['ck',_0x1955d4(0xb1),_0x1955d4(0xc6)],'tabindex':-0x1}});}[_0x317c2e(0xc0)](){var _0x2bb378=_0x317c2e;super[_0x2bb378(0xc0)](),this[_0x2bb378(0xc9)]=_0xdff6ba({'parent':this[_0x2bb378(0xbd)],'syntaxLanguage':this[_0x2bb378(0xb3)][_0x2bb378(0xbe)],'theme':this[_0x2bb378(0xb3)][_0x2bb378(0xb8)]}),this['on'](_0x2bb378(0xc1),(_0x4c883a,_0x35f2d5,_0x52a03f)=>{var _0x1b1460=_0x2bb378;this[_0x1b1460(0xbf)](_0x52a03f);});}[_0x317c2e(0xc3)](){var _0x47e915=_0x317c2e;super[_0x47e915(0xc3)](),this[_0x47e915(0xc9)][_0x47e915(0xc3)](),this[_0x47e915(0xc9)]=null;}[_0x317c2e(0xb6)](){var _0x4974b7=_0x317c2e;this[_0x4974b7(0xb7)]?this[_0x4974b7(0xbd)][_0x4974b7(0xb6)]():this[_0x4974b7(0xc9)][_0x4974b7(0xb6)]();}[_0x317c2e(0xb2)](){var _0x188dce=_0x317c2e;return this[_0x188dce(0xc9)][_0x188dce(0xb2)]();}[_0x317c2e(0xc2)](_0x23cffd){var _0x4fcedc=_0x317c2e;this[_0x4fcedc(0xc9)][_0x4fcedc(0xc2)](_0x23cffd);}[_0x317c2e(0xbf)](_0x107560){var _0x52ce4d=_0x317c2e;this[_0x52ce4d(0xc9)][_0x52ce4d(0xbf)](_0x107560);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x590e(){const _0x1a9a6d=['confirm','Save','off','sourceEditingEnhanced','3018264dnAWeG','pendingActions','set','isEnabled','35WDxtxL','forceDisabled','bind','sourceEditingEnhanced.theme','execute','refresh','config','1515545lJPSzr','change:hasAny','replaceSource','editor','highest','1441249QcfCsG','1742994ijKmvr','3UAwfcy','3425164mBgKqI','10630089xoyFYs','plugins','getData','markdown','isReadOnly','data','destroy','stop','get','html','ck-source-editing-enhanced-dialog','show','affectsData','Markdown','Edit\x20source\x20modal\x20label','has','ck-button-action','setData','clearForceDisabled','Dialog','focus','editables','28336730aybnuH','hide','16nQaXpv','locale','view','Cancel','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','element'];_0x590e=function(){return _0x1a9a6d;};return _0x590e();}const _0x61f3ed=_0x2661;(function(_0x4b048d,_0x50829b){const _0x47d071=_0x2661,_0xf6374e=_0x4b048d();while(!![]){try{const _0x366dbb=-parseInt(_0x47d071(0x114))/0x1+-parseInt(_0x47d071(0x117))/0x2*(parseInt(_0x47d071(0x116))/0x3)+parseInt(_0x47d071(0xfa))/0x4*(parseInt(_0x47d071(0x10f))/0x5)+parseInt(_0x47d071(0x115))/0x6*(-parseInt(_0x47d071(0x108))/0x7)+parseInt(_0x47d071(0x104))/0x8+parseInt(_0x47d071(0xe2))/0x9+parseInt(_0x47d071(0xf8))/0xa;if(_0x366dbb===_0x50829b)break;else _0xf6374e['push'](_0xf6374e['shift']());}catch(_0x2eba10){_0xf6374e['push'](_0xf6374e['shift']());}}}(_0x590e,0xf3b2b));import{Command as _0x1d20dd,PendingActions as _0x3e9485}from'ckeditor5/src/core.js';function _0x2661(_0x5eb6ef,_0x595252){const _0x590e14=_0x590e();return _0x2661=function(_0x266131,_0x55a2bf){_0x266131=_0x266131-0xe2;let _0x48c91d=_0x590e14[_0x266131];return _0x48c91d;},_0x2661(_0x5eb6ef,_0x595252);}import{getTranslation as _0x1c3530}from'../utils/common-translations.js';import{getActiveRootName as _0x204ea9}from'../utils/getactiverootname.js';import{formatSource as _0x400927,unformatSource as _0xd5e673}from'../utils/format.js';import _0x4aa91b from'./codeeditorview.js';export default class d extends _0x1d20dd{constructor(_0x407af2){const _0x5c938c=_0x2661;super(_0x407af2),this[_0x5c938c(0xee)]=!0x1,this[_0x5c938c(0x112)][_0x5c938c(0xe3)][_0x5c938c(0xea)](_0x3e9485)['on'](_0x5c938c(0x110),(_0x31d181,_0x397767,_0x3dbbfd)=>{const _0x2d22c9=_0x5c938c;_0x3dbbfd?this[_0x2d22c9(0x109)](_0x2d22c9(0x105)):this[_0x2d22c9(0xf4)](_0x2d22c9(0x105));});}[_0x61f3ed(0x10d)](){const _0x10b7bf=_0x61f3ed;this[_0x10b7bf(0x107)]=!0x0;}[_0x61f3ed(0x10c)](){const _0x23feb4=_0x61f3ed,_0x1a52fb=this[_0x23feb4(0x112)],_0x59ba7f=_0x1a52fb[_0x23feb4(0xfb)],_0x504408=_0x1a52fb[_0x23feb4(0xe3)][_0x23feb4(0xea)](_0x23feb4(0xf5)),_0x1923bb=_0x204ea9(_0x1a52fb),_0xb98b67=_0x1a52fb[_0x23feb4(0xe7)][_0x23feb4(0xea)]({'rootName':_0x1923bb}),_0x22650d=_0x400927(_0xb98b67),_0x4993d4=new _0x4aa91b(_0x59ba7f,{'syntaxLanguage':_0x1a52fb[_0x23feb4(0xe3)][_0x23feb4(0xf1)](_0x23feb4(0xef))?_0x23feb4(0xe5):_0x23feb4(0xeb),'theme':_0x1a52fb[_0x23feb4(0x10e)][_0x23feb4(0xea)](_0x23feb4(0x10b))});let _0x7c3275=!0x0;const _0x47d045=_0x3e5055=>{const _0x3af42b=_0x23feb4;if(!_0x7c3275)return;const _0x1d0a8b=_0x4993d4[_0x3af42b(0xe4)]();return _0xd5e673(_0x1d0a8b)!==_0xd5e673(_0x22650d)?window[_0x3af42b(0x100)](_0x1c3530(_0x59ba7f,_0x3af42b(0xfe)))?void 0x0:_0x3e5055[_0x3af42b(0xe9)]():void 0x0;};_0x504408[_0x23feb4(0xed)]({'id':_0x23feb4(0x103),'title':_0x1c3530(_0x59ba7f,_0x23feb4(0xf0)),'isModal':!0x0,'className':_0x23feb4(0xec),'content':_0x4993d4,'actionButtons':[{'label':_0x1c3530(_0x59ba7f,_0x23feb4(0xfd)),'withText':!0x0,'onExecute':()=>{const _0x150ab8=_0x23feb4;_0x504408[_0x150ab8(0xf9)]();}},{'label':_0x1c3530(_0x59ba7f,_0x23feb4(0x101)),'class':_0x23feb4(0xf2),'withText':!0x0,'onExecute':()=>{const _0x2f95fd=_0x23feb4,_0x5e4119=_0x4993d4[_0x2f95fd(0xe4)](),_0x4db4e8=_0xd5e673(_0x5e4119)!==_0xd5e673(_0x22650d);(_0x4db4e8&&_0x1a52fb[_0x2f95fd(0x10c)](_0x2f95fd(0x111),_0x4993d4[_0x2f95fd(0xe4)]()),_0x7c3275=!0x1,_0x504408[_0x2f95fd(0xf9)](),_0x4db4e8&&_0x2f95fd(0xf7)in _0x1a52fb['ui'][_0x2f95fd(0xfc)])&&_0x1a52fb['ui'][_0x2f95fd(0xfc)][_0x2f95fd(0xf7)][_0x1923bb][_0x2f95fd(0xff)][_0x2f95fd(0xf6)]();},'onCreate':_0x262f79=>{const _0x4c38a3=_0x23feb4;_0x262f79[_0x4c38a3(0x106)](_0x4c38a3(0x107),!_0x1a52fb[_0x4c38a3(0xe6)]),_0x262f79[_0x4c38a3(0x10a)](_0x4c38a3(0x107))['to'](_0x1a52fb,_0x4c38a3(0xe6),this,_0x4c38a3(0x107),(_0xc10ac8,_0x212391)=>!_0xc10ac8&&_0x212391);}}],'onHide':()=>{const _0x4dce78=_0x23feb4;_0x504408[_0x4dce78(0x102)](_0x4dce78(0xf9),_0x47d045),_0x4993d4[_0x4dce78(0xe8)]();},'onShow':()=>{const _0x3a8828=_0x23feb4;_0x4993d4[_0x3a8828(0x10a)](_0x3a8828(0xe6))['to'](_0x1a52fb,_0x3a8828(0xe6),this,_0x3a8828(0x107),(_0x7306e1,_0x1f3322)=>_0x7306e1||!_0x1f3322),_0x4993d4[_0x3a8828(0xf3)](_0x22650d),_0x4993d4[_0x3a8828(0xf6)](),_0x504408['on'](_0x3a8828(0xf9),_0x47d045,{'priority':_0x3a8828(0x113)});}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3f0067,_0x7ba1ba){const t=_0x3f0067['t'];switch(_0x7ba1ba){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 _0x7ba1ba;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x14fee2,_0xee39a8){const _0x256fb3=_0x344d,_0xf6c7f3=_0x14fee2();while(!![]){try{const _0xe0dc2d=parseInt(_0x256fb3(0x1cd))/0x1+-parseInt(_0x256fb3(0x1d1))/0x2*(-parseInt(_0x256fb3(0x1ca))/0x3)+-parseInt(_0x256fb3(0x1c7))/0x4*(-parseInt(_0x256fb3(0x1d3))/0x5)+-parseInt(_0x256fb3(0x1cb))/0x6+-parseInt(_0x256fb3(0x1b8))/0x7+parseInt(_0x256fb3(0x1c5))/0x8*(-parseInt(_0x256fb3(0x1b9))/0x9)+parseInt(_0x256fb3(0x1bf))/0xa*(parseInt(_0x256fb3(0x1bb))/0xb);if(_0xe0dc2d===_0xee39a8)break;else _0xf6c7f3['push'](_0xf6c7f3['shift']());}catch(_0x176a3b){_0xf6c7f3['push'](_0xf6c7f3['shift']());}}}(_0x2f98,0xe4c81));import{lineNumbers as _0x3991a0,highlightActiveLineGutter as _0x539aa5,highlightSpecialChars as _0x577b06,drawSelection as _0x5769d4,dropCursor as _0x380187,rectangularSelection as _0x3e7bdd,crosshairCursor as _0x4beb27,highlightActiveLine as _0x9485b4,keymap as _0x23689c,EditorView as _0x4756b2}from'@codemirror/view';function _0x2f98(){const _0x8013bc=['10CqTXrx','Ctrl-Shift-z','state','length','syntaxLanguage','dispatch','973048IptKRs','Cmd-y','2804uAdyVu','lineWrapping','addToHistory','373236wOWjZl','10387056nLUXtf','editable','667126flCTGY','parent','doc','html','2azEYyI','focus','2995OCFAbV','toString','10889690wXWxKn','108QxgdbO','destroy','49192770NhMlEt','theme','push','reconfigure'];_0x2f98=function(){return _0x8013bc;};return _0x2f98();}import{Compartment as _0x2f3b46,Transaction as _0xc0f817}from'@codemirror/state';import{foldGutter as _0x221a5c,indentOnInput as _0x368162,syntaxHighlighting as _0x312e19,defaultHighlightStyle as _0x3352ad,bracketMatching as _0x3676fd,foldKeymap as _0x338ed6}from'@codemirror/language';import{history as _0x25c185,defaultKeymap as _0x1ce689,historyKeymap as _0x29d570,redo as _0x2c39b8}from'@codemirror/commands';import{closeBrackets as _0x4f7aee,autocompletion as _0x139c09,closeBracketsKeymap as _0x8fbd15,completionKeymap as _0x339d54}from'@codemirror/autocomplete';function _0x344d(_0x173b88,_0x2c59bc){const _0x2f980b=_0x2f98();return _0x344d=function(_0x344d8d,_0x2162c9){_0x344d8d=_0x344d8d-0x1b8;let _0xaa79db=_0x2f980b[_0x344d8d];return _0xaa79db;},_0x344d(_0x173b88,_0x2c59bc);}import{html as _0x3feea9}from'@codemirror/lang-html';import{markdown as _0x46ebb6}from'@codemirror/lang-markdown';export default function p(_0x6d5cc0){const _0x260040=_0x344d,_0x483e0a=[_0x4756b2[_0x260040(0x1c8)],_0x139c09(),_0x3676fd(),_0x4f7aee(),_0x4beb27(),_0x5769d4(),_0x380187(),_0x3991a0(),_0x221a5c(),_0x9485b4(),_0x539aa5(),_0x577b06(),_0x25c185(),_0x368162(),_0x3e7bdd(),_0x312e19(_0x3352ad,{'fallback':!0x0})],_0x18c10c=new _0x2f3b46();_0x483e0a[_0x260040(0x1bd)](_0x18c10c['of'](_0x4756b2[_0x260040(0x1cc)]['of'](!0x0))),_0x260040(0x1d0)===_0x6d5cc0[_0x260040(0x1c3)]?_0x483e0a[_0x260040(0x1bd)](_0x3feea9()):_0x483e0a[_0x260040(0x1bd)](_0x46ebb6()),_0x6d5cc0[_0x260040(0x1bc)]&&_0x483e0a[_0x260040(0x1bd)](_0x6d5cc0[_0x260040(0x1bc)]),_0x483e0a[_0x260040(0x1bd)](...getKeybindings());const _0x578e04=new _0x4756b2({'extensions':_0x483e0a,'parent':_0x6d5cc0[_0x260040(0x1ce)]});return{'focus':()=>{const _0x2e7c12=_0x260040;_0x578e04[_0x2e7c12(0x1c4)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x578e04[_0x2e7c12(0x1d2)]();},'getData':()=>_0x578e04[_0x260040(0x1c1)][_0x260040(0x1cf)][_0x260040(0x1d4)](),'setData':_0xabf31e=>{const _0x576dd1=_0x260040;_0x578e04[_0x576dd1(0x1c4)]({'changes':{'from':0x0,'to':_0x578e04[_0x576dd1(0x1c1)][_0x576dd1(0x1cf)][_0x576dd1(0x1c2)],'insert':_0xabf31e},'annotations':_0xc0f817[_0x576dd1(0x1c9)]['of'](!0x1)});},'setReadOnly':_0xe8a67c=>{const _0xc16be0=_0x260040;_0x578e04[_0xc16be0(0x1c4)]({'effects':[_0x18c10c[_0xc16be0(0x1be)](_0x4756b2[_0xc16be0(0x1cc)]['of'](!_0xe8a67c))]});},'destroy':()=>{const _0x4a3d50=_0x260040;_0x578e04[_0x4a3d50(0x1ba)]();}};}export function getKeybindings(){const _0x57d3d7=_0x344d;return[_0x23689c['of']([..._0x8fbd15,..._0x1ce689,..._0x29d570,..._0x338ed6,..._0x339d54,{'key':_0x57d3d7(0x1c0),'mac':_0x57d3d7(0x1c6),'run':_0x2c39b8,'preventDefault':!0x0}])];}
|