@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
23 lines • 19.3 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x4e3e1b=_0x3fdc;(function(_0x34567e,_0x4be82d){const _0x50cec1=_0x3fdc,_0x3491b4=_0x34567e();while(!![]){try{const _0x2bafce=-parseInt(_0x50cec1(0x187))/0x1*(parseInt(_0x50cec1(0x105))/0x2)+-parseInt(_0x50cec1(0x1a4))/0x3*(parseInt(_0x50cec1(0x111))/0x4)+-parseInt(_0x50cec1(0x115))/0x5+-parseInt(_0x50cec1(0x113))/0x6+parseInt(_0x50cec1(0x19c))/0x7+-parseInt(_0x50cec1(0x139))/0x8+parseInt(_0x50cec1(0x198))/0x9;if(_0x2bafce===_0x4be82d)break;else _0x3491b4['push'](_0x3491b4['shift']());}catch(_0xd66b46){_0x3491b4['push'](_0x3491b4['shift']());}}}(_0x54d1,0xa54a2));import{ContextPlugin as _0x330b0f}from'ckeditor5/src/core.js';import{_isMotionReduced as _0x262090}from'ckeditor5/src/utils.js';import{AIChatView as _0x21655f}from'./ui/aichatview.js';import{AITabs as _0x5da74f}from'../aitabs/aitabs.js';function _0x54d1(){const _0x3ca6bc=['closeSourceResourceBalloon','isWebSearchEnabled','AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','AI_CHAT_HEADING','enqueue','updateFeedItemAIReplySources','value','chatHeader','TrackChanges','setModel','scrollToSuggestion','ai.chat.context.searchInputVisibleFrom','disableControls','queueEmptyPromise','removeFeedInteraction','clear','interactionId','scrollFeedToSuggestion','conversation-start','resetMessageInput','bind','toggleSuggestionDisplayMode','_interactionPromiseResolver','28523dESklp','updateSuggestionItem','chatControls','user-message','ai-suggestion-reply','updateResourceState','setAddContextOptions','isBusy','finishInteraction','view','destroy','setConversationContext','find','addFeedItemStaticMessage','updateFeedItemAIReplySuggestionContent','updateFeedItemAIReplyContent','requires','28165041rHyPBu','setIsMaximized','setFeedItemRenderingStrategy','<p>','3069395UBgtye','length','createConversation','insertSuggestion','ai.chat.models.modelSelectorAlwaysVisible','addFeedItemError','chatFeed','AIChatUI','184218CSKeHj','renderingStrategy','children','values','addContextItem','then','updateReplyItem','28nGSfQS','focusPromptInput','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','setConversationTitle','abort','_promiseQueue','isModelAvailable','from','isLoading','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','interaction-header','8JXIUFH','feedItemRenderingStrategy','3407442GVYpDV','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','2288385CWKDAi','displayedPrompt','startAutoScroll','showResizeButton','error-message','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','updateFeedItemAIReplySuggestionPartState','resetConversationTitle','plugins','delegate','markFeedItemAsDone','chat','setWebSearch','stopInteraction','locale','setContextItemLoading','setModelList','quickActionData','ai-reply','populateSourceResourceBalloon','addFeedItemAISuggestion','forEach','remove','AITabs','isTrackChangesOn','capabilities','toggleLoadingSkeleton','pluginName','getItemIds','addItem','setSelectedModel','AI_CHAT_FEED_LOADING_MESSAGE_REASONING','setIsUploadInProgress','enableModelSelector','_view','updateFeedInteractionHeader','10745520YJJILc','config','setInputPlaceholder','streaming','markItemAsDone','setReasoning','context','isDisabled','contextItems','disableModelSelector','get','filter','label','addFeedInteractionHeader','isDone','updateWebSources','set','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','</p>','isPremiumPlugin','addTab','_getLoadingMessage','_titleAnimationInterval','_animateConversationTitle','commands','isMaximized','addFeedItemUserMessage','stopAutoScroll','has','updateCapabilities','addFeedItemAIReply','clearPendingContextUI','isPending','removeContextItem','userMessage','ai.availableReplyActions','areActionsDisabled','last','isReasoningEnabled','isOfficialPlugin','_isTrackChangesCommandValueBound','clearConversationContextUI','setLoadingMessage','startInteraction','isVisible','_getInputPlaceholder','removeItem','showDiff','options','AI_CHAT_WELCOME_MESSAGE','updateSuggestionPartState','startsWith','enableControls','trackChanges','availableModels'];_0x54d1=function(){return _0x3ca6bc;};return _0x54d1();}import{getTranslation as _0x273aee}from'../aicore/utils/common-translations.js';import{IconAIChat as _0xd84c93}from'ckeditor5/src/icons.js';import{AIChatFeedInteractionHeaderView as _0x49c1a5}from'./ui/feed/aichatfeedinteractionheaderview.js';import{PromiseQueue as _0x48b8dd}from'./utils/promisequeue.js';import{AI_CHAT_UI_EVENT_NAMES as _0x2a81b1}from'./utils/eventnames.js';function _0x3fdc(_0x5a9afb,_0x1031e7){const _0x54d14e=_0x54d1();return _0x3fdc=function(_0x3fdc7c,_0x405c7a){_0x3fdc7c=_0x3fdc7c-0x104;let _0x26091e=_0x54d14e[_0x3fdc7c];return _0x26091e;},_0x3fdc(_0x5a9afb,_0x1031e7);}import'../../theme/aichat/aichat.css';import{getEditorFromContext as _0x37b722}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x10fd3f}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIChatUI extends _0x330b0f{static get[_0x4e3e1b(0x197)](){return[_0x5da74f];}[_0x4e3e1b(0x137)];static get[_0x4e3e1b(0x130)](){const _0x556d3a=_0x4e3e1b;return _0x556d3a(0x1a3);}static get[_0x4e3e1b(0x160)](){return!0x0;}static get[_0x4e3e1b(0x14c)](){return!0x0;}[_0x4e3e1b(0x112)]=_0x4e3e1b(0x13c);[_0x4e3e1b(0x168)]=!0x0;[_0x4e3e1b(0x10b)];[_0x4e3e1b(0x186)];[_0x4e3e1b(0x14f)]=void 0x0;[_0x4e3e1b(0x161)]=!0x1;constructor(_0x3e39f3){const _0x187bdb=_0x4e3e1b;super(_0x3e39f3);const _0x3280d6=this[_0x187bdb(0x13f)][_0x187bdb(0x11d)][_0x187bdb(0x143)](_0x187bdb(0x12c));this[_0x187bdb(0x149)](_0x187bdb(0x18e),!0x1),this[_0x187bdb(0x10b)]=new _0x48b8dd(),this[_0x187bdb(0x137)]=new _0x21655f(this[_0x187bdb(0x13f)][_0x187bdb(0x123)],{'showResizeButton':_0x3280d6[_0x187bdb(0x118)],'contextResourcesSearchInputVisibleFrom':this[_0x187bdb(0x13f)][_0x187bdb(0x13a)][_0x187bdb(0x143)](_0x187bdb(0x17b))}),this[_0x187bdb(0x137)][_0x187bdb(0x11e)](..._0x2a81b1)['to'](this),this[_0x187bdb(0x137)]['on'](_0x187bdb(0x185),(_0x3e61a6,{showDiff:_0x182b2a})=>{const _0xee3b6a=_0x187bdb;this[_0xee3b6a(0x168)]=_0x182b2a;}),_0x3280d6[_0x187bdb(0x190)][_0x187bdb(0x14d)]({'id':_0x187bdb(0x120),'buttonLabel':_0x273aee(this[_0x187bdb(0x13f)][_0x187bdb(0x123)],_0x187bdb(0x173)),'buttonIcon':_0xd84c93,'order':0x0,'content':this[_0x187bdb(0x137)]}),this[_0x187bdb(0x137)][_0x187bdb(0x189)][_0x187bdb(0x184)](_0x187bdb(0x10e))['to'](this,_0x187bdb(0x18e),_0x142dbb=>_0x142dbb),this[_0x187bdb(0x137)][_0x187bdb(0x1a2)][_0x187bdb(0x184)](_0x187bdb(0x159))['to'](this,_0x187bdb(0x18e),_0x222297=>_0x222297),this[_0x187bdb(0x137)][_0x187bdb(0x189)][_0x187bdb(0x13b)](this[_0x187bdb(0x166)]()),this[_0x187bdb(0x184)](_0x187bdb(0x10c))['to'](this[_0x187bdb(0x137)][_0x187bdb(0x189)],_0x187bdb(0x10c));}[_0x4e3e1b(0x191)](){const _0x3ff838=_0x4e3e1b;super[_0x3ff838(0x191)](),this[_0x3ff838(0x14f)]&&clearInterval(this[_0x3ff838(0x14f)]);}[_0x4e3e1b(0x19e)](_0x334de5){const _0x1c46dd=_0x4e3e1b;this[_0x1c46dd(0x137)][_0x1c46dd(0x1a2)][_0x1c46dd(0x17f)](),this[_0x1c46dd(0x137)][_0x1c46dd(0x189)][_0x1c46dd(0x136)](),this[_0x1c46dd(0x137)][_0x1c46dd(0x189)][_0x1c46dd(0x125)](_0x334de5[_0x1c46dd(0x16f)],!this[_0x1c46dd(0x13f)][_0x1c46dd(0x13a)][_0x1c46dd(0x143)](_0x1c46dd(0x1a0))),this[_0x1c46dd(0x194)]({'id':_0x1c46dd(0x182),'staticMessage':_0x273aee(this[_0x1c46dd(0x13f)][_0x1c46dd(0x123)],_0x1c46dd(0x16a))});}[_0x4e3e1b(0x194)]({id:_0x24a09f,staticMessage:_0x3f8a2d}){const _0x8bb6dc=_0x4e3e1b;this[_0x8bb6dc(0x137)][_0x8bb6dc(0x1a2)][_0x8bb6dc(0x132)](_0x8bb6dc(0x127),{'id':_0x24a09f,'initialContent':_0x8bb6dc(0x19b)+_0x3f8a2d+_0x8bb6dc(0x14b)});}[_0x4e3e1b(0x153)](_0x1c0f81){const _0x3c06b9=_0x4e3e1b,_0x459080=_0x1c0f81[_0x3c06b9(0x126)]?.[_0x3c06b9(0x116)]||_0x1c0f81[_0x3c06b9(0x15b)];this[_0x3c06b9(0x137)][_0x3c06b9(0x1a2)][_0x3c06b9(0x132)](_0x3c06b9(0x18a),{'contextItems':Array[_0x3c06b9(0x10d)](_0x1c0f81[_0x3c06b9(0x141)][_0x3c06b9(0x1a7)]()),'initialContent':_0x3c06b9(0x19b)+_0x459080+_0x3c06b9(0x14b),'id':_0x1c0f81['id']});}[_0x4e3e1b(0x1a1)]({errorMessage:_0x5c997d,id:_0x256ae3}){const _0x22bebe=_0x4e3e1b;this[_0x22bebe(0x137)][_0x22bebe(0x1a2)][_0x22bebe(0x132)](_0x22bebe(0x119),{'initialContent':_0x22bebe(0x19b)+_0x5c997d+_0x22bebe(0x14b),'id':_0x256ae3});}[_0x4e3e1b(0x157)](_0x171095){const _0x35db8b=_0x4e3e1b;return this[_0x35db8b(0x10b)][_0x35db8b(0x174)](async()=>{const _0x48204c=_0x35db8b;this[_0x48204c(0x137)][_0x48204c(0x1a2)][_0x48204c(0x132)](_0x48204c(0x127),{'id':_0x171095[_0x48204c(0x180)]+':'+_0x171095['id']}),this[_0x48204c(0x163)](null);});}async[_0x4e3e1b(0x129)](_0x332724){const _0x1f65d0=_0x4e3e1b,_0x312c4a=_0x37b722(this[_0x1f65d0(0x13f)]);let _0x37815f=_0x312c4a[_0x1f65d0(0x13a)][_0x1f65d0(0x143)](_0x1f65d0(0x15c))||[..._0x10fd3f];if(_0x312c4a[_0x1f65d0(0x11d)][_0x1f65d0(0x155)](_0x1f65d0(0x178))){if(!this[_0x1f65d0(0x161)]){this[_0x1f65d0(0x161)]=!0x0;const _0x4c2a27=_0x312c4a[_0x1f65d0(0x151)][_0x1f65d0(0x143)](_0x1f65d0(0x16e));this[_0x1f65d0(0x137)][_0x1f65d0(0x1a2)][_0x1f65d0(0x184)](_0x1f65d0(0x12d))['to'](_0x4c2a27,_0x1f65d0(0x176));}}else _0x37815f=_0x37815f[_0x1f65d0(0x144)](_0x34ed90=>_0x1f65d0(0x19f)!=_0x34ed90);return this[_0x1f65d0(0x10b)][_0x1f65d0(0x174)](async()=>{const _0x44e751=_0x1f65d0;this[_0x44e751(0x137)][_0x44e751(0x1a2)][_0x44e751(0x132)](_0x44e751(0x18b),{'id':_0x332724[_0x44e751(0x180)]+':'+_0x332724['id'],'areActionsDisabled':_0x332724[_0x44e751(0x15d)],'showDiff':this[_0x44e751(0x168)],'availableActions':_0x37815f}),this[_0x44e751(0x163)](null);});}[_0x4e3e1b(0x146)](_0x4e3e1d,_0x2aac8e){const _0x77a190=_0x4e3e1b,_0x429050=this[_0x77a190(0x137)][_0x77a190(0x1a2)][_0x77a190(0x1a6)][_0x77a190(0x15e)];if(_0x429050 instanceof _0x49c1a5)return this[_0x77a190(0x137)][_0x77a190(0x1a2)][_0x77a190(0x1a6)][_0x77a190(0x12b)](_0x429050),void this[_0x77a190(0x137)][_0x77a190(0x1a2)][_0x77a190(0x132)](_0x77a190(0x110),{'id':_0x4e3e1d['id'],'capabilities':{'isWebSearchEnabled':_0x429050[_0x77a190(0x12e)][_0x77a190(0x171)]||_0x2aac8e[_0x77a190(0x171)],'isReasoningEnabled':_0x429050[_0x77a190(0x12e)][_0x77a190(0x15f)]||_0x2aac8e[_0x77a190(0x15f)]}});this[_0x77a190(0x137)][_0x77a190(0x1a2)][_0x77a190(0x132)](_0x77a190(0x110),{'id':_0x4e3e1d['id'],'capabilities':_0x2aac8e});}[_0x4e3e1b(0x138)](_0x548f08){const _0x3029f9=_0x4e3e1b,_0xcae46d=this[_0x3029f9(0x137)][_0x3029f9(0x1a2)][_0x3029f9(0x1a6)][_0x3029f9(0x193)](_0x191344=>_0x191344[_0x3029f9(0x169)]['id']==_0x548f08['id']&&_0x191344 instanceof _0x49c1a5);_0xcae46d&&_0xcae46d[_0x3029f9(0x149)](_0x3029f9(0x165),_0x548f08[_0x3029f9(0x165)]);}async[_0x4e3e1b(0x196)](_0x3a16a3){const _0x520f10=_0x4e3e1b,_0x502071=_0x3a16a3[_0x520f10(0x1a5)]||this[_0x520f10(0x112)];return this[_0x520f10(0x10b)][_0x520f10(0x174)](async _0x2b705e=>{const _0x108ca7=_0x520f10;await this[_0x108ca7(0x137)][_0x108ca7(0x1a2)][_0x108ca7(0x104)]({..._0x3a16a3,'abortSignal':_0x2b705e,'renderingStrategy':_0x502071}),_0x3a16a3[_0x108ca7(0x147)]&&this[_0x108ca7(0x11f)](_0x3a16a3['id']);});}[_0x4e3e1b(0x175)](_0x465c5b,_0xe45395){const _0x1e32d7=_0x4e3e1b;this[_0x1e32d7(0x137)][_0x1e32d7(0x1a2)][_0x1e32d7(0x148)](_0x465c5b,_0xe45395);}async[_0x4e3e1b(0x195)](_0x29a328){const _0x599ccd=_0x4e3e1b,_0x2bca9b=_0x29a328[_0x599ccd(0x1a5)]||this[_0x599ccd(0x112)];return this[_0x599ccd(0x10b)][_0x599ccd(0x174)](async _0x156676=>{const _0x1840ce=_0x599ccd;await this[_0x1840ce(0x137)][_0x1840ce(0x1a2)][_0x1840ce(0x188)]({..._0x29a328,'abortSignal':_0x156676,'renderingStrategy':_0x2bca9b}),_0x29a328[_0x1840ce(0x147)]&&this[_0x1840ce(0x11f)](_0x29a328['id']);});}[_0x4e3e1b(0x11b)](_0x2b14bf){const _0x41cef5=_0x4e3e1b;this[_0x41cef5(0x137)][_0x41cef5(0x1a2)][_0x41cef5(0x16b)](_0x2b14bf);}[_0x4e3e1b(0x11f)](_0xb267ed){const _0x4bf56f=_0x4e3e1b;this[_0x4bf56f(0x137)][_0x4bf56f(0x1a2)][_0x4bf56f(0x13d)](_0xb267ed);}[_0x4e3e1b(0x17e)](_0x504a06){const _0x31a47f=_0x4e3e1b;this[_0x31a47f(0x137)][_0x31a47f(0x1a2)][_0x31a47f(0x131)]()[_0x31a47f(0x144)](_0x2a66a7=>_0x2a66a7[_0x31a47f(0x16c)](_0x504a06))[_0x31a47f(0x12a)](_0x435f20=>this[_0x31a47f(0x137)][_0x31a47f(0x1a2)][_0x31a47f(0x167)](_0x435f20));}[_0x4e3e1b(0x164)](){const _0xef4361=_0x4e3e1b;this[_0xef4361(0x163)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1}),this[_0xef4361(0x137)][_0xef4361(0x189)][_0xef4361(0x142)](!this[_0xef4361(0x13f)][_0xef4361(0x13a)][_0xef4361(0x143)](_0xef4361(0x1a0))),this[_0xef4361(0x18e)]=!0x0,this[_0xef4361(0x137)][_0xef4361(0x1a2)][_0xef4361(0x117)]();}[_0x4e3e1b(0x122)](_0x361e65){const _0x37f481=_0x4e3e1b;this[_0x37f481(0x10b)][_0x37f481(0x10a)](),this[_0x37f481(0x137)][_0x37f481(0x1a2)][_0x37f481(0x131)]()[_0x37f481(0x144)](_0x4354cb=>_0x4354cb[_0x37f481(0x16c)](_0x361e65['id']))[_0x37f481(0x12a)](_0x2cf29a=>this[_0x37f481(0x11f)](_0x2cf29a)),this[_0x37f481(0x18e)]=!0x1,this[_0x37f481(0x137)][_0x37f481(0x1a2)][_0x37f481(0x154)]();}async[_0x4e3e1b(0x18f)](){const _0x5efe46=_0x4e3e1b;return this[_0x5efe46(0x10b)][_0x5efe46(0x17d)][_0x5efe46(0x1a9)](()=>{const _0x5d5b56=_0x5efe46;this[_0x5d5b56(0x18e)]=!0x1,this[_0x5d5b56(0x137)][_0x5d5b56(0x1a2)][_0x5d5b56(0x154)]();});}[_0x4e3e1b(0x1a8)](_0x21ef9e,_0x4cb3c2){const _0x541660=_0x4e3e1b;this[_0x541660(0x137)][_0x541660(0x189)][_0x541660(0x1a8)](_0x21ef9e,_0x4cb3c2);}[_0x4e3e1b(0x15a)](_0x2c8d5e){const _0x2f2456=_0x4e3e1b;this[_0x2f2456(0x137)][_0x2f2456(0x189)][_0x2f2456(0x15a)](_0x2c8d5e);}[_0x4e3e1b(0x124)](_0x363c74,_0x5a36d5){const _0x259785=_0x4e3e1b;this[_0x259785(0x137)][_0x259785(0x189)][_0x259785(0x124)](_0x363c74,_0x5a36d5);}[_0x4e3e1b(0x135)](_0x522354){const _0x29df07=_0x4e3e1b;this[_0x29df07(0x137)][_0x29df07(0x189)][_0x29df07(0x135)](_0x522354);}[_0x4e3e1b(0x192)](_0x41d9ad){const _0x307859=_0x4e3e1b;this[_0x307859(0x137)][_0x307859(0x189)][_0x307859(0x192)](_0x41d9ad);}[_0x4e3e1b(0x158)](){const _0xd97a7c=_0x4e3e1b;this[_0xd97a7c(0x137)][_0xd97a7c(0x189)][_0xd97a7c(0x158)]();}[_0x4e3e1b(0x162)](){const _0x45e5f1=_0x4e3e1b;this[_0x45e5f1(0x137)][_0x45e5f1(0x189)][_0x45e5f1(0x162)]();}[_0x4e3e1b(0x18c)](_0x5238ca,_0x3e9c3b,_0x26d790){const _0x533cef=_0x4e3e1b;this[_0x533cef(0x137)][_0x533cef(0x189)][_0x533cef(0x18c)](_0x5238ca,_0x3e9c3b,_0x26d790);}[_0x4e3e1b(0x183)](){const _0x48fada=_0x4e3e1b;this[_0x48fada(0x137)][_0x48fada(0x189)][_0x48fada(0x183)](),this[_0x48fada(0x137)][_0x48fada(0x189)][_0x48fada(0x13b)](this[_0x48fada(0x166)]());}[_0x4e3e1b(0x18d)](_0x3c238c){const _0x528819=_0x4e3e1b;this[_0x528819(0x137)][_0x528819(0x189)][_0x528819(0x18d)](_0x3c238c);}[_0x4e3e1b(0x156)](_0x284803){const _0xdea1ae=_0x4e3e1b;this[_0xdea1ae(0x137)][_0xdea1ae(0x189)][_0xdea1ae(0x121)](_0x284803[_0xdea1ae(0x171)]),this[_0xdea1ae(0x137)][_0xdea1ae(0x189)][_0xdea1ae(0x13e)](_0x284803[_0xdea1ae(0x15f)]),this[_0xdea1ae(0x137)][_0xdea1ae(0x189)][_0xdea1ae(0x13b)](this[_0xdea1ae(0x166)](_0x284803));}[_0x4e3e1b(0x133)](_0x582551,_0x25071e){const _0x23433b=_0x4e3e1b;this[_0x23433b(0x137)][_0x23433b(0x189)][_0x23433b(0x179)](_0x582551),_0x25071e&&this[_0x23433b(0x137)][_0x23433b(0x189)][_0x23433b(0x142)](!0x1);}[_0x4e3e1b(0x19a)](_0x109cf0){const _0x568ddf=_0x4e3e1b;this[_0x568ddf(0x112)]=_0x109cf0;}[_0x4e3e1b(0x12f)](_0x1c8030){const _0x551f28=_0x4e3e1b;this[_0x551f28(0x137)][_0x551f28(0x1a2)][_0x551f28(0x12f)](_0x1c8030);}[_0x4e3e1b(0x11c)](){const _0x44fceb=_0x4e3e1b;this[_0x44fceb(0x109)](_0x273aee(this[_0x44fceb(0x13f)][_0x44fceb(0x123)],_0x44fceb(0x173)));}[_0x4e3e1b(0x109)](_0x24c2b2,_0x5c31c1=!0x1){const _0x11419c=_0x4e3e1b;if(_0x5c31c1&&!_0x262090()&&_0x24c2b2[_0x11419c(0x19d)])return this[_0x11419c(0x137)][_0x11419c(0x177)][_0x11419c(0x145)]='',void this[_0x11419c(0x150)](_0x24c2b2);this[_0x11419c(0x137)][_0x11419c(0x177)][_0x11419c(0x145)]=_0x24c2b2;}[_0x4e3e1b(0x163)](_0x29b029){const _0x14aaed=_0x4e3e1b,_0xab2cdf=this[_0x14aaed(0x14e)](_0x29b029);this[_0x14aaed(0x137)][_0x14aaed(0x1a2)][_0x14aaed(0x163)](_0xab2cdf);}[_0x4e3e1b(0x150)](_0x11b1e7){const _0x2ce424=_0x4e3e1b;let _0x5a5e1b=0x0;clearInterval(this[_0x2ce424(0x14f)]),this[_0x2ce424(0x14f)]=setInterval(()=>{const _0x218b90=_0x2ce424;this[_0x218b90(0x137)][_0x218b90(0x177)][_0x218b90(0x145)]=this[_0x218b90(0x137)][_0x218b90(0x177)][_0x218b90(0x145)]+_0x11b1e7[_0x5a5e1b],_0x5a5e1b++,_0x5a5e1b===_0x11b1e7[_0x218b90(0x19d)]&&clearInterval(this[_0x218b90(0x14f)]);},0x1e);}[_0x4e3e1b(0x199)](_0x4c7a7c){const _0x32d7bc=_0x4e3e1b;this[_0x32d7bc(0x137)][_0x32d7bc(0x177)][_0x32d7bc(0x152)]=_0x4c7a7c;}[_0x4e3e1b(0x14e)](_0xa7dca9){const _0x8bd827=_0x4e3e1b;return _0xa7dca9?_0xa7dca9[_0x8bd827(0x171)]&&_0xa7dca9[_0x8bd827(0x15f)]?_0x273aee(this[_0x8bd827(0x13f)][_0x8bd827(0x123)],_0x8bd827(0x14a)):_0xa7dca9[_0x8bd827(0x171)]?_0x273aee(this[_0x8bd827(0x13f)][_0x8bd827(0x123)],_0x8bd827(0x107)):_0xa7dca9[_0x8bd827(0x15f)]?_0x273aee(this[_0x8bd827(0x13f)][_0x8bd827(0x123)],_0x8bd827(0x134)):_0x273aee(this[_0x8bd827(0x13f)][_0x8bd827(0x123)],_0x8bd827(0x172)):'';}[_0x4e3e1b(0x166)](_0x5c13cb){const _0x12679a=_0x4e3e1b;return _0x5c13cb?_0x5c13cb[_0x12679a(0x171)]&&_0x5c13cb[_0x12679a(0x15f)]?_0x273aee(this[_0x12679a(0x13f)][_0x12679a(0x123)],_0x12679a(0x11a)):_0x5c13cb[_0x12679a(0x171)]?_0x273aee(this[_0x12679a(0x13f)][_0x12679a(0x123)],_0x12679a(0x108)):_0x5c13cb[_0x12679a(0x15f)]?_0x273aee(this[_0x12679a(0x13f)][_0x12679a(0x123)],_0x12679a(0x114)):_0x273aee(this[_0x12679a(0x13f)][_0x12679a(0x123)],_0x12679a(0x10f)):_0x273aee(this[_0x12679a(0x13f)][_0x12679a(0x123)],_0x12679a(0x10f));}[_0x4e3e1b(0x128)](_0x309970,_0x568191,_0x126a74,_0x51e21e){const _0x286f27=_0x4e3e1b;this[_0x286f27(0x137)][_0x286f27(0x128)](_0x309970,_0x568191,_0x126a74,_0x51e21e);}[_0x4e3e1b(0x170)](_0x22dfaf){const _0x366f95=_0x4e3e1b;this[_0x366f95(0x137)][_0x366f95(0x170)](_0x22dfaf);}[_0x4e3e1b(0x106)](){const _0x88f428=_0x4e3e1b;this[_0x88f428(0x137)][_0x88f428(0x189)][_0x88f428(0x106)]();}[_0x4e3e1b(0x181)](_0x37a626,_0x2a32de){const _0x3e0171=_0x4e3e1b;this[_0x3e0171(0x137)][_0x3e0171(0x1a2)][_0x3e0171(0x17a)](_0x37a626,_0x2a32de);}[_0x4e3e1b(0x117)](){const _0x13165=_0x4e3e1b;this[_0x13165(0x137)][_0x13165(0x1a2)][_0x13165(0x117)]();}[_0x4e3e1b(0x17c)](){const _0x2c87d2=_0x4e3e1b;this[_0x2c87d2(0x137)][_0x2c87d2(0x189)][_0x2c87d2(0x140)]=!0x0;}[_0x4e3e1b(0x16d)](){const _0x3b6677=_0x4e3e1b;this[_0x3b6677(0x137)][_0x3b6677(0x189)][_0x3b6677(0x140)]=!0x1;}}