@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
|
-
function
|
|
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
|
-
const
|
|
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 _0x5348ee=_0x3966;function _0x3966(_0x11f281,_0x23e833){const _0x1b721e=_0x1b72();return _0x3966=function(_0x3966da,_0x560f56){_0x3966da=_0x3966da-0x115;let _0x4d1a4e=_0x1b721e[_0x3966da];return _0x4d1a4e;},_0x3966(_0x11f281,_0x23e833);}(function(_0x5f5cf2,_0x3e0e37){const _0x5bb88f=_0x3966,_0xa91325=_0x5f5cf2();while(!![]){try{const _0x5bbb7d=-parseInt(_0x5bb88f(0x12e))/0x1+-parseInt(_0x5bb88f(0x129))/0x2*(parseInt(_0x5bb88f(0x138))/0x3)+parseInt(_0x5bb88f(0x135))/0x4+parseInt(_0x5bb88f(0x118))/0x5+parseInt(_0x5bb88f(0x12b))/0x6*(parseInt(_0x5bb88f(0x130))/0x7)+parseInt(_0x5bb88f(0x133))/0x8*(parseInt(_0x5bb88f(0x12a))/0x9)+parseInt(_0x5bb88f(0x13a))/0xa;if(_0x5bbb7d===_0x3e0e37)break;else _0xa91325['push'](_0xa91325['shift']());}catch(_0x3ea17d){_0xa91325['push'](_0xa91325['shift']());}}}(_0x1b72,0x4ec24));import{View as _0xfdd9c4,ViewCollection as _0x1e9f80}from'ckeditor5/src/ui.js';import{uid as _0x3d08c2}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x57ccc8}from'./aichatcontextresourceslistview.js';function _0x1b72(){const _0x144e63=['_resourcesListView','set','819075GhVmuG','bindTemplate','4708410EFmdjQ','loadResources','_createResourcesListView','_skeletonLoader','search','has','_createSkeletonView','_searchSection','locale','_source','addResourceToContext','extendTemplate','length','aiChatResources','_createSearchView','useDefaultFiltering','1785415SPodqe','render','ck-hidden','children','searchInputVisibleFrom','_searchView','_searchInputVisibleFrom','div','highlightText','ck-ai-chat-resources','updateResourceState','source','setResources','_createSearchSection','setTemplate','_latestLoadResourcesUid','delegate','4fxvgUI','97029KZPiQW','126708EhZgpv','fire','getQuery','564937KrgDBv','ck\x20ck-search','133KQgTAq','loadSourceResources','add','48pbeGfK','isLoading','558924NAGlnG'];_0x1b72=function(){return _0x144e63;};return _0x1b72();}import{AIChatContextResourcesSearchInputView as _0x34b624}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x16e8bf,SKELETON_DEFINITIONS as _0x24b4af}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0xfdd9c4{[_0x5348ee(0x11d)];[_0x5348ee(0x141)];[_0x5348ee(0x11e)];[_0x5348ee(0x136)];[_0x5348ee(0x13d)];[_0x5348ee(0x143)];[_0x5348ee(0x11b)];[_0x5348ee(0x127)]=null;constructor(_0x33da31,_0x232054){const _0x490b72=_0x5348ee;super(_0x33da31),this[_0x490b72(0x143)]=_0x232054[_0x490b72(0x123)],this[_0x490b72(0x11e)]=_0x232054[_0x490b72(0x11c)]??0x7,this[_0x490b72(0x137)](_0x490b72(0x134),!0x0),this[_0x490b72(0x11d)]=this[_0x490b72(0x116)](),this[_0x490b72(0x141)]=this[_0x490b72(0x125)](),this[_0x490b72(0x136)]=this[_0x490b72(0x13c)](),this[_0x490b72(0x13d)]=this[_0x490b72(0x140)](),this[_0x490b72(0x11b)]=new _0x1e9f80([this[_0x490b72(0x13d)],this[_0x490b72(0x136)]]),this[_0x490b72(0x126)]({'tag':_0x490b72(0x11f),'attributes':{'class':_0x490b72(0x121)},'children':this[_0x490b72(0x11b)]});}[_0x5348ee(0x116)](){const _0x228a40=_0x5348ee;return new _0x34b624(this[_0x228a40(0x142)]);}[_0x5348ee(0x125)](){const _0x5c1498=_0x5348ee,_0x41392b=new _0xfdd9c4(this[_0x5c1498(0x142)]);return _0x41392b[_0x5c1498(0x126)]({'tag':_0x5c1498(0x11f),'attributes':{'class':_0x5c1498(0x12f)},'children':[this[_0x5c1498(0x11d)]]}),this[_0x5c1498(0x11d)]['on'](_0x5c1498(0x13e),(_0x3fccdf,_0x517cb6)=>{const _0x42a1cc=_0x5c1498;this[_0x42a1cc(0x13b)](_0x517cb6),this[_0x42a1cc(0x143)][_0x42a1cc(0x117)]&&this[_0x42a1cc(0x136)][_0x42a1cc(0x120)](_0x517cb6);}),_0x41392b;}[_0x5348ee(0x13c)](){const _0x40c18a=_0x5348ee,_0x24340d=new _0x57ccc8(this[_0x40c18a(0x142)],this[_0x40c18a(0x143)]);return _0x24340d[_0x40c18a(0x128)](_0x40c18a(0x144))['to'](this),_0x24340d[_0x40c18a(0x145)]({'attributes':{'class':this[_0x40c18a(0x139)]['if'](_0x40c18a(0x134),_0x40c18a(0x11a))}}),_0x24340d;}[_0x5348ee(0x140)](){const _0x356795=_0x5348ee,_0x11d2ad=new _0x16e8bf(this[_0x356795(0x142)],_0x24b4af[_0x356795(0x115)]);return _0x11d2ad[_0x356795(0x145)]({'attributes':{'class':[this[_0x356795(0x139)]['if'](_0x356795(0x134),_0x356795(0x11a),_0x4b2711=>!_0x4b2711)]}}),_0x11d2ad;}[_0x5348ee(0x119)](){const _0x494f47=_0x5348ee;super[_0x494f47(0x119)](),this[_0x494f47(0x13b)]('');}[_0x5348ee(0x13b)](_0x3c8fd9){const _0x2860e0=_0x5348ee,_0x5e2b98=_0x3d08c2();this[_0x2860e0(0x127)]=_0x5e2b98,this[_0x2860e0(0x12c)](_0x2860e0(0x131),{'sourceId':this[_0x2860e0(0x143)]['id'],'query':_0x3c8fd9,'uid':_0x5e2b98}),this[_0x2860e0(0x134)]=!0x0;}[_0x5348ee(0x124)](_0x52e63e,_0xd98c91){const _0x1ddc24=_0x5348ee;if(_0xd98c91&&_0xd98c91!==this[_0x1ddc24(0x127)])return;const _0x346d63=this[_0x1ddc24(0x143)][_0x1ddc24(0x117)]?this[_0x1ddc24(0x11d)][_0x1ddc24(0x12d)]():'';this[_0x1ddc24(0x136)][_0x1ddc24(0x124)](_0x52e63e,_0x346d63),_0x52e63e[_0x1ddc24(0x146)]>=this[_0x1ddc24(0x11e)]&&!this[_0x1ddc24(0x11b)][_0x1ddc24(0x13f)](this[_0x1ddc24(0x141)])&&this[_0x1ddc24(0x11b)][_0x1ddc24(0x132)](this[_0x1ddc24(0x141)],0x0),requestAnimationFrame(()=>{const _0x175a1e=_0x1ddc24;this[_0x175a1e(0x134)]=!0x1;});}[_0x5348ee(0x122)](_0x5b5c27,_0x2c8faa){const _0x5152ce=_0x5348ee;this[_0x5152ce(0x136)][_0x5152ce(0x122)](_0x5b5c27,_0x2c8faa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x450d28=_0x4771;(function(_0x16f120,_0x4aaadd){const _0x5406ca=_0x4771,_0x68e4b1=_0x16f120();while(!![]){try{const _0x333b59=parseInt(_0x5406ca(0x7f))/0x1*(parseInt(_0x5406ca(0x9e))/0x2)+-parseInt(_0x5406ca(0x97))/0x3+-parseInt(_0x5406ca(0x7e))/0x4+-parseInt(_0x5406ca(0x85))/0x5*(-parseInt(_0x5406ca(0x93))/0x6)+parseInt(_0x5406ca(0x83))/0x7*(parseInt(_0x5406ca(0xa7))/0x8)+-parseInt(_0x5406ca(0xa6))/0x9+-parseInt(_0x5406ca(0x91))/0xa*(-parseInt(_0x5406ca(0xa0))/0xb);if(_0x333b59===_0x4aaadd)break;else _0x68e4b1['push'](_0x68e4b1['shift']());}catch(_0x44d408){_0x68e4b1['push'](_0x68e4b1['shift']());}}}(_0x21f2,0x6011e));function _0x21f2(){const _0x3db7d1=['63334GukMOe','extendTemplate','115478OQLEDu','resource','isVisible','_updateIcon','ck-ai-chat-resources__item','set','6031836tRfCle','1160SbpuCz','ck-ai-chat-resources__item-title','trim','span','1225348Iuiqnb','7dXijfU','_createTitleView','TEXT','_createIconView','8708zcbUoj','URL','10WcbUIm','_iconView','ck-hidden','_setupTemplate','bindTemplate','div','render','setTemplate','FILE','ck-ai-chat-resources__item--in-context','_titleView','execute','1260VzIJXc','label','253482uEkpVm','content','ck-ai-chat-resources__item__icon','type','1317744mDwPYt','DOCUMENT','updateResourceState','isInContext','text','highlightText','getResourceIcon'];_0x21f2=function(){return _0x3db7d1;};return _0x21f2();}import{HighlightedTextView as _0x371900,IconView as _0x29f257,ListItemView as _0x33baa4}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3b0ee7}from'es-toolkit/compat';import{AIContextItemType as _0x4ab826}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x4f74c2,IconCheck as _0x12d077,IconDocument as _0x413e51,IconDocumentOutline as _0xd49a4a,IconLink as _0x542db5}from'@ckeditor/ckeditor5-icons';function _0x4771(_0x48ad25,_0x7a2db2){const _0x21f25f=_0x21f2();return _0x4771=function(_0x47717c,_0x4f0803){_0x47717c=_0x47717c-0x7c;let _0x22120e=_0x21f25f[_0x47717c];return _0x22120e;},_0x4771(_0x48ad25,_0x7a2db2);}const Jr=_0x450d28(0xa4),Kr=_0x450d28(0x8e),Mr=_0x450d28(0xa8),Nr=_0x450d28(0x95);export class AIChatResourceListItemView extends _0x33baa4{[_0x450d28(0xa1)];[_0x450d28(0x8f)];[_0x450d28(0x86)];constructor(_0x3d5852,_0x48f7ae){const _0x18862f=_0x450d28;super(_0x3d5852),this[_0x18862f(0xa1)]=_0x48f7ae,this[_0x18862f(0xa5)](_0x18862f(0x9a),!!_0x48f7ae[_0x18862f(0x9a)]),this[_0x18862f(0x8f)]=this[_0x18862f(0x80)](),this[_0x18862f(0x86)]=this[_0x18862f(0x82)](),this[_0x18862f(0x88)]();}[_0x450d28(0x8b)](){const _0x55d09c=_0x450d28;super[_0x55d09c(0x8b)]();}[_0x450d28(0x9d)](_0x23b509){const _0x1591a6=_0x450d28;if(_0x23b509[_0x1591a6(0x9a)])return _0x12d077;switch(_0x23b509[_0x1591a6(0x96)]){case _0x4ab826[_0x1591a6(0x98)]:return _0x413e51;case _0x4ab826[_0x1591a6(0x84)]:return _0x542db5;case _0x4ab826[_0x1591a6(0x8d)]:case _0x4ab826[_0x1591a6(0x81)]:return _0x4f74c2;default:return _0xd49a4a;}}[_0x450d28(0x9c)](_0x3845ad){const _0x3e5d50=_0x450d28;if(!_0x3845ad||''===_0x3845ad[_0x3e5d50(0x7c)]())return void this[_0x3e5d50(0x8f)][_0x3e5d50(0x9c)](null);const _0x3710c3=new RegExp(_0x3b0ee7(_0x3845ad),'gi');this[_0x3e5d50(0x8f)][_0x3e5d50(0x9c)](_0x3710c3);}[_0x450d28(0x99)](_0x2fe5d0){const _0x49ef6b=_0x450d28;this[_0x49ef6b(0xa1)][_0x49ef6b(0x9a)]=_0x2fe5d0,this[_0x49ef6b(0x9a)]=_0x2fe5d0,this[_0x49ef6b(0xa3)]();}[_0x450d28(0x80)](){const _0x56b56e=_0x450d28,_0x4eed65=new _0x371900();return _0x4eed65[_0x56b56e(0x9b)]=this[_0x56b56e(0xa1)][_0x56b56e(0x92)],_0x4eed65[_0x56b56e(0x9f)]({'tag':_0x56b56e(0x7d),'attributes':{'class':[Mr]}}),_0x4eed65;}[_0x450d28(0x82)](){const _0x37c477=_0x450d28,_0x48a6bc=new _0x29f257();return _0x48a6bc[_0x37c477(0x94)]=this[_0x37c477(0x9d)](this[_0x37c477(0xa1)]),_0x48a6bc;}[_0x450d28(0x88)](){const _0x55f754=_0x450d28,_0x3a6a56=this[_0x55f754(0x89)];this[_0x55f754(0x8c)]({'tag':_0x55f754(0x8a),'attributes':{'class':[Jr,_0x3a6a56['if'](_0x55f754(0xa2),_0x55f754(0x87),_0x197872=>!_0x197872),_0x3a6a56['if'](_0x55f754(0x9a),Kr)]},'children':[{'tag':_0x55f754(0x8a),'attributes':{'class':[Nr]},'children':[this[_0x55f754(0x86)]]},this[_0x55f754(0x8f)]],'on':{'click':_0x3a6a56['to'](_0x55f754(0x90))}});}[_0x450d28(0xa3)](){const _0x428200=_0x450d28;this[_0x428200(0x86)][_0x428200(0x94)]=this[_0x428200(0x9d)](this[_0x428200(0xa1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ab050=_0x5932;function _0x5932(_0x2c47e8,_0x4cb8de){const _0x2ca2e2=_0x2ca2();return _0x5932=function(_0x59321b,_0x54a18f){_0x59321b=_0x59321b-0xf8;let _0x28bae6=_0x2ca2e2[_0x59321b];return _0x28bae6;},_0x5932(_0x2c47e8,_0x4cb8de);}(function(_0x6616fb,_0x540eae){const _0x29d413=_0x5932,_0x4c2a32=_0x6616fb();while(!![]){try{const _0xb1f4bd=-parseInt(_0x29d413(0x10f))/0x1*(parseInt(_0x29d413(0x10d))/0x2)+-parseInt(_0x29d413(0x127))/0x3*(-parseInt(_0x29d413(0x131))/0x4)+parseInt(_0x29d413(0x104))/0x5+parseInt(_0x29d413(0xfa))/0x6*(-parseInt(_0x29d413(0x11c))/0x7)+parseInt(_0x29d413(0x12b))/0x8+parseInt(_0x29d413(0x128))/0x9+-parseInt(_0x29d413(0x118))/0xa;if(_0xb1f4bd===_0x540eae)break;else _0x4c2a32['push'](_0x4c2a32['shift']());}catch(_0x47bec2){_0x4c2a32['push'](_0x4c2a32['shift']());}}}(_0x2ca2,0xd7b0f));import{BalloonPanelView as _0x4236ec,ButtonView as _0x5a37a2,clickOutsideHandler as _0x544055,FormHeaderView as _0x1f0fd7}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0xb6f0ac}from'@ckeditor/ckeditor5-icons';function _0x2ca2(){const _0x52dd62=['once','_bodyCollection','execute','getLimiterElement','change:isLoading','onLoadSourceResources','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','destroy','1594983MjfuXd','3468744SHpmMs','content','searchInputVisibleFrom','12910456hIitbD','updateResourceState','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','set','resource','_addSourceResourceContent','8ljLhTw','pin','values','ck-ai-chat-context-controls__source-balloon-panel','_sourceResourceBalloons','hide','724044CgqvlY','get','children','_createBackButton','onBackToContext','label','_createBalloonResourcesView','closeSourceResourceBalloon','_config','addResourceToContext','5696780SxlAew','delete','loadSourceResources','onBalloonClosed','isVisible','show','_createSourceResourceBalloonPanel','_getResourcesViewFromBalloon','onResourceSelected','23198MsggBt','_locale','62yWoNsE','showSourceResourcesBalloon','setResources','element','source','_createBalloonHeader','isAnyResourceBalloonVisible','_setupSingleResourceBalloonClickOutsideHandler','add','18752480NKkwnZ','populateSourceResourceBalloon','ck-button-icon\x20ck-button-back','clear','42letaIc','getTargetElement','extendTemplate'];_0x2ca2=function(){return _0x52dd62;};return _0x2ca2();}import{getTranslation as _0x33d0ef}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x3f39aa}from'./aichatcontextresourcesview.js';const Bc=_0x2ab050(0x134),mc=_0x2ab050(0x11a),dc=_0x2ab050(0x12d);export class AIChatResourcesBalloonView{[_0x2ab050(0xf8)]=new Map();[_0x2ab050(0x120)];[_0x2ab050(0x10e)];[_0x2ab050(0x102)];constructor(_0x43bf93,_0x2b0bfe,_0x315a31){const _0x5dfe2e=_0x2ab050;this[_0x5dfe2e(0x10e)]=_0x43bf93,this[_0x5dfe2e(0x120)]=_0x2b0bfe,this[_0x5dfe2e(0x102)]=_0x315a31;}[_0x2ab050(0x110)]({source:_0x589e57,withBackButton:_0x14b220}){const _0x48bf05=_0x2ab050;let _0x4347f=this[_0x48bf05(0xf8)][_0x48bf05(0xfb)](_0x589e57['id']);_0x4347f||(_0x4347f=this[_0x48bf05(0x10a)](),this[_0x48bf05(0xf8)][_0x48bf05(0x12e)](_0x589e57['id'],_0x4347f),this[_0x48bf05(0x116)](_0x4347f)),this[_0x48bf05(0x130)]({'balloonPanel':_0x4347f,'source':_0x589e57,'withBackButton':_0x14b220}),_0x4347f[_0x48bf05(0x109)]();const _0xefa438=this[_0x48bf05(0x102)][_0x48bf05(0x11d)]();_0xefa438&&_0x4347f[_0x48bf05(0x132)]({'target':_0xefa438,'limiter':this[_0x48bf05(0x102)][_0x48bf05(0x122)]()});}[_0x2ab050(0x119)](_0x2aa6a8,_0x4d352f,_0x5abc54){const _0x5a9c67=_0x2ab050,_0x236a9a=this[_0x5a9c67(0xf8)][_0x5a9c67(0xfb)](_0x2aa6a8);if(!_0x236a9a)return;const _0x2cbe7=this[_0x5a9c67(0x10b)](_0x236a9a);_0x2cbe7&&(_0x2cbe7[_0x5a9c67(0x111)](_0x4d352f,_0x5abc54),_0x2cbe7[_0x5a9c67(0x11f)](_0x5a9c67(0x123),()=>{const _0x320def=_0x5a9c67;_0x236a9a[_0x320def(0x132)]({'target':this[_0x320def(0x102)][_0x320def(0x11d)](),'limiter':this[_0x320def(0x102)][_0x320def(0x122)]()});}));}[_0x2ab050(0x101)](_0x353929){const _0x1883f7=_0x2ab050,_0x56d5d3=this[_0x1883f7(0xf8)][_0x1883f7(0xfb)](_0x353929);_0x56d5d3&&requestAnimationFrame(()=>{const _0xb893bb=_0x1883f7;_0x56d5d3[_0xb893bb(0xf9)](),this[_0xb893bb(0xf8)][_0xb893bb(0x105)](_0x353929),this[_0xb893bb(0x102)][_0xb893bb(0x107)]();});}[_0x2ab050(0x115)](){const _0x286e7f=_0x2ab050;for(const _0x54b330 of this[_0x286e7f(0xf8)][_0x286e7f(0x133)]())if(_0x54b330[_0x286e7f(0x108)])return!0x0;return!0x1;}[_0x2ab050(0x12c)](_0x4c0012,_0x2708ef,_0x283181){const _0x323af6=_0x2ab050,_0xe1369=this[_0x323af6(0xf8)][_0x323af6(0xfb)](_0x4c0012);if(!_0xe1369||!_0xe1369[_0x323af6(0x108)])return;const _0x457840=this[_0x323af6(0x102)][_0x323af6(0x11d)]();if(!_0x457840)return;_0xe1369[_0x323af6(0x132)]({'target':_0x457840,'limiter':this[_0x323af6(0x102)][_0x323af6(0x122)]()});const _0x16e2ca=this[_0x323af6(0x10b)](_0xe1369);_0x16e2ca&&_0x16e2ca[_0x323af6(0x12c)](_0x2708ef,_0x283181);}[_0x2ab050(0x126)](){const _0x132d8e=_0x2ab050;for(const _0x3396fc of this[_0x132d8e(0xf8)][_0x132d8e(0x133)]())_0x3396fc[_0x132d8e(0x126)]();this[_0x132d8e(0xf8)][_0x132d8e(0x11b)]();}[_0x2ab050(0x10a)](){const _0x5f5d0a=_0x2ab050,_0x2d482d=new _0x4236ec(this[_0x5f5d0a(0x10e)]);return _0x2d482d[_0x5f5d0a(0x11e)]({'attributes':{'class':Bc}}),this[_0x5f5d0a(0x120)][_0x5f5d0a(0x117)](_0x2d482d),_0x2d482d;}[_0x2ab050(0x130)]({balloonPanel:_0x599dac,source:_0x5d1605,withBackButton:_0x250954}){const _0x4e348d=_0x2ab050;_0x599dac[_0x4e348d(0x129)][_0x4e348d(0x11b)]();const _0x156cf7=this[_0x4e348d(0x114)]({'balloonPanel':_0x599dac,'source':_0x5d1605,'withBackButton':_0x250954});_0x599dac[_0x4e348d(0x129)][_0x4e348d(0x117)](_0x156cf7);const _0x304cc9=this[_0x4e348d(0x100)](_0x5d1605);_0x599dac[_0x4e348d(0x129)][_0x4e348d(0x117)](_0x304cc9);}[_0x2ab050(0x114)]({balloonPanel:_0x2d69d6,source:_0x16b35a,withBackButton:_0x3cfee0}){const _0x3cf775=_0x2ab050,_0x46ec1b=new _0x1f0fd7(this[_0x3cf775(0x10e)],{'label':_0x16b35a[_0x3cf775(0xff)],'class':dc});return _0x3cfee0&&_0x46ec1b[_0x3cf775(0xfc)][_0x3cf775(0x117)](this[_0x3cf775(0xfd)](_0x2d69d6),0x0),_0x46ec1b;}[_0x2ab050(0xfd)](_0x17dde5){const _0x22f2c0=_0x2ab050,_0x168b4d=new _0x5a37a2(this[_0x22f2c0(0x10e)]);return _0x168b4d[_0x22f2c0(0x12e)]({'icon':_0xb6f0ac,'tooltip':_0x33d0ef(this[_0x22f2c0(0x10e)],_0x22f2c0(0x125)),'tooltipPosition':'n','class':mc}),_0x168b4d['on'](_0x22f2c0(0x121),()=>{const _0x20fbee=_0x22f2c0;_0x17dde5[_0x20fbee(0xf9)](),this[_0x20fbee(0x102)][_0x20fbee(0xfe)]();}),_0x168b4d;}[_0x2ab050(0x100)](_0x135c78){const _0x211339=_0x2ab050,_0x3fe832=new _0x3f39aa(this[_0x211339(0x10e)],{'source':_0x135c78,'searchInputVisibleFrom':this[_0x211339(0x102)][_0x211339(0x12a)]});return _0x3fe832['on'](_0x211339(0x106),(_0x29c886,_0x1418f7)=>{const _0x1aef4b=_0x211339;this[_0x1aef4b(0x102)][_0x1aef4b(0x124)](_0x1418f7);}),_0x3fe832['on'](_0x211339(0x103),(_0x33307d,_0x1d225a)=>{const _0x467fa1=_0x211339;this[_0x467fa1(0x102)][_0x467fa1(0x10c)](_0x1d225a[_0x467fa1(0x113)],_0x1d225a[_0x467fa1(0x12f)]),this[_0x467fa1(0x101)](_0x135c78['id']);}),_0x3fe832;}[_0x2ab050(0x10b)](_0xe06a9d){const _0x48f897=_0x2ab050,_0x2e6a59=_0xe06a9d[_0x48f897(0x129)][_0x48f897(0xfb)](0x1);return _0x2e6a59 instanceof _0x3f39aa?_0x2e6a59:null;}[_0x2ab050(0x116)](_0x2eda74){const _0xac308e=_0x2ab050;_0x544055({'emitter':_0x2eda74,'contextElements':[_0x2eda74[_0xac308e(0x112)]],'callback':()=>{const _0x583a17=_0xac308e;_0x2eda74[_0x583a17(0xf9)](),this[_0x583a17(0x102)][_0x583a17(0x107)]();},'activator':()=>_0x2eda74[_0xac308e(0x108)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x246249,IconView as _0x3e8b7f,LabeledFieldView as _0x14b24a,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x2acad8,IconCancel as _0x4994fe}from'ckeditor5/src/icons.js';import{getTranslation as _0x4b4b07}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x14b24a{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x4b263f){const t=_0x4b263f['t'],_0x36bf51={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x4b4b07(_0x4b263f,'AI_CHAT_SEARCH_RESOURCES')};super(_0x4b263f,_0x36bf51['creator']),this['label']=_0x36bf51['label'],this['_viewConfig']=_0x36bf51,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x4b263f,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x192196){this['fire']('search',_0x192196);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x3e8b7f(),this['iconView']['content']=_0x2acad8,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x512301,t){this['resetButtonView']=new _0x246249(_0x512301),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4994fe,'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',_0x370104=>!_0x370104),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 _0x3018(){const _0x44ded2=['setContainerElement','createCollection','121653dxvlDV','ck-ai-chat-context-controls__show-more-balloon-panel','393964ifvyui','render','ck-ai-chat-controls_context_show-more-button','querySelector','ck-ai-chat-context-chips-wrapper-balloon','70lmDCFO','ck-reset_all','div','366CrBYLR','ck-ai-chat__feed__context-chips','setTemplate','252360FavROO','ck-ai-chat-context-chips-wrapper','reorganizeChips','_bodyCollection','add','destroy','270KVCEeo','35ybElQU','_createContextChips','ck-ai-chat-controls-button','locale','_overflowManager','2837079NUbclc','36389InShsV','_contextChips','15475658kUcJDg','element','6665832ouiggJ','24KKPXoV'];_0x3018=function(){return _0x44ded2;};return _0x3018();}function _0x466e(_0x1e176d,_0x1f2f76){const _0x30180c=_0x3018();return _0x466e=function(_0x466e17,_0x52f653){_0x466e17=_0x466e17-0x1cb;let _0x1e2d4e=_0x30180c[_0x466e17];return _0x1e2d4e;},_0x466e(_0x1e176d,_0x1f2f76);}const _0x369ae1=_0x466e;(function(_0x43b7e2,_0x309da){const _0x3839f9=_0x466e,_0x29f784=_0x43b7e2();while(!![]){try{const _0x3a7c83=parseInt(_0x3839f9(0x1cb))/0x1*(-parseInt(_0x3839f9(0x1da))/0x2)+parseInt(_0x3839f9(0x1ec))/0x3+parseInt(_0x3839f9(0x1d5))/0x4*(-parseInt(_0x3839f9(0x1e7))/0x5)+-parseInt(_0x3839f9(0x1dd))/0x6*(parseInt(_0x3839f9(0x1d3))/0x7)+parseInt(_0x3839f9(0x1cf))/0x8+-parseInt(_0x3839f9(0x1e6))/0x9*(parseInt(_0x3839f9(0x1e0))/0xa)+-parseInt(_0x3839f9(0x1cd))/0xb*(-parseInt(_0x3839f9(0x1d0))/0xc);if(_0x3a7c83===_0x309da)break;else _0x29f784['push'](_0x29f784['shift']());}catch(_0x5c813e){_0x29f784['push'](_0x29f784['shift']());}}}(_0x3018,0xc658b));import{View as _0x502d25}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4f3218}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x35ea89}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x369ae1(0x1de),rc=_0x369ae1(0x1e1),nc=_0x369ae1(0x1d9),Fo=_0x369ae1(0x1e9),Do=_0x369ae1(0x1d7),$o=_0x369ae1(0x1d4);export class AIChatFeedContextChipsView extends _0x502d25{[_0x369ae1(0x1cc)]=this[_0x369ae1(0x1d2)]();[_0x369ae1(0x1eb)];[_0x369ae1(0x1e3)];constructor(_0x5c689d,_0x187965,_0x185d81){const _0x3bc462=_0x369ae1;super(_0x5c689d),this[_0x3bc462(0x1e3)]=_0x185d81,this[_0x3bc462(0x1e8)](_0x187965);const _0x35dc56={'cssClasses':{'showMoreButton':Do,'showMoreBalloon':$o,'overflowContainer':nc,'controlsButton':Fo}};this[_0x3bc462(0x1eb)]=new _0x35ea89(_0x5c689d,this[_0x3bc462(0x1cc)],_0x35dc56,this[_0x3bc462(0x1e3)],this),this[_0x3bc462(0x1df)]({'tag':_0x3bc462(0x1dc),'attributes':{'class':[oc,'ck',_0x3bc462(0x1db)]},'children':[{'tag':_0x3bc462(0x1dc),'attributes':{'class':rc},'children':this[_0x3bc462(0x1cc)]}]});}[_0x369ae1(0x1d6)](){const _0x21391e=_0x369ae1;super[_0x21391e(0x1d6)]();const _0x2e32c3=this[_0x21391e(0x1ce)][_0x21391e(0x1d8)]('.'+rc);_0x2e32c3&&(this[_0x21391e(0x1eb)][_0x21391e(0x1d1)](_0x2e32c3),this[_0x21391e(0x1eb)][_0x21391e(0x1e2)]());}[_0x369ae1(0x1e5)](){const _0x3d3130=_0x369ae1;super[_0x3d3130(0x1e5)](),this[_0x3d3130(0x1eb)][_0x3d3130(0x1e5)]();}[_0x369ae1(0x1e8)](_0x1458a3){const _0x44c759=_0x369ae1;for(const _0xbedb4 of _0x1458a3){const _0x28a33d=new _0x4f3218(this[_0x44c759(0x1ea)],_0xbedb4,!0x0,!0x1);this[_0x44c759(0x1cc)][_0x44c759(0x1e4)](_0x28a33d);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
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
|
-
var
|
|
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 _0x151908=_0x3016;function _0x3016(_0x3ab74a,_0x2d687e){const _0x52ad01=_0x52ad();return _0x3016=function(_0x30161f,_0x5ae820){_0x30161f=_0x30161f-0x1d2;let _0x4897f6=_0x52ad01[_0x30161f];return _0x4897f6;},_0x3016(_0x3ab74a,_0x2d687e);}(function(_0x8e0acb,_0x5d3934){const _0xef850a=_0x3016,_0x152374=_0x8e0acb();while(!![]){try{const _0x18a8ab=-parseInt(_0xef850a(0x1dc))/0x1*(-parseInt(_0xef850a(0x1e6))/0x2)+parseInt(_0xef850a(0x1d5))/0x3+parseInt(_0xef850a(0x1d9))/0x4*(parseInt(_0xef850a(0x1df))/0x5)+-parseInt(_0xef850a(0x1e7))/0x6*(-parseInt(_0xef850a(0x1d4))/0x7)+parseInt(_0xef850a(0x1e0))/0x8+parseInt(_0xef850a(0x1dd))/0x9*(-parseInt(_0xef850a(0x1ec))/0xa)+-parseInt(_0xef850a(0x1e5))/0xb;if(_0x18a8ab===_0x5d3934)break;else _0x152374['push'](_0x152374['shift']());}catch(_0x3f7a0f){_0x152374['push'](_0x152374['shift']());}}}(_0x52ad,0x5abc6));import{IconBulb as _0x79b37c,IconWeb as _0x3cd3dd}from'@ckeditor/ckeditor5-icons';function _0x52ad(){const _0x2315ec=['children','push','ck-ai-chat__feed__interaction-header__capabilities__text','16460917JcHCaN','38MBFUst','831018pDOrBk','capabilities','extendTemplate','content','add','2170PIwMIj','div','span','28PVnFbM','33705BWyfJm','setTemplate','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','3996rSyGet','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','10226ddmXgq','1152kVGpfu','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','2205HLIeqj','5566216wzgttl','ck-hidden'];_0x52ad=function(){return _0x2315ec;};return _0x52ad();}import{IconView as _0x4805b8,View as _0x3054b9}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x578421}from'./aichatfeeditemview.js';import{getTranslation as _0x4a266e}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x578421{[_0x151908(0x1e8)];constructor(_0x361de5,_0x52948e){const _0x5db8b0=_0x151908;super(_0x52948e);const {isWebSearchEnabled:_0x11c0ac,isReasoningEnabled:_0x55149b}=_0x52948e[_0x5db8b0(0x1e8)],_0x3e818e=[];let _0xa38a2='';_0x11c0ac&&_0x55149b?(_0xa38a2=_0x4a266e(_0x361de5,_0x5db8b0(0x1db)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x3cd3dd)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x79b37c))):_0x11c0ac?(_0xa38a2=_0x4a266e(_0x361de5,_0x5db8b0(0x1de)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x3cd3dd))):_0x55149b&&(_0xa38a2=_0x4a266e(_0x361de5,_0x5db8b0(0x1d8)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x79b37c))),this[_0x5db8b0(0x1e9)]({'attributes':{'class':[_0x5db8b0(0x1d7),_0xa38a2?'':_0x5db8b0(0x1e1)]}});const _0x3a069a=new _0x3054b9();_0x3a069a[_0x5db8b0(0x1d6)]({'tag':_0x5db8b0(0x1d2),'attributes':{'class':['ck',_0x5db8b0(0x1da)]},'children':[..._0x3e818e,{'tag':_0x5db8b0(0x1d3),'attributes':{'class':[_0x5db8b0(0x1e4)]},'children':[_0xa38a2]}]}),this[_0x5db8b0(0x1e2)][_0x5db8b0(0x1eb)](_0x3a069a),this[_0x5db8b0(0x1e8)]=_0x52948e[_0x5db8b0(0x1e8)];}}function ea(_0x38d42b){const _0x2611a9=_0x151908,_0x5ef0ee=new _0x4805b8();return _0x5ef0ee[_0x2611a9(0x1ea)]=_0x38d42b,_0x5ef0ee;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xac7e84=_0x41ab;function _0x41ab(_0x3d179e,_0x1f53eb){const _0x567d6f=_0x567d();return _0x41ab=function(_0x41ab3f,_0x590b0e){_0x41ab3f=_0x41ab3f-0x12a;let _0x26c2a8=_0x567d6f[_0x41ab3f];return _0x26c2a8;},_0x41ab(_0x3d179e,_0x1f53eb);}(function(_0x3d0fe1,_0x2cbb96){const _0x4a4663=_0x41ab,_0x500a22=_0x3d0fe1();while(!![]){try{const _0x2faba9=parseInt(_0x4a4663(0x13a))/0x1*(-parseInt(_0x4a4663(0x12a))/0x2)+-parseInt(_0x4a4663(0x144))/0x3+parseInt(_0x4a4663(0x138))/0x4*(parseInt(_0x4a4663(0x130))/0x5)+-parseInt(_0x4a4663(0x14c))/0x6*(-parseInt(_0x4a4663(0x13f))/0x7)+parseInt(_0x4a4663(0x12d))/0x8+parseInt(_0x4a4663(0x132))/0x9+-parseInt(_0x4a4663(0x140))/0xa;if(_0x2faba9===_0x2cbb96)break;else _0x500a22['push'](_0x500a22['shift']());}catch(_0x3465ee){_0x500a22['push'](_0x500a22['shift']());}}}(_0x567d,0xb366d));import{View as _0x1e5168}from'ckeditor5/src/ui.js';function _0x567d(){const _0x5a0b9c=['set','ck-ai-chat__feed__item_done','[data-id]','markAsDone','createCollection','18HCXxYL','setTemplate','14lGxjPU','div','forEach','6097184yYIjlV','ck-ai-chat__feed__text-item','children','45iCUhgf','isVisible','11945781PJjvOh','cleanUpAnimations','animation:\x20ck-html-streamer-fade-in\x20.5s','querySelectorAll','ck-hidden','htmlStreamer','116896MpyOwR','streamIntoElement','76218TlHUBF','content','stream','element','options','2082346Eyqdai','11676010styliK','ck-ai-chat__feed__item','isDone','removeAttribute','2426853OXcJfK','data-id','bindTemplate'];_0x567d=function(){return _0x5a0b9c;};return _0x567d();}import{HTMLStreamer as _0x29099d}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x1e5168{[_0xac7e84(0x13e)];[_0xac7e84(0x13b)]='';[_0xac7e84(0x137)];[_0xac7e84(0x12f)];constructor(_0x28b6ad){const _0x4195f0=_0xac7e84;super();const _0x5f3b7f=this[_0x4195f0(0x146)];this[_0x4195f0(0x147)](_0x4195f0(0x142),!0x1),this[_0x4195f0(0x147)](_0x4195f0(0x131),!0x0),this[_0x4195f0(0x137)]=new _0x29099d({'textNodeStyle':_0x4195f0(0x134),'delay':0x14}),this[_0x4195f0(0x13e)]=_0x28b6ad,this[_0x4195f0(0x12f)]=this[_0x4195f0(0x14b)](),this[_0x4195f0(0x14d)]({'tag':_0x4195f0(0x12b),'attributes':{'class':['ck',_0x4195f0(0x141),_0x5f3b7f['if'](_0x4195f0(0x142),_0x4195f0(0x148)),_0x5f3b7f['if'](_0x4195f0(0x131),_0x4195f0(0x136),_0x53fe72=>!_0x53fe72),_0x4195f0(0x12e)],'data-cke-ai-id':this[_0x4195f0(0x13e)]['id']},'children':this[_0x4195f0(0x12f)]});}[_0xac7e84(0x14a)](){const _0x2dc519=_0xac7e84;this[_0x2dc519(0x137)][_0x2dc519(0x133)]({'targetElement':this[_0x2dc519(0x13d)]}),this[_0x2dc519(0x13d)][_0x2dc519(0x135)](_0x2dc519(0x149))[_0x2dc519(0x12c)](_0x24abd1=>{const _0x5b9ef2=_0x2dc519;_0x24abd1[_0x5b9ef2(0x143)](_0x5b9ef2(0x145));}),this[_0x2dc519(0x142)]=!0x0;}async[_0xac7e84(0x139)](_0x17c48e,_0x544c19,_0x3f057f){const _0x9d86f9=_0xac7e84;await this[_0x9d86f9(0x137)][_0x9d86f9(0x13c)]({'document':_0x17c48e,'targetElement':_0x544c19,'abortSignal':_0x3f057f});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20e442=_0x4f24;(function(_0x4bf3b4,_0x4eccd0){const _0x12ec72=_0x4f24,_0x23c180=_0x4bf3b4();while(!![]){try{const _0x52c7c3=parseInt(_0x12ec72(0x81))/0x1*(parseInt(_0x12ec72(0x92))/0x2)+parseInt(_0x12ec72(0x90))/0x3+parseInt(_0x12ec72(0x83))/0x4+-parseInt(_0x12ec72(0x7d))/0x5*(-parseInt(_0x12ec72(0x9f))/0x6)+-parseInt(_0x12ec72(0x87))/0x7*(-parseInt(_0x12ec72(0x9d))/0x8)+parseInt(_0x12ec72(0x7f))/0x9+-parseInt(_0x12ec72(0x7c))/0xa*(parseInt(_0x12ec72(0x7e))/0xb);if(_0x52c7c3===_0x4eccd0)break;else _0x23c180['push'](_0x23c180['shift']());}catch(_0x4d885c){_0x23c180['push'](_0x23c180['shift']());}}}(_0x4ca0,0xa7242));import{AIChatFeedItemView as _0x15a6ff}from'./aichatfeeditemview.js';import{parse as _0x2f3639,render as _0x33da03}from'../../../aicore/utils/htmlparser.js';import{View as _0x1607b5}from'ckeditor5/src/ui.js';function _0x4f24(_0x45f8c2,_0xb12463){const _0x4ca0b2=_0x4ca0();return _0x4f24=function(_0x4f24b5,_0x42279d){_0x4f24b5=_0x4f24b5-0x7b;let _0x5d46bd=_0x4ca0b2[_0x4f24b5];return _0x5d46bd;},_0x4f24(_0x45f8c2,_0xb12463);}import{AIWebSourcesView as _0x2ac82b,AIWebSourceView as _0x1789c8}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x15a6ff{[_0x20e442(0x97)];[_0x20e442(0x89)];constructor(_0x332d90,_0x430fba,_0x5480df){const _0x59664e=_0x20e442;super(_0x430fba),this[_0x59664e(0x89)]=_0x5480df,this[_0x59664e(0x96)]=_0x332d90,this[_0x59664e(0x82)]({'attributes':{'class':[_0x59664e(0x85)]}}),this[_0x59664e(0x97)]=new _0x1607b5(),this[_0x59664e(0x97)][_0x59664e(0x95)]({'tag':_0x59664e(0x7b),'attributes':{'class':['ck',_0x59664e(0x9e),_0x59664e(0x86)]}}),this[_0x59664e(0x9c)][_0x59664e(0x94)](this[_0x59664e(0x97)]);}async[_0x20e442(0x99)](){const _0x57cfcf=_0x20e442;super[_0x57cfcf(0x99)](),this[_0x57cfcf(0x88)][_0x57cfcf(0x8a)]&&(await this[_0x57cfcf(0x80)]({'parsedContent':_0x2f3639(this[_0x57cfcf(0x88)][_0x57cfcf(0x8a)]),'renderingStrategy':_0x57cfcf(0x8e)}),this[_0x57cfcf(0x91)]());}async[_0x20e442(0x80)]({parsedContent:_0xe13797,renderingStrategy:_0x258b4a,abortSignal:_0x36be43}){const _0x3d76e4=_0x20e442;_0x3d76e4(0x8b)===_0x258b4a?await this[_0x3d76e4(0x8f)](_0xe13797,this[_0x3d76e4(0x97)][_0x3d76e4(0x98)],_0x36be43):this[_0x3d76e4(0x97)][_0x3d76e4(0x98)][_0x3d76e4(0x93)]=_0x33da03(_0xe13797);}[_0x20e442(0x8d)](_0x3fdb3b){const _0x224528=_0x20e442,_0x6a02a6=new _0x2ac82b(this[_0x224528(0x96)],this[_0x224528(0x89)]);_0x6a02a6[_0x224528(0x9c)][_0x224528(0x8c)](_0x3fdb3b[_0x224528(0x9b)](_0x2863a8=>new _0x1789c8(this[_0x224528(0x96)],_0x2863a8,_0x6a02a6[_0x224528(0x9a)]))),_0x6a02a6[_0x224528(0x84)]=!0x0,this[_0x224528(0x9c)][_0x224528(0x94)](_0x6a02a6);}}function _0x4ca0(){const _0x35dff9=['5107545MvieQS','updateContent','29xbRxcO','extendTemplate','1534920ccEnDC','isVisible','ck-ai-chat__feed__ai-reply','ck-ai-chat__feed__ai-reply-container','1239KGlVDj','options','_bodyCollection','initialContent','streaming','addMany','updateSources','static','streamIntoElement','1686018kvoANM','markAsDone','17726lBOoGZ','innerHTML','add','setTemplate','locale','replyContainer','element','render','balloonPanelView','map','children','57944OtJgim','ck-reset_all-excluded','430998YryIik','div','24395020dELSla','5RLYioF','11nPlBzM'];_0x4ca0=function(){return _0x35dff9;};return _0x4ca0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6b862a=_0x45c7;(function(_0x191dd5,_0xb4a08b){const _0x1b6ee5=_0x45c7,_0x4e31ed=_0x191dd5();while(!![]){try{const _0x5d56ee=parseInt(_0x1b6ee5(0x174))/0x1*(-parseInt(_0x1b6ee5(0x188))/0x2)+parseInt(_0x1b6ee5(0x175))/0x3*(parseInt(_0x1b6ee5(0x17c))/0x4)+parseInt(_0x1b6ee5(0x17b))/0x5+-parseInt(_0x1b6ee5(0x181))/0x6+parseInt(_0x1b6ee5(0x173))/0x7+-parseInt(_0x1b6ee5(0x17f))/0x8*(parseInt(_0x1b6ee5(0x17a))/0x9)+-parseInt(_0x1b6ee5(0x186))/0xa*(-parseInt(_0x1b6ee5(0x16e))/0xb);if(_0x5d56ee===_0xb4a08b)break;else _0x4e31ed['push'](_0x4e31ed['shift']());}catch(_0x5680d4){_0x4e31ed['push'](_0x4e31ed['shift']());}}}(_0x56ec,0xb75f9));function _0x45c7(_0xdbb19f,_0x394075){const _0x56ecb3=_0x56ec();return _0x45c7=function(_0x45c7d5,_0xf92bc6){_0x45c7d5=_0x45c7d5-0x16a;let _0x1bae00=_0x56ecb3[_0x45c7d5];return _0x1bae00;},_0x45c7(_0xdbb19f,_0x394075);}import{ButtonView as _0x41e90a,View as _0x3ee0f6}from'ckeditor5/src/ui.js';import{getTranslation as _0x5aa288}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3e7e19}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x6b862a(0x183),_0x6b862a(0x17d)];function _0x56ec(){const _0x5717a0=['61440UimoEg','bindTemplate','4893900HHlOMj','ck-ai-chat__feed__suggestion__actions__info','applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','button','5664110raSvfa','AI_CHAT_SUGGESTION_ACTION_SUGGEST','2xMxpcU','AI_CHAT_SUGGESTION_ACTION_APPLY','ck-ai-chat__feed__ai-suggestion__actions','setTemplate','execute','_applyChangesButton','children','div','forEach','_insertSuggestionsButton','createCollection','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','_switchButtonLabelsPlurality','ck-ai-button-secondary','isVisible','isTrackChangesOn','includes','addMany','change:isTrackChangesOn','label','updateVisibility','isEnabled','33joTHzL','add','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_SUGGESTION_DISABLED_FEED_MESSAGE','ck-ai-button-primary','7683543oFXyan','1134703miXcrT','1317SDdXmA','ck-hidden','bind','locale','fire','1719IWLvcD','6688225ejAMet','308jbLkZx','insertSuggestion','set'];_0x56ec=function(){return _0x5717a0;};return _0x56ec();}export class AIChatFeedSuggestionItemActionsView extends _0x3ee0f6{[_0x6b862a(0x18d)];[_0x6b862a(0x191)];[_0x6b862a(0x18e)];constructor(_0x27cf30,_0x2d98f5=[...AI_REPLY_ACTIONS],_0x5bfd46){const _0x226bbb=_0x6b862a;super(_0x27cf30);const _0x3fda33=this[_0x226bbb(0x180)],_0x588678=Boolean(_0x5bfd46);if(this[_0x226bbb(0x17e)](_0x226bbb(0x16d),!_0x588678),this[_0x226bbb(0x17e)](_0x226bbb(0x196),!0x1),this[_0x226bbb(0x17e)](_0x226bbb(0x197),!0x1),this[_0x226bbb(0x18e)]=this[_0x226bbb(0x192)](),_0x588678){const _0x282538=new _0x41e90a(_0x27cf30);_0x282538[_0x226bbb(0x17e)]({'label':_0x5aa288(_0x27cf30,_0x226bbb(0x170)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3e7e19});const _0x105ebd=new _0x3ee0f6(_0x27cf30);_0x105ebd[_0x226bbb(0x18b)]({'tag':_0x226bbb(0x18f),'attributes':{'class':_0x226bbb(0x182)},'children':[{'tag':'p','children':[_0x5aa288(_0x27cf30,_0x226bbb(0x171)),_0x282538]}]}),this[_0x226bbb(0x18e)][_0x226bbb(0x16f)](_0x105ebd);}else this[_0x226bbb(0x18d)]=new _0x41e90a(_0x27cf30),this[_0x226bbb(0x18d)][_0x226bbb(0x17e)]({'label':_0x5aa288(_0x27cf30,_0x226bbb(0x184)),'withText':!0x0,'type':_0x226bbb(0x185),'isVisible':_0x2d98f5[_0x226bbb(0x198)](_0x226bbb(0x183)),'class':_0x226bbb(0x172)}),this[_0x226bbb(0x191)]=new _0x41e90a(_0x27cf30),this[_0x226bbb(0x191)][_0x226bbb(0x17e)]({'label':_0x5aa288(_0x27cf30,_0x226bbb(0x193)),'withText':!0x0,'type':_0x226bbb(0x185),'isVisible':_0x2d98f5[_0x226bbb(0x198)](_0x226bbb(0x17d)),'class':_0x226bbb(0x195)}),this[_0x226bbb(0x191)]['on'](_0x226bbb(0x18c),()=>{const _0x2868b1=_0x226bbb;this[_0x2868b1(0x179)](_0x2868b1(0x17d));}),this[_0x226bbb(0x18d)]['on'](_0x226bbb(0x18c),()=>{const _0x507246=_0x226bbb;this[_0x507246(0x179)](_0x507246(0x183));}),[this[_0x226bbb(0x18d)],this[_0x226bbb(0x191)]][_0x226bbb(0x190)](_0x55e8e0=>{const _0x5b9232=_0x226bbb;_0x55e8e0[_0x5b9232(0x177)](_0x5b9232(0x16d))['to'](this);}),this[_0x226bbb(0x18e)][_0x226bbb(0x199)]([this[_0x226bbb(0x18d)],this[_0x226bbb(0x191)]]);this[_0x226bbb(0x18b)]({'tag':_0x226bbb(0x18f),'attributes':{'class':['ck',_0x226bbb(0x18a),_0x3fda33['if'](_0x226bbb(0x196),_0x226bbb(0x176),_0x30fdc1=>!_0x30fdc1)]},'children':this[_0x226bbb(0x18e)]}),this['on'](_0x226bbb(0x16a),()=>{const _0x2f08a4=_0x226bbb;this[_0x2f08a4(0x18d)]&&(this[_0x2f08a4(0x18d)][_0x2f08a4(0x196)]=!this[_0x2f08a4(0x197)]);});}[_0x6b862a(0x16c)](_0x1aa085){const _0x58490b=_0x6b862a;this[_0x58490b(0x196)]=_0x1aa085;}[_0x6b862a(0x194)](_0xcae1c8){const _0x4eef3c=_0x6b862a;this[_0x4eef3c(0x18d)]&&this[_0x4eef3c(0x191)]&&(_0xcae1c8?(this[_0x4eef3c(0x18d)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x184)),this[_0x4eef3c(0x191)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x193))):(this[_0x4eef3c(0x18d)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x189)),this[_0x4eef3c(0x191)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x187))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
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)];
|