@ckeditor/ckeditor5-ai 47.0.0-alpha.7 → 47.0.0-alpha.9
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 +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.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-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.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/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.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/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.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/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.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/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.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 +93 -5
- package/dist/index.css +118 -5
- 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/translations/af.po +224 -0
- package/lang/translations/ar.po +232 -0
- package/lang/translations/ast.po +224 -0
- package/lang/translations/az.po +224 -0
- package/lang/translations/be.po +226 -0
- package/lang/translations/bg.po +224 -0
- package/lang/translations/bn.po +224 -0
- package/lang/translations/bs.po +226 -0
- package/lang/translations/ca.po +224 -0
- package/lang/translations/cs.po +226 -0
- package/lang/translations/da.po +224 -0
- package/lang/translations/de-ch.po +224 -0
- package/lang/translations/de.po +224 -0
- package/lang/translations/el.po +224 -0
- package/lang/translations/en-au.po +224 -0
- package/lang/translations/en-gb.po +224 -0
- package/lang/translations/en.po +224 -0
- package/lang/translations/eo.po +224 -0
- package/lang/translations/es-co.po +224 -0
- package/lang/translations/es.po +224 -0
- package/lang/translations/et.po +224 -0
- package/lang/translations/eu.po +224 -0
- package/lang/translations/fa.po +222 -0
- package/lang/translations/fi.po +224 -0
- package/lang/translations/fr.po +224 -0
- package/lang/translations/gl.po +224 -0
- package/lang/translations/gu.po +224 -0
- package/lang/translations/he.po +224 -0
- package/lang/translations/hi.po +224 -0
- package/lang/translations/hr.po +226 -0
- package/lang/translations/hu.po +224 -0
- package/lang/translations/hy.po +224 -0
- package/lang/translations/id.po +222 -0
- package/lang/translations/it.po +224 -0
- package/lang/translations/ja.po +222 -0
- package/lang/translations/jv.po +224 -0
- package/lang/translations/kk.po +224 -0
- package/lang/translations/km.po +222 -0
- package/lang/translations/kn.po +224 -0
- package/lang/translations/ko.po +222 -0
- package/lang/translations/ku.po +224 -0
- package/lang/translations/lt.po +226 -0
- package/lang/translations/lv.po +226 -0
- package/lang/translations/ms.po +222 -0
- package/lang/translations/nb.po +224 -0
- package/lang/translations/ne.po +224 -0
- package/lang/translations/nl.po +224 -0
- package/lang/translations/no.po +224 -0
- package/lang/translations/oc.po +224 -0
- package/lang/translations/pl.po +226 -0
- package/lang/translations/pt-br.po +224 -0
- package/lang/translations/pt.po +224 -0
- package/lang/translations/ro.po +226 -0
- package/lang/translations/ru.po +226 -0
- package/lang/translations/si.po +224 -0
- package/lang/translations/sk.po +226 -0
- package/lang/translations/sl.po +228 -0
- package/lang/translations/sq.po +224 -0
- package/lang/translations/sr-latn.po +226 -0
- package/lang/translations/sr.po +226 -0
- package/lang/translations/sv.po +224 -0
- package/lang/translations/th.po +222 -0
- package/lang/translations/ti.po +224 -0
- package/lang/translations/tk.po +224 -0
- package/lang/translations/tr.po +224 -0
- package/lang/translations/tt.po +222 -0
- package/lang/translations/ug.po +222 -0
- package/lang/translations/uk.po +226 -0
- package/lang/translations/ur.po +224 -0
- package/lang/translations/uz.po +224 -0
- package/lang/translations/vi.po +222 -0
- package/lang/translations/zh-cn.po +222 -0
- package/lang/translations/zh.po +222 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.d.ts +12 -4
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +0 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +0 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +0 -30
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.d.ts +3 -0
- 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.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.d.ts +0 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.d.ts +0 -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/aiconfig.d.ts +47 -9
- package/src/aicore/aiconnector.d.ts +2 -3
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.d.ts +0 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.d.ts +0 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +164 -0
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.d.ts +29 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.d.ts +6 -2
- 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/aichat.css +1 -0
- package/theme/aichat/aichatfeed.css +39 -0
- package/theme/aieditorintegration/aitogglebutton.css +23 -0
- package/theme/aiquickactions/aiquickactions.css +23 -4
- package/theme/aireviewmode/aireviewmode.css +23 -0
- package/theme/common/aibutton.css +1 -1
- package/theme/common/aitrackchanges.css +13 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56252b=_0x2821;(function(_0x28ddbd,_0x253c71){const _0x58cc05=_0x2821,_0x9f3307=_0x28ddbd();while(!![]){try{const _0x253dec=-parseInt(_0x58cc05(0x12e))/0x1+-parseInt(_0x58cc05(0x132))/0x2*(parseInt(_0x58cc05(0x137))/0x3)+-parseInt(_0x58cc05(0x139))/0x4*(-parseInt(_0x58cc05(0x145))/0x5)+-parseInt(_0x58cc05(0x142))/0x6*(-parseInt(_0x58cc05(0x125))/0x7)+-parseInt(_0x58cc05(0x129))/0x8+-parseInt(_0x58cc05(0x12f))/0x9*(-parseInt(_0x58cc05(0x13e))/0xa)+-parseInt(_0x58cc05(0x134))/0xb*(parseInt(_0x58cc05(0x12b))/0xc);if(_0x253dec===_0x253c71)break;else _0x9f3307['push'](_0x9f3307['shift']());}catch(_0x3917b0){_0x9f3307['push'](_0x9f3307['shift']());}}}(_0x5ec1,0x999f1));import{View as _0x4ae1fc}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1edfb4}from'../../../aicore/utils/htmlstreamer.js';function _0x2821(_0x1f81f7,_0x769a1f){const _0x5ec1bf=_0x5ec1();return _0x2821=function(_0x282114,_0x24a360){_0x282114=_0x282114-0x121;let _0x4c09bb=_0x5ec1bf[_0x282114];return _0x4c09bb;},_0x2821(_0x1f81f7,_0x769a1f);}export class AIChatFeedItemView extends _0x4ae1fc{[_0x56252b(0x127)];[_0x56252b(0x133)]='';[_0x56252b(0x12c)];[_0x56252b(0x123)];constructor(_0x1cfd95){const _0x2455ec=_0x56252b;super();const _0x269c0c=this[_0x2455ec(0x146)];this[_0x2455ec(0x13c)](_0x2455ec(0x124),!0x1),this[_0x2455ec(0x13c)](_0x2455ec(0x131),!0x0),this[_0x2455ec(0x12c)]=new _0x1edfb4({'textNodeStyle':_0x2455ec(0x135),'delay':0x14}),this[_0x2455ec(0x127)]=_0x1cfd95,this[_0x2455ec(0x123)]=this[_0x2455ec(0x130)](),this[_0x2455ec(0x138)]({'tag':_0x2455ec(0x144),'attributes':{'class':['ck',_0x2455ec(0x122),_0x269c0c['if'](_0x2455ec(0x124),_0x2455ec(0x13f)),_0x269c0c['if'](_0x2455ec(0x131),_0x2455ec(0x13b),_0x39d69c=>!_0x39d69c),_0x2455ec(0x140)],'data-cke-ai-id':this[_0x2455ec(0x127)]['id']},'children':this[_0x2455ec(0x123)]});}[_0x56252b(0x128)](){const _0x4fa551=_0x56252b;this[_0x4fa551(0x12c)][_0x4fa551(0x12d)]({'targetElement':this[_0x4fa551(0x143)]}),this[_0x4fa551(0x143)][_0x4fa551(0x136)](_0x4fa551(0x126))[_0x4fa551(0x12a)](_0x20181f=>{const _0x4b750a=_0x4fa551;_0x20181f[_0x4b750a(0x141)](_0x4b750a(0x13a));}),this[_0x4fa551(0x124)]=!0x0;}async[_0x56252b(0x13d)](_0x19557a,_0x174e66,_0x351e8b){const _0x54fa3d=_0x56252b;await this[_0x54fa3d(0x12c)][_0x54fa3d(0x121)]({'document':_0x19557a,'targetElement':_0x174e66,'abortSignal':_0x351e8b});}}function _0x5ec1(){const _0x3124aa=['removeAttribute','186JrdOlo','element','div','25DVAwyE','bindTemplate','stream','ck-ai-chat__feed__item','children','isDone','67753EuCEyt','[data-id]','options','markAsDone','4786160pAmsIR','forEach','6144xWcMca','htmlStreamer','cleanUpAnimations','685973ksehck','2703375fzNkrU','createCollection','isVisible','5882bqrhVL','content','1408nIAJwm','animation:\x20ck-html-streamer-fade-in\x20.5s','querySelectorAll','291gBEypd','setTemplate','850492OPUHfo','data-id','ck-hidden','set','streamIntoElement','30kqaEoR','ck-ai-chat__feed__item_done','ck-ai-chat__feed__text-item'];_0x5ec1=function(){return _0x3124aa;};return _0x5ec1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b18cb=_0x205a;(function(_0x3ed75a,_0x1e03ac){const _0x14317c=_0x205a,_0x40b104=_0x3ed75a();while(!![]){try{const _0x3a80aa=-parseInt(_0x14317c(0x1b7))/0x1*(-parseInt(_0x14317c(0x1ae))/0x2)+parseInt(_0x14317c(0x1c0))/0x3+parseInt(_0x14317c(0x1ad))/0x4+-parseInt(_0x14317c(0x1b0))/0x5+-parseInt(_0x14317c(0x1bd))/0x6*(-parseInt(_0x14317c(0x1af))/0x7)+-parseInt(_0x14317c(0x1b3))/0x8*(parseInt(_0x14317c(0x1aa))/0x9)+parseInt(_0x14317c(0x1a5))/0xa;if(_0x3a80aa===_0x1e03ac)break;else _0x40b104['push'](_0x40b104['shift']());}catch(_0x470230){_0x40b104['push'](_0x40b104['shift']());}}}(_0x31e0,0xef4aa));import{AIChatFeedItemView as _0x43dd22}from'./aichatfeeditemview.js';import{parse as _0x582379,render as _0x5b5cde}from'../../../aicore/utils/htmlparser.js';import{View as _0x107362}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x590c7a,AIWebSourceView as _0x4bcf93}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x43dd22{[_0x3b18cb(0x1b6)];constructor(_0x28de28,_0x56e3c9){const _0x2e5867=_0x3b18cb;super(_0x56e3c9),this[_0x2e5867(0x1c2)]=_0x28de28,this[_0x2e5867(0x1c3)]({'attributes':{'class':[_0x2e5867(0x1b2)]}}),this[_0x2e5867(0x1b6)]=new _0x107362(),this[_0x2e5867(0x1b6)][_0x2e5867(0x1b5)]({'tag':_0x2e5867(0x1c1),'attributes':{'class':['ck',_0x2e5867(0x1be),_0x2e5867(0x1a8)]}}),this[_0x2e5867(0x1c5)][_0x2e5867(0x1bf)](this[_0x2e5867(0x1b6)]);}async[_0x3b18cb(0x1a7)](){const _0x299681=_0x3b18cb;super[_0x299681(0x1a7)](),this[_0x299681(0x1c4)][_0x299681(0x1b9)]&&(await this[_0x299681(0x1b8)]({'parsedContent':_0x582379(this[_0x299681(0x1c4)][_0x299681(0x1b9)]),'renderingStrategy':_0x299681(0x1a9)}),this[_0x299681(0x1ab)]());}async[_0x3b18cb(0x1b8)]({parsedContent:_0x9c26b8,renderingStrategy:_0x4256ef,abortSignal:_0xb437d9}){const _0x4e1603=_0x3b18cb;_0x4e1603(0x1a6)===_0x4256ef?await this[_0x4e1603(0x1b4)](_0x9c26b8,this[_0x4e1603(0x1b6)][_0x4e1603(0x1a4)],_0xb437d9):this[_0x4e1603(0x1b6)][_0x4e1603(0x1a4)][_0x4e1603(0x1b1)]=_0x5b5cde(_0x9c26b8);}[_0x3b18cb(0x1bb)](_0x2bca6d){const _0x16d21b=_0x3b18cb,_0xe8336f=new _0x590c7a(this[_0x16d21b(0x1c2)]);_0xe8336f[_0x16d21b(0x1c5)][_0x16d21b(0x1bc)](_0x2bca6d[_0x16d21b(0x1ac)](_0x42ed17=>new _0x4bcf93(this[_0x16d21b(0x1c2)],_0x42ed17))),_0xe8336f[_0x16d21b(0x1ba)]=!0x0,this[_0x16d21b(0x1c5)][_0x16d21b(0x1bf)](_0xe8336f);}}function _0x205a(_0xe478c9,_0x1a8a14){const _0x31e05c=_0x31e0();return _0x205a=function(_0x205a59,_0x158c1b){_0x205a59=_0x205a59-0x1a4;let _0x5656eb=_0x31e05c[_0x205a59];return _0x5656eb;},_0x205a(_0xe478c9,_0x1a8a14);}function _0x31e0(){const _0x226466=['element','8904950wjDQIJ','streaming','render','ck-ai-chat__feed__ai-reply-container','static','285057POlGYZ','markAsDone','map','471148kDjTdn','12Kyelxx','2198kwEREi','4425290yPPpjB','innerHTML','ck-ai-chat__feed__ai-reply','320LJRsof','streamIntoElement','setTemplate','replyContainer','280002iPbjge','updateContent','initialContent','isVisible','updateSources','addMany','90mQSIUj','ck-reset_all-excluded','add','1317336wRaccw','div','locale','extendTemplate','options','children'];_0x31e0=function(){return _0x226466;};return _0x31e0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x57e2c4=_0x1d80;(function(_0x388a9e,_0x48b5cd){const _0xbd7e6=_0x1d80,_0x602f0=_0x388a9e();while(!![]){try{const _0x246759=parseInt(_0xbd7e6(0xe8))/0x1*(parseInt(_0xbd7e6(0xf9))/0x2)+parseInt(_0xbd7e6(0xde))/0x3+-parseInt(_0xbd7e6(0x10d))/0x4*(-parseInt(_0xbd7e6(0xf1))/0x5)+parseInt(_0xbd7e6(0x107))/0x6+parseInt(_0xbd7e6(0x11b))/0x7+-parseInt(_0xbd7e6(0x119))/0x8*(parseInt(_0xbd7e6(0x132))/0x9)+-parseInt(_0xbd7e6(0x110))/0xa*(parseInt(_0xbd7e6(0x104))/0xb);if(_0x246759===_0x48b5cd)break;else _0x602f0['push'](_0x602f0['shift']());}catch(_0x142447){_0x602f0['push'](_0x602f0['shift']());}}}(_0x1e63,0x9901d));import{KeystrokeHandler as _0x16479b}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x14dbba,BodyCollection as _0x11ac39,ButtonView as _0x28aa8b,clickOutsideHandler as _0x31c236,ListItemButtonView as _0x15ba81,ListItemView as _0x37a4c2,ListView as _0x21ef8c,SplitButtonView as _0x1af947,UIModel as _0x4463ff,View as _0x575270}from'ckeditor5/src/ui.js';import{IconCheck as _0x414bff,IconAddComment as _0x275645,IconDocumentWithLoupe as _0x5288e3}from'ckeditor5/src/icons.js';import{getTranslation as _0x335515}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x57e2c4(0xe9),_0x57e2c4(0xfc),_0x57e2c4(0xe7)];function _0x1d80(_0x58e7dd,_0x5904a7){const _0x1e63a7=_0x1e63();return _0x1d80=function(_0x1d800f,_0x1ee234){_0x1d800f=_0x1d800f-0xde;let _0x3a7c0a=_0x1e63a7[_0x1d800f];return _0x3a7c0a;},_0x1d80(_0x58e7dd,_0x5904a7);}function _0x1e63(){const _0x3caff3=['ck-ai-button-primary','listenTo','remove','_updateDropdownActions','_partsCount','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','destroy','source','_setUpKeystrokes','insertSuggestionModel','ck-hidden','open','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','slice','attachToDom','esc','width','actionName','detachFromDom','523773cRpgFc','ck-ai-chat__feed__ai-suggestion__actions','createCollection','balloonPanelView','change:isTrackChangesOn','keys','arrowView','content','element','locale','3157026bLrlnA','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','bindTemplate','focus','isEnabled','listView','keystrokeHandler','bind','showChangeInText','773rXCiLI','applySuggestion','arrowless','_createActionsDropdownOrButton','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','isVisible','map','items','_createActionsButton','732345MUhTua','updateLabels','unbind','children','ck-ai-chat__feed__ai-suggestion__actions__balloon','bodyCollection','tooltip','has','2828mXRFVM','label','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','left','filter','length','div','isTrackChangesOn','add','7343897hVcNvN','actionsButton','hide','1051878AZPVst','listItemModels','balloonPanelClass','class','button','_createActionsDropdown','8KpYzWF','bottom','pin','30opTZcQ','set','applySuggestionModel','_dropdownOriginalConfig','uiLanguageDirection','setTemplate','delegate','execute','_dropdownCurrentConfig','48PLyDoo','showChangeInTextModel','2556155xdTMdl','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','_setUpList','fire'];_0x1e63=function(){return _0x3caff3;};return _0x1e63();}export class AIChatFeedSuggestionItemActionsView extends _0x575270{[_0x57e2c4(0x105)];[_0x57e2c4(0xf4)];[_0x57e2c4(0x112)];[_0x57e2c4(0x11a)];[_0x57e2c4(0x128)];[_0x57e2c4(0x123)]=0x1;[_0x57e2c4(0x113)];[_0x57e2c4(0x118)];constructor(_0x130db8,_0x1b5a0e){const _0x140d67=_0x57e2c4;super(_0x130db8),this[_0x140d67(0x113)]=_0x1b5a0e||[...ACTIONS],this[_0x140d67(0x118)]=[...this[_0x140d67(0x113)]];const _0x4ee512=this[_0x140d67(0xe1)];this[_0x140d67(0x111)](_0x140d67(0xe3),!0x0),this[_0x140d67(0x111)](_0x140d67(0xed),!0x0),this[_0x140d67(0x112)]=new _0x4463ff({'label':An(_0x140d67(0xe9),_0x130db8,this[_0x140d67(0x123)]),'icon':_0x414bff,'withText':!0x0,'type':_0x140d67(0x10b),'actionName':_0x140d67(0xe9)}),this[_0x140d67(0x11a)]=new _0x4463ff({'label':An(_0x140d67(0xe7),_0x130db8,this[_0x140d67(0x123)]),'icon':_0x5288e3,'withText':!0x0,'type':_0x140d67(0x10b),'actionName':_0x140d67(0xe7)}),this[_0x140d67(0x128)]=new _0x4463ff({'label':An(_0x140d67(0xfc),_0x130db8,this[_0x140d67(0x123)]),'icon':_0x275645,'withText':!0x0,'type':_0x140d67(0x10b),'actionName':_0x140d67(0xfc)}),this[_0x140d67(0x105)]=this[_0x140d67(0xeb)](_0x130db8),this[_0x140d67(0xf4)]=this[_0x140d67(0x134)]([this[_0x140d67(0x105)]]),this[_0x140d67(0x115)]({'tag':_0x140d67(0x101),'attributes':{'class':['ck',_0x140d67(0x133),_0x4ee512['if'](_0x140d67(0xed),_0x140d67(0x129),_0x31e78d=>!_0x31e78d)]},'children':this[_0x140d67(0xf4)]}),this[_0x140d67(0x120)](this,_0x140d67(0x136),()=>{const _0x186466=_0x140d67;this[_0x186466(0x118)]=this[_0x186466(0x102)]?this[_0x186466(0x113)][_0x186466(0xff)](_0x5883b1=>_0x186466(0xe9)!==_0x5883b1):[...this[_0x186466(0x113)]],this[_0x186466(0x122)](_0x130db8);});}[_0x57e2c4(0x122)](_0x2f7704){const _0x9d244f=_0x57e2c4;this[_0x9d244f(0xf4)][_0x9d244f(0xf8)](this[_0x9d244f(0x105)])&&(this[_0x9d244f(0xf4)][_0x9d244f(0x121)](this[_0x9d244f(0x105)]),this[_0x9d244f(0x105)][_0x9d244f(0x125)]()),0x0!=this[_0x9d244f(0x118)][_0x9d244f(0x100)]&&(this[_0x9d244f(0x105)]=this[_0x9d244f(0xeb)](_0x2f7704),this[_0x9d244f(0xf4)][_0x9d244f(0x103)](this[_0x9d244f(0x105)]));}[_0x57e2c4(0xeb)](_0x4faf07){const _0x1f883f=_0x57e2c4,_0x14446b=0x1===this[_0x1f883f(0x118)][_0x1f883f(0x100)]?this[_0x1f883f(0xf0)](_0x4faf07):this[_0x1f883f(0x10c)](_0x4faf07);_0x14446b[_0x1f883f(0x111)]({'label':An(this[_0x1f883f(0x118)][0x0],_0x4faf07,this[_0x1f883f(0x123)]),'tooltip':Cn(this[_0x1f883f(0x118)][0x0],_0x4faf07,this[_0x1f883f(0x123)]),'withText':!0x0,'class':_0x1f883f(0x133)});for(const _0x2d55c2 of this[_0x1f883f(0x118)])_0x14446b['on'](_0x2d55c2,()=>{const _0x262aad=_0x1f883f;this[_0x262aad(0x11e)](_0x2d55c2);});return _0x14446b;}[_0x57e2c4(0xf0)](_0xda5208){const _0x4c3734=_0x57e2c4,_0x3647aa=new _0x28aa8b(_0xda5208);return _0x3647aa[_0x4c3734(0x111)]({'class':_0x4c3734(0x11f),'withText':!0x0}),_0x3647aa['on'](_0x4c3734(0x117),()=>{const _0xaaaa8b=_0x4c3734;_0x3647aa[_0xaaaa8b(0x11e)](this[_0xaaaa8b(0x118)][0x0]);}),_0x3647aa;}[_0x57e2c4(0x10c)](_0x36ce42){const _0x4804cd=_0x57e2c4,_0x1c133b=new In(_0x36ce42,{'listItemModels':this[_0x4804cd(0x118)][_0x4804cd(0xee)](_0x5ed829=>{const _0x897039=_0x4804cd;switch(_0x5ed829){case _0x897039(0xe9):return this[_0x897039(0x112)];case _0x897039(0xe7):return this[_0x897039(0x11a)];case _0x897039(0xfc):return this[_0x897039(0x128)];}})});return _0x1c133b[_0x4804cd(0x111)]({'label':An(this[_0x4804cd(0x118)][0x0],_0x36ce42,this[_0x4804cd(0x123)]),'tooltip':Cn(this[_0x4804cd(0x118)][0x0],_0x36ce42,this[_0x4804cd(0x123)]),'withText':!0x0,'class':_0x4804cd(0x133),'balloonPanelClass':_0x4804cd(0xf5)}),_0x1c133b[_0x4804cd(0xe6)](_0x4804cd(0xe3))['to'](this),_0x1c133b;}[_0x57e2c4(0xf2)](_0x58e76a){const _0x5533fc=_0x57e2c4,_0x930f25=this[_0x5533fc(0x13b)];this[_0x5533fc(0x123)]=_0x58e76a||this[_0x5533fc(0x123)],this[_0x5533fc(0x105)][_0x5533fc(0x111)]({'label':An(this[_0x5533fc(0x118)][0x0],_0x930f25,this[_0x5533fc(0x123)]),'tooltip':Cn(this[_0x5533fc(0x118)][0x0],_0x930f25,this[_0x5533fc(0x123)])}),this[_0x5533fc(0x112)][_0x5533fc(0xfa)]=An(_0x5533fc(0xe9),_0x930f25,this[_0x5533fc(0x123)]),this[_0x5533fc(0x11a)][_0x5533fc(0xfa)]=An(_0x5533fc(0xe7),_0x930f25,this[_0x5533fc(0x123)]),this[_0x5533fc(0x128)][_0x5533fc(0xfa)]=An(_0x5533fc(0xfc),_0x930f25,this[_0x5533fc(0x123)]);}}class In extends _0x1af947{[_0x57e2c4(0xf6)];[_0x57e2c4(0x135)];[_0x57e2c4(0xe4)];[_0x57e2c4(0xe5)];constructor(_0x296c06,_0x14b668){const _0x39f649=_0x57e2c4;super(_0x296c06),this[_0x39f649(0x135)]=new _0x14dbba(this[_0x39f649(0x13b)]),this[_0x39f649(0xf6)]=new _0x11ac39(this[_0x39f649(0x13b)]),this[_0x39f649(0xf6)][_0x39f649(0x12d)](),this[_0x39f649(0x111)](_0x39f649(0x109),''),this[_0x39f649(0x135)][_0x39f649(0xe6)](_0x39f649(0x10a))['to'](this,_0x39f649(0x109)),this[_0x39f649(0xe4)]=this[_0x39f649(0x11d)](_0x14b668[_0x39f649(0x108)][_0x39f649(0x12c)](0x1)),this[_0x39f649(0xf6)][_0x39f649(0x103)](this[_0x39f649(0x135)]),this[_0x39f649(0x135)][_0x39f649(0x139)][_0x39f649(0x103)](this[_0x39f649(0xe4)]),this[_0x39f649(0x138)][_0x39f649(0xf3)](_0x39f649(0xf7)),this[_0x39f649(0x138)][_0x39f649(0x111)](_0x39f649(0xf7),_0x335515(this[_0x39f649(0x13b)],_0x39f649(0x124))),this[_0x39f649(0x127)](),this['on'](_0x39f649(0x117),()=>{const _0x12f801=_0x39f649,_0x565958=_0x14b668[_0x12f801(0x108)][0x0][_0x12f801(0x130)];this[_0x12f801(0x11e)](_0x565958),this[_0x12f801(0x135)][_0x12f801(0x106)](),this[_0x12f801(0x138)][_0x12f801(0xe2)]();}),this['on'](_0x39f649(0x12a),()=>{const _0x4ca31c=_0x39f649;this[_0x4ca31c(0x135)][_0x4ca31c(0xed)]?(this[_0x4ca31c(0x135)][_0x4ca31c(0x106)](),this[_0x4ca31c(0x138)][_0x4ca31c(0xe2)]()):(this[_0x4ca31c(0x135)][_0x4ca31c(0x10f)]({'target':this[_0x4ca31c(0x13a)],'positions':[_0x4ca31c(0xdf)===this[_0x4ca31c(0x13b)][_0x4ca31c(0x114)]?Sn:wn]}),this[_0x4ca31c(0xe4)][_0x4ca31c(0xe2)]());}),_0x31c236({'emitter':this[_0x39f649(0x135)],'callback':()=>{const _0x4eced7=_0x39f649;this[_0x4eced7(0x135)][_0x4eced7(0x106)]();},'activator':()=>this[_0x39f649(0x135)][_0x39f649(0xed)],'contextElements':()=>[this[_0x39f649(0x13a)],this[_0x39f649(0x135)][_0x39f649(0x13a)]]});}[_0x57e2c4(0x11d)](_0xc15030){const _0x5a4e78=_0x57e2c4,_0x29f75e=this[_0x5a4e78(0x13b)],_0xdc34f2=new _0x21ef8c(_0x29f75e);for(const _0x4dbca8 of _0xc15030){const _0x270ec2=new _0x37a4c2(_0x29f75e),_0x13bf99=new _0x15ba81(_0x29f75e);_0x13bf99[_0x5a4e78(0xe6)](...Object[_0x5a4e78(0x137)](_0x4dbca8))['to'](_0x4dbca8),_0x13bf99[_0x5a4e78(0x116)](_0x5a4e78(0x117))['to'](_0xdc34f2),_0x270ec2[_0x5a4e78(0xf4)][_0x5a4e78(0x103)](_0x13bf99),_0xdc34f2[_0x5a4e78(0xef)][_0x5a4e78(0x103)](_0x270ec2);}return _0xdc34f2[_0x5a4e78(0xef)][_0x5a4e78(0x116)](_0x5a4e78(0x117))['to'](this),_0xdc34f2['on'](_0x5a4e78(0x117),_0x53c296=>{const _0x5e26e8=_0x5a4e78,_0x5c28ca=_0x53c296[_0x5e26e8(0x126)];this[_0x5e26e8(0x11e)](_0x5c28ca[_0x5e26e8(0x130)]),this[_0x5e26e8(0x135)][_0x5e26e8(0x106)](),this[_0x5e26e8(0x138)][_0x5e26e8(0xe2)]();}),_0xdc34f2;}[_0x57e2c4(0x127)](){const _0xe80577=_0x57e2c4;this[_0xe80577(0xe5)]=new _0x16479b(),this[_0xe80577(0xe5)][_0xe80577(0x120)](this[_0xe80577(0x135)][_0xe80577(0x13a)]),this[_0xe80577(0xe5)][_0xe80577(0x111)](_0xe80577(0x12e),(_0x433114,_0x3e26dd)=>{const _0x55d2ba=_0xe80577;this[_0x55d2ba(0x135)][_0x55d2ba(0x106)](),this[_0x55d2ba(0x138)][_0x55d2ba(0xe2)](),_0x3e26dd();});}[_0x57e2c4(0x125)](){const _0x39f0be=_0x57e2c4;super[_0x39f0be(0x125)](),this[_0x39f0be(0xe5)][_0x39f0be(0x125)](),this[_0x39f0be(0x135)][_0x39f0be(0x125)](),this[_0x39f0be(0xf6)][_0x39f0be(0x131)]();}}function Sn(_0xb93abd){const _0x354f74=_0x57e2c4;return{'top':_0xb93abd[_0x354f74(0x10e)],'left':_0xb93abd[_0x354f74(0xfe)],'name':_0x354f74(0xea),'config':{'withArrow':!0x1}};}function wn(_0x13861c,_0x57ffa1){const _0x4206f9=_0x57e2c4;return{'top':_0x13861c[_0x4206f9(0x10e)],'left':_0x13861c[_0x4206f9(0xfe)]-(_0x57ffa1[_0x4206f9(0x12f)]-_0x13861c[_0x4206f9(0x12f)]),'name':_0x4206f9(0xea),'config':{'withArrow':!0x1}};}function An(_0x423fa8,_0x18e40f,_0x16def5){const _0x34b8ba=_0x57e2c4;switch(_0x423fa8){case _0x34b8ba(0xe9):return _0x335515(_0x18e40f,_0x34b8ba(0xec),_0x16def5);case _0x34b8ba(0xe7):return _0x335515(_0x18e40f,_0x34b8ba(0xe0),_0x16def5);case _0x34b8ba(0xfc):return _0x335515(_0x18e40f,_0x34b8ba(0xfb),_0x16def5);}}function Cn(_0x3350f8,_0xc20865,_0x2a5996){const _0x17e185=_0x57e2c4;switch(_0x3350f8){case _0x17e185(0xe9):return _0x335515(_0xc20865,_0x17e185(0x11c),_0x2a5996);case _0x17e185(0xe7):return _0x335515(_0xc20865,_0x17e185(0xfd),_0x2a5996);case _0x17e185(0xfc):return _0x335515(_0xc20865,_0x17e185(0x12b),_0x2a5996);}}
|
|
23
|
+
const _0x25b3ac=_0x53a6;(function(_0xbf49aa,_0x369e5c){const _0x958906=_0x53a6,_0x4e8207=_0xbf49aa();while(!![]){try{const _0x226fae=-parseInt(_0x958906(0xe7))/0x1*(parseInt(_0x958906(0xc8))/0x2)+parseInt(_0x958906(0x9f))/0x3+parseInt(_0x958906(0xdd))/0x4*(-parseInt(_0x958906(0xb6))/0x5)+-parseInt(_0x958906(0xe1))/0x6+-parseInt(_0x958906(0x94))/0x7+-parseInt(_0x958906(0xdf))/0x8+-parseInt(_0x958906(0xe8))/0x9*(-parseInt(_0x958906(0xbb))/0xa);if(_0x226fae===_0x369e5c)break;else _0x4e8207['push'](_0x4e8207['shift']());}catch(_0x5bb6ce){_0x4e8207['push'](_0x4e8207['shift']());}}}(_0x2214,0x52100));import{KeystrokeHandler as _0x16352a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x38b112,BodyCollection as _0x58330d,ButtonView as _0xd447f9,clickOutsideHandler as _0x478e3f,ListItemButtonView as _0x4675e8,ListItemView as _0x4ee7b3,ListView as _0x21743d,SplitButtonView as _0x198103,UIModel as _0x5cd733,View as _0x4d09c3}from'ckeditor5/src/ui.js';import{IconCheck as _0x45b065,IconAddComment as _0xfea4a1,IconDocumentWithLoupe as _0x191e1d}from'ckeditor5/src/icons.js';import{getTranslation as _0x43cd6a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x25b3ac(0xb4),_0x25b3ac(0xd9),_0x25b3ac(0xc9)];export class AIChatFeedSuggestionItemActionsView extends _0x4d09c3{[_0x25b3ac(0xc2)];[_0x25b3ac(0xe6)];[_0x25b3ac(0xf2)];[_0x25b3ac(0xe4)];[_0x25b3ac(0xc1)];[_0x25b3ac(0xdb)]=0x1;[_0x25b3ac(0xb9)];[_0x25b3ac(0xa2)];[_0x25b3ac(0xcb)]=!0x0;constructor(_0x550ea6,_0x45ceed){const _0x582c27=_0x25b3ac;super(_0x550ea6),this[_0x582c27(0xb9)]=_0x45ceed||[...ACTIONS],this[_0x582c27(0xa2)]=[...this[_0x582c27(0xb9)]];const _0x5a38ae=this[_0x582c27(0xa8)];this[_0x582c27(0xed)](_0x582c27(0x93),!0x0),this[_0x582c27(0xed)](_0x582c27(0xb8),!0x0),this[_0x582c27(0xf2)]=new _0x5cd733({'label':wn(_0x582c27(0xb4),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0x45b065,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xb4)}),this[_0x582c27(0xe4)]=new _0x5cd733({'label':wn(_0x582c27(0xc9),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0x191e1d,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xc9)}),this[_0x582c27(0xc1)]=new _0x5cd733({'label':wn(_0x582c27(0xd9),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0xfea4a1,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xd9)}),this[_0x582c27(0xc2)]=this[_0x582c27(0xa5)](_0x550ea6),this[_0x582c27(0xe6)]=this[_0x582c27(0xd6)]([this[_0x582c27(0xc2)]]),this[_0x582c27(0xc6)]({'tag':_0x582c27(0x9a),'attributes':{'class':['ck',_0x582c27(0xee),_0x5a38ae['if'](_0x582c27(0xb8),_0x582c27(0xd0),_0x2dded9=>!_0x2dded9)]},'children':this[_0x582c27(0xe6)]}),this[_0x582c27(0xd1)](this,_0x582c27(0xb5),()=>{const _0x186ef4=_0x582c27;this[_0x186ef4(0xa2)]=this[_0x186ef4(0x9d)]?this[_0x186ef4(0xb9)][_0x186ef4(0xbf)](_0x29f5c3=>_0x186ef4(0xb4)!==_0x29f5c3):[...this[_0x186ef4(0xb9)]],this[_0x186ef4(0x9c)](_0x550ea6);});}[_0x25b3ac(0x9c)](_0x22d968){const _0x5d5af1=_0x25b3ac;this[_0x5d5af1(0xe6)][_0x5d5af1(0xb7)](this[_0x5d5af1(0xc2)])&&(this[_0x5d5af1(0xe6)][_0x5d5af1(0xe2)](this[_0x5d5af1(0xc2)]),this[_0x5d5af1(0xc2)][_0x5d5af1(0xbe)]()),0x0!=this[_0x5d5af1(0xa2)][_0x5d5af1(0xf1)]&&(this[_0x5d5af1(0xc2)]=this[_0x5d5af1(0xa5)](_0x22d968),this[_0x5d5af1(0xe6)][_0x5d5af1(0xcf)](this[_0x5d5af1(0xc2)]));}[_0x25b3ac(0xa5)](_0x2c24b4){const _0x1607da=_0x25b3ac,_0x27efbe=0x1===this[_0x1607da(0xa2)][_0x1607da(0xf1)]?this[_0x1607da(0xaa)](_0x2c24b4):this[_0x1607da(0x97)](_0x2c24b4),_0x5ea510=this[_0x1607da(0xcb)]?'':_0x1607da(0xcd);_0x27efbe[_0x1607da(0xed)]({'label':wn(this[_0x1607da(0xa2)][0x0],_0x2c24b4,this[_0x1607da(0xdb)]),'tooltip':dn(this[_0x1607da(0xa2)][0x0],_0x2c24b4,this[_0x1607da(0xdb)]),'withText':!0x0,'class':_0x1607da(0xab)+_0x5ea510});for(const _0x7224ea of this[_0x1607da(0xa2)])_0x27efbe['on'](_0x7224ea,()=>{const _0x568816=_0x1607da;this[_0x568816(0xca)](_0x7224ea);});return this[_0x1607da(0xcb)]=!0x1,_0x27efbe;}[_0x25b3ac(0xaa)](_0x425825){const _0x599445=_0x25b3ac,_0x8cab15=new _0xd447f9(_0x425825);return _0x8cab15[_0x599445(0xed)]({'class':_0x599445(0xda),'withText':!0x0}),_0x8cab15['on'](_0x599445(0xb2),()=>{const _0x203f15=_0x599445;_0x8cab15[_0x203f15(0xca)](this[_0x203f15(0xa2)][0x0]);}),_0x8cab15;}[_0x25b3ac(0x97)](_0x3d3f0e){const _0x35a86b=_0x25b3ac,_0x2ce272=new pn(_0x3d3f0e,{'listItemModels':this[_0x35a86b(0xa2)][_0x35a86b(0xb1)](_0x5bd3f9=>{const _0x264c42=_0x35a86b;switch(_0x5bd3f9){case _0x264c42(0xb4):return this[_0x264c42(0xf2)];case _0x264c42(0xc9):return this[_0x264c42(0xe4)];case _0x264c42(0xd9):return this[_0x264c42(0xc1)];}})});return _0x2ce272[_0x35a86b(0xed)]({'label':wn(this[_0x35a86b(0xa2)][0x0],_0x3d3f0e,this[_0x35a86b(0xdb)]),'tooltip':dn(this[_0x35a86b(0xa2)][0x0],_0x3d3f0e,this[_0x35a86b(0xdb)]),'withText':!0x0,'class':_0x35a86b(0xee),'balloonPanelClass':_0x35a86b(0x9e)}),_0x2ce272[_0x35a86b(0xb3)](_0x35a86b(0x93))['to'](this),_0x2ce272;}[_0x25b3ac(0xeb)](_0x3d23db){const _0x4bb793=_0x25b3ac,_0x45d3ed=this[_0x4bb793(0x99)];this[_0x4bb793(0xdb)]=_0x3d23db||this[_0x4bb793(0xdb)],this[_0x4bb793(0xc2)][_0x4bb793(0xed)]({'label':wn(this[_0x4bb793(0xa2)][0x0],_0x45d3ed,this[_0x4bb793(0xdb)]),'tooltip':dn(this[_0x4bb793(0xa2)][0x0],_0x45d3ed,this[_0x4bb793(0xdb)])}),this[_0x4bb793(0xf2)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xb4),_0x45d3ed,this[_0x4bb793(0xdb)]),this[_0x4bb793(0xe4)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xc9),_0x45d3ed,this[_0x4bb793(0xdb)]),this[_0x4bb793(0xc1)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xd9),_0x45d3ed,this[_0x4bb793(0xdb)]);}}class pn extends _0x198103{[_0x25b3ac(0xef)];[_0x25b3ac(0xcc)];[_0x25b3ac(0xa1)];[_0x25b3ac(0xa3)];constructor(_0x1b597a,_0x2025ce){const _0x1b7c50=_0x25b3ac;super(_0x1b597a),this[_0x1b7c50(0xcc)]=new _0x38b112(this[_0x1b7c50(0x99)]),this[_0x1b7c50(0xef)]=new _0x58330d(this[_0x1b7c50(0x99)]),this[_0x1b7c50(0xef)][_0x1b7c50(0xbd)](),this[_0x1b7c50(0xed)](_0x1b7c50(0xd4),''),this[_0x1b7c50(0xcc)][_0x1b7c50(0xb3)](_0x1b7c50(0xe5))['to'](this,_0x1b7c50(0xd4)),this[_0x1b7c50(0xa1)]=this[_0x1b7c50(0x95)](_0x2025ce[_0x1b7c50(0xde)][_0x1b7c50(0xd8)](0x1)),this[_0x1b7c50(0xef)][_0x1b7c50(0xcf)](this[_0x1b7c50(0xcc)]),this[_0x1b7c50(0xcc)][_0x1b7c50(0xd2)][_0x1b7c50(0xcf)](this[_0x1b7c50(0xa1)]),this[_0x1b7c50(0x96)][_0x1b7c50(0xa9)](_0x1b7c50(0xea)),this[_0x1b7c50(0x96)][_0x1b7c50(0xed)](_0x1b7c50(0xea),_0x43cd6a(this[_0x1b7c50(0x99)],_0x1b7c50(0xa4))),this[_0x1b7c50(0xa7)](),this['on'](_0x1b7c50(0xb2),()=>{const _0x83c237=_0x1b7c50,_0x300b99=_0x2025ce[_0x83c237(0xde)][0x0][_0x83c237(0xe9)];this[_0x83c237(0xca)](_0x300b99),this[_0x83c237(0xcc)][_0x83c237(0xdc)](),this[_0x83c237(0x96)][_0x83c237(0x98)]();}),this['on'](_0x1b7c50(0xc3),()=>{const _0x4397aa=_0x1b7c50;this[_0x4397aa(0xcc)][_0x4397aa(0xb8)]?(this[_0x4397aa(0xcc)][_0x4397aa(0xdc)](),this[_0x4397aa(0x96)][_0x4397aa(0x98)]()):(this[_0x4397aa(0xcc)][_0x4397aa(0xc0)]({'target':this[_0x4397aa(0xc4)],'positions':[_0x4397aa(0xae)===this[_0x4397aa(0x99)][_0x4397aa(0xac)]?In:Sn]}),this[_0x4397aa(0xa1)][_0x4397aa(0x98)]());}),_0x478e3f({'emitter':this[_0x1b7c50(0xcc)],'callback':()=>{const _0x43faa4=_0x1b7c50;this[_0x43faa4(0xcc)][_0x43faa4(0xdc)]();},'activator':()=>this[_0x1b7c50(0xcc)][_0x1b7c50(0xb8)],'contextElements':()=>[this[_0x1b7c50(0xc4)],this[_0x1b7c50(0xcc)][_0x1b7c50(0xc4)]]});}[_0x25b3ac(0x95)](_0x3c37dd){const _0xfa1a1=_0x25b3ac,_0x2e027c=this[_0xfa1a1(0x99)],_0x3e9b20=new _0x21743d(_0x2e027c);for(const _0x2386f1 of _0x3c37dd){const _0x1e20f6=new _0x4ee7b3(_0x2e027c),_0x557d91=new _0x4675e8(_0x2e027c);_0x557d91[_0xfa1a1(0xb3)](...Object[_0xfa1a1(0xba)](_0x2386f1))['to'](_0x2386f1),_0x557d91[_0xfa1a1(0x9b)](_0xfa1a1(0xb2))['to'](_0x3e9b20),_0x1e20f6[_0xfa1a1(0xe6)][_0xfa1a1(0xcf)](_0x557d91),_0x3e9b20[_0xfa1a1(0xad)][_0xfa1a1(0xcf)](_0x1e20f6);}return _0x3e9b20[_0xfa1a1(0xad)][_0xfa1a1(0x9b)](_0xfa1a1(0xb2))['to'](this),_0x3e9b20['on'](_0xfa1a1(0xb2),_0x474fb2=>{const _0x14a708=_0xfa1a1,_0x1761ef=_0x474fb2[_0x14a708(0xd3)];this[_0x14a708(0xca)](_0x1761ef[_0x14a708(0xe9)]),this[_0x14a708(0xcc)][_0x14a708(0xdc)](),this[_0x14a708(0x96)][_0x14a708(0x98)]();}),_0x3e9b20;}[_0x25b3ac(0xa7)](){const _0x50bca5=_0x25b3ac;this[_0x50bca5(0xa3)]=new _0x16352a(),this[_0x50bca5(0xa3)][_0x50bca5(0xd1)](this[_0x50bca5(0xcc)][_0x50bca5(0xc4)]),this[_0x50bca5(0xa3)][_0x50bca5(0xed)](_0x50bca5(0xc7),(_0x22acd9,_0x164e44)=>{const _0x23cacd=_0x50bca5;this[_0x23cacd(0xcc)][_0x23cacd(0xdc)](),this[_0x23cacd(0x96)][_0x23cacd(0x98)](),_0x164e44();});}[_0x25b3ac(0xbe)](){const _0x46d80a=_0x25b3ac;super[_0x46d80a(0xbe)](),this[_0x46d80a(0xa3)][_0x46d80a(0xbe)](),this[_0x46d80a(0xcc)][_0x46d80a(0xbe)](),this[_0x46d80a(0xef)][_0x46d80a(0xa0)]();}}function _0x53a6(_0x3c651a,_0x4947f8){const _0x221466=_0x2214();return _0x53a6=function(_0x53a610,_0x45f2e7){_0x53a610=_0x53a610-0x93;let _0x4df023=_0x221466[_0x53a610];return _0x4df023;},_0x53a6(_0x3c651a,_0x4947f8);}function In(_0x2f31e1){const _0x3e0aaf=_0x25b3ac;return{'top':_0x2f31e1[_0x3e0aaf(0xd5)],'left':_0x2f31e1[_0x3e0aaf(0xa6)],'name':_0x3e0aaf(0xc5),'config':{'withArrow':!0x1}};}function Sn(_0x290572,_0x367c23){const _0x2b40f4=_0x25b3ac;return{'top':_0x290572[_0x2b40f4(0xd5)],'left':_0x290572[_0x2b40f4(0xa6)]-(_0x367c23[_0x2b40f4(0xe0)]-_0x290572[_0x2b40f4(0xe0)]),'name':_0x2b40f4(0xc5),'config':{'withArrow':!0x1}};}function wn(_0x196313,_0x437187,_0x46ac6f){const _0x50c4d7=_0x25b3ac;switch(_0x196313){case _0x50c4d7(0xb4):return _0x43cd6a(_0x437187,_0x50c4d7(0xce),_0x46ac6f);case _0x50c4d7(0xc9):return _0x43cd6a(_0x437187,_0x50c4d7(0xaf),_0x46ac6f);case _0x50c4d7(0xd9):return _0x43cd6a(_0x437187,_0x50c4d7(0xd7),_0x46ac6f);}}function dn(_0x5ae9f1,_0x1d9e94,_0x529675){const _0x164ba5=_0x25b3ac;switch(_0x5ae9f1){case _0x164ba5(0xb4):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xbc),_0x529675);case _0x164ba5(0xc9):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xf0),_0x529675);case _0x164ba5(0xd9):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xec),_0x529675);}}function _0x2214(){const _0x1e5b24=['actionName','tooltip','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','set','ck-ai-chat__feed__ai-suggestion__actions','bodyCollection','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','length','applySuggestionModel','isEnabled','3851904PoHion','_setUpList','arrowView','_createActionsDropdown','focus','locale','div','delegate','_updateDropdownActions','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions__balloon','460623ZKYbBI','detachFromDom','listView','_dropdownCurrentConfig','keystrokeHandler','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_createActionsDropdownOrButton','left','_setUpKeystrokes','bindTemplate','unbind','_createActionsButton','ck-ai-chat__feed__ai-suggestion__actions\x20','uiLanguageDirection','items','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','button','map','execute','bind','applySuggestion','change:isTrackChangesOn','7230sbsiDp','has','isVisible','_dropdownOriginalConfig','keys','1416720zEAter','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','attachToDom','destroy','filter','pin','insertSuggestionModel','actionsButton','open','element','arrowless','setTemplate','esc','624988hzsmGd','showChangeInText','fire','_firstRender','balloonPanelView','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','add','ck-hidden','listenTo','content','source','balloonPanelClass','bottom','createCollection','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','slice','insertSuggestion','ck-ai-button-primary','_partsCount','hide','1256ayFhho','listItemModels','2575048fESRKv','width','797880mGtdia','remove','label','showChangeInTextModel','class','children','2vxUhMQ','144GLcJUS'];_0x2214=function(){return _0x1e5b24;};return _0x2214();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x264ee1=_0x4436;(function(_0x41dbfc,_0x41766c){var _0x3ec906=_0x4436,_0x1f0d96=_0x41dbfc();while(!![]){try{var _0x1c19a7=-parseInt(_0x3ec906(0x97))/0x1+-parseInt(_0x3ec906(0x98))/0x2*(-parseInt(_0x3ec906(0x9d))/0x3)+-parseInt(_0x3ec906(0x9b))/0x4+-parseInt(_0x3ec906(0xb1))/0x5*(parseInt(_0x3ec906(0xc2))/0x6)+-parseInt(_0x3ec906(0xa4))/0x7*(-parseInt(_0x3ec906(0xba))/0x8)+parseInt(_0x3ec906(0xaf))/0x9+-parseInt(_0x3ec906(0xc3))/0xa*(-parseInt(_0x3ec906(0xbd))/0xb);if(_0x1c19a7===_0x41766c)break;else _0x1f0d96['push'](_0x1f0d96['shift']());}catch(_0x116fca){_0x1f0d96['push'](_0x1f0d96['shift']());}}}(_0x3f9c,0x635fc));import{AIChatFeedItemView as _0x4eddc4}from'./aichatfeeditemview.js';function _0x4436(_0x41f8d8,_0x5c6434){var _0x3f9c22=_0x3f9c();return _0x4436=function(_0x44367f,_0x18d1ce){_0x44367f=_0x44367f-0x97;var _0xc22493=_0x3f9c22[_0x44367f];return _0xc22493;},_0x4436(_0x41f8d8,_0x5c6434);}function _0x3f9c(){var _0x3161c3=['actionsView','ck-ai-chat__feed__ai-suggestion','332899brZMqe','areActionsDisabled','updatePartState','showChangeInText','updateContent','markAsDone','options','mouseOverSuggestion','partsCount','insertSuggestion','updateLabels','6421500itgQcc','hasPendingParts','5mIvSdL','like','bind','isEnabled','hasNonEmptyParts','getPartView','mouseLeaveSuggestion','isTrackChangesOn','fire','96GiagYa','addMany','showDiff','231MIHTuq','rejectSuggestion','applySuggestion','dislike','containerView','4776198GggRhq','103810UWBltB','52001VjSILc','2HxvIzj','extendTemplate','dropdownConfig','3244136QsdEQf','toggleSuggestionDisplayMode','1691757vbEcNm','isVisible','updateSources','children','bodyView'];_0x3f9c=function(){return _0x3161c3;};return _0x3f9c();}import{AISuggestionContainerView as _0x95975d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x234123}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x4eddc4{[_0x264ee1(0xc1)];[_0x264ee1(0xa2)];constructor(_0x45e5df,_0xfb066c){var _0x56d89f=_0x264ee1;super(_0xfb066c),this[_0x56d89f(0xc1)]=new _0x95975d(_0x45e5df,{'showDiff':_0xfb066c[_0x56d89f(0xbc)],'areActionsDisabled':_0xfb066c[_0x56d89f(0xa5)]}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0x9c),(_0xa43f58,_0x47aab3)=>{var _0x1888e5=_0x56d89f;this[_0x1888e5(0xb9)](_0x1888e5(0x9c),{'replyId':this[_0x1888e5(0xaa)]['id'],'showDiff':_0x47aab3[_0x1888e5(0xbc)]});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xb2),()=>{var _0x4b0362=_0x56d89f;this[_0x4b0362(0xb9)](_0x4b0362(0xb2),{'replyId':this[_0x4b0362(0xaa)]['id']});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xc0),()=>{var _0x58a820=_0x56d89f;this[_0x58a820(0xb9)](_0x58a820(0xc0),{'replyId':this[_0x58a820(0xaa)]['id']});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xa7),(_0xba71f6,{index:_0x5b0b8f})=>{var _0x3d502d=_0x56d89f;this[_0x3d502d(0xb9)](_0x3d502d(0xa7),{'replyId':this[_0x3d502d(0xaa)]['id'],'partIndex':_0x5b0b8f});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xad),(_0x473b8c,{index:_0x4725e2})=>{var _0x285db7=_0x56d89f;this[_0x285db7(0xb9)](_0x285db7(0xad),{'replyId':this[_0x285db7(0xaa)]['id'],'partIndex':_0x4725e2});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xbe),(_0x558b3e,{index:_0x322c81})=>{var _0x85caba=_0x56d89f;this[_0x85caba(0xb9)](_0x85caba(0xbe),{'replyId':this[_0x85caba(0xaa)]['id'],'partIndex':_0x322c81});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xab),(_0x29c881,{index:_0x151094})=>{var _0x427980=_0x56d89f;this[_0x427980(0xb9)](_0x427980(0xab),{'replyId':this[_0x427980(0xaa)]['id'],'partIndex':_0x151094});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xb7),(_0x1d16d0,{index:_0x4c2770})=>{var _0x29e125=_0x56d89f;this[_0x29e125(0xb9)](_0x29e125(0xb7),{'replyId':this[_0x29e125(0xaa)]['id'],'partIndex':_0x4c2770});}),this[_0x56d89f(0xa2)]=new _0x234123(_0x45e5df,this[_0x56d89f(0xaa)][_0x56d89f(0x9a)]),this[_0x56d89f(0xa2)][_0x56d89f(0xb3)](_0x56d89f(0xb8))['to'](this,_0x56d89f(0xb8)),this[_0x56d89f(0xa2)]['on'](_0x56d89f(0xa7),()=>{var _0x44ec6e=_0x56d89f;this[_0x44ec6e(0xb9)](_0x44ec6e(0xa7),{'replyId':this[_0x44ec6e(0xaa)]['id']});}),this[_0x56d89f(0xa2)]['on'](_0x56d89f(0xad),()=>{var _0xb31fd7=_0x56d89f;this[_0xb31fd7(0xb9)](_0xb31fd7(0xad),{'replyId':this[_0xb31fd7(0xaa)]['id']});}),this[_0x56d89f(0xa2)]['on'](_0x56d89f(0xbf),()=>{var _0x35215d=_0x56d89f;this[_0x35215d(0xb9)](_0x35215d(0xbf),{'replyId':this[_0x35215d(0xaa)]['id']});}),_0xfb066c[_0x56d89f(0xa5)]?this[_0x56d89f(0xa2)][_0x56d89f(0xb4)]=!0x1:this[_0x56d89f(0xa2)][_0x56d89f(0xb3)](_0x56d89f(0xb4))['to'](this[_0x56d89f(0xc1)][_0x56d89f(0xa1)],_0x56d89f(0xb0)),this[_0x56d89f(0xa0)][_0x56d89f(0xbb)]([this[_0x56d89f(0xc1)],this[_0x56d89f(0xa2)]]),this[_0x56d89f(0x99)]({'attributes':{'class':[_0x56d89f(0xa3)]}});}async[_0x264ee1(0xa8)](_0x54bbd5){var _0x4197d2=_0x264ee1;await this[_0x4197d2(0xc1)][_0x4197d2(0xa8)](_0x54bbd5),this[_0x4197d2(0xa2)][_0x4197d2(0xae)](this[_0x4197d2(0xc1)][_0x4197d2(0xa1)][_0x4197d2(0xac)]);}[_0x264ee1(0xa6)](_0x2c7c77,_0xffd14e){var _0x22b792=_0x264ee1;this[_0x22b792(0xc1)][_0x22b792(0xa1)][_0x22b792(0xa6)](_0x2c7c77,_0xffd14e);}[_0x264ee1(0x9f)](_0x394e74){var _0x2a0eff=_0x264ee1;this[_0x2a0eff(0xc1)][_0x2a0eff(0x9f)](_0x394e74);}[_0x264ee1(0xb6)](_0x39cf81){var _0x1182ef=_0x264ee1;return this[_0x1182ef(0xc1)][_0x1182ef(0xa1)][_0x1182ef(0xb6)](_0x39cf81);}[_0x264ee1(0xa9)](){var _0x3b939c=_0x264ee1;super[_0x3b939c(0xa9)](),this[_0x3b939c(0xc1)][_0x3b939c(0xa9)](),this[_0x3b939c(0xa2)][_0x3b939c(0x9e)]=this[_0x3b939c(0xc1)][_0x3b939c(0xa1)][_0x3b939c(0xb5)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x384ed8=_0x2883;function _0x26ed(){var _0x57d3dc=['210857DGFnaS','113628jMRnuO','6636839xUtLjU','setTemplate','_createMessageContentView','length','2548685fnVobm','4fucrJm','add','extendTemplate','_contextChipsView','markAsDone','filter','ck-ai-chat__feed__message-content','_locale','ck-ai-chat__feed__user-message','_createContextChipsView','contextItems','5510320QedJFT','div','render','684RUzNzu','hidden','ck-ai-chat__feed__context-chips','children','696OYDKKR','21wYUCCZ','39393ZjeVXr','_bodyCollection','innerHTML','_messageContentView','initialContent','element','12687DnlNzz','options'];_0x26ed=function(){return _0x57d3dc;};return _0x26ed();}(function(_0x58f3bf,_0x4815a3){var _0x13a3dc=_0x2883,_0x5ebf33=_0x58f3bf();while(!![]){try{var _0x46953b=-parseInt(_0x13a3dc(0xe9))/0x1*(parseInt(_0x13a3dc(0xf0))/0x2)+parseInt(_0x13a3dc(0xe7))/0x3*(parseInt(_0x13a3dc(0xdb))/0x4)+parseInt(_0x13a3dc(0xef))/0x5+-parseInt(_0x13a3dc(0xea))/0x6*(-parseInt(_0x13a3dc(0xe0))/0x7)+-parseInt(_0x13a3dc(0xdf))/0x8*(parseInt(_0x13a3dc(0xe1))/0x9)+parseInt(_0x13a3dc(0xd8))/0xa+-parseInt(_0x13a3dc(0xeb))/0xb;if(_0x46953b===_0x4815a3)break;else _0x5ebf33['push'](_0x5ebf33['shift']());}catch(_0x11be27){_0x5ebf33['push'](_0x5ebf33['shift']());}}}(_0x26ed,0x6a2c0));import{AIChatFeedItemView as _0x2cb9a6}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x315eb7}from'./aichatfeedcontextchipsview.js';function _0x2883(_0x535abf,_0xeded95){var _0x26edca=_0x26ed();return _0x2883=function(_0x2883be,_0x4306b8){_0x2883be=_0x2883be-0xce;var _0x397699=_0x26edca[_0x2883be];return _0x397699;},_0x2883(_0x535abf,_0xeded95);}import{View as _0x37dbbd}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x2cb9a6{[_0x384ed8(0xd0)]=null;[_0x384ed8(0xd4)];[_0x384ed8(0xe2)];[_0x384ed8(0xe4)];constructor(_0x2e222a,_0x1ba93d,_0x40146b){var _0x5e1d56=_0x384ed8;super(_0x1ba93d),this[_0x5e1d56(0xd4)]=_0x2e222a,this[_0x5e1d56(0xe2)]=_0x40146b,this[_0x5e1d56(0xd6)](),this[_0x5e1d56(0xed)](),this[_0x5e1d56(0xcf)]({'attributes':{'class':[_0x5e1d56(0xd5)]}});}[_0x384ed8(0xd6)](){var _0x47a28b=_0x384ed8;this[_0x47a28b(0xe8)][_0x47a28b(0xd7)]&&this[_0x47a28b(0xe8)][_0x47a28b(0xd7)][_0x47a28b(0xee)]>0x0&&(this[_0x47a28b(0xd0)]=new _0x315eb7(this[_0x47a28b(0xd4)],this[_0x47a28b(0xe8)][_0x47a28b(0xd7)][_0x47a28b(0xd2)](_0x5ed332=>!_0x5ed332[_0x47a28b(0xdc)]),this[_0x47a28b(0xe2)]),this[_0x47a28b(0xd0)][_0x47a28b(0xcf)]({'attributes':{'class':_0x47a28b(0xdd)}}),this[_0x47a28b(0xde)][_0x47a28b(0xce)](this[_0x47a28b(0xd0)]));}[_0x384ed8(0xed)](){var _0x521875=_0x384ed8;this[_0x521875(0xe4)]=new _0x37dbbd(this[_0x521875(0xd4)]),this[_0x521875(0xe4)][_0x521875(0xec)]({'tag':_0x521875(0xd9),'attributes':{'class':_0x521875(0xd3)}}),this[_0x521875(0xde)][_0x521875(0xce)](this[_0x521875(0xe4)]);}[_0x384ed8(0xda)](){var _0x2c8109=_0x384ed8;super[_0x2c8109(0xda)](),this[_0x2c8109(0xe4)][_0x2c8109(0xe6)][_0x2c8109(0xe3)]=this[_0x2c8109(0xe8)][_0x2c8109(0xe5)],this[_0x2c8109(0xd1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x448743=_0x10b6;function _0x4ddd(){const _0x1b1656=['508792DaENHo','63LcwzzA','toggleWebSearch','sendUserMessage','334164FRAlYY','addFileToContext','3965670XQTRBd','removeContextItem','loadSourceResources','selectModel','403407dTnBIr','startConversation','toggleReasoning','27AYxEtC','370542bXuCjg','42BEIhDV','1116McyVpw','addUrlToContext','15jkrRWL','addResourceToContext','abortPromptStream','8114370NVwYmq','addDocumentToContext','resizeTabs'];_0x4ddd=function(){return _0x1b1656;};return _0x4ddd();}(function(_0x262b52,_0xfd20d7){const _0x549a19=_0x10b6,_0x7d226b=_0x262b52();while(!![]){try{const _0x4f3f9f=parseInt(_0x549a19(0x7b))/0x1+parseInt(_0x549a19(0x81))/0x2*(-parseInt(_0x549a19(0x7e))/0x3)+parseInt(_0x549a19(0x8d))/0x4*(parseInt(_0x549a19(0x83))/0x5)+-parseInt(_0x549a19(0x7f))/0x6*(-parseInt(_0x549a19(0x80))/0x7)+-parseInt(_0x549a19(0x89))/0x8*(-parseInt(_0x549a19(0x8a))/0x9)+-parseInt(_0x549a19(0x8f))/0xa+-parseInt(_0x549a19(0x86))/0xb;if(_0x4f3f9f===_0xfd20d7)break;else _0x7d226b['push'](_0x7d226b['shift']());}catch(_0x34809c){_0x7d226b['push'](_0x7d226b['shift']());}}}(_0x4ddd,0x50b0a));function _0x10b6(_0x572f8,_0x2d2f25){const _0x4ddd09=_0x4ddd();return _0x10b6=function(_0x10b64b,_0xd37645){_0x10b64b=_0x10b64b-0x7b;let _0xa053af=_0x4ddd09[_0x10b64b];return _0xa053af;},_0x10b6(_0x572f8,_0x2d2f25);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x26971c}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x26971c,_0x448743(0x7c),_0x448743(0x88),_0x448743(0x8c),_0x448743(0x85),_0x448743(0x87),_0x448743(0x8e),_0x448743(0x82),_0x448743(0x84),_0x448743(0x90),_0x448743(0x91),_0x448743(0x8b),_0x448743(0x7d),_0x448743(0x92)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x317c1c=_0x37f0;(function(_0xd20592,_0xe4c13){const _0x596797=_0x37f0,_0x39090f=_0xd20592();while(!![]){try{const _0x3e8d5d=-parseInt(_0x596797(0x18d))/0x1+-parseInt(_0x596797(0x195))/0x2+-parseInt(_0x596797(0x18f))/0x3+-parseInt(_0x596797(0x19e))/0x4*(parseInt(_0x596797(0x192))/0x5)+-parseInt(_0x596797(0x190))/0x6+-parseInt(_0x596797(0x188))/0x7*(-parseInt(_0x596797(0x191))/0x8)+parseInt(_0x596797(0x1a3))/0x9;if(_0x3e8d5d===_0xe4c13)break;else _0x39090f['push'](_0x39090f['shift']());}catch(_0x19565a){_0x39090f['push'](_0x39090f['shift']());}}}(_0x3df1,0xf017a));function _0x3df1(){const _0x25ca30=['496chaQqA','1055eluLEG','abort','signal','2558222VlUyHg','_queueEmpty','push','_processQueue','queueEmptyPromise','createTask','callback','_abortController','fire','36468tudeFR','once','length','enqueue','queue','66190617orrZkg','72429qFTCoj','isProcessing','shift','completePromise','resolve','1127755KCjCKg','reject','3627609bGXLXz','8837118YnGUFI'];_0x3df1=function(){return _0x25ca30;};return _0x3df1();}function _0x37f0(_0x534dad,_0x2c25c6){const _0x3df14c=_0x3df1();return _0x37f0=function(_0x37f0b1,_0x41722e){_0x37f0b1=_0x37f0b1-0x188;let _0x2bb107=_0x3df14c[_0x37f0b1];return _0x2bb107;},_0x37f0(_0x534dad,_0x2c25c6);}import{EmitterMixin as _0x30bce3}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x30bce3(){[_0x317c1c(0x1a2)]=[];[_0x317c1c(0x189)]=!0x1;[_0x317c1c(0x19c)];async[_0x317c1c(0x1a1)](_0xc69fae){const _0x3e7404=_0x317c1c,_0x909f3e=this[_0x3e7404(0x19a)](_0xc69fae);return this[_0x3e7404(0x1a2)][_0x3e7404(0x197)](_0x909f3e),this[_0x3e7404(0x198)](),_0x909f3e[_0x3e7404(0x18b)];}[_0x317c1c(0x193)](){const _0x495457=_0x317c1c;this[_0x495457(0x189)]&&(this[_0x495457(0x19c)][_0x495457(0x193)](),this[_0x495457(0x19c)]=void 0x0,this[_0x495457(0x1a2)]=[],this[_0x495457(0x19d)](_0x495457(0x196)),this[_0x495457(0x189)]=!0x1);}get[_0x317c1c(0x199)](){const _0x462b2d=_0x317c1c;return this[_0x462b2d(0x1a2)][_0x462b2d(0x1a0)]||this[_0x462b2d(0x189)]?new Promise(_0x6d1fb2=>{const _0x16df83=_0x462b2d;this[_0x16df83(0x19f)](_0x16df83(0x196),()=>{_0x6d1fb2();});}):Promise[_0x462b2d(0x18c)]();}async[_0x317c1c(0x198)](){const _0x599454=_0x317c1c;if(!this[_0x599454(0x189)]){this[_0x599454(0x19c)]=new AbortController(),this[_0x599454(0x189)]=!0x0;try{for(;this[_0x599454(0x1a2)][_0x599454(0x1a0)]&&this[_0x599454(0x189)];){const _0x42f84e=this[_0x599454(0x1a2)][_0x599454(0x18a)]();try{await _0x42f84e[_0x599454(0x19b)](this[_0x599454(0x19c)][_0x599454(0x194)]),_0x42f84e[_0x599454(0x18c)]();}catch(_0x15a2f2){_0x42f84e[_0x599454(0x18e)](_0x15a2f2);}}}finally{this[_0x599454(0x189)]=!0x1,this[_0x599454(0x19c)]=void 0x0;}this[_0x599454(0x19d)](_0x599454(0x196));}}[_0x317c1c(0x19a)](_0x3f5f81){let _0x47e939,_0x5a3698;const _0x32641a=new Promise((_0x376e6c,_0x24509b)=>{_0x47e939=_0x376e6c,_0x5a3698=_0x24509b;});return{'callback':_0x3f5f81,'resolve':_0x47e939,'reject':_0x5a3698,'completePromise':_0x32641a};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54aadb=_0x2617;(function(_0x556f84,_0x2170cf){const _0x1e4747=_0x2617,_0x1434fc=_0x556f84();while(!![]){try{const _0x1974f8=parseInt(_0x1e4747(0x10d))/0x1+-parseInt(_0x1e4747(0xf4))/0x2*(-parseInt(_0x1e4747(0x104))/0x3)+-parseInt(_0x1e4747(0xfb))/0x4+parseInt(_0x1e4747(0x103))/0x5*(parseInt(_0x1e4747(0x113))/0x6)+parseInt(_0x1e4747(0xfa))/0x7+parseInt(_0x1e4747(0x10b))/0x8*(parseInt(_0x1e4747(0xf7))/0x9)+-parseInt(_0x1e4747(0x10c))/0xa;if(_0x1974f8===_0x2170cf)break;else _0x1434fc['push'](_0x1434fc['shift']());}catch(_0xdd4493){_0x1434fc['push'](_0x1434fc['shift']());}}}(_0x2c48,0x6ff77));function _0x2617(_0x1e0245,_0x35d30e){const _0x2c4855=_0x2c48();return _0x2617=function(_0x26178d,_0x10327c){_0x26178d=_0x26178d-0xf0;let _0x2eee8f=_0x2c4855[_0x26178d];return _0x2eee8f;},_0x2617(_0x1e0245,_0x35d30e);}const ls=[_0x54aadb(0x100),_0x54aadb(0x119),_0x54aadb(0x115),_0x54aadb(0x107)],ms=[_0x54aadb(0xf2),_0x54aadb(0xf0),_0x54aadb(0x102),_0x54aadb(0xf9),_0x54aadb(0xf8),_0x54aadb(0x109),'\x20'];function _0x2c48(){const _0x1b9d15=['88xqKnTw','13313060ZHsMJV','530181TOYXNS','key','animationFrameId','isRunning','auto','deltaY','6fcKGXw','scrollTo','pointerdown','element','isUserPaused','_stop','touchstart','signal','ArrowDown','bind','ArrowUp','destroy','696558NEAzbL','abort','abortController','92628UURpBA','Home','PageDown','2966649UiDWRy','3263664oCJGKV','addEventListener','scrollHeight','start','_onUserEvent','wheel','includes','PageUp','4210395mIdbQr','6FLtwZh','type','stop','keydown','_isAtBottom','End','_rafUpdate'];_0x2c48=function(){return _0x1b9d15;};return _0x2c48();}export class ScrollManager{[_0x54aadb(0x116)];[_0x54aadb(0x10f)];[_0x54aadb(0x110)];[_0x54aadb(0xf6)];[_0x54aadb(0x117)];constructor(_0x44d979){const _0x4c5e44=_0x54aadb;this[_0x4c5e44(0x116)]=_0x44d979,this[_0x4c5e44(0x10f)]=null,this[_0x4c5e44(0x110)]=!0x1,this[_0x4c5e44(0xf6)]=new AbortController(),this[_0x4c5e44(0x117)]=!0x1;for(const _0x2194f5 of ls){const _0x1a32a0=_0x4c5e44(0x107)!==_0x2194f5;this[_0x4c5e44(0x116)][_0x4c5e44(0xfc)](_0x2194f5,this[_0x4c5e44(0xff)][_0x4c5e44(0xf1)](this),{'passive':_0x1a32a0,'signal':this[_0x4c5e44(0xf6)][_0x4c5e44(0x11a)]});}}[_0x54aadb(0xfe)](){const _0x5435aa=_0x54aadb;this[_0x5435aa(0x110)]||(this[_0x5435aa(0x110)]=!0x0,this[_0x5435aa(0x117)]=!0x1,this[_0x5435aa(0x10f)]=requestAnimationFrame(this[_0x5435aa(0x10a)][_0x5435aa(0xf1)](this)));}[_0x54aadb(0x106)](){requestAnimationFrame(()=>{const _0x1ef9d4=_0x2617;this[_0x1ef9d4(0x118)]();});}[_0x54aadb(0xf3)](){const _0x5c108c=_0x54aadb;this[_0x5c108c(0x118)](),this[_0x5c108c(0xf6)][_0x5c108c(0xf5)]();}[_0x54aadb(0x118)](){const _0x384fc2=_0x54aadb;null!==this[_0x384fc2(0x10f)]&&(cancelAnimationFrame(this[_0x384fc2(0x10f)]),this[_0x384fc2(0x10f)]=null),this[_0x384fc2(0x110)]&&(this[_0x384fc2(0x110)]=!0x1),this[_0x384fc2(0x117)]=!0x1;}[_0x54aadb(0xff)](_0x4faafd){const _0x151b25=_0x54aadb;if(this[_0x151b25(0x110)]){if(_0x151b25(0x107)===_0x4faafd[_0x151b25(0x105)]){const _0x4b4db7=_0x4faafd[_0x151b25(0x10e)];if(!ms[_0x151b25(0x101)](_0x4b4db7))return;}_0x4faafd instanceof WheelEvent?_0x4faafd[_0x151b25(0x112)]<0x0?this[_0x151b25(0x117)]=!0x0:this[_0x151b25(0x117)]=!this[_0x151b25(0x108)]():this[_0x151b25(0x117)]=!0x0;}}[_0x54aadb(0x108)](){const _0x1cdf80=_0x54aadb,{scrollTop:_0x25e79a,scrollHeight:_0x45c6ce,clientHeight:_0x15648d}=this[_0x1cdf80(0x116)];return _0x45c6ce-_0x25e79a-_0x15648d<=0x5;}[_0x54aadb(0x10a)](){const _0x5ca553=_0x54aadb;this[_0x5ca553(0x110)]&&(this[_0x5ca553(0x117)]||this[_0x5ca553(0x116)][_0x5ca553(0x114)]({'top':this[_0x5ca553(0x116)][_0x5ca553(0xfd)],'behavior':_0x5ca553(0x111)}),this[_0x5ca553(0x10f)]=requestAnimationFrame(this[_0x5ca553(0x10a)][_0x5ca553(0xf1)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2eb8(){var _0x3d0a9b=['pluginName','941373wpWjxb','652190EiEBJZ','isPremiumPlugin','177315SgXTeC','requires','isOfficialPlugin','35461Oexujp','212120JELlZB','16vbKovA','1014419EElHEj','127077UmSagi','42mVctuI','14RpxRLf','AIChatHistory'];_0x2eb8=function(){return _0x3d0a9b;};return _0x2eb8();}var _0x11129c=_0x72ac;(function(_0x5b77dd,_0x53bb20){var _0x29cf2b=_0x72ac,_0x25f755=_0x5b77dd();while(!![]){try{var _0x488304=parseInt(_0x29cf2b(0xb7))/0x1*(-parseInt(_0x29cf2b(0xbd))/0x2)+-parseInt(_0x29cf2b(0xbb))/0x3+-parseInt(_0x29cf2b(0xb8))/0x4+-parseInt(_0x29cf2b(0xc3))/0x5*(-parseInt(_0x29cf2b(0xbc))/0x6)+parseInt(_0x29cf2b(0xba))/0x7*(parseInt(_0x29cf2b(0xb9))/0x8)+-parseInt(_0x29cf2b(0xc0))/0x9+parseInt(_0x29cf2b(0xc1))/0xa;if(_0x488304===_0x53bb20)break;else _0x25f755['push'](_0x25f755['shift']());}catch(_0x11175e){_0x25f755['push'](_0x25f755['shift']());}}}(_0x2eb8,0x25dc9));function _0x72ac(_0x322171,_0x23f77f){var _0x2eb802=_0x2eb8();return _0x72ac=function(_0x72ac5a,_0x20c549){_0x72ac5a=_0x72ac5a-0xb5;var _0x2b762c=_0x2eb802[_0x72ac5a];return _0x2b762c;},_0x72ac(_0x322171,_0x23f77f);}import{ContextPlugin as _0x3bb51f}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x5cd389}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x1f81bb}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3bb51f{static get[_0x11129c(0xb5)](){return[_0x5cd389,_0x1f81bb];}static get[_0x11129c(0xbf)](){var _0x1184d9=_0x11129c;return _0x1184d9(0xbe);}static get[_0x11129c(0xb6)](){return!0x0;}static get[_0x11129c(0xc2)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x26ff02=_0xefa6;(function(_0x47effa,_0x1dbf06){const _0x80e1c=_0xefa6,_0x1fbd2f=_0x47effa();while(!![]){try{const _0x5b9c64=-parseInt(_0x80e1c(0x180))/0x1+parseInt(_0x80e1c(0x146))/0x2+parseInt(_0x80e1c(0x18f))/0x3+-parseInt(_0x80e1c(0x173))/0x4*(-parseInt(_0x80e1c(0x179))/0x5)+parseInt(_0x80e1c(0x150))/0x6+parseInt(_0x80e1c(0x18d))/0x7+-parseInt(_0x80e1c(0x192))/0x8;if(_0x5b9c64===_0x1dbf06)break;else _0x1fbd2f['push'](_0x1fbd2f['shift']());}catch(_0x2052af){_0x1fbd2f['push'](_0x1fbd2f['shift']());}}}(_0x1642,0x97223));import{ContextPlugin as _0x465f46}from'ckeditor5/src/core.js';import{AIConnector as _0x31ed61}from'../aicore/aiconnector.js';import{AIChatController as _0x1332b7}from'../aichat/aichatcontroller.js';import{AITabs as _0x5dd48c}from'../aitabs/aitabs.js';function _0x1642(){const _0x9de2b6=['itemUpdated','AIChatHistoryController','rename','_setIsMaximized','AI_CHAT_HISTORY_UNPIN_ACTION','updateItems','getItem','setLoadingSkeleton','loadItems','_aiConnector','_updateHistoryItemsUI','removeHistoryItem','updateItemTitle','push','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','updates','length','view','pin','resize','operation','get','AI_CHAT_HISTORY_CATEGORY_TODAY','itemId','updateItemLoadingState','setConversationPinned','4dXbskk','resizeTabs','pluginName','setDate','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','1963690yfsYfH','items','_handleTogglePin','pinned','removeConversation','plugins','resizedTabs','735976RJUSRY','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','unpin','_handleHistoryErrorUI','activateTab','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','_showConversationHistory','itemsLoaded','getMonth','setIsMaximized','openChat','updateItemPinned','_aiChatHistoryUi','926604ikfPGD','handleRemovedConversation','3073641DWsAIh','_handleSelectConversation','itemRemoved','18514176vRLBLd','createdAt','_clearItemLoading','init','activateTab:history','_generateErrorMessage','chat','getDate','editConversationTitle','AI_CHAT_UNTITLED_CONVERSATION','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','remove','context','history','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','listenTo','AI_CHAT_HISTORY_CATEGORY_PINNED','removeItem','error','_aiChatController','AI_CHAT_HISTORY_CATEGORY_LATER','change:activeConversation','activeConversation','requires','2019056EIyWQP','locale','getItems','loadConversation','_handleRemove','isPremiumPlugin','isOfficialPlugin','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_ERROR_GENERIC','selectConversation','6660636BXTYaT','map','_getCategorizedItems','_setItemLoading','toLocaleDateString','getFullYear','title','showError','getGroupId'];_0x1642=function(){return _0x9de2b6;};return _0x1642();}import{AIChatHistoryUI as _0x550075}from'./aichathistoryui.js';function _0xefa6(_0x1d582c,_0x4fedb8){const _0x164298=_0x1642();return _0xefa6=function(_0xefa6e5,_0xfc1e71){_0xefa6e5=_0xefa6e5-0x146;let _0x25d033=_0x164298[_0xefa6e5];return _0x25d033;},_0xefa6(_0x1d582c,_0x4fedb8);}import{AIChatHistoryConversations as _0xebc9a1}from'./model/aichathistoryconversations.js';import{getTranslation as _0x6a4575}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x465f46{[_0x26ff02(0x162)];[_0x26ff02(0x18c)];[_0x26ff02(0x1a5)];static get[_0x26ff02(0x1a9)](){return[_0x31ed61,_0x1332b7,_0x550075,_0x5dd48c];}static get[_0x26ff02(0x175)](){const _0x35958b=_0x26ff02;return _0x35958b(0x15a);}static get[_0x26ff02(0x14c)](){return!0x0;}static get[_0x26ff02(0x14b)](){return!0x0;}[_0x26ff02(0x195)](){const _0x34492c=_0x26ff02;this[_0x34492c(0x162)]=this[_0x34492c(0x19e)][_0x34492c(0x17e)][_0x34492c(0x16e)](_0x31ed61),this[_0x34492c(0x18c)]=this[_0x34492c(0x19e)][_0x34492c(0x17e)][_0x34492c(0x16e)](_0x550075),this[_0x34492c(0x1a5)]=this[_0x34492c(0x19e)][_0x34492c(0x17e)][_0x34492c(0x16e)](_0x1332b7);const _0x38a1e8=this[_0x34492c(0x19e)][_0x34492c(0x17e)][_0x34492c(0x16e)](_0x5dd48c),_0x2a50f7=this[_0x34492c(0x1a5)][_0x34492c(0x158)]();this[_0x34492c(0x19f)]=new _0xebc9a1({'connector':this[_0x34492c(0x162)],'group':_0x2a50f7}),this[_0x34492c(0x1a1)](this[_0x34492c(0x18c)],_0x34492c(0x17d),(_0x2578f8,_0x49d1b4)=>{const _0x24e470=_0x34492c;this[_0x24e470(0x153)](_0x49d1b4['id'],_0x24e470(0x19d)),this[_0x24e470(0x14a)](_0x49d1b4['id']);}),this[_0x34492c(0x1a1)](this[_0x34492c(0x18c)],_0x34492c(0x19a),(_0x12a136,_0x1abee1)=>{const _0x2abc3d=_0x34492c;this[_0x2abc3d(0x153)](_0x1abee1['id'],_0x2abc3d(0x15b)),this[_0x2abc3d(0x177)](_0x1abee1['id'],_0x1abee1[_0x2abc3d(0x156)]);}),this[_0x34492c(0x1a1)](this[_0x34492c(0x19f)],_0x34492c(0x159),(_0x2e0272,_0x1a49e2)=>{const _0x16431a=_0x34492c;void 0x0!==_0x1a49e2[_0x16431a(0x168)][_0x16431a(0x156)]&&this[_0x16431a(0x18c)][_0x16431a(0x165)](_0x1a49e2[_0x16431a(0x170)],_0x1a49e2[_0x16431a(0x168)][_0x16431a(0x156)]),void 0x0!==_0x1a49e2[_0x16431a(0x168)][_0x16431a(0x17c)]&&this[_0x16431a(0x163)](),this[_0x16431a(0x194)](_0x1a49e2[_0x16431a(0x170)]);}),this[_0x34492c(0x1a1)](this[_0x34492c(0x19f)],_0x34492c(0x191),(_0x246934,_0x4edfe5)=>{const _0x41726e=_0x34492c;this[_0x41726e(0x1a5)][_0x41726e(0x18e)](_0x4edfe5[_0x41726e(0x170)]),this[_0x41726e(0x18c)][_0x41726e(0x164)](_0x4edfe5[_0x41726e(0x170)]),this[_0x41726e(0x194)](_0x4edfe5[_0x41726e(0x170)]);}),this[_0x34492c(0x1a1)](this[_0x34492c(0x19f)],_0x34492c(0x187),()=>{const _0x4bbf05=_0x34492c;this[_0x4bbf05(0x163)]();}),this[_0x34492c(0x1a1)](this[_0x34492c(0x19f)],_0x34492c(0x1a4),(_0x1aaf19,_0x56dab8)=>{const _0x47412c=_0x34492c;this[_0x47412c(0x183)](_0x56dab8[_0x47412c(0x1a4)],_0x56dab8[_0x47412c(0x16d)],_0x56dab8[_0x47412c(0x170)]);}),this[_0x34492c(0x1a1)](this[_0x34492c(0x18c)],_0x34492c(0x14f),(_0x124f0c,_0x1fd148)=>{const _0x8979df=_0x34492c;this[_0x8979df(0x190)](_0x1fd148['id']);}),this[_0x34492c(0x1a1)](this[_0x34492c(0x18c)],_0x34492c(0x172),(_0x3c43b9,_0x561613)=>{const _0x2a9102=_0x34492c,_0xee5a05=_0x561613[_0x2a9102(0x17c)]?_0x2a9102(0x16b):_0x2a9102(0x182);this[_0x2a9102(0x153)](_0x561613['id'],_0xee5a05),this[_0x2a9102(0x17b)](_0x561613['id'],_0x561613[_0x2a9102(0x17c)]);}),this[_0x34492c(0x1a1)](this[_0x34492c(0x18c)],_0x34492c(0x18a),()=>{const _0x244cde=_0x34492c;_0x38a1e8[_0x244cde(0x16a)][_0x244cde(0x184)](_0x244cde(0x198));}),this[_0x34492c(0x1a1)](this[_0x34492c(0x1a5)],_0x34492c(0x1a7),()=>{const _0x14fff8=_0x34492c;this[_0x14fff8(0x163)]();}),_0x38a1e8[_0x34492c(0x16a)]['on'](_0x34492c(0x196),()=>{const _0x519e26=_0x34492c;this[_0x519e26(0x186)]();}),this[_0x34492c(0x1a1)](_0x38a1e8,_0x34492c(0x17f),(_0x5cd596,_0x52ce83)=>{const _0x54c718=_0x34492c;this[_0x54c718(0x15c)](_0x52ce83);}),this[_0x34492c(0x1a1)](this[_0x34492c(0x18c)],_0x34492c(0x174),()=>{const _0xf74fb5=_0x34492c;_0x38a1e8[_0xf74fb5(0x16c)]();});}async[_0x26ff02(0x177)](_0x39a77a,_0x5cefa3){const _0x2d71f3=_0x26ff02;await this[_0x2d71f3(0x19f)][_0x2d71f3(0x165)](_0x39a77a,_0x5cefa3);}async[_0x26ff02(0x17b)](_0x51a546,_0x4d6f3b){const _0x58e057=_0x26ff02;await this[_0x58e057(0x19f)][_0x58e057(0x18b)](_0x51a546,_0x4d6f3b);}async[_0x26ff02(0x14a)](_0x431bc4){const _0x2e6be1=_0x26ff02;await this[_0x2e6be1(0x19f)][_0x2e6be1(0x1a3)](_0x431bc4);}async[_0x26ff02(0x190)](_0xc0a1e5){const _0x1e627c=_0x26ff02;await this[_0x1e627c(0x1a5)][_0x1e627c(0x149)](_0xc0a1e5);}async[_0x26ff02(0x186)](){const _0x1b94ac=_0x26ff02;this[_0x1b94ac(0x18c)][_0x1b94ac(0x157)](''),this[_0x1b94ac(0x18c)][_0x1b94ac(0x160)](!0x0),await this[_0x1b94ac(0x19f)][_0x1b94ac(0x195)](),this[_0x1b94ac(0x18c)][_0x1b94ac(0x160)](!0x1);}[_0x26ff02(0x163)](){const _0x10d13e=_0x26ff02,_0x541a46=this[_0x10d13e(0x1a5)][_0x10d13e(0x1a8)]?.['id'],_0x1f9838=this[_0x10d13e(0x152)]()[_0x10d13e(0x151)](_0x1e0548=>({'title':_0x1e0548[_0x10d13e(0x156)],'items':_0x1e0548[_0x10d13e(0x17a)][_0x10d13e(0x151)](_0x10bf0e=>({'id':_0x10bf0e['id'],'title':_0x10bf0e[_0x10d13e(0x156)]||_0x6a4575(this[_0x10d13e(0x19e)][_0x10d13e(0x147)],_0x10d13e(0x19b)),'createdAt':new Date(_0x10bf0e[_0x10d13e(0x193)])[_0x10d13e(0x154)](),'active':_0x10bf0e['id']===_0x541a46,'pinned':_0x10bf0e[_0x10d13e(0x17c)]}))}));this[_0x10d13e(0x18c)][_0x10d13e(0x15e)](_0x1f9838);}[_0x26ff02(0x153)](_0x25a3ec,_0x5ca4fe){const _0x1ed475=_0x26ff02;this[_0x1ed475(0x18c)][_0x1ed475(0x171)](_0x25a3ec,_0x5ca4fe,!0x0);}[_0x26ff02(0x194)](_0x5dc68f){const _0x4d3968=_0x26ff02;this[_0x4d3968(0x18c)][_0x4d3968(0x171)](_0x5dc68f,null,!0x1);}[_0x26ff02(0x183)](_0x5c31f6,_0x1d79ff,_0x7b2cab){const _0x451051=_0x26ff02,_0x34fcd2=this[_0x451051(0x197)](_0x1d79ff,_0x7b2cab);this[_0x451051(0x18c)][_0x451051(0x157)](_0x34fcd2),_0x7b2cab&&this[_0x451051(0x194)](_0x7b2cab),this[_0x451051(0x18c)][_0x451051(0x160)](!0x1);}[_0x26ff02(0x197)](_0x5e4d7e,_0x56b4d5){const _0xb2b71a=_0x26ff02,_0xf9dbcc=_0x56b4d5?this[_0xb2b71a(0x19f)][_0xb2b71a(0x15f)](_0x56b4d5):null,_0x40cbed=_0xf9dbcc?.[_0xb2b71a(0x156)]||_0x6a4575(this[_0xb2b71a(0x19e)][_0xb2b71a(0x147)],_0xb2b71a(0x19b));switch(_0x5e4d7e){case _0xb2b71a(0x165):return _0x6a4575(this[_0xb2b71a(0x19e)][_0xb2b71a(0x147)],_0xb2b71a(0x1a0),_0x40cbed);case _0xb2b71a(0x18b):{const _0x16ca61=_0x6a4575(this[_0xb2b71a(0x19e)][_0xb2b71a(0x147)],_0xf9dbcc?.[_0xb2b71a(0x17c)]?_0xb2b71a(0x15d):_0xb2b71a(0x14d));return _0x6a4575(this[_0xb2b71a(0x19e)][_0xb2b71a(0x147)],_0xb2b71a(0x167),[_0x16ca61,_0x40cbed]);}case _0xb2b71a(0x1a3):return _0x6a4575(this[_0xb2b71a(0x19e)][_0xb2b71a(0x147)],_0xb2b71a(0x181),_0x40cbed);case _0xb2b71a(0x195):case _0xb2b71a(0x161):return _0x6a4575(this[_0xb2b71a(0x19e)][_0xb2b71a(0x147)],_0xb2b71a(0x185));default:return _0x6a4575(this[_0xb2b71a(0x19e)][_0xb2b71a(0x147)],_0xb2b71a(0x14e));}}[_0x26ff02(0x152)](){const _0x4f1260=_0x26ff02,_0x4d5ac3=new Date(),_0x49ba20=new Date(_0x4d5ac3[_0x4f1260(0x155)](),_0x4d5ac3[_0x4f1260(0x188)](),_0x4d5ac3[_0x4f1260(0x199)]()),_0x40641f=new Date(_0x49ba20);_0x40641f[_0x4f1260(0x176)](_0x40641f[_0x4f1260(0x199)]()-0x1);const _0x5370d9=new Date(_0x49ba20);_0x5370d9[_0x4f1260(0x176)](_0x5370d9[_0x4f1260(0x199)]()-0xe);const _0xb723b=this[_0x4f1260(0x19f)][_0x4f1260(0x148)]({'pinned':!0x0}),_0x8589c4=this[_0x4f1260(0x19f)][_0x4f1260(0x148)]({'from':_0x49ba20,'to':_0x49ba20}),_0x1d8285=this[_0x4f1260(0x19f)][_0x4f1260(0x148)]({'from':_0x40641f,'to':_0x40641f}),_0x2592fb=this[_0x4f1260(0x19f)][_0x4f1260(0x148)]({'from':_0x5370d9,'to':_0x40641f}),_0x2cfd4c=this[_0x4f1260(0x19f)][_0x4f1260(0x148)]({'to':_0x5370d9}),_0x3c1a9a=[];return _0xb723b[_0x4f1260(0x169)]>0x0&&_0x3c1a9a[_0x4f1260(0x166)]({'title':_0x6a4575(this[_0x4f1260(0x19e)][_0x4f1260(0x147)],_0x4f1260(0x1a2)),'items':_0xb723b}),_0x8589c4[_0x4f1260(0x169)]>0x0&&_0x3c1a9a[_0x4f1260(0x166)]({'title':_0x6a4575(this[_0x4f1260(0x19e)][_0x4f1260(0x147)],_0x4f1260(0x16f)),'items':_0x8589c4}),_0x1d8285[_0x4f1260(0x169)]>0x0&&_0x3c1a9a[_0x4f1260(0x166)]({'title':_0x6a4575(this[_0x4f1260(0x19e)][_0x4f1260(0x147)],_0x4f1260(0x19c)),'items':_0x1d8285}),_0x2592fb[_0x4f1260(0x169)]>0x0&&_0x3c1a9a[_0x4f1260(0x166)]({'title':_0x6a4575(this[_0x4f1260(0x19e)][_0x4f1260(0x147)],_0x4f1260(0x178)),'items':_0x2592fb}),_0x2cfd4c[_0x4f1260(0x169)]>0x0&&_0x3c1a9a[_0x4f1260(0x166)]({'title':_0x6a4575(this[_0x4f1260(0x19e)][_0x4f1260(0x147)],_0x4f1260(0x1a6)),'items':_0x2cfd4c}),_0x3c1a9a;}[_0x26ff02(0x15c)](_0x280735){const _0x1d4df5=_0x26ff02;this[_0x1d4df5(0x18c)][_0x1d4df5(0x189)](_0x280735);}}
|
|
23
|
+
const _0x1ceb64=_0x1f66;function _0x190c(){const _0x447832=['itemUpdated','removeHistoryItem','_handleHistoryErrorUI','activateTab','selectConversation','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','3265927FPBMoR','chat','push','loadItems','resizedTabs','_setItemLoading','change:activeConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','setDate','itemId','map','createdAt','_handleRemove','_aiConnector','getGroupId','setConversationPinned','1399542LTPXHw','_showConversationHistory','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','_generateErrorMessage','plugins','showError','resize','pin','_handleTogglePin','history','operation','getFullYear','getMonth','context','remove','pinned','get','_updateHistoryItemsUI','isOfficialPlugin','title','rename','updateItems','AI_CHAT_UNTITLED_CONVERSATION','getItem','AI_CHAT_HISTORY_CATEGORY_LATER','updateItemTitle','requires','activeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','_aiChatHistoryUi','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_setIsMaximized','locale','items','_getCategorizedItems','_handleEditTitle','unpin','error','removeItem','setLoadingSkeleton','getDate','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','354716aasnKa','editConversationTitle','_aiChatController','AI_CHAT_HISTORY_PIN_ACTION','setIsMaximized','itemsLoaded','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','loadConversation','toLocaleDateString','isPremiumPlugin','openChat','AI_CHAT_HISTORY_UNPIN_ACTION','removeConversation','2171688vzzVPn','handleRemovedConversation','AI_CHAT_HISTORY_CATEGORY_PINNED','itemRemoved','840368XugVtt','AI_CHAT_HISTORY_ERROR_GENERIC','923053nAUzEw','length','updates','getItems','12038992GyEXRQ','AIChatHistoryController','pluginName','_handleSelectConversation','activateTab:history','view','15dEiAXl','updateItemLoadingState','init','listenTo','_clearItemLoading','resizeTabs','updateItemPinned'];_0x190c=function(){return _0x447832;};return _0x190c();}(function(_0x129022,_0x59187e){const _0x45f08e=_0x1f66,_0x4762d9=_0x129022();while(!![]){try{const _0xcf9e59=parseInt(_0x45f08e(0x212))/0x1+parseInt(_0x45f08e(0x210))/0x2+-parseInt(_0x45f08e(0x1d5))/0x3+-parseInt(_0x45f08e(0x1ff))/0x4*(-parseInt(_0x45f08e(0x21c))/0x5)+parseInt(_0x45f08e(0x20c))/0x6+parseInt(_0x45f08e(0x1c5))/0x7+-parseInt(_0x45f08e(0x216))/0x8;if(_0xcf9e59===_0x59187e)break;else _0x4762d9['push'](_0x4762d9['shift']());}catch(_0x2f85ee){_0x4762d9['push'](_0x4762d9['shift']());}}}(_0x190c,0x71ddb));import{ContextPlugin as _0x174407}from'ckeditor5/src/core.js';import{AIConnector as _0x4442f3}from'../aicore/aiconnector.js';import{AIChatController as _0x951fb9}from'../aichat/aichatcontroller.js';import{AITabs as _0x5e1c5f}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x5dedb5}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x23d30b}from'./model/aichathistoryconversations.js';import{getTranslation as _0x1ff641}from'../aicore/utils/common-translations.js';function _0x1f66(_0x21f97b,_0x17f81b){const _0x190c9b=_0x190c();return _0x1f66=function(_0x1f66f8,_0xa53a8e){_0x1f66f8=_0x1f66f8-0x1c4;let _0x2e760e=_0x190c9b[_0x1f66f8];return _0x2e760e;},_0x1f66(_0x21f97b,_0x17f81b);}export class AIChatHistoryController extends _0x174407{[_0x1ceb64(0x1d2)];[_0x1ceb64(0x1f2)];[_0x1ceb64(0x201)];static get[_0x1ceb64(0x1ef)](){return[_0x4442f3,_0x951fb9,_0x5dedb5,_0x5e1c5f];}static get[_0x1ceb64(0x218)](){const _0x5512d3=_0x1ceb64;return _0x5512d3(0x217);}static get[_0x1ceb64(0x1e7)](){return!0x0;}static get[_0x1ceb64(0x208)](){return!0x0;}[_0x1ceb64(0x21e)](){const _0x240de5=_0x1ceb64;this[_0x240de5(0x1d2)]=this[_0x240de5(0x1e2)][_0x240de5(0x1d9)][_0x240de5(0x1e5)](_0x4442f3),this[_0x240de5(0x1f2)]=this[_0x240de5(0x1e2)][_0x240de5(0x1d9)][_0x240de5(0x1e5)](_0x5dedb5),this[_0x240de5(0x201)]=this[_0x240de5(0x1e2)][_0x240de5(0x1d9)][_0x240de5(0x1e5)](_0x951fb9);const _0x5ec7a8=this[_0x240de5(0x1e2)][_0x240de5(0x1d9)][_0x240de5(0x1e5)](_0x5e1c5f),_0x41e847=this[_0x240de5(0x201)][_0x240de5(0x1d3)]();this[_0x240de5(0x1de)]=new _0x23d30b({'connector':this[_0x240de5(0x1d2)],'group':_0x41e847}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x20b),(_0x3453fc,_0x4fc2fc)=>{const _0x5485e8=_0x240de5;this[_0x5485e8(0x1ca)](_0x4fc2fc['id'],_0x5485e8(0x1e3)),this[_0x5485e8(0x1d1)](_0x4fc2fc['id']);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x200),(_0x402fca,_0x19734c)=>{const _0xe06501=_0x240de5;this[_0xe06501(0x1ca)](_0x19734c['id'],_0xe06501(0x1e9)),this[_0xe06501(0x1f8)](_0x19734c['id'],_0x19734c[_0xe06501(0x1e8)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1de)],_0x240de5(0x223),(_0x76877e,_0x5b731f)=>{const _0x21a039=_0x240de5;void 0x0!==_0x5b731f[_0x21a039(0x214)][_0x21a039(0x1e8)]&&this[_0x21a039(0x1f2)][_0x21a039(0x1ee)](_0x5b731f[_0x21a039(0x1ce)],_0x5b731f[_0x21a039(0x214)][_0x21a039(0x1e8)]),void 0x0!==_0x5b731f[_0x21a039(0x214)][_0x21a039(0x1e4)]&&this[_0x21a039(0x1e6)](),this[_0x21a039(0x220)](_0x5b731f[_0x21a039(0x1ce)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1de)],_0x240de5(0x20f),(_0x4349f1,_0x504364)=>{const _0x57fe2a=_0x240de5;this[_0x57fe2a(0x201)][_0x57fe2a(0x20d)](_0x504364[_0x57fe2a(0x1ce)]),this[_0x57fe2a(0x1f2)][_0x57fe2a(0x224)](_0x504364[_0x57fe2a(0x1ce)]),this[_0x57fe2a(0x220)](_0x504364[_0x57fe2a(0x1ce)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1de)],_0x240de5(0x204),()=>{const _0x1c8288=_0x240de5;this[_0x1c8288(0x1e6)]();}),this[_0x240de5(0x21f)](this[_0x240de5(0x1de)],_0x240de5(0x1fa),(_0x345736,_0xea8302)=>{const _0x39ad6e=_0x240de5;this[_0x39ad6e(0x225)](_0xea8302[_0x39ad6e(0x1fa)],_0xea8302[_0x39ad6e(0x1df)],_0xea8302[_0x39ad6e(0x1ce)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x227),(_0x48dfd6,_0x29925f)=>{const _0x2c14de=_0x240de5;this[_0x2c14de(0x219)](_0x29925f['id']);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x1d4),(_0x40ed87,_0x2004cc)=>{const _0x1d7caa=_0x240de5,_0x3704ec=_0x2004cc[_0x1d7caa(0x1e4)]?_0x1d7caa(0x1dc):_0x1d7caa(0x1f9);this[_0x1d7caa(0x1ca)](_0x2004cc['id'],_0x3704ec),this[_0x1d7caa(0x1dd)](_0x2004cc['id'],_0x2004cc[_0x1d7caa(0x1e4)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x209),()=>{const _0x249852=_0x240de5;_0x5ec7a8[_0x249852(0x21b)][_0x249852(0x226)](_0x249852(0x1c6));}),this[_0x240de5(0x21f)](this[_0x240de5(0x201)],_0x240de5(0x1cb),()=>{const _0x30b0d4=_0x240de5;this[_0x30b0d4(0x1e6)]();}),_0x5ec7a8[_0x240de5(0x21b)]['on'](_0x240de5(0x21a),()=>{const _0x302ee9=_0x240de5;this[_0x302ee9(0x1d6)]();}),this[_0x240de5(0x21f)](_0x5ec7a8,_0x240de5(0x1c9),(_0x378e63,_0x338d6f)=>{const _0x5306ac=_0x240de5;this[_0x5306ac(0x1f4)](_0x338d6f);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x221),()=>{const _0x57acc6=_0x240de5;_0x5ec7a8[_0x57acc6(0x1db)]();});}async[_0x1ceb64(0x1f8)](_0x56ded7,_0x446356){const _0x117980=_0x1ceb64;await this[_0x117980(0x1de)][_0x117980(0x1ee)](_0x56ded7,_0x446356);}async[_0x1ceb64(0x1dd)](_0x3750ac,_0x50dfc0){const _0x10905d=_0x1ceb64;await this[_0x10905d(0x1de)][_0x10905d(0x222)](_0x3750ac,_0x50dfc0);}async[_0x1ceb64(0x1d1)](_0x18b829){const _0x46190a=_0x1ceb64;await this[_0x46190a(0x1de)][_0x46190a(0x1fb)](_0x18b829);}async[_0x1ceb64(0x219)](_0x1a3ddc){const _0xf3143e=_0x1ceb64;await this[_0xf3143e(0x201)][_0xf3143e(0x206)](_0x1a3ddc);}async[_0x1ceb64(0x1d6)](){const _0x405d80=_0x1ceb64;this[_0x405d80(0x1f2)][_0x405d80(0x1da)](''),this[_0x405d80(0x1f2)][_0x405d80(0x1fc)](!0x0),await this[_0x405d80(0x1de)][_0x405d80(0x21e)](),this[_0x405d80(0x1f2)][_0x405d80(0x1fc)](!0x1);}[_0x1ceb64(0x1e6)](){const _0x5a1628=_0x1ceb64,_0x80708c=this[_0x5a1628(0x201)][_0x5a1628(0x1f0)]?.['id'],_0x1d2acf=this[_0x5a1628(0x1f7)]()[_0x5a1628(0x1cf)](_0x136de9=>({'title':_0x136de9[_0x5a1628(0x1e8)],'items':_0x136de9[_0x5a1628(0x1f6)][_0x5a1628(0x1cf)](_0x3b6cae=>({'id':_0x3b6cae['id'],'title':_0x3b6cae[_0x5a1628(0x1e8)]||_0x1ff641(this[_0x5a1628(0x1e2)][_0x5a1628(0x1f5)],_0x5a1628(0x1eb)),'createdAt':new Date(_0x3b6cae[_0x5a1628(0x1d0)])[_0x5a1628(0x207)](),'active':_0x3b6cae['id']===_0x80708c,'pinned':_0x3b6cae[_0x5a1628(0x1e4)]}))}));this[_0x5a1628(0x1f2)][_0x5a1628(0x1ea)](_0x1d2acf);}[_0x1ceb64(0x1ca)](_0x5511db,_0x23e567){const _0x588408=_0x1ceb64;this[_0x588408(0x1f2)][_0x588408(0x21d)](_0x5511db,_0x23e567,!0x0);}[_0x1ceb64(0x220)](_0x5b7d6f){const _0x27fbdb=_0x1ceb64;this[_0x27fbdb(0x1f2)][_0x27fbdb(0x21d)](_0x5b7d6f,null,!0x1);}[_0x1ceb64(0x225)](_0x35867c,_0xa65146,_0x4f7feb){const _0x6f2fd7=_0x1ceb64,_0xab1d06=this[_0x6f2fd7(0x1d8)](_0xa65146,_0x4f7feb);this[_0x6f2fd7(0x1f2)][_0x6f2fd7(0x1da)](_0xab1d06),_0x4f7feb&&this[_0x6f2fd7(0x220)](_0x4f7feb),this[_0x6f2fd7(0x1f2)][_0x6f2fd7(0x1fc)](!0x1);}[_0x1ceb64(0x1d8)](_0x35269c,_0x169bf7){const _0x1ff5ce=_0x1ceb64,_0x4eae2f=_0x169bf7?this[_0x1ff5ce(0x1de)][_0x1ff5ce(0x1ec)](_0x169bf7):null,_0x103dce=_0x4eae2f?.[_0x1ff5ce(0x1e8)]||_0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x1eb));switch(_0x35269c){case _0x1ff5ce(0x1ee):return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x205),_0x103dce);case _0x1ff5ce(0x222):{const _0x58f657=_0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x4eae2f?.[_0x1ff5ce(0x1e4)]?_0x1ff5ce(0x20a):_0x1ff5ce(0x202));return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x1f3),[_0x58f657,_0x103dce]);}case _0x1ff5ce(0x1fb):return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x1fe),_0x103dce);case _0x1ff5ce(0x21e):case _0x1ff5ce(0x1c8):return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x1cc));default:return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x211));}}[_0x1ceb64(0x1f7)](){const _0x5ed77f=_0x1ceb64,_0x5bf362=new Date(),_0x15a075=new Date(_0x5bf362[_0x5ed77f(0x1e0)](),_0x5bf362[_0x5ed77f(0x1e1)](),_0x5bf362[_0x5ed77f(0x1fd)]()),_0x1f0695=new Date(_0x15a075);_0x1f0695[_0x5ed77f(0x1cd)](_0x1f0695[_0x5ed77f(0x1fd)]()-0x1);const _0x11ec98=new Date(_0x15a075);_0x11ec98[_0x5ed77f(0x1cd)](_0x11ec98[_0x5ed77f(0x1fd)]()-0xe);const _0x31419a=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'pinned':!0x0}),_0x391c22=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'from':_0x15a075,'to':_0x15a075}),_0x404f94=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'from':_0x1f0695,'to':_0x1f0695}),_0x48a89b=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'from':_0x11ec98,'to':_0x1f0695}),_0x33372e=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'to':_0x11ec98}),_0x4cda6c=[];return _0x31419a[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x20e)),'items':_0x31419a}),_0x391c22[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x1f1)),'items':_0x391c22}),_0x404f94[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x1d7)),'items':_0x404f94}),_0x48a89b[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x1c4)),'items':_0x48a89b}),_0x33372e[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x1ed)),'items':_0x33372e}),_0x4cda6c;}[_0x1ceb64(0x1f4)](_0x555067){const _0x28b286=_0x1ceb64;this[_0x28b286(0x1f2)][_0x28b286(0x203)](_0x555067);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47d2ce=_0x386e;function _0x386e(_0x1175fa,_0x15c920){const _0x39999e=_0x3999();return _0x386e=function(_0x386eff,_0x4ee0ab){_0x386eff=_0x386eff-0x8a;let _0x5c2f6b=_0x39999e[_0x386eff];return _0x5c2f6b;},_0x386e(_0x1175fa,_0x15c920);}(function(_0x4e7ce3,_0x415c29){const _0xa096f4=_0x386e,_0x60ac9a=_0x4e7ce3();while(!![]){try{const _0x16de16=-parseInt(_0xa096f4(0xb3))/0x1+parseInt(_0xa096f4(0xb0))/0x2+-parseInt(_0xa096f4(0x8b))/0x3*(parseInt(_0xa096f4(0x9f))/0x4)+-parseInt(_0xa096f4(0xad))/0x5*(-parseInt(_0xa096f4(0x8e))/0x6)+parseInt(_0xa096f4(0xa4))/0x7*(-parseInt(_0xa096f4(0xb6))/0x8)+-parseInt(_0xa096f4(0x97))/0x9*(-parseInt(_0xa096f4(0xb2))/0xa)+parseInt(_0xa096f4(0xa0))/0xb*(parseInt(_0xa096f4(0xa5))/0xc);if(_0x16de16===_0x415c29)break;else _0x60ac9a['push'](_0x60ac9a['shift']());}catch(_0x5d1ee2){_0x60ac9a['push'](_0x60ac9a['shift']());}}}(_0x3999,0xdb6b7));import{ContextPlugin as _0x224153}from'ckeditor5/src/core.js';import{AITabs as _0x340210}from'../aitabs/aitabs.js';import{IconAIHistory as _0x2078c6}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x28670d}from'./ui/aichathistoryview.js';import{getTranslation as _0x2220e5}from'../aicore/utils/common-translations.js';function _0x3999(){const _0x2ed3a5=['hideError','openChat','addTab','editConversationTitle','pluginName','AIChatHistoryUI','6130924psBHvz','143PrTyWm','AITabs','AI_CHAT_HISTORY_HEADING','history','1790649AEBSSA','2472324inblYg','removeConversation','showConversationHistory','errorMessage','isPremiumPlugin','showResizeButton','showError','isOfficialPlugin','53780mBXVqU','plugins','setConversationPinned','2568776xajIDk','resizeTabs','941560rGHDrl','1281864ZDYWpO','locale','setIsMaximized','56swUBOq','get','isMaximized','updateHistoryItemsWithCategories','updateItemTitle','3IGNQXl','_historyView','updateItems','282BDpJOX','isLoading','delegate','context','view','selectConversation','updateItemLoadingState','removeHistoryItem','requires','99wVsPHz','setLoadingSkeleton'];_0x3999=function(){return _0x2ed3a5;};return _0x3999();}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x47d2ce(0xa7),_0x47d2ce(0xa6),_0x47d2ce(0x9c),_0x47d2ce(0xaf),_0x47d2ce(0x93),_0x47d2ce(0x9a),_0x47d2ce(0xb1)];export class AIChatHistoryUI extends _0x224153{static get[_0x47d2ce(0x96)](){return[_0x340210];}[_0x47d2ce(0x8c)];static get[_0x47d2ce(0x9d)](){const _0x570a47=_0x47d2ce;return _0x570a47(0x9e);}static get[_0x47d2ce(0xac)](){return!0x0;}static get[_0x47d2ce(0xa9)](){return!0x0;}constructor(_0x41436f){const _0x4749b6=_0x47d2ce;super(_0x41436f);const _0x362041=this[_0x4749b6(0x91)][_0x4749b6(0xae)][_0x4749b6(0xb7)](_0x4749b6(0xa1));this[_0x4749b6(0x8c)]=new _0x28670d(this[_0x4749b6(0x91)][_0x4749b6(0xb4)],_0x362041[_0x4749b6(0xaa)]),this[_0x4749b6(0x8c)][_0x4749b6(0x90)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x362041[_0x4749b6(0x92)][_0x4749b6(0x9b)]({'id':_0x4749b6(0xa3),'buttonLabel':_0x2220e5(this[_0x4749b6(0x91)][_0x4749b6(0xb4)],_0x4749b6(0xa2)),'buttonIcon':_0x2078c6,'order':0x0,'content':this[_0x4749b6(0x8c)]});}[_0x47d2ce(0x95)](_0x369ad6){const _0xb8fdd0=_0x47d2ce;this[_0xb8fdd0(0x8c)][_0xb8fdd0(0x95)](_0x369ad6);}[_0x47d2ce(0x8d)](_0x21814d){const _0x8477c2=_0x47d2ce;this[_0x8477c2(0x8c)][_0x8477c2(0xb9)](_0x21814d);}[_0x47d2ce(0x8a)](_0x1189a3,_0x1fdcd6){const _0x3aac61=_0x47d2ce;this[_0x3aac61(0x8c)][_0x3aac61(0x8a)](_0x1189a3,_0x1fdcd6);}[_0x47d2ce(0x94)](_0xedb3da,_0x42b4d2,_0x1bce5c){const _0x87d64f=_0x47d2ce;this[_0x87d64f(0x8c)][_0x87d64f(0x94)](_0xedb3da,_0x42b4d2,_0x1bce5c);}[_0x47d2ce(0x98)](_0x5605ca){const _0x123278=_0x47d2ce;this[_0x123278(0x8c)][_0x123278(0x8f)]=_0x5605ca;}[_0x47d2ce(0xab)](_0x1c4ce4){const _0x17472e=_0x47d2ce;this[_0x17472e(0x8c)][_0x17472e(0xa8)]=_0x1c4ce4;}[_0x47d2ce(0x99)](){const _0x437a25=_0x47d2ce;this[_0x437a25(0x8c)][_0x437a25(0xa8)]='';}[_0x47d2ce(0xb5)](_0x24bb37){const _0xf1c95f=_0x47d2ce;this[_0xf1c95f(0x8c)][_0xf1c95f(0xb8)]=_0x24bb37;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x154cb7=_0x3ed1;(function(_0x584b98,_0x105537){const _0x60d44e=_0x3ed1,_0x4f0113=_0x584b98();while(!![]){try{const _0x51ffeb=parseInt(_0x60d44e(0x184))/0x1+parseInt(_0x60d44e(0x172))/0x2+-parseInt(_0x60d44e(0x17e))/0x3+-parseInt(_0x60d44e(0x16c))/0x4+-parseInt(_0x60d44e(0x16b))/0x5+-parseInt(_0x60d44e(0x18c))/0x6+-parseInt(_0x60d44e(0x160))/0x7*(-parseInt(_0x60d44e(0x17c))/0x8);if(_0x51ffeb===_0x105537)break;else _0x4f0113['push'](_0x4f0113['shift']());}catch(_0x436df4){_0x4f0113['push'](_0x4f0113['shift']());}}}(_0xda46,0x4245c));import{EmitterMixin as _0x46ba6f}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x329cfd}from'./aichathistoryitem.js';function _0xda46(){const _0x252bd3=['8YdnSfP','getDate','328245idFcVL','splice','push','find','createdAt','init','246570dRcyDB','addItem','loadItems','updateTitle','fire','from','getTime','error','3234594hKIqyL','7608013gArUll','updateItemPinned','getMonth','fetchConversations','getItems','deleteConversation','itemRemoved','group','getItem','itemUpdated','updateItemTitle','926445lSSKNz','1461876oRnbdl','getConversations','items','getResult','pinned','removeItem','274590cndaMQ','itemsLoaded','updateConversation','map','findIndex','updatePinned','filter','execute','getFullYear','connector'];_0xda46=function(){return _0x252bd3;};return _0xda46();}function _0x3ed1(_0x3c8fba,_0x32275e){const _0xda4641=_0xda46();return _0x3ed1=function(_0x3ed145,_0x2e93ba){_0x3ed145=_0x3ed145-0x160;let _0x105100=_0xda4641[_0x3ed145];return _0x105100;},_0x3ed1(_0x3c8fba,_0x32275e);}export class AIChatHistoryConversations extends _0x46ba6f(){[_0x154cb7(0x16e)]=[];[_0x154cb7(0x17b)];[_0x154cb7(0x167)];constructor({connector:_0x59a57f,group:_0x2d51b6}){const _0x5b22d9=_0x154cb7;super(),this[_0x5b22d9(0x17b)]=_0x59a57f,this[_0x5b22d9(0x167)]=_0x2d51b6;}async[_0x154cb7(0x183)](){const _0xde0eff=_0x154cb7;try{const _0x55f561=this[_0xde0eff(0x17b)][_0xde0eff(0x163)](this[_0xde0eff(0x167)]),_0x4b1421=await _0x55f561[_0xde0eff(0x16d)]();this[_0xde0eff(0x186)](_0x4b1421);}catch(_0x1c0844){this[_0xde0eff(0x188)](_0xde0eff(0x18b),{'error':_0x1c0844,'operation':_0xde0eff(0x183)});}}[_0x154cb7(0x185)](_0x5dbb8e){const _0x292ccc=_0x154cb7;this[_0x292ccc(0x16e)][_0x292ccc(0x180)](_0x5dbb8e);}async[_0x154cb7(0x171)](_0x4720b8){const _0x44f98d=_0x154cb7,_0x2b18b7=this[_0x44f98d(0x16e)][_0x44f98d(0x176)](_0x2e1b45=>_0x2e1b45['id']===_0x4720b8);if(-0x1===_0x2b18b7)return!0x1;try{return await this[_0x44f98d(0x17b)][_0x44f98d(0x165)](_0x4720b8)[_0x44f98d(0x179)](),this[_0x44f98d(0x16e)][_0x44f98d(0x17f)](_0x2b18b7,0x1),this[_0x44f98d(0x188)](_0x44f98d(0x166),{'itemId':_0x4720b8}),!0x0;}catch(_0x110560){return this[_0x44f98d(0x188)](_0x44f98d(0x18b),{'error':_0x110560,'operation':_0x44f98d(0x171),'itemId':_0x4720b8}),!0x1;}}[_0x154cb7(0x168)](_0x421b03){const _0x3adf78=_0x154cb7;return this[_0x3adf78(0x16e)][_0x3adf78(0x181)](_0x57a14f=>_0x57a14f['id']===_0x421b03);}async[_0x154cb7(0x16a)](_0x4364ae,_0x21c286){const _0x406707=_0x154cb7,_0xe307c8=this[_0x406707(0x168)](_0x4364ae);if(!_0xe307c8)return!0x1;try{return await this[_0x406707(0x17b)][_0x406707(0x174)](_0x4364ae,{'title':_0x21c286})[_0x406707(0x16f)](),_0xe307c8[_0x406707(0x187)](_0x21c286),this[_0x406707(0x188)](_0x406707(0x169),{'itemId':_0x4364ae,'updates':{'title':_0x21c286}}),!0x0;}catch(_0x1bfe6a){return this[_0x406707(0x188)](_0x406707(0x18b),{'error':_0x1bfe6a,'operation':_0x406707(0x16a),'itemId':_0x4364ae}),!0x1;}}async[_0x154cb7(0x161)](_0x62bf52,_0x378cfb){const _0x4bf0fc=_0x154cb7,_0x797c8e=this[_0x4bf0fc(0x168)](_0x62bf52);if(!_0x797c8e)return!0x1;try{return await this[_0x4bf0fc(0x17b)][_0x4bf0fc(0x174)](_0x62bf52,{'pinned':_0x378cfb})[_0x4bf0fc(0x16f)](),_0x797c8e[_0x4bf0fc(0x177)](_0x378cfb),this[_0x4bf0fc(0x188)](_0x4bf0fc(0x169),{'itemId':_0x62bf52,'updates':{'pinned':_0x378cfb}}),!0x0;}catch(_0x367d56){return this[_0x4bf0fc(0x188)](_0x4bf0fc(0x18b),{'error':_0x367d56,'operation':_0x4bf0fc(0x161),'itemId':_0x62bf52}),!0x1;}}[_0x154cb7(0x186)](_0x4da46d){const _0x43ffe4=_0x154cb7;try{this[_0x43ffe4(0x16e)]=[],_0x4da46d[_0x43ffe4(0x175)](_0x80a5c1=>{const _0x5c1b06=_0x43ffe4;this[_0x5c1b06(0x185)](new _0x329cfd(_0x80a5c1));}),this[_0x43ffe4(0x188)](_0x43ffe4(0x173),{'items':[...this[_0x43ffe4(0x16e)]]});}catch(_0x307be1){this[_0x43ffe4(0x188)](_0x43ffe4(0x18b),{'error':_0x307be1,'operation':_0x43ffe4(0x186)});}}[_0x154cb7(0x164)](_0x28c0e4={}){const _0xcd2744=_0x154cb7,_0x27a698=void 0x0!==_0x28c0e4[_0xcd2744(0x170)]&&_0x28c0e4[_0xcd2744(0x170)],_0x50532c=_0x28c0e4[_0xcd2744(0x189)]?new Date(_0x28c0e4[_0xcd2744(0x189)][_0xcd2744(0x17a)](),_0x28c0e4[_0xcd2744(0x189)][_0xcd2744(0x162)](),_0x28c0e4[_0xcd2744(0x189)][_0xcd2744(0x17d)]()):null,_0x3e0627=_0x28c0e4['to']?new Date(_0x28c0e4['to'][_0xcd2744(0x17a)](),_0x28c0e4['to'][_0xcd2744(0x162)](),_0x28c0e4['to'][_0xcd2744(0x17d)]()):null;return this[_0xcd2744(0x16e)][_0xcd2744(0x178)](_0x1073b6=>{const _0x5451b5=_0xcd2744;if(_0x1073b6[_0x5451b5(0x170)]!==_0x27a698)return!0x1;if(_0x3e0627){const _0x2cb8c7=new Date(_0x1073b6[_0x5451b5(0x182)][_0x5451b5(0x17a)](),_0x1073b6[_0x5451b5(0x182)][_0x5451b5(0x162)](),_0x1073b6[_0x5451b5(0x182)][_0x5451b5(0x17d)]());return _0x50532c?_0x50532c[_0x5451b5(0x18a)]()===_0x3e0627[_0x5451b5(0x18a)]()?_0x2cb8c7[_0x5451b5(0x18a)]()===_0x50532c[_0x5451b5(0x18a)]():_0x2cb8c7<_0x3e0627&&_0x2cb8c7>=_0x50532c:_0x2cb8c7<_0x3e0627;}return!0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3207d8=_0x46c7;(function(_0x2528af,_0x1c686a){var _0x45ed9a=_0x46c7,_0x100e6f=_0x2528af();while(!![]){try{var _0x1fce99=parseInt(_0x45ed9a(0xfd))/0x1*(-parseInt(_0x45ed9a(0x102))/0x2)+-parseInt(_0x45ed9a(0x101))/0x3*(-parseInt(_0x45ed9a(0x100))/0x4)+-parseInt(_0x45ed9a(0xf4))/0x5+-parseInt(_0x45ed9a(0xfa))/0x6*(parseInt(_0x45ed9a(0xf6))/0x7)+-parseInt(_0x45ed9a(0xff))/0x8*(-parseInt(_0x45ed9a(0xf9))/0x9)+-parseInt(_0x45ed9a(0x104))/0xa+parseInt(_0x45ed9a(0xfb))/0xb;if(_0x1fce99===_0x1c686a)break;else _0x100e6f['push'](_0x100e6f['shift']());}catch(_0x173d31){_0x100e6f['push'](_0x100e6f['shift']());}}}(_0x2d94,0xd2389));function _0x46c7(_0x2fdf42,_0x2d049e){var _0x2d9402=_0x2d94();return _0x46c7=function(_0x46c742,_0x388f0a){_0x46c742=_0x46c742-0xf3;var _0x169fbb=_0x2d9402[_0x46c742];return _0x169fbb;},_0x46c7(_0x2fdf42,_0x2d049e);}import{ObservableMixin as _0x152dca}from'ckeditor5/src/utils.js';import{escape as _0x154c5b}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x152dca(){['id'];[_0x3207d8(0x103)];constructor({id:_0xef613f,title:_0x1254f5,createdAt:_0x18b0a2,updatedAt:_0x9466b0,pinned:_0x241855}){var _0x20eeec=_0x3207d8;super(),this['id']=_0xef613f,this[_0x20eeec(0x103)]=new Date(_0x18b0a2),this[_0x20eeec(0xfc)](_0x20eeec(0xf5),_0x1254f5),this[_0x20eeec(0xfc)](_0x20eeec(0xfe),_0x9466b0?new Date(_0x9466b0):null),this[_0x20eeec(0xfc)](_0x20eeec(0xf8),_0x241855||!0x1);}[_0x3207d8(0xf3)](_0x4c61ee){var _0x530ec3=_0x3207d8;this[_0x530ec3(0xfc)](_0x530ec3(0xf5),_0x154c5b(_0x4c61ee)),this[_0x530ec3(0xfe)]=new Date();}[_0x3207d8(0xf7)](_0x13f5e7){var _0x11070f=_0x3207d8;this[_0x11070f(0xfc)](_0x11070f(0xf8),_0x13f5e7),this[_0x11070f(0xfe)]=new Date();}}function _0x2d94(){var _0x2ea253=['updatedAt','5080ajFeWW','4575728ofOuRQ','3jqjEBg','250PUvefO','createdAt','3647290UoMlPV','updateTitle','556250zlbcdj','title','22309dxtxAd','updatePinned','pinned','24147HTQDDW','942kRBVal','3705801zVREro','set','10777BhXavC'];_0x2d94=function(){return _0x2ea253;};return _0x2d94();}
|