@ckeditor/ckeditor5-source-editing-enhanced 47.3.0-alpha.3 → 47.3.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x4732e4,PendingActions as _0x720a4b,Plugin as _0x1dfa46}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x54ab41,formatHtml as _0x23463f,env as _0x404cb9,uid as _0x2ed855}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x6d5b9a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x3f2fbb,ButtonView as _0x432569,MenuBarMenuListItemButtonView as _0x138605}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0xef790,crosshairCursor as _0x4eef75,drawSelection as _0x892696,dropCursor as _0xfbc00e,lineNumbers as _0xd4ebde,highlightActiveLine as _0x8c6e68,highlightActiveLineGutter as _0x587b58,highlightSpecialChars as _0x1726fa,rectangularSelection as _0x2033ef,keymap as _0x3386e4}from'@codemirror/view';import{Compartment as _0x25c3fc,Transaction as _0x1daf83}from'@codemirror/state';import{bracketMatching as _0x3c9144,foldGutter as _0x25c982,indentOnInput as _0x2c151b,syntaxHighlighting as _0x3e6dd4,defaultHighlightStyle as _0x3098c9,foldKeymap as _0x46ca6e}from'@codemirror/language';import{toggleTabFocusMode as _0x353412,history as _0xf75f3f,defaultKeymap as _0x4a0f59,historyKeymap as _0x2ad679,indentLess as _0x1c2c66,indentMore as _0x2eceb3,redo as _0x522582,undo as _0x46d41b}from'@codemirror/commands';import{autocompletion as _0x16291d,closeBrackets as _0x2195d0,closeBracketsKeymap as _0x580c8e,completionKeymap as _0x1907ba}from'@codemirror/autocomplete';import{html as _0x169361}from'@codemirror/lang-html';import{markdown as _0x49c74}from'@codemirror/lang-markdown';import{oneDark as _0xc93c1e}from'@codemirror/theme-one-dark';function w(_0x247a9d,_0x1eced3){const t=_0x247a9d['t'];switch(_0x1eced3){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 _0x1eced3;}}function r(_0x3d1334){const _0x5ef227=_0x3d1334['editing']['view']['document']['roots'],_0x206808=_0x5ef227['length'];if(0x0===_0x206808)throw new _0x54ab41('source-editing-enhanced-editor-no-root',_0x3d1334);if(0x1===_0x206808)return _0x5ef227['first']['rootName'];return Array['from'](_0x3d1334['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x538aeb){return tr(_0x538aeb['replace'](/^[\n\s]*/g,''))?_0x538aeb['replace'](/\s+/g,''):_0x538aeb;}function tr(_0x427223){return _0x427223['startsWith']('<');}function p(_0x4c08d9){const _0x2e762c=[_0xef790['lineWrapping'],_0x16291d(),_0x3c9144(),_0x2195d0(),_0x4eef75(),_0x892696(),_0xfbc00e(),_0xd4ebde(),_0x25c982(),_0x8c6e68(),_0x587b58(),_0x1726fa(),_0xf75f3f(),_0x2c151b(),_0x2033ef(),_0x3e6dd4(_0x3098c9,{'fallback':!0x0})],_0xb42456=new _0x25c3fc();_0x2e762c['push'](_0xb42456['of'](_0xef790['editable']['of'](!0x0))),'html'===_0x4c08d9['syntaxLanguage']?_0x2e762c['push'](_0x169361()):_0x2e762c['push'](_0x49c74());const _0xf9e36b=function(_0x439497){if(_0x439497&&'default'!==_0x439497)return'dark'===_0x439497?_0xc93c1e:_0x439497;return null;}(_0x4c08d9['theme']);_0xf9e36b&&_0x2e762c['push'](_0xf9e36b),_0x2e762c['push'](_0x3386e4['of']([..._0x580c8e,..._0x4a0f59,..._0x2ad679,..._0x46ca6e,..._0x1907ba,{'key':'Tab','run':_0x2eceb3,'shift':_0x1c2c66,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x522582,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x522582,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x46d41b,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x3868a4=new _0xef790({'extensions':_0x2e762c,'parent':_0x4c08d9['parent']});return _0x353412(_0x3868a4),{'focus':()=>{_0x3868a4['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x3868a4['focus']();},'getData':()=>_0x3868a4['state']['doc']['toString'](),'setData':_0x24d6e7=>{_0x3868a4['dispatch']({'changes':{'from':0x0,'to':_0x3868a4['state']['doc']['length'],'insert':_0x24d6e7},'annotations':_0x1daf83['addToHistory']['of'](!0x1)});},'setReadOnly':_0x36ced1=>{_0x3868a4['dispatch']({'effects':[_0xb42456['reconfigure'](_0xef790['editable']['of'](!_0x36ced1))]});},'destroy':()=>{_0x3868a4['destroy']();},'instance':_0x3868a4};}class E extends _0x3f2fbb{['_codeEditorApi']=null;['_options'];constructor(_0x31a4b1,_0x52171f){super(_0x31a4b1),this['_options']=_0x52171f,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',(_0x382ad9,_0x70143a,_0x3fd779)=>{this['setReadOnly'](_0x3fd779);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x3f7f18){this['_codeEditorApi']['setData'](_0x3f7f18);}['setReadOnly'](_0x207ca2){this['_codeEditorApi']['setReadOnly'](_0x207ca2);}}const b='SourceEditingEnhancedMode';class d extends _0x4732e4{constructor(_0x597544){super(_0x597544),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x720a4b)['on']('change:hasAny',(_0x497dc4,_0x452b45,_0x19688c)=>{_0x19688c?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x468e4c=this['editor'];for(const _0x267b43 of _0x468e4c['commands']['names']())['replaceSource','editSource']['includes'](_0x267b43)||_0x468e4c['commands']['get'](_0x267b43)['forceDisabled'](b);}['_enableCommands'](){const _0x2edb32=this['editor'];for(const _0x543df6 of _0x2edb32['commands']['commands']())_0x543df6['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x2771fe=this['editor'],_0x108a86=_0x2771fe['locale'],_0x3ee94a=_0x2771fe['plugins']['get']('Dialog'),_0x36caeb=r(_0x2771fe),_0x2d4b5e=_0x2771fe['data']['get']({'rootName':_0x36caeb}),_0xf7d722=tr(_0x5746fd=_0x2d4b5e)?_0x23463f(_0x5746fd):_0x5746fd;var _0x5746fd;const _0x4d76b1=new E(_0x108a86,{'syntaxLanguage':_0x2771fe['plugins']['has']('Markdown')?'markdown':'html','theme':_0x2771fe['config']['get']('sourceEditingEnhanced.theme')});let _0x505977=!0x0;const _0x1b4c50=_0x2b588e=>{if(!_0x505977)return;return g(_0x4d76b1['getData']())!==g(_0xf7d722)?window['confirm'](w(_0x108a86,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2b588e['stop']():void 0x0;};_0x3ee94a['show']({'id':'sourceEditingEnhanced','title':w(_0x108a86,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4d76b1,'actionButtons':[{'label':w(_0x108a86,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x3ee94a['hide']();}},{'label':w(_0x108a86,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x42aba6=g(_0x4d76b1['getData']())!==g(_0xf7d722);(_0x42aba6&&_0x2771fe['execute']('replaceSource',_0x4d76b1['getData']()),_0x505977=!0x1,_0x3ee94a['hide'](),_0x42aba6&&'editables'in _0x2771fe['ui']['view'])&&_0x2771fe['ui']['view']['editables'][_0x36caeb]['element']['focus']();},'onCreate':_0x56a630=>{_0x56a630['set']('isEnabled',!_0x2771fe['isReadOnly']),_0x56a630['bind']('isEnabled')['to'](_0x2771fe,'isReadOnly',this,'isEnabled',(_0x15e1e6,_0x1fc821)=>!_0x15e1e6&&_0x1fc821);}}],'onHide':()=>{this['_enableCommands'](),_0x3ee94a['off']('hide',_0x1b4c50),_0x4d76b1['destroy']();},'onShow':()=>{_0x4d76b1['bind']('isReadOnly')['to'](_0x2771fe,'isReadOnly',this,'isEnabled',(_0x54ef41,_0x572e63)=>_0x54ef41||!_0x572e63),_0x4d76b1['setData'](_0xf7d722),_0x4d76b1['focus'](),_0x3ee94a['on']('hide',_0x1b4c50,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x1dfa46{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x720a4b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xfcbbb9=this['editor'],_0x176efd=_0xfcbbb9['locale'],_0x2d5f68=new d(_0xfcbbb9);_0xfcbbb9['commands']['add']('editSource',_0x2d5f68),_0xfcbbb9['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x44dfef=this['_createButton'](_0x432569,_0x2d5f68);return _0x44dfef['set']({'label':w(_0x176efd,'Source'),'icon':_0x6d5b9a,'tooltip':w(_0x176efd,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x44dfef;}),_0xfcbbb9['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x4958c8=this['_createButton'](_0x138605,_0x2d5f68,!0x0);return _0x4958c8['set']({'label':w(_0x176efd,'Edit\x20source\x20modal\x20label'),'icon':_0x6d5b9a,'role':'menuitemcheckbox'}),_0x4958c8;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x51b73e){const _0x6a937b=_0x345206([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x38a8b0=0x5dba9314,_0x52fdfd=0x5dbde96c^_0x38a8b0,_0x1fcdb1=window[_0x345206([0x44,0x61,0x74,0x65])][_0x345206([0x6e,0x6f,0x77])](),_0x37a953=_0x51b73e[_0x345206([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47d0c4=new window[(_0x345206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f3046=>{_0x37a953[_0x345206([0x6f,0x6e,0x63,0x65])](_0x345206([0x72,0x65,0x61,0x64,0x79]),_0x2f3046);}),_0x309762={[_0x345206([0x6b,0x74,0x79])]:_0x345206([0x45,0x43]),[_0x345206([0x75,0x73,0x65])]:_0x345206([0x73,0x69,0x67]),[_0x345206([0x63,0x72,0x76])]:_0x345206([0x50,0x2d,0x32,0x35,0x36]),[_0x345206([0x78])]:_0x345206([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]),[_0x345206([0x79])]:_0x345206([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]),[_0x345206([0x61,0x6c,0x67])]:_0x345206([0x45,0x53,0x32,0x35,0x36])},_0x1db02b=_0x37a953[_0x345206([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x345206([0x67,0x65,0x74])](_0x345206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xfb5ed2(){let _0x9d771c,_0x5c4424=null,_0x2e1b8d=null;try{if(_0x1db02b==_0x345206([0x47,0x50,0x4c]))return _0x345206([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9d771c=_0x142067(),!_0x9d771c)return _0x345206([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9d771c[_0x345206([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e1b8d=_0xb5b423(_0x9d771c[_0x345206([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9d771c[_0x345206([0x6a,0x74,0x69])])),await _0x26be71()?_0x31d9c1()?_0x2ce6b0()?_0x345206([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x84b4c3()?(_0x9d771c[_0x345206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x345206([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c4424=_0x2782f4(_0x345206([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9d771c[_0x345206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x345206([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c4424=_0x2782f4(_0x345206([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28d8d4()):_0x345206([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x345206([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x345206([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x345206([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ce6b0(){const _0x5eb188=[_0x345206([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x345206([0x74,0x72,0x69,0x61,0x6c])][_0x345206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d771c[_0x345206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fcdb1/0x3e8:0xe10*_0x52fdfd;return _0x9d771c[_0x345206([0x65,0x78,0x70])]<_0x5eb188;}function _0x31d9c1(){const _0x452e97=_0x9d771c[_0x345206([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x452e97&&(!!_0x452e97[_0x345206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x345206([0x2a]))||!!_0x452e97[_0x345206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x345206([0x53,0x45,0x45])));}function _0x84b4c3(){const _0x3bd142=_0x9d771c[_0x345206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3bd142||0x0==_0x3bd142[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xcbf493}=new URL(window[_0x345206([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3bd142[_0x345206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcbf493))return!0x0;const _0x537ec8=_0xcbf493[_0x345206([0x73,0x70,0x6c,0x69,0x74])](_0x345206([0x2e]));return _0x3bd142[_0x345206([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x120880=>_0x120880[_0x345206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x345206([0x2a])))[_0x345206([0x6d,0x61,0x70])](_0xe9c9ae=>_0xe9c9ae[_0x345206([0x73,0x70,0x6c,0x69,0x74])](_0x345206([0x2e])))[_0x345206([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e3c68=>_0x1e3c68[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x537ec8[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x345206([0x6d,0x61,0x70])](_0x35388c=>Array(_0x537ec8[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35388c[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x345206([0x66,0x69,0x6c,0x6c])](_0x35388c[0x0]===_0x345206([0x2a])?_0x345206([0x2a]):'')[_0x345206([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35388c))[_0x345206([0x73,0x6f,0x6d,0x65])](_0x310f07=>_0x537ec8[_0x345206([0x65,0x76,0x65,0x72,0x79])]((_0x1fec62,_0x1031ff)=>_0x310f07[_0x1031ff]===_0x1fec62||_0x310f07[_0x1031ff]===_0x345206([0x2a])));}function _0x28d8d4(){return _0x5c4424&&_0x2e1b8d?new window[(_0x345206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18c25f,_0x4ae772)=>{_0x5c4424[_0x345206([0x74,0x68,0x65,0x6e])](_0x18c25f,_0x4ae772),_0x2e1b8d[_0x345206([0x74,0x68,0x65,0x6e])](_0x89bd8a=>{_0x89bd8a!=_0x345206([0x56,0x61,0x6c,0x69,0x64])&&_0x18c25f(_0x89bd8a);},_0x4ae772);}):_0x5c4424||_0x2e1b8d||_0x345206([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb5b423(_0x1ccc3b,_0x3e1ad8){return new window[(_0x345206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf02357=>{if(_0x5d382a())return _0xf02357(_0x345206([0x56,0x61,0x6c,0x69,0x64]));_0x2c8f71(),_0x37a953[_0x345206([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x345206([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b41e6=!0x1;const _0x2ec146=_0x2ed855();function _0x436090(_0x4d49ed){return!!_0x4d49ed&&(typeof _0x4d49ed===_0x345206([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d49ed===_0x345206([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d49ed[_0x345206([0x74,0x68,0x65,0x6e])]===_0x345206([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d49ed[_0x345206([0x63,0x61,0x74,0x63,0x68])]===_0x345206([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a5431(_0x284d8d){_0x4d6892(_0x284d8d)[_0x345206([0x74,0x68,0x65,0x6e])](_0x230479=>{if(!_0x230479||_0x230479[_0x345206([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x345206([0x6f,0x6b]))return _0x345206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2df043(_0x514c4d(_0x2ec146+_0x3e1ad8))!=_0x230479[_0x345206([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x345206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x345206([0x56,0x61,0x6c,0x69,0x64]);})[_0x345206([0x74,0x68,0x65,0x6e])](_0xf7e8f7=>(_0x528f4e(),_0xf7e8f7),()=>{const _0xb65d85=_0x23a329();return null==_0xb65d85?(_0x528f4e(),_0x345206([0x56,0x61,0x6c,0x69,0x64])):_0x345206(_0x1fcdb1-_0xb65d85>(0x79b61714^_0x38a8b0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x345206([0x74,0x68,0x65,0x6e])](_0xf02357)[_0x345206([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf02357(_0x345206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x526db6=0x5d8c7d94^_0x38a8b0;function _0x528f4e(){const _0x5acaea=_0x345206([0x6c,0x6c,0x63,0x74,0x2d])+_0x2df043(_0x514c4d(_0x1ccc3b)),_0x4c6d22=_0x17052d(_0x2df043(window[_0x345206([0x4d,0x61,0x74,0x68])][_0x345206([0x63,0x65,0x69,0x6c])](_0x1fcdb1/_0x526db6)));window[_0x345206([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x345206([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5acaea,_0x4c6d22);}function _0x23a329(){const _0x51dd53=_0x345206([0x6c,0x6c,0x63,0x74,0x2d])+_0x2df043(_0x514c4d(_0x1ccc3b)),_0xc16c47=window[_0x345206([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x345206([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51dd53);return _0xc16c47?window[_0x345206([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17052d(_0xc16c47),0x10)*_0x526db6:null;}function _0x4d6892(_0x50229e){return new window[(_0x345206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c8beb,_0x2a24cc)=>{_0x50229e[_0x345206([0x74,0x68,0x65,0x6e])](_0x3c8beb,_0x2a24cc),window[_0x345206([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a24cc,0x5dbb47d4^_0x38a8b0);});}}_0x37a953[_0x345206([0x6f,0x6e])](_0x345206([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x475a2e,_0x4731a0)=>{if(_0x4731a0[0x0]!=_0x1ccc3b)return _0xf02357(_0x345206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4731a0[0x1]={..._0x4731a0[0x1],[_0x345206([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ec146};},{[_0x345206([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x345206([0x68,0x69,0x67,0x68])}),_0x37a953[_0x345206([0x6f,0x6e])](_0x345206([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x278a1b=>{_0x436090(_0x278a1b[_0x345206([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b41e6=!0x0,_0x5a5431(_0x278a1b[_0x345206([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x345206([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x345206([0x6c,0x6f,0x77])}),_0x47d0c4[_0x345206([0x74,0x68,0x65,0x6e])](()=>{_0x2b41e6||_0xf02357(_0x345206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d382a(){return _0x37a953[_0x345206([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x345206([0x76,0x69,0x65,0x77])][_0x345206([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x345206([0x61,0x75,0x74,0x6f]);}function _0x2c8f71(){_0x37a953[_0x345206([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x345206([0x76,0x69,0x65,0x77])][_0x345206([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x345206([0x61,0x75,0x74,0x6f]);}}function _0x2782f4(_0x527add){const _0x425d4e=[new window[(_0x345206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25898f=>setTimeout(_0x25898f,0x5db3add8^_0x38a8b0)),_0x47d0c4[_0x345206([0x74,0x68,0x65,0x6e])](()=>new window[(_0x345206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3efb6a=>{let _0xdfb420=0x0;_0x37a953[_0x345206([0x6d,0x6f,0x64,0x65,0x6c])][_0x345206([0x6f,0x6e])](_0x345206([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x240934,_0x1520d1)=>{_0x1520d1[0x0][_0x345206([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xdfb420++,_0xdfb420==(0x5dba92ec^_0x38a8b0)&&(_0x3efb6a(),_0x240934[_0x345206([0x6f,0x66,0x66])]());});}))];return window[_0x345206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x345206([0x72,0x61,0x63,0x65])](_0x425d4e)[_0x345206([0x74,0x68,0x65,0x6e])](()=>_0x527add);}async function _0x2e0e66(){await _0x47d0c4,_0x37a953[_0x345206([0x6d,0x6f,0x64,0x65,0x6c])][_0x345206([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x317611,_0x37a953[_0x345206([0x6d,0x6f,0x64,0x65,0x6c])][_0x345206([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x317611,_0x37a953[_0x345206([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x345206([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4ce3f0(_0x3166bb){const _0x31fc99=_0xce7500();_0x37a953[_0x31fc99]=_0x345206([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])+_0x3166bb,_0x3166bb!=_0x345206([0x56,0x61,0x6c,0x69,0x64])&&_0x2e0e66();}function _0xce7500(){const _0x4a8751=window[_0x345206([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x345206([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x345206([0x6e,0x6f,0x77])]())[_0x345206([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x345206([0x2e]),'');let _0xea5bae=_0x345206([0x4e]);for(let _0x113d7e=0x0;_0x113d7e<_0x4a8751[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x113d7e+=0x2){let _0x5a3748=window[_0x345206([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a8751[_0x345206([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x113d7e,_0x113d7e+0x2));_0x5a3748>=_0x6a937b[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a3748-=_0x6a937b[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xea5bae+=_0x6a937b[_0x5a3748];}return _0xea5bae;}function _0x142067(){const _0x3ce040=_0x1db02b[_0x345206([0x73,0x70,0x6c,0x69,0x74])](_0x345206([0x2e]));if(0x3!=_0x3ce040[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e7d2e(_0x3ce040[0x1]);function _0x5e7d2e(_0xe761df){const _0x37c651=_0x5c66d4(_0xe761df);return _0x37c651&&_0x109c81()?_0x37c651:null;function _0x109c81(){const _0x413fea=_0x37c651[_0x345206([0x6a,0x74,0x69])],_0x17a847=window[_0x345206([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x413fea[_0x345206([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x413fea[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58421c={..._0x37c651,[_0x345206([0x6a,0x74,0x69])]:_0x413fea[_0x345206([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x413fea[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58421c[_0x345206([0x76,0x63])],_0x514c4d(_0x58421c)==_0x17a847;}}}async function _0x26be71(){let _0x509684=!0x0;try{const _0x733f2=_0x1db02b[_0x345206([0x73,0x70,0x6c,0x69,0x74])](_0x345206([0x2e])),[_0x1d7562,_0x59cf4d,_0x1aa46a]=_0x733f2;return _0x329ae8(_0x1d7562),await _0x39b836(_0x1d7562,_0x59cf4d,_0x1aa46a),_0x509684;}catch{return!0x1;}function _0x329ae8(_0x473d1){const _0x32f809=_0x5c66d4(_0x473d1);_0x32f809&&_0x32f809[_0x345206([0x61,0x6c,0x67])]==_0x345206([0x45,0x53,0x32,0x35,0x36])||(_0x509684=!0x1);}async function _0x39b836(_0x426a22,_0x26e413,_0x580688){const _0x198c73=window[_0x345206([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x345206([0x66,0x72,0x6f,0x6d])](_0x30acfb(_0x580688),_0x9a08a8=>_0x9a08a8[_0x345206([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a22f6=new window[(_0x345206([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x345206([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x426a22+_0x345206([0x2e])+_0x26e413),_0x33630f=window[_0x345206([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x345206([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33630f)return;const _0x16c97a=await _0x33630f[_0x345206([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x345206([0x6a,0x77,0x6b]),_0x309762,{[_0x345206([0x6e,0x61,0x6d,0x65])]:_0x345206([0x45,0x43,0x44,0x53,0x41]),[_0x345206([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x345206([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x345206([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33630f[_0x345206([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x345206([0x6e,0x61,0x6d,0x65])]:_0x345206([0x45,0x43,0x44,0x53,0x41]),[_0x345206([0x68,0x61,0x73,0x68])]:{[_0x345206([0x6e,0x61,0x6d,0x65])]:_0x345206([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16c97a,_0x198c73,_0x2a22f6)||(_0x509684=!0x1);}}function _0x5c66d4(_0x24328b){return _0x24328b[_0x345206([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x345206([0x65,0x79]))?JSON[_0x345206([0x70,0x61,0x72,0x73,0x65])](_0x30acfb(_0x24328b)):null;}function _0x30acfb(_0x5c0641){return window[_0x345206([0x61,0x74,0x6f,0x62])](_0x5c0641[_0x345206([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x345206([0x2b]))[_0x345206([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x345206([0x2f])));}function _0x514c4d(_0x554e7e){let _0x3e0691=0x1505;function _0x58f350(_0x2afae4){for(let _0x5b7438=0x0;_0x5b7438<_0x2afae4[_0x345206([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b7438++){const _0x36f9a=_0x2afae4[_0x345206([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b7438);_0x3e0691=(_0x3e0691<<0x5)+_0x3e0691+_0x36f9a,_0x3e0691&=_0x3e0691;}}function _0x818c83(_0x959581){Array[_0x345206([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x959581)?_0x959581[_0x345206([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x818c83):_0x959581&&typeof _0x959581==_0x345206([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x345206([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x959581)[_0x345206([0x73,0x6f,0x72,0x74])]()[_0x345206([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2cbeb7,_0x3e609e])=>{_0x58f350(_0x2cbeb7),_0x818c83(_0x3e609e);}):_0x58f350(window[_0x345206([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x959581));}return _0x818c83(_0x554e7e),_0x3e0691>>>0x0;}function _0x2df043(_0x219057){return _0x219057[_0x345206([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x345206([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x345206([0x30]));}function _0x17052d(_0x48f6e1){return _0x48f6e1[_0x345206([0x73,0x70,0x6c,0x69,0x74])]('')[_0x345206([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x345206([0x6a,0x6f,0x69,0x6e])]('');}function _0x317611(){}function _0x345206(_0x18cdbc){return _0x18cdbc['map'](_0x45a74d=>String['fromCharCode'](_0x45a74d))['join']('');}_0x4ce3f0(await _0xfb5ed2());}(this);}['_createButton'](_0x393b47,_0x8c008,_0x490274=!0x1){const _0x2e9de2=new _0x393b47(this['editor']['locale']);return _0x2e9de2['set']({'withText':_0x490274,'isToggleable':!0x1}),_0x2e9de2['bind']('isEnabled')['to'](_0x8c008,'isEnabled'),this['listenTo'](_0x2e9de2,'execute',()=>_0x8c008['execute']()),_0x2e9de2;}['_registerKeybindings'](){const _0x3b4221=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x3b4221,'Source\x20Editing\x20Enhanced')});const _0x50d251=_0x404cb9['isMac']||_0x404cb9['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x3b4221,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x3b4221,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x3b4221,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x3b4221,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x3b4221,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x3b4221,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x3b4221,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x50d251?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x3b4221,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x3b4221,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x3b4221,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x3b4221,'Select\x20line'),'keystroke':_0x50d251?'Ctrl!+L':'Alt+L'},{'label':w(_0x3b4221,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x50d251?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x3b4221,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x3b4221,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x3b4221,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x3b4221,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x3b4221,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x50d251?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x4732e4{constructor(_0x1a74d4){super(_0x1a74d4),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x4b1f93,_0x5935cb){const _0x5bea40=this['editor'],_0x3f0943=_0x5935cb?.['rootName']??r(_0x5bea40);_0x5bea40['data']['set']({[_0x3f0943]:_0x4b1f93},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x1dfa46{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x25b426){super(_0x25b426),_0x25b426['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xef1ec6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x18273c;for(const _0x42a002 in _0xef1ec6){const _0x4e0a17=_0x42a002,_0x443277=_0xef1ec6[_0x4e0a17];if('sourceEditingEnhancedLicenseKeyValid'==_0x443277||'sourceEditingEnhancedLicenseKeyInvalid'==_0x443277||'sourceEditingEnhancedLicenseKeyExpired'==_0x443277||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x443277||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x443277||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x443277||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x443277||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x443277){delete _0xef1ec6[_0x4e0a17],_0x18273c=_0x443277,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x18273c&&_0xef1ec6['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x18273c&&_0xef1ec6['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x18273c&&_0xef1ec6['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x18273c&&_0xef1ec6['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x18273c&&_0xef1ec6['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x18273c&&_0xef1ec6['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x18273c&&_0xef1ec6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xa4530a=this['editor'],_0x2281a1=_0xa4530a['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x2281a1&&_0xa4530a['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x54ab41('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x2281a1&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x133a26=>_0xa4530a['plugins']['has'](_0x133a26))&&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.'),_0xa4530a['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x134f87,PendingActions as _0x44bca2,Plugin as _0x18dc07}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4cc10a,formatHtml as _0x4909c9,env as _0xb08124,uid as _0x2eaccc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x3ef18e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x16a767,ButtonView as _0x5acd34,MenuBarMenuListItemButtonView as _0x57efdf}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x59a1eb,crosshairCursor as _0x33dd2c,drawSelection as _0x40b455,dropCursor as _0x2d6560,lineNumbers as _0x86c44,highlightActiveLine as _0x5871ed,highlightActiveLineGutter as _0x363803,highlightSpecialChars as _0x2f1ae8,rectangularSelection as _0x3f70ef,keymap as _0x5eeff9}from'@codemirror/view';import{Compartment as _0x3674c3,Transaction as _0x9380dc}from'@codemirror/state';import{bracketMatching as _0x47acc9,foldGutter as _0x24165d,indentOnInput as _0x21a0a5,syntaxHighlighting as _0x5bc20a,defaultHighlightStyle as _0x27ee38,foldKeymap as _0x302d3e}from'@codemirror/language';import{toggleTabFocusMode as _0x2af303,history as _0x428ba5,defaultKeymap as _0x1d4068,historyKeymap as _0x4fd058,indentLess as _0x2fb0ae,indentMore as _0x672778,redo as _0x5cfc89,undo as _0x18e48e}from'@codemirror/commands';import{autocompletion as _0x23bfef,closeBrackets as _0x10ca35,closeBracketsKeymap as _0x18f8d8,completionKeymap as _0x5c8220}from'@codemirror/autocomplete';import{html as _0x3530da}from'@codemirror/lang-html';import{markdown as _0x5fb86}from'@codemirror/lang-markdown';import{oneDark as _0x122421}from'@codemirror/theme-one-dark';function w(_0x33ee21,_0x6b3f8a){const t=_0x33ee21['t'];switch(_0x6b3f8a){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 _0x6b3f8a;}}function r(_0x5acaa5){const _0x2922d9=_0x5acaa5['editing']['view']['document']['roots'],_0x3f15f1=_0x2922d9['length'];if(0x0===_0x3f15f1)throw new _0x4cc10a('source-editing-enhanced-editor-no-root',_0x5acaa5);if(0x1===_0x3f15f1)return _0x2922d9['first']['rootName'];return Array['from'](_0x5acaa5['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x5b296d){return tr(_0x5b296d['replace'](/^[\n\s]*/g,''))?_0x5b296d['replace'](/\s+/g,''):_0x5b296d;}function tr(_0x1a7562){return _0x1a7562['startsWith']('<');}function p(_0x58cf97){const _0xe1d7d6=[_0x59a1eb['lineWrapping'],_0x23bfef(),_0x47acc9(),_0x10ca35(),_0x33dd2c(),_0x40b455(),_0x2d6560(),_0x86c44(),_0x24165d(),_0x5871ed(),_0x363803(),_0x2f1ae8(),_0x428ba5(),_0x21a0a5(),_0x3f70ef(),_0x5bc20a(_0x27ee38,{'fallback':!0x0})],_0x3d5410=new _0x3674c3();_0xe1d7d6['push'](_0x3d5410['of'](_0x59a1eb['editable']['of'](!0x0))),'html'===_0x58cf97['syntaxLanguage']?_0xe1d7d6['push'](_0x3530da()):_0xe1d7d6['push'](_0x5fb86());const _0x38be54=function(_0x27f8fc){if(_0x27f8fc&&'default'!==_0x27f8fc)return'dark'===_0x27f8fc?_0x122421:_0x27f8fc;return null;}(_0x58cf97['theme']);_0x38be54&&_0xe1d7d6['push'](_0x38be54),_0xe1d7d6['push'](_0x5eeff9['of']([..._0x18f8d8,..._0x1d4068,..._0x4fd058,..._0x302d3e,..._0x5c8220,{'key':'Tab','run':_0x672778,'shift':_0x2fb0ae,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x5cfc89,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x5cfc89,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x18e48e,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x444030=new _0x59a1eb({'extensions':_0xe1d7d6,'parent':_0x58cf97['parent']});return _0x2af303(_0x444030),{'focus':()=>{_0x444030['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x444030['focus']();},'getData':()=>_0x444030['state']['doc']['toString'](),'setData':_0xfe8431=>{_0x444030['dispatch']({'changes':{'from':0x0,'to':_0x444030['state']['doc']['length'],'insert':_0xfe8431},'annotations':_0x9380dc['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3d20c5=>{_0x444030['dispatch']({'effects':[_0x3d5410['reconfigure'](_0x59a1eb['editable']['of'](!_0x3d20c5))]});},'destroy':()=>{_0x444030['destroy']();},'instance':_0x444030};}class E extends _0x16a767{['_codeEditorApi']=null;['_options'];constructor(_0xacaa0e,_0x1885fb){super(_0xacaa0e),this['_options']=_0x1885fb,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',(_0x2f11e9,_0x28a528,_0xc0a5fb)=>{this['setReadOnly'](_0xc0a5fb);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2aecc1){this['_codeEditorApi']['setData'](_0x2aecc1);}['setReadOnly'](_0x29f264){this['_codeEditorApi']['setReadOnly'](_0x29f264);}}const b='SourceEditingEnhancedMode';class d extends _0x134f87{constructor(_0x3db0b8){super(_0x3db0b8),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x44bca2)['on']('change:hasAny',(_0xcf2b61,_0x1e8a3d,_0x553d33)=>{_0x553d33?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4e955e=this['editor'];for(const _0x527abc of _0x4e955e['commands']['names']())['replaceSource','editSource']['includes'](_0x527abc)||_0x4e955e['commands']['get'](_0x527abc)['forceDisabled'](b);}['_enableCommands'](){const _0x5637c9=this['editor'];for(const _0x229aa8 of _0x5637c9['commands']['commands']())_0x229aa8['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x54a963=this['editor'],_0x30c0bc=_0x54a963['locale'],_0xa325fd=_0x54a963['plugins']['get']('Dialog'),_0x1980af=r(_0x54a963),_0x1973c3=_0x54a963['data']['get']({'rootName':_0x1980af}),_0x429ba9=tr(_0x10c478=_0x1973c3)?_0x4909c9(_0x10c478):_0x10c478;var _0x10c478;const _0xd4ae2c=new E(_0x30c0bc,{'syntaxLanguage':_0x54a963['plugins']['has']('Markdown')?'markdown':'html','theme':_0x54a963['config']['get']('sourceEditingEnhanced.theme')});let _0x2caf41=!0x0;const _0x4c6efc=_0x42af04=>{if(!_0x2caf41)return;return g(_0xd4ae2c['getData']())!==g(_0x429ba9)?window['confirm'](w(_0x30c0bc,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x42af04['stop']():void 0x0;};_0xa325fd['show']({'id':'sourceEditingEnhanced','title':w(_0x30c0bc,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xd4ae2c,'actionButtons':[{'label':w(_0x30c0bc,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xa325fd['hide']();}},{'label':w(_0x30c0bc,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x53ab47=g(_0xd4ae2c['getData']())!==g(_0x429ba9);(_0x53ab47&&_0x54a963['execute']('replaceSource',_0xd4ae2c['getData']()),_0x2caf41=!0x1,_0xa325fd['hide'](),_0x53ab47&&'editables'in _0x54a963['ui']['view'])&&_0x54a963['ui']['view']['editables'][_0x1980af]['element']['focus']();},'onCreate':_0x4e2291=>{_0x4e2291['set']('isEnabled',!_0x54a963['isReadOnly']),_0x4e2291['bind']('isEnabled')['to'](_0x54a963,'isReadOnly',this,'isEnabled',(_0xc5f8a7,_0x338628)=>!_0xc5f8a7&&_0x338628);}}],'onHide':()=>{this['_enableCommands'](),_0xa325fd['off']('hide',_0x4c6efc),_0xd4ae2c['destroy']();},'onShow':()=>{_0xd4ae2c['bind']('isReadOnly')['to'](_0x54a963,'isReadOnly',this,'isEnabled',(_0x2c85d5,_0x128195)=>_0x2c85d5||!_0x128195),_0xd4ae2c['setData'](_0x429ba9),_0xd4ae2c['focus'](),_0xa325fd['on']('hide',_0x4c6efc,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x18dc07{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x44bca2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x42adfd=this['editor'],_0x3c4a9f=_0x42adfd['locale'],_0x1bd55b=new d(_0x42adfd);_0x42adfd['commands']['add']('editSource',_0x1bd55b),_0x42adfd['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x1f3448=this['_createButton'](_0x5acd34,_0x1bd55b);return _0x1f3448['set']({'label':w(_0x3c4a9f,'Source'),'icon':_0x3ef18e,'tooltip':w(_0x3c4a9f,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x1f3448;}),_0x42adfd['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2b0053=this['_createButton'](_0x57efdf,_0x1bd55b,!0x0);return _0x2b0053['set']({'label':w(_0x3c4a9f,'Edit\x20source\x20modal\x20label'),'icon':_0x3ef18e,'role':'menuitemcheckbox'}),_0x2b0053;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x230950){const _0x545725=_0x4c8acd([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x582a8b=0x5dba9314,_0xc1f3c8=0x5dbde984^_0x582a8b,_0x457bc1=window[_0x4c8acd([0x44,0x61,0x74,0x65])][_0x4c8acd([0x6e,0x6f,0x77])](),_0x500ab5=_0x230950[_0x4c8acd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x527aa=new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2273d1=>{_0x500ab5[_0x4c8acd([0x6f,0x6e,0x63,0x65])](_0x4c8acd([0x72,0x65,0x61,0x64,0x79]),_0x2273d1);}),_0x32f25e={[_0x4c8acd([0x6b,0x74,0x79])]:_0x4c8acd([0x45,0x43]),[_0x4c8acd([0x75,0x73,0x65])]:_0x4c8acd([0x73,0x69,0x67]),[_0x4c8acd([0x63,0x72,0x76])]:_0x4c8acd([0x50,0x2d,0x32,0x35,0x36]),[_0x4c8acd([0x78])]:_0x4c8acd([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]),[_0x4c8acd([0x79])]:_0x4c8acd([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]),[_0x4c8acd([0x61,0x6c,0x67])]:_0x4c8acd([0x45,0x53,0x32,0x35,0x36])},_0x1e6870=_0x500ab5[_0x4c8acd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c8acd([0x67,0x65,0x74])](_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36d722(){let _0x21b216,_0x1b7598=null,_0x5419a9=null;try{if(_0x1e6870==_0x4c8acd([0x47,0x50,0x4c]))return _0x4c8acd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21b216=_0x4bebfd(),!_0x21b216)return _0x4c8acd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21b216[_0x4c8acd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5419a9=_0x5cf4da(_0x21b216[_0x4c8acd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21b216[_0x4c8acd([0x6a,0x74,0x69])])),await _0xb8c608()?_0x2249d7()?_0x37d01a()?_0x4c8acd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x217ce5()?(_0x21b216[_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8acd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b7598=_0x26fb78(_0x4c8acd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21b216[_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8acd([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b7598=_0x26fb78(_0x4c8acd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48c871()):_0x4c8acd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c8acd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c8acd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c8acd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37d01a(){const _0x57d9d5=[_0x4c8acd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c8acd([0x74,0x72,0x69,0x61,0x6c])][_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21b216[_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x457bc1/0x3e8:0xe10*_0xc1f3c8;return _0x21b216[_0x4c8acd([0x65,0x78,0x70])]<_0x57d9d5;}function _0x2249d7(){const _0x564f86=_0x21b216[_0x4c8acd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x564f86&&(!!_0x564f86[_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8acd([0x2a]))||!!_0x564f86[_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8acd([0x53,0x45,0x45])));}function _0x217ce5(){const _0x47d438=_0x21b216[_0x4c8acd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47d438||0x0==_0x47d438[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46e6d5}=new URL(window[_0x4c8acd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x47d438[_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e6d5))return!0x0;const _0x56b212=_0x46e6d5[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])](_0x4c8acd([0x2e]));return _0x47d438[_0x4c8acd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd0eb62=>_0xd0eb62[_0x4c8acd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8acd([0x2a])))[_0x4c8acd([0x6d,0x61,0x70])](_0x53a48f=>_0x53a48f[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])](_0x4c8acd([0x2e])))[_0x4c8acd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3695ab=>_0x3695ab[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56b212[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c8acd([0x6d,0x61,0x70])](_0x48908c=>Array(_0x56b212[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x48908c[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c8acd([0x66,0x69,0x6c,0x6c])](_0x48908c[0x0]===_0x4c8acd([0x2a])?_0x4c8acd([0x2a]):'')[_0x4c8acd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x48908c))[_0x4c8acd([0x73,0x6f,0x6d,0x65])](_0xb86d4=>_0x56b212[_0x4c8acd([0x65,0x76,0x65,0x72,0x79])]((_0x5a45d4,_0x333038)=>_0xb86d4[_0x333038]===_0x5a45d4||_0xb86d4[_0x333038]===_0x4c8acd([0x2a])));}function _0x48c871(){return _0x1b7598&&_0x5419a9?new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2caac5,_0x2590f4)=>{_0x1b7598[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x2caac5,_0x2590f4),_0x5419a9[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x15b354=>{_0x15b354!=_0x4c8acd([0x56,0x61,0x6c,0x69,0x64])&&_0x2caac5(_0x15b354);},_0x2590f4);}):_0x1b7598||_0x5419a9||_0x4c8acd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5cf4da(_0x83c45f,_0x4ea4e8){return new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b85c6=>{if(_0xe59268())return _0x3b85c6(_0x4c8acd([0x56,0x61,0x6c,0x69,0x64]));_0x5f49c1(),_0x500ab5[_0x4c8acd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c8acd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ed059=!0x1;const _0x357989=_0x2eaccc();function _0x5736a7(_0x3192f6){return!!_0x3192f6&&(typeof _0x3192f6===_0x4c8acd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3192f6===_0x4c8acd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3192f6[_0x4c8acd([0x74,0x68,0x65,0x6e])]===_0x4c8acd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3192f6[_0x4c8acd([0x63,0x61,0x74,0x63,0x68])]===_0x4c8acd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c8f23(_0x5753d3){_0xf2045c(_0x5753d3)[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x5b57f2=>{if(!_0x5b57f2||_0x5b57f2[_0x4c8acd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c8acd([0x6f,0x6b]))return _0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4eb2f9(_0x3bc8a0(_0x357989+_0x4ea4e8))!=_0x5b57f2[_0x4c8acd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c8acd([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x340a4c=>(_0xaf76c6(),_0x340a4c),()=>{const _0x4bae5d=_0x33cda6();return null==_0x4bae5d?(_0xaf76c6(),_0x4c8acd([0x56,0x61,0x6c,0x69,0x64])):_0x4c8acd(_0x457bc1-_0x4bae5d>(0x79b61714^_0x582a8b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x3b85c6)[_0x4c8acd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b85c6(_0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28153f=0x5d8c7d94^_0x582a8b;function _0xaf76c6(){const _0x1360cb=_0x4c8acd([0x6c,0x6c,0x63,0x74,0x2d])+_0x4eb2f9(_0x3bc8a0(_0x83c45f)),_0xbaeb39=_0x2f8788(_0x4eb2f9(window[_0x4c8acd([0x4d,0x61,0x74,0x68])][_0x4c8acd([0x63,0x65,0x69,0x6c])](_0x457bc1/_0x28153f)));window[_0x4c8acd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c8acd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1360cb,_0xbaeb39);}function _0x33cda6(){const _0xb6b393=_0x4c8acd([0x6c,0x6c,0x63,0x74,0x2d])+_0x4eb2f9(_0x3bc8a0(_0x83c45f)),_0x5c614e=window[_0x4c8acd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c8acd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb6b393);return _0x5c614e?window[_0x4c8acd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f8788(_0x5c614e),0x10)*_0x28153f:null;}function _0xf2045c(_0x539837){return new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36534f,_0x3ac8af)=>{_0x539837[_0x4c8acd([0x74,0x68,0x65,0x6e])](_0x36534f,_0x3ac8af),window[_0x4c8acd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ac8af,0x5dbb47d4^_0x582a8b);});}}_0x500ab5[_0x4c8acd([0x6f,0x6e])](_0x4c8acd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x100bed,_0x7b2f1f)=>{if(_0x7b2f1f[0x0]!=_0x83c45f)return _0x3b85c6(_0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7b2f1f[0x1]={..._0x7b2f1f[0x1],[_0x4c8acd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x357989};},{[_0x4c8acd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c8acd([0x68,0x69,0x67,0x68])}),_0x500ab5[_0x4c8acd([0x6f,0x6e])](_0x4c8acd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5052bf=>{_0x5736a7(_0x5052bf[_0x4c8acd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ed059=!0x0,_0x3c8f23(_0x5052bf[_0x4c8acd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c8acd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c8acd([0x6c,0x6f,0x77])}),_0x527aa[_0x4c8acd([0x74,0x68,0x65,0x6e])](()=>{_0x3ed059||_0x3b85c6(_0x4c8acd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe59268(){return _0x500ab5[_0x4c8acd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c8acd([0x76,0x69,0x65,0x77])][_0x4c8acd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c8acd([0x61,0x75,0x74,0x6f]);}function _0x5f49c1(){_0x500ab5[_0x4c8acd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c8acd([0x76,0x69,0x65,0x77])][_0x4c8acd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c8acd([0x61,0x75,0x74,0x6f]);}}function _0x26fb78(_0x51c8ac){const _0x530ea1=[new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16aaa8=>setTimeout(_0x16aaa8,0x5db3add8^_0x582a8b)),_0x527aa[_0x4c8acd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d2721=>{let _0x11f763=0x0;_0x500ab5[_0x4c8acd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8acd([0x6f,0x6e])](_0x4c8acd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf18234,_0x3a43fb)=>{_0x3a43fb[0x0][_0x4c8acd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11f763++,_0x11f763==(0x5dba92ec^_0x582a8b)&&(_0x5d2721(),_0xf18234[_0x4c8acd([0x6f,0x66,0x66])]());});}))];return window[_0x4c8acd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c8acd([0x72,0x61,0x63,0x65])](_0x530ea1)[_0x4c8acd([0x74,0x68,0x65,0x6e])](()=>_0x51c8ac);}async function _0x39a623(){await _0x527aa,_0x500ab5[_0x4c8acd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8acd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x78d23b,_0x500ab5[_0x4c8acd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8acd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x78d23b,_0x500ab5[_0x4c8acd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c8acd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ad808(_0x21a79d){const _0x543f9f=_0x499cd3();_0x500ab5[_0x543f9f]=_0x4c8acd([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])+_0x21a79d,_0x21a79d!=_0x4c8acd([0x56,0x61,0x6c,0x69,0x64])&&_0x39a623();}function _0x499cd3(){const _0x4b81bb=window[_0x4c8acd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c8acd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c8acd([0x6e,0x6f,0x77])]())[_0x4c8acd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c8acd([0x2e]),'');let _0x1e07b6=_0x4c8acd([0x4e]);for(let _0x928fcc=0x0;_0x928fcc<_0x4b81bb[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x928fcc+=0x2){let _0x210816=window[_0x4c8acd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b81bb[_0x4c8acd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x928fcc,_0x928fcc+0x2));_0x210816>=_0x545725[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x210816-=_0x545725[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e07b6+=_0x545725[_0x210816];}return _0x1e07b6;}function _0x4bebfd(){const _0x34cd30=_0x1e6870[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])](_0x4c8acd([0x2e]));if(0x3!=_0x34cd30[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x587758(_0x34cd30[0x1]);function _0x587758(_0x4380a3){const _0x1d4134=_0x455a9c(_0x4380a3);return _0x1d4134&&_0x363e4e()?_0x1d4134:null;function _0x363e4e(){const _0x15c068=_0x1d4134[_0x4c8acd([0x6a,0x74,0x69])],_0x1a8aee=window[_0x4c8acd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15c068[_0x4c8acd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15c068[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x203051={..._0x1d4134,[_0x4c8acd([0x6a,0x74,0x69])]:_0x15c068[_0x4c8acd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15c068[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x203051[_0x4c8acd([0x76,0x63])],_0x3bc8a0(_0x203051)==_0x1a8aee;}}}async function _0xb8c608(){let _0x23312b=!0x0;try{const _0x28092c=_0x1e6870[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])](_0x4c8acd([0x2e])),[_0x2e75bb,_0x583a7e,_0xf651b7]=_0x28092c;return _0x2ba5fd(_0x2e75bb),await _0x41d6e0(_0x2e75bb,_0x583a7e,_0xf651b7),_0x23312b;}catch{return!0x1;}function _0x2ba5fd(_0x48a734){const _0x3aa6ac=_0x455a9c(_0x48a734);_0x3aa6ac&&_0x3aa6ac[_0x4c8acd([0x61,0x6c,0x67])]==_0x4c8acd([0x45,0x53,0x32,0x35,0x36])||(_0x23312b=!0x1);}async function _0x41d6e0(_0x315274,_0x2023e7,_0x54c77a){const _0x1168e2=window[_0x4c8acd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c8acd([0x66,0x72,0x6f,0x6d])](_0xbc30a6(_0x54c77a),_0x3b7715=>_0x3b7715[_0x4c8acd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x365d99=new window[(_0x4c8acd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c8acd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x315274+_0x4c8acd([0x2e])+_0x2023e7),_0x2eb871=window[_0x4c8acd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c8acd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2eb871)return;const _0x3e8830=await _0x2eb871[_0x4c8acd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c8acd([0x6a,0x77,0x6b]),_0x32f25e,{[_0x4c8acd([0x6e,0x61,0x6d,0x65])]:_0x4c8acd([0x45,0x43,0x44,0x53,0x41]),[_0x4c8acd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c8acd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c8acd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2eb871[_0x4c8acd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c8acd([0x6e,0x61,0x6d,0x65])]:_0x4c8acd([0x45,0x43,0x44,0x53,0x41]),[_0x4c8acd([0x68,0x61,0x73,0x68])]:{[_0x4c8acd([0x6e,0x61,0x6d,0x65])]:_0x4c8acd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e8830,_0x1168e2,_0x365d99)||(_0x23312b=!0x1);}}function _0x455a9c(_0x380854){return _0x380854[_0x4c8acd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c8acd([0x65,0x79]))?JSON[_0x4c8acd([0x70,0x61,0x72,0x73,0x65])](_0xbc30a6(_0x380854)):null;}function _0xbc30a6(_0x417a30){return window[_0x4c8acd([0x61,0x74,0x6f,0x62])](_0x417a30[_0x4c8acd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c8acd([0x2b]))[_0x4c8acd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c8acd([0x2f])));}function _0x3bc8a0(_0x1437bc){let _0xf9fdb0=0x1505;function _0x4b1713(_0x5550ec){for(let _0x37645b=0x0;_0x37645b<_0x5550ec[_0x4c8acd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37645b++){const _0x1f56c4=_0x5550ec[_0x4c8acd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37645b);_0xf9fdb0=(_0xf9fdb0<<0x5)+_0xf9fdb0+_0x1f56c4,_0xf9fdb0&=_0xf9fdb0;}}function _0x4ecaab(_0x524f31){Array[_0x4c8acd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x524f31)?_0x524f31[_0x4c8acd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ecaab):_0x524f31&&typeof _0x524f31==_0x4c8acd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c8acd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x524f31)[_0x4c8acd([0x73,0x6f,0x72,0x74])]()[_0x4c8acd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37311b,_0x24fd88])=>{_0x4b1713(_0x37311b),_0x4ecaab(_0x24fd88);}):_0x4b1713(window[_0x4c8acd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x524f31));}return _0x4ecaab(_0x1437bc),_0xf9fdb0>>>0x0;}function _0x4eb2f9(_0x3c1700){return _0x3c1700[_0x4c8acd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c8acd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c8acd([0x30]));}function _0x2f8788(_0x2caa8d){return _0x2caa8d[_0x4c8acd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c8acd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c8acd([0x6a,0x6f,0x69,0x6e])]('');}function _0x78d23b(){}function _0x4c8acd(_0x49541d){return _0x49541d['map'](_0x2ddf6e=>String['fromCharCode'](_0x2ddf6e))['join']('');}_0x2ad808(await _0x36d722());}(this);}['_createButton'](_0x27e0e0,_0x14001d,_0x5d7666=!0x1){const _0x3af564=new _0x27e0e0(this['editor']['locale']);return _0x3af564['set']({'withText':_0x5d7666,'isToggleable':!0x1}),_0x3af564['bind']('isEnabled')['to'](_0x14001d,'isEnabled'),this['listenTo'](_0x3af564,'execute',()=>_0x14001d['execute']()),_0x3af564;}['_registerKeybindings'](){const _0x1359a9=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x1359a9,'Source\x20Editing\x20Enhanced')});const _0x4c99d3=_0xb08124['isMac']||_0xb08124['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x1359a9,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x1359a9,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x1359a9,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x1359a9,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x1359a9,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x1359a9,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x1359a9,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4c99d3?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x1359a9,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x1359a9,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x1359a9,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x1359a9,'Select\x20line'),'keystroke':_0x4c99d3?'Ctrl!+L':'Alt+L'},{'label':w(_0x1359a9,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4c99d3?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x1359a9,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x1359a9,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x1359a9,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x1359a9,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x1359a9,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4c99d3?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x134f87{constructor(_0x31d94e){super(_0x31d94e),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1aa06e,_0x1ea8c4){const _0x312c17=this['editor'],_0x40af98=_0x1ea8c4?.['rootName']??r(_0x312c17);_0x312c17['data']['set']({[_0x40af98]:_0x1aa06e},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x18dc07{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x2a7229){super(_0x2a7229),_0x2a7229['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x577ef1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x15dc29;for(const _0x243617 in _0x577ef1){const _0x909fb=_0x243617,_0x3964c9=_0x577ef1[_0x909fb];if('sourceEditingEnhancedLicenseKeyValid'==_0x3964c9||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3964c9||'sourceEditingEnhancedLicenseKeyExpired'==_0x3964c9||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3964c9||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3964c9||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3964c9||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3964c9||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3964c9){delete _0x577ef1[_0x909fb],_0x15dc29=_0x3964c9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x15dc29&&_0x577ef1['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x15dc29&&_0x577ef1['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x15dc29&&_0x577ef1['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x15dc29&&_0x577ef1['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x15dc29&&_0x577ef1['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x15dc29&&_0x577ef1['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x15dc29&&_0x577ef1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x513b89=this['editor'],_0x5551f5=_0x513b89['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x5551f5&&_0x513b89['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x4cc10a('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x5551f5&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x51d3e8=>_0x513b89['plugins']['has'](_0x51d3e8))&&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.'),_0x513b89['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "47.3.0-alpha.
|
|
3
|
+
"version": "47.3.0-alpha.4",
|
|
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": "47.3.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "47.3.0-alpha.4",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.4",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.4",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.4",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.4",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "47.3.0-alpha.
|
|
34
|
+
"ckeditor5": "47.3.0-alpha.4"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5195(_0x1eeff8,_0x1f10ce){const _0x5ccf5c=_0x5ccf();return _0x5195=function(_0x51957a,_0x34eea5){_0x51957a=_0x51957a-0x75;let _0x283d1a=_0x5ccf5c[_0x51957a];return _0x283d1a;},_0x5195(_0x1eeff8,_0x1f10ce);}const _0x38a63b=_0x5195;(function(_0x7c58ce,_0x95bfca){const _0x1d9c64=_0x5195,_0x2e3cd4=_0x7c58ce();while(!![]){try{const _0x385020=-parseInt(_0x1d9c64(0x76))/0x1*(parseInt(_0x1d9c64(0xb8))/0x2)+-parseInt(_0x1d9c64(0xb4))/0x3+parseInt(_0x1d9c64(0xc2))/0x4*(-parseInt(_0x1d9c64(0xbc))/0x5)+parseInt(_0x1d9c64(0x7e))/0x6+parseInt(_0x1d9c64(0x90))/0x7+-parseInt(_0x1d9c64(0x84))/0x8+parseInt(_0x1d9c64(0x8f))/0x9;if(_0x385020===_0x95bfca)break;else _0x2e3cd4['push'](_0x2e3cd4['shift']());}catch(_0x23c371){_0x2e3cd4['push'](_0x2e3cd4['shift']());}}}(_0x5ccf,0x346e3));import{Plugin as _0x3aa887,PendingActions as _0x1e141b}from'ckeditor5/src/core.js';import{IconSource as _0x2ee593}from'ckeditor5/src/icons.js';import{ButtonView as _0x12c501,MenuBarMenuListItemButtonView as _0x44d635}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x4e24c4}from'./ui/editsourcecommand.js';import{getTranslation as _0x60fc25}from'./utils/common-translations.js';import{env as _0x53e0d2,uid as _0x541e09}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x5ccf(){const _0x4fcb89=['Ctrl+Z','isPremiumPlugin','Alt+Shift+M','Ctrl+[','Shift+Alt+A','init','addKeystrokeInfoCategory','Source\x20Editing\x20Enhanced','Indent\x20less','locale','4161357nqYMQw','1140321qtilxC','Source','editSource','Fold\x20code\x20(current\x20level)','afterInit','Ctrl!+Alt+]','isEnabled','Toggle\x20comment','Shift+Alt+ArrowUp','Redo\x20(keystroke)','Ctrl+Shift+]','add','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Undo\x20(keystroke)','menuitemcheckbox','Shift+Ctrl+K','Ctrl+]','Ctrl+Shift+Z','join','Shift+Alt+ArrowDown','Ctrl+Shift+[','Copy\x20line\x20up','Ctrl+M','isiOS','Fold\x20all','Alt+L','bind','Copy\x20line\x20down','Unfold\x20all','isOfficialPlugin','Ctrl!+Alt+[','menuBar:sourceEditingEnhanced','Delete\x20line','Move\x20line\x20down','isMac','listenTo','29430sGZrBo','addKeystrokeInfos','_registerKeybindings','_createButton','698662GRcggk','pluginName','map','set','5GbhvtK','Edit\x20source\x20modal\x20label','Cmd+Alt+[','Indent\x20more','Move\x20line\x20up','sourceEditingEnhanced','713136OEzyeB','Ctrl+Y','Cmd+Alt+]','SourceEditingEnhancedUI','Alt+ArrowDown','commands','Select\x20line','requires','1lqHNcM','Unfold\x20code\x20(current\x20level)','componentFactory','fromCharCode','accessibility','editor','Ctrl+/','ck-source-editing-enhanced-button','1974936IChbie','href','Alt+ArrowUp','execute','Ctrl!+L','Toggle\x20block\x20comment','1618016aTiSkj'];_0x5ccf=function(){return _0x4fcb89;};return _0x5ccf();}export class SourceEditingEnhancedUI extends _0x3aa887{static get[_0x38a63b(0xb9)](){const _0x544dc2=_0x38a63b;return _0x544dc2(0xc5);}static get[_0x38a63b(0x75)](){return[_0x1e141b];}static get[_0x38a63b(0xad)](){return!0x0;}static get[_0x38a63b(0x86)](){return!0x0;}[_0x38a63b(0x8a)](){const _0x4e1cdc=_0x38a63b,_0x1a7a0b=this[_0x4e1cdc(0x7b)],_0x4cd5ee=_0x1a7a0b[_0x4e1cdc(0x8e)],_0x19512f=new _0x4e24c4(_0x1a7a0b);_0x1a7a0b[_0x4e1cdc(0xc7)][_0x4e1cdc(0x9b)](_0x4e1cdc(0x92),_0x19512f),_0x1a7a0b['ui'][_0x4e1cdc(0x78)][_0x4e1cdc(0x9b)](_0x4e1cdc(0xc1),()=>{const _0xd790b8=_0x4e1cdc,_0x210ffb=this[_0xd790b8(0xb7)](_0x12c501,_0x19512f);return _0x210ffb[_0xd790b8(0xbb)]({'label':_0x60fc25(_0x4cd5ee,_0xd790b8(0x91)),'icon':_0x2ee593,'tooltip':_0x60fc25(_0x4cd5ee,_0xd790b8(0xbd)),'class':_0xd790b8(0x7d)}),_0x210ffb;}),_0x1a7a0b['ui'][_0x4e1cdc(0x78)][_0x4e1cdc(0x9b)](_0x4e1cdc(0xaf),()=>{const _0x4c09f1=_0x4e1cdc,_0x5b0abe=this[_0x4c09f1(0xb7)](_0x44d635,_0x19512f,!0x0);return _0x5b0abe[_0x4c09f1(0xbb)]({'label':_0x60fc25(_0x4cd5ee,_0x4c09f1(0xbd)),'icon':_0x2ee593,'role':_0x4c09f1(0x9e)}),_0x5b0abe;}),this[_0x4e1cdc(0xb6)]();}[_0x38a63b(0x94)](){!async function(_0x1eb1f0){const _0x3fc05c=_0x112983([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x30e725=0x5dba9314,_0x1fcb1d=0x5dbde96c^_0x30e725,_0x28cef7=window[_0x112983([0x44,0x61,0x74,0x65])][_0x112983([0x6e,0x6f,0x77])](),_0x1f94b6=_0x1eb1f0[_0x112983([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xad75c9=new window[(_0x112983([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e646a=>{_0x1f94b6[_0x112983([0x6f,0x6e,0x63,0x65])](_0x112983([0x72,0x65,0x61,0x64,0x79]),_0x3e646a);}),_0x5d0620={[_0x112983([0x6b,0x74,0x79])]:_0x112983([0x45,0x43]),[_0x112983([0x75,0x73,0x65])]:_0x112983([0x73,0x69,0x67]),[_0x112983([0x63,0x72,0x76])]:_0x112983([0x50,0x2d,0x32,0x35,0x36]),[_0x112983([0x78])]:_0x112983([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]),[_0x112983([0x79])]:_0x112983([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]),[_0x112983([0x61,0x6c,0x67])]:_0x112983([0x45,0x53,0x32,0x35,0x36])},_0x212a50=_0x1f94b6[_0x112983([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x112983([0x67,0x65,0x74])](_0x112983([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x37c998(){let _0x28ead6,_0x20b276=null,_0x62a795=null;try{if(_0x212a50==_0x112983([0x47,0x50,0x4c]))return _0x112983([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28ead6=_0x424a2b(),!_0x28ead6)return _0x112983([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28ead6[_0x112983([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x62a795=_0x5e5611(_0x28ead6[_0x112983([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28ead6[_0x112983([0x6a,0x74,0x69])])),await _0x828b55()?_0x561be6()?_0xcc3717()?_0x112983([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5905b0()?(_0x28ead6[_0x112983([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x112983([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x20b276=_0x54f4ae(_0x112983([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x28ead6[_0x112983([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x112983([0x74,0x72,0x69,0x61,0x6c])&&(_0x20b276=_0x54f4ae(_0x112983([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ce7f5()):_0x112983([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x112983([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x112983([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x112983([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xcc3717(){const _0x388e6e=[_0x112983([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x112983([0x74,0x72,0x69,0x61,0x6c])][_0x112983([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ead6[_0x112983([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28cef7/0x3e8:0xe10*_0x1fcb1d;return _0x28ead6[_0x112983([0x65,0x78,0x70])]<_0x388e6e;}function _0x561be6(){const _0x5e7cdf=_0x28ead6[_0x112983([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e7cdf&&(!!_0x5e7cdf[_0x112983([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112983([0x2a]))||!!_0x5e7cdf[_0x112983([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112983([0x53,0x45,0x45])));}function _0x5905b0(){const _0x46c488=_0x5195,_0x4aa7f9=_0x28ead6[_0x112983([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4aa7f9||0x0==_0x4aa7f9[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d5455}=new URL(window[_0x112983([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x46c488(0x7f)]);if(_0x4aa7f9[_0x112983([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d5455))return!0x0;const _0x3c7d2e=_0x2d5455[_0x112983([0x73,0x70,0x6c,0x69,0x74])](_0x112983([0x2e]));return _0x4aa7f9[_0x112983([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40fd67=>_0x40fd67[_0x112983([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112983([0x2a])))[_0x112983([0x6d,0x61,0x70])](_0x5e88ec=>_0x5e88ec[_0x112983([0x73,0x70,0x6c,0x69,0x74])](_0x112983([0x2e])))[_0x112983([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18650f=>_0x18650f[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c7d2e[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x112983([0x6d,0x61,0x70])](_0x325a1c=>Array(_0x3c7d2e[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x325a1c[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x112983([0x66,0x69,0x6c,0x6c])](_0x325a1c[0x0]===_0x112983([0x2a])?_0x112983([0x2a]):'')[_0x112983([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x325a1c))[_0x112983([0x73,0x6f,0x6d,0x65])](_0x4af396=>_0x3c7d2e[_0x112983([0x65,0x76,0x65,0x72,0x79])]((_0x1f8a27,_0x3ab22c)=>_0x4af396[_0x3ab22c]===_0x1f8a27||_0x4af396[_0x3ab22c]===_0x112983([0x2a])));}function _0x4ce7f5(){return _0x20b276&&_0x62a795?new window[(_0x112983([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18db1b,_0x524d41)=>{_0x20b276[_0x112983([0x74,0x68,0x65,0x6e])](_0x18db1b,_0x524d41),_0x62a795[_0x112983([0x74,0x68,0x65,0x6e])](_0x4a8454=>{_0x4a8454!=_0x112983([0x56,0x61,0x6c,0x69,0x64])&&_0x18db1b(_0x4a8454);},_0x524d41);}):_0x20b276||_0x62a795||_0x112983([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e5611(_0x1a273c,_0x1eabe0){return new window[(_0x112983([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x424f3e=>{if(_0x130adb())return _0x424f3e(_0x112983([0x56,0x61,0x6c,0x69,0x64]));_0x37d351(),_0x1f94b6[_0x112983([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x112983([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2952fb=!0x1;const _0x32c769=_0x541e09();function _0x4a0599(_0x43441e){return!!_0x43441e&&(typeof _0x43441e===_0x112983([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43441e===_0x112983([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43441e[_0x112983([0x74,0x68,0x65,0x6e])]===_0x112983([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43441e[_0x112983([0x63,0x61,0x74,0x63,0x68])]===_0x112983([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x36d8d9(_0x3e729a){_0x2bffae(_0x3e729a)[_0x112983([0x74,0x68,0x65,0x6e])](_0x4a552f=>{if(!_0x4a552f||_0x4a552f[_0x112983([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x112983([0x6f,0x6b]))return _0x112983([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40fb32(_0x20875f(_0x32c769+_0x1eabe0))!=_0x4a552f[_0x112983([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x112983([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x112983([0x56,0x61,0x6c,0x69,0x64]);})[_0x112983([0x74,0x68,0x65,0x6e])](_0x2e225a=>(_0x15b98e(),_0x2e225a),()=>{const _0x202f5c=_0x5b16e2();return null==_0x202f5c?(_0x15b98e(),_0x112983([0x56,0x61,0x6c,0x69,0x64])):_0x112983(_0x28cef7-_0x202f5c>(0x79b61714^_0x30e725)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x112983([0x74,0x68,0x65,0x6e])](_0x424f3e)[_0x112983([0x63,0x61,0x74,0x63,0x68])](()=>{_0x424f3e(_0x112983([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4217b3=0x5d8c7d94^_0x30e725;function _0x15b98e(){const _0x5909f3=_0x112983([0x6c,0x6c,0x63,0x74,0x2d])+_0x40fb32(_0x20875f(_0x1a273c)),_0x5622e4=_0x3d92a1(_0x40fb32(window[_0x112983([0x4d,0x61,0x74,0x68])][_0x112983([0x63,0x65,0x69,0x6c])](_0x28cef7/_0x4217b3)));window[_0x112983([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x112983([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5909f3,_0x5622e4);}function _0x5b16e2(){const _0x2cd8d7=_0x112983([0x6c,0x6c,0x63,0x74,0x2d])+_0x40fb32(_0x20875f(_0x1a273c)),_0x4118f7=window[_0x112983([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x112983([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cd8d7);return _0x4118f7?window[_0x112983([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d92a1(_0x4118f7),0x10)*_0x4217b3:null;}function _0x2bffae(_0x551200){return new window[(_0x112983([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40f9a4,_0x476a85)=>{_0x551200[_0x112983([0x74,0x68,0x65,0x6e])](_0x40f9a4,_0x476a85),window[_0x112983([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x476a85,0x5dbb47d4^_0x30e725);});}}_0x1f94b6[_0x112983([0x6f,0x6e])](_0x112983([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a9ea7,_0x5252b2)=>{if(_0x5252b2[0x0]!=_0x1a273c)return _0x424f3e(_0x112983([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5252b2[0x1]={..._0x5252b2[0x1],[_0x112983([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32c769};},{[_0x112983([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x112983([0x68,0x69,0x67,0x68])}),_0x1f94b6[_0x112983([0x6f,0x6e])](_0x112983([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x136170=>{_0x4a0599(_0x136170[_0x112983([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2952fb=!0x0,_0x36d8d9(_0x136170[_0x112983([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x112983([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x112983([0x6c,0x6f,0x77])}),_0xad75c9[_0x112983([0x74,0x68,0x65,0x6e])](()=>{_0x2952fb||_0x424f3e(_0x112983([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x130adb(){return _0x1f94b6[_0x112983([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x112983([0x76,0x69,0x65,0x77])][_0x112983([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x112983([0x61,0x75,0x74,0x6f]);}function _0x37d351(){_0x1f94b6[_0x112983([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x112983([0x76,0x69,0x65,0x77])][_0x112983([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x112983([0x61,0x75,0x74,0x6f]);}}function _0x54f4ae(_0x3ed9ae){const _0x5854d1=[new window[(_0x112983([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x557f25=>setTimeout(_0x557f25,0x5db3add8^_0x30e725)),_0xad75c9[_0x112983([0x74,0x68,0x65,0x6e])](()=>new window[(_0x112983([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b9025=>{let _0xee0967=0x0;_0x1f94b6[_0x112983([0x6d,0x6f,0x64,0x65,0x6c])][_0x112983([0x6f,0x6e])](_0x112983([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x587b82,_0x564411)=>{_0x564411[0x0][_0x112983([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xee0967++,_0xee0967==(0x5dba92ec^_0x30e725)&&(_0x1b9025(),_0x587b82[_0x112983([0x6f,0x66,0x66])]());});}))];return window[_0x112983([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x112983([0x72,0x61,0x63,0x65])](_0x5854d1)[_0x112983([0x74,0x68,0x65,0x6e])](()=>_0x3ed9ae);}async function _0x5df2f2(){await _0xad75c9,_0x1f94b6[_0x112983([0x6d,0x6f,0x64,0x65,0x6c])][_0x112983([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x63e9dc,_0x1f94b6[_0x112983([0x6d,0x6f,0x64,0x65,0x6c])][_0x112983([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x63e9dc,_0x1f94b6[_0x112983([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x112983([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4db0f7(_0xa32b76){const _0xda48d3=_0x895b0c();_0x1f94b6[_0xda48d3]=_0x112983([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])+_0xa32b76,_0xa32b76!=_0x112983([0x56,0x61,0x6c,0x69,0x64])&&_0x5df2f2();}function _0x895b0c(){const _0x3ee4d4=window[_0x112983([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x112983([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x112983([0x6e,0x6f,0x77])]())[_0x112983([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x112983([0x2e]),'');let _0x4fd2c4=_0x112983([0x4e]);for(let _0x5f1e7f=0x0;_0x5f1e7f<_0x3ee4d4[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f1e7f+=0x2){let _0xa587bb=window[_0x112983([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ee4d4[_0x112983([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f1e7f,_0x5f1e7f+0x2));_0xa587bb>=_0x3fc05c[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa587bb-=_0x3fc05c[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4fd2c4+=_0x3fc05c[_0xa587bb];}return _0x4fd2c4;}function _0x424a2b(){const _0xd3c8aa=_0x212a50[_0x112983([0x73,0x70,0x6c,0x69,0x74])](_0x112983([0x2e]));if(0x3!=_0xd3c8aa[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x205460(_0xd3c8aa[0x1]);function _0x205460(_0x29bd80){const _0xb051a5=_0x4e5e84(_0x29bd80);return _0xb051a5&&_0x2f02df()?_0xb051a5:null;function _0x2f02df(){const _0x608326=_0xb051a5[_0x112983([0x6a,0x74,0x69])],_0x262756=window[_0x112983([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x608326[_0x112983([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x608326[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b827b={..._0xb051a5,[_0x112983([0x6a,0x74,0x69])]:_0x608326[_0x112983([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x608326[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b827b[_0x112983([0x76,0x63])],_0x20875f(_0x4b827b)==_0x262756;}}}async function _0x828b55(){let _0x31f124=!0x0;try{const _0x3a239e=_0x212a50[_0x112983([0x73,0x70,0x6c,0x69,0x74])](_0x112983([0x2e])),[_0x27a741,_0x5087f2,_0x3a0523]=_0x3a239e;return _0x3fea73(_0x27a741),await _0x18334a(_0x27a741,_0x5087f2,_0x3a0523),_0x31f124;}catch{return!0x1;}function _0x3fea73(_0x1998f9){const _0x24dd7a=_0x4e5e84(_0x1998f9);_0x24dd7a&&_0x24dd7a[_0x112983([0x61,0x6c,0x67])]==_0x112983([0x45,0x53,0x32,0x35,0x36])||(_0x31f124=!0x1);}async function _0x18334a(_0x57402b,_0x5ad975,_0x54690e){const _0xcf41ec=window[_0x112983([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x112983([0x66,0x72,0x6f,0x6d])](_0x319c2b(_0x54690e),_0x5068e3=>_0x5068e3[_0x112983([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a0c90=new window[(_0x112983([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x112983([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57402b+_0x112983([0x2e])+_0x5ad975),_0x14737f=window[_0x112983([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x112983([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14737f)return;const _0x1fae53=await _0x14737f[_0x112983([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x112983([0x6a,0x77,0x6b]),_0x5d0620,{[_0x112983([0x6e,0x61,0x6d,0x65])]:_0x112983([0x45,0x43,0x44,0x53,0x41]),[_0x112983([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x112983([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x112983([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14737f[_0x112983([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x112983([0x6e,0x61,0x6d,0x65])]:_0x112983([0x45,0x43,0x44,0x53,0x41]),[_0x112983([0x68,0x61,0x73,0x68])]:{[_0x112983([0x6e,0x61,0x6d,0x65])]:_0x112983([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fae53,_0xcf41ec,_0x5a0c90)||(_0x31f124=!0x1);}}function _0x4e5e84(_0x1fcee4){return _0x1fcee4[_0x112983([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x112983([0x65,0x79]))?JSON[_0x112983([0x70,0x61,0x72,0x73,0x65])](_0x319c2b(_0x1fcee4)):null;}function _0x319c2b(_0x1fd4f1){return window[_0x112983([0x61,0x74,0x6f,0x62])](_0x1fd4f1[_0x112983([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x112983([0x2b]))[_0x112983([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x112983([0x2f])));}function _0x20875f(_0x2b0ad6){let _0x1c0ce9=0x1505;function _0x1f8c04(_0x32fc0e){for(let _0x4f47a5=0x0;_0x4f47a5<_0x32fc0e[_0x112983([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f47a5++){const _0x1a5d88=_0x32fc0e[_0x112983([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f47a5);_0x1c0ce9=(_0x1c0ce9<<0x5)+_0x1c0ce9+_0x1a5d88,_0x1c0ce9&=_0x1c0ce9;}}function _0x4e334e(_0x20fce7){Array[_0x112983([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20fce7)?_0x20fce7[_0x112983([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e334e):_0x20fce7&&typeof _0x20fce7==_0x112983([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x112983([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20fce7)[_0x112983([0x73,0x6f,0x72,0x74])]()[_0x112983([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fb900,_0xd730a2])=>{_0x1f8c04(_0x4fb900),_0x4e334e(_0xd730a2);}):_0x1f8c04(window[_0x112983([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20fce7));}return _0x4e334e(_0x2b0ad6),_0x1c0ce9>>>0x0;}function _0x40fb32(_0x58bab7){return _0x58bab7[_0x112983([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x112983([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x112983([0x30]));}function _0x3d92a1(_0x29d932){return _0x29d932[_0x112983([0x73,0x70,0x6c,0x69,0x74])]('')[_0x112983([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x112983([0x6a,0x6f,0x69,0x6e])]('');}function _0x63e9dc(){}function _0x112983(_0x2ea102){const _0x2e0b5f=_0x5195;return _0x2ea102[_0x2e0b5f(0xba)](_0x1a6f7a=>String[_0x2e0b5f(0x79)](_0x1a6f7a))[_0x2e0b5f(0xa2)]('');}_0x4db0f7(await _0x37c998());}(this);}[_0x38a63b(0xb7)](_0x598ded,_0x1a6689,_0xbc4f17=!0x1){const _0x5095eb=_0x38a63b,_0x4e2b8f=new _0x598ded(this[_0x5095eb(0x7b)][_0x5095eb(0x8e)]);return _0x4e2b8f[_0x5095eb(0xbb)]({'withText':_0xbc4f17,'isToggleable':!0x1}),_0x4e2b8f[_0x5095eb(0xaa)](_0x5095eb(0x96))['to'](_0x1a6689,_0x5095eb(0x96)),this[_0x5095eb(0xb3)](_0x4e2b8f,_0x5095eb(0x81),()=>_0x1a6689[_0x5095eb(0x81)]()),_0x4e2b8f;}[_0x38a63b(0xb6)](){const _0x2c2c16=_0x38a63b,_0x116009=this[_0x2c2c16(0x7b)][_0x2c2c16(0x8e)];this[_0x2c2c16(0x7b)][_0x2c2c16(0x7a)][_0x2c2c16(0x8b)]({'id':_0x2c2c16(0xc1),'label':_0x60fc25(_0x116009,_0x2c2c16(0x8c))});const _0x2c039e=_0x53e0d2[_0x2c2c16(0xb2)]||_0x53e0d2[_0x2c2c16(0xa7)];this[_0x2c2c16(0x7b)][_0x2c2c16(0x7a)][_0x2c2c16(0xb5)]({'categoryId':_0x2c2c16(0xc1),'keystrokes':[{'label':_0x60fc25(_0x116009,_0x2c2c16(0xab)),'keystroke':_0x2c2c16(0xa3)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0xa5)),'keystroke':_0x2c2c16(0x98)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0xb0)),'keystroke':_0x2c2c16(0x9f)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0x8d)),'keystroke':_0x2c2c16(0x88)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0xbf)),'keystroke':_0x2c2c16(0xa0)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0xa8)),'keystroke':_0x2c2c16(0xae)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0x93)),'keystroke':_0x2c039e?_0x2c2c16(0xbe):_0x2c2c16(0xa4)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0xb1)),'keystroke':_0x2c2c16(0xc6)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0xc0)),'keystroke':_0x2c2c16(0x80)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0x99)),'keystroke':[[_0x2c2c16(0xa1)],[_0x2c2c16(0xc3)]]},{'label':_0x60fc25(_0x116009,_0x2c2c16(0xc8)),'keystroke':_0x2c039e?_0x2c2c16(0x82):_0x2c2c16(0xa9)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0x9c)),'keystroke':_0x2c039e?_0x2c2c16(0x87):_0x2c2c16(0xa6)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0x83)),'keystroke':_0x2c2c16(0x89)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0x97)),'keystroke':_0x2c2c16(0x7c)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0x9d)),'keystroke':_0x2c2c16(0x85)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0xac)),'keystroke':_0x2c2c16(0x95)},{'label':_0x60fc25(_0x116009,_0x2c2c16(0x77)),'keystroke':_0x2c039e?_0x2c2c16(0xc4):_0x2c2c16(0x9a)}]});}}
|
|
23
|
+
const _0x3f1a52=_0x36b8;(function(_0x49459d,_0xa167c4){const _0x36e92d=_0x36b8,_0x529644=_0x49459d();while(!![]){try{const _0x1dbdd9=parseInt(_0x36e92d(0x103))/0x1+parseInt(_0x36e92d(0xf1))/0x2*(-parseInt(_0x36e92d(0x107))/0x3)+parseInt(_0x36e92d(0xd7))/0x4*(parseInt(_0x36e92d(0x105))/0x5)+-parseInt(_0x36e92d(0xe4))/0x6*(parseInt(_0x36e92d(0xfc))/0x7)+parseInt(_0x36e92d(0xea))/0x8+parseInt(_0x36e92d(0x118))/0x9*(-parseInt(_0x36e92d(0x119))/0xa)+parseInt(_0x36e92d(0xfa))/0xb*(-parseInt(_0x36e92d(0x104))/0xc);if(_0x1dbdd9===_0xa167c4)break;else _0x529644['push'](_0x529644['shift']());}catch(_0x4dc6e7){_0x529644['push'](_0x529644['shift']());}}}(_0x14ae,0x6eac6));function _0x36b8(_0x320d25,_0x454011){const _0x14ae99=_0x14ae();return _0x36b8=function(_0x36b8c0,_0x258d4c){_0x36b8c0=_0x36b8c0-0xca;let _0x487a9c=_0x14ae99[_0x36b8c0];return _0x487a9c;},_0x36b8(_0x320d25,_0x454011);}import{Plugin as _0x175429,PendingActions as _0x100752}from'ckeditor5/src/core.js';import{IconSource as _0x264fa5}from'ckeditor5/src/icons.js';import{ButtonView as _0xadebdc,MenuBarMenuListItemButtonView as _0x52e6a3}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x5a4d12}from'./ui/editsourcecommand.js';import{getTranslation as _0x187778}from'./utils/common-translations.js';function _0x14ae(){const _0x3c632f=['7KkBIpj','bind','addKeystrokeInfos','href','Unfold\x20all','afterInit','Delete\x20line','612252eISPiu','715812yioAxq','3180275OxoMcs','addKeystrokeInfoCategory','6lndloe','Indent\x20less','Ctrl!+Alt+[','editSource','requires','Select\x20line','execute','Shift+Ctrl+K','set','Alt+Shift+M','Alt+ArrowUp','accessibility','Ctrl+[','isPremiumPlugin','Shift+Alt+ArrowUp','Ctrl+M','Toggle\x20block\x20comment','1609695fswKpV','20uWJdJd','isiOS','init','isEnabled','map','Redo\x20(keystroke)','Ctrl+Shift+]','Shift+Alt+ArrowDown','add','menuitemcheckbox','Move\x20line\x20down','Source\x20Editing\x20Enhanced','Alt+ArrowDown','Ctrl!+L','Cmd+Alt+[','Fold\x20code\x20(current\x20level)','Cmd+Alt+]','Move\x20line\x20up','sourceEditingEnhanced','Ctrl+]','listenTo','4QcTove','join','Source','pluginName','locale','ck-source-editing-enhanced-button','Undo\x20(keystroke)','Ctrl+Z','SourceEditingEnhancedUI','Toggle\x20comment','Fold\x20all','Indent\x20more','Ctrl+Y','3239022AFdREX','isMac','Shift+Alt+A','menuBar:sourceEditingEnhanced','Ctrl+Shift+Z','Unfold\x20code\x20(current\x20level)','6007608pqsgMm','fromCharCode','Ctrl!+Alt+]','commands','Ctrl+/','Alt+L','Copy\x20line\x20down','230836ytyhIp','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','isOfficialPlugin','Copy\x20line\x20up','Edit\x20source\x20modal\x20label','editor','_registerKeybindings','componentFactory','_createButton','77MxkGUx','Ctrl+Shift+['];_0x14ae=function(){return _0x3c632f;};return _0x14ae();}import{env as _0x17c39d,uid as _0x388d75}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x175429{static get[_0x3f1a52(0xda)](){const _0x54634a=_0x3f1a52;return _0x54634a(0xdf);}static get[_0x3f1a52(0x10b)](){return[_0x100752];}static get[_0x3f1a52(0xf3)](){return!0x0;}static get[_0x3f1a52(0x114)](){return!0x0;}[_0x3f1a52(0x11b)](){const _0x1c84d6=_0x3f1a52,_0x29d69d=this[_0x1c84d6(0xf6)],_0x53ee13=_0x29d69d[_0x1c84d6(0xdb)],_0x3e4f96=new _0x5a4d12(_0x29d69d);_0x29d69d[_0x1c84d6(0xed)][_0x1c84d6(0xca)](_0x1c84d6(0x10a),_0x3e4f96),_0x29d69d['ui'][_0x1c84d6(0xf8)][_0x1c84d6(0xca)](_0x1c84d6(0xd4),()=>{const _0x21b1ce=_0x1c84d6,_0x4c2195=this[_0x21b1ce(0xf9)](_0xadebdc,_0x3e4f96);return _0x4c2195[_0x21b1ce(0x10f)]({'label':_0x187778(_0x53ee13,_0x21b1ce(0xd9)),'icon':_0x264fa5,'tooltip':_0x187778(_0x53ee13,_0x21b1ce(0xf5)),'class':_0x21b1ce(0xdc)}),_0x4c2195;}),_0x29d69d['ui'][_0x1c84d6(0xf8)][_0x1c84d6(0xca)](_0x1c84d6(0xe7),()=>{const _0x48651f=_0x1c84d6,_0x2d77fb=this[_0x48651f(0xf9)](_0x52e6a3,_0x3e4f96,!0x0);return _0x2d77fb[_0x48651f(0x10f)]({'label':_0x187778(_0x53ee13,_0x48651f(0xf5)),'icon':_0x264fa5,'role':_0x48651f(0xcb)}),_0x2d77fb;}),this[_0x1c84d6(0xf7)]();}[_0x3f1a52(0x101)](){!async function(_0x1dd232){const _0x39471a=_0x490b79([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x31ec5b=0x5dba9314,_0x4bb2e7=0x5dbde984^_0x31ec5b,_0x490842=window[_0x490b79([0x44,0x61,0x74,0x65])][_0x490b79([0x6e,0x6f,0x77])](),_0x346d06=_0x1dd232[_0x490b79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34fea1=new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2387e6=>{_0x346d06[_0x490b79([0x6f,0x6e,0x63,0x65])](_0x490b79([0x72,0x65,0x61,0x64,0x79]),_0x2387e6);}),_0x2d69bb={[_0x490b79([0x6b,0x74,0x79])]:_0x490b79([0x45,0x43]),[_0x490b79([0x75,0x73,0x65])]:_0x490b79([0x73,0x69,0x67]),[_0x490b79([0x63,0x72,0x76])]:_0x490b79([0x50,0x2d,0x32,0x35,0x36]),[_0x490b79([0x78])]:_0x490b79([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]),[_0x490b79([0x79])]:_0x490b79([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]),[_0x490b79([0x61,0x6c,0x67])]:_0x490b79([0x45,0x53,0x32,0x35,0x36])},_0x34e9a7=_0x346d06[_0x490b79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x490b79([0x67,0x65,0x74])](_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a3ed3(){let _0x9f3b1,_0x402f55=null,_0x50ac53=null;try{if(_0x34e9a7==_0x490b79([0x47,0x50,0x4c]))return _0x490b79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9f3b1=_0x13b48e(),!_0x9f3b1)return _0x490b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9f3b1[_0x490b79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50ac53=_0x44be07(_0x9f3b1[_0x490b79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9f3b1[_0x490b79([0x6a,0x74,0x69])])),await _0x3cd4a6()?_0x544d7b()?_0x2c9883()?_0x490b79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1915f()?(_0x9f3b1[_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x490b79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x402f55=_0x1a5bb4(_0x490b79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9f3b1[_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x490b79([0x74,0x72,0x69,0x61,0x6c])&&(_0x402f55=_0x1a5bb4(_0x490b79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x907d99()):_0x490b79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x490b79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x490b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x490b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c9883(){const _0x15d509=[_0x490b79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x490b79([0x74,0x72,0x69,0x61,0x6c])][_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f3b1[_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x490842/0x3e8:0xe10*_0x4bb2e7;return _0x9f3b1[_0x490b79([0x65,0x78,0x70])]<_0x15d509;}function _0x544d7b(){const _0x13b95c=_0x9f3b1[_0x490b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13b95c&&(!!_0x13b95c[_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490b79([0x2a]))||!!_0x13b95c[_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490b79([0x53,0x45,0x45])));}function _0x1915f(){const _0x402c8d=_0x36b8,_0xe8c3b4=_0x9f3b1[_0x490b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe8c3b4||0x0==_0xe8c3b4[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46e692}=new URL(window[_0x490b79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x402c8d(0xff)]);if(_0xe8c3b4[_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e692))return!0x0;const _0x2400a2=_0x46e692[_0x490b79([0x73,0x70,0x6c,0x69,0x74])](_0x490b79([0x2e]));return _0xe8c3b4[_0x490b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa52e45=>_0xa52e45[_0x490b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490b79([0x2a])))[_0x490b79([0x6d,0x61,0x70])](_0x31806f=>_0x31806f[_0x490b79([0x73,0x70,0x6c,0x69,0x74])](_0x490b79([0x2e])))[_0x490b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5eb30a=>_0x5eb30a[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2400a2[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x490b79([0x6d,0x61,0x70])](_0x308b37=>Array(_0x2400a2[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x308b37[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x490b79([0x66,0x69,0x6c,0x6c])](_0x308b37[0x0]===_0x490b79([0x2a])?_0x490b79([0x2a]):'')[_0x490b79([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x308b37))[_0x490b79([0x73,0x6f,0x6d,0x65])](_0x367668=>_0x2400a2[_0x490b79([0x65,0x76,0x65,0x72,0x79])]((_0x1cc475,_0x52ec40)=>_0x367668[_0x52ec40]===_0x1cc475||_0x367668[_0x52ec40]===_0x490b79([0x2a])));}function _0x907d99(){return _0x402f55&&_0x50ac53?new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c3141,_0x5bd040)=>{_0x402f55[_0x490b79([0x74,0x68,0x65,0x6e])](_0x4c3141,_0x5bd040),_0x50ac53[_0x490b79([0x74,0x68,0x65,0x6e])](_0x4575b0=>{_0x4575b0!=_0x490b79([0x56,0x61,0x6c,0x69,0x64])&&_0x4c3141(_0x4575b0);},_0x5bd040);}):_0x402f55||_0x50ac53||_0x490b79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44be07(_0x396e7b,_0xc9dcf2){return new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0b28=>{if(_0x27a887())return _0x2f0b28(_0x490b79([0x56,0x61,0x6c,0x69,0x64]));_0x309ba1(),_0x346d06[_0x490b79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x490b79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd8039a=!0x1;const _0x55fe0c=_0x388d75();function _0x2a6eef(_0x5d88b0){return!!_0x5d88b0&&(typeof _0x5d88b0===_0x490b79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d88b0===_0x490b79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d88b0[_0x490b79([0x74,0x68,0x65,0x6e])]===_0x490b79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d88b0[_0x490b79([0x63,0x61,0x74,0x63,0x68])]===_0x490b79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5167b4(_0x2d6bcc){_0x84825(_0x2d6bcc)[_0x490b79([0x74,0x68,0x65,0x6e])](_0x4ed1de=>{if(!_0x4ed1de||_0x4ed1de[_0x490b79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x490b79([0x6f,0x6b]))return _0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3908da(_0x1a7b54(_0x55fe0c+_0xc9dcf2))!=_0x4ed1de[_0x490b79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x490b79([0x56,0x61,0x6c,0x69,0x64]);})[_0x490b79([0x74,0x68,0x65,0x6e])](_0x1e01c7=>(_0x310fef(),_0x1e01c7),()=>{const _0x241ab5=_0xb50225();return null==_0x241ab5?(_0x310fef(),_0x490b79([0x56,0x61,0x6c,0x69,0x64])):_0x490b79(_0x490842-_0x241ab5>(0x79b61714^_0x31ec5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x490b79([0x74,0x68,0x65,0x6e])](_0x2f0b28)[_0x490b79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f0b28(_0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f574d=0x5d8c7d94^_0x31ec5b;function _0x310fef(){const _0x3fdeb9=_0x490b79([0x6c,0x6c,0x63,0x74,0x2d])+_0x3908da(_0x1a7b54(_0x396e7b)),_0x419d81=_0x190a06(_0x3908da(window[_0x490b79([0x4d,0x61,0x74,0x68])][_0x490b79([0x63,0x65,0x69,0x6c])](_0x490842/_0x5f574d)));window[_0x490b79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x490b79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fdeb9,_0x419d81);}function _0xb50225(){const _0x16e66f=_0x490b79([0x6c,0x6c,0x63,0x74,0x2d])+_0x3908da(_0x1a7b54(_0x396e7b)),_0x49a206=window[_0x490b79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x490b79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16e66f);return _0x49a206?window[_0x490b79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x190a06(_0x49a206),0x10)*_0x5f574d:null;}function _0x84825(_0x1ca12e){return new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57d263,_0x324d53)=>{_0x1ca12e[_0x490b79([0x74,0x68,0x65,0x6e])](_0x57d263,_0x324d53),window[_0x490b79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x324d53,0x5dbb47d4^_0x31ec5b);});}}_0x346d06[_0x490b79([0x6f,0x6e])](_0x490b79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27a7e7,_0x4b8d86)=>{if(_0x4b8d86[0x0]!=_0x396e7b)return _0x2f0b28(_0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b8d86[0x1]={..._0x4b8d86[0x1],[_0x490b79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x55fe0c};},{[_0x490b79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x490b79([0x68,0x69,0x67,0x68])}),_0x346d06[_0x490b79([0x6f,0x6e])](_0x490b79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x275a84=>{_0x2a6eef(_0x275a84[_0x490b79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd8039a=!0x0,_0x5167b4(_0x275a84[_0x490b79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x490b79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x490b79([0x6c,0x6f,0x77])}),_0x34fea1[_0x490b79([0x74,0x68,0x65,0x6e])](()=>{_0xd8039a||_0x2f0b28(_0x490b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27a887(){return _0x346d06[_0x490b79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x490b79([0x76,0x69,0x65,0x77])][_0x490b79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x490b79([0x61,0x75,0x74,0x6f]);}function _0x309ba1(){_0x346d06[_0x490b79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x490b79([0x76,0x69,0x65,0x77])][_0x490b79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x490b79([0x61,0x75,0x74,0x6f]);}}function _0x1a5bb4(_0x422481){const _0x142738=[new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x351559=>setTimeout(_0x351559,0x5db3add8^_0x31ec5b)),_0x34fea1[_0x490b79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31f3b3=>{let _0x4b8715=0x0;_0x346d06[_0x490b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x490b79([0x6f,0x6e])](_0x490b79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x106f14,_0x44987f)=>{_0x44987f[0x0][_0x490b79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8715++,_0x4b8715==(0x5dba92ec^_0x31ec5b)&&(_0x31f3b3(),_0x106f14[_0x490b79([0x6f,0x66,0x66])]());});}))];return window[_0x490b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x490b79([0x72,0x61,0x63,0x65])](_0x142738)[_0x490b79([0x74,0x68,0x65,0x6e])](()=>_0x422481);}async function _0x4e04d0(){await _0x34fea1,_0x346d06[_0x490b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x490b79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bacc7,_0x346d06[_0x490b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x490b79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bacc7,_0x346d06[_0x490b79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x490b79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43f067(_0x5dbda6){const _0x280aed=_0x5e7553();_0x346d06[_0x280aed]=_0x490b79([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])+_0x5dbda6,_0x5dbda6!=_0x490b79([0x56,0x61,0x6c,0x69,0x64])&&_0x4e04d0();}function _0x5e7553(){const _0x2fedf2=window[_0x490b79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x490b79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x490b79([0x6e,0x6f,0x77])]())[_0x490b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x490b79([0x2e]),'');let _0x5baee3=_0x490b79([0x4e]);for(let _0x4ad06d=0x0;_0x4ad06d<_0x2fedf2[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ad06d+=0x2){let _0x3f8f26=window[_0x490b79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fedf2[_0x490b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ad06d,_0x4ad06d+0x2));_0x3f8f26>=_0x39471a[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f8f26-=_0x39471a[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5baee3+=_0x39471a[_0x3f8f26];}return _0x5baee3;}function _0x13b48e(){const _0x106a4b=_0x34e9a7[_0x490b79([0x73,0x70,0x6c,0x69,0x74])](_0x490b79([0x2e]));if(0x3!=_0x106a4b[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c48a2(_0x106a4b[0x1]);function _0x4c48a2(_0x5a74c4){const _0x5138e2=_0x1bb94d(_0x5a74c4);return _0x5138e2&&_0xdba7e3()?_0x5138e2:null;function _0xdba7e3(){const _0x21367f=_0x5138e2[_0x490b79([0x6a,0x74,0x69])],_0x47bdac=window[_0x490b79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21367f[_0x490b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21367f[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c8bff={..._0x5138e2,[_0x490b79([0x6a,0x74,0x69])]:_0x21367f[_0x490b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21367f[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c8bff[_0x490b79([0x76,0x63])],_0x1a7b54(_0x2c8bff)==_0x47bdac;}}}async function _0x3cd4a6(){let _0x2df59c=!0x0;try{const _0x10dd05=_0x34e9a7[_0x490b79([0x73,0x70,0x6c,0x69,0x74])](_0x490b79([0x2e])),[_0x9f82e0,_0x431e92,_0xe1afbe]=_0x10dd05;return _0x5490e5(_0x9f82e0),await _0x4e215e(_0x9f82e0,_0x431e92,_0xe1afbe),_0x2df59c;}catch{return!0x1;}function _0x5490e5(_0x5c475b){const _0x111a7a=_0x1bb94d(_0x5c475b);_0x111a7a&&_0x111a7a[_0x490b79([0x61,0x6c,0x67])]==_0x490b79([0x45,0x53,0x32,0x35,0x36])||(_0x2df59c=!0x1);}async function _0x4e215e(_0x184577,_0x365504,_0x5167de){const _0x4263ca=window[_0x490b79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x490b79([0x66,0x72,0x6f,0x6d])](_0x3bc74b(_0x5167de),_0x4dad46=>_0x4dad46[_0x490b79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25fcdc=new window[(_0x490b79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x490b79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x184577+_0x490b79([0x2e])+_0x365504),_0x5f2aa4=window[_0x490b79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x490b79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5f2aa4)return;const _0xecc527=await _0x5f2aa4[_0x490b79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x490b79([0x6a,0x77,0x6b]),_0x2d69bb,{[_0x490b79([0x6e,0x61,0x6d,0x65])]:_0x490b79([0x45,0x43,0x44,0x53,0x41]),[_0x490b79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x490b79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x490b79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5f2aa4[_0x490b79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x490b79([0x6e,0x61,0x6d,0x65])]:_0x490b79([0x45,0x43,0x44,0x53,0x41]),[_0x490b79([0x68,0x61,0x73,0x68])]:{[_0x490b79([0x6e,0x61,0x6d,0x65])]:_0x490b79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xecc527,_0x4263ca,_0x25fcdc)||(_0x2df59c=!0x1);}}function _0x1bb94d(_0x49f0e7){return _0x49f0e7[_0x490b79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x490b79([0x65,0x79]))?JSON[_0x490b79([0x70,0x61,0x72,0x73,0x65])](_0x3bc74b(_0x49f0e7)):null;}function _0x3bc74b(_0x5bbbb5){return window[_0x490b79([0x61,0x74,0x6f,0x62])](_0x5bbbb5[_0x490b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x490b79([0x2b]))[_0x490b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x490b79([0x2f])));}function _0x1a7b54(_0x264010){let _0x225a2a=0x1505;function _0x182a0a(_0x5cbf0f){for(let _0x3b3358=0x0;_0x3b3358<_0x5cbf0f[_0x490b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b3358++){const _0x173077=_0x5cbf0f[_0x490b79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b3358);_0x225a2a=(_0x225a2a<<0x5)+_0x225a2a+_0x173077,_0x225a2a&=_0x225a2a;}}function _0x1ce784(_0x4bd3f2){Array[_0x490b79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4bd3f2)?_0x4bd3f2[_0x490b79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ce784):_0x4bd3f2&&typeof _0x4bd3f2==_0x490b79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x490b79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4bd3f2)[_0x490b79([0x73,0x6f,0x72,0x74])]()[_0x490b79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56e0de,_0x91cc75])=>{_0x182a0a(_0x56e0de),_0x1ce784(_0x91cc75);}):_0x182a0a(window[_0x490b79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4bd3f2));}return _0x1ce784(_0x264010),_0x225a2a>>>0x0;}function _0x3908da(_0x51ef36){return _0x51ef36[_0x490b79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x490b79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x490b79([0x30]));}function _0x190a06(_0x114bd4){return _0x114bd4[_0x490b79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x490b79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x490b79([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bacc7(){}function _0x490b79(_0x196f49){const _0x5ac657=_0x36b8;return _0x196f49[_0x5ac657(0x11d)](_0x3ea857=>String[_0x5ac657(0xeb)](_0x3ea857))[_0x5ac657(0xd8)]('');}_0x43f067(await _0x2a3ed3());}(this);}[_0x3f1a52(0xf9)](_0x1a6d99,_0x20be32,_0x32e4f9=!0x1){const _0x37e45a=_0x3f1a52,_0x4411ec=new _0x1a6d99(this[_0x37e45a(0xf6)][_0x37e45a(0xdb)]);return _0x4411ec[_0x37e45a(0x10f)]({'withText':_0x32e4f9,'isToggleable':!0x1}),_0x4411ec[_0x37e45a(0xfd)](_0x37e45a(0x11c))['to'](_0x20be32,_0x37e45a(0x11c)),this[_0x37e45a(0xd6)](_0x4411ec,_0x37e45a(0x10d),()=>_0x20be32[_0x37e45a(0x10d)]()),_0x4411ec;}[_0x3f1a52(0xf7)](){const _0xdc3125=_0x3f1a52,_0x5c0532=this[_0xdc3125(0xf6)][_0xdc3125(0xdb)];this[_0xdc3125(0xf6)][_0xdc3125(0x112)][_0xdc3125(0x106)]({'id':_0xdc3125(0xd4),'label':_0x187778(_0x5c0532,_0xdc3125(0xcd))});const _0x4c620a=_0x17c39d[_0xdc3125(0xe5)]||_0x17c39d[_0xdc3125(0x11a)];this[_0xdc3125(0xf6)][_0xdc3125(0x112)][_0xdc3125(0xfe)]({'categoryId':_0xdc3125(0xd4),'keystrokes':[{'label':_0x187778(_0x5c0532,_0xdc3125(0xf0)),'keystroke':_0xdc3125(0x120)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xf4)),'keystroke':_0xdc3125(0x115)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x102)),'keystroke':_0xdc3125(0x10e)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x108)),'keystroke':_0xdc3125(0x113)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xe2)),'keystroke':_0xdc3125(0xd5)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xe1)),'keystroke':_0xdc3125(0x109)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xd1)),'keystroke':_0x4c620a?_0xdc3125(0xd0):_0xdc3125(0xfb)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xcc)),'keystroke':_0xdc3125(0xce)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xd3)),'keystroke':_0xdc3125(0x111)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x11e)),'keystroke':[[_0xdc3125(0xe8)],[_0xdc3125(0xe3)]]},{'label':_0x187778(_0x5c0532,_0xdc3125(0x10c)),'keystroke':_0x4c620a?_0xdc3125(0xcf):_0xdc3125(0xef)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xf2)),'keystroke':_0x4c620a?_0xdc3125(0x110):_0xdc3125(0x116)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x117)),'keystroke':_0xdc3125(0xe6)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xe0)),'keystroke':_0xdc3125(0xee)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xdd)),'keystroke':_0xdc3125(0xde)},{'label':_0x187778(_0x5c0532,_0xdc3125(0x100)),'keystroke':_0xdc3125(0xec)},{'label':_0x187778(_0x5c0532,_0xdc3125(0xe9)),'keystroke':_0x4c620a?_0xdc3125(0xd2):_0xdc3125(0x11f)}]});}}
|