@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.4.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/ai.js +3 -3
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +67 -4
- package/dist/index.css +117 -54
- package/dist/index.js +6 -6
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/contexts.json +0 -11
- package/lang/translations/af.po +1 -45
- package/lang/translations/ar.po +1 -45
- package/lang/translations/ast.po +1 -45
- package/lang/translations/az.po +1 -45
- package/lang/translations/be.po +1 -45
- package/lang/translations/bg.po +1 -45
- package/lang/translations/bn.po +1 -45
- package/lang/translations/bs.po +1 -45
- package/lang/translations/ca.po +1 -45
- package/lang/translations/cs.po +1 -45
- package/lang/translations/da.po +1 -45
- package/lang/translations/de-ch.po +1 -45
- package/lang/translations/de.po +1 -45
- package/lang/translations/el.po +1 -45
- package/lang/translations/en-au.po +1 -45
- package/lang/translations/en-gb.po +1 -45
- package/lang/translations/en.po +1 -45
- package/lang/translations/eo.po +1 -45
- package/lang/translations/es-co.po +1 -45
- package/lang/translations/es.po +1 -45
- package/lang/translations/et.po +1 -45
- package/lang/translations/eu.po +1 -45
- package/lang/translations/fa.po +1 -45
- package/lang/translations/fi.po +1 -45
- package/lang/translations/fr.po +1 -45
- package/lang/translations/gl.po +1 -45
- package/lang/translations/gu.po +1 -45
- package/lang/translations/he.po +1 -45
- package/lang/translations/hi.po +1 -45
- package/lang/translations/hr.po +1 -45
- package/lang/translations/hu.po +1 -45
- package/lang/translations/hy.po +1 -45
- package/lang/translations/id.po +1 -45
- package/lang/translations/it.po +1 -45
- package/lang/translations/ja.po +1 -45
- package/lang/translations/jv.po +1 -45
- package/lang/translations/kk.po +1 -45
- package/lang/translations/km.po +1 -45
- package/lang/translations/kn.po +1 -45
- package/lang/translations/ko.po +1 -45
- package/lang/translations/ku.po +1 -45
- package/lang/translations/lt.po +1 -45
- package/lang/translations/lv.po +1 -45
- package/lang/translations/ms.po +1 -45
- package/lang/translations/nb.po +1 -45
- package/lang/translations/ne.po +1 -45
- package/lang/translations/nl.po +1 -45
- package/lang/translations/no.po +1 -45
- package/lang/translations/oc.po +1 -45
- package/lang/translations/pl.po +1 -45
- package/lang/translations/pt-br.po +1 -45
- package/lang/translations/pt.po +1 -45
- package/lang/translations/ro.po +1 -45
- package/lang/translations/ru.po +1 -45
- package/lang/translations/si.po +1 -45
- package/lang/translations/sk.po +1 -45
- package/lang/translations/sl.po +1 -45
- package/lang/translations/sq.po +1 -45
- package/lang/translations/sr-latn.po +1 -45
- package/lang/translations/sr.po +1 -45
- package/lang/translations/sv.po +1 -45
- package/lang/translations/th.po +1 -45
- package/lang/translations/ti.po +1 -45
- package/lang/translations/tk.po +1 -45
- package/lang/translations/tr.po +1 -45
- package/lang/translations/tt.po +1 -45
- package/lang/translations/ug.po +1 -45
- package/lang/translations/uk.po +1 -45
- package/lang/translations/ur.po +1 -45
- package/lang/translations/uz.po +1 -45
- package/lang/translations/vi.po +1 -45
- package/lang/translations/zh-cn.po +1 -45
- package/lang/translations/zh.po +1 -45
- package/package.json +16 -16
- package/src/aiactions/aiactions.d.ts +5 -1
- package/src/aiactions/aiactions.js +2 -2
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +2 -2
- package/src/aiactions/model/aiactionsreply.d.ts +1 -1
- package/src/aiactions/model/aiactionsreply.js +2 -2
- package/src/aiassistant/adapters/aiadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aiadapter.js +2 -2
- package/src/aiassistant/adapters/aitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +2 -2
- package/src/aiassistant/adapters/awstextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +2 -2
- package/src/aiassistant/adapters/openaitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +2 -2
- package/src/aiassistant/aiassistant.d.ts +1 -1
- package/src/aiassistant/aiassistant.js +2 -2
- package/src/aiassistant/aiassistantediting.d.ts +1 -1
- package/src/aiassistant/aiassistantediting.js +2 -2
- package/src/aiassistant/aiassistantui.d.ts +1 -1
- package/src/aiassistant/aiassistantui.js +2 -2
- package/src/aiassistant/legacyerrors.d.ts +1 -1
- package/src/aiassistant/legacyerrors.js +2 -2
- package/src/aiassistant/ui/aiassistantcontroller.d.ts +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +3 -3
- package/src/aiassistant/ui/form/aiformcontentarea.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +2 -2
- package/src/aiassistant/ui/form/aiformerrorview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +2 -2
- package/src/aiassistant/ui/form/aiformpromptview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +2 -2
- package/src/aiassistant/ui/form/aiformtoolbarview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +2 -2
- package/src/aiassistant/ui/form/aiformview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +2 -2
- package/src/aiassistant/ui/form/prompthistory.d.ts +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +2 -2
- package/src/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +2 -2
- package/src/aiassistant/utils/common-translations.d.ts +1 -1
- package/src/aiassistant/utils/common-translations.js +2 -2
- package/src/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +2 -2
- package/src/aiballoon/aiballoon.d.ts +1 -1
- package/src/aiballoon/aiballoon.js +2 -2
- package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +2 -2
- package/src/aiballoon/ui/aiballoontoolbarview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +2 -2
- package/src/aiballoon/ui/aiballoonview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoonview.js +2 -2
- package/src/aichat/aichat.d.ts +38 -4
- package/src/aichat/aichat.js +2 -2
- package/src/aichat/aichatcontroller.d.ts +5 -1
- package/src/aichat/aichatcontroller.js +2 -2
- package/src/aichat/aichatui.d.ts +3 -3
- package/src/aichat/aichatui.js +2 -2
- package/src/aichat/model/aichatcontext.d.ts +1 -1
- package/src/aichat/model/aichatcontext.js +2 -2
- package/src/aichat/model/aichatconversation.d.ts +10 -10
- package/src/aichat/model/aichatconversation.js +2 -2
- package/src/aichat/model/aichatinteraction.d.ts +1 -1
- package/src/aichat/model/aichatinteraction.js +2 -2
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -4
- package/src/aichat/ui/aichatcontrolsview.js +2 -2
- package/src/aichat/ui/aichatfeedview.d.ts +1 -1
- package/src/aichat/ui/aichatfeedview.js +2 -2
- package/src/aichat/ui/aichatheaderview.d.ts +1 -1
- package/src/aichat/ui/aichatheaderview.js +2 -2
- package/src/aichat/ui/aichatview.d.ts +1 -1
- package/src/aichat/ui/aichatview.js +2 -2
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +2 -2
- package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +2 -2
- package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +5 -5
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +2 -2
- package/src/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +2 -2
- package/src/aichat/utils/eventnames.d.ts +1 -1
- package/src/aichat/utils/eventnames.js +2 -2
- package/src/aichat/utils/promisequeue.d.ts +1 -1
- package/src/aichat/utils/promisequeue.js +2 -2
- package/src/aichathistory/aichathistory.d.ts +1 -1
- package/src/aichathistory/aichathistory.js +2 -2
- package/src/aichathistory/aichathistorycontroller.d.ts +1 -1
- package/src/aichathistory/aichathistorycontroller.js +2 -2
- package/src/aichathistory/aichathistoryui.d.ts +1 -1
- package/src/aichathistory/aichathistoryui.js +2 -2
- package/src/aichathistory/model/aichathistoryconversations.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +2 -2
- package/src/aichathistory/model/aichathistoryitem.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +2 -2
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +3 -3
- package/src/aichathistory/ui/aichathistorylistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +2 -2
- package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +2 -2
- package/src/aichathistory/ui/aichathistoryview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +2 -2
- package/src/aiconfig.d.ts +1 -1
- package/src/aiconfig.js +1 -1
- package/src/aicore/aiconnector.d.ts +4 -2
- package/src/aicore/aiconnector.js +2 -2
- package/src/aicore/aiediting.d.ts +1 -1
- package/src/aicore/aiediting.js +2 -2
- package/src/aicore/model/aicapabilities.d.ts +1 -1
- package/src/aicore/model/aicapabilities.js +2 -2
- package/src/aicore/model/aicontext.d.ts +1 -1
- package/src/aicore/model/aicontext.js +2 -2
- package/src/aicore/model/aiinteraction.d.ts +1 -1
- package/src/aicore/model/aiinteraction.js +2 -2
- package/src/aicore/model/aimodels.d.ts +3 -12
- package/src/aicore/model/aimodels.js +2 -2
- package/src/aicore/model/aireply.d.ts +1 -1
- package/src/aicore/model/aireply.js +2 -2
- package/src/aicore/pipeline/airesponseapplier.d.ts +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +3 -3
- package/src/aicore/pipeline/airesponseparser.d.ts +1 -1
- package/src/aicore/pipeline/airesponseparser.js +3 -3
- package/src/aicore/ui/aidisclaimerview.d.ts +1 -1
- package/src/aicore/ui/aidisclaimerview.js +2 -2
- package/src/aicore/ui/aiskeleton.d.ts +1 -1
- package/src/aicore/ui/aiskeleton.js +2 -2
- package/src/aicore/ui/aispinner.d.ts +1 -1
- package/src/aicore/ui/aispinner.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +5 -5
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +2 -2
- package/src/aicore/utils/common-translations.d.ts +1 -1
- package/src/aicore/utils/common-translations.js +2 -2
- package/src/aicore/utils/createresizebutton.d.ts +1 -1
- package/src/aicore/utils/createresizebutton.js +2 -2
- package/src/aicore/utils/documentposition.d.ts +1 -1
- package/src/aicore/utils/documentposition.js +2 -2
- package/src/aicore/utils/documentrange.d.ts +1 -1
- package/src/aicore/utils/documentrange.js +2 -2
- package/src/aicore/utils/eventnames.d.ts +1 -1
- package/src/aicore/utils/eventnames.js +2 -2
- package/src/aicore/utils/geteditorfromcontext.d.ts +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +2 -2
- package/src/aicore/utils/getoperationsfromreply.d.ts +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +2 -2
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +2 -2
- package/src/aicore/utils/htmlparser.d.ts +1 -1
- package/src/aicore/utils/htmlparser.js +2 -2
- package/src/aicore/utils/htmlstreamer.d.ts +1 -1
- package/src/aicore/utils/htmlstreamer.js +2 -2
- package/src/aicore/utils/scrollmanager.d.ts +1 -1
- package/src/aicore/utils/scrollmanager.js +2 -2
- package/src/aieditorintegration/aieditorintegration.d.ts +1 -1
- package/src/aieditorintegration/aieditorintegration.js +2 -2
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +2 -2
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +2 -2
- package/src/aiquickactions/aiquickactions.d.ts +1 -1
- package/src/aiquickactions/aiquickactions.js +2 -2
- package/src/aiquickactions/aiquickactionscommand.d.ts +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +2 -2
- package/src/aiquickactions/aiquickactionsediting.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +2 -2
- package/src/aiquickactions/aiquickactionsui.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsui.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +2 -2
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +2 -2
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +2 -2
- package/src/aireviewmode/aireviewmode.d.ts +1 -1
- package/src/aireviewmode/aireviewmode.js +2 -2
- package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +2 -2
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +2 -2
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +2 -2
- package/src/aireviewmode/model/aireviewcheck.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +2 -2
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +2 -2
- package/src/aireviewmode/model/aireviewchecklist.d.ts +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresult.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +2 -2
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +2 -2
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +2 -2
- package/src/aitabs/aitabs.d.ts +1 -1
- package/src/aitabs/aitabs.js +2 -2
- package/src/aitabs/aitabsmainview.d.ts +1 -1
- package/src/aitabs/aitabsmainview.js +2 -2
- package/src/aitabs/tabs/aitabsview.d.ts +1 -1
- package/src/aitabs/tabs/aitabsview.js +2 -2
- package/src/aitabs/tabs/tabbuttonview.d.ts +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +2 -2
- package/src/aitabs/tabs/tabpanelview.d.ts +1 -1
- package/src/aitabs/tabs/tabpanelview.js +2 -2
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/errors.d.ts +1 -1
- package/src/errors.js +2 -2
- package/src/errorsmap.d.ts +1 -1
- package/src/errorsmap.js +2 -2
- package/src/index.d.ts +1 -2
- package/src/index.js +2 -2
- package/theme/aiassistant/ai-dropdown.css +1 -1
- package/theme/aiassistant/ai-form.css +1 -1
- package/theme/aiassistant/ai.css +1 -1
- package/theme/aiballoon/aiballoon.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-button.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
- package/theme/aichat/aichat-controls/model-unavailable-message.css +1 -1
- package/theme/aichat/aichat-controls/prompt-capabilities.css +1 -1
- package/theme/aichat/aichat-controls/prompt-input.css +1 -1
- package/theme/aichat/aichat-controls.css +1 -1
- package/theme/aichat/aichat.css +1 -1
- package/theme/aichat/aichatfeed.css +55 -1
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aiminitoolbar.css +1 -1
- package/theme/aichat/aisuggestioncontainer.css +1 -1
- package/theme/aieditorintegration/aitogglebutton.css +1 -1
- package/theme/aiquickactions/aiquickactions.css +1 -1
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run-result.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run.css +1 -1
- package/theme/aireviewmode/aireviewmode-review-completed.css +1 -1
- package/theme/aireviewmode/aireviewmode.css +9 -4
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -1
- package/theme/aitabs/tabs/tabsview.css +1 -1
- package/theme/common/aibutton.css +1 -1
- package/theme/common/aidisclaimer.css +1 -1
- package/theme/common/aiheader.css +1 -1
- package/theme/common/ainotification.css +1 -1
- package/theme/common/aiskeleton.css +1 -1
- package/theme/common/aispinner.css +1 -1
- package/theme/common/aitrackchanges.css +1 -1
- package/src/aichat/model/aichatmodels.d.ts +0 -63
- package/src/aichat/model/aichatmodels.js +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x453ad9=_0x5dd3;(function(_0x2cba17,_0x557e97){const _0x48e6d4=_0x5dd3,_0x86c46d=_0x2cba17();while(!![]){try{const _0x43dcff=parseInt(_0x48e6d4(0x12d))/0x1*(parseInt(_0x48e6d4(0x13f))/0x2)+parseInt(_0x48e6d4(0xec))/0x3*(-parseInt(_0x48e6d4(0x105))/0x4)+-parseInt(_0x48e6d4(0x118))/0x5+-parseInt(_0x48e6d4(0xf6))/0x6+parseInt(_0x48e6d4(0x13e))/0x7*(-parseInt(_0x48e6d4(0xf5))/0x8)+-parseInt(_0x48e6d4(0xfe))/0x9*(-parseInt(_0x48e6d4(0x12c))/0xa)+-parseInt(_0x48e6d4(0x142))/0xb*(-parseInt(_0x48e6d4(0x11f))/0xc);if(_0x43dcff===_0x557e97)break;else _0x86c46d['push'](_0x86c46d['shift']());}catch(_0x35be42){_0x86c46d['push'](_0x86c46d['shift']());}}}(_0x4a54,0x1d696));import{Plugin as _0x3808cc}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x378e9e}from'./aiassistantui.js';function _0x5dd3(_0x53366c,_0x5300dc){const _0x4a54e2=_0x4a54();return _0x5dd3=function(_0x5dd352,_0x284f1b){_0x5dd352=_0x5dd352-0xdd;let _0x408ce=_0x4a54e2[_0x5dd352];return _0x408ce;},_0x5dd3(_0x53366c,_0x5300dc);}import{AIAssistantEditing as _0x1445f5}from'./aiassistantediting.js';import{getTranslation as _0x2b5cad}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3911c1}from'./utils/normalizecommandsconfig.js';function _0x4a54(){const _0x36df5a=['Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','direct','concat','Hindi','Confident','includes','config','changeStyle','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Legal','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','makeLonger','translateGerman','Casual','Poetic','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateFrench','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','83262TNQaTc','Summarize','define','find','ai.assistant.extraCommandGroups','continue','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','groupId','professional','1513336bcrSlr','445254JgCYnt','AIAssistant','Translate\x20the\x20content\x20to\x20Spanish\x20language.','ai.assistant.preserveComments','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Edit\x20or\x20review','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translate','513CUtJDk','editOrReview','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','push','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','locale','28RnpjgX','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate','generate','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','isPremiumPlugin','isOfficialPlugin','Arabic','set','filter','makeShorter','ai.assistant.removeCommands','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','casual','Friendly','Portuguese','Generate\x20from\x20selection','Simplify\x20language','Improve\x20writing','138505mhnPTO','translateChinese','Journalism','simplifyLanguage','Direct','translateHindi','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','232212DYlWFc','French','Professional','Business','legal','Simplified\x20Chinese','ai.assistant.commands','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Continue','English','translateArabic','Make\x20shorter','friendly','8530Nyhwgd','1JqBZty','changeTone','business','Translate\x20the\x20content\x20to\x20French\x20language.','journalism','Change\x20style','translateEnglish','forEach','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','pluginName','confident','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translatePortuguese','translateSpanish','Translate\x20the\x20content\x20to\x20German\x20language.','German','requires','7NuhxCr','379070hObQUq','Make\x20longer','Change\x20tone','209bMKRcr','summarize','improveWriting','commands','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','poetic','Spanish','Translate\x20the\x20content\x20to\x20Arabic\x20language.','get'];_0x4a54=function(){return _0x36df5a;};return _0x4a54();}export class AIAssistant extends _0x3808cc{static get[_0x453ad9(0x13d)](){return[_0x378e9e,_0x1445f5];}static get[_0x453ad9(0x136)](){const _0x3f951d=_0x453ad9;return _0x3f951d(0xf7);}static get[_0x453ad9(0x10b)](){return!0x0;}static get[_0x453ad9(0x10a)](){return!0x0;}constructor(_0x9f93b0){const _0x5b5fda=_0x453ad9;super(_0x9f93b0);const _0x359ec1=_0x9f93b0[_0x5b5fda(0xe0)],_0x251f4b=_0x9f93b0[_0x5b5fda(0x104)];_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0xf9),!0x0),_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0x125),getDefaultAICommands(_0x251f4b)),_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0xf0),[]),_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0x110),[]);let _0xab672e=_0x3911c1(_0x359ec1[_0x5b5fda(0x14a)](_0x5b5fda(0x125)),_0x251f4b);const _0x510a3a=_0x359ec1[_0x5b5fda(0x14a)](_0x5b5fda(0xf0)),_0x45330f=_0x359ec1[_0x5b5fda(0x14a)](_0x5b5fda(0x110));_0x510a3a[_0x5b5fda(0x134)](_0x23883b=>{const _0x29169a=_0x5b5fda,_0xfafd3e=_0xab672e[_0x29169a(0xef)](_0x5494da=>_0x5494da[_0x29169a(0xf3)]===_0x23883b[_0x29169a(0xf3)]);_0xfafd3e?_0xfafd3e[_0x29169a(0x145)]=_0xfafd3e[_0x29169a(0x145)][_0x29169a(0x14d)](_0x23883b[_0x29169a(0x145)]):_0xab672e[_0x29169a(0x101)](_0x23883b);}),_0xab672e=_0xab672e[_0x5b5fda(0x10e)](_0x106b60=>!_0x45330f[_0x5b5fda(0xdf)](_0x106b60[_0x5b5fda(0xf3)])),_0xab672e[_0x5b5fda(0x134)](_0x44c972=>{const _0x5c2f63=_0x5b5fda;_0x44c972[_0x5c2f63(0x145)]=_0x44c972[_0x5c2f63(0x145)][_0x5c2f63(0x10e)](_0x26c98e=>!_0x45330f[_0x5c2f63(0xdf)](_0x26c98e['id']));}),_0x359ec1[_0x5b5fda(0x10d)](_0x5b5fda(0x125),_0xab672e);}}export function getDefaultAICommands(_0xabff5c){const _0x1540c8=_0x453ad9;return[{'groupId':_0x1540c8(0xff),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0xfb)),'commands':[{'id':_0x1540c8(0x144),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x117)),'prompt':_0x1540c8(0xf2)},{'id':_0x1540c8(0x10f),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x12a)),'prompt':_0x1540c8(0xfa)},{'id':_0x1540c8(0xe5),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x140)),'prompt':_0x1540c8(0xe2)},{'id':_0x1540c8(0x11b),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x116)),'prompt':_0x1540c8(0x111)}]},{'groupId':_0x1540c8(0x108),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x115)),'commands':[{'id':_0x1540c8(0x143),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xed)),'prompt':_0x1540c8(0xfc)},{'id':_0x1540c8(0xf1),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x127)),'prompt':_0x1540c8(0x106)}]},{'groupId':_0x1540c8(0x12e),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x141)),'commands':[{'id':_0x1540c8(0xf4),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x121)),'prompt':_0x1540c8(0x14b)},{'id':_0x1540c8(0x112),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xe7)),'prompt':_0x1540c8(0x126)},{'id':_0x1540c8(0x14c),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x11c)),'prompt':_0x1540c8(0xe4)},{'id':_0x1540c8(0x137),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xde)),'prompt':_0x1540c8(0x138)},{'id':_0x1540c8(0x12b),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x113)),'prompt':_0x1540c8(0xeb)}]},{'groupId':_0x1540c8(0xe1),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x132)),'commands':[{'id':_0x1540c8(0x12f),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x122)),'prompt':_0x1540c8(0xe9)},{'id':_0x1540c8(0x123),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xe3)),'prompt':_0x1540c8(0x11e)},{'id':_0x1540c8(0x131),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x11a)),'prompt':_0x1540c8(0x146)},{'id':_0x1540c8(0x147),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xe8)),'prompt':_0x1540c8(0x135)}]},{'groupId':_0x1540c8(0xfd),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x107)),'commands':[{'id':_0x1540c8(0x133),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x128)),'prompt':_0x1540c8(0x102)},{'id':_0x1540c8(0x13a),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x148)),'prompt':_0x1540c8(0xf8)},{'id':_0x1540c8(0x139),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x114)),'prompt':_0x1540c8(0x109)},{'id':_0x1540c8(0xe6),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x13c)),'prompt':_0x1540c8(0x13b)},{'id':_0x1540c8(0xea),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x120)),'prompt':_0x1540c8(0x130)},{'id':_0x1540c8(0x119),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x124)),'prompt':_0x1540c8(0x100)},{'id':_0x1540c8(0x11d),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xdd)),'prompt':_0x1540c8(0x103)},{'id':_0x1540c8(0x129),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x10c)),'prompt':_0x1540c8(0x149)}]}];}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x244545=_0x5adf;(function(_0x481d45,_0x16a58c){const _0x38ab95=_0x5adf,_0x3988f5=_0x481d45();while(!![]){try{const _0x3e717c=-parseInt(_0x38ab95(0x1ae))/0x1+-parseInt(_0x38ab95(0x16f))/0x2*(parseInt(_0x38ab95(0x15a))/0x3)+-parseInt(_0x38ab95(0x161))/0x4*(-parseInt(_0x38ab95(0x173))/0x5)+-parseInt(_0x38ab95(0x165))/0x6+-parseInt(_0x38ab95(0x19f))/0x7*(parseInt(_0x38ab95(0x15b))/0x8)+parseInt(_0x38ab95(0x1a8))/0x9+parseInt(_0x38ab95(0x1b2))/0xa;if(_0x3e717c===_0x16a58c)break;else _0x3988f5['push'](_0x3988f5['shift']());}catch(_0x356d23){_0x3988f5['push'](_0x3988f5['shift']());}}}(_0x512b,0xaba29));function _0x5adf(_0x5ba1d5,_0xdf6827){const _0x512bed=_0x512b();return _0x5adf=function(_0x5adf57,_0x17f4b4){_0x5adf57=_0x5adf57-0x14c;let _0x425eaa=_0x512bed[_0x5adf57];return _0x425eaa;},_0x5adf(_0x5ba1d5,_0xdf6827);}import{uid as _0x4b285b}from'ckeditor5/src/utils.js';import{Plugin as _0x4e3627}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x592c91}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3784c6,ViewDataTransfer as _0x247e4a}from'ckeditor5/src/engine.js';function _0x512b(){const _0xbdf792=['span','afterInit','getRowIndexes','hideFakeVisualSelection','fire','isAtEnd','AIAssistantEditing','createSelection','_getDefaultInsertBelowPosition','ck-fake-ai-selection','init','pluginName','setSelection','createRange','join','getColumnIndexes','getChildren','table','off','_getTableRowCountFromContent','config','getMarkersGroup','first','ck-ai-assistant-ui_theme','getRange','isCollapsed','get','forEach','isContent','lowest','showFakeVisualSelection','getSelectedTableCells','canEditAt','data','selection','9541faWZmE','isOfficialPlugin','from','ai.assistant.useTheme','getChild','markers','isPremiumPlugin','getSelectedBlocks','markerRange','9710838ySzFOx','setData','start','insertContent','deleteContent','once','1092790QWMFWV','createPositionAfter','last','getRanges','19550750LUWVps','fromCharCode','end','createUIElement','resultRange','pop','has','insertRows','removeMarker','insertContentBelow','markerToElement','parse','for','_resetContentOfSelectedTableCells','DataTransfer','ai-ui','getRows','length','schema','push','getFirstRange','findAncestor','21426jehwum','112LOOLHf','contentInsertion','getLastMatchingPosition','addMarker','_pasteHTMLUsingClipboard','editor','236VxsNMf','filter','updateMarker','ck-fake-ai-selection_collapsed','4441554gXcTsW','getLastPosition','plugins','addClass','editing','conversion','TableUtils','editingDowncast','paste','element','358GJGGOY','_prepareTableInsertBelowPosition','document','model','67755HtaLPr','_createEmptyTableRows','markerToHighlight','text/html','createPositionAt','_getAISelection','map','change','href'];_0x512b=function(){return _0xbdf792;};return _0x512b();}const J=globalThis[_0x244545(0x152)],q=_0x244545(0x153);export class AIAssistantEditing extends _0x4e3627{static get[_0x244545(0x187)](){const _0x5c840b=_0x244545;return _0x5c840b(0x182);}static get[_0x244545(0x1a0)](){return!0x0;}static get[_0x244545(0x1a5)](){return!0x0;}[_0x244545(0x186)](){const _0x47a793=_0x244545,{editor:_0x145150}=this,_0xa6b240=[_0x47a793(0x185)];_0x145150[_0x47a793(0x190)][_0x47a793(0x196)](_0x47a793(0x1a2))&&_0xa6b240[_0x47a793(0x157)](_0x47a793(0x193)),_0x145150[_0x47a793(0x16a)][_0x47a793(0x150)](_0x47a793(0x16c))[_0x47a793(0x175)]({'model':q,'view':{'classes':_0xa6b240,'priority':0xc}}),_0x145150[_0x47a793(0x16a)][_0x47a793(0x150)](_0x47a793(0x16c))[_0x47a793(0x14e)]({'model':q,'view':(_0x1bdda4,{writer:_0x177a7c})=>{const _0x301c34=_0x47a793;if(!_0x1bdda4[_0x301c34(0x1a7)][_0x301c34(0x195)])return null;const _0x307f41=_0x177a7c[_0x301c34(0x1b5)](_0x301c34(0x17c));return _0x177a7c[_0x301c34(0x168)]([_0x301c34(0x185),_0x301c34(0x164)],_0x307f41),_0x307f41;}});}[_0x244545(0x17d)](){!async function(_0x390a12){const _0x38ecc9=_0x44bd3e([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x2a50a2=0x3dffc4e1,_0x1989bb=0x3df8be39^_0x2a50a2,_0x3dce74=window[_0x44bd3e([0x44,0x61,0x74,0x65])][_0x44bd3e([0x6e,0x6f,0x77])](),_0x31ed22=_0x390a12[_0x44bd3e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d4ca4=new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x372ea8=>{_0x31ed22[_0x44bd3e([0x6f,0x6e,0x63,0x65])](_0x44bd3e([0x72,0x65,0x61,0x64,0x79]),_0x372ea8);}),_0x4f0815={[_0x44bd3e([0x6b,0x74,0x79])]:_0x44bd3e([0x45,0x43]),[_0x44bd3e([0x75,0x73,0x65])]:_0x44bd3e([0x73,0x69,0x67]),[_0x44bd3e([0x63,0x72,0x76])]:_0x44bd3e([0x50,0x2d,0x32,0x35,0x36]),[_0x44bd3e([0x78])]:_0x44bd3e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x44bd3e([0x79])]:_0x44bd3e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x44bd3e([0x61,0x6c,0x67])]:_0x44bd3e([0x45,0x53,0x32,0x35,0x36])},_0x349153=_0x31ed22[_0x44bd3e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x44bd3e([0x67,0x65,0x74])](_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xeadc1a(){let _0x55abd2,_0x1e261a=null,_0x27417a=null;try{if(_0x349153==_0x44bd3e([0x47,0x50,0x4c]))return _0x44bd3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55abd2=_0x40318e(),!_0x55abd2)return _0x44bd3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55abd2[_0x44bd3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27417a=_0x3eb1de(_0x55abd2[_0x44bd3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55abd2[_0x44bd3e([0x6a,0x74,0x69])])),await _0x561e9d()?_0x16759f()?_0x529a22()?_0x44bd3e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9ceaa9()?(_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44bd3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e261a=_0x19a5b2(_0x44bd3e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44bd3e([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e261a=_0x19a5b2(_0x44bd3e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x497102()):_0x44bd3e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x44bd3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x44bd3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x44bd3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x529a22(){const _0x2f9c79=[_0x44bd3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x44bd3e([0x74,0x72,0x69,0x61,0x6c])][_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dce74/0x3e8:0xe10*_0x1989bb;return _0x55abd2[_0x44bd3e([0x65,0x78,0x70])]<_0x2f9c79;}function _0x16759f(){const _0xa2107f=_0x55abd2[_0x44bd3e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa2107f&&(!!_0xa2107f[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bd3e([0x2a]))||!!_0xa2107f[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bd3e([0x41,0x49])));}function _0x9ceaa9(){const _0x4b1204=_0x5adf,_0xddc725=_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xddc725||0x0==_0xddc725[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x212c7b}=new URL(window[_0x44bd3e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b1204(0x17b)]);if(_0xddc725[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x212c7b))return!0x0;const _0x2cfaba=_0x212c7b[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e]));return _0xddc725[_0x44bd3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ba1bf=>_0x3ba1bf[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bd3e([0x2a])))[_0x44bd3e([0x6d,0x61,0x70])](_0x4b2391=>_0x4b2391[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e])))[_0x44bd3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e9893=>_0x4e9893[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2cfaba[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44bd3e([0x6d,0x61,0x70])](_0x502626=>Array(_0x2cfaba[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x502626[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44bd3e([0x66,0x69,0x6c,0x6c])](_0x502626[0x0]===_0x44bd3e([0x2a])?_0x44bd3e([0x2a]):'')[_0x44bd3e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x502626))[_0x44bd3e([0x73,0x6f,0x6d,0x65])](_0x4920ac=>_0x2cfaba[_0x44bd3e([0x65,0x76,0x65,0x72,0x79])]((_0x3a825c,_0x119640)=>_0x4920ac[_0x119640]===_0x3a825c||_0x4920ac[_0x119640]===_0x44bd3e([0x2a])));}function _0x497102(){return _0x1e261a&&_0x27417a?new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36a1a8,_0x45bfc0)=>{_0x1e261a[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x36a1a8,_0x45bfc0),_0x27417a[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x35d6be=>{_0x35d6be!=_0x44bd3e([0x56,0x61,0x6c,0x69,0x64])&&_0x36a1a8(_0x35d6be);},_0x45bfc0);}):_0x1e261a||_0x27417a||_0x44bd3e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3eb1de(_0xd5b41d,_0x16e814){return new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x445c28=>{if(_0x5db046())return _0x445c28(_0x44bd3e([0x56,0x61,0x6c,0x69,0x64]));_0x54cae6(),_0x31ed22[_0x44bd3e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x44bd3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x263b5e=!0x1;const _0x294939=_0x4b285b();function _0x2adb85(_0x6e1ddb){return!!_0x6e1ddb&&(typeof _0x6e1ddb===_0x44bd3e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6e1ddb===_0x44bd3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6e1ddb[_0x44bd3e([0x74,0x68,0x65,0x6e])]===_0x44bd3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6e1ddb[_0x44bd3e([0x63,0x61,0x74,0x63,0x68])]===_0x44bd3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5dcf76(_0x3f02bb){_0x2a718b(_0x3f02bb)[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x1fdedb=>{if(!_0x1fdedb||_0x1fdedb[_0x44bd3e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x44bd3e([0x6f,0x6b]))return _0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b6a14(_0x48eb41(_0x294939+_0x16e814))!=_0x1fdedb[_0x44bd3e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x44bd3e([0x56,0x61,0x6c,0x69,0x64]);})[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x54aa10=>(_0x534821(),_0x54aa10),()=>{const _0x2fd2dc=_0x1f8985();return null==_0x2fd2dc?(_0x534821(),_0x44bd3e([0x56,0x61,0x6c,0x69,0x64])):_0x44bd3e(_0x3dce74-_0x2fd2dc>(0x19f340e1^_0x2a50a2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x445c28)[_0x44bd3e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x445c28(_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1412ee=0x3dc92a61^_0x2a50a2;function _0x534821(){const _0x1e79f8=_0x44bd3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6a14(_0x48eb41(_0xd5b41d)),_0xb8b3f=_0x45a6a4(_0x3b6a14(window[_0x44bd3e([0x4d,0x61,0x74,0x68])][_0x44bd3e([0x63,0x65,0x69,0x6c])](_0x3dce74/_0x1412ee)));window[_0x44bd3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44bd3e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e79f8,_0xb8b3f);}function _0x1f8985(){const _0x4f1ec0=_0x44bd3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6a14(_0x48eb41(_0xd5b41d)),_0x4a1bbc=window[_0x44bd3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44bd3e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f1ec0);return _0x4a1bbc?window[_0x44bd3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45a6a4(_0x4a1bbc),0x10)*_0x1412ee:null;}function _0x2a718b(_0x32294a){return new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5db0fe,_0x1e5473)=>{_0x32294a[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x5db0fe,_0x1e5473),window[_0x44bd3e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e5473,0x3dfe1021^_0x2a50a2);});}}_0x31ed22[_0x44bd3e([0x6f,0x6e])](_0x44bd3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e2cd0,_0x102763)=>{if(_0x102763[0x0]!=_0xd5b41d)return _0x445c28(_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x102763[0x1]={..._0x102763[0x1],[_0x44bd3e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x294939};},{[_0x44bd3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44bd3e([0x68,0x69,0x67,0x68])}),_0x31ed22[_0x44bd3e([0x6f,0x6e])](_0x44bd3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d03f2=>{_0x2adb85(_0x5d03f2[_0x44bd3e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x263b5e=!0x0,_0x5dcf76(_0x5d03f2[_0x44bd3e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x44bd3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44bd3e([0x6c,0x6f,0x77])}),_0x5d4ca4[_0x44bd3e([0x74,0x68,0x65,0x6e])](()=>{_0x263b5e||_0x445c28(_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5db046(){return _0x31ed22[_0x44bd3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44bd3e([0x76,0x69,0x65,0x77])][_0x44bd3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x44bd3e([0x61,0x75,0x74,0x6f]);}function _0x54cae6(){_0x31ed22[_0x44bd3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44bd3e([0x76,0x69,0x65,0x77])][_0x44bd3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x44bd3e([0x61,0x75,0x74,0x6f]);}}function _0x19a5b2(_0x3203a5){const _0x399ca3=[new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x435dff=>setTimeout(_0x435dff,0x3df6fa2d^_0x2a50a2)),_0x5d4ca4[_0x44bd3e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d434e=>{let _0x2c183e=0x0;_0x31ed22[_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x44bd3e([0x6f,0x6e])](_0x44bd3e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d00ea,_0x469edd)=>{_0x469edd[0x0][_0x44bd3e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c183e++,_0x2c183e==(0x3dffc519^_0x2a50a2)&&(_0x3d434e(),_0x1d00ea[_0x44bd3e([0x6f,0x66,0x66])]());});}))];return window[_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x44bd3e([0x72,0x61,0x63,0x65])](_0x399ca3)[_0x44bd3e([0x74,0x68,0x65,0x6e])](()=>_0x3203a5);}async function _0x535ab6(){await _0x5d4ca4,_0x31ed22[_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x44bd3e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf8ed4f,_0x31ed22[_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x44bd3e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf8ed4f,_0x31ed22[_0x44bd3e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c66ef(_0x5f50a1){const _0x5d23c6=_0x3f1146();_0x31ed22[_0x5d23c6]=_0x44bd3e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5f50a1,_0x5f50a1!=_0x44bd3e([0x56,0x61,0x6c,0x69,0x64])&&_0x535ab6();}function _0x3f1146(){const _0x5c6f60=window[_0x44bd3e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x44bd3e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x44bd3e([0x6e,0x6f,0x77])]())[_0x44bd3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x44bd3e([0x2e]),'');let _0x5f082b=_0x44bd3e([0x6e]);for(let _0x264fba=0x0;_0x264fba<_0x5c6f60[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x264fba+=0x2){let _0x357679=window[_0x44bd3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c6f60[_0x44bd3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x264fba,_0x264fba+0x2));_0x357679>=_0x38ecc9[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x357679-=_0x38ecc9[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f082b+=_0x38ecc9[_0x357679];}return _0x5f082b;}function _0x40318e(){const _0x45101d=_0x349153[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e]));if(0x3!=_0x45101d[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3915db(_0x45101d[0x1]);function _0x3915db(_0x3e7ec2){const _0x5ad06d=_0x39c4a7(_0x3e7ec2);return _0x5ad06d&&_0x569bc0()?_0x5ad06d:null;function _0x569bc0(){const _0x21e578=_0x5ad06d[_0x44bd3e([0x6a,0x74,0x69])],_0x51b028=window[_0x44bd3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21e578[_0x44bd3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21e578[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x239add={..._0x5ad06d,[_0x44bd3e([0x6a,0x74,0x69])]:_0x21e578[_0x44bd3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21e578[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x239add[_0x44bd3e([0x76,0x63])],_0x48eb41(_0x239add)==_0x51b028;}}}async function _0x561e9d(){let _0x2342a8=!0x0;try{const _0x26c0da=_0x349153[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e])),[_0x5a48d4,_0x58a711,_0x2f4e2d]=_0x26c0da;return _0x48565f(_0x5a48d4),await _0x4f0892(_0x5a48d4,_0x58a711,_0x2f4e2d),_0x2342a8;}catch{return!0x1;}function _0x48565f(_0x2e07c5){const _0x2d1a77=_0x39c4a7(_0x2e07c5);_0x2d1a77&&_0x2d1a77[_0x44bd3e([0x61,0x6c,0x67])]==_0x44bd3e([0x45,0x53,0x32,0x35,0x36])||(_0x2342a8=!0x1);}async function _0x4f0892(_0x4aae1b,_0xba633c,_0x9e83bc){const _0x4bf886=window[_0x44bd3e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x44bd3e([0x66,0x72,0x6f,0x6d])](_0xb18b55(_0x9e83bc),_0x4d735d=>_0x4d735d[_0x44bd3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x417daa=new window[(_0x44bd3e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x44bd3e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4aae1b+_0x44bd3e([0x2e])+_0xba633c),_0x45228f=window[_0x44bd3e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x44bd3e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45228f)return;const _0x266a8a=await _0x45228f[_0x44bd3e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x44bd3e([0x6a,0x77,0x6b]),_0x4f0815,{[_0x44bd3e([0x6e,0x61,0x6d,0x65])]:_0x44bd3e([0x45,0x43,0x44,0x53,0x41]),[_0x44bd3e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x44bd3e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x44bd3e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45228f[_0x44bd3e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x44bd3e([0x6e,0x61,0x6d,0x65])]:_0x44bd3e([0x45,0x43,0x44,0x53,0x41]),[_0x44bd3e([0x68,0x61,0x73,0x68])]:{[_0x44bd3e([0x6e,0x61,0x6d,0x65])]:_0x44bd3e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x266a8a,_0x4bf886,_0x417daa)||(_0x2342a8=!0x1);}}function _0x39c4a7(_0x3f4fce){return _0x3f4fce[_0x44bd3e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x44bd3e([0x65,0x79]))?JSON[_0x44bd3e([0x70,0x61,0x72,0x73,0x65])](_0xb18b55(_0x3f4fce)):null;}function _0xb18b55(_0x20d32f){return window[_0x44bd3e([0x61,0x74,0x6f,0x62])](_0x20d32f[_0x44bd3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x44bd3e([0x2b]))[_0x44bd3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x44bd3e([0x2f])));}function _0x48eb41(_0x1dee96){let _0x47ce17=0x1505;function _0x108d1e(_0x4d7449){for(let _0x2762f9=0x0;_0x2762f9<_0x4d7449[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2762f9++){const _0x230448=_0x4d7449[_0x44bd3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2762f9);_0x47ce17=(_0x47ce17<<0x5)+_0x47ce17+_0x230448,_0x47ce17&=_0x47ce17;}}function _0x91d7ba(_0x40bd50){Array[_0x44bd3e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40bd50)?_0x40bd50[_0x44bd3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x91d7ba):_0x40bd50&&typeof _0x40bd50==_0x44bd3e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x44bd3e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40bd50)[_0x44bd3e([0x73,0x6f,0x72,0x74])]()[_0x44bd3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4136f5,_0x1fe9d7])=>{_0x108d1e(_0x4136f5),_0x91d7ba(_0x1fe9d7);}):_0x108d1e(window[_0x44bd3e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40bd50));}return _0x91d7ba(_0x1dee96),_0x47ce17>>>0x0;}function _0x3b6a14(_0x36a9bd){return _0x36a9bd[_0x44bd3e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x44bd3e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x44bd3e([0x30]));}function _0x45a6a4(_0x2f4693){return _0x2f4693[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x44bd3e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x44bd3e([0x6a,0x6f,0x69,0x6e])]('');}function _0xf8ed4f(){}function _0x44bd3e(_0x14690e){const _0x9156d4=_0x5adf;return _0x14690e[_0x9156d4(0x179)](_0x4332e7=>String[_0x9156d4(0x1b3)](_0x4332e7))[_0x9156d4(0x18a)]('');}_0x4c66ef(await _0xeadc1a());}(this);}[_0x244545(0x19a)](){const _0x534983=_0x244545,_0x9c9b35=this[_0x534983(0x160)][_0x534983(0x172)];_0x9c9b35[_0x534983(0x17a)](_0x2d504a=>{const _0x2979a6=_0x534983,_0x4dde1f=_0x9c9b35[_0x2979a6(0x171)][_0x2979a6(0x19e)][_0x2979a6(0x1b1)]();let _0x45d07a=0x0;for(const _0x227a42 of _0x4dde1f){const _0x2930cc=q+':'+_0x45d07a;if(_0x9c9b35[_0x2979a6(0x1a4)][_0x2979a6(0x1b8)](_0x2930cc))_0x2d504a[_0x2979a6(0x163)](_0x2930cc,{'range':_0x227a42});else{if(_0x227a42[_0x2979a6(0x1aa)][_0x2979a6(0x181)]){const _0x23bb26=_0x227a42[_0x2979a6(0x1aa)][_0x2979a6(0x15d)](({item:_0x5307c3})=>!_0x9c9b35[_0x2979a6(0x156)][_0x2979a6(0x198)](_0x5307c3),{'boundaries':_0x227a42});_0x2d504a[_0x2979a6(0x15e)](_0x2930cc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2d504a[_0x2979a6(0x189)](_0x23bb26,_0x227a42[_0x2979a6(0x1b4)])});}else _0x2d504a[_0x2979a6(0x15e)](_0x2930cc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x227a42});}_0x45d07a++;}});}[_0x244545(0x17f)](){const _0x1fc837=_0x244545,_0x13fa70=this[_0x1fc837(0x160)][_0x1fc837(0x172)],_0xa4b05b=Array[_0x1fc837(0x1a1)](this[_0x1fc837(0x160)][_0x1fc837(0x172)][_0x1fc837(0x1a4)][_0x1fc837(0x191)](q));_0xa4b05b[_0x1fc837(0x155)]&&_0x13fa70[_0x1fc837(0x17a)](_0x5abf48=>{const _0x38d43a=_0x1fc837;_0xa4b05b[_0x38d43a(0x197)](_0x425a8f=>{const _0x265afe=_0x38d43a;_0x5abf48[_0x265afe(0x14c)](_0x425a8f);});});}[_0x244545(0x1ab)](_0x41b641,_0x44f57e){const _0x3e336d=_0x244545,_0x585c96=this[_0x3e336d(0x178)](),_0x4ab48d=_0x44f57e||_0x585c96[_0x3e336d(0x158)]();this[_0x3e336d(0x160)][_0x3e336d(0x172)][_0x3e336d(0x19c)](_0x4ab48d)&&this[_0x3e336d(0x160)][_0x3e336d(0x172)][_0x3e336d(0x17a)](_0x3605e4=>{const _0x50a9dc=_0x3e336d;this[_0x50a9dc(0x17f)](),_0x44f57e||this[_0x50a9dc(0x151)](_0x3605e4,_0x585c96),this[_0x50a9dc(0x15f)]({'insertAt':_0x4ab48d,'writer':_0x3605e4,'html':_0x41b641});});}[_0x244545(0x14d)](_0x488764){const _0x58d7bb=_0x244545,{model:_0x5eb975}=this[_0x58d7bb(0x160)],_0x1d24f7=this[_0x58d7bb(0x178)]();_0x5eb975[_0x58d7bb(0x17a)](()=>{const _0x313612=_0x58d7bb,_0x32da93=this[_0x313612(0x170)](_0x488764,_0x1d24f7)||this[_0x313612(0x184)](_0x1d24f7);this[_0x313612(0x1ab)](_0x488764,_0x32da93);});}[_0x244545(0x178)](){const _0x55870b=_0x244545,_0x365055=this[_0x55870b(0x160)][_0x55870b(0x172)],_0x5f3825=Array[_0x55870b(0x1a1)](_0x365055[_0x55870b(0x1a4)][_0x55870b(0x191)](q))[_0x55870b(0x179)](_0xafaaeb=>_0xafaaeb[_0x55870b(0x194)]());return _0x365055[_0x55870b(0x183)](_0x5f3825);}[_0x244545(0x15f)]({writer:_0x3ab664,html:_0x673605,insertAt:_0x5614e2}){const _0x2eaf14=_0x244545,{view:_0x5edfaa}=this[_0x2eaf14(0x160)][_0x2eaf14(0x169)],_0x381d00=this[_0x2eaf14(0x160)][_0x2eaf14(0x167)][_0x2eaf14(0x196)](_0x592c91),_0x36afe8=new J();_0x36afe8[_0x2eaf14(0x1a9)](_0x2eaf14(0x176),_0x673605);const _0x47dfe3=new ClipboardEvent(_0x2eaf14(0x16d),{'clipboardData':_0x36afe8}),_0x1364eb=new _0x3784c6(_0x5edfaa,_0x47dfe3,{'dataTransfer':new _0x247e4a(_0x36afe8)});_0x3ab664[_0x2eaf14(0x188)](_0x5614e2);const _0x2aa84b=(_0x1cd588,_0x4dc104)=>{const _0x23b230=_0x2eaf14;_0x4dc104[_0x23b230(0x1b6)]&&_0x3ab664[_0x23b230(0x188)](_0x4dc104[_0x23b230(0x1b6)]);};_0x381d00[_0x2eaf14(0x1ad)](_0x2eaf14(0x15c),_0x2aa84b,{'priority':_0x2eaf14(0x199)}),_0x5edfaa[_0x2eaf14(0x171)][_0x2eaf14(0x180)](_0x2eaf14(0x16d),_0x1364eb),_0x381d00[_0x2eaf14(0x18e)](_0x2eaf14(0x15c),_0x2aa84b);}[_0x244545(0x184)](_0x49bda7){const _0x37d541=_0x244545,{model:_0xea8f8e}=this[_0x37d541(0x160)],_0x48ad73=Array[_0x37d541(0x1a1)](_0x49bda7[_0x37d541(0x1a6)]());return _0x48ad73[_0x37d541(0x155)]?_0xea8f8e[_0x37d541(0x1af)](_0x48ad73[_0x37d541(0x1b7)]()):_0x49bda7[_0x37d541(0x166)]();}[_0x244545(0x170)](_0x2f434c,_0x293db6){const _0x271c89=_0x244545,{model:_0x9e61b9,plugins:_0x51077c}=this[_0x271c89(0x160)];if(_0x51077c[_0x271c89(0x1b8)](_0x271c89(0x16b))){const _0x3c3569=_0x51077c[_0x271c89(0x196)](_0x271c89(0x16b))[_0x271c89(0x19b)](_0x293db6);if(_0x3c3569[_0x271c89(0x155)]){const _0x10bdf6=this[_0x271c89(0x18f)](_0x2f434c),_0x2c864d=this[_0x271c89(0x174)](_0x3c3569,_0x10bdf6);return _0x9e61b9[_0x271c89(0x177)](_0x2c864d,0x0);}}return null;}[_0x244545(0x18f)](_0x3a95a4){const _0x1b8496=_0x244545,_0x3ef1c9=this[_0x1b8496(0x160)][_0x1b8496(0x167)][_0x1b8496(0x196)](_0x1b8496(0x16b)),_0x3e61f5=this[_0x1b8496(0x160)][_0x1b8496(0x19d)][_0x1b8496(0x14f)](_0x3a95a4),_0x285257=Array[_0x1b8496(0x1a1)](_0x3e61f5[_0x1b8496(0x18c)]())[_0x1b8496(0x162)](_0x2b7a37=>_0x2b7a37['is'](_0x1b8496(0x16e),_0x1b8496(0x18d)));let _0x2fbc2b=0x0;return _0x285257[_0x1b8496(0x197)](_0x33019d=>{const _0x479b9b=_0x1b8496;_0x2fbc2b+=_0x3ef1c9[_0x479b9b(0x154)](_0x33019d);}),_0x2fbc2b;}[_0x244545(0x174)](_0x808bb3,_0x29044b){const _0x34e8d1=_0x244545,_0x407818=this[_0x34e8d1(0x160)][_0x34e8d1(0x167)][_0x34e8d1(0x196)](_0x34e8d1(0x16b)),_0xb4480=_0x407818[_0x34e8d1(0x17e)](_0x808bb3),_0x538bed=_0x407818[_0x34e8d1(0x18b)](_0x808bb3),_0xeea809=_0xb4480[_0x34e8d1(0x1b0)]+0x1,_0x4c92f1=_0x538bed[_0x34e8d1(0x192)],_0x177525=_0x808bb3[0x0][_0x34e8d1(0x159)](_0x34e8d1(0x18d));for(let _0x26e339=0x0;_0x26e339<_0x29044b;_0x26e339++)_0x407818[_0x34e8d1(0x1b9)](_0x177525,{'at':_0xeea809});return _0x177525[_0x34e8d1(0x1a3)](_0xeea809)[_0x34e8d1(0x1a3)](_0x4c92f1);}[_0x244545(0x151)](_0x5005f6,_0xe98bfd){const _0x8b686a=_0x244545,{plugins:_0x1ec096}=this[_0x8b686a(0x160)],{model:_0x2c2bda}=_0x5005f6;if(!_0x1ec096[_0x8b686a(0x1b8)](_0x8b686a(0x16b)))return;_0x1ec096[_0x8b686a(0x196)](_0x8b686a(0x16b))[_0x8b686a(0x19b)](_0xe98bfd)[_0x8b686a(0x155)]&&_0x2c2bda[_0x8b686a(0x1ac)](_0xe98bfd);}}
|
|
23
|
+
const _0x252cca=_0x6008;(function(_0x261e56,_0x4e7d90){const _0x4b99c0=_0x6008,_0x57d8eb=_0x261e56();while(!![]){try{const _0x498139=-parseInt(_0x4b99c0(0x11c))/0x1*(-parseInt(_0x4b99c0(0x15d))/0x2)+-parseInt(_0x4b99c0(0x13e))/0x3*(parseInt(_0x4b99c0(0x149))/0x4)+parseInt(_0x4b99c0(0x12a))/0x5*(parseInt(_0x4b99c0(0x13a))/0x6)+-parseInt(_0x4b99c0(0x170))/0x7+parseInt(_0x4b99c0(0x118))/0x8+parseInt(_0x4b99c0(0x13f))/0x9+-parseInt(_0x4b99c0(0x135))/0xa*(parseInt(_0x4b99c0(0x148))/0xb);if(_0x498139===_0x4e7d90)break;else _0x57d8eb['push'](_0x57d8eb['shift']());}catch(_0x3c600c){_0x57d8eb['push'](_0x57d8eb['shift']());}}}(_0xe4d9,0x964b0));import{uid as _0x5a187c}from'ckeditor5/src/utils.js';import{Plugin as _0x43a983}from'ckeditor5/src/core.js';function _0x6008(_0x36c1ac,_0xd2bbd9){const _0xe4d9de=_0xe4d9();return _0x6008=function(_0x600808,_0x8d13d9){_0x600808=_0x600808-0x103;let _0x4e743f=_0xe4d9de[_0x600808];return _0x4e743f;},_0x6008(_0x36c1ac,_0xd2bbd9);}import{ClipboardPipeline as _0x4bcceb}from'ckeditor5/src/clipboard.js';function _0xe4d9(){const _0x596a26=['ai-ui','init','removeMarker','plugins','once','1705704yBoIsC','editingDowncast','data','getChildren','href','resultRange','text/html','ck-fake-ai-selection_collapsed','insertContentBelow','markerToHighlight','pop','_pasteHTMLUsingClipboard','_prepareTableInsertBelowPosition','hideFakeVisualSelection','off','DataTransfer','getRanges','markers','span','insertRows','paste','canEditAt','findAncestor','8683224KBfLAr','ck-fake-ai-selection','isOfficialPlugin','createPositionAfter','122wzutGs','getRowIndexes','markerToElement','getRange','createUIElement','showFakeVisualSelection','insertContent','end','getRows','_getTableRowCountFromContent','parse','ai.assistant.useTheme','has','from','6335rMXqAf','for','getChild','getMarkersGroup','change','updateMarker','getSelectedTableCells','get','createRange','length','TableUtils','50rIoybw','setData','isContent','AIAssistantEditing','lowest','2052daWGQB','getFirstRange','pluginName','last','118725cLoxdP','6561657hQvLHZ','ck-ai-assistant-ui_theme','editor','_getDefaultInsertBelowPosition','model','createSelection','isCollapsed','first','_resetContentOfSelectedTableCells','1713459EuSidT','76hxLApq','afterInit','getColumnIndexes','start','markerRange','setSelection','deleteContent','document','filter','getSelectedBlocks','push','editing','_createEmptyTableRows','isAtEnd','contentInsertion','conversion','join','forEach','addClass','getLastMatchingPosition','2332LeCqog','addMarker','map','isPremiumPlugin','getLastPosition','createPositionAt','_getAISelection','element','schema','table','fire','fromCharCode','config','selection'];_0xe4d9=function(){return _0x596a26;};return _0xe4d9();}import{ViewDocumentDomEventData as _0x594305,ViewDataTransfer as _0x5f394c}from'ckeditor5/src/engine.js';const w=globalThis[_0x252cca(0x110)],f=_0x252cca(0x16b);export class AIAssistantEditing extends _0x43a983{static get[_0x252cca(0x13c)](){const _0x2558c4=_0x252cca;return _0x2558c4(0x138);}static get[_0x252cca(0x11a)](){return!0x0;}static get[_0x252cca(0x160)](){return!0x0;}[_0x252cca(0x16c)](){const _0x263268=_0x252cca,{editor:_0x2d2445}=this,_0xe964fa=[_0x263268(0x119)];_0x2d2445[_0x263268(0x169)][_0x263268(0x131)](_0x263268(0x127))&&_0xe964fa[_0x263268(0x153)](_0x263268(0x140)),_0x2d2445[_0x263268(0x158)][_0x263268(0x12b)](_0x263268(0x171))[_0x263268(0x10a)]({'model':f,'view':{'classes':_0xe964fa,'priority':0xc}}),_0x2d2445[_0x263268(0x158)][_0x263268(0x12b)](_0x263268(0x171))[_0x263268(0x11e)]({'model':f,'view':(_0x10215d,{writer:_0x4eeeed})=>{const _0x1ebfd9=_0x263268;if(!_0x10215d[_0x1ebfd9(0x14d)][_0x1ebfd9(0x145)])return null;const _0x1ddef2=_0x4eeeed[_0x1ebfd9(0x120)](_0x1ebfd9(0x113));return _0x4eeeed[_0x1ebfd9(0x15b)]([_0x1ebfd9(0x119),_0x1ebfd9(0x108)],_0x1ddef2),_0x1ddef2;}});}[_0x252cca(0x14a)](){!async function(_0x5be11c){const _0x36040f=_0x65b374([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x1f4134=0x3dffc4e1,_0x446699=0x3df8bad9^_0x1f4134,_0x16f0a5=window[_0x65b374([0x44,0x61,0x74,0x65])][_0x65b374([0x6e,0x6f,0x77])](),_0x3410aa=_0x5be11c[_0x65b374([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fc09f=new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b7f02=>{_0x3410aa[_0x65b374([0x6f,0x6e,0x63,0x65])](_0x65b374([0x72,0x65,0x61,0x64,0x79]),_0x5b7f02);}),_0x43f6de={[_0x65b374([0x6b,0x74,0x79])]:_0x65b374([0x45,0x43]),[_0x65b374([0x75,0x73,0x65])]:_0x65b374([0x73,0x69,0x67]),[_0x65b374([0x63,0x72,0x76])]:_0x65b374([0x50,0x2d,0x32,0x35,0x36]),[_0x65b374([0x78])]:_0x65b374([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x65b374([0x79])]:_0x65b374([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x65b374([0x61,0x6c,0x67])]:_0x65b374([0x45,0x53,0x32,0x35,0x36])},_0x382c30=_0x3410aa[_0x65b374([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x65b374([0x67,0x65,0x74])](_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x288878(){let _0x3b3147,_0x1e0720=null,_0x11c296=null;try{if(_0x382c30==_0x65b374([0x47,0x50,0x4c]))return _0x65b374([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b3147=_0x4a1841(),!_0x3b3147)return _0x65b374([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b3147[_0x65b374([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11c296=_0x574681(_0x3b3147[_0x65b374([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b3147[_0x65b374([0x6a,0x74,0x69])])),await _0x16efb5()?_0x16e789()?_0x19a78c()?_0x65b374([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31902a()?(_0x3b3147[_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x65b374([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e0720=_0x4e932a(_0x65b374([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5864c8()):_0x65b374([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x65b374([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x65b374([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x65b374([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19a78c(){const _0x5afb8e=[_0x65b374([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x65b374([0x74,0x72,0x69,0x61,0x6c])][_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b3147[_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16f0a5/0x3e8:0xe10*_0x446699;return _0x3b3147[_0x65b374([0x65,0x78,0x70])]<_0x5afb8e;}function _0x16e789(){const _0x503662=_0x3b3147[_0x65b374([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x503662&&(!!_0x503662[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65b374([0x2a]))||!!_0x503662[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65b374([0x41,0x49])));}function _0x31902a(){const _0x467699=_0x6008,_0x5adbef=_0x3b3147[_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5adbef||0x0==_0x5adbef[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32f801}=new URL(window[_0x65b374([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x467699(0x105)]);if(_0x5adbef[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32f801))return!0x0;const _0x1548d4=_0x32f801[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e]));return _0x5adbef[_0x65b374([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dd90d=>_0x2dd90d[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65b374([0x2a])))[_0x65b374([0x6d,0x61,0x70])](_0x2bdc01=>_0x2bdc01[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e])))[_0x65b374([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57b517=>_0x57b517[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1548d4[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x65b374([0x6d,0x61,0x70])](_0x4f092f=>Array(_0x1548d4[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f092f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x65b374([0x66,0x69,0x6c,0x6c])](_0x4f092f[0x0]===_0x65b374([0x2a])?_0x65b374([0x2a]):'')[_0x65b374([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f092f))[_0x65b374([0x73,0x6f,0x6d,0x65])](_0xe0b796=>_0x1548d4[_0x65b374([0x65,0x76,0x65,0x72,0x79])]((_0x59dfcb,_0x21c20c)=>_0xe0b796[_0x21c20c]===_0x59dfcb||_0xe0b796[_0x21c20c]===_0x65b374([0x2a])));}function _0x5864c8(){return _0x1e0720&&_0x11c296?new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x117d07,_0x45f399)=>{_0x1e0720[_0x65b374([0x74,0x68,0x65,0x6e])](_0x117d07,_0x45f399),_0x11c296[_0x65b374([0x74,0x68,0x65,0x6e])](_0x441de6=>{_0x441de6!=_0x65b374([0x56,0x61,0x6c,0x69,0x64])&&_0x117d07(_0x441de6);},_0x45f399);}):_0x1e0720||_0x11c296||_0x65b374([0x56,0x61,0x6c,0x69,0x64]);}}function _0x574681(_0x1072db,_0x535f37){return new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ecf5f=>{if(_0x114dc8())return _0x2ecf5f(_0x65b374([0x56,0x61,0x6c,0x69,0x64]));_0x165dd5(),_0x3410aa[_0x65b374([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x65b374([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b72ce=!0x1;const _0x45dce9=_0x5a187c();function _0x44071c(_0x1f6ce1){return!!_0x1f6ce1&&(typeof _0x1f6ce1===_0x65b374([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f6ce1===_0x65b374([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f6ce1[_0x65b374([0x74,0x68,0x65,0x6e])]===_0x65b374([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f6ce1[_0x65b374([0x63,0x61,0x74,0x63,0x68])]===_0x65b374([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x214ca1(_0x88cd60){_0x4ffa4d(_0x88cd60)[_0x65b374([0x74,0x68,0x65,0x6e])](_0x3a151f=>{if(!_0x3a151f||_0x3a151f[_0x65b374([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x65b374([0x6f,0x6b]))return _0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x398b14(_0x9f663b(_0x45dce9+_0x535f37))!=_0x3a151f[_0x65b374([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x65b374([0x56,0x61,0x6c,0x69,0x64]);})[_0x65b374([0x74,0x68,0x65,0x6e])](_0x3b849b=>(_0x3005c8(),_0x3b849b),()=>{const _0x5b89f1=_0x4a76ec();return null==_0x5b89f1?(_0x3005c8(),_0x65b374([0x56,0x61,0x6c,0x69,0x64])):_0x65b374(_0x16f0a5-_0x5b89f1>(0x19f340e1^_0x1f4134)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x65b374([0x74,0x68,0x65,0x6e])](_0x2ecf5f)[_0x65b374([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2ecf5f(_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x481c66=0x3dc92a61^_0x1f4134;function _0x3005c8(){const _0x21738f=_0x65b374([0x6c,0x6c,0x63,0x74,0x2d])+_0x398b14(_0x9f663b(_0x1072db)),_0xa41a9c=_0x549518(_0x398b14(window[_0x65b374([0x4d,0x61,0x74,0x68])][_0x65b374([0x63,0x65,0x69,0x6c])](_0x16f0a5/_0x481c66)));window[_0x65b374([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x65b374([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21738f,_0xa41a9c);}function _0x4a76ec(){const _0x3bc442=_0x65b374([0x6c,0x6c,0x63,0x74,0x2d])+_0x398b14(_0x9f663b(_0x1072db)),_0x544602=window[_0x65b374([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x65b374([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bc442);return _0x544602?window[_0x65b374([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x549518(_0x544602),0x10)*_0x481c66:null;}function _0x4ffa4d(_0x302172){return new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fbc42,_0x43601b)=>{_0x302172[_0x65b374([0x74,0x68,0x65,0x6e])](_0x1fbc42,_0x43601b),window[_0x65b374([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43601b,0x3dfe1021^_0x1f4134);});}}_0x3410aa[_0x65b374([0x6f,0x6e])](_0x65b374([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48e8f7,_0x442c7b)=>{if(_0x442c7b[0x0]!=_0x1072db)return _0x2ecf5f(_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x442c7b[0x1]={..._0x442c7b[0x1],[_0x65b374([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45dce9};},{[_0x65b374([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x65b374([0x68,0x69,0x67,0x68])}),_0x3410aa[_0x65b374([0x6f,0x6e])](_0x65b374([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3604ea=>{_0x44071c(_0x3604ea[_0x65b374([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b72ce=!0x0,_0x214ca1(_0x3604ea[_0x65b374([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x65b374([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x65b374([0x6c,0x6f,0x77])}),_0x3fc09f[_0x65b374([0x74,0x68,0x65,0x6e])](()=>{_0x2b72ce||_0x2ecf5f(_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x114dc8(){return _0x3410aa[_0x65b374([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x65b374([0x76,0x69,0x65,0x77])][_0x65b374([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x65b374([0x61,0x75,0x74,0x6f]);}function _0x165dd5(){_0x3410aa[_0x65b374([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x65b374([0x76,0x69,0x65,0x77])][_0x65b374([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x65b374([0x61,0x75,0x74,0x6f]);}}function _0x4e932a(_0x569bdf){const _0x3c3819=[new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25a653=>setTimeout(_0x25a653,0x3df6fa2d^_0x1f4134)),_0x3fc09f[_0x65b374([0x74,0x68,0x65,0x6e])](()=>new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5057be=>{let _0x12a401=0x0;_0x3410aa[_0x65b374([0x6d,0x6f,0x64,0x65,0x6c])][_0x65b374([0x6f,0x6e])](_0x65b374([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44f831,_0x1f8076)=>{_0x1f8076[0x0][_0x65b374([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12a401++,_0x12a401==(0x3dffc109^_0x1f4134)&&(_0x5057be(),_0x44f831[_0x65b374([0x6f,0x66,0x66])]());});}))];return window[_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x65b374([0x72,0x61,0x63,0x65])](_0x3c3819)[_0x65b374([0x74,0x68,0x65,0x6e])](()=>_0x569bdf);}async function _0x168a12(){await _0x3fc09f,_0x3410aa[_0x65b374([0x6d,0x6f,0x64,0x65,0x6c])][_0x65b374([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5079bd,_0x3410aa[_0x65b374([0x6d,0x6f,0x64,0x65,0x6c])][_0x65b374([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5079bd,_0x3410aa[_0x65b374([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x65b374([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x503c83(_0x425c7f){const _0x13ec9c=_0x18eb7f();_0x3410aa[_0x13ec9c]=_0x65b374([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x425c7f,_0x425c7f!=_0x65b374([0x56,0x61,0x6c,0x69,0x64])&&_0x168a12();}function _0x18eb7f(){const _0x2d0b73=window[_0x65b374([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x65b374([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x65b374([0x6e,0x6f,0x77])]())[_0x65b374([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x65b374([0x2e]),'');let _0x4f100a=_0x65b374([0x6e]);for(let _0x26e33f=0x0;_0x26e33f<_0x2d0b73[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26e33f+=0x2){let _0x544ddc=window[_0x65b374([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d0b73[_0x65b374([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26e33f,_0x26e33f+0x2));_0x544ddc>=_0x36040f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x544ddc-=_0x36040f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f100a+=_0x36040f[_0x544ddc];}return _0x4f100a;}function _0x4a1841(){const _0x4f549f=_0x382c30[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e]));if(0x3!=_0x4f549f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3703b2(_0x4f549f[0x1]);function _0x3703b2(_0x54a382){const _0x1dd2d1=_0x5b6e95(_0x54a382);return _0x1dd2d1&&_0xbae958()?_0x1dd2d1:null;function _0xbae958(){const _0x36db4d=_0x1dd2d1[_0x65b374([0x6a,0x74,0x69])],_0x4ab2ab=window[_0x65b374([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36db4d[_0x65b374([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36db4d[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b70d4={..._0x1dd2d1,[_0x65b374([0x6a,0x74,0x69])]:_0x36db4d[_0x65b374([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36db4d[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b70d4[_0x65b374([0x76,0x63])],_0x9f663b(_0x5b70d4)==_0x4ab2ab;}}}async function _0x16efb5(){let _0x40b602=!0x0;try{const _0x52d708=_0x382c30[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e])),[_0x13ae29,_0x6a572c,_0x5c2829]=_0x52d708;return _0x378d1d(_0x13ae29),await _0x35b832(_0x13ae29,_0x6a572c,_0x5c2829),_0x40b602;}catch{return!0x1;}function _0x378d1d(_0x307fbd){const _0x4e585a=_0x5b6e95(_0x307fbd);_0x4e585a&&_0x4e585a[_0x65b374([0x61,0x6c,0x67])]==_0x65b374([0x45,0x53,0x32,0x35,0x36])||(_0x40b602=!0x1);}async function _0x35b832(_0x3c01e2,_0xf7ff15,_0x1413c8){const _0x570404=window[_0x65b374([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x65b374([0x66,0x72,0x6f,0x6d])](_0x36fc3d(_0x1413c8),_0x4d9dee=>_0x4d9dee[_0x65b374([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32ccc1=new window[(_0x65b374([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x65b374([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c01e2+_0x65b374([0x2e])+_0xf7ff15),_0x55630d=window[_0x65b374([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x65b374([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55630d)return;const _0x485c97=await _0x55630d[_0x65b374([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x65b374([0x6a,0x77,0x6b]),_0x43f6de,{[_0x65b374([0x6e,0x61,0x6d,0x65])]:_0x65b374([0x45,0x43,0x44,0x53,0x41]),[_0x65b374([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x65b374([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x65b374([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55630d[_0x65b374([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x65b374([0x6e,0x61,0x6d,0x65])]:_0x65b374([0x45,0x43,0x44,0x53,0x41]),[_0x65b374([0x68,0x61,0x73,0x68])]:{[_0x65b374([0x6e,0x61,0x6d,0x65])]:_0x65b374([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x485c97,_0x570404,_0x32ccc1)||(_0x40b602=!0x1);}}function _0x5b6e95(_0x5b8d93){return _0x5b8d93[_0x65b374([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x65b374([0x65,0x79]))?JSON[_0x65b374([0x70,0x61,0x72,0x73,0x65])](_0x36fc3d(_0x5b8d93)):null;}function _0x36fc3d(_0x5cb0ec){return window[_0x65b374([0x61,0x74,0x6f,0x62])](_0x5cb0ec[_0x65b374([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x65b374([0x2b]))[_0x65b374([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x65b374([0x2f])));}function _0x9f663b(_0x2fb63f){let _0x1cb609=0x1505;function _0x22831c(_0x1a6ffa){for(let _0x15ffc6=0x0;_0x15ffc6<_0x1a6ffa[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15ffc6++){const _0x140a8e=_0x1a6ffa[_0x65b374([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15ffc6);_0x1cb609=(_0x1cb609<<0x5)+_0x1cb609+_0x140a8e,_0x1cb609&=_0x1cb609;}}function _0xbed918(_0x127f46){Array[_0x65b374([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x127f46)?_0x127f46[_0x65b374([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbed918):_0x127f46&&typeof _0x127f46==_0x65b374([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x65b374([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x127f46)[_0x65b374([0x73,0x6f,0x72,0x74])]()[_0x65b374([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x183bbb,_0x4196de])=>{_0x22831c(_0x183bbb),_0xbed918(_0x4196de);}):_0x22831c(window[_0x65b374([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x127f46));}return _0xbed918(_0x2fb63f),_0x1cb609>>>0x0;}function _0x398b14(_0x23982c){return _0x23982c[_0x65b374([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x65b374([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x65b374([0x30]));}function _0x549518(_0x344bf5){return _0x344bf5[_0x65b374([0x73,0x70,0x6c,0x69,0x74])]('')[_0x65b374([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x65b374([0x6a,0x6f,0x69,0x6e])]('');}function _0x5079bd(){}function _0x65b374(_0x1757d5){const _0x3d0d2d=_0x6008;return _0x1757d5[_0x3d0d2d(0x15f)](_0x22fc35=>String[_0x3d0d2d(0x168)](_0x22fc35))[_0x3d0d2d(0x159)]('');}_0x503c83(await _0x288878());}(this);}[_0x252cca(0x121)](){const _0x14c44a=_0x252cca,_0xc3d13=this[_0x14c44a(0x141)][_0x14c44a(0x143)];_0xc3d13[_0x14c44a(0x12e)](_0x13ad08=>{const _0x26360e=_0x14c44a,_0x5064b9=_0xc3d13[_0x26360e(0x150)][_0x26360e(0x16a)][_0x26360e(0x111)]();let _0x23ee03=0x0;for(const _0x1f7b12 of _0x5064b9){const _0x2dbb26=f+':'+_0x23ee03;if(_0xc3d13[_0x26360e(0x112)][_0x26360e(0x128)](_0x2dbb26))_0x13ad08[_0x26360e(0x12f)](_0x2dbb26,{'range':_0x1f7b12});else{if(_0x1f7b12[_0x26360e(0x14c)][_0x26360e(0x156)]){const _0x5a5d7a=_0x1f7b12[_0x26360e(0x14c)][_0x26360e(0x15c)](({item:_0x948d97})=>!_0xc3d13[_0x26360e(0x165)][_0x26360e(0x137)](_0x948d97),{'boundaries':_0x1f7b12});_0x13ad08[_0x26360e(0x15e)](_0x2dbb26,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x13ad08[_0x26360e(0x132)](_0x5a5d7a,_0x1f7b12[_0x26360e(0x123)])});}else _0x13ad08[_0x26360e(0x15e)](_0x2dbb26,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1f7b12});}_0x23ee03++;}});}[_0x252cca(0x10e)](){const _0x5dce88=_0x252cca,_0x4aa837=this[_0x5dce88(0x141)][_0x5dce88(0x143)],_0x42039e=Array[_0x5dce88(0x129)](this[_0x5dce88(0x141)][_0x5dce88(0x143)][_0x5dce88(0x112)][_0x5dce88(0x12d)](f));_0x42039e[_0x5dce88(0x133)]&&_0x4aa837[_0x5dce88(0x12e)](_0x6b0ba4=>{const _0x1ef567=_0x5dce88;_0x42039e[_0x1ef567(0x15a)](_0x353e08=>{const _0x12ebce=_0x1ef567;_0x6b0ba4[_0x12ebce(0x16d)](_0x353e08);});});}[_0x252cca(0x122)](_0x273dc6,_0x2c3da4){const _0x5768db=_0x252cca,_0x342a5f=this[_0x5768db(0x163)](),_0x324d2e=_0x2c3da4||_0x342a5f[_0x5768db(0x13b)]();this[_0x5768db(0x141)][_0x5768db(0x143)][_0x5768db(0x116)](_0x324d2e)&&this[_0x5768db(0x141)][_0x5768db(0x143)][_0x5768db(0x12e)](_0x5779cf=>{const _0x3ba89e=_0x5768db;this[_0x3ba89e(0x10e)](),_0x2c3da4||this[_0x3ba89e(0x147)](_0x5779cf,_0x342a5f),this[_0x3ba89e(0x10c)]({'insertAt':_0x324d2e,'writer':_0x5779cf,'html':_0x273dc6});});}[_0x252cca(0x109)](_0x525a7a){const _0x791901=_0x252cca,{model:_0xdff056}=this[_0x791901(0x141)],_0x430d48=this[_0x791901(0x163)]();_0xdff056[_0x791901(0x12e)](()=>{const _0x41d6e5=_0x791901,_0x2b2402=this[_0x41d6e5(0x10d)](_0x525a7a,_0x430d48)||this[_0x41d6e5(0x142)](_0x430d48);this[_0x41d6e5(0x122)](_0x525a7a,_0x2b2402);});}[_0x252cca(0x163)](){const _0x4375f0=_0x252cca,_0x4a7fcf=this[_0x4375f0(0x141)][_0x4375f0(0x143)],_0x108021=Array[_0x4375f0(0x129)](_0x4a7fcf[_0x4375f0(0x112)][_0x4375f0(0x12d)](f))[_0x4375f0(0x15f)](_0x2ada8e=>_0x2ada8e[_0x4375f0(0x11f)]());return _0x4a7fcf[_0x4375f0(0x144)](_0x108021);}[_0x252cca(0x10c)]({writer:_0x45a51c,html:_0x1872db,insertAt:_0x465a13}){const _0x59ea26=_0x252cca,{view:_0x2ee916}=this[_0x59ea26(0x141)][_0x59ea26(0x154)],_0x13ed40=this[_0x59ea26(0x141)][_0x59ea26(0x16e)][_0x59ea26(0x131)](_0x4bcceb),_0x265013=new w();_0x265013[_0x59ea26(0x136)](_0x59ea26(0x107),_0x1872db);const _0x51dfcd=new ClipboardEvent(_0x59ea26(0x115),{'clipboardData':_0x265013}),_0x58ed85=new _0x594305(_0x2ee916,_0x51dfcd,{'dataTransfer':new _0x5f394c(_0x265013)});_0x45a51c[_0x59ea26(0x14e)](_0x465a13);const _0x14a585=(_0x158432,_0x485158)=>{const _0x4da2da=_0x59ea26;_0x485158[_0x4da2da(0x106)]&&_0x45a51c[_0x4da2da(0x14e)](_0x485158[_0x4da2da(0x106)]);};_0x13ed40[_0x59ea26(0x16f)](_0x59ea26(0x157),_0x14a585,{'priority':_0x59ea26(0x139)}),_0x2ee916[_0x59ea26(0x150)][_0x59ea26(0x167)](_0x59ea26(0x115),_0x58ed85),_0x13ed40[_0x59ea26(0x10f)](_0x59ea26(0x157),_0x14a585);}[_0x252cca(0x142)](_0x1ee2e3){const _0x4cdc2d=_0x252cca,{model:_0x34d630}=this[_0x4cdc2d(0x141)],_0x507f88=Array[_0x4cdc2d(0x129)](_0x1ee2e3[_0x4cdc2d(0x152)]());return _0x507f88[_0x4cdc2d(0x133)]?_0x34d630[_0x4cdc2d(0x11b)](_0x507f88[_0x4cdc2d(0x10b)]()):_0x1ee2e3[_0x4cdc2d(0x161)]();}[_0x252cca(0x10d)](_0x592141,_0x528d45){const _0x468f12=_0x252cca,{model:_0x378862,plugins:_0x481a5a}=this[_0x468f12(0x141)];if(_0x481a5a[_0x468f12(0x128)](_0x468f12(0x134))){const _0x467811=_0x481a5a[_0x468f12(0x131)](_0x468f12(0x134))[_0x468f12(0x130)](_0x528d45);if(_0x467811[_0x468f12(0x133)]){const _0x582e14=this[_0x468f12(0x125)](_0x592141),_0x3cc3ee=this[_0x468f12(0x155)](_0x467811,_0x582e14);return _0x378862[_0x468f12(0x162)](_0x3cc3ee,0x0);}}return null;}[_0x252cca(0x125)](_0x35a014){const _0x19e3db=_0x252cca,_0x1cddb1=this[_0x19e3db(0x141)][_0x19e3db(0x16e)][_0x19e3db(0x131)](_0x19e3db(0x134)),_0x2ce70a=this[_0x19e3db(0x141)][_0x19e3db(0x103)][_0x19e3db(0x126)](_0x35a014),_0xdad118=Array[_0x19e3db(0x129)](_0x2ce70a[_0x19e3db(0x104)]())[_0x19e3db(0x151)](_0x37a8a7=>_0x37a8a7['is'](_0x19e3db(0x164),_0x19e3db(0x166)));let _0x588578=0x0;return _0xdad118[_0x19e3db(0x15a)](_0x435ee7=>{const _0x196f7a=_0x19e3db;_0x588578+=_0x1cddb1[_0x196f7a(0x124)](_0x435ee7);}),_0x588578;}[_0x252cca(0x155)](_0x57a736,_0x12a0e3){const _0x12b2f6=_0x252cca,_0x311e6a=this[_0x12b2f6(0x141)][_0x12b2f6(0x16e)][_0x12b2f6(0x131)](_0x12b2f6(0x134)),_0x1bab20=_0x311e6a[_0x12b2f6(0x11d)](_0x57a736),_0x16c04b=_0x311e6a[_0x12b2f6(0x14b)](_0x57a736),_0x2aab17=_0x1bab20[_0x12b2f6(0x13d)]+0x1,_0x32f9bb=_0x16c04b[_0x12b2f6(0x146)],_0x42ed3a=_0x57a736[0x0][_0x12b2f6(0x117)](_0x12b2f6(0x166));for(let _0x38238f=0x0;_0x38238f<_0x12a0e3;_0x38238f++)_0x311e6a[_0x12b2f6(0x114)](_0x42ed3a,{'at':_0x2aab17});return _0x42ed3a[_0x12b2f6(0x12c)](_0x2aab17)[_0x12b2f6(0x12c)](_0x32f9bb);}[_0x252cca(0x147)](_0x4fb9ab,_0x26748e){const _0x261805=_0x252cca,{plugins:_0x355d0a}=this[_0x261805(0x141)],{model:_0x303760}=_0x4fb9ab;if(!_0x355d0a[_0x261805(0x128)](_0x261805(0x134)))return;_0x355d0a[_0x261805(0x131)](_0x261805(0x134))[_0x261805(0x130)](_0x26748e)[_0x261805(0x133)]&&_0x303760[_0x261805(0x14f)](_0x26748e);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3497f2=_0xb48c;(function(_0x38a9ea,_0x3cbda4){const _0x1674d3=_0xb48c,_0x521676=_0x38a9ea();while(!![]){try{const _0x12dedc=parseInt(_0x1674d3(0x1e4))/0x1+parseInt(_0x1674d3(0x1da))/0x2*(-parseInt(_0x1674d3(0x1a7))/0x3)+parseInt(_0x1674d3(0x20e))/0x4*(parseInt(_0x1674d3(0x18b))/0x5)+parseInt(_0x1674d3(0x225))/0x6+-parseInt(_0x1674d3(0x202))/0x7*(-parseInt(_0x1674d3(0x19c))/0x8)+-parseInt(_0x1674d3(0x1b1))/0x9*(-parseInt(_0x1674d3(0x1ff))/0xa)+parseInt(_0x1674d3(0x1a3))/0xb*(-parseInt(_0x1674d3(0x186))/0xc);if(_0x12dedc===_0x3cbda4)break;else _0x521676['push'](_0x521676['shift']());}catch(_0x3c0f3c){_0x521676['push'](_0x521676['shift']());}}}(_0x3919,0xb591e));import{Plugin as _0x4c1aaa}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4d51ad,IconRobotPencil as _0x753514}from'ckeditor5/src/icons.js';import{first as _0x512ca3,CKEditorError as _0x24b643}from'ckeditor5/src/utils.js';import{createDropdown as _0x2ceb7b,addMenuToDropdown as _0x56663b,ButtonView as _0x2c8711,MenuBarMenuListItemButtonView as _0x32e2c8,Dialog as _0x472188,DialogViewPosition as _0x1c7782,MenuBarMenuView as _0x1a83af,MenuBarMenuListView as _0x4f32fd,MenuBarMenuListItemView as _0x42848f}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3bb942,UNGROUPED_COMMANDS_GROUP_ID as _0x52b2bf}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x180ac4}from'./aiassistantediting.js';import{AIAdapter as _0x2a6857}from'./adapters/aiadapter.js';import{getTranslation as _0x53e2af}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0xc9838a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0xdea816}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x20e13d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x11e731}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x3497f2(0x189)];function _0xb48c(_0x5db2d9,_0x2f322b){const _0x39197f=_0x3919();return _0xb48c=function(_0xb48c38,_0x320740){_0xb48c38=_0xb48c38-0x174;let _0x3c9bd5=_0x39197f[_0xb48c38];return _0x3c9bd5;},_0xb48c(_0x5db2d9,_0x2f322b);}import{ClipboardMarkersUtils as _0x3a94f0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x562385,ViewDataTransfer as _0x10e4e6}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4c1aaa{[_0x3497f2(0x17d)];[_0x3497f2(0x191)];[_0x3497f2(0x215)];[_0x3497f2(0x21d)];[_0x3497f2(0x19d)];[_0x3497f2(0x1d9)];[_0x3497f2(0x20c)]='';static get[_0x3497f2(0x17f)](){const _0xcd712c=_0x3497f2;return _0xcd712c(0x1ae);}static get[_0x3497f2(0x220)](){return!0x0;}static get[_0x3497f2(0x205)](){return!0x0;}static get[_0x3497f2(0x1ed)](){return[_0x3a94f0,_0x180ac4,_0x2a6857,_0x472188];}constructor(_0x51ba86){const _0x310c41=_0x3497f2;super(_0x51ba86),_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x187)](_0x310c41(0x193),[_0x310c41(0x1de),_0x310c41(0x195),_0x310c41(0x176)]),_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x187)](_0x310c41(0x1a9),''),_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x187)](_0x310c41(0x183),!0x0),this[_0x310c41(0x20c)]=_0x310c41(0x1a6)+(_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x1fd)](_0x310c41(0x183))?_0x310c41(0x179):'');}[_0x3497f2(0x1c8)](){const _0x5cb9b6=_0x3497f2,{editor:_0x2cfe33}=this;this[_0x5cb9b6(0x19d)]=_0x2cfe33[_0x5cb9b6(0x1e1)][_0x5cb9b6(0x1fd)](_0x2a6857),this[_0x5cb9b6(0x215)]=_0x2cfe33[_0x5cb9b6(0x1e1)][_0x5cb9b6(0x1fd)](_0x472188),this[_0x5cb9b6(0x21d)]=null,this[_0x5cb9b6(0x1b7)]=this[_0x5cb9b6(0x1cc)]();const _0x5e10be=new _0xc9838a(_0x2cfe33,Array[_0x5cb9b6(0x1e5)](this[_0x5cb9b6(0x1b7)][_0x5cb9b6(0x17b)]()));_0x2cfe33[_0x5cb9b6(0x1c6)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1fc),_0x5e10be),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1d3),_0x11766f=>{const _0x259c4e=_0x5cb9b6,_0x482452=_0x2ceb7b(_0x11766f);return _0x482452[_0x259c4e(0x212)]({'class':_0x259c4e(0x1d2)+this[_0x259c4e(0x20c)]}),_0x482452[_0x259c4e(0x1f9)][_0x259c4e(0x212)]({'label':_0x53e2af(_0x11766f,_0x259c4e(0x221)),'icon':_0x4d51ad,'tooltip':!0x0}),_0x482452['on'](_0x259c4e(0x1e3),_0xcce690=>this[_0x259c4e(0x1d7)](_0xcce690[_0x259c4e(0x182)]['id'])),_0x56663b(_0x482452,_0x2cfe33['ui'][_0x259c4e(0x1fa)][_0x259c4e(0x1bc)],function(_0x548031){const _0x372007=_0x259c4e,_0x3e0368=_0x3bb942(_0x548031[_0x372007(0x1d0)][_0x372007(0x1fd)](_0x372007(0x1e0)),_0x548031[_0x372007(0x21c)]),_0x5b7845=hi(_0x548031,_0x3e0368)[_0x372007(0x1ee)](_0x5c99dc=>_0x5c99dc[_0x372007(0x1c6)][_0x372007(0x194)]);if(0x1===_0x5b7845[_0x372007(0x194)])return hi(_0x548031,_0x5b7845[0x0][_0x372007(0x1c6)])[_0x372007(0x18d)](_0x39727b=>({'id':_0x39727b['id'],'label':_0x39727b[_0x372007(0x1e9)]}));return _0x5b7845[_0x372007(0x18d)](_0x34df51=>{const _0x3d9afb=_0x372007,{groupId:_0x5021d0,groupLabel:_0x5425c9,commands:_0x31d7b6}=_0x34df51,_0x51b90a=hi(_0x548031,_0x31d7b6)[_0x3d9afb(0x18d)](_0x5d9579=>({'id':_0x5d9579['id'],'label':_0x5d9579[_0x3d9afb(0x1e9)]}));return{'id':_0x5021d0,'menu':_0x5425c9||_0x5021d0,'children':_0x51b90a};});}(_0x2cfe33),{'ariaLabel':_0x53e2af(_0x11766f,_0x259c4e(0x221))}),_0x482452[_0x259c4e(0x206)][_0x259c4e(0x1f8)]=_0x259c4e(0x1d2)+this[_0x259c4e(0x20c)],_0x5e10be['on'](_0x259c4e(0x188),_0x2b44a5),_0x482452[_0x259c4e(0x206)][_0x259c4e(0x213)](_0x259c4e(0x207),_0x2b44a5),_0x482452;function _0x2b44a5(){const _0x1725f6=_0x259c4e;_0x482452[_0x1725f6(0x19f)]=_0x5e10be[_0x1725f6(0x192)][_0x1725f6(0x194)]>0x0;for(const _0x445878 of _0x482452[_0x1725f6(0x206)][_0x1725f6(0x178)])_0x445878[_0x1725f6(0x19f)]=_0x5e10be[_0x1725f6(0x192)][_0x1725f6(0x18f)](_0x445878['id']);}}),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1ef),_0x54f841=>{const _0x2b09e1=_0x5cb9b6,_0x3f5dc9=new _0x1a83af(_0x54f841);_0x3f5dc9[_0x2b09e1(0x1f9)][_0x2b09e1(0x212)]({'label':_0x53e2af(_0x54f841,_0x2b09e1(0x221)),'icon':_0x4d51ad}),_0x3f5dc9[_0x2b09e1(0x1db)](_0x2b09e1(0x19f))['to'](_0x5e10be,_0x2b09e1(0x192),_0x25f5c9=>_0x25f5c9[_0x2b09e1(0x194)]>0x0);const _0x4ed602=_0x3bb942(_0x2cfe33[_0x2b09e1(0x1d0)][_0x2b09e1(0x1fd)](_0x2b09e1(0x1e0)),_0x54f841);return this[_0x2b09e1(0x1b5)](_0x5e10be,_0x3f5dc9,_0x4ed602,_0x20635d=>this[_0x2b09e1(0x1d7)](_0x20635d)),_0x3f5dc9;}),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x21a),()=>{const _0x3c702c=_0x5cb9b6,_0x4b5e94=this[_0x3c702c(0x1f1)](_0x2c8711);return _0x4b5e94[_0x3c702c(0x212)]({'tooltip':!0x0,'class':_0x3c702c(0x1f2)+this[_0x3c702c(0x20c)]}),_0x4b5e94;}),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1a5),()=>{const _0x54eda0=_0x5cb9b6,_0x62a42f=this[_0x54eda0(0x1f1)](_0x32e2c8);return _0x62a42f[_0x54eda0(0x212)]({'role':_0x54eda0(0x1df)}),_0x62a42f;}),this[_0x5cb9b6(0x17d)]=this[_0x5cb9b6(0x214)][_0x5cb9b6(0x1d0)][_0x5cb9b6(0x1fd)](_0x5cb9b6(0x17d));const _0x493989=this[_0x5cb9b6(0x214)];this[_0x5cb9b6(0x191)]=setInterval(()=>{const _0x45c249=_0x5cb9b6;let _0x19e43e;for(const _0x294343 in _0x493989){const _0x23d0ea=_0x294343,_0x44e908=_0x493989[_0x23d0ea];if(_0x45c249(0x20a)==_0x44e908||_0x45c249(0x1e6)==_0x44e908||_0x45c249(0x201)==_0x44e908||_0x45c249(0x198)==_0x44e908||_0x45c249(0x1f3)==_0x44e908||_0x45c249(0x222)==_0x44e908||_0x45c249(0x1c5)==_0x44e908||_0x45c249(0x1bb)==_0x44e908){delete _0x493989[_0x23d0ea],_0x19e43e=_0x44e908,clearInterval(this[_0x45c249(0x191)]),this[_0x45c249(0x191)]=void 0x0;break;}}_0x45c249(0x1e6)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1d1)),_0x45c249(0x201)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1a8)),_0x45c249(0x198)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1eb)),_0x45c249(0x1f3)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x204),_0x45c249(0x1e8)),_0x45c249(0x222)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x223)),_0x45c249(0x1c5)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x19a)),_0x45c249(0x1bb)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1a4));},0x3e8);}[_0x3497f2(0x1be)](){const _0x40f93c=_0x3497f2;super[_0x40f93c(0x1be)](),this[_0x40f93c(0x191)]&&clearInterval(this[_0x40f93c(0x191)]);}[_0x3497f2(0x20f)](_0x3ee2d0='',_0x2fed9c='',_0x2c4af1=_0x3497f2(0x18c)){const _0x4a640d=_0x3497f2,_0x5c9fdb=this[_0x4a640d(0x214)],_0xb6716e=_0x5c9fdb[_0x4a640d(0x1b6)][_0x4a640d(0x1fa)],_0x2b1242=_0x5c9fdb[_0x4a640d(0x1e1)][_0x4a640d(0x1fd)](_0x180ac4),_0x3226dc=_0x5c9fdb[_0x4a640d(0x1e1)][_0x4a640d(0x1fd)](_0x3a94f0);_0x2b1242[_0x4a640d(0x1cb)]();const _0x1d56b1=new J(),_0x2e5aef=new ClipboardEvent(_0x4a640d(0x197),{'clipboardData':_0x1d56b1}),_0x5354b1=new _0x10e4e6(_0x1d56b1),_0x22fe85=new _0x562385(_0xb6716e,_0x2e5aef,{'dataTransfer':_0x5354b1});_0x3226dc[_0x4a640d(0x174)](_0x4a640d(0x1c7),()=>{const _0x33ee51=_0x4a640d;_0xb6716e[_0x33ee51(0x1c1)][_0x33ee51(0x1fb)](_0x33ee51(0x197),_0x22fe85);}),this[_0x4a640d(0x21d)]||(this[_0x4a640d(0x1d8)](),this[_0x4a640d(0x1d9)]=new _0xdea816(_0x5c9fdb,this[_0x4a640d(0x19d)][_0x4a640d(0x19b)],this[_0x4a640d(0x21d)]));let _0x563a8e=_0x5354b1[_0x4a640d(0x1f6)](_0x4a640d(0x17c));const _0x316f6f=_0x5c9fdb[_0x4a640d(0x181)][_0x4a640d(0x1c1)][_0x4a640d(0x1aa)],_0x29397c=Array[_0x4a640d(0x1e5)](_0x316f6f[_0x4a640d(0x1ec)]());0x1===_0x29397c[_0x4a640d(0x194)]&&_0x29397c[0x0][_0x4a640d(0x1b9)]&&!_0x316f6f[_0x4a640d(0x184)]()&&''!==_0x563a8e[_0x4a640d(0x1a2)](/ /g,'')[_0x4a640d(0x1bf)]()&&(_0x563a8e=_0x4a640d(0x1f0)+_0x563a8e+_0x4a640d(0x1ac)),this[_0x4a640d(0x1d9)][_0x4a640d(0x1b4)]({'actionId':_0x2c4af1,'query':_0x3ee2d0,'htmlContent':_0x563a8e,'label':_0x2fed9c,'mainActionLabel':_0x11e731[_0x5c9fdb[_0x4a640d(0x181)][_0x4a640d(0x1c1)][_0x4a640d(0x1aa)][_0x4a640d(0x1f5)]?_0x4a640d(0x20d):_0x4a640d(0x1e7)]}),_0x4a640d(0x21a)!==this[_0x4a640d(0x215)]['id']?this[_0x4a640d(0x215)][_0x4a640d(0x1c0)]({'id':_0x4a640d(0x21a),'icon':_0x753514,'title':_0x53e2af(this[_0x4a640d(0x214)][_0x4a640d(0x21c)],_0x4a640d(0x196)),'content':this[_0x4a640d(0x21d)],'position':_0x1c7782[_0x4a640d(0x1a0)],'onShow':()=>{const _0x533f23=_0x4a640d;this[_0x533f23(0x21d)][_0x533f23(0x200)]();},'onHide':()=>{const _0x58b161=_0x4a640d;this[_0x58b161(0x1d9)][_0x58b161(0x180)](),_0x2b1242[_0x58b161(0x1ba)]();}}):this[_0x4a640d(0x215)][_0x4a640d(0x1fa)][_0x4a640d(0x18a)]||this[_0x4a640d(0x215)][_0x4a640d(0x1fa)][_0x4a640d(0x1cd)]();}[_0x3497f2(0x219)](){const _0x293fcf=_0x3497f2;this[_0x293fcf(0x215)][_0x293fcf(0x209)]();}[_0x3497f2(0x1cc)](){const _0x3685a2=_0x3497f2,_0x81877b=new Map(),_0x5208f0=_0x3bb942(this[_0x3685a2(0x214)][_0x3685a2(0x1d0)][_0x3685a2(0x1fd)](_0x3685a2(0x1e0)),this[_0x3685a2(0x214)][_0x3685a2(0x21c)]);for(const _0xfeaaf7 of _0x5208f0)for(const _0x1a2588 of _0xfeaaf7[_0x3685a2(0x1c6)])_0x81877b[_0x3685a2(0x212)](_0x1a2588['id'],{..._0x1a2588,'groupId':_0xfeaaf7[_0x3685a2(0x21f)],'groupLabel':_0xfeaaf7[_0x3685a2(0x1a1)]||_0xfeaaf7[_0x3685a2(0x21f)]});return _0x81877b;}[_0x3497f2(0x1f1)](_0x302af2){const _0x5c2296=_0x3497f2,_0x3ba6d6=this[_0x5c2296(0x214)],_0x37a296=_0x3ba6d6[_0x5c2296(0x1c6)][_0x5c2296(0x1fd)](_0x5c2296(0x1fc)),_0x33b848=new _0x302af2(_0x3ba6d6[_0x5c2296(0x21c)]);return _0x33b848[_0x5c2296(0x212)]({'label':_0x53e2af(_0x3ba6d6[_0x5c2296(0x21c)],_0x5c2296(0x196)),'icon':_0x753514,'isToggleable':!0x0}),_0x33b848[_0x5c2296(0x1db)](_0x5c2296(0x19f))['to'](_0x37a296),_0x33b848[_0x5c2296(0x1db)](_0x5c2296(0x224))['to'](this[_0x5c2296(0x215)],'id',_0x2512e3=>_0x5c2296(0x21a)===_0x2512e3),this[_0x5c2296(0x21b)](_0x33b848,_0x5c2296(0x1e3),()=>{const _0x8ed4c0=_0x5c2296;_0x33b848[_0x8ed4c0(0x224)]?this[_0x8ed4c0(0x219)]():_0x37a296[_0x8ed4c0(0x1e3)]();}),_0x33b848;}[_0x3497f2(0x1d8)](){const _0x506ba9=_0x3497f2,_0x415aff=this[_0x506ba9(0x214)][_0x506ba9(0x1e1)][_0x506ba9(0x1fd)](_0x180ac4);this[_0x506ba9(0x21d)]=new _0x20e13d(this[_0x506ba9(0x214)][_0x506ba9(0x21c)],this[_0x506ba9(0x20c)],this[_0x506ba9(0x214)][_0x506ba9(0x1d0)][_0x506ba9(0x1fd)](_0x506ba9(0x1a9))),this[_0x506ba9(0x21d)]['on'](_0x506ba9(0x217),()=>{const _0x1efd40=_0x506ba9;this[_0x1efd40(0x215)][_0x1efd40(0x1fa)][_0x1efd40(0x18a)]||this[_0x1efd40(0x215)][_0x1efd40(0x1fa)][_0x1efd40(0x1cd)]();}),this[_0x506ba9(0x21d)][_0x506ba9(0x17e)][_0x506ba9(0x1d5)][_0x506ba9(0x1cf)]['on'](_0x506ba9(0x175),()=>{const _0x52b900=_0x506ba9;this[_0x52b900(0x215)][_0x52b900(0x1fa)][_0x52b900(0x18a)]||this[_0x52b900(0x215)][_0x52b900(0x1fa)][_0x52b900(0x1cd)]();}),this[_0x506ba9(0x21b)](this[_0x506ba9(0x21d)],_0x506ba9(0x1b8),()=>{const _0x513595=_0x506ba9;_0x415aff[_0x513595(0x1ea)](this[_0x513595(0x1d9)][_0x513595(0x20b)]),this[_0x513595(0x219)]();}),this[_0x506ba9(0x21b)](this[_0x506ba9(0x21d)],_0x506ba9(0x1b3),()=>{const _0x2c5170=_0x506ba9;_0x415aff[_0x2c5170(0x1b3)](this[_0x2c5170(0x1d9)][_0x2c5170(0x20b)]),this[_0x2c5170(0x219)]();}),this[_0x506ba9(0x1e2)]();}[_0x3497f2(0x1e2)](){const _0x226dcc=_0x3497f2,{locale:_0x29b2ff,ui:{ariaLiveAnnouncer:_0x6f955e}}=this[_0x226dcc(0x214)];this[_0x226dcc(0x21d)][_0x226dcc(0x1f7)]['on'](_0x226dcc(0x1d6),(_0x202600,_0x43d62c,_0x547bdb)=>{const _0x1c9203=_0x226dcc,_0x4bc20a=this[_0x1c9203(0x1d9)][_0x1c9203(0x20b)];_0x547bdb?_0x6f955e[_0x1c9203(0x199)](_0x53e2af(_0x29b2ff,_0x1c9203(0x1dd))):_0x4bc20a&&_0x6f955e[_0x1c9203(0x199)](_0x53e2af(_0x29b2ff,_0x1c9203(0x1fe),_0x4bc20a),{'politeness':_0x1c9203(0x1d4),'isUnsafeHTML':!0x0});}),this[_0x226dcc(0x21d)]['on'](_0x226dcc(0x211),(_0x161d8f,_0x1890c3,_0x52f517)=>{const _0x59061d=_0x226dcc;if(_0x52f517){const _0x1f1204=this[_0x59061d(0x21d)][_0x59061d(0x1c2)][_0x59061d(0x218)];_0x6f955e[_0x59061d(0x199)](_0x53e2af(_0x29b2ff,_0x59061d(0x210),_0x1f1204));}});}[_0x3497f2(0x1d7)](_0x2f364f){const _0x14c532=_0x3497f2,_0x4e350f=this[_0x14c532(0x1b7)][_0x14c532(0x1fd)](_0x2f364f),_0xc1b451=this[_0x14c532(0x214)],_0x18af16=_0xc1b451[_0x14c532(0x181)][_0x14c532(0x1c1)][_0x14c532(0x1aa)],_0x33c630=_0xc1b451[_0x14c532(0x1c6)][_0x14c532(0x1fd)](_0x14c532(0x1fc)),_0x3cbe05=_0xc1b451[_0x14c532(0x1e1)][_0x14c532(0x1fd)](_0x180ac4),_0x1ce0b7=''+(_0x4e350f[_0x14c532(0x21f)]!==_0x52b2bf?_0x4e350f[_0x14c532(0x1a1)]+':\x20':'')+_0x4e350f[_0x14c532(0x1e9)];if(!0x1!==_0x4e350f[_0x14c532(0x17a)]&&_0x18af16[_0x14c532(0x1f5)]){const _0x1f53ef=_0x512ca3(_0x18af16[_0x14c532(0x1f4)]())||_0xc1b451[_0x14c532(0x181)][_0x14c532(0x1ce)][_0x14c532(0x21e)](_0x18af16);_0xc1b451[_0x14c532(0x181)][_0x14c532(0x1c4)](_0x5a42b1=>{const _0x19f3c4=_0x14c532;_0x5a42b1[_0x19f3c4(0x177)](_0x1f53ef,'in');});}_0x3cbe05[_0x14c532(0x1cb)](),_0x33c630[_0x14c532(0x1e3)](_0x4e350f[_0x14c532(0x1bd)],_0x1ce0b7,_0x14c532(0x1b0)+_0x2f364f);}[_0x3497f2(0x1b5)](_0xbc9ba4,_0xc68c24,_0x2cb49f,_0x38945b){const _0x528487=_0x3497f2,_0x462a55=this[_0x528487(0x214)],_0x4de096=_0x462a55[_0x528487(0x21c)],_0x3750d3=new _0x4f32fd(_0x4de096),_0x47cdcb=hi(_0x462a55,_0x2cb49f)[_0x528487(0x1ee)](_0x4fbf0f=>_0x4fbf0f[_0x528487(0x1c6)][_0x528487(0x194)]);0x1===_0x47cdcb[_0x528487(0x194)]?this[_0x528487(0x1c9)]({'command':_0xbc9ba4,'commands':_0x47cdcb[0x0][_0x528487(0x1c6)],'parentMenuView':_0xc68c24,'onExecute':_0x38945b})[_0x528487(0x216)](_0xe25861=>_0x3750d3[_0x528487(0x19e)][_0x528487(0x208)](_0xe25861)):_0x47cdcb[_0x528487(0x216)](({groupId:_0x454e03,groupLabel:_0x4f1be7,commands:_0x4f0df1})=>{const _0x4bff2e=_0x528487,_0x3c948c=new _0x42848f(_0x4de096,_0xc68c24),_0x4ac5d4=new _0x1a83af(_0x4de096),_0x57433d=new _0x4f32fd(_0x4de096),_0x24c06a=this[_0x4bff2e(0x1c9)]({'command':_0xbc9ba4,'commands':_0x4f0df1,'parentMenuView':_0x4ac5d4,'onExecute':_0x38945b});_0x4ac5d4[_0x4bff2e(0x1f9)][_0x4bff2e(0x212)]({'label':_0x4f1be7||_0x454e03}),_0x4ac5d4[_0x4bff2e(0x1ad)](_0x4bff2e(0x1e3))['to'](_0xc68c24),_0x57433d[_0x4bff2e(0x19e)][_0x4bff2e(0x1c3)](_0x24c06a),_0x4ac5d4[_0x4bff2e(0x185)][_0x4bff2e(0x1b2)][_0x4bff2e(0x208)](_0x57433d),_0x3c948c[_0x4bff2e(0x1b2)][_0x4bff2e(0x208)](_0x4ac5d4),_0x3750d3[_0x4bff2e(0x19e)][_0x4bff2e(0x208)](_0x3c948c);}),_0xc68c24[_0x528487(0x185)][_0x528487(0x1b2)][_0x528487(0x208)](_0x3750d3);}[_0x3497f2(0x1c9)]({command:_0x368966,commands:_0x156062,parentMenuView:_0x37c284,onExecute:_0x13acaf}){const _0x210a3a=_0x3497f2,_0x34176d=this[_0x210a3a(0x214)],_0x2164c7=_0x34176d[_0x210a3a(0x21c)];return hi(_0x34176d,_0x156062)[_0x210a3a(0x18d)](_0x6e67e4=>{const _0x15c299=_0x210a3a,_0x5a663c=new _0x42848f(_0x2164c7,_0x37c284),_0x5a1b49=new _0x32e2c8(_0x2164c7);return _0x5a1b49[_0x15c299(0x212)]({'label':_0x6e67e4[_0x15c299(0x1e9)]}),_0x5a1b49[_0x15c299(0x1ad)](_0x15c299(0x1e3))['to'](_0x37c284),_0x5a1b49['on'](_0x15c299(0x1e3),()=>_0x13acaf(_0x6e67e4['id'])),_0x5a1b49[_0x15c299(0x1db)](_0x15c299(0x19f))['to'](_0x368966,_0x15c299(0x192),_0x2addcc=>_0x2addcc[_0x15c299(0x18f)](_0x6e67e4['id'])),_0x5a663c[_0x15c299(0x1b2)][_0x15c299(0x208)](_0x5a1b49),_0x5a663c;});}}function _0x3919(){const _0x7841e0=['execute','613675vSIGKl','from','aiLicenseKeyInvalid','REPLACE','AIAssistant','label','insertContent','domainLimit','getRanges','requires','filter','menuBar:aiCommands','<p>','_createAIAssistantUIButton','ck-ai-assistant-button\x20','aiLicenseKeyNotAllowed','getSelectedBlocks','isCollapsed','getData','contentArea','menuPanelClass','buttonView','view','fire','showAIAssistant','get','Generated\x20content:\x20%0','10892610vTmJdK','focus','aiLicenseKeyExpired','644rVCoiw','order','featureNotAllowed','isPremiumPlugin','menuView','render','add','hide','aiLicenseKeyValid','currentContext','_uiCssClasses','INSERT','1493428TQKdaj','showUI','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:isError','set','once','editor','_dialog','forEach','change:value','text','hideUI','aiAssistant','listenTo','locale','_formView','getLimitElement','groupId','isOfficialPlugin','AI\x20Commands','aiLicenseKeyEvaluationLimit','evaluationLimit','isOn','7785990uAvuOe','_forceMarkersCopy','update','tableOfContents','setSelection','buttons','\x20ck-ai-assistant-ui_theme','requiresContent','values','text/html','licenseKey','promptView','pluginName','reset','model','source','ai.assistant.useTheme','getSelectedElement','panelView','107652mLXNum','define','change:enabledCommandsIds','DataTransfer','wasMoved','10EupJCr','custom','map','_showLicenseError','includes','sort','_licenseKeyCheckInterval','enabledCommandsIds','ai.assistant.disabledElements','length','rawHtml','AI\x20Assistant','copy','aiLicenseKeyDomainLimit','announce','trialLimit','textAdapter','38816idwJgd','_aiAdapter','items','isEnabled','EDITOR_TOP_SIDE','groupLabel','replace','2849bQeyod','usageLimit','menuBar:aiAssistant','ck-ai-assistant-ui','337950WkjXmk','expired','ai.assistant.contentAreaCssClass','selection','push','</p>','delegate','AIAssistantUI','componentFactory','command:','9SNuneu','children','insertContentBelow','updateView','_populateMenuBarMenu','editing','_commandDefinitions','replaceContent','isFlat','hideFakeVisualSelection','aiLicenseKeyUsageLimit','body','prompt','destroy','trim','show','document','errorView','addMany','change','aiLicenseKeyTrialLimit','commands','comment','init','_getMenuBarGroupButtons','splice','showFakeVisualSelection','_getResolvedCommandsDefinitions','updatePosition','schema','fieldView','config','invalid','ck-ai-commands-dropdown\x20','aiCommands','polite','queryView','change:isProcessing','_onExecute','_initView','_aiAssistantController','20NlEqhm','bind','ai-commands-config-order-collision','AI\x20is\x20writing','media','menuitemcheckbox','ai.assistant.commands','plugins','_initAriaAiStatusChangeAnnouncements'];_0x3919=function(){return _0x7841e0;};return _0x3919();}function li(_0x23e409,_0x2f6716){const _0x52dba2=_0x3497f2;return void 0x0!==_0x23e409[_0x52dba2(0x203)]&&void 0x0===_0x2f6716[_0x52dba2(0x203)]?0x1:void 0x0===_0x23e409[_0x52dba2(0x203)]&&void 0x0!==_0x2f6716[_0x52dba2(0x203)]?-0x1:void 0x0!==_0x23e409[_0x52dba2(0x203)]&&void 0x0!==_0x2f6716[_0x52dba2(0x203)]?_0x23e409[_0x52dba2(0x203)]-_0x2f6716[_0x52dba2(0x203)]:0x0;}function hi(_0x12be83,_0x5cdada){const _0x1f0524=_0x3497f2;_0x5cdada[_0x1f0524(0x190)](li);const _0x35b36c={},_0x5a5dff=[];for(const _0x1fca95 of _0x5cdada)if(void 0x0!==_0x1fca95[_0x1f0524(0x203)]){if(_0x1fca95[_0x1f0524(0x203)]in _0x35b36c)throw new _0x24b643(_0x1f0524(0x1dc),_0x12be83,{'conflictingDefinitions':[_0x1fca95,_0x35b36c[_0x1fca95[_0x1f0524(0x203)]]]});_0x35b36c[_0x1fca95[_0x1f0524(0x203)]]=_0x1fca95,_0x5a5dff[_0x1f0524(0x1ca)](_0x1fca95[_0x1f0524(0x203)],0x0,_0x1fca95);}else _0x5a5dff[_0x1f0524(0x1ab)](_0x1fca95);return _0x5a5dff;}
|
|
23
|
+
const _0x180ac6=_0x4986;(function(_0x3db022,_0x49e7be){const _0xe62345=_0x4986,_0x33bba6=_0x3db022();while(!![]){try{const _0x1c2a9f=parseInt(_0xe62345(0x1a9))/0x1+-parseInt(_0xe62345(0x20e))/0x2+-parseInt(_0xe62345(0x207))/0x3*(-parseInt(_0xe62345(0x1e5))/0x4)+parseInt(_0xe62345(0x247))/0x5*(parseInt(_0xe62345(0x238))/0x6)+-parseInt(_0xe62345(0x22b))/0x7+-parseInt(_0xe62345(0x200))/0x8*(-parseInt(_0xe62345(0x20a))/0x9)+-parseInt(_0xe62345(0x234))/0xa;if(_0x1c2a9f===_0x49e7be)break;else _0x33bba6['push'](_0x33bba6['shift']());}catch(_0x583fd8){_0x33bba6['push'](_0x33bba6['shift']());}}}(_0x38e1,0xca493));import{Plugin as _0x385d56}from'ckeditor5/src/core.js';import{IconMagicWand as _0x28c321,IconRobotPencil as _0x2c8b3d}from'ckeditor5/src/icons.js';import{first as _0x4bbd95,CKEditorError as _0x3468e4}from'ckeditor5/src/utils.js';import{createDropdown as _0x4175bf,addMenuToDropdown as _0x22b1bc,ButtonView as _0x8a01c1,MenuBarMenuListItemButtonView as _0x248838,Dialog as _0x495752,DialogViewPosition as _0x2c000c,MenuBarMenuView as _0x13bb74,MenuBarMenuListView as _0x52e183,MenuBarMenuListItemView as _0x490810}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x5a72c8,UNGROUPED_COMMANDS_GROUP_ID as _0x1b9da5}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3487ae}from'./aiassistantediting.js';import{AIAdapter as _0x76896f}from'./adapters/aiadapter.js';import{getTranslation as _0x4302ce}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x42be58}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1ce29f}from'./ui/aiassistantcontroller.js';function _0x4986(_0x17218b,_0x1e54a2){const _0x38e1d8=_0x38e1();return _0x4986=function(_0x498610,_0x210b1f){_0x498610=_0x498610-0x1a7;let _0x4e9d3f=_0x38e1d8[_0x498610];return _0x4e9d3f;},_0x4986(_0x17218b,_0x1e54a2);}import{AIFormView as _0x856fe8}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5d025d}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x38e1(){const _0x22c789=['_initAriaAiStatusChangeAnnouncements','ck-ai-assistant-button\x20','change:value','aiLicenseKeyValid','addMany','model','hideFakeVisualSelection','1551199lWFqPB','_formView','licenseKey','getData','text','_onExecute','announce','menuPanelClass','componentFactory','forEach','featureNotAllowed','DataTransfer','domainLimit','_dialog','items','buttons','AIAssistant','getLimitElement','label','menuView','AIAssistantUI','copy','queryView','groupLabel','custom','ck-ai-commands-dropdown\x20','polite','length','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','INSERT','rawHtml','buttonView','splice','textAdapter','schema','\x20ck-ai-assistant-ui_theme','media','groupId','EDITOR_TOP_SIDE','reset','get','aiLicenseKeyDomainLimit','_commandDefinitions','ai.assistant.disabledElements','ai.assistant.commands','focus','trim','enabledCommandsIds','getRanges','map','aiLicenseKeyNotAllowed','view','isOfficialPlugin','updatePosition','requiresContent','replace','fire','AI\x20is\x20writing','currentContext','8LQTeEw','comment','evaluationLimit','showFakeVisualSelection','_forceMarkersCopy','destroy','<p>','showAIAssistant','aiLicenseKeyUsageLimit','_createAIAssistantUIButton','document','contentArea','add','aiAssistant','AI\x20Assistant','order','render','_initView','aiCommands','plugins','hide','_licenseKeyCheckInterval','prompt','insertContentBelow','menuBar:aiCommands','commands','editing','3896744XvVqcw','listenTo','editor','change','_showLicenseError','sort','panelView','1155444SVAxxv','tableOfContents','update','9wnjNpz','invalid','setSelection','change:enabledCommandsIds','2004192JeYtTI','isPremiumPlugin','body','menuBar:aiAssistant','delegate','push','command:','menuitemcheckbox','set','source','_getResolvedCommandsDefinitions','_aiAssistantController','text/html','AI\x20Commands','expired','_aiAdapter','change:isProcessing','bind','updateView','aiLicenseKeyEvaluationLimit','includes','aiLicenseKeyInvalid','</p>','replaceContent','init','Generated\x20content:\x20%0','REPLACE','ai-commands-config-order-collision','ai.assistant.useTheme','8381737GrdHeb','promptView','hideUI','isFlat','ck-ai-assistant-ui','once','errorView','pluginName','config','11779880fHXaff','define','isOn','children','8826RgxEIN','ai.assistant.contentAreaCssClass','isCollapsed','change:isError','getSelectedElement','_uiCssClasses','insertContent','usageLimit','isEnabled','filter','getSelectedBlocks','_populateMenuBarMenu','fieldView','locale','values','4750GFCmqC','requires','wasMoved','execute','show','from','showUI','_getMenuBarGroupButtons','aiLicenseKeyExpired'];_0x38e1=function(){return _0x22c789;};return _0x38e1();}const w=globalThis[_0x180ac6(0x1b4)];import{ClipboardMarkersUtils as _0x541e71}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x183d3e,ViewDataTransfer as _0x5820a4}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x385d56{[_0x180ac6(0x1ab)];[_0x180ac6(0x1fa)];[_0x180ac6(0x1b6)];[_0x180ac6(0x1aa)];[_0x180ac6(0x21d)];[_0x180ac6(0x219)];[_0x180ac6(0x23d)]='';static get[_0x180ac6(0x232)](){const _0x3c2d3e=_0x180ac6;return _0x3c2d3e(0x1bd);}static get[_0x180ac6(0x1de)](){return!0x0;}static get[_0x180ac6(0x20f)](){return!0x0;}static get[_0x180ac6(0x248)](){return[_0x541e71,_0x3487ae,_0x76896f,_0x495752];}constructor(_0x2e23fa){const _0x26c1e5=_0x180ac6;super(_0x2e23fa),_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x235)](_0x26c1e5(0x1d5),[_0x26c1e5(0x1ce),_0x26c1e5(0x1c8),_0x26c1e5(0x208)]),_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x235)](_0x26c1e5(0x239),''),_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x235)](_0x26c1e5(0x22a),!0x0),this[_0x26c1e5(0x23d)]=_0x26c1e5(0x22f)+(_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x1d2)](_0x26c1e5(0x22a))?_0x26c1e5(0x1cd):'');}[_0x180ac6(0x226)](){const _0x6d3bbf=_0x180ac6,{editor:_0x12b228}=this;this[_0x6d3bbf(0x21d)]=_0x12b228[_0x6d3bbf(0x1f8)][_0x6d3bbf(0x1d2)](_0x76896f),this[_0x6d3bbf(0x1b6)]=_0x12b228[_0x6d3bbf(0x1f8)][_0x6d3bbf(0x1d2)](_0x495752),this[_0x6d3bbf(0x1aa)]=null,this[_0x6d3bbf(0x1d4)]=this[_0x6d3bbf(0x218)]();const _0x3385e9=new _0x42be58(_0x12b228,Array[_0x6d3bbf(0x24c)](this[_0x6d3bbf(0x1d4)][_0x6d3bbf(0x246)]()));_0x12b228[_0x6d3bbf(0x1fe)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1ec),_0x3385e9),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1f7),_0x317cc0=>{const _0x92650a=_0x6d3bbf,_0x221fd8=_0x4175bf(_0x317cc0);return _0x221fd8[_0x92650a(0x216)]({'class':_0x92650a(0x1c2)+this[_0x92650a(0x23d)]}),_0x221fd8[_0x92650a(0x1c9)][_0x92650a(0x216)]({'label':_0x4302ce(_0x317cc0,_0x92650a(0x21b)),'icon':_0x28c321,'tooltip':!0x0}),_0x221fd8['on'](_0x92650a(0x24a),_0x324f87=>this[_0x92650a(0x1ae)](_0x324f87[_0x92650a(0x217)]['id'])),_0x22b1bc(_0x221fd8,_0x12b228['ui'][_0x92650a(0x1dd)][_0x92650a(0x210)],function(_0x4a2d8b){const _0x8a9857=_0x92650a,_0x4adbca=_0x5a72c8(_0x4a2d8b[_0x8a9857(0x233)][_0x8a9857(0x1d2)](_0x8a9857(0x1d6)),_0x4a2d8b[_0x8a9857(0x245)]),_0x28291d=B(_0x4a2d8b,_0x4adbca)[_0x8a9857(0x241)](_0x37f161=>_0x37f161[_0x8a9857(0x1fe)][_0x8a9857(0x1c4)]);if(0x1===_0x28291d[_0x8a9857(0x1c4)])return B(_0x4a2d8b,_0x28291d[0x0][_0x8a9857(0x1fe)])[_0x8a9857(0x1db)](_0x5a4a41=>({'id':_0x5a4a41['id'],'label':_0x5a4a41[_0x8a9857(0x1bb)]}));return _0x28291d[_0x8a9857(0x1db)](_0x41cc37=>{const _0xf83af4=_0x8a9857,{groupId:_0x83867c,groupLabel:_0x5157fb,commands:_0x5d614c}=_0x41cc37,_0xea486a=B(_0x4a2d8b,_0x5d614c)[_0xf83af4(0x1db)](_0x2a2a44=>({'id':_0x2a2a44['id'],'label':_0x2a2a44[_0xf83af4(0x1bb)]}));return{'id':_0x83867c,'menu':_0x5157fb||_0x83867c,'children':_0xea486a};});}(_0x12b228),{'ariaLabel':_0x4302ce(_0x317cc0,_0x92650a(0x21b))}),_0x221fd8[_0x92650a(0x1bc)][_0x92650a(0x1b0)]=_0x92650a(0x1c2)+this[_0x92650a(0x23d)],_0x3385e9['on'](_0x92650a(0x20d),_0x254473),_0x221fd8[_0x92650a(0x1bc)][_0x92650a(0x230)](_0x92650a(0x1f5),_0x254473),_0x221fd8;function _0x254473(){const _0x43163c=_0x92650a;_0x221fd8[_0x43163c(0x240)]=_0x3385e9[_0x43163c(0x1d9)][_0x43163c(0x1c4)]>0x0;for(const _0x5d1705 of _0x221fd8[_0x43163c(0x1bc)][_0x43163c(0x1b8)])_0x5d1705[_0x43163c(0x240)]=_0x3385e9[_0x43163c(0x1d9)][_0x43163c(0x222)](_0x5d1705['id']);}}),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1fd),_0x18c598=>{const _0x3d6007=_0x6d3bbf,_0x43491e=new _0x13bb74(_0x18c598);_0x43491e[_0x3d6007(0x1c9)][_0x3d6007(0x216)]({'label':_0x4302ce(_0x18c598,_0x3d6007(0x21b)),'icon':_0x28c321}),_0x43491e[_0x3d6007(0x21f)](_0x3d6007(0x240))['to'](_0x3385e9,_0x3d6007(0x1d9),_0x591c86=>_0x591c86[_0x3d6007(0x1c4)]>0x0);const _0x5e2c54=_0x5a72c8(_0x12b228[_0x3d6007(0x233)][_0x3d6007(0x1d2)](_0x3d6007(0x1d6)),_0x18c598);return this[_0x3d6007(0x243)](_0x3385e9,_0x43491e,_0x5e2c54,_0x38701c=>this[_0x3d6007(0x1ae)](_0x38701c)),_0x43491e;}),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1f2),()=>{const _0x49d16d=_0x6d3bbf,_0x4674b2=this[_0x49d16d(0x1ee)](_0x8a01c1);return _0x4674b2[_0x49d16d(0x216)]({'tooltip':!0x0,'class':_0x49d16d(0x251)+this[_0x49d16d(0x23d)]}),_0x4674b2;}),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x211),()=>{const _0x5384f2=_0x6d3bbf,_0x493394=this[_0x5384f2(0x1ee)](_0x248838);return _0x493394[_0x5384f2(0x216)]({'role':_0x5384f2(0x215)}),_0x493394;}),this[_0x6d3bbf(0x1ab)]=this[_0x6d3bbf(0x202)][_0x6d3bbf(0x233)][_0x6d3bbf(0x1d2)](_0x6d3bbf(0x1ab));const _0x19b50f=this[_0x6d3bbf(0x202)];this[_0x6d3bbf(0x1fa)]=setInterval(()=>{const _0x2be92b=_0x6d3bbf;let _0x42e091;for(const _0x382c66 in _0x19b50f){const _0x41e820=_0x382c66,_0x15afca=_0x19b50f[_0x41e820];if(_0x2be92b(0x253)==_0x15afca||_0x2be92b(0x223)==_0x15afca||_0x2be92b(0x24f)==_0x15afca||_0x2be92b(0x1d3)==_0x15afca||_0x2be92b(0x1dc)==_0x15afca||_0x2be92b(0x221)==_0x15afca||_0x2be92b(0x1ed)==_0x15afca){delete _0x19b50f[_0x41e820],_0x42e091=_0x15afca,clearInterval(this[_0x2be92b(0x1fa)]),this[_0x2be92b(0x1fa)]=void 0x0;break;}}_0x2be92b(0x223)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x20b)),_0x2be92b(0x24f)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x21c)),_0x2be92b(0x1d3)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x1b5)),_0x2be92b(0x1dc)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x1b3),_0x2be92b(0x1b9)),_0x2be92b(0x221)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x1e7)),_0x2be92b(0x1ed)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x23f));},0x3e8);}[_0x180ac6(0x1ea)](){const _0x28b4aa=_0x180ac6;super[_0x28b4aa(0x1ea)](),this[_0x28b4aa(0x1fa)]&&clearInterval(this[_0x28b4aa(0x1fa)]);}[_0x180ac6(0x24d)](_0x2c4386='',_0x5a61b6='',_0xe5139d=_0x180ac6(0x1c1)){const _0x4a37ed=_0x180ac6,_0x37f6c4=this[_0x4a37ed(0x202)],_0x54d7b0=_0x37f6c4[_0x4a37ed(0x1ff)][_0x4a37ed(0x1dd)],_0x5ab0da=_0x37f6c4[_0x4a37ed(0x1f8)][_0x4a37ed(0x1d2)](_0x3487ae),_0x34006b=_0x37f6c4[_0x4a37ed(0x1f8)][_0x4a37ed(0x1d2)](_0x541e71);_0x5ab0da[_0x4a37ed(0x1e8)]();const _0x50283d=new w(),_0x2b5290=new ClipboardEvent(_0x4a37ed(0x1be),{'clipboardData':_0x50283d}),_0x6e4885=new _0x5820a4(_0x50283d),_0x3bd638=new _0x183d3e(_0x54d7b0,_0x2b5290,{'dataTransfer':_0x6e4885});_0x34006b[_0x4a37ed(0x1e9)](_0x4a37ed(0x1e6),()=>{const _0x5b40a5=_0x4a37ed;_0x54d7b0[_0x5b40a5(0x1ef)][_0x5b40a5(0x1e2)](_0x5b40a5(0x1be),_0x3bd638);}),this[_0x4a37ed(0x1aa)]||(this[_0x4a37ed(0x1f6)](),this[_0x4a37ed(0x219)]=new _0x1ce29f(_0x37f6c4,this[_0x4a37ed(0x21d)][_0x4a37ed(0x1cb)],this[_0x4a37ed(0x1aa)]));let _0x126331=_0x6e4885[_0x4a37ed(0x1ac)](_0x4a37ed(0x21a));const _0x449a1c=_0x37f6c4[_0x4a37ed(0x1a7)][_0x4a37ed(0x1ef)][_0x4a37ed(0x1c6)],_0x16dbec=Array[_0x4a37ed(0x24c)](_0x449a1c[_0x4a37ed(0x1da)]());0x1===_0x16dbec[_0x4a37ed(0x1c4)]&&_0x16dbec[0x0][_0x4a37ed(0x22e)]&&!_0x449a1c[_0x4a37ed(0x23c)]()&&''!==_0x126331[_0x4a37ed(0x1e1)](/ /g,'')[_0x4a37ed(0x1d8)]()&&(_0x126331=_0x4a37ed(0x1eb)+_0x126331+_0x4a37ed(0x224)),this[_0x4a37ed(0x219)][_0x4a37ed(0x220)]({'actionId':_0xe5139d,'query':_0x2c4386,'htmlContent':_0x126331,'label':_0x5a61b6,'mainActionLabel':_0x5d025d[_0x37f6c4[_0x4a37ed(0x1a7)][_0x4a37ed(0x1ef)][_0x4a37ed(0x1c6)][_0x4a37ed(0x23a)]?_0x4a37ed(0x1c7):_0x4a37ed(0x228)]}),_0x4a37ed(0x1f2)!==this[_0x4a37ed(0x1b6)]['id']?this[_0x4a37ed(0x1b6)][_0x4a37ed(0x24b)]({'id':_0x4a37ed(0x1f2),'icon':_0x2c8b3d,'title':_0x4302ce(this[_0x4a37ed(0x202)][_0x4a37ed(0x245)],_0x4a37ed(0x1f3)),'content':this[_0x4a37ed(0x1aa)],'position':_0x2c000c[_0x4a37ed(0x1d0)],'onShow':()=>{const _0x25392e=_0x4a37ed;this[_0x25392e(0x1aa)][_0x25392e(0x1d7)]();},'onHide':()=>{const _0x194fb8=_0x4a37ed;this[_0x194fb8(0x219)][_0x194fb8(0x1d1)](),_0x5ab0da[_0x194fb8(0x1a8)]();}}):this[_0x4a37ed(0x1b6)][_0x4a37ed(0x1dd)][_0x4a37ed(0x249)]||this[_0x4a37ed(0x1b6)][_0x4a37ed(0x1dd)][_0x4a37ed(0x1df)]();}[_0x180ac6(0x22d)](){const _0x5d055f=_0x180ac6;this[_0x5d055f(0x1b6)][_0x5d055f(0x1f9)]();}[_0x180ac6(0x218)](){const _0x3e53e2=_0x180ac6,_0x241544=new Map(),_0x3c48d3=_0x5a72c8(this[_0x3e53e2(0x202)][_0x3e53e2(0x233)][_0x3e53e2(0x1d2)](_0x3e53e2(0x1d6)),this[_0x3e53e2(0x202)][_0x3e53e2(0x245)]);for(const _0x47f2c1 of _0x3c48d3)for(const _0x61003c of _0x47f2c1[_0x3e53e2(0x1fe)])_0x241544[_0x3e53e2(0x216)](_0x61003c['id'],{..._0x61003c,'groupId':_0x47f2c1[_0x3e53e2(0x1cf)],'groupLabel':_0x47f2c1[_0x3e53e2(0x1c0)]||_0x47f2c1[_0x3e53e2(0x1cf)]});return _0x241544;}[_0x180ac6(0x1ee)](_0x49594e){const _0x1518a3=_0x180ac6,_0xfa128b=this[_0x1518a3(0x202)],_0x19b659=_0xfa128b[_0x1518a3(0x1fe)][_0x1518a3(0x1d2)](_0x1518a3(0x1ec)),_0x1e60a2=new _0x49594e(_0xfa128b[_0x1518a3(0x245)]);return _0x1e60a2[_0x1518a3(0x216)]({'label':_0x4302ce(_0xfa128b[_0x1518a3(0x245)],_0x1518a3(0x1f3)),'icon':_0x2c8b3d,'isToggleable':!0x0}),_0x1e60a2[_0x1518a3(0x21f)](_0x1518a3(0x240))['to'](_0x19b659),_0x1e60a2[_0x1518a3(0x21f)](_0x1518a3(0x236))['to'](this[_0x1518a3(0x1b6)],'id',_0x1f692c=>_0x1518a3(0x1f2)===_0x1f692c),this[_0x1518a3(0x201)](_0x1e60a2,_0x1518a3(0x24a),()=>{const _0x5f2702=_0x1518a3;_0x1e60a2[_0x5f2702(0x236)]?this[_0x5f2702(0x22d)]():_0x19b659[_0x5f2702(0x24a)]();}),_0x1e60a2;}[_0x180ac6(0x1f6)](){const _0x22aeb1=_0x180ac6,_0x25aaaf=this[_0x22aeb1(0x202)][_0x22aeb1(0x1f8)][_0x22aeb1(0x1d2)](_0x3487ae);this[_0x22aeb1(0x1aa)]=new _0x856fe8(this[_0x22aeb1(0x202)][_0x22aeb1(0x245)],this[_0x22aeb1(0x23d)],this[_0x22aeb1(0x202)][_0x22aeb1(0x233)][_0x22aeb1(0x1d2)](_0x22aeb1(0x239))),this[_0x22aeb1(0x1aa)]['on'](_0x22aeb1(0x252),()=>{const _0x1546ed=_0x22aeb1;this[_0x1546ed(0x1b6)][_0x1546ed(0x1dd)][_0x1546ed(0x249)]||this[_0x1546ed(0x1b6)][_0x1546ed(0x1dd)][_0x1546ed(0x1df)]();}),this[_0x22aeb1(0x1aa)][_0x22aeb1(0x22c)][_0x22aeb1(0x1bf)][_0x22aeb1(0x244)]['on'](_0x22aeb1(0x209),()=>{const _0x4d9190=_0x22aeb1;this[_0x4d9190(0x1b6)][_0x4d9190(0x1dd)][_0x4d9190(0x249)]||this[_0x4d9190(0x1b6)][_0x4d9190(0x1dd)][_0x4d9190(0x1df)]();}),this[_0x22aeb1(0x201)](this[_0x22aeb1(0x1aa)],_0x22aeb1(0x225),()=>{const _0x4375e4=_0x22aeb1;_0x25aaaf[_0x4375e4(0x23e)](this[_0x4375e4(0x219)][_0x4375e4(0x1e4)]),this[_0x4375e4(0x22d)]();}),this[_0x22aeb1(0x201)](this[_0x22aeb1(0x1aa)],_0x22aeb1(0x1fc),()=>{const _0x5e5a0f=_0x22aeb1;_0x25aaaf[_0x5e5a0f(0x1fc)](this[_0x5e5a0f(0x219)][_0x5e5a0f(0x1e4)]),this[_0x5e5a0f(0x22d)]();}),this[_0x22aeb1(0x250)]();}[_0x180ac6(0x250)](){const _0x2a9b19=_0x180ac6,{locale:_0x2f8d51,ui:{ariaLiveAnnouncer:_0x35f178}}=this[_0x2a9b19(0x202)];this[_0x2a9b19(0x1aa)][_0x2a9b19(0x1f0)]['on'](_0x2a9b19(0x21e),(_0x53024d,_0x229b95,_0x246fa7)=>{const _0x1cec91=_0x2a9b19,_0x455fb4=this[_0x1cec91(0x219)][_0x1cec91(0x1e4)];_0x246fa7?_0x35f178[_0x1cec91(0x1af)](_0x4302ce(_0x2f8d51,_0x1cec91(0x1e3))):_0x455fb4&&_0x35f178[_0x1cec91(0x1af)](_0x4302ce(_0x2f8d51,_0x1cec91(0x227),_0x455fb4),{'politeness':_0x1cec91(0x1c3),'isUnsafeHTML':!0x0});}),this[_0x2a9b19(0x1aa)]['on'](_0x2a9b19(0x23b),(_0xac2a14,_0x31a2b9,_0xd5bc9c)=>{const _0x33b66e=_0x2a9b19;if(_0xd5bc9c){const _0xe24b7f=this[_0x33b66e(0x1aa)][_0x33b66e(0x231)][_0x33b66e(0x1ad)];_0x35f178[_0x33b66e(0x1af)](_0x4302ce(_0x2f8d51,_0x33b66e(0x1c5),_0xe24b7f));}});}[_0x180ac6(0x1ae)](_0x1069c0){const _0x1031f6=_0x180ac6,_0x302a0c=this[_0x1031f6(0x1d4)][_0x1031f6(0x1d2)](_0x1069c0),_0x1ac8e5=this[_0x1031f6(0x202)],_0x559f4f=_0x1ac8e5[_0x1031f6(0x1a7)][_0x1031f6(0x1ef)][_0x1031f6(0x1c6)],_0x1c9302=_0x1ac8e5[_0x1031f6(0x1fe)][_0x1031f6(0x1d2)](_0x1031f6(0x1ec)),_0x8d9c47=_0x1ac8e5[_0x1031f6(0x1f8)][_0x1031f6(0x1d2)](_0x3487ae),_0x415eb4=''+(_0x302a0c[_0x1031f6(0x1cf)]!==_0x1b9da5?_0x302a0c[_0x1031f6(0x1c0)]+':\x20':'')+_0x302a0c[_0x1031f6(0x1bb)];if(!0x1!==_0x302a0c[_0x1031f6(0x1e0)]&&_0x559f4f[_0x1031f6(0x23a)]){const _0x4a14b9=_0x4bbd95(_0x559f4f[_0x1031f6(0x242)]())||_0x1ac8e5[_0x1031f6(0x1a7)][_0x1031f6(0x1cc)][_0x1031f6(0x1ba)](_0x559f4f);_0x1ac8e5[_0x1031f6(0x1a7)][_0x1031f6(0x203)](_0x5d6d3f=>{const _0x4a1bcc=_0x1031f6;_0x5d6d3f[_0x4a1bcc(0x20c)](_0x4a14b9,'in');});}_0x8d9c47[_0x1031f6(0x1e8)](),_0x1c9302[_0x1031f6(0x24a)](_0x302a0c[_0x1031f6(0x1fb)],_0x415eb4,_0x1031f6(0x214)+_0x1069c0);}[_0x180ac6(0x243)](_0x15f05a,_0x9bcc21,_0x14c46d,_0xe47b22){const _0x2e1c3d=_0x180ac6,_0x5dccaf=this[_0x2e1c3d(0x202)],_0x399408=_0x5dccaf[_0x2e1c3d(0x245)],_0x2b84f4=new _0x52e183(_0x399408),_0x237212=B(_0x5dccaf,_0x14c46d)[_0x2e1c3d(0x241)](_0x4a3b48=>_0x4a3b48[_0x2e1c3d(0x1fe)][_0x2e1c3d(0x1c4)]);0x1===_0x237212[_0x2e1c3d(0x1c4)]?this[_0x2e1c3d(0x24e)]({'command':_0x15f05a,'commands':_0x237212[0x0][_0x2e1c3d(0x1fe)],'parentMenuView':_0x9bcc21,'onExecute':_0xe47b22})[_0x2e1c3d(0x1b2)](_0x40fa32=>_0x2b84f4[_0x2e1c3d(0x1b7)][_0x2e1c3d(0x1f1)](_0x40fa32)):_0x237212[_0x2e1c3d(0x1b2)](({groupId:_0x52ff08,groupLabel:_0x484a3a,commands:_0x257520})=>{const _0x3273fb=_0x2e1c3d,_0x433b2c=new _0x490810(_0x399408,_0x9bcc21),_0x5e48dd=new _0x13bb74(_0x399408),_0x450cc5=new _0x52e183(_0x399408),_0xb03f6c=this[_0x3273fb(0x24e)]({'command':_0x15f05a,'commands':_0x257520,'parentMenuView':_0x5e48dd,'onExecute':_0xe47b22});_0x5e48dd[_0x3273fb(0x1c9)][_0x3273fb(0x216)]({'label':_0x484a3a||_0x52ff08}),_0x5e48dd[_0x3273fb(0x212)](_0x3273fb(0x24a))['to'](_0x9bcc21),_0x450cc5[_0x3273fb(0x1b7)][_0x3273fb(0x254)](_0xb03f6c),_0x5e48dd[_0x3273fb(0x206)][_0x3273fb(0x237)][_0x3273fb(0x1f1)](_0x450cc5),_0x433b2c[_0x3273fb(0x237)][_0x3273fb(0x1f1)](_0x5e48dd),_0x2b84f4[_0x3273fb(0x1b7)][_0x3273fb(0x1f1)](_0x433b2c);}),_0x9bcc21[_0x2e1c3d(0x206)][_0x2e1c3d(0x237)][_0x2e1c3d(0x1f1)](_0x2b84f4);}[_0x180ac6(0x24e)]({command:_0x3b0566,commands:_0x1e6850,parentMenuView:_0x1ce865,onExecute:_0x429d71}){const _0x15daf9=_0x180ac6,_0x30a6da=this[_0x15daf9(0x202)],_0x18b70e=_0x30a6da[_0x15daf9(0x245)];return B(_0x30a6da,_0x1e6850)[_0x15daf9(0x1db)](_0x1b123b=>{const _0x3bc378=_0x15daf9,_0x45b53a=new _0x490810(_0x18b70e,_0x1ce865),_0x29704a=new _0x248838(_0x18b70e);return _0x29704a[_0x3bc378(0x216)]({'label':_0x1b123b[_0x3bc378(0x1bb)]}),_0x29704a[_0x3bc378(0x212)](_0x3bc378(0x24a))['to'](_0x1ce865),_0x29704a['on'](_0x3bc378(0x24a),()=>_0x429d71(_0x1b123b['id'])),_0x29704a[_0x3bc378(0x21f)](_0x3bc378(0x240))['to'](_0x3b0566,_0x3bc378(0x1d9),_0x3d6177=>_0x3d6177[_0x3bc378(0x222)](_0x1b123b['id'])),_0x45b53a[_0x3bc378(0x237)][_0x3bc378(0x1f1)](_0x29704a),_0x45b53a;});}}function U(_0x5e1942,_0x5d61b2){const _0x57734a=_0x180ac6;return void 0x0!==_0x5e1942[_0x57734a(0x1f4)]&&void 0x0===_0x5d61b2[_0x57734a(0x1f4)]?0x1:void 0x0===_0x5e1942[_0x57734a(0x1f4)]&&void 0x0!==_0x5d61b2[_0x57734a(0x1f4)]?-0x1:void 0x0!==_0x5e1942[_0x57734a(0x1f4)]&&void 0x0!==_0x5d61b2[_0x57734a(0x1f4)]?_0x5e1942[_0x57734a(0x1f4)]-_0x5d61b2[_0x57734a(0x1f4)]:0x0;}function B(_0x2f8ee5,_0x5c8df3){const _0x443cf0=_0x180ac6;_0x5c8df3[_0x443cf0(0x205)](U);const _0x38b615={},_0x32c239=[];for(const _0x5b09f6 of _0x5c8df3)if(void 0x0!==_0x5b09f6[_0x443cf0(0x1f4)]){if(_0x5b09f6[_0x443cf0(0x1f4)]in _0x38b615)throw new _0x3468e4(_0x443cf0(0x229),_0x2f8ee5,{'conflictingDefinitions':[_0x5b09f6,_0x38b615[_0x5b09f6[_0x443cf0(0x1f4)]]]});_0x38b615[_0x5b09f6[_0x443cf0(0x1f4)]]=_0x5b09f6,_0x32c239[_0x443cf0(0x1ca)](_0x5b09f6[_0x443cf0(0x1f4)],0x0,_0x5b09f6);}else _0x32c239[_0x443cf0(0x213)](_0x5b09f6);return _0x32c239;}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5dce(){var _0x29169c=['1912038MBOZRE','6134360ZJJZJn','6cmbBez','4553115caQFNN','5965608RdGTPj','310822JpETXW','34679248VyEdFG','1706722DCMrCy'];_0x5dce=function(){return _0x29169c;};return _0x5dce();}(function(_0x4f669b,_0x478cc5){var _0x5696df=_0x1f31,_0x54a314=_0x4f669b();while(!![]){try{var _0x4f9e7f=parseInt(_0x5696df(0x117))/0x1+parseInt(_0x5696df(0x119))/0x2+parseInt(_0x5696df(0x11a))/0x3+parseInt(_0x5696df(0x116))/0x4+-parseInt(_0x5696df(0x11b))/0x5*(-parseInt(_0x5696df(0x11c))/0x6)+parseInt(_0x5696df(0x11d))/0x7+-parseInt(_0x5696df(0x118))/0x8;if(_0x4f9e7f===_0x478cc5)break;else _0x54a314['push'](_0x54a314['shift']());}catch(_0x5ba06c){_0x54a314['push'](_0x54a314['shift']());}}}(_0x5dce,0xcbf0e));function _0x1f31(_0x47c196,_0x36abf0){var _0x5dce4f=_0x5dce();return _0x1f31=function(_0x1f3149,_0x1a9025){_0x1f3149=_0x1f3149-0x116;var _0x4b3990=_0x5dce4f[_0x1f3149];return _0x4b3990;},_0x1f31(_0x47c196,_0x36abf0);}import{CKEditorError as _0x2310c0}from'ckeditor5/src/utils.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { type AITextAdapter } from '../adapters/aitextadapter.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x21a6(){const _0x5bc2fe=['finally','ai.assistant.preserveComments','initialContext','set:currentContext','prompt','64unzLro','currentResponse','_normalizeResponseHeadings','setContentOf','message','isProcessing','parseFromString','538929KCHVNq','get','htmlProcessor','48947eLhhFz','nodeType','editor','253908aQdGAO','_parseAndNormalizeContent','domConverter','markers','querySelector','destroy','10JXxish','startProcessing','_sanitizeHTML','view','editing','12fiaFcg','handleError','viewToDom','render','_sanitizationContainer','catch','_handleQuery','listenTo','1788036anAXYP','updateView','textAdapter','abort','5707823efeAfC','reverse','finishProcessing','previousContext','div','substring','```html','_isH1TagSupportEnabled','isRendered','reset','```','toView','tryAgainEvent','makeRequest','stopListening','3GcnQuz','startsWith','body','30xrAaIk','18954637SkvIxv','endsWith','stringify','_xmlSerializer','processor','serializeToString','toModel','name','push','createElement','previousActionId','mainAction','data','rename','424333NZIlpc','document','length','custom','value','text/html','remove','22WdRsgS','exec','set','match','config','innerHTML','currentContext','trim','ELEMENT_NODE','_domParser','<h1></h1>','stopProcessing','once','clear','element','_stripMarkdownSyntax','childNodes','previousQuery','from','submitPrompt','previousLabel','then'];_0x21a6=function(){return _0x5bc2fe;};return _0x21a6();}const _0x55e907=_0x262c;(function(_0x3996b9,_0x5e1e6b){const _0x501df0=_0x262c,_0x22824d=_0x3996b9();while(!![]){try{const _0x143087=parseInt(_0x501df0(0xe9))/0x1*(-parseInt(_0x501df0(0xc4))/0x2)+-parseInt(_0x501df0(0x112))/0x3*(parseInt(_0x501df0(0xff))/0x4)+parseInt(_0x501df0(0x115))/0x5*(-parseInt(_0x501df0(0xec))/0x6)+parseInt(_0x501df0(0xbd))/0x7+parseInt(_0x501df0(0xdf))/0x8*(-parseInt(_0x501df0(0xe6))/0x9)+-parseInt(_0x501df0(0xf2))/0xa*(-parseInt(_0x501df0(0x103))/0xb)+-parseInt(_0x501df0(0xf7))/0xc*(-parseInt(_0x501df0(0x116))/0xd);if(_0x143087===_0x5e1e6b)break;else _0x22824d['push'](_0x22824d['shift']());}catch(_0x64ed8f){_0x22824d['push'](_0x22824d['shift']());}}}(_0x21a6,0x4decb));function _0x262c(_0x2d0020,_0x23f530){const _0x21a60f=_0x21a6();return _0x262c=function(_0x262ce2,_0x365316){_0x262ce2=_0x262ce2-0xb7;let _0x3f11f4=_0x21a60f[_0x262ce2];return _0x3f11f4;},_0x262c(_0x2d0020,_0x23f530);}import{ObservableMixin as _0x38aefc}from'ckeditor5/src/utils.js';import{AIRequestError as _0x429e62}from'../adapters/aiadapter.js';import{Matcher as _0x1aa693,ViewUpcastWriter as _0x4fad4b}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x38aefc(){[_0x55e907(0xeb)];[_0x55e907(0x101)];[_0x55e907(0xf5)];[_0x55e907(0xfb)];[_0x55e907(0xcd)];[_0x55e907(0x119)];constructor(_0xe353f8,_0x300f77,_0x3cf41c){const _0x50f6be=_0x55e907;super(),this[_0x50f6be(0xeb)]=_0xe353f8,this[_0x50f6be(0x101)]=_0x300f77,this[_0x50f6be(0xfb)]=document[_0x50f6be(0xb8)](_0x50f6be(0x107)),this[_0x50f6be(0xcd)]=new DOMParser(),this[_0x50f6be(0x119)]=new XMLSerializer(),this[_0x50f6be(0xf5)]=_0x3cf41c,this[_0x50f6be(0xc6)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x50f6be(0xdd),(_0x324870,_0x3313de,_0xfcffc6)=>{const _0x31bc82=_0x50f6be;this[_0x31bc82(0xf5)][_0x31bc82(0xc1)]=this[_0x31bc82(0xf4)](_0xfcffc6);}),this[_0x50f6be(0xfe)](this[_0x50f6be(0xf5)],_0x50f6be(0xd7),(_0x5f435b,_0x25a37c)=>{const _0x295eb0=_0x50f6be,_0x1d2713=this[_0x295eb0(0xca)]||this[_0x295eb0(0xdc)];this[_0x295eb0(0xfd)](_0x25a37c,_0x1d2713,_0x295eb0(0xc0));}),this[_0x50f6be(0xfe)](this[_0x50f6be(0xf5)],_0x50f6be(0x10f),()=>{const _0x109c4d=_0x50f6be;this[_0x109c4d(0xf5)][_0x109c4d(0xde)]=this[_0x109c4d(0xd8)],this[_0x109c4d(0xfd)](this[_0x109c4d(0xd5)],this[_0x109c4d(0x106)],this[_0x109c4d(0xb9)],this[_0x109c4d(0xd8)]);}),this[_0x50f6be(0xfe)](this[_0x50f6be(0xf5)],_0x50f6be(0xcf),()=>{const _0x38ecb2=_0x50f6be;this[_0x38ecb2(0xcf)]();});}[_0x55e907(0xf1)](){const _0xd9c153=_0x55e907;this[_0xd9c153(0x111)]();}async[_0x55e907(0x100)]({actionId:_0x165bcb,query:_0x4bbd8a,htmlContent:_0x435b29,label:_0x3fe240,mainActionLabel:_0x44a131}){const _0x563aaf=_0x55e907;this[_0x563aaf(0xf5)][_0x563aaf(0xde)]=_0x3fe240,this[_0x563aaf(0xf5)][_0x563aaf(0xba)]=_0x44a131,this[_0x563aaf(0xdc)]=_0x435b29,_0x4bbd8a&&(this[_0x563aaf(0xf5)][_0x563aaf(0x10b)]?this[_0x563aaf(0xfd)](_0x4bbd8a,_0x435b29,_0x165bcb,_0x3fe240):this[_0x563aaf(0xf5)][_0x563aaf(0xd0)](_0x563aaf(0xfa),()=>{const _0xcfd2ec=_0x563aaf;this[_0xcfd2ec(0xfd)](_0x4bbd8a,_0x435b29,_0x165bcb,_0x3fe240);}));}[_0x55e907(0xcf)](){const _0x205594=_0x55e907;this[_0x205594(0xe4)]&&(this[_0x205594(0xe4)]=!0x1,this[_0x205594(0xf5)][_0x205594(0x105)](),this[_0x205594(0x101)][_0x205594(0x102)]());}[_0x55e907(0x10c)](){const _0x1bd48a=_0x55e907;this[_0x1bd48a(0xdc)]='',this[_0x1bd48a(0xca)]='',this[_0x1bd48a(0xe0)]='',this[_0x1bd48a(0x106)]='',this[_0x1bd48a(0xd5)]='',this[_0x1bd48a(0xd8)]='',this[_0x1bd48a(0xb9)]=void 0x0,this[_0x1bd48a(0xf5)][_0x1bd48a(0x10c)](),this[_0x1bd48a(0xcf)]();}async[_0x55e907(0xfd)](_0x3b2ea2,_0x22328b,_0x51956e,_0x3cb2bd){const _0x13b617=_0x55e907;return this[_0x13b617(0xe4)]=!0x0,this[_0x13b617(0xf5)][_0x13b617(0xf3)](),this[_0x13b617(0x106)]=_0x22328b,this[_0x13b617(0xd5)]=_0x3b2ea2,this[_0x13b617(0xd8)]=_0x3cb2bd||_0x3b2ea2,this[_0x13b617(0xb9)]=_0x51956e,new Promise(_0x5e4a80=>{const _0x3154cf=_0x13b617;this[_0x3154cf(0x101)][_0x3154cf(0x110)]({'query':_0x3b2ea2,'context':_0x22328b,'onData':_0x39b54b=>{const _0x5ede77=_0x3154cf;this[_0x5ede77(0xe0)]=_0x39b54b,this[_0x5ede77(0xca)]=this[_0x5ede77(0xed)](this[_0x5ede77(0xe0)]);},'actionId':_0x51956e})[_0x3154cf(0xd9)](()=>{const _0x4947d2=_0x3154cf;!this[_0x4947d2(0xca)]&&this[_0x4947d2(0xe0)]&&(this[_0x4947d2(0xca)]=this[_0x4947d2(0xed)](this[_0x4947d2(0xe0)],!0x0));})[_0x3154cf(0xfc)](_0x37dd7d=>{const _0x39cc09=_0x3154cf;_0x37dd7d instanceof _0x429e62?this[_0x39cc09(0xf5)][_0x39cc09(0xf8)](_0x37dd7d[_0x39cc09(0xe3)]):this[_0x39cc09(0xf5)][_0x39cc09(0xf8)](),_0x5e4a80();})[_0x3154cf(0xda)](()=>{const _0x43aaf2=_0x3154cf;this[_0x43aaf2(0xcf)](),_0x5e4a80();});});}[_0x55e907(0xed)](_0x5b2d3f,_0x2482fc=!0x1){const _0x51c1f6=_0x55e907,_0x503802=hs[_0x51c1f6(0xc5)](_0x5b2d3f);_0x5b2d3f=_0x503802?_0x5b2d3f[_0x51c1f6(0x108)](_0x503802[0x1][_0x51c1f6(0xbf)]):_0x5b2d3f[_0x51c1f6(0xbf)]<0x64&&!_0x2482fc?'':this[_0x51c1f6(0xd3)](_0x5b2d3f);const _0x82d518=this[_0x51c1f6(0xcd)][_0x51c1f6(0xe5)](_0x5b2d3f,_0x51c1f6(0xc2));if(_0x503802){const _0x572dd7=Array[_0x51c1f6(0xd6)](_0x82d518[_0x51c1f6(0x114)][_0x51c1f6(0xd4)]);_0x572dd7[_0x51c1f6(0x104)]();for(const _0xec18a3 of _0x572dd7){if(_0xec18a3[_0x51c1f6(0xea)]==Node[_0x51c1f6(0xcc)])break;_0xec18a3[_0x51c1f6(0xc3)]();}}const _0x38353d=this[_0x51c1f6(0xeb)][_0x51c1f6(0xbb)][_0x51c1f6(0x11a)][_0x51c1f6(0x10e)](this[_0x51c1f6(0x119)][_0x51c1f6(0x11b)](_0x82d518[_0x51c1f6(0x114)]));this[_0x51c1f6(0x10a)]()||this[_0x51c1f6(0xe1)](_0x38353d);const _0x5dd11f=this[_0x51c1f6(0xeb)][_0x51c1f6(0xc8)][_0x51c1f6(0xe7)](_0x51c1f6(0xdb)),_0xc8334a=this[_0x51c1f6(0xeb)][_0x51c1f6(0xbb)][_0x51c1f6(0x11c)](_0x38353d);return _0x5dd11f||_0xc8334a[_0x51c1f6(0xef)][_0x51c1f6(0xd1)](),this[_0x51c1f6(0xeb)][_0x51c1f6(0xbb)][_0x51c1f6(0x118)](_0xc8334a);}[_0x55e907(0xe1)](_0x34b5a7){const _0x572881=_0x55e907,_0x14cff2=new _0x4fad4b(this[_0x572881(0xeb)][_0x572881(0xf6)][_0x572881(0xf5)][_0x572881(0xbe)]),_0x2c1052=new _0x1aa693({'name':/^h[1-5]$/}),_0x248054=[];let _0x2ca85d=!0x1;for(const _0x5a76e6 of _0x34b5a7)_0x5a76e6['is'](_0x572881(0xd2))&&_0x2c1052[_0x572881(0xc7)](_0x5a76e6)&&(_0x248054[_0x572881(0xb7)](_0x5a76e6),'h1'==_0x5a76e6[_0x572881(0x11d)]&&(_0x2ca85d=!0x0));if(_0x2ca85d){for(const _0x395720 of _0x248054)_0x14cff2[_0x572881(0xbc)]('h'+(parseInt(_0x395720[_0x572881(0x11d)][0x1])+0x1),_0x395720);}}[_0x55e907(0x10a)](){const _0x2925d6=_0x55e907,{data:_0x5e549a,editing:_0x47f39a}=this[_0x2925d6(0xeb)],_0x28be65=_0x5e549a[_0x2925d6(0xe8)][_0x2925d6(0x10e)](_0x2925d6(0xce)),_0x53d67c=_0x5e549a[_0x2925d6(0x10e)](_0x5e549a[_0x2925d6(0x11c)](_0x28be65));return!!_0x47f39a[_0x2925d6(0xf5)][_0x2925d6(0xee)][_0x2925d6(0xf9)](_0x53d67c)[_0x2925d6(0xf0)]('h1');}[_0x55e907(0xf4)](_0x1950b){const _0x36f1c1=_0x55e907;return this[_0x36f1c1(0xeb)][_0x36f1c1(0xf6)][_0x36f1c1(0xf5)][_0x36f1c1(0xee)][_0x36f1c1(0xe2)](this[_0x36f1c1(0xfb)],_0x1950b),this[_0x36f1c1(0xfb)][_0x36f1c1(0xc9)];}[_0x55e907(0xd3)](_0x4a87bc){const _0x2612d7=_0x55e907,_0x5c591b=_0x4a87bc[_0x2612d7(0xcb)]();return _0x5c591b[_0x2612d7(0x113)](_0x2612d7(0x109))?_0x5c591b[_0x2612d7(0x117)](_0x2612d7(0x10d))?_0x5c591b[_0x2612d7(0x108)](0x7,_0x5c591b[_0x2612d7(0xbf)]-0x3):_0x5c591b[_0x2612d7(0x108)](0x7):_0x4a87bc;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4861db=_0x5b18;(function(_0x4dee67,_0x3bb1ef){const _0x4448a9=_0x5b18,_0x2f9ca2=_0x4dee67();while(!![]){try{const _0x50cc8c=parseInt(_0x4448a9(0x221))/0x1*(-parseInt(_0x4448a9(0x1e0))/0x2)+parseInt(_0x4448a9(0x1f3))/0x3+parseInt(_0x4448a9(0x212))/0x4+parseInt(_0x4448a9(0x1f5))/0x5*(parseInt(_0x4448a9(0x219))/0x6)+parseInt(_0x4448a9(0x1e2))/0x7*(parseInt(_0x4448a9(0x21c))/0x8)+-parseInt(_0x4448a9(0x20c))/0x9+parseInt(_0x4448a9(0x201))/0xa*(-parseInt(_0x4448a9(0x205))/0xb);if(_0x50cc8c===_0x3bb1ef)break;else _0x2f9ca2['push'](_0x2f9ca2['shift']());}catch(_0x408023){_0x2f9ca2['push'](_0x2f9ca2['shift']());}}}(_0x498a,0x1f17c));import{global as _0x12f13a}from'ckeditor5/src/utils.js';import{View as _0x199c40,ButtonView as _0x5a3c03,SpinnerView as _0x31c0b7}from'ckeditor5/src/ui.js';import{IconCheck as _0xb6bfcb,IconCopy as _0x119fe3}from'ckeditor5/src/icons.js';import{getTranslation as _0xa84085}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x199c40{[_0x4861db(0x226)];[_0x4861db(0x21f)];constructor(_0x3c306,_0x45ddb9=''){const _0x1d867f=_0x4861db;super(_0x3c306),this[_0x1d867f(0x233)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x438ec4=this[_0x1d867f(0x222)];this[_0x1d867f(0x226)]=new ContentFieldView(_0x3c306,_0x45ddb9),this[_0x1d867f(0x21f)]=this[_0x1d867f(0x1f2)](),this[_0x1d867f(0x1f0)]({'tag':_0x1d867f(0x1ef),'attributes':{'class':['ck',_0x1d867f(0x227),_0x438ec4['if'](_0x1d867f(0x213),_0x1d867f(0x1e4),_0x158ba8=>!_0x158ba8)],'tabindex':'-1'},'children':[{'tag':_0x1d867f(0x1ef),'attributes':{'class':['ck',_0x1d867f(0x215),_0x438ec4['if'](_0x1d867f(0x210),_0x1d867f(0x223))]},'children':[this[_0x1d867f(0x226)],{'tag':_0x1d867f(0x1ef),'attributes':{'class':['ck',_0x1d867f(0x1fc)]},'children':[this[_0x1d867f(0x21f)]]}]}]});}[_0x4861db(0x20b)](){const _0x297805=_0x4861db;super[_0x297805(0x20b)](),this[_0x297805(0x202)]&&this[_0x297805(0x226)][_0x297805(0x1df)](this[_0x297805(0x202)]);let _0x5ba96c=!0x1;this['on'](_0x297805(0x1e5),(_0x2fdcac,_0x16125a,_0x5c2025)=>{const _0x34e37=_0x297805,_0x58df79=!this[_0x34e37(0x226)][_0x34e37(0x211)][_0x34e37(0x217)](_0x34e37(0x1e7));this[_0x34e37(0x226)][_0x34e37(0x1df)](_0x5c2025),this[_0x34e37(0x210)]&&_0x58df79&&!_0x5ba96c&&this[_0x34e37(0x211)][_0x34e37(0x216)]({'top':this[_0x34e37(0x211)][_0x34e37(0x1f9)],'behavior':_0x34e37(0x1f4)});}),this['on'](_0x297805(0x200),(_0x26c993,_0xfef23a,_0x7f5cf5)=>{const _0x58e808=_0x297805;_0x5ba96c=!0x1,_0x7f5cf5?(this[_0x58e808(0x202)]=null,this[_0x58e808(0x226)][_0x58e808(0x21a)]()):this[_0x58e808(0x202)]||this[_0x58e808(0x226)][_0x58e808(0x1df)]('');}),this[_0x297805(0x1e8)](this[_0x297805(0x211)],_0x297805(0x1e3),()=>{_0x5ba96c=!0x0;}),this[_0x297805(0x1e8)](this[_0x297805(0x211)],_0x297805(0x22c),()=>{_0x5ba96c=!0x0;});}[_0x4861db(0x1e1)](){const _0x55fc56=_0x4861db;this[_0x55fc56(0x211)][_0x55fc56(0x1e1)]();}[_0x4861db(0x1f2)](){const _0x3a0e9d=_0x4861db,_0x4ba89d=this[_0x3a0e9d(0x21e)],_0x339012=new _0x5a3c03(this[_0x3a0e9d(0x21e)]),_0x1c8aed=_0x3a0e9d(0x20f);return _0x339012[_0x3a0e9d(0x233)]({'label':_0xa84085(_0x4ba89d,_0x3a0e9d(0x1e6)),'icon':_0x119fe3,'class':_0x1c8aed,'tooltip':!0x0}),_0x339012[_0x3a0e9d(0x20d)](_0x3a0e9d(0x213))['to'](this,_0x3a0e9d(0x202),_0x3c5d84=>!!_0x3c5d84),_0x339012[_0x3a0e9d(0x20d)](_0x3a0e9d(0x220))['to'](this,_0x3a0e9d(0x210),_0x300d90=>!_0x300d90),_0x339012['on'](_0x3a0e9d(0x206),()=>{const _0x3b2426=_0x3a0e9d;this[_0x3b2426(0x234)](this[_0x3b2426(0x226)][_0x3b2426(0x211)]),_0x339012[_0x3b2426(0x214)]=_0xb6bfcb,_0x339012[_0x3b2426(0x230)]=_0x1c8aed+_0x3b2426(0x203),this[_0x3b2426(0x1e1)](),setTimeout(()=>{const _0x555387=_0x3b2426;_0x339012[_0x555387(0x214)]=_0x119fe3,_0x339012[_0x555387(0x230)]=_0x1c8aed;},0x3e8);}),_0x339012;}[_0x4861db(0x234)](_0xb8da65){const _0x3960f8=_0x4861db,{window:_0x30beb5,document:_0x1578dd}=_0x12f13a;if(_0x30beb5[_0x3960f8(0x20a)]){const {Blob:_0x5170e9,ClipboardItem:_0x1f4a2f}=_0x30beb5,_0x3b7eb3=[new _0x1f4a2f({'text/html':new _0x5170e9([_0xb8da65[_0x3960f8(0x20e)]],{'type':_0x3960f8(0x22f)}),'text/plain':new _0x5170e9([_0xb8da65[_0x3960f8(0x228)]||''],{'type':_0x3960f8(0x232)})})];navigator[_0x3960f8(0x21b)][_0x3960f8(0x22a)](_0x3b7eb3);}else{const _0x45654f=_0x1578dd[_0x3960f8(0x1ee)](_0x3960f8(0x1ef));_0x45654f[_0x3960f8(0x21d)][_0x3960f8(0x22d)]=_0x3960f8(0x1fd),_0x45654f[_0x3960f8(0x21d)][_0x3960f8(0x224)]=_0x3960f8(0x22e),_0x45654f[_0x3960f8(0x20e)]=_0x3960f8(0x209)+_0xb8da65[_0x3960f8(0x20e)]+_0x3960f8(0x1fb),_0x1578dd[_0x3960f8(0x207)][_0x3960f8(0x1f8)](_0x45654f);const _0x110a6e=_0x1578dd[_0x3960f8(0x1ec)]();_0x110a6e[_0x3960f8(0x1f1)](_0x45654f[_0x3960f8(0x1ea)]),_0x110a6e[_0x3960f8(0x225)](_0x45654f[_0x3960f8(0x229)]);const _0x1c327c=_0x30beb5[_0x3960f8(0x231)]();_0x1c327c[_0x3960f8(0x1fa)](),_0x1c327c[_0x3960f8(0x1e9)](_0x110a6e),_0x1578dd[_0x3960f8(0x1eb)](_0x3960f8(0x1ff)),_0x45654f[_0x3960f8(0x1ed)]();}}}function _0x498a(){const _0x2b9bfc=['119371lWsiDA','wheel','ck-hidden','change:value','Copy','.ck-ai-form__loader','listenTo','addRange','firstElementChild','execCommand','createRange','remove','createElement','div','setTemplate','setStartAfter','_createCopyButton','419274UfWitt','smooth','5BFWCdG','AI\x20is\x20writing...','ck-content','appendChild','scrollHeight','removeAllRanges','<span>]</span>','ck-ai-form__copy-button-wrapper','absolute','loaderView','copy','change:isProcessing','1079930hWTikk','value','\x20ck-ai-form__copy-button--copied','_createLoader','22nwRnGq','execute','body','ck-reset_all-excluded','<span>[</span>','ClipboardItem','render','308916QUNzFw','bind','innerHTML','ck-ai-form__copy-button','isProcessing','element','222312AiKXCr','isVisible','icon','ck-ai-form__content-area','scrollTo','querySelector','ck-ai-form__content-field','1416378EpnSFu','appendLoader','clipboard','64IltDst','style','locale','copyButtonView','isEnabled','11AIySZh','bindTemplate','ck-ai-form__content-area--processing','left','setEndBefore','contentFieldView','ck-ai-form__content-area-wrapper','textContent','lastElementChild','write','ck-ai-form__loader','mousedown','position','-9999px','text/html','class','getSelection','text/plain','set','_copyHTMLToClipboard','setContent','34574agBNXR','focus'];_0x498a=function(){return _0x2b9bfc;};return _0x498a();}function _0x5b18(_0xd1d153,_0x5007d3){const _0x498a79=_0x498a();return _0x5b18=function(_0x5b18c5,_0x10a7b3){_0x5b18c5=_0x5b18c5-0x1df;let _0x590fb4=_0x498a79[_0x5b18c5];return _0x590fb4;},_0x5b18(_0xd1d153,_0x5007d3);}export class ContentFieldView extends _0x199c40{constructor(_0x3da8d2,_0xae63c1=''){const _0x458b99=_0x4861db;super(_0x3da8d2),this[_0x458b99(0x1fe)]=this[_0x458b99(0x204)](),this[_0x458b99(0x1f0)]({'tag':_0x458b99(0x1ef),'attributes':{'class':['ck',_0x458b99(0x1f7),_0xae63c1,_0x458b99(0x208),_0x458b99(0x218)]}});}[_0x4861db(0x1df)](_0x370779){const _0x2877ef=_0x4861db;this[_0x2877ef(0x211)][_0x2877ef(0x20e)]=_0x370779;}[_0x4861db(0x21a)](){const _0x4e57db=_0x4861db;this[_0x4e57db(0x211)][_0x4e57db(0x1f8)](this[_0x4e57db(0x1fe)][_0x4e57db(0x211)]);}[_0x4861db(0x204)](){const _0x315fcb=_0x4861db,_0x5aa2aa=new _0x199c40(),_0x5bf7f0=this[_0x315fcb(0x21e)],_0x481cea=new _0x31c0b7();return _0x481cea[_0x315fcb(0x213)]=!0x0,_0x5aa2aa[_0x315fcb(0x1f0)]({'tag':_0x315fcb(0x1ef),'attributes':{'class':['ck',_0x315fcb(0x22b)]},'children':[_0x481cea,{'text':_0xa84085(_0x5bf7f0,_0x315fcb(0x1f6))}]}),_0x5aa2aa[_0x315fcb(0x20b)](),_0x5aa2aa;}}
|