@ckeditor/ckeditor5-ai 47.0.0-alpha.2 → 47.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +50 -37
- package/dist/index.css +68 -38
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +5 -0
- package/lang/translations/ar.po +171 -171
- package/lang/translations/bg.po +155 -155
- package/lang/translations/bn.po +155 -155
- package/lang/translations/ca.po +155 -155
- package/lang/translations/cs.po +159 -159
- package/lang/translations/da.po +155 -155
- package/lang/translations/de.po +155 -155
- package/lang/translations/el.po +155 -155
- package/lang/translations/es.po +155 -155
- package/lang/translations/et.po +155 -155
- package/lang/translations/fi.po +155 -155
- package/lang/translations/fr.po +155 -155
- package/lang/translations/he.po +155 -155
- package/lang/translations/hi.po +155 -155
- package/lang/translations/hu.po +155 -155
- package/lang/translations/id.po +151 -151
- package/lang/translations/it.po +155 -155
- package/lang/translations/ja.po +151 -151
- package/lang/translations/ko.po +151 -151
- package/lang/translations/lt.po +159 -159
- package/lang/translations/lv.po +159 -159
- package/lang/translations/ms.po +151 -151
- package/lang/translations/nl.po +155 -155
- package/lang/translations/no.po +155 -155
- package/lang/translations/pl.po +159 -159
- package/lang/translations/pt-br.po +155 -155
- package/lang/translations/pt.po +155 -155
- package/lang/translations/ro.po +159 -159
- package/lang/translations/ru.po +159 -159
- package/lang/translations/sk.po +159 -159
- package/lang/translations/sr.po +159 -159
- package/lang/translations/sv.po +155 -155
- package/lang/translations/th.po +151 -151
- package/lang/translations/tr.po +155 -155
- package/lang/translations/uk.po +159 -159
- package/lang/translations/vi.po +151 -151
- package/lang/translations/zh-cn.po +151 -151
- package/lang/translations/zh.po +151 -151
- package/package.json +16 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.d.ts +2 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -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/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +19 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.js +1 -1
- package/theme/aichat/aichatfeed.css +6 -2
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22dc22=_0x1505;(function(_0x1ede67,_0x3e0d6a){const _0x24b6ac=_0x1505,_0x42d7ae=_0x1ede67();while(!![]){try{const _0xdcc1a3=-parseInt(_0x24b6ac(0x128))/0x1+parseInt(_0x24b6ac(0x12e))/0x2+-parseInt(_0x24b6ac(0x140))/0x3+parseInt(_0x24b6ac(0x152))/0x4*(parseInt(_0x24b6ac(0x141))/0x5)+parseInt(_0x24b6ac(0x12b))/0x6*(-parseInt(_0x24b6ac(0x120))/0x7)+-parseInt(_0x24b6ac(0x155))/0x8+parseInt(_0x24b6ac(0x15f))/0x9;if(_0xdcc1a3===_0x3e0d6a)break;else _0x42d7ae['push'](_0x42d7ae['shift']());}catch(_0x5a8da0){_0x42d7ae['push'](_0x42d7ae['shift']());}}}(_0x251d,0x87d9b));import{KeystrokeHandler as _0x5f0530}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x419a0e,BodyCollection as _0x5b2f64,clickOutsideHandler as _0x4deb30,ListItemButtonView as _0x1b232a,ListItemView as _0x182215,ListView as _0x7e2715,SplitButtonView as _0x61ff04,UIModel as _0x57d308,View as _0x3f1e9d}from'ckeditor5/src/ui.js';import{IconAddComment as _0x5ad74b,IconDocumentWithLoupe as _0x52ab83}from'ckeditor5/src/icons.js';import{getTranslation as _0x4dcb9f}from'../../../aicore/utils/common-translations.js';export class AIChatFeedSuggestionItemActionsView extends _0x3f1e9d{[_0x22dc22(0x13b)];[_0x22dc22(0x13e)];[_0x22dc22(0x126)];[_0x22dc22(0x168)];constructor(_0x264ede){const _0x23a0e8=_0x22dc22;super(_0x264ede);const _0x469b9d=this[_0x23a0e8(0x12f)];this[_0x23a0e8(0x158)](_0x23a0e8(0x125),!0x0),this[_0x23a0e8(0x158)](_0x23a0e8(0x14f),!0x0),this[_0x23a0e8(0x126)]=new _0x57d308({'label':_0x4dcb9f(_0x264ede,_0x23a0e8(0x156)),'icon':_0x52ab83,'withText':!0x0,'type':_0x23a0e8(0x167),'actionName':_0x23a0e8(0x162)}),this[_0x23a0e8(0x168)]=new _0x57d308({'label':_0x4dcb9f(_0x264ede,_0x23a0e8(0x143)),'icon':_0x5ad74b,'withText':!0x0,'type':_0x23a0e8(0x167),'actionName':_0x23a0e8(0x136)}),this[_0x23a0e8(0x13b)]=new Oo(_0x264ede,{'listItemModels':[this[_0x23a0e8(0x126)],this[_0x23a0e8(0x168)]]}),this[_0x23a0e8(0x13b)]['on'](_0x23a0e8(0x164),()=>{const _0x2d5d0a=_0x23a0e8;this[_0x2d5d0a(0x15e)](_0x2d5d0a(0x133));}),this[_0x23a0e8(0x13b)]['on'](_0x23a0e8(0x162),()=>{const _0x2becf9=_0x23a0e8;this[_0x2becf9(0x15e)](_0x2becf9(0x162));}),this[_0x23a0e8(0x13b)]['on'](_0x23a0e8(0x136),()=>{const _0x15dc69=_0x23a0e8;this[_0x15dc69(0x15e)](_0x15dc69(0x136));}),this[_0x23a0e8(0x13b)][_0x23a0e8(0x158)]({'label':_0x23a0e8(0x160),'tooltip':_0x4dcb9f(this[_0x23a0e8(0x166)],_0x23a0e8(0x123)),'withText':!0x0,'class':_0x23a0e8(0x11f),'balloonPanelClass':_0x23a0e8(0x13c)}),this[_0x23a0e8(0x13b)][_0x23a0e8(0x139)](_0x23a0e8(0x125))['to'](this),this[_0x23a0e8(0x13e)]=this[_0x23a0e8(0x14e)]([this[_0x23a0e8(0x13b)]]),this[_0x23a0e8(0x154)]({'tag':_0x23a0e8(0x150),'attributes':{'class':['ck',_0x23a0e8(0x11f),_0x469b9d['if'](_0x23a0e8(0x14f),_0x23a0e8(0x121),_0x58470f=>!_0x58470f)]},'children':[this[_0x23a0e8(0x13b)]]});}[_0x22dc22(0x13d)](_0x52304f){const _0x102aca=_0x22dc22,_0x12c45c=this[_0x102aca(0x166)];this[_0x102aca(0x13b)][_0x102aca(0x158)]({'label':_0x4dcb9f(_0x12c45c,_0x102aca(0x142),_0x52304f),'tooltip':_0x4dcb9f(_0x12c45c,_0x102aca(0x123),_0x52304f)}),this[_0x102aca(0x126)][_0x102aca(0x130)]=_0x4dcb9f(_0x12c45c,_0x102aca(0x156),_0x52304f),this[_0x102aca(0x168)][_0x102aca(0x130)]=_0x4dcb9f(_0x12c45c,_0x102aca(0x143),_0x52304f);}}class Oo extends _0x61ff04{[_0x22dc22(0x134)];[_0x22dc22(0x15a)];[_0x22dc22(0x161)];[_0x22dc22(0x165)];constructor(_0x11b903,_0x1d4afa){const _0x20c97f=_0x22dc22;super(_0x11b903),this[_0x20c97f(0x15a)]=new _0x419a0e(this[_0x20c97f(0x166)]),this[_0x20c97f(0x134)]=new _0x5b2f64(this[_0x20c97f(0x166)]),this[_0x20c97f(0x134)][_0x20c97f(0x147)](),this[_0x20c97f(0x158)](_0x20c97f(0x135),''),this[_0x20c97f(0x15a)][_0x20c97f(0x139)](_0x20c97f(0x137))['to'](this,_0x20c97f(0x135)),this[_0x20c97f(0x161)]=this[_0x20c97f(0x13f)](_0x1d4afa[_0x20c97f(0x124)]),this[_0x20c97f(0x134)][_0x20c97f(0x163)](this[_0x20c97f(0x15a)]),this[_0x20c97f(0x15a)][_0x20c97f(0x14a)][_0x20c97f(0x163)](this[_0x20c97f(0x161)]),this[_0x20c97f(0x127)][_0x20c97f(0x131)](_0x20c97f(0x15b)),this[_0x20c97f(0x127)][_0x20c97f(0x158)](_0x20c97f(0x15b),_0x4dcb9f(this[_0x20c97f(0x166)],_0x20c97f(0x13a))),this[_0x20c97f(0x148)](),this['on'](_0x20c97f(0x164),()=>{const _0x65d85d=_0x20c97f;this[_0x65d85d(0x15a)][_0x65d85d(0x149)](),this[_0x65d85d(0x127)][_0x65d85d(0x12a)]();}),this['on'](_0x20c97f(0x146),()=>{const _0x52977b=_0x20c97f;this[_0x52977b(0x15a)][_0x52977b(0x14f)]?(this[_0x52977b(0x15a)][_0x52977b(0x149)](),this[_0x52977b(0x127)][_0x52977b(0x12a)]()):(this[_0x52977b(0x15a)][_0x52977b(0x12d)]({'target':this[_0x52977b(0x145)],'positions':[_0x52977b(0x159)===this[_0x52977b(0x166)][_0x52977b(0x15c)]?go:Co]}),this[_0x52977b(0x161)][_0x52977b(0x12a)]());}),_0x4deb30({'emitter':this[_0x20c97f(0x15a)],'callback':()=>{const _0x31ce44=_0x20c97f;this[_0x31ce44(0x15a)][_0x31ce44(0x149)]();},'activator':()=>this[_0x20c97f(0x15a)][_0x20c97f(0x14f)],'contextElements':()=>[this[_0x20c97f(0x145)],this[_0x20c97f(0x15a)][_0x20c97f(0x145)]]});}[_0x22dc22(0x13f)](_0x572dfd){const _0xb9995d=_0x22dc22,_0x106646=this[_0xb9995d(0x166)],_0x59b0da=new _0x7e2715(_0x106646);for(const _0xa428e3 of _0x572dfd){const _0x2ac080=new _0x182215(_0x106646),_0x4d9e06=new _0x1b232a(_0x106646);_0x4d9e06[_0xb9995d(0x139)](...Object[_0xb9995d(0x14c)](_0xa428e3))['to'](_0xa428e3),_0x4d9e06[_0xb9995d(0x12c)](_0xb9995d(0x164))['to'](_0x59b0da),_0x2ac080[_0xb9995d(0x13e)][_0xb9995d(0x163)](_0x4d9e06),_0x59b0da[_0xb9995d(0x144)][_0xb9995d(0x163)](_0x2ac080);}return _0x59b0da[_0xb9995d(0x144)][_0xb9995d(0x12c)](_0xb9995d(0x164))['to'](this),_0x59b0da['on'](_0xb9995d(0x164),_0x32bf4a=>{const _0x3d1af1=_0xb9995d,_0x24fbb9=_0x32bf4a[_0x3d1af1(0x14d)];this[_0x3d1af1(0x15e)](_0x24fbb9[_0x3d1af1(0x14b)]),this[_0x3d1af1(0x15a)][_0x3d1af1(0x149)](),this[_0x3d1af1(0x127)][_0x3d1af1(0x12a)]();}),_0x59b0da;}[_0x22dc22(0x148)](){const _0xf7262a=_0x22dc22;this[_0xf7262a(0x165)]=new _0x5f0530(),this[_0xf7262a(0x165)][_0xf7262a(0x132)](this[_0xf7262a(0x15a)][_0xf7262a(0x145)]),this[_0xf7262a(0x165)][_0xf7262a(0x158)](_0xf7262a(0x122),(_0x349e64,_0x1a0107)=>{const _0x1eedee=_0xf7262a;this[_0x1eedee(0x15a)][_0x1eedee(0x149)](),this[_0x1eedee(0x127)][_0x1eedee(0x12a)](),_0x1a0107();});}[_0x22dc22(0x129)](){const _0x359c7f=_0x22dc22;super[_0x359c7f(0x129)](),this[_0x359c7f(0x165)][_0x359c7f(0x129)](),this[_0x359c7f(0x15a)][_0x359c7f(0x129)](),this[_0x359c7f(0x134)][_0x359c7f(0x151)]();}}function go(_0x3d17ed){const _0x1950ab=_0x22dc22;return{'top':_0x3d17ed[_0x1950ab(0x157)],'left':_0x3d17ed[_0x1950ab(0x138)],'name':_0x1950ab(0x15d),'config':{'withArrow':!0x1}};}function Co(_0x18570d,_0x4ac4bf){const _0x25553c=_0x22dc22;return{'top':_0x18570d[_0x25553c(0x157)],'left':_0x18570d[_0x25553c(0x138)]-(_0x4ac4bf[_0x25553c(0x153)]-_0x18570d[_0x25553c(0x153)]),'name':_0x25553c(0x15d),'config':{'withArrow':!0x1}};}function _0x1505(_0x46064e,_0x4a7403){const _0x251dbf=_0x251d();return _0x1505=function(_0x15056e,_0x3ddae6){_0x15056e=_0x15056e-0x11f;let _0x321e8e=_0x251dbf[_0x15056e];return _0x321e8e;},_0x1505(_0x46064e,_0x4a7403);}function _0x251d(){const _0x2f84eb=['AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','bottom','set','ltr','balloonPanelView','tooltip','uiLanguageDirection','arrowless','fire','20362644zHLbxb','Apply','listView','showChangeInText','add','execute','keystrokeHandler','locale','button','insertSuggestionModel','ck-ai-chat__feed__ai-suggestion__actions','133WthjfK','ck-hidden','esc','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','listItemModels','isEnabled','showChangeInTextModel','arrowView','151661UVkXxZ','destroy','focus','307398dOEPZJ','delegate','pin','588338afQWhS','bindTemplate','label','unbind','listenTo','applySuggestion','bodyCollection','balloonPanelClass','insertSuggestion','class','left','bind','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','actionsDropdown','ck-ai-chat__feed__ai-suggestion__actions__balloon','updateLabels','children','_setUpList','334704dQDNeW','975JFLpzC','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','items','element','open','attachToDom','_setUpKeystrokes','hide','content','actionName','keys','source','createCollection','isVisible','div','detachFromDom','4420McevbF','width','setTemplate','7832488KGbQkt'];_0x251d=function(){return _0x2f84eb;};return _0x251d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2c47(){var _0xcd168d=['areActionsDisabled','containerView','applySuggestion','6TnAfVj','hasNonEmptyParts','updateSources','insertSuggestion','hasPendingParts','getPartView','bodyView','partsCount','updateContent','1083260AbMSeN','342888IUIZrE','5413950bgChjl','updateLabels','420192JUqBBY','children','actionsView','isVisible','addMany','1mAlDrr','fire','toggleSuggestionDisplayMode','showChangeInText','rejectSuggestion','277676WHPqBE','mouseLeaveSuggestion','mouseOverSuggestion','updatePartState','529858xzPRgO','markAsDone','extendTemplate','options','isEnabled','bind','showDiff','938511WgxbGs','dislike','ck-ai-chat__feed__ai-suggestion','like'];_0x2c47=function(){return _0xcd168d;};return _0x2c47();}var _0x556a59=_0x39d9;(function(_0xc4cfa7,_0x1796df){var _0xab3229=_0x39d9,_0x473468=_0xc4cfa7();while(!![]){try{var _0x4ac4c0=-parseInt(_0xab3229(0x185))/0x1*(-parseInt(_0xab3229(0x18e))/0x2)+-parseInt(_0xab3229(0x19c))/0x3*(-parseInt(_0xab3229(0x18a))/0x4)+parseInt(_0xab3229(0x1a5))/0x5+-parseInt(_0xab3229(0x1a6))/0x6+parseInt(_0xab3229(0x195))/0x7+parseInt(_0xab3229(0x1a9))/0x8+-parseInt(_0xab3229(0x1a7))/0x9;if(_0x4ac4c0===_0x1796df)break;else _0x473468['push'](_0x473468['shift']());}catch(_0x804482){_0x473468['push'](_0x473468['shift']());}}}(_0x2c47,0x2435e));function _0x39d9(_0x6ef1c5,_0x36389a){var _0x2c4723=_0x2c47();return _0x39d9=function(_0x39d9d7,_0x3f25b5){_0x39d9d7=_0x39d9d7-0x181;var _0xd01909=_0x2c4723[_0x39d9d7];return _0xd01909;},_0x39d9(_0x6ef1c5,_0x36389a);}import{AIChatFeedItemView as _0x1f4062}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x31f681}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x11abe8}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x1f4062{[_0x556a59(0x19a)];[_0x556a59(0x182)];constructor(_0xee55f,_0x21c938){var _0x396f19=_0x556a59;super(_0x21c938),this[_0x396f19(0x19a)]=new _0x31f681(_0xee55f,{'showDiff':_0x21c938[_0x396f19(0x194)],'areActionsDisabled':_0x21c938[_0x396f19(0x199)]}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x187),(_0x503b00,_0x5a9b9b)=>{var _0xee63af=_0x396f19;this[_0xee63af(0x186)](_0xee63af(0x187),{'replyId':this[_0xee63af(0x191)]['id'],'showDiff':_0x5a9b9b[_0xee63af(0x194)]});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x198),()=>{var _0x32508c=_0x396f19;this[_0x32508c(0x186)](_0x32508c(0x198),{'replyId':this[_0x32508c(0x191)]['id']});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x196),()=>{var _0x5bc19d=_0x396f19;this[_0x5bc19d(0x186)](_0x5bc19d(0x196),{'replyId':this[_0x5bc19d(0x191)]['id']});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x188),(_0x13eef3,{index:_0x39ebd6})=>{var _0xd2dd37=_0x396f19;this[_0xd2dd37(0x186)](_0xd2dd37(0x188),{'replyId':this[_0xd2dd37(0x191)]['id'],'partIndex':_0x39ebd6});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x19f),(_0x3034eb,{index:_0x23f9ec})=>{var _0x1da88b=_0x396f19;this[_0x1da88b(0x186)](_0x1da88b(0x19f),{'replyId':this[_0x1da88b(0x191)]['id'],'partIndex':_0x23f9ec});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x189),(_0x5890d1,{index:_0x186596})=>{var _0x2b65f4=_0x396f19;this[_0x2b65f4(0x186)](_0x2b65f4(0x189),{'replyId':this[_0x2b65f4(0x191)]['id'],'partIndex':_0x186596});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x18c),(_0x247155,{index:_0x37ccd5})=>{var _0x547bdc=_0x396f19;this[_0x547bdc(0x186)](_0x547bdc(0x18c),{'replyId':this[_0x547bdc(0x191)]['id'],'partIndex':_0x37ccd5});}),this[_0x396f19(0x19a)]['on'](_0x396f19(0x18b),(_0x2b24e4,{index:_0x2e3ab1})=>{var _0x424d89=_0x396f19;this[_0x424d89(0x186)](_0x424d89(0x18b),{'replyId':this[_0x424d89(0x191)]['id'],'partIndex':_0x2e3ab1});}),this[_0x396f19(0x182)]=new _0x11abe8(_0xee55f),this[_0x396f19(0x182)]['on'](_0x396f19(0x188),()=>{var _0x589492=_0x396f19;this[_0x589492(0x186)](_0x589492(0x188),{'replyId':this[_0x589492(0x191)]['id']});}),this[_0x396f19(0x182)]['on'](_0x396f19(0x19f),()=>{var _0x1be767=_0x396f19;this[_0x1be767(0x186)](_0x1be767(0x19f),{'replyId':this[_0x1be767(0x191)]['id']});}),this[_0x396f19(0x182)]['on'](_0x396f19(0x19b),()=>{var _0x5c2d23=_0x396f19;this[_0x5c2d23(0x186)](_0x5c2d23(0x19b),{'replyId':this[_0x5c2d23(0x191)]['id']});}),_0x21c938[_0x396f19(0x199)]?this[_0x396f19(0x182)][_0x396f19(0x192)]=!0x1:this[_0x396f19(0x182)][_0x396f19(0x193)](_0x396f19(0x192))['to'](this[_0x396f19(0x19a)][_0x396f19(0x1a2)],_0x396f19(0x1a0)),this[_0x396f19(0x181)][_0x396f19(0x184)]([this[_0x396f19(0x19a)],this[_0x396f19(0x182)]]),this[_0x396f19(0x190)]({'attributes':{'class':[_0x396f19(0x197)]}});}async[_0x556a59(0x1a4)](_0xc203c1){var _0x28bbd5=_0x556a59;await this[_0x28bbd5(0x19a)][_0x28bbd5(0x1a4)](_0xc203c1),this[_0x28bbd5(0x182)][_0x28bbd5(0x1a8)](this[_0x28bbd5(0x19a)][_0x28bbd5(0x1a2)][_0x28bbd5(0x1a3)]);}[_0x556a59(0x18d)](_0x32a911,_0x3bacef){var _0x4815b6=_0x556a59;this[_0x4815b6(0x19a)][_0x4815b6(0x1a2)][_0x4815b6(0x18d)](_0x32a911,_0x3bacef);}[_0x556a59(0x19e)](_0x9569c4){var _0xeb853f=_0x556a59;this[_0xeb853f(0x19a)][_0xeb853f(0x19e)](_0x9569c4);}[_0x556a59(0x1a1)](_0x370f91){var _0x111b4b=_0x556a59;return this[_0x111b4b(0x19a)][_0x111b4b(0x1a2)][_0x111b4b(0x1a1)](_0x370f91);}[_0x556a59(0x18f)](){var _0x5e6ec4=_0x556a59;super[_0x5e6ec4(0x18f)](),this[_0x5e6ec4(0x19a)][_0x5e6ec4(0x18f)](),this[_0x5e6ec4(0x182)][_0x5e6ec4(0x183)]=this[_0x5e6ec4(0x19a)][_0x5e6ec4(0x1a2)][_0x5e6ec4(0x19d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2fe3(_0x3b3320,_0x2cc4fe){var _0x27225f=_0x2722();return _0x2fe3=function(_0x2fe30c,_0x1e8f79){_0x2fe30c=_0x2fe30c-0xcd;var _0x2fd862=_0x27225f[_0x2fe30c];return _0x2fd862;},_0x2fe3(_0x3b3320,_0x2cc4fe);}function _0x2722(){var _0x44a828=['extendTemplate','_createMessageContentView','setTemplate','options','1310790Yespnf','143PsAkpH','_messageContentView','filter','8CkRJFC','add','ck-ai-chat__feed__user-message','contextItems','128352zgShAz','element','children','innerHTML','_bodyCollection','7hOcyQf','div','hidden','_contextChipsView','length','markAsDone','114pGFwxd','5470435AftDjR','8734446DhjuMY','ck-ai-chat__feed__context-chips','3906450UsajIE','257825JEtzGO','_createContextChipsView','render','ck-ai-chat__feed__message-content','7673672MSNDwq','initialContent','_locale'];_0x2722=function(){return _0x44a828;};return _0x2722();}var _0x41ffe3=_0x2fe3;(function(_0x4e29d2,_0xa94f79){var _0x1fec63=_0x2fe3,_0x4737a1=_0x4e29d2();while(!![]){try{var _0x47a3b9=parseInt(_0x1fec63(0xd6))/0x1*(-parseInt(_0x1fec63(0xe5))/0x2)+-parseInt(_0x1fec63(0xd1))/0x3*(-parseInt(_0x1fec63(0xe9))/0x4)+-parseInt(_0x1fec63(0xd2))/0x5+-parseInt(_0x1fec63(0xd3))/0x6+parseInt(_0x1fec63(0xee))/0x7*(parseInt(_0x1fec63(0xda))/0x8)+parseInt(_0x1fec63(0xd5))/0x9+parseInt(_0x1fec63(0xe1))/0xa*(parseInt(_0x1fec63(0xe2))/0xb);if(_0x47a3b9===_0xa94f79)break;else _0x4737a1['push'](_0x4737a1['shift']());}catch(_0x5613d1){_0x4737a1['push'](_0x4737a1['shift']());}}}(_0x2722,0xb390e));import{AIChatFeedItemView as _0x45f0e9}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0xbf48e5}from'./aichatfeedcontextchipsview.js';import{View as _0x1e387b}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x45f0e9{[_0x41ffe3(0xce)]=null;[_0x41ffe3(0xdc)];[_0x41ffe3(0xed)];[_0x41ffe3(0xe3)];constructor(_0x22b00d,_0x206587,_0x4b418f){var _0x419874=_0x41ffe3;super(_0x206587),this[_0x419874(0xdc)]=_0x22b00d,this[_0x419874(0xed)]=_0x4b418f,this[_0x419874(0xd7)](),this[_0x419874(0xde)](),this[_0x419874(0xdd)]({'attributes':{'class':[_0x419874(0xe7)]}});}[_0x41ffe3(0xd7)](){var _0x19bcff=_0x41ffe3;this[_0x19bcff(0xe0)][_0x19bcff(0xe8)]&&this[_0x19bcff(0xe0)][_0x19bcff(0xe8)][_0x19bcff(0xcf)]>0x0&&(this[_0x19bcff(0xce)]=new _0xbf48e5(this[_0x19bcff(0xdc)],this[_0x19bcff(0xe0)][_0x19bcff(0xe8)][_0x19bcff(0xe4)](_0x4f2587=>!_0x4f2587[_0x19bcff(0xcd)]),this[_0x19bcff(0xed)]),this[_0x19bcff(0xce)][_0x19bcff(0xdd)]({'attributes':{'class':_0x19bcff(0xd4)}}),this[_0x19bcff(0xeb)][_0x19bcff(0xe6)](this[_0x19bcff(0xce)]));}[_0x41ffe3(0xde)](){var _0x166fa5=_0x41ffe3;this[_0x166fa5(0xe3)]=new _0x1e387b(this[_0x166fa5(0xdc)]),this[_0x166fa5(0xe3)][_0x166fa5(0xdf)]({'tag':_0x166fa5(0xef),'attributes':{'class':_0x166fa5(0xd9)}}),this[_0x166fa5(0xeb)][_0x166fa5(0xe6)](this[_0x166fa5(0xe3)]);}[_0x41ffe3(0xd8)](){var _0xc88ecc=_0x41ffe3;super[_0xc88ecc(0xd8)](),this[_0xc88ecc(0xe3)][_0xc88ecc(0xea)][_0xc88ecc(0xec)]=this[_0xc88ecc(0xe0)][_0xc88ecc(0xdb)],this[_0xc88ecc(0xd0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x434d04=_0x21a3;(function(_0x5876c9,_0x5389a0){const _0x29c036=_0x21a3,_0x57e597=_0x5876c9();while(!![]){try{const _0x2a2314=-parseInt(_0x29c036(0x120))/0x1+-parseInt(_0x29c036(0x124))/0x2*(parseInt(_0x29c036(0x117))/0x3)+-parseInt(_0x29c036(0x11a))/0x4+-parseInt(_0x29c036(0x125))/0x5+-parseInt(_0x29c036(0x121))/0x6+parseInt(_0x29c036(0x11b))/0x7+-parseInt(_0x29c036(0x123))/0x8*(-parseInt(_0x29c036(0x128))/0x9);if(_0x2a2314===_0x5389a0)break;else _0x57e597['push'](_0x57e597['shift']());}catch(_0x30ede4){_0x57e597['push'](_0x57e597['shift']());}}}(_0x1467,0x42830));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3e261f}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x3e261f,_0x434d04(0x11e),_0x434d04(0x122),_0x434d04(0x11d),_0x434d04(0x129),_0x434d04(0x118),_0x434d04(0x127),_0x434d04(0x12b),_0x434d04(0x11f),_0x434d04(0x12a),_0x434d04(0x116),_0x434d04(0x119),_0x434d04(0x126),_0x434d04(0x11c)];function _0x21a3(_0x268481,_0x44d791){const _0x1467e9=_0x1467();return _0x21a3=function(_0x21a364,_0x20504c){_0x21a364=_0x21a364-0x116;let _0x41540f=_0x1467e9[_0x21a364];return _0x41540f;},_0x21a3(_0x268481,_0x44d791);}function _0x1467(){const _0x182440=['sendUserMessage','startConversation','addResourceToContext','413016HNyWPC','544512geqfwo','resizeTabs','8AndLSv','2shUMHX','546730rtHQVD','toggleReasoning','addFileToContext','7349103vplrcY','abortPromptStream','removeContextItem','addUrlToContext','loadSourceResources','688146DVxQzv','addDocumentToContext','toggleWebSearch','290772oVcNbw','2597378VZcFJw','selectModel'];_0x1467=function(){return _0x182440;};return _0x1467();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ec972=_0x756a;(function(_0x8700ac,_0x2156c9){const _0x546e2c=_0x756a,_0x3a0715=_0x8700ac();while(!![]){try{const _0x5de179=-parseInt(_0x546e2c(0x18e))/0x1+parseInt(_0x546e2c(0x18c))/0x2+-parseInt(_0x546e2c(0x18b))/0x3*(-parseInt(_0x546e2c(0x1a3))/0x4)+-parseInt(_0x546e2c(0x18a))/0x5*(parseInt(_0x546e2c(0x199))/0x6)+-parseInt(_0x546e2c(0x19d))/0x7*(parseInt(_0x546e2c(0x19e))/0x8)+parseInt(_0x546e2c(0x19c))/0x9+-parseInt(_0x546e2c(0x198))/0xa;if(_0x5de179===_0x2156c9)break;else _0x3a0715['push'](_0x3a0715['shift']());}catch(_0x82497a){_0x3a0715['push'](_0x3a0715['shift']());}}}(_0x382f,0x45d1f));import{EmitterMixin as _0x46e175}from'ckeditor5/src/utils.js';function _0x756a(_0x5d00f8,_0x29427e){const _0x382f6e=_0x382f();return _0x756a=function(_0x756afb,_0x5bf208){_0x756afb=_0x756afb-0x188;let _0x3a4abe=_0x382f6e[_0x756afb];return _0x3a4abe;},_0x756a(_0x5d00f8,_0x29427e);}export class PromiseQueue extends _0x46e175(){[_0x4ec972(0x197)]=[];[_0x4ec972(0x19b)]=!0x1;[_0x4ec972(0x192)];async[_0x4ec972(0x196)](_0x264dc7){const _0x200b98=_0x4ec972,_0x11e22d=this[_0x200b98(0x191)](_0x264dc7);return this[_0x200b98(0x197)][_0x200b98(0x18f)](_0x11e22d),this[_0x200b98(0x19a)](),_0x11e22d[_0x200b98(0x1a4)];}[_0x4ec972(0x1a0)](){const _0x25f11c=_0x4ec972;this[_0x25f11c(0x19b)]&&(this[_0x25f11c(0x192)][_0x25f11c(0x1a0)](),this[_0x25f11c(0x192)]=void 0x0,this[_0x25f11c(0x197)]=[],this[_0x25f11c(0x195)](_0x25f11c(0x19f)),this[_0x25f11c(0x19b)]=!0x1);}get[_0x4ec972(0x194)](){const _0x24cdc5=_0x4ec972;return this[_0x24cdc5(0x197)][_0x24cdc5(0x18d)]||this[_0x24cdc5(0x19b)]?new Promise(_0xb65f8=>{const _0x1f8380=_0x24cdc5;this[_0x1f8380(0x1a2)](_0x1f8380(0x19f),()=>{_0xb65f8();});}):Promise[_0x24cdc5(0x190)]();}async[_0x4ec972(0x19a)](){const _0x276b3d=_0x4ec972;if(!this[_0x276b3d(0x19b)]){this[_0x276b3d(0x192)]=new AbortController(),this[_0x276b3d(0x19b)]=!0x0;try{for(;this[_0x276b3d(0x197)][_0x276b3d(0x18d)]&&this[_0x276b3d(0x19b)];){const _0x1e39fb=this[_0x276b3d(0x197)][_0x276b3d(0x1a1)]();try{await _0x1e39fb[_0x276b3d(0x189)](this[_0x276b3d(0x192)][_0x276b3d(0x188)]),_0x1e39fb[_0x276b3d(0x190)]();}catch(_0x3fdd4f){_0x1e39fb[_0x276b3d(0x193)](_0x3fdd4f);}}}finally{this[_0x276b3d(0x19b)]=!0x1,this[_0x276b3d(0x192)]=void 0x0;}this[_0x276b3d(0x195)](_0x276b3d(0x19f));}}[_0x4ec972(0x191)](_0x3e9b2b){let _0x3395f3,_0xde675a;const _0x449992=new Promise((_0x5e316d,_0x27a51f)=>{_0x3395f3=_0x5e316d,_0xde675a=_0x27a51f;});return{'callback':_0x3e9b2b,'resolve':_0x3395f3,'reject':_0xde675a,'completePromise':_0x449992};}}function _0x382f(){const _0x4cad18=['isProcessing','3604131KyGueh','4438CjkXwx','2488uWvNgq','_queueEmpty','abort','shift','once','4wZMoti','completePromise','signal','callback','5azeRMF','960813dWkGOJ','768620fypkrw','length','283021zbTOsu','push','resolve','createTask','_abortController','reject','queueEmptyPromise','fire','enqueue','queue','159240GOrmLt','1937628nrrmIb','_processQueue'];_0x382f=function(){return _0x4cad18;};return _0x382f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e76e5=_0x2561;(function(_0x165202,_0x527251){const _0x4d997b=_0x2561,_0x2d6d04=_0x165202();while(!![]){try{const _0x1a9400=-parseInt(_0x4d997b(0x119))/0x1+-parseInt(_0x4d997b(0x107))/0x2+parseInt(_0x4d997b(0xf3))/0x3+parseInt(_0x4d997b(0x105))/0x4*(parseInt(_0x4d997b(0x10d))/0x5)+-parseInt(_0x4d997b(0x101))/0x6*(-parseInt(_0x4d997b(0x116))/0x7)+parseInt(_0x4d997b(0x104))/0x8*(-parseInt(_0x4d997b(0x112))/0x9)+-parseInt(_0x4d997b(0x114))/0xa;if(_0x1a9400===_0x527251)break;else _0x2d6d04['push'](_0x2d6d04['shift']());}catch(_0x3fb4a0){_0x2d6d04['push'](_0x2d6d04['shift']());}}}(_0x1da9,0x8c36d));const ps=[_0x1e76e5(0x10a),_0x1e76e5(0x113),_0x1e76e5(0xff),_0x1e76e5(0xf4)],ws=[_0x1e76e5(0xfa),_0x1e76e5(0xf9),_0x1e76e5(0x10e),_0x1e76e5(0x100),_0x1e76e5(0x106),_0x1e76e5(0x111),'\x20'];export class ScrollManager{[_0x1e76e5(0xf5)];[_0x1e76e5(0x108)];[_0x1e76e5(0xf7)];[_0x1e76e5(0xf8)];[_0x1e76e5(0x102)];constructor(_0xeba1b7){const _0x19726a=_0x1e76e5;this[_0x19726a(0xf5)]=_0xeba1b7,this[_0x19726a(0x108)]=null,this[_0x19726a(0xf7)]=!0x1,this[_0x19726a(0xf8)]=new AbortController(),this[_0x19726a(0x102)]=!0x1;for(const _0x4d0789 of ps){const _0x39f19e=_0x19726a(0xf4)!==_0x4d0789;this[_0x19726a(0xf5)][_0x19726a(0xfe)](_0x4d0789,this[_0x19726a(0x103)][_0x19726a(0xf6)](this),{'passive':_0x39f19e,'signal':this[_0x19726a(0xf8)][_0x19726a(0xf0)]});}}[_0x1e76e5(0x10b)](){const _0x3505f1=_0x1e76e5;this[_0x3505f1(0xf7)]||(this[_0x3505f1(0xf7)]=!0x0,this[_0x3505f1(0x102)]=!0x1,this[_0x3505f1(0x108)]=requestAnimationFrame(this[_0x3505f1(0xfd)][_0x3505f1(0xf6)](this)));}[_0x1e76e5(0x117)](){requestAnimationFrame(()=>{const _0x30d0ff=_0x2561;this[_0x30d0ff(0x109)]();});}[_0x1e76e5(0xf1)](){const _0x297074=_0x1e76e5;this[_0x297074(0x109)](),this[_0x297074(0xf8)][_0x297074(0x118)]();}[_0x1e76e5(0x109)](){const _0xbf886e=_0x1e76e5;null!==this[_0xbf886e(0x108)]&&(cancelAnimationFrame(this[_0xbf886e(0x108)]),this[_0xbf886e(0x108)]=null),this[_0xbf886e(0xf7)]&&(this[_0xbf886e(0xf7)]=!0x1),this[_0xbf886e(0x102)]=!0x1;}[_0x1e76e5(0x103)](_0x3cdd7d){const _0x866153=_0x1e76e5;if(this[_0x866153(0xf7)]){if(_0x866153(0xf4)===_0x3cdd7d[_0x866153(0x110)]){const _0x1b9b57=_0x3cdd7d[_0x866153(0xfc)];if(!ws[_0x866153(0xfb)](_0x1b9b57))return;}_0x3cdd7d instanceof WheelEvent?_0x3cdd7d[_0x866153(0x10f)]<0x0?this[_0x866153(0x102)]=!0x0:this[_0x866153(0x102)]=!this[_0x866153(0x115)]():this[_0x866153(0x102)]=!0x0;}}[_0x1e76e5(0x115)](){const _0x5c881c=_0x1e76e5,{scrollTop:_0x277898,scrollHeight:_0x5b31f4,clientHeight:_0x589ac3}=this[_0x5c881c(0xf5)];return _0x5b31f4-_0x277898-_0x589ac3<=0x5;}[_0x1e76e5(0xfd)](){const _0x45ab52=_0x1e76e5;this[_0x45ab52(0xf7)]&&(this[_0x45ab52(0x102)]||this[_0x45ab52(0xf5)][_0x45ab52(0x10c)]({'top':this[_0x45ab52(0xf5)][_0x45ab52(0xef)],'behavior':_0x45ab52(0xf2)}),this[_0x45ab52(0x108)]=requestAnimationFrame(this[_0x45ab52(0xfd)][_0x45ab52(0xf6)](this)));}}function _0x2561(_0x35f904,_0x561c2c){const _0x1da9eb=_0x1da9();return _0x2561=function(_0x2561d2,_0x39490a){_0x2561d2=_0x2561d2-0xef;let _0x104374=_0x1da9eb[_0x2561d2];return _0x104374;},_0x2561(_0x35f904,_0x561c2c);}function _0x1da9(){const _0x36cd74=['838557IdnaFz','touchstart','9424230htwknp','_isAtBottom','330267KsUcLm','stop','abort','23243OVcezK','scrollHeight','signal','destroy','auto','1712160bXEAHq','keydown','element','bind','isRunning','abortController','ArrowDown','ArrowUp','includes','key','_rafUpdate','addEventListener','pointerdown','PageDown','114jYfZfM','isUserPaused','_onUserEvent','8wYdJUn','2125420HprSEs','Home','730716KKjbhO','animationFrameId','_stop','wheel','start','scrollTo','5aidJRv','PageUp','deltaY','type','End'];_0x1da9=function(){return _0x36cd74;};return _0x1da9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x535378=_0x3e24;(function(_0x290dbb,_0x29cacc){var _0x55fe05=_0x3e24,_0x4bf838=_0x290dbb();while(!![]){try{var _0x4f2e00=-parseInt(_0x55fe05(0x148))/0x1*(parseInt(_0x55fe05(0x143))/0x2)+parseInt(_0x55fe05(0x14d))/0x3+-parseInt(_0x55fe05(0x145))/0x4+-parseInt(_0x55fe05(0x144))/0x5*(-parseInt(_0x55fe05(0x142))/0x6)+parseInt(_0x55fe05(0x146))/0x7*(-parseInt(_0x55fe05(0x14e))/0x8)+parseInt(_0x55fe05(0x14b))/0x9+parseInt(_0x55fe05(0x149))/0xa;if(_0x4f2e00===_0x29cacc)break;else _0x4bf838['push'](_0x4bf838['shift']());}catch(_0x446f5d){_0x4bf838['push'](_0x4bf838['shift']());}}}(_0x2e77,0x476ea));function _0x3e24(_0x56a84b,_0x260a98){var _0x2e777f=_0x2e77();return _0x3e24=function(_0x3e2403,_0x39a4bf){_0x3e2403=_0x3e2403-0x141;var _0x1f3373=_0x2e777f[_0x3e2403];return _0x1f3373;},_0x3e24(_0x56a84b,_0x260a98);}import{ContextPlugin as _0x3146a5}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x8c6d0e}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x6b18a5}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3146a5{static get[_0x535378(0x14c)](){return[_0x8c6d0e,_0x6b18a5];}static get[_0x535378(0x14f)](){var _0xeceffb=_0x535378;return _0xeceffb(0x14a);}static get[_0x535378(0x147)](){return!0x0;}static get[_0x535378(0x141)](){return!0x0;}}function _0x2e77(){var _0x5ed566=['AIChatHistory','1715382OpDztW','requires','1117128OUantD','291944DmZdie','pluginName','isPremiumPlugin','18CJwJrb','562sGNZRN','737155HsvpWx','463388MDZOGb','91WrGfHm','isOfficialPlugin','1070tTcOYc','1782450swRsqk'];_0x2e77=function(){return _0x5ed566;};return _0x2e77();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4256c0=_0x5cf1;(function(_0x238a3a,_0x12356a){const _0x475ffc=_0x5cf1,_0x1e973b=_0x238a3a();while(!![]){try{const _0x5413cd=parseInt(_0x475ffc(0xdc))/0x1*(parseInt(_0x475ffc(0x12c))/0x2)+-parseInt(_0x475ffc(0x136))/0x3*(-parseInt(_0x475ffc(0x119))/0x4)+-parseInt(_0x475ffc(0x10a))/0x5+-parseInt(_0x475ffc(0x113))/0x6*(parseInt(_0x475ffc(0x137))/0x7)+parseInt(_0x475ffc(0x134))/0x8+parseInt(_0x475ffc(0xdf))/0x9*(-parseInt(_0x475ffc(0x101))/0xa)+parseInt(_0x475ffc(0x11a))/0xb*(parseInt(_0x475ffc(0x127))/0xc);if(_0x5413cd===_0x12356a)break;else _0x1e973b['push'](_0x1e973b['shift']());}catch(_0x11b605){_0x1e973b['push'](_0x1e973b['shift']());}}}(_0x5fac,0xe7e66));import{ContextPlugin as _0x5bc150}from'ckeditor5/src/core.js';import{AIConnector as _0x222aa5}from'../aicore/aiconnector.js';import{AIChatController as _0x1a84b6}from'../aichat/aichatcontroller.js';import{AITabs as _0x21278d}from'../aitabs/aitabs.js';function _0x5cf1(_0x88d5cc,_0x4b9868){const _0x5facb8=_0x5fac();return _0x5cf1=function(_0x5cf104,_0x16bbee){_0x5cf104=_0x5cf104-0xd6;let _0x51c383=_0x5facb8[_0x5cf104];return _0x51c383;},_0x5cf1(_0x88d5cc,_0x4b9868);}function _0x5fac(){const _0x1bc77b=['chat','getGroupId','isOfficialPlugin','toLocaleDateString','showError','removeConversation','requires','activateTab','loadItems','updateItems','_handleEditTitle','_showConversationHistory','220zXJufD','unpin','AI_CHAT_HISTORY_CATEGORY_PINNED','operation','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','updateItemLoadingState','_aiConnector','remove','plugins','1700370wRIYCs','updateItemPinned','map','_handleSelectConversation','AI_CHAT_HISTORY_UNPIN_ACTION','AIChatHistoryController','getItem','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updateItemTitle','450UpLmIf','AI_CHAT_HISTORY_ERROR_GENERIC','pinned','length','isPremiumPlugin','locale','22172wYwPvQ','22bBIguT','updates','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','rename','title','getDate','resizeTabs','pluginName','change:activeConversation','activateTab:history','editConversationTitle','init','_setItemLoading','19324524teslVl','AI_CHAT_HISTORY_CATEGORY_LATER','listenTo','push','createdAt','40bInwxy','setLoadingSkeleton','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','context','setDate','itemId','removeHistoryItem','items','1743832JeefSJ','getFullYear','186slTnFX','120043MnWQHc','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','error','activeConversation','selectConversation','getItems','history','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_UNTITLED_CONVERSATION','handleRemovedConversation','_updateHistoryItemsUI','view','_setIsMaximized','26557qDEKef','getMonth','resizedTabs','710766UNeTcC','setConversationPinned','resize','get','_getCategorizedItems','pin','itemRemoved','_handleTogglePin','_handleHistoryErrorUI','itemsLoaded','setIsMaximized','loadConversation','_clearItemLoading','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','removeItem','itemUpdated','_aiChatHistoryUi','_generateErrorMessage','_handleRemove','AI_CHAT_HISTORY_CATEGORY_TODAY','_aiChatController','openChat'];_0x5fac=function(){return _0x1bc77b;};return _0x5fac();}import{AIChatHistoryUI as _0x3743dd}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x530754}from'./model/aichathistoryconversations.js';import{getTranslation as _0x981cb9}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5bc150{[_0x4256c0(0x107)];[_0x4256c0(0xef)];[_0x4256c0(0xf3)];static get[_0x4256c0(0xfb)](){return[_0x222aa5,_0x1a84b6,_0x3743dd,_0x21278d];}static get[_0x4256c0(0x121)](){const _0x5418fb=_0x4256c0;return _0x5418fb(0x10f);}static get[_0x4256c0(0xf7)](){return!0x0;}static get[_0x4256c0(0x117)](){return!0x0;}[_0x4256c0(0x125)](){const _0x250e24=_0x4256c0;this[_0x250e24(0x107)]=this[_0x250e24(0x12f)][_0x250e24(0x109)][_0x250e24(0xe2)](_0x222aa5),this[_0x250e24(0xef)]=this[_0x250e24(0x12f)][_0x250e24(0x109)][_0x250e24(0xe2)](_0x3743dd),this[_0x250e24(0xf3)]=this[_0x250e24(0x12f)][_0x250e24(0x109)][_0x250e24(0xe2)](_0x1a84b6);const _0x331ae1=this[_0x250e24(0x12f)][_0x250e24(0x109)][_0x250e24(0xe2)](_0x21278d),_0x30a774=this[_0x250e24(0xf3)][_0x250e24(0xf6)]();this[_0x250e24(0x13d)]=new _0x530754({'connector':this[_0x250e24(0x107)],'group':_0x30a774}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0xfa),(_0x23a0f7,_0x9100b7)=>{const _0x3ec82b=_0x250e24;this[_0x3ec82b(0x126)](_0x9100b7['id'],_0x3ec82b(0x108)),this[_0x3ec82b(0xf1)](_0x9100b7['id']);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0x124),(_0x12ce78,_0x221480)=>{const _0x409c09=_0x250e24;this[_0x409c09(0x126)](_0x221480['id'],_0x409c09(0x11d)),this[_0x409c09(0xff)](_0x221480['id'],_0x221480[_0x409c09(0x11e)]);}),this[_0x250e24(0x129)](this[_0x250e24(0x13d)],_0x250e24(0xee),(_0x5e3a16,_0x176fb6)=>{const _0x46730c=_0x250e24;void 0x0!==_0x176fb6[_0x46730c(0x11b)][_0x46730c(0x11e)]&&this[_0x46730c(0xef)][_0x46730c(0x112)](_0x176fb6[_0x46730c(0x131)],_0x176fb6[_0x46730c(0x11b)][_0x46730c(0x11e)]),void 0x0!==_0x176fb6[_0x46730c(0x11b)][_0x46730c(0x115)]&&this[_0x46730c(0xd9)](),this[_0x46730c(0xeb)](_0x176fb6[_0x46730c(0x131)]);}),this[_0x250e24(0x129)](this[_0x250e24(0x13d)],_0x250e24(0xe5),(_0xa9ec18,_0x76d3)=>{const _0x271fca=_0x250e24;this[_0x271fca(0xf3)][_0x271fca(0xd8)](_0x76d3[_0x271fca(0x131)]),this[_0x271fca(0xef)][_0x271fca(0x132)](_0x76d3[_0x271fca(0x131)]),this[_0x271fca(0xeb)](_0x76d3[_0x271fca(0x131)]);}),this[_0x250e24(0x129)](this[_0x250e24(0x13d)],_0x250e24(0xe8),()=>{const _0x29df7f=_0x250e24;this[_0x29df7f(0xd9)]();}),this[_0x250e24(0x129)](this[_0x250e24(0x13d)],_0x250e24(0x139),(_0xeb73f,_0x50ecab)=>{const _0x311f5a=_0x250e24;this[_0x311f5a(0xe7)](_0x50ecab[_0x311f5a(0x139)],_0x50ecab[_0x311f5a(0x104)],_0x50ecab[_0x311f5a(0x131)]);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0x13b),(_0x2a6b60,_0x5f391f)=>{const _0x4f2413=_0x250e24;this[_0x4f2413(0x10d)](_0x5f391f['id']);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0xe0),(_0x5514b3,_0x52b942)=>{const _0x1bddf8=_0x250e24,_0x1f695c=_0x52b942[_0x1bddf8(0x115)]?_0x1bddf8(0xe4):_0x1bddf8(0x102);this[_0x1bddf8(0x126)](_0x52b942['id'],_0x1f695c),this[_0x1bddf8(0xe6)](_0x52b942['id'],_0x52b942[_0x1bddf8(0x115)]);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0xf4),()=>{const _0x4d07c0=_0x250e24;_0x331ae1[_0x4d07c0(0xda)][_0x4d07c0(0xfc)](_0x4d07c0(0xf5));}),this[_0x250e24(0x129)](this[_0x250e24(0xf3)],_0x250e24(0x122),()=>{const _0x21cfea=_0x250e24;this[_0x21cfea(0xd9)]();}),_0x331ae1[_0x250e24(0xda)]['on'](_0x250e24(0x123),()=>{const _0x3a7722=_0x250e24;this[_0x3a7722(0x100)]();}),this[_0x250e24(0x129)](_0x331ae1,_0x250e24(0xde),(_0x489bda,_0x3f627a)=>{const _0x26d15d=_0x250e24;this[_0x26d15d(0xdb)](_0x3f627a);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0x120),()=>{const _0x385895=_0x250e24;_0x331ae1[_0x385895(0xe1)]();});}async[_0x4256c0(0xff)](_0x35cd23,_0x3e5691){const _0x1adc46=_0x4256c0;await this[_0x1adc46(0x13d)][_0x1adc46(0x112)](_0x35cd23,_0x3e5691);}async[_0x4256c0(0xe6)](_0x153f5f,_0x3a3432){const _0xd00655=_0x4256c0;await this[_0xd00655(0x13d)][_0xd00655(0x10b)](_0x153f5f,_0x3a3432);}async[_0x4256c0(0xf1)](_0x5af089){const _0x36064c=_0x4256c0;await this[_0x36064c(0x13d)][_0x36064c(0xed)](_0x5af089);}async[_0x4256c0(0x10d)](_0x2caf72){const _0xb5b9c4=_0x4256c0;await this[_0xb5b9c4(0xf3)][_0xb5b9c4(0xea)](_0x2caf72);}async[_0x4256c0(0x100)](){const _0x290fc4=_0x4256c0;this[_0x290fc4(0xef)][_0x290fc4(0xf9)](''),this[_0x290fc4(0xef)][_0x290fc4(0x12d)](!0x0),await this[_0x290fc4(0x13d)][_0x290fc4(0x125)](),this[_0x290fc4(0xef)][_0x290fc4(0x12d)](!0x1);}[_0x4256c0(0xd9)](){const _0x1d11bf=_0x4256c0,_0x1d4f35=this[_0x1d11bf(0xf3)][_0x1d11bf(0x13a)]?.['id'],_0xd0e32a=this[_0x1d11bf(0xe3)]()[_0x1d11bf(0x10c)](_0x5bcba4=>({'title':_0x5bcba4[_0x1d11bf(0x11e)],'items':_0x5bcba4[_0x1d11bf(0x133)][_0x1d11bf(0x10c)](_0x1cb945=>({'id':_0x1cb945['id'],'title':_0x1cb945[_0x1d11bf(0x11e)]||_0x981cb9(this[_0x1d11bf(0x12f)][_0x1d11bf(0x118)],_0x1d11bf(0xd7)),'createdAt':new Date(_0x1cb945[_0x1d11bf(0x12b)])[_0x1d11bf(0xf8)](),'active':_0x1cb945['id']===_0x1d4f35,'pinned':_0x1cb945[_0x1d11bf(0x115)]}))}));this[_0x1d11bf(0xef)][_0x1d11bf(0xfe)](_0xd0e32a);}[_0x4256c0(0x126)](_0x6fd56,_0x13d56f){const _0xb38fe9=_0x4256c0;this[_0xb38fe9(0xef)][_0xb38fe9(0x106)](_0x6fd56,_0x13d56f,!0x0);}[_0x4256c0(0xeb)](_0x3057ee){const _0x305446=_0x4256c0;this[_0x305446(0xef)][_0x305446(0x106)](_0x3057ee,null,!0x1);}[_0x4256c0(0xe7)](_0x286861,_0x192bcc,_0x51a6cd){const _0x15c505=_0x4256c0,_0xd7bb1c=this[_0x15c505(0xf0)](_0x192bcc,_0x51a6cd);this[_0x15c505(0xef)][_0x15c505(0xf9)](_0xd7bb1c),_0x51a6cd&&this[_0x15c505(0xeb)](_0x51a6cd),this[_0x15c505(0xef)][_0x15c505(0x12d)](!0x1);}[_0x4256c0(0xf0)](_0x13bdbc,_0x5dafeb){const _0x2536f9=_0x4256c0,_0x3fdf93=_0x5dafeb?this[_0x2536f9(0x13d)][_0x2536f9(0x110)](_0x5dafeb):null,_0xb37a7=_0x3fdf93?.[_0x2536f9(0x11e)]||_0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0xd7));switch(_0x13bdbc){case _0x2536f9(0x112):return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0x11c),_0xb37a7);case _0x2536f9(0x10b):{const _0x51d810=_0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x3fdf93?.[_0x2536f9(0x115)]?_0x2536f9(0x10e):_0x2536f9(0xd6));return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0x105),[_0x51d810,_0xb37a7]);}case _0x2536f9(0xed):return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0x111),_0xb37a7);case _0x2536f9(0x125):case _0x2536f9(0xfd):return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0xec));default:return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0x114));}}[_0x4256c0(0xe3)](){const _0x10d063=_0x4256c0,_0x1ebcd6=new Date(),_0x105138=new Date(_0x1ebcd6[_0x10d063(0x135)](),_0x1ebcd6[_0x10d063(0xdd)](),_0x1ebcd6[_0x10d063(0x11f)]()),_0x43c06e=new Date(_0x105138);_0x43c06e[_0x10d063(0x130)](_0x43c06e[_0x10d063(0x11f)]()-0x1);const _0x17d854=new Date(_0x105138);_0x17d854[_0x10d063(0x130)](_0x17d854[_0x10d063(0x11f)]()-0xe);const _0x73e4b0=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'pinned':!0x0}),_0x1ee566=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'from':_0x105138,'to':_0x105138}),_0x3fb214=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'from':_0x43c06e,'to':_0x43c06e}),_0x1ef792=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'from':_0x17d854,'to':_0x43c06e}),_0x4c798d=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'to':_0x17d854}),_0x4799d4=[];return _0x73e4b0[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0x103)),'items':_0x73e4b0}),_0x1ee566[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0xf2)),'items':_0x1ee566}),_0x3fb214[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0x12e)),'items':_0x3fb214}),_0x1ef792[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0x138)),'items':_0x1ef792}),_0x4c798d[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0x128)),'items':_0x4c798d}),_0x4799d4;}[_0x4256c0(0xdb)](_0x509a6b){const _0x5f3784=_0x4256c0;this[_0x5f3784(0xef)][_0x5f3784(0xe9)](_0x509a6b);}}
|
|
23
|
+
const _0xa9c90e=_0x1244;(function(_0x5c7c9b,_0x3ba61f){const _0x346fb3=_0x1244,_0x114c3d=_0x5c7c9b();while(!![]){try{const _0x2999ab=-parseInt(_0x346fb3(0x1d9))/0x1+parseInt(_0x346fb3(0x214))/0x2*(-parseInt(_0x346fb3(0x1d4))/0x3)+-parseInt(_0x346fb3(0x1da))/0x4*(-parseInt(_0x346fb3(0x20d))/0x5)+-parseInt(_0x346fb3(0x1c9))/0x6+parseInt(_0x346fb3(0x1bf))/0x7*(-parseInt(_0x346fb3(0x20b))/0x8)+-parseInt(_0x346fb3(0x1d8))/0x9*(parseInt(_0x346fb3(0x1ff))/0xa)+parseInt(_0x346fb3(0x203))/0xb*(parseInt(_0x346fb3(0x21a))/0xc);if(_0x2999ab===_0x3ba61f)break;else _0x114c3d['push'](_0x114c3d['shift']());}catch(_0x1015ac){_0x114c3d['push'](_0x114c3d['shift']());}}}(_0x2921,0xab01f));import{ContextPlugin as _0x37f415}from'ckeditor5/src/core.js';import{AIConnector as _0x96e38c}from'../aicore/aiconnector.js';import{AIChatController as _0x349bc4}from'../aichat/aichatcontroller.js';function _0x1244(_0x573447,_0x328ded){const _0x292197=_0x2921();return _0x1244=function(_0x124448,_0x3a888b){_0x124448=_0x124448-0x1b7;let _0x239e3a=_0x292197[_0x124448];return _0x239e3a;},_0x1244(_0x573447,_0x328ded);}import{AITabs as _0x35e4bb}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0xd48f2e}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x32f488}from'./model/aichathistoryconversations.js';import{getTranslation as _0x390741}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x37f415{[_0xa9c90e(0x1ca)];[_0xa9c90e(0x1ba)];[_0xa9c90e(0x1c0)];static get[_0xa9c90e(0x1f3)](){return[_0x96e38c,_0x349bc4,_0xd48f2e,_0x35e4bb];}static get[_0xa9c90e(0x1e3)](){const _0x5bc551=_0xa9c90e;return _0x5bc551(0x1fa);}static get[_0xa9c90e(0x1c5)](){return!0x0;}static get[_0xa9c90e(0x1be)](){return!0x0;}[_0xa9c90e(0x1bc)](){const _0x5d0909=_0xa9c90e;this[_0x5d0909(0x1ca)]=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0x96e38c),this[_0x5d0909(0x1ba)]=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0xd48f2e),this[_0x5d0909(0x1c0)]=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0x349bc4);const _0x433573=this[_0x5d0909(0x213)][_0x5d0909(0x1f4)][_0x5d0909(0x1d0)](_0x35e4bb),_0x5928c2=this[_0x5d0909(0x1c0)][_0x5d0909(0x1d6)]();this[_0x5d0909(0x1eb)]=new _0x32f488({'connector':this[_0x5d0909(0x1ca)],'group':_0x5928c2}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1d5),(_0x36c4be,_0x56480f)=>{const _0x1f2666=_0x5d0909;this[_0x1f2666(0x1bb)](_0x56480f['id'],_0x1f2666(0x1e6)),this[_0x1f2666(0x1cf)](_0x56480f['id']);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1b7),(_0x3d22ea,_0x3527e7)=>{const _0x13e833=_0x5d0909;this[_0x13e833(0x1bb)](_0x3527e7['id'],_0x13e833(0x200)),this[_0x13e833(0x20e)](_0x3527e7['id'],_0x3527e7[_0x13e833(0x1dc)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x1fd),(_0x48c7ca,_0x1b81c7)=>{const _0x57ef0c=_0x5d0909;void 0x0!==_0x1b81c7[_0x57ef0c(0x1dd)][_0x57ef0c(0x1dc)]&&this[_0x57ef0c(0x1ba)][_0x57ef0c(0x218)](_0x1b81c7[_0x57ef0c(0x1f8)],_0x1b81c7[_0x57ef0c(0x1dd)][_0x57ef0c(0x1dc)]),void 0x0!==_0x1b81c7[_0x57ef0c(0x1dd)][_0x57ef0c(0x1ce)]&&this[_0x57ef0c(0x1c3)](),this[_0x57ef0c(0x1d1)](_0x1b81c7[_0x57ef0c(0x1f8)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x215),(_0xfb4b73,_0x108962)=>{const _0x263bed=_0x5d0909;this[_0x263bed(0x1c0)][_0x263bed(0x20a)](_0x108962[_0x263bed(0x1f8)]),this[_0x263bed(0x1ba)][_0x263bed(0x208)](_0x108962[_0x263bed(0x1f8)]),this[_0x263bed(0x1d1)](_0x108962[_0x263bed(0x1f8)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x1b9),()=>{const _0xb9361a=_0x5d0909;this[_0xb9361a(0x1c3)]();}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1eb)],_0x5d0909(0x1d7),(_0x585e47,_0x2bce18)=>{const _0x3502de=_0x5d0909;this[_0x3502de(0x1bd)](_0x2bce18[_0x3502de(0x1d7)],_0x2bce18[_0x3502de(0x1e8)],_0x2bce18[_0x3502de(0x1f8)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1e5),(_0x53f244,_0x551f83)=>{const _0x49f5c2=_0x5d0909;this[_0x49f5c2(0x1ee)](_0x551f83['id']);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x21d),(_0x2f13a2,_0x581253)=>{const _0x159131=_0x5d0909,_0x27164e=_0x581253[_0x159131(0x1ce)]?_0x159131(0x20f):_0x159131(0x1e4);this[_0x159131(0x1bb)](_0x581253['id'],_0x27164e),this[_0x159131(0x1fe)](_0x581253['id'],_0x581253[_0x159131(0x1ce)]);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1e7),()=>{const _0x86cb2=_0x5d0909;_0x433573[_0x86cb2(0x1de)][_0x86cb2(0x1e0)](_0x86cb2(0x1e2));}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1c0)],_0x5d0909(0x204),()=>{const _0x1ff3a6=_0x5d0909;this[_0x1ff3a6(0x1c3)]();}),_0x433573[_0x5d0909(0x1de)]['on'](_0x5d0909(0x1f9),()=>{const _0x4c6023=_0x5d0909;this[_0x4c6023(0x1ea)]();}),this[_0x5d0909(0x20c)](_0x433573,_0x5d0909(0x1ef),(_0x2766ea,_0x904c1c)=>{const _0x55d41c=_0x5d0909;this[_0x55d41c(0x1d2)](_0x904c1c);}),this[_0x5d0909(0x20c)](this[_0x5d0909(0x1ba)],_0x5d0909(0x1c7),()=>{const _0x41ac07=_0x5d0909;_0x433573[_0x41ac07(0x1f1)]();});}async[_0xa9c90e(0x20e)](_0x416c6b,_0x352d7d){const _0x27777e=_0xa9c90e;await this[_0x27777e(0x1eb)][_0x27777e(0x218)](_0x416c6b,_0x352d7d);}async[_0xa9c90e(0x1fe)](_0x2b6c83,_0x2ae1dc){const _0x4caac2=_0xa9c90e;await this[_0x4caac2(0x1eb)][_0x4caac2(0x219)](_0x2b6c83,_0x2ae1dc);}async[_0xa9c90e(0x1cf)](_0x582619){const _0x32b742=_0xa9c90e;await this[_0x32b742(0x1eb)][_0x32b742(0x21c)](_0x582619);}async[_0xa9c90e(0x1ee)](_0x91e25e){const _0x2f579f=_0xa9c90e;await this[_0x2f579f(0x1c0)][_0x2f579f(0x1db)](_0x91e25e);}async[_0xa9c90e(0x1ea)](){const _0x8173bf=_0xa9c90e;this[_0x8173bf(0x1ba)][_0x8173bf(0x212)](''),this[_0x8173bf(0x1ba)][_0x8173bf(0x1fc)](!0x0),await this[_0x8173bf(0x1eb)][_0x8173bf(0x1bc)](),this[_0x8173bf(0x1ba)][_0x8173bf(0x1fc)](!0x1);}[_0xa9c90e(0x1c3)](){const _0x70610=_0xa9c90e,_0x1d82a8=this[_0x70610(0x1c0)][_0x70610(0x217)]?.['id'],_0x23501a=this[_0x70610(0x216)]()[_0x70610(0x1c2)](_0x276e42=>({'title':_0x276e42[_0x70610(0x1dc)],'items':_0x276e42[_0x70610(0x1c6)][_0x70610(0x1c2)](_0x68a61=>({'id':_0x68a61['id'],'title':_0x68a61[_0x70610(0x1dc)]||_0x390741(this[_0x70610(0x213)][_0x70610(0x1e9)],_0x70610(0x1c4)),'createdAt':new Date(_0x68a61[_0x70610(0x1e1)])[_0x70610(0x1f7)](),'active':_0x68a61['id']===_0x1d82a8,'pinned':_0x68a61[_0x70610(0x1ce)]}))}));this[_0x70610(0x1ba)][_0x70610(0x1ec)](_0x23501a);}[_0xa9c90e(0x1bb)](_0x1d11a0,_0x1efaea){const _0x33ee19=_0xa9c90e;this[_0x33ee19(0x1ba)][_0x33ee19(0x1f6)](_0x1d11a0,_0x1efaea,!0x0);}[_0xa9c90e(0x1d1)](_0x1a0d54){const _0x371cd0=_0xa9c90e;this[_0x371cd0(0x1ba)][_0x371cd0(0x1f6)](_0x1a0d54,null,!0x1);}[_0xa9c90e(0x1bd)](_0x558ace,_0x548ccf,_0x2943b7){const _0x404053=_0xa9c90e,_0x5f2f74=this[_0x404053(0x201)](_0x548ccf,_0x2943b7);this[_0x404053(0x1ba)][_0x404053(0x212)](_0x5f2f74),_0x2943b7&&this[_0x404053(0x1d1)](_0x2943b7),this[_0x404053(0x1ba)][_0x404053(0x1fc)](!0x1);}[_0xa9c90e(0x201)](_0x44d21b,_0xa39568){const _0x3de3dd=_0xa9c90e,_0xa7e170=_0xa39568?this[_0x3de3dd(0x1eb)][_0x3de3dd(0x1cd)](_0xa39568):null,_0x2b7cc9=_0xa7e170?.[_0x3de3dd(0x1dc)]||_0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1c4));switch(_0x44d21b){case _0x3de3dd(0x218):return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1fb),_0x2b7cc9);case _0x3de3dd(0x219):{const _0x45f34a=_0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0xa7e170?.[_0x3de3dd(0x1ce)]?_0x3de3dd(0x1cc):_0x3de3dd(0x21e));return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x205),[_0x45f34a,_0x2b7cc9]);}case _0x3de3dd(0x21c):return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1cb),_0x2b7cc9);case _0x3de3dd(0x1bc):case _0x3de3dd(0x1df):return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x210));default:return _0x390741(this[_0x3de3dd(0x213)][_0x3de3dd(0x1e9)],_0x3de3dd(0x1c1));}}[_0xa9c90e(0x216)](){const _0x3b64e2=_0xa9c90e,_0x119f06=new Date(),_0x3ce1d7=new Date(_0x119f06[_0x3b64e2(0x1f5)](),_0x119f06[_0x3b64e2(0x202)](),_0x119f06[_0x3b64e2(0x206)]()),_0x1a648a=new Date(_0x3ce1d7);_0x1a648a[_0x3b64e2(0x21b)](_0x1a648a[_0x3b64e2(0x206)]()-0x1);const _0x3b53d2=new Date(_0x3ce1d7);_0x3b53d2[_0x3b64e2(0x21b)](_0x3b53d2[_0x3b64e2(0x206)]()-0xe);const _0x51bd1=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'pinned':!0x0}),_0x3573ff=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'from':_0x3ce1d7,'to':_0x3ce1d7}),_0x5d118b=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'from':_0x1a648a,'to':_0x1a648a}),_0x2bd4fd=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'from':_0x3b53d2,'to':_0x1a648a}),_0x18ba9d=this[_0x3b64e2(0x1eb)][_0x3b64e2(0x209)]({'to':_0x3b53d2}),_0x1c288a=[];return _0x51bd1[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1f0)),'items':_0x51bd1}),_0x3573ff[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1f2)),'items':_0x3573ff}),_0x5d118b[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x207)),'items':_0x5d118b}),_0x2bd4fd[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1b8)),'items':_0x2bd4fd}),_0x18ba9d[_0x3b64e2(0x211)]>0x0&&_0x1c288a[_0x3b64e2(0x1d3)]({'title':_0x390741(this[_0x3b64e2(0x213)][_0x3b64e2(0x1e9)],_0x3b64e2(0x1c8)),'items':_0x18ba9d}),_0x1c288a;}[_0xa9c90e(0x1d2)](_0x55e859){const _0x1145f0=_0xa9c90e;this[_0x1145f0(0x1ba)][_0x1145f0(0x1ed)](_0x55e859);}}function _0x2921(){const _0x160886=['832531XsuuWy','563132oMVaJC','loadConversation','title','updates','view','loadItems','activateTab','createdAt','chat','pluginName','unpin','selectConversation','remove','openChat','operation','locale','_showConversationHistory','history','updateItems','setIsMaximized','_handleSelectConversation','resizedTabs','AI_CHAT_HISTORY_CATEGORY_PINNED','resize','AI_CHAT_HISTORY_CATEGORY_TODAY','requires','plugins','getFullYear','updateItemLoadingState','toLocaleDateString','itemId','activateTab:history','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','setLoadingSkeleton','itemUpdated','_handleTogglePin','460GQOcJb','rename','_generateErrorMessage','getMonth','11KSjOlB','change:activeConversation','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','getDate','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','removeHistoryItem','getItems','handleRemovedConversation','216jZmEgV','listenTo','40YIMbMv','_handleEditTitle','pin','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','length','showError','context','2Lmfwaq','itemRemoved','_getCategorizedItems','activeConversation','updateItemTitle','updateItemPinned','33385524vsLuGT','setDate','removeItem','setConversationPinned','AI_CHAT_HISTORY_PIN_ACTION','editConversationTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','itemsLoaded','_aiChatHistoryUi','_setItemLoading','init','_handleHistoryErrorUI','isPremiumPlugin','137277FLwPPW','_aiChatController','AI_CHAT_HISTORY_ERROR_GENERIC','map','_updateHistoryItemsUI','AI_CHAT_UNTITLED_CONVERSATION','isOfficialPlugin','items','resizeTabs','AI_CHAT_HISTORY_CATEGORY_LATER','5346282VdzBhe','_aiConnector','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_UNPIN_ACTION','getItem','pinned','_handleRemove','get','_clearItemLoading','_setIsMaximized','push','487833AyVuKI','removeConversation','getGroupId','error','155007lcXezO'];_0x2921=function(){return _0x160886;};return _0x2921();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c0f4b=_0x1e5e;(function(_0x42df4a,_0x1598d1){const _0x4d0424=_0x1e5e,_0x18f13=_0x42df4a();while(!![]){try{const _0x36d6b4=parseInt(_0x4d0424(0x114))/0x1*(parseInt(_0x4d0424(0x127))/0x2)+-parseInt(_0x4d0424(0x119))/0x3+-parseInt(_0x4d0424(0x134))/0x4+parseInt(_0x4d0424(0x11a))/0x5*(parseInt(_0x4d0424(0x120))/0x6)+-parseInt(_0x4d0424(0x11d))/0x7+parseInt(_0x4d0424(0x128))/0x8+-parseInt(_0x4d0424(0x124))/0x9;if(_0x36d6b4===_0x1598d1)break;else _0x18f13['push'](_0x18f13['shift']());}catch(_0x3f1e03){_0x18f13['push'](_0x18f13['shift']());}}}(_0x9a70,0xe9350));import{ContextPlugin as _0x42bbc5}from'ckeditor5/src/core.js';import{AITabs as _0xb6c94a}from'../aitabs/aitabs.js';import{IconAIHistory as _0x3905f0}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x2d268b}from'./ui/aichathistoryview.js';import{getTranslation as _0x2363df}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';function _0x9a70(){const _0x31e3a7=['resizeTabs','3677844cBTOEo','25240MViPWC','selectConversation','showResizeButton','4047953sCjPlg','removeConversation','locale','1830ePZYMI','removeHistoryItem','get','updateItems','10149813OAXHwT','AIChatHistoryUI','openChat','56pgpODB','15264224rjoVTf','showError','errorMessage','delegate','AI_CHAT_HISTORY_HEADING','_historyView','pluginName','updateItemLoadingState','isLoading','isMaximized','updateHistoryItemsWithCategories','isOfficialPlugin','2930976XMuhoT','setIsMaximized','editConversationTitle','plugins','requires','AITabs','setLoadingSkeleton','hideError','history','updateItemTitle','isPremiumPlugin','view','addTab','41867bZlLUO','setConversationPinned','context','showConversationHistory'];_0x9a70=function(){return _0x31e3a7;};return _0x9a70();}function _0x1e5e(_0x329838,_0x52e1c1){const _0x9a7020=_0x9a70();return _0x1e5e=function(_0x1e5ed4,_0x300527){_0x1e5ed4=_0x1e5ed4-0x10f;let _0x2d3273=_0x9a7020[_0x1e5ed4];return _0x2d3273;},_0x1e5e(_0x329838,_0x52e1c1);}export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x1c0f4b(0x117),_0x1c0f4b(0x11e),_0x1c0f4b(0x136),_0x1c0f4b(0x115),_0x1c0f4b(0x11b),_0x1c0f4b(0x126),_0x1c0f4b(0x118)];export class AIChatHistoryUI extends _0x42bbc5{static get[_0x1c0f4b(0x138)](){return[_0xb6c94a];}[_0x1c0f4b(0x12d)];static get[_0x1c0f4b(0x12e)](){const _0x3f1a6c=_0x1c0f4b;return _0x3f1a6c(0x125);}static get[_0x1c0f4b(0x133)](){return!0x0;}static get[_0x1c0f4b(0x111)](){return!0x0;}constructor(_0x44a502){const _0x53755c=_0x1c0f4b;super(_0x44a502);const _0x2661dd=this[_0x53755c(0x116)][_0x53755c(0x137)][_0x53755c(0x122)](_0x53755c(0x139));this[_0x53755c(0x12d)]=new _0x2d268b(this[_0x53755c(0x116)][_0x53755c(0x11f)],_0x2661dd[_0x53755c(0x11c)]),this[_0x53755c(0x12d)][_0x53755c(0x12b)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x2661dd[_0x53755c(0x112)][_0x53755c(0x113)]({'id':_0x53755c(0x10f),'buttonLabel':_0x2363df(this[_0x53755c(0x116)][_0x53755c(0x11f)],_0x53755c(0x12c)),'buttonIcon':_0x3905f0,'order':0x0,'content':this[_0x53755c(0x12d)]});}[_0x1c0f4b(0x121)](_0x2834db){const _0x2ef0ac=_0x1c0f4b;this[_0x2ef0ac(0x12d)][_0x2ef0ac(0x121)](_0x2834db);}[_0x1c0f4b(0x123)](_0x13a447){const _0xbecdb=_0x1c0f4b;this[_0xbecdb(0x12d)][_0xbecdb(0x132)](_0x13a447);}[_0x1c0f4b(0x110)](_0x59d19a,_0x583a96){const _0x639d2f=_0x1c0f4b;this[_0x639d2f(0x12d)][_0x639d2f(0x110)](_0x59d19a,_0x583a96);}[_0x1c0f4b(0x12f)](_0x59cb2c,_0x119571,_0x4e990a){const _0x4e21b9=_0x1c0f4b;this[_0x4e21b9(0x12d)][_0x4e21b9(0x12f)](_0x59cb2c,_0x119571,_0x4e990a);}[_0x1c0f4b(0x13a)](_0x1916dd){const _0x3f4651=_0x1c0f4b;this[_0x3f4651(0x12d)][_0x3f4651(0x130)]=_0x1916dd;}[_0x1c0f4b(0x129)](_0xcb94b0){const _0x13fda7=_0x1c0f4b;this[_0x13fda7(0x12d)][_0x13fda7(0x12a)]=_0xcb94b0;}[_0x1c0f4b(0x13b)](){const _0x4fa1a9=_0x1c0f4b;this[_0x4fa1a9(0x12d)][_0x4fa1a9(0x12a)]='';}[_0x1c0f4b(0x135)](_0x1e607e){const _0x5f42af=_0x1c0f4b;this[_0x5f42af(0x12d)][_0x5f42af(0x131)]=_0x1e607e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x44a0(){const _0x447643=['210987sTmbDD','3501476hCxEQD','map','init','addItem','find','itemsLoaded','837602WNliNw','pinned','417849bztLkI','getConversations','group','getDate','getItems','444328NtiyaJ','getItem','getMonth','getResult','execute','updatePinned','updateConversation','loadItems','items','15255570WLAPlH','filter','updateTitle','getTime','removeItem','updateItemPinned','splice','connector','from','deleteConversation','fetchConversations','getFullYear','createdAt','5PpjTGu','91zABSlD','error','updateItemTitle','itemUpdated','104iXdqTI','fire','push','findIndex','itemRemoved','18570YUVqcS'];_0x44a0=function(){return _0x447643;};return _0x44a0();}const _0x4e41c3=_0x5f4b;(function(_0x24b1f7,_0x167990){const _0xf4dee6=_0x5f4b,_0x4f5a99=_0x24b1f7();while(!![]){try{const _0x7b07e7=-parseInt(_0xf4dee6(0x1c6))/0x1+parseInt(_0xf4dee6(0x1cd))/0x2+parseInt(_0xf4dee6(0x1c8))/0x3+-parseInt(_0xf4dee6(0x1c0))/0x4*(parseInt(_0xf4dee6(0x1e3))/0x5)+parseInt(_0xf4dee6(0x1be))/0x6*(-parseInt(_0xf4dee6(0x1e4))/0x7)+-parseInt(_0xf4dee6(0x1e8))/0x8*(-parseInt(_0xf4dee6(0x1bf))/0x9)+parseInt(_0xf4dee6(0x1d6))/0xa;if(_0x7b07e7===_0x167990)break;else _0x4f5a99['push'](_0x4f5a99['shift']());}catch(_0x124f4c){_0x4f5a99['push'](_0x4f5a99['shift']());}}}(_0x44a0,0x6b11d));import{EmitterMixin as _0x5eb70e}from'ckeditor5/src/utils.js';function _0x5f4b(_0x40caa4,_0x535f8a){const _0x44a04e=_0x44a0();return _0x5f4b=function(_0x5f4b7c,_0x2bedfd){_0x5f4b7c=_0x5f4b7c-0x1bc;let _0x3ddec0=_0x44a04e[_0x5f4b7c];return _0x3ddec0;},_0x5f4b(_0x40caa4,_0x535f8a);}import{AIChatHistoryItem as _0x1121a9}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x5eb70e(){[_0x4e41c3(0x1d5)]=[];[_0x4e41c3(0x1dd)];[_0x4e41c3(0x1ca)];constructor({connector:_0x5b05b7,group:_0x6ba96e}){const _0x138eee=_0x4e41c3;super(),this[_0x138eee(0x1dd)]=_0x5b05b7,this[_0x138eee(0x1ca)]=_0x6ba96e;}async[_0x4e41c3(0x1c2)](){const _0x480548=_0x4e41c3;try{const _0x53e311=this[_0x480548(0x1dd)][_0x480548(0x1e0)](this[_0x480548(0x1ca)]),_0x38d64c=await _0x53e311[_0x480548(0x1c9)]();this[_0x480548(0x1d4)](_0x38d64c);}catch(_0x1d23a3){this[_0x480548(0x1e9)](_0x480548(0x1e5),{'error':_0x1d23a3,'operation':_0x480548(0x1c2)});}}[_0x4e41c3(0x1c3)](_0x25f69b){const _0x4eec24=_0x4e41c3;this[_0x4eec24(0x1d5)][_0x4eec24(0x1ea)](_0x25f69b);}async[_0x4e41c3(0x1da)](_0x50efd6){const _0x4ffc47=_0x4e41c3,_0x2c0087=this[_0x4ffc47(0x1d5)][_0x4ffc47(0x1bc)](_0x59cb76=>_0x59cb76['id']===_0x50efd6);if(-0x1===_0x2c0087)return!0x1;try{return await this[_0x4ffc47(0x1dd)][_0x4ffc47(0x1df)](_0x50efd6)[_0x4ffc47(0x1d1)](),this[_0x4ffc47(0x1d5)][_0x4ffc47(0x1dc)](_0x2c0087,0x1),this[_0x4ffc47(0x1e9)](_0x4ffc47(0x1bd),{'itemId':_0x50efd6}),!0x0;}catch(_0x114bfe){return this[_0x4ffc47(0x1e9)](_0x4ffc47(0x1e5),{'error':_0x114bfe,'operation':_0x4ffc47(0x1da),'itemId':_0x50efd6}),!0x1;}}[_0x4e41c3(0x1ce)](_0x4b67a2){const _0xdeabd7=_0x4e41c3;return this[_0xdeabd7(0x1d5)][_0xdeabd7(0x1c4)](_0x505de8=>_0x505de8['id']===_0x4b67a2);}async[_0x4e41c3(0x1e6)](_0x23df46,_0x222164){const _0x3b0740=_0x4e41c3,_0x36c270=this[_0x3b0740(0x1ce)](_0x23df46);if(!_0x36c270)return!0x1;try{return await this[_0x3b0740(0x1dd)][_0x3b0740(0x1d3)](_0x23df46,{'title':_0x222164})[_0x3b0740(0x1d0)](),_0x36c270[_0x3b0740(0x1d8)](_0x222164),this[_0x3b0740(0x1e9)](_0x3b0740(0x1e7),{'itemId':_0x23df46,'updates':{'title':_0x222164}}),!0x0;}catch(_0x4b4a27){return this[_0x3b0740(0x1e9)](_0x3b0740(0x1e5),{'error':_0x4b4a27,'operation':_0x3b0740(0x1e6),'itemId':_0x23df46}),!0x1;}}async[_0x4e41c3(0x1db)](_0x41139f,_0x58a299){const _0x4df908=_0x4e41c3,_0x4c1dcb=this[_0x4df908(0x1ce)](_0x41139f);if(!_0x4c1dcb)return!0x1;try{return await this[_0x4df908(0x1dd)][_0x4df908(0x1d3)](_0x41139f,{'pinned':_0x58a299})[_0x4df908(0x1d0)](),_0x4c1dcb[_0x4df908(0x1d2)](_0x58a299),this[_0x4df908(0x1e9)](_0x4df908(0x1e7),{'itemId':_0x41139f,'updates':{'pinned':_0x58a299}}),!0x0;}catch(_0x26e2e8){return this[_0x4df908(0x1e9)](_0x4df908(0x1e5),{'error':_0x26e2e8,'operation':_0x4df908(0x1db),'itemId':_0x41139f}),!0x1;}}[_0x4e41c3(0x1d4)](_0x5dbd14){const _0x465ec6=_0x4e41c3;try{this[_0x465ec6(0x1d5)]=[],_0x5dbd14[_0x465ec6(0x1c1)](_0x45e76b=>{const _0x4c958a=_0x465ec6;this[_0x4c958a(0x1c3)](new _0x1121a9(_0x45e76b));}),this[_0x465ec6(0x1e9)](_0x465ec6(0x1c5),{'items':[...this[_0x465ec6(0x1d5)]]});}catch(_0x508aa2){this[_0x465ec6(0x1e9)](_0x465ec6(0x1e5),{'error':_0x508aa2,'operation':_0x465ec6(0x1d4)});}}[_0x4e41c3(0x1cc)](_0x16b30e={}){const _0x3aefbb=_0x4e41c3,_0x59afcf=void 0x0!==_0x16b30e[_0x3aefbb(0x1c7)]&&_0x16b30e[_0x3aefbb(0x1c7)],_0x1b61e7=_0x16b30e[_0x3aefbb(0x1de)]?new Date(_0x16b30e[_0x3aefbb(0x1de)][_0x3aefbb(0x1e1)](),_0x16b30e[_0x3aefbb(0x1de)][_0x3aefbb(0x1cf)](),_0x16b30e[_0x3aefbb(0x1de)][_0x3aefbb(0x1cb)]()):null,_0xe0410a=_0x16b30e['to']?new Date(_0x16b30e['to'][_0x3aefbb(0x1e1)](),_0x16b30e['to'][_0x3aefbb(0x1cf)](),_0x16b30e['to'][_0x3aefbb(0x1cb)]()):null;return this[_0x3aefbb(0x1d5)][_0x3aefbb(0x1d7)](_0x2ccf8c=>{const _0x21489c=_0x3aefbb;if(_0x2ccf8c[_0x21489c(0x1c7)]!==_0x59afcf)return!0x1;if(_0xe0410a){const _0x139ea0=new Date(_0x2ccf8c[_0x21489c(0x1e2)][_0x21489c(0x1e1)](),_0x2ccf8c[_0x21489c(0x1e2)][_0x21489c(0x1cf)](),_0x2ccf8c[_0x21489c(0x1e2)][_0x21489c(0x1cb)]());return _0x1b61e7?_0x1b61e7[_0x21489c(0x1d9)]()===_0xe0410a[_0x21489c(0x1d9)]()?_0x139ea0[_0x21489c(0x1d9)]()===_0x1b61e7[_0x21489c(0x1d9)]():_0x139ea0<_0xe0410a&&_0x139ea0>=_0x1b61e7:_0x139ea0<_0xe0410a;}return!0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xbfb1(){var _0x52563b=['18252wrnhqG','pinned','5615929QmkruS','21toRsGl','765uwkiCQ','20kboXoq','updateTitle','set','1963794cvsDem','198486yBClwm','createdAt','title','updatePinned','1450840mbBDkV','8712xXaMhW','updatedAt','6eMItjZ','299008qTbErF'];_0xbfb1=function(){return _0x52563b;};return _0xbfb1();}var _0x7a91b7=_0x3310;(function(_0x21bd42,_0x4fc260){var _0x7aee49=_0x3310,_0x2b473c=_0x21bd42();while(!![]){try{var _0x39410b=parseInt(_0x7aee49(0x9f))/0x1*(parseInt(_0x7aee49(0x94))/0x2)+parseInt(_0x7aee49(0x99))/0x3*(-parseInt(_0x7aee49(0x95))/0x4)+parseInt(_0x7aee49(0x9a))/0x5*(parseInt(_0x7aee49(0x96))/0x6)+parseInt(_0x7aee49(0x9e))/0x7+parseInt(_0x7aee49(0x91))/0x8+-parseInt(_0x7aee49(0x92))/0x9*(parseInt(_0x7aee49(0x9b))/0xa)+-parseInt(_0x7aee49(0x98))/0xb;if(_0x39410b===_0x4fc260)break;else _0x2b473c['push'](_0x2b473c['shift']());}catch(_0x39e0ff){_0x2b473c['push'](_0x2b473c['shift']());}}}(_0xbfb1,0x76e82));import{ObservableMixin as _0x18c297}from'ckeditor5/src/utils.js';import{escape as _0x5566a2}from'es-toolkit/compat';function _0x3310(_0x5108c9,_0x5b57d0){var _0xbfb11d=_0xbfb1();return _0x3310=function(_0x331076,_0x1475dc){_0x331076=_0x331076-0x8f;var _0x5af19a=_0xbfb11d[_0x331076];return _0x5af19a;},_0x3310(_0x5108c9,_0x5b57d0);}export class AIChatHistoryItem extends _0x18c297(){['id'];[_0x7a91b7(0xa0)];constructor({id:_0x1ae961,title:_0x546190,createdAt:_0x1a2284,updatedAt:_0x51a08a,pinned:_0x52fbcf}){var _0x261d68=_0x7a91b7;super(),this['id']=_0x1ae961,this[_0x261d68(0xa0)]=new Date(_0x1a2284),this[_0x261d68(0x9d)](_0x261d68(0x8f),_0x546190),this[_0x261d68(0x9d)](_0x261d68(0x93),_0x51a08a?new Date(_0x51a08a):null),this[_0x261d68(0x9d)](_0x261d68(0x97),_0x52fbcf||!0x1);}[_0x7a91b7(0x9c)](_0x28ab3a){var _0x62e71=_0x7a91b7;this[_0x62e71(0x9d)](_0x62e71(0x8f),_0x5566a2(_0x28ab3a)),this[_0x62e71(0x93)]=new Date();}[_0x7a91b7(0x90)](_0x854ac2){var _0x226ec9=_0x7a91b7;this[_0x226ec9(0x9d)](_0x226ec9(0x97),_0x854ac2),this[_0x226ec9(0x93)]=new Date();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa2221f=_0x38a5;function _0x38a5(_0x198d0c,_0x44dc49){const _0x31df02=_0x31df();return _0x38a5=function(_0x38a5a4,_0x31fba3){_0x38a5a4=_0x38a5a4-0x1b7;let _0x41d9f7=_0x31df02[_0x38a5a4];return _0x41d9f7;},_0x38a5(_0x198d0c,_0x44dc49);}function _0x31df(){const _0x1a5d49=['span','ck-ai-chat-history__item--edit','ck-ai-loader','change:isEdit','setTemplate','updateLoadingState','text','AI_CHAT_HISTORY_LOADING_REMOVING','_createSpinnerView','ck-ai-chat-history__item-actions','_createAcceptEditButtonView','AI_CHAT_HISTORY_REMOVE','buttonView','actions','LOADING_LABELS','636zonBeW','extendTemplate','_titleView','13909776EqYvLz','edit:cancel','ck-ai-chat-history__item-check','isVisible','items','add','_createCheckView','isMatching','7743VIJKCN','ck-hidden','execute','11fsKweP','createCollection','label','400374cPQQsG','panelView','ck-ai-chat-history__item-main-content','withText','div','AI_CHAT_HISTORY_LOADING_UNPINNING','ck-ai-chat-history__item--active','set','showConfirm','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','_createCancelEditButtonView','bind','fire','AI_CHAT_HISTORY_REMOVE_CONFIRM','AI_CHAT_HISTORY_LOADING_PINNING','bindTemplate','ck-ai-chat-history__item-title','addMany','12700twMJNv','editConversationTitle','AI_CHAT_HISTORY_LOADING_RENAMING','setConversationPinned','mainContent','1324FJqQlD','loadingState','panelPosition','locale','42ecbpHz','AI_CHAT_HISTORY_CANCEL','selectConversation','3320770cKmqlQ','ck-ai-chat-history__item-content','_createEditInputView','ck-confirm-view-cancel','Enter','click','focus','_createPinButtonView','1814853whSlsS','ck-ai-chat-history__item-row','18WomEdJ','AI_CHAT_HISTORY_PIN_BUTTON','string','isOn','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_EDIT_NAME','highlightText','tiny','then','ck-ai-loader__text','updateTitle','ck-ai-chat-history__item','children','element','AI_CHAT_HISTORY_ACCEPT','ck-confirm-view-submit','value','key','clear','listitem','pinned','_commitEditInputValue','ck-ai-chat-history__item-check-container','match','_createMenuDropdownView','isEdit','removeConversation','6933720IRRPAq'];_0x31df=function(){return _0x1a5d49;};return _0x31df();}(function(_0x49d4dd,_0x1aef85){const _0x261a79=_0x38a5,_0x246ee4=_0x49d4dd();while(!![]){try{const _0x20f39d=parseInt(_0x261a79(0x1f1))/0x1+parseInt(_0x261a79(0x1e2))/0x2*(-parseInt(_0x261a79(0x1c5))/0x3)+-parseInt(_0x261a79(0x1ba))/0x4*(parseInt(_0x261a79(0x1dd))/0x5)+-parseInt(_0x261a79(0x1cb))/0x6*(parseInt(_0x261a79(0x1e6))/0x7)+parseInt(_0x261a79(0x1bd))/0x8+parseInt(_0x261a79(0x1f3))/0x9*(-parseInt(_0x261a79(0x1e9))/0xa)+parseInt(_0x261a79(0x1c8))/0xb*(parseInt(_0x261a79(0x20e))/0xc);if(_0x20f39d===_0x1aef85)break;else _0x246ee4['push'](_0x246ee4['shift']());}catch(_0x537b08){_0x246ee4['push'](_0x246ee4['shift']());}}}(_0x31df,0xe9007));import{ListItemView as _0x21d5dc,HighlightedTextView as _0x36b894,ButtonView as _0x25cf33,ListView as _0x3b6266,IconView as _0x33af74,createDropdown as _0x2eae2a,InputTextView as _0x7ca828}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x1fffd7,IconPin as _0x123857,IconCheck as _0x72fe5,IconCancel as _0x3e8c43}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x641da8,ConfirmMixin as _0x466588}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x378f0b}from'es-toolkit/compat';import{AISpinnerView as _0x21333e}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x4e43b5}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x466588(_0x21d5dc){['id'];static [_0xa2221f(0x1b9)]={'remove':_0xa2221f(0x216),'rename':_0xa2221f(0x1df),'pin':_0xa2221f(0x1d9),'unpin':_0xa2221f(0x1d0)};[_0xa2221f(0x1b8)];[_0xa2221f(0x1e1)];[_0xa2221f(0x1bc)];constructor(_0x4b98f4,_0x540a65){const _0x10a042=_0xa2221f;super(_0x4b98f4);const _0x423bfd=this[_0x10a042(0x1da)];this[_0x10a042(0x1d2)](_0x10a042(0x20c),!0x1),this[_0x10a042(0x1d2)](_0x10a042(0x1c0),!0x0),this[_0x10a042(0x1d2)](_0x10a042(0x207),!!_0x540a65[_0x10a042(0x207)]),this[_0x10a042(0x1d2)](_0x10a042(0x1e3),null),this['id']=_0x540a65['id'];const {title:_0x1ffbcd,createdAt:_0x57bd6e,active:_0x33e677=!0x1}=_0x540a65;this[_0x10a042(0x1bc)]=new _0x36b894(),this[_0x10a042(0x1bc)][_0x10a042(0x215)]=_0x1ffbcd,this[_0x10a042(0x1bc)][_0x10a042(0x1bb)]({'attributes':{'class':[_0x10a042(0x1db)]}});const _0x3ac030=this[_0x10a042(0x1c3)](),_0x5d9289=this[_0x10a042(0x1f0)](_0x4b98f4),_0x1a8135=this[_0x10a042(0x20b)](),_0x30d212=this[_0x10a042(0x1eb)](_0x4b98f4,_0x1ffbcd),_0x47d4a7=this[_0x10a042(0x219)](_0x4b98f4,_0x30d212),_0x580791=this[_0x10a042(0x1d5)](_0x4b98f4,_0x30d212);this[_0x10a042(0x1b8)]=this[_0x10a042(0x1c9)](),this[_0x10a042(0x1e1)]=this[_0x10a042(0x1c9)](),this[_0x10a042(0x1e1)][_0x10a042(0x1c2)](this[_0x10a042(0x1bc)]),this[_0x10a042(0x1b8)][_0x10a042(0x1c2)](_0x5d9289),this[_0x10a042(0x1b8)][_0x10a042(0x1c2)](_0x1a8135),this['on'](_0x10a042(0x212),(_0x5bf850,_0x537d10,_0x27568b)=>{const _0x3d4cfc=_0x10a042;this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x205)](),this[_0x3d4cfc(0x1e1)][_0x3d4cfc(0x205)](),_0x27568b?(this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x1c2)](_0x47d4a7),this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x1c2)](_0x580791),this[_0x3d4cfc(0x1e1)][_0x3d4cfc(0x1c2)](_0x30d212),_0x30d212[_0x3d4cfc(0x200)][_0x3d4cfc(0x1ef)]()):(this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x1c2)](_0x5d9289),this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x1c2)](_0x1a8135),this[_0x3d4cfc(0x1e1)][_0x3d4cfc(0x1c2)](this[_0x3d4cfc(0x1bc)]));}),this[_0x10a042(0x213)]({'tag':'li','attributes':{'class':[_0x10a042(0x1fe),_0x33e677?_0x10a042(0x1d1):'',_0x423bfd['if'](_0x10a042(0x1c0),_0x10a042(0x1c6),_0x35b8c5=>!_0x35b8c5),_0x423bfd['if'](_0x10a042(0x20c),_0x10a042(0x210))],'role':_0x10a042(0x206)},'children':[{'tag':_0x10a042(0x20f),'attributes':{'class':[_0x10a042(0x209)]},'children':[{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1bf),_0x423bfd['if'](_0x10a042(0x1e3),_0x10a042(0x1c6),_0x258788=>!!_0x258788)]},'children':_0x33e677?[_0x3ac030]:[]},{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x211),_0x423bfd['if'](_0x10a042(0x1e3),_0x10a042(0x1c6),_0x5dd4c8=>!_0x5dd4c8)]},'children':[this[_0x10a042(0x217)]()]}]},{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1f2)]},'children':[{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1ea)]},'on':{'click':this[_0x10a042(0x1da)]['to'](_0x10a042(0x1ee))},'children':[{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1cd)]},'children':[{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1db),_0x423bfd['if'](_0x10a042(0x1e3),_0x10a042(0x1c6),_0x4ddbd9=>!!_0x4ddbd9)]},'children':this[_0x10a042(0x1e1)]},{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1fc),_0x423bfd['if'](_0x10a042(0x1e3),_0x10a042(0x1c6),_0x350799=>!_0x350799)]},'children':[{'text':_0x423bfd['to'](_0x10a042(0x1e3),_0x1d88c6=>_0x1d88c6?_0x4e43b5(this[_0x10a042(0x1e5)],AIChatHistoryListItemView[_0x10a042(0x1b9)][_0x1d88c6]):'')}]}]},{'tag':_0x10a042(0x20f),'attributes':{'class':[_0x10a042(0x1f7)]},'children':[_0x57bd6e]}]},{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x218)]},'children':this[_0x10a042(0x1b8)]}]}]}),this['on'](_0x10a042(0x1ee),()=>{const _0x4dcf68=_0x10a042;this[_0x4dcf68(0x20c)]||this[_0x4dcf68(0x1d7)](_0x4dcf68(0x1e8),{'id':this['id']});});}[_0xa2221f(0x1fd)](_0x1f35d0){const _0x58faad=_0xa2221f;this[_0x58faad(0x1bc)][_0x58faad(0x215)]=_0x378f0b(_0x1f35d0);}[_0xa2221f(0x214)](_0x46ddcb,_0x40c244){const _0x450936=_0xa2221f;this[_0x450936(0x1d2)](_0x450936(0x1e3),_0x40c244?_0x46ddcb:null);}[_0xa2221f(0x1c3)](){const _0x2130a0=_0xa2221f,_0x2e6f94=new _0x33af74();return _0x2e6f94[_0x2130a0(0x1d2)]({'content':_0x72fe5}),_0x2e6f94;}[_0xa2221f(0x1f0)](_0x207357){const _0x323a1f=_0xa2221f,_0x34fd7e=new _0x25cf33(_0x207357);return _0x34fd7e[_0x323a1f(0x1d2)]({'label':_0x4e43b5(_0x207357,_0x323a1f(0x1f4)),'icon':_0x123857,'withText':!0x1,'tooltip':!0x0}),_0x34fd7e[_0x323a1f(0x1d6)](_0x323a1f(0x1f6))['to'](this,_0x323a1f(0x207)),_0x34fd7e['on'](_0x323a1f(0x1c7),()=>{const _0x314a36=_0x323a1f,_0x5e3800=!this[_0x314a36(0x207)];this[_0x314a36(0x1d7)](_0x314a36(0x1e0),{'id':this['id'],'pinned':_0x5e3800});}),_0x34fd7e;}[_0xa2221f(0x20b)](){const _0x22d07c=_0xa2221f,_0x32044f=_0x2eae2a(this[_0x22d07c(0x1e5)],_0x641da8),_0x49743b=_0x32044f[_0x22d07c(0x1cc)][_0x22d07c(0x1ff)];_0x32044f[_0x22d07c(0x1b7)][_0x22d07c(0x1d2)]({'label':_0x4e43b5(this[_0x22d07c(0x1e5)],_0x22d07c(0x1d4)),'icon':_0x1fffd7}),_0x32044f[_0x22d07c(0x1e4)]='sw';const _0x4b5095=new _0x25cf33(this[_0x22d07c(0x1e5)]);_0x4b5095[_0x22d07c(0x1ca)]=_0x4e43b5(this[_0x22d07c(0x1e5)],_0x22d07c(0x1f8)),_0x4b5095[_0x22d07c(0x1ce)]=!0x0,_0x4b5095['on'](_0x22d07c(0x1c7),()=>{const _0xc19d9f=_0x22d07c;this[_0xc19d9f(0x20c)]=!0x0;});const _0x14ae1b=new _0x25cf33(this[_0x22d07c(0x1e5)]);_0x14ae1b[_0x22d07c(0x1ca)]=_0x4e43b5(this[_0x22d07c(0x1e5)],_0x22d07c(0x21a)),_0x14ae1b[_0x22d07c(0x1ce)]=!0x0,_0x14ae1b['on'](_0x22d07c(0x1c7),()=>{const _0x162d81=_0x22d07c;this[_0x162d81(0x1d3)](_0x4e43b5(this[_0x162d81(0x1e5)],_0x162d81(0x1d8)),this[_0x162d81(0x200)])[_0x162d81(0x1fb)](()=>{const _0x1af7f1=_0x162d81;this[_0x1af7f1(0x1d7)](_0x1af7f1(0x20d),{'id':this['id']});});});const _0x111f3f=new _0x3b6266(this[_0x22d07c(0x1e5)]),_0x390351=new _0x21d5dc(this[_0x22d07c(0x1e5)]);_0x390351[_0x22d07c(0x1ff)][_0x22d07c(0x1c2)](_0x4b5095);const _0x26eaac=new _0x21d5dc(this[_0x22d07c(0x1e5)]);return _0x26eaac[_0x22d07c(0x1ff)][_0x22d07c(0x1c2)](_0x14ae1b),_0x111f3f[_0x22d07c(0x1c1)][_0x22d07c(0x1dc)]([_0x390351,_0x26eaac]),_0x49743b[_0x22d07c(0x1c2)](_0x111f3f),_0x32044f;}[_0xa2221f(0x1eb)](_0x15fe7f,_0x1e0be0){const _0x5bb135=_0xa2221f,_0x51bba2=new _0x7ca828(_0x15fe7f),_0x1cf3bd=_0x51bba2[_0x5bb135(0x1da)];return _0x51bba2[_0x5bb135(0x203)]=_0x1e0be0,_0x51bba2[_0x5bb135(0x1bb)]({'on':{'keydown':_0x1cf3bd['to'](_0x59f21f=>{const _0x3a5eb9=_0x5bb135;_0x3a5eb9(0x1ed)==_0x59f21f[_0x3a5eb9(0x204)]&&this[_0x3a5eb9(0x208)](_0x51bba2);})}}),_0x51bba2;}[_0xa2221f(0x219)](_0x3e3db8,_0x1b383f){const _0x5314c4=_0xa2221f,_0x565a0d=new _0x25cf33(_0x3e3db8);return _0x565a0d[_0x5314c4(0x1d2)]({'icon':_0x72fe5,'withText':!0x1,'tooltip':_0x4e43b5(_0x3e3db8,_0x5314c4(0x201))}),_0x565a0d[_0x5314c4(0x1bb)]({'attributes':{'class':[_0x5314c4(0x202)]}}),_0x565a0d['on'](_0x5314c4(0x1c7),()=>{const _0x2f7206=_0x5314c4;this[_0x2f7206(0x208)](_0x1b383f);}),_0x565a0d;}[_0xa2221f(0x208)](_0x1cd116){const _0x332885=_0xa2221f,_0x4397cb=_0x1cd116[_0x332885(0x200)][_0x332885(0x203)]||'';this[_0x332885(0x1bc)][_0x332885(0x215)]=_0x4397cb,this[_0x332885(0x20c)]=!0x1,this[_0x332885(0x1d7)](_0x332885(0x1de),{'id':this['id'],'title':_0x4397cb});}[_0xa2221f(0x1d5)](_0x11af37,_0x1dfdf6){const _0x461b94=_0xa2221f,_0xe50104=new _0x25cf33(_0x11af37);return _0xe50104[_0x461b94(0x1d2)]({'icon':_0x3e8c43,'withText':!0x1,'tooltip':_0x4e43b5(_0x11af37,_0x461b94(0x1e7))}),_0xe50104[_0x461b94(0x1bb)]({'attributes':{'class':[_0x461b94(0x1ec)]}}),_0xe50104['on'](_0x461b94(0x1c7),()=>{const _0x47d3c8=_0x461b94;this[_0x47d3c8(0x20c)]=!0x1,_0x1dfdf6[_0x47d3c8(0x203)]=this[_0x47d3c8(0x1bc)][_0x47d3c8(0x215)]||'',this[_0x47d3c8(0x1d7)](_0x47d3c8(0x1be));}),_0xe50104;}[_0xa2221f(0x217)](){const _0x1d3397=_0xa2221f,_0xf7fbec=new _0x21333e(_0x1d3397(0x1fa));return _0xf7fbec[_0x1d3397(0x1c0)]=!0x0,_0xf7fbec;}[_0xa2221f(0x1c4)](_0xab25e3){const _0x131581=_0xa2221f;return this[_0x131581(0x1bc)]&&_0x131581(0x1f5)==typeof this[_0x131581(0x1bc)][_0x131581(0x215)]&&this[_0x131581(0x1bc)][_0x131581(0x215)][_0x131581(0x20a)](_0xab25e3)?{'title':!0x0}:null;}[_0xa2221f(0x1f9)](_0x5c65f1){const _0x46630d=_0xa2221f;this[_0x46630d(0x1bc)][_0x46630d(0x1f9)](_0x5c65f1);}}
|
|
23
|
+
const _0x3cc4b0=_0x1915;(function(_0xc3ae13,_0x14f909){const _0x17c3a6=_0x1915,_0x329d0f=_0xc3ae13();while(!![]){try{const _0x414e24=-parseInt(_0x17c3a6(0x1a6))/0x1+parseInt(_0x17c3a6(0x1a0))/0x2+parseInt(_0x17c3a6(0x181))/0x3+parseInt(_0x17c3a6(0x1ce))/0x4*(parseInt(_0x17c3a6(0x1d9))/0x5)+-parseInt(_0x17c3a6(0x186))/0x6*(-parseInt(_0x17c3a6(0x192))/0x7)+parseInt(_0x17c3a6(0x182))/0x8*(parseInt(_0x17c3a6(0x1cd))/0x9)+-parseInt(_0x17c3a6(0x1a5))/0xa;if(_0x414e24===_0x14f909)break;else _0x329d0f['push'](_0x329d0f['shift']());}catch(_0x2dffb3){_0x329d0f['push'](_0x329d0f['shift']());}}}(_0x1e89,0x411a7));import{ListItemView as _0x5bb682,HighlightedTextView as _0x4470eb,ButtonView as _0x2ced0a,ListView as _0x33d0cf,IconView as _0x330b0a,createDropdown as _0x40d630,InputTextView as _0x1bf9fd}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x218a9f,IconPin as _0xad588d,IconCheck as _0x196609,IconCancel as _0x3687bd}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x57fdb6,ConfirmMixin as _0x24f1c8}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x96815b}from'es-toolkit/compat';function _0x1e89(){const _0x2db064=['_createPinButtonView','ck-ai-chat-history__item-row','setConversationPinned','extendTemplate','_createMenuDropdownView','withText','tiny','edit:cancel','ck-ai-chat-history__item-main-content','ck-ai-chat-history__item-check-container','pinned','2657871gHIHep','4bklEDF','AI_CHAT_HISTORY_PIN_BUTTON','panelView','AI_CHAT_HISTORY_EDIT_NAME','isMatching','AI_CHAT_HISTORY_LOADING_RENAMING','LOADING_LABELS','AI_CHAT_HISTORY_LOADING_PINNING','key','click','ck-confirm-view-cancel','1486990jpjOfk','match','_createSpinnerView','_commitEditInputValue','isOn','setTemplate','label','selectConversation','ck-ai-loader','createCollection','1044945voPOgm','8pXjpnL','value','ck-ai-chat-history__item--active','span','53142nVPWJI','ck-ai-chat-history__item-actions','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_ACCEPT','set','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','items','ck-hidden','_createAcceptEditButtonView','_titleView','ck-ai-chat-history__item-date','focus','7pinyXX','panelPosition','then','addMany','AI_CHAT_HISTORY_REMOVE_CONFIRM','isVisible','string','AI_CHAT_HISTORY_LOADING_REMOVING','_createCancelEditButtonView','_createCheckView','updateTitle','fire','AI_CHAT_HISTORY_REMOVE','ck-ai-loader__text','555534zvhhMo','_createEditInputView','div','ck-ai-chat-history__item--edit','change:isEdit','5527880yrBiAL','408205aOUeRk','isEdit','execute','buttonView','bind','removeConversation','ck-ai-chat-history__item-title','mainContent','actions','add','showConfirm','Enter','loadingState','highlightText','element','ck-ai-chat-history__item-check','listitem','ck-ai-chat-history__item-content','ck-ai-chat-history__item','text','ck-confirm-view-submit','updateLoadingState','locale','AI_CHAT_HISTORY_CANCEL','clear','editConversationTitle','bindTemplate','children'];_0x1e89=function(){return _0x2db064;};return _0x1e89();}import{AISpinnerView as _0x12dd92}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x1f1fb6}from'../../aicore/utils/common-translations.js';function _0x1915(_0xe0e51a,_0x26b704){const _0x1e89e7=_0x1e89();return _0x1915=function(_0x1915b4,_0x20f2b8){_0x1915b4=_0x1915b4-0x180;let _0x4e8ffc=_0x1e89e7[_0x1915b4];return _0x4e8ffc;},_0x1915(_0xe0e51a,_0x26b704);}export class AIChatHistoryListItemView extends _0x24f1c8(_0x5bb682){['id'];static [_0x3cc4b0(0x1d4)]={'remove':_0x3cc4b0(0x199),'rename':_0x3cc4b0(0x1d3),'pin':_0x3cc4b0(0x1d5),'unpin':_0x3cc4b0(0x188)};[_0x3cc4b0(0x1ae)];[_0x3cc4b0(0x1ad)];[_0x3cc4b0(0x18f)];constructor(_0x3d9631,_0x3bf261){const _0x2bd751=_0x3cc4b0;super(_0x3d9631);const _0x280e32=this[_0x2bd751(0x1c0)];this[_0x2bd751(0x18a)](_0x2bd751(0x1a7),!0x1),this[_0x2bd751(0x18a)](_0x2bd751(0x197),!0x0),this[_0x2bd751(0x18a)](_0x2bd751(0x1cc),!!_0x3bf261[_0x2bd751(0x1cc)]),this[_0x2bd751(0x18a)](_0x2bd751(0x1b2),null),this['id']=_0x3bf261['id'];const {title:_0x57c158,createdAt:_0x3bf9a3,active:_0x2e0654=!0x1}=_0x3bf261;this[_0x2bd751(0x18f)]=new _0x4470eb(),this[_0x2bd751(0x18f)][_0x2bd751(0x1b9)]=_0x57c158,this[_0x2bd751(0x18f)][_0x2bd751(0x1c5)]({'attributes':{'class':[_0x2bd751(0x1ac)]}});const _0x33e0d1=this[_0x2bd751(0x19b)](),_0x378ce5=this[_0x2bd751(0x1c2)](_0x3d9631),_0x1d2fbe=this[_0x2bd751(0x1c6)](),_0x274973=this[_0x2bd751(0x1a1)](_0x3d9631,_0x57c158),_0x5c441e=this[_0x2bd751(0x18e)](_0x3d9631,_0x274973),_0xe4049c=this[_0x2bd751(0x19a)](_0x3d9631,_0x274973);this[_0x2bd751(0x1ae)]=this[_0x2bd751(0x180)](),this[_0x2bd751(0x1ad)]=this[_0x2bd751(0x180)](),this[_0x2bd751(0x1ad)][_0x2bd751(0x1af)](this[_0x2bd751(0x18f)]),this[_0x2bd751(0x1ae)][_0x2bd751(0x1af)](_0x378ce5),this[_0x2bd751(0x1ae)][_0x2bd751(0x1af)](_0x1d2fbe),this['on'](_0x2bd751(0x1a4),(_0x438d1b,_0x22e805,_0x28d1cd)=>{const _0x31687b=_0x2bd751;this[_0x31687b(0x1ae)][_0x31687b(0x1be)](),this[_0x31687b(0x1ad)][_0x31687b(0x1be)](),_0x28d1cd?(this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0x5c441e),this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0xe4049c),this[_0x31687b(0x1ad)][_0x31687b(0x1af)](_0x274973),_0x274973[_0x31687b(0x1b4)][_0x31687b(0x191)]()):(this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0x378ce5),this[_0x31687b(0x1ae)][_0x31687b(0x1af)](_0x1d2fbe),this[_0x31687b(0x1ad)][_0x31687b(0x1af)](this[_0x31687b(0x18f)]));}),this[_0x2bd751(0x1de)]({'tag':'li','attributes':{'class':[_0x2bd751(0x1b8),_0x2e0654?_0x2bd751(0x184):'',_0x280e32['if'](_0x2bd751(0x197),_0x2bd751(0x18d),_0x1632e1=>!_0x1632e1),_0x280e32['if'](_0x2bd751(0x1a7),_0x2bd751(0x1a3))],'role':_0x2bd751(0x1b6)},'children':[{'tag':_0x2bd751(0x185),'attributes':{'class':[_0x2bd751(0x1cb)]},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1b5),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x22098b=>!!_0x22098b)]},'children':_0x2e0654?[_0x33e0d1]:[]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1e1),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x32157a=>!_0x32157a)]},'children':[this[_0x2bd751(0x1db)]()]}]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1c3)]},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1b7)]},'on':{'click':this[_0x2bd751(0x1c0)]['to'](_0x2bd751(0x1d7))},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1ca)]},'children':[{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x1ac),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x5778cf=>!!_0x5778cf)]},'children':this[_0x2bd751(0x1ad)]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x19f),_0x280e32['if'](_0x2bd751(0x1b2),_0x2bd751(0x18d),_0x35308c=>!_0x35308c)]},'children':[{'text':_0x280e32['to'](_0x2bd751(0x1b2),_0x5b9df2=>_0x5b9df2?_0x1f1fb6(this[_0x2bd751(0x1bc)],AIChatHistoryListItemView[_0x2bd751(0x1d4)][_0x5b9df2]):'')}]}]},{'tag':_0x2bd751(0x185),'attributes':{'class':[_0x2bd751(0x190)]},'children':[_0x3bf9a3]}]},{'tag':_0x2bd751(0x1a2),'attributes':{'class':[_0x2bd751(0x187)]},'children':this[_0x2bd751(0x1ae)]}]}]}),this['on'](_0x2bd751(0x1d7),()=>{const _0x848556=_0x2bd751;this[_0x848556(0x1a7)]||this[_0x848556(0x19d)](_0x848556(0x1e0),{'id':this['id']});});}[_0x3cc4b0(0x19c)](_0x43d690){const _0x39437a=_0x3cc4b0;this[_0x39437a(0x18f)][_0x39437a(0x1b9)]=_0x96815b(_0x43d690);}[_0x3cc4b0(0x1bb)](_0x1f7c6e,_0x1a3af6){const _0x5b426c=_0x3cc4b0;this[_0x5b426c(0x18a)](_0x5b426c(0x1b2),_0x1a3af6?_0x1f7c6e:null);}[_0x3cc4b0(0x19b)](){const _0x32c5ac=_0x3cc4b0,_0x2894ee=new _0x330b0a();return _0x2894ee[_0x32c5ac(0x18a)]({'content':_0x196609}),_0x2894ee;}[_0x3cc4b0(0x1c2)](_0x11cfe3){const _0x3263d6=_0x3cc4b0,_0x40f3fd=new _0x2ced0a(_0x11cfe3);return _0x40f3fd[_0x3263d6(0x18a)]({'label':_0x1f1fb6(_0x11cfe3,_0x3263d6(0x1cf)),'icon':_0xad588d,'withText':!0x1,'tooltip':!0x0}),_0x40f3fd[_0x3263d6(0x1aa)](_0x3263d6(0x1dd))['to'](this,_0x3263d6(0x1cc)),_0x40f3fd['on'](_0x3263d6(0x1a8),()=>{const _0x29c728=_0x3263d6,_0x96d331=!this[_0x29c728(0x1cc)];this[_0x29c728(0x19d)](_0x29c728(0x1c4),{'id':this['id'],'pinned':_0x96d331});}),_0x40f3fd;}[_0x3cc4b0(0x1c6)](){const _0x360078=_0x3cc4b0,_0x57ba26=_0x40d630(this[_0x360078(0x1bc)],_0x57fdb6),_0x1d26f6=_0x57ba26[_0x360078(0x1d0)][_0x360078(0x1c1)];_0x57ba26[_0x360078(0x1a9)][_0x360078(0x18a)]({'label':_0x1f1fb6(this[_0x360078(0x1bc)],_0x360078(0x18b)),'icon':_0x218a9f}),_0x57ba26[_0x360078(0x193)]='sw';const _0x8a076f=new _0x2ced0a(this[_0x360078(0x1bc)]);_0x8a076f[_0x360078(0x1df)]=_0x1f1fb6(this[_0x360078(0x1bc)],_0x360078(0x1d1)),_0x8a076f[_0x360078(0x1c7)]=!0x0,_0x8a076f['on'](_0x360078(0x1a8),()=>{const _0x4bb460=_0x360078;this[_0x4bb460(0x1a7)]=!0x0;});const _0xe2a6ac=new _0x2ced0a(this[_0x360078(0x1bc)]);_0xe2a6ac[_0x360078(0x1df)]=_0x1f1fb6(this[_0x360078(0x1bc)],_0x360078(0x19e)),_0xe2a6ac[_0x360078(0x1c7)]=!0x0,_0xe2a6ac['on'](_0x360078(0x1a8),()=>{const _0x221919=_0x360078;this[_0x221919(0x1b0)](_0x1f1fb6(this[_0x221919(0x1bc)],_0x221919(0x196)),this[_0x221919(0x1b4)])[_0x221919(0x194)](()=>{const _0x2185ad=_0x221919;this[_0x2185ad(0x19d)](_0x2185ad(0x1ab),{'id':this['id']});});});const _0x25d7cf=new _0x33d0cf(this[_0x360078(0x1bc)]),_0x245dcc=new _0x5bb682(this[_0x360078(0x1bc)]);_0x245dcc[_0x360078(0x1c1)][_0x360078(0x1af)](_0x8a076f);const _0x8bfa93=new _0x5bb682(this[_0x360078(0x1bc)]);return _0x8bfa93[_0x360078(0x1c1)][_0x360078(0x1af)](_0xe2a6ac),_0x25d7cf[_0x360078(0x18c)][_0x360078(0x195)]([_0x245dcc,_0x8bfa93]),_0x1d26f6[_0x360078(0x1af)](_0x25d7cf),_0x57ba26;}[_0x3cc4b0(0x1a1)](_0x3b6545,_0x2e3d6b){const _0x234947=_0x3cc4b0,_0x457bee=new _0x1bf9fd(_0x3b6545),_0x384366=_0x457bee[_0x234947(0x1c0)];return _0x457bee[_0x234947(0x183)]=_0x2e3d6b,_0x457bee[_0x234947(0x1c5)]({'on':{'keydown':_0x384366['to'](_0x3a37e9=>{const _0xa6b44d=_0x234947;_0xa6b44d(0x1b1)==_0x3a37e9[_0xa6b44d(0x1d6)]&&this[_0xa6b44d(0x1dc)](_0x457bee);})}}),_0x457bee;}[_0x3cc4b0(0x18e)](_0x120dbb,_0x1ba822){const _0x38d5d2=_0x3cc4b0,_0x5da68b=new _0x2ced0a(_0x120dbb);return _0x5da68b[_0x38d5d2(0x18a)]({'icon':_0x196609,'withText':!0x1,'tooltip':_0x1f1fb6(_0x120dbb,_0x38d5d2(0x189))}),_0x5da68b[_0x38d5d2(0x1c5)]({'attributes':{'class':[_0x38d5d2(0x1ba)]}}),_0x5da68b['on'](_0x38d5d2(0x1a8),()=>{const _0x5a4ed9=_0x38d5d2;this[_0x5a4ed9(0x1dc)](_0x1ba822);}),_0x5da68b;}[_0x3cc4b0(0x1dc)](_0x3ce4cd){const _0x2d277a=_0x3cc4b0,_0xbf4b71=_0x3ce4cd[_0x2d277a(0x1b4)][_0x2d277a(0x183)]||'';this[_0x2d277a(0x18f)][_0x2d277a(0x1b9)]=_0xbf4b71,this[_0x2d277a(0x1a7)]=!0x1,this[_0x2d277a(0x19d)](_0x2d277a(0x1bf),{'id':this['id'],'title':_0xbf4b71});}[_0x3cc4b0(0x19a)](_0x432967,_0x2d599a){const _0x327b39=_0x3cc4b0,_0xf49b9e=new _0x2ced0a(_0x432967);return _0xf49b9e[_0x327b39(0x18a)]({'icon':_0x3687bd,'withText':!0x1,'tooltip':_0x1f1fb6(_0x432967,_0x327b39(0x1bd))}),_0xf49b9e[_0x327b39(0x1c5)]({'attributes':{'class':[_0x327b39(0x1d8)]}}),_0xf49b9e['on'](_0x327b39(0x1a8),()=>{const _0x421046=_0x327b39;this[_0x421046(0x1a7)]=!0x1,_0x2d599a[_0x421046(0x183)]=this[_0x421046(0x18f)][_0x421046(0x1b9)]||'',this[_0x421046(0x19d)](_0x421046(0x1c9));}),_0xf49b9e;}[_0x3cc4b0(0x1db)](){const _0x3ca24e=_0x3cc4b0,_0x510397=new _0x12dd92(_0x3ca24e(0x1c8));return _0x510397[_0x3ca24e(0x197)]=!0x0,_0x510397;}[_0x3cc4b0(0x1d2)](_0x126e55){const _0x2f9ea1=_0x3cc4b0;return this[_0x2f9ea1(0x18f)]&&_0x2f9ea1(0x198)==typeof this[_0x2f9ea1(0x18f)][_0x2f9ea1(0x1b9)]&&this[_0x2f9ea1(0x18f)][_0x2f9ea1(0x1b9)][_0x2f9ea1(0x1da)](_0x126e55)?{'title':!0x0}:null;}[_0x3cc4b0(0x1b3)](_0x49badf){const _0x25036e=_0x3cc4b0;this[_0x25036e(0x18f)][_0x25036e(0x1b3)](_0x49badf);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f0f30=_0x2b5e;(function(_0x5e2140,_0x228405){const _0x562597=_0x2b5e,_0x241f01=_0x5e2140();while(!![]){try{const _0x27dbca=-parseInt(_0x562597(0x1be))/0x1+parseInt(_0x562597(0x1bb))/0x2*(-parseInt(_0x562597(0x1c4))/0x3)+parseInt(_0x562597(0x1ca))/0x4*(parseInt(_0x562597(0x1c7))/0x5)+-parseInt(_0x562597(0x1bc))/0x6+-parseInt(_0x562597(0x1d1))/0x7*(parseInt(_0x562597(0x1ba))/0x8)+parseInt(_0x562597(0x1b2))/0x9*(parseInt(_0x562597(0x1bf))/0xa)+-parseInt(_0x562597(0x1c1))/0xb*(-parseInt(_0x562597(0x1c8))/0xc);if(_0x27dbca===_0x228405)break;else _0x241f01['push'](_0x241f01['shift']());}catch(_0x57f542){_0x241f01['push'](_0x241f01['shift']());}}}(_0x130b,0xe2e0d));import{ListItemView as _0x4cf717,View as _0x406121,ListView as _0x4d0748}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x4cf717{[_0x5f0f30(0x1ce)];[_0x5f0f30(0x1cf)];[_0x5f0f30(0x1c2)];constructor(_0x116007,{title:_0x1ba0bf,items:_0x4e12be}){const _0x4abee2=_0x5f0f30;super(_0x116007);const _0x3c44d9=this[_0x4abee2(0x1cc)];this[_0x4abee2(0x1b3)](_0x4abee2(0x1b9),!0x0),this[_0x4abee2(0x1ce)]=_0x1ba0bf,this[_0x4abee2(0x1cf)]=_0x4e12be;const _0x2f2ac0=new _0x406121(_0x116007);_0x2f2ac0[_0x4abee2(0x1b6)]({'tag':_0x4abee2(0x1d0),'attributes':{'class':[_0x4abee2(0x1b7)]},'children':[this[_0x4abee2(0x1ce)]]}),this[_0x4abee2(0x1c2)]=new _0x4d0748(_0x116007),this[_0x4abee2(0x1c2)][_0x4abee2(0x1b0)][_0x4abee2(0x1c3)](this[_0x4abee2(0x1cf)]),this[_0x4abee2(0x1b6)]({'tag':'li','attributes':{'class':[_0x4abee2(0x1cb),_0x3c44d9['if'](_0x4abee2(0x1b9),_0x4abee2(0x1d2),_0x1a4889=>!_0x1a4889)]},'children':[_0x2f2ac0,this[_0x4abee2(0x1c2)]]});}[_0x5f0f30(0x1b1)](_0x4987b3){const _0x43e6ac=_0x5f0f30,_0x16c74c=this[_0x43e6ac(0x1cf)][_0x43e6ac(0x1bd)];let _0x1887a5=0x0;for(const _0xdbc35e of this[_0x43e6ac(0x1cf)]){if(_0x4987b3){const _0xe0e25a=_0xdbc35e[_0x43e6ac(0x1b4)](_0x4987b3);_0xdbc35e[_0x43e6ac(0x1b9)]=!!_0xe0e25a,_0xdbc35e[_0x43e6ac(0x1c6)](_0x4987b3);}else _0xdbc35e[_0x43e6ac(0x1b9)]=!0x0,_0xdbc35e[_0x43e6ac(0x1c6)](null);_0xdbc35e[_0x43e6ac(0x1b9)]&&_0x1887a5++;}return this[_0x43e6ac(0x1b9)]=_0x1887a5>0x0,{'resultsCount':_0x1887a5,'totalItemsCount':_0x16c74c};}[_0x5f0f30(0x1b5)](_0x581485){const _0x4d5f35=_0x5f0f30;return this[_0x4d5f35(0x1cf)][_0x4d5f35(0x1c0)](_0x508820=>_0x508820['id']===_0x581485);}[_0x5f0f30(0x1cd)](_0x2595ad){const _0x13002b=_0x5f0f30,_0x3bddb3=this[_0x13002b(0x1cf)][_0x13002b(0x1b8)](_0x2595ad);-0x1!==_0x3bddb3&&(this[_0x13002b(0x1cf)][_0x13002b(0x1c5)](_0x3bddb3,0x1),this[_0x13002b(0x1c2)][_0x13002b(0x1b0)][_0x13002b(0x1c9)](_0x2595ad));}}function _0x2b5e(_0xd339a7,_0x484237){const _0x130bc9=_0x130b();return _0x2b5e=function(_0x2b5ef4,_0x25bf0f){_0x2b5ef4=_0x2b5ef4-0x1b0;let _0x555176=_0x130bc9[_0x2b5ef4];return _0x555176;},_0x2b5e(_0xd339a7,_0x484237);}function _0x130b(){const _0x1db4af=['items','filter','9EvvlHG','set','isMatching','getItem','setTemplate','ck-ai-chat-history__section-title','indexOf','isVisible','189512pwhhha','2axXzNz','4486680dIVBhR','length','1273780bqgAsl','14503670NQYely','find','41153453yvYTdl','_itemsListView','addMany','1751730FXVBUX','splice','highlightText','25bhryts','12kpbmVl','remove','57976iFkMeE','ck-ai-chat-history__section','bindTemplate','removeItem','title','itemsViews','div','511xYLBJk','ck-hidden'];_0x130b=function(){return _0x1db4af;};return _0x130b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5704(_0x45a39f,_0x49da1b){const _0x242ed3=_0x242e();return _0x5704=function(_0x5704a5,_0x20f642){_0x5704a5=_0x5704a5-0xa9;let _0x29b165=_0x242ed3[_0x5704a5];return _0x29b165;},_0x5704(_0x45a39f,_0x49da1b);}const _0x3b7f13=_0x5704;(function(_0x236893,_0x291951){const _0x7106e9=_0x5704,_0x2f0162=_0x236893();while(!![]){try{const _0x5b3ba0=-parseInt(_0x7106e9(0xa9))/0x1*(parseInt(_0x7106e9(0xb1))/0x2)+-parseInt(_0x7106e9(0xae))/0x3*(-parseInt(_0x7106e9(0xb0))/0x4)+-parseInt(_0x7106e9(0xb7))/0x5+parseInt(_0x7106e9(0xb4))/0x6*(parseInt(_0x7106e9(0xb2))/0x7)+-parseInt(_0x7106e9(0xb5))/0x8*(-parseInt(_0x7106e9(0xb9))/0x9)+-parseInt(_0x7106e9(0xb6))/0xa+parseInt(_0x7106e9(0xad))/0xb*(-parseInt(_0x7106e9(0xb3))/0xc);if(_0x5b3ba0===_0x291951)break;else _0x2f0162['push'](_0x2f0162['shift']());}catch(_0x39edb9){_0x2f0162['push'](_0x2f0162['shift']());}}}(_0x242e,0x42405));import{ListView as _0x1bf04f}from'ckeditor5/src/ui.js';function _0x242e(){const _0x523921=['176022gXYGfB','3719891jaJukC','6876qWLxwB','6tlJxsp','2792aTjTbr','2958400OluvAP','901175OTbQRs','extendTemplate','7011NcyGnX','sections','2FJVqzw','ck-ai-chat-history__sections','items','filter','7953IbcYBa','21IVZQMV','addMany','305404cISiyI'];_0x242e=function(){return _0x523921;};return _0x242e();}export class AIChatHistorySectionListView extends _0x1bf04f{[_0x3b7f13(0xba)];constructor(_0x59d00f,_0x441c99){const _0x2a2208=_0x3b7f13;super(_0x59d00f),this[_0x2a2208(0xba)]=_0x441c99,this[_0x2a2208(0xab)][_0x2a2208(0xaf)](this[_0x2a2208(0xba)]),this[_0x2a2208(0xb8)]({'attributes':{'class':[_0x2a2208(0xaa)]}});}[_0x3b7f13(0xac)](_0x3530d8){const _0x559d07=_0x3b7f13;let _0x2b3863=0x0,_0x8a45f2=0x0;for(const _0x54d075 of this[_0x559d07(0xba)]){const {resultsCount:_0x3f4553,totalItemsCount:_0xad8b49}=_0x54d075[_0x559d07(0xac)](_0x3530d8);_0x2b3863+=_0x3f4553,_0x8a45f2+=_0xad8b49;}return{'resultsCount':_0x2b3863,'totalItemsCount':_0x8a45f2};}}
|