@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250131.0 → 0.0.0-nightly-20250202.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/dist/index.js +1 -1
- package/package.json +11 -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/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x400638,PendingActions as _0x12f5aa,Plugin as _0x218790,icons as _0x3ef147}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x17621a,env as _0x2645de,uid as _0x193fea}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xfbdaa5,ButtonView as _0x18acea,MenuBarMenuListItemButtonView as _0x46c9aa}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4c5aa7,keymap as _0x3f0da3,crosshairCursor as _0x2f56fa,drawSelection as _0xf6e71d,dropCursor as _0x4f9a01,lineNumbers as _0x18fd41,highlightActiveLine as _0x21a091,highlightActiveLineGutter as _0xc5d759,highlightSpecialChars as _0x397a3c,rectangularSelection as _0x1248c2}from'@codemirror/view';import{Compartment as _0x158b0f,Transaction as _0x304059}from'@codemirror/state';import{foldKeymap as _0x5692f8,bracketMatching as _0x228f42,foldGutter as _0xb6ccf9,indentOnInput as _0x172705,syntaxHighlighting as _0x4ddafb,defaultHighlightStyle as _0x36d82d}from'@codemirror/language';import{defaultKeymap as _0x3afe27,historyKeymap as _0x1da45c,redo as _0x1c1653,history as _0x5daa76}from'@codemirror/commands';import{closeBracketsKeymap as _0xa48165,completionKeymap as _0xf42de2,autocompletion as _0x2d915e,closeBrackets as _0x20d3a5}from'@codemirror/autocomplete';import{html as _0x3eff20}from'@codemirror/lang-html';import{markdown as _0x5c6729}from'@codemirror/lang-markdown';function f(_0x100626,_0x193acd){const t=_0x100626['t'];switch(_0x193acd){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 _0x193acd;}}function o(_0x4254af){const _0x2aa78e=_0x4254af['editing']['view']['document']['roots'],_0x470f66=_0x2aa78e['length'];if(0x0===_0x470f66)throw new _0x17621a('source-editing-enhanced-editor-no-root',_0x4254af);if(0x1===_0x470f66)return _0x2aa78e['first']['rootName'];return Array['from'](_0x4254af['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x5b640f){return $(_0x5b640f)?function(_0x596139){const _0x536973=[{'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}],_0x5030c9=_0x536973['map'](_0x56217b=>_0x56217b['name'])['join']('|'),_0x830661=_0x596139['replace'](new RegExp('</?('+_0x5030c9+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x43983a=0x0,_0x15a26e=!0x1;return _0x830661['filter'](_0x532677=>_0x532677['length'])['map'](_0x1d6b41=>(_0x15a26e=function(_0x4f6943,_0x56f02a){return new RegExp('<pre(\x20.*?)?>')['test'](_0x4f6943)?'first':new RegExp('</pre>')['test'](_0x4f6943)?'last':('first'===_0x56f02a||'middle'===_0x56f02a)&&'middle';}(_0x1d6b41,_0x15a26e),function(_0x446045,_0x468505){return _0x468505['some'](_0x313b6b=>!_0x313b6b['isVoid']&&!!new RegExp('<'+_0x313b6b['name']+'(\x20.*?)?>')['test'](_0x446045));}(_0x1d6b41,_0x536973)?X(_0x1d6b41,_0x43983a++):function(_0x39b48e,_0x2403f9){return _0x2403f9['some'](_0x398de1=>new RegExp('</'+_0x398de1['name']+'>')['test'](_0x39b48e));}(_0x1d6b41,_0x536973)?X(_0x1d6b41,--_0x43983a):'middle'===_0x15a26e||'last'===_0x15a26e?_0x1d6b41:X(_0x1d6b41,_0x43983a)))['join']('\x0a');}(_0x5b640f):_0x5b640f;}function E(_0xf3136c){return $(_0xf3136c['replace'](/^[\n\s]*/g,''))?_0xf3136c['replace'](/\s+/g,''):_0xf3136c;}function $(_0x22280d){return _0x22280d['startsWith']('<');}function X(_0xe7ec62,_0xac255d,_0x42a8ab='\x20\x20\x20\x20'){return''+_0x42a8ab['repeat'](Math['max'](0x0,_0xac255d))+_0xe7ec62;}function p(_0x407bc7){const _0x37ce82=[_0x4c5aa7['lineWrapping'],_0x2d915e(),_0x228f42(),_0x20d3a5(),_0x2f56fa(),_0xf6e71d(),_0x4f9a01(),_0x18fd41(),_0xb6ccf9(),_0x21a091(),_0xc5d759(),_0x397a3c(),_0x5daa76(),_0x172705(),_0x1248c2(),_0x4ddafb(_0x36d82d,{'fallback':!0x0})],_0x2e3b6c=new _0x158b0f();_0x37ce82['push'](_0x2e3b6c['of'](_0x4c5aa7['editable']['of'](!0x0))),'html'===_0x407bc7['syntaxLanguage']?_0x37ce82['push'](_0x3eff20()):_0x37ce82['push'](_0x5c6729()),_0x407bc7['theme']&&_0x37ce82['push'](_0x407bc7['theme']),_0x37ce82['push'](_0x3f0da3['of']([..._0xa48165,..._0x3afe27,..._0x1da45c,..._0x5692f8,..._0xf42de2,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x1c1653,'preventDefault':!0x0}]));const _0x36eaa2=new _0x4c5aa7({'extensions':_0x37ce82,'parent':_0x407bc7['parent']});return{'focus':()=>{_0x36eaa2['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x36eaa2['focus']();},'getData':()=>_0x36eaa2['state']['doc']['toString'](),'setData':_0x3fc604=>{_0x36eaa2['dispatch']({'changes':{'from':0x0,'to':_0x36eaa2['state']['doc']['length'],'insert':_0x3fc604},'annotations':_0x304059['addToHistory']['of'](!0x1)});},'setReadOnly':_0x362989=>{_0x36eaa2['dispatch']({'effects':[_0x2e3b6c['reconfigure'](_0x4c5aa7['editable']['of'](!_0x362989))]});},'destroy':()=>{_0x36eaa2['destroy']();}};}class m extends _0xfbdaa5{constructor(_0x1f0b14,_0x242bbe){super(_0x1f0b14),this['_codeEditorApi']=null,this['_options']=_0x242bbe,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',(_0x3a8260,_0x5794e4,_0xff5edf)=>{this['setReadOnly'](_0xff5edf);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xf3bfac){this['_codeEditorApi']['setData'](_0xf3bfac);}['setReadOnly'](_0x21f092){this['_codeEditorApi']['setReadOnly'](_0x21f092);}}class d extends _0x400638{constructor(_0x373662){super(_0x373662),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x12f5aa)['on']('change:hasAny',(_0xf4e46e,_0xdea0b9,_0x5991e7)=>{_0x5991e7?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x276194=this['editor'],_0x1627af=_0x276194['locale'],_0x2a51a1=_0x276194['plugins']['get']('Dialog'),_0x3a29f4=o(_0x276194),_0x6ec4b2=g(_0x276194['data']['get']({'rootName':_0x3a29f4})),_0x3cda82=new m(_0x1627af,{'syntaxLanguage':_0x276194['plugins']['has']('Markdown')?'markdown':'html','theme':_0x276194['config']['get']('sourceEditingEnhanced.theme')});let _0x26f8ec=!0x0;const _0x13e7ea=_0x1ade25=>{if(!_0x26f8ec)return;return E(_0x3cda82['getData']())!==E(_0x6ec4b2)?window['confirm'](f(_0x1627af,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1ade25['stop']():void 0x0;};_0x2a51a1['show']({'id':'sourceEditingEnhanced','title':f(_0x1627af,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3cda82,'actionButtons':[{'label':f(_0x1627af,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x2a51a1['hide']();}},{'label':f(_0x1627af,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4d9ddf=E(_0x3cda82['getData']())!==E(_0x6ec4b2);(_0x4d9ddf&&_0x276194['execute']('replaceSource',_0x3cda82['getData']()),_0x26f8ec=!0x1,_0x2a51a1['hide'](),_0x4d9ddf&&'editables'in _0x276194['ui']['view'])&&_0x276194['ui']['view']['editables'][_0x3a29f4]['element']['focus']();},'onCreate':_0x2d2e70=>{_0x2d2e70['set']('isEnabled',!_0x276194['isReadOnly']),_0x2d2e70['bind']('isEnabled')['to'](_0x276194,'isReadOnly',this,'isEnabled',(_0x2fc240,_0x510731)=>!_0x2fc240&&_0x510731);}}],'onHide':()=>{_0x2a51a1['off']('hide',_0x13e7ea),_0x3cda82['destroy']();},'onShow':()=>{_0x3cda82['bind']('isReadOnly')['to'](_0x276194,'isReadOnly',this,'isEnabled',(_0x57a41a,_0x7b1666)=>_0x57a41a||!_0x7b1666),_0x3cda82['setData'](_0x6ec4b2),_0x3cda82['focus'](),_0x2a51a1['on']('hide',_0x13e7ea,{'priority':'highest'});}});}}class n extends _0x218790{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x12f5aa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x582e49=this['editor'],_0x406d93=_0x582e49['locale'],_0x590f0a=new d(_0x582e49);_0x582e49['commands']['add']('editSource',_0x590f0a),_0x582e49['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3fc681=this['_createButton'](_0x18acea,_0x590f0a);return _0x3fc681['set']({'label':f(_0x406d93,'Source'),'icon':_0x3ef147['source'],'tooltip':f(_0x406d93,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3fc681;}),_0x582e49['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2bafba=this['_createButton'](_0x46c9aa,_0x590f0a,!0x0);return _0x2bafba['set']({'label':f(_0x406d93,'Edit\x20source\x20modal\x20label'),'icon':_0x3ef147['source'],'role':'menuitemcheckbox'}),_0x2bafba;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xdf3652){const _0x50b8c7=_0x482053([0x79,0x4b,0x59,0x62,0x64,0x63,0x43,0x6b,0x53,0x6a,0x74,0x6d,0x35,0x4d,0x65,0x75,0x69,0x77,0x6f,0x48,0x49,0x5a,0x61,0x44,0x37,0x4a,0x45,0x34,0x57,0x6e,0x32,0x7a,0x50,0x6c,0x51,0x55,0x67,0x58,0x68,0x33,0x78,0x4f,0x38,0x72,0x52,0x30,0x54,0x76,0x4c,0x31,0x4e,0x66,0x71,0x42,0x70,0x46,0x39,0x73,0x47,0x36,0x41,0x56]),_0x569980=0x24f648c7,_0x4544dc=0x24f116ef^_0x569980,_0x2b61b9=window[_0x482053([0x44,0x61,0x74,0x65])][_0x482053([0x6e,0x6f,0x77])](),_0x5e18a0=_0xdf3652[_0x482053([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x173117=new window[(_0x482053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf4d3dc=>{_0x5e18a0[_0x482053([0x6f,0x6e,0x63,0x65])](_0x482053([0x72,0x65,0x61,0x64,0x79]),_0xf4d3dc);}),_0x5e0e5b={[_0x482053([0x6b,0x74,0x79])]:_0x482053([0x45,0x43]),[_0x482053([0x75,0x73,0x65])]:_0x482053([0x73,0x69,0x67]),[_0x482053([0x63,0x72,0x76])]:_0x482053([0x50,0x2d,0x32,0x35,0x36]),[_0x482053([0x78])]:_0x482053([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]),[_0x482053([0x79])]:_0x482053([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]),[_0x482053([0x61,0x6c,0x67])]:_0x482053([0x45,0x53,0x32,0x35,0x36])},_0x5081a8=_0x5e18a0[_0x482053([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x482053([0x67,0x65,0x74])](_0x482053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2014b8(){let _0x2da29f,_0x5da7f2=null,_0x2187a0=null;try{if(_0x5081a8==_0x482053([0x47,0x50,0x4c]))return _0x482053([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2da29f=_0x2f8c9c(),!_0x2da29f)return _0x482053([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2da29f[_0x482053([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2187a0=_0x6a244(_0x2da29f[_0x482053([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2da29f[_0x482053([0x6a,0x74,0x69])])),await _0x42bc1c()?_0x362fc6()?_0x5c0da0()?_0x482053([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x594c88()?(_0x2da29f[_0x482053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x482053([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5da7f2=_0x15071a(_0x482053([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2da29f[_0x482053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x482053([0x74,0x72,0x69,0x61,0x6c])&&(_0x5da7f2=_0x15071a(_0x482053([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41f5d0()):_0x482053([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x482053([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x482053([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4e9497){return _0x482053([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c0da0(){const _0x12f997=[_0x482053([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x482053([0x74,0x72,0x69,0x61,0x6c])][_0x482053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2da29f[_0x482053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b61b9/0x3e8:0xe10*_0x4544dc;return _0x2da29f[_0x482053([0x65,0x78,0x70])]<_0x12f997;}function _0x362fc6(){const _0x575003=_0x2da29f[_0x482053([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x575003&&(!!_0x575003[_0x482053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x482053([0x2a]))||!!_0x575003[_0x482053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x482053([0x53,0x45,0x45])));}function _0x594c88(){const _0x558d73=_0x2da29f[_0x482053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x558d73||0x0==_0x558d73[_0x482053([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14a6be}=new URL(window[_0x482053([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x558d73[_0x482053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14a6be))return!0x0;const _0xaff1a3=_0x14a6be[_0x482053([0x73,0x70,0x6c,0x69,0x74])](_0x482053([0x2e]));return _0x558d73[_0x482053([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ef87d=>_0x4ef87d[_0x482053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x482053([0x2a])))[_0x482053([0x6d,0x61,0x70])](_0x21e11f=>_0x21e11f[_0x482053([0x73,0x70,0x6c,0x69,0x74])](_0x482053([0x2e])))[_0x482053([0x73,0x6f,0x6d,0x65])](_0x3fc8b3=>_0xaff1a3[_0x482053([0x65,0x76,0x65,0x72,0x79])]((_0x1386d1,_0x33e2cc)=>_0x3fc8b3[_0x33e2cc]===_0x1386d1||_0x3fc8b3[_0x33e2cc]===_0x482053([0x2a])));}function _0x41f5d0(){return _0x5da7f2&&_0x2187a0?new window[(_0x482053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21c7d7,_0x48bff4)=>{_0x5da7f2[_0x482053([0x74,0x68,0x65,0x6e])](_0x21c7d7,_0x48bff4),_0x2187a0[_0x482053([0x74,0x68,0x65,0x6e])](_0x2ad613=>{_0x2ad613!=_0x482053([0x56,0x61,0x6c,0x69,0x64])&&_0x21c7d7(_0x2ad613);},_0x48bff4);}):_0x5da7f2||_0x2187a0||_0x482053([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6a244(_0x597061,_0x3f70cc){return new window[(_0x482053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x111b3d=>{if(_0x57eb8b())return _0x111b3d(_0x482053([0x56,0x61,0x6c,0x69,0x64]));_0x1d3361(),_0x5e18a0[_0x482053([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x482053([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x329615=!0x1;const _0x1ba63b=_0x193fea();function _0x62a253(_0x3b9c61){return!!_0x3b9c61&&(typeof _0x3b9c61===_0x482053([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b9c61===_0x482053([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b9c61[_0x482053([0x74,0x68,0x65,0x6e])]===_0x482053([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b9c61[_0x482053([0x63,0x61,0x74,0x63,0x68])]===_0x482053([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2b6bbb(_0x522ab1){_0x569c5e(_0x522ab1)[_0x482053([0x74,0x68,0x65,0x6e])](_0x24105b=>{if(!_0x24105b||_0x24105b[_0x482053([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x482053([0x6f,0x6b]))return _0x482053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x537397(_0x22a040(_0x1ba63b+_0x3f70cc))!=_0x24105b[_0x482053([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x482053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x482053([0x56,0x61,0x6c,0x69,0x64]);})[_0x482053([0x74,0x68,0x65,0x6e])](_0x5e0cd6=>(_0x362b8e(),_0x5e0cd6),()=>{const _0x44a086=_0x5ee9d6();return null==_0x44a086?(_0x362b8e(),_0x482053([0x56,0x61,0x6c,0x69,0x64])):_0x482053(_0x2b61b9-_0x44a086>(0xfaccc7^_0x569980)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x482053([0x74,0x68,0x65,0x6e])](_0x111b3d)[_0x482053([0x63,0x61,0x74,0x63,0x68])](()=>{_0x111b3d(_0x482053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5cbbd1=0x24c0a647^_0x569980;function _0x362b8e(){const _0x4e430f=_0x482053([0x6c,0x6c,0x63,0x74,0x2d])+_0x537397(_0x22a040(_0x597061)),_0xbf6f79=_0x19292b(_0x537397(window[_0x482053([0x4d,0x61,0x74,0x68])][_0x482053([0x63,0x65,0x69,0x6c])](_0x2b61b9/_0x5cbbd1)));window[_0x482053([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x482053([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e430f,_0xbf6f79);}function _0x5ee9d6(){const _0xa77ef4=_0x482053([0x6c,0x6c,0x63,0x74,0x2d])+_0x537397(_0x22a040(_0x597061)),_0x524fb6=window[_0x482053([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x482053([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa77ef4);return _0x524fb6?window[_0x482053([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19292b(_0x524fb6),0x10)*_0x5cbbd1:null;}function _0x569c5e(_0x2e15cd){return new window[(_0x482053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e5ba0,_0x22f311)=>{_0x2e15cd[_0x482053([0x74,0x68,0x65,0x6e])](_0x5e5ba0,_0x22f311),window[_0x482053([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22f311,0x24f79c07^_0x569980);});}}_0x5e18a0[_0x482053([0x6f,0x6e])](_0x482053([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52de32,_0x141ee7)=>{if(_0x141ee7[0x0]!=_0x597061)return _0x111b3d(_0x482053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x141ee7[0x1]={..._0x141ee7[0x1],[_0x482053([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ba63b};},{[_0x482053([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x482053([0x68,0x69,0x67,0x68])}),_0x5e18a0[_0x482053([0x6f,0x6e])](_0x482053([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e7c63=>{_0x62a253(_0x5e7c63[_0x482053([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x329615=!0x0,_0x2b6bbb(_0x5e7c63[_0x482053([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x482053([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x482053([0x6c,0x6f,0x77])}),_0x173117[_0x482053([0x74,0x68,0x65,0x6e])](()=>{_0x329615||_0x111b3d(_0x482053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57eb8b(){return _0x5e18a0[_0x482053([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x482053([0x76,0x69,0x65,0x77])][_0x482053([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x482053([0x61,0x75,0x74,0x6f]);}function _0x1d3361(){_0x5e18a0[_0x482053([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x482053([0x76,0x69,0x65,0x77])][_0x482053([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x482053([0x61,0x75,0x74,0x6f]);}}function _0x15071a(_0x258f81){const _0x2951ef=[new window[(_0x482053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20668c=>setTimeout(_0x20668c,0x24ff760b^_0x569980)),_0x173117[_0x482053([0x74,0x68,0x65,0x6e])](()=>new window[(_0x482053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7de48b=>{let _0x51d5fe=0x0;_0x5e18a0[_0x482053([0x6d,0x6f,0x64,0x65,0x6c])][_0x482053([0x6f,0x6e])](_0x482053([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x970d9d,_0x51a4f8)=>{_0x51a4f8[0x0][_0x482053([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51d5fe++,_0x51d5fe==(0x24f6493f^_0x569980)&&(_0x7de48b(),_0x970d9d[_0x482053([0x6f,0x66,0x66])]());});}))];return window[_0x482053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x482053([0x72,0x61,0x63,0x65])](_0x2951ef)[_0x482053([0x74,0x68,0x65,0x6e])](()=>_0x258f81);}async function _0x2b3009(){await _0x173117,_0x5e18a0[_0x482053([0x6d,0x6f,0x64,0x65,0x6c])][_0x482053([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc3af37,_0x5e18a0[_0x482053([0x6d,0x6f,0x64,0x65,0x6c])][_0x482053([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc3af37,_0x5e18a0[_0x482053([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x482053([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x378a46(_0xcdea17){const _0x59a92d=_0x437396();_0x5e18a0[_0x59a92d]=_0x482053([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])+_0xcdea17,_0xcdea17!=_0x482053([0x56,0x61,0x6c,0x69,0x64])&&_0x2b3009();}function _0x437396(){const _0x27529d=window[_0x482053([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x482053([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x482053([0x6e,0x6f,0x77])]())[_0x482053([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x482053([0x2e]),'');let _0x1d4470=_0x482053([0x79]);for(let _0x53cb5d=0x0;_0x53cb5d<_0x27529d[_0x482053([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53cb5d+=0x2){let _0x3f4bdc=window[_0x482053([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27529d[_0x482053([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53cb5d,_0x53cb5d+0x2));_0x3f4bdc>=_0x50b8c7[_0x482053([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f4bdc-=_0x50b8c7[_0x482053([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d4470+=_0x50b8c7[_0x3f4bdc];}return _0x1d4470;}function _0x2f8c9c(){const _0x5a7509=_0x5081a8[_0x482053([0x73,0x70,0x6c,0x69,0x74])](_0x482053([0x2e]));if(0x3!=_0x5a7509[_0x482053([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f0f72(_0x5a7509[0x1]);function _0x5f0f72(_0x56231b){const _0x16596e=_0x117612(_0x56231b);return _0x16596e&&_0x3ab9e1()?_0x16596e:null;function _0x3ab9e1(){const _0x5b0c4b=_0x16596e[_0x482053([0x6a,0x74,0x69])],_0x42de04=window[_0x482053([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b0c4b[_0x482053([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b0c4b[_0x482053([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x329fd1={..._0x16596e,[_0x482053([0x6a,0x74,0x69])]:_0x5b0c4b[_0x482053([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5b0c4b[_0x482053([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x329fd1[_0x482053([0x76,0x63])],_0x22a040(_0x329fd1)==_0x42de04;}}}async function _0x42bc1c(){let _0x505784=!0x0;try{const _0x4fd8d6=_0x5081a8[_0x482053([0x73,0x70,0x6c,0x69,0x74])](_0x482053([0x2e])),[_0xe9626e,_0x419d4f,_0x41f5f5]=_0x4fd8d6;return _0x16bb8f(_0xe9626e),await _0x46ba98(_0xe9626e,_0x419d4f,_0x41f5f5),_0x505784;}catch(_0x10eeeb){return!0x1;}function _0x16bb8f(_0xfef8d8){const _0x5b7ff7=_0x117612(_0xfef8d8);_0x5b7ff7&&_0x5b7ff7[_0x482053([0x61,0x6c,0x67])]==_0x482053([0x45,0x53,0x32,0x35,0x36])||(_0x505784=!0x1);}async function _0x46ba98(_0x54ab0b,_0x598fee,_0x1c04db){const _0xc8611=window[_0x482053([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x482053([0x66,0x72,0x6f,0x6d])](_0x1ab2c3(_0x1c04db),_0x2bfaf3=>_0x2bfaf3[_0x482053([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c95f7=new window[(_0x482053([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x482053([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54ab0b+_0x482053([0x2e])+_0x598fee),_0x11980e=window[_0x482053([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x482053([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11980e)return;const _0x53c970=await _0x11980e[_0x482053([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x482053([0x6a,0x77,0x6b]),_0x5e0e5b,{[_0x482053([0x6e,0x61,0x6d,0x65])]:_0x482053([0x45,0x43,0x44,0x53,0x41]),[_0x482053([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x482053([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x482053([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11980e[_0x482053([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x482053([0x6e,0x61,0x6d,0x65])]:_0x482053([0x45,0x43,0x44,0x53,0x41]),[_0x482053([0x68,0x61,0x73,0x68])]:{[_0x482053([0x6e,0x61,0x6d,0x65])]:_0x482053([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53c970,_0xc8611,_0x3c95f7)||(_0x505784=!0x1);}}function _0x117612(_0x3e642f){return _0x3e642f[_0x482053([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x482053([0x65,0x79]))?JSON[_0x482053([0x70,0x61,0x72,0x73,0x65])](_0x1ab2c3(_0x3e642f)):null;}function _0x1ab2c3(_0x4dbe18){return window[_0x482053([0x61,0x74,0x6f,0x62])](_0x4dbe18[_0x482053([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x482053([0x2b]))[_0x482053([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x482053([0x2f])));}function _0x22a040(_0x268c9a){let _0x202563=0x1505;function _0x2244ae(_0x5856dc){for(let _0x233258=0x0;_0x233258<_0x5856dc[_0x482053([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x233258++){const _0x406d47=_0x5856dc[_0x482053([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x233258);_0x202563=(_0x202563<<0x5)+_0x202563+_0x406d47,_0x202563&=_0x202563;}}function _0x5e199d(_0x34ba18){Array[_0x482053([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34ba18)?_0x34ba18[_0x482053([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e199d):_0x34ba18&&typeof _0x34ba18==_0x482053([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x482053([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34ba18)[_0x482053([0x73,0x6f,0x72,0x74])]()[_0x482053([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a24e6,_0x2e3788])=>{_0x2244ae(_0x4a24e6),_0x5e199d(_0x2e3788);}):_0x2244ae(window[_0x482053([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34ba18));}return _0x5e199d(_0x268c9a),_0x202563>>>0x0;}function _0x537397(_0x509069){return _0x509069[_0x482053([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x482053([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x482053([0x30]));}function _0x19292b(_0x1ac207){return _0x1ac207[_0x482053([0x73,0x70,0x6c,0x69,0x74])]('')[_0x482053([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x482053([0x6a,0x6f,0x69,0x6e])]('');}function _0xc3af37(){}function _0x482053(_0x5d7282){return _0x5d7282['map'](_0x243e2d=>String['fromCharCode'](_0x243e2d))['join']('');}_0x378a46(await _0x2014b8());}(this);}['_createButton'](_0x534acb,_0x1da334,_0x1f7b0e=!0x1){const _0x428a6c=new _0x534acb(this['editor']['locale']);return _0x428a6c['set']({'withText':_0x1f7b0e,'isToggleable':!0x1}),_0x428a6c['bind']('isEnabled')['to'](_0x1da334,'isEnabled'),this['listenTo'](_0x428a6c,'execute',()=>_0x1da334['execute']()),_0x428a6c;}['_registerKeybindings'](){const _0x2a2f70=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x2a2f70,'Source\x20Editing\x20Enhanced')});const _0x4ff91b=_0x2645de['isMac']||_0x2645de['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x2a2f70,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x2a2f70,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x2a2f70,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x2a2f70,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x2a2f70,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x2a2f70,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x2a2f70,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4ff91b?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x2a2f70,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x2a2f70,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x2a2f70,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x2a2f70,'Select\x20line'),'keystroke':_0x4ff91b?'Ctrl!+L':'Alt+L'},{'label':f(_0x2a2f70,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4ff91b?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x2a2f70,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x2a2f70,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x2a2f70,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x2a2f70,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x2a2f70,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4ff91b?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x400638{constructor(_0x1a4234){super(_0x1a4234),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x2e5f1b,_0x3e6960){var _0x214d8f;const _0x58fdfe=this['editor'],_0x38c23f=null!==(_0x214d8f=null==_0x3e6960?void 0x0:_0x3e6960['rootName'])&&void 0x0!==_0x214d8f?_0x214d8f:o(_0x58fdfe);_0x58fdfe['data']['set']({[_0x38c23f]:_0x2e5f1b},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x218790{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0x32177a){super(_0x32177a),_0x32177a['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 _0x36a614=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x44f871;for(const _0x25470b in _0x36a614){const _0x5c7c99=_0x25470b,_0x4c0713=_0x36a614[_0x5c7c99];if('sourceEditingEnhancedLicenseKeyValid'==_0x4c0713||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4c0713||'sourceEditingEnhancedLicenseKeyExpired'==_0x4c0713||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4c0713||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4c0713||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4c0713||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4c0713||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4c0713){delete _0x36a614[_0x5c7c99],_0x44f871=_0x4c0713,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x44f871&&_0x36a614['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x44f871&&_0x36a614['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x44f871&&_0x36a614['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x44f871&&_0x36a614['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x44f871&&_0x36a614['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x44f871&&_0x36a614['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x44f871&&_0x36a614['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x16a26d=this['editor'],_0x4fb9eb=_0x16a26d['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4fb9eb&&_0x16a26d['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x17621a('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4fb9eb&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5042c5=>_0x16a26d['plugins']['has'](_0x5042c5))&&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.'),_0x16a26d['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 _0x5791ac,PendingActions as _0x41bfdb,Plugin as _0x616bb1,icons as _0x114ba2}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1b011a,env as _0x24d163,uid as _0x1e690e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x42cc4c,ButtonView as _0xc13d0a,MenuBarMenuListItemButtonView as _0xa0815d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x2f8eb4,crosshairCursor as _0x2955b3,drawSelection as _0x2d1c2f,dropCursor as _0x5274ca,lineNumbers as _0x2aeacb,highlightActiveLine as _0x1ace93,highlightActiveLineGutter as _0x4dbd7c,highlightSpecialChars as _0x708335,rectangularSelection as _0x31c8e2,keymap as _0x3adf9c}from'@codemirror/view';import{Compartment as _0x10b620,Transaction as _0x34fbdf}from'@codemirror/state';import{bracketMatching as _0x47cd93,foldGutter as _0x143134,indentOnInput as _0x22881d,syntaxHighlighting as _0x2b0956,defaultHighlightStyle as _0x524575,foldKeymap as _0x1cd8fe}from'@codemirror/language';import{history as _0x13b562,defaultKeymap as _0x5cc372,historyKeymap as _0x15ed91,redo as _0x368de3}from'@codemirror/commands';import{autocompletion as _0x3ad86b,closeBrackets as _0x45b8ce,closeBracketsKeymap as _0x21396c,completionKeymap as _0x2ecd85}from'@codemirror/autocomplete';import{html as _0x22c3f3}from'@codemirror/lang-html';import{markdown as _0x47bdf1}from'@codemirror/lang-markdown';function f(_0x5d91b1,_0x48f8fa){const t=_0x5d91b1['t'];switch(_0x48f8fa){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 _0x48f8fa;}}function o(_0x1fd04b){const _0x2bab03=_0x1fd04b['editing']['view']['document']['roots'],_0x501771=_0x2bab03['length'];if(0x0===_0x501771)throw new _0x1b011a('source-editing-enhanced-editor-no-root',_0x1fd04b);if(0x1===_0x501771)return _0x2bab03['first']['rootName'];return Array['from'](_0x1fd04b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0xcf743a){return $(_0xcf743a)?function(_0x3dde3a){const _0x4588c0=[{'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}],_0x3b45d6=_0x4588c0['map'](_0x37c3bc=>_0x37c3bc['name'])['join']('|'),_0x135d0c=_0x3dde3a['replace'](new RegExp('</?('+_0x3b45d6+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0xdc7647=0x0,_0x5abdfb=!0x1;return _0x135d0c['filter'](_0x3d76ce=>_0x3d76ce['length'])['map'](_0x3a70af=>(_0x5abdfb=function(_0x25fc95,_0x10a74a){return new RegExp('<pre(\x20.*?)?>')['test'](_0x25fc95)?'first':new RegExp('</pre>')['test'](_0x25fc95)?'last':('first'===_0x10a74a||'middle'===_0x10a74a)&&'middle';}(_0x3a70af,_0x5abdfb),function(_0x190a40,_0x4a6cff){return _0x4a6cff['some'](_0x4dd2c2=>!_0x4dd2c2['isVoid']&&!!new RegExp('<'+_0x4dd2c2['name']+'(\x20.*?)?>')['test'](_0x190a40));}(_0x3a70af,_0x4588c0)?X(_0x3a70af,_0xdc7647++):function(_0x4b0d89,_0x5194b9){return _0x5194b9['some'](_0x316dbf=>new RegExp('</'+_0x316dbf['name']+'>')['test'](_0x4b0d89));}(_0x3a70af,_0x4588c0)?X(_0x3a70af,--_0xdc7647):'middle'===_0x5abdfb||'last'===_0x5abdfb?_0x3a70af:X(_0x3a70af,_0xdc7647)))['join']('\x0a');}(_0xcf743a):_0xcf743a;}function E(_0x306d5f){return $(_0x306d5f['replace'](/^[\n\s]*/g,''))?_0x306d5f['replace'](/\s+/g,''):_0x306d5f;}function $(_0x2f5a4a){return _0x2f5a4a['startsWith']('<');}function X(_0x54a8ab,_0x27c195,_0x38dc07='\x20\x20\x20\x20'){return''+_0x38dc07['repeat'](Math['max'](0x0,_0x27c195))+_0x54a8ab;}function p(_0x1f51d8){const _0x552020=[_0x2f8eb4['lineWrapping'],_0x3ad86b(),_0x47cd93(),_0x45b8ce(),_0x2955b3(),_0x2d1c2f(),_0x5274ca(),_0x2aeacb(),_0x143134(),_0x1ace93(),_0x4dbd7c(),_0x708335(),_0x13b562(),_0x22881d(),_0x31c8e2(),_0x2b0956(_0x524575,{'fallback':!0x0})],_0x4f8fa8=new _0x10b620();_0x552020['push'](_0x4f8fa8['of'](_0x2f8eb4['editable']['of'](!0x0))),'html'===_0x1f51d8['syntaxLanguage']?_0x552020['push'](_0x22c3f3()):_0x552020['push'](_0x47bdf1()),_0x1f51d8['theme']&&_0x552020['push'](_0x1f51d8['theme']),_0x552020['push'](_0x3adf9c['of']([..._0x21396c,..._0x5cc372,..._0x15ed91,..._0x1cd8fe,..._0x2ecd85,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x368de3,'preventDefault':!0x0}]));const _0xac1be9=new _0x2f8eb4({'extensions':_0x552020,'parent':_0x1f51d8['parent']});return{'focus':()=>{_0xac1be9['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xac1be9['focus']();},'getData':()=>_0xac1be9['state']['doc']['toString'](),'setData':_0x5ed1c2=>{_0xac1be9['dispatch']({'changes':{'from':0x0,'to':_0xac1be9['state']['doc']['length'],'insert':_0x5ed1c2},'annotations':_0x34fbdf['addToHistory']['of'](!0x1)});},'setReadOnly':_0x4cb956=>{_0xac1be9['dispatch']({'effects':[_0x4f8fa8['reconfigure'](_0x2f8eb4['editable']['of'](!_0x4cb956))]});},'destroy':()=>{_0xac1be9['destroy']();}};}class m extends _0x42cc4c{constructor(_0x1fb69d,_0xb7d18b){super(_0x1fb69d),this['_codeEditorApi']=null,this['_options']=_0xb7d18b,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',(_0x4d84b9,_0x788c4d,_0x3123bc)=>{this['setReadOnly'](_0x3123bc);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4ff749){this['_codeEditorApi']['setData'](_0x4ff749);}['setReadOnly'](_0x4b1c92){this['_codeEditorApi']['setReadOnly'](_0x4b1c92);}}class d extends _0x5791ac{constructor(_0x16165b){super(_0x16165b),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x41bfdb)['on']('change:hasAny',(_0x4cd3c6,_0x73fc2a,_0x3717a4)=>{_0x3717a4?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x45926a=this['editor'],_0x1e4fbf=_0x45926a['locale'],_0x41ee82=_0x45926a['plugins']['get']('Dialog'),_0x44d2b7=o(_0x45926a),_0x5d6b31=g(_0x45926a['data']['get']({'rootName':_0x44d2b7})),_0x1e3056=new m(_0x1e4fbf,{'syntaxLanguage':_0x45926a['plugins']['has']('Markdown')?'markdown':'html','theme':_0x45926a['config']['get']('sourceEditingEnhanced.theme')});let _0x14004c=!0x0;const _0x239439=_0x2d2ac2=>{if(!_0x14004c)return;return E(_0x1e3056['getData']())!==E(_0x5d6b31)?window['confirm'](f(_0x1e4fbf,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2d2ac2['stop']():void 0x0;};_0x41ee82['show']({'id':'sourceEditingEnhanced','title':f(_0x1e4fbf,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x1e3056,'actionButtons':[{'label':f(_0x1e4fbf,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x41ee82['hide']();}},{'label':f(_0x1e4fbf,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x49457a=E(_0x1e3056['getData']())!==E(_0x5d6b31);(_0x49457a&&_0x45926a['execute']('replaceSource',_0x1e3056['getData']()),_0x14004c=!0x1,_0x41ee82['hide'](),_0x49457a&&'editables'in _0x45926a['ui']['view'])&&_0x45926a['ui']['view']['editables'][_0x44d2b7]['element']['focus']();},'onCreate':_0x4a1d88=>{_0x4a1d88['set']('isEnabled',!_0x45926a['isReadOnly']),_0x4a1d88['bind']('isEnabled')['to'](_0x45926a,'isReadOnly',this,'isEnabled',(_0x3115a2,_0x53c655)=>!_0x3115a2&&_0x53c655);}}],'onHide':()=>{_0x41ee82['off']('hide',_0x239439),_0x1e3056['destroy']();},'onShow':()=>{_0x1e3056['bind']('isReadOnly')['to'](_0x45926a,'isReadOnly',this,'isEnabled',(_0xb4b0e5,_0x419b74)=>_0xb4b0e5||!_0x419b74),_0x1e3056['setData'](_0x5d6b31),_0x1e3056['focus'](),_0x41ee82['on']('hide',_0x239439,{'priority':'highest'});}});}}class n extends _0x616bb1{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x41bfdb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4bae6d=this['editor'],_0x60d767=_0x4bae6d['locale'],_0x135367=new d(_0x4bae6d);_0x4bae6d['commands']['add']('editSource',_0x135367),_0x4bae6d['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x390bfe=this['_createButton'](_0xc13d0a,_0x135367);return _0x390bfe['set']({'label':f(_0x60d767,'Source'),'icon':_0x114ba2['source'],'tooltip':f(_0x60d767,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x390bfe;}),_0x4bae6d['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x11a3b0=this['_createButton'](_0xa0815d,_0x135367,!0x0);return _0x11a3b0['set']({'label':f(_0x60d767,'Edit\x20source\x20modal\x20label'),'icon':_0x114ba2['source'],'role':'menuitemcheckbox'}),_0x11a3b0;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x352bbd){const _0x1dcf5c=_0xc80c42([0x31,0x66,0x6e,0x5a,0x63,0x6c,0x61,0x4a,0x42,0x56,0x57,0x38,0x39,0x30,0x41,0x46,0x4f,0x71,0x78,0x53,0x6d,0x50,0x33,0x52,0x70,0x73,0x36,0x64,0x6f,0x77,0x43,0x68,0x7a,0x72,0x48,0x4b,0x45,0x69,0x59,0x67,0x55,0x76,0x44,0x74,0x75,0x79,0x6a,0x37,0x65,0x47,0x54,0x34,0x4d,0x58,0x4c,0x49,0x51,0x62,0x32,0x6b,0x4e,0x35]),_0x4659fd=0x52d062b2,_0x5157ab=0x52d73cea^_0x4659fd,_0x507120=window[_0xc80c42([0x44,0x61,0x74,0x65])][_0xc80c42([0x6e,0x6f,0x77])](),_0x5a58ef=_0x352bbd[_0xc80c42([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47c4ce=new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7fa7ca=>{_0x5a58ef[_0xc80c42([0x6f,0x6e,0x63,0x65])](_0xc80c42([0x72,0x65,0x61,0x64,0x79]),_0x7fa7ca);}),_0x521e97={[_0xc80c42([0x6b,0x74,0x79])]:_0xc80c42([0x45,0x43]),[_0xc80c42([0x75,0x73,0x65])]:_0xc80c42([0x73,0x69,0x67]),[_0xc80c42([0x63,0x72,0x76])]:_0xc80c42([0x50,0x2d,0x32,0x35,0x36]),[_0xc80c42([0x78])]:_0xc80c42([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]),[_0xc80c42([0x79])]:_0xc80c42([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]),[_0xc80c42([0x61,0x6c,0x67])]:_0xc80c42([0x45,0x53,0x32,0x35,0x36])},_0x23c38c=_0x5a58ef[_0xc80c42([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc80c42([0x67,0x65,0x74])](_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x480e61(){let _0x5bf656,_0x149e24=null,_0x18bf8b=null;try{if(_0x23c38c==_0xc80c42([0x47,0x50,0x4c]))return _0xc80c42([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5bf656=_0x2dc7a7(),!_0x5bf656)return _0xc80c42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5bf656[_0xc80c42([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18bf8b=_0x2c8f4a(_0x5bf656[_0xc80c42([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5bf656[_0xc80c42([0x6a,0x74,0x69])])),await _0x44075a()?_0xb2d05f()?_0x516c85()?_0xc80c42([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fb356()?(_0x5bf656[_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc80c42([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x149e24=_0x2bbb55(_0xc80c42([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5bf656[_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc80c42([0x74,0x72,0x69,0x61,0x6c])&&(_0x149e24=_0x2bbb55(_0xc80c42([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x430fe4()):_0xc80c42([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc80c42([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc80c42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x104610){return _0xc80c42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x516c85(){const _0x2ef900=[_0xc80c42([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc80c42([0x74,0x72,0x69,0x61,0x6c])][_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bf656[_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x507120/0x3e8:0xe10*_0x5157ab;return _0x5bf656[_0xc80c42([0x65,0x78,0x70])]<_0x2ef900;}function _0xb2d05f(){const _0x365231=_0x5bf656[_0xc80c42([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x365231&&(!!_0x365231[_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc80c42([0x2a]))||!!_0x365231[_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc80c42([0x53,0x45,0x45])));}function _0x3fb356(){const _0x17eea7=_0x5bf656[_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17eea7||0x0==_0x17eea7[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c2d10}=new URL(window[_0xc80c42([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x17eea7[_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2d10))return!0x0;const _0x4dbbba=_0x3c2d10[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])](_0xc80c42([0x2e]));return _0x17eea7[_0xc80c42([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20f8cd=>_0x20f8cd[_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc80c42([0x2a])))[_0xc80c42([0x6d,0x61,0x70])](_0x172688=>_0x172688[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])](_0xc80c42([0x2e])))[_0xc80c42([0x73,0x6f,0x6d,0x65])](_0x1b3647=>_0x4dbbba[_0xc80c42([0x65,0x76,0x65,0x72,0x79])]((_0x3b59bc,_0x5f1bea)=>_0x1b3647[_0x5f1bea]===_0x3b59bc||_0x1b3647[_0x5f1bea]===_0xc80c42([0x2a])));}function _0x430fe4(){return _0x149e24&&_0x18bf8b?new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x415b86,_0xa3de9d)=>{_0x149e24[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x415b86,_0xa3de9d),_0x18bf8b[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x4de086=>{_0x4de086!=_0xc80c42([0x56,0x61,0x6c,0x69,0x64])&&_0x415b86(_0x4de086);},_0xa3de9d);}):_0x149e24||_0x18bf8b||_0xc80c42([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c8f4a(_0x58ca46,_0x41c3ac){return new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38f9e1=>{if(_0x42f767())return _0x38f9e1(_0xc80c42([0x56,0x61,0x6c,0x69,0x64]));_0x280b1a(),_0x5a58ef[_0xc80c42([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc80c42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56a98f=!0x1;const _0x162007=_0x1e690e();function _0x10348b(_0x5ac91d){return!!_0x5ac91d&&(typeof _0x5ac91d===_0xc80c42([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ac91d===_0xc80c42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ac91d[_0xc80c42([0x74,0x68,0x65,0x6e])]===_0xc80c42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ac91d[_0xc80c42([0x63,0x61,0x74,0x63,0x68])]===_0xc80c42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a3c4a(_0x390627){_0x4cc021(_0x390627)[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x4aa063=>{if(!_0x4aa063||_0x4aa063[_0xc80c42([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc80c42([0x6f,0x6b]))return _0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x157301(_0x57e1b9(_0x162007+_0x41c3ac))!=_0x4aa063[_0xc80c42([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc80c42([0x56,0x61,0x6c,0x69,0x64]);})[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x4a5c57=>(_0x3ea656(),_0x4a5c57),()=>{const _0x18a0a8=_0x3cf48d();return null==_0x18a0a8?(_0x3ea656(),_0xc80c42([0x56,0x61,0x6c,0x69,0x64])):_0xc80c42(_0x507120-_0x18a0a8>(0x76dce6b2^_0x4659fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x38f9e1)[_0xc80c42([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38f9e1(_0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x140818=0x52e68c32^_0x4659fd;function _0x3ea656(){const _0x20a259=_0xc80c42([0x6c,0x6c,0x63,0x74,0x2d])+_0x157301(_0x57e1b9(_0x58ca46)),_0x254b15=_0x1bb610(_0x157301(window[_0xc80c42([0x4d,0x61,0x74,0x68])][_0xc80c42([0x63,0x65,0x69,0x6c])](_0x507120/_0x140818)));window[_0xc80c42([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc80c42([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20a259,_0x254b15);}function _0x3cf48d(){const _0xb4e96f=_0xc80c42([0x6c,0x6c,0x63,0x74,0x2d])+_0x157301(_0x57e1b9(_0x58ca46)),_0x28ae53=window[_0xc80c42([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc80c42([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb4e96f);return _0x28ae53?window[_0xc80c42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bb610(_0x28ae53),0x10)*_0x140818:null;}function _0x4cc021(_0x4b8414){return new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48903b,_0xd346f0)=>{_0x4b8414[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x48903b,_0xd346f0),window[_0xc80c42([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd346f0,0x52d1b672^_0x4659fd);});}}_0x5a58ef[_0xc80c42([0x6f,0x6e])](_0xc80c42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e8c7d,_0x583819)=>{if(_0x583819[0x0]!=_0x58ca46)return _0x38f9e1(_0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x583819[0x1]={..._0x583819[0x1],[_0xc80c42([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x162007};},{[_0xc80c42([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc80c42([0x68,0x69,0x67,0x68])}),_0x5a58ef[_0xc80c42([0x6f,0x6e])](_0xc80c42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x134df5=>{_0x10348b(_0x134df5[_0xc80c42([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56a98f=!0x0,_0x4a3c4a(_0x134df5[_0xc80c42([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc80c42([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc80c42([0x6c,0x6f,0x77])}),_0x47c4ce[_0xc80c42([0x74,0x68,0x65,0x6e])](()=>{_0x56a98f||_0x38f9e1(_0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42f767(){return _0x5a58ef[_0xc80c42([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc80c42([0x76,0x69,0x65,0x77])][_0xc80c42([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc80c42([0x61,0x75,0x74,0x6f]);}function _0x280b1a(){_0x5a58ef[_0xc80c42([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc80c42([0x76,0x69,0x65,0x77])][_0xc80c42([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc80c42([0x61,0x75,0x74,0x6f]);}}function _0x2bbb55(_0x5c27fb){const _0x463c4a=[new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26f588=>setTimeout(_0x26f588,0x52d95c7e^_0x4659fd)),_0x47c4ce[_0xc80c42([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x419c5a=>{let _0x192be0=0x0;_0x5a58ef[_0xc80c42([0x6d,0x6f,0x64,0x65,0x6c])][_0xc80c42([0x6f,0x6e])](_0xc80c42([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ff0d4,_0x30d1a5)=>{_0x30d1a5[0x0][_0xc80c42([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x192be0++,_0x192be0==(0x52d0634a^_0x4659fd)&&(_0x419c5a(),_0x1ff0d4[_0xc80c42([0x6f,0x66,0x66])]());});}))];return window[_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc80c42([0x72,0x61,0x63,0x65])](_0x463c4a)[_0xc80c42([0x74,0x68,0x65,0x6e])](()=>_0x5c27fb);}async function _0x54054d(){await _0x47c4ce,_0x5a58ef[_0xc80c42([0x6d,0x6f,0x64,0x65,0x6c])][_0xc80c42([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3298b6,_0x5a58ef[_0xc80c42([0x6d,0x6f,0x64,0x65,0x6c])][_0xc80c42([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3298b6,_0x5a58ef[_0xc80c42([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc80c42([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x200e24(_0x2ce65f){const _0x1db1a1=_0x5f4d0e();_0x5a58ef[_0x1db1a1]=_0xc80c42([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])+_0x2ce65f,_0x2ce65f!=_0xc80c42([0x56,0x61,0x6c,0x69,0x64])&&_0x54054d();}function _0x5f4d0e(){const _0x557e8f=window[_0xc80c42([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc80c42([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc80c42([0x6e,0x6f,0x77])]())[_0xc80c42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc80c42([0x2e]),'');let _0x9a3226=_0xc80c42([0x66]);for(let _0x4c70f5=0x0;_0x4c70f5<_0x557e8f[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c70f5+=0x2){let _0x57f4b1=window[_0xc80c42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x557e8f[_0xc80c42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c70f5,_0x4c70f5+0x2));_0x57f4b1>=_0x1dcf5c[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57f4b1-=_0x1dcf5c[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9a3226+=_0x1dcf5c[_0x57f4b1];}return _0x9a3226;}function _0x2dc7a7(){const _0x208b1d=_0x23c38c[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])](_0xc80c42([0x2e]));if(0x3!=_0x208b1d[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bbf2a(_0x208b1d[0x1]);function _0x1bbf2a(_0x304063){const _0x31e8b0=_0x207e43(_0x304063);return _0x31e8b0&&_0x5cdd34()?_0x31e8b0:null;function _0x5cdd34(){const _0xfce90d=_0x31e8b0[_0xc80c42([0x6a,0x74,0x69])],_0x220918=window[_0xc80c42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfce90d[_0xc80c42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfce90d[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41957f={..._0x31e8b0,[_0xc80c42([0x6a,0x74,0x69])]:_0xfce90d[_0xc80c42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xfce90d[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41957f[_0xc80c42([0x76,0x63])],_0x57e1b9(_0x41957f)==_0x220918;}}}async function _0x44075a(){let _0x26a444=!0x0;try{const _0x64d114=_0x23c38c[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])](_0xc80c42([0x2e])),[_0x499518,_0x2d4ef1,_0x1903ac]=_0x64d114;return _0x3950f3(_0x499518),await _0x398c93(_0x499518,_0x2d4ef1,_0x1903ac),_0x26a444;}catch(_0x54d857){return!0x1;}function _0x3950f3(_0x584088){const _0x1a6542=_0x207e43(_0x584088);_0x1a6542&&_0x1a6542[_0xc80c42([0x61,0x6c,0x67])]==_0xc80c42([0x45,0x53,0x32,0x35,0x36])||(_0x26a444=!0x1);}async function _0x398c93(_0x484844,_0x58eff4,_0x5d2de){const _0x5ad453=window[_0xc80c42([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc80c42([0x66,0x72,0x6f,0x6d])](_0x59410f(_0x5d2de),_0x35f9b5=>_0x35f9b5[_0xc80c42([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x312a10=new window[(_0xc80c42([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc80c42([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x484844+_0xc80c42([0x2e])+_0x58eff4),_0x1bc7fe=window[_0xc80c42([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc80c42([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1bc7fe)return;const _0x59f8ac=await _0x1bc7fe[_0xc80c42([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc80c42([0x6a,0x77,0x6b]),_0x521e97,{[_0xc80c42([0x6e,0x61,0x6d,0x65])]:_0xc80c42([0x45,0x43,0x44,0x53,0x41]),[_0xc80c42([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc80c42([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc80c42([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1bc7fe[_0xc80c42([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc80c42([0x6e,0x61,0x6d,0x65])]:_0xc80c42([0x45,0x43,0x44,0x53,0x41]),[_0xc80c42([0x68,0x61,0x73,0x68])]:{[_0xc80c42([0x6e,0x61,0x6d,0x65])]:_0xc80c42([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59f8ac,_0x5ad453,_0x312a10)||(_0x26a444=!0x1);}}function _0x207e43(_0x4228b9){return _0x4228b9[_0xc80c42([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc80c42([0x65,0x79]))?JSON[_0xc80c42([0x70,0x61,0x72,0x73,0x65])](_0x59410f(_0x4228b9)):null;}function _0x59410f(_0x3d0fd1){return window[_0xc80c42([0x61,0x74,0x6f,0x62])](_0x3d0fd1[_0xc80c42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc80c42([0x2b]))[_0xc80c42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc80c42([0x2f])));}function _0x57e1b9(_0x1c575b){let _0x4830ce=0x1505;function _0x15f517(_0x4571c8){for(let _0xf17d74=0x0;_0xf17d74<_0x4571c8[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf17d74++){const _0x18acd4=_0x4571c8[_0xc80c42([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf17d74);_0x4830ce=(_0x4830ce<<0x5)+_0x4830ce+_0x18acd4,_0x4830ce&=_0x4830ce;}}function _0x8522f8(_0x3e3b43){Array[_0xc80c42([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e3b43)?_0x3e3b43[_0xc80c42([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8522f8):_0x3e3b43&&typeof _0x3e3b43==_0xc80c42([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc80c42([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e3b43)[_0xc80c42([0x73,0x6f,0x72,0x74])]()[_0xc80c42([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ad754,_0x184bd6])=>{_0x15f517(_0x3ad754),_0x8522f8(_0x184bd6);}):_0x15f517(window[_0xc80c42([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e3b43));}return _0x8522f8(_0x1c575b),_0x4830ce>>>0x0;}function _0x157301(_0x37ac2b){return _0x37ac2b[_0xc80c42([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc80c42([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc80c42([0x30]));}function _0x1bb610(_0x13d32d){return _0x13d32d[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc80c42([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc80c42([0x6a,0x6f,0x69,0x6e])]('');}function _0x3298b6(){}function _0xc80c42(_0x1f7d0c){return _0x1f7d0c['map'](_0x542571=>String['fromCharCode'](_0x542571))['join']('');}_0x200e24(await _0x480e61());}(this);}['_createButton'](_0x3fd8ef,_0x4f1801,_0x4d3924=!0x1){const _0x31e2fa=new _0x3fd8ef(this['editor']['locale']);return _0x31e2fa['set']({'withText':_0x4d3924,'isToggleable':!0x1}),_0x31e2fa['bind']('isEnabled')['to'](_0x4f1801,'isEnabled'),this['listenTo'](_0x31e2fa,'execute',()=>_0x4f1801['execute']()),_0x31e2fa;}['_registerKeybindings'](){const _0x72ccc3=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x72ccc3,'Source\x20Editing\x20Enhanced')});const _0x28d0a8=_0x24d163['isMac']||_0x24d163['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x72ccc3,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x72ccc3,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x72ccc3,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x72ccc3,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x72ccc3,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x72ccc3,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x72ccc3,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x28d0a8?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x72ccc3,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x72ccc3,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x72ccc3,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x72ccc3,'Select\x20line'),'keystroke':_0x28d0a8?'Ctrl!+L':'Alt+L'},{'label':f(_0x72ccc3,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x28d0a8?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x72ccc3,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x72ccc3,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x72ccc3,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x72ccc3,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x72ccc3,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x28d0a8?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x5791ac{constructor(_0x5d8b7b){super(_0x5d8b7b),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x27f373,_0x5623ee){var _0x599a1b;const _0x53513e=this['editor'],_0x2fc385=null!==(_0x599a1b=null==_0x5623ee?void 0x0:_0x5623ee['rootName'])&&void 0x0!==_0x599a1b?_0x599a1b:o(_0x53513e);_0x53513e['data']['set']({[_0x2fc385]:_0x27f373},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x616bb1{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0x639bf8){super(_0x639bf8),_0x639bf8['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 _0x388745=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x437657;for(const _0x24aa7a in _0x388745){const _0x578c35=_0x24aa7a,_0x56c4f2=_0x388745[_0x578c35];if('sourceEditingEnhancedLicenseKeyValid'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyInvalid'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyExpired'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x56c4f2){delete _0x388745[_0x578c35],_0x437657=_0x56c4f2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x437657&&_0x388745['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x437657&&_0x388745['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x437657&&_0x388745['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x437657&&_0x388745['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x437657&&_0x388745['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x437657&&_0x388745['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x437657&&_0x388745['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x48fbaa=this['editor'],_0x225542=_0x48fbaa['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x225542&&_0x48fbaa['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x1b011a('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x225542&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1c0dee=>_0x48fbaa['plugins']['has'](_0x1c0dee))&&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.'),_0x48fbaa['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};
|
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-20250202.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -10,13 +10,18 @@
|
|
|
10
10
|
"ckeditor5-plugin",
|
|
11
11
|
"ckeditor5-dll"
|
|
12
12
|
],
|
|
13
|
+
"sideEffects": [
|
|
14
|
+
"*.css",
|
|
15
|
+
"build/**/*.js",
|
|
16
|
+
"dist/translations/*.umd.js"
|
|
17
|
+
],
|
|
13
18
|
"type": "module",
|
|
14
19
|
"main": "src/index.js",
|
|
15
20
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250202.0",
|
|
22
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250202.0",
|
|
23
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250202.0",
|
|
24
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250202.0",
|
|
20
25
|
"@codemirror/autocomplete": "6.18.4",
|
|
21
26
|
"@codemirror/commands": "6.8.0",
|
|
22
27
|
"@codemirror/lang-html": "6.4.9",
|
|
@@ -24,7 +29,7 @@
|
|
|
24
29
|
"@codemirror/language": "6.10.8",
|
|
25
30
|
"@codemirror/state": "6.5.1",
|
|
26
31
|
"@codemirror/view": "6.36.2",
|
|
27
|
-
"ckeditor5": "0.0.0-nightly-
|
|
32
|
+
"ckeditor5": "0.0.0-nightly-20250202.0"
|
|
28
33
|
},
|
|
29
34
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
30
35
|
"author": "CKSource (http://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3937(){var _0x8f1e47=['399vGzjDJ','2193752nZhcXT','6452seSKyC','91eKnFQA','12McgXsW','681KWFJQu','40712cgPXwZ','890410qnVwDP','492Zxlzpw','1083410zOTAli','2883114olYDPT'];_0x3937=function(){return _0x8f1e47;};return _0x3937();}function _0x4107(_0x5a999f,_0xc259cd){var _0x39378d=_0x3937();return _0x4107=function(_0x4107a7,_0x3bd628){_0x4107a7=_0x4107a7-0x111;var _0x5c0228=_0x39378d[_0x4107a7];return _0x5c0228;},_0x4107(_0x5a999f,_0xc259cd);}(function(_0x2c78b2,_0x1f0d14){var _0x1b0ca4=_0x4107,_0xa87811=_0x2c78b2();while(!![]){try{var _0x1ecdda=parseInt(_0x1b0ca4(0x118))/0x1*(-parseInt(_0x1b0ca4(0x112))/0x2)+-parseInt(_0x1b0ca4(0x11a))/0x3*(-parseInt(_0x1b0ca4(0x117))/0x4)+parseInt(_0x1b0ca4(0x113))/0x5*(parseInt(_0x1b0ca4(0x119))/0x6)+-parseInt(_0x1b0ca4(0x115))/0x7*(parseInt(_0x1b0ca4(0x11b))/0x8)+-parseInt(_0x1b0ca4(0x114))/0x9+-parseInt(_0x1b0ca4(0x111))/0xa+parseInt(_0x1b0ca4(0x116))/0xb;if(_0x1ecdda===_0x1f0d14)break;else _0xa87811['push'](_0xa87811['shift']());}catch(_0x29dfa6){_0xa87811['push'](_0xa87811['shift']());}}}(_0x3937,0x43a6d));export{default as SourceEditingEnhanced}from'./sourceeditingenhanced.js';export{default as ReplaceSourceCommand}from'./replacesourcecommand.js';export{default as EditSourceCommand}from'./ui/editsourcecommand.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x34fc23=_0x2cb9;function _0x2cb9(_0x14eed1,_0x4ef57a){var _0xf7af43=_0xf7af();return _0x2cb9=function(_0x2cb9f2,_0x3d30de){_0x2cb9f2=_0x2cb9f2-0x144;var _0x510a7e=_0xf7af43[_0x2cb9f2];return _0x510a7e;},_0x2cb9(_0x14eed1,_0x4ef57a);}function _0xf7af(){var _0x564dd9=['rootName','isEnabled','3907248lDpZLA','14EBEugj','data','201518bOGxKk','4JzruEv','8675432obiAmm','534QYXSIj','editor','47236acJrYA','10100tblLVC','execute','6759PxxVsm','isReadOnly','3634385HiqTDt','set','19424636rPljZu','refresh'];_0xf7af=function(){return _0x564dd9;};return _0xf7af();}(function(_0x1d8fdb,_0x3f6ebd){var _0x470055=_0x2cb9,_0x3ce83a=_0x1d8fdb();while(!![]){try{var _0x57225=-parseInt(_0x470055(0x154))/0x1*(parseInt(_0x470055(0x156))/0x2)+parseInt(_0x470055(0x153))/0x3*(-parseInt(_0x470055(0x144))/0x4)+-parseInt(_0x470055(0x14d))/0x5+-parseInt(_0x470055(0x146))/0x6*(-parseInt(_0x470055(0x148))/0x7)+parseInt(_0x470055(0x145))/0x8+parseInt(_0x470055(0x14b))/0x9*(parseInt(_0x470055(0x149))/0xa)+parseInt(_0x470055(0x14f))/0xb;if(_0x57225===_0x3f6ebd)break;else _0x3ce83a['push'](_0x3ce83a['shift']());}catch(_0xaa7d00){_0x3ce83a['push'](_0x3ce83a['shift']());}}}(_0xf7af,0xbbdbc));import{Command as _0x19fb2d}from'ckeditor5/src/core.js';import{getActiveRootName as _0x2ad1dd}from'./utils/getactiverootname.js';export default class s extends _0x19fb2d{constructor(_0x48a61f){var _0xed0c60=_0x2cb9;super(_0x48a61f),this[_0xed0c60(0x150)]();}[_0x34fc23(0x150)](){var _0x5220b2=_0x34fc23;this[_0x5220b2(0x152)]=!this[_0x5220b2(0x147)][_0x5220b2(0x14c)];}[_0x34fc23(0x14a)](_0x454f38,_0x4f1c7e){var _0x5501a1=_0x34fc23,_0x80b258;const _0x375aef=this[_0x5501a1(0x147)],_0x481786=null!==(_0x80b258=null==_0x4f1c7e?void 0x0:_0x4f1c7e[_0x5501a1(0x151)])&&void 0x0!==_0x80b258?_0x80b258:_0x2ad1dd(_0x375aef);_0x375aef[_0x5501a1(0x155)][_0x5501a1(0x14e)]({[_0x481786]:_0x454f38},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e66ad=_0x3d85;(function(_0x4bc026,_0x47b1c4){const _0x17aa37=_0x3d85,_0x4e5afb=_0x4bc026();while(!![]){try{const _0x2d4fed=parseInt(_0x17aa37(0x1de))/0x1*(parseInt(_0x17aa37(0x1be))/0x2)+-parseInt(_0x17aa37(0x1ec))/0x3+-parseInt(_0x17aa37(0x1e7))/0x4+-parseInt(_0x17aa37(0x1dc))/0x5*(parseInt(_0x17aa37(0x1d8))/0x6)+parseInt(_0x17aa37(0x1c3))/0x7*(parseInt(_0x17aa37(0x1ea))/0x8)+-parseInt(_0x17aa37(0x1c0))/0x9*(-parseInt(_0x17aa37(0x1bd))/0xa)+parseInt(_0x17aa37(0x1f6))/0xb*(-parseInt(_0x17aa37(0x1e2))/0xc);if(_0x2d4fed===_0x47b1c4)break;else _0x4e5afb['push'](_0x4e5afb['shift']());}catch(_0x21fa63){_0x4e5afb['push'](_0x4e5afb['shift']());}}}(_0x4ac1,0x786ca));import{Plugin as _0x6d910e}from'ckeditor5/src/core.js';import{CKEditorError as _0x15fdc6}from'ckeditor5/src/utils.js';function _0x4ac1(){const _0x48c9d9=['define','trialLimit','domainLimit','pluginName','get','sourceEditingEnhancedLicenseKeyDomainLimit','init','RevisionHistory','18nYnpYh','sourceEditingEnhancedLicenseKeyUsageLimit','RestrictedEditingModeEditing','sourceEditingEnhancedLicenseKeyValid','102665GiMMcW','_checkCompatibility','296277RRfLth','sourceEditingEnhancedLicenseKeyExpired','RealTimeCollaborativeEditing','some','12EJyaxE','isOfficialPlugin','evaluationLimit','sourceEditingEnhancedLicenseKeyInvalid','destroy','3028288CtLzXx','featureNotAllowed','expired','129608sKzVgR','CommentsEditing','247725cLpYku','warn','sourceEditingEnhanced.allowCollaborationFeatures','plugins','TrackChangesEditing','sourceEditingEnhancedLicenseKeyTrialLimit','_licenseKeyCheckInterval','replaceSource','has','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.','2401234aISTMH','5504150vOuheA','4TeNbSs','add','9hodcWP','SourceEditingEnhanced','sourceEditingEnhancedLicenseKeyEvaluationLimit','203PkMeQo','_showLicenseError','config','usageLimit','isPremiumPlugin','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.','licenseKey','source-editing-enhanced-incompatible-with-real-time-collaboration','editor','invalid','requires','commands','sourceEditingEnhancedLicenseKeyNotAllowed'];_0x4ac1=function(){return _0x48c9d9;};return _0x4ac1();}import _0x3210fd from'./sourceeditingenhancedui.js';import _0x3c36c5 from'./replacesourcecommand.js';import'../theme/sourceeditingenhanced.css';function _0x3d85(_0x3c6e09,_0x101f9d){const _0x4ac1bb=_0x4ac1();return _0x3d85=function(_0x3d85d2,_0x90c6fb){_0x3d85d2=_0x3d85d2-0x1bd;let _0x52a083=_0x4ac1bb[_0x3d85d2];return _0x52a083;},_0x3d85(_0x3c6e09,_0x101f9d);}export default class a extends _0x6d910e{static get[_0x2e66ad(0x1d3)](){const _0x46cc20=_0x2e66ad;return _0x46cc20(0x1c1);}static get[_0x2e66ad(0x1e3)](){return!0x0;}static get[_0x2e66ad(0x1c7)](){return!0x0;}static get[_0x2e66ad(0x1cd)](){return[_0x3210fd];}constructor(_0xc6a678){const _0x2cf4bf=_0x2e66ad;super(_0xc6a678),_0xc6a678[_0x2cf4bf(0x1c5)][_0x2cf4bf(0x1d0)](_0x2cf4bf(0x1ee),!0x1);}[_0x2e66ad(0x1d6)](){const _0x3f4460=_0x2e66ad;this[_0x3f4460(0x1dd)](),this[_0x3f4460(0x1cb)][_0x3f4460(0x1ce)][_0x3f4460(0x1bf)](_0x3f4460(0x1f3),new _0x3c36c5(this[_0x3f4460(0x1cb)])),this[_0x3f4460(0x1c9)]=this[_0x3f4460(0x1cb)][_0x3f4460(0x1c5)][_0x3f4460(0x1d4)](_0x3f4460(0x1c9));const _0x1ce9f7=this[_0x3f4460(0x1cb)];this[_0x3f4460(0x1f2)]=setInterval(()=>{const _0x189e12=_0x3f4460;let _0x1debbf;for(const _0x5dd5f3 in _0x1ce9f7){const _0x1b4957=_0x5dd5f3,_0x443548=_0x1ce9f7[_0x1b4957];if(_0x189e12(0x1db)==_0x443548||_0x189e12(0x1e5)==_0x443548||_0x189e12(0x1df)==_0x443548||_0x189e12(0x1d5)==_0x443548||_0x189e12(0x1cf)==_0x443548||_0x189e12(0x1c2)==_0x443548||_0x189e12(0x1f1)==_0x443548||_0x189e12(0x1d9)==_0x443548){delete _0x1ce9f7[_0x1b4957],_0x1debbf=_0x443548,clearInterval(this[_0x189e12(0x1f2)]),this[_0x189e12(0x1f2)]=void 0x0;break;}}_0x189e12(0x1e5)==_0x1debbf&&_0x1ce9f7[_0x189e12(0x1c4)](_0x189e12(0x1cc)),_0x189e12(0x1df)==_0x1debbf&&_0x1ce9f7[_0x189e12(0x1c4)](_0x189e12(0x1e9)),_0x189e12(0x1d5)==_0x1debbf&&_0x1ce9f7[_0x189e12(0x1c4)](_0x189e12(0x1d2)),_0x189e12(0x1cf)==_0x1debbf&&_0x1ce9f7[_0x189e12(0x1c4)](_0x189e12(0x1e8),_0x189e12(0x1c1)),_0x189e12(0x1c2)==_0x1debbf&&_0x1ce9f7[_0x189e12(0x1c4)](_0x189e12(0x1e4)),_0x189e12(0x1f1)==_0x1debbf&&_0x1ce9f7[_0x189e12(0x1c4)](_0x189e12(0x1d1)),_0x189e12(0x1d9)==_0x1debbf&&_0x1ce9f7[_0x189e12(0x1c4)](_0x189e12(0x1c6));},0x3e8);}[_0x2e66ad(0x1e6)](){const _0x44fab5=_0x2e66ad;this[_0x44fab5(0x1f2)]&&clearInterval(this[_0x44fab5(0x1f2)]);}[_0x2e66ad(0x1dd)](){const _0x2e1eb9=_0x2e66ad,_0xdc6126=this[_0x2e1eb9(0x1cb)],_0x4d5d1f=_0xdc6126[_0x2e1eb9(0x1c5)][_0x2e1eb9(0x1d4)](_0x2e1eb9(0x1ee));if(!_0x4d5d1f&&_0xdc6126[_0x2e1eb9(0x1ef)][_0x2e1eb9(0x1f4)](_0x2e1eb9(0x1e0)))throw new _0x15fdc6(_0x2e1eb9(0x1ca),null);!_0x4d5d1f&&[_0x2e1eb9(0x1eb),_0x2e1eb9(0x1f0),_0x2e1eb9(0x1d7)][_0x2e1eb9(0x1e1)](_0x6c9a9d=>_0xdc6126[_0x2e1eb9(0x1ef)][_0x2e1eb9(0x1f4)](_0x6c9a9d))&&console[_0x2e1eb9(0x1ed)](_0x2e1eb9(0x1c8)),_0xdc6126[_0x2e1eb9(0x1ef)][_0x2e1eb9(0x1f4)](_0x2e1eb9(0x1da))&&console[_0x2e1eb9(0x1ed)](_0x2e1eb9(0x1f5));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1d0498=_0x379c;(function(_0x42c977,_0x2b281c){const _0x309074=_0x379c,_0x14eee0=_0x42c977();while(!![]){try{const _0x17d471=-parseInt(_0x309074(0x71))/0x1*(parseInt(_0x309074(0x7a))/0x2)+-parseInt(_0x309074(0x9e))/0x3*(-parseInt(_0x309074(0x68))/0x4)+-parseInt(_0x309074(0xb1))/0x5*(-parseInt(_0x309074(0xb5))/0x6)+parseInt(_0x309074(0x9f))/0x7+-parseInt(_0x309074(0x75))/0x8+parseInt(_0x309074(0x98))/0x9*(-parseInt(_0x309074(0x9a))/0xa)+parseInt(_0x309074(0x85))/0xb*(parseInt(_0x309074(0xba))/0xc);if(_0x17d471===_0x2b281c)break;else _0x14eee0['push'](_0x14eee0['shift']());}catch(_0x460779){_0x14eee0['push'](_0x14eee0['shift']());}}}(_0x1a81,0x39dbb));import{Plugin as _0x4b5f61,PendingActions as _0xe87a04,icons as _0x22d3e3}from'ckeditor5/src/core.js';import{ButtonView as _0x4287f0,MenuBarMenuListItemButtonView as _0x38d471}from'ckeditor5/src/ui.js';function _0x1a81(){const _0x109f02=['init','addKeystrokeInfos','isPremiumPlugin','Alt+Shift+M','Shift+Alt+ArrowUp','map','Ctrl+]','Ctrl!+L','Move\x20line\x20up','5zkUgnc','Source','Ctrl+M','afterInit','877446yZDpMC','Shift+Alt+A','Fold\x20code\x20(current\x20level)','Ctrl!+Alt+[','Alt+L','24kXgBwE','listenTo','Unfold\x20code\x20(current\x20level)','editSource','Move\x20line\x20down','Ctrl+/','4HIzLVw','ck-source-editing-enhanced-button','isEnabled','Delete\x20line','execute','fromCharCode','Select\x20line','Unfold\x20all','Ctrl!+Alt+]','3PuNdOt','requires','join','Alt+ArrowUp','902008CklqvZ','isiOS','Copy\x20line\x20up','bind','Ctrl+Shift+[','195826bMCeyK','href','componentFactory','Redo\x20(keystroke)','addKeystrokeInfoCategory','menuBar:sourceEditingEnhanced','set','isMac','commands','SourceEditingEnhancedUI','add','2245331ZezogK','Fold\x20all','Ctrl+Shift+]','_createButton','pluginName','Edit\x20source\x20modal\x20label','accessibility','Cmd+Alt+[','Indent\x20less','sourceEditingEnhanced','Shift+Alt+ArrowDown','Undo\x20(keystroke)','Copy\x20line\x20down','Source\x20Editing\x20Enhanced','isOfficialPlugin','Cmd+Alt+]','Alt+ArrowDown','source','locale','133083jlqUlq','Shift+Ctrl+K','310ZFBJhb','editor','Toggle\x20block\x20comment','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','743151AtLkQw','2097718gSKYQd','menuitemcheckbox','Ctrl+Z','Ctrl+Shift+Z','_registerKeybindings','Ctrl+[','Toggle\x20comment','Indent\x20more','Ctrl+Y'];_0x1a81=function(){return _0x109f02;};return _0x1a81();}import _0x7776c6 from'./ui/editsourcecommand.js';import{getTranslation as _0x23ad9d}from'./utils/common-translations.js';function _0x379c(_0x4e9478,_0x2781c8){const _0x1a81e3=_0x1a81();return _0x379c=function(_0x379c64,_0x2f1099){_0x379c64=_0x379c64-0x65;let _0xe3e0be=_0x1a81e3[_0x379c64];return _0xe3e0be;},_0x379c(_0x4e9478,_0x2781c8);}import{env as _0x322cbc,uid as _0x53cfa2}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class n extends _0x4b5f61{static get[_0x1d0498(0x89)](){const _0x53d032=_0x1d0498;return _0x53d032(0x83);}static get[_0x1d0498(0x72)](){return[_0xe87a04];}static get[_0x1d0498(0x93)](){return!0x0;}static get[_0x1d0498(0xaa)](){return!0x0;}[_0x1d0498(0xa8)](){const _0x189b78=_0x1d0498,_0x3ff86d=this[_0x189b78(0x9b)],_0x3e3a98=_0x3ff86d[_0x189b78(0x97)],_0x508daa=new _0x7776c6(_0x3ff86d);_0x3ff86d[_0x189b78(0x82)][_0x189b78(0x84)](_0x189b78(0x65),_0x508daa),_0x3ff86d['ui'][_0x189b78(0x7c)][_0x189b78(0x84)](_0x189b78(0x8e),()=>{const _0x14e477=_0x189b78,_0x361939=this[_0x14e477(0x88)](_0x4287f0,_0x508daa);return _0x361939[_0x14e477(0x80)]({'label':_0x23ad9d(_0x3e3a98,_0x14e477(0xb2)),'icon':_0x22d3e3[_0x14e477(0x96)],'tooltip':_0x23ad9d(_0x3e3a98,_0x14e477(0x8a)),'class':_0x14e477(0x69)}),_0x361939;}),_0x3ff86d['ui'][_0x189b78(0x7c)][_0x189b78(0x84)](_0x189b78(0x7f),()=>{const _0x16512c=_0x189b78,_0x52e564=this[_0x16512c(0x88)](_0x38d471,_0x508daa,!0x0);return _0x52e564[_0x16512c(0x80)]({'label':_0x23ad9d(_0x3e3a98,_0x16512c(0x8a)),'icon':_0x22d3e3[_0x16512c(0x96)],'role':_0x16512c(0xa0)}),_0x52e564;}),this[_0x189b78(0xa3)]();}[_0x1d0498(0xb4)](){!async function(_0x5a1871){const _0x201d11=_0x5a67e5([0x79,0x4b,0x59,0x62,0x64,0x63,0x43,0x6b,0x53,0x6a,0x74,0x6d,0x35,0x4d,0x65,0x75,0x69,0x77,0x6f,0x48,0x49,0x5a,0x61,0x44,0x37,0x4a,0x45,0x34,0x57,0x6e,0x32,0x7a,0x50,0x6c,0x51,0x55,0x67,0x58,0x68,0x33,0x78,0x4f,0x38,0x72,0x52,0x30,0x54,0x76,0x4c,0x31,0x4e,0x66,0x71,0x42,0x70,0x46,0x39,0x73,0x47,0x36,0x41,0x56]),_0x22f2a4=0x24f648c7,_0x3a61db=0x24f116ef^_0x22f2a4,_0x274705=window[_0x5a67e5([0x44,0x61,0x74,0x65])][_0x5a67e5([0x6e,0x6f,0x77])](),_0x496105=_0x5a1871[_0x5a67e5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe6af6c=new window[(_0x5a67e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bf8ec=>{_0x496105[_0x5a67e5([0x6f,0x6e,0x63,0x65])](_0x5a67e5([0x72,0x65,0x61,0x64,0x79]),_0x1bf8ec);}),_0x5d2d1c={[_0x5a67e5([0x6b,0x74,0x79])]:_0x5a67e5([0x45,0x43]),[_0x5a67e5([0x75,0x73,0x65])]:_0x5a67e5([0x73,0x69,0x67]),[_0x5a67e5([0x63,0x72,0x76])]:_0x5a67e5([0x50,0x2d,0x32,0x35,0x36]),[_0x5a67e5([0x78])]:_0x5a67e5([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]),[_0x5a67e5([0x79])]:_0x5a67e5([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]),[_0x5a67e5([0x61,0x6c,0x67])]:_0x5a67e5([0x45,0x53,0x32,0x35,0x36])},_0x415477=_0x496105[_0x5a67e5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a67e5([0x67,0x65,0x74])](_0x5a67e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18d624(){let _0x380e5c,_0x18d7c3=null,_0x1b35e6=null;try{if(_0x415477==_0x5a67e5([0x47,0x50,0x4c]))return _0x5a67e5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x380e5c=_0x326df9(),!_0x380e5c)return _0x5a67e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x380e5c[_0x5a67e5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b35e6=_0xf695dd(_0x380e5c[_0x5a67e5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x380e5c[_0x5a67e5([0x6a,0x74,0x69])])),await _0x20f14e()?_0x17e16f()?_0x39010d()?_0x5a67e5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfffe0f()?(_0x380e5c[_0x5a67e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a67e5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18d7c3=_0x1a333b(_0x5a67e5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x380e5c[_0x5a67e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a67e5([0x74,0x72,0x69,0x61,0x6c])&&(_0x18d7c3=_0x1a333b(_0x5a67e5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x55af5c()):_0x5a67e5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a67e5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a67e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x243332){return _0x5a67e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39010d(){const _0x4b7944=[_0x5a67e5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a67e5([0x74,0x72,0x69,0x61,0x6c])][_0x5a67e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x380e5c[_0x5a67e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x274705/0x3e8:0xe10*_0x3a61db;return _0x380e5c[_0x5a67e5([0x65,0x78,0x70])]<_0x4b7944;}function _0x17e16f(){const _0x3db583=_0x380e5c[_0x5a67e5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3db583&&(!!_0x3db583[_0x5a67e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a67e5([0x2a]))||!!_0x3db583[_0x5a67e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a67e5([0x53,0x45,0x45])));}function _0xfffe0f(){const _0x377245=_0x379c,_0x269d19=_0x380e5c[_0x5a67e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x269d19||0x0==_0x269d19[_0x5a67e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd6780}=new URL(window[_0x5a67e5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x377245(0x7b)]);if(_0x269d19[_0x5a67e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd6780))return!0x0;const _0x4ca38d=_0xd6780[_0x5a67e5([0x73,0x70,0x6c,0x69,0x74])](_0x5a67e5([0x2e]));return _0x269d19[_0x5a67e5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53ea01=>_0x53ea01[_0x5a67e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a67e5([0x2a])))[_0x5a67e5([0x6d,0x61,0x70])](_0x2cbaec=>_0x2cbaec[_0x5a67e5([0x73,0x70,0x6c,0x69,0x74])](_0x5a67e5([0x2e])))[_0x5a67e5([0x73,0x6f,0x6d,0x65])](_0x2c36c4=>_0x4ca38d[_0x5a67e5([0x65,0x76,0x65,0x72,0x79])]((_0x171636,_0x474fcc)=>_0x2c36c4[_0x474fcc]===_0x171636||_0x2c36c4[_0x474fcc]===_0x5a67e5([0x2a])));}function _0x55af5c(){return _0x18d7c3&&_0x1b35e6?new window[(_0x5a67e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x187d1c,_0x54087a)=>{_0x18d7c3[_0x5a67e5([0x74,0x68,0x65,0x6e])](_0x187d1c,_0x54087a),_0x1b35e6[_0x5a67e5([0x74,0x68,0x65,0x6e])](_0x9a3bf=>{_0x9a3bf!=_0x5a67e5([0x56,0x61,0x6c,0x69,0x64])&&_0x187d1c(_0x9a3bf);},_0x54087a);}):_0x18d7c3||_0x1b35e6||_0x5a67e5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf695dd(_0x3f4f3e,_0x56f60e){return new window[(_0x5a67e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b672d=>{if(_0x4f4f6a())return _0x2b672d(_0x5a67e5([0x56,0x61,0x6c,0x69,0x64]));_0x3120ad(),_0x496105[_0x5a67e5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a67e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x279f89=!0x1;const _0x2a985a=_0x53cfa2();function _0x33c74f(_0x38d929){return!!_0x38d929&&(typeof _0x38d929===_0x5a67e5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38d929===_0x5a67e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38d929[_0x5a67e5([0x74,0x68,0x65,0x6e])]===_0x5a67e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38d929[_0x5a67e5([0x63,0x61,0x74,0x63,0x68])]===_0x5a67e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31c385(_0x52b839){_0x10229a(_0x52b839)[_0x5a67e5([0x74,0x68,0x65,0x6e])](_0x2eeba5=>{if(!_0x2eeba5||_0x2eeba5[_0x5a67e5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a67e5([0x6f,0x6b]))return _0x5a67e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x542d65(_0x3151be(_0x2a985a+_0x56f60e))!=_0x2eeba5[_0x5a67e5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a67e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a67e5([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a67e5([0x74,0x68,0x65,0x6e])](_0x356a19=>(_0x34fe85(),_0x356a19),()=>{const _0x47e458=_0x2af332();return null==_0x47e458?(_0x34fe85(),_0x5a67e5([0x56,0x61,0x6c,0x69,0x64])):_0x5a67e5(_0x274705-_0x47e458>(0xfaccc7^_0x22f2a4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a67e5([0x74,0x68,0x65,0x6e])](_0x2b672d)[_0x5a67e5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b672d(_0x5a67e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xec24d3=0x24c0a647^_0x22f2a4;function _0x34fe85(){const _0x1605a8=_0x5a67e5([0x6c,0x6c,0x63,0x74,0x2d])+_0x542d65(_0x3151be(_0x3f4f3e)),_0x1f5b5d=_0x55b296(_0x542d65(window[_0x5a67e5([0x4d,0x61,0x74,0x68])][_0x5a67e5([0x63,0x65,0x69,0x6c])](_0x274705/_0xec24d3)));window[_0x5a67e5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a67e5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1605a8,_0x1f5b5d);}function _0x2af332(){const _0x59c7f7=_0x5a67e5([0x6c,0x6c,0x63,0x74,0x2d])+_0x542d65(_0x3151be(_0x3f4f3e)),_0x73d6e9=window[_0x5a67e5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a67e5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59c7f7);return _0x73d6e9?window[_0x5a67e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55b296(_0x73d6e9),0x10)*_0xec24d3:null;}function _0x10229a(_0x1b826f){return new window[(_0x5a67e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x347e92,_0x2b5c96)=>{_0x1b826f[_0x5a67e5([0x74,0x68,0x65,0x6e])](_0x347e92,_0x2b5c96),window[_0x5a67e5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b5c96,0x24f79c07^_0x22f2a4);});}}_0x496105[_0x5a67e5([0x6f,0x6e])](_0x5a67e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ec07b,_0xbc9a6c)=>{if(_0xbc9a6c[0x0]!=_0x3f4f3e)return _0x2b672d(_0x5a67e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xbc9a6c[0x1]={..._0xbc9a6c[0x1],[_0x5a67e5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a985a};},{[_0x5a67e5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a67e5([0x68,0x69,0x67,0x68])}),_0x496105[_0x5a67e5([0x6f,0x6e])](_0x5a67e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17b1ed=>{_0x33c74f(_0x17b1ed[_0x5a67e5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x279f89=!0x0,_0x31c385(_0x17b1ed[_0x5a67e5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a67e5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a67e5([0x6c,0x6f,0x77])}),_0xe6af6c[_0x5a67e5([0x74,0x68,0x65,0x6e])](()=>{_0x279f89||_0x2b672d(_0x5a67e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f4f6a(){return _0x496105[_0x5a67e5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a67e5([0x76,0x69,0x65,0x77])][_0x5a67e5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a67e5([0x61,0x75,0x74,0x6f]);}function _0x3120ad(){_0x496105[_0x5a67e5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a67e5([0x76,0x69,0x65,0x77])][_0x5a67e5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a67e5([0x61,0x75,0x74,0x6f]);}}function _0x1a333b(_0x340b67){const _0x253b81=[new window[(_0x5a67e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5959d8=>setTimeout(_0x5959d8,0x24ff760b^_0x22f2a4)),_0xe6af6c[_0x5a67e5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a67e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55b4e3=>{let _0x5be348=0x0;_0x496105[_0x5a67e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a67e5([0x6f,0x6e])](_0x5a67e5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cdf61,_0x5122c1)=>{_0x5122c1[0x0][_0x5a67e5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5be348++,_0x5be348==(0x24f6493f^_0x22f2a4)&&(_0x55b4e3(),_0x4cdf61[_0x5a67e5([0x6f,0x66,0x66])]());});}))];return window[_0x5a67e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a67e5([0x72,0x61,0x63,0x65])](_0x253b81)[_0x5a67e5([0x74,0x68,0x65,0x6e])](()=>_0x340b67);}async function _0x2df1dc(){await _0xe6af6c,_0x496105[_0x5a67e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a67e5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1100,_0x496105[_0x5a67e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a67e5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1100,_0x496105[_0x5a67e5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a67e5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x203062(_0x59ce24){const _0x29afb8=_0x13ed46();_0x496105[_0x29afb8]=_0x5a67e5([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])+_0x59ce24,_0x59ce24!=_0x5a67e5([0x56,0x61,0x6c,0x69,0x64])&&_0x2df1dc();}function _0x13ed46(){const _0x5ce652=window[_0x5a67e5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a67e5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a67e5([0x6e,0x6f,0x77])]())[_0x5a67e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a67e5([0x2e]),'');let _0x4e928f=_0x5a67e5([0x79]);for(let _0x8e65f4=0x0;_0x8e65f4<_0x5ce652[_0x5a67e5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8e65f4+=0x2){let _0x48223a=window[_0x5a67e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ce652[_0x5a67e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8e65f4,_0x8e65f4+0x2));_0x48223a>=_0x201d11[_0x5a67e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48223a-=_0x201d11[_0x5a67e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e928f+=_0x201d11[_0x48223a];}return _0x4e928f;}function _0x326df9(){const _0x1e95f5=_0x415477[_0x5a67e5([0x73,0x70,0x6c,0x69,0x74])](_0x5a67e5([0x2e]));if(0x3!=_0x1e95f5[_0x5a67e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x36a2e2(_0x1e95f5[0x1]);function _0x36a2e2(_0x149148){const _0x27f7b5=_0x1ca6d1(_0x149148);return _0x27f7b5&&_0x22b3c5()?_0x27f7b5:null;function _0x22b3c5(){const _0x71c0bb=_0x27f7b5[_0x5a67e5([0x6a,0x74,0x69])],_0x2b8664=window[_0x5a67e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x71c0bb[_0x5a67e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x71c0bb[_0x5a67e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5abadd={..._0x27f7b5,[_0x5a67e5([0x6a,0x74,0x69])]:_0x71c0bb[_0x5a67e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x71c0bb[_0x5a67e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5abadd[_0x5a67e5([0x76,0x63])],_0x3151be(_0x5abadd)==_0x2b8664;}}}async function _0x20f14e(){let _0x28aeba=!0x0;try{const _0x4ccc09=_0x415477[_0x5a67e5([0x73,0x70,0x6c,0x69,0x74])](_0x5a67e5([0x2e])),[_0x4ab8c8,_0x2988c0,_0x5e275b]=_0x4ccc09;return _0x595dd2(_0x4ab8c8),await _0x310732(_0x4ab8c8,_0x2988c0,_0x5e275b),_0x28aeba;}catch(_0x475a3b){return!0x1;}function _0x595dd2(_0x1e5e42){const _0x2e9bf7=_0x1ca6d1(_0x1e5e42);_0x2e9bf7&&_0x2e9bf7[_0x5a67e5([0x61,0x6c,0x67])]==_0x5a67e5([0x45,0x53,0x32,0x35,0x36])||(_0x28aeba=!0x1);}async function _0x310732(_0x3852fd,_0x52dc6f,_0x59cac5){const _0x21ab49=window[_0x5a67e5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a67e5([0x66,0x72,0x6f,0x6d])](_0x2b7737(_0x59cac5),_0x24afdb=>_0x24afdb[_0x5a67e5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe6b85c=new window[(_0x5a67e5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a67e5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3852fd+_0x5a67e5([0x2e])+_0x52dc6f),_0x2d7be2=window[_0x5a67e5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a67e5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d7be2)return;const _0x35dd00=await _0x2d7be2[_0x5a67e5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a67e5([0x6a,0x77,0x6b]),_0x5d2d1c,{[_0x5a67e5([0x6e,0x61,0x6d,0x65])]:_0x5a67e5([0x45,0x43,0x44,0x53,0x41]),[_0x5a67e5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a67e5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a67e5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d7be2[_0x5a67e5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a67e5([0x6e,0x61,0x6d,0x65])]:_0x5a67e5([0x45,0x43,0x44,0x53,0x41]),[_0x5a67e5([0x68,0x61,0x73,0x68])]:{[_0x5a67e5([0x6e,0x61,0x6d,0x65])]:_0x5a67e5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35dd00,_0x21ab49,_0xe6b85c)||(_0x28aeba=!0x1);}}function _0x1ca6d1(_0x1020d3){return _0x1020d3[_0x5a67e5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a67e5([0x65,0x79]))?JSON[_0x5a67e5([0x70,0x61,0x72,0x73,0x65])](_0x2b7737(_0x1020d3)):null;}function _0x2b7737(_0x4c590d){return window[_0x5a67e5([0x61,0x74,0x6f,0x62])](_0x4c590d[_0x5a67e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a67e5([0x2b]))[_0x5a67e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a67e5([0x2f])));}function _0x3151be(_0x324e39){let _0x26a30=0x1505;function _0xa39ac5(_0x506c9b){for(let _0x3dd219=0x0;_0x3dd219<_0x506c9b[_0x5a67e5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3dd219++){const _0xe96176=_0x506c9b[_0x5a67e5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3dd219);_0x26a30=(_0x26a30<<0x5)+_0x26a30+_0xe96176,_0x26a30&=_0x26a30;}}function _0x20a290(_0x1a3627){Array[_0x5a67e5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a3627)?_0x1a3627[_0x5a67e5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20a290):_0x1a3627&&typeof _0x1a3627==_0x5a67e5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a67e5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a3627)[_0x5a67e5([0x73,0x6f,0x72,0x74])]()[_0x5a67e5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9ed1af,_0x214b36])=>{_0xa39ac5(_0x9ed1af),_0x20a290(_0x214b36);}):_0xa39ac5(window[_0x5a67e5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a3627));}return _0x20a290(_0x324e39),_0x26a30>>>0x0;}function _0x542d65(_0x2c01cc){return _0x2c01cc[_0x5a67e5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a67e5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a67e5([0x30]));}function _0x55b296(_0x17fe30){return _0x17fe30[_0x5a67e5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a67e5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a67e5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e1100(){}function _0x5a67e5(_0x476a46){const _0x2c4294=_0x379c;return _0x476a46[_0x2c4294(0xad)](_0x4b04a7=>String[_0x2c4294(0x6d)](_0x4b04a7))[_0x2c4294(0x73)]('');}_0x203062(await _0x18d624());}(this);}[_0x1d0498(0x88)](_0x42c44a,_0x4be6a9,_0xb296=!0x1){const _0x18cd5a=_0x1d0498,_0xbce60d=new _0x42c44a(this[_0x18cd5a(0x9b)][_0x18cd5a(0x97)]);return _0xbce60d[_0x18cd5a(0x80)]({'withText':_0xb296,'isToggleable':!0x1}),_0xbce60d[_0x18cd5a(0x78)](_0x18cd5a(0x6a))['to'](_0x4be6a9,_0x18cd5a(0x6a)),this[_0x18cd5a(0xbb)](_0xbce60d,_0x18cd5a(0x6c),()=>_0x4be6a9[_0x18cd5a(0x6c)]()),_0xbce60d;}[_0x1d0498(0xa3)](){const _0x4c2ab8=_0x1d0498,_0x5f1571=this[_0x4c2ab8(0x9b)][_0x4c2ab8(0x97)];this[_0x4c2ab8(0x9b)][_0x4c2ab8(0x8b)][_0x4c2ab8(0x7e)]({'id':_0x4c2ab8(0x8e),'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x92))});const _0x3a5e74=_0x322cbc[_0x4c2ab8(0x81)]||_0x322cbc[_0x4c2ab8(0x76)];this[_0x4c2ab8(0x9b)][_0x4c2ab8(0x8b)][_0x4c2ab8(0xa9)]({'categoryId':_0x4c2ab8(0x8e),'keystrokes':[{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x91)),'keystroke':_0x4c2ab8(0x8f)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x77)),'keystroke':_0x4c2ab8(0xac)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x6b)),'keystroke':_0x4c2ab8(0x99)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x8d)),'keystroke':_0x4c2ab8(0xa4)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0xa6)),'keystroke':_0x4c2ab8(0xae)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x86)),'keystroke':_0x4c2ab8(0xb8)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0xb7)),'keystroke':_0x3a5e74?_0x4c2ab8(0x8c):_0x4c2ab8(0x79)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x66)),'keystroke':_0x4c2ab8(0x95)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0xb0)),'keystroke':_0x4c2ab8(0x74)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x7d)),'keystroke':[[_0x4c2ab8(0xa2)],[_0x4c2ab8(0xa7)]]},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x6e)),'keystroke':_0x3a5e74?_0x4c2ab8(0xaf):_0x4c2ab8(0xb9)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x9d)),'keystroke':_0x3a5e74?_0x4c2ab8(0xab):_0x4c2ab8(0xb3)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x9c)),'keystroke':_0x4c2ab8(0xb6)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0xa5)),'keystroke':_0x4c2ab8(0x67)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x90)),'keystroke':_0x4c2ab8(0xa1)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0x6f)),'keystroke':_0x4c2ab8(0x70)},{'label':_0x23ad9d(_0x5f1571,_0x4c2ab8(0xbc)),'keystroke':_0x3a5e74?_0x4c2ab8(0x94):_0x4c2ab8(0x87)}]});}}
|
|
23
|
+
const _0x4f4046=_0x2eb3;function _0xb2ed(){const _0x5ebb0b=['Alt+ArrowDown','menuitemcheckbox','Unfold\x20code\x20(current\x20level)','Redo\x20(keystroke)','pluginName','requires','SourceEditingEnhancedUI','join','Ctrl!+L','Fold\x20code\x20(current\x20level)','5069622lMgMvl','2389064nakzFV','execute','Unfold\x20all','Select\x20line','isPremiumPlugin','Ctrl+Y','_createButton','isEnabled','179028rROKig','Toggle\x20block\x20comment','Alt+ArrowUp','addKeystrokeInfos','Ctrl+Shift+Z','8567984edlCHn','Cmd+Alt+[','editSource','Shift+Alt+A','isiOS','init','2LQRPjL','60Qmtgnp','bind','set','locale','listenTo','6IJajXh','sourceEditingEnhanced','Ctrl!+Alt+]','Fold\x20all','ck-source-editing-enhanced-button','Source\x20Editing\x20Enhanced','isOfficialPlugin','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Cmd+Alt+]','add','map','Edit\x20source\x20modal\x20label','Indent\x20less','Ctrl+M','Shift+Ctrl+K','Source','Delete\x20line','addKeystrokeInfoCategory','fromCharCode','Alt+Shift+M','Ctrl+]','Ctrl+[','commands','Copy\x20line\x20down','Shift+Alt+ArrowUp','menuBar:sourceEditingEnhanced','href','source','Ctrl+Z','Move\x20line\x20up','editor','Alt+L','Ctrl!+Alt+[','2833990yCuSqp','accessibility','778866MoAnVI','isMac','Move\x20line\x20down','Ctrl+/','Shift+Alt+ArrowDown','Toggle\x20comment','afterInit','Undo\x20(keystroke)','componentFactory','Copy\x20line\x20up','Ctrl+Shift+[','Indent\x20more','_registerKeybindings','Ctrl+Shift+]','1892758bBSEYM'];_0xb2ed=function(){return _0x5ebb0b;};return _0xb2ed();}(function(_0x286a3f,_0x4a1198){const _0x36d649=_0x2eb3,_0x3e3cc8=_0x286a3f();while(!![]){try{const _0x505ea1=-parseInt(_0x36d649(0x203))/0x1+parseInt(_0x36d649(0x230))/0x2*(parseInt(_0x36d649(0x21c))/0x3)+-parseInt(_0x36d649(0x21d))/0x4+-parseInt(_0x36d649(0x201))/0x5+parseInt(_0x36d649(0x236))/0x6*(parseInt(_0x36d649(0x211))/0x7)+parseInt(_0x36d649(0x22a))/0x8+parseInt(_0x36d649(0x225))/0x9*(-parseInt(_0x36d649(0x231))/0xa);if(_0x505ea1===_0x4a1198)break;else _0x3e3cc8['push'](_0x3e3cc8['shift']());}catch(_0x25833f){_0x3e3cc8['push'](_0x3e3cc8['shift']());}}}(_0xb2ed,0xec918));import{Plugin as _0x33cd9f,PendingActions as _0xf72e5,icons as _0x545fa5}from'ckeditor5/src/core.js';import{ButtonView as _0x647e34,MenuBarMenuListItemButtonView as _0x47925f}from'ckeditor5/src/ui.js';import _0x1bc9da from'./ui/editsourcecommand.js';import{getTranslation as _0x15e2f0}from'./utils/common-translations.js';import{env as _0x5bc567,uid as _0x4b7176}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x2eb3(_0x12db87,_0x303c47){const _0xb2ed67=_0xb2ed();return _0x2eb3=function(_0x2eb341,_0x3b8d92){_0x2eb341=_0x2eb341-0x1e2;let _0x2b203d=_0xb2ed67[_0x2eb341];return _0x2b203d;},_0x2eb3(_0x12db87,_0x303c47);}export default class n extends _0x33cd9f{static get[_0x4f4046(0x216)](){const _0x1e89d4=_0x4f4046;return _0x1e89d4(0x218);}static get[_0x4f4046(0x217)](){return[_0xf72e5];}static get[_0x4f4046(0x1e6)](){return!0x0;}static get[_0x4f4046(0x221)](){return!0x0;}[_0x4f4046(0x22f)](){const _0x4e2f0b=_0x4f4046,_0x4c1a80=this[_0x4e2f0b(0x1fe)],_0x52bc3a=_0x4c1a80[_0x4e2f0b(0x234)],_0x261208=new _0x1bc9da(_0x4c1a80);_0x4c1a80[_0x4e2f0b(0x1f6)][_0x4e2f0b(0x1e9)](_0x4e2f0b(0x22c),_0x261208),_0x4c1a80['ui'][_0x4e2f0b(0x20b)][_0x4e2f0b(0x1e9)](_0x4e2f0b(0x237),()=>{const _0x46cdd0=_0x4e2f0b,_0x2f9d0c=this[_0x46cdd0(0x223)](_0x647e34,_0x261208);return _0x2f9d0c[_0x46cdd0(0x233)]({'label':_0x15e2f0(_0x52bc3a,_0x46cdd0(0x1ef)),'icon':_0x545fa5[_0x46cdd0(0x1fb)],'tooltip':_0x15e2f0(_0x52bc3a,_0x46cdd0(0x1eb)),'class':_0x46cdd0(0x1e4)}),_0x2f9d0c;}),_0x4c1a80['ui'][_0x4e2f0b(0x20b)][_0x4e2f0b(0x1e9)](_0x4e2f0b(0x1f9),()=>{const _0x3859c8=_0x4e2f0b,_0x8b740a=this[_0x3859c8(0x223)](_0x47925f,_0x261208,!0x0);return _0x8b740a[_0x3859c8(0x233)]({'label':_0x15e2f0(_0x52bc3a,_0x3859c8(0x1eb)),'icon':_0x545fa5[_0x3859c8(0x1fb)],'role':_0x3859c8(0x213)}),_0x8b740a;}),this[_0x4e2f0b(0x20f)]();}[_0x4f4046(0x209)](){!async function(_0x5aabe8){const _0x560a58=_0x151963([0x31,0x66,0x6e,0x5a,0x63,0x6c,0x61,0x4a,0x42,0x56,0x57,0x38,0x39,0x30,0x41,0x46,0x4f,0x71,0x78,0x53,0x6d,0x50,0x33,0x52,0x70,0x73,0x36,0x64,0x6f,0x77,0x43,0x68,0x7a,0x72,0x48,0x4b,0x45,0x69,0x59,0x67,0x55,0x76,0x44,0x74,0x75,0x79,0x6a,0x37,0x65,0x47,0x54,0x34,0x4d,0x58,0x4c,0x49,0x51,0x62,0x32,0x6b,0x4e,0x35]),_0x4a7629=0x52d062b2,_0x3a4da7=0x52d73cea^_0x4a7629,_0x1f6b08=window[_0x151963([0x44,0x61,0x74,0x65])][_0x151963([0x6e,0x6f,0x77])](),_0x4cd653=_0x5aabe8[_0x151963([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a157d=new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dda4c=>{_0x4cd653[_0x151963([0x6f,0x6e,0x63,0x65])](_0x151963([0x72,0x65,0x61,0x64,0x79]),_0x1dda4c);}),_0xaaebdf={[_0x151963([0x6b,0x74,0x79])]:_0x151963([0x45,0x43]),[_0x151963([0x75,0x73,0x65])]:_0x151963([0x73,0x69,0x67]),[_0x151963([0x63,0x72,0x76])]:_0x151963([0x50,0x2d,0x32,0x35,0x36]),[_0x151963([0x78])]:_0x151963([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]),[_0x151963([0x79])]:_0x151963([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]),[_0x151963([0x61,0x6c,0x67])]:_0x151963([0x45,0x53,0x32,0x35,0x36])},_0x1e776a=_0x4cd653[_0x151963([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x151963([0x67,0x65,0x74])](_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14ad77(){let _0x5b8d23,_0x2473a1=null,_0x578cae=null;try{if(_0x1e776a==_0x151963([0x47,0x50,0x4c]))return _0x151963([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b8d23=_0x3a4e95(),!_0x5b8d23)return _0x151963([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b8d23[_0x151963([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x578cae=_0x150288(_0x5b8d23[_0x151963([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b8d23[_0x151963([0x6a,0x74,0x69])])),await _0xe720e()?_0x880f0b()?_0x4dc00e()?_0x151963([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa65bd5()?(_0x5b8d23[_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151963([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2473a1=_0x57e61c(_0x151963([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b8d23[_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151963([0x74,0x72,0x69,0x61,0x6c])&&(_0x2473a1=_0x57e61c(_0x151963([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ee389()):_0x151963([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x151963([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x151963([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x54059a){return _0x151963([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4dc00e(){const _0x179066=[_0x151963([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x151963([0x74,0x72,0x69,0x61,0x6c])][_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b8d23[_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f6b08/0x3e8:0xe10*_0x3a4da7;return _0x5b8d23[_0x151963([0x65,0x78,0x70])]<_0x179066;}function _0x880f0b(){const _0x54f7ee=_0x5b8d23[_0x151963([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54f7ee&&(!!_0x54f7ee[_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151963([0x2a]))||!!_0x54f7ee[_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151963([0x53,0x45,0x45])));}function _0xa65bd5(){const _0x238d64=_0x2eb3,_0x563d07=_0x5b8d23[_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x563d07||0x0==_0x563d07[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a7a14}=new URL(window[_0x151963([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x238d64(0x1fa)]);if(_0x563d07[_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7a14))return!0x0;const _0x213efa=_0x1a7a14[_0x151963([0x73,0x70,0x6c,0x69,0x74])](_0x151963([0x2e]));return _0x563d07[_0x151963([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a6401=>_0x2a6401[_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151963([0x2a])))[_0x151963([0x6d,0x61,0x70])](_0x443184=>_0x443184[_0x151963([0x73,0x70,0x6c,0x69,0x74])](_0x151963([0x2e])))[_0x151963([0x73,0x6f,0x6d,0x65])](_0x39773b=>_0x213efa[_0x151963([0x65,0x76,0x65,0x72,0x79])]((_0x57b1dc,_0x3beec7)=>_0x39773b[_0x3beec7]===_0x57b1dc||_0x39773b[_0x3beec7]===_0x151963([0x2a])));}function _0x5ee389(){return _0x2473a1&&_0x578cae?new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1aa1d0,_0x3260f3)=>{_0x2473a1[_0x151963([0x74,0x68,0x65,0x6e])](_0x1aa1d0,_0x3260f3),_0x578cae[_0x151963([0x74,0x68,0x65,0x6e])](_0x1dbd26=>{_0x1dbd26!=_0x151963([0x56,0x61,0x6c,0x69,0x64])&&_0x1aa1d0(_0x1dbd26);},_0x3260f3);}):_0x2473a1||_0x578cae||_0x151963([0x56,0x61,0x6c,0x69,0x64]);}}function _0x150288(_0x400500,_0x422923){return new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43301c=>{if(_0x341a1f())return _0x43301c(_0x151963([0x56,0x61,0x6c,0x69,0x64]));_0x2c2585(),_0x4cd653[_0x151963([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x151963([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b52e4=!0x1;const _0x1d08df=_0x4b7176();function _0x4c6645(_0x5d6013){return!!_0x5d6013&&(typeof _0x5d6013===_0x151963([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d6013===_0x151963([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d6013[_0x151963([0x74,0x68,0x65,0x6e])]===_0x151963([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d6013[_0x151963([0x63,0x61,0x74,0x63,0x68])]===_0x151963([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x437fd9(_0x448572){_0x2d3246(_0x448572)[_0x151963([0x74,0x68,0x65,0x6e])](_0x16c9aa=>{if(!_0x16c9aa||_0x16c9aa[_0x151963([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x151963([0x6f,0x6b]))return _0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a9d25(_0x390ae7(_0x1d08df+_0x422923))!=_0x16c9aa[_0x151963([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x151963([0x56,0x61,0x6c,0x69,0x64]);})[_0x151963([0x74,0x68,0x65,0x6e])](_0x59d856=>(_0x30a1ee(),_0x59d856),()=>{const _0x360074=_0x258f9c();return null==_0x360074?(_0x30a1ee(),_0x151963([0x56,0x61,0x6c,0x69,0x64])):_0x151963(_0x1f6b08-_0x360074>(0x76dce6b2^_0x4a7629)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x151963([0x74,0x68,0x65,0x6e])](_0x43301c)[_0x151963([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43301c(_0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fb8a1=0x52e68c32^_0x4a7629;function _0x30a1ee(){const _0x2d55d6=_0x151963([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a9d25(_0x390ae7(_0x400500)),_0x334f70=_0x597728(_0x1a9d25(window[_0x151963([0x4d,0x61,0x74,0x68])][_0x151963([0x63,0x65,0x69,0x6c])](_0x1f6b08/_0x4fb8a1)));window[_0x151963([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151963([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d55d6,_0x334f70);}function _0x258f9c(){const _0x726852=_0x151963([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a9d25(_0x390ae7(_0x400500)),_0x3ab9f9=window[_0x151963([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151963([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x726852);return _0x3ab9f9?window[_0x151963([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x597728(_0x3ab9f9),0x10)*_0x4fb8a1:null;}function _0x2d3246(_0x292c66){return new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x262b2,_0x4d2645)=>{_0x292c66[_0x151963([0x74,0x68,0x65,0x6e])](_0x262b2,_0x4d2645),window[_0x151963([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d2645,0x52d1b672^_0x4a7629);});}}_0x4cd653[_0x151963([0x6f,0x6e])](_0x151963([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x353242,_0x310665)=>{if(_0x310665[0x0]!=_0x400500)return _0x43301c(_0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x310665[0x1]={..._0x310665[0x1],[_0x151963([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d08df};},{[_0x151963([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151963([0x68,0x69,0x67,0x68])}),_0x4cd653[_0x151963([0x6f,0x6e])](_0x151963([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2752ac=>{_0x4c6645(_0x2752ac[_0x151963([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b52e4=!0x0,_0x437fd9(_0x2752ac[_0x151963([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x151963([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151963([0x6c,0x6f,0x77])}),_0x1a157d[_0x151963([0x74,0x68,0x65,0x6e])](()=>{_0x4b52e4||_0x43301c(_0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x341a1f(){return _0x4cd653[_0x151963([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151963([0x76,0x69,0x65,0x77])][_0x151963([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x151963([0x61,0x75,0x74,0x6f]);}function _0x2c2585(){_0x4cd653[_0x151963([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151963([0x76,0x69,0x65,0x77])][_0x151963([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x151963([0x61,0x75,0x74,0x6f]);}}function _0x57e61c(_0x551664){const _0x4aff84=[new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48a97c=>setTimeout(_0x48a97c,0x52d95c7e^_0x4a7629)),_0x1a157d[_0x151963([0x74,0x68,0x65,0x6e])](()=>new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ca064=>{let _0x2344df=0x0;_0x4cd653[_0x151963([0x6d,0x6f,0x64,0x65,0x6c])][_0x151963([0x6f,0x6e])](_0x151963([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30f74d,_0x3270c2)=>{_0x3270c2[0x0][_0x151963([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2344df++,_0x2344df==(0x52d0634a^_0x4a7629)&&(_0x4ca064(),_0x30f74d[_0x151963([0x6f,0x66,0x66])]());});}))];return window[_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x151963([0x72,0x61,0x63,0x65])](_0x4aff84)[_0x151963([0x74,0x68,0x65,0x6e])](()=>_0x551664);}async function _0x3359f2(){await _0x1a157d,_0x4cd653[_0x151963([0x6d,0x6f,0x64,0x65,0x6c])][_0x151963([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b0ec7,_0x4cd653[_0x151963([0x6d,0x6f,0x64,0x65,0x6c])][_0x151963([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b0ec7,_0x4cd653[_0x151963([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x151963([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a68bd(_0x139768){const _0x2582c9=_0x1b2fbc();_0x4cd653[_0x2582c9]=_0x151963([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])+_0x139768,_0x139768!=_0x151963([0x56,0x61,0x6c,0x69,0x64])&&_0x3359f2();}function _0x1b2fbc(){const _0x30af90=window[_0x151963([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x151963([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x151963([0x6e,0x6f,0x77])]())[_0x151963([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x151963([0x2e]),'');let _0x31ff92=_0x151963([0x66]);for(let _0x14cb98=0x0;_0x14cb98<_0x30af90[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14cb98+=0x2){let _0x4deb84=window[_0x151963([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30af90[_0x151963([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14cb98,_0x14cb98+0x2));_0x4deb84>=_0x560a58[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4deb84-=_0x560a58[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31ff92+=_0x560a58[_0x4deb84];}return _0x31ff92;}function _0x3a4e95(){const _0x2c91de=_0x1e776a[_0x151963([0x73,0x70,0x6c,0x69,0x74])](_0x151963([0x2e]));if(0x3!=_0x2c91de[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4435eb(_0x2c91de[0x1]);function _0x4435eb(_0x5205c4){const _0x112c4a=_0x4b8246(_0x5205c4);return _0x112c4a&&_0x403810()?_0x112c4a:null;function _0x403810(){const _0x330a06=_0x112c4a[_0x151963([0x6a,0x74,0x69])],_0xae9b94=window[_0x151963([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x330a06[_0x151963([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x330a06[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18a49a={..._0x112c4a,[_0x151963([0x6a,0x74,0x69])]:_0x330a06[_0x151963([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x330a06[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18a49a[_0x151963([0x76,0x63])],_0x390ae7(_0x18a49a)==_0xae9b94;}}}async function _0xe720e(){let _0x2d10ad=!0x0;try{const _0x3c34b9=_0x1e776a[_0x151963([0x73,0x70,0x6c,0x69,0x74])](_0x151963([0x2e])),[_0x2ec191,_0x56748d,_0x24260f]=_0x3c34b9;return _0x4f586a(_0x2ec191),await _0x5a5dda(_0x2ec191,_0x56748d,_0x24260f),_0x2d10ad;}catch(_0xa02c5){return!0x1;}function _0x4f586a(_0x46db7c){const _0x2aa120=_0x4b8246(_0x46db7c);_0x2aa120&&_0x2aa120[_0x151963([0x61,0x6c,0x67])]==_0x151963([0x45,0x53,0x32,0x35,0x36])||(_0x2d10ad=!0x1);}async function _0x5a5dda(_0x5842ea,_0x4f0704,_0x14194d){const _0x4fddbc=window[_0x151963([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x151963([0x66,0x72,0x6f,0x6d])](_0x234ddf(_0x14194d),_0x45226a=>_0x45226a[_0x151963([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14902e=new window[(_0x151963([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x151963([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5842ea+_0x151963([0x2e])+_0x4f0704),_0x5bbc4e=window[_0x151963([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x151963([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bbc4e)return;const _0x1b1570=await _0x5bbc4e[_0x151963([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x151963([0x6a,0x77,0x6b]),_0xaaebdf,{[_0x151963([0x6e,0x61,0x6d,0x65])]:_0x151963([0x45,0x43,0x44,0x53,0x41]),[_0x151963([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x151963([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x151963([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bbc4e[_0x151963([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x151963([0x6e,0x61,0x6d,0x65])]:_0x151963([0x45,0x43,0x44,0x53,0x41]),[_0x151963([0x68,0x61,0x73,0x68])]:{[_0x151963([0x6e,0x61,0x6d,0x65])]:_0x151963([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b1570,_0x4fddbc,_0x14902e)||(_0x2d10ad=!0x1);}}function _0x4b8246(_0x5d3527){return _0x5d3527[_0x151963([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x151963([0x65,0x79]))?JSON[_0x151963([0x70,0x61,0x72,0x73,0x65])](_0x234ddf(_0x5d3527)):null;}function _0x234ddf(_0x56235a){return window[_0x151963([0x61,0x74,0x6f,0x62])](_0x56235a[_0x151963([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x151963([0x2b]))[_0x151963([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x151963([0x2f])));}function _0x390ae7(_0x11a6c3){let _0x321eba=0x1505;function _0x4420b3(_0x4384f6){for(let _0x2b3b75=0x0;_0x2b3b75<_0x4384f6[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b3b75++){const _0x3b557a=_0x4384f6[_0x151963([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b3b75);_0x321eba=(_0x321eba<<0x5)+_0x321eba+_0x3b557a,_0x321eba&=_0x321eba;}}function _0x53a9fe(_0x5cf190){Array[_0x151963([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cf190)?_0x5cf190[_0x151963([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x53a9fe):_0x5cf190&&typeof _0x5cf190==_0x151963([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x151963([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cf190)[_0x151963([0x73,0x6f,0x72,0x74])]()[_0x151963([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3563ac,_0x4dbc16])=>{_0x4420b3(_0x3563ac),_0x53a9fe(_0x4dbc16);}):_0x4420b3(window[_0x151963([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cf190));}return _0x53a9fe(_0x11a6c3),_0x321eba>>>0x0;}function _0x1a9d25(_0x4fd72c){return _0x4fd72c[_0x151963([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x151963([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x151963([0x30]));}function _0x597728(_0x1a4566){return _0x1a4566[_0x151963([0x73,0x70,0x6c,0x69,0x74])]('')[_0x151963([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x151963([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b0ec7(){}function _0x151963(_0x10d862){const _0x14ec41=_0x2eb3;return _0x10d862[_0x14ec41(0x1ea)](_0x93e5b6=>String[_0x14ec41(0x1f2)](_0x93e5b6))[_0x14ec41(0x219)]('');}_0x2a68bd(await _0x14ad77());}(this);}[_0x4f4046(0x223)](_0x3e5270,_0x468baf,_0x1b5090=!0x1){const _0x14728a=_0x4f4046,_0x20bfe7=new _0x3e5270(this[_0x14728a(0x1fe)][_0x14728a(0x234)]);return _0x20bfe7[_0x14728a(0x233)]({'withText':_0x1b5090,'isToggleable':!0x1}),_0x20bfe7[_0x14728a(0x232)](_0x14728a(0x224))['to'](_0x468baf,_0x14728a(0x224)),this[_0x14728a(0x235)](_0x20bfe7,_0x14728a(0x21e),()=>_0x468baf[_0x14728a(0x21e)]()),_0x20bfe7;}[_0x4f4046(0x20f)](){const _0x3b2fbb=_0x4f4046,_0x1572dc=this[_0x3b2fbb(0x1fe)][_0x3b2fbb(0x234)];this[_0x3b2fbb(0x1fe)][_0x3b2fbb(0x202)][_0x3b2fbb(0x1f1)]({'id':_0x3b2fbb(0x237),'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1e5))});const _0x659252=_0x5bc567[_0x3b2fbb(0x204)]||_0x5bc567[_0x3b2fbb(0x22e)];this[_0x3b2fbb(0x1fe)][_0x3b2fbb(0x202)][_0x3b2fbb(0x228)]({'categoryId':_0x3b2fbb(0x237),'keystrokes':[{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1f7)),'keystroke':_0x3b2fbb(0x207)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x20c)),'keystroke':_0x3b2fbb(0x1f8)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1f0)),'keystroke':_0x3b2fbb(0x1ee)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1ec)),'keystroke':_0x3b2fbb(0x1f5)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x20e)),'keystroke':_0x3b2fbb(0x1f4)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1e3)),'keystroke':_0x3b2fbb(0x200)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x21b)),'keystroke':_0x659252?_0x3b2fbb(0x22b):_0x3b2fbb(0x20d)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x205)),'keystroke':_0x3b2fbb(0x212)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1fd)),'keystroke':_0x3b2fbb(0x227)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x215)),'keystroke':[[_0x3b2fbb(0x229)],[_0x3b2fbb(0x222)]]},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x220)),'keystroke':_0x659252?_0x3b2fbb(0x21a):_0x3b2fbb(0x1ff)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1e7)),'keystroke':_0x659252?_0x3b2fbb(0x1f3):_0x3b2fbb(0x1ed)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x226)),'keystroke':_0x3b2fbb(0x22d)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x208)),'keystroke':_0x3b2fbb(0x206)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x20a)),'keystroke':_0x3b2fbb(0x1fc)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x21f)),'keystroke':_0x3b2fbb(0x1e2)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x214)),'keystroke':_0x659252?_0x3b2fbb(0x1e8):_0x3b2fbb(0x210)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4c66(){var _0x50acb2=['change:isReadOnly','6afvbOp','3649616RBVonx','syntaxLanguage','_options','3351177JHpsyR','20eZaIBo','155827gFoonh','focus','setTemplate','89690JOTKZr','set','ck-reset_all-excluded','div','destroy','element','isReadOnly','ck-code-editor','850365SfABpX','setReadOnly','render','882276POIagi','1147924hrWKop','_codeEditorApi','getData','3BBNcpn','theme','setData'];_0x4c66=function(){return _0x50acb2;};return _0x4c66();}var _0x24042c=_0x34d0;(function(_0x11ec30,_0x2d773b){var _0x3129f9=_0x34d0,_0x4ae0bb=_0x11ec30();while(!![]){try{var _0x146c4e=-parseInt(_0x3129f9(0x191))/0x1+-parseInt(_0x3129f9(0x19c))/0x2+-parseInt(_0x3129f9(0x1a0))/0x3*(parseInt(_0x3129f9(0x19d))/0x4)+-parseInt(_0x3129f9(0x199))/0x5+-parseInt(_0x3129f9(0x188))/0x6*(-parseInt(_0x3129f9(0x18e))/0x7)+parseInt(_0x3129f9(0x189))/0x8+parseInt(_0x3129f9(0x18c))/0x9*(parseInt(_0x3129f9(0x18d))/0xa);if(_0x146c4e===_0x2d773b)break;else _0x4ae0bb['push'](_0x4ae0bb['shift']());}catch(_0x25a7d7){_0x4ae0bb['push'](_0x4ae0bb['shift']());}}}(_0x4c66,0x39717));import{View as _0x544bb6}from'ckeditor5/src/ui.js';function _0x34d0(_0x51bbe4,_0x21f4dd){var _0x4c6647=_0x4c66();return _0x34d0=function(_0x34d05c,_0xf83027){_0x34d05c=_0x34d05c-0x187;var _0x1e5d16=_0x4c6647[_0x34d05c];return _0x1e5d16;},_0x34d0(_0x51bbe4,_0x21f4dd);}import _0x58fbcb from'../utils/createcodemirroreditor.js';export default class m extends _0x544bb6{constructor(_0x5d5d2c,_0x44ea33){var _0x47d42b=_0x34d0;super(_0x5d5d2c),this[_0x47d42b(0x19e)]=null,this[_0x47d42b(0x18b)]=_0x44ea33,this[_0x47d42b(0x192)](_0x47d42b(0x197),!0x1),this[_0x47d42b(0x190)]({'tag':_0x47d42b(0x194),'attributes':{'class':['ck',_0x47d42b(0x193),_0x47d42b(0x198)],'tabindex':-0x1}});}[_0x24042c(0x19b)](){var _0x1f9609=_0x24042c;super[_0x1f9609(0x19b)](),this[_0x1f9609(0x19e)]=_0x58fbcb({'parent':this[_0x1f9609(0x196)],'syntaxLanguage':this[_0x1f9609(0x18b)][_0x1f9609(0x18a)],'theme':this[_0x1f9609(0x18b)][_0x1f9609(0x1a1)]}),this['on'](_0x1f9609(0x187),(_0x2d810b,_0x4c3b1d,_0xce8f4b)=>{var _0x3ab174=_0x1f9609;this[_0x3ab174(0x19a)](_0xce8f4b);});}[_0x24042c(0x195)](){var _0x50fb88=_0x24042c;super[_0x50fb88(0x195)](),this[_0x50fb88(0x19e)][_0x50fb88(0x195)](),this[_0x50fb88(0x19e)]=null;}[_0x24042c(0x18f)](){var _0xcfba39=_0x24042c;this[_0xcfba39(0x197)]?this[_0xcfba39(0x196)][_0xcfba39(0x18f)]():this[_0xcfba39(0x19e)][_0xcfba39(0x18f)]();}[_0x24042c(0x19f)](){var _0x341fde=_0x24042c;return this[_0x341fde(0x19e)][_0x341fde(0x19f)]();}[_0x24042c(0x1a2)](_0x45e8ef){var _0x9cff6c=_0x24042c;this[_0x9cff6c(0x19e)][_0x9cff6c(0x1a2)](_0x45e8ef);}[_0x24042c(0x19a)](_0x33371e){var _0x39df17=_0x24042c;this[_0x39df17(0x19e)][_0x39df17(0x19a)](_0x33371e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5edc3f=_0x35a9;(function(_0x3a881a,_0x18a289){const _0x3489ae=_0x35a9,_0x3c111a=_0x3a881a();while(!![]){try{const _0x38abf9=parseInt(_0x3489ae(0xf6))/0x1+-parseInt(_0x3489ae(0xd7))/0x2*(-parseInt(_0x3489ae(0xf5))/0x3)+parseInt(_0x3489ae(0xd9))/0x4+parseInt(_0x3489ae(0xe2))/0x5+-parseInt(_0x3489ae(0xd5))/0x6+parseInt(_0x3489ae(0xd2))/0x7*(parseInt(_0x3489ae(0xf8))/0x8)+parseInt(_0x3489ae(0xcc))/0x9*(-parseInt(_0x3489ae(0xe4))/0xa);if(_0x38abf9===_0x18a289)break;else _0x3c111a['push'](_0x3c111a['shift']());}catch(_0x33cd30){_0x3c111a['push'](_0x3c111a['shift']());}}}(_0x2329,0xd357e));function _0x35a9(_0x1f8ed8,_0x426f19){const _0x23295d=_0x2329();return _0x35a9=function(_0x35a902,_0x583d9d){_0x35a902=_0x35a902-0xc8;let _0x462662=_0x23295d[_0x35a902];return _0x462662;},_0x35a9(_0x1f8ed8,_0x426f19);}import{Command as _0x3049ce,PendingActions as _0x535394}from'ckeditor5/src/core.js';import{getTranslation as _0x30fc63}from'../utils/common-translations.js';import{getActiveRootName as _0x3613c9}from'../utils/getactiverootname.js';function _0x2329(){const _0xd9a20f=['element','stop','sourceEditingEnhanced.theme','view','getData','html','confirm','markdown','setData','config','24AWuRDG','730486beqpOP','forceDisabled','8YzsphX','isReadOnly','editables','bind','locale','set','replaceSource','Save','change:hasAny','clearForceDisabled','9cLSwWg','Dialog','destroy','Edit\x20source\x20modal\x20label','ck-source-editing-enhanced-dialog','ck-button-action','6274555mIXZko','execute','highest','4507428hNlxLf','refresh','91082hFJEJs','get','1597220TKCpJg','sourceEditingEnhanced','hide','off','Cancel','isEnabled','editor','has','show','2628825UkfKhy','plugins','12993490tZABkB','affectsData','focus','Markdown','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','data','pendingActions'];_0x2329=function(){return _0xd9a20f;};return _0x2329();}import{formatSource as _0xb9c727,unformatSource as _0x40a7b8}from'../utils/format.js';import _0x2b640f from'./codeeditorview.js';export default class d extends _0x3049ce{constructor(_0x7cb61a){const _0x551e2f=_0x35a9;super(_0x7cb61a),this[_0x551e2f(0xe5)]=!0x1,this[_0x551e2f(0xdf)][_0x551e2f(0xe3)][_0x551e2f(0xd8)](_0x535394)['on'](_0x551e2f(0xca),(_0x23af23,_0x49a4cd,_0x4b2c17)=>{const _0x507973=_0x551e2f;_0x4b2c17?this[_0x507973(0xf7)](_0x507973(0xea)):this[_0x507973(0xcb)](_0x507973(0xea));});}[_0x5edc3f(0xd6)](){const _0x11e115=_0x5edc3f;this[_0x11e115(0xde)]=!0x0;}[_0x5edc3f(0xd3)](){const _0x2e49fa=_0x5edc3f,_0x371f4a=this[_0x2e49fa(0xdf)],_0x18ee76=_0x371f4a[_0x2e49fa(0xfc)],_0x246a8e=_0x371f4a[_0x2e49fa(0xe3)][_0x2e49fa(0xd8)](_0x2e49fa(0xcd)),_0x312c91=_0x3613c9(_0x371f4a),_0x2109bf=_0x371f4a[_0x2e49fa(0xe9)][_0x2e49fa(0xd8)]({'rootName':_0x312c91}),_0x38011c=_0xb9c727(_0x2109bf),_0x133d9d=new _0x2b640f(_0x18ee76,{'syntaxLanguage':_0x371f4a[_0x2e49fa(0xe3)][_0x2e49fa(0xe0)](_0x2e49fa(0xe7))?_0x2e49fa(0xf2):_0x2e49fa(0xf0),'theme':_0x371f4a[_0x2e49fa(0xf4)][_0x2e49fa(0xd8)](_0x2e49fa(0xed))});let _0x496a57=!0x0;const _0x596547=_0x33266e=>{const _0x627b75=_0x2e49fa;if(!_0x496a57)return;const _0x3787d8=_0x133d9d[_0x627b75(0xef)]();return _0x40a7b8(_0x3787d8)!==_0x40a7b8(_0x38011c)?window[_0x627b75(0xf1)](_0x30fc63(_0x18ee76,_0x627b75(0xe8)))?void 0x0:_0x33266e[_0x627b75(0xec)]():void 0x0;};_0x246a8e[_0x2e49fa(0xe1)]({'id':_0x2e49fa(0xda),'title':_0x30fc63(_0x18ee76,_0x2e49fa(0xcf)),'isModal':!0x0,'className':_0x2e49fa(0xd0),'content':_0x133d9d,'actionButtons':[{'label':_0x30fc63(_0x18ee76,_0x2e49fa(0xdd)),'withText':!0x0,'onExecute':()=>{const _0x36a263=_0x2e49fa;_0x246a8e[_0x36a263(0xdb)]();}},{'label':_0x30fc63(_0x18ee76,_0x2e49fa(0xc9)),'class':_0x2e49fa(0xd1),'withText':!0x0,'onExecute':()=>{const _0x4733eb=_0x2e49fa,_0x5bc55d=_0x133d9d[_0x4733eb(0xef)](),_0x90fca=_0x40a7b8(_0x5bc55d)!==_0x40a7b8(_0x38011c);(_0x90fca&&_0x371f4a[_0x4733eb(0xd3)](_0x4733eb(0xc8),_0x133d9d[_0x4733eb(0xef)]()),_0x496a57=!0x1,_0x246a8e[_0x4733eb(0xdb)](),_0x90fca&&_0x4733eb(0xfa)in _0x371f4a['ui'][_0x4733eb(0xee)])&&_0x371f4a['ui'][_0x4733eb(0xee)][_0x4733eb(0xfa)][_0x312c91][_0x4733eb(0xeb)][_0x4733eb(0xe6)]();},'onCreate':_0x1da6e8=>{const _0x50ba5a=_0x2e49fa;_0x1da6e8[_0x50ba5a(0xfd)](_0x50ba5a(0xde),!_0x371f4a[_0x50ba5a(0xf9)]),_0x1da6e8[_0x50ba5a(0xfb)](_0x50ba5a(0xde))['to'](_0x371f4a,_0x50ba5a(0xf9),this,_0x50ba5a(0xde),(_0x3aec81,_0x5b02bb)=>!_0x3aec81&&_0x5b02bb);}}],'onHide':()=>{const _0x5470f5=_0x2e49fa;_0x246a8e[_0x5470f5(0xdc)](_0x5470f5(0xdb),_0x596547),_0x133d9d[_0x5470f5(0xce)]();},'onShow':()=>{const _0x336c6a=_0x2e49fa;_0x133d9d[_0x336c6a(0xfb)](_0x336c6a(0xf9))['to'](_0x371f4a,_0x336c6a(0xf9),this,_0x336c6a(0xde),(_0x5c371b,_0xb886cf)=>_0x5c371b||!_0xb886cf),_0x133d9d[_0x336c6a(0xf3)](_0x38011c),_0x133d9d[_0x336c6a(0xe6)](),_0x246a8e['on'](_0x336c6a(0xdb),_0x596547,{'priority':_0x336c6a(0xd4)});}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x373309,_0x29dd40){const t=_0x373309['t'];switch(_0x29dd40){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 _0x29dd40;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54abb1,_0x36a8a6){const _0x135654=_0x4161,_0x8fda18=_0x54abb1();while(!![]){try{const _0x56b133=-parseInt(_0x135654(0x1cc))/0x1*(-parseInt(_0x135654(0x1c1))/0x2)+parseInt(_0x135654(0x1cd))/0x3*(parseInt(_0x135654(0x1db))/0x4)+-parseInt(_0x135654(0x1dc))/0x5*(parseInt(_0x135654(0x1d4))/0x6)+-parseInt(_0x135654(0x1d6))/0x7*(parseInt(_0x135654(0x1ce))/0x8)+parseInt(_0x135654(0x1dd))/0x9*(parseInt(_0x135654(0x1c3))/0xa)+-parseInt(_0x135654(0x1de))/0xb*(-parseInt(_0x135654(0x1cb))/0xc)+parseInt(_0x135654(0x1c5))/0xd;if(_0x56b133===_0x36a8a6)break;else _0x8fda18['push'](_0x8fda18['shift']());}catch(_0x3d6569){_0x8fda18['push'](_0x8fda18['shift']());}}}(_0x53d6,0xee9a7));import{lineNumbers as _0x446dd6,highlightActiveLineGutter as _0x92436e,highlightSpecialChars as _0x4312fd,drawSelection as _0x22b0a9,dropCursor as _0x2f600d,rectangularSelection as _0x4a92ab,crosshairCursor as _0x3d296a,highlightActiveLine as _0x140ac3,keymap as _0x47ecf6,EditorView as _0x1c405a}from'@codemirror/view';function _0x53d6(){const _0xb73f89=['toString','length','209624trxeHr','238595JsCMcB','12135006FYWNEM','1386JUHOmS','parent','83900MLnNKh','addToHistory','10iYsmoE','reconfigure','14906034oviXmN','destroy','state','Cmd-y','push','editable','14772RuHDTz','2kKAdlo','3BdxzTr','3609536kHtqSD','focus','doc','lineWrapping','Ctrl-Shift-z','theme','114GjQlcF','dispatch','14oFQfiD','html','syntaxLanguage'];_0x53d6=function(){return _0xb73f89;};return _0x53d6();}import{Compartment as _0x4b945b,Transaction as _0x448075}from'@codemirror/state';import{foldGutter as _0x4df7b2,indentOnInput as _0x45c6e3,syntaxHighlighting as _0x3d88d4,defaultHighlightStyle as _0x105c5b,bracketMatching as _0x55dbbc,foldKeymap as _0x572400}from'@codemirror/language';function _0x4161(_0x1828d6,_0x123e5f){const _0x53d6d9=_0x53d6();return _0x4161=function(_0x416141,_0x4e2e61){_0x416141=_0x416141-0x1c0;let _0x2138e6=_0x53d6d9[_0x416141];return _0x2138e6;},_0x4161(_0x1828d6,_0x123e5f);}import{history as _0x544436,defaultKeymap as _0x1e53f5,historyKeymap as _0x37606a,redo as _0x307323}from'@codemirror/commands';import{closeBrackets as _0x355163,autocompletion as _0x36bdb9,closeBracketsKeymap as _0x59cf25,completionKeymap as _0x2200e9}from'@codemirror/autocomplete';import{html as _0x313863}from'@codemirror/lang-html';import{markdown as _0x154511}from'@codemirror/lang-markdown';export default function p(_0x18b95d){const _0x1a973e=_0x4161,_0x456905=[_0x1c405a[_0x1a973e(0x1d1)],_0x36bdb9(),_0x55dbbc(),_0x355163(),_0x3d296a(),_0x22b0a9(),_0x2f600d(),_0x446dd6(),_0x4df7b2(),_0x140ac3(),_0x92436e(),_0x4312fd(),_0x544436(),_0x45c6e3(),_0x4a92ab(),_0x3d88d4(_0x105c5b,{'fallback':!0x0})],_0xbd7a7b=new _0x4b945b();_0x456905[_0x1a973e(0x1c9)](_0xbd7a7b['of'](_0x1c405a[_0x1a973e(0x1ca)]['of'](!0x0))),_0x1a973e(0x1d7)===_0x18b95d[_0x1a973e(0x1d8)]?_0x456905[_0x1a973e(0x1c9)](_0x313863()):_0x456905[_0x1a973e(0x1c9)](_0x154511()),_0x18b95d[_0x1a973e(0x1d3)]&&_0x456905[_0x1a973e(0x1c9)](_0x18b95d[_0x1a973e(0x1d3)]),_0x456905[_0x1a973e(0x1c9)](...getKeybindings());const _0x291a7a=new _0x1c405a({'extensions':_0x456905,'parent':_0x18b95d[_0x1a973e(0x1c0)]});return{'focus':()=>{const _0x20a952=_0x1a973e;_0x291a7a[_0x20a952(0x1d5)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x291a7a[_0x20a952(0x1cf)]();},'getData':()=>_0x291a7a[_0x1a973e(0x1c7)][_0x1a973e(0x1d0)][_0x1a973e(0x1d9)](),'setData':_0x3f1c15=>{const _0x523314=_0x1a973e;_0x291a7a[_0x523314(0x1d5)]({'changes':{'from':0x0,'to':_0x291a7a[_0x523314(0x1c7)][_0x523314(0x1d0)][_0x523314(0x1da)],'insert':_0x3f1c15},'annotations':_0x448075[_0x523314(0x1c2)]['of'](!0x1)});},'setReadOnly':_0x2735fc=>{const _0x4505f6=_0x1a973e;_0x291a7a[_0x4505f6(0x1d5)]({'effects':[_0xbd7a7b[_0x4505f6(0x1c4)](_0x1c405a[_0x4505f6(0x1ca)]['of'](!_0x2735fc))]});},'destroy':()=>{const _0x59199a=_0x1a973e;_0x291a7a[_0x59199a(0x1c6)]();}};}export function getKeybindings(){const _0x5697e6=_0x4161;return[_0x47ecf6['of']([..._0x59cf25,..._0x1e53f5,..._0x37606a,..._0x572400,..._0x2200e9,{'key':_0x5697e6(0x1d2),'mac':_0x5697e6(0x1c8),'run':_0x307323,'preventDefault':!0x0}])];}
|