@ckeditor/ckeditor5-ai 47.0.0-alpha.4 → 47.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/ckeditor5-metadata.json +14 -0
- package/dist/index-editor.css +27 -3
- package/dist/index.css +28 -3
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +1 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +2 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
- package/src/aieditorintegration/aieditorintegration.js +23 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.d.ts +6 -0
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/augmentation.d.ts +6 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls.css +6 -0
- package/theme/aichat/aichat.css +2 -0
- package/theme/aichat/aisuggestioncontainer.css +8 -2
- package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
- package/theme/aireviewmode/aireviewmode-check-run-result.css +5 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3bf848=_0x37b1;(function(_0x117d7b,_0xcbd184){const _0xb9abdd=_0x37b1,_0xa582c9=_0x117d7b();while(!![]){try{const _0x3218a9=-parseInt(_0xb9abdd(0x177))/0x1*(parseInt(_0xb9abdd(0x13b))/0x2)+-parseInt(_0xb9abdd(0x138))/0x3+-parseInt(_0xb9abdd(0x154))/0x4*(-parseInt(_0xb9abdd(0x11b))/0x5)+parseInt(_0xb9abdd(0xfe))/0x6+-parseInt(_0xb9abdd(0x123))/0x7*(-parseInt(_0xb9abdd(0x16f))/0x8)+parseInt(_0xb9abdd(0x139))/0x9*(-parseInt(_0xb9abdd(0x137))/0xa)+parseInt(_0xb9abdd(0x19d))/0xb;if(_0x3218a9===_0xcbd184)break;else _0xa582c9['push'](_0xa582c9['shift']());}catch(_0x3dfc95){_0xa582c9['push'](_0xa582c9['shift']());}}}(_0x92bd,0x7a584));import{Plugin as _0x21588a}from'ckeditor5/src/core.js';import{AIConnector as _0x39ff21}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x3ef99d}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x7df965,ButtonView as _0x25b5aa,ViewCollection as _0x49d14b}from'ckeditor5/src/ui.js';import{AIEditing as _0x3e2da7}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x49370d}from'./model/aiactionsinteraction.js';import{first as _0x5c41d9}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x3ef410,IconRefresh as _0x14e571}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x5f0829}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0xc76e13}from'../aichat/utils/promisequeue.js';function _0x37b1(_0x2dffc0,_0x2fabf4){const _0x92bde7=_0x92bd();return _0x37b1=function(_0x37b149,_0x389378){_0x37b149=_0x37b149-0xfd;let _0x597eff=_0x92bde7[_0x37b149];return _0x597eff;},_0x37b1(_0x2dffc0,_0x2fabf4);}import{getTranslation as _0x3262f6}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x3a0cd4}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x3c6ec5}from'@ckeditor/ckeditor5-collaboration-core';import{getOperationsFromReply as _0x1ec18f}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x45f213,ModelRange as _0x16efab,ModelPosition as _0x212b84,_DetachOperation as _0x19ba96,transformOperationSets as _0x8e874d}from'ckeditor5/src/engine.js';function _0x92bd(){const _0x1c0e2c=['pluginName','_setLoadingState','plugins','history','createPositionBefore','ck-ai-custom-action-button','_children','replies','AIConnector','indexOf','_execute','static','error','toData','bodyView','replyContentUpdated','10554687YpQaLk','isPremiumPlugin','getDocumentContext','focus','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','nodeAfter','startsWith','_clearLoadingState','toggleSuggestionDisplayMode','sourcePosition','addOperation','data','get','root','first','_appendChild','_interaction','hasPendingParts','573720HzKQfD','balloonView','stopInteraction','getSelectionAsFragment','bind','applyOperation','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','getChildAtOffset','applySuggestion','_filterOperationsOutsideRange','getFirstRange','nextSibling','_clearSuggestionContent','split','_getExecuteDataInTable','_stopInteraction','TrackChangesEditing','editor','getChild','queueEmptyPromise','createPositionAt','dialogClosed','clone','_currentInteractionParams','stop','setLoading','enqueue','getSelectedContent','insert','70YAzsuz','No\x20current\x20interaction\x20to\x20refresh','_customViews','getLimitElement','change','slice','add','executeAction','371AhLDIU','setSelection','type','createRange','_clone','move','baseVersion','push','warn','listenTo','model','hideLoader','Error\x20updating\x20content\x20in\x20replyCreated:','filter','showLoader','path','_clearInteractionHistory','length','getOperations','Error\x20refreshing\x20interaction:','20CmBKzD','2048049VIFoXy','82305sKgnJC','modelToViewWithIds','4YBAsTS','Error\x20updating\x20content\x20in\x20replyContentUpdated:','documentFragment','isOfficialPlugin','batch','Attribute','selection','isBusy','insertSuggestion','howMany','replyCreated','isEnabled','changeGroups','rename','getSelectedBlocks','previousInteractions','_refreshInteraction','abort','merge','_getExecuteDataRegular','streaming','icon','random','_setupCustomViews','AI_ACTIONS_TRY_AGAIN','98216iIiype','_promiseQueue','remove','getAncestors','isDocumentOperation','stopListening','ai-request-aborted','end','$graveyard','AIActions','requires','close','processor','getRanges','_isAbortError','has','_wrapWithCommonAncestors','AIBalloon','reinsert','createPositionAfter','getRoot','updateContent','isCollapsed','_applyOperationsAsSuggestions','start','operationsA','position','66608NemvfL','range','execute','locale','set','map','_anchorOperation','getSelectedTableCells','319037TFXUhC','getCommonAncestor','includes','TableSelection','document','message','parent','open','rootName','_aiConnector','catch','clearLoading','stickiness','_createInteraction','documentContextContent','_balloonShowDiff','version','interactionFinished','_executeAction','schema','_previousInteractions','_applyChanges'];_0x92bd=function(){return _0x1c0e2c;};return _0x92bd();}export class AIActions extends _0x21588a{static get[_0x3bf848(0x15e)](){return[_0x39ff21,_0x7df965,_0x3e2da7,_0x5f0829,_0x3c6ec5];}static get[_0x3bf848(0x18d)](){const _0x21fa9b=_0x3bf848;return _0x21fa9b(0x15d);}static get[_0x3bf848(0x13e)](){return!0x0;}static get[_0x3bf848(0x19e)](){return!0x0;}[_0x3bf848(0x180)];[_0x3bf848(0x18b)]=[];[_0x3bf848(0x115)];[_0x3bf848(0x186)]=!0x1;[_0x3bf848(0x11d)]=new _0x49d14b();[_0x3bf848(0x155)];constructor(_0x37b382){const _0x262b00=_0x3bf848;super(_0x37b382),this[_0x262b00(0x180)]=this[_0x262b00(0x10f)][_0x262b00(0x18f)][_0x262b00(0x1a9)](_0x262b00(0x195)),this[_0x262b00(0x173)](_0x262b00(0x142),!0x1),this[_0x262b00(0x155)]=new _0xc76e13(),this[_0x262b00(0x152)]();}[_0x3bf848(0x100)](){const _0x1394ac=_0x3bf848;this[_0x1394ac(0x10d)]();}get[_0x3bf848(0x14a)](){const _0x4e271a=_0x3bf848;return this[_0x4e271a(0x18b)];}async[_0x3bf848(0x122)](_0x49e18e,_0x27eda4,_0x4fe43d){const _0x10b656=_0x3bf848;if(this[_0x10b656(0x10f)][_0x10b656(0x18f)][_0x10b656(0x163)](_0x10b656(0x17a))){if(this[_0x10b656(0x10f)][_0x10b656(0x18f)][_0x10b656(0x1a9)](_0x10b656(0x17a))[_0x10b656(0x176)]()){const {modelFragment:_0x3d3aaa,anchorData:_0x381c4d}=this[_0x10b656(0x10c)]();return this[_0x10b656(0x189)](_0x49e18e,_0x3d3aaa,_0x381c4d,_0x27eda4,_0x4fe43d);}}const {modelFragment:_0x131147,anchorData:_0x21baf6}=this[_0x10b656(0x14e)]();return this[_0x10b656(0x189)](_0x49e18e,_0x131147,_0x21baf6,_0x27eda4,_0x4fe43d);}[_0x3bf848(0x14e)](){const _0x550be2=_0x3bf848,_0x11f587=this[_0x550be2(0x10f)][_0x550be2(0x12d)][_0x550be2(0x17b)][_0x550be2(0x141)];if(_0x11f587[_0x550be2(0x16a)]){const _0x249792=_0x5c41d9(_0x11f587[_0x550be2(0x149)]())||this[_0x550be2(0x10f)][_0x550be2(0x12d)][_0x550be2(0x18a)][_0x550be2(0x11e)](_0x11f587);this[_0x550be2(0x10f)][_0x550be2(0x12d)][_0x550be2(0x11f)](_0x2cdb77=>{const _0x1e8521=_0x550be2;_0x2cdb77[_0x1e8521(0x124)](_0x249792,'in');});}const _0x1b78c6=_0x11f587[_0x550be2(0x108)](),_0x41aac7=this[_0x550be2(0x164)](this[_0x550be2(0x10f)][_0x550be2(0x12d)][_0x550be2(0x119)](_0x11f587),_0x1b78c6[_0x550be2(0x16c)],_0x1b78c6[_0x550be2(0x15b)]),_0x597073=_0x11f587[_0x550be2(0x108)]()[_0x550be2(0x16c)],_0x467f4a=new Map();let _0x5f1ad0=_0x41aac7;for(let _0x2ca294=0x0;_0x2ca294<_0x597073[_0x550be2(0x132)][_0x550be2(0x134)];_0x2ca294++)_0x467f4a[_0x550be2(0x173)](_0x5f1ad0,_0x597073[_0x550be2(0x132)][_0x2ca294]),_0x5f1ad0=_0x5f1ad0[_0x550be2(0x110)](0x0);return{'modelFragment':_0x41aac7,'anchorData':_0x467f4a};}[_0x3bf848(0x10c)](){const _0x411cb5=_0x3bf848,_0x5c1db9=this[_0x411cb5(0x10f)][_0x411cb5(0x12d)][_0x411cb5(0x17b)][_0x411cb5(0x141)],_0x4ee17d=this[_0x411cb5(0x10f)][_0x411cb5(0x18f)][_0x411cb5(0x1a9)](_0x411cb5(0x17a))[_0x411cb5(0x101)](),_0x3b1928=_0x5c1db9[_0x411cb5(0x108)]()[_0x411cb5(0x16c)][_0x411cb5(0x17d)][_0x411cb5(0x17d)],_0x1195cc=this[_0x411cb5(0x164)](_0x4ee17d,this[_0x411cb5(0x10f)][_0x411cb5(0x12d)][_0x411cb5(0x191)](_0x3b1928),this[_0x411cb5(0x10f)][_0x411cb5(0x12d)][_0x411cb5(0x167)](_0x3b1928)),_0x226e6a=_0x5c1db9[_0x411cb5(0x108)]()[_0x411cb5(0x16c)],_0x5d39bc=new Map();let _0x40d2d1=_0x1195cc;for(let _0x37fa89=0x0;_0x37fa89<_0x226e6a[_0x411cb5(0x132)][_0x411cb5(0x134)];_0x37fa89++)if(_0x5d39bc[_0x411cb5(0x173)](_0x40d2d1,_0x226e6a[_0x411cb5(0x132)][_0x37fa89]),_0x37fa89<_0x226e6a[_0x411cb5(0x132)][_0x411cb5(0x134)]-0x1)_0x40d2d1=_0x40d2d1[_0x411cb5(0x110)](0x0);else{let _0x52924e=_0x40d2d1[_0x411cb5(0x109)];for(;_0x52924e;)_0x5d39bc[_0x411cb5(0x173)](_0x52924e,_0x226e6a[_0x411cb5(0x132)][_0x37fa89]),_0x52924e=_0x52924e[_0x411cb5(0x109)];}return{'modelFragment':_0x1195cc,'anchorData':_0x5d39bc};}[_0x3bf848(0x189)](_0x58d447,_0x502331,_0x1ae982,_0x48ef6b,_0x1382e8){const _0x1bab37=_0x3bf848,_0x12c573=this[_0x1bab37(0x10f)][_0x1bab37(0x18f)][_0x1bab37(0x1a9)](_0x3e2da7),_0x505059=this[_0x1bab37(0x10f)][_0x1bab37(0x18f)][_0x1bab37(0x1a9)](_0x5f0829),_0x2f939e=this[_0x1bab37(0x10f)][_0x1bab37(0x12d)][_0x1bab37(0x17b)][_0x1bab37(0x141)],_0x2f7dd7=_0x12c573[_0x1bab37(0x13a)](_0x502331),_0x253bb0=this[_0x1bab37(0x10f)][_0x1bab37(0x1a8)][_0x1bab37(0x160)][_0x1bab37(0x19a)](_0x2f7dd7),_0x3dff34=this[_0x1bab37(0x10f)][_0x1bab37(0x12d)][_0x1bab37(0x17b)][_0x1bab37(0x187)],_0x26708c=[..._0x2f939e[_0x1bab37(0x161)]()],_0x23a0ad=new _0x3ef99d(this[_0x1bab37(0x10f)][_0x1bab37(0x172)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x1bab37(0x150),'customView':this[_0x1bab37(0x11d)]},'showUnchangedParts':!0x0});return _0x505059[_0x1bab37(0x17e)]({'index':0x3e8*Math[_0x1bab37(0x151)]()%0x3e8,'title':_0x48ef6b,'icon':_0x1382e8||_0x3ef410,'mainView':_0x23a0ad,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x26708c}),this[_0x1bab37(0x18e)](_0x23a0ad,_0x505059),this[_0x1bab37(0x12c)](_0x505059,_0x1bab37(0x106),()=>{const _0x4cf0dd=_0x1bab37;this[_0x4cf0dd(0x18c)](_0x502331,_0x1ae982,!0x1);}),this[_0x1bab37(0x12c)](_0x505059,_0x1bab37(0x143),()=>{const _0x44f036=_0x1bab37;this[_0x44f036(0x18c)](_0x502331,_0x1ae982,!0x0);}),this[_0x1bab37(0x12c)](_0x505059,_0x1bab37(0x113),()=>{const _0x87d6a4=_0x1bab37;this[_0x87d6a4(0x10d)](),this[_0x87d6a4(0x133)](),this[_0x87d6a4(0x159)](_0x505059);}),this[_0x1bab37(0x184)](_0x253bb0,_0x3dff34,_0x23a0ad,_0x505059,_0x58d447);}[_0x3bf848(0x164)](_0x3ff2e9,_0x3e03ba,_0x1cdfab){const _0x5ebbdd=_0x3bf848,_0x501ecc=this[_0x5ebbdd(0x10f)][_0x5ebbdd(0x12d)][_0x5ebbdd(0x126)](_0x3e03ba,_0x1cdfab)[_0x5ebbdd(0x178)](),_0x1b2265=_0x501ecc['is'](_0x5ebbdd(0x13d))?[]:_0x501ecc[_0x5ebbdd(0x157)]({'includeSelf':!0x0})[_0x5ebbdd(0x120)](0x1);if(_0x1b2265[_0x5ebbdd(0x134)]){const _0x15bf56=_0x1b2265[_0x5ebbdd(0x174)](_0xc97685=>_0xc97685[_0x5ebbdd(0x127)](!0x1));for(let _0x3ccea8=0x1;_0x3ccea8<_0x15bf56[_0x5ebbdd(0x134)];_0x3ccea8++)_0x15bf56[_0x3ccea8-0x1][_0x5ebbdd(0x1ac)](_0x15bf56[_0x3ccea8]);return _0x15bf56[_0x15bf56[_0x5ebbdd(0x134)]-0x1][_0x5ebbdd(0x1ac)](_0x3ff2e9),new _0x45f213(_0x15bf56[0x0]);}return _0x3ff2e9;}async[_0x3bf848(0x184)](_0x1d2875,_0x5126ba,_0x2ba3d8,_0x5b541c,_0x47b823){const _0x20f4d1=_0x3bf848,_0x253747=this[_0x20f4d1(0x10f)];this[_0x20f4d1(0x115)]={'action':_0x47b823,'content':_0x1d2875,'version':_0x5126ba,'mainView':_0x2ba3d8,'aiBalloon':_0x5b541c},this[_0x20f4d1(0x1ad)]=new _0x49370d({'connector':this[_0x20f4d1(0x180)],'editor':_0x253747,'content':_0x1d2875,'version':_0x5126ba,..._0x47b823});const _0x4c49cf=(_0x5c1fd9,_0x7b0c16,_0x386a03=!0x1,_0x92637e=_0x20f4d1(0x14f))=>this[_0x20f4d1(0x155)][_0x20f4d1(0x118)](async _0x167922=>{const _0x590ae5=_0x20f4d1;try{const _0x247eeb=_0x3a0cd4({'editor':_0x253747,'changeGroups':_0x5c1fd9[_0x590ae5(0x147)],'documentContextContent':_0x5c1fd9[_0x590ae5(0x185)],'showDiff':_0x386a03,'trimUnchanged':!0x1});await _0x7b0c16[_0x590ae5(0x169)]({'parts':_0x247eeb,'renderingStrategy':_0x92637e,'abortSignal':_0x167922});}catch(_0x3a251){if(this[_0x590ae5(0x162)](_0x3a251))return;throw _0x3a251;}});this[_0x20f4d1(0x1ad)]['on'](_0x20f4d1(0x145),(_0x5b1a9f,_0x4a18cf)=>{const _0x5504e8=_0x20f4d1;_0x2ba3d8[_0x5504e8(0x12e)](),_0x4c49cf(_0x4a18cf,_0x2ba3d8)[_0x5504e8(0x181)](_0x54642c=>{const _0x31ba88=_0x5504e8;this[_0x31ba88(0x162)](_0x54642c)||console[_0x31ba88(0x199)](_0x31ba88(0x12f),_0x54642c);});}),this[_0x20f4d1(0x1ad)]['on'](_0x20f4d1(0x19c),(_0x35df11,_0x4714ad)=>{const _0x43a950=_0x20f4d1;_0x4c49cf(_0x4714ad,_0x2ba3d8)[_0x43a950(0x181)](_0x2b9e16=>{const _0x31acd8=_0x43a950;this[_0x31acd8(0x162)](_0x2b9e16)||console[_0x31acd8(0x199)](_0x31acd8(0x13c),_0x2b9e16);});}),this[_0x20f4d1(0x1ad)]['on'](_0x20f4d1(0x188),async()=>{const _0x453911=_0x20f4d1;try{await this[_0x453911(0x1a4)](_0x2ba3d8,_0x5b541c);}catch(_0x3771ff){this[_0x453911(0x162)](_0x3771ff)||console[_0x453911(0x199)](_0x453911(0x1a1),_0x3771ff);}}),this[_0x20f4d1(0x12c)](_0x2ba3d8,_0x20f4d1(0x1a5),(_0x51dbdc,{showDiff:_0x45a5c0})=>{const _0xf77069=_0x20f4d1;this[_0xf77069(0x186)]=_0x45a5c0;const _0x14f7ab=this[_0xf77069(0x1ad)][_0xf77069(0x194)][this[_0xf77069(0x1ad)][_0xf77069(0x194)][_0xf77069(0x134)]-0x1];_0x14f7ab&&_0x4c49cf(_0x14f7ab,_0x2ba3d8,_0x45a5c0,_0xf77069(0x198))[_0xf77069(0x181)](_0x63dd3f=>{const _0x5bfb04=_0xf77069;this[_0x5bfb04(0x162)](_0x63dd3f)||console[_0x5bfb04(0x199)](_0x5bfb04(0x104),_0x63dd3f);});}),this[_0x20f4d1(0x18e)](_0x2ba3d8,_0x5b541c);try{return await this[_0x20f4d1(0x1ad)][_0x20f4d1(0x16c)]();}catch(_0x2f17f0){if(this[_0x20f4d1(0x162)](_0x2f17f0))return;throw _0x2f17f0;}}[_0x3bf848(0x18c)](_0x56115d,_0x1dfc09,_0x10fc3b){const _0x499b2f=_0x3bf848,_0x4a465f=this[_0x499b2f(0x10f)],_0x17aa13=this[_0x499b2f(0x10f)][_0x499b2f(0x18f)][_0x499b2f(0x1a9)](_0x3c6ec5),_0x59a58e=this[_0x499b2f(0x1ad)],_0x3d8048=this[_0x499b2f(0x1ad)][_0x499b2f(0x194)][this[_0x499b2f(0x1ad)][_0x499b2f(0x194)][_0x499b2f(0x134)]-0x1],_0x53682d=_0x3d8048[_0x499b2f(0x147)];let _0x1afe93=_0x1ec18f({'editor':_0x4a465f,'reply':_0x3d8048,'interaction':_0x59a58e,'groups':_0x53682d,'transform':!0x1,'documentCompare':_0x17aa13,'documentCompareOptions':{'anchor':_0x4a465f[_0x499b2f(0x12d)][_0x499b2f(0x112)](_0x56115d,0x0),'markDeletions':_0x10fc3b}});_0x1afe93=this[_0x499b2f(0x107)](_0x1afe93,_0x1dfc09);for(const _0x22a453 of _0x1afe93)this[_0x499b2f(0x175)](_0x1dfc09,_0x22a453,_0x4a465f[_0x499b2f(0x12d)][_0x499b2f(0x17b)][_0x499b2f(0x168)]());const _0x462eb5=_0x59a58e[_0x499b2f(0x19f)]()[_0x499b2f(0x187)],_0x128091=_0x4a465f[_0x499b2f(0x12d)][_0x499b2f(0x17b)][_0x499b2f(0x190)][_0x499b2f(0x135)](_0x462eb5),_0x9dd3a={'document':_0x4a465f[_0x499b2f(0x12d)][_0x499b2f(0x17b)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x86b76d=_0x8e874d(_0x1afe93,_0x128091,_0x9dd3a)[_0x499b2f(0x16d)];_0x4a465f[_0x499b2f(0x12d)][_0x499b2f(0x11f)](_0xc5eb4e=>{const _0x1a1508=_0x499b2f;if(_0xc5eb4e[_0x1a1508(0x124)](_0x4a465f[_0x1a1508(0x12d)][_0x1a1508(0x17b)][_0x1a1508(0x141)][_0x1a1508(0x1a0)]),_0x10fc3b)_0x4a465f[_0x1a1508(0x18f)][_0x1a1508(0x1a9)](_0x1a1508(0x10e))[_0x1a1508(0x16b)](_0x86b76d);else{for(const _0x5d226c of _0x86b76d)_0x5d226c[_0x1a1508(0x129)]=_0x4a465f[_0x1a1508(0x12d)][_0x1a1508(0x17b)][_0x1a1508(0x187)],_0xc5eb4e[_0x1a1508(0x13f)][_0x1a1508(0x1a7)](_0x5d226c),_0x4a465f[_0x1a1508(0x12d)][_0x1a1508(0x103)](_0x5d226c);}}),this[_0x499b2f(0x10f)][_0x499b2f(0x18f)][_0x499b2f(0x1a9)](_0x499b2f(0x165))[_0x499b2f(0x15f)]();}[_0x3bf848(0x107)](_0x5246da,_0x1150ba){const _0x2ac071=_0x3bf848;return _0x5246da[_0x2ac071(0x130)](_0x38852f=>{const _0x1db182=_0x2ac071;if(_0x1db182(0x148)==_0x38852f[_0x1db182(0x125)]){const _0x162f0b=_0x38852f[_0x1db182(0x16e)][_0x1db182(0x1a2)];return!_0x1150ba[_0x1db182(0x163)](_0x162f0b);}if(_0x38852f[_0x1db182(0x125)][_0x1db182(0x196)](_0x1db182(0x140))>-0x1){const _0x5ced1a=_0x38852f[_0x1db182(0x170)][_0x1db182(0x16c)][_0x1db182(0x1a2)];return!_0x1150ba[_0x1db182(0x163)](_0x5ced1a);}return!0x0;});}[_0x3bf848(0x175)](_0x5902de,_0x85da29,_0x5ba612){const _0x2e5923=_0x3bf848,_0x241c0e=_0x85da29[_0x2e5923(0x114)]();for(const _0x456cfb in _0x85da29){const _0x125e28=_0x85da29[_0x456cfb];_0x125e28 instanceof _0x16efab?_0x85da29[_0x456cfb]=new _0x16efab(_0x37e68c(_0x125e28[_0x2e5923(0x16c)]),_0x37e68c(_0x125e28[_0x2e5923(0x15b)])):_0x125e28 instanceof _0x212b84&&(_0x85da29[_0x456cfb]=_0x37e68c(_0x125e28));}if([_0x2e5923(0x11a),_0x2e5923(0x128),_0x2e5923(0x156),_0x2e5923(0x166),_0x2e5923(0x10b),_0x2e5923(0x14d)][_0x2e5923(0x179)](_0x241c0e[_0x2e5923(0x125)])){if(_0x241c0e[_0x2e5923(0x158)]=!0x1,_0x241c0e[_0x2e5923(0x129)]=null,_0x2e5923(0x156)==_0x241c0e[_0x2e5923(0x125)]){const _0x32b9cf=_0x241c0e[_0x2e5923(0x1a6)],_0x72f7f0=_0x241c0e[_0x2e5923(0x144)];new _0x19ba96(_0x32b9cf,_0x72f7f0)[_0x2e5923(0x197)]();}else _0x241c0e[_0x2e5923(0x197)]();}function _0x37e68c(_0xea6472){const _0x2b9da3=_0x2e5923;if(_0x2b9da3(0x15c)==_0xea6472[_0x2b9da3(0x1aa)][_0x2b9da3(0x17f)])return _0xea6472;const _0x43e60e=[];let _0x4120ee=_0xea6472[_0x2b9da3(0x1aa)];for(let _0x7f5abe=0x0;_0x7f5abe<_0xea6472[_0x2b9da3(0x132)][_0x2b9da3(0x134)];_0x7f5abe++){const _0xbb5d4b=_0x5902de[_0x2b9da3(0x1a9)](_0x4120ee)||0x0;_0x43e60e[_0x7f5abe]=_0xea6472[_0x2b9da3(0x132)][_0x7f5abe]+_0xbb5d4b,_0x4120ee=_0x4120ee[_0x2b9da3(0x105)](_0xea6472[_0x2b9da3(0x132)][_0x7f5abe]);}return new _0x212b84(_0x5ba612,_0x43e60e,_0xea6472[_0x2b9da3(0x183)]);}}[_0x3bf848(0x14b)](){const _0x4f0195=_0x3bf848;if(!this[_0x4f0195(0x115)])return void console[_0x4f0195(0x12b)](_0x4f0195(0x11c));this[_0x4f0195(0x1ad)]&&(this[_0x4f0195(0x18b)][_0x4f0195(0x12a)](this[_0x4f0195(0x1ad)]),this[_0x4f0195(0x10d)]());const {action:_0x2b05d1,content:_0x1d4df5,version:_0x34aafa,mainView:_0x386e61,aiBalloon:_0x367cbf}=this[_0x4f0195(0x115)];this[_0x4f0195(0x10a)](_0x386e61),_0x386e61[_0x4f0195(0x131)](),this[_0x4f0195(0x184)](_0x1d4df5,_0x34aafa,_0x386e61,_0x367cbf,_0x2b05d1)[_0x4f0195(0x181)](_0x1962d4=>{const _0x33fa19=_0x4f0195;this[_0x33fa19(0x162)](_0x1962d4)||console[_0x33fa19(0x199)](_0x33fa19(0x136),_0x1962d4);});}[_0x3bf848(0x10a)](_0x4fb8ac){const _0x3db27d=_0x3bf848,_0x40dd6a=_0x4fb8ac[_0x3db27d(0x19b)][_0x3db27d(0x193)];for(;_0x40dd6a[_0x3db27d(0x134)]>0x0;)_0x40dd6a[_0x3db27d(0x156)](_0x40dd6a[_0x3db27d(0x1ab)]);_0x4fb8ac[_0x3db27d(0x19b)][_0x3db27d(0xfd)]=!0x1;}[_0x3bf848(0x162)](_0x32935f){const _0x40a5e1=_0x3bf848;return!!_0x32935f[_0x40a5e1(0x17c)]&&_0x32935f[_0x40a5e1(0x17c)][_0x40a5e1(0x1a3)](_0x40a5e1(0x15a));}[_0x3bf848(0x133)](){const _0x59151a=_0x3bf848;this[_0x59151a(0x18b)]=[],this[_0x59151a(0x115)]=void 0x0;}[_0x3bf848(0x10d)](){const _0x32af7d=_0x3bf848;this[_0x32af7d(0x1ad)]&&this[_0x32af7d(0x1ad)][_0x32af7d(0x116)](),this[_0x32af7d(0x155)][_0x32af7d(0x14c)](),this[_0x32af7d(0x142)]=!0x1;}[_0x3bf848(0x152)](){const _0x180ad1=_0x3bf848,_0x2e976a=new _0x25b5aa(this[_0x180ad1(0x10f)][_0x180ad1(0x172)]);_0x2e976a[_0x180ad1(0x173)]({'icon':_0x14e571,'label':_0x3262f6(this[_0x180ad1(0x10f)][_0x180ad1(0x172)],_0x180ad1(0x153)),'tooltip':!0x0,'class':_0x180ad1(0x192)}),_0x2e976a[_0x180ad1(0x102)](_0x180ad1(0x146))['to'](this,_0x180ad1(0x142),_0x5113e1=>!_0x5113e1),_0x2e976a['on'](_0x180ad1(0x171),()=>{const _0x3f6da4=_0x180ad1;this[_0x3f6da4(0x14b)]();}),this[_0x180ad1(0x11d)][_0x180ad1(0x121)](_0x2e976a);}[_0x3bf848(0x18e)](_0xbd0c56,_0xa3ebde){const _0x33d7dd=_0x3bf848;_0xbd0c56[_0x33d7dd(0x117)](),_0xa3ebde[_0x33d7dd(0xff)][_0x33d7dd(0x117)](),this[_0x33d7dd(0x142)]=!0x0;}async[_0x3bf848(0x1a4)](_0x1acf80,_0x80df37){const _0x3ce137=_0x3bf848;await this[_0x3ce137(0x155)][_0x3ce137(0x111)],this[_0x3ce137(0x142)]=!0x1,_0x1acf80[_0x3ce137(0x182)](),_0x80df37[_0x3ce137(0xff)][_0x3ce137(0x182)]();}}
|
|
23
|
+
const _0x1cb3af=_0x1d76;(function(_0x4cefa6,_0xb8421b){const _0x23ec7e=_0x1d76,_0x16563c=_0x4cefa6();while(!![]){try{const _0x2e5833=parseInt(_0x23ec7e(0x1fe))/0x1+parseInt(_0x23ec7e(0x1bb))/0x2*(-parseInt(_0x23ec7e(0x16f))/0x3)+-parseInt(_0x23ec7e(0x1e1))/0x4+parseInt(_0x23ec7e(0x1e4))/0x5*(-parseInt(_0x23ec7e(0x17f))/0x6)+-parseInt(_0x23ec7e(0x1f1))/0x7+parseInt(_0x23ec7e(0x18e))/0x8+parseInt(_0x23ec7e(0x1f9))/0x9;if(_0x2e5833===_0xb8421b)break;else _0x16563c['push'](_0x16563c['shift']());}catch(_0x145847){_0x16563c['push'](_0x16563c['shift']());}}}(_0x54b2,0x8963c));function _0x54b2(){const _0x169231=['end','enqueue','modelToViewWithIds','rootName','abort','_executeAction','_appendChild','editor','position','updateContent','streaming','_filterOperationsOutsideRange','_currentInteractionParams','3080072vRDuLC','replyContentUpdated','execute','insertSuggestion','random','addOperation','slice','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','previousInteractions','AIConnector','data','clone','length','_previousInteractions','isPremiumPlugin','TrackChangesEditing','isOfficialPlugin','applySuggestion','_applyChanges','getSelectedBlocks','Error\x20updating\x20content\x20in\x20replyContentUpdated:','changeGroups','parent','_balloonShowDiff','_stopInteraction','showLoader','locale','ck-ai-custom-action-button','nodeAfter','createPositionAt','executeAction','AIBalloon','type','getSelectedTableCells','_getExecuteDataRegular','howMany','reinsert','push','move','startsWith','processor','stickiness','createPositionBefore','isDocumentOperation','_interaction','4610FgSnGi','documentFragment','getDocumentContext','_clearLoadingState','_setupCustomViews','change','static','_clearSuggestionContent','version','Error\x20refreshing\x20interaction:','start','clearLoading','stop','range','operationsA','close','message','toData','ai-request-aborted','icon','replies','filter','_applyOperationsAsSuggestions','indexOf','Attribute','includes','getLimitElement','_setLoadingState','nextSibling','getSelectionAsFragment','schema','baseVersion','isEnabled','interactionFinished','hideLoader','createRange','_refreshInteraction','_wrapWithCommonAncestors','1387744dKjWzb','has','getChild','5560DkEdqW','batch','first','sourcePosition','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','getFirstRange','applyOperation','toggleSuggestionDisplayMode','Error\x20updating\x20content\x20in\x20replyCreated:','_promiseQueue','insert','documentContextContent','_clone','813512pTARyi','get','_clearInteractionHistory','setLoading','requires','selection','rename','history','13511358WNecLG','No\x20current\x20interaction\x20to\x20refresh','_anchorOperation','TableSelection','focus','686780mKQPSl','merge','hasPendingParts','model','replyCreated','dialogClosed','map','bodyView','getRanges','getAncestors','warn','isBusy','$graveyard','set','getRoot','_customViews','stopInteraction','queueEmptyPromise','_children','_createInteraction','bind','remove','getCommonAncestor','_isAbortError','getSelectedContent','open','plugins','stopListening','listenTo','pluginName','_getExecuteDataInTable','AIActions','837eRlclm','setSelection','root','catch','add','_aiConnector','isCollapsed','error','path','getOperations','split','createPositionAfter','getChildAtOffset','document','balloonView','AI_ACTIONS_TRY_AGAIN','4878UAZFEb','_execute'];_0x54b2=function(){return _0x169231;};return _0x54b2();}import{Plugin as _0x31fa12}from'ckeditor5/src/core.js';import{AIConnector as _0x2b80a3}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x4f1c9e}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0xacc1fc,ButtonView as _0x137a66,ViewCollection as _0x629451}from'ckeditor5/src/ui.js';import{AIEditing as _0xfb7b7f}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x180878}from'./model/aiactionsinteraction.js';import{first as _0x4465b9}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x5b1099,IconRefresh as _0x225576}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x5757b5}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x12f0a7}from'../aichat/utils/promisequeue.js';function _0x1d76(_0x1e2c37,_0x50fcb7){const _0x54b295=_0x54b2();return _0x1d76=function(_0x1d76f0,_0x2b2324){_0x1d76f0=_0x1d76f0-0x157;let _0x2f4811=_0x54b295[_0x1d76f0];return _0x2f4811;},_0x1d76(_0x1e2c37,_0x50fcb7);}import{getTranslation as _0xa1c139}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x4ef310}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x3f3e59}from'@ckeditor/ckeditor5-collaboration-core';import{getOperationsFromReply as _0x3f835f}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x139095,ModelRange as _0x2efb5c,ModelPosition as _0x506d80,_DetachOperation as _0x128d9d,transformOperationSets as _0x2cdc5f}from'ckeditor5/src/engine.js';export class AIActions extends _0x31fa12{static get[_0x1cb3af(0x1f5)](){return[_0x2b80a3,_0xacc1fc,_0xfb7b7f,_0x5757b5,_0x3f3e59];}static get[_0x1cb3af(0x16c)](){const _0x5ec162=_0x1cb3af;return _0x5ec162(0x16e);}static get[_0x1cb3af(0x19e)](){return!0x0;}static get[_0x1cb3af(0x19c)](){return!0x0;}[_0x1cb3af(0x174)];[_0x1cb3af(0x19b)]=[];[_0x1cb3af(0x18d)];[_0x1cb3af(0x1a5)]=!0x1;[_0x1cb3af(0x15e)]=new _0x629451();[_0x1cb3af(0x1ed)];constructor(_0x13bbd9){const _0x562e6b=_0x1cb3af;super(_0x13bbd9),this[_0x562e6b(0x174)]=this[_0x562e6b(0x188)][_0x562e6b(0x169)][_0x562e6b(0x1f2)](_0x562e6b(0x197)),this[_0x562e6b(0x15c)](_0x562e6b(0x15a),!0x1),this[_0x562e6b(0x1ed)]=new _0x12f0a7(),this[_0x562e6b(0x1bf)]();}[_0x1cb3af(0x15f)](){const _0x142730=_0x1cb3af;this[_0x142730(0x1a6)]();}get[_0x1cb3af(0x196)](){const _0x232141=_0x1cb3af;return this[_0x232141(0x19b)];}async[_0x1cb3af(0x1ac)](_0x3dd099,_0x10d7c0,_0x4e596b){const _0x4274fd=_0x1cb3af;if(this[_0x4274fd(0x188)][_0x4274fd(0x169)][_0x4274fd(0x1e2)](_0x4274fd(0x1fc))){if(this[_0x4274fd(0x188)][_0x4274fd(0x169)][_0x4274fd(0x1f2)](_0x4274fd(0x1fc))[_0x4274fd(0x1af)]()){const {modelFragment:_0x851391,anchorData:_0x10b172}=this[_0x4274fd(0x16d)]();return this[_0x4274fd(0x186)](_0x3dd099,_0x851391,_0x10b172,_0x10d7c0,_0x4e596b);}}const {modelFragment:_0x5186ca,anchorData:_0xa9ae26}=this[_0x4274fd(0x1b0)]();return this[_0x4274fd(0x186)](_0x3dd099,_0x5186ca,_0xa9ae26,_0x10d7c0,_0x4e596b);}[_0x1cb3af(0x1b0)](){const _0x37eee0=_0x1cb3af,_0x1276df=this[_0x37eee0(0x188)][_0x37eee0(0x201)][_0x37eee0(0x17c)][_0x37eee0(0x1f6)];if(_0x1276df[_0x37eee0(0x175)]){const _0x2367c6=_0x4465b9(_0x1276df[_0x37eee0(0x1a1)]())||this[_0x37eee0(0x188)][_0x37eee0(0x201)][_0x37eee0(0x1d9)][_0x37eee0(0x1d5)](_0x1276df);this[_0x37eee0(0x188)][_0x37eee0(0x201)][_0x37eee0(0x1c0)](_0x1ddb2d=>{const _0x350b54=_0x37eee0;_0x1ddb2d[_0x350b54(0x170)](_0x2367c6,'in');});}const _0x57e380=_0x1276df[_0x37eee0(0x1e9)](),_0x2024c8=this[_0x37eee0(0x1e0)](this[_0x37eee0(0x188)][_0x37eee0(0x201)][_0x37eee0(0x167)](_0x1276df),_0x57e380[_0x37eee0(0x1c5)],_0x57e380[_0x37eee0(0x181)]),_0x2d2bf8=_0x1276df[_0x37eee0(0x1e9)]()[_0x37eee0(0x1c5)],_0x36eb02=new Map();let _0x756d86=_0x2024c8;for(let _0x4f58ce=0x0;_0x4f58ce<_0x2d2bf8[_0x37eee0(0x177)][_0x37eee0(0x19a)];_0x4f58ce++)_0x36eb02[_0x37eee0(0x15c)](_0x756d86,_0x2d2bf8[_0x37eee0(0x177)][_0x4f58ce]),_0x756d86=_0x756d86[_0x37eee0(0x1e3)](0x0);return{'modelFragment':_0x2024c8,'anchorData':_0x36eb02};}[_0x1cb3af(0x16d)](){const _0x6deb29=_0x1cb3af,_0x4c3740=this[_0x6deb29(0x188)][_0x6deb29(0x201)][_0x6deb29(0x17c)][_0x6deb29(0x1f6)],_0x1c7df7=this[_0x6deb29(0x188)][_0x6deb29(0x169)][_0x6deb29(0x1f2)](_0x6deb29(0x1fc))[_0x6deb29(0x1d8)](),_0x72c2a5=_0x4c3740[_0x6deb29(0x1e9)]()[_0x6deb29(0x1c5)][_0x6deb29(0x1a4)][_0x6deb29(0x1a4)],_0x4eef9e=this[_0x6deb29(0x1e0)](_0x1c7df7,this[_0x6deb29(0x188)][_0x6deb29(0x201)][_0x6deb29(0x1b8)](_0x72c2a5),this[_0x6deb29(0x188)][_0x6deb29(0x201)][_0x6deb29(0x17a)](_0x72c2a5)),_0x400380=_0x4c3740[_0x6deb29(0x1e9)]()[_0x6deb29(0x1c5)],_0xdef5f3=new Map();let _0x3bb688=_0x4eef9e;for(let _0x34a3cb=0x0;_0x34a3cb<_0x400380[_0x6deb29(0x177)][_0x6deb29(0x19a)];_0x34a3cb++)if(_0xdef5f3[_0x6deb29(0x15c)](_0x3bb688,_0x400380[_0x6deb29(0x177)][_0x34a3cb]),_0x34a3cb<_0x400380[_0x6deb29(0x177)][_0x6deb29(0x19a)]-0x1)_0x3bb688=_0x3bb688[_0x6deb29(0x1e3)](0x0);else{let _0x58b528=_0x3bb688[_0x6deb29(0x1d7)];for(;_0x58b528;)_0xdef5f3[_0x6deb29(0x15c)](_0x58b528,_0x400380[_0x6deb29(0x177)][_0x34a3cb]),_0x58b528=_0x58b528[_0x6deb29(0x1d7)];}return{'modelFragment':_0x4eef9e,'anchorData':_0xdef5f3};}[_0x1cb3af(0x186)](_0x427527,_0x3397ad,_0x448ff4,_0xc126d7,_0x521f11){const _0x48e592=_0x1cb3af,_0xd0db6c=this[_0x48e592(0x188)][_0x48e592(0x169)][_0x48e592(0x1f2)](_0xfb7b7f),_0x202820=this[_0x48e592(0x188)][_0x48e592(0x169)][_0x48e592(0x1f2)](_0x5757b5),_0x56613a=this[_0x48e592(0x188)][_0x48e592(0x201)][_0x48e592(0x17c)][_0x48e592(0x1f6)],_0xf10a4c=_0xd0db6c[_0x48e592(0x183)](_0x3397ad),_0x38d5e3=this[_0x48e592(0x188)][_0x48e592(0x198)][_0x48e592(0x1b6)][_0x48e592(0x1cc)](_0xf10a4c),_0x2b521a=this[_0x48e592(0x188)][_0x48e592(0x201)][_0x48e592(0x17c)][_0x48e592(0x1c3)],_0x1b0ac7=[..._0x56613a[_0x48e592(0x157)]()],_0x418e76=new _0x4f1c9e(this[_0x48e592(0x188)][_0x48e592(0x1a8)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x48e592(0x1ce),'customView':this[_0x48e592(0x15e)]},'showUnchangedParts':!0x0});return _0x202820[_0x48e592(0x168)]({'index':0x3e8*Math[_0x48e592(0x192)]()%0x3e8,'title':_0xc126d7,'icon':_0x521f11||_0x5b1099,'mainView':_0x418e76,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x1b0ac7}),this[_0x48e592(0x1d6)](_0x418e76,_0x202820),this[_0x48e592(0x16b)](_0x202820,_0x48e592(0x19f),()=>{const _0x31aa3e=_0x48e592;this[_0x31aa3e(0x1a0)](_0x3397ad,_0x448ff4,!0x1);}),this[_0x48e592(0x16b)](_0x202820,_0x48e592(0x191),()=>{const _0x48c445=_0x48e592;this[_0x48c445(0x1a0)](_0x3397ad,_0x448ff4,!0x0);}),this[_0x48e592(0x16b)](_0x202820,_0x48e592(0x203),()=>{const _0x541f8f=_0x48e592;this[_0x541f8f(0x1a6)](),this[_0x541f8f(0x1f3)](),this[_0x541f8f(0x16a)](_0x202820);}),this[_0x48e592(0x162)](_0x38d5e3,_0x2b521a,_0x418e76,_0x202820,_0x427527);}[_0x1cb3af(0x1e0)](_0x11610e,_0xee6c7c,_0x1cc4e8){const _0x1c8681=_0x1cb3af,_0x189a06=this[_0x1c8681(0x188)][_0x1c8681(0x201)][_0x1c8681(0x1de)](_0xee6c7c,_0x1cc4e8)[_0x1c8681(0x165)](),_0x2e9346=_0x189a06['is'](_0x1c8681(0x1bc))?[]:_0x189a06[_0x1c8681(0x158)]({'includeSelf':!0x0})[_0x1c8681(0x194)](0x1);if(_0x2e9346[_0x1c8681(0x19a)]){const _0x3b48f2=_0x2e9346[_0x1c8681(0x204)](_0x126c81=>_0x126c81[_0x1c8681(0x1f0)](!0x1));for(let _0xa204ed=0x1;_0xa204ed<_0x3b48f2[_0x1c8681(0x19a)];_0xa204ed++)_0x3b48f2[_0xa204ed-0x1][_0x1c8681(0x187)](_0x3b48f2[_0xa204ed]);return _0x3b48f2[_0x3b48f2[_0x1c8681(0x19a)]-0x1][_0x1c8681(0x187)](_0x11610e),new _0x139095(_0x3b48f2[0x0]);}return _0x11610e;}async[_0x1cb3af(0x162)](_0x281c68,_0x46361d,_0x505e8b,_0x38de64,_0x3c3756){const _0x3ee084=_0x1cb3af,_0x1782b9=this[_0x3ee084(0x188)];this[_0x3ee084(0x18d)]={'action':_0x3c3756,'content':_0x281c68,'version':_0x46361d,'mainView':_0x505e8b,'aiBalloon':_0x38de64},this[_0x3ee084(0x1ba)]=new _0x180878({'connector':this[_0x3ee084(0x174)],'editor':_0x1782b9,'content':_0x281c68,'version':_0x46361d,..._0x3c3756});const _0x38fa5a=(_0x746a7e,_0x3f4022,_0x2f205c=!0x1,_0x1c905c=_0x3ee084(0x18b))=>this[_0x3ee084(0x1ed)][_0x3ee084(0x182)](async _0x384d66=>{const _0x5cccd4=_0x3ee084;try{const _0x2cbea1=_0x4ef310({'editor':_0x1782b9,'changeGroups':_0x746a7e[_0x5cccd4(0x1a3)],'documentContextContent':_0x746a7e[_0x5cccd4(0x1ef)],'showDiff':_0x2f205c,'trimUnchanged':!0x1});await _0x3f4022[_0x5cccd4(0x18a)]({'parts':_0x2cbea1,'renderingStrategy':_0x1c905c,'abortSignal':_0x384d66});}catch(_0x122602){if(this[_0x5cccd4(0x166)](_0x122602))return;throw _0x122602;}});this[_0x3ee084(0x1ba)]['on'](_0x3ee084(0x202),(_0x3f79b4,_0x56dd99)=>{const _0x1cef79=_0x3ee084;_0x505e8b[_0x1cef79(0x1dd)](),_0x38fa5a(_0x56dd99,_0x505e8b)[_0x1cef79(0x172)](_0x5d29e3=>{const _0x3f47e4=_0x1cef79;this[_0x3f47e4(0x166)](_0x5d29e3)||console[_0x3f47e4(0x176)](_0x3f47e4(0x1ec),_0x5d29e3);});}),this[_0x3ee084(0x1ba)]['on'](_0x3ee084(0x18f),(_0x40aced,_0x25a3b3)=>{const _0xbc84ea=_0x3ee084;_0x38fa5a(_0x25a3b3,_0x505e8b)[_0xbc84ea(0x172)](_0x47bd6e=>{const _0x4aabf8=_0xbc84ea;this[_0x4aabf8(0x166)](_0x47bd6e)||console[_0x4aabf8(0x176)](_0x4aabf8(0x1a2),_0x47bd6e);});}),this[_0x3ee084(0x1ba)]['on'](_0x3ee084(0x1dc),async()=>{const _0x1f3592=_0x3ee084;try{await this[_0x1f3592(0x1be)](_0x505e8b,_0x38de64);}catch(_0x438a27){this[_0x1f3592(0x166)](_0x438a27)||console[_0x1f3592(0x176)](_0x1f3592(0x1e8),_0x438a27);}}),this[_0x3ee084(0x16b)](_0x505e8b,_0x3ee084(0x1eb),(_0x1c7435,{showDiff:_0x50decf})=>{const _0x574c67=_0x3ee084;this[_0x574c67(0x1a5)]=_0x50decf;const _0x4f7b92=this[_0x574c67(0x1ba)][_0x574c67(0x1cf)][this[_0x574c67(0x1ba)][_0x574c67(0x1cf)][_0x574c67(0x19a)]-0x1];_0x4f7b92&&_0x38fa5a(_0x4f7b92,_0x505e8b,_0x50decf,_0x574c67(0x1c1))[_0x574c67(0x172)](_0x8db8da=>{const _0x445ffb=_0x574c67;this[_0x445ffb(0x166)](_0x8db8da)||console[_0x445ffb(0x176)](_0x445ffb(0x195),_0x8db8da);});}),this[_0x3ee084(0x1d6)](_0x505e8b,_0x38de64);try{return await this[_0x3ee084(0x1ba)][_0x3ee084(0x1c5)]();}catch(_0x502dcc){if(this[_0x3ee084(0x166)](_0x502dcc))return;throw _0x502dcc;}}[_0x1cb3af(0x1a0)](_0x1db3ce,_0x3d948a,_0x36a623){const _0x11f6d5=_0x1cb3af,_0x506dc9=this[_0x11f6d5(0x188)],_0x1631ad=this[_0x11f6d5(0x188)][_0x11f6d5(0x169)][_0x11f6d5(0x1f2)](_0x3f3e59),_0x424d70=this[_0x11f6d5(0x1ba)],_0x11a9fa=this[_0x11f6d5(0x1ba)][_0x11f6d5(0x1cf)][this[_0x11f6d5(0x1ba)][_0x11f6d5(0x1cf)][_0x11f6d5(0x19a)]-0x1],_0x5a33c2=_0x11a9fa[_0x11f6d5(0x1a3)];let _0x20b07b=_0x3f835f({'editor':_0x506dc9,'reply':_0x11a9fa,'interaction':_0x424d70,'groups':_0x5a33c2,'transform':!0x1,'documentCompare':_0x1631ad,'documentCompareOptions':{'anchor':_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x1ab)](_0x1db3ce,0x0),'markDeletions':_0x36a623}});_0x20b07b=this[_0x11f6d5(0x18c)](_0x20b07b,_0x3d948a);for(const _0x1c0aed of _0x20b07b)this[_0x11f6d5(0x1fb)](_0x3d948a,_0x1c0aed,_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x17c)][_0x11f6d5(0x15d)]());const _0x316401=_0x424d70[_0x11f6d5(0x1bd)]()[_0x11f6d5(0x1c3)],_0x2333ea=_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x17c)][_0x11f6d5(0x1f8)][_0x11f6d5(0x178)](_0x316401),_0x402e4e={'document':_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x17c)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1653bb=_0x2cdc5f(_0x20b07b,_0x2333ea,_0x402e4e)[_0x11f6d5(0x1c9)];_0x506dc9[_0x11f6d5(0x201)][_0x11f6d5(0x1c0)](_0x8fc194=>{const _0x5ac148=_0x11f6d5;if(_0x8fc194[_0x5ac148(0x170)](_0x506dc9[_0x5ac148(0x201)][_0x5ac148(0x17c)][_0x5ac148(0x1f6)][_0x5ac148(0x1fd)]),_0x36a623)_0x506dc9[_0x5ac148(0x169)][_0x5ac148(0x1f2)](_0x5ac148(0x19d))[_0x5ac148(0x1d1)](_0x1653bb);else{for(const _0x5a3ffa of _0x1653bb)_0x5a3ffa[_0x5ac148(0x1da)]=_0x506dc9[_0x5ac148(0x201)][_0x5ac148(0x17c)][_0x5ac148(0x1c3)],_0x8fc194[_0x5ac148(0x1e5)][_0x5ac148(0x193)](_0x5a3ffa),_0x506dc9[_0x5ac148(0x201)][_0x5ac148(0x1ea)](_0x5a3ffa);}}),this[_0x11f6d5(0x188)][_0x11f6d5(0x169)][_0x11f6d5(0x1f2)](_0x11f6d5(0x1ad))[_0x11f6d5(0x1ca)]();}[_0x1cb3af(0x18c)](_0x546e47,_0x5a7a99){const _0x49b0e2=_0x1cb3af;return _0x546e47[_0x49b0e2(0x1d0)](_0x185281=>{const _0x3b5411=_0x49b0e2;if(_0x3b5411(0x1f7)==_0x185281[_0x3b5411(0x1ae)]){const _0x2e1ccc=_0x185281[_0x3b5411(0x189)][_0x3b5411(0x1aa)];return!_0x5a7a99[_0x3b5411(0x1e2)](_0x2e1ccc);}if(_0x185281[_0x3b5411(0x1ae)][_0x3b5411(0x1d2)](_0x3b5411(0x1d3))>-0x1){const _0x148312=_0x185281[_0x3b5411(0x1c8)][_0x3b5411(0x1c5)][_0x3b5411(0x1aa)];return!_0x5a7a99[_0x3b5411(0x1e2)](_0x148312);}return!0x0;});}[_0x1cb3af(0x1fb)](_0x561106,_0x3a8a8e,_0xce6284){const _0x4c8d97=_0x1cb3af,_0x12e3d3=_0x3a8a8e[_0x4c8d97(0x199)]();for(const _0x1b9fe2 in _0x3a8a8e){const _0x3ddadc=_0x3a8a8e[_0x1b9fe2];_0x3ddadc instanceof _0x2efb5c?_0x3a8a8e[_0x1b9fe2]=new _0x2efb5c(_0x9ae258(_0x3ddadc[_0x4c8d97(0x1c5)]),_0x9ae258(_0x3ddadc[_0x4c8d97(0x181)])):_0x3ddadc instanceof _0x506d80&&(_0x3a8a8e[_0x1b9fe2]=_0x9ae258(_0x3ddadc));}if([_0x4c8d97(0x1ee),_0x4c8d97(0x1b4),_0x4c8d97(0x164),_0x4c8d97(0x1b2),_0x4c8d97(0x179),_0x4c8d97(0x1ff)][_0x4c8d97(0x1d4)](_0x12e3d3[_0x4c8d97(0x1ae)])){if(_0x12e3d3[_0x4c8d97(0x1b9)]=!0x1,_0x12e3d3[_0x4c8d97(0x1da)]=null,_0x4c8d97(0x164)==_0x12e3d3[_0x4c8d97(0x1ae)]){const _0x1f09de=_0x12e3d3[_0x4c8d97(0x1e7)],_0x105907=_0x12e3d3[_0x4c8d97(0x1b1)];new _0x128d9d(_0x1f09de,_0x105907)[_0x4c8d97(0x180)]();}else _0x12e3d3[_0x4c8d97(0x180)]();}function _0x9ae258(_0x33f1b0){const _0x34c791=_0x4c8d97;if(_0x34c791(0x15b)==_0x33f1b0[_0x34c791(0x171)][_0x34c791(0x184)])return _0x33f1b0;const _0x3f0a32=[];let _0x53260d=_0x33f1b0[_0x34c791(0x171)];for(let _0x1c44c3=0x0;_0x1c44c3<_0x33f1b0[_0x34c791(0x177)][_0x34c791(0x19a)];_0x1c44c3++){const _0x29a475=_0x561106[_0x34c791(0x1f2)](_0x53260d)||0x0;_0x3f0a32[_0x1c44c3]=_0x33f1b0[_0x34c791(0x177)][_0x1c44c3]+_0x29a475,_0x53260d=_0x53260d[_0x34c791(0x17b)](_0x33f1b0[_0x34c791(0x177)][_0x1c44c3]);}return new _0x506d80(_0xce6284,_0x3f0a32,_0x33f1b0[_0x34c791(0x1b7)]);}}[_0x1cb3af(0x1df)](){const _0x21b413=_0x1cb3af;if(!this[_0x21b413(0x18d)])return void console[_0x21b413(0x159)](_0x21b413(0x1fa));this[_0x21b413(0x1ba)]&&(this[_0x21b413(0x19b)][_0x21b413(0x1b3)](this[_0x21b413(0x1ba)]),this[_0x21b413(0x1a6)]());const {action:_0x3e33f4,content:_0x34d367,version:_0x11d84c,mainView:_0x4efa5e,aiBalloon:_0x38f078}=this[_0x21b413(0x18d)];this[_0x21b413(0x1c2)](_0x4efa5e),_0x4efa5e[_0x21b413(0x1a7)](),this[_0x21b413(0x162)](_0x34d367,_0x11d84c,_0x4efa5e,_0x38f078,_0x3e33f4)[_0x21b413(0x172)](_0x54db50=>{const _0x530351=_0x21b413;this[_0x530351(0x166)](_0x54db50)||console[_0x530351(0x176)](_0x530351(0x1c4),_0x54db50);});}[_0x1cb3af(0x1c2)](_0x144c40){const _0x486114=_0x1cb3af,_0x2c16cf=_0x144c40[_0x486114(0x205)][_0x486114(0x161)];for(;_0x2c16cf[_0x486114(0x19a)]>0x0;)_0x2c16cf[_0x486114(0x164)](_0x2c16cf[_0x486114(0x1e6)]);_0x144c40[_0x486114(0x205)][_0x486114(0x200)]=!0x1;}[_0x1cb3af(0x166)](_0x4b76f6){const _0x6846a6=_0x1cb3af;return!!_0x4b76f6[_0x6846a6(0x1cb)]&&_0x4b76f6[_0x6846a6(0x1cb)][_0x6846a6(0x1b5)](_0x6846a6(0x1cd));}[_0x1cb3af(0x1f3)](){const _0x56e604=_0x1cb3af;this[_0x56e604(0x19b)]=[],this[_0x56e604(0x18d)]=void 0x0;}[_0x1cb3af(0x1a6)](){const _0x33a3d7=_0x1cb3af;this[_0x33a3d7(0x1ba)]&&this[_0x33a3d7(0x1ba)][_0x33a3d7(0x1c7)](),this[_0x33a3d7(0x1ed)][_0x33a3d7(0x185)](),this[_0x33a3d7(0x15a)]=!0x1;}[_0x1cb3af(0x1bf)](){const _0x25effc=_0x1cb3af,_0x2810af=new _0x137a66(this[_0x25effc(0x188)][_0x25effc(0x1a8)]);_0x2810af[_0x25effc(0x15c)]({'icon':_0x225576,'label':_0xa1c139(this[_0x25effc(0x188)][_0x25effc(0x1a8)],_0x25effc(0x17e)),'tooltip':!0x0,'class':_0x25effc(0x1a9)}),_0x2810af[_0x25effc(0x163)](_0x25effc(0x1db))['to'](this,_0x25effc(0x15a),_0x2ce8e0=>!_0x2ce8e0),_0x2810af['on'](_0x25effc(0x190),()=>{const _0x45e0d7=_0x25effc;this[_0x45e0d7(0x1df)]();}),this[_0x25effc(0x15e)][_0x25effc(0x173)](_0x2810af);}[_0x1cb3af(0x1d6)](_0x1b9ef4,_0x40e8ce){const _0x158828=_0x1cb3af;_0x1b9ef4[_0x158828(0x1f4)](),_0x40e8ce[_0x158828(0x17d)][_0x158828(0x1f4)](),this[_0x158828(0x15a)]=!0x0;}async[_0x1cb3af(0x1be)](_0x46220a,_0x83251e){const _0x38f726=_0x1cb3af;await this[_0x38f726(0x1ed)][_0x38f726(0x160)],this[_0x38f726(0x15a)]=!0x1,_0x46220a[_0x38f726(0x1c6)](),_0x83251e[_0x38f726(0x17d)][_0x38f726(0x1c6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3c59(_0x2a6f5a,_0x51e211){const _0x3739ee=_0x3739();return _0x3c59=function(_0x3c5912,_0x16251e){_0x3c5912=_0x3c5912-0x72;let _0x3604cf=_0x3739ee[_0x3c5912];return _0x3604cf;},_0x3c59(_0x2a6f5a,_0x51e211);}const _0x33b1f6=_0x3c59;(function(_0x408062,_0x241d66){const _0x2ff98d=_0x3c59,_0x3582ba=_0x408062();while(!![]){try{const _0x88808d=-parseInt(_0x2ff98d(0x7c))/0x1*(-parseInt(_0x2ff98d(0x78))/0x2)+parseInt(_0x2ff98d(0x8b))/0x3+parseInt(_0x2ff98d(0x77))/0x4*(-parseInt(_0x2ff98d(0x82))/0x5)+-parseInt(_0x2ff98d(0x84))/0x6+parseInt(_0x2ff98d(0x91))/0x7+-parseInt(_0x2ff98d(0x81))/0x8*(-parseInt(_0x2ff98d(0x89))/0x9)+-parseInt(_0x2ff98d(0x90))/0xa;if(_0x88808d===_0x241d66)break;else _0x3582ba['push'](_0x3582ba['shift']());}catch(_0x250a2d){_0x3582ba['push'](_0x3582ba['shift']());}}}(_0x3739,0x7885e));function _0x3739(){const _0x2873c3=['args','executeCustomAction','version','3wKCSIq','push','content','html','replies','1572072UBkHTL','25EUYpGv','userMessage','2720202RvFZtf','sendRequest','replyCreated','Current\x20document','actionName','9KuvPfx','fire','859143ASOdJt','delegate','connector','executeAction','editor','9768740hlbJfd','6660787msqbzZ','TEXT','getDocumentContext','current-document','model','createReply','177124cZOSLj','473918PkVgUP'];_0x3739=function(){return _0x2873c3;};return _0x3739();}import{AIInteraction as _0x5783f7,AI_MODEL_EVENT_NAMES as _0x432e2c}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x5f39b2}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x423d16}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x5783f7{[_0x33b1f6(0x7e)];[_0x33b1f6(0x7b)];[_0x33b1f6(0x88)];[_0x33b1f6(0x79)];[_0x33b1f6(0x83)];[_0x33b1f6(0x75)];constructor(_0x2616ed){const _0x627dc4=_0x33b1f6;super(_0x2616ed),this[_0x627dc4(0x7e)]=_0x2616ed[_0x627dc4(0x7e)],this[_0x627dc4(0x7b)]=_0x2616ed[_0x627dc4(0x7b)],this[_0x627dc4(0x88)]=_0x2616ed[_0x627dc4(0x88)],this[_0x627dc4(0x79)]=_0x2616ed[_0x627dc4(0x79)],this[_0x627dc4(0x83)]=_0x2616ed[_0x627dc4(0x83)],this[_0x627dc4(0x75)]=_0x2616ed[_0x627dc4(0x75)];}async[_0x33b1f6(0x85)](){const _0x145b8b=_0x33b1f6;return this[_0x145b8b(0x88)]?this[_0x145b8b(0x8d)][_0x145b8b(0x8e)]({'content':this[_0x145b8b(0x7e)],'actionName':this[_0x145b8b(0x88)],'args':this[_0x145b8b(0x79)]}):this[_0x145b8b(0x8d)][_0x145b8b(0x7a)]({'content':this[_0x145b8b(0x7e)],'message':this[_0x145b8b(0x83)],'model':this[_0x145b8b(0x75)],'outputFormat':_0x145b8b(0x7f)});}[_0x33b1f6(0x73)](){const _0x28ed1e=_0x33b1f6;return{'type':_0x5f39b2[_0x28ed1e(0x72)],'content':this[_0x28ed1e(0x7e)],'version':this[_0x28ed1e(0x7b)],'label':_0x28ed1e(0x87),'uiId':_0x28ed1e(0x74)};}[_0x33b1f6(0x76)](_0x4829a6){const _0x29124e=_0x33b1f6,_0x4a9e7b=new _0x423d16({'editor':this[_0x29124e(0x8f)],'documentContextContent':this[_0x29124e(0x7e)],..._0x4829a6});return this[_0x29124e(0x80)][_0x29124e(0x7d)](_0x4a9e7b),_0x4a9e7b[_0x29124e(0x8c)](..._0x432e2c)['to'](this),this[_0x29124e(0x8a)](_0x29124e(0x86),_0x4a9e7b),_0x4a9e7b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc0e830=_0x161b;(function(_0x3bd1d4,_0x278db8){const _0xaaa2bb=_0x161b,_0x5058e3=_0x3bd1d4();while(!![]){try{const _0xaee224=-parseInt(_0xaaa2bb(0x134))/0x1*(-parseInt(_0xaaa2bb(0x126))/0x2)+parseInt(_0xaaa2bb(0x120))/0x3+parseInt(_0xaaa2bb(0x11d))/0x4+-parseInt(_0xaaa2bb(0x122))/0x5+-parseInt(_0xaaa2bb(0x123))/0x6+-parseInt(_0xaaa2bb(0x124))/0x7*(-parseInt(_0xaaa2bb(0x129))/0x8)+-parseInt(_0xaaa2bb(0x11c))/0x9;if(_0xaee224===_0x278db8)break;else _0x5058e3['push'](_0x5058e3['shift']());}catch(_0x5075ff){_0x5058e3['push'](_0x5058e3['shift']());}}}(_0x32e2,0xd71dd));import{AIReply as _0xac9e6e}from'../../aicore/model/aireply.js';function _0x161b(_0x463ddb,_0x251af3){const _0x32e292=_0x32e2();return _0x161b=function(_0x161bf9,_0x174132){_0x161bf9=_0x161bf9-0x11a;let _0x4bf799=_0x32e292[_0x161bf9];return _0x4bf799;},_0x161b(_0x463ddb,_0x251af3);}import{getAttribute as _0x2307c4}from'../../aicore/utils/htmlparser.js';import{uid as _0x4f5012}from'ckeditor5/src/utils.js';function _0x32e2(){const _0x202352=['data-id','71049TIyZjh','pending','_getDifferentChangeGroups','pop','new','documentContextContent','18396504dMIOkf','7026708AudfpK','childNodes','added','2443359eqIOYV','cloneNode','2803300toSCTm','1202214Puvrrl','7RGZZtB','updateChangeGroups','2QnlRHY','length','value','8352184TVsscS','removed','modified','changeGroups','isDone','node','parsedContent','parsedMergedContent','map','children'];_0x32e2=function(){return _0x202352;};return _0x32e2();}import{diffArrays as _0x3c4182}from'diff';export class AIActionsReply extends _0xac9e6e{[_0xc0e830(0x125)](){const _0x2a6e8b=_0xc0e830;if(this[_0x2a6e8b(0x130)]=this[_0x2a6e8b(0x12f)][_0x2a6e8b(0x121)](!0x0),0x0==this[_0x2a6e8b(0x130)][_0x2a6e8b(0x11e)][_0x2a6e8b(0x127)])return void(this[_0x2a6e8b(0x12c)]=[]);const _0x230809=this[_0x2a6e8b(0x11b)][_0x2a6e8b(0x132)][_0x2a6e8b(0x131)](_0x1cb710=>({'node':_0x1cb710,'id':_0x2307c4(_0x1cb710,_0x2a6e8b(0x133))})),_0x139464=this[_0x2a6e8b(0x130)][_0x2a6e8b(0x132)][_0x2a6e8b(0x131)](_0x4256a8=>({'node':_0x4256a8,'id':_0x2307c4(_0x4256a8,_0x2a6e8b(0x133))||_0x4f5012()})),_0xa83710=_0x3c4182(_0x230809,_0x139464,{'comparator':(_0x57fbb7,_0x1288aa)=>_0x57fbb7['id']==_0x1288aa['id'],'oneChangePerToken':!0x0});if(!this[_0x2a6e8b(0x12d)]){for(;_0xa83710[_0x2a6e8b(0x127)]&&_0xa83710[_0xa83710[_0x2a6e8b(0x127)]-0x1][_0x2a6e8b(0x12a)];)_0xa83710[_0x2a6e8b(0x137)]();}const _0x21d3b1=_0xa83710[_0x2a6e8b(0x131)](_0x4c3adc=>{const _0x1f4892=_0x2a6e8b,_0x2a0a52=_0x4c3adc[_0x1f4892(0x11f)]?_0x1f4892(0x11a):_0x4c3adc[_0x1f4892(0x12a)]?_0x1f4892(0x12a):_0x1f4892(0x12b);return{'node':_0x4c3adc[_0x1f4892(0x128)][0x0][_0x1f4892(0x12e)],'type':_0x2a0a52,'id':_0x4c3adc[_0x1f4892(0x128)][0x0]['id']};});this[_0x2a6e8b(0x12c)]=[{'changes':_0x21d3b1,'state':_0x2a6e8b(0x135),'index':0x0}];}[_0xc0e830(0x136)](_0x3d4535,_0x11efc1){return _0x11efc1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4d5f83=_0x5ae6;(function(_0x29aceb,_0x518c29){var _0x59740b=_0x5ae6,_0x4dba4f=_0x29aceb();while(!![]){try{var _0x4bf0c2=parseInt(_0x59740b(0x1cf))/0x1+parseInt(_0x59740b(0x1c9))/0x2+-parseInt(_0x59740b(0x1ca))/0x3+parseInt(_0x59740b(0x1c4))/0x4*(parseInt(_0x59740b(0x1cc))/0x5)+parseInt(_0x59740b(0x1d4))/0x6+-parseInt(_0x59740b(0x1d0))/0x7+parseInt(_0x59740b(0x1d2))/0x8*(-parseInt(_0x59740b(0x1d1))/0x9);if(_0x4bf0c2===_0x518c29)break;else _0x4dba4f['push'](_0x4dba4f['shift']());}catch(_0x5451f0){_0x4dba4f['push'](_0x4dba4f['shift']());}}}(_0x5019,0xd7e12));function _0x5ae6(_0x38b6ea,_0x52d962){var _0x5019c5=_0x5019();return _0x5ae6=function(_0x5ae6a1,_0x1d8817){_0x5ae6a1=_0x5ae6a1-0x1c3;var _0x4a4d44=_0x5019c5[_0x5ae6a1];return _0x4a4d44;},_0x5ae6(_0x38b6ea,_0x52d962);}function _0x5019(){var _0x5e99f0=['aiadapter-text-adapter-not-set','22976yUFAyy','isPremiumPlugin','pluginName','textAdapter','isOfficialPlugin','2257446hWOgja','792852DkblBW','afterInit','970QjOODS','AIAdapter','AIRequestError','146871NrKDHW','4519431anTtHS','9QmdOrP','11808696xtWSzJ','name','5281896fHkrVK'];_0x5019=function(){return _0x5e99f0;};return _0x5019();}import{Plugin as _0x259aa0}from'ckeditor5/src/core.js';import{CKEditorError as _0x3f86cb}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x259aa0{static get[_0x4d5f83(0x1c6)](){var _0x4728e4=_0x4d5f83;return _0x4728e4(0x1cd);}static get[_0x4d5f83(0x1c8)](){return!0x0;}static get[_0x4d5f83(0x1c5)](){return!0x0;}[_0x4d5f83(0x1cb)](){var _0x19b016=_0x4d5f83;if(!this[_0x19b016(0x1c7)])throw new _0x3f86cb(_0x19b016(0x1c3),null);}}export class AIRequestError extends Error{constructor(_0x2fc461){var _0x5e7956=_0x4d5f83;super(_0x2fc461),this[_0x5e7956(0x1d3)]=_0x5e7956(0x1ce);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5988(){const _0x10873f=['error','abortController','396424LRNlkQ','editor','locale','723605jGkLPJ','11xEqBEA','abort','aitextadapter-send-request-failed','init','81096kdBbMQ','resolve','name','5057myzfkU','418069OFhwAh','requires','_prepareRequestHeaders','application/json','get','6pUtcdV','plugins','AbortError','20olwDPE','object','24eEjLTD','_prepareRequestParameters','reject','signal','AI_ERROR_GET_PARAMETERS','7461290RkhXUG','makeRequest','catch','24SRXEzQ','224721ogCcRW','1213387dgHiYE','AI_ERROR_GET_HEADERS','aborted','assign','sendRequest','textAdapter'];_0x5988=function(){return _0x10873f;};return _0x5988();}const _0x3a735c=_0x198b;(function(_0x551a7b,_0x12b8ca){const _0x500012=_0x198b,_0xd4551f=_0x551a7b();while(!![]){try{const _0x5df2be=parseInt(_0x500012(0x137))/0x1+parseInt(_0x500012(0x12b))/0x2*(parseInt(_0x500012(0x13c))/0x3)+-parseInt(_0x500012(0x13f))/0x4*(-parseInt(_0x500012(0x12e))/0x5)+parseInt(_0x500012(0x141))/0x6*(parseInt(_0x500012(0x14b))/0x7)+parseInt(_0x500012(0x149))/0x8*(parseInt(_0x500012(0x14a))/0x9)+parseInt(_0x500012(0x146))/0xa*(parseInt(_0x500012(0x12f))/0xb)+-parseInt(_0x500012(0x133))/0xc*(parseInt(_0x500012(0x136))/0xd);if(_0x5df2be===_0x12b8ca)break;else _0xd4551f['push'](_0xd4551f['shift']());}catch(_0x419e75){_0xd4551f['push'](_0xd4551f['shift']());}}}(_0x5988,0x676d4));import{Plugin as _0x18b5fc}from'ckeditor5/src/core.js';import{CKEditorError as _0x186b07}from'ckeditor5/src/utils.js';import{AIAdapter as _0x4755ab,AIRequestError as _0x110469}from'./aiadapter.js';function _0x198b(_0x1acedb,_0x416c79){const _0x5988a9=_0x5988();return _0x198b=function(_0x198b52,_0x3c9cc6){_0x198b52=_0x198b52-0x12b;let _0x1e42d0=_0x5988a9[_0x198b52];return _0x1e42d0;},_0x198b(_0x1acedb,_0x416c79);}import{getTranslation as _0x365bad}from'../utils/common-translations.js';export class AITextAdapter extends _0x18b5fc{[_0x3a735c(0x152)];static get[_0x3a735c(0x138)](){return[_0x4755ab];}constructor(_0x33d2e0){const _0x41f3bd=_0x3a735c;super(_0x33d2e0),this[_0x41f3bd(0x152)]=new AbortController();}[_0x3a735c(0x132)](){const _0xed16d6=_0x3a735c;this[_0xed16d6(0x12c)][_0xed16d6(0x13d)][_0xed16d6(0x13b)](_0x4755ab)[_0xed16d6(0x150)]=this;}[_0x3a735c(0x130)](){const _0x341d44=_0x3a735c;this[_0x341d44(0x152)][_0x341d44(0x144)][_0x341d44(0x14d)]||(this[_0x341d44(0x152)][_0x341d44(0x130)](),this[_0x341d44(0x152)]=new AbortController());}async[_0x3a735c(0x147)](_0x362954){const _0x4acace=_0x3a735c;return this[_0x4acace(0x14f)](_0x362954)[_0x4acace(0x148)](_0x4d885d=>{const _0x27327d=_0x4acace;if(_0x4d885d instanceof _0x110469)return Promise[_0x27327d(0x143)](_0x4d885d);if(_0x27327d(0x13e)==_0x4d885d[_0x27327d(0x135)])return Promise[_0x27327d(0x134)]();throw console[_0x27327d(0x151)](_0x4d885d),new _0x186b07(_0x27327d(0x131),null);});}async[_0x3a735c(0x139)](_0x32e09e,_0x13633e){const _0xa23e81=_0x3a735c,_0x4f4539=this[_0xa23e81(0x12c)][_0xa23e81(0x12d)],_0x2c98bd={'Content-Type':_0xa23e81(0x13a)};if(_0xa23e81(0x140)==typeof _0x32e09e)Object[_0xa23e81(0x14e)](_0x2c98bd,_0x32e09e);else{if(_0x32e09e)try{const _0x45ca43=await _0x32e09e(_0x13633e);Object[_0xa23e81(0x14e)](_0x2c98bd,_0x45ca43);}catch{return Promise[_0xa23e81(0x143)](new _0x110469(_0x365bad(_0x4f4539,_0xa23e81(0x14c))));}}return _0x2c98bd;}async[_0x3a735c(0x142)](_0xfe0a32,_0x3a3268){const _0x59d4db=_0x3a735c,_0x5d9842=this[_0x59d4db(0x12c)][_0x59d4db(0x12d)];if(_0x59d4db(0x140)==typeof _0xfe0a32)return _0xfe0a32;try{return await _0xfe0a32(_0x3a3268);}catch{return Promise[_0x59d4db(0x143)](new _0x110469(_0x365bad(_0x5d9842,_0x59d4db(0x145))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd11b91=_0x5208;(function(_0x45382b,_0x272b86){const _0x3463b1=_0x5208,_0xc5babf=_0x45382b();while(!![]){try{const _0x2cc451=-parseInt(_0x3463b1(0xc7))/0x1+parseInt(_0x3463b1(0xe1))/0x2*(parseInt(_0x3463b1(0x10e))/0x3)+parseInt(_0x3463b1(0xd0))/0x4+parseInt(_0x3463b1(0xcb))/0x5+parseInt(_0x3463b1(0xe2))/0x6+-parseInt(_0x3463b1(0x108))/0x7+-parseInt(_0x3463b1(0xf2))/0x8;if(_0x2cc451===_0x272b86)break;else _0xc5babf['push'](_0xc5babf['shift']());}catch(_0x2d622f){_0xc5babf['push'](_0xc5babf['shift']());}}}(_0x2ae5,0x2fa88));import{AITextAdapter as _0x267a10}from'./aitextadapter.js';function _0x5208(_0x28f9c1,_0x54e7ce){const _0x2ae567=_0x2ae5();return _0x5208=function(_0x520849,_0x44f144){_0x520849=_0x520849-0xc2;let _0x10d535=_0x2ae567[_0x520849];return _0x10d535;},_0x5208(_0x28f9c1,_0x54e7ce);}import{AIRequestError as _0x4cef64}from'./aiadapter.js';function _0x2ae5(){const _0x514c03=['utf-8','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','completion','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','read','665606aywUGm','115260jzUjGI','join','filter','_readAsyncIterableResponse','generation','test','ai.assistant.adapter.aws.apiUrl','\x0a[/INST]','completions','sendRequest','meta.llama','split','anthropic.claude','_getGeneratedText','data','<<SYS>>\x0a','2490992CHXdih','send','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','define','generations','editor','_processAWSRequest','_readStaticResponse','_requestParameters','getReader','anthropic.claude-v2','_prepareRequestHeaders','decode','_processProxyRequest','signal','application/json','stringify','ai.assistant.adapter.aws.requestHeaders','resolve','_readStreamableResponse','pluginName','config','651763aAfAal','ai.assistant.adapter.aws.requestParameters','abortController','_prepareRequestParameters','get','Instruction:\x0a','3mKHGpY','_apiUrl','POST','\x0a<</SYS>>\x0a[INST]\x0a','length','_bedrockClientConfig','map','289754eFYgFF','bedrock-2023-05-31','AI_ERROR_UNSUPPORTED_MODEL','parse','1895795XnqAnZ','AWSTextAdapter','Human:\x0a','locale','ai.assistant.adapter.aws.bedrockClientConfig','633092sFkOmO','bytes','preparePrompt','text','ai21.j2','body','getModelFamily','cohere.command','\x0a\x0aAssistant:','chunk','_requestHeaders','json'];_0x2ae5=function(){return _0x514c03;};return _0x2ae5();}import{BedrockRuntimeClient as _0x28343f,InvokeModelCommand as _0x34f0ed,InvokeModelWithResponseStreamCommand as _0x20e054}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x1205ad}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x267a10{[_0xd11b91(0x10f)];[_0xd11b91(0xda)];[_0xd11b91(0xc5)];[_0xd11b91(0xfa)];static get[_0xd11b91(0x106)](){const _0x3af1fe=_0xd11b91;return _0x3af1fe(0xcc);}constructor(_0x49048a){const _0x1bbd83=_0xd11b91;super(_0x49048a),_0x49048a[_0x1bbd83(0x107)][_0x1bbd83(0x10c)](_0x1bbd83(0x109))||_0x49048a[_0x1bbd83(0x107)][_0x1bbd83(0xf5)](_0x1bbd83(0x109),{'model':_0x1bbd83(0xfc),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x1bbd83(0xc8),'stream':!0x0}),this[_0x1bbd83(0x10f)]=_0x49048a[_0x1bbd83(0x107)][_0x1bbd83(0x10c)](_0x1bbd83(0xe8)),this[_0x1bbd83(0xc5)]=_0x49048a[_0x1bbd83(0x107)][_0x1bbd83(0x10c)](_0x1bbd83(0xcf)),this[_0x1bbd83(0xda)]=_0x49048a[_0x1bbd83(0x107)][_0x1bbd83(0x10c)](_0x1bbd83(0x103)),this[_0x1bbd83(0xfa)]=_0x49048a[_0x1bbd83(0x107)][_0x1bbd83(0x10c)](_0x1bbd83(0x109));}async[_0xd11b91(0xeb)]({query:_0x5a2e18,context:_0x31f5c7,onData:_0xb8bf63,actionId:_0x374722}){const _0x12fda6=_0xd11b91,{model:_0x50227b,stream:_0x11da70,..._0x37b09e}=await this[_0x12fda6(0x10b)](this[_0x12fda6(0xfa)],_0x374722),_0x4e7f96={'prompt':await this[_0x12fda6(0xd2)](_0x5a2e18,_0x31f5c7,_0x50227b,_0x374722),..._0x37b09e};this[_0x12fda6(0x10f)]?await this[_0x12fda6(0xff)](_0x4e7f96,_0x50227b,_0x11da70,_0xb8bf63,_0x374722):await this[_0x12fda6(0xf8)](_0x4e7f96,_0x50227b,_0x11da70,_0xb8bf63);}async[_0xd11b91(0xd2)](_0x5b6772,_0x474be8,_0x12f26d,_0x58f721){const _0x47f2fb=_0xd11b91;let _0x7ad241,_0x51b2b0;return _0x474be8?(_0x7ad241=_0x47f2fb(0xf4),_0x51b2b0=_0x47f2fb(0x10d)+_0x5b6772+_0x47f2fb(0xdf)+_0x474be8):(_0x7ad241=_0x47f2fb(0xdd),_0x51b2b0=_0x5b6772),_0x47f2fb(0xec)==this[_0x47f2fb(0xd6)](_0x12f26d)?_0x47f2fb(0xf1)+_0x7ad241+_0x47f2fb(0xc3)+_0x51b2b0+_0x47f2fb(0xe9):_0x47f2fb(0xcd)+_0x7ad241+'\x0a'+_0x51b2b0+_0x47f2fb(0xd8);}[_0xd11b91(0xd6)](_0x5a2e9d){const _0x40c978=_0xd11b91;if(/^anthropic\.claude/[_0x40c978(0xe7)](_0x5a2e9d))return _0x40c978(0xee);if(/^ai21\.j2/[_0x40c978(0xe7)](_0x5a2e9d))return _0x40c978(0xd4);if(/^cohere\.command/[_0x40c978(0xe7)](_0x5a2e9d))return _0x40c978(0xd7);if(/^meta\.llama/[_0x40c978(0xe7)](_0x5a2e9d))return _0x40c978(0xec);throw new _0x4cef64(_0x1205ad(this[_0x40c978(0xf7)][_0x40c978(0xce)],_0x40c978(0xc9),_0x5a2e9d));}async[_0xd11b91(0xff)](_0x1b8dea,_0x944d18,_0x384396,_0x495ee3,_0x816b73){const _0xc7fde9=_0xd11b91,_0x9401ab={'method':_0xc7fde9(0xc2),'headers':await this[_0xc7fde9(0xfd)](this[_0xc7fde9(0xda)],_0x816b73),'body':JSON[_0xc7fde9(0x102)]({..._0x1b8dea,'model':_0x944d18,'stream':_0x384396}),'signal':this[_0xc7fde9(0x10a)][_0xc7fde9(0x100)]},_0x9d44bb=await fetch(this[_0xc7fde9(0x10f)],_0x9401ab);_0x384396?await this[_0xc7fde9(0x105)](_0x9d44bb,_0x944d18,_0x495ee3):await this[_0xc7fde9(0xf9)](_0x9d44bb,_0x944d18,_0x495ee3);}async[_0xd11b91(0xf8)](_0x114522,_0x4fd055,_0x4e7b62,_0xe28a70){const _0x545015=_0xd11b91,_0xb2ad42=new _0x28343f(this[_0x545015(0xc5)]),_0x1f0fbc={'body':JSON[_0x545015(0x102)](_0x114522),'contentType':_0x545015(0x101),'accept':_0x545015(0x101),'modelId':_0x4fd055};let _0x243a4;if(_0x4e7b62){const _0x301944=new _0x20e054(_0x1f0fbc);_0x243a4=await _0xb2ad42[_0x545015(0xf3)](_0x301944,{'abortSignal':this[_0x545015(0x10a)][_0x545015(0x100)]}),await this[_0x545015(0xe5)](_0x243a4,_0x4fd055,_0xe28a70);}else{const _0xcd3e15=new _0x34f0ed(_0x1f0fbc);_0x243a4=await _0xb2ad42[_0x545015(0xf3)](_0xcd3e15,{'abortSignal':this[_0x545015(0x10a)][_0x545015(0x100)]}),await this[_0x545015(0xf9)](_0x243a4,_0x4fd055,_0xe28a70);}}async[_0xd11b91(0xe5)](_0x412b92,_0x328e62,_0x74ab18){const _0x301cc0=_0xd11b91,_0x4215c1=_0x412b92[_0x301cc0(0xd5)],_0x412d8f=new TextDecoder(_0x301cc0(0xdc));let _0x35269c='';for await(const _0x5bcd9d of _0x4215c1)if(_0x5bcd9d[_0x301cc0(0xd9)]){const _0x4bfd09=_0x412d8f[_0x301cc0(0xfe)](_0x5bcd9d[_0x301cc0(0xd9)][_0x301cc0(0xd1)]),_0x21b1d6=JSON[_0x301cc0(0xca)](_0x4bfd09);_0x35269c+=this[_0x301cc0(0xef)](_0x21b1d6,_0x328e62),_0x74ab18(_0x35269c);}return Promise[_0x301cc0(0x104)]();}async[_0xd11b91(0x105)](_0x3dc704,_0x11e440,_0x475a7f){const _0xd1431f=_0xd11b91,_0x291caf=_0x3dc704[_0xd1431f(0xd5)],_0x145e39=new TextDecoder(_0xd1431f(0xdc)),_0x16f4b1=_0x291caf[_0xd1431f(0xfb)]();let _0x602148='',_0x12ad7d='',_0x5f959b=!0x1;for(;!_0x5f959b;){const {done:_0x18f07d,value:_0x572496}=await _0x16f4b1[_0xd1431f(0xe0)]();if(_0x5f959b=_0x18f07d,_0x5f959b)break;const _0x1c069a=(_0x602148+_0x145e39[_0xd1431f(0xfe)](_0x572496))[_0xd1431f(0xed)]('\x0a')[_0xd1431f(0xc6)](_0x4a837d=>{const _0x26f8cc=_0xd1431f;try{return _0x602148='',JSON[_0x26f8cc(0xca)](_0x4a837d);}catch{return _0x602148=_0x4a837d,null;}})[_0xd1431f(0xe4)](_0x45e30a=>null!==_0x45e30a);_0x1c069a[_0xd1431f(0xc4)]&&(_0x12ad7d+=_0x1c069a[_0xd1431f(0xc6)](_0x27aa90=>this[_0xd1431f(0xef)](_0x27aa90,_0x11e440))[_0xd1431f(0xe3)](''),_0x475a7f(_0x12ad7d));}return Promise[_0xd1431f(0x104)]();}async[_0xd11b91(0xf9)](_0x4dc83a,_0x4fb60c,_0x514c4f){const _0x8c8abe=_0xd11b91;let _0x28d9ed;return _0x28d9ed=_0x4dc83a instanceof Response?await _0x4dc83a[_0x8c8abe(0xdb)]():JSON[_0x8c8abe(0xca)](new TextDecoder(_0x8c8abe(0xdc))[_0x8c8abe(0xfe)](_0x4dc83a[_0x8c8abe(0xd5)])),(_0x514c4f(this[_0x8c8abe(0xef)](_0x28d9ed,_0x4fb60c)),Promise[_0x8c8abe(0x104)]());}[_0xd11b91(0xef)](_0x3e011e,_0x4fe64){const _0x7242d7=_0xd11b91;switch(this[_0x7242d7(0xd6)](_0x4fe64)){case _0x7242d7(0xee):return _0x3e011e[_0x7242d7(0xde)];case _0x7242d7(0xd4):return _0x3e011e[_0x7242d7(0xea)][0x0][_0x7242d7(0xf0)][_0x7242d7(0xd3)];case _0x7242d7(0xd7):return _0x3e011e[_0x7242d7(0xf6)][0x0][_0x7242d7(0xd3)];case _0x7242d7(0xec):return _0x3e011e[_0x7242d7(0xe6)];}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d11(){const _0x40a151=['text','content','delta','Instruction:\x0a','context_length_exceeded','json','_requestParameters','4116VqfzCV','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','pluginName','getReader','filter','ai.assistant.adapter.openAI.apiUrl','225VaLcpA','config','map','2517009BLkpGz','decode','data:\x20','message','signal','5798hFgNYE','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','POST','read','OpenAITextAdapter','26lgmvWe','sendRequest','define','body','_isBufferIncomplete','https://api.openai.com/v1/chat/completions','207720OMdawG','get','_readStaticResponse','ai.assistant.adapter.openAI.requestParameters','36xECRSP','stream','parse','[DONE]','_apiUrl','resolve','editor','AI_ERROR_MODERATION','2044WBMxbp','2037610NKfsfX','_readStreamableResponse','_requestHeaders','252goOzAQ','stringify','_prepareRequestHeaders','choices','_prepareRequestParameters','gpt-4o','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','ai.assistant.adapter.openAI.requestHeaders','_cleanUpData','Moderation','reject','replace','system','prepareMessages','includes','join','173024TrTnhd','AI_ERROR_CONTEXT_LENGTH','locale','abortController','split','user','length'];_0x2d11=function(){return _0x40a151;};return _0x2d11();}const _0x25e6c1=_0x249c;(function(_0x2364cd,_0x4f9329){const _0xac638a=_0x249c,_0x1f9e0b=_0x2364cd();while(!![]){try{const _0x4a59ab=-parseInt(_0xac638a(0x1b6))/0x1*(-parseInt(_0xac638a(0x1bb))/0x2)+-parseInt(_0xac638a(0x1c1))/0x3+parseInt(_0xac638a(0x1cd))/0x4*(parseInt(_0xac638a(0x1ae))/0x5)+-parseInt(_0xac638a(0x1d1))/0x6*(-parseInt(_0xac638a(0x1ef))/0x7)+parseInt(_0xac638a(0x1e1))/0x8*(parseInt(_0xac638a(0x1c5))/0x9)+parseInt(_0xac638a(0x1ce))/0xa+-parseInt(_0xac638a(0x1b1))/0xb;if(_0x4a59ab===_0x4f9329)break;else _0x1f9e0b['push'](_0x1f9e0b['shift']());}catch(_0x5443ee){_0x1f9e0b['push'](_0x1f9e0b['shift']());}}}(_0x2d11,0x1c24f));import{AITextAdapter as _0x18b178}from'./aitextadapter.js';import{AIRequestError as _0x29c96b}from'./aiadapter.js';function _0x249c(_0x57b5e9,_0x152b09){const _0x2d11f7=_0x2d11();return _0x249c=function(_0x249ca0,_0x3f5e76){_0x249ca0=_0x249ca0-0x1ae;let _0x210839=_0x2d11f7[_0x249ca0];return _0x210839;},_0x249c(_0x57b5e9,_0x152b09);}import{getTranslation as _0x2c0aad}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x18b178{[_0x25e6c1(0x1c9)];[_0x25e6c1(0x1d0)];[_0x25e6c1(0x1ee)];static get[_0x25e6c1(0x1f1)](){const _0x39409a=_0x25e6c1;return _0x39409a(0x1ba);}constructor(_0x89e8c9){const _0x268bb2=_0x25e6c1;super(_0x89e8c9),_0x89e8c9[_0x268bb2(0x1af)][_0x268bb2(0x1bd)](_0x268bb2(0x1f4),_0x268bb2(0x1c0)),_0x89e8c9[_0x268bb2(0x1af)][_0x268bb2(0x1c2)](_0x268bb2(0x1c4))||_0x89e8c9[_0x268bb2(0x1af)][_0x268bb2(0x1bd)](_0x268bb2(0x1c4),{'model':_0x268bb2(0x1d6),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x268bb2(0x1c9)]=_0x89e8c9[_0x268bb2(0x1af)][_0x268bb2(0x1c2)](_0x268bb2(0x1f4)),this[_0x268bb2(0x1d0)]=_0x89e8c9[_0x268bb2(0x1af)][_0x268bb2(0x1c2)](_0x268bb2(0x1d8))||{},this[_0x268bb2(0x1ee)]=_0x89e8c9[_0x268bb2(0x1af)][_0x268bb2(0x1c2)](_0x268bb2(0x1c4));}async[_0x25e6c1(0x1bc)]({query:_0x1c7391,context:_0x372020,onData:_0x1a595f,actionId:_0x11e2b4}){const _0x4bc97e=_0x25e6c1,_0x1d4ad8=this[_0x4bc97e(0x1cb)][_0x4bc97e(0x1e3)],_0x1d7280=await this[_0x4bc97e(0x1de)](_0x1c7391,_0x372020,_0x11e2b4),_0x8f4f20=await this[_0x4bc97e(0x1d3)](this[_0x4bc97e(0x1d0)],_0x11e2b4),_0x560c94=await this[_0x4bc97e(0x1d5)](this[_0x4bc97e(0x1ee)],_0x11e2b4),_0x53f5d5={'messages':_0x1d7280,..._0x560c94},_0x5a66cf={'method':_0x4bc97e(0x1b8),'headers':_0x8f4f20,'body':JSON[_0x4bc97e(0x1d2)](_0x53f5d5),'signal':this[_0x4bc97e(0x1e4)][_0x4bc97e(0x1b5)]},_0x4cce6f=await fetch(this[_0x4bc97e(0x1c9)],_0x5a66cf);if(_0x4cce6f['ok'])return _0x560c94[_0x4bc97e(0x1c6)]?await this[_0x4bc97e(0x1cf)](_0x4cce6f,_0x1a595f):await this[_0x4bc97e(0x1c3)](_0x4cce6f,_0x1a595f),Promise[_0x4bc97e(0x1ca)]();{const _0x2e06fc=await _0x4cce6f[_0x4bc97e(0x1e8)]();return _0x2e06fc[_0x4bc97e(0x1df)](_0x4bc97e(0x1ec))?Promise[_0x4bc97e(0x1db)](new _0x29c96b(_0x2c0aad(_0x1d4ad8,_0x4bc97e(0x1e2)))):_0x2e06fc[_0x4bc97e(0x1df)](_0x4bc97e(0x1da))?Promise[_0x4bc97e(0x1db)](new _0x29c96b(_0x2c0aad(_0x1d4ad8,_0x4bc97e(0x1cc)))):Promise[_0x4bc97e(0x1db)](new Error(_0x2e06fc));}}async[_0x25e6c1(0x1de)](_0x12fe48,_0x59d35c,_0x4e8f2c){const _0x20921b=_0x25e6c1;let _0x1203f8,_0x34d281;return _0x59d35c?(_0x1203f8=_0x20921b(0x1d7),_0x34d281=_0x20921b(0x1eb)+_0x12fe48+_0x20921b(0x1f0)+_0x59d35c):(_0x1203f8=_0x20921b(0x1b7),_0x34d281=_0x12fe48),[{'role':_0x20921b(0x1dd),'content':_0x1203f8},{'role':_0x20921b(0x1e6),'content':_0x34d281}];}async[_0x25e6c1(0x1cf)](_0x32c557,_0x358f81){const _0x45e105=_0x25e6c1,_0x20d1b6=_0x32c557[_0x45e105(0x1be)][_0x45e105(0x1f2)](),_0x255cc0=new TextDecoder();let _0x52dc91='',_0x565d30='',_0x42440b='',_0x584000=!0x1;for(;!_0x584000;){const {done:_0x33d8f3,value:_0x4809a0}=await _0x20d1b6[_0x45e105(0x1b9)](),_0x4052ee=_0x52dc91+_0x255cc0[_0x45e105(0x1b2)](_0x4809a0);let _0x10f872='';_0x584000=_0x33d8f3;try{_0x10f872=this[_0x45e105(0x1d9)](_0x4052ee),_0x52dc91='';}catch{_0x52dc91=_0x4052ee;continue;}_0x565d30+=_0x10f872,!_0x584000&&this[_0x45e105(0x1bf)](_0x565d30)||_0x565d30&&(_0x42440b+=_0x565d30,_0x565d30='',_0x358f81(_0x42440b));}return Promise[_0x45e105(0x1ca)]();}async[_0x25e6c1(0x1c3)](_0x52a9fa,_0x1ac73c){const _0x467ed1=_0x25e6c1;return _0x1ac73c((await _0x52a9fa[_0x467ed1(0x1ed)]())[_0x467ed1(0x1d4)][0x0][_0x467ed1(0x1b4)][_0x467ed1(0x1e9)]),Promise[_0x467ed1(0x1ca)]();}[_0x25e6c1(0x1bf)](_0x1c5559){const _0x3a8f94=_0x25e6c1,_0x3ab3c5=_0x1c5559[_0x3a8f94(0x1e5)]('<')[_0x3a8f94(0x1e7)]!==_0x1c5559[_0x3a8f94(0x1e5)]('>')[_0x3a8f94(0x1e7)],_0x4d08c3=_0x1c5559[_0x3a8f94(0x1e7)]<0x1e;return _0x3ab3c5&&_0x4d08c3;}[_0x25e6c1(0x1d9)](_0x1694a0){const _0x462385=_0x25e6c1;return _0x1694a0[_0x462385(0x1e5)](/\n(?![^{]*\})/g)[_0x462385(0x1b0)](_0x4e6b13=>_0x4e6b13[_0x462385(0x1dc)](_0x462385(0x1b3),''))[_0x462385(0x1f3)](_0x3f66a1=>_0x3f66a1&&_0x3f66a1[_0x462385(0x1e7)]>0x0&&_0x462385(0x1c8)!==_0x3f66a1)[_0x462385(0x1b0)](_0x1e8a08=>{const _0x495dd8=_0x462385,{choices:_0x3127fb}=JSON[_0x495dd8(0x1c7)](_0x1e8a08);if(_0x3127fb[0x0]?.[_0x495dd8(0x1ea)]?.[_0x495dd8(0x1e9)])return _0x3127fb[0x0][_0x495dd8(0x1ea)][_0x495dd8(0x1e9)];})[_0x462385(0x1f3)](_0x1467b4=>_0x1467b4)[_0x462385(0x1e0)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40f93b=_0x5d48;(function(_0x5b7d4e,_0x59489){const _0x58193e=_0x5d48,_0x509d8e=_0x5b7d4e();while(!![]){try{const _0x7a6c7e=parseInt(_0x58193e(0xd7))/0x1+parseInt(_0x58193e(0xc9))/0x2+-parseInt(_0x58193e(0xc7))/0x3+parseInt(_0x58193e(0xae))/0x4+parseInt(_0x58193e(0x109))/0x5*(-parseInt(_0x58193e(0xec))/0x6)+parseInt(_0x58193e(0xb1))/0x7+-parseInt(_0x58193e(0xfc))/0x8*(parseInt(_0x58193e(0xfd))/0x9);if(_0x7a6c7e===_0x59489)break;else _0x509d8e['push'](_0x509d8e['shift']());}catch(_0x300d5b){_0x509d8e['push'](_0x509d8e['shift']());}}}(_0x3266,0xb9bf9));import{Plugin as _0x221c93}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x4dd9db}from'./aiassistantui.js';import{AIAssistantEditing as _0x3c4202}from'./aiassistantediting.js';function _0x3266(){const _0x4f8928=['Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Generate\x20from\x20selection','French','Change\x20tone','casual','translateChinese','Simplified\x20Chinese','Translate','continue','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','professional','editOrReview','generate','ai.assistant.commands','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','2518460dGvsQn','makeLonger','isOfficialPlugin','9812159ANRtSK','filter','Translate\x20the\x20content\x20to\x20German\x20language.','ai.assistant.extraCommandGroups','commands','Continue','ai.assistant.preserveComments','Casual','changeTone','push','Change\x20style','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Direct','ai.assistant.removeCommands','Arabic','Professional','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Confident','requires','Translate\x20the\x20content\x20to\x20Arabic\x20language.','friendly','2036358mYBGEa','translateHindi','222496QusZKg','Simplify\x20language','set','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','get','summarize','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','improveWriting','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','config','translateEnglish','Edit\x20or\x20review','translatePortuguese','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','704790KrDvGx','Friendly','poetic','translate','makeShorter','Poetic','changeStyle','Spanish','confident','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','business','translateArabic','includes','Journalism','AIAssistant','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20English\x20language.','Business','locale','groupId','Hindi','6yeBaBd','concat','Legal','journalism','English','Make\x20longer','Summarize','Translate\x20the\x20content\x20to\x20Hindi\x20language.','find','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateSpanish','translateFrench','Improve\x20writing','German','forEach','Portuguese','4460504cQEqkf','9BEQiHR','Translate\x20the\x20content\x20to\x20French\x20language.','Make\x20shorter','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','define','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','pluginName','isPremiumPlugin','legal','direct','translateGerman','4251080FFOWaC','simplifyLanguage','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'];_0x3266=function(){return _0x4f8928;};return _0x3266();}function _0x5d48(_0x2280ae,_0x1a351a){const _0x326615=_0x3266();return _0x5d48=function(_0x5d483a,_0x165d35){_0x5d483a=_0x5d483a-0xad;let _0x548d65=_0x326615[_0x5d483a];return _0x548d65;},_0x5d48(_0x2280ae,_0x1a351a);}import{getTranslation as _0x3e7aa3}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0xc743dc}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x221c93{static get[_0x40f93b(0xc4)](){return[_0x4dd9db,_0x3c4202];}static get[_0x40f93b(0x104)](){const _0x3da3cc=_0x40f93b;return _0x3da3cc(0xe5);}static get[_0x40f93b(0xb0)](){return!0x0;}static get[_0x40f93b(0x105)](){return!0x0;}constructor(_0x411a58){const _0x6a3236=_0x40f93b;super(_0x411a58);const _0x33fd26=_0x411a58[_0x6a3236(0xd2)],_0x16c117=_0x411a58[_0x6a3236(0xe9)];_0x33fd26[_0x6a3236(0x101)](_0x6a3236(0xb7),!0x0),_0x33fd26[_0x6a3236(0x101)](_0x6a3236(0x11a),getDefaultAICommands(_0x16c117)),_0x33fd26[_0x6a3236(0x101)](_0x6a3236(0xb4),[]),_0x33fd26[_0x6a3236(0x101)](_0x6a3236(0xbf),[]);let _0x2e451f=_0xc743dc(_0x33fd26[_0x6a3236(0xcd)](_0x6a3236(0x11a)),_0x16c117);const _0x1e89c6=_0x33fd26[_0x6a3236(0xcd)](_0x6a3236(0xb4)),_0x1f50ed=_0x33fd26[_0x6a3236(0xcd)](_0x6a3236(0xbf));_0x1e89c6[_0x6a3236(0xfa)](_0x3e7c4d=>{const _0x2b79d5=_0x6a3236,_0x23e180=_0x2e451f[_0x2b79d5(0xf4)](_0x5eebac=>_0x5eebac[_0x2b79d5(0xea)]===_0x3e7c4d[_0x2b79d5(0xea)]);_0x23e180?_0x23e180[_0x2b79d5(0xb5)]=_0x23e180[_0x2b79d5(0xb5)][_0x2b79d5(0xed)](_0x3e7c4d[_0x2b79d5(0xb5)]):_0x2e451f[_0x2b79d5(0xba)](_0x3e7c4d);}),_0x2e451f=_0x2e451f[_0x6a3236(0xb2)](_0x30d10b=>!_0x1f50ed[_0x6a3236(0xe3)](_0x30d10b[_0x6a3236(0xea)])),_0x2e451f[_0x6a3236(0xfa)](_0x4be54e=>{const _0x5d0d23=_0x6a3236;_0x4be54e[_0x5d0d23(0xb5)]=_0x4be54e[_0x5d0d23(0xb5)][_0x5d0d23(0xb2)](_0x5b5ddb=>!_0x1f50ed[_0x5d0d23(0xe3)](_0x5b5ddb['id']));}),_0x33fd26[_0x6a3236(0xcb)](_0x6a3236(0x11a),_0x2e451f);}}export function getDefaultAICommands(_0xbdf171){const _0x6ab860=_0x40f93b;return[{'groupId':_0x6ab860(0x118),'groupLabel':_0x3e7aa3(_0xbdf171,_0x6ab860(0xd4)),'commands':[{'id':_0x6ab860(0xd0),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xf8)),'prompt':_0x6ab860(0xc2)},{'id':_0x6ab860(0xdb),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xff)),'prompt':_0x6ab860(0x100)},{'id':_0x6ab860(0xaf),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xf1)),'prompt':_0x6ab860(0xbc)},{'id':_0x6ab860(0x10a),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xca)),'prompt':_0x6ab860(0x102)}]},{'groupId':_0x6ab860(0x119),'groupLabel':_0x3e7aa3(_0xbdf171,_0x6ab860(0x10e)),'commands':[{'id':_0x6ab860(0xce),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xf2)),'prompt':_0x6ab860(0xe0)},{'id':_0x6ab860(0x115),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xb6)),'prompt':_0x6ab860(0x116)}]},{'groupId':_0x6ab860(0xb9),'groupLabel':_0x3e7aa3(_0xbdf171,_0x6ab860(0x110)),'commands':[{'id':_0x6ab860(0x117),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xc1)),'prompt':_0x6ab860(0xcc)},{'id':_0x6ab860(0x111),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xb8)),'prompt':_0x6ab860(0xe6)},{'id':_0x6ab860(0x107),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xbe)),'prompt':_0x6ab860(0xd1)},{'id':_0x6ab860(0xdf),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xc3)),'prompt':_0x6ab860(0xad)},{'id':_0x6ab860(0xc6),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xd8)),'prompt':_0x6ab860(0x10c)}]},{'groupId':_0x6ab860(0xdd),'groupLabel':_0x3e7aa3(_0xbdf171,_0x6ab860(0xbb)),'commands':[{'id':_0x6ab860(0xe1),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xe8)),'prompt':_0x6ab860(0x10d)},{'id':_0x6ab860(0x106),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xee)),'prompt':_0x6ab860(0x10b)},{'id':_0x6ab860(0xef),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xe4)),'prompt':_0x6ab860(0xd6)},{'id':_0x6ab860(0xd9),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xdc)),'prompt':_0x6ab860(0x103)}]},{'groupId':_0x6ab860(0xda),'groupLabel':_0x3e7aa3(_0xbdf171,_0x6ab860(0x114)),'commands':[{'id':_0x6ab860(0xd3),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xf0)),'prompt':_0x6ab860(0xe7)},{'id':_0x6ab860(0xf6),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xde)),'prompt':_0x6ab860(0xf5)},{'id':_0x6ab860(0xd5),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xfb)),'prompt':_0x6ab860(0xbd)},{'id':_0x6ab860(0x108),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xf9)),'prompt':_0x6ab860(0xb3)},{'id':_0x6ab860(0xf7),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0x10f)),'prompt':_0x6ab860(0xfe)},{'id':_0x6ab860(0x112),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0x113)),'prompt':_0x6ab860(0xcf)},{'id':_0x6ab860(0xc8),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xeb)),'prompt':_0x6ab860(0xf3)},{'id':_0x6ab860(0xe2),'label':_0x3e7aa3(_0xbdf171,_0x6ab860(0xc0)),'prompt':_0x6ab860(0xc5)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1e60(_0x42771d,_0xaaae12){const _0x10c0a2=_0x10c0();return _0x1e60=function(_0x1e60b1,_0x997433){_0x1e60b1=_0x1e60b1-0x66;let _0x329d65=_0x10c0a2[_0x1e60b1];return _0x329d65;},_0x1e60(_0x42771d,_0xaaae12);}function _0x10c0(){const _0x4aa6ac=['addMarker','selection','last','6PxLaSi','232006IvudUt','model','getRanges','ck-fake-ai-selection','schema','markerToElement','deleteContent','setSelection','_createEmptyTableRows','createSelection','70xPdito','getSelectedTableCells','resultRange','getColumnIndexes','markerRange','ai-ui','element','text/html','getRange','ck-fake-ai-selection_collapsed','TableUtils','has','span','paste','hideFakeVisualSelection','_pasteHTMLUsingClipboard','parse','conversion','contentInsertion','fromCharCode','showFakeVisualSelection','getMarkersGroup','insertRows','getRows','lowest','data','pop','editor','plugins','config','getChild','_getAISelection','canEditAt','for','_getTableRowCountFromContent','_getDefaultInsertBelowPosition','change','isPremiumPlugin','push','_resetContentOfSelectedTableCells','markerToHighlight','length','3028518JECYmL','end','once','addClass','78844mSzoGw','isOfficialPlugin','insertContent','first','isAtEnd','getLastPosition','setData','afterInit','insertContentBelow','_prepareTableInsertBelowPosition','isCollapsed','fire','createPositionAfter','AIAssistantEditing','join','16vBwDEN','init','filter','createUIElement','removeMarker','editingDowncast','getLastMatchingPosition','createPositionAt','forEach','1239365iLZFEK','ck-ai-assistant-ui_theme','getFirstRange','62084EPlEMn','isContent','updateMarker','ai.assistant.useTheme','editing','document','pluginName','table','createRange','findAncestor','off','getRowIndexes','from','DataTransfer','60pubpsv','800695fdCIyX','getChildren','start','get','markers','map','href','233690UgwAel','getSelectedBlocks'];_0x10c0=function(){return _0x4aa6ac;};return _0x10c0();}const _0x557410=_0x1e60;(function(_0xf34a71,_0x31b61b){const _0x5123cc=_0x1e60,_0x28ca98=_0xf34a71();while(!![]){try{const _0x1b20a0=-parseInt(_0x5123cc(0xce))/0x1+-parseInt(_0x5123cc(0xd4))/0x2+parseInt(_0x5123cc(0xc6))/0x3*(parseInt(_0x5123cc(0x9d))/0x4)+parseInt(_0x5123cc(0xb5))/0x5*(parseInt(_0x5123cc(0xd3))/0x6)+parseInt(_0x5123cc(0xc7))/0x7*(parseInt(_0x5123cc(0xac))/0x8)+-parseInt(_0x5123cc(0x99))/0x9+-parseInt(_0x5123cc(0x6f))/0xa*(-parseInt(_0x5123cc(0xb8))/0xb);if(_0x1b20a0===_0x31b61b)break;else _0x28ca98['push'](_0x28ca98['shift']());}catch(_0x2fe493){_0x28ca98['push'](_0x28ca98['shift']());}}}(_0x10c0,0x36bb0));import{uid as _0x331793}from'ckeditor5/src/utils.js';import{Plugin as _0x553662}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x28b1a6}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5b3765,ViewDataTransfer as _0x34becf}from'ckeditor5/src/engine.js';const O=globalThis[_0x557410(0xc5)],j=_0x557410(0x74);export class AIAssistantEditing extends _0x553662{static get[_0x557410(0xbe)](){const _0x226c48=_0x557410;return _0x226c48(0xaa);}static get[_0x557410(0x9e)](){return!0x0;}static get[_0x557410(0x94)](){return!0x0;}[_0x557410(0xad)](){const _0x5bcab5=_0x557410,{editor:_0x791750}=this,_0x3cc749=[_0x5bcab5(0x68)];_0x791750[_0x5bcab5(0x8c)][_0x5bcab5(0xca)](_0x5bcab5(0xbb))&&_0x3cc749[_0x5bcab5(0x95)](_0x5bcab5(0xb6)),_0x791750[_0x5bcab5(0x80)][_0x5bcab5(0x90)](_0x5bcab5(0xb1))[_0x5bcab5(0x97)]({'model':j,'view':{'classes':_0x3cc749,'priority':0xc}}),_0x791750[_0x5bcab5(0x80)][_0x5bcab5(0x90)](_0x5bcab5(0xb1))[_0x5bcab5(0x6a)]({'model':j,'view':(_0x2e30b1,{writer:_0x28c7db})=>{const _0x46280a=_0x5bcab5;if(!_0x2e30b1[_0x46280a(0x73)][_0x46280a(0xa7)])return null;const _0x4ca7bd=_0x28c7db[_0x46280a(0xaf)](_0x46280a(0x7b));return _0x28c7db[_0x46280a(0x9c)]([_0x46280a(0x68),_0x46280a(0x78)],_0x4ca7bd),_0x4ca7bd;}});}[_0x557410(0xa4)](){!async function(_0x10ea85){const _0x45afc4=_0x4e5f15([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x25ba0c=0x3dffc4e1,_0x4a30d7=0x3df8b049^_0x25ba0c,_0x3886ae=window[_0x4e5f15([0x44,0x61,0x74,0x65])][_0x4e5f15([0x6e,0x6f,0x77])](),_0x6d5116=_0x10ea85[_0x4e5f15([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c3205=new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58a77a=>{_0x6d5116[_0x4e5f15([0x6f,0x6e,0x63,0x65])](_0x4e5f15([0x72,0x65,0x61,0x64,0x79]),_0x58a77a);}),_0x467d1f={[_0x4e5f15([0x6b,0x74,0x79])]:_0x4e5f15([0x45,0x43]),[_0x4e5f15([0x75,0x73,0x65])]:_0x4e5f15([0x73,0x69,0x67]),[_0x4e5f15([0x63,0x72,0x76])]:_0x4e5f15([0x50,0x2d,0x32,0x35,0x36]),[_0x4e5f15([0x78])]:_0x4e5f15([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]),[_0x4e5f15([0x79])]:_0x4e5f15([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]),[_0x4e5f15([0x61,0x6c,0x67])]:_0x4e5f15([0x45,0x53,0x32,0x35,0x36])},_0x3df5eb=_0x6d5116[_0x4e5f15([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e5f15([0x67,0x65,0x74])](_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c2897(){let _0x5dedb2,_0x1e7169=null,_0x4bd43f=null;try{if(_0x3df5eb==_0x4e5f15([0x47,0x50,0x4c]))return _0x4e5f15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5dedb2=_0x567fa6(),!_0x5dedb2)return _0x4e5f15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5dedb2[_0x4e5f15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4bd43f=_0x5d07d8(_0x5dedb2[_0x4e5f15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5dedb2[_0x4e5f15([0x6a,0x74,0x69])])),await _0x30b388()?_0x2c33fb()?_0x3cea78()?_0x4e5f15([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9c0979()?(_0x5dedb2[_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e5f15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e7169=_0x18b286(_0x4e5f15([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5dedb2[_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e5f15([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e7169=_0x18b286(_0x4e5f15([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b7888()):_0x4e5f15([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e5f15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e5f15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e5f15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cea78(){const _0x5013e=[_0x4e5f15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e5f15([0x74,0x72,0x69,0x61,0x6c])][_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dedb2[_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3886ae/0x3e8:0xe10*_0x4a30d7;return _0x5dedb2[_0x4e5f15([0x65,0x78,0x70])]<_0x5013e;}function _0x2c33fb(){const _0x17c2cd=_0x5dedb2[_0x4e5f15([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17c2cd&&(!!_0x17c2cd[_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5f15([0x2a]))||!!_0x17c2cd[_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5f15([0x41,0x49])));}function _0x9c0979(){const _0x1fa386=_0x1e60,_0x56f37d=_0x5dedb2[_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x56f37d||0x0==_0x56f37d[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x182999}=new URL(window[_0x4e5f15([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1fa386(0xcd)]);if(_0x56f37d[_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x182999))return!0x0;const _0x13f41b=_0x182999[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])](_0x4e5f15([0x2e]));return _0x56f37d[_0x4e5f15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40ddd0=>_0x40ddd0[_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5f15([0x2a])))[_0x4e5f15([0x6d,0x61,0x70])](_0x1f8306=>_0x1f8306[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])](_0x4e5f15([0x2e])))[_0x4e5f15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dc8e7=>_0x1dc8e7[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13f41b[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e5f15([0x6d,0x61,0x70])](_0x58a31e=>Array(_0x13f41b[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58a31e[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e5f15([0x66,0x69,0x6c,0x6c])](_0x58a31e[0x0]===_0x4e5f15([0x2a])?_0x4e5f15([0x2a]):'')[_0x4e5f15([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58a31e))[_0x4e5f15([0x73,0x6f,0x6d,0x65])](_0x34c44c=>_0x13f41b[_0x4e5f15([0x65,0x76,0x65,0x72,0x79])]((_0x454362,_0x2b85e8)=>_0x34c44c[_0x2b85e8]===_0x454362||_0x34c44c[_0x2b85e8]===_0x4e5f15([0x2a])));}function _0x1b7888(){return _0x1e7169&&_0x4bd43f?new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x161df2,_0x443e03)=>{_0x1e7169[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x161df2,_0x443e03),_0x4bd43f[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x49fad6=>{_0x49fad6!=_0x4e5f15([0x56,0x61,0x6c,0x69,0x64])&&_0x161df2(_0x49fad6);},_0x443e03);}):_0x1e7169||_0x4bd43f||_0x4e5f15([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d07d8(_0xd97d06,_0x356b2a){return new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fc69c=>{if(_0x3c50c2())return _0x4fc69c(_0x4e5f15([0x56,0x61,0x6c,0x69,0x64]));_0x528fda(),_0x6d5116[_0x4e5f15([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e5f15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26b24b=!0x1;const _0x1f2bfd=_0x331793();function _0x1ffc9c(_0x4108be){return!!_0x4108be&&(typeof _0x4108be===_0x4e5f15([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4108be===_0x4e5f15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4108be[_0x4e5f15([0x74,0x68,0x65,0x6e])]===_0x4e5f15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4108be[_0x4e5f15([0x63,0x61,0x74,0x63,0x68])]===_0x4e5f15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x154331(_0x17c55a){_0x316a49(_0x17c55a)[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x350ccc=>{if(!_0x350ccc||_0x350ccc[_0x4e5f15([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e5f15([0x6f,0x6b]))return _0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x414090(_0xc17536(_0x1f2bfd+_0x356b2a))!=_0x350ccc[_0x4e5f15([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e5f15([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x45ebb3=>(_0x5787be(),_0x45ebb3),()=>{const _0x1a174c=_0x55febc();return null==_0x1a174c?(_0x5787be(),_0x4e5f15([0x56,0x61,0x6c,0x69,0x64])):_0x4e5f15(_0x3886ae-_0x1a174c>(0x19f340e1^_0x25ba0c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x4fc69c)[_0x4e5f15([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fc69c(_0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c3e48=0x3dc92a61^_0x25ba0c;function _0x5787be(){const _0x176f3f=_0x4e5f15([0x6c,0x6c,0x63,0x74,0x2d])+_0x414090(_0xc17536(_0xd97d06)),_0x32eb5a=_0x154654(_0x414090(window[_0x4e5f15([0x4d,0x61,0x74,0x68])][_0x4e5f15([0x63,0x65,0x69,0x6c])](_0x3886ae/_0x2c3e48)));window[_0x4e5f15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e5f15([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x176f3f,_0x32eb5a);}function _0x55febc(){const _0x116f59=_0x4e5f15([0x6c,0x6c,0x63,0x74,0x2d])+_0x414090(_0xc17536(_0xd97d06)),_0x26ee66=window[_0x4e5f15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e5f15([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x116f59);return _0x26ee66?window[_0x4e5f15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x154654(_0x26ee66),0x10)*_0x2c3e48:null;}function _0x316a49(_0xf485c1){return new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22fbaf,_0x3b06ff)=>{_0xf485c1[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x22fbaf,_0x3b06ff),window[_0x4e5f15([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b06ff,0x3dfe1021^_0x25ba0c);});}}_0x6d5116[_0x4e5f15([0x6f,0x6e])](_0x4e5f15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3892aa,_0x1ca706)=>{if(_0x1ca706[0x0]!=_0xd97d06)return _0x4fc69c(_0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ca706[0x1]={..._0x1ca706[0x1],[_0x4e5f15([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f2bfd};},{[_0x4e5f15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e5f15([0x68,0x69,0x67,0x68])}),_0x6d5116[_0x4e5f15([0x6f,0x6e])](_0x4e5f15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd38f2d=>{_0x1ffc9c(_0xd38f2d[_0x4e5f15([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26b24b=!0x0,_0x154331(_0xd38f2d[_0x4e5f15([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e5f15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e5f15([0x6c,0x6f,0x77])}),_0x2c3205[_0x4e5f15([0x74,0x68,0x65,0x6e])](()=>{_0x26b24b||_0x4fc69c(_0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c50c2(){return _0x6d5116[_0x4e5f15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e5f15([0x76,0x69,0x65,0x77])][_0x4e5f15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e5f15([0x61,0x75,0x74,0x6f]);}function _0x528fda(){_0x6d5116[_0x4e5f15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e5f15([0x76,0x69,0x65,0x77])][_0x4e5f15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e5f15([0x61,0x75,0x74,0x6f]);}}function _0x18b286(_0x4023b2){const _0x1eaca9=[new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fe181=>setTimeout(_0x1fe181,0x3df6fa2d^_0x25ba0c)),_0x2c3205[_0x4e5f15([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x159e62=>{let _0x4d1fce=0x0;_0x6d5116[_0x4e5f15([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e5f15([0x6f,0x6e])](_0x4e5f15([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x527c3c,_0x8461cc)=>{_0x8461cc[0x0][_0x4e5f15([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d1fce++,_0x4d1fce==(0x3dffc519^_0x25ba0c)&&(_0x159e62(),_0x527c3c[_0x4e5f15([0x6f,0x66,0x66])]());});}))];return window[_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e5f15([0x72,0x61,0x63,0x65])](_0x1eaca9)[_0x4e5f15([0x74,0x68,0x65,0x6e])](()=>_0x4023b2);}async function _0x1f7f32(){await _0x2c3205,_0x6d5116[_0x4e5f15([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e5f15([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35a5c5,_0x6d5116[_0x4e5f15([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e5f15([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35a5c5,_0x6d5116[_0x4e5f15([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e5f15([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b4ad6(_0x43e721){const _0x1d335a=_0xe91f49();_0x6d5116[_0x1d335a]=_0x4e5f15([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43e721,_0x43e721!=_0x4e5f15([0x56,0x61,0x6c,0x69,0x64])&&_0x1f7f32();}function _0xe91f49(){const _0x3d2081=window[_0x4e5f15([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e5f15([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e5f15([0x6e,0x6f,0x77])]())[_0x4e5f15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e5f15([0x2e]),'');let _0x540481=_0x4e5f15([0x6e]);for(let _0x3128fa=0x0;_0x3128fa<_0x3d2081[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3128fa+=0x2){let _0x4e21e9=window[_0x4e5f15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d2081[_0x4e5f15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3128fa,_0x3128fa+0x2));_0x4e21e9>=_0x45afc4[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e21e9-=_0x45afc4[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x540481+=_0x45afc4[_0x4e21e9];}return _0x540481;}function _0x567fa6(){const _0x13f069=_0x3df5eb[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])](_0x4e5f15([0x2e]));if(0x3!=_0x13f069[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22eb00(_0x13f069[0x1]);function _0x22eb00(_0x4ebcb3){const _0x5c5e65=_0x16b085(_0x4ebcb3);return _0x5c5e65&&_0x46b1b8()?_0x5c5e65:null;function _0x46b1b8(){const _0x513b62=_0x5c5e65[_0x4e5f15([0x6a,0x74,0x69])],_0x15eaa7=window[_0x4e5f15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x513b62[_0x4e5f15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x513b62[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x530184={..._0x5c5e65,[_0x4e5f15([0x6a,0x74,0x69])]:_0x513b62[_0x4e5f15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x513b62[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x530184[_0x4e5f15([0x76,0x63])],_0xc17536(_0x530184)==_0x15eaa7;}}}async function _0x30b388(){let _0x378885=!0x0;try{const _0x476cb7=_0x3df5eb[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])](_0x4e5f15([0x2e])),[_0x184bc8,_0x542224,_0x22a1da]=_0x476cb7;return _0x39f3e1(_0x184bc8),await _0x60ad8c(_0x184bc8,_0x542224,_0x22a1da),_0x378885;}catch{return!0x1;}function _0x39f3e1(_0x11833f){const _0x5da052=_0x16b085(_0x11833f);_0x5da052&&_0x5da052[_0x4e5f15([0x61,0x6c,0x67])]==_0x4e5f15([0x45,0x53,0x32,0x35,0x36])||(_0x378885=!0x1);}async function _0x60ad8c(_0x38dcb7,_0x147704,_0x52884c){const _0x5a8a4b=window[_0x4e5f15([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e5f15([0x66,0x72,0x6f,0x6d])](_0x1179de(_0x52884c),_0x35d522=>_0x35d522[_0x4e5f15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ecf6c=new window[(_0x4e5f15([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e5f15([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38dcb7+_0x4e5f15([0x2e])+_0x147704),_0x5cd646=window[_0x4e5f15([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e5f15([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cd646)return;const _0x2a9798=await _0x5cd646[_0x4e5f15([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e5f15([0x6a,0x77,0x6b]),_0x467d1f,{[_0x4e5f15([0x6e,0x61,0x6d,0x65])]:_0x4e5f15([0x45,0x43,0x44,0x53,0x41]),[_0x4e5f15([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e5f15([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e5f15([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cd646[_0x4e5f15([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e5f15([0x6e,0x61,0x6d,0x65])]:_0x4e5f15([0x45,0x43,0x44,0x53,0x41]),[_0x4e5f15([0x68,0x61,0x73,0x68])]:{[_0x4e5f15([0x6e,0x61,0x6d,0x65])]:_0x4e5f15([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a9798,_0x5a8a4b,_0x4ecf6c)||(_0x378885=!0x1);}}function _0x16b085(_0x59ef08){return _0x59ef08[_0x4e5f15([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e5f15([0x65,0x79]))?JSON[_0x4e5f15([0x70,0x61,0x72,0x73,0x65])](_0x1179de(_0x59ef08)):null;}function _0x1179de(_0x26d74a){return window[_0x4e5f15([0x61,0x74,0x6f,0x62])](_0x26d74a[_0x4e5f15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e5f15([0x2b]))[_0x4e5f15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e5f15([0x2f])));}function _0xc17536(_0x1c9843){let _0xfe9d60=0x1505;function _0x2c95fc(_0x27ee68){for(let _0x20edf7=0x0;_0x20edf7<_0x27ee68[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20edf7++){const _0x364151=_0x27ee68[_0x4e5f15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20edf7);_0xfe9d60=(_0xfe9d60<<0x5)+_0xfe9d60+_0x364151,_0xfe9d60&=_0xfe9d60;}}function _0x9edfe(_0x48ff3b){Array[_0x4e5f15([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48ff3b)?_0x48ff3b[_0x4e5f15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9edfe):_0x48ff3b&&typeof _0x48ff3b==_0x4e5f15([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e5f15([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48ff3b)[_0x4e5f15([0x73,0x6f,0x72,0x74])]()[_0x4e5f15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x314927,_0x2b4bfe])=>{_0x2c95fc(_0x314927),_0x9edfe(_0x2b4bfe);}):_0x2c95fc(window[_0x4e5f15([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48ff3b));}return _0x9edfe(_0x1c9843),_0xfe9d60>>>0x0;}function _0x414090(_0x4997a0){return _0x4997a0[_0x4e5f15([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e5f15([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e5f15([0x30]));}function _0x154654(_0xb0b769){return _0xb0b769[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e5f15([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e5f15([0x6a,0x6f,0x69,0x6e])]('');}function _0x35a5c5(){}function _0x4e5f15(_0x1fef00){const _0x163180=_0x1e60;return _0x1fef00[_0x163180(0xcc)](_0x284a3c=>String[_0x163180(0x82)](_0x284a3c))[_0x163180(0xab)]('');}_0x1b4ad6(await _0x2c2897());}(this);}[_0x557410(0x83)](){const _0x3a562d=_0x557410,_0x105677=this[_0x3a562d(0x8a)][_0x3a562d(0x66)];_0x105677[_0x3a562d(0x93)](_0x4328d7=>{const _0x2a302a=_0x3a562d,_0x36b3a3=_0x105677[_0x2a302a(0xbd)][_0x2a302a(0xd1)][_0x2a302a(0x67)]();let _0x209ff5=0x0;for(const _0x1e0403 of _0x36b3a3){const _0x52a65c=j+':'+_0x209ff5;if(_0x105677[_0x2a302a(0xcb)][_0x2a302a(0x7a)](_0x52a65c))_0x4328d7[_0x2a302a(0xba)](_0x52a65c,{'range':_0x1e0403});else{if(_0x1e0403[_0x2a302a(0xc9)][_0x2a302a(0xa1)]){const _0x44109c=_0x1e0403[_0x2a302a(0xc9)][_0x2a302a(0xb2)](({item:_0x28f176})=>!_0x105677[_0x2a302a(0x69)][_0x2a302a(0xb9)](_0x28f176),{'boundaries':_0x1e0403});_0x4328d7[_0x2a302a(0xd0)](_0x52a65c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4328d7[_0x2a302a(0xc0)](_0x44109c,_0x1e0403[_0x2a302a(0x9a)])});}else _0x4328d7[_0x2a302a(0xd0)](_0x52a65c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e0403});}_0x209ff5++;}});}[_0x557410(0x7d)](){const _0x249e16=_0x557410,_0x2c0527=this[_0x249e16(0x8a)][_0x249e16(0x66)],_0x16b6cb=Array[_0x249e16(0xc4)](this[_0x249e16(0x8a)][_0x249e16(0x66)][_0x249e16(0xcb)][_0x249e16(0x84)](j));_0x16b6cb[_0x249e16(0x98)]&&_0x2c0527[_0x249e16(0x93)](_0x530c93=>{const _0x3e21b7=_0x249e16;_0x16b6cb[_0x3e21b7(0xb4)](_0x120332=>{const _0x5d2d85=_0x3e21b7;_0x530c93[_0x5d2d85(0xb0)](_0x120332);});});}[_0x557410(0x9f)](_0x20461a,_0x54b0bc){const _0x12b365=_0x557410,_0x433bf8=this[_0x12b365(0x8e)](),_0x3a1e11=_0x54b0bc||_0x433bf8[_0x12b365(0xb7)]();this[_0x12b365(0x8a)][_0x12b365(0x66)][_0x12b365(0x8f)](_0x3a1e11)&&this[_0x12b365(0x8a)][_0x12b365(0x66)][_0x12b365(0x93)](_0x45a5fa=>{const _0x33763f=_0x12b365;this[_0x33763f(0x7d)](),_0x54b0bc||this[_0x33763f(0x96)](_0x45a5fa,_0x433bf8),this[_0x33763f(0x7e)]({'insertAt':_0x3a1e11,'writer':_0x45a5fa,'html':_0x20461a});});}[_0x557410(0xa5)](_0x28826b){const _0xde2ee6=_0x557410,{model:_0x2e48a4}=this[_0xde2ee6(0x8a)],_0x3e2111=this[_0xde2ee6(0x8e)]();_0x2e48a4[_0xde2ee6(0x93)](()=>{const _0x4dbd4d=_0xde2ee6,_0x6fac9b=this[_0x4dbd4d(0xa6)](_0x28826b,_0x3e2111)||this[_0x4dbd4d(0x92)](_0x3e2111);this[_0x4dbd4d(0x9f)](_0x28826b,_0x6fac9b);});}[_0x557410(0x8e)](){const _0x5a9e7b=_0x557410,_0x41aa09=this[_0x5a9e7b(0x8a)][_0x5a9e7b(0x66)],_0xcdbc0b=Array[_0x5a9e7b(0xc4)](_0x41aa09[_0x5a9e7b(0xcb)][_0x5a9e7b(0x84)](j))[_0x5a9e7b(0xcc)](_0x1e61fd=>_0x1e61fd[_0x5a9e7b(0x77)]());return _0x41aa09[_0x5a9e7b(0x6e)](_0xcdbc0b);}[_0x557410(0x7e)]({writer:_0x5ce52b,html:_0x8904e9,insertAt:_0x9d4c14}){const _0x127ff6=_0x557410,{view:_0x100dfb}=this[_0x127ff6(0x8a)][_0x127ff6(0xbc)],_0x39f2ba=this[_0x127ff6(0x8a)][_0x127ff6(0x8b)][_0x127ff6(0xca)](_0x28b1a6),_0x164830=new O();_0x164830[_0x127ff6(0xa3)](_0x127ff6(0x76),_0x8904e9);const _0x50ea46=new ClipboardEvent(_0x127ff6(0x7c),{'clipboardData':_0x164830}),_0x4d6428=new _0x5b3765(_0x100dfb,_0x50ea46,{'dataTransfer':new _0x34becf(_0x164830)});_0x5ce52b[_0x127ff6(0x6c)](_0x9d4c14);const _0x19bac1=(_0x591bf6,_0x3edf59)=>{const _0x146693=_0x127ff6;_0x3edf59[_0x146693(0x71)]&&_0x5ce52b[_0x146693(0x6c)](_0x3edf59[_0x146693(0x71)]);};_0x39f2ba[_0x127ff6(0x9b)](_0x127ff6(0x81),_0x19bac1,{'priority':_0x127ff6(0x87)}),_0x100dfb[_0x127ff6(0xbd)][_0x127ff6(0xa8)](_0x127ff6(0x7c),_0x4d6428),_0x39f2ba[_0x127ff6(0xc2)](_0x127ff6(0x81),_0x19bac1);}[_0x557410(0x92)](_0x47705b){const _0x1bcd0a=_0x557410,{model:_0x4288f5}=this[_0x1bcd0a(0x8a)],_0x2f52b4=Array[_0x1bcd0a(0xc4)](_0x47705b[_0x1bcd0a(0xcf)]());return _0x2f52b4[_0x1bcd0a(0x98)]?_0x4288f5[_0x1bcd0a(0xa9)](_0x2f52b4[_0x1bcd0a(0x89)]()):_0x47705b[_0x1bcd0a(0xa2)]();}[_0x557410(0xa6)](_0xa3b54a,_0x271eb1){const _0x268084=_0x557410,{model:_0x4269ba,plugins:_0x19ebae}=this[_0x268084(0x8a)];if(_0x19ebae[_0x268084(0x7a)](_0x268084(0x79))){const _0x11eeae=_0x19ebae[_0x268084(0xca)](_0x268084(0x79))[_0x268084(0x70)](_0x271eb1);if(_0x11eeae[_0x268084(0x98)]){const _0x234823=this[_0x268084(0x91)](_0xa3b54a),_0x51a836=this[_0x268084(0x6d)](_0x11eeae,_0x234823);return _0x4269ba[_0x268084(0xb3)](_0x51a836,0x0);}}return null;}[_0x557410(0x91)](_0x338fd8){const _0x2b5e3a=_0x557410,_0x43cc27=this[_0x2b5e3a(0x8a)][_0x2b5e3a(0x8b)][_0x2b5e3a(0xca)](_0x2b5e3a(0x79)),_0x37d78e=this[_0x2b5e3a(0x8a)][_0x2b5e3a(0x88)][_0x2b5e3a(0x7f)](_0x338fd8),_0x35b73b=Array[_0x2b5e3a(0xc4)](_0x37d78e[_0x2b5e3a(0xc8)]())[_0x2b5e3a(0xae)](_0x110d97=>_0x110d97['is'](_0x2b5e3a(0x75),_0x2b5e3a(0xbf)));let _0x214df2=0x0;return _0x35b73b[_0x2b5e3a(0xb4)](_0x50af9f=>{const _0x5414b2=_0x2b5e3a;_0x214df2+=_0x43cc27[_0x5414b2(0x86)](_0x50af9f);}),_0x214df2;}[_0x557410(0x6d)](_0x363955,_0x7cb2a3){const _0x48562d=_0x557410,_0x53911e=this[_0x48562d(0x8a)][_0x48562d(0x8b)][_0x48562d(0xca)](_0x48562d(0x79)),_0x25d38c=_0x53911e[_0x48562d(0xc3)](_0x363955),_0x46abad=_0x53911e[_0x48562d(0x72)](_0x363955),_0x953fb=_0x25d38c[_0x48562d(0xd2)]+0x1,_0x3c6db4=_0x46abad[_0x48562d(0xa0)],_0x8db936=_0x363955[0x0][_0x48562d(0xc1)](_0x48562d(0xbf));for(let _0x56c854=0x0;_0x56c854<_0x7cb2a3;_0x56c854++)_0x53911e[_0x48562d(0x85)](_0x8db936,{'at':_0x953fb});return _0x8db936[_0x48562d(0x8d)](_0x953fb)[_0x48562d(0x8d)](_0x3c6db4);}[_0x557410(0x96)](_0x1399e8,_0x16eb98){const _0x1fe279=_0x557410,{plugins:_0x1404e8}=this[_0x1fe279(0x8a)],{model:_0x1ad1f0}=_0x1399e8;if(!_0x1404e8[_0x1fe279(0x7a)](_0x1fe279(0x79)))return;_0x1404e8[_0x1fe279(0xca)](_0x1fe279(0x79))[_0x1fe279(0x70)](_0x16eb98)[_0x1fe279(0x98)]&&_0x1ad1f0[_0x1fe279(0x6b)](_0x16eb98);}}
|
|
23
|
+
function _0x9a32(){const _0x36e0dd=['_getAISelection','join','getChild','isAtEnd','DataTransfer','editing','forEach','getRange','last','length','map','once','_getDefaultInsertBelowPosition','model','conversion','createPositionAt','push','createPositionAfter','251680QTmrIs','element','getLastMatchingPosition','markers','off','isPremiumPlugin','deleteContent','getLastPosition','updateMarker','_pasteHTMLUsingClipboard','for','href','AIAssistantEditing','setData','insertContentBelow','paste','editingDowncast','markerToHighlight','addMarker','start','document','init','isCollapsed','span','pluginName','ck-fake-ai-selection','createSelection','lowest','markerToElement','isOfficialPlugin','table','ai-ui','_createEmptyTableRows','_resetContentOfSelectedTableCells','removeMarker','getSelectedBlocks','hideFakeVisualSelection','resultRange','fire','_getTableRowCountFromContent','config','getFirstRange','747befcmk','first','6086120yhEReE','insertContent','2787uhPEco','createUIElement','getSelectedTableCells','getRanges','showFakeVisualSelection','end','TableUtils','createRange','getChildren','insertRows','getColumnIndexes','_prepareTableInsertBelowPosition','canEditAt','fromCharCode','addClass','pop','plugins','afterInit','ck-fake-ai-selection_collapsed','change','ai.assistant.useTheme','isContent','ck-ai-assistant-ui_theme','14oRSyFz','markerRange','setSelection','6765055nqrIBt','7036bNzrRD','schema','parse','get','2221242wwuxPE','contentInsertion','findAncestor','95350dlxlnc','editor','data','selection','getRowIndexes','from','filter','40241509WiLwbr','text/html','getMarkersGroup','getRows','has','6PZLiCN'];_0x9a32=function(){return _0x36e0dd;};return _0x9a32();}const _0x332ddc=_0x1b49;(function(_0x16eaa0,_0x44db6c){const _0x224f76=_0x1b49,_0x610c60=_0x16eaa0();while(!![]){try{const _0x29215d=-parseInt(_0x224f76(0xce))/0x1+parseInt(_0x224f76(0xac))/0x2+parseInt(_0x224f76(0x8d))/0x3*(parseInt(_0x224f76(0xa8))/0x4)+parseInt(_0x224f76(0xa7))/0x5*(parseInt(_0x224f76(0xbb))/0x6)+parseInt(_0x224f76(0xa4))/0x7*(parseInt(_0x224f76(0x8b))/0x8)+-parseInt(_0x224f76(0x89))/0x9*(parseInt(_0x224f76(0xaf))/0xa)+-parseInt(_0x224f76(0xb6))/0xb;if(_0x29215d===_0x44db6c)break;else _0x610c60['push'](_0x610c60['shift']());}catch(_0x5347e4){_0x610c60['push'](_0x610c60['shift']());}}}(_0x9a32,0xe016d));import{uid as _0x48d808}from'ckeditor5/src/utils.js';import{Plugin as _0x42c5ea}from'ckeditor5/src/core.js';function _0x1b49(_0x16e052,_0x2698ff){const _0x9a32e0=_0x9a32();return _0x1b49=function(_0x1b49c3,_0x1f3865){_0x1b49c3=_0x1b49c3-0x6b;let _0x561be3=_0x9a32e0[_0x1b49c3];return _0x561be3;},_0x1b49(_0x16e052,_0x2698ff);}import{ClipboardPipeline as _0x1bc080}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x519dc7,ViewDataTransfer as _0x1a8501}from'ckeditor5/src/engine.js';const l=globalThis[_0x332ddc(0xc0)],w=_0x332ddc(0x7e);export class AIAssistantEditing extends _0x42c5ea{static get[_0x332ddc(0x77)](){const _0x20b8c8=_0x332ddc;return _0x20b8c8(0x6b);}static get[_0x332ddc(0x7c)](){return!0x0;}static get[_0x332ddc(0xd3)](){return!0x0;}[_0x332ddc(0x74)](){const _0xca04c6=_0x332ddc,{editor:_0x3568fb}=this,_0x7a13bd=[_0xca04c6(0x78)];_0x3568fb[_0xca04c6(0x87)][_0xca04c6(0xab)](_0xca04c6(0xa1))&&_0x7a13bd[_0xca04c6(0xcc)](_0xca04c6(0xa3)),_0x3568fb[_0xca04c6(0xca)][_0xca04c6(0xd8)](_0xca04c6(0x6f))[_0xca04c6(0x70)]({'model':w,'view':{'classes':_0x7a13bd,'priority':0xc}}),_0x3568fb[_0xca04c6(0xca)][_0xca04c6(0xd8)](_0xca04c6(0x6f))[_0xca04c6(0x7b)]({'model':w,'view':(_0x1cafbb,{writer:_0x41333e})=>{const _0x19e01d=_0xca04c6;if(!_0x1cafbb[_0x19e01d(0xa5)][_0x19e01d(0x75)])return null;const _0x40dddb=_0x41333e[_0x19e01d(0x8e)](_0x19e01d(0x76));return _0x41333e[_0x19e01d(0x9b)]([_0x19e01d(0x78),_0x19e01d(0x9f)],_0x40dddb),_0x40dddb;}});}[_0x332ddc(0x9e)](){!async function(_0x23eeaa){const _0xa228f1=_0x39d909([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x2e81ef=0x3dffc4e1,_0x240465=0x3df8b021^_0x2e81ef,_0x219167=window[_0x39d909([0x44,0x61,0x74,0x65])][_0x39d909([0x6e,0x6f,0x77])](),_0x5e289e=_0x23eeaa[_0x39d909([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4078dd=new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c1b1d=>{_0x5e289e[_0x39d909([0x6f,0x6e,0x63,0x65])](_0x39d909([0x72,0x65,0x61,0x64,0x79]),_0x2c1b1d);}),_0x4cde4c={[_0x39d909([0x6b,0x74,0x79])]:_0x39d909([0x45,0x43]),[_0x39d909([0x75,0x73,0x65])]:_0x39d909([0x73,0x69,0x67]),[_0x39d909([0x63,0x72,0x76])]:_0x39d909([0x50,0x2d,0x32,0x35,0x36]),[_0x39d909([0x78])]:_0x39d909([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]),[_0x39d909([0x79])]:_0x39d909([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]),[_0x39d909([0x61,0x6c,0x67])]:_0x39d909([0x45,0x53,0x32,0x35,0x36])},_0x44b18c=_0x5e289e[_0x39d909([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39d909([0x67,0x65,0x74])](_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d5b44(){let _0x149238,_0x1a35d8=null,_0x43feed=null;try{if(_0x44b18c==_0x39d909([0x47,0x50,0x4c]))return _0x39d909([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x149238=_0xe7057b(),!_0x149238)return _0x39d909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x149238[_0x39d909([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43feed=_0x4f556f(_0x149238[_0x39d909([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x149238[_0x39d909([0x6a,0x74,0x69])])),await _0xe5e9()?_0x95457()?_0x23db34()?_0x39d909([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5108d0()?(_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d909([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a35d8=_0x1de513(_0x39d909([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d909([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a35d8=_0x1de513(_0x39d909([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x534e0d()):_0x39d909([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39d909([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39d909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39d909([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23db34(){const _0x16a796=[_0x39d909([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39d909([0x74,0x72,0x69,0x61,0x6c])][_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x219167/0x3e8:0xe10*_0x240465;return _0x149238[_0x39d909([0x65,0x78,0x70])]<_0x16a796;}function _0x95457(){const _0x3bf3c4=_0x149238[_0x39d909([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bf3c4&&(!!_0x3bf3c4[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d909([0x2a]))||!!_0x3bf3c4[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d909([0x41,0x49])));}function _0x5108d0(){const _0x261905=_0x1b49,_0x7f7dc4=_0x149238[_0x39d909([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7f7dc4||0x0==_0x7f7dc4[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4404e8}=new URL(window[_0x39d909([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x261905(0xd9)]);if(_0x7f7dc4[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4404e8))return!0x0;const _0x49a34b=_0x4404e8[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e]));return _0x7f7dc4[_0x39d909([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23fdc0=>_0x23fdc0[_0x39d909([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d909([0x2a])))[_0x39d909([0x6d,0x61,0x70])](_0x158f1a=>_0x158f1a[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e])))[_0x39d909([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x63b74c=>_0x63b74c[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x49a34b[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d909([0x6d,0x61,0x70])](_0x9fa784=>Array(_0x49a34b[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9fa784[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d909([0x66,0x69,0x6c,0x6c])](_0x9fa784[0x0]===_0x39d909([0x2a])?_0x39d909([0x2a]):'')[_0x39d909([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9fa784))[_0x39d909([0x73,0x6f,0x6d,0x65])](_0x3829fe=>_0x49a34b[_0x39d909([0x65,0x76,0x65,0x72,0x79])]((_0x4c816f,_0x32bc0d)=>_0x3829fe[_0x32bc0d]===_0x4c816f||_0x3829fe[_0x32bc0d]===_0x39d909([0x2a])));}function _0x534e0d(){return _0x1a35d8&&_0x43feed?new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bb550,_0x5b18b8)=>{_0x1a35d8[_0x39d909([0x74,0x68,0x65,0x6e])](_0x4bb550,_0x5b18b8),_0x43feed[_0x39d909([0x74,0x68,0x65,0x6e])](_0x4a31b3=>{_0x4a31b3!=_0x39d909([0x56,0x61,0x6c,0x69,0x64])&&_0x4bb550(_0x4a31b3);},_0x5b18b8);}):_0x1a35d8||_0x43feed||_0x39d909([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f556f(_0x393044,_0xec4b53){return new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf11c6=>{if(_0x52b0e3())return _0xcf11c6(_0x39d909([0x56,0x61,0x6c,0x69,0x64]));_0x550252(),_0x5e289e[_0x39d909([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39d909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x287853=!0x1;const _0x30fff0=_0x48d808();function _0x5e2f35(_0x1ffb21){return!!_0x1ffb21&&(typeof _0x1ffb21===_0x39d909([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ffb21===_0x39d909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ffb21[_0x39d909([0x74,0x68,0x65,0x6e])]===_0x39d909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ffb21[_0x39d909([0x63,0x61,0x74,0x63,0x68])]===_0x39d909([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3aa8a3(_0x44ea1a){_0x7e2ef7(_0x44ea1a)[_0x39d909([0x74,0x68,0x65,0x6e])](_0x1f1a13=>{if(!_0x1f1a13||_0x1f1a13[_0x39d909([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39d909([0x6f,0x6b]))return _0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1be04b(_0xa05e22(_0x30fff0+_0xec4b53))!=_0x1f1a13[_0x39d909([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39d909([0x56,0x61,0x6c,0x69,0x64]);})[_0x39d909([0x74,0x68,0x65,0x6e])](_0x1ba37a=>(_0x1bb40e(),_0x1ba37a),()=>{const _0xd245b5=_0x4d260a();return null==_0xd245b5?(_0x1bb40e(),_0x39d909([0x56,0x61,0x6c,0x69,0x64])):_0x39d909(_0x219167-_0xd245b5>(0x19f340e1^_0x2e81ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39d909([0x74,0x68,0x65,0x6e])](_0xcf11c6)[_0x39d909([0x63,0x61,0x74,0x63,0x68])](()=>{_0xcf11c6(_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x27e3a3=0x3dc92a61^_0x2e81ef;function _0x1bb40e(){const _0x546167=_0x39d909([0x6c,0x6c,0x63,0x74,0x2d])+_0x1be04b(_0xa05e22(_0x393044)),_0x3092ee=_0x4d9c22(_0x1be04b(window[_0x39d909([0x4d,0x61,0x74,0x68])][_0x39d909([0x63,0x65,0x69,0x6c])](_0x219167/_0x27e3a3)));window[_0x39d909([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d909([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x546167,_0x3092ee);}function _0x4d260a(){const _0x5ecc9a=_0x39d909([0x6c,0x6c,0x63,0x74,0x2d])+_0x1be04b(_0xa05e22(_0x393044)),_0x218ec9=window[_0x39d909([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d909([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ecc9a);return _0x218ec9?window[_0x39d909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d9c22(_0x218ec9),0x10)*_0x27e3a3:null;}function _0x7e2ef7(_0x26cea5){return new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfa0715,_0x23c4fe)=>{_0x26cea5[_0x39d909([0x74,0x68,0x65,0x6e])](_0xfa0715,_0x23c4fe),window[_0x39d909([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23c4fe,0x3dfe1021^_0x2e81ef);});}}_0x5e289e[_0x39d909([0x6f,0x6e])](_0x39d909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x144874,_0x3c0948)=>{if(_0x3c0948[0x0]!=_0x393044)return _0xcf11c6(_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c0948[0x1]={..._0x3c0948[0x1],[_0x39d909([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30fff0};},{[_0x39d909([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d909([0x68,0x69,0x67,0x68])}),_0x5e289e[_0x39d909([0x6f,0x6e])](_0x39d909([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d7ad5=>{_0x5e2f35(_0x4d7ad5[_0x39d909([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x287853=!0x0,_0x3aa8a3(_0x4d7ad5[_0x39d909([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39d909([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d909([0x6c,0x6f,0x77])}),_0x4078dd[_0x39d909([0x74,0x68,0x65,0x6e])](()=>{_0x287853||_0xcf11c6(_0x39d909([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52b0e3(){return _0x5e289e[_0x39d909([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d909([0x76,0x69,0x65,0x77])][_0x39d909([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39d909([0x61,0x75,0x74,0x6f]);}function _0x550252(){_0x5e289e[_0x39d909([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d909([0x76,0x69,0x65,0x77])][_0x39d909([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39d909([0x61,0x75,0x74,0x6f]);}}function _0x1de513(_0x48706d){const _0x264c94=[new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd34c4e=>setTimeout(_0xd34c4e,0x3df6fa2d^_0x2e81ef)),_0x4078dd[_0x39d909([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aa9ed=>{let _0x343237=0x0;_0x5e289e[_0x39d909([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d909([0x6f,0x6e])](_0x39d909([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a7590,_0x5dc572)=>{_0x5dc572[0x0][_0x39d909([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x343237++,_0x343237==(0x3dffc519^_0x2e81ef)&&(_0x5aa9ed(),_0x4a7590[_0x39d909([0x6f,0x66,0x66])]());});}))];return window[_0x39d909([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39d909([0x72,0x61,0x63,0x65])](_0x264c94)[_0x39d909([0x74,0x68,0x65,0x6e])](()=>_0x48706d);}async function _0x11dd01(){await _0x4078dd,_0x5e289e[_0x39d909([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d909([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bea5a,_0x5e289e[_0x39d909([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d909([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bea5a,_0x5e289e[_0x39d909([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39d909([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d3b07(_0x3857af){const _0x14dd26=_0x280cd6();_0x5e289e[_0x14dd26]=_0x39d909([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3857af,_0x3857af!=_0x39d909([0x56,0x61,0x6c,0x69,0x64])&&_0x11dd01();}function _0x280cd6(){const _0x5641c0=window[_0x39d909([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39d909([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39d909([0x6e,0x6f,0x77])]())[_0x39d909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39d909([0x2e]),'');let _0x8e7db3=_0x39d909([0x6e]);for(let _0x324ce1=0x0;_0x324ce1<_0x5641c0[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x324ce1+=0x2){let _0x9f0f0f=window[_0x39d909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5641c0[_0x39d909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x324ce1,_0x324ce1+0x2));_0x9f0f0f>=_0xa228f1[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9f0f0f-=_0xa228f1[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8e7db3+=_0xa228f1[_0x9f0f0f];}return _0x8e7db3;}function _0xe7057b(){const _0x422277=_0x44b18c[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e]));if(0x3!=_0x422277[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x559b5f(_0x422277[0x1]);function _0x559b5f(_0x5898f3){const _0x3219b8=_0x404914(_0x5898f3);return _0x3219b8&&_0xaf807a()?_0x3219b8:null;function _0xaf807a(){const _0x5a1b2c=_0x3219b8[_0x39d909([0x6a,0x74,0x69])],_0x2d71ec=window[_0x39d909([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a1b2c[_0x39d909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a1b2c[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x88327d={..._0x3219b8,[_0x39d909([0x6a,0x74,0x69])]:_0x5a1b2c[_0x39d909([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a1b2c[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x88327d[_0x39d909([0x76,0x63])],_0xa05e22(_0x88327d)==_0x2d71ec;}}}async function _0xe5e9(){let _0x591937=!0x0;try{const _0x5c3c3d=_0x44b18c[_0x39d909([0x73,0x70,0x6c,0x69,0x74])](_0x39d909([0x2e])),[_0x1437ac,_0x5178bc,_0x19ab87]=_0x5c3c3d;return _0x5c1f3e(_0x1437ac),await _0x3c4f84(_0x1437ac,_0x5178bc,_0x19ab87),_0x591937;}catch{return!0x1;}function _0x5c1f3e(_0x551cd8){const _0x5c323f=_0x404914(_0x551cd8);_0x5c323f&&_0x5c323f[_0x39d909([0x61,0x6c,0x67])]==_0x39d909([0x45,0x53,0x32,0x35,0x36])||(_0x591937=!0x1);}async function _0x3c4f84(_0x5da2c0,_0x9281ce,_0x2044d8){const _0xc7e1d6=window[_0x39d909([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39d909([0x66,0x72,0x6f,0x6d])](_0x49a1d9(_0x2044d8),_0x6c85ad=>_0x6c85ad[_0x39d909([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xba5c5e=new window[(_0x39d909([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39d909([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5da2c0+_0x39d909([0x2e])+_0x9281ce),_0x41a084=window[_0x39d909([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39d909([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41a084)return;const _0x59cffc=await _0x41a084[_0x39d909([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39d909([0x6a,0x77,0x6b]),_0x4cde4c,{[_0x39d909([0x6e,0x61,0x6d,0x65])]:_0x39d909([0x45,0x43,0x44,0x53,0x41]),[_0x39d909([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39d909([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39d909([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41a084[_0x39d909([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39d909([0x6e,0x61,0x6d,0x65])]:_0x39d909([0x45,0x43,0x44,0x53,0x41]),[_0x39d909([0x68,0x61,0x73,0x68])]:{[_0x39d909([0x6e,0x61,0x6d,0x65])]:_0x39d909([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59cffc,_0xc7e1d6,_0xba5c5e)||(_0x591937=!0x1);}}function _0x404914(_0xb1c093){return _0xb1c093[_0x39d909([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39d909([0x65,0x79]))?JSON[_0x39d909([0x70,0x61,0x72,0x73,0x65])](_0x49a1d9(_0xb1c093)):null;}function _0x49a1d9(_0x20955e){return window[_0x39d909([0x61,0x74,0x6f,0x62])](_0x20955e[_0x39d909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39d909([0x2b]))[_0x39d909([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39d909([0x2f])));}function _0xa05e22(_0x651f6d){let _0x43fa42=0x1505;function _0x21443f(_0x1e4d80){for(let _0x41b7cf=0x0;_0x41b7cf<_0x1e4d80[_0x39d909([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41b7cf++){const _0x2ae632=_0x1e4d80[_0x39d909([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41b7cf);_0x43fa42=(_0x43fa42<<0x5)+_0x43fa42+_0x2ae632,_0x43fa42&=_0x43fa42;}}function _0x3eb233(_0x25784b){Array[_0x39d909([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x25784b)?_0x25784b[_0x39d909([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3eb233):_0x25784b&&typeof _0x25784b==_0x39d909([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39d909([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x25784b)[_0x39d909([0x73,0x6f,0x72,0x74])]()[_0x39d909([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10e8a0,_0x3114a8])=>{_0x21443f(_0x10e8a0),_0x3eb233(_0x3114a8);}):_0x21443f(window[_0x39d909([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x25784b));}return _0x3eb233(_0x651f6d),_0x43fa42>>>0x0;}function _0x1be04b(_0x428a16){return _0x428a16[_0x39d909([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39d909([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39d909([0x30]));}function _0x4d9c22(_0x5d682e){return _0x5d682e[_0x39d909([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39d909([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39d909([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bea5a(){}function _0x39d909(_0x357e5c){const _0x11a520=_0x1b49;return _0x357e5c[_0x11a520(0xc6)](_0x351337=>String[_0x11a520(0x9a)](_0x351337))[_0x11a520(0xbd)]('');}_0x1d3b07(await _0x2d5b44());}(this);}[_0x332ddc(0x91)](){const _0x2dd09f=_0x332ddc,_0x5f24e4=this[_0x2dd09f(0xb0)][_0x2dd09f(0xc9)];_0x5f24e4[_0x2dd09f(0xa0)](_0x1d40dd=>{const _0x14ac3a=_0x2dd09f,_0x5d8fa2=_0x5f24e4[_0x14ac3a(0x73)][_0x14ac3a(0xb2)][_0x14ac3a(0x90)]();let _0x160d15=0x0;for(const _0x51c556 of _0x5d8fa2){const _0x180439=w+':'+_0x160d15;if(_0x5f24e4[_0x14ac3a(0xd1)][_0x14ac3a(0xba)](_0x180439))_0x1d40dd[_0x14ac3a(0xd6)](_0x180439,{'range':_0x51c556});else{if(_0x51c556[_0x14ac3a(0x72)][_0x14ac3a(0xbf)]){const _0x5662ef=_0x51c556[_0x14ac3a(0x72)][_0x14ac3a(0xd0)](({item:_0x576417})=>!_0x5f24e4[_0x14ac3a(0xa9)][_0x14ac3a(0xa2)](_0x576417),{'boundaries':_0x51c556});_0x1d40dd[_0x14ac3a(0x71)](_0x180439,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1d40dd[_0x14ac3a(0x94)](_0x5662ef,_0x51c556[_0x14ac3a(0x92)])});}else _0x1d40dd[_0x14ac3a(0x71)](_0x180439,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x51c556});}_0x160d15++;}});}[_0x332ddc(0x83)](){const _0x5f5d8f=_0x332ddc,_0x27fad1=this[_0x5f5d8f(0xb0)][_0x5f5d8f(0xc9)],_0x4d006b=Array[_0x5f5d8f(0xb4)](this[_0x5f5d8f(0xb0)][_0x5f5d8f(0xc9)][_0x5f5d8f(0xd1)][_0x5f5d8f(0xb8)](w));_0x4d006b[_0x5f5d8f(0xc5)]&&_0x27fad1[_0x5f5d8f(0xa0)](_0x81f422=>{const _0x1b40d1=_0x5f5d8f;_0x4d006b[_0x1b40d1(0xc2)](_0x554132=>{const _0x12ca08=_0x1b40d1;_0x81f422[_0x12ca08(0x81)](_0x554132);});});}[_0x332ddc(0x8c)](_0x3d3d79,_0x2903fc){const _0x1a66e7=_0x332ddc,_0x568322=this[_0x1a66e7(0xbc)](),_0x4bc9c1=_0x2903fc||_0x568322[_0x1a66e7(0x88)]();this[_0x1a66e7(0xb0)][_0x1a66e7(0xc9)][_0x1a66e7(0x99)](_0x4bc9c1)&&this[_0x1a66e7(0xb0)][_0x1a66e7(0xc9)][_0x1a66e7(0xa0)](_0x68dac8=>{const _0x3008ae=_0x1a66e7;this[_0x3008ae(0x83)](),_0x2903fc||this[_0x3008ae(0x80)](_0x68dac8,_0x568322),this[_0x3008ae(0xd7)]({'insertAt':_0x4bc9c1,'writer':_0x68dac8,'html':_0x3d3d79});});}[_0x332ddc(0x6d)](_0x4f1bfe){const _0xc1c2fb=_0x332ddc,{model:_0x8f3aa5}=this[_0xc1c2fb(0xb0)],_0x39cf78=this[_0xc1c2fb(0xbc)]();_0x8f3aa5[_0xc1c2fb(0xa0)](()=>{const _0x57313c=_0xc1c2fb,_0x41ddd4=this[_0x57313c(0x98)](_0x4f1bfe,_0x39cf78)||this[_0x57313c(0xc8)](_0x39cf78);this[_0x57313c(0x8c)](_0x4f1bfe,_0x41ddd4);});}[_0x332ddc(0xbc)](){const _0x94a347=_0x332ddc,_0x5546ae=this[_0x94a347(0xb0)][_0x94a347(0xc9)],_0x1f36f5=Array[_0x94a347(0xb4)](_0x5546ae[_0x94a347(0xd1)][_0x94a347(0xb8)](w))[_0x94a347(0xc6)](_0x8a5799=>_0x8a5799[_0x94a347(0xc3)]());return _0x5546ae[_0x94a347(0x79)](_0x1f36f5);}[_0x332ddc(0xd7)]({writer:_0x328bd7,html:_0x38e701,insertAt:_0x440748}){const _0x2a6eb8=_0x332ddc,{view:_0x32cb93}=this[_0x2a6eb8(0xb0)][_0x2a6eb8(0xc1)],_0x3496b8=this[_0x2a6eb8(0xb0)][_0x2a6eb8(0x9d)][_0x2a6eb8(0xab)](_0x1bc080),_0x5a5b60=new l();_0x5a5b60[_0x2a6eb8(0x6c)](_0x2a6eb8(0xb7),_0x38e701);const _0xa0b7dc=new ClipboardEvent(_0x2a6eb8(0x6e),{'clipboardData':_0x5a5b60}),_0x44aa51=new _0x519dc7(_0x32cb93,_0xa0b7dc,{'dataTransfer':new _0x1a8501(_0x5a5b60)});_0x328bd7[_0x2a6eb8(0xa6)](_0x440748);const _0x376132=(_0x174a92,_0x138fb4)=>{const _0xfb5fa=_0x2a6eb8;_0x138fb4[_0xfb5fa(0x84)]&&_0x328bd7[_0xfb5fa(0xa6)](_0x138fb4[_0xfb5fa(0x84)]);};_0x3496b8[_0x2a6eb8(0xc7)](_0x2a6eb8(0xad),_0x376132,{'priority':_0x2a6eb8(0x7a)}),_0x32cb93[_0x2a6eb8(0x73)][_0x2a6eb8(0x85)](_0x2a6eb8(0x6e),_0x44aa51),_0x3496b8[_0x2a6eb8(0xd2)](_0x2a6eb8(0xad),_0x376132);}[_0x332ddc(0xc8)](_0x468e43){const _0x1bf9be=_0x332ddc,{model:_0x10b6ac}=this[_0x1bf9be(0xb0)],_0x1f22ab=Array[_0x1bf9be(0xb4)](_0x468e43[_0x1bf9be(0x82)]());return _0x1f22ab[_0x1bf9be(0xc5)]?_0x10b6ac[_0x1bf9be(0xcd)](_0x1f22ab[_0x1bf9be(0x9c)]()):_0x468e43[_0x1bf9be(0xd5)]();}[_0x332ddc(0x98)](_0x5f31bf,_0x57cf94){const _0x27e642=_0x332ddc,{model:_0x353abe,plugins:_0x45450d}=this[_0x27e642(0xb0)];if(_0x45450d[_0x27e642(0xba)](_0x27e642(0x93))){const _0x576415=_0x45450d[_0x27e642(0xab)](_0x27e642(0x93))[_0x27e642(0x8f)](_0x57cf94);if(_0x576415[_0x27e642(0xc5)]){const _0x581b31=this[_0x27e642(0x86)](_0x5f31bf),_0x2c0d5d=this[_0x27e642(0x7f)](_0x576415,_0x581b31);return _0x353abe[_0x27e642(0xcb)](_0x2c0d5d,0x0);}}return null;}[_0x332ddc(0x86)](_0x2a29eb){const _0x45e8f6=_0x332ddc,_0x539742=this[_0x45e8f6(0xb0)][_0x45e8f6(0x9d)][_0x45e8f6(0xab)](_0x45e8f6(0x93)),_0x2f2e0f=this[_0x45e8f6(0xb0)][_0x45e8f6(0xb1)][_0x45e8f6(0xaa)](_0x2a29eb),_0x50772d=Array[_0x45e8f6(0xb4)](_0x2f2e0f[_0x45e8f6(0x95)]())[_0x45e8f6(0xb5)](_0x16998a=>_0x16998a['is'](_0x45e8f6(0xcf),_0x45e8f6(0x7d)));let _0x1c02fd=0x0;return _0x50772d[_0x45e8f6(0xc2)](_0x5141ad=>{const _0x39145f=_0x45e8f6;_0x1c02fd+=_0x539742[_0x39145f(0xb9)](_0x5141ad);}),_0x1c02fd;}[_0x332ddc(0x7f)](_0x18d04c,_0x9c776e){const _0x3822c2=_0x332ddc,_0x101a27=this[_0x3822c2(0xb0)][_0x3822c2(0x9d)][_0x3822c2(0xab)](_0x3822c2(0x93)),_0x1b67fd=_0x101a27[_0x3822c2(0xb3)](_0x18d04c),_0x3ed887=_0x101a27[_0x3822c2(0x97)](_0x18d04c),_0x5ca4ce=_0x1b67fd[_0x3822c2(0xc4)]+0x1,_0x2fe3e7=_0x3ed887[_0x3822c2(0x8a)],_0x11f314=_0x18d04c[0x0][_0x3822c2(0xae)](_0x3822c2(0x7d));for(let _0x3101e7=0x0;_0x3101e7<_0x9c776e;_0x3101e7++)_0x101a27[_0x3822c2(0x96)](_0x11f314,{'at':_0x5ca4ce});return _0x11f314[_0x3822c2(0xbe)](_0x5ca4ce)[_0x3822c2(0xbe)](_0x2fe3e7);}[_0x332ddc(0x80)](_0x230e74,_0x270ea5){const _0x4adb6f=_0x332ddc,{plugins:_0x592a37}=this[_0x4adb6f(0xb0)],{model:_0x66c797}=_0x230e74;if(!_0x592a37[_0x4adb6f(0xba)](_0x4adb6f(0x93)))return;_0x592a37[_0x4adb6f(0xab)](_0x4adb6f(0x93))[_0x4adb6f(0x8f)](_0x270ea5)[_0x4adb6f(0xc5)]&&_0x66c797[_0x4adb6f(0xd4)](_0x270ea5);}}
|