@ckeditor/ckeditor5-ai 47.6.1 → 47.6.2
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/LICENSE.md +0 -4
- package/build/ai.js +2 -1
- package/dist/index.js +5 -5
- 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 -16
- 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.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- 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/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- 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/ui/aichatballoonview.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/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.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/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.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/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 +2 -2
- 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/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.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/aimodels.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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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/aicore/utils/scrollmanager.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.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/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.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/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- 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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x281f(_0x500598,_0x5c3ec9){const _0x3fbd66=_0x3fbd();return _0x281f=function(_0x281f94,_0x3d1229){_0x281f94=_0x281f94-0x72;let _0x3c77a0=_0x3fbd66[_0x281f94];return _0x3c77a0;},_0x281f(_0x500598,_0x5c3ec9);}const _0x559817=_0x281f;(function(_0xa0eeaf,_0x128c83){const _0x2331ac=_0x281f,_0x4b2515=_0xa0eeaf();while(!![]){try{const _0x311e87=-parseInt(_0x2331ac(0x7b))/0x1*(parseInt(_0x2331ac(0x7d))/0x2)+-parseInt(_0x2331ac(0x79))/0x3*(-parseInt(_0x2331ac(0x77))/0x4)+parseInt(_0x2331ac(0x75))/0x5+-parseInt(_0x2331ac(0x7e))/0x6+-parseInt(_0x2331ac(0x73))/0x7*(-parseInt(_0x2331ac(0x7c))/0x8)+parseInt(_0x2331ac(0x76))/0x9+parseInt(_0x2331ac(0x7a))/0xa;if(_0x311e87===_0x128c83)break;else _0x4b2515['push'](_0x4b2515['shift']());}catch(_0x19c2ab){_0x4b2515['push'](_0x4b2515['shift']());}}}(_0x3fbd,0x66097));import{ListView as _0x31e443}from'ckeditor5/src/ui.js';function _0x3fbd(){const _0x5d3ffc=['4138146zuZMzr','length','14uQLJTi','items','243460ylzAhD','3203901SstVjZ','3252544AZjQKU','filter','3SwPlDB','773420lSEdsM','1AQFOpH','1369896ZtHRBa','1059998GYNYyW'];_0x3fbd=function(){return _0x5d3ffc;};return _0x3fbd();}export class AIChatPromptSuggestionsListView extends _0x31e443{[_0x559817(0x78)](){const _0x4dbfb0=_0x559817;let _0x124fe3=0x0;for(const _0xd3b234 of this[_0x4dbfb0(0x74)])_0x124fe3+=_0xd3b234[_0x4dbfb0(0x74)][_0x4dbfb0(0x72)];return{'resultsCount':_0x124fe3,'totalItemsCount':_0x124fe3};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4df27f=_0x3a33;(function(_0x5c6a4d,_0x554e2b){const _0x4e90ce=_0x3a33,_0x5110bb=_0x5c6a4d();while(!![]){try{const _0x53495a=parseInt(_0x4e90ce(0xaf))/0x1*(parseInt(_0x4e90ce(0xa7))/0x2)+parseInt(_0x4e90ce(0xa9))/0x3+parseInt(_0x4e90ce(0xb4))/0x4+parseInt(_0x4e90ce(0xb1))/0x5*(-parseInt(_0x4e90ce(0xad))/0x6)+parseInt(_0x4e90ce(0xba))/0x7+parseInt(_0x4e90ce(0xa1))/0x8*(-parseInt(_0x4e90ce(0x9f))/0x9)+-parseInt(_0x4e90ce(0xaa))/0xa;if(_0x53495a===_0x554e2b)break;else _0x5110bb['push'](_0x5110bb['shift']());}catch(_0xafb154){_0x5110bb['push'](_0x5110bb['shift']());}}}(_0x5f56,0xd20b4));function _0x3a33(_0x997756,_0xfb8777){const _0x5f5632=_0x5f56();return _0x3a33=function(_0x3a33c1,_0x262707){_0x3a33c1=_0x3a33c1-0x9c;let _0x53495e=_0x5f5632[_0x3a33c1];return _0x53495e;},_0x3a33(_0x997756,_0xfb8777);}import{ListView as _0x558c04}from'ckeditor5/src/ui.js';function _0x5f56(){const _0x21d7dd=['clear','replace','execute','ck-ai-chat-resources__list','forEach','29331EENtOU','highlightText','3560wnEfRU','items','label','test','trim','addResourceToContext','2bJSAbn','extendTemplate','950619bEPKNn','12093660oxmDVv','fire','add','149964EsSjfa','setResources','1456251bVxyFh','\x5c$&','15JrrRNm','updateResourceState','locale','4451444QmkFwl','_source','resource','_handleResourceSelection','filter','useDefaultFiltering','4962706kPYBIb'];_0x5f56=function(){return _0x21d7dd;};return _0x5f56();}import{AIChatResourceListItemView as _0x55d5e1}from'./aichatresourcelistitemview.js';const uc=_0x4df27f(0x9d);export class AIChatContextResourcesListView extends _0x558c04{[_0x4df27f(0xb5)];constructor(_0x243bb5,_0x2a5db0){const _0x185556=_0x4df27f;super(_0x243bb5),this[_0x185556(0xb5)]=_0x2a5db0,this[_0x185556(0xa8)]({'attributes':{'class':[uc]}});}[_0x4df27f(0xae)](_0x34bb19,_0x2ab00c){const _0xe95d52=_0x4df27f;this[_0xe95d52(0xa2)][_0xe95d52(0xbb)]();let _0x18619e=_0x34bb19;if(this[_0xe95d52(0xb5)][_0xe95d52(0xb9)]&&_0x2ab00c&&''!==_0x2ab00c[_0xe95d52(0xa5)]()){const _0x3c8837=new RegExp(_0x2ab00c[_0xe95d52(0xbc)](/[.*+?^${}()|[\]\\]/g,_0xe95d52(0xb0)),'gi');_0x18619e=_0x34bb19[_0xe95d52(0xb8)](_0x3dc83c=>_0x3c8837[_0xe95d52(0xa4)](_0x3dc83c[_0xe95d52(0xa3)]));}for(const _0x3346d6 of _0x18619e){const _0x214fb3=new _0x55d5e1(this[_0xe95d52(0xb3)],_0x3346d6);_0x214fb3['on'](_0xe95d52(0x9c),()=>{const _0x27da2d=_0xe95d52;this[_0x27da2d(0xb7)](this[_0x27da2d(0xb5)],_0x3346d6);}),this[_0xe95d52(0xa2)][_0xe95d52(0xac)](_0x214fb3);}this[_0xe95d52(0xb5)][_0xe95d52(0xb9)]&&this[_0xe95d52(0xa0)](_0x2ab00c);}[_0x4df27f(0xa0)](_0x537c65){const _0x25a770=_0x4df27f;this[_0x25a770(0xb5)][_0x25a770(0xb9)]&&this[_0x25a770(0xa2)][_0x25a770(0x9e)](_0x57d24d=>{const _0x3a3334=_0x25a770;_0x57d24d[_0x3a3334(0xa0)](_0x537c65);});}[_0x4df27f(0xb2)](_0x543af7,_0x2144e1){const _0x5ecd5d=_0x4df27f;for(const _0x535288 of this[_0x5ecd5d(0xa2)]){const _0x262717=_0x535288;_0x262717[_0x5ecd5d(0xb6)]['id']===_0x543af7&&_0x262717[_0x5ecd5d(0xb2)](_0x2144e1);}}[_0x4df27f(0xb7)](_0xb0eae0,_0x52ec7f){const _0x5183ce=_0x4df27f;this[_0x5183ce(0xab)](_0x5183ce(0xa6),{'source':_0xb0eae0,'resource':_0x52ec7f});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fce34=_0x2af5;(function(_0x10aa4a,_0x5d9632){const _0x33e8bd=_0x2af5,_0x5c606e=_0x10aa4a();while(!![]){try{const _0xc04c67=parseInt(_0x33e8bd(0x1a0))/0x1+-parseInt(_0x33e8bd(0x1a8))/0x2*(-parseInt(_0x33e8bd(0x19d))/0x3)+parseInt(_0x33e8bd(0x1ab))/0x4*(parseInt(_0x33e8bd(0x193))/0x5)+-parseInt(_0x33e8bd(0x1b0))/0x6+parseInt(_0x33e8bd(0x18c))/0x7*(-parseInt(_0x33e8bd(0x183))/0x8)+parseInt(_0x33e8bd(0x187))/0x9+-parseInt(_0x33e8bd(0x1a1))/0xa;if(_0xc04c67===_0x5d9632)break;else _0x5c606e['push'](_0x5c606e['shift']());}catch(_0x7f8920){_0x5c606e['push'](_0x5c606e['shift']());}}}(_0x29b4,0xc5cfc));function _0x2af5(_0x5e5cb0,_0x1e6fe7){const _0x29b481=_0x29b4();return _0x2af5=function(_0x2af5e0,_0xffd73a){_0x2af5e0=_0x2af5e0-0x183;let _0x5c1816=_0x29b481[_0x2af5e0];return _0x5c1816;},_0x2af5(_0x5e5cb0,_0x1e6fe7);}import{View as _0x11cab5,ViewCollection as _0x59c633}from'ckeditor5/src/ui.js';import{uid as _0x360468}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x53b965}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x21bfdf}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x16dfc3,SKELETON_DEFINITIONS as _0x2c0570}from'../../../../aicore/ui/aiskeleton.js';function _0x29b4(){const _0x6bea18=['aiChatResources','95980SPWecd','setTemplate','updateResourceState','delegate','searchInputVisibleFrom','highlightText','search','loadResources','_skeletonLoader','_searchSection','28011txWZMz','locale','render','901321IGbnvc','20449680fSYsgC','_createSearchSection','bindTemplate','ck-hidden','_resourcesListView','source','setResources','10egRwZq','_createSearchView','_source','324WBjsMp','_createResourcesListView','ck-ai-chat-resources','children','_latestLoadResourcesUid','147738YEAbrj','div','ck\x20ck-search','add','_searchInputVisibleFrom','4616IgBFve','getQuery','_searchView','addResourceToContext','7188588eqhTYS','set','length','_createSkeletonView','useDefaultFiltering','5117Ecwyxr','has','isLoading','extendTemplate','fire','loadSourceResources'];_0x29b4=function(){return _0x6bea18;};return _0x29b4();}export class AIChatContextResourcesView extends _0x11cab5{[_0x4fce34(0x185)];[_0x4fce34(0x19c)];[_0x4fce34(0x1b4)];[_0x4fce34(0x1a5)];[_0x4fce34(0x19b)];[_0x4fce34(0x1aa)];[_0x4fce34(0x1ae)];[_0x4fce34(0x1af)]=null;constructor(_0x2c039a,_0x2d7b76){const _0x48183c=_0x4fce34;super(_0x2c039a),this[_0x48183c(0x1aa)]=_0x2d7b76[_0x48183c(0x1a6)],this[_0x48183c(0x1b4)]=_0x2d7b76[_0x48183c(0x197)]??0x7,this[_0x48183c(0x188)](_0x48183c(0x18e),!0x0),this[_0x48183c(0x185)]=this[_0x48183c(0x1a9)](),this[_0x48183c(0x19c)]=this[_0x48183c(0x1a2)](),this[_0x48183c(0x1a5)]=this[_0x48183c(0x1ac)](),this[_0x48183c(0x19b)]=this[_0x48183c(0x18a)](),this[_0x48183c(0x1ae)]=new _0x59c633([this[_0x48183c(0x19b)],this[_0x48183c(0x1a5)]]),this[_0x48183c(0x194)]({'tag':_0x48183c(0x1b1),'attributes':{'class':_0x48183c(0x1ad)},'children':this[_0x48183c(0x1ae)]});}[_0x4fce34(0x1a9)](){const _0x1885c2=_0x4fce34;return new _0x21bfdf(this[_0x1885c2(0x19e)]);}[_0x4fce34(0x1a2)](){const _0xb4282c=_0x4fce34,_0x4b5efc=new _0x11cab5(this[_0xb4282c(0x19e)]);return _0x4b5efc[_0xb4282c(0x194)]({'tag':_0xb4282c(0x1b1),'attributes':{'class':_0xb4282c(0x1b2)},'children':[this[_0xb4282c(0x185)]]}),this[_0xb4282c(0x185)]['on'](_0xb4282c(0x199),(_0x5a6747,_0x64aa4)=>{const _0x5b3be0=_0xb4282c;this[_0x5b3be0(0x19a)](_0x64aa4),this[_0x5b3be0(0x1aa)][_0x5b3be0(0x18b)]&&this[_0x5b3be0(0x1a5)][_0x5b3be0(0x198)](_0x64aa4);}),_0x4b5efc;}[_0x4fce34(0x1ac)](){const _0x4c684e=_0x4fce34,_0x57e45a=new _0x53b965(this[_0x4c684e(0x19e)],this[_0x4c684e(0x1aa)]);return _0x57e45a[_0x4c684e(0x196)](_0x4c684e(0x186))['to'](this),_0x57e45a[_0x4c684e(0x18f)]({'attributes':{'class':this[_0x4c684e(0x1a3)]['if'](_0x4c684e(0x18e),_0x4c684e(0x1a4))}}),_0x57e45a;}[_0x4fce34(0x18a)](){const _0x33e790=_0x4fce34,_0x5e5d49=new _0x16dfc3(this[_0x33e790(0x19e)],_0x2c0570[_0x33e790(0x192)]);return _0x5e5d49[_0x33e790(0x18f)]({'attributes':{'class':[this[_0x33e790(0x1a3)]['if'](_0x33e790(0x18e),_0x33e790(0x1a4),_0x3306d2=>!_0x3306d2)]}}),_0x5e5d49;}[_0x4fce34(0x19f)](){const _0x335a2f=_0x4fce34;super[_0x335a2f(0x19f)](),this[_0x335a2f(0x19a)]('');}[_0x4fce34(0x19a)](_0x30bee0){const _0x513010=_0x4fce34,_0x12a8a9=_0x360468();this[_0x513010(0x1af)]=_0x12a8a9,this[_0x513010(0x190)](_0x513010(0x191),{'sourceId':this[_0x513010(0x1aa)]['id'],'query':_0x30bee0,'uid':_0x12a8a9}),this[_0x513010(0x18e)]=!0x0;}[_0x4fce34(0x1a7)](_0x4a9012,_0x345fbf){const _0x32ffec=_0x4fce34;if(_0x345fbf&&_0x345fbf!==this[_0x32ffec(0x1af)])return;const _0x4c782c=this[_0x32ffec(0x1aa)][_0x32ffec(0x18b)]?this[_0x32ffec(0x185)][_0x32ffec(0x184)]():'';this[_0x32ffec(0x1a5)][_0x32ffec(0x1a7)](_0x4a9012,_0x4c782c),_0x4a9012[_0x32ffec(0x189)]>=this[_0x32ffec(0x1b4)]&&!this[_0x32ffec(0x1ae)][_0x32ffec(0x18d)](this[_0x32ffec(0x19c)])&&this[_0x32ffec(0x1ae)][_0x32ffec(0x1b3)](this[_0x32ffec(0x19c)],0x0),requestAnimationFrame(()=>{const _0x309e71=_0x32ffec;this[_0x309e71(0x18e)]=!0x1;});}[_0x4fce34(0x195)](_0x5add24,_0x2102e4){const _0x897919=_0x4fce34;this[_0x897919(0x1a5)][_0x897919(0x195)](_0x5add24,_0x2102e4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4cf8(_0x28dd05,_0x480a1a){const _0x29a120=_0x29a1();return _0x4cf8=function(_0x4cf8b1,_0x3819f6){_0x4cf8b1=_0x4cf8b1-0x7c;let _0x516d15=_0x29a120[_0x4cf8b1];return _0x516d15;},_0x4cf8(_0x28dd05,_0x480a1a);}const _0x3c39f7=_0x4cf8;(function(_0x41d222,_0x504df9){const _0x8ebfc3=_0x4cf8,_0x52734c=_0x41d222();while(!![]){try{const _0x4fcac9=parseInt(_0x8ebfc3(0xa3))/0x1*(parseInt(_0x8ebfc3(0x91))/0x2)+-parseInt(_0x8ebfc3(0xa6))/0x3+parseInt(_0x8ebfc3(0xa4))/0x4+parseInt(_0x8ebfc3(0x83))/0x5+-parseInt(_0x8ebfc3(0xa1))/0x6+-parseInt(_0x8ebfc3(0x95))/0x7+parseInt(_0x8ebfc3(0x7e))/0x8*(parseInt(_0x8ebfc3(0x9a))/0x9);if(_0x4fcac9===_0x504df9)break;else _0x52734c['push'](_0x52734c['shift']());}catch(_0x49c8b2){_0x52734c['push'](_0x52734c['shift']());}}}(_0x29a1,0x8bdfd));import{HighlightedTextView as _0x2e5f3c,IconView as _0x13cb03,ListItemView as _0x58bb56}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x34fedc}from'es-toolkit/compat';function _0x29a1(){const _0x49473b=['TEXT','set','DOCUMENT','6382218ijKJkv','span','1NrGMad','2629836rbcXqE','trim','1172760kJVheB','isInContext','_iconView','146024zCqrRz','_titleView','_setupTemplate','_createIconView','content','2661400xCJxow','ck-ai-chat-resources__item__icon','setTemplate','execute','label','render','div','highlightText','FILE','type','updateResourceState','ck-ai-chat-resources__item','text','resource','2171212CeIePl','isVisible','ck-ai-chat-resources__item-title','_createTitleView','3267831OZPUUA','getResourceIcon','extendTemplate','ck-ai-chat-resources__item--in-context','ck-hidden','108bZNEGy','bindTemplate','URL','_updateIcon'];_0x29a1=function(){return _0x49473b;};return _0x29a1();}import{AIContextItemType as _0x3a0950}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x204db3,IconCheck as _0x167978,IconDocument as _0x4b8643,IconDocumentOutline as _0x2c5b4a,IconLink as _0x2e58ca}from'@ckeditor/ckeditor5-icons';const Jr=_0x3c39f7(0x8e),Kr=_0x3c39f7(0x98),Mr=_0x3c39f7(0x93),Nr=_0x3c39f7(0x84);export class AIChatResourceListItemView extends _0x58bb56{[_0x3c39f7(0x90)];[_0x3c39f7(0x7f)];[_0x3c39f7(0x7d)];constructor(_0x1fc77e,_0x1e9ff3){const _0x4f2831=_0x3c39f7;super(_0x1fc77e),this[_0x4f2831(0x90)]=_0x1e9ff3,this[_0x4f2831(0x9f)](_0x4f2831(0x7c),!!_0x1e9ff3[_0x4f2831(0x7c)]),this[_0x4f2831(0x7f)]=this[_0x4f2831(0x94)](),this[_0x4f2831(0x7d)]=this[_0x4f2831(0x81)](),this[_0x4f2831(0x80)]();}[_0x3c39f7(0x88)](){const _0x3bbe5f=_0x3c39f7;super[_0x3bbe5f(0x88)]();}[_0x3c39f7(0x96)](_0x4e402d){const _0xa5cd09=_0x3c39f7;if(_0x4e402d[_0xa5cd09(0x7c)])return _0x167978;switch(_0x4e402d[_0xa5cd09(0x8c)]){case _0x3a0950[_0xa5cd09(0xa0)]:return _0x4b8643;case _0x3a0950[_0xa5cd09(0x9c)]:return _0x2e58ca;case _0x3a0950[_0xa5cd09(0x8b)]:case _0x3a0950[_0xa5cd09(0x9e)]:return _0x204db3;default:return _0x2c5b4a;}}[_0x3c39f7(0x8a)](_0x36ad48){const _0x48fe4d=_0x3c39f7;if(!_0x36ad48||''===_0x36ad48[_0x48fe4d(0xa5)]())return void this[_0x48fe4d(0x7f)][_0x48fe4d(0x8a)](null);const _0x2d870f=new RegExp(_0x34fedc(_0x36ad48),'gi');this[_0x48fe4d(0x7f)][_0x48fe4d(0x8a)](_0x2d870f);}[_0x3c39f7(0x8d)](_0x12894c){const _0x4710d3=_0x3c39f7;this[_0x4710d3(0x90)][_0x4710d3(0x7c)]=_0x12894c,this[_0x4710d3(0x7c)]=_0x12894c,this[_0x4710d3(0x9d)]();}[_0x3c39f7(0x94)](){const _0x248a71=_0x3c39f7,_0x198810=new _0x2e5f3c();return _0x198810[_0x248a71(0x8f)]=this[_0x248a71(0x90)][_0x248a71(0x87)],_0x198810[_0x248a71(0x97)]({'tag':_0x248a71(0xa2),'attributes':{'class':[Mr]}}),_0x198810;}[_0x3c39f7(0x81)](){const _0x4abff7=_0x3c39f7,_0x379a67=new _0x13cb03();return _0x379a67[_0x4abff7(0x82)]=this[_0x4abff7(0x96)](this[_0x4abff7(0x90)]),_0x379a67;}[_0x3c39f7(0x80)](){const _0x55bc41=_0x3c39f7,_0x55d926=this[_0x55bc41(0x9b)];this[_0x55bc41(0x85)]({'tag':_0x55bc41(0x89),'attributes':{'class':[Jr,_0x55d926['if'](_0x55bc41(0x92),_0x55bc41(0x99),_0x12952a=>!_0x12952a),_0x55d926['if'](_0x55bc41(0x7c),Kr)]},'children':[{'tag':_0x55bc41(0x89),'attributes':{'class':[Nr]},'children':[this[_0x55bc41(0x7d)]]},this[_0x55bc41(0x7f)]],'on':{'click':_0x55d926['to'](_0x55bc41(0x86))}});}[_0x3c39f7(0x9d)](){const _0x4f551c=_0x3c39f7;this[_0x4f551c(0x7d)][_0x4f551c(0x82)]=this[_0x4f551c(0x96)](this[_0x4f551c(0x90)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ca2d7=_0x2ff4;(function(_0x6bfdc6,_0x33ef6c){const _0x5b2838=_0x2ff4,_0x7482e3=_0x6bfdc6();while(!![]){try{const _0x425404=-parseInt(_0x5b2838(0x8a))/0x1*(parseInt(_0x5b2838(0xb5))/0x2)+-parseInt(_0x5b2838(0xa2))/0x3+parseInt(_0x5b2838(0x82))/0x4*(parseInt(_0x5b2838(0x8c))/0x5)+-parseInt(_0x5b2838(0xa8))/0x6*(parseInt(_0x5b2838(0x92))/0x7)+parseInt(_0x5b2838(0x99))/0x8*(-parseInt(_0x5b2838(0xa5))/0x9)+parseInt(_0x5b2838(0xb4))/0xa*(-parseInt(_0x5b2838(0x96))/0xb)+parseInt(_0x5b2838(0xbc))/0xc;if(_0x425404===_0x33ef6c)break;else _0x7482e3['push'](_0x7482e3['shift']());}catch(_0x2026c9){_0x7482e3['push'](_0x7482e3['shift']());}}}(_0x1e8e,0xc37a0));function _0x2ff4(_0x207792,_0x896e1c){const _0x1e8ed1=_0x1e8e();return _0x2ff4=function(_0x2ff429,_0x3a302c){_0x2ff429=_0x2ff429-0x7f;let _0x36286e=_0x1e8ed1[_0x2ff429];return _0x36286e;},_0x2ff4(_0x207792,_0x896e1c);}import{BalloonPanelView as _0x41cb41,ButtonView as _0x40e39f,clickOutsideHandler as _0x159e80,FormHeaderView as _0x58724f}from'ckeditor5/src/ui.js';function _0x1e8e(){const _0x624781=['_config','_getResourcesViewFromBalloon','11nHKLvL','_locale','_addSourceResourceContent','6992wmfrei','clear','once','ck-button-icon\x20ck-button-back','setResources','_createSourceResourceBalloonPanel','hide','onResourceSelected','isAnyResourceBalloonVisible','3840492ikUdgs','values','pin','1161RHGkwi','show','set','78FWHRzF','content','getTargetElement','getLimiterElement','loadSourceResources','updateResourceState','showSourceResourcesBalloon','change:isLoading','populateSourceResourceBalloon','element','add','addResourceToContext','249770nmoEyg','6lesIaf','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','destroy','delete','ck-ai-chat-context-controls__source-balloon-panel','_createBackButton','get','41293848OAcAoT','_createBalloonHeader','execute','onBalloonClosed','label','9916BZSjIM','_setupSingleResourceBalloonClickOutsideHandler','closeSourceResourceBalloon','searchInputVisibleFrom','onBackToContext','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_sourceResourceBalloons','_createBalloonResourcesView','117721KjcqUf','onLoadSourceResources','185JzEcEd','isVisible','children','resource','extendTemplate','_bodyCollection','517545JnNjQv','source'];_0x1e8e=function(){return _0x624781;};return _0x1e8e();}import{IconPreviousArrow as _0x1257fe}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5d83e3}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x36a544}from'./aichatcontextresourcesview.js';const Bc=_0x3ca2d7(0xb9),mc=_0x3ca2d7(0x9c),dc=_0x3ca2d7(0x87);export class AIChatResourcesBalloonView{[_0x3ca2d7(0x88)]=new Map();[_0x3ca2d7(0x91)];[_0x3ca2d7(0x97)];[_0x3ca2d7(0x94)];constructor(_0x31adce,_0x450d33,_0x5a5b7e){const _0x5e4daa=_0x3ca2d7;this[_0x5e4daa(0x97)]=_0x31adce,this[_0x5e4daa(0x91)]=_0x450d33,this[_0x5e4daa(0x94)]=_0x5a5b7e;}[_0x3ca2d7(0xae)]({source:_0x261ea5,withBackButton:_0x4c78bf}){const _0x38fbd3=_0x3ca2d7;let _0x5dfb79=this[_0x38fbd3(0x88)][_0x38fbd3(0xbb)](_0x261ea5['id']);_0x5dfb79||(_0x5dfb79=this[_0x38fbd3(0x9e)](),this[_0x38fbd3(0x88)][_0x38fbd3(0xa7)](_0x261ea5['id'],_0x5dfb79),this[_0x38fbd3(0x83)](_0x5dfb79)),this[_0x38fbd3(0x98)]({'balloonPanel':_0x5dfb79,'source':_0x261ea5,'withBackButton':_0x4c78bf}),_0x5dfb79[_0x38fbd3(0xa6)]();const _0x18cdc7=this[_0x38fbd3(0x94)][_0x38fbd3(0xaa)]();_0x18cdc7&&_0x5dfb79[_0x38fbd3(0xa4)]({'target':_0x18cdc7,'limiter':this[_0x38fbd3(0x94)][_0x38fbd3(0xab)]()});}[_0x3ca2d7(0xb0)](_0x198f47,_0x2ae68c,_0x89a494){const _0x1d9055=_0x3ca2d7,_0x1f6c2b=this[_0x1d9055(0x88)][_0x1d9055(0xbb)](_0x198f47);if(!_0x1f6c2b)return;const _0x256a34=this[_0x1d9055(0x95)](_0x1f6c2b);_0x256a34&&(_0x256a34[_0x1d9055(0x9d)](_0x2ae68c,_0x89a494),_0x256a34[_0x1d9055(0x9b)](_0x1d9055(0xaf),()=>{const _0xc6c93a=_0x1d9055;_0x1f6c2b[_0xc6c93a(0xa4)]({'target':this[_0xc6c93a(0x94)][_0xc6c93a(0xaa)](),'limiter':this[_0xc6c93a(0x94)][_0xc6c93a(0xab)]()});}));}[_0x3ca2d7(0x84)](_0x47bec2){const _0x5836ce=_0x3ca2d7,_0x3c9582=this[_0x5836ce(0x88)][_0x5836ce(0xbb)](_0x47bec2);_0x3c9582&&requestAnimationFrame(()=>{const _0x423700=_0x5836ce;_0x3c9582[_0x423700(0x9f)](),this[_0x423700(0x88)][_0x423700(0xb8)](_0x47bec2),this[_0x423700(0x94)][_0x423700(0x80)]();});}[_0x3ca2d7(0xa1)](){const _0x55121b=_0x3ca2d7;for(const _0x4f6949 of this[_0x55121b(0x88)][_0x55121b(0xa3)]())if(_0x4f6949[_0x55121b(0x8d)])return!0x0;return!0x1;}[_0x3ca2d7(0xad)](_0x2d0cb1,_0x5c024e,_0x4cd4ce){const _0x550eeb=_0x3ca2d7,_0x1f6d1b=this[_0x550eeb(0x88)][_0x550eeb(0xbb)](_0x2d0cb1);if(!_0x1f6d1b||!_0x1f6d1b[_0x550eeb(0x8d)])return;const _0x26f460=this[_0x550eeb(0x94)][_0x550eeb(0xaa)]();if(!_0x26f460)return;_0x1f6d1b[_0x550eeb(0xa4)]({'target':_0x26f460,'limiter':this[_0x550eeb(0x94)][_0x550eeb(0xab)]()});const _0x5d5900=this[_0x550eeb(0x95)](_0x1f6d1b);_0x5d5900&&_0x5d5900[_0x550eeb(0xad)](_0x5c024e,_0x4cd4ce);}[_0x3ca2d7(0xb7)](){const _0x2eb4c9=_0x3ca2d7;for(const _0x235a69 of this[_0x2eb4c9(0x88)][_0x2eb4c9(0xa3)]())_0x235a69[_0x2eb4c9(0xb7)]();this[_0x2eb4c9(0x88)][_0x2eb4c9(0x9a)]();}[_0x3ca2d7(0x9e)](){const _0x255aaf=_0x3ca2d7,_0x58c9f9=new _0x41cb41(this[_0x255aaf(0x97)]);return _0x58c9f9[_0x255aaf(0x90)]({'attributes':{'class':Bc}}),this[_0x255aaf(0x91)][_0x255aaf(0xb2)](_0x58c9f9),_0x58c9f9;}[_0x3ca2d7(0x98)]({balloonPanel:_0x1a0298,source:_0x4c2bb1,withBackButton:_0x3212fa}){const _0x1148d1=_0x3ca2d7;_0x1a0298[_0x1148d1(0xa9)][_0x1148d1(0x9a)]();const _0x4644cd=this[_0x1148d1(0xbd)]({'balloonPanel':_0x1a0298,'source':_0x4c2bb1,'withBackButton':_0x3212fa});_0x1a0298[_0x1148d1(0xa9)][_0x1148d1(0xb2)](_0x4644cd);const _0x407c2a=this[_0x1148d1(0x89)](_0x4c2bb1);_0x1a0298[_0x1148d1(0xa9)][_0x1148d1(0xb2)](_0x407c2a);}[_0x3ca2d7(0xbd)]({balloonPanel:_0x12a105,source:_0x412b49,withBackButton:_0x30eb20}){const _0x27dbcf=_0x3ca2d7,_0x15bb04=new _0x58724f(this[_0x27dbcf(0x97)],{'label':_0x412b49[_0x27dbcf(0x81)],'class':dc});return _0x30eb20&&_0x15bb04[_0x27dbcf(0x8e)][_0x27dbcf(0xb2)](this[_0x27dbcf(0xba)](_0x12a105),0x0),_0x15bb04;}[_0x3ca2d7(0xba)](_0x4b05ff){const _0x4db626=_0x3ca2d7,_0x27d07a=new _0x40e39f(this[_0x4db626(0x97)]);return _0x27d07a[_0x4db626(0xa7)]({'icon':_0x1257fe,'tooltip':_0x5d83e3(this[_0x4db626(0x97)],_0x4db626(0xb6)),'tooltipPosition':'n','class':mc}),_0x27d07a['on'](_0x4db626(0x7f),()=>{const _0x384745=_0x4db626;_0x4b05ff[_0x384745(0x9f)](),this[_0x384745(0x94)][_0x384745(0x86)]();}),_0x27d07a;}[_0x3ca2d7(0x89)](_0x2001b9){const _0x196a1a=_0x3ca2d7,_0xf92185=new _0x36a544(this[_0x196a1a(0x97)],{'source':_0x2001b9,'searchInputVisibleFrom':this[_0x196a1a(0x94)][_0x196a1a(0x85)]});return _0xf92185['on'](_0x196a1a(0xac),(_0x57104c,_0x55c6e0)=>{const _0x681cbf=_0x196a1a;this[_0x681cbf(0x94)][_0x681cbf(0x8b)](_0x55c6e0);}),_0xf92185['on'](_0x196a1a(0xb3),(_0x1c05b8,_0x5c742a)=>{const _0xdb40a1=_0x196a1a;this[_0xdb40a1(0x94)][_0xdb40a1(0xa0)](_0x5c742a[_0xdb40a1(0x93)],_0x5c742a[_0xdb40a1(0x8f)]),this[_0xdb40a1(0x84)](_0x2001b9['id']);}),_0xf92185;}[_0x3ca2d7(0x95)](_0x27ff58){const _0x518c18=_0x3ca2d7,_0x2d805f=_0x27ff58[_0x518c18(0xa9)][_0x518c18(0xbb)](0x1);return _0x2d805f instanceof _0x36a544?_0x2d805f:null;}[_0x3ca2d7(0x83)](_0x2b9df5){const _0x1f1ac5=_0x3ca2d7;_0x159e80({'emitter':_0x2b9df5,'contextElements':[_0x2b9df5[_0x1f1ac5(0xb1)]],'callback':()=>{const _0x1a4dff=_0x1f1ac5;_0x2b9df5[_0x1a4dff(0x9f)](),this[_0x1a4dff(0x94)][_0x1a4dff(0x80)]();},'activator':()=>_0x2b9df5[_0x1f1ac5(0x8d)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x747861,IconView as _0x42c45d,LabeledFieldView as _0x4e7a94,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x2adf6e,IconCancel as _0x3bb25f}from'ckeditor5/src/icons.js';import{getTranslation as _0x15ae84}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x4e7a94{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x143096){const t=_0x143096['t'],_0x2e2b3e={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x15ae84(_0x143096,'AI_CHAT_SEARCH_RESOURCES')};super(_0x143096,_0x2e2b3e['creator']),this['label']=_0x2e2b3e['label'],this['_viewConfig']=_0x2e2b3e,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x143096,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x21813a){this['fire']('search',_0x21813a);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x42c45d(),this['iconView']['content']=_0x2adf6e,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x28a223,t){this['resetButtonView']=new _0x747861(_0x28a223),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3bb25f,'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',_0x41df38=>!_0x41df38),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
|
+
function _0x9860(){const _0x454741=['ck-ai-chat-context-controls__show-more-balloon-panel','destroy','createCollection','379736fFyFeZ','_bodyCollection','querySelector','61539FLmwhJ','ck-ai-chat-context-chips-wrapper','add','_contextChips','ck-ai-chat-controls_context_show-more-button','ck-reset_all','31840cQGBiY','ck-ai-chat__feed__context-chips','render','setTemplate','ck-ai-chat-context-chips-wrapper-balloon','setContainerElement','7389MKBVGl','div','_overflowManager','536tVSQRX','1018065MCinoA','762138IoJodX','_createContextChips','ck-ai-chat-controls-button','reorganizeChips','190452rnPQZF','locale','element','16VgsKtI'];_0x9860=function(){return _0x454741;};return _0x9860();}const _0x55dc19=_0x4990;function _0x4990(_0x5ad2e5,_0x176df4){const _0x9860ae=_0x9860();return _0x4990=function(_0x499062,_0x5728bd){_0x499062=_0x499062-0x68;let _0x5ec8c4=_0x9860ae[_0x499062];return _0x5ec8c4;},_0x4990(_0x5ad2e5,_0x176df4);}(function(_0x27aa4b,_0x2f8811){const _0x220aea=_0x4990,_0x84e740=_0x27aa4b();while(!![]){try{const _0x33b84f=parseInt(_0x220aea(0x82))/0x1+parseInt(_0x220aea(0x75))/0x2*(-parseInt(_0x220aea(0x7c))/0x3)+parseInt(_0x220aea(0x72))/0x4+parseInt(_0x220aea(0x6d))/0x5+parseInt(_0x220aea(0x6e))/0x6+-parseInt(_0x220aea(0x79))/0x7+-parseInt(_0x220aea(0x6c))/0x8*(parseInt(_0x220aea(0x69))/0x9);if(_0x33b84f===_0x2f8811)break;else _0x84e740['push'](_0x84e740['shift']());}catch(_0x5b963f){_0x84e740['push'](_0x84e740['shift']());}}}(_0x9860,0x2161a));import{View as _0x3d59df}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x9e3576}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x507137}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x55dc19(0x83),nc=_0x55dc19(0x7d),ac=_0x55dc19(0x86),jo=_0x55dc19(0x70),Xo=_0x55dc19(0x80),yo=_0x55dc19(0x76);export class AIChatFeedContextChipsView extends _0x3d59df{[_0x55dc19(0x7f)]=this[_0x55dc19(0x78)]();[_0x55dc19(0x6b)];[_0x55dc19(0x7a)];constructor(_0x114cc3,_0x2dd6c5,_0x1ea3b4){const _0x56ee32=_0x55dc19;super(_0x114cc3),this[_0x56ee32(0x7a)]=_0x1ea3b4,this[_0x56ee32(0x6f)](_0x2dd6c5);const _0x217ad0={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':ac,'controlsButton':jo}};this[_0x56ee32(0x6b)]=new _0x507137(_0x114cc3,this[_0x56ee32(0x7f)],_0x217ad0,this[_0x56ee32(0x7a)],this),this[_0x56ee32(0x85)]({'tag':_0x56ee32(0x6a),'attributes':{'class':[oc,'ck',_0x56ee32(0x81)]},'children':[{'tag':_0x56ee32(0x6a),'attributes':{'class':nc},'children':this[_0x56ee32(0x7f)]}]});}[_0x55dc19(0x84)](){const _0x30fef5=_0x55dc19;super[_0x30fef5(0x84)]();const _0x1904df=this[_0x30fef5(0x74)][_0x30fef5(0x7b)]('.'+nc);_0x1904df&&(this[_0x30fef5(0x6b)][_0x30fef5(0x68)](_0x1904df),this[_0x30fef5(0x6b)][_0x30fef5(0x71)]());}[_0x55dc19(0x77)](){const _0x40cc5f=_0x55dc19;super[_0x40cc5f(0x77)](),this[_0x40cc5f(0x6b)][_0x40cc5f(0x77)]();}[_0x55dc19(0x6f)](_0x47c745){const _0x47f3a=_0x55dc19;for(const _0x42dfa9 of _0x47c745){const _0x9ea295=new _0x9e3576(this[_0x47f3a(0x73)],_0x42dfa9,!0x0,!0x1);this[_0x47f3a(0x7f)][_0x47f3a(0x7e)](_0x9ea295);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x14b25a=_0x5e0b;function _0x3d9c(){var _0x20e6af=['extendTemplate','8QsyasY','innerHTML','render','9mWpNLP','appendChild','239970sTrsba','ck-ai-chat__feed__custom-element','string','1744893XTeAMf','content','659800FjOWuR','2222408pvHwsq','options','element','10032160gdijqZ','7dvrsNz','2269758deNNhx','259184Zngvgu'];_0x3d9c=function(){return _0x20e6af;};return _0x3d9c();}function _0x5e0b(_0xc78476,_0x4d6a2c){var _0x3d9c60=_0x3d9c();return _0x5e0b=function(_0x5e0bd6,_0x4145a6){_0x5e0bd6=_0x5e0bd6-0xd6;var _0x4d92e5=_0x3d9c60[_0x5e0bd6];return _0x4d92e5;},_0x5e0b(_0xc78476,_0x4d6a2c);}(function(_0x5e3095,_0x34f2c3){var _0x60626b=_0x5e0b,_0x593b66=_0x5e3095();while(!![]){try{var _0x1cf23a=-parseInt(_0x60626b(0xe2))/0x1+-parseInt(_0x60626b(0xd6))/0x2*(-parseInt(_0x60626b(0xe7))/0x3)+parseInt(_0x60626b(0xe4))/0x4*(parseInt(_0x60626b(0xdb))/0x5)+parseInt(_0x60626b(0xe1))/0x6*(parseInt(_0x60626b(0xe0))/0x7)+parseInt(_0x60626b(0xdc))/0x8+parseInt(_0x60626b(0xd9))/0x9+-parseInt(_0x60626b(0xdf))/0xa;if(_0x1cf23a===_0x34f2c3)break;else _0x593b66['push'](_0x593b66['shift']());}catch(_0x525cb1){_0x593b66['push'](_0x593b66['shift']());}}}(_0x3d9c,0x339f6));import{AIChatFeedItemView as _0x1880f7}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x1880f7{constructor(_0x5d7312){var _0x1f5ce7=_0x5e0b;super(_0x5d7312),this[_0x1f5ce7(0xe3)]({'attributes':{'class':[_0x1f5ce7(0xd7)]}});}async[_0x14b25a(0xe6)](){var _0x5680b6=_0x14b25a;super[_0x5680b6(0xe6)](),_0x5680b6(0xd8)==typeof this[_0x5680b6(0xdd)][_0x5680b6(0xda)]?this[_0x5680b6(0xde)][_0x5680b6(0xe5)]=this[_0x5680b6(0xdd)][_0x5680b6(0xda)]:this[_0x5680b6(0xde)][_0x5680b6(0xe8)](this[_0x5680b6(0xdd)][_0x5680b6(0xda)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3420(){var _0x2fcf8d=['278OeJrCP','3819075gQAaFA','element','extendTemplate','markAsDone','6ENiPUK','setContent','ck-ai-notification','level','22315689yXsqNU','3722700oQRTFr','render','ck-ai-notification_warning','6846545edofMx','initialContent','innerHTML','ck-ai-notification_error','3791872zBoQHG','options','3539263Oogltr','10352iAfFwg','warning'];_0x3420=function(){return _0x2fcf8d;};return _0x3420();}var _0x538eee=_0x4406;(function(_0x5a5cda,_0x13367e){var _0x864857=_0x4406,_0x37fd1e=_0x5a5cda();while(!![]){try{var _0x45411d=parseInt(_0x864857(0xf4))/0x1*(parseInt(_0x864857(0xf6))/0x2)+parseInt(_0x864857(0xf7))/0x3+parseInt(_0x864857(0xea))/0x4+parseInt(_0x864857(0xed))/0x5*(-parseInt(_0x864857(0xe5))/0x6)+parseInt(_0x864857(0xf3))/0x7+parseInt(_0x864857(0xf1))/0x8+-parseInt(_0x864857(0xe9))/0x9;if(_0x45411d===_0x13367e)break;else _0x37fd1e['push'](_0x37fd1e['shift']());}catch(_0x5d5435){_0x37fd1e['push'](_0x37fd1e['shift']());}}}(_0x3420,0xbcd0f));function _0x4406(_0x9e2fdc,_0x1ed345){var _0x34209e=_0x3420();return _0x4406=function(_0x4406ee,_0x531325){_0x4406ee=_0x4406ee-0xe2;var _0x3849be=_0x34209e[_0x4406ee];return _0x3849be;},_0x4406(_0x9e2fdc,_0x1ed345);}import{AIChatFeedItemView as _0x5bb5d3}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5bb5d3{constructor(_0x26ecca){var _0x5b7c77=_0x4406;super(_0x26ecca),this[_0x5b7c77(0xe3)]({'attributes':{'class':[_0x5b7c77(0xe7),_0x5b7c77(0xf5)===_0x26ecca[_0x5b7c77(0xe8)]?_0x5b7c77(0xec):_0x5b7c77(0xf0)]}});}[_0x538eee(0xeb)](){var _0x215e21=_0x538eee;super[_0x215e21(0xeb)](),this[_0x215e21(0xe6)](this[_0x215e21(0xf2)][_0x215e21(0xee)]),this[_0x215e21(0xe4)]();}[_0x538eee(0xe6)](_0x41141c){var _0x13de03=_0x538eee;this[_0x13de03(0xe2)][_0x13de03(0xef)]=_0x41141c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x211a3c=_0x32eb;(function(_0xb3ba33,_0x1af1e1){const _0x3e9150=_0x32eb,_0x389606=_0xb3ba33();while(!![]){try{const _0x40fd7f=parseInt(_0x3e9150(0x152))/0x1+parseInt(_0x3e9150(0x155))/0x2+parseInt(_0x3e9150(0x150))/0x3*(-parseInt(_0x3e9150(0x154))/0x4)+-parseInt(_0x3e9150(0x149))/0x5+parseInt(_0x3e9150(0x147))/0x6+parseInt(_0x3e9150(0x141))/0x7*(parseInt(_0x3e9150(0x14c))/0x8)+-parseInt(_0x3e9150(0x14f))/0x9*(parseInt(_0x3e9150(0x146))/0xa);if(_0x40fd7f===_0x1af1e1)break;else _0x389606['push'](_0x389606['shift']());}catch(_0x2748a2){_0x389606['push'](_0x389606['shift']());}}}(_0x313b,0x35981));function _0x313b(){const _0x40bb3e=['AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','112fFlWTe','setTemplate','push','ck-hidden','children','2250GthdpS','1964220TqjJFz','div','760375PWvRZV','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','148336pUfgNm','content','add','11691KYiemt','538968gdIbMU','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','10997lcLsQi','ck-ai-chat__feed__interaction-header__capabilities','4PfEdbe','416976crkyYM','ck-ai-chat__feed__interaction-header__capabilities__text','extendTemplate','ck-ai-chat__feed__interaction-header','span'];_0x313b=function(){return _0x40bb3e;};return _0x313b();}import{IconBulb as _0x1e5564,IconWeb as _0x1ab907}from'@ckeditor/ckeditor5-icons';function _0x32eb(_0x360a75,_0x1162bd){const _0x313be8=_0x313b();return _0x32eb=function(_0x32eb37,_0x599174){_0x32eb37=_0x32eb37-0x13f;let _0x18f04a=_0x313be8[_0x32eb37];return _0x18f04a;},_0x32eb(_0x360a75,_0x1162bd);}import{IconView as _0x17d6e8,View as _0x4797f5}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x358d12}from'./aichatfeeditemview.js';import{getTranslation as _0x2c417c}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x358d12{[_0x211a3c(0x14a)];constructor(_0x4a84a0,_0x4b4813){const _0x2c1d0e=_0x211a3c;super(_0x4b4813);const {isWebSearchEnabled:_0x14aae2,isReasoningEnabled:_0x414875}=_0x4b4813[_0x2c1d0e(0x14a)],_0xee280c=[];let _0x5a8c02='';_0x14aae2&&_0x414875?(_0x5a8c02=_0x2c417c(_0x4a84a0,_0x2c1d0e(0x14b)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1ab907)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1e5564))):_0x14aae2?(_0x5a8c02=_0x2c417c(_0x4a84a0,_0x2c1d0e(0x140)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1ab907))):_0x414875&&(_0x5a8c02=_0x2c417c(_0x4a84a0,_0x2c1d0e(0x151)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1e5564))),this[_0x2c1d0e(0x157)]({'attributes':{'class':[_0x2c1d0e(0x158),_0x5a8c02?'':_0x2c1d0e(0x144)]}});const _0x4d15ec=new _0x4797f5();_0x4d15ec[_0x2c1d0e(0x142)]({'tag':_0x2c1d0e(0x148),'attributes':{'class':['ck',_0x2c1d0e(0x153)]},'children':[..._0xee280c,{'tag':_0x2c1d0e(0x13f),'attributes':{'class':[_0x2c1d0e(0x156)]},'children':[_0x5a8c02]}]}),this[_0x2c1d0e(0x145)][_0x2c1d0e(0x14e)](_0x4d15ec),this[_0x2c1d0e(0x14a)]=_0x4b4813[_0x2c1d0e(0x14a)];}}function aa(_0x87f392){const _0x358d80=_0x211a3c,_0x151494=new _0x17d6e8();return _0x151494[_0x358d80(0x14d)]=_0x87f392,_0x151494;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x381eae=_0x598a;function _0xe10c(){const _0x4264f3=['ck-hidden','markAsDone','element','stream','ck-ai-chat__feed__item','children','content','ck-ai-chat__feed__item_done','74133OsYzRx','streamIntoElement','animation:\x20ck-html-streamer-fade-in\x20.5s','56KQZfpY','ck-ai-chat__feed__text-item','55wSEDvE','removeAttribute','cleanUpAnimations','255jIoNRV','isDone','createCollection','div','options','202071UZBjyf','querySelectorAll','9162UZVUqQ','htmlStreamer','694554PDynrW','402Mmkpkb','isVisible','forEach','set','bindTemplate','setTemplate','1332380hcDdck','data-id','809140Ftvwky','5844ldehXz','[data-id]'];_0xe10c=function(){return _0x4264f3;};return _0xe10c();}(function(_0x344436,_0x4c0636){const _0x550766=_0x598a,_0xa3979e=_0x344436();while(!![]){try{const _0x3854c5=-parseInt(_0x550766(0x11e))/0x1+parseInt(_0x550766(0x12c))/0x2*(-parseInt(_0x550766(0x123))/0x3)+parseInt(_0x550766(0x129))/0x4+parseInt(_0x550766(0x119))/0x5*(-parseInt(_0x550766(0x120))/0x6)+parseInt(_0x550766(0x122))/0x7+-parseInt(_0x550766(0x139))/0x8*(-parseInt(_0x550766(0x136))/0x9)+parseInt(_0x550766(0x12b))/0xa*(parseInt(_0x550766(0x13b))/0xb);if(_0x3854c5===_0x4c0636)break;else _0xa3979e['push'](_0xa3979e['shift']());}catch(_0x10d7db){_0xa3979e['push'](_0xa3979e['shift']());}}}(_0xe10c,0x3674a));import{View as _0x47302c}from'ckeditor5/src/ui.js';function _0x598a(_0x590882,_0x1460de){const _0xe10c28=_0xe10c();return _0x598a=function(_0x598afe,_0x10cb67){_0x598afe=_0x598afe-0x118;let _0x54d771=_0xe10c28[_0x598afe];return _0x54d771;},_0x598a(_0x590882,_0x1460de);}import{HTMLStreamer as _0x3669a0}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x47302c{[_0x381eae(0x11d)];[_0x381eae(0x134)]='';[_0x381eae(0x121)];[_0x381eae(0x133)];constructor(_0x5f58b3){const _0x5b8003=_0x381eae;super();const _0xb9c2c6=this[_0x5b8003(0x127)];this[_0x5b8003(0x126)](_0x5b8003(0x11a),!0x1),this[_0x5b8003(0x126)](_0x5b8003(0x124),!0x0),this[_0x5b8003(0x121)]=new _0x3669a0({'textNodeStyle':_0x5b8003(0x138),'delay':0x14}),this[_0x5b8003(0x11d)]=_0x5f58b3,this[_0x5b8003(0x133)]=this[_0x5b8003(0x11b)](),this[_0x5b8003(0x128)]({'tag':_0x5b8003(0x11c),'attributes':{'class':['ck',_0x5b8003(0x132),_0xb9c2c6['if'](_0x5b8003(0x11a),_0x5b8003(0x135)),_0xb9c2c6['if'](_0x5b8003(0x124),_0x5b8003(0x12e),_0x16a312=>!_0x16a312),_0x5b8003(0x13a)],'data-cke-ai-id':this[_0x5b8003(0x11d)]['id']},'children':this[_0x5b8003(0x133)]});}[_0x381eae(0x12f)](){const _0x58ea32=_0x381eae;this[_0x58ea32(0x121)][_0x58ea32(0x118)]({'targetElement':this[_0x58ea32(0x130)]}),this[_0x58ea32(0x130)][_0x58ea32(0x11f)](_0x58ea32(0x12d))[_0x58ea32(0x125)](_0x2dbcf4=>{const _0x344142=_0x58ea32;_0x2dbcf4[_0x344142(0x13c)](_0x344142(0x12a));}),this[_0x58ea32(0x11a)]=!0x0;}async[_0x381eae(0x137)](_0x281504,_0x15cc7a,_0xcf2c3b){const _0xb2b2a4=_0x381eae;await this[_0xb2b2a4(0x121)][_0xb2b2a4(0x131)]({'document':_0x281504,'targetElement':_0x15cc7a,'abortSignal':_0xcf2c3b});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xae25(){const _0x254453=['ck-ai-chat__feed__ai-reply','updateContent','balloonPanelView','div','streamIntoElement','1652460LdAOAX','streaming','updateSources','ck-ai-chat__feed__ai-reply-container','children','initialContent','render','3282684LCTTDv','_bodyCollection','options','static','isVisible','ck-reset_all-excluded','9MqoOPO','locale','182545jLjGlR','markAsDone','replyContainer','1081384zzQzrp','innerHTML','149808auxJoJ','map','46VXtUlx','setTemplate','addMany','11kWFbzZ','7ykbCXq','30VdradJ','element','add','25107jrnJcm','extendTemplate','42169gOwnHa'];_0xae25=function(){return _0x254453;};return _0xae25();}function _0x332f(_0x39c0cc,_0x5199b1){const _0xae2593=_0xae25();return _0x332f=function(_0x332f5f,_0x31e587){_0x332f5f=_0x332f5f-0x175;let _0x6f1c53=_0xae2593[_0x332f5f];return _0x6f1c53;},_0x332f(_0x39c0cc,_0x5199b1);}const _0x4b971b=_0x332f;(function(_0x33d973,_0x28b7dd){const _0x8cc941=_0x332f,_0x507ee7=_0x33d973();while(!![]){try{const _0x487a1=-parseInt(_0x8cc941(0x182))/0x1+-parseInt(_0x8cc941(0x178))/0x2*(parseInt(_0x8cc941(0x180))/0x3)+-parseInt(_0x8cc941(0x176))/0x4+parseInt(_0x8cc941(0x197))/0x5*(-parseInt(_0x8cc941(0x17d))/0x6)+-parseInt(_0x8cc941(0x17c))/0x7*(-parseInt(_0x8cc941(0x19a))/0x8)+parseInt(_0x8cc941(0x195))/0x9*(parseInt(_0x8cc941(0x188))/0xa)+-parseInt(_0x8cc941(0x17b))/0xb*(-parseInt(_0x8cc941(0x18f))/0xc);if(_0x487a1===_0x28b7dd)break;else _0x507ee7['push'](_0x507ee7['shift']());}catch(_0x27e30d){_0x507ee7['push'](_0x507ee7['shift']());}}}(_0xae25,0x1d21b));import{AIChatFeedItemView as _0x37d436}from'./aichatfeeditemview.js';import{parse as _0x189c09,render as _0x48d51d}from'../../../aicore/utils/htmlparser.js';import{View as _0x455a06}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x5bb415,AIWebSourceView as _0x4863b7}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x37d436{[_0x4b971b(0x199)];[_0x4b971b(0x190)];constructor(_0x50062c,_0x5c6187,_0x86e7b9){const _0x378146=_0x4b971b;super(_0x5c6187),this[_0x378146(0x190)]=_0x86e7b9,this[_0x378146(0x196)]=_0x50062c,this[_0x378146(0x181)]({'attributes':{'class':[_0x378146(0x183)]}}),this[_0x378146(0x199)]=new _0x455a06(),this[_0x378146(0x199)][_0x378146(0x179)]({'tag':_0x378146(0x186),'attributes':{'class':['ck',_0x378146(0x194),_0x378146(0x18b)]}}),this[_0x378146(0x18c)][_0x378146(0x17f)](this[_0x378146(0x199)]);}async[_0x4b971b(0x18e)](){const _0x664371=_0x4b971b;super[_0x664371(0x18e)](),this[_0x664371(0x191)][_0x664371(0x18d)]&&(await this[_0x664371(0x184)]({'parsedContent':_0x189c09(this[_0x664371(0x191)][_0x664371(0x18d)]),'renderingStrategy':_0x664371(0x192)}),this[_0x664371(0x198)]());}async[_0x4b971b(0x184)]({parsedContent:_0x4536d5,renderingStrategy:_0x1a4ee9,abortSignal:_0x588840}){const _0x46cffe=_0x4b971b;_0x46cffe(0x189)===_0x1a4ee9?await this[_0x46cffe(0x187)](_0x4536d5,this[_0x46cffe(0x199)][_0x46cffe(0x17e)],_0x588840):this[_0x46cffe(0x199)][_0x46cffe(0x17e)][_0x46cffe(0x175)]=_0x48d51d(_0x4536d5);}[_0x4b971b(0x18a)](_0x16beed){const _0x1a4504=_0x4b971b,_0x536397=new _0x5bb415(this[_0x1a4504(0x196)],this[_0x1a4504(0x190)]);_0x536397[_0x1a4504(0x18c)][_0x1a4504(0x17a)](_0x16beed[_0x1a4504(0x177)](_0x51e8f4=>new _0x4863b7(this[_0x1a4504(0x196)],_0x51e8f4,_0x536397[_0x1a4504(0x185)]))),_0x536397[_0x1a4504(0x193)]=!0x0,this[_0x1a4504(0x18c)][_0x1a4504(0x17f)](_0x536397);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1aa5b5=_0x1a94;(function(_0x47fccf,_0x13179c){const _0x5f0c95=_0x1a94,_0x249d03=_0x47fccf();while(!![]){try{const _0x5e6f43=parseInt(_0x5f0c95(0x1c8))/0x1*(-parseInt(_0x5f0c95(0x1cb))/0x2)+-parseInt(_0x5f0c95(0x1db))/0x3+-parseInt(_0x5f0c95(0x1c4))/0x4+parseInt(_0x5f0c95(0x1c9))/0x5+parseInt(_0x5f0c95(0x1d6))/0x6+parseInt(_0x5f0c95(0x1dd))/0x7+-parseInt(_0x5f0c95(0x1e2))/0x8*(-parseInt(_0x5f0c95(0x1f1))/0x9);if(_0x5e6f43===_0x13179c)break;else _0x249d03['push'](_0x249d03['shift']());}catch(_0xec4ed3){_0x249d03['push'](_0x249d03['shift']());}}}(_0x4d8e,0x2014c));import{ButtonView as _0x2fec2b,View as _0xf6ddff}from'ckeditor5/src/ui.js';import{getTranslation as _0x2cd45d}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3d5ab6}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x1aa5b5(0x1e7),_0x1aa5b5(0x1d5)];export class AIChatFeedSuggestionItemActionsView extends _0xf6ddff{[_0x1aa5b5(0x1d2)];[_0x1aa5b5(0x1c5)];[_0x1aa5b5(0x1e9)];constructor(_0x164d05,_0x55fe7e=[...AI_REPLY_ACTIONS],_0x46a95f){const _0xa05cb7=_0x1aa5b5;super(_0x164d05);const _0x216ebe=this[_0xa05cb7(0x1ec)],_0x215ab4=Boolean(_0x46a95f);if(this[_0xa05cb7(0x1d0)](_0xa05cb7(0x1d1),!_0x215ab4),this[_0xa05cb7(0x1d0)](_0xa05cb7(0x1ed),!0x1),this[_0xa05cb7(0x1d0)](_0xa05cb7(0x1df),!0x1),this[_0xa05cb7(0x1e9)]=this[_0xa05cb7(0x1ee)](),_0x215ab4){const _0xb2a55e=new _0x2fec2b(_0x164d05);_0xb2a55e[_0xa05cb7(0x1d0)]({'label':_0x2cd45d(_0x164d05,_0xa05cb7(0x1d8)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3d5ab6});const _0x4f1d7a=new _0xf6ddff(_0x164d05);_0x4f1d7a[_0xa05cb7(0x1cf)]({'tag':_0xa05cb7(0x1ea),'attributes':{'class':_0xa05cb7(0x1d7)},'children':[{'tag':'p','children':[_0x2cd45d(_0x164d05,_0xa05cb7(0x1e1)),_0xb2a55e]}]}),this[_0xa05cb7(0x1e9)][_0xa05cb7(0x1e4)](_0x4f1d7a);}else this[_0xa05cb7(0x1d2)]=new _0x2fec2b(_0x164d05),this[_0xa05cb7(0x1d2)][_0xa05cb7(0x1d0)]({'label':_0x2cd45d(_0x164d05,_0xa05cb7(0x1cc)),'withText':!0x0,'type':_0xa05cb7(0x1ca),'isVisible':_0x55fe7e[_0xa05cb7(0x1de)](_0xa05cb7(0x1e7)),'class':_0xa05cb7(0x1d9)}),this[_0xa05cb7(0x1c5)]=new _0x2fec2b(_0x164d05),this[_0xa05cb7(0x1c5)][_0xa05cb7(0x1d0)]({'label':_0x2cd45d(_0x164d05,_0xa05cb7(0x1f0)),'withText':!0x0,'type':_0xa05cb7(0x1ca),'isVisible':_0x55fe7e[_0xa05cb7(0x1de)](_0xa05cb7(0x1d5)),'class':_0xa05cb7(0x1c7)}),this[_0xa05cb7(0x1c5)]['on'](_0xa05cb7(0x1e0),()=>{const _0x52d2de=_0xa05cb7;this[_0x52d2de(0x1ce)](_0x52d2de(0x1d5));}),this[_0xa05cb7(0x1d2)]['on'](_0xa05cb7(0x1e0),()=>{const _0xae8dd0=_0xa05cb7;this[_0xae8dd0(0x1ce)](_0xae8dd0(0x1e7));}),[this[_0xa05cb7(0x1d2)],this[_0xa05cb7(0x1c5)]][_0xa05cb7(0x1e5)](_0x25df56=>{const _0x582f67=_0xa05cb7;_0x25df56[_0x582f67(0x1eb)](_0x582f67(0x1d1))['to'](this);}),this[_0xa05cb7(0x1e9)][_0xa05cb7(0x1c6)]([this[_0xa05cb7(0x1d2)],this[_0xa05cb7(0x1c5)]]);this[_0xa05cb7(0x1cf)]({'tag':_0xa05cb7(0x1ea),'attributes':{'class':['ck',_0xa05cb7(0x1cd),_0x216ebe['if'](_0xa05cb7(0x1ed),_0xa05cb7(0x1ef),_0x2b42e4=>!_0x2b42e4)]},'children':this[_0xa05cb7(0x1e9)]}),this['on'](_0xa05cb7(0x1e3),()=>{const _0x3ba29f=_0xa05cb7;this[_0x3ba29f(0x1d2)]&&(this[_0x3ba29f(0x1d2)][_0x3ba29f(0x1ed)]=!this[_0x3ba29f(0x1df)]);});}[_0x1aa5b5(0x1dc)](_0x389f99){const _0x1346c7=_0x1aa5b5;this[_0x1346c7(0x1ed)]=_0x389f99;}[_0x1aa5b5(0x1e8)](_0x23075c){const _0x2875b8=_0x1aa5b5;this[_0x2875b8(0x1d2)]&&this[_0x2875b8(0x1c5)]&&(_0x23075c?(this[_0x2875b8(0x1d2)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1cc)),this[_0x2875b8(0x1c5)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1f0))):(this[_0x2875b8(0x1d2)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1d3)),this[_0x2875b8(0x1c5)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1da))));}}function _0x1a94(_0x452204,_0x39d150){const _0x4d8e9d=_0x4d8e();return _0x1a94=function(_0x1a94a1,_0x5b3582){_0x1a94a1=_0x1a94a1-0x1c4;let _0x588482=_0x4d8e9d[_0x1a94a1];return _0x588482;},_0x1a94(_0x452204,_0x39d150);}function _0x4d8e(){const _0x340680=['AI_SUGGESTION_DISABLED_FEED_MESSAGE','3592ILpvup','change:isTrackChangesOn','add','forEach','label','applySuggestion','_switchButtonLabelsPlurality','children','div','bind','bindTemplate','isVisible','createCollection','ck-hidden','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','1314fFxiyN','556460hJcdNv','_insertSuggestionsButton','addMany','ck-ai-button-secondary','1iauWGw','594030LFalfh','button','130978ssevIi','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','ck-ai-chat__feed__ai-suggestion__actions','fire','setTemplate','set','isEnabled','_applyChangesButton','AI_CHAT_SUGGESTION_ACTION_APPLY','locale','insertSuggestion','1215870eRBgsu','ck-ai-chat__feed__suggestion__actions__info','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_SUGGEST','324174kYZCiM','updateVisibility','399427pMYapf','includes','isTrackChangesOn','execute'];_0x4d8e=function(){return _0x340680;};return _0x4d8e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1b6f69=_0x15dc;function _0x43c2(){var _0x322434=['282377nrDcGl','rejectSuggestion','options','set','fire','8203890gmTsvH','getPartView','toggleSuggestionDisplayMode','bodyView','3xohaLh','1411444VApOLX','mouseLeaveSuggestion','bind','mouseOverSuggestion','extendTemplate','setPartActive','isTrackChangesOn','showDiff','updateSources','4EcEJRW','addMany','like','insertSuggestion','areActionsDisabled','applySuggestion','updatePartState','5836122qnEWDE','availableActions','children','showChangeInText','ck-ai-chat__feed__ai-suggestion','2010708Nesbgv','markAsDone','updateContent','dislike','1593025eDsabQ','1689104jhUZrc','14ZjKrmc','containerView'];_0x43c2=function(){return _0x322434;};return _0x43c2();}function _0x15dc(_0x3bf15e,_0x48546c){var _0x43c211=_0x43c2();return _0x15dc=function(_0x15dc86,_0xdf370b){_0x15dc86=_0x15dc86-0x1e7;var _0x163a27=_0x43c211[_0x15dc86];return _0x163a27;},_0x15dc(_0x3bf15e,_0x48546c);}(function(_0x15478b,_0x1e4e82){var _0x8d0c37=_0x15dc,_0x11b4c9=_0x15478b();while(!![]){try{var _0x18b2d6=parseInt(_0x8d0c37(0x207))/0x1*(-parseInt(_0x8d0c37(0x1f3))/0x2)+-parseInt(_0x8d0c37(0x1e9))/0x3*(-parseInt(_0x8d0c37(0x1ea))/0x4)+-parseInt(_0x8d0c37(0x203))/0x5+parseInt(_0x8d0c37(0x1ff))/0x6+-parseInt(_0x8d0c37(0x205))/0x7*(-parseInt(_0x8d0c37(0x204))/0x8)+-parseInt(_0x8d0c37(0x1fa))/0x9+parseInt(_0x8d0c37(0x20c))/0xa;if(_0x18b2d6===_0x1e4e82)break;else _0x11b4c9['push'](_0x11b4c9['shift']());}catch(_0x2d889a){_0x11b4c9['push'](_0x11b4c9['shift']());}}}(_0x43c2,0x615eb));import{AIChatFeedItemView as _0x22ca9b}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x4e529f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x22ca9b{[_0x1b6f69(0x206)];constructor(_0x21e9de,_0x420662,_0x14abe2){var _0x27a321=_0x1b6f69;super(_0x420662),this[_0x27a321(0x20a)](_0x27a321(0x1f0),!0x1),this[_0x27a321(0x206)]=new _0x4e529f(_0x21e9de,{'showDiff':_0x420662[_0x27a321(0x1f1)],'areActionsDisabled':_0x420662[_0x27a321(0x1f7)],'availableActions':_0x420662[_0x27a321(0x1fb)]},_0x14abe2),this[_0x27a321(0x206)]['on'](_0x27a321(0x1e7),(_0x54d256,_0x5af3fb)=>{var _0x9fcad5=_0x27a321;this[_0x9fcad5(0x20b)](_0x9fcad5(0x1e7),{'replyId':this[_0x9fcad5(0x209)]['id'],'showDiff':_0x5af3fb[_0x9fcad5(0x1f1)]});}),this[_0x27a321(0x206)][_0x27a321(0x1ec)](_0x27a321(0x1f0))['to'](this),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f5),()=>{var _0x132bf0=_0x27a321;this[_0x132bf0(0x20b)](_0x132bf0(0x1f5),{'replyId':this[_0x132bf0(0x209)]['id']});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x202),()=>{var _0x327255=_0x27a321;this[_0x327255(0x20b)](_0x327255(0x202),{'replyId':this[_0x327255(0x209)]['id']});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1fd),(_0x313dcb,{index:_0x44426f})=>{var _0x2f7057=_0x27a321;this[_0x2f7057(0x20b)](_0x2f7057(0x1fd),{'replyId':this[_0x2f7057(0x209)]['id'],'partIndex':_0x44426f});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f8),(_0x15006b,{index:_0x5308be}={})=>{var _0x2cbd2a=_0x27a321;this[_0x2cbd2a(0x20b)](_0x2cbd2a(0x1f8),{'replyId':this[_0x2cbd2a(0x209)]['id'],'partIndex':_0x5308be});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f6),(_0x502501,{index:_0x397468}={})=>{var _0x155f61=_0x27a321;this[_0x155f61(0x20b)](_0x155f61(0x1f6),{'replyId':this[_0x155f61(0x209)]['id'],'partIndex':_0x397468});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x208),(_0x474cf0,{index:_0x1e8bc6})=>{var _0x335a9a=_0x27a321;this[_0x335a9a(0x20b)](_0x335a9a(0x208),{'replyId':this[_0x335a9a(0x209)]['id'],'partIndex':_0x1e8bc6});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1ed),(_0x367930,{index:_0x3316bb})=>{var _0xf5f3d8=_0x27a321;this[_0xf5f3d8(0x20b)](_0xf5f3d8(0x1ed),{'replyId':this[_0xf5f3d8(0x209)]['id'],'partIndex':_0x3316bb});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1eb),(_0x5e7db0,{index:_0x2401db})=>{var _0x5931ec=_0x27a321;this[_0x5931ec(0x20b)](_0x5931ec(0x1eb),{'replyId':this[_0x5931ec(0x209)]['id'],'partIndex':_0x2401db});}),this[_0x27a321(0x1fc)][_0x27a321(0x1f4)]([this[_0x27a321(0x206)]]),this[_0x27a321(0x1ee)]({'attributes':{'class':[_0x27a321(0x1fe)]}});}async[_0x1b6f69(0x201)](_0x4957d5){var _0x4318ee=_0x1b6f69;await this[_0x4318ee(0x206)][_0x4318ee(0x201)](_0x4957d5);}[_0x1b6f69(0x1f9)](_0x586334,_0x2eb036){var _0x28a03c=_0x1b6f69;this[_0x28a03c(0x206)][_0x28a03c(0x1e8)][_0x28a03c(0x1f9)](_0x586334,_0x2eb036);}[_0x1b6f69(0x1ef)](_0x57bc36,_0x52adef){var _0x7b90d8=_0x1b6f69;!0x1===_0x57bc36?this[_0x7b90d8(0x206)][_0x7b90d8(0x1e8)][_0x7b90d8(0x1ef)](!0x1):this[_0x7b90d8(0x206)][_0x7b90d8(0x1e8)][_0x7b90d8(0x1ef)](_0x57bc36,_0x52adef);}[_0x1b6f69(0x1f2)](_0x162705){var _0x3b1bbf=_0x1b6f69;this[_0x3b1bbf(0x206)][_0x3b1bbf(0x1f2)](_0x162705);}[_0x1b6f69(0x20d)](_0x217135){var _0x4b501a=_0x1b6f69;return this[_0x4b501a(0x206)][_0x4b501a(0x1e8)][_0x4b501a(0x20d)](_0x217135);}[_0x1b6f69(0x200)](){var _0x14eb57=_0x1b6f69;super[_0x14eb57(0x200)](),this[_0x14eb57(0x206)][_0x14eb57(0x200)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2a904d=_0x51b0;(function(_0x2cc31e,_0x4e9cfb){var _0x5f2855=_0x51b0,_0x378d4e=_0x2cc31e();while(!![]){try{var _0x18c430=-parseInt(_0x5f2855(0x6f))/0x1*(parseInt(_0x5f2855(0x84))/0x2)+parseInt(_0x5f2855(0x70))/0x3+-parseInt(_0x5f2855(0x7b))/0x4+-parseInt(_0x5f2855(0x73))/0x5*(parseInt(_0x5f2855(0x68))/0x6)+-parseInt(_0x5f2855(0x78))/0x7+-parseInt(_0x5f2855(0x76))/0x8+parseInt(_0x5f2855(0x6e))/0x9;if(_0x18c430===_0x4e9cfb)break;else _0x378d4e['push'](_0x378d4e['shift']());}catch(_0x394e4f){_0x378d4e['push'](_0x378d4e['shift']());}}}(_0x31c1,0x8ccb9));function _0x51b0(_0x5c474b,_0x3a7720){var _0x31c1b8=_0x31c1();return _0x51b0=function(_0x51b04d,_0x102002){_0x51b04d=_0x51b04d-0x68;var _0x33a9f2=_0x31c1b8[_0x51b04d];return _0x33a9f2;},_0x51b0(_0x5c474b,_0x3a7720);}import{AIChatFeedItemView as _0x29387b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x2d01eb}from'./aichatfeedcontextchipsview.js';import{View as _0x3a01e}from'ckeditor5/src/ui.js';function _0x31c1(){var _0x5e0227=['innerHTML','hidden','2678628LVFBHU','add','_createMessageContentView','ck-ai-chat__feed__message-content','extendTemplate','_messageContentView','20618280uVTloW','3387gMZMPb','2214945PWdiAW','ck-ai-chat__feed__context-chips','length','5mepegI','_bodyCollection','markAsDone','7038184Lvtlat','options','7451703pIHMua','div','render','84616Bpheha','element','filter','contextItems','_contextChipsView','children','ck-ai-chat__feed__user-message','initialContent','_createContextChipsView','24xBhdbo','setTemplate','_locale'];_0x31c1=function(){return _0x5e0227;};return _0x31c1();}export class AIChatFeedUserMessageItemView extends _0x29387b{[_0x2a904d(0x7f)]=null;[_0x2a904d(0x86)];[_0x2a904d(0x74)];[_0x2a904d(0x6d)];constructor(_0x5854ff,_0x21e3db,_0x5b9b35){var _0x55277f=_0x2a904d;super(_0x21e3db),this[_0x55277f(0x86)]=_0x5854ff,this[_0x55277f(0x74)]=_0x5b9b35,this[_0x55277f(0x83)](),this[_0x55277f(0x6a)](),this[_0x55277f(0x6c)]({'attributes':{'class':[_0x55277f(0x81)]}});}[_0x2a904d(0x83)](){var _0x5ae97b=_0x2a904d;this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)]&&this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)][_0x5ae97b(0x72)]>0x0&&(this[_0x5ae97b(0x7f)]=new _0x2d01eb(this[_0x5ae97b(0x86)],this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)][_0x5ae97b(0x7d)](_0x3b7644=>!_0x3b7644[_0x5ae97b(0x88)]),this[_0x5ae97b(0x74)]),this[_0x5ae97b(0x7f)][_0x5ae97b(0x6c)]({'attributes':{'class':_0x5ae97b(0x71)}}),this[_0x5ae97b(0x80)][_0x5ae97b(0x69)](this[_0x5ae97b(0x7f)]));}[_0x2a904d(0x6a)](){var _0x184913=_0x2a904d;this[_0x184913(0x6d)]=new _0x3a01e(this[_0x184913(0x86)]),this[_0x184913(0x6d)][_0x184913(0x85)]({'tag':_0x184913(0x79),'attributes':{'class':_0x184913(0x6b)}}),this[_0x184913(0x80)][_0x184913(0x69)](this[_0x184913(0x6d)]);}[_0x2a904d(0x7a)](){var _0x263de8=_0x2a904d;super[_0x263de8(0x7a)](),this[_0x263de8(0x6d)][_0x263de8(0x7c)][_0x263de8(0x87)]=this[_0x263de8(0x77)][_0x263de8(0x82)],this[_0x263de8(0x75)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x429aaf=_0x30da;function _0x30da(_0x59953d,_0x2e7491){const _0x301fe3=_0x301f();return _0x30da=function(_0x30da9c,_0x5f097d){_0x30da9c=_0x30da9c-0xc4;let _0x2c5556=_0x301fe3[_0x30da9c];return _0x2c5556;},_0x30da(_0x59953d,_0x2e7491);}(function(_0x35c472,_0x171997){const _0x147033=_0x30da,_0x2804c0=_0x35c472();while(!![]){try{const _0x57d390=-parseInt(_0x147033(0xcd))/0x1*(-parseInt(_0x147033(0xd5))/0x2)+parseInt(_0x147033(0xcf))/0x3+parseInt(_0x147033(0xd8))/0x4+-parseInt(_0x147033(0xd0))/0x5+parseInt(_0x147033(0xc9))/0x6*(parseInt(_0x147033(0xc8))/0x7)+parseInt(_0x147033(0xcb))/0x8+-parseInt(_0x147033(0xca))/0x9;if(_0x57d390===_0x171997)break;else _0x2804c0['push'](_0x2804c0['shift']());}catch(_0xdec48e){_0x2804c0['push'](_0x2804c0['shift']());}}}(_0x301f,0xaf1ee));function _0x301f(){const _0x2cb0bb=['executeCustomItemCallback','toggleReasoning','startConversation','137893bnDviA','318meAwzB','25416630qtTIeu','9732744USbvSq','resizeTabs','672054TjNQVa','addDocumentToContext','1419462GXDWuE','3495170UYDUYG','addResourceToContext','abortPromptStream','loadSourceResources','toggleWebSearch','4zeiyhi','selectModel','addFileToContext','649984KOXqJM','removeContextItem','addUrlToContext','sendUserMessage'];_0x301f=function(){return _0x2cb0bb;};return _0x301f();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x17275d}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x17275d,_0x429aaf(0xc7),_0x429aaf(0xcc),_0x429aaf(0xc4),_0x429aaf(0xd2),_0x429aaf(0xce),_0x429aaf(0xd7),_0x429aaf(0xda),_0x429aaf(0xc5),_0x429aaf(0xd1),_0x429aaf(0xd9),_0x429aaf(0xd3),_0x429aaf(0xd4),_0x429aaf(0xc6),_0x429aaf(0xd6)];
|