@ckeditor/ckeditor5-ai 47.2.0 → 47.3.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 +16 -20
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +285 -65
- package/dist/index.css +286 -68
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +10 -1
- package/lang/translations/af.po +36 -0
- package/lang/translations/ar.po +36 -0
- package/lang/translations/ast.po +36 -0
- package/lang/translations/az.po +36 -0
- package/lang/translations/be.po +36 -0
- package/lang/translations/bg.po +36 -0
- package/lang/translations/bn.po +36 -0
- package/lang/translations/bs.po +36 -0
- package/lang/translations/ca.po +36 -0
- package/lang/translations/cs.po +36 -0
- package/lang/translations/da.po +36 -0
- package/lang/translations/de-ch.po +36 -0
- package/lang/translations/de.po +36 -0
- package/lang/translations/el.po +36 -0
- package/lang/translations/en-au.po +36 -0
- package/lang/translations/en-gb.po +36 -0
- package/lang/translations/en.po +36 -0
- package/lang/translations/eo.po +36 -0
- package/lang/translations/es-co.po +36 -0
- package/lang/translations/es.po +36 -0
- package/lang/translations/et.po +36 -0
- package/lang/translations/eu.po +36 -0
- package/lang/translations/fa.po +36 -0
- package/lang/translations/fi.po +36 -0
- package/lang/translations/fr.po +36 -0
- package/lang/translations/gl.po +36 -0
- package/lang/translations/gu.po +36 -0
- package/lang/translations/he.po +36 -0
- package/lang/translations/hi.po +36 -0
- package/lang/translations/hr.po +36 -0
- package/lang/translations/hu.po +36 -0
- package/lang/translations/hy.po +36 -0
- package/lang/translations/id.po +36 -0
- package/lang/translations/it.po +36 -0
- package/lang/translations/ja.po +36 -0
- package/lang/translations/jv.po +36 -0
- package/lang/translations/kk.po +36 -0
- package/lang/translations/km.po +36 -0
- package/lang/translations/kn.po +36 -0
- package/lang/translations/ko.po +36 -0
- package/lang/translations/ku.po +36 -0
- package/lang/translations/lt.po +36 -0
- package/lang/translations/lv.po +36 -0
- package/lang/translations/ms.po +36 -0
- package/lang/translations/nb.po +36 -0
- package/lang/translations/ne.po +36 -0
- package/lang/translations/nl.po +36 -0
- package/lang/translations/no.po +36 -0
- package/lang/translations/oc.po +36 -0
- package/lang/translations/pl.po +36 -0
- package/lang/translations/pt-br.po +36 -0
- package/lang/translations/pt.po +36 -0
- package/lang/translations/ro.po +36 -0
- package/lang/translations/ru.po +36 -0
- package/lang/translations/si.po +36 -0
- package/lang/translations/sk.po +36 -0
- package/lang/translations/sl.po +36 -0
- package/lang/translations/sq.po +36 -0
- package/lang/translations/sr-latn.po +36 -0
- package/lang/translations/sr.po +36 -0
- package/lang/translations/sv.po +36 -0
- package/lang/translations/th.po +36 -0
- package/lang/translations/ti.po +36 -0
- package/lang/translations/tk.po +36 -0
- package/lang/translations/tr.po +36 -0
- package/lang/translations/tt.po +36 -0
- package/lang/translations/ug.po +36 -0
- package/lang/translations/uk.po +36 -0
- package/lang/translations/ur.po +36 -0
- package/lang/translations/uz.po +36 -0
- package/lang/translations/vi.po +36 -0
- package/lang/translations/zh-cn.po +36 -0
- package/lang/translations/zh.po +36 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +8 -0
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +12 -0
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +23 -0
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +24 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.d.ts +5 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +16 -0
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +11 -2
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +7 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.d.ts +8 -0
- package/src/errorsmap.js +23 -0
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +26 -0
- package/theme/aichat/aichat.css +1 -3
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aisuggestioncontainer.css +1 -1
- package/theme/aiquickactions/aiquickactions.css +139 -25
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
- package/theme/aireviewmode/aireviewmode.css +33 -10
- package/theme/common/{aichaterror.css → ainotification.css} +17 -14
- package/theme/common/aitrackchanges.css +9 -0
- package/src/aichat/utils/scrollmanager.js +0 -23
- /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x291672=_0x9a3f;(function(_0x164527,_0x5262c2){const _0x30c1dc=_0x9a3f,_0x4306d2=_0x164527();while(!![]){try{const _0x25f50e=parseInt(_0x30c1dc(0x12b))/0x1+parseInt(_0x30c1dc(0x154))/0x2+parseInt(_0x30c1dc(0x146))/0x3+parseInt(_0x30c1dc(0x108))/0x4*(-parseInt(_0x30c1dc(0x125))/0x5)+-parseInt(_0x30c1dc(0x145))/0x6+parseInt(_0x30c1dc(0x128))/0x7*(parseInt(_0x30c1dc(0x140))/0x8)+-parseInt(_0x30c1dc(0x150))/0x9;if(_0x25f50e===_0x5262c2)break;else _0x4306d2['push'](_0x4306d2['shift']());}catch(_0x5dc7b6){_0x4306d2['push'](_0x4306d2['shift']());}}}(_0x758e,0x6efea));import{ButtonView as _0x29433c,clickOutsideHandler as _0x4b703e,View as _0x58ff6e}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x3263cf}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0x244a7a}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x26a759,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x57f08e}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x51d38b}from'./controls/aichatcontrolsloaderview.js';function _0x9a3f(_0x40865c,_0x4f7979){const _0x758e3d=_0x758e();return _0x9a3f=function(_0x9a3fd7,_0x5984c2){_0x9a3fd7=_0x9a3fd7-0x106;let _0x39acc1=_0x758e3d[_0x9a3fd7];return _0x39acc1;},_0x9a3f(_0x40865c,_0x4f7979);}import{getTranslation as _0x436069}from'../../aicore/utils/common-translations.js';export class AIChatControlsView extends _0x58ff6e{[_0x291672(0x130)]=[];[_0x291672(0x116)];[_0x291672(0x115)];[_0x291672(0x139)];[_0x291672(0x122)];[_0x291672(0x14a)];[_0x291672(0x14c)];constructor(_0x5c49bb,_0x18582a){const _0x274a5e=_0x291672;super(_0x5c49bb),this[_0x274a5e(0x116)]=this[_0x274a5e(0x113)](_0x5c49bb,{'bodyCollection':_0x18582a[_0x274a5e(0x14e)],'searchInputVisibleFrom':_0x18582a[_0x274a5e(0x110)]}),this[_0x274a5e(0x115)]=this[_0x274a5e(0x11e)](_0x5c49bb),this[_0x274a5e(0x139)]=this[_0x274a5e(0x127)](_0x5c49bb),this[_0x274a5e(0x122)]=this[_0x274a5e(0x118)](_0x5c49bb),this[_0x274a5e(0x14a)]=this[_0x274a5e(0x137)](_0x5c49bb),this[_0x274a5e(0x14c)]=!0x1,this[_0x274a5e(0x115)][_0x274a5e(0x147)](_0x274a5e(0x111))['to'](this),this[_0x274a5e(0x122)][_0x274a5e(0x147)](_0x274a5e(0x10d))['to'](this),this[_0x274a5e(0x139)][_0x274a5e(0x147)](_0x274a5e(0x136))['to'](this),this[_0x274a5e(0x139)][_0x274a5e(0x147)](_0x274a5e(0x112))['to'](this),this[_0x274a5e(0x139)][_0x274a5e(0x147)](_0x274a5e(0x11f))['to'](this),this[_0x274a5e(0x116)][_0x274a5e(0x147)](..._0x57f08e)['to'](this),this[_0x274a5e(0x120)](_0x274a5e(0x155),!0x0),this[_0x274a5e(0x120)](_0x274a5e(0x109),!0x1);const _0xc3bdd1=this[_0x274a5e(0x129)];this[_0x274a5e(0x151)]({'tag':_0x274a5e(0x124),'attributes':{'class':['ck',_0x274a5e(0x10a),_0xc3bdd1['if'](_0x274a5e(0x109),_0x274a5e(0x13b))]},'children':[{'tag':_0x274a5e(0x135),'attributes':{'class':[_0xc3bdd1['if'](_0x274a5e(0x13e),_0x274a5e(0x126),_0x45ae45=>_0x45ae45||!this[_0x274a5e(0x155)]),_0xc3bdd1['if'](_0x274a5e(0x155),_0x274a5e(0x126),_0x44cc83=>!_0x44cc83||this[_0x274a5e(0x13e)])]},'children':[this[_0x274a5e(0x116)],this[_0x274a5e(0x115)],this[_0x274a5e(0x139)]]},{'tag':_0x274a5e(0x135),'attributes':{'class':[_0xc3bdd1['if'](_0x274a5e(0x13e),_0x274a5e(0x126),_0xbd2955=>!_0xbd2955)]},'children':[this[_0x274a5e(0x122)]]},{'tag':_0x274a5e(0x135),'attributes':{'class':[_0xc3bdd1['if'](_0x274a5e(0x155),_0x274a5e(0x126),_0xe67f8d=>_0xe67f8d)]},'children':[this[_0x274a5e(0x14a)]]}]}),_0x4b703e({'emitter':this[_0x274a5e(0x115)],'activator':()=>this[_0x274a5e(0x13e)],'contextElements':()=>[this[_0x274a5e(0x143)]],'callback':()=>{const _0x31552d=_0x274a5e;this[_0x31552d(0x14c)]=!0x1;}}),this['on'](_0x274a5e(0x12e),this[_0x274a5e(0x12f)],{'priority':_0x274a5e(0x152)});}[_0x291672(0x113)](_0x4e4fe1,_0x3ca75e){return new _0x26a759(_0x4e4fe1,_0x3ca75e);}[_0x291672(0x11e)](_0x564eef){const _0x33932b=_0x291672;return new _0x3263cf(_0x564eef,this[_0x33932b(0x116)][_0x33932b(0x144)]);}[_0x291672(0x127)](_0x28fd06){return new _0x244a7a(_0x28fd06);}[_0x291672(0x118)](_0x5e57e4){return new _0x51d38b(_0x5e57e4);}[_0x291672(0x137)](_0x29b20d){const _0x285db2=_0x291672,_0x1e39ef=new hs(_0x29b20d);return _0x1e39ef[_0x285db2(0x147)](_0x285db2(0x149))['to'](this),_0x1e39ef;}[_0x291672(0x12f)](_0x5c89d0,_0x1c7b62,_0xed007c){const _0x5974c5=_0x291672;_0xed007c?this[_0x5974c5(0x14c)]=!0x0:this[_0x5974c5(0x14c)]&&this[_0x5974c5(0x115)][_0x5974c5(0x106)]();}[_0x291672(0x14b)](_0xa6f3c6,_0x50803b){const _0x15daa7=_0x291672;this[_0x15daa7(0x116)][_0x15daa7(0x14b)](_0xa6f3c6,_0x50803b);}[_0x291672(0x133)](_0x26bf14){const _0x1cb715=_0x291672;this[_0x1cb715(0x116)][_0x1cb715(0x133)](_0x26bf14);}[_0x291672(0x132)](_0x1aff48,_0x201458){const _0x595fa9=_0x291672;this[_0x595fa9(0x116)][_0x595fa9(0x132)](_0x1aff48,_0x201458);}[_0x291672(0x114)](_0x56b356){const _0x4c7bf5=_0x291672;this[_0x4c7bf5(0x115)][_0x4c7bf5(0x114)](_0x56b356);}[_0x291672(0x141)](_0xdea740){const _0x561cb5=_0x291672;this[_0x561cb5(0x116)][_0x561cb5(0x141)](_0xdea740);}[_0x291672(0x13f)](){const _0x59f51a=_0x291672;this[_0x59f51a(0x116)][_0x59f51a(0x148)]();}[_0x291672(0x14f)](){const _0x1cf2af=_0x291672;this[_0x1cf2af(0x116)][_0x1cf2af(0x12c)]();}[_0x291672(0x13c)](_0xbe702f,_0x1d3c1d,_0x23c9ea){const _0x294bfe=_0x291672;this[_0x294bfe(0x116)][_0x294bfe(0x13c)](_0xbe702f,_0x1d3c1d,_0x23c9ea);}[_0x291672(0x123)](_0x4faf58){const _0x2451c0=_0x291672;this[_0x2451c0(0x139)][_0x2451c0(0x123)](_0x4faf58);}[_0x291672(0x14d)](_0x450125){const _0x31dd51=_0x291672;this[_0x31dd51(0x139)][_0x31dd51(0x14d)](_0x450125);}[_0x291672(0x117)](){const _0x72895d=_0x291672;this[_0x72895d(0x115)][_0x72895d(0x142)]();}[_0x291672(0x121)](_0x30551b){const _0x48fd0e=_0x291672;this[_0x48fd0e(0x116)][_0x48fd0e(0x121)](_0x30551b);}[_0x291672(0x13d)](_0x25c592){const _0x417015=_0x291672;this[_0x417015(0x115)][_0x417015(0x131)](_0x25c592);}[_0x291672(0x11c)](_0x6d04e5,_0x53af8c){const _0x54b5e9=_0x291672;this[_0x54b5e9(0x130)]=_0x6d04e5,this[_0x54b5e9(0x139)][_0x54b5e9(0x11c)](_0x6d04e5,_0x53af8c);}[_0x291672(0x10f)](_0x634692){const _0x19544c=_0x291672;(_0x634692?this[_0x19544c(0x130)][_0x19544c(0x11a)](_0x30bfa1=>_0x30bfa1['id']===_0x634692['id']):null)?(this[_0x19544c(0x155)]=!0x0,this[_0x19544c(0x139)][_0x19544c(0x10f)](_0x634692)):_0x634692?.['id'][_0x19544c(0x12d)](_0x19544c(0x10b))?(this[_0x19544c(0x155)]=!0x0,this[_0x19544c(0x139)][_0x19544c(0x10f)](this[_0x19544c(0x130)][0x0])):this[_0x19544c(0x155)]=!0x1;}[_0x291672(0x11d)](){const _0x2ab26b=_0x291672;this[_0x2ab26b(0x139)][_0x2ab26b(0x11d)]();}[_0x291672(0x107)](_0xbb775){const _0x2e9cd0=_0x291672;this[_0x2e9cd0(0x139)][_0x2e9cd0(0x107)](_0xbb775);}[_0x291672(0x12a)](_0x11492b,_0x115147,_0x28304a,_0x3fa94d){const _0x5ede01=_0x291672;this[_0x5ede01(0x116)][_0x5ede01(0x12a)](_0x11492b,_0x115147,_0x28304a,_0x3fa94d);}[_0x291672(0x10c)](_0x2243f2){const _0x3e8ee7=_0x291672;this[_0x3e8ee7(0x116)][_0x3e8ee7(0x10c)](_0x2243f2);}[_0x291672(0x134)](){const _0xdac7c0=_0x291672;this[_0xdac7c0(0x115)][_0xdac7c0(0x106)]();}}class hs extends _0x58ff6e{constructor(_0x47acd6){const _0x3cbba5=_0x291672;super(_0x47acd6);const _0x25671a=new _0x29433c(_0x47acd6);_0x25671a[_0x3cbba5(0x120)]({'label':_0x436069(this[_0x3cbba5(0x13a)],_0x3cbba5(0x153)),'withText':!0x0,'class':[_0x3cbba5(0x11b)],'tooltip':''}),_0x25671a[_0x3cbba5(0x147)](_0x3cbba5(0x119))['to'](this,_0x3cbba5(0x149)),this[_0x3cbba5(0x151)]({'tag':_0x3cbba5(0x135),'attributes':{'class':['ck',_0x3cbba5(0x138)]},'children':[{'tag':'p','children':[{'text':_0x436069(this[_0x3cbba5(0x13a)],_0x3cbba5(0x10e))+'\x20'},_0x25671a]}]});}}function _0x758e(){const _0x134f47=['toggleReasoning','_createContextPanelView','setIsUploadInProgress','_promptInputView','_contextPanelView','resetMessageInput','_createLoaderView','execute','find','ck-ai-chat-controls__start-new-chat-button','setModelList','enableModelSelector','_createPromptInputView','selectModel','set','setAddContextOptions','_loaderView','setWebSearch','form','1220BtyCQa','ck-hidden','_createPromptCapabilitiesView','14aMGgBe','bindTemplate','populateSourceResourceBalloon','731300xaGcAC','clearConversationContextItems','startsWith','change:isLoading','_handlePromptInputFocus','_displayedModels','setPlaceholderText','setContextItemLoading','removeContextItem','focusPromptInput','div','toggleWebSearch','_createModelUnavailableMessageView','ck-ai-chat-controls-model-unavailable-message','_promptCapabilitiesView','locale','ck-ai-chat-controls-disabled','updateResourceState','setInputPlaceholder','isLoading','clearPendingContextUI','618656nlgMiK','setConversationContext','reset','element','addContextButtonView','4528014YyBZez','695184eAfcCB','delegate','clearCurrentContextItems','startConversation','_modelUnavailableMessageView','addContextItem','_shouldRestorePromptInputFocus','setReasoning','bodyCollection','clearConversationContextUI','1107018DQpRSg','setTemplate','low','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','792786pKLuhD','isModelAvailable','focus','disableModelSelector','2980Pxrqxm','isDisabled','ck-ai-chat-controls','agent','closeSourceResourceBalloon','abortPromptStream','AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','setModel','contextResourcesSearchInputVisibleFrom','sendUserMessage'];_0x758e=function(){return _0x134f47;};return _0x758e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2283bc=_0x2432;(function(_0x2b9917,_0x57cf7d){const _0x42844c=_0x2432,_0x273c39=_0x2b9917();while(!![]){try{const _0xddac94=-parseInt(_0x42844c(0x133))/0x1+parseInt(_0x42844c(0x115))/0x2+-parseInt(_0x42844c(0xfa))/0x3+parseInt(_0x42844c(0x135))/0x4+parseInt(_0x42844c(0x104))/0x5+-parseInt(_0x42844c(0x120))/0x6*(parseInt(_0x42844c(0xf8))/0x7)+-parseInt(_0x42844c(0x13b))/0x8*(parseInt(_0x42844c(0x10c))/0x9);if(_0xddac94===_0x57cf7d)break;else _0x273c39['push'](_0x273c39['shift']());}catch(_0x41c063){_0x273c39['push'](_0x273c39['shift']());}}}(_0x4694,0x543ec));function _0x4694(){const _0x3f2e72=['ck-ai-chat__loader','_createTemplateChildren','remove','scrollToSuggestion','210385QbrYIQ','bind','834468NRKYJn','map','ai-chat-feed-view-item-not-found','updatePartState','ai-reply','isPending','updateContent','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','user-message','removeItem','2427455JCVxtC','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','ai-chat-feed-view-item-not-a-suggestion-item','_bodyCollection','stop','includes','_createSkeletonLoader','_createFeedLoader','2133801bcZBPP','ai-suggestion-reply','element','addItem','children','clear','_setupTemplate','ck-ai-chat__loader-text','loadingMessage','627276ArDtXf','add','_createFeedItems','aiFeed','ck-hidden','extendTemplate','markItemAsDone','isLoadingSkeletonVisible','setTemplate','delegate','render','36HmkhUq','start','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','ck-ai-chat__feed__items','set','markAsDone','find','stopAutoScroll','isVisible','interaction-header','locale','getItemIds','createCollection','ai-chat-feed-view-item-not-a-reply-item','getPartView','isTrackChangesOn','getItemById','div','_createLoaderChildren','78425JPhdYk','span','1279756rxbMuj','updateWebSources','updateSuggestionPartState','scrollManager','options','updateReplyItem','8VAABia','startAutoScroll','toggleLoadingSkeleton','updateSuggestionItem','bindTemplate','ck-ai-chat__feed','setLoadingMessage','updateSources','destroy'];_0x4694=function(){return _0x3f2e72;};return _0x4694();}import{CKEditorError as _0x5b3540,logWarning as _0x186345,scrollViewportToShowTarget as _0xb63144}from'ckeditor5/src/utils.js';import{View as _0x39a64d}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x27a173}from'../utils/eventnames.js';function _0x2432(_0x327463,_0x518b22){const _0x4694f1=_0x4694();return _0x2432=function(_0x243248,_0x2c569c){_0x243248=_0x243248-0xf7;let _0x343d8d=_0x4694f1[_0x243248];return _0x343d8d;},_0x2432(_0x327463,_0x518b22);}import{AIChatFeedSuggestionItemView as _0x40d9ed}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0xdd9607}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x1697fd}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x281d0d}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0x2d2db2}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x2b94c0}from'../../aicore/utils/scrollmanager.js';import{AISkeletonView as _0x2fc85a,SKELETON_DEFINITIONS as _0x5435ff}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x93490a}from'../../aicore/ui/aispinner.js';export class AIChatFeedView extends _0x39a64d{[_0x2283bc(0x110)];[_0x2283bc(0x138)];[_0x2283bc(0x107)];constructor(_0x36f819,_0x55ed47){const _0x5a8b0e=_0x2283bc;super(_0x36f819),this[_0x5a8b0e(0x107)]=_0x55ed47,this[_0x5a8b0e(0x124)](_0x5a8b0e(0xff),!0x1),this[_0x5a8b0e(0x124)](_0x5a8b0e(0x114),''),this[_0x5a8b0e(0x124)](_0x5a8b0e(0x11c),!0x1),this[_0x5a8b0e(0x124)](_0x5a8b0e(0x12f),!0x1),this[_0x5a8b0e(0x110)]=this[_0x5a8b0e(0x12c)](),this[_0x5a8b0e(0x110)][_0x5a8b0e(0x11e)](..._0x27a173)['to'](this),this[_0x5a8b0e(0x112)]();}[_0x2283bc(0x11f)](){const _0x157e7b=_0x2283bc;super[_0x157e7b(0x11f)](),this[_0x157e7b(0x138)]=new _0x2b94c0(this[_0x157e7b(0x10e)]);}[_0x2283bc(0x143)](){const _0x5041b5=_0x2283bc;super[_0x5041b5(0x143)](),this[_0x5041b5(0x138)][_0x5041b5(0x143)]();}[_0x2283bc(0x111)](){const _0x445014=_0x2283bc;this[_0x445014(0x110)][_0x445014(0x111)]();}[_0x2283bc(0x10f)](_0x1276ec,_0x5e69ad){const _0x14ce26=_0x2283bc;let _0x4d3c0f;_0x14ce26(0xfe)===_0x1276ec?_0x4d3c0f=new _0xdd9607(this[_0x14ce26(0x12a)],_0x5e69ad):_0x14ce26(0x10d)===_0x1276ec?(_0x4d3c0f=new _0x40d9ed(this[_0x14ce26(0x12a)],_0x5e69ad),_0x4d3c0f[_0x14ce26(0xf9)](_0x14ce26(0x12f))['to'](this,_0x14ce26(0x12f))):_0x4d3c0f=_0x14ce26(0x102)===_0x1276ec?new _0x1697fd(this[_0x14ce26(0x12a)],_0x5e69ad,this[_0x14ce26(0x107)]):_0x14ce26(0x129)===_0x1276ec?new _0x2d2db2(this[_0x14ce26(0x12a)],_0x5e69ad):new _0x281d0d(_0x5e69ad),this[_0x14ce26(0x110)][_0x14ce26(0x116)](_0x4d3c0f);}async[_0x2283bc(0x13a)]({id:_0x4e4c04,parsedContent:_0x5e02fd,renderingStrategy:_0x5b2ff7,abortSignal:_0x17402f}){const _0x140f70=_0x2283bc,_0x110c3b=this[_0x140f70(0x130)](_0x4e4c04);if(!(_0x110c3b instanceof _0xdd9607))throw new _0x5b3540(_0x140f70(0x12d),null,{'itemView':_0x110c3b,'id':_0x4e4c04,'parsedContent':_0x5e02fd});await _0x110c3b[_0x140f70(0x100)]({'parsedContent':_0x5e02fd,'renderingStrategy':_0x5b2ff7,'abortSignal':_0x17402f});}async[_0x2283bc(0x136)](_0xc41c30,_0x37837f){const _0x13e6de=_0x2283bc,_0x58a952=this[_0x13e6de(0x130)](_0xc41c30);if(_0x58a952 instanceof _0x40d9ed)_0x58a952[_0x13e6de(0x142)](_0x37837f);else{if(!(_0x58a952 instanceof _0xdd9607))throw new _0x5b3540(_0x13e6de(0x105),null,{'itemView':_0x58a952,'id':_0xc41c30,'sources':_0x37837f});_0x58a952[_0x13e6de(0x142)](_0x37837f);}}async[_0x2283bc(0x13e)]({id:_0x333335,parts:_0x5b2090,renderingStrategy:_0x312eed,abortSignal:_0x2dc3e2}){const _0x1a75b3=_0x2283bc,_0x3bc524=this[_0x1a75b3(0x130)](_0x333335);if(!(_0x3bc524 instanceof _0x40d9ed))throw new _0x5b3540(_0x1a75b3(0x106),null,{'itemView':_0x3bc524,'id':_0x333335,'parts':_0x5b2090});await _0x3bc524[_0x1a75b3(0x100)]({'parts':_0x5b2090,'renderingStrategy':_0x312eed,'abortSignal':_0x2dc3e2});}[_0x2283bc(0x137)]({id:_0x505399,index:_0x566c12,state:_0xa598a1}){const _0x43882e=_0x2283bc,_0x4a2462=this[_0x43882e(0x130)](_0x505399);if(!(_0x4a2462 instanceof _0x40d9ed))throw new _0x5b3540(_0x43882e(0x106),this,{'id':_0x505399});_0x4a2462[_0x43882e(0xfd)](_0x566c12,_0xa598a1);}[_0x2283bc(0x11b)](_0x5173ff){const _0x2d4049=_0x2283bc;this[_0x2d4049(0x130)](_0x5173ff)[_0x2d4049(0x125)]();}[_0x2283bc(0x12b)](){const _0x10a731=_0x2283bc;return this[_0x10a731(0x110)][_0x10a731(0xfb)](_0x4ae4db=>_0x4ae4db[_0x10a731(0x139)]['id']);}[_0x2283bc(0x103)](_0x394e1c){const _0xfb3a10=_0x2283bc;this[_0xfb3a10(0x110)][_0xfb3a10(0x146)](this[_0xfb3a10(0x130)](_0x394e1c));}[_0x2283bc(0xf7)](_0x35b31f,_0x5c3d9d){const _0xc71733=_0x2283bc,_0x49f412=this[_0xc71733(0x130)](_0x35b31f);if(!(_0x49f412 instanceof _0x40d9ed))return void _0x186345(_0xc71733(0x122),{'replyId':_0x35b31f,'partIndex':_0x5c3d9d});const _0x34c26a=_0x49f412[_0xc71733(0x12e)](_0x5c3d9d);_0x34c26a?_0xb63144({'target':_0x34c26a[_0xc71733(0x10e)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x186345(_0xc71733(0x101),{'replyId':_0x35b31f,'partIndex':_0x5c3d9d});}[_0x2283bc(0x112)](){const _0x359511=_0x2283bc;this[_0x359511(0x11d)]({'tag':_0x359511(0x131),'attributes':{'class':['ck',_0x359511(0x140)]},'children':this[_0x359511(0x145)]()});}[_0x2283bc(0x145)](){const _0x27a863=_0x2283bc,_0x29a385=this[_0x27a863(0x10a)]();return[this[_0x27a863(0x117)](),_0x29a385,this[_0x27a863(0x10b)]()];}[_0x2283bc(0x10a)](){const _0x92a4f6=_0x2283bc,_0x5255a6=new _0x2fc85a(this[_0x92a4f6(0x12a)],_0x5435ff[_0x92a4f6(0x118)]);return _0x5255a6[_0x92a4f6(0x11a)]({'attributes':{'class':[this[_0x92a4f6(0x13f)]['if'](_0x92a4f6(0x11c),_0x92a4f6(0x119),_0x267ddd=>!_0x267ddd)]}}),_0x5255a6;}[_0x2283bc(0x117)](){const _0x1fda37=_0x2283bc,_0x49e998=new _0x39a64d(this[_0x1fda37(0x12a)]);return _0x49e998[_0x1fda37(0x11d)]({'tag':_0x1fda37(0x131),'attributes':{'class':['ck',_0x1fda37(0x123),this[_0x1fda37(0x13f)]['if'](_0x1fda37(0x11c),_0x1fda37(0x119))]},'children':this[_0x1fda37(0x110)]}),_0x49e998;}[_0x2283bc(0x10b)](){const _0xfce648=_0x2283bc,_0x520cc4=new _0x39a64d(this[_0xfce648(0x12a)]);return _0x520cc4[_0xfce648(0x11d)]({'tag':_0xfce648(0x131),'attributes':{'class':['ck',_0xfce648(0x144),this[_0xfce648(0x13f)]['if'](_0xfce648(0xff),_0xfce648(0x119),_0x3181ea=>!_0x3181ea)]},'children':this[_0xfce648(0x132)]()}),_0x520cc4;}[_0x2283bc(0x132)](){const _0x434a3a=_0x2283bc,_0x42e50=new _0x93490a();return _0x42e50[_0x434a3a(0x128)]=!0x0,[_0x42e50,{'tag':_0x434a3a(0x134),'attributes':{'class':['ck',_0x434a3a(0x113)]},'children':[{'text':this[_0x434a3a(0x13f)]['to'](_0x434a3a(0x114))}]}];}[_0x2283bc(0x130)](_0x3ce6e8){const _0x4e42b7=_0x2283bc,_0x33e522=this[_0x4e42b7(0x110)][_0x4e42b7(0x126)](_0x2a2fe6=>_0x2a2fe6[_0x4e42b7(0x139)]['id'][_0x4e42b7(0x109)](_0x3ce6e8));if(!_0x33e522)throw new _0x5b3540(_0x4e42b7(0xfc),this,{'id':_0x3ce6e8});return _0x33e522;}[_0x2283bc(0x141)](_0x488e7d){const _0x59f942=_0x2283bc;this[_0x59f942(0x124)](_0x59f942(0x114),_0x488e7d);}[_0x2283bc(0x13d)](_0x3ead92){const _0x1f2c4a=_0x2283bc;this[_0x1f2c4a(0x124)](_0x1f2c4a(0x11c),_0x3ead92);}[_0x2283bc(0x13c)](){const _0x2ea223=_0x2283bc;this[_0x2ea223(0x138)][_0x2ea223(0x121)]();}[_0x2283bc(0x127)](){const _0x25a2f9=_0x2283bc;this[_0x25a2f9(0x138)][_0x25a2f9(0x108)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x264b(_0x1c6254,_0x32ae69){const _0x4bcf00=_0x4bcf();return _0x264b=function(_0x264b8f,_0x1e4441){_0x264b8f=_0x264b8f-0x1da;let _0x4e82fd=_0x4bcf00[_0x264b8f];return _0x4e82fd;},_0x264b(_0x1c6254,_0x32ae69);}const _0x56e12d=_0x264b;(function(_0x4632bf,_0x4c1b31){const _0x487d02=_0x264b,_0x569264=_0x4632bf();while(!![]){try{const _0x4b7e63=parseInt(_0x487d02(0x1da))/0x1+-parseInt(_0x487d02(0x1e6))/0x2+parseInt(_0x487d02(0x1e2))/0x3*(parseInt(_0x487d02(0x1eb))/0x4)+parseInt(_0x487d02(0x1ea))/0x5+-parseInt(_0x487d02(0x1de))/0x6*(-parseInt(_0x487d02(0x1e8))/0x7)+parseInt(_0x487d02(0x1f2))/0x8+-parseInt(_0x487d02(0x1e3))/0x9*(parseInt(_0x487d02(0x1e4))/0xa);if(_0x4b7e63===_0x4c1b31)break;else _0x569264['push'](_0x569264['shift']());}catch(_0x5f46e1){_0x569264['push'](_0x569264['shift']());}}}(_0x4bcf,0xc3f95));import{ButtonView as _0x1d3e9f,FormHeaderView as _0x490c22}from'ckeditor5/src/ui.js';import{IconPlus as _0x5152ee,IconAIChat as _0x251192}from'ckeditor5/src/icons.js';import{getTranslation as _0xcaa035}from'../../aicore/utils/common-translations.js';function _0x4bcf(){const _0x550e1d=['8719305UPOMDJ','startConversation','4159445rsmZIg','4ZTmLTa','AI_CHAT_HEADING','isMaximized','set','ck-ai-header\x20ck-ai-header_chat','ck-ai-chat__start-conversation','children','6940088stSzLo','640315BtjGop','AI_CHAT_LABEL_NEW_CHAT','conversationStartButton','add','6FjjNYT','_createStartConversationButton','locale','resizeButton','2491395ICivyl','25802523AcAFXY','10uGQbzC','fire','1492278xhSxov','execute'];_0x4bcf=function(){return _0x550e1d;};return _0x4bcf();}import{createResizeButton as _0x345beb}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x490c22{[_0x56e12d(0x1dc)];[_0x56e12d(0x1e1)];constructor(_0x6b3e71,_0x258ab9){const _0x57072c=_0x56e12d;super(_0x6b3e71,{'label':_0xcaa035(_0x6b3e71,_0x57072c(0x1ec)),'class':_0x57072c(0x1ef),'icon':_0x251192}),this[_0x57072c(0x1ee)](_0x57072c(0x1ed),!0x1),this[_0x57072c(0x1dc)]=this[_0x57072c(0x1df)](_0x6b3e71),this[_0x57072c(0x1f1)][_0x57072c(0x1dd)](this[_0x57072c(0x1dc)]),_0x258ab9&&(this[_0x57072c(0x1e1)]=_0x345beb(_0x6b3e71,this),this[_0x57072c(0x1f1)][_0x57072c(0x1dd)](this[_0x57072c(0x1e1)]));}[_0x56e12d(0x1df)](_0x5c744c){const _0x3932f2=_0x56e12d,_0x2edcc7=new _0x1d3e9f(_0x5c744c);return _0x2edcc7[_0x3932f2(0x1ee)]({'label':_0xcaa035(this[_0x3932f2(0x1e0)],_0x3932f2(0x1db)),'withText':!0x0,'icon':_0x5152ee,'class':_0x3932f2(0x1f0)}),_0x2edcc7['on'](_0x3932f2(0x1e7),()=>{const _0x4247f4=_0x3932f2;this[_0x4247f4(0x1e5)](_0x4247f4(0x1e9));}),_0x2edcc7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5e5df8=_0x49ce;(function(_0x3ede2f,_0x42383e){var _0x3ddabf=_0x49ce,_0x568143=_0x3ede2f();while(!![]){try{var _0x477bfb=-parseInt(_0x3ddabf(0x76))/0x1*(-parseInt(_0x3ddabf(0x7f))/0x2)+-parseInt(_0x3ddabf(0x71))/0x3*(-parseInt(_0x3ddabf(0x7b))/0x4)+-parseInt(_0x3ddabf(0x74))/0x5+parseInt(_0x3ddabf(0x70))/0x6+-parseInt(_0x3ddabf(0x80))/0x7+parseInt(_0x3ddabf(0x7a))/0x8+parseInt(_0x3ddabf(0x83))/0x9*(-parseInt(_0x3ddabf(0x86))/0xa);if(_0x477bfb===_0x42383e)break;else _0x568143['push'](_0x568143['shift']());}catch(_0x417a22){_0x568143['push'](_0x568143['shift']());}}}(_0x2b79,0x43115));import{View as _0x5c5326,BodyCollection as _0x4bba30}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x454d54}from'../utils/eventnames.js';import{AIChatFeedView as _0x4c36c3}from'./aichatfeedview.js';import{AIChatControlsView as _0x21a945}from'./aichatcontrolsview.js';function _0x49ce(_0x5f500e,_0x361aad){var _0x2b791e=_0x2b79();return _0x49ce=function(_0x49ce55,_0x562bba){_0x49ce55=_0x49ce55-0x6a;var _0x4487a2=_0x2b791e[_0x49ce55];return _0x4487a2;},_0x49ce(_0x5f500e,_0x361aad);}function _0x2b79(){var _0x35e8a4=['chatFeed','ck-reset_all','443920MHQWWB','643988hXgdlO','chatHeader','_bodyCollection','delegate','58uwLgne','71897oXqdXS','destroy','closeSourceResourceBalloon','71163kYzCKS','ck-ai-chat','setTemplate','650POCAjN','div','showResizeButton','chatControls','uiLanguageDirection','detachFromDom','attachToDom','3087756kMACNk','3YuYtyd','chatDisclaimer','contextResourcesSearchInputVisibleFrom','805085gaOYsl','ck-rounded-corners','7891wjcyNh','populateSourceResourceBalloon'];_0x2b79=function(){return _0x35e8a4;};return _0x2b79();}import{AIChatHeaderView as _0x1e1e00}from'./aichatheaderview.js';import{AIDisclaimerView as _0x3c2b32}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x5c5326{[_0x5e5df8(0x7c)];[_0x5e5df8(0x78)];[_0x5e5df8(0x6c)];[_0x5e5df8(0x72)];[_0x5e5df8(0x7d)];constructor(_0x4f1754,_0x3a091e){var _0x3138a0=_0x5e5df8;super(_0x4f1754),this[_0x3138a0(0x7d)]=new _0x4bba30(_0x4f1754),this[_0x3138a0(0x7d)][_0x3138a0(0x6f)](),this[_0x3138a0(0x7c)]=new _0x1e1e00(_0x4f1754,_0x3a091e[_0x3138a0(0x6b)]),this[_0x3138a0(0x7c)][_0x3138a0(0x7e)](..._0x454d54)['to'](this),this[_0x3138a0(0x78)]=new _0x4c36c3(_0x4f1754,this[_0x3138a0(0x7d)]),this[_0x3138a0(0x78)][_0x3138a0(0x7e)](..._0x454d54)['to'](this),this[_0x3138a0(0x6c)]=new _0x21a945(_0x4f1754,{'bodyCollection':this[_0x3138a0(0x7d)],'contextResourcesSearchInputVisibleFrom':_0x3a091e[_0x3138a0(0x73)]}),this[_0x3138a0(0x6c)][_0x3138a0(0x7e)](..._0x454d54)['to'](this),this[_0x3138a0(0x72)]=new _0x3c2b32(_0x4f1754),this[_0x3138a0(0x85)]({'tag':_0x3138a0(0x6a),'attributes':{'class':['ck',_0x3138a0(0x79),_0x3138a0(0x84),_0x3138a0(0x75)],'dir':_0x4f1754[_0x3138a0(0x6d)]},'children':[this[_0x3138a0(0x7c)],this[_0x3138a0(0x78)],this[_0x3138a0(0x6c)],this[_0x3138a0(0x72)]]});}[_0x5e5df8(0x77)](_0x309411,_0x263bb5,_0x26d56d,_0x571092){var _0x19d749=_0x5e5df8;this[_0x19d749(0x6c)][_0x19d749(0x77)](_0x309411,_0x263bb5,_0x26d56d,_0x571092);}[_0x5e5df8(0x82)](_0x4e1b75){var _0x1f449a=_0x5e5df8;this[_0x1f449a(0x6c)][_0x1f449a(0x82)](_0x4e1b75);}[_0x5e5df8(0x81)](){var _0x3edb53=_0x5e5df8;this[_0x3edb53(0x7d)][_0x3edb53(0x6e)](),super[_0x3edb53(0x81)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x15e7(_0x58b596,_0x49b6e0){const _0x30d5ef=_0x30d5();return _0x15e7=function(_0x15e7c3,_0x3c61f0){_0x15e7c3=_0x15e7c3-0x1a3;let _0x1900b7=_0x30d5ef[_0x15e7c3];return _0x1900b7;},_0x15e7(_0x58b596,_0x49b6e0);}const _0x9c7903=_0x15e7;(function(_0x4cdade,_0x43affc){const _0x5f48fa=_0x15e7,_0x4b9dad=_0x4cdade();while(!![]){try{const _0x2ec882=parseInt(_0x5f48fa(0x1b8))/0x1*(parseInt(_0x5f48fa(0x237))/0x2)+parseInt(_0x5f48fa(0x1f3))/0x3*(parseInt(_0x5f48fa(0x1b7))/0x4)+parseInt(_0x5f48fa(0x219))/0x5*(-parseInt(_0x5f48fa(0x1dc))/0x6)+parseInt(_0x5f48fa(0x1c2))/0x7*(parseInt(_0x5f48fa(0x1b5))/0x8)+-parseInt(_0x5f48fa(0x21b))/0x9*(-parseInt(_0x5f48fa(0x1c3))/0xa)+-parseInt(_0x5f48fa(0x22e))/0xb*(-parseInt(_0x5f48fa(0x1ec))/0xc)+-parseInt(_0x5f48fa(0x1af))/0xd;if(_0x2ec882===_0x43affc)break;else _0x4b9dad['push'](_0x4b9dad['shift']());}catch(_0x11013b){_0x4b9dad['push'](_0x4b9dad['shift']());}}}(_0x30d5,0xb8cb4));import{View as _0x205eec,BalloonPanelView as _0x359e33,ButtonView as _0x231815,clickOutsideHandler as _0x3fbf77}from'ckeditor5/src/ui.js';import{Collection as _0x3c2f0d}from'ckeditor5/src/utils.js';const dn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},bn=_0x9c7903(0x1d7);export class AIChatChipsOverflowManager{[_0x9c7903(0x1b0)];[_0x9c7903(0x1d4)];[_0x9c7903(0x21f)];[_0x9c7903(0x229)];[_0x9c7903(0x223)]=null;[_0x9c7903(0x1bc)]=null;[_0x9c7903(0x1d3)]=null;[_0x9c7903(0x1c8)];[_0x9c7903(0x1d6)]=null;[_0x9c7903(0x1ba)]=null;[_0x9c7903(0x1b4)]=!0x1;constructor(_0x4b7e48,_0x2c455a,_0x1bebff,_0x36763e,_0x5cc938){const _0x161c8f=_0x9c7903;this[_0x161c8f(0x1b0)]=_0x4b7e48,this[_0x161c8f(0x21f)]=_0x2c455a,this[_0x161c8f(0x1d4)]={...dn,..._0x1bebff,'cssClasses':{'controlsButton':'','calculationContainer':_0x161c8f(0x1fb),..._0x1bebff[_0x161c8f(0x1a9)]}},this[_0x161c8f(0x229)]=new _0x3c2f0d(),this[_0x161c8f(0x1c8)]=_0x36763e,this[_0x161c8f(0x1d6)]=_0x5cc938||null;}[_0x9c7903(0x1fe)](_0x2364ab){const _0x410cc3=_0x9c7903;this[_0x410cc3(0x1ba)]&&(this[_0x410cc3(0x1ba)][_0x410cc3(0x1ff)](),this[_0x410cc3(0x1ba)]=null),this[_0x410cc3(0x1d3)]=_0x2364ab,this[_0x410cc3(0x1a7)]();}get[_0x9c7903(0x1fc)](){const _0x536733=_0x9c7903;return this[_0x536733(0x223)];}get[_0x9c7903(0x1c0)](){const _0x34f785=_0x9c7903;return this[_0x34f785(0x229)];}[_0x9c7903(0x215)](){requestAnimationFrame(()=>{const _0x10d829=_0x15e7;this[_0x10d829(0x1be)]();});}[_0x9c7903(0x239)](){const _0x3e3f7f=_0x9c7903;this[_0x3e3f7f(0x223)]&&this[_0x3e3f7f(0x1bc)]&&(this[_0x3e3f7f(0x1ee)](),this[_0x3e3f7f(0x223)][_0x3e3f7f(0x1da)]=!0x0,this[_0x3e3f7f(0x1bc)][_0x3e3f7f(0x228)](),this[_0x3e3f7f(0x1bc)][_0x3e3f7f(0x1e4)]({'target':this[_0x3e3f7f(0x223)][_0x3e3f7f(0x1cf)],'limiter':document[_0x3e3f7f(0x20b)](_0x3e3f7f(0x1cb))}));}[_0x9c7903(0x1e8)](){const _0x5de340=_0x9c7903;this[_0x5de340(0x223)]&&this[_0x5de340(0x1bc)]&&(this[_0x5de340(0x223)][_0x5de340(0x1da)]=!0x1,this[_0x5de340(0x1bc)][_0x5de340(0x1ca)]());}[_0x9c7903(0x21d)](){const _0x4182a1=_0x9c7903;this[_0x4182a1(0x229)][_0x4182a1(0x21d)](),this[_0x4182a1(0x1e8)](),this[_0x4182a1(0x1e6)](),this[_0x4182a1(0x223)]&&(this[_0x4182a1(0x223)][_0x4182a1(0x1f2)]=''),this[_0x4182a1(0x1bc)]&&this[_0x4182a1(0x1bc)][_0x4182a1(0x1e7)][_0x4182a1(0x21d)]();}[_0x9c7903(0x224)](){const _0x3b44ed=_0x9c7903;this[_0x3b44ed(0x1ba)]&&(this[_0x3b44ed(0x1ba)][_0x3b44ed(0x1ff)](),this[_0x3b44ed(0x1ba)]=null),this[_0x3b44ed(0x223)]&&(this[_0x3b44ed(0x223)][_0x3b44ed(0x224)](),this[_0x3b44ed(0x223)]=null),this[_0x3b44ed(0x1bc)]&&(this[_0x3b44ed(0x1bc)][_0x3b44ed(0x224)](),this[_0x3b44ed(0x1bc)]=null);}[_0x9c7903(0x1be)](){const _0xdf0117=_0x9c7903;if(!this[_0xdf0117(0x1d3)])return;if(!this[_0xdf0117(0x200)]())return void(this[_0xdf0117(0x1b4)]=!0x0);this[_0xdf0117(0x1b4)]=!0x1;const _0x122510=[...this[_0xdf0117(0x21f)],...this[_0xdf0117(0x229)]],_0x23e119=this[_0xdf0117(0x21a)](),_0x5acf12=this[_0xdf0117(0x1f6)](_0x23e119,_0x122510),_0x496f75=_0x23e119[_0xdf0117(0x238)];_0x496f75&&this[_0xdf0117(0x1b6)](_0x496f75),_0x23e119[_0xdf0117(0x233)](),this[_0xdf0117(0x1ef)](_0x122510,_0x5acf12);}[_0x9c7903(0x218)](){const _0x5b7e76=_0x9c7903;this[_0x5b7e76(0x223)]=this[_0x5b7e76(0x1bb)](),this[_0x5b7e76(0x1bc)]=this[_0x5b7e76(0x1c1)](),this[_0x5b7e76(0x223)][_0x5b7e76(0x1f7)](),this[_0x5b7e76(0x1d3)][_0x5b7e76(0x217)](this[_0x5b7e76(0x223)][_0x5b7e76(0x1cf)]),this[_0x5b7e76(0x223)]['on'](_0x5b7e76(0x1ac),()=>{const _0x1e00c0=_0x5b7e76;this[_0x1e00c0(0x1e1)]();}),_0x3fbf77({'emitter':this[_0x5b7e76(0x1bc)],'contextElements':[this[_0x5b7e76(0x1bc)][_0x5b7e76(0x1cf)],this[_0x5b7e76(0x223)][_0x5b7e76(0x1cf)]],'callback':()=>this[_0x5b7e76(0x1e8)](),'activator':()=>this[_0x5b7e76(0x223)][_0x5b7e76(0x1da)]});}[_0x9c7903(0x1bb)](){const _0xcd64e5=_0x9c7903,_0x53a0c9=new _0x231815(this[_0xcd64e5(0x1b0)]);_0x53a0c9[_0xcd64e5(0x1e0)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0xe98797=[this[_0xcd64e5(0x1d4)][_0xcd64e5(0x1a9)][_0xcd64e5(0x1ce)]];return this[_0xcd64e5(0x1d4)][_0xcd64e5(0x1a9)][_0xcd64e5(0x210)]&&_0xe98797[_0xcd64e5(0x205)](this[_0xcd64e5(0x1d4)][_0xcd64e5(0x1a9)][_0xcd64e5(0x210)]),_0x53a0c9[_0xcd64e5(0x227)]({'attributes':{'class':_0xe98797}}),_0x53a0c9;}[_0x9c7903(0x1c1)](){const _0x4bca73=_0x9c7903,_0x186fad=new _0x359e33(this[_0x4bca73(0x1b0)]);return _0x186fad[_0x4bca73(0x227)]({'attributes':{'class':this[_0x4bca73(0x1d4)][_0x4bca73(0x1a9)][_0x4bca73(0x1fd)]}}),this[_0x4bca73(0x1c8)][_0x4bca73(0x1a8)](_0x186fad),_0x186fad;}[_0x9c7903(0x1ee)](){const _0x56b28e=_0x9c7903;if(this[_0x56b28e(0x1bc)]&&(this[_0x56b28e(0x1bc)][_0x56b28e(0x1e7)][_0x56b28e(0x21d)](),this[_0x56b28e(0x229)][_0x56b28e(0x1a4)]>0x0)){this[_0x56b28e(0x229)][_0x56b28e(0x1f8)](_0x256fcc=>{const _0x4f2e4e=_0x56b28e;_0x256fcc[_0x4f2e4e(0x1ab)]();});const _0x2ef39b=new _0x205eec(this[_0x56b28e(0x1b0)]);_0x2ef39b[_0x56b28e(0x230)]({'tag':_0x56b28e(0x1d1),'attributes':{'class':this[_0x56b28e(0x1d4)][_0x56b28e(0x1a9)][_0x56b28e(0x1b3)]},'children':this[_0x56b28e(0x229)]}),this[_0x56b28e(0x1bc)][_0x56b28e(0x1e7)][_0x56b28e(0x1a8)](_0x2ef39b);}}[_0x9c7903(0x1e1)](){const _0x4ecee0=_0x9c7903;this[_0x4ecee0(0x223)][_0x4ecee0(0x1da)]?this[_0x4ecee0(0x1e8)]():this[_0x4ecee0(0x239)]();}[_0x9c7903(0x1e6)](){const _0x49fd7d=_0x9c7903,_0x35c278=this[_0x49fd7d(0x229)][_0x49fd7d(0x1a4)]>0x0;this[_0x49fd7d(0x223)]?.[_0x49fd7d(0x1cf)]&&(this[_0x49fd7d(0x223)][_0x49fd7d(0x1cf)][_0x49fd7d(0x222)][_0x49fd7d(0x1db)]=_0x35c278?'':_0x49fd7d(0x1f4));}[_0x9c7903(0x213)](){const _0x4b4d1a=_0x9c7903;this[_0x4b4d1a(0x223)]?.[_0x4b4d1a(0x1da)]&&this[_0x4b4d1a(0x1bc)]?.[_0x4b4d1a(0x1f5)]&&this[_0x4b4d1a(0x223)][_0x4b4d1a(0x1cf)]&&this[_0x4b4d1a(0x1bc)][_0x4b4d1a(0x1e4)]({'target':this[_0x4b4d1a(0x223)][_0x4b4d1a(0x1cf)],'limiter':document[_0x4b4d1a(0x20b)](_0x4b4d1a(0x1cb))});}[_0x9c7903(0x1cd)](_0x1e9aab){const _0x24a417=_0x9c7903,_0x1030ca=this[_0x24a417(0x1d3)]?.[_0x24a417(0x1b2)][_0x24a417(0x1d8)]()||_0x24a417(0x1d1),_0x52ad07=this[_0x24a417(0x1d3)]?.[_0x24a417(0x1d5)];if(_0x52ad07){const _0x3bda70=_0x52ad07[0x0]||'',_0x269b5e=_0x1e9aab[_0x24a417(0x20b)]('.'+_0x3bda70),_0x6f07ea=_0x1e9aab[_0x24a417(0x20b)](_0x1030ca);return _0x269b5e||_0x6f07ea||_0x1e9aab;}return _0x1e9aab[_0x24a417(0x20b)](_0x1030ca)||_0x1e9aab;}[_0x9c7903(0x225)](){const _0x5090b1=_0x9c7903,_0x2a610b=this[_0x5090b1(0x1d6)]?.[_0x5090b1(0x1cf)]||this[_0x5090b1(0x1d3)];if(!_0x2a610b)return bn;const _0x1095a1=window[_0x5090b1(0x209)](_0x2a610b)[_0x5090b1(0x1f0)];if(_0x5090b1(0x1f9)===_0x1095a1||_0x5090b1(0x235)===_0x1095a1||!_0x1095a1){const _0x191c5e=_0x2a610b[_0x5090b1(0x221)];if(_0x191c5e){const _0x4cb4f8=window[_0x5090b1(0x209)](_0x191c5e);return _0x5090b1(0x1f9)!==_0x4cb4f8[_0x5090b1(0x1f0)]?_0x4cb4f8[_0x5090b1(0x1f0)]:bn;}return bn;}return _0x1095a1;}[_0x9c7903(0x212)](_0x50749f,_0x8fb4ff){const _0x3e6084=_0x9c7903;this[_0x3e6084(0x1d4)][_0x3e6084(0x1a9)][_0x3e6084(0x207)]&&_0x50749f[_0x3e6084(0x1d5)][_0x3e6084(0x1a8)](this[_0x3e6084(0x1d4)][_0x3e6084(0x1a9)][_0x3e6084(0x207)]),_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x1f0)]=_0x8fb4ff,_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x206)]=_0x3e6084(0x1c7),_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x22d)]=_0x3e6084(0x203),_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x1d2)]=_0x3e6084(0x203),_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x1a3)]='0',_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x22a)]=_0x3e6084(0x1f4),_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x1ea)]='-1',_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x1b1)]=_0x3e6084(0x204),_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x1db)]=_0x3e6084(0x1b9),_0x50749f[_0x3e6084(0x222)][_0x3e6084(0x216)]=_0x3e6084(0x1e3);}[_0x9c7903(0x1b6)](_0x3eacc3){const _0x540f21=_0x9c7903;_0x3eacc3[_0x540f21(0x1f8)](({element:_0x22288c,originalDisplay:_0x30da8c,originalVisibility:_0x153380})=>{const _0x2a8455=_0x540f21;_0x22288c[_0x2a8455(0x222)][_0x2a8455(0x1db)]=_0x30da8c,_0x22288c[_0x2a8455(0x222)][_0x2a8455(0x1b1)]=_0x153380;});}[_0x9c7903(0x1de)](_0x5004f5){const _0x51da38=_0x9c7903,_0x3bd94=[];let _0x121e17=_0x5004f5;for(;_0x121e17&&_0x121e17!==document[_0x51da38(0x1dd)];){const _0xb9a42a=window[_0x51da38(0x209)](_0x121e17);_0x51da38(0x1f4)!==_0xb9a42a[_0x51da38(0x1db)]&&_0x51da38(0x20e)!==_0xb9a42a[_0x51da38(0x1b1)]||(_0x3bd94[_0x51da38(0x205)]({'element':_0x121e17,'originalDisplay':_0x121e17[_0x51da38(0x222)][_0x51da38(0x1db)],'originalVisibility':_0x121e17[_0x51da38(0x222)][_0x51da38(0x1b1)]}),_0x121e17[_0x51da38(0x222)][_0x51da38(0x1db)]=_0x51da38(0x1bd),_0x121e17[_0x51da38(0x222)][_0x51da38(0x1b1)]=_0x51da38(0x1c4)),_0x121e17=_0x121e17[_0x51da38(0x221)];}return _0x3bd94;}[_0x9c7903(0x1a5)](){const _0x286436=_0x9c7903;let _0x351433,_0x328883;return this[_0x286436(0x1d6)]?.[_0x286436(0x1cf)]?(_0x351433=this[_0x286436(0x1d6)][_0x286436(0x1cf)][_0x286436(0x20d)](!0x0),_0x328883=this[_0x286436(0x1cd)](_0x351433)):(_0x351433=document[_0x286436(0x1ad)](_0x286436(0x1d1)),_0x328883=_0x351433),{'calculationContainer':_0x351433,'targetContainer':_0x328883};}[_0x9c7903(0x21a)](){const _0x1276c4=_0x9c7903,{calculationContainer:_0x2e0625,targetContainer:_0x1c00a3}=this[_0x1276c4(0x1a5)](),_0x5da16f=this[_0x1276c4(0x225)]();this[_0x1276c4(0x212)](_0x2e0625,_0x5da16f);const _0x53e1f8=this[_0x1276c4(0x1d6)]?.[_0x1276c4(0x1cf)]||this[_0x1276c4(0x1d3)],_0x271323=_0x53e1f8?.[_0x1276c4(0x221)];_0x271323?_0x271323[_0x1276c4(0x217)](_0x2e0625):document[_0x1276c4(0x1dd)][_0x1276c4(0x217)](_0x2e0625),_0x2e0625[_0x1276c4(0x1fa)]=_0x1c00a3;const _0xf17bc=this[_0x1276c4(0x1de)](_0x271323||null);return _0x2e0625[_0x1276c4(0x1ed)],_0x2e0625[_0x1276c4(0x238)]=_0xf17bc,_0x2e0625;}[_0x9c7903(0x1f6)](_0x1b7357,_0x40dabd){const _0x2efb42=_0x9c7903,_0x429850=_0x1b7357[_0x2efb42(0x1fa)]||_0x1b7357,_0x5e5dbc=[],{rowCount:_0x54311d}=this[_0x2efb42(0x1d0)](_0x429850,_0x40dabd);if(_0x54311d<=this[_0x2efb42(0x1d4)][_0x2efb42(0x1aa)])return _0x5e5dbc;const _0x13d641=_0x40dabd[_0x2efb42(0x1f1)]();for(;_0x13d641[_0x2efb42(0x1a4)]>0x0;){if(this[_0x2efb42(0x1eb)](_0x1b7357,_0x429850,_0x13d641)){const _0x33b68f=_0x40dabd[_0x2efb42(0x231)](_0x25e9db=>!_0x13d641[_0x2efb42(0x201)](_0x25e9db));_0x5e5dbc[_0x2efb42(0x205)](..._0x33b68f);break;}if(!_0x13d641[_0x2efb42(0x214)]())break;}return _0x5e5dbc;}[_0x9c7903(0x1d0)](_0x3b69f9,_0x3f26e4){const _0x251bce=_0x9c7903;_0x3b69f9[_0x251bce(0x226)]='',_0x3f26e4[_0x251bce(0x1f8)](_0x1ccf98=>{const _0x4fd6e1=_0x251bce;if(_0x1ccf98[_0x4fd6e1(0x1cf)]){const _0x148d59=_0x1ccf98[_0x4fd6e1(0x1cf)][_0x4fd6e1(0x20d)](!0x0);_0x3b69f9[_0x4fd6e1(0x217)](_0x148d59);}}),_0x3b69f9[_0x251bce(0x1ed)];const _0x4c8fde=_0x3b69f9[_0x251bce(0x22f)],_0x3c198d=[];return Array[_0x251bce(0x1bf)](_0x4c8fde)[_0x251bce(0x1f8)](_0x16d005=>{const _0x3cd275=_0x251bce,_0x116565=_0x16d005[_0x3cd275(0x220)]()[_0x3cd275(0x22d)];_0x3c198d[_0x3cd275(0x1ae)](_0xcb327b=>Math[_0x3cd275(0x1e2)](_0xcb327b-_0x116565)<this[_0x3cd275(0x1d4)][_0x3cd275(0x21c)])||_0x3c198d[_0x3cd275(0x205)](_0x116565);}),{'rowCount':_0x3c198d[_0x251bce(0x1a4)]};}[_0x9c7903(0x232)](){const _0x3efe20=_0x9c7903,_0x25c5dd=document[_0x3efe20(0x1ad)](_0x3efe20(0x1d9));return _0x25c5dd[_0x3efe20(0x1c5)]=this[_0x3efe20(0x1d4)][_0x3efe20(0x1a9)][_0x3efe20(0x1ce)],this[_0x3efe20(0x1d4)][_0x3efe20(0x1a9)][_0x3efe20(0x210)]&&_0x25c5dd[_0x3efe20(0x1d5)][_0x3efe20(0x1a8)](this[_0x3efe20(0x1d4)][_0x3efe20(0x1a9)][_0x3efe20(0x210)]),_0x25c5dd[_0x3efe20(0x20c)]=_0x3efe20(0x21e),_0x25c5dd;}[_0x9c7903(0x1eb)](_0xcb27e,_0x58c311,_0x326f73){const _0x3b2015=_0x9c7903;this[_0x3b2015(0x1d0)](_0x58c311,_0x326f73);const _0x5c5c0f=this[_0x3b2015(0x232)]();_0xcb27e[_0x3b2015(0x217)](_0x5c5c0f),_0xcb27e[_0x3b2015(0x1ed)];const _0x2e842b=[..._0x58c311[_0x3b2015(0x22f)],_0x5c5c0f],_0x7bcff2=[];_0x2e842b[_0x3b2015(0x1f8)](_0x65701e=>{const _0x50fc69=_0x3b2015,_0x2a4ea8=_0x65701e[_0x50fc69(0x220)]()[_0x50fc69(0x22d)];_0x7bcff2[_0x50fc69(0x1ae)](_0x57dd11=>Math[_0x50fc69(0x1e2)](_0x57dd11-_0x2a4ea8)<this[_0x50fc69(0x1d4)][_0x50fc69(0x21c)])||_0x7bcff2[_0x50fc69(0x205)](_0x2a4ea8);});const _0x40ca99=_0x7bcff2[_0x3b2015(0x1a4)];return _0x5c5c0f[_0x3b2015(0x233)](),_0x40ca99<=this[_0x3b2015(0x1d4)][_0x3b2015(0x1aa)];}[_0x9c7903(0x22c)](_0x1053a7,_0x3b106f){const _0x4b0e5d=_0x9c7903;this[_0x4b0e5d(0x21f)][_0x4b0e5d(0x21d)](),this[_0x4b0e5d(0x229)][_0x4b0e5d(0x21d)](),_0x1053a7[_0x4b0e5d(0x1f8)](_0x17030e=>{const _0x5a9375=_0x4b0e5d;_0x3b106f[_0x5a9375(0x201)](_0x17030e)?this[_0x5a9375(0x229)][_0x5a9375(0x1a8)](_0x17030e):this[_0x5a9375(0x21f)][_0x5a9375(0x1a8)](_0x17030e);});}[_0x9c7903(0x202)](_0x626893){const _0x3279c6=_0x9c7903;if(_0x626893>0x0&&!this[_0x3279c6(0x223)]&&this[_0x3279c6(0x218)](),_0x626893>0x0&&this[_0x3279c6(0x223)]){const _0x510d96=''+this[_0x3279c6(0x1d4)][_0x3279c6(0x1c6)]+(_0x626893<0x63?_0x626893:'99');this[_0x3279c6(0x223)][_0x3279c6(0x1f2)]=_0x510d96;}this[_0x3279c6(0x1ee)](),this[_0x3279c6(0x1e6)](),this[_0x3279c6(0x213)]();}[_0x9c7903(0x1ef)](_0x1364fb,_0x5e7eca){const _0x5ce6f1=_0x9c7903;this[_0x5ce6f1(0x22c)](_0x1364fb,_0x5e7eca),this[_0x5ce6f1(0x202)](_0x5e7eca[_0x5ce6f1(0x1a4)]);}[_0x9c7903(0x1a7)](){const _0x5b7f06=_0x9c7903;this[_0x5b7f06(0x1d3)]&&_0x5b7f06(0x1cc)!=typeof IntersectionObserver&&(this[_0x5b7f06(0x1ba)]=new IntersectionObserver(_0x80c32d=>{const _0x3b67f1=_0x5b7f06;_0x80c32d[0x0][_0x3b67f1(0x1df)]&&this[_0x3b67f1(0x1b4)]&&requestAnimationFrame(()=>{const _0x2c4ab0=_0x3b67f1;this[_0x2c4ab0(0x1be)]();});},{'threshold':0.01,'rootMargin':_0x5b7f06(0x1a6)}),this[_0x5b7f06(0x1ba)][_0x5b7f06(0x211)](this[_0x5b7f06(0x1d3)]));}[_0x9c7903(0x200)](){const _0x1a4d74=_0x9c7903;if(!this[_0x1a4d74(0x1d3)])return!0x1;if(!this[_0x1a4d74(0x1d3)][_0x1a4d74(0x20a)])return!0x1;const _0x2a9cd5=this[_0x1a4d74(0x1d3)][_0x1a4d74(0x220)]();if(0x0===_0x2a9cd5[_0x1a4d74(0x1f0)]||0x0===_0x2a9cd5[_0x1a4d74(0x1c9)])return!0x1;const _0xb7db23=window[_0x1a4d74(0x208)]||document[_0x1a4d74(0x22b)][_0x1a4d74(0x1e9)],_0x4800ba=window[_0x1a4d74(0x20f)]||document[_0x1a4d74(0x22b)][_0x1a4d74(0x236)],_0x2aa5fd=0xc8;return _0x2a9cd5[_0x1a4d74(0x234)]>=-0xc8&&_0x2a9cd5[_0x1a4d74(0x22d)]<=_0xb7db23+_0x2aa5fd&&_0x2a9cd5[_0x1a4d74(0x1e5)]>=-0xc8&&_0x2a9cd5[_0x1a4d74(0x1d2)]<=_0x4800ba+_0x2aa5fd;}}function _0x30d5(){const _0x27c971=['_createMockButton','remove','bottom','0px','clientWidth','85112AogiSq','_ancestorsToRestore','showBalloonPanel','opacity','length','_createContainerElements','50px','_setupVisibilityObserver','add','cssClasses','maxVisibleRows','disableAnimationOnEnter','execute','createElement','some','3516097tawyAd','_locale','visibility','tagName','overflowContainer','_pendingCalculation','4584IjeIGK','_restoreAncestorVisibility','66532nYVkkF','10okSKfK','block\x20!important','_intersectionObserver','_createShowMoreButtonView','_showMoreBalloonPanelView','block','_checkAndHandleOverflow','from','overflowChips','_createShowMoreBalloonPanelView','5670RRGBlN','617920SHbxWc','visible','className','showMoreLabelPrefix','absolute','_bodyCollection','height','hide','.ck-ai-chat','undefined','_findTargetContainer','showMoreButton','element','_renderChipsAndCountRows','div','left','_containerElement','_config','classList','_parentView','300px','toLowerCase','button','isOn','display','906fCezNt','body','_makeAncestorsVisible','isIntersecting','set','_handleShowMoreButtonClick','abs','border-box','pin','right','_updateShowMoreButtonVisibility','content','hideBalloonPanel','clientHeight','zIndex','_testButtonFit','1833204GBUtQv','offsetWidth','_updateBalloonContent','_applyOverflowResults','width','slice','label','141XWqGOI','none','isVisible','_calculateOverflowInContainer','render','forEach','auto','_targetContainer','ck-calculation-container','showMoreButtonView','showMoreBalloon','setContainerElement','disconnect','_isContainerVisible','includes','_updateOverflowUI','-9999px','visible\x20!important','push','position','calculationContainer','innerHeight','getComputedStyle','isConnected','querySelector','textContent','cloneNode','hidden','innerWidth','controlsButton','observe','_applyCalculationStyles','_repinBalloonPanel','pop','reorganizeChips','boxSizing','appendChild','_createShowMoreButton','48665kHWTwP','_createCalculationContainer','9xQZwYy','rowDetectionTolerance','clear','+\x201','_visibleChips','getBoundingClientRect','parentElement','style','_showMoreButtonView','destroy','_calculateContainerWidth','innerHTML','extendTemplate','show','_overflowChips','pointerEvents','documentElement','_distributeChips','top','55fodMPO','children','setTemplate','filter'];_0x30d5=function(){return _0x27c971;};return _0x30d5();}
|
|
23
|
+
const _0x39e31f=_0x3a07;(function(_0x1b983c,_0x423f7f){const _0x33883b=_0x3a07,_0x1578b9=_0x1b983c();while(!![]){try{const _0x32dade=parseInt(_0x33883b(0x146))/0x1+parseInt(_0x33883b(0x125))/0x2+parseInt(_0x33883b(0x133))/0x3+-parseInt(_0x33883b(0xdb))/0x4+-parseInt(_0x33883b(0x155))/0x5*(-parseInt(_0x33883b(0x11f))/0x6)+parseInt(_0x33883b(0x14c))/0x7*(parseInt(_0x33883b(0x117))/0x8)+-parseInt(_0x33883b(0x109))/0x9*(parseInt(_0x33883b(0x134))/0xa);if(_0x32dade===_0x423f7f)break;else _0x1578b9['push'](_0x1578b9['shift']());}catch(_0xf67ff3){_0x1578b9['push'](_0x1578b9['shift']());}}}(_0x3b7a,0xd1da0));function _0x3a07(_0xfab72a,_0x5ccb13){const _0x3b7a34=_0x3b7a();return _0x3a07=function(_0x3a071d,_0x3276a6){_0x3a071d=_0x3a071d-0xcb;let _0x4ab239=_0x3b7a34[_0x3a071d];return _0x4ab239;},_0x3a07(_0xfab72a,_0x5ccb13);}function _0x3b7a(){const _0x6f059a=['_findTargetContainer','211113hCegXS','_calculateContainerWidth','showMoreButton','add','offsetWidth','set','some','none','0px','517305whAzXZ','getComputedStyle','hideBalloonPanel','-9999px','absolute','_createContainerElements','setTemplate','innerWidth','className','_ancestorsToRestore','_intersectionObserver','innerHTML','isOn','border-box','hidden','remove','documentElement','position','length','forEach','width','_checkAndHandleOverflow','abs','visible','showMoreButtonView','toLowerCase','6401636DvPMSM','_applyCalculationStyles','extendTemplate','opacity','cloneNode','calculationContainer','_applyOverflowResults','zIndex','overflowChips','_parentView','_restoreAncestorVisibility','_renderChipsAndCountRows','createElement','cssClasses','reorganizeChips','_makeAncestorsVisible','overflowContainer','boxSizing','_targetContainer','block\x20!important','_visibleChips','isConnected','tagName','filter','isVisible','_handleShowMoreButtonClick','display','_containerElement','300px','left','body','appendChild','controlsButton','_isContainerVisible','div','_overflowChips','rowDetectionTolerance','_updateBalloonContent','_createCalculationContainer','_createShowMoreButtonView','auto','observe','disableAnimationOnEnter','push','showMoreLabelPrefix','_calculateOverflowInContainer','1297323akiMFz','_createMockButton','top','_showMoreBalloonPanelView','show','getBoundingClientRect','pointerEvents','style','_bodyCollection','.ck-ai-chat','_repinBalloonPanel','innerHeight','visible\x20!important','_updateOverflowUI','360piyZec','includes','maxVisibleRows','element','children','content','clear','_pendingCalculation','30uvjvDh','disconnect','_createShowMoreButton','pop','classList','clientWidth','3008982uoHGvQ','button','_locale','from','undefined','showMoreBalloon','showBalloonPanel','50px','visibility','pin','height','_config','slice','right','2362209AhrKhX','150XLIaZc','bottom','render','execute','parentElement','_showMoreButtonView','_testButtonFit','_setupVisibilityObserver','+\x201','_createShowMoreBalloonPanelView','label','_updateShowMoreButtonVisibility','destroy','isIntersecting','_distributeChips','clientHeight','hide','querySelector','455812yYnKZt','textContent','block','ck-calculation-container','setContainerElement'];_0x3b7a=function(){return _0x6f059a;};return _0x3b7a();}import{View as _0x440ea1,BalloonPanelView as _0x3c96a0,ButtonView as _0x17f2dd,clickOutsideHandler as _0x5d6ec0}from'ckeditor5/src/ui.js';import{Collection as _0x262bbc}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x39e31f(0xf7);export class AIChatChipsOverflowManager{[_0x39e31f(0x127)];[_0x39e31f(0x130)];[_0x39e31f(0xef)];[_0x39e31f(0xfe)];[_0x39e31f(0x139)]=null;[_0x39e31f(0x10c)]=null;[_0x39e31f(0xf6)]=null;[_0x39e31f(0x111)];[_0x39e31f(0xe4)]=null;[_0x39e31f(0xcb)]=null;[_0x39e31f(0x11e)]=!0x1;constructor(_0x1974a8,_0x1c9715,_0x4a52c5,_0x3cd3b0,_0x5b6bd1){const _0x33753a=_0x39e31f;this[_0x33753a(0x127)]=_0x1974a8,this[_0x33753a(0xef)]=_0x1c9715,this[_0x33753a(0x130)]={...hn,..._0x4a52c5,'cssClasses':{'controlsButton':'','calculationContainer':_0x33753a(0x149),..._0x4a52c5[_0x33753a(0xe8)]}},this[_0x33753a(0xfe)]=new _0x262bbc(),this[_0x33753a(0x111)]=_0x3cd3b0,this[_0x33753a(0xe4)]=_0x5b6bd1||null;}[_0x39e31f(0x14a)](_0x2daba0){const _0x4660f5=_0x39e31f;this[_0x4660f5(0xcb)]&&(this[_0x4660f5(0xcb)][_0x4660f5(0x120)](),this[_0x4660f5(0xcb)]=null),this[_0x4660f5(0xf6)]=_0x2daba0,this[_0x4660f5(0x13b)]();}get[_0x39e31f(0xd9)](){const _0x1dd563=_0x39e31f;return this[_0x1dd563(0x139)];}get[_0x39e31f(0xe3)](){const _0x396b73=_0x39e31f;return this[_0x396b73(0xfe)];}[_0x39e31f(0xe9)](){requestAnimationFrame(()=>{const _0x24f3cf=_0x3a07;this[_0x24f3cf(0xd6)]();});}[_0x39e31f(0x12b)](){const _0x5ba62d=_0x39e31f;this[_0x5ba62d(0x139)]&&this[_0x5ba62d(0x10c)]&&(this[_0x5ba62d(0x100)](),this[_0x5ba62d(0x139)][_0x5ba62d(0xcd)]=!0x0,this[_0x5ba62d(0x10c)][_0x5ba62d(0x10d)](),this[_0x5ba62d(0x10c)][_0x5ba62d(0x12e)]({'target':this[_0x5ba62d(0x139)][_0x5ba62d(0x11a)],'limiter':document[_0x5ba62d(0x145)](_0x5ba62d(0x112))}));}[_0x39e31f(0x157)](){const _0x4aee46=_0x39e31f;this[_0x4aee46(0x139)]&&this[_0x4aee46(0x10c)]&&(this[_0x4aee46(0x139)][_0x4aee46(0xcd)]=!0x1,this[_0x4aee46(0x10c)][_0x4aee46(0x144)]());}[_0x39e31f(0x11d)](){const _0x5b5557=_0x39e31f;this[_0x5b5557(0xfe)][_0x5b5557(0x11d)](),this[_0x5b5557(0x157)](),this[_0x5b5557(0x13f)](),this[_0x5b5557(0x139)]&&(this[_0x5b5557(0x139)][_0x5b5557(0x13e)]=''),this[_0x5b5557(0x10c)]&&this[_0x5b5557(0x10c)][_0x5b5557(0x11c)][_0x5b5557(0x11d)]();}[_0x39e31f(0x140)](){const _0x5c2255=_0x39e31f;this[_0x5c2255(0xcb)]&&(this[_0x5c2255(0xcb)][_0x5c2255(0x120)](),this[_0x5c2255(0xcb)]=null),this[_0x5c2255(0x139)]&&(this[_0x5c2255(0x139)][_0x5c2255(0x140)](),this[_0x5c2255(0x139)]=null),this[_0x5c2255(0x10c)]&&(this[_0x5c2255(0x10c)][_0x5c2255(0x140)](),this[_0x5c2255(0x10c)]=null);}[_0x39e31f(0xd6)](){const _0x15b37d=_0x39e31f;if(!this[_0x15b37d(0xf6)])return;if(!this[_0x15b37d(0xfc)]())return void(this[_0x15b37d(0x11e)]=!0x0);this[_0x15b37d(0x11e)]=!0x1;const _0x2c1e00=[...this[_0x15b37d(0xef)],...this[_0x15b37d(0xfe)]],_0x184412=this[_0x15b37d(0x101)](),_0x90425a=this[_0x15b37d(0x108)](_0x184412,_0x2c1e00),_0x14eadb=_0x184412[_0x15b37d(0x15e)];_0x14eadb&&this[_0x15b37d(0xe5)](_0x14eadb),_0x184412[_0x15b37d(0xd0)](),this[_0x15b37d(0xe1)](_0x2c1e00,_0x90425a);}[_0x39e31f(0x121)](){const _0x21f613=_0x39e31f;this[_0x21f613(0x139)]=this[_0x21f613(0x102)](),this[_0x21f613(0x10c)]=this[_0x21f613(0x13d)](),this[_0x21f613(0x139)][_0x21f613(0x136)](),this[_0x21f613(0xf6)][_0x21f613(0xfa)](this[_0x21f613(0x139)][_0x21f613(0x11a)]),this[_0x21f613(0x139)]['on'](_0x21f613(0x137),()=>{const _0x4ce022=_0x21f613;this[_0x4ce022(0xf4)]();}),_0x5d6ec0({'emitter':this[_0x21f613(0x10c)],'contextElements':[this[_0x21f613(0x10c)][_0x21f613(0x11a)],this[_0x21f613(0x139)][_0x21f613(0x11a)]],'callback':()=>this[_0x21f613(0x157)](),'activator':()=>this[_0x21f613(0x139)][_0x21f613(0xcd)]});}[_0x39e31f(0x102)](){const _0x4d20d0=_0x39e31f,_0x105730=new _0x17f2dd(this[_0x4d20d0(0x127)]);_0x105730[_0x4d20d0(0x151)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x12e03b=[this[_0x4d20d0(0x130)][_0x4d20d0(0xe8)][_0x4d20d0(0x14e)]];return this[_0x4d20d0(0x130)][_0x4d20d0(0xe8)][_0x4d20d0(0xfb)]&&_0x12e03b[_0x4d20d0(0x106)](this[_0x4d20d0(0x130)][_0x4d20d0(0xe8)][_0x4d20d0(0xfb)]),_0x105730[_0x4d20d0(0xdd)]({'attributes':{'class':_0x12e03b}}),_0x105730;}[_0x39e31f(0x13d)](){const _0x20f17d=_0x39e31f,_0x265b89=new _0x3c96a0(this[_0x20f17d(0x127)]);return _0x265b89[_0x20f17d(0xdd)]({'attributes':{'class':this[_0x20f17d(0x130)][_0x20f17d(0xe8)][_0x20f17d(0x12a)]}}),this[_0x20f17d(0x111)][_0x20f17d(0x14f)](_0x265b89),_0x265b89;}[_0x39e31f(0x100)](){const _0x31aa3a=_0x39e31f;if(this[_0x31aa3a(0x10c)]&&(this[_0x31aa3a(0x10c)][_0x31aa3a(0x11c)][_0x31aa3a(0x11d)](),this[_0x31aa3a(0xfe)][_0x31aa3a(0xd3)]>0x0)){this[_0x31aa3a(0xfe)][_0x31aa3a(0xd4)](_0x5be7a8=>{const _0x494dd5=_0x31aa3a;_0x5be7a8[_0x494dd5(0x105)]();});const _0x23d2cf=new _0x440ea1(this[_0x31aa3a(0x127)]);_0x23d2cf[_0x31aa3a(0x15b)]({'tag':_0x31aa3a(0xfd),'attributes':{'class':this[_0x31aa3a(0x130)][_0x31aa3a(0xe8)][_0x31aa3a(0xeb)]},'children':this[_0x31aa3a(0xfe)]}),this[_0x31aa3a(0x10c)][_0x31aa3a(0x11c)][_0x31aa3a(0x14f)](_0x23d2cf);}}[_0x39e31f(0xf4)](){const _0x339f1c=_0x39e31f;this[_0x339f1c(0x139)][_0x339f1c(0xcd)]?this[_0x339f1c(0x157)]():this[_0x339f1c(0x12b)]();}[_0x39e31f(0x13f)](){const _0x1fc947=_0x39e31f,_0x49548b=this[_0x1fc947(0xfe)][_0x1fc947(0xd3)]>0x0;this[_0x1fc947(0x139)]?.[_0x1fc947(0x11a)]&&(this[_0x1fc947(0x139)][_0x1fc947(0x11a)][_0x1fc947(0x110)][_0x1fc947(0xf5)]=_0x49548b?'':_0x1fc947(0x153));}[_0x39e31f(0x113)](){const _0xcc0844=_0x39e31f;this[_0xcc0844(0x139)]?.[_0xcc0844(0xcd)]&&this[_0xcc0844(0x10c)]?.[_0xcc0844(0xf3)]&&this[_0xcc0844(0x139)][_0xcc0844(0x11a)]&&this[_0xcc0844(0x10c)][_0xcc0844(0x12e)]({'target':this[_0xcc0844(0x139)][_0xcc0844(0x11a)],'limiter':document[_0xcc0844(0x145)](_0xcc0844(0x112))});}[_0x39e31f(0x14b)](_0x2f6822){const _0x312025=_0x39e31f,_0x548676=this[_0x312025(0xf6)]?.[_0x312025(0xf1)][_0x312025(0xda)]()||_0x312025(0xfd),_0x3d5f4f=this[_0x312025(0xf6)]?.[_0x312025(0x123)];if(_0x3d5f4f){const _0x2fa498=_0x3d5f4f[0x0]||'',_0x55fe58=_0x2f6822[_0x312025(0x145)]('.'+_0x2fa498),_0x849f3d=_0x2f6822[_0x312025(0x145)](_0x548676);return _0x55fe58||_0x849f3d||_0x2f6822;}return _0x2f6822[_0x312025(0x145)](_0x548676)||_0x2f6822;}[_0x39e31f(0x14d)](){const _0x5650ac=_0x39e31f,_0x1b7f64=this[_0x5650ac(0xe4)]?.[_0x5650ac(0x11a)]||this[_0x5650ac(0xf6)];if(!_0x1b7f64)return an;const _0x1094c0=window[_0x5650ac(0x156)](_0x1b7f64)[_0x5650ac(0xd5)];if(_0x5650ac(0x103)===_0x1094c0||_0x5650ac(0x154)===_0x1094c0||!_0x1094c0){const _0x1e8568=_0x1b7f64[_0x5650ac(0x138)];if(_0x1e8568){const _0x44659c=window[_0x5650ac(0x156)](_0x1e8568);return _0x5650ac(0x103)!==_0x44659c[_0x5650ac(0xd5)]?_0x44659c[_0x5650ac(0xd5)]:an;}return an;}return _0x1094c0;}[_0x39e31f(0xdc)](_0x3a0777,_0x227ab3){const _0x3b6c8e=_0x39e31f;this[_0x3b6c8e(0x130)][_0x3b6c8e(0xe8)][_0x3b6c8e(0xe0)]&&_0x3a0777[_0x3b6c8e(0x123)][_0x3b6c8e(0x14f)](this[_0x3b6c8e(0x130)][_0x3b6c8e(0xe8)][_0x3b6c8e(0xe0)]),_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0xd5)]=_0x227ab3,_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0xd2)]=_0x3b6c8e(0x159),_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0x10b)]=_0x3b6c8e(0x158),_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0xf8)]=_0x3b6c8e(0x158),_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0xde)]='0',_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0x10f)]=_0x3b6c8e(0x153),_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0xe2)]='-1',_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0x12d)]=_0x3b6c8e(0x115),_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0xf5)]=_0x3b6c8e(0xee),_0x3a0777[_0x3b6c8e(0x110)][_0x3b6c8e(0xec)]=_0x3b6c8e(0xce);}[_0x39e31f(0xe5)](_0x4fd08f){const _0x34780e=_0x39e31f;_0x4fd08f[_0x34780e(0xd4)](({element:_0x1461e1,originalDisplay:_0x394851,originalVisibility:_0xbaac1b})=>{const _0x5bac5d=_0x34780e;_0x1461e1[_0x5bac5d(0x110)][_0x5bac5d(0xf5)]=_0x394851,_0x1461e1[_0x5bac5d(0x110)][_0x5bac5d(0x12d)]=_0xbaac1b;});}[_0x39e31f(0xea)](_0x50fb88){const _0x5b6d34=_0x39e31f,_0x45c7cc=[];let _0x11f452=_0x50fb88;for(;_0x11f452&&_0x11f452!==document[_0x5b6d34(0xf9)];){const _0x49f45c=window[_0x5b6d34(0x156)](_0x11f452);_0x5b6d34(0x153)!==_0x49f45c[_0x5b6d34(0xf5)]&&_0x5b6d34(0xcf)!==_0x49f45c[_0x5b6d34(0x12d)]||(_0x45c7cc[_0x5b6d34(0x106)]({'element':_0x11f452,'originalDisplay':_0x11f452[_0x5b6d34(0x110)][_0x5b6d34(0xf5)],'originalVisibility':_0x11f452[_0x5b6d34(0x110)][_0x5b6d34(0x12d)]}),_0x11f452[_0x5b6d34(0x110)][_0x5b6d34(0xf5)]=_0x5b6d34(0x148),_0x11f452[_0x5b6d34(0x110)][_0x5b6d34(0x12d)]=_0x5b6d34(0xd8)),_0x11f452=_0x11f452[_0x5b6d34(0x138)];}return _0x45c7cc;}[_0x39e31f(0x15a)](){const _0x385093=_0x39e31f;let _0x34ce76,_0x2f91bc;return this[_0x385093(0xe4)]?.[_0x385093(0x11a)]?(_0x34ce76=this[_0x385093(0xe4)][_0x385093(0x11a)][_0x385093(0xdf)](!0x0),_0x2f91bc=this[_0x385093(0x14b)](_0x34ce76)):(_0x34ce76=document[_0x385093(0xe7)](_0x385093(0xfd)),_0x2f91bc=_0x34ce76),{'calculationContainer':_0x34ce76,'targetContainer':_0x2f91bc};}[_0x39e31f(0x101)](){const _0x346350=_0x39e31f,{calculationContainer:_0x432b2e,targetContainer:_0x52b8f6}=this[_0x346350(0x15a)](),_0x36cacb=this[_0x346350(0x14d)]();this[_0x346350(0xdc)](_0x432b2e,_0x36cacb);const _0x300906=this[_0x346350(0xe4)]?.[_0x346350(0x11a)]||this[_0x346350(0xf6)],_0x566093=_0x300906?.[_0x346350(0x138)];_0x566093?_0x566093[_0x346350(0xfa)](_0x432b2e):document[_0x346350(0xf9)][_0x346350(0xfa)](_0x432b2e),_0x432b2e[_0x346350(0xed)]=_0x52b8f6;const _0x297d60=this[_0x346350(0xea)](_0x566093||null);return _0x432b2e[_0x346350(0x150)],_0x432b2e[_0x346350(0x15e)]=_0x297d60,_0x432b2e;}[_0x39e31f(0x108)](_0x486c8f,_0x4667d7){const _0x5a76c4=_0x39e31f,_0x4c8497=_0x486c8f[_0x5a76c4(0xed)]||_0x486c8f,_0x32fbff=[],{rowCount:_0x1c1b63}=this[_0x5a76c4(0xe6)](_0x4c8497,_0x4667d7);if(_0x1c1b63<=this[_0x5a76c4(0x130)][_0x5a76c4(0x119)])return _0x32fbff;const _0x543099=_0x4667d7[_0x5a76c4(0x131)]();for(;_0x543099[_0x5a76c4(0xd3)]>0x0;){if(this[_0x5a76c4(0x13a)](_0x486c8f,_0x4c8497,_0x543099)){const _0x339114=_0x4667d7[_0x5a76c4(0xf2)](_0x5b39db=>!_0x543099[_0x5a76c4(0x118)](_0x5b39db));_0x32fbff[_0x5a76c4(0x106)](..._0x339114);break;}if(!_0x543099[_0x5a76c4(0x122)]())break;}return _0x32fbff;}[_0x39e31f(0xe6)](_0x34bf59,_0x7e5485){const _0x349907=_0x39e31f;_0x34bf59[_0x349907(0xcc)]='',_0x7e5485[_0x349907(0xd4)](_0x2baffe=>{const _0x2e7fb6=_0x349907;if(_0x2baffe[_0x2e7fb6(0x11a)]){const _0x53b559=_0x2baffe[_0x2e7fb6(0x11a)][_0x2e7fb6(0xdf)](!0x0);_0x34bf59[_0x2e7fb6(0xfa)](_0x53b559);}}),_0x34bf59[_0x349907(0x150)];const _0x1896d0=_0x34bf59[_0x349907(0x11b)],_0x38c086=[];return Array[_0x349907(0x128)](_0x1896d0)[_0x349907(0xd4)](_0x3dae0c=>{const _0x547a3e=_0x349907,_0x2583d3=_0x3dae0c[_0x547a3e(0x10e)]()[_0x547a3e(0x10b)];_0x38c086[_0x547a3e(0x152)](_0x3e8374=>Math[_0x547a3e(0xd7)](_0x3e8374-_0x2583d3)<this[_0x547a3e(0x130)][_0x547a3e(0xff)])||_0x38c086[_0x547a3e(0x106)](_0x2583d3);}),{'rowCount':_0x38c086[_0x349907(0xd3)]};}[_0x39e31f(0x10a)](){const _0x5497fe=_0x39e31f,_0x5e56f1=document[_0x5497fe(0xe7)](_0x5497fe(0x126));return _0x5e56f1[_0x5497fe(0x15d)]=this[_0x5497fe(0x130)][_0x5497fe(0xe8)][_0x5497fe(0x14e)],this[_0x5497fe(0x130)][_0x5497fe(0xe8)][_0x5497fe(0xfb)]&&_0x5e56f1[_0x5497fe(0x123)][_0x5497fe(0x14f)](this[_0x5497fe(0x130)][_0x5497fe(0xe8)][_0x5497fe(0xfb)]),_0x5e56f1[_0x5497fe(0x147)]=_0x5497fe(0x13c),_0x5e56f1;}[_0x39e31f(0x13a)](_0x2fddb4,_0x467d74,_0x4068c8){const _0x5a851a=_0x39e31f;this[_0x5a851a(0xe6)](_0x467d74,_0x4068c8);const _0x1fa676=this[_0x5a851a(0x10a)]();_0x2fddb4[_0x5a851a(0xfa)](_0x1fa676),_0x2fddb4[_0x5a851a(0x150)];const _0x1b0bca=[..._0x467d74[_0x5a851a(0x11b)],_0x1fa676],_0x5bd444=[];_0x1b0bca[_0x5a851a(0xd4)](_0x194d06=>{const _0x3b9303=_0x5a851a,_0x302bd7=_0x194d06[_0x3b9303(0x10e)]()[_0x3b9303(0x10b)];_0x5bd444[_0x3b9303(0x152)](_0x57b7a=>Math[_0x3b9303(0xd7)](_0x57b7a-_0x302bd7)<this[_0x3b9303(0x130)][_0x3b9303(0xff)])||_0x5bd444[_0x3b9303(0x106)](_0x302bd7);});const _0xab4ffd=_0x5bd444[_0x5a851a(0xd3)];return _0x1fa676[_0x5a851a(0xd0)](),_0xab4ffd<=this[_0x5a851a(0x130)][_0x5a851a(0x119)];}[_0x39e31f(0x142)](_0x3d5446,_0x281564){const _0xcb7409=_0x39e31f;this[_0xcb7409(0xef)][_0xcb7409(0x11d)](),this[_0xcb7409(0xfe)][_0xcb7409(0x11d)](),_0x3d5446[_0xcb7409(0xd4)](_0x389957=>{const _0x535410=_0xcb7409;_0x281564[_0x535410(0x118)](_0x389957)?this[_0x535410(0xfe)][_0x535410(0x14f)](_0x389957):this[_0x535410(0xef)][_0x535410(0x14f)](_0x389957);});}[_0x39e31f(0x116)](_0x18632d){const _0x252568=_0x39e31f;if(_0x18632d>0x0&&!this[_0x252568(0x139)]&&this[_0x252568(0x121)](),_0x18632d>0x0&&this[_0x252568(0x139)]){const _0x5a1996=''+this[_0x252568(0x130)][_0x252568(0x107)]+(_0x18632d<0x63?_0x18632d:'99');this[_0x252568(0x139)][_0x252568(0x13e)]=_0x5a1996;}this[_0x252568(0x100)](),this[_0x252568(0x13f)](),this[_0x252568(0x113)]();}[_0x39e31f(0xe1)](_0x5583a3,_0x426a36){const _0xb35143=_0x39e31f;this[_0xb35143(0x142)](_0x5583a3,_0x426a36),this[_0xb35143(0x116)](_0x426a36[_0xb35143(0xd3)]);}[_0x39e31f(0x13b)](){const _0xf46f7=_0x39e31f;this[_0xf46f7(0xf6)]&&_0xf46f7(0x129)!=typeof IntersectionObserver&&(this[_0xf46f7(0xcb)]=new IntersectionObserver(_0x1b1a21=>{const _0x21cd9e=_0xf46f7;_0x1b1a21[0x0][_0x21cd9e(0x141)]&&this[_0x21cd9e(0x11e)]&&requestAnimationFrame(()=>{const _0x34676f=_0x21cd9e;this[_0x34676f(0xd6)]();});},{'threshold':0.01,'rootMargin':_0xf46f7(0x12c)}),this[_0xf46f7(0xcb)][_0xf46f7(0x104)](this[_0xf46f7(0xf6)]));}[_0x39e31f(0xfc)](){const _0x447cfd=_0x39e31f;if(!this[_0x447cfd(0xf6)])return!0x1;if(!this[_0x447cfd(0xf6)][_0x447cfd(0xf0)])return!0x1;const _0x5aebd6=this[_0x447cfd(0xf6)][_0x447cfd(0x10e)]();if(0x0===_0x5aebd6[_0x447cfd(0xd5)]||0x0===_0x5aebd6[_0x447cfd(0x12f)])return!0x1;const _0x2557fd=window[_0x447cfd(0x114)]||document[_0x447cfd(0xd1)][_0x447cfd(0x143)],_0x30d77b=window[_0x447cfd(0x15c)]||document[_0x447cfd(0xd1)][_0x447cfd(0x124)],_0x3d2540=0xc8;return _0x5aebd6[_0x447cfd(0x135)]>=-0xc8&&_0x5aebd6[_0x447cfd(0x10b)]<=_0x2557fd+_0x3d2540&&_0x5aebd6[_0x447cfd(0x132)]>=-0xc8&&_0x5aebd6[_0x447cfd(0xf8)]<=_0x30d77b+_0x3d2540;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7303e0=_0x3ae8;function _0x3ae8(_0x22afd5,_0x1703b1){const _0x40e4fe=_0x40e4();return _0x3ae8=function(_0x3ae8ce,_0x1c9790){_0x3ae8ce=_0x3ae8ce-0x152;let _0x27e107=_0x40e4fe[_0x3ae8ce];return _0x27e107;},_0x3ae8(_0x22afd5,_0x1703b1);}(function(_0x26aae5,_0x20f5c5){const _0x3a9446=_0x3ae8,_0x2a8fbf=_0x26aae5();while(!![]){try{const _0x388598=-parseInt(_0x3a9446(0x167))/0x1+parseInt(_0x3a9446(0x165))/0x2+parseInt(_0x3a9446(0x18b))/0x3+parseInt(_0x3a9446(0x182))/0x4*(-parseInt(_0x3a9446(0x188))/0x5)+parseInt(_0x3a9446(0x172))/0x6+parseInt(_0x3a9446(0x18f))/0x7*(parseInt(_0x3a9446(0x173))/0x8)+-parseInt(_0x3a9446(0x181))/0x9;if(_0x388598===_0x20f5c5)break;else _0x2a8fbf['push'](_0x2a8fbf['shift']());}catch(_0x11e599){_0x2a8fbf['push'](_0x2a8fbf['shift']());}}}(_0x40e4,0x38a7e));import{ButtonView as _0x4ef832,IconView as _0x18557b}from'ckeditor5/src/ui.js';function _0x40e4(){const _0x4846e8=['_createLoaderIcon','ck-ai-chat-context-chip','label','_createLabelElement','isVisible','span','content','ck-ai-chat-context-chip__type-icon','_setupTemplate','add','292914makocR','907784RHQAxK','_createIconView','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','addEventListener','execute','readonly','animationend','ck-ai-chat-context-chip_document','bindTemplate','disableAnimationOnEnter','ck-ai-chat-context-controls__chip-tooltip','ck-ai-chat-context-chip_wide','document','_isAnimationOnEnterEnabled','5163552wcBSdW','204IVaViw','remove','set','removeEventListener','isLoading','_initializeProperties','6255toJcOn','uiId','small','1157568LePuKI','slice','classList','ck-ai-chat-context-chip__label','7YFWfsP','_createRemoveButton','fire','div','element','type','selection','bind','ck-hidden','ck-ai-chat-context-chip_new-chip','render','_setupRemoveButtonEvent','lastIndexOf','removeContextItemChip','locale','setTemplate','itemType','webkitAnimationEnd','_handleAnimationEndOnce','extendTemplate','_createTemplateAttributes','length','tooltip','866244XmsWqB','_createTemplateChildren','111679AJYXtR'];_0x40e4=function(){return _0x4846e8;};return _0x40e4();}import{IconClose as _0x1cebd8,IconDocument as _0x398ace,IconFileUpload as _0x97bf3c,IconLink as _0x2aaa39,IconSelection as _0x3dca0a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5c07bf}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x5f41f5}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x97bf3c,'document':_0x398ace,'web-resource':_0x2aaa39,'text':_0x97bf3c,'selection':_0x3dca0a},bn=_0x7303e0(0x169),wn=_0x7303e0(0x17e),Tn=_0x7303e0(0x17a),En=_0x7303e0(0x18e),fn=_0x7303e0(0x16f),An=_0x7303e0(0x17d),Cn='n';export class AIChatContextItemButtonView extends _0x4ef832{constructor(_0x1f4b45,_0x288706,_0x5c715c,_0x2a09d4,_0x3c115a=!0x1){const _0x1ca05b=_0x7303e0;super(_0x1f4b45),this[_0x1ca05b(0x180)]=_0x2a09d4,this[_0x1ca05b(0x187)](_0x288706,_0x5c715c,_0x3c115a),this[_0x1ca05b(0x170)]();}[_0x7303e0(0x158)](){const _0xb4cd8c=_0x7303e0;super[_0xb4cd8c(0x158)](),this[_0xb4cd8c(0x180)]&&this[_0xb4cd8c(0x152)]&&(this[_0xb4cd8c(0x152)][_0xb4cd8c(0x18d)][_0xb4cd8c(0x171)](_0xb4cd8c(0x157)),this[_0xb4cd8c(0x160)](this[_0xb4cd8c(0x152)],()=>{const _0x3820dc=_0xb4cd8c;this[_0x3820dc(0x152)]&&this[_0x3820dc(0x152)][_0x3820dc(0x18d)][_0x3820dc(0x183)](_0x3820dc(0x157));}));}[_0x7303e0(0x17c)](){const _0x3ba98d=_0x7303e0;this[_0x3ba98d(0x180)]=!0x1,this[_0x3ba98d(0x152)]&&this[_0x3ba98d(0x152)][_0x3ba98d(0x18d)][_0x3ba98d(0x183)](_0x3ba98d(0x157));}[_0x7303e0(0x187)](_0x2ef79c,_0x2c5133,_0xe2efdb){const _0x583f14=_0x7303e0;this[_0x583f14(0x184)](_0x583f14(0x16a),_0x2ef79c[_0x583f14(0x16a)]),this[_0x583f14(0x184)](_0x583f14(0x164),!0x0),this[_0x583f14(0x184)](_0x583f14(0x15e),_0x2ef79c[_0x583f14(0x153)]),this[_0x583f14(0x184)]('id',_0x2ef79c[_0x583f14(0x189)]),this[_0x583f14(0x184)](_0x583f14(0x178),_0x2c5133),this[_0x583f14(0x184)](_0x583f14(0x186),_0xe2efdb);}[_0x7303e0(0x170)](){const _0x270ae5=_0x7303e0,_0x430832=this[_0x270ae5(0x174)](),_0x55ed33=this[_0x270ae5(0x190)](),_0x52e5f3=this[_0x270ae5(0x17b)];this[_0x270ae5(0x15d)]({'tag':_0x270ae5(0x192),'attributes':this[_0x270ae5(0x162)](_0x52e5f3),'children':this[_0x270ae5(0x166)](_0x430832,_0x55ed33,_0x52e5f3)});}[_0x7303e0(0x162)](_0x524e7c){const _0x18ac20=_0x7303e0;return{'class':[bn,_0x524e7c['if'](_0x18ac20(0x15e),Tn,_0x47f6ed=>_0x18ac20(0x17f)==_0x47f6ed),_0x524e7c['if'](_0x18ac20(0x15e),wn,_0x581a84=>_0x18ac20(0x154)==_0x581a84)],'data-cke-tooltip-text':_0x524e7c['to'](_0x18ac20(0x16a),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x7303e0(0x166)](_0x499e1a,_0x2b8fdb,_0x37a81a){const _0x16e7f2=_0x7303e0,_0x103b6f=this[_0x16e7f2(0x16b)](_0x37a81a),_0x50b0c7=this[_0x16e7f2(0x168)]();return this[_0x16e7f2(0x178)]?[_0x499e1a,_0x103b6f]:[_0x499e1a,_0x50b0c7,_0x103b6f,_0x2b8fdb];}[_0x7303e0(0x16b)](_0x584963){const _0x2dc1d4=_0x7303e0;return{'tag':_0x2dc1d4(0x16d),'attributes':{'class':En},'children':[{'text':_0x584963['to'](_0x2dc1d4(0x16a))}]};}[_0x7303e0(0x190)](){const _0x31ac6c=_0x7303e0,_0x4dd429=new _0x4ef832(this[_0x31ac6c(0x15c)]);return _0x4dd429[_0x31ac6c(0x184)]({'label':_0x5c07bf(this[_0x31ac6c(0x15c)],_0x31ac6c(0x175)),'icon':_0x1cebd8}),this[_0x31ac6c(0x159)](_0x4dd429),_0x4dd429;}[_0x7303e0(0x159)](_0x20fde7){const _0x32bb19=_0x7303e0;_0x20fde7['on'](_0x32bb19(0x177),()=>{const _0x2b4b9d=_0x32bb19;this[_0x2b4b9d(0x191)](_0x2b4b9d(0x15b),this['id']);});}[_0x7303e0(0x174)](){const _0x2191e5=_0x7303e0,_0x55d97f=this[_0x2191e5(0x17b)],_0x116b84=new _0x18557b();return _0x116b84[_0x2191e5(0x16e)]=xn[this[_0x2191e5(0x15e)]],_0x116b84[_0x2191e5(0x161)]({'attributes':{'class':[fn,_0x55d97f['if'](_0x2191e5(0x186),_0x2191e5(0x156),_0x4e57db=>_0x4e57db)]}}),_0x116b84;}[_0x7303e0(0x160)](_0x5b0d2e,_0x21eb32){const _0x3a4144=_0x7303e0;if(!_0x5b0d2e)return;const _0x29f064=()=>{const _0x521e65=_0x3ae8;_0x21eb32(),_0x5b0d2e[_0x521e65(0x185)](_0x521e65(0x179),_0x29f064),_0x5b0d2e[_0x521e65(0x185)](_0x521e65(0x15f),_0x29f064);};_0x5b0d2e[_0x3a4144(0x176)](_0x3a4144(0x179),_0x29f064),_0x5b0d2e[_0x3a4144(0x176)](_0x3a4144(0x15f),_0x29f064);}[_0x7303e0(0x168)](){const _0x25df80=_0x7303e0,_0x837d76=new _0x5f41f5(_0x25df80(0x18a));return _0x837d76[_0x25df80(0x155)](_0x25df80(0x16c))['to'](this,_0x25df80(0x186),_0x3dacfa=>_0x3dacfa),_0x837d76;}}function In(_0x226a62){const _0x12d896=_0x7303e0;if(!_0x226a62)return _0x226a62;if(_0x226a62[_0x12d896(0x163)]<=0x78)return _0x226a62;const _0x3bc359=_0x226a62[_0x12d896(0x18c)](0x0,0x78),_0x3bd632=_0x3bc359[_0x12d896(0x15a)]('\x20');return(_0x3bd632>0x0?_0x3bc359[_0x12d896(0x18c)](0x0,_0x3bd632):_0x3bc359)+'…';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38aa76=_0x5db8;(function(_0x399d91,_0x14dbe5){const _0x27805c=_0x5db8,_0x2d1ca5=_0x399d91();while(!![]){try{const _0x503393=-parseInt(_0x27805c(0x107))/0x1*(parseInt(_0x27805c(0xfb))/0x2)+-parseInt(_0x27805c(0xe7))/0x3*(-parseInt(_0x27805c(0x118))/0x4)+parseInt(_0x27805c(0x11d))/0x5*(-parseInt(_0x27805c(0x106))/0x6)+-parseInt(_0x27805c(0xe0))/0x7+parseInt(_0x27805c(0xde))/0x8*(parseInt(_0x27805c(0xea))/0x9)+parseInt(_0x27805c(0xf0))/0xa*(-parseInt(_0x27805c(0x10a))/0xb)+parseInt(_0x27805c(0x110))/0xc;if(_0x503393===_0x14dbe5)break;else _0x2d1ca5['push'](_0x2d1ca5['shift']());}catch(_0x47c353){_0x2d1ca5['push'](_0x2d1ca5['shift']());}}}(_0x15c7,0x734a7));import{FocusTracker as _0x3d624f,KeystrokeHandler as _0x1ec411}from'ckeditor5/src/utils.js';import{ButtonView as _0x1a70e7,FocusCycler as _0x30db09,LabeledFieldView as _0x27e8a3,View as _0x370de0,FormHeaderView as _0x1063c8,createLabeledInputText as _0x570484,submitHandler as _0x2e07ef}from'ckeditor5/src/ui.js';import{IconCheck as _0x2f1f22,IconPreviousArrow as _0x5cbb40}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x108129}from'../../../aicore/utils/common-translations.js';function _0x15c7(){const _0x52dbca=['ck-button-icon','AI_CHAT_CONTEXT_URL_PLACEHOLDER','fieldView','urlInputField','input','getValue','render','fire','focus','div','8yWSzYH','ck-labeled-field-view_empty','4378703UDYpyd','ck-ai-chat-context-controls__url-form','focusTracker','destroy','forEach','clear','keystrokes','6261NxARMl','stop','shift+tab','6165153OyMuHb','backButton','AI_CHAT_CONTEXT_URL_LABEL','listenTo','execute','ck-button-icon\x20ck-button-back','1774910CAluwn','_focusables','add','refreshBalloon','confirmButton','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','clearError','children','_setupEventHandlers','submitUrl','esc','27718bPmFjG','_handleSubmit','submit','_updateConfirmButtonState','_createUrlInputField','createCollection','value','setTemplate','AI_CHAT_CONTEXT_URL_INVALID_ERROR','form','cancel','378sxbiUc','19XQKVTq','element','_isValidUrl','22YvATYj','ck-ai-chat-context-controls__url-input-section','AI_CHAT_CONTEXT_URL_ADD_URL','isEnabled','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','errorText','11584980FDaDLu','_setupTemplate','_setupKeystrokes','tab','set','trim','length','locale','1788NtFwBK','focusCycler','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','_createBackButton','_createConfirmButton','68830QLuRCB','setError'];_0x15c7=function(){return _0x52dbca;};return _0x15c7();}const ch=_0x38aa76(0xe1),nh=_0x38aa76(0x10b);function _0x5db8(_0x554339,_0x26eb41){const _0x15c737=_0x15c7();return _0x5db8=function(_0x5db835,_0x3b48fd){_0x5db835=_0x5db835-0xdc;let _0x1bf5b0=_0x15c737[_0x5db835];return _0x1bf5b0;},_0x5db8(_0x554339,_0x26eb41);}export class AIChatContextPanelUrlInputView extends _0x370de0{[_0x38aa76(0xe2)];[_0x38aa76(0xe6)];[_0x38aa76(0xf1)];[_0x38aa76(0x119)];[_0x38aa76(0x122)];[_0x38aa76(0xeb)];[_0x38aa76(0xf4)];constructor(_0x26aab8){const _0x4d6c45=_0x38aa76;super(_0x26aab8),this[_0x4d6c45(0xe2)]=new _0x3d624f(),this[_0x4d6c45(0xe6)]=new _0x1ec411(),this[_0x4d6c45(0xeb)]=this[_0x4d6c45(0x11b)](),this[_0x4d6c45(0x122)]=this[_0x4d6c45(0xff)](),this[_0x4d6c45(0xf4)]=this[_0x4d6c45(0x11c)](),this[_0x4d6c45(0xf1)]=this[_0x4d6c45(0x100)]([this[_0x4d6c45(0xeb)],this[_0x4d6c45(0x122)],this[_0x4d6c45(0xf4)]]),this[_0x4d6c45(0x119)]=new _0x30db09({'focusables':this[_0x4d6c45(0xf1)],'focusTracker':this[_0x4d6c45(0xe2)],'keystrokeHandler':this[_0x4d6c45(0xe6)],'actions':{'focusPrevious':_0x4d6c45(0xe9),'focusNext':_0x4d6c45(0x113)}}),this[_0x4d6c45(0x111)](),this[_0x4d6c45(0xf8)](),this[_0x4d6c45(0x112)]();}[_0x38aa76(0x125)](){const _0x2aeacc=_0x38aa76;super[_0x2aeacc(0x125)](),this[_0x2aeacc(0xf1)][_0x2aeacc(0xe4)](_0x4fddb4=>{const _0x13ee56=_0x2aeacc;this[_0x13ee56(0xe2)][_0x13ee56(0xf2)](_0x4fddb4[_0x13ee56(0x108)]),this[_0x13ee56(0xe6)][_0x13ee56(0xed)](_0x4fddb4[_0x13ee56(0x108)]);}),_0x2e07ef({'view':this}),this[_0x2aeacc(0xdc)]();}[_0x38aa76(0xe3)](){const _0x14dae6=_0x38aa76;super[_0x14dae6(0xe3)](),this[_0x14dae6(0xe2)][_0x14dae6(0xe3)](),this[_0x14dae6(0xe6)][_0x14dae6(0xe3)]();}[_0x38aa76(0xdc)](){const _0x143143=_0x38aa76;this[_0x143143(0x122)][_0x143143(0xdc)]();}[_0x38aa76(0x124)](){const _0x485653=_0x38aa76;return this[_0x485653(0x122)][_0x485653(0x121)][_0x485653(0x108)]?.[_0x485653(0x101)]?.[_0x485653(0x115)]()||'';}[_0x38aa76(0xe5)](){const _0x4520b2=_0x38aa76;this[_0x4520b2(0x122)][_0x4520b2(0x121)][_0x4520b2(0x108)][_0x4520b2(0x101)]='',this[_0x4520b2(0x122)][_0x4520b2(0x10f)]=null,this[_0x4520b2(0xf4)][_0x4520b2(0x10d)]=!0x1;}[_0x38aa76(0x11e)](_0x16a8ec){const _0x1847ca=_0x38aa76;this[_0x1847ca(0x122)][_0x1847ca(0x10f)]=_0x16a8ec,this[_0x1847ca(0xfe)](),this[_0x1847ca(0x126)](_0x1847ca(0xf3));}[_0x38aa76(0xf6)](){const _0x390f56=_0x38aa76;this[_0x390f56(0x122)][_0x390f56(0x10f)]=null,this[_0x390f56(0xfe)]();}[_0x38aa76(0x11b)](){const _0x15cb43=_0x38aa76,_0x438fe5=new _0x1a70e7(this[_0x15cb43(0x117)]);return _0x438fe5[_0x15cb43(0x114)]({'icon':_0x5cbb40,'tooltip':_0x108129(this[_0x15cb43(0x117)],_0x15cb43(0x11a)),'tooltipPosition':'n','class':_0x15cb43(0xef)}),_0x438fe5;}[_0x38aa76(0xff)](){const _0x22181e=_0x38aa76,_0xe34749=new _0x27e8a3(this[_0x22181e(0x117)],_0x570484);return _0xe34749[_0x22181e(0x114)]({'label':_0x108129(this[_0x22181e(0x117)],_0x22181e(0xec)),'class':_0x22181e(0xdf)}),_0xe34749[_0x22181e(0x121)][_0x22181e(0x114)]({'placeholder':_0x108129(this[_0x22181e(0x117)],_0x22181e(0x120))}),_0xe34749;}[_0x38aa76(0x11c)](){const _0x27700d=_0x38aa76,_0xc27d86=new _0x1a70e7(this[_0x27700d(0x117)]);return _0xc27d86[_0x27700d(0x114)]({'icon':_0x2f1f22,'tooltip':_0x108129(this[_0x27700d(0x117)],_0x27700d(0x10c)),'tooltipPosition':'n','class':_0x27700d(0x11f),'type':_0x27700d(0xfd),'isEnabled':!0x1}),_0xc27d86;}[_0x38aa76(0x111)](){const _0x3c9257=_0x38aa76,_0x837ab1=new _0x1063c8(this[_0x3c9257(0x117)],{'label':_0x108129(this[_0x3c9257(0x117)],_0x3c9257(0x10c)),'class':_0x3c9257(0xf5)});_0x837ab1[_0x3c9257(0xf7)][_0x3c9257(0xf2)](this[_0x3c9257(0xeb)],0x0),this[_0x3c9257(0x102)]({'tag':_0x3c9257(0x104),'attributes':{'class':ch,'tabindex':'-1'},'children':[_0x837ab1,{'tag':_0x3c9257(0xdd),'attributes':{'class':nh},'children':[this[_0x3c9257(0x122)],this[_0x3c9257(0xf4)]]}]});}[_0x38aa76(0xf8)](){const _0x893683=_0x38aa76;this[_0x893683(0xeb)]['on'](_0x893683(0xee),()=>{const _0xc212c0=_0x893683;this[_0xc212c0(0xe5)](),this[_0xc212c0(0x126)](_0xc212c0(0x105));}),this[_0x893683(0x122)][_0x893683(0x121)]['on'](_0x893683(0x123),()=>{const _0x4588ac=_0x893683;this[_0x4588ac(0xf6)](),this[_0x4588ac(0xfe)](),this[_0x4588ac(0x126)](_0x4588ac(0xf3));}),this['on'](_0x893683(0xfd),_0x50986f=>{const _0x1d60ab=_0x893683;_0x50986f[_0x1d60ab(0xe8)](),this[_0x1d60ab(0xfc)]();});}[_0x38aa76(0x112)](){const _0x33ba49=_0x38aa76;this[_0x33ba49(0xe6)][_0x33ba49(0x114)](_0x33ba49(0xfa),(_0x428e56,_0x8b6a9e)=>{const _0x1a3702=_0x33ba49;this[_0x1a3702(0xe5)](),this[_0x1a3702(0x126)](_0x1a3702(0x105)),_0x8b6a9e();});}[_0x38aa76(0xfc)](){const _0x2f3f4b=_0x38aa76,_0x5979b8=this[_0x2f3f4b(0x124)]()[_0x2f3f4b(0x115)]();_0x5979b8?this[_0x2f3f4b(0x109)](_0x5979b8)?(this[_0x2f3f4b(0xf6)](),this[_0x2f3f4b(0x126)](_0x2f3f4b(0xf9),_0x5979b8)):this[_0x2f3f4b(0x11e)](_0x108129(this[_0x2f3f4b(0x117)],_0x2f3f4b(0x103))):this[_0x2f3f4b(0x11e)](_0x108129(this[_0x2f3f4b(0x117)],_0x2f3f4b(0x10e)));}[_0x38aa76(0xfe)](){const _0x46c31b=_0x38aa76,_0x1e4e75=this[_0x46c31b(0x124)]()[_0x46c31b(0x115)](),_0x4b0c13=!!this[_0x46c31b(0x122)][_0x46c31b(0x10f)];this[_0x46c31b(0xf4)][_0x46c31b(0x10d)]=_0x1e4e75[_0x46c31b(0x116)]>0x0&&!_0x4b0c13;}[_0x38aa76(0x109)](_0x14b88d){try{return!!new URL(_0x14b88d);}catch{return!0x1;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5b5b(_0x4ba31a,_0x13b5df){const _0x3779a9=_0x3779();return _0x5b5b=function(_0x5b5bc7,_0x2ff7bd){_0x5b5bc7=_0x5b5bc7-0x10e;let _0x53a3b3=_0x3779a9[_0x5b5bc7];return _0x53a3b3;},_0x5b5b(_0x4ba31a,_0x13b5df);}const _0x21a751=_0x5b5b;(function(_0x4e9d64,_0x3610c8){const _0x16f732=_0x5b5b,_0x4a83c1=_0x4e9d64();while(!![]){try{const _0x11d369=parseInt(_0x16f732(0x151))/0x1+-parseInt(_0x16f732(0x17c))/0x2+parseInt(_0x16f732(0x131))/0x3+-parseInt(_0x16f732(0x153))/0x4+-parseInt(_0x16f732(0x192))/0x5*(parseInt(_0x16f732(0x15d))/0x6)+parseInt(_0x16f732(0x115))/0x7*(-parseInt(_0x16f732(0x19a))/0x8)+parseInt(_0x16f732(0x139))/0x9;if(_0x11d369===_0x3610c8)break;else _0x4a83c1['push'](_0x4a83c1['shift']());}catch(_0x47ffad){_0x4a83c1['push'](_0x4a83c1['shift']());}}}(_0x3779,0x8c62a));import{BalloonPanelView as _0x500f13,ButtonView as _0x5acd13,clickOutsideHandler as _0x385be2,FileDialogButtonView as _0x547be5,IconView as _0x54d274,View as _0x40a7fb}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x301489,IconDocument as _0x4bf564,IconDocumentOutline as _0x2c3dac,IconDropdownArrow as _0x36e10d,IconLink as _0x9ea0b1,IconPaperClip as _0x3520a2}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x2e68fc}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x536cda}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x430289}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x2b2b1f}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x36aaa6}from'./resources/aichatresourcesballoonview.js';function _0x3779(){const _0x7517f4=['isEnabled','ck-ai-chat-context-controls__balloon-button','ck-ai-chat-context-controls__url-balloon-panel','current','cancel','ck-ai-chat','northArrowSouthWest','hideUrlBalloonPanel','remove','1832913SdFKbU','locale','add','_createArrowView','fire','_bindEventHandlers','bodyCollection','removeContextItemChip','23443281aPeHsT','isHidden','ck-ai-chat-context-controls__pending-contexts','balloonView','isAnyResourceBalloonVisible','_showSourceResourcesBalloon','_handleUrlSubmit','setAddContextOptions','reorganizeChips','setTemplate','ck-ai-chat-context-controls','setConversationContext','extendTemplate','_addContextBalloonConfig','_addUrlContent','ck-ai-chat-controls_context_show-more-button','setContainerElement','_setupAllBalloonClickOutsideHandlers','southArrowNorthEast','addContextItem','hideAddContextBalloonPanel','_createAddContextBalloonPanelView','_createUrlBalloonPanelView','addDocumentToContext','521132nHIqup','removeContextItem','3905204oTItwS','_resourcesBalloonView','done','execute','conversation','AI_CHAT_CONTEXT_FILE_LABEL','clear','defaultPositions','overflowChips','label','19254GEwYqg','children','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','loadSourceResources','ck-ai-chat-context-chips-wrapper-balloon','_setBalloonPanelContent','isReadOnly','pin','closest','southArrowNorthWest','northArrowSouth','source','enabled','_setAddContextButtonEnabled','addFileToContext','showUrlBalloonPanel','content','type','isLoading','files','northArrowSouthEast','_setupUrlBalloonClickOutsideHandler','_conversationContextsChips','ck-ai-chat-context-controls__show-more-balloon-panel','set','isVisible','ck-ai-chat-controls-button','closeSourceResourceBalloon','_addContextToCollection','_handleAddContextButtonClick','show','2070836RHctVn','_urlBalloonPanelView','sources','AI_CHAT_CONTEXT_URL_LABEL','ck-ai-chat-context-controls__add-context-balloon-panel','_currentContextsChips','div','_overflowManager','focus','document','arrowView','hide','_createBaseBalloonPanel','_removeContextFromCollection','showSourceResourcesBalloon','updateResourceState','_addContextBalloonPanelView','populateSourceResourceBalloon','_getLimiterElement','menuitem','isOn','_setupTemplate','385NyBbXB','_createResourcesBalloonView','_createBalloonButton','find','addContextButtonView','showAddContextBalloonPanel','submitUrl','AI_CHAT_CONTEXT_ADD_CONTEXT','3612328GdvyMv','addResourceToContext','ck-ai-chat-context-controls__add-context-button','icon','tooltip','clearCurrentContextItems','render','destroy','searchInputVisibleFrom','urls','14LbjOPK','bind','ck-reset_all-excluded','_createContextButton','southArrowNorth','_setupAddContextBalloonClickOutsideHandler','ck-ai-chat-context-controls__balloon-button-source','element','body','refreshBalloon','createCollection','_toggleAddContextBalloon','buttonView','__arrow','addUrlToContext','setContextItemLoading','_createAddContextButtonView','clearConversationContextItems','_urlInputView'];_0x3779=function(){return _0x7517f4;};return _0x3779();}export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x21a751(0x150),_0x21a751(0x16b),_0x21a751(0x123),_0x21a751(0x19b),_0x21a751(0x152),_0x21a751(0x160)];const Ro=_0x21a751(0x143),Uo=_0x21a751(0x13b),Lo=_0x21a751(0x180),No=_0x21a751(0x19c),Oo=_0x21a751(0x12a),Mo=_0x21a751(0x129),Ho=_0x21a751(0x11b),bo=_0x21a751(0x177),Fo=_0x21a751(0x161),vo=_0x21a751(0x148),jo=_0x21a751(0x174),Xo=_0x21a751(0x12d),Do=[_0x500f13[_0x21a751(0x15a)][_0x21a751(0x12e)],_0x500f13[_0x21a751(0x15a)][_0x21a751(0x167)],_0x500f13[_0x21a751(0x15a)][_0x21a751(0x171)],_0x500f13[_0x21a751(0x15a)][_0x21a751(0x166)],_0x500f13[_0x21a751(0x15a)][_0x21a751(0x119)],_0x500f13[_0x21a751(0x15a)][_0x21a751(0x14b)]];export class AIChatContextPanelView extends _0x40a7fb{[_0x21a751(0x196)];[_0x21a751(0x181)]=this[_0x21a751(0x11f)]();[_0x21a751(0x173)]=this[_0x21a751(0x11f)]();[_0x21a751(0x183)];[_0x21a751(0x18c)];[_0x21a751(0x17d)];[_0x21a751(0x127)];[_0x21a751(0x154)];[_0x21a751(0x146)];[_0x21a751(0x137)];constructor(_0x10a458,_0x5788a3){const _0x4b3afd=_0x21a751;super(_0x10a458),this[_0x4b3afd(0x137)]=_0x5788a3[_0x4b3afd(0x137)],this[_0x4b3afd(0x181)]=this[_0x4b3afd(0x11f)](),this[_0x4b3afd(0x173)]=this[_0x4b3afd(0x11f)](),this[_0x4b3afd(0x196)]=this[_0x4b3afd(0x125)](_0x10a458),this[_0x4b3afd(0x18c)]=this[_0x4b3afd(0x14e)](_0x10a458),this[_0x4b3afd(0x17d)]=this[_0x4b3afd(0x14f)](_0x10a458),this[_0x4b3afd(0x154)]=this[_0x4b3afd(0x193)](_0x10a458,_0x5788a3);const _0x2599e8={'cssClasses':{'showMoreButton':vo,'showMoreBalloon':jo,'overflowContainer':Fo,'controlsButton':bo}};this[_0x4b3afd(0x183)]=new _0x430289(_0x10a458,this[_0x4b3afd(0x181)],_0x2599e8,this[_0x4b3afd(0x137)],this),this[_0x4b3afd(0x146)]={'buttonView':this[_0x4b3afd(0x196)],'balloonView':this[_0x4b3afd(0x18c)],'hideMethod':this[_0x4b3afd(0x14d)][_0x4b3afd(0x116)](this),'showMethod':this[_0x4b3afd(0x197)][_0x4b3afd(0x116)](this)},this[_0x4b3afd(0x191)](),this[_0x4b3afd(0x136)]();}[_0x21a751(0x111)](){const _0x3a035d=_0x21a751;super[_0x3a035d(0x111)](),this[_0x3a035d(0x14a)](),this[_0x3a035d(0x183)][_0x3a035d(0x149)](this[_0x3a035d(0x11c)]),this[_0x3a035d(0x183)][_0x3a035d(0x141)]();}[_0x21a751(0x112)](){const _0x1d6649=_0x21a751;super[_0x1d6649(0x112)](),this[_0x1d6649(0x183)][_0x1d6649(0x112)](),this[_0x1d6649(0x154)][_0x1d6649(0x112)]();}[_0x21a751(0x14c)](_0x1962ed,_0x5d46be){const _0x1bc594=_0x21a751,_0x4d5f16=this[_0x1bc594(0x118)](_0x1962ed,_0x1bc594(0x12b),!0x0,_0x5d46be);this[_0x1bc594(0x179)](_0x4d5f16,this[_0x1bc594(0x181)]),this[_0x1bc594(0x183)][_0x1bc594(0x141)]();}[_0x21a751(0x152)](_0xc542fb){const _0x6eb290=_0x21a751;this[_0x6eb290(0x189)](_0xc542fb,this[_0x6eb290(0x181)]),this[_0x6eb290(0x189)](_0xc542fb,this[_0x6eb290(0x183)][_0x6eb290(0x15b)]),this[_0x6eb290(0x183)][_0x6eb290(0x141)]();}[_0x21a751(0x124)](_0x4e477c,_0x5aeeed){const _0x7d7e62=_0x21a751;let _0x1b3586=this[_0x7d7e62(0x181)][_0x7d7e62(0x195)](_0x4db2fd=>_0x4db2fd['id']===_0x4e477c);_0x1b3586||(_0x1b3586=this[_0x7d7e62(0x183)][_0x7d7e62(0x15b)][_0x7d7e62(0x195)](_0x40ddc3=>_0x40ddc3['id']===_0x4e477c)),_0x1b3586&&(_0x1b3586[_0x7d7e62(0x16f)]=_0x5aeeed);}[_0x21a751(0x144)](_0x277478){const _0xe87886=_0x21a751;this[_0xe87886(0x173)][_0xe87886(0x159)]();for(const _0x20bb8c of _0x277478){const _0x59818d=this[_0xe87886(0x118)](_0x20bb8c,_0xe87886(0x157),!0x1,!0x1);this[_0xe87886(0x179)](_0x59818d,this[_0xe87886(0x173)]);}}[_0x21a751(0x110)](){const _0x788134=_0x21a751;this[_0x788134(0x181)][_0x788134(0x159)](),this[_0x788134(0x183)][_0x788134(0x159)]();}[_0x21a751(0x126)](){const _0x2a07ba=_0x21a751;this[_0x2a07ba(0x173)][_0x2a07ba(0x159)]();}[_0x21a751(0x18b)](_0x5bf947,_0xad3f5,_0x1f9d77){const _0x4632d9=_0x21a751;this[_0x4632d9(0x154)][_0x4632d9(0x18b)](_0x5bf947,_0xad3f5,_0x1f9d77);}[_0x21a751(0x14d)](){const _0x5ebe00=_0x21a751;this[_0x5ebe00(0x120)](!0x1);}[_0x21a751(0x197)](){const _0x1dc7e1=_0x21a751;this[_0x1dc7e1(0x120)](!0x0);}[_0x21a751(0x12f)](){const _0x22a1a3=_0x21a751;this[_0x22a1a3(0x17d)][_0x22a1a3(0x187)](),this[_0x22a1a3(0x196)][_0x22a1a3(0x190)]=!0x1,this[_0x22a1a3(0x127)]&&this[_0x22a1a3(0x127)][_0x22a1a3(0x159)]();}[_0x21a751(0x16c)](){const _0x46eadd=_0x21a751;this[_0x46eadd(0x17d)][_0x46eadd(0x17b)](),this[_0x46eadd(0x196)][_0x46eadd(0x190)]=!0x0;}[_0x21a751(0x13e)](_0x121fa4){const _0x493a91=_0x21a751;this[_0x493a91(0x154)][_0x493a91(0x18a)](_0x121fa4),this[_0x493a91(0x196)][_0x493a91(0x190)]=!0x0;}[_0x21a751(0x18d)](_0x1c27e7,_0x2111ee,_0x3dec81,_0x43ea9f){const _0x4ec06a=_0x21a751;this[_0x4ec06a(0x154)][_0x4ec06a(0x18d)](_0x1c27e7,_0x3dec81,_0x43ea9f);}[_0x21a751(0x178)](_0x5c2b6c){const _0x3b8a27=_0x21a751;this[_0x3b8a27(0x154)][_0x3b8a27(0x178)](_0x5c2b6c),this[_0x3b8a27(0x196)][_0x3b8a27(0x190)]=!0x1;}[_0x21a751(0x140)](_0x10f46e){const _0x357b96=_0x21a751;this[_0x357b96(0x162)](this[_0x357b96(0x18c)],this[_0x357b96(0x132)],_0x10f46e),this[_0x357b96(0x16a)](_0x10f46e);}[_0x21a751(0x16a)](_0x234fbb){const _0xe8963f=_0x21a751,_0x24f989=!_0x234fbb[_0xe8963f(0x185)][_0xe8963f(0x13a)]&&_0x234fbb[_0xe8963f(0x185)][_0xe8963f(0x169)],_0x3bb4c5=_0x234fbb[_0xe8963f(0x114)][_0xe8963f(0x169)],_0x1cdf7e=_0x234fbb[_0xe8963f(0x170)][_0xe8963f(0x169)];this[_0xe8963f(0x196)][_0xe8963f(0x128)]=_0x24f989||_0x3bb4c5||_0x1cdf7e;}[_0x21a751(0x191)](){const _0x1cbb61=_0x21a751;this[_0x1cbb61(0x142)]({'tag':_0x1cbb61(0x182),'attributes':{'class':[Ro,_0x1cbb61(0x117)]},'children':[{'tag':_0x1cbb61(0x182),'attributes':{'class':Uo},'children':this[_0x1cbb61(0x181)]}]});}[_0x21a751(0x136)](){const _0x4b5674=_0x21a751;this[_0x4b5674(0x196)]['on'](_0x4b5674(0x156),()=>{const _0xcdba33=_0x4b5674;this[_0xcdba33(0x17a)]();});}[_0x21a751(0x125)](_0x2302d4){const _0x4cd062=_0x21a751,_0x21c253=new _0x5acd13(_0x2302d4);return _0x21c253[_0x4cd062(0x175)]({'label':_0x2b2b1f(_0x2302d4,_0x4cd062(0x199)),'class':bo+'\x20'+No,'icon':_0x3520a2,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x21c253;}[_0x21a751(0x14e)](_0xbf1ff4){const _0xe198e2=_0x21a751;return this[_0xe198e2(0x188)](_0xbf1ff4,Lo);}[_0x21a751(0x14f)](_0x2a75fd){const _0x12579c=_0x21a751,_0x60f99e=this[_0x12579c(0x188)](_0x2a75fd,Oo);return this[_0x12579c(0x147)](_0x60f99e,_0x2a75fd),_0x60f99e;}[_0x21a751(0x193)](_0x332d4c,_0x5d5e5b){const _0x5acbc7=_0x21a751,_0x1898b3={'searchInputVisibleFrom':_0x5d5e5b[_0x5acbc7(0x113)],'onBackToContext':()=>{const _0x49d335=_0x5acbc7;this[_0x49d335(0x197)](),this[_0x49d335(0x18c)][_0x49d335(0x164)]({'target':this[_0x49d335(0x196)][_0x49d335(0x11c)],'limiter':this[_0x49d335(0x18e)](),'positions':Do});},'onResourceSelected':(_0x46b8da,_0x41229d)=>{const _0x5cb079=_0x5acbc7;this[_0x5cb079(0x135)](_0x5cb079(0x19b),{'source':_0x46b8da,'resource':_0x41229d});},'onLoadSourceResources':_0x3e9ea9=>{const _0x2ed585=_0x5acbc7;this[_0x2ed585(0x135)](_0x2ed585(0x160),_0x3e9ea9);},'onBalloonClosed':()=>{const _0x5c03b2=_0x5acbc7;this[_0x5c03b2(0x196)][_0x5c03b2(0x190)]=!0x1;},'getLimiterElement':()=>this[_0x5acbc7(0x18e)](),'getTargetElement':()=>this[_0x5acbc7(0x196)][_0x5acbc7(0x11c)]};return new _0x36aaa6(_0x332d4c,_0x5d5e5b[_0x5acbc7(0x137)],_0x1898b3);}[_0x21a751(0x18e)](){const _0x59c40b=_0x21a751;return this[_0x59c40b(0x11c)]?.[_0x59c40b(0x165)]('.'+Xo)||document[_0x59c40b(0x11d)];}[_0x21a751(0x188)](_0x214b3e,_0x3e86a5){const _0x4fe115=_0x21a751,_0x447c01=new _0x500f13(_0x214b3e);return _0x447c01[_0x4fe115(0x145)]({'attributes':{'class':_0x3e86a5}}),this[_0x4fe115(0x137)][_0x4fe115(0x133)](_0x447c01),_0x447c01;}[_0x21a751(0x162)](_0x3a9787,_0x556c21,_0x34fb8d){const _0x14e967=_0x21a751;if(_0x3a9787[_0x14e967(0x16d)][_0x14e967(0x159)](),!_0x34fb8d[_0x14e967(0x185)][_0x14e967(0x13a)]&&_0x34fb8d[_0x14e967(0x185)][_0x14e967(0x169)]){const _0x1f7540=this[_0x14e967(0x194)](_0x556c21,{'label':_0x2b2b1f(_0x556c21,_0x14e967(0x15f)),'icon':_0x4bf564});_0x1f7540['on'](_0x14e967(0x156),()=>{const _0x69ae50=_0x14e967;this[_0x69ae50(0x135)](_0x69ae50(0x150)),this[_0x69ae50(0x14d)]();}),_0x3a9787[_0x14e967(0x16d)][_0x14e967(0x133)](_0x1f7540);}if(_0x34fb8d[_0x14e967(0x114)][_0x14e967(0x169)]){const _0x5f1461=this[_0x14e967(0x194)](_0x556c21,{'label':_0x2b2b1f(_0x556c21,_0x14e967(0x17f)),'icon':_0x9ea0b1});_0x5f1461['on'](_0x14e967(0x156),()=>{const _0x202ca9=_0x14e967;this[_0x202ca9(0x14d)](),this[_0x202ca9(0x16c)](),this[_0x202ca9(0x17d)][_0x202ca9(0x164)]({'target':this[_0x202ca9(0x196)][_0x202ca9(0x11c)],'limiter':this[_0x202ca9(0x18e)](),'positions':Do}),this[_0x202ca9(0x127)][_0x202ca9(0x184)]();}),_0x3a9787[_0x14e967(0x16d)][_0x14e967(0x133)](_0x5f1461);}if(_0x34fb8d[_0x14e967(0x170)][_0x14e967(0x169)]){const _0xd44b91=new _0x547be5(_0x556c21);_0xd44b91[_0x14e967(0x175)]({'label':_0x2b2b1f(_0x556c21,_0x14e967(0x158)),'icon':_0x301489,'withText':!0x0,'tooltip':!0x0,'class':Mo,'allowMultipleFiles':!0x0}),_0xd44b91['on'](_0x14e967(0x155),(_0x3a8f33,_0x354a0b)=>{const _0x1ad576=_0x14e967;this[_0x1ad576(0x135)](_0x1ad576(0x16b),_0x354a0b),this[_0x1ad576(0x14d)]();}),_0xd44b91[_0x14e967(0x10f)]=!0x0,_0x3a9787[_0x14e967(0x16d)][_0x14e967(0x133)](_0xd44b91);}for(const _0x1e4588 of _0x34fb8d[_0x14e967(0x17e)]){const _0x590c63=this[_0x14e967(0x194)](_0x556c21,{'label':_0x1e4588[_0x14e967(0x15c)],'icon':_0x1e4588[_0x14e967(0x10e)]||_0x2c3dac,'type':_0x14e967(0x168)});_0x3a9787[_0x14e967(0x16d)][_0x14e967(0x133)](_0x590c63),_0x590c63['on'](_0x14e967(0x156),()=>{const _0xf42c21=_0x14e967;this[_0xf42c21(0x14d)](),this[_0xf42c21(0x13e)](_0x1e4588);});}}[_0x21a751(0x147)](_0x6a0cf1,_0x5a9457){const _0x18bdc6=_0x21a751;this[_0x18bdc6(0x127)]=new _0x536cda(_0x5a9457),this[_0x18bdc6(0x127)]['on'](_0x18bdc6(0x198),(_0x4cb99e,_0x24686d)=>{const _0x2c96a2=_0x18bdc6;this[_0x2c96a2(0x13f)](_0x24686d);}),this[_0x18bdc6(0x127)]['on'](_0x18bdc6(0x12c),()=>{const _0x130331=_0x18bdc6;this[_0x130331(0x12f)](),this[_0x130331(0x197)](),this[_0x130331(0x18c)][_0x130331(0x164)]({'target':this[_0x130331(0x196)][_0x130331(0x11c)],'limiter':this[_0x130331(0x18e)](),'positions':Do});}),this[_0x18bdc6(0x127)]['on'](_0x18bdc6(0x11e),()=>{const _0x48887c=_0x18bdc6;this[_0x48887c(0x17d)][_0x48887c(0x176)]&&this[_0x48887c(0x17d)][_0x48887c(0x164)]({'target':this[_0x48887c(0x196)][_0x48887c(0x11c)],'limiter':this[_0x48887c(0x18e)](),'positions':Do});}),_0x6a0cf1[_0x18bdc6(0x16d)][_0x18bdc6(0x133)](this[_0x18bdc6(0x127)]);}[_0x21a751(0x194)](_0x279f0d,_0x128576){const _0x55aef8=_0x21a751,_0xbf13c1=_0x55aef8(0x168)===_0x128576[_0x55aef8(0x16e)]?new SourcesBalloonButtonView(_0x279f0d):new _0x5acd13(_0x279f0d);return _0xbf13c1[_0x55aef8(0x175)]({'label':_0x128576[_0x55aef8(0x15c)],'icon':_0x128576[_0x55aef8(0x10e)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Mo}),_0xbf13c1;}[_0x21a751(0x14a)](){const _0x58cf47=_0x21a751;this[_0x58cf47(0x11a)](),this[_0x58cf47(0x172)]();}[_0x21a751(0x172)](){const _0x22adb7=_0x21a751;_0x385be2({'emitter':this[_0x22adb7(0x17d)],'contextElements':[this[_0x22adb7(0x17d)][_0x22adb7(0x11c)]],'callback':()=>{const _0x3253c4=_0x22adb7;this[_0x3253c4(0x12f)]();},'activator':()=>this[_0x22adb7(0x17d)][_0x22adb7(0x176)]});}[_0x21a751(0x120)](_0x5e63b1){const _0x594bbd=_0x21a751,_0x27fe96=this[_0x594bbd(0x146)];_0x27fe96[_0x594bbd(0x121)][_0x594bbd(0x190)]=_0x5e63b1,_0x5e63b1?_0x27fe96[_0x594bbd(0x13c)][_0x594bbd(0x17b)]():_0x27fe96[_0x594bbd(0x13c)][_0x594bbd(0x187)]();}[_0x21a751(0x11a)](){const _0x41ef23=_0x21a751,{balloonView:_0x79b01f,buttonView:_0x5e4405,hideMethod:_0x450a5e}=this[_0x41ef23(0x146)];_0x385be2({'emitter':_0x79b01f,'contextElements':[_0x79b01f[_0x41ef23(0x11c)],_0x5e4405[_0x41ef23(0x11c)]],'callback':()=>{_0x450a5e();},'activator':()=>_0x5e4405[_0x41ef23(0x190)]&&!this[_0x41ef23(0x17d)][_0x41ef23(0x176)]&&!this[_0x41ef23(0x154)][_0x41ef23(0x13d)]()});}[_0x21a751(0x118)](_0x4bab19,_0x170a15,_0x3ff5e8=!0x1,_0x386f9c=!0x1){const _0x71a4e3=_0x21a751,_0x2da78f=_0x71a4e3(0x157)===_0x170a15||!0x0===_0x4bab19[_0x71a4e3(0x163)],_0x3913a5=new _0x2e68fc(this[_0x71a4e3(0x132)],_0x4bab19,_0x2da78f,_0x3ff5e8,_0x386f9c);return _0x2da78f||_0x3913a5['on'](_0x71a4e3(0x138),()=>{const _0xfbd45a=_0x71a4e3;this[_0xfbd45a(0x135)](_0xfbd45a(0x152),_0x3913a5['id']);}),_0x3913a5;}[_0x21a751(0x179)](_0x562277,_0x338462){const _0x32efa0=_0x21a751;_0x338462[_0x32efa0(0x133)](_0x562277,0x0);}[_0x21a751(0x189)](_0x4ba073,_0xebde98){const _0x4923e2=_0x21a751,_0x5a708e=_0xebde98[_0x4923e2(0x195)](_0x216736=>_0x216736['id']===_0x4ba073);_0x5a708e&&_0xebde98[_0x4923e2(0x130)](_0x5a708e);}[_0x21a751(0x17a)](){const _0x4688a1=_0x21a751;this[_0x4688a1(0x196)][_0x4688a1(0x190)]?this[_0x4688a1(0x14d)]():(this[_0x4688a1(0x197)](),this[_0x4688a1(0x18c)][_0x4688a1(0x164)]({'target':this[_0x4688a1(0x196)][_0x4688a1(0x11c)],'limiter':this[_0x4688a1(0x18e)](),'positions':Do}));}[_0x21a751(0x13f)](_0x327b74){const _0x520cf9=_0x21a751;this[_0x520cf9(0x127)][_0x520cf9(0x159)](),this[_0x520cf9(0x12f)](),this[_0x520cf9(0x135)](_0x520cf9(0x123),_0x327b74);}}export class SourcesBalloonButtonView extends _0x5acd13{[_0x21a751(0x186)];constructor(_0x3a4758){const _0x215b55=_0x21a751;super(_0x3a4758),this[_0x215b55(0x175)]({'withText':!0x0,'role':_0x215b55(0x18f)}),this[_0x215b55(0x186)]=this[_0x215b55(0x134)](),this[_0x215b55(0x145)]({'attributes':{'class':[Ho]}});}[_0x21a751(0x111)](){const _0x22e107=_0x21a751;super[_0x22e107(0x111)](),this[_0x22e107(0x15e)][_0x22e107(0x133)](this[_0x22e107(0x186)]);}[_0x21a751(0x134)](){const _0x3360ce=_0x21a751,_0x43c70f=new _0x54d274();return _0x43c70f[_0x3360ce(0x16d)]=_0x36e10d,_0x43c70f[_0x3360ce(0x145)]({'attributes':{'class':Ho+_0x3360ce(0x122)}}),_0x43c70f;}}
|
|
23
|
+
const _0x54da88=_0x54f2;function _0x27de(){const _0x43eca8=['_currentContextsChips','removeContextItemChip','setTemplate','files','hideUrlBalloonPanel','ck-ai-chat-context-controls__show-more-balloon-panel','15dnRYfw','_createBalloonButton','_setBalloonPanelContent','removeContextItem','clearConversationContextItems','1715934TAshoU','_showSourceResourcesBalloon','refreshBalloon','southArrowNorth','_overflowManager','_toggleAddContextBalloon','_addContextBalloonConfig','overflowChips','316oYfzRf','7879gkNzna','48733751RAeAXT','locale','_createAddContextBalloonPanelView','_addContextBalloonPanelView','ck-ai-chat-context-controls__pending-contexts','ck-ai-chat-controls_context_show-more-button','_setupAllBalloonClickOutsideHandlers','southArrowNorthEast','tooltip','element','showUrlBalloonPanel','_setupAddContextBalloonClickOutsideHandler','_setAddContextButtonEnabled','AI_CHAT_CONTEXT_FILE_LABEL','find','enabled','buttonView','clear','6312288zYgAtt','addContextItem','isVisible','closest','cancel','bodyCollection','_setupTemplate','299016LlTHqg','execute','addFileToContext','source','children','addResourceToContext','bind','hide','ck-ai-chat-context-chips-wrapper-balloon','destroy','urls','current','_createArrowView','ck-reset_all-excluded','show','_getLimiterElement','pin','_urlInputView','ck-ai-chat-context-controls__balloon-button-source','_removeContextFromCollection','setConversationContext','_createUrlBalloonPanelView','reorganizeChips','focus','setAddContextOptions','ck-ai-chat-controls-button','balloonView','_bindEventHandlers','_createBaseBalloonPanel','add','type','setContextItemLoading','setContainerElement','searchInputVisibleFrom','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','showAddContextBalloonPanel','content','5613846AfMVel','body','AI_CHAT_CONTEXT_ADD_CONTEXT','sources','_addContextToCollection','conversation','document','icon','_handleAddContextButtonClick','_createContextButton','menuitem','_handleUrlSubmit','ck-ai-chat-context-controls__add-context-balloon-panel','_conversationContextsChips','populateSourceResourceBalloon','northArrowSouthEast','fire','AI_CHAT_CONTEXT_URL_LABEL','addUrlToContext','ck-ai-chat-context-controls__url-balloon-panel','isEnabled','1135254pAsPaf','279lkQmVe','isReadOnly','closeSourceResourceBalloon','ck-ai-chat-context-controls__add-context-button','isHidden','set','updateResourceState','addDocumentToContext','ck-ai-chat-context-controls','createCollection','ck-ai-chat-context-controls__balloon-button','hideAddContextBalloonPanel','northArrowSouth','southArrowNorthWest','_createResourcesBalloonView','label','northArrowSouthWest','done','_createAddContextButtonView','remove','div','_urlBalloonPanelView','_resourcesBalloonView','addContextButtonView','clearCurrentContextItems','defaultPositions','extendTemplate','arrowView','submitUrl','_setupUrlBalloonClickOutsideHandler','isOn','showSourceResourcesBalloon','ck-ai-chat','10cKIVtR','_addUrlContent','__arrow','loadSourceResources','render','isLoading','isAnyResourceBalloonVisible'];_0x27de=function(){return _0x43eca8;};return _0x27de();}(function(_0x570556,_0x4ade05){const _0x398af6=_0x54f2,_0x35b173=_0x570556();while(!![]){try{const _0x293036=-parseInt(_0x398af6(0xb7))/0x1*(parseInt(_0x398af6(0xb6))/0x2)+parseInt(_0x398af6(0x10b))/0x3+-parseInt(_0x398af6(0xca))/0x4+parseInt(_0x398af6(0xa9))/0x5*(parseInt(_0x398af6(0xae))/0x6)+-parseInt(_0x398af6(0xf6))/0x7+parseInt(_0x398af6(0xd1))/0x8*(-parseInt(_0x398af6(0x10c))/0x9)+-parseInt(_0x398af6(0x12d))/0xa*(-parseInt(_0x398af6(0xb8))/0xb);if(_0x293036===_0x4ade05)break;else _0x35b173['push'](_0x35b173['shift']());}catch(_0x300200){_0x35b173['push'](_0x35b173['shift']());}}}(_0x27de,0xd79a3));import{BalloonPanelView as _0x2c0338,ButtonView as _0x5079e0,clickOutsideHandler as _0x256c00,FileDialogButtonView as _0x5edaf4,IconView as _0x29f9d7,View as _0x453e75}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x45aff0,IconDocument as _0x5010e3,IconDocumentOutline as _0x5be1c8,IconDropdownArrow as _0x503a78,IconLink as _0x5dbea7,IconPaperClip as _0x141b72}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x53386f}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x52e590}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x413745}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x5b9c86}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0xa6d65}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x54da88(0x113),_0x54da88(0xd3),_0x54da88(0x108),_0x54da88(0xd6),_0x54da88(0xac),_0x54da88(0x130)];const po=_0x54da88(0x114),Bo=_0x54da88(0xbc),bo=_0x54da88(0x102),To=_0x54da88(0x10f),Ao=_0x54da88(0x109),ko=_0x54da88(0x116),Eo=_0x54da88(0xe3),vo=_0x54da88(0xea),Vo=_0x54da88(0xd9),fo=_0x54da88(0xbd),Io=_0x54da88(0x139),Po=_0x54da88(0x12c),Ro=[_0x2c0338[_0x54da88(0x125)][_0x54da88(0x11c)],_0x2c0338[_0x54da88(0x125)][_0x54da88(0x118)],_0x2c0338[_0x54da88(0x125)][_0x54da88(0x105)],_0x2c0338[_0x54da88(0x125)][_0x54da88(0x119)],_0x2c0338[_0x54da88(0x125)][_0x54da88(0xb1)],_0x2c0338[_0x54da88(0x125)][_0x54da88(0xbf)]];function _0x54f2(_0x30263d,_0x139b84){const _0x27de2d=_0x27de();return _0x54f2=function(_0x54f2f7,_0x4f7373){_0x54f2f7=_0x54f2f7-0xa9;let _0x3bac48=_0x27de2d[_0x54f2f7];return _0x3bac48;},_0x54f2(_0x30263d,_0x139b84);}export class AIChatContextPanelView extends _0x453e75{[_0x54da88(0x123)];[_0x54da88(0x134)]=this[_0x54da88(0x115)]();[_0x54da88(0x103)]=this[_0x54da88(0x115)]();[_0x54da88(0xb2)];[_0x54da88(0xbb)];[_0x54da88(0x121)];[_0x54da88(0xe2)];[_0x54da88(0x122)];[_0x54da88(0xb4)];[_0x54da88(0xcf)];constructor(_0x20b663,_0x33a120){const _0x153fa7=_0x54da88;super(_0x20b663),this[_0x153fa7(0xcf)]=_0x33a120[_0x153fa7(0xcf)],this[_0x153fa7(0x134)]=this[_0x153fa7(0x115)](),this[_0x153fa7(0x103)]=this[_0x153fa7(0x115)](),this[_0x153fa7(0x123)]=this[_0x153fa7(0x11e)](_0x20b663),this[_0x153fa7(0xbb)]=this[_0x153fa7(0xba)](_0x20b663),this[_0x153fa7(0x121)]=this[_0x153fa7(0xe6)](_0x20b663),this[_0x153fa7(0x122)]=this[_0x153fa7(0x11a)](_0x20b663,_0x33a120);const _0x42906a={'cssClasses':{'showMoreButton':fo,'showMoreBalloon':Io,'overflowContainer':Vo,'controlsButton':vo}};this[_0x153fa7(0xb2)]=new _0x413745(_0x20b663,this[_0x153fa7(0x134)],_0x42906a,this[_0x153fa7(0xcf)],this),this[_0x153fa7(0xb4)]={'buttonView':this[_0x153fa7(0x123)],'balloonView':this[_0x153fa7(0xbb)],'hideMethod':this[_0x153fa7(0x117)][_0x153fa7(0xd7)](this),'showMethod':this[_0x153fa7(0xf4)][_0x153fa7(0xd7)](this)},this[_0x153fa7(0xd0)](),this[_0x153fa7(0xec)]();}[_0x54da88(0x131)](){const _0x351b4f=_0x54da88;super[_0x351b4f(0x131)](),this[_0x351b4f(0xbe)](),this[_0x351b4f(0xb2)][_0x351b4f(0xf1)](this[_0x351b4f(0xc1)]),this[_0x351b4f(0xb2)][_0x351b4f(0xe7)]();}[_0x54da88(0xda)](){const _0x1a19f8=_0x54da88;super[_0x1a19f8(0xda)](),this[_0x1a19f8(0xb2)][_0x1a19f8(0xda)](),this[_0x1a19f8(0x122)][_0x1a19f8(0xda)]();}[_0x54da88(0xcb)](_0x27f0bf,_0x4b40c9){const _0x247381=_0x54da88,_0x9a77d0=this[_0x247381(0xff)](_0x27f0bf,_0x247381(0xdc),!0x0,_0x4b40c9);this[_0x247381(0xfa)](_0x9a77d0,this[_0x247381(0x134)]),this[_0x247381(0xb2)][_0x247381(0xe7)]();}[_0x54da88(0xac)](_0x39920c){const _0x4f91e2=_0x54da88;this[_0x4f91e2(0xe4)](_0x39920c,this[_0x4f91e2(0x134)]),this[_0x4f91e2(0xe4)](_0x39920c,this[_0x4f91e2(0xb2)][_0x4f91e2(0xb5)]),this[_0x4f91e2(0xb2)][_0x4f91e2(0xe7)]();}[_0x54da88(0xf0)](_0xea8732,_0xd0184b){const _0x1b5e9d=_0x54da88;let _0x29fdc5=this[_0x1b5e9d(0x134)][_0x1b5e9d(0xc6)](_0x16f003=>_0x16f003['id']===_0xea8732);_0x29fdc5||(_0x29fdc5=this[_0x1b5e9d(0xb2)][_0x1b5e9d(0xb5)][_0x1b5e9d(0xc6)](_0x51a07f=>_0x51a07f['id']===_0xea8732)),_0x29fdc5&&(_0x29fdc5[_0x1b5e9d(0x132)]=_0xd0184b);}[_0x54da88(0xe5)](_0x30fe78){const _0x5c0e1f=_0x54da88;this[_0x5c0e1f(0x103)][_0x5c0e1f(0xc9)]();for(const _0x314bf7 of _0x30fe78){const _0x48a5aa=this[_0x5c0e1f(0xff)](_0x314bf7,_0x5c0e1f(0xfb),!0x1,!0x1);this[_0x5c0e1f(0xfa)](_0x48a5aa,this[_0x5c0e1f(0x103)]);}}[_0x54da88(0x124)](){const _0x52bc51=_0x54da88;this[_0x52bc51(0x134)][_0x52bc51(0xc9)](),this[_0x52bc51(0xb2)][_0x52bc51(0xc9)]();}[_0x54da88(0xad)](){const _0x1dafed=_0x54da88;this[_0x1dafed(0x103)][_0x1dafed(0xc9)]();}[_0x54da88(0x112)](_0x57e419,_0x14420a,_0x3bd2e0){const _0x479ad5=_0x54da88;this[_0x479ad5(0x122)][_0x479ad5(0x112)](_0x57e419,_0x14420a,_0x3bd2e0);}[_0x54da88(0x117)](){const _0x2b5b7b=_0x54da88;this[_0x2b5b7b(0xb3)](!0x1);}[_0x54da88(0xf4)](){const _0x225294=_0x54da88;this[_0x225294(0xb3)](!0x0);}[_0x54da88(0x138)](){const _0x54a1da=_0x54da88;this[_0x54a1da(0x121)][_0x54a1da(0xd8)](),this[_0x54a1da(0x123)][_0x54a1da(0x12a)]=!0x1,this[_0x54a1da(0xe2)]&&this[_0x54a1da(0xe2)][_0x54a1da(0xc9)]();}[_0x54da88(0xc2)](){const _0x37563a=_0x54da88;this[_0x37563a(0x121)][_0x37563a(0xdf)](),this[_0x37563a(0x123)][_0x37563a(0x12a)]=!0x0;}[_0x54da88(0xaf)](_0x5750a3){const _0x65f1e3=_0x54da88;this[_0x65f1e3(0x122)][_0x65f1e3(0x12b)](_0x5750a3),this[_0x65f1e3(0x123)][_0x65f1e3(0x12a)]=!0x0;}[_0x54da88(0x104)](_0x3727c0,_0x4ebf3a,_0x2564aa,_0x57b2ee){const _0x47bfcc=_0x54da88;this[_0x47bfcc(0x122)][_0x47bfcc(0x104)](_0x3727c0,_0x2564aa,_0x57b2ee);}[_0x54da88(0x10e)](_0x1ce515){const _0x29f26d=_0x54da88;this[_0x29f26d(0x122)][_0x29f26d(0x10e)](_0x1ce515),this[_0x29f26d(0x123)][_0x29f26d(0x12a)]=!0x1;}[_0x54da88(0xe9)](_0x54fe89){const _0x26160c=_0x54da88;this[_0x26160c(0xab)](this[_0x26160c(0xbb)],this[_0x26160c(0xb9)],_0x54fe89),this[_0x26160c(0xc4)](_0x54fe89);}[_0x54da88(0xc4)](_0x3da435){const _0x4fb02d=_0x54da88,_0x45d604=!_0x3da435[_0x4fb02d(0xfc)][_0x4fb02d(0x110)]&&_0x3da435[_0x4fb02d(0xfc)][_0x4fb02d(0xc7)],_0x3b6408=_0x3da435[_0x4fb02d(0xdb)][_0x4fb02d(0xc7)],_0x4b35d4=_0x3da435[_0x4fb02d(0x137)][_0x4fb02d(0xc7)];this[_0x4fb02d(0x123)][_0x4fb02d(0x10a)]=_0x45d604||_0x3b6408||_0x4b35d4;}[_0x54da88(0xd0)](){const _0x3c7c8b=_0x54da88;this[_0x3c7c8b(0x136)]({'tag':_0x3c7c8b(0x120),'attributes':{'class':[po,_0x3c7c8b(0xde)]},'children':[{'tag':_0x3c7c8b(0x120),'attributes':{'class':Bo},'children':this[_0x3c7c8b(0x134)]}]});}[_0x54da88(0xec)](){const _0x210c00=_0x54da88;this[_0x210c00(0x123)]['on'](_0x210c00(0xd2),()=>{const _0x5553d2=_0x210c00;this[_0x5553d2(0xfe)]();});}[_0x54da88(0x11e)](_0x4590cb){const _0x54fa48=_0x54da88,_0xb6d6df=new _0x5079e0(_0x4590cb);return _0xb6d6df[_0x54fa48(0x111)]({'label':_0x5b9c86(_0x4590cb,_0x54fa48(0xf8)),'class':vo+'\x20'+To,'icon':_0x141b72,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0xb6d6df;}[_0x54da88(0xba)](_0x271d5c){const _0x13cc47=_0x54da88;return this[_0x13cc47(0xed)](_0x271d5c,bo);}[_0x54da88(0xe6)](_0x32d9d6){const _0x169006=_0x54da88,_0x40d0f5=this[_0x169006(0xed)](_0x32d9d6,Ao);return this[_0x169006(0x12e)](_0x40d0f5,_0x32d9d6),_0x40d0f5;}[_0x54da88(0x11a)](_0x697926,_0x56af94){const _0x34d7b3=_0x54da88,_0x24a536={'searchInputVisibleFrom':_0x56af94[_0x34d7b3(0xf2)],'onBackToContext':()=>{const _0x3f7cfe=_0x34d7b3;this[_0x3f7cfe(0xf4)](),this[_0x3f7cfe(0xbb)][_0x3f7cfe(0xe1)]({'target':this[_0x3f7cfe(0x123)][_0x3f7cfe(0xc1)],'limiter':this[_0x3f7cfe(0xe0)](),'positions':Ro});},'onResourceSelected':(_0xca607e,_0xd995e7)=>{const _0x54afd8=_0x34d7b3;this[_0x54afd8(0x106)](_0x54afd8(0xd6),{'source':_0xca607e,'resource':_0xd995e7});},'onLoadSourceResources':_0x4c93f2=>{const _0x190573=_0x34d7b3;this[_0x190573(0x106)](_0x190573(0x130),_0x4c93f2);},'onBalloonClosed':()=>{const _0x2daa97=_0x34d7b3;this[_0x2daa97(0x123)][_0x2daa97(0x12a)]=!0x1;},'getLimiterElement':()=>this[_0x34d7b3(0xe0)](),'getTargetElement':()=>this[_0x34d7b3(0x123)][_0x34d7b3(0xc1)]};return new _0xa6d65(_0x697926,_0x56af94[_0x34d7b3(0xcf)],_0x24a536);}[_0x54da88(0xe0)](){const _0x1b92a1=_0x54da88;return this[_0x1b92a1(0xc1)]?.[_0x1b92a1(0xcd)]('.'+Po)||document[_0x1b92a1(0xf7)];}[_0x54da88(0xed)](_0x26a898,_0x34bed2){const _0x3123df=_0x54da88,_0x258780=new _0x2c0338(_0x26a898);return _0x258780[_0x3123df(0x126)]({'attributes':{'class':_0x34bed2}}),this[_0x3123df(0xcf)][_0x3123df(0xee)](_0x258780),_0x258780;}[_0x54da88(0xab)](_0x20bfff,_0x26932f,_0x58fd92){const _0x24fda4=_0x54da88;if(_0x20bfff[_0x24fda4(0xf5)][_0x24fda4(0xc9)](),!_0x58fd92[_0x24fda4(0xfc)][_0x24fda4(0x110)]&&_0x58fd92[_0x24fda4(0xfc)][_0x24fda4(0xc7)]){const _0x1bad0d=this[_0x24fda4(0xaa)](_0x26932f,{'label':_0x5b9c86(_0x26932f,_0x24fda4(0xf3)),'icon':_0x5010e3});_0x1bad0d['on'](_0x24fda4(0xd2),()=>{const _0x43fcf5=_0x24fda4;this[_0x43fcf5(0x106)](_0x43fcf5(0x113)),this[_0x43fcf5(0x117)]();}),_0x20bfff[_0x24fda4(0xf5)][_0x24fda4(0xee)](_0x1bad0d);}if(_0x58fd92[_0x24fda4(0xdb)][_0x24fda4(0xc7)]){const _0x1dc1f1=this[_0x24fda4(0xaa)](_0x26932f,{'label':_0x5b9c86(_0x26932f,_0x24fda4(0x107)),'icon':_0x5dbea7});_0x1dc1f1['on'](_0x24fda4(0xd2),()=>{const _0x2e2256=_0x24fda4;this[_0x2e2256(0x117)](),this[_0x2e2256(0xc2)](),this[_0x2e2256(0x121)][_0x2e2256(0xe1)]({'target':this[_0x2e2256(0x123)][_0x2e2256(0xc1)],'limiter':this[_0x2e2256(0xe0)](),'positions':Ro}),this[_0x2e2256(0xe2)][_0x2e2256(0xe8)]();}),_0x20bfff[_0x24fda4(0xf5)][_0x24fda4(0xee)](_0x1dc1f1);}if(_0x58fd92[_0x24fda4(0x137)][_0x24fda4(0xc7)]){const _0xca46bc=new _0x5edaf4(_0x26932f);_0xca46bc[_0x24fda4(0x111)]({'label':_0x5b9c86(_0x26932f,_0x24fda4(0xc5)),'icon':_0x45aff0,'withText':!0x0,'tooltip':!0x0,'class':ko,'allowMultipleFiles':!0x0}),_0xca46bc['on'](_0x24fda4(0x11d),(_0x5de25e,_0x18ed0a)=>{const _0xcaf3c4=_0x24fda4;this[_0xcaf3c4(0x106)](_0xcaf3c4(0xd3),_0x18ed0a),this[_0xcaf3c4(0x117)]();}),_0xca46bc[_0x24fda4(0xc0)]=!0x0,_0x20bfff[_0x24fda4(0xf5)][_0x24fda4(0xee)](_0xca46bc);}for(const _0x466f1b of _0x58fd92[_0x24fda4(0xf9)]){const _0x1ee888=this[_0x24fda4(0xaa)](_0x26932f,{'label':_0x466f1b[_0x24fda4(0x11b)],'icon':_0x466f1b[_0x24fda4(0xfd)]||_0x5be1c8,'type':_0x24fda4(0xd4)});_0x20bfff[_0x24fda4(0xf5)][_0x24fda4(0xee)](_0x1ee888),_0x1ee888['on'](_0x24fda4(0xd2),()=>{const _0x5bcec3=_0x24fda4;this[_0x5bcec3(0x117)](),this[_0x5bcec3(0xaf)](_0x466f1b);});}}[_0x54da88(0x12e)](_0x320216,_0xd99e60){const _0x447e78=_0x54da88;this[_0x447e78(0xe2)]=new _0x52e590(_0xd99e60),this[_0x447e78(0xe2)]['on'](_0x447e78(0x128),(_0x5ce6bb,_0x406166)=>{const _0x4f5cdb=_0x447e78;this[_0x4f5cdb(0x101)](_0x406166);}),this[_0x447e78(0xe2)]['on'](_0x447e78(0xce),()=>{const _0x5112e6=_0x447e78;this[_0x5112e6(0x138)](),this[_0x5112e6(0xf4)](),this[_0x5112e6(0xbb)][_0x5112e6(0xe1)]({'target':this[_0x5112e6(0x123)][_0x5112e6(0xc1)],'limiter':this[_0x5112e6(0xe0)](),'positions':Ro});}),this[_0x447e78(0xe2)]['on'](_0x447e78(0xb0),()=>{const _0x149197=_0x447e78;this[_0x149197(0x121)][_0x149197(0xcc)]&&this[_0x149197(0x121)][_0x149197(0xe1)]({'target':this[_0x149197(0x123)][_0x149197(0xc1)],'limiter':this[_0x149197(0xe0)](),'positions':Ro});}),_0x320216[_0x447e78(0xf5)][_0x447e78(0xee)](this[_0x447e78(0xe2)]);}[_0x54da88(0xaa)](_0x50e3f0,_0x134bf1){const _0x24238c=_0x54da88,_0x290e32=_0x24238c(0xd4)===_0x134bf1[_0x24238c(0xef)]?new SourcesBalloonButtonView(_0x50e3f0):new _0x5079e0(_0x50e3f0);return _0x290e32[_0x24238c(0x111)]({'label':_0x134bf1[_0x24238c(0x11b)],'icon':_0x134bf1[_0x24238c(0xfd)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':ko}),_0x290e32;}[_0x54da88(0xbe)](){const _0x4e7d8c=_0x54da88;this[_0x4e7d8c(0xc3)](),this[_0x4e7d8c(0x129)]();}[_0x54da88(0x129)](){const _0x4a04ae=_0x54da88;_0x256c00({'emitter':this[_0x4a04ae(0x121)],'contextElements':[this[_0x4a04ae(0x121)][_0x4a04ae(0xc1)]],'callback':()=>{const _0x5883ba=_0x4a04ae;this[_0x5883ba(0x138)]();},'activator':()=>this[_0x4a04ae(0x121)][_0x4a04ae(0xcc)]});}[_0x54da88(0xb3)](_0x56a21c){const _0xd352e1=_0x54da88,_0x442c8c=this[_0xd352e1(0xb4)];_0x442c8c[_0xd352e1(0xc8)][_0xd352e1(0x12a)]=_0x56a21c,_0x56a21c?_0x442c8c[_0xd352e1(0xeb)][_0xd352e1(0xdf)]():_0x442c8c[_0xd352e1(0xeb)][_0xd352e1(0xd8)]();}[_0x54da88(0xc3)](){const _0x1234b5=_0x54da88,{balloonView:_0x4eda10,buttonView:_0x4a44ce,hideMethod:_0x278bf4}=this[_0x1234b5(0xb4)];_0x256c00({'emitter':_0x4eda10,'contextElements':[_0x4eda10[_0x1234b5(0xc1)],_0x4a44ce[_0x1234b5(0xc1)]],'callback':()=>{_0x278bf4();},'activator':()=>_0x4a44ce[_0x1234b5(0x12a)]&&!this[_0x1234b5(0x121)][_0x1234b5(0xcc)]&&!this[_0x1234b5(0x122)][_0x1234b5(0x133)]()});}[_0x54da88(0xff)](_0x2451fa,_0x5d82be,_0xa24ce9=!0x1,_0xb5069b=!0x1){const _0x4534ed=_0x54da88,_0x915fce=_0x4534ed(0xfb)===_0x5d82be||!0x0===_0x2451fa[_0x4534ed(0x10d)],_0x2c935f=new _0x53386f(this[_0x4534ed(0xb9)],_0x2451fa,_0x915fce,_0xa24ce9,_0xb5069b);return _0x915fce||_0x2c935f['on'](_0x4534ed(0x135),()=>{const _0x262e78=_0x4534ed;this[_0x262e78(0x106)](_0x262e78(0xac),_0x2c935f['id']);}),_0x2c935f;}[_0x54da88(0xfa)](_0x5d8aba,_0x307173){const _0x1dc0b6=_0x54da88;_0x307173[_0x1dc0b6(0xee)](_0x5d8aba,0x0);}[_0x54da88(0xe4)](_0x1914f5,_0xe1003c){const _0xbe9225=_0x54da88,_0x11b740=_0xe1003c[_0xbe9225(0xc6)](_0x339c5b=>_0x339c5b['id']===_0x1914f5);_0x11b740&&_0xe1003c[_0xbe9225(0x11f)](_0x11b740);}[_0x54da88(0xfe)](){const _0x161926=_0x54da88;this[_0x161926(0x123)][_0x161926(0x12a)]?this[_0x161926(0x117)]():(this[_0x161926(0xf4)](),this[_0x161926(0xbb)][_0x161926(0xe1)]({'target':this[_0x161926(0x123)][_0x161926(0xc1)],'limiter':this[_0x161926(0xe0)](),'positions':Ro}));}[_0x54da88(0x101)](_0x58d4ca){const _0x2877ba=_0x54da88;this[_0x2877ba(0xe2)][_0x2877ba(0xc9)](),this[_0x2877ba(0x138)](),this[_0x2877ba(0x106)](_0x2877ba(0x108),_0x58d4ca);}}export class SourcesBalloonButtonView extends _0x5079e0{[_0x54da88(0x127)];constructor(_0x3b5b05){const _0x2dad07=_0x54da88;super(_0x3b5b05),this[_0x2dad07(0x111)]({'withText':!0x0,'role':_0x2dad07(0x100)}),this[_0x2dad07(0x127)]=this[_0x2dad07(0xdd)](),this[_0x2dad07(0x126)]({'attributes':{'class':[Eo]}});}[_0x54da88(0x131)](){const _0x2d577e=_0x54da88;super[_0x2d577e(0x131)](),this[_0x2d577e(0xd5)][_0x2d577e(0xee)](this[_0x2d577e(0x127)]);}[_0x54da88(0xdd)](){const _0x175f8d=_0x54da88,_0x5bfcc9=new _0x29f9d7();return _0x5bfcc9[_0x175f8d(0xf5)]=_0x503a78,_0x5bfcc9[_0x175f8d(0x126)]({'attributes':{'class':Eo+_0x175f8d(0x12f)}}),_0x5bfcc9;}}
|