@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.4.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 +1 -1
- package/README.md +1 -1
- package/build/ai.js +3 -3
- 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-content.css +1 -1
- package/dist/index-editor.css +67 -4
- package/dist/index.css +117 -54
- package/dist/index.js +6 -6
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/contexts.json +0 -11
- package/lang/translations/af.po +1 -45
- package/lang/translations/ar.po +1 -45
- package/lang/translations/ast.po +1 -45
- package/lang/translations/az.po +1 -45
- package/lang/translations/be.po +1 -45
- package/lang/translations/bg.po +1 -45
- package/lang/translations/bn.po +1 -45
- package/lang/translations/bs.po +1 -45
- package/lang/translations/ca.po +1 -45
- package/lang/translations/cs.po +1 -45
- package/lang/translations/da.po +1 -45
- package/lang/translations/de-ch.po +1 -45
- package/lang/translations/de.po +1 -45
- package/lang/translations/el.po +1 -45
- package/lang/translations/en-au.po +1 -45
- package/lang/translations/en-gb.po +1 -45
- package/lang/translations/en.po +1 -45
- package/lang/translations/eo.po +1 -45
- package/lang/translations/es-co.po +1 -45
- package/lang/translations/es.po +1 -45
- package/lang/translations/et.po +1 -45
- package/lang/translations/eu.po +1 -45
- package/lang/translations/fa.po +1 -45
- package/lang/translations/fi.po +1 -45
- package/lang/translations/fr.po +1 -45
- package/lang/translations/gl.po +1 -45
- package/lang/translations/gu.po +1 -45
- package/lang/translations/he.po +1 -45
- package/lang/translations/hi.po +1 -45
- package/lang/translations/hr.po +1 -45
- package/lang/translations/hu.po +1 -45
- package/lang/translations/hy.po +1 -45
- package/lang/translations/id.po +1 -45
- package/lang/translations/it.po +1 -45
- package/lang/translations/ja.po +1 -45
- package/lang/translations/jv.po +1 -45
- package/lang/translations/kk.po +1 -45
- package/lang/translations/km.po +1 -45
- package/lang/translations/kn.po +1 -45
- package/lang/translations/ko.po +1 -45
- package/lang/translations/ku.po +1 -45
- package/lang/translations/lt.po +1 -45
- package/lang/translations/lv.po +1 -45
- package/lang/translations/ms.po +1 -45
- package/lang/translations/nb.po +1 -45
- package/lang/translations/ne.po +1 -45
- package/lang/translations/nl.po +1 -45
- package/lang/translations/no.po +1 -45
- package/lang/translations/oc.po +1 -45
- package/lang/translations/pl.po +1 -45
- package/lang/translations/pt-br.po +1 -45
- package/lang/translations/pt.po +1 -45
- package/lang/translations/ro.po +1 -45
- package/lang/translations/ru.po +1 -45
- package/lang/translations/si.po +1 -45
- package/lang/translations/sk.po +1 -45
- package/lang/translations/sl.po +1 -45
- package/lang/translations/sq.po +1 -45
- package/lang/translations/sr-latn.po +1 -45
- package/lang/translations/sr.po +1 -45
- package/lang/translations/sv.po +1 -45
- package/lang/translations/th.po +1 -45
- package/lang/translations/ti.po +1 -45
- package/lang/translations/tk.po +1 -45
- package/lang/translations/tr.po +1 -45
- package/lang/translations/tt.po +1 -45
- package/lang/translations/ug.po +1 -45
- package/lang/translations/uk.po +1 -45
- package/lang/translations/ur.po +1 -45
- package/lang/translations/uz.po +1 -45
- package/lang/translations/vi.po +1 -45
- package/lang/translations/zh-cn.po +1 -45
- package/lang/translations/zh.po +1 -45
- package/package.json +16 -16
- package/src/aiactions/aiactions.d.ts +5 -1
- package/src/aiactions/aiactions.js +2 -2
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +2 -2
- package/src/aiactions/model/aiactionsreply.d.ts +1 -1
- package/src/aiactions/model/aiactionsreply.js +2 -2
- package/src/aiassistant/adapters/aiadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aiadapter.js +2 -2
- package/src/aiassistant/adapters/aitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +2 -2
- package/src/aiassistant/adapters/awstextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +2 -2
- package/src/aiassistant/adapters/openaitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +2 -2
- package/src/aiassistant/aiassistant.d.ts +1 -1
- package/src/aiassistant/aiassistant.js +2 -2
- package/src/aiassistant/aiassistantediting.d.ts +1 -1
- package/src/aiassistant/aiassistantediting.js +2 -2
- package/src/aiassistant/aiassistantui.d.ts +1 -1
- package/src/aiassistant/aiassistantui.js +2 -2
- package/src/aiassistant/legacyerrors.d.ts +1 -1
- package/src/aiassistant/legacyerrors.js +2 -2
- package/src/aiassistant/ui/aiassistantcontroller.d.ts +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +3 -3
- package/src/aiassistant/ui/form/aiformcontentarea.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +2 -2
- package/src/aiassistant/ui/form/aiformerrorview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +2 -2
- package/src/aiassistant/ui/form/aiformpromptview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +2 -2
- package/src/aiassistant/ui/form/aiformtoolbarview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +2 -2
- package/src/aiassistant/ui/form/aiformview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +2 -2
- package/src/aiassistant/ui/form/prompthistory.d.ts +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +2 -2
- package/src/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +2 -2
- package/src/aiassistant/utils/common-translations.d.ts +1 -1
- package/src/aiassistant/utils/common-translations.js +2 -2
- package/src/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +2 -2
- package/src/aiballoon/aiballoon.d.ts +1 -1
- package/src/aiballoon/aiballoon.js +2 -2
- package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +2 -2
- package/src/aiballoon/ui/aiballoontoolbarview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +2 -2
- package/src/aiballoon/ui/aiballoonview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoonview.js +2 -2
- package/src/aichat/aichat.d.ts +38 -4
- package/src/aichat/aichat.js +2 -2
- package/src/aichat/aichatcontroller.d.ts +5 -1
- package/src/aichat/aichatcontroller.js +2 -2
- package/src/aichat/aichatui.d.ts +3 -3
- package/src/aichat/aichatui.js +2 -2
- package/src/aichat/model/aichatcontext.d.ts +1 -1
- package/src/aichat/model/aichatcontext.js +2 -2
- package/src/aichat/model/aichatconversation.d.ts +10 -10
- package/src/aichat/model/aichatconversation.js +2 -2
- package/src/aichat/model/aichatinteraction.d.ts +1 -1
- package/src/aichat/model/aichatinteraction.js +2 -2
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -4
- package/src/aichat/ui/aichatcontrolsview.js +2 -2
- package/src/aichat/ui/aichatfeedview.d.ts +1 -1
- package/src/aichat/ui/aichatfeedview.js +2 -2
- package/src/aichat/ui/aichatheaderview.d.ts +1 -1
- package/src/aichat/ui/aichatheaderview.js +2 -2
- package/src/aichat/ui/aichatview.d.ts +1 -1
- package/src/aichat/ui/aichatview.js +2 -2
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +2 -2
- package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +2 -2
- package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +5 -5
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +2 -2
- package/src/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +2 -2
- package/src/aichat/utils/eventnames.d.ts +1 -1
- package/src/aichat/utils/eventnames.js +2 -2
- package/src/aichat/utils/promisequeue.d.ts +1 -1
- package/src/aichat/utils/promisequeue.js +2 -2
- package/src/aichathistory/aichathistory.d.ts +1 -1
- package/src/aichathistory/aichathistory.js +2 -2
- package/src/aichathistory/aichathistorycontroller.d.ts +1 -1
- package/src/aichathistory/aichathistorycontroller.js +2 -2
- package/src/aichathistory/aichathistoryui.d.ts +1 -1
- package/src/aichathistory/aichathistoryui.js +2 -2
- package/src/aichathistory/model/aichathistoryconversations.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +2 -2
- package/src/aichathistory/model/aichathistoryitem.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +2 -2
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +3 -3
- package/src/aichathistory/ui/aichathistorylistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +2 -2
- package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +2 -2
- package/src/aichathistory/ui/aichathistoryview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +2 -2
- package/src/aiconfig.d.ts +1 -1
- package/src/aiconfig.js +1 -1
- package/src/aicore/aiconnector.d.ts +4 -2
- package/src/aicore/aiconnector.js +2 -2
- package/src/aicore/aiediting.d.ts +1 -1
- package/src/aicore/aiediting.js +2 -2
- package/src/aicore/model/aicapabilities.d.ts +1 -1
- package/src/aicore/model/aicapabilities.js +2 -2
- package/src/aicore/model/aicontext.d.ts +1 -1
- package/src/aicore/model/aicontext.js +2 -2
- package/src/aicore/model/aiinteraction.d.ts +1 -1
- package/src/aicore/model/aiinteraction.js +2 -2
- package/src/aicore/model/aimodels.d.ts +3 -12
- package/src/aicore/model/aimodels.js +2 -2
- package/src/aicore/model/aireply.d.ts +1 -1
- package/src/aicore/model/aireply.js +2 -2
- package/src/aicore/pipeline/airesponseapplier.d.ts +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +3 -3
- package/src/aicore/pipeline/airesponseparser.d.ts +1 -1
- package/src/aicore/pipeline/airesponseparser.js +3 -3
- package/src/aicore/ui/aidisclaimerview.d.ts +1 -1
- package/src/aicore/ui/aidisclaimerview.js +2 -2
- package/src/aicore/ui/aiskeleton.d.ts +1 -1
- package/src/aicore/ui/aiskeleton.js +2 -2
- package/src/aicore/ui/aispinner.d.ts +1 -1
- package/src/aicore/ui/aispinner.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +5 -5
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +2 -2
- package/src/aicore/utils/common-translations.d.ts +1 -1
- package/src/aicore/utils/common-translations.js +2 -2
- package/src/aicore/utils/createresizebutton.d.ts +1 -1
- package/src/aicore/utils/createresizebutton.js +2 -2
- package/src/aicore/utils/documentposition.d.ts +1 -1
- package/src/aicore/utils/documentposition.js +2 -2
- package/src/aicore/utils/documentrange.d.ts +1 -1
- package/src/aicore/utils/documentrange.js +2 -2
- package/src/aicore/utils/eventnames.d.ts +1 -1
- package/src/aicore/utils/eventnames.js +2 -2
- package/src/aicore/utils/geteditorfromcontext.d.ts +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +2 -2
- package/src/aicore/utils/getoperationsfromreply.d.ts +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +2 -2
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +2 -2
- package/src/aicore/utils/htmlparser.d.ts +1 -1
- package/src/aicore/utils/htmlparser.js +2 -2
- package/src/aicore/utils/htmlstreamer.d.ts +1 -1
- package/src/aicore/utils/htmlstreamer.js +2 -2
- package/src/aicore/utils/scrollmanager.d.ts +1 -1
- package/src/aicore/utils/scrollmanager.js +2 -2
- package/src/aieditorintegration/aieditorintegration.d.ts +1 -1
- package/src/aieditorintegration/aieditorintegration.js +2 -2
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +2 -2
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +2 -2
- package/src/aiquickactions/aiquickactions.d.ts +1 -1
- package/src/aiquickactions/aiquickactions.js +2 -2
- package/src/aiquickactions/aiquickactionscommand.d.ts +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +2 -2
- package/src/aiquickactions/aiquickactionsediting.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +2 -2
- package/src/aiquickactions/aiquickactionsui.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsui.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +2 -2
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +2 -2
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +2 -2
- package/src/aireviewmode/aireviewmode.d.ts +1 -1
- package/src/aireviewmode/aireviewmode.js +2 -2
- package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +2 -2
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +2 -2
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +2 -2
- package/src/aireviewmode/model/aireviewcheck.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +2 -2
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +2 -2
- package/src/aireviewmode/model/aireviewchecklist.d.ts +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresult.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +2 -2
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +2 -2
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +2 -2
- package/src/aitabs/aitabs.d.ts +1 -1
- package/src/aitabs/aitabs.js +2 -2
- package/src/aitabs/aitabsmainview.d.ts +1 -1
- package/src/aitabs/aitabsmainview.js +2 -2
- package/src/aitabs/tabs/aitabsview.d.ts +1 -1
- package/src/aitabs/tabs/aitabsview.js +2 -2
- package/src/aitabs/tabs/tabbuttonview.d.ts +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +2 -2
- package/src/aitabs/tabs/tabpanelview.d.ts +1 -1
- package/src/aitabs/tabs/tabpanelview.js +2 -2
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/errors.d.ts +1 -1
- package/src/errors.js +2 -2
- package/src/errorsmap.d.ts +1 -1
- package/src/errorsmap.js +2 -2
- package/src/index.d.ts +1 -2
- package/src/index.js +2 -2
- package/theme/aiassistant/ai-dropdown.css +1 -1
- package/theme/aiassistant/ai-form.css +1 -1
- package/theme/aiassistant/ai.css +1 -1
- package/theme/aiballoon/aiballoon.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-button.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
- package/theme/aichat/aichat-controls/model-unavailable-message.css +1 -1
- package/theme/aichat/aichat-controls/prompt-capabilities.css +1 -1
- package/theme/aichat/aichat-controls/prompt-input.css +1 -1
- package/theme/aichat/aichat-controls.css +1 -1
- package/theme/aichat/aichat.css +1 -1
- package/theme/aichat/aichatfeed.css +55 -1
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aiminitoolbar.css +1 -1
- package/theme/aichat/aisuggestioncontainer.css +1 -1
- package/theme/aieditorintegration/aitogglebutton.css +1 -1
- package/theme/aiquickactions/aiquickactions.css +1 -1
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run-result.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run.css +1 -1
- package/theme/aireviewmode/aireviewmode-review-completed.css +1 -1
- package/theme/aireviewmode/aireviewmode.css +9 -4
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -1
- package/theme/aitabs/tabs/tabsview.css +1 -1
- package/theme/common/aibutton.css +1 -1
- package/theme/common/aidisclaimer.css +1 -1
- package/theme/common/aiheader.css +1 -1
- package/theme/common/ainotification.css +1 -1
- package/theme/common/aiskeleton.css +1 -1
- package/theme/common/aispinner.css +1 -1
- package/theme/common/aitrackchanges.css +1 -1
- package/src/aichat/model/aichatmodels.d.ts +0 -63
- package/src/aichat/model/aichatmodels.js +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7887e8=_0x4e42;(function(_0x373760,_0x5ec48b){const _0x2bd5d6=_0x4e42,_0x17cc9a=_0x373760();while(!![]){try{const _0x5f4ec9=-parseInt(_0x2bd5d6(0x1f4))/0x1*(-parseInt(_0x2bd5d6(0x1bb))/0x2)+-parseInt(_0x2bd5d6(0x1fe))/0x3+-parseInt(_0x2bd5d6(0x1db))/0x4*(-parseInt(_0x2bd5d6(0x1d3))/0x5)+-parseInt(_0x2bd5d6(0x1fa))/0x6+parseInt(_0x2bd5d6(0x1f6))/0x7*(parseInt(_0x2bd5d6(0x1f2))/0x8)+-parseInt(_0x2bd5d6(0x1d9))/0x9*(parseInt(_0x2bd5d6(0x1b9))/0xa)+-parseInt(_0x2bd5d6(0x1ff))/0xb*(parseInt(_0x2bd5d6(0x1c4))/0xc);if(_0x5f4ec9===_0x5ec48b)break;else _0x17cc9a['push'](_0x17cc9a['shift']());}catch(_0x7f1e63){_0x17cc9a['push'](_0x17cc9a['shift']());}}}(_0x2031,0xe7f96));function _0x4e42(_0x5f3427,_0x2c2d1a){const _0x203129=_0x2031();return _0x4e42=function(_0x4e420a,_0x28f92d){_0x4e420a=_0x4e420a-0x1b2;let _0x47bf24=_0x203129[_0x4e420a];return _0x47bf24;},_0x4e42(_0x5f3427,_0x2c2d1a);}import{CKEditorError as _0xa95626,logWarning as _0x4273d9,scrollViewportToShowTarget as _0xd5d10c}from'ckeditor5/src/utils.js';import{View as _0x1af575}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x4f92fd}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x59d790}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x153d9f}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x79d724}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x565269}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x338e28}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x937dd8}from'../../aicore/utils/scrollmanager.js';import{AISkeletonView as _0x43292e,SKELETON_DEFINITIONS as _0x5855af}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x543082}from'../../aicore/ui/aispinner.js';function _0x2031(){const _0x328017=['8628JaOKEm','ai-chat-feed-view-item-not-found','updateReplyItem','removeItem','createCollection','_bodyCollection','_setupTemplate','ck-hidden','ck-ai-chat__feed__items','aiFeed','ck-ai-chat__loader-text','destroy','ai-chat-feed-view-item-not-a-suggestion-item','set','bind','15XTFYRM','isTrackChangesOn','setTemplate','stop','bindTemplate','toggleLoadingSkeleton','27hPCXvF','isPending','2369048zKZdTv','interaction-header','_createLoaderChildren','updateWebSources','getItemById','ai-chat-feed-view-item-not-a-reply-item','loadingMessage','scrollToSuggestion','options','startAutoScroll','children','_createFeedLoader','ck-ai-chat__loader','updatePartState','span','isLoadingSkeletonVisible','includes','ai-reply','extendTemplate','find','isVisible','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','8zElVuo','_createFeedItems','11OlSgMx','div','6786990yAHZKH','user-message','updateSuggestionPartState','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','8110152mBSQXH','ai-suggestion-reply','ck-ai-chat__feed','addItem','771144iaJCwk','9933FRnzVp','map','_createSkeletonLoader','remove','render','delegate','stopAutoScroll','add','getItemIds','element','setLoadingMessage','updateSources','scrollManager','3610550Hxwany','start','280904xvlamz','clear','markAsDone','updateContent','updateSuggestionItem','_createTemplateChildren','locale','getPartView','markItemAsDone'];_0x2031=function(){return _0x328017;};return _0x2031();}export class AIChatFeedView extends _0x1af575{[_0x7887e8(0x1e5)];[_0x7887e8(0x1b8)];[_0x7887e8(0x1c9)];constructor(_0x26c061,_0x26e08c){const _0x1afe3d=_0x7887e8;super(_0x26c061),this[_0x1afe3d(0x1c9)]=_0x26e08c,this[_0x1afe3d(0x1d1)](_0x1afe3d(0x1da),!0x1),this[_0x1afe3d(0x1d1)](_0x1afe3d(0x1e1),''),this[_0x1afe3d(0x1d1)](_0x1afe3d(0x1ea),!0x1),this[_0x1afe3d(0x1d1)](_0x1afe3d(0x1d4),!0x1),this[_0x1afe3d(0x1e5)]=this[_0x1afe3d(0x1c8)](),this[_0x1afe3d(0x1e5)][_0x1afe3d(0x204)](..._0x4f92fd)['to'](this),this[_0x1afe3d(0x1ca)]();}[_0x7887e8(0x203)](){const _0xf545ca=_0x7887e8;super[_0xf545ca(0x203)](),this[_0xf545ca(0x1b8)]=new _0x937dd8(this[_0xf545ca(0x1b5)]);}[_0x7887e8(0x1cf)](){const _0xcb21b=_0x7887e8;super[_0xcb21b(0x1cf)](),this[_0xcb21b(0x1b8)][_0xcb21b(0x1cf)]();}[_0x7887e8(0x1bc)](){const _0x170e3d=_0x7887e8;this[_0x170e3d(0x1e5)][_0x170e3d(0x1bc)]();}[_0x7887e8(0x1fd)](_0x2aa2cd,_0x3f8f09){const _0x431562=_0x7887e8;let _0x52332c;_0x431562(0x1ec)===_0x2aa2cd?_0x52332c=new _0x153d9f(this[_0x431562(0x1c1)],_0x3f8f09,this[_0x431562(0x1c9)]):_0x431562(0x1fb)===_0x2aa2cd?(_0x52332c=new _0x59d790(this[_0x431562(0x1c1)],_0x3f8f09,this[_0x431562(0x1c9)]),_0x52332c[_0x431562(0x1d2)](_0x431562(0x1d4))['to'](this,_0x431562(0x1d4))):_0x52332c=_0x431562(0x1f7)===_0x2aa2cd?new _0x79d724(this[_0x431562(0x1c1)],_0x3f8f09,this[_0x431562(0x1c9)]):_0x431562(0x1dc)===_0x2aa2cd?new _0x338e28(this[_0x431562(0x1c1)],_0x3f8f09):new _0x565269(_0x3f8f09),this[_0x431562(0x1e5)][_0x431562(0x1b3)](_0x52332c);}async[_0x7887e8(0x1c6)]({id:_0x34a42e,parsedContent:_0x2c49a4,renderingStrategy:_0x5e7fb7,abortSignal:_0x554733}){const _0x23bc11=_0x7887e8,_0x468c7a=this[_0x23bc11(0x1df)](_0x34a42e);if(!(_0x468c7a instanceof _0x153d9f))throw new _0xa95626(_0x23bc11(0x1e0),null,{'itemView':_0x468c7a,'id':_0x34a42e,'parsedContent':_0x2c49a4});await _0x468c7a[_0x23bc11(0x1be)]({'parsedContent':_0x2c49a4,'renderingStrategy':_0x5e7fb7,'abortSignal':_0x554733});}async[_0x7887e8(0x1de)](_0x38fcee,_0x2b5072){const _0x1007f3=_0x7887e8,_0x508b86=this[_0x1007f3(0x1df)](_0x38fcee);if(_0x508b86 instanceof _0x59d790)_0x508b86[_0x1007f3(0x1b7)](_0x2b5072);else{if(!(_0x508b86 instanceof _0x153d9f))throw new _0xa95626(_0x1007f3(0x1f1),null,{'itemView':_0x508b86,'id':_0x38fcee,'sources':_0x2b5072});_0x508b86[_0x1007f3(0x1b7)](_0x2b5072);}}async[_0x7887e8(0x1bf)]({id:_0x451076,parts:_0x46f2d1,renderingStrategy:_0x2dccbb,abortSignal:_0x252cf0}){const _0x5301aa=_0x7887e8,_0x3b1dde=this[_0x5301aa(0x1df)](_0x451076);if(!(_0x3b1dde instanceof _0x59d790))throw new _0xa95626(_0x5301aa(0x1d0),null,{'itemView':_0x3b1dde,'id':_0x451076,'parts':_0x46f2d1});await _0x3b1dde[_0x5301aa(0x1be)]({'parts':_0x46f2d1,'renderingStrategy':_0x2dccbb,'abortSignal':_0x252cf0});}[_0x7887e8(0x1f8)]({id:_0xc801b1,index:_0x2efb8d,state:_0x56b531}){const _0x5f3489=_0x7887e8,_0x1bcbc8=this[_0x5f3489(0x1df)](_0xc801b1);if(!(_0x1bcbc8 instanceof _0x59d790))throw new _0xa95626(_0x5f3489(0x1d0),this,{'id':_0xc801b1});_0x1bcbc8[_0x5f3489(0x1e8)](_0x2efb8d,_0x56b531);}[_0x7887e8(0x1c3)](_0x5387eb){const _0x5e2643=_0x7887e8;this[_0x5e2643(0x1df)](_0x5387eb)[_0x5e2643(0x1bd)]();}[_0x7887e8(0x1b4)](){const _0x3c0fba=_0x7887e8;return this[_0x3c0fba(0x1e5)][_0x3c0fba(0x200)](_0x585d2a=>_0x585d2a[_0x3c0fba(0x1e3)]['id']);}[_0x7887e8(0x1c7)](_0x1f042a){const _0x51a0ed=_0x7887e8;this[_0x51a0ed(0x1e5)][_0x51a0ed(0x202)](this[_0x51a0ed(0x1df)](_0x1f042a));}[_0x7887e8(0x1e2)](_0x28ac0c,_0x5300dc){const _0x1906c6=_0x7887e8,_0x21490e=this[_0x1906c6(0x1df)](_0x28ac0c);if(!(_0x21490e instanceof _0x59d790))return void _0x4273d9(_0x1906c6(0x1f0),{'replyId':_0x28ac0c,'partIndex':_0x5300dc});const _0x26260d=_0x21490e[_0x1906c6(0x1c2)](_0x5300dc);_0x26260d?_0xd5d10c({'target':_0x26260d[_0x1906c6(0x1b5)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x4273d9(_0x1906c6(0x1f9),{'replyId':_0x28ac0c,'partIndex':_0x5300dc});}[_0x7887e8(0x1ca)](){const _0x5d0727=_0x7887e8;this[_0x5d0727(0x1d5)]({'tag':_0x5d0727(0x1f5),'attributes':{'class':['ck',_0x5d0727(0x1fc)]},'children':this[_0x5d0727(0x1c0)]()});}[_0x7887e8(0x1c0)](){const _0x5cf075=_0x7887e8,_0x2b7c67=this[_0x5cf075(0x201)]();return[this[_0x5cf075(0x1f3)](),_0x2b7c67,this[_0x5cf075(0x1e6)]()];}[_0x7887e8(0x201)](){const _0xbd5ffe=_0x7887e8,_0x59e317=new _0x43292e(this[_0xbd5ffe(0x1c1)],_0x5855af[_0xbd5ffe(0x1cd)]);return _0x59e317[_0xbd5ffe(0x1ed)]({'attributes':{'class':[this[_0xbd5ffe(0x1d7)]['if'](_0xbd5ffe(0x1ea),_0xbd5ffe(0x1cb),_0x399967=>!_0x399967)]}}),_0x59e317;}[_0x7887e8(0x1f3)](){const _0x84424a=_0x7887e8,_0x44638e=new _0x1af575(this[_0x84424a(0x1c1)]);return _0x44638e[_0x84424a(0x1d5)]({'tag':_0x84424a(0x1f5),'attributes':{'class':['ck',_0x84424a(0x1cc),this[_0x84424a(0x1d7)]['if'](_0x84424a(0x1ea),_0x84424a(0x1cb))]},'children':this[_0x84424a(0x1e5)]}),_0x44638e;}[_0x7887e8(0x1e6)](){const _0x30f56a=_0x7887e8,_0x181ecc=new _0x1af575(this[_0x30f56a(0x1c1)]);return _0x181ecc[_0x30f56a(0x1d5)]({'tag':_0x30f56a(0x1f5),'attributes':{'class':['ck',_0x30f56a(0x1e7),this[_0x30f56a(0x1d7)]['if'](_0x30f56a(0x1da),_0x30f56a(0x1cb),_0x4a06f8=>!_0x4a06f8)]},'children':this[_0x30f56a(0x1dd)]()}),_0x181ecc;}[_0x7887e8(0x1dd)](){const _0x4a8c33=_0x7887e8,_0x1d24e4=new _0x543082();return _0x1d24e4[_0x4a8c33(0x1ef)]=!0x0,[_0x1d24e4,{'tag':_0x4a8c33(0x1e9),'attributes':{'class':['ck',_0x4a8c33(0x1ce)]},'children':[{'text':this[_0x4a8c33(0x1d7)]['to'](_0x4a8c33(0x1e1))}]}];}[_0x7887e8(0x1df)](_0x39d297){const _0x254523=_0x7887e8,_0x25a352=this[_0x254523(0x1e5)][_0x254523(0x1ee)](_0x4fcc2e=>_0x4fcc2e[_0x254523(0x1e3)]['id'][_0x254523(0x1eb)](_0x39d297));if(!_0x25a352)throw new _0xa95626(_0x254523(0x1c5),this,{'id':_0x39d297});return _0x25a352;}[_0x7887e8(0x1b6)](_0xc5ae53){const _0x550f93=_0x7887e8;this[_0x550f93(0x1d1)](_0x550f93(0x1e1),_0xc5ae53);}[_0x7887e8(0x1d8)](_0x1a958e){const _0x45dc7f=_0x7887e8;this[_0x45dc7f(0x1d1)](_0x45dc7f(0x1ea),_0x1a958e);}[_0x7887e8(0x1e4)](){const _0x162e55=_0x7887e8;this[_0x162e55(0x1b8)][_0x162e55(0x1ba)]();}[_0x7887e8(0x1b2)](){const _0x420cdd=_0x7887e8;this[_0x420cdd(0x1b8)][_0x420cdd(0x1d6)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x95b7f5=_0x2591;function _0x5309(){const _0x59bc67=['_createStartConversationButton','10ArYfhD','conversationStartButton','set','add','4082280aXWgsd','AI_CHAT_HEADING','isMaximized','fire','execute','49156eMNSDQ','2FQpKPK','713560YZcvDJ','1363019qwoQrx','children','524926yKoxfD','159sSXUNj','resizeButton','locale','ck-ai-chat__start-conversation','AI_CHAT_LABEL_NEW_CHAT','startConversation','2668005eiFDqa','777576tPVxZC','ck-ai-header\x20ck-ai-header_chat'];_0x5309=function(){return _0x59bc67;};return _0x5309();}(function(_0x83b762,_0x36392d){const _0x1f6580=_0x2591,_0x493201=_0x83b762();while(!![]){try{const _0x15c531=parseInt(_0x1f6580(0x90))/0x1*(-parseInt(_0x1f6580(0xa5))/0x2)+-parseInt(_0x1f6580(0x91))/0x3*(-parseInt(_0x1f6580(0xa4))/0x4)+parseInt(_0x1f6580(0x9b))/0x5*(-parseInt(_0x1f6580(0x98))/0x6)+parseInt(_0x1f6580(0x8e))/0x7+parseInt(_0x1f6580(0x9f))/0x8+-parseInt(_0x1f6580(0x97))/0x9+parseInt(_0x1f6580(0xa6))/0xa;if(_0x15c531===_0x36392d)break;else _0x493201['push'](_0x493201['shift']());}catch(_0x31da96){_0x493201['push'](_0x493201['shift']());}}}(_0x5309,0x54be8));import{ButtonView as _0x17adec,FormHeaderView as _0x1212f}from'ckeditor5/src/ui.js';import{IconPlus as _0x1466ba,IconAIChat as _0x3ef1b9}from'ckeditor5/src/icons.js';import{getTranslation as _0x22e722}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x59b05f}from'../../aicore/utils/createresizebutton.js';function _0x2591(_0x21934b,_0x3c782c){const _0x5309ee=_0x5309();return _0x2591=function(_0x259193,_0xe33e80){_0x259193=_0x259193-0x8e;let _0xab57=_0x5309ee[_0x259193];return _0xab57;},_0x2591(_0x21934b,_0x3c782c);}export class AIChatHeaderView extends _0x1212f{[_0x95b7f5(0x9c)];[_0x95b7f5(0x92)];constructor(_0x26b96d,_0x304a0f){const _0x4bca4f=_0x95b7f5;super(_0x26b96d,{'label':_0x22e722(_0x26b96d,_0x4bca4f(0xa0)),'class':_0x4bca4f(0x99),'icon':_0x3ef1b9}),this[_0x4bca4f(0x9d)](_0x4bca4f(0xa1),!0x1),this[_0x4bca4f(0x9c)]=this[_0x4bca4f(0x9a)](_0x26b96d),this[_0x4bca4f(0x8f)][_0x4bca4f(0x9e)](this[_0x4bca4f(0x9c)]),_0x304a0f&&(this[_0x4bca4f(0x92)]=_0x59b05f(_0x26b96d,this),this[_0x4bca4f(0x8f)][_0x4bca4f(0x9e)](this[_0x4bca4f(0x92)]));}[_0x95b7f5(0x9a)](_0x48824d){const _0x81563e=_0x95b7f5,_0xf3f01e=new _0x17adec(_0x48824d);return _0xf3f01e[_0x81563e(0x9d)]({'label':_0x22e722(this[_0x81563e(0x93)],_0x81563e(0x95)),'withText':!0x0,'icon':_0x1466ba,'class':_0x81563e(0x94)}),_0xf3f01e['on'](_0x81563e(0xa3),()=>{const _0x2737d0=_0x81563e;this[_0x2737d0(0xa2)](_0x2737d0(0x96));}),_0xf3f01e;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x14fe5c=_0x5bf4;(function(_0x2c2a00,_0x2f2c5e){var _0x2e4364=_0x5bf4,_0x7941f=_0x2c2a00();while(!![]){try{var _0x3ff192=parseInt(_0x2e4364(0xba))/0x1*(parseInt(_0x2e4364(0xcd))/0x2)+parseInt(_0x2e4364(0xc9))/0x3*(parseInt(_0x2e4364(0xc0))/0x4)+-parseInt(_0x2e4364(0xbe))/0x5*(parseInt(_0x2e4364(0xca))/0x6)+-parseInt(_0x2e4364(0xc7))/0x7*(-parseInt(_0x2e4364(0xcb))/0x8)+parseInt(_0x2e4364(0xbd))/0x9+-parseInt(_0x2e4364(0xc5))/0xa*(parseInt(_0x2e4364(0xc3))/0xb)+-parseInt(_0x2e4364(0xc6))/0xc;if(_0x3ff192===_0x2f2c5e)break;else _0x7941f['push'](_0x7941f['shift']());}catch(_0x551906){_0x7941f['push'](_0x7941f['shift']());}}}(_0x3f23,0x693ea));function _0x3f23(){var _0x36d06b=['3409544SJbkVE','populateSourceResourceBalloon','chatFeed','465971dRhIOT','delegate','10LGtbcM','17288556moIhBL','2207870WNkYpU','ck-rounded-corners','3MeeNDn','282xPaUkw','16rbTHSM','attachToDom','42956rAMwug','div','closeSourceResourceBalloon','showResizeButton','ck-ai-chat','detachFromDom','contextResourcesSearchInputVisibleFrom','destroy','chatHeader','chatDisclaimer','ck-reset_all','chatControls','23GgPxgR','_bodyCollection','uiLanguageDirection','3752703cZRuGQ','51065DWpfji','setTemplate'];_0x3f23=function(){return _0x36d06b;};return _0x3f23();}import{View as _0x531c26,BodyCollection as _0x51c6fc}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x436f9a}from'../utils/eventnames.js';import{AIChatFeedView as _0x2a5547}from'./aichatfeedview.js';import{AIChatControlsView as _0x24f6e4}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x113fe9}from'./aichatheaderview.js';function _0x5bf4(_0x12b0f1,_0x19b7d4){var _0x3f2363=_0x3f23();return _0x5bf4=function(_0x5bf4dc,_0x17a7c2){_0x5bf4dc=_0x5bf4dc-0xb7;var _0x2c9562=_0x3f2363[_0x5bf4dc];return _0x2c9562;},_0x5bf4(_0x12b0f1,_0x19b7d4);}import{AIDisclaimerView as _0x253cc8}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x531c26{[_0x14fe5c(0xd5)];[_0x14fe5c(0xc2)];[_0x14fe5c(0xb9)];[_0x14fe5c(0xb7)];[_0x14fe5c(0xbb)];constructor(_0x4e230b,_0x4f2757){var _0x45b4ae=_0x14fe5c;super(_0x4e230b),this[_0x45b4ae(0xbb)]=new _0x51c6fc(_0x4e230b),this[_0x45b4ae(0xbb)][_0x45b4ae(0xcc)](),this[_0x45b4ae(0xd5)]=new _0x113fe9(_0x4e230b,_0x4f2757[_0x45b4ae(0xd0)]),this[_0x45b4ae(0xd5)][_0x45b4ae(0xc4)](..._0x436f9a)['to'](this),this[_0x45b4ae(0xc2)]=new _0x2a5547(_0x4e230b,this[_0x45b4ae(0xbb)]),this[_0x45b4ae(0xc2)][_0x45b4ae(0xc4)](..._0x436f9a)['to'](this),this[_0x45b4ae(0xb9)]=new _0x24f6e4(_0x4e230b,{'bodyCollection':this[_0x45b4ae(0xbb)],'contextResourcesSearchInputVisibleFrom':_0x4f2757[_0x45b4ae(0xd3)]}),this[_0x45b4ae(0xb9)][_0x45b4ae(0xc4)](..._0x436f9a)['to'](this),this[_0x45b4ae(0xb7)]=new _0x253cc8(_0x4e230b),this[_0x45b4ae(0xbf)]({'tag':_0x45b4ae(0xce),'attributes':{'class':['ck',_0x45b4ae(0xb8),_0x45b4ae(0xd1),_0x45b4ae(0xc8)],'dir':_0x4e230b[_0x45b4ae(0xbc)]},'children':[this[_0x45b4ae(0xd5)],this[_0x45b4ae(0xc2)],this[_0x45b4ae(0xb9)],this[_0x45b4ae(0xb7)]]});}[_0x14fe5c(0xc1)](_0x3be880,_0x310b13,_0x2769fc,_0x4468ee){var _0x1d533d=_0x14fe5c;this[_0x1d533d(0xb9)][_0x1d533d(0xc1)](_0x3be880,_0x310b13,_0x2769fc,_0x4468ee);}[_0x14fe5c(0xcf)](_0xb10eb){var _0x10692c=_0x14fe5c;this[_0x10692c(0xb9)][_0x10692c(0xcf)](_0xb10eb);}[_0x14fe5c(0xd4)](){var _0x1fe5dc=_0x14fe5c;this[_0x1fe5dc(0xbb)][_0x1fe5dc(0xd2)](),super[_0x1fe5dc(0xd4)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x836b3=_0x934d;(function(_0x4f039a,_0x20dfcc){const _0x313fb7=_0x934d,_0x2baf39=_0x4f039a();while(!![]){try{const _0xa433be=-parseInt(_0x313fb7(0xb0))/0x1*(parseInt(_0x313fb7(0xf4))/0x2)+-parseInt(_0x313fb7(0xe4))/0x3+parseInt(_0x313fb7(0xf3))/0x4+-parseInt(_0x313fb7(0x92))/0x5+parseInt(_0x313fb7(0x6f))/0x6*(parseInt(_0x313fb7(0xe0))/0x7)+-parseInt(_0x313fb7(0x94))/0x8+parseInt(_0x313fb7(0xc8))/0x9;if(_0xa433be===_0x20dfcc)break;else _0x2baf39['push'](_0x2baf39['shift']());}catch(_0x4c09a0){_0x2baf39['push'](_0x2baf39['shift']());}}}(_0x40c8,0xa2a84));import{View as _0x5d657d,BalloonPanelView as _0x3e644b,ButtonView as _0x1787cf,clickOutsideHandler as _0x126de1}from'ckeditor5/src/ui.js';import{Collection as _0xde7a8f}from'ckeditor5/src/utils.js';function _0x40c8(){const _0x45cd33=['block','7iPFBny','width','_makeAncestorsVisible','_applyCalculationStyles','1467858MpfEAc','add','border-box','left','_calculateOverflowInContainer','isOn','clear','content','textContent','cssClasses','offsetWidth','showBalloonPanel','visibility','_bodyCollection','length','3677800hzZOyF','2QIndfv','300px','_restoreAncestorVisibility','_isContainerVisible','hidden','+\x201','includes','getBoundingClientRect','destroy','_renderChipsAndCountRows','div','_setupVisibilityObserver','_updateOverflowUI','_createShowMoreBalloonPanelView','7915962BUkMtY','undefined','createElement','disconnect','pin','classList','appendChild','setTemplate','clientWidth','_visibleChips','right','innerWidth','filter','showMoreButtonView','element','bottom','_showMoreButtonView','opacity','visible\x20!important','pop','_calculateContainerWidth','_parentView','_createShowMoreButton','observe','slice','isIntersecting','display','-9999px','remove','position','showMoreButton','_targetContainer','rowDetectionTolerance','pointerEvents','block\x20!important','5203925NIMAUV','_pendingCalculation','9850160BlxwiT','innerHeight','_intersectionObserver','showMoreBalloon','cloneNode','forEach','getComputedStyle','_testButtonFit','isVisible','_checkAndHandleOverflow','.ck-ai-chat','push','controlsButton','_containerElement','calculationContainer','height','from','_handleShowMoreButtonClick','_findTargetContainer','reorganizeChips','body','_overflowChips','ck-calculation-container','auto','_ancestorsToRestore','visible','none','_createMockButton','140729xIJiGi','render','maxVisibleRows','top','some','isConnected','_locale','set','showMoreLabelPrefix','_createShowMoreButtonView','hideBalloonPanel','className','abs','overflowContainer','style','zIndex','extendTemplate','_distributeChips','0px','clientHeight','button','querySelector','_updateBalloonContent','children','11965833UtQpxF','label','disableAnimationOnEnter','execute','_createCalculationContainer','absolute','_showMoreBalloonPanelView','documentElement','_repinBalloonPanel','_config','hide','overflowChips','_updateShowMoreButtonVisibility','parentElement','innerHTML','tagName','50px','toLowerCase','boxSizing','_createContainerElements','_applyOverflowResults','setContainerElement','show'];_0x40c8=function(){return _0x45cd33;};return _0x40c8();}function _0x934d(_0x1472d5,_0x5933ac){const _0x40c85a=_0x40c8();return _0x934d=function(_0x934d44,_0x23c050){_0x934d44=_0x934d44-0x6a;let _0x7b53b8=_0x40c85a[_0x934d44];return _0x7b53b8;},_0x934d(_0x1472d5,_0x5933ac);}const wn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},dn=_0x836b3(0xf5);export class AIChatChipsOverflowManager{[_0x836b3(0xb6)];[_0x836b3(0xd1)];[_0x836b3(0x78)];[_0x836b3(0xa9)];[_0x836b3(0x7f)]=null;[_0x836b3(0xce)]=null;[_0x836b3(0xa1)]=null;[_0x836b3(0xf1)];[_0x836b3(0x84)]=null;[_0x836b3(0x96)]=null;[_0x836b3(0x93)]=!0x1;constructor(_0xa4207b,_0x4c643b,_0x3fe2fd,_0x17cc90,_0x136c8c){const _0x3ce28b=_0x836b3;this[_0x3ce28b(0xb6)]=_0xa4207b,this[_0x3ce28b(0x78)]=_0x4c643b,this[_0x3ce28b(0xd1)]={...wn,..._0x3fe2fd,'cssClasses':{'controlsButton':'','calculationContainer':_0x3ce28b(0xaa),..._0x3fe2fd[_0x3ce28b(0xed)]}},this[_0x3ce28b(0xa9)]=new _0xde7a8f(),this[_0x3ce28b(0xf1)]=_0x17cc90,this[_0x3ce28b(0x84)]=_0x136c8c||null;}[_0x836b3(0xdd)](_0x340d11){const _0x4dd507=_0x836b3;this[_0x4dd507(0x96)]&&(this[_0x4dd507(0x96)][_0x4dd507(0x72)](),this[_0x4dd507(0x96)]=null),this[_0x4dd507(0xa1)]=_0x340d11,this[_0x4dd507(0x6c)]();}get[_0x836b3(0x7c)](){const _0x44dd1a=_0x836b3;return this[_0x44dd1a(0x7f)];}get[_0x836b3(0xd3)](){const _0xff18f0=_0x836b3;return this[_0xff18f0(0xa9)];}[_0x836b3(0xa7)](){requestAnimationFrame(()=>{const _0x3ba1fe=_0x934d;this[_0x3ba1fe(0x9d)]();});}[_0x836b3(0xef)](){const _0x279f91=_0x836b3;this[_0x279f91(0x7f)]&&this[_0x279f91(0xce)]&&(this[_0x279f91(0xc6)](),this[_0x279f91(0x7f)][_0x279f91(0xe9)]=!0x0,this[_0x279f91(0xce)][_0x279f91(0xde)](),this[_0x279f91(0xce)][_0x279f91(0x73)]({'target':this[_0x279f91(0x7f)][_0x279f91(0x7d)],'limiter':document[_0x279f91(0xc5)](_0x279f91(0x9e))}));}[_0x836b3(0xba)](){const _0x16695e=_0x836b3;this[_0x16695e(0x7f)]&&this[_0x16695e(0xce)]&&(this[_0x16695e(0x7f)][_0x16695e(0xe9)]=!0x1,this[_0x16695e(0xce)][_0x16695e(0xd2)]());}[_0x836b3(0xea)](){const _0x3db2dc=_0x836b3;this[_0x3db2dc(0xa9)][_0x3db2dc(0xea)](),this[_0x3db2dc(0xba)](),this[_0x3db2dc(0xd4)](),this[_0x3db2dc(0x7f)]&&(this[_0x3db2dc(0x7f)][_0x3db2dc(0xc9)]=''),this[_0x3db2dc(0xce)]&&this[_0x3db2dc(0xce)][_0x3db2dc(0xeb)][_0x3db2dc(0xea)]();}[_0x836b3(0xfc)](){const _0x28cbc7=_0x836b3;this[_0x28cbc7(0x96)]&&(this[_0x28cbc7(0x96)][_0x28cbc7(0x72)](),this[_0x28cbc7(0x96)]=null),this[_0x28cbc7(0x7f)]&&(this[_0x28cbc7(0x7f)][_0x28cbc7(0xfc)](),this[_0x28cbc7(0x7f)]=null),this[_0x28cbc7(0xce)]&&(this[_0x28cbc7(0xce)][_0x28cbc7(0xfc)](),this[_0x28cbc7(0xce)]=null);}[_0x836b3(0x9d)](){const _0x487220=_0x836b3;if(!this[_0x487220(0xa1)])return;if(!this[_0x487220(0xf7)]())return void(this[_0x487220(0x93)]=!0x0);this[_0x487220(0x93)]=!0x1;const _0x2172a0=[...this[_0x487220(0x78)],...this[_0x487220(0xa9)]],_0x2d6f8c=this[_0x487220(0xcc)](),_0x5e8104=this[_0x487220(0xe8)](_0x2d6f8c,_0x2172a0),_0x8ff5a4=_0x2d6f8c[_0x487220(0xac)];_0x8ff5a4&&this[_0x487220(0xf6)](_0x8ff5a4),_0x2d6f8c[_0x487220(0x8b)](),this[_0x487220(0xdc)](_0x2172a0,_0x5e8104);}[_0x836b3(0x85)](){const _0x3887f8=_0x836b3;this[_0x3887f8(0x7f)]=this[_0x3887f8(0xb9)](),this[_0x3887f8(0xce)]=this[_0x3887f8(0x6e)](),this[_0x3887f8(0x7f)][_0x3887f8(0xb1)](),this[_0x3887f8(0xa1)][_0x3887f8(0x75)](this[_0x3887f8(0x7f)][_0x3887f8(0x7d)]),this[_0x3887f8(0x7f)]['on'](_0x3887f8(0xcb),()=>{const _0x370066=_0x3887f8;this[_0x370066(0xa5)]();}),_0x126de1({'emitter':this[_0x3887f8(0xce)],'contextElements':[this[_0x3887f8(0xce)][_0x3887f8(0x7d)],this[_0x3887f8(0x7f)][_0x3887f8(0x7d)]],'callback':()=>this[_0x3887f8(0xba)](),'activator':()=>this[_0x3887f8(0x7f)][_0x3887f8(0xe9)]});}[_0x836b3(0xb9)](){const _0x115d6d=_0x836b3,_0x4cd16c=new _0x1787cf(this[_0x115d6d(0xb6)]);_0x4cd16c[_0x115d6d(0xb7)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x772b77=[this[_0x115d6d(0xd1)][_0x115d6d(0xed)][_0x115d6d(0x8d)]];return this[_0x115d6d(0xd1)][_0x115d6d(0xed)][_0x115d6d(0xa0)]&&_0x772b77[_0x115d6d(0x9f)](this[_0x115d6d(0xd1)][_0x115d6d(0xed)][_0x115d6d(0xa0)]),_0x4cd16c[_0x115d6d(0xc0)]({'attributes':{'class':_0x772b77}}),_0x4cd16c;}[_0x836b3(0x6e)](){const _0x39cdf4=_0x836b3,_0x441f80=new _0x3e644b(this[_0x39cdf4(0xb6)]);return _0x441f80[_0x39cdf4(0xc0)]({'attributes':{'class':this[_0x39cdf4(0xd1)][_0x39cdf4(0xed)][_0x39cdf4(0x97)]}}),this[_0x39cdf4(0xf1)][_0x39cdf4(0xe5)](_0x441f80),_0x441f80;}[_0x836b3(0xc6)](){const _0x446f11=_0x836b3;if(this[_0x446f11(0xce)]&&(this[_0x446f11(0xce)][_0x446f11(0xeb)][_0x446f11(0xea)](),this[_0x446f11(0xa9)][_0x446f11(0xf2)]>0x0)){this[_0x446f11(0xa9)][_0x446f11(0x99)](_0x4ab8b1=>{const _0x5980d5=_0x446f11;_0x4ab8b1[_0x5980d5(0xca)]();});const _0x2869a7=new _0x5d657d(this[_0x446f11(0xb6)]);_0x2869a7[_0x446f11(0x76)]({'tag':_0x446f11(0x6b),'attributes':{'class':this[_0x446f11(0xd1)][_0x446f11(0xed)][_0x446f11(0xbd)]},'children':this[_0x446f11(0xa9)]}),this[_0x446f11(0xce)][_0x446f11(0xeb)][_0x446f11(0xe5)](_0x2869a7);}}[_0x836b3(0xa5)](){const _0x4e0a66=_0x836b3;this[_0x4e0a66(0x7f)][_0x4e0a66(0xe9)]?this[_0x4e0a66(0xba)]():this[_0x4e0a66(0xef)]();}[_0x836b3(0xd4)](){const _0x5d67f2=_0x836b3,_0x11c1b2=this[_0x5d67f2(0xa9)][_0x5d67f2(0xf2)]>0x0;this[_0x5d67f2(0x7f)]?.[_0x5d67f2(0x7d)]&&(this[_0x5d67f2(0x7f)][_0x5d67f2(0x7d)][_0x5d67f2(0xbe)][_0x5d67f2(0x89)]=_0x11c1b2?'':_0x5d67f2(0xae));}[_0x836b3(0xd0)](){const _0x4c2b08=_0x836b3;this[_0x4c2b08(0x7f)]?.[_0x4c2b08(0xe9)]&&this[_0x4c2b08(0xce)]?.[_0x4c2b08(0x9c)]&&this[_0x4c2b08(0x7f)][_0x4c2b08(0x7d)]&&this[_0x4c2b08(0xce)][_0x4c2b08(0x73)]({'target':this[_0x4c2b08(0x7f)][_0x4c2b08(0x7d)],'limiter':document[_0x4c2b08(0xc5)](_0x4c2b08(0x9e))});}[_0x836b3(0xa6)](_0x5d50ea){const _0x13f229=_0x836b3,_0x3d6846=this[_0x13f229(0xa1)]?.[_0x13f229(0xd7)][_0x13f229(0xd9)]()||_0x13f229(0x6b),_0xcd2015=this[_0x13f229(0xa1)]?.[_0x13f229(0x74)];if(_0xcd2015){const _0x1a2422=_0xcd2015[0x0]||'',_0x4a9c41=_0x5d50ea[_0x13f229(0xc5)]('.'+_0x1a2422),_0x202044=_0x5d50ea[_0x13f229(0xc5)](_0x3d6846);return _0x4a9c41||_0x202044||_0x5d50ea;}return _0x5d50ea[_0x13f229(0xc5)](_0x3d6846)||_0x5d50ea;}[_0x836b3(0x83)](){const _0x53a807=_0x836b3,_0x1110fd=this[_0x53a807(0x84)]?.[_0x53a807(0x7d)]||this[_0x53a807(0xa1)];if(!_0x1110fd)return dn;const _0x1da4f5=window[_0x53a807(0x9a)](_0x1110fd)[_0x53a807(0xe1)];if(_0x53a807(0xab)===_0x1da4f5||_0x53a807(0xc2)===_0x1da4f5||!_0x1da4f5){const _0x3fd885=_0x1110fd[_0x53a807(0xd5)];if(_0x3fd885){const _0x4dca06=window[_0x53a807(0x9a)](_0x3fd885);return _0x53a807(0xab)!==_0x4dca06[_0x53a807(0xe1)]?_0x4dca06[_0x53a807(0xe1)]:dn;}return dn;}return _0x1da4f5;}[_0x836b3(0xe3)](_0x398103,_0x41697f){const _0x2fcaec=_0x836b3;this[_0x2fcaec(0xd1)][_0x2fcaec(0xed)][_0x2fcaec(0xa2)]&&_0x398103[_0x2fcaec(0x74)][_0x2fcaec(0xe5)](this[_0x2fcaec(0xd1)][_0x2fcaec(0xed)][_0x2fcaec(0xa2)]),_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0xe1)]=_0x41697f,_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0x8c)]=_0x2fcaec(0xcd),_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0xb3)]=_0x2fcaec(0x8a),_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0xe7)]=_0x2fcaec(0x8a),_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0x80)]='0',_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0x90)]=_0x2fcaec(0xae),_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0xbf)]='-1',_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0xf0)]=_0x2fcaec(0x81),_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0x89)]=_0x2fcaec(0x91),_0x398103[_0x2fcaec(0xbe)][_0x2fcaec(0xda)]=_0x2fcaec(0xe6);}[_0x836b3(0xf6)](_0x59a445){const _0x3eac10=_0x836b3;_0x59a445[_0x3eac10(0x99)](({element:_0x60f729,originalDisplay:_0x310312,originalVisibility:_0x365a78})=>{const _0x450c22=_0x3eac10;_0x60f729[_0x450c22(0xbe)][_0x450c22(0x89)]=_0x310312,_0x60f729[_0x450c22(0xbe)][_0x450c22(0xf0)]=_0x365a78;});}[_0x836b3(0xe2)](_0x17d90d){const _0x266874=_0x836b3,_0x2087e6=[];let _0x212877=_0x17d90d;for(;_0x212877&&_0x212877!==document[_0x266874(0xa8)];){const _0xb93dc1=window[_0x266874(0x9a)](_0x212877);_0x266874(0xae)!==_0xb93dc1[_0x266874(0x89)]&&_0x266874(0xf8)!==_0xb93dc1[_0x266874(0xf0)]||(_0x2087e6[_0x266874(0x9f)]({'element':_0x212877,'originalDisplay':_0x212877[_0x266874(0xbe)][_0x266874(0x89)],'originalVisibility':_0x212877[_0x266874(0xbe)][_0x266874(0xf0)]}),_0x212877[_0x266874(0xbe)][_0x266874(0x89)]=_0x266874(0xdf),_0x212877[_0x266874(0xbe)][_0x266874(0xf0)]=_0x266874(0xad)),_0x212877=_0x212877[_0x266874(0xd5)];}return _0x2087e6;}[_0x836b3(0xdb)](){const _0x185566=_0x836b3;let _0x37fefb,_0xbc0bbd;return this[_0x185566(0x84)]?.[_0x185566(0x7d)]?(_0x37fefb=this[_0x185566(0x84)][_0x185566(0x7d)][_0x185566(0x98)](!0x0),_0xbc0bbd=this[_0x185566(0xa6)](_0x37fefb)):(_0x37fefb=document[_0x185566(0x71)](_0x185566(0x6b)),_0xbc0bbd=_0x37fefb),{'calculationContainer':_0x37fefb,'targetContainer':_0xbc0bbd};}[_0x836b3(0xcc)](){const _0x1bd521=_0x836b3,{calculationContainer:_0x4f9e31,targetContainer:_0x743d27}=this[_0x1bd521(0xdb)](),_0x34fc11=this[_0x1bd521(0x83)]();this[_0x1bd521(0xe3)](_0x4f9e31,_0x34fc11);const _0x252b03=this[_0x1bd521(0x84)]?.[_0x1bd521(0x7d)]||this[_0x1bd521(0xa1)],_0x49a382=_0x252b03?.[_0x1bd521(0xd5)];_0x49a382?_0x49a382[_0x1bd521(0x75)](_0x4f9e31):document[_0x1bd521(0xa8)][_0x1bd521(0x75)](_0x4f9e31),_0x4f9e31[_0x1bd521(0x8e)]=_0x743d27;const _0x3aa235=this[_0x1bd521(0xe2)](_0x49a382||null);return _0x4f9e31[_0x1bd521(0xee)],_0x4f9e31[_0x1bd521(0xac)]=_0x3aa235,_0x4f9e31;}[_0x836b3(0xe8)](_0x128641,_0x2f8d57){const _0x27b25d=_0x836b3,_0x1859f8=_0x128641[_0x27b25d(0x8e)]||_0x128641,_0x35b4b8=[],{rowCount:_0x3dff84}=this[_0x27b25d(0x6a)](_0x1859f8,_0x2f8d57);if(_0x3dff84<=this[_0x27b25d(0xd1)][_0x27b25d(0xb2)])return _0x35b4b8;const _0x53178b=_0x2f8d57[_0x27b25d(0x87)]();for(;_0x53178b[_0x27b25d(0xf2)]>0x0;){if(this[_0x27b25d(0x9b)](_0x128641,_0x1859f8,_0x53178b)){const _0x249873=_0x2f8d57[_0x27b25d(0x7b)](_0x522f40=>!_0x53178b[_0x27b25d(0xfa)](_0x522f40));_0x35b4b8[_0x27b25d(0x9f)](..._0x249873);break;}if(!_0x53178b[_0x27b25d(0x82)]())break;}return _0x35b4b8;}[_0x836b3(0x6a)](_0x1b2f7f,_0x3bbca4){const _0x49a3df=_0x836b3;_0x1b2f7f[_0x49a3df(0xd6)]='',_0x3bbca4[_0x49a3df(0x99)](_0x43e6b4=>{const _0x2f3307=_0x49a3df;if(_0x43e6b4[_0x2f3307(0x7d)]){const _0x3600f5=_0x43e6b4[_0x2f3307(0x7d)][_0x2f3307(0x98)](!0x0);_0x1b2f7f[_0x2f3307(0x75)](_0x3600f5);}}),_0x1b2f7f[_0x49a3df(0xee)];const _0x29f9c3=_0x1b2f7f[_0x49a3df(0xc7)],_0x4c0b87=[];return Array[_0x49a3df(0xa4)](_0x29f9c3)[_0x49a3df(0x99)](_0x30735f=>{const _0x82fc30=_0x49a3df,_0x1d579f=_0x30735f[_0x82fc30(0xfb)]()[_0x82fc30(0xb3)];_0x4c0b87[_0x82fc30(0xb4)](_0x19652c=>Math[_0x82fc30(0xbc)](_0x19652c-_0x1d579f)<this[_0x82fc30(0xd1)][_0x82fc30(0x8f)])||_0x4c0b87[_0x82fc30(0x9f)](_0x1d579f);}),{'rowCount':_0x4c0b87[_0x49a3df(0xf2)]};}[_0x836b3(0xaf)](){const _0x4a39d2=_0x836b3,_0x3ad88b=document[_0x4a39d2(0x71)](_0x4a39d2(0xc4));return _0x3ad88b[_0x4a39d2(0xbb)]=this[_0x4a39d2(0xd1)][_0x4a39d2(0xed)][_0x4a39d2(0x8d)],this[_0x4a39d2(0xd1)][_0x4a39d2(0xed)][_0x4a39d2(0xa0)]&&_0x3ad88b[_0x4a39d2(0x74)][_0x4a39d2(0xe5)](this[_0x4a39d2(0xd1)][_0x4a39d2(0xed)][_0x4a39d2(0xa0)]),_0x3ad88b[_0x4a39d2(0xec)]=_0x4a39d2(0xf9),_0x3ad88b;}[_0x836b3(0x9b)](_0x36b713,_0x5446f4,_0x3b967c){const _0x2c15ec=_0x836b3;this[_0x2c15ec(0x6a)](_0x5446f4,_0x3b967c);const _0x5a26c8=this[_0x2c15ec(0xaf)]();_0x36b713[_0x2c15ec(0x75)](_0x5a26c8),_0x36b713[_0x2c15ec(0xee)];const _0x353c3c=[..._0x5446f4[_0x2c15ec(0xc7)],_0x5a26c8],_0x1089fc=[];_0x353c3c[_0x2c15ec(0x99)](_0x153c64=>{const _0x22c630=_0x2c15ec,_0x56f87d=_0x153c64[_0x22c630(0xfb)]()[_0x22c630(0xb3)];_0x1089fc[_0x22c630(0xb4)](_0x3cb322=>Math[_0x22c630(0xbc)](_0x3cb322-_0x56f87d)<this[_0x22c630(0xd1)][_0x22c630(0x8f)])||_0x1089fc[_0x22c630(0x9f)](_0x56f87d);});const _0x112a2a=_0x1089fc[_0x2c15ec(0xf2)];return _0x5a26c8[_0x2c15ec(0x8b)](),_0x112a2a<=this[_0x2c15ec(0xd1)][_0x2c15ec(0xb2)];}[_0x836b3(0xc1)](_0x83c0fc,_0x2f0f87){const _0x48862a=_0x836b3;this[_0x48862a(0x78)][_0x48862a(0xea)](),this[_0x48862a(0xa9)][_0x48862a(0xea)](),_0x83c0fc[_0x48862a(0x99)](_0xd18f40=>{const _0x1be81a=_0x48862a;_0x2f0f87[_0x1be81a(0xfa)](_0xd18f40)?this[_0x1be81a(0xa9)][_0x1be81a(0xe5)](_0xd18f40):this[_0x1be81a(0x78)][_0x1be81a(0xe5)](_0xd18f40);});}[_0x836b3(0x6d)](_0x2f8382){const _0x58c5da=_0x836b3;if(_0x2f8382>0x0&&!this[_0x58c5da(0x7f)]&&this[_0x58c5da(0x85)](),_0x2f8382>0x0&&this[_0x58c5da(0x7f)]){const _0x5068a6=''+this[_0x58c5da(0xd1)][_0x58c5da(0xb8)]+(_0x2f8382<0x63?_0x2f8382:'99');this[_0x58c5da(0x7f)][_0x58c5da(0xc9)]=_0x5068a6;}this[_0x58c5da(0xc6)](),this[_0x58c5da(0xd4)](),this[_0x58c5da(0xd0)]();}[_0x836b3(0xdc)](_0x59fbc0,_0x31f007){const _0x28e5aa=_0x836b3;this[_0x28e5aa(0xc1)](_0x59fbc0,_0x31f007),this[_0x28e5aa(0x6d)](_0x31f007[_0x28e5aa(0xf2)]);}[_0x836b3(0x6c)](){const _0x53491d=_0x836b3;this[_0x53491d(0xa1)]&&_0x53491d(0x70)!=typeof IntersectionObserver&&(this[_0x53491d(0x96)]=new IntersectionObserver(_0x1e3a36=>{const _0x3cb98e=_0x53491d;_0x1e3a36[0x0][_0x3cb98e(0x88)]&&this[_0x3cb98e(0x93)]&&requestAnimationFrame(()=>{const _0x443ef5=_0x3cb98e;this[_0x443ef5(0x9d)]();});},{'threshold':0.01,'rootMargin':_0x53491d(0xd8)}),this[_0x53491d(0x96)][_0x53491d(0x86)](this[_0x53491d(0xa1)]));}[_0x836b3(0xf7)](){const _0x451679=_0x836b3;if(!this[_0x451679(0xa1)])return!0x1;if(!this[_0x451679(0xa1)][_0x451679(0xb5)])return!0x1;const _0x326637=this[_0x451679(0xa1)][_0x451679(0xfb)]();if(0x0===_0x326637[_0x451679(0xe1)]||0x0===_0x326637[_0x451679(0xa3)])return!0x1;const _0x4bf1a8=window[_0x451679(0x95)]||document[_0x451679(0xcf)][_0x451679(0xc3)],_0x2596e1=window[_0x451679(0x7a)]||document[_0x451679(0xcf)][_0x451679(0x77)],_0x544db5=0xc8;return _0x326637[_0x451679(0x7e)]>=-0xc8&&_0x326637[_0x451679(0xb3)]<=_0x4bf1a8+_0x544db5&&_0x326637[_0x451679(0x79)]>=-0xc8&&_0x326637[_0x451679(0xe7)]<=_0x2596e1+_0x544db5;}}
|
|
23
|
+
const _0x367135=_0x10b3;(function(_0x32647c,_0x3d8276){const _0x84be46=_0x10b3,_0x13183f=_0x32647c();while(!![]){try{const _0x401b4f=-parseInt(_0x84be46(0x1df))/0x1+-parseInt(_0x84be46(0x1d7))/0x2*(parseInt(_0x84be46(0x1c9))/0x3)+parseInt(_0x84be46(0x1b7))/0x4*(parseInt(_0x84be46(0x1d1))/0x5)+-parseInt(_0x84be46(0x1f7))/0x6*(parseInt(_0x84be46(0x1ed))/0x7)+-parseInt(_0x84be46(0x197))/0x8+parseInt(_0x84be46(0x194))/0x9+parseInt(_0x84be46(0x1a9))/0xa;if(_0x401b4f===_0x3d8276)break;else _0x13183f['push'](_0x13183f['shift']());}catch(_0x3f271c){_0x13183f['push'](_0x13183f['shift']());}}}(_0x3e88,0x1a2ea));function _0x3e88(){const _0xa782a5=['filter','overflowContainer','isIntersecting','show','_containerElement','border-box','extendTemplate','_createShowMoreButton','50px','createElement','clientHeight','+\x201','699039tNWPqR','zIndex','label','1605152yZeWUI','_bodyCollection','pin','_testButtonFit','visible\x20!important','_showMoreButtonView','disconnect','_updateBalloonContent','block','_isContainerVisible','slice','none','showMoreBalloon','toLowerCase','_calculateContainerWidth','hideBalloonPanel','display','setTemplate','3356720gDZDva','_repinBalloonPanel','classList','_findTargetContainer','forEach','setContainerElement','cloneNode','maxVisibleRows','controlsButton','className','calculationContainer','top','_createShowMoreBalloonPanelView','right','20YXzRQC','width','_distributeChips','remove','isVisible','pointerEvents','getBoundingClientRect','_makeAncestorsVisible','_visibleChips','_ancestorsToRestore','set','reorganizeChips','add','appendChild','querySelector','div','destroy','render','136311HLfIoL','block\x20!important','_restoreAncestorVisibility','_renderChipsAndCountRows','_createShowMoreButtonView','_updateShowMoreButtonVisibility','hide','clear','197755mWRsyQ','showMoreButton','_intersectionObserver','_overflowChips','undefined','visibility','4BZahJH','_createMockButton','push','height','showMoreLabelPrefix','_targetContainer','style','clientWidth','52079yzaLGN','0px','position','getComputedStyle','includes','execute','showBalloonPanel','_showMoreBalloonPanelView','overflowChips','boxSizing','tagName','pop','visible','.ck-ai-chat','65989BcSrGm','from','hidden','300px','isConnected','body','_createContainerElements','_pendingCalculation','textContent','parentElement','102KwnCbG','button','bottom','_calculateOverflowInContainer','cssClasses','_locale','opacity','_updateOverflowUI','disableAnimationOnEnter','innerHTML','observe','_createCalculationContainer','children','innerHeight','absolute','_applyCalculationStyles','left','_parentView','isOn','content','_checkAndHandleOverflow','some','documentElement','_setupVisibilityObserver','offsetWidth','_handleShowMoreButtonClick','auto','-9999px','abs','element','length','_applyOverflowResults','_config','showMoreButtonView','ck-calculation-container','rowDetectionTolerance','innerWidth'];_0x3e88=function(){return _0xa782a5;};return _0x3e88();}import{View as _0x204bf3,BalloonPanelView as _0x3df055,ButtonView as _0x3b97c4,clickOutsideHandler as _0x122da8}from'ckeditor5/src/ui.js';function _0x10b3(_0x264b1d,_0x141ce2){const _0x3e883b=_0x3e88();return _0x10b3=function(_0x10b364,_0x2d16fe){_0x10b364=_0x10b364-0x193;let _0x45e4b7=_0x3e883b[_0x10b364];return _0x45e4b7;},_0x10b3(_0x264b1d,_0x141ce2);}import{Collection as _0x1f8b6a}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x367135(0x1f0);export class AIChatChipsOverflowManager{[_0x367135(0x1fc)];[_0x367135(0x217)];[_0x367135(0x1bf)];[_0x367135(0x1d4)];[_0x367135(0x19c)]=null;[_0x367135(0x1e6)]=null;[_0x367135(0x220)]=null;[_0x367135(0x198)];[_0x367135(0x208)]=null;[_0x367135(0x1d3)]=null;[_0x367135(0x1f4)]=!0x1;constructor(_0x29ff58,_0x2cf836,_0x32d59c,_0x407157,_0x97fea9){const _0x5c310f=_0x367135;this[_0x5c310f(0x1fc)]=_0x29ff58,this[_0x5c310f(0x1bf)]=_0x2cf836,this[_0x5c310f(0x217)]={...hn,..._0x32d59c,'cssClasses':{'controlsButton':'','calculationContainer':_0x5c310f(0x219),..._0x32d59c[_0x5c310f(0x1fb)]}},this[_0x5c310f(0x1d4)]=new _0x1f8b6a(),this[_0x5c310f(0x198)]=_0x407157,this[_0x5c310f(0x208)]=_0x97fea9||null;}[_0x367135(0x1ae)](_0x4aa879){const _0x1b945b=_0x367135;this[_0x1b945b(0x1d3)]&&(this[_0x1b945b(0x1d3)][_0x1b945b(0x19d)](),this[_0x1b945b(0x1d3)]=null),this[_0x1b945b(0x220)]=_0x4aa879,this[_0x1b945b(0x20e)]();}get[_0x367135(0x218)](){const _0x3c561f=_0x367135;return this[_0x3c561f(0x19c)];}get[_0x367135(0x1e7)](){const _0x48d56b=_0x367135;return this[_0x48d56b(0x1d4)];}[_0x367135(0x1c2)](){requestAnimationFrame(()=>{const _0x59938c=_0x10b3;this[_0x59938c(0x20b)]();});}[_0x367135(0x1e5)](){const _0x270a2d=_0x367135;this[_0x270a2d(0x19c)]&&this[_0x270a2d(0x1e6)]&&(this[_0x270a2d(0x19e)](),this[_0x270a2d(0x19c)][_0x270a2d(0x209)]=!0x0,this[_0x270a2d(0x1e6)][_0x270a2d(0x21f)](),this[_0x270a2d(0x1e6)][_0x270a2d(0x199)]({'target':this[_0x270a2d(0x19c)][_0x270a2d(0x214)],'limiter':document[_0x270a2d(0x1c5)](_0x270a2d(0x1ec))}));}[_0x367135(0x1a6)](){const _0x59373c=_0x367135;this[_0x59373c(0x19c)]&&this[_0x59373c(0x1e6)]&&(this[_0x59373c(0x19c)][_0x59373c(0x209)]=!0x1,this[_0x59373c(0x1e6)][_0x59373c(0x1cf)]());}[_0x367135(0x1d0)](){const _0x50530e=_0x367135;this[_0x50530e(0x1d4)][_0x50530e(0x1d0)](),this[_0x50530e(0x1a6)](),this[_0x50530e(0x1ce)](),this[_0x50530e(0x19c)]&&(this[_0x50530e(0x19c)][_0x50530e(0x196)]=''),this[_0x50530e(0x1e6)]&&this[_0x50530e(0x1e6)][_0x50530e(0x20a)][_0x50530e(0x1d0)]();}[_0x367135(0x1c7)](){const _0x28f46c=_0x367135;this[_0x28f46c(0x1d3)]&&(this[_0x28f46c(0x1d3)][_0x28f46c(0x19d)](),this[_0x28f46c(0x1d3)]=null),this[_0x28f46c(0x19c)]&&(this[_0x28f46c(0x19c)][_0x28f46c(0x1c7)](),this[_0x28f46c(0x19c)]=null),this[_0x28f46c(0x1e6)]&&(this[_0x28f46c(0x1e6)][_0x28f46c(0x1c7)](),this[_0x28f46c(0x1e6)]=null);}[_0x367135(0x20b)](){const _0x2e44a1=_0x367135;if(!this[_0x2e44a1(0x220)])return;if(!this[_0x2e44a1(0x1a0)]())return void(this[_0x2e44a1(0x1f4)]=!0x0);this[_0x2e44a1(0x1f4)]=!0x1;const _0x467e2c=[...this[_0x2e44a1(0x1bf)],...this[_0x2e44a1(0x1d4)]],_0x29715a=this[_0x2e44a1(0x202)](),_0x58e5a5=this[_0x2e44a1(0x1fa)](_0x29715a,_0x467e2c),_0x3247d6=_0x29715a[_0x2e44a1(0x1c0)];_0x3247d6&&this[_0x2e44a1(0x1cb)](_0x3247d6),_0x29715a[_0x2e44a1(0x1ba)](),this[_0x2e44a1(0x216)](_0x467e2c,_0x58e5a5);}[_0x367135(0x223)](){const _0x213cdd=_0x367135;this[_0x213cdd(0x19c)]=this[_0x213cdd(0x1cd)](),this[_0x213cdd(0x1e6)]=this[_0x213cdd(0x1b5)](),this[_0x213cdd(0x19c)][_0x213cdd(0x1c8)](),this[_0x213cdd(0x220)][_0x213cdd(0x1c4)](this[_0x213cdd(0x19c)][_0x213cdd(0x214)]),this[_0x213cdd(0x19c)]['on'](_0x213cdd(0x1e4),()=>{const _0x4ebe98=_0x213cdd;this[_0x4ebe98(0x210)]();}),_0x122da8({'emitter':this[_0x213cdd(0x1e6)],'contextElements':[this[_0x213cdd(0x1e6)][_0x213cdd(0x214)],this[_0x213cdd(0x19c)][_0x213cdd(0x214)]],'callback':()=>this[_0x213cdd(0x1a6)](),'activator':()=>this[_0x213cdd(0x19c)][_0x213cdd(0x209)]});}[_0x367135(0x1cd)](){const _0x5f5c08=_0x367135,_0x19153d=new _0x3b97c4(this[_0x5f5c08(0x1fc)]);_0x19153d[_0x5f5c08(0x1c1)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x5b79a5=[this[_0x5f5c08(0x217)][_0x5f5c08(0x1fb)][_0x5f5c08(0x1d2)]];return this[_0x5f5c08(0x217)][_0x5f5c08(0x1fb)][_0x5f5c08(0x1b1)]&&_0x5b79a5[_0x5f5c08(0x1d9)](this[_0x5f5c08(0x217)][_0x5f5c08(0x1fb)][_0x5f5c08(0x1b1)]),_0x19153d[_0x5f5c08(0x222)]({'attributes':{'class':_0x5b79a5}}),_0x19153d;}[_0x367135(0x1b5)](){const _0x10f751=_0x367135,_0xdb7d63=new _0x3df055(this[_0x10f751(0x1fc)]);return _0xdb7d63[_0x10f751(0x222)]({'attributes':{'class':this[_0x10f751(0x217)][_0x10f751(0x1fb)][_0x10f751(0x1a3)]}}),this[_0x10f751(0x198)][_0x10f751(0x1c3)](_0xdb7d63),_0xdb7d63;}[_0x367135(0x19e)](){const _0x14944b=_0x367135;if(this[_0x14944b(0x1e6)]&&(this[_0x14944b(0x1e6)][_0x14944b(0x20a)][_0x14944b(0x1d0)](),this[_0x14944b(0x1d4)][_0x14944b(0x215)]>0x0)){this[_0x14944b(0x1d4)][_0x14944b(0x1ad)](_0x350246=>{const _0x124c52=_0x14944b;_0x350246[_0x124c52(0x1ff)]();});const _0xdc162d=new _0x204bf3(this[_0x14944b(0x1fc)]);_0xdc162d[_0x14944b(0x1a8)]({'tag':_0x14944b(0x1c6),'attributes':{'class':this[_0x14944b(0x217)][_0x14944b(0x1fb)][_0x14944b(0x21d)]},'children':this[_0x14944b(0x1d4)]}),this[_0x14944b(0x1e6)][_0x14944b(0x20a)][_0x14944b(0x1c3)](_0xdc162d);}}[_0x367135(0x210)](){const _0x40fb78=_0x367135;this[_0x40fb78(0x19c)][_0x40fb78(0x209)]?this[_0x40fb78(0x1a6)]():this[_0x40fb78(0x1e5)]();}[_0x367135(0x1ce)](){const _0x50abd9=_0x367135,_0x3e6792=this[_0x50abd9(0x1d4)][_0x50abd9(0x215)]>0x0;this[_0x50abd9(0x19c)]?.[_0x50abd9(0x214)]&&(this[_0x50abd9(0x19c)][_0x50abd9(0x214)][_0x50abd9(0x1dd)][_0x50abd9(0x1a7)]=_0x3e6792?'':_0x50abd9(0x1a2));}[_0x367135(0x1aa)](){const _0x1a9208=_0x367135;this[_0x1a9208(0x19c)]?.[_0x1a9208(0x209)]&&this[_0x1a9208(0x1e6)]?.[_0x1a9208(0x1bb)]&&this[_0x1a9208(0x19c)][_0x1a9208(0x214)]&&this[_0x1a9208(0x1e6)][_0x1a9208(0x199)]({'target':this[_0x1a9208(0x19c)][_0x1a9208(0x214)],'limiter':document[_0x1a9208(0x1c5)](_0x1a9208(0x1ec))});}[_0x367135(0x1ac)](_0x50eff0){const _0x3a98c5=_0x367135,_0x13d400=this[_0x3a98c5(0x220)]?.[_0x3a98c5(0x1e9)][_0x3a98c5(0x1a4)]()||_0x3a98c5(0x1c6),_0x46285d=this[_0x3a98c5(0x220)]?.[_0x3a98c5(0x1ab)];if(_0x46285d){const _0x56df4c=_0x46285d[0x0]||'',_0x3fa29b=_0x50eff0[_0x3a98c5(0x1c5)]('.'+_0x56df4c),_0x5c820e=_0x50eff0[_0x3a98c5(0x1c5)](_0x13d400);return _0x3fa29b||_0x5c820e||_0x50eff0;}return _0x50eff0[_0x3a98c5(0x1c5)](_0x13d400)||_0x50eff0;}[_0x367135(0x1a5)](){const _0x170d84=_0x367135,_0x132162=this[_0x170d84(0x208)]?.[_0x170d84(0x214)]||this[_0x170d84(0x220)];if(!_0x132162)return an;const _0x199104=window[_0x170d84(0x1e2)](_0x132162)[_0x170d84(0x1b8)];if(_0x170d84(0x211)===_0x199104||_0x170d84(0x1e0)===_0x199104||!_0x199104){const _0x381509=_0x132162[_0x170d84(0x1f6)];if(_0x381509){const _0xbb64c8=window[_0x170d84(0x1e2)](_0x381509);return _0x170d84(0x211)!==_0xbb64c8[_0x170d84(0x1b8)]?_0xbb64c8[_0x170d84(0x1b8)]:an;}return an;}return _0x199104;}[_0x367135(0x206)](_0x4a3851,_0x19057f){const _0x40ae4b=_0x367135;this[_0x40ae4b(0x217)][_0x40ae4b(0x1fb)][_0x40ae4b(0x1b3)]&&_0x4a3851[_0x40ae4b(0x1ab)][_0x40ae4b(0x1c3)](this[_0x40ae4b(0x217)][_0x40ae4b(0x1fb)][_0x40ae4b(0x1b3)]),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1b8)]=_0x19057f,_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1e1)]=_0x40ae4b(0x205),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1b4)]=_0x40ae4b(0x212),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x207)]=_0x40ae4b(0x212),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1fd)]='0',_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1bc)]=_0x40ae4b(0x1a2),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x195)]='-1',_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1d6)]=_0x40ae4b(0x19b),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1a7)]=_0x40ae4b(0x1ca),_0x4a3851[_0x40ae4b(0x1dd)][_0x40ae4b(0x1e8)]=_0x40ae4b(0x221);}[_0x367135(0x1cb)](_0x27cc5e){const _0xe541d5=_0x367135;_0x27cc5e[_0xe541d5(0x1ad)](({element:_0x511caf,originalDisplay:_0x2773c6,originalVisibility:_0x287c3b})=>{const _0x257da3=_0xe541d5;_0x511caf[_0x257da3(0x1dd)][_0x257da3(0x1a7)]=_0x2773c6,_0x511caf[_0x257da3(0x1dd)][_0x257da3(0x1d6)]=_0x287c3b;});}[_0x367135(0x1be)](_0x552e43){const _0x5eb12b=_0x367135,_0x43265b=[];let _0x49e21f=_0x552e43;for(;_0x49e21f&&_0x49e21f!==document[_0x5eb12b(0x1f2)];){const _0x4644e8=window[_0x5eb12b(0x1e2)](_0x49e21f);_0x5eb12b(0x1a2)!==_0x4644e8[_0x5eb12b(0x1a7)]&&_0x5eb12b(0x1ef)!==_0x4644e8[_0x5eb12b(0x1d6)]||(_0x43265b[_0x5eb12b(0x1d9)]({'element':_0x49e21f,'originalDisplay':_0x49e21f[_0x5eb12b(0x1dd)][_0x5eb12b(0x1a7)],'originalVisibility':_0x49e21f[_0x5eb12b(0x1dd)][_0x5eb12b(0x1d6)]}),_0x49e21f[_0x5eb12b(0x1dd)][_0x5eb12b(0x1a7)]=_0x5eb12b(0x19f),_0x49e21f[_0x5eb12b(0x1dd)][_0x5eb12b(0x1d6)]=_0x5eb12b(0x1eb)),_0x49e21f=_0x49e21f[_0x5eb12b(0x1f6)];}return _0x43265b;}[_0x367135(0x1f3)](){const _0x2451e4=_0x367135;let _0x6b169f,_0x31e8aa;return this[_0x2451e4(0x208)]?.[_0x2451e4(0x214)]?(_0x6b169f=this[_0x2451e4(0x208)][_0x2451e4(0x214)][_0x2451e4(0x1af)](!0x0),_0x31e8aa=this[_0x2451e4(0x1ac)](_0x6b169f)):(_0x6b169f=document[_0x2451e4(0x225)](_0x2451e4(0x1c6)),_0x31e8aa=_0x6b169f),{'calculationContainer':_0x6b169f,'targetContainer':_0x31e8aa};}[_0x367135(0x202)](){const _0x14b63d=_0x367135,{calculationContainer:_0x4298ce,targetContainer:_0x2b1e19}=this[_0x14b63d(0x1f3)](),_0x16f18b=this[_0x14b63d(0x1a5)]();this[_0x14b63d(0x206)](_0x4298ce,_0x16f18b);const _0x2d7aaf=this[_0x14b63d(0x208)]?.[_0x14b63d(0x214)]||this[_0x14b63d(0x220)],_0x61a3bd=_0x2d7aaf?.[_0x14b63d(0x1f6)];_0x61a3bd?_0x61a3bd[_0x14b63d(0x1c4)](_0x4298ce):document[_0x14b63d(0x1f2)][_0x14b63d(0x1c4)](_0x4298ce),_0x4298ce[_0x14b63d(0x1dc)]=_0x2b1e19;const _0x10b978=this[_0x14b63d(0x1be)](_0x61a3bd||null);return _0x4298ce[_0x14b63d(0x20f)],_0x4298ce[_0x14b63d(0x1c0)]=_0x10b978,_0x4298ce;}[_0x367135(0x1fa)](_0x5c4e93,_0x3be022){const _0x234dc1=_0x367135,_0x57542e=_0x5c4e93[_0x234dc1(0x1dc)]||_0x5c4e93,_0x5565f3=[],{rowCount:_0x2bf860}=this[_0x234dc1(0x1cc)](_0x57542e,_0x3be022);if(_0x2bf860<=this[_0x234dc1(0x217)][_0x234dc1(0x1b0)])return _0x5565f3;const _0x5849e8=_0x3be022[_0x234dc1(0x1a1)]();for(;_0x5849e8[_0x234dc1(0x215)]>0x0;){if(this[_0x234dc1(0x19a)](_0x5c4e93,_0x57542e,_0x5849e8)){const _0x35a143=_0x3be022[_0x234dc1(0x21c)](_0xd8e165=>!_0x5849e8[_0x234dc1(0x1e3)](_0xd8e165));_0x5565f3[_0x234dc1(0x1d9)](..._0x35a143);break;}if(!_0x5849e8[_0x234dc1(0x1ea)]())break;}return _0x5565f3;}[_0x367135(0x1cc)](_0x3cba14,_0x3f7698){const _0x1b5d38=_0x367135;_0x3cba14[_0x1b5d38(0x200)]='',_0x3f7698[_0x1b5d38(0x1ad)](_0x33bf17=>{const _0x1d62eb=_0x1b5d38;if(_0x33bf17[_0x1d62eb(0x214)]){const _0xfae4ea=_0x33bf17[_0x1d62eb(0x214)][_0x1d62eb(0x1af)](!0x0);_0x3cba14[_0x1d62eb(0x1c4)](_0xfae4ea);}}),_0x3cba14[_0x1b5d38(0x20f)];const _0x1659d0=_0x3cba14[_0x1b5d38(0x203)],_0x2b872a=[];return Array[_0x1b5d38(0x1ee)](_0x1659d0)[_0x1b5d38(0x1ad)](_0x21eb2f=>{const _0x4dd844=_0x1b5d38,_0x23d9a8=_0x21eb2f[_0x4dd844(0x1bd)]()[_0x4dd844(0x1b4)];_0x2b872a[_0x4dd844(0x20c)](_0x210c18=>Math[_0x4dd844(0x213)](_0x210c18-_0x23d9a8)<this[_0x4dd844(0x217)][_0x4dd844(0x21a)])||_0x2b872a[_0x4dd844(0x1d9)](_0x23d9a8);}),{'rowCount':_0x2b872a[_0x1b5d38(0x215)]};}[_0x367135(0x1d8)](){const _0x36c4c1=_0x367135,_0x2968f0=document[_0x36c4c1(0x225)](_0x36c4c1(0x1f8));return _0x2968f0[_0x36c4c1(0x1b2)]=this[_0x36c4c1(0x217)][_0x36c4c1(0x1fb)][_0x36c4c1(0x1d2)],this[_0x36c4c1(0x217)][_0x36c4c1(0x1fb)][_0x36c4c1(0x1b1)]&&_0x2968f0[_0x36c4c1(0x1ab)][_0x36c4c1(0x1c3)](this[_0x36c4c1(0x217)][_0x36c4c1(0x1fb)][_0x36c4c1(0x1b1)]),_0x2968f0[_0x36c4c1(0x1f5)]=_0x36c4c1(0x193),_0x2968f0;}[_0x367135(0x19a)](_0x47563a,_0x410234,_0x45e654){const _0x1711bf=_0x367135;this[_0x1711bf(0x1cc)](_0x410234,_0x45e654);const _0x42575d=this[_0x1711bf(0x1d8)]();_0x47563a[_0x1711bf(0x1c4)](_0x42575d),_0x47563a[_0x1711bf(0x20f)];const _0x1164cf=[..._0x410234[_0x1711bf(0x203)],_0x42575d],_0x14b6f7=[];_0x1164cf[_0x1711bf(0x1ad)](_0x56763a=>{const _0x1839a6=_0x1711bf,_0x3c2297=_0x56763a[_0x1839a6(0x1bd)]()[_0x1839a6(0x1b4)];_0x14b6f7[_0x1839a6(0x20c)](_0x54ccce=>Math[_0x1839a6(0x213)](_0x54ccce-_0x3c2297)<this[_0x1839a6(0x217)][_0x1839a6(0x21a)])||_0x14b6f7[_0x1839a6(0x1d9)](_0x3c2297);});const _0x2608de=_0x14b6f7[_0x1711bf(0x215)];return _0x42575d[_0x1711bf(0x1ba)](),_0x2608de<=this[_0x1711bf(0x217)][_0x1711bf(0x1b0)];}[_0x367135(0x1b9)](_0x457464,_0x29d495){const _0x316240=_0x367135;this[_0x316240(0x1bf)][_0x316240(0x1d0)](),this[_0x316240(0x1d4)][_0x316240(0x1d0)](),_0x457464[_0x316240(0x1ad)](_0x349838=>{const _0x3988d0=_0x316240;_0x29d495[_0x3988d0(0x1e3)](_0x349838)?this[_0x3988d0(0x1d4)][_0x3988d0(0x1c3)](_0x349838):this[_0x3988d0(0x1bf)][_0x3988d0(0x1c3)](_0x349838);});}[_0x367135(0x1fe)](_0xd1caca){const _0xd57150=_0x367135;if(_0xd1caca>0x0&&!this[_0xd57150(0x19c)]&&this[_0xd57150(0x223)](),_0xd1caca>0x0&&this[_0xd57150(0x19c)]){const _0x4e5b72=''+this[_0xd57150(0x217)][_0xd57150(0x1db)]+(_0xd1caca<0x63?_0xd1caca:'99');this[_0xd57150(0x19c)][_0xd57150(0x196)]=_0x4e5b72;}this[_0xd57150(0x19e)](),this[_0xd57150(0x1ce)](),this[_0xd57150(0x1aa)]();}[_0x367135(0x216)](_0x441b4d,_0x1194bd){const _0x193929=_0x367135;this[_0x193929(0x1b9)](_0x441b4d,_0x1194bd),this[_0x193929(0x1fe)](_0x1194bd[_0x193929(0x215)]);}[_0x367135(0x20e)](){const _0x973e04=_0x367135;this[_0x973e04(0x220)]&&_0x973e04(0x1d5)!=typeof IntersectionObserver&&(this[_0x973e04(0x1d3)]=new IntersectionObserver(_0x457b29=>{const _0x161b5d=_0x973e04;_0x457b29[0x0][_0x161b5d(0x21e)]&&this[_0x161b5d(0x1f4)]&&requestAnimationFrame(()=>{const _0x1289ac=_0x161b5d;this[_0x1289ac(0x20b)]();});},{'threshold':0.01,'rootMargin':_0x973e04(0x224)}),this[_0x973e04(0x1d3)][_0x973e04(0x201)](this[_0x973e04(0x220)]));}[_0x367135(0x1a0)](){const _0x336940=_0x367135;if(!this[_0x336940(0x220)])return!0x1;if(!this[_0x336940(0x220)][_0x336940(0x1f1)])return!0x1;const _0x27ccf6=this[_0x336940(0x220)][_0x336940(0x1bd)]();if(0x0===_0x27ccf6[_0x336940(0x1b8)]||0x0===_0x27ccf6[_0x336940(0x1da)])return!0x1;const _0x47dfb7=window[_0x336940(0x204)]||document[_0x336940(0x20d)][_0x336940(0x226)],_0x358231=window[_0x336940(0x21b)]||document[_0x336940(0x20d)][_0x336940(0x1de)],_0x44da7a=0xc8;return _0x27ccf6[_0x336940(0x1f9)]>=-0xc8&&_0x27ccf6[_0x336940(0x1b4)]<=_0x47dfb7+_0x44da7a&&_0x27ccf6[_0x336940(0x1b6)]>=-0xc8&&_0x27ccf6[_0x336940(0x207)]<=_0x358231+_0x44da7a;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b5cbd=_0x4808;(function(_0x24bfa9,_0x3a8b30){const _0xf31928=_0x4808,_0x2082b5=_0x24bfa9();while(!![]){try{const _0x188a61=parseInt(_0xf31928(0xad))/0x1+parseInt(_0xf31928(0xb0))/0x2+-parseInt(_0xf31928(0xa4))/0x3*(parseInt(_0xf31928(0xa6))/0x4)+-parseInt(_0xf31928(0xb2))/0x5+parseInt(_0xf31928(0x9d))/0x6+-parseInt(_0xf31928(0x99))/0x7*(parseInt(_0xf31928(0xc2))/0x8)+parseInt(_0xf31928(0x96))/0x9;if(_0x188a61===_0x3a8b30)break;else _0x2082b5['push'](_0x2082b5['shift']());}catch(_0x389ad1){_0x2082b5['push'](_0x2082b5['shift']());}}}(_0x32e9,0xd9b5f));import{ButtonView as _0x3017bc,IconView as _0x539946}from'ckeditor5/src/ui.js';import{IconClose as _0x19d2f0,IconDocument as _0x1e6a19,IconFileUpload as _0x14fdd1,IconLink as _0x5b7698,IconSelection as _0x117372}from'@ckeditor/ckeditor5-icons';function _0x32e9(){const _0x1fa082=['1725796VtSUWR','ck-ai-chat-context-chip__label','selection','308764AkJOXV','ck-hidden','3634300rxOGpV','classList','small','ck-ai-chat-context-chip_wide','webkitAnimationEnd','document','animationend','element','_initializeProperties','uiId','span','execute','setTemplate','addEventListener','div','_setupTemplate','32TVDjdh','label','content','add','itemType','_createLabelElement','extendTemplate','lastIndexOf','slice','type','isVisible','locale','set','_createIconView','_createLoaderIcon','ck-ai-chat-context-chip_document','length','ck-ai-chat-context-chip_new-chip','disableAnimationOnEnter','isLoading','_createTemplateChildren','15588873FWeezc','removeContextItemChip','ck-ai-chat-context-chip__type-icon','1649746dPbrRg','bind','_isAnimationOnEnterEnabled','_createRemoveButton','2127576DvbBob','tooltip','removeEventListener','_createTemplateAttributes','bindTemplate','readonly','ck-ai-chat-context-chip','113964dCrzDD','remove','148dCUZXy','render','_handleAnimationEndOnce','ck-ai-chat-context-controls__chip-tooltip','fire','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','_setupRemoveButtonEvent'];_0x32e9=function(){return _0x1fa082;};return _0x32e9();}function _0x4808(_0x139977,_0x4cfa9f){const _0x32e955=_0x32e9();return _0x4808=function(_0x4808c4,_0x12fc2b){_0x4808c4=_0x4808c4-0x8a;let _0x3bc1d2=_0x32e955[_0x4808c4];return _0x3bc1d2;},_0x4808(_0x139977,_0x4cfa9f);}import{getTranslation as _0x3f3c9d}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x3e19d0}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x14fdd1,'document':_0x1e6a19,'web-resource':_0x5b7698,'text':_0x14fdd1,'selection':_0x117372},bn=_0x2b5cbd(0xa3),wn=_0x2b5cbd(0xb5),Tn=_0x2b5cbd(0x90),En=_0x2b5cbd(0xae),fn=_0x2b5cbd(0x98),An=_0x2b5cbd(0xa9),Cn='n';export class AIChatContextItemButtonView extends _0x3017bc{constructor(_0x437255,_0x12e3f0,_0x132c82,_0xd883c9,_0x32bf85=!0x1){const _0x102ee0=_0x2b5cbd;super(_0x437255),this[_0x102ee0(0x9b)]=_0xd883c9,this[_0x102ee0(0xba)](_0x12e3f0,_0x132c82,_0x32bf85),this[_0x102ee0(0xc1)]();}[_0x2b5cbd(0xa7)](){const _0x5450f3=_0x2b5cbd;super[_0x5450f3(0xa7)](),this[_0x5450f3(0x9b)]&&this[_0x5450f3(0xb9)]&&(this[_0x5450f3(0xb9)][_0x5450f3(0xb3)][_0x5450f3(0xc5)](_0x5450f3(0x92)),this[_0x5450f3(0xa8)](this[_0x5450f3(0xb9)],()=>{const _0x391dcf=_0x5450f3;this[_0x391dcf(0xb9)]&&this[_0x391dcf(0xb9)][_0x391dcf(0xb3)][_0x391dcf(0xa5)](_0x391dcf(0x92));}));}[_0x2b5cbd(0x93)](){const _0x2d7748=_0x2b5cbd;this[_0x2d7748(0x9b)]=!0x1,this[_0x2d7748(0xb9)]&&this[_0x2d7748(0xb9)][_0x2d7748(0xb3)][_0x2d7748(0xa5)](_0x2d7748(0x92));}[_0x2b5cbd(0xba)](_0x543f2b,_0x41b5e1,_0x4a8aec){const _0x5b6ee0=_0x2b5cbd;this[_0x5b6ee0(0x8d)](_0x5b6ee0(0xc3),_0x543f2b[_0x5b6ee0(0xc3)]),this[_0x5b6ee0(0x8d)](_0x5b6ee0(0x9e),!0x0),this[_0x5b6ee0(0x8d)](_0x5b6ee0(0xc6),_0x543f2b[_0x5b6ee0(0x8a)]),this[_0x5b6ee0(0x8d)]('id',_0x543f2b[_0x5b6ee0(0xbb)]),this[_0x5b6ee0(0x8d)](_0x5b6ee0(0xa2),_0x41b5e1),this[_0x5b6ee0(0x8d)](_0x5b6ee0(0x94),_0x4a8aec);}[_0x2b5cbd(0xc1)](){const _0x2f814a=_0x2b5cbd,_0x4247bf=this[_0x2f814a(0x8e)](),_0x34db28=this[_0x2f814a(0x9c)](),_0x3d8bd2=this[_0x2f814a(0xa1)];this[_0x2f814a(0xbe)]({'tag':_0x2f814a(0xc0),'attributes':this[_0x2f814a(0xa0)](_0x3d8bd2),'children':this[_0x2f814a(0x95)](_0x4247bf,_0x34db28,_0x3d8bd2)});}[_0x2b5cbd(0xa0)](_0x122b9e){const _0x4d6983=_0x2b5cbd;return{'class':[bn,_0x122b9e['if'](_0x4d6983(0xc6),Tn,_0x262eb2=>_0x4d6983(0xb7)==_0x262eb2),_0x122b9e['if'](_0x4d6983(0xc6),wn,_0xa0c512=>_0x4d6983(0xaf)==_0xa0c512)],'data-cke-tooltip-text':_0x122b9e['to'](_0x4d6983(0xc3),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x2b5cbd(0x95)](_0x5be559,_0x31c2e3,_0x5b90a2){const _0x4ae090=_0x2b5cbd,_0xc50c55=this[_0x4ae090(0xc7)](_0x5b90a2),_0x3f7743=this[_0x4ae090(0x8f)]();return this[_0x4ae090(0xa2)]?[_0x5be559,_0xc50c55]:[_0x5be559,_0x3f7743,_0xc50c55,_0x31c2e3];}[_0x2b5cbd(0xc7)](_0x85fc6d){const _0x1f0f59=_0x2b5cbd;return{'tag':_0x1f0f59(0xbc),'attributes':{'class':En},'children':[{'text':_0x85fc6d['to'](_0x1f0f59(0xc3))}]};}[_0x2b5cbd(0x9c)](){const _0x6ab785=_0x2b5cbd,_0x3069c3=new _0x3017bc(this[_0x6ab785(0x8c)]);return _0x3069c3[_0x6ab785(0x8d)]({'label':_0x3f3c9d(this[_0x6ab785(0x8c)],_0x6ab785(0xab)),'icon':_0x19d2f0}),this[_0x6ab785(0xac)](_0x3069c3),_0x3069c3;}[_0x2b5cbd(0xac)](_0x58825b){const _0x562010=_0x2b5cbd;_0x58825b['on'](_0x562010(0xbd),()=>{const _0x221452=_0x562010;this[_0x221452(0xaa)](_0x221452(0x97),this['id']);});}[_0x2b5cbd(0x8e)](){const _0x14c319=_0x2b5cbd,_0x266fa6=this[_0x14c319(0xa1)],_0x341c76=new _0x539946();return _0x341c76[_0x14c319(0xc4)]=xn[this[_0x14c319(0xc6)]],_0x341c76[_0x14c319(0xc8)]({'attributes':{'class':[fn,_0x266fa6['if'](_0x14c319(0x94),_0x14c319(0xb1),_0x25be86=>_0x25be86)]}}),_0x341c76;}[_0x2b5cbd(0xa8)](_0x4552a9,_0x1bbfdd){const _0x2c044e=_0x2b5cbd;if(!_0x4552a9)return;const _0x526fba=()=>{const _0x4925b5=_0x4808;_0x1bbfdd(),_0x4552a9[_0x4925b5(0x9f)](_0x4925b5(0xb8),_0x526fba),_0x4552a9[_0x4925b5(0x9f)](_0x4925b5(0xb6),_0x526fba);};_0x4552a9[_0x2c044e(0xbf)](_0x2c044e(0xb8),_0x526fba),_0x4552a9[_0x2c044e(0xbf)](_0x2c044e(0xb6),_0x526fba);}[_0x2b5cbd(0x8f)](){const _0x35ed38=_0x2b5cbd,_0x36afad=new _0x3e19d0(_0x35ed38(0xb4));return _0x36afad[_0x35ed38(0x9a)](_0x35ed38(0x8b))['to'](this,_0x35ed38(0x94),_0x5f0f4d=>_0x5f0f4d),_0x36afad;}}function In(_0x5a2cc7){const _0x222afb=_0x2b5cbd;if(!_0x5a2cc7)return _0x5a2cc7;if(_0x5a2cc7[_0x222afb(0x91)]<=0x78)return _0x5a2cc7;const _0x3c9939=_0x5a2cc7[_0x222afb(0xca)](0x0,0x78),_0x2a4038=_0x3c9939[_0x222afb(0xc9)]('\x20');return(_0x2a4038>0x0?_0x3c9939[_0x222afb(0xca)](0x0,_0x2a4038):_0x3c9939)+'…';}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x37da(_0x2f8b85,_0x7845a){const _0x5affb6=_0x5aff();return _0x37da=function(_0x37da90,_0x133d40){_0x37da90=_0x37da90-0x14d;let _0x3690f3=_0x5affb6[_0x37da90];return _0x3690f3;},_0x37da(_0x2f8b85,_0x7845a);}function _0x5aff(){const _0x4a7667=['1126173LYvTyU','set','listenTo','_createConfirmButton','AI_CHAT_CONTEXT_URL_PLACEHOLDER','focusCycler','execute','_setupEventHandlers','14353497cJxUBs','2047266wcrTiR','esc','528044SJOSao','focus','render','submit','fieldView','ck-button-icon','keystrokes','div','trim','_isValidUrl','element','864NjedNW','clearError','value','setError','urlInputField','_handleSubmit','submitUrl','tab','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','_updateConfirmButtonState','confirmButton','locale','clear','AI_CHAT_CONTEXT_URL_INVALID_ERROR','fire','_setupKeystrokes','ck-button-icon\x20ck-button-back','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','AI_CHAT_CONTEXT_URL_LABEL','forEach','add','getValue','destroy','ck-ai-chat-context-controls__url-form','ck-labeled-field-view_empty','_createBackButton','_createUrlInputField','stop','backButton','isEnabled','21125800IvWlol','errorText','AI_CHAT_CONTEXT_URL_ADD_URL','_setupTemplate','cancel','focusTracker','refreshBalloon','ck-ai-chat-context-controls__url-input-section','shift+tab','setTemplate','2KvAXdB','createCollection','form','5927315FmQGDU','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','input','18935ffbKTc','length','children','24QvKgZi','_focusables'];_0x5aff=function(){return _0x4a7667;};return _0x5aff();}const _0x56b7f3=_0x37da;(function(_0x4287a1,_0x197473){const _0x339a9b=_0x37da,_0x3d4f33=_0x4287a1();while(!![]){try{const _0x378113=-parseInt(_0x339a9b(0x158))/0x1*(-parseInt(_0x339a9b(0x14d))/0x2)+-parseInt(_0x339a9b(0x156))/0x3*(-parseInt(_0x339a9b(0x163))/0x4)+-parseInt(_0x339a9b(0x150))/0x5+-parseInt(_0x339a9b(0x161))/0x6+parseInt(_0x339a9b(0x153))/0x7*(-parseInt(_0x339a9b(0x16e))/0x8)+-parseInt(_0x339a9b(0x160))/0x9+parseInt(_0x339a9b(0x18c))/0xa;if(_0x378113===_0x197473)break;else _0x3d4f33['push'](_0x3d4f33['shift']());}catch(_0x17da70){_0x3d4f33['push'](_0x3d4f33['shift']());}}}(_0x5aff,0xd722a));import{FocusTracker as _0x59eb3f,KeystrokeHandler as _0x2fd64a}from'ckeditor5/src/utils.js';import{ButtonView as _0x4df145,FocusCycler as _0x3d7521,LabeledFieldView as _0x161f92,View as _0x5f45c3,FormHeaderView as _0x4e73b4,createLabeledInputText as _0x4249e6,submitHandler as _0x1993d9}from'ckeditor5/src/ui.js';import{IconCheck as _0x48c649,IconPreviousArrow as _0x237e89}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x17b6ad}from'../../../aicore/utils/common-translations.js';const ch=_0x56b7f3(0x185),nh=_0x56b7f3(0x193);export class AIChatContextPanelUrlInputView extends _0x5f45c3{[_0x56b7f3(0x191)];[_0x56b7f3(0x169)];[_0x56b7f3(0x157)];[_0x56b7f3(0x15d)];[_0x56b7f3(0x172)];[_0x56b7f3(0x18a)];[_0x56b7f3(0x178)];constructor(_0x9cdbf9){const _0xb74ed8=_0x56b7f3;super(_0x9cdbf9),this[_0xb74ed8(0x191)]=new _0x59eb3f(),this[_0xb74ed8(0x169)]=new _0x2fd64a(),this[_0xb74ed8(0x18a)]=this[_0xb74ed8(0x187)](),this[_0xb74ed8(0x172)]=this[_0xb74ed8(0x188)](),this[_0xb74ed8(0x178)]=this[_0xb74ed8(0x15b)](),this[_0xb74ed8(0x157)]=this[_0xb74ed8(0x14e)]([this[_0xb74ed8(0x18a)],this[_0xb74ed8(0x172)],this[_0xb74ed8(0x178)]]),this[_0xb74ed8(0x15d)]=new _0x3d7521({'focusables':this[_0xb74ed8(0x157)],'focusTracker':this[_0xb74ed8(0x191)],'keystrokeHandler':this[_0xb74ed8(0x169)],'actions':{'focusPrevious':_0xb74ed8(0x194),'focusNext':_0xb74ed8(0x175)}}),this[_0xb74ed8(0x18f)](),this[_0xb74ed8(0x15f)](),this[_0xb74ed8(0x17d)]();}[_0x56b7f3(0x165)](){const _0x1b140c=_0x56b7f3;super[_0x1b140c(0x165)](),this[_0x1b140c(0x157)][_0x1b140c(0x181)](_0x2b6f43=>{const _0x5a6f5a=_0x1b140c;this[_0x5a6f5a(0x191)][_0x5a6f5a(0x182)](_0x2b6f43[_0x5a6f5a(0x16d)]),this[_0x5a6f5a(0x169)][_0x5a6f5a(0x15a)](_0x2b6f43[_0x5a6f5a(0x16d)]);}),_0x1993d9({'view':this}),this[_0x1b140c(0x164)]();}[_0x56b7f3(0x184)](){const _0x2796aa=_0x56b7f3;super[_0x2796aa(0x184)](),this[_0x2796aa(0x191)][_0x2796aa(0x184)](),this[_0x2796aa(0x169)][_0x2796aa(0x184)]();}[_0x56b7f3(0x164)](){const _0x4d29ab=_0x56b7f3;this[_0x4d29ab(0x172)][_0x4d29ab(0x164)]();}[_0x56b7f3(0x183)](){const _0x548fe3=_0x56b7f3;return this[_0x548fe3(0x172)][_0x548fe3(0x167)][_0x548fe3(0x16d)]?.[_0x548fe3(0x170)]?.[_0x548fe3(0x16b)]()||'';}[_0x56b7f3(0x17a)](){const _0x48ee4f=_0x56b7f3;this[_0x48ee4f(0x172)][_0x48ee4f(0x167)][_0x48ee4f(0x16d)][_0x48ee4f(0x170)]='',this[_0x48ee4f(0x172)][_0x48ee4f(0x18d)]=null,this[_0x48ee4f(0x178)][_0x48ee4f(0x18b)]=!0x1;}[_0x56b7f3(0x171)](_0x2e1656){const _0x55f871=_0x56b7f3;this[_0x55f871(0x172)][_0x55f871(0x18d)]=_0x2e1656,this[_0x55f871(0x177)](),this[_0x55f871(0x17c)](_0x55f871(0x192));}[_0x56b7f3(0x16f)](){const _0x54aeb3=_0x56b7f3;this[_0x54aeb3(0x172)][_0x54aeb3(0x18d)]=null,this[_0x54aeb3(0x177)]();}[_0x56b7f3(0x187)](){const _0xd0f459=_0x56b7f3,_0x423c1f=new _0x4df145(this[_0xd0f459(0x179)]);return _0x423c1f[_0xd0f459(0x159)]({'icon':_0x237e89,'tooltip':_0x17b6ad(this[_0xd0f459(0x179)],_0xd0f459(0x151)),'tooltipPosition':'n','class':_0xd0f459(0x17e)}),_0x423c1f;}[_0x56b7f3(0x188)](){const _0x390cf6=_0x56b7f3,_0x11f0b7=new _0x161f92(this[_0x390cf6(0x179)],_0x4249e6);return _0x11f0b7[_0x390cf6(0x159)]({'label':_0x17b6ad(this[_0x390cf6(0x179)],_0x390cf6(0x180)),'class':_0x390cf6(0x186)}),_0x11f0b7[_0x390cf6(0x167)][_0x390cf6(0x159)]({'placeholder':_0x17b6ad(this[_0x390cf6(0x179)],_0x390cf6(0x15c))}),_0x11f0b7;}[_0x56b7f3(0x15b)](){const _0x4f4565=_0x56b7f3,_0xba4a7c=new _0x4df145(this[_0x4f4565(0x179)]);return _0xba4a7c[_0x4f4565(0x159)]({'icon':_0x48c649,'tooltip':_0x17b6ad(this[_0x4f4565(0x179)],_0x4f4565(0x18e)),'tooltipPosition':'n','class':_0x4f4565(0x168),'type':_0x4f4565(0x166),'isEnabled':!0x1}),_0xba4a7c;}[_0x56b7f3(0x18f)](){const _0x5aadab=_0x56b7f3,_0x1919f9=new _0x4e73b4(this[_0x5aadab(0x179)],{'label':_0x17b6ad(this[_0x5aadab(0x179)],_0x5aadab(0x18e)),'class':_0x5aadab(0x17f)});_0x1919f9[_0x5aadab(0x155)][_0x5aadab(0x182)](this[_0x5aadab(0x18a)],0x0),this[_0x5aadab(0x195)]({'tag':_0x5aadab(0x14f),'attributes':{'class':ch,'tabindex':'-1'},'children':[_0x1919f9,{'tag':_0x5aadab(0x16a),'attributes':{'class':nh},'children':[this[_0x5aadab(0x172)],this[_0x5aadab(0x178)]]}]});}[_0x56b7f3(0x15f)](){const _0xc6584b=_0x56b7f3;this[_0xc6584b(0x18a)]['on'](_0xc6584b(0x15e),()=>{const _0xcb880=_0xc6584b;this[_0xcb880(0x17a)](),this[_0xcb880(0x17c)](_0xcb880(0x190));}),this[_0xc6584b(0x172)][_0xc6584b(0x167)]['on'](_0xc6584b(0x152),()=>{const _0x28ee8d=_0xc6584b;this[_0x28ee8d(0x16f)](),this[_0x28ee8d(0x177)](),this[_0x28ee8d(0x17c)](_0x28ee8d(0x192));}),this['on'](_0xc6584b(0x166),_0x39d2da=>{const _0x571cfa=_0xc6584b;_0x39d2da[_0x571cfa(0x189)](),this[_0x571cfa(0x173)]();});}[_0x56b7f3(0x17d)](){const _0x4e1d16=_0x56b7f3;this[_0x4e1d16(0x169)][_0x4e1d16(0x159)](_0x4e1d16(0x162),(_0x2ce5a2,_0x2d1435)=>{const _0x5e2ad4=_0x4e1d16;this[_0x5e2ad4(0x17a)](),this[_0x5e2ad4(0x17c)](_0x5e2ad4(0x190)),_0x2d1435();});}[_0x56b7f3(0x173)](){const _0x4e5fa6=_0x56b7f3,_0x18dfa9=this[_0x4e5fa6(0x183)]()[_0x4e5fa6(0x16b)]();_0x18dfa9?this[_0x4e5fa6(0x16c)](_0x18dfa9)?(this[_0x4e5fa6(0x16f)](),this[_0x4e5fa6(0x17c)](_0x4e5fa6(0x174),_0x18dfa9)):this[_0x4e5fa6(0x171)](_0x17b6ad(this[_0x4e5fa6(0x179)],_0x4e5fa6(0x17b))):this[_0x4e5fa6(0x171)](_0x17b6ad(this[_0x4e5fa6(0x179)],_0x4e5fa6(0x176)));}[_0x56b7f3(0x177)](){const _0x1f03e4=_0x56b7f3,_0x5429ef=this[_0x1f03e4(0x183)]()[_0x1f03e4(0x16b)](),_0x1690a2=!!this[_0x1f03e4(0x172)][_0x1f03e4(0x18d)];this[_0x1f03e4(0x178)][_0x1f03e4(0x18b)]=_0x5429ef[_0x1f03e4(0x154)]>0x0&&!_0x1690a2;}[_0x56b7f3(0x16c)](_0x1e7fe4){try{return!!new URL(_0x1e7fe4);}catch{return!0x1;}}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x24d9(_0x454858,_0x4360f1){const _0x4adc95=_0x4adc();return _0x24d9=function(_0x24d961,_0xfa4d0b){_0x24d961=_0x24d961-0x1d0;let _0x489bed=_0x4adc95[_0x24d961];return _0x489bed;},_0x24d9(_0x454858,_0x4360f1);}const _0x1b294a=_0x24d9;(function(_0x402a09,_0x300083){const _0x1c5eab=_0x24d9,_0xd77907=_0x402a09();while(!![]){try{const _0x46b0ce=-parseInt(_0x1c5eab(0x261))/0x1*(-parseInt(_0x1c5eab(0x24e))/0x2)+-parseInt(_0x1c5eab(0x238))/0x3*(-parseInt(_0x1c5eab(0x228))/0x4)+-parseInt(_0x1c5eab(0x217))/0x5*(parseInt(_0x1c5eab(0x23d))/0x6)+-parseInt(_0x1c5eab(0x23e))/0x7*(-parseInt(_0x1c5eab(0x208))/0x8)+parseInt(_0x1c5eab(0x1f8))/0x9+parseInt(_0x1c5eab(0x1e3))/0xa*(-parseInt(_0x1c5eab(0x25d))/0xb)+-parseInt(_0x1c5eab(0x24b))/0xc;if(_0x46b0ce===_0x300083)break;else _0xd77907['push'](_0xd77907['shift']());}catch(_0x416a64){_0xd77907['push'](_0xd77907['shift']());}}}(_0x4adc,0x6b2d9));import{BalloonPanelView as _0x70fcb2,ButtonView as _0x1d78a3,clickOutsideHandler as _0x236d5d,FileDialogButtonView as _0x570aca,IconView as _0x5590e3,View as _0x130c3f}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x158680,IconDocument as _0x1aa855,IconDocumentOutline as _0x4213dc,IconDropdownArrow as _0x2acf06,IconLink as _0x50e3a5,IconPaperClip as _0x577500}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x264106}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x3b6efd}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x3d31e7}from'./aichatchipsoverflowmanager.js';function _0x4adc(){const _0x510720=['showSourceResourcesBalloon','setConversationContext','_addContextBalloonConfig','setTemplate','cancel','showUrlBalloonPanel','updateResourceState','_addContextToCollection','ck-ai-chat-context-controls__balloon-button-source','overflowChips','__arrow','done','isReadOnly','fire','11rxwZUY','ck-ai-chat-controls-button','_createAddContextButtonView','files','2041pxJUgL','_createArrowView','_setAddContextButtonEnabled','addContextItem','isVisible','reorganizeChips','addFileToContext','conversation','populateSourceResourceBalloon','isHidden','execute','addResourceToContext','_showSourceResourcesBalloon','ck-ai-chat-context-controls__show-more-balloon-panel','_handleAddContextButtonClick','showAddContextBalloonPanel','addContextButtonView','northArrowSouthEast','div','balloonView','6563660QLJKIM','defaultPositions','menuitem','setAddContextOptions','sources','isLoading','_setupUrlBalloonClickOutsideHandler','_createUrlBalloonPanelView','loadSourceResources','setContextItemLoading','isEnabled','clearCurrentContextItems','ck-ai-chat-controls_context_show-more-button','northArrowSouth','submitUrl','render','hideAddContextBalloonPanel','urls','arrowView','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','hide','1236213ZjeBng','_createBalloonButton','_setupTemplate','closeSourceResourceBalloon','searchInputVisibleFrom','body','ck-ai-chat-context-controls__add-context-balloon-panel','_toggleAddContextBalloon','clearConversationContextItems','isOn','content','_setupAllBalloonClickOutsideHandlers','ck-ai-chat-context-chips-wrapper-balloon','_overflowManager','source','_createBaseBalloonPanel','15328ZJNmQY','southArrowNorth','_resourcesBalloonView','southArrowNorthEast','_setBalloonPanelContent','hideUrlBalloonPanel','_currentContextsChips','_createAddContextBalloonPanelView','AI_CHAT_CONTEXT_ADD_CONTEXT','icon','AI_CHAT_CONTEXT_FILE_LABEL','buttonView','focus','ck-ai-chat-context-controls__pending-contexts','set','868435TawxoW','createCollection','addUrlToContext','_createResourcesBalloonView','_urlBalloonPanelView','ck-reset_all-excluded','tooltip','_removeContextFromCollection','ck-ai-chat','closest','_conversationContextsChips','label','_createContextButton','bodyCollection','_setupAddContextBalloonClickOutsideHandler','type','ck-ai-chat-context-controls','261176umwYwv','ck-ai-chat-context-controls__add-context-button','remove','setContainerElement','isAnyResourceBalloonVisible','AI_CHAT_CONTEXT_URL_LABEL','locale','extendTemplate','addDocumentToContext','clear','southArrowNorthWest','enabled','add','bind','_addContextBalloonPanelView','_addUrlContent','39rfUxmZ','destroy','_handleUrlSubmit','refreshBalloon','pin','30HCumzt','2569GUFRdP','_urlInputView','element','_bindEventHandlers','removeContextItemChip','ck-ai-chat-context-controls__url-balloon-panel','northArrowSouthWest','current','show','document','find','_getLimiterElement','ck-ai-chat-context-controls__balloon-button','1653972EwmWFi','removeContextItem','children','404kFIMcM'];_0x4adc=function(){return _0x510720;};return _0x4adc();}import{getTranslation as _0x224cf3}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x5ebf0f}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x1b294a(0x230),_0x1b294a(0x1d5),_0x1b294a(0x219),_0x1b294a(0x1da),_0x1b294a(0x24c),_0x1b294a(0x1eb)];const Po=_0x1b294a(0x227),Ro=_0x1b294a(0x215),Uo=_0x1b294a(0x1fe),Lo=_0x1b294a(0x229),No=_0x1b294a(0x243),Oo=_0x1b294a(0x24a),Mo=_0x1b294a(0x257),bo=_0x1b294a(0x25e),Ho=_0x1b294a(0x204),vo=_0x1b294a(0x1ef),jo=_0x1b294a(0x1dc),Fo=_0x1b294a(0x21f),Xo=[_0x70fcb2[_0x1b294a(0x1e4)][_0x1b294a(0x244)],_0x70fcb2[_0x1b294a(0x1e4)][_0x1b294a(0x1f0)],_0x70fcb2[_0x1b294a(0x1e4)][_0x1b294a(0x1e0)],_0x70fcb2[_0x1b294a(0x1e4)][_0x1b294a(0x232)],_0x70fcb2[_0x1b294a(0x1e4)][_0x1b294a(0x209)],_0x70fcb2[_0x1b294a(0x1e4)][_0x1b294a(0x20b)]];export class AIChatContextPanelView extends _0x130c3f{[_0x1b294a(0x1df)];[_0x1b294a(0x20e)]=this[_0x1b294a(0x218)]();[_0x1b294a(0x221)]=this[_0x1b294a(0x218)]();[_0x1b294a(0x205)];[_0x1b294a(0x236)];[_0x1b294a(0x21b)];[_0x1b294a(0x23f)];[_0x1b294a(0x20a)];[_0x1b294a(0x251)];[_0x1b294a(0x224)];constructor(_0x5ddb11,_0xa0209d){const _0x4b2481=_0x1b294a;super(_0x5ddb11),this[_0x4b2481(0x224)]=_0xa0209d[_0x4b2481(0x224)],this[_0x4b2481(0x20e)]=this[_0x4b2481(0x218)](),this[_0x4b2481(0x221)]=this[_0x4b2481(0x218)](),this[_0x4b2481(0x1df)]=this[_0x4b2481(0x25f)](_0x5ddb11),this[_0x4b2481(0x236)]=this[_0x4b2481(0x20f)](_0x5ddb11),this[_0x4b2481(0x21b)]=this[_0x4b2481(0x1ea)](_0x5ddb11),this[_0x4b2481(0x20a)]=this[_0x4b2481(0x21a)](_0x5ddb11,_0xa0209d);const _0x4b2b5d={'cssClasses':{'showMoreButton':vo,'showMoreBalloon':jo,'overflowContainer':Ho,'controlsButton':bo}};this[_0x4b2481(0x205)]=new _0x3d31e7(_0x5ddb11,this[_0x4b2481(0x20e)],_0x4b2b5d,this[_0x4b2481(0x224)],this),this[_0x4b2481(0x251)]={'buttonView':this[_0x4b2481(0x1df)],'balloonView':this[_0x4b2481(0x236)],'hideMethod':this[_0x4b2481(0x1f3)][_0x4b2481(0x235)](this),'showMethod':this[_0x4b2481(0x1de)][_0x4b2481(0x235)](this)},this[_0x4b2481(0x1fa)](),this[_0x4b2481(0x241)]();}[_0x1b294a(0x1f2)](){const _0x3eac90=_0x1b294a;super[_0x3eac90(0x1f2)](),this[_0x3eac90(0x203)](),this[_0x3eac90(0x205)][_0x3eac90(0x22b)](this[_0x3eac90(0x240)]),this[_0x3eac90(0x205)][_0x3eac90(0x1d4)]();}[_0x1b294a(0x239)](){const _0xbe021e=_0x1b294a;super[_0xbe021e(0x239)](),this[_0xbe021e(0x205)][_0xbe021e(0x239)](),this[_0xbe021e(0x20a)][_0xbe021e(0x239)]();}[_0x1b294a(0x1d2)](_0x31ec36,_0x3747b6){const _0x385245=_0x1b294a,_0x2ddcda=this[_0x385245(0x223)](_0x31ec36,_0x385245(0x245),!0x0,_0x3747b6);this[_0x385245(0x256)](_0x2ddcda,this[_0x385245(0x20e)]),this[_0x385245(0x205)][_0x385245(0x1d4)]();}[_0x1b294a(0x24c)](_0x47b2cf){const _0x3e584d=_0x1b294a;this[_0x3e584d(0x21e)](_0x47b2cf,this[_0x3e584d(0x20e)]),this[_0x3e584d(0x21e)](_0x47b2cf,this[_0x3e584d(0x205)][_0x3e584d(0x258)]),this[_0x3e584d(0x205)][_0x3e584d(0x1d4)]();}[_0x1b294a(0x1ec)](_0x5219c9,_0x2f92e6){const _0xb45ded=_0x1b294a;let _0x423291=this[_0xb45ded(0x20e)][_0xb45ded(0x248)](_0x20145b=>_0x20145b['id']===_0x5219c9);_0x423291||(_0x423291=this[_0xb45ded(0x205)][_0xb45ded(0x258)][_0xb45ded(0x248)](_0x230fd0=>_0x230fd0['id']===_0x5219c9)),_0x423291&&(_0x423291[_0xb45ded(0x1e8)]=_0x2f92e6);}[_0x1b294a(0x250)](_0x282fde){const _0x51c192=_0x1b294a;this[_0x51c192(0x221)][_0x51c192(0x231)]();for(const _0x4efe24 of _0x282fde){const _0x45db9f=this[_0x51c192(0x223)](_0x4efe24,_0x51c192(0x1d6),!0x1,!0x1);this[_0x51c192(0x256)](_0x45db9f,this[_0x51c192(0x221)]);}}[_0x1b294a(0x1ee)](){const _0x5c91b0=_0x1b294a;this[_0x5c91b0(0x20e)][_0x5c91b0(0x231)](),this[_0x5c91b0(0x205)][_0x5c91b0(0x231)]();}[_0x1b294a(0x200)](){const _0x148e6a=_0x1b294a;this[_0x148e6a(0x221)][_0x148e6a(0x231)]();}[_0x1b294a(0x255)](_0x1c7a37,_0x596176,_0x1dcfdb){const _0x4ba7d0=_0x1b294a;this[_0x4ba7d0(0x20a)][_0x4ba7d0(0x255)](_0x1c7a37,_0x596176,_0x1dcfdb);}[_0x1b294a(0x1f3)](){const _0x21e0b2=_0x1b294a;this[_0x21e0b2(0x1ff)](!0x1);}[_0x1b294a(0x1de)](){const _0x412460=_0x1b294a;this[_0x412460(0x1ff)](!0x0);}[_0x1b294a(0x20d)](){const _0x4c0440=_0x1b294a;this[_0x4c0440(0x21b)][_0x4c0440(0x1f7)](),this[_0x4c0440(0x1df)][_0x4c0440(0x201)]=!0x1,this[_0x4c0440(0x23f)]&&this[_0x4c0440(0x23f)][_0x4c0440(0x231)]();}[_0x1b294a(0x254)](){const _0x43bc8b=_0x1b294a;this[_0x43bc8b(0x21b)][_0x43bc8b(0x246)](),this[_0x43bc8b(0x1df)][_0x43bc8b(0x201)]=!0x0;}[_0x1b294a(0x1db)](_0x273834){const _0x1abdb5=_0x1b294a;this[_0x1abdb5(0x20a)][_0x1abdb5(0x24f)](_0x273834),this[_0x1abdb5(0x1df)][_0x1abdb5(0x201)]=!0x0;}[_0x1b294a(0x1d7)](_0xfc8449,_0x5aab99,_0x16e80d,_0xbc82f4){const _0x275602=_0x1b294a;this[_0x275602(0x20a)][_0x275602(0x1d7)](_0xfc8449,_0x16e80d,_0xbc82f4);}[_0x1b294a(0x1fb)](_0x11fdaa){const _0x4e651d=_0x1b294a;this[_0x4e651d(0x20a)][_0x4e651d(0x1fb)](_0x11fdaa),this[_0x4e651d(0x1df)][_0x4e651d(0x201)]=!0x1;}[_0x1b294a(0x1e6)](_0x56b0e6){const _0x1c39a4=_0x1b294a;this[_0x1c39a4(0x20c)](this[_0x1c39a4(0x236)],this[_0x1c39a4(0x22e)],_0x56b0e6),this[_0x1c39a4(0x1d1)](_0x56b0e6);}[_0x1b294a(0x1d1)](_0x4564e0){const _0x55e99d=_0x1b294a,_0x5c6d9d=!_0x4564e0[_0x55e99d(0x247)][_0x55e99d(0x1d8)]&&_0x4564e0[_0x55e99d(0x247)][_0x55e99d(0x233)],_0xd311f7=_0x4564e0[_0x55e99d(0x1f4)][_0x55e99d(0x233)],_0x4df923=_0x4564e0[_0x55e99d(0x260)][_0x55e99d(0x233)];this[_0x55e99d(0x1df)][_0x55e99d(0x1ed)]=_0x5c6d9d||_0xd311f7||_0x4df923;}[_0x1b294a(0x1fa)](){const _0x5ba627=_0x1b294a;this[_0x5ba627(0x252)]({'tag':_0x5ba627(0x1e1),'attributes':{'class':[Po,_0x5ba627(0x21c)]},'children':[{'tag':_0x5ba627(0x1e1),'attributes':{'class':Ro},'children':this[_0x5ba627(0x20e)]}]});}[_0x1b294a(0x241)](){const _0x43734e=_0x1b294a;this[_0x43734e(0x1df)]['on'](_0x43734e(0x1d9),()=>{const _0x5cbb78=_0x43734e;this[_0x5cbb78(0x1dd)]();});}[_0x1b294a(0x25f)](_0x43b2db){const _0x1af8bc=_0x1b294a,_0x3c3e9d=new _0x1d78a3(_0x43b2db);return _0x3c3e9d[_0x1af8bc(0x216)]({'label':_0x224cf3(_0x43b2db,_0x1af8bc(0x210)),'class':bo+'\x20'+Lo,'icon':_0x577500,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x3c3e9d;}[_0x1b294a(0x20f)](_0xfb84e8){const _0x30f608=_0x1b294a;return this[_0x30f608(0x207)](_0xfb84e8,Uo);}[_0x1b294a(0x1ea)](_0x1f6728){const _0x1aed2b=_0x1b294a,_0x528397=this[_0x1aed2b(0x207)](_0x1f6728,No);return this[_0x1aed2b(0x237)](_0x528397,_0x1f6728),_0x528397;}[_0x1b294a(0x21a)](_0xee2fbf,_0x3f1f04){const _0x48fcce=_0x1b294a,_0x7668ad={'searchInputVisibleFrom':_0x3f1f04[_0x48fcce(0x1fc)],'onBackToContext':()=>{const _0x56fa56=_0x48fcce;this[_0x56fa56(0x1de)](),this[_0x56fa56(0x236)][_0x56fa56(0x23c)]({'target':this[_0x56fa56(0x1df)][_0x56fa56(0x240)],'limiter':this[_0x56fa56(0x249)](),'positions':Xo});},'onResourceSelected':(_0x317de8,_0xd3eb4e)=>{const _0x38cc6a=_0x48fcce;this[_0x38cc6a(0x25c)](_0x38cc6a(0x1da),{'source':_0x317de8,'resource':_0xd3eb4e});},'onLoadSourceResources':_0x183462=>{const _0x3a84e7=_0x48fcce;this[_0x3a84e7(0x25c)](_0x3a84e7(0x1eb),_0x183462);},'onBalloonClosed':()=>{const _0x4af6d7=_0x48fcce;this[_0x4af6d7(0x1df)][_0x4af6d7(0x201)]=!0x1;},'getLimiterElement':()=>this[_0x48fcce(0x249)](),'getTargetElement':()=>this[_0x48fcce(0x1df)][_0x48fcce(0x240)]};return new _0x5ebf0f(_0xee2fbf,_0x3f1f04[_0x48fcce(0x224)],_0x7668ad);}[_0x1b294a(0x249)](){const _0x37fe06=_0x1b294a;return this[_0x37fe06(0x240)]?.[_0x37fe06(0x220)]('.'+Fo)||document[_0x37fe06(0x1fd)];}[_0x1b294a(0x207)](_0x13202c,_0x2c7f1d){const _0x48f0c5=_0x1b294a,_0x35e28f=new _0x70fcb2(_0x13202c);return _0x35e28f[_0x48f0c5(0x22f)]({'attributes':{'class':_0x2c7f1d}}),this[_0x48f0c5(0x224)][_0x48f0c5(0x234)](_0x35e28f),_0x35e28f;}[_0x1b294a(0x20c)](_0x1b4a10,_0x1a1789,_0x3f076a){const _0x59a9b3=_0x1b294a;if(_0x1b4a10[_0x59a9b3(0x202)][_0x59a9b3(0x231)](),!_0x3f076a[_0x59a9b3(0x247)][_0x59a9b3(0x1d8)]&&_0x3f076a[_0x59a9b3(0x247)][_0x59a9b3(0x233)]){const _0x1f0cbe=this[_0x59a9b3(0x1f9)](_0x1a1789,{'label':_0x224cf3(_0x1a1789,_0x59a9b3(0x1f6)),'icon':_0x1aa855});_0x1f0cbe['on'](_0x59a9b3(0x1d9),()=>{const _0x33ac0b=_0x59a9b3;this[_0x33ac0b(0x25c)](_0x33ac0b(0x230)),this[_0x33ac0b(0x1f3)]();}),_0x1b4a10[_0x59a9b3(0x202)][_0x59a9b3(0x234)](_0x1f0cbe);}if(_0x3f076a[_0x59a9b3(0x1f4)][_0x59a9b3(0x233)]){const _0x2b5af1=this[_0x59a9b3(0x1f9)](_0x1a1789,{'label':_0x224cf3(_0x1a1789,_0x59a9b3(0x22d)),'icon':_0x50e3a5});_0x2b5af1['on'](_0x59a9b3(0x1d9),()=>{const _0x5b2dc8=_0x59a9b3;this[_0x5b2dc8(0x1f3)](),this[_0x5b2dc8(0x254)](),this[_0x5b2dc8(0x21b)][_0x5b2dc8(0x23c)]({'target':this[_0x5b2dc8(0x1df)][_0x5b2dc8(0x240)],'limiter':this[_0x5b2dc8(0x249)](),'positions':Xo}),this[_0x5b2dc8(0x23f)][_0x5b2dc8(0x214)]();}),_0x1b4a10[_0x59a9b3(0x202)][_0x59a9b3(0x234)](_0x2b5af1);}if(_0x3f076a[_0x59a9b3(0x260)][_0x59a9b3(0x233)]){const _0x26dd60=new _0x570aca(_0x1a1789);_0x26dd60[_0x59a9b3(0x216)]({'label':_0x224cf3(_0x1a1789,_0x59a9b3(0x212)),'icon':_0x158680,'withText':!0x0,'tooltip':!0x0,'class':Oo,'allowMultipleFiles':!0x0}),_0x26dd60['on'](_0x59a9b3(0x25a),(_0x22cf66,_0x4b9a9a)=>{const _0x261ccc=_0x59a9b3;this[_0x261ccc(0x25c)](_0x261ccc(0x1d5),_0x4b9a9a),this[_0x261ccc(0x1f3)]();}),_0x26dd60[_0x59a9b3(0x21d)]=!0x0,_0x1b4a10[_0x59a9b3(0x202)][_0x59a9b3(0x234)](_0x26dd60);}for(const _0x239fcf of _0x3f076a[_0x59a9b3(0x1e7)]){const _0x931a63=this[_0x59a9b3(0x1f9)](_0x1a1789,{'label':_0x239fcf[_0x59a9b3(0x222)],'icon':_0x239fcf[_0x59a9b3(0x211)]||_0x4213dc,'type':_0x59a9b3(0x206)});_0x1b4a10[_0x59a9b3(0x202)][_0x59a9b3(0x234)](_0x931a63),_0x931a63['on'](_0x59a9b3(0x1d9),()=>{const _0x533f5f=_0x59a9b3;this[_0x533f5f(0x1f3)](),this[_0x533f5f(0x1db)](_0x239fcf);});}}[_0x1b294a(0x237)](_0x173efb,_0x316384){const _0x725ad6=_0x1b294a;this[_0x725ad6(0x23f)]=new _0x3b6efd(_0x316384),this[_0x725ad6(0x23f)]['on'](_0x725ad6(0x1f1),(_0x56117b,_0x5303d3)=>{const _0x58e79d=_0x725ad6;this[_0x58e79d(0x23a)](_0x5303d3);}),this[_0x725ad6(0x23f)]['on'](_0x725ad6(0x253),()=>{const _0x3f553c=_0x725ad6;this[_0x3f553c(0x20d)](),this[_0x3f553c(0x1de)](),this[_0x3f553c(0x236)][_0x3f553c(0x23c)]({'target':this[_0x3f553c(0x1df)][_0x3f553c(0x240)],'limiter':this[_0x3f553c(0x249)](),'positions':Xo});}),this[_0x725ad6(0x23f)]['on'](_0x725ad6(0x23b),()=>{const _0x205106=_0x725ad6;this[_0x205106(0x21b)][_0x205106(0x1d3)]&&this[_0x205106(0x21b)][_0x205106(0x23c)]({'target':this[_0x205106(0x1df)][_0x205106(0x240)],'limiter':this[_0x205106(0x249)](),'positions':Xo});}),_0x173efb[_0x725ad6(0x202)][_0x725ad6(0x234)](this[_0x725ad6(0x23f)]);}[_0x1b294a(0x1f9)](_0x191121,_0x535388){const _0xa507c4=_0x1b294a,_0xc2477=_0xa507c4(0x206)===_0x535388[_0xa507c4(0x226)]?new SourcesBalloonButtonView(_0x191121):new _0x1d78a3(_0x191121);return _0xc2477[_0xa507c4(0x216)]({'label':_0x535388[_0xa507c4(0x222)],'icon':_0x535388[_0xa507c4(0x211)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Oo}),_0xc2477;}[_0x1b294a(0x203)](){const _0x17beb2=_0x1b294a;this[_0x17beb2(0x225)](),this[_0x17beb2(0x1e9)]();}[_0x1b294a(0x1e9)](){const _0xa4057d=_0x1b294a;_0x236d5d({'emitter':this[_0xa4057d(0x21b)],'contextElements':[this[_0xa4057d(0x21b)][_0xa4057d(0x240)]],'callback':()=>{const _0x2b20d9=_0xa4057d;this[_0x2b20d9(0x20d)]();},'activator':()=>this[_0xa4057d(0x21b)][_0xa4057d(0x1d3)]});}[_0x1b294a(0x1ff)](_0x429160){const _0x145592=_0x1b294a,_0x1077d7=this[_0x145592(0x251)];_0x1077d7[_0x145592(0x213)][_0x145592(0x201)]=_0x429160,_0x429160?_0x1077d7[_0x145592(0x1e2)][_0x145592(0x246)]():_0x1077d7[_0x145592(0x1e2)][_0x145592(0x1f7)]();}[_0x1b294a(0x225)](){const _0x496568=_0x1b294a,{balloonView:_0x319d38,buttonView:_0x2dca5f,hideMethod:_0x3aa41a}=this[_0x496568(0x251)];_0x236d5d({'emitter':_0x319d38,'contextElements':[_0x319d38[_0x496568(0x240)],_0x2dca5f[_0x496568(0x240)]],'callback':()=>{_0x3aa41a();},'activator':()=>_0x2dca5f[_0x496568(0x201)]&&!this[_0x496568(0x21b)][_0x496568(0x1d3)]&&!this[_0x496568(0x20a)][_0x496568(0x22c)]()});}[_0x1b294a(0x223)](_0x315429,_0x3c3bbd,_0x3e9d1e=!0x1,_0x50425f=!0x1){const _0x19763c=_0x1b294a,_0x35692f=_0x19763c(0x1d6)===_0x3c3bbd||!0x0===_0x315429[_0x19763c(0x25b)],_0x32d063=new _0x264106(this[_0x19763c(0x22e)],_0x315429,_0x35692f,_0x3e9d1e,_0x50425f);return _0x35692f||_0x32d063['on'](_0x19763c(0x242),()=>{const _0x15baf9=_0x19763c;this[_0x15baf9(0x25c)](_0x15baf9(0x24c),_0x32d063['id']);}),_0x32d063;}[_0x1b294a(0x256)](_0x16111f,_0x2111a1){const _0x78eeae=_0x1b294a;_0x2111a1[_0x78eeae(0x234)](_0x16111f,0x0);}[_0x1b294a(0x21e)](_0x2b21e8,_0x12606c){const _0x49763e=_0x1b294a,_0x2182e1=_0x12606c[_0x49763e(0x248)](_0x508265=>_0x508265['id']===_0x2b21e8);_0x2182e1&&_0x12606c[_0x49763e(0x22a)](_0x2182e1);}[_0x1b294a(0x1dd)](){const _0x41ee8f=_0x1b294a;this[_0x41ee8f(0x1df)][_0x41ee8f(0x201)]?this[_0x41ee8f(0x1f3)]():(this[_0x41ee8f(0x1de)](),this[_0x41ee8f(0x236)][_0x41ee8f(0x23c)]({'target':this[_0x41ee8f(0x1df)][_0x41ee8f(0x240)],'limiter':this[_0x41ee8f(0x249)](),'positions':Xo}));}[_0x1b294a(0x23a)](_0x108b68){const _0x155b1f=_0x1b294a;this[_0x155b1f(0x23f)][_0x155b1f(0x231)](),this[_0x155b1f(0x20d)](),this[_0x155b1f(0x25c)](_0x155b1f(0x219),_0x108b68);}}export class SourcesBalloonButtonView extends _0x1d78a3{[_0x1b294a(0x1f5)];constructor(_0x2c4747){const _0x5e14b6=_0x1b294a;super(_0x2c4747),this[_0x5e14b6(0x216)]({'withText':!0x0,'role':_0x5e14b6(0x1e5)}),this[_0x5e14b6(0x1f5)]=this[_0x5e14b6(0x1d0)](),this[_0x5e14b6(0x22f)]({'attributes':{'class':[Mo]}});}[_0x1b294a(0x1f2)](){const _0x417011=_0x1b294a;super[_0x417011(0x1f2)](),this[_0x417011(0x24d)][_0x417011(0x234)](this[_0x417011(0x1f5)]);}[_0x1b294a(0x1d0)](){const _0x6bfdca=_0x1b294a,_0x3881c4=new _0x5590e3();return _0x3881c4[_0x6bfdca(0x202)]=_0x2acf06,_0x3881c4[_0x6bfdca(0x22f)]({'attributes':{'class':Mo+_0x6bfdca(0x259)}}),_0x3881c4;}}
|
|
23
|
+
const _0x2330a2=_0x298f;(function(_0x5e5751,_0x602ef9){const _0xa48bc1=_0x298f,_0x368ccb=_0x5e5751();while(!![]){try{const _0x1fed01=-parseInt(_0xa48bc1(0x1ac))/0x1*(-parseInt(_0xa48bc1(0x189))/0x2)+-parseInt(_0xa48bc1(0x1c9))/0x3*(parseInt(_0xa48bc1(0x1b8))/0x4)+-parseInt(_0xa48bc1(0x208))/0x5+parseInt(_0xa48bc1(0x191))/0x6+-parseInt(_0xa48bc1(0x1dc))/0x7*(-parseInt(_0xa48bc1(0x1b6))/0x8)+-parseInt(_0xa48bc1(0x20c))/0x9*(-parseInt(_0xa48bc1(0x1de))/0xa)+parseInt(_0xa48bc1(0x1b3))/0xb*(-parseInt(_0xa48bc1(0x194))/0xc);if(_0x1fed01===_0x602ef9)break;else _0x368ccb['push'](_0x368ccb['shift']());}catch(_0x2e1e3b){_0x368ccb['push'](_0x368ccb['shift']());}}}(_0x456b,0xdd130));import{BalloonPanelView as _0x556ef8,ButtonView as _0x15cae6,clickOutsideHandler as _0x190e3f,FileDialogButtonView as _0xc3e90f,IconView as _0xef743,View as _0x4fe5fe}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x591a15,IconDocument as _0x506a7b,IconDocumentOutline as _0x2a83aa,IconDropdownArrow as _0x395458,IconLink as _0x323291,IconPaperClip as _0x3f6c31}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x16236e}from'./aichatcontextitembuttonview.js';function _0x456b(){const _0x308332=['clear','extendTemplate','clearCurrentContextItems','addContextButtonView','type','add','addResourceToContext','ck-ai-chat-controls_context_show-more-button','_handleAddContextButtonClick','105ZAYdzp','ck-ai-chat-context-chips-wrapper-balloon','__arrow','body','populateSourceResourceBalloon','isEnabled','current','files','ck-reset_all-excluded','ck-ai-chat-context-controls__pending-contexts','_urlBalloonPanelView','render','remove','setConversationContext','ck-ai-chat-controls-button','isOn','_handleUrlSubmit','balloonView','northArrowSouth','4210682WNMKMB','_urlInputView','17582210xSYFpx','_createUrlBalloonPanelView','icon','label','northArrowSouthWest','isAnyResourceBalloonVisible','refreshBalloon','source','_showSourceResourcesBalloon','arrowView','updateResourceState','_setupAllBalloonClickOutsideHandlers','overflowChips','southArrowNorthEast','ck-ai-chat-context-controls','locale','_setupUrlBalloonClickOutsideHandler','sources','urls','_addContextBalloonPanelView','defaultPositions','ck-ai-chat-context-controls__balloon-button','southArrowNorth','addContextItem','ck-ai-chat-context-controls__add-context-button','showUrlBalloonPanel','showAddContextBalloonPanel','cancel','conversation','ck-ai-chat','set','_createAddContextButtonView','AI_CHAT_CONTEXT_URL_LABEL','_toggleAddContextBalloon','_addContextToCollection','northArrowSouthEast','_currentContextsChips','_setBalloonPanelContent','createCollection','AI_CHAT_CONTEXT_FILE_LABEL','pin','loadSourceResources','5371425sHfIPW','addFileToContext','_createContextButton','ck-ai-chat-context-controls__add-context-balloon-panel','9OqsKbN','southArrowNorthWest','_getLimiterElement','_addUrlContent','menuitem','ck-ai-chat-context-controls__url-balloon-panel','ck-ai-chat-context-controls__balloon-button-source','find','_overflowManager','_removeContextFromCollection','AI_CHAT_CONTEXT_ADD_CONTEXT','buttonView','hideAddContextBalloonPanel','_setupAddContextBalloonClickOutsideHandler','removeContextItemChip','4fzyKcR','done','addUrlToContext','hide','_conversationContextsChips','clearConversationContextItems','destroy','focus','10135068LXJmwU','document','reorganizeChips','319524parPsp','hideUrlBalloonPanel','enabled','_resourcesBalloonView','children','ck-ai-chat-context-controls__show-more-balloon-panel','isLoading','_createAddContextBalloonPanelView','fire','closest','show','_addContextBalloonConfig','closeSourceResourceBalloon','isVisible','_createResourcesBalloonView','content','isReadOnly','showSourceResourcesBalloon','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','bodyCollection','_createBalloonButton','div','execute','tooltip','842839zoKigH','setContextItemLoading','submitUrl','_setAddContextButtonEnabled','_bindEventHandlers','_createArrowView','removeContextItem','869KKjDmX','element','addDocumentToContext','8ovHzSr','_createBaseBalloonPanel','188716rQjcue','isHidden','setContainerElement','_setupTemplate','setTemplate','searchInputVisibleFrom','setAddContextOptions','bind'];_0x456b=function(){return _0x308332;};return _0x456b();}import{AIChatContextPanelUrlInputView as _0x4aff20}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x350c2c}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x2ca9e0}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x50bad9}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x2330a2(0x1b5),_0x2330a2(0x209),_0x2330a2(0x18b),_0x2330a2(0x1c6),_0x2330a2(0x1b2),_0x2330a2(0x207)];function _0x298f(_0x1cde0c,_0xf4fdb5){const _0x456b61=_0x456b();return _0x298f=function(_0x298f35,_0x28e5c7){_0x298f35=_0x298f35-0x180;let _0x48d8ff=_0x456b61[_0x298f35];return _0x48d8ff;},_0x298f(_0x1cde0c,_0xf4fdb5);}const Ao=_0x2330a2(0x1ec),ko=_0x2330a2(0x1d2),Eo=_0x2330a2(0x20b),vo=_0x2330a2(0x1f6),Vo=_0x2330a2(0x211),Io=_0x2330a2(0x1f3),Po=_0x2330a2(0x180),Ro=_0x2330a2(0x1d7),Uo=_0x2330a2(0x1ca),Lo=_0x2330a2(0x1c7),No=_0x2330a2(0x199),Oo=_0x2330a2(0x1fb),Mo=[_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x1e2)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x1db)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x201)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x20d)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x1f4)],_0x556ef8[_0x2330a2(0x1f2)][_0x2330a2(0x1eb)]];export class AIChatContextPanelView extends _0x4fe5fe{[_0x2330a2(0x1c3)];[_0x2330a2(0x202)]=this[_0x2330a2(0x204)]();[_0x2330a2(0x18d)]=this[_0x2330a2(0x204)]();[_0x2330a2(0x182)];[_0x2330a2(0x1f1)];[_0x2330a2(0x1d3)];[_0x2330a2(0x1dd)];[_0x2330a2(0x197)];[_0x2330a2(0x19f)];[_0x2330a2(0x1a7)];constructor(_0x4a983a,_0x38ccd7){const _0xb33d01=_0x2330a2;super(_0x4a983a),this[_0xb33d01(0x1a7)]=_0x38ccd7[_0xb33d01(0x1a7)],this[_0xb33d01(0x202)]=this[_0xb33d01(0x204)](),this[_0xb33d01(0x18d)]=this[_0xb33d01(0x204)](),this[_0xb33d01(0x1c3)]=this[_0xb33d01(0x1fd)](_0x4a983a),this[_0xb33d01(0x1f1)]=this[_0xb33d01(0x19b)](_0x4a983a),this[_0xb33d01(0x1d3)]=this[_0xb33d01(0x1df)](_0x4a983a),this[_0xb33d01(0x197)]=this[_0xb33d01(0x1a2)](_0x4a983a,_0x38ccd7);const _0x401865={'cssClasses':{'showMoreButton':Lo,'showMoreBalloon':No,'overflowContainer':Uo,'controlsButton':Ro}};this[_0xb33d01(0x182)]=new _0x350c2c(_0x4a983a,this[_0xb33d01(0x202)],_0x401865,this[_0xb33d01(0x1a7)],this),this[_0xb33d01(0x19f)]={'buttonView':this[_0xb33d01(0x1c3)],'balloonView':this[_0xb33d01(0x1f1)],'hideMethod':this[_0xb33d01(0x186)][_0xb33d01(0x1bf)](this),'showMethod':this[_0xb33d01(0x1f8)][_0xb33d01(0x1bf)](this)},this[_0xb33d01(0x1bb)](),this[_0xb33d01(0x1b0)]();}[_0x2330a2(0x1d4)](){const _0x115bad=_0x2330a2;super[_0x115bad(0x1d4)](),this[_0x115bad(0x1e9)](),this[_0x115bad(0x182)][_0x115bad(0x1ba)](this[_0x115bad(0x1b4)]),this[_0x115bad(0x182)][_0x115bad(0x193)]();}[_0x2330a2(0x18f)](){const _0x3d36d3=_0x2330a2;super[_0x3d36d3(0x18f)](),this[_0x3d36d3(0x182)][_0x3d36d3(0x18f)](),this[_0x3d36d3(0x197)][_0x3d36d3(0x18f)]();}[_0x2330a2(0x1f5)](_0x4bc7e1,_0xc45276){const _0x5940a2=_0x2330a2,_0x2727c2=this[_0x5940a2(0x20a)](_0x4bc7e1,_0x5940a2(0x1cf),!0x0,_0xc45276);this[_0x5940a2(0x200)](_0x2727c2,this[_0x5940a2(0x202)]),this[_0x5940a2(0x182)][_0x5940a2(0x193)]();}[_0x2330a2(0x1b2)](_0x32b159){const _0xa5ee7a=_0x2330a2;this[_0xa5ee7a(0x183)](_0x32b159,this[_0xa5ee7a(0x202)]),this[_0xa5ee7a(0x183)](_0x32b159,this[_0xa5ee7a(0x182)][_0xa5ee7a(0x1ea)]),this[_0xa5ee7a(0x182)][_0xa5ee7a(0x193)]();}[_0x2330a2(0x1ad)](_0x4d17f4,_0x5dcd86){const _0x4a4979=_0x2330a2;let _0x30ecbd=this[_0x4a4979(0x202)][_0x4a4979(0x181)](_0x5c4f1e=>_0x5c4f1e['id']===_0x4d17f4);_0x30ecbd||(_0x30ecbd=this[_0x4a4979(0x182)][_0x4a4979(0x1ea)][_0x4a4979(0x181)](_0x42525d=>_0x42525d['id']===_0x4d17f4)),_0x30ecbd&&(_0x30ecbd[_0x4a4979(0x19a)]=_0x5dcd86);}[_0x2330a2(0x1d6)](_0x27dfe4){const _0x81d5b4=_0x2330a2;this[_0x81d5b4(0x18d)][_0x81d5b4(0x1c0)]();for(const _0x2425db of _0x27dfe4){const _0x2d1e69=this[_0x81d5b4(0x20a)](_0x2425db,_0x81d5b4(0x1fa),!0x1,!0x1);this[_0x81d5b4(0x200)](_0x2d1e69,this[_0x81d5b4(0x18d)]);}}[_0x2330a2(0x1c2)](){const _0x17e353=_0x2330a2;this[_0x17e353(0x202)][_0x17e353(0x1c0)](),this[_0x17e353(0x182)][_0x17e353(0x1c0)]();}[_0x2330a2(0x18e)](){const _0x39515e=_0x2330a2;this[_0x39515e(0x18d)][_0x39515e(0x1c0)]();}[_0x2330a2(0x1e8)](_0x3d6c79,_0x41857e,_0x3a17e0){const _0x346b1b=_0x2330a2;this[_0x346b1b(0x197)][_0x346b1b(0x1e8)](_0x3d6c79,_0x41857e,_0x3a17e0);}[_0x2330a2(0x186)](){const _0xd9f544=_0x2330a2;this[_0xd9f544(0x1ff)](!0x1);}[_0x2330a2(0x1f8)](){const _0x401e33=_0x2330a2;this[_0x401e33(0x1ff)](!0x0);}[_0x2330a2(0x195)](){const _0x4d5a8f=_0x2330a2;this[_0x4d5a8f(0x1d3)][_0x4d5a8f(0x18c)](),this[_0x4d5a8f(0x1c3)][_0x4d5a8f(0x1d8)]=!0x1,this[_0x4d5a8f(0x1dd)]&&this[_0x4d5a8f(0x1dd)][_0x4d5a8f(0x1c0)]();}[_0x2330a2(0x1f7)](){const _0xbc358d=_0x2330a2;this[_0xbc358d(0x1d3)][_0xbc358d(0x19e)](),this[_0xbc358d(0x1c3)][_0xbc358d(0x1d8)]=!0x0;}[_0x2330a2(0x1e6)](_0x177ebd){const _0x168307=_0x2330a2;this[_0x168307(0x197)][_0x168307(0x1a5)](_0x177ebd),this[_0x168307(0x1c3)][_0x168307(0x1d8)]=!0x0;}[_0x2330a2(0x1cd)](_0x2bc32b,_0x151430,_0x1ba9c1,_0x5cd60d){const _0x44156f=_0x2330a2;this[_0x44156f(0x197)][_0x44156f(0x1cd)](_0x2bc32b,_0x1ba9c1,_0x5cd60d);}[_0x2330a2(0x1a0)](_0x557d0e){const _0x1191b5=_0x2330a2;this[_0x1191b5(0x197)][_0x1191b5(0x1a0)](_0x557d0e),this[_0x1191b5(0x1c3)][_0x1191b5(0x1d8)]=!0x1;}[_0x2330a2(0x1be)](_0x3bdfdd){const _0x12e57c=_0x2330a2;this[_0x12e57c(0x203)](this[_0x12e57c(0x1f1)],this[_0x12e57c(0x1ed)],_0x3bdfdd),this[_0x12e57c(0x1af)](_0x3bdfdd);}[_0x2330a2(0x1af)](_0x199a73){const _0x5a7f7f=_0x2330a2,_0x3ad681=!_0x199a73[_0x5a7f7f(0x192)][_0x5a7f7f(0x1b9)]&&_0x199a73[_0x5a7f7f(0x192)][_0x5a7f7f(0x196)],_0x4b49f6=_0x199a73[_0x5a7f7f(0x1f0)][_0x5a7f7f(0x196)],_0x120d55=_0x199a73[_0x5a7f7f(0x1d0)][_0x5a7f7f(0x196)];this[_0x5a7f7f(0x1c3)][_0x5a7f7f(0x1ce)]=_0x3ad681||_0x4b49f6||_0x120d55;}[_0x2330a2(0x1bb)](){const _0x315120=_0x2330a2;this[_0x315120(0x1bc)]({'tag':_0x315120(0x1a9),'attributes':{'class':[Ao,_0x315120(0x1d1)]},'children':[{'tag':_0x315120(0x1a9),'attributes':{'class':ko},'children':this[_0x315120(0x202)]}]});}[_0x2330a2(0x1b0)](){const _0x11dad8=_0x2330a2;this[_0x11dad8(0x1c3)]['on'](_0x11dad8(0x1aa),()=>{const _0x2c5cad=_0x11dad8;this[_0x2c5cad(0x1c8)]();});}[_0x2330a2(0x1fd)](_0x2b2e03){const _0xff3464=_0x2330a2,_0xaf4b9b=new _0x15cae6(_0x2b2e03);return _0xaf4b9b[_0xff3464(0x1fc)]({'label':_0x2ca9e0(_0x2b2e03,_0xff3464(0x184)),'class':Ro+'\x20'+vo,'icon':_0x3f6c31,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0xaf4b9b;}[_0x2330a2(0x19b)](_0x348135){const _0xcb68a6=_0x2330a2;return this[_0xcb68a6(0x1b7)](_0x348135,Eo);}[_0x2330a2(0x1df)](_0x16ac9a){const _0x168882=_0x2330a2,_0x1e8088=this[_0x168882(0x1b7)](_0x16ac9a,Vo);return this[_0x168882(0x20f)](_0x1e8088,_0x16ac9a),_0x1e8088;}[_0x2330a2(0x1a2)](_0x283cc5,_0x17bf23){const _0x500267=_0x2330a2,_0x38414a={'searchInputVisibleFrom':_0x17bf23[_0x500267(0x1bd)],'onBackToContext':()=>{const _0x1f1aa9=_0x500267;this[_0x1f1aa9(0x1f8)](),this[_0x1f1aa9(0x1f1)][_0x1f1aa9(0x206)]({'target':this[_0x1f1aa9(0x1c3)][_0x1f1aa9(0x1b4)],'limiter':this[_0x1f1aa9(0x20e)](),'positions':Mo});},'onResourceSelected':(_0x2e4381,_0x463129)=>{const _0x347aee=_0x500267;this[_0x347aee(0x19c)](_0x347aee(0x1c6),{'source':_0x2e4381,'resource':_0x463129});},'onLoadSourceResources':_0x3654bd=>{const _0x5175f7=_0x500267;this[_0x5175f7(0x19c)](_0x5175f7(0x207),_0x3654bd);},'onBalloonClosed':()=>{const _0x2206c7=_0x500267;this[_0x2206c7(0x1c3)][_0x2206c7(0x1d8)]=!0x1;},'getLimiterElement':()=>this[_0x500267(0x20e)](),'getTargetElement':()=>this[_0x500267(0x1c3)][_0x500267(0x1b4)]};return new _0x50bad9(_0x283cc5,_0x17bf23[_0x500267(0x1a7)],_0x38414a);}[_0x2330a2(0x20e)](){const _0x2311d5=_0x2330a2;return this[_0x2311d5(0x1b4)]?.[_0x2311d5(0x19d)]('.'+Oo)||document[_0x2311d5(0x1cc)];}[_0x2330a2(0x1b7)](_0x53c084,_0x14e585){const _0x174cb0=_0x2330a2,_0xedf6a0=new _0x556ef8(_0x53c084);return _0xedf6a0[_0x174cb0(0x1c1)]({'attributes':{'class':_0x14e585}}),this[_0x174cb0(0x1a7)][_0x174cb0(0x1c5)](_0xedf6a0),_0xedf6a0;}[_0x2330a2(0x203)](_0x2c369b,_0x523e27,_0x3dd2bd){const _0x1c5a67=_0x2330a2;if(_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c0)](),!_0x3dd2bd[_0x1c5a67(0x192)][_0x1c5a67(0x1b9)]&&_0x3dd2bd[_0x1c5a67(0x192)][_0x1c5a67(0x196)]){const _0x4144a3=this[_0x1c5a67(0x1a8)](_0x523e27,{'label':_0x2ca9e0(_0x523e27,_0x1c5a67(0x1a6)),'icon':_0x506a7b});_0x4144a3['on'](_0x1c5a67(0x1aa),()=>{const _0x356476=_0x1c5a67;this[_0x356476(0x19c)](_0x356476(0x1b5)),this[_0x356476(0x186)]();}),_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c5)](_0x4144a3);}if(_0x3dd2bd[_0x1c5a67(0x1f0)][_0x1c5a67(0x196)]){const _0x49abc9=this[_0x1c5a67(0x1a8)](_0x523e27,{'label':_0x2ca9e0(_0x523e27,_0x1c5a67(0x1fe)),'icon':_0x323291});_0x49abc9['on'](_0x1c5a67(0x1aa),()=>{const _0x493818=_0x1c5a67;this[_0x493818(0x186)](),this[_0x493818(0x1f7)](),this[_0x493818(0x1d3)][_0x493818(0x206)]({'target':this[_0x493818(0x1c3)][_0x493818(0x1b4)],'limiter':this[_0x493818(0x20e)](),'positions':Mo}),this[_0x493818(0x1dd)][_0x493818(0x190)]();}),_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c5)](_0x49abc9);}if(_0x3dd2bd[_0x1c5a67(0x1d0)][_0x1c5a67(0x196)]){const _0x532fc6=new _0xc3e90f(_0x523e27);_0x532fc6[_0x1c5a67(0x1fc)]({'label':_0x2ca9e0(_0x523e27,_0x1c5a67(0x205)),'icon':_0x591a15,'withText':!0x0,'tooltip':!0x0,'class':Io,'allowMultipleFiles':!0x0}),_0x532fc6['on'](_0x1c5a67(0x18a),(_0x30b026,_0xbb7520)=>{const _0x5c9558=_0x1c5a67;this[_0x5c9558(0x19c)](_0x5c9558(0x209),_0xbb7520),this[_0x5c9558(0x186)]();}),_0x532fc6[_0x1c5a67(0x1ab)]=!0x0,_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c5)](_0x532fc6);}for(const _0x5bcad2 of _0x3dd2bd[_0x1c5a67(0x1ef)]){const _0x1ed346=this[_0x1c5a67(0x1a8)](_0x523e27,{'label':_0x5bcad2[_0x1c5a67(0x1e1)],'icon':_0x5bcad2[_0x1c5a67(0x1e0)]||_0x2a83aa,'type':_0x1c5a67(0x1e5)});_0x2c369b[_0x1c5a67(0x1a3)][_0x1c5a67(0x1c5)](_0x1ed346),_0x1ed346['on'](_0x1c5a67(0x1aa),()=>{const _0x34f944=_0x1c5a67;this[_0x34f944(0x186)](),this[_0x34f944(0x1e6)](_0x5bcad2);});}}[_0x2330a2(0x20f)](_0x1adce1,_0x814204){const _0x5bd0ea=_0x2330a2;this[_0x5bd0ea(0x1dd)]=new _0x4aff20(_0x814204),this[_0x5bd0ea(0x1dd)]['on'](_0x5bd0ea(0x1ae),(_0x225075,_0x41b70c)=>{const _0x6091aa=_0x5bd0ea;this[_0x6091aa(0x1d9)](_0x41b70c);}),this[_0x5bd0ea(0x1dd)]['on'](_0x5bd0ea(0x1f9),()=>{const _0x4cf8c9=_0x5bd0ea;this[_0x4cf8c9(0x195)](),this[_0x4cf8c9(0x1f8)](),this[_0x4cf8c9(0x1f1)][_0x4cf8c9(0x206)]({'target':this[_0x4cf8c9(0x1c3)][_0x4cf8c9(0x1b4)],'limiter':this[_0x4cf8c9(0x20e)](),'positions':Mo});}),this[_0x5bd0ea(0x1dd)]['on'](_0x5bd0ea(0x1e4),()=>{const _0x41b380=_0x5bd0ea;this[_0x41b380(0x1d3)][_0x41b380(0x1a1)]&&this[_0x41b380(0x1d3)][_0x41b380(0x206)]({'target':this[_0x41b380(0x1c3)][_0x41b380(0x1b4)],'limiter':this[_0x41b380(0x20e)](),'positions':Mo});}),_0x1adce1[_0x5bd0ea(0x1a3)][_0x5bd0ea(0x1c5)](this[_0x5bd0ea(0x1dd)]);}[_0x2330a2(0x1a8)](_0x55b924,_0xc75824){const _0x566c15=_0x2330a2,_0x45e4b9=_0x566c15(0x1e5)===_0xc75824[_0x566c15(0x1c4)]?new SourcesBalloonButtonView(_0x55b924):new _0x15cae6(_0x55b924);return _0x45e4b9[_0x566c15(0x1fc)]({'label':_0xc75824[_0x566c15(0x1e1)],'icon':_0xc75824[_0x566c15(0x1e0)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Io}),_0x45e4b9;}[_0x2330a2(0x1e9)](){const _0x1c0789=_0x2330a2;this[_0x1c0789(0x187)](),this[_0x1c0789(0x1ee)]();}[_0x2330a2(0x1ee)](){const _0x147ac3=_0x2330a2;_0x190e3f({'emitter':this[_0x147ac3(0x1d3)],'contextElements':[this[_0x147ac3(0x1d3)][_0x147ac3(0x1b4)]],'callback':()=>{const _0x174ac6=_0x147ac3;this[_0x174ac6(0x195)]();},'activator':()=>this[_0x147ac3(0x1d3)][_0x147ac3(0x1a1)]});}[_0x2330a2(0x1ff)](_0x1da195){const _0x47056d=_0x2330a2,_0xa53c74=this[_0x47056d(0x19f)];_0xa53c74[_0x47056d(0x185)][_0x47056d(0x1d8)]=_0x1da195,_0x1da195?_0xa53c74[_0x47056d(0x1da)][_0x47056d(0x19e)]():_0xa53c74[_0x47056d(0x1da)][_0x47056d(0x18c)]();}[_0x2330a2(0x187)](){const _0xca6ce0=_0x2330a2,{balloonView:_0xc30c30,buttonView:_0xa73840,hideMethod:_0x292fc0}=this[_0xca6ce0(0x19f)];_0x190e3f({'emitter':_0xc30c30,'contextElements':[_0xc30c30[_0xca6ce0(0x1b4)],_0xa73840[_0xca6ce0(0x1b4)]],'callback':()=>{_0x292fc0();},'activator':()=>_0xa73840[_0xca6ce0(0x1d8)]&&!this[_0xca6ce0(0x1d3)][_0xca6ce0(0x1a1)]&&!this[_0xca6ce0(0x197)][_0xca6ce0(0x1e3)]()});}[_0x2330a2(0x20a)](_0x53c885,_0x28db05,_0x50168b=!0x1,_0x27a9f3=!0x1){const _0x4232d0=_0x2330a2,_0x7381d5=_0x4232d0(0x1fa)===_0x28db05||!0x0===_0x53c885[_0x4232d0(0x1a4)],_0x165fcb=new _0x16236e(this[_0x4232d0(0x1ed)],_0x53c885,_0x7381d5,_0x50168b,_0x27a9f3);return _0x7381d5||_0x165fcb['on'](_0x4232d0(0x188),()=>{const _0x388b76=_0x4232d0;this[_0x388b76(0x19c)](_0x388b76(0x1b2),_0x165fcb['id']);}),_0x165fcb;}[_0x2330a2(0x200)](_0x5e06f9,_0x3e35d1){const _0x2cc3e2=_0x2330a2;_0x3e35d1[_0x2cc3e2(0x1c5)](_0x5e06f9,0x0);}[_0x2330a2(0x183)](_0x18a5ef,_0x445808){const _0x2f51b0=_0x2330a2,_0x4d97ef=_0x445808[_0x2f51b0(0x181)](_0x3037a7=>_0x3037a7['id']===_0x18a5ef);_0x4d97ef&&_0x445808[_0x2f51b0(0x1d5)](_0x4d97ef);}[_0x2330a2(0x1c8)](){const _0x5e35aa=_0x2330a2;this[_0x5e35aa(0x1c3)][_0x5e35aa(0x1d8)]?this[_0x5e35aa(0x186)]():(this[_0x5e35aa(0x1f8)](),this[_0x5e35aa(0x1f1)][_0x5e35aa(0x206)]({'target':this[_0x5e35aa(0x1c3)][_0x5e35aa(0x1b4)],'limiter':this[_0x5e35aa(0x20e)](),'positions':Mo}));}[_0x2330a2(0x1d9)](_0x175983){const _0x34aed0=_0x2330a2;this[_0x34aed0(0x1dd)][_0x34aed0(0x1c0)](),this[_0x34aed0(0x195)](),this[_0x34aed0(0x19c)](_0x34aed0(0x18b),_0x175983);}}export class SourcesBalloonButtonView extends _0x15cae6{[_0x2330a2(0x1e7)];constructor(_0x10680f){const _0x965606=_0x2330a2;super(_0x10680f),this[_0x965606(0x1fc)]({'withText':!0x0,'role':_0x965606(0x210)}),this[_0x965606(0x1e7)]=this[_0x965606(0x1b1)](),this[_0x965606(0x1c1)]({'attributes':{'class':[Po]}});}[_0x2330a2(0x1d4)](){const _0x2a9913=_0x2330a2;super[_0x2a9913(0x1d4)](),this[_0x2a9913(0x198)][_0x2a9913(0x1c5)](this[_0x2a9913(0x1e7)]);}[_0x2330a2(0x1b1)](){const _0x6a2559=_0x2330a2,_0x7e8a3e=new _0xef743();return _0x7e8a3e[_0x6a2559(0x1a3)]=_0x395458,_0x7e8a3e[_0x6a2559(0x1c1)]({'attributes':{'class':Po+_0x6a2559(0x1cb)}}),_0x7e8a3e;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|