@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
|
|
23
|
+
const _0x5ee6b1=_0xc41b;function _0x2d92(){const _0x53e35b=['add','content','_bodyCollection','_createSourceResourceBalloonPanel','hide','201282opLbCA','isAnyResourceBalloonVisible','onLoadSourceResources','set','values','_createBalloonResourcesView','execute','_sourceResourceBalloons','59FyOEpO','_setupSingleResourceBalloonClickOutsideHandler','clear','label','_createBackButton','36fzKJpT','element','20uKqbGo','_locale','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','showSourceResourcesBalloon','ck-ai-chat-context-controls__source-balloon-panel','2127862MEQfmM','onResourceSelected','closeSourceResourceBalloon','getTargetElement','959427FqkvDb','40pGoXEZ','onBackToContext','loadSourceResources','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','source','updateResourceState','594738IfQMaE','show','getLimiterElement','resource','setResources','isVisible','_getResourcesViewFromBalloon','4789824MIvfdL','242235NxLHEQ','destroy','addResourceToContext','onBalloonClosed','ck-button-icon\x20ck-button-back','populateSourceResourceBalloon','get','_createBalloonHeader','pin','delete','_config','children','extendTemplate','6054CsIuJj','_addSourceResourceContent'];_0x2d92=function(){return _0x53e35b;};return _0x2d92();}(function(_0x38468b,_0x74ef02){const _0x481774=_0xc41b,_0x13b36f=_0x38468b();while(!![]){try{const _0x908f7e=parseInt(_0x481774(0xc2))/0x1*(-parseInt(_0x481774(0xee))/0x2)+-parseInt(_0x481774(0xf5))/0x3*(parseInt(_0x481774(0xc9))/0x4)+-parseInt(_0x481774(0xe1))/0x5*(parseInt(_0x481774(0xc7))/0x6)+-parseInt(_0x481774(0xd2))/0x7+parseInt(_0x481774(0xe0))/0x8+-parseInt(_0x481774(0xd9))/0x9+parseInt(_0x481774(0xd3))/0xa*(parseInt(_0x481774(0xce))/0xb);if(_0x908f7e===_0x74ef02)break;else _0x13b36f['push'](_0x13b36f['shift']());}catch(_0x297e7c){_0x13b36f['push'](_0x13b36f['shift']());}}}(_0x2d92,0x59040));import{BalloonPanelView as _0x12b797,ButtonView as _0x16093b,clickOutsideHandler as _0x256917,FormHeaderView as _0x539f32}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x23874c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x102e55}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x512cdc}from'./aichatresourcesview.js';const Or=_0x5ee6b1(0xcd),Hr=_0x5ee6b1(0xe5),Fr=_0x5ee6b1(0xd6);function _0xc41b(_0x20e6bd,_0x3da1a5){const _0x2d929c=_0x2d92();return _0xc41b=function(_0xc41b43,_0x682a3c){_0xc41b43=_0xc41b43-0xbc;let _0x4d60de=_0x2d929c[_0xc41b43];return _0x4d60de;},_0xc41b(_0x20e6bd,_0x3da1a5);}export class AIChatResourcesBalloonView{[_0x5ee6b1(0xc1)]=new Map();[_0x5ee6b1(0xf2)];[_0x5ee6b1(0xca)];[_0x5ee6b1(0xeb)];constructor(_0x475b3e,_0x17fcf1,_0x16620d){const _0x52ae25=_0x5ee6b1;this[_0x52ae25(0xca)]=_0x475b3e,this[_0x52ae25(0xf2)]=_0x17fcf1,this[_0x52ae25(0xeb)]=_0x16620d;}[_0x5ee6b1(0xcc)](_0x524bf6){const _0x8722cd=_0x5ee6b1;let _0x1bb2b0=this[_0x8722cd(0xc1)][_0x8722cd(0xe7)](_0x524bf6['id']);_0x1bb2b0||(_0x1bb2b0=this[_0x8722cd(0xf3)](),this[_0x8722cd(0xc1)][_0x8722cd(0xbd)](_0x524bf6['id'],_0x1bb2b0),this[_0x8722cd(0xc3)](_0x1bb2b0)),this[_0x8722cd(0xef)](_0x1bb2b0,_0x524bf6),_0x1bb2b0[_0x8722cd(0xda)]();const _0x5925c1=this[_0x8722cd(0xeb)][_0x8722cd(0xd1)]();_0x5925c1&&_0x1bb2b0[_0x8722cd(0xe9)]({'target':_0x5925c1,'limiter':this[_0x8722cd(0xeb)][_0x8722cd(0xdb)]()});}[_0x5ee6b1(0xe6)](_0x367de7,_0x4b0980,_0x2400f5){const _0x21d441=_0x5ee6b1,_0x126358=this[_0x21d441(0xc1)][_0x21d441(0xe7)](_0x367de7);if(!_0x126358)return;const _0x5c090e=this[_0x21d441(0xdf)](_0x126358);_0x5c090e&&_0x5c090e[_0x21d441(0xdd)](_0x4b0980,_0x2400f5);}[_0x5ee6b1(0xd0)](_0x3f360c){const _0x58b1a0=_0x5ee6b1,_0x2f121d=this[_0x58b1a0(0xc1)][_0x58b1a0(0xe7)](_0x3f360c);_0x2f121d&&requestAnimationFrame(()=>{const _0x3a898d=_0x58b1a0;_0x2f121d[_0x3a898d(0xf4)](),this[_0x3a898d(0xc1)][_0x3a898d(0xea)](_0x3f360c),this[_0x3a898d(0xeb)][_0x3a898d(0xe4)]();});}[_0x5ee6b1(0xf6)](){const _0xb75613=_0x5ee6b1;for(const _0x5eab9f of this[_0xb75613(0xc1)][_0xb75613(0xbe)]())if(_0x5eab9f[_0xb75613(0xde)])return!0x0;return!0x1;}[_0x5ee6b1(0xd8)](_0x29add3,_0x3bc8f9,_0x28ac25){const _0x1dfa46=_0x5ee6b1,_0x22f9da=this[_0x1dfa46(0xc1)][_0x1dfa46(0xe7)](_0x29add3);if(!_0x22f9da||!_0x22f9da[_0x1dfa46(0xde)])return;const _0x1a4600=this[_0x1dfa46(0xeb)][_0x1dfa46(0xd1)]();if(!_0x1a4600)return;_0x22f9da[_0x1dfa46(0xe9)]({'target':_0x1a4600,'limiter':this[_0x1dfa46(0xeb)][_0x1dfa46(0xdb)]()});const _0x4a67bc=this[_0x1dfa46(0xdf)](_0x22f9da);_0x4a67bc&&_0x4a67bc[_0x1dfa46(0xd8)](_0x3bc8f9,_0x28ac25);}[_0x5ee6b1(0xe2)](){const _0xc25800=_0x5ee6b1;for(const _0x235459 of this[_0xc25800(0xc1)][_0xc25800(0xbe)]())_0x235459[_0xc25800(0xe2)]();this[_0xc25800(0xc1)][_0xc25800(0xc4)]();}[_0x5ee6b1(0xf3)](){const _0x29a2bf=_0x5ee6b1,_0x11e166=new _0x12b797(this[_0x29a2bf(0xca)]);return _0x11e166[_0x29a2bf(0xed)]({'attributes':{'class':Or}}),this[_0x29a2bf(0xf2)][_0x29a2bf(0xf0)](_0x11e166),_0x11e166;}[_0x5ee6b1(0xef)](_0x2bd97c,_0xf5944f){const _0x10c064=_0x5ee6b1;_0x2bd97c[_0x10c064(0xf1)][_0x10c064(0xc4)]();const _0x4cfeb2=this[_0x10c064(0xe8)](_0x2bd97c,_0xf5944f);_0x2bd97c[_0x10c064(0xf1)][_0x10c064(0xf0)](_0x4cfeb2);const _0xd2a91f=this[_0x10c064(0xbf)](_0xf5944f);_0x2bd97c[_0x10c064(0xf1)][_0x10c064(0xf0)](_0xd2a91f);}[_0x5ee6b1(0xe8)](_0x321e27,_0x2c7a13){const _0x4432cf=_0x5ee6b1,_0xefbdcb=this[_0x4432cf(0xc6)](_0x321e27),_0x2a4945=new _0x539f32(this[_0x4432cf(0xca)],{'label':_0x2c7a13[_0x4432cf(0xc5)],'class':Fr});return _0x2a4945[_0x4432cf(0xec)][_0x4432cf(0xf0)](_0xefbdcb,0x0),_0x2a4945;}[_0x5ee6b1(0xc6)](_0x1d96f9){const _0x26fa56=_0x5ee6b1,_0x1355c3=new _0x16093b(this[_0x26fa56(0xca)]);return _0x1355c3[_0x26fa56(0xbd)]({'icon':_0x23874c,'tooltip':_0x102e55(this[_0x26fa56(0xca)],_0x26fa56(0xcb)),'tooltipPosition':'n','class':Hr}),_0x1355c3['on'](_0x26fa56(0xc0),()=>{const _0x415749=_0x26fa56;_0x1d96f9[_0x415749(0xf4)](),this[_0x415749(0xeb)][_0x415749(0xd4)]();}),_0x1355c3;}[_0x5ee6b1(0xbf)](_0x44da8e){const _0x1ba8f0=_0x5ee6b1,_0xaad7b9=new _0x512cdc(this[_0x1ba8f0(0xca)],_0x44da8e);return _0xaad7b9['on'](_0x1ba8f0(0xd5),(_0x29a077,_0x32f0c3)=>{const _0x1da01d=_0x1ba8f0;this[_0x1da01d(0xeb)][_0x1da01d(0xbc)](_0x32f0c3);}),_0xaad7b9['on'](_0x1ba8f0(0xe3),(_0x1013f2,_0x1c4121)=>{const _0x59c740=_0x1ba8f0;this[_0x59c740(0xeb)][_0x59c740(0xcf)](_0x1c4121[_0x59c740(0xd7)],_0x1c4121[_0x59c740(0xdc)]),this[_0x59c740(0xd0)](_0x44da8e['id']);}),_0xaad7b9;}[_0x5ee6b1(0xdf)](_0x4c4459){const _0x3db4e8=_0x5ee6b1,_0x382a3f=_0x4c4459[_0x3db4e8(0xf1)][_0x3db4e8(0xe7)](0x1);return _0x382a3f instanceof _0x512cdc?_0x382a3f:null;}[_0x5ee6b1(0xc3)](_0x16cc2b){const _0x20b171=_0x5ee6b1;_0x256917({'emitter':_0x16cc2b,'contextElements':[_0x16cc2b[_0x20b171(0xc8)]],'callback':()=>{const _0x105840=_0x20b171;_0x16cc2b[_0x105840(0xf4)](),this[_0x105840(0xeb)][_0x105840(0xe4)]();},'activator':()=>_0x16cc2b[_0x20b171(0xde)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d749a=_0x2b67;(function(_0x325ce0,_0x2ddef8){const _0x40e2f2=_0x2b67,_0x310a04=_0x325ce0();while(!![]){try{const _0x4e1878=-parseInt(_0x40e2f2(0x19c))/0x1*(-parseInt(_0x40e2f2(0x1ae))/0x2)+parseInt(_0x40e2f2(0x1b3))/0x3*(-parseInt(_0x40e2f2(0x197))/0x4)+-parseInt(_0x40e2f2(0x193))/0x5+-parseInt(_0x40e2f2(0x1a9))/0x6+parseInt(_0x40e2f2(0x1a7))/0x7*(parseInt(_0x40e2f2(0x1a0))/0x8)+parseInt(_0x40e2f2(0x19d))/0x9*(parseInt(_0x40e2f2(0x195))/0xa)+parseInt(_0x40e2f2(0x1a6))/0xb;if(_0x4e1878===_0x2ddef8)break;else _0x310a04['push'](_0x310a04['shift']());}catch(_0x123c56){_0x310a04['push'](_0x310a04['shift']());}}}(_0x5550,0x30f04));import{ListView as _0x3610af}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x544972}from'./aichatresourcelistitemview.js';const sc=_0x1d749a(0x1a4);function _0x2b67(_0x28c7e9,_0x1055a5){const _0x5550e0=_0x5550();return _0x2b67=function(_0x2b67f5,_0x4258b9){_0x2b67f5=_0x2b67f5-0x193;let _0x30241b=_0x5550e0[_0x2b67f5];return _0x30241b;},_0x2b67(_0x28c7e9,_0x1055a5);}export class AIChatContextResourcesListView extends _0x3610af{[_0x1d749a(0x196)];constructor(_0x596531,_0x3321f4){const _0x4b108e=_0x1d749a;super(_0x596531),this[_0x4b108e(0x196)]=_0x3321f4,this[_0x4b108e(0x1aa)]({'attributes':{'class':[sc]}});}[_0x1d749a(0x198)](_0x285881,_0x3efbde){const _0x3629f6=_0x1d749a;this[_0x3629f6(0x194)][_0x3629f6(0x19f)]();let _0x571554=_0x285881;if(this[_0x3629f6(0x196)][_0x3629f6(0x19a)]&&_0x3efbde&&''!==_0x3efbde[_0x3629f6(0x19b)]()){const _0x5a6146=new RegExp(_0x3efbde[_0x3629f6(0x1af)](/[.*+?^${}()|[\]\\]/g,_0x3629f6(0x1ab)),'gi');_0x571554=_0x285881[_0x3629f6(0x1a8)](_0x98031e=>_0x5a6146[_0x3629f6(0x1a1)](_0x98031e[_0x3629f6(0x199)]));}for(const _0x4b678c of _0x571554){const _0x557331=new _0x544972(this[_0x3629f6(0x1b1)],_0x4b678c);_0x557331['on'](_0x3629f6(0x1a3),()=>{const _0x1c5501=_0x3629f6;this[_0x1c5501(0x1a2)](this[_0x1c5501(0x196)],_0x4b678c);}),this[_0x3629f6(0x194)][_0x3629f6(0x1b4)](_0x557331);}this[_0x3629f6(0x196)][_0x3629f6(0x19a)]&&this[_0x3629f6(0x19e)](_0x3efbde);}[_0x1d749a(0x19e)](_0x4af6aa){const _0x29941d=_0x1d749a;this[_0x29941d(0x196)][_0x29941d(0x19a)]&&this[_0x29941d(0x194)][_0x29941d(0x1ad)](_0x5c3641=>{const _0x584a93=_0x29941d;_0x5c3641[_0x584a93(0x19e)](_0x4af6aa);});}[_0x1d749a(0x1b2)](_0x3b5c87,_0x520b96){const _0x4eca6a=_0x1d749a;for(const _0x1899a3 of this[_0x4eca6a(0x194)]){const _0x542586=_0x1899a3;_0x542586[_0x4eca6a(0x1b0)]['id']===_0x3b5c87&&_0x542586[_0x4eca6a(0x1b2)](_0x520b96);}}[_0x1d749a(0x1a2)](_0x5d4963,_0x2e7caf){const _0x5dc72e=_0x1d749a;this[_0x5dc72e(0x1a5)](_0x5dc72e(0x1ac),{'source':_0x5d4963,'resource':_0x2e7caf});}}function _0x5550(){const _0x20ff3b=['resource','locale','updateResourceState','48gAAuPA','add','253815alIVLw','items','985770VnwLOn','_source','61052kPiVEW','setResources','label','useDefaultFiltering','trim','257929glgcZJ','9aqeBqt','highlightText','clear','8QABkdh','test','_handleResourceSelection','execute','ck-ai-chat-resources__list','fire','1748714CGzqQC','609798pXQnFe','filter','643026fQwokZ','extendTemplate','\x5c$&','addResourceToContext','forEach','2fdWkWH','replace'];_0x5550=function(){return _0x20ff3b;};return _0x5550();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x15452f,IconView as _0x594ac7,LabeledFieldView as th,createLabeledInputText as _0x317bf0}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3780ce,IconCancel as _0x417cfa}from'ckeditor5/src/icons.js';import{getTranslation as _0x448b23}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x2955ad){const t=_0x2955ad['t'],_0xd40095={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x317bf0,'label':_0x448b23(_0x2955ad,'AI_CHAT_SEARCH_RESOURCES')};super(_0x2955ad,_0xd40095['creator']),this['label']=_0xd40095['label'],this['_viewConfig']=_0xd40095,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x2955ad,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x467754){this['fire']('search',_0x467754);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x594ac7(),this['iconView']['content']=_0x3780ce,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x2001be,t){this['resetButtonView']=new _0x15452f(_0x2001be),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x417cfa,'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',_0x1b1df5=>!_0x1b1df5),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
|
-
const
|
|
23
|
+
function _0xb5c9(){const _0x1d2ad6=['highlightText','_createSearchSection','useDefaultFiltering','1634250xsnPHF','_createSearchView','aiChatResources','children','ck-ai-chat-resources','div','_createSkeletonView','8191710rgldOw','40bXkDNo','updateResourceState','loadSourceResources','_source','2375142wjBqFN','render','_skeletonLoader','ck\x20ck-search','isLoading','9166040FaQQMo','delegate','setResources','1219780AhqQZY','3EyzCTV','1162230RQrNpc','loadResources','setTemplate','addResourceToContext','fire','275jGRMEm','ck-hidden','_createResourcesListView','locale','_searchView','extendTemplate','set','_latestLoadResourcesUid','search','getQuery','bindTemplate','122088ximmim','_resourcesListView'];_0xb5c9=function(){return _0x1d2ad6;};return _0xb5c9();}const _0x886bdb=_0x3375;function _0x3375(_0x10873f,_0x5482b7){const _0xb5c9d0=_0xb5c9();return _0x3375=function(_0x33750b,_0xb964e5){_0x33750b=_0x33750b-0x15e;let _0x304b14=_0xb5c9d0[_0x33750b];return _0x304b14;},_0x3375(_0x10873f,_0x5482b7);}(function(_0x13c29a,_0x13b002){const _0x2e8b6f=_0x3375,_0x281fbc=_0x13c29a();while(!![]){try{const _0x411abc=parseInt(_0x2e8b6f(0x177))/0x1+parseInt(_0x2e8b6f(0x161))/0x2+parseInt(_0x2e8b6f(0x176))/0x3*(-parseInt(_0x2e8b6f(0x175))/0x4)+-parseInt(_0x2e8b6f(0x17c))/0x5*(-parseInt(_0x2e8b6f(0x187))/0x6)+parseInt(_0x2e8b6f(0x16d))/0x7+parseInt(_0x2e8b6f(0x172))/0x8+-parseInt(_0x2e8b6f(0x168))/0x9*(parseInt(_0x2e8b6f(0x169))/0xa);if(_0x411abc===_0x13b002)break;else _0x281fbc['push'](_0x281fbc['shift']());}catch(_0x1464bd){_0x281fbc['push'](_0x281fbc['shift']());}}}(_0xb5c9,0x9bb9b));import{View as _0x5515af,ViewCollection as _0x2d6991}from'ckeditor5/src/ui.js';import{uid as _0x35547d}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x39b9f4}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x245574}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x493632,SKELETON_DEFINITIONS as _0x8feb65}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x5515af{[_0x886bdb(0x180)];[_0x886bdb(0x188)];[_0x886bdb(0x16f)];[_0x886bdb(0x16c)];[_0x886bdb(0x164)];[_0x886bdb(0x183)]=null;constructor(_0x31374f,_0x83df5b){const _0x5c6244=_0x886bdb;super(_0x31374f),this[_0x5c6244(0x16c)]=_0x83df5b,this[_0x5c6244(0x182)](_0x5c6244(0x171),!0x0),this[_0x5c6244(0x180)]=this[_0x5c6244(0x162)]();const _0x337e6a=this[_0x5c6244(0x15f)]();this[_0x5c6244(0x188)]=this[_0x5c6244(0x17e)](),this[_0x5c6244(0x16f)]=this[_0x5c6244(0x167)](),this[_0x5c6244(0x164)]=new _0x2d6991([_0x337e6a,this[_0x5c6244(0x16f)],this[_0x5c6244(0x188)]]),this[_0x5c6244(0x179)]({'tag':_0x5c6244(0x166),'attributes':{'class':_0x5c6244(0x165)},'children':this[_0x5c6244(0x164)]});}[_0x886bdb(0x162)](){const _0x5af41b=_0x886bdb;return new _0x245574(this[_0x5af41b(0x17f)]);}[_0x886bdb(0x15f)](){const _0x391bb2=_0x886bdb,_0x329c5c=new _0x5515af(this[_0x391bb2(0x17f)]);return _0x329c5c[_0x391bb2(0x179)]({'tag':_0x391bb2(0x166),'attributes':{'class':_0x391bb2(0x170)},'children':[this[_0x391bb2(0x180)]]}),this[_0x391bb2(0x180)]['on'](_0x391bb2(0x184),(_0x57f383,_0x1ecf13)=>{const _0x5d0c70=_0x391bb2;this[_0x5d0c70(0x178)](_0x1ecf13),this[_0x5d0c70(0x16c)][_0x5d0c70(0x160)]&&this[_0x5d0c70(0x188)][_0x5d0c70(0x15e)](_0x1ecf13);}),_0x329c5c;}[_0x886bdb(0x17e)](){const _0x15c5c0=_0x886bdb,_0x4b2028=new _0x39b9f4(this[_0x15c5c0(0x17f)],this[_0x15c5c0(0x16c)]);return _0x4b2028[_0x15c5c0(0x173)](_0x15c5c0(0x17a))['to'](this),_0x4b2028[_0x15c5c0(0x181)]({'attributes':{'class':this[_0x15c5c0(0x186)]['if'](_0x15c5c0(0x171),_0x15c5c0(0x17d))}}),_0x4b2028;}[_0x886bdb(0x167)](){const _0x2c13f1=_0x886bdb,_0x23bcad=new _0x493632(this[_0x2c13f1(0x17f)],_0x8feb65[_0x2c13f1(0x163)]);return _0x23bcad[_0x2c13f1(0x181)]({'attributes':{'class':[this[_0x2c13f1(0x186)]['if'](_0x2c13f1(0x171),_0x2c13f1(0x17d),_0x5d77df=>!_0x5d77df)]}}),_0x23bcad;}[_0x886bdb(0x16e)](){const _0x1d7785=_0x886bdb;super[_0x1d7785(0x16e)](),this[_0x1d7785(0x178)]('');}[_0x886bdb(0x178)](_0x234d63){const _0x3eabe1=_0x886bdb,_0x50888f=_0x35547d();this[_0x3eabe1(0x183)]=_0x50888f,this[_0x3eabe1(0x17b)](_0x3eabe1(0x16b),{'sourceId':this[_0x3eabe1(0x16c)]['id'],'query':_0x234d63,'uid':_0x50888f}),this[_0x3eabe1(0x171)]=!0x0;}[_0x886bdb(0x174)](_0x5d151c,_0x4a9858){const _0x58b1e4=_0x886bdb;if(_0x4a9858&&_0x4a9858!==this[_0x58b1e4(0x183)])return;const _0x210ed0=this[_0x58b1e4(0x16c)][_0x58b1e4(0x160)]?this[_0x58b1e4(0x180)][_0x58b1e4(0x185)]():'';this[_0x58b1e4(0x188)][_0x58b1e4(0x174)](_0x5d151c,_0x210ed0),requestAnimationFrame(()=>{const _0x4d7768=_0x58b1e4;this[_0x4d7768(0x171)]=!0x1;});}[_0x886bdb(0x16a)](_0x1e50cf,_0x49b946){const _0x458d16=_0x886bdb;this[_0x458d16(0x188)][_0x458d16(0x16a)](_0x1e50cf,_0x49b946);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3a91(_0x71a84f,_0x216167){const _0x3a892c=_0x3a89();return _0x3a91=function(_0x3a9149,_0x2ef66f){_0x3a9149=_0x3a9149-0x1e4;let _0x34a7ea=_0x3a892c[_0x3a9149];return _0x34a7ea;},_0x3a91(_0x71a84f,_0x216167);}const _0x27cc40=_0x3a91;(function(_0x2a3ae1,_0x474bf5){const _0x327da5=_0x3a91,_0x3360f9=_0x2a3ae1();while(!![]){try{const _0x165cf8=-parseInt(_0x327da5(0x1e7))/0x1+-parseInt(_0x327da5(0x1f5))/0x2*(parseInt(_0x327da5(0x1f1))/0x3)+-parseInt(_0x327da5(0x201))/0x4+parseInt(_0x327da5(0x1fd))/0x5*(-parseInt(_0x327da5(0x202))/0x6)+parseInt(_0x327da5(0x1e8))/0x7*(-parseInt(_0x327da5(0x1f4))/0x8)+-parseInt(_0x327da5(0x1f6))/0x9+parseInt(_0x327da5(0x203))/0xa*(parseInt(_0x327da5(0x1e4))/0xb);if(_0x165cf8===_0x474bf5)break;else _0x3360f9['push'](_0x3360f9['shift']());}catch(_0x100944){_0x3360f9['push'](_0x3360f9['shift']());}}}(_0x3a89,0xa7edf));function _0x3a89(){const _0x3681f6=['setTemplate','_createContextChips','render','3107856WdTIfr','42GVpDQP','1210tHrxVY','ck-ai-chat-context-chips-wrapper-balloon','449053gYOyTM','reorganizeChips','ck-reset_all','602494yUnrRy','28HOwdwt','destroy','_contextChips','querySelector','locale','_bodyCollection','_overflowManager','createCollection','add','15vjuLlp','element','ck-ai-chat-controls-button','1272512LaUJGf','55542feIILJ','8542071eqIaus','ck-ai-chat-context-chips-wrapper','ck-ai-chat__feed__context-chips','div','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-controls_context_show-more-button','setContainerElement','820040piJbYJ'];_0x3a89=function(){return _0x3681f6;};return _0x3a89();}import{View as _0x41253b}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x233929}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x3ae81f}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x27cc40(0x1f8),$o=_0x27cc40(0x1f7),qo=_0x27cc40(0x204),Vo=_0x27cc40(0x1f3),Io=_0x27cc40(0x1fb),Po=_0x27cc40(0x1fa);export class AIChatFeedContextChipsView extends _0x41253b{[_0x27cc40(0x1ea)]=this[_0x27cc40(0x1ef)]();[_0x27cc40(0x1ee)];[_0x27cc40(0x1ed)];constructor(_0xdaf29b,_0x29e4a5,_0xf40ac8){const _0xb973e5=_0x27cc40;super(_0xdaf29b),this[_0xb973e5(0x1ed)]=_0xf40ac8,this[_0xb973e5(0x1ff)](_0x29e4a5);const _0x375962={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':qo,'controlsButton':Vo}};this[_0xb973e5(0x1ee)]=new _0x3ae81f(_0xdaf29b,this[_0xb973e5(0x1ea)],_0x375962,this[_0xb973e5(0x1ed)],this),this[_0xb973e5(0x1fe)]({'tag':_0xb973e5(0x1f9),'attributes':{'class':[Fo,'ck',_0xb973e5(0x1e6)]},'children':[{'tag':_0xb973e5(0x1f9),'attributes':{'class':$o},'children':this[_0xb973e5(0x1ea)]}]});}[_0x27cc40(0x200)](){const _0x1c115c=_0x27cc40;super[_0x1c115c(0x200)]();const _0x1afe44=this[_0x1c115c(0x1f2)][_0x1c115c(0x1eb)]('.'+$o);_0x1afe44&&(this[_0x1c115c(0x1ee)][_0x1c115c(0x1fc)](_0x1afe44),this[_0x1c115c(0x1ee)][_0x1c115c(0x1e5)]());}[_0x27cc40(0x1e9)](){const _0x3e01cd=_0x27cc40;super[_0x3e01cd(0x1e9)](),this[_0x3e01cd(0x1ee)][_0x3e01cd(0x1e9)]();}[_0x27cc40(0x1ff)](_0x5dcaef){const _0xb62a25=_0x27cc40;for(const _0x25c0c1 of _0x5dcaef){const _0x1211b0=new _0x233929(this[_0xb62a25(0x1ec)],_0x25c0c1,!0x0,!0x1);this[_0xb62a25(0x1ea)][_0xb62a25(0x1f0)](_0x1211b0);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x291914=_0x4a38;(function(_0x515bf7,_0x2cd8ea){var _0x33fae5=_0x4a38,_0xc5fbe6=_0x515bf7();while(!![]){try{var _0xe492=-parseInt(_0x33fae5(0x96))/0x1+-parseInt(_0x33fae5(0x9f))/0x2+parseInt(_0x33fae5(0x99))/0x3+parseInt(_0x33fae5(0x94))/0x4+parseInt(_0x33fae5(0x92))/0x5+parseInt(_0x33fae5(0x9d))/0x6+-parseInt(_0x33fae5(0x95))/0x7*(parseInt(_0x33fae5(0x93))/0x8);if(_0xe492===_0x2cd8ea)break;else _0xc5fbe6['push'](_0xc5fbe6['shift']());}catch(_0x4de701){_0xc5fbe6['push'](_0xc5fbe6['shift']());}}}(_0x5015,0xd9bb9));function _0x4a38(_0x30b435,_0x441858){var _0x5015ec=_0x5015();return _0x4a38=function(_0x4a382a,_0x593969){_0x4a382a=_0x4a382a-0x91;var _0x2d955c=_0x5015ec[_0x4a382a];return _0x2d955c;},_0x4a38(_0x30b435,_0x441858);}function _0x5015(){var _0xcf2842=['warning','level','markAsDone','ck-ai-chat-error','6888830sZUOuX','8478536dkJbby','6104040CAmrGH','14XnNicC','395478CwoUmo','options','initialContent','794328beiWDS','element','ck-ai-chat-error_warning','render','3688182prcEuJ','innerHTML','752608ACBtwI','extendTemplate','setContent'];_0x5015=function(){return _0xcf2842;};return _0x5015();}import{AIChatFeedItemView as _0x264a27}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x264a27{constructor(_0x5be50c){var _0x35b919=_0x4a38;super(_0x5be50c),this[_0x35b919(0xa0)]({'attributes':{'class':[_0x35b919(0x91),_0x35b919(0xa2)===_0x5be50c[_0x35b919(0xa3)]?_0x35b919(0x9b):'']}});}[_0x291914(0x9c)](){var _0x300669=_0x291914;super[_0x300669(0x9c)](),this[_0x300669(0xa1)](this[_0x300669(0x97)][_0x300669(0x98)]),this[_0x300669(0xa4)]();}[_0x291914(0xa1)](_0x4a39eb){var _0x209a4b=_0x291914;this[_0x209a4b(0x9a)][_0x209a4b(0x9e)]=_0x4a39eb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x26abff,_0x585b77){const _0xb26254=_0x2f21,_0x3f4278=_0x26abff();while(!![]){try{const _0x3cc56=-parseInt(_0xb26254(0x19f))/0x1*(-parseInt(_0xb26254(0x1aa))/0x2)+parseInt(_0xb26254(0x19a))/0x3*(parseInt(_0xb26254(0x1a7))/0x4)+parseInt(_0xb26254(0x1a6))/0x5*(parseInt(_0xb26254(0x1a8))/0x6)+parseInt(_0xb26254(0x19d))/0x7+parseInt(_0xb26254(0x196))/0x8+parseInt(_0xb26254(0x198))/0x9*(-parseInt(_0xb26254(0x1a2))/0xa)+-parseInt(_0xb26254(0x19c))/0xb;if(_0x3cc56===_0x585b77)break;else _0x3f4278['push'](_0x3f4278['shift']());}catch(_0xfc9807){_0x3f4278['push'](_0x3f4278['shift']());}}}(_0x28e3,0xa432d));function _0x28e3(){const _0x5b96e5=['extendTemplate','4979420zqVorn','content','span','setTemplate','401845WKtpva','1256HSnSjg','72JQsYhI','ck-ai-chat__feed__interaction-header','3716LaeLVN','add','ck-hidden','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','div','push','225944iJkyEP','capabilities','18eTwwGe','children','11892StcKjN','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','9683564tVbkcm','2049726HHlcVb','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','10UZrAbp','ck-ai-chat__feed__interaction-header__capabilities__text'];_0x28e3=function(){return _0x5b96e5;};return _0x28e3();}import{IconBulb as _0xe2de64,IconWeb as _0x2cac03}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2dfb74,View as _0x11c4fc}from'ckeditor5/src/ui.js';function _0x2f21(_0x24fb22,_0x6b1a15){const _0x28e3fe=_0x28e3();return _0x2f21=function(_0x2f21fc,_0x340bd7){_0x2f21fc=_0x2f21fc-0x190;let _0x468265=_0x28e3fe[_0x2f21fc];return _0x468265;},_0x2f21(_0x24fb22,_0x6b1a15);}import{AIChatFeedItemView as _0x46b2af}from'./aichatfeeditemview.js';import{getTranslation as _0x256b3f}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x46b2af{constructor(_0x380f59,_0x1bb9ac){const _0x24c77e=_0x2f21;super(_0x1bb9ac);const {isWebSearchEnabled:_0x5adfb4,isReasoningEnabled:_0xb253b}=_0x1bb9ac[_0x24c77e(0x197)],_0x1c2240=[];let _0x22f626='';_0x5adfb4&&_0xb253b?(_0x22f626=_0x256b3f(_0x380f59,_0x24c77e(0x193)),_0x1c2240[_0x24c77e(0x195)](e_(_0x2cac03)),_0x1c2240[_0x24c77e(0x195)](e_(_0xe2de64))):_0x5adfb4?(_0x22f626=_0x256b3f(_0x380f59,_0x24c77e(0x19e)),_0x1c2240[_0x24c77e(0x195)](e_(_0x2cac03))):_0xb253b&&(_0x22f626=_0x256b3f(_0x380f59,_0x24c77e(0x19b)),_0x1c2240[_0x24c77e(0x195)](e_(_0xe2de64))),this[_0x24c77e(0x1a1)]({'attributes':{'class':[_0x24c77e(0x1a9),_0x22f626?'':_0x24c77e(0x191)]}});const _0x3c6568=new _0x11c4fc();_0x3c6568[_0x24c77e(0x1a5)]({'tag':_0x24c77e(0x194),'attributes':{'class':['ck',_0x24c77e(0x192)]},'children':[..._0x1c2240,{'tag':_0x24c77e(0x1a4),'attributes':{'class':[_0x24c77e(0x1a0)]},'children':[_0x22f626]}]}),this[_0x24c77e(0x199)][_0x24c77e(0x190)](_0x3c6568);}}function e_(_0x155b54){const _0x63e54c=_0x2f21,_0x3635db=new _0x2dfb74();return _0x3635db[_0x63e54c(0x1a3)]=_0x155b54,_0x3635db;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29f9e4=_0x4413;(function(_0x351a51,_0x5893f4){const _0x41ad63=_0x4413,_0x3ac595=_0x351a51();while(!![]){try{const _0x509442=parseInt(_0x41ad63(0x6f))/0x1+-parseInt(_0x41ad63(0x79))/0x2*(-parseInt(_0x41ad63(0x86))/0x3)+-parseInt(_0x41ad63(0x8a))/0x4*(parseInt(_0x41ad63(0x87))/0x5)+parseInt(_0x41ad63(0x85))/0x6+-parseInt(_0x41ad63(0x72))/0x7*(-parseInt(_0x41ad63(0x78))/0x8)+-parseInt(_0x41ad63(0x77))/0x9*(parseInt(_0x41ad63(0x8d))/0xa)+-parseInt(_0x41ad63(0x7a))/0xb;if(_0x509442===_0x5893f4)break;else _0x3ac595['push'](_0x3ac595['shift']());}catch(_0x49b501){_0x3ac595['push'](_0x3ac595['shift']());}}}(_0x3416,0xad00e));function _0x3416(){const _0x4889fe=['7hFcvBH','div','[data-id]','streamIntoElement','cleanUpAnimations','9MsamLS','10700296EZNpMe','655258ugHmyH','19449188lilHhX','querySelectorAll','removeAttribute','set','markAsDone','htmlStreamer','animation:\x20ck-html-streamer-fade-in\x20.5s','content','ck-ai-chat__feed__item_done','isVisible','options','5272818toDSUj','3GZSoKa','615oPnUoy','data-id','ck-hidden','14212Hoarpj','element','children','6239170qHcNAn','ck-ai-chat__feed__text-item','bindTemplate','stream','createCollection','setTemplate','ck-ai-chat__feed__item','993697FXHaBu','isDone','forEach'];_0x3416=function(){return _0x4889fe;};return _0x3416();}import{View as _0x547bf3}from'ckeditor5/src/ui.js';function _0x4413(_0x274309,_0xbe9a6){const _0x341678=_0x3416();return _0x4413=function(_0x44131c,_0x24148d){_0x44131c=_0x44131c-0x6c;let _0x36642f=_0x341678[_0x44131c];return _0x36642f;},_0x4413(_0x274309,_0xbe9a6);}import{HTMLStreamer as _0x35ced0}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x547bf3{[_0x29f9e4(0x84)];[_0x29f9e4(0x81)]='';[_0x29f9e4(0x7f)];[_0x29f9e4(0x8c)];constructor(_0x550080){const _0x69ec6a=_0x29f9e4;super();const _0x219db8=this[_0x69ec6a(0x8f)];this[_0x69ec6a(0x7d)](_0x69ec6a(0x70),!0x1),this[_0x69ec6a(0x7d)](_0x69ec6a(0x83),!0x0),this[_0x69ec6a(0x7f)]=new _0x35ced0({'textNodeStyle':_0x69ec6a(0x80),'delay':0x14}),this[_0x69ec6a(0x84)]=_0x550080,this[_0x69ec6a(0x8c)]=this[_0x69ec6a(0x6c)](),this[_0x69ec6a(0x6d)]({'tag':_0x69ec6a(0x73),'attributes':{'class':['ck',_0x69ec6a(0x6e),_0x219db8['if'](_0x69ec6a(0x70),_0x69ec6a(0x82)),_0x219db8['if'](_0x69ec6a(0x83),_0x69ec6a(0x89),_0x4ce81b=>!_0x4ce81b),_0x69ec6a(0x8e)],'data-cke-ai-id':this[_0x69ec6a(0x84)]['id']},'children':this[_0x69ec6a(0x8c)]});}[_0x29f9e4(0x7e)](){const _0x2f1c68=_0x29f9e4;this[_0x2f1c68(0x7f)][_0x2f1c68(0x76)]({'targetElement':this[_0x2f1c68(0x8b)]}),this[_0x2f1c68(0x8b)][_0x2f1c68(0x7b)](_0x2f1c68(0x74))[_0x2f1c68(0x71)](_0x49deef=>{const _0xc3ec05=_0x2f1c68;_0x49deef[_0xc3ec05(0x7c)](_0xc3ec05(0x88));}),this[_0x2f1c68(0x70)]=!0x0;}async[_0x29f9e4(0x75)](_0x1090af,_0x4f56cb,_0x1c8a41){const _0x3c2552=_0x29f9e4;await this[_0x3c2552(0x7f)][_0x3c2552(0x90)]({'document':_0x1090af,'targetElement':_0x4f56cb,'abortSignal':_0x1c8a41});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2610b3=_0xd7d6;(function(_0x481eca,_0x1bd1aa){const _0x409707=_0xd7d6,_0x3238c0=_0x481eca();while(!![]){try{const _0x2a1320=parseInt(_0x409707(0x9d))/0x1+-parseInt(_0x409707(0x96))/0x2*(parseInt(_0x409707(0x89))/0x3)+parseInt(_0x409707(0x80))/0x4*(-parseInt(_0x409707(0x98))/0x5)+parseInt(_0x409707(0x7b))/0x6*(-parseInt(_0x409707(0x8c))/0x7)+-parseInt(_0x409707(0x7c))/0x8*(parseInt(_0x409707(0x82))/0x9)+parseInt(_0x409707(0x87))/0xa*(parseInt(_0x409707(0x86))/0xb)+parseInt(_0x409707(0x8b))/0xc;if(_0x2a1320===_0x1bd1aa)break;else _0x3238c0['push'](_0x3238c0['shift']());}catch(_0x49af11){_0x3238c0['push'](_0x3238c0['shift']());}}}(_0x1a49,0xbec66));function _0xd7d6(_0x38541f,_0x433b51){const _0x1a49a9=_0x1a49();return _0xd7d6=function(_0xd7d688,_0x5e9f41){_0xd7d688=_0xd7d688-0x7b;let _0x1db9e0=_0x1a49a9[_0xd7d688];return _0x1db9e0;},_0xd7d6(_0x38541f,_0x433b51);}import{AIChatFeedItemView as _0x1301ce}from'./aichatfeeditemview.js';import{parse as _0x1ca026,render as _0x457c64}from'../../../aicore/utils/htmlparser.js';import{View as _0x452022}from'ckeditor5/src/ui.js';function _0x1a49(){const _0xecef51=['70HZqnWG','replyContainer','5469EsSXBw','updateSources','38591496OEivcq','42SAFaIy','ck-ai-chat__feed__ai-reply','markAsDone','isVisible','add','addMany','extendTemplate','ck-ai-chat__feed__ai-reply-container','streamIntoElement','options','430eNuBks','streaming','1894765oGKQMJ','updateContent','ck-reset_all-excluded','render','div','235906HzEcgY','initialContent','961092pwzdho','137688qkZxOq','locale','setTemplate','map','4IwoYpz','element','513jrRJOT','static','children','innerHTML','66891caBXki'];_0x1a49=function(){return _0xecef51;};return _0x1a49();}import{AIWebSourcesView as _0x30f922,AIWebSourceView as _0x38ba06}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x1301ce{[_0x2610b3(0x88)];constructor(_0x283771,_0x3c8f30){const _0x430e13=_0x2610b3;super(_0x3c8f30),this[_0x430e13(0x7d)]=_0x283771,this[_0x430e13(0x92)]({'attributes':{'class':[_0x430e13(0x8d)]}}),this[_0x430e13(0x88)]=new _0x452022(),this[_0x430e13(0x88)][_0x430e13(0x7e)]({'tag':_0x430e13(0x9c),'attributes':{'class':['ck',_0x430e13(0x9a),_0x430e13(0x93)]}}),this[_0x430e13(0x84)][_0x430e13(0x90)](this[_0x430e13(0x88)]);}async[_0x2610b3(0x9b)](){const _0x3a610e=_0x2610b3;super[_0x3a610e(0x9b)](),this[_0x3a610e(0x95)][_0x3a610e(0x9e)]&&(await this[_0x3a610e(0x99)]({'parsedContent':_0x1ca026(this[_0x3a610e(0x95)][_0x3a610e(0x9e)]),'renderingStrategy':_0x3a610e(0x83)}),this[_0x3a610e(0x8e)]());}async[_0x2610b3(0x99)]({parsedContent:_0x104f54,renderingStrategy:_0x3825ca,abortSignal:_0x457cb0}){const _0x2208a3=_0x2610b3;_0x2208a3(0x97)===_0x3825ca?await this[_0x2208a3(0x94)](_0x104f54,this[_0x2208a3(0x88)][_0x2208a3(0x81)],_0x457cb0):this[_0x2208a3(0x88)][_0x2208a3(0x81)][_0x2208a3(0x85)]=_0x457c64(_0x104f54);}[_0x2610b3(0x8a)](_0x53450c){const _0x2ade65=_0x2610b3,_0x233e7c=new _0x30f922(this[_0x2ade65(0x7d)]);_0x233e7c[_0x2ade65(0x84)][_0x2ade65(0x91)](_0x53450c[_0x2ade65(0x7f)](_0x2e01ad=>new _0x38ba06(this[_0x2ade65(0x7d)],_0x2e01ad))),_0x233e7c[_0x2ade65(0x8f)]=!0x0,this[_0x2ade65(0x84)][_0x2ade65(0x90)](_0x233e7c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4aba14=_0x31e0;function _0x31e0(_0x5ed613,_0x3f2840){const _0x50ca23=_0x50ca();return _0x31e0=function(_0x31e0f6,_0x4b02d1){_0x31e0f6=_0x31e0f6-0x9f;let _0x480425=_0x50ca23[_0x31e0f6];return _0x480425;},_0x31e0(_0x5ed613,_0x3f2840);}(function(_0x511d7c,_0x5f392c){const _0x4185c3=_0x31e0,_0x2a7de0=_0x511d7c();while(!![]){try{const _0x3e39d0=parseInt(_0x4185c3(0xe8))/0x1+parseInt(_0x4185c3(0xbd))/0x2*(-parseInt(_0x4185c3(0xbb))/0x3)+parseInt(_0x4185c3(0xe1))/0x4+-parseInt(_0x4185c3(0xcf))/0x5+-parseInt(_0x4185c3(0xa3))/0x6*(parseInt(_0x4185c3(0xba))/0x7)+-parseInt(_0x4185c3(0x9f))/0x8+parseInt(_0x4185c3(0xe6))/0x9;if(_0x3e39d0===_0x5f392c)break;else _0x2a7de0['push'](_0x2a7de0['shift']());}catch(_0xbb945a){_0x2a7de0['push'](_0x2a7de0['shift']());}}}(_0x50ca,0x4218f));import{KeystrokeHandler as _0x53105e}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x302844,BodyCollection as _0x5247ec,clickOutsideHandler as _0x2808b9,ListItemButtonView as _0x5d8095,ListItemView as _0x47cd47,ListView as _0x15abbe,SplitButtonView as _0x2df27c,UIModel as _0x52d6a1,View as _0xc459cd}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3dc0f4,IconDocumentWithLoupe as _0x4d28fb}from'ckeditor5/src/icons.js';import{getTranslation as _0x333328}from'../../../aicore/utils/common-translations.js';export class AIChatFeedSuggestionItemActionsView extends _0xc459cd{[_0x4aba14(0xd4)];[_0x4aba14(0xa5)];[_0x4aba14(0xc0)];[_0x4aba14(0xce)];constructor(_0x589dc5){const _0x1991cf=_0x4aba14;super(_0x589dc5);const _0x3e8893=this[_0x1991cf(0xb5)];this[_0x1991cf(0xaf)](_0x1991cf(0xb2),!0x0),this[_0x1991cf(0xaf)](_0x1991cf(0xdd),!0x0),this[_0x1991cf(0xc0)]=new _0x52d6a1({'label':_0x333328(_0x589dc5,_0x1991cf(0xac)),'icon':_0x4d28fb,'withText':!0x0,'type':_0x1991cf(0xb9),'actionName':_0x1991cf(0xc1)}),this[_0x1991cf(0xce)]=new _0x52d6a1({'label':_0x333328(_0x589dc5,_0x1991cf(0xd5)),'icon':_0x3dc0f4,'withText':!0x0,'type':_0x1991cf(0xb9),'actionName':_0x1991cf(0xa8)}),this[_0x1991cf(0xd4)]=new zo(_0x589dc5,{'listItemModels':[this[_0x1991cf(0xc0)],this[_0x1991cf(0xce)]]}),this[_0x1991cf(0xd4)]['on'](_0x1991cf(0xdc),()=>{const _0x32349e=_0x1991cf;this[_0x32349e(0xb0)](_0x32349e(0xa2));}),this[_0x1991cf(0xd4)]['on'](_0x1991cf(0xc1),()=>{const _0x49dfa3=_0x1991cf;this[_0x49dfa3(0xb0)](_0x49dfa3(0xc1));}),this[_0x1991cf(0xd4)]['on'](_0x1991cf(0xa8),()=>{const _0x2b5d18=_0x1991cf;this[_0x2b5d18(0xb0)](_0x2b5d18(0xa8));}),this[_0x1991cf(0xd4)][_0x1991cf(0xaf)]({'label':_0x1991cf(0xab),'tooltip':_0x333328(this[_0x1991cf(0xc6)],_0x1991cf(0xb8)),'withText':!0x0,'class':_0x1991cf(0xe2),'balloonPanelClass':_0x1991cf(0xae)}),this[_0x1991cf(0xd4)][_0x1991cf(0xb3)](_0x1991cf(0xb2))['to'](this),this[_0x1991cf(0xa5)]=this[_0x1991cf(0xbe)]([this[_0x1991cf(0xd4)]]),this[_0x1991cf(0xb6)]({'tag':_0x1991cf(0xc7),'attributes':{'class':['ck',_0x1991cf(0xe2),_0x3e8893['if'](_0x1991cf(0xdd),_0x1991cf(0xcb),_0x16c1bf=>!_0x16c1bf)]},'children':[this[_0x1991cf(0xd4)]]});}[_0x4aba14(0xa1)](_0x25ca8c){const _0x4f8b58=_0x4aba14,_0x2f33e7=this[_0x4f8b58(0xc6)];this[_0x4f8b58(0xd4)][_0x4f8b58(0xaf)]({'label':_0x333328(_0x2f33e7,_0x4f8b58(0xe3),_0x25ca8c),'tooltip':_0x333328(_0x2f33e7,_0x4f8b58(0xb8),_0x25ca8c)}),this[_0x4f8b58(0xc0)][_0x4f8b58(0xcd)]=_0x333328(_0x2f33e7,_0x4f8b58(0xac),_0x25ca8c),this[_0x4f8b58(0xce)][_0x4f8b58(0xcd)]=_0x333328(_0x2f33e7,_0x4f8b58(0xd5),_0x25ca8c);}}function _0x50ca(){const _0x1de6fd=['setTemplate','_setUpKeystrokes','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','button','343nUGVRa','29649KHeLqo','focus','42oeWSCr','createCollection','ltr','showChangeInTextModel','showChangeInText','width','keystrokeHandler','keys','class','locale','div','tooltip','pin','arrowless','ck-hidden','actionName','label','insertSuggestionModel','1934390hYUweY','_setUpList','attachToDom','balloonPanelView','destroy','actionsDropdown','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','element','listView','bottom','source','content','open','execute','isVisible','listenTo','unbind','uiLanguageDirection','61452hhgFqh','ck-ai-chat__feed__ai-suggestion__actions','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','esc','arrowView','13582611WRWgfr','listItemModels','19574OWQoVT','1636336hKmYII','delegate','updateLabels','applySuggestion','58092wTxAgj','detachFromDom','children','bodyCollection','hide','insertSuggestion','items','left','Apply','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions__balloon','set','fire','add','isEnabled','bind','balloonPanelClass','bindTemplate'];_0x50ca=function(){return _0x1de6fd;};return _0x50ca();}class zo extends _0x2df27c{[_0x4aba14(0xa6)];[_0x4aba14(0xd2)];[_0x4aba14(0xd7)];[_0x4aba14(0xc3)];constructor(_0x279b97,_0x264a57){const _0xb2ab04=_0x4aba14;super(_0x279b97),this[_0xb2ab04(0xd2)]=new _0x302844(this[_0xb2ab04(0xc6)]),this[_0xb2ab04(0xa6)]=new _0x5247ec(this[_0xb2ab04(0xc6)]),this[_0xb2ab04(0xa6)][_0xb2ab04(0xd1)](),this[_0xb2ab04(0xaf)](_0xb2ab04(0xb4),''),this[_0xb2ab04(0xd2)][_0xb2ab04(0xb3)](_0xb2ab04(0xc5))['to'](this,_0xb2ab04(0xb4)),this[_0xb2ab04(0xd7)]=this[_0xb2ab04(0xd0)](_0x264a57[_0xb2ab04(0xe7)]),this[_0xb2ab04(0xa6)][_0xb2ab04(0xb1)](this[_0xb2ab04(0xd2)]),this[_0xb2ab04(0xd2)][_0xb2ab04(0xda)][_0xb2ab04(0xb1)](this[_0xb2ab04(0xd7)]),this[_0xb2ab04(0xe5)][_0xb2ab04(0xdf)](_0xb2ab04(0xc8)),this[_0xb2ab04(0xe5)][_0xb2ab04(0xaf)](_0xb2ab04(0xc8),_0x333328(this[_0xb2ab04(0xc6)],_0xb2ab04(0xad))),this[_0xb2ab04(0xb7)](),this['on'](_0xb2ab04(0xdc),()=>{const _0x488189=_0xb2ab04;this[_0x488189(0xd2)][_0x488189(0xa7)](),this[_0x488189(0xe5)][_0x488189(0xbc)]();}),this['on'](_0xb2ab04(0xdb),()=>{const _0x3d4818=_0xb2ab04;this[_0x3d4818(0xd2)][_0x3d4818(0xdd)]?(this[_0x3d4818(0xd2)][_0x3d4818(0xa7)](),this[_0x3d4818(0xe5)][_0x3d4818(0xbc)]()):(this[_0x3d4818(0xd2)][_0x3d4818(0xc9)]({'target':this[_0x3d4818(0xd6)],'positions':[_0x3d4818(0xbf)===this[_0x3d4818(0xc6)][_0x3d4818(0xe0)]?Jo:Qo]}),this[_0x3d4818(0xd7)][_0x3d4818(0xbc)]());}),_0x2808b9({'emitter':this[_0xb2ab04(0xd2)],'callback':()=>{const _0x2f615f=_0xb2ab04;this[_0x2f615f(0xd2)][_0x2f615f(0xa7)]();},'activator':()=>this[_0xb2ab04(0xd2)][_0xb2ab04(0xdd)],'contextElements':()=>[this[_0xb2ab04(0xd6)],this[_0xb2ab04(0xd2)][_0xb2ab04(0xd6)]]});}[_0x4aba14(0xd0)](_0xde724f){const _0x4ea58f=_0x4aba14,_0x53706a=this[_0x4ea58f(0xc6)],_0x53bc16=new _0x15abbe(_0x53706a);for(const _0xfe4b7b of _0xde724f){const _0x4119c7=new _0x47cd47(_0x53706a),_0x465dce=new _0x5d8095(_0x53706a);_0x465dce[_0x4ea58f(0xb3)](...Object[_0x4ea58f(0xc4)](_0xfe4b7b))['to'](_0xfe4b7b),_0x465dce[_0x4ea58f(0xa0)](_0x4ea58f(0xdc))['to'](_0x53bc16),_0x4119c7[_0x4ea58f(0xa5)][_0x4ea58f(0xb1)](_0x465dce),_0x53bc16[_0x4ea58f(0xa9)][_0x4ea58f(0xb1)](_0x4119c7);}return _0x53bc16[_0x4ea58f(0xa9)][_0x4ea58f(0xa0)](_0x4ea58f(0xdc))['to'](this),_0x53bc16['on'](_0x4ea58f(0xdc),_0x56c1c8=>{const _0x210a4e=_0x4ea58f,_0x5d1b17=_0x56c1c8[_0x210a4e(0xd9)];this[_0x210a4e(0xb0)](_0x5d1b17[_0x210a4e(0xcc)]),this[_0x210a4e(0xd2)][_0x210a4e(0xa7)](),this[_0x210a4e(0xe5)][_0x210a4e(0xbc)]();}),_0x53bc16;}[_0x4aba14(0xb7)](){const _0x1d4a45=_0x4aba14;this[_0x1d4a45(0xc3)]=new _0x53105e(),this[_0x1d4a45(0xc3)][_0x1d4a45(0xde)](this[_0x1d4a45(0xd2)][_0x1d4a45(0xd6)]),this[_0x1d4a45(0xc3)][_0x1d4a45(0xaf)](_0x1d4a45(0xe4),(_0x2c907f,_0xffd94e)=>{const _0x2e9637=_0x1d4a45;this[_0x2e9637(0xd2)][_0x2e9637(0xa7)](),this[_0x2e9637(0xe5)][_0x2e9637(0xbc)](),_0xffd94e();});}[_0x4aba14(0xd3)](){const _0x3fb5ba=_0x4aba14;super[_0x3fb5ba(0xd3)](),this[_0x3fb5ba(0xc3)][_0x3fb5ba(0xd3)](),this[_0x3fb5ba(0xd2)][_0x3fb5ba(0xd3)](),this[_0x3fb5ba(0xa6)][_0x3fb5ba(0xa4)]();}}function Jo(_0x134653){const _0x5841f0=_0x4aba14;return{'top':_0x134653[_0x5841f0(0xd8)],'left':_0x134653[_0x5841f0(0xaa)],'name':_0x5841f0(0xca),'config':{'withArrow':!0x1}};}function Qo(_0x21548b,_0x594fe2){const _0x2e431e=_0x4aba14;return{'top':_0x21548b[_0x2e431e(0xd8)],'left':_0x21548b[_0x2e431e(0xaa)]-(_0x594fe2[_0x2e431e(0xc2)]-_0x21548b[_0x2e431e(0xc2)]),'name':_0x2e431e(0xca),'config':{'withArrow':!0x1}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0xf8b171=_0x1745;(function(_0x4881f5,_0x7755c4){var _0x4953e2=_0x1745,_0x2807eb=_0x4881f5();while(!![]){try{var _0x4454ad=-parseInt(_0x4953e2(0x11e))/0x1+parseInt(_0x4953e2(0x112))/0x2+parseInt(_0x4953e2(0x103))/0x3*(parseInt(_0x4953e2(0x102))/0x4)+parseInt(_0x4953e2(0x118))/0x5+-parseInt(_0x4953e2(0x10d))/0x6+-parseInt(_0x4953e2(0x123))/0x7+parseInt(_0x4953e2(0xfc))/0x8*(parseInt(_0x4953e2(0x110))/0x9);if(_0x4454ad===_0x7755c4)break;else _0x2807eb['push'](_0x2807eb['shift']());}catch(_0x4ba903){_0x2807eb['push'](_0x2807eb['shift']());}}}(_0x4698,0xef1c2));import{AIChatFeedItemView as _0x20cfb4}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x1d216d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x212d31}from'./aichatfeedsuggestionitemactionsview.js';function _0x1745(_0x31716c,_0x4714af){var _0x469840=_0x4698();return _0x1745=function(_0x174532,_0x25fccb){_0x174532=_0x174532-0xfc;var _0x4c5b84=_0x469840[_0x174532];return _0x4c5b84;},_0x1745(_0x31716c,_0x4714af);}export class AIChatFeedSuggestionItemView extends _0x20cfb4{[_0xf8b171(0x10f)];[_0xf8b171(0x11b)];constructor(_0x4736d4,_0x3d8063){var _0xba634e=_0xf8b171;super(_0x3d8063),this[_0xba634e(0x10f)]=new _0x1d216d(_0x4736d4,{'showDiff':_0x3d8063[_0xba634e(0x11f)],'areActionsDisabled':_0x3d8063[_0xba634e(0x117)]}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x114),(_0x35ee97,_0x2b87fd)=>{var _0x5551f5=_0xba634e;this[_0x5551f5(0x105)](_0x5551f5(0x114),{'replyId':this[_0x5551f5(0x10e)]['id'],'showDiff':_0x2b87fd[_0x5551f5(0x11f)]});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x11c),()=>{var _0x43afbc=_0xba634e;this[_0x43afbc(0x105)](_0x43afbc(0x11c),{'replyId':this[_0x43afbc(0x10e)]['id']});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x124),()=>{var _0x37773a=_0xba634e;this[_0x37773a(0x105)](_0x37773a(0x124),{'replyId':this[_0x37773a(0x10e)]['id']});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x109),(_0x384735,{index:_0x16fd8f})=>{var _0x565aa1=_0xba634e;this[_0x565aa1(0x105)](_0x565aa1(0x109),{'replyId':this[_0x565aa1(0x10e)]['id'],'partIndex':_0x16fd8f});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x116),(_0x23d097,{index:_0x36d47f})=>{var _0x59fe93=_0xba634e;this[_0x59fe93(0x105)](_0x59fe93(0x116),{'replyId':this[_0x59fe93(0x10e)]['id'],'partIndex':_0x36d47f});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0xff),(_0x4ecb6c,{index:_0x5e1ee})=>{var _0x2c39cb=_0xba634e;this[_0x2c39cb(0x105)](_0x2c39cb(0xff),{'replyId':this[_0x2c39cb(0x10e)]['id'],'partIndex':_0x5e1ee});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x106),(_0x590bca,{index:_0x19fc40})=>{var _0x459a6e=_0xba634e;this[_0x459a6e(0x105)](_0x459a6e(0x106),{'replyId':this[_0x459a6e(0x10e)]['id'],'partIndex':_0x19fc40});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x108),(_0x7b7e6,{index:_0x5da232})=>{var _0x43e889=_0xba634e;this[_0x43e889(0x105)](_0x43e889(0x108),{'replyId':this[_0x43e889(0x10e)]['id'],'partIndex':_0x5da232});}),this[_0xba634e(0x11b)]=new _0x212d31(_0x4736d4),this[_0xba634e(0x11b)]['on'](_0xba634e(0x109),()=>{var _0x575a7e=_0xba634e;this[_0x575a7e(0x105)](_0x575a7e(0x109),{'replyId':this[_0x575a7e(0x10e)]['id']});}),this[_0xba634e(0x11b)]['on'](_0xba634e(0x116),()=>{var _0x31a22b=_0xba634e;this[_0x31a22b(0x105)](_0x31a22b(0x116),{'replyId':this[_0x31a22b(0x10e)]['id']});}),this[_0xba634e(0x11b)]['on'](_0xba634e(0x122),()=>{var _0x15a5a4=_0xba634e;this[_0x15a5a4(0x105)](_0x15a5a4(0x122),{'replyId':this[_0x15a5a4(0x10e)]['id']});}),_0x3d8063[_0xba634e(0x117)]?this[_0xba634e(0x11b)][_0xba634e(0x121)]=!0x1:this[_0xba634e(0x11b)][_0xba634e(0x119)](_0xba634e(0x121))['to'](this[_0xba634e(0x10f)][_0xba634e(0x120)],_0xba634e(0x111)),this[_0xba634e(0x101)][_0xba634e(0x11a)]([this[_0xba634e(0x10f)],this[_0xba634e(0x11b)]]),this[_0xba634e(0xfd)]({'attributes':{'class':[_0xba634e(0x107)]}});}async[_0xf8b171(0x115)](_0xc74e73){var _0x56bc3f=_0xf8b171;await this[_0x56bc3f(0x10f)][_0x56bc3f(0x115)](_0xc74e73),this[_0x56bc3f(0x11b)][_0x56bc3f(0x104)](this[_0x56bc3f(0x10f)][_0x56bc3f(0x120)][_0x56bc3f(0xfe)]);}[_0xf8b171(0x10c)](_0x56cd3d,_0x3cd4e7){var _0x34d6bf=_0xf8b171;this[_0x34d6bf(0x10f)][_0x34d6bf(0x120)][_0x34d6bf(0x10c)](_0x56cd3d,_0x3cd4e7);}[_0xf8b171(0x11d)](_0x2717d2){var _0x525cfa=_0xf8b171;this[_0x525cfa(0x10f)][_0x525cfa(0x11d)](_0x2717d2);}[_0xf8b171(0x10a)](_0x324e60){var _0x452bfd=_0xf8b171;return this[_0x452bfd(0x10f)][_0x452bfd(0x120)][_0x452bfd(0x10a)](_0x324e60);}[_0xf8b171(0x100)](){var _0x4bf96b=_0xf8b171;super[_0x4bf96b(0x100)](),this[_0x4bf96b(0x10f)][_0x4bf96b(0x100)](),this[_0x4bf96b(0x11b)][_0x4bf96b(0x10b)]=this[_0x4bf96b(0x10f)][_0x4bf96b(0x120)][_0x4bf96b(0x113)];}}function _0x4698(){var _0x33f34b=['like','updateSources','1092026neSnbe','showDiff','bodyView','isEnabled','applySuggestion','12774545UiJAEo','dislike','26551776FirRNU','extendTemplate','partsCount','rejectSuggestion','markAsDone','children','138172oYmolI','57HINwRd','updateLabels','fire','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','showChangeInText','getPartView','isVisible','updatePartState','3433128IVBcvu','options','containerView','9DMWQQm','hasPendingParts','769934WIzEnU','hasNonEmptyParts','toggleSuggestionDisplayMode','updateContent','insertSuggestion','areActionsDisabled','541435pbaZfi','bind','addMany','actionsView'];_0x4698=function(){return _0x33f34b;};return _0x4698();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x9b45cc=_0x54f6;(function(_0x47fce8,_0xca9829){var _0xc55fe2=_0x54f6,_0x2f0e93=_0x47fce8();while(!![]){try{var _0x5799b3=-parseInt(_0xc55fe2(0x162))/0x1+parseInt(_0xc55fe2(0x182))/0x2*(-parseInt(_0xc55fe2(0x161))/0x3)+-parseInt(_0xc55fe2(0x17d))/0x4*(parseInt(_0xc55fe2(0x176))/0x5)+parseInt(_0xc55fe2(0x17c))/0x6*(parseInt(_0xc55fe2(0x169))/0x7)+parseInt(_0xc55fe2(0x179))/0x8*(parseInt(_0xc55fe2(0x171))/0x9)+-parseInt(_0xc55fe2(0x165))/0xa*(parseInt(_0xc55fe2(0x170))/0xb)+parseInt(_0xc55fe2(0x16d))/0xc;if(_0x5799b3===_0xca9829)break;else _0x2f0e93['push'](_0x2f0e93['shift']());}catch(_0x5a7e54){_0x2f0e93['push'](_0x2f0e93['shift']());}}}(_0x4e1c,0x63894));function _0x4e1c(){var _0x49f528=['18203244tqHjjT','extendTemplate','ck-ai-chat__feed__message-content','181005eieTHs','5877FLLrWI','_createMessageContentView','_messageContentView','div','ck-ai-chat__feed__context-chips','5REqgAH','filter','initialContent','4808aFphbp','add','_bodyCollection','174WeaRAg','2534092RkNyao','markAsDone','_createContextChipsView','_contextChipsView','options','2nrjhXD','hidden','children','778983BKmOOs','336175aKpSPz','_locale','element','380iNQznL','innerHTML','setTemplate','contextItems','85197NbiDyu','length','render','ck-ai-chat__feed__user-message'];_0x4e1c=function(){return _0x49f528;};return _0x4e1c();}import{AIChatFeedItemView as _0x27fe9b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x42ddc4}from'./aichatfeedcontextchipsview.js';import{View as _0x340187}from'ckeditor5/src/ui.js';function _0x54f6(_0xa5af6f,_0x2eef5d){var _0x4e1c07=_0x4e1c();return _0x54f6=function(_0x54f6e9,_0xad1e37){_0x54f6e9=_0x54f6e9-0x161;var _0x45a1ed=_0x4e1c07[_0x54f6e9];return _0x45a1ed;},_0x54f6(_0xa5af6f,_0x2eef5d);}export class AIChatFeedUserMessageItemView extends _0x27fe9b{[_0x9b45cc(0x180)]=null;[_0x9b45cc(0x163)];[_0x9b45cc(0x17b)];[_0x9b45cc(0x173)];constructor(_0x21a7fb,_0x5f03ec,_0xe1bb37){var _0x52c23e=_0x9b45cc;super(_0x5f03ec),this[_0x52c23e(0x163)]=_0x21a7fb,this[_0x52c23e(0x17b)]=_0xe1bb37,this[_0x52c23e(0x17f)](),this[_0x52c23e(0x172)](),this[_0x52c23e(0x16e)]({'attributes':{'class':[_0x52c23e(0x16c)]}});}[_0x9b45cc(0x17f)](){var _0x31deec=_0x9b45cc;this[_0x31deec(0x181)][_0x31deec(0x168)]&&this[_0x31deec(0x181)][_0x31deec(0x168)][_0x31deec(0x16a)]>0x0&&(this[_0x31deec(0x180)]=new _0x42ddc4(this[_0x31deec(0x163)],this[_0x31deec(0x181)][_0x31deec(0x168)][_0x31deec(0x177)](_0x268ee5=>!_0x268ee5[_0x31deec(0x183)]),this[_0x31deec(0x17b)]),this[_0x31deec(0x180)][_0x31deec(0x16e)]({'attributes':{'class':_0x31deec(0x175)}}),this[_0x31deec(0x184)][_0x31deec(0x17a)](this[_0x31deec(0x180)]));}[_0x9b45cc(0x172)](){var _0x22ecc9=_0x9b45cc;this[_0x22ecc9(0x173)]=new _0x340187(this[_0x22ecc9(0x163)]),this[_0x22ecc9(0x173)][_0x22ecc9(0x167)]({'tag':_0x22ecc9(0x174),'attributes':{'class':_0x22ecc9(0x16f)}}),this[_0x22ecc9(0x184)][_0x22ecc9(0x17a)](this[_0x22ecc9(0x173)]);}[_0x9b45cc(0x16b)](){var _0x101611=_0x9b45cc;super[_0x101611(0x16b)](),this[_0x101611(0x173)][_0x101611(0x164)][_0x101611(0x166)]=this[_0x101611(0x181)][_0x101611(0x178)],this[_0x101611(0x17e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c2088=_0x3dde;function _0x2f2d(){const _0x231621=['564004FZOXsf','abortPromptStream','1727IOsAea','11965550NLSAac','addResourceToContext','addFileToContext','226RqYXOY','32ICGLCi','2919nAilFd','loadSourceResources','210UrTvQS','startConversation','addUrlToContext','125770cRPNyR','removeContextItem','6gAIJMm','selectModel','sendUserMessage','resizeTabs','21372HCSefC','8622198QReyoU','toggleWebSearch','145932gIIcgs','toggleReasoning','addDocumentToContext'];_0x2f2d=function(){return _0x231621;};return _0x2f2d();}function _0x3dde(_0x232ba5,_0xa77352){const _0x2f2d4e=_0x2f2d();return _0x3dde=function(_0x3dde25,_0x359b58){_0x3dde25=_0x3dde25-0x6f;let _0x5aecba=_0x2f2d4e[_0x3dde25];return _0x5aecba;},_0x3dde(_0x232ba5,_0xa77352);}(function(_0x23c902,_0x1a82d9){const _0x45947b=_0x3dde,_0x17c56b=_0x23c902();while(!![]){try{const _0x2d7678=parseInt(_0x45947b(0x7c))/0x1*(-parseInt(_0x45947b(0x7a))/0x2)+parseInt(_0x45947b(0x83))/0x3*(-parseInt(_0x45947b(0x71))/0x4)+-parseInt(_0x45947b(0x81))/0x5*(-parseInt(_0x45947b(0x7e))/0x6)+-parseInt(_0x45947b(0x74))/0x7*(-parseInt(_0x45947b(0x7b))/0x8)+parseInt(_0x45947b(0x6f))/0x9+-parseInt(_0x45947b(0x77))/0xa+-parseInt(_0x45947b(0x76))/0xb*(-parseInt(_0x45947b(0x87))/0xc);if(_0x2d7678===_0x1a82d9)break;else _0x17c56b['push'](_0x17c56b['shift']());}catch(_0x56e2cc){_0x17c56b['push'](_0x17c56b['shift']());}}}(_0x2f2d,0xcd4f5));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x48566e}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x48566e,_0x1c2088(0x7f),_0x1c2088(0x86),_0x1c2088(0x85),_0x1c2088(0x75),_0x1c2088(0x73),_0x1c2088(0x79),_0x1c2088(0x80),_0x1c2088(0x78),_0x1c2088(0x82),_0x1c2088(0x7d),_0x1c2088(0x70),_0x1c2088(0x72),_0x1c2088(0x84)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x39f29d=_0x1329;(function(_0x151ea3,_0x4e4b33){const _0x3fcf35=_0x1329,_0x4b2bba=_0x151ea3();while(!![]){try{const _0x34b9ab=parseInt(_0x3fcf35(0x192))/0x1+-parseInt(_0x3fcf35(0x18b))/0x2+-parseInt(_0x3fcf35(0x198))/0x3+parseInt(_0x3fcf35(0x18e))/0x4+-parseInt(_0x3fcf35(0x193))/0x5+-parseInt(_0x3fcf35(0x19b))/0x6*(parseInt(_0x3fcf35(0x185))/0x7)+-parseInt(_0x3fcf35(0x18c))/0x8*(-parseInt(_0x3fcf35(0x194))/0x9);if(_0x34b9ab===_0x4e4b33)break;else _0x4b2bba['push'](_0x4b2bba['shift']());}catch(_0x567f5a){_0x4b2bba['push'](_0x4b2bba['shift']());}}}(_0x1752,0xbeb8c));import{EmitterMixin as _0x29ad8a}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x29ad8a(){[_0x39f29d(0x195)]=[];[_0x39f29d(0x196)]=!0x1;[_0x39f29d(0x190)];async[_0x39f29d(0x18d)](_0x4c54a6){const _0x471a37=_0x39f29d,_0x4471dd=this[_0x471a37(0x19d)](_0x4c54a6);return this[_0x471a37(0x195)][_0x471a37(0x183)](_0x4471dd),this[_0x471a37(0x18f)](),_0x4471dd[_0x471a37(0x19c)];}[_0x39f29d(0x199)](){const _0x296165=_0x39f29d;this[_0x296165(0x196)]&&(this[_0x296165(0x190)][_0x296165(0x199)](),this[_0x296165(0x190)]=void 0x0,this[_0x296165(0x195)]=[],this[_0x296165(0x19a)](_0x296165(0x189)),this[_0x296165(0x196)]=!0x1);}get[_0x39f29d(0x19e)](){const _0x276047=_0x39f29d;return this[_0x276047(0x195)][_0x276047(0x187)]||this[_0x276047(0x196)]?new Promise(_0x29a8c7=>{const _0x5de567=_0x276047;this[_0x5de567(0x188)](_0x5de567(0x189),()=>{_0x29a8c7();});}):Promise[_0x276047(0x191)]();}async[_0x39f29d(0x18f)](){const _0x26c47c=_0x39f29d;if(!this[_0x26c47c(0x196)]){this[_0x26c47c(0x190)]=new AbortController(),this[_0x26c47c(0x196)]=!0x0;try{for(;this[_0x26c47c(0x195)][_0x26c47c(0x187)]&&this[_0x26c47c(0x196)];){const _0x49cd97=this[_0x26c47c(0x195)][_0x26c47c(0x197)]();try{await _0x49cd97[_0x26c47c(0x18a)](this[_0x26c47c(0x190)][_0x26c47c(0x186)]),_0x49cd97[_0x26c47c(0x191)]();}catch(_0xf8fc30){_0x49cd97[_0x26c47c(0x184)](_0xf8fc30);}}}finally{this[_0x26c47c(0x196)]=!0x1,this[_0x26c47c(0x190)]=void 0x0;}this[_0x26c47c(0x19a)](_0x26c47c(0x189));}}[_0x39f29d(0x19d)](_0x180dcd){let _0x509182,_0xde3044;const _0x2ba759=new Promise((_0x135887,_0x405b9a)=>{_0x509182=_0x135887,_0xde3044=_0x405b9a;});return{'callback':_0x180dcd,'resolve':_0x509182,'reject':_0xde3044,'completePromise':_0x2ba759};}}function _0x1329(_0x377d3b,_0x4e5c0e){const _0x175254=_0x1752();return _0x1329=function(_0x1329ad,_0x345e3f){_0x1329ad=_0x1329ad-0x183;let _0x3bcc89=_0x175254[_0x1329ad];return _0x3bcc89;},_0x1329(_0x377d3b,_0x4e5c0e);}function _0x1752(){const _0x3ffcdf=['push','reject','1336713JdbcqO','signal','length','once','_queueEmpty','callback','238496uYqMQs','196496jGHlIl','enqueue','434116ANPPct','_processQueue','_abortController','resolve','476722UFtlOw','5932195gdpAqS','639aBTqyy','queue','isProcessing','shift','153933IgFPZJ','abort','fire','6DQJozt','completePromise','createTask','queueEmptyPromise'];_0x1752=function(){return _0x3ffcdf;};return _0x1752();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x170a(){const _0x44cf7d=['ArrowDown','destroy','2430696VtMowp','771122fibVot','pointerdown','_isAtBottom','2526100CbQoAP','24952NOWnZe','addEventListener','_stop','End','3283JUJXbJ','PageDown','animationFrameId','includes','_onUserEvent','deltaY','start','336292NaCYvk','signal','bind','element','scrollHeight','9rWgcnO','type','9442090UJwbgr','ArrowUp','wheel','3VCeTyt','PageUp','scrollTo','isUserPaused','_rafUpdate','touchstart','abortController','abort','4154958KYiouu','stop','keydown','key','auto','Home','isRunning'];_0x170a=function(){return _0x44cf7d;};return _0x170a();}function _0x294b(_0x145df7,_0x2b10a7){const _0x170a3f=_0x170a();return _0x294b=function(_0x294b32,_0x214fde){_0x294b32=_0x294b32-0x191;let _0x2478ed=_0x170a3f[_0x294b32];return _0x2478ed;},_0x294b(_0x145df7,_0x2b10a7);}const _0x4e38d2=_0x294b;(function(_0x5819c9,_0xe52aac){const _0x2a5683=_0x294b,_0x4ac0c3=_0x5819c9();while(!![]){try{const _0x32cde6=parseInt(_0x2a5683(0x1bb))/0x1+parseInt(_0x2a5683(0x1ac))/0x2+-parseInt(_0x2a5683(0x19a))/0x3*(parseInt(_0x2a5683(0x1ab))/0x4)+parseInt(_0x2a5683(0x1af))/0x5+parseInt(_0x2a5683(0x1a2))/0x6+parseInt(_0x2a5683(0x1b4))/0x7*(-parseInt(_0x2a5683(0x1b0))/0x8)+-parseInt(_0x2a5683(0x195))/0x9*(-parseInt(_0x2a5683(0x197))/0xa);if(_0x32cde6===_0xe52aac)break;else _0x4ac0c3['push'](_0x4ac0c3['shift']());}catch(_0x3ff092){_0x4ac0c3['push'](_0x4ac0c3['shift']());}}}(_0x170a,0xc1aca));const ps=[_0x4e38d2(0x199),_0x4e38d2(0x19f),_0x4e38d2(0x1ad),_0x4e38d2(0x1a4)],ws=[_0x4e38d2(0x198),_0x4e38d2(0x1a9),_0x4e38d2(0x19b),_0x4e38d2(0x1b5),_0x4e38d2(0x1a7),_0x4e38d2(0x1b3),'\x20'];export class ScrollManager{[_0x4e38d2(0x193)];[_0x4e38d2(0x1b6)];[_0x4e38d2(0x1a8)];[_0x4e38d2(0x1a0)];[_0x4e38d2(0x19d)];constructor(_0x2f257e){const _0x24b63e=_0x4e38d2;this[_0x24b63e(0x193)]=_0x2f257e,this[_0x24b63e(0x1b6)]=null,this[_0x24b63e(0x1a8)]=!0x1,this[_0x24b63e(0x1a0)]=new AbortController(),this[_0x24b63e(0x19d)]=!0x1;for(const _0x40ed64 of ps){const _0x118151=_0x24b63e(0x1a4)!==_0x40ed64;this[_0x24b63e(0x193)][_0x24b63e(0x1b1)](_0x40ed64,this[_0x24b63e(0x1b8)][_0x24b63e(0x192)](this),{'passive':_0x118151,'signal':this[_0x24b63e(0x1a0)][_0x24b63e(0x191)]});}}[_0x4e38d2(0x1ba)](){const _0x7730d4=_0x4e38d2;this[_0x7730d4(0x1a8)]||(this[_0x7730d4(0x1a8)]=!0x0,this[_0x7730d4(0x19d)]=!0x1,this[_0x7730d4(0x1b6)]=requestAnimationFrame(this[_0x7730d4(0x19e)][_0x7730d4(0x192)](this)));}[_0x4e38d2(0x1a3)](){requestAnimationFrame(()=>{const _0x5b4c1d=_0x294b;this[_0x5b4c1d(0x1b2)]();});}[_0x4e38d2(0x1aa)](){const _0x2499c1=_0x4e38d2;this[_0x2499c1(0x1b2)](),this[_0x2499c1(0x1a0)][_0x2499c1(0x1a1)]();}[_0x4e38d2(0x1b2)](){const _0x3ca42d=_0x4e38d2;null!==this[_0x3ca42d(0x1b6)]&&(cancelAnimationFrame(this[_0x3ca42d(0x1b6)]),this[_0x3ca42d(0x1b6)]=null),this[_0x3ca42d(0x1a8)]&&(this[_0x3ca42d(0x1a8)]=!0x1),this[_0x3ca42d(0x19d)]=!0x1;}[_0x4e38d2(0x1b8)](_0x34efa7){const _0x2741fb=_0x4e38d2;if(this[_0x2741fb(0x1a8)]){if(_0x2741fb(0x1a4)===_0x34efa7[_0x2741fb(0x196)]){const _0x4376d5=_0x34efa7[_0x2741fb(0x1a5)];if(!ws[_0x2741fb(0x1b7)](_0x4376d5))return;}_0x34efa7 instanceof WheelEvent?_0x34efa7[_0x2741fb(0x1b9)]<0x0?this[_0x2741fb(0x19d)]=!0x0:this[_0x2741fb(0x19d)]=!this[_0x2741fb(0x1ae)]():this[_0x2741fb(0x19d)]=!0x0;}}[_0x4e38d2(0x1ae)](){const _0x5c8418=_0x4e38d2,{scrollTop:_0x20efa4,scrollHeight:_0x179939,clientHeight:_0x28612e}=this[_0x5c8418(0x193)];return _0x179939-_0x20efa4-_0x28612e<=0x5;}[_0x4e38d2(0x19e)](){const _0x39eff7=_0x4e38d2;this[_0x39eff7(0x1a8)]&&(this[_0x39eff7(0x19d)]||this[_0x39eff7(0x193)][_0x39eff7(0x19c)]({'top':this[_0x39eff7(0x193)][_0x39eff7(0x194)],'behavior':_0x39eff7(0x1a6)}),this[_0x39eff7(0x1b6)]=requestAnimationFrame(this[_0x39eff7(0x19e)][_0x39eff7(0x192)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x407fae=_0x3550;(function(_0x5843e2,_0x12a4c0){var _0x28e172=_0x3550,_0x3f3022=_0x5843e2();while(!![]){try{var _0x1b9625=parseInt(_0x28e172(0x93))/0x1+parseInt(_0x28e172(0x89))/0x2+-parseInt(_0x28e172(0x8c))/0x3*(parseInt(_0x28e172(0x94))/0x4)+parseInt(_0x28e172(0x96))/0x5*(parseInt(_0x28e172(0x90))/0x6)+-parseInt(_0x28e172(0x8a))/0x7*(parseInt(_0x28e172(0x88))/0x8)+-parseInt(_0x28e172(0x91))/0x9+parseInt(_0x28e172(0x8d))/0xa*(parseInt(_0x28e172(0x8f))/0xb);if(_0x1b9625===_0x12a4c0)break;else _0x3f3022['push'](_0x3f3022['shift']());}catch(_0x1ea75d){_0x3f3022['push'](_0x3f3022['shift']());}}}(_0x1978,0x8ad3b));function _0x3550(_0xfe3d02,_0x4b2a53){var _0x19786e=_0x1978();return _0x3550=function(_0x35503d,_0x2b932b){_0x35503d=_0x35503d-0x88;var _0x8773bb=_0x19786e[_0x35503d];return _0x8773bb;},_0x3550(_0xfe3d02,_0x4b2a53);}import{ContextPlugin as _0x3815b4}from'ckeditor5/src/core.js';function _0x1978(){var _0x232246=['128788vsnjMR','AIChatHistory','5OacJdu','isPremiumPlugin','120104JikPIC','443750UigbxD','217LGowFE','requires','6VtphUz','60590nMlfOJ','pluginName','1826GokqYD','3095754jrHonr','6148737dDLKFN','isOfficialPlugin','37997UnlPFG'];_0x1978=function(){return _0x232246;};return _0x1978();}import{AIChatHistoryController as _0x370862}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x1453eb}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3815b4{static get[_0x407fae(0x8b)](){return[_0x370862,_0x1453eb];}static get[_0x407fae(0x8e)](){var _0x5894b1=_0x407fae;return _0x5894b1(0x95);}static get[_0x407fae(0x92)](){return!0x0;}static get[_0x407fae(0x97)](){return!0x0;}}
|