@ckeditor/ckeditor5-ai 47.1.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +573 -203
- package/dist/index.css +627 -204
- package/dist/index.js +5 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +8 -1
- package/lang/translations/af.po +52 -4
- package/lang/translations/ar.po +52 -4
- package/lang/translations/ast.po +52 -4
- package/lang/translations/az.po +52 -4
- package/lang/translations/be.po +52 -4
- package/lang/translations/bg.po +52 -4
- package/lang/translations/bn.po +52 -4
- package/lang/translations/bs.po +52 -4
- package/lang/translations/ca.po +52 -4
- package/lang/translations/cs.po +52 -4
- package/lang/translations/da.po +52 -4
- package/lang/translations/de-ch.po +52 -4
- package/lang/translations/de.po +52 -4
- package/lang/translations/el.po +52 -4
- package/lang/translations/en-au.po +52 -4
- package/lang/translations/en-gb.po +52 -4
- package/lang/translations/en.po +52 -4
- package/lang/translations/eo.po +52 -4
- package/lang/translations/es-co.po +52 -4
- package/lang/translations/es.po +52 -4
- package/lang/translations/et.po +52 -4
- package/lang/translations/eu.po +52 -4
- package/lang/translations/fa.po +52 -4
- package/lang/translations/fi.po +52 -4
- package/lang/translations/fr.po +52 -4
- package/lang/translations/gl.po +52 -4
- package/lang/translations/gu.po +52 -4
- package/lang/translations/he.po +52 -4
- package/lang/translations/hi.po +52 -4
- package/lang/translations/hr.po +52 -4
- package/lang/translations/hu.po +52 -4
- package/lang/translations/hy.po +52 -4
- package/lang/translations/id.po +52 -4
- package/lang/translations/it.po +52 -4
- package/lang/translations/ja.po +52 -4
- package/lang/translations/jv.po +52 -4
- package/lang/translations/kk.po +52 -4
- package/lang/translations/km.po +52 -4
- package/lang/translations/kn.po +52 -4
- package/lang/translations/ko.po +52 -4
- package/lang/translations/ku.po +52 -4
- package/lang/translations/lt.po +52 -4
- package/lang/translations/lv.po +52 -4
- package/lang/translations/ms.po +52 -4
- package/lang/translations/nb.po +52 -4
- package/lang/translations/ne.po +52 -4
- package/lang/translations/nl.po +52 -4
- package/lang/translations/no.po +52 -4
- package/lang/translations/oc.po +52 -4
- package/lang/translations/pl.po +52 -4
- package/lang/translations/pt-br.po +52 -4
- package/lang/translations/pt.po +52 -4
- package/lang/translations/ro.po +52 -4
- package/lang/translations/ru.po +52 -4
- package/lang/translations/si.po +52 -4
- package/lang/translations/sk.po +52 -4
- package/lang/translations/sl.po +52 -4
- package/lang/translations/sq.po +52 -4
- package/lang/translations/sr-latn.po +52 -4
- package/lang/translations/sr.po +52 -4
- package/lang/translations/sv.po +52 -4
- package/lang/translations/th.po +52 -4
- package/lang/translations/ti.po +52 -4
- package/lang/translations/tk.po +52 -4
- package/lang/translations/tr.po +52 -4
- package/lang/translations/tt.po +52 -4
- package/lang/translations/ug.po +52 -4
- package/lang/translations/uk.po +52 -4
- package/lang/translations/ur.po +52 -4
- package/lang/translations/uz.po +52 -4
- package/lang/translations/vi.po +52 -4
- package/lang/translations/zh-cn.po +52 -4
- package/lang/translations/zh.po +52 -4
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +1 -1
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +5 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.d.ts +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +1 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +4 -0
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +8 -29
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.d.ts +2 -2
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.d.ts +4 -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.d.ts +4 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
- package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.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 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +28 -7
- package/src/aicore/aiconnector.d.ts +1 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.d.ts +66 -0
- package/src/aicore/model/aimodels.js +23 -0
- package/src/aicore/model/aireply.d.ts +9 -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.d.ts +5 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.d.ts +2 -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/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +12 -0
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
- package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
- package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
- package/theme/aichat/aichat-controls.css +11 -27
- package/theme/aichat/aichat.css +2 -3
- package/theme/aichat/aichatfeed.css +1 -27
- package/theme/aichat/aichathistory.css +12 -0
- package/theme/aichat/aisuggestioncontainer.css +5 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
- package/theme/aireviewmode/aireviewmode.css +17 -7
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -0
- package/theme/aitabs/tabs/tabsview.css +1 -0
- package/theme/common/aibutton.css +27 -0
- package/theme/common/aiheader.css +14 -4
- package/theme/common/aitrackchanges.css +8 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
- package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
- package/src/aireviewmode/model/aireviewmodels.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3c9ddb,_0x253fb3){const _0x59860c=_0x5b8b,_0x4cb74e=_0x3c9ddb();while(!![]){try{const _0xc8f645=-parseInt(_0x59860c(0xcf))/0x1+-parseInt(_0x59860c(0xba))/0x2*(-parseInt(_0x59860c(0xbb))/0x3)+parseInt(_0x59860c(0xd3))/0x4+-parseInt(_0x59860c(0xc6))/0x5+-parseInt(_0x59860c(0xbd))/0x6+-parseInt(_0x59860c(0xca))/0x7*(-parseInt(_0x59860c(0xd8))/0x8)+parseInt(_0x59860c(0xda))/0x9*(parseInt(_0x59860c(0xc8))/0xa);if(_0xc8f645===_0x253fb3)break;else _0x4cb74e['push'](_0x4cb74e['shift']());}catch(_0x207fdc){_0x4cb74e['push'](_0x4cb74e['shift']());}}}(_0x5e01,0xd5fc5));import{transformOperationSets as _0x25ef86}from'ckeditor5/src/engine.js';import{append as _0x1d9eb6,findByAttribute as _0x52ddf5,prependChild as _0x578ecb,removeElement as _0x2d367b,serialize as _0x485809}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x6b2b15,interaction:_0x10b8fc,reply:_0x2898e4,groups:_0x1054f2,transform:_0x47047d,documentCompare:_0x3a4b45,documentCompareOptions:_0x1d6be1}){const _0x200c34=_0x5b8b,_0x196243=_0x10b8fc[_0x200c34(0xd9)]();if(!_0x196243)return[];const _0x2a96e9=_0x196243[_0x200c34(0xc4)],_0x4d65a7=_0x196243[_0x200c34(0xc1)],_0xd8138b=_0x2898e4[_0x200c34(0xce)][_0x200c34(0xc2)](!0x0);for(const {changes:_0x3785e4}of _0x1054f2){const _0x50611d=_0x3785e4[_0x200c34(0xcc)](_0x3f9b9e=>_0x200c34(0xc9)!=_0x3f9b9e[_0x200c34(0xc5)])[_0x200c34(0xd6)](_0x3c234e=>_0x52ddf5(_0x200c34(0xd2),_0x3c234e['id'],_0xd8138b)),_0x145fa0=_0x3785e4[_0x200c34(0xcc)](_0x59b995=>_0x200c34(0xd1)!=_0x59b995[_0x200c34(0xc5)])[_0x200c34(0xd6)](_0x8c0fa4=>_0x8c0fa4[_0x200c34(0xbc)][_0x200c34(0xc2)](!0x0));let _0x556a4a=null;if(_0x50611d[_0x200c34(0xcb)]){_0x556a4a=_0x50611d[0x0][_0x200c34(0xd5)];for(let _0x39f8fd=0x0;_0x39f8fd<_0x50611d[_0x200c34(0xcb)];_0x39f8fd++)_0x2d367b(_0x50611d[_0x39f8fd]);}if(_0x145fa0[_0x200c34(0xcb)]){_0x556a4a||(_0x3785e4[0x0][_0x200c34(0xb9)]?_0x556a4a=_0x52ddf5(_0x200c34(0xd2),_0x3785e4[0x0][_0x200c34(0xb9)],_0xd8138b):(_0x556a4a=_0x145fa0[_0x200c34(0xbf)](),_0x578ecb(_0xd8138b,_0x556a4a)));for(let _0x386e5d=0x0;_0x386e5d<_0x145fa0[_0x200c34(0xcb)];_0x386e5d++)_0x1d9eb6(_0x556a4a,_0x145fa0[_0x386e5d]),_0x556a4a=_0x145fa0[_0x386e5d];}}const _0x355f6a=_0x485809(_0xd8138b),_0xb143b6=_0x3a4b45[_0x200c34(0xc3)](_0x2a96e9,_0x355f6a,_0x1d6be1)[_0x200c34(0xdc)]();if(_0x47047d){const _0x4135f5=_0x6b2b15[_0x200c34(0xd0)][_0x200c34(0xbe)][_0x200c34(0xcd)][_0x200c34(0xdc)](_0x4d65a7),_0x127c6e={'document':_0x6b2b15[_0x200c34(0xd0)][_0x200c34(0xbe)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x25ef86(_0xb143b6,_0x4135f5,_0x127c6e)[_0x200c34(0xd4)];}return _0xb143b6;}function _0x5b8b(_0x5b5de1,_0x15e0e1){const _0x5e0120=_0x5e01();return _0x5b8b=function(_0x5b8b7d,_0x57e0a3){_0x5b8b7d=_0x5b8b7d-0xb9;let _0x607795=_0x5e0120[_0x5b8b7d];return _0x607795;},_0x5b8b(_0x5b5de1,_0x15e0e1);}export function fixMarkerOperationOldRange(_0x531550,_0x181956){const _0x5b4b81=_0x5b8b;if(_0x5b4b81(0xdd)!=_0x181956[_0x5b4b81(0xc5)])return;const _0x4d3e00=_0x531550[_0x5b4b81(0xd0)][_0x5b4b81(0xc0)][_0x5b4b81(0xd7)](_0x181956[_0x5b4b81(0xdb)]);_0x4d3e00&&(_0x181956[_0x5b4b81(0xde)]=_0x4d3e00[_0x5b4b81(0xc7)]());}function _0x5e01(){const _0x360718=['marker','oldRange','anchorId','6134auTlaU','957SAURpX','node','3717810RajNzP','document','shift','markers','version','cloneNode','getDiff','content','type','8029295GWzwoF','getRange','370HeMlgF','new','155281oDusyQ','length','filter','history','documentContextContent','187603jYPHHt','model','removed','data-id','2585100nkdRVh','operationsA','previousSibling','map','get','536ASFQfb','getDocumentContext','43461IZmrIR','name','getOperations'];_0x5e01=function(){return _0x360718;};return _0x5e01();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xc721(){const _0x5b8e11=['getShiftedBy','schema','moveTargetPosition','data','createPositionFromPath','749541Nklstp','position','offset','isBlock','changes','448esjdtZ','stickiness','getOperations','backward','type','marker','start','$root','plugins','parent','batch','sourcePosition','12YPaDYV','116417Cfdfiu','word','range','...','getMinimalFlatRanges','removeAttribute','children','POSITIVE_INFINITY','2lPBfJy','remove','132bPiQwF','11622gmYajM','split','4272345CvQZdQ','isBefore','insert','getTransformedByOperation','splitPosition','nodeBefore','length','_getTransformedByDeletion','$text','root','get','data-id','focus','model','TrackChangesEditing','forward','isDocumentOperation','name','rename','createPositionAt','1390XseJuy','applyOperation','element','textNode','modifySelection','1057698DeRtoH','slice','createSelection','parse','_getTransformedByInsertion','targetPosition','getFirstRange','getMovedRangeStart','DocumentCompare','push','change','markers','node','nodeAfter','createRange','end','newRange','20AhsYIh','isAfter','clone','isObject','path','baseVersion','getDiff','isMarkedRemoveOperation','setTo','removed','cloneNode','index','merge','map','new','7735023StJfpu','addOperation','howMany','stringify','changeAttribute','delete','152548xRCEXc','_applyOperationsAsSuggestions','reverse','addAttribute','set','toNone'];_0xc721=function(){return _0x5b8e11;};return _0xc721();}(function(_0x32999f,_0x27bd4a){const _0x5f4a18=_0x17ec,_0x4d6606=_0x32999f();while(!![]){try{const _0x5bf491=-parseInt(_0x5f4a18(0x19e))/0x1*(-parseInt(_0x5f4a18(0x1c3))/0x2)+-parseInt(_0x5f4a18(0x1e1))/0x3*(-parseInt(_0x5f4a18(0x1ba))/0x4)+parseInt(_0x5f4a18(0x1dc))/0x5*(-parseInt(_0x5f4a18(0x1c6))/0x6)+parseInt(_0x5f4a18(0x1bb))/0x7*(parseInt(_0x5f4a18(0x1ae))/0x8)+-parseInt(_0x5f4a18(0x198))/0x9*(parseInt(_0x5f4a18(0x189))/0xa)+parseInt(_0x5f4a18(0x1c8))/0xb+parseInt(_0x5f4a18(0x1c5))/0xc*(parseInt(_0x5f4a18(0x1a9))/0xd);if(_0x5bf491===_0x27bd4a)break;else _0x4d6606['push'](_0x4d6606['shift']());}catch(_0x4c2609){_0x4d6606['push'](_0x4d6606['shift']());}}}(_0xc721,0xdd648));import{findOne as _0x4fdeb9,getAttribute as _0x47d62d,Document as _0x278575,serialize as _0x1d3397,parse as _0x3bee13}from'./htmlparser.js';import{_DetachOperation as _0x5ce2a7,_removeFromModelNodeList as _0x73569e,_insertIntoModelNodeList as _0x3900a9}from'ckeditor5/src/engine.js';export function getSuggestionPartsFromReply({editor:_0x507e9c,changeGroups:_0xff4717,documentContextContent:_0x3debcd,showDiff:_0x40ec87,trimUnchanged:_0x13f7f7=!0x0}){const _0x1457c9=_0x17ec;return _0xff4717[_0x1457c9(0x196)](_0x36ae06=>{const _0x30ba63=_0x1457c9,_0x5cd868=new _0x278575([]),_0x3089bd=new _0x278575([]);for(const _0x1b07fe of _0x36ae06[_0x30ba63(0x1ad)])if(_0x40ec87&&_0x30ba63(0x192)==_0x1b07fe[_0x30ba63(0x1b2)]||_0x3089bd[_0x30ba63(0x1c1)][_0x30ba63(0x181)](_0x1b07fe[_0x30ba63(0x184)][_0x30ba63(0x193)](!0x0)),_0x30ba63(0x197)!=_0x1b07fe[_0x30ba63(0x1b2)]&&(_0x40ec87||_0x30ba63(0x192)!=_0x1b07fe[_0x30ba63(0x1b2)])){const _0x4fa9c7=_0x4fdeb9(_0x5dba69=>_0x47d62d(_0x5dba69,_0x30ba63(0x1d3))==_0x1b07fe['id'],_0x3debcd,!0x0);_0x4fa9c7&&_0x5cd868[_0x30ba63(0x1c1)][_0x30ba63(0x181)](_0x4fa9c7[_0x30ba63(0x193)](!0x0));}const {content:_0xabaa05,hasChanges:_0x418b61}=function(_0x19b501,_0x3cb5a1,_0xbfd8f4,_0x34fef6,_0x167e2b=!0x0){const _0xc1005d=_0x30ba63,_0x1203f2=_0x19b501[_0xc1005d(0x1b6)][_0xc1005d(0x1d2)](_0xc1005d(0x180)),_0x2c9b09=_0x19b501[_0xc1005d(0x1b6)][_0xc1005d(0x1d2)](_0xc1005d(0x1d6)),_0x2b7a09=_0x1d3397(_0x3cb5a1),_0xe70ce1=_0x1d3397(_0xbfd8f4),_0x340319=_0x19b501[_0xc1005d(0x1a7)][_0xc1005d(0x17b)](_0x2b7a09,_0xc1005d(0x1b5)),_0x3d16ff=_0x19b501[_0xc1005d(0x1d5)][_0xc1005d(0x1db)](_0x340319,0x0),_0x3ed867=_0x1203f2[_0xc1005d(0x18f)](_0x2b7a09,_0xe70ce1,{'anchor':_0x3d16ff,'markDeletions':_0x34fef6}),_0x76763a=_0x3ed867[_0xc1005d(0x1b0)]();if(0x0==_0x76763a[_0xc1005d(0x1ce)])return{'content':_0x3cb5a1[_0xc1005d(0x193)](!0x0),'hasChanges':!0x1};_0x34fef6?_0x2c9b09[_0xc1005d(0x19f)](_0x76763a):_0x19b501[_0xc1005d(0x1d5)][_0xc1005d(0x182)](_0x33d334=>{const _0x559660=_0xc1005d;for(const _0x490dce of _0x76763a)if(_0x559660(0x1c4)==_0x490dce[_0x559660(0x1b2)]){const _0x1aee73=_0x490dce[_0x559660(0x1b9)],_0x1f0df8=_0x490dce[_0x559660(0x19a)],_0x503bad=new _0x5ce2a7(_0x1aee73,_0x1f0df8);_0x33d334[_0x559660(0x1b8)][_0x559660(0x199)](_0x503bad),_0x19b501[_0x559660(0x1d5)][_0x559660(0x1dd)](_0x503bad);}else{if(_0x559660(0x1b3)==_0x490dce[_0x559660(0x1b2)]){const _0xc8020f=_0x490dce[_0x559660(0x1d9)],_0x166626=_0x490dce[_0x559660(0x188)];_0x340319[_0x559660(0x183)][_0x559660(0x1a2)](_0xc8020f,_0x166626);}else _0x490dce[_0x559660(0x18e)]=null,_0x490dce[_0x559660(0x1d8)]=!0x1,_0x33d334[_0x559660(0x1b8)][_0x559660(0x199)](_0x490dce),_0x19b501[_0x559660(0x1d5)][_0x559660(0x1dd)](_0x490dce);}});if(_0x167e2b){const _0x326531=getMinimalSelection(_0x19b501,_0x76763a,_0x340319);expandSelectionWithContext(_0x19b501[_0xc1005d(0x1d5)],_0x326531),function(_0x4a23bc,_0xc21bd8){const _0x469585=_0xc1005d,_0x12c79d=_0xc21bd8[_0x469585(0x17e)]()[_0x469585(0x1b4)];let _0x52fd27=_0xc21bd8[_0x469585(0x17e)]()[_0x469585(0x187)];const _0x1e1933=_0x12c79d[_0x469585(0x1d1)];(_0x52fd27[_0x469585(0x1df)]||_0x52fd27[_0x469585(0x185)]&&_0x52fd27[_0x469585(0x185)]['is'](_0x469585(0x1d0)))&&(_0x3900a9(_0x52fd27,_0x469585(0x1be)),_0x52fd27=_0x52fd27[_0x469585(0x1a4)](0x3)),(_0x12c79d[_0x469585(0x1df)]||_0x12c79d[_0x469585(0x1cd)]&&_0x12c79d[_0x469585(0x1cd)]['is'](_0x469585(0x1d0)))&&(_0x3900a9(_0x12c79d,_0x469585(0x1be)),function(_0x403d2e,_0x48a6db,_0x927af1){const _0x4ddc4f=_0x469585;for(let [_0x3832f6,_0x45ca1c]of _0x403d2e[_0x4ddc4f(0x183)]){const _0x3f8c58=_0x45ca1c[_0x4ddc4f(0x17c)](_0x48a6db,_0x927af1,!0x1);_0x45ca1c=_0x3f8c58[0x0],_0x403d2e[_0x4ddc4f(0x183)][_0x4ddc4f(0x1a2)](_0x3832f6,_0x45ca1c);}}(_0x1e1933,_0x12c79d,0x3),_0x12c79d[_0x469585(0x1b7)]==_0x52fd27[_0x469585(0x1b7)]&&(_0x52fd27=_0x52fd27[_0x469585(0x1a4)](0x3)));const _0x119513=_0x4a23bc[_0x469585(0x186)](_0x4a23bc[_0x469585(0x1db)](_0x1e1933,0x0),_0x12c79d),_0x3237af=_0x4a23bc[_0x469585(0x186)](_0x52fd27,_0x4a23bc[_0x469585(0x1db)](_0x1e1933,_0x469585(0x187))),_0x409f3e=[..._0x119513[_0x469585(0x1bf)](),..._0x3237af[_0x469585(0x1bf)]()];_0x409f3e[_0x469585(0x1a0)]();for(const _0x127e0a of _0x409f3e)_0x73569e(_0x127e0a),_transformMarkersByDeletion(_0x1e1933,_0x127e0a);}(_0x19b501[_0xc1005d(0x1d5)],_0x326531);}const _0x4192aa=_0x19b501[_0xc1005d(0x1a7)][_0xc1005d(0x19b)](_0x340319,{'showSuggestionHighlights':!0x0});return{'content':_0x3bee13(_0x4192aa),'hasChanges':!0x0};}(_0x507e9c,_0x5cd868,_0x3089bd,_0x40ec87,_0x13f7f7);return{'type':_0x36ae06[_0x30ba63(0x1ad)][0x0][_0x30ba63(0x1b2)],'index':_0x36ae06[_0x30ba63(0x194)],'content':_0xabaa05,'hasChanges':_0x418b61};});}export function getMinimalSelection(_0x5afcb7,_0x4e958b,_0x1b85cf){const _0x2d984b=_0x17ec,_0x2c75ab=_0x5afcb7[_0x2d984b(0x1b6)][_0x2d984b(0x1d2)](_0x2d984b(0x180));let _0x5f0b8a=_0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x1db)](_0x1b85cf,Number[_0x2d984b(0x1c2)]),_0x437c35=_0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x1db)](_0x1b85cf,0x0);for(const _0x4b7947 of _0x4e958b){let _0x44284d,_0x5a7f08;if(_0x2c75ab[_0x2d984b(0x190)](_0x4b7947))_0x44284d=_0x4b7947[_0x2d984b(0x188)][_0x2d984b(0x1b4)],_0x5a7f08=_0x4b7947[_0x2d984b(0x188)][_0x2d984b(0x187)];else switch(_0x5f0b8a=_0x5f0b8a[_0x2d984b(0x1cb)](_0x4b7947),_0x437c35=_0x437c35[_0x2d984b(0x1cb)](_0x4b7947),_0x4b7947[_0x2d984b(0x1b2)]){case _0x2d984b(0x1da):_0x44284d=_0x4b7947[_0x2d984b(0x1aa)],_0x5a7f08=_0x44284d[_0x2d984b(0x1a4)](0x1);break;case _0x2d984b(0x1a1):case _0x2d984b(0x1c0):case _0x2d984b(0x19c):_0x44284d=_0x4b7947[_0x2d984b(0x1bd)][_0x2d984b(0x1b4)],_0x5a7f08=_0x4b7947[_0x2d984b(0x1bd)][_0x2d984b(0x187)];break;case _0x2d984b(0x1ca):_0x44284d=_0x4b7947[_0x2d984b(0x1aa)],_0x5a7f08=_0x44284d[_0x2d984b(0x1a4)](_0x4b7947[_0x2d984b(0x19a)]);break;case _0x2d984b(0x1c7):_0x44284d=_0x4b7947[_0x2d984b(0x1cc)],_0x5a7f08=_0x4b7947[_0x2d984b(0x1a6)];break;case _0x2d984b(0x195):{const _0x592162=_0x4b7947[_0x2d984b(0x17d)][_0x2d984b(0x18d)][_0x2d984b(0x179)](0x0,-0x1);_0x44284d=_0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x1a8)](_0x1b85cf,_0x592162),_0x5a7f08=_0x44284d[_0x2d984b(0x1a4)](0x1);break;}case _0x2d984b(0x1c4):{const _0x42abf3=_0x4b7947[_0x2d984b(0x19a)],_0x4e4224=_0x4b7947[_0x2d984b(0x1b9)][_0x2d984b(0x17c)](_0x4b7947[_0x2d984b(0x17d)],_0x42abf3),_0x2ed9ce=_0x4b7947[_0x2d984b(0x17f)]();_0x2d984b(0x1c4)==_0x4b7947[_0x2d984b(0x1b2)]?(_0x44284d=_0x4e4224,_0x5a7f08=_0x4e4224):(_0x44284d=_0x2ed9ce,_0x5a7f08=_0x2ed9ce[_0x2d984b(0x1a4)](_0x42abf3));break;}}_0x44284d&&_0x44284d[_0x2d984b(0x1c9)](_0x5f0b8a)&&(_0x5f0b8a=_0x44284d[_0x2d984b(0x18b)](),_0x5f0b8a[_0x2d984b(0x1af)]=_0x2d984b(0x1a3)),_0x5a7f08&&_0x5a7f08[_0x2d984b(0x18a)](_0x437c35)&&(_0x437c35=_0x5a7f08[_0x2d984b(0x18b)](),_0x437c35[_0x2d984b(0x1af)]=_0x2d984b(0x1a3));}return _0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x17a)](_0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x186)](_0x5f0b8a,_0x437c35));}function _0x17ec(_0x47ce67,_0xa26545){const _0xc721a1=_0xc721();return _0x17ec=function(_0x17ec85,_0x22b026){_0x17ec85=_0x17ec85-0x179;let _0x1b7001=_0xc721a1[_0x17ec85];return _0x1b7001;},_0x17ec(_0x47ce67,_0xa26545);}export function expandSelectionWithContext(_0xdc11df,_0xb51261){const _0x4ba687=_0x17ec;an(_0xdc11df,_0xb51261,_0x4ba687(0x1d7));const _0x1f8298=_0xb51261[_0x4ba687(0x17e)]();_0xb51261[_0x4ba687(0x191)]([]),_0xb51261[_0x4ba687(0x191)](_0x1f8298,{'backward':!0x0}),an(_0xdc11df,_0xb51261,_0x4ba687(0x1b1));}function an(_0x54711c,_0x5ed219,_0x521364){const _0x190e86=_0x17ec;let _0x4ad5b6=0x14;for(;_0x4ad5b6;){_0x54711c[_0x190e86(0x1e0)](_0x5ed219,{'unit':_0x190e86(0x1bc),'direction':_0x521364}),_0x4ad5b6--;const _0x7b1459=_0x5ed219[_0x190e86(0x1d4)][_0x190e86(0x1d7)==_0x521364?_0x190e86(0x1cd):_0x190e86(0x185)];if(_0x7b1459&&_0x7b1459['is'](_0x190e86(0x1de))&&_0x54711c[_0x190e86(0x1a5)][_0x190e86(0x1ac)](_0x7b1459)&&_0x54711c[_0x190e86(0x1a5)][_0x190e86(0x18c)](_0x7b1459))break;}}export function _transformMarkersByDeletion(_0x5773a7,_0x560142){const _0x564f51=_0x17ec;for(const [_0x24f464,_0x1dfa36]of _0x5773a7[_0x564f51(0x183)]){const _0x18b79a=_0x1dfa36[_0x564f51(0x1cf)](_0x560142[_0x564f51(0x1b4)],_0x560142[_0x564f51(0x187)][_0x564f51(0x1ab)]-_0x560142[_0x564f51(0x1b4)][_0x564f51(0x1ab)]);null!=_0x18b79a?_0x5773a7[_0x564f51(0x183)][_0x564f51(0x1a2)](_0x24f464,_0x18b79a):_0x5773a7[_0x564f51(0x183)][_0x564f51(0x19d)](_0x24f464);}}
|
|
23
|
+
(function(_0x1efadc,_0x842b5b){const _0x7c57e=_0x4211,_0x56329a=_0x1efadc();while(!![]){try{const _0x19b8b6=-parseInt(_0x7c57e(0x1ba))/0x1+-parseInt(_0x7c57e(0x1a2))/0x2+parseInt(_0x7c57e(0x184))/0x3*(-parseInt(_0x7c57e(0x185))/0x4)+-parseInt(_0x7c57e(0x1e9))/0x5*(parseInt(_0x7c57e(0x191))/0x6)+-parseInt(_0x7c57e(0x174))/0x7*(parseInt(_0x7c57e(0x1a1))/0x8)+-parseInt(_0x7c57e(0x187))/0x9*(parseInt(_0x7c57e(0x19e))/0xa)+parseInt(_0x7c57e(0x1bd))/0xb*(parseInt(_0x7c57e(0x17d))/0xc);if(_0x19b8b6===_0x842b5b)break;else _0x56329a['push'](_0x56329a['shift']());}catch(_0x37eef6){_0x56329a['push'](_0x56329a['shift']());}}}(_0x52fb,0x8793d));function _0x4211(_0x49241f,_0xaba8e9){const _0x52fb0a=_0x52fb();return _0x4211=function(_0x42114d,_0x24ff5e){_0x42114d=_0x42114d-0x173;let _0x23ad22=_0x52fb0a[_0x42114d];return _0x23ad22;},_0x4211(_0x49241f,_0xaba8e9);}function _0x52fb(){const _0x5acf80=['getMinimalFlatRanges','_getTransformedByDeletion','textNode','end','$root','markers','stringify','root','addAttribute','suggestion:insertion:','marker','newName','isObject',':$aiSuggestion','add','nodeBefore','removeAttribute','$text','applyOperation','getTransformedByOperation','cloneNode','244783Ltodvw','isRegisteredAttribute','map','14443HuCnxA','oldValue','range','schema','length','start','position','$elementName','toNone','move','parent','node','_createFromRanges','POSITIVE_INFINITY','SuggestionsConversion','moveTargetPosition','model','nodeAfter','name','offset','newValue','isBefore','index','getDiff','type','insert','_getTransformedByInsertion','merge','forward','rename','createSelection','suggestion:attribute:','path','createPositionAt','getShiftedBy','stickiness','change','getMovedRangeStart','isMarkedRemoveOperation','targetPosition','split','suggestion:deletion:','remove','push','4860bGgfil','data-id','11214UVIrxX','clone','backward','getOperations','plugins','removed','setTo','word','createRangeOn','34788atdMoq','data','batch','splitPosition','modifySelection','reverse','addOperation','1087026sRUVlE','4TDOkJP','isDocumentOperation','99UpDdhn','set','delete','sourcePosition','createRange','parse','get','suggestion:formatBlock:$fakeWrap:','isAfter','getFirstRange','5994TpFmgM','focus','DocumentCompare','key','isBlock','changeAttribute','element','new','children','createPositionFromPath','slice','oldName','baseVersion','224130ggquBC','changes','newRange','1760nYSmVU','2147852uYZZfZ','...','howMany'];_0x52fb=function(){return _0x5acf80;};return _0x52fb();}import{findOne as _0x64f588,getAttribute as _0x33ac52,Document as _0x36f280,serialize as _0x4b4b6a,parse as _0xb2ccb2}from'./htmlparser.js';import{fixElementSuggestionRange as _0x24a4ce}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x2ecefc,_DetachOperation as _0x355006,_removeFromModelNodeList as _0x240bf3,_insertIntoModelNodeList as _0x4e20b7}from'ckeditor5/src/engine.js';import{uid as _0x4320ab}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x2aecc0,changeGroups:_0x3dcbc4,documentContextContent:_0x3fce77,showDiff:_0x3ede5a,trimUnchanged:_0x27ed5f=!0x0}){const _0x1dd4b5=_0x4211;return _0x3dcbc4[_0x1dd4b5(0x1bc)](_0x383d14=>{const _0x448711=_0x1dd4b5,_0x3e618d=new _0x36f280([]),_0x2dfc0e=new _0x36f280([]);for(const _0x5f4da4 of _0x383d14[_0x448711(0x19f)])if(_0x3ede5a&&_0x448711(0x179)==_0x5f4da4[_0x448711(0x1d5)]||_0x2dfc0e[_0x448711(0x199)][_0x448711(0x1e8)](_0x5f4da4[_0x448711(0x1c8)][_0x448711(0x1b9)](!0x0)),_0x448711(0x198)!=_0x5f4da4[_0x448711(0x1d5)]&&(_0x3ede5a||_0x448711(0x179)!=_0x5f4da4[_0x448711(0x1d5)])){const _0x351e7d=_0x64f588(_0xac2627=>_0x33ac52(_0xac2627,_0x448711(0x173))==_0x5f4da4['id'],_0x3fce77,!0x0);_0x351e7d&&_0x3e618d[_0x448711(0x199)][_0x448711(0x1e8)](_0x351e7d[_0x448711(0x1b9)](!0x0));}const {content:_0x4e1401,hasChanges:_0x1ed70a}=function(_0x27671b,_0x500d53,_0x28af8f,_0x18026f,_0x349720=!0x0){const _0x43fa8d=_0x448711,_0x12b8f7=_0x27671b[_0x43fa8d(0x178)][_0x43fa8d(0x18d)](_0x43fa8d(0x193)),_0x204879=_0x4b4b6a(_0x500d53),_0x25fe1c=_0x4b4b6a(_0x28af8f),_0x155da6=_0x27671b[_0x43fa8d(0x17e)][_0x43fa8d(0x18c)](_0x204879,_0x43fa8d(0x1a9)),_0x3beea1=_0x27671b[_0x43fa8d(0x1cd)][_0x43fa8d(0x1de)](_0x155da6,0x0),_0x12d886=_0x12b8f7[_0x43fa8d(0x1d4)](_0x204879,_0x25fe1c,{'anchor':_0x3beea1,'markDeletions':_0x18026f}),_0x2b8dd7=_0x12d886[_0x43fa8d(0x177)]();if(0x0==_0x2b8dd7[_0x43fa8d(0x1c1)])return{'content':_0x500d53[_0x43fa8d(0x1b9)](!0x0),'hasChanges':!0x1};_0x18026f?function(_0x37db49,_0x1b35f6,_0x1d8aea){const _0x49f1c2=_0x43fa8d;if(0x0==_0x37db49[_0x49f1c2(0x1c1)])return;const _0x2691a1=_0x1d8aea[_0x49f1c2(0x178)][_0x49f1c2(0x18d)](_0x49f1c2(0x193)),_0x1a5da7=_0x1d8aea[_0x49f1c2(0x178)][_0x49f1c2(0x18d)](_0x49f1c2(0x1cb));_0x1d8aea[_0x49f1c2(0x1cd)][_0x49f1c2(0x1e1)](_0x417b5c=>{const _0x4db0c9=_0x49f1c2,_0x45e975=new Set();for(let _0x58d9f8=0x0;_0x58d9f8<_0x37db49[_0x4db0c9(0x1c1)];_0x58d9f8++){const _0x432eb6=_0x37db49[_0x58d9f8];if(_0x432eb6[_0x4db0c9(0x19d)]=null,_0x432eb6[_0x4db0c9(0x186)]=!0x1,_0x2691a1[_0x4db0c9(0x1e3)](_0x432eb6)){const _0x387103=_0x24a4ce(_0x432eb6[_0x4db0c9(0x1a0)],_0x1d8aea[_0x4db0c9(0x1cd)]),_0x2a0cc1=_0x4db0c9(0x1e6)+_0x4320ab()+_0x4db0c9(0x1b2);_0x1b35f6[_0x4db0c9(0x1aa)][_0x4db0c9(0x188)](_0x2a0cc1,_0x387103);}else switch(_0x432eb6[_0x4db0c9(0x1d5)]){case _0x4db0c9(0x1da):{if(_0x432eb6[_0x4db0c9(0x19c)]==_0x432eb6[_0x4db0c9(0x1b0)])break;_0x417b5c[_0x4db0c9(0x17f)][_0x4db0c9(0x183)](_0x432eb6),_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x1b7)](_0x432eb6);const _0x299223=_0x4db0c9(0x1c4),_0x4ed7ff=_0x432eb6[_0x4db0c9(0x1c3)],_0x2a6c3a=_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x18b)](_0x4ed7ff,_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x1de)](_0x4ed7ff[_0x4db0c9(0x1ce)],_0x4db0c9(0x1a8))),_0x4077e2=_0x4db0c9(0x1dc)+_0x299223+':'+_0x4320ab()+_0x4db0c9(0x1b2);_0x1b35f6[_0x4db0c9(0x1aa)][_0x4db0c9(0x188)](_0x4077e2,_0x2a6c3a);break;}case _0x4db0c9(0x1ad):case _0x4db0c9(0x1b5):case _0x4db0c9(0x196):{if(_0x432eb6[_0x4db0c9(0x1be)]==_0x432eb6[_0x4db0c9(0x1d1)])break;_0x417b5c[_0x4db0c9(0x17f)][_0x4db0c9(0x183)](_0x432eb6),_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x1b7)](_0x432eb6);const _0x544c50=_0x432eb6[_0x4db0c9(0x194)];if(!_0x1a5da7[_0x4db0c9(0x1bb)](_0x544c50))break;const _0x390c48=_0x24a4ce(_0x432eb6[_0x4db0c9(0x1bf)],_0x1d8aea[_0x4db0c9(0x1cd)]),_0x53ac4b=_0x4db0c9(0x1dc)+_0x544c50+':'+_0x4320ab()+_0x4db0c9(0x1b2);_0x1b35f6[_0x4db0c9(0x1aa)][_0x4db0c9(0x188)](_0x53ac4b,_0x390c48);break;}case _0x4db0c9(0x1d6):{_0x417b5c[_0x4db0c9(0x17f)][_0x4db0c9(0x183)](_0x432eb6),_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x1b7)](_0x432eb6);if(_0x37db49[_0x58d9f8+0x1]&&_0x4db0c9(0x1c6)==_0x37db49[_0x58d9f8+0x1][_0x4db0c9(0x1d5)]){ro(_0x1b35f6,_0x432eb6);break;}const _0x25160c=_0x432eb6[_0x4db0c9(0x1c3)],_0x174bcf=_0x432eb6[_0x4db0c9(0x1a4)],_0x2ce2cb=_0x24a4ce(_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x18b)](_0x25160c,_0x25160c[_0x4db0c9(0x1df)](_0x174bcf)),_0x1d8aea[_0x4db0c9(0x1cd)]),_0x10f84b=_0x4db0c9(0x1ae)+_0x4320ab()+_0x4db0c9(0x1b2);_0x1b35f6[_0x4db0c9(0x1aa)][_0x4db0c9(0x188)](_0x10f84b,_0x2ce2cb);break;}case _0x4db0c9(0x1e5):{_0x417b5c[_0x4db0c9(0x17f)][_0x4db0c9(0x183)](_0x432eb6),_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x1b7)](_0x432eb6);const _0x4f7ee9=_0x432eb6[_0x4db0c9(0x180)],_0x41aca1=_0x432eb6[_0x4db0c9(0x1cc)],_0x53b381=_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x18b)](_0x4f7ee9,_0x41aca1),_0x19d0e0=_0x4db0c9(0x1ae)+_0x4320ab()+_0x4db0c9(0x1b2);_0x1b35f6[_0x4db0c9(0x1aa)][_0x4db0c9(0x188)](_0x19d0e0,_0x53b381);break;}case _0x4db0c9(0x1c6):{_0x417b5c[_0x4db0c9(0x17f)][_0x4db0c9(0x183)](_0x432eb6),_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x1b7)](_0x432eb6),_0x37db49[_0x58d9f8-0x1]&&_0x4db0c9(0x1d6)==_0x37db49[_0x58d9f8-0x1][_0x4db0c9(0x1d5)]&&ro(_0x1b35f6,_0x432eb6);const _0x5a6f66=_0x432eb6[_0x4db0c9(0x1e2)](),_0x285b9a=_0x432eb6[_0x4db0c9(0x1a4)];for(let _0x5ed95a=0x0;_0x5ed95a<_0x285b9a;_0x5ed95a++){const _0xeae2b7=_0x5a6f66[_0x4db0c9(0x1df)](_0x5ed95a)[_0x4db0c9(0x1ce)];_0x45e975[_0x4db0c9(0x1b3)](_0xeae2b7);}break;}case _0x4db0c9(0x1e7):{const _0x5decf2=_0x432eb6[_0x4db0c9(0x18a)],_0xd6d993=_0x432eb6[_0x4db0c9(0x1a4)],_0x374e73=new _0x355006(_0x5decf2,_0xd6d993);_0x417b5c[_0x4db0c9(0x17f)][_0x4db0c9(0x183)](_0x374e73),_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x1b7)](_0x374e73);break;}}}for(const _0x49d67f of _0x45e975){const _0x36119a=_0x1d8aea[_0x4db0c9(0x1cd)][_0x4db0c9(0x17c)](_0x49d67f),_0x4ff533=_0x4db0c9(0x18e)+_0x4320ab()+_0x4db0c9(0x1b2);_0x1b35f6[_0x4db0c9(0x1aa)][_0x4db0c9(0x188)](_0x4ff533,_0x24a4ce(_0x36119a,_0x1d8aea[_0x4db0c9(0x1cd)]));}});}(_0x2b8dd7,_0x155da6,_0x27671b):_0x27671b[_0x43fa8d(0x1cd)][_0x43fa8d(0x1e1)](_0x41acad=>{const _0x38c65c=_0x43fa8d;for(const _0x4efe10 of _0x2b8dd7)if(_0x38c65c(0x1e7)==_0x4efe10[_0x38c65c(0x1d5)]){const _0x2975a9=_0x4efe10[_0x38c65c(0x18a)],_0xbc8d9b=_0x4efe10[_0x38c65c(0x1a4)],_0x54e316=new _0x355006(_0x2975a9,_0xbc8d9b);_0x41acad[_0x38c65c(0x17f)][_0x38c65c(0x183)](_0x54e316),_0x27671b[_0x38c65c(0x1cd)][_0x38c65c(0x1b7)](_0x54e316);}else{if(_0x38c65c(0x1af)==_0x4efe10[_0x38c65c(0x1d5)]){const _0x4a1744=_0x4efe10[_0x38c65c(0x1cf)],_0x278430=_0x4efe10[_0x38c65c(0x1a0)];_0x155da6[_0x38c65c(0x1aa)][_0x38c65c(0x188)](_0x4a1744,_0x278430);}else _0x4efe10[_0x38c65c(0x19d)]=null,_0x4efe10[_0x38c65c(0x186)]=!0x1,_0x41acad[_0x38c65c(0x17f)][_0x38c65c(0x183)](_0x4efe10),_0x27671b[_0x38c65c(0x1cd)][_0x38c65c(0x1b7)](_0x4efe10);}});if(_0x349720){const _0x53f866=getMinimalSelection(_0x27671b,_0x2b8dd7,_0x155da6);expandSelectionWithContext(_0x27671b[_0x43fa8d(0x1cd)],_0x53f866),function(_0x5253d7,_0x1848b5){const _0x353a50=_0x43fa8d,_0x1bb77f=_0x1848b5[_0x353a50(0x190)]()[_0x353a50(0x1c2)];let _0x2c72de=_0x1848b5[_0x353a50(0x190)]()[_0x353a50(0x1a8)];const _0x17c3e6=_0x1bb77f[_0x353a50(0x1ac)];(_0x2c72de[_0x353a50(0x1a7)]||_0x2c72de[_0x353a50(0x1ce)]&&_0x2c72de[_0x353a50(0x1ce)]['is'](_0x353a50(0x1b6)))&&(_0x4e20b7(_0x2c72de,_0x353a50(0x1a3)),_0x2c72de=_0x2c72de[_0x353a50(0x1df)](0x3)),(_0x1bb77f[_0x353a50(0x1a7)]||_0x1bb77f[_0x353a50(0x1b4)]&&_0x1bb77f[_0x353a50(0x1b4)]['is'](_0x353a50(0x1b6)))&&(_0x4e20b7(_0x1bb77f,_0x353a50(0x1a3)),function(_0x59ee42,_0x4de768,_0x4f2a67){const _0x57af50=_0x353a50;for(let [_0x46224f,_0x40e7db]of _0x59ee42[_0x57af50(0x1aa)]){const _0x174256=_0x40e7db[_0x57af50(0x1d7)](_0x4de768,_0x4f2a67,!0x1);_0x40e7db=_0x174256[0x0],_0x59ee42[_0x57af50(0x1aa)][_0x57af50(0x188)](_0x46224f,_0x40e7db);}}(_0x17c3e6,_0x1bb77f,0x3),_0x1bb77f[_0x353a50(0x1c7)]==_0x2c72de[_0x353a50(0x1c7)]&&(_0x2c72de=_0x2c72de[_0x353a50(0x1df)](0x3)));const _0x31b933=_0x5253d7[_0x353a50(0x18b)](_0x5253d7[_0x353a50(0x1de)](_0x17c3e6,0x0),_0x1bb77f),_0x20815c=_0x5253d7[_0x353a50(0x18b)](_0x2c72de,_0x5253d7[_0x353a50(0x1de)](_0x17c3e6,_0x353a50(0x1a8))),_0x34efba=[..._0x31b933[_0x353a50(0x1a5)](),..._0x20815c[_0x353a50(0x1a5)]()];_0x34efba[_0x353a50(0x182)]();for(const _0x496920 of _0x34efba)_0x240bf3(_0x496920),_transformMarkersByDeletion(_0x17c3e6,_0x496920);}(_0x27671b[_0x43fa8d(0x1cd)],_0x53f866);}const _0x388bdf=_0x27671b[_0x43fa8d(0x17e)][_0x43fa8d(0x1ab)](_0x155da6,{'showSuggestionHighlights':!0x0});return{'content':_0xb2ccb2(_0x388bdf),'hasChanges':!0x0};}(_0x2aecc0,_0x3e618d,_0x2dfc0e,_0x3ede5a,_0x27ed5f);return{'type':_0x383d14[_0x448711(0x19f)][0x0][_0x448711(0x1d5)],'index':_0x383d14[_0x448711(0x1d3)],'content':_0x4e1401,'hasChanges':_0x1ed70a};});}function ro(_0x4bc56e,_0x100530){const _0x106c92=_0x4211;for(const [_0x572c94,_0x3844af]of _0x4bc56e[_0x106c92(0x1aa)]){const _0x1702b6=_0x2ecefc[_0x106c92(0x1c9)](_0x3844af[_0x106c92(0x1b8)](_0x100530));_0x4bc56e[_0x106c92(0x1aa)][_0x106c92(0x188)](_0x572c94,_0x1702b6);}}export function getMinimalSelection(_0x4aa917,_0x49aa4a,_0x259883){const _0x1a3414=_0x4211,_0x448b9e=_0x4aa917[_0x1a3414(0x178)][_0x1a3414(0x18d)](_0x1a3414(0x193));let _0x544a65=_0x4aa917[_0x1a3414(0x1cd)][_0x1a3414(0x1de)](_0x259883,Number[_0x1a3414(0x1ca)]),_0x50c7bb=_0x4aa917[_0x1a3414(0x1cd)][_0x1a3414(0x1de)](_0x259883,0x0);for(const _0x1e12d1 of _0x49aa4a){let _0x5ce529,_0xdb784b;if(_0x448b9e[_0x1a3414(0x1e3)](_0x1e12d1))_0x5ce529=_0x1e12d1[_0x1a3414(0x1a0)][_0x1a3414(0x1c2)],_0xdb784b=_0x1e12d1[_0x1a3414(0x1a0)][_0x1a3414(0x1a8)];else switch(_0x544a65=_0x544a65[_0x1a3414(0x1b8)](_0x1e12d1),_0x50c7bb=_0x50c7bb[_0x1a3414(0x1b8)](_0x1e12d1),_0x1e12d1[_0x1a3414(0x1d5)]){case _0x1a3414(0x1da):_0x5ce529=_0x1e12d1[_0x1a3414(0x1c3)],_0xdb784b=_0x5ce529[_0x1a3414(0x1df)](0x1);break;case _0x1a3414(0x1ad):case _0x1a3414(0x1b5):case _0x1a3414(0x196):_0x5ce529=_0x1e12d1[_0x1a3414(0x1bf)][_0x1a3414(0x1c2)],_0xdb784b=_0x1e12d1[_0x1a3414(0x1bf)][_0x1a3414(0x1a8)];break;case _0x1a3414(0x1d6):_0x5ce529=_0x1e12d1[_0x1a3414(0x1c3)],_0xdb784b=_0x5ce529[_0x1a3414(0x1df)](_0x1e12d1[_0x1a3414(0x1a4)]);break;case _0x1a3414(0x1e5):_0x5ce529=_0x1e12d1[_0x1a3414(0x180)],_0xdb784b=_0x1e12d1[_0x1a3414(0x1cc)];break;case _0x1a3414(0x1d8):{const _0x2ed464=_0x1e12d1[_0x1a3414(0x1e4)][_0x1a3414(0x1dd)][_0x1a3414(0x19b)](0x0,-0x1);_0x5ce529=_0x4aa917[_0x1a3414(0x1cd)][_0x1a3414(0x19a)](_0x259883,_0x2ed464),_0xdb784b=_0x5ce529[_0x1a3414(0x1df)](0x1);break;}case _0x1a3414(0x1e7):{const _0x956261=_0x1e12d1[_0x1a3414(0x1a4)],_0x3b36fc=_0x1e12d1[_0x1a3414(0x18a)][_0x1a3414(0x1d7)](_0x1e12d1[_0x1a3414(0x1e4)],_0x956261),_0x57e8c5=_0x1e12d1[_0x1a3414(0x1e2)]();_0x1a3414(0x1e7)==_0x1e12d1[_0x1a3414(0x1d5)]?(_0x5ce529=_0x3b36fc,_0xdb784b=_0x3b36fc):(_0x5ce529=_0x57e8c5,_0xdb784b=_0x57e8c5[_0x1a3414(0x1df)](_0x956261));break;}}_0x5ce529&&_0x5ce529[_0x1a3414(0x1d2)](_0x544a65)&&(_0x544a65=_0x5ce529[_0x1a3414(0x175)](),_0x544a65[_0x1a3414(0x1e0)]=_0x1a3414(0x1c5)),_0xdb784b&&_0xdb784b[_0x1a3414(0x18f)](_0x50c7bb)&&(_0x50c7bb=_0xdb784b[_0x1a3414(0x175)](),_0x50c7bb[_0x1a3414(0x1e0)]=_0x1a3414(0x1c5));}return _0x4aa917[_0x1a3414(0x1cd)][_0x1a3414(0x1db)](_0x4aa917[_0x1a3414(0x1cd)][_0x1a3414(0x18b)](_0x544a65,_0x50c7bb));}export function expandSelectionWithContext(_0x53706b,_0xb268f){const _0x9af40b=_0x4211;so(_0x53706b,_0xb268f,_0x9af40b(0x1d9));const _0x1f7182=_0xb268f[_0x9af40b(0x190)]();_0xb268f[_0x9af40b(0x17a)]([]),_0xb268f[_0x9af40b(0x17a)](_0x1f7182,{'backward':!0x0}),so(_0x53706b,_0xb268f,_0x9af40b(0x176));}function so(_0x4d8ea1,_0x205192,_0x4df4e2){const _0x17483d=_0x4211;let _0x2295f5=0x14;for(;_0x2295f5;){_0x4d8ea1[_0x17483d(0x181)](_0x205192,{'unit':_0x17483d(0x17b),'direction':_0x4df4e2}),_0x2295f5--;const _0x3dca37=_0x205192[_0x17483d(0x192)][_0x17483d(0x1d9)==_0x4df4e2?_0x17483d(0x1b4):_0x17483d(0x1ce)];if(_0x3dca37&&_0x3dca37['is'](_0x17483d(0x197))&&_0x4d8ea1[_0x17483d(0x1c0)][_0x17483d(0x195)](_0x3dca37)&&_0x4d8ea1[_0x17483d(0x1c0)][_0x17483d(0x1b1)](_0x3dca37))break;}}export function _transformMarkersByDeletion(_0xaea01,_0x3d8abf){const _0x23fad3=_0x4211;for(const [_0x24a4da,_0x791fe0]of _0xaea01[_0x23fad3(0x1aa)]){const _0xa82788=_0x791fe0[_0x23fad3(0x1a6)](_0x3d8abf[_0x23fad3(0x1c2)],_0x3d8abf[_0x23fad3(0x1a8)][_0x23fad3(0x1d0)]-_0x3d8abf[_0x23fad3(0x1c2)][_0x23fad3(0x1d0)]);null!=_0xa82788?_0xaea01[_0x23fad3(0x1aa)][_0x23fad3(0x188)](_0x24a4da,_0xa82788):_0xaea01[_0x23fad3(0x1aa)][_0x23fad3(0x189)](_0x24a4da);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x57f6e9,_0x5dd28d){const _0x4afaed=_0x4dff,_0x43b6ff=_0x57f6e9();while(!![]){try{const _0x5ba3a6=-parseInt(_0x4afaed(0xc4))/0x1+parseInt(_0x4afaed(0xbf))/0x2+-parseInt(_0x4afaed(0xce))/0x3+-parseInt(_0x4afaed(0xc1))/0x4*(parseInt(_0x4afaed(0xcc))/0x5)+parseInt(_0x4afaed(0xcd))/0x6+-parseInt(_0x4afaed(0xca))/0x7+-parseInt(_0x4afaed(0xbd))/0x8*(-parseInt(_0x4afaed(0xc7))/0x9);if(_0x5ba3a6===_0x5dd28d)break;else _0x43b6ff['push'](_0x43b6ff['shift']());}catch(_0x211b3d){_0x43b6ff['push'](_0x43b6ff['shift']());}}}(_0x3c41,0x99453));import{parseDocument as _0xa57ce1}from'htmlparser2';import{append as _0x15eab0,appendChild as _0x1ddd50,find as _0x4af5d1,findAll as _0x248c6e,findOne as _0x4315d9,getChildren as _0x57c7d5,isComment as _0x426277,isTag as _0xe5ea42,prepend as _0x1abca0,prependChild as _0x30f263,removeElement as _0x12638b,replaceElement as _0x391dad,textContent as _0x382230,getParent as _0x2d20a2,hasChildren as _0xa26711}from'domutils';import _0x5e8c01 from'dom-serializer';import{cloneNode as _0x4d030b,isDocument as _0x2f7b3f,isText as _0x266eb9,Element as _0x327a61,Text as _0x4f4567,Document as _0xc98a45,NodeWithChildren as _0x39712e}from'domhandler';export{_0x4d030b as cloneNode,_0x4af5d1 as find,_0x4315d9 as findOne,_0x248c6e as findAll,_0x57c7d5 as getChildren,_0x2d20a2 as getParent,_0x426277 as isComment,_0x2f7b3f as isDocument,_0xe5ea42 as isTag,_0x266eb9 as isText,_0x15eab0 as append,_0x1ddd50 as appendChild,_0x1abca0 as prepend,_0x30f263 as prependChild,_0x5e8c01 as render,_0x12638b as removeElement,_0x391dad as replaceElement,_0x382230 as textContent,_0xa26711 as hasChildren,_0x327a61 as Element,_0xc98a45 as Document,_0x39712e as NodeWithChildren,_0x4f4567 as Text};export function parse(_0x4e7be7){return _0xa57ce1(_0x4e7be7);}export function serialize(_0x35f104){return _0x5e8c01(_0x35f104);}export function findByAttribute(_0x2f637a,_0x4dee10,_0x18cb44){const _0x55fa1b=_0x4dff,_0x1e68e0=null!==_0x4dee10?_0x2ffb54=>_0x2ffb54[_0x55fa1b(0xc5)][_0x2f637a]===_0x4dee10:_0x236587=>Boolean(_0x236587[_0x55fa1b(0xc5)][_0x2f637a]);return _0x4315d9(_0x3c106a=>_0xe5ea42(_0x3c106a)&&_0x1e68e0(_0x3c106a),_0x18cb44);}export function findAllByAttribute(_0x24906a,_0x203a06,_0x106f66){const _0x38b9fb=_0x4dff,_0x50217d=null!==_0x203a06?_0x90fd93=>_0x90fd93[_0x38b9fb(0xc5)][_0x24906a]===_0x203a06:_0x382d0e=>Boolean(_0x382d0e[_0x38b9fb(0xc5)][_0x24906a]);return _0x248c6e(_0x5c4c38=>_0xe5ea42(_0x5c4c38)&&_0x50217d(_0x5c4c38),_0x106f66);}export function findAllComments(_0x474142){return _0x4af5d1(_0x143b1b=>_0x426277(_0x143b1b),_0x474142,!0x0,0x1/0x0);}export function getAttribute(_0x383ff1,_0x35577a){const _0x1008a5=_0x4dff;return _0x383ff1&&_0xe5ea42(_0x383ff1)?_0x383ff1[_0x1008a5(0xc5)][_0x35577a]:null;}export function setAttribute(_0x2088a8,_0x5a2ff3,_0x564c9c){const _0x438720=_0x4dff;_0xe5ea42(_0x2088a8)&&(null===_0x564c9c?delete _0x2088a8[_0x438720(0xc5)][_0x5a2ff3]:_0x2088a8[_0x438720(0xc5)][_0x5a2ff3]=_0x564c9c);}export function insertElement(_0x5d1817,_0x117c43,_0x26e1c9){const _0x27cae6=_0x4dff,_0x55999e=_0x117c43[_0x27cae6(0xcb)](!0x0);_0x27cae6(0xbc)===_0x26e1c9?_0x1abca0(_0x5d1817,_0x55999e):_0x27cae6(0xd0)===_0x26e1c9?_0x30f263(_0x5d1817,_0x55999e):_0x27cae6(0xc2)===_0x26e1c9?_0x1ddd50(_0x5d1817,_0x55999e):_0x27cae6(0xbe)===_0x26e1c9&&_0x15eab0(_0x5d1817,_0x55999e);}export function moveElement(_0x3a9e27,_0x35d98e){_0x12638b(_0x3a9e27),_0x391dad(_0x35d98e,_0x3a9e27);}function _0x4dff(_0x197cb2,_0x36084){const _0x3c413a=_0x3c41();return _0x4dff=function(_0x4dff5f,_0x130693){_0x4dff5f=_0x4dff5f-0xbc;let _0x4f166c=_0x3c413a[_0x4dff5f];return _0x4f166c;},_0x4dff(_0x197cb2,_0x36084);}export function clone(_0x54fa8d){const _0x462e19=_0x4dff;return _0x54fa8d[_0x462e19(0xcb)](!0x0);}export function getParents(_0x4c9cd5){const _0x399ef0=_0x4dff,_0x2ef723=[];let _0x3cf472=_0x4c9cd5;for(;_0x3cf472;)_0x3cf472=_0x2d20a2(_0x3cf472),_0x3cf472&&_0x2ef723[_0x399ef0(0xc9)](_0x3cf472);return _0x2ef723;}export function normalizeHTML(_0x14ba2a){const _0x3c682a=_0x4dff;return _0x14ba2a[_0x3c682a(0xd2)](/^\s+/gm,'')[_0x3c682a(0xd2)](/\s+$/gm,'')[_0x3c682a(0xd2)](/\n*/g,'')[_0x3c682a(0xd2)](/\s+/g,'\x20')[_0x3c682a(0xd2)](/>\s*</g,'><');}export function areNodesSame(_0x3d4d3f,_0x2fe98e){return normalizeHTML(serialize(_0x3d4d3f))===normalizeHTML(serialize(_0x2fe98e));}export function getNodeNestingLevel(_0x28ff2b){const _0xe9f847=_0x4dff;let _0x111037=0x0;for(;_0x28ff2b[_0xe9f847(0xd1)];)_0x28ff2b=_0x28ff2b[_0xe9f847(0xd1)],_0x111037++;return _0x111037;}export function removeElementsAfter(_0x20c521){const _0x2710e7=_0x4dff,_0x55d267=[];let _0x31c09e=_0x20c521[_0x2710e7(0xc6)];for(;_0x31c09e;)_0x55d267[_0x2710e7(0xc9)](_0x31c09e),_0x31c09e=_0x31c09e[_0x2710e7(0xc6)];_0x55d267[_0x2710e7(0xcf)](_0x57293c=>{_0x12638b(_0x57293c);});}function _0x3c41(){const _0x9fcce1=['740642ZCYZWs','map','1182628wpAGyA','beforeend','indexOf','1190219rdErey','attribs','nextSibling','9phjQlj','slice','push','5866595xEqxkE','cloneNode','10zZtHoH','3397044MiwMSb','648063ZdGvkd','forEach','afterbegin','parentNode','replace','reverse','beforebegin','20215512pXmviP','afterend'];_0x3c41=function(){return _0x9fcce1;};return _0x3c41();}export function getNodePath(_0x80a4a2){const _0x25f624=_0x4dff;return[_0x80a4a2,...getParents(_0x80a4a2)][_0x25f624(0xc8)](0x0,-0x1)[_0x25f624(0xc0)](_0x4fa01d=>{const _0x352969=_0x25f624,_0xe61a7a=_0x2d20a2(_0x4fa01d);return _0x57c7d5(_0xe61a7a)[_0x352969(0xc3)](_0x4fa01d);})[_0x25f624(0xd3)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x175bc7=_0x2862;function _0x2862(_0x541420,_0x4193b5){const _0x1e89c3=_0x1e89();return _0x2862=function(_0x286284,_0x500aac){_0x286284=_0x286284-0x16d;let _0x43aa32=_0x1e89c3[_0x286284];return _0x43aa32;},_0x2862(_0x541420,_0x4193b5);}(function(_0x56b7d6,_0x583278){const _0x48efe9=_0x2862,_0x2e44ad=_0x56b7d6();while(!![]){try{const _0x28e9b9=-parseInt(_0x48efe9(0x187))/0x1*(-parseInt(_0x48efe9(0x1a4))/0x2)+parseInt(_0x48efe9(0x19e))/0x3+-parseInt(_0x48efe9(0x1a9))/0x4+-parseInt(_0x48efe9(0x170))/0x5*(-parseInt(_0x48efe9(0x18c))/0x6)+parseInt(_0x48efe9(0x198))/0x7+parseInt(_0x48efe9(0x17f))/0x8+parseInt(_0x48efe9(0x18a))/0x9*(-parseInt(_0x48efe9(0x178))/0xa);if(_0x28e9b9===_0x583278)break;else _0x2e44ad['push'](_0x2e44ad['shift']());}catch(_0x409820){_0x2e44ad['push'](_0x2e44ad['shift']());}}}(_0x1e89,0x7c7ba));import _0xe93f from'morphdom';import{NodeWithChildren as _0x3260b5,Text as _0x5b1712,Element as _0x2db3d7,isText as _0x2e0349,isDocument as _0x1453bc,isTag as _0x24fa06,cloneNode as _0xc0cc61,getChildren as _0x3d82c5,prepend as _0x8aedb3,removeElement as _0x247437,textContent as _0x46d2c2,render as _0x5acfb8}from'./htmlparser.js';import{logWarning as _0x35366a}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x175bc7(0x1a8)];[_0x175bc7(0x180)]=!0x1;[_0x175bc7(0x17c)]=null;[_0x175bc7(0x18e)]=[];[_0x175bc7(0x16d)]=0x0;[_0x175bc7(0x18b)]=null;constructor(_0x3c5dcb){const _0x8a9c92=_0x175bc7;this[_0x8a9c92(0x1a8)]={'delay':_0x3c5dcb[_0x8a9c92(0x199)]??0x14,'textNodeStyle':_0x3c5dcb[_0x8a9c92(0x16f)],'onStreamUpdate':_0x3c5dcb[_0x8a9c92(0x176)]||(()=>{})};}async[_0x175bc7(0x184)]({document:_0x1a8473,targetElement:_0x4d4a77,abortSignal:_0x2c9558}){const _0x480caf=_0x175bc7;this[_0x480caf(0x180)]&&this[_0x480caf(0x179)](),_0x2c9558?.[_0x480caf(0x186)](_0x480caf(0x183),this[_0x480caf(0x179)][_0x480caf(0x1a0)](this)),this[_0x480caf(0x17c)]=_0xc0cc61(_0x1a8473,!0x0),this[_0x480caf(0x18e)]=this[_0x480caf(0x185)](),this[_0x480caf(0x180)]=!0x0,this[_0x480caf(0x16d)]>this[_0x480caf(0x18e)][_0x480caf(0x171)]&&(_0x35366a(_0x480caf(0x19b),{'currentIndex':this[_0x480caf(0x16d)],'nodeList':this[_0x480caf(0x18e)]}),this[_0x480caf(0x16d)]=this[_0x480caf(0x18e)][_0x480caf(0x171)]);for(let _0x35384e=0x0;_0x35384e<this[_0x480caf(0x16d)];_0x35384e++)this[_0x480caf(0x18e)][_0x35384e][_0x480caf(0x19f)]=!0x0;let _0x473de3=0x0;for(let _0x2c2952=this[_0x480caf(0x16d)];_0x2c2952<this[_0x480caf(0x18e)][_0x480caf(0x171)];_0x2c2952++){const _0x18365c=Date[_0x480caf(0x173)](),_0x1d6ee1=this[_0x480caf(0x18e)][_0x2c2952],_0x991508=_0x18365c-_0x473de3;_0x1d6ee1[_0x480caf(0x19f)]=!0x0;let _0x49716e=_0x1d6ee1[_0x480caf(0x189)];for(;_0x49716e;)_0x49716e[_0x480caf(0x19f)]=!0x0,_0x49716e=_0x49716e[_0x480caf(0x189)];if(_0x991508<this[_0x480caf(0x1a8)][_0x480caf(0x199)])try{const {promise:_0x1182ee,abortController:_0x2bc6eb}=pr(this[_0x480caf(0x1a8)][_0x480caf(0x199)]-_0x991508);this[_0x480caf(0x18b)]=_0x2bc6eb,await _0x1182ee;}catch(_0x31f661){return;}_0xe93f(_0x4d4a77,'<'+_0x4d4a77[_0x480caf(0x191)]+'>'+this[_0x480caf(0x195)](this[_0x480caf(0x17c)])+'</'+_0x4d4a77[_0x480caf(0x191)]+'>',{'childrenOnly':!0x0}),this[_0x480caf(0x1a8)][_0x480caf(0x176)]&&this[_0x480caf(0x1a8)][_0x480caf(0x176)](),this[_0x480caf(0x16d)]=_0x2c2952,_0x473de3=Date[_0x480caf(0x173)]();}this[_0x480caf(0x180)]=!0x1;}[_0x175bc7(0x174)]({targetElement:_0x15172b}){const _0x5c8610=_0x175bc7;Array[_0x5c8610(0x192)](_0x15172b[_0x5c8610(0x1a1)](_0x5c8610(0x17b)))[_0x5c8610(0x19d)]()[_0x5c8610(0x1a7)](_0x5cae64=>{const _0x55ad9b=_0x5c8610;_0x5cae64[_0x55ad9b(0x17a)](_0x5cae64[_0x55ad9b(0x194)][0x0]);});}[_0x175bc7(0x179)](){const _0x1d074a=_0x175bc7;this[_0x1d074a(0x180)]=!0x1,this[_0x1d074a(0x18b)]&&(this[_0x1d074a(0x18b)][_0x1d074a(0x183)](),this[_0x1d074a(0x18b)]=null);}[_0x175bc7(0x195)](_0x209c1c){const _0x5cac63=_0x175bc7;let _0x20ccc5='';if(function(_0x18f1e2){return _0x1453bc(_0x18f1e2);}(_0x209c1c)){for(const _0x76c159 of _0x209c1c[_0x5cac63(0x1a6)])_0x20ccc5+=this[_0x5cac63(0x195)](_0x76c159);}else{if(dr(_0x209c1c)){if(!_0x209c1c[_0x5cac63(0x19f)])return'';const _0x4f5199=_0x209c1c,_0x15ac3f=Object[_0x5cac63(0x18f)](_0x4f5199[_0x5cac63(0x177)])[_0x5cac63(0x17e)](([_0x1b2e71,_0x608ea2])=>_0x1b2e71+'=\x22'+_0x608ea2+'\x22')[_0x5cac63(0x19a)]('\x20');_0x20ccc5+='<'+_0x4f5199[_0x5cac63(0x191)]+(_0x15ac3f?'\x20'+_0x15ac3f:'')+'>';for(const _0x3a26cd of _0x3d82c5(_0x4f5199))_0x20ccc5+=this[_0x5cac63(0x195)](_0x3a26cd);_0x20ccc5+='</'+_0x4f5199[_0x5cac63(0x191)]+'>';}else{if(!ar(_0x209c1c))return'';if(!_0x209c1c[_0x5cac63(0x19f)])return'';!function(_0x2167b4){const _0x1cbe69=_0x5cac63;if(!_0x2167b4[_0x1cbe69(0x189)]||!dr(_0x2167b4[_0x1cbe69(0x189)]))return!0x1;if(!cr[_0x1cbe69(0x196)](_0x2167b4[_0x1cbe69(0x189)][_0x1cbe69(0x191)]))return!0x1;return!_0x46d2c2(_0x2167b4)[_0x1cbe69(0x17d)](/^\s*[<>]\s*$/);}(_0x209c1c)?_0x20ccc5+=_0x5acfb8(_0x209c1c):_0x20ccc5+=_0x5acfb8(new _0x2db3d7(_0x5cac63(0x190),{'data-ck-html-streamer-word-chunk':'','style':this[_0x5cac63(0x1a8)][_0x5cac63(0x16f)]},[_0x209c1c]));}}return _0x20ccc5;}[_0x175bc7(0x185)](){const _0x1d7706=_0x175bc7,_0x2c9055=[];return function(_0x32868a,_0x572436){const _0x1b8392=_0x2862,_0x3802e1=_0x2a5eb2=>{const _0x60109e=_0x2862;if(_0x572436(_0x2a5eb2),_0x2a5eb2 instanceof _0x3260b5)for(let _0x36f0b0=0x0;_0x36f0b0<_0x2a5eb2[_0x60109e(0x1a6)][_0x60109e(0x171)];_0x36f0b0++){const _0x2725dd=_0x2a5eb2[_0x60109e(0x1a6)][_0x36f0b0];_0x3802e1(_0x2725dd);}};for(let _0xd93dce=0x0;_0xd93dce<_0x32868a[_0x1b8392(0x1a6)][_0x1b8392(0x171)];_0xd93dce++)_0x3802e1(_0x32868a[_0x1b8392(0x1a6)][_0xd93dce]);}(this[_0x1d7706(0x17c)],_0x2e87dc=>{const _0x4863cc=_0x1d7706;if(ar(_0x2e87dc)){const _0x221760=this[_0x4863cc(0x16e)](_0x2e87dc);_0x221760[_0x4863cc(0x171)]&&_0x2c9055[_0x4863cc(0x19c)](..._0x221760);}_0x2e87dc[_0x4863cc(0x175)]||_0x2e87dc[_0x4863cc(0x1a5)]||_0x2c9055[_0x4863cc(0x19c)](_0x2e87dc);}),_0x2c9055;}[_0x175bc7(0x16e)](_0x13629f){const _0x18fd18=_0x175bc7;if(_0x13629f[_0x18fd18(0x175)]||_0x13629f[_0x18fd18(0x1a5)])return[];const _0x5223ae=_0x46d2c2(_0x13629f)[_0x18fd18(0x17d)](/(?:\s*\S+\s*)/g),_0x4046de=[];if(_0x5223ae&&_0x5223ae[_0x18fd18(0x171)]>0x1){for(const _0x288f47 of _0x5223ae){const _0xbb5b5c=new _0x5b1712(_0x288f47);_0xbb5b5c[_0x18fd18(0x1a5)]=!0x0,_0x8aedb3(_0x13629f,_0xbb5b5c),_0x4046de[_0x18fd18(0x19c)](_0xbb5b5c);}_0x13629f[_0x18fd18(0x175)]=!0x0,_0x247437(_0x13629f);}return _0x4046de;}}function _0x1e89(){const _0x3934f6=['includes','signal','6869135IIfMkE','delay','join','ai-html-streamer-current-index-out-of-bounds','push','reverse','1935933vnQbFN','shouldBeStreamed','bind','querySelectorAll','div','sup','182MWeRIw','isWordSplitResult','children','forEach','options','253236TxcIGO','currentIndex','splitTextNodeIntoWordNodes','textNodeStyle','5ZHrcvN','length','strong','now','cleanUpAnimations','isWordSplitSource','onStreamUpdate','attribs','31046260XEtCNg','stop','replaceWith','span[data-ck-html-streamer-word-chunk]','document','match','map','5936184IkWccy','isStreaming','mark','del','abort','stream','getParsedDocumentNodeList','addEventListener','9081SyLbOl','sub','parent','9fIiyWc','timeoutAbortController','2896842PsrTLt','ins','nodesList','entries','span','tagName','from','code','childNodes','renderNode'];_0x1e89=function(){return _0x3934f6;};return _0x1e89();}const cr=['p','li','td','th',_0x175bc7(0x190),'h1','h2','h3','h4','h5','h6','b',_0x175bc7(0x172),'i','em',_0x175bc7(0x181),_0x175bc7(0x182),_0x175bc7(0x18d),_0x175bc7(0x1a3),_0x175bc7(0x188),'a',_0x175bc7(0x193),_0x175bc7(0x1a2)];function ar(_0x331990){return _0x2e0349(_0x331990);}function dr(_0x4d8592){return _0x24fa06(_0x4d8592);}function pr(_0x1707fa){const _0x3e09c3=new AbortController();return{'promise':new Promise((_0x4298c3,_0x441390)=>{const _0x21f7da=_0x2862,_0x3d39de=setTimeout(_0x4298c3,_0x1707fa);_0x3e09c3[_0x21f7da(0x197)][_0x21f7da(0x186)](_0x21f7da(0x183),()=>{clearTimeout(_0x3d39de),_0x441390();});}),'abortController':_0x3e09c3};}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
10
|
import { AIToggleButtonUI } from './aitogglebutton/aitogglebuttonui.js';
|
|
11
|
+
import { SuggestionsConversion } from '@ckeditor/ckeditor5-collaboration-core';
|
|
11
12
|
/**
|
|
12
13
|
* The AI Editor Integration plugin. It registers AI-related components in the editor
|
|
13
14
|
* and provides the necessary UI elements for AI functionality.
|
|
@@ -19,7 +20,7 @@ export declare class AIEditorIntegration extends Plugin {
|
|
|
19
20
|
/**
|
|
20
21
|
* @inheritDoc
|
|
21
22
|
*/
|
|
22
|
-
static get requires(): readonly [typeof AIToggleButtonUI];
|
|
23
|
+
static get requires(): readonly [typeof AIToggleButtonUI, typeof SuggestionsConversion];
|
|
23
24
|
/**
|
|
24
25
|
* @inheritDoc
|
|
25
26
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x55c33d=_0x29dd;(function(_0x4ebe29,_0x363b33){var _0x1fbed0=_0x29dd,_0x4875e1=_0x4ebe29();while(!![]){try{var _0x22c35a=parseInt(_0x1fbed0(0x80))/0x1*(-parseInt(_0x1fbed0(0x7c))/0x2)+parseInt(_0x1fbed0(0x81))/0x3*(parseInt(_0x1fbed0(0x73))/0x4)+parseInt(_0x1fbed0(0x75))/0x5+parseInt(_0x1fbed0(0x72))/0x6+-parseInt(_0x1fbed0(0x7f))/0x7*(parseInt(_0x1fbed0(0x77))/0x8)+parseInt(_0x1fbed0(0x7e))/0x9*(parseInt(_0x1fbed0(0x78))/0xa)+parseInt(_0x1fbed0(0x71))/0xb*(-parseInt(_0x1fbed0(0x79))/0xc);if(_0x22c35a===_0x363b33)break;else _0x4875e1['push'](_0x4875e1['shift']());}catch(_0x2df9fa){_0x4875e1['push'](_0x4875e1['shift']());}}}(_0x39dc,0xe4e67));function _0x29dd(_0xf1b50c,_0x3f44b2){var _0x39dcef=_0x39dc();return _0x29dd=function(_0x29ddd5,_0x5e1a5c){_0x29ddd5=_0x29ddd5-0x71;var _0x1badc4=_0x39dcef[_0x29ddd5];return _0x1badc4;},_0x29dd(_0xf1b50c,_0x3f44b2);}import{Plugin as _0x49601c}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0xde9f19}from'./aitogglebutton/aitogglebuttonui.js';function _0x39dc(){var _0x283cbf=['42516UQepvG','2056215vhraiz','20fFiZGe','3hWSqEy','11WyJWTM','10684752kwBItJ','366116FxpdjH','requires','334675ldkrgJ','pluginName','24iiCeKg','3160vRdUdb','818040eQwWkk','isPremiumPlugin','isOfficialPlugin','154506AWQqRV','AIEditorIntegration'];_0x39dc=function(){return _0x283cbf;};return _0x39dc();}import{SuggestionsConversion as _0x2e11cc}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x49601c{static get[_0x55c33d(0x74)](){return[_0xde9f19,_0x2e11cc];}static get[_0x55c33d(0x76)](){var _0x3fd0ae=_0x55c33d;return _0x3fd0ae(0x7d);}static get[_0x55c33d(0x7b)](){return!0x0;}static get[_0x55c33d(0x7a)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c3e7a=_0x5f06;(function(_0x3df326,_0x3c1550){const _0x54f2ec=_0x5f06,_0x574e45=_0x3df326();while(!![]){try{const _0x358189=parseInt(_0x54f2ec(0x132))/0x1+-parseInt(_0x54f2ec(0x140))/0x2+-parseInt(_0x54f2ec(0x141))/0x3*(parseInt(_0x54f2ec(0x151))/0x4)+parseInt(_0x54f2ec(0x144))/0x5+-parseInt(_0x54f2ec(0x153))/0x6*(-parseInt(_0x54f2ec(0x152))/0x7)+-parseInt(_0x54f2ec(0x13f))/0x8*(-parseInt(_0x54f2ec(0x134))/0x9)+-parseInt(_0x54f2ec(0x13d))/0xa*(parseInt(_0x54f2ec(0x14d))/0xb);if(_0x358189===_0x3c1550)break;else _0x574e45['push'](_0x574e45['shift']());}catch(_0x185582){_0x574e45['push'](_0x574e45['shift']());}}}(_0x5a69,0x70dce));import{Plugin as _0x28e4ee}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x17dedd}from'./toggleaicommand.js';import{ButtonView as _0x533228,MenuBarMenuListItemButtonView as _0x16fa83}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x588cdd}from'@ckeditor/ckeditor5-icons';function _0x5f06(_0x10494d,_0x1c92d8){const _0x5a69af=_0x5a69();return _0x5f06=function(_0x5f0695,_0x5b41b0){_0x5f0695=_0x5f0695-0x131;let _0x3d638d=_0x5a69af[_0x5f0695];return _0x3d638d;},_0x5f06(_0x10494d,_0x1c92d8);}import{getTranslation as _0x174b58}from'../../aicore/utils/common-translations.js';import{AITabs as _0x291868}from'../../aitabs/aitabs.js';function _0x5a69(){const _0x321e32=['isPremiumPlugin','pluginName','listenTo','locale','676093ofHXdN','value','isOfficialPlugin','editor','4AugtEw','49jINpBJ','584346hkuXxv','componentFactory','set','591996bHCIsq','init','685899SPfkVJ','AI_TOGGLE_BUTTON_LABEL','_createAIUIButton','execute','get','isEnabled','toggleAi','menuitemcheckbox','isOn','160OyjJyb','requires','48iFSuIF','1844578JButWW','217164LKjJGA','AIToggleButtonUI','bind','3546860mCtSVn','commands','add','ck-ai-toggle-button','menuBar:toggleAi'];_0x5a69=function(){return _0x321e32;};return _0x5a69();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x28e4ee{static get[_0x3c3e7a(0x13e)](){return[_0x291868];}static get[_0x3c3e7a(0x14a)](){const _0x4d30d6=_0x3c3e7a;return _0x4d30d6(0x142);}static get[_0x3c3e7a(0x14f)](){return!0x0;}static get[_0x3c3e7a(0x149)](){return!0x0;}[_0x3c3e7a(0x133)](){const _0x3e9cad=_0x3c3e7a,_0x468fb6=this[_0x3e9cad(0x150)];_0x468fb6[_0x3e9cad(0x145)][_0x3e9cad(0x146)](_0x3e9cad(0x13a),new _0x17dedd(_0x468fb6)),_0x468fb6['ui'][_0x3e9cad(0x154)][_0x3e9cad(0x146)](_0x3e9cad(0x13a),()=>{const _0x58e429=_0x3e9cad,_0x5ac77d=this[_0x58e429(0x136)](_0x533228);return _0x5ac77d[_0x58e429(0x131)]({'tooltip':!0x0,'class':_0x58e429(0x147)}),_0x5ac77d;}),_0x468fb6['ui'][_0x3e9cad(0x154)][_0x3e9cad(0x146)](_0x3e9cad(0x148),()=>{const _0x131cb5=_0x3e9cad,_0x1fa00b=this[_0x131cb5(0x136)](_0x16fa83);return _0x1fa00b[_0x131cb5(0x131)]({'role':_0x131cb5(0x13b)}),_0x1fa00b;});}[_0x3c3e7a(0x136)](_0x564d34){const _0x1c4436=_0x3c3e7a,_0x3e4902=this[_0x1c4436(0x150)],_0x433057=_0x3e4902[_0x1c4436(0x145)][_0x1c4436(0x138)](_0x1c4436(0x13a)),_0x1b4c1e=new _0x564d34(_0x3e4902[_0x1c4436(0x14c)]);return _0x1b4c1e[_0x1c4436(0x131)]({'label':_0x174b58(_0x3e4902[_0x1c4436(0x14c)],_0x1c4436(0x135)),'icon':_0x588cdd,'isToggleable':!0x0}),_0x1b4c1e[_0x1c4436(0x143)](_0x1c4436(0x139))['to'](_0x433057),_0x1b4c1e[_0x1c4436(0x143)](_0x1c4436(0x13c))['to'](_0x433057,_0x1c4436(0x14e),_0x2fd00b=>!!_0x2fd00b),this[_0x1c4436(0x14b)](_0x1b4c1e,_0x1c4436(0x137),()=>{const _0x4fcfcf=_0x1c4436;_0x433057[_0x4fcfcf(0x137)]();}),_0x1b4c1e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24dec9=_0x4607;function _0x4607(_0xd33568,_0x4131c1){const _0x34689a=_0x3468();return _0x4607=function(_0x4607f1,_0x21879a){_0x4607f1=_0x4607f1-0x1a7;let _0x3d15b2=_0x34689a[_0x4607f1];return _0x3d15b2;},_0x4607(_0xd33568,_0x4131c1);}function _0x3468(){const _0x4487c8=['105990shKoNd','isEnabled','plugins','bind','value','202182rTMvQu','execute','92804DXuqqI','AITabs','110NFzqeW','get','18552WbZioj','836674jUhmkR','view','143fbFxcC','531MSJMTU','isVisible','3919664mUUknk','27mznIKP','editor','1044924BBpXGG'];_0x3468=function(){return _0x4487c8;};return _0x3468();}(function(_0x59b0d8,_0x144071){const _0x3982a9=_0x4607,_0x1dae31=_0x59b0d8();while(!![]){try{const _0x4e06e9=parseInt(_0x3982a9(0x1a7))/0x1+-parseInt(_0x3982a9(0x1af))/0x2+parseInt(_0x3982a9(0x1ad))/0x3*(-parseInt(_0x3982a9(0x1b7))/0x4)+-parseInt(_0x3982a9(0x1b9))/0x5*(-parseInt(_0x3982a9(0x1b5))/0x6)+-parseInt(_0x3982a9(0x1ac))/0x7+parseInt(_0x3982a9(0x1bb))/0x8*(parseInt(_0x3982a9(0x1aa))/0x9)+parseInt(_0x3982a9(0x1b0))/0xa*(parseInt(_0x3982a9(0x1a9))/0xb);if(_0x4e06e9===_0x144071)break;else _0x1dae31['push'](_0x1dae31['shift']());}catch(_0x27d5d8){_0x1dae31['push'](_0x1dae31['shift']());}}}(_0x3468,0x890f1));import{Command as _0x554874}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x554874{constructor(_0x44d797){const _0x27a5cb=_0x4607;super(_0x44d797);const _0x54279d=_0x44d797[_0x27a5cb(0x1b2)][_0x27a5cb(0x1ba)](_0x27a5cb(0x1b8))[_0x27a5cb(0x1a8)];this[_0x27a5cb(0x1b3)](_0x27a5cb(0x1b4))['to'](_0x54279d,_0x27a5cb(0x1ab)),this[_0x27a5cb(0x1b1)]=!0x0;}[_0x24dec9(0x1b6)](){const _0x14fcdd=_0x24dec9,_0x481735=this[_0x14fcdd(0x1ae)][_0x14fcdd(0x1b2)][_0x14fcdd(0x1ba)](_0x14fcdd(0x1b8))[_0x14fcdd(0x1a8)];_0x481735[_0x14fcdd(0x1ab)]=!_0x481735[_0x14fcdd(0x1ab)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x20e246=_0xb40d;(function(_0x35d6d2,_0x2d86ef){var _0x4d85f0=_0xb40d,_0x698899=_0x35d6d2();while(!![]){try{var _0x322a94=-parseInt(_0x4d85f0(0x1ee))/0x1+-parseInt(_0x4d85f0(0x1df))/0x2*(-parseInt(_0x4d85f0(0x1ec))/0x3)+-parseInt(_0x4d85f0(0x1e9))/0x4*(-parseInt(_0x4d85f0(0x1ed))/0x5)+-parseInt(_0x4d85f0(0x1eb))/0x6*(-parseInt(_0x4d85f0(0x1ea))/0x7)+parseInt(_0x4d85f0(0x1e0))/0x8+parseInt(_0x4d85f0(0x1e8))/0x9*(-parseInt(_0x4d85f0(0x1e2))/0xa)+-parseInt(_0x4d85f0(0x1f0))/0xb*(parseInt(_0x4d85f0(0x1de))/0xc);if(_0x322a94===_0x2d86ef)break;else _0x698899['push'](_0x698899['shift']());}catch(_0x2f30c4){_0x698899['push'](_0x698899['shift']());}}}(_0x59cf,0xb4789));import{Plugin as _0x3395cc}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x4e5a62}from'./aiquickactionsui.js';function _0xb40d(_0x2cc015,_0x540cb5){var _0x59cfe1=_0x59cf();return _0xb40d=function(_0xb40d7e,_0x3309e5){_0xb40d7e=_0xb40d7e-0x1dd;var _0x37a50a=_0x59cfe1[_0xb40d7e];return _0x37a50a;},_0xb40d(_0x2cc015,_0x540cb5);}import{AIQuickActionsEditing as _0x2a82a8}from'./aiquickactionsediting.js';import{AIActions as _0x36d813}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x3395cc{static get[_0x20e246(0x1dd)](){return[_0x4e5a62,_0x2a82a8,_0x36d813];}static get[_0x20e246(0x1e4)](){var _0x563e30=_0x20e246;return _0x563e30(0x1e3);}static get[_0x20e246(0x1e5)](){return!0x0;}static get[_0x20e246(0x1e7)](){return!0x0;}constructor(_0x5d5fec){var _0x26b831=_0x20e246;super(_0x5d5fec),_0x5d5fec[_0x26b831(0x1e6)][_0x26b831(0x1e1)](_0x26b831(0x1ef),{'extraCommands':[],'removeCommands':[]});}}function _0x59cf(){var _0x29f7fd=['24604740mCpdGJ','734ADkKGD','6378240ehrCxJ','define','371710pkkXtn','AIQuickActions','pluginName','isOfficialPlugin','config','isPremiumPlugin','18ecDqCB','48092GHjPzh','9926854SqQJMV','6yuEIbz','9849iSXHDS','195eKaIOT','1025214wftEUe','ai.quickActions','11AzSzch','requires'];_0x59cf=function(){return _0x29f7fd;};return _0x59cf();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x410029=_0x5644;function _0x5f0f(){const _0x1e217b=['args','AIChatController','execute','document','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','setSelection','change','activateTab','startConversation','AIReviewMode','editor','CHAT','REVIEW','_handleAIActionsActionLabel','35aMXtAV','removeSelectionFromChatContext','focusPromptInput','6741963wjkxLs','addSelectionToChatContext','executeAction','1185AJEXSq','isCollapsed','ask-ai','_handleAIChatAction','displayedPrompt','1827069RigsVB','locale','prompt','getSelectedBlocks','322932JZdyhB','plugins','30811YaoAMO','type','actionName','10070wkBmfk','_expandSelectionIfCollapsed','3jMaRrm','AIActions','ACTION','other','AIChat','ai-quick-actions-plugin-not-found','parent','chat','242976AyOkpJ','view','icon','schema','AITabs','sendMessage','_handleAIReviewAction','has','getLimitElement','handleAIReviewAction','model','_handleAIActionsAction','label','log','1548HKVEJc','selection','2005600poZYkW','get'];_0x5f0f=function(){return _0x1e217b;};return _0x5f0f();}(function(_0x31277a,_0x174dc4){const _0x4814a8=_0x5644,_0x2065dd=_0x31277a();while(!![]){try{const _0x15855d=parseInt(_0x4814a8(0xa5))/0x1*(-parseInt(_0x4814a8(0xad))/0x2)+-parseInt(_0x4814a8(0xd8))/0x3+-parseInt(_0x4814a8(0xbb))/0x4*(-parseInt(_0x4814a8(0xd3))/0x5)+parseInt(_0x4814a8(0x9e))/0x6*(-parseInt(_0x4814a8(0xcd))/0x7)+-parseInt(_0x4814a8(0xbd))/0x8+-parseInt(_0x4814a8(0xd0))/0x9+-parseInt(_0x4814a8(0xa3))/0xa*(-parseInt(_0x4814a8(0xa0))/0xb);if(_0x15855d===_0x174dc4)break;else _0x2065dd['push'](_0x2065dd['shift']());}catch(_0x59b418){_0x2065dd['push'](_0x2065dd['shift']());}}}(_0x5f0f,0xa38e2));import{Command as _0x1bf9bd}from'ckeditor5/src/core.js';import{CKEditorError as _0x4ea76c,first as _0xe94610}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0xf54a0f}from'./aiquickactionsui.js';import{getTranslation as _0x37a00d}from'../aicore/utils/common-translations.js';function _0x5644(_0x2a0a6c,_0x5cee79){const _0x5f0f3a=_0x5f0f();return _0x5644=function(_0x564481,_0x29d530){_0x564481=_0x564481-0x9b;let _0x2fabcf=_0x5f0f3a[_0x564481];return _0x2fabcf;},_0x5644(_0x2a0a6c,_0x5cee79);}export class AIQuickActionsCommand extends _0x1bf9bd{[_0x410029(0xc1)](_0x3a9c9c){const _0x3b2c17=_0x410029;switch(this[_0x3b2c17(0xa4)](),_0x3a9c9c[_0x3b2c17(0xa1)]){case _0xf54a0f[_0x3b2c17(0xca)]:if(!this[_0x3b2c17(0xc9)][_0x3b2c17(0x9f)][_0x3b2c17(0xb4)](_0x3b2c17(0xa9))){const _0x11d585=_0x37a00d(this[_0x3b2c17(0xc9)][_0x3b2c17(0x9b)],_0x3b2c17(0xc3),_0x3b2c17(0xa9));throw new _0x4ea76c(_0x3b2c17(0xaa),this[_0x3b2c17(0xc9)],{'errorMessage':_0x11d585});}this[_0x3b2c17(0xd6)](_0x3a9c9c);break;case _0xf54a0f[_0x3b2c17(0xa7)]:if(!this[_0x3b2c17(0xc9)][_0x3b2c17(0x9f)][_0x3b2c17(0xb4)](_0x3b2c17(0xa6))){const _0x1ecc1f=_0x37a00d(this[_0x3b2c17(0xc9)][_0x3b2c17(0x9b)],_0x3b2c17(0xc3),_0x3b2c17(0xa6));throw new _0x4ea76c(_0x3b2c17(0xaa),this[_0x3b2c17(0xc9)],{'errorMessage':_0x1ecc1f});}this[_0x3b2c17(0xb8)](_0x3a9c9c);break;case _0xf54a0f[_0x3b2c17(0xcb)]:if(!this[_0x3b2c17(0xc9)][_0x3b2c17(0x9f)][_0x3b2c17(0xb4)](_0x3b2c17(0xc8))){const _0x395fd4=_0x37a00d(this[_0x3b2c17(0xc9)][_0x3b2c17(0x9b)],_0x3b2c17(0xc3),_0x3b2c17(0xc8));throw new _0x4ea76c(_0x3b2c17(0xaa),this[_0x3b2c17(0xc9)],{'errorMessage':_0x395fd4});}this[_0x3b2c17(0xb3)](_0x3a9c9c);}}async[_0x410029(0xd6)](_0x418d2e){const _0x4568f3=_0x410029,_0x321f41=this[_0x4568f3(0xc9)][_0x4568f3(0x9f)][_0x4568f3(0xbe)](_0x4568f3(0xa9)),_0x2ea4a5=this[_0x4568f3(0xc9)][_0x4568f3(0x9f)][_0x4568f3(0xbe)](_0x4568f3(0xc0));if(this[_0x4568f3(0xc9)][_0x4568f3(0x9f)][_0x4568f3(0xbe)](_0x4568f3(0xb1))[_0x4568f3(0xae)][_0x4568f3(0xc6)](_0x4568f3(0xac)),_0x4568f3(0xd5)===_0x418d2e['id'])_0x2ea4a5[_0x4568f3(0xce)](),await _0x321f41[_0x4568f3(0xd1)](),_0x321f41[_0x4568f3(0xcf)]();else await _0x321f41[_0x4568f3(0xc7)](),_0x2ea4a5[_0x4568f3(0xce)](),await _0x321f41[_0x4568f3(0xd1)](),_0x321f41[_0x4568f3(0xcf)](),await _0x321f41[_0x4568f3(0xb2)]({'message':_0x418d2e[_0x4568f3(0x9c)]||_0x418d2e[_0x4568f3(0xd7)],'quickActionData':{'id':_0x418d2e['id'],'displayedPrompt':_0x418d2e[_0x4568f3(0xd7)]}});}[_0x410029(0xa4)](){const _0x406a72=_0x410029,_0x2b04e7=this[_0x406a72(0xc9)],_0x3a5d34=_0x2b04e7[_0x406a72(0xb7)][_0x406a72(0xc2)][_0x406a72(0xbc)];if(!_0x3a5d34[_0x406a72(0xd4)])return;const _0x432122=_0xe94610(_0x3a5d34[_0x406a72(0x9d)]())||_0x2b04e7[_0x406a72(0xb7)][_0x406a72(0xb0)][_0x406a72(0xb5)](_0x3a5d34);_0x2b04e7[_0x406a72(0xb7)][_0x406a72(0xc5)](_0x360a07=>{const _0x2a2f55=_0x406a72;_0x360a07[_0x2a2f55(0xc4)](_0x432122,'in');});}[_0x410029(0xcc)](_0x5585df){const _0xfbff96=_0x410029;return _0x5585df[_0xfbff96(0xab)]?.[_0xfbff96(0xb9)]&&_0xfbff96(0xa8)!==_0x5585df[_0xfbff96(0xab)]?.['id']?_0x5585df[_0xfbff96(0xab)][_0xfbff96(0xb9)]+':\x20'+_0x5585df[_0xfbff96(0xd7)]:_0x5585df[_0xfbff96(0xd7)];}async[_0x410029(0xb8)](_0x490006){const _0x57e80d=_0x410029,_0x47f9ca=this[_0x57e80d(0xc9)][_0x57e80d(0x9f)][_0x57e80d(0xbe)](_0x57e80d(0xa6)),_0x32a773=_0x490006[_0x57e80d(0x9c)]?{'userMessage':_0x490006[_0x57e80d(0x9c)],'model':_0x490006[_0x57e80d(0xb7)]}:{'actionName':_0x490006[_0x57e80d(0xa2)]||_0x490006['id'],'args':_0x490006[_0x57e80d(0xbf)]},_0x1cb109=this[_0x57e80d(0xcc)](_0x490006);await _0x47f9ca[_0x57e80d(0xd2)](_0x32a773,_0x1cb109,_0x490006[_0x57e80d(0xaf)]);}async[_0x410029(0xb3)](_0x2de8a7){const _0x8b807b=_0x410029;console[_0x8b807b(0xba)](_0x8b807b(0xb6),_0x2de8a7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xacb2(_0x435faf,_0x5588f8){const _0x477fe4=_0x477f();return _0xacb2=function(_0xacb217,_0x249845){_0xacb217=_0xacb217-0xf5;let _0x564adf=_0x477fe4[_0xacb217];return _0x564adf;},_0xacb2(_0x435faf,_0x5588f8);}const _0x4efbd9=_0xacb2;function _0x477f(){const _0x5c4433=['removeSelectionFromChatContext','get','5550540bHUTFh','5383oGQhxN','add','plugins','AIQuickActionsEditing','20nwByHu','isPremiumPlugin','directChange','pluginName','has','editor','model','init','commands','aiQuickAction','AIChat','isOfficialPlugin','95NrScUo','12280hpTUvr','9618804PKaijb','10413183IcFuXV','document','selection','94FKupZQ','change:range','341886aDiHqg','972590LhMGFG','32514xozCjc'];_0x477f=function(){return _0x5c4433;};return _0x477f();}(function(_0x5eb134,_0x3883f1){const _0x5bdc2f=_0xacb2,_0x41db6b=_0x5eb134();while(!![]){try{const _0x117fda=-parseInt(_0x5bdc2f(0x10d))/0x1+parseInt(_0x5bdc2f(0x10a))/0x2*(-parseInt(_0x5bdc2f(0x10e))/0x3)+parseInt(_0x5bdc2f(0x111))/0x4+parseInt(_0x5bdc2f(0x104))/0x5*(-parseInt(_0x5bdc2f(0x10c))/0x6)+-parseInt(_0x5bdc2f(0x112))/0x7*(-parseInt(_0x5bdc2f(0x105))/0x8)+-parseInt(_0x5bdc2f(0x106))/0x9+parseInt(_0x5bdc2f(0xf8))/0xa*(parseInt(_0x5bdc2f(0x107))/0xb);if(_0x117fda===_0x3883f1)break;else _0x41db6b['push'](_0x41db6b['shift']());}catch(_0x5f13a8){_0x41db6b['push'](_0x41db6b['shift']());}}}(_0x477f,0xca251));import{Plugin as _0x4fd823}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x43b521}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x4fd823{static get[_0x4efbd9(0xfb)](){const _0x12bbb2=_0x4efbd9;return _0x12bbb2(0xf7);}static get[_0x4efbd9(0x103)](){return!0x0;}static get[_0x4efbd9(0xf9)](){return!0x0;}[_0x4efbd9(0xff)](){const _0x22a344=_0x4efbd9,_0x5edb25=this[_0x22a344(0xfd)],_0x490c88=new _0x43b521(this[_0x22a344(0xfd)]);if(_0x5edb25[_0x22a344(0x100)][_0x22a344(0xf5)](_0x22a344(0x101),_0x490c88),_0x5edb25[_0x22a344(0xf6)][_0x22a344(0xfc)](_0x22a344(0x102))){const _0x361550=this[_0x22a344(0xfd)][_0x22a344(0xf6)][_0x22a344(0x110)](_0x22a344(0x102));_0x5edb25[_0x22a344(0xfe)][_0x22a344(0x108)][_0x22a344(0x109)]['on'](_0x22a344(0x10b),(_0x301e3f,_0xf8d058)=>{const _0x2f5fad=_0x22a344;_0xf8d058[_0x2f5fad(0xfa)]&&_0x361550[_0x2f5fad(0x10f)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x324abe=_0x4163;(function(_0x3cc483,_0x5f4be8){const _0xfc17e=_0x4163,_0x4a3c4d=_0x3cc483();while(!![]){try{const _0x361f75=parseInt(_0xfc17e(0x112))/0x1*(-parseInt(_0xfc17e(0xd5))/0x2)+-parseInt(_0xfc17e(0x160))/0x3*(parseInt(_0xfc17e(0xe1))/0x4)+parseInt(_0xfc17e(0x114))/0x5*(parseInt(_0xfc17e(0x135))/0x6)+parseInt(_0xfc17e(0xf2))/0x7+-parseInt(_0xfc17e(0x15e))/0x8*(parseInt(_0xfc17e(0x167))/0x9)+parseInt(_0xfc17e(0x156))/0xa*(-parseInt(_0xfc17e(0x14f))/0xb)+parseInt(_0xfc17e(0xfe))/0xc;if(_0x361f75===_0x5f4be8)break;else _0x4a3c4d['push'](_0x4a3c4d['shift']());}catch(_0x541283){_0x4a3c4d['push'](_0x4a3c4d['shift']());}}}(_0x39c1,0x97fe1));import{IconAIAdjustLength as _0x254508,IconAIAskAI as _0x24f731,IconAIChangeTone as _0x34ffa9,IconAIChatCommands as _0x212549,IconAIContinueWriting as _0x191889,IconAIGrammarCheck as _0xaef611,IconAIImproveWriting as _0x352611,IconAIOther as _0x44fdfa,IconAIQuickActions as _0x418ef1,IconAITranslate as _0x592dcc}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x12d320}from'ckeditor5/src/core.js';import{getTranslation as _0x3613a8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4e8e1f}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x14f495}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x2ca207,BalloonToolbar as _0x2e136d,MenuBarMenuView as _0x25c3ac,MenuBarMenuListView as _0x21ca6d,MenuBarMenuListItemView as _0x45325e,MenuBarMenuListItemButtonView as _0x4b630c}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Bt=_0x324abe(0x13f),Jt=_0x324abe(0x16d),Vt=_0x324abe(0xf0);export var AIQuickActionType;function _0x4163(_0x1daa07,_0x5b337a){const _0x39c1b3=_0x39c1();return _0x4163=function(_0x4163b7,_0x1c62bc){_0x4163b7=_0x4163b7-0xd4;let _0x3d23c1=_0x39c1b3[_0x4163b7];return _0x3d23c1;},_0x4163(_0x1daa07,_0x5b337a);}!function(_0x2d2b9d){const _0x45aabc=_0x324abe;_0x2d2b9d[_0x45aabc(0x117)]=_0x45aabc(0x117),_0x2d2b9d[_0x45aabc(0x111)]=_0x45aabc(0x111),_0x2d2b9d[_0x45aabc(0x140)]=_0x45aabc(0x140);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x21c663){const _0x55b327=_0x324abe;_0x21c663[_0x55b327(0x117)]=_0x55b327(0x11b),_0x21c663[_0x55b327(0x111)]=_0x55b327(0xe9),_0x21c663[_0x55b327(0x140)]=_0x55b327(0x120);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x39c1(){const _0xee24b3=['AI_QUICK_ACTIONS_TRANSLATE_FRENCH','DisplayNames','buttonView','make-tone-confident','pluginName','AI_QUICK_ACTIONS_EXPLAIN','translate-to-spanish','_executeQuickAction','AI_QUICK_ACTIONS_MORE_CONFIDENT','continue','1396NJAFBz','uiLanguage','get','add','language','close','has','make-tone-friendly','AIActions','make-shorter','children','ai.quickActions.removeCommands','portuguese','ai.quickActions.extraCommands','highlight-key-points','<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>','AIQuickActionsUI','5413737sdJgGF','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','_shouldIncludeAction','displayedPrompt','editor','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE','translate-to-chinese','make-longer','delegate','menuitem','aiQuickActions','23298828yegBDd','set','russian','aiQuickAction','other','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CHAT_COMMANDS','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','init','locale','translate','isOfficialPlugin','AI_QUICK_ACTIONS_SUMMARIZE','isPremiumPlugin','_initializeQuickActionsDropdown','ACTION','7bVaYdK','filter','1637385RVRBoh','chat-commands','translate-to-italian','CHAT','_initializeQuickActionsComponents','translate-to-korean','AI_QUICK_ACTIONS_MAKE_SHORTER','AIChat','_prepareQuickActionsDefinition','panelView','focus','change-tone','AIReviewMode','translate-to-japanese','make-tone-casual','korean','improve-writing','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_HEADING','menu','length','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','spanish','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-english','values','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','summarize','translate-to-portuguese','label','12qQZzFG','_quickActionsDefinition','plugins','chinese','commands','menuBar:aiQuickActions','_initializeQuickActionsComponentsAndCommands','japanese','AI_QUICK_ACTIONS_MORE_FRIENDLY','execute','<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>','REVIEW','items','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','adjust-length','push','italian','find','map','config','attachToDom','AI_QUICK_ACTIONS_IMPROVE_WRITING','includes','type','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','componentFactory','55ooFtHP','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-russian','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsMenuBar','some','forEach','995050BzEQfx','explain','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','view','translate-to-german','requires','672ieQqsC','editing','7434rKLuvr','replace','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','English','icon','getDefaultQuickActions','69219viEQnb','actions','german','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','make-tone-direct','ask-ai','<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>','french','211132WUuVXF','english'];_0x39c1=function(){return _0xee24b3;};return _0x39c1();}export class AIQuickActionsUI extends _0x12d320{static get[_0x324abe(0x15d)](){return[_0x2e136d];}static get[_0x324abe(0xdb)](){const _0x4aff2a=_0x324abe;return _0x4aff2a(0xf1);}static get[_0x324abe(0x10d)](){return!0x0;}static get[_0x324abe(0x10f)](){return!0x0;}[_0x324abe(0x10a)](){const _0x9d8f85=_0x324abe;this[_0x9d8f85(0x11c)](this[_0x9d8f85(0x12a)]()),this[_0x9d8f85(0x13b)]();}static[_0x324abe(0x166)](_0xeebc27){return function(_0x3d57ca){const _0x1baf8b=_0x4163,_0x5a0c35=new Intl[(_0x1baf8b(0xd8))](['en'],{'type':_0x1baf8b(0xe5)})['of'](_0x3d57ca[_0x1baf8b(0xe2)]),_0x5850fa=_0x5a0c35||_0x1baf8b(0x164),_0x5ac2a7=[{'id':_0x1baf8b(0x16c),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x158)),'type':AIQuickActionType[_0x1baf8b(0x117)],'icon':_0x24f731},{'id':_0x1baf8b(0x115),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x105)),'icon':_0x212549,'actions':[{'id':_0x1baf8b(0x157),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xdc)),'prompt':Bt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]},{'id':_0x1baf8b(0x132),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x10e)),'prompt':Jt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]},{'id':_0x1baf8b(0xef),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x15a)),'prompt':Vt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]}]},{'id':_0x1baf8b(0x124),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x14a)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0x352611},{'id':_0x1baf8b(0xe0),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x103)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0x191889},{'id':_0x1baf8b(0x162),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xf3)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0xaef611},{'id':_0x1baf8b(0x143),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12c)),'icon':_0x254508,'actions':[{'id':_0x1baf8b(0xea),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x11a)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xfa),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x150)),'type':AIQuickActionType[_0x1baf8b(0x111)]}]},{'id':_0x1baf8b(0x11f),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x126)),'icon':_0x34ffa9,'actions':[{'id':_0x1baf8b(0x122),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12e)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0x16b),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x104)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xe8),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x13d)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xda),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xdf)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xf7),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x125)),'type':AIQuickActionType[_0x1baf8b(0x111)]}]},{'id':_0x1baf8b(0x10c),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0xf8)),'icon':_0x592dcc,'actions':[{'id':_0x1baf8b(0x12f),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x152)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xd6)}},{'id':_0x1baf8b(0xf9),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12b)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x138)}},{'id':_0x1baf8b(0xdd),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x142)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x12d)}},{'id':_0x1baf8b(0x15c),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x131)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x169)}},{'id':_0x1baf8b(0x108),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xd7)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xd4)}},{'id':_0x1baf8b(0x121),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x14d)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x13c)}},{'id':_0x1baf8b(0x133),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x107)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xed)}},{'id':_0x1baf8b(0x119),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x109)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x123)}},{'id':_0x1baf8b(0x116),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x16a)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x145)}},{'id':_0x1baf8b(0x151),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x163)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x100)}}]},{'id':_0x1baf8b(0x102),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x159)),'icon':_0x44fdfa,'actions':[]}];return _0x5ac2a7;}(_0xeebc27);}[_0x324abe(0x12a)](){const _0x7eede9=_0x324abe,_0x58e3ef=AIQuickActionsUI[_0x7eede9(0x166)](this[_0x7eede9(0xf6)][_0x7eede9(0x10b)]),_0x57b4e7=(this[_0x7eede9(0xf6)][_0x7eede9(0x148)][_0x7eede9(0xe3)](_0x7eede9(0xee))||[])[_0x7eede9(0x147)](_0x3412a6=>({..._0x3412a6,'icon':void 0x0}));return _0x58e3ef[_0x7eede9(0x146)](_0x32423b=>_0x7eede9(0x102)===_0x32423b['id'])[_0x7eede9(0x168)][_0x7eede9(0x144)](..._0x57b4e7),_0x58e3ef;}[_0x324abe(0x13b)](){const _0x44c5c1=_0x324abe,_0xc2f981=new _0x2ca207(this[_0x44c5c1(0xf6)][_0x44c5c1(0x10b)]);_0xc2f981[_0x44c5c1(0x149)](),this[_0x44c5c1(0x110)](_0xc2f981),this[_0x44c5c1(0x153)](),this[_0x44c5c1(0x118)](_0xc2f981);}[_0x324abe(0x110)](_0x228cce){const _0x7352c0=_0x324abe;this[_0x7352c0(0xf6)]['ui'][_0x7352c0(0x14e)][_0x7352c0(0xe4)](_0x7352c0(0xfd),_0x4e8e1f(this[_0x7352c0(0xf6)],this[_0x7352c0(0x136)],{'icon':_0x418ef1,'label':_0x3613a8(this[_0x7352c0(0xf6)][_0x7352c0(0x10b)],_0x7352c0(0x127))},_0x228cce));}[_0x324abe(0x11c)](_0xc7da15){const _0x54dd9a=_0x324abe;this[_0x54dd9a(0x136)]=_0xc7da15[_0x54dd9a(0x147)](_0x3d81fd=>{const _0x1a2ad0=_0x54dd9a;if(_0x1a2ad0(0x168)in _0x3d81fd){const _0x4231d4=_0x3d81fd;return{..._0x4231d4,'actions':_0x4231d4[_0x1a2ad0(0x168)][_0x1a2ad0(0x147)](_0xcbbdca=>{const {actions:_0x3de6bd,..._0x44a343}=_0x4231d4;return{..._0xcbbdca,'parent':_0x44a343};})[_0x1a2ad0(0x113)](_0x5583a6=>this[_0x1a2ad0(0xf4)](_0x5583a6))};}return _0x3d81fd;})[_0x54dd9a(0x113)](_0x41d3f7=>_0x54dd9a(0x168)in _0x41d3f7?_0x41d3f7[_0x54dd9a(0x168)][_0x54dd9a(0x129)]>0x0:this[_0x54dd9a(0xf4)](_0x41d3f7));}[_0x324abe(0xf4)](_0x35ffe7){const _0xf44fd9=_0x324abe,_0x144fef=this[_0xf44fd9(0xf6)][_0xf44fd9(0x148)][_0xf44fd9(0xe3)](_0xf44fd9(0xec))||[];return this[_0xf44fd9(0xf6)][_0xf44fd9(0x137)][_0xf44fd9(0xe7)](AIQuickActionTypeToPluginName[_0x35ffe7[_0xf44fd9(0x14c)]])&&!_0x144fef[_0xf44fd9(0x14b)](_0x35ffe7['id']);}[_0x324abe(0x118)](_0xe044f8){const _0x2dca1b=_0x324abe;this[_0x2dca1b(0x136)][_0x2dca1b(0x155)](_0x221711=>{const _0x22052e=_0x2dca1b;if(_0x22052e(0x168)in _0x221711){const _0x4dd335=_0x4e8e1f(this[_0x22052e(0xf6)],_0x221711[_0x22052e(0x168)],_0x221711,_0xe044f8);this[_0x22052e(0xf6)]['ui'][_0x22052e(0x14e)][_0x22052e(0xe4)](_0x221711['id'],_0x4dd335),_0x221711[_0x22052e(0x168)][_0x22052e(0x155)](_0x3447eb=>{const _0x39e97e=_0x22052e,_0x4a429c=_0x14f495(this[_0x39e97e(0xf6)],_0x3447eb);this[_0x39e97e(0xf6)]['ui'][_0x39e97e(0x14e)][_0x39e97e(0xe4)](_0x3447eb['id'],_0x4a429c);});}else{const _0x370cb7=_0x14f495(this[_0x22052e(0xf6)],_0x221711,!0x1,!0x0,!0x1);this[_0x22052e(0xf6)]['ui'][_0x22052e(0x14e)][_0x22052e(0xe4)](_0x221711['id'],_0x370cb7);}});}[_0x324abe(0x153)](){const _0x5b5c15=_0x324abe;this[_0x5b5c15(0xf6)]['ui'][_0x5b5c15(0x14e)][_0x5b5c15(0xe4)](_0x5b5c15(0x13a),_0x4889d9=>{const _0x40ec80=_0x5b5c15,_0x53c082=new _0x25c3ac(_0x4889d9),_0x2f4323=_0x3613a8(_0x4889d9,_0x40ec80(0x127));_0x53c082[_0x40ec80(0xd9)][_0x40ec80(0xff)]({'label':_0x2f4323,'icon':_0x418ef1});const _0x3d51ee=new _0x21ca6d(_0x4889d9);_0x3d51ee[_0x40ec80(0xff)]({'ariaLabel':_0x2f4323,'role':_0x40ec80(0x128)}),this[_0x40ec80(0x136)][_0x40ec80(0x155)](_0xc08101=>{const _0x2c8011=_0x40ec80;if(_0x2c8011(0x168)in _0xc08101){const _0x1f5203=_0xc08101,_0x390662=new _0x45325e(_0x4889d9,_0x53c082),_0x428055=new _0x25c3ac(_0x4889d9),_0x58db9d=new _0x21ca6d(_0x4889d9);_0x428055[_0x2c8011(0xd9)][_0x2c8011(0xff)]({'label':_0x1f5203[_0x2c8011(0x134)],'icon':_0x1f5203[_0x2c8011(0x165)]}),_0x1f5203[_0x2c8011(0x168)][_0x2c8011(0x155)](_0x4eab46=>{const _0x443d37=_0x2c8011,_0x36f758=new _0x45325e(_0x4889d9,_0x428055),_0x3ee9b0=new _0x4b630c(_0x4889d9);_0x3ee9b0[_0x443d37(0xff)]({'label':_0x4eab46[_0x443d37(0xf5)],'icon':_0x4eab46[_0x443d37(0x165)],'role':_0x443d37(0xfc)}),_0x3ee9b0['on'](_0x443d37(0x13e),()=>{const _0x489871=_0x443d37;this[_0x489871(0xde)](_0x4eab46);}),_0x3ee9b0[_0x443d37(0xfb)](_0x443d37(0x13e))['to'](_0x428055),_0x36f758[_0x443d37(0xeb)][_0x443d37(0xe4)](_0x3ee9b0),_0x58db9d[_0x443d37(0x141)][_0x443d37(0xe4)](_0x36f758);}),_0x428055[_0x2c8011(0x11d)][_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x58db9d),_0x390662[_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x428055),_0x3d51ee[_0x2c8011(0x141)][_0x2c8011(0xe4)](_0x390662);}else{const _0x810244=_0xc08101,_0x347202=new _0x45325e(_0x4889d9,_0x53c082),_0x5861f0=new _0x4b630c(_0x4889d9);_0x5861f0[_0x2c8011(0xff)]({'label':_0x810244[_0x2c8011(0xf5)],'icon':_0x810244[_0x2c8011(0x165)],'role':_0x2c8011(0xfc)}),_0x5861f0['on'](_0x2c8011(0x13e),()=>{const _0x452beb=_0x2c8011;this[_0x452beb(0xde)](_0x810244);}),_0x5861f0[_0x2c8011(0xfb)](_0x2c8011(0x13e))['to'](_0x53c082),_0x347202[_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x5861f0),_0x3d51ee[_0x2c8011(0x141)][_0x2c8011(0xe4)](_0x347202);}});const _0x54271c=Object[_0x40ec80(0x130)](AIQuickActionTypeToPluginName)[_0x40ec80(0x154)](_0x27a620=>this[_0x40ec80(0xf6)][_0x40ec80(0x137)][_0x40ec80(0xe7)](_0x27a620));return _0x53c082[_0x40ec80(0xff)]({'isEnabled':_0x54271c}),_0x53c082[_0x40ec80(0x11d)][_0x40ec80(0xeb)][_0x40ec80(0xe4)](_0x3d51ee),_0x53c082;});}[_0x324abe(0xde)](_0x2bd0cb){const _0x4ed14d=_0x324abe,_0x4410b1=this[_0x4ed14d(0xf6)];_0x4410b1[_0x4ed14d(0x15f)][_0x4ed14d(0x15b)][_0x4ed14d(0x11e)](),_0x4410b1[_0x4ed14d(0x139)][_0x4ed14d(0x13e)](_0x4ed14d(0x101),_0x2bd0cb);const _0x50e1b3=_0x4410b1['ui'][_0x4ed14d(0x15b)][_0x4ed14d(0x106)];_0x50e1b3&&_0x50e1b3[_0x4ed14d(0xe6)]&&_0x50e1b3[_0x4ed14d(0xe6)]();}}
|
|
23
|
+
function _0x5142(){const _0x29df9f=['find','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_EXPLAIN','6205604gOofdR','translate-to-japanese','aiQuickAction','length','AI_QUICK_ACTIONS_MORE_CONFIDENT','editing','russian','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','1742784QMIQsW','actions','REVIEW','_initializeQuickActionsComponentsAndCommands','focus','AI_QUICK_ACTIONS_IMPROVE_WRITING','aiQuickActions','ACTION','improve-writing','label','chinese','AI_QUICK_ACTIONS_CHANGE_TONE','AIChat','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-longer','language','config','DisplayNames','_initializeQuickActionsDropdown','items','close','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','ai.quickActions.removeCommands','1767334HynwOS','translate','spanish','16431448ZqKcDy','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_CONTINUE_WRITING','execute','view','<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>','japanese','icon','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-english','AI_QUICK_ACTIONS_MAKE_SHORTER','menu','getDefaultQuickActions','other','pluginName','translate-to-spanish','3895650bQUHsz','buttonView','translate-to-portuguese','replace','map','menuBar:aiQuickActions','init','AIQuickActionsUI','componentFactory','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','translate-to-russian','make-tone-professional','change-tone','isOfficialPlugin','german','filter','AI_QUICK_ACTIONS_TRANSLATE','english','has','explain','CHAT','attachToDom','_initializeQuickActionsMenuBar','summarize','AI_QUICK_ACTIONS_SUMMARIZE','adjust-length','displayedPrompt','forEach','italian','french','translate-to-korean','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','delegate','make-shorter','menuBarView','plugins','children','commands','<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>','_prepareQuickActionsDefinition','push','_shouldIncludeAction','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AIReviewMode','_executeQuickAction','<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>','type','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','highlight-key-points','AIActions','translate-to-german','requires','includes','set','7YsRIIv','English','7498032xYJcSi','some','korean','2580380nZGcfw','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','_getDefaultAndCustomActions','make-tone-confident','AI_QUICK_ACTIONS_MORE_FRIENDLY','fix-grammar','AI_QUICK_ACTIONS_MORE_CASUAL','_quickActionsDefinition','locale','make-tone-direct','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','panelView','make-tone-friendly','AI_QUICK_ACTIONS_ADJUST_LENGTH','uiLanguage','translate-to-chinese','continue','portuguese','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','isPremiumPlugin','values','AI_QUICK_ACTIONS_CHAT_COMMANDS','editor','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_MORE_DIRECT','add','ai.quickActions.extraCommands','menuitem','chat-commands','get','translate-to-italian','ask-ai'];_0x5142=function(){return _0x29df9f;};return _0x5142();}const _0x5a65a5=_0x1f0e;(function(_0x32847d,_0x429716){const _0x5ecb99=_0x1f0e,_0x5d792a=_0x32847d();while(!![]){try{const _0x1a14ed=parseInt(_0x5ecb99(0x107))/0x1+-parseInt(_0x5ecb99(0xef))/0x2+parseInt(_0x5ecb99(0x84))/0x3+-parseInt(_0x5ecb99(0xe6))/0x4+-parseInt(_0x5ecb99(0xc1))/0x5+-parseInt(_0x5ecb99(0xbe))/0x6*(parseInt(_0x5ecb99(0xbc))/0x7)+parseInt(_0x5ecb99(0x10a))/0x8;if(_0x1a14ed===_0x429716)break;else _0x5d792a['push'](_0x5d792a['shift']());}catch(_0x22409e){_0x5d792a['push'](_0x5d792a['shift']());}}}(_0x5142,0xe35ca));import{IconAIAdjustLength as _0x100761,IconAIChangeTone as _0x564699,IconAIChatCommands as _0x404b2f,IconAIContinueWriting as _0x1e044b,IconAIGrammarCheck as _0x32700d,IconAIImproveWriting as _0x3e4e44,IconAIOther as _0x6e919b,IconAIQuickActions as _0xf65495,IconAITranslate as _0x4ab541}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x3efc49}from'ckeditor5/src/core.js';import{getTranslation as _0x227df9}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1862ed}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x9429fc}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3014d6,BalloonToolbar as _0x43cf3c,MenuBarMenuView as _0x1b1819,MenuBarMenuListView as _0xd22edb,MenuBarMenuListItemView as _0x2918e7,MenuBarMenuListItemButtonView as _0x381605}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Ft=_0x5a65a5(0xab),Wt=_0x5a65a5(0x10f),Bt=_0x5a65a5(0xb3);export var AIQuickActionType;function _0x1f0e(_0x14629e,_0x58c40b){const _0x5142c4=_0x5142();return _0x1f0e=function(_0x1f0eed,_0x24bc76){_0x1f0eed=_0x1f0eed-0x7a;let _0x4a7f24=_0x5142c4[_0x1f0eed];return _0x4a7f24;},_0x1f0e(_0x14629e,_0x58c40b);}!function(_0x1e057f){const _0x1965d9=_0x5a65a5;_0x1e057f[_0x1965d9(0x99)]=_0x1965d9(0x99),_0x1e057f[_0x1965d9(0xf6)]=_0x1965d9(0xf6),_0x1e057f[_0x1965d9(0xf1)]=_0x1965d9(0xf1);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x216f01){const _0x3ec103=_0x5a65a5;_0x216f01[_0x3ec103(0x99)]=_0x3ec103(0xfb),_0x216f01[_0x3ec103(0xf6)]=_0x3ec103(0xb7),_0x216f01[_0x3ec103(0xf1)]=_0x3ec103(0xb1);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x3efc49{static get[_0x5a65a5(0xb9)](){return[_0x43cf3c];}static get[_0x5a65a5(0x82)](){const _0x3e6f8f=_0x5a65a5;return _0x3e6f8f(0x8b);}static get[_0x5a65a5(0x92)](){return!0x0;}static get[_0x5a65a5(0xd6)](){return!0x0;}[_0x5a65a5(0x8a)](){const _0x1d99e3=_0x5a65a5;this[_0x1d99e3(0xac)](this[_0x1d99e3(0xc3)]()),this[_0x1d99e3(0xf2)]();}static[_0x5a65a5(0x80)](_0x50397b){return function(_0x3b0c36){const _0x7d31b1=_0x1f0e,_0x26618d=new Intl[(_0x7d31b1(0x101))](['en'],{'type':_0x7d31b1(0xff)})['of'](_0x3b0c36[_0x7d31b1(0xd0)]),_0x18a252=_0x26618d||_0x7d31b1(0xbd),_0xf10560=[{'id':_0x7d31b1(0xe2),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x8d)),'type':AIQuickActionType[_0x7d31b1(0x99)],'icon':_0x404b2f},{'id':_0x7d31b1(0xdf),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0xd8)),'icon':_0x404b2f,'actions':[{'id':_0x7d31b1(0x98),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xe5)),'prompt':Ft[_0x7d31b1(0x87)]('%0',_0x18a252),'type':AIQuickActionType[_0x7d31b1(0x99)]},{'id':_0x7d31b1(0x9c),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x9d)),'prompt':Wt[_0x7d31b1(0x87)]('%0',_0x18a252),'type':AIQuickActionType[_0x7d31b1(0x99)]},{'id':_0x7d31b1(0xb6),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xa4)),'prompt':Bt[_0x7d31b1(0x87)]('%0',_0x18a252),'type':AIQuickActionType[_0x7d31b1(0x99)]}]},{'id':_0x7d31b1(0xf7),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xf4)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'icon':_0x3e4e44},{'id':_0x7d31b1(0xd2),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x10c)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'icon':_0x1e044b},{'id':_0x7d31b1(0xc6),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xb5)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'icon':_0x32700d},{'id':_0x7d31b1(0x9e),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0xcf)),'icon':_0x100761,'actions':[{'id':_0x7d31b1(0xa6),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x7e)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xfe),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xda)),'type':AIQuickActionType[_0x7d31b1(0xf6)]}]},{'id':_0x7d31b1(0x91),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0xfa)),'icon':_0x564699,'actions':[{'id':_0x7d31b1(0xfc),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xc7)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xca),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xdb)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xce),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xc5)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xc4),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xea)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0x90),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xd5)),'type':AIQuickActionType[_0x7d31b1(0xf6)]}]},{'id':_0x7d31b1(0x108),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0x95)),'icon':_0x4ab541,'actions':[{'id':_0x7d31b1(0x7d),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xfd)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x96)}},{'id':_0x7d31b1(0xd1),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x10b)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xf9)}},{'id':_0x7d31b1(0x83),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x7c)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x109)}},{'id':_0x7d31b1(0xb8),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xb0)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x93)}},{'id':_0x7d31b1(0xed),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xd4)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xa2)}},{'id':_0x7d31b1(0xe7),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xc2)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x7a)}},{'id':_0x7d31b1(0x86),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xe4)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xd3)}},{'id':_0x7d31b1(0xa3),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xcc)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xc0)}},{'id':_0x7d31b1(0xe1),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x105)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xa1)}},{'id':_0x7d31b1(0x8f),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xee)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xec)}}]},{'id':_0x7d31b1(0x81),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0x8e)),'icon':_0x6e919b,'actions':[]}];return _0xf10560;}(_0x50397b);}[_0x5a65a5(0xc3)](){const _0x1916df=_0x5a65a5,_0x30731d=AIQuickActionsUI[_0x1916df(0x80)](this[_0x1916df(0xd9)][_0x1916df(0xc9)]),_0x112752=(this[_0x1916df(0xd9)][_0x1916df(0x100)][_0x1916df(0xe0)](_0x1916df(0xdd))||[])[_0x1916df(0x88)](_0x84b040=>({..._0x84b040,'icon':void 0x0}));return _0x30731d[_0x1916df(0xe3)](_0x7d364=>_0x1916df(0x81)===_0x7d364['id'])[_0x1916df(0xf0)][_0x1916df(0xad)](..._0x112752),_0x30731d;}[_0x5a65a5(0xf2)](){const _0xa8014a=_0x5a65a5,_0x15b6ca=new _0x3014d6(this[_0xa8014a(0xd9)][_0xa8014a(0xc9)]);_0x15b6ca[_0xa8014a(0x9a)](),this[_0xa8014a(0x102)](_0x15b6ca),this[_0xa8014a(0x9b)](),this[_0xa8014a(0xcb)](_0x15b6ca);}[_0x5a65a5(0x102)](_0xf7983e){const _0xee45b8=_0x5a65a5;this[_0xee45b8(0xd9)]['ui'][_0xee45b8(0x8c)][_0xee45b8(0xdc)](_0xee45b8(0xf5),_0x1862ed(this[_0xee45b8(0xd9)],this[_0xee45b8(0xc8)],{'icon':_0xf65495,'label':_0x227df9(this[_0xee45b8(0xd9)][_0xee45b8(0xc9)],_0xee45b8(0xaf))},_0xf7983e));}[_0x5a65a5(0xac)](_0x857412){const _0x2ee45f=_0x5a65a5;this[_0x2ee45f(0xc8)]=_0x857412[_0x2ee45f(0x88)](_0x478f3d=>{const _0xea7f9f=_0x2ee45f;if(_0xea7f9f(0xf0)in _0x478f3d){const _0x27cb8b=_0x478f3d;return{..._0x27cb8b,'actions':_0x27cb8b[_0xea7f9f(0xf0)][_0xea7f9f(0x88)](_0x4790de=>{const {actions:_0x3e1a99,..._0xc71a7a}=_0x27cb8b;return{..._0x4790de,'parent':_0xc71a7a};})[_0xea7f9f(0x94)](_0x5fcb74=>this[_0xea7f9f(0xae)](_0x5fcb74))};}return _0x478f3d;})[_0x2ee45f(0x94)](_0x305ea2=>_0x2ee45f(0xf0)in _0x305ea2?_0x305ea2[_0x2ee45f(0xf0)][_0x2ee45f(0xe9)]>0x0:this[_0x2ee45f(0xae)](_0x305ea2));}[_0x5a65a5(0xae)](_0x2bca92){const _0x1f5ad4=_0x5a65a5,_0x69521=this[_0x1f5ad4(0xd9)][_0x1f5ad4(0x100)][_0x1f5ad4(0xe0)](_0x1f5ad4(0x106))||[];return this[_0x1f5ad4(0xd9)][_0x1f5ad4(0xa8)][_0x1f5ad4(0x97)](AIQuickActionTypeToPluginName[_0x2bca92[_0x1f5ad4(0xb4)]])&&!_0x69521[_0x1f5ad4(0xba)](_0x2bca92['id']);}[_0x5a65a5(0xcb)](_0x1e5a8c){const _0x128981=_0x5a65a5;this[_0x128981(0xc8)][_0x128981(0xa0)](_0x2d2564=>{const _0x4529d5=_0x128981;if(_0x4529d5(0xf0)in _0x2d2564){const _0x2b7c6f=_0x1862ed(this[_0x4529d5(0xd9)],_0x2d2564[_0x4529d5(0xf0)],_0x2d2564,_0x1e5a8c);this[_0x4529d5(0xd9)]['ui'][_0x4529d5(0x8c)][_0x4529d5(0xdc)](_0x2d2564['id'],_0x2b7c6f),_0x2d2564[_0x4529d5(0xf0)][_0x4529d5(0xa0)](_0x59c6bf=>{const _0xd3377e=_0x4529d5,_0xf0b261=_0x9429fc(this[_0xd3377e(0xd9)],_0x59c6bf);this[_0xd3377e(0xd9)]['ui'][_0xd3377e(0x8c)][_0xd3377e(0xdc)](_0x59c6bf['id'],_0xf0b261);});}else{const _0x26f89e=_0x9429fc(this[_0x4529d5(0xd9)],_0x2d2564,!0x1,!0x0,!0x1);this[_0x4529d5(0xd9)]['ui'][_0x4529d5(0x8c)][_0x4529d5(0xdc)](_0x2d2564['id'],_0x26f89e);}});}[_0x5a65a5(0x9b)](){const _0x3278d8=_0x5a65a5;this[_0x3278d8(0xd9)]['ui'][_0x3278d8(0x8c)][_0x3278d8(0xdc)](_0x3278d8(0x89),_0x593057=>{const _0x3c66c1=_0x3278d8,_0x1081a5=new _0x1b1819(_0x593057),_0x5ebfbc=_0x227df9(_0x593057,_0x3c66c1(0xaf));_0x1081a5[_0x3c66c1(0x85)][_0x3c66c1(0xbb)]({'label':_0x5ebfbc,'icon':_0xf65495});const _0x225b37=new _0xd22edb(_0x593057);_0x225b37[_0x3c66c1(0xbb)]({'ariaLabel':_0x5ebfbc,'role':_0x3c66c1(0x7f)}),this[_0x3c66c1(0xc8)][_0x3c66c1(0xa0)](_0x4e4236=>{const _0x2bf7bd=_0x3c66c1;if(_0x2bf7bd(0xf0)in _0x4e4236){const _0x43c484=_0x4e4236,_0x2be687=new _0x2918e7(_0x593057,_0x1081a5),_0x5a46f4=new _0x1b1819(_0x593057),_0x24412a=new _0xd22edb(_0x593057);_0x5a46f4[_0x2bf7bd(0x85)][_0x2bf7bd(0xbb)]({'label':_0x43c484[_0x2bf7bd(0xf8)],'icon':_0x43c484[_0x2bf7bd(0x7b)]}),_0x43c484[_0x2bf7bd(0xf0)][_0x2bf7bd(0xa0)](_0x3f7c7e=>{const _0x49a209=_0x2bf7bd,_0x2e077d=new _0x2918e7(_0x593057,_0x5a46f4),_0xfd058f=new _0x381605(_0x593057);_0xfd058f[_0x49a209(0xbb)]({'label':_0x3f7c7e[_0x49a209(0x9f)],'icon':_0x3f7c7e[_0x49a209(0x7b)],'role':_0x49a209(0xde)}),_0xfd058f['on'](_0x49a209(0x10d),()=>{const _0x1c626d=_0x49a209;this[_0x1c626d(0xb2)](_0x3f7c7e);}),_0xfd058f[_0x49a209(0xa5)](_0x49a209(0x10d))['to'](_0x5a46f4),_0x2e077d[_0x49a209(0xa9)][_0x49a209(0xdc)](_0xfd058f),_0x24412a[_0x49a209(0x103)][_0x49a209(0xdc)](_0x2e077d);}),_0x5a46f4[_0x2bf7bd(0xcd)][_0x2bf7bd(0xa9)][_0x2bf7bd(0xdc)](_0x24412a),_0x2be687[_0x2bf7bd(0xa9)][_0x2bf7bd(0xdc)](_0x5a46f4),_0x225b37[_0x2bf7bd(0x103)][_0x2bf7bd(0xdc)](_0x2be687);}else{const _0x552c6e=_0x4e4236,_0x6b706e=new _0x2918e7(_0x593057,_0x1081a5),_0x16c309=new _0x381605(_0x593057);_0x16c309[_0x2bf7bd(0xbb)]({'label':_0x552c6e[_0x2bf7bd(0x9f)],'icon':_0x552c6e[_0x2bf7bd(0x7b)],'role':_0x2bf7bd(0xde)}),_0x16c309['on'](_0x2bf7bd(0x10d),()=>{const _0xbd2694=_0x2bf7bd;this[_0xbd2694(0xb2)](_0x552c6e);}),_0x16c309[_0x2bf7bd(0xa5)](_0x2bf7bd(0x10d))['to'](_0x1081a5),_0x6b706e[_0x2bf7bd(0xa9)][_0x2bf7bd(0xdc)](_0x16c309),_0x225b37[_0x2bf7bd(0x103)][_0x2bf7bd(0xdc)](_0x6b706e);}});const _0x24af9b=Object[_0x3c66c1(0xd7)](AIQuickActionTypeToPluginName)[_0x3c66c1(0xbf)](_0x47b616=>this[_0x3c66c1(0xd9)][_0x3c66c1(0xa8)][_0x3c66c1(0x97)](_0x47b616));return _0x1081a5[_0x3c66c1(0xbb)]({'isEnabled':_0x24af9b}),_0x1081a5[_0x3c66c1(0xcd)][_0x3c66c1(0xa9)][_0x3c66c1(0xdc)](_0x225b37),_0x1081a5;});}[_0x5a65a5(0xb2)](_0x20b74d){const _0xf92ec2=_0x5a65a5,_0x1c0ef0=this[_0xf92ec2(0xd9)];_0x1c0ef0[_0xf92ec2(0xeb)][_0xf92ec2(0x10e)][_0xf92ec2(0xf3)](),_0x1c0ef0[_0xf92ec2(0xaa)][_0xf92ec2(0x10d)](_0xf92ec2(0xe8),_0x20b74d);const _0x35aa76=_0x1c0ef0['ui'][_0xf92ec2(0x10e)][_0xf92ec2(0xa7)];_0x35aa76&&_0x35aa76[_0xf92ec2(0x104)]&&_0x35aa76[_0xf92ec2(0x104)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54516a,_0x505284){const _0x355edf=_0x482a,_0x3feb6c=_0x54516a();while(!![]){try{const _0x4d25b4=-parseInt(_0x355edf(0xcc))/0x1*(-parseInt(_0x355edf(0xd0))/0x2)+parseInt(_0x355edf(0xdd))/0x3+-parseInt(_0x355edf(0xd1))/0x4*(parseInt(_0x355edf(0xda))/0x5)+parseInt(_0x355edf(0xcf))/0x6*(-parseInt(_0x355edf(0xce))/0x7)+-parseInt(_0x355edf(0xd6))/0x8*(-parseInt(_0x355edf(0xd4))/0x9)+-parseInt(_0x355edf(0xdc))/0xa+parseInt(_0x355edf(0xdf))/0xb;if(_0x4d25b4===_0x505284)break;else _0x3feb6c['push'](_0x3feb6c['shift']());}catch(_0x5d9b29){_0x3feb6c['push'](_0x3feb6c['shift']());}}}(_0x3f1a,0xbaca2));import{ButtonView as _0x3a88a3}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3fb9c1}from'@ckeditor/ckeditor5-icons';function _0x482a(_0x3cf71e,_0x285c29){const _0x3f1a8e=_0x3f1a();return _0x482a=function(_0x482a47,_0x358cc7){_0x482a47=_0x482a47-0xc7;let _0x5d77ce=_0x3f1a8e[_0x482a47];return _0x5d77ce;},_0x482a(_0x3cf71e,_0x285c29);}export function aiQuickActionsButtonCreator(_0x5aadc6,_0x285635,_0x397d04=!0x1,_0x40d39e=!0x0,_0x156015=!0x0){return()=>{const _0x55c804=_0x482a,_0x5a8558=_0x5aadc6[_0x55c804(0xca)],_0x39fa6c=new _0x3a88a3(_0x5a8558),_0x1fd0b9=_0x39fa6c[_0x55c804(0xd2)];_0x156015&&_0x39fa6c[_0x55c804(0xd7)]({'on':{'mouseenter':_0x1fd0b9['to'](()=>{const _0x20ed4b=_0x55c804;_0x39fa6c[_0x20ed4b(0xd3)]();})}});const _0x1d61c0=_0x285635[_0x55c804(0xcb)]??_0x285635[_0x55c804(0xcd)]?.[_0x55c804(0xcb)];return _0x39fa6c[_0x55c804(0xe0)]({'label':_0x285635[_0x55c804(0xdb)],'withText':_0x397d04,'role':_0x55c804(0xc8),'icon':_0x40d39e?_0x1d61c0??_0x3fb9c1:void 0x0,'tooltip':!_0x397d04,'class':_0x55c804(0xd9)}),_0x39fa6c['on'](_0x55c804(0xd8),()=>{const _0x2051a1=_0x55c804;_0x5aadc6[_0x2051a1(0xde)][_0x2051a1(0xd5)][_0x2051a1(0xd3)](),_0x5aadc6[_0x2051a1(0xc9)][_0x2051a1(0xd8)](_0x2051a1(0xc7),_0x285635);}),_0x39fa6c;};}function _0x3f1a(){const _0x5c38ba=['3853866zIkRqz','editing','4479552tKSqQh','set','aiQuickAction','menuitem','commands','locale','icon','689PFNJhF','parent','602BXBiLN','93894PnlNMg','1046IpGyyP','585436nBARqm','bindTemplate','focus','9VGBetm','view','11771856qSeTeW','extendTemplate','execute','ck-ai-quick-actions-button','30BRfmtW','displayedPrompt','5346250LNIHAE'];_0x3f1a=function(){return _0x5c38ba;};return _0x3f1a();}
|