@ckeditor/ckeditor5-ai 46.1.1-alpha.3 → 47.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +18 -5
- package/README.md +10 -9
- 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/ckeditor5-metadata.json +24 -3
- package/dist/index-content.css +0 -1
- package/dist/index-editor.css +2648 -0
- package/dist/index.css +3047 -0
- package/dist/index.js +4 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +162 -1
- package/lang/translations/af.po +612 -0
- package/lang/translations/ar.po +628 -0
- package/lang/translations/ast.po +612 -0
- package/lang/translations/az.po +612 -0
- package/lang/translations/be.po +616 -0
- package/lang/translations/bg.po +612 -0
- package/lang/translations/bn.po +612 -0
- package/lang/translations/bs.po +616 -0
- package/lang/translations/ca.po +612 -0
- package/lang/translations/cs.po +616 -0
- package/lang/translations/da.po +612 -0
- package/lang/translations/de-ch.po +612 -0
- package/lang/translations/de.po +612 -0
- package/lang/translations/el.po +612 -0
- package/lang/translations/en-au.po +612 -0
- package/lang/translations/en-gb.po +612 -0
- package/lang/translations/en.po +612 -0
- package/lang/translations/eo.po +612 -0
- package/lang/translations/es-co.po +612 -0
- package/lang/translations/es.po +612 -0
- package/lang/translations/et.po +612 -0
- package/lang/translations/eu.po +612 -0
- package/lang/translations/fa.po +608 -0
- package/lang/translations/fi.po +612 -0
- package/lang/translations/fr.po +612 -0
- package/lang/translations/gl.po +612 -0
- package/lang/translations/gu.po +612 -0
- package/lang/translations/he.po +612 -0
- package/lang/translations/hi.po +612 -0
- package/lang/translations/hr.po +616 -0
- package/lang/translations/hu.po +612 -0
- package/lang/translations/hy.po +612 -0
- package/lang/translations/id.po +608 -0
- package/lang/translations/it.po +612 -0
- package/lang/translations/ja.po +608 -0
- package/lang/translations/jv.po +612 -0
- package/lang/translations/kk.po +612 -0
- package/lang/translations/km.po +608 -0
- package/lang/translations/kn.po +612 -0
- package/lang/translations/ko.po +608 -0
- package/lang/translations/ku.po +612 -0
- package/lang/translations/lt.po +616 -0
- package/lang/translations/lv.po +616 -0
- package/lang/translations/ms.po +608 -0
- package/lang/translations/nb.po +612 -0
- package/lang/translations/ne.po +612 -0
- package/lang/translations/nl.po +612 -0
- package/lang/translations/no.po +612 -0
- package/lang/translations/oc.po +612 -0
- package/lang/translations/pl.po +616 -0
- package/lang/translations/pt-br.po +612 -0
- package/lang/translations/pt.po +612 -0
- package/lang/translations/ro.po +616 -0
- package/lang/translations/ru.po +616 -0
- package/lang/translations/si.po +612 -0
- package/lang/translations/sk.po +616 -0
- package/lang/translations/sl.po +620 -0
- package/lang/translations/sq.po +612 -0
- package/lang/translations/sr-latn.po +616 -0
- package/lang/translations/sr.po +616 -0
- package/lang/translations/sv.po +612 -0
- package/lang/translations/th.po +608 -0
- package/lang/translations/ti.po +612 -0
- package/lang/translations/tk.po +612 -0
- package/lang/translations/tr.po +612 -0
- package/lang/translations/tt.po +608 -0
- package/lang/translations/ug.po +608 -0
- package/lang/translations/uk.po +616 -0
- package/lang/translations/ur.po +612 -0
- package/lang/translations/uz.po +612 -0
- package/lang/translations/vi.po +608 -0
- package/lang/translations/zh-cn.po +608 -0
- package/lang/translations/zh.po +608 -0
- package/package.json +23 -11
- package/src/aiactions/aiactions.d.ts +48 -0
- package/src/aiactions/aiactions.js +23 -0
- package/src/aiactions/model/aiactionsinteraction.d.ts +48 -0
- package/src/aiactions/model/aiactionsinteraction.js +23 -0
- package/src/aiactions/model/aiactionsreply.d.ts +15 -0
- package/src/aiactions/model/aiactionsreply.js +23 -0
- package/src/{adapters → aiassistant/adapters}/aiadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aiadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/aitextadapter.d.ts +9 -9
- package/src/aiassistant/adapters/aitextadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/awstextadapter.d.ts +36 -23
- package/src/aiassistant/adapters/awstextadapter.js +23 -0
- package/src/{adapters → aiassistant/adapters}/openaitextadapter.d.ts +38 -25
- package/src/aiassistant/adapters/openaitextadapter.js +23 -0
- package/src/{aiassistant.d.ts → aiassistant/aiassistant.d.ts} +54 -13
- package/src/aiassistant/aiassistant.js +23 -0
- package/src/aiassistant/aiassistantediting.js +23 -0
- package/src/{aiassistantui.d.ts → aiassistant/aiassistantui.d.ts} +4 -4
- package/src/aiassistant/aiassistantui.js +23 -0
- package/src/aiassistant/legacyerrors.js +23 -0
- package/src/{ui → aiassistant/ui}/aiassistantcontroller.d.ts +5 -4
- package/src/aiassistant/ui/aiassistantcontroller.js +24 -0
- package/src/{ui → aiassistant/ui}/form/aiformcontentarea.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +23 -0
- package/src/aiassistant/ui/form/aiformerrorview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformpromptview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformtoolbarview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aiformview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aihistorylistitemview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/aihistorylistview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +23 -0
- package/src/{ui → aiassistant/ui}/form/prompthistory.d.ts +3 -0
- package/src/aiassistant/ui/form/prompthistory.js +23 -0
- package/src/{ui → aiassistant/ui}/showaiassistantcommand.d.ts +2 -2
- package/src/aiassistant/ui/showaiassistantcommand.js +23 -0
- package/src/{utils → aiassistant/utils}/common-translations.d.ts +1 -1
- package/src/{utils → aiassistant/utils}/common-translations.js +1 -1
- package/src/{utils → aiassistant/utils}/normalizecommandsconfig.d.ts +2 -2
- package/src/{utils → aiassistant/utils}/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +72 -0
- package/src/aiballoon/aiballoon.js +23 -0
- package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +17 -0
- package/src/aiballoon/ui/aiballoondisclaimerview.js +23 -0
- package/src/aiballoon/ui/aiballoontoolbarview.d.ts +31 -0
- package/src/aiballoon/ui/aiballoontoolbarview.js +23 -0
- package/src/aiballoon/ui/aiballoonview.d.ts +109 -0
- package/src/aiballoon/ui/aiballoonview.js +23 -0
- package/src/aichat/aichat.d.ts +79 -0
- package/src/aichat/aichat.js +23 -0
- package/src/aichat/aichatcontroller.d.ts +68 -0
- package/src/aichat/aichatcontroller.js +23 -0
- package/src/aichat/aichatui.d.ts +297 -0
- package/src/aichat/aichatui.js +23 -0
- package/src/aichat/model/aichatcontext.d.ts +360 -0
- package/src/aichat/model/aichatcontext.js +23 -0
- package/src/aichat/model/aichatconversation.d.ts +270 -0
- package/src/aichat/model/aichatconversation.js +23 -0
- package/src/aichat/model/aichatinteraction.d.ts +46 -0
- package/src/aichat/model/aichatinteraction.js +23 -0
- package/src/aichat/model/aichatmodels.d.ts +77 -0
- package/src/aichat/model/aichatmodels.js +23 -0
- package/src/aichat/ui/aichatcontrolsview.d.ts +98 -0
- package/src/aichat/ui/aichatcontrolsview.js +23 -0
- package/src/aichat/ui/aichatfeedview.d.ts +114 -0
- package/src/aichat/ui/aichatfeedview.js +23 -0
- package/src/aichat/ui/aichatheaderview.d.ts +29 -0
- package/src/aichat/ui/aichatheaderview.js +23 -0
- package/src/aichat/ui/aichatview.d.ts +37 -0
- package/src/aichat/ui/aichatview.js +23 -0
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +71 -0
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +23 -0
- package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +46 -0
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +23 -0
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +89 -0
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +23 -0
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +105 -0
- package/src/aichat/ui/controls/aichatcontextpanelview.js +23 -0
- package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +12 -0
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +89 -0
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +44 -0
- package/src/aichat/ui/controls/aichatpromptinputview.js +23 -0
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +17 -0
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +61 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +100 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourceslistview.d.ts +49 -0
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +61 -0
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcesview.d.ts +54 -0
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +27 -0
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +23 -0
- package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +39 -0
- package/src/aichat/ui/feed/aichatfeederroritemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +29 -0
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +23 -0
- package/src/aichat/ui/feed/aichatfeeditemview.d.ts +46 -0
- package/src/aichat/ui/feed/aichatfeeditemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +46 -0
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +74 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +74 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +23 -0
- package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +40 -0
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +23 -0
- package/src/aichat/utils/eventnames.d.ts +5 -0
- package/src/aichat/utils/eventnames.js +23 -0
- package/src/aichat/utils/promisequeue.d.ts +32 -0
- package/src/aichat/utils/promisequeue.js +23 -0
- package/src/aichat/utils/scrollmanager.d.ts +23 -0
- package/src/aichat/utils/scrollmanager.js +23 -0
- package/src/aichathistory/aichathistory.d.ts +30 -0
- package/src/aichathistory/aichathistory.js +23 -0
- package/src/aichathistory/aichathistorycontroller.d.ts +40 -0
- package/src/aichathistory/aichathistorycontroller.js +23 -0
- package/src/aichathistory/aichathistoryui.d.ts +112 -0
- package/src/aichathistory/aichathistoryui.js +23 -0
- package/src/aichathistory/model/aichathistoryconversations.d.ts +114 -0
- package/src/aichathistory/model/aichathistoryconversations.js +23 -0
- package/src/aichathistory/model/aichathistoryitem.d.ts +59 -0
- package/src/aichathistory/model/aichathistoryitem.js +23 -0
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +42 -0
- package/src/aichathistory/ui/aichathistorylistitemview.js +23 -0
- package/src/aichathistory/ui/aichathistorylistview.d.ts +31 -0
- package/src/aichathistory/ui/aichathistorylistview.js +23 -0
- package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +17 -0
- package/src/aichathistory/ui/aichathistorysectionlistview.js +23 -0
- package/src/aichathistory/ui/aichathistoryview.d.ts +41 -0
- package/src/aichathistory/ui/aichathistoryview.js +23 -0
- package/src/aiconfig.d.ts +82 -31
- package/src/aicore/aiconnector.d.ts +302 -0
- package/src/aicore/aiconnector.js +23 -0
- package/src/aicore/aiediting.d.ts +61 -0
- package/src/aicore/aiediting.js +23 -0
- package/src/aicore/model/aicapabilities.d.ts +55 -0
- package/src/aicore/model/aicapabilities.js +23 -0
- package/src/aicore/model/aicontext.d.ts +53 -0
- package/src/aicore/model/aicontext.js +23 -0
- package/src/aicore/model/aiinteraction.d.ts +135 -0
- package/src/aicore/model/aiinteraction.js +23 -0
- package/src/aicore/model/aireply.d.ts +178 -0
- package/src/aicore/model/aireply.js +23 -0
- package/src/aicore/pipeline/airesponseapplier.d.ts +291 -0
- package/src/aicore/pipeline/airesponseapplier.js +24 -0
- package/src/aicore/pipeline/airesponseparser.d.ts +27 -0
- package/src/aicore/pipeline/airesponseparser.js +24 -0
- package/src/aicore/ui/aidisclaimerview.d.ts +17 -0
- package/src/aicore/ui/aidisclaimerview.js +23 -0
- package/src/aicore/ui/aiskeleton.d.ts +37 -0
- package/src/aicore/ui/aiskeleton.js +23 -0
- package/src/aicore/ui/aispinner.d.ts +14 -0
- package/src/aicore/ui/aispinner.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +62 -0
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +38 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +80 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +39 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +23 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +39 -0
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +23 -0
- package/src/aicore/utils/common-translations.d.ts +9 -0
- package/src/aicore/utils/common-translations.js +23 -0
- package/src/aicore/utils/createresizebutton.d.ts +12 -0
- package/src/aicore/utils/createresizebutton.js +23 -0
- package/src/aicore/utils/documentposition.d.ts +41 -0
- package/src/aicore/utils/documentposition.js +23 -0
- package/src/aicore/utils/documentrange.d.ts +46 -0
- package/src/aicore/utils/documentrange.js +23 -0
- package/src/aicore/utils/eventnames.d.ts +9 -0
- package/src/aicore/utils/eventnames.js +23 -0
- package/src/aicore/utils/geteditorfromcontext.d.ts +6 -0
- package/src/aicore/utils/geteditorfromcontext.js +23 -0
- package/src/aicore/utils/getoperationsfromreply.d.ts +21 -0
- package/src/aicore/utils/getoperationsfromreply.js +23 -0
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +19 -0
- package/src/aicore/utils/getsuggestionpartsfromreply.js +23 -0
- package/src/aicore/utils/htmlparser.d.ts +35 -0
- package/src/aicore/utils/htmlparser.js +23 -0
- package/src/aicore/utils/htmlstreamer.d.ts +123 -0
- package/src/aicore/utils/htmlstreamer.js +23 -0
- package/src/aiquickactions/aiquickactions.d.ts +41 -0
- package/src/aiquickactions/aiquickactions.js +23 -0
- package/src/aiquickactions/aiquickactionscommand.d.ts +12 -0
- package/src/aiquickactions/aiquickactionscommand.js +23 -0
- package/src/aiquickactions/aiquickactionsediting.d.ts +23 -0
- package/src/aiquickactions/aiquickactionsediting.js +23 -0
- package/src/aiquickactions/aiquickactionsui.d.ts +150 -0
- package/src/aiquickactions/aiquickactionsui.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +30 -0
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +45 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +23 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +45 -0
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +23 -0
- package/src/aiquickactions/utils/common-translations.d.ts +9 -0
- package/src/aiquickactions/utils/common-translations.js +23 -0
- package/src/aireviewmode/aireviewmode.d.ts +30 -0
- package/src/aireviewmode/aireviewmode.js +23 -0
- package/src/aireviewmode/aireviewmodecontroller.d.ts +32 -0
- package/src/aireviewmode/aireviewmodecontroller.js +23 -0
- package/src/aireviewmode/aireviewmodeediting.d.ts +129 -0
- package/src/aireviewmode/aireviewmodeediting.js +23 -0
- package/src/aireviewmode/aireviewmodeui.d.ts +73 -0
- package/src/aireviewmode/aireviewmodeui.js +23 -0
- package/src/aireviewmode/model/aireviewcheck.d.ts +60 -0
- package/src/aireviewmode/model/aireviewcheck.js +23 -0
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +17 -0
- package/src/aireviewmode/model/aireviewcheckcustom.js +23 -0
- package/src/aireviewmode/model/aireviewchecklist.d.ts +31 -0
- package/src/aireviewmode/model/aireviewchecklist.js +23 -0
- package/src/aireviewmode/model/aireviewcheckresult.d.ts +39 -0
- package/src/aireviewmode/model/aireviewcheckresult.js +23 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +42 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +23 -0
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +101 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +18 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewmodels.d.ts +26 -0
- package/src/aireviewmode/model/aireviewmodels.js +23 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +14 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +23 -0
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +29 -0
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +46 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +19 -0
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +80 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +45 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +18 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +42 -0
- package/src/aireviewmode/ui/aireviewmodeview.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +16 -0
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +20 -0
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +23 -0
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +16 -0
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +23 -0
- package/src/aireviewmode/utils/common-translations.d.ts +9 -0
- package/src/aireviewmode/utils/common-translations.js +23 -0
- package/src/aitabs/aitabs.d.ts +92 -0
- package/src/aitabs/aitabs.js +23 -0
- package/src/aitabs/aitabsmainview.d.ts +45 -0
- package/src/aitabs/aitabsmainview.js +23 -0
- package/src/aitabs/tabs/aitabsview.d.ts +147 -0
- package/src/aitabs/tabs/aitabsview.js +23 -0
- package/src/aitabs/tabs/tabbuttonview.d.ts +47 -0
- package/src/aitabs/tabs/tabbuttonview.js +23 -0
- package/src/aitabs/tabs/tabpanelview.d.ts +44 -0
- package/src/aitabs/tabs/tabpanelview.js +23 -0
- package/src/augmentation.d.ts +22 -6
- package/src/index.d.ts +40 -9
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +207 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +139 -0
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +194 -0
- package/theme/aichat/aichat-controls/aichat-context-controls.css +46 -0
- package/theme/aichat/aichat-controls/aichat-controls-button.css +74 -0
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +93 -0
- package/theme/aichat/aichat-controls/prompt-capabilities.css +46 -0
- package/theme/aichat/aichat-controls/prompt-input.css +55 -0
- package/theme/aichat/aichat-controls.css +154 -0
- package/theme/aichat/aichat.css +68 -0
- package/theme/aichat/aichatfeed.css +376 -0
- package/theme/aichat/aichathistory.css +235 -0
- package/theme/aichat/aiminitoolbar.css +94 -0
- package/theme/aichat/aisuggestioncontainer.css +203 -0
- package/theme/aiquickactions/aiquickactions.css +43 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +154 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +202 -0
- package/theme/aireviewmode/aireviewmode-review-completed.css +52 -0
- package/theme/aireviewmode/aireviewmode.css +73 -0
- package/theme/aitabs/aitabsview.css +64 -0
- package/theme/aitabs/tabs/tabbuttonview.css +74 -0
- package/theme/aitabs/tabs/tabsview.css +78 -0
- package/theme/common/aibutton.css +145 -0
- package/theme/common/aichaterror.css +61 -0
- package/theme/common/aidisclaimer.css +29 -0
- package/theme/common/aiheader.css +88 -0
- package/theme/common/aiskeleton.css +54 -0
- package/theme/common/aispinner.css +58 -0
- package/src/adapters/aiadapter.js +0 -23
- package/src/adapters/aitextadapter.js +0 -23
- package/src/adapters/awstextadapter.js +0 -23
- package/src/adapters/openaitextadapter.js +0 -23
- package/src/aiassistant.js +0 -23
- package/src/aiassistantediting.js +0 -23
- package/src/aiassistantui.js +0 -23
- package/src/legacyerrors.js +0 -23
- package/src/ui/aiassistantcontroller.js +0 -24
- package/src/ui/form/aiformcontentarea.js +0 -23
- package/src/ui/form/aiformerrorview.js +0 -23
- package/src/ui/form/aiformpromptview.js +0 -23
- package/src/ui/form/aiformtoolbarview.js +0 -23
- package/src/ui/form/aiformview.js +0 -23
- package/src/ui/form/aihistorylistitemview.js +0 -23
- package/src/ui/form/aihistorylistview.js +0 -23
- package/src/ui/form/prompthistory.js +0 -23
- package/src/ui/showaiassistantcommand.js +0 -23
- /package/src/{aiassistantediting.d.ts → aiassistant/aiassistantediting.d.ts} +0 -0
- /package/src/{legacyerrors.d.ts → aiassistant/legacyerrors.d.ts} +0 -0
- /package/src/{ui → aiassistant/ui}/form/aiformerrorview.d.ts +0 -0
- /package/theme/{ai-dropdown.css → aiassistant/ai-dropdown.css} +0 -0
- /package/theme/{ai-form.css → aiassistant/ai-form.css} +0 -0
- /package/theme/{ai.css → aiassistant/ai.css} +0 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module ai/aichat/aichatui
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { type Context, type Editor, ContextPlugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { AITabs } from '../aitabs/aitabs.js';
|
|
11
|
+
import { type AIAddContextOptionsState, type AIContextProvider, type AIContextResource, type AIContextResourceState } from './model/aichatcontext.js';
|
|
12
|
+
import { type AIContextItem } from '../aicore/model/aicontext.js';
|
|
13
|
+
import { type Document } from '../aicore/utils/htmlparser.js';
|
|
14
|
+
import { type AICapabilitiesConfig } from '../aicore/model/aicapabilities.js';
|
|
15
|
+
import { type AIReplySource, type AIReply, type AIReplyChangeGroupState } from '../aicore/model/aireply.js';
|
|
16
|
+
import { type AISuggestionContentPartDefinition } from '../aicore/utils/getsuggestionpartsfromreply.js';
|
|
17
|
+
import { type AIChatConversationInitializedEvent } from './model/aichatconversation.js';
|
|
18
|
+
import { type AIChatModel } from './model/aichatmodels.js';
|
|
19
|
+
import { type AIChatInteraction } from './model/aichatinteraction.js';
|
|
20
|
+
import { type AIContentRenderingStrategy } from '../aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js';
|
|
21
|
+
import '../../theme/aichat/aichat.css';
|
|
22
|
+
export declare class AIChatUI extends ContextPlugin {
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get requires(): readonly [typeof AITabs];
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get pluginName(): "AIChatUI";
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
static get isOfficialPlugin(): true;
|
|
35
|
+
/**
|
|
36
|
+
* @inheritDoc
|
|
37
|
+
*/
|
|
38
|
+
static get isPremiumPlugin(): true;
|
|
39
|
+
/**
|
|
40
|
+
* The busy state of the UI.
|
|
41
|
+
*
|
|
42
|
+
* It is set to `true` when there are AI response being streamed or rendered.
|
|
43
|
+
*
|
|
44
|
+
* @observable
|
|
45
|
+
*/
|
|
46
|
+
isBusy: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* @inheritDoc
|
|
49
|
+
*/
|
|
50
|
+
constructor(context: Context | Editor);
|
|
51
|
+
destroy(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Creates a new conversation by greeting the user.
|
|
54
|
+
*/
|
|
55
|
+
createConversation(data: AIChatConversationInitializedEvent['args'][0]): void;
|
|
56
|
+
/**
|
|
57
|
+
* Adds a generic message to the chat feed.
|
|
58
|
+
*/
|
|
59
|
+
addFeedItemStaticMessage({ id, staticMessage }: {
|
|
60
|
+
id: string;
|
|
61
|
+
staticMessage?: string;
|
|
62
|
+
}): void;
|
|
63
|
+
/**
|
|
64
|
+
* Adds a user message to the chat feed.
|
|
65
|
+
*/
|
|
66
|
+
addFeedItemUserMessage(interaction: AIChatInteraction): void;
|
|
67
|
+
/**
|
|
68
|
+
* Adds an error message to the chat feed.
|
|
69
|
+
*/
|
|
70
|
+
addFeedItemError({ errorMessage, id }: {
|
|
71
|
+
errorMessage: string;
|
|
72
|
+
id: string;
|
|
73
|
+
}): void;
|
|
74
|
+
/**
|
|
75
|
+
* Adds an AI reply to the chat feed.
|
|
76
|
+
*/
|
|
77
|
+
addFeedItemAIReply(reply: AIReply): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Adds an AI suggestion reply to the chat feed.
|
|
80
|
+
*/
|
|
81
|
+
addFeedItemAISuggestion(reply: AIReply): Promise<void>;
|
|
82
|
+
/**
|
|
83
|
+
* Adds an interaction header to the chat feed.
|
|
84
|
+
*/
|
|
85
|
+
addFeedInteractionHeader(interaction: AIChatInteraction): void;
|
|
86
|
+
/**
|
|
87
|
+
* Updates the visibility of the interaction header in the chat feed.
|
|
88
|
+
*/
|
|
89
|
+
updateFeedInteractionHeader(options: {
|
|
90
|
+
isVisible: boolean;
|
|
91
|
+
id: string;
|
|
92
|
+
}): void;
|
|
93
|
+
/**
|
|
94
|
+
* Updates the content of an AI reply in the chat feed.
|
|
95
|
+
*/
|
|
96
|
+
updateFeedItemAIReplyContent(options: {
|
|
97
|
+
id: string;
|
|
98
|
+
parsedContent: Document;
|
|
99
|
+
renderingStrategy?: AIContentRenderingStrategy;
|
|
100
|
+
isDone?: boolean;
|
|
101
|
+
}): Promise<void>;
|
|
102
|
+
updateFeedItemAIReplySources(id: string, sources: Array<AIReplySource>): void;
|
|
103
|
+
/**
|
|
104
|
+
* Updates the content of an AI suggestion reply in the chat feed.
|
|
105
|
+
*/
|
|
106
|
+
updateFeedItemAIReplySuggestionContent(options: {
|
|
107
|
+
id: string;
|
|
108
|
+
parts: Array<AISuggestionContentPartDefinition>;
|
|
109
|
+
renderingStrategy?: AIContentRenderingStrategy;
|
|
110
|
+
isDone?: boolean;
|
|
111
|
+
}): Promise<void>;
|
|
112
|
+
updateFeedItemAIReplySuggestionPartState(options: {
|
|
113
|
+
id: string;
|
|
114
|
+
index: number;
|
|
115
|
+
state: AIReplyChangeGroupState;
|
|
116
|
+
}): void;
|
|
117
|
+
/**
|
|
118
|
+
* Removes an interaction from the chat feed. Interaction is a user message + one or more AI replies.
|
|
119
|
+
*/
|
|
120
|
+
removeFeedInteraction(interactionId: string): void;
|
|
121
|
+
/**
|
|
122
|
+
* Starts a new interaction processing in the UI and marks the UI as busy.
|
|
123
|
+
*/
|
|
124
|
+
startInteraction(interaction: AIChatInteraction): void;
|
|
125
|
+
/**
|
|
126
|
+
* Handles the user stopping the interaction. It terminates all scheduled UI update promises and unlocks the UI
|
|
127
|
+
* immediately.
|
|
128
|
+
*/
|
|
129
|
+
stopInteraction(interaction: AIChatInteraction): void;
|
|
130
|
+
/**
|
|
131
|
+
* Handles the interaction finishing due to lack of data to process (or an error). Waits for all pending UI
|
|
132
|
+
* updates to finish, then unlocks the UI.
|
|
133
|
+
*/
|
|
134
|
+
finishInteraction(): Promise<void>;
|
|
135
|
+
/**
|
|
136
|
+
* Adds an item chip to the current context list.
|
|
137
|
+
*/
|
|
138
|
+
addContextItem(contextItem: AIContextItem, isLoading: boolean): void;
|
|
139
|
+
/**
|
|
140
|
+
* Removes an item from the context as chip.
|
|
141
|
+
*/
|
|
142
|
+
removeContextItem(id: string): void;
|
|
143
|
+
/**
|
|
144
|
+
* Sets the loading state of an item chip in the current context list.
|
|
145
|
+
*/
|
|
146
|
+
setContextItemLoading(uiId: string, isLoading: boolean): void;
|
|
147
|
+
/**
|
|
148
|
+
* Sets the upload in progress state.
|
|
149
|
+
*/
|
|
150
|
+
setIsUploadInProgress(isUploadInProgress: boolean): void;
|
|
151
|
+
/**
|
|
152
|
+
* Sets the conversation context chips.
|
|
153
|
+
*/
|
|
154
|
+
setConversationContext(contextItems: Array<AIContextItem>): void;
|
|
155
|
+
/**
|
|
156
|
+
* Removes all chips from the current context list.
|
|
157
|
+
*/
|
|
158
|
+
clearPendingContextUI(): void;
|
|
159
|
+
/**
|
|
160
|
+
* Clears all chips from the conversation context list.
|
|
161
|
+
*/
|
|
162
|
+
clearConversationContextUI(): void;
|
|
163
|
+
/**
|
|
164
|
+
* Updates the state of a specific resource in the balloon views.
|
|
165
|
+
*/
|
|
166
|
+
updateResourceState(sourceId: string, resourceId: string, isInContext: boolean): void;
|
|
167
|
+
/**
|
|
168
|
+
* Resets the message input in the controls view.
|
|
169
|
+
*/
|
|
170
|
+
resetMessageInput(): void;
|
|
171
|
+
/**
|
|
172
|
+
* Sets the add context options in the UI.
|
|
173
|
+
*/
|
|
174
|
+
setAddContextOptions(options: AIAddContextOptionsState): void;
|
|
175
|
+
/**
|
|
176
|
+
* Updates the capabilities of the AI chat in the UI.
|
|
177
|
+
*/
|
|
178
|
+
updateCapabilities(capabilities: AICapabilitiesConfig): void;
|
|
179
|
+
/**
|
|
180
|
+
* Updates selected AI model in the controls view.
|
|
181
|
+
*/
|
|
182
|
+
setSelectedModel(model: AIChatModel, isDisabled?: boolean): void;
|
|
183
|
+
/**
|
|
184
|
+
* Sets the rendering strategy for the feed items. Streaming is default and uses HTMLStreamer to stream the content.
|
|
185
|
+
*
|
|
186
|
+
* Static works out for messages that must appear instantly.
|
|
187
|
+
*/
|
|
188
|
+
setFeedItemRenderingStrategy(strategy: 'streaming' | 'static'): void;
|
|
189
|
+
/**
|
|
190
|
+
* Toggles the loading skeleton in the chat feed.
|
|
191
|
+
*/
|
|
192
|
+
toggleLoadingSkeleton(isLoading: boolean): void;
|
|
193
|
+
/**
|
|
194
|
+
* Resets the conversation title to the default value.
|
|
195
|
+
*/
|
|
196
|
+
resetConversationTitle(): void;
|
|
197
|
+
/**
|
|
198
|
+
* Sets the title for the conversation.
|
|
199
|
+
*
|
|
200
|
+
* @param title The new title of the conversation.
|
|
201
|
+
* @param shouldAnimate Whether the title change should be animated. Defaults to `false`.
|
|
202
|
+
*/
|
|
203
|
+
setConversationTitle(title: string, shouldAnimate?: boolean): void;
|
|
204
|
+
setIsMaximized(isMaximized: boolean): void;
|
|
205
|
+
/**
|
|
206
|
+
* Populates a source resource balloon with loaded resources.
|
|
207
|
+
*/
|
|
208
|
+
populateSourceResourceBalloon(sourceId: string, source: AIContextProvider, resources: Array<AIContextResourceState>, uid: string): void;
|
|
209
|
+
/**
|
|
210
|
+
* Closes the source resource balloon and cleans up its state.
|
|
211
|
+
*/
|
|
212
|
+
closeSourceResourceBalloon(sourceId: string): void;
|
|
213
|
+
focusPromptInput(): void;
|
|
214
|
+
scrollFeedToSuggestion(replyId: string, partIndex: number): void;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* An event fired when the user starts a new conversation.
|
|
218
|
+
*/
|
|
219
|
+
export type AIChatUIStartConversationEvent = {
|
|
220
|
+
name: 'startConversation';
|
|
221
|
+
args: [];
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* An event fired when the user sends a message to the AI.
|
|
225
|
+
*/
|
|
226
|
+
export type AIChatUISendUserMessageEvent = {
|
|
227
|
+
name: 'sendUserMessage';
|
|
228
|
+
args: [
|
|
229
|
+
string
|
|
230
|
+
];
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* An event fired when the user wants to abort the current interaction with the AI.
|
|
234
|
+
*/
|
|
235
|
+
export type AIChatUIAbortPromptStreamEvent = {
|
|
236
|
+
name: 'abortPromptStream';
|
|
237
|
+
args: [];
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* An event fired when the user wants to add a document to the context.
|
|
241
|
+
*/
|
|
242
|
+
export type AIChatUIAddDocumentToContextEvent = {
|
|
243
|
+
name: 'addDocumentToContext';
|
|
244
|
+
args: [];
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* An event fired when the user wants to add a file to the context.
|
|
248
|
+
*/
|
|
249
|
+
export type AIChatUIAddFileToContextEvent = {
|
|
250
|
+
name: 'addFileToContext';
|
|
251
|
+
args: [
|
|
252
|
+
Array<File>
|
|
253
|
+
];
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* An event fired when the user wants to add a URL to the context.
|
|
257
|
+
*/
|
|
258
|
+
export type AIChatUIAddUrlToContextEvent = {
|
|
259
|
+
name: 'addUrlToContext';
|
|
260
|
+
args: [
|
|
261
|
+
string
|
|
262
|
+
];
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* An event fired when the user wants to add a resource to the context.
|
|
266
|
+
*/
|
|
267
|
+
export type AIChatUIAddResourceToContextEvent = {
|
|
268
|
+
name: 'addResourceToContext';
|
|
269
|
+
args: [
|
|
270
|
+
{
|
|
271
|
+
source: AIContextProvider;
|
|
272
|
+
resource: AIContextResource;
|
|
273
|
+
}
|
|
274
|
+
];
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* An event fired when the user wants to remove a context item.
|
|
278
|
+
*/
|
|
279
|
+
export type AIChatUIRemoveContextItemEvent = {
|
|
280
|
+
name: 'removeContextItem';
|
|
281
|
+
args: [
|
|
282
|
+
string
|
|
283
|
+
];
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* An event fired when the user wants to load resources from a source provider.
|
|
287
|
+
*/
|
|
288
|
+
export type AIChatUILoadSourceResourcesEvent = {
|
|
289
|
+
name: 'loadSourceResources';
|
|
290
|
+
args: [
|
|
291
|
+
{
|
|
292
|
+
sourceId: string;
|
|
293
|
+
query: string;
|
|
294
|
+
uid: string;
|
|
295
|
+
}
|
|
296
|
+
];
|
|
297
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x5e2cad=_0x5a24;(function(_0x48e2b4,_0x46ddeb){const _0x4454b1=_0x5a24,_0x3839d0=_0x48e2b4();while(!![]){try{const _0x466705=parseInt(_0x4454b1(0xd9))/0x1*(parseInt(_0x4454b1(0x12c))/0x2)+-parseInt(_0x4454b1(0x127))/0x3*(parseInt(_0x4454b1(0x11c))/0x4)+parseInt(_0x4454b1(0xfa))/0x5*(parseInt(_0x4454b1(0x110))/0x6)+parseInt(_0x4454b1(0xc1))/0x7+parseInt(_0x4454b1(0x14b))/0x8*(-parseInt(_0x4454b1(0xe1))/0x9)+-parseInt(_0x4454b1(0x11f))/0xa*(-parseInt(_0x4454b1(0xea))/0xb)+-parseInt(_0x4454b1(0x105))/0xc*(parseInt(_0x4454b1(0xdf))/0xd);if(_0x466705===_0x46ddeb)break;else _0x3839d0['push'](_0x3839d0['shift']());}catch(_0x55e5cb){_0x3839d0['push'](_0x3839d0['shift']());}}}(_0x456d,0x37890));import{ContextPlugin as _0x268e9a}from'ckeditor5/src/core.js';import{_isMotionReduced as _0x42297a}from'ckeditor5/src/utils.js';import{AIChatView as _0x3533f4}from'./ui/aichatview.js';import{AITabs as _0x381b07}from'../aitabs/aitabs.js';import{getTranslation as _0x1003f2}from'../aicore/utils/common-translations.js';import{IconAIChat as _0x4c05c3}from'ckeditor5/src/icons.js';import{AIChatFeedInteractionHeaderView as _0x349a78}from'./ui/feed/aichatfeedinteractionheaderview.js';function _0x456d(){const _0x22f01e=['view','updateSuggestionPartState','values','toggleLoadingSkeleton','ai-reply','addFeedItemAIReply','chat','updateCapabilities','isMaximized','scrollToSuggestion','focusPromptInput','enqueue','resetMessageInput','1632876DczJEL','removeFeedInteraction','contextItems','disableModelSelector','context','isPremiumPlugin','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','updateFeedItemAIReplySources','setIsUploadInProgress','updateFeedItemAIReplySuggestionContent','isOfficialPlugin','AI_CHAT_WELCOME_MESSAGE','isPending','chatControls','forEach','enableModelSelector','chatHeader','startsWith','clearConversationContextUI','setLoadingMessage','areActionsDisabled','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','setConversationContext','finishInteraction','37yitzpq','setModelList','then','startAutoScroll','interaction-header','setConversationTitle','1963TvWdUP','updateReplyItem','3145401CNVeUx','addFeedItemError','setContextItemLoading','toggleSuggestionDisplayMode','AITabs','setAddContextOptions','userMessage','_animateConversationTitle','addFeedItemAISuggestion','1266089lZGodS','_interactionPromiseResolver','conversation-start','setFeedItemRenderingStrategy','ai.chat.models.modelSelectorAlwaysVisible','removeItem','isWebSearchEnabled','stopInteraction','availableModels','setModel','streaming','updateFeedItemAIReplySuggestionPartState','isLoading','updateSuggestionItem','setSelectedModel','bind','45145Bqiktq','setReasoning','closeSourceResourceBalloon','setIsMaximized','isReasoningEnabled','scrollFeedToSuggestion','feedItemRenderingStrategy','user-message','stopAutoScroll','_titleAnimationInterval','AIChatUI','22404DZZZfk','updateFeedItemAIReplyContent','populateSourceResourceBalloon','updateWebSources','AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','addFeedInteractionHeader','set','addTab','_promiseQueue','startInteraction','_getLoadingMessage','282HoGKwu','locale','markFeedItemAsDone','updateResourceState','config','removeContextItem','ai-suggestion-reply','addContextItem','destroy','setWebSearch','_view','markItemAsDone','4GXZJyi','setInputPlaceholder','plugins','30WvvICB','AI_CHAT_FEED_LOADING_MESSAGE_REASONING','isDone','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','options','addFeedItemUserMessage','from','clear','434703sDfawO','_getInputPlaceholder','isBusy','showResizeButton','pluginName','46INHPmy','quickActionData','createConversation','abort','renderingStrategy','delegate','addItem','clearPendingContextUI','get','capabilities','children','showDiff','filter','getItemIds','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','</p>','resetConversationTitle','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','requires','displayedPrompt','chatFeed','<p>','find','queueEmptyPromise','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','error-message','updateFeedInteractionHeader','addFeedItemStaticMessage','label','isVisible','AI_CHAT_HEADING','8NkdQPK','length','interactionId'];_0x456d=function(){return _0x22f01e;};return _0x456d();}function _0x5a24(_0x492b45,_0x4cd253){const _0x456d91=_0x456d();return _0x5a24=function(_0x5a2442,_0x591485){_0x5a2442=_0x5a2442-0xc0;let _0x71bb46=_0x456d91[_0x5a2442];return _0x71bb46;},_0x5a24(_0x492b45,_0x4cd253);}import{PromiseQueue as _0x433fc6}from'./utils/promisequeue.js';import{AI_CHAT_UI_EVENT_NAMES as _0x5435c2}from'./utils/eventnames.js';import'../../theme/aichat/aichat.css';export class AIChatUI extends _0x268e9a{static get[_0x5e2cad(0x13e)](){return[_0x381b07];}[_0x5e2cad(0x11a)];static get[_0x5e2cad(0x12b)](){const _0x21b126=_0x5e2cad;return _0x21b126(0x104);}static get[_0x5e2cad(0xcb)](){return!0x0;}static get[_0x5e2cad(0xc6)](){return!0x0;}[_0x5e2cad(0x100)]=_0x5e2cad(0xf4);[_0x5e2cad(0x137)]=!0x0;[_0x5e2cad(0x10d)];[_0x5e2cad(0xeb)];[_0x5e2cad(0x103)]=void 0x0;constructor(_0xed8ea5){const _0x3cff97=_0x5e2cad;super(_0xed8ea5);const _0x30e4a9=this[_0x3cff97(0xc5)][_0x3cff97(0x11e)][_0x3cff97(0x134)](_0x3cff97(0xe5));this[_0x3cff97(0x10b)](_0x3cff97(0x129),!0x1),this[_0x3cff97(0x10d)]=new _0x433fc6(),this[_0x3cff97(0x11a)]=new _0x3533f4(this[_0x3cff97(0xc5)][_0x3cff97(0x111)],_0x30e4a9[_0x3cff97(0x12a)]),this[_0x3cff97(0x11a)][_0x3cff97(0x131)](..._0x5435c2)['to'](this),this[_0x3cff97(0x11a)]['on'](_0x3cff97(0xe4),(_0x10486d,{showDiff:_0x530db0})=>{const _0x128f22=_0x3cff97;this[_0x128f22(0x137)]=_0x530db0;}),_0x30e4a9[_0x3cff97(0x14e)][_0x3cff97(0x10c)]({'id':_0x3cff97(0x154),'buttonLabel':_0x1003f2(this[_0x3cff97(0xc5)][_0x3cff97(0x111)],_0x3cff97(0x14a)),'buttonIcon':_0x4c05c3,'order':0x0,'content':this[_0x3cff97(0x11a)]}),this[_0x3cff97(0x11a)][_0x3cff97(0xce)][_0x3cff97(0xf9)](_0x3cff97(0xf6))['to'](this,_0x3cff97(0x129),_0x2d7152=>_0x2d7152),this[_0x3cff97(0x11a)][_0x3cff97(0x140)][_0x3cff97(0xf9)](_0x3cff97(0xcd))['to'](this,_0x3cff97(0x129),_0x518283=>_0x518283),this[_0x3cff97(0x11a)][_0x3cff97(0xce)][_0x3cff97(0x11d)](this[_0x3cff97(0x128)]());}[_0x5e2cad(0x118)](){const _0x469c2f=_0x5e2cad;super[_0x469c2f(0x118)](),this[_0x469c2f(0x103)]&&clearInterval(this[_0x469c2f(0x103)]);}[_0x5e2cad(0x12e)](_0x142589){const _0x3baf05=_0x5e2cad;this[_0x3baf05(0x11a)][_0x3baf05(0x140)][_0x3baf05(0x126)](),this[_0x3baf05(0x11a)][_0x3baf05(0xce)][_0x3baf05(0xd0)](),this[_0x3baf05(0x11a)][_0x3baf05(0xce)][_0x3baf05(0xda)](_0x142589[_0x3baf05(0xf2)],!this[_0x3baf05(0xc5)][_0x3baf05(0x114)][_0x3baf05(0x134)](_0x3baf05(0xee))),this[_0x3baf05(0x147)]({'id':_0x3baf05(0xec),'staticMessage':_0x1003f2(this[_0x3baf05(0xc5)][_0x3baf05(0x111)],_0x3baf05(0xcc))});}[_0x5e2cad(0x147)]({id:_0x34dfcd,staticMessage:_0x54fb98}){const _0x2dc7f0=_0x5e2cad;this[_0x2dc7f0(0x11a)][_0x2dc7f0(0x140)][_0x2dc7f0(0x132)](_0x2dc7f0(0x152),{'id':_0x34dfcd,'initialContent':_0x2dc7f0(0x141)+_0x54fb98+_0x2dc7f0(0x13b)});}[_0x5e2cad(0x124)](_0x4aa19b){const _0x3c2df2=_0x5e2cad,_0x4ad13e=_0x4aa19b[_0x3c2df2(0x12d)]?.[_0x3c2df2(0x13f)]||_0x4aa19b[_0x3c2df2(0xe7)];this[_0x3c2df2(0x11a)][_0x3c2df2(0x140)][_0x3c2df2(0x132)](_0x3c2df2(0x101),{'contextItems':Array[_0x3c2df2(0x125)](_0x4aa19b[_0x3c2df2(0xc3)][_0x3c2df2(0x150)]()),'initialContent':_0x3c2df2(0x141)+_0x4ad13e+_0x3c2df2(0x13b),'id':_0x4aa19b['id']});}[_0x5e2cad(0xe2)]({errorMessage:_0x40c3ea,id:_0x2469bd}){const _0x445000=_0x5e2cad;this[_0x445000(0x11a)][_0x445000(0x140)][_0x445000(0x132)](_0x445000(0x145),{'initialContent':_0x445000(0x141)+_0x40c3ea+_0x445000(0x13b),'id':_0x2469bd});}[_0x5e2cad(0x153)](_0x2a2172){const _0x30a51d=_0x5e2cad;return this[_0x30a51d(0x10d)][_0x30a51d(0x159)](async()=>{const _0xe2a112=_0x30a51d;this[_0xe2a112(0x11a)][_0xe2a112(0x140)][_0xe2a112(0x132)](_0xe2a112(0x152),{'id':_0x2a2172[_0xe2a112(0x14d)]+':'+_0x2a2172['id']}),this[_0xe2a112(0x11a)][_0xe2a112(0x140)][_0xe2a112(0xd4)]('');});}async[_0x5e2cad(0xe9)](_0x35a72b){const _0x36fa45=_0x5e2cad;return this[_0x36fa45(0x10d)][_0x36fa45(0x159)](async()=>{const _0x11644f=_0x36fa45;this[_0x11644f(0x11a)][_0x11644f(0x140)][_0x11644f(0x132)](_0x11644f(0x116),{'id':_0x35a72b[_0x11644f(0x14d)]+':'+_0x35a72b['id'],'areActionsDisabled':_0x35a72b[_0x11644f(0xd5)],'showDiff':this[_0x11644f(0x137)]}),this[_0x11644f(0x11a)][_0x11644f(0x140)][_0x11644f(0xd4)]('');});}[_0x5e2cad(0x10a)](_0x479e7d){const _0x158396=_0x5e2cad;this[_0x158396(0x11a)][_0x158396(0x140)][_0x158396(0x132)](_0x158396(0xdd),{'id':_0x479e7d['id'],'capabilities':_0x479e7d[_0x158396(0x135)]});}[_0x5e2cad(0x146)](_0x10e895){const _0x540ad1=_0x5e2cad,_0x34cc13=this[_0x540ad1(0x11a)][_0x540ad1(0x140)][_0x540ad1(0x136)][_0x540ad1(0x142)](_0x229903=>_0x229903[_0x540ad1(0x123)]['id']==_0x10e895['id']&&_0x229903 instanceof _0x349a78);_0x34cc13&&_0x34cc13[_0x540ad1(0x10b)](_0x540ad1(0x149),_0x10e895[_0x540ad1(0x149)]);}async[_0x5e2cad(0x106)](_0x34e84c){const _0x347534=_0x5e2cad,_0x216946=_0x34e84c[_0x347534(0x130)]||this[_0x347534(0x100)];return this[_0x347534(0x10d)][_0x347534(0x159)](async _0x1bdd61=>{const _0x26a344=_0x347534;await this[_0x26a344(0x11a)][_0x26a344(0x140)][_0x26a344(0xe0)]({..._0x34e84c,'abortSignal':_0x1bdd61,'renderingStrategy':_0x216946}),_0x34e84c[_0x26a344(0x121)]&&this[_0x26a344(0x112)](_0x34e84c['id']);});}[_0x5e2cad(0xc8)](_0x2521ab,_0x3f479c){const _0x403f13=_0x5e2cad;this[_0x403f13(0x11a)][_0x403f13(0x140)][_0x403f13(0x108)](_0x2521ab,_0x3f479c);}async[_0x5e2cad(0xca)](_0x1017ef){const _0x38e353=_0x5e2cad,_0x25b63d=_0x1017ef[_0x38e353(0x130)]||this[_0x38e353(0x100)];return this[_0x38e353(0x10d)][_0x38e353(0x159)](async _0x229d1a=>{const _0x1c5c9e=_0x38e353;await this[_0x1c5c9e(0x11a)][_0x1c5c9e(0x140)][_0x1c5c9e(0xf7)]({..._0x1017ef,'abortSignal':_0x229d1a,'renderingStrategy':_0x25b63d}),_0x1017ef[_0x1c5c9e(0x121)]&&this[_0x1c5c9e(0x112)](_0x1017ef['id']);});}[_0x5e2cad(0xf5)](_0xad341b){const _0x450f01=_0x5e2cad;this[_0x450f01(0x11a)][_0x450f01(0x140)][_0x450f01(0x14f)](_0xad341b);}[_0x5e2cad(0x112)](_0x11a048){const _0x31c44c=_0x5e2cad;this[_0x31c44c(0x11a)][_0x31c44c(0x140)][_0x31c44c(0x11b)](_0x11a048);}[_0x5e2cad(0xc2)](_0x3ae07b){const _0x13ec22=_0x5e2cad;this[_0x13ec22(0x11a)][_0x13ec22(0x140)][_0x13ec22(0x139)]()[_0x13ec22(0x138)](_0x43907c=>_0x43907c[_0x13ec22(0xd2)](_0x3ae07b))[_0x13ec22(0xcf)](_0x2e04d1=>this[_0x13ec22(0x11a)][_0x13ec22(0x140)][_0x13ec22(0xef)](_0x2e04d1));}[_0x5e2cad(0x10e)](_0x3e7113){const _0x570be1=_0x5e2cad;this[_0x570be1(0x11a)][_0x570be1(0x140)][_0x570be1(0xd4)](this[_0x570be1(0x10f)](_0x3e7113)),this[_0x570be1(0x11a)][_0x570be1(0xce)][_0x570be1(0xc4)](!this[_0x570be1(0xc5)][_0x570be1(0x114)][_0x570be1(0x134)](_0x570be1(0xee))),this[_0x570be1(0x129)]=!0x0,this[_0x570be1(0x11a)][_0x570be1(0x140)][_0x570be1(0xdc)]();}[_0x5e2cad(0xf1)](_0x32b9c4){const _0x30552e=_0x5e2cad;this[_0x30552e(0x10d)][_0x30552e(0x12f)](),this[_0x30552e(0x11a)][_0x30552e(0x140)][_0x30552e(0x139)]()[_0x30552e(0x138)](_0x2d58c2=>_0x2d58c2[_0x30552e(0xd2)](_0x32b9c4['id']))[_0x30552e(0xcf)](_0x385dac=>this[_0x30552e(0x112)](_0x385dac)),this[_0x30552e(0x129)]=!0x1,this[_0x30552e(0x11a)][_0x30552e(0x140)][_0x30552e(0x102)]();}async[_0x5e2cad(0xd8)](){const _0x310cd0=_0x5e2cad;return this[_0x310cd0(0x10d)][_0x310cd0(0x143)][_0x310cd0(0xdb)](()=>{const _0x3ddf73=_0x310cd0;this[_0x3ddf73(0x129)]=!0x1,this[_0x3ddf73(0x11a)][_0x3ddf73(0x140)][_0x3ddf73(0x102)]();});}[_0x5e2cad(0x117)](_0x265667,_0x5bd5f9){const _0x11df30=_0x5e2cad;this[_0x11df30(0x11a)][_0x11df30(0xce)][_0x11df30(0x117)](_0x265667,_0x5bd5f9);}[_0x5e2cad(0x115)](_0x5bb947){const _0xe19348=_0x5e2cad;this[_0xe19348(0x11a)][_0xe19348(0xce)][_0xe19348(0x115)](_0x5bb947);}[_0x5e2cad(0xe3)](_0x477122,_0x2d111f){const _0x1dbd65=_0x5e2cad;this[_0x1dbd65(0x11a)][_0x1dbd65(0xce)][_0x1dbd65(0xe3)](_0x477122,_0x2d111f);}[_0x5e2cad(0xc9)](_0x4e9d4f){const _0x15b11e=_0x5e2cad;this[_0x15b11e(0x11a)][_0x15b11e(0xce)][_0x15b11e(0xc9)](_0x4e9d4f);}[_0x5e2cad(0xd7)](_0x32af8a){const _0x129ccc=_0x5e2cad;this[_0x129ccc(0x11a)][_0x129ccc(0xce)][_0x129ccc(0xd7)](_0x32af8a);}[_0x5e2cad(0x133)](){const _0x4cd1a1=_0x5e2cad;this[_0x4cd1a1(0x11a)][_0x4cd1a1(0xce)][_0x4cd1a1(0x133)]();}[_0x5e2cad(0xd3)](){const _0x55a73e=_0x5e2cad;this[_0x55a73e(0x11a)][_0x55a73e(0xce)][_0x55a73e(0xd3)]();}[_0x5e2cad(0x113)](_0x226746,_0x2839c8,_0x4a057f){const _0x274004=_0x5e2cad;this[_0x274004(0x11a)][_0x274004(0xce)][_0x274004(0x113)](_0x226746,_0x2839c8,_0x4a057f);}[_0x5e2cad(0xc0)](){const _0x2f3aef=_0x5e2cad;this[_0x2f3aef(0x11a)][_0x2f3aef(0xce)][_0x2f3aef(0xc0)](),this[_0x2f3aef(0x11a)][_0x2f3aef(0xce)][_0x2f3aef(0x11d)](this[_0x2f3aef(0x128)]());}[_0x5e2cad(0xe6)](_0x37d144){const _0x7fbeb7=_0x5e2cad;this[_0x7fbeb7(0x11a)][_0x7fbeb7(0xce)][_0x7fbeb7(0xe6)](_0x37d144);}[_0x5e2cad(0x155)](_0x3f0cb1){const _0x134b5a=_0x5e2cad;this[_0x134b5a(0x11a)][_0x134b5a(0xce)][_0x134b5a(0x119)](_0x3f0cb1[_0x134b5a(0xf0)]),this[_0x134b5a(0x11a)][_0x134b5a(0xce)][_0x134b5a(0xfb)](_0x3f0cb1[_0x134b5a(0xfe)]),this[_0x134b5a(0x11a)][_0x134b5a(0xce)][_0x134b5a(0x11d)](this[_0x134b5a(0x128)](_0x3f0cb1));}[_0x5e2cad(0xf8)](_0x1c1321,_0x341b79){const _0x25acf6=_0x5e2cad;this[_0x25acf6(0x11a)][_0x25acf6(0xce)][_0x25acf6(0xf3)](_0x1c1321),_0x341b79&&this[_0x25acf6(0x11a)][_0x25acf6(0xce)][_0x25acf6(0xc4)](!0x1);}[_0x5e2cad(0xed)](_0x198be5){const _0x146658=_0x5e2cad;this[_0x146658(0x100)]=_0x198be5;}[_0x5e2cad(0x151)](_0x4bfd2d){const _0x2cffd5=_0x5e2cad;this[_0x2cffd5(0x11a)][_0x2cffd5(0x140)][_0x2cffd5(0x151)](_0x4bfd2d);}[_0x5e2cad(0x13c)](){const _0x19a547=_0x5e2cad;this[_0x19a547(0xde)](_0x1003f2(this[_0x19a547(0xc5)][_0x19a547(0x111)],_0x19a547(0x14a)));}[_0x5e2cad(0xde)](_0x3e5699,_0x59ee5b=!0x1){const _0x18f4a7=_0x5e2cad;if(_0x59ee5b&&!_0x42297a()&&_0x3e5699[_0x18f4a7(0x14c)])return this[_0x18f4a7(0x11a)][_0x18f4a7(0xd1)][_0x18f4a7(0x148)]='',void this[_0x18f4a7(0xe8)](_0x3e5699);this[_0x18f4a7(0x11a)][_0x18f4a7(0xd1)][_0x18f4a7(0x148)]=_0x3e5699;}[_0x5e2cad(0xe8)](_0x2f844e){const _0x3887f9=_0x5e2cad;let _0x1f003f=0x0;clearInterval(this[_0x3887f9(0x103)]),this[_0x3887f9(0x103)]=setInterval(()=>{const _0x4a6700=_0x3887f9;this[_0x4a6700(0x11a)][_0x4a6700(0xd1)][_0x4a6700(0x148)]=this[_0x4a6700(0x11a)][_0x4a6700(0xd1)][_0x4a6700(0x148)]+_0x2f844e[_0x1f003f],_0x1f003f++,_0x1f003f===_0x2f844e[_0x4a6700(0x14c)]&&clearInterval(this[_0x4a6700(0x103)]);},0x1e);}[_0x5e2cad(0xfd)](_0x264401){const _0x25d913=_0x5e2cad;this[_0x25d913(0x11a)][_0x25d913(0xd1)][_0x25d913(0x156)]=_0x264401;}[_0x5e2cad(0x10f)](_0x44db45){const _0x1da12f=_0x5e2cad,_0x1b55e5=_0x44db45[_0x1da12f(0x135)];return _0x1b55e5[_0x1da12f(0xf0)]&&_0x1b55e5[_0x1da12f(0xfe)]?_0x1003f2(this[_0x1da12f(0xc5)][_0x1da12f(0x111)],_0x1da12f(0x13a)):_0x1b55e5[_0x1da12f(0xf0)]?_0x1003f2(this[_0x1da12f(0xc5)][_0x1da12f(0x111)],_0x1da12f(0x122)):_0x1b55e5[_0x1da12f(0xfe)]?_0x1003f2(this[_0x1da12f(0xc5)][_0x1da12f(0x111)],_0x1da12f(0x120)):_0x1003f2(this[_0x1da12f(0xc5)][_0x1da12f(0x111)],_0x1da12f(0x109));}[_0x5e2cad(0x128)](_0x3313b1){const _0x497f6a=_0x5e2cad;return _0x3313b1?_0x3313b1[_0x497f6a(0xf0)]&&_0x3313b1[_0x497f6a(0xfe)]?_0x1003f2(this[_0x497f6a(0xc5)][_0x497f6a(0x111)],_0x497f6a(0x144)):_0x3313b1[_0x497f6a(0xf0)]?_0x1003f2(this[_0x497f6a(0xc5)][_0x497f6a(0x111)],_0x497f6a(0xc7)):_0x3313b1[_0x497f6a(0xfe)]?_0x1003f2(this[_0x497f6a(0xc5)][_0x497f6a(0x111)],_0x497f6a(0x13d)):_0x1003f2(this[_0x497f6a(0xc5)][_0x497f6a(0x111)],_0x497f6a(0xd6)):_0x1003f2(this[_0x497f6a(0xc5)][_0x497f6a(0x111)],_0x497f6a(0xd6));}[_0x5e2cad(0x107)](_0x4432cc,_0x52291b,_0x5d903d,_0x35eda3){const _0x1955e6=_0x5e2cad;this[_0x1955e6(0x11a)][_0x1955e6(0x107)](_0x4432cc,_0x52291b,_0x5d903d,_0x35eda3);}[_0x5e2cad(0xfc)](_0x1a44b7){const _0x14d9a4=_0x5e2cad;this[_0x14d9a4(0x11a)][_0x14d9a4(0xfc)](_0x1a44b7);}[_0x5e2cad(0x158)](){const _0x35c853=_0x5e2cad;this[_0x35c853(0x11a)][_0x35c853(0xce)][_0x35c853(0x158)]();}[_0x5e2cad(0xff)](_0xa6d995,_0x47145b){const _0x20626d=_0x5e2cad;this[_0x20626d(0x11a)][_0x20626d(0x140)][_0x20626d(0x157)](_0xa6d995,_0x47145b);}}
|