@ckeditor/ckeditor5-source-editing-enhanced 45.1.0-alpha.6 → 45.1.0-alpha.7
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 +7 -7
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x1727cc,PendingActions as _0x482914,Plugin as _0x44e793}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x599eaf,env as _0x5c5d73,uid as _0x4bdd06}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x2feb51}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x44185b,ButtonView as _0x4afbc9,MenuBarMenuListItemButtonView as _0x12203f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3ec2ae,crosshairCursor as _0x16ea00,drawSelection as _0x16ed6b,dropCursor as _0x48039f,lineNumbers as _0x593208,highlightActiveLine as _0x5b8039,highlightActiveLineGutter as _0x13cd70,highlightSpecialChars as _0x8f256d,rectangularSelection as _0x2a2dd8,keymap as _0x419c5e}from'@codemirror/view';import{Compartment as _0x546874,Transaction as _0x23fc39}from'@codemirror/state';import{bracketMatching as _0x3a971a,foldGutter as _0x265061,indentOnInput as _0x48d2ed,syntaxHighlighting as _0x330881,defaultHighlightStyle as _0x592263,foldKeymap as _0x3b7478}from'@codemirror/language';import{toggleTabFocusMode as _0x3db867,history as _0x192adf,defaultKeymap as _0x119436,historyKeymap as _0x5c49af,indentLess as _0x3808e8,indentMore as _0x5ec519,redo as _0x5bbb7d,undo as _0x1ee3b2}from'@codemirror/commands';import{autocompletion as _0x3f1785,closeBrackets as _0x16670a,closeBracketsKeymap as _0x31fe4a,completionKeymap as _0x4409a4}from'@codemirror/autocomplete';import{html as _0x187c74}from'@codemirror/lang-html';import{markdown as _0x24353f}from'@codemirror/lang-markdown';import{oneDark as _0x21539a}from'@codemirror/theme-one-dark';function f(_0x43b221,_0x4bdf20){const t=_0x43b221['t'];switch(_0x4bdf20){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 _0x4bdf20;}}function s(_0x4b4f4b){const _0x1a1552=_0x4b4f4b['editing']['view']['document']['roots'],_0x21f3bf=_0x1a1552['length'];if(0x0===_0x21f3bf)throw new _0x599eaf('source-editing-enhanced-editor-no-root',_0x4b4f4b);if(0x1===_0x21f3bf)return _0x1a1552['first']['rootName'];return Array['from'](_0x4b4f4b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x203e70){return ii(_0x203e70)?function(_0x4c6cc3){const _0x3cb2b0=[{'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}],_0x56d318=_0x3cb2b0['map'](_0x259769=>_0x259769['name'])['join']('|'),_0xecf4df=_0x4c6cc3['replace'](new RegExp('</?('+_0x56d318+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x583622=0x0,_0x4d8b03=!0x1;return _0xecf4df['filter'](_0x38b742=>_0x38b742['length'])['map'](_0x5f0ea4=>(_0x4d8b03=function(_0x252fc0,_0x4e660d){return new RegExp('<pre(\x20.*?)?>')['test'](_0x252fc0)?'first':new RegExp('</pre>')['test'](_0x252fc0)?'last':('first'===_0x4e660d||'middle'===_0x4e660d)&&'middle';}(_0x5f0ea4,_0x4d8b03),function(_0x459df6,_0x51d40f){return _0x51d40f['some'](_0x38cbd1=>!_0x38cbd1['isVoid']&&!!new RegExp('<'+_0x38cbd1['name']+'(\x20.*?)?>')['test'](_0x459df6));}(_0x5f0ea4,_0x3cb2b0)?ei(_0x5f0ea4,_0x583622++):function(_0x11e9fb,_0x24c874){return _0x24c874['some'](_0x287d3d=>new RegExp('</'+_0x287d3d['name']+'>')['test'](_0x11e9fb));}(_0x5f0ea4,_0x3cb2b0)?ei(_0x5f0ea4,--_0x583622):'middle'===_0x4d8b03||'last'===_0x4d8b03?_0x5f0ea4:ei(_0x5f0ea4,_0x583622)))['join']('\x0a');}(_0x203e70):_0x203e70;}function E(_0x52206b){return ii(_0x52206b['replace'](/^[\n\s]*/g,''))?_0x52206b['replace'](/\s+/g,''):_0x52206b;}function ii(_0x86ba8){return _0x86ba8['startsWith']('<');}function ei(_0xcab63d,_0x142eec,_0x4455ca='\x20\x20\x20\x20'){return''+_0x4455ca['repeat'](Math['max'](0x0,_0x142eec))+_0xcab63d;}function p(_0xafd23a){const _0x24400a=[_0x3ec2ae['lineWrapping'],_0x3f1785(),_0x3a971a(),_0x16670a(),_0x16ea00(),_0x16ed6b(),_0x48039f(),_0x593208(),_0x265061(),_0x5b8039(),_0x13cd70(),_0x8f256d(),_0x192adf(),_0x48d2ed(),_0x2a2dd8(),_0x330881(_0x592263,{'fallback':!0x0})],_0x4610cb=new _0x546874();_0x24400a['push'](_0x4610cb['of'](_0x3ec2ae['editable']['of'](!0x0))),'html'===_0xafd23a['syntaxLanguage']?_0x24400a['push'](_0x187c74()):_0x24400a['push'](_0x24353f());const _0xad67f=function(_0x2d975b){if(_0x2d975b&&'default'!==_0x2d975b)return'dark'===_0x2d975b?_0x21539a:_0x2d975b;return null;}(_0xafd23a['theme']);_0xad67f&&_0x24400a['push'](_0xad67f),_0x24400a['push'](_0x419c5e['of']([..._0x31fe4a,..._0x119436,..._0x5c49af,..._0x3b7478,..._0x4409a4,{'key':'Tab','run':_0x5ec519,'shift':_0x3808e8,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x5bbb7d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x5bbb7d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x1ee3b2,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x4bd026=new _0x3ec2ae({'extensions':_0x24400a,'parent':_0xafd23a['parent']});return _0x3db867(_0x4bd026),{'focus':()=>{_0x4bd026['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4bd026['focus']();},'getData':()=>_0x4bd026['state']['doc']['toString'](),'setData':_0x3c6a20=>{_0x4bd026['dispatch']({'changes':{'from':0x0,'to':_0x4bd026['state']['doc']['length'],'insert':_0x3c6a20},'annotations':_0x23fc39['addToHistory']['of'](!0x1)});},'setReadOnly':_0x20014f=>{_0x4bd026['dispatch']({'effects':[_0x4610cb['reconfigure'](_0x3ec2ae['editable']['of'](!_0x20014f))]});},'destroy':()=>{_0x4bd026['destroy']();},'instance':_0x4bd026};}class m extends _0x44185b{['_codeEditorApi']=null;['_options'];constructor(_0x171a40,_0x3e0940){super(_0x171a40),this['_options']=_0x3e0940,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',(_0x25999c,_0x23f5a8,_0x4f6490)=>{this['setReadOnly'](_0x4f6490);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1c7999){this['_codeEditorApi']['setData'](_0x1c7999);}['setReadOnly'](_0x3618b2){this['_codeEditorApi']['setReadOnly'](_0x3618b2);}}const b='SourceEditingEnhancedMode';class d extends _0x1727cc{constructor(_0xce8e34){super(_0xce8e34),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x482914)['on']('change:hasAny',(_0x73198a,_0x3bcc62,_0x40c773)=>{_0x40c773?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0xdc6c21=this['editor'];for(const _0x1f8abc of _0xdc6c21['commands']['names']())['replaceSource','editSource']['includes'](_0x1f8abc)||_0xdc6c21['commands']['get'](_0x1f8abc)['forceDisabled'](b);}['_enableCommands'](){const _0x2de51e=this['editor'];for(const _0x59da16 of _0x2de51e['commands']['commands']())_0x59da16['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3d83b4=this['editor'],_0x13ea3a=_0x3d83b4['locale'],_0x9c18fc=_0x3d83b4['plugins']['get']('Dialog'),_0x4b36b3=s(_0x3d83b4),_0x188f7f=g(_0x3d83b4['data']['get']({'rootName':_0x4b36b3})),_0x4632e7=new m(_0x13ea3a,{'syntaxLanguage':_0x3d83b4['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3d83b4['config']['get']('sourceEditingEnhanced.theme')});let _0x5c104f=!0x0;const _0x31b85b=_0x5a2622=>{if(!_0x5c104f)return;return E(_0x4632e7['getData']())!==E(_0x188f7f)?window['confirm'](f(_0x13ea3a,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5a2622['stop']():void 0x0;};_0x9c18fc['show']({'id':'sourceEditingEnhanced','title':f(_0x13ea3a,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4632e7,'actionButtons':[{'label':f(_0x13ea3a,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x9c18fc['hide']();}},{'label':f(_0x13ea3a,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x10924d=E(_0x4632e7['getData']())!==E(_0x188f7f);(_0x10924d&&_0x3d83b4['execute']('replaceSource',_0x4632e7['getData']()),_0x5c104f=!0x1,_0x9c18fc['hide'](),_0x10924d&&'editables'in _0x3d83b4['ui']['view'])&&_0x3d83b4['ui']['view']['editables'][_0x4b36b3]['element']['focus']();},'onCreate':_0x47cade=>{_0x47cade['set']('isEnabled',!_0x3d83b4['isReadOnly']),_0x47cade['bind']('isEnabled')['to'](_0x3d83b4,'isReadOnly',this,'isEnabled',(_0x30232a,_0x2f148e)=>!_0x30232a&&_0x2f148e);}}],'onHide':()=>{this['_enableCommands'](),_0x9c18fc['off']('hide',_0x31b85b),_0x4632e7['destroy']();},'onShow':()=>{_0x4632e7['bind']('isReadOnly')['to'](_0x3d83b4,'isReadOnly',this,'isEnabled',(_0x56eedb,_0x16b6e8)=>_0x56eedb||!_0x16b6e8),_0x4632e7['setData'](_0x188f7f),_0x4632e7['focus'](),_0x9c18fc['on']('hide',_0x31b85b,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x44e793{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x482914];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xee278c=this['editor'],_0x3d02d1=_0xee278c['locale'],_0x279f19=new d(_0xee278c);_0xee278c['commands']['add']('editSource',_0x279f19),_0xee278c['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x2a5d8b=this['_createButton'](_0x4afbc9,_0x279f19);return _0x2a5d8b['set']({'label':f(_0x3d02d1,'Source'),'icon':_0x2feb51,'tooltip':f(_0x3d02d1,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x2a5d8b;}),_0xee278c['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3363cc=this['_createButton'](_0x12203f,_0x279f19,!0x0);return _0x3363cc['set']({'label':f(_0x3d02d1,'Edit\x20source\x20modal\x20label'),'icon':_0x2feb51,'role':'menuitemcheckbox'}),_0x3363cc;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x3c7b65){const _0xe2738d=_0x59ccb9([0x70,0x37,0x55,0x4b,0x48,0x39,0x58,0x59,0x45,0x66,0x6b,0x36,0x6f,0x57,0x49,0x75,0x6a,0x6e,0x44,0x52,0x68,0x50,0x35,0x77,0x6d,0x42,0x61,0x69,0x4d,0x4f,0x56,0x74,0x30,0x32,0x64,0x43,0x34,0x5a,0x7a,0x46,0x41,0x73,0x65,0x78,0x4e,0x38,0x67,0x47,0x76,0x6c,0x71,0x33,0x54,0x79,0x4a,0x4c,0x62,0x72,0x53,0x31,0x63,0x51]),_0x4058b2=0x588fd484,_0x377fa0=0x5888b33c^_0x4058b2,_0x53b7d4=window[_0x59ccb9([0x44,0x61,0x74,0x65])][_0x59ccb9([0x6e,0x6f,0x77])](),_0x19e22e=_0x3c7b65[_0x59ccb9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2356c8=new window[(_0x59ccb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38b907=>{_0x19e22e[_0x59ccb9([0x6f,0x6e,0x63,0x65])](_0x59ccb9([0x72,0x65,0x61,0x64,0x79]),_0x38b907);}),_0x544d19={[_0x59ccb9([0x6b,0x74,0x79])]:_0x59ccb9([0x45,0x43]),[_0x59ccb9([0x75,0x73,0x65])]:_0x59ccb9([0x73,0x69,0x67]),[_0x59ccb9([0x63,0x72,0x76])]:_0x59ccb9([0x50,0x2d,0x32,0x35,0x36]),[_0x59ccb9([0x78])]:_0x59ccb9([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]),[_0x59ccb9([0x79])]:_0x59ccb9([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]),[_0x59ccb9([0x61,0x6c,0x67])]:_0x59ccb9([0x45,0x53,0x32,0x35,0x36])},_0x16d764=_0x19e22e[_0x59ccb9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59ccb9([0x67,0x65,0x74])](_0x59ccb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19cd4c(){let _0xa35a61,_0x5ebd3d=null,_0x31ab3d=null;try{if(_0x16d764==_0x59ccb9([0x47,0x50,0x4c]))return _0x59ccb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa35a61=_0x50051c(),!_0xa35a61)return _0x59ccb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa35a61[_0x59ccb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31ab3d=_0x5d13a3(_0xa35a61[_0x59ccb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa35a61[_0x59ccb9([0x6a,0x74,0x69])])),await _0x5da4ae()?_0x3ea300()?_0x4933d7()?_0x59ccb9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c2197()?(_0xa35a61[_0x59ccb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59ccb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ebd3d=_0x4733af(_0x59ccb9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa35a61[_0x59ccb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59ccb9([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ebd3d=_0x4733af(_0x59ccb9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x311e0e()):_0x59ccb9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59ccb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59ccb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3f6329){return _0x59ccb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4933d7(){const _0x545e33=[_0x59ccb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59ccb9([0x74,0x72,0x69,0x61,0x6c])][_0x59ccb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa35a61[_0x59ccb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53b7d4/0x3e8:0xe10*_0x377fa0;return _0xa35a61[_0x59ccb9([0x65,0x78,0x70])]<_0x545e33;}function _0x3ea300(){const _0x3bb6f2=_0xa35a61[_0x59ccb9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bb6f2&&(!!_0x3bb6f2[_0x59ccb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59ccb9([0x2a]))||!!_0x3bb6f2[_0x59ccb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59ccb9([0x53,0x45,0x45])));}function _0x3c2197(){const _0x304676=_0xa35a61[_0x59ccb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x304676||0x0==_0x304676[_0x59ccb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d3bc7}=new URL(window[_0x59ccb9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x304676[_0x59ccb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d3bc7))return!0x0;const _0x4d84b3=_0x4d3bc7[_0x59ccb9([0x73,0x70,0x6c,0x69,0x74])](_0x59ccb9([0x2e]));return _0x304676[_0x59ccb9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x74d41c=>_0x74d41c[_0x59ccb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59ccb9([0x2a])))[_0x59ccb9([0x6d,0x61,0x70])](_0x45ed66=>_0x45ed66[_0x59ccb9([0x73,0x70,0x6c,0x69,0x74])](_0x59ccb9([0x2e])))[_0x59ccb9([0x73,0x6f,0x6d,0x65])](_0x392550=>_0x4d84b3[_0x59ccb9([0x65,0x76,0x65,0x72,0x79])]((_0x56b12e,_0x4c7f32)=>_0x392550[_0x4c7f32]===_0x56b12e||_0x392550[_0x4c7f32]===_0x59ccb9([0x2a])));}function _0x311e0e(){return _0x5ebd3d&&_0x31ab3d?new window[(_0x59ccb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x224572,_0x5c8424)=>{_0x5ebd3d[_0x59ccb9([0x74,0x68,0x65,0x6e])](_0x224572,_0x5c8424),_0x31ab3d[_0x59ccb9([0x74,0x68,0x65,0x6e])](_0x4dca9f=>{_0x4dca9f!=_0x59ccb9([0x56,0x61,0x6c,0x69,0x64])&&_0x224572(_0x4dca9f);},_0x5c8424);}):_0x5ebd3d||_0x31ab3d||_0x59ccb9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d13a3(_0x170857,_0x3de66d){return new window[(_0x59ccb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51b1be=>{if(_0x2b41d5())return _0x51b1be(_0x59ccb9([0x56,0x61,0x6c,0x69,0x64]));_0x81dcf9(),_0x19e22e[_0x59ccb9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59ccb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b677c=!0x1;const _0x4e4fbc=_0x4bdd06();function _0x43fcd9(_0x171203){return!!_0x171203&&(typeof _0x171203===_0x59ccb9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x171203===_0x59ccb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x171203[_0x59ccb9([0x74,0x68,0x65,0x6e])]===_0x59ccb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x171203[_0x59ccb9([0x63,0x61,0x74,0x63,0x68])]===_0x59ccb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26016c(_0xbcc0f5){_0x198bce(_0xbcc0f5)[_0x59ccb9([0x74,0x68,0x65,0x6e])](_0x4c26f5=>{if(!_0x4c26f5||_0x4c26f5[_0x59ccb9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59ccb9([0x6f,0x6b]))return _0x59ccb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5f2cdc(_0x246b90(_0x4e4fbc+_0x3de66d))!=_0x4c26f5[_0x59ccb9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59ccb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59ccb9([0x56,0x61,0x6c,0x69,0x64]);})[_0x59ccb9([0x74,0x68,0x65,0x6e])](_0x5c581f=>(_0x506da4(),_0x5c581f),()=>{const _0x335381=_0x3e9f9c();return null==_0x335381?(_0x506da4(),_0x59ccb9([0x56,0x61,0x6c,0x69,0x64])):_0x59ccb9(_0x53b7d4-_0x335381>(0x7c835084^_0x4058b2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59ccb9([0x74,0x68,0x65,0x6e])](_0x51b1be)[_0x59ccb9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51b1be(_0x59ccb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58698c=0x58b93a04^_0x4058b2;function _0x506da4(){const _0x23d0dc=_0x59ccb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f2cdc(_0x246b90(_0x170857)),_0x238c23=_0x474c3f(_0x5f2cdc(window[_0x59ccb9([0x4d,0x61,0x74,0x68])][_0x59ccb9([0x63,0x65,0x69,0x6c])](_0x53b7d4/_0x58698c)));window[_0x59ccb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59ccb9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23d0dc,_0x238c23);}function _0x3e9f9c(){const _0x453193=_0x59ccb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f2cdc(_0x246b90(_0x170857)),_0x18759b=window[_0x59ccb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59ccb9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x453193);return _0x18759b?window[_0x59ccb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x474c3f(_0x18759b),0x10)*_0x58698c:null;}function _0x198bce(_0x20accb){return new window[(_0x59ccb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18ccee,_0x5cf11c)=>{_0x20accb[_0x59ccb9([0x74,0x68,0x65,0x6e])](_0x18ccee,_0x5cf11c),window[_0x59ccb9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5cf11c,0x588e0044^_0x4058b2);});}}_0x19e22e[_0x59ccb9([0x6f,0x6e])](_0x59ccb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x41da84,_0x34bd81)=>{if(_0x34bd81[0x0]!=_0x170857)return _0x51b1be(_0x59ccb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34bd81[0x1]={..._0x34bd81[0x1],[_0x59ccb9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e4fbc};},{[_0x59ccb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59ccb9([0x68,0x69,0x67,0x68])}),_0x19e22e[_0x59ccb9([0x6f,0x6e])](_0x59ccb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59ec9b=>{_0x43fcd9(_0x59ec9b[_0x59ccb9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b677c=!0x0,_0x26016c(_0x59ec9b[_0x59ccb9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59ccb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59ccb9([0x6c,0x6f,0x77])}),_0x2356c8[_0x59ccb9([0x74,0x68,0x65,0x6e])](()=>{_0x4b677c||_0x51b1be(_0x59ccb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b41d5(){return _0x19e22e[_0x59ccb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59ccb9([0x76,0x69,0x65,0x77])][_0x59ccb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59ccb9([0x61,0x75,0x74,0x6f]);}function _0x81dcf9(){_0x19e22e[_0x59ccb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59ccb9([0x76,0x69,0x65,0x77])][_0x59ccb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59ccb9([0x61,0x75,0x74,0x6f]);}}function _0x4733af(_0x485be3){const _0x16e6f7=[new window[(_0x59ccb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3257ef=>setTimeout(_0x3257ef,0x5886ea48^_0x4058b2)),_0x2356c8[_0x59ccb9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59ccb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45de1a=>{let _0x5234ce=0x0;_0x19e22e[_0x59ccb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x59ccb9([0x6f,0x6e])](_0x59ccb9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28ec0d,_0x37e015)=>{_0x37e015[0x0][_0x59ccb9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5234ce++,_0x5234ce==(0x588fd57c^_0x4058b2)&&(_0x45de1a(),_0x28ec0d[_0x59ccb9([0x6f,0x66,0x66])]());});}))];return window[_0x59ccb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59ccb9([0x72,0x61,0x63,0x65])](_0x16e6f7)[_0x59ccb9([0x74,0x68,0x65,0x6e])](()=>_0x485be3);}async function _0x4c0a21(){await _0x2356c8,_0x19e22e[_0x59ccb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x59ccb9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f7a3e,_0x19e22e[_0x59ccb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x59ccb9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f7a3e,_0x19e22e[_0x59ccb9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59ccb9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2044aa(_0x1eeb97){const _0x5ccad6=_0x23fd30();_0x19e22e[_0x5ccad6]=_0x59ccb9([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])+_0x1eeb97,_0x1eeb97!=_0x59ccb9([0x56,0x61,0x6c,0x69,0x64])&&_0x4c0a21();}function _0x23fd30(){const _0x45ba1e=window[_0x59ccb9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59ccb9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59ccb9([0x6e,0x6f,0x77])]())[_0x59ccb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59ccb9([0x2e]),'');let _0x22b1c3=_0x59ccb9([0x70]);for(let _0x47ea9c=0x0;_0x47ea9c<_0x45ba1e[_0x59ccb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47ea9c+=0x2){let _0x18c057=window[_0x59ccb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45ba1e[_0x59ccb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47ea9c,_0x47ea9c+0x2));_0x18c057>=_0xe2738d[_0x59ccb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18c057-=_0xe2738d[_0x59ccb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22b1c3+=_0xe2738d[_0x18c057];}return _0x22b1c3;}function _0x50051c(){const _0x37c235=_0x16d764[_0x59ccb9([0x73,0x70,0x6c,0x69,0x74])](_0x59ccb9([0x2e]));if(0x3!=_0x37c235[_0x59ccb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32fe43(_0x37c235[0x1]);function _0x32fe43(_0x138356){const _0x2fee82=_0x12900f(_0x138356);return _0x2fee82&&_0x523573()?_0x2fee82:null;function _0x523573(){const _0x482a14=_0x2fee82[_0x59ccb9([0x6a,0x74,0x69])],_0x2546ef=window[_0x59ccb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x482a14[_0x59ccb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x482a14[_0x59ccb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33acab={..._0x2fee82,[_0x59ccb9([0x6a,0x74,0x69])]:_0x482a14[_0x59ccb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x482a14[_0x59ccb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33acab[_0x59ccb9([0x76,0x63])],_0x246b90(_0x33acab)==_0x2546ef;}}}async function _0x5da4ae(){let _0x59b0d7=!0x0;try{const _0x53679d=_0x16d764[_0x59ccb9([0x73,0x70,0x6c,0x69,0x74])](_0x59ccb9([0x2e])),[_0x2eb0c0,_0x207e5b,_0x564197]=_0x53679d;return _0x392e13(_0x2eb0c0),await _0x1be95e(_0x2eb0c0,_0x207e5b,_0x564197),_0x59b0d7;}catch(_0x90c949){return!0x1;}function _0x392e13(_0x1035bc){const _0x4827a8=_0x12900f(_0x1035bc);_0x4827a8&&_0x4827a8[_0x59ccb9([0x61,0x6c,0x67])]==_0x59ccb9([0x45,0x53,0x32,0x35,0x36])||(_0x59b0d7=!0x1);}async function _0x1be95e(_0x26fff1,_0x29b549,_0x5c495d){const _0x4c1718=window[_0x59ccb9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59ccb9([0x66,0x72,0x6f,0x6d])](_0x221719(_0x5c495d),_0x5add99=>_0x5add99[_0x59ccb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3ce2a7=new window[(_0x59ccb9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59ccb9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26fff1+_0x59ccb9([0x2e])+_0x29b549),_0x8f0ce3=window[_0x59ccb9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59ccb9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x8f0ce3)return;const _0x2c7c83=await _0x8f0ce3[_0x59ccb9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59ccb9([0x6a,0x77,0x6b]),_0x544d19,{[_0x59ccb9([0x6e,0x61,0x6d,0x65])]:_0x59ccb9([0x45,0x43,0x44,0x53,0x41]),[_0x59ccb9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59ccb9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59ccb9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x8f0ce3[_0x59ccb9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59ccb9([0x6e,0x61,0x6d,0x65])]:_0x59ccb9([0x45,0x43,0x44,0x53,0x41]),[_0x59ccb9([0x68,0x61,0x73,0x68])]:{[_0x59ccb9([0x6e,0x61,0x6d,0x65])]:_0x59ccb9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c7c83,_0x4c1718,_0x3ce2a7)||(_0x59b0d7=!0x1);}}function _0x12900f(_0x88101e){return _0x88101e[_0x59ccb9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59ccb9([0x65,0x79]))?JSON[_0x59ccb9([0x70,0x61,0x72,0x73,0x65])](_0x221719(_0x88101e)):null;}function _0x221719(_0x3fdffd){return window[_0x59ccb9([0x61,0x74,0x6f,0x62])](_0x3fdffd[_0x59ccb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59ccb9([0x2b]))[_0x59ccb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59ccb9([0x2f])));}function _0x246b90(_0xafe029){let _0x138c3f=0x1505;function _0x22c9ae(_0x257a43){for(let _0x4db74b=0x0;_0x4db74b<_0x257a43[_0x59ccb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4db74b++){const _0x1aac49=_0x257a43[_0x59ccb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4db74b);_0x138c3f=(_0x138c3f<<0x5)+_0x138c3f+_0x1aac49,_0x138c3f&=_0x138c3f;}}function _0x4a03be(_0x3fec44){Array[_0x59ccb9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3fec44)?_0x3fec44[_0x59ccb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a03be):_0x3fec44&&typeof _0x3fec44==_0x59ccb9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59ccb9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3fec44)[_0x59ccb9([0x73,0x6f,0x72,0x74])]()[_0x59ccb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1575fb,_0x2f526a])=>{_0x22c9ae(_0x1575fb),_0x4a03be(_0x2f526a);}):_0x22c9ae(window[_0x59ccb9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3fec44));}return _0x4a03be(_0xafe029),_0x138c3f>>>0x0;}function _0x5f2cdc(_0x36942e){return _0x36942e[_0x59ccb9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59ccb9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59ccb9([0x30]));}function _0x474c3f(_0x2abfc0){return _0x2abfc0[_0x59ccb9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59ccb9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59ccb9([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f7a3e(){}function _0x59ccb9(_0x130e1b){return _0x130e1b['map'](_0x521cef=>String['fromCharCode'](_0x521cef))['join']('');}_0x2044aa(await _0x19cd4c());}(this);}['_createButton'](_0x5c308a,_0x17fa7e,_0x42a388=!0x1){const _0x5af01c=new _0x5c308a(this['editor']['locale']);return _0x5af01c['set']({'withText':_0x42a388,'isToggleable':!0x1}),_0x5af01c['bind']('isEnabled')['to'](_0x17fa7e,'isEnabled'),this['listenTo'](_0x5af01c,'execute',()=>_0x17fa7e['execute']()),_0x5af01c;}['_registerKeybindings'](){const _0x164c77=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x164c77,'Source\x20Editing\x20Enhanced')});const _0x1dad4f=_0x5c5d73['isMac']||_0x5c5d73['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x164c77,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x164c77,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x164c77,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x164c77,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x164c77,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x164c77,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x164c77,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1dad4f?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x164c77,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x164c77,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x164c77,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x164c77,'Select\x20line'),'keystroke':_0x1dad4f?'Ctrl!+L':'Alt+L'},{'label':f(_0x164c77,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1dad4f?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x164c77,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x164c77,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x164c77,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x164c77,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x164c77,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1dad4f?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x1727cc{constructor(_0x52b5d2){super(_0x52b5d2),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x4d552a,_0x1c86a2){const _0x447c1b=this['editor'],_0x22cc81=_0x1c86a2?.['rootName']??s(_0x447c1b);_0x447c1b['data']['set']({[_0x22cc81]:_0x4d552a},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x44e793{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x171818){super(_0x171818),_0x171818['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x596595=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40064c;for(const _0x51c241 in _0x596595){const _0x26769f=_0x51c241,_0x58a5df=_0x596595[_0x26769f];if('sourceEditingEnhancedLicenseKeyValid'==_0x58a5df||'sourceEditingEnhancedLicenseKeyInvalid'==_0x58a5df||'sourceEditingEnhancedLicenseKeyExpired'==_0x58a5df||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x58a5df||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x58a5df||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x58a5df||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x58a5df||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x58a5df){delete _0x596595[_0x26769f],_0x40064c=_0x58a5df,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x40064c&&_0x596595['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x40064c&&_0x596595['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x40064c&&_0x596595['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x40064c&&_0x596595['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x40064c&&_0x596595['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x40064c&&_0x596595['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x40064c&&_0x596595['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x41c529=this['editor'],_0x53ca06=_0x41c529['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x53ca06&&_0x41c529['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x599eaf('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x53ca06&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x489bd1=>_0x41c529['plugins']['has'](_0x489bd1))&&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.'),_0x41c529['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x4b1ac8,PendingActions as _0x16e6a1,Plugin as _0x342aa}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x363dba,env as _0x1e1df9,uid as _0x3c73aa}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x10f80a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x37d8a2,ButtonView as _0x2bd475,MenuBarMenuListItemButtonView as _0x56b77f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x473e08,crosshairCursor as _0x455e5a,drawSelection as _0x433f83,dropCursor as _0x3ff7cf,lineNumbers as _0x2fcdb0,highlightActiveLine as _0x2f6ba6,highlightActiveLineGutter as _0x5f1149,highlightSpecialChars as _0x4e5a44,rectangularSelection as _0x23dd3a,keymap as _0x49783f}from'@codemirror/view';import{Compartment as _0x562c53,Transaction as _0x218277}from'@codemirror/state';import{bracketMatching as _0x4ce8a7,foldGutter as _0x540514,indentOnInput as _0x31fdaf,syntaxHighlighting as _0x9c39e8,defaultHighlightStyle as _0x3a55e2,foldKeymap as _0x237439}from'@codemirror/language';import{toggleTabFocusMode as _0x3587bf,history as _0x3fa503,defaultKeymap as _0x5aed30,historyKeymap as _0x499b72,indentLess as _0x6d9771,indentMore as _0x1f3c77,redo as _0x27356d,undo as _0x27a106}from'@codemirror/commands';import{autocompletion as _0x15fb13,closeBrackets as _0x2267b7,closeBracketsKeymap as _0x5eed82,completionKeymap as _0xe27e27}from'@codemirror/autocomplete';import{html as _0x59a18c}from'@codemirror/lang-html';import{markdown as _0x42a43d}from'@codemirror/lang-markdown';import{oneDark as _0x394a50}from'@codemirror/theme-one-dark';function f(_0x5db4cf,_0x435627){const t=_0x5db4cf['t'];switch(_0x435627){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 _0x435627;}}function s(_0x2f837b){const _0x4679a1=_0x2f837b['editing']['view']['document']['roots'],_0x2d9acf=_0x4679a1['length'];if(0x0===_0x2d9acf)throw new _0x363dba('source-editing-enhanced-editor-no-root',_0x2f837b);if(0x1===_0x2d9acf)return _0x4679a1['first']['rootName'];return Array['from'](_0x2f837b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function ee(_0xef26d){return $(_0xef26d)?function(_0x2414ee){const _0x3f404f=[{'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}],_0x37da74=_0x3f404f['map'](_0x390712=>_0x390712['name'])['join']('|'),_0x198aa3=_0x2414ee['replace'](new RegExp('</?('+_0x37da74+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x42f135=0x0,_0x560e11=!0x1;return _0x198aa3['filter'](_0x22b5ee=>_0x22b5ee['length'])['map'](_0x5e455d=>(_0x560e11=function(_0xfa338c,_0x316d19){return new RegExp('<pre(\x20.*?)?>')['test'](_0xfa338c)?'first':new RegExp('</pre>')['test'](_0xfa338c)?'last':('first'===_0x316d19||'middle'===_0x316d19)&&'middle';}(_0x5e455d,_0x560e11),function(_0x1a330c,_0x447b52){return _0x447b52['some'](_0x253454=>!_0x253454['isVoid']&&!!new RegExp('<'+_0x253454['name']+'(\x20.*?)?>')['test'](_0x1a330c));}(_0x5e455d,_0x3f404f)?Y(_0x5e455d,_0x42f135++):function(_0x3fd718,_0x4adf84){return _0x4adf84['some'](_0x1b1bda=>new RegExp('</'+_0x1b1bda['name']+'>')['test'](_0x3fd718));}(_0x5e455d,_0x3f404f)?Y(_0x5e455d,--_0x42f135):'middle'===_0x560e11||'last'===_0x560e11?_0x5e455d:Y(_0x5e455d,_0x42f135)))['join']('\x0a');}(_0xef26d):_0xef26d;}function te(_0x3da566){return $(_0x3da566['replace'](/^[\n\s]*/g,''))?_0x3da566['replace'](/\s+/g,''):_0x3da566;}function $(_0x2ae99b){return _0x2ae99b['startsWith']('<');}function Y(_0x30e919,_0x539096,_0x4f0864='\x20\x20\x20\x20'){return''+_0x4f0864['repeat'](Math['max'](0x0,_0x539096))+_0x30e919;}function X(_0x5bb036){const _0x30cdc2=[_0x473e08['lineWrapping'],_0x15fb13(),_0x4ce8a7(),_0x2267b7(),_0x455e5a(),_0x433f83(),_0x3ff7cf(),_0x2fcdb0(),_0x540514(),_0x2f6ba6(),_0x5f1149(),_0x4e5a44(),_0x3fa503(),_0x31fdaf(),_0x23dd3a(),_0x9c39e8(_0x3a55e2,{'fallback':!0x0})],_0x1ec1ef=new _0x562c53();_0x30cdc2['push'](_0x1ec1ef['of'](_0x473e08['editable']['of'](!0x0))),'html'===_0x5bb036['syntaxLanguage']?_0x30cdc2['push'](_0x59a18c()):_0x30cdc2['push'](_0x42a43d());const _0x402980=function(_0x4c6fbc){if(_0x4c6fbc&&'default'!==_0x4c6fbc)return'dark'===_0x4c6fbc?_0x394a50:_0x4c6fbc;return null;}(_0x5bb036['theme']);_0x402980&&_0x30cdc2['push'](_0x402980),_0x30cdc2['push'](_0x49783f['of']([..._0x5eed82,..._0x5aed30,..._0x499b72,..._0x237439,..._0xe27e27,{'key':'Tab','run':_0x1f3c77,'shift':_0x6d9771,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x27356d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x27356d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x27a106,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x262a4f=new _0x473e08({'extensions':_0x30cdc2,'parent':_0x5bb036['parent']});return _0x3587bf(_0x262a4f),{'focus':()=>{_0x262a4f['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x262a4f['focus']();},'getData':()=>_0x262a4f['state']['doc']['toString'](),'setData':_0x1db9ee=>{_0x262a4f['dispatch']({'changes':{'from':0x0,'to':_0x262a4f['state']['doc']['length'],'insert':_0x1db9ee},'annotations':_0x218277['addToHistory']['of'](!0x1)});},'setReadOnly':_0x4a4d6d=>{_0x262a4f['dispatch']({'effects':[_0x1ec1ef['reconfigure'](_0x473e08['editable']['of'](!_0x4a4d6d))]});},'destroy':()=>{_0x262a4f['destroy']();},'instance':_0x262a4f};}class Z extends _0x37d8a2{['_codeEditorApi']=null;['_options'];constructor(_0x12cdc0,_0x2c13f4){super(_0x12cdc0),this['_options']=_0x2c13f4,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']=X({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x54e1a8,_0x400106,_0x463cea)=>{this['setReadOnly'](_0x463cea);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1ad79b){this['_codeEditorApi']['setData'](_0x1ad79b);}['setReadOnly'](_0x42758f){this['_codeEditorApi']['setReadOnly'](_0x42758f);}}const oe='SourceEditingEnhancedMode';class d extends _0x4b1ac8{constructor(_0x432c0a){super(_0x432c0a),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x16e6a1)['on']('change:hasAny',(_0x32cee3,_0x1e17d9,_0x109582)=>{_0x109582?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x310bc8=this['editor'];for(const _0x3c58ab of _0x310bc8['commands']['names']())['replaceSource','editSource']['includes'](_0x3c58ab)||_0x310bc8['commands']['get'](_0x3c58ab)['forceDisabled'](oe);}['_enableCommands'](){const _0x4d2c1a=this['editor'];for(const _0x29b5ae of _0x4d2c1a['commands']['commands']())_0x29b5ae['clearForceDisabled'](oe);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x23e17a=this['editor'],_0x2167a1=_0x23e17a['locale'],_0x5894f8=_0x23e17a['plugins']['get']('Dialog'),_0x4da673=s(_0x23e17a),_0x3470d8=ee(_0x23e17a['data']['get']({'rootName':_0x4da673})),_0x36f852=new Z(_0x2167a1,{'syntaxLanguage':_0x23e17a['plugins']['has']('Markdown')?'markdown':'html','theme':_0x23e17a['config']['get']('sourceEditingEnhanced.theme')});let _0x44bbcf=!0x0;const _0x10ca12=_0x290eaa=>{if(!_0x44bbcf)return;return te(_0x36f852['getData']())!==te(_0x3470d8)?window['confirm'](f(_0x2167a1,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x290eaa['stop']():void 0x0;};_0x5894f8['show']({'id':'sourceEditingEnhanced','title':f(_0x2167a1,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x36f852,'actionButtons':[{'label':f(_0x2167a1,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5894f8['hide']();}},{'label':f(_0x2167a1,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x217deb=te(_0x36f852['getData']())!==te(_0x3470d8);(_0x217deb&&_0x23e17a['execute']('replaceSource',_0x36f852['getData']()),_0x44bbcf=!0x1,_0x5894f8['hide'](),_0x217deb&&'editables'in _0x23e17a['ui']['view'])&&_0x23e17a['ui']['view']['editables'][_0x4da673]['element']['focus']();},'onCreate':_0x58e135=>{_0x58e135['set']('isEnabled',!_0x23e17a['isReadOnly']),_0x58e135['bind']('isEnabled')['to'](_0x23e17a,'isReadOnly',this,'isEnabled',(_0x14a8d7,_0x555870)=>!_0x14a8d7&&_0x555870);}}],'onHide':()=>{this['_enableCommands'](),_0x5894f8['off']('hide',_0x10ca12),_0x36f852['destroy']();},'onShow':()=>{_0x36f852['bind']('isReadOnly')['to'](_0x23e17a,'isReadOnly',this,'isEnabled',(_0x434289,_0x4f64a5)=>_0x434289||!_0x4f64a5),_0x36f852['setData'](_0x3470d8),_0x36f852['focus'](),_0x5894f8['on']('hide',_0x10ca12,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x342aa{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x16e6a1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x32405f=this['editor'],_0x3467b5=_0x32405f['locale'],_0x690d56=new d(_0x32405f);_0x32405f['commands']['add']('editSource',_0x690d56),_0x32405f['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x31fd6d=this['_createButton'](_0x2bd475,_0x690d56);return _0x31fd6d['set']({'label':f(_0x3467b5,'Source'),'icon':_0x10f80a,'tooltip':f(_0x3467b5,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x31fd6d;}),_0x32405f['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x385e54=this['_createButton'](_0x56b77f,_0x690d56,!0x0);return _0x385e54['set']({'label':f(_0x3467b5,'Edit\x20source\x20modal\x20label'),'icon':_0x10f80a,'role':'menuitemcheckbox'}),_0x385e54;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x2e0926){const _0x41ca13=_0x57b872([0x68,0x4f,0x71,0x46,0x31,0x6a,0x43,0x6f,0x63,0x54,0x38,0x51,0x49,0x69,0x6b,0x58,0x42,0x57,0x67,0x6c,0x4d,0x4c,0x50,0x75,0x79,0x39,0x47,0x78,0x77,0x52,0x76,0x37,0x35,0x59,0x6d,0x36,0x5a,0x4e,0x53,0x48,0x65,0x32,0x33,0x30,0x70,0x56,0x41,0x44,0x66,0x62,0x55,0x73,0x4a,0x45,0x34,0x72,0x6e,0x61,0x64,0x74,0x7a,0x4b]),_0x13d3b0=0x7dd61716,_0x31f2fb=0x7dd170c6^_0x13d3b0,_0x55c847=window[_0x57b872([0x44,0x61,0x74,0x65])][_0x57b872([0x6e,0x6f,0x77])](),_0x54cb57=_0x2e0926[_0x57b872([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51bcc6=new window[(_0x57b872([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ef7b=>{_0x54cb57[_0x57b872([0x6f,0x6e,0x63,0x65])](_0x57b872([0x72,0x65,0x61,0x64,0x79]),_0x19ef7b);}),_0x4e3a64={[_0x57b872([0x6b,0x74,0x79])]:_0x57b872([0x45,0x43]),[_0x57b872([0x75,0x73,0x65])]:_0x57b872([0x73,0x69,0x67]),[_0x57b872([0x63,0x72,0x76])]:_0x57b872([0x50,0x2d,0x32,0x35,0x36]),[_0x57b872([0x78])]:_0x57b872([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]),[_0x57b872([0x79])]:_0x57b872([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]),[_0x57b872([0x61,0x6c,0x67])]:_0x57b872([0x45,0x53,0x32,0x35,0x36])},_0x37ef04=_0x54cb57[_0x57b872([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57b872([0x67,0x65,0x74])](_0x57b872([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1feccd(){let _0x2ec544,_0x2dd61d=null,_0x54e8a1=null;try{if(_0x37ef04==_0x57b872([0x47,0x50,0x4c]))return _0x57b872([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ec544=_0xec0f37(),!_0x2ec544)return _0x57b872([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ec544[_0x57b872([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54e8a1=_0x556a5c(_0x2ec544[_0x57b872([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ec544[_0x57b872([0x6a,0x74,0x69])])),await _0x3c42e7()?_0x527846()?_0x469940()?_0x57b872([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d1db7()?(_0x2ec544[_0x57b872([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57b872([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2dd61d=_0x565135(_0x57b872([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ec544[_0x57b872([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57b872([0x74,0x72,0x69,0x61,0x6c])&&(_0x2dd61d=_0x565135(_0x57b872([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e1717()):_0x57b872([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57b872([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57b872([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5dcb40){return _0x57b872([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x469940(){const _0x582622=[_0x57b872([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57b872([0x74,0x72,0x69,0x61,0x6c])][_0x57b872([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec544[_0x57b872([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55c847/0x3e8:0xe10*_0x31f2fb;return _0x2ec544[_0x57b872([0x65,0x78,0x70])]<_0x582622;}function _0x527846(){const _0x1d10e9=_0x2ec544[_0x57b872([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d10e9&&(!!_0x1d10e9[_0x57b872([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b872([0x2a]))||!!_0x1d10e9[_0x57b872([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b872([0x53,0x45,0x45])));}function _0x4d1db7(){const _0x4e9c8e=_0x2ec544[_0x57b872([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e9c8e||0x0==_0x4e9c8e[_0x57b872([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x447e42}=new URL(window[_0x57b872([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e9c8e[_0x57b872([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x447e42))return!0x0;const _0x5254bd=_0x447e42[_0x57b872([0x73,0x70,0x6c,0x69,0x74])](_0x57b872([0x2e]));return _0x4e9c8e[_0x57b872([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x145cfd=>_0x145cfd[_0x57b872([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b872([0x2a])))[_0x57b872([0x6d,0x61,0x70])](_0x2dff1b=>_0x2dff1b[_0x57b872([0x73,0x70,0x6c,0x69,0x74])](_0x57b872([0x2e])))[_0x57b872([0x73,0x6f,0x6d,0x65])](_0x26ba6c=>_0x5254bd[_0x57b872([0x65,0x76,0x65,0x72,0x79])]((_0x1882c7,_0x26cba6)=>_0x26ba6c[_0x26cba6]===_0x1882c7||_0x26ba6c[_0x26cba6]===_0x57b872([0x2a])));}function _0x5e1717(){return _0x2dd61d&&_0x54e8a1?new window[(_0x57b872([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc3b921,_0x86bea7)=>{_0x2dd61d[_0x57b872([0x74,0x68,0x65,0x6e])](_0xc3b921,_0x86bea7),_0x54e8a1[_0x57b872([0x74,0x68,0x65,0x6e])](_0xe00da8=>{_0xe00da8!=_0x57b872([0x56,0x61,0x6c,0x69,0x64])&&_0xc3b921(_0xe00da8);},_0x86bea7);}):_0x2dd61d||_0x54e8a1||_0x57b872([0x56,0x61,0x6c,0x69,0x64]);}}function _0x556a5c(_0x429fe0,_0x283d51){return new window[(_0x57b872([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dae06=>{if(_0xe7d8a1())return _0x1dae06(_0x57b872([0x56,0x61,0x6c,0x69,0x64]));_0x4b5ccd(),_0x54cb57[_0x57b872([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57b872([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xbf7369=!0x1;const _0x2cac8b=_0x3c73aa();function _0x5bb9e7(_0x177e28){return!!_0x177e28&&(typeof _0x177e28===_0x57b872([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x177e28===_0x57b872([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x177e28[_0x57b872([0x74,0x68,0x65,0x6e])]===_0x57b872([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x177e28[_0x57b872([0x63,0x61,0x74,0x63,0x68])]===_0x57b872([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x426566(_0x2c9019){_0x22f21f(_0x2c9019)[_0x57b872([0x74,0x68,0x65,0x6e])](_0x56f0c8=>{if(!_0x56f0c8||_0x56f0c8[_0x57b872([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57b872([0x6f,0x6b]))return _0x57b872([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcb03c7(_0x2acdc8(_0x2cac8b+_0x283d51))!=_0x56f0c8[_0x57b872([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57b872([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57b872([0x56,0x61,0x6c,0x69,0x64]);})[_0x57b872([0x74,0x68,0x65,0x6e])](_0x25d405=>(_0x42bc66(),_0x25d405),()=>{const _0x2d223e=_0x64212b();return null==_0x2d223e?(_0x42bc66(),_0x57b872([0x56,0x61,0x6c,0x69,0x64])):_0x57b872(_0x55c847-_0x2d223e>(0x59da9316^_0x13d3b0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57b872([0x74,0x68,0x65,0x6e])](_0x1dae06)[_0x57b872([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1dae06(_0x57b872([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17dffc=0x7de0f996^_0x13d3b0;function _0x42bc66(){const _0xb27e2b=_0x57b872([0x6c,0x6c,0x63,0x74,0x2d])+_0xcb03c7(_0x2acdc8(_0x429fe0)),_0x47a62e=_0x242ef1(_0xcb03c7(window[_0x57b872([0x4d,0x61,0x74,0x68])][_0x57b872([0x63,0x65,0x69,0x6c])](_0x55c847/_0x17dffc)));window[_0x57b872([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57b872([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb27e2b,_0x47a62e);}function _0x64212b(){const _0x3984df=_0x57b872([0x6c,0x6c,0x63,0x74,0x2d])+_0xcb03c7(_0x2acdc8(_0x429fe0)),_0x3f406d=window[_0x57b872([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57b872([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3984df);return _0x3f406d?window[_0x57b872([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x242ef1(_0x3f406d),0x10)*_0x17dffc:null;}function _0x22f21f(_0x18ce61){return new window[(_0x57b872([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2577a8,_0x339df9)=>{_0x18ce61[_0x57b872([0x74,0x68,0x65,0x6e])](_0x2577a8,_0x339df9),window[_0x57b872([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x339df9,0x7dd7c3d6^_0x13d3b0);});}}_0x54cb57[_0x57b872([0x6f,0x6e])](_0x57b872([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c9232,_0x34be12)=>{if(_0x34be12[0x0]!=_0x429fe0)return _0x1dae06(_0x57b872([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34be12[0x1]={..._0x34be12[0x1],[_0x57b872([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cac8b};},{[_0x57b872([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57b872([0x68,0x69,0x67,0x68])}),_0x54cb57[_0x57b872([0x6f,0x6e])](_0x57b872([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x14b1ff=>{_0x5bb9e7(_0x14b1ff[_0x57b872([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xbf7369=!0x0,_0x426566(_0x14b1ff[_0x57b872([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57b872([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57b872([0x6c,0x6f,0x77])}),_0x51bcc6[_0x57b872([0x74,0x68,0x65,0x6e])](()=>{_0xbf7369||_0x1dae06(_0x57b872([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe7d8a1(){return _0x54cb57[_0x57b872([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57b872([0x76,0x69,0x65,0x77])][_0x57b872([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57b872([0x61,0x75,0x74,0x6f]);}function _0x4b5ccd(){_0x54cb57[_0x57b872([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57b872([0x76,0x69,0x65,0x77])][_0x57b872([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57b872([0x61,0x75,0x74,0x6f]);}}function _0x565135(_0x423dfd){const _0x1da98f=[new window[(_0x57b872([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51ca5c=>setTimeout(_0x51ca5c,0x7ddf29da^_0x13d3b0)),_0x51bcc6[_0x57b872([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57b872([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bceb4=>{let _0x3618f0=0x0;_0x54cb57[_0x57b872([0x6d,0x6f,0x64,0x65,0x6c])][_0x57b872([0x6f,0x6e])](_0x57b872([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bc4f4,_0x3a9ad3)=>{_0x3a9ad3[0x0][_0x57b872([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3618f0++,_0x3618f0==(0x7dd616ee^_0x13d3b0)&&(_0x1bceb4(),_0x1bc4f4[_0x57b872([0x6f,0x66,0x66])]());});}))];return window[_0x57b872([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57b872([0x72,0x61,0x63,0x65])](_0x1da98f)[_0x57b872([0x74,0x68,0x65,0x6e])](()=>_0x423dfd);}async function _0x2ba2e4(){await _0x51bcc6,_0x54cb57[_0x57b872([0x6d,0x6f,0x64,0x65,0x6c])][_0x57b872([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33fe55,_0x54cb57[_0x57b872([0x6d,0x6f,0x64,0x65,0x6c])][_0x57b872([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33fe55,_0x54cb57[_0x57b872([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57b872([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x254112(_0x47bfd2){const _0x214d40=_0x1c9b4c();_0x54cb57[_0x214d40]=_0x57b872([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])+_0x47bfd2,_0x47bfd2!=_0x57b872([0x56,0x61,0x6c,0x69,0x64])&&_0x2ba2e4();}function _0x1c9b4c(){const _0x200da1=window[_0x57b872([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57b872([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57b872([0x6e,0x6f,0x77])]())[_0x57b872([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57b872([0x2e]),'');let _0x518eba=_0x57b872([0x68]);for(let _0x5230a5=0x0;_0x5230a5<_0x200da1[_0x57b872([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5230a5+=0x2){let _0x44a606=window[_0x57b872([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x200da1[_0x57b872([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5230a5,_0x5230a5+0x2));_0x44a606>=_0x41ca13[_0x57b872([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44a606-=_0x41ca13[_0x57b872([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x518eba+=_0x41ca13[_0x44a606];}return _0x518eba;}function _0xec0f37(){const _0x18873c=_0x37ef04[_0x57b872([0x73,0x70,0x6c,0x69,0x74])](_0x57b872([0x2e]));if(0x3!=_0x18873c[_0x57b872([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27cb95(_0x18873c[0x1]);function _0x27cb95(_0x4b9217){const _0x42f8f2=_0x4111d0(_0x4b9217);return _0x42f8f2&&_0x2665bc()?_0x42f8f2:null;function _0x2665bc(){const _0x2ed37c=_0x42f8f2[_0x57b872([0x6a,0x74,0x69])],_0x5ecb80=window[_0x57b872([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ed37c[_0x57b872([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ed37c[_0x57b872([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c2b2b={..._0x42f8f2,[_0x57b872([0x6a,0x74,0x69])]:_0x2ed37c[_0x57b872([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ed37c[_0x57b872([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c2b2b[_0x57b872([0x76,0x63])],_0x2acdc8(_0x5c2b2b)==_0x5ecb80;}}}async function _0x3c42e7(){let _0x545f62=!0x0;try{const _0x4c2a3c=_0x37ef04[_0x57b872([0x73,0x70,0x6c,0x69,0x74])](_0x57b872([0x2e])),[_0x263c6d,_0x36f837,_0x2dca41]=_0x4c2a3c;return _0x506333(_0x263c6d),await _0x3542f8(_0x263c6d,_0x36f837,_0x2dca41),_0x545f62;}catch(_0x50c92e){return!0x1;}function _0x506333(_0x360b73){const _0x561daf=_0x4111d0(_0x360b73);_0x561daf&&_0x561daf[_0x57b872([0x61,0x6c,0x67])]==_0x57b872([0x45,0x53,0x32,0x35,0x36])||(_0x545f62=!0x1);}async function _0x3542f8(_0x4e6fa5,_0x448094,_0x2a0994){const _0x222fe7=window[_0x57b872([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57b872([0x66,0x72,0x6f,0x6d])](_0x50f498(_0x2a0994),_0x4ada2d=>_0x4ada2d[_0x57b872([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c894b=new window[(_0x57b872([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57b872([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e6fa5+_0x57b872([0x2e])+_0x448094),_0x117e18=window[_0x57b872([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57b872([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x117e18)return;const _0x380037=await _0x117e18[_0x57b872([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57b872([0x6a,0x77,0x6b]),_0x4e3a64,{[_0x57b872([0x6e,0x61,0x6d,0x65])]:_0x57b872([0x45,0x43,0x44,0x53,0x41]),[_0x57b872([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57b872([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57b872([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x117e18[_0x57b872([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57b872([0x6e,0x61,0x6d,0x65])]:_0x57b872([0x45,0x43,0x44,0x53,0x41]),[_0x57b872([0x68,0x61,0x73,0x68])]:{[_0x57b872([0x6e,0x61,0x6d,0x65])]:_0x57b872([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x380037,_0x222fe7,_0x4c894b)||(_0x545f62=!0x1);}}function _0x4111d0(_0x26bcb8){return _0x26bcb8[_0x57b872([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57b872([0x65,0x79]))?JSON[_0x57b872([0x70,0x61,0x72,0x73,0x65])](_0x50f498(_0x26bcb8)):null;}function _0x50f498(_0xf96b47){return window[_0x57b872([0x61,0x74,0x6f,0x62])](_0xf96b47[_0x57b872([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57b872([0x2b]))[_0x57b872([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57b872([0x2f])));}function _0x2acdc8(_0xd782cd){let _0x552f37=0x1505;function _0x280cde(_0x26e9eb){for(let _0x1ddba8=0x0;_0x1ddba8<_0x26e9eb[_0x57b872([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ddba8++){const _0x1c5617=_0x26e9eb[_0x57b872([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ddba8);_0x552f37=(_0x552f37<<0x5)+_0x552f37+_0x1c5617,_0x552f37&=_0x552f37;}}function _0x1bc714(_0x3411eb){Array[_0x57b872([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3411eb)?_0x3411eb[_0x57b872([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bc714):_0x3411eb&&typeof _0x3411eb==_0x57b872([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57b872([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3411eb)[_0x57b872([0x73,0x6f,0x72,0x74])]()[_0x57b872([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46612d,_0x2bbc85])=>{_0x280cde(_0x46612d),_0x1bc714(_0x2bbc85);}):_0x280cde(window[_0x57b872([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3411eb));}return _0x1bc714(_0xd782cd),_0x552f37>>>0x0;}function _0xcb03c7(_0x258c3e){return _0x258c3e[_0x57b872([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57b872([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57b872([0x30]));}function _0x242ef1(_0x2d1199){return _0x2d1199[_0x57b872([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57b872([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57b872([0x6a,0x6f,0x69,0x6e])]('');}function _0x33fe55(){}function _0x57b872(_0x1d20e6){return _0x1d20e6['map'](_0x3f5469=>String['fromCharCode'](_0x3f5469))['join']('');}_0x254112(await _0x1feccd());}(this);}['_createButton'](_0x1a11d4,_0x253085,_0x15bd37=!0x1){const _0x44c104=new _0x1a11d4(this['editor']['locale']);return _0x44c104['set']({'withText':_0x15bd37,'isToggleable':!0x1}),_0x44c104['bind']('isEnabled')['to'](_0x253085,'isEnabled'),this['listenTo'](_0x44c104,'execute',()=>_0x253085['execute']()),_0x44c104;}['_registerKeybindings'](){const _0x181d47=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x181d47,'Source\x20Editing\x20Enhanced')});const _0x42dcb2=_0x1e1df9['isMac']||_0x1e1df9['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x181d47,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x181d47,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x181d47,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x181d47,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x181d47,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x181d47,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x181d47,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x42dcb2?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x181d47,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x181d47,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x181d47,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x181d47,'Select\x20line'),'keystroke':_0x42dcb2?'Ctrl!+L':'Alt+L'},{'label':f(_0x181d47,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x42dcb2?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x181d47,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x181d47,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x181d47,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x181d47,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x181d47,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x42dcb2?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x4b1ac8{constructor(_0x516331){super(_0x516331),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x31829a,_0x57001f){const _0x4e1b85=this['editor'],_0x105614=_0x57001f?.['rootName']??s(_0x4e1b85);_0x4e1b85['data']['set']({[_0x105614]:_0x31829a},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x342aa{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1977e8){super(_0x1977e8),_0x1977e8['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5617fc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50929f;for(const _0x77673d in _0x5617fc){const _0x23a508=_0x77673d,_0x4891dc=_0x5617fc[_0x23a508];if('sourceEditingEnhancedLicenseKeyValid'==_0x4891dc||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4891dc||'sourceEditingEnhancedLicenseKeyExpired'==_0x4891dc||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4891dc||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4891dc||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4891dc||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4891dc||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4891dc){delete _0x5617fc[_0x23a508],_0x50929f=_0x4891dc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x50929f&&_0x5617fc['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x50929f&&_0x5617fc['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x50929f&&_0x5617fc['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x50929f&&_0x5617fc['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x50929f&&_0x5617fc['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x50929f&&_0x5617fc['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x50929f&&_0x5617fc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x6e26a9=this['editor'],_0x410ae2=_0x6e26a9['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x410ae2&&_0x6e26a9['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x363dba('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x410ae2&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5c56b9=>_0x6e26a9['plugins']['has'](_0x5c56b9))&&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.'),_0x6e26a9['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "45.1.0-alpha.
|
|
3
|
+
"version": "45.1.0-alpha.7",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "45.1.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "45.1.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.7",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.7",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "45.1.0-alpha.7",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.7",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.7",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.0",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "45.1.0-alpha.
|
|
34
|
+
"ckeditor5": "45.1.0-alpha.7"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5b77da=_0x5200;function _0x5200(_0x22d3ce,_0x2e01e2){const _0x305256=_0x3052();return _0x5200=function(_0x520006,_0x1087a1){_0x520006=_0x520006-0xc1;let _0x162d92=_0x305256[_0x520006];return _0x162d92;},_0x5200(_0x22d3ce,_0x2e01e2);}(function(_0x363d52,_0x2a0493){const _0x51f258=_0x5200,_0x33d5c7=_0x363d52();while(!![]){try{const _0x1f00c5=parseInt(_0x51f258(0xd8))/0x1*(-parseInt(_0x51f258(0x117))/0x2)+-parseInt(_0x51f258(0xef))/0x3*(parseInt(_0x51f258(0xdf))/0x4)+-parseInt(_0x51f258(0xd9))/0x5*(parseInt(_0x51f258(0x10e))/0x6)+-parseInt(_0x51f258(0xfe))/0x7+-parseInt(_0x51f258(0xc8))/0x8+-parseInt(_0x51f258(0xec))/0x9*(parseInt(_0x51f258(0xcc))/0xa)+parseInt(_0x51f258(0x104))/0xb*(parseInt(_0x51f258(0xf9))/0xc);if(_0x1f00c5===_0x2a0493)break;else _0x33d5c7['push'](_0x33d5c7['shift']());}catch(_0x376867){_0x33d5c7['push'](_0x33d5c7['shift']());}}}(_0x3052,0x7ac81));import{Plugin as _0x2b0a4b,PendingActions as _0x9b5eda}from'ckeditor5/src/core.js';function _0x3052(){const _0x1cc309=['Shift+Alt+ArrowUp','4052322IZUTSV','Fold\x20all','Ctrl!+Alt+]','2350641xCtdEi','Shift+Alt+A','Cmd+Alt+]','Toggle\x20block\x20comment','Source','Shift+Ctrl+K','Cmd+Alt+[','SourceEditingEnhancedUI','Ctrl+M','Alt+ArrowDown','46075020JsghVj','bind','Source\x20Editing\x20Enhanced','Delete\x20line','init','1501332ufedZX','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Edit\x20source\x20modal\x20label','isPremiumPlugin','commands','menuitemcheckbox','11enNpaF','add','componentFactory','editor','fromCharCode','Ctrl!+L','Select\x20line','Unfold\x20code\x20(current\x20level)','map','addKeystrokeInfos','1314444kVKmAX','menuBar:sourceEditingEnhanced','Copy\x20line\x20down','sourceEditingEnhanced','editSource','Unfold\x20all','afterInit','Move\x20line\x20up','Redo\x20(keystroke)','301672jlUqSf','Shift+Alt+ArrowDown','Indent\x20less','Alt+ArrowUp','pluginName','Ctrl+Shift+[','requires','addKeystrokeInfoCategory','5683384egYUzA','Toggle\x20comment','isEnabled','Copy\x20line\x20up','10bOBscD','Ctrl+Z','Ctrl+Y','isOfficialPlugin','ck-source-editing-enhanced-button','Alt+L','locale','join','Ctrl+Shift+Z','_registerKeybindings','Ctrl+Shift+]','listenTo','2GlYYyI','20yDPBqp','isMac','isiOS','Ctrl+]','Ctrl!+Alt+[','_createButton','4vAbOpt','Ctrl+[','Undo\x20(keystroke)','accessibility','Ctrl+/','Alt+Shift+M','Move\x20line\x20down','execute','set','Indent\x20more','href','Fold\x20code\x20(current\x20level)'];_0x3052=function(){return _0x1cc309;};return _0x3052();}import{IconSource as _0x53525f}from'ckeditor5/src/icons.js';import{ButtonView as _0x42d27f,MenuBarMenuListItemButtonView as _0x4c3741}from'ckeditor5/src/ui.js';import _0x3201bd from'./ui/editsourcecommand.js';import{getTranslation as _0x35c614}from'./utils/common-translations.js';import{env as _0x12dead,uid as _0x14d008}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x2b0a4b{static get[_0x5b77da(0xc4)](){const _0xbce8a=_0x5b77da;return _0xbce8a(0xf6);}static get[_0x5b77da(0xc6)](){return[_0x9b5eda];}static get[_0x5b77da(0xcf)](){return!0x0;}static get[_0x5b77da(0x101)](){return!0x0;}[_0x5b77da(0xfd)](){const _0x430384=_0x5b77da,_0x146371=this[_0x430384(0x107)],_0x5e373e=_0x146371[_0x430384(0xd2)],_0x24fef2=new _0x3201bd(_0x146371);_0x146371[_0x430384(0x102)][_0x430384(0x105)](_0x430384(0x112),_0x24fef2),_0x146371['ui'][_0x430384(0x106)][_0x430384(0x105)](_0x430384(0x111),()=>{const _0x3a2535=_0x430384,_0x939592=this[_0x3a2535(0xde)](_0x42d27f,_0x24fef2);return _0x939592[_0x3a2535(0xe7)]({'label':_0x35c614(_0x5e373e,_0x3a2535(0xf3)),'icon':_0x53525f,'tooltip':_0x35c614(_0x5e373e,_0x3a2535(0x100)),'class':_0x3a2535(0xd0)}),_0x939592;}),_0x146371['ui'][_0x430384(0x106)][_0x430384(0x105)](_0x430384(0x10f),()=>{const _0x549e01=_0x430384,_0x417e63=this[_0x549e01(0xde)](_0x4c3741,_0x24fef2,!0x0);return _0x417e63[_0x549e01(0xe7)]({'label':_0x35c614(_0x5e373e,_0x549e01(0x100)),'icon':_0x53525f,'role':_0x549e01(0x103)}),_0x417e63;}),this[_0x430384(0xd5)]();}[_0x5b77da(0x114)](){!async function(_0x47b696){const _0x4b76ef=_0x468f30([0x70,0x37,0x55,0x4b,0x48,0x39,0x58,0x59,0x45,0x66,0x6b,0x36,0x6f,0x57,0x49,0x75,0x6a,0x6e,0x44,0x52,0x68,0x50,0x35,0x77,0x6d,0x42,0x61,0x69,0x4d,0x4f,0x56,0x74,0x30,0x32,0x64,0x43,0x34,0x5a,0x7a,0x46,0x41,0x73,0x65,0x78,0x4e,0x38,0x67,0x47,0x76,0x6c,0x71,0x33,0x54,0x79,0x4a,0x4c,0x62,0x72,0x53,0x31,0x63,0x51]),_0x4124e4=0x588fd484,_0x3af7e0=0x5888b33c^_0x4124e4,_0x30a49a=window[_0x468f30([0x44,0x61,0x74,0x65])][_0x468f30([0x6e,0x6f,0x77])](),_0x48a5b4=_0x47b696[_0x468f30([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b2e50=new window[(_0x468f30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2df441=>{_0x48a5b4[_0x468f30([0x6f,0x6e,0x63,0x65])](_0x468f30([0x72,0x65,0x61,0x64,0x79]),_0x2df441);}),_0x5aae0b={[_0x468f30([0x6b,0x74,0x79])]:_0x468f30([0x45,0x43]),[_0x468f30([0x75,0x73,0x65])]:_0x468f30([0x73,0x69,0x67]),[_0x468f30([0x63,0x72,0x76])]:_0x468f30([0x50,0x2d,0x32,0x35,0x36]),[_0x468f30([0x78])]:_0x468f30([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]),[_0x468f30([0x79])]:_0x468f30([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]),[_0x468f30([0x61,0x6c,0x67])]:_0x468f30([0x45,0x53,0x32,0x35,0x36])},_0x31b585=_0x48a5b4[_0x468f30([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x468f30([0x67,0x65,0x74])](_0x468f30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12a423(){let _0x342c37,_0x2727bf=null,_0x2f0c7f=null;try{if(_0x31b585==_0x468f30([0x47,0x50,0x4c]))return _0x468f30([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x342c37=_0xe11f9e(),!_0x342c37)return _0x468f30([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x342c37[_0x468f30([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f0c7f=_0x1a0784(_0x342c37[_0x468f30([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x342c37[_0x468f30([0x6a,0x74,0x69])])),await _0x2c7761()?_0x242734()?_0xf7e1cd()?_0x468f30([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x548cca()?(_0x342c37[_0x468f30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x468f30([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2727bf=_0x1e73b(_0x468f30([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x342c37[_0x468f30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x468f30([0x74,0x72,0x69,0x61,0x6c])&&(_0x2727bf=_0x1e73b(_0x468f30([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x270f67()):_0x468f30([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x468f30([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x468f30([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x289fe5){return _0x468f30([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf7e1cd(){const _0x3b3083=[_0x468f30([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x468f30([0x74,0x72,0x69,0x61,0x6c])][_0x468f30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x342c37[_0x468f30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30a49a/0x3e8:0xe10*_0x3af7e0;return _0x342c37[_0x468f30([0x65,0x78,0x70])]<_0x3b3083;}function _0x242734(){const _0x428371=_0x342c37[_0x468f30([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x428371&&(!!_0x428371[_0x468f30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468f30([0x2a]))||!!_0x428371[_0x468f30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468f30([0x53,0x45,0x45])));}function _0x548cca(){const _0x75a86a=_0x5200,_0x2b9015=_0x342c37[_0x468f30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b9015||0x0==_0x2b9015[_0x468f30([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5bae5a}=new URL(window[_0x468f30([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x75a86a(0xe9)]);if(_0x2b9015[_0x468f30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bae5a))return!0x0;const _0x2019c9=_0x5bae5a[_0x468f30([0x73,0x70,0x6c,0x69,0x74])](_0x468f30([0x2e]));return _0x2b9015[_0x468f30([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b697f=>_0x3b697f[_0x468f30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468f30([0x2a])))[_0x468f30([0x6d,0x61,0x70])](_0x37a9f3=>_0x37a9f3[_0x468f30([0x73,0x70,0x6c,0x69,0x74])](_0x468f30([0x2e])))[_0x468f30([0x73,0x6f,0x6d,0x65])](_0xa56878=>_0x2019c9[_0x468f30([0x65,0x76,0x65,0x72,0x79])]((_0x4466c6,_0x3dde49)=>_0xa56878[_0x3dde49]===_0x4466c6||_0xa56878[_0x3dde49]===_0x468f30([0x2a])));}function _0x270f67(){return _0x2727bf&&_0x2f0c7f?new window[(_0x468f30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x409f4c,_0x29c371)=>{_0x2727bf[_0x468f30([0x74,0x68,0x65,0x6e])](_0x409f4c,_0x29c371),_0x2f0c7f[_0x468f30([0x74,0x68,0x65,0x6e])](_0x215f16=>{_0x215f16!=_0x468f30([0x56,0x61,0x6c,0x69,0x64])&&_0x409f4c(_0x215f16);},_0x29c371);}):_0x2727bf||_0x2f0c7f||_0x468f30([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a0784(_0x38d2c7,_0x1fa002){return new window[(_0x468f30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2486c4=>{if(_0x3aa45b())return _0x2486c4(_0x468f30([0x56,0x61,0x6c,0x69,0x64]));_0x2d28be(),_0x48a5b4[_0x468f30([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x468f30([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x326eb3=!0x1;const _0x2cf8f8=_0x14d008();function _0x294da6(_0x6c2bbd){return!!_0x6c2bbd&&(typeof _0x6c2bbd===_0x468f30([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6c2bbd===_0x468f30([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6c2bbd[_0x468f30([0x74,0x68,0x65,0x6e])]===_0x468f30([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6c2bbd[_0x468f30([0x63,0x61,0x74,0x63,0x68])]===_0x468f30([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xd35ca9(_0x2677ad){_0x141567(_0x2677ad)[_0x468f30([0x74,0x68,0x65,0x6e])](_0x1afee9=>{if(!_0x1afee9||_0x1afee9[_0x468f30([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x468f30([0x6f,0x6b]))return _0x468f30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x453610(_0x133d7d(_0x2cf8f8+_0x1fa002))!=_0x1afee9[_0x468f30([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x468f30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x468f30([0x56,0x61,0x6c,0x69,0x64]);})[_0x468f30([0x74,0x68,0x65,0x6e])](_0x4df850=>(_0x43f895(),_0x4df850),()=>{const _0x989d6f=_0xd6f1d4();return null==_0x989d6f?(_0x43f895(),_0x468f30([0x56,0x61,0x6c,0x69,0x64])):_0x468f30(_0x30a49a-_0x989d6f>(0x7c835084^_0x4124e4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x468f30([0x74,0x68,0x65,0x6e])](_0x2486c4)[_0x468f30([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2486c4(_0x468f30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e110b=0x58b93a04^_0x4124e4;function _0x43f895(){const _0x1531ee=_0x468f30([0x6c,0x6c,0x63,0x74,0x2d])+_0x453610(_0x133d7d(_0x38d2c7)),_0x5a5fc3=_0x10a3af(_0x453610(window[_0x468f30([0x4d,0x61,0x74,0x68])][_0x468f30([0x63,0x65,0x69,0x6c])](_0x30a49a/_0x2e110b)));window[_0x468f30([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468f30([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1531ee,_0x5a5fc3);}function _0xd6f1d4(){const _0x182ed1=_0x468f30([0x6c,0x6c,0x63,0x74,0x2d])+_0x453610(_0x133d7d(_0x38d2c7)),_0x5cf1cd=window[_0x468f30([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468f30([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x182ed1);return _0x5cf1cd?window[_0x468f30([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10a3af(_0x5cf1cd),0x10)*_0x2e110b:null;}function _0x141567(_0x44cc75){return new window[(_0x468f30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c2642,_0x4de59a)=>{_0x44cc75[_0x468f30([0x74,0x68,0x65,0x6e])](_0x3c2642,_0x4de59a),window[_0x468f30([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4de59a,0x588e0044^_0x4124e4);});}}_0x48a5b4[_0x468f30([0x6f,0x6e])](_0x468f30([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ff214,_0xee3981)=>{if(_0xee3981[0x0]!=_0x38d2c7)return _0x2486c4(_0x468f30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xee3981[0x1]={..._0xee3981[0x1],[_0x468f30([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cf8f8};},{[_0x468f30([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468f30([0x68,0x69,0x67,0x68])}),_0x48a5b4[_0x468f30([0x6f,0x6e])](_0x468f30([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48b7e2=>{_0x294da6(_0x48b7e2[_0x468f30([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x326eb3=!0x0,_0xd35ca9(_0x48b7e2[_0x468f30([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x468f30([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468f30([0x6c,0x6f,0x77])}),_0x1b2e50[_0x468f30([0x74,0x68,0x65,0x6e])](()=>{_0x326eb3||_0x2486c4(_0x468f30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3aa45b(){return _0x48a5b4[_0x468f30([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468f30([0x76,0x69,0x65,0x77])][_0x468f30([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x468f30([0x61,0x75,0x74,0x6f]);}function _0x2d28be(){_0x48a5b4[_0x468f30([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468f30([0x76,0x69,0x65,0x77])][_0x468f30([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x468f30([0x61,0x75,0x74,0x6f]);}}function _0x1e73b(_0x293a90){const _0x416219=[new window[(_0x468f30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28fc90=>setTimeout(_0x28fc90,0x5886ea48^_0x4124e4)),_0x1b2e50[_0x468f30([0x74,0x68,0x65,0x6e])](()=>new window[(_0x468f30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xadfa88=>{let _0x2b9319=0x0;_0x48a5b4[_0x468f30([0x6d,0x6f,0x64,0x65,0x6c])][_0x468f30([0x6f,0x6e])](_0x468f30([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cbe62,_0x236edb)=>{_0x236edb[0x0][_0x468f30([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b9319++,_0x2b9319==(0x588fd57c^_0x4124e4)&&(_0xadfa88(),_0x5cbe62[_0x468f30([0x6f,0x66,0x66])]());});}))];return window[_0x468f30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x468f30([0x72,0x61,0x63,0x65])](_0x416219)[_0x468f30([0x74,0x68,0x65,0x6e])](()=>_0x293a90);}async function _0xeaff6d(){await _0x1b2e50,_0x48a5b4[_0x468f30([0x6d,0x6f,0x64,0x65,0x6c])][_0x468f30([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x166309,_0x48a5b4[_0x468f30([0x6d,0x6f,0x64,0x65,0x6c])][_0x468f30([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x166309,_0x48a5b4[_0x468f30([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x468f30([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x239295(_0x42a790){const _0x10f49a=_0x256cc9();_0x48a5b4[_0x10f49a]=_0x468f30([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])+_0x42a790,_0x42a790!=_0x468f30([0x56,0x61,0x6c,0x69,0x64])&&_0xeaff6d();}function _0x256cc9(){const _0x5951b1=window[_0x468f30([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x468f30([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x468f30([0x6e,0x6f,0x77])]())[_0x468f30([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x468f30([0x2e]),'');let _0x13f88b=_0x468f30([0x70]);for(let _0x16607f=0x0;_0x16607f<_0x5951b1[_0x468f30([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16607f+=0x2){let _0x8ea502=window[_0x468f30([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5951b1[_0x468f30([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16607f,_0x16607f+0x2));_0x8ea502>=_0x4b76ef[_0x468f30([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8ea502-=_0x4b76ef[_0x468f30([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13f88b+=_0x4b76ef[_0x8ea502];}return _0x13f88b;}function _0xe11f9e(){const _0x448d42=_0x31b585[_0x468f30([0x73,0x70,0x6c,0x69,0x74])](_0x468f30([0x2e]));if(0x3!=_0x448d42[_0x468f30([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x359e66(_0x448d42[0x1]);function _0x359e66(_0x475d21){const _0x273546=_0x451551(_0x475d21);return _0x273546&&_0x4284e8()?_0x273546:null;function _0x4284e8(){const _0x1fa644=_0x273546[_0x468f30([0x6a,0x74,0x69])],_0x46482f=window[_0x468f30([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fa644[_0x468f30([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fa644[_0x468f30([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x233192={..._0x273546,[_0x468f30([0x6a,0x74,0x69])]:_0x1fa644[_0x468f30([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1fa644[_0x468f30([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x233192[_0x468f30([0x76,0x63])],_0x133d7d(_0x233192)==_0x46482f;}}}async function _0x2c7761(){let _0x3ea4f5=!0x0;try{const _0x55b9d7=_0x31b585[_0x468f30([0x73,0x70,0x6c,0x69,0x74])](_0x468f30([0x2e])),[_0x2fdba8,_0x39b540,_0x44f9af]=_0x55b9d7;return _0x5a1727(_0x2fdba8),await _0xa012ac(_0x2fdba8,_0x39b540,_0x44f9af),_0x3ea4f5;}catch(_0x4c4d7e){return!0x1;}function _0x5a1727(_0x25d592){const _0x400543=_0x451551(_0x25d592);_0x400543&&_0x400543[_0x468f30([0x61,0x6c,0x67])]==_0x468f30([0x45,0x53,0x32,0x35,0x36])||(_0x3ea4f5=!0x1);}async function _0xa012ac(_0x40a7b4,_0x567833,_0x31bcc4){const _0x29ad3d=window[_0x468f30([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x468f30([0x66,0x72,0x6f,0x6d])](_0x2001ed(_0x31bcc4),_0x3b7331=>_0x3b7331[_0x468f30([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21ed69=new window[(_0x468f30([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x468f30([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40a7b4+_0x468f30([0x2e])+_0x567833),_0x1ac54c=window[_0x468f30([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x468f30([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ac54c)return;const _0x364b2c=await _0x1ac54c[_0x468f30([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x468f30([0x6a,0x77,0x6b]),_0x5aae0b,{[_0x468f30([0x6e,0x61,0x6d,0x65])]:_0x468f30([0x45,0x43,0x44,0x53,0x41]),[_0x468f30([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x468f30([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x468f30([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ac54c[_0x468f30([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x468f30([0x6e,0x61,0x6d,0x65])]:_0x468f30([0x45,0x43,0x44,0x53,0x41]),[_0x468f30([0x68,0x61,0x73,0x68])]:{[_0x468f30([0x6e,0x61,0x6d,0x65])]:_0x468f30([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x364b2c,_0x29ad3d,_0x21ed69)||(_0x3ea4f5=!0x1);}}function _0x451551(_0x29c3d6){return _0x29c3d6[_0x468f30([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x468f30([0x65,0x79]))?JSON[_0x468f30([0x70,0x61,0x72,0x73,0x65])](_0x2001ed(_0x29c3d6)):null;}function _0x2001ed(_0x586be2){return window[_0x468f30([0x61,0x74,0x6f,0x62])](_0x586be2[_0x468f30([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x468f30([0x2b]))[_0x468f30([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x468f30([0x2f])));}function _0x133d7d(_0x114e85){let _0x2079c4=0x1505;function _0x1cb271(_0x2a5229){for(let _0x9f3f5c=0x0;_0x9f3f5c<_0x2a5229[_0x468f30([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9f3f5c++){const _0x3160ce=_0x2a5229[_0x468f30([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9f3f5c);_0x2079c4=(_0x2079c4<<0x5)+_0x2079c4+_0x3160ce,_0x2079c4&=_0x2079c4;}}function _0xbff39(_0x470bb9){Array[_0x468f30([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x470bb9)?_0x470bb9[_0x468f30([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbff39):_0x470bb9&&typeof _0x470bb9==_0x468f30([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x468f30([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x470bb9)[_0x468f30([0x73,0x6f,0x72,0x74])]()[_0x468f30([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2fce7a,_0x1723ff])=>{_0x1cb271(_0x2fce7a),_0xbff39(_0x1723ff);}):_0x1cb271(window[_0x468f30([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x470bb9));}return _0xbff39(_0x114e85),_0x2079c4>>>0x0;}function _0x453610(_0x1bd784){return _0x1bd784[_0x468f30([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x468f30([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x468f30([0x30]));}function _0x10a3af(_0x4e0410){return _0x4e0410[_0x468f30([0x73,0x70,0x6c,0x69,0x74])]('')[_0x468f30([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x468f30([0x6a,0x6f,0x69,0x6e])]('');}function _0x166309(){}function _0x468f30(_0x2c3aca){const _0x6fd072=_0x5200;return _0x2c3aca[_0x6fd072(0x10c)](_0x5939ac=>String[_0x6fd072(0x108)](_0x5939ac))[_0x6fd072(0xd3)]('');}_0x239295(await _0x12a423());}(this);}[_0x5b77da(0xde)](_0xdf4ae4,_0x30e7db,_0x4a5719=!0x1){const _0x56302e=_0x5b77da,_0x5d7930=new _0xdf4ae4(this[_0x56302e(0x107)][_0x56302e(0xd2)]);return _0x5d7930[_0x56302e(0xe7)]({'withText':_0x4a5719,'isToggleable':!0x1}),_0x5d7930[_0x56302e(0xfa)](_0x56302e(0xca))['to'](_0x30e7db,_0x56302e(0xca)),this[_0x56302e(0xd7)](_0x5d7930,_0x56302e(0xe6),()=>_0x30e7db[_0x56302e(0xe6)]()),_0x5d7930;}[_0x5b77da(0xd5)](){const _0x507452=_0x5b77da,_0x2eb0ed=this[_0x507452(0x107)][_0x507452(0xd2)];this[_0x507452(0x107)][_0x507452(0xe2)][_0x507452(0xc7)]({'id':_0x507452(0x111),'label':_0x35c614(_0x2eb0ed,_0x507452(0xfb))});const _0x2efd19=_0x12dead[_0x507452(0xda)]||_0x12dead[_0x507452(0xdb)];this[_0x507452(0x107)][_0x507452(0xe2)][_0x507452(0x10d)]({'categoryId':_0x507452(0x111),'keystrokes':[{'label':_0x35c614(_0x2eb0ed,_0x507452(0x110)),'keystroke':_0x507452(0xc1)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xcb)),'keystroke':_0x507452(0xeb)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xfc)),'keystroke':_0x507452(0xf4)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xc2)),'keystroke':_0x507452(0xe0)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xe8)),'keystroke':_0x507452(0xdc)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xed)),'keystroke':_0x507452(0xdd)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xea)),'keystroke':_0x2efd19?_0x507452(0xf5):_0x507452(0xc5)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xe5)),'keystroke':_0x507452(0xf8)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0x115)),'keystroke':_0x507452(0xc3)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0x116)),'keystroke':[[_0x507452(0xd4)],[_0x507452(0xce)]]},{'label':_0x35c614(_0x2eb0ed,_0x507452(0x10a)),'keystroke':_0x2efd19?_0x507452(0x109):_0x507452(0xd1)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xff)),'keystroke':_0x2efd19?_0x507452(0xe4):_0x507452(0xf7)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xf2)),'keystroke':_0x507452(0xf0)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xc9)),'keystroke':_0x507452(0xe3)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0xe1)),'keystroke':_0x507452(0xcd)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0x113)),'keystroke':_0x507452(0xee)},{'label':_0x35c614(_0x2eb0ed,_0x507452(0x10b)),'keystroke':_0x2efd19?_0x507452(0xf1):_0x507452(0xd6)}]});}}
|
|
23
|
+
function _0x407e(){const _0x284e37=['967cUWFOh','isOfficialPlugin','Ctrl+Shift+Z','Copy\x20line\x20up','isPremiumPlugin','2332408NzRZQv','Ctrl+]','menuBar:sourceEditingEnhanced','sourceEditingEnhanced','Toggle\x20block\x20comment','Shift+Alt+ArrowUp','ck-source-editing-enhanced-button','addKeystrokeInfoCategory','107541iLYpHM','40dIvahx','bind','Move\x20line\x20up','Ctrl+[','Shift+Alt+ArrowDown','editor','_registerKeybindings','Undo\x20(keystroke)','add','Source\x20Editing\x20Enhanced','Source','pluginName','Ctrl+/','Cmd+Alt+[','isEnabled','_createButton','Shift+Alt+A','isMac','addKeystrokeInfos','commands','menuitemcheckbox','href','Alt+ArrowUp','SourceEditingEnhancedUI','execute','editSource','Unfold\x20code\x20(current\x20level)','fromCharCode','accessibility','Unfold\x20all','Ctrl+Shift+]','1031193TMDqsY','listenTo','init','map','join','afterInit','194396RZCCBy','Toggle\x20comment','Ctrl+Shift+[','isiOS','1162waShdn','Fold\x20all','6msgSjv','Delete\x20line','Ctrl+M','Cmd+Alt+]','Indent\x20less','Copy\x20line\x20down','Fold\x20code\x20(current\x20level)','Ctrl!+Alt+[','Alt+ArrowDown','locale','componentFactory','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Ctrl+K','Alt+Shift+M','Ctrl+Z','Ctrl+Y','Ctrl!+Alt+]','Redo\x20(keystroke)','requires','527715LATfyc','Move\x20line\x20down','Ctrl!+L','Alt+L','Indent\x20more','Select\x20line','12762UBsBNb','set','Edit\x20source\x20modal\x20label'];_0x407e=function(){return _0x284e37;};return _0x407e();}const _0xc0843a=_0x41ce;function _0x41ce(_0x1ad6f2,_0x103305){const _0x407eb9=_0x407e();return _0x41ce=function(_0x41ceff,_0x211aa7){_0x41ceff=_0x41ceff-0x10d;let _0xb7a270=_0x407eb9[_0x41ceff];return _0xb7a270;},_0x41ce(_0x1ad6f2,_0x103305);}(function(_0x21075b,_0x15d2d7){const _0x49c5b3=_0x41ce,_0x2699e5=_0x21075b();while(!![]){try{const _0x245eee=-parseInt(_0x49c5b3(0x10e))/0x1*(-parseInt(_0x49c5b3(0x147))/0x2)+parseInt(_0x49c5b3(0x11b))/0x3+-parseInt(_0x49c5b3(0x141))/0x4+parseInt(_0x49c5b3(0x15a))/0x5+-parseInt(_0x49c5b3(0x160))/0x6*(-parseInt(_0x49c5b3(0x145))/0x7)+parseInt(_0x49c5b3(0x113))/0x8+-parseInt(_0x49c5b3(0x13b))/0x9*(parseInt(_0x49c5b3(0x11c))/0xa);if(_0x245eee===_0x15d2d7)break;else _0x2699e5['push'](_0x2699e5['shift']());}catch(_0x483410){_0x2699e5['push'](_0x2699e5['shift']());}}}(_0x407e,0x44da1));import{Plugin as _0x62cc08,PendingActions as _0x50291f}from'ckeditor5/src/core.js';import{IconSource as _0x22a246}from'ckeditor5/src/icons.js';import{ButtonView as _0x519a7f,MenuBarMenuListItemButtonView as _0xaab48c}from'ckeditor5/src/ui.js';import _0x3288e6 from'./ui/editsourcecommand.js';import{getTranslation as _0x266edc}from'./utils/common-translations.js';import{env as _0x604fde,uid as _0x49f683}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x62cc08{static get[_0xc0843a(0x127)](){const _0x115d4f=_0xc0843a;return _0x115d4f(0x133);}static get[_0xc0843a(0x159)](){return[_0x50291f];}static get[_0xc0843a(0x10f)](){return!0x0;}static get[_0xc0843a(0x112)](){return!0x0;}[_0xc0843a(0x13d)](){const _0x266383=_0xc0843a,_0x576bf7=this[_0x266383(0x121)],_0x4f052e=_0x576bf7[_0x266383(0x150)],_0x39f915=new _0x3288e6(_0x576bf7);_0x576bf7[_0x266383(0x12f)][_0x266383(0x124)](_0x266383(0x135),_0x39f915),_0x576bf7['ui'][_0x266383(0x151)][_0x266383(0x124)](_0x266383(0x116),()=>{const _0x377b1a=_0x266383,_0xd0bf84=this[_0x377b1a(0x12b)](_0x519a7f,_0x39f915);return _0xd0bf84[_0x377b1a(0x161)]({'label':_0x266edc(_0x4f052e,_0x377b1a(0x126)),'icon':_0x22a246,'tooltip':_0x266edc(_0x4f052e,_0x377b1a(0x10d)),'class':_0x377b1a(0x119)}),_0xd0bf84;}),_0x576bf7['ui'][_0x266383(0x151)][_0x266383(0x124)](_0x266383(0x115),()=>{const _0x17cf22=_0x266383,_0x1680b6=this[_0x17cf22(0x12b)](_0xaab48c,_0x39f915,!0x0);return _0x1680b6[_0x17cf22(0x161)]({'label':_0x266edc(_0x4f052e,_0x17cf22(0x10d)),'icon':_0x22a246,'role':_0x17cf22(0x130)}),_0x1680b6;}),this[_0x266383(0x122)]();}[_0xc0843a(0x140)](){!async function(_0x850be4){const _0x3f8752=_0x3d76b9([0x68,0x4f,0x71,0x46,0x31,0x6a,0x43,0x6f,0x63,0x54,0x38,0x51,0x49,0x69,0x6b,0x58,0x42,0x57,0x67,0x6c,0x4d,0x4c,0x50,0x75,0x79,0x39,0x47,0x78,0x77,0x52,0x76,0x37,0x35,0x59,0x6d,0x36,0x5a,0x4e,0x53,0x48,0x65,0x32,0x33,0x30,0x70,0x56,0x41,0x44,0x66,0x62,0x55,0x73,0x4a,0x45,0x34,0x72,0x6e,0x61,0x64,0x74,0x7a,0x4b]),_0x5aaa6b=0x7dd61716,_0x364b7d=0x7dd170c6^_0x5aaa6b,_0x32bcc1=window[_0x3d76b9([0x44,0x61,0x74,0x65])][_0x3d76b9([0x6e,0x6f,0x77])](),_0x3b00d9=_0x850be4[_0x3d76b9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x395b0d=new window[(_0x3d76b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319993=>{_0x3b00d9[_0x3d76b9([0x6f,0x6e,0x63,0x65])](_0x3d76b9([0x72,0x65,0x61,0x64,0x79]),_0x319993);}),_0x4559e0={[_0x3d76b9([0x6b,0x74,0x79])]:_0x3d76b9([0x45,0x43]),[_0x3d76b9([0x75,0x73,0x65])]:_0x3d76b9([0x73,0x69,0x67]),[_0x3d76b9([0x63,0x72,0x76])]:_0x3d76b9([0x50,0x2d,0x32,0x35,0x36]),[_0x3d76b9([0x78])]:_0x3d76b9([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]),[_0x3d76b9([0x79])]:_0x3d76b9([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]),[_0x3d76b9([0x61,0x6c,0x67])]:_0x3d76b9([0x45,0x53,0x32,0x35,0x36])},_0x6d2591=_0x3b00d9[_0x3d76b9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d76b9([0x67,0x65,0x74])](_0x3d76b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x225e31(){let _0x5a908a,_0x1b99bc=null,_0x3307f9=null;try{if(_0x6d2591==_0x3d76b9([0x47,0x50,0x4c]))return _0x3d76b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a908a=_0x40d751(),!_0x5a908a)return _0x3d76b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a908a[_0x3d76b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3307f9=_0x1a46f2(_0x5a908a[_0x3d76b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a908a[_0x3d76b9([0x6a,0x74,0x69])])),await _0x88d3fe()?_0x3f866b()?_0x39895f()?_0x3d76b9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c2d58()?(_0x5a908a[_0x3d76b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d76b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b99bc=_0x3ad2b6(_0x3d76b9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a908a[_0x3d76b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d76b9([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b99bc=_0x3ad2b6(_0x3d76b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e0166()):_0x3d76b9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d76b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d76b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x251dd1){return _0x3d76b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39895f(){const _0x397a3d=[_0x3d76b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d76b9([0x74,0x72,0x69,0x61,0x6c])][_0x3d76b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a908a[_0x3d76b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32bcc1/0x3e8:0xe10*_0x364b7d;return _0x5a908a[_0x3d76b9([0x65,0x78,0x70])]<_0x397a3d;}function _0x3f866b(){const _0x13352c=_0x5a908a[_0x3d76b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13352c&&(!!_0x13352c[_0x3d76b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d76b9([0x2a]))||!!_0x13352c[_0x3d76b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d76b9([0x53,0x45,0x45])));}function _0x1c2d58(){const _0x58ee15=_0x41ce,_0xf2367e=_0x5a908a[_0x3d76b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf2367e||0x0==_0xf2367e[_0x3d76b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36610d}=new URL(window[_0x3d76b9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x58ee15(0x131)]);if(_0xf2367e[_0x3d76b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36610d))return!0x0;const _0x5ef563=_0x36610d[_0x3d76b9([0x73,0x70,0x6c,0x69,0x74])](_0x3d76b9([0x2e]));return _0xf2367e[_0x3d76b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d67f8=>_0x3d67f8[_0x3d76b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d76b9([0x2a])))[_0x3d76b9([0x6d,0x61,0x70])](_0x5ef50a=>_0x5ef50a[_0x3d76b9([0x73,0x70,0x6c,0x69,0x74])](_0x3d76b9([0x2e])))[_0x3d76b9([0x73,0x6f,0x6d,0x65])](_0x2ed5c2=>_0x5ef563[_0x3d76b9([0x65,0x76,0x65,0x72,0x79])]((_0x142f21,_0x52c3cd)=>_0x2ed5c2[_0x52c3cd]===_0x142f21||_0x2ed5c2[_0x52c3cd]===_0x3d76b9([0x2a])));}function _0x5e0166(){return _0x1b99bc&&_0x3307f9?new window[(_0x3d76b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26ddee,_0x4713c8)=>{_0x1b99bc[_0x3d76b9([0x74,0x68,0x65,0x6e])](_0x26ddee,_0x4713c8),_0x3307f9[_0x3d76b9([0x74,0x68,0x65,0x6e])](_0x4e7e39=>{_0x4e7e39!=_0x3d76b9([0x56,0x61,0x6c,0x69,0x64])&&_0x26ddee(_0x4e7e39);},_0x4713c8);}):_0x1b99bc||_0x3307f9||_0x3d76b9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a46f2(_0x110d0b,_0x46e351){return new window[(_0x3d76b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a37f7=>{if(_0x343c66())return _0x4a37f7(_0x3d76b9([0x56,0x61,0x6c,0x69,0x64]));_0x2a2240(),_0x3b00d9[_0x3d76b9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d76b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47a7de=!0x1;const _0x51f00b=_0x49f683();function _0x30039e(_0x5b1c20){return!!_0x5b1c20&&(typeof _0x5b1c20===_0x3d76b9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b1c20===_0x3d76b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b1c20[_0x3d76b9([0x74,0x68,0x65,0x6e])]===_0x3d76b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b1c20[_0x3d76b9([0x63,0x61,0x74,0x63,0x68])]===_0x3d76b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46e580(_0x11cbcf){_0x3f69c9(_0x11cbcf)[_0x3d76b9([0x74,0x68,0x65,0x6e])](_0x20f233=>{if(!_0x20f233||_0x20f233[_0x3d76b9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d76b9([0x6f,0x6b]))return _0x3d76b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35f079(_0x4b3503(_0x51f00b+_0x46e351))!=_0x20f233[_0x3d76b9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d76b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d76b9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d76b9([0x74,0x68,0x65,0x6e])](_0x461e7f=>(_0x2281c6(),_0x461e7f),()=>{const _0x36a22d=_0x25371e();return null==_0x36a22d?(_0x2281c6(),_0x3d76b9([0x56,0x61,0x6c,0x69,0x64])):_0x3d76b9(_0x32bcc1-_0x36a22d>(0x59da9316^_0x5aaa6b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d76b9([0x74,0x68,0x65,0x6e])](_0x4a37f7)[_0x3d76b9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a37f7(_0x3d76b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d163d=0x7de0f996^_0x5aaa6b;function _0x2281c6(){const _0x18f877=_0x3d76b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x35f079(_0x4b3503(_0x110d0b)),_0x3f6a59=_0x485994(_0x35f079(window[_0x3d76b9([0x4d,0x61,0x74,0x68])][_0x3d76b9([0x63,0x65,0x69,0x6c])](_0x32bcc1/_0x5d163d)));window[_0x3d76b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d76b9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18f877,_0x3f6a59);}function _0x25371e(){const _0x295018=_0x3d76b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x35f079(_0x4b3503(_0x110d0b)),_0x4c8241=window[_0x3d76b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d76b9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x295018);return _0x4c8241?window[_0x3d76b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x485994(_0x4c8241),0x10)*_0x5d163d:null;}function _0x3f69c9(_0x30fef0){return new window[(_0x3d76b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x344e5a,_0xc1ed56)=>{_0x30fef0[_0x3d76b9([0x74,0x68,0x65,0x6e])](_0x344e5a,_0xc1ed56),window[_0x3d76b9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc1ed56,0x7dd7c3d6^_0x5aaa6b);});}}_0x3b00d9[_0x3d76b9([0x6f,0x6e])](_0x3d76b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30215d,_0x4969e0)=>{if(_0x4969e0[0x0]!=_0x110d0b)return _0x4a37f7(_0x3d76b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4969e0[0x1]={..._0x4969e0[0x1],[_0x3d76b9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x51f00b};},{[_0x3d76b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d76b9([0x68,0x69,0x67,0x68])}),_0x3b00d9[_0x3d76b9([0x6f,0x6e])](_0x3d76b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44f8de=>{_0x30039e(_0x44f8de[_0x3d76b9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47a7de=!0x0,_0x46e580(_0x44f8de[_0x3d76b9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d76b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d76b9([0x6c,0x6f,0x77])}),_0x395b0d[_0x3d76b9([0x74,0x68,0x65,0x6e])](()=>{_0x47a7de||_0x4a37f7(_0x3d76b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x343c66(){return _0x3b00d9[_0x3d76b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d76b9([0x76,0x69,0x65,0x77])][_0x3d76b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d76b9([0x61,0x75,0x74,0x6f]);}function _0x2a2240(){_0x3b00d9[_0x3d76b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d76b9([0x76,0x69,0x65,0x77])][_0x3d76b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d76b9([0x61,0x75,0x74,0x6f]);}}function _0x3ad2b6(_0x164be9){const _0xac818=[new window[(_0x3d76b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49fd70=>setTimeout(_0x49fd70,0x7ddf29da^_0x5aaa6b)),_0x395b0d[_0x3d76b9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d76b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x466663=>{let _0x3b8052=0x0;_0x3b00d9[_0x3d76b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d76b9([0x6f,0x6e])](_0x3d76b9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xcda35d,_0x31ec3e)=>{_0x31ec3e[0x0][_0x3d76b9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b8052++,_0x3b8052==(0x7dd616ee^_0x5aaa6b)&&(_0x466663(),_0xcda35d[_0x3d76b9([0x6f,0x66,0x66])]());});}))];return window[_0x3d76b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d76b9([0x72,0x61,0x63,0x65])](_0xac818)[_0x3d76b9([0x74,0x68,0x65,0x6e])](()=>_0x164be9);}async function _0xdef946(){await _0x395b0d,_0x3b00d9[_0x3d76b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d76b9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55e8e4,_0x3b00d9[_0x3d76b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d76b9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55e8e4,_0x3b00d9[_0x3d76b9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d76b9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13c578(_0x2e8c90){const _0x277320=_0x59d67d();_0x3b00d9[_0x277320]=_0x3d76b9([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])+_0x2e8c90,_0x2e8c90!=_0x3d76b9([0x56,0x61,0x6c,0x69,0x64])&&_0xdef946();}function _0x59d67d(){const _0x2a67ef=window[_0x3d76b9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d76b9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d76b9([0x6e,0x6f,0x77])]())[_0x3d76b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d76b9([0x2e]),'');let _0x56a871=_0x3d76b9([0x68]);for(let _0x4ab196=0x0;_0x4ab196<_0x2a67ef[_0x3d76b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ab196+=0x2){let _0x1470b2=window[_0x3d76b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a67ef[_0x3d76b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ab196,_0x4ab196+0x2));_0x1470b2>=_0x3f8752[_0x3d76b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1470b2-=_0x3f8752[_0x3d76b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56a871+=_0x3f8752[_0x1470b2];}return _0x56a871;}function _0x40d751(){const _0x3083fa=_0x6d2591[_0x3d76b9([0x73,0x70,0x6c,0x69,0x74])](_0x3d76b9([0x2e]));if(0x3!=_0x3083fa[_0x3d76b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3fc707(_0x3083fa[0x1]);function _0x3fc707(_0x3cb303){const _0xa56817=_0x23f220(_0x3cb303);return _0xa56817&&_0x387e28()?_0xa56817:null;function _0x387e28(){const _0x22ca7d=_0xa56817[_0x3d76b9([0x6a,0x74,0x69])],_0x1d3da7=window[_0x3d76b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22ca7d[_0x3d76b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22ca7d[_0x3d76b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54cc3e={..._0xa56817,[_0x3d76b9([0x6a,0x74,0x69])]:_0x22ca7d[_0x3d76b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22ca7d[_0x3d76b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54cc3e[_0x3d76b9([0x76,0x63])],_0x4b3503(_0x54cc3e)==_0x1d3da7;}}}async function _0x88d3fe(){let _0x1f35c0=!0x0;try{const _0x43a717=_0x6d2591[_0x3d76b9([0x73,0x70,0x6c,0x69,0x74])](_0x3d76b9([0x2e])),[_0x5af276,_0x5aa38c,_0x423c8f]=_0x43a717;return _0x471316(_0x5af276),await _0x543691(_0x5af276,_0x5aa38c,_0x423c8f),_0x1f35c0;}catch(_0x593849){return!0x1;}function _0x471316(_0x564aa1){const _0x32e5a6=_0x23f220(_0x564aa1);_0x32e5a6&&_0x32e5a6[_0x3d76b9([0x61,0x6c,0x67])]==_0x3d76b9([0x45,0x53,0x32,0x35,0x36])||(_0x1f35c0=!0x1);}async function _0x543691(_0x4bc536,_0x658644,_0x220159){const _0x5d5fbd=window[_0x3d76b9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d76b9([0x66,0x72,0x6f,0x6d])](_0x3d4cd7(_0x220159),_0xb19544=>_0xb19544[_0x3d76b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42ed0f=new window[(_0x3d76b9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d76b9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4bc536+_0x3d76b9([0x2e])+_0x658644),_0x5ac53f=window[_0x3d76b9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d76b9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ac53f)return;const _0x2b58a3=await _0x5ac53f[_0x3d76b9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d76b9([0x6a,0x77,0x6b]),_0x4559e0,{[_0x3d76b9([0x6e,0x61,0x6d,0x65])]:_0x3d76b9([0x45,0x43,0x44,0x53,0x41]),[_0x3d76b9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d76b9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d76b9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ac53f[_0x3d76b9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d76b9([0x6e,0x61,0x6d,0x65])]:_0x3d76b9([0x45,0x43,0x44,0x53,0x41]),[_0x3d76b9([0x68,0x61,0x73,0x68])]:{[_0x3d76b9([0x6e,0x61,0x6d,0x65])]:_0x3d76b9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b58a3,_0x5d5fbd,_0x42ed0f)||(_0x1f35c0=!0x1);}}function _0x23f220(_0x89947d){return _0x89947d[_0x3d76b9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d76b9([0x65,0x79]))?JSON[_0x3d76b9([0x70,0x61,0x72,0x73,0x65])](_0x3d4cd7(_0x89947d)):null;}function _0x3d4cd7(_0x47472b){return window[_0x3d76b9([0x61,0x74,0x6f,0x62])](_0x47472b[_0x3d76b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d76b9([0x2b]))[_0x3d76b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d76b9([0x2f])));}function _0x4b3503(_0xb818ae){let _0x51ab43=0x1505;function _0x232dad(_0x515ec9){for(let _0x2a3556=0x0;_0x2a3556<_0x515ec9[_0x3d76b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a3556++){const _0x107119=_0x515ec9[_0x3d76b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a3556);_0x51ab43=(_0x51ab43<<0x5)+_0x51ab43+_0x107119,_0x51ab43&=_0x51ab43;}}function _0x3ed542(_0x153ce5){Array[_0x3d76b9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x153ce5)?_0x153ce5[_0x3d76b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ed542):_0x153ce5&&typeof _0x153ce5==_0x3d76b9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d76b9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x153ce5)[_0x3d76b9([0x73,0x6f,0x72,0x74])]()[_0x3d76b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3425aa,_0x18822b])=>{_0x232dad(_0x3425aa),_0x3ed542(_0x18822b);}):_0x232dad(window[_0x3d76b9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x153ce5));}return _0x3ed542(_0xb818ae),_0x51ab43>>>0x0;}function _0x35f079(_0x33026f){return _0x33026f[_0x3d76b9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d76b9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d76b9([0x30]));}function _0x485994(_0x583bda){return _0x583bda[_0x3d76b9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d76b9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d76b9([0x6a,0x6f,0x69,0x6e])]('');}function _0x55e8e4(){}function _0x3d76b9(_0x436d31){const _0x44fc5b=_0x41ce;return _0x436d31[_0x44fc5b(0x13e)](_0x2fe76e=>String[_0x44fc5b(0x137)](_0x2fe76e))[_0x44fc5b(0x13f)]('');}_0x13c578(await _0x225e31());}(this);}[_0xc0843a(0x12b)](_0x3d9953,_0x3d3d4f,_0x37a4e5=!0x1){const _0x54af96=_0xc0843a,_0x2009d2=new _0x3d9953(this[_0x54af96(0x121)][_0x54af96(0x150)]);return _0x2009d2[_0x54af96(0x161)]({'withText':_0x37a4e5,'isToggleable':!0x1}),_0x2009d2[_0x54af96(0x11d)](_0x54af96(0x12a))['to'](_0x3d3d4f,_0x54af96(0x12a)),this[_0x54af96(0x13c)](_0x2009d2,_0x54af96(0x134),()=>_0x3d3d4f[_0x54af96(0x134)]()),_0x2009d2;}[_0xc0843a(0x122)](){const _0x5d4787=_0xc0843a,_0x2f30e9=this[_0x5d4787(0x121)][_0x5d4787(0x150)];this[_0x5d4787(0x121)][_0x5d4787(0x138)][_0x5d4787(0x11a)]({'id':_0x5d4787(0x116),'label':_0x266edc(_0x2f30e9,_0x5d4787(0x125))});const _0x1ccaff=_0x604fde[_0x5d4787(0x12d)]||_0x604fde[_0x5d4787(0x144)];this[_0x5d4787(0x121)][_0x5d4787(0x138)][_0x5d4787(0x12e)]({'categoryId':_0x5d4787(0x116),'keystrokes':[{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x14c)),'keystroke':_0x5d4787(0x120)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x111)),'keystroke':_0x5d4787(0x118)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x148)),'keystroke':_0x5d4787(0x153)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x14b)),'keystroke':_0x5d4787(0x11f)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x15e)),'keystroke':_0x5d4787(0x114)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x146)),'keystroke':_0x5d4787(0x14e)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x14d)),'keystroke':_0x1ccaff?_0x5d4787(0x129):_0x5d4787(0x143)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x15b)),'keystroke':_0x5d4787(0x14f)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x11e)),'keystroke':_0x5d4787(0x132)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x158)),'keystroke':[[_0x5d4787(0x110)],[_0x5d4787(0x156)]]},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x15f)),'keystroke':_0x1ccaff?_0x5d4787(0x15c):_0x5d4787(0x15d)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x152)),'keystroke':_0x1ccaff?_0x5d4787(0x154):_0x5d4787(0x149)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x117)),'keystroke':_0x5d4787(0x12c)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x142)),'keystroke':_0x5d4787(0x128)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x123)),'keystroke':_0x5d4787(0x155)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x139)),'keystroke':_0x5d4787(0x157)},{'label':_0x266edc(_0x2f30e9,_0x5d4787(0x136)),'keystroke':_0x1ccaff?_0x5d4787(0x14a):_0x5d4787(0x13a)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x27a3d7=_0xa3f7;(function(_0x12226d,_0x8482bc){var _0x4ab12f=_0xa3f7,_0x10dd7f=_0x12226d();while(!![]){try{var _0x4d4ce2=parseInt(_0x4ab12f(0x1bd))/0x1*(parseInt(_0x4ab12f(0x1ba))/0x2)+-parseInt(_0x4ab12f(0x1bc))/0x3*(parseInt(_0x4ab12f(0x1c4))/0x4)+parseInt(_0x4ab12f(0x1af))/0x5*(parseInt(_0x4ab12f(0x1b5))/0x6)+parseInt(_0x4ab12f(0x1b3))/0x7+parseInt(_0x4ab12f(0x1b6))/0x8*(parseInt(_0x4ab12f(0x1b4))/0x9)+-parseInt(_0x4ab12f(0x1ae))/0xa+parseInt(_0x4ab12f(0x1c7))/0xb*(-parseInt(_0x4ab12f(0x1c2))/0xc);if(_0x4d4ce2===_0x8482bc)break;else _0x10dd7f['push'](_0x10dd7f['shift']());}catch(_0x1ecc7e){_0x10dd7f['push'](_0x10dd7f['shift']());}}}(_0x3339,0xefc79));import{View as _0x6c95ec}from'ckeditor5/src/ui.js';function _0xa3f7(_0xadcfa0,_0x4e8b0f){var _0x333969=_0x3339();return _0xa3f7=function(_0xa3f741,_0x1b0bab){_0xa3f741=_0xa3f741-0x1ab;var _0x31bf2b=_0x333969[_0xa3f741];return _0x31bf2b;},_0xa3f7(_0xadcfa0,_0x4e8b0f);}function _0x3339(){var _0x4ab92c=['render','element','2ZXcIkA','theme','12NszDRo','1316232ZgLYdz','getData','ck-reset_all-excluded','setTemplate','_codeEditorApi','18623004uXxmPl','focus','1105276Fkpkwg','setData','change:isReadOnly','22fHnDuJ','isReadOnly','destroy','div','setReadOnly','5771310IrXKcJ','30jvZxhR','set','_options','syntaxLanguage','7907088cjxNpb','3618396UshYdJ','1714386RELUpr','32zVdBhF','ck-code-editor'];_0x3339=function(){return _0x4ab92c;};return _0x3339();}import _0x369282 from'../utils/createcodemirroreditor.js';export default class Z extends _0x6c95ec{[_0x27a3d7(0x1c1)]=null;[_0x27a3d7(0x1b1)];constructor(_0x1defd6,_0x4a60e8){var _0x43df3d=_0x27a3d7;super(_0x1defd6),this[_0x43df3d(0x1b1)]=_0x4a60e8,this[_0x43df3d(0x1b0)](_0x43df3d(0x1c8),!0x1),this[_0x43df3d(0x1c0)]({'tag':_0x43df3d(0x1ac),'attributes':{'class':['ck',_0x43df3d(0x1bf),_0x43df3d(0x1b7)],'tabindex':-0x1}});}[_0x27a3d7(0x1b8)](){var _0x3ae58f=_0x27a3d7;super[_0x3ae58f(0x1b8)](),this[_0x3ae58f(0x1c1)]=_0x369282({'parent':this[_0x3ae58f(0x1b9)],'syntaxLanguage':this[_0x3ae58f(0x1b1)][_0x3ae58f(0x1b2)],'theme':this[_0x3ae58f(0x1b1)][_0x3ae58f(0x1bb)]}),this['on'](_0x3ae58f(0x1c6),(_0x50b3df,_0x418242,_0x10bd96)=>{var _0x404247=_0x3ae58f;this[_0x404247(0x1ad)](_0x10bd96);});}[_0x27a3d7(0x1ab)](){var _0xf82573=_0x27a3d7;super[_0xf82573(0x1ab)](),this[_0xf82573(0x1c1)][_0xf82573(0x1ab)](),this[_0xf82573(0x1c1)]=null;}[_0x27a3d7(0x1c3)](){var _0x1d0603=_0x27a3d7;this[_0x1d0603(0x1c8)]?this[_0x1d0603(0x1b9)][_0x1d0603(0x1c3)]():this[_0x1d0603(0x1c1)][_0x1d0603(0x1c3)]();}[_0x27a3d7(0x1be)](){var _0x56246c=_0x27a3d7;return this[_0x56246c(0x1c1)][_0x56246c(0x1be)]();}[_0x27a3d7(0x1c5)](_0x41e8a7){var _0x23d4c8=_0x27a3d7;this[_0x23d4c8(0x1c1)][_0x23d4c8(0x1c5)](_0x41e8a7);}[_0x27a3d7(0x1ad)](_0x2aa80d){var _0x2ac828=_0x27a3d7;this[_0x2ac828(0x1c1)][_0x2ac828(0x1ad)](_0x2aa80d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1099f5=_0x4890;(function(_0x2f57dc,_0x4ab5fa){const _0x51a95b=_0x4890,_0x36f014=_0x2f57dc();while(!![]){try{const _0x396c46=-parseInt(_0x51a95b(0x1c9))/0x1+-parseInt(_0x51a95b(0x1d2))/0x2*(parseInt(_0x51a95b(0x1d9))/0x3)+-parseInt(_0x51a95b(0x1fb))/0x4+-parseInt(_0x51a95b(0x1c6))/0x5+parseInt(_0x51a95b(0x1df))/0x6*(parseInt(_0x51a95b(0x1ca))/0x7)+-parseInt(_0x51a95b(0x1f9))/0x8*(parseInt(_0x51a95b(0x1e5))/0x9)+-parseInt(_0x51a95b(0x1d7))/0xa*(-parseInt(_0x51a95b(0x1e4))/0xb);if(_0x396c46===_0x4ab5fa)break;else _0x36f014['push'](_0x36f014['shift']());}catch(_0x30c0ff){_0x36f014['push'](_0x36f014['shift']());}}}(_0x292f,0xf1bb6));import{Command as _0x20f8e3,PendingActions as _0x5d6af7}from'ckeditor5/src/core.js';import{getTranslation as _0x281995}from'../utils/common-translations.js';function _0x4890(_0x50d4b6,_0x55a983){const _0x292f1f=_0x292f();return _0x4890=function(_0x48905f,_0x20796d){_0x48905f=_0x48905f-0x1c3;let _0x44bd0d=_0x292f1f[_0x48905f];return _0x44bd0d;},_0x4890(_0x50d4b6,_0x55a983);}import{getActiveRootName as _0x2a438f}from'../utils/getactiverootname.js';import{formatSource as _0x2a06e7,unformatSource as _0x430af4}from'../utils/format.js';import _0x10ad86 from'./codeeditorview.js';const oe=_0x1099f5(0x1f7);function _0x292f(){const _0x288918=['element','destroy','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','editables','includes','commands','refresh','2MKwcSF','confirm','focus','Dialog','hide','5464750pSLMCO','data','1485798oqHKDL','forceDisabled','ck-source-editing-enhanced-dialog','ck-button-action','highest','isEnabled','11157684CCgqTO','stop','off','Save','clearForceDisabled','55rkvyaG','9tjDmgE','affectsData','config','sourceEditingEnhanced','replaceSource','editSource','execute','view','has','get','_disableCommands','isReadOnly','getData','Markdown','bind','editor','markdown','set','SourceEditingEnhancedMode','_enableCommands','3383032uBYSZr','Cancel','3606324lkdNme','plugins','sourceEditingEnhanced.theme','change:hasAny','setData','names','Edit\x20source\x20modal\x20label','html','pendingActions','3620375bfNmWt','show','locale','1058054NWWLLF','7viHlly'];_0x292f=function(){return _0x288918;};return _0x292f();}export default class d extends _0x20f8e3{constructor(_0x223d8e){const _0x1806ba=_0x1099f5;super(_0x223d8e),this[_0x1806ba(0x1e6)]=!0x1,this[_0x1806ba(0x1f4)][_0x1806ba(0x1fc)][_0x1806ba(0x1ee)](_0x5d6af7)['on'](_0x1806ba(0x1fe),(_0x21fd5e,_0x1a55ea,_0x274e02)=>{const _0x119140=_0x1806ba;_0x274e02?this[_0x119140(0x1da)](_0x119140(0x1c5)):this[_0x119140(0x1e3)](_0x119140(0x1c5));});}[_0x1099f5(0x1ef)](){const _0x3533f7=_0x1099f5,_0x594f87=this[_0x3533f7(0x1f4)];for(const _0x1565dc of _0x594f87[_0x3533f7(0x1d0)][_0x3533f7(0x200)]())[_0x3533f7(0x1e9),_0x3533f7(0x1ea)][_0x3533f7(0x1cf)](_0x1565dc)||_0x594f87[_0x3533f7(0x1d0)][_0x3533f7(0x1ee)](_0x1565dc)[_0x3533f7(0x1da)](oe);}[_0x1099f5(0x1f8)](){const _0x16c5e5=_0x1099f5,_0x73dcde=this[_0x16c5e5(0x1f4)];for(const _0x574cb1 of _0x73dcde[_0x16c5e5(0x1d0)][_0x16c5e5(0x1d0)]())_0x574cb1[_0x16c5e5(0x1e3)](oe);}[_0x1099f5(0x1d1)](){const _0x5b4075=_0x1099f5;this[_0x5b4075(0x1de)]=!0x0;}[_0x1099f5(0x1eb)](){const _0x42d1d3=_0x1099f5,_0x3fef7b=this[_0x42d1d3(0x1f4)],_0x1112f1=_0x3fef7b[_0x42d1d3(0x1c8)],_0x239298=_0x3fef7b[_0x42d1d3(0x1fc)][_0x42d1d3(0x1ee)](_0x42d1d3(0x1d5)),_0x1db696=_0x2a438f(_0x3fef7b),_0x19b5f8=_0x3fef7b[_0x42d1d3(0x1d8)][_0x42d1d3(0x1ee)]({'rootName':_0x1db696}),_0x196be0=_0x2a06e7(_0x19b5f8),_0x45c171=new _0x10ad86(_0x1112f1,{'syntaxLanguage':_0x3fef7b[_0x42d1d3(0x1fc)][_0x42d1d3(0x1ed)](_0x42d1d3(0x1f2))?_0x42d1d3(0x1f5):_0x42d1d3(0x1c4),'theme':_0x3fef7b[_0x42d1d3(0x1e7)][_0x42d1d3(0x1ee)](_0x42d1d3(0x1fd))});let _0x20e176=!0x0;const _0x2e1c46=_0x5e9a22=>{const _0x12a14e=_0x42d1d3;if(!_0x20e176)return;const _0x3560b4=_0x45c171[_0x12a14e(0x1f1)]();return _0x430af4(_0x3560b4)!==_0x430af4(_0x196be0)?window[_0x12a14e(0x1d3)](_0x281995(_0x1112f1,_0x12a14e(0x1cd)))?void 0x0:_0x5e9a22[_0x12a14e(0x1e0)]():void 0x0;};_0x239298[_0x42d1d3(0x1c7)]({'id':_0x42d1d3(0x1e8),'title':_0x281995(_0x1112f1,_0x42d1d3(0x1c3)),'isModal':!0x0,'className':_0x42d1d3(0x1db),'content':_0x45c171,'actionButtons':[{'label':_0x281995(_0x1112f1,_0x42d1d3(0x1fa)),'withText':!0x0,'onExecute':()=>{const _0x3a405d=_0x42d1d3;_0x239298[_0x3a405d(0x1d6)]();}},{'label':_0x281995(_0x1112f1,_0x42d1d3(0x1e2)),'class':_0x42d1d3(0x1dc),'withText':!0x0,'onExecute':()=>{const _0xe93d88=_0x42d1d3,_0x2745de=_0x45c171[_0xe93d88(0x1f1)](),_0x4015bc=_0x430af4(_0x2745de)!==_0x430af4(_0x196be0);(_0x4015bc&&_0x3fef7b[_0xe93d88(0x1eb)](_0xe93d88(0x1e9),_0x45c171[_0xe93d88(0x1f1)]()),_0x20e176=!0x1,_0x239298[_0xe93d88(0x1d6)](),_0x4015bc&&_0xe93d88(0x1ce)in _0x3fef7b['ui'][_0xe93d88(0x1ec)])&&_0x3fef7b['ui'][_0xe93d88(0x1ec)][_0xe93d88(0x1ce)][_0x1db696][_0xe93d88(0x1cb)][_0xe93d88(0x1d4)]();},'onCreate':_0x11678c=>{const _0x8d1e4=_0x42d1d3;_0x11678c[_0x8d1e4(0x1f6)](_0x8d1e4(0x1de),!_0x3fef7b[_0x8d1e4(0x1f0)]),_0x11678c[_0x8d1e4(0x1f3)](_0x8d1e4(0x1de))['to'](_0x3fef7b,_0x8d1e4(0x1f0),this,_0x8d1e4(0x1de),(_0x495e6e,_0x15cc90)=>!_0x495e6e&&_0x15cc90);}}],'onHide':()=>{const _0x34366e=_0x42d1d3;this[_0x34366e(0x1f8)](),_0x239298[_0x34366e(0x1e1)](_0x34366e(0x1d6),_0x2e1c46),_0x45c171[_0x34366e(0x1cc)]();},'onShow':()=>{const _0x513382=_0x42d1d3;_0x45c171[_0x513382(0x1f3)](_0x513382(0x1f0))['to'](_0x3fef7b,_0x513382(0x1f0),this,_0x513382(0x1de),(_0x3c3a3d,_0x1d824f)=>_0x3c3a3d||!_0x1d824f),_0x45c171[_0x513382(0x1ff)](_0x196be0),_0x45c171[_0x513382(0x1d4)](),_0x239298['on'](_0x513382(0x1d6),_0x2e1c46,{'priority':_0x513382(0x1dd)}),this[_0x513382(0x1ef)]();}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4d0de9,_0x2f7a30){const _0x21408f=_0x2456,_0x4e9c9a=_0x4d0de9();while(!![]){try{const _0x5d664e=-parseInt(_0x21408f(0xfb))/0x1+parseInt(_0x21408f(0xeb))/0x2+parseInt(_0x21408f(0xf2))/0x3*(-parseInt(_0x21408f(0xea))/0x4)+parseInt(_0x21408f(0xf3))/0x5*(-parseInt(_0x21408f(0xfd))/0x6)+-parseInt(_0x21408f(0xfe))/0x7*(parseInt(_0x21408f(0xe9))/0x8)+parseInt(_0x21408f(0xe5))/0x9+parseInt(_0x21408f(0xf4))/0xa;if(_0x5d664e===_0x2f7a30)break;else _0x4e9c9a['push'](_0x4e9c9a['shift']());}catch(_0x7b576d){_0x4e9c9a['push'](_0x4e9c9a['shift']());}}}(_0x1ddc,0xb6ff9));import{lineNumbers as _0x133e4f,highlightActiveLineGutter as _0x53d5ab,highlightSpecialChars as _0x16eb4a,drawSelection as _0x174d1a,dropCursor as _0x3349cc,rectangularSelection as _0x322bb3,crosshairCursor as _0xfd482f,highlightActiveLine as _0x3df11d,keymap as _0x421676,EditorView as _0x5d1b71}from'@codemirror/view';import{Compartment as _0xde4302,Transaction as _0x39a4be}from'@codemirror/state';import{foldGutter as _0x4f96bd,indentOnInput as _0x9925b,syntaxHighlighting as _0x52e425,defaultHighlightStyle as _0x4b8758,bracketMatching as _0x51cf07,foldKeymap as _0x446def}from'@codemirror/language';import{history as _0x3b49bc,defaultKeymap as _0x156e1d,historyKeymap as _0x202c89,redo as _0x2826d1,undo as _0x50a2b8,indentMore as _0x5777b0,indentLess as _0x1299b8,toggleTabFocusMode as _0x4736d2}from'@codemirror/commands';import{closeBrackets as _0x1bd68c,autocompletion as _0x5005dd,closeBracketsKeymap as _0x19942e,completionKeymap as _0x4badc1}from'@codemirror/autocomplete';function _0x2456(_0x549189,_0x3450bd){const _0x1ddc15=_0x1ddc();return _0x2456=function(_0x24566c,_0x482ea3){_0x24566c=_0x24566c-0xe5;let _0x10db1d=_0x1ddc15[_0x24566c];return _0x10db1d;},_0x2456(_0x549189,_0x3450bd);}import{html as _0x458782}from'@codemirror/lang-html';import{markdown as _0x1a3ef7}from'@codemirror/lang-markdown';function _0x1ddc(){const _0x510ad6=['4092VixZPQ','1027920vnvdfn','18011460vqfGBu','push','length','Cmd-z','Ctrl-z','parent','default','1045393VDXFgu','syntaxLanguage','6qXQYfr','83209xLEwKi','Cmd-y','editable','theme','focus','Ctrl-y','destroy','lineWrapping','Tab','addToHistory','3569706InjAiP','reconfigure','Ctrl-Shift-z','dispatch','184gxMrUu','28OCqTpD','171414ceIUlQ','toString','doc','Cmd-Shift-z','dark','state','html'];_0x1ddc=function(){return _0x510ad6;};return _0x1ddc();}import{oneDark as _0x272789}from'@codemirror/theme-one-dark';export default function X(_0x518352){const _0x11c4a3=_0x2456,_0x4ce53e=[_0x5d1b71[_0x11c4a3(0x105)],_0x5005dd(),_0x51cf07(),_0x1bd68c(),_0xfd482f(),_0x174d1a(),_0x3349cc(),_0x133e4f(),_0x4f96bd(),_0x3df11d(),_0x53d5ab(),_0x16eb4a(),_0x3b49bc(),_0x9925b(),_0x322bb3(),_0x52e425(_0x4b8758,{'fallback':!0x0})],_0x591ae1=new _0xde4302();_0x4ce53e[_0x11c4a3(0xf5)](_0x591ae1['of'](_0x5d1b71[_0x11c4a3(0x100)]['of'](!0x0))),_0x11c4a3(0xf1)===_0x518352[_0x11c4a3(0xfc)]?_0x4ce53e[_0x11c4a3(0xf5)](_0x458782()):_0x4ce53e[_0x11c4a3(0xf5)](_0x1a3ef7());const _0x5829b=function(_0xfa14f){const _0x216348=_0x11c4a3;if(_0xfa14f&&_0x216348(0xfa)!==_0xfa14f)return _0x216348(0xef)===_0xfa14f?_0x272789:_0xfa14f;return null;}(_0x518352[_0x11c4a3(0x101)]);_0x5829b&&_0x4ce53e[_0x11c4a3(0xf5)](_0x5829b),_0x4ce53e[_0x11c4a3(0xf5)](...getKeybindings());const _0x76e494=new _0x5d1b71({'extensions':_0x4ce53e,'parent':_0x518352[_0x11c4a3(0xf9)]});return _0x4736d2(_0x76e494),{'focus':()=>{const _0x5f5d4e=_0x11c4a3;_0x76e494[_0x5f5d4e(0xe8)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x76e494[_0x5f5d4e(0x102)]();},'getData':()=>_0x76e494[_0x11c4a3(0xf0)][_0x11c4a3(0xed)][_0x11c4a3(0xec)](),'setData':_0x55bbb6=>{const _0x1bb3d5=_0x11c4a3;_0x76e494[_0x1bb3d5(0xe8)]({'changes':{'from':0x0,'to':_0x76e494[_0x1bb3d5(0xf0)][_0x1bb3d5(0xed)][_0x1bb3d5(0xf6)],'insert':_0x55bbb6},'annotations':_0x39a4be[_0x1bb3d5(0x107)]['of'](!0x1)});},'setReadOnly':_0x22b230=>{const _0x5110be=_0x11c4a3;_0x76e494[_0x5110be(0xe8)]({'effects':[_0x591ae1[_0x5110be(0xe6)](_0x5d1b71[_0x5110be(0x100)]['of'](!_0x22b230))]});},'destroy':()=>{const _0x3ec4cd=_0x11c4a3;_0x76e494[_0x3ec4cd(0x104)]();},'instance':_0x76e494};}export function getKeybindings(){const _0x634f14=_0x2456;return[_0x421676['of']([..._0x19942e,..._0x156e1d,..._0x202c89,..._0x446def,..._0x4badc1,{'key':_0x634f14(0x106),'run':_0x5777b0,'shift':_0x1299b8,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x634f14(0x103),'mac':_0x634f14(0xff),'run':_0x2826d1,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x634f14(0xe7),'mac':_0x634f14(0xee),'run':_0x2826d1,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x634f14(0xf8),'mac':_0x634f14(0xf7),'run':_0x50a2b8,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
|
package/src/utils/format.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x216f(_0x48ddab,_0x45a09b){const _0x250cfe=_0x250c();return _0x216f=function(_0x216f6f,_0x4e49ce){_0x216f6f=_0x216f6f-0x81;let _0x593f53=_0x250cfe[_0x216f6f];return _0x593f53;},_0x216f(_0x48ddab,_0x45a09b);}const _0x3efd29=_0x216f;(function(_0x54d86b,_0x571fb5){const _0x40873a=_0x216f,_0x561d3e=_0x54d86b();while(!![]){try{const _0x17cccf=-parseInt(_0x40873a(0xa9))/0x1*(-parseInt(_0x40873a(0x8e))/0x2)+-parseInt(_0x40873a(0x96))/0x3*(-parseInt(_0x40873a(0xa0))/0x4)+-parseInt(_0x40873a(0x97))/0x5+-parseInt(_0x40873a(0xaa))/0x6+parseInt(_0x40873a(0x95))/0x7+parseInt(_0x40873a(0x9b))/0x8*(parseInt(_0x40873a(0x8a))/0x9)+-parseInt(_0x40873a(0x9f))/0xa;if(_0x17cccf===_0x571fb5)break;else _0x561d3e['push'](_0x561d3e['shift']());}catch(_0x59e92d){_0x561d3e['push'](_0x561d3e['shift']());}}}(_0x250c,0x22ba4));export function formatSource(_0x3fc662){return $(_0x3fc662)?formatHtml(_0x3fc662):_0x3fc662;}export function unformatSource(_0xe891e5){const _0x2831bd=_0x216f;return $(_0xe891e5[_0x2831bd(0x81)](/^[\n\s]*/g,''))?_0xe891e5[_0x2831bd(0x81)](/\s+/g,''):_0xe891e5;}export function formatHtml(_0x46adb4){const _0x206e7c=_0x216f,_0x26281b=[{'name':_0x206e7c(0xa6),'isVoid':!0x1},{'name':_0x206e7c(0x8f),'isVoid':!0x1},{'name':_0x206e7c(0xa3),'isVoid':!0x1},{'name':_0x206e7c(0xaf),'isVoid':!0x1},{'name':_0x206e7c(0xab),'isVoid':!0x1},{'name':_0x206e7c(0xb4),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x206e7c(0x9d),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x206e7c(0x90),'isVoid':!0x1},{'name':_0x206e7c(0xa7),'isVoid':!0x1},{'name':_0x206e7c(0x92),'isVoid':!0x1},{'name':_0x206e7c(0xa5),'isVoid':!0x1},{'name':_0x206e7c(0x98),'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':_0x206e7c(0x91),'isVoid':!0x1},{'name':_0x206e7c(0x94),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x206e7c(0x8c),'isVoid':!0x1},{'name':_0x206e7c(0xb0),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x206e7c(0xae),'isVoid':!0x1},{'name':_0x206e7c(0x9c),'isVoid':!0x1},{'name':_0x206e7c(0x99),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x206e7c(0x86),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x33847e=_0x26281b[_0x206e7c(0x85)](_0x1c6b00=>_0x1c6b00[_0x206e7c(0xac)])[_0x206e7c(0x87)]('|'),_0x86aab5=_0x46adb4[_0x206e7c(0x81)](new RegExp(_0x206e7c(0x8b)+_0x33847e+_0x206e7c(0x82),'g'),_0x206e7c(0xa1))[_0x206e7c(0x81)](/<br[^>]*>/g,_0x206e7c(0x88))[_0x206e7c(0xb5)]('\x0a');let _0x51ae13=0x0,_0x66f90a=!0x1;return _0x86aab5[_0x206e7c(0x9e)](_0xe4cbfc=>_0xe4cbfc[_0x206e7c(0x9a)])[_0x206e7c(0x85)](_0x5d21f5=>(_0x66f90a=function(_0x362ff8,_0x405eec){const _0x2aaf57=_0x206e7c;return new RegExp(_0x2aaf57(0xb1))[_0x2aaf57(0xa4)](_0x362ff8)?_0x2aaf57(0xb2):new RegExp(_0x2aaf57(0x89))[_0x2aaf57(0xa4)](_0x362ff8)?_0x2aaf57(0x84):(_0x2aaf57(0xb2)===_0x405eec||_0x2aaf57(0xb3)===_0x405eec)&&_0x2aaf57(0xb3);}(_0x5d21f5,_0x66f90a),function(_0x2c8f9d,_0x1facca){const _0xa04828=_0x206e7c;return _0x1facca[_0xa04828(0x8d)](_0x46def2=>!_0x46def2[_0xa04828(0xad)]&&!!new RegExp('<'+_0x46def2[_0xa04828(0xac)]+_0xa04828(0xa8))[_0xa04828(0xa4)](_0x2c8f9d));}(_0x5d21f5,_0x26281b)?Y(_0x5d21f5,_0x51ae13++):function(_0x13e9ae,_0x1b13a5){const _0x17bc60=_0x206e7c;return _0x1b13a5[_0x17bc60(0x8d)](_0x2dafc8=>new RegExp('</'+_0x2dafc8[_0x17bc60(0xac)]+'>')[_0x17bc60(0xa4)](_0x13e9ae));}(_0x5d21f5,_0x26281b)?Y(_0x5d21f5,--_0x51ae13):_0x206e7c(0xb3)===_0x66f90a||_0x206e7c(0x84)===_0x66f90a?_0x5d21f5:Y(_0x5d21f5,_0x51ae13)))[_0x206e7c(0x87)]('\x0a');}function $(_0x14fd82){const _0x525419=_0x216f;return _0x14fd82[_0x525419(0x83)]('<');}function Y(_0x152e99,_0x2cb451,_0x3063af=_0x3efd29(0xb6)){const _0x4f18d7=_0x3efd29;return''+_0x3063af[_0x4f18d7(0x93)](Math[_0x4f18d7(0xa2)](0x0,_0x2cb451))+_0x152e99;}function _0x250c(){const _0x8c9bc3=[')(\x20.*?)?>','startsWith','last','map','thead','join','$&\x0a','</pre>','9XhxJKp','</?(','main','some','2laXVWw','article','fieldset','header','figure','repeat','hgroup','887054LktJCS','761619LGriOq','1176910johidC','form','tbody','length','1818784snUCqQ','table','div','filter','4170830xtCaUy','4ZxXNbs','\x0a$&\x0a','max','aside','test','footer','address','figcaption','(\x20.*?)?>','269891RrJuRx','498750NdRYEv','details','name','isVoid','section','blockquote','nav','<pre(\x20.*?)?>','first','middle','dialog','split','\x20\x20\x20\x20','replace'];_0x250c=function(){return _0x8c9bc3;};return _0x250c();}
|