@ckeditor/ckeditor5-ai 47.5.0 → 47.6.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/build/966.ai.js +5 -0
- package/build/ai.js +1 -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/en.js +1 -0
- 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 +387 -403
- package/dist/index.css +441 -413
- 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 +1 -0
- package/lang/translations/af.po +8 -4
- package/lang/translations/ar.po +8 -4
- package/lang/translations/ast.po +8 -4
- package/lang/translations/az.po +8 -4
- package/lang/translations/be.po +8 -4
- package/lang/translations/bg.po +8 -4
- package/lang/translations/bn.po +8 -4
- package/lang/translations/bs.po +8 -4
- package/lang/translations/ca.po +8 -4
- package/lang/translations/cs.po +8 -4
- package/lang/translations/da.po +8 -4
- package/lang/translations/de-ch.po +8 -4
- package/lang/translations/de.po +8 -4
- package/lang/translations/el.po +8 -4
- package/lang/translations/en-au.po +8 -4
- package/lang/translations/en-gb.po +8 -4
- package/lang/translations/en.po +8 -4
- package/lang/translations/eo.po +8 -4
- package/lang/translations/es-co.po +8 -4
- package/lang/translations/es.po +8 -4
- package/lang/translations/et.po +8 -4
- package/lang/translations/eu.po +8 -4
- package/lang/translations/fa.po +8 -4
- package/lang/translations/fi.po +8 -4
- package/lang/translations/fr.po +8 -4
- package/lang/translations/gl.po +8 -4
- package/lang/translations/gu.po +8 -4
- package/lang/translations/he.po +8 -4
- package/lang/translations/hi.po +8 -4
- package/lang/translations/hr.po +8 -4
- package/lang/translations/hu.po +8 -4
- package/lang/translations/hy.po +8 -4
- package/lang/translations/id.po +8 -4
- package/lang/translations/it.po +8 -4
- package/lang/translations/ja.po +8 -4
- package/lang/translations/jv.po +8 -4
- package/lang/translations/kk.po +8 -4
- package/lang/translations/km.po +8 -4
- package/lang/translations/kn.po +8 -4
- package/lang/translations/ko.po +8 -4
- package/lang/translations/ku.po +8 -4
- package/lang/translations/lt.po +8 -4
- package/lang/translations/lv.po +8 -4
- package/lang/translations/ms.po +8 -4
- package/lang/translations/nb.po +8 -4
- package/lang/translations/ne.po +8 -4
- package/lang/translations/nl.po +8 -4
- package/lang/translations/no.po +8 -4
- package/lang/translations/oc.po +8 -4
- package/lang/translations/pl.po +8 -4
- package/lang/translations/pt-br.po +8 -4
- package/lang/translations/pt.po +8 -4
- package/lang/translations/ro.po +8 -4
- package/lang/translations/ru.po +8 -4
- package/lang/translations/si.po +8 -4
- package/lang/translations/sk.po +8 -4
- package/lang/translations/sl.po +8 -4
- package/lang/translations/sq.po +8 -4
- package/lang/translations/sr-latn.po +8 -4
- package/lang/translations/sr.po +8 -4
- package/lang/translations/sv.po +8 -4
- package/lang/translations/th.po +8 -4
- package/lang/translations/ti.po +8 -4
- package/lang/translations/tk.po +8 -4
- package/lang/translations/tr.po +8 -4
- package/lang/translations/tt.po +8 -4
- package/lang/translations/ug.po +8 -4
- package/lang/translations/uk.po +8 -4
- package/lang/translations/ur.po +8 -4
- package/lang/translations/uz.po +8 -4
- package/lang/translations/vi.po +8 -4
- package/lang/translations/zh-cn.po +8 -4
- package/lang/translations/zh.po +8 -4
- package/package.json +21 -21
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.d.ts +12 -8
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +24 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +13 -0
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +5 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +4 -0
- 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.d.ts +5 -0
- 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/aichatfeedcustomelementview.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.d.ts +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/aichatshortcuts/aichatshortcuts.d.ts +324 -0
- package/src/aichatshortcuts/aichatshortcuts.js +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutsview.d.ts +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutview.d.ts +23 -0
- package/src/aichatshortcuts/ui/aichatshortcutview.js +23 -0
- package/src/aiconfig.d.ts +7 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.d.ts +8 -0
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.d.ts +7 -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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.d.ts +1 -0
- 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 +1 -1
- 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.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.d.ts +4 -0
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.d.ts +3 -3
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/types.d.ts +11 -2
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +4 -0
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.d.ts +95 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +5 -0
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +6 -3
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.d.ts +35 -0
- package/src/aireviewmode/model/aireviewcheckextra.js +23 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +2 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.d.ts +20 -0
- package/src/aireviewmode/model/aireviewextracheckrun.js +23 -0
- package/src/aireviewmode/model/aireviewmodechecklist.d.ts +10 -0
- package/src/aireviewmode/model/aireviewmodechecklist.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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.d.ts +5 -0
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/augmentation.d.ts +2 -0
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.d.ts +2 -1
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -1
- package/theme/aichat/aichat-controls/aichat-controls-button.css +22 -23
- package/theme/aichat/aichat-controls/prompt-input.css +23 -0
- package/theme/aichat/aichat-controls.css +0 -19
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aiminitoolbar.css +0 -16
- package/theme/aichatshortcuts/aichatshortcuts.css +84 -0
- package/theme/aieditorintegration/aitogglebutton.css +5 -11
- package/theme/aiquickactions/aiquickactions.css +6 -11
- package/theme/aiquickactions/aiquickactionsballoon.css +37 -29
- package/theme/aireviewcore/aireviewcore-check-run.css +4 -0
- package/theme/aireviewcore/aireviewcore.css +4 -4
- package/theme/aitabs/aitabsresizebutton.css +14 -0
- package/theme/aitranslate/aitranslate.css +4 -0
- package/theme/common/aibutton.css +56 -67
- package/theme/common/aiheader.css +1 -1
- package/theme/common/aisuggestioncontentparttoolbar.css +1 -1
- package/theme/common/aisuggestionstreamablecontent.css +4 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x347d7b=_0x2f57;(function(_0x3cdac4,_0xa991a8){const _0x21c806=_0x2f57,_0xb0b623=_0x3cdac4();while(!![]){try{const _0x168bf4=parseInt(_0x21c806(0x101))/0x1+-parseInt(_0x21c806(0x109))/0x2*(parseInt(_0x21c806(0x100))/0x3)+parseInt(_0x21c806(0xf0))/0x4+-parseInt(_0x21c806(0xe8))/0x5*(parseInt(_0x21c806(0x113))/0x6)+-parseInt(_0x21c806(0xe3))/0x7*(-parseInt(_0x21c806(0xfe))/0x8)+-parseInt(_0x21c806(0x104))/0x9*(-parseInt(_0x21c806(0x107))/0xa)+parseInt(_0x21c806(0x116))/0xb*(parseInt(_0x21c806(0xea))/0xc);if(_0x168bf4===_0xa991a8)break;else _0xb0b623['push'](_0xb0b623['shift']());}catch(_0x497cdc){_0xb0b623['push'](_0xb0b623['shift']());}}}(_0xd869,0xa0c01));import _0x6c14a7 from'morphdom';function _0x2f57(_0x74f0a,_0x2c95df){const _0xd869a7=_0xd869();return _0x2f57=function(_0x2f5712,_0x2486f7){_0x2f5712=_0x2f5712-0xdf;let _0x1bba00=_0xd869a7[_0x2f5712];return _0x1bba00;},_0x2f57(_0x74f0a,_0x2c95df);}import{NodeWithChildren as _0x5a3598,Text as _0x1abfce,Element as _0x1e8df3,isText as _0x558160,isDocument as _0x4acefb,isTag as _0x2af9e5,cloneNode as _0x1cc024,getChildren as _0x131a3e,prepend as _0x3f5764,removeElement as _0x346ed2,textContent as _0x1fe616,render as _0x1d14e7}from'./htmlparser.js';export class HTMLStreamer{[_0x347d7b(0xfb)];[_0x347d7b(0xf5)]=!0x1;[_0x347d7b(0xf2)]=null;[_0x347d7b(0xfd)]=[];[_0x347d7b(0x102)]=0x0;[_0x347d7b(0xf9)]=null;[_0x347d7b(0x11e)]=0x0;constructor(_0x1d768d){const _0x3d3444=_0x347d7b;this[_0x3d3444(0xfb)]={'delay':_0x1d768d[_0x3d3444(0x11a)]??0x14,'textNodeStyle':_0x1d768d[_0x3d3444(0xf4)],'onStreamUpdate':_0x1d768d[_0x3d3444(0xfc)]||(()=>{})};}async[_0x347d7b(0xe5)]({document:_0x2b0655,targetElement:_0x166b7b,abortSignal:_0xb2a618}){const _0x2b64c9=_0x347d7b;this[_0x2b64c9(0xf5)]&&this[_0x2b64c9(0x11b)](),_0xb2a618?.[_0x2b64c9(0x10b)](_0x2b64c9(0xff),this[_0x2b64c9(0x11b)][_0x2b64c9(0x118)](this)),this[_0x2b64c9(0xf2)]=_0x1cc024(_0x2b0655,!0x0),this[_0x2b64c9(0xfd)]=this[_0x2b64c9(0xee)](),this[_0x2b64c9(0xf5)]=!0x0,this[_0x2b64c9(0x102)]>this[_0x2b64c9(0xfd)][_0x2b64c9(0xed)]&&(this[_0x2b64c9(0x102)]=this[_0x2b64c9(0xfd)][_0x2b64c9(0xed)]);for(let _0x29c123=0x0;_0x29c123<this[_0x2b64c9(0x102)];_0x29c123++)this[_0x2b64c9(0xfd)][_0x29c123][_0x2b64c9(0x119)]=!0x0;do{const _0x1ca061=Date[_0x2b64c9(0x114)](),_0x49af65=this[_0x2b64c9(0xfd)][this[_0x2b64c9(0x102)]],_0x42724b=_0x1ca061-this[_0x2b64c9(0x11e)];if(_0x49af65){_0x49af65[_0x2b64c9(0x119)]=!0x0;let _0x300e39=_0x49af65[_0x2b64c9(0xeb)];for(;_0x300e39;)_0x300e39[_0x2b64c9(0x119)]=!0x0,_0x300e39=_0x300e39[_0x2b64c9(0xeb)];}if(_0x42724b<this[_0x2b64c9(0xfb)][_0x2b64c9(0x11a)])try{const {promise:_0x5a8877,abortController:_0x1963e1}=Os(this[_0x2b64c9(0xfb)][_0x2b64c9(0x11a)]-_0x42724b);this[_0x2b64c9(0xf9)]=_0x1963e1,await _0x5a8877;}catch(_0x1f66f7){return;}_0x6c14a7(_0x166b7b,'<'+_0x166b7b[_0x2b64c9(0x112)]+'>'+this[_0x2b64c9(0xe0)](this[_0x2b64c9(0xf2)])+'</'+_0x166b7b[_0x2b64c9(0x112)]+'>',{'childrenOnly':!0x0}),this[_0x2b64c9(0xfb)][_0x2b64c9(0xfc)]&&this[_0x2b64c9(0xfb)][_0x2b64c9(0xfc)](),this[_0x2b64c9(0x102)]++,this[_0x2b64c9(0x11e)]=Date[_0x2b64c9(0x114)]();}while(this[_0x2b64c9(0x102)]<this[_0x2b64c9(0xfd)][_0x2b64c9(0xed)]);this[_0x2b64c9(0x102)]=this[_0x2b64c9(0xfd)][_0x2b64c9(0xed)],this[_0x2b64c9(0xf5)]=!0x1;}[_0x347d7b(0xdf)](){const _0xd80349=_0x347d7b;this[_0xd80349(0xf5)]=!0x1,this[_0xd80349(0xf2)]=null,this[_0xd80349(0xfd)]=[],this[_0xd80349(0x102)]=0x0,this[_0xd80349(0xf9)]=null;}[_0x347d7b(0x115)]({targetElement:_0xaba468}){const _0x4357a4=_0x347d7b;Array[_0x4357a4(0xe2)](_0xaba468[_0x4357a4(0xe6)](_0x4357a4(0xf8)))[_0x4357a4(0xec)]()[_0x4357a4(0xf6)](_0x6673ef=>{const _0x5d2936=_0x4357a4;_0x6673ef[_0x5d2936(0x11d)](_0x6673ef[_0x5d2936(0x117)][0x0]);});}[_0x347d7b(0x11b)](){const _0x4ccb51=_0x347d7b;this[_0x4ccb51(0xf5)]=!0x1,this[_0x4ccb51(0xf9)]&&(this[_0x4ccb51(0xf9)][_0x4ccb51(0xff)](),this[_0x4ccb51(0xf9)]=null);}[_0x347d7b(0xe0)](_0x287289){const _0x5323a1=_0x347d7b;let _0x565be1='';if(function(_0x2fcc49){return _0x4acefb(_0x2fcc49);}(_0x287289)){for(const _0xaa23f2 of _0x287289[_0x5323a1(0xe4)])_0x565be1+=this[_0x5323a1(0xe0)](_0xaa23f2);}else{if(Ls(_0x287289)){if(!_0x287289[_0x5323a1(0x119)])return'';const _0x4af16e=_0x287289,_0x27d6c2=Object[_0x5323a1(0xe7)](_0x4af16e[_0x5323a1(0x10a)])[_0x5323a1(0xe9)](([_0x2f8d9d,_0x1b5550])=>_0x2f8d9d+'=\x22'+_0x1b5550+'\x22')[_0x5323a1(0x10c)]('\x20');_0x565be1+='<'+_0x4af16e[_0x5323a1(0x112)]+(_0x27d6c2?'\x20'+_0x27d6c2:'')+'>';for(const _0x1df123 of _0x131a3e(_0x4af16e))_0x565be1+=this[_0x5323a1(0xe0)](_0x1df123);_0x565be1+='</'+_0x4af16e[_0x5323a1(0x112)]+'>';}else{if(!Ts(_0x287289))return'';if(!_0x287289[_0x5323a1(0x119)])return'';!function(_0x4b825e){const _0xe8ae16=_0x5323a1;if(!_0x4b825e[_0xe8ae16(0xeb)]||!Ls(_0x4b825e[_0xe8ae16(0xeb)]))return!0x1;if(!ys[_0xe8ae16(0x105)](_0x4b825e[_0xe8ae16(0xeb)][_0xe8ae16(0x112)]))return!0x1;return!_0x1fe616(_0x4b825e)[_0xe8ae16(0x106)](/^\s*[<>]\s*$/);}(_0x287289)?_0x565be1+=_0x1d14e7(_0x287289):_0x565be1+=_0x1d14e7(new _0x1e8df3(_0x5323a1(0xf3),{'data-ck-html-streamer-word-chunk':'','style':this[_0x5323a1(0xfb)][_0x5323a1(0xf4)]},[_0x287289]));}}return _0x565be1;}[_0x347d7b(0xee)](){const _0x31e249=_0x347d7b,_0x54d9e7=[];return function(_0xbe1f59,_0x5a3262){const _0x3aa3f2=_0x2f57,_0x587507=_0x363ea3=>{const _0x563807=_0x2f57;if(_0x5a3262(_0x363ea3),_0x363ea3 instanceof _0x5a3598)for(let _0x15469c=0x0;_0x15469c<_0x363ea3[_0x563807(0xe4)][_0x563807(0xed)];_0x15469c++){const _0x34f9da=_0x363ea3[_0x563807(0xe4)][_0x15469c];_0x587507(_0x34f9da);}};for(let _0xac96e6=0x0;_0xac96e6<_0xbe1f59[_0x3aa3f2(0xe4)][_0x3aa3f2(0xed)];_0xac96e6++)_0x587507(_0xbe1f59[_0x3aa3f2(0xe4)][_0xac96e6]);}(this[_0x31e249(0xf2)],_0x2d0564=>{const _0x339231=_0x31e249;if(Ts(_0x2d0564)){const _0x38cbd2=this[_0x339231(0x10e)](_0x2d0564);_0x38cbd2[_0x339231(0xed)]&&_0x54d9e7[_0x339231(0x111)](..._0x38cbd2);}_0x2d0564[_0x339231(0xe1)]||_0x2d0564[_0x339231(0x110)]||_0x54d9e7[_0x339231(0x111)](_0x2d0564);}),_0x54d9e7;}[_0x347d7b(0x10e)](_0x1241ca){const _0x36d19b=_0x347d7b;if(_0x1241ca[_0x36d19b(0xe1)]||_0x1241ca[_0x36d19b(0x110)])return[];const _0x30a55d=_0x1fe616(_0x1241ca)[_0x36d19b(0x106)](/(?:\s*\S+\s*)/g),_0x56555c=[];if(_0x30a55d&&_0x30a55d[_0x36d19b(0xed)]>0x1){for(const _0x2f1aa6 of _0x30a55d){const _0x3d8dd8=new _0x1abfce(_0x2f1aa6);_0x3d8dd8[_0x36d19b(0x110)]=!0x0,_0x3f5764(_0x1241ca,_0x3d8dd8),_0x56555c[_0x36d19b(0x111)](_0x3d8dd8);}_0x1241ca[_0x36d19b(0xe1)]=!0x0,_0x346ed2(_0x1241ca);}return _0x56555c;}}const ys=['p','li','td','th',_0x347d7b(0xf3),'h1','h2','h3','h4','h5','h6','b',_0x347d7b(0xef),'i','em',_0x347d7b(0x108),_0x347d7b(0x10f),_0x347d7b(0x11c),_0x347d7b(0xf7),_0x347d7b(0x103),'a',_0x347d7b(0xf1),_0x347d7b(0x10d)];function Ts(_0x53e799){return _0x558160(_0x53e799);}function Ls(_0x3549ce){return _0x2af9e5(_0x3549ce);}function _0xd869(){const _0x290dbe=['7133142jBwfSI','now','cleanUpAnimations','66HsKiZv','childNodes','bind','shouldBeStreamed','delay','stop','ins','replaceWith','lastUpdateTime','reset','renderNode','isWordSplitSource','from','1204hIxuPB','children','stream','querySelectorAll','entries','5SjEkuj','map','872076uiQbfp','parent','reverse','length','getParsedDocumentNodeList','strong','4969196EyXCpQ','code','document','span','textNodeStyle','isStreaming','forEach','sup','span[data-ck-html-streamer-word-chunk]','timeoutAbortController','signal','options','onStreamUpdate','nodesList','2000SPbJtB','abort','29547hjiBMx','975511byoKRT','currentIndex','sub','56907zKKgoX','includes','match','510EsOBAS','mark','238VmmoAq','attribs','addEventListener','join','div','splitTextNodeIntoWordNodes','del','isWordSplitResult','push','tagName'];_0xd869=function(){return _0x290dbe;};return _0xd869();}function Os(_0x381126){const _0x5f5765=new AbortController();return{'promise':new Promise((_0x463d47,_0x4d400b)=>{const _0x501185=_0x2f57,_0x4e3faf=setTimeout(_0x463d47,_0x381126);_0x5f5765[_0x501185(0xfa)][_0x501185(0x10b)](_0x501185(0xff),()=>{clearTimeout(_0x4e3faf),_0x4d400b();});}),'abortController':_0x5f5765};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f5456=_0x2bfc;function _0x2bfc(_0xec69d0,_0xe9aa75){const _0x2a66c0=_0x2a66();return _0x2bfc=function(_0x2bfc59,_0x1d7526){_0x2bfc59=_0x2bfc59-0x1e3;let _0x3cd216=_0x2a66c0[_0x2bfc59];return _0x3cd216;},_0x2bfc(_0xec69d0,_0xe9aa75);}(function(_0x590910,_0x2118cd){const _0x393c46=_0x2bfc,_0x3c11fe=_0x590910();while(!![]){try{const _0x459f2a=parseInt(_0x393c46(0x202))/0x1*(parseInt(_0x393c46(0x1f9))/0x2)+-parseInt(_0x393c46(0x1e5))/0x3+-parseInt(_0x393c46(0x1e6))/0x4*(parseInt(_0x393c46(0x200))/0x5)+-parseInt(_0x393c46(0x1f3))/0x6*(parseInt(_0x393c46(0x1e9))/0x7)+parseInt(_0x393c46(0x1f2))/0x8+-parseInt(_0x393c46(0x1eb))/0x9+parseInt(_0x393c46(0x1f5))/0xa;if(_0x459f2a===_0x2118cd)break;else _0x3c11fe['push'](_0x3c11fe['shift']());}catch(_0x1e8440){_0x3c11fe['push'](_0x3c11fe['shift']());}}}(_0x2a66,0x9aea8));const Fs=[_0x5f5456(0x1f0),_0x5f5456(0x1fc),_0x5f5456(0x1fa),_0x5f5456(0x20b)],qs=[_0x5f5456(0x208),_0x5f5456(0x1f6),_0x5f5456(0x1ff),_0x5f5456(0x207),_0x5f5456(0x1fb),_0x5f5456(0x1ed),'\x20'];function _0x2a66(){const _0x14f364=['ArrowUp','abort','signal','keydown','bind','element','start','type','3520878WKRbLH','116AzZDoj','isUserPaused','destroy','63fyPHjq','_isAtBottom','2589417RjHnvb','_onUserEvent','End','abortController','scrollHeight','wheel','addEventListener','1513224mCevBo','505434qBxHGD','isRunning','24467430ADuuPQ','ArrowDown','scrollTo','stop','1080ivSwGS','pointerdown','Home','touchstart','deltaY','auto','PageUp','81750NVriKf','key','1282NHCDUW','includes','_stop','animationFrameId','_rafUpdate','PageDown'];_0x2a66=function(){return _0x14f364;};return _0x2a66();}export class ScrollManager{[_0x5f5456(0x20d)];[_0x5f5456(0x205)];[_0x5f5456(0x1f4)];[_0x5f5456(0x1ee)];[_0x5f5456(0x1e7)];constructor(_0x13eaf2){const _0x556bfb=_0x5f5456;this[_0x556bfb(0x20d)]=_0x13eaf2,this[_0x556bfb(0x205)]=null,this[_0x556bfb(0x1f4)]=!0x1,this[_0x556bfb(0x1ee)]=new AbortController(),this[_0x556bfb(0x1e7)]=!0x1;for(const _0x529de9 of Fs){const _0x293f9d=_0x556bfb(0x20b)!==_0x529de9;this[_0x556bfb(0x20d)][_0x556bfb(0x1f1)](_0x529de9,this[_0x556bfb(0x1ec)][_0x556bfb(0x20c)](this),{'passive':_0x293f9d,'signal':this[_0x556bfb(0x1ee)][_0x556bfb(0x20a)]});}}[_0x5f5456(0x1e3)](){const _0x368d22=_0x5f5456;this[_0x368d22(0x1f4)]||(this[_0x368d22(0x1f4)]=!0x0,this[_0x368d22(0x1e7)]=!0x1,this[_0x368d22(0x205)]=requestAnimationFrame(this[_0x368d22(0x206)][_0x368d22(0x20c)](this)));}[_0x5f5456(0x1f8)](){requestAnimationFrame(()=>{const _0x152567=_0x2bfc;this[_0x152567(0x204)]();});}[_0x5f5456(0x1e8)](){const _0x3a5ebe=_0x5f5456;this[_0x3a5ebe(0x204)](),this[_0x3a5ebe(0x1ee)][_0x3a5ebe(0x209)]();}[_0x5f5456(0x204)](){const _0x2084cf=_0x5f5456;null!==this[_0x2084cf(0x205)]&&(cancelAnimationFrame(this[_0x2084cf(0x205)]),this[_0x2084cf(0x205)]=null),this[_0x2084cf(0x1f4)]&&(this[_0x2084cf(0x1f4)]=!0x1),this[_0x2084cf(0x1e7)]=!0x1;}[_0x5f5456(0x1ec)](_0x3cc1a9){const _0x37af8e=_0x5f5456;if(this[_0x37af8e(0x1f4)]){if(_0x37af8e(0x20b)===_0x3cc1a9[_0x37af8e(0x1e4)]){const _0x1a7d6d=_0x3cc1a9[_0x37af8e(0x201)];if(!qs[_0x37af8e(0x203)](_0x1a7d6d))return;}_0x3cc1a9 instanceof WheelEvent?_0x3cc1a9[_0x37af8e(0x1fd)]<0x0?this[_0x37af8e(0x1e7)]=!0x0:this[_0x37af8e(0x1e7)]=!this[_0x37af8e(0x1ea)]():this[_0x37af8e(0x1e7)]=!0x0;}}[_0x5f5456(0x1ea)](){const _0x551254=_0x5f5456,{scrollTop:_0x27f982,scrollHeight:_0x268561,clientHeight:_0x42af40}=this[_0x551254(0x20d)];return _0x268561-_0x27f982-_0x42af40<=0x5;}[_0x5f5456(0x206)](){const _0x2beb91=_0x5f5456;this[_0x2beb91(0x1f4)]&&(this[_0x2beb91(0x1e7)]||this[_0x2beb91(0x20d)][_0x2beb91(0x1f7)]({'top':this[_0x2beb91(0x20d)][_0x2beb91(0x1ef)],'behavior':_0x2beb91(0x1fe)}),this[_0x2beb91(0x205)]=requestAnimationFrame(this[_0x2beb91(0x206)][_0x2beb91(0x20c)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5efd72=_0x1641;(function(_0x1b53e8,_0x489833){var _0xe96427=_0x1641,_0x1a6558=_0x1b53e8();while(!![]){try{var _0x36a7f2=-parseInt(_0xe96427(0x11c))/0x1*(parseInt(_0xe96427(0x11f))/0x2)+parseInt(_0xe96427(0x116))/0x3*(parseInt(_0xe96427(0x112))/0x4)+-parseInt(_0xe96427(0x120))/0x5*(-parseInt(_0xe96427(0x110))/0x6)+parseInt(_0xe96427(0x117))/0x7*(-parseInt(_0xe96427(0x114))/0x8)+parseInt(_0xe96427(0x118))/0x9*(-parseInt(_0xe96427(0x119))/0xa)+parseInt(_0xe96427(0x111))/0xb+parseInt(_0xe96427(0x11b))/0xc;if(_0x36a7f2===_0x489833)break;else _0x1a6558['push'](_0x1a6558['shift']());}catch(_0x3eaac7){_0x1a6558['push'](_0x1a6558['shift']());}}}(_0x3a97,0x1fc04));function _0x1641(_0x2d8e5b,_0x22d74b){var _0x3a9751=_0x3a97();return _0x1641=function(_0x1641a9,_0x4c2ece){_0x1641a9=_0x1641a9-0x110;var _0x43f756=_0x3a9751[_0x1641a9];return _0x43f756;},_0x1641(_0x2d8e5b,_0x22d74b);}import{Plugin as _0x2831f5}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x6f9bdf}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x510349}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x5230ff}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x2831f5{static get[_0x5efd72(0x113)](){return[_0x6f9bdf,_0x510349,_0x5230ff];}static get[_0x5efd72(0x11a)](){var _0x81cf03=_0x5efd72;return _0x81cf03(0x11e);}static get[_0x5efd72(0x115)](){return!0x0;}static get[_0x5efd72(0x11d)](){return!0x0;}}function _0x3a97(){var _0x1704c4=['25KWlAAK','63744FrBwPA','566203XAlRjE','4LZHRWt','requires','495752tdzwrt','isOfficialPlugin','519807puBnmX','7wcGOqM','6885OxsGOE','1530tGMXJi','pluginName','483864KQIMRU','2kEXbrH','isPremiumPlugin','AIEditorIntegration','9118SaaRvR'];_0x3a97=function(){return _0x1704c4;};return _0x3a97();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a0253=_0x5c68;(function(_0x273e54,_0x6c0009){const _0x17de4a=_0x5c68,_0x43d0b0=_0x273e54();while(!![]){try{const _0x8065ef=-parseInt(_0x17de4a(0x1f9))/0x1+parseInt(_0x17de4a(0x1fb))/0x2*(-parseInt(_0x17de4a(0x205))/0x3)+parseInt(_0x17de4a(0x1ef))/0x4*(-parseInt(_0x17de4a(0x200))/0x5)+parseInt(_0x17de4a(0x202))/0x6+parseInt(_0x17de4a(0x203))/0x7*(parseInt(_0x17de4a(0x1f6))/0x8)+-parseInt(_0x17de4a(0x1ec))/0x9+parseInt(_0x17de4a(0x204))/0xa*(parseInt(_0x17de4a(0x1e3))/0xb);if(_0x8065ef===_0x6c0009)break;else _0x43d0b0['push'](_0x43d0b0['shift']());}catch(_0x4a524e){_0x43d0b0['push'](_0x43d0b0['shift']());}}}(_0x8692,0x51917));import{Plugin as _0x87f48}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x55e96e}from'./toggleaicommand.js';import{ButtonView as _0x49f05e,MenuBarMenuListItemButtonView as _0x52abef}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x3f05b7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x516eac}from'../../aicore/utils/common-translations.js';function _0x8692(){const _0x8183ad=['locale','isEnabled','init','2358250UTGuRn','execute','1817334ULXmnK','35FPjPMt','270zyfhQh','2973WcycMg','pluginName','240493UXGzSH','value','AIToggleButtonUI','requires','isPremiumPlugin','menuitemcheckbox','componentFactory','ck-ai-toggle-button','bind','261216jcjEGd','isOn','toggleAi','4uLwZTQ','commands','isOfficialPlugin','add','_createAIUIButton','AI_TOGGLE_BUTTON_LABEL','set','910472NLjZnz','get','editor','375744tWmvKy','menuBar:toggleAi','508uhDhSA','listenTo'];_0x8692=function(){return _0x8183ad;};return _0x8692();}import{AITabs as _0x9a9eca}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x5c68(_0x2e0767,_0x195dc0){const _0x8692c1=_0x8692();return _0x5c68=function(_0x5c6836,_0xbdf3a7){_0x5c6836=_0x5c6836-0x1e2;let _0xed9a3e=_0x8692c1[_0x5c6836];return _0xed9a3e;},_0x5c68(_0x2e0767,_0x195dc0);}export class AIToggleButtonUI extends _0x87f48{static get[_0x5a0253(0x1e6)](){return[_0x9a9eca];}static get[_0x5a0253(0x1e2)](){const _0x3e527c=_0x5a0253;return _0x3e527c(0x1e5);}static get[_0x5a0253(0x1f1)](){return!0x0;}static get[_0x5a0253(0x1e7)](){return!0x0;}[_0x5a0253(0x1ff)](){const _0x36ad17=_0x5a0253,_0x2b4faf=this[_0x36ad17(0x1f8)];_0x2b4faf[_0x36ad17(0x1f0)][_0x36ad17(0x1f2)](_0x36ad17(0x1ee),new _0x55e96e(_0x2b4faf)),_0x2b4faf['ui'][_0x36ad17(0x1e9)][_0x36ad17(0x1f2)](_0x36ad17(0x1ee),()=>{const _0x27fef9=_0x36ad17,_0x4db053=this[_0x27fef9(0x1f3)](_0x49f05e);return _0x4db053[_0x27fef9(0x1f5)]({'tooltip':!0x0,'class':_0x27fef9(0x1ea)}),_0x4db053;}),_0x2b4faf['ui'][_0x36ad17(0x1e9)][_0x36ad17(0x1f2)](_0x36ad17(0x1fa),()=>{const _0x59fdd6=_0x36ad17,_0xb14618=this[_0x59fdd6(0x1f3)](_0x52abef);return _0xb14618[_0x59fdd6(0x1f5)]({'role':_0x59fdd6(0x1e8)}),_0xb14618;});}[_0x5a0253(0x1f3)](_0x167a3d){const _0x1216f9=_0x5a0253,_0xa3db76=this[_0x1216f9(0x1f8)],_0x52d6a7=_0xa3db76[_0x1216f9(0x1f0)][_0x1216f9(0x1f7)](_0x1216f9(0x1ee)),_0x2935aa=new _0x167a3d(_0xa3db76[_0x1216f9(0x1fd)]);return _0x2935aa[_0x1216f9(0x1f5)]({'label':_0x516eac(_0xa3db76[_0x1216f9(0x1fd)],_0x1216f9(0x1f4)),'icon':_0x3f05b7,'isToggleable':!0x0}),_0x2935aa[_0x1216f9(0x1eb)](_0x1216f9(0x1fe))['to'](_0x52d6a7),_0x2935aa[_0x1216f9(0x1eb)](_0x1216f9(0x1ed))['to'](_0x52d6a7,_0x1216f9(0x1e4),_0x1e110b=>!!_0x1e110b),this[_0x1216f9(0x1fc)](_0x2935aa,_0x1216f9(0x201),()=>{const _0x22743b=_0x1216f9;_0x52d6a7[_0x22743b(0x201)]();}),_0x2935aa;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2485a4=_0x4902;function _0x3f28(){const _0x1fc929=['28628710dGYKfB','value','plugins','isVisible','19230geBYeD','isEnabled','3097694XKRSBG','editor','bind','6588BRaXxq','view','273sBzmEc','3536930RytEaT','7568nzeiDG','6oAEUob','14UiNweo','4974152nWkyqQ','145024TOuivK','AITabs','execute','get'];_0x3f28=function(){return _0x1fc929;};return _0x3f28();}(function(_0x592737,_0x27a8f8){const _0xc4445=_0x4902,_0x56b67e=_0x592737();while(!![]){try{const _0x2650b8=-parseInt(_0xc4445(0x172))/0x1+parseInt(_0xc4445(0x167))/0x2+parseInt(_0xc4445(0x16c))/0x3*(parseInt(_0xc4445(0x16e))/0x4)+parseInt(_0xc4445(0x16d))/0x5*(-parseInt(_0xc4445(0x16f))/0x6)+parseInt(_0xc4445(0x170))/0x7*(-parseInt(_0xc4445(0x171))/0x8)+-parseInt(_0xc4445(0x16a))/0x9*(parseInt(_0xc4445(0x165))/0xa)+parseInt(_0xc4445(0x161))/0xb;if(_0x2650b8===_0x27a8f8)break;else _0x56b67e['push'](_0x56b67e['shift']());}catch(_0xce462){_0x56b67e['push'](_0x56b67e['shift']());}}}(_0x3f28,0xc834d));import{Command as _0x56d6d9}from'ckeditor5/src/core.js';function _0x4902(_0x3eacbf,_0x2eb2cd){const _0x3f28e3=_0x3f28();return _0x4902=function(_0x490230,_0x588810){_0x490230=_0x490230-0x15f;let _0x5c44f4=_0x3f28e3[_0x490230];return _0x5c44f4;},_0x4902(_0x3eacbf,_0x2eb2cd);}export class ToggleAICommand extends _0x56d6d9{constructor(_0x2267de){const _0x1b7e0b=_0x4902;super(_0x2267de);const _0x57145f=_0x2267de[_0x1b7e0b(0x163)][_0x1b7e0b(0x160)](_0x1b7e0b(0x173))[_0x1b7e0b(0x16b)];this[_0x1b7e0b(0x169)](_0x1b7e0b(0x162))['to'](_0x57145f,_0x1b7e0b(0x164)),this[_0x1b7e0b(0x166)]=!0x0;}[_0x2485a4(0x15f)](){const _0x545ece=_0x2485a4,_0x412bbe=this[_0x545ece(0x168)][_0x545ece(0x163)][_0x545ece(0x160)](_0x545ece(0x173))[_0x545ece(0x16b)];_0x412bbe[_0x545ece(0x164)]=!_0x412bbe[_0x545ece(0x164)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2a986b=_0x3eb8;function _0x349b(){var _0x45fa19=['20JeULqy','244791ZLdPbW','AIQuickActions','4MHvpLx','201172cWjTHO','10087FZlbTO','48736IKOppF','880596RtKbwY','ai.quickActions','8RljAQm','isPremiumPlugin','2910wrMXfi','1707876rdevNH','config','define','2772959aXgZKL','isOfficialPlugin','pluginName','requires'];_0x349b=function(){return _0x45fa19;};return _0x349b();}(function(_0x3e3bbf,_0x10d338){var _0x3ebfc7=_0x3eb8,_0x548de4=_0x3e3bbf();while(!![]){try{var _0x4d2cb0=parseInt(_0x3ebfc7(0xa0))/0x1*(-parseInt(_0x3ebfc7(0x9d))/0x2)+parseInt(_0x3ebfc7(0xa1))/0x3+parseInt(_0x3ebfc7(0x9e))/0x4*(parseInt(_0x3ebfc7(0x9a))/0x5)+-parseInt(_0x3ebfc7(0xa6))/0x6+-parseInt(_0x3ebfc7(0x96))/0x7*(-parseInt(_0x3ebfc7(0xa3))/0x8)+parseInt(_0x3ebfc7(0x9b))/0x9+parseInt(_0x3ebfc7(0xa5))/0xa*(-parseInt(_0x3ebfc7(0x9f))/0xb);if(_0x4d2cb0===_0x10d338)break;else _0x548de4['push'](_0x548de4['shift']());}catch(_0x412b04){_0x548de4['push'](_0x548de4['shift']());}}}(_0x349b,0x41b13));import{Plugin as _0x1b92cd}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1b707c}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x1460d1}from'./aiquickactionsediting.js';function _0x3eb8(_0x5c7765,_0x4d7ed3){var _0x349b3c=_0x349b();return _0x3eb8=function(_0x3eb87d,_0x4e1da1){_0x3eb87d=_0x3eb87d-0x94;var _0x537812=_0x349b3c[_0x3eb87d];return _0x537812;},_0x3eb8(_0x5c7765,_0x4d7ed3);}import{AIActions as _0x1d2b2e}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x1b92cd{static get[_0x2a986b(0x99)](){return[_0x1b707c,_0x1460d1,_0x1d2b2e];}static get[_0x2a986b(0x98)](){var _0x5c3710=_0x2a986b;return _0x5c3710(0x9c);}static get[_0x2a986b(0x97)](){return!0x0;}static get[_0x2a986b(0xa4)](){return!0x0;}constructor(_0x53f713){var _0x5ce31e=_0x2a986b;super(_0x53f713),_0x53f713[_0x5ce31e(0x94)][_0x5ce31e(0x95)](_0x5ce31e(0xa2),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x524ff6=_0x1266;(function(_0x38c392,_0x4d1147){const _0x2443eb=_0x1266,_0x2f8532=_0x38c392();while(!![]){try{const _0x50cccb=parseInt(_0x2443eb(0xd2))/0x1*(-parseInt(_0x2443eb(0xc5))/0x2)+parseInt(_0x2443eb(0xef))/0x3*(-parseInt(_0x2443eb(0xf0))/0x4)+parseInt(_0x2443eb(0xdd))/0x5*(parseInt(_0x2443eb(0xf3))/0x6)+parseInt(_0x2443eb(0xbf))/0x7*(parseInt(_0x2443eb(0xc6))/0x8)+parseInt(_0x2443eb(0xc9))/0x9+parseInt(_0x2443eb(0xcd))/0xa*(parseInt(_0x2443eb(0xd6))/0xb)+-parseInt(_0x2443eb(0xeb))/0xc*(-parseInt(_0x2443eb(0xff))/0xd);if(_0x50cccb===_0x4d1147)break;else _0x2f8532['push'](_0x2f8532['shift']());}catch(_0x5f04a8){_0x2f8532['push'](_0x2f8532['shift']());}}}(_0x3b97,0x51b66));import{Command as _0x7ef1b8}from'ckeditor5/src/core.js';function _0x3b97(){const _0x4968b1=['addSelectionToChatContext','AIReviewMode','removeSelectionFromChatContext','type','editor','13QgBnQA','startConversation','7JAZJqd','ask-ai','AIChatController','isVisible','has','execute','552892NMncII','829448LFEPNf','plugins','activeTab','3027159pSnPBu','ai-quick-actions-plugin-not-found','_expandSelectionIfCollapsed','sendMessage','10lfSSYZ','parent','args','document','AITabs','1FOfGpv','model','getSelectedBlocks','displayedPrompt','752873yuxnOK','get','log','_handleAIActionsActionLabel','icon','AIChat','chat','230WbGPwh','ACTION','isCollapsed','AIActions','getLimitElement','view','actionName','locale','label','CHAT','schema','_handleAIReviewAction','setSelection','_handleAIActionsAction','1768596JkuBFQ','activateTab','selection','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','300WJXBde','22612JmDJmP','handleAIReviewAction','executeAction','67902zLvvPW','change','other','prompt','_handleAIChatAction','REVIEW','focusPromptInput'];_0x3b97=function(){return _0x4968b1;};return _0x3b97();}import{CKEditorError as _0x204deb,first as _0x4011cc}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x33a6de}from'./aiquickactionsui.js';function _0x1266(_0x24d0c0,_0x525eca){const _0x3b9756=_0x3b97();return _0x1266=function(_0x1266c3,_0x52a1f8){_0x1266c3=_0x1266c3-0xbf;let _0x31d97d=_0x3b9756[_0x1266c3];return _0x31d97d;},_0x1266(_0x24d0c0,_0x525eca);}import{getTranslation as _0x3ce50d}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x7ef1b8{[_0x524ff6(0xc4)](_0x5216c6){const _0x8c104c=_0x524ff6;switch(this[_0x8c104c(0xcb)](),_0x5216c6[_0x8c104c(0xfd)]){case _0x33a6de[_0x8c104c(0xe6)]:if(!this[_0x8c104c(0xfe)][_0x8c104c(0xc7)][_0x8c104c(0xc3)](_0x8c104c(0xdb))){const _0x1afc02=_0x3ce50d(this[_0x8c104c(0xfe)][_0x8c104c(0xe4)],_0x8c104c(0xee),_0x8c104c(0xdb));throw new _0x204deb(_0x8c104c(0xca),this[_0x8c104c(0xfe)],{'errorMessage':_0x1afc02});}this[_0x8c104c(0xf7)](_0x5216c6);break;case _0x33a6de[_0x8c104c(0xde)]:if(!this[_0x8c104c(0xfe)][_0x8c104c(0xc7)][_0x8c104c(0xc3)](_0x8c104c(0xe0))){const _0x4e7bb6=_0x3ce50d(this[_0x8c104c(0xfe)][_0x8c104c(0xe4)],_0x8c104c(0xee),_0x8c104c(0xe0));throw new _0x204deb(_0x8c104c(0xca),this[_0x8c104c(0xfe)],{'errorMessage':_0x4e7bb6});}this[_0x8c104c(0xea)](_0x5216c6);break;case _0x33a6de[_0x8c104c(0xf8)]:if(!this[_0x8c104c(0xfe)][_0x8c104c(0xc7)][_0x8c104c(0xc3)](_0x8c104c(0xfb))){const _0x499b08=_0x3ce50d(this[_0x8c104c(0xfe)][_0x8c104c(0xe4)],_0x8c104c(0xee),_0x8c104c(0xfb));throw new _0x204deb(_0x8c104c(0xca),this[_0x8c104c(0xfe)],{'errorMessage':_0x499b08});}this[_0x8c104c(0xe8)](_0x5216c6);}}async[_0x524ff6(0xf7)](_0x3033eb){const _0x2f84e8=_0x524ff6,_0x39768f=this[_0x2f84e8(0xfe)][_0x2f84e8(0xc7)][_0x2f84e8(0xd7)](_0x2f84e8(0xdb)),_0x5a0e0b=this[_0x2f84e8(0xfe)][_0x2f84e8(0xc7)][_0x2f84e8(0xd7)](_0x2f84e8(0xc1)),_0x1b446b=this[_0x2f84e8(0xfe)][_0x2f84e8(0xc7)][_0x2f84e8(0xd7)](_0x2f84e8(0xd1))[_0x2f84e8(0xe2)];if(_0x1b446b[_0x2f84e8(0xc2)]||(_0x1b446b[_0x2f84e8(0xc2)]=!0x0),_0x2f84e8(0xdc)!==_0x1b446b[_0x2f84e8(0xc8)]&&_0x1b446b[_0x2f84e8(0xec)](_0x2f84e8(0xdc)),_0x2f84e8(0xc0)===_0x3033eb['id'])_0x5a0e0b[_0x2f84e8(0xfc)](),await _0x39768f[_0x2f84e8(0xfa)](),_0x39768f[_0x2f84e8(0xf9)]();else await _0x39768f[_0x2f84e8(0x100)](),_0x5a0e0b[_0x2f84e8(0xfc)](),await _0x39768f[_0x2f84e8(0xfa)](),_0x39768f[_0x2f84e8(0xf9)](),await _0x39768f[_0x2f84e8(0xcc)]({'message':_0x3033eb[_0x2f84e8(0xf6)]||_0x3033eb[_0x2f84e8(0xd5)],'attributes':{'quickActionData':{'id':_0x3033eb['id']},'displayedPrompt':_0x3033eb[_0x2f84e8(0xd5)]}});}[_0x524ff6(0xcb)](){const _0x387153=_0x524ff6,_0x276e53=this[_0x387153(0xfe)],_0x5f55eb=_0x276e53[_0x387153(0xd3)][_0x387153(0xd0)][_0x387153(0xed)];if(!_0x5f55eb[_0x387153(0xdf)])return;const _0x45df70=_0x4011cc(_0x5f55eb[_0x387153(0xd4)]())||_0x276e53[_0x387153(0xd3)][_0x387153(0xe7)][_0x387153(0xe1)](_0x5f55eb);_0x276e53[_0x387153(0xd3)][_0x387153(0xf4)](_0x3a49f0=>{const _0x58e52d=_0x387153;_0x3a49f0[_0x58e52d(0xe9)](_0x45df70,'in');});}[_0x524ff6(0xd9)](_0x1688b5){const _0x2b1553=_0x524ff6;return _0x1688b5[_0x2b1553(0xce)]?.[_0x2b1553(0xe5)]&&_0x2b1553(0xf5)!==_0x1688b5[_0x2b1553(0xce)]?.['id']?_0x1688b5[_0x2b1553(0xce)][_0x2b1553(0xe5)]+':\x20'+_0x1688b5[_0x2b1553(0xd5)]:_0x1688b5[_0x2b1553(0xd5)];}async[_0x524ff6(0xea)](_0x23729f){const _0x54918a=_0x524ff6,_0xfb4541=this[_0x54918a(0xfe)][_0x54918a(0xc7)][_0x54918a(0xd7)](_0x54918a(0xe0)),_0x282006=_0x23729f[_0x54918a(0xf6)]?{'userMessage':_0x23729f[_0x54918a(0xf6)],'model':_0x23729f[_0x54918a(0xd3)]}:{'actionName':_0x23729f[_0x54918a(0xe3)]||_0x23729f['id'],'args':_0x23729f[_0x54918a(0xcf)]},_0x3fd7df=this[_0x54918a(0xd9)](_0x23729f);await _0xfb4541[_0x54918a(0xf2)](_0x282006,_0x3fd7df,_0x23729f[_0x54918a(0xda)]);}async[_0x524ff6(0xe8)](_0xf9c417){const _0x4e5a85=_0x524ff6;console[_0x4e5a85(0xd8)](_0x4e5a85(0xf1),_0xf9c417);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x20bb(_0x66ee14,_0x3c2163){const _0x452862=_0x4528();return _0x20bb=function(_0x20bbb1,_0x10101e){_0x20bbb1=_0x20bbb1-0x155;let _0x235844=_0x452862[_0x20bbb1];return _0x235844;},_0x20bb(_0x66ee14,_0x3c2163);}const _0xd28cb2=_0x20bb;function _0x4528(){const _0x287ce2=['30qPRFrQ','471919SrsMOi','editor','aiQuickAction','isOfficialPlugin','404874IveJvT','63927BQUNFf','2908tNGsrK','add','1276vGGQwq','530UUCLsH','init','AIChat','isPremiumPlugin','selection','1294185xGYJOA','68784ohDtPY','commands','get','removeSelectionFromChatContext','plugins','change:range','document','has','pluginName','40hcJyIF','1030ZIJuoz','AIQuickActionsEditing','1611jVlQhH','model','directChange'];_0x4528=function(){return _0x287ce2;};return _0x4528();}(function(_0x562828,_0x150e6c){const _0x1be203=_0x20bb,_0x3eae1d=_0x562828();while(!![]){try{const _0x5cb880=-parseInt(_0x1be203(0x16a))/0x1*(-parseInt(_0x1be203(0x158))/0x2)+-parseInt(_0x1be203(0x16d))/0x3*(-parseInt(_0x1be203(0x155))/0x4)+-parseInt(_0x1be203(0x15d))/0x5+-parseInt(_0x1be203(0x172))/0x6+parseInt(_0x1be203(0x16e))/0x7*(parseInt(_0x1be203(0x167))/0x8)+parseInt(_0x1be203(0x173))/0x9*(-parseInt(_0x1be203(0x168))/0xa)+-parseInt(_0x1be203(0x157))/0xb*(-parseInt(_0x1be203(0x15e))/0xc);if(_0x5cb880===_0x150e6c)break;else _0x3eae1d['push'](_0x3eae1d['shift']());}catch(_0x457c97){_0x3eae1d['push'](_0x3eae1d['shift']());}}}(_0x4528,0x5c591));import{Plugin as _0x1d999c}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x3c80a3}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x1d999c{static get[_0xd28cb2(0x166)](){const _0x50af84=_0xd28cb2;return _0x50af84(0x169);}static get[_0xd28cb2(0x171)](){return!0x0;}static get[_0xd28cb2(0x15b)](){return!0x0;}[_0xd28cb2(0x159)](){const _0x33bb44=_0xd28cb2,_0x3e6bae=this[_0x33bb44(0x16f)],_0x3f72ba=new _0x3c80a3(this[_0x33bb44(0x16f)]);if(_0x3e6bae[_0x33bb44(0x15f)][_0x33bb44(0x156)](_0x33bb44(0x170),_0x3f72ba),_0x3e6bae[_0x33bb44(0x162)][_0x33bb44(0x165)](_0x33bb44(0x15a))){const _0x2d487c=this[_0x33bb44(0x16f)][_0x33bb44(0x162)][_0x33bb44(0x160)](_0x33bb44(0x15a));_0x3e6bae[_0x33bb44(0x16b)][_0x33bb44(0x164)][_0x33bb44(0x15c)]['on'](_0x33bb44(0x163),(_0x16fd81,_0x34bc14)=>{const _0x5c05ca=_0x33bb44;_0x34bc14[_0x5c05ca(0x16c)]&&_0x2d487c[_0x5c05ca(0x161)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6c69c5=_0x5a99;(function(_0x42c1bc,_0x30ff60){const _0x3750da=_0x5a99,_0x5afcd9=_0x42c1bc();while(!![]){try{const _0x22dd55=-parseInt(_0x3750da(0x1f5))/0x1*(parseInt(_0x3750da(0x20c))/0x2)+parseInt(_0x3750da(0x21e))/0x3*(-parseInt(_0x3750da(0x246))/0x4)+parseInt(_0x3750da(0x1cb))/0x5*(-parseInt(_0x3750da(0x23a))/0x6)+parseInt(_0x3750da(0x1c9))/0x7+-parseInt(_0x3750da(0x1ee))/0x8+-parseInt(_0x3750da(0x201))/0x9*(-parseInt(_0x3750da(0x20a))/0xa)+parseInt(_0x3750da(0x245))/0xb;if(_0x22dd55===_0x30ff60)break;else _0x5afcd9['push'](_0x5afcd9['shift']());}catch(_0x22cde0){_0x5afcd9['push'](_0x5afcd9['shift']());}}}(_0x15ca,0x94170));import{IconAIAdjustLength as _0x2a09b8,IconAIChangeTone as _0x3956c4,IconAIChatCommands as _0x28ecd3,IconAIContinueWriting as _0x3eca45,IconAIGrammarCheck as _0x5cdfd8,IconAIImproveWriting as _0x4802ca,IconAIOther as _0x59d53c,IconAIQuickActions as _0x3da2f0,IconAITranslate as _0x262a83}from'@ckeditor/ckeditor5-icons';function _0x15ca(){const _0x496232=['AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','portuguese','aiQuickAction','set','delegate','summarize','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','map','AIConnector','AI_QUICK_ACTIONS_MORE_CONFIDENT','add','russian','english','translate-to-korean','AI_QUICK_ACTIONS_CONTINUE_WRITING','1394827xhRMNV','translate-to-english','10305WNUwfo','find','CHAT','ai.quickActions.isSearchEnabled','isEnabled','isPremiumPlugin','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','_getDefaultAndCustomActions','ai.quickActions.removeCommands','ask-ai','uiLanguage','editing','label','locale','make-longer','children','displayedPrompt','AI_QUICK_ACTIONS_SUMMARIZE','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_HEADING','componentFactory','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','_prepareQuickActionsDefinition','make-tone-confident','chat-commands','menuBar:aiQuickActions','icon','forEach','fix-grammar','translate-to-russian','aiQuickActions','_executeQuickAction','type','some','2090120puUJYJ','japanese','other','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','requires','attachToDom','817393GMTliW','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_quickActionsDefinition','actions','execute','language','AIActions','change-tone','translate-to-german','length','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-spanish','7222608XIJxQw','getDefaultQuickActions','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','translate','menu','make-tone-friendly','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','10WEWYlc','make-shorter','2XrnWsg','AI_QUICK_ACTIONS_MAKE_SHORTER','getAll','plugins','_initializeQuickActionsComponents','buttonView','ai-quick-actions-unavailable-model','german','spanish','has','french','init','AI_QUICK_ACTIONS_CHANGE_TONE','ai-quick-actions-models-unable-to-retrieve','translate-to-chinese','focus','make-tone-professional','replace','3436872KZgWeE','AI_QUICK_ACTIONS_MORE_CASUAL','menuBarView','AI_QUICK_ACTIONS_MAKE_LONGER','isOfficialPlugin','editor','ai.quickActions.extraCommands','translate-to-portuguese','_shouldIncludeAction','DisplayNames','AI_QUICK_ACTIONS_TRANSLATE','korean','AI_QUICK_ACTIONS_ASK_AI','ACTION','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-italian','commands','AIChat','AI_QUICK_ACTIONS_ADJUST_LENGTH','_initializeQuickActionsMenuBar','explain','includes','continue','highlight-key-points','items','pluginName','panelView','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','2718zxHMrP','config','filter','menuitem','AI_QUICK_ACTIONS_IMPROVE_WRITING','values','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AIQuickActionsUI','model','ai.chat.context.document.enabled','30389898IJdTgt','4NFCVmm','italian','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_MORE_FRIENDLY','AIReviewMode','message','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_OTHER','_initializeQuickActionsComponentsAndCommands','close','view','get','push','English','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','chinese','translate-to-french','make-tone-casual','make-tone-direct','adjust-length','translate-to-japanese'];_0x15ca=function(){return _0x496232;};return _0x15ca();}import{Plugin as _0x413e75}from'ckeditor5/src/core.js';import{CKEditorError as _0x4c0982,logError as _0x3b58d4}from'ckeditor5/src/utils.js';import{getTranslation as _0x2ac32e}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x25e3ca}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x152700}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0xe7ce96,BalloonToolbar as _0x231330,MenuBarMenuView as _0x5b4294,MenuBarMenuListView as _0x418bbf,MenuBarMenuListItemView as _0xc567ab,MenuBarMenuListItemButtonView as _0x5d9a80}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x5a99(_0x389f02,_0x55f1b0){const _0x15caa0=_0x15ca();return _0x5a99=function(_0x5a999b,_0x597dc5){_0x5a999b=_0x5a999b-0x1bd;let _0x19c7ce=_0x15caa0[_0x5a999b];return _0x19c7ce;},_0x5a99(_0x389f02,_0x55f1b0);}import{AIModels as _0x3b4bab}from'../aicore/model/aimodels.js';import{AIConnector as _0x488c05}from'../aicore/aiconnector.js';const Zt=_0x6c69c5(0x24c),te=_0x6c69c5(0x22c),ee=_0x6c69c5(0x1c0);export var AIQuickActionType;!function(_0x5a343b){const _0x4ecc69=_0x6c69c5;_0x5a343b[_0x4ecc69(0x1cd)]=_0x4ecc69(0x1cd),_0x5a343b[_0x4ecc69(0x22b)]=_0x4ecc69(0x22b),_0x5a343b[_0x4ecc69(0x1f1)]=_0x4ecc69(0x1f1);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x17144a){const _0x271349=_0x6c69c5;_0x17144a[_0x271349(0x1cd)]=_0x271349(0x22f),_0x17144a[_0x271349(0x22b)]=_0x271349(0x1fb),_0x17144a[_0x271349(0x1f1)]=_0x271349(0x24a);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x413e75{static get[_0x6c69c5(0x1f3)](){return[_0x231330,_0x488c05];}static get[_0x6c69c5(0x237)](){const _0x2ba347=_0x6c69c5;return _0x2ba347(0x242);}static get[_0x6c69c5(0x222)](){return!0x0;}static get[_0x6c69c5(0x1d0)](){return!0x0;}async[_0x6c69c5(0x217)](){const _0x54e1ab=_0x6c69c5,_0x1ba07d=await this[_0x54e1ab(0x1d2)]();this[_0x54e1ab(0x1e2)](_0x1ba07d),this[_0x54e1ab(0x24f)]();}static[_0x6c69c5(0x202)](_0x55a1bb){return function(_0x52f95b){const _0x4360fc=_0x5a99,_0x17ae81=new Intl[(_0x4360fc(0x227))](['en'],{'type':_0x4360fc(0x1fa)})['of'](_0x52f95b[_0x4360fc(0x1d5)]),_0x31f3f8=_0x17ae81||_0x4360fc(0x254),_0x5b05f3=[{'id':_0x4360fc(0x1d4),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x22a)),'type':AIQuickActionType[_0x4360fc(0x1cd)],'icon':_0x28ecd3},{'id':_0x4360fc(0x1e4),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x207)),'icon':_0x28ecd3,'actions':[{'id':_0x4360fc(0x232),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1de)),'prompt':Zt[_0x4360fc(0x21d)]('%0',_0x31f3f8),'type':AIQuickActionType[_0x4360fc(0x1cd)]},{'id':_0x4360fc(0x1bf),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1dc)),'prompt':te[_0x4360fc(0x21d)]('%0',_0x31f3f8),'type':AIQuickActionType[_0x4360fc(0x1cd)]},{'id':_0x4360fc(0x235),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1e1)),'prompt':ee[_0x4360fc(0x21d)]('%0',_0x31f3f8),'type':AIQuickActionType[_0x4360fc(0x1cd)]}]},{'id':_0x4360fc(0x240),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x23e)),'type':AIQuickActionType[_0x4360fc(0x22b)],'icon':_0x4802ca},{'id':_0x4360fc(0x234),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1c8)),'type':AIQuickActionType[_0x4360fc(0x22b)],'icon':_0x3eca45},{'id':_0x4360fc(0x1e8),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x203)),'type':AIQuickActionType[_0x4360fc(0x22b)],'icon':_0x5cdfd8},{'id':_0x4360fc(0x25a),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x230)),'icon':_0x2a09b8,'actions':[{'id':_0x4360fc(0x20b),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x20d)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x1d9),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x221)),'type':AIQuickActionType[_0x4360fc(0x22b)]}]},{'id':_0x4360fc(0x1fc),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x218)),'icon':_0x3956c4,'actions':[{'id':_0x4360fc(0x258),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x21f)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x259),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1ff)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x206),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x249)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x1e3),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1c3)),'type':AIQuickActionType[_0x4360fc(0x22b)]},{'id':_0x4360fc(0x21c),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1f6)),'type':AIQuickActionType[_0x4360fc(0x22b)]}]},{'id':_0x4360fc(0x204),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x228)),'icon':_0x262a83,'actions':[{'id':_0x4360fc(0x1ca),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x241)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x1c6)}},{'id':_0x4360fc(0x21a),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1d1)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x256)}},{'id':_0x4360fc(0x200),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x24d)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x214)}},{'id':_0x4360fc(0x1fd),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x1f2)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x213)}},{'id':_0x4360fc(0x257),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x208)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x216)}},{'id':_0x4360fc(0x25b),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x248)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x1ef)}},{'id':_0x4360fc(0x225),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x255)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x25d)}},{'id':_0x4360fc(0x1c7),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x209)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x229)}},{'id':_0x4360fc(0x22d),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x25c)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x247)}},{'id':_0x4360fc(0x1e9),'displayedPrompt':_0x2ac32e(_0x52f95b,_0x4360fc(0x239)),'type':AIQuickActionType[_0x4360fc(0x22b)],'actionName':_0x4360fc(0x204),'args':{'language':_0x4360fc(0x1c5)}}]},{'id':_0x4360fc(0x1f0),'label':_0x2ac32e(_0x52f95b,_0x4360fc(0x24e)),'icon':_0x59d53c,'actions':[]}];return _0x5b05f3;}(_0x55a1bb);}async[_0x6c69c5(0x1d2)](){const _0x21c8de=_0x6c69c5,_0x5e1b18=AIQuickActionsUI[_0x21c8de(0x202)](this[_0x21c8de(0x223)][_0x21c8de(0x1d8)]),_0x2adee7=this[_0x21c8de(0x223)][_0x21c8de(0x23b)][_0x21c8de(0x252)](_0x21c8de(0x224))||[];let _0x1068be=[];try{_0x1068be=await new _0x3b4bab({'connector':this[_0x21c8de(0x223)][_0x21c8de(0x20f)][_0x21c8de(0x252)](_0x21c8de(0x1c2)),'locale':this[_0x21c8de(0x223)][_0x21c8de(0x1d8)]})[_0x21c8de(0x20e)]();}catch(_0x1f4392){const _0x995be6=new _0x4c0982(_0x21c8de(0x219),this,{'error':_0x1f4392});_0x3b58d4(_0x995be6[_0x21c8de(0x24b)]);}finally{const _0x1b4812=_0x2adee7[_0x21c8de(0x1c1)](_0x50b7d5=>({..._0x50b7d5,'icon':void 0x0}));_0x5e1b18[_0x21c8de(0x1cc)](_0x4371d2=>_0x21c8de(0x1f0)===_0x4371d2['id'])[_0x21c8de(0x1f8)][_0x21c8de(0x253)](..._0x1b4812),_0x5e1b18[_0x21c8de(0x1e7)](_0x2b57d1=>{const _0x32d93c=_0x21c8de;if(_0x32d93c(0x1f8)in _0x2b57d1)_0x2b57d1[_0x32d93c(0x1f8)][_0x32d93c(0x1e7)](_0x1c404e=>{const _0x20d2a8=_0x32d93c;if(_0x1c404e[_0x20d2a8(0x1cf)]=!!_0x1068be[_0x20d2a8(0x1cc)](_0x25ee49=>_0x25ee49['id']===_0x1c404e[_0x20d2a8(0x243)])||void 0x0===_0x1c404e[_0x20d2a8(0x243)],!_0x1c404e[_0x20d2a8(0x1cf)]){const _0x3d0418=new _0x4c0982(_0x20d2a8(0x212),this,{'actionId':_0x1c404e['id'],'modelId':_0x1c404e[_0x20d2a8(0x243)]});_0x3b58d4(_0x3d0418[_0x20d2a8(0x24b)]);}});else{if(_0x2b57d1[_0x32d93c(0x1cf)]=!!_0x1068be[_0x32d93c(0x1cc)](_0x294c48=>_0x294c48['id']===_0x2b57d1[_0x32d93c(0x243)])||void 0x0===_0x2b57d1[_0x32d93c(0x243)],!_0x2b57d1[_0x32d93c(0x1cf)]){const _0x25cd41=new _0x4c0982(_0x32d93c(0x212),this,{'actionId':_0x2b57d1['id'],'modelId':_0x2b57d1[_0x32d93c(0x243)]});_0x3b58d4(_0x25cd41[_0x32d93c(0x24b)]);}}});}return _0x5e1b18;}[_0x6c69c5(0x24f)](){const _0x341052=_0x6c69c5,_0x1ce1be=new _0xe7ce96(this[_0x341052(0x223)][_0x341052(0x1d8)]);_0x1ce1be[_0x341052(0x1f4)](),this[_0x341052(0x1dd)](_0x1ce1be),this[_0x341052(0x231)](),this[_0x341052(0x210)](_0x1ce1be);}[_0x6c69c5(0x1dd)](_0x540371){const _0x44e1f7=_0x6c69c5,_0x37a2df=this[_0x44e1f7(0x223)][_0x44e1f7(0x23b)][_0x44e1f7(0x252)](_0x44e1f7(0x1ce))??!0x0;this[_0x44e1f7(0x223)]['ui'][_0x44e1f7(0x1e0)][_0x44e1f7(0x1c4)](_0x44e1f7(0x1ea),_0x25e3ca({'editor':this[_0x44e1f7(0x223)],'content':this[_0x44e1f7(0x1f7)],'buttonDefinition':{'icon':_0x3da2f0,'label':_0x2ac32e(this[_0x44e1f7(0x223)][_0x44e1f7(0x1d8)],_0x44e1f7(0x1df))},'bodyCollection':_0x540371,'hasSearch':_0x37a2df}));}[_0x6c69c5(0x1e2)](_0x4e398f){const _0xfbef52=_0x6c69c5;this[_0xfbef52(0x1f7)]=_0x4e398f[_0xfbef52(0x1c1)](_0x33c427=>{const _0x39fde7=_0xfbef52;if(_0x39fde7(0x1f8)in _0x33c427){const _0x2046d6=_0x33c427;return{..._0x2046d6,'actions':_0x2046d6[_0x39fde7(0x1f8)][_0x39fde7(0x1c1)](_0x47a30d=>{const {actions:_0x266201,..._0x4dc014}=_0x2046d6;return{..._0x47a30d,'parent':_0x4dc014};})[_0x39fde7(0x23c)](_0x42a933=>this[_0x39fde7(0x226)](_0x42a933))};}return _0x33c427;})[_0xfbef52(0x23c)](_0x336211=>_0xfbef52(0x1f8)in _0x336211?_0x336211[_0xfbef52(0x1f8)][_0xfbef52(0x1fe)]>0x0:this[_0xfbef52(0x226)](_0x336211));}[_0x6c69c5(0x226)](_0x53e00b){const _0x1997d6=_0x6c69c5,_0x11f775=this[_0x1997d6(0x223)][_0x1997d6(0x23b)][_0x1997d6(0x252)](_0x1997d6(0x1d3))||[];return this[_0x1997d6(0x223)][_0x1997d6(0x20f)][_0x1997d6(0x215)](AIQuickActionTypeToPluginName[_0x53e00b[_0x1997d6(0x1ec)]])&&!_0x11f775[_0x1997d6(0x233)](_0x53e00b['id'])&&!(_0x53e00b[_0x1997d6(0x1ec)]===AIQuickActionType[_0x1997d6(0x1cd)]&&!0x1===this[_0x1997d6(0x223)][_0x1997d6(0x23b)][_0x1997d6(0x252)](_0x1997d6(0x244)));}[_0x6c69c5(0x210)](_0x3e108a){const _0x361c8a=_0x6c69c5;this[_0x361c8a(0x1f7)][_0x361c8a(0x1e7)](_0xccd306=>{const _0x3c2d05=_0x361c8a;if(_0x3c2d05(0x1f8)in _0xccd306){const _0x5cb015=_0x25e3ca({'editor':this[_0x3c2d05(0x223)],'content':_0xccd306[_0x3c2d05(0x1f8)],'buttonDefinition':_0xccd306,'bodyCollection':_0x3e108a});this[_0x3c2d05(0x223)]['ui'][_0x3c2d05(0x1e0)][_0x3c2d05(0x1c4)](_0xccd306['id'],_0x5cb015),_0xccd306[_0x3c2d05(0x1f8)][_0x3c2d05(0x1e7)](_0x48e8c2=>{const _0x2193b3=_0x3c2d05,_0x2dd613=_0x152700({'editor':this[_0x2193b3(0x223)],'action':_0x48e8c2});this[_0x2193b3(0x223)]['ui'][_0x2193b3(0x1e0)][_0x2193b3(0x1c4)](_0x48e8c2['id'],_0x2dd613);});}else{const _0x317c15=_0x152700({'editor':this[_0x3c2d05(0x223)],'action':_0xccd306,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3c2d05(0x223)]['ui'][_0x3c2d05(0x1e0)][_0x3c2d05(0x1c4)](_0xccd306['id'],_0x317c15);}});}[_0x6c69c5(0x231)](){const _0x486285=_0x6c69c5;this[_0x486285(0x223)]['ui'][_0x486285(0x1e0)][_0x486285(0x1c4)](_0x486285(0x1e5),_0x524319=>{const _0x52035c=_0x486285,_0x3f9111=new _0x5b4294(_0x524319),_0x165b42=_0x2ac32e(_0x524319,_0x52035c(0x1df));_0x3f9111[_0x52035c(0x211)][_0x52035c(0x1bd)]({'label':_0x165b42,'icon':_0x3da2f0});const _0x323fb4=new _0x418bbf(_0x524319);_0x323fb4[_0x52035c(0x1bd)]({'ariaLabel':_0x165b42,'role':_0x52035c(0x205)}),this[_0x52035c(0x1f7)][_0x52035c(0x1e7)](_0x3f2645=>{const _0x31e493=_0x52035c;if(_0x31e493(0x1f8)in _0x3f2645){const _0x4c859d=_0x3f2645,_0x41c0ed=new _0xc567ab(_0x524319,_0x3f9111),_0x35e97d=new _0x5b4294(_0x524319),_0x2f8982=new _0x418bbf(_0x524319);_0x35e97d[_0x31e493(0x211)][_0x31e493(0x1bd)]({'label':_0x4c859d[_0x31e493(0x1d7)],'icon':_0x4c859d[_0x31e493(0x1e6)]}),_0x4c859d[_0x31e493(0x1f8)][_0x31e493(0x1e7)](_0x176dc7=>{const _0x322938=_0x31e493,_0x1058a3=new _0xc567ab(_0x524319,_0x35e97d),_0x537e6d=new _0x5d9a80(_0x524319);_0x537e6d[_0x322938(0x1bd)]({'label':_0x176dc7[_0x322938(0x1db)],'icon':_0x176dc7[_0x322938(0x1e6)],'role':_0x322938(0x23d),'isEnabled':_0x176dc7[_0x322938(0x1cf)]}),_0x537e6d['on'](_0x322938(0x1f9),()=>{const _0x54bf2b=_0x322938;this[_0x54bf2b(0x1eb)](_0x176dc7);}),_0x537e6d[_0x322938(0x1be)](_0x322938(0x1f9))['to'](_0x35e97d),_0x1058a3[_0x322938(0x1da)][_0x322938(0x1c4)](_0x537e6d),_0x2f8982[_0x322938(0x236)][_0x322938(0x1c4)](_0x1058a3);}),_0x35e97d[_0x31e493(0x238)][_0x31e493(0x1da)][_0x31e493(0x1c4)](_0x2f8982),_0x41c0ed[_0x31e493(0x1da)][_0x31e493(0x1c4)](_0x35e97d),_0x323fb4[_0x31e493(0x236)][_0x31e493(0x1c4)](_0x41c0ed);}else{const _0x5c864c=_0x3f2645,_0x44e88f=new _0xc567ab(_0x524319,_0x3f9111),_0xfddf66=new _0x5d9a80(_0x524319);_0xfddf66[_0x31e493(0x1bd)]({'label':_0x5c864c[_0x31e493(0x1db)],'icon':_0x5c864c[_0x31e493(0x1e6)],'role':_0x31e493(0x23d),'isEnabled':_0x5c864c[_0x31e493(0x1cf)]}),_0xfddf66['on'](_0x31e493(0x1f9),()=>{const _0x418434=_0x31e493;this[_0x418434(0x1eb)](_0x5c864c);}),_0xfddf66[_0x31e493(0x1be)](_0x31e493(0x1f9))['to'](_0x3f9111),_0x44e88f[_0x31e493(0x1da)][_0x31e493(0x1c4)](_0xfddf66),_0x323fb4[_0x31e493(0x236)][_0x31e493(0x1c4)](_0x44e88f);}});const _0x255eca=Object[_0x52035c(0x23f)](AIQuickActionTypeToPluginName)[_0x52035c(0x1ed)](_0x5aa111=>this[_0x52035c(0x223)][_0x52035c(0x20f)][_0x52035c(0x215)](_0x5aa111));return _0x3f9111[_0x52035c(0x1bd)]({'isEnabled':_0x255eca}),_0x3f9111[_0x52035c(0x238)][_0x52035c(0x1da)][_0x52035c(0x1c4)](_0x323fb4),_0x3f9111;});}[_0x6c69c5(0x1eb)](_0x5b2415){const _0x2b40e8=_0x6c69c5,_0x102ccf=this[_0x2b40e8(0x223)];_0x102ccf[_0x2b40e8(0x1d6)][_0x2b40e8(0x251)][_0x2b40e8(0x21b)](),_0x102ccf[_0x2b40e8(0x22e)][_0x2b40e8(0x1f9)](_0x2b40e8(0x25e),_0x5b2415);const _0x44ffde=_0x102ccf['ui'][_0x2b40e8(0x251)][_0x2b40e8(0x220)];_0x44ffde&&_0x44ffde[_0x2b40e8(0x250)]&&_0x44ffde[_0x2b40e8(0x250)]();}}
|
|
23
|
+
const _0x51a33c=_0x2bb5;(function(_0xf0873b,_0x1f179b){const _0x28ecaf=_0x2bb5,_0x2e6217=_0xf0873b();while(!![]){try{const _0x1aa5db=-parseInt(_0x28ecaf(0x113))/0x1+-parseInt(_0x28ecaf(0x128))/0x2*(-parseInt(_0x28ecaf(0xeb))/0x3)+-parseInt(_0x28ecaf(0x15a))/0x4+-parseInt(_0x28ecaf(0x129))/0x5+-parseInt(_0x28ecaf(0xf1))/0x6+parseInt(_0x28ecaf(0xcc))/0x7+-parseInt(_0x28ecaf(0x105))/0x8*(-parseInt(_0x28ecaf(0x15b))/0x9);if(_0x1aa5db===_0x1f179b)break;else _0x2e6217['push'](_0x2e6217['shift']());}catch(_0xdaada6){_0x2e6217['push'](_0x2e6217['shift']());}}}(_0x167c,0x3736a));import{IconAIAdjustLength as _0x1b8f69,IconAIChangeTone as _0x513085,IconAIChatCommands as _0x429868,IconAIContinueWriting as _0x9af162,IconAIGrammarCheck as _0xaf61fd,IconAIImproveWriting as _0x1dc8c5,IconAIOther as _0x274169,IconAIQuickActions as _0x6f1b43,IconAITranslate as _0x243dba}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5dad30}from'ckeditor5/src/core.js';import{CKEditorError as _0x22d158,logError as _0x31781e}from'ckeditor5/src/utils.js';import{getTranslation as _0x10d9c5}from'../aicore/utils/common-translations.js';function _0x167c(){const _0xb3f80d=['4SElJnd','1896410dpEXZU','make-longer','close','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','isEnabled','forEach','fix-grammar','_shouldIncludeAction','requires','_prepareQuickActionsDefinition','type','_quickActionsDefinition','AIActions','set','_executeQuickAction','translate-to-japanese','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','other','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','delegate','translate-to-spanish','add','AI_QUICK_ACTIONS_OTHER','italian','ai.chat.context.document.enabled','label','displayedPrompt','korean','has','AI_QUICK_ACTIONS_SUMMARIZE','some','includes','actions','chinese','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-tone-direct','highlight-key-points','get','AI_QUICK_ACTIONS_MORE_CONFIDENT','_initializeQuickActionsDropdown','editing','pluginName','length','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','isOfficialPlugin','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','1281824qcamOe','72PfusaH','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','ai.quickActions.extraCommands','russian','uiLanguage','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','english','make-tone-confident','items','map','view','adjust-length','1913905ZGSjEh','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate','translate-to-portuguese','ACTION','continue','AIChat','English','aiQuickActions','componentFactory','menu','buttonView','menuBarView','values','AI_QUICK_ACTIONS_HEADING','REVIEW','aiQuickAction','french','german','spanish','change-tone','make-tone-professional','message','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_MAKE_LONGER','improve-writing','getAll','getDefaultQuickActions','AIConnector','menuBar:aiQuickActions','416112GCbzrw','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-english','AI_QUICK_ACTIONS_CHAT_COMMANDS','commands','AIReviewMode','314748kKKJsY','icon','ai.quickActions.isSearchEnabled','translate-to-chinese','model','_getDefaultAndCustomActions','ai-quick-actions-unavailable-model','japanese','menuitem','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AI_QUICK_ACTIONS_CHANGE_TONE','portuguese','init','panelView','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_EXPLAIN','summarize','execute','attachToDom','config','487448lSkcgS','explain','make-tone-casual','AI_QUICK_ACTIONS_CONTINUE_WRITING','chat-commands','AI_QUICK_ACTIONS_TRANSLATE','isPremiumPlugin','ask-ai','replace','translate-to-korean','make-tone-friendly','focus','children','translate-to-italian','59921AcUXpj','find','ai-quick-actions-models-unable-to-retrieve','editor','AI_QUICK_ACTIONS_MORE_CASUAL','CHAT','_initializeQuickActionsComponents','_initializeQuickActionsMenuBar','translate-to-russian','DisplayNames','filter','plugins','locale','language','push','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIQuickActionsUI','_initializeQuickActionsComponentsAndCommands','make-shorter','translate-to-german','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>'];_0x167c=function(){return _0xb3f80d;};return _0x167c();}function _0x2bb5(_0x2337a9,_0x55c647){const _0x167c30=_0x167c();return _0x2bb5=function(_0x2bb551,_0x51f8c6){_0x2bb551=_0x2bb551-0xbe;let _0x22961e=_0x167c30[_0x2bb551];return _0x22961e;},_0x2bb5(_0x2337a9,_0x55c647);}import{aiQuickActionsDropdownCreator as _0xfc2597}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x4586bc}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x19b30b,BalloonToolbar as _0x30d6f3,MenuBarMenuView as _0x365d76,MenuBarMenuListView as _0x12393e,MenuBarMenuListItemView as _0x1744bc,MenuBarMenuListItemButtonView as _0x3bc071}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x6b7c8e}from'../aicore/model/aimodels.js';import{AIConnector as _0x44e6c2}from'../aicore/aiconnector.js';const ee=_0x51a33c(0x127),ie=_0x51a33c(0xe3),ne=_0x51a33c(0xff);export var AIQuickActionType;!function(_0x10f99f){const _0x2a4231=_0x51a33c;_0x10f99f[_0x2a4231(0x118)]=_0x2a4231(0x118),_0x10f99f[_0x2a4231(0xd0)]=_0x2a4231(0xd0),_0x10f99f[_0x2a4231(0xdb)]=_0x2a4231(0xdb);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x20fa90){const _0x282f3a=_0x51a33c;_0x20fa90[_0x282f3a(0x118)]=_0x282f3a(0xd2),_0x20fa90[_0x282f3a(0xd0)]=_0x282f3a(0x135),_0x20fa90[_0x282f3a(0xdb)]=_0x282f3a(0xf0);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x5dad30{static get[_0x51a33c(0x131)](){return[_0x30d6f3,_0x44e6c2];}static get[_0x51a33c(0x153)](){const _0x5ab4b0=_0x51a33c;return _0x5ab4b0(0x123);}static get[_0x51a33c(0x156)](){return!0x0;}static get[_0x51a33c(0x10b)](){return!0x0;}async[_0x51a33c(0xfd)](){const _0x973053=_0x51a33c,_0x539a76=await this[_0x973053(0xf6)]();this[_0x973053(0x132)](_0x539a76),this[_0x973053(0x124)]();}static[_0x51a33c(0xe8)](_0x2e1b40){return function(_0x3fda60){const _0x3706cc=_0x2bb5,_0x25037a=new Intl[(_0x3706cc(0x11c))](['en'],{'type':_0x3706cc(0x120)})['of'](_0x3fda60[_0x3706cc(0xc3)]),_0x415508=_0x25037a||_0x3706cc(0xd3),_0x1e34c2=[{'id':_0x3706cc(0x10c),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0xbe)),'type':AIQuickActionType[_0x3706cc(0x118)],'icon':_0x429868},{'id':_0x3706cc(0x109),'label':_0x10d9c5(_0x3fda60,_0x3706cc(0xee)),'icon':_0x429868,'actions':[{'id':_0x3706cc(0x106),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x100)),'prompt':ee[_0x3706cc(0x10d)]('%0',_0x415508),'type':AIQuickActionType[_0x3706cc(0x118)]},{'id':_0x3706cc(0x101),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x147)),'prompt':ie[_0x3706cc(0x10d)]('%0',_0x415508),'type':AIQuickActionType[_0x3706cc(0x118)]},{'id':_0x3706cc(0x14e),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0xfa)),'prompt':ne[_0x3706cc(0x10d)]('%0',_0x415508),'type':AIQuickActionType[_0x3706cc(0x118)]}]},{'id':_0x3706cc(0xe6),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x158)),'type':AIQuickActionType[_0x3706cc(0xd0)],'icon':_0x1dc8c5},{'id':_0x3706cc(0xd1),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x108)),'type':AIQuickActionType[_0x3706cc(0xd0)],'icon':_0x9af162},{'id':_0x3706cc(0x12f),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x12c)),'type':AIQuickActionType[_0x3706cc(0xd0)],'icon':_0xaf61fd},{'id':_0x3706cc(0xcb),'label':_0x10d9c5(_0x3fda60,_0x3706cc(0xc4)),'icon':_0x1b8f69,'actions':[{'id':_0x3706cc(0x125),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0xe4)),'type':AIQuickActionType[_0x3706cc(0xd0)]},{'id':_0x3706cc(0x12a),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0xe5)),'type':AIQuickActionType[_0x3706cc(0xd0)]}]},{'id':_0x3706cc(0xe0),'label':_0x10d9c5(_0x3fda60,_0x3706cc(0xfb)),'icon':_0x513085,'actions':[{'id':_0x3706cc(0x107),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x117)),'type':AIQuickActionType[_0x3706cc(0xd0)]},{'id':_0x3706cc(0x14d),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x13b)),'type':AIQuickActionType[_0x3706cc(0xd0)]},{'id':_0x3706cc(0x10f),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0xbf)),'type':AIQuickActionType[_0x3706cc(0xd0)]},{'id':_0x3706cc(0xc7),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x150)),'type':AIQuickActionType[_0x3706cc(0xd0)]},{'id':_0x3706cc(0xe1),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0xc5)),'type':AIQuickActionType[_0x3706cc(0xd0)]}]},{'id':_0x3706cc(0xce),'label':_0x10d9c5(_0x3fda60,_0x3706cc(0x10a)),'icon':_0x243dba,'actions':[{'id':_0x3706cc(0xed),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x14c)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0xc6)}},{'id':_0x3706cc(0xf4),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x159)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0x14b)}},{'id':_0x3706cc(0x13e),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0xcd)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0xdf)}},{'id':_0x3706cc(0x126),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0xc0)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0xde)}},{'id':_0x3706cc(0x15c),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x13c)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0xdd)}},{'id':_0x3706cc(0x138),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0xec)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0xf8)}},{'id':_0x3706cc(0xcf),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x155)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0xfc)}},{'id':_0x3706cc(0x10e),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x15d)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0x145)}},{'id':_0x3706cc(0x112),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x122)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0x141)}},{'id':_0x3706cc(0x11b),'displayedPrompt':_0x10d9c5(_0x3fda60,_0x3706cc(0x139)),'type':AIQuickActionType[_0x3706cc(0xd0)],'actionName':_0x3706cc(0xce),'args':{'language':_0x3706cc(0xc2)}}]},{'id':_0x3706cc(0x13a),'label':_0x10d9c5(_0x3fda60,_0x3706cc(0x140)),'icon':_0x274169,'actions':[]}];return _0x1e34c2;}(_0x2e1b40);}async[_0x51a33c(0xf6)](){const _0xf09a1d=_0x51a33c,_0x5d0b81=AIQuickActionsUI[_0xf09a1d(0xe8)](this[_0xf09a1d(0x116)][_0xf09a1d(0x11f)]),_0x2a93be=this[_0xf09a1d(0x116)][_0xf09a1d(0x104)][_0xf09a1d(0x14f)](_0xf09a1d(0xc1))||[];let _0x294ae7=[];try{_0x294ae7=await new _0x6b7c8e({'connector':this[_0xf09a1d(0x116)][_0xf09a1d(0x11e)][_0xf09a1d(0x14f)](_0xf09a1d(0xe9)),'locale':this[_0xf09a1d(0x116)][_0xf09a1d(0x11f)]})[_0xf09a1d(0xe7)]();}catch(_0x6612a7){const _0x2fccd4=new _0x22d158(_0xf09a1d(0x115),this,{'error':_0x6612a7});_0x31781e(_0x2fccd4[_0xf09a1d(0xe2)]);}finally{const _0x295ad2=_0x2a93be[_0xf09a1d(0xc9)](_0x10d0fa=>({..._0x10d0fa,'icon':void 0x0}));_0x5d0b81[_0xf09a1d(0x114)](_0x5da50b=>_0xf09a1d(0x13a)===_0x5da50b['id'])[_0xf09a1d(0x14a)][_0xf09a1d(0x121)](..._0x295ad2),_0x5d0b81[_0xf09a1d(0x12e)](_0x51db7f=>{const _0x4331b6=_0xf09a1d;if(_0x4331b6(0x14a)in _0x51db7f)_0x51db7f[_0x4331b6(0x14a)][_0x4331b6(0x12e)](_0x21c737=>{const _0x112440=_0x4331b6;if(_0x21c737[_0x112440(0x12d)]=!!_0x294ae7[_0x112440(0x114)](_0x428d7c=>_0x428d7c['id']===_0x21c737[_0x112440(0xf5)])||void 0x0===_0x21c737[_0x112440(0xf5)],!_0x21c737[_0x112440(0x12d)]){const _0x4b1c85=new _0x22d158(_0x112440(0xf7),this,{'actionId':_0x21c737['id'],'modelId':_0x21c737[_0x112440(0xf5)]});_0x31781e(_0x4b1c85[_0x112440(0xe2)]);}});else{if(_0x51db7f[_0x4331b6(0x12d)]=!!_0x294ae7[_0x4331b6(0x114)](_0xd69fb0=>_0xd69fb0['id']===_0x51db7f[_0x4331b6(0xf5)])||void 0x0===_0x51db7f[_0x4331b6(0xf5)],!_0x51db7f[_0x4331b6(0x12d)]){const _0x73f894=new _0x22d158(_0x4331b6(0xf7),this,{'actionId':_0x51db7f['id'],'modelId':_0x51db7f[_0x4331b6(0xf5)]});_0x31781e(_0x73f894[_0x4331b6(0xe2)]);}}});}return _0x5d0b81;}[_0x51a33c(0x124)](){const _0x1f4a9f=_0x51a33c,_0x377d4c=new _0x19b30b(this[_0x1f4a9f(0x116)][_0x1f4a9f(0x11f)]);_0x377d4c[_0x1f4a9f(0x103)](),this[_0x1f4a9f(0x151)](_0x377d4c),this[_0x1f4a9f(0x11a)](),this[_0x1f4a9f(0x119)](_0x377d4c);}[_0x51a33c(0x151)](_0xa98079){const _0x554caf=_0x51a33c,_0x36ef5d=this[_0x554caf(0x116)][_0x554caf(0x104)][_0x554caf(0x14f)](_0x554caf(0xf3))??!0x0;this[_0x554caf(0x116)]['ui'][_0x554caf(0xd5)][_0x554caf(0x13f)](_0x554caf(0xd4),_0xfc2597({'editor':this[_0x554caf(0x116)],'content':this[_0x554caf(0x134)],'buttonDefinition':{'icon':_0x6f1b43,'label':_0x10d9c5(this[_0x554caf(0x116)][_0x554caf(0x11f)],_0x554caf(0xda))},'bodyCollection':_0xa98079,'hasSearch':_0x36ef5d}));}[_0x51a33c(0x132)](_0x490a3f){const _0x3d1f98=_0x51a33c;this[_0x3d1f98(0x134)]=_0x490a3f[_0x3d1f98(0xc9)](_0x1bb9cf=>{const _0x3f49fc=_0x3d1f98;if(_0x3f49fc(0x14a)in _0x1bb9cf){const _0x5b194d=_0x1bb9cf;return{..._0x5b194d,'actions':_0x5b194d[_0x3f49fc(0x14a)][_0x3f49fc(0xc9)](_0x1828f5=>{const {actions:_0x1b1332,..._0x1b34f5}=_0x5b194d;return{..._0x1828f5,'parent':_0x1b34f5};})[_0x3f49fc(0x11d)](_0x356a2e=>this[_0x3f49fc(0x130)](_0x356a2e))};}return _0x1bb9cf;})[_0x3d1f98(0x11d)](_0x3e73b6=>_0x3d1f98(0x14a)in _0x3e73b6?_0x3e73b6[_0x3d1f98(0x14a)][_0x3d1f98(0x154)]>0x0:this[_0x3d1f98(0x130)](_0x3e73b6));}[_0x51a33c(0x130)](_0x37a2e9){const _0x4cbad1=_0x51a33c,_0xbcd920=this[_0x4cbad1(0x116)][_0x4cbad1(0x104)][_0x4cbad1(0x14f)](_0x4cbad1(0x157))||[];return this[_0x4cbad1(0x116)][_0x4cbad1(0x11e)][_0x4cbad1(0x146)](AIQuickActionTypeToPluginName[_0x37a2e9[_0x4cbad1(0x133)]])&&!_0xbcd920[_0x4cbad1(0x149)](_0x37a2e9['id'])&&!(_0x37a2e9[_0x4cbad1(0x133)]===AIQuickActionType[_0x4cbad1(0x118)]&&!0x1===this[_0x4cbad1(0x116)][_0x4cbad1(0x104)][_0x4cbad1(0x14f)](_0x4cbad1(0x142)));}[_0x51a33c(0x119)](_0x1b969d){const _0x22598a=_0x51a33c;this[_0x22598a(0x134)][_0x22598a(0x12e)](_0x302a82=>{const _0x2f55fb=_0x22598a;if(_0x2f55fb(0x14a)in _0x302a82){const _0x22a3f6=_0xfc2597({'editor':this[_0x2f55fb(0x116)],'content':_0x302a82[_0x2f55fb(0x14a)],'buttonDefinition':_0x302a82,'bodyCollection':_0x1b969d});this[_0x2f55fb(0x116)]['ui'][_0x2f55fb(0xd5)][_0x2f55fb(0x13f)](_0x302a82['id'],_0x22a3f6),_0x302a82[_0x2f55fb(0x14a)][_0x2f55fb(0x12e)](_0x2c46db=>{const _0x45ffb2=_0x2f55fb,_0x5a4353=_0x4586bc({'editor':this[_0x45ffb2(0x116)],'action':_0x2c46db});this[_0x45ffb2(0x116)]['ui'][_0x45ffb2(0xd5)][_0x45ffb2(0x13f)](_0x2c46db['id'],_0x5a4353);});}else{const _0x20aff7=_0x4586bc({'editor':this[_0x2f55fb(0x116)],'action':_0x302a82,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x2f55fb(0x116)]['ui'][_0x2f55fb(0xd5)][_0x2f55fb(0x13f)](_0x302a82['id'],_0x20aff7);}});}[_0x51a33c(0x11a)](){const _0xeb9731=_0x51a33c;this[_0xeb9731(0x116)]['ui'][_0xeb9731(0xd5)][_0xeb9731(0x13f)](_0xeb9731(0xea),_0x35c07d=>{const _0x13f88b=_0xeb9731,_0x370202=new _0x365d76(_0x35c07d),_0x39b696=_0x10d9c5(_0x35c07d,_0x13f88b(0xda));_0x370202[_0x13f88b(0xd7)][_0x13f88b(0x136)]({'label':_0x39b696,'icon':_0x6f1b43});const _0x2c5ace=new _0x12393e(_0x35c07d);_0x2c5ace[_0x13f88b(0x136)]({'ariaLabel':_0x39b696,'role':_0x13f88b(0xd6)}),this[_0x13f88b(0x134)][_0x13f88b(0x12e)](_0xa3e9ad=>{const _0x2e1c15=_0x13f88b;if(_0x2e1c15(0x14a)in _0xa3e9ad){const _0x4d3393=_0xa3e9ad,_0x38b477=new _0x1744bc(_0x35c07d,_0x370202),_0x470854=new _0x365d76(_0x35c07d),_0x759df8=new _0x12393e(_0x35c07d);_0x470854[_0x2e1c15(0xd7)][_0x2e1c15(0x136)]({'label':_0x4d3393[_0x2e1c15(0x143)],'icon':_0x4d3393[_0x2e1c15(0xf2)]}),_0x4d3393[_0x2e1c15(0x14a)][_0x2e1c15(0x12e)](_0x45f1ee=>{const _0xd030d7=_0x2e1c15,_0x5280b3=new _0x1744bc(_0x35c07d,_0x470854),_0x59e499=new _0x3bc071(_0x35c07d);_0x59e499[_0xd030d7(0x136)]({'label':_0x45f1ee[_0xd030d7(0x144)],'icon':_0x45f1ee[_0xd030d7(0xf2)],'role':_0xd030d7(0xf9),'isEnabled':_0x45f1ee[_0xd030d7(0x12d)]}),_0x59e499['on'](_0xd030d7(0x102),()=>{const _0x408ea5=_0xd030d7;this[_0x408ea5(0x137)](_0x45f1ee);}),_0x59e499[_0xd030d7(0x13d)](_0xd030d7(0x102))['to'](_0x470854),_0x5280b3[_0xd030d7(0x111)][_0xd030d7(0x13f)](_0x59e499),_0x759df8[_0xd030d7(0xc8)][_0xd030d7(0x13f)](_0x5280b3);}),_0x470854[_0x2e1c15(0xfe)][_0x2e1c15(0x111)][_0x2e1c15(0x13f)](_0x759df8),_0x38b477[_0x2e1c15(0x111)][_0x2e1c15(0x13f)](_0x470854),_0x2c5ace[_0x2e1c15(0xc8)][_0x2e1c15(0x13f)](_0x38b477);}else{const _0x55465d=_0xa3e9ad,_0x4cd33a=new _0x1744bc(_0x35c07d,_0x370202),_0x3f8c7b=new _0x3bc071(_0x35c07d);_0x3f8c7b[_0x2e1c15(0x136)]({'label':_0x55465d[_0x2e1c15(0x144)],'icon':_0x55465d[_0x2e1c15(0xf2)],'role':_0x2e1c15(0xf9),'isEnabled':_0x55465d[_0x2e1c15(0x12d)]}),_0x3f8c7b['on'](_0x2e1c15(0x102),()=>{const _0x3be789=_0x2e1c15;this[_0x3be789(0x137)](_0x55465d);}),_0x3f8c7b[_0x2e1c15(0x13d)](_0x2e1c15(0x102))['to'](_0x370202),_0x4cd33a[_0x2e1c15(0x111)][_0x2e1c15(0x13f)](_0x3f8c7b),_0x2c5ace[_0x2e1c15(0xc8)][_0x2e1c15(0x13f)](_0x4cd33a);}});const _0x5c4a54=Object[_0x13f88b(0xd9)](AIQuickActionTypeToPluginName)[_0x13f88b(0x148)](_0x77b403=>this[_0x13f88b(0x116)][_0x13f88b(0x11e)][_0x13f88b(0x146)](_0x77b403));return _0x370202[_0x13f88b(0x136)]({'isEnabled':_0x5c4a54}),_0x370202[_0x13f88b(0xfe)][_0x13f88b(0x111)][_0x13f88b(0x13f)](_0x2c5ace),_0x370202;});}[_0x51a33c(0x137)](_0x2ab50e){const _0x2a2cd1=_0x51a33c,_0x4564eb=this[_0x2a2cd1(0x116)];_0x4564eb[_0x2a2cd1(0x152)][_0x2a2cd1(0xca)][_0x2a2cd1(0x110)](),_0x4564eb[_0x2a2cd1(0xef)][_0x2a2cd1(0x102)](_0x2a2cd1(0xdc),_0x2ab50e);const _0x413b63=_0x4564eb['ui'][_0x2a2cd1(0xca)][_0x2a2cd1(0xd8)];_0x413b63&&_0x413b63[_0x2a2cd1(0x12b)]&&_0x413b63[_0x2a2cd1(0x12b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54e546,_0xa404a7){const _0x214f14=_0x5185,_0x55de88=_0x54e546();while(!![]){try{const _0x45d497=-parseInt(_0x214f14(0xaa))/0x1*(parseInt(_0x214f14(0xa6))/0x2)+parseInt(_0x214f14(0xba))/0x3*(-parseInt(_0x214f14(0xb0))/0x4)+-parseInt(_0x214f14(0xaf))/0x5*(-parseInt(_0x214f14(0xbb))/0x6)+parseInt(_0x214f14(0xa1))/0x7+parseInt(_0x214f14(0xb6))/0x8*(parseInt(_0x214f14(0xb2))/0x9)+-parseInt(_0x214f14(0xac))/0xa*(parseInt(_0x214f14(0xa0))/0xb)+parseInt(_0x214f14(0xbc))/0xc*(parseInt(_0x214f14(0xa7))/0xd);if(_0x45d497===_0xa404a7)break;else _0x55de88['push'](_0x55de88['shift']());}catch(_0x1e8c26){_0x55de88['push'](_0x55de88['shift']());}}}(_0x5deb,0xba084));import{ButtonView as _0x277916}from'ckeditor5/src/ui.js';function _0x5deb(){const _0x2e0ce2=['1315550hEoANW','aiQuickAction','set','5tmmIGN','117684TJNfVZ','displayedPrompt','3784869AqiZWH','locale','editing','parent','16UdDGrC','isEnabled','focus','execute','75TJdHmC','2761620ZxNnye','12luqMrW','88szCrai','290059ghUOyy','bindTemplate','icon','extendTemplate','ck-ai-quick-actions-button','82pHgdjB','29469583nxmFdy','menuitem','commands','25847wKtYff','view'];_0x5deb=function(){return _0x2e0ce2;};return _0x5deb();}function _0x5185(_0x43e27f,_0x37aa5e){const _0x5debda=_0x5deb();return _0x5185=function(_0x51859c,_0x3ba921){_0x51859c=_0x51859c-0xa0;let _0x255453=_0x5debda[_0x51859c];return _0x255453;},_0x5185(_0x43e27f,_0x37aa5e);}import{IconAIQuickActions as _0xdef2d5}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x3423e4){const {editor:_0x58b88e,action:_0x5cef91,withText:_0x4ed913=!0x1,withIcon:_0x18a0fa=!0x0,isInDropdown:_0x2aa573=!0x0,shouldPreventFocus:_0x4af42b=!0x1}=_0x3423e4;return()=>{const _0x236c7d=_0x5185,_0xbdc64b=_0x58b88e[_0x236c7d(0xb3)],_0x453ffc=new _0x277916(_0xbdc64b),_0x497218=_0x453ffc[_0x236c7d(0xa2)];_0x2aa573&&_0x453ffc[_0x236c7d(0xa4)]({'on':{'mouseenter':_0x497218['to'](()=>{const _0x1027cc=_0x236c7d;_0x4af42b&&_0x4af42b()||_0x453ffc[_0x1027cc(0xb8)]();})}});const _0x44bae9=_0x5cef91[_0x236c7d(0xa3)]??_0x5cef91[_0x236c7d(0xb5)]?.[_0x236c7d(0xa3)];return _0x453ffc[_0x236c7d(0xae)]({'label':_0x5cef91[_0x236c7d(0xb1)],'withText':_0x4ed913,'role':_0x236c7d(0xa8),'icon':_0x18a0fa?_0x44bae9??_0xdef2d5:void 0x0,'tooltip':!_0x4ed913,'class':_0x236c7d(0xa5),'isEnabled':_0x5cef91[_0x236c7d(0xb7)]}),_0x453ffc['on'](_0x236c7d(0xb9),()=>{const _0x3e0f99=_0x236c7d;_0x58b88e[_0x3e0f99(0xb4)][_0x3e0f99(0xab)][_0x3e0f99(0xb8)](),_0x58b88e[_0x3e0f99(0xa9)][_0x3e0f99(0xb9)](_0x3e0f99(0xad),_0x5cef91);}),_0x453ffc;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a1310=_0x2b29;(function(_0x6c4de4,_0x4d0a43){const _0x34cb7c=_0x2b29,_0x5a9754=_0x6c4de4();while(!![]){try{const _0x3235fb=-parseInt(_0x34cb7c(0xfb))/0x1*(-parseInt(_0x34cb7c(0x11f))/0x2)+parseInt(_0x34cb7c(0x111))/0x3*(-parseInt(_0x34cb7c(0x15f))/0x4)+parseInt(_0x34cb7c(0x140))/0x5*(-parseInt(_0x34cb7c(0x162))/0x6)+parseInt(_0x34cb7c(0x150))/0x7+parseInt(_0x34cb7c(0xf2))/0x8*(parseInt(_0x34cb7c(0x176))/0x9)+parseInt(_0x34cb7c(0x149))/0xa+parseInt(_0x34cb7c(0x14b))/0xb*(-parseInt(_0x34cb7c(0x12d))/0xc);if(_0x3235fb===_0x4d0a43)break;else _0x5a9754['push'](_0x5a9754['shift']());}catch(_0x1b48ac){_0x5a9754['push'](_0x5a9754['shift']());}}}(_0x28c9,0x7a443));import{View as _0x330822,ListItemView as _0x38ca06,ListView as _0x195beb,BalloonPanelView as _0x2f1fa3,DropdownMenuPanelPositioningFunctions as _0x336092,ViewCollection as _0x230aec,FocusCycler as _0x14cdca,ButtonView as _0x32ca8e,IconView as _0x4032fc,HighlightedTextView as _0x3765ce,ButtonLabelWithHighlightView as _0x2bd126,SearchTextView as _0x288385}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2414c8}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x1a686a,KeystrokeHandler as _0xac0871}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1ee7fd}from'./aiquickactionsbuttoncreator.js';function _0x2b29(_0x2939c1,_0xf15f4){const _0x28c9b7=_0x28c9();return _0x2b29=function(_0x2b29fc,_0x19a25a){_0x2b29fc=_0x2b29fc-0xef;let _0x2b2ac9=_0x28c9b7[_0x2b29fc];return _0x2b2ac9;},_0x2b29(_0x2939c1,_0xf15f4);}import{DropdownMenuButtonWithHighlightView as _0x2475c0}from'./dropdownmenubuttonwithhighlightview.js';function _0x28c9(){const _0x176149=['detachFromDom','items','closest','pin','_createSearchResultGroupedActionButton','menuitem','execute','180JKazEr','get','ck-reset_all','locale','some','hide','_allSearchableItems','actions','_focusables','_hasSearch','show','bindTemplate','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','key','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','role','displayedPrompt','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_bodyCollection','1483555chVvRT','isOn','first','AI_QUICK_ACTIONS_SEARCH','clear','_getButtonKeystroke','_createSearchResultActionRow','_openNestedPanels','commands','2695830lJplqm','.ck-ai-quick-actions-group-list','202961EvOUKu','_createActionGroupButton','aiQuickAction','ck-dropdown-menu__nested-menu__panel','eastSouth','6973540DJBmHe','div','ck-ai-quick-actions-button_with-group__close-paren','_getPanelKeystroke','rtl','parent','ck-ai-quick-actions-button_with-group__open-paren','bind','forEach','_createSearchResultContentView','ck-rounded-corners','push','resetSearch','isEnabled','icon','2588jatRXP','_hideAllNestedPanels','content','6AqtJvT','_createSearchResultIndividualActionButton','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-button','add','_createSearchResultGroupRow','ck-ai-quick-actions-search-result-button','ownerDocument','chain','optionsListView','isVisible','_createSearchResultActionButton','contains','_handleSearchResultButtonClick','delete','uiLanguageDirection','destroy','element','ck-ai-quick-actions-group-panel','_createActionButton','9WzXPjP','ck-button_with-text','_showNestedPanel','label','ck-ai-quick-actions-search','reset','600968ynUCdc','button','ck-ai-quick-actions-button','ck-ai-quick-actions-search-result__action-row','setTemplate','set','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button__group-icon','addMany','304373FvLycg','view','mouseleave','_isMovingToNestedMenu','ck-ai-quick-actions','text','_createSearchTextView','_setupGroupMenuBehavior','render','focusTracker','_setupActionButtonExecution','keystrokes','extendTemplate','_isSearchFocused','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-search-result-button_with-group','addEventListener','ck-button','ArrowRight','_searchTextView','_createListItems','focusCycler','4059GoKqZm','activeElement','_handlePanelKeydown','editing','children','ck-ai-quick-actions-group-list','focus','queryView','ck-ai-quick-actions-button_with-group','span','menu','ArrowLeft','_hideNestedPanel','fire','4Kxdmls','.ck-ai-quick-actions-group-panel','ck-dropdown-menu-list','fieldView','_createGroupActionsList','ck-ai-quick-actions-search-result__content','relatedTarget'];_0x28c9=function(){return _0x176149;};return _0x28c9();}import{getTranslation as _0x5b924e}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0xeadf84}from'./aiquickactionsfilteredlistview.js';const Qs=_0x1a1310(0x11b),Gs=_0x1a1310(0x12b);export class AIQuickActionsDropdownContentView extends _0x330822{[_0x1a1310(0x13f)];[_0x1a1310(0x16b)];[_0x1a1310(0x10e)]=null;[_0x1a1310(0x133)]=[];[_0x1a1310(0x115)];[_0x1a1310(0x104)];[_0x1a1310(0x106)];[_0x1a1310(0x135)];[_0x1a1310(0x110)];[_0x1a1310(0x147)]=new Set();[_0x1a1310(0x136)];constructor(_0x2bc41f,_0x126407,_0x43fd4e,_0xbd85ee,_0x216942=!0x1){const _0x49afd5=_0x1a1310,_0x563dd1=_0x2bc41f[_0x49afd5(0x130)];super(_0x563dd1),this[_0x49afd5(0x13f)]=_0xbd85ee,this[_0x49afd5(0x136)]=_0x216942;const _0x402f0c=this[_0x49afd5(0x10f)](_0x2bc41f,_0x126407,_0x43fd4e);this[_0x49afd5(0x16b)]=new _0xeadf84(_0x563dd1,_0x402f0c,this[_0x49afd5(0x133)]),this[_0x49afd5(0x16b)][_0x49afd5(0x13c)]=Qs,this[_0x49afd5(0x16b)][_0x49afd5(0x127)][_0x49afd5(0xfa)](_0x402f0c),this[_0x49afd5(0x104)]=new _0x1a686a(),this[_0x49afd5(0x106)]=new _0xac0871(),_0x216942&&(this[_0x49afd5(0x10e)]=this[_0x49afd5(0x101)]()),this[_0x49afd5(0x135)]=_0x402f0c,this[_0x49afd5(0x110)]=new _0x14cdca({'focusables':this[_0x49afd5(0x135)],'focusTracker':this[_0x49afd5(0x104)],'keystrokeHandler':this[_0x49afd5(0x106)]}),_0x216942&&this[_0x49afd5(0x10e)]&&this[_0x49afd5(0x110)][_0x49afd5(0x16a)](this[_0x49afd5(0x10e)][_0x49afd5(0x110)]);const _0x243a1b=_0x216942&&this[_0x49afd5(0x10e)]?[this[_0x49afd5(0x10e)]]:[this[_0x49afd5(0x16b)]];this[_0x49afd5(0x115)]=new _0x230aec(_0x243a1b),this[_0x49afd5(0xf6)]({'tag':_0x49afd5(0x151),'attributes':{'class':['ck',_0x49afd5(0x12f),_0x49afd5(0xff),_0x49afd5(0x15a)],'dir':_0x563dd1[_0x49afd5(0x171)]},'children':this[_0x49afd5(0x115)]});}[_0x1a1310(0x101)](){const _0x3bffe3=_0x1a1310;return new _0x288385(this[_0x3bffe3(0x130)],{'filteredView':this[_0x3bffe3(0x16b)],'queryView':{'label':_0x5b924e(this[_0x3bffe3(0x130)],_0x3bffe3(0x143))},'class':_0x3bffe3(0xf0),'infoView':{'text':{'notFound':{'primary':_0x5b924e(this[_0x3bffe3(0x130)],_0x3bffe3(0x13e))}}}});}[_0x1a1310(0x108)](){const _0x8f670=_0x1a1310;if(!this[_0x8f670(0x136)]||!this[_0x8f670(0x10e)]||!this[_0x8f670(0x10e)][_0x8f670(0x118)][_0x8f670(0x122)][_0x8f670(0x173)])return!0x1;const _0xd6990e=this[_0x8f670(0x10e)][_0x8f670(0x118)][_0x8f670(0x122)][_0x8f670(0x173)][_0x8f670(0x169)]?.[_0x8f670(0x112)];return this[_0x8f670(0x10e)][_0x8f670(0x118)][_0x8f670(0x122)][_0x8f670(0x173)][_0x8f670(0x16e)](_0xd6990e);}[_0x1a1310(0x10f)](_0x3704ed,_0xb1b47e,_0x19286b){const _0x185327=_0x1a1310,_0x5df535=new _0x230aec();return _0xb1b47e[_0x185327(0x158)](_0x5163b3=>{const _0xa11e25=_0x185327;if(_0xa11e25(0x134)in _0x5163b3){const {listItem:_0x430352}=this[_0xa11e25(0x14c)](_0x3704ed,_0x5163b3,_0x19286b);_0x5df535[_0xa11e25(0x166)](_0x430352),_0x5163b3[_0xa11e25(0x134)][_0xa11e25(0x158)](_0x1b3e25=>{const _0x2eb2ec=_0xa11e25;this[_0x2eb2ec(0x175)](_0x3704ed,_0x1b3e25,_0x5163b3[_0x2eb2ec(0xef)],_0x5163b3[_0x2eb2ec(0x15e)]);const {listItem:_0x3592da,highlightViews:_0x267e03}=this[_0x2eb2ec(0x16d)](_0x3704ed,_0x1b3e25,_0x5163b3[_0x2eb2ec(0xef)],_0x5163b3[_0x2eb2ec(0x15e)]);this[_0x2eb2ec(0x133)][_0x2eb2ec(0x15b)]({'item':_0x3592da,'label':_0x1b3e25[_0x2eb2ec(0x13d)],'groupLabel':_0x5163b3[_0x2eb2ec(0xef)],'highlightViews':_0x267e03});});}else{const {listItem:_0x23940c}=this[_0xa11e25(0x175)](_0x3704ed,_0x5163b3);_0x5df535[_0xa11e25(0x166)](_0x23940c);const _0xe70d2a=_0x23940c[_0xa11e25(0x115)][_0xa11e25(0x142)];if(_0xe70d2a){const {listItem:_0x596f0e,highlightViews:_0x3fa1c8}=this[_0xa11e25(0x16d)](_0x3704ed,_0x5163b3);this[_0xa11e25(0x133)][_0xa11e25(0x15b)]({'item':_0x596f0e,'label':_0xe70d2a[_0xa11e25(0xef)]||'','highlightViews':_0x3fa1c8});}}}),_0x5df535;}[_0x1a1310(0x175)](_0x83550b,_0x337326,_0x39dcf7,_0x143646){const _0x153c4d=_0x1a1310,_0x2e839c=new _0x38ca06(this[_0x153c4d(0x130)]);if(_0x39dcf7&&_0x143646){const _0x3542a6=new _0x32ca8e(this[_0x153c4d(0x130)]),_0x2551e3=_0x3542a6[_0x153c4d(0x138)],_0x4f92e2=new _0x3765ce();_0x4f92e2[_0x153c4d(0x100)]=_0x337326[_0x153c4d(0x13d)];const _0x4b04c8=new _0x3765ce();_0x4b04c8[_0x153c4d(0x100)]=_0x39dcf7;const _0x2fb113=new _0x4032fc();_0x2fb113[_0x153c4d(0x161)]=_0x143646,_0x2fb113[_0x153c4d(0x107)]({'attributes':{'class':_0x153c4d(0xf9)}});const _0x450717=new _0x330822(this[_0x153c4d(0x130)]);_0x450717[_0x153c4d(0xf6)]({'tag':_0x153c4d(0x11a),'attributes':{'class':_0x153c4d(0x156)},'children':[{'text':'\x20('}]});const _0x1284dd=new _0x330822(this[_0x153c4d(0x130)]);return _0x1284dd[_0x153c4d(0xf6)]({'tag':_0x153c4d(0x11a),'attributes':{'class':_0x153c4d(0x152)},'children':[{'text':')'}]}),_0x3542a6[_0x153c4d(0xf7)]({'label':_0x337326[_0x153c4d(0x13d)]+'\x20('+_0x39dcf7+')','withText':!0x0,'role':_0x153c4d(0x12b),'class':_0x153c4d(0x13b),'tooltip':!0x1}),_0x3542a6[_0x153c4d(0xf6)]({'tag':_0x153c4d(0xf3),'attributes':{'class':['ck',_0x153c4d(0x10c),_0x153c4d(0x177),_0x153c4d(0xf4),_0x153c4d(0x119)],'type':_0x153c4d(0xf3),'role':_0x153c4d(0x12b),'tabindex':'-1'},'children':[_0x4f92e2,_0x450717,_0x2fb113,_0x4b04c8,_0x1284dd],'on':{'mouseenter':_0x2551e3['to'](()=>{const _0x291fe2=_0x153c4d;this[_0x291fe2(0x108)]()||_0x3542a6[_0x291fe2(0x117)]();}),'click':_0x2551e3['to'](()=>{const _0x268748=_0x153c4d;_0x3542a6[_0x268748(0x11e)](_0x268748(0x12c));})}}),_0x3542a6['on'](_0x153c4d(0x12c),()=>{const _0x5243a1=_0x153c4d;_0x83550b[_0x5243a1(0x114)][_0x5243a1(0xfc)][_0x5243a1(0x117)](),_0x83550b[_0x5243a1(0x148)][_0x5243a1(0x12c)](_0x5243a1(0x14d),_0x337326);}),_0x2e839c[_0x153c4d(0x115)][_0x153c4d(0x166)](_0x3542a6),{'listItem':_0x2e839c,'highlightViews':[_0x4f92e2,_0x4b04c8]};}{const _0x4ff6b1=new _0x2bd126(),_0x5c0648=new _0x32ca8e(this[_0x153c4d(0x130)],_0x4ff6b1),_0x349bd1=_0x5c0648[_0x153c4d(0x138)],_0x5d8ca4=_0x337326[_0x153c4d(0x15e)]??_0x337326[_0x153c4d(0x155)]?.[_0x153c4d(0x15e)],_0x4c80e5=void 0x0!==_0x337326[_0x153c4d(0x15e)];return _0x5c0648[_0x153c4d(0xf7)]({'label':_0x337326[_0x153c4d(0x13d)],'withText':!0x0,'role':_0x153c4d(0x12b),'icon':_0x4c80e5?_0x5d8ca4??_0x2414c8:void 0x0,'tooltip':!0x1,'class':_0x153c4d(0xf4)}),_0x5c0648[_0x153c4d(0x107)]({'on':{'mouseenter':_0x349bd1['to'](()=>{const _0x52793a=_0x153c4d;this[_0x52793a(0x108)]()||_0x5c0648[_0x52793a(0x117)]();})}}),_0x5c0648['on'](_0x153c4d(0x12c),()=>{const _0x7df9d7=_0x153c4d;_0x83550b[_0x7df9d7(0x114)][_0x7df9d7(0xfc)][_0x7df9d7(0x117)](),_0x83550b[_0x7df9d7(0x148)][_0x7df9d7(0x12c)](_0x7df9d7(0x14d),_0x337326);}),_0x2e839c[_0x153c4d(0x115)][_0x153c4d(0x166)](_0x5c0648),{'listItem':_0x2e839c,'highlightViews':[_0x4ff6b1]};}}[_0x1a1310(0x16d)](_0x5be9ec,_0x57f484,_0x43ae8e,_0x5e19d1){const _0x63e428=_0x1a1310;return _0x43ae8e&&_0x5e19d1?this[_0x63e428(0x12a)](_0x5be9ec,_0x57f484,_0x43ae8e,_0x5e19d1):this[_0x63e428(0x163)](_0x5be9ec,_0x57f484);}[_0x1a1310(0x12a)](_0x196756,_0xd3d168,_0x81eb3,_0x227be5){const _0x5c3f76=_0x1a1310,_0xc83a28=new _0x38ca06(this[_0x5c3f76(0x130)]),_0x25761c=new _0x32ca8e(this[_0x5c3f76(0x130)]),_0x1a26f1=_0x25761c[_0x5c3f76(0x138)],{view:_0x77f5aa,highlightView:_0x2832bd}=this[_0x5c3f76(0x167)](_0x81eb3,_0x227be5),{view:_0x1ec62c,highlightView:_0x596532}=this[_0x5c3f76(0x146)](_0xd3d168[_0x5c3f76(0x13d)]),_0xef5846=this[_0x5c3f76(0x159)](_0x77f5aa,_0x1ec62c);return _0x25761c[_0x5c3f76(0xf7)]({'label':_0xd3d168[_0x5c3f76(0x13d)],'withText':!0x0,'role':_0x5c3f76(0x12b),'class':_0x5c3f76(0xf8),'tooltip':!0x1}),_0x25761c[_0x5c3f76(0xf6)]({'tag':_0x5c3f76(0xf3),'attributes':{'class':['ck',_0x5c3f76(0x10c),_0x5c3f76(0x177),_0x5c3f76(0xf4),_0x5c3f76(0x168),_0x5c3f76(0x10a)],'type':_0x5c3f76(0xf3),'role':_0x5c3f76(0x12b),'tabindex':'-1'},'children':[_0xef5846],'on':{'mouseenter':_0x1a26f1['to'](()=>{const _0x1b8957=_0x5c3f76;this[_0x1b8957(0x108)]()||_0x25761c[_0x1b8957(0x117)]();}),'click':_0x1a26f1['to'](()=>{const _0x4f2332=_0x5c3f76;this[_0x4f2332(0x16f)](_0x25761c);})}}),this[_0x5c3f76(0x105)](_0x25761c,_0x196756,_0xd3d168),_0xc83a28[_0x5c3f76(0x115)][_0x5c3f76(0x166)](_0x25761c),{'listItem':_0xc83a28,'highlightViews':[_0x2832bd,_0x596532]};}[_0x1a1310(0x163)](_0x2568c5,_0x66e99){const _0x340337=_0x1a1310,_0x54c54f=new _0x38ca06(this[_0x340337(0x130)]),_0x4fddf3=new _0x2bd126(),_0x52c9e6=new _0x32ca8e(this[_0x340337(0x130)],_0x4fddf3),_0x16467a=_0x52c9e6[_0x340337(0x138)];return _0x52c9e6[_0x340337(0xf7)]({'label':_0x66e99[_0x340337(0x13d)],'withText':!0x0,'role':_0x340337(0x12b),'icon':void 0x0,'tooltip':!0x1,'class':_0x340337(0x139)}),_0x52c9e6[_0x340337(0x107)]({'on':{'mouseenter':_0x16467a['to'](()=>{const _0x4a695f=_0x340337;this[_0x4a695f(0x108)]()||_0x52c9e6[_0x4a695f(0x117)]();})}}),this[_0x340337(0x105)](_0x52c9e6,_0x2568c5,_0x66e99),_0x54c54f[_0x340337(0x115)][_0x340337(0x166)](_0x52c9e6),{'listItem':_0x54c54f,'highlightViews':[_0x4fddf3]};}[_0x1a1310(0x167)](_0x1da77c,_0x1c56cf){const _0x2ad431=_0x1a1310,_0x246ae7=new _0x330822(this[_0x2ad431(0x130)]),_0x205b94=new _0x4032fc();_0x205b94[_0x2ad431(0x161)]=_0x1c56cf,_0x205b94[_0x2ad431(0x107)]({'attributes':{'class':_0x2ad431(0xf9)}});const _0x4af93b=new _0x3765ce();return _0x4af93b[_0x2ad431(0x100)]=_0x1da77c,_0x246ae7[_0x2ad431(0xf6)]({'tag':_0x2ad431(0x151),'attributes':{'class':_0x2ad431(0x109)},'children':[_0x205b94,_0x4af93b]}),{'view':_0x246ae7,'highlightView':_0x4af93b};}[_0x1a1310(0x146)](_0x470cea){const _0x4c41b3=_0x1a1310,_0xb346c2=new _0x330822(this[_0x4c41b3(0x130)]),_0x377e86=new _0x3765ce();return _0x377e86[_0x4c41b3(0x100)]=_0x470cea,_0xb346c2[_0x4c41b3(0xf6)]({'tag':_0x4c41b3(0x151),'attributes':{'class':_0x4c41b3(0xf5)},'children':[_0x377e86]}),{'view':_0xb346c2,'highlightView':_0x377e86};}[_0x1a1310(0x159)](_0x122049,_0x40d68c){const _0x26c3cd=_0x1a1310,_0x28961f=new _0x330822(this[_0x26c3cd(0x130)]);return _0x28961f[_0x26c3cd(0xf6)]({'tag':_0x26c3cd(0x151),'attributes':{'class':_0x26c3cd(0x124)},'children':[_0x122049,_0x40d68c]}),_0x28961f;}[_0x1a1310(0x105)](_0x105ec7,_0x59cc4a,_0x8ddff5){const _0x1e26c2=_0x1a1310;_0x105ec7['on'](_0x1e26c2(0x12c),()=>{const _0x21b2d7=_0x1e26c2;_0x59cc4a[_0x21b2d7(0x114)][_0x21b2d7(0xfc)][_0x21b2d7(0x117)](),_0x59cc4a[_0x21b2d7(0x148)][_0x21b2d7(0x12c)](_0x21b2d7(0x14d),_0x8ddff5);});}[_0x1a1310(0x14c)](_0x16caf6,_0xc89a6c,_0x3c9556){const _0x59cde3=_0x1a1310,_0x45471e=new _0x38ca06(this[_0x59cde3(0x130)]),_0x5cd208=new _0x2bd126(),_0x451a6e=new _0x2475c0(this[_0x59cde3(0x130)],_0x5cd208),_0x69cb16=_0x451a6e[_0x59cde3(0x138)],_0x293c03=this[_0x59cde3(0x153)](_0x3c9556),_0x1fc100=this[_0x59cde3(0x123)](_0x16caf6,_0xc89a6c[_0x59cde3(0x134)],_0x3c9556);_0x451a6e[_0x59cde3(0xf7)]({'label':_0xc89a6c[_0x59cde3(0xef)],'withText':!0x0,'role':Gs,'icon':_0xc89a6c[_0x59cde3(0x15e)]??_0x2414c8,'isEnabled':_0xc89a6c[_0x59cde3(0x134)][_0x59cde3(0x131)](_0xa9d26a=>_0xa9d26a[_0x59cde3(0x15d)])}),_0x451a6e[_0x59cde3(0x107)]({'on':{'mouseenter':_0x69cb16['to'](()=>{const _0x3fa3f6=_0x59cde3;this[_0x3fa3f6(0x108)]()||_0x451a6e[_0x3fa3f6(0x117)]();})}});const _0x250709=new _0x2f1fa3(this[_0x59cde3(0x130)]);return _0x250709[_0x59cde3(0x107)]({'attributes':{'class':['ck',_0x59cde3(0x12f),_0x59cde3(0x174),_0x59cde3(0x14e)]},'on':{'keydown':_0x69cb16['to'](_0x46b4cb=>{const _0x4e87be=_0x59cde3;this[_0x4e87be(0x113)](_0x46b4cb,_0x293c03,_0x451a6e,_0x250709);})}}),_0x451a6e[_0x59cde3(0x157)](_0x59cde3(0x141))['to'](_0x250709,_0x59cde3(0x16c)),this[_0x59cde3(0x13f)][_0x59cde3(0x166)](_0x250709),_0x250709[_0x59cde3(0x161)][_0x59cde3(0x166)](_0x1fc100),this[_0x59cde3(0x102)](_0x451a6e,_0x250709),_0x45471e[_0x59cde3(0x115)][_0x59cde3(0x166)](_0x451a6e),{'listItem':_0x45471e,'highlightView':_0x5cd208};}[_0x1a1310(0x123)](_0x56e077,_0x170a6d,_0x20980d){const _0x3b0af7=_0x1a1310,_0x2ad6cf=new _0x195beb(this[_0x3b0af7(0x130)]);return _0x2ad6cf[_0x3b0af7(0x107)]({'attributes':{'class':['ck',_0x3b0af7(0x12f),_0x3b0af7(0x116),_0x3b0af7(0x121)]}}),_0x170a6d[_0x3b0af7(0x158)](_0x5c7466=>{const _0x4aaf44=_0x3b0af7,_0x212db0=new _0x38ca06(this[_0x4aaf44(0x130)]),_0x3d66af=_0x1ee7fd({'editor':_0x56e077,'action':_0x5c7466,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4aaf44(0x108)]()})();_0x212db0[_0x4aaf44(0x115)][_0x4aaf44(0x166)](_0x3d66af),_0x20980d[_0x4aaf44(0x104)][_0x4aaf44(0x166)](_0x3d66af),_0x2ad6cf[_0x4aaf44(0x127)][_0x4aaf44(0x166)](_0x212db0);}),_0x2ad6cf;}[_0x1a1310(0x102)](_0x3a2636,_0x2583af){const _0xa9f66e=_0x1a1310,_0x12ba6d=_0x3a2636[_0xa9f66e(0x138)],_0x221774=this[_0xa9f66e(0x145)](_0x3a2636);_0x3a2636[_0xa9f66e(0x107)]({'attributes':{'class':[_0xa9f66e(0x165)]},'on':{'mouseenter':_0x12ba6d['to'](()=>{const _0x5457a8=_0xa9f66e;this[_0x5457a8(0x178)](_0x2583af,_0x3a2636);}),'mouseleave':_0x12ba6d['to'](_0x94749f=>{const _0x361f7e=_0xa9f66e,_0x42b763=_0x94749f[_0x361f7e(0x125)];this[_0x361f7e(0xfe)](_0x42b763,_0x2583af)||this[_0x361f7e(0x11d)](_0x2583af);}),'keydown':_0x12ba6d['to'](_0x185495=>{const _0x36c8b7=_0xa9f66e;_0x185495[_0x36c8b7(0x13a)]==_0x221774&&(this[_0x36c8b7(0x178)](_0x2583af,_0x3a2636),_0x2583af[_0x36c8b7(0x161)][_0x36c8b7(0x12e)](0x0)[_0x36c8b7(0x117)]());})}}),_0x2583af['on'](_0xa9f66e(0x103),()=>{const _0x6c5caf=_0xa9f66e;_0x2583af[_0x6c5caf(0x173)]?.[_0x6c5caf(0x10b)](_0x6c5caf(0xfd),_0x2faca7=>{const _0x4f8e2c=_0x6c5caf,_0x528b91=_0x2faca7[_0x4f8e2c(0x125)];_0x3a2636[_0x4f8e2c(0x173)]?.[_0x4f8e2c(0x16e)](_0x528b91)||this[_0x4f8e2c(0xfe)](_0x528b91,_0x2583af)||this[_0x4f8e2c(0x11d)](_0x2583af);});});}[_0x1a1310(0x178)](_0x339281,_0x38db5d){const _0x24e8cc=_0x1a1310;this[_0x24e8cc(0x147)][_0x24e8cc(0x158)](_0x31b4e7=>{const _0xe62a29=_0x24e8cc;_0x31b4e7!==_0x339281&&_0x31b4e7[_0xe62a29(0x16c)]&&_0x31b4e7[_0xe62a29(0x132)]();}),_0x339281[_0x24e8cc(0x137)](),_0x339281[_0x24e8cc(0x129)]({'positions':[_0x336092[_0x24e8cc(0x14f)]],'target':_0x38db5d[_0x24e8cc(0x173)],'fitInViewport':!0x0}),this[_0x24e8cc(0x147)][_0x24e8cc(0x166)](_0x339281);}[_0x1a1310(0x11d)](_0x1a2784){const _0x462798=_0x1a1310;_0x1a2784[_0x462798(0x132)](),this[_0x462798(0x147)][_0x462798(0x170)](_0x1a2784);}[_0x1a1310(0x160)](){const _0x52ce52=_0x1a1310;this[_0x52ce52(0x147)][_0x52ce52(0x158)](_0x4925ec=>_0x4925ec[_0x52ce52(0x132)]()),this[_0x52ce52(0x147)][_0x52ce52(0x144)]();}[_0x1a1310(0xfe)](_0x2e4080,_0x53093d){const _0x5c5091=_0x1a1310;if(!_0x2e4080)return!0x1;if(_0x53093d[_0x5c5091(0x173)]?.[_0x5c5091(0x16e)](_0x2e4080))return!0x0;const _0x5d66bd=_0x2e4080;return _0x5d66bd[_0x5c5091(0x128)]&&(null!==_0x5d66bd[_0x5c5091(0x128)](_0x5c5091(0x120))||null!==_0x5d66bd[_0x5c5091(0x128)](_0x5c5091(0x14a))||null!==_0x5d66bd[_0x5c5091(0x128)](_0x5c5091(0x164)));}[_0x1a1310(0x15c)](){const _0x5e9142=_0x1a1310;this[_0x5e9142(0x10e)]&&this[_0x5e9142(0x10e)][_0x5e9142(0xf1)]();}[_0x1a1310(0x172)](){const _0x1a770f=_0x1a1310;this[_0x1a770f(0x160)](),this[_0x1a770f(0x13f)][_0x1a770f(0x126)](),super[_0x1a770f(0x172)]();}[_0x1a1310(0x117)](){const _0x400e62=_0x1a1310;this[_0x400e62(0x10e)]?this[_0x400e62(0x10e)][_0x400e62(0x117)]():this[_0x400e62(0x16b)][_0x400e62(0x117)]();}[_0x1a1310(0x153)](_0x1546e4){const _0x4f5d5c=_0x1a1310;return _0x4f5d5c(0x154)===_0x1546e4[_0x4f5d5c(0x130)][_0x4f5d5c(0x171)]?_0x4f5d5c(0x10d):_0x4f5d5c(0x11c);}[_0x1a1310(0x145)](_0x58e9e9){const _0x232434=_0x1a1310;return _0x232434(0x154)===_0x58e9e9[_0x232434(0x130)][_0x232434(0x171)]?_0x232434(0x11c):_0x232434(0x10d);}[_0x1a1310(0x113)](_0x1dd21c,_0x537d49,_0xa80ef8,_0x14a2c2){const _0x19d4af=_0x1a1310;_0x1dd21c[_0x19d4af(0x13a)]==_0x537d49&&(_0xa80ef8[_0x19d4af(0x117)](),this[_0x19d4af(0x11d)](_0x14a2c2));}[_0x1a1310(0x16f)](_0xc3aad3){const _0x3a82d3=_0x1a1310;_0xc3aad3[_0x3a82d3(0x11e)](_0x3a82d3(0x12c));}}
|
|
23
|
+
const _0x49fd90=_0x4707;(function(_0x1234eb,_0x33276d){const _0x286d83=_0x4707,_0x2bea60=_0x1234eb();while(!![]){try{const _0x43ef8d=parseInt(_0x286d83(0xfc))/0x1+parseInt(_0x286d83(0xfe))/0x2*(parseInt(_0x286d83(0xb1))/0x3)+-parseInt(_0x286d83(0xce))/0x4+-parseInt(_0x286d83(0x115))/0x5*(parseInt(_0x286d83(0xd9))/0x6)+parseInt(_0x286d83(0xd5))/0x7*(parseInt(_0x286d83(0xbc))/0x8)+-parseInt(_0x286d83(0x113))/0x9+parseInt(_0x286d83(0xcb))/0xa;if(_0x43ef8d===_0x33276d)break;else _0x2bea60['push'](_0x2bea60['shift']());}catch(_0x11f922){_0x2bea60['push'](_0x2bea60['shift']());}}}(_0x2a65,0xbe2a5));import{View as _0x477b6e,ListItemView as _0x42f8ee,ListView as _0x4cfa91,BalloonPanelView as _0x113707,DropdownMenuPanelPositioningFunctions as _0x555b4f,ViewCollection as _0xb8dcde,FocusCycler as _0x393f4c,ButtonView as _0x47ef07,IconView as _0x30810d,HighlightedTextView as _0x306c6d,ButtonLabelWithHighlightView as _0x1663d3,SearchTextView as _0x4ee68d}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x35a08d}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x45133c,KeystrokeHandler as _0x476730}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x3a05b1}from'./aiquickactionsbuttoncreator.js';function _0x2a65(){const _0x4df247=['first','ck-ai-quick-actions-search-result__action-row','addEventListener','_isSearchFocused','ck-ai-quick-actions','pin','_searchTextView','actions','ck-ai-quick-actions-search','set','text','1427817gsYgEy','role','add','div','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','view','commands','locale','_createSearchResultGroupedActionButton','mouseleave','_createSearchResultActionRow','88bnYwvG','aiQuickAction','_getButtonKeystroke','_createSearchTextView','focus','activeElement','fieldView','ArrowLeft','ck-ai-quick-actions-group-button','_openNestedPanels','some','_hideNestedPanel','ck-rounded-corners','queryView','bind','3967430HBbcaS','bindTemplate','ck-ai-quick-actions-button','840548QTWlLQ','keystrokes','get','icon','ck-ai-quick-actions-button_with-group__close-paren','isEnabled','ck-ai-quick-actions-button_with-group','608734dMAmtN','content','parent','uiLanguageDirection','174yDLXXB','execute','_createListItems','addMany','ck-reset_all','displayedPrompt','key','_createSearchResultIndividualActionButton','reset','ck-ai-quick-actions-search-result__group-row','chain','relatedTarget','ck-ai-quick-actions-button__group-icon','_createActionButton','ck-button_with-text','span','.ck-ai-quick-actions-group-panel','button','closest','resetSearch','_allSearchableItems','_createSearchResultContentView','focusCycler','AI_QUICK_ACTIONS_SEARCH','_showNestedPanel','ownerDocument','ck-button','optionsListView','_handleSearchResultButtonClick','menu','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-button_with-group__open-paren','_createGroupActionsList','ck-dropdown-menu__nested-menu__panel','isOn','1517858HEVUBO','_setupActionButtonExecution','2bxLhMb','rtl','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-group-list','_handlePanelKeydown','detachFromDom','items','show','eastSouth','.ck-ai-quick-actions-group-list','_setupGroupMenuBehavior','ck-ai-quick-actions-search-result__content','destroy','editing','hide','label','_bodyCollection','children','isVisible','focusTracker','ck-ai-quick-actions-group-panel','9122130TYkFGO','contains','231810ZncMyl','ck-dropdown-menu-list','ArrowRight','_hideAllNestedPanels','_getPanelKeystroke','element','_createActionGroupButton','menuitem','_hasSearch','ck-ai-quick-actions-search-result-button_with-group','_focusables','setTemplate','push','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-search-result-button','forEach','render','delete','_createSearchResultGroupRow','clear','.ck-ai-quick-actions-group-button','_createSearchResultActionButton','_isMovingToNestedMenu','extendTemplate','fire'];_0x2a65=function(){return _0x4df247;};return _0x2a65();}import{DropdownMenuButtonWithHighlightView as _0x3456ce}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x297cee}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x30c19a}from'./aiquickactionsfilteredlistview.js';const Js=_0x49fd90(0xf6),Xs=_0x49fd90(0x94);function _0x4707(_0x226040,_0xc3ae43){const _0x2a6565=_0x2a65();return _0x4707=function(_0x470763,_0x16db64){_0x470763=_0x470763-0x8f;let _0x4ed420=_0x2a6565[_0x470763];return _0x4ed420;},_0x4707(_0x226040,_0xc3ae43);}export class AIQuickActionsDropdownContentView extends _0x477b6e{[_0x49fd90(0x10e)];[_0x49fd90(0xf4)];[_0x49fd90(0xac)]=null;[_0x49fd90(0xed)]=[];[_0x49fd90(0x10f)];[_0x49fd90(0x111)];[_0x49fd90(0xcf)];[_0x49fd90(0x97)];[_0x49fd90(0xef)];[_0x49fd90(0xc5)]=new Set();[_0x49fd90(0x95)];constructor(_0x9aa6cc,_0x24b38a,_0x19e1cc,_0x5b2e47,_0x2b4d2d=!0x1){const _0x58f7ca=_0x49fd90,_0x4637ce=_0x9aa6cc[_0x58f7ca(0xb8)];super(_0x4637ce),this[_0x58f7ca(0x10e)]=_0x5b2e47,this[_0x58f7ca(0x95)]=_0x2b4d2d;const _0x21a84f=this[_0x58f7ca(0xdb)](_0x9aa6cc,_0x24b38a,_0x19e1cc);this[_0x58f7ca(0xf4)]=new _0x30c19a(_0x4637ce,_0x21a84f,this[_0x58f7ca(0xed)]),this[_0x58f7ca(0xf4)][_0x58f7ca(0xb2)]=Js,this[_0x58f7ca(0xf4)][_0x58f7ca(0x104)][_0x58f7ca(0xdc)](_0x21a84f),this[_0x58f7ca(0x111)]=new _0x45133c(),this[_0x58f7ca(0xcf)]=new _0x476730(),_0x2b4d2d&&(this[_0x58f7ca(0xac)]=this[_0x58f7ca(0xbf)]()),this[_0x58f7ca(0x97)]=_0x21a84f,this[_0x58f7ca(0xef)]=new _0x393f4c({'focusables':this[_0x58f7ca(0x97)],'focusTracker':this[_0x58f7ca(0x111)],'keystrokeHandler':this[_0x58f7ca(0xcf)]}),_0x2b4d2d&&this[_0x58f7ca(0xac)]&&this[_0x58f7ca(0xef)][_0x58f7ca(0xe3)](this[_0x58f7ca(0xac)][_0x58f7ca(0xef)]);const _0x4e8f92=_0x2b4d2d&&this[_0x58f7ca(0xac)]?[this[_0x58f7ca(0xac)]]:[this[_0x58f7ca(0xf4)]];this[_0x58f7ca(0x10f)]=new _0xb8dcde(_0x4e8f92),this[_0x58f7ca(0x98)]({'tag':_0x58f7ca(0xb4),'attributes':{'class':['ck',_0x58f7ca(0xdd),_0x58f7ca(0xaa),_0x58f7ca(0xc8)],'dir':_0x4637ce[_0x58f7ca(0xd8)]},'children':this[_0x58f7ca(0x10f)]});}[_0x49fd90(0xbf)](){const _0x3eb691=_0x49fd90;return new _0x4ee68d(this[_0x3eb691(0xb8)],{'filteredView':this[_0x3eb691(0xf4)],'queryView':{'label':_0x297cee(this[_0x3eb691(0xb8)],_0x3eb691(0xf0))},'class':_0x3eb691(0xae),'infoView':{'text':{'notFound':{'primary':_0x297cee(this[_0x3eb691(0xb8)],_0x3eb691(0xb5))}}}});}[_0x49fd90(0xa9)](){const _0x650b2b=_0x49fd90;if(!this[_0x650b2b(0x95)]||!this[_0x650b2b(0xac)]||!this[_0x650b2b(0xac)][_0x650b2b(0xc9)][_0x650b2b(0xc2)][_0x650b2b(0x92)])return!0x1;const _0x787c41=this[_0x650b2b(0xac)][_0x650b2b(0xc9)][_0x650b2b(0xc2)][_0x650b2b(0x92)][_0x650b2b(0xf2)]?.[_0x650b2b(0xc1)];return this[_0x650b2b(0xac)][_0x650b2b(0xc9)][_0x650b2b(0xc2)][_0x650b2b(0x92)][_0x650b2b(0x114)](_0x787c41);}[_0x49fd90(0xdb)](_0x40951f,_0x9e11b7,_0x271dd7){const _0x5bcae5=_0x49fd90,_0x2431ed=new _0xb8dcde();return _0x9e11b7[_0x5bcae5(0x9c)](_0x121cfe=>{const _0x379cd5=_0x5bcae5;if(_0x379cd5(0xad)in _0x121cfe){const {listItem:_0x16f775}=this[_0x379cd5(0x93)](_0x40951f,_0x121cfe,_0x271dd7);_0x2431ed[_0x379cd5(0xb3)](_0x16f775),_0x121cfe[_0x379cd5(0xad)][_0x379cd5(0x9c)](_0x5dbb4b=>{const _0x4178a3=_0x379cd5;this[_0x4178a3(0xe6)](_0x40951f,_0x5dbb4b,_0x121cfe[_0x4178a3(0x10d)],_0x121cfe[_0x4178a3(0xd1)]);const {listItem:_0x1f5d62,highlightViews:_0x25ba24}=this[_0x4178a3(0xa2)](_0x40951f,_0x5dbb4b,_0x121cfe[_0x4178a3(0x10d)],_0x121cfe[_0x4178a3(0xd1)]);this[_0x4178a3(0xed)][_0x4178a3(0x99)]({'item':_0x1f5d62,'label':_0x5dbb4b[_0x4178a3(0xde)],'groupLabel':_0x121cfe[_0x4178a3(0x10d)],'highlightViews':_0x25ba24});});}else{const {listItem:_0x3993c5}=this[_0x379cd5(0xe6)](_0x40951f,_0x121cfe);_0x2431ed[_0x379cd5(0xb3)](_0x3993c5);const _0x5225a3=_0x3993c5[_0x379cd5(0x10f)][_0x379cd5(0xa6)];if(_0x5225a3){const {listItem:_0x4feba,highlightViews:_0x2d4d13}=this[_0x379cd5(0xa2)](_0x40951f,_0x121cfe);this[_0x379cd5(0xed)][_0x379cd5(0x99)]({'item':_0x4feba,'label':_0x5225a3[_0x379cd5(0x10d)]||'','highlightViews':_0x2d4d13});}}}),_0x2431ed;}[_0x49fd90(0xe6)](_0xf905ce,_0x13e735,_0x51f77f,_0x22994f){const _0x19bf39=_0x49fd90,_0x437655=new _0x42f8ee(this[_0x19bf39(0xb8)]);if(_0x51f77f&&_0x22994f){const _0x3cca72=new _0x47ef07(this[_0x19bf39(0xb8)]),_0x1a5800=_0x3cca72[_0x19bf39(0xcc)],_0x1bd67a=new _0x306c6d();_0x1bd67a[_0x19bf39(0xb0)]=_0x13e735[_0x19bf39(0xde)];const _0x731cac=new _0x306c6d();_0x731cac[_0x19bf39(0xb0)]=_0x51f77f;const _0x1ee9bb=new _0x30810d();_0x1ee9bb[_0x19bf39(0xd6)]=_0x22994f,_0x1ee9bb[_0x19bf39(0xa4)]({'attributes':{'class':_0x19bf39(0xe5)}});const _0x5b2bdc=new _0x477b6e(this[_0x19bf39(0xb8)]);_0x5b2bdc[_0x19bf39(0x98)]({'tag':_0x19bf39(0xe8),'attributes':{'class':_0x19bf39(0xf8)},'children':[{'text':'\x20('}]});const _0x59d8a5=new _0x477b6e(this[_0x19bf39(0xb8)]);return _0x59d8a5[_0x19bf39(0x98)]({'tag':_0x19bf39(0xe8),'attributes':{'class':_0x19bf39(0xd2)},'children':[{'text':')'}]}),_0x3cca72[_0x19bf39(0xaf)]({'label':_0x13e735[_0x19bf39(0xde)]+'\x20('+_0x51f77f+')','withText':!0x0,'role':_0x19bf39(0x94),'class':_0x19bf39(0x9a),'tooltip':!0x1}),_0x3cca72[_0x19bf39(0x98)]({'tag':_0x19bf39(0xea),'attributes':{'class':['ck',_0x19bf39(0xf3),_0x19bf39(0xe7),_0x19bf39(0xcd),_0x19bf39(0xd4)],'type':_0x19bf39(0xea),'role':_0x19bf39(0x94),'tabindex':'-1'},'children':[_0x1bd67a,_0x5b2bdc,_0x1ee9bb,_0x731cac,_0x59d8a5],'on':{'mouseenter':_0x1a5800['to'](()=>{const _0x6d1e8b=_0x19bf39;this[_0x6d1e8b(0xa9)]()||_0x3cca72[_0x6d1e8b(0xc0)]();}),'click':_0x1a5800['to'](()=>{const _0x2ca6e1=_0x19bf39;_0x3cca72[_0x2ca6e1(0xa5)](_0x2ca6e1(0xda));})}}),_0x3cca72['on'](_0x19bf39(0xda),()=>{const _0x4ab672=_0x19bf39;_0xf905ce[_0x4ab672(0x10b)][_0x4ab672(0xb6)][_0x4ab672(0xc0)](),_0xf905ce[_0x4ab672(0xb7)][_0x4ab672(0xda)](_0x4ab672(0xbd),_0x13e735);}),_0x437655[_0x19bf39(0x10f)][_0x19bf39(0xb3)](_0x3cca72),{'listItem':_0x437655,'highlightViews':[_0x1bd67a,_0x731cac]};}{const _0x2762ec=new _0x1663d3(),_0x5d1dae=new _0x47ef07(this[_0x19bf39(0xb8)],_0x2762ec),_0x169c3a=_0x5d1dae[_0x19bf39(0xcc)],_0x5a0006=_0x13e735[_0x19bf39(0xd1)]??_0x13e735[_0x19bf39(0xd7)]?.[_0x19bf39(0xd1)],_0x16fbec=void 0x0!==_0x13e735[_0x19bf39(0xd1)];return _0x5d1dae[_0x19bf39(0xaf)]({'label':_0x13e735[_0x19bf39(0xde)],'withText':!0x0,'role':_0x19bf39(0x94),'icon':_0x16fbec?_0x5a0006??_0x35a08d:void 0x0,'tooltip':!0x1,'class':_0x19bf39(0xcd)}),_0x5d1dae[_0x19bf39(0xa4)]({'on':{'mouseenter':_0x169c3a['to'](()=>{const _0x5ef6f4=_0x19bf39;this[_0x5ef6f4(0xa9)]()||_0x5d1dae[_0x5ef6f4(0xc0)]();})}}),_0x5d1dae['on'](_0x19bf39(0xda),()=>{const _0x234d05=_0x19bf39;_0xf905ce[_0x234d05(0x10b)][_0x234d05(0xb6)][_0x234d05(0xc0)](),_0xf905ce[_0x234d05(0xb7)][_0x234d05(0xda)](_0x234d05(0xbd),_0x13e735);}),_0x437655[_0x19bf39(0x10f)][_0x19bf39(0xb3)](_0x5d1dae),{'listItem':_0x437655,'highlightViews':[_0x2762ec]};}}[_0x49fd90(0xa2)](_0x8c8aed,_0x5d1737,_0x3aff48,_0xc479e2){const _0xbc46ea=_0x49fd90;return _0x3aff48&&_0xc479e2?this[_0xbc46ea(0xb9)](_0x8c8aed,_0x5d1737,_0x3aff48,_0xc479e2):this[_0xbc46ea(0xe0)](_0x8c8aed,_0x5d1737);}[_0x49fd90(0xb9)](_0x2280a3,_0x5d3674,_0x47a931,_0x42a0e9){const _0x23ed6b=_0x49fd90,_0x205073=new _0x42f8ee(this[_0x23ed6b(0xb8)]),_0x3202af=new _0x47ef07(this[_0x23ed6b(0xb8)]),_0x36dbab=_0x3202af[_0x23ed6b(0xcc)],{view:_0x5def63,highlightView:_0x4dbb08}=this[_0x23ed6b(0x9f)](_0x47a931,_0x42a0e9),{view:_0x5c5142,highlightView:_0x5d78bc}=this[_0x23ed6b(0xbb)](_0x5d3674[_0x23ed6b(0xde)]),_0x52adce=this[_0x23ed6b(0xee)](_0x5def63,_0x5c5142);return _0x3202af[_0x23ed6b(0xaf)]({'label':_0x5d3674[_0x23ed6b(0xde)],'withText':!0x0,'role':_0x23ed6b(0x94),'class':_0x23ed6b(0x100),'tooltip':!0x1}),_0x3202af[_0x23ed6b(0x98)]({'tag':_0x23ed6b(0xea),'attributes':{'class':['ck',_0x23ed6b(0xf3),_0x23ed6b(0xe7),_0x23ed6b(0xcd),_0x23ed6b(0x9b),_0x23ed6b(0x96)],'type':_0x23ed6b(0xea),'role':_0x23ed6b(0x94),'tabindex':'-1'},'children':[_0x52adce],'on':{'mouseenter':_0x36dbab['to'](()=>{const _0x2fd394=_0x23ed6b;this[_0x2fd394(0xa9)]()||_0x3202af[_0x2fd394(0xc0)]();}),'click':_0x36dbab['to'](()=>{const _0x506f1b=_0x23ed6b;this[_0x506f1b(0xf5)](_0x3202af);})}}),this[_0x23ed6b(0xfd)](_0x3202af,_0x2280a3,_0x5d3674),_0x205073[_0x23ed6b(0x10f)][_0x23ed6b(0xb3)](_0x3202af),{'listItem':_0x205073,'highlightViews':[_0x4dbb08,_0x5d78bc]};}[_0x49fd90(0xe0)](_0x475876,_0x49909b){const _0x15b607=_0x49fd90,_0x71f3dd=new _0x42f8ee(this[_0x15b607(0xb8)]),_0x30cf53=new _0x1663d3(),_0x121cd1=new _0x47ef07(this[_0x15b607(0xb8)],_0x30cf53),_0x129904=_0x121cd1[_0x15b607(0xcc)];return _0x121cd1[_0x15b607(0xaf)]({'label':_0x49909b[_0x15b607(0xde)],'withText':!0x0,'role':_0x15b607(0x94),'icon':void 0x0,'tooltip':!0x1,'class':_0x15b607(0xf7)}),_0x121cd1[_0x15b607(0xa4)]({'on':{'mouseenter':_0x129904['to'](()=>{const _0x36df75=_0x15b607;this[_0x36df75(0xa9)]()||_0x121cd1[_0x36df75(0xc0)]();})}}),this[_0x15b607(0xfd)](_0x121cd1,_0x475876,_0x49909b),_0x71f3dd[_0x15b607(0x10f)][_0x15b607(0xb3)](_0x121cd1),{'listItem':_0x71f3dd,'highlightViews':[_0x30cf53]};}[_0x49fd90(0x9f)](_0x1f5baa,_0x32be34){const _0x332678=_0x49fd90,_0x394c2c=new _0x477b6e(this[_0x332678(0xb8)]),_0x49b2eb=new _0x30810d();_0x49b2eb[_0x332678(0xd6)]=_0x32be34,_0x49b2eb[_0x332678(0xa4)]({'attributes':{'class':_0x332678(0xe5)}});const _0x1d1332=new _0x306c6d();return _0x1d1332[_0x332678(0xb0)]=_0x1f5baa,_0x394c2c[_0x332678(0x98)]({'tag':_0x332678(0xb4),'attributes':{'class':_0x332678(0xe2)},'children':[_0x49b2eb,_0x1d1332]}),{'view':_0x394c2c,'highlightView':_0x1d1332};}[_0x49fd90(0xbb)](_0x6b039d){const _0x5f0700=_0x49fd90,_0x35d2c2=new _0x477b6e(this[_0x5f0700(0xb8)]),_0x547ac9=new _0x306c6d();return _0x547ac9[_0x5f0700(0xb0)]=_0x6b039d,_0x35d2c2[_0x5f0700(0x98)]({'tag':_0x5f0700(0xb4),'attributes':{'class':_0x5f0700(0xa7)},'children':[_0x547ac9]}),{'view':_0x35d2c2,'highlightView':_0x547ac9};}[_0x49fd90(0xee)](_0x28c1f3,_0x58b6bc){const _0x48de18=_0x49fd90,_0x37121e=new _0x477b6e(this[_0x48de18(0xb8)]);return _0x37121e[_0x48de18(0x98)]({'tag':_0x48de18(0xb4),'attributes':{'class':_0x48de18(0x109)},'children':[_0x28c1f3,_0x58b6bc]}),_0x37121e;}[_0x49fd90(0xfd)](_0xd53b2d,_0x54bd5d,_0x595df9){const _0x60268d=_0x49fd90;_0xd53b2d['on'](_0x60268d(0xda),()=>{const _0x527313=_0x60268d;_0x54bd5d[_0x527313(0x10b)][_0x527313(0xb6)][_0x527313(0xc0)](),_0x54bd5d[_0x527313(0xb7)][_0x527313(0xda)](_0x527313(0xbd),_0x595df9);});}[_0x49fd90(0x93)](_0x54f84c,_0x33939f,_0x5da891){const _0x446c91=_0x49fd90,_0x1d9c51=new _0x42f8ee(this[_0x446c91(0xb8)]),_0x481ec3=new _0x1663d3(),_0x5231ca=new _0x3456ce(this[_0x446c91(0xb8)],_0x481ec3),_0x34654c=_0x5231ca[_0x446c91(0xcc)],_0x37afa2=this[_0x446c91(0x91)](_0x5da891),_0x45a92c=this[_0x446c91(0xf9)](_0x54f84c,_0x33939f[_0x446c91(0xad)],_0x5da891);_0x5231ca[_0x446c91(0xaf)]({'label':_0x33939f[_0x446c91(0x10d)],'withText':!0x0,'role':Xs,'icon':_0x33939f[_0x446c91(0xd1)]??_0x35a08d,'isEnabled':_0x33939f[_0x446c91(0xad)][_0x446c91(0xc6)](_0x5e5aef=>_0x5e5aef[_0x446c91(0xd3)])}),_0x5231ca[_0x446c91(0xa4)]({'on':{'mouseenter':_0x34654c['to'](()=>{const _0x256de5=_0x446c91;this[_0x256de5(0xa9)]()||_0x5231ca[_0x256de5(0xc0)]();})}});const _0x22cc46=new _0x113707(this[_0x446c91(0xb8)]);return _0x22cc46[_0x446c91(0xa4)]({'attributes':{'class':['ck',_0x446c91(0xdd),_0x446c91(0x112),_0x446c91(0xfa)]},'on':{'keydown':_0x34654c['to'](_0x2b0316=>{const _0x4d8a64=_0x446c91;this[_0x4d8a64(0x102)](_0x2b0316,_0x37afa2,_0x5231ca,_0x22cc46);})}}),_0x5231ca[_0x446c91(0xca)](_0x446c91(0xfb))['to'](_0x22cc46,_0x446c91(0x110)),this[_0x446c91(0x10e)][_0x446c91(0xb3)](_0x22cc46),_0x22cc46[_0x446c91(0xd6)][_0x446c91(0xb3)](_0x45a92c),this[_0x446c91(0x108)](_0x5231ca,_0x22cc46),_0x1d9c51[_0x446c91(0x10f)][_0x446c91(0xb3)](_0x5231ca),{'listItem':_0x1d9c51,'highlightView':_0x481ec3};}[_0x49fd90(0xf9)](_0x5c5588,_0x47abdf,_0x48bb9a){const _0x10f386=_0x49fd90,_0x587053=new _0x4cfa91(this[_0x10f386(0xb8)]);return _0x587053[_0x10f386(0xa4)]({'attributes':{'class':['ck',_0x10f386(0xdd),_0x10f386(0x101),_0x10f386(0x116)]}}),_0x47abdf[_0x10f386(0x9c)](_0x25c9d5=>{const _0x5def5a=_0x10f386,_0x4ceac4=new _0x42f8ee(this[_0x5def5a(0xb8)]),_0xfda511=_0x3a05b1({'editor':_0x5c5588,'action':_0x25c9d5,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x5def5a(0xa9)]()})();_0x4ceac4[_0x5def5a(0x10f)][_0x5def5a(0xb3)](_0xfda511),_0x48bb9a[_0x5def5a(0x111)][_0x5def5a(0xb3)](_0xfda511),_0x587053[_0x5def5a(0x104)][_0x5def5a(0xb3)](_0x4ceac4);}),_0x587053;}[_0x49fd90(0x108)](_0x361169,_0x4ec5bc){const _0x4f1fda=_0x49fd90,_0x2c342f=_0x361169[_0x4f1fda(0xcc)],_0xf7416c=this[_0x4f1fda(0xbe)](_0x361169);_0x361169[_0x4f1fda(0xa4)]({'attributes':{'class':[_0x4f1fda(0xc4)]},'on':{'mouseenter':_0x2c342f['to'](()=>{const _0x2a9d6b=_0x4f1fda;this[_0x2a9d6b(0xf1)](_0x4ec5bc,_0x361169);}),'mouseleave':_0x2c342f['to'](_0x3dbc90=>{const _0x9a4747=_0x4f1fda,_0x3e34ae=_0x3dbc90[_0x9a4747(0xe4)];this[_0x9a4747(0xa3)](_0x3e34ae,_0x4ec5bc)||this[_0x9a4747(0xc7)](_0x4ec5bc);}),'keydown':_0x2c342f['to'](_0x435c7d=>{const _0x233659=_0x4f1fda;_0x435c7d[_0x233659(0xdf)]==_0xf7416c&&(this[_0x233659(0xf1)](_0x4ec5bc,_0x361169),_0x4ec5bc[_0x233659(0xd6)][_0x233659(0xd0)](0x0)[_0x233659(0xc0)]());})}}),_0x4ec5bc['on'](_0x4f1fda(0x9d),()=>{const _0x59df24=_0x4f1fda;_0x4ec5bc[_0x59df24(0x92)]?.[_0x59df24(0xa8)](_0x59df24(0xba),_0x2949ff=>{const _0x2da410=_0x59df24,_0x12c371=_0x2949ff[_0x2da410(0xe4)];_0x361169[_0x2da410(0x92)]?.[_0x2da410(0x114)](_0x12c371)||this[_0x2da410(0xa3)](_0x12c371,_0x4ec5bc)||this[_0x2da410(0xc7)](_0x4ec5bc);});});}[_0x49fd90(0xf1)](_0x3de80f,_0x445253){const _0x11e818=_0x49fd90;this[_0x11e818(0xc5)][_0x11e818(0x9c)](_0x281e8f=>{const _0x5606d6=_0x11e818;_0x281e8f!==_0x3de80f&&_0x281e8f[_0x5606d6(0x110)]&&_0x281e8f[_0x5606d6(0x10c)]();}),_0x3de80f[_0x11e818(0x105)](),_0x3de80f[_0x11e818(0xab)]({'positions':[_0x555b4f[_0x11e818(0x106)]],'target':_0x445253[_0x11e818(0x92)],'fitInViewport':!0x0}),this[_0x11e818(0xc5)][_0x11e818(0xb3)](_0x3de80f);}[_0x49fd90(0xc7)](_0x341217){const _0x388db1=_0x49fd90;_0x341217[_0x388db1(0x10c)](),this[_0x388db1(0xc5)][_0x388db1(0x9e)](_0x341217);}[_0x49fd90(0x90)](){const _0x58348a=_0x49fd90;this[_0x58348a(0xc5)][_0x58348a(0x9c)](_0x1727d0=>_0x1727d0[_0x58348a(0x10c)]()),this[_0x58348a(0xc5)][_0x58348a(0xa0)]();}[_0x49fd90(0xa3)](_0x5aaacc,_0x365113){const _0x21581d=_0x49fd90;if(!_0x5aaacc)return!0x1;if(_0x365113[_0x21581d(0x92)]?.[_0x21581d(0x114)](_0x5aaacc))return!0x0;const _0xdda3b9=_0x5aaacc;return _0xdda3b9[_0x21581d(0xeb)]&&(null!==_0xdda3b9[_0x21581d(0xeb)](_0x21581d(0xe9))||null!==_0xdda3b9[_0x21581d(0xeb)](_0x21581d(0x107))||null!==_0xdda3b9[_0x21581d(0xeb)](_0x21581d(0xa1)));}[_0x49fd90(0xec)](){const _0x2bb178=_0x49fd90;this[_0x2bb178(0xac)]&&this[_0x2bb178(0xac)][_0x2bb178(0xe1)]();}[_0x49fd90(0x10a)](){const _0x5aa977=_0x49fd90;this[_0x5aa977(0x90)](),this[_0x5aa977(0x10e)][_0x5aa977(0x103)](),super[_0x5aa977(0x10a)]();}[_0x49fd90(0xc0)](){const _0x2a439b=_0x49fd90;this[_0x2a439b(0xac)]?this[_0x2a439b(0xac)][_0x2a439b(0xc0)]():this[_0x2a439b(0xf4)][_0x2a439b(0xc0)]();}[_0x49fd90(0x91)](_0xf91170){const _0x4e8ca2=_0x49fd90;return _0x4e8ca2(0xff)===_0xf91170[_0x4e8ca2(0xb8)][_0x4e8ca2(0xd8)]?_0x4e8ca2(0x8f):_0x4e8ca2(0xc3);}[_0x49fd90(0xbe)](_0x9a1c3d){const _0xb8954f=_0x49fd90;return _0xb8954f(0xff)===_0x9a1c3d[_0xb8954f(0xb8)][_0xb8954f(0xd8)]?_0xb8954f(0xc3):_0xb8954f(0x8f);}[_0x49fd90(0x102)](_0x36d2de,_0x57c618,_0x26fe49,_0x153b36){const _0x15e5f5=_0x49fd90;_0x36d2de[_0x15e5f5(0xdf)]==_0x57c618&&(_0x26fe49[_0x15e5f5(0xc0)](),this[_0x15e5f5(0xc7)](_0x153b36));}[_0x49fd90(0xf5)](_0x44009f){const _0x15a036=_0x49fd90;_0x44009f[_0x15a036(0xa5)](_0x15a036(0xda));}}
|