@ckeditor/ckeditor5-ai 47.0.0-alpha.8 → 47.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- 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/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.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +197 -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.d.ts +30 -0
- package/src/aichat/model/aichatmodels.js +1 -1
- 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.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +1 -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.d.ts +49 -0
- 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/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.d.ts +14 -0
- package/src/aitabs/aitabs.js +1 -1
- 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/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4712a9=_0x413e;(function(_0x4626be,_0x2cd244){const _0x5ca67d=_0x413e,_0x1abe33=_0x4626be();while(!![]){try{const _0xfdb308=-parseInt(_0x5ca67d(0x1e5))/0x1+-parseInt(_0x5ca67d(0x1ea))/0x2*(parseInt(_0x5ca67d(0x1de))/0x3)+-parseInt(_0x5ca67d(0x1f1))/0x4+parseInt(_0x5ca67d(0x201))/0x5+parseInt(_0x5ca67d(0x1fc))/0x6+-parseInt(_0x5ca67d(0x1f3))/0x7+parseInt(_0x5ca67d(0x1e1))/0x8*(parseInt(_0x5ca67d(0x1ff))/0x9);if(_0xfdb308===_0x2cd244)break;else _0x1abe33['push'](_0x1abe33['shift']());}catch(_0x2bbfe7){_0x1abe33['push'](_0x1abe33['shift']());}}}(_0x249d,0x5f68a));import{BalloonPanelView as _0x54089b,ButtonView as _0x3f746d,clickOutsideHandler as _0x39b31a,FormHeaderView as _0x493b54}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x2e8cff}from'@ckeditor/ckeditor5-icons';function _0x413e(_0x46d704,_0x5e2852){const _0x249d30=_0x249d();return _0x413e=function(_0x413ef3,_0x214b4c){_0x413ef3=_0x413ef3-0x1d2;let _0x4bdc00=_0x249d30[_0x413ef3];return _0x4bdc00;},_0x413e(_0x46d704,_0x5e2852);}function _0x249d(){const _0x3a6cb5=['element','1359635QvmdtZ','loadSourceResources','_getResourcesViewFromBalloon','execute','isAnyResourceBalloonVisible','hide','_addSourceResourceContent','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','set','add','_createBalloonHeader','_createBackButton','destroy','showSourceResourcesBalloon','get','delete','addResourceToContext','_bodyCollection','values','updateResourceState','ck-ai-chat-context-controls__source-balloon-panel','getLimiterElement','51YFXisO','ck-button-icon\x20ck-button-back','_createBalloonResourcesView','3128kYQpbj','onBalloonClosed','pin','populateSourceResourceBalloon','390656fmMGzo','_setupSingleResourceBalloonClickOutsideHandler','_config','label','_createSourceResourceBalloonPanel','85772dXPpHR','_locale','onBackToContext','clear','resource','onLoadSourceResources','content','1582076PNRppj','extendTemplate','3881465eSjWqa','_sourceResourceBalloons','closeSourceResourceBalloon','children','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','setResources','source','show','onResourceSelected','4397436TftURS','getTargetElement','isVisible','33507AKiDVv'];_0x249d=function(){return _0x3a6cb5;};return _0x249d();}import{getTranslation as _0x41aeb2}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x48ca13}from'./aichatresourcesview.js';const zo=_0x4712a9(0x1dc),Jo=_0x4712a9(0x1df),Qo=_0x4712a9(0x1f7);export class AIChatResourcesBalloonView{[_0x4712a9(0x1f4)]=new Map();[_0x4712a9(0x1d9)];[_0x4712a9(0x1eb)];[_0x4712a9(0x1e7)];constructor(_0xf51041,_0x19d8ef,_0x108ea7){const _0x37c71d=_0x4712a9;this[_0x37c71d(0x1eb)]=_0xf51041,this[_0x37c71d(0x1d9)]=_0x19d8ef,this[_0x37c71d(0x1e7)]=_0x108ea7;}[_0x4712a9(0x1d5)](_0x4844ea){const _0x4b7c72=_0x4712a9;let _0x32479a=this[_0x4b7c72(0x1f4)][_0x4b7c72(0x1d6)](_0x4844ea['id']);_0x32479a||(_0x32479a=this[_0x4b7c72(0x1e9)](),this[_0x4b7c72(0x1f4)][_0x4b7c72(0x209)](_0x4844ea['id'],_0x32479a),this[_0x4b7c72(0x1e6)](_0x32479a)),this[_0x4b7c72(0x207)](_0x32479a,_0x4844ea),_0x32479a[_0x4b7c72(0x1fa)]();const _0x100410=this[_0x4b7c72(0x1e7)][_0x4b7c72(0x1fd)]();_0x100410&&_0x32479a[_0x4b7c72(0x1e3)]({'target':_0x100410,'limiter':this[_0x4b7c72(0x1e7)][_0x4b7c72(0x1dd)]()});}[_0x4712a9(0x1e4)](_0x1ff732,_0x384538,_0x3c66ee){const _0x118ef3=_0x4712a9,_0x76ebba=this[_0x118ef3(0x1f4)][_0x118ef3(0x1d6)](_0x1ff732);if(!_0x76ebba)return;const _0x35d19c=this[_0x118ef3(0x203)](_0x76ebba);_0x35d19c&&_0x35d19c[_0x118ef3(0x1f8)](_0x384538,_0x3c66ee);}[_0x4712a9(0x1f5)](_0x543a81){const _0x315df3=_0x4712a9,_0x1ed9b2=this[_0x315df3(0x1f4)][_0x315df3(0x1d6)](_0x543a81);_0x1ed9b2&&requestAnimationFrame(()=>{const _0x35a034=_0x315df3;_0x1ed9b2[_0x35a034(0x206)](),this[_0x35a034(0x1f4)][_0x35a034(0x1d7)](_0x543a81),this[_0x35a034(0x1e7)][_0x35a034(0x1e2)]();});}[_0x4712a9(0x205)](){const _0xf8fd3d=_0x4712a9;for(const _0x4491d4 of this[_0xf8fd3d(0x1f4)][_0xf8fd3d(0x1da)]())if(_0x4491d4[_0xf8fd3d(0x1fe)])return!0x0;return!0x1;}[_0x4712a9(0x1db)](_0xa4b156,_0x5a4caf,_0x274b53){const _0x3fff4a=_0x4712a9,_0x29f563=this[_0x3fff4a(0x1f4)][_0x3fff4a(0x1d6)](_0xa4b156);if(!_0x29f563||!_0x29f563[_0x3fff4a(0x1fe)])return;const _0x5e7b7f=this[_0x3fff4a(0x1e7)][_0x3fff4a(0x1fd)]();if(!_0x5e7b7f)return;_0x29f563[_0x3fff4a(0x1e3)]({'target':_0x5e7b7f,'limiter':this[_0x3fff4a(0x1e7)][_0x3fff4a(0x1dd)]()});const _0x206e13=this[_0x3fff4a(0x203)](_0x29f563);_0x206e13&&_0x206e13[_0x3fff4a(0x1db)](_0x5a4caf,_0x274b53);}[_0x4712a9(0x1d4)](){const _0x17111e=_0x4712a9;for(const _0x2f6ad1 of this[_0x17111e(0x1f4)][_0x17111e(0x1da)]())_0x2f6ad1[_0x17111e(0x1d4)]();this[_0x17111e(0x1f4)][_0x17111e(0x1ed)]();}[_0x4712a9(0x1e9)](){const _0x1f1965=_0x4712a9,_0x40ed17=new _0x54089b(this[_0x1f1965(0x1eb)]);return _0x40ed17[_0x1f1965(0x1f2)]({'attributes':{'class':zo}}),this[_0x1f1965(0x1d9)][_0x1f1965(0x20a)](_0x40ed17),_0x40ed17;}[_0x4712a9(0x207)](_0x30e51a,_0xb4c027){const _0x5994db=_0x4712a9;_0x30e51a[_0x5994db(0x1f0)][_0x5994db(0x1ed)]();const _0x26f711=this[_0x5994db(0x1d2)](_0x30e51a,_0xb4c027);_0x30e51a[_0x5994db(0x1f0)][_0x5994db(0x20a)](_0x26f711);const _0x59a83e=this[_0x5994db(0x1e0)](_0xb4c027);_0x30e51a[_0x5994db(0x1f0)][_0x5994db(0x20a)](_0x59a83e);}[_0x4712a9(0x1d2)](_0x255beb,_0x148550){const _0xc553e9=_0x4712a9,_0x75ab83=this[_0xc553e9(0x1d3)](_0x255beb),_0x1ec363=new _0x493b54(this[_0xc553e9(0x1eb)],{'label':_0x148550[_0xc553e9(0x1e8)],'class':Qo});return _0x1ec363[_0xc553e9(0x1f6)][_0xc553e9(0x20a)](_0x75ab83,0x0),_0x1ec363;}[_0x4712a9(0x1d3)](_0x28a1f0){const _0xedd6d4=_0x4712a9,_0x247210=new _0x3f746d(this[_0xedd6d4(0x1eb)]);return _0x247210[_0xedd6d4(0x209)]({'icon':_0x2e8cff,'tooltip':_0x41aeb2(this[_0xedd6d4(0x1eb)],_0xedd6d4(0x208)),'tooltipPosition':'n','class':Jo}),_0x247210['on'](_0xedd6d4(0x204),()=>{const _0x1f7e03=_0xedd6d4;_0x28a1f0[_0x1f7e03(0x206)](),this[_0x1f7e03(0x1e7)][_0x1f7e03(0x1ec)]();}),_0x247210;}[_0x4712a9(0x1e0)](_0x3e1a91){const _0x491986=_0x4712a9,_0x599754=new _0x48ca13(this[_0x491986(0x1eb)],_0x3e1a91);return _0x599754['on'](_0x491986(0x202),(_0x2b565e,_0x49df0a)=>{const _0x560efc=_0x491986;this[_0x560efc(0x1e7)][_0x560efc(0x1ef)](_0x49df0a);}),_0x599754['on'](_0x491986(0x1d8),(_0x25cc8d,_0x48451a)=>{const _0x486803=_0x491986;this[_0x486803(0x1e7)][_0x486803(0x1fb)](_0x48451a[_0x486803(0x1f9)],_0x48451a[_0x486803(0x1ee)]),this[_0x486803(0x1f5)](_0x3e1a91['id']);}),_0x599754;}[_0x4712a9(0x203)](_0x295ea4){const _0x3068ce=_0x4712a9,_0x1239b7=_0x295ea4[_0x3068ce(0x1f0)][_0x3068ce(0x1d6)](0x1);return _0x1239b7 instanceof _0x48ca13?_0x1239b7:null;}[_0x4712a9(0x1e6)](_0x37c683){const _0x50a0b8=_0x4712a9;_0x39b31a({'emitter':_0x37c683,'contextElements':[_0x37c683[_0x50a0b8(0x200)]],'callback':()=>{const _0x5debf3=_0x50a0b8;_0x37c683[_0x5debf3(0x206)](),this[_0x5debf3(0x1e7)][_0x5debf3(0x1e2)]();},'activator':()=>_0x37c683[_0x50a0b8(0x1fe)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x32cb(_0x1d3a5f,_0x233f0b){const _0x992172=_0x9921();return _0x32cb=function(_0x32cbfc,_0x118b23){_0x32cbfc=_0x32cbfc-0x90;let _0x37ca9f=_0x992172[_0x32cbfc];return _0x37ca9f;},_0x32cb(_0x1d3a5f,_0x233f0b);}const _0x46fcb4=_0x32cb;function _0x9921(){const _0xce9cad=['resource','7NzvADC','fire','filter','extendTemplate','forEach','_source','locale','execute','label','1359378YEjpkT','trim','test','418aUQBID','items','1876758ArHsKC','addResourceToContext','highlightText','1737PLLLtV','replace','useDefaultFiltering','1690040GLWjat','4fVnRWa','clear','_handleResourceSelection','439855EMvhCh','300358mccptF','1707540WbmQUb','\x5c$&','setResources','add','updateResourceState','ck-ai-chat-resources__list'];_0x9921=function(){return _0xce9cad;};return _0x9921();}(function(_0x430951,_0x4a2981){const _0x217920=_0x32cb,_0x500984=_0x430951();while(!![]){try{const _0x2f61f6=parseInt(_0x217920(0xab))/0x1+parseInt(_0x217920(0x9e))/0x2*(parseInt(_0x217920(0xa3))/0x3)+-parseInt(_0x217920(0xa7))/0x4*(parseInt(_0x217920(0xaa))/0x5)+-parseInt(_0x217920(0xa0))/0x6*(parseInt(_0x217920(0x92))/0x7)+parseInt(_0x217920(0xa6))/0x8+-parseInt(_0x217920(0x9b))/0x9+parseInt(_0x217920(0xac))/0xa;if(_0x2f61f6===_0x4a2981)break;else _0x500984['push'](_0x500984['shift']());}catch(_0x4072c2){_0x500984['push'](_0x500984['shift']());}}}(_0x9921,0x3d6b4));import{ListView as _0x11be48}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x41db81}from'./aichatresourcelistitemview.js';const tc=_0x46fcb4(0x90);export class AIChatContextResourcesListView extends _0x11be48{[_0x46fcb4(0x97)];constructor(_0x3bef91,_0x4dc93e){const _0x44326a=_0x46fcb4;super(_0x3bef91),this[_0x44326a(0x97)]=_0x4dc93e,this[_0x44326a(0x95)]({'attributes':{'class':[tc]}});}[_0x46fcb4(0xae)](_0x173de7,_0x7d932f){const _0x168c01=_0x46fcb4;this[_0x168c01(0x9f)][_0x168c01(0xa8)]();let _0x3f6bc1=_0x173de7;if(this[_0x168c01(0x97)][_0x168c01(0xa5)]&&_0x7d932f&&''!==_0x7d932f[_0x168c01(0x9c)]()){const _0x3e131e=new RegExp(_0x7d932f[_0x168c01(0xa4)](/[.*+?^${}()|[\]\\]/g,_0x168c01(0xad)),'gi');_0x3f6bc1=_0x173de7[_0x168c01(0x94)](_0x11cb3b=>_0x3e131e[_0x168c01(0x9d)](_0x11cb3b[_0x168c01(0x9a)]));}for(const _0xd21b2b of _0x3f6bc1){const _0x147947=new _0x41db81(this[_0x168c01(0x98)],_0xd21b2b);_0x147947['on'](_0x168c01(0x99),()=>{const _0x3553ea=_0x168c01;this[_0x3553ea(0xa9)](this[_0x3553ea(0x97)],_0xd21b2b);}),this[_0x168c01(0x9f)][_0x168c01(0xaf)](_0x147947);}this[_0x168c01(0x97)][_0x168c01(0xa5)]&&this[_0x168c01(0xa2)](_0x7d932f);}[_0x46fcb4(0xa2)](_0x15b32d){const _0x3a556b=_0x46fcb4;this[_0x3a556b(0x97)][_0x3a556b(0xa5)]&&this[_0x3a556b(0x9f)][_0x3a556b(0x96)](_0x24aca2=>{const _0x5153a0=_0x3a556b;_0x24aca2[_0x5153a0(0xa2)](_0x15b32d);});}[_0x46fcb4(0xb0)](_0x53bd11,_0x482f54){const _0x7eabc7=_0x46fcb4;for(const _0x5bf727 of this[_0x7eabc7(0x9f)]){const _0x1f2f29=_0x5bf727;_0x1f2f29[_0x7eabc7(0x91)]['id']===_0x53bd11&&_0x1f2f29[_0x7eabc7(0xb0)](_0x482f54);}}[_0x46fcb4(0xa9)](_0x333867,_0xdc8f00){const _0x22cff1=_0x46fcb4;this[_0x22cff1(0x93)](_0x22cff1(0xa1),{'source':_0x333867,'resource':_0xdc8f00});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x1f606e,IconView as _0x19a7da,LabeledFieldView as th,createLabeledInputText as _0x27fbf8}from'ckeditor5/src/ui.js';import{IconLoupe as _0x54e956,IconCancel as _0x301d9e}from'ckeditor5/src/icons.js';import{getTranslation as _0x7f4ac5}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x20cca5){const t=_0x20cca5['t'],_0x1aa0e1={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x27fbf8,'label':_0x7f4ac5(_0x20cca5,'AI_CHAT_SEARCH_RESOURCES')};super(_0x20cca5,_0x1aa0e1['creator']),this['label']=_0x1aa0e1['label'],this['_viewConfig']=_0x1aa0e1,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x20cca5,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x33525a){this['fire']('search',_0x33525a);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x19a7da(),this['iconView']['content']=_0x54e956,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x4a0b02,t){this['resetButtonView']=new _0x1f606e(_0x4a0b02),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x301d9e,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x4fd0e8=>!_0x4fd0e8),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1aa0fc=_0x4ff2;(function(_0x4c853a,_0x47c291){const _0x20f28a=_0x4ff2,_0x524757=_0x4c853a();while(!![]){try{const _0x4a7b95=parseInt(_0x20f28a(0xa3))/0x1*(parseInt(_0x20f28a(0xb9))/0x2)+parseInt(_0x20f28a(0xb5))/0x3+parseInt(_0x20f28a(0xa8))/0x4+parseInt(_0x20f28a(0xb0))/0x5+-parseInt(_0x20f28a(0xad))/0x6+-parseInt(_0x20f28a(0xae))/0x7*(-parseInt(_0x20f28a(0x93))/0x8)+-parseInt(_0x20f28a(0x98))/0x9*(parseInt(_0x20f28a(0xb4))/0xa);if(_0x4a7b95===_0x47c291)break;else _0x524757['push'](_0x524757['shift']());}catch(_0x3d338d){_0x524757['push'](_0x524757['shift']());}}}(_0x3463,0x43216));import{View as _0x30161e,ViewCollection as _0x116366}from'ckeditor5/src/ui.js';import{uid as _0x5c797c}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x4424ab}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x89b3cb}from'./aichatresourcessearchinputview.js';function _0x4ff2(_0x4e1bae,_0x29a4c7){const _0x346341=_0x3463();return _0x4ff2=function(_0x4ff21b,_0x3430da){_0x4ff21b=_0x4ff21b-0x92;let _0x438bac=_0x346341[_0x4ff21b];return _0x438bac;},_0x4ff2(_0x4e1bae,_0x29a4c7);}function _0x3463(){const _0x176c8e=['_resourcesListView','240788rPXJir','children','_source','_createResourcesListView','render','4042096PyZIdh','highlightText','_latestLoadResourcesUid','locale','div','368964gLIQWt','loadResources','fire','ck-ai-chat-resources','addResourceToContext','_searchView','bindTemplate','ck-hidden','_createSearchSection','updateResourceState','_skeletonLoader','4PMJAse','useDefaultFiltering','aiChatResources','ck\x20ck-search','isLoading','1549480yDNdmL','loadSourceResources','set','_createSearchView','delegate','3015018LbBrJi','7gRqBwF','getQuery','663965xroVIP','setResources','setTemplate','search','290nWldKg','1378056WchzeM','_createSkeletonView','extendTemplate'];_0x3463=function(){return _0x176c8e;};return _0x3463();}import{AISkeletonView as _0x2a454c,SKELETON_DEFINITIONS as _0x158f49}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x30161e{[_0x1aa0fc(0x9d)];[_0x1aa0fc(0xb8)];[_0x1aa0fc(0xa2)];[_0x1aa0fc(0xbb)];[_0x1aa0fc(0xba)];[_0x1aa0fc(0x95)]=null;constructor(_0x1c1e68,_0x14ef65){const _0x581a78=_0x1aa0fc;super(_0x1c1e68),this[_0x581a78(0xbb)]=_0x14ef65,this[_0x581a78(0xaa)](_0x581a78(0xa7),!0x0),this[_0x581a78(0x9d)]=this[_0x581a78(0xab)]();const _0x359a8e=this[_0x581a78(0xa0)]();this[_0x581a78(0xb8)]=this[_0x581a78(0xbc)](),this[_0x581a78(0xa2)]=this[_0x581a78(0xb6)](),this[_0x581a78(0xba)]=new _0x116366([_0x359a8e,this[_0x581a78(0xa2)],this[_0x581a78(0xb8)]]),this[_0x581a78(0xb2)]({'tag':_0x581a78(0x97),'attributes':{'class':_0x581a78(0x9b)},'children':this[_0x581a78(0xba)]});}[_0x1aa0fc(0xab)](){const _0x476eb6=_0x1aa0fc;return new _0x89b3cb(this[_0x476eb6(0x96)]);}[_0x1aa0fc(0xa0)](){const _0x8cb277=_0x1aa0fc,_0x5b8cd7=new _0x30161e(this[_0x8cb277(0x96)]);return _0x5b8cd7[_0x8cb277(0xb2)]({'tag':_0x8cb277(0x97),'attributes':{'class':_0x8cb277(0xa6)},'children':[this[_0x8cb277(0x9d)]]}),this[_0x8cb277(0x9d)]['on'](_0x8cb277(0xb3),(_0x2daf5f,_0xe26eff)=>{const _0x50f1d0=_0x8cb277;this[_0x50f1d0(0x99)](_0xe26eff),this[_0x50f1d0(0xbb)][_0x50f1d0(0xa4)]&&this[_0x50f1d0(0xb8)][_0x50f1d0(0x94)](_0xe26eff);}),_0x5b8cd7;}[_0x1aa0fc(0xbc)](){const _0x2f1c31=_0x1aa0fc,_0x254ee3=new _0x4424ab(this[_0x2f1c31(0x96)],this[_0x2f1c31(0xbb)]);return _0x254ee3[_0x2f1c31(0xac)](_0x2f1c31(0x9c))['to'](this),_0x254ee3[_0x2f1c31(0xb7)]({'attributes':{'class':this[_0x2f1c31(0x9e)]['if'](_0x2f1c31(0xa7),_0x2f1c31(0x9f))}}),_0x254ee3;}[_0x1aa0fc(0xb6)](){const _0x347c3e=_0x1aa0fc,_0x55fbaa=new _0x2a454c(this[_0x347c3e(0x96)],_0x158f49[_0x347c3e(0xa5)]);return _0x55fbaa[_0x347c3e(0xb7)]({'attributes':{'class':[this[_0x347c3e(0x9e)]['if'](_0x347c3e(0xa7),_0x347c3e(0x9f),_0x5e7d55=>!_0x5e7d55)]}}),_0x55fbaa;}[_0x1aa0fc(0x92)](){const _0x40e4e8=_0x1aa0fc;super[_0x40e4e8(0x92)](),this[_0x40e4e8(0x99)]('');}[_0x1aa0fc(0x99)](_0x3cc655){const _0x58240a=_0x1aa0fc,_0x58d155=_0x5c797c();this[_0x58240a(0x95)]=_0x58d155,this[_0x58240a(0x9a)](_0x58240a(0xa9),{'sourceId':this[_0x58240a(0xbb)]['id'],'query':_0x3cc655,'uid':_0x58d155}),this[_0x58240a(0xa7)]=!0x0;}[_0x1aa0fc(0xb1)](_0x5e420e,_0x519fff){const _0x459f38=_0x1aa0fc;if(_0x519fff&&_0x519fff!==this[_0x459f38(0x95)])return;const _0x24840d=this[_0x459f38(0xbb)][_0x459f38(0xa4)]?this[_0x459f38(0x9d)][_0x459f38(0xaf)]():'';this[_0x459f38(0xb8)][_0x459f38(0xb1)](_0x5e420e,_0x24840d),requestAnimationFrame(()=>{const _0x1dce06=_0x459f38;this[_0x1dce06(0xa7)]=!0x1;});}[_0x1aa0fc(0xa1)](_0x3781d0,_0x118828){const _0x18df2f=_0x1aa0fc;this[_0x18df2f(0xb8)][_0x18df2f(0xa1)](_0x3781d0,_0x118828);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x29c8(_0x1205bd,_0x391e43){const _0x32534e=_0x3253();return _0x29c8=function(_0x29c8d4,_0xe21bf1){_0x29c8d4=_0x29c8d4-0x1b7;let _0x13bcce=_0x32534e[_0x29c8d4];return _0x13bcce;},_0x29c8(_0x1205bd,_0x391e43);}const _0x2e8907=_0x29c8;(function(_0x6860ce,_0x1c1412){const _0x26753b=_0x29c8,_0x456a3c=_0x6860ce();while(!![]){try{const _0x52e758=parseInt(_0x26753b(0x1cd))/0x1*(parseInt(_0x26753b(0x1c6))/0x2)+-parseInt(_0x26753b(0x1c3))/0x3+parseInt(_0x26753b(0x1ce))/0x4*(-parseInt(_0x26753b(0x1d0))/0x5)+-parseInt(_0x26753b(0x1d1))/0x6+-parseInt(_0x26753b(0x1be))/0x7*(-parseInt(_0x26753b(0x1d2))/0x8)+parseInt(_0x26753b(0x1d6))/0x9+-parseInt(_0x26753b(0x1b7))/0xa*(-parseInt(_0x26753b(0x1ba))/0xb);if(_0x52e758===_0x1c1412)break;else _0x456a3c['push'](_0x456a3c['shift']());}catch(_0x98905b){_0x456a3c['push'](_0x456a3c['shift']());}}}(_0x3253,0x72323));import{View as _0x1467f0}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x540ec6}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2a474c}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x2e8907(0x1cf),$o=_0x2e8907(0x1c8),qo=_0x2e8907(0x1c2),Vo=_0x2e8907(0x1bb),Io=_0x2e8907(0x1d3),Po=_0x2e8907(0x1bd);export class AIChatFeedContextChipsView extends _0x1467f0{[_0x2e8907(0x1c7)]=this[_0x2e8907(0x1bc)]();[_0x2e8907(0x1c4)];[_0x2e8907(0x1b9)];constructor(_0x3c4f0,_0x31b345,_0x3e7fff){const _0x2bb6b5=_0x2e8907;super(_0x3c4f0),this[_0x2bb6b5(0x1b9)]=_0x3e7fff,this[_0x2bb6b5(0x1ca)](_0x31b345);const _0x870a11={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':qo,'controlsButton':Vo}};this[_0x2bb6b5(0x1c4)]=new _0x2a474c(_0x3c4f0,this[_0x2bb6b5(0x1c7)],_0x870a11,this[_0x2bb6b5(0x1b9)],this),this[_0x2bb6b5(0x1d7)]({'tag':_0x2bb6b5(0x1c9),'attributes':{'class':[Fo,'ck',_0x2bb6b5(0x1cb)]},'children':[{'tag':_0x2bb6b5(0x1c9),'attributes':{'class':$o},'children':this[_0x2bb6b5(0x1c7)]}]});}[_0x2e8907(0x1d4)](){const _0x2129b5=_0x2e8907;super[_0x2129b5(0x1d4)]();const _0x52b8be=this[_0x2129b5(0x1cc)][_0x2129b5(0x1d5)]('.'+$o);_0x52b8be&&(this[_0x2129b5(0x1c4)][_0x2129b5(0x1bf)](_0x52b8be),this[_0x2129b5(0x1c4)][_0x2129b5(0x1b8)]());}[_0x2e8907(0x1c1)](){const _0x1dc6c1=_0x2e8907;super[_0x1dc6c1(0x1c1)](),this[_0x1dc6c1(0x1c4)][_0x1dc6c1(0x1c1)]();}[_0x2e8907(0x1ca)](_0x252b3d){const _0x4259b7=_0x2e8907;for(const _0x40a0d7 of _0x252b3d){const _0x1a30f0=new _0x540ec6(this[_0x4259b7(0x1c5)],_0x40a0d7,!0x0,!0x1);this[_0x4259b7(0x1c7)][_0x4259b7(0x1c0)](_0x1a30f0);}}}function _0x3253(){const _0x2eb560=['createCollection','ck-ai-chat-context-controls__show-more-balloon-panel','5506879EmASxb','setContainerElement','add','destroy','ck-ai-chat-context-chips-wrapper-balloon','827685VVpKtj','_overflowManager','locale','33624QbWAVy','_contextChips','ck-ai-chat-context-chips-wrapper','div','_createContextChips','ck-reset_all','element','29PWFGJl','2060PJajQd','ck-ai-chat__feed__context-chips','6775eHZDkf','1304868CsqXdg','8LxTYct','ck-ai-chat-controls_context_show-more-button','render','querySelector','952731TjbUPH','setTemplate','10EPVlvf','reorganizeChips','_bodyCollection','3067251ABrAow','ck-ai-chat-controls-button'];_0x3253=function(){return _0x2eb560;};return _0x3253();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4739fe=_0x1cf1;(function(_0x3b6e23,_0x2ab722){var _0x21ec53=_0x1cf1,_0x183234=_0x3b6e23();while(!![]){try{var _0x4d7756=-parseInt(_0x21ec53(0x191))/0x1+-parseInt(_0x21ec53(0x19c))/0x2+-parseInt(_0x21ec53(0x1a4))/0x3+-parseInt(_0x21ec53(0x19e))/0x4*(-parseInt(_0x21ec53(0x199))/0x5)+-parseInt(_0x21ec53(0x190))/0x6*(parseInt(_0x21ec53(0x1a6))/0x7)+-parseInt(_0x21ec53(0x195))/0x8*(parseInt(_0x21ec53(0x192))/0x9)+-parseInt(_0x21ec53(0x197))/0xa*(-parseInt(_0x21ec53(0x1a0))/0xb);if(_0x4d7756===_0x2ab722)break;else _0x183234['push'](_0x183234['shift']());}catch(_0x376b3c){_0x183234['push'](_0x183234['shift']());}}}(_0x1cbf,0xe65f1));import{AIChatFeedItemView as _0x3856b5}from'./aichatfeeditemview.js';function _0x1cf1(_0xc46e81,_0x74d95d){var _0x1cbfb4=_0x1cbf();return _0x1cf1=function(_0x1cf131,_0x1e2fdc){_0x1cf131=_0x1cf131-0x190;var _0x26a9df=_0x1cbfb4[_0x1cf131];return _0x26a9df;},_0x1cf1(_0xc46e81,_0x74d95d);}function _0x1cbf(){var _0x6f6b77=['render','markAsDone','2864mJfeWU','innerHTML','10fHMpIx','warning','960440YdSGRF','element','ck-ai-chat-error_warning','1797700oJeZVD','extendTemplate','8JlajQk','initialContent','72807383cDbykB','options','level','setContent','5454612AWjexm','ck-ai-chat-error','745255elpJpR','66GMMsCf','1394041ISYSmj','19539vKokpg'];_0x1cbf=function(){return _0x6f6b77;};return _0x1cbf();}export class AIChatFeedErrorItemView extends _0x3856b5{constructor(_0x54ee05){var _0x1410e7=_0x1cf1;super(_0x54ee05),this[_0x1410e7(0x19d)]({'attributes':{'class':[_0x1410e7(0x1a5),_0x1410e7(0x198)===_0x54ee05[_0x1410e7(0x1a2)]?_0x1410e7(0x19b):'']}});}[_0x4739fe(0x193)](){var _0x4af823=_0x4739fe;super[_0x4af823(0x193)](),this[_0x4af823(0x1a3)](this[_0x4af823(0x1a1)][_0x4af823(0x19f)]),this[_0x4af823(0x194)]();}[_0x4739fe(0x1a3)](_0x2e9dd7){var _0x1a2491=_0x4739fe;this[_0x1a2491(0x19a)][_0x1a2491(0x196)]=_0x2e9dd7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x42d598=_0x519a;(function(_0x2060be,_0x1ed027){const _0x3b6018=_0x519a,_0x414e8d=_0x2060be();while(!![]){try{const _0x18f180=parseInt(_0x3b6018(0x19b))/0x1*(parseInt(_0x3b6018(0x197))/0x2)+parseInt(_0x3b6018(0x194))/0x3+-parseInt(_0x3b6018(0x188))/0x4+parseInt(_0x3b6018(0x195))/0x5*(parseInt(_0x3b6018(0x18a))/0x6)+parseInt(_0x3b6018(0x19c))/0x7*(-parseInt(_0x3b6018(0x18e))/0x8)+-parseInt(_0x3b6018(0x18b))/0x9*(parseInt(_0x3b6018(0x185))/0xa)+parseInt(_0x3b6018(0x183))/0xb;if(_0x18f180===_0x1ed027)break;else _0x414e8d['push'](_0x414e8d['shift']());}catch(_0x258ebe){_0x414e8d['push'](_0x414e8d['shift']());}}}(_0x9ad4,0xb8e57));import{IconBulb as _0x3a24e1,IconWeb as _0x3bfc01}from'@ckeditor/ckeditor5-icons';function _0x519a(_0x3baddf,_0x3af8b9){const _0x9ad478=_0x9ad4();return _0x519a=function(_0x519ada,_0x253eb3){_0x519ada=_0x519ada-0x183;let _0x2fcf5a=_0x9ad478[_0x519ada];return _0x2fcf5a;},_0x519a(_0x3baddf,_0x3af8b9);}import{IconView as _0x4e0fd6,View as _0x1a639f}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x1e3ec7}from'./aichatfeeditemview.js';import{getTranslation as _0x5b368e}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x1e3ec7{[_0x42d598(0x18f)];constructor(_0x3489ee,_0x569cf3){const _0x372cfd=_0x42d598;super(_0x569cf3);const {isWebSearchEnabled:_0x234f93,isReasoningEnabled:_0x1eb6b6}=_0x569cf3[_0x372cfd(0x18f)],_0x58e541=[];let _0x150005='';_0x234f93&&_0x1eb6b6?(_0x150005=_0x5b368e(_0x3489ee,_0x372cfd(0x196)),_0x58e541[_0x372cfd(0x190)](ta(_0x3bfc01)),_0x58e541[_0x372cfd(0x190)](ta(_0x3a24e1))):_0x234f93?(_0x150005=_0x5b368e(_0x3489ee,_0x372cfd(0x193)),_0x58e541[_0x372cfd(0x190)](ta(_0x3bfc01))):_0x1eb6b6&&(_0x150005=_0x5b368e(_0x3489ee,_0x372cfd(0x191)),_0x58e541[_0x372cfd(0x190)](ta(_0x3a24e1))),this[_0x372cfd(0x198)]({'attributes':{'class':[_0x372cfd(0x199),_0x150005?'':_0x372cfd(0x186)]}});const _0x3e8866=new _0x1a639f();_0x3e8866[_0x372cfd(0x187)]({'tag':_0x372cfd(0x19d),'attributes':{'class':['ck',_0x372cfd(0x192)]},'children':[..._0x58e541,{'tag':_0x372cfd(0x19a),'attributes':{'class':[_0x372cfd(0x184)]},'children':[_0x150005]}]}),this[_0x372cfd(0x189)][_0x372cfd(0x18d)](_0x3e8866),this[_0x372cfd(0x18f)]=_0x569cf3[_0x372cfd(0x18f)];}}function _0x9ad4(){const _0x2fdc2f=['ck-ai-chat__feed__interaction-header__capabilities__text','2303890sVFOwO','ck-hidden','setTemplate','11724QwZPjY','children','174ZuJvji','54sGPnhZ','content','add','95336aeCzAR','capabilities','push','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','3180885jvkIrb','15415hjwxTy','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','96458mKsioo','extendTemplate','ck-ai-chat__feed__interaction-header','span','16uPqXOC','91EewlrK','div','4137705mJVdhB'];_0x9ad4=function(){return _0x2fdc2f;};return _0x9ad4();}function ta(_0x49cf8b){const _0x1048f7=_0x42d598,_0x3ad36f=new _0x4e0fd6();return _0x3ad36f[_0x1048f7(0x18c)]=_0x49cf8b,_0x3ad36f;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x6829a9=_0x1eb3;function _0x1eb3(_0x28c42b,_0x1af455){const _0x36b367=_0x36b3();return _0x1eb3=function(_0x1eb3c3,_0x416f66){_0x1eb3c3=_0x1eb3c3-0xbc;let _0x63941d=_0x36b367[_0x1eb3c3];return _0x63941d;},_0x1eb3(_0x28c42b,_0x1af455);}(function(_0x39d037,_0x328006){const _0x11871c=_0x1eb3,_0x455a34=_0x39d037();while(!![]){try{const _0x1bfa34=-parseInt(_0x11871c(0xd7))/0x1*(parseInt(_0x11871c(0xc4))/0x2)+parseInt(_0x11871c(0xd3))/0x3*(-parseInt(_0x11871c(0xcb))/0x4)+parseInt(_0x11871c(0xe0))/0x5*(parseInt(_0x11871c(0xd4))/0x6)+-parseInt(_0x11871c(0xbf))/0x7+-parseInt(_0x11871c(0xc5))/0x8*(parseInt(_0x11871c(0xd8))/0x9)+-parseInt(_0x11871c(0xd2))/0xa+parseInt(_0x11871c(0xd0))/0xb;if(_0x1bfa34===_0x328006)break;else _0x455a34['push'](_0x455a34['shift']());}catch(_0x2f8210){_0x455a34['push'](_0x455a34['shift']());}}}(_0x36b3,0x99b5a));import{View as _0x33c57d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4cd760}from'../../../aicore/utils/htmlstreamer.js';function _0x36b3(){const _0x3c8c36=['stream','markAsDone','cleanUpAnimations','1139375ITvohx','ck-ai-chat__feed__text-item','createCollection','ck-hidden','5639998cNIera','bindTemplate','[data-id]','isVisible','ck-ai-chat__feed__item_done','586ylUQUR','77288uhgDgY','div','removeAttribute','set','children','data-id','8156fYhpzG','content','setTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item','32477313VukHbn','element','9305050sQPFdu','579QOFAbA','30BhuAYG','forEach','htmlStreamer','1943MkcWxY','711LShUYw','options','streamIntoElement','isDone','querySelectorAll'];_0x36b3=function(){return _0x3c8c36;};return _0x36b3();}export class AIChatFeedItemView extends _0x33c57d{[_0x6829a9(0xd9)];[_0x6829a9(0xcc)]='';[_0x6829a9(0xd6)];[_0x6829a9(0xc9)];constructor(_0x44c2cb){const _0x11140b=_0x6829a9;super();const _0x226577=this[_0x11140b(0xc0)];this[_0x11140b(0xc8)](_0x11140b(0xdb),!0x1),this[_0x11140b(0xc8)](_0x11140b(0xc2),!0x0),this[_0x11140b(0xd6)]=new _0x4cd760({'textNodeStyle':_0x11140b(0xce),'delay':0x14}),this[_0x11140b(0xd9)]=_0x44c2cb,this[_0x11140b(0xc9)]=this[_0x11140b(0xbd)](),this[_0x11140b(0xcd)]({'tag':_0x11140b(0xc6),'attributes':{'class':['ck',_0x11140b(0xcf),_0x226577['if'](_0x11140b(0xdb),_0x11140b(0xc3)),_0x226577['if'](_0x11140b(0xc2),_0x11140b(0xbe),_0x32e8f2=>!_0x32e8f2),_0x11140b(0xbc)],'data-cke-ai-id':this[_0x11140b(0xd9)]['id']},'children':this[_0x11140b(0xc9)]});}[_0x6829a9(0xde)](){const _0x396418=_0x6829a9;this[_0x396418(0xd6)][_0x396418(0xdf)]({'targetElement':this[_0x396418(0xd1)]}),this[_0x396418(0xd1)][_0x396418(0xdc)](_0x396418(0xc1))[_0x396418(0xd5)](_0x1cb6bc=>{const _0x528015=_0x396418;_0x1cb6bc[_0x528015(0xc7)](_0x528015(0xca));}),this[_0x396418(0xdb)]=!0x0;}async[_0x6829a9(0xda)](_0x123083,_0x452b18,_0x9ae9ce){const _0x14d2dc=_0x6829a9;await this[_0x14d2dc(0xd6)][_0x14d2dc(0xdd)]({'document':_0x123083,'targetElement':_0x452b18,'abortSignal':_0x9ae9ce});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4139(_0x2b6c97,_0x3282ca){const _0x389a36=_0x389a();return _0x4139=function(_0x413946,_0x13847d){_0x413946=_0x413946-0x97;let _0x5c45d1=_0x389a36[_0x413946];return _0x5c45d1;},_0x4139(_0x2b6c97,_0x3282ca);}const _0x10c6fd=_0x4139;function _0x389a(){const _0xe21650=['render','556497BInPfX','updateContent','element','div','3160494TpVaDo','extendTemplate','innerHTML','map','1Rfernq','isVisible','locale','10YNHyjM','263456avbkCE','children','updateSources','12915873UgpDbE','streaming','streamIntoElement','10009304wpqJUa','4641890mezxww','7oTeSqs','static','initialContent','replyContainer','ck-ai-chat__feed__ai-reply-container','add','options','ck-reset_all-excluded','addMany','setTemplate','ck-ai-chat__feed__ai-reply','markAsDone','4948252kdWQKU'];_0x389a=function(){return _0xe21650;};return _0x389a();}(function(_0x185080,_0x5e9f9d){const _0x4d2418=_0x4139,_0x3269a3=_0x185080();while(!![]){try{const _0x19e5d2=parseInt(_0x4d2418(0xae))/0x1*(parseInt(_0x4d2418(0xb2))/0x2)+parseInt(_0x4d2418(0xa6))/0x3+-parseInt(_0x4d2418(0xa4))/0x4+parseInt(_0x4d2418(0x97))/0x5+parseInt(_0x4d2418(0xaa))/0x6*(parseInt(_0x4d2418(0x98))/0x7)+-parseInt(_0x4d2418(0xb8))/0x8+-parseInt(_0x4d2418(0xb5))/0x9*(-parseInt(_0x4d2418(0xb1))/0xa);if(_0x19e5d2===_0x5e9f9d)break;else _0x3269a3['push'](_0x3269a3['shift']());}catch(_0x59da9b){_0x3269a3['push'](_0x3269a3['shift']());}}}(_0x389a,0xaf979));import{AIChatFeedItemView as _0x3bebae}from'./aichatfeeditemview.js';import{parse as _0x3f116c,render as _0x34aead}from'../../../aicore/utils/htmlparser.js';import{View as _0x5170f3}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x56a76a,AIWebSourceView as _0x1e322f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x3bebae{[_0x10c6fd(0x9b)];constructor(_0x191626,_0x2fea00){const _0x55d621=_0x10c6fd;super(_0x2fea00),this[_0x55d621(0xb0)]=_0x191626,this[_0x55d621(0xab)]({'attributes':{'class':[_0x55d621(0xa2)]}}),this[_0x55d621(0x9b)]=new _0x5170f3(),this[_0x55d621(0x9b)][_0x55d621(0xa1)]({'tag':_0x55d621(0xa9),'attributes':{'class':['ck',_0x55d621(0x9f),_0x55d621(0x9c)]}}),this[_0x55d621(0xb3)][_0x55d621(0x9d)](this[_0x55d621(0x9b)]);}async[_0x10c6fd(0xa5)](){const _0x122184=_0x10c6fd;super[_0x122184(0xa5)](),this[_0x122184(0x9e)][_0x122184(0x9a)]&&(await this[_0x122184(0xa7)]({'parsedContent':_0x3f116c(this[_0x122184(0x9e)][_0x122184(0x9a)]),'renderingStrategy':_0x122184(0x99)}),this[_0x122184(0xa3)]());}async[_0x10c6fd(0xa7)]({parsedContent:_0xef5738,renderingStrategy:_0x1b6746,abortSignal:_0x4d5acf}){const _0x2a6faa=_0x10c6fd;_0x2a6faa(0xb6)===_0x1b6746?await this[_0x2a6faa(0xb7)](_0xef5738,this[_0x2a6faa(0x9b)][_0x2a6faa(0xa8)],_0x4d5acf):this[_0x2a6faa(0x9b)][_0x2a6faa(0xa8)][_0x2a6faa(0xac)]=_0x34aead(_0xef5738);}[_0x10c6fd(0xb4)](_0x3924fd){const _0x119118=_0x10c6fd,_0x323895=new _0x56a76a(this[_0x119118(0xb0)]);_0x323895[_0x119118(0xb3)][_0x119118(0xa0)](_0x3924fd[_0x119118(0xad)](_0x170bb8=>new _0x1e322f(this[_0x119118(0xb0)],_0x170bb8))),_0x323895[_0x119118(0xaf)]=!0x0,this[_0x119118(0xb3)][_0x119118(0x9d)](_0x323895);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4552da=_0x5480;(function(_0x42043f,_0x53ae4f){const _0x4dfeae=_0x5480,_0x2e69c3=_0x42043f();while(!![]){try{const _0x5e2871=parseInt(_0x4dfeae(0x12e))/0x1*(-parseInt(_0x4dfeae(0x174))/0x2)+-parseInt(_0x4dfeae(0x15d))/0x3+-parseInt(_0x4dfeae(0x137))/0x4*(-parseInt(_0x4dfeae(0x146))/0x5)+parseInt(_0x4dfeae(0x153))/0x6*(parseInt(_0x4dfeae(0x11f))/0x7)+parseInt(_0x4dfeae(0x12d))/0x8*(parseInt(_0x4dfeae(0x141))/0x9)+parseInt(_0x4dfeae(0x165))/0xa+-parseInt(_0x4dfeae(0x15e))/0xb*(parseInt(_0x4dfeae(0x13a))/0xc);if(_0x5e2871===_0x53ae4f)break;else _0x2e69c3['push'](_0x2e69c3['shift']());}catch(_0x567547){_0x2e69c3['push'](_0x2e69c3['shift']());}}}(_0x3273,0x37b77));import{KeystrokeHandler as _0x2cb67a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x576f2f,BodyCollection as _0xcaaaed,ButtonView as _0x406537,clickOutsideHandler as _0x3bb795,ListItemButtonView as _0x5c715a,ListItemView as _0x1eaaa5,ListView as _0x156d8e,SplitButtonView as _0x19fb46,UIModel as _0xe38fa,View as _0x5e8548}from'ckeditor5/src/ui.js';import{IconCheck as _0x426a69,IconAddComment as _0x940f19,IconDocumentWithLoupe as _0x5e25c9}from'ckeditor5/src/icons.js';function _0x5480(_0x49dca6,_0x5ae5da){const _0x3273a4=_0x3273();return _0x5480=function(_0x54802a,_0x28f1df){_0x54802a=_0x54802a-0x11b;let _0x167482=_0x3273a4[_0x54802a];return _0x167482;},_0x5480(_0x49dca6,_0x5ae5da);}import{getTranslation as _0xf86a3a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x4552da(0x154),_0x4552da(0x167),_0x4552da(0x12f)];export class AIChatFeedSuggestionItemActionsView extends _0x5e8548{[_0x4552da(0x11e)];[_0x4552da(0x172)];[_0x4552da(0x17a)];[_0x4552da(0x123)];[_0x4552da(0x11d)];[_0x4552da(0x14e)]=0x1;[_0x4552da(0x17c)];[_0x4552da(0x15f)];[_0x4552da(0x127)]=!0x0;constructor(_0x1e85d7,_0x42329b){const _0xfb50ac=_0x4552da;super(_0x1e85d7),this[_0xfb50ac(0x17c)]=_0x42329b||[...ACTIONS],this[_0xfb50ac(0x15f)]=[...this[_0xfb50ac(0x17c)]];const _0x63f4c0=this[_0xfb50ac(0x130)];this[_0xfb50ac(0x161)](_0xfb50ac(0x14f),!0x0),this[_0xfb50ac(0x161)](_0xfb50ac(0x13f),!0x0),this[_0xfb50ac(0x17a)]=new _0xe38fa({'label':Ln(_0xfb50ac(0x154),_0x1e85d7,this[_0xfb50ac(0x14e)]),'icon':_0x426a69,'withText':!0x0,'type':_0xfb50ac(0x162),'actionName':_0xfb50ac(0x154)}),this[_0xfb50ac(0x123)]=new _0xe38fa({'label':Ln(_0xfb50ac(0x12f),_0x1e85d7,this[_0xfb50ac(0x14e)]),'icon':_0x5e25c9,'withText':!0x0,'type':_0xfb50ac(0x162),'actionName':_0xfb50ac(0x12f)}),this[_0xfb50ac(0x11d)]=new _0xe38fa({'label':Ln(_0xfb50ac(0x167),_0x1e85d7,this[_0xfb50ac(0x14e)]),'icon':_0x940f19,'withText':!0x0,'type':_0xfb50ac(0x162),'actionName':_0xfb50ac(0x167)}),this[_0xfb50ac(0x11e)]=this[_0xfb50ac(0x142)](_0x1e85d7),this[_0xfb50ac(0x172)]=this[_0xfb50ac(0x131)]([this[_0xfb50ac(0x11e)]]),this[_0xfb50ac(0x148)]({'tag':_0xfb50ac(0x171),'attributes':{'class':['ck',_0xfb50ac(0x17b),_0x63f4c0['if'](_0xfb50ac(0x13f),_0xfb50ac(0x138),_0x20c69e=>!_0x20c69e)]},'children':this[_0xfb50ac(0x172)]}),this[_0xfb50ac(0x128)](this,_0xfb50ac(0x143),()=>{const _0x528e8a=_0xfb50ac;this[_0x528e8a(0x15f)]=this[_0x528e8a(0x122)]?this[_0x528e8a(0x17c)][_0x528e8a(0x175)](_0x19ee2d=>_0x528e8a(0x154)!==_0x19ee2d):[...this[_0x528e8a(0x17c)]],this[_0x528e8a(0x155)](_0x1e85d7);});}[_0x4552da(0x155)](_0x16aa1f){const _0x340d27=_0x4552da;this[_0x340d27(0x172)][_0x340d27(0x12a)](this[_0x340d27(0x11e)])&&(this[_0x340d27(0x172)][_0x340d27(0x11c)](this[_0x340d27(0x11e)]),this[_0x340d27(0x11e)][_0x340d27(0x12c)]()),0x0!=this[_0x340d27(0x15f)][_0x340d27(0x168)]&&(this[_0x340d27(0x11e)]=this[_0x340d27(0x142)](_0x16aa1f),this[_0x340d27(0x172)][_0x340d27(0x14a)](this[_0x340d27(0x11e)]));}[_0x4552da(0x142)](_0x68dfd8){const _0x362364=_0x4552da,_0x5e24f5=0x1===this[_0x362364(0x15f)][_0x362364(0x168)]?this[_0x362364(0x152)](_0x68dfd8):this[_0x362364(0x15a)](_0x68dfd8),_0x1a2c1f=this[_0x362364(0x127)]?'':_0x362364(0x170);_0x5e24f5[_0x362364(0x161)]({'label':Ln(this[_0x362364(0x15f)][0x0],_0x68dfd8,this[_0x362364(0x14e)]),'tooltip':jn(this[_0x362364(0x15f)][0x0],_0x68dfd8,this[_0x362364(0x14e)]),'withText':!0x0,'class':_0x362364(0x126)+_0x1a2c1f});for(const _0x5ddbdf of this[_0x362364(0x15f)])_0x5e24f5['on'](_0x5ddbdf,()=>{const _0xbaa8dc=_0x362364;this[_0xbaa8dc(0x121)](_0x5ddbdf);});return this[_0x362364(0x127)]=!0x1,_0x5e24f5;}[_0x4552da(0x152)](_0x50900f){const _0x3ce795=_0x4552da,_0x2c7f41=new _0x406537(_0x50900f);return _0x2c7f41[_0x3ce795(0x161)]({'class':_0x3ce795(0x140),'withText':!0x0}),_0x2c7f41['on'](_0x3ce795(0x16c),()=>{const _0x26106e=_0x3ce795;_0x2c7f41[_0x26106e(0x121)](this[_0x26106e(0x15f)][0x0]);}),_0x2c7f41;}[_0x4552da(0x15a)](_0x59bc55){const _0x1d028e=_0x4552da,_0x5485aa=new Pn(_0x59bc55,{'listItemModels':this[_0x1d028e(0x15f)][_0x1d028e(0x169)](_0x3744b7=>{const _0x5b2393=_0x1d028e;switch(_0x3744b7){case _0x5b2393(0x154):return this[_0x5b2393(0x17a)];case _0x5b2393(0x12f):return this[_0x5b2393(0x123)];case _0x5b2393(0x167):return this[_0x5b2393(0x11d)];}})});return _0x5485aa[_0x1d028e(0x161)]({'label':Ln(this[_0x1d028e(0x15f)][0x0],_0x59bc55,this[_0x1d028e(0x14e)]),'tooltip':jn(this[_0x1d028e(0x15f)][0x0],_0x59bc55,this[_0x1d028e(0x14e)]),'withText':!0x0,'class':_0x1d028e(0x17b),'balloonPanelClass':_0x1d028e(0x145)}),_0x5485aa[_0x1d028e(0x133)](_0x1d028e(0x14f))['to'](this),_0x5485aa;}[_0x4552da(0x13c)](_0x25d012){const _0x4fd57f=_0x4552da,_0x21e408=this[_0x4fd57f(0x178)];this[_0x4fd57f(0x14e)]=_0x25d012||this[_0x4fd57f(0x14e)],this[_0x4fd57f(0x11e)][_0x4fd57f(0x161)]({'label':Ln(this[_0x4fd57f(0x15f)][0x0],_0x21e408,this[_0x4fd57f(0x14e)]),'tooltip':jn(this[_0x4fd57f(0x15f)][0x0],_0x21e408,this[_0x4fd57f(0x14e)])}),this[_0x4fd57f(0x17a)][_0x4fd57f(0x124)]=Ln(_0x4fd57f(0x154),_0x21e408,this[_0x4fd57f(0x14e)]),this[_0x4fd57f(0x123)][_0x4fd57f(0x124)]=Ln(_0x4fd57f(0x12f),_0x21e408,this[_0x4fd57f(0x14e)]),this[_0x4fd57f(0x11d)][_0x4fd57f(0x124)]=Ln(_0x4fd57f(0x167),_0x21e408,this[_0x4fd57f(0x14e)]);}}function _0x3273(){const _0x17221a=['13098ZKQwhr','filter','listItemModels','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','locale','delegate','applySuggestionModel','ck-ai-chat__feed__ai-suggestion__actions','_dropdownOriginalConfig','items','remove','insertSuggestionModel','actionsButton','51163kuVyUJ','element','fire','isTrackChangesOn','showChangeInTextModel','label','left','ck-ai-chat__feed__ai-suggestion__actions\x20','_firstRender','listenTo','listView','has','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','destroy','3376728jwTEBB','1VWgTfy','showChangeInText','bindTemplate','createCollection','attachToDom','bind','keys','bodyCollection','open','524500gGPFip','ck-hidden','source','10644QAFlbz','hide','updateLabels','tooltip','_setUpKeystrokes','isVisible','ck-ai-button-primary','9eqGDLj','_createActionsDropdownOrButton','change:isTrackChangesOn','uiLanguageDirection','ck-ai-chat__feed__ai-suggestion__actions__balloon','10aRmycq','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','setTemplate','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','add','bottom','width','balloonPanelClass','_partsCount','isEnabled','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','unbind','_createActionsButton','180lpAEqv','applySuggestion','_updateDropdownActions','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_setUpList','content','esc','_createActionsDropdown','focus','class','912015UzjrAF','5093lUplte','_dropdownCurrentConfig','arrowless','set','button','actionName','slice','458390sUvwDT','balloonPanelView','insertSuggestion','length','map','ltr','pin','execute','arrowView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','detachFromDom','ck-ai-chat__feed__ai-suggestion__actions--no-animation','div','children','keystrokeHandler'];_0x3273=function(){return _0x17221a;};return _0x3273();}class Pn extends _0x19fb46{[_0x4552da(0x135)];[_0x4552da(0x166)];[_0x4552da(0x129)];[_0x4552da(0x173)];constructor(_0x4af474,_0x41313f){const _0x3fec97=_0x4552da;super(_0x4af474),this[_0x3fec97(0x166)]=new _0x576f2f(this[_0x3fec97(0x178)]),this[_0x3fec97(0x135)]=new _0xcaaaed(this[_0x3fec97(0x178)]),this[_0x3fec97(0x135)][_0x3fec97(0x132)](),this[_0x3fec97(0x161)](_0x3fec97(0x14d),''),this[_0x3fec97(0x166)][_0x3fec97(0x133)](_0x3fec97(0x15c))['to'](this,_0x3fec97(0x14d)),this[_0x3fec97(0x129)]=this[_0x3fec97(0x157)](_0x41313f[_0x3fec97(0x176)][_0x3fec97(0x164)](0x1)),this[_0x3fec97(0x135)][_0x3fec97(0x14a)](this[_0x3fec97(0x166)]),this[_0x3fec97(0x166)][_0x3fec97(0x158)][_0x3fec97(0x14a)](this[_0x3fec97(0x129)]),this[_0x3fec97(0x16d)][_0x3fec97(0x151)](_0x3fec97(0x13d)),this[_0x3fec97(0x16d)][_0x3fec97(0x161)](_0x3fec97(0x13d),_0xf86a3a(this[_0x3fec97(0x178)],_0x3fec97(0x156))),this[_0x3fec97(0x13e)](),this['on'](_0x3fec97(0x16c),()=>{const _0x47a639=_0x3fec97,_0x5b77fc=_0x41313f[_0x47a639(0x176)][0x0][_0x47a639(0x163)];this[_0x47a639(0x121)](_0x5b77fc),this[_0x47a639(0x166)][_0x47a639(0x13b)](),this[_0x47a639(0x16d)][_0x47a639(0x15b)]();}),this['on'](_0x3fec97(0x136),()=>{const _0x24c785=_0x3fec97;this[_0x24c785(0x166)][_0x24c785(0x13f)]?(this[_0x24c785(0x166)][_0x24c785(0x13b)](),this[_0x24c785(0x16d)][_0x24c785(0x15b)]()):(this[_0x24c785(0x166)][_0x24c785(0x16b)]({'target':this[_0x24c785(0x120)],'positions':[_0x24c785(0x16a)===this[_0x24c785(0x178)][_0x24c785(0x144)]?Hn:Un]}),this[_0x24c785(0x129)][_0x24c785(0x15b)]());}),_0x3bb795({'emitter':this[_0x3fec97(0x166)],'callback':()=>{const _0xcbeac6=_0x3fec97;this[_0xcbeac6(0x166)][_0xcbeac6(0x13b)]();},'activator':()=>this[_0x3fec97(0x166)][_0x3fec97(0x13f)],'contextElements':()=>[this[_0x3fec97(0x120)],this[_0x3fec97(0x166)][_0x3fec97(0x120)]]});}[_0x4552da(0x157)](_0x5b8ffa){const _0x2f662a=_0x4552da,_0x5aa9ca=this[_0x2f662a(0x178)],_0x332ec3=new _0x156d8e(_0x5aa9ca);for(const _0xb38426 of _0x5b8ffa){const _0x3fe1b1=new _0x1eaaa5(_0x5aa9ca),_0x77a1eb=new _0x5c715a(_0x5aa9ca);_0x77a1eb[_0x2f662a(0x133)](...Object[_0x2f662a(0x134)](_0xb38426))['to'](_0xb38426),_0x77a1eb[_0x2f662a(0x179)](_0x2f662a(0x16c))['to'](_0x332ec3),_0x3fe1b1[_0x2f662a(0x172)][_0x2f662a(0x14a)](_0x77a1eb),_0x332ec3[_0x2f662a(0x11b)][_0x2f662a(0x14a)](_0x3fe1b1);}return _0x332ec3[_0x2f662a(0x11b)][_0x2f662a(0x179)](_0x2f662a(0x16c))['to'](this),_0x332ec3['on'](_0x2f662a(0x16c),_0x21e425=>{const _0x15af92=_0x2f662a,_0x45d149=_0x21e425[_0x15af92(0x139)];this[_0x15af92(0x121)](_0x45d149[_0x15af92(0x163)]),this[_0x15af92(0x166)][_0x15af92(0x13b)](),this[_0x15af92(0x16d)][_0x15af92(0x15b)]();}),_0x332ec3;}[_0x4552da(0x13e)](){const _0x564b59=_0x4552da;this[_0x564b59(0x173)]=new _0x2cb67a(),this[_0x564b59(0x173)][_0x564b59(0x128)](this[_0x564b59(0x166)][_0x564b59(0x120)]),this[_0x564b59(0x173)][_0x564b59(0x161)](_0x564b59(0x159),(_0x509526,_0x254023)=>{const _0x5b3e39=_0x564b59;this[_0x5b3e39(0x166)][_0x5b3e39(0x13b)](),this[_0x5b3e39(0x16d)][_0x5b3e39(0x15b)](),_0x254023();});}[_0x4552da(0x12c)](){const _0x5d2c7b=_0x4552da;super[_0x5d2c7b(0x12c)](),this[_0x5d2c7b(0x173)][_0x5d2c7b(0x12c)](),this[_0x5d2c7b(0x166)][_0x5d2c7b(0x12c)](),this[_0x5d2c7b(0x135)][_0x5d2c7b(0x16f)]();}}function Hn(_0x193c9f){const _0x5dc9db=_0x4552da;return{'top':_0x193c9f[_0x5dc9db(0x14b)],'left':_0x193c9f[_0x5dc9db(0x125)],'name':_0x5dc9db(0x160),'config':{'withArrow':!0x1}};}function Un(_0xe5c302,_0x59d9e7){const _0x448d5d=_0x4552da;return{'top':_0xe5c302[_0x448d5d(0x14b)],'left':_0xe5c302[_0x448d5d(0x125)]-(_0x59d9e7[_0x448d5d(0x14c)]-_0xe5c302[_0x448d5d(0x14c)]),'name':_0x448d5d(0x160),'config':{'withArrow':!0x1}};}function Ln(_0x2f009a,_0x5174db,_0x1e5e88){const _0x34539e=_0x4552da;switch(_0x2f009a){case _0x34539e(0x154):return _0xf86a3a(_0x5174db,_0x34539e(0x177),_0x1e5e88);case _0x34539e(0x12f):return _0xf86a3a(_0x5174db,_0x34539e(0x147),_0x1e5e88);case _0x34539e(0x167):return _0xf86a3a(_0x5174db,_0x34539e(0x12b),_0x1e5e88);}}function jn(_0x40d5e3,_0x58de66,_0x80bf57){const _0x890040=_0x4552da;switch(_0x40d5e3){case _0x890040(0x154):return _0xf86a3a(_0x58de66,_0x890040(0x150),_0x80bf57);case _0x890040(0x12f):return _0xf86a3a(_0x58de66,_0x890040(0x149),_0x80bf57);case _0x890040(0x167):return _0xf86a3a(_0x58de66,_0x890040(0x16e),_0x80bf57);}}
|
|
23
|
+
const _0x3e8998=_0x29ee;function _0x599b(){const _0x3d4654=['7655212XraHAv','insertSuggestion','ck-hidden','_createActionsButton','actionsButton','2688090PWaCot','esc','createCollection','_firstRender','isEnabled','keys','element','slice','listenTo','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','content','unbind','label','detachFromDom','ltr','div','_setUpKeystrokes','has','listView','isVisible','uiLanguageDirection','ck-ai-button-primary','balloonPanelClass','left','tooltip','arrowless','attachToDom','add','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','updateLabels','showChangeInText','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','listItemModels','hide','bindTemplate','button','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','applySuggestion','showChangeInTextModel','_partsCount','bottom','_dropdownCurrentConfig','isTrackChangesOn','bodyCollection','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_setUpList','focus','actionName','9292473wXrpUq','set','applySuggestionModel','delegate','_createActionsDropdown','open','2516097YUDYhd','children','setTemplate','1843223gCjNTc','32Wqizvl','length','6412332HnmDLO','map','fire','change:isTrackChangesOn','filter','destroy','remove','balloonPanelView','pin','_updateDropdownActions','execute','ck-ai-chat__feed__ai-suggestion__actions__balloon','_createActionsDropdownOrButton','width','insertSuggestionModel','ck-ai-chat__feed__ai-suggestion__actions\x20','arrowView','ck-ai-chat__feed__ai-suggestion__actions','items','2erMVhl','32704UZSimi','class','_dropdownOriginalConfig','locale','ck-ai-chat__feed__ai-suggestion__actions--no-animation','source','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','keystrokeHandler'];_0x599b=function(){return _0x3d4654;};return _0x599b();}(function(_0x164c27,_0x447738){const _0x240a7c=_0x29ee,_0xddd144=_0x164c27();while(!![]){try{const _0x274393=parseInt(_0x240a7c(0x16e))/0x1+parseInt(_0x240a7c(0x184))/0x2*(parseInt(_0x240a7c(0x16b))/0x3)+parseInt(_0x240a7c(0x12e))/0x4+-parseInt(_0x240a7c(0x133))/0x5+parseInt(_0x240a7c(0x171))/0x6+-parseInt(_0x240a7c(0x185))/0x7+parseInt(_0x240a7c(0x16f))/0x8*(-parseInt(_0x240a7c(0x165))/0x9);if(_0x274393===_0x447738)break;else _0xddd144['push'](_0xddd144['shift']());}catch(_0x4563b6){_0xddd144['push'](_0xddd144['shift']());}}}(_0x599b,0xf23a9));import{KeystrokeHandler as _0x51393d}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x5bcd99,BodyCollection as _0x31b909,ButtonView as _0x2fe4ec,clickOutsideHandler as _0x463ab3,ListItemButtonView as _0x28fff5,ListItemView as _0x1c8293,ListView as _0x50d3fd,SplitButtonView as _0x180d4c,UIModel as _0x39e8c4,View as _0x2b1cf3}from'ckeditor5/src/ui.js';import{IconCheck as _0x4523aa,IconAddComment as _0x59f735,IconDocumentWithLoupe as _0x4f9b9d}from'ckeditor5/src/icons.js';import{getTranslation as _0x21ad58}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x3e8998(0x158),_0x3e8998(0x12f),_0x3e8998(0x151)];export class AIChatFeedSuggestionItemActionsView extends _0x2b1cf3{[_0x3e8998(0x132)];[_0x3e8998(0x16c)];[_0x3e8998(0x167)];[_0x3e8998(0x159)];[_0x3e8998(0x17f)];[_0x3e8998(0x15a)]=0x1;[_0x3e8998(0x187)];[_0x3e8998(0x15c)];[_0x3e8998(0x136)]=!0x0;constructor(_0x1e2939,_0x257950){const _0x137d78=_0x3e8998;super(_0x1e2939),this[_0x137d78(0x187)]=_0x257950||[...ACTIONS],this[_0x137d78(0x15c)]=[...this[_0x137d78(0x187)]];const _0x8d861c=this[_0x137d78(0x155)];this[_0x137d78(0x166)](_0x137d78(0x137),!0x0),this[_0x137d78(0x166)](_0x137d78(0x146),!0x0),this[_0x137d78(0x167)]=new _0x39e8c4({'label':Ln(_0x137d78(0x158),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x4523aa,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x158)}),this[_0x137d78(0x159)]=new _0x39e8c4({'label':Ln(_0x137d78(0x151),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x4f9b9d,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x151)}),this[_0x137d78(0x17f)]=new _0x39e8c4({'label':Ln(_0x137d78(0x12f),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x59f735,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x12f)}),this[_0x137d78(0x132)]=this[_0x137d78(0x17d)](_0x1e2939),this[_0x137d78(0x16c)]=this[_0x137d78(0x135)]([this[_0x137d78(0x132)]]),this[_0x137d78(0x16d)]({'tag':_0x137d78(0x142),'attributes':{'class':['ck',_0x137d78(0x182),_0x8d861c['if'](_0x137d78(0x146),_0x137d78(0x130),_0x4323b8=>!_0x4323b8)]},'children':this[_0x137d78(0x16c)]}),this[_0x137d78(0x13b)](this,_0x137d78(0x174),()=>{const _0x1940d3=_0x137d78;this[_0x1940d3(0x15c)]=this[_0x1940d3(0x15d)]?this[_0x1940d3(0x187)][_0x1940d3(0x175)](_0x469405=>_0x1940d3(0x158)!==_0x469405):[...this[_0x1940d3(0x187)]],this[_0x1940d3(0x17a)](_0x1e2939);});}[_0x3e8998(0x17a)](_0x4ca3aa){const _0x2a48a6=_0x3e8998;this[_0x2a48a6(0x16c)][_0x2a48a6(0x144)](this[_0x2a48a6(0x132)])&&(this[_0x2a48a6(0x16c)][_0x2a48a6(0x177)](this[_0x2a48a6(0x132)]),this[_0x2a48a6(0x132)][_0x2a48a6(0x176)]()),0x0!=this[_0x2a48a6(0x15c)][_0x2a48a6(0x170)]&&(this[_0x2a48a6(0x132)]=this[_0x2a48a6(0x17d)](_0x4ca3aa),this[_0x2a48a6(0x16c)][_0x2a48a6(0x14e)](this[_0x2a48a6(0x132)]));}[_0x3e8998(0x17d)](_0x5cb6be){const _0x503276=_0x3e8998,_0x46ad29=0x1===this[_0x503276(0x15c)][_0x503276(0x170)]?this[_0x503276(0x131)](_0x5cb6be):this[_0x503276(0x169)](_0x5cb6be),_0x4c07ef=this[_0x503276(0x136)]?'':_0x503276(0x12a);_0x46ad29[_0x503276(0x166)]({'label':Ln(this[_0x503276(0x15c)][0x0],_0x5cb6be,this[_0x503276(0x15a)]),'tooltip':jn(this[_0x503276(0x15c)][0x0],_0x5cb6be,this[_0x503276(0x15a)]),'withText':!0x0,'class':_0x503276(0x180)+_0x4c07ef});for(const _0x572035 of this[_0x503276(0x15c)])_0x46ad29['on'](_0x572035,()=>{const _0x47daa2=_0x503276;this[_0x47daa2(0x173)](_0x572035);});return this[_0x503276(0x136)]=!0x1,_0x46ad29;}[_0x3e8998(0x131)](_0x1a09a3){const _0x53cfb8=_0x3e8998,_0x20cd57=new _0x2fe4ec(_0x1a09a3);return _0x20cd57[_0x53cfb8(0x166)]({'class':_0x53cfb8(0x148),'withText':!0x0}),_0x20cd57['on'](_0x53cfb8(0x17b),()=>{const _0x3d5ec3=_0x53cfb8;_0x20cd57[_0x3d5ec3(0x173)](this[_0x3d5ec3(0x15c)][0x0]);}),_0x20cd57;}[_0x3e8998(0x169)](_0x28e793){const _0x52b63f=_0x3e8998,_0x360cb2=new Pn(_0x28e793,{'listItemModels':this[_0x52b63f(0x15c)][_0x52b63f(0x172)](_0xe9c36d=>{const _0x54f01f=_0x52b63f;switch(_0xe9c36d){case _0x54f01f(0x158):return this[_0x54f01f(0x167)];case _0x54f01f(0x151):return this[_0x54f01f(0x159)];case _0x54f01f(0x12f):return this[_0x54f01f(0x17f)];}})});return _0x360cb2[_0x52b63f(0x166)]({'label':Ln(this[_0x52b63f(0x15c)][0x0],_0x28e793,this[_0x52b63f(0x15a)]),'tooltip':jn(this[_0x52b63f(0x15c)][0x0],_0x28e793,this[_0x52b63f(0x15a)]),'withText':!0x0,'class':_0x52b63f(0x182),'balloonPanelClass':_0x52b63f(0x17c)}),_0x360cb2[_0x52b63f(0x160)](_0x52b63f(0x137))['to'](this),_0x360cb2;}[_0x3e8998(0x150)](_0x225821){const _0x5c2a2e=_0x3e8998,_0x32fee9=this[_0x5c2a2e(0x129)];this[_0x5c2a2e(0x15a)]=_0x225821||this[_0x5c2a2e(0x15a)],this[_0x5c2a2e(0x132)][_0x5c2a2e(0x166)]({'label':Ln(this[_0x5c2a2e(0x15c)][0x0],_0x32fee9,this[_0x5c2a2e(0x15a)]),'tooltip':jn(this[_0x5c2a2e(0x15c)][0x0],_0x32fee9,this[_0x5c2a2e(0x15a)])}),this[_0x5c2a2e(0x167)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x158),_0x32fee9,this[_0x5c2a2e(0x15a)]),this[_0x5c2a2e(0x159)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x151),_0x32fee9,this[_0x5c2a2e(0x15a)]),this[_0x5c2a2e(0x17f)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x12f),_0x32fee9,this[_0x5c2a2e(0x15a)]);}}class Pn extends _0x180d4c{[_0x3e8998(0x15e)];[_0x3e8998(0x178)];[_0x3e8998(0x145)];[_0x3e8998(0x12d)];constructor(_0x20a642,_0x590c8d){const _0x386def=_0x3e8998;super(_0x20a642),this[_0x386def(0x178)]=new _0x5bcd99(this[_0x386def(0x129)]),this[_0x386def(0x15e)]=new _0x31b909(this[_0x386def(0x129)]),this[_0x386def(0x15e)][_0x386def(0x14d)](),this[_0x386def(0x166)](_0x386def(0x149),''),this[_0x386def(0x178)][_0x386def(0x160)](_0x386def(0x186))['to'](this,_0x386def(0x149)),this[_0x386def(0x145)]=this[_0x386def(0x162)](_0x590c8d[_0x386def(0x153)][_0x386def(0x13a)](0x1)),this[_0x386def(0x15e)][_0x386def(0x14e)](this[_0x386def(0x178)]),this[_0x386def(0x178)][_0x386def(0x13d)][_0x386def(0x14e)](this[_0x386def(0x145)]),this[_0x386def(0x181)][_0x386def(0x13e)](_0x386def(0x14b)),this[_0x386def(0x181)][_0x386def(0x166)](_0x386def(0x14b),_0x21ad58(this[_0x386def(0x129)],_0x386def(0x157))),this[_0x386def(0x143)](),this['on'](_0x386def(0x17b),()=>{const _0x2d55c0=_0x386def,_0xe47400=_0x590c8d[_0x2d55c0(0x153)][0x0][_0x2d55c0(0x164)];this[_0x2d55c0(0x173)](_0xe47400),this[_0x2d55c0(0x178)][_0x2d55c0(0x154)](),this[_0x2d55c0(0x181)][_0x2d55c0(0x163)]();}),this['on'](_0x386def(0x16a),()=>{const _0x4c7af1=_0x386def;this[_0x4c7af1(0x178)][_0x4c7af1(0x146)]?(this[_0x4c7af1(0x178)][_0x4c7af1(0x154)](),this[_0x4c7af1(0x181)][_0x4c7af1(0x163)]()):(this[_0x4c7af1(0x178)][_0x4c7af1(0x179)]({'target':this[_0x4c7af1(0x139)],'positions':[_0x4c7af1(0x141)===this[_0x4c7af1(0x129)][_0x4c7af1(0x147)]?Hn:Un]}),this[_0x4c7af1(0x145)][_0x4c7af1(0x163)]());}),_0x463ab3({'emitter':this[_0x386def(0x178)],'callback':()=>{const _0xe912e2=_0x386def;this[_0xe912e2(0x178)][_0xe912e2(0x154)]();},'activator':()=>this[_0x386def(0x178)][_0x386def(0x146)],'contextElements':()=>[this[_0x386def(0x139)],this[_0x386def(0x178)][_0x386def(0x139)]]});}[_0x3e8998(0x162)](_0x4a2bf1){const _0x267bc0=_0x3e8998,_0x3ef806=this[_0x267bc0(0x129)],_0x8deb4a=new _0x50d3fd(_0x3ef806);for(const _0x59d3e7 of _0x4a2bf1){const _0x587041=new _0x1c8293(_0x3ef806),_0x6d362=new _0x28fff5(_0x3ef806);_0x6d362[_0x267bc0(0x160)](...Object[_0x267bc0(0x138)](_0x59d3e7))['to'](_0x59d3e7),_0x6d362[_0x267bc0(0x168)](_0x267bc0(0x17b))['to'](_0x8deb4a),_0x587041[_0x267bc0(0x16c)][_0x267bc0(0x14e)](_0x6d362),_0x8deb4a[_0x267bc0(0x183)][_0x267bc0(0x14e)](_0x587041);}return _0x8deb4a[_0x267bc0(0x183)][_0x267bc0(0x168)](_0x267bc0(0x17b))['to'](this),_0x8deb4a['on'](_0x267bc0(0x17b),_0x2be377=>{const _0x3645ef=_0x267bc0,_0x4b45b2=_0x2be377[_0x3645ef(0x12b)];this[_0x3645ef(0x173)](_0x4b45b2[_0x3645ef(0x164)]),this[_0x3645ef(0x178)][_0x3645ef(0x154)](),this[_0x3645ef(0x181)][_0x3645ef(0x163)]();}),_0x8deb4a;}[_0x3e8998(0x143)](){const _0x1b7300=_0x3e8998;this[_0x1b7300(0x12d)]=new _0x51393d(),this[_0x1b7300(0x12d)][_0x1b7300(0x13b)](this[_0x1b7300(0x178)][_0x1b7300(0x139)]),this[_0x1b7300(0x12d)][_0x1b7300(0x166)](_0x1b7300(0x134),(_0x22406f,_0x56ce7a)=>{const _0x5a803a=_0x1b7300;this[_0x5a803a(0x178)][_0x5a803a(0x154)](),this[_0x5a803a(0x181)][_0x5a803a(0x163)](),_0x56ce7a();});}[_0x3e8998(0x176)](){const _0xbfa2be=_0x3e8998;super[_0xbfa2be(0x176)](),this[_0xbfa2be(0x12d)][_0xbfa2be(0x176)](),this[_0xbfa2be(0x178)][_0xbfa2be(0x176)](),this[_0xbfa2be(0x15e)][_0xbfa2be(0x140)]();}}function Hn(_0x5e4c61){const _0x4387f3=_0x3e8998;return{'top':_0x5e4c61[_0x4387f3(0x15b)],'left':_0x5e4c61[_0x4387f3(0x14a)],'name':_0x4387f3(0x14c),'config':{'withArrow':!0x1}};}function Un(_0x3b8dfc,_0x40c094){const _0x7ce3de=_0x3e8998;return{'top':_0x3b8dfc[_0x7ce3de(0x15b)],'left':_0x3b8dfc[_0x7ce3de(0x14a)]-(_0x40c094[_0x7ce3de(0x17e)]-_0x3b8dfc[_0x7ce3de(0x17e)]),'name':_0x7ce3de(0x14c),'config':{'withArrow':!0x1}};}function Ln(_0x4bf522,_0x37749c,_0x4a6926){const _0x33ee5d=_0x3e8998;switch(_0x4bf522){case _0x33ee5d(0x158):return _0x21ad58(_0x37749c,_0x33ee5d(0x12c),_0x4a6926);case _0x33ee5d(0x151):return _0x21ad58(_0x37749c,_0x33ee5d(0x13c),_0x4a6926);case _0x33ee5d(0x12f):return _0x21ad58(_0x37749c,_0x33ee5d(0x152),_0x4a6926);}}function _0x29ee(_0x29b9ae,_0x26e8e2){const _0x599b85=_0x599b();return _0x29ee=function(_0x29ee58,_0xb6a041){_0x29ee58=_0x29ee58-0x129;let _0x3f2a3b=_0x599b85[_0x29ee58];return _0x3f2a3b;},_0x29ee(_0x29b9ae,_0x26e8e2);}function jn(_0x4172ec,_0xe0c2b8,_0x5a764a){const _0x509920=_0x3e8998;switch(_0x4172ec){case _0x509920(0x158):return _0x21ad58(_0xe0c2b8,_0x509920(0x14f),_0x5a764a);case _0x509920(0x151):return _0x21ad58(_0xe0c2b8,_0x509920(0x15f),_0x5a764a);case _0x509920(0x12f):return _0x21ad58(_0xe0c2b8,_0x509920(0x161),_0x5a764a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3c66c0=_0x597e;(function(_0x1c458b,_0x2005c0){var _0x7f3947=_0x597e,_0xa124c4=_0x1c458b();while(!![]){try{var _0x4cf037=parseInt(_0x7f3947(0x1e3))/0x1+-parseInt(_0x7f3947(0x1f0))/0x2*(-parseInt(_0x7f3947(0x1fc))/0x3)+-parseInt(_0x7f3947(0x1f4))/0x4+parseInt(_0x7f3947(0x1fe))/0x5+-parseInt(_0x7f3947(0x1f7))/0x6+parseInt(_0x7f3947(0x200))/0x7+parseInt(_0x7f3947(0x1db))/0x8*(-parseInt(_0x7f3947(0x1eb))/0x9);if(_0x4cf037===_0x2005c0)break;else _0xa124c4['push'](_0xa124c4['shift']());}catch(_0x4e25ab){_0xa124c4['push'](_0xa124c4['shift']());}}}(_0x2e33,0x7dbc0));function _0x597e(_0x6de9a6,_0x47576f){var _0x2e3395=_0x2e33();return _0x597e=function(_0x597eec,_0x44b781){_0x597eec=_0x597eec-0x1d9;var _0x36cf15=_0x2e3395[_0x597eec];return _0x36cf15;},_0x597e(_0x6de9a6,_0x47576f);}import{AIChatFeedItemView as _0x3338ba}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x275598}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x489812}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x3338ba{[_0x3c66c0(0x1d9)];[_0x3c66c0(0x1f1)];constructor(_0x5e81d9,_0x284e5f){var _0x360181=_0x3c66c0;super(_0x284e5f),this[_0x360181(0x1d9)]=new _0x275598(_0x5e81d9,{'showDiff':_0x284e5f[_0x360181(0x1f9)],'areActionsDisabled':_0x284e5f[_0x360181(0x1ee)]}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1ff),(_0x5713d2,_0x950888)=>{var _0x50037a=_0x360181;this[_0x50037a(0x1f8)](_0x50037a(0x1ff),{'replyId':this[_0x50037a(0x1de)]['id'],'showDiff':_0x950888[_0x50037a(0x1f9)]});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1ea),()=>{var _0x12d6d2=_0x360181;this[_0x12d6d2(0x1f8)](_0x12d6d2(0x1ea),{'replyId':this[_0x12d6d2(0x1de)]['id']});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1fd),()=>{var _0x5b9c94=_0x360181;this[_0x5b9c94(0x1f8)](_0x5b9c94(0x1fd),{'replyId':this[_0x5b9c94(0x1de)]['id']});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1e7),(_0x484890,{index:_0x43dc6f})=>{var _0x28f94d=_0x360181;this[_0x28f94d(0x1f8)](_0x28f94d(0x1e7),{'replyId':this[_0x28f94d(0x1de)]['id'],'partIndex':_0x43dc6f});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1ed),(_0xe0350f,{index:_0x48f58e})=>{var _0x3a08d6=_0x360181;this[_0x3a08d6(0x1f8)](_0x3a08d6(0x1ed),{'replyId':this[_0x3a08d6(0x1de)]['id'],'partIndex':_0x48f58e});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1e5),(_0x5d3fda,{index:_0x4869da})=>{var _0x200ab2=_0x360181;this[_0x200ab2(0x1f8)](_0x200ab2(0x1e5),{'replyId':this[_0x200ab2(0x1de)]['id'],'partIndex':_0x4869da});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1e9),(_0x1d3c1b,{index:_0x4e5e72})=>{var _0x3822fa=_0x360181;this[_0x3822fa(0x1f8)](_0x3822fa(0x1e9),{'replyId':this[_0x3822fa(0x1de)]['id'],'partIndex':_0x4e5e72});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1f6),(_0xd69245,{index:_0x4eba3f})=>{var _0x1a9001=_0x360181;this[_0x1a9001(0x1f8)](_0x1a9001(0x1f6),{'replyId':this[_0x1a9001(0x1de)]['id'],'partIndex':_0x4eba3f});}),this[_0x360181(0x1f1)]=new _0x489812(_0x5e81d9,this[_0x360181(0x1de)][_0x360181(0x201)]),this[_0x360181(0x1f1)][_0x360181(0x203)](_0x360181(0x202))['to'](this,_0x360181(0x202)),this[_0x360181(0x1f1)]['on'](_0x360181(0x1e7),()=>{var _0x554efd=_0x360181;this[_0x554efd(0x1f8)](_0x554efd(0x1e7),{'replyId':this[_0x554efd(0x1de)]['id']});}),this[_0x360181(0x1f1)]['on'](_0x360181(0x1ed),()=>{var _0xd70888=_0x360181;this[_0xd70888(0x1f8)](_0xd70888(0x1ed),{'replyId':this[_0xd70888(0x1de)]['id']});}),this[_0x360181(0x1f1)]['on'](_0x360181(0x1ec),()=>{var _0x34680a=_0x360181;this[_0x34680a(0x1f8)](_0x34680a(0x1ec),{'replyId':this[_0x34680a(0x1de)]['id']});}),_0x284e5f[_0x360181(0x1ee)]?this[_0x360181(0x1f1)][_0x360181(0x1dc)]=!0x1:this[_0x360181(0x1f1)][_0x360181(0x203)](_0x360181(0x1dc))['to'](this[_0x360181(0x1d9)][_0x360181(0x1dd)],_0x360181(0x1da)),this[_0x360181(0x1f3)][_0x360181(0x1fa)]([this[_0x360181(0x1d9)],this[_0x360181(0x1f1)]]),this[_0x360181(0x1e2)]({'attributes':{'class':[_0x360181(0x1df)]}});}async[_0x3c66c0(0x1f5)](_0x2b1fb5){var _0x28cf29=_0x3c66c0;await this[_0x28cf29(0x1d9)][_0x28cf29(0x1f5)](_0x2b1fb5),this[_0x28cf29(0x1f1)][_0x28cf29(0x1e8)](this[_0x28cf29(0x1d9)][_0x28cf29(0x1dd)][_0x28cf29(0x1ef)]);}[_0x3c66c0(0x1e6)](_0x41896b,_0x56c0e5){var _0x483b76=_0x3c66c0;this[_0x483b76(0x1d9)][_0x483b76(0x1dd)][_0x483b76(0x1e6)](_0x41896b,_0x56c0e5);}[_0x3c66c0(0x1fb)](_0x3d09e7){var _0x172f6d=_0x3c66c0;this[_0x172f6d(0x1d9)][_0x172f6d(0x1fb)](_0x3d09e7);}[_0x3c66c0(0x1e0)](_0x3e5e87){var _0xdb6b66=_0x3c66c0;return this[_0xdb6b66(0x1d9)][_0xdb6b66(0x1dd)][_0xdb6b66(0x1e0)](_0x3e5e87);}[_0x3c66c0(0x1e4)](){var _0x2bcdd8=_0x3c66c0;super[_0x2bcdd8(0x1e4)](),this[_0x2bcdd8(0x1d9)][_0x2bcdd8(0x1e4)](),this[_0x2bcdd8(0x1f1)][_0x2bcdd8(0x1e1)]=this[_0x2bcdd8(0x1d9)][_0x2bcdd8(0x1dd)][_0x2bcdd8(0x1f2)];}}function _0x2e33(){var _0x43361d=['isTrackChangesOn','bind','containerView','hasPendingParts','256aUgqHD','isEnabled','bodyView','options','ck-ai-chat__feed__ai-suggestion','getPartView','isVisible','extendTemplate','444798rAdYsT','markAsDone','rejectSuggestion','updatePartState','showChangeInText','updateLabels','mouseOverSuggestion','like','333972YhVzik','applySuggestion','insertSuggestion','areActionsDisabled','partsCount','2ETaxRX','actionsView','hasNonEmptyParts','children','58828fDmNDw','updateContent','mouseLeaveSuggestion','3578010PEPNns','fire','showDiff','addMany','updateSources','2528187KlDmMQ','dislike','4040965dQHaUY','toggleSuggestionDisplayMode','1524502cgbOSR','dropdownConfig'];_0x2e33=function(){return _0x43361d;};return _0x2e33();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x42f84a=_0x4e2d;(function(_0x26f492,_0x14d569){var _0x1db48b=_0x4e2d,_0x145e72=_0x26f492();while(!![]){try{var _0x57af5e=-parseInt(_0x1db48b(0x147))/0x1+-parseInt(_0x1db48b(0x135))/0x2+parseInt(_0x1db48b(0x14b))/0x3*(-parseInt(_0x1db48b(0x148))/0x4)+parseInt(_0x1db48b(0x13d))/0x5+-parseInt(_0x1db48b(0x151))/0x6*(parseInt(_0x1db48b(0x14e))/0x7)+parseInt(_0x1db48b(0x13b))/0x8+-parseInt(_0x1db48b(0x140))/0x9*(-parseInt(_0x1db48b(0x155))/0xa);if(_0x57af5e===_0x14d569)break;else _0x145e72['push'](_0x145e72['shift']());}catch(_0x54f92e){_0x145e72['push'](_0x145e72['shift']());}}}(_0x3ba8,0x41a90));import{AIChatFeedItemView as _0x24e296}from'./aichatfeeditemview.js';function _0x4e2d(_0x44cd0e,_0x5986fa){var _0x3ba824=_0x3ba8();return _0x4e2d=function(_0x4e2d85,_0x216cbf){_0x4e2d85=_0x4e2d85-0x135;var _0x4b8abc=_0x3ba824[_0x4e2d85];return _0x4b8abc;},_0x4e2d(_0x44cd0e,_0x5986fa);}import{AIChatFeedContextChipsView as _0x11dcc4}from'./aichatfeedcontextchipsview.js';function _0x3ba8(){var _0x434d9f=['markAsDone','151857IeYnfc','div','add','ck-ai-chat__feed__user-message','_locale','_createContextChipsView','contextItems','372442ytHcNN','12FNNQdF','_messageContentView','_bodyCollection','174987bUoIFF','_createMessageContentView','children','530474XbQvZc','hidden','options','18EgXzBF','filter','extendTemplate','ck-ai-chat__feed__context-chips','530pnTxNT','ck-ai-chat__feed__message-content','858016FvWHbN','render','initialContent','element','innerHTML','length','3820880dxhgDQ','setTemplate','504240eejVAn','_contextChipsView'];_0x3ba8=function(){return _0x434d9f;};return _0x3ba8();}import{View as _0x2c6950}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x24e296{[_0x42f84a(0x13e)]=null;[_0x42f84a(0x144)];[_0x42f84a(0x14a)];[_0x42f84a(0x149)];constructor(_0x29cc11,_0x365698,_0x23ff0d){var _0x2d50ca=_0x42f84a;super(_0x365698),this[_0x2d50ca(0x144)]=_0x29cc11,this[_0x2d50ca(0x14a)]=_0x23ff0d,this[_0x2d50ca(0x145)](),this[_0x2d50ca(0x14c)](),this[_0x2d50ca(0x153)]({'attributes':{'class':[_0x2d50ca(0x143)]}});}[_0x42f84a(0x145)](){var _0x489e7f=_0x42f84a;this[_0x489e7f(0x150)][_0x489e7f(0x146)]&&this[_0x489e7f(0x150)][_0x489e7f(0x146)][_0x489e7f(0x13a)]>0x0&&(this[_0x489e7f(0x13e)]=new _0x11dcc4(this[_0x489e7f(0x144)],this[_0x489e7f(0x150)][_0x489e7f(0x146)][_0x489e7f(0x152)](_0x35e4ad=>!_0x35e4ad[_0x489e7f(0x14f)]),this[_0x489e7f(0x14a)]),this[_0x489e7f(0x13e)][_0x489e7f(0x153)]({'attributes':{'class':_0x489e7f(0x154)}}),this[_0x489e7f(0x14d)][_0x489e7f(0x142)](this[_0x489e7f(0x13e)]));}[_0x42f84a(0x14c)](){var _0x51fa55=_0x42f84a;this[_0x51fa55(0x149)]=new _0x2c6950(this[_0x51fa55(0x144)]),this[_0x51fa55(0x149)][_0x51fa55(0x13c)]({'tag':_0x51fa55(0x141),'attributes':{'class':_0x51fa55(0x156)}}),this[_0x51fa55(0x14d)][_0x51fa55(0x142)](this[_0x51fa55(0x149)]);}[_0x42f84a(0x136)](){var _0x57c9d0=_0x42f84a;super[_0x57c9d0(0x136)](),this[_0x57c9d0(0x149)][_0x57c9d0(0x138)][_0x57c9d0(0x139)]=this[_0x57c9d0(0x150)][_0x57c9d0(0x137)],this[_0x57c9d0(0x13f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2049(){const _0x17d8aa=['246EcZivM','startConversation','22127emyJKI','264cqQrMZ','resizeTabs','loadSourceResources','addFileToContext','addDocumentToContext','1897524VVzOiJ','10UIujSw','toggleReasoning','selectModel','toggleWebSearch','2814lDVREo','278256LFHLvf','90XrEtkx','2221280uBzSpi','addUrlToContext','removeContextItem','sendUserMessage','68CmAcgS','44091VKiLsC','abortPromptStream','addResourceToContext','283644zyJsjo'];_0x2049=function(){return _0x17d8aa;};return _0x2049();}const _0x1dedcb=_0x4aca;function _0x4aca(_0xfedfba,_0x28d402){const _0x20499c=_0x2049();return _0x4aca=function(_0x4aca73,_0x431610){_0x4aca73=_0x4aca73-0x149;let _0x2565ce=_0x20499c[_0x4aca73];return _0x2565ce;},_0x4aca(_0xfedfba,_0x28d402);}(function(_0x438922,_0x276ed3){const _0x20e39b=_0x4aca,_0x296b24=_0x438922();while(!![]){try{const _0x5af7cd=parseInt(_0x20e39b(0x14c))/0x1*(parseInt(_0x20e39b(0x159))/0x2)+-parseInt(_0x20e39b(0x161))/0x3*(parseInt(_0x20e39b(0x160))/0x4)+parseInt(_0x20e39b(0x15c))/0x5+parseInt(_0x20e39b(0x15b))/0x6*(parseInt(_0x20e39b(0x14e))/0x7)+parseInt(_0x20e39b(0x15a))/0x8+-parseInt(_0x20e39b(0x154))/0x9*(-parseInt(_0x20e39b(0x155))/0xa)+-parseInt(_0x20e39b(0x14f))/0xb*(parseInt(_0x20e39b(0x14b))/0xc);if(_0x5af7cd===_0x276ed3)break;else _0x296b24['push'](_0x296b24['shift']());}catch(_0x723e0a){_0x296b24['push'](_0x296b24['shift']());}}}(_0x2049,0x41022));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x341933}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x341933,_0x1dedcb(0x14d),_0x1dedcb(0x150),_0x1dedcb(0x15f),_0x1dedcb(0x149),_0x1dedcb(0x153),_0x1dedcb(0x152),_0x1dedcb(0x15d),_0x1dedcb(0x14a),_0x1dedcb(0x15e),_0x1dedcb(0x151),_0x1dedcb(0x158),_0x1dedcb(0x156),_0x1dedcb(0x157)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1b05(){const _0x33d302=['isProcessing','shift','1408KSwxbE','3262nOPCQh','callback','resolve','queueEmptyPromise','1162955AsjeGv','6YMSSFm','_queueEmpty','abort','signal','reject','completePromise','_processQueue','525253qeYBar','36iJzYMd','26160jQYrtv','2463220iaZPyi','enqueue','createTask','18155467aGhNtq','once','fire','2992344xQEapb','90weuvKS','length','queue','push','_abortController'];_0x1b05=function(){return _0x33d302;};return _0x1b05();}const _0x3171fd=_0x5c67;(function(_0x4d59a9,_0x378f64){const _0x1e6c56=_0x5c67,_0x502c63=_0x4d59a9();while(!![]){try{const _0x330553=parseInt(_0x1e6c56(0x11b))/0x1+-parseInt(_0x1e6c56(0x124))/0x2+-parseInt(_0x1e6c56(0x132))/0x3*(parseInt(_0x1e6c56(0x11e))/0x4)+-parseInt(_0x1e6c56(0x131))/0x5*(-parseInt(_0x1e6c56(0x11c))/0x6)+parseInt(_0x1e6c56(0x12d))/0x7*(parseInt(_0x1e6c56(0x12c))/0x8)+-parseInt(_0x1e6c56(0x125))/0x9*(parseInt(_0x1e6c56(0x11d))/0xa)+parseInt(_0x1e6c56(0x121))/0xb;if(_0x330553===_0x378f64)break;else _0x502c63['push'](_0x502c63['shift']());}catch(_0x5723d6){_0x502c63['push'](_0x502c63['shift']());}}}(_0x1b05,0xdb92a));import{EmitterMixin as _0x1da2da}from'ckeditor5/src/utils.js';function _0x5c67(_0x328fd2,_0x21e011){const _0x1b0571=_0x1b05();return _0x5c67=function(_0x5c672c,_0x5db6b5){_0x5c672c=_0x5c672c-0x11a;let _0xc20b01=_0x1b0571[_0x5c672c];return _0xc20b01;},_0x5c67(_0x328fd2,_0x21e011);}export class PromiseQueue extends _0x1da2da(){[_0x3171fd(0x127)]=[];[_0x3171fd(0x12a)]=!0x1;[_0x3171fd(0x129)];async[_0x3171fd(0x11f)](_0x2a4e55){const _0x429b7c=_0x3171fd,_0x36e51a=this[_0x429b7c(0x120)](_0x2a4e55);return this[_0x429b7c(0x127)][_0x429b7c(0x128)](_0x36e51a),this[_0x429b7c(0x11a)](),_0x36e51a[_0x429b7c(0x137)];}[_0x3171fd(0x134)](){const _0x17252d=_0x3171fd;this[_0x17252d(0x12a)]&&(this[_0x17252d(0x129)][_0x17252d(0x134)](),this[_0x17252d(0x129)]=void 0x0,this[_0x17252d(0x127)]=[],this[_0x17252d(0x123)](_0x17252d(0x133)),this[_0x17252d(0x12a)]=!0x1);}get[_0x3171fd(0x130)](){const _0x217e48=_0x3171fd;return this[_0x217e48(0x127)][_0x217e48(0x126)]||this[_0x217e48(0x12a)]?new Promise(_0x45504b=>{const _0x44f4f4=_0x217e48;this[_0x44f4f4(0x122)](_0x44f4f4(0x133),()=>{_0x45504b();});}):Promise[_0x217e48(0x12f)]();}async[_0x3171fd(0x11a)](){const _0x580c5e=_0x3171fd;if(!this[_0x580c5e(0x12a)]){this[_0x580c5e(0x129)]=new AbortController(),this[_0x580c5e(0x12a)]=!0x0;try{for(;this[_0x580c5e(0x127)][_0x580c5e(0x126)]&&this[_0x580c5e(0x12a)];){const _0x56cd4d=this[_0x580c5e(0x127)][_0x580c5e(0x12b)]();try{await _0x56cd4d[_0x580c5e(0x12e)](this[_0x580c5e(0x129)][_0x580c5e(0x135)]),_0x56cd4d[_0x580c5e(0x12f)]();}catch(_0x59f5dd){_0x56cd4d[_0x580c5e(0x136)](_0x59f5dd);}}}finally{this[_0x580c5e(0x12a)]=!0x1,this[_0x580c5e(0x129)]=void 0x0;}this[_0x580c5e(0x123)](_0x580c5e(0x133));}}[_0x3171fd(0x120)](_0x5b630b){let _0x346ca5,_0x52c75c;const _0x1d2023=new Promise((_0x5686c6,_0x315ca8)=>{_0x346ca5=_0x5686c6,_0x52c75c=_0x315ca8;});return{'callback':_0x5b630b,'resolve':_0x346ca5,'reject':_0x52c75c,'completePromise':_0x1d2023};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x14b6af=_0x48a5;function _0x1f5b(){const _0x3a6209=['1953747wpUTlL','isRunning','16wHEmqT','ArrowDown','3415275dIyQrh','_stop','pointerdown','1202976caJyGy','addEventListener','element','abortController','start','Home','isUserPaused','_rafUpdate','bind','_onUserEvent','10102062BRyjfS','stop','abort','includes','90CCdiqg','ArrowUp','wheel','4536732xtxiXh','destroy','keydown','2043832xjXMnt','signal','PageUp','PageDown','animationFrameId','key','type','scrollTo','30koxQvG','End','_isAtBottom','210885nWLqDy','touchstart','scrollHeight','auto','deltaY'];_0x1f5b=function(){return _0x3a6209;};return _0x1f5b();}(function(_0x524841,_0x3fcbbc){const _0x4717f5=_0x48a5,_0x401f5c=_0x524841();while(!![]){try{const _0x4c3a88=parseInt(_0x4717f5(0x181))/0x1+-parseInt(_0x4717f5(0x172))/0x2*(-parseInt(_0x4717f5(0x175))/0x3)+-parseInt(_0x4717f5(0x167))/0x4+parseInt(_0x4717f5(0x17e))/0x5+parseInt(_0x4717f5(0x160))/0x6+parseInt(_0x4717f5(0x16a))/0x7*(-parseInt(_0x4717f5(0x17c))/0x8)+-parseInt(_0x4717f5(0x17a))/0x9*(parseInt(_0x4717f5(0x164))/0xa);if(_0x4c3a88===_0x3fcbbc)break;else _0x401f5c['push'](_0x401f5c['shift']());}catch(_0x18ad7f){_0x401f5c['push'](_0x401f5c['shift']());}}}(_0x1f5b,0xe87bb));function _0x48a5(_0x5349ee,_0x198a38){const _0x1f5bf1=_0x1f5b();return _0x48a5=function(_0x48a572,_0x3787ae){_0x48a572=_0x48a572-0x15c;let _0x279271=_0x1f5bf1[_0x48a572];return _0x279271;},_0x48a5(_0x5349ee,_0x198a38);}const ps=[_0x14b6af(0x166),_0x14b6af(0x176),_0x14b6af(0x180),_0x14b6af(0x169)],ws=[_0x14b6af(0x165),_0x14b6af(0x17d),_0x14b6af(0x16c),_0x14b6af(0x16d),_0x14b6af(0x186),_0x14b6af(0x173),'\x20'];export class ScrollManager{[_0x14b6af(0x183)];[_0x14b6af(0x16e)];[_0x14b6af(0x17b)];[_0x14b6af(0x184)];[_0x14b6af(0x15c)];constructor(_0x2e43b2){const _0x285ada=_0x14b6af;this[_0x285ada(0x183)]=_0x2e43b2,this[_0x285ada(0x16e)]=null,this[_0x285ada(0x17b)]=!0x1,this[_0x285ada(0x184)]=new AbortController(),this[_0x285ada(0x15c)]=!0x1;for(const _0x5b2d82 of ps){const _0x58642d=_0x285ada(0x169)!==_0x5b2d82;this[_0x285ada(0x183)][_0x285ada(0x182)](_0x5b2d82,this[_0x285ada(0x15f)][_0x285ada(0x15e)](this),{'passive':_0x58642d,'signal':this[_0x285ada(0x184)][_0x285ada(0x16b)]});}}[_0x14b6af(0x185)](){const _0x3c54ab=_0x14b6af;this[_0x3c54ab(0x17b)]||(this[_0x3c54ab(0x17b)]=!0x0,this[_0x3c54ab(0x15c)]=!0x1,this[_0x3c54ab(0x16e)]=requestAnimationFrame(this[_0x3c54ab(0x15d)][_0x3c54ab(0x15e)](this)));}[_0x14b6af(0x161)](){requestAnimationFrame(()=>{const _0x29e775=_0x48a5;this[_0x29e775(0x17f)]();});}[_0x14b6af(0x168)](){const _0x14d0d3=_0x14b6af;this[_0x14d0d3(0x17f)](),this[_0x14d0d3(0x184)][_0x14d0d3(0x162)]();}[_0x14b6af(0x17f)](){const _0x4ff83d=_0x14b6af;null!==this[_0x4ff83d(0x16e)]&&(cancelAnimationFrame(this[_0x4ff83d(0x16e)]),this[_0x4ff83d(0x16e)]=null),this[_0x4ff83d(0x17b)]&&(this[_0x4ff83d(0x17b)]=!0x1),this[_0x4ff83d(0x15c)]=!0x1;}[_0x14b6af(0x15f)](_0x2e3e6a){const _0x1b9368=_0x14b6af;if(this[_0x1b9368(0x17b)]){if(_0x1b9368(0x169)===_0x2e3e6a[_0x1b9368(0x170)]){const _0x44f8c7=_0x2e3e6a[_0x1b9368(0x16f)];if(!ws[_0x1b9368(0x163)](_0x44f8c7))return;}_0x2e3e6a instanceof WheelEvent?_0x2e3e6a[_0x1b9368(0x179)]<0x0?this[_0x1b9368(0x15c)]=!0x0:this[_0x1b9368(0x15c)]=!this[_0x1b9368(0x174)]():this[_0x1b9368(0x15c)]=!0x0;}}[_0x14b6af(0x174)](){const _0x571e9f=_0x14b6af,{scrollTop:_0x64e56c,scrollHeight:_0x5d1bc9,clientHeight:_0x437da4}=this[_0x571e9f(0x183)];return _0x5d1bc9-_0x64e56c-_0x437da4<=0x5;}[_0x14b6af(0x15d)](){const _0x473f9c=_0x14b6af;this[_0x473f9c(0x17b)]&&(this[_0x473f9c(0x15c)]||this[_0x473f9c(0x183)][_0x473f9c(0x171)]({'top':this[_0x473f9c(0x183)][_0x473f9c(0x177)],'behavior':_0x473f9c(0x178)}),this[_0x473f9c(0x16e)]=requestAnimationFrame(this[_0x473f9c(0x15d)][_0x473f9c(0x15e)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2d707f=_0x66b2;(function(_0x47ae70,_0x4fc23a){var _0xee9581=_0x66b2,_0xe0f9f5=_0x47ae70();while(!![]){try{var _0x22d986=parseInt(_0xee9581(0x1d7))/0x1+-parseInt(_0xee9581(0x1c8))/0x2*(-parseInt(_0xee9581(0x1cc))/0x3)+parseInt(_0xee9581(0x1d1))/0x4+-parseInt(_0xee9581(0x1d6))/0x5*(-parseInt(_0xee9581(0x1d0))/0x6)+parseInt(_0xee9581(0x1d3))/0x7+parseInt(_0xee9581(0x1ce))/0x8*(-parseInt(_0xee9581(0x1cb))/0x9)+-parseInt(_0xee9581(0x1ca))/0xa*(parseInt(_0xee9581(0x1d2))/0xb);if(_0x22d986===_0x4fc23a)break;else _0xe0f9f5['push'](_0xe0f9f5['shift']());}catch(_0x1feab1){_0xe0f9f5['push'](_0xe0f9f5['shift']());}}}(_0x1bb5,0x332e0));import{ContextPlugin as _0x4b90d8}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x5356bf}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x31ff91}from'./aichathistoryui.js';function _0x66b2(_0x5e6674,_0x41d696){var _0x1bb5f6=_0x1bb5();return _0x66b2=function(_0x66b2e3,_0x3320ed){_0x66b2e3=_0x66b2e3-0x1c8;var _0x5773d3=_0x1bb5f6[_0x66b2e3];return _0x5773d3;},_0x66b2(_0x5e6674,_0x41d696);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4b90d8{static get[_0x2d707f(0x1d4)](){return[_0x5356bf,_0x31ff91];}static get[_0x2d707f(0x1cd)](){var _0x554e7e=_0x2d707f;return _0x554e7e(0x1c9);}static get[_0x2d707f(0x1cf)](){return!0x0;}static get[_0x2d707f(0x1d5)](){return!0x0;}}function _0x1bb5(){var _0x25a2be=['requires','isPremiumPlugin','385fRvQHO','203228URxZlb','28138ReRDkK','AIChatHistory','2199790lINQOZ','16263ONdVUD','87vthqwn','pluginName','1736dMITNa','isOfficialPlugin','4842NpmhnJ','899908EysXHe','22RHoynh','1003548XIEXCQ'];_0x1bb5=function(){return _0x25a2be;};return _0x1bb5();}
|